From bdb62655a5ee15cd5f73e47a50a260a7b7bf8329 Mon Sep 17 00:00:00 2001 From: BinHong Lee Date: Tue, 11 Jul 2017 19:07:31 -0700 Subject: [PATCH] Skill submitted for verification --- .gitignore | 1 + src/package.json => package.json | 3 +- speechAssets/IntentSchema.json | 9 + speechAssets/Utterances.txt | 7 +- src/index.js | 172 +- src/node_modules/.bin/uuid | 1 - src/node_modules/alexa-sdk/.npmignore | 1 - src/node_modules/alexa-sdk/LICENSE.txt | 202 - src/node_modules/alexa-sdk/NOTICE.txt | 2 - src/node_modules/alexa-sdk/Readme.md | 543 - .../alexa-sdk/dist/BUNDLE_LICENSE.txt | 96 - src/node_modules/alexa-sdk/index.js | 5 - .../alexa-sdk/lib/DynamoAttributesHelper.js | 99 - src/node_modules/alexa-sdk/lib/alexa.js | 437 - src/node_modules/alexa-sdk/lib/response.js | 364 - src/node_modules/alexa-sdk/package.json | 110 - src/node_modules/aws-sdk/.changes/2.10.0.json | 17 - src/node_modules/aws-sdk/.changes/2.11.0.json | 17 - src/node_modules/aws-sdk/.changes/2.12.0.json | 7 - src/node_modules/aws-sdk/.changes/2.13.0.json | 7 - src/node_modules/aws-sdk/.changes/2.14.0.json | 7 - src/node_modules/aws-sdk/.changes/2.15.0.json | 12 - src/node_modules/aws-sdk/.changes/2.16.0.json | 7 - src/node_modules/aws-sdk/.changes/2.17.0.json | 12 - src/node_modules/aws-sdk/.changes/2.18.0.json | 17 - src/node_modules/aws-sdk/.changes/2.19.0.json | 17 - src/node_modules/aws-sdk/.changes/2.20.0.json | 7 - src/node_modules/aws-sdk/.changes/2.21.0.json | 27 - src/node_modules/aws-sdk/.changes/2.22.0.json | 7 - src/node_modules/aws-sdk/.changes/2.23.0.json | 12 - src/node_modules/aws-sdk/.changes/2.24.0.json | 7 - src/node_modules/aws-sdk/.changes/2.25.0.json | 7 - src/node_modules/aws-sdk/.changes/2.26.0.json | 12 - src/node_modules/aws-sdk/.changes/2.27.0.json | 17 - src/node_modules/aws-sdk/.changes/2.28.0.json | 12 - src/node_modules/aws-sdk/.changes/2.29.0.json | 27 - src/node_modules/aws-sdk/.changes/2.30.0.json | 12 - src/node_modules/aws-sdk/.changes/2.31.0.json | 27 - src/node_modules/aws-sdk/.changes/2.32.0.json | 12 - src/node_modules/aws-sdk/.changes/2.33.0.json | 12 - src/node_modules/aws-sdk/.changes/2.34.0.json | 12 - src/node_modules/aws-sdk/.changes/2.35.0.json | 22 - src/node_modules/aws-sdk/.changes/2.36.0.json | 7 - src/node_modules/aws-sdk/.changes/2.37.0.json | 7 - src/node_modules/aws-sdk/.changes/2.38.0.json | 7 - src/node_modules/aws-sdk/.changes/2.39.0.json | 12 - src/node_modules/aws-sdk/.changes/2.4.10.json | 12 - src/node_modules/aws-sdk/.changes/2.4.11.json | 32 - src/node_modules/aws-sdk/.changes/2.4.12.json | 42 - src/node_modules/aws-sdk/.changes/2.4.13.json | 27 - src/node_modules/aws-sdk/.changes/2.4.14.json | 17 - src/node_modules/aws-sdk/.changes/2.4.8.json | 42 - src/node_modules/aws-sdk/.changes/2.4.9.json | 22 - src/node_modules/aws-sdk/.changes/2.40.0.json | 7 - src/node_modules/aws-sdk/.changes/2.41.0.json | 22 - src/node_modules/aws-sdk/.changes/2.42.0.json | 12 - src/node_modules/aws-sdk/.changes/2.43.0.json | 42 - src/node_modules/aws-sdk/.changes/2.44.0.json | 32 - src/node_modules/aws-sdk/.changes/2.45.0.json | 22 - src/node_modules/aws-sdk/.changes/2.46.0.json | 17 - src/node_modules/aws-sdk/.changes/2.47.0.json | 32 - src/node_modules/aws-sdk/.changes/2.48.0.json | 7 - src/node_modules/aws-sdk/.changes/2.49.0.json | 17 - src/node_modules/aws-sdk/.changes/2.5.0.json | 37 - src/node_modules/aws-sdk/.changes/2.5.1.json | 17 - src/node_modules/aws-sdk/.changes/2.5.2.json | 22 - src/node_modules/aws-sdk/.changes/2.5.3.json | 7 - src/node_modules/aws-sdk/.changes/2.5.4.json | 17 - src/node_modules/aws-sdk/.changes/2.5.5.json | 22 - src/node_modules/aws-sdk/.changes/2.5.6.json | 7 - src/node_modules/aws-sdk/.changes/2.50.0.json | 32 - src/node_modules/aws-sdk/.changes/2.51.0.json | 7 - src/node_modules/aws-sdk/.changes/2.52.0.json | 17 - src/node_modules/aws-sdk/.changes/2.53.0.json | 7 - src/node_modules/aws-sdk/.changes/2.54.0.json | 12 - src/node_modules/aws-sdk/.changes/2.55.0.json | 12 - src/node_modules/aws-sdk/.changes/2.56.0.json | 7 - src/node_modules/aws-sdk/.changes/2.57.0.json | 17 - src/node_modules/aws-sdk/.changes/2.58.0.json | 12 - src/node_modules/aws-sdk/.changes/2.59.0.json | 12 - src/node_modules/aws-sdk/.changes/2.6.0.json | 22 - src/node_modules/aws-sdk/.changes/2.6.1.json | 7 - src/node_modules/aws-sdk/.changes/2.6.10.json | 17 - src/node_modules/aws-sdk/.changes/2.6.11.json | 7 - src/node_modules/aws-sdk/.changes/2.6.12.json | 22 - src/node_modules/aws-sdk/.changes/2.6.13.json | 7 - src/node_modules/aws-sdk/.changes/2.6.14.json | 7 - src/node_modules/aws-sdk/.changes/2.6.15.json | 7 - src/node_modules/aws-sdk/.changes/2.6.2.json | 7 - src/node_modules/aws-sdk/.changes/2.6.3.json | 17 - src/node_modules/aws-sdk/.changes/2.6.4.json | 32 - src/node_modules/aws-sdk/.changes/2.6.5.json | 12 - src/node_modules/aws-sdk/.changes/2.6.6.json | 12 - src/node_modules/aws-sdk/.changes/2.6.7.json | 12 - src/node_modules/aws-sdk/.changes/2.6.8.json | 12 - src/node_modules/aws-sdk/.changes/2.6.9.json | 27 - src/node_modules/aws-sdk/.changes/2.60.0.json | 12 - src/node_modules/aws-sdk/.changes/2.61.0.json | 17 - src/node_modules/aws-sdk/.changes/2.62.0.json | 12 - src/node_modules/aws-sdk/.changes/2.63.0.json | 17 - src/node_modules/aws-sdk/.changes/2.64.0.json | 12 - src/node_modules/aws-sdk/.changes/2.65.0.json | 12 - src/node_modules/aws-sdk/.changes/2.66.0.json | 17 - src/node_modules/aws-sdk/.changes/2.67.0.json | 12 - src/node_modules/aws-sdk/.changes/2.68.0.json | 12 - src/node_modules/aws-sdk/.changes/2.69.0.json | 7 - src/node_modules/aws-sdk/.changes/2.7.0.json | 12 - src/node_modules/aws-sdk/.changes/2.7.1.json | 12 - src/node_modules/aws-sdk/.changes/2.7.10.json | 72 - src/node_modules/aws-sdk/.changes/2.7.11.json | 22 - src/node_modules/aws-sdk/.changes/2.7.12.json | 7 - src/node_modules/aws-sdk/.changes/2.7.13.json | 17 - src/node_modules/aws-sdk/.changes/2.7.14.json | 17 - src/node_modules/aws-sdk/.changes/2.7.15.json | 27 - src/node_modules/aws-sdk/.changes/2.7.16.json | 17 - src/node_modules/aws-sdk/.changes/2.7.17.json | 17 - src/node_modules/aws-sdk/.changes/2.7.18.json | 17 - src/node_modules/aws-sdk/.changes/2.7.19.json | 17 - src/node_modules/aws-sdk/.changes/2.7.2.json | 17 - src/node_modules/aws-sdk/.changes/2.7.20.json | 12 - src/node_modules/aws-sdk/.changes/2.7.21.json | 22 - src/node_modules/aws-sdk/.changes/2.7.22.json | 12 - src/node_modules/aws-sdk/.changes/2.7.23.json | 12 - src/node_modules/aws-sdk/.changes/2.7.24.json | 12 - src/node_modules/aws-sdk/.changes/2.7.25.json | 7 - src/node_modules/aws-sdk/.changes/2.7.26.json | 7 - src/node_modules/aws-sdk/.changes/2.7.27.json | 12 - src/node_modules/aws-sdk/.changes/2.7.28.json | 22 - src/node_modules/aws-sdk/.changes/2.7.3.json | 12 - src/node_modules/aws-sdk/.changes/2.7.4.json | 22 - src/node_modules/aws-sdk/.changes/2.7.5.json | 32 - src/node_modules/aws-sdk/.changes/2.7.6.json | 12 - src/node_modules/aws-sdk/.changes/2.7.7.json | 22 - src/node_modules/aws-sdk/.changes/2.7.8.json | 12 - src/node_modules/aws-sdk/.changes/2.7.9.json | 27 - src/node_modules/aws-sdk/.changes/2.70.0.json | 7 - src/node_modules/aws-sdk/.changes/2.71.0.json | 27 - src/node_modules/aws-sdk/.changes/2.72.0.json | 7 - src/node_modules/aws-sdk/.changes/2.73.0.json | 7 - src/node_modules/aws-sdk/.changes/2.74.0.json | 7 - src/node_modules/aws-sdk/.changes/2.75.0.json | 27 - src/node_modules/aws-sdk/.changes/2.76.0.json | 27 - src/node_modules/aws-sdk/.changes/2.77.0.json | 7 - src/node_modules/aws-sdk/.changes/2.78.0.json | 7 - src/node_modules/aws-sdk/.changes/2.79.0.json | 22 - src/node_modules/aws-sdk/.changes/2.8.0.json | 17 - src/node_modules/aws-sdk/.changes/2.80.0.json | 7 - src/node_modules/aws-sdk/.changes/2.81.0.json | 22 - src/node_modules/aws-sdk/.changes/2.82.0.json | 22 - src/node_modules/aws-sdk/.changes/2.9.0.json | 22 - src/node_modules/aws-sdk/CHANGELOG.md | 652 - src/node_modules/aws-sdk/CONTRIBUTING.md | 108 - src/node_modules/aws-sdk/LICENSE.txt | 202 - src/node_modules/aws-sdk/NOTICE.txt | 5 - src/node_modules/aws-sdk/README.md | 163 - src/node_modules/aws-sdk/SERVICES.md | 112 - src/node_modules/aws-sdk/UPGRADING.md | 157 - .../aws-sdk/apis/acm-2015-12-08.examples.json | 5 - .../aws-sdk/apis/acm-2015-12-08.min.json | 313 - .../apis/acm-2015-12-08.paginators.json | 10 - .../apis/apigateway-2015-07-09.examples.json | 5 - .../apis/apigateway-2015-07-09.min.json | 3807 - .../apigateway-2015-07-09.paginators.json | 70 - ...ation-autoscaling-2016-02-06.examples.json | 257 - ...pplication-autoscaling-2016-02-06.min.json | 398 - ...ion-autoscaling-2016-02-06.paginators.json | 22 - .../apis/appstream-2016-12-01.examples.json | 5 - .../apis/appstream-2016-12-01.min.json | 633 - .../apis/appstream-2016-12-01.paginators.json | 4 - .../apis/appstream-2016-12-01.waiters2.json | 55 - .../apis/athena-2017-05-18.examples.json | 5 - .../aws-sdk/apis/athena-2017-05-18.min.json | 416 - .../apis/athena-2017-05-18.paginators.json | 19 - .../apis/autoscaling-2011-01-01.examples.json | 1396 - .../apis/autoscaling-2011-01-01.min.json | 1609 - .../autoscaling-2011-01-01.paginators.json | 52 - .../apis/batch-2016-08-10.examples.json | 589 - .../aws-sdk/apis/batch-2016-08-10.min.json | 840 - .../apis/batch-2016-08-10.paginators.json | 4 - .../aws-sdk/apis/budgets-2016-10-20.min.json | 466 - .../apis/budgets-2016-10-20.paginators.json | 4 - .../clouddirectory-2016-05-10.examples.json | 5 - .../apis/clouddirectory-2016-05-10.min.json | 2504 - .../clouddirectory-2016-05-10.paginators.json | 94 - .../cloudformation-2010-05-15.examples.json | 5 - .../apis/cloudformation-2010-05-15.min.json | 937 - .../cloudformation-2010-05-15.paginators.json | 37 - .../cloudformation-2010-05-15.waiters2.json | 182 - .../apis/cloudfront-2016-11-25.min.json | 1912 - .../cloudfront-2016-11-25.paginators.json | 32 - .../apis/cloudfront-2016-11-25.waiters2.json | 47 - .../apis/cloudfront-2017-03-25.min.json | 1918 - .../cloudfront-2017-03-25.paginators.json | 32 - .../apis/cloudfront-2017-03-25.waiters2.json | 47 - .../aws-sdk/apis/cloudhsm-2014-05-30.min.json | 520 - .../apis/cloudsearch-2011-02-01.min.json | 837 - .../cloudsearch-2011-02-01.paginators.json | 13 - .../apis/cloudsearch-2013-01-01.min.json | 1087 - .../cloudsearch-2013-01-01.paginators.json | 20 - .../cloudsearchdomain-2013-01-01.min.json | 298 - .../apis/cloudtrail-2013-11-01.min.json | 530 - .../cloudtrail-2013-11-01.paginators.json | 13 - .../apis/codebuild-2016-10-06.examples.json | 5 - .../apis/codebuild-2016-10-06.min.json | 502 - .../apis/codebuild-2016-10-06.paginators.json | 4 - .../apis/codecommit-2015-04-13.min.json | 465 - .../codecommit-2015-04-13.paginators.json | 19 - .../apis/codedeploy-2014-10-06.examples.json | 5 - .../apis/codedeploy-2014-10-06.min.json | 1296 - .../codedeploy-2014-10-06.paginators.json | 34 - .../apis/codedeploy-2014-10-06.waiters2.json | 30 - .../codepipeline-2015-07-09.examples.json | 5 - .../apis/codepipeline-2015-07-09.min.json | 1138 - .../codepipeline-2015-07-09.paginators.json | 4 - .../apis/codestar-2017-04-19.examples.json | 5 - .../aws-sdk/apis/codestar-2017-04-19.min.json | 453 - .../apis/codestar-2017-04-19.paginators.json | 4 - .../apis/cognito-identity-2014-06-30.min.json | 537 - ...ognito-identity-2014-06-30.paginators.json | 4 - .../apis/cognito-idp-2016-04-18.examples.json | 5 - .../apis/cognito-idp-2016-04-18.min.json | 2480 - .../cognito-idp-2016-04-18.paginators.json | 4 - .../apis/cognito-sync-2014-06-30.min.json | 747 - .../apis/config-2014-11-12.examples.json | 5 - .../aws-sdk/apis/config-2014-11-12.min.json | 870 - .../apis/config-2014-11-12.paginators.json | 10 - .../aws-sdk/apis/cur-2017-01-06.min.json | 102 - .../apis/cur-2017-01-06.paginators.json | 9 - .../apis/datapipeline-2012-10-29.min.json | 667 - .../datapipeline-2012-10-29.paginators.json | 26 - .../aws-sdk/apis/dax-2017-04-19.examples.json | 5 - .../aws-sdk/apis/dax-2017-04-19.min.json | 705 - .../apis/dax-2017-04-19.paginators.json | 4 - .../apis/devicefarm-2015-06-23.examples.json | 1242 - .../apis/devicefarm-2015-06-23.min.json | 1672 - .../devicefarm-2015-06-23.paginators.json | 77 - .../directconnect-2012-10-25.examples.json | 5 - .../apis/directconnect-2012-10-25.min.json | 941 - .../directconnect-2012-10-25.paginators.json | 22 - .../apis/discovery-2015-11-01.min.json | 667 - .../apis/discovery-2015-11-01.paginators.json | 4 - .../aws-sdk/apis/dms-2016-01-01.examples.json | 1053 - .../aws-sdk/apis/dms-2016-01-01.min.json | 1488 - .../apis/dms-2016-01-01.paginators.json | 64 - .../aws-sdk/apis/ds-2015-04-16.examples.json | 5 - .../aws-sdk/apis/ds-2015-04-16.min.json | 1185 - .../apis/ds-2015-04-16.paginators.json | 9 - .../aws-sdk/apis/dynamodb-2011-12-05.min.json | 664 - .../apis/dynamodb-2011-12-05.paginators.json | 26 - .../apis/dynamodb-2011-12-05.waiters2.json | 35 - .../apis/dynamodb-2012-08-10.examples.json | 628 - .../aws-sdk/apis/dynamodb-2012-08-10.min.json | 1176 - .../apis/dynamodb-2012-08-10.paginators.json | 26 - .../apis/dynamodb-2012-08-10.waiters2.json | 35 - .../aws-sdk/apis/ec2-2016-11-15.examples.json | 3740 - .../aws-sdk/apis/ec2-2016-11-15.min.json | 11801 - .../apis/ec2-2016-11-15.paginators.json | 144 - .../aws-sdk/apis/ec2-2016-11-15.waiters2.json | 611 - .../aws-sdk/apis/ecr-2015-09-21.examples.json | 215 - .../aws-sdk/apis/ecr-2015-09-21.min.json | 552 - .../apis/ecr-2015-09-21.paginators.json | 22 - .../aws-sdk/apis/ecs-2014-11-13.examples.json | 883 - .../aws-sdk/apis/ecs-2014-11-13.min.json | 1316 - .../apis/ecs-2014-11-13.paginators.json | 40 - .../aws-sdk/apis/ecs-2014-11-13.waiters2.json | 93 - .../apis/elasticache-2015-02-02.min.json | 1600 - .../elasticache-2015-02-02.paginators.json | 76 - .../apis/elasticache-2015-02-02.waiters2.json | 143 - .../elasticbeanstalk-2010-12-01.examples.json | 1109 - .../apis/elasticbeanstalk-2010-12-01.min.json | 1579 - ...lasticbeanstalk-2010-12-01.paginators.json | 25 - ...elasticfilesystem-2015-02-01.examples.json | 222 - .../elasticfilesystem-2015-02-01.min.json | 396 - ...sticloadbalancing-2012-06-01.examples.json | 1036 - .../elasticloadbalancing-2012-06-01.min.json | 1002 - ...icloadbalancing-2012-06-01.paginators.json | 18 - ...sticloadbalancing-2012-06-01.waiters2.json | 54 - ...icloadbalancingv2-2015-12-01.examples.json | 1384 - ...elasticloadbalancingv2-2015-12-01.min.json | 1078 - ...loadbalancingv2-2015-12-01.paginators.json | 19 - ...icloadbalancingv2-2015-12-01.waiters2.json | 64 - .../apis/elasticmapreduce-2009-03-31.min.json | 1709 - ...lasticmapreduce-2009-03-31.paginators.json | 37 - .../elasticmapreduce-2009-03-31.waiters2.json | 86 - .../elastictranscoder-2012-09-25.min.json | 1059 - ...astictranscoder-2012-09-25.paginators.json | 24 - ...elastictranscoder-2012-09-25.waiters2.json | 30 - .../apis/email-2010-12-01.examples.json | 953 - .../aws-sdk/apis/email-2010-12-01.min.json | 1444 - .../apis/email-2010-12-01.paginators.json | 13 - .../apis/email-2010-12-01.waiters2.json | 18 - ...ement.marketplace-2017-01-11.examples.json | 5 - ...ntitlement.marketplace-2017-01-11.min.json | 75 - ...ent.marketplace-2017-01-11.paginators.json | 4 - .../aws-sdk/apis/es-2015-01-01.min.json | 669 - .../apis/es-2015-01-01.paginators.json | 14 - .../apis/events-2015-10-07.examples.json | 5 - .../aws-sdk/apis/events-2015-10-07.min.json | 431 - .../apis/events-2015-10-07.paginators.json | 4 - .../aws-sdk/apis/firehose-2015-08-04.min.json | 703 - .../apis/gamelift-2015-10-01.examples.json | 5 - .../aws-sdk/apis/gamelift-2015-10-01.min.json | 1572 - .../apis/gamelift-2015-10-01.paginators.json | 4 - .../apis/glacier-2012-06-01.examples.json | 806 - .../aws-sdk/apis/glacier-2012-06-01.min.json | 1278 - .../apis/glacier-2012-06-01.paginators.json | 28 - .../apis/glacier-2012-06-01.waiters2.json | 39 - .../apis/greengrass-2017-06-07.min.json | 2126 - .../aws-sdk/apis/health-2016-08-04.min.json | 390 - .../apis/health-2016-08-04.paginators.json | 31 - .../aws-sdk/apis/iam-2010-05-08.examples.json | 1191 - .../aws-sdk/apis/iam-2010-05-08.min.json | 3125 - .../apis/iam-2010-05-08.paginators.json | 198 - .../aws-sdk/apis/iam-2010-05-08.waiters2.json | 39 - .../apis/importexport-2010-06-01.min.json | 243 - .../importexport-2010-06-01.paginators.json | 11 - .../apis/inspector-2016-02-16.examples.json | 1147 - .../apis/inspector-2016-02-16.min.json | 1282 - .../apis/inspector-2016-02-16.paginators.json | 4 - .../aws-sdk/apis/iot-2015-05-28.examples.json | 5 - .../aws-sdk/apis/iot-2015-05-28.min.json | 1960 - .../apis/iot-2015-05-28.paginators.json | 4 - .../aws-sdk/apis/iot-data-2015-05-28.min.json | 129 - .../apis/kinesis-2013-12-02.examples.json | 5 - .../aws-sdk/apis/kinesis-2013-12-02.min.json | 593 - .../apis/kinesis-2013-12-02.paginators.json | 18 - .../apis/kinesis-2013-12-02.waiters2.json | 30 - .../kinesisanalytics-2015-08-14.examples.json | 5 - .../apis/kinesisanalytics-2015-08-14.min.json | 847 - ...inesisanalytics-2015-08-14.paginators.json | 4 - .../aws-sdk/apis/kms-2014-11-01.examples.json | 904 - .../aws-sdk/apis/kms-2014-11-01.min.json | 836 - .../apis/kms-2014-11-01.paginators.json | 32 - .../aws-sdk/apis/lambda-2014-11-11.min.json | 423 - .../apis/lambda-2014-11-11.paginators.json | 16 - .../apis/lambda-2015-03-31.examples.json | 614 - .../aws-sdk/apis/lambda-2015-03-31.min.json | 1092 - .../apis/lambda-2015-03-31.paginators.json | 16 - .../apis/lex-models-2017-04-19.examples.json | 758 - .../apis/lex-models-2017-04-19.min.json | 1597 - .../lex-models-2017-04-19.paginators.json | 54 - .../apis/lightsail-2016-11-28.examples.json | 5 - .../apis/lightsail-2016-11-28.min.json | 1382 - .../apis/lightsail-2016-11-28.paginators.json | 4 - .../apis/logs-2014-03-28.examples.json | 5 - .../aws-sdk/apis/logs-2014-03-28.min.json | 783 - .../apis/logs-2014-03-28.paginators.json | 49 - .../apis/machinelearning-2014-12-12.min.json | 1108 - ...machinelearning-2014-12-12.paginators.json | 28 - .../machinelearning-2014-12-12.waiters2.json | 81 - ...commerceanalytics-2015-07-01.examples.json | 5 - ...placecommerceanalytics-2015-07-01.min.json | 85 - ...mmerceanalytics-2015-07-01.paginators.json | 4 - src/node_modules/aws-sdk/apis/metadata.json | 442 - .../meteringmarketplace-2016-01-14.min.json | 128 - .../apis/mobileanalytics-2014-06-05.min.json | 74 - .../apis/monitoring-2010-08-01.examples.json | 5 - .../apis/monitoring-2010-08-01.min.json | 615 - .../monitoring-2010-08-01.paginators.json | 24 - .../apis/monitoring-2010-08-01.waiters2.json | 18 - .../apis/mturk-requester-2017-01-17.min.json | 1281 - ...mturk-requester-2017-01-17.paginators.json | 54 - .../apis/opsworks-2013-02-18.examples.json | 5 - .../aws-sdk/apis/opsworks-2013-02-18.min.json | 2246 - .../apis/opsworks-2013-02-18.paginators.json | 55 - .../apis/opsworks-2013-02-18.waiters2.json | 295 - .../apis/opsworkscm-2016-11-01.min.json | 479 - .../opsworkscm-2016-11-01.paginators.json | 4 - .../organizations-2016-11-28.examples.json | 1409 - .../apis/organizations-2016-11-28.min.json | 969 - .../organizations-2016-11-28.paginators.json | 64 - .../apis/pinpoint-2016-12-01.examples.json | 5 - .../aws-sdk/apis/pinpoint-2016-12-01.min.json | 2469 - .../apis/polly-2016-06-10.examples.json | 171 - .../aws-sdk/apis/polly-2016-06-10.min.json | 248 - .../apis/polly-2016-06-10.paginators.json | 4 - .../aws-sdk/apis/rds-2013-01-10.examples.json | 5 - .../aws-sdk/apis/rds-2013-01-10.min.json | 1896 - .../apis/rds-2013-01-10.paginators.json | 97 - .../aws-sdk/apis/rds-2013-02-12.examples.json | 5 - .../aws-sdk/apis/rds-2013-02-12.min.json | 2028 - .../apis/rds-2013-02-12.paginators.json | 110 - .../aws-sdk/apis/rds-2013-09-09.examples.json | 5 - .../aws-sdk/apis/rds-2013-09-09.min.json | 2164 - .../apis/rds-2013-09-09.paginators.json | 110 - .../aws-sdk/apis/rds-2013-09-09.waiters2.json | 97 - .../aws-sdk/apis/rds-2014-09-01.examples.json | 5 - .../aws-sdk/apis/rds-2014-09-01.min.json | 2237 - .../apis/rds-2014-09-01.paginators.json | 4 - .../aws-sdk/apis/rds-2014-10-31.min.json | 3682 - .../apis/rds-2014-10-31.paginators.json | 110 - .../aws-sdk/apis/rds-2014-10-31.waiters2.json | 90 - .../apis/redshift-2012-12-01.examples.json | 5 - .../aws-sdk/apis/redshift-2012-12-01.min.json | 2348 - .../apis/redshift-2012-12-01.paginators.json | 94 - .../apis/redshift-2012-12-01.waiters2.json | 97 - .../apis/rekognition-2016-06-27.examples.json | 651 - .../apis/rekognition-2016-06-27.min.json | 712 - .../rekognition-2016-06-27.paginators.json | 16 - ...egroupstaggingapi-2017-01-26.examples.json | 5 - ...sourcegroupstaggingapi-2017-01-26.min.json | 188 - ...roupstaggingapi-2017-01-26.paginators.json | 20 - .../apis/route53-2013-04-01.examples.json | 762 - .../aws-sdk/apis/route53-2013-04-01.min.json | 2283 - .../apis/route53-2013-04-01.paginators.json | 33 - .../apis/route53-2013-04-01.waiters2.json | 18 - .../route53domains-2014-05-15.examples.json | 5 - .../apis/route53domains-2014-05-15.min.json | 748 - .../route53domains-2014-05-15.paginators.json | 16 - .../apis/runtime.lex-2016-11-28.examples.json | 5 - .../apis/runtime.lex-2016-11-28.min.json | 196 - .../runtime.lex-2016-11-28.paginators.json | 4 - .../aws-sdk/apis/s3-2006-03-01.examples.json | 1876 - .../aws-sdk/apis/s3-2006-03-01.min.json | 4510 - .../apis/s3-2006-03-01.paginators.json | 66 - .../aws-sdk/apis/s3-2006-03-01.waiters2.json | 73 - .../aws-sdk/apis/sdb-2009-04-15.min.json | 336 - .../apis/sdb-2009-04-15.paginators.json | 15 - .../servicecatalog-2015-12-10.examples.json | 5 - .../apis/servicecatalog-2015-12-10.min.json | 1636 - .../servicecatalog-2015-12-10.paginators.json | 14 - .../aws-sdk/apis/shield-2016-06-02.min.json | 301 - .../aws-sdk/apis/sms-2016-10-24.min.json | 338 - .../apis/sms-2016-10-24.paginators.json | 28 - .../apis/snowball-2016-06-30.examples.json | 442 - .../aws-sdk/apis/snowball-2016-06-30.min.json | 577 - .../apis/snowball-2016-06-30.paginators.json | 16 - .../aws-sdk/apis/sns-2010-03-31.min.json | 623 - .../apis/sns-2010-03-31.paginators.json | 29 - .../aws-sdk/apis/sqs-2012-11-05.examples.json | 5 - .../aws-sdk/apis/sqs-2012-11-05.min.json | 598 - .../apis/sqs-2012-11-05.paginators.json | 7 - .../aws-sdk/apis/ssm-2014-11-06.examples.json | 5 - .../aws-sdk/apis/ssm-2014-11-06.min.json | 3407 - .../apis/ssm-2014-11-06.paginators.json | 55 - .../aws-sdk/apis/states-2016-11-23.min.json | 638 - .../apis/states-2016-11-23.paginators.json | 28 - .../storagegateway-2013-06-30.examples.json | 1381 - .../apis/storagegateway-2013-06-30.min.json | 1706 - .../storagegateway-2013-06-30.paginators.json | 52 - .../streams.dynamodb-2012-08-10.examples.json | 212 - .../apis/streams.dynamodb-2012-08-10.min.json | 246 - ...treams.dynamodb-2012-08-10.paginators.json | 4 - .../aws-sdk/apis/sts-2011-06-15.examples.json | 206 - .../aws-sdk/apis/sts-2011-06-15.min.json | 250 - .../apis/sts-2011-06-15.paginators.json | 4 - .../aws-sdk/apis/support-2013-04-15.min.json | 570 - .../apis/support-2013-04-15.paginators.json | 25 - .../aws-sdk/apis/swf-2012-01-25.min.json | 2218 - .../apis/swf-2012-01-25.paginators.json | 46 - .../aws-sdk/apis/waf-2015-08-24.examples.json | 1017 - .../aws-sdk/apis/waf-2015-08-24.min.json | 1451 - .../apis/waf-2015-08-24.paginators.json | 4 - .../waf-regional-2016-11-28.examples.json | 1017 - .../apis/waf-regional-2016-11-28.min.json | 1525 - .../waf-regional-2016-11-28.paginators.json | 4 - .../apis/workdocs-2016-05-01.examples.json | 5 - .../aws-sdk/apis/workdocs-2016-05-01.min.json | 1804 - .../apis/workdocs-2016-05-01.paginators.json | 25 - .../apis/workspaces-2015-04-08.examples.json | 5 - .../apis/workspaces-2015-04-08.min.json | 539 - .../workspaces-2015-04-08.paginators.json | 20 - .../apis/xray-2016-04-12.examples.json | 5 - .../aws-sdk/apis/xray-2016-04-12.min.json | 511 - .../apis/xray-2016-04-12.paginators.json | 4 - src/node_modules/aws-sdk/browser.js | 6 - src/node_modules/aws-sdk/clients/acm.d.ts | 437 - src/node_modules/aws-sdk/clients/acm.js | 18 - src/node_modules/aws-sdk/clients/all.d.ts | 102 - src/node_modules/aws-sdk/clients/all.js | 107 - .../aws-sdk/clients/apigateway.d.ts | 3509 - .../aws-sdk/clients/apigateway.js | 19 - .../clients/applicationautoscaling.d.ts | 553 - .../aws-sdk/clients/applicationautoscaling.js | 18 - .../aws-sdk/clients/appstream.d.ts | 885 - src/node_modules/aws-sdk/clients/appstream.js | 19 - src/node_modules/aws-sdk/clients/athena.d.ts | 540 - src/node_modules/aws-sdk/clients/athena.js | 18 - .../aws-sdk/clients/autoscaling.d.ts | 2143 - .../aws-sdk/clients/autoscaling.js | 18 - src/node_modules/aws-sdk/clients/batch.d.ts | 1031 - src/node_modules/aws-sdk/clients/batch.js | 18 - .../aws-sdk/clients/browser_default.d.ts | 63 - .../aws-sdk/clients/browser_default.js | 68 - src/node_modules/aws-sdk/clients/budgets.d.ts | 300 - src/node_modules/aws-sdk/clients/budgets.js | 18 - .../aws-sdk/clients/clouddirectory.d.ts | 2468 - .../aws-sdk/clients/clouddirectory.js | 18 - .../aws-sdk/clients/cloudformation.d.ts | 1565 - .../aws-sdk/clients/cloudformation.js | 19 - .../aws-sdk/clients/cloudfront.d.ts | 1723 - .../aws-sdk/clients/cloudfront.js | 30 - .../aws-sdk/clients/cloudhsm.d.ts | 696 - src/node_modules/aws-sdk/clients/cloudhsm.js | 17 - .../aws-sdk/clients/cloudsearch.d.ts | 985 - .../aws-sdk/clients/cloudsearch.js | 27 - .../aws-sdk/clients/cloudsearchdomain.d.ts | 357 - .../aws-sdk/clients/cloudsearchdomain.js | 18 - .../aws-sdk/clients/cloudtrail.d.ts | 770 - .../aws-sdk/clients/cloudtrail.js | 18 - .../aws-sdk/clients/cloudwatch.d.ts | 848 - .../aws-sdk/clients/cloudwatch.js | 19 - .../aws-sdk/clients/cloudwatchevents.d.ts | 635 - .../aws-sdk/clients/cloudwatchevents.js | 18 - .../aws-sdk/clients/cloudwatchlogs.d.ts | 1118 - .../aws-sdk/clients/cloudwatchlogs.js | 18 - .../aws-sdk/clients/codebuild.d.ts | 710 - src/node_modules/aws-sdk/clients/codebuild.js | 18 - .../aws-sdk/clients/codecommit.d.ts | 656 - .../aws-sdk/clients/codecommit.js | 18 - .../aws-sdk/clients/codedeploy.d.ts | 1802 - .../aws-sdk/clients/codedeploy.js | 19 - .../aws-sdk/clients/codepipeline.d.ts | 1507 - .../aws-sdk/clients/codepipeline.js | 18 - .../aws-sdk/clients/codestar.d.ts | 631 - src/node_modules/aws-sdk/clients/codestar.js | 18 - .../aws-sdk/clients/cognitoidentity.d.ts | 693 - .../aws-sdk/clients/cognitoidentity.js | 19 - .../cognitoidentityserviceprovider.d.ts | 3025 - .../clients/cognitoidentityserviceprovider.js | 18 - .../aws-sdk/clients/cognitosync.d.ts | 748 - .../aws-sdk/clients/cognitosync.js | 17 - .../aws-sdk/clients/configservice.d.ts | 1238 - .../aws-sdk/clients/configservice.js | 18 - src/node_modules/aws-sdk/clients/cur.d.ts | 102 - src/node_modules/aws-sdk/clients/cur.js | 18 - .../aws-sdk/clients/datapipeline.d.ts | 770 - .../aws-sdk/clients/datapipeline.js | 18 - src/node_modules/aws-sdk/clients/dax.d.ts | 964 - src/node_modules/aws-sdk/clients/dax.js | 18 - .../aws-sdk/clients/devicefarm.d.ts | 2268 - .../aws-sdk/clients/devicefarm.js | 18 - .../aws-sdk/clients/directconnect.d.ts | 968 - .../aws-sdk/clients/directconnect.js | 18 - .../aws-sdk/clients/directoryservice.d.ts | 1651 - .../aws-sdk/clients/directoryservice.js | 18 - .../aws-sdk/clients/discovery.d.ts | 799 - src/node_modules/aws-sdk/clients/discovery.js | 18 - src/node_modules/aws-sdk/clients/dms.d.ts | 2081 - src/node_modules/aws-sdk/clients/dms.js | 18 - .../aws-sdk/clients/dynamodb.d.ts | 1384 - src/node_modules/aws-sdk/clients/dynamodb.js | 30 - .../aws-sdk/clients/dynamodbstreams.d.ts | 382 - .../aws-sdk/clients/dynamodbstreams.js | 18 - src/node_modules/aws-sdk/clients/ec2.d.ts | 12556 - src/node_modules/aws-sdk/clients/ec2.js | 20 - src/node_modules/aws-sdk/clients/ecr.d.ts | 805 - src/node_modules/aws-sdk/clients/ecr.js | 18 - src/node_modules/aws-sdk/clients/ecs.d.ts | 1850 - src/node_modules/aws-sdk/clients/ecs.js | 19 - src/node_modules/aws-sdk/clients/efs.d.ts | 406 - src/node_modules/aws-sdk/clients/efs.js | 17 - .../aws-sdk/clients/elasticache.d.ts | 2239 - .../aws-sdk/clients/elasticache.js | 19 - .../aws-sdk/clients/elasticbeanstalk.d.ts | 2446 - .../aws-sdk/clients/elasticbeanstalk.js | 18 - .../aws-sdk/clients/elastictranscoder.d.ts | 1485 - .../aws-sdk/clients/elastictranscoder.js | 19 - src/node_modules/aws-sdk/clients/elb.d.ts | 1203 - src/node_modules/aws-sdk/clients/elb.js | 19 - src/node_modules/aws-sdk/clients/elbv2.d.ts | 1345 - src/node_modules/aws-sdk/clients/elbv2.js | 19 - src/node_modules/aws-sdk/clients/emr.d.ts | 2336 - src/node_modules/aws-sdk/clients/emr.js | 19 - src/node_modules/aws-sdk/clients/es.d.ts | 652 - src/node_modules/aws-sdk/clients/es.js | 18 - .../aws-sdk/clients/firehose.d.ts | 948 - src/node_modules/aws-sdk/clients/firehose.js | 17 - .../aws-sdk/clients/gamelift.d.ts | 2212 - src/node_modules/aws-sdk/clients/gamelift.js | 18 - src/node_modules/aws-sdk/clients/glacier.d.ts | 1239 - src/node_modules/aws-sdk/clients/glacier.js | 20 - .../aws-sdk/clients/greengrass.d.ts | 2469 - .../aws-sdk/clients/greengrass.js | 17 - src/node_modules/aws-sdk/clients/health.d.ts | 516 - src/node_modules/aws-sdk/clients/health.js | 18 - src/node_modules/aws-sdk/clients/iam.d.ts | 3946 - src/node_modules/aws-sdk/clients/iam.js | 19 - .../aws-sdk/clients/importexport.d.ts | 215 - .../aws-sdk/clients/importexport.js | 18 - .../aws-sdk/clients/inspector.d.ts | 1478 - src/node_modules/aws-sdk/clients/inspector.js | 18 - src/node_modules/aws-sdk/clients/iot.d.ts | 2163 - src/node_modules/aws-sdk/clients/iot.js | 18 - src/node_modules/aws-sdk/clients/iotdata.d.ts | 125 - src/node_modules/aws-sdk/clients/iotdata.js | 18 - src/node_modules/aws-sdk/clients/kinesis.d.ts | 769 - src/node_modules/aws-sdk/clients/kinesis.js | 19 - .../aws-sdk/clients/kinesisanalytics.d.ts | 1019 - .../aws-sdk/clients/kinesisanalytics.js | 18 - src/node_modules/aws-sdk/clients/kms.d.ts | 1136 - src/node_modules/aws-sdk/clients/kms.js | 18 - src/node_modules/aws-sdk/clients/lambda.d.ts | 1122 - src/node_modules/aws-sdk/clients/lambda.js | 28 - .../clients/lexmodelbuildingservice.d.ts | 1829 - .../clients/lexmodelbuildingservice.js | 18 - .../aws-sdk/clients/lexruntime.d.ts | 233 - .../aws-sdk/clients/lexruntime.js | 18 - .../aws-sdk/clients/lightsail.d.ts | 1860 - src/node_modules/aws-sdk/clients/lightsail.js | 18 - .../aws-sdk/clients/machinelearning.d.ts | 1708 - .../aws-sdk/clients/machinelearning.js | 20 - .../clients/marketplacecommerceanalytics.d.ts | 133 - .../clients/marketplacecommerceanalytics.js | 18 - .../marketplaceentitlementservice.d.ts | 121 - .../clients/marketplaceentitlementservice.js | 18 - .../aws-sdk/clients/marketplacemetering.d.ts | 161 - .../aws-sdk/clients/marketplacemetering.js | 17 - .../aws-sdk/clients/mobileanalytics.d.ts | 108 - .../aws-sdk/clients/mobileanalytics.js | 17 - src/node_modules/aws-sdk/clients/mturk.d.ts | 1684 - src/node_modules/aws-sdk/clients/mturk.js | 18 - .../aws-sdk/clients/opsworks.d.ts | 3513 - src/node_modules/aws-sdk/clients/opsworks.js | 19 - .../aws-sdk/clients/opsworkscm.d.ts | 735 - .../aws-sdk/clients/opsworkscm.js | 18 - .../aws-sdk/clients/organizations.d.ts | 1286 - .../aws-sdk/clients/organizations.js | 18 - .../aws-sdk/clients/pinpoint.d.ts | 2380 - src/node_modules/aws-sdk/clients/pinpoint.js | 17 - src/node_modules/aws-sdk/clients/polly.d.ts | 294 - src/node_modules/aws-sdk/clients/polly.js | 19 - src/node_modules/aws-sdk/clients/rds.d.ts | 5044 - src/node_modules/aws-sdk/clients/rds.js | 57 - .../aws-sdk/clients/redshift.d.ts | 3171 - src/node_modules/aws-sdk/clients/redshift.js | 19 - .../aws-sdk/clients/rekognition.d.ts | 864 - .../aws-sdk/clients/rekognition.js | 18 - .../clients/resourcegroupstaggingapi.d.ts | 238 - .../clients/resourcegroupstaggingapi.js | 18 - src/node_modules/aws-sdk/clients/route53.d.ts | 2161 - src/node_modules/aws-sdk/clients/route53.js | 20 - .../aws-sdk/clients/route53domains.d.ts | 968 - .../aws-sdk/clients/route53domains.js | 18 - src/node_modules/aws-sdk/clients/s3.d.ts | 3499 - src/node_modules/aws-sdk/clients/s3.js | 20 - .../aws-sdk/clients/servicecatalog.d.ts | 2416 - .../aws-sdk/clients/servicecatalog.js | 18 - src/node_modules/aws-sdk/clients/ses.d.ts | 1642 - src/node_modules/aws-sdk/clients/ses.js | 19 - src/node_modules/aws-sdk/clients/shield.d.ts | 396 - src/node_modules/aws-sdk/clients/shield.js | 17 - .../aws-sdk/clients/simpledb.d.ts | 381 - src/node_modules/aws-sdk/clients/simpledb.js | 18 - src/node_modules/aws-sdk/clients/sms.d.ts | 296 - src/node_modules/aws-sdk/clients/sms.js | 18 - .../aws-sdk/clients/snowball.d.ts | 909 - src/node_modules/aws-sdk/clients/snowball.js | 18 - src/node_modules/aws-sdk/clients/sns.d.ts | 791 - src/node_modules/aws-sdk/clients/sns.js | 18 - src/node_modules/aws-sdk/clients/sqs.d.ts | 633 - src/node_modules/aws-sdk/clients/sqs.js | 19 - src/node_modules/aws-sdk/clients/ssm.d.ts | 4933 - src/node_modules/aws-sdk/clients/ssm.js | 18 - .../aws-sdk/clients/stepfunctions.d.ts | 808 - .../aws-sdk/clients/stepfunctions.js | 18 - .../aws-sdk/clients/storagegateway.d.ts | 2027 - .../aws-sdk/clients/storagegateway.js | 18 - src/node_modules/aws-sdk/clients/sts.d.ts | 391 - src/node_modules/aws-sdk/clients/sts.js | 19 - src/node_modules/aws-sdk/clients/support.d.ts | 756 - src/node_modules/aws-sdk/clients/support.js | 18 - src/node_modules/aws-sdk/clients/swf.d.ts | 2860 - src/node_modules/aws-sdk/clients/swf.js | 19 - src/node_modules/aws-sdk/clients/waf.d.ts | 1711 - src/node_modules/aws-sdk/clients/waf.js | 18 - .../aws-sdk/clients/wafregional.d.ts | 1789 - .../aws-sdk/clients/wafregional.js | 18 - .../aws-sdk/clients/workdocs.d.ts | 1845 - src/node_modules/aws-sdk/clients/workdocs.js | 18 - .../aws-sdk/clients/workspaces.d.ts | 716 - .../aws-sdk/clients/workspaces.js | 18 - src/node_modules/aws-sdk/clients/xray.d.ts | 642 - src/node_modules/aws-sdk/clients/xray.js | 18 - .../aws-sdk/dist-tools/browser-builder.js | 87 - .../aws-sdk/dist-tools/client-creator.js | 216 - .../aws-sdk/dist-tools/create-all-services.js | 6 - .../aws-sdk/dist-tools/service-collector.js | 168 - .../aws-sdk/dist-tools/transform.js | 43 - .../aws-sdk/dist-tools/webpack.config.rn.js | 34 - .../aws-sdk/dist/BUNDLE_LICENSE.txt | 96 - .../aws-sdk/dist/aws-sdk-react-native.js | 177575 --------------- src/node_modules/aws-sdk/dist/aws-sdk.js | 123013 ---------- src/node_modules/aws-sdk/dist/aws-sdk.min.js | 49 - src/node_modules/aws-sdk/global.d.ts | 4 - src/node_modules/aws-sdk/global.js | 2 - src/node_modules/aws-sdk/index.d.ts | 7 - src/node_modules/aws-sdk/index.js | 2 - src/node_modules/aws-sdk/lib/api_loader.js | 16 - src/node_modules/aws-sdk/lib/aws.js | 7 - src/node_modules/aws-sdk/lib/browser.js | 14 - .../aws-sdk/lib/browser_loader.js | 25 - .../aws-sdk/lib/cloudfront/signer.d.ts | 67 - .../aws-sdk/lib/cloudfront/signer.js | 206 - src/node_modules/aws-sdk/lib/config.d.ts | 279 - src/node_modules/aws-sdk/lib/config.js | 535 - .../lib/config_service_placeholders.d.ts | 209 - .../aws-sdk/lib/config_use_dualstack.d.ts | 8 - src/node_modules/aws-sdk/lib/core.d.ts | 21 - src/node_modules/aws-sdk/lib/core.js | 107 - src/node_modules/aws-sdk/lib/credentials.d.ts | 86 - src/node_modules/aws-sdk/lib/credentials.js | 214 - .../cognito_identity_credentials.d.ts | 43 - .../cognito_identity_credentials.js | 377 - .../credential_provider_chain.d.ts | 20 - .../credentials/credential_provider_chain.js | 173 - .../credentials/ec2_metadata_credentials.d.ts | 17 - .../credentials/ec2_metadata_credentials.js | 81 - .../lib/credentials/ecs_credentials.d.ts | 17 - .../lib/credentials/ecs_credentials.js | 207 - .../credentials/environment_credentials.d.ts | 8 - .../credentials/environment_credentials.js | 91 - .../credentials/file_system_credentials.d.ts | 12 - .../credentials/file_system_credentials.js | 68 - .../lib/credentials/saml_credentials.d.ts | 34 - .../lib/credentials/saml_credentials.js | 89 - .../shared_ini_file_credentials.d.ts | 13 - .../shared_ini_file_credentials.js | 203 - .../credentials/temporary_credentials.d.ts | 31 - .../lib/credentials/temporary_credentials.js | 120 - .../credentials/web_identity_credentials.d.ts | 30 - .../credentials/web_identity_credentials.js | 110 - .../aws-sdk/lib/dynamodb/converter.d.ts | 21 - .../aws-sdk/lib/dynamodb/converter.js | 248 - .../aws-sdk/lib/dynamodb/document_client.d.ts | 1251 - .../aws-sdk/lib/dynamodb/document_client.js | 523 - src/node_modules/aws-sdk/lib/dynamodb/set.js | 56 - .../aws-sdk/lib/dynamodb/translator.js | 80 - .../aws-sdk/lib/dynamodb/types.js | 46 - src/node_modules/aws-sdk/lib/empty.js | 2 - src/node_modules/aws-sdk/lib/endpoint.d.ts | 27 - src/node_modules/aws-sdk/lib/error.d.ts | 49 - .../aws-sdk/lib/event_listeners.d.ts | 35 - .../aws-sdk/lib/event_listeners.js | 531 - src/node_modules/aws-sdk/lib/http.js | 226 - src/node_modules/aws-sdk/lib/http/node.js | 196 - src/node_modules/aws-sdk/lib/http/xhr.js | 136 - .../aws-sdk/lib/http_request.d.ts | 36 - .../aws-sdk/lib/http_response.d.ts | 33 - src/node_modules/aws-sdk/lib/json/builder.js | 56 - src/node_modules/aws-sdk/lib/json/parser.js | 64 - .../aws-sdk/lib/metadata_service.d.ts | 52 - .../aws-sdk/lib/metadata_service.js | 121 - src/node_modules/aws-sdk/lib/model/api.js | 63 - .../aws-sdk/lib/model/collection.js | 20 - .../aws-sdk/lib/model/operation.js | 74 - .../aws-sdk/lib/model/paginator.js | 11 - .../aws-sdk/lib/model/resource_waiter.js | 30 - src/node_modules/aws-sdk/lib/model/shape.js | 352 - src/node_modules/aws-sdk/lib/node_loader.js | 85 - .../aws-sdk/lib/param_validator.js | 258 - .../aws-sdk/lib/polly/presigner.d.ts | 37 - .../aws-sdk/lib/polly/presigner.js | 115 - src/node_modules/aws-sdk/lib/protocol/json.js | 67 - .../aws-sdk/lib/protocol/query.js | 104 - src/node_modules/aws-sdk/lib/protocol/rest.js | 143 - .../aws-sdk/lib/protocol/rest_json.js | 67 - .../aws-sdk/lib/protocol/rest_xml.js | 96 - .../lib/query/query_param_serializer.js | 81 - src/node_modules/aws-sdk/lib/rds/signer.d.ts | 26 - src/node_modules/aws-sdk/lib/rds/signer.js | 217 - .../aws-sdk/lib/react-native-loader.js | 30 - .../lib/react-native/add-content-type.js | 15 - src/node_modules/aws-sdk/lib/region_config.js | 69 - .../aws-sdk/lib/region_config_data.json | 63 - src/node_modules/aws-sdk/lib/request.d.ts | 181 - src/node_modules/aws-sdk/lib/request.js | 805 - .../aws-sdk/lib/resource_waiter.js | 204 - src/node_modules/aws-sdk/lib/response.d.ts | 38 - src/node_modules/aws-sdk/lib/response.js | 201 - .../aws-sdk/lib/s3/managed_upload.d.ts | 92 - .../aws-sdk/lib/s3/managed_upload.js | 710 - .../aws-sdk/lib/s3/presigned_post.d.ts | 61 - .../aws-sdk/lib/sequential_executor.js | 231 - src/node_modules/aws-sdk/lib/service.d.ts | 83 - src/node_modules/aws-sdk/lib/service.js | 575 - .../aws-sdk/lib/services/apigateway.js | 29 - .../aws-sdk/lib/services/cloudfront.d.ts | 5 - .../aws-sdk/lib/services/cloudfront.js | 12 - .../aws-sdk/lib/services/cloudsearchdomain.js | 120 - .../aws-sdk/lib/services/cognitoidentity.js | 15 - .../aws-sdk/lib/services/dynamodb.d.ts | 9 - .../aws-sdk/lib/services/dynamodb.js | 58 - src/node_modules/aws-sdk/lib/services/ec2.js | 62 - .../aws-sdk/lib/services/glacier.d.ts | 16 - .../aws-sdk/lib/services/glacier.js | 114 - .../aws-sdk/lib/services/iotdata.js | 100 - .../aws-sdk/lib/services/lambda.js | 13 - .../aws-sdk/lib/services/machinelearning.js | 24 - .../aws-sdk/lib/services/polly.d.ts | 5 - .../aws-sdk/lib/services/polly.js | 1 - src/node_modules/aws-sdk/lib/services/rds.js | 61 - .../aws-sdk/lib/services/route53.js | 32 - src/node_modules/aws-sdk/lib/services/s3.d.ts | 44 - src/node_modules/aws-sdk/lib/services/s3.js | 1063 - src/node_modules/aws-sdk/lib/services/sqs.js | 131 - src/node_modules/aws-sdk/lib/services/sts.js | 47 - src/node_modules/aws-sdk/lib/services/swf.js | 10 - src/node_modules/aws-sdk/lib/shared_ini.js | 72 - .../aws-sdk/lib/signers/presign.js | 115 - .../aws-sdk/lib/signers/request_signer.js | 38 - src/node_modules/aws-sdk/lib/signers/s3.js | 172 - src/node_modules/aws-sdk/lib/signers/v2.js | 45 - src/node_modules/aws-sdk/lib/signers/v3.js | 74 - .../aws-sdk/lib/signers/v3https.js | 22 - src/node_modules/aws-sdk/lib/signers/v4.js | 211 - .../aws-sdk/lib/signers/v4_credentials.js | 97 - src/node_modules/aws-sdk/lib/state_machine.js | 42 - src/node_modules/aws-sdk/lib/util.js | 919 - .../aws-sdk/lib/xml/browser_parser.js | 186 - src/node_modules/aws-sdk/lib/xml/builder.js | 86 - .../aws-sdk/lib/xml/node_parser.js | 159 - src/node_modules/aws-sdk/package.json | 194 - src/node_modules/aws-sdk/react-native.js | 6 - .../aws-sdk/scripts/changelog/README.md | 97 - .../aws-sdk/scripts/changelog/add-change.js | 239 - .../scripts/changelog/change-creator.js | 213 - .../scripts/changelog/create-changelog | 11 - .../aws-sdk/scripts/changelog/release | 35 - .../aws-sdk/scripts/changelog/util.js | 195 - src/node_modules/aws-sdk/scripts/console | 119 - .../aws-sdk/scripts/lib/translator.js | 153 - .../scripts/lib/ts-customizations.json | 75 - .../aws-sdk/scripts/lib/ts-generator.js | 590 - .../scripts/services-table-generator.js | 14 - .../scripts/services-table-generator.ts | 29 - .../aws-sdk/scripts/translate-api | 19 - .../aws-sdk/scripts/typings-generator.js | 15 - src/node_modules/base64-js/LICENSE | 21 - src/node_modules/base64-js/README.md | 34 - src/node_modules/base64-js/base64js.min.js | 1 - src/node_modules/base64-js/index.js | 114 - src/node_modules/base64-js/package.json | 98 - src/node_modules/base64-js/test/big-data.js | 24 - src/node_modules/base64-js/test/convert.js | 48 - src/node_modules/base64-js/test/url-safe.js | 18 - src/node_modules/buffer/.npmignore | 2 - src/node_modules/buffer/.travis.yml | 8 - src/node_modules/buffer/AUTHORS.md | 44 - src/node_modules/buffer/LICENSE | 21 - src/node_modules/buffer/README.md | 378 - .../buffer/bin/download-node-tests.js | 106 - src/node_modules/buffer/bin/test.js | 41 - src/node_modules/buffer/bin/update-authors.sh | 21 - src/node_modules/buffer/bin/zuul-es5.yml | 14 - src/node_modules/buffer/bin/zuul-es6.yml | 6 - src/node_modules/buffer/index.js | 1789 - src/node_modules/buffer/package.json | 135 - src/node_modules/buffer/test/_polyfill.js | 150 - src/node_modules/buffer/test/base64.js | 47 - src/node_modules/buffer/test/basic.js | 85 - src/node_modules/buffer/test/compare.js | 59 - src/node_modules/buffer/test/constructor.js | 193 - src/node_modules/buffer/test/from-string.js | 132 - src/node_modules/buffer/test/is-buffer.js | 22 - src/node_modules/buffer/test/methods.js | 127 - .../buffer/test/node/test-buffer-alloc.js | 1501 - .../test/node/test-buffer-arraybuffer.js | 112 - .../buffer/test/node/test-buffer-ascii.js | 28 - .../test/node/test-buffer-bad-overload.js | 18 - .../buffer/test/node/test-buffer-badhex.js | 46 - .../test/node/test-buffer-bytelength.js | 90 - .../test/node/test-buffer-compare-offset.js | 66 - .../buffer/test/node/test-buffer-concat.js | 40 - .../buffer/test/node/test-buffer-fill.js | 272 - .../buffer/test/node/test-buffer-includes.js | 305 - .../buffer/test/node/test-buffer-indexof.js | 523 - .../test/node/test-buffer-inheritance.js | 42 - .../buffer/test/node/test-buffer-inspect.js | 41 - .../buffer/test/node/test-buffer-iterator.js | 65 - .../test/node/test-buffer-safe-unsafe.js | 27 - .../buffer/test/node/test-buffer-slow.js | 63 - .../buffer/test/node/test-buffer-swap.js | 141 - .../test/node/test-buffer-zero-fill-cli.js | 35 - .../test/node/test-buffer-zero-fill-reset.js | 22 - .../buffer/test/node/test-buffer.js | 1534 - src/node_modules/buffer/test/slice.js | 37 - src/node_modules/buffer/test/static.js | 17 - src/node_modules/buffer/test/to-string.js | 233 - src/node_modules/buffer/test/write.js | 131 - .../buffer/test/write_infinity.js | 45 - src/node_modules/crypto-browserify/.npmignore | 1 - .../crypto-browserify/.travis.yml | 5 - src/node_modules/crypto-browserify/LICENSE | 24 - .../crypto-browserify/example/bundle.js | 637 - .../crypto-browserify/example/index.html | 12 - .../crypto-browserify/example/test.js | 4 - src/node_modules/crypto-browserify/helpers.js | 35 - src/node_modules/crypto-browserify/index.js | 97 - src/node_modules/crypto-browserify/md5.js | 163 - .../crypto-browserify/package.json | 88 - .../crypto-browserify/readme.markdown | 20 - src/node_modules/crypto-browserify/rng.js | 31 - src/node_modules/crypto-browserify/sha.js | 101 - src/node_modules/crypto-browserify/sha256.js | 79 - .../crypto-browserify/test/browser.js | 100 - .../crypto-browserify/test/node.js | 77 - .../crypto-browserify/test/package.json | 7 - .../crypto-browserify/test/simple.js | 36 - .../crypto-browserify/test/vectors/Readme.txt | 25 - .../test/vectors/byte-hashes.md5 | 196 - .../test/vectors/byte-hashes.sha1 | 196 - .../test/vectors/byte-hashes.sha256 | 196 - .../test/vectors/byte0000.dat | 0 .../test/vectors/byte0001.dat | 1 - .../test/vectors/byte0002.dat | 1 - .../test/vectors/byte0003.dat | 1 - .../test/vectors/byte0004.dat | 1 - .../test/vectors/byte0005.dat | 1 - .../test/vectors/byte0006.dat | 1 - .../test/vectors/byte0007.dat | 1 - .../test/vectors/byte0008.dat | 1 - .../test/vectors/byte0009.dat | 1 - .../test/vectors/byte0010.dat | Bin 10 -> 0 bytes .../test/vectors/byte0011.dat | Bin 11 -> 0 bytes .../test/vectors/byte0012.dat | 1 - .../test/vectors/byte0013.dat | 1 - .../test/vectors/byte0014.dat | 1 - .../test/vectors/byte0015.dat | Bin 15 -> 0 bytes .../test/vectors/byte0016.dat | Bin 16 -> 0 bytes .../test/vectors/byte0017.dat | Bin 17 -> 0 bytes .../test/vectors/byte0018.dat | Bin 18 -> 0 bytes .../test/vectors/byte0019.dat | Bin 19 -> 0 bytes .../test/vectors/byte0020.dat | Bin 20 -> 0 bytes .../test/vectors/byte0021.dat | Bin 21 -> 0 bytes .../test/vectors/byte0022.dat | Bin 22 -> 0 bytes .../test/vectors/byte0023.dat | Bin 23 -> 0 bytes .../test/vectors/byte0024.dat | Bin 24 -> 0 bytes .../test/vectors/byte0025.dat | Bin 25 -> 0 bytes .../test/vectors/byte0026.dat | Bin 26 -> 0 bytes .../test/vectors/byte0027.dat | Bin 27 -> 0 bytes .../test/vectors/byte0028.dat | Bin 28 -> 0 bytes .../test/vectors/byte0029.dat | Bin 29 -> 0 bytes .../test/vectors/byte0030.dat | Bin 30 -> 0 bytes .../test/vectors/byte0031.dat | Bin 31 -> 0 bytes .../test/vectors/byte0032.dat | Bin 32 -> 0 bytes .../test/vectors/byte0033.dat | Bin 33 -> 0 bytes .../test/vectors/byte0034.dat | Bin 34 -> 0 bytes .../test/vectors/byte0035.dat | Bin 35 -> 0 bytes .../test/vectors/byte0036.dat | Bin 36 -> 0 bytes .../test/vectors/byte0037.dat | Bin 37 -> 0 bytes .../test/vectors/byte0038.dat | Bin 38 -> 0 bytes .../test/vectors/byte0039.dat | Bin 39 -> 0 bytes .../test/vectors/byte0040.dat | Bin 40 -> 0 bytes .../test/vectors/byte0041.dat | Bin 41 -> 0 bytes .../test/vectors/byte0042.dat | Bin 42 -> 0 bytes .../test/vectors/byte0043.dat | Bin 43 -> 0 bytes .../test/vectors/byte0044.dat | Bin 44 -> 0 bytes .../test/vectors/byte0045.dat | Bin 45 -> 0 bytes .../test/vectors/byte0046.dat | Bin 46 -> 0 bytes .../test/vectors/byte0047.dat | Bin 47 -> 0 bytes .../test/vectors/byte0048.dat | Bin 48 -> 0 bytes .../test/vectors/byte0049.dat | Bin 49 -> 0 bytes .../test/vectors/byte0050.dat | Bin 50 -> 0 bytes .../test/vectors/byte0051.dat | Bin 51 -> 0 bytes .../test/vectors/byte0052.dat | Bin 52 -> 0 bytes .../test/vectors/byte0053.dat | Bin 53 -> 0 bytes .../test/vectors/byte0054.dat | Bin 54 -> 0 bytes .../test/vectors/byte0055.dat | Bin 55 -> 0 bytes .../test/vectors/byte0056.dat | Bin 56 -> 0 bytes .../test/vectors/byte0057.dat | Bin 57 -> 0 bytes .../test/vectors/byte0058.dat | Bin 58 -> 0 bytes .../test/vectors/byte0059.dat | Bin 59 -> 0 bytes .../test/vectors/byte0060.dat | Bin 60 -> 0 bytes .../test/vectors/byte0061.dat | Bin 61 -> 0 bytes .../test/vectors/byte0062.dat | Bin 62 -> 0 bytes .../test/vectors/byte0063.dat | Bin 63 -> 0 bytes .../test/vectors/byte0064.dat | Bin 64 -> 0 bytes .../test/vectors/byte0065.dat | Bin 65 -> 0 bytes .../test/vectors/byte0066.dat | Bin 66 -> 0 bytes .../test/vectors/byte0067.dat | Bin 67 -> 0 bytes .../test/vectors/byte0068.dat | Bin 68 -> 0 bytes .../test/vectors/byte0069.dat | Bin 69 -> 0 bytes .../test/vectors/byte0070.dat | Bin 70 -> 0 bytes .../test/vectors/byte0071.dat | Bin 71 -> 0 bytes .../test/vectors/byte0072.dat | Bin 72 -> 0 bytes .../test/vectors/byte0073.dat | Bin 73 -> 0 bytes .../test/vectors/byte0074.dat | Bin 74 -> 0 bytes .../test/vectors/byte0075.dat | Bin 75 -> 0 bytes .../test/vectors/byte0076.dat | Bin 76 -> 0 bytes .../test/vectors/byte0077.dat | Bin 77 -> 0 bytes .../test/vectors/byte0078.dat | Bin 78 -> 0 bytes .../test/vectors/byte0079.dat | Bin 79 -> 0 bytes .../test/vectors/byte0080.dat | Bin 80 -> 0 bytes .../test/vectors/byte0081.dat | Bin 81 -> 0 bytes .../test/vectors/byte0082.dat | Bin 82 -> 0 bytes .../test/vectors/byte0083.dat | Bin 83 -> 0 bytes .../test/vectors/byte0084.dat | Bin 84 -> 0 bytes .../test/vectors/byte0085.dat | Bin 85 -> 0 bytes .../test/vectors/byte0086.dat | Bin 86 -> 0 bytes .../test/vectors/byte0087.dat | Bin 87 -> 0 bytes .../test/vectors/byte0088.dat | Bin 88 -> 0 bytes .../test/vectors/byte0089.dat | Bin 89 -> 0 bytes .../test/vectors/byte0090.dat | Bin 90 -> 0 bytes .../test/vectors/byte0091.dat | Bin 91 -> 0 bytes .../test/vectors/byte0092.dat | Bin 92 -> 0 bytes .../test/vectors/byte0093.dat | Bin 93 -> 0 bytes .../test/vectors/byte0094.dat | Bin 94 -> 0 bytes .../test/vectors/byte0095.dat | Bin 95 -> 0 bytes .../test/vectors/byte0096.dat | Bin 96 -> 0 bytes .../test/vectors/byte0097.dat | Bin 97 -> 0 bytes .../test/vectors/byte0098.dat | Bin 98 -> 0 bytes .../test/vectors/byte0099.dat | Bin 99 -> 0 bytes .../test/vectors/byte0100.dat | Bin 100 -> 0 bytes .../test/vectors/byte0101.dat | Bin 101 -> 0 bytes .../test/vectors/byte0102.dat | Bin 102 -> 0 bytes .../test/vectors/byte0103.dat | Bin 103 -> 0 bytes .../test/vectors/byte0104.dat | Bin 104 -> 0 bytes .../test/vectors/byte0105.dat | Bin 105 -> 0 bytes .../test/vectors/byte0106.dat | Bin 106 -> 0 bytes .../test/vectors/byte0107.dat | Bin 107 -> 0 bytes .../test/vectors/byte0108.dat | Bin 108 -> 0 bytes .../test/vectors/byte0109.dat | Bin 109 -> 0 bytes .../test/vectors/byte0110.dat | Bin 110 -> 0 bytes .../test/vectors/byte0111.dat | Bin 111 -> 0 bytes .../test/vectors/byte0112.dat | Bin 112 -> 0 bytes .../test/vectors/byte0113.dat | Bin 113 -> 0 bytes .../test/vectors/byte0114.dat | Bin 114 -> 0 bytes .../test/vectors/byte0115.dat | Bin 115 -> 0 bytes .../test/vectors/byte0116.dat | Bin 116 -> 0 bytes .../test/vectors/byte0117.dat | Bin 117 -> 0 bytes .../test/vectors/byte0118.dat | Bin 118 -> 0 bytes .../test/vectors/byte0119.dat | Bin 119 -> 0 bytes .../test/vectors/byte0120.dat | Bin 120 -> 0 bytes .../test/vectors/byte0121.dat | Bin 121 -> 0 bytes .../test/vectors/byte0122.dat | Bin 122 -> 0 bytes .../test/vectors/byte0123.dat | Bin 123 -> 0 bytes .../test/vectors/byte0124.dat | Bin 124 -> 0 bytes .../test/vectors/byte0125.dat | Bin 125 -> 0 bytes .../test/vectors/byte0126.dat | Bin 126 -> 0 bytes .../test/vectors/byte0127.dat | Bin 127 -> 0 bytes .../test/vectors/byte0128.dat | Bin 128 -> 0 bytes .../test/vectors/byte0129.dat | Bin 129 -> 0 bytes .../test/vectors/byte0130.dat | Bin 257 -> 0 bytes .../test/vectors/byte0131.dat | Bin 385 -> 0 bytes .../test/vectors/byte0132.dat | Bin 513 -> 0 bytes .../test/vectors/byte0133.dat | Bin 641 -> 0 bytes .../test/vectors/byte0134.dat | Bin 769 -> 0 bytes .../test/vectors/byte0135.dat | Bin 897 -> 0 bytes .../test/vectors/byte0136.dat | Bin 1025 -> 0 bytes .../test/vectors/byte0137.dat | Bin 1153 -> 0 bytes .../test/vectors/byte0138.dat | Bin 1281 -> 0 bytes .../test/vectors/byte0139.dat | Bin 1409 -> 0 bytes .../test/vectors/byte0140.dat | Bin 1537 -> 0 bytes .../test/vectors/byte0141.dat | Bin 1665 -> 0 bytes .../test/vectors/byte0142.dat | Bin 1793 -> 0 bytes .../test/vectors/byte0143.dat | Bin 1921 -> 0 bytes .../test/vectors/byte0144.dat | Bin 2049 -> 0 bytes .../test/vectors/byte0145.dat | Bin 2177 -> 0 bytes .../test/vectors/byte0146.dat | Bin 2305 -> 0 bytes .../test/vectors/byte0147.dat | Bin 2433 -> 0 bytes .../test/vectors/byte0148.dat | Bin 2561 -> 0 bytes .../test/vectors/byte0149.dat | Bin 2689 -> 0 bytes .../test/vectors/byte0150.dat | Bin 2817 -> 0 bytes .../test/vectors/byte0151.dat | Bin 2945 -> 0 bytes .../test/vectors/byte0152.dat | Bin 3073 -> 0 bytes .../test/vectors/byte0153.dat | Bin 3201 -> 0 bytes .../test/vectors/byte0154.dat | Bin 3329 -> 0 bytes .../test/vectors/byte0155.dat | Bin 3457 -> 0 bytes .../test/vectors/byte0156.dat | Bin 3585 -> 0 bytes .../test/vectors/byte0157.dat | Bin 3713 -> 0 bytes .../test/vectors/byte0158.dat | Bin 3841 -> 0 bytes .../test/vectors/byte0159.dat | Bin 3969 -> 0 bytes .../test/vectors/byte0160.dat | Bin 4097 -> 0 bytes .../test/vectors/byte0161.dat | Bin 4225 -> 0 bytes .../test/vectors/byte0162.dat | Bin 4353 -> 0 bytes .../test/vectors/byte0163.dat | Bin 4481 -> 0 bytes .../test/vectors/byte0164.dat | Bin 4609 -> 0 bytes .../test/vectors/byte0165.dat | Bin 4737 -> 0 bytes .../test/vectors/byte0166.dat | Bin 4865 -> 0 bytes .../test/vectors/byte0167.dat | Bin 4993 -> 0 bytes .../test/vectors/byte0168.dat | Bin 5121 -> 0 bytes .../test/vectors/byte0169.dat | Bin 5249 -> 0 bytes .../test/vectors/byte0170.dat | Bin 5377 -> 0 bytes .../test/vectors/byte0171.dat | Bin 5505 -> 0 bytes .../test/vectors/byte0172.dat | Bin 5633 -> 0 bytes .../test/vectors/byte0173.dat | Bin 5761 -> 0 bytes .../test/vectors/byte0174.dat | Bin 5889 -> 0 bytes .../test/vectors/byte0175.dat | Bin 6017 -> 0 bytes .../test/vectors/byte0176.dat | Bin 6145 -> 0 bytes .../test/vectors/byte0177.dat | Bin 6273 -> 0 bytes .../test/vectors/byte0178.dat | Bin 6401 -> 0 bytes .../test/vectors/byte0179.dat | Bin 6529 -> 0 bytes .../test/vectors/byte0180.dat | Bin 6657 -> 0 bytes .../test/vectors/byte0181.dat | Bin 6785 -> 0 bytes .../test/vectors/byte0182.dat | Bin 6913 -> 0 bytes .../test/vectors/byte0183.dat | Bin 7041 -> 0 bytes .../test/vectors/byte0184.dat | Bin 7169 -> 0 bytes .../test/vectors/byte0185.dat | Bin 7297 -> 0 bytes .../test/vectors/byte0186.dat | Bin 7425 -> 0 bytes .../test/vectors/byte0187.dat | Bin 7553 -> 0 bytes .../test/vectors/byte0188.dat | Bin 7681 -> 0 bytes .../test/vectors/byte0189.dat | Bin 7809 -> 0 bytes .../test/vectors/byte0190.dat | Bin 7937 -> 0 bytes .../test/vectors/byte0191.dat | Bin 8065 -> 0 bytes .../test/vectors/byte0192.dat | Bin 8193 -> 0 bytes .../test/vectors/byte0193.dat | Bin 8321 -> 0 bytes .../test/vectors/byte0194.dat | Bin 8449 -> 0 bytes .../test/vectors/byte0195.dat | Bin 8577 -> 0 bytes src/node_modules/https/package.json | 68 - .../i18next-sprintf-postprocessor/.npmignore | 11 - .../i18next-sprintf-postprocessor/LICENSE | 22 - .../i18next-sprintf-postprocessor/README.md | 75 - .../dist/commonjs/index.js | 38 - .../dist/commonjs/sprintf.js | 201 - .../dist/es/index.js | 32 - .../dist/es/sprintf.js | 194 - .../dist/umd/i18nextSprintfPostProcessor.js | 241 - .../umd/i18nextSprintfPostProcessor.min.js | 1 - .../i18nextSprintfPostProcessor.js | 241 - .../i18nextSprintfPostProcessor.min.js | 1 - .../i18next-sprintf-postprocessor/index.js | 1 - .../package.json | 109 - .../rollup.config.js | 31 - src/node_modules/i18next/.coveralls.yml | 1 - src/node_modules/i18next/.npmignore | 12 - src/node_modules/i18next/.travis.yml | 6 - src/node_modules/i18next/CHANGELOG.md | 436 - src/node_modules/i18next/LICENSE | 21 - src/node_modules/i18next/README.md | 45 - .../i18next/dist/commonjs/BackendConnector.js | 317 - .../i18next/dist/commonjs/CacheConnector.js | 88 - .../i18next/dist/commonjs/EventEmitter.js | 67 - .../i18next/dist/commonjs/Interpolator.js | 171 - .../i18next/dist/commonjs/LanguageUtils.js | 144 - .../i18next/dist/commonjs/PluralResolver.js | 199 - .../i18next/dist/commonjs/ResourceStore.js | 157 - .../i18next/dist/commonjs/Translator.js | 307 - .../i18next/dist/commonjs/compatibility/v1.js | 154 - .../i18next/dist/commonjs/defaults.js | 76 - .../i18next/dist/commonjs/i18next.js | 401 - .../i18next/dist/commonjs/index.js | 13 - .../i18next/dist/commonjs/logger.js | 92 - .../i18next/dist/commonjs/postProcessor.js | 22 - .../i18next/dist/commonjs/utils.js | 111 - .../i18next/dist/es/BackendConnector.js | 299 - .../i18next/dist/es/CacheConnector.js | 70 - .../i18next/dist/es/EventEmitter.js | 61 - .../i18next/dist/es/Interpolator.js | 156 - .../i18next/dist/es/LanguageUtils.js | 134 - .../i18next/dist/es/PluralResolver.js | 189 - .../i18next/dist/es/ResourceStore.js | 142 - .../i18next/dist/es/Translator.js | 283 - .../i18next/dist/es/compatibility/v1.js | 140 - src/node_modules/i18next/dist/es/defaults.js | 69 - src/node_modules/i18next/dist/es/i18next.js | 359 - src/node_modules/i18next/dist/es/index.js | 3 - src/node_modules/i18next/dist/es/logger.js | 86 - .../i18next/dist/es/postProcessor.js | 17 - src/node_modules/i18next/dist/es/utils.js | 98 - src/node_modules/i18next/dist/umd/i18next.js | 2264 - .../i18next/dist/umd/i18next.min.js | 2 - src/node_modules/i18next/i18next.js | 2264 - src/node_modules/i18next/i18next.min.js | 2 - src/node_modules/i18next/index.js | 1 - .../i18next/karma.backward.conf.js | 44 - src/node_modules/i18next/package.json | 154 - src/node_modules/i18next/rollup.config.js | 32 - src/node_modules/ieee754/.travis.yml | 7 - src/node_modules/ieee754/.zuul.yml | 20 - src/node_modules/ieee754/LICENSE | 28 - src/node_modules/ieee754/README.md | 47 - src/node_modules/ieee754/index.js | 84 - src/node_modules/ieee754/package.json | 97 - src/node_modules/ieee754/test/basic.js | 23 - src/node_modules/isarray/.npmignore | 1 - src/node_modules/isarray/.travis.yml | 4 - src/node_modules/isarray/Makefile | 6 - src/node_modules/isarray/README.md | 60 - src/node_modules/isarray/component.json | 19 - src/node_modules/isarray/index.js | 5 - src/node_modules/isarray/package.json | 96 - src/node_modules/isarray/test.js | 20 - src/node_modules/jmespath/.eslintrc | 10 - src/node_modules/jmespath/.npmignore | 1 - src/node_modules/jmespath/.travis.yml | 6 - src/node_modules/jmespath/BASELINE | 15 - src/node_modules/jmespath/Gruntfile.js | 36 - src/node_modules/jmespath/LICENSE | 13 - src/node_modules/jmespath/README.md | 57 - .../jmespath/artifacts/jmespath.min.js | 2 - src/node_modules/jmespath/bower.json | 24 - src/node_modules/jmespath/g.sh | 5 - src/node_modules/jmespath/index.html | 93 - src/node_modules/jmespath/james.html | 7 - src/node_modules/jmespath/jmespath.js | 1667 - src/node_modules/jmespath/jp.js | 23 - src/node_modules/jmespath/l.js | 189 - src/node_modules/jmespath/package.json | 100 - src/node_modules/jmespath/perf.js | 33 - src/node_modules/jmespath/reservedWords.json | 4 - src/node_modules/jmespath/test/compliance.js | 56 - .../jmespath/test/compliance/basic.json | 96 - .../jmespath/test/compliance/boolean.json | 257 - .../jmespath/test/compliance/current.json | 25 - .../jmespath/test/compliance/escape.json | 46 - .../jmespath/test/compliance/filters.json | 468 - .../jmespath/test/compliance/functions.json | 825 - .../jmespath/test/compliance/identifiers.json | 1377 - .../jmespath/test/compliance/indices.json | 346 - .../jmespath/test/compliance/literal.json | 190 - .../jmespath/test/compliance/multiselect.json | 393 - .../jmespath/test/compliance/pipe.json | 131 - .../jmespath/test/compliance/slice.json | 187 - .../jmespath/test/compliance/syntax.json | 616 - .../jmespath/test/compliance/unicode.json | 38 - .../jmespath/test/compliance/wildcard.json | 460 - src/node_modules/jmespath/test/jmespath.js | 217 - src/node_modules/lodash/LICENSE | 47 - src/node_modules/lodash/README.md | 39 - src/node_modules/lodash/_DataView.js | 7 - src/node_modules/lodash/_Hash.js | 32 - src/node_modules/lodash/_LazyWrapper.js | 28 - src/node_modules/lodash/_ListCache.js | 32 - src/node_modules/lodash/_LodashWrapper.js | 22 - src/node_modules/lodash/_Map.js | 7 - src/node_modules/lodash/_MapCache.js | 32 - src/node_modules/lodash/_Promise.js | 7 - src/node_modules/lodash/_Set.js | 7 - src/node_modules/lodash/_SetCache.js | 27 - src/node_modules/lodash/_Stack.js | 27 - src/node_modules/lodash/_Symbol.js | 6 - src/node_modules/lodash/_Uint8Array.js | 6 - src/node_modules/lodash/_WeakMap.js | 7 - src/node_modules/lodash/_addMapEntry.js | 15 - src/node_modules/lodash/_addSetEntry.js | 15 - src/node_modules/lodash/_apply.js | 21 - src/node_modules/lodash/_arrayAggregator.js | 22 - src/node_modules/lodash/_arrayEach.js | 22 - src/node_modules/lodash/_arrayEachRight.js | 21 - src/node_modules/lodash/_arrayEvery.js | 23 - src/node_modules/lodash/_arrayFilter.js | 25 - src/node_modules/lodash/_arrayIncludes.js | 17 - src/node_modules/lodash/_arrayIncludesWith.js | 22 - src/node_modules/lodash/_arrayLikeKeys.js | 49 - src/node_modules/lodash/_arrayMap.js | 21 - src/node_modules/lodash/_arrayPush.js | 20 - src/node_modules/lodash/_arrayReduce.js | 26 - src/node_modules/lodash/_arrayReduceRight.js | 24 - src/node_modules/lodash/_arraySample.js | 15 - src/node_modules/lodash/_arraySampleSize.js | 17 - src/node_modules/lodash/_arrayShuffle.js | 15 - src/node_modules/lodash/_arraySome.js | 23 - src/node_modules/lodash/_asciiSize.js | 12 - src/node_modules/lodash/_asciiToArray.js | 12 - src/node_modules/lodash/_asciiWords.js | 15 - src/node_modules/lodash/_assignMergeValue.js | 20 - src/node_modules/lodash/_assignValue.js | 28 - src/node_modules/lodash/_assocIndexOf.js | 21 - src/node_modules/lodash/_baseAggregator.js | 21 - src/node_modules/lodash/_baseAssign.js | 17 - src/node_modules/lodash/_baseAssignIn.js | 17 - src/node_modules/lodash/_baseAssignValue.js | 25 - src/node_modules/lodash/_baseAt.js | 23 - src/node_modules/lodash/_baseClamp.js | 22 - src/node_modules/lodash/_baseClone.js | 153 - src/node_modules/lodash/_baseConforms.js | 18 - src/node_modules/lodash/_baseConformsTo.js | 27 - src/node_modules/lodash/_baseCreate.js | 30 - src/node_modules/lodash/_baseDelay.js | 21 - src/node_modules/lodash/_baseDifference.js | 67 - src/node_modules/lodash/_baseEach.js | 14 - src/node_modules/lodash/_baseEachRight.js | 14 - src/node_modules/lodash/_baseEvery.js | 21 - src/node_modules/lodash/_baseExtremum.js | 32 - src/node_modules/lodash/_baseFill.js | 32 - src/node_modules/lodash/_baseFilter.js | 21 - src/node_modules/lodash/_baseFindIndex.js | 24 - src/node_modules/lodash/_baseFindKey.js | 23 - src/node_modules/lodash/_baseFlatten.js | 38 - src/node_modules/lodash/_baseFor.js | 16 - src/node_modules/lodash/_baseForOwn.js | 16 - src/node_modules/lodash/_baseForOwnRight.js | 16 - src/node_modules/lodash/_baseForRight.js | 15 - src/node_modules/lodash/_baseFunctions.js | 19 - src/node_modules/lodash/_baseGet.js | 24 - src/node_modules/lodash/_baseGetAllKeys.js | 20 - src/node_modules/lodash/_baseGetTag.js | 28 - src/node_modules/lodash/_baseGt.js | 14 - src/node_modules/lodash/_baseHas.js | 19 - src/node_modules/lodash/_baseHasIn.js | 13 - src/node_modules/lodash/_baseInRange.js | 18 - src/node_modules/lodash/_baseIndexOf.js | 20 - src/node_modules/lodash/_baseIndexOfWith.js | 23 - src/node_modules/lodash/_baseIntersection.js | 74 - src/node_modules/lodash/_baseInverter.js | 21 - src/node_modules/lodash/_baseInvoke.js | 24 - src/node_modules/lodash/_baseIsArguments.js | 18 - src/node_modules/lodash/_baseIsArrayBuffer.js | 17 - src/node_modules/lodash/_baseIsDate.js | 18 - src/node_modules/lodash/_baseIsEqual.js | 28 - src/node_modules/lodash/_baseIsEqualDeep.js | 83 - src/node_modules/lodash/_baseIsMap.js | 18 - src/node_modules/lodash/_baseIsMatch.js | 62 - src/node_modules/lodash/_baseIsNaN.js | 12 - src/node_modules/lodash/_baseIsNative.js | 47 - src/node_modules/lodash/_baseIsRegExp.js | 18 - src/node_modules/lodash/_baseIsSet.js | 18 - src/node_modules/lodash/_baseIsTypedArray.js | 60 - src/node_modules/lodash/_baseIteratee.js | 31 - src/node_modules/lodash/_baseKeys.js | 30 - src/node_modules/lodash/_baseKeysIn.js | 33 - src/node_modules/lodash/_baseLodash.js | 10 - src/node_modules/lodash/_baseLt.js | 14 - src/node_modules/lodash/_baseMap.js | 22 - src/node_modules/lodash/_baseMatches.js | 22 - .../lodash/_baseMatchesProperty.js | 33 - src/node_modules/lodash/_baseMean.js | 20 - src/node_modules/lodash/_baseMerge.js | 41 - src/node_modules/lodash/_baseMergeDeep.js | 93 - src/node_modules/lodash/_baseNth.js | 20 - src/node_modules/lodash/_baseOrderBy.js | 34 - src/node_modules/lodash/_basePick.js | 19 - src/node_modules/lodash/_basePickBy.js | 30 - src/node_modules/lodash/_baseProperty.js | 14 - src/node_modules/lodash/_basePropertyDeep.js | 16 - src/node_modules/lodash/_basePropertyOf.js | 14 - src/node_modules/lodash/_basePullAll.js | 51 - src/node_modules/lodash/_basePullAt.js | 37 - src/node_modules/lodash/_baseRandom.js | 18 - src/node_modules/lodash/_baseRange.js | 28 - src/node_modules/lodash/_baseReduce.js | 23 - src/node_modules/lodash/_baseRepeat.js | 35 - src/node_modules/lodash/_baseRest.js | 17 - src/node_modules/lodash/_baseSample.js | 15 - src/node_modules/lodash/_baseSampleSize.js | 18 - src/node_modules/lodash/_baseSet.js | 47 - src/node_modules/lodash/_baseSetData.js | 17 - src/node_modules/lodash/_baseSetToString.js | 22 - src/node_modules/lodash/_baseShuffle.js | 15 - src/node_modules/lodash/_baseSlice.js | 31 - src/node_modules/lodash/_baseSome.js | 22 - src/node_modules/lodash/_baseSortBy.js | 21 - src/node_modules/lodash/_baseSortedIndex.js | 42 - src/node_modules/lodash/_baseSortedIndexBy.js | 64 - src/node_modules/lodash/_baseSortedUniq.js | 30 - src/node_modules/lodash/_baseSum.js | 24 - src/node_modules/lodash/_baseTimes.js | 20 - src/node_modules/lodash/_baseToNumber.js | 24 - src/node_modules/lodash/_baseToPairs.js | 18 - src/node_modules/lodash/_baseToString.js | 37 - src/node_modules/lodash/_baseUnary.js | 14 - src/node_modules/lodash/_baseUniq.js | 72 - src/node_modules/lodash/_baseUnset.js | 20 - src/node_modules/lodash/_baseUpdate.js | 18 - src/node_modules/lodash/_baseValues.js | 19 - src/node_modules/lodash/_baseWhile.js | 26 - src/node_modules/lodash/_baseWrapperValue.js | 25 - src/node_modules/lodash/_baseXor.js | 36 - src/node_modules/lodash/_baseZipObject.js | 23 - src/node_modules/lodash/_cacheHas.js | 13 - .../lodash/_castArrayLikeObject.js | 14 - src/node_modules/lodash/_castFunction.js | 14 - src/node_modules/lodash/_castPath.js | 21 - src/node_modules/lodash/_castRest.js | 14 - src/node_modules/lodash/_castSlice.js | 18 - src/node_modules/lodash/_charsEndIndex.js | 19 - src/node_modules/lodash/_charsStartIndex.js | 20 - src/node_modules/lodash/_cloneArrayBuffer.js | 16 - src/node_modules/lodash/_cloneBuffer.js | 35 - src/node_modules/lodash/_cloneDataView.js | 16 - src/node_modules/lodash/_cloneMap.js | 22 - src/node_modules/lodash/_cloneRegExp.js | 17 - src/node_modules/lodash/_cloneSet.js | 22 - src/node_modules/lodash/_cloneSymbol.js | 18 - src/node_modules/lodash/_cloneTypedArray.js | 16 - src/node_modules/lodash/_compareAscending.js | 41 - src/node_modules/lodash/_compareMultiple.js | 44 - src/node_modules/lodash/_composeArgs.js | 39 - src/node_modules/lodash/_composeArgsRight.js | 41 - src/node_modules/lodash/_copyArray.js | 20 - src/node_modules/lodash/_copyObject.js | 40 - src/node_modules/lodash/_copySymbols.js | 16 - src/node_modules/lodash/_copySymbolsIn.js | 16 - src/node_modules/lodash/_coreJsData.js | 6 - src/node_modules/lodash/_countHolders.js | 21 - src/node_modules/lodash/_createAggregator.js | 23 - src/node_modules/lodash/_createAssigner.js | 37 - src/node_modules/lodash/_createBaseEach.js | 32 - src/node_modules/lodash/_createBaseFor.js | 25 - src/node_modules/lodash/_createBind.js | 28 - src/node_modules/lodash/_createCaseFirst.js | 33 - src/node_modules/lodash/_createCompounder.js | 24 - src/node_modules/lodash/_createCtor.js | 37 - src/node_modules/lodash/_createCurry.js | 46 - src/node_modules/lodash/_createFind.js | 25 - src/node_modules/lodash/_createFlow.js | 78 - src/node_modules/lodash/_createHybrid.js | 92 - src/node_modules/lodash/_createInverter.js | 17 - .../lodash/_createMathOperation.js | 38 - src/node_modules/lodash/_createOver.js | 27 - src/node_modules/lodash/_createPadding.js | 33 - src/node_modules/lodash/_createPartial.js | 43 - src/node_modules/lodash/_createRange.js | 30 - src/node_modules/lodash/_createRecurry.js | 56 - .../lodash/_createRelationalOperation.js | 20 - src/node_modules/lodash/_createRound.js | 33 - src/node_modules/lodash/_createSet.js | 19 - src/node_modules/lodash/_createToPairs.js | 30 - src/node_modules/lodash/_createWrap.js | 106 - .../lodash/_customDefaultsAssignIn.js | 29 - .../lodash/_customDefaultsMerge.js | 28 - src/node_modules/lodash/_customOmitClone.js | 16 - src/node_modules/lodash/_deburrLetter.js | 71 - src/node_modules/lodash/_defineProperty.js | 11 - src/node_modules/lodash/_equalArrays.js | 83 - src/node_modules/lodash/_equalByTag.js | 112 - src/node_modules/lodash/_equalObjects.js | 89 - src/node_modules/lodash/_escapeHtmlChar.js | 21 - src/node_modules/lodash/_escapeStringChar.js | 22 - src/node_modules/lodash/_flatRest.js | 16 - src/node_modules/lodash/_freeGlobal.js | 4 - src/node_modules/lodash/_getAllKeys.js | 16 - src/node_modules/lodash/_getAllKeysIn.js | 17 - src/node_modules/lodash/_getData.js | 15 - src/node_modules/lodash/_getFuncName.js | 31 - src/node_modules/lodash/_getHolder.js | 13 - src/node_modules/lodash/_getMapData.js | 18 - src/node_modules/lodash/_getMatchData.js | 24 - src/node_modules/lodash/_getNative.js | 17 - src/node_modules/lodash/_getPrototype.js | 6 - src/node_modules/lodash/_getRawTag.js | 46 - src/node_modules/lodash/_getSymbols.js | 30 - src/node_modules/lodash/_getSymbolsIn.js | 25 - src/node_modules/lodash/_getTag.js | 58 - src/node_modules/lodash/_getValue.js | 13 - src/node_modules/lodash/_getView.js | 33 - src/node_modules/lodash/_getWrapDetails.js | 17 - src/node_modules/lodash/_hasPath.js | 39 - src/node_modules/lodash/_hasUnicode.js | 26 - src/node_modules/lodash/_hasUnicodeWord.js | 15 - src/node_modules/lodash/_hashClear.js | 15 - src/node_modules/lodash/_hashDelete.js | 17 - src/node_modules/lodash/_hashGet.js | 30 - src/node_modules/lodash/_hashHas.js | 23 - src/node_modules/lodash/_hashSet.js | 23 - src/node_modules/lodash/_initCloneArray.js | 26 - src/node_modules/lodash/_initCloneByTag.js | 80 - src/node_modules/lodash/_initCloneObject.js | 18 - src/node_modules/lodash/_insertWrapDetails.js | 23 - src/node_modules/lodash/_isFlattenable.js | 20 - src/node_modules/lodash/_isIndex.js | 22 - src/node_modules/lodash/_isIterateeCall.js | 30 - src/node_modules/lodash/_isKey.js | 29 - src/node_modules/lodash/_isKeyable.js | 15 - src/node_modules/lodash/_isLaziable.js | 28 - src/node_modules/lodash/_isMaskable.js | 14 - src/node_modules/lodash/_isMasked.js | 20 - src/node_modules/lodash/_isPrototype.js | 18 - .../lodash/_isStrictComparable.js | 15 - src/node_modules/lodash/_iteratorToArray.js | 18 - src/node_modules/lodash/_lazyClone.js | 23 - src/node_modules/lodash/_lazyReverse.js | 23 - src/node_modules/lodash/_lazyValue.js | 69 - src/node_modules/lodash/_listCacheClear.js | 13 - src/node_modules/lodash/_listCacheDelete.js | 35 - src/node_modules/lodash/_listCacheGet.js | 19 - src/node_modules/lodash/_listCacheHas.js | 16 - src/node_modules/lodash/_listCacheSet.js | 26 - src/node_modules/lodash/_mapCacheClear.js | 21 - src/node_modules/lodash/_mapCacheDelete.js | 18 - src/node_modules/lodash/_mapCacheGet.js | 16 - src/node_modules/lodash/_mapCacheHas.js | 16 - src/node_modules/lodash/_mapCacheSet.js | 22 - src/node_modules/lodash/_mapToArray.js | 18 - .../lodash/_matchesStrictComparable.js | 20 - src/node_modules/lodash/_memoizeCapped.js | 26 - src/node_modules/lodash/_mergeData.js | 90 - src/node_modules/lodash/_metaMap.js | 6 - src/node_modules/lodash/_nativeCreate.js | 6 - src/node_modules/lodash/_nativeKeys.js | 6 - src/node_modules/lodash/_nativeKeysIn.js | 20 - src/node_modules/lodash/_nodeUtil.js | 22 - src/node_modules/lodash/_objectToString.js | 22 - src/node_modules/lodash/_overArg.js | 15 - src/node_modules/lodash/_overRest.js | 36 - src/node_modules/lodash/_parent.js | 16 - src/node_modules/lodash/_reEscape.js | 4 - src/node_modules/lodash/_reEvaluate.js | 4 - src/node_modules/lodash/_reInterpolate.js | 4 - src/node_modules/lodash/_realNames.js | 4 - src/node_modules/lodash/_reorder.js | 29 - src/node_modules/lodash/_replaceHolders.js | 29 - src/node_modules/lodash/_root.js | 9 - src/node_modules/lodash/_setCacheAdd.js | 19 - src/node_modules/lodash/_setCacheHas.js | 14 - src/node_modules/lodash/_setData.js | 20 - src/node_modules/lodash/_setToArray.js | 18 - src/node_modules/lodash/_setToPairs.js | 18 - src/node_modules/lodash/_setToString.js | 14 - src/node_modules/lodash/_setWrapToString.js | 21 - src/node_modules/lodash/_shortOut.js | 37 - src/node_modules/lodash/_shuffleSelf.js | 28 - src/node_modules/lodash/_stackClear.js | 15 - src/node_modules/lodash/_stackDelete.js | 18 - src/node_modules/lodash/_stackGet.js | 14 - src/node_modules/lodash/_stackHas.js | 14 - src/node_modules/lodash/_stackSet.js | 34 - src/node_modules/lodash/_strictIndexOf.js | 23 - src/node_modules/lodash/_strictLastIndexOf.js | 21 - src/node_modules/lodash/_stringSize.js | 18 - src/node_modules/lodash/_stringToArray.js | 18 - src/node_modules/lodash/_stringToPath.js | 28 - src/node_modules/lodash/_toKey.js | 21 - src/node_modules/lodash/_toSource.js | 26 - src/node_modules/lodash/_unescapeHtmlChar.js | 21 - src/node_modules/lodash/_unicodeSize.js | 44 - src/node_modules/lodash/_unicodeToArray.js | 40 - src/node_modules/lodash/_unicodeWords.js | 69 - src/node_modules/lodash/_updateWrapDetails.js | 46 - src/node_modules/lodash/_wrapperClone.js | 23 - src/node_modules/lodash/add.js | 22 - src/node_modules/lodash/after.js | 42 - src/node_modules/lodash/array.js | 67 - src/node_modules/lodash/ary.js | 29 - src/node_modules/lodash/assign.js | 58 - src/node_modules/lodash/assignIn.js | 40 - src/node_modules/lodash/assignInWith.js | 38 - src/node_modules/lodash/assignWith.js | 37 - src/node_modules/lodash/at.js | 23 - src/node_modules/lodash/attempt.js | 35 - src/node_modules/lodash/before.js | 40 - src/node_modules/lodash/bind.js | 57 - src/node_modules/lodash/bindAll.js | 41 - src/node_modules/lodash/bindKey.js | 68 - src/node_modules/lodash/camelCase.js | 29 - src/node_modules/lodash/capitalize.js | 23 - src/node_modules/lodash/castArray.js | 44 - src/node_modules/lodash/ceil.js | 26 - src/node_modules/lodash/chain.js | 38 - src/node_modules/lodash/chunk.js | 50 - src/node_modules/lodash/clamp.js | 39 - src/node_modules/lodash/clone.js | 36 - src/node_modules/lodash/cloneDeep.js | 29 - src/node_modules/lodash/cloneDeepWith.js | 40 - src/node_modules/lodash/cloneWith.js | 42 - src/node_modules/lodash/collection.js | 30 - src/node_modules/lodash/commit.js | 33 - src/node_modules/lodash/compact.js | 31 - src/node_modules/lodash/concat.js | 43 - src/node_modules/lodash/cond.js | 60 - src/node_modules/lodash/conforms.js | 35 - src/node_modules/lodash/conformsTo.js | 32 - src/node_modules/lodash/constant.js | 26 - src/node_modules/lodash/core.js | 3836 - src/node_modules/lodash/core.min.js | 29 - src/node_modules/lodash/countBy.js | 40 - src/node_modules/lodash/create.js | 43 - src/node_modules/lodash/curry.js | 57 - src/node_modules/lodash/curryRight.js | 54 - src/node_modules/lodash/date.js | 3 - src/node_modules/lodash/debounce.js | 188 - src/node_modules/lodash/deburr.js | 45 - src/node_modules/lodash/defaultTo.js | 25 - src/node_modules/lodash/defaults.js | 32 - src/node_modules/lodash/defaultsDeep.js | 30 - src/node_modules/lodash/defer.js | 26 - src/node_modules/lodash/delay.js | 28 - src/node_modules/lodash/difference.js | 33 - src/node_modules/lodash/differenceBy.js | 44 - src/node_modules/lodash/differenceWith.js | 40 - src/node_modules/lodash/divide.js | 22 - src/node_modules/lodash/drop.js | 38 - src/node_modules/lodash/dropRight.js | 39 - src/node_modules/lodash/dropRightWhile.js | 45 - src/node_modules/lodash/dropWhile.js | 45 - src/node_modules/lodash/each.js | 1 - src/node_modules/lodash/eachRight.js | 1 - src/node_modules/lodash/endsWith.js | 43 - src/node_modules/lodash/entries.js | 1 - src/node_modules/lodash/entriesIn.js | 1 - src/node_modules/lodash/eq.js | 37 - src/node_modules/lodash/escape.js | 43 - src/node_modules/lodash/escapeRegExp.js | 32 - src/node_modules/lodash/every.js | 56 - src/node_modules/lodash/extend.js | 1 - src/node_modules/lodash/extendWith.js | 1 - src/node_modules/lodash/fill.js | 45 - src/node_modules/lodash/filter.js | 48 - src/node_modules/lodash/find.js | 42 - src/node_modules/lodash/findIndex.js | 55 - src/node_modules/lodash/findKey.js | 44 - src/node_modules/lodash/findLast.js | 25 - src/node_modules/lodash/findLastIndex.js | 59 - src/node_modules/lodash/findLastKey.js | 44 - src/node_modules/lodash/first.js | 1 - src/node_modules/lodash/flatMap.js | 29 - src/node_modules/lodash/flatMapDeep.js | 31 - src/node_modules/lodash/flatMapDepth.js | 31 - src/node_modules/lodash/flatten.js | 22 - src/node_modules/lodash/flattenDeep.js | 25 - src/node_modules/lodash/flattenDepth.js | 33 - src/node_modules/lodash/flip.js | 28 - src/node_modules/lodash/floor.js | 26 - src/node_modules/lodash/flow.js | 27 - src/node_modules/lodash/flowRight.js | 26 - src/node_modules/lodash/forEach.js | 41 - src/node_modules/lodash/forEachRight.js | 31 - src/node_modules/lodash/forIn.js | 39 - src/node_modules/lodash/forInRight.js | 37 - src/node_modules/lodash/forOwn.js | 36 - src/node_modules/lodash/forOwnRight.js | 34 - src/node_modules/lodash/fp.js | 2 - src/node_modules/lodash/fp/F.js | 1 - src/node_modules/lodash/fp/T.js | 1 - src/node_modules/lodash/fp/__.js | 1 - src/node_modules/lodash/fp/_baseConvert.js | 568 - src/node_modules/lodash/fp/_convertBrowser.js | 18 - src/node_modules/lodash/fp/_falseOptions.js | 7 - src/node_modules/lodash/fp/_mapping.js | 368 - src/node_modules/lodash/fp/_util.js | 14 - src/node_modules/lodash/fp/add.js | 5 - src/node_modules/lodash/fp/after.js | 5 - src/node_modules/lodash/fp/all.js | 1 - src/node_modules/lodash/fp/allPass.js | 1 - src/node_modules/lodash/fp/always.js | 1 - src/node_modules/lodash/fp/any.js | 1 - src/node_modules/lodash/fp/anyPass.js | 1 - src/node_modules/lodash/fp/apply.js | 1 - src/node_modules/lodash/fp/array.js | 2 - src/node_modules/lodash/fp/ary.js | 5 - src/node_modules/lodash/fp/assign.js | 5 - src/node_modules/lodash/fp/assignAll.js | 5 - src/node_modules/lodash/fp/assignAllWith.js | 5 - src/node_modules/lodash/fp/assignIn.js | 5 - src/node_modules/lodash/fp/assignInAll.js | 5 - src/node_modules/lodash/fp/assignInAllWith.js | 5 - src/node_modules/lodash/fp/assignInWith.js | 5 - src/node_modules/lodash/fp/assignWith.js | 5 - src/node_modules/lodash/fp/assoc.js | 1 - src/node_modules/lodash/fp/assocPath.js | 1 - src/node_modules/lodash/fp/at.js | 5 - src/node_modules/lodash/fp/attempt.js | 5 - src/node_modules/lodash/fp/before.js | 5 - src/node_modules/lodash/fp/bind.js | 5 - src/node_modules/lodash/fp/bindAll.js | 5 - src/node_modules/lodash/fp/bindKey.js | 5 - src/node_modules/lodash/fp/camelCase.js | 5 - src/node_modules/lodash/fp/capitalize.js | 5 - src/node_modules/lodash/fp/castArray.js | 5 - src/node_modules/lodash/fp/ceil.js | 5 - src/node_modules/lodash/fp/chain.js | 5 - src/node_modules/lodash/fp/chunk.js | 5 - src/node_modules/lodash/fp/clamp.js | 5 - src/node_modules/lodash/fp/clone.js | 5 - src/node_modules/lodash/fp/cloneDeep.js | 5 - src/node_modules/lodash/fp/cloneDeepWith.js | 5 - src/node_modules/lodash/fp/cloneWith.js | 5 - src/node_modules/lodash/fp/collection.js | 2 - src/node_modules/lodash/fp/commit.js | 5 - src/node_modules/lodash/fp/compact.js | 5 - src/node_modules/lodash/fp/complement.js | 1 - src/node_modules/lodash/fp/compose.js | 1 - src/node_modules/lodash/fp/concat.js | 5 - src/node_modules/lodash/fp/cond.js | 5 - src/node_modules/lodash/fp/conforms.js | 1 - src/node_modules/lodash/fp/conformsTo.js | 5 - src/node_modules/lodash/fp/constant.js | 5 - src/node_modules/lodash/fp/contains.js | 1 - src/node_modules/lodash/fp/convert.js | 18 - src/node_modules/lodash/fp/countBy.js | 5 - src/node_modules/lodash/fp/create.js | 5 - src/node_modules/lodash/fp/curry.js | 5 - src/node_modules/lodash/fp/curryN.js | 5 - src/node_modules/lodash/fp/curryRight.js | 5 - src/node_modules/lodash/fp/curryRightN.js | 5 - src/node_modules/lodash/fp/date.js | 2 - src/node_modules/lodash/fp/debounce.js | 5 - src/node_modules/lodash/fp/deburr.js | 5 - src/node_modules/lodash/fp/defaultTo.js | 5 - src/node_modules/lodash/fp/defaults.js | 5 - src/node_modules/lodash/fp/defaultsAll.js | 5 - src/node_modules/lodash/fp/defaultsDeep.js | 5 - src/node_modules/lodash/fp/defaultsDeepAll.js | 5 - src/node_modules/lodash/fp/defer.js | 5 - src/node_modules/lodash/fp/delay.js | 5 - src/node_modules/lodash/fp/difference.js | 5 - src/node_modules/lodash/fp/differenceBy.js | 5 - src/node_modules/lodash/fp/differenceWith.js | 5 - src/node_modules/lodash/fp/dissoc.js | 1 - src/node_modules/lodash/fp/dissocPath.js | 1 - src/node_modules/lodash/fp/divide.js | 5 - src/node_modules/lodash/fp/drop.js | 5 - src/node_modules/lodash/fp/dropLast.js | 1 - src/node_modules/lodash/fp/dropLastWhile.js | 1 - src/node_modules/lodash/fp/dropRight.js | 5 - src/node_modules/lodash/fp/dropRightWhile.js | 5 - src/node_modules/lodash/fp/dropWhile.js | 5 - src/node_modules/lodash/fp/each.js | 1 - src/node_modules/lodash/fp/eachRight.js | 1 - src/node_modules/lodash/fp/endsWith.js | 5 - src/node_modules/lodash/fp/entries.js | 1 - src/node_modules/lodash/fp/entriesIn.js | 1 - src/node_modules/lodash/fp/eq.js | 5 - src/node_modules/lodash/fp/equals.js | 1 - src/node_modules/lodash/fp/escape.js | 5 - src/node_modules/lodash/fp/escapeRegExp.js | 5 - src/node_modules/lodash/fp/every.js | 5 - src/node_modules/lodash/fp/extend.js | 1 - src/node_modules/lodash/fp/extendAll.js | 1 - src/node_modules/lodash/fp/extendAllWith.js | 1 - src/node_modules/lodash/fp/extendWith.js | 1 - src/node_modules/lodash/fp/fill.js | 5 - src/node_modules/lodash/fp/filter.js | 5 - src/node_modules/lodash/fp/find.js | 5 - src/node_modules/lodash/fp/findFrom.js | 5 - src/node_modules/lodash/fp/findIndex.js | 5 - src/node_modules/lodash/fp/findIndexFrom.js | 5 - src/node_modules/lodash/fp/findKey.js | 5 - src/node_modules/lodash/fp/findLast.js | 5 - src/node_modules/lodash/fp/findLastFrom.js | 5 - src/node_modules/lodash/fp/findLastIndex.js | 5 - .../lodash/fp/findLastIndexFrom.js | 5 - src/node_modules/lodash/fp/findLastKey.js | 5 - src/node_modules/lodash/fp/first.js | 1 - src/node_modules/lodash/fp/flatMap.js | 5 - src/node_modules/lodash/fp/flatMapDeep.js | 5 - src/node_modules/lodash/fp/flatMapDepth.js | 5 - src/node_modules/lodash/fp/flatten.js | 5 - src/node_modules/lodash/fp/flattenDeep.js | 5 - src/node_modules/lodash/fp/flattenDepth.js | 5 - src/node_modules/lodash/fp/flip.js | 5 - src/node_modules/lodash/fp/floor.js | 5 - src/node_modules/lodash/fp/flow.js | 5 - src/node_modules/lodash/fp/flowRight.js | 5 - src/node_modules/lodash/fp/forEach.js | 5 - src/node_modules/lodash/fp/forEachRight.js | 5 - src/node_modules/lodash/fp/forIn.js | 5 - src/node_modules/lodash/fp/forInRight.js | 5 - src/node_modules/lodash/fp/forOwn.js | 5 - src/node_modules/lodash/fp/forOwnRight.js | 5 - src/node_modules/lodash/fp/fromPairs.js | 5 - src/node_modules/lodash/fp/function.js | 2 - src/node_modules/lodash/fp/functions.js | 5 - src/node_modules/lodash/fp/functionsIn.js | 5 - src/node_modules/lodash/fp/get.js | 5 - src/node_modules/lodash/fp/getOr.js | 5 - src/node_modules/lodash/fp/groupBy.js | 5 - src/node_modules/lodash/fp/gt.js | 5 - src/node_modules/lodash/fp/gte.js | 5 - src/node_modules/lodash/fp/has.js | 5 - src/node_modules/lodash/fp/hasIn.js | 5 - src/node_modules/lodash/fp/head.js | 5 - src/node_modules/lodash/fp/identical.js | 1 - src/node_modules/lodash/fp/identity.js | 5 - src/node_modules/lodash/fp/inRange.js | 5 - src/node_modules/lodash/fp/includes.js | 5 - src/node_modules/lodash/fp/includesFrom.js | 5 - src/node_modules/lodash/fp/indexBy.js | 1 - src/node_modules/lodash/fp/indexOf.js | 5 - src/node_modules/lodash/fp/indexOfFrom.js | 5 - src/node_modules/lodash/fp/init.js | 1 - src/node_modules/lodash/fp/initial.js | 5 - src/node_modules/lodash/fp/intersection.js | 5 - src/node_modules/lodash/fp/intersectionBy.js | 5 - .../lodash/fp/intersectionWith.js | 5 - src/node_modules/lodash/fp/invert.js | 5 - src/node_modules/lodash/fp/invertBy.js | 5 - src/node_modules/lodash/fp/invertObj.js | 1 - src/node_modules/lodash/fp/invoke.js | 5 - src/node_modules/lodash/fp/invokeArgs.js | 5 - src/node_modules/lodash/fp/invokeArgsMap.js | 5 - src/node_modules/lodash/fp/invokeMap.js | 5 - src/node_modules/lodash/fp/isArguments.js | 5 - src/node_modules/lodash/fp/isArray.js | 5 - src/node_modules/lodash/fp/isArrayBuffer.js | 5 - src/node_modules/lodash/fp/isArrayLike.js | 5 - .../lodash/fp/isArrayLikeObject.js | 5 - src/node_modules/lodash/fp/isBoolean.js | 5 - src/node_modules/lodash/fp/isBuffer.js | 5 - src/node_modules/lodash/fp/isDate.js | 5 - src/node_modules/lodash/fp/isElement.js | 5 - src/node_modules/lodash/fp/isEmpty.js | 5 - src/node_modules/lodash/fp/isEqual.js | 5 - src/node_modules/lodash/fp/isEqualWith.js | 5 - src/node_modules/lodash/fp/isError.js | 5 - src/node_modules/lodash/fp/isFinite.js | 5 - src/node_modules/lodash/fp/isFunction.js | 5 - src/node_modules/lodash/fp/isInteger.js | 5 - src/node_modules/lodash/fp/isLength.js | 5 - src/node_modules/lodash/fp/isMap.js | 5 - src/node_modules/lodash/fp/isMatch.js | 5 - src/node_modules/lodash/fp/isMatchWith.js | 5 - src/node_modules/lodash/fp/isNaN.js | 5 - src/node_modules/lodash/fp/isNative.js | 5 - src/node_modules/lodash/fp/isNil.js | 5 - src/node_modules/lodash/fp/isNull.js | 5 - src/node_modules/lodash/fp/isNumber.js | 5 - src/node_modules/lodash/fp/isObject.js | 5 - src/node_modules/lodash/fp/isObjectLike.js | 5 - src/node_modules/lodash/fp/isPlainObject.js | 5 - src/node_modules/lodash/fp/isRegExp.js | 5 - src/node_modules/lodash/fp/isSafeInteger.js | 5 - src/node_modules/lodash/fp/isSet.js | 5 - src/node_modules/lodash/fp/isString.js | 5 - src/node_modules/lodash/fp/isSymbol.js | 5 - src/node_modules/lodash/fp/isTypedArray.js | 5 - src/node_modules/lodash/fp/isUndefined.js | 5 - src/node_modules/lodash/fp/isWeakMap.js | 5 - src/node_modules/lodash/fp/isWeakSet.js | 5 - src/node_modules/lodash/fp/iteratee.js | 5 - src/node_modules/lodash/fp/join.js | 5 - src/node_modules/lodash/fp/juxt.js | 1 - src/node_modules/lodash/fp/kebabCase.js | 5 - src/node_modules/lodash/fp/keyBy.js | 5 - src/node_modules/lodash/fp/keys.js | 5 - src/node_modules/lodash/fp/keysIn.js | 5 - src/node_modules/lodash/fp/lang.js | 2 - src/node_modules/lodash/fp/last.js | 5 - src/node_modules/lodash/fp/lastIndexOf.js | 5 - src/node_modules/lodash/fp/lastIndexOfFrom.js | 5 - src/node_modules/lodash/fp/lowerCase.js | 5 - src/node_modules/lodash/fp/lowerFirst.js | 5 - src/node_modules/lodash/fp/lt.js | 5 - src/node_modules/lodash/fp/lte.js | 5 - src/node_modules/lodash/fp/map.js | 5 - src/node_modules/lodash/fp/mapKeys.js | 5 - src/node_modules/lodash/fp/mapValues.js | 5 - src/node_modules/lodash/fp/matches.js | 1 - src/node_modules/lodash/fp/matchesProperty.js | 5 - src/node_modules/lodash/fp/math.js | 2 - src/node_modules/lodash/fp/max.js | 5 - src/node_modules/lodash/fp/maxBy.js | 5 - src/node_modules/lodash/fp/mean.js | 5 - src/node_modules/lodash/fp/meanBy.js | 5 - src/node_modules/lodash/fp/memoize.js | 5 - src/node_modules/lodash/fp/merge.js | 5 - src/node_modules/lodash/fp/mergeAll.js | 5 - src/node_modules/lodash/fp/mergeAllWith.js | 5 - src/node_modules/lodash/fp/mergeWith.js | 5 - src/node_modules/lodash/fp/method.js | 5 - src/node_modules/lodash/fp/methodOf.js | 5 - src/node_modules/lodash/fp/min.js | 5 - src/node_modules/lodash/fp/minBy.js | 5 - src/node_modules/lodash/fp/mixin.js | 5 - src/node_modules/lodash/fp/multiply.js | 5 - src/node_modules/lodash/fp/nAry.js | 1 - src/node_modules/lodash/fp/negate.js | 5 - src/node_modules/lodash/fp/next.js | 5 - src/node_modules/lodash/fp/noop.js | 5 - src/node_modules/lodash/fp/now.js | 5 - src/node_modules/lodash/fp/nth.js | 5 - src/node_modules/lodash/fp/nthArg.js | 5 - src/node_modules/lodash/fp/number.js | 2 - src/node_modules/lodash/fp/object.js | 2 - src/node_modules/lodash/fp/omit.js | 5 - src/node_modules/lodash/fp/omitAll.js | 1 - src/node_modules/lodash/fp/omitBy.js | 5 - src/node_modules/lodash/fp/once.js | 5 - src/node_modules/lodash/fp/orderBy.js | 5 - src/node_modules/lodash/fp/over.js | 5 - src/node_modules/lodash/fp/overArgs.js | 5 - src/node_modules/lodash/fp/overEvery.js | 5 - src/node_modules/lodash/fp/overSome.js | 5 - src/node_modules/lodash/fp/pad.js | 5 - src/node_modules/lodash/fp/padChars.js | 5 - src/node_modules/lodash/fp/padCharsEnd.js | 5 - src/node_modules/lodash/fp/padCharsStart.js | 5 - src/node_modules/lodash/fp/padEnd.js | 5 - src/node_modules/lodash/fp/padStart.js | 5 - src/node_modules/lodash/fp/parseInt.js | 5 - src/node_modules/lodash/fp/partial.js | 5 - src/node_modules/lodash/fp/partialRight.js | 5 - src/node_modules/lodash/fp/partition.js | 5 - src/node_modules/lodash/fp/path.js | 1 - src/node_modules/lodash/fp/pathEq.js | 1 - src/node_modules/lodash/fp/pathOr.js | 1 - src/node_modules/lodash/fp/paths.js | 1 - src/node_modules/lodash/fp/pick.js | 5 - src/node_modules/lodash/fp/pickAll.js | 1 - src/node_modules/lodash/fp/pickBy.js | 5 - src/node_modules/lodash/fp/pipe.js | 1 - src/node_modules/lodash/fp/placeholder.js | 6 - src/node_modules/lodash/fp/plant.js | 5 - src/node_modules/lodash/fp/pluck.js | 1 - src/node_modules/lodash/fp/prop.js | 1 - src/node_modules/lodash/fp/propEq.js | 1 - src/node_modules/lodash/fp/propOr.js | 1 - src/node_modules/lodash/fp/property.js | 1 - src/node_modules/lodash/fp/propertyOf.js | 5 - src/node_modules/lodash/fp/props.js | 1 - src/node_modules/lodash/fp/pull.js | 5 - src/node_modules/lodash/fp/pullAll.js | 5 - src/node_modules/lodash/fp/pullAllBy.js | 5 - src/node_modules/lodash/fp/pullAllWith.js | 5 - src/node_modules/lodash/fp/pullAt.js | 5 - src/node_modules/lodash/fp/random.js | 5 - src/node_modules/lodash/fp/range.js | 5 - src/node_modules/lodash/fp/rangeRight.js | 5 - src/node_modules/lodash/fp/rangeStep.js | 5 - src/node_modules/lodash/fp/rangeStepRight.js | 5 - src/node_modules/lodash/fp/rearg.js | 5 - src/node_modules/lodash/fp/reduce.js | 5 - src/node_modules/lodash/fp/reduceRight.js | 5 - src/node_modules/lodash/fp/reject.js | 5 - src/node_modules/lodash/fp/remove.js | 5 - src/node_modules/lodash/fp/repeat.js | 5 - src/node_modules/lodash/fp/replace.js | 5 - src/node_modules/lodash/fp/rest.js | 5 - src/node_modules/lodash/fp/restFrom.js | 5 - src/node_modules/lodash/fp/result.js | 5 - src/node_modules/lodash/fp/reverse.js | 5 - src/node_modules/lodash/fp/round.js | 5 - src/node_modules/lodash/fp/sample.js | 5 - src/node_modules/lodash/fp/sampleSize.js | 5 - src/node_modules/lodash/fp/seq.js | 2 - src/node_modules/lodash/fp/set.js | 5 - src/node_modules/lodash/fp/setWith.js | 5 - src/node_modules/lodash/fp/shuffle.js | 5 - src/node_modules/lodash/fp/size.js | 5 - src/node_modules/lodash/fp/slice.js | 5 - src/node_modules/lodash/fp/snakeCase.js | 5 - src/node_modules/lodash/fp/some.js | 5 - src/node_modules/lodash/fp/sortBy.js | 5 - src/node_modules/lodash/fp/sortedIndex.js | 5 - src/node_modules/lodash/fp/sortedIndexBy.js | 5 - src/node_modules/lodash/fp/sortedIndexOf.js | 5 - src/node_modules/lodash/fp/sortedLastIndex.js | 5 - .../lodash/fp/sortedLastIndexBy.js | 5 - .../lodash/fp/sortedLastIndexOf.js | 5 - src/node_modules/lodash/fp/sortedUniq.js | 5 - src/node_modules/lodash/fp/sortedUniqBy.js | 5 - src/node_modules/lodash/fp/split.js | 5 - src/node_modules/lodash/fp/spread.js | 5 - src/node_modules/lodash/fp/spreadFrom.js | 5 - src/node_modules/lodash/fp/startCase.js | 5 - src/node_modules/lodash/fp/startsWith.js | 5 - src/node_modules/lodash/fp/string.js | 2 - src/node_modules/lodash/fp/stubArray.js | 5 - src/node_modules/lodash/fp/stubFalse.js | 5 - src/node_modules/lodash/fp/stubObject.js | 5 - src/node_modules/lodash/fp/stubString.js | 5 - src/node_modules/lodash/fp/stubTrue.js | 5 - src/node_modules/lodash/fp/subtract.js | 5 - src/node_modules/lodash/fp/sum.js | 5 - src/node_modules/lodash/fp/sumBy.js | 5 - .../lodash/fp/symmetricDifference.js | 1 - .../lodash/fp/symmetricDifferenceBy.js | 1 - .../lodash/fp/symmetricDifferenceWith.js | 1 - src/node_modules/lodash/fp/tail.js | 5 - src/node_modules/lodash/fp/take.js | 5 - src/node_modules/lodash/fp/takeLast.js | 1 - src/node_modules/lodash/fp/takeLastWhile.js | 1 - src/node_modules/lodash/fp/takeRight.js | 5 - src/node_modules/lodash/fp/takeRightWhile.js | 5 - src/node_modules/lodash/fp/takeWhile.js | 5 - src/node_modules/lodash/fp/tap.js | 5 - src/node_modules/lodash/fp/template.js | 5 - .../lodash/fp/templateSettings.js | 5 - src/node_modules/lodash/fp/throttle.js | 5 - src/node_modules/lodash/fp/thru.js | 5 - src/node_modules/lodash/fp/times.js | 5 - src/node_modules/lodash/fp/toArray.js | 5 - src/node_modules/lodash/fp/toFinite.js | 5 - src/node_modules/lodash/fp/toInteger.js | 5 - src/node_modules/lodash/fp/toIterator.js | 5 - src/node_modules/lodash/fp/toJSON.js | 5 - src/node_modules/lodash/fp/toLength.js | 5 - src/node_modules/lodash/fp/toLower.js | 5 - src/node_modules/lodash/fp/toNumber.js | 5 - src/node_modules/lodash/fp/toPairs.js | 5 - src/node_modules/lodash/fp/toPairsIn.js | 5 - src/node_modules/lodash/fp/toPath.js | 5 - src/node_modules/lodash/fp/toPlainObject.js | 5 - src/node_modules/lodash/fp/toSafeInteger.js | 5 - src/node_modules/lodash/fp/toString.js | 5 - src/node_modules/lodash/fp/toUpper.js | 5 - src/node_modules/lodash/fp/transform.js | 5 - src/node_modules/lodash/fp/trim.js | 5 - src/node_modules/lodash/fp/trimChars.js | 5 - src/node_modules/lodash/fp/trimCharsEnd.js | 5 - src/node_modules/lodash/fp/trimCharsStart.js | 5 - src/node_modules/lodash/fp/trimEnd.js | 5 - src/node_modules/lodash/fp/trimStart.js | 5 - src/node_modules/lodash/fp/truncate.js | 5 - src/node_modules/lodash/fp/unapply.js | 1 - src/node_modules/lodash/fp/unary.js | 5 - src/node_modules/lodash/fp/unescape.js | 5 - src/node_modules/lodash/fp/union.js | 5 - src/node_modules/lodash/fp/unionBy.js | 5 - src/node_modules/lodash/fp/unionWith.js | 5 - src/node_modules/lodash/fp/uniq.js | 5 - src/node_modules/lodash/fp/uniqBy.js | 5 - src/node_modules/lodash/fp/uniqWith.js | 5 - src/node_modules/lodash/fp/uniqueId.js | 5 - src/node_modules/lodash/fp/unnest.js | 1 - src/node_modules/lodash/fp/unset.js | 5 - src/node_modules/lodash/fp/unzip.js | 5 - src/node_modules/lodash/fp/unzipWith.js | 5 - src/node_modules/lodash/fp/update.js | 5 - src/node_modules/lodash/fp/updateWith.js | 5 - src/node_modules/lodash/fp/upperCase.js | 5 - src/node_modules/lodash/fp/upperFirst.js | 5 - src/node_modules/lodash/fp/useWith.js | 1 - src/node_modules/lodash/fp/util.js | 2 - src/node_modules/lodash/fp/value.js | 5 - src/node_modules/lodash/fp/valueOf.js | 5 - src/node_modules/lodash/fp/values.js | 5 - src/node_modules/lodash/fp/valuesIn.js | 5 - src/node_modules/lodash/fp/where.js | 1 - src/node_modules/lodash/fp/whereEq.js | 1 - src/node_modules/lodash/fp/without.js | 5 - src/node_modules/lodash/fp/words.js | 5 - src/node_modules/lodash/fp/wrap.js | 5 - src/node_modules/lodash/fp/wrapperAt.js | 5 - src/node_modules/lodash/fp/wrapperChain.js | 5 - src/node_modules/lodash/fp/wrapperLodash.js | 5 - src/node_modules/lodash/fp/wrapperReverse.js | 5 - src/node_modules/lodash/fp/wrapperValue.js | 5 - src/node_modules/lodash/fp/xor.js | 5 - src/node_modules/lodash/fp/xorBy.js | 5 - src/node_modules/lodash/fp/xorWith.js | 5 - src/node_modules/lodash/fp/zip.js | 5 - src/node_modules/lodash/fp/zipAll.js | 5 - src/node_modules/lodash/fp/zipObj.js | 1 - src/node_modules/lodash/fp/zipObject.js | 5 - src/node_modules/lodash/fp/zipObjectDeep.js | 5 - src/node_modules/lodash/fp/zipWith.js | 5 - src/node_modules/lodash/fromPairs.js | 28 - src/node_modules/lodash/function.js | 25 - src/node_modules/lodash/functions.js | 31 - src/node_modules/lodash/functionsIn.js | 31 - src/node_modules/lodash/get.js | 33 - src/node_modules/lodash/groupBy.js | 41 - src/node_modules/lodash/gt.js | 29 - src/node_modules/lodash/gte.js | 30 - src/node_modules/lodash/has.js | 35 - src/node_modules/lodash/hasIn.js | 34 - src/node_modules/lodash/head.js | 23 - src/node_modules/lodash/identity.js | 21 - src/node_modules/lodash/inRange.js | 55 - src/node_modules/lodash/includes.js | 53 - src/node_modules/lodash/index.js | 1 - src/node_modules/lodash/indexOf.js | 42 - src/node_modules/lodash/initial.js | 22 - src/node_modules/lodash/intersection.js | 30 - src/node_modules/lodash/intersectionBy.js | 45 - src/node_modules/lodash/intersectionWith.js | 41 - src/node_modules/lodash/invert.js | 27 - src/node_modules/lodash/invertBy.js | 44 - src/node_modules/lodash/invoke.js | 24 - src/node_modules/lodash/invokeMap.js | 41 - src/node_modules/lodash/isArguments.js | 36 - src/node_modules/lodash/isArray.js | 26 - src/node_modules/lodash/isArrayBuffer.js | 27 - src/node_modules/lodash/isArrayLike.js | 33 - src/node_modules/lodash/isArrayLikeObject.js | 33 - src/node_modules/lodash/isBoolean.js | 29 - src/node_modules/lodash/isBuffer.js | 38 - src/node_modules/lodash/isDate.js | 27 - src/node_modules/lodash/isElement.js | 25 - src/node_modules/lodash/isEmpty.js | 77 - src/node_modules/lodash/isEqual.js | 35 - src/node_modules/lodash/isEqualWith.js | 41 - src/node_modules/lodash/isError.js | 36 - src/node_modules/lodash/isFinite.js | 36 - src/node_modules/lodash/isFunction.js | 37 - src/node_modules/lodash/isInteger.js | 33 - src/node_modules/lodash/isLength.js | 35 - src/node_modules/lodash/isMap.js | 27 - src/node_modules/lodash/isMatch.js | 36 - src/node_modules/lodash/isMatchWith.js | 41 - src/node_modules/lodash/isNaN.js | 38 - src/node_modules/lodash/isNative.js | 40 - src/node_modules/lodash/isNil.js | 25 - src/node_modules/lodash/isNull.js | 22 - src/node_modules/lodash/isNumber.js | 38 - src/node_modules/lodash/isObject.js | 31 - src/node_modules/lodash/isObjectLike.js | 29 - src/node_modules/lodash/isPlainObject.js | 62 - src/node_modules/lodash/isRegExp.js | 27 - src/node_modules/lodash/isSafeInteger.js | 37 - src/node_modules/lodash/isSet.js | 27 - src/node_modules/lodash/isString.js | 30 - src/node_modules/lodash/isSymbol.js | 29 - src/node_modules/lodash/isTypedArray.js | 27 - src/node_modules/lodash/isUndefined.js | 22 - src/node_modules/lodash/isWeakMap.js | 28 - src/node_modules/lodash/isWeakSet.js | 28 - src/node_modules/lodash/iteratee.js | 53 - src/node_modules/lodash/join.js | 26 - src/node_modules/lodash/kebabCase.js | 28 - src/node_modules/lodash/keyBy.js | 36 - src/node_modules/lodash/keys.js | 37 - src/node_modules/lodash/keysIn.js | 32 - src/node_modules/lodash/lang.js | 58 - src/node_modules/lodash/last.js | 20 - src/node_modules/lodash/lastIndexOf.js | 46 - src/node_modules/lodash/lodash.js | 17084 -- src/node_modules/lodash/lodash.min.js | 136 - src/node_modules/lodash/lowerCase.js | 27 - src/node_modules/lodash/lowerFirst.js | 22 - src/node_modules/lodash/lt.js | 29 - src/node_modules/lodash/lte.js | 30 - src/node_modules/lodash/map.js | 53 - src/node_modules/lodash/mapKeys.js | 36 - src/node_modules/lodash/mapValues.js | 43 - src/node_modules/lodash/matches.js | 39 - src/node_modules/lodash/matchesProperty.js | 37 - src/node_modules/lodash/math.js | 17 - src/node_modules/lodash/max.js | 29 - src/node_modules/lodash/maxBy.js | 34 - src/node_modules/lodash/mean.js | 22 - src/node_modules/lodash/meanBy.js | 31 - src/node_modules/lodash/memoize.js | 73 - src/node_modules/lodash/merge.js | 39 - src/node_modules/lodash/mergeWith.js | 39 - src/node_modules/lodash/method.js | 34 - src/node_modules/lodash/methodOf.js | 33 - src/node_modules/lodash/min.js | 29 - src/node_modules/lodash/minBy.js | 34 - src/node_modules/lodash/mixin.js | 74 - src/node_modules/lodash/multiply.js | 22 - src/node_modules/lodash/negate.js | 40 - src/node_modules/lodash/next.js | 35 - src/node_modules/lodash/noop.js | 17 - src/node_modules/lodash/now.js | 23 - src/node_modules/lodash/nth.js | 29 - src/node_modules/lodash/nthArg.js | 32 - src/node_modules/lodash/number.js | 5 - src/node_modules/lodash/object.js | 49 - src/node_modules/lodash/omit.js | 57 - src/node_modules/lodash/omitBy.js | 29 - src/node_modules/lodash/once.js | 25 - src/node_modules/lodash/orderBy.js | 47 - src/node_modules/lodash/over.js | 24 - src/node_modules/lodash/overArgs.js | 61 - src/node_modules/lodash/overEvery.js | 30 - src/node_modules/lodash/overSome.js | 30 - src/node_modules/lodash/package.json | 98 - src/node_modules/lodash/pad.js | 49 - src/node_modules/lodash/padEnd.js | 39 - src/node_modules/lodash/padStart.js | 39 - src/node_modules/lodash/parseInt.js | 43 - src/node_modules/lodash/partial.js | 50 - src/node_modules/lodash/partialRight.js | 49 - src/node_modules/lodash/partition.js | 43 - src/node_modules/lodash/pick.js | 25 - src/node_modules/lodash/pickBy.js | 37 - src/node_modules/lodash/plant.js | 48 - src/node_modules/lodash/property.js | 32 - src/node_modules/lodash/propertyOf.js | 30 - src/node_modules/lodash/pull.js | 29 - src/node_modules/lodash/pullAll.js | 29 - src/node_modules/lodash/pullAllBy.js | 33 - src/node_modules/lodash/pullAllWith.js | 32 - src/node_modules/lodash/pullAt.js | 43 - src/node_modules/lodash/random.js | 82 - src/node_modules/lodash/range.js | 46 - src/node_modules/lodash/rangeRight.js | 41 - src/node_modules/lodash/rearg.js | 33 - src/node_modules/lodash/reduce.js | 51 - src/node_modules/lodash/reduceRight.js | 36 - src/node_modules/lodash/reject.js | 46 - src/node_modules/lodash/remove.js | 53 - src/node_modules/lodash/repeat.js | 37 - src/node_modules/lodash/replace.js | 29 - src/node_modules/lodash/rest.js | 40 - src/node_modules/lodash/result.js | 56 - src/node_modules/lodash/reverse.js | 34 - src/node_modules/lodash/round.js | 26 - src/node_modules/lodash/sample.js | 24 - src/node_modules/lodash/sampleSize.js | 37 - src/node_modules/lodash/seq.js | 16 - src/node_modules/lodash/set.js | 35 - src/node_modules/lodash/setWith.js | 32 - src/node_modules/lodash/shuffle.js | 25 - src/node_modules/lodash/size.js | 46 - src/node_modules/lodash/slice.js | 37 - src/node_modules/lodash/snakeCase.js | 28 - src/node_modules/lodash/some.js | 51 - src/node_modules/lodash/sortBy.js | 48 - src/node_modules/lodash/sortedIndex.js | 24 - src/node_modules/lodash/sortedIndexBy.js | 33 - src/node_modules/lodash/sortedIndexOf.js | 31 - src/node_modules/lodash/sortedLastIndex.js | 25 - src/node_modules/lodash/sortedLastIndexBy.js | 33 - src/node_modules/lodash/sortedLastIndexOf.js | 31 - src/node_modules/lodash/sortedUniq.js | 24 - src/node_modules/lodash/sortedUniqBy.js | 26 - src/node_modules/lodash/split.js | 52 - src/node_modules/lodash/spread.js | 63 - src/node_modules/lodash/startCase.js | 29 - src/node_modules/lodash/startsWith.js | 39 - src/node_modules/lodash/string.js | 33 - src/node_modules/lodash/stubArray.js | 23 - src/node_modules/lodash/stubFalse.js | 18 - src/node_modules/lodash/stubObject.js | 23 - src/node_modules/lodash/stubString.js | 18 - src/node_modules/lodash/stubTrue.js | 18 - src/node_modules/lodash/subtract.js | 22 - src/node_modules/lodash/sum.js | 24 - src/node_modules/lodash/sumBy.js | 33 - src/node_modules/lodash/tail.js | 22 - src/node_modules/lodash/take.js | 37 - src/node_modules/lodash/takeRight.js | 39 - src/node_modules/lodash/takeRightWhile.js | 45 - src/node_modules/lodash/takeWhile.js | 45 - src/node_modules/lodash/tap.js | 29 - src/node_modules/lodash/template.js | 238 - src/node_modules/lodash/templateSettings.js | 67 - src/node_modules/lodash/throttle.js | 69 - src/node_modules/lodash/thru.js | 28 - src/node_modules/lodash/times.js | 51 - src/node_modules/lodash/toArray.js | 58 - src/node_modules/lodash/toFinite.js | 42 - src/node_modules/lodash/toInteger.js | 36 - src/node_modules/lodash/toIterator.js | 23 - src/node_modules/lodash/toJSON.js | 1 - src/node_modules/lodash/toLength.js | 38 - src/node_modules/lodash/toLower.js | 28 - src/node_modules/lodash/toNumber.js | 66 - src/node_modules/lodash/toPairs.js | 30 - src/node_modules/lodash/toPairsIn.js | 30 - src/node_modules/lodash/toPath.js | 33 - src/node_modules/lodash/toPlainObject.js | 32 - src/node_modules/lodash/toSafeInteger.js | 37 - src/node_modules/lodash/toString.js | 28 - src/node_modules/lodash/toUpper.js | 28 - src/node_modules/lodash/transform.js | 65 - src/node_modules/lodash/trim.js | 49 - src/node_modules/lodash/trimEnd.js | 43 - src/node_modules/lodash/trimStart.js | 43 - src/node_modules/lodash/truncate.js | 111 - src/node_modules/lodash/unary.js | 22 - src/node_modules/lodash/unescape.js | 34 - src/node_modules/lodash/union.js | 26 - src/node_modules/lodash/unionBy.js | 39 - src/node_modules/lodash/unionWith.js | 34 - src/node_modules/lodash/uniq.js | 25 - src/node_modules/lodash/uniqBy.js | 31 - src/node_modules/lodash/uniqWith.js | 28 - src/node_modules/lodash/uniqueId.js | 28 - src/node_modules/lodash/unset.js | 34 - src/node_modules/lodash/unzip.js | 45 - src/node_modules/lodash/unzipWith.js | 39 - src/node_modules/lodash/update.js | 35 - src/node_modules/lodash/updateWith.js | 33 - src/node_modules/lodash/upperCase.js | 27 - src/node_modules/lodash/upperFirst.js | 22 - src/node_modules/lodash/util.js | 34 - src/node_modules/lodash/value.js | 1 - src/node_modules/lodash/valueOf.js | 1 - src/node_modules/lodash/values.js | 34 - src/node_modules/lodash/valuesIn.js | 32 - src/node_modules/lodash/without.js | 31 - src/node_modules/lodash/words.js | 35 - src/node_modules/lodash/wrap.js | 30 - src/node_modules/lodash/wrapperAt.js | 48 - src/node_modules/lodash/wrapperChain.js | 34 - src/node_modules/lodash/wrapperLodash.js | 147 - src/node_modules/lodash/wrapperReverse.js | 44 - src/node_modules/lodash/wrapperValue.js | 21 - src/node_modules/lodash/xor.js | 28 - src/node_modules/lodash/xorBy.js | 39 - src/node_modules/lodash/xorWith.js | 34 - src/node_modules/lodash/zip.js | 22 - src/node_modules/lodash/zipObject.js | 24 - src/node_modules/lodash/zipObjectDeep.js | 23 - src/node_modules/lodash/zipWith.js | 32 - src/node_modules/punycode/LICENSE-MIT.txt | 20 - src/node_modules/punycode/README.md | 176 - src/node_modules/punycode/package.json | 107 - src/node_modules/punycode/punycode.js | 530 - src/node_modules/querystring/.History.md.un~ | Bin 7960 -> 0 bytes src/node_modules/querystring/.Readme.md.un~ | Bin 3225 -> 0 bytes .../querystring/.package.json.un~ | Bin 5710 -> 0 bytes src/node_modules/querystring/.travis.yml | 4 - src/node_modules/querystring/History.md | 20 - src/node_modules/querystring/License.md | 19 - src/node_modules/querystring/Readme.md | 15 - src/node_modules/querystring/decode.js | 80 - src/node_modules/querystring/encode.js | 64 - src/node_modules/querystring/index.js | 4 - src/node_modules/querystring/package.json | 123 - .../querystring/test/.index.js.un~ | Bin 975 -> 0 bytes .../querystring/test/common-index.js | 3 - src/node_modules/querystring/test/index.js | 210 - .../querystring/test/tap-index.js | 3 - src/node_modules/sax/LICENSE | 41 - src/node_modules/sax/LICENSE-W3C.html | 188 - src/node_modules/sax/README.md | 225 - src/node_modules/sax/lib/sax.js | 1576 - src/node_modules/sax/package.json | 126 - src/node_modules/url/.npmignore | 1 - src/node_modules/url/.travis.yml | 7 - src/node_modules/url/.zuul.yml | 16 - src/node_modules/url/LICENSE | 21 - src/node_modules/url/README.md | 108 - src/node_modules/url/package.json | 80 - src/node_modules/url/test.js | 1461 - src/node_modules/url/url.js | 707 - src/node_modules/uuid/.npmignore | 8 - src/node_modules/uuid/.travis.yml | 5 - src/node_modules/uuid/AUTHORS | 5 - src/node_modules/uuid/HISTORY.md | 28 - src/node_modules/uuid/LICENSE.md | 21 - src/node_modules/uuid/README.md | 132 - src/node_modules/uuid/bin/uuid | 26 - src/node_modules/uuid/index.js | 8 - src/node_modules/uuid/lib/bytesToUuid.js | 23 - src/node_modules/uuid/lib/rng-browser.js | 33 - src/node_modules/uuid/lib/rng.js | 10 - src/node_modules/uuid/package.json | 114 - src/node_modules/uuid/test/mocha.opts | 3 - src/node_modules/uuid/test/test.js | 96 - src/node_modules/uuid/v1.js | 103 - src/node_modules/uuid/v4.js | 29 - src/node_modules/xml2js/LICENSE | 19 - src/node_modules/xml2js/README.md | 395 - src/node_modules/xml2js/lib/bom.js | 12 - src/node_modules/xml2js/lib/processors.js | 34 - src/node_modules/xml2js/lib/xml2js.js | 543 - src/node_modules/xml2js/package.json | 297 - src/node_modules/xmlbuilder/.npmignore | 5 - src/node_modules/xmlbuilder/LICENSE | 21 - src/node_modules/xmlbuilder/README.md | 86 - .../xmlbuilder/lib/XMLAttribute.js | 32 - src/node_modules/xmlbuilder/lib/XMLBuilder.js | 69 - src/node_modules/xmlbuilder/lib/XMLCData.js | 49 - src/node_modules/xmlbuilder/lib/XMLComment.js | 49 - .../xmlbuilder/lib/XMLDTDAttList.js | 68 - .../xmlbuilder/lib/XMLDTDElement.js | 46 - .../xmlbuilder/lib/XMLDTDEntity.js | 84 - .../xmlbuilder/lib/XMLDTDNotation.js | 56 - .../xmlbuilder/lib/XMLDeclaration.js | 65 - src/node_modules/xmlbuilder/lib/XMLDocType.js | 188 - src/node_modules/xmlbuilder/lib/XMLElement.js | 212 - src/node_modules/xmlbuilder/lib/XMLNode.js | 331 - .../lib/XMLProcessingInstruction.js | 51 - src/node_modules/xmlbuilder/lib/XMLRaw.js | 49 - .../xmlbuilder/lib/XMLStringifier.js | 170 - src/node_modules/xmlbuilder/lib/XMLText.js | 49 - src/node_modules/xmlbuilder/lib/index.js | 14 - src/node_modules/xmlbuilder/package.json | 90 - submission.sh | 2 +- 2336 files changed, 164 insertions(+), 728884 deletions(-) rename src/package.json => package.json (90%) delete mode 120000 src/node_modules/.bin/uuid delete mode 100644 src/node_modules/alexa-sdk/.npmignore delete mode 100644 src/node_modules/alexa-sdk/LICENSE.txt delete mode 100644 src/node_modules/alexa-sdk/NOTICE.txt delete mode 100644 src/node_modules/alexa-sdk/Readme.md delete mode 100644 src/node_modules/alexa-sdk/dist/BUNDLE_LICENSE.txt delete mode 100644 src/node_modules/alexa-sdk/index.js delete mode 100644 src/node_modules/alexa-sdk/lib/DynamoAttributesHelper.js delete mode 100644 src/node_modules/alexa-sdk/lib/alexa.js delete mode 100644 src/node_modules/alexa-sdk/lib/response.js delete mode 100644 src/node_modules/alexa-sdk/package.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.10.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.11.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.12.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.13.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.14.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.15.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.16.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.17.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.18.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.19.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.20.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.21.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.22.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.23.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.24.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.25.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.26.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.27.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.28.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.29.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.30.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.31.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.32.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.33.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.34.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.35.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.36.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.37.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.38.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.39.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.4.10.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.4.11.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.4.12.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.4.13.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.4.14.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.4.8.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.4.9.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.40.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.41.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.42.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.43.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.44.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.45.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.46.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.47.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.48.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.49.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.5.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.5.1.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.5.2.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.5.3.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.5.4.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.5.5.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.5.6.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.50.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.51.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.52.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.53.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.54.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.55.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.56.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.57.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.58.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.59.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.1.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.10.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.11.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.12.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.13.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.14.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.15.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.2.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.3.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.4.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.5.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.6.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.7.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.8.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.6.9.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.60.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.61.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.62.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.63.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.64.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.65.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.66.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.67.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.68.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.69.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.1.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.10.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.11.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.12.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.13.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.14.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.15.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.16.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.17.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.18.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.19.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.2.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.20.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.21.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.22.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.23.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.24.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.25.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.26.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.27.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.28.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.3.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.4.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.5.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.6.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.7.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.8.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.7.9.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.70.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.71.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.72.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.73.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.74.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.75.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.76.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.77.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.78.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.79.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.8.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.80.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.81.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.82.0.json delete mode 100644 src/node_modules/aws-sdk/.changes/2.9.0.json delete mode 100644 src/node_modules/aws-sdk/CHANGELOG.md delete mode 100644 src/node_modules/aws-sdk/CONTRIBUTING.md delete mode 100644 src/node_modules/aws-sdk/LICENSE.txt delete mode 100644 src/node_modules/aws-sdk/NOTICE.txt delete mode 100644 src/node_modules/aws-sdk/README.md delete mode 100644 src/node_modules/aws-sdk/SERVICES.md delete mode 100644 src/node_modules/aws-sdk/UPGRADING.md delete mode 100644 src/node_modules/aws-sdk/apis/acm-2015-12-08.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/acm-2015-12-08.min.json delete mode 100644 src/node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/apigateway-2015-07-09.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json delete mode 100644 src/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json delete mode 100644 src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/appstream-2016-12-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/appstream-2016-12-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/appstream-2016-12-01.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/athena-2017-05-18.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/athena-2017-05-18.min.json delete mode 100644 src/node_modules/aws-sdk/apis/athena-2017-05-18.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/batch-2016-08-10.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/batch-2016-08-10.min.json delete mode 100644 src/node_modules/aws-sdk/apis/batch-2016-08-10.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json delete mode 100644 src/node_modules/aws-sdk/apis/budgets-2016-10-20.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.min.json delete mode 100644 src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/codebuild-2016-10-06.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/codebuild-2016-10-06.min.json delete mode 100644 src/node_modules/aws-sdk/apis/codebuild-2016-10-06.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json delete mode 100644 src/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json delete mode 100644 src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json delete mode 100644 src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/codestar-2017-04-19.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/codestar-2017-04-19.min.json delete mode 100644 src/node_modules/aws-sdk/apis/codestar-2017-04-19.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json delete mode 100644 src/node_modules/aws-sdk/apis/config-2014-11-12.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/config-2014-11-12.min.json delete mode 100644 src/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/cur-2017-01-06.min.json delete mode 100644 src/node_modules/aws-sdk/apis/cur-2017-01-06.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json delete mode 100644 src/node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/dax-2017-04-19.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/dax-2017-04-19.min.json delete mode 100644 src/node_modules/aws-sdk/apis/dax-2017-04-19.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json delete mode 100644 src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/directconnect-2012-10-25.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json delete mode 100644 src/node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/discovery-2015-11-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/dms-2016-01-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/dms-2016-01-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/dms-2016-01-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/ds-2015-04-16.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/ds-2015-04-16.min.json delete mode 100644 src/node_modules/aws-sdk/apis/ds-2015-04-16.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json delete mode 100644 src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json delete mode 100644 src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/ec2-2016-11-15.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json delete mode 100644 src/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/ecr-2015-09-21.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json delete mode 100644 src/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/ecs-2014-11-13.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json delete mode 100644 src/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/ecs-2014-11-13.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticache-2015-02-02.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json delete mode 100644 src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/email-2010-12-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/email-2010-12-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/email-2010-12-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/email-2010-12-01.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.min.json delete mode 100644 src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/es-2015-01-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/es-2015-01-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/events-2015-10-07.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/events-2015-10-07.min.json delete mode 100644 src/node_modules/aws-sdk/apis/events-2015-10-07.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json delete mode 100644 src/node_modules/aws-sdk/apis/gamelift-2015-10-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/gamelift-2015-10-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/glacier-2012-06-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/glacier-2012-06-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/glacier-2012-06-01.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/greengrass-2017-06-07.min.json delete mode 100644 src/node_modules/aws-sdk/apis/health-2016-08-04.min.json delete mode 100644 src/node_modules/aws-sdk/apis/health-2016-08-04.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/iam-2010-05-08.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/iam-2010-05-08.min.json delete mode 100644 src/node_modules/aws-sdk/apis/iam-2010-05-08.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/iam-2010-05-08.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/importexport-2010-06-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/inspector-2016-02-16.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/inspector-2016-02-16.min.json delete mode 100644 src/node_modules/aws-sdk/apis/inspector-2016-02-16.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/iot-2015-05-28.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/iot-2015-05-28.min.json delete mode 100644 src/node_modules/aws-sdk/apis/iot-2015-05-28.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json delete mode 100644 src/node_modules/aws-sdk/apis/kinesis-2013-12-02.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json delete mode 100644 src/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/kinesis-2013-12-02.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.min.json delete mode 100644 src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/kms-2014-11-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/lambda-2014-11-11.min.json delete mode 100644 src/node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/lambda-2015-03-31.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json delete mode 100644 src/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/lex-models-2017-04-19.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/lex-models-2017-04-19.min.json delete mode 100644 src/node_modules/aws-sdk/apis/lex-models-2017-04-19.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/lightsail-2016-11-28.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json delete mode 100644 src/node_modules/aws-sdk/apis/lightsail-2016-11-28.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/logs-2014-03-28.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/logs-2014-03-28.min.json delete mode 100644 src/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json delete mode 100644 src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/metadata.json delete mode 100644 src/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json delete mode 100644 src/node_modules/aws-sdk/apis/mobileanalytics-2014-06-05.min.json delete mode 100644 src/node_modules/aws-sdk/apis/monitoring-2010-08-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/monitoring-2010-08-01.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/mturk-requester-2017-01-17.min.json delete mode 100644 src/node_modules/aws-sdk/apis/mturk-requester-2017-01-17.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/opsworks-2013-02-18.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json delete mode 100644 src/node_modules/aws-sdk/apis/opsworks-2013-02-18.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/opsworks-2013-02-18.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/opsworkscm-2016-11-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/opsworkscm-2016-11-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/organizations-2016-11-28.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json delete mode 100644 src/node_modules/aws-sdk/apis/organizations-2016-11-28.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/pinpoint-2016-12-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/polly-2016-06-10.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/polly-2016-06-10.min.json delete mode 100644 src/node_modules/aws-sdk/apis/polly-2016-06-10.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2013-01-10.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2013-01-10.min.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2013-02-12.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2013-02-12.min.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2013-09-09.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2013-09-09.min.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2013-09-09.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2014-09-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2014-09-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2014-09-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2014-10-31.min.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/rds-2014-10-31.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/redshift-2012-12-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/redshift-2012-12-01.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/rekognition-2016-06-27.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json delete mode 100644 src/node_modules/aws-sdk/apis/rekognition-2016-06-27.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.min.json delete mode 100644 src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/route53-2013-04-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/route53-2013-04-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/route53-2013-04-01.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/route53domains-2014-05-15.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json delete mode 100644 src/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.min.json delete mode 100644 src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/s3-2006-03-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/s3-2006-03-01.waiters2.json delete mode 100644 src/node_modules/aws-sdk/apis/sdb-2009-04-15.min.json delete mode 100644 src/node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json delete mode 100644 src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/shield-2016-06-02.min.json delete mode 100644 src/node_modules/aws-sdk/apis/sms-2016-10-24.min.json delete mode 100644 src/node_modules/aws-sdk/apis/sms-2016-10-24.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/snowball-2016-06-30.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json delete mode 100644 src/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/sns-2010-03-31.min.json delete mode 100644 src/node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json delete mode 100644 src/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/ssm-2014-11-06.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json delete mode 100644 src/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/states-2016-11-23.min.json delete mode 100644 src/node_modules/aws-sdk/apis/states-2016-11-23.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json delete mode 100644 src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json delete mode 100644 src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/sts-2011-06-15.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/sts-2011-06-15.min.json delete mode 100644 src/node_modules/aws-sdk/apis/sts-2011-06-15.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/support-2013-04-15.min.json delete mode 100644 src/node_modules/aws-sdk/apis/support-2013-04-15.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/swf-2012-01-25.min.json delete mode 100644 src/node_modules/aws-sdk/apis/swf-2012-01-25.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/waf-2015-08-24.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/waf-2015-08-24.min.json delete mode 100644 src/node_modules/aws-sdk/apis/waf-2015-08-24.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.min.json delete mode 100644 src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/workdocs-2016-05-01.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/workdocs-2016-05-01.min.json delete mode 100644 src/node_modules/aws-sdk/apis/workdocs-2016-05-01.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/workspaces-2015-04-08.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json delete mode 100644 src/node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json delete mode 100644 src/node_modules/aws-sdk/apis/xray-2016-04-12.examples.json delete mode 100644 src/node_modules/aws-sdk/apis/xray-2016-04-12.min.json delete mode 100644 src/node_modules/aws-sdk/apis/xray-2016-04-12.paginators.json delete mode 100644 src/node_modules/aws-sdk/browser.js delete mode 100644 src/node_modules/aws-sdk/clients/acm.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/acm.js delete mode 100644 src/node_modules/aws-sdk/clients/all.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/all.js delete mode 100644 src/node_modules/aws-sdk/clients/apigateway.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/apigateway.js delete mode 100644 src/node_modules/aws-sdk/clients/applicationautoscaling.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/applicationautoscaling.js delete mode 100644 src/node_modules/aws-sdk/clients/appstream.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/appstream.js delete mode 100644 src/node_modules/aws-sdk/clients/athena.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/athena.js delete mode 100644 src/node_modules/aws-sdk/clients/autoscaling.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/autoscaling.js delete mode 100644 src/node_modules/aws-sdk/clients/batch.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/batch.js delete mode 100644 src/node_modules/aws-sdk/clients/browser_default.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/browser_default.js delete mode 100644 src/node_modules/aws-sdk/clients/budgets.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/budgets.js delete mode 100644 src/node_modules/aws-sdk/clients/clouddirectory.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/clouddirectory.js delete mode 100644 src/node_modules/aws-sdk/clients/cloudformation.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cloudformation.js delete mode 100644 src/node_modules/aws-sdk/clients/cloudfront.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cloudfront.js delete mode 100644 src/node_modules/aws-sdk/clients/cloudhsm.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cloudhsm.js delete mode 100644 src/node_modules/aws-sdk/clients/cloudsearch.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cloudsearch.js delete mode 100644 src/node_modules/aws-sdk/clients/cloudsearchdomain.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cloudsearchdomain.js delete mode 100644 src/node_modules/aws-sdk/clients/cloudtrail.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cloudtrail.js delete mode 100644 src/node_modules/aws-sdk/clients/cloudwatch.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cloudwatch.js delete mode 100644 src/node_modules/aws-sdk/clients/cloudwatchevents.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cloudwatchevents.js delete mode 100644 src/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cloudwatchlogs.js delete mode 100644 src/node_modules/aws-sdk/clients/codebuild.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/codebuild.js delete mode 100644 src/node_modules/aws-sdk/clients/codecommit.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/codecommit.js delete mode 100644 src/node_modules/aws-sdk/clients/codedeploy.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/codedeploy.js delete mode 100644 src/node_modules/aws-sdk/clients/codepipeline.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/codepipeline.js delete mode 100644 src/node_modules/aws-sdk/clients/codestar.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/codestar.js delete mode 100644 src/node_modules/aws-sdk/clients/cognitoidentity.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cognitoidentity.js delete mode 100644 src/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.js delete mode 100644 src/node_modules/aws-sdk/clients/cognitosync.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cognitosync.js delete mode 100644 src/node_modules/aws-sdk/clients/configservice.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/configservice.js delete mode 100644 src/node_modules/aws-sdk/clients/cur.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/cur.js delete mode 100644 src/node_modules/aws-sdk/clients/datapipeline.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/datapipeline.js delete mode 100644 src/node_modules/aws-sdk/clients/dax.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/dax.js delete mode 100644 src/node_modules/aws-sdk/clients/devicefarm.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/devicefarm.js delete mode 100644 src/node_modules/aws-sdk/clients/directconnect.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/directconnect.js delete mode 100644 src/node_modules/aws-sdk/clients/directoryservice.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/directoryservice.js delete mode 100644 src/node_modules/aws-sdk/clients/discovery.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/discovery.js delete mode 100644 src/node_modules/aws-sdk/clients/dms.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/dms.js delete mode 100644 src/node_modules/aws-sdk/clients/dynamodb.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/dynamodb.js delete mode 100644 src/node_modules/aws-sdk/clients/dynamodbstreams.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/dynamodbstreams.js delete mode 100644 src/node_modules/aws-sdk/clients/ec2.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/ec2.js delete mode 100644 src/node_modules/aws-sdk/clients/ecr.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/ecr.js delete mode 100644 src/node_modules/aws-sdk/clients/ecs.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/ecs.js delete mode 100644 src/node_modules/aws-sdk/clients/efs.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/efs.js delete mode 100644 src/node_modules/aws-sdk/clients/elasticache.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/elasticache.js delete mode 100644 src/node_modules/aws-sdk/clients/elasticbeanstalk.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/elasticbeanstalk.js delete mode 100644 src/node_modules/aws-sdk/clients/elastictranscoder.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/elastictranscoder.js delete mode 100644 src/node_modules/aws-sdk/clients/elb.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/elb.js delete mode 100644 src/node_modules/aws-sdk/clients/elbv2.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/elbv2.js delete mode 100644 src/node_modules/aws-sdk/clients/emr.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/emr.js delete mode 100644 src/node_modules/aws-sdk/clients/es.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/es.js delete mode 100644 src/node_modules/aws-sdk/clients/firehose.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/firehose.js delete mode 100644 src/node_modules/aws-sdk/clients/gamelift.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/gamelift.js delete mode 100644 src/node_modules/aws-sdk/clients/glacier.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/glacier.js delete mode 100644 src/node_modules/aws-sdk/clients/greengrass.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/greengrass.js delete mode 100644 src/node_modules/aws-sdk/clients/health.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/health.js delete mode 100644 src/node_modules/aws-sdk/clients/iam.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/iam.js delete mode 100644 src/node_modules/aws-sdk/clients/importexport.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/importexport.js delete mode 100644 src/node_modules/aws-sdk/clients/inspector.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/inspector.js delete mode 100644 src/node_modules/aws-sdk/clients/iot.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/iot.js delete mode 100644 src/node_modules/aws-sdk/clients/iotdata.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/iotdata.js delete mode 100644 src/node_modules/aws-sdk/clients/kinesis.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/kinesis.js delete mode 100644 src/node_modules/aws-sdk/clients/kinesisanalytics.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/kinesisanalytics.js delete mode 100644 src/node_modules/aws-sdk/clients/kms.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/kms.js delete mode 100644 src/node_modules/aws-sdk/clients/lambda.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/lambda.js delete mode 100644 src/node_modules/aws-sdk/clients/lexmodelbuildingservice.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/lexmodelbuildingservice.js delete mode 100644 src/node_modules/aws-sdk/clients/lexruntime.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/lexruntime.js delete mode 100644 src/node_modules/aws-sdk/clients/lightsail.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/lightsail.js delete mode 100644 src/node_modules/aws-sdk/clients/machinelearning.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/machinelearning.js delete mode 100644 src/node_modules/aws-sdk/clients/marketplacecommerceanalytics.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/marketplacecommerceanalytics.js delete mode 100644 src/node_modules/aws-sdk/clients/marketplaceentitlementservice.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/marketplaceentitlementservice.js delete mode 100644 src/node_modules/aws-sdk/clients/marketplacemetering.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/marketplacemetering.js delete mode 100644 src/node_modules/aws-sdk/clients/mobileanalytics.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/mobileanalytics.js delete mode 100644 src/node_modules/aws-sdk/clients/mturk.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/mturk.js delete mode 100644 src/node_modules/aws-sdk/clients/opsworks.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/opsworks.js delete mode 100644 src/node_modules/aws-sdk/clients/opsworkscm.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/opsworkscm.js delete mode 100644 src/node_modules/aws-sdk/clients/organizations.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/organizations.js delete mode 100644 src/node_modules/aws-sdk/clients/pinpoint.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/pinpoint.js delete mode 100644 src/node_modules/aws-sdk/clients/polly.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/polly.js delete mode 100644 src/node_modules/aws-sdk/clients/rds.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/rds.js delete mode 100644 src/node_modules/aws-sdk/clients/redshift.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/redshift.js delete mode 100644 src/node_modules/aws-sdk/clients/rekognition.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/rekognition.js delete mode 100644 src/node_modules/aws-sdk/clients/resourcegroupstaggingapi.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/resourcegroupstaggingapi.js delete mode 100644 src/node_modules/aws-sdk/clients/route53.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/route53.js delete mode 100644 src/node_modules/aws-sdk/clients/route53domains.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/route53domains.js delete mode 100644 src/node_modules/aws-sdk/clients/s3.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/s3.js delete mode 100644 src/node_modules/aws-sdk/clients/servicecatalog.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/servicecatalog.js delete mode 100644 src/node_modules/aws-sdk/clients/ses.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/ses.js delete mode 100644 src/node_modules/aws-sdk/clients/shield.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/shield.js delete mode 100644 src/node_modules/aws-sdk/clients/simpledb.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/simpledb.js delete mode 100644 src/node_modules/aws-sdk/clients/sms.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/sms.js delete mode 100644 src/node_modules/aws-sdk/clients/snowball.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/snowball.js delete mode 100644 src/node_modules/aws-sdk/clients/sns.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/sns.js delete mode 100644 src/node_modules/aws-sdk/clients/sqs.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/sqs.js delete mode 100644 src/node_modules/aws-sdk/clients/ssm.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/ssm.js delete mode 100644 src/node_modules/aws-sdk/clients/stepfunctions.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/stepfunctions.js delete mode 100644 src/node_modules/aws-sdk/clients/storagegateway.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/storagegateway.js delete mode 100644 src/node_modules/aws-sdk/clients/sts.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/sts.js delete mode 100644 src/node_modules/aws-sdk/clients/support.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/support.js delete mode 100644 src/node_modules/aws-sdk/clients/swf.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/swf.js delete mode 100644 src/node_modules/aws-sdk/clients/waf.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/waf.js delete mode 100644 src/node_modules/aws-sdk/clients/wafregional.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/wafregional.js delete mode 100644 src/node_modules/aws-sdk/clients/workdocs.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/workdocs.js delete mode 100644 src/node_modules/aws-sdk/clients/workspaces.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/workspaces.js delete mode 100644 src/node_modules/aws-sdk/clients/xray.d.ts delete mode 100644 src/node_modules/aws-sdk/clients/xray.js delete mode 100755 src/node_modules/aws-sdk/dist-tools/browser-builder.js delete mode 100644 src/node_modules/aws-sdk/dist-tools/client-creator.js delete mode 100644 src/node_modules/aws-sdk/dist-tools/create-all-services.js delete mode 100644 src/node_modules/aws-sdk/dist-tools/service-collector.js delete mode 100644 src/node_modules/aws-sdk/dist-tools/transform.js delete mode 100644 src/node_modules/aws-sdk/dist-tools/webpack.config.rn.js delete mode 100644 src/node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt delete mode 100644 src/node_modules/aws-sdk/dist/aws-sdk-react-native.js delete mode 100644 src/node_modules/aws-sdk/dist/aws-sdk.js delete mode 100644 src/node_modules/aws-sdk/dist/aws-sdk.min.js delete mode 100644 src/node_modules/aws-sdk/global.d.ts delete mode 100644 src/node_modules/aws-sdk/global.js delete mode 100644 src/node_modules/aws-sdk/index.d.ts delete mode 100644 src/node_modules/aws-sdk/index.js delete mode 100644 src/node_modules/aws-sdk/lib/api_loader.js delete mode 100644 src/node_modules/aws-sdk/lib/aws.js delete mode 100644 src/node_modules/aws-sdk/lib/browser.js delete mode 100644 src/node_modules/aws-sdk/lib/browser_loader.js delete mode 100644 src/node_modules/aws-sdk/lib/cloudfront/signer.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/cloudfront/signer.js delete mode 100644 src/node_modules/aws-sdk/lib/config.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/config.js delete mode 100644 src/node_modules/aws-sdk/lib/config_service_placeholders.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/config_use_dualstack.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/core.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/core.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials/credential_provider_chain.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials/ecs_credentials.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials/ecs_credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials/environment_credentials.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials/environment_credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials/file_system_credentials.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials/file_system_credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials/saml_credentials.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials/saml_credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials/shared_ini_file_credentials.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials/shared_ini_file_credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials/temporary_credentials.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials/temporary_credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/credentials/web_identity_credentials.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/credentials/web_identity_credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/dynamodb/converter.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/dynamodb/converter.js delete mode 100644 src/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/dynamodb/document_client.js delete mode 100644 src/node_modules/aws-sdk/lib/dynamodb/set.js delete mode 100644 src/node_modules/aws-sdk/lib/dynamodb/translator.js delete mode 100644 src/node_modules/aws-sdk/lib/dynamodb/types.js delete mode 100644 src/node_modules/aws-sdk/lib/empty.js delete mode 100644 src/node_modules/aws-sdk/lib/endpoint.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/error.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/event_listeners.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/event_listeners.js delete mode 100644 src/node_modules/aws-sdk/lib/http.js delete mode 100644 src/node_modules/aws-sdk/lib/http/node.js delete mode 100644 src/node_modules/aws-sdk/lib/http/xhr.js delete mode 100644 src/node_modules/aws-sdk/lib/http_request.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/http_response.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/json/builder.js delete mode 100644 src/node_modules/aws-sdk/lib/json/parser.js delete mode 100644 src/node_modules/aws-sdk/lib/metadata_service.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/metadata_service.js delete mode 100644 src/node_modules/aws-sdk/lib/model/api.js delete mode 100644 src/node_modules/aws-sdk/lib/model/collection.js delete mode 100644 src/node_modules/aws-sdk/lib/model/operation.js delete mode 100644 src/node_modules/aws-sdk/lib/model/paginator.js delete mode 100644 src/node_modules/aws-sdk/lib/model/resource_waiter.js delete mode 100644 src/node_modules/aws-sdk/lib/model/shape.js delete mode 100644 src/node_modules/aws-sdk/lib/node_loader.js delete mode 100644 src/node_modules/aws-sdk/lib/param_validator.js delete mode 100644 src/node_modules/aws-sdk/lib/polly/presigner.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/polly/presigner.js delete mode 100644 src/node_modules/aws-sdk/lib/protocol/json.js delete mode 100644 src/node_modules/aws-sdk/lib/protocol/query.js delete mode 100644 src/node_modules/aws-sdk/lib/protocol/rest.js delete mode 100644 src/node_modules/aws-sdk/lib/protocol/rest_json.js delete mode 100644 src/node_modules/aws-sdk/lib/protocol/rest_xml.js delete mode 100644 src/node_modules/aws-sdk/lib/query/query_param_serializer.js delete mode 100644 src/node_modules/aws-sdk/lib/rds/signer.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/rds/signer.js delete mode 100644 src/node_modules/aws-sdk/lib/react-native-loader.js delete mode 100644 src/node_modules/aws-sdk/lib/react-native/add-content-type.js delete mode 100644 src/node_modules/aws-sdk/lib/region_config.js delete mode 100644 src/node_modules/aws-sdk/lib/region_config_data.json delete mode 100644 src/node_modules/aws-sdk/lib/request.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/request.js delete mode 100644 src/node_modules/aws-sdk/lib/resource_waiter.js delete mode 100644 src/node_modules/aws-sdk/lib/response.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/response.js delete mode 100644 src/node_modules/aws-sdk/lib/s3/managed_upload.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/s3/managed_upload.js delete mode 100644 src/node_modules/aws-sdk/lib/s3/presigned_post.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/sequential_executor.js delete mode 100644 src/node_modules/aws-sdk/lib/service.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/service.js delete mode 100644 src/node_modules/aws-sdk/lib/services/apigateway.js delete mode 100644 src/node_modules/aws-sdk/lib/services/cloudfront.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/services/cloudfront.js delete mode 100644 src/node_modules/aws-sdk/lib/services/cloudsearchdomain.js delete mode 100644 src/node_modules/aws-sdk/lib/services/cognitoidentity.js delete mode 100644 src/node_modules/aws-sdk/lib/services/dynamodb.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/services/dynamodb.js delete mode 100644 src/node_modules/aws-sdk/lib/services/ec2.js delete mode 100644 src/node_modules/aws-sdk/lib/services/glacier.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/services/glacier.js delete mode 100644 src/node_modules/aws-sdk/lib/services/iotdata.js delete mode 100644 src/node_modules/aws-sdk/lib/services/lambda.js delete mode 100644 src/node_modules/aws-sdk/lib/services/machinelearning.js delete mode 100644 src/node_modules/aws-sdk/lib/services/polly.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/services/polly.js delete mode 100644 src/node_modules/aws-sdk/lib/services/rds.js delete mode 100644 src/node_modules/aws-sdk/lib/services/route53.js delete mode 100644 src/node_modules/aws-sdk/lib/services/s3.d.ts delete mode 100644 src/node_modules/aws-sdk/lib/services/s3.js delete mode 100644 src/node_modules/aws-sdk/lib/services/sqs.js delete mode 100644 src/node_modules/aws-sdk/lib/services/sts.js delete mode 100644 src/node_modules/aws-sdk/lib/services/swf.js delete mode 100644 src/node_modules/aws-sdk/lib/shared_ini.js delete mode 100644 src/node_modules/aws-sdk/lib/signers/presign.js delete mode 100644 src/node_modules/aws-sdk/lib/signers/request_signer.js delete mode 100644 src/node_modules/aws-sdk/lib/signers/s3.js delete mode 100644 src/node_modules/aws-sdk/lib/signers/v2.js delete mode 100644 src/node_modules/aws-sdk/lib/signers/v3.js delete mode 100644 src/node_modules/aws-sdk/lib/signers/v3https.js delete mode 100644 src/node_modules/aws-sdk/lib/signers/v4.js delete mode 100644 src/node_modules/aws-sdk/lib/signers/v4_credentials.js delete mode 100644 src/node_modules/aws-sdk/lib/state_machine.js delete mode 100644 src/node_modules/aws-sdk/lib/util.js delete mode 100644 src/node_modules/aws-sdk/lib/xml/browser_parser.js delete mode 100644 src/node_modules/aws-sdk/lib/xml/builder.js delete mode 100644 src/node_modules/aws-sdk/lib/xml/node_parser.js delete mode 100644 src/node_modules/aws-sdk/package.json delete mode 100644 src/node_modules/aws-sdk/react-native.js delete mode 100644 src/node_modules/aws-sdk/scripts/changelog/README.md delete mode 100755 src/node_modules/aws-sdk/scripts/changelog/add-change.js delete mode 100644 src/node_modules/aws-sdk/scripts/changelog/change-creator.js delete mode 100755 src/node_modules/aws-sdk/scripts/changelog/create-changelog delete mode 100755 src/node_modules/aws-sdk/scripts/changelog/release delete mode 100755 src/node_modules/aws-sdk/scripts/changelog/util.js delete mode 100755 src/node_modules/aws-sdk/scripts/console delete mode 100644 src/node_modules/aws-sdk/scripts/lib/translator.js delete mode 100644 src/node_modules/aws-sdk/scripts/lib/ts-customizations.json delete mode 100644 src/node_modules/aws-sdk/scripts/lib/ts-generator.js delete mode 100644 src/node_modules/aws-sdk/scripts/services-table-generator.js delete mode 100644 src/node_modules/aws-sdk/scripts/services-table-generator.ts delete mode 100755 src/node_modules/aws-sdk/scripts/translate-api delete mode 100644 src/node_modules/aws-sdk/scripts/typings-generator.js delete mode 100644 src/node_modules/base64-js/LICENSE delete mode 100644 src/node_modules/base64-js/README.md delete mode 100644 src/node_modules/base64-js/base64js.min.js delete mode 100644 src/node_modules/base64-js/index.js delete mode 100644 src/node_modules/base64-js/package.json delete mode 100644 src/node_modules/base64-js/test/big-data.js delete mode 100644 src/node_modules/base64-js/test/convert.js delete mode 100644 src/node_modules/base64-js/test/url-safe.js delete mode 100644 src/node_modules/buffer/.npmignore delete mode 100644 src/node_modules/buffer/.travis.yml delete mode 100644 src/node_modules/buffer/AUTHORS.md delete mode 100644 src/node_modules/buffer/LICENSE delete mode 100644 src/node_modules/buffer/README.md delete mode 100755 src/node_modules/buffer/bin/download-node-tests.js delete mode 100644 src/node_modules/buffer/bin/test.js delete mode 100755 src/node_modules/buffer/bin/update-authors.sh delete mode 100644 src/node_modules/buffer/bin/zuul-es5.yml delete mode 100644 src/node_modules/buffer/bin/zuul-es6.yml delete mode 100644 src/node_modules/buffer/index.js delete mode 100644 src/node_modules/buffer/package.json delete mode 100644 src/node_modules/buffer/test/_polyfill.js delete mode 100644 src/node_modules/buffer/test/base64.js delete mode 100644 src/node_modules/buffer/test/basic.js delete mode 100644 src/node_modules/buffer/test/compare.js delete mode 100644 src/node_modules/buffer/test/constructor.js delete mode 100644 src/node_modules/buffer/test/from-string.js delete mode 100644 src/node_modules/buffer/test/is-buffer.js delete mode 100644 src/node_modules/buffer/test/methods.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-alloc.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-arraybuffer.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-ascii.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-bad-overload.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-badhex.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-bytelength.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-compare-offset.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-concat.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-fill.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-includes.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-indexof.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-inheritance.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-inspect.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-iterator.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-safe-unsafe.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-slow.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-swap.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js delete mode 100644 src/node_modules/buffer/test/node/test-buffer.js delete mode 100644 src/node_modules/buffer/test/slice.js delete mode 100644 src/node_modules/buffer/test/static.js delete mode 100644 src/node_modules/buffer/test/to-string.js delete mode 100644 src/node_modules/buffer/test/write.js delete mode 100644 src/node_modules/buffer/test/write_infinity.js delete mode 100644 src/node_modules/crypto-browserify/.npmignore delete mode 100644 src/node_modules/crypto-browserify/.travis.yml delete mode 100644 src/node_modules/crypto-browserify/LICENSE delete mode 100644 src/node_modules/crypto-browserify/example/bundle.js delete mode 100644 src/node_modules/crypto-browserify/example/index.html delete mode 100644 src/node_modules/crypto-browserify/example/test.js delete mode 100644 src/node_modules/crypto-browserify/helpers.js delete mode 100644 src/node_modules/crypto-browserify/index.js delete mode 100644 src/node_modules/crypto-browserify/md5.js delete mode 100644 src/node_modules/crypto-browserify/package.json delete mode 100644 src/node_modules/crypto-browserify/readme.markdown delete mode 100644 src/node_modules/crypto-browserify/rng.js delete mode 100644 src/node_modules/crypto-browserify/sha.js delete mode 100644 src/node_modules/crypto-browserify/sha256.js delete mode 100644 src/node_modules/crypto-browserify/test/browser.js delete mode 100644 src/node_modules/crypto-browserify/test/node.js delete mode 100644 src/node_modules/crypto-browserify/test/package.json delete mode 100755 src/node_modules/crypto-browserify/test/simple.js delete mode 100755 src/node_modules/crypto-browserify/test/vectors/Readme.txt delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte-hashes.md5 delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte-hashes.sha1 delete mode 100644 src/node_modules/crypto-browserify/test/vectors/byte-hashes.sha256 delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0000.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0001.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0002.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0003.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0004.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0005.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0006.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0007.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0008.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0009.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0010.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0011.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0012.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0013.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0014.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0015.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0016.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0017.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0018.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0019.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0020.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0021.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0022.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0023.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0024.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0025.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0026.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0027.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0028.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0029.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0030.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0031.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0032.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0033.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0034.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0035.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0036.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0037.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0038.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0039.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0040.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0041.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0042.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0043.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0044.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0045.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0046.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0047.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0048.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0049.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0050.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0051.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0052.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0053.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0054.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0055.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0056.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0057.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0058.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0059.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0060.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0061.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0062.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0063.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0064.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0065.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0066.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0067.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0068.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0069.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0070.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0071.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0072.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0073.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0074.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0075.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0076.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0077.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0078.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0079.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0080.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0081.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0082.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0083.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0084.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0085.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0086.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0087.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0088.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0089.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0090.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0091.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0092.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0093.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0094.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0095.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0096.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0097.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0098.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0099.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0100.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0101.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0102.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0103.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0104.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0105.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0106.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0107.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0108.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0109.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0110.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0111.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0112.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0113.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0114.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0115.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0116.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0117.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0118.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0119.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0120.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0121.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0122.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0123.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0124.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0125.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0126.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0127.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0128.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0129.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0130.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0131.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0132.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0133.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0134.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0135.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0136.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0137.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0138.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0139.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0140.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0141.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0142.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0143.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0144.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0145.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0146.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0147.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0148.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0149.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0150.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0151.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0152.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0153.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0154.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0155.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0156.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0157.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0158.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0159.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0160.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0161.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0162.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0163.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0164.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0165.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0166.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0167.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0168.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0169.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0170.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0171.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0172.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0173.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0174.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0175.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0176.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0177.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0178.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0179.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0180.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0181.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0182.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0183.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0184.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0185.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0186.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0187.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0188.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0189.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0190.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0191.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0192.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0193.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0194.dat delete mode 100755 src/node_modules/crypto-browserify/test/vectors/byte0195.dat delete mode 100644 src/node_modules/https/package.json delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/.npmignore delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/LICENSE delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/README.md delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/dist/commonjs/index.js delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/dist/commonjs/sprintf.js delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/dist/es/index.js delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/dist/es/sprintf.js delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/dist/umd/i18nextSprintfPostProcessor.js delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/dist/umd/i18nextSprintfPostProcessor.min.js delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/i18nextSprintfPostProcessor.js delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/i18nextSprintfPostProcessor.min.js delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/index.js delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/package.json delete mode 100644 src/node_modules/i18next-sprintf-postprocessor/rollup.config.js delete mode 100644 src/node_modules/i18next/.coveralls.yml delete mode 100644 src/node_modules/i18next/.npmignore delete mode 100644 src/node_modules/i18next/.travis.yml delete mode 100644 src/node_modules/i18next/CHANGELOG.md delete mode 100644 src/node_modules/i18next/LICENSE delete mode 100644 src/node_modules/i18next/README.md delete mode 100644 src/node_modules/i18next/dist/commonjs/BackendConnector.js delete mode 100644 src/node_modules/i18next/dist/commonjs/CacheConnector.js delete mode 100644 src/node_modules/i18next/dist/commonjs/EventEmitter.js delete mode 100644 src/node_modules/i18next/dist/commonjs/Interpolator.js delete mode 100644 src/node_modules/i18next/dist/commonjs/LanguageUtils.js delete mode 100644 src/node_modules/i18next/dist/commonjs/PluralResolver.js delete mode 100644 src/node_modules/i18next/dist/commonjs/ResourceStore.js delete mode 100644 src/node_modules/i18next/dist/commonjs/Translator.js delete mode 100644 src/node_modules/i18next/dist/commonjs/compatibility/v1.js delete mode 100644 src/node_modules/i18next/dist/commonjs/defaults.js delete mode 100644 src/node_modules/i18next/dist/commonjs/i18next.js delete mode 100644 src/node_modules/i18next/dist/commonjs/index.js delete mode 100644 src/node_modules/i18next/dist/commonjs/logger.js delete mode 100644 src/node_modules/i18next/dist/commonjs/postProcessor.js delete mode 100644 src/node_modules/i18next/dist/commonjs/utils.js delete mode 100644 src/node_modules/i18next/dist/es/BackendConnector.js delete mode 100644 src/node_modules/i18next/dist/es/CacheConnector.js delete mode 100644 src/node_modules/i18next/dist/es/EventEmitter.js delete mode 100644 src/node_modules/i18next/dist/es/Interpolator.js delete mode 100644 src/node_modules/i18next/dist/es/LanguageUtils.js delete mode 100644 src/node_modules/i18next/dist/es/PluralResolver.js delete mode 100644 src/node_modules/i18next/dist/es/ResourceStore.js delete mode 100644 src/node_modules/i18next/dist/es/Translator.js delete mode 100644 src/node_modules/i18next/dist/es/compatibility/v1.js delete mode 100644 src/node_modules/i18next/dist/es/defaults.js delete mode 100644 src/node_modules/i18next/dist/es/i18next.js delete mode 100644 src/node_modules/i18next/dist/es/index.js delete mode 100644 src/node_modules/i18next/dist/es/logger.js delete mode 100644 src/node_modules/i18next/dist/es/postProcessor.js delete mode 100644 src/node_modules/i18next/dist/es/utils.js delete mode 100644 src/node_modules/i18next/dist/umd/i18next.js delete mode 100644 src/node_modules/i18next/dist/umd/i18next.min.js delete mode 100644 src/node_modules/i18next/i18next.js delete mode 100644 src/node_modules/i18next/i18next.min.js delete mode 100644 src/node_modules/i18next/index.js delete mode 100644 src/node_modules/i18next/karma.backward.conf.js delete mode 100644 src/node_modules/i18next/package.json delete mode 100644 src/node_modules/i18next/rollup.config.js delete mode 100644 src/node_modules/ieee754/.travis.yml delete mode 100644 src/node_modules/ieee754/.zuul.yml delete mode 100644 src/node_modules/ieee754/LICENSE delete mode 100644 src/node_modules/ieee754/README.md delete mode 100644 src/node_modules/ieee754/index.js delete mode 100644 src/node_modules/ieee754/package.json delete mode 100644 src/node_modules/ieee754/test/basic.js delete mode 100644 src/node_modules/isarray/.npmignore delete mode 100644 src/node_modules/isarray/.travis.yml delete mode 100644 src/node_modules/isarray/Makefile delete mode 100644 src/node_modules/isarray/README.md delete mode 100644 src/node_modules/isarray/component.json delete mode 100644 src/node_modules/isarray/index.js delete mode 100644 src/node_modules/isarray/package.json delete mode 100644 src/node_modules/isarray/test.js delete mode 100644 src/node_modules/jmespath/.eslintrc delete mode 100644 src/node_modules/jmespath/.npmignore delete mode 100644 src/node_modules/jmespath/.travis.yml delete mode 100644 src/node_modules/jmespath/BASELINE delete mode 100644 src/node_modules/jmespath/Gruntfile.js delete mode 100644 src/node_modules/jmespath/LICENSE delete mode 100644 src/node_modules/jmespath/README.md delete mode 100644 src/node_modules/jmespath/artifacts/jmespath.min.js delete mode 100644 src/node_modules/jmespath/bower.json delete mode 100755 src/node_modules/jmespath/g.sh delete mode 100644 src/node_modules/jmespath/index.html delete mode 100644 src/node_modules/jmespath/james.html delete mode 100644 src/node_modules/jmespath/jmespath.js delete mode 100755 src/node_modules/jmespath/jp.js delete mode 100644 src/node_modules/jmespath/l.js delete mode 100644 src/node_modules/jmespath/package.json delete mode 100644 src/node_modules/jmespath/perf.js delete mode 100644 src/node_modules/jmespath/reservedWords.json delete mode 100644 src/node_modules/jmespath/test/compliance.js delete mode 100644 src/node_modules/jmespath/test/compliance/basic.json delete mode 100644 src/node_modules/jmespath/test/compliance/boolean.json delete mode 100644 src/node_modules/jmespath/test/compliance/current.json delete mode 100644 src/node_modules/jmespath/test/compliance/escape.json delete mode 100644 src/node_modules/jmespath/test/compliance/filters.json delete mode 100644 src/node_modules/jmespath/test/compliance/functions.json delete mode 100644 src/node_modules/jmespath/test/compliance/identifiers.json delete mode 100644 src/node_modules/jmespath/test/compliance/indices.json delete mode 100644 src/node_modules/jmespath/test/compliance/literal.json delete mode 100644 src/node_modules/jmespath/test/compliance/multiselect.json delete mode 100644 src/node_modules/jmespath/test/compliance/pipe.json delete mode 100644 src/node_modules/jmespath/test/compliance/slice.json delete mode 100644 src/node_modules/jmespath/test/compliance/syntax.json delete mode 100644 src/node_modules/jmespath/test/compliance/unicode.json delete mode 100644 src/node_modules/jmespath/test/compliance/wildcard.json delete mode 100644 src/node_modules/jmespath/test/jmespath.js delete mode 100644 src/node_modules/lodash/LICENSE delete mode 100644 src/node_modules/lodash/README.md delete mode 100644 src/node_modules/lodash/_DataView.js delete mode 100644 src/node_modules/lodash/_Hash.js delete mode 100644 src/node_modules/lodash/_LazyWrapper.js delete mode 100644 src/node_modules/lodash/_ListCache.js delete mode 100644 src/node_modules/lodash/_LodashWrapper.js delete mode 100644 src/node_modules/lodash/_Map.js delete mode 100644 src/node_modules/lodash/_MapCache.js delete mode 100644 src/node_modules/lodash/_Promise.js delete mode 100644 src/node_modules/lodash/_Set.js delete mode 100644 src/node_modules/lodash/_SetCache.js delete mode 100644 src/node_modules/lodash/_Stack.js delete mode 100644 src/node_modules/lodash/_Symbol.js delete mode 100644 src/node_modules/lodash/_Uint8Array.js delete mode 100644 src/node_modules/lodash/_WeakMap.js delete mode 100644 src/node_modules/lodash/_addMapEntry.js delete mode 100644 src/node_modules/lodash/_addSetEntry.js delete mode 100644 src/node_modules/lodash/_apply.js delete mode 100644 src/node_modules/lodash/_arrayAggregator.js delete mode 100644 src/node_modules/lodash/_arrayEach.js delete mode 100644 src/node_modules/lodash/_arrayEachRight.js delete mode 100644 src/node_modules/lodash/_arrayEvery.js delete mode 100644 src/node_modules/lodash/_arrayFilter.js delete mode 100644 src/node_modules/lodash/_arrayIncludes.js delete mode 100644 src/node_modules/lodash/_arrayIncludesWith.js delete mode 100644 src/node_modules/lodash/_arrayLikeKeys.js delete mode 100644 src/node_modules/lodash/_arrayMap.js delete mode 100644 src/node_modules/lodash/_arrayPush.js delete mode 100644 src/node_modules/lodash/_arrayReduce.js delete mode 100644 src/node_modules/lodash/_arrayReduceRight.js delete mode 100644 src/node_modules/lodash/_arraySample.js delete mode 100644 src/node_modules/lodash/_arraySampleSize.js delete mode 100644 src/node_modules/lodash/_arrayShuffle.js delete mode 100644 src/node_modules/lodash/_arraySome.js delete mode 100644 src/node_modules/lodash/_asciiSize.js delete mode 100644 src/node_modules/lodash/_asciiToArray.js delete mode 100644 src/node_modules/lodash/_asciiWords.js delete mode 100644 src/node_modules/lodash/_assignMergeValue.js delete mode 100644 src/node_modules/lodash/_assignValue.js delete mode 100644 src/node_modules/lodash/_assocIndexOf.js delete mode 100644 src/node_modules/lodash/_baseAggregator.js delete mode 100644 src/node_modules/lodash/_baseAssign.js delete mode 100644 src/node_modules/lodash/_baseAssignIn.js delete mode 100644 src/node_modules/lodash/_baseAssignValue.js delete mode 100644 src/node_modules/lodash/_baseAt.js delete mode 100644 src/node_modules/lodash/_baseClamp.js delete mode 100644 src/node_modules/lodash/_baseClone.js delete mode 100644 src/node_modules/lodash/_baseConforms.js delete mode 100644 src/node_modules/lodash/_baseConformsTo.js delete mode 100644 src/node_modules/lodash/_baseCreate.js delete mode 100644 src/node_modules/lodash/_baseDelay.js delete mode 100644 src/node_modules/lodash/_baseDifference.js delete mode 100644 src/node_modules/lodash/_baseEach.js delete mode 100644 src/node_modules/lodash/_baseEachRight.js delete mode 100644 src/node_modules/lodash/_baseEvery.js delete mode 100644 src/node_modules/lodash/_baseExtremum.js delete mode 100644 src/node_modules/lodash/_baseFill.js delete mode 100644 src/node_modules/lodash/_baseFilter.js delete mode 100644 src/node_modules/lodash/_baseFindIndex.js delete mode 100644 src/node_modules/lodash/_baseFindKey.js delete mode 100644 src/node_modules/lodash/_baseFlatten.js delete mode 100644 src/node_modules/lodash/_baseFor.js delete mode 100644 src/node_modules/lodash/_baseForOwn.js delete mode 100644 src/node_modules/lodash/_baseForOwnRight.js delete mode 100644 src/node_modules/lodash/_baseForRight.js delete mode 100644 src/node_modules/lodash/_baseFunctions.js delete mode 100644 src/node_modules/lodash/_baseGet.js delete mode 100644 src/node_modules/lodash/_baseGetAllKeys.js delete mode 100644 src/node_modules/lodash/_baseGetTag.js delete mode 100644 src/node_modules/lodash/_baseGt.js delete mode 100644 src/node_modules/lodash/_baseHas.js delete mode 100644 src/node_modules/lodash/_baseHasIn.js delete mode 100644 src/node_modules/lodash/_baseInRange.js delete mode 100644 src/node_modules/lodash/_baseIndexOf.js delete mode 100644 src/node_modules/lodash/_baseIndexOfWith.js delete mode 100644 src/node_modules/lodash/_baseIntersection.js delete mode 100644 src/node_modules/lodash/_baseInverter.js delete mode 100644 src/node_modules/lodash/_baseInvoke.js delete mode 100644 src/node_modules/lodash/_baseIsArguments.js delete mode 100644 src/node_modules/lodash/_baseIsArrayBuffer.js delete mode 100644 src/node_modules/lodash/_baseIsDate.js delete mode 100644 src/node_modules/lodash/_baseIsEqual.js delete mode 100644 src/node_modules/lodash/_baseIsEqualDeep.js delete mode 100644 src/node_modules/lodash/_baseIsMap.js delete mode 100644 src/node_modules/lodash/_baseIsMatch.js delete mode 100644 src/node_modules/lodash/_baseIsNaN.js delete mode 100644 src/node_modules/lodash/_baseIsNative.js delete mode 100644 src/node_modules/lodash/_baseIsRegExp.js delete mode 100644 src/node_modules/lodash/_baseIsSet.js delete mode 100644 src/node_modules/lodash/_baseIsTypedArray.js delete mode 100644 src/node_modules/lodash/_baseIteratee.js delete mode 100644 src/node_modules/lodash/_baseKeys.js delete mode 100644 src/node_modules/lodash/_baseKeysIn.js delete mode 100644 src/node_modules/lodash/_baseLodash.js delete mode 100644 src/node_modules/lodash/_baseLt.js delete mode 100644 src/node_modules/lodash/_baseMap.js delete mode 100644 src/node_modules/lodash/_baseMatches.js delete mode 100644 src/node_modules/lodash/_baseMatchesProperty.js delete mode 100644 src/node_modules/lodash/_baseMean.js delete mode 100644 src/node_modules/lodash/_baseMerge.js delete mode 100644 src/node_modules/lodash/_baseMergeDeep.js delete mode 100644 src/node_modules/lodash/_baseNth.js delete mode 100644 src/node_modules/lodash/_baseOrderBy.js delete mode 100644 src/node_modules/lodash/_basePick.js delete mode 100644 src/node_modules/lodash/_basePickBy.js delete mode 100644 src/node_modules/lodash/_baseProperty.js delete mode 100644 src/node_modules/lodash/_basePropertyDeep.js delete mode 100644 src/node_modules/lodash/_basePropertyOf.js delete mode 100644 src/node_modules/lodash/_basePullAll.js delete mode 100644 src/node_modules/lodash/_basePullAt.js delete mode 100644 src/node_modules/lodash/_baseRandom.js delete mode 100644 src/node_modules/lodash/_baseRange.js delete mode 100644 src/node_modules/lodash/_baseReduce.js delete mode 100644 src/node_modules/lodash/_baseRepeat.js delete mode 100644 src/node_modules/lodash/_baseRest.js delete mode 100644 src/node_modules/lodash/_baseSample.js delete mode 100644 src/node_modules/lodash/_baseSampleSize.js delete mode 100644 src/node_modules/lodash/_baseSet.js delete mode 100644 src/node_modules/lodash/_baseSetData.js delete mode 100644 src/node_modules/lodash/_baseSetToString.js delete mode 100644 src/node_modules/lodash/_baseShuffle.js delete mode 100644 src/node_modules/lodash/_baseSlice.js delete mode 100644 src/node_modules/lodash/_baseSome.js delete mode 100644 src/node_modules/lodash/_baseSortBy.js delete mode 100644 src/node_modules/lodash/_baseSortedIndex.js delete mode 100644 src/node_modules/lodash/_baseSortedIndexBy.js delete mode 100644 src/node_modules/lodash/_baseSortedUniq.js delete mode 100644 src/node_modules/lodash/_baseSum.js delete mode 100644 src/node_modules/lodash/_baseTimes.js delete mode 100644 src/node_modules/lodash/_baseToNumber.js delete mode 100644 src/node_modules/lodash/_baseToPairs.js delete mode 100644 src/node_modules/lodash/_baseToString.js delete mode 100644 src/node_modules/lodash/_baseUnary.js delete mode 100644 src/node_modules/lodash/_baseUniq.js delete mode 100644 src/node_modules/lodash/_baseUnset.js delete mode 100644 src/node_modules/lodash/_baseUpdate.js delete mode 100644 src/node_modules/lodash/_baseValues.js delete mode 100644 src/node_modules/lodash/_baseWhile.js delete mode 100644 src/node_modules/lodash/_baseWrapperValue.js delete mode 100644 src/node_modules/lodash/_baseXor.js delete mode 100644 src/node_modules/lodash/_baseZipObject.js delete mode 100644 src/node_modules/lodash/_cacheHas.js delete mode 100644 src/node_modules/lodash/_castArrayLikeObject.js delete mode 100644 src/node_modules/lodash/_castFunction.js delete mode 100644 src/node_modules/lodash/_castPath.js delete mode 100644 src/node_modules/lodash/_castRest.js delete mode 100644 src/node_modules/lodash/_castSlice.js delete mode 100644 src/node_modules/lodash/_charsEndIndex.js delete mode 100644 src/node_modules/lodash/_charsStartIndex.js delete mode 100644 src/node_modules/lodash/_cloneArrayBuffer.js delete mode 100644 src/node_modules/lodash/_cloneBuffer.js delete mode 100644 src/node_modules/lodash/_cloneDataView.js delete mode 100644 src/node_modules/lodash/_cloneMap.js delete mode 100644 src/node_modules/lodash/_cloneRegExp.js delete mode 100644 src/node_modules/lodash/_cloneSet.js delete mode 100644 src/node_modules/lodash/_cloneSymbol.js delete mode 100644 src/node_modules/lodash/_cloneTypedArray.js delete mode 100644 src/node_modules/lodash/_compareAscending.js delete mode 100644 src/node_modules/lodash/_compareMultiple.js delete mode 100644 src/node_modules/lodash/_composeArgs.js delete mode 100644 src/node_modules/lodash/_composeArgsRight.js delete mode 100644 src/node_modules/lodash/_copyArray.js delete mode 100644 src/node_modules/lodash/_copyObject.js delete mode 100644 src/node_modules/lodash/_copySymbols.js delete mode 100644 src/node_modules/lodash/_copySymbolsIn.js delete mode 100644 src/node_modules/lodash/_coreJsData.js delete mode 100644 src/node_modules/lodash/_countHolders.js delete mode 100644 src/node_modules/lodash/_createAggregator.js delete mode 100644 src/node_modules/lodash/_createAssigner.js delete mode 100644 src/node_modules/lodash/_createBaseEach.js delete mode 100644 src/node_modules/lodash/_createBaseFor.js delete mode 100644 src/node_modules/lodash/_createBind.js delete mode 100644 src/node_modules/lodash/_createCaseFirst.js delete mode 100644 src/node_modules/lodash/_createCompounder.js delete mode 100644 src/node_modules/lodash/_createCtor.js delete mode 100644 src/node_modules/lodash/_createCurry.js delete mode 100644 src/node_modules/lodash/_createFind.js delete mode 100644 src/node_modules/lodash/_createFlow.js delete mode 100644 src/node_modules/lodash/_createHybrid.js delete mode 100644 src/node_modules/lodash/_createInverter.js delete mode 100644 src/node_modules/lodash/_createMathOperation.js delete mode 100644 src/node_modules/lodash/_createOver.js delete mode 100644 src/node_modules/lodash/_createPadding.js delete mode 100644 src/node_modules/lodash/_createPartial.js delete mode 100644 src/node_modules/lodash/_createRange.js delete mode 100644 src/node_modules/lodash/_createRecurry.js delete mode 100644 src/node_modules/lodash/_createRelationalOperation.js delete mode 100644 src/node_modules/lodash/_createRound.js delete mode 100644 src/node_modules/lodash/_createSet.js delete mode 100644 src/node_modules/lodash/_createToPairs.js delete mode 100644 src/node_modules/lodash/_createWrap.js delete mode 100644 src/node_modules/lodash/_customDefaultsAssignIn.js delete mode 100644 src/node_modules/lodash/_customDefaultsMerge.js delete mode 100644 src/node_modules/lodash/_customOmitClone.js delete mode 100644 src/node_modules/lodash/_deburrLetter.js delete mode 100644 src/node_modules/lodash/_defineProperty.js delete mode 100644 src/node_modules/lodash/_equalArrays.js delete mode 100644 src/node_modules/lodash/_equalByTag.js delete mode 100644 src/node_modules/lodash/_equalObjects.js delete mode 100644 src/node_modules/lodash/_escapeHtmlChar.js delete mode 100644 src/node_modules/lodash/_escapeStringChar.js delete mode 100644 src/node_modules/lodash/_flatRest.js delete mode 100644 src/node_modules/lodash/_freeGlobal.js delete mode 100644 src/node_modules/lodash/_getAllKeys.js delete mode 100644 src/node_modules/lodash/_getAllKeysIn.js delete mode 100644 src/node_modules/lodash/_getData.js delete mode 100644 src/node_modules/lodash/_getFuncName.js delete mode 100644 src/node_modules/lodash/_getHolder.js delete mode 100644 src/node_modules/lodash/_getMapData.js delete mode 100644 src/node_modules/lodash/_getMatchData.js delete mode 100644 src/node_modules/lodash/_getNative.js delete mode 100644 src/node_modules/lodash/_getPrototype.js delete mode 100644 src/node_modules/lodash/_getRawTag.js delete mode 100644 src/node_modules/lodash/_getSymbols.js delete mode 100644 src/node_modules/lodash/_getSymbolsIn.js delete mode 100644 src/node_modules/lodash/_getTag.js delete mode 100644 src/node_modules/lodash/_getValue.js delete mode 100644 src/node_modules/lodash/_getView.js delete mode 100644 src/node_modules/lodash/_getWrapDetails.js delete mode 100644 src/node_modules/lodash/_hasPath.js delete mode 100644 src/node_modules/lodash/_hasUnicode.js delete mode 100644 src/node_modules/lodash/_hasUnicodeWord.js delete mode 100644 src/node_modules/lodash/_hashClear.js delete mode 100644 src/node_modules/lodash/_hashDelete.js delete mode 100644 src/node_modules/lodash/_hashGet.js delete mode 100644 src/node_modules/lodash/_hashHas.js delete mode 100644 src/node_modules/lodash/_hashSet.js delete mode 100644 src/node_modules/lodash/_initCloneArray.js delete mode 100644 src/node_modules/lodash/_initCloneByTag.js delete mode 100644 src/node_modules/lodash/_initCloneObject.js delete mode 100644 src/node_modules/lodash/_insertWrapDetails.js delete mode 100644 src/node_modules/lodash/_isFlattenable.js delete mode 100644 src/node_modules/lodash/_isIndex.js delete mode 100644 src/node_modules/lodash/_isIterateeCall.js delete mode 100644 src/node_modules/lodash/_isKey.js delete mode 100644 src/node_modules/lodash/_isKeyable.js delete mode 100644 src/node_modules/lodash/_isLaziable.js delete mode 100644 src/node_modules/lodash/_isMaskable.js delete mode 100644 src/node_modules/lodash/_isMasked.js delete mode 100644 src/node_modules/lodash/_isPrototype.js delete mode 100644 src/node_modules/lodash/_isStrictComparable.js delete mode 100644 src/node_modules/lodash/_iteratorToArray.js delete mode 100644 src/node_modules/lodash/_lazyClone.js delete mode 100644 src/node_modules/lodash/_lazyReverse.js delete mode 100644 src/node_modules/lodash/_lazyValue.js delete mode 100644 src/node_modules/lodash/_listCacheClear.js delete mode 100644 src/node_modules/lodash/_listCacheDelete.js delete mode 100644 src/node_modules/lodash/_listCacheGet.js delete mode 100644 src/node_modules/lodash/_listCacheHas.js delete mode 100644 src/node_modules/lodash/_listCacheSet.js delete mode 100644 src/node_modules/lodash/_mapCacheClear.js delete mode 100644 src/node_modules/lodash/_mapCacheDelete.js delete mode 100644 src/node_modules/lodash/_mapCacheGet.js delete mode 100644 src/node_modules/lodash/_mapCacheHas.js delete mode 100644 src/node_modules/lodash/_mapCacheSet.js delete mode 100644 src/node_modules/lodash/_mapToArray.js delete mode 100644 src/node_modules/lodash/_matchesStrictComparable.js delete mode 100644 src/node_modules/lodash/_memoizeCapped.js delete mode 100644 src/node_modules/lodash/_mergeData.js delete mode 100644 src/node_modules/lodash/_metaMap.js delete mode 100644 src/node_modules/lodash/_nativeCreate.js delete mode 100644 src/node_modules/lodash/_nativeKeys.js delete mode 100644 src/node_modules/lodash/_nativeKeysIn.js delete mode 100644 src/node_modules/lodash/_nodeUtil.js delete mode 100644 src/node_modules/lodash/_objectToString.js delete mode 100644 src/node_modules/lodash/_overArg.js delete mode 100644 src/node_modules/lodash/_overRest.js delete mode 100644 src/node_modules/lodash/_parent.js delete mode 100644 src/node_modules/lodash/_reEscape.js delete mode 100644 src/node_modules/lodash/_reEvaluate.js delete mode 100644 src/node_modules/lodash/_reInterpolate.js delete mode 100644 src/node_modules/lodash/_realNames.js delete mode 100644 src/node_modules/lodash/_reorder.js delete mode 100644 src/node_modules/lodash/_replaceHolders.js delete mode 100644 src/node_modules/lodash/_root.js delete mode 100644 src/node_modules/lodash/_setCacheAdd.js delete mode 100644 src/node_modules/lodash/_setCacheHas.js delete mode 100644 src/node_modules/lodash/_setData.js delete mode 100644 src/node_modules/lodash/_setToArray.js delete mode 100644 src/node_modules/lodash/_setToPairs.js delete mode 100644 src/node_modules/lodash/_setToString.js delete mode 100644 src/node_modules/lodash/_setWrapToString.js delete mode 100644 src/node_modules/lodash/_shortOut.js delete mode 100644 src/node_modules/lodash/_shuffleSelf.js delete mode 100644 src/node_modules/lodash/_stackClear.js delete mode 100644 src/node_modules/lodash/_stackDelete.js delete mode 100644 src/node_modules/lodash/_stackGet.js delete mode 100644 src/node_modules/lodash/_stackHas.js delete mode 100644 src/node_modules/lodash/_stackSet.js delete mode 100644 src/node_modules/lodash/_strictIndexOf.js delete mode 100644 src/node_modules/lodash/_strictLastIndexOf.js delete mode 100644 src/node_modules/lodash/_stringSize.js delete mode 100644 src/node_modules/lodash/_stringToArray.js delete mode 100644 src/node_modules/lodash/_stringToPath.js delete mode 100644 src/node_modules/lodash/_toKey.js delete mode 100644 src/node_modules/lodash/_toSource.js delete mode 100644 src/node_modules/lodash/_unescapeHtmlChar.js delete mode 100644 src/node_modules/lodash/_unicodeSize.js delete mode 100644 src/node_modules/lodash/_unicodeToArray.js delete mode 100644 src/node_modules/lodash/_unicodeWords.js delete mode 100644 src/node_modules/lodash/_updateWrapDetails.js delete mode 100644 src/node_modules/lodash/_wrapperClone.js delete mode 100644 src/node_modules/lodash/add.js delete mode 100644 src/node_modules/lodash/after.js delete mode 100644 src/node_modules/lodash/array.js delete mode 100644 src/node_modules/lodash/ary.js delete mode 100644 src/node_modules/lodash/assign.js delete mode 100644 src/node_modules/lodash/assignIn.js delete mode 100644 src/node_modules/lodash/assignInWith.js delete mode 100644 src/node_modules/lodash/assignWith.js delete mode 100644 src/node_modules/lodash/at.js delete mode 100644 src/node_modules/lodash/attempt.js delete mode 100644 src/node_modules/lodash/before.js delete mode 100644 src/node_modules/lodash/bind.js delete mode 100644 src/node_modules/lodash/bindAll.js delete mode 100644 src/node_modules/lodash/bindKey.js delete mode 100644 src/node_modules/lodash/camelCase.js delete mode 100644 src/node_modules/lodash/capitalize.js delete mode 100644 src/node_modules/lodash/castArray.js delete mode 100644 src/node_modules/lodash/ceil.js delete mode 100644 src/node_modules/lodash/chain.js delete mode 100644 src/node_modules/lodash/chunk.js delete mode 100644 src/node_modules/lodash/clamp.js delete mode 100644 src/node_modules/lodash/clone.js delete mode 100644 src/node_modules/lodash/cloneDeep.js delete mode 100644 src/node_modules/lodash/cloneDeepWith.js delete mode 100644 src/node_modules/lodash/cloneWith.js delete mode 100644 src/node_modules/lodash/collection.js delete mode 100644 src/node_modules/lodash/commit.js delete mode 100644 src/node_modules/lodash/compact.js delete mode 100644 src/node_modules/lodash/concat.js delete mode 100644 src/node_modules/lodash/cond.js delete mode 100644 src/node_modules/lodash/conforms.js delete mode 100644 src/node_modules/lodash/conformsTo.js delete mode 100644 src/node_modules/lodash/constant.js delete mode 100644 src/node_modules/lodash/core.js delete mode 100644 src/node_modules/lodash/core.min.js delete mode 100644 src/node_modules/lodash/countBy.js delete mode 100644 src/node_modules/lodash/create.js delete mode 100644 src/node_modules/lodash/curry.js delete mode 100644 src/node_modules/lodash/curryRight.js delete mode 100644 src/node_modules/lodash/date.js delete mode 100644 src/node_modules/lodash/debounce.js delete mode 100644 src/node_modules/lodash/deburr.js delete mode 100644 src/node_modules/lodash/defaultTo.js delete mode 100644 src/node_modules/lodash/defaults.js delete mode 100644 src/node_modules/lodash/defaultsDeep.js delete mode 100644 src/node_modules/lodash/defer.js delete mode 100644 src/node_modules/lodash/delay.js delete mode 100644 src/node_modules/lodash/difference.js delete mode 100644 src/node_modules/lodash/differenceBy.js delete mode 100644 src/node_modules/lodash/differenceWith.js delete mode 100644 src/node_modules/lodash/divide.js delete mode 100644 src/node_modules/lodash/drop.js delete mode 100644 src/node_modules/lodash/dropRight.js delete mode 100644 src/node_modules/lodash/dropRightWhile.js delete mode 100644 src/node_modules/lodash/dropWhile.js delete mode 100644 src/node_modules/lodash/each.js delete mode 100644 src/node_modules/lodash/eachRight.js delete mode 100644 src/node_modules/lodash/endsWith.js delete mode 100644 src/node_modules/lodash/entries.js delete mode 100644 src/node_modules/lodash/entriesIn.js delete mode 100644 src/node_modules/lodash/eq.js delete mode 100644 src/node_modules/lodash/escape.js delete mode 100644 src/node_modules/lodash/escapeRegExp.js delete mode 100644 src/node_modules/lodash/every.js delete mode 100644 src/node_modules/lodash/extend.js delete mode 100644 src/node_modules/lodash/extendWith.js delete mode 100644 src/node_modules/lodash/fill.js delete mode 100644 src/node_modules/lodash/filter.js delete mode 100644 src/node_modules/lodash/find.js delete mode 100644 src/node_modules/lodash/findIndex.js delete mode 100644 src/node_modules/lodash/findKey.js delete mode 100644 src/node_modules/lodash/findLast.js delete mode 100644 src/node_modules/lodash/findLastIndex.js delete mode 100644 src/node_modules/lodash/findLastKey.js delete mode 100644 src/node_modules/lodash/first.js delete mode 100644 src/node_modules/lodash/flatMap.js delete mode 100644 src/node_modules/lodash/flatMapDeep.js delete mode 100644 src/node_modules/lodash/flatMapDepth.js delete mode 100644 src/node_modules/lodash/flatten.js delete mode 100644 src/node_modules/lodash/flattenDeep.js delete mode 100644 src/node_modules/lodash/flattenDepth.js delete mode 100644 src/node_modules/lodash/flip.js delete mode 100644 src/node_modules/lodash/floor.js delete mode 100644 src/node_modules/lodash/flow.js delete mode 100644 src/node_modules/lodash/flowRight.js delete mode 100644 src/node_modules/lodash/forEach.js delete mode 100644 src/node_modules/lodash/forEachRight.js delete mode 100644 src/node_modules/lodash/forIn.js delete mode 100644 src/node_modules/lodash/forInRight.js delete mode 100644 src/node_modules/lodash/forOwn.js delete mode 100644 src/node_modules/lodash/forOwnRight.js delete mode 100644 src/node_modules/lodash/fp.js delete mode 100644 src/node_modules/lodash/fp/F.js delete mode 100644 src/node_modules/lodash/fp/T.js delete mode 100644 src/node_modules/lodash/fp/__.js delete mode 100644 src/node_modules/lodash/fp/_baseConvert.js delete mode 100644 src/node_modules/lodash/fp/_convertBrowser.js delete mode 100644 src/node_modules/lodash/fp/_falseOptions.js delete mode 100644 src/node_modules/lodash/fp/_mapping.js delete mode 100644 src/node_modules/lodash/fp/_util.js delete mode 100644 src/node_modules/lodash/fp/add.js delete mode 100644 src/node_modules/lodash/fp/after.js delete mode 100644 src/node_modules/lodash/fp/all.js delete mode 100644 src/node_modules/lodash/fp/allPass.js delete mode 100644 src/node_modules/lodash/fp/always.js delete mode 100644 src/node_modules/lodash/fp/any.js delete mode 100644 src/node_modules/lodash/fp/anyPass.js delete mode 100644 src/node_modules/lodash/fp/apply.js delete mode 100644 src/node_modules/lodash/fp/array.js delete mode 100644 src/node_modules/lodash/fp/ary.js delete mode 100644 src/node_modules/lodash/fp/assign.js delete mode 100644 src/node_modules/lodash/fp/assignAll.js delete mode 100644 src/node_modules/lodash/fp/assignAllWith.js delete mode 100644 src/node_modules/lodash/fp/assignIn.js delete mode 100644 src/node_modules/lodash/fp/assignInAll.js delete mode 100644 src/node_modules/lodash/fp/assignInAllWith.js delete mode 100644 src/node_modules/lodash/fp/assignInWith.js delete mode 100644 src/node_modules/lodash/fp/assignWith.js delete mode 100644 src/node_modules/lodash/fp/assoc.js delete mode 100644 src/node_modules/lodash/fp/assocPath.js delete mode 100644 src/node_modules/lodash/fp/at.js delete mode 100644 src/node_modules/lodash/fp/attempt.js delete mode 100644 src/node_modules/lodash/fp/before.js delete mode 100644 src/node_modules/lodash/fp/bind.js delete mode 100644 src/node_modules/lodash/fp/bindAll.js delete mode 100644 src/node_modules/lodash/fp/bindKey.js delete mode 100644 src/node_modules/lodash/fp/camelCase.js delete mode 100644 src/node_modules/lodash/fp/capitalize.js delete mode 100644 src/node_modules/lodash/fp/castArray.js delete mode 100644 src/node_modules/lodash/fp/ceil.js delete mode 100644 src/node_modules/lodash/fp/chain.js delete mode 100644 src/node_modules/lodash/fp/chunk.js delete mode 100644 src/node_modules/lodash/fp/clamp.js delete mode 100644 src/node_modules/lodash/fp/clone.js delete mode 100644 src/node_modules/lodash/fp/cloneDeep.js delete mode 100644 src/node_modules/lodash/fp/cloneDeepWith.js delete mode 100644 src/node_modules/lodash/fp/cloneWith.js delete mode 100644 src/node_modules/lodash/fp/collection.js delete mode 100644 src/node_modules/lodash/fp/commit.js delete mode 100644 src/node_modules/lodash/fp/compact.js delete mode 100644 src/node_modules/lodash/fp/complement.js delete mode 100644 src/node_modules/lodash/fp/compose.js delete mode 100644 src/node_modules/lodash/fp/concat.js delete mode 100644 src/node_modules/lodash/fp/cond.js delete mode 100644 src/node_modules/lodash/fp/conforms.js delete mode 100644 src/node_modules/lodash/fp/conformsTo.js delete mode 100644 src/node_modules/lodash/fp/constant.js delete mode 100644 src/node_modules/lodash/fp/contains.js delete mode 100644 src/node_modules/lodash/fp/convert.js delete mode 100644 src/node_modules/lodash/fp/countBy.js delete mode 100644 src/node_modules/lodash/fp/create.js delete mode 100644 src/node_modules/lodash/fp/curry.js delete mode 100644 src/node_modules/lodash/fp/curryN.js delete mode 100644 src/node_modules/lodash/fp/curryRight.js delete mode 100644 src/node_modules/lodash/fp/curryRightN.js delete mode 100644 src/node_modules/lodash/fp/date.js delete mode 100644 src/node_modules/lodash/fp/debounce.js delete mode 100644 src/node_modules/lodash/fp/deburr.js delete mode 100644 src/node_modules/lodash/fp/defaultTo.js delete mode 100644 src/node_modules/lodash/fp/defaults.js delete mode 100644 src/node_modules/lodash/fp/defaultsAll.js delete mode 100644 src/node_modules/lodash/fp/defaultsDeep.js delete mode 100644 src/node_modules/lodash/fp/defaultsDeepAll.js delete mode 100644 src/node_modules/lodash/fp/defer.js delete mode 100644 src/node_modules/lodash/fp/delay.js delete mode 100644 src/node_modules/lodash/fp/difference.js delete mode 100644 src/node_modules/lodash/fp/differenceBy.js delete mode 100644 src/node_modules/lodash/fp/differenceWith.js delete mode 100644 src/node_modules/lodash/fp/dissoc.js delete mode 100644 src/node_modules/lodash/fp/dissocPath.js delete mode 100644 src/node_modules/lodash/fp/divide.js delete mode 100644 src/node_modules/lodash/fp/drop.js delete mode 100644 src/node_modules/lodash/fp/dropLast.js delete mode 100644 src/node_modules/lodash/fp/dropLastWhile.js delete mode 100644 src/node_modules/lodash/fp/dropRight.js delete mode 100644 src/node_modules/lodash/fp/dropRightWhile.js delete mode 100644 src/node_modules/lodash/fp/dropWhile.js delete mode 100644 src/node_modules/lodash/fp/each.js delete mode 100644 src/node_modules/lodash/fp/eachRight.js delete mode 100644 src/node_modules/lodash/fp/endsWith.js delete mode 100644 src/node_modules/lodash/fp/entries.js delete mode 100644 src/node_modules/lodash/fp/entriesIn.js delete mode 100644 src/node_modules/lodash/fp/eq.js delete mode 100644 src/node_modules/lodash/fp/equals.js delete mode 100644 src/node_modules/lodash/fp/escape.js delete mode 100644 src/node_modules/lodash/fp/escapeRegExp.js delete mode 100644 src/node_modules/lodash/fp/every.js delete mode 100644 src/node_modules/lodash/fp/extend.js delete mode 100644 src/node_modules/lodash/fp/extendAll.js delete mode 100644 src/node_modules/lodash/fp/extendAllWith.js delete mode 100644 src/node_modules/lodash/fp/extendWith.js delete mode 100644 src/node_modules/lodash/fp/fill.js delete mode 100644 src/node_modules/lodash/fp/filter.js delete mode 100644 src/node_modules/lodash/fp/find.js delete mode 100644 src/node_modules/lodash/fp/findFrom.js delete mode 100644 src/node_modules/lodash/fp/findIndex.js delete mode 100644 src/node_modules/lodash/fp/findIndexFrom.js delete mode 100644 src/node_modules/lodash/fp/findKey.js delete mode 100644 src/node_modules/lodash/fp/findLast.js delete mode 100644 src/node_modules/lodash/fp/findLastFrom.js delete mode 100644 src/node_modules/lodash/fp/findLastIndex.js delete mode 100644 src/node_modules/lodash/fp/findLastIndexFrom.js delete mode 100644 src/node_modules/lodash/fp/findLastKey.js delete mode 100644 src/node_modules/lodash/fp/first.js delete mode 100644 src/node_modules/lodash/fp/flatMap.js delete mode 100644 src/node_modules/lodash/fp/flatMapDeep.js delete mode 100644 src/node_modules/lodash/fp/flatMapDepth.js delete mode 100644 src/node_modules/lodash/fp/flatten.js delete mode 100644 src/node_modules/lodash/fp/flattenDeep.js delete mode 100644 src/node_modules/lodash/fp/flattenDepth.js delete mode 100644 src/node_modules/lodash/fp/flip.js delete mode 100644 src/node_modules/lodash/fp/floor.js delete mode 100644 src/node_modules/lodash/fp/flow.js delete mode 100644 src/node_modules/lodash/fp/flowRight.js delete mode 100644 src/node_modules/lodash/fp/forEach.js delete mode 100644 src/node_modules/lodash/fp/forEachRight.js delete mode 100644 src/node_modules/lodash/fp/forIn.js delete mode 100644 src/node_modules/lodash/fp/forInRight.js delete mode 100644 src/node_modules/lodash/fp/forOwn.js delete mode 100644 src/node_modules/lodash/fp/forOwnRight.js delete mode 100644 src/node_modules/lodash/fp/fromPairs.js delete mode 100644 src/node_modules/lodash/fp/function.js delete mode 100644 src/node_modules/lodash/fp/functions.js delete mode 100644 src/node_modules/lodash/fp/functionsIn.js delete mode 100644 src/node_modules/lodash/fp/get.js delete mode 100644 src/node_modules/lodash/fp/getOr.js delete mode 100644 src/node_modules/lodash/fp/groupBy.js delete mode 100644 src/node_modules/lodash/fp/gt.js delete mode 100644 src/node_modules/lodash/fp/gte.js delete mode 100644 src/node_modules/lodash/fp/has.js delete mode 100644 src/node_modules/lodash/fp/hasIn.js delete mode 100644 src/node_modules/lodash/fp/head.js delete mode 100644 src/node_modules/lodash/fp/identical.js delete mode 100644 src/node_modules/lodash/fp/identity.js delete mode 100644 src/node_modules/lodash/fp/inRange.js delete mode 100644 src/node_modules/lodash/fp/includes.js delete mode 100644 src/node_modules/lodash/fp/includesFrom.js delete mode 100644 src/node_modules/lodash/fp/indexBy.js delete mode 100644 src/node_modules/lodash/fp/indexOf.js delete mode 100644 src/node_modules/lodash/fp/indexOfFrom.js delete mode 100644 src/node_modules/lodash/fp/init.js delete mode 100644 src/node_modules/lodash/fp/initial.js delete mode 100644 src/node_modules/lodash/fp/intersection.js delete mode 100644 src/node_modules/lodash/fp/intersectionBy.js delete mode 100644 src/node_modules/lodash/fp/intersectionWith.js delete mode 100644 src/node_modules/lodash/fp/invert.js delete mode 100644 src/node_modules/lodash/fp/invertBy.js delete mode 100644 src/node_modules/lodash/fp/invertObj.js delete mode 100644 src/node_modules/lodash/fp/invoke.js delete mode 100644 src/node_modules/lodash/fp/invokeArgs.js delete mode 100644 src/node_modules/lodash/fp/invokeArgsMap.js delete mode 100644 src/node_modules/lodash/fp/invokeMap.js delete mode 100644 src/node_modules/lodash/fp/isArguments.js delete mode 100644 src/node_modules/lodash/fp/isArray.js delete mode 100644 src/node_modules/lodash/fp/isArrayBuffer.js delete mode 100644 src/node_modules/lodash/fp/isArrayLike.js delete mode 100644 src/node_modules/lodash/fp/isArrayLikeObject.js delete mode 100644 src/node_modules/lodash/fp/isBoolean.js delete mode 100644 src/node_modules/lodash/fp/isBuffer.js delete mode 100644 src/node_modules/lodash/fp/isDate.js delete mode 100644 src/node_modules/lodash/fp/isElement.js delete mode 100644 src/node_modules/lodash/fp/isEmpty.js delete mode 100644 src/node_modules/lodash/fp/isEqual.js delete mode 100644 src/node_modules/lodash/fp/isEqualWith.js delete mode 100644 src/node_modules/lodash/fp/isError.js delete mode 100644 src/node_modules/lodash/fp/isFinite.js delete mode 100644 src/node_modules/lodash/fp/isFunction.js delete mode 100644 src/node_modules/lodash/fp/isInteger.js delete mode 100644 src/node_modules/lodash/fp/isLength.js delete mode 100644 src/node_modules/lodash/fp/isMap.js delete mode 100644 src/node_modules/lodash/fp/isMatch.js delete mode 100644 src/node_modules/lodash/fp/isMatchWith.js delete mode 100644 src/node_modules/lodash/fp/isNaN.js delete mode 100644 src/node_modules/lodash/fp/isNative.js delete mode 100644 src/node_modules/lodash/fp/isNil.js delete mode 100644 src/node_modules/lodash/fp/isNull.js delete mode 100644 src/node_modules/lodash/fp/isNumber.js delete mode 100644 src/node_modules/lodash/fp/isObject.js delete mode 100644 src/node_modules/lodash/fp/isObjectLike.js delete mode 100644 src/node_modules/lodash/fp/isPlainObject.js delete mode 100644 src/node_modules/lodash/fp/isRegExp.js delete mode 100644 src/node_modules/lodash/fp/isSafeInteger.js delete mode 100644 src/node_modules/lodash/fp/isSet.js delete mode 100644 src/node_modules/lodash/fp/isString.js delete mode 100644 src/node_modules/lodash/fp/isSymbol.js delete mode 100644 src/node_modules/lodash/fp/isTypedArray.js delete mode 100644 src/node_modules/lodash/fp/isUndefined.js delete mode 100644 src/node_modules/lodash/fp/isWeakMap.js delete mode 100644 src/node_modules/lodash/fp/isWeakSet.js delete mode 100644 src/node_modules/lodash/fp/iteratee.js delete mode 100644 src/node_modules/lodash/fp/join.js delete mode 100644 src/node_modules/lodash/fp/juxt.js delete mode 100644 src/node_modules/lodash/fp/kebabCase.js delete mode 100644 src/node_modules/lodash/fp/keyBy.js delete mode 100644 src/node_modules/lodash/fp/keys.js delete mode 100644 src/node_modules/lodash/fp/keysIn.js delete mode 100644 src/node_modules/lodash/fp/lang.js delete mode 100644 src/node_modules/lodash/fp/last.js delete mode 100644 src/node_modules/lodash/fp/lastIndexOf.js delete mode 100644 src/node_modules/lodash/fp/lastIndexOfFrom.js delete mode 100644 src/node_modules/lodash/fp/lowerCase.js delete mode 100644 src/node_modules/lodash/fp/lowerFirst.js delete mode 100644 src/node_modules/lodash/fp/lt.js delete mode 100644 src/node_modules/lodash/fp/lte.js delete mode 100644 src/node_modules/lodash/fp/map.js delete mode 100644 src/node_modules/lodash/fp/mapKeys.js delete mode 100644 src/node_modules/lodash/fp/mapValues.js delete mode 100644 src/node_modules/lodash/fp/matches.js delete mode 100644 src/node_modules/lodash/fp/matchesProperty.js delete mode 100644 src/node_modules/lodash/fp/math.js delete mode 100644 src/node_modules/lodash/fp/max.js delete mode 100644 src/node_modules/lodash/fp/maxBy.js delete mode 100644 src/node_modules/lodash/fp/mean.js delete mode 100644 src/node_modules/lodash/fp/meanBy.js delete mode 100644 src/node_modules/lodash/fp/memoize.js delete mode 100644 src/node_modules/lodash/fp/merge.js delete mode 100644 src/node_modules/lodash/fp/mergeAll.js delete mode 100644 src/node_modules/lodash/fp/mergeAllWith.js delete mode 100644 src/node_modules/lodash/fp/mergeWith.js delete mode 100644 src/node_modules/lodash/fp/method.js delete mode 100644 src/node_modules/lodash/fp/methodOf.js delete mode 100644 src/node_modules/lodash/fp/min.js delete mode 100644 src/node_modules/lodash/fp/minBy.js delete mode 100644 src/node_modules/lodash/fp/mixin.js delete mode 100644 src/node_modules/lodash/fp/multiply.js delete mode 100644 src/node_modules/lodash/fp/nAry.js delete mode 100644 src/node_modules/lodash/fp/negate.js delete mode 100644 src/node_modules/lodash/fp/next.js delete mode 100644 src/node_modules/lodash/fp/noop.js delete mode 100644 src/node_modules/lodash/fp/now.js delete mode 100644 src/node_modules/lodash/fp/nth.js delete mode 100644 src/node_modules/lodash/fp/nthArg.js delete mode 100644 src/node_modules/lodash/fp/number.js delete mode 100644 src/node_modules/lodash/fp/object.js delete mode 100644 src/node_modules/lodash/fp/omit.js delete mode 100644 src/node_modules/lodash/fp/omitAll.js delete mode 100644 src/node_modules/lodash/fp/omitBy.js delete mode 100644 src/node_modules/lodash/fp/once.js delete mode 100644 src/node_modules/lodash/fp/orderBy.js delete mode 100644 src/node_modules/lodash/fp/over.js delete mode 100644 src/node_modules/lodash/fp/overArgs.js delete mode 100644 src/node_modules/lodash/fp/overEvery.js delete mode 100644 src/node_modules/lodash/fp/overSome.js delete mode 100644 src/node_modules/lodash/fp/pad.js delete mode 100644 src/node_modules/lodash/fp/padChars.js delete mode 100644 src/node_modules/lodash/fp/padCharsEnd.js delete mode 100644 src/node_modules/lodash/fp/padCharsStart.js delete mode 100644 src/node_modules/lodash/fp/padEnd.js delete mode 100644 src/node_modules/lodash/fp/padStart.js delete mode 100644 src/node_modules/lodash/fp/parseInt.js delete mode 100644 src/node_modules/lodash/fp/partial.js delete mode 100644 src/node_modules/lodash/fp/partialRight.js delete mode 100644 src/node_modules/lodash/fp/partition.js delete mode 100644 src/node_modules/lodash/fp/path.js delete mode 100644 src/node_modules/lodash/fp/pathEq.js delete mode 100644 src/node_modules/lodash/fp/pathOr.js delete mode 100644 src/node_modules/lodash/fp/paths.js delete mode 100644 src/node_modules/lodash/fp/pick.js delete mode 100644 src/node_modules/lodash/fp/pickAll.js delete mode 100644 src/node_modules/lodash/fp/pickBy.js delete mode 100644 src/node_modules/lodash/fp/pipe.js delete mode 100644 src/node_modules/lodash/fp/placeholder.js delete mode 100644 src/node_modules/lodash/fp/plant.js delete mode 100644 src/node_modules/lodash/fp/pluck.js delete mode 100644 src/node_modules/lodash/fp/prop.js delete mode 100644 src/node_modules/lodash/fp/propEq.js delete mode 100644 src/node_modules/lodash/fp/propOr.js delete mode 100644 src/node_modules/lodash/fp/property.js delete mode 100644 src/node_modules/lodash/fp/propertyOf.js delete mode 100644 src/node_modules/lodash/fp/props.js delete mode 100644 src/node_modules/lodash/fp/pull.js delete mode 100644 src/node_modules/lodash/fp/pullAll.js delete mode 100644 src/node_modules/lodash/fp/pullAllBy.js delete mode 100644 src/node_modules/lodash/fp/pullAllWith.js delete mode 100644 src/node_modules/lodash/fp/pullAt.js delete mode 100644 src/node_modules/lodash/fp/random.js delete mode 100644 src/node_modules/lodash/fp/range.js delete mode 100644 src/node_modules/lodash/fp/rangeRight.js delete mode 100644 src/node_modules/lodash/fp/rangeStep.js delete mode 100644 src/node_modules/lodash/fp/rangeStepRight.js delete mode 100644 src/node_modules/lodash/fp/rearg.js delete mode 100644 src/node_modules/lodash/fp/reduce.js delete mode 100644 src/node_modules/lodash/fp/reduceRight.js delete mode 100644 src/node_modules/lodash/fp/reject.js delete mode 100644 src/node_modules/lodash/fp/remove.js delete mode 100644 src/node_modules/lodash/fp/repeat.js delete mode 100644 src/node_modules/lodash/fp/replace.js delete mode 100644 src/node_modules/lodash/fp/rest.js delete mode 100644 src/node_modules/lodash/fp/restFrom.js delete mode 100644 src/node_modules/lodash/fp/result.js delete mode 100644 src/node_modules/lodash/fp/reverse.js delete mode 100644 src/node_modules/lodash/fp/round.js delete mode 100644 src/node_modules/lodash/fp/sample.js delete mode 100644 src/node_modules/lodash/fp/sampleSize.js delete mode 100644 src/node_modules/lodash/fp/seq.js delete mode 100644 src/node_modules/lodash/fp/set.js delete mode 100644 src/node_modules/lodash/fp/setWith.js delete mode 100644 src/node_modules/lodash/fp/shuffle.js delete mode 100644 src/node_modules/lodash/fp/size.js delete mode 100644 src/node_modules/lodash/fp/slice.js delete mode 100644 src/node_modules/lodash/fp/snakeCase.js delete mode 100644 src/node_modules/lodash/fp/some.js delete mode 100644 src/node_modules/lodash/fp/sortBy.js delete mode 100644 src/node_modules/lodash/fp/sortedIndex.js delete mode 100644 src/node_modules/lodash/fp/sortedIndexBy.js delete mode 100644 src/node_modules/lodash/fp/sortedIndexOf.js delete mode 100644 src/node_modules/lodash/fp/sortedLastIndex.js delete mode 100644 src/node_modules/lodash/fp/sortedLastIndexBy.js delete mode 100644 src/node_modules/lodash/fp/sortedLastIndexOf.js delete mode 100644 src/node_modules/lodash/fp/sortedUniq.js delete mode 100644 src/node_modules/lodash/fp/sortedUniqBy.js delete mode 100644 src/node_modules/lodash/fp/split.js delete mode 100644 src/node_modules/lodash/fp/spread.js delete mode 100644 src/node_modules/lodash/fp/spreadFrom.js delete mode 100644 src/node_modules/lodash/fp/startCase.js delete mode 100644 src/node_modules/lodash/fp/startsWith.js delete mode 100644 src/node_modules/lodash/fp/string.js delete mode 100644 src/node_modules/lodash/fp/stubArray.js delete mode 100644 src/node_modules/lodash/fp/stubFalse.js delete mode 100644 src/node_modules/lodash/fp/stubObject.js delete mode 100644 src/node_modules/lodash/fp/stubString.js delete mode 100644 src/node_modules/lodash/fp/stubTrue.js delete mode 100644 src/node_modules/lodash/fp/subtract.js delete mode 100644 src/node_modules/lodash/fp/sum.js delete mode 100644 src/node_modules/lodash/fp/sumBy.js delete mode 100644 src/node_modules/lodash/fp/symmetricDifference.js delete mode 100644 src/node_modules/lodash/fp/symmetricDifferenceBy.js delete mode 100644 src/node_modules/lodash/fp/symmetricDifferenceWith.js delete mode 100644 src/node_modules/lodash/fp/tail.js delete mode 100644 src/node_modules/lodash/fp/take.js delete mode 100644 src/node_modules/lodash/fp/takeLast.js delete mode 100644 src/node_modules/lodash/fp/takeLastWhile.js delete mode 100644 src/node_modules/lodash/fp/takeRight.js delete mode 100644 src/node_modules/lodash/fp/takeRightWhile.js delete mode 100644 src/node_modules/lodash/fp/takeWhile.js delete mode 100644 src/node_modules/lodash/fp/tap.js delete mode 100644 src/node_modules/lodash/fp/template.js delete mode 100644 src/node_modules/lodash/fp/templateSettings.js delete mode 100644 src/node_modules/lodash/fp/throttle.js delete mode 100644 src/node_modules/lodash/fp/thru.js delete mode 100644 src/node_modules/lodash/fp/times.js delete mode 100644 src/node_modules/lodash/fp/toArray.js delete mode 100644 src/node_modules/lodash/fp/toFinite.js delete mode 100644 src/node_modules/lodash/fp/toInteger.js delete mode 100644 src/node_modules/lodash/fp/toIterator.js delete mode 100644 src/node_modules/lodash/fp/toJSON.js delete mode 100644 src/node_modules/lodash/fp/toLength.js delete mode 100644 src/node_modules/lodash/fp/toLower.js delete mode 100644 src/node_modules/lodash/fp/toNumber.js delete mode 100644 src/node_modules/lodash/fp/toPairs.js delete mode 100644 src/node_modules/lodash/fp/toPairsIn.js delete mode 100644 src/node_modules/lodash/fp/toPath.js delete mode 100644 src/node_modules/lodash/fp/toPlainObject.js delete mode 100644 src/node_modules/lodash/fp/toSafeInteger.js delete mode 100644 src/node_modules/lodash/fp/toString.js delete mode 100644 src/node_modules/lodash/fp/toUpper.js delete mode 100644 src/node_modules/lodash/fp/transform.js delete mode 100644 src/node_modules/lodash/fp/trim.js delete mode 100644 src/node_modules/lodash/fp/trimChars.js delete mode 100644 src/node_modules/lodash/fp/trimCharsEnd.js delete mode 100644 src/node_modules/lodash/fp/trimCharsStart.js delete mode 100644 src/node_modules/lodash/fp/trimEnd.js delete mode 100644 src/node_modules/lodash/fp/trimStart.js delete mode 100644 src/node_modules/lodash/fp/truncate.js delete mode 100644 src/node_modules/lodash/fp/unapply.js delete mode 100644 src/node_modules/lodash/fp/unary.js delete mode 100644 src/node_modules/lodash/fp/unescape.js delete mode 100644 src/node_modules/lodash/fp/union.js delete mode 100644 src/node_modules/lodash/fp/unionBy.js delete mode 100644 src/node_modules/lodash/fp/unionWith.js delete mode 100644 src/node_modules/lodash/fp/uniq.js delete mode 100644 src/node_modules/lodash/fp/uniqBy.js delete mode 100644 src/node_modules/lodash/fp/uniqWith.js delete mode 100644 src/node_modules/lodash/fp/uniqueId.js delete mode 100644 src/node_modules/lodash/fp/unnest.js delete mode 100644 src/node_modules/lodash/fp/unset.js delete mode 100644 src/node_modules/lodash/fp/unzip.js delete mode 100644 src/node_modules/lodash/fp/unzipWith.js delete mode 100644 src/node_modules/lodash/fp/update.js delete mode 100644 src/node_modules/lodash/fp/updateWith.js delete mode 100644 src/node_modules/lodash/fp/upperCase.js delete mode 100644 src/node_modules/lodash/fp/upperFirst.js delete mode 100644 src/node_modules/lodash/fp/useWith.js delete mode 100644 src/node_modules/lodash/fp/util.js delete mode 100644 src/node_modules/lodash/fp/value.js delete mode 100644 src/node_modules/lodash/fp/valueOf.js delete mode 100644 src/node_modules/lodash/fp/values.js delete mode 100644 src/node_modules/lodash/fp/valuesIn.js delete mode 100644 src/node_modules/lodash/fp/where.js delete mode 100644 src/node_modules/lodash/fp/whereEq.js delete mode 100644 src/node_modules/lodash/fp/without.js delete mode 100644 src/node_modules/lodash/fp/words.js delete mode 100644 src/node_modules/lodash/fp/wrap.js delete mode 100644 src/node_modules/lodash/fp/wrapperAt.js delete mode 100644 src/node_modules/lodash/fp/wrapperChain.js delete mode 100644 src/node_modules/lodash/fp/wrapperLodash.js delete mode 100644 src/node_modules/lodash/fp/wrapperReverse.js delete mode 100644 src/node_modules/lodash/fp/wrapperValue.js delete mode 100644 src/node_modules/lodash/fp/xor.js delete mode 100644 src/node_modules/lodash/fp/xorBy.js delete mode 100644 src/node_modules/lodash/fp/xorWith.js delete mode 100644 src/node_modules/lodash/fp/zip.js delete mode 100644 src/node_modules/lodash/fp/zipAll.js delete mode 100644 src/node_modules/lodash/fp/zipObj.js delete mode 100644 src/node_modules/lodash/fp/zipObject.js delete mode 100644 src/node_modules/lodash/fp/zipObjectDeep.js delete mode 100644 src/node_modules/lodash/fp/zipWith.js delete mode 100644 src/node_modules/lodash/fromPairs.js delete mode 100644 src/node_modules/lodash/function.js delete mode 100644 src/node_modules/lodash/functions.js delete mode 100644 src/node_modules/lodash/functionsIn.js delete mode 100644 src/node_modules/lodash/get.js delete mode 100644 src/node_modules/lodash/groupBy.js delete mode 100644 src/node_modules/lodash/gt.js delete mode 100644 src/node_modules/lodash/gte.js delete mode 100644 src/node_modules/lodash/has.js delete mode 100644 src/node_modules/lodash/hasIn.js delete mode 100644 src/node_modules/lodash/head.js delete mode 100644 src/node_modules/lodash/identity.js delete mode 100644 src/node_modules/lodash/inRange.js delete mode 100644 src/node_modules/lodash/includes.js delete mode 100644 src/node_modules/lodash/index.js delete mode 100644 src/node_modules/lodash/indexOf.js delete mode 100644 src/node_modules/lodash/initial.js delete mode 100644 src/node_modules/lodash/intersection.js delete mode 100644 src/node_modules/lodash/intersectionBy.js delete mode 100644 src/node_modules/lodash/intersectionWith.js delete mode 100644 src/node_modules/lodash/invert.js delete mode 100644 src/node_modules/lodash/invertBy.js delete mode 100644 src/node_modules/lodash/invoke.js delete mode 100644 src/node_modules/lodash/invokeMap.js delete mode 100644 src/node_modules/lodash/isArguments.js delete mode 100644 src/node_modules/lodash/isArray.js delete mode 100644 src/node_modules/lodash/isArrayBuffer.js delete mode 100644 src/node_modules/lodash/isArrayLike.js delete mode 100644 src/node_modules/lodash/isArrayLikeObject.js delete mode 100644 src/node_modules/lodash/isBoolean.js delete mode 100644 src/node_modules/lodash/isBuffer.js delete mode 100644 src/node_modules/lodash/isDate.js delete mode 100644 src/node_modules/lodash/isElement.js delete mode 100644 src/node_modules/lodash/isEmpty.js delete mode 100644 src/node_modules/lodash/isEqual.js delete mode 100644 src/node_modules/lodash/isEqualWith.js delete mode 100644 src/node_modules/lodash/isError.js delete mode 100644 src/node_modules/lodash/isFinite.js delete mode 100644 src/node_modules/lodash/isFunction.js delete mode 100644 src/node_modules/lodash/isInteger.js delete mode 100644 src/node_modules/lodash/isLength.js delete mode 100644 src/node_modules/lodash/isMap.js delete mode 100644 src/node_modules/lodash/isMatch.js delete mode 100644 src/node_modules/lodash/isMatchWith.js delete mode 100644 src/node_modules/lodash/isNaN.js delete mode 100644 src/node_modules/lodash/isNative.js delete mode 100644 src/node_modules/lodash/isNil.js delete mode 100644 src/node_modules/lodash/isNull.js delete mode 100644 src/node_modules/lodash/isNumber.js delete mode 100644 src/node_modules/lodash/isObject.js delete mode 100644 src/node_modules/lodash/isObjectLike.js delete mode 100644 src/node_modules/lodash/isPlainObject.js delete mode 100644 src/node_modules/lodash/isRegExp.js delete mode 100644 src/node_modules/lodash/isSafeInteger.js delete mode 100644 src/node_modules/lodash/isSet.js delete mode 100644 src/node_modules/lodash/isString.js delete mode 100644 src/node_modules/lodash/isSymbol.js delete mode 100644 src/node_modules/lodash/isTypedArray.js delete mode 100644 src/node_modules/lodash/isUndefined.js delete mode 100644 src/node_modules/lodash/isWeakMap.js delete mode 100644 src/node_modules/lodash/isWeakSet.js delete mode 100644 src/node_modules/lodash/iteratee.js delete mode 100644 src/node_modules/lodash/join.js delete mode 100644 src/node_modules/lodash/kebabCase.js delete mode 100644 src/node_modules/lodash/keyBy.js delete mode 100644 src/node_modules/lodash/keys.js delete mode 100644 src/node_modules/lodash/keysIn.js delete mode 100644 src/node_modules/lodash/lang.js delete mode 100644 src/node_modules/lodash/last.js delete mode 100644 src/node_modules/lodash/lastIndexOf.js delete mode 100644 src/node_modules/lodash/lodash.js delete mode 100644 src/node_modules/lodash/lodash.min.js delete mode 100644 src/node_modules/lodash/lowerCase.js delete mode 100644 src/node_modules/lodash/lowerFirst.js delete mode 100644 src/node_modules/lodash/lt.js delete mode 100644 src/node_modules/lodash/lte.js delete mode 100644 src/node_modules/lodash/map.js delete mode 100644 src/node_modules/lodash/mapKeys.js delete mode 100644 src/node_modules/lodash/mapValues.js delete mode 100644 src/node_modules/lodash/matches.js delete mode 100644 src/node_modules/lodash/matchesProperty.js delete mode 100644 src/node_modules/lodash/math.js delete mode 100644 src/node_modules/lodash/max.js delete mode 100644 src/node_modules/lodash/maxBy.js delete mode 100644 src/node_modules/lodash/mean.js delete mode 100644 src/node_modules/lodash/meanBy.js delete mode 100644 src/node_modules/lodash/memoize.js delete mode 100644 src/node_modules/lodash/merge.js delete mode 100644 src/node_modules/lodash/mergeWith.js delete mode 100644 src/node_modules/lodash/method.js delete mode 100644 src/node_modules/lodash/methodOf.js delete mode 100644 src/node_modules/lodash/min.js delete mode 100644 src/node_modules/lodash/minBy.js delete mode 100644 src/node_modules/lodash/mixin.js delete mode 100644 src/node_modules/lodash/multiply.js delete mode 100644 src/node_modules/lodash/negate.js delete mode 100644 src/node_modules/lodash/next.js delete mode 100644 src/node_modules/lodash/noop.js delete mode 100644 src/node_modules/lodash/now.js delete mode 100644 src/node_modules/lodash/nth.js delete mode 100644 src/node_modules/lodash/nthArg.js delete mode 100644 src/node_modules/lodash/number.js delete mode 100644 src/node_modules/lodash/object.js delete mode 100644 src/node_modules/lodash/omit.js delete mode 100644 src/node_modules/lodash/omitBy.js delete mode 100644 src/node_modules/lodash/once.js delete mode 100644 src/node_modules/lodash/orderBy.js delete mode 100644 src/node_modules/lodash/over.js delete mode 100644 src/node_modules/lodash/overArgs.js delete mode 100644 src/node_modules/lodash/overEvery.js delete mode 100644 src/node_modules/lodash/overSome.js delete mode 100644 src/node_modules/lodash/package.json delete mode 100644 src/node_modules/lodash/pad.js delete mode 100644 src/node_modules/lodash/padEnd.js delete mode 100644 src/node_modules/lodash/padStart.js delete mode 100644 src/node_modules/lodash/parseInt.js delete mode 100644 src/node_modules/lodash/partial.js delete mode 100644 src/node_modules/lodash/partialRight.js delete mode 100644 src/node_modules/lodash/partition.js delete mode 100644 src/node_modules/lodash/pick.js delete mode 100644 src/node_modules/lodash/pickBy.js delete mode 100644 src/node_modules/lodash/plant.js delete mode 100644 src/node_modules/lodash/property.js delete mode 100644 src/node_modules/lodash/propertyOf.js delete mode 100644 src/node_modules/lodash/pull.js delete mode 100644 src/node_modules/lodash/pullAll.js delete mode 100644 src/node_modules/lodash/pullAllBy.js delete mode 100644 src/node_modules/lodash/pullAllWith.js delete mode 100644 src/node_modules/lodash/pullAt.js delete mode 100644 src/node_modules/lodash/random.js delete mode 100644 src/node_modules/lodash/range.js delete mode 100644 src/node_modules/lodash/rangeRight.js delete mode 100644 src/node_modules/lodash/rearg.js delete mode 100644 src/node_modules/lodash/reduce.js delete mode 100644 src/node_modules/lodash/reduceRight.js delete mode 100644 src/node_modules/lodash/reject.js delete mode 100644 src/node_modules/lodash/remove.js delete mode 100644 src/node_modules/lodash/repeat.js delete mode 100644 src/node_modules/lodash/replace.js delete mode 100644 src/node_modules/lodash/rest.js delete mode 100644 src/node_modules/lodash/result.js delete mode 100644 src/node_modules/lodash/reverse.js delete mode 100644 src/node_modules/lodash/round.js delete mode 100644 src/node_modules/lodash/sample.js delete mode 100644 src/node_modules/lodash/sampleSize.js delete mode 100644 src/node_modules/lodash/seq.js delete mode 100644 src/node_modules/lodash/set.js delete mode 100644 src/node_modules/lodash/setWith.js delete mode 100644 src/node_modules/lodash/shuffle.js delete mode 100644 src/node_modules/lodash/size.js delete mode 100644 src/node_modules/lodash/slice.js delete mode 100644 src/node_modules/lodash/snakeCase.js delete mode 100644 src/node_modules/lodash/some.js delete mode 100644 src/node_modules/lodash/sortBy.js delete mode 100644 src/node_modules/lodash/sortedIndex.js delete mode 100644 src/node_modules/lodash/sortedIndexBy.js delete mode 100644 src/node_modules/lodash/sortedIndexOf.js delete mode 100644 src/node_modules/lodash/sortedLastIndex.js delete mode 100644 src/node_modules/lodash/sortedLastIndexBy.js delete mode 100644 src/node_modules/lodash/sortedLastIndexOf.js delete mode 100644 src/node_modules/lodash/sortedUniq.js delete mode 100644 src/node_modules/lodash/sortedUniqBy.js delete mode 100644 src/node_modules/lodash/split.js delete mode 100644 src/node_modules/lodash/spread.js delete mode 100644 src/node_modules/lodash/startCase.js delete mode 100644 src/node_modules/lodash/startsWith.js delete mode 100644 src/node_modules/lodash/string.js delete mode 100644 src/node_modules/lodash/stubArray.js delete mode 100644 src/node_modules/lodash/stubFalse.js delete mode 100644 src/node_modules/lodash/stubObject.js delete mode 100644 src/node_modules/lodash/stubString.js delete mode 100644 src/node_modules/lodash/stubTrue.js delete mode 100644 src/node_modules/lodash/subtract.js delete mode 100644 src/node_modules/lodash/sum.js delete mode 100644 src/node_modules/lodash/sumBy.js delete mode 100644 src/node_modules/lodash/tail.js delete mode 100644 src/node_modules/lodash/take.js delete mode 100644 src/node_modules/lodash/takeRight.js delete mode 100644 src/node_modules/lodash/takeRightWhile.js delete mode 100644 src/node_modules/lodash/takeWhile.js delete mode 100644 src/node_modules/lodash/tap.js delete mode 100644 src/node_modules/lodash/template.js delete mode 100644 src/node_modules/lodash/templateSettings.js delete mode 100644 src/node_modules/lodash/throttle.js delete mode 100644 src/node_modules/lodash/thru.js delete mode 100644 src/node_modules/lodash/times.js delete mode 100644 src/node_modules/lodash/toArray.js delete mode 100644 src/node_modules/lodash/toFinite.js delete mode 100644 src/node_modules/lodash/toInteger.js delete mode 100644 src/node_modules/lodash/toIterator.js delete mode 100644 src/node_modules/lodash/toJSON.js delete mode 100644 src/node_modules/lodash/toLength.js delete mode 100644 src/node_modules/lodash/toLower.js delete mode 100644 src/node_modules/lodash/toNumber.js delete mode 100644 src/node_modules/lodash/toPairs.js delete mode 100644 src/node_modules/lodash/toPairsIn.js delete mode 100644 src/node_modules/lodash/toPath.js delete mode 100644 src/node_modules/lodash/toPlainObject.js delete mode 100644 src/node_modules/lodash/toSafeInteger.js delete mode 100644 src/node_modules/lodash/toString.js delete mode 100644 src/node_modules/lodash/toUpper.js delete mode 100644 src/node_modules/lodash/transform.js delete mode 100644 src/node_modules/lodash/trim.js delete mode 100644 src/node_modules/lodash/trimEnd.js delete mode 100644 src/node_modules/lodash/trimStart.js delete mode 100644 src/node_modules/lodash/truncate.js delete mode 100644 src/node_modules/lodash/unary.js delete mode 100644 src/node_modules/lodash/unescape.js delete mode 100644 src/node_modules/lodash/union.js delete mode 100644 src/node_modules/lodash/unionBy.js delete mode 100644 src/node_modules/lodash/unionWith.js delete mode 100644 src/node_modules/lodash/uniq.js delete mode 100644 src/node_modules/lodash/uniqBy.js delete mode 100644 src/node_modules/lodash/uniqWith.js delete mode 100644 src/node_modules/lodash/uniqueId.js delete mode 100644 src/node_modules/lodash/unset.js delete mode 100644 src/node_modules/lodash/unzip.js delete mode 100644 src/node_modules/lodash/unzipWith.js delete mode 100644 src/node_modules/lodash/update.js delete mode 100644 src/node_modules/lodash/updateWith.js delete mode 100644 src/node_modules/lodash/upperCase.js delete mode 100644 src/node_modules/lodash/upperFirst.js delete mode 100644 src/node_modules/lodash/util.js delete mode 100644 src/node_modules/lodash/value.js delete mode 100644 src/node_modules/lodash/valueOf.js delete mode 100644 src/node_modules/lodash/values.js delete mode 100644 src/node_modules/lodash/valuesIn.js delete mode 100644 src/node_modules/lodash/without.js delete mode 100644 src/node_modules/lodash/words.js delete mode 100644 src/node_modules/lodash/wrap.js delete mode 100644 src/node_modules/lodash/wrapperAt.js delete mode 100644 src/node_modules/lodash/wrapperChain.js delete mode 100644 src/node_modules/lodash/wrapperLodash.js delete mode 100644 src/node_modules/lodash/wrapperReverse.js delete mode 100644 src/node_modules/lodash/wrapperValue.js delete mode 100644 src/node_modules/lodash/xor.js delete mode 100644 src/node_modules/lodash/xorBy.js delete mode 100644 src/node_modules/lodash/xorWith.js delete mode 100644 src/node_modules/lodash/zip.js delete mode 100644 src/node_modules/lodash/zipObject.js delete mode 100644 src/node_modules/lodash/zipObjectDeep.js delete mode 100644 src/node_modules/lodash/zipWith.js delete mode 100644 src/node_modules/punycode/LICENSE-MIT.txt delete mode 100644 src/node_modules/punycode/README.md delete mode 100644 src/node_modules/punycode/package.json delete mode 100644 src/node_modules/punycode/punycode.js delete mode 100644 src/node_modules/querystring/.History.md.un~ delete mode 100644 src/node_modules/querystring/.Readme.md.un~ delete mode 100644 src/node_modules/querystring/.package.json.un~ delete mode 100644 src/node_modules/querystring/.travis.yml delete mode 100644 src/node_modules/querystring/History.md delete mode 100644 src/node_modules/querystring/License.md delete mode 100644 src/node_modules/querystring/Readme.md delete mode 100644 src/node_modules/querystring/decode.js delete mode 100644 src/node_modules/querystring/encode.js delete mode 100644 src/node_modules/querystring/index.js delete mode 100644 src/node_modules/querystring/package.json delete mode 100644 src/node_modules/querystring/test/.index.js.un~ delete mode 100644 src/node_modules/querystring/test/common-index.js delete mode 100644 src/node_modules/querystring/test/index.js delete mode 100644 src/node_modules/querystring/test/tap-index.js delete mode 100644 src/node_modules/sax/LICENSE delete mode 100644 src/node_modules/sax/LICENSE-W3C.html delete mode 100644 src/node_modules/sax/README.md delete mode 100644 src/node_modules/sax/lib/sax.js delete mode 100644 src/node_modules/sax/package.json delete mode 100644 src/node_modules/url/.npmignore delete mode 100644 src/node_modules/url/.travis.yml delete mode 100644 src/node_modules/url/.zuul.yml delete mode 100644 src/node_modules/url/LICENSE delete mode 100644 src/node_modules/url/README.md delete mode 100644 src/node_modules/url/package.json delete mode 100644 src/node_modules/url/test.js delete mode 100644 src/node_modules/url/url.js delete mode 100644 src/node_modules/uuid/.npmignore delete mode 100644 src/node_modules/uuid/.travis.yml delete mode 100644 src/node_modules/uuid/AUTHORS delete mode 100644 src/node_modules/uuid/HISTORY.md delete mode 100644 src/node_modules/uuid/LICENSE.md delete mode 100644 src/node_modules/uuid/README.md delete mode 100755 src/node_modules/uuid/bin/uuid delete mode 100644 src/node_modules/uuid/index.js delete mode 100644 src/node_modules/uuid/lib/bytesToUuid.js delete mode 100644 src/node_modules/uuid/lib/rng-browser.js delete mode 100644 src/node_modules/uuid/lib/rng.js delete mode 100644 src/node_modules/uuid/package.json delete mode 100644 src/node_modules/uuid/test/mocha.opts delete mode 100644 src/node_modules/uuid/test/test.js delete mode 100644 src/node_modules/uuid/v1.js delete mode 100644 src/node_modules/uuid/v4.js delete mode 100644 src/node_modules/xml2js/LICENSE delete mode 100644 src/node_modules/xml2js/README.md delete mode 100644 src/node_modules/xml2js/lib/bom.js delete mode 100644 src/node_modules/xml2js/lib/processors.js delete mode 100644 src/node_modules/xml2js/lib/xml2js.js delete mode 100644 src/node_modules/xml2js/package.json delete mode 100644 src/node_modules/xmlbuilder/.npmignore delete mode 100644 src/node_modules/xmlbuilder/LICENSE delete mode 100644 src/node_modules/xmlbuilder/README.md delete mode 100644 src/node_modules/xmlbuilder/lib/XMLAttribute.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLBuilder.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLCData.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLComment.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLDTDAttList.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLDTDElement.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLDTDEntity.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLDTDNotation.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLDeclaration.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLDocType.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLElement.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLNode.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLRaw.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLStringifier.js delete mode 100644 src/node_modules/xmlbuilder/lib/XMLText.js delete mode 100644 src/node_modules/xmlbuilder/lib/index.js delete mode 100644 src/node_modules/xmlbuilder/package.json diff --git a/.gitignore b/.gitignore index 0303086..b8c8cf5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ source.zip +node_modules diff --git a/src/package.json b/package.json similarity index 90% rename from src/package.json rename to package.json index d697311..e0997c1 100644 --- a/src/package.json +++ b/package.json @@ -4,8 +4,7 @@ "description": "Provides a random hero", "main": "index.js", "dependencies": { - "alexa-sdk": "^1.0.6", - "xmlhttprequest": "^1.00" + "alexa-sdk": "^1.0.6" }, "author": "binhonglee", "license": "MIT", diff --git a/speechAssets/IntentSchema.json b/speechAssets/IntentSchema.json index e31d47d..f416083 100644 --- a/speechAssets/IntentSchema.json +++ b/speechAssets/IntentSchema.json @@ -3,6 +3,15 @@ { "intent": "RequestIntent" }, + { + "intent": "RequestSpecificIntent", + "slots": [ + { + "name": "AttackType", + "type": "AMAZON.US_STATE" + } + ] + }, { "intent": "StopIntent" } diff --git a/speechAssets/Utterances.txt b/speechAssets/Utterances.txt index 7e2dd85..6a9e68d 100644 --- a/speechAssets/Utterances.txt +++ b/speechAssets/Utterances.txt @@ -1,3 +1,6 @@ -RequestIntent give me random hero -RequestIntent another hero +RequestIntent random any hero +RequestIntent random any other hero +RequestSpecificIntent random {AttackType} +RequestSpecificIntent random another {AttackType} +RequestSpecificIntent random {AttackType} again StopIntent stop diff --git a/src/index.js b/src/index.js index 8d19c69..c9f662d 100644 --- a/src/index.js +++ b/src/index.js @@ -1,8 +1,6 @@ 'use strict' const Alexa = require('alexa-sdk') -var https = require('https') -let response = '' exports.handler = function (event, context, callback) { var alexa = Alexa.handler(event, context) @@ -22,31 +20,24 @@ var handlers = { // RequestIntent handler 'RequestIntent': function () { - var info = { - host: 'api.opendota.com/api/heroes', - port: 443, - path: '/api/heroes', - method: 'GET' - } - - var req = https.request(info, res => { - res.setEncoding('utf8') - var returnData = '' + var speechOutput = random(0) - res.on('data', chunk => { - returnData = returnData + chunk - }) - - res.on('end', () => { - response = JSON.parse(returnData) - }) - }) + // Emit the message + this.emit(':ask', speechOutput) + }, - req.end() + 'RequestSpecificIntent': function () { + var attackType = this.event.request.intent.slots.AttackType + let speechOutput = '' - var speechOutput = 'Output is :' + response[getRandomInt() - 1] + '?' + if (attackType.value === 'melee') { + speechOutput = random(1) + } else if (attackType.value === 'ranged') { + speechOutput = random(2) + } else { + speechOutput = random(0) + } - // Emit the message this.emit(':ask', speechOutput) }, @@ -57,6 +48,137 @@ var handlers = { } } -function getRandomInt () { - return Math.random() * (response.length) +function random (num) { + if (num === 1) { + return melee[Math.floor(Math.random() * melee.length)] + } else if (num === 2) { + return ranged[Math.floor(Math.random() * ranged.length)] + } else { + var result = Math.floor(Math.random() * (melee.length + ranged.length)) + + if (result < melee.length) { + return melee[result] + } else { + return ranged[result - melee.length] + } + } } + +var melee = [ + 'Anti-Mage', + 'Axe', + 'Bloodseeker', + 'Earthshaker', + 'Juggernaut', + 'Phantom Lancer', + 'Pudge', + 'Sand King', + 'Sven', + 'Tiny', + 'Kunkka', + 'Slardar', + 'Tidehunter', + 'Riki', + 'Beastmaster', + 'Faceless Void', + 'Wraith King', + 'Phantom Assassin', + 'Dragon Knight', + 'Clockwerk', + 'Lifestealer', + 'Dark Seer', + 'Omniknight', + 'Night Stalker', + 'Broodmother', + 'Bounty Hunter', + 'Spectre', + 'Doom', + 'Ursa', + 'Spirit Breaker', + 'Alchemist', + 'Lycan', + 'Brewmaster', + 'Chaos Knight', + 'Meepo', + 'Treant Protector', + 'Ogre Magi', + 'Undying', + 'Nyx Assassin', + 'Naga Siren', + 'Slark', + 'Centaur Warrunner', + 'Magnus', + 'Timbersaw', + 'Bristleback', + 'Tusk', + 'Abaddon', + 'Elder Titan', + 'Legion Commander', + 'Ember Spirit', + 'Earth Spirit', + 'Underlord', + 'Terrorblade', + 'Monkey King' +] + +var ranged = [ + 'Bane', + 'Crystal Maiden', + 'Drow Ranger', + 'Mirana', + 'Morphling', + 'Shadow Fiend', + 'Puck', + 'Razor', + 'Storm Spirit', + 'Vengeful Spirit', + 'Windranger', + 'Zeus', + 'Lina', + 'Lion', + 'Shadow Shaman', + 'Witch Doctor', + 'Lich', + 'Enigma', + 'Tinker', + 'Sniper', + 'Necrophos', + 'Warlock', + 'Queen of Pain', + 'Venomancer', + 'Death Prophet', + 'Pugna', + 'Templar Assassin', + 'Viper', + 'Luna', + 'Dazzle', + 'Leshrac', + 'Nature\'s Prophet', + 'Clinkz', + 'Enchantress', + 'Huskar', + 'Weaver', + 'Jakiro', + 'Batrider', + 'Chen', + 'Ancient Apparition', + 'Gyrocopter', + 'Invoker', + 'Silencer', + 'Outworld Devourer', + 'Shadow Demon', + 'Lone Druid', + 'Rubick', + 'Disruptor', + 'Keeper of the Light', + 'Io', + 'Visage', + 'Medusa', + 'Troll Warlord', + 'Skywrath Mage', + 'Techies', + 'Phoenix', + 'Oracle', + 'Winter Wyvern', + 'Arc Warden' +] diff --git a/src/node_modules/.bin/uuid b/src/node_modules/.bin/uuid deleted file mode 120000 index b3e45bc..0000000 --- a/src/node_modules/.bin/uuid +++ /dev/null @@ -1 +0,0 @@ -../uuid/bin/uuid \ No newline at end of file diff --git a/src/node_modules/alexa-sdk/.npmignore b/src/node_modules/alexa-sdk/.npmignore deleted file mode 100644 index 3c3629e..0000000 --- a/src/node_modules/alexa-sdk/.npmignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/src/node_modules/alexa-sdk/LICENSE.txt b/src/node_modules/alexa-sdk/LICENSE.txt deleted file mode 100644 index d645695..0000000 --- a/src/node_modules/alexa-sdk/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/src/node_modules/alexa-sdk/NOTICE.txt b/src/node_modules/alexa-sdk/NOTICE.txt deleted file mode 100644 index 2100548..0000000 --- a/src/node_modules/alexa-sdk/NOTICE.txt +++ /dev/null @@ -1,2 +0,0 @@ -Alexa SDK for JavaScript -Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/src/node_modules/alexa-sdk/Readme.md b/src/node_modules/alexa-sdk/Readme.md deleted file mode 100644 index 1a86f48..0000000 --- a/src/node_modules/alexa-sdk/Readme.md +++ /dev/null @@ -1,543 +0,0 @@ -# Alexa Skills Kit SDK for Node.js - -Today we're happy to announce the new [alexa-sdk](https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs) for Node.js to help you build skills faster and with less complexity. - -Creating an Alexa skill using the [Alexa Skills Kit](http://developer.amazon.com/ask), [Node.js](https://nodejs.org/en/) and [AWS Lambda](https://aws.amazon.com/lambda/) has become one of the most popular ways we see skills created today. The event-driven, non-blocking I/O model of Node.js is well suited for an Alexa skill and Node.js is one of the largest ecosystems of open source libraries in the world. Plus, AWS Lambda is free for the first one million calls per month, which is enough for most developers. Also, when using AWS Lambda you don't need to manage any SSL certificates since the Alexa Skills Kit is a trusted trigger. - -While setting up an Alexa skill using AWS Lambda, Node.js and the Alexa Skills Kit has been a simple process, the actual amount of code you have had to write has not. We have seen a large amount of time spent in Alexa skills on handling session attributes, skill state persistence, response building and behavior modeling. With that in mind the Alexa team set out to build an Alexa Skills Kit SDK specifically for Node.js that will help you avoid common hang-ups and focus on your skill's logic instead of boilerplate code. - -### Enabling Faster Alexa Skill Development with the Alexa Skills Kit SDK for Node.js (alexa-sdk) - -With the new alexa-sdk, our goal is to help you build skills faster while allowing you to avoid unneeded complexity. Today, we are launching the SDK with the following capabilities: - -- Hosted as an NPM package allowing simple deployment to any Node.js environment -- Ability to build Alexa responses using built-in events -- Helper events for new sessions and unhandled events that can act as a 'catch-all' events -- Helper functions to build state-machine based Intent handling - - This makes it possible to define different event handlers based on the current state of the skill -- Simple configuration to enable attribute persistence with DynamoDB -- All speech output is automatically wrapped as SSML -- Lambda event and context objects are fully available via `this.event` and `this.context` -- Ability to override built-in functions giving you more flexibility on how you manage state or build responses. For example, saving state attributes to AWS S3. - -### Installing and Working with the Alexa Skills Kit SDK for Node.js (alexa-sdk) - -The alexa-sdk is immediately available on [github](https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs) and can be deployed as a node package using the following command from within your Node.js environment: -```bash -npm install --save alexa-sdk -``` - -In order to start using the alexa-sdk first import the library. To do this within your own project simply create a file named index.js and add the following to it: -```javascript -var Alexa = require('alexa-sdk'); - -exports.handler = function(event, context, callback){ - var alexa = Alexa.handler(event, context, callback); -}; -``` -This will import alexa-sdk and set up an `Alexa` object for us to work with. Next, we need to handle the intents for our skill. Alexa-sdk makes it simple to have a function fire an Intent. For example, to create a handler for 'HelloWorldIntent' we simply add the following: -```javascript -var handlers = { - - 'HelloWorldIntent': function () { - this.emit(':tell', 'Hello World!'); - } - -}; -``` -Notice the new syntax above for ':tell'? Alexa-sdk follows a tell/ask response methodology for generating your [outputSpeech response objects](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/alexa-skills-kit-interface-reference#Response%20Format). To ask the user for information we would instead use an `:ask` action. The difference between `:ask` and `:tell` is that after a `:tell` action, the session is ended without waiting for the user to provide more input. -```javascript -this.emit(':ask', 'What would you like to do?', 'Please say that again?'); -``` -In fact, many of the responses follow this same syntax! Here are some additional examples for common skill responses: -```javascript -var speechOutput = 'Hello world!'; -var repromptSpeech = 'Hello again!'; - -this.emit(':tell', speechOutput); - -this.emit(':ask', speechOutput, repromptSpeech); - -var cardTitle = 'Hello World Card'; -var cardContent = 'This text will be displayed in the companion app card.'; - -var imageObj = { - smallImageUrl: 'https://imgs.xkcd.com/comics/standards.png', - largeImageUrl: 'https://imgs.xkcd.com/comics/standards.png' -}; - -var permissionArray = ['read::alexa:device:all:address']; - -var updatedIntent = this.event.request.intent; - -var slotToElicit = "Slot to elicit"; - -var slotToConfirm = "Slot to confirm"; - -this.emit(':askWithCard', speechOutput, repromptSpeech, cardTitle, cardContent, imageObj); - -this.emit(':tellWithCard', speechOutput, cardTitle, cardContent, imageObj); - -this.emit(':tellWithLinkAccountCard', speechOutput); - -this.emit(':askWithLinkAccountCard', speechOutput); - -this.emit(':tellWithPermissionCard', speechOutput, permissionArray); - -this.emit(':delegate', updatedIntent); - -this.emit(':elicitSlot', slotToElicit, speechOutput, repromptSpeech, updatedIntent); - -this.emit(':elicitSlotWithCard', slotToElicit, speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj); - -this.emit(':confirmSlot', slotToConfirm, speechOutput, repromptSpeech, updatedIntent); - -this.emit(':confirmSlotWithCard', slotToConfirm, speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj); - -this.emit(':confirmIntent', speechOutput, repromptSpeech, updatedIntent); - -this.emit(':confirmIntentWithCard', speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj); - -this.emit(':responseReady'); // Called after the response is built but before it is returned to the Alexa service. Calls :saveState. Can be overridden. - -this.emit(':saveState', false); // Handles saving the contents of this.attributes and the current handler state to DynamoDB and then sends the previously built response to the Alexa service. Override if you wish to use a different persistence provider. The second attribute is optional and can be set to 'true' to force saving. - -this.emit(':saveStateError'); // Called if there is an error while saving state. Override to handle any errors yourself. -``` -Once we have set up our event handlers we need to register them using the registerHandlers function of the alexa object we just created. -```javascript - exports.handler = function(event, context, callback) { - var alexa = Alexa.handler(event, context, callback); - alexa.registerHandlers(handlers); - }; -``` -You can also register multiple handler objects at once: -```javascript - alexa.registerHandlers(handlers, handlers2, handlers3, ...); -``` -The handlers you define can call each other, making it possible to ensure your responses are uniform. Here is an example where our LaunchRequest and IntentRequest (of HelloWorldIntent) both return the same 'Hello World' message. -```javascript -var handlers = { - 'LaunchRequest': function () { - this.emit('HelloWorldIntent'); - }, - - 'HelloWorldIntent': function () { - this.emit(':tell', 'Hello World!'); - } - }; -``` -Once you are done registering all of your intent handler functions, you simply use the execute function from the alexa object to run your skill's logic. The final line would look like this: -```javascript -exports.handler = function(event, context, callback) { - var alexa = Alexa.handler(event, context, callback); - alexa.registerHandlers(handlers); - alexa.execute(); -}; -``` -You can download a full working sample off github. We have also updated the following Node.js sample skills to work with the alexa-sdk: [Fact](https://github.com/alexa/skill-sample-nodejs-fact), [HelloWorld](https://github.com/alexa/skill-sample-nodejs-hello-world), [HighLow](https://github.com/alexa/skill-sample-nodejs-highlowgame), [HowTo](https://github.com/alexa/skill-sample-nodejs-howto) and [Trivia](https://github.com/alexa/skill-sample-nodejs-trivia). - -Note: for specifications regarding the ```imgObj``` please see [here](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/providing-home-cards-for-the-amazon-alexa-app). - -### Making Skill State Management Simpler - -Alexa-sdk will route incoming intents to the correct function handler based on state. State is stored as a string in your session attributes indicating the current state of the skill. You can emulate the built-in intent routing by appending the state string to the intent name when defining your intent handlers, but alexa-sdk helps do that for you. - -For example, let's create a simple number-guessing game with 'start' and 'guess' states based on our previous example of handling a `NewSession` event. -```javascript -var states = { - GUESSMODE: '_GUESSMODE', // User is trying to guess the number. - STARTMODE: '_STARTMODE' // Prompt the user to start or restart the game. -}; - -var newSessionHandlers = { - - // This will short-cut any incoming intent or launch requests and route them to this handler. - 'NewSession': function() { - if(Object.keys(this.attributes).length === 0) { // Check if it's the first time the skill has been invoked - this.attributes['endedSessionCount'] = 0; - this.attributes['gamesPlayed'] = 0; - } - this.handler.state = states.STARTMODE; - this.emit(':ask', 'Welcome to High Low guessing game. You have played ' - + this.attributes['gamesPlayed'].toString() + ' times. Would you like to play?', - 'Say yes to start the game or no to quit.'); - } -}; -``` -Notice that when a new session is created we simply set the state of our skill into `STARTMODE` using this.handler.state. The skills state will automatically be persisted in your skill's session attributes, and will be optionally persisted across sessions if you set a DynamoDB table. - -It is also important point out that `NewSession` is a great catch-all behavior and a good entry point but it is not required. `NewSession` will only be invoked if a handler with that name is defined. Each state you define can have its own `NewSession` handler which will be invoked if you are using the built-in persistence. In the above example we could define different `NewSession` behavior for both `states.STARTMODE` and `states.GUESSMODE` giving us added flexibility. - -In order to define intents that will respond to the different states of our skill, we need to use the `Alexa.CreateStateHandler` function. Any intent handlers defined here will only work when the skill is in a specific state, giving us even greater flexibility! - -For example, if we are in the `GUESSMODE` state we defined above we want to handle a user responding to a question. This can be done using StateHandlers like this: -```javascript -var guessModeHandlers = Alexa.CreateStateHandler(states.GUESSMODE, { - - 'NewSession': function () { - this.handler.state = ''; - this.emitWithState('NewSession'); // Equivalent to the Start Mode NewSession handler - }, - - 'NumberGuessIntent': function() { - var guessNum = parseInt(this.event.request.intent.slots.number.value); - var targetNum = this.attributes['guessNumber']; - - console.log('user guessed: ' + guessNum); - - if(guessNum > targetNum){ - this.emit('TooHigh', guessNum); - } else if( guessNum < targetNum){ - this.emit('TooLow', guessNum); - } else if (guessNum === targetNum){ - // With a callback, use the arrow function to preserve the correct 'this' context - this.emit('JustRight', () => { - this.emit(':ask', guessNum.toString() + 'is correct! Would you like to play a new game?', - 'Say yes to start a new game, or no to end the game.'); - }); - } else { - this.emit('NotANum'); - } - }, - - 'AMAZON.HelpIntent': function() { - this.emit(':ask', 'I am thinking of a number between zero and one hundred, try to guess and I will tell you' + - ' if it is higher or lower.', 'Try saying a number.'); - }, - - 'SessionEndedRequest': function () { - console.log('session ended!'); - this.attributes['endedSessionCount'] += 1; - this.emit(':saveState', true); // Be sure to call :saveState to persist your session attributes in DynamoDB - }, - - 'Unhandled': function() { - this.emit(':ask', 'Sorry, I didn\'t get that. Try saying a number.', 'Try saying a number.'); - } - -}); -``` -On the flip side, if I am in `STARTMODE` I can define my `StateHandlers` to be the following: - -```javascript -var startGameHandlers = Alexa.CreateStateHandler(states.STARTMODE, { - - 'NewSession': function () { - this.emit('NewSession'); // Uses the handler in newSessionHandlers - }, - - 'AMAZON.HelpIntent': function() { - var message = 'I will think of a number between zero and one hundred, try to guess and I will tell you if it' + - ' is higher or lower. Do you want to start the game?'; - this.emit(':ask', message, message); - }, - - 'AMAZON.YesIntent': function() { - this.attributes['guessNumber'] = Math.floor(Math.random() * 100); - this.handler.state = states.GUESSMODE; - this.emit(':ask', 'Great! ' + 'Try saying a number to start the game.', 'Try saying a number.'); - }, - - 'AMAZON.NoIntent': function() { - this.emit(':tell', 'Ok, see you next time!'); - }, - - 'SessionEndedRequest': function () { - console.log('session ended!'); - this.attributes['endedSessionCount'] += 1; - this.emit(':saveState', true); - }, - - 'Unhandled': function() { - var message = 'Say yes to continue, or no to end the game.'; - this.emit(':ask', message, message); - } -}); -``` -Take a look at how `AMAZON.YesIntent` and `AMAZON.NoIntent` are not defined in the `guessModeHandlers` object, since it doesn't make sense for a 'yes' or 'no' response in this state. Those intents will be caught by the `Unhandled` handler. - -Also, notice the different behavior for `NewSession` and `Unhandled` across both states? In this game, we 'reset' the state by calling a `NewSession` handler defined in the `newSessionHandlers` object. You can also skip defining it and alexa-sdk will call the intent handler for the current state. Just remember to register your State Handlers before you call `alexa.execute()` or they will not be found. - -Your attributes will be automatically saved when you end the session, but if the user ends the session you have to emit the `:saveState` event (`this.emit(':saveState', true)`) to force a save. You should do this in your `SessionEndedRequest` handler which is called when the user ends the session by saying 'quit' or timing out. Take a look at the example above. - -We have wrapped up the above example into a high/low number guessing game skill you can [download here](https://github.com/alexa/skill-sample-nodejs-highlowgame). - -### Persisting Skill Attributes through DynamoDB - -Many of you would like to persist your session attribute values into storage for further use. Alexa-sdk integrates directly with [Amazon DynamoDB](https://aws.amazon.com/dynamodb/) (a NoSQL database service) to enable you to do this with a single line of code. - -Simply set the name of the DynamoDB table on your alexa object before you call alexa.execute. -```javascript -exports.handler = function (event, context, callback) { - var alexa = Alexa.handler(event, context, callback); - alexa.appId = appId; - alexa.dynamoDBTableName = 'YourTableName'; // That's it! - alexa.registerHandlers(State1Handlers, State2Handlers); - alexa.execute(); -}; -``` - -Then later on to set a value you simply need to call into the attributes property of the alexa object. No more separate `put` and `get` functions! -```javascript -this.attributes['yourAttribute'] = 'value'; -``` - -You can [create the table manually](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/SampleData.CreateTables.html) beforehand or simply give your Lambda function DynamoDB [create table permissions](http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html) and it will happen automatically. Just remember it can take a minute or so for the table to be created on the first invocation. If you create the table manually, the Primary Key must be a string value called "userId". - -### Generating your own responses - -Normally emitting a response event like `this.emit(':tell', speechOutput, repromptSpeech)` will set up the response and send it to Alexa for you, using any speech or card values you pass it. If you want to manually create your own responses, you can use `this.response` to help. `this.response` contains a series of functions, that you can use to set the different properties of the response. This allows you to take advantage of the Alexa Skills Kit's built-in audio player support. Once you've set up your response, you can just call `this.emit(':responseReady')` to send your response to Alexa. The functions within `this.response` are also chainable, so you can use as many as you want in a row. - -For example, the below code is equivalent to `this.emit(':ask', 'foo', 'bar');` - -```javascript -this.response.speak('foo').listen('bar'); -this.emit(':responseReady'); -``` - -Here's the API for using `this.response`: - -- `this.response.speak(outputSpeech)`: sets the first speech output of the response to `outputSpeech`. -- `this.response.listen(repromptSpeech)`: sets the reprompt speech of the response to `repromptSpeech` and `shouldEndSession` to false. Unless this function is called, `this.response` will set `shouldEndSession` to true. -- `this.response.cardRenderer(cardTitle, cardContent, cardImage)`: sets the card in the response to have the title `cardTitle`, the content `cardContent`, and the image `cardImage`. `cardImage` can be excluded, but if it's included it must be of the correct image object format, detailed above. -- `this.response.linkAccountCard()`: sets the type of the card to a 'Link Account' card. -- `this.response.audioPlayer(directiveType, behavior, url, token, expectedPreviousToken, offsetInMilliseconds)`: sets the audioPlayer directive using the provided parameters. See the [audioPlayer interface reference](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/custom-audioplayer-interface-reference) for more details. Options for `directiveType` are `'play'`, `'stop'` and `'clearqueue'`. Inputting any other value is equivalent to `'clearqueue'`. - - If you use `'play'`, you need to include all the parameters after: `behavior, url, token, expectedPreviousToken, offsetInMilliseconds`. - - If you use `'stop'`, no further parameters are needed. - - If you use `'clearQueue'`, you only need to include the `behaviour` parameter. -- `this.response.audioPlayerPlay(behavior, url, token, expectedPreviousToken, offsetInMilliseconds)`: sets the audioPlayer directive using the provided parameters, and `AudioPlayer.Play` as the directive type. This will make the audio player play an audio file at a requested URL. -- `this.response.audioPlayerStop()` sets the directive type to `AudioPlayer.Stop`. This will make the audio player stop. -- `this.response.audioPlayerClearQueue(clearBehaviour)` sets the directive type to `AudioPlayer.ClearQueue` and sets the clear behaviour of the directive. Options for this value are `'CLEAR_ENQUEUED'` and `'CLEAR_ALL'`. This will either clear the queue and continue the current stream, or clear the queue and stop the current stream. - -When you've set up your response, simply call `this.emit(':responseReady');` to send your response off. - -### Tips - -- When any of the response events are emitted `:ask`, `:tell`, `:askWithCard`, etc. The lambda context.succeed() method is called, which immediately stops processing of any further background tasks. Any asynchronous jobs that are still will not be completed and any lines of code below the response emit statement will not be executed. This is not the case for non responding events like `:saveState`. -- In order to "transfer" a call from one state handler to another, `this.handler.state` needs to be set to the name of the target state. If the target state is "", then `this.emit("TargetHandlerName")` should be called. For any other states, `this.emitWithState("TargetHandlerName")` must be called instead. -- The contents of the prompt and repompt values get wrapped in SSML tags. This means that any special XML characters within the value need to be escape coded. For example, this.emit(":ask", "I like M&M's") will cause a failure because the `&` character needs to be encoded as `&`. Other characters that need to be encoded include: `<` -> `<`, and `>` -> `>`. - -### Adding Multi-Language Support for Skill -Let's take the Hello World example here. Define all user-facing language strings in the following format. -```javascript -var languageStrings = { - 'en-GB': { - 'translation': { - 'SAY_HELLO_MESSAGE' : 'Hello World!' - } - }, - 'en-US': { - 'translation': { - 'SAY_HELLO_MESSAGE' : 'Hello World!' - } - }, - 'de-DE': { - 'translation': { - 'SAY_HELLO_MESSAGE' : 'Hallo Welt!' - } - } -}; -``` - -To enable string internationalization features in Alexa-sdk, set resources to the object we created above. -```javascript -exports.handler = function(event, context, callback) { - var alexa = Alexa.handler(event, context); - alexa.appId = appId; - // To enable string internationalization (i18n) features, set a resources object. - alexa.resources = languageStrings; - alexa.registerHandlers(handlers); - alexa.execute(); -}; -``` - -Once you are done defining and enabling language strings, you can access these strings using the this.t() function. Strings will be rendered in the language that matches the locale of the incoming request. -```javascript -var handlers = { - 'LaunchRequest': function () { - this.emit('SayHello'); - }, - 'HelloWorldIntent': function () { - this.emit('SayHello'); - }, - 'SayHello': function () { - this.emit(':tell', this.t('SAY_HELLO_MESSAGE')); - } -}; -``` -For more infomation about developing and deploying skills in multiple languages, please go [here](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/developing-skills-in-multiple-languages). - -### Device ID Support -When a customer enables your Alexa skill, your skill can obtain the customer’s permission to use address data associated with the customer’s Alexa device. You can then use this address data to provide key functionality for the skill, or to enhance the customer experience. - -The `deviceId` is now exposed through the context object in each request and can be accessed in any intent handler through `this.event.context.System.device.deviceId`. See the [Address API sample skill](https://github.com/alexa/skill-sample-node-device-address-api) to see how we leveraged the deviceId and the Address API to use a user's device address in a skill. - -### Speechcons (Interjections) - -[Speechcons](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/speechcon-reference) are special words and phrases that Alexa pronounces more expressively. In order to use them you can just include the SSML markup in the text to emit. - -* `this.emit(':tell', 'Sometimes when I look at the Alexa skills you have all taught me, I just have to say, Bazinga. ');` -* `this.emit(':tell', 'Oh boy this is just an example.');` - -_Speechcons are supported for English (US), English (UK), and German._ - -### Dialog Management Support for Skill -The `Dialog` interface provides directives for managing a multi-turn conversation between your skill and the user. You can use the directives to ask the user for the information you need to fulfill their request. See the [Dialog Interface](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/dialog-interface-reference) and [Skill Editor](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/ask-define-the-vui-with-gui) documentation for more information on how to use dialog directives. - -You can use `this.event.request.dialogState` to access current `dialogState`. - -#### Delegate Directive -Sends Alexa a command to handle the next turn in the dialog with the user. You can use this directive if the skill has a dialog model and the current status of the dialog (`dialogState`) is either `STARTED` or `IN_PROGRESS`. You cannot emit this directive if the `dialogState` is `COMPLETED`. - -You can use `this.emit(':delegate')` to send delegate directive response. -```javascript -var handlers = { - 'BookFlightIntent': function () { - if (this.event.request.dialogState === 'STARTED') { - var updatedIntent = this.event.request.intent; - // Pre-fill slots: update the intent object with slot values for which - // you have defaults, then emit :delegate with this updated intent. - updatedIntent.slots.SlotName.value = 'DefaultValue'; - this.emit(':delegate', updatedIntent); - } else if (this.event.request.dialogState !== 'COMPLETED'){ - this.emit(':delegate'); - } else { - // All the slots are filled (And confirmed if you choose to confirm slot/intent) - handlePlanMyTripIntent(); - } - } -}; -``` - -#### Elicit Slot Directive -Sends Alexa a command to ask the user for the value of a specific slot. Specify the name of the slot to elicit in the `slotToElicit`. Provide a prompt to ask the user for the slot value in `speechOutput`. - -You can use `this.emit(':elicitSlot', slotToElicit, speechOutput, repromptSpeech, updatedIntent)` or `this.emit(':elicitSlotWithCard', slotToElicit, speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj)` to send elicit slot directive response. - -When using `this.emit(':elicitSlotWithCard', slotToElicit, speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj)`, `updatedIntent` and `imageObj` are optional parameters. You can set them to `null` or not pass them. -```javascript -var handlers = { - 'BookFlightIntent': function () { - var intentObj = this.event.request.intent; - if (!intentObj.slots.Source.value) { - var slotToElicit = 'Source'; - var speechOutput = 'Where would you like to fly from?'; - var repromptSpeech = speechOutput; - this.emit(':elicitSlot', slotToElicit, speechOutput, repromptSpeech); - } else if (!intentObj.slots.Destination.value) { - var slotToElicit = 'Destination'; - var speechOutput = 'Where would you like to fly to?'; - var repromptSpeech = speechOutput; - var cardContent = 'What is the destination?'; - var cardTitle = 'Destination'; - var updatedIntent = intentObj; - // An intent object representing the intent sent to your skill. - // You can use this property set or change slot values and confirmation status if necessary. - var imageObj = { - smallImageUrl: 'https://imgs.xkcd.com/comics/standards.png', - largeImageUrl: 'https://imgs.xkcd.com/comics/standards.png' - }; - this.emit(':elicitSlotWithCard', slotToElicit, speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj); - } else { - handlePlanMyTripIntentAllSlotsAreFilled(); - } - } -}; -``` - -#### Confirm Slot Directive -Sends Alexa a command to confirm the value of a specific slot before continuing with the dialog. Specify the name of the slot to confirm in the `slotToConfirm`. Provide a prompt to ask the user for confirmation in `speechOutput`. - -You can use `this.emit(':confirmSlot', slotToConfirm, speechOutput, repromptSpeech, updatedIntent)` or `this.emit(':confirmSlotWithCard', slotToConfirm, speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj)` to send confirm slot directive response. - -When using `this.emit(':confirmSlotWithCard', slotToConfirm, speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj)`, `updatedIntent` and `imageObj` are optional parameters. You can set them to `null` or not pass them. -```javascript -var handlers = { - 'BookFlightIntent': function () { - var intentObj = this.event.request.intent; - if (intentObj.slots.Source.confirmationStatus !== 'CONFIRMED') { - if (intentObj.slots.Source.confirmationStatus !== 'DENIED') { - // Slot value is not confirmed - var slotToConfirm = 'Source'; - var speechOutput = 'You want to fly from ' + intentObj.slots.Source.value + ', is that correct?'; - var repromptSpeech = speechOutput; - this.emit(':confirmSlot', slotToConfirm, speechOutput, repromptSpeech); - } else { - // Users denies the confirmation of slot value - var slotToElicit = 'Source'; - var speechOutput = 'Okay, Where would you like to fly from?'; - this.emit(':elicitSlot', slotToElicit, speechOutput, speechOutput); - } - } else if (intentObj.slots.Destination.confirmationStatus !== 'CONFIRMED') { - if (intentObj.slots.Destination.confirmationStatus !== 'DENIED') { - var slotToConfirm = 'Destination'; - var speechOutput = 'You would like to fly to ' + intentObj.slots.Destination.value + ', is that correct?'; - var repromptSpeech = speechOutput; - var cardContent = speechOutput; - var cardTitle = 'Confirm Destination'; - this.emit(':confirmSlotWithCard', slotToConfirm, speechOutput, repromptSpeech, cardTitle, cardContent); - } else { - var slotToElicit = 'Destination'; - var speechOutput = 'Okay, Where would you like to fly to?'; - var repromptSpeech = speechOutput; - this.emit(':elicitSlot', slotToElicit, speechOutput, repromptSpeech); - } - } else { - handlePlanMyTripIntentAllSlotsAreConfirmed(); - } - } -}; -``` - -#### Confirm Intent Directive -Sends Alexa a command to confirm the all the information the user has provided for the intent before the skill takes action. Provide a prompt to ask the user for confirmation in `speechOutput`. Be sure to repeat back all the values the user needs to confirm in the prompt. - -You can use `this.emit(':confirmIntent', speechOutput, repromptSpeech, updatedIntent)` or `this.emit(':confirmIntentWithCard', speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj)` to send confirm intent directive response. - -When using `this.emit(':confirmIntentWithCard', speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj)`, `updatedIntent` and `imageObj` are optional parameters. You can set them to `null` or not pass them. -```javascript -var handlers = { - 'BookFlightIntent': function () { - var intentObj = this.event.request.intent; - if (intentObj.confirmationStatus !== 'CONFIRMED') { - if (intentObj.confirmationStatus !== 'DENIED') { - // Intent is not confirmed - var speechOutput = 'You would like to book flight from ' + intentObj.slots.Source.value + ' to ' + - intentObj.slots.Destination.value + ', is that correct?'; - var cardTitle = 'Booking Summary'; - var repromptSpeech = speechOutput; - var cardContent = speechOutput; - this.emit(':confirmIntentWithCard', speechOutput, repromptSpeech, cardTitle, cardContent); - } else { - // Users denies the confirmation of intent. May be value of the slots are not correct. - handleIntentConfimationDenial(); - } - } else { - handlePlanMyTripIntentAllSlotsAndIntentAreConfirmed(); - } - } -}; -``` - -### Next Steps - -Try extending the HighLow game: - -- Have it store your average number of guesses per game -- Add [sound effects](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/speech-synthesis-markup-language-ssml-reference#audio) -- Give the player a limited amount of guesses - -For more information about getting started with the Alexa Skills Kit, check out the following additional assets: - - [Alexa Dev Chat Podcast](http://bit.ly/alexadevchat) - - [Alexa Training with Big Nerd Ranch](https://developer.amazon.com/public/community/blog/tag/Big+Nerd+Ranch) - - [Alexa Skills Kit (ASK)](https://developer.amazon.com/ask) - - [Alexa Developer Forums](https://forums.developer.amazon.com/forums/category.jspa?categoryID=48) - - [Training for the Alexa Skills Kit](https://developer.amazon.com/alexa-skills-kit/alexa-skills-developer-training) - --Dave ( [@TheDaveDev](http://twitter.com/thedavedev)) diff --git a/src/node_modules/alexa-sdk/dist/BUNDLE_LICENSE.txt b/src/node_modules/alexa-sdk/dist/BUNDLE_LICENSE.txt deleted file mode 100644 index 07fd638..0000000 --- a/src/node_modules/alexa-sdk/dist/BUNDLE_LICENSE.txt +++ /dev/null @@ -1,96 +0,0 @@ -The bundled package of the Alexa SDK for JavaScript is available under the -Apache License, Version 2.0: - - Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"). You - may not use this file except in compliance with the License. A copy of - the License is located at - - http://aws.amazon.com/apache2.0/ - - or in the "license" file accompanying this file. This file is - distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF - ANY KIND, either express or implied. See the License for the specific - language governing permissions and limitations under the License. - -This product bundles browserify, which is available under a -"3-clause BSD" license: - - Copyright Joyent, Inc. and other Node contributors. - - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to permit - persons to whom the Software is furnished to do so, subject to the - following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - USE OR OTHER DEALINGS IN THE SOFTWARE. - -This product bundles crypto-browserify, which is available under -the MIT license: - - Copyright (c) 2013 Dominic Tarr - - Permission is hereby granted, free of charge, - to any person obtaining a copy of this software and - associated documentation files (the "Software"), to - deal in the Software without restriction, including - without limitation the rights to use, copy, modify, - merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom - the Software is furnished to do so, - subject to the following conditions: - - The above copyright notice and this permission notice - shall be included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR - ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -This product bundles MD5, SHA-1, and SHA-256 hashing algorithm components, -which are available under a BSD license: - - Copyright (c) 1998 - 2009, Paul Johnston & Contributors - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyrightnotice, - this list of conditions and the following disclaimer. Redistributions - in binary form must reproduce the above copyright notice, this list of - conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. - - Neither the name of the author nor the names of its contributors may - be used to endorse or promote products derived from this software - without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/node_modules/alexa-sdk/index.js b/src/node_modules/alexa-sdk/index.js deleted file mode 100644 index 600a1de..0000000 --- a/src/node_modules/alexa-sdk/index.js +++ /dev/null @@ -1,5 +0,0 @@ -var AlexaLambdaHandler = require('./lib/alexa'); - -module.exports.handler = AlexaLambdaHandler.LambdaHandler; -module.exports.CreateStateHandler = AlexaLambdaHandler.CreateStateHandler; -module.exports.StateString = AlexaLambdaHandler.StateString; \ No newline at end of file diff --git a/src/node_modules/alexa-sdk/lib/DynamoAttributesHelper.js b/src/node_modules/alexa-sdk/lib/DynamoAttributesHelper.js deleted file mode 100644 index 00cd1c7..0000000 --- a/src/node_modules/alexa-sdk/lib/DynamoAttributesHelper.js +++ /dev/null @@ -1,99 +0,0 @@ -'use strict'; -var aws = require('aws-sdk'); -var doc; - -module.exports = (function() { - return { - get: function(table, userId, callback) { - if(!table) { - callback('DynamoDB Table name is not set.', null); - } - - if(!doc) { - doc = new aws.DynamoDB.DocumentClient({apiVersion: '2012-08-10'}); - } - - var params = { - Key: { - userId: userId - }, - TableName: table, - ConsistentRead: true - }; - - doc.get(params, function(err, data){ - if(err) { - console.log('get error: ' + JSON.stringify(err, null, 4)); - - if(err.code === 'ResourceNotFoundException') { - var dynamoClient = new aws.DynamoDB(); - newTableParams['TableName'] = table; - dynamoClient.createTable(newTableParams, function (err, data) { - if(err) { - console.log('Error creating table: ' + JSON.stringify(err, null, 4)); - } - console.log('Creating table ' + table + ':\n' + JSON.stringify(data)); - callback(err, {}); - }); - } else { - callback(err, null); - } - } else { - if(isEmptyObject(data)) { - callback(null, {}); - } else { - callback(null, data.Item['mapAttr']); - } - } - }); - }, - - set: function(table, userId, data, callback) { - if(!table) { - callback('DynamoDB Table name is not set.', null); - } - - if(!doc) { - doc = new aws.DynamoDB.DocumentClient({apiVersion: '2012-08-10'}); - } - - var params = { - Item: { - userId: userId, - mapAttr: data - }, - TableName: table - }; - - doc.put(params, function(err, data) { - if(err) { - console.log('Error during DynamoDB put:' + err); - } - callback(err, data); - }); - } - }; -})(); - -function isEmptyObject(obj) { - return !Object.keys(obj).length; -} - -var newTableParams = { - AttributeDefinitions: [ - { - AttributeName: 'userId', - AttributeType: 'S' - } - ], - KeySchema: [ - { - AttributeName: 'userId', - KeyType: 'HASH' - } - ], - ProvisionedThroughput: { - ReadCapacityUnits: 5, - WriteCapacityUnits: 5 - } -}; \ No newline at end of file diff --git a/src/node_modules/alexa-sdk/lib/alexa.js b/src/node_modules/alexa-sdk/lib/alexa.js deleted file mode 100644 index ec5a814..0000000 --- a/src/node_modules/alexa-sdk/lib/alexa.js +++ /dev/null @@ -1,437 +0,0 @@ -'use strict'; - -var EventEmitter = require('events').EventEmitter; -var util = require('util'); -var i18n = require('i18next'); -var sprintf = require('i18next-sprintf-postprocessor'); -var attributesHelper = require('./DynamoAttributesHelper'); -var responseHandlers = require('./response'); -var _StateString = 'STATE'; - -function AlexaRequestEmitter() { - EventEmitter.call(this); -} - -util.inherits(AlexaRequestEmitter, EventEmitter); - -function alexaRequestHandler(event, context, callback) { - if (!event.session) { - event.session = { 'attributes': {} }; - } else if (!event.session['attributes']) { - event.session['attributes'] = {}; - } - - var handler = new AlexaRequestEmitter(); - handler.setMaxListeners(Infinity); - - Object.defineProperty(handler, '_event', { - value: event, - writable: false - }); - - Object.defineProperty(handler, '_context', { - value: context, - writable: false - }); - - Object.defineProperty(handler, '_callback', { - value: callback, - writable: false - }); - - Object.defineProperty(handler, 'state', { - value: null, - writable: true, - configurable: true - }); - - Object.defineProperty(handler, 'appId', { - value: null, - writable: true - }); - - Object.defineProperty(handler, 'response', { - value: {}, - writable: true - }); - - Object.defineProperty(handler, 'dynamoDBTableName', { - value: null, - writable: true - }); - - Object.defineProperty(handler, 'saveBeforeResponse', { - value: false, - writable: true - }); - - Object.defineProperty(handler, 'i18n', { - value: i18n, - writable: true - }); - - Object.defineProperty(handler, 'locale', { - value: undefined, - writable: true - }); - - Object.defineProperty(handler, 'resources', { - value: undefined, - writable: true - }); - - Object.defineProperty(handler, 'registerHandlers', { - value: function() { - RegisterHandlers.apply(handler, arguments); - }, - writable: false - }); - - Object.defineProperty(handler, 'execute', { - value: function() { - HandleLambdaEvent.call(handler); - }, - writable: false - }); - - handler.registerHandlers(responseHandlers); - - return handler; -} - -function HandleLambdaEvent() { - this.locale = this._event.request.locale; - if(this.resources) { - this.i18n.use(sprintf).init({ - overloadTranslationOptionHandler: sprintf.overloadTranslationOptionHandler, - returnObjects: true, - lng: this.locale, - resources: this.resources - }, (err, t) => { - if(err) { - throw new Error('Error initializing i18next: ' + err); - } - ValidateRequest.call(this); - }); - } else { - ValidateRequest.call(this); - } -} - -function ValidateRequest() { - var event = this._event; - var context = this._context; - var callback = this._callback; - var handlerAppId = this.appId; - - var requestAppId = ''; - var userId = ''; - - // Long-form audio enabled skills use event.context - if (event.context) { - requestAppId = event.context.System.application.applicationId; - userId = event.context.System.user.userId; - } else if (event.session) { - requestAppId = event.session.application.applicationId; - userId = event.session.user.userId; - } - - - if(!handlerAppId){ - console.log('Warning: Application ID is not set'); - } - - try { - // Validate that this request originated from authorized source. - if (handlerAppId && (requestAppId !== handlerAppId)) { - console.log(`The applicationIds don\'t match: ${requestAppId} and ${handlerAppId}`); - var error = new Error('Invalid ApplicationId: ' + handlerAppId) - if(typeof callback === 'undefined') { - return context.fail(error) - } else { - return callback(error); - } - } - - if(this.dynamoDBTableName && (!event.session.sessionId || event.session['new']) ) { - attributesHelper.get(this.dynamoDBTableName, userId, (err, data) => { - if(err) { - var error = new Error('Error fetching user state: ' + err) - if(typeof callback === 'undefined') { - return context.fail(error) - } else { - return callback(error); - } - } - - Object.assign(this._event.session.attributes, data); - - EmitEvent.call(this); - }); - } else { - EmitEvent.call(this); - } - } catch (e) { - console.log(`Unexpected exception '${e}':\n${e.stack}`); - if(typeof callback === 'undefined') { - return context.fail(e) - } else { - return callback(e); - } - } -} - -function EmitEvent() { - this.state = this._event.session.attributes[_StateString] || ''; - - var eventString = ''; - - if (this._event.session['new'] && this.listenerCount('NewSession' + this.state) === 1) { - eventString = 'NewSession'; - } else if(this._event.request.type === 'LaunchRequest') { - eventString = 'LaunchRequest'; - } else if(this._event.request.type === 'IntentRequest') { - eventString = this._event.request.intent.name; - } else if (this._event.request.type === 'SessionEndedRequest'){ - eventString = 'SessionEndedRequest'; - } else if (this._event.request.type.substring(0,11) === 'AudioPlayer') { - eventString = this._event.request.type.substring(12); - } else if (this._event.request.type.substring(0,18) === 'PlaybackController') { - eventString = this._event.request.type.substring(19); - } else if (this._event.request.type === 'Display.ElementSelected') { - eventString = 'ElementSelected'; - } - - eventString += this.state; - - if(this.listenerCount(eventString) < 1) { - eventString = 'Unhandled' + this.state; - } - - if(this.listenerCount(eventString) < 1){ - throw new Error(`No 'Unhandled' function defined for event: ${eventString}`); - } - - this.emit(eventString); -} - -function RegisterHandlers() { - for(var arg = 0; arg < arguments.length; arg++) { - var handlerObject = arguments[arg]; - - if(!isObject(handlerObject)) { - throw new Error(`Argument #${arg} was not an Object`); - } - - var eventNames = Object.keys(handlerObject); - - for(var i = 0; i < eventNames.length; i++) { - if(typeof(handlerObject[eventNames[i]]) !== 'function') { - throw new Error(`Event handler for '${eventNames[i]}' was not a function`); - } - - var eventName = eventNames[i]; - - if(handlerObject[_StateString]) { - eventName += handlerObject[_StateString]; - } - - var localize = function() { - return this.i18n.t.apply(this.i18n, arguments); - }; - - var handlerContext = { - on: this.on.bind(this), - emit: this.emit.bind(this), - emitWithState: EmitWithState.bind(this), - state: this.state, - handler: this, - i18n: this.i18n, - locale: this.locale, - t : localize, - event: this._event, - attributes: this._event.session.attributes, - context: this._context, - callback : this._callback, - name: eventName, - isOverridden: IsOverridden.bind(this, eventName), - response: ResponseBuilder(this) - }; - - this.on(eventName, handlerObject[eventNames[i]].bind(handlerContext)); - } - } -} - -function isObject(obj) { - return (!!obj) && (obj.constructor === Object); -} - -function IsOverridden(name) { - return this.listenerCount(name) > 1; -} - -function ResponseBuilder(self) { - var responseObject = self.response; - responseObject.version = '1.0'; - responseObject.response = { - shouldEndSession: true - }; - responseObject.sessionAttributes = self._event.session.attributes; - - return (function () { - return { - 'speak': function (speechOutput) { - responseObject.response.outputSpeech = createSSMLSpeechObject(speechOutput); - return this; - }, - 'listen': function (repromptSpeech) { - responseObject.response.reprompt = { - outputSpeech: createSSMLSpeechObject(repromptSpeech) - }; - responseObject.response.shouldEndSession = false; - return this; - }, - 'cardRenderer': function (cardTitle, cardContent, cardImage) { - var card = { - type: 'Simple', - title: cardTitle, - content: cardContent - }; - - if(cardImage && (cardImage.smallImageUrl || cardImage.largeImageUrl)) { - card.type = 'Standard'; - card['image'] = {}; - - delete card.content; - card.text = cardContent; - - if(cardImage.smallImageUrl) { - card.image['smallImageUrl'] = cardImage.smallImageUrl; - } - - if(cardImage.largeImageUrl) { - card.image['largeImageUrl'] = cardImage.largeImageUrl; - } - } - - responseObject.response.card = card; - return this; - }, - 'linkAccountCard': function () { - responseObject.response.card = { - type: 'LinkAccount' - }; - return this; - }, - 'audioPlayer': function (directiveType, behavior, url, token, expectedPreviousToken, offsetInMilliseconds) { - var audioPlayerDirective; - if (directiveType === 'play') { - audioPlayerDirective = { - "type": "AudioPlayer.Play", - "playBehavior": behavior, - "audioItem": { - "stream": { - "url": url, - "token": token, - "expectedPreviousToken": expectedPreviousToken, - "offsetInMilliseconds": offsetInMilliseconds - } - } - }; - } else if (directiveType === 'stop') { - audioPlayerDirective = { - "type": "AudioPlayer.Stop" - }; - } else { - audioPlayerDirective = { - "type": "AudioPlayer.ClearQueue", - "clearBehavior": behavior - }; - } - - responseObject.response.directives = [audioPlayerDirective]; - return this; - }, - 'audioPlayerPlay': function (behavior, url, token, expectedPreviousToken, offsetInMilliseconds) { - var audioPlayerDirective = { - "type": "AudioPlayer.Play", - "playBehavior": behavior, - "audioItem": { - "stream": { - "url": url, - "token": token, - "expectedPreviousToken": expectedPreviousToken, - "offsetInMilliseconds": offsetInMilliseconds - } - } - }; - - responseObject.response.directives = [audioPlayerDirective]; - return this; - }, - 'audioPlayerStop': function () { - var audioPlayerDirective = { - "type": "AudioPlayer.Stop" - }; - - responseObject.response.directives = [audioPlayerDirective]; - return this; - }, - 'audioPlayerClearQueue': function (clearBehavior) { - var audioPlayerDirective = { - "type": "AudioPlayer.ClearQueue", - "clearBehavior": clearBehavior - }; - - responseObject.response.directives = [audioPlayerDirective]; - return this; - } - } - })(); -} - -function createSSMLSpeechObject(message) { - return { - type: 'SSML', - ssml: ` ${message} ` - }; -} - -function createStateHandler(state, obj){ - if(!obj) { - obj = {}; - } - - Object.defineProperty(obj, _StateString, { - value: state || '' - }); - - return obj; -} - -function EmitWithState() { - if(arguments.length === 0) { - throw new Error('EmitWithState called without arguments'); - } - arguments[0] = arguments[0] + this.state; - - if (this.listenerCount(arguments[0]) < 1) { - arguments[0] = 'Unhandled' + this.state; - } - - if (this.listenerCount(arguments[0]) < 1) { - throw new Error(`No 'Unhandled' function defined for event: ${arguments[0]}`); - } - - this.emit.apply(this, arguments); -} - -process.on('uncaughtException', function(err) { - console.log(`Uncaught exception: ${err}\n${err.stack}`); - throw err; -}); - -module.exports.LambdaHandler = alexaRequestHandler; -module.exports.CreateStateHandler = createStateHandler; -module.exports.StateString = _StateString; diff --git a/src/node_modules/alexa-sdk/lib/response.js b/src/node_modules/alexa-sdk/lib/response.js deleted file mode 100644 index 31134f9..0000000 --- a/src/node_modules/alexa-sdk/lib/response.js +++ /dev/null @@ -1,364 +0,0 @@ -'use strict'; -var attributesHelper = require('./DynamoAttributesHelper'); - -module.exports = (function () { - return { - ':tell': function (speechOutput) { - if(this.isOverridden()) { - return; - } - - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - shouldEndSession: true - }); - this.emit(':responseReady'); - }, - ':ask': function (speechOutput, repromptSpeech) { - if(this.isOverridden()) { - return; - } - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - reprompt: getSSMLResponse(repromptSpeech), - shouldEndSession: false - }); - this.emit(':responseReady'); - }, - ':askWithCard': function(speechOutput, repromptSpeech, cardTitle, cardContent, imageObj) { - if(this.isOverridden()) { - return; - } - - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - reprompt: getSSMLResponse(repromptSpeech), - cardTitle: cardTitle, - cardContent: cardContent, - cardImage: imageObj, - shouldEndSession: false - }); - this.emit(':responseReady'); - }, - ':tellWithCard': function(speechOutput, cardTitle, cardContent, imageObj) { - if(this.isOverridden()) { - return; - } - - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - cardTitle: cardTitle, - cardContent: cardContent, - cardImage: imageObj, - shouldEndSession: true - }); - this.emit(':responseReady'); - }, - ':tellWithLinkAccountCard': function(speechOutput) { - if(this.isOverridden()) { - return; - } - - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - cardType: 'LinkAccount', - shouldEndSession: true - }); - this.emit(':responseReady'); - }, - ':askWithLinkAccountCard': function(speechOutput, repromptSpeech) { - if(this.isOverridden()) { - return; - } - - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - reprompt: getSSMLResponse(repromptSpeech), - cardType: 'LinkAccount', - shouldEndSession: false - }); - this.emit(':responseReady'); - }, - ':tellWithPermissionCard': function(speechOutput, permissions) { - if(this.isOverridden()) { - return; - } - - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - permissions: permissions, - cardType: 'AskForPermissionsConsent', - shouldEndSession: true - }); - this.emit(':responseReady'); - }, - ':delegate': function(updatedIntent) { - if(this.isOverridden()) { - return; - } - - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - directives: getDialogDirectives('Dialog.Delegate', updatedIntent, null), - shouldEndSession: false - }); - this.emit(':responseReady'); - }, - ':elicitSlot': function (slotName, speechOutput, repromptSpeech, updatedIntent) { - if(this.isOverridden()) { - return; - } - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - reprompt: getSSMLResponse(repromptSpeech), - directives: getDialogDirectives('Dialog.ElicitSlot', updatedIntent, slotName), - shouldEndSession: false - }); - this.emit(':responseReady'); - }, - ':elicitSlotWithCard': function (slotName, speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj) { - if(this.isOverridden()) { - return; - } - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - reprompt: getSSMLResponse(repromptSpeech), - cardTitle: cardTitle, - cardContent: cardContent, - cardImage: imageObj, - directives: getDialogDirectives('Dialog.ElicitSlot', updatedIntent, slotName), - shouldEndSession: false - }); - this.emit(':responseReady'); - }, - ':confirmSlot': function (slotName, speechOutput, repromptSpeech, updatedIntent) { - if(this.isOverridden()) { - return; - } - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - reprompt: getSSMLResponse(repromptSpeech), - directives: getDialogDirectives('Dialog.ConfirmSlot', updatedIntent, slotName), - shouldEndSession: false - }); - this.emit(':responseReady'); - }, - ':confirmSlotWithCard': function (slotName, speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj) { - if(this.isOverridden()) { - return; - } - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - reprompt: getSSMLResponse(repromptSpeech), - cardTitle: cardTitle, - cardContent: cardContent, - cardImage: imageObj, - directives: getDialogDirectives('Dialog.ConfirmSlot', updatedIntent, slotName), - shouldEndSession: false - }); - this.emit(':responseReady'); - }, - ':confirmIntent': function (speechOutput, repromptSpeech, updatedIntent) { - if(this.isOverridden()) { - return; - } - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - reprompt: getSSMLResponse(repromptSpeech), - directives: getDialogDirectives('Dialog.ConfirmIntent', updatedIntent, null), - shouldEndSession: false - }); - this.emit(':responseReady'); - }, - ':confirmIntentWithCard': function (speechOutput, repromptSpeech, cardTitle, cardContent, updatedIntent, imageObj) { - if(this.isOverridden()) { - return; - } - this.handler.response = buildSpeechletResponse({ - sessionAttributes: this.attributes, - output: getSSMLResponse(speechOutput), - reprompt: getSSMLResponse(repromptSpeech), - cardTitle: cardTitle, - cardContent: cardContent, - cardImage: imageObj, - directives: getDialogDirectives('Dialog.ConfirmIntent', updatedIntent, null), - shouldEndSession: false - }); - this.emit(':responseReady'); - }, - ':responseReady': function () { - if (this.isOverridden()) { - return; - } - - if(this.handler.state) { - this.handler.response.sessionAttributes['STATE'] = this.handler.state; - } - - if (this.handler.dynamoDBTableName) { - this.emit(':saveState'); - } - - if(typeof this.callback === 'undefined') { - this.context.succeed(this.handler.response); - } else { - this.callback(null, this.handler.response); - } - }, - ':saveState': function(forceSave) { - if (this.isOverridden()) { - return; - } - - if(forceSave && this.handler.state){ - this.attributes['STATE'] = this.handler.state; - } - - var userId = ''; - - // Long-form audio enabled skills use event.context - if (this.event.context) { - userId = this.event.context.System.user.userId; - } else if (this.event.session) { - userId = this.event.session.user.userId; - } - - if(this.handler.saveBeforeResponse || forceSave || this.handler.response.response.shouldEndSession) { - attributesHelper.set(this.handler.dynamoDBTableName, userId, this.attributes, (err) => { - if(err) { - return this.emit(':saveStateError', err); - } - }); - } - }, - ':saveStateError': function(err) { - if(this.isOverridden()) { - return; - } - console.log(`Error saving state: ${err}\n${err.stack}`); - if(typeof this.callback === 'undefined') { - this.context.fail(err); - } else { - this.callback(err); - } - } - }; -})(); - -function createSpeechObject(optionsParam) { - if (optionsParam && optionsParam.type === 'SSML') { - return { - type: optionsParam.type, - ssml: optionsParam['speech'] - }; - } else { - return { - type: optionsParam.type || 'PlainText', - text: optionsParam['speech'] || optionsParam - }; - } -} - -function buildSpeechletResponse(options) { - var alexaResponse = { - shouldEndSession: options.shouldEndSession - }; - - if (options.output) { - alexaResponse.outputSpeech = createSpeechObject(options.output); - } - - if (options.reprompt) { - alexaResponse.reprompt = { - outputSpeech: createSpeechObject(options.reprompt) - }; - } - - if (options.directives) { - alexaResponse.directives = options.directives; - } - - if (options.cardTitle && options.cardContent) { - alexaResponse.card = { - type: 'Simple', - title: options.cardTitle, - content: options.cardContent - }; - - if(options.cardImage && (options.cardImage.smallImageUrl || options.cardImage.largeImageUrl)) { - alexaResponse.card.type = 'Standard'; - alexaResponse.card['image'] = {}; - - delete alexaResponse.card.content; - alexaResponse.card.text = options.cardContent; - - if(options.cardImage.smallImageUrl) { - alexaResponse.card.image['smallImageUrl'] = options.cardImage.smallImageUrl; - } - - if(options.cardImage.largeImageUrl) { - alexaResponse.card.image['largeImageUrl'] = options.cardImage.largeImageUrl; - } - } - } else if (options.cardType === 'LinkAccount') { - alexaResponse.card = { - type: 'LinkAccount' - }; - } else if (options.cardType === 'AskForPermissionsConsent') { - alexaResponse.card = { - type: 'AskForPermissionsConsent', - permissions: options.permissions - }; - } - - var returnResult = { - version: '1.0', - response: alexaResponse - }; - - if (options.sessionAttributes) { - returnResult.sessionAttributes = options.sessionAttributes; - } - return returnResult; -} - -// TODO: check for ssml content in card -function getSSMLResponse(message) { - if (message == null) { - return null; - } else { - return { - type: 'SSML', - speech: ` ${message} ` - }; - } -} - -function getDialogDirectives(dialogType, updatedIntent, slotName) { - let directive = { - type: dialogType - }; - - if (dialogType === 'Dialog.ElicitSlot') { - directive.slotToElicit = slotName; - } else if (dialogType === 'Dialog.ConfirmSlot') { - directive.slotToConfirm = slotName; - } - - if (updatedIntent) { - directive.updatedIntent = updatedIntent; - } - return [directive]; -} diff --git a/src/node_modules/alexa-sdk/package.json b/src/node_modules/alexa-sdk/package.json deleted file mode 100644 index 7c2296c..0000000 --- a/src/node_modules/alexa-sdk/package.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "_args": [ - [ - "alexa-sdk@^1.0.6", - "/home/binhong/dota2-alexa-skill/src" - ] - ], - "_from": "alexa-sdk@>=1.0.6 <2.0.0", - "_id": "alexa-sdk@1.0.11", - "_inCache": true, - "_installable": true, - "_location": "/alexa-sdk", - "_nodeVersion": "6.9.1", - "_npmOperationalInternal": { - "host": "s3://npm-registry-packages", - "tmp": "tmp/alexa-sdk-1.0.11.tgz_1498871748051_0.3228772508446127" - }, - "_npmUser": { - "email": "alexa-lantern-team@amazon.com", - "name": "alexalantern" - }, - "_npmVersion": "3.10.8", - "_phantomChildren": {}, - "_requested": { - "name": "alexa-sdk", - "raw": "alexa-sdk@^1.0.6", - "rawSpec": "^1.0.6", - "scope": null, - "spec": ">=1.0.6 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/alexa-sdk/-/alexa-sdk-1.0.11.tgz", - "_shasum": "bbc5d95c9878bc76c4b48f7909ad620c81044995", - "_shrinkwrap": null, - "_spec": "alexa-sdk@^1.0.6", - "_where": "/home/binhong/dota2-alexa-skill/src", - "author": { - "name": "Amazon.com" - }, - "bugs": { - "url": "https://github.com/alexa/alexa-skill-sdk-for-nodejs/issues" - }, - "contributors": [ - { - "name": "Diego Benitez", - "email": "diegoben@amazon.com" - }, - { - "name": "Yang Zhang", - "email": "ygzg@amazon.com" - }, - { - "name": "Brendan Clement", - "email": "clebrend@amazon.com" - }, - { - "name": "Leandro Pascual", - "email": "leandrop@amazon.com" - }, - { - "name": "Krish Furia", - "email": "krishf@amazon.com" - } - ], - "dependencies": { - "aws-sdk": "^2.4.7", - "i18next": "^3.4.1", - "i18next-sprintf-postprocessor": "^0.2.2" - }, - "description": "Alexa Skill SDK for Node.js", - "devDependencies": {}, - "directories": {}, - "dist": { - "shasum": "bbc5d95c9878bc76c4b48f7909ad620c81044995", - "tarball": "https://registry.npmjs.org/alexa-sdk/-/alexa-sdk-1.0.11.tgz" - }, - "gitHead": "3c91133e99ab404d7aeb6765cb01ecb2100494da", - "homepage": "https://github.com/alexa/alexa-skill-sdk-for-nodejs#readme", - "keywords": [ - "Alexa", - "sdk", - "skill" - ], - "license": "Apache-2.0", - "main": "index.js", - "maintainers": [ - { - "name": "alexalantern", - "email": "alexa-lantern-team@amazon.com" - }, - { - "name": "diegoben", - "email": "alexa-npm-admin@amazon.com" - } - ], - "name": "alexa-sdk", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/alexa/alexa-skill-sdk-for-nodejs.git" - }, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "version": "1.0.11" -} diff --git a/src/node_modules/aws-sdk/.changes/2.10.0.json b/src/node_modules/aws-sdk/.changes/2.10.0.json deleted file mode 100644 index 54d0b3d..0000000 --- a/src/node_modules/aws-sdk/.changes/2.10.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "bugfix", - "category": "JSON", - "description": "Fixes issue caused when trying to unmarshall null binary shapes." - }, - { - "type": "bugfix", - "category": "TypeScript", - "description": "Add `credentialProvider` as an optional parameter of `ConfigurationOptions`." - }, - { - "type": "feature", - "category": "LexRuntime", - "description": "Amazon Lex is a service for building conversational interactions into any application using voice or text." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.11.0.json b/src/node_modules/aws-sdk/.changes/2.11.0.json deleted file mode 100644 index f88bc9f..0000000 --- a/src/node_modules/aws-sdk/.changes/2.11.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "bugfix", - "category": "TypeScript", - "description": "Add `endpoint` property to AWS.S3 instance declaration." - }, - { - "type": "feature", - "category": "EC2", - "description": "This feature allows customers to associate an IAM profile to running instances that do not have any." - }, - { - "type": "feature", - "category": "Rekognition", - "description": "DetectFaces and IndexFaces operations now return an estimate of the age of the face as an age range." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.12.0.json b/src/node_modules/aws-sdk/.changes/2.12.0.json deleted file mode 100644 index 4125101..0000000 --- a/src/node_modules/aws-sdk/.changes/2.12.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "StorageGateway", - "description": "File gateway mode in AWS Storage gateway provides access to objects in S3 as files on a Network File System (NFS) mount point. This is done by creating Nfs file shares using existing APIs CreateNfsFileShare. Using the feature in this update, the customer can restrict the clients that have read/write access to the gateway by specifying the list of clients as a list of IP addresses or CIDR blocks. This list can be specified using the API CreateNfsFileShare while creating new file shares, or UpdateNfsFileShare while update existing file shares. To find out the list of clients that have access, the existing API DescribeNfsFileShare will now output the list of clients that have access." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.13.0.json b/src/node_modules/aws-sdk/.changes/2.13.0.json deleted file mode 100644 index 66e7efe..0000000 --- a/src/node_modules/aws-sdk/.changes/2.13.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "Ec2", - "description": "Adds support for the new Modify Volumes apis." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.14.0.json b/src/node_modules/aws-sdk/.changes/2.14.0.json deleted file mode 100644 index f278c9e..0000000 --- a/src/node_modules/aws-sdk/.changes/2.14.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "KMS", - "description": "This release of AWS Key Management Service introduces the ability to tag keys. Tagging keys can help you organize your keys and track your KMS costs in the cost allocation report. This release also increases the maximum length of a key ID to accommodate ARNs that include a long key alias." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.15.0.json b/src/node_modules/aws-sdk/.changes/2.15.0.json deleted file mode 100644 index c055a55..0000000 --- a/src/node_modules/aws-sdk/.changes/2.15.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "CognitoIdentity", - "description": "Allows createIdentityPool and updateIdentityPool API to set server side token check value on identity pool." - }, - { - "type": "feature", - "category": "ConfigService", - "description": "AWS Config now supports a new test mode for the PutEvaluations API. Set the TestMode parameter to true in your custom rule to verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.16.0.json b/src/node_modules/aws-sdk/.changes/2.16.0.json deleted file mode 100644 index f02c767..0000000 --- a/src/node_modules/aws-sdk/.changes/2.16.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "DirectConnect", - "description": "This update will introduce the ability for Direct Connect customers to take advantage of Link Aggregation (LAG). This allows you to bundle many individual physical interfaces into a single logical interface, referred to as a LAG. This makes administration much simpler as the majority of configuration is done on the LAG while you are free to add or remove physical interfaces from the bundle as bandwidth demand increases or decreases. A concrete example of the simplification added by LAG is that customers need only a single BGP session as opposed to one session per physical connection." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.17.0.json b/src/node_modules/aws-sdk/.changes/2.17.0.json deleted file mode 100644 index e904bb7..0000000 --- a/src/node_modules/aws-sdk/.changes/2.17.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "bugfix", - "category": "TypeScript", - "description": "Enable the configuration credentials to be nulled so that the global config is not used." - }, - { - "type": "feature", - "category": "EC2", - "description": "Added the billingProduct parameter to the RegisterImage API." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.18.0.json b/src/node_modules/aws-sdk/.changes/2.18.0.json deleted file mode 100644 index abdf456..0000000 --- a/src/node_modules/aws-sdk/.changes/2.18.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "GameLift", - "description": "Allow developers to configure global queues for creating GameSessions. Allow PlayerData on PlayerSessions to store player-specific data." - }, - { - "type": "feature", - "category": "Route53", - "description": "Added support for operations CreateVPCAssociationAuthorization and DeleteVPCAssociationAuthorization to throw a ConcurrentModification error when a conflicting modification occurs in parallel to the authorizations in place for a given hosted zone." - }, - { - "type": "feature", - "category": "ElasticBeanstalk", - "description": "Elastic Beanstalk adds support for creating and managing custom platform." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.19.0.json b/src/node_modules/aws-sdk/.changes/2.19.0.json deleted file mode 100644 index 214a1b2..0000000 --- a/src/node_modules/aws-sdk/.changes/2.19.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "bugfix", - "category": "XHR", - "description": "Fixes an issue where the callback provided to an operation would not fire if a request was aborted after being sent. The bug only affected the browser SDK." - }, - { - "type": "feature", - "category": "S3", - "description": "Added an instance method to S3 clients to create POST form data with presigned upload policies" - }, - { - "type": "feature", - "category": "DynamoDB", - "description": "Expose DynamoDB DocumentClient marshaller/unmarshaller as AWS.DynamoDB.Converter" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.20.0.json b/src/node_modules/aws-sdk/.changes/2.20.0.json deleted file mode 100644 index 7a9cdb0..0000000 --- a/src/node_modules/aws-sdk/.changes/2.20.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "ES", - "description": "Added three new API calls to expose Amazon Elasticsearch imposed limits." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.21.0.json b/src/node_modules/aws-sdk/.changes/2.21.0.json deleted file mode 100644 index ebea748..0000000 --- a/src/node_modules/aws-sdk/.changes/2.21.0.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "type": "feature", - "category": "DynamoDB", - "description": "Time to Live (TTL) is a feature that allows you to define when items in a table expire and can be purged from the database, so that you don't have to track expired data and delete it manually. With TTL enabled on a DynamoDB table, you can set a timestamp for deletion on a per-item basis, allowing you to limit storage usage to only those records that are relevant." - }, - { - "type": "feature", - "category": "DynamoDBStreams", - "description": "Time to Live (TTL) is a feature that allows you to define when items in a table expire and can be purged from the database, so that you don't have to track expired data and delete it manually. With TTL enabled on a DynamoDB table, you can set a timestamp for deletion on a per-item basis, allowing you to limit storage usage to only those records that are relevant." - }, - { - "type": "feature", - "category": "IAM", - "description": "This release adds support for AWS Organizations service control policies (SCPs) to SimulatePrincipalPolicy operation. If there are SCPs associated with the simulated user's account, their effect on the result is captured in the OrganizationDecisionDetail element in the EvaluationResult." - }, - { - "type": "feature", - "category": "MechanicalTurkRequester", - "description": "Amazon Mechanical Turk is a web service that provides an on-demand, scalable, human workforce to complete jobs that humans can do better than computers, for example, recognizing objects in photos." - }, - { - "type": "feature", - "category": "Organizations", - "description": "AWS Organizations is a web service that enables you to consolidate your multiple AWS accounts into an organization and centrally manage your accounts and their resources." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.22.0.json b/src/node_modules/aws-sdk/.changes/2.22.0.json deleted file mode 100644 index ae8efad..0000000 --- a/src/node_modules/aws-sdk/.changes/2.22.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "bugfix", - "category": "MechanicalTurkRequester", - "description": "Rename MechanicalTurkRequester to MTurk" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.23.0.json b/src/node_modules/aws-sdk/.changes/2.23.0.json deleted file mode 100644 index 741287b..0000000 --- a/src/node_modules/aws-sdk/.changes/2.23.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "Budgets", - "description": "When creating or editing a budget via the AWS Budgets API you can define notifications that are sent to subscribers when the actual or forecasted value for cost or usage exceeds the notificationThreshold associated with the budget notification object. Starting today, the maximum allowed value for the notificationThreshold was raised from 100 to 300. This change was made to give you more flexibility when setting budget notifications." - }, - { - "type": "feature", - "category": "OpsWorksCM", - "description": "OpsWorks for Chef Automate has added a new field \"AssociatePublicIpAddress\" to the CreateServer request, \"CloudFormationStackArn\" to the Server model and \"TERMINATED\" server state." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.24.0.json b/src/node_modules/aws-sdk/.changes/2.24.0.json deleted file mode 100644 index fa3e46e..0000000 --- a/src/node_modules/aws-sdk/.changes/2.24.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "RDS", - "description": "Add support to using encrypted clusters as cross-region replication masters. Update CopyDBClusterSnapshot API to support encrypted cross region copy of Aurora cluster snapshots." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.25.0.json b/src/node_modules/aws-sdk/.changes/2.25.0.json deleted file mode 100644 index e5a8d9f..0000000 --- a/src/node_modules/aws-sdk/.changes/2.25.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "WorkDocs", - "description": "Amazon WorkDocs API provides full administrator level access to WorkDocs site resources, allowing developers to integrate their applications to manage WorkDocs users, content and permissions programmatically." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.26.0.json b/src/node_modules/aws-sdk/.changes/2.26.0.json deleted file mode 100644 index 2a986bb..0000000 --- a/src/node_modules/aws-sdk/.changes/2.26.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "APIGateway", - "description": "API Gateway has added support for ACM certificates on custom domain names. Both Amazon-issued certificates and uploaded third-part certificates are supported." - }, - { - "type": "feature", - "category": "CloudDirectory", - "description": "Introduces a new Cloud Directory API that enables you to retrieve all available parent paths for any type of object (a node, leaf node, policy node, and index node) in a hierarchy." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.27.0.json b/src/node_modules/aws-sdk/.changes/2.27.0.json deleted file mode 100644 index 496d272..0000000 --- a/src/node_modules/aws-sdk/.changes/2.27.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "bugfix", - "category": "TemporaryCredentials", - "description": "Ensure master credentials are not expired before using them to refresh temporary credentials" - }, - { - "type": "feature", - "category": "CodeDeploy", - "description": "Add paginators for Codedeploy" - }, - { - "type": "feature", - "category": "EMR", - "description": "This release includes support for instance fleets in Amazon EMR" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.28.0.json b/src/node_modules/aws-sdk/.changes/2.28.0.json deleted file mode 100644 index 4f8d6a9..0000000 --- a/src/node_modules/aws-sdk/.changes/2.28.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "DeviceFarm", - "description": "Network shaping allows users to simulate network connections and conditions while testing their Android, iOS, and web apps with AWS Device Farm." - }, - { - "type": "feature", - "category": "CloudWatchEvents", - "description": "This update extends Target Data Type for configuring Target behavior during invocation." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.29.0.json b/src/node_modules/aws-sdk/.changes/2.29.0.json deleted file mode 100644 index 7f5df49..0000000 --- a/src/node_modules/aws-sdk/.changes/2.29.0.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "type": "feature", - "category": "protocol", - "description": "The SDK can now support JSON-value string shapes in headers" - }, - { - "type": "feature", - "category": "Pinpoint", - "description": "Added ability to segment endpoints by user attributes in addition to endpoint attributes." - }, - { - "type": "feature", - "category": "Pinpoint", - "description": "Added functionality to publish raw app analytics and campaign events data as events streams to Kinesis and Kinesis Firehose." - }, - { - "type": "feature", - "category": "ELBv2", - "description": "Adding waiters for LoadBalancers in ELBv2." - }, - { - "type": "feature", - "category": "MarketplaceCommerceAnalytics", - "description": "This update adds a new data set, us_sales_and_use_tax_records, which enables AWS Marketplace sellers to programmatically access to their U.S. Sales and Use Tax report data." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.30.0.json b/src/node_modules/aws-sdk/.changes/2.30.0.json deleted file mode 100644 index 5da0e51..0000000 --- a/src/node_modules/aws-sdk/.changes/2.30.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "DynamoDb", - "description": "Allow objects with inheritance chains to be converted to MapAttributeValues instead of undefined" - }, - { - "type": "bugfix", - "category": "CredentialsError", - "description": "Update AWS.Config.getCredentials to overwrite the name (in addition to message and code) of errors thrown by underlying credential providers." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.31.0.json b/src/node_modules/aws-sdk/.changes/2.31.0.json deleted file mode 100644 index 0f30ccf..0000000 --- a/src/node_modules/aws-sdk/.changes/2.31.0.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "type": "feature", - "category": "DynamoDB", - "description": "Adds ability to customize retry delays for DynamoDB. This previously worked for all services except DynamoDB. Also adds jitter to DynamoDB retries. See `AWS.Config.retryDelayOptions` for more information." - }, - { - "type": "feature", - "category": "Waiter", - "description": "Allow customization of a waiter using a special `$waiter` key" - }, - { - "type": "feature", - "category": "Lambda", - "description": "Adds support for new runtime Node.js v6.10 for AWS Lambda service. :tada:" - }, - { - "type": "feature", - "category": "ELBv2", - "description": "Adding waiters for Elastic Load Balancing V2" - }, - { - "type": "feature", - "category": "Discovery", - "description": "Adds export configuration options to the API." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.32.0.json b/src/node_modules/aws-sdk/.changes/2.32.0.json deleted file mode 100644 index bb6882a..0000000 --- a/src/node_modules/aws-sdk/.changes/2.32.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "S3", - "description": "Adds a means of specifying tags to apply to objects of any size uploaded with AWS.S3.ManagedUploader" - }, - { - "type": "feature", - "category": "ApplicationAutoScaling", - "description": "Application AutoScaling is launching support for a new target resource (AppStream 2.0 Fleets) as a scalable target." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.33.0.json b/src/node_modules/aws-sdk/.changes/2.33.0.json deleted file mode 100644 index b1c2881..0000000 --- a/src/node_modules/aws-sdk/.changes/2.33.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "core", - "description": "Adds support for 'v4' and 'v4-unsigned-body' authtype traits." - }, - { - "type": "bugfix", - "category": "ManagedUpload", - "description": "Ensures multi-part upload locations are URI-decoded to match single-part upload locations." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.34.0.json b/src/node_modules/aws-sdk/.changes/2.34.0.json deleted file mode 100644 index a9337c0..0000000 --- a/src/node_modules/aws-sdk/.changes/2.34.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "features", - "category": "Batch", - "description": "Customers can now provide a retryStrategy as part of the RegisterJobDefinition and SubmitJob API calls." - }, - { - "type": "features", - "category": "EC2", - "description": "Customers can now tag their Amazon EC2 Instances and Amazon EBS Volumes at the time of their creation." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.35.0.json b/src/node_modules/aws-sdk/.changes/2.35.0.json deleted file mode 100644 index cd2fa0d..0000000 --- a/src/node_modules/aws-sdk/.changes/2.35.0.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFormation", - "description": "Adding paginators for ListExports and ListImports" - }, - { - "type": "feature", - "category": "CloudFront", - "description": "Amazon CloudFront now supports user configurable HTTP Read and Keep-Alive Idle Timeouts for your Custom Origin Servers" - }, - { - "type": "feature", - "category": "ResourceGroupsTaggingAPI", - "description": "Resource Groups Tagging APIs can help you organize your resources and enable you to simplify resource management, access management, and cost allocation." - }, - { - "type": "feature", - "category": "StorageGateway", - "description": "File gateway mode in AWS Storage gateway provides access to objects in S3 as files on a Network File System (NFS) mount point. Once a file share is created, any changes made externally to the S3 bucket will not be reflected by the gateway. Using the cache refresh feature in this update, the customer can trigger an on-demand scan of the keys in their S3 bucket and refresh the file namespace cached on the gateway. It takes as an input the fileShare ARN and refreshes the cache for only that file share. Additionally there is new functionality on file gateway that allows you configure what squash options they would like on their file share, this allows a customer to configure their gateway to not squash root permissions. This can be done by setting options in NfsOptions for CreateNfsFileShare and UpdateNfsFileShare APIs." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.36.0.json b/src/node_modules/aws-sdk/.changes/2.36.0.json deleted file mode 100644 index ab73ec1..0000000 --- a/src/node_modules/aws-sdk/.changes/2.36.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudDirectory", - "description": "ListObjectAttributes now supports filtering by facet." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.37.0.json b/src/node_modules/aws-sdk/.changes/2.37.0.json deleted file mode 100644 index e00e8b7..0000000 --- a/src/node_modules/aws-sdk/.changes/2.37.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "LexRuntime", - "description": "Adds support to PostContent for speech input" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.38.0.json b/src/node_modules/aws-sdk/.changes/2.38.0.json deleted file mode 100644 index 9b2f70d..0000000 --- a/src/node_modules/aws-sdk/.changes/2.38.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudWatch", - "description": "Amazon Web Services announced the immediate availability of two additional alarm configuration rules for Amazon CloudWatch Alarms. The first rule is for configuring missing data treatment. Customers have the options to treat missing data as alarm threshold breached, alarm threshold not breached, maintain alarm state and the current default treatment. The second rule is for alarms based on percentiles metrics that can trigger unnecassarily if the percentile is calculated from a small number of samples. The new rule can treat percentiles with low sample counts as same as missing data. If the first rule is enabled, the same treatment will be applied when an alarm encounters a percentile with low sample counts." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.39.0.json b/src/node_modules/aws-sdk/.changes/2.39.0.json deleted file mode 100644 index 265dc1e..0000000 --- a/src/node_modules/aws-sdk/.changes/2.39.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "ElastiCache", - "description": "ElastiCache added support for testing the Elasticache Multi-AZ feature with Automatic Failover." - }, - { - "type": "feature", - "category": "Http", - "description": "Adds a connectTimeout option that allows slow-to-establish socket connections to be quickly abandoned" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.4.10.json b/src/node_modules/aws-sdk/.changes/2.4.10.json deleted file mode 100644 index 25aeba0..0000000 --- a/src/node_modules/aws-sdk/.changes/2.4.10.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "util", - "description": "Parse ini files containing comments using #" - }, - { - "type": "feature", - "category": "Iot", - "description": "Adds support for thing types. Thing types are entities that store a description of common features of Things that are of the same logical type. Also adds support for `:` in Thing name. Adds a separator in Firehose action." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.4.11.json b/src/node_modules/aws-sdk/.changes/2.4.11.json deleted file mode 100644 index 4a89b5e..0000000 --- a/src/node_modules/aws-sdk/.changes/2.4.11.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "type": "feature", - "category": "APIGateway", - "description": "Adds support for authentication through Cognito User Pools." - }, - { - "type": "feature", - "category": "CognitoIdentityServiceProvider", - "description": "Introduces support for Your User Pools." - }, - { - "type": "feature", - "category": "DirectoryService", - "description": "Enables routing to on-premises public IP for Microsoft Active Directory." - }, - { - "type": "feature", - "category": "EC2", - "description": "Enables resolution of DNS queries from a peered VPC to a private IP address." - }, - { - "type": "feature", - "category": "ES", - "description": "Updates to Elasticsearch version 2.3, which offers improved performance, memory management, and security. It also offers several new features includinng pipeline aggregations to perform advanced analytics like moving averages and derivatives, and enhancements to geospatial queries." - }, - { - "type": "feature", - "category": "Waiter", - "description": "Adds Waiters for AWS.CodeDeploy." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.4.12.json b/src/node_modules/aws-sdk/.changes/2.4.12.json deleted file mode 100644 index df969c8..0000000 --- a/src/node_modules/aws-sdk/.changes/2.4.12.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Request", - "description": "Adds a content-length check for the stream returned from `createReadStream()`, and the stream will emit an error when the bytes received are fewer than specified by the response content-length header." - }, - { - "type": "bugfix", - "category": "S3", - "description": "Reverts behavior introduced in version `2.4.0` of the SDK to default the `signatureVersion` of S3 clients to `v4`. S3 clients instantiated without a user-defined `signatureVersion` will now default to `v2` unless the region only supports `v4` signing. This change is being made due to issues sending non-ascii characters in headers when using `v4` signing." - }, - { - "type": "feature", - "category": "CloudWatchLogs", - "description": "Updates the `putMetricFilter` operation." - }, - { - "type": "feature", - "category": "EMR", - "description": "Adds enhanced debugging." - }, - { - "type": "feature", - "category": "Iot", - "description": "Adds `listOutgoingCertificates` and support for allowing autoregistration." - }, - { - "type": "feature", - "category": "MachineLearning", - "description": "Adds compute time and entity timestamp to multiple operations." - }, - { - "type": "feature", - "category": "RDS", - "description": "Support for license model and versioning of option groups." - }, - { - "type": "feature", - "category": "Route53Domains", - "description": "Adds new APIs to renew domains for a specified duration, get domain suggestions, and view billing." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.4.13.json b/src/node_modules/aws-sdk/.changes/2.4.13.json deleted file mode 100644 index d674881..0000000 --- a/src/node_modules/aws-sdk/.changes/2.4.13.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "type": "feature", - "category": "ApplicationAutoScaling", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "AutoScaling", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "CodeDeploy", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "GameLift", - "description": "Provides a new Search API for GameLift, which allows game developers to retrieve filtered and sorted lists of their GameSessions." - }, - { - "type": "feature", - "category": "RDS", - "description": "You can now use the AWS Management Console to easily move your DB instance to a different VPC, or to a different subnet group in the same VPC. For more information, see Updating the VPC for a DB Instance. If your DB instance is not in a VPC, you can now use the AWS Management Console to easily move your DB instance into a VPC. You can now copy the source files from a MySQL database to an Amazon Simple Storage Service (Amazon S3) bucket, and then restore an Amazon Aurora DB cluster from those files. This option can be considerably faster than migrating data using mysqldump." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.4.14.json b/src/node_modules/aws-sdk/.changes/2.4.14.json deleted file mode 100644 index 3c90128..0000000 --- a/src/node_modules/aws-sdk/.changes/2.4.14.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFront", - "description": "Amazon CloudFront now supports tagging for Web and Streaming distributions. Tags make it easier for you to allocate costs and optimize spending by categorizing and grouping AWS resources." - }, - { - "type": "feature", - "category": "ECR", - "description": "Adds filtering of ListImages requests based on whether an image is tagged or untagged." - }, - { - "type": "feature", - "category": "MarketplaceCommerceAnalytics", - "description": "Adds the `startSupportDataExport` operation." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.4.8.json b/src/node_modules/aws-sdk/.changes/2.4.8.json deleted file mode 100644 index eb0322c..0000000 --- a/src/node_modules/aws-sdk/.changes/2.4.8.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFormation", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "CloudHSM", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "DeviceFarm", - "description": "Adds session-based APIs." - }, - { - "type": "feature", - "category": "EMR", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "ElastiCache", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "ElasticBeanstalk", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "Redshift", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "SSM", - "description": "Adds notification support." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.4.9.json b/src/node_modules/aws-sdk/.changes/2.4.9.json deleted file mode 100644 index 1dcf3ac..0000000 --- a/src/node_modules/aws-sdk/.changes/2.4.9.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "ACM", - "description": "Adds reason for failure when describing certificates." - }, - { - "type": "feature", - "category": "ConfigService", - "description": "Adds support for RDS and ACM resources types and introduces two new APIs: DeleteEvaluationResults and StartConfigRulesEvaluation. Updated PutConfigRule API can now create Config rules that are triggered by both configuration changes and periodicity." - }, - { - "type": "feature", - "category": "ElasticTranscoder", - "description": "Adds WAV file format output support." - }, - { - "type": "feature", - "category": "Paginator", - "description": "Adds paginator for SSM DescribeInstanceInformation operation." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.40.0.json b/src/node_modules/aws-sdk/.changes/2.40.0.json deleted file mode 100644 index 9b0a206..0000000 --- a/src/node_modules/aws-sdk/.changes/2.40.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "Redshift", - "description": "This update adds the GetClusterCredentials API which is used to get temporary login credentials to the cluster. AccountWithRestoreAccess now has a new member AccountAlias, this is the identifier of the AWS support account authorized to restore the specified snapshot. This is added to support the feature where the customer can share their snapshot with the Amazon Redshift Support Account without having to manually specify the AWS Redshift Service account ID on the AWS Console/API." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.41.0.json b/src/node_modules/aws-sdk/.changes/2.41.0.json deleted file mode 100644 index 8d01876..0000000 --- a/src/node_modules/aws-sdk/.changes/2.41.0.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "APIGateway", - "description": "API Gateway request validators" - }, - { - "type": "feature", - "category": "Batch", - "description": "API Update for AWS Batch: Customer provided AMI for MANAGED Compute Environment " - }, - { - "type": "feature", - "category": "GameLift", - "description": "Allows developers to utilize an improved workflow when calling our Queues API and introduces a new feature that allows developers to specify a maximum allowable latency per Queue." - }, - { - "type": "feature", - "category": "OpsWorks", - "description": "Cloudwatch Logs agent configuration can now be attached to OpsWorks Layers using CreateLayer and UpdateLayer. OpsWorks will then automatically install and manage the CloudWatch Logs agent on the instances part of the OpsWorks Layer." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.42.0.json b/src/node_modules/aws-sdk/.changes/2.42.0.json deleted file mode 100644 index 64f4656..0000000 --- a/src/node_modules/aws-sdk/.changes/2.42.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Parser", - "description": "Makes casting payload blobs to strings an exceptional behavior rather than the default" - }, - { - "type": "feature", - "category": "Lambda", - "description": "You can use tags to group and filter your Lambda functions, making it easier to analyze them for billing allocation purposes. For more information, see Tagging Lambda Functions. You can now write or upgrade your Lambda functions using Python version 3.6. For more information, see Programming Model for Authoring Lambda Functions in Python. Note: Features will be rolled out in the US regions on 4/19." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.43.0.json b/src/node_modules/aws-sdk/.changes/2.43.0.json deleted file mode 100644 index 6ca64bf..0000000 --- a/src/node_modules/aws-sdk/.changes/2.43.0.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "type": "feature", - "category": "APIGateway", - "description": "Add support for \"embed\" property." - }, - { - "type": "feature", - "category": "CodeStar", - "description": "AWS CodeStar is a cloud-based service for creating, managing, and working with software development projects on AWS. An AWS CodeStar project creates and integrates AWS services for your project development toolchain. AWS CodeStar also manages the permissions required for project users." - }, - { - "type": "feature", - "category": "EC2", - "description": "Adds support for creating an Amazon FPGA Image (AFI) from a specified design checkpoint (DCP)." - }, - { - "type": "feature", - "category": "IAM", - "description": "This changes introduces a new IAM role type, Service Linked Role, which works like a normal role but must be managed via services' control. " - }, - { - "type": "feature", - "category": "Lambda", - "description": "Lambda integration with CloudDebugger service to enable customers to enable tracing for the Lambda functions and send trace information to the CloudDebugger service." - }, - { - "type": "feature", - "category": "LexModelBuildingService", - "description": "Amazon Lex is a service for building conversational interfaces into any application using voice and text." - }, - { - "type": "feature", - "category": "Polly", - "description": "API Update for Amazon Polly: Add support for speech marks" - }, - { - "type": "feature", - "category": "Rekognition", - "description": "Given an image, the API detects explicit or suggestive adult content in the image and returns a list of corresponding labels with confidence scores, as well as a taxonomy (parent-child relation) for each label." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.44.0.json b/src/node_modules/aws-sdk/.changes/2.44.0.json deleted file mode 100644 index 2834cb3..0000000 --- a/src/node_modules/aws-sdk/.changes/2.44.0.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "type": "feature", - "category": "DeviceFarm", - "description": "API Update for AWS Device Farm: Support for Deals and Promotions " - }, - { - "type": "feature", - "category": "ELBv2", - "description": "Adding LoadBalancersDeleted waiter for Elasticloadbalancingv2" - }, - { - "type": "feature", - "category": "EnvironmentVariable", - "description": "Load config from ~/.aws/config if AWS_SDK_LOAD_CONFIG is set" - }, - { - "type": "feature", - "category": "EnvironmentVariable", - "description": "Add support for specifying the location of the shared config file via the AWS_CONFIG_FILE environment variable. This variable is only honored if AWS_SDK_LOAD_CONFIG is set to a truthy value." - }, - { - "type": "feature", - "category": "EnvironmentVariable", - "description": "Add support for the AWS_SHARED_CREDENTIALS_FILE environment variable if AWS_SDK_LOAD_CONFIG is set" - }, - { - "type": "feature", - "category": "Promises", - "description": "Binds response object to the data object with which successful request promises are resolved" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.45.0.json b/src/node_modules/aws-sdk/.changes/2.45.0.json deleted file mode 100644 index 1043f63..0000000 --- a/src/node_modules/aws-sdk/.changes/2.45.0.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Promise", - "description": "Fixes an issue introduced in v2.44.0 where payload members on some CloudFront and S3 operations weren't hoisted when using promises. This issue was introduced in and could affect users that were accessing fields on a response that weren't documented, but were available for backwards compatibility." - }, - { - "type": "bugfix", - "category": "Request", - "description": "Make `$response` property of resolved promise value non-enumerable to prevent serialization errors" - }, - { - "type": "feature", - "category": "AppStream", - "description": "The new feature named \"Default Internet Access\" will enable Internet access from AppStream 2.0 instances - image builders and fleet instances. Admins will check a flag either through AWS management console for AppStream 2.0 or through API while creating an image builder or while creating/updating a fleet." - }, - { - "type": "feature", - "category": "Kinesis", - "description": "Adds a new waiter, StreamNotExists, to Kinesis." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.46.0.json b/src/node_modules/aws-sdk/.changes/2.46.0.json deleted file mode 100644 index d07c981..0000000 --- a/src/node_modules/aws-sdk/.changes/2.46.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "bugfix", - "category": "SharedIniFileCredentials", - "description": "This fix reverts a regression introduced in version 2.44.0 in which the value returned by os.homedir would be used in preference over the value of the HOME environment variable" - }, - { - "type": "feature", - "category": "RDS", - "description": "With Amazon Relational Database Service (Amazon RDS) running MySQL or Amazon Aurora, you can now authenticate to your DB instance using IAM database authentication." - }, - { - "type": "feature", - "category": "RDS", - "description": "Adds AWS.RDS.Signer class to generate auth tokens for connecting to a database." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.47.0.json b/src/node_modules/aws-sdk/.changes/2.47.0.json deleted file mode 100644 index c90932d..0000000 --- a/src/node_modules/aws-sdk/.changes/2.47.0.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFormation", - "description": "API update for CloudFormation: New optional parameter ClientRequestToken which can be used as an idempotency token to safely retry certain operations as well as tagging StackEvents." - }, - { - "type": "feature", - "category": "RDS", - "description": "The DescribeDBClusterSnapshots API now returns a SourceDBClusterSnapshotArn field which identifies the source DB cluster snapshot of a copied snapshot." - }, - { - "type": "feature", - "category": "React Native", - "description": "Adds support for running the SDK in React Native. See the README for instructions." - }, - { - "type": "feature", - "category": "Rekognition", - "description": "Fix for missing file type check" - }, - { - "type": "feature", - "category": "SQS", - "description": "Adding server-side encryption (SSE) support to SQS by integrating with AWS KMS; adding new queue attributes to SQS CreateQueue, SetQueueAttributes and GetQueueAttributes APIs to support SSE." - }, - { - "type": "feature", - "category": "Snowball", - "description": "The Snowball API has a new exception that can be thrown for list operation requests." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.48.0.json b/src/node_modules/aws-sdk/.changes/2.48.0.json deleted file mode 100644 index 9a5a716..0000000 --- a/src/node_modules/aws-sdk/.changes/2.48.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFormation", - "description": "Adding back the removed waiters and paginators." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.49.0.json b/src/node_modules/aws-sdk/.changes/2.49.0.json deleted file mode 100644 index ce9f8e9..0000000 --- a/src/node_modules/aws-sdk/.changes/2.49.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "ECS", - "description": "Exposes container instance registration time in ECS:DescribeContainerInstances." - }, - { - "type": "feature", - "category": "Lambda", - "description": "Support for UpdateFunctionCode DryRun option" - }, - { - "type": "feature", - "category": "MarketplaceEntitlementService", - "description": "AWS Marketplace Entitlement Service enables AWS Marketplace sellers to determine the capacity purchased by their customers." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.5.0.json b/src/node_modules/aws-sdk/.changes/2.5.0.json deleted file mode 100644 index f7913fe..0000000 --- a/src/node_modules/aws-sdk/.changes/2.5.0.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "type": "feature", - "category": "AutoScaling", - "description": "Adds 3 new APIs for ELB L7 integration: attachLoadBalancerTargetGroups, detachLoadBalancerTargetGroups, and describeLoadBalancerTargetGroups." - }, - { - "type": "feature", - "category": "ECS", - "description": "Adds ECS support for ELBv2. Supports Application Load Balancer target groups to enable dynamic ports and path-based routing." - }, - { - "type": "feature", - "category": "ELBv2", - "description": "Adds new backwards incompatible application load balancer API version. Application load balancers are a new load balancer that is now supported by the Elastic Load Balancing service. Application load balancers support HTTP/2, WebSockets, routing based on URL path, and routing to multiple ports on a single instance." - }, - { - "type": "feature", - "category": "KMS", - "description": "Adds support for importing customer-supplied cryptographic keys. New import key feature lets you import keys from your own key management infrastructure to KMS for greater control over generation and storage of keys and meeting compliance requirements of sensitive workloads." - }, - { - "type": "feature", - "category": "KinesisAnalytics", - "description": "Adds the new service Amazon Kinesis Analytics, a fully managed service for continuously querying streaming data using standard SQL. With Kinesis Analytics, you can write standard SQL queries on streaming data and gain actionable insights in real-time, without having to learn any new programming skills. The service allows you to build applications that continuously read data from streaming data sources, process that data using standard SQL, and send the processed data to up to four destinations of your choice. Kinesis Analytics enables you to generate time-series analytics, feed a real-time dashboard, create real-time alarms and notifications, and much more." - }, - { - "type": "feature", - "category": "S3", - "description": "Adds support for IPv6/IPv4 Dualstack endpoint. A new opt-in boolean option `use Dualstack` can be specified for S3 service clients: `new AWS.S3({useDualstack: true})`. Alternatively, to configure it once for all subsequent S3 service clients: `AWS.config.update({s3: {useDualstack: true}})`." - }, - { - "type": "feature", - "category": "Snowball", - "description": "Adds Amazon Snowball, a new job management service." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.5.1.json b/src/node_modules/aws-sdk/.changes/2.5.1.json deleted file mode 100644 index e552555..0000000 --- a/src/node_modules/aws-sdk/.changes/2.5.1.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "ACM", - "description": "Increase tagging limit from 10 to 50." - }, - { - "type": "feature", - "category": "APIGateway", - "description": "Amazon API Gateway now supports API usage plans. Usage plans allows you to easily manage and monetize your APIs for your API-based business." - }, - { - "type": "feature", - "category": "ECS", - "description": "Adds support for memory reservation and network mode on task definitions. Also adds splunk as a supported log driver." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.5.2.json b/src/node_modules/aws-sdk/.changes/2.5.2.json deleted file mode 100644 index 42b8d2b..0000000 --- a/src/node_modules/aws-sdk/.changes/2.5.2.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Waiter", - "description": "Fixes bug in `clusterDeleted` waiter for AWS.Redshift." - }, - { - "type": "feature", - "category": "EC2", - "description": "Adds new APIs supporting dedicated host reservations. Also adds new property to response of `describeSpotFleetRequests` to indicate the activity status of spot fleet requests." - }, - { - "type": "feature", - "category": "Request", - "description": "eachItem method stops iteration on returning false (like eachPage)" - }, - { - "type": "feature", - "category": "WorkSpaces", - "description": "Adds new APIs to support the launch and management of WorkSpaces that are paid for and used by the hour." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.5.3.json b/src/node_modules/aws-sdk/.changes/2.5.3.json deleted file mode 100644 index e46265d..0000000 --- a/src/node_modules/aws-sdk/.changes/2.5.3.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "RDS", - "description": "Adds resource ARNs to Describe APIs." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.5.4.json b/src/node_modules/aws-sdk/.changes/2.5.4.json deleted file mode 100644 index 2e1f2a9..0000000 --- a/src/node_modules/aws-sdk/.changes/2.5.4.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFront", - "description": "CloudFront is adding a Querystring Whitelist Option. Customers will be able to choose to forward certain querystring keys instead of a.) all of them or b.) none of them." - }, - { - "type": "feature", - "category": "CodePipeline", - "description": "CodePiepline has introduced a new feature to return pipeline execution details. Execution details consists of source revisions that are running in the pipeline. Customers will be able to tell what source revisions that are running through the stages in pipeline by fetching execution details of each stage." - }, - { - "type": "feature", - "category": "Route53", - "description": "With this release, Route 53 will support the following new features: support for the NAPTR DNS record type, a new testDNSAnswer API which enables customers to send a test query against a specific name server using spoofed delegation nameserver, resolver, and ECS IPs, and support metric-based health check in ap-south-1 region." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.5.5.json b/src/node_modules/aws-sdk/.changes/2.5.5.json deleted file mode 100644 index ea028a5..0000000 --- a/src/node_modules/aws-sdk/.changes/2.5.5.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "CognitoIdentityServiceProvider", - "description": "Adds support for bulk import of users." - }, - { - "type": "feature", - "category": "GameLift", - "description": "Adds Linux support." - }, - { - "type": "feature", - "category": "Iot", - "description": "Adds Iot as a default service in the browser distribution of the AWS SDK for JavaScript." - }, - { - "type": "feature", - "category": "RDS", - "description": "Adds information in response of describeOptionGroupOptions about options that conflict with each other." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.5.6.json b/src/node_modules/aws-sdk/.changes/2.5.6.json deleted file mode 100644 index 2788790..0000000 --- a/src/node_modules/aws-sdk/.changes/2.5.6.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "RDS", - "description": "Adds new operation describeSourceRegions to provide list of all the source region names and endpoints for any region. Source regions are the regions where current region can get a replica or copy a snapshot from." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.50.0.json b/src/node_modules/aws-sdk/.changes/2.50.0.json deleted file mode 100644 index c01d6ce..0000000 --- a/src/node_modules/aws-sdk/.changes/2.50.0.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "type": "bugfix", - "category": "ReactNative", - "description": "Fixes issue where binary responses were empty in iOS (e.g. s3.getObject)" - }, - { - "type": "feature", - "category": "ELB", - "description": "Add a new API to allow customers to describe their account limits, such as load balancer limit, target group limit etc." - }, - { - "type": "feature", - "category": "ELBv2", - "description": "Add a new API to allow customers to describe their account limits, such as load balancer limit, target group limit etc." - }, - { - "type": "feature", - "category": "LexModelBuildingService", - "description": "Releasing new DeleteBotVersion, DeleteIntentVersion and DeleteSlotTypeVersion APIs." - }, - { - "type": "feature", - "category": "Organizations", - "description": "AWS Organizations APIs that return an Account object now include the email address associated with the account’s root user." - }, - { - "type": "bugfix", - "category": "Request", - "description": "Updates node.js request handling to obey socket read timeouts after response headers have been received. Previously timeouts were being ignored once headers were received, sometimes causing connections to hang." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.51.0.json b/src/node_modules/aws-sdk/.changes/2.51.0.json deleted file mode 100644 index 0c41ae4..0000000 --- a/src/node_modules/aws-sdk/.changes/2.51.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "SSM", - "description": "UpdateAssociation API now supports updating document name and targets of an association. GetAutomationExecution API can return FailureDetails as an optional field to the StepExecution Object, which contains failure type, failure stage as well as other failure related information for a failed step." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.52.0.json b/src/node_modules/aws-sdk/.changes/2.52.0.json deleted file mode 100644 index 0fb7f92..0000000 --- a/src/node_modules/aws-sdk/.changes/2.52.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "CodeDeploy", - "description": "This release introduces the previousRevision field in the responses to the GetDeployment and BatchGetDeployments actions. previousRevision provides information about the application revision that was deployed to the deployment group before the most recent successful deployment. Also, the fileExistsBehavior parameter has been added for CreateDeployment action requests. In the past, if the AWS CodeDeploy agent detected files in a target location that weren't part of the application revision from the most recent successful deployment, it would fail the current deployment by default. This new parameter provides options for how the agent handles these files: fail the deployment, retain the content, or overwrite the content." - }, - { - "type": "feature", - "category": "GameLift", - "description": "Allow developers to specify how metrics are grouped in CloudWatch for their GameLift fleets. Developers can also specify how many concurrent game sessions activate on a per-instance basis." - }, - { - "type": "feature", - "category": "Inspector", - "description": "Adds ability to produce an assessment report that includes detailed and comprehensive results of a specified assessment run." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.53.0.json b/src/node_modules/aws-sdk/.changes/2.53.0.json deleted file mode 100644 index 2e17414..0000000 --- a/src/node_modules/aws-sdk/.changes/2.53.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "Polly", - "description": "Amazon Polly adds new German voice \"Vicki\"" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.54.0.json b/src/node_modules/aws-sdk/.changes/2.54.0.json deleted file mode 100644 index 87e3f05..0000000 --- a/src/node_modules/aws-sdk/.changes/2.54.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "Athena", - "description": "This release adds support for Amazon Athena. Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run." - }, - { - "type": "feature", - "category": "Lightsail", - "description": "This release adds new APIs that make it easier to set network port configurations on Lightsail instances. Developers can now make a single request to both open and close public ports on an instance using the PutInstancePublicPorts operation." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.55.0.json b/src/node_modules/aws-sdk/.changes/2.55.0.json deleted file mode 100644 index 67663ff..0000000 --- a/src/node_modules/aws-sdk/.changes/2.55.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "bugfix", - "category": "ReactNative", - "description": "Requests will always have a Content-Type header if they also have a body. Works around an issue caused by React Native's Android XMLHttpRequest implementation that requires the Content-Type header to be present if there is a request body." - }, - { - "type": "feature", - "category": "ResourceGroupsTaggingAPI", - "description": "You can now specify the number of resources returned per page in GetResources operation, as an optional parameter, to easily manage the list of resources returned by your queries." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.56.0.json b/src/node_modules/aws-sdk/.changes/2.56.0.json deleted file mode 100644 index 4ed3212..0000000 --- a/src/node_modules/aws-sdk/.changes/2.56.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "DMS", - "description": "This release adds support for using Amazon S3 and Amazon DynamoDB as targets for database migration, and using MongoDB as a source for database migration. For more information, see the AWS Database Migration Service documentation." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.57.0.json b/src/node_modules/aws-sdk/.changes/2.57.0.json deleted file mode 100644 index bfaecb3..0000000 --- a/src/node_modules/aws-sdk/.changes/2.57.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "IAM", - "description": "The unique ID and access key lengths were extended from 32 to 128" - }, - { - "type": "feature", - "category": "STS", - "description": "The unique ID and access key lengths were extended from 32 to 128." - }, - { - "type": "feature", - "category": "StorageGateway", - "description": "Two Storage Gateway data types, Tape and TapeArchive, each have a new response element, TapeUsedInBytes. This element helps you manage your virtual tapes. By using TapeUsedInBytes, you can see the amount of data written to each virtual tape." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.58.0.json b/src/node_modules/aws-sdk/.changes/2.58.0.json deleted file mode 100644 index 6806fe6..0000000 --- a/src/node_modules/aws-sdk/.changes/2.58.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "AppStream", - "description": "Support added for persistent user storage, backed by S3." - }, - { - "type": "feature", - "category": "Rekognition", - "description": "Updated the CompareFaces API response to include orientation information, unmatched faces, landmarks, pose, and quality of the compared faces." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.59.0.json b/src/node_modules/aws-sdk/.changes/2.59.0.json deleted file mode 100644 index b6f6316..0000000 --- a/src/node_modules/aws-sdk/.changes/2.59.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "bugfix", - "category": "S3", - "description": "Update ManagedUploader body verification to allow empty strings" - }, - { - "type": "feature", - "category": "CloudDirectory", - "description": "Cloud Directory has launched support for Typed Links, enabling customers to create object-to-object relationships that are not hierarchical in nature. Typed Links enable customers to quickly query for data along these relationships. Customers can also enforce referential integrity using Typed Links, ensuring data in use is not inadvertently deleted." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.0.json b/src/node_modules/aws-sdk/.changes/2.6.0.json deleted file mode 100644 index f4e48ed..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.0.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFront", - "description": "Adds HTTP2 support for Amazon CloudFront distributions." - }, - { - "type": "feature", - "category": "MetadataService", - "description": "Adds retry logic to the EC2 Metadata Service, so that EC2MetadataCredentials will retry TimeoutError. This retry logic is also added to ECSCredentials. Resolves #692" - }, - { - "type": "feature", - "category": "ServiceCatalog", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "Tools", - "description": "Adds support for bundling the SDK with webpack. Also adds support for creating node.js bundles using webpack or browserify." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.1.json b/src/node_modules/aws-sdk/.changes/2.6.1.json deleted file mode 100644 index e557b87..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.1.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "bugfix", - "category": "SDK", - "description": "Fixes an issue that caused all services to be loaded into memory when requiring the SDK. This issue was introduced in version `2.6.0` of the SDK, and address #1124." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.10.json b/src/node_modules/aws-sdk/.changes/2.6.10.json deleted file mode 100644 index 5dba855..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.10.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFront", - "description": "Ability to use Amazon CloudFront to deliver your content both via IPv6 and IPv4 using HTTP/HTTPS." - }, - { - "type": "feature", - "category": "IoT", - "description": "Updates IoT API to the latest available version." - }, - { - "type": "feature", - "category": "RDS", - "description": "Updates RDS to support accessing other AWS services by gassociating an IAM role with necessary permissions to your DB cluster." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.11.json b/src/node_modules/aws-sdk/.changes/2.6.11.json deleted file mode 100644 index d095e51..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.11.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "Budgets", - "description": "Adds the AWS Budgets service API via AWS.Budgets." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.12.json b/src/node_modules/aws-sdk/.changes/2.6.12.json deleted file mode 100644 index db8d03a..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.12.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "CredentialProviderChain", - "description": "Adds promise support for the `resolve` method on the AWS.CredentialProviderChain class. Corresponding promise method is called `resolvePromise`." - }, - { - "type": "feature", - "category": "Credentials", - "description": "Adds promise support for the `get` and `refresh` methods of the AWS.Credentials class. Corresponding promise methods are called `getPromise` and `refreshPromise`." - }, - { - "type": "feature", - "category": "ManagedUpload", - "description": "Adds promise support for S3.ManagedUpload. Calling `s3.upload(params).promise()` will return a promise." - }, - { - "type": "feature", - "category": "SMS", - "description": "AWS Server Migration Service (SMS) is an agentless service which makes it easier and faster for you to migrate thousands of on-premises workloads to AWS. AWS SMS allows you to automate, schedule, and track incremental replications of live server volumes, making it easier for you to coordinate large-scale server migrations." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.13.json b/src/node_modules/aws-sdk/.changes/2.6.13.json deleted file mode 100644 index d6d5b89..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.13.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFormation", - "description": "Adding ResourcesToSkip parameter to ContinueUpdateRollback API, adding support for ListExports, new ChangeSet types and Transforms." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.14.json b/src/node_modules/aws-sdk/.changes/2.6.14.json deleted file mode 100644 index 6ef6fcb..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.14.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "SES", - "description": "Amazon Simple Email Service (Amazon SES) now enables you to track your bounce, complaint, delivery, sent, and rejected email metrics with fine-grained granularity." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.15.json b/src/node_modules/aws-sdk/.changes/2.6.15.json deleted file mode 100644 index 7fb4385..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.15.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "DirectConnect", - "description": "AWS Direct Connect provides three new APIs to support basic tagging on Direct Connect resources." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.2.json b/src/node_modules/aws-sdk/.changes/2.6.2.json deleted file mode 100644 index c6b97aa..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.2.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "ServiceCatalog", - "description": "Updates the API for AWS.ServiceCatalog." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.3.json b/src/node_modules/aws-sdk/.changes/2.6.3.json deleted file mode 100644 index 220a6de..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Node_Https", - "description": "Fixes an issue caused when https.globalAgent is set to false." - }, - { - "type": "feature", - "category": "Iot", - "description": "Updates registerCertificate operation, and allows users to specify cannedAcl for S3 action." - }, - { - "type": "feature", - "category": "RDS", - "description": "Updates describeDbCluster operation to allow specifying a ReaderEndpoint for accessing cluster readers." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.4.json b/src/node_modules/aws-sdk/.changes/2.6.4.json deleted file mode 100644 index 611f7f2..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.4.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Browser", - "description": "Updates `url` and `querystring` dependencies to be controlled by the SDK instead of tools like browserify or webpack." - }, - { - "type": "bugfix", - "category": "Config", - "description": "Fixes an issue where specifying service-specific config on the global AWS.config object would fail if the service had not yet been instantiated." - }, - { - "type": "feature", - "category": "CodeDeploy", - "description": "AWS CodeDeploy now integrates with Amazon CloudWatch alarms, making it possible to stop a deployment if there is a change in the state of a specified alarm for a number of consecutive periods, as specified in the alarm threshold. AWS CodeDeploy also now supports automatically rolling back a deployment if certain conditions are met, such as a deployment failure or an activated alarm." - }, - { - "type": "feature", - "category": "EMR", - "description": "Added support for Security Configurations which can be used to enable encryption at-rest and in-transit for certain applications on Amazon EMR." - }, - { - "type": "feature", - "category": "RDS", - "description": "Provide local time zone support for AWS RDS SqlServer database instances." - }, - { - "type": "feature", - "category": "Redshift", - "description": "This release of Amazon Redshift introduces Enhanced VPC Routing. When you use Amazon Redshift Enhanced VPC Routing, Amazon Redshift forces all COPY and UNLOAD traffic between your cluster and your data repositories through your Amazon VPC." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.5.json b/src/node_modules/aws-sdk/.changes/2.6.5.json deleted file mode 100644 index a089342..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.5.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "bugfix", - "category": "apiVersion", - "description": "Fixes an issue where some service clients would fail to instantiate if an older apiVersion was specified." - }, - { - "type": "feature", - "category": "CloudFormation", - "description": "Adds support for specifying an IAM service role for CloudFormation stack operations." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.6.json b/src/node_modules/aws-sdk/.changes/2.6.6.json deleted file mode 100644 index cdff647..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.6.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "EC2", - "description": "Adding support for EC2 Convertible RIs and the EC2 RI regional benefit." - }, - { - "type": "feature", - "category": "S3", - "description": "S3 API update with partNumber extension and a bug fix to address list-objects command failing when a bucket is marked with request-pays." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.7.json b/src/node_modules/aws-sdk/.changes/2.6.7.json deleted file mode 100644 index f7c928b..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.7.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "CognitoIdentityServiceProvider", - "description": "Added new operation \"AdminCreateUser\" that creates a new user in the specified user pool and sends a welcome message via email or phone (SMS)." - }, - { - "type": "feature", - "category": "Route53", - "description": "Retries PriorRequestNotComplete errors." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.8.json b/src/node_modules/aws-sdk/.changes/2.6.8.json deleted file mode 100644 index 6339ae7..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.8.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "ECR", - "description": "DescribeImages is a new api used to expose image metadata which today includes image size and image creation timestamp." - }, - { - "type": "feature", - "category": "ElastiCache", - "description": "Elasticache is launching a new major engine release of Redis, 3.2 (providing stability updates and new command sets over 2.8), as well as ElasticSupport for enabling Redis Cluster in 3.2, which provides support for multiple node groups to horizontally scale data, as well as superior engine failover capabilities." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.6.9.json b/src/node_modules/aws-sdk/.changes/2.6.9.json deleted file mode 100644 index 8df3749..0000000 --- a/src/node_modules/aws-sdk/.changes/2.6.9.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "type": "bugfix", - "category": "s3", - "description": "Propagate an error from a stream to s3.upload callback #1169" - }, - { - "type": "feature", - "category": "S3", - "description": "Adds support for using dualstack with accelerate endpoints." - }, - { - "type": "feature", - "category": "ACM", - "description": "This change allows users to import third-party SSL/TLS certificates into ACM." - }, - { - "type": "feature", - "category": "ElasticBeanstalk", - "description": "Adds CodeCommit integraion. DescribeApplicationVersions updated to support pagination." - }, - { - "type": "feature", - "category": "GameLift", - "description": "New APIs to protect game developer resource (builds, alias, fleets, instances, game sessions and player sessions) against abuse." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.60.0.json b/src/node_modules/aws-sdk/.changes/2.60.0.json deleted file mode 100644 index 6886506..0000000 --- a/src/node_modules/aws-sdk/.changes/2.60.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Core", - "description": "Fixes issue where some TimeStamp shapes had an incorrect timestampFormat. Specifically affects S3.putBucketLifecycleConfiguration when using Date fields." - }, - { - "type": "feature", - "category": "RDS", - "description": "Amazon RDS customers can now easily and quickly stop and start their DB instances." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.61.0.json b/src/node_modules/aws-sdk/.changes/2.61.0.json deleted file mode 100644 index db1d1ae..0000000 --- a/src/node_modules/aws-sdk/.changes/2.61.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "CodeDeploy", - "description": "AWS CodeDeploy has improved how it manages connections to GitHub accounts and repositories. You can now create and store up to 25 connections to GitHub accounts in order to associate AWS CodeDeploy applications with GitHub repositories. Each connection can support multiple repositories. You can create connections to up to 25 different GitHub accounts, or create more than one connection to a single account. The ListGitHubAccountTokenNames command has been introduced to retrieve the names of stored connections to GitHub accounts that you have created. The name of the connection to GitHub used for an AWS CodeDeploy application is also included in the ApplicationInfo structure. Two new fields, lastAttemptedDeployment and lastSuccessfulDeployment, have been added to DeploymentGroupInfo to improve the handling of deployment group information in the AWS CodeDeploy console. Information about these latest deployments can also be retrieved using the GetDeploymentGroup and BatchGetDeployment group requests. Also includes a region update (us-gov-west-1)." - }, - { - "type": "feature", - "category": "CognitoIdentityServiceProvider", - "description": "Added support within Amazon Cognito User Pools for 1) a customizable hosted UI for user sign up and sign in and 2) integration of external identity providers." - }, - { - "type": "feature", - "category": "ELBv2", - "description": "Update the existing DescribeRules API to support pagination." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.62.0.json b/src/node_modules/aws-sdk/.changes/2.62.0.json deleted file mode 100644 index b9aa687..0000000 --- a/src/node_modules/aws-sdk/.changes/2.62.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "KinesisAnalytics", - "description": "Kinesis Analytics publishes error messages CloudWatch logs in case of application misconfigurations" - }, - { - "type": "feature", - "category": "WorkDocs", - "description": "This release includes new APIs to manage tags and custom metadata on resources and also new APIs to add and retrieve comments at the document level." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.63.0.json b/src/node_modules/aws-sdk/.changes/2.63.0.json deleted file mode 100644 index 65d3e68..0000000 --- a/src/node_modules/aws-sdk/.changes/2.63.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "AppStream", - "description": "AppStream 2.0 Custom Security Groups allows you to easily control what network resources your streaming instances and images have access to. You can assign up to 5 security groups per Fleet to control the inbound and outbound network access to your streaming instances to specific IP ranges, network protocols, or ports." - }, - { - "type": "feature", - "category": "AutoScaling", - "description": "Autoscaling resource model update." - }, - { - "type": "feature", - "category": "Iot", - "description": " Added Salesforce action to IoT Rules Engine." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.64.0.json b/src/node_modules/aws-sdk/.changes/2.64.0.json deleted file mode 100644 index 218c1af..0000000 --- a/src/node_modules/aws-sdk/.changes/2.64.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "bugfix", - "category": "S3", - "description": "Calling send multiple times on an S3 ManagedUpload with leavePartsOnError set to true should no longer result in truncated files being uploaded to S3. Calling send multiple times is not supported with streams." - }, - { - "type": "feature", - "category": "Iot", - "description": "Update client side validation for SalesForce action." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.65.0.json b/src/node_modules/aws-sdk/.changes/2.65.0.json deleted file mode 100644 index 4e1739e..0000000 --- a/src/node_modules/aws-sdk/.changes/2.65.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "CodeBuild", - "description": "Add support to APIs for privileged containers. This change would allow performing privileged operations like starting the Docker daemon inside builds possible in custom docker images." - }, - { - "type": "feature", - "category": "Greengrass", - "description": "AWS Greengrass is software that lets you run local compute, messaging, and device state synchronization for connected devices in a secure way. With AWS Greengrass, connected devices can run AWS Lambda functions, keep device data in sync, and communicate with other devices securely even when not connected to the Internet. Using AWS Lambda, Greengrass ensures your IoT devices can respond quickly to local events, operate with intermittent connections, and minimize the cost of transmitting IoT data to the cloud." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.66.0.json b/src/node_modules/aws-sdk/.changes/2.66.0.json deleted file mode 100644 index 17de901..0000000 --- a/src/node_modules/aws-sdk/.changes/2.66.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "Iot", - "description": "In addition to using certificate ID, AWS IoT customers can now obtain the description of a certificate with the certificate PEM." - }, - { - "type": "feature", - "category": "Pinpoint", - "description": "Starting today Amazon Pinpoint adds SMS Text and Email Messaging support in addition to Mobile Push Notifications, providing developers, product managers and marketers with multi-channel messaging capabilities to drive user engagement in their applications. Pinpoint also enables backend services and applications to message users directly and provides advanced user and app analytics to understand user behavior and messaging performance." - }, - { - "type": "feature", - "category": "Rekognition", - "description": "API Update for AmazonRekognition: Adding RecognizeCelebrities API" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.67.0.json b/src/node_modules/aws-sdk/.changes/2.67.0.json deleted file mode 100644 index d9264bb..0000000 --- a/src/node_modules/aws-sdk/.changes/2.67.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "EFS", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "OpsWorks", - "description": "Tagging Support for AWS OpsWorks Stacks" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.68.0.json b/src/node_modules/aws-sdk/.changes/2.68.0.json deleted file mode 100644 index eb74be8..0000000 --- a/src/node_modules/aws-sdk/.changes/2.68.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "RDS", - "description": "API Update for RDS: this update enables copy-on-write, a new Aurora MySQL Compatible Edition feature that allows users to restore their database, and support copy of TDE enabled snapshot cross region." - }, - { - "type": "feature", - "category": "S3", - "description": "Switches S3 to use signatureVersion \"v4\" by default. To continue using signatureVersion \"v2\", set the signatureVersion: \"v2\" option in the S3 service client configuration. Presigned URLs will continue using \"v2\" by default." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.69.0.json b/src/node_modules/aws-sdk/.changes/2.69.0.json deleted file mode 100644 index 71b404d..0000000 --- a/src/node_modules/aws-sdk/.changes/2.69.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "ConfigService", - "description": "With this release AWS Config supports the Amazon CloudWatch alarm resource type." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.0.json b/src/node_modules/aws-sdk/.changes/2.7.0.json deleted file mode 100644 index 33b54e8..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.0.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "TypeScript", - "description": "Adds typescript definition files to the SDK." - }, - { - "type": "feature", - "category": "CloudWatchLogs", - "description": "Amazon CloudWatch Metrics to Logs is a capability that helps pivot from your logs-extracted metrics directly to the corresponding logs." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.1.json b/src/node_modules/aws-sdk/.changes/2.7.1.json deleted file mode 100644 index d1b9762..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.1.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "CognitoIdentityServiceProvider", - "description": "Adds schema attributes to CreateUserPool." - }, - { - "type": "bugfix", - "category": "TypeScript", - "description": "Updates definitions to work when `noImplicitAny` and `strictNullChecks` are set to `true`." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.10.json b/src/node_modules/aws-sdk/.changes/2.7.10.json deleted file mode 100644 index 909769c..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.10.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "type": "feature", - "category": "APIGateway", - "description": "You can now publish your APIs on Amazon API Gateway as products on the AWS Marketplace. Use the SDK to associate your APIs on API Gateway with Marketplace Product Codes. API Gateway will then send metering data to the Marketplace Metering Service on your behalf. Also, API Gateway now supports documenting your API." - }, - { - "type": "feature", - "category": "Appstream", - "description": "Announcing Amazon AppStream 2.0 - a secure, fully managed desktop application streaming service that provides users instant access to their apps from a web browser." - }, - { - "type": "feature", - "category": "CodeBuild", - "description": "AWS CodeBuild is a fully-managed build service in the cloud. CodeBuild compiles source code, runs tests, and produces packages that are ready to deploy. CodeBuild eliminates the need to provision, manage, and scale your own build servers. CodeBuild scales continuously and processes multiple builds concurrently, so your builds are never waiting in a queue. You can get started quickly with CodeBuild’s prepackaged build environments, or you can use custom build environments to use your own build tools. With CodeBuild, you only pay by the minute." - }, - { - "type": "feature", - "category": "DirectConnect", - "description": "API Update for IPv6 for Direct Connect." - }, - { - "type": "feature", - "category": "EC2", - "description": "Adds IPv6 Support for EC2 and new F1 Instance types." - }, - { - "type": "feature", - "category": "ElasticBeanstalk", - "description": "Integrates AWS CodeBuild into ElasticBeanstalk." - }, - { - "type": "feature", - "category": "Health", - "description": "When your business is counting on the performance of your cloud solutions, having relevant and timely insights into events impacting your AWS resources is essential. The AWS Health API serves as the primary source for you to receive personalized information related to your AWS infrastructure, guiding your through scheduled changes, and accelerating the troubleshooting of issues impacting your AWS resources and accounts. At launch, the APIs will be available to Business and Enterprise Support customers." - }, - { - "type": "feature", - "category": "Lambda", - "description": "Adds new API `getAccountSettings`, dotnetcore 1.0 runtime support, DeadLetterConfig, and event source mappings with kinesis streams." - }, - { - "type": "feature", - "category": "OpsWorksCM", - "description": "AWS OpsWorks for Chef Automate gives customers a single tenant Chef Automate server. The Chef Automate server is fully managed by AWS and supports automatic backup, restore and upgrade operations." - }, - { - "type": "feature", - "category": "Pinpoint", - "description": "Amazon Pinpoint makes it easy to run targeted campaigns to improve user engagement. Pinpoint helps you understand your users behavior, define who to target, what messages to send, when to deliver them, and tracks the results of the campaign." - }, - { - "type": "feature", - "category": "Shield", - "description": "AWS Shield is a managed Distributed Denial of Service (DDoS) protection for web applications running on AWS." - }, - { - "type": "feature", - "category": "SSM", - "description": "Amazon EC2 Systems Manager is a flexible and easy to use management service that enables enterprises to securely manage and administer their workloads running on-premises or in the AWS cloud, using a single unified experience. These tasks include collecting system inventory, AWSmaintaining consistent state, ad hoc remote execution, automating imaging creation, applying OS patches, and managing configuration parameters." - }, - { - "type": "feature", - "category": "StepFunctions", - "description": "Adds support for the AWS Step Functions API." - }, - { - "type": "feature", - "category": "XRay", - "description": "AWS X-Ray helps developers analyze and debug distributed applications. With X-Ray, you can understand how your application and its underlying services are performing to identify and troubleshoot the root cause of performance issues and errors." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.11.json b/src/node_modules/aws-sdk/.changes/2.7.11.json deleted file mode 100644 index 8ebf272..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.11.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "bugfix", - "category": "TypeScript", - "description": "Exposes typings for classes that live on service namespaces (i.e. DynamoDB.DocumentClient). Also exposes interfaces off of service namespaces to allow easier migration from some 3rd party typings. Interfaces will continue to be exposed via Service.Types as well." - }, - { - "type": "bugfix", - "category": "TypeScript", - "description": "Removes remaining `reference` comments from definitions." - }, - { - "type": "feature", - "category": "ConfigService", - "description": "Increases the number of config rules for all accounts from 25 to 50." - }, - { - "type": "feature", - "category": "EC2", - "description": "Adds T2.xlarge, T2.2xlarge, and R4 instance types." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.12.json b/src/node_modules/aws-sdk/.changes/2.7.12.json deleted file mode 100644 index 2bfe2ff..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.12.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "S3", - "description": "Add the Version ID field to the Get and Put object tagging operations." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.13.json b/src/node_modules/aws-sdk/.changes/2.7.13.json deleted file mode 100644 index 0527c31..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.13.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFront", - "description": " Add lambda function associations to cache behaviors." - }, - { - "type": "feature", - "category": "RDS", - "description": "Add cluster create data to DBCluster APIs." - }, - { - "type": "feature", - "category": "WAFRegional", - "description": "With this new feature, customers can use AWS WAF directly on Application Load Balancers in a VPC within available regions to protect their websites and web services from malicious attacks such as SQL injection, Cross Site Scripting, bad bots, etc." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.14.json b/src/node_modules/aws-sdk/.changes/2.7.14.json deleted file mode 100644 index db2f275..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.14.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "Batch", - "description": "AWS Batch is a batch computing service that lets customers define queues and compute environments and then submit work as batch jobs." - }, - { - "type": "feature", - "category": "DMS", - "description": "Adds support for SSL enabled Oracle endpoints and task modification." - }, - { - "type": "feature", - "category": "CloudWatchLogs", - "description": "Amazon CloudWatch announces detailed billing to CloudWatch Logs. You can now get usage and cost per log group. You can also add tags on your log groups to get a fine-grained view on cost for logs across business dimension such as cost center, application name, AWS services such as Lambda, CloudTrail, ECS, and other. Up to 50 tags can be added to each log group." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.15.json b/src/node_modules/aws-sdk/.changes/2.7.15.json deleted file mode 100644 index d134c8e..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.15.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Buffer", - "description": "Update base64 encode/decode to use Buffer.fill when available and throw an error if a number is provided." - }, - { - "type": "bugfix", - "category": "XRay", - "description": "Add X-Amzn-Trace-Id to list of unsigned headers to prevent signature mismatch errors if the header value is modified while the request is in flight." - }, - { - "type": "feature", - "category": "Cognito", - "description": "Add new regions and endpoints for Amazon Cognito Identity, Amazon Cognito Sync, and Amazon Cognito Identity Provider." - }, - { - "type": "feature", - "category": "CognitoIdentityServiceProvider", - "description": "User Pools now offers groups as an easy way to manage users and their permissions." - }, - { - "type": "feature", - "category": "SSM", - "description": "Add support for Patch Baseline and Patch Compliance APIs" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.16.json b/src/node_modules/aws-sdk/.changes/2.7.16.json deleted file mode 100644 index d696022..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.16.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "DocumentClient", - "description": "Add a constructor option to convert empty strings, sets, and binary strings to a Dynamo NULL typed field" - }, - { - "type": "feature", - "category": "Discovery", - "description": "Adds new APIs to group discovered servers into Applications with get summary and neighbors. Includes additional filters for ListConfigurations and DescribeAgents API." - }, - { - "type": "feature", - "category": "CognitoIdentity", - "description": "Added fine-grained role-based access control for Cognito identity pools. Developers can configure an identity pool to get the IAM role from an authenticated user's token, or they can configure rules that will map a user to a different role" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.17.json b/src/node_modules/aws-sdk/.changes/2.7.17.json deleted file mode 100644 index bc00c7d..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.17.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Promises", - "description": "Fixes issue introduced in v2.6.12. Calling AWS.config.setPromisesDependency(null) will once again force the SDK to use native promises if they are available." - }, - { - "type": "feature", - "category": "Firehose", - "description": "The processing feature enables users to process and modify records before Amazon Firehose delivers them to destinations." - }, - { - "type": "feature", - "category": "StorageGateway", - "description": "File gateway is a new mode in the AWS Storage Gateway that support a file interface into S3, alongside the current block-based volume and VTL storage. File gateway combines a service and virtual software appliance, enabling you to store and retrieve objects in Amazon S3 using industry standard file protocols such as NFS. The software appliance, or gateway, is deployed into your on-premises environment as a virtual machine (VM) running on VMware ESXi. The gateway provides access to objects in S3 as files on a Network File System (NFS) mount point." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.18.json b/src/node_modules/aws-sdk/.changes/2.7.18.json deleted file mode 100644 index 758469f..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.18.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "Rekognition", - "description": "CORS support added. Now a default service in the browser build of the JavaScript SDK." - }, - { - "type": "feature", - "category": "EC2", - "description": "Adds cross region encrypted snapshot copying (CopyDBSnapshot)." - }, - { - "type": "feature", - "category": "ECR", - "description": "Amazon ECR now implements Docker Image Manifest V2, Schema 2 providing the ability to use multiple tags per image, support for storing Windows container images, and compatibility with the Open Container Initiative (OCI) image format. With this update, customers can also add tags to an image via PutImage and delete tags using BatchDeleteImage." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.19.json b/src/node_modules/aws-sdk/.changes/2.7.19.json deleted file mode 100644 index bfb6c11..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.19.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "APIGateway", - "description": "This update introduces two new operations used to dynamically discover SDK types and what configuration each type accepts." - }, - { - "type": "feature", - "category": "ElasticBeanstalk", - "description": "Adds a new feature for managing Application Version Lifecycle." - }, - { - "type": "feature", - "category": "IAM", - "description": "Adds service-specific credentials to IAM service to make it easier to onboard CodeCommit customers. These are username/password credentials that work with a single service." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.2.json b/src/node_modules/aws-sdk/.changes/2.7.2.json deleted file mode 100644 index b7fabae..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.2.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "feature", - "category": "ElastiCache", - "description": "Additional parameter to 2 create apis to provide an auth Token for Redis." - }, - { - "type": "feature", - "category": "DirectoryService", - "description": "Adds support for SchemaExtensions." - }, - { - "type": "feature", - "category": "Kinesis", - "description": "Adds DescribeLimits API which displays customer's current shard limit and the number of open shards that are being used. Also adds a 'display stream creation timestamp' feature to DescribeStream API." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.20.json b/src/node_modules/aws-sdk/.changes/2.7.20.json deleted file mode 100644 index 545fee6..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.20.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "CodeDeploy", - "description": "CodeDeploy supports IAM Session Arns in addition to IAM User Arns for on premise host authentication." - }, - { - "type": "feature", - "category": "ECS", - "description": "Amazon EC2 Container Service (ECS) now supports the ability to customize the placement of tasks on container instances." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.21.json b/src/node_modules/aws-sdk/.changes/2.7.21.json deleted file mode 100644 index a5c4e94..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.21.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "ConfigService", - "description": "Updates putConfigRule to support using/writing rules based on the OversizedConfigurationItemChangeNotification message type." - }, - { - "type": "feature", - "category": "MarketplaceCommerceAnalytics", - "description": "Added support for data set disbursed_amount_by_instance_hours, with historical data available starting 2012-09-04. New data is published to this data set every 30 days." - }, - { - "type": "bugfix", - "category": "DynamoDB.DocumentClient", - "description": "Fixes issue where empty strings in nested members were not removed when convertEmptyValues was set." - }, - { - "type": "bugfix", - "category": "CognitoIdentityCredentials", - "description": "Fixes issue where the cached identity id would sometimes not be retrieved when SDK is run while offline." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.22.json b/src/node_modules/aws-sdk/.changes/2.7.22.json deleted file mode 100644 index 9979ee3..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.22.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "CUR", - "description": "The AWS Cost and Usage Report Service API allows you to enable and disable the Cost & Usage report, as well as modify the report name, the data granularity, and the delivery preferences." - }, - { - "type": "bugfix", - "category": "DynamoDB.DocumentClient", - "description": "Allows objects created using Object.create(null) to be properly serialized by the DDB document client." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.23.json b/src/node_modules/aws-sdk/.changes/2.7.23.json deleted file mode 100644 index 6c773c0..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.23.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "bugfix", - "category": "S3", - "description": "Convert string bodies to buffers to ensure correct encoding is used" - }, - { - "type": "feature", - "category": "DynamoDB", - "description": "Adds support for tagging tables and indexes." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.24.json b/src/node_modules/aws-sdk/.changes/2.7.24.json deleted file mode 100644 index 8e2b157..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.24.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "bugfix", - "category": "HTTP", - "description": "Ensure that buffers are not created with Buffer.from in node 4.0-4.4" - }, - { - "type": "bugfix", - "category": "core", - "description": "Deprecate v2.7.23" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.25.json b/src/node_modules/aws-sdk/.changes/2.7.25.json deleted file mode 100644 index 95d7e00..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.25.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "RDS", - "description": "Updates AWS.RDS API to the latest version." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.26.json b/src/node_modules/aws-sdk/.changes/2.7.26.json deleted file mode 100644 index 9f9dc6b..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.26.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "EC2", - "description": "Amazon EC2 Spot instances now support dedicated tenancy, providing the ability to run Spot instances single-tenant manner on physically isolated hardware within a VPC to satisfy security, privacy, or other compliance requirements. Dedicated Spot instances can be requested using RequestSpotInstances and RequestSpotFleet." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.27.json b/src/node_modules/aws-sdk/.changes/2.7.27.json deleted file mode 100644 index ca332f7..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.27.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Performance", - "description": "This change reverts a request body cast in the node HTTP handler that caused a performance regression." - }, - { - "type": "feature", - "category": "ACM", - "description": "Updated response elements for DescribeCertificate API in support of managed renewal." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.28.json b/src/node_modules/aws-sdk/.changes/2.7.28.json deleted file mode 100644 index 1b30c45..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.28.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "CognitoIdentityCredentials", - "description": "Adds `clientConfig` as an optional parameter to the `CognitoIdentityCredentials` constructor. This parameter can be used to pass in client configuration to the underlying service clients." - }, - { - "type": "feature", - "category": "TemporaryCredentials", - "description": "Allows passing of master credentials to the TemporaryCredentials provider." - }, - { - "type": "feature", - "category": "CodeCommit", - "description": "Added new API to list the different files between 2 commits" - }, - { - "type": "feature", - "category": "ECS", - "description": "Amazon ECS now supports a state for container instances that can be used to drain a container instance in preparation for maintenance or cluster scale down." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.3.json b/src/node_modules/aws-sdk/.changes/2.7.3.json deleted file mode 100644 index 3511ab9..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.3.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "Route53", - "description": "Adds support for cross account VPC association." - }, - { - "type": "feature", - "category": "ServiceCatalog", - "description": "This release enables Service Catalog users to perform administer operations via API." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.4.json b/src/node_modules/aws-sdk/.changes/2.7.4.json deleted file mode 100644 index 5440201..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.4.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "MarketplaceMetering", - "description": "Allows third parties to send metering records." - }, - { - "type": "feature", - "category": "SQS", - "description": "Updates the latest version of the SQS API." - }, - { - "type": "feature", - "category": "CloudWatch", - "description": "Amazon CloudWatch now supports Percentiles as a statistical function." - }, - { - "type": "feature", - "category": "APIGateway", - "description": "Allows defining an encoding for the API per content type in order to support 'binary' use case." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.5.json b/src/node_modules/aws-sdk/.changes/2.7.5.json deleted file mode 100644 index 48487c7..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.5.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "type": "bugfix", - "category": "TypeScript", - "description": "Stubs DOM interfaces and removes type reference to node." - }, - { - "type": "feature", - "category": "ElasticTranscoder", - "description": "Support for multiple media input files that can be stitched together." - }, - { - "type": "feature", - "category": "Lambda", - "description": "Adds support for Environment variables." - }, - { - "type": "feature", - "category": "Gamelift", - "description": "Provide the ability to remote access into GameLift managed servers." - }, - { - "type": "feature", - "category": "EMR", - "description": "Automatic Scaling of EMR clusters based on metrics. Adds support for cancelling a pending Amazon EMR step." - }, - { - "type": "feature", - "category": "ApplicationAutoScaling", - "description": "Adds support for a new target resource (EMR Instance Groups) as a scalable target." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.6.json b/src/node_modules/aws-sdk/.changes/2.7.6.json deleted file mode 100644 index 86a4d85..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.6.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudTrail", - "description": "This release of AWS CloudTrail supports configuring your trail with event selectors. Use event selectors to specify the type of events that you want your trails to log. You can configure event selectors to log read-only, write-only, or all events. CloudTrail supports logging Amazon S3 object level APIs such as GetObject, DeleteObject, and PutObject. You can configure event selectors for your trail to log object level operations." - }, - { - "type": "feature", - "category": "ECS", - "description": "ECS will include a new field named `version` in API responses relating to tasks and container instances. Version is a number that increments every time a change has been made to the associated resource. Users replicating their ECS resource state can use the version field reported by the ECS APIs to determine if their local state is fresh." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.7.json b/src/node_modules/aws-sdk/.changes/2.7.7.json deleted file mode 100644 index 4ecf640..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.7.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "CloudFormation", - "description": "List-imports API is to list all stacks of user's namespace that are using a specific output." - }, - { - "type": "feature", - "category": "Glacier", - "description": "Allow customers to retrieve their data with different tiers." - }, - { - "type": "feature", - "category": "Route53", - "description": "Expand current IPAddress field to accept IPv6 address." - }, - { - "type": "feature", - "category": "S3", - "description": "Allow customers to specify different restore tiers when accessing their data." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.8.json b/src/node_modules/aws-sdk/.changes/2.7.8.json deleted file mode 100644 index 6107f9e..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.8.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "feature", - "category": "core", - "description": "The SDK will now automatically provide a version 4 UUID for top-level operation parameters that are modeled with the `idempotencyToken` flag. Users may continue to provide their own tokens." - }, - { - "type": "feature", - "category": "S3", - "description": "Updates the AWS.S3 API to the latest version." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.7.9.json b/src/node_modules/aws-sdk/.changes/2.7.9.json deleted file mode 100644 index 6819716..0000000 --- a/src/node_modules/aws-sdk/.changes/2.7.9.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "type": "feature", - "category": "Polly", - "description": "Adds `AWS.Polly.Presigner` to create presigned urls for `synthesizeSpeech`." - }, - { - "type": "feature", - "category": "Polly", - "description": "Amazon Polly is a service that turns text into lifelike speech, making it easy to develop applications that use high-quality speech to increase engagement and accessibility. With Amazon Polly the developers can build speech-enabled apps that work in multiple geographies." - }, - { - "type": "feature", - "category": "Lightsail", - "description": "An extremely simplified VM creation and management service." - }, - { - "type": "feature", - "category": "Rekognition", - "description": "Amazon Rekognition is a service that makes it easy to add image analysis to your applications. With Rekognition, you can detect objects, scenes, and faces in images. You can also search and compare faces. Rekognition’s API enables you to quickly add sophisticated deep learning-based visual search and image classification to your applications. " - }, - { - "type": "feature", - "category": "Snowball", - "description": "This release of AWS Snowball introduces a new job type, new APIs, and the new AWS Snowball Edge device to support local compute and storage use cases. The local compute is AWS Lambda powered by AWS Greengrass, and the local storage is compatible with Amazon S3. Each 100 TB Snowball Edge can use the storage and compute power of the AWS cloud locally in places where connecting to the internet may not be an option. Additionally, Snowball Edges can be used in clusters for applications that require greater data durability." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.70.0.json b/src/node_modules/aws-sdk/.changes/2.70.0.json deleted file mode 100644 index 696d7af..0000000 --- a/src/node_modules/aws-sdk/.changes/2.70.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "ApplicationAutoScaling", - "description": "Application Auto Scaling now supports automatic scaling of read and write throughput capacity for DynamoDB tables and global secondary indexes." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.71.0.json b/src/node_modules/aws-sdk/.changes/2.71.0.json deleted file mode 100644 index 550daa9..0000000 --- a/src/node_modules/aws-sdk/.changes/2.71.0.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "type": "feature", - "category": "DynamoDB", - "description": "Adds two new functions to the AWS.DynamoDB.Converter namespace: one to convert full DynamoDB items (such as what you might receive for events in a DynamoDB stream) into plain vanilla JavaScript objects and one to convert JavaScript objects back into DynamoDB items" - }, - { - "type": "feature", - "category": "EC2", - "description": "Adds API to describe Amazon FPGA Images (AFIs) available to customers, which includes public AFIs, private AFIs that you own, and AFIs owned by other AWS accounts for which you have load permissions." - }, - { - "type": "feature", - "category": "ECS", - "description": "Added support for cpu, memory, and memory reservation container overrides on the RunTask and StartTask APIs." - }, - { - "type": "feature", - "category": "Iot", - "description": "Revert the last release: remove CertificatePem from DescribeCertificate API." - }, - { - "type": "feature", - "category": "ServiceCatalog", - "description": "Added ProvisioningArtifactSummaries to DescribeProductAsAdmin's output to show the provisioning artifacts belong to the product. Allow filtering by SourceProductId in SearchProductsAsAdmin for AWS Marketplace products. Added a verbose option to DescribeProvisioningArtifact to display the CloudFormation template used to create the provisioning artifact.Added DescribeProvisionedProduct API. Changed the type of ProvisionedProduct's Status to be distinct from Record's Status. New ProvisionedProduct's Status are AVAILABLE, UNDER_CHANGE, TAINTED, ERROR. Changed Record's Status set of values to CREATED, IN_PROGRESS, IN_PROGRESS_IN_ERROR, SUCCEEDED, FAILED." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.72.0.json b/src/node_modules/aws-sdk/.changes/2.72.0.json deleted file mode 100644 index 077dacb..0000000 --- a/src/node_modules/aws-sdk/.changes/2.72.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "XRay", - "description": "Add a response time histogram to the services in response of GetServiceGraph API." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.73.0.json b/src/node_modules/aws-sdk/.changes/2.73.0.json deleted file mode 100644 index 3fc53bf..0000000 --- a/src/node_modules/aws-sdk/.changes/2.73.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "Organizations", - "description": "Improvements to Exception Modeling" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.74.0.json b/src/node_modules/aws-sdk/.changes/2.74.0.json deleted file mode 100644 index 3e0cfa3..0000000 --- a/src/node_modules/aws-sdk/.changes/2.74.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "WorkDocs", - "description": "This release provides a new API to retrieve the activities performed by WorkDocs users." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.75.0.json b/src/node_modules/aws-sdk/.changes/2.75.0.json deleted file mode 100644 index 2365329..0000000 --- a/src/node_modules/aws-sdk/.changes/2.75.0.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "type": "feature", - "category": "DAX", - "description": "Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache for DynamoDB that delivers up to a 10x performance improvement - from milliseconds to microseconds - even at millions of requests per second. DAX does all the heavy lifting required to add in-memory acceleration to your DynamoDB tables, without requiring developers to manage cache invalidation, data population, or cluster management." - }, - { - "type": "feature", - "category": "Route53", - "description": "Amazon Route 53 now supports multivalue answers in response to DNS queries, which lets you route traffic approximately randomly to multiple resources, such as web servers. Create one multivalue answer record for each resource and, optionally, associate an Amazon Route 53 health check with each record, and Amazon Route 53 responds to DNS queries with up to eight healthy records." - }, - { - "type": "feature", - "category": "S3", - "description": "Allows forward slashes in Bucket names when using SigV4 to create or retrieve objects. This is to maintain compatibility with behavior when using SigV2. In new code, Buckets should not contain forward slashes. Instead, directories should be part of an object's key." - }, - { - "type": "feature", - "category": "SSM", - "description": "Adding hierarchy support to the SSM Parameter Store API. Added support tor tagging. New APIs: GetParameter - retrieves one parameter, DeleteParameters - deletes multiple parameters (max number 10), GetParametersByPath - retrieves parameters located in the hierarchy. Updated APIs: PutParameter - added ability to enforce parameter value by applying regex (AllowedPattern), DescribeParameters - modified to support Tag filtering." - }, - { - "type": "feature", - "category": "WAFRegional", - "description": "You can now create, edit, update, and delete a new type of WAF rule with a rate tracking component." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.76.0.json b/src/node_modules/aws-sdk/.changes/2.76.0.json deleted file mode 100644 index 69c65cc..0000000 --- a/src/node_modules/aws-sdk/.changes/2.76.0.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "type": "feature", - "category": "CodePipeline", - "description": "A new API, ListPipelineExecutions, enables you to retrieve summary information about the most recent executions in a pipeline, including pipeline execution ID, status, start time, and last updated time. You can request information for a maximum of 100 executions. Pipeline execution data is available for the most recent 12 months of activity." - }, - { - "type": "feature", - "category": "DMS", - "description": "Added tagging for DMS certificates." - }, - { - "type": "feature", - "category": "ELB", - "description": "Add retry error state to InstanceInService waiter for ElasticLoadBalancer" - }, - { - "type": "feature", - "category": "Lightsail", - "description": "This release adds a new nextPageToken property to the result of the GetOperationsForResource API. Developers can now get the next set of items in a list by making subsequent calls to GetOperationsForResource API with the token from the previous call. This release also deprecates the nextPageCount property, which previously returned null (use the nextPageToken property instead). This release also deprecates the customImageName property on the CreateInstancesRequest class, which was previously ignored by the API." - }, - { - "type": "feature", - "category": "Route53", - "description": "This release reintroduces the HealthCheckInUse exception." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.77.0.json b/src/node_modules/aws-sdk/.changes/2.77.0.json deleted file mode 100644 index 2e2aaa7..0000000 --- a/src/node_modules/aws-sdk/.changes/2.77.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "Lambda", - "description": "The Lambda Invoke API will now throw new exception InvalidRuntimeException (status code 502) for invokes with deprecated runtimes." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.78.0.json b/src/node_modules/aws-sdk/.changes/2.78.0.json deleted file mode 100644 index 7b106e1..0000000 --- a/src/node_modules/aws-sdk/.changes/2.78.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "ServiceCatalog", - "description": "Proper tagging of resources is critical to post-launch operations such as billing, cost allocation, and resource management. By using Service Catalog's TagOption Library, administrators can define a library of re-usable TagOptions that conform to company standards, and associate these with Service Catalog portfolios and products. Learn how to move your current tags to the new library, create new TagOptions, and view and associate your library items with portfolios and products. Understand how to ensure that the right tags are created on products launched through Service Catalog and how to provide users with defined selectable tags." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.79.0.json b/src/node_modules/aws-sdk/.changes/2.79.0.json deleted file mode 100644 index 6d3f145..0000000 --- a/src/node_modules/aws-sdk/.changes/2.79.0.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "bugfix", - "category": "LexRuntime", - "description": "Adds support for non-file streams as an input to postContent." - }, - { - "type": "feature", - "category": "CloudWatchEvents", - "description": "CloudWatch Events now allows different AWS accounts to share events with each other through a new resource called event bus. Event buses accept events from AWS services, other AWS accounts and PutEvents API calls. Currently all AWS accounts have one default event bus. To send events to another account, customers simply write rules to match the events of interest and attach an event bus in the receiving account as the target to the rule. The PutTargets API has been updated to allow adding cross account event buses as targets. In addition, we have released two new APIs - PutPermission and RemovePermission - that enables customers to add/remove permissions to their default event bus." - }, - { - "type": "feature", - "category": "GameLift", - "description": "Allow developers to download GameLift fleet creation logs to assist with debugging." - }, - { - "type": "feature", - "category": "SSM", - "description": "Adding Resource Data Sync support to SSM Inventory. New APIs: * CreateResourceDataSync - creates a new resource data sync configuration, * ListResourceDataSync - lists existing resource data sync configurations, * DeleteResourceDataSync - deletes an existing resource data sync configuration. " - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.8.0.json b/src/node_modules/aws-sdk/.changes/2.8.0.json deleted file mode 100644 index afc588b..0000000 --- a/src/node_modules/aws-sdk/.changes/2.8.0.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "bugfix", - "category": "RDS", - "description": "Fixes issue wherein the wrong parameter name was used for cross region presigned urls." - }, - { - "type": "feature", - "category": "ELBv2", - "description": "Application Load Balancers now support native Internet Protocol version 6 (IPv6) in an Amazon Virtual Private Cloud (VPC). With this ability, clients can now connect to the Application Load Balancer in a dual-stack mode via either IPv4 or IPv6." - }, - { - "type": "feature", - "category": "RDS", - "description": "Adds cross region read replica copying." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.80.0.json b/src/node_modules/aws-sdk/.changes/2.80.0.json deleted file mode 100644 index 41771f3..0000000 --- a/src/node_modules/aws-sdk/.changes/2.80.0.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "feature", - "category": "S3", - "description": "API Update for S3: Adding Object Tagging Header to MultipartUpload Initialization" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.81.0.json b/src/node_modules/aws-sdk/.changes/2.81.0.json deleted file mode 100644 index 55f2d4c..0000000 --- a/src/node_modules/aws-sdk/.changes/2.81.0.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "bugfix", - "category": "Core", - "description": "The SDK will now throw an InvalidHeader error when a header's value is not stringifiable. See #1598." - }, - { - "type": "bugfix", - "category": "apigateway", - "description": "ApiGateway.getExports will no longer override user-supplied 'accepts' with 'application/json'" - }, - { - "type": "feature", - "category": "CloudWatch", - "description": "We are excited to announce the availability of APIs and CloudFormation support for CloudWatch Dashboards. You can use the new dashboard APIs or CloudFormation templates to dynamically build and maintain dashboards to monitor your infrastructure and applications. There are four new dashboard APIs - PutDashboard, GetDashboard, DeleteDashboards, and ListDashboards APIs. PutDashboard is used to create a new dashboard or modify an existing one whereas GetDashboard is the API to get the details of a specific dashboard. ListDashboards and DeleteDashboards are used to get the names or delete multiple dashboards respectively. Getting started with dashboard APIs is similar to any other AWS APIs. The APIs can be accessed through AWS SDK or through CLI tools." - }, - { - "type": "feature", - "category": "Route53", - "description": "Bug fix for InvalidChangeBatch exception." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.82.0.json b/src/node_modules/aws-sdk/.changes/2.82.0.json deleted file mode 100644 index bd6dca1..0000000 --- a/src/node_modules/aws-sdk/.changes/2.82.0.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "DirectoryService", - "description": "You can now improve the resilience and performance of your Microsoft AD directory by deploying additional domain controllers. Added UpdateNumberofDomainControllers API that allows you to update the number of domain controllers you want for your directory, and DescribeDomainControllers API that allows you to describe the detailed information of each domain controller of your directory. Also added the 'DesiredNumberOfDomainControllers' field to the DescribeDirectories API output for Microsoft AD." - }, - { - "type": "feature", - "category": "KMS", - "description": "This release of AWS Key Management Service introduces the ability to determine whether a key is AWS managed or customer managed." - }, - { - "type": "feature", - "category": "Kinesis", - "description": "You can now encrypt your data at rest within an Amazon Kinesis Stream using server-side encryption. Server-side encryption via AWS KMS makes it easy for customers to meet strict data management requirements by encrypting their data at rest within the Amazon Kinesis Streams, a fully managed real-time data processing service." - }, - { - "type": "feature", - "category": "SSM", - "description": "Amazon EC2 Systems Manager now expands Patching support to Amazon Linux, Red Hat and Ubuntu in addition to the already supported Windows Server." - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/.changes/2.9.0.json b/src/node_modules/aws-sdk/.changes/2.9.0.json deleted file mode 100644 index 872c722..0000000 --- a/src/node_modules/aws-sdk/.changes/2.9.0.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "feature", - "category": "EC2", - "description": "Adds instance health check functionality to replace unhealthy EC2 Spot fleet instances with fresh ones" - }, - { - "type": "feature", - "category": "CloudDirectory", - "description": "Amazon Cloud Directory is a highly scalable, high performance, multi-tenant directory service in the cloud. Its web-based directories make it easy for you to organize and manage application resources such as users, groups, locations, devices, policies, and the rich relationships between them." - }, - { - "type": "feature", - "category": "CodeDeploy", - "description": "This release of AWS CodeDeploy introduces support for blue/green deployments. In a blue/green deployment, the current set of instances in a deployment group is replaced by new instances that have the latest application revision installed on them. After traffic is rerouted behind a load balancer to the replacement instances, the original instances can be terminated automatically or kept running for other uses." - }, - { - "type": "feature", - "category": "RDS", - "description": "Added support for the `ModifyDBSnapshot` and `ModifyDBSnapshotMessage` operations" - } -] \ No newline at end of file diff --git a/src/node_modules/aws-sdk/CHANGELOG.md b/src/node_modules/aws-sdk/CHANGELOG.md deleted file mode 100644 index 05371ff..0000000 --- a/src/node_modules/aws-sdk/CHANGELOG.md +++ /dev/null @@ -1,652 +0,0 @@ -# Changelog for AWS SDK for JavaScript - - - -## 2.82.0 -* feature: DirectoryService: You can now improve the resilience and performance of your Microsoft AD directory by deploying additional domain controllers. Added UpdateNumberofDomainControllers API that allows you to update the number of domain controllers you want for your directory, and DescribeDomainControllers API that allows you to describe the detailed information of each domain controller of your directory. Also added the 'DesiredNumberOfDomainControllers' field to the DescribeDirectories API output for Microsoft AD. -* feature: KMS: This release of AWS Key Management Service introduces the ability to determine whether a key is AWS managed or customer managed. -* feature: Kinesis: You can now encrypt your data at rest within an Amazon Kinesis Stream using server-side encryption. Server-side encryption via AWS KMS makes it easy for customers to meet strict data management requirements by encrypting their data at rest within the Amazon Kinesis Streams, a fully managed real-time data processing service. -* feature: SSM: Amazon EC2 Systems Manager now expands Patching support to Amazon Linux, Red Hat and Ubuntu in addition to the already supported Windows Server. - -## 2.81.0 -* bugfix: Core: The SDK will now throw an InvalidHeader error when a header's value is not stringifiable. See #1598. -* bugfix: apigateway: ApiGateway.getExports will no longer override user-supplied 'accepts' with 'application/json' -* feature: CloudWatch: We are excited to announce the availability of APIs and CloudFormation support for CloudWatch Dashboards. You can use the new dashboard APIs or CloudFormation templates to dynamically build and maintain dashboards to monitor your infrastructure and applications. There are four new dashboard APIs - PutDashboard, GetDashboard, DeleteDashboards, and ListDashboards APIs. PutDashboard is used to create a new dashboard or modify an existing one whereas GetDashboard is the API to get the details of a specific dashboard. ListDashboards and DeleteDashboards are used to get the names or delete multiple dashboards respectively. Getting started with dashboard APIs is similar to any other AWS APIs. The APIs can be accessed through AWS SDK or through CLI tools. -* feature: Route53: Bug fix for InvalidChangeBatch exception. - -## 2.80.0 -* feature: S3: API Update for S3: Adding Object Tagging Header to MultipartUpload Initialization - -## 2.79.0 -* bugfix: LexRuntime: Adds support for non-file streams as an input to postContent. -* feature: CloudWatchEvents: CloudWatch Events now allows different AWS accounts to share events with each other through a new resource called event bus. Event buses accept events from AWS services, other AWS accounts and PutEvents API calls. Currently all AWS accounts have one default event bus. To send events to another account, customers simply write rules to match the events of interest and attach an event bus in the receiving account as the target to the rule. The PutTargets API has been updated to allow adding cross account event buses as targets. In addition, we have released two new APIs - PutPermission and RemovePermission - that enables customers to add/remove permissions to their default event bus. -* feature: GameLift: Allow developers to download GameLift fleet creation logs to assist with debugging. -* feature: SSM: Adding Resource Data Sync support to SSM Inventory. New APIs: * CreateResourceDataSync - creates a new resource data sync configuration, * ListResourceDataSync - lists existing resource data sync configurations, * DeleteResourceDataSync - deletes an existing resource data sync configuration. - -## 2.78.0 -* feature: ServiceCatalog: Proper tagging of resources is critical to post-launch operations such as billing, cost allocation, and resource management. By using Service Catalog's TagOption Library, administrators can define a library of re-usable TagOptions that conform to company standards, and associate these with Service Catalog portfolios and products. Learn how to move your current tags to the new library, create new TagOptions, and view and associate your library items with portfolios and products. Understand how to ensure that the right tags are created on products launched through Service Catalog and how to provide users with defined selectable tags. - -## 2.77.0 -* feature: Lambda: The Lambda Invoke API will now throw new exception InvalidRuntimeException (status code 502) for invokes with deprecated runtimes. - -## 2.76.0 -* feature: CodePipeline: A new API, ListPipelineExecutions, enables you to retrieve summary information about the most recent executions in a pipeline, including pipeline execution ID, status, start time, and last updated time. You can request information for a maximum of 100 executions. Pipeline execution data is available for the most recent 12 months of activity. -* feature: DMS: Added tagging for DMS certificates. -* feature: ELB: Add retry error state to InstanceInService waiter for ElasticLoadBalancer -* feature: Lightsail: This release adds a new nextPageToken property to the result of the GetOperationsForResource API. Developers can now get the next set of items in a list by making subsequent calls to GetOperationsForResource API with the token from the previous call. This release also deprecates the nextPageCount property, which previously returned null (use the nextPageToken property instead). This release also deprecates the customImageName property on the CreateInstancesRequest class, which was previously ignored by the API. -* feature: Route53: This release reintroduces the HealthCheckInUse exception. - -## 2.75.0 -* feature: DAX: Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache for DynamoDB that delivers up to a 10x performance improvement - from milliseconds to microseconds - even at millions of requests per second. DAX does all the heavy lifting required to add in-memory acceleration to your DynamoDB tables, without requiring developers to manage cache invalidation, data population, or cluster management. -* feature: Route53: Amazon Route 53 now supports multivalue answers in response to DNS queries, which lets you route traffic approximately randomly to multiple resources, such as web servers. Create one multivalue answer record for each resource and, optionally, associate an Amazon Route 53 health check with each record, and Amazon Route 53 responds to DNS queries with up to eight healthy records. -* feature: S3: Allows forward slashes in Bucket names when using SigV4 to create or retrieve objects. This is to maintain compatibility with behavior when using SigV2. In new code, Buckets should not contain forward slashes. Instead, directories should be part of an object's key. -* feature: SSM: Adding hierarchy support to the SSM Parameter Store API. Added support tor tagging. New APIs: GetParameter - retrieves one parameter, DeleteParameters - deletes multiple parameters (max number 10), GetParametersByPath - retrieves parameters located in the hierarchy. Updated APIs: PutParameter - added ability to enforce parameter value by applying regex (AllowedPattern), DescribeParameters - modified to support Tag filtering. -* feature: WAFRegional: You can now create, edit, update, and delete a new type of WAF rule with a rate tracking component. - -## 2.74.0 -* feature: WorkDocs: This release provides a new API to retrieve the activities performed by WorkDocs users. - -## 2.73.0 -* feature: Organizations: Improvements to Exception Modeling - -## 2.72.0 -* feature: XRay: Add a response time histogram to the services in response of GetServiceGraph API. - -## 2.71.0 -* feature: DynamoDB: Adds two new functions to the AWS.DynamoDB.Converter namespace: one to convert full DynamoDB items (such as what you might receive for events in a DynamoDB stream) into plain vanilla JavaScript objects and one to convert JavaScript objects back into DynamoDB items -* feature: EC2: Adds API to describe Amazon FPGA Images (AFIs) available to customers, which includes public AFIs, private AFIs that you own, and AFIs owned by other AWS accounts for which you have load permissions. -* feature: ECS: Added support for cpu, memory, and memory reservation container overrides on the RunTask and StartTask APIs. -* feature: Iot: Revert the last release: remove CertificatePem from DescribeCertificate API. -* feature: ServiceCatalog: Added ProvisioningArtifactSummaries to DescribeProductAsAdmin's output to show the provisioning artifacts belong to the product. Allow filtering by SourceProductId in SearchProductsAsAdmin for AWS Marketplace products. Added a verbose option to DescribeProvisioningArtifact to display the CloudFormation template used to create the provisioning artifact.Added DescribeProvisionedProduct API. Changed the type of ProvisionedProduct's Status to be distinct from Record's Status. New ProvisionedProduct's Status are AVAILABLE, UNDER_CHANGE, TAINTED, ERROR. Changed Record's Status set of values to CREATED, IN_PROGRESS, IN_PROGRESS_IN_ERROR, SUCCEEDED, FAILED. - -## 2.70.0 -* feature: ApplicationAutoScaling: Application Auto Scaling now supports automatic scaling of read and write throughput capacity for DynamoDB tables and global secondary indexes. - -## 2.69.0 -* feature: ConfigService: With this release AWS Config supports the Amazon CloudWatch alarm resource type. - -## 2.68.0 -* feature: RDS: API Update for RDS: this update enables copy-on-write, a new Aurora MySQL Compatible Edition feature that allows users to restore their database, and support copy of TDE enabled snapshot cross region. -* feature: S3: Switches S3 to use signatureVersion "v4" by default. To continue using signatureVersion "v2", set the signatureVersion: "v2" option in the S3 service client configuration. Presigned URLs will continue using "v2" by default. - -## 2.67.0 -* feature: EFS: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: OpsWorks: Tagging Support for AWS OpsWorks Stacks - -## 2.66.0 -* feature: Iot: In addition to using certificate ID, AWS IoT customers can now obtain the description of a certificate with the certificate PEM. -* feature: Pinpoint: Starting today Amazon Pinpoint adds SMS Text and Email Messaging support in addition to Mobile Push Notifications, providing developers, product managers and marketers with multi-channel messaging capabilities to drive user engagement in their applications. Pinpoint also enables backend services and applications to message users directly and provides advanced user and app analytics to understand user behavior and messaging performance. -* feature: Rekognition: API Update for AmazonRekognition: Adding RecognizeCelebrities API - -## 2.65.0 -* feature: CodeBuild: Add support to APIs for privileged containers. This change would allow performing privileged operations like starting the Docker daemon inside builds possible in custom docker images. -* feature: Greengrass: AWS Greengrass is software that lets you run local compute, messaging, and device state synchronization for connected devices in a secure way. With AWS Greengrass, connected devices can run AWS Lambda functions, keep device data in sync, and communicate with other devices securely even when not connected to the Internet. Using AWS Lambda, Greengrass ensures your IoT devices can respond quickly to local events, operate with intermittent connections, and minimize the cost of transmitting IoT data to the cloud. - -## 2.64.0 -* bugfix: S3: Calling send multiple times on an S3 ManagedUpload with leavePartsOnError set to true should no longer result in truncated files being uploaded to S3. Calling send multiple times is not supported with streams. -* feature: Iot: Update client side validation for SalesForce action. - -## 2.63.0 -* feature: AppStream: AppStream 2.0 Custom Security Groups allows you to easily control what network resources your streaming instances and images have access to. You can assign up to 5 security groups per Fleet to control the inbound and outbound network access to your streaming instances to specific IP ranges, network protocols, or ports. -* feature: AutoScaling: Autoscaling resource model update. -* feature: Iot: Added Salesforce action to IoT Rules Engine. - -## 2.62.0 -* feature: KinesisAnalytics: Kinesis Analytics publishes error messages CloudWatch logs in case of application misconfigurations -* feature: WorkDocs: This release includes new APIs to manage tags and custom metadata on resources and also new APIs to add and retrieve comments at the document level. - -## 2.61.0 -* feature: CodeDeploy: AWS CodeDeploy has improved how it manages connections to GitHub accounts and repositories. You can now create and store up to 25 connections to GitHub accounts in order to associate AWS CodeDeploy applications with GitHub repositories. Each connection can support multiple repositories. You can create connections to up to 25 different GitHub accounts, or create more than one connection to a single account. The ListGitHubAccountTokenNames command has been introduced to retrieve the names of stored connections to GitHub accounts that you have created. The name of the connection to GitHub used for an AWS CodeDeploy application is also included in the ApplicationInfo structure. Two new fields, lastAttemptedDeployment and lastSuccessfulDeployment, have been added to DeploymentGroupInfo to improve the handling of deployment group information in the AWS CodeDeploy console. Information about these latest deployments can also be retrieved using the GetDeploymentGroup and BatchGetDeployment group requests. Also includes a region update (us-gov-west-1). -* feature: CognitoIdentityServiceProvider: Added support within Amazon Cognito User Pools for 1) a customizable hosted UI for user sign up and sign in and 2) integration of external identity providers. -* feature: ELBv2: Update the existing DescribeRules API to support pagination. - -## 2.60.0 -* bugfix: Core: Fixes issue where some TimeStamp shapes had an incorrect timestampFormat. Specifically affects S3.putBucketLifecycleConfiguration when using Date fields. -* feature: RDS: Amazon RDS customers can now easily and quickly stop and start their DB instances. - -## 2.59.0 -* bugfix: S3: Update ManagedUploader body verification to allow empty strings -* feature: CloudDirectory: Cloud Directory has launched support for Typed Links, enabling customers to create object-to-object relationships that are not hierarchical in nature. Typed Links enable customers to quickly query for data along these relationships. Customers can also enforce referential integrity using Typed Links, ensuring data in use is not inadvertently deleted. - -## 2.58.0 -* feature: AppStream: Support added for persistent user storage, backed by S3. -* feature: Rekognition: Updated the CompareFaces API response to include orientation information, unmatched faces, landmarks, pose, and quality of the compared faces. - -## 2.57.0 -* feature: IAM: The unique ID and access key lengths were extended from 32 to 128 -* feature: STS: The unique ID and access key lengths were extended from 32 to 128. -* feature: StorageGateway: Two Storage Gateway data types, Tape and TapeArchive, each have a new response element, TapeUsedInBytes. This element helps you manage your virtual tapes. By using TapeUsedInBytes, you can see the amount of data written to each virtual tape. - -## 2.56.0 -* feature: DMS: This release adds support for using Amazon S3 and Amazon DynamoDB as targets for database migration, and using MongoDB as a source for database migration. For more information, see the AWS Database Migration Service documentation. - -## 2.55.0 -* bugfix: ReactNative: Requests will always have a Content-Type header if they also have a body. Works around an issue caused by React Native's Android XMLHttpRequest implementation that requires the Content-Type header to be present if there is a request body. -* feature: ResourceGroupsTaggingAPI: You can now specify the number of resources returned per page in GetResources operation, as an optional parameter, to easily manage the list of resources returned by your queries. - -## 2.54.0 -* feature: Athena: This release adds support for Amazon Athena. Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run. -* feature: Lightsail: This release adds new APIs that make it easier to set network port configurations on Lightsail instances. Developers can now make a single request to both open and close public ports on an instance using the PutInstancePublicPorts operation. - -## 2.53.0 -* feature: Polly: Amazon Polly adds new German voice "Vicki" - -## 2.52.0 -* feature: CodeDeploy: This release introduces the previousRevision field in the responses to the GetDeployment and BatchGetDeployments actions. previousRevision provides information about the application revision that was deployed to the deployment group before the most recent successful deployment. Also, the fileExistsBehavior parameter has been added for CreateDeployment action requests. In the past, if the AWS CodeDeploy agent detected files in a target location that weren't part of the application revision from the most recent successful deployment, it would fail the current deployment by default. This new parameter provides options for how the agent handles these files: fail the deployment, retain the content, or overwrite the content. -* feature: GameLift: Allow developers to specify how metrics are grouped in CloudWatch for their GameLift fleets. Developers can also specify how many concurrent game sessions activate on a per-instance basis. -* feature: Inspector: Adds ability to produce an assessment report that includes detailed and comprehensive results of a specified assessment run. - -## 2.51.0 -* feature: SSM: UpdateAssociation API now supports updating document name and targets of an association. GetAutomationExecution API can return FailureDetails as an optional field to the StepExecution Object, which contains failure type, failure stage as well as other failure related information for a failed step. - -## 2.50.0 -* bugfix: ReactNative: Fixes issue where binary responses were empty in iOS (e.g. s3.getObject) -* feature: ELB: Add a new API to allow customers to describe their account limits, such as load balancer limit, target group limit etc. -* feature: ELBv2: Add a new API to allow customers to describe their account limits, such as load balancer limit, target group limit etc. -* feature: LexModelBuildingService: Releasing new DeleteBotVersion, DeleteIntentVersion and DeleteSlotTypeVersion APIs. -* feature: Organizations: AWS Organizations APIs that return an Account object now include the email address associated with the account’s root user. -* bugfix: Request: Updates node.js request handling to obey socket read timeouts after response headers have been received. Previously timeouts were being ignored once headers were received, sometimes causing connections to hang. - -## 2.49.0 -* feature: ECS: Exposes container instance registration time in ECS:DescribeContainerInstances. -* feature: Lambda: Support for UpdateFunctionCode DryRun option -* feature: MarketplaceEntitlementService: AWS Marketplace Entitlement Service enables AWS Marketplace sellers to determine the capacity purchased by their customers. - -## 2.48.0 -* feature: CloudFormation: Adding back the removed waiters and paginators. - -## 2.47.0 -* feature: CloudFormation: API update for CloudFormation: New optional parameter ClientRequestToken which can be used as an idempotency token to safely retry certain operations as well as tagging StackEvents. -* feature: RDS: The DescribeDBClusterSnapshots API now returns a SourceDBClusterSnapshotArn field which identifies the source DB cluster snapshot of a copied snapshot. -* feature: React Native: Adds support for running the SDK in React Native. See the README for instructions. -* feature: Rekognition: Fix for missing file type check -* feature: SQS: Adding server-side encryption (SSE) support to SQS by integrating with AWS KMS; adding new queue attributes to SQS CreateQueue, SetQueueAttributes and GetQueueAttributes APIs to support SSE. -* feature: Snowball: The Snowball API has a new exception that can be thrown for list operation requests. - -## 2.46.0 -* bugfix: SharedIniFileCredentials: This fix reverts a regression introduced in version 2.44.0 in which the value returned by os.homedir would be used in preference over the value of the HOME environment variable -* feature: RDS: With Amazon Relational Database Service (Amazon RDS) running MySQL or Amazon Aurora, you can now authenticate to your DB instance using IAM database authentication. -* feature: RDS: Adds AWS.RDS.Signer class to generate auth tokens for connecting to a database. - -## 2.45.0 -* bugfix: Promise: Fixes an issue introduced in v2.44.0 where payload members on some CloudFront and S3 operations weren't hoisted when using promises. This issue was introduced in and could affect users that were accessing fields on a response that weren't documented, but were available for backwards compatibility. -* bugfix: Request: Make `$response` property of resolved promise value non-enumerable to prevent serialization errors -* feature: AppStream: The new feature named "Default Internet Access" will enable Internet access from AppStream 2.0 instances - image builders and fleet instances. Admins will check a flag either through AWS management console for AppStream 2.0 or through API while creating an image builder or while creating/updating a fleet. -* feature: Kinesis: Adds a new waiter, StreamNotExists, to Kinesis. - -## 2.44.0 -* feature: DeviceFarm: API Update for AWS Device Farm: Support for Deals and Promotions -* feature: ELBv2: Adding LoadBalancersDeleted waiter for Elasticloadbalancingv2 -* feature: EnvironmentVariable: Load config from ~/.aws/config if AWS_SDK_LOAD_CONFIG is set -* feature: EnvironmentVariable: Add support for specifying the location of the shared config file via the AWS_CONFIG_FILE environment variable. This variable is only honored if AWS_SDK_LOAD_CONFIG is set to a truthy value. -* feature: EnvironmentVariable: Add support for the AWS_SHARED_CREDENTIALS_FILE environment variable if AWS_SDK_LOAD_CONFIG is set -* feature: Promises: Binds response object to the data object with which successful request promises are resolved - -## 2.43.0 -* feature: APIGateway: Add support for "embed" property. -* feature: CodeStar: AWS CodeStar is a cloud-based service for creating, managing, and working with software development projects on AWS. An AWS CodeStar project creates and integrates AWS services for your project development toolchain. AWS CodeStar also manages the permissions required for project users. -* feature: EC2: Adds support for creating an Amazon FPGA Image (AFI) from a specified design checkpoint (DCP). -* feature: IAM: This changes introduces a new IAM role type, Service Linked Role, which works like a normal role but must be managed via services' control. -* feature: Lambda: Lambda integration with CloudDebugger service to enable customers to enable tracing for the Lambda functions and send trace information to the CloudDebugger service. -* feature: LexModelBuildingService: Amazon Lex is a service for building conversational interfaces into any application using voice and text. -* feature: Polly: API Update for Amazon Polly: Add support for speech marks -* feature: Rekognition: Given an image, the API detects explicit or suggestive adult content in the image and returns a list of corresponding labels with confidence scores, as well as a taxonomy (parent-child relation) for each label. - -## 2.42.0 -* bugfix: Parser: Makes casting payload blobs to strings an exceptional behavior rather than the default -* feature: Lambda: You can use tags to group and filter your Lambda functions, making it easier to analyze them for billing allocation purposes. For more information, see Tagging Lambda Functions. You can now write or upgrade your Lambda functions using Python version 3.6. For more information, see Programming Model for Authoring Lambda Functions in Python. Note: Features will be rolled out in the US regions on 4/19. - -## 2.41.0 -* feature: APIGateway: API Gateway request validators -* feature: Batch: API Update for AWS Batch: Customer provided AMI for MANAGED Compute Environment -* feature: GameLift: Allows developers to utilize an improved workflow when calling our Queues API and introduces a new feature that allows developers to specify a maximum allowable latency per Queue. -* feature: OpsWorks: Cloudwatch Logs agent configuration can now be attached to OpsWorks Layers using CreateLayer and UpdateLayer. OpsWorks will then automatically install and manage the CloudWatch Logs agent on the instances part of the OpsWorks Layer. - -## 2.40.0 -* feature: Redshift: This update adds the GetClusterCredentials API which is used to get temporary login credentials to the cluster. AccountWithRestoreAccess now has a new member AccountAlias, this is the identifier of the AWS support account authorized to restore the specified snapshot. This is added to support the feature where the customer can share their snapshot with the Amazon Redshift Support Account without having to manually specify the AWS Redshift Service account ID on the AWS Console/API. - -## 2.39.0 -* feature: ElastiCache: ElastiCache added support for testing the Elasticache Multi-AZ feature with Automatic Failover. -* feature: Http: Adds a connectTimeout option that allows slow-to-establish socket connections to be quickly abandoned - -## 2.38.0 -* feature: CloudWatch: Amazon Web Services announced the immediate availability of two additional alarm configuration rules for Amazon CloudWatch Alarms. The first rule is for configuring missing data treatment. Customers have the options to treat missing data as alarm threshold breached, alarm threshold not breached, maintain alarm state and the current default treatment. The second rule is for alarms based on percentiles metrics that can trigger unnecassarily if the percentile is calculated from a small number of samples. The new rule can treat percentiles with low sample counts as same as missing data. If the first rule is enabled, the same treatment will be applied when an alarm encounters a percentile with low sample counts. - -## 2.37.0 -* feature: LexRuntime: Adds support to PostContent for speech input - -## 2.36.0 -* feature: CloudDirectory: ListObjectAttributes now supports filtering by facet. - -## 2.35.0 -* feature: CloudFormation: Adding paginators for ListExports and ListImports -* feature: CloudFront: Amazon CloudFront now supports user configurable HTTP Read and Keep-Alive Idle Timeouts for your Custom Origin Servers -* feature: ResourceGroupsTaggingAPI: Resource Groups Tagging APIs can help you organize your resources and enable you to simplify resource management, access management, and cost allocation. -* feature: StorageGateway: File gateway mode in AWS Storage gateway provides access to objects in S3 as files on a Network File System (NFS) mount point. Once a file share is created, any changes made externally to the S3 bucket will not be reflected by the gateway. Using the cache refresh feature in this update, the customer can trigger an on-demand scan of the keys in their S3 bucket and refresh the file namespace cached on the gateway. It takes as an input the fileShare ARN and refreshes the cache for only that file share. Additionally there is new functionality on file gateway that allows you configure what squash options they would like on their file share, this allows a customer to configure their gateway to not squash root permissions. This can be done by setting options in NfsOptions for CreateNfsFileShare and UpdateNfsFileShare APIs. - -## 2.34.0 -* features: Batch: Customers can now provide a retryStrategy as part of the RegisterJobDefinition and SubmitJob API calls. -* features: EC2: Customers can now tag their Amazon EC2 Instances and Amazon EBS Volumes at the time of their creation. - -## 2.33.0 -* feature: core: Adds support for 'v4' and 'v4-unsigned-body' authtype traits. -* bugfix: ManagedUpload: Ensures multi-part upload locations are URI-decoded to match single-part upload locations. - -## 2.32.0 -* feature: S3: Adds a means of specifying tags to apply to objects of any size uploaded with AWS.S3.ManagedUploader -* feature: ApplicationAutoScaling: Application AutoScaling is launching support for a new target resource (AppStream 2.0 Fleets) as a scalable target. - -## 2.31.0 -* feature: DynamoDB: Adds ability to customize retry delays for DynamoDB. This previously worked for all services except DynamoDB. Also adds jitter to DynamoDB retries. See `AWS.Config.retryDelayOptions` for more information. -* feature: Waiter: Allow customization of a waiter using a special `$waiter` key -* feature: Lambda: Adds support for new runtime Node.js v6.10 for AWS Lambda service. :tada: -* feature: ELBv2: Adding waiters for Elastic Load Balancing V2 -* feature: Discovery: Adds export configuration options to the API. - -## 2.30.0 -* feature: DynamoDb: Allow objects with inheritance chains to be converted to MapAttributeValues instead of undefined -* bugfix: CredentialsError: Update AWS.Config.getCredentials to overwrite the name (in addition to message and code) of errors thrown by underlying credential providers. - -## 2.29.0 -* feature: protocol: The SDK can now support JSON-value string shapes in headers -* feature: Pinpoint: Added ability to segment endpoints by user attributes in addition to endpoint attributes. -* feature: Pinpoint: Added functionality to publish raw app analytics and campaign events data as events streams to Kinesis and Kinesis Firehose. -* feature: ELBv2: Adding waiters for LoadBalancers in ELBv2. -* feature: MarketplaceCommerceAnalytics: This update adds a new data set, us_sales_and_use_tax_records, which enables AWS Marketplace sellers to programmatically access to their U.S. Sales and Use Tax report data. - -## 2.28.0 -* feature: DeviceFarm: Network shaping allows users to simulate network connections and conditions while testing their Android, iOS, and web apps with AWS Device Farm. -* feature: CloudWatchEvents: This update extends Target Data Type for configuring Target behavior during invocation. - -## 2.27.0 -* bugfix: TemporaryCredentials: Ensure master credentials are not expired before using them to refresh temporary credentials -* feature: CodeDeploy: Add paginators for Codedeploy -* feature: EMR: This release includes support for instance fleets in Amazon EMR - -## 2.26.0 -* feature: APIGateway: API Gateway has added support for ACM certificates on custom domain names. Both Amazon-issued certificates and uploaded third-part certificates are supported. -* feature: CloudDirectory: Introduces a new Cloud Directory API that enables you to retrieve all available parent paths for any type of object (a node, leaf node, policy node, and index node) in a hierarchy. - -## 2.25.0 -* feature: WorkDocs: Amazon WorkDocs API provides full administrator level access to WorkDocs site resources, allowing developers to integrate their applications to manage WorkDocs users, content and permissions programmatically. - -## 2.24.0 -* feature: RDS: Add support to using encrypted clusters as cross-region replication masters. Update CopyDBClusterSnapshot API to support encrypted cross region copy of Aurora cluster snapshots. - -## 2.23.0 -* feature: Budgets: When creating or editing a budget via the AWS Budgets API you can define notifications that are sent to subscribers when the actual or forecasted value for cost or usage exceeds the notificationThreshold associated with the budget notification object. Starting today, the maximum allowed value for the notificationThreshold was raised from 100 to 300. This change was made to give you more flexibility when setting budget notifications. -* feature: OpsWorksCM: OpsWorks for Chef Automate has added a new field "AssociatePublicIpAddress" to the CreateServer request, "CloudFormationStackArn" to the Server model and "TERMINATED" server state. - -## 2.22.0 -* bugfix: MechanicalTurkRequester: Rename MechanicalTurkRequester to MTurk - -## 2.21.0 -* feature: DynamoDB: Time to Live (TTL) is a feature that allows you to define when items in a table expire and can be purged from the database, so that you don't have to track expired data and delete it manually. With TTL enabled on a DynamoDB table, you can set a timestamp for deletion on a per-item basis, allowing you to limit storage usage to only those records that are relevant. -* feature: DynamoDBStreams: Time to Live (TTL) is a feature that allows you to define when items in a table expire and can be purged from the database, so that you don't have to track expired data and delete it manually. With TTL enabled on a DynamoDB table, you can set a timestamp for deletion on a per-item basis, allowing you to limit storage usage to only those records that are relevant. -* feature: IAM: This release adds support for AWS Organizations service control policies (SCPs) to SimulatePrincipalPolicy operation. If there are SCPs associated with the simulated user's account, their effect on the result is captured in the OrganizationDecisionDetail element in the EvaluationResult. -* feature: MechanicalTurkRequester: Amazon Mechanical Turk is a web service that provides an on-demand, scalable, human workforce to complete jobs that humans can do better than computers, for example, recognizing objects in photos. -* feature: Organizations: AWS Organizations is a web service that enables you to consolidate your multiple AWS accounts into an organization and centrally manage your accounts and their resources. - -## 2.20.0 -* feature: ES: Added three new API calls to expose Amazon Elasticsearch imposed limits. - -## 2.19.0 -* bugfix: XHR: Fixes an issue where the callback provided to an operation would not fire if a request was aborted after being sent. The bug only affected the browser SDK. -* feature: S3: Added an instance method to S3 clients to create POST form data with presigned upload policies -* feature: DynamoDB: Expose DynamoDB DocumentClient marshaller/unmarshaller as AWS.DynamoDB.Converter - -## 2.18.0 -* feature: GameLift: Allow developers to configure global queues for creating GameSessions. Allow PlayerData on PlayerSessions to store player-specific data. -* feature: Route53: Added support for operations CreateVPCAssociationAuthorization and DeleteVPCAssociationAuthorization to throw a ConcurrentModification error when a conflicting modification occurs in parallel to the authorizations in place for a given hosted zone. -* feature: ElasticBeanstalk: Elastic Beanstalk adds support for creating and managing custom platform. - -## 2.17.0 -* bugfix: TypeScript: Enable the configuration credentials to be nulled so that the global config is not used. -* feature: EC2: Added the billingProduct parameter to the RegisterImage API. - -## 2.16.0 -* feature: DirectConnect: This update will introduce the ability for Direct Connect customers to take advantage of Link Aggregation (LAG). This allows you to bundle many individual physical interfaces into a single logical interface, referred to as a LAG. This makes administration much simpler as the majority of configuration is done on the LAG while you are free to add or remove physical interfaces from the bundle as bandwidth demand increases or decreases. A concrete example of the simplification added by LAG is that customers need only a single BGP session as opposed to one session per physical connection. - -## 2.15.0 -* feature: CognitoIdentity: Allows createIdentityPool and updateIdentityPool API to set server side token check value on identity pool. -* feature: ConfigService: AWS Config now supports a new test mode for the PutEvaluations API. Set the TestMode parameter to true in your custom rule to verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config. - -## 2.14.0 -* feature: KMS: This release of AWS Key Management Service introduces the ability to tag keys. Tagging keys can help you organize your keys and track your KMS costs in the cost allocation report. This release also increases the maximum length of a key ID to accommodate ARNs that include a long key alias. - -## 2.13.0 -* feature: Ec2: Adds support for the new Modify Volumes apis. - -## 2.12.0 -* feature: StorageGateway: File gateway mode in AWS Storage gateway provides access to objects in S3 as files on a Network File System (NFS) mount point. This is done by creating Nfs file shares using existing APIs CreateNfsFileShare. Using the feature in this update, the customer can restrict the clients that have read/write access to the gateway by specifying the list of clients as a list of IP addresses or CIDR blocks. This list can be specified using the API CreateNfsFileShare while creating new file shares, or UpdateNfsFileShare while update existing file shares. To find out the list of clients that have access, the existing API DescribeNfsFileShare will now output the list of clients that have access. - -## 2.11.0 -* bugfix: TypeScript: Add `endpoint` property to AWS.S3 instance declaration. -* feature: EC2: This feature allows customers to associate an IAM profile to running instances that do not have any. -* feature: Rekognition: DetectFaces and IndexFaces operations now return an estimate of the age of the face as an age range. - -## 2.10.0 -* bugfix: JSON: Fixes issue caused when trying to unmarshall null binary shapes. -* bugfix: TypeScript: Add `credentialProvider` as an optional parameter of `ConfigurationOptions`. -* feature: LexRuntime: Amazon Lex is a service for building conversational interactions into any application using voice or text. - -## 2.9.0 -* feature: EC2: Adds instance health check functionality to replace unhealthy EC2 Spot fleet instances with fresh ones -* feature: CloudDirectory: Amazon Cloud Directory is a highly scalable, high performance, multi-tenant directory service in the cloud. Its web-based directories make it easy for you to organize and manage application resources such as users, groups, locations, devices, policies, and the rich relationships between them. -* feature: CodeDeploy: This release of AWS CodeDeploy introduces support for blue/green deployments. In a blue/green deployment, the current set of instances in a deployment group is replaced by new instances that have the latest application revision installed on them. After traffic is rerouted behind a load balancer to the replacement instances, the original instances can be terminated automatically or kept running for other uses. -* feature: RDS: Added support for the `ModifyDBSnapshot` and `ModifyDBSnapshotMessage` operations - -## 2.8.0 -* bugfix: RDS: Fixes issue wherein the wrong parameter name was used for cross region presigned urls. -* feature: ELBv2: Application Load Balancers now support native Internet Protocol version 6 (IPv6) in an Amazon Virtual Private Cloud (VPC). With this ability, clients can now connect to the Application Load Balancer in a dual-stack mode via either IPv4 or IPv6. -* feature: RDS: Adds cross region read replica copying. - -## 2.7.28 -* feature: CognitoIdentityCredentials: Adds `clientConfig` as an optional parameter to the `CognitoIdentityCredentials` constructor. This parameter can be used to pass in client configuration to the underlying service clients. -* feature: TemporaryCredentials: Allows passing of master credentials to the TemporaryCredentials provider. -* feature: CodeCommit: Added new API to list the different files between 2 commits -* feature: ECS: Amazon ECS now supports a state for container instances that can be used to drain a container instance in preparation for maintenance or cluster scale down. - -## 2.7.27 -* bugfix: Performance: This change reverts a request body cast in the node HTTP handler that caused a performance regression. -* feature: ACM: Updated response elements for DescribeCertificate API in support of managed renewal. - -## 2.7.26 -* feature: EC2: Amazon EC2 Spot instances now support dedicated tenancy, providing the ability to run Spot instances single-tenant manner on physically isolated hardware within a VPC to satisfy security, privacy, or other compliance requirements. Dedicated Spot instances can be requested using RequestSpotInstances and RequestSpotFleet. - -## 2.7.25 -* feature: RDS: Updates AWS.RDS API to the latest version. - -## 2.7.24 -* bugfix: HTTP: Ensure that buffers are not created with Buffer.from in node 4.0-4.4 -* bugfix: core: Deprecate v2.7.23 - -## 2.7.23 -* bugfix: S3: Convert string bodies to buffers to ensure correct encoding is used -* feature: DynamoDB: Adds support for tagging tables and indexes. - -## 2.7.22 -* feature: CUR: The AWS Cost and Usage Report Service API allows you to enable and disable the Cost & Usage report, as well as modify the report name, the data granularity, and the delivery preferences. -* bugfix: DynamoDB.DocumentClient: Allows objects created using Object.create(null) to be properly serialized by the DDB document client. - -## 2.7.21 -* feature: ConfigService: Updates putConfigRule to support using/writing rules based on the OversizedConfigurationItemChangeNotification message type. -* feature: MarketplaceCommerceAnalytics: Added support for data set disbursed_amount_by_instance_hours, with historical data available starting 2012-09-04. New data is published to this data set every 30 days. -* bugfix: DynamoDB.DocumentClient: Fixes issue where empty strings in nested members were not removed when convertEmptyValues was set. -* bugfix: CognitoIdentityCredentials: Fixes issue where the cached identity id would sometimes not be retrieved when SDK is run while offline. - -## 2.7.20 -* feature: CodeDeploy: CodeDeploy supports IAM Session Arns in addition to IAM User Arns for on premise host authentication. -* feature: ECS: Amazon EC2 Container Service (ECS) now supports the ability to customize the placement of tasks on container instances. - -## 2.7.19 -* feature: APIGateway: This update introduces two new operations used to dynamically discover SDK types and what configuration each type accepts. -* feature: ElasticBeanstalk: Adds a new feature for managing Application Version Lifecycle. -* feature: IAM: Adds service-specific credentials to IAM service to make it easier to onboard CodeCommit customers. These are username/password credentials that work with a single service. - -## 2.7.18 -* feature: Rekognition: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: EC2: Adds cross region encrypted snapshot copying (CopyDBSnapshot). -* feature: ECR: Amazon ECR now implements Docker Image Manifest V2, Schema 2 providing the ability to use multiple tags per image, support for storing Windows container images, and compatibility with the Open Container Initiative (OCI) image format. With this update, customers can also add tags to an image via PutImage and delete tags using BatchDeleteImage. - -## 2.7.17 -* bugfix: Promises: Fixes issue introduced in v2.6.12. Calling AWS.config.setPromisesDependency(null) will once again force the SDK to use native promises if they are available. -* feature: Firehose: The processing feature enables users to process and modify records before Amazon Firehose delivers them to destinations. -* feature: StorageGateway: File gateway is a new mode in the AWS Storage Gateway that support a file interface into S3, alongside the current block-based volume and VTL storage. File gateway combines a service and virtual software appliance, enabling you to store and retrieve objects in Amazon S3 using industry standard file protocols such as NFS. The software appliance, or gateway, is deployed into your on-premises environment as a virtual machine (VM) running on VMware ESXi. The gateway provides access to objects in S3 as files on a Network File System (NFS) mount point. - -## 2.7.16 -* feature: DocumentClient: Add a constructor option to convert empty strings, sets, and binary strings to a Dynamo NULL typed field -* feature: Discovery: Adds new APIs to group discovered servers into Applications with get summary and neighbors. Includes additional filters for ListConfigurations and DescribeAgents API. -* feature: CognitoIdentity: Added fine-grained role-based access control for Cognito identity pools. Developers can configure an identity pool to get the IAM role from an authenticated user's token, or they can configure rules that will map a user to a different role - -## 2.7.15 -* bugfix: Buffer: Update base64 encode/decode to use Buffer.fill when available and throw an error if a number is provided. -* bugfix: XRay: Add X-Amzn-Trace-Id to list of unsigned headers to prevent signature mismatch errors if the header value is modified while the request is in flight. -* feature: Cognito: Add new regions and endpoints for Amazon Cognito Identity, Amazon Cognito Sync, and Amazon Cognito Identity Provider. -* feature: CognitoIdentityServiceProvider: User Pools now offers groups as an easy way to manage users and their permissions. -* feature: SSM: Add support for Patch Baseline and Patch Compliance APIs - -## 2.7.14 -* feature: Batch: AWS Batch is a batch computing service that lets customers define queues and compute environments and then submit work as batch jobs. -* feature: DMS: Adds support for SSL enabled Oracle endpoints and task modification. -* feature: CloudWatchLogs: Amazon CloudWatch announces detailed billing to CloudWatch Logs. You can now get usage and cost per log group. You can also add tags on your log groups to get a fine-grained view on cost for logs across business dimension such as cost center, application name, AWS services such as Lambda, CloudTrail, ECS, and other. Up to 50 tags can be added to each log group. - -## 2.7.13 -* feature: CloudFront: Add lambda function associations to cache behaviors. -* feature: RDS: Add cluster create data to DBCluster APIs. -* feature: WAFRegional: With this new feature, customers can use AWS WAF directly on Application Load Balancers in a VPC within available regions to protect their websites and web services from malicious attacks such as SQL injection, Cross Site Scripting, bad bots, etc. - -## 2.7.12 -* feature: S3: Add the Version ID field to the Get and Put object tagging operations. - -## 2.7.11 -* bugfix: TypeScript: Exposes typings for classes that live on service namespaces (i.e. DynamoDB.DocumentClient). Also exposes interfaces off of service namespaces to allow easier migration from some 3rd party typings. Interfaces will continue to be exposed via Service.Types as well. -* bugfix: TypeScript: Removes remaining `reference` comments from definitions. -* feature: ConfigService: Increases the number of config rules for all accounts from 25 to 50. -* feature: EC2: Adds T2.xlarge, T2.2xlarge, and R4 instance types. - -## 2.7.10 -* feature: APIGateway: You can now publish your APIs on Amazon API Gateway as products on the AWS Marketplace. Use the SDK to associate your APIs on API Gateway with Marketplace Product Codes. API Gateway will then send metering data to the Marketplace Metering Service on your behalf. Also, API Gateway now supports documenting your API. -* feature: Appstream: Announcing Amazon AppStream 2.0 - a secure, fully managed desktop application streaming service that provides users instant access to their apps from a web browser. -* feature: CodeBuild: AWS CodeBuild is a fully-managed build service in the cloud. CodeBuild compiles source code, runs tests, and produces packages that are ready to deploy. CodeBuild eliminates the need to provision, manage, and scale your own build servers. CodeBuild scales continuously and processes multiple builds concurrently, so your builds are never waiting in a queue. You can get started quickly with CodeBuild’s prepackaged build environments, or you can use custom build environments to use your own build tools. With CodeBuild, you only pay by the minute. -* feature: DirectConnect: API Update for IPv6 for Direct Connect. -* feature: EC2: Adds IPv6 Support for EC2 and new F1 Instance types. -* feature: ElasticBeanstalk: Integrates AWS CodeBuild into ElasticBeanstalk. -* feature: Health: When your business is counting on the performance of your cloud solutions, having relevant and timely insights into events impacting your AWS resources is essential. The AWS Health API serves as the primary source for you to receive personalized information related to your AWS infrastructure, guiding your through scheduled changes, and accelerating the troubleshooting of issues impacting your AWS resources and accounts. At launch, the APIs will be available to Business and Enterprise Support customers. -* feature: Lambda: Adds new API `getAccountSettings`, dotnetcore 1.0 runtime support, DeadLetterConfig, and event source mappings with kinesis streams. -* feature: OpsWorksCM: AWS OpsWorks for Chef Automate gives customers a single tenant Chef Automate server. The Chef Automate server is fully managed by AWS and supports automatic backup, restore and upgrade operations. -* feature: Pinpoint: Amazon Pinpoint makes it easy to run targeted campaigns to improve user engagement. Pinpoint helps you understand your users behavior, define who to target, what messages to send, when to deliver them, and tracks the results of the campaign. -* feature: Shield: AWS Shield is a managed Distributed Denial of Service (DDoS) protection for web applications running on AWS. -* feature: SSM: Amazon EC2 Systems Manager is a flexible and easy to use management service that enables enterprises to securely manage and administer their workloads running on-premises or in the AWS cloud, using a single unified experience. These tasks include collecting system inventory, AWSmaintaining consistent state, ad hoc remote execution, automating imaging creation, applying OS patches, and managing configuration parameters. -* feature: StepFunctions: Adds support for the AWS Step Functions API. -* feature: XRay: AWS X-Ray helps developers analyze and debug distributed applications. With X-Ray, you can understand how your application and its underlying services are performing to identify and troubleshoot the root cause of performance issues and errors. - -## 2.7.9 -* feature: Polly: Adds `AWS.Polly.Presigner` to create presigned urls for `synthesizeSpeech`. -* feature: Polly: Amazon Polly is a service that turns text into lifelike speech, making it easy to develop applications that use high-quality speech to increase engagement and accessibility. With Amazon Polly the developers can build speech-enabled apps that work in multiple geographies. -* feature: Lightsail: An extremely simplified VM creation and management service. -* feature: Rekognition: Amazon Rekognition is a service that makes it easy to add image analysis to your applications. With Rekognition, you can detect objects, scenes, and faces in images. You can also search and compare faces. Rekognition’s API enables you to quickly add sophisticated deep learning-based visual search and image classification to your applications. -* feature: Snowball: This release of AWS Snowball introduces a new job type, new APIs, and the new AWS Snowball Edge device to support local compute and storage use cases. The local compute is AWS Lambda powered by AWS Greengrass, and the local storage is compatible with Amazon S3. Each 100 TB Snowball Edge can use the storage and compute power of the AWS cloud locally in places where connecting to the internet may not be an option. Additionally, Snowball Edges can be used in clusters for applications that require greater data durability. - -## 2.7.8 -* feature: core: The SDK will now automatically provide a version 4 UUID for top-level operation parameters that are modeled with the `idempotencyToken` flag. Users may continue to provide their own tokens. -* feature: S3: Updates the AWS.S3 API to the latest version. - -## 2.7.7 -* feature: CloudFormation: List-imports API is to list all stacks of user's namespace that are using a specific output. -* feature: Glacier: Allow customers to retrieve their data with different tiers. -* feature: Route53: Expand current IPAddress field to accept IPv6 address. -* feature: S3: Allow customers to specify different restore tiers when accessing their data. - -## 2.7.6 -* feature: CloudTrail: This release of AWS CloudTrail supports configuring your trail with event selectors. Use event selectors to specify the type of events that you want your trails to log. You can configure event selectors to log read-only, write-only, or all events. CloudTrail supports logging Amazon S3 object level APIs such as GetObject, DeleteObject, and PutObject. You can configure event selectors for your trail to log object level operations. -* feature: ECS: ECS will include a new field named `version` in API responses relating to tasks and container instances. Version is a number that increments every time a change has been made to the associated resource. Users replicating their ECS resource state can use the version field reported by the ECS APIs to determine if their local state is fresh. - -## 2.7.5 -* bugfix: TypeScript: Stubs DOM interfaces and removes type reference to node. -* feature: ElasticTranscoder: Support for multiple media input files that can be stitched together. -* feature: Lambda: Adds support for Environment variables. -* feature: Gamelift: Provide the ability to remote access into GameLift managed servers. -* feature: EMR: Automatic Scaling of EMR clusters based on metrics. Adds support for cancelling a pending Amazon EMR step. -* feature: ApplicationAutoScaling: Adds support for a new target resource (EMR Instance Groups) as a scalable target. - -## 2.7.4 -* feature: MarketplaceMetering: Allows third parties to send metering records. -* feature: SQS: Updates the latest version of the SQS API. -* feature: CloudWatch: Amazon CloudWatch now supports Percentiles as a statistical function. -* feature: APIGateway: Allows defining an encoding for the API per content type in order to support 'binary' use case. - -## 2.7.3 -* feature: Route53: Adds support for cross account VPC association. -* feature: ServiceCatalog: This release enables Service Catalog users to perform administer operations via API. - -## 2.7.2 -* feature: ElastiCache: Additional parameter to 2 create apis to provide an auth Token for Redis. -* feature: DirectoryService: Adds support for SchemaExtensions. -* feature: Kinesis: Adds DescribeLimits API which displays customer's current shard limit and the number of open shards that are being used. Also adds a 'display stream creation timestamp' feature to DescribeStream API. - -## 2.7.1 -* feature: CognitoIdentityServiceProvider: Adds schema attributes to CreateUserPool. -* bugfix: TypeScript: Updates definitions to work when `noImplicitAny` and `strictNullChecks` are set to `true`. - -## 2.7.0 -* feature: TypeScript: Adds typescript definition files to the SDK. -* feature: CloudWatchLogs: Amazon CloudWatch Metrics to Logs is a capability that helps pivot from your logs-extracted metrics directly to the corresponding logs. - -## 2.6.15 -* feature: DirectConnect: AWS Direct Connect provides three new APIs to support basic tagging on Direct Connect resources. - -## 2.6.14 -* feature: SES: Amazon Simple Email Service (Amazon SES) now enables you to track your bounce, complaint, delivery, sent, and rejected email metrics with fine-grained granularity. - -## 2.6.13 -* feature: CloudFormation: Adding ResourcesToSkip parameter to ContinueUpdateRollback API, adding support for ListExports, new ChangeSet types and Transforms. - -## 2.6.12 -* feature: CredentialProviderChain: Adds promise support for the `resolve` method on the AWS.CredentialProviderChain class. Corresponding promise method is called `resolvePromise`. -* feature: Credentials: Adds promise support for the `get` and `refresh` methods of the AWS.Credentials class. Corresponding promise methods are called `getPromise` and `refreshPromise`. -* feature: ManagedUpload: Adds promise support for S3.ManagedUpload. Calling `s3.upload(params).promise()` will return a promise. -* feature: SMS: AWS Server Migration Service (SMS) is an agentless service which makes it easier and faster for you to migrate thousands of on-premises workloads to AWS. AWS SMS allows you to automate, schedule, and track incremental replications of live server volumes, making it easier for you to coordinate large-scale server migrations. - -## 2.6.11 -* feature: Budgets: Adds the AWS Budgets service API via AWS.Budgets. - -## 2.6.10 -* feature: CloudFront: Ability to use Amazon CloudFront to deliver your content both via IPv6 and IPv4 using HTTP/HTTPS. -* feature: IoT: Updates IoT API to the latest available version. -* feature: RDS: Updates RDS to support accessing other AWS services by gassociating an IAM role with necessary permissions to your DB cluster. - -## 2.6.9 -* bugfix: s3: Propagate an error from a stream to s3.upload callback #1169 -* feature: S3: Adds support for using dualstack with accelerate endpoints. -* feature: ACM: This change allows users to import third-party SSL/TLS certificates into ACM. -* feature: ElasticBeanstalk: Adds CodeCommit integraion. DescribeApplicationVersions updated to support pagination. -* feature: GameLift: New APIs to protect game developer resource (builds, alias, fleets, instances, game sessions and player sessions) against abuse. - -## 2.6.8 -* feature: ECR: DescribeImages is a new api used to expose image metadata which today includes image size and image creation timestamp. -* feature: ElastiCache: Elasticache is launching a new major engine release of Redis, 3.2 (providing stability updates and new command sets over 2.8), as well as ElasticSupport for enabling Redis Cluster in 3.2, which provides support for multiple node groups to horizontally scale data, as well as superior engine failover capabilities. - -## 2.6.7 -* feature: CognitoIdentityServiceProvider: Added new operation "AdminCreateUser" that creates a new user in the specified user pool and sends a welcome message via email or phone (SMS). -* feature: Route53: Retries PriorRequestNotComplete errors. - -## 2.6.6 -* feature: EC2: Adding support for EC2 Convertible RIs and the EC2 RI regional benefit. -* feature: S3: S3 API update with partNumber extension and a bug fix to address list-objects command failing when a bucket is marked with request-pays. - -## 2.6.5 -* bugfix: apiVersion: Fixes an issue where some service clients would fail to instantiate if an older apiVersion was specified. -* feature: CloudFormation: Adds support for specifying an IAM service role for CloudFormation stack operations. - -## 2.6.4 -* bugfix: Browser: Updates `url` and `querystring` dependencies to be controlled by the SDK instead of tools like browserify or webpack. -* bugfix: Config: Fixes an issue where specifying service-specific config on the global AWS.config object would fail if the service had not yet been instantiated. -* feature: CodeDeploy: AWS CodeDeploy now integrates with Amazon CloudWatch alarms, making it possible to stop a deployment if there is a change in the state of a specified alarm for a number of consecutive periods, as specified in the alarm threshold. AWS CodeDeploy also now supports automatically rolling back a deployment if certain conditions are met, such as a deployment failure or an activated alarm. -* feature: EMR: Added support for Security Configurations which can be used to enable encryption at-rest and in-transit for certain applications on Amazon EMR. -* feature: RDS: Provide local time zone support for AWS RDS SqlServer database instances. -* feature: Redshift: This release of Amazon Redshift introduces Enhanced VPC Routing. When you use Amazon Redshift Enhanced VPC Routing, Amazon Redshift forces all COPY and UNLOAD traffic between your cluster and your data repositories through your Amazon VPC. - -## 2.6.3 -* bugfix: Node_Https: Fixes an issue caused when https.globalAgent is set to false. -* feature: Iot: Updates registerCertificate operation, and allows users to specify cannedAcl for S3 action. -* feature: RDS: Updates describeDbCluster operation to allow specifying a ReaderEndpoint for accessing cluster readers. - -## 2.6.2 -* feature: ServiceCatalog: Updates the API for AWS.ServiceCatalog. - -## 2.6.1 -* bugfix: SDK: Fixes an issue that caused all services to be loaded into memory when requiring the SDK. This issue was introduced in version `2.6.0` of the SDK, and address #1124. - -## 2.6.0 -* feature: CloudFront: Adds HTTP2 support for Amazon CloudFront distributions. -* feature: MetadataService: Adds retry logic to the EC2 Metadata Service, so that EC2MetadataCredentials will retry TimeoutError. This retry logic is also added to ECSCredentials. Resolves #692 -* feature: ServiceCatalog: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: Tools: Adds support for bundling the SDK with webpack. Also adds support for creating node.js bundles using webpack or browserify. - -## 2.5.6 -* feature: RDS: Adds new operation describeSourceRegions to provide list of all the source region names and endpoints for any region. Source regions are the regions where current region can get a replica or copy a snapshot from. - -## 2.5.5 -* feature: CognitoIdentityServiceProvider: Adds support for bulk import of users. -* feature: GameLift: Adds Linux support. -* feature: Iot: Adds Iot as a default service in the browser distribution of the AWS SDK for JavaScript. -* feature: RDS: Adds information in response of describeOptionGroupOptions about options that conflict with each other. - -## 2.5.4 -* feature: CloudFront: CloudFront is adding a Querystring Whitelist Option. Customers will be able to choose to forward certain querystring keys instead of a.) all of them or b.) none of them. -* feature: CodePipeline: CodePiepline has introduced a new feature to return pipeline execution details. Execution details consists of source revisions that are running in the pipeline. Customers will be able to tell what source revisions that are running through the stages in pipeline by fetching execution details of each stage. -* feature: Route53: With this release, Route 53 will support the following new features: support for the NAPTR DNS record type, a new testDNSAnswer API which enables customers to send a test query against a specific name server using spoofed delegation nameserver, resolver, and ECS IPs, and support metric-based health check in ap-south-1 region. - -## 2.5.3 -* feature: RDS: Adds resource ARNs to Describe APIs. - -## 2.5.2 -* bugfix: Waiter: Fixes bug in `clusterDeleted` waiter for AWS.Redshift. -* feature: EC2: Adds new APIs supporting dedicated host reservations. Also adds new property to response of `describeSpotFleetRequests` to indicate the activity status of spot fleet requests. -* feature: Request: eachItem method stops iteration on returning false (like eachPage) -* feature: WorkSpaces: Adds new APIs to support the launch and management of WorkSpaces that are paid for and used by the hour. - -## 2.5.1 -* feature: ACM: Increase tagging limit from 10 to 50. -* feature: APIGateway: Amazon API Gateway now supports API usage plans. Usage plans allows you to easily manage and monetize your APIs for your API-based business. -* feature: ECS: Adds support for memory reservation and network mode on task definitions. Also adds splunk as a supported log driver. - -## 2.5.0 -* feature: AutoScaling: Adds 3 new APIs for ELB L7 integration: attachLoadBalancerTargetGroups, detachLoadBalancerTargetGroups, and describeLoadBalancerTargetGroups. -* feature: ECS: Adds ECS support for ELBv2. Supports Application Load Balancer target groups to enable dynamic ports and path-based routing. -* feature: ELBv2: Adds new backwards incompatible application load balancer API version. Application load balancers are a new load balancer that is now supported by the Elastic Load Balancing service. Application load balancers support HTTP/2, WebSockets, routing based on URL path, and routing to multiple ports on a single instance. -* feature: KMS: Adds support for importing customer-supplied cryptographic keys. New import key feature lets you import keys from your own key management infrastructure to KMS for greater control over generation and storage of keys and meeting compliance requirements of sensitive workloads. -* feature: KinesisAnalytics: Adds the new service Amazon Kinesis Analytics, a fully managed service for continuously querying streaming data using standard SQL. With Kinesis Analytics, you can write standard SQL queries on streaming data and gain actionable insights in real-time, without having to learn any new programming skills. The service allows you to build applications that continuously read data from streaming data sources, process that data using standard SQL, and send the processed data to up to four destinations of your choice. Kinesis Analytics enables you to generate time-series analytics, feed a real-time dashboard, create real-time alarms and notifications, and much more. -* feature: S3: Adds support for IPv6/IPv4 Dualstack endpoint. A new opt-in boolean option `use Dualstack` can be specified for S3 service clients: `new AWS.S3({useDualstack: true})`. Alternatively, to configure it once for all subsequent S3 service clients: `AWS.config.update({s3: {useDualstack: true}})`. -* feature: Snowball: Adds Amazon Snowball, a new job management service. - -## 2.4.14 -* feature: CloudFront: Amazon CloudFront now supports tagging for Web and Streaming distributions. Tags make it easier for you to allocate costs and optimize spending by categorizing and grouping AWS resources. -* feature: ECR: Adds filtering of ListImages requests based on whether an image is tagged or untagged. -* feature: MarketplaceCommerceAnalytics: Adds the `startSupportDataExport` operation. - -## 2.4.13 -* feature: ApplicationAutoScaling: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: AutoScaling: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: CodeDeploy: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: GameLift: Provides a new Search API for GameLift, which allows game developers to retrieve filtered and sorted lists of their GameSessions. -* feature: RDS: You can now use the AWS Management Console to easily move your DB instance to a different VPC, or to a different subnet group in the same VPC. For more information, see Updating the VPC for a DB Instance. If your DB instance is not in a VPC, you can now use the AWS Management Console to easily move your DB instance into a VPC. You can now copy the source files from a MySQL database to an Amazon Simple Storage Service (Amazon S3) bucket, and then restore an Amazon Aurora DB cluster from those files. This option can be considerably faster than migrating data using mysqldump. - -## 2.4.12 -* bugfix: Request: Adds a content-length check for the stream returned from `createReadStream()`, and the stream will emit an error when the bytes received are fewer than specified by the response content-length header. -* bugfix: S3: Reverts behavior introduced in version `2.4.0` of the SDK to default the `signatureVersion` of S3 clients to `v4`. S3 clients instantiated without a user-defined `signatureVersion` will now default to `v2` unless the region only supports `v4` signing. This change is being made due to issues sending non-ascii characters in headers when using `v4` signing. -* feature: CloudWatchLogs: Updates the `putMetricFilter` operation. -* feature: EMR: Adds enhanced debugging. -* feature: Iot: Adds `listOutgoingCertificates` and support for allowing autoregistration. -* feature: MachineLearning: Adds compute time and entity timestamp to multiple operations. -* feature: RDS: Support for license model and versioning of option groups. -* feature: Route53Domains: Adds new APIs to renew domains for a specified duration, get domain suggestions, and view billing. - -## 2.4.11 -* feature: APIGateway: Adds support for authentication through Cognito User Pools. -* feature: CognitoIdentityServiceProvider: Introduces support for Your User Pools. -* feature: DirectoryService: Enables routing to on-premises public IP for Microsoft Active Directory. -* feature: EC2: Enables resolution of DNS queries from a peered VPC to a private IP address. -* feature: ES: Updates to Elasticsearch version 2.3, which offers improved performance, memory management, and security. It also offers several new features includinng pipeline aggregations to perform advanced analytics like moving averages and derivatives, and enhancements to geospatial queries. -* feature: Waiter: Adds Waiters for AWS.CodeDeploy. - -## 2.4.10 -* feature: util: Parse ini files containing comments using # -* feature: Iot: Adds support for thing types. Thing types are entities that store a description of common features of Things that are of the same logical type. Also adds support for `:` in Thing name. Adds a separator in Firehose action. - -## 2.4.9 -* feature: ACM: Adds reason for failure when describing certificates. -* feature: ConfigService: Adds support for RDS and ACM resources types and introduces two new APIs: DeleteEvaluationResults and StartConfigRulesEvaluation. Updated PutConfigRule API can now create Config rules that are triggered by both configuration changes and periodicity. -* feature: ElasticTranscoder: Adds WAV file format output support. -* feature: Paginator: Adds paginator for SSM DescribeInstanceInformation operation. - -## 2.4.8 -* feature: CloudFormation: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: CloudHSM: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: DeviceFarm: Adds session-based APIs. -* feature: EMR: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: ElastiCache: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: ElasticBeanstalk: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: Redshift: CORS support added. Now a default service in the browser build of the JavaScript SDK. -* feature: SSM: Adds notification support. \ No newline at end of file diff --git a/src/node_modules/aws-sdk/CONTRIBUTING.md b/src/node_modules/aws-sdk/CONTRIBUTING.md deleted file mode 100644 index 6e6acc2..0000000 --- a/src/node_modules/aws-sdk/CONTRIBUTING.md +++ /dev/null @@ -1,108 +0,0 @@ -# Contributing to the AWS SDK for JavaScript - -We work hard to provide a high-quality and useful SDK, and we greatly value -feedback and contributions from our community. Whether it's a bug report, -new feature, correction, or additional documentation, we welcome your issues -and pull requests. Please read through this document before submitting any -issues or pull requests to ensure we have all the necessary information to -effectively respond to your bug report or contribution. - - -## Filing Bug Reports - -You can file bug reports against the SDK on the [GitHub issues][issues] page. - -If you are filing a report for a bug or regression in the SDK, it's extremely -helpful to provide as much information as possible when opening the original -issue. This helps us reproduce and investigate the possible bug without having -to wait for this extra information to be provided. Please read the following -guidelines prior to filing a bug report. - -1. Search through existing [issues][] to ensure that your specific issue has - not yet been reported. If it is a common issue, it is likely there is - already a bug report for your problem. - -2. Ensure that you have tested the latest version of the SDK. Although you - may have an issue against an older version of the SDK, we cannot provide - bug fixes for old versions. It's also possible that the bug may have been - fixed in the latest release. - -3. Provide as much information about your environment, SDK version, and - relevant dependencies as possible. For example, let us know what version - of Node.js you are using, or if it's a browser issue, which browser you - are using. If the issue only occurs with a specific dependency loaded, - please provide that dependency name and version. - -4. Provide a minimal test case that reproduces your issue or any error - information you related to your problem. We can provide feedback much - more quickly if we know what operations you are calling in the SDK. If - you cannot provide a full test case, provide as much code as you can - to help us diagnose the problem. Any relevant information should be provided - as well, like whether this is a persistent issue, or if it only occurs - some of the time. - - -## Submitting Pull Requests - -We are always happy to receive code and documentation contributions to the SDK. -Please be aware of the following notes prior to opening a pull request: - -1. The SDK is released under the [Apache license][license]. Any code you submit - will be released under that license. For substantial contributions, we may - ask you to sign a [Contributor License Agreement (CLA)][cla]. - -2. If you would like to implement support for a significant feature that is not - yet available in the SDK, please talk to us beforehand to avoid any - duplication of effort. - -3. Wherever possible, pull requests should contain tests as appropriate. - Bugfixes should contain tests that exercise the corrected behavior (i.e., the - test should fail without the bugfix and pass with it), and new features - should be accompanied by tests exercising the feature. - -4. Pull requests that contain failing tests will not be merged until the test - failures are addressed. Pull requests that cause a significant drop in the - SDK's test coverage percentage are unlikely to be merged until tests have - been added. - -### Testing - -To run the tests locally, install `phantomjs`. You can do so using [Homebrew][homebrew]: - -``` -brew install phantomjs -``` - -Then, to run all tests: - -``` -npm test -``` - -To run a particular test subset e.g. just the unit tests: - -``` -npm run unit -``` - -See the implementation of the `test` script in `package.json` for more options. - -### Changelog - -We have moved to using a changelog to document changes between SDK versions instead of [release notes][releasenotes]. -The release notes generally contained service client updates, and major SDK changes. -Our goal with the changelog is to document all changes made with each version of the SDK. -When submitting a pull request, please run the `add-change` script and commit the resulting JSON file so that your change gets added to the changelog. -From SDK root: -``` -npm run add-change -``` - -See the [add-change cli notes](./scripts/changelog/README.md) for more information. - -[issues]: https://github.com/aws/aws-sdk-js/issues -[pr]: https://github.com/aws/aws-sdk-js/pulls -[license]: http://aws.amazon.com/apache2.0/ -[cla]: http://en.wikipedia.org/wiki/Contributor_License_Agreement -[homebrew]: http://brew.sh/ -[releasenotes]: https://aws.amazon.com/releasenotes/JavaScript diff --git a/src/node_modules/aws-sdk/LICENSE.txt b/src/node_modules/aws-sdk/LICENSE.txt deleted file mode 100644 index 9c5b1fe..0000000 --- a/src/node_modules/aws-sdk/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/src/node_modules/aws-sdk/NOTICE.txt b/src/node_modules/aws-sdk/NOTICE.txt deleted file mode 100644 index d8c7e15..0000000 --- a/src/node_modules/aws-sdk/NOTICE.txt +++ /dev/null @@ -1,5 +0,0 @@ -AWS SDK for JavaScript -Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. - -This product includes software developed at -Amazon Web Services, Inc. (http://aws.amazon.com/). diff --git a/src/node_modules/aws-sdk/README.md b/src/node_modules/aws-sdk/README.md deleted file mode 100644 index 68a6e0d..0000000 --- a/src/node_modules/aws-sdk/README.md +++ /dev/null @@ -1,163 +0,0 @@ -# AWS SDK for JavaScript - -[![NPM](https://nodei.co/npm/aws-sdk.svg?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/aws-sdk/) - -[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.svg)](https://gitter.im/aws/aws-sdk-js) - -[![Version](https://badge.fury.io/js/aws-sdk.svg)](http://badge.fury.io/js/aws-sdk) [![Build Status](https://travis-ci.org/aws/aws-sdk-js.svg?branch=master)](https://travis-ci.org/aws/aws-sdk-js) [![Coverage Status](https://coveralls.io/repos/aws/aws-sdk-js/badge.svg?branch=master)](https://coveralls.io/r/aws/aws-sdk-js?branch=master) - -The official AWS SDK for JavaScript, available for browsers and mobile devices, -or Node.js backends - -For release notes, see the [CHANGELOG](CHANGELOG.md). Prior to v2.4.8, release notes can be found at http://aws.amazon.com/releasenotes/SDK/JavaScript - -

-If you are upgrading from 1.x to 2.0 of the SDK, please see -the {file:UPGRADING.md} notes for information on how to migrate existing code -to work with the new major version. -

- -## Installing - -### In the Browser - -To use the SDK in the browser, simply add the following script tag to your -HTML pages: - - - -You can also build a custom browser SDK with your specified set of AWS services. -This can allow you to reduce the SDK's size, specify different API versions of -services, or use AWS services that don't currently support CORS if you are -working in an environment that does not enforce CORS. To get started: - -http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/building-sdk-for-browsers.html - -The AWS SDK is also compatible with [browserify](http://browserify.org). - -### In Node.js - -The preferred way to install the AWS SDK for Node.js is to use the -[npm](http://npmjs.org) package manager for Node.js. Simply type the following -into a terminal window: - -```sh -npm install aws-sdk -``` - -### In React Native -To use the SDK in a react native project, first install the SDK using npm: - -```sh -npm install aws-sdk -``` - -Then within your application, you can reference the react native compatible version of the SDK with the following: - -```javascript -var AWS = require('aws-sdk/dist/aws-sdk-react-native'); -``` - -### Using Bower - -You can also use [Bower](http://bower.io) to install the SDK by typing the -following into a terminal window: - -```sh -bower install aws-sdk-js -``` - -## Usage and Getting Started - -You can find a getting started guide at: - -http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide - -## Usage with TypeScript -The AWS SDK for JavaScript bundles TypeScript definition files for use in TypeScript projects and to support tools that can read `.d.ts` files. -Our goal is to keep these TypeScript definition files updated with each release for any public api. - -### Pre-requisites -Before you can begin using these TypeScript definitions with your project, you need to make sure your project meets a few of these requirements: - - * Use TypeScript v2.x - * Includes the TypeScript definitions for node. You can use npm to install this by typing the following into a terminal window: - - ```sh - npm install --save-dev @types/node - ``` - - * Your `tsconfig.json` or `jsconfig.json` includes `'dom'` and `'es2015.promise'` under `compilerOptions.lib`. - See [tsconfig.json](./ts/tsconfig.json) for an example. - -### In the Browser -To use the TypeScript definition files with the global `AWS` object in a front-end project, add the following line to the top of your JavaScript file: - -```javascript -/// -``` - -This will provide support for the global `AWS` object. - -### In Node.js -To use the TypeScript definition files within a Node.js project, simply import `aws-sdk` as you normally would. - -In a TypeScript file: - -```javascript -// import entire SDK -import AWS = require('aws-sdk'); -// import AWS object without services -import AWS = require('aws-sdk/global'); -// import individual service -import S3 = require('aws-sdk/clients/s3'); -``` - -In a JavaScript file: - -```javascript -// import entire SDK -var AWS = require('aws-sdk'); -// import AWS object without services -var AWS = require('aws-sdk/global'); -// import individual service -var S3 = require('aws-sdk/clients/s3'); -``` - -### Known Limitations -There are a few known limitations with the bundled TypeScript definitions at this time: - - * Service client typings reflect the latest `apiVersion`, regardless of which `apiVersion` is specified when creating a client. - * Service-bound parameters use the `any` type. - -## Getting Help -Please use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them. - - * Ask a question on [StackOverflow](https://stackoverflow.com/) and tag it with `aws-sdk-js` - * Come join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js?source=orgpage) - * Open a support ticket with [AWS Support](https://console.aws.amazon.com/support/home#/) - * If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js/issues/new) - -## Opening Issues -If you encounter a bug with the AWS SDK for JavaScript we would like to hear -about it. Search the [existing issues](https://github.com/aws/aws-sdk-js/issues) -and try to make sure your problem doesn’t already exist before opening a new -issue. It’s helpful if you include the version of the SDK, Node.js or browser -environment and OS you’re using. Please include a stack trace and reduced repro -case when appropriate, too. - -The GitHub issues are intended for bug reports and feature requests. For help -and questions with using the AWS SDK for JavaScript please make use of the -resources listed in the [Getting Help](https://github.com/aws/aws-sdk-js#getting-help) -section. There are limited resources available for handling issues and by -keeping the list of open issues lean we can respond in a timely manner. - -## Supported Services - -Please see [SERVICES.md](./SERVICES.md) for a list of supported services. - -## License - -This SDK is distributed under the -[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), -see LICENSE.txt and NOTICE.txt for more information. diff --git a/src/node_modules/aws-sdk/SERVICES.md b/src/node_modules/aws-sdk/SERVICES.md deleted file mode 100644 index 9708ebd..0000000 --- a/src/node_modules/aws-sdk/SERVICES.md +++ /dev/null @@ -1,112 +0,0 @@ -The SDK currently supports the following services: - -

Note: -Although all services are supported in the browser version of the SDK, -not all of the services are available in the default hosted build (using the -script tag provided above). Instructions on how to build a -custom version of the SDK with individual services are provided -in the "Building the SDK for Browsers" section of the SDK Developer Guide. -

- -Service Name | Class Name | API Version | Allows CORS | ------------- | ---------- | ----------- | ----------- | -AWS Certificate Manager | AWS.ACM | 2015-12-08 | :tada: | -Amazon API Gateway | AWS.APIGateway | 2015-07-09 | :tada: | -Application Auto Scaling | AWS.ApplicationAutoScaling | 2016-02-06 | :tada: | -Amazon AppStream | AWS.AppStream | 2016-12-01 | | -Auto Scaling | AWS.AutoScaling | 2011-01-01 | :tada: | -AWS Batch | AWS.Batch | 2016-08-10 | | -AWS Budgets | AWS.Budgets | 2016-10-20 | | -Amazon CloudDirectory | AWS.CloudDirectory | 2016-05-10 | | -AWS CloudFormation | AWS.CloudFormation | 2010-05-15 | :tada: | -Amazon CloudFront | AWS.CloudFront | 2016-11-25 | :tada: | -Amazon CloudHSM | AWS.CloudHSM | 2014-05-30 | :tada: | -Amazon CloudSearch | AWS.CloudSearch | 2013-01-01 | | -Amazon CloudSearch | AWS.CloudSearch | 2011-02-01 | | -Amazon CloudSearch Domain | AWS.CloudSearchDomain | 2013-01-01 | | -AWS CloudTrail | AWS.CloudTrail | 2013-11-01 | :tada: | -Amazon CloudWatch | AWS.CloudWatch | 2010-08-01 | :tada: | -Amazon CloudWatch Events | AWS.CloudWatchEvents | 2015-10-07 | :tada: | -Amazon CloudWatch Logs | AWS.CloudWatchLogs | 2014-03-28 | :tada: | -AWS CodeBuild | AWS.CodeBuild | 2016-10-06 | | -AWS CodeCommit | AWS.CodeCommit | 2015-04-13 | :tada: | -AWS CodeDeploy | AWS.CodeDeploy | 2014-10-06 | :tada: | -AWS CodePipeline | AWS.CodePipeline | 2015-07-09 | :tada: | -Amazon Cognito Identity | AWS.CognitoIdentity | 2014-06-30 | :tada: | -Amazon Cognito Identity Provider | AWS.CognitoIdentityServiceProvider | 2016-04-18 | :tada: | -Amazon Cognito Sync | AWS.CognitoSync | 2014-06-30 | :tada: | -AWS Config | AWS.ConfigService | 2014-11-12 | :tada: | -AWS Cost and Usage Report Service | AWS.CUR | 2017-01-06 | :tada: | -AWS Data Pipeline | AWS.DataPipeline | 2012-10-29 | | -AWS Device Farm | AWS.DeviceFarm | 2015-06-23 | :tada: | -AWS Direct Connect | AWS.DirectConnect | 2012-10-25 | :tada: | -AWS Directory Service | AWS.DirectoryService | 2015-04-16 | | -AWS Application Discovery Service | AWS.Discovery | 2015-11-01 | | -AWS Database Migration Service | AWS.DMS | 2016-01-01 | | -Amazon DynamoDB | AWS.DynamoDB | 2012-08-10 | :tada: | -Amazon DynamoDB | AWS.DynamoDB | 2011-12-05 | :tada: | -Amazon DynamoDB Streams | AWS.DynamoDBStreams | 2012-08-10 | :tada: | -Amazon Elastic Compute Cloud | AWS.EC2 | 2016-11-15 | :tada: | -Amazon EC2 Container Registry | AWS.ECR | 2015-09-21 | :tada: | -Amazon EC2 Container Service | AWS.ECS | 2014-11-13 | :tada: | -Amazon Elastic File System | AWS.EFS | 2015-02-01 | | -Amazon ElastiCache | AWS.ElastiCache | 2015-02-02 | :tada: | -AWS Elastic Beanstalk | AWS.ElasticBeanstalk | 2010-12-01 | :tada: | -Elastic Load Balancing | AWS.ELB | 2012-06-01 | :tada: | -Elastic Load Balancing | AWS.ELBv2 | 2015-12-01 | :tada: | -Amazon Elastic MapReduce | AWS.EMR | 2009-03-31 | :tada: | -Amazon Elasticsearch Service | AWS.ES | 2015-01-01 | | -Amazon Elastic Transcoder | AWS.ElasticTranscoder | 2012-09-25 | :tada: | -Amazon Kinesis Firehose | AWS.Firehose | 2015-08-04 | :tada: | -Amazon GameLift | AWS.GameLift | 2015-10-01 | :tada: | -Amazon Glacier | AWS.Glacier | 2012-06-01 | | -AWS Health APIs and Notifications | AWS.Health | 2016-08-04 | | -AWS Identity and Access Management | AWS.IAM | 2010-05-08 | | -AWS Import/Export | AWS.ImportExport | 2010-06-01 | | -Amazon Inspector | AWS.Inspector | 2016-02-16 | :tada: | -AWS IoT | AWS.Iot | 2015-05-28 | :tada: | -AWS IoT Data Plane | AWS.IotData | 2015-05-28 | :tada: | -Amazon Kinesis | AWS.Kinesis | 2013-12-02 | :tada: | -Amazon Kinesis Analytics | AWS.KinesisAnalytics | 2015-08-14 | | -AWS Key Management Service | AWS.KMS | 2014-11-01 | :tada: | -AWS Lambda | AWS.Lambda | 2015-03-31 | :tada: | -AWS Lambda | AWS.Lambda | 2014-11-11 | :tada: | -Amazon Lex Runtime Service | AWS.LexRuntime | 2016-11-28 | :tada: | -Amazon Lightsail | AWS.Lightsail | 2016-11-28 | | -Amazon Machine Learning | AWS.MachineLearning | 2014-12-12 | :tada: | -AWS Marketplace Commerce Analytics | AWS.MarketplaceCommerceAnalytics | 2015-07-01 | :tada: | -AWSMarketplace Metering | AWS.MarketplaceMetering | 2016-01-14 | | -Amazon Mechanical Turk | AWS.MTurk | 2017-01-17 | :tada: | -Amazon Mobile Analytics | AWS.MobileAnalytics | 2014-06-05 | :tada: | -AWS OpsWorks | AWS.OpsWorks | 2013-02-18 | :tada: | -AWS OpsWorks for Chef Automate | AWS.OpsWorksCM | 2016-11-01 | | -AWS Organizations | AWS.Organizations | 2016-11-28 | | -Amazon Pinpoint | AWS.Pinpoint | 2016-12-01 | | -Amazon Polly | AWS.Polly | 2016-06-10 | :tada: | -Amazon Relational Database Service | AWS.RDS | 2014-10-31 | :tada: | -Amazon Relational Database Service | AWS.RDS | 2013-09-09 | :tada: | -Amazon Relational Database Service | AWS.RDS | 2013-02-12 | :tada: | -Amazon Relational Database Service | AWS.RDS | 2013-01-10 | :tada: | -Amazon Redshift | AWS.Redshift | 2012-12-01 | :tada: | -Amazon Rekognition | AWS.Rekognition | 2016-06-27 | :tada: | -Amazon Route 53 | AWS.Route53 | 2013-04-01 | :tada: | -Amazon Route 53 Domains | AWS.Route53Domains | 2014-05-15 | :tada: | -Amazon Simple Storage Service | AWS.S3 | 2006-03-01 | :tada: | -AWS Service Catalog | AWS.ServiceCatalog | 2015-12-10 | :tada: | -Amazon Simple Email Service | AWS.SES | 2010-12-01 | :tada: | -AWS Shield | AWS.Shield | 2016-06-02 | | -Amazon SimpleDB | AWS.SimpleDB | 2009-04-15 | | -AWS Server Migration Service | AWS.SMS | 2016-10-24 | | -Amazon Import/Export Snowball | AWS.Snowball | 2016-06-30 | | -Amazon Simple Notification Service | AWS.SNS | 2010-03-31 | :tada: | -Amazon Simple Queue Service | AWS.SQS | 2012-11-05 | :tada: | -Amazon Simple Systems Manager (SSM) | AWS.SSM | 2014-11-06 | :tada: | -AWS Storage Gateway | AWS.StorageGateway | 2013-06-30 | :tada: | -AWS Step Functions | AWS.StepFunctions | 2016-11-23 | | -AWS Security Token Service | AWS.STS | 2011-06-15 | :tada: | -AWS Support | AWS.Support | 2013-04-15 | | -Amazon Simple Workflow Service | AWS.SWF | 2012-01-25 | | -AWS X-Ray | AWS.XRay | 2016-04-12 | | -AWS WAF | AWS.WAF | 2015-08-24 | :tada: | -AWS WAF Regional | AWS.WAFRegional | 2016-11-28 | | -Amazon WorkSpaces | AWS.WorkSpaces | 2015-04-08 | | diff --git a/src/node_modules/aws-sdk/UPGRADING.md b/src/node_modules/aws-sdk/UPGRADING.md deleted file mode 100644 index f67fd91..0000000 --- a/src/node_modules/aws-sdk/UPGRADING.md +++ /dev/null @@ -1,157 +0,0 @@ -# @!title Upgrading Notes (1.x to 2.0) - -# Upgrading Notes (1.x to 2.0) - -This document captures breaking changes from 1.x versions to the first -stable 2.x (non-RC) release of the AWS SDK for JavaScript. - -## 1. Automatic Conversion of Base64 and Timestamp Types on Input/Output - -The SDK will now automatically encode and decode base64-encoded values, as well -as timestamp values, on the user's behalf. This change affects any operation -where Base64 or Timestamp values were sent by a request or returned in a -response, i.e., `AWS.DynamoDB` and `AWS.SQS`, which allow for Base64 -encoded values. - -User code that previously did base64 conversion no longer requires this. -Furthermore, values encoded as base64 are now returned as Buffer objects -from server responses (and can also be passed as Buffer input). For -example, the following 1.x `SQS.sendMessage()` parameters: - -```javascript -var params = { - MessageBody: 'Some Message', - MessageAttributes: { - attrName: { - DataType: 'Binary', - BinaryValue: new Buffer('example text').toString('base64') - } - } -}; -``` - -Can be rewritten as: - -```javascript -var params = { - MessageBody: 'Some Message', - MessageAttributes: { - attrName: { - DataType: 'Binary', - BinaryValue: 'example text' - } - } -}; -``` - -And the message will be read as: - -```javascript -sqs.receiveMessage(params, function(err, data) { - // buf is - var buf = data.Messages[0].MessageAttributes.attrName.BinaryValue; - console.log(buf.toString()); // "example text" -}); -``` - -## 2. Moved response.data.RequestId to response.requestId - -The SDK now stores request IDs for all services in a consistent place on the -response object, rather than inside the response.data property. This is to -improve consistency across services that expose request IDs in different ways. -Note that this is also a breaking change that renames the -`response.data.RequestId` property to `response.requestId` -(or `this.requestId` inside of a callback). - -To migrate your code, change: - -```javascript -svc.operation(params, function (err, data) { - console.log('Request ID:', data.RequestId); -}); -``` - -To the following: - -```javascript -svc.operation(params, function () { - console.log('Request ID:', this.requestId); -}); -``` - -## 3. Exposed Wrapper Elements - -If you use {AWS.ElastiCache}, {AWS.RDS}, or {AWS.Redshift}, you must now access -the response through the top-level output property in the response for certain -operations. This change corrects the SDK to behave according to documentation -output, which was previously listing this wrapper element. - -Example: - -`RDS.describeEngineDefaultParameters()` used to return: - -```javascript -{ Parameters: [ ... ] } -``` - -This operation now returns: - -```javascript -{ EngineDefaults: { Parameters: [ ... ] } } -``` - -The full list of affected operations for each service are: - -**AWS.ElastiCache**: authorizeCacheSecurityGroupIngress, createCacheCluster, -createCacheParameterGroup, createCacheSecurityGroup, createCacheSubnetGroup, -createReplicationGroup, deleteCacheCluster, deleteReplicationGroup, -describeEngineDefaultParameters, modifyCacheCluster, modifyCacheSubnetGroup, -modifyReplicationGroup, purchaseReservedCacheNodesOffering, rebootCacheCluster, -revokeCacheSecurityGroupIngress - -**AWS.RDS**: addSourceIdentifierToSubscription, authorizeDBSecurityGroupIngress, -copyDBSnapshot, createDBInstance, createDBInstanceReadReplica, -createDBParameterGroup, createDBSecurityGroup, createDBSnapshot, -createDBSubnetGroup, createEventSubscription, createOptionGroup, -deleteDBInstance, deleteDBSnapshot, deleteEventSubscription, -describeEngineDefaultParameters, modifyDBInstance, modifyDBSubnetGroup, -modifyEventSubscription, modifyOptionGroup, promoteReadReplica, -purchaseReservedDBInstancesOffering, rebootDBInstance, -removeSourceIdentifierFromSubscription, restoreDBInstanceFromDBSnapshot, -restoreDBInstanceToPointInTime, revokeDBSecurityGroupIngress - -**AWS.Redshift**: authorizeClusterSecurityGroupIngress, authorizeSnapshotAccess, -copyClusterSnapshot, createCluster, createClusterParameterGroup, -createClusterSecurityGroup, createClusterSnapshot, createClusterSubnetGroup, -createEventSubscription, createHsmClientCertificate, createHsmConfiguration, -deleteCluster, deleteClusterSnapshot, describeDefaultClusterParameters, -disableSnapshotCopy, enableSnapshotCopy, modifyCluster, -modifyClusterSubnetGroup, modifyEventSubscription, -modifySnapshotCopyRetentionPeriod, purchaseReservedNodeOffering, rebootCluster, -restoreFromClusterSnapshot, revokeClusterSecurityGroupIngress, -revokeSnapshotAccess, rotateEncryptionKey - -## 4. Dropped `.Client` and `.client` Properties - -The `.Client` and `.client` properties have been removed from Service objects. -If you are using the `.Client` property on a Service class or a `.client` -property on an instance of the service, remove these properties from your code. - -Upgrading example: - -The following 1.x code: - -``` -var sts = new AWS.STS.Client(); -// or -var sts = new AWS.STS(); - -sts.client.operation(...); -``` - -Should be changed to the following: - -``` -var sts = new AWS.STS(); -sts.operation(...) -``` diff --git a/src/node_modules/aws-sdk/apis/acm-2015-12-08.examples.json b/src/node_modules/aws-sdk/apis/acm-2015-12-08.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/acm-2015-12-08.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/acm-2015-12-08.min.json b/src/node_modules/aws-sdk/apis/acm-2015-12-08.min.json deleted file mode 100644 index 5eb40a6..0000000 --- a/src/node_modules/aws-sdk/apis/acm-2015-12-08.min.json +++ /dev/null @@ -1,313 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-12-08", - "endpointPrefix": "acm", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "ACM", - "serviceFullName": "AWS Certificate Manager", - "signatureVersion": "v4", - "targetPrefix": "CertificateManager", - "uid": "acm-2015-12-08" - }, - "operations": { - "AddTagsToCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateArn", - "Tags" - ], - "members": { - "CertificateArn": {}, - "Tags": { - "shape": "S3" - } - } - } - }, - "DeleteCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateArn" - ], - "members": { - "CertificateArn": {} - } - } - }, - "DescribeCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateArn" - ], - "members": { - "CertificateArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Certificate": { - "type": "structure", - "members": { - "CertificateArn": {}, - "DomainName": {}, - "SubjectAlternativeNames": { - "shape": "Sc" - }, - "DomainValidationOptions": { - "shape": "Sd" - }, - "Serial": {}, - "Subject": {}, - "Issuer": {}, - "CreatedAt": { - "type": "timestamp" - }, - "IssuedAt": { - "type": "timestamp" - }, - "ImportedAt": { - "type": "timestamp" - }, - "Status": {}, - "RevokedAt": { - "type": "timestamp" - }, - "RevocationReason": {}, - "NotBefore": { - "type": "timestamp" - }, - "NotAfter": { - "type": "timestamp" - }, - "KeyAlgorithm": {}, - "SignatureAlgorithm": {}, - "InUseBy": { - "type": "list", - "member": {} - }, - "FailureReason": {}, - "Type": {}, - "RenewalSummary": { - "type": "structure", - "required": [ - "RenewalStatus", - "DomainValidationOptions" - ], - "members": { - "RenewalStatus": {}, - "DomainValidationOptions": { - "shape": "Sd" - } - } - } - } - } - } - } - }, - "GetCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateArn" - ], - "members": { - "CertificateArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Certificate": {}, - "CertificateChain": {} - } - } - }, - "ImportCertificate": { - "input": { - "type": "structure", - "required": [ - "Certificate", - "PrivateKey" - ], - "members": { - "CertificateArn": {}, - "Certificate": { - "type": "blob" - }, - "PrivateKey": { - "type": "blob", - "sensitive": true - }, - "CertificateChain": { - "type": "blob" - } - } - }, - "output": { - "type": "structure", - "members": { - "CertificateArn": {} - } - } - }, - "ListCertificates": { - "input": { - "type": "structure", - "members": { - "CertificateStatuses": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "CertificateSummaryList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CertificateArn": {}, - "DomainName": {} - } - } - } - } - } - }, - "ListTagsForCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateArn" - ], - "members": { - "CertificateArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "S3" - } - } - } - }, - "RemoveTagsFromCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateArn", - "Tags" - ], - "members": { - "CertificateArn": {}, - "Tags": { - "shape": "S3" - } - } - } - }, - "RequestCertificate": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "SubjectAlternativeNames": { - "shape": "Sc" - }, - "IdempotencyToken": {}, - "DomainValidationOptions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "DomainName", - "ValidationDomain" - ], - "members": { - "DomainName": {}, - "ValidationDomain": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "CertificateArn": {} - } - } - }, - "ResendValidationEmail": { - "input": { - "type": "structure", - "required": [ - "CertificateArn", - "Domain", - "ValidationDomain" - ], - "members": { - "CertificateArn": {}, - "Domain": {}, - "ValidationDomain": {} - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sc": { - "type": "list", - "member": {} - }, - "Sd": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "ValidationEmails": { - "type": "list", - "member": {} - }, - "ValidationDomain": {}, - "ValidationStatus": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json b/src/node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json deleted file mode 100644 index 611eb86..0000000 --- a/src/node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "pagination": { - "ListCertificates": { - "input_token": "NextToken", - "limit_key": "MaxItems", - "output_token": "NextToken", - "result_key": "CertificateSummaryList" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/apigateway-2015-07-09.examples.json b/src/node_modules/aws-sdk/apis/apigateway-2015-07-09.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/apigateway-2015-07-09.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json b/src/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json deleted file mode 100644 index 181f791..0000000 --- a/src/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json +++ /dev/null @@ -1,3807 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-07-09", - "endpointPrefix": "apigateway", - "protocol": "rest-json", - "serviceFullName": "Amazon API Gateway", - "signatureVersion": "v4", - "uid": "apigateway-2015-07-09" - }, - "operations": { - "CreateApiKey": { - "http": { - "requestUri": "/apikeys", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "enabled": { - "type": "boolean" - }, - "generateDistinctId": { - "type": "boolean" - }, - "value": {}, - "stageKeys": { - "type": "list", - "member": { - "type": "structure", - "members": { - "restApiId": {}, - "stageName": {} - } - } - }, - "customerId": {} - } - }, - "output": { - "shape": "S6" - } - }, - "CreateAuthorizer": { - "http": { - "requestUri": "/restapis/{restapi_id}/authorizers", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "name", - "type", - "identitySource" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "name": {}, - "type": {}, - "providerARNs": { - "shape": "Sb" - }, - "authType": {}, - "authorizerUri": {}, - "authorizerCredentials": {}, - "identitySource": {}, - "identityValidationExpression": {}, - "authorizerResultTtlInSeconds": { - "type": "integer" - } - } - }, - "output": { - "shape": "Se" - } - }, - "CreateBasePathMapping": { - "http": { - "requestUri": "/domainnames/{domain_name}/basepathmappings", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "domainName", - "restApiId" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - }, - "basePath": {}, - "restApiId": {}, - "stage": {} - } - }, - "output": { - "shape": "Sg" - } - }, - "CreateDeployment": { - "http": { - "requestUri": "/restapis/{restapi_id}/deployments", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": {}, - "stageDescription": {}, - "description": {}, - "cacheClusterEnabled": { - "type": "boolean" - }, - "cacheClusterSize": {}, - "variables": { - "shape": "Sk" - } - } - }, - "output": { - "shape": "Sl" - } - }, - "CreateDocumentationPart": { - "http": { - "requestUri": "/restapis/{restapi_id}/documentation/parts", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "location", - "properties" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "location": { - "shape": "Sq" - }, - "properties": {} - } - }, - "output": { - "shape": "St" - } - }, - "CreateDocumentationVersion": { - "http": { - "requestUri": "/restapis/{restapi_id}/documentation/versions", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "documentationVersion" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "documentationVersion": {}, - "stageName": {}, - "description": {} - } - }, - "output": { - "shape": "Sv" - } - }, - "CreateDomainName": { - "http": { - "requestUri": "/domainnames", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": {}, - "certificateName": {}, - "certificateBody": {}, - "certificatePrivateKey": {}, - "certificateChain": {}, - "certificateArn": {} - } - }, - "output": { - "shape": "Sx" - } - }, - "CreateModel": { - "http": { - "requestUri": "/restapis/{restapi_id}/models", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "name", - "contentType" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "name": {}, - "description": {}, - "schema": {}, - "contentType": {} - } - }, - "output": { - "shape": "Sz" - } - }, - "CreateRequestValidator": { - "http": { - "requestUri": "/restapis/{restapi_id}/requestvalidators", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "name": {}, - "validateRequestBody": { - "type": "boolean" - }, - "validateRequestParameters": { - "type": "boolean" - } - } - }, - "output": { - "shape": "S11" - } - }, - "CreateResource": { - "http": { - "requestUri": "/restapis/{restapi_id}/resources/{parent_id}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "parentId", - "pathPart" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "parentId": { - "location": "uri", - "locationName": "parent_id" - }, - "pathPart": {} - } - }, - "output": { - "shape": "S13" - } - }, - "CreateRestApi": { - "http": { - "requestUri": "/restapis", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "description": {}, - "version": {}, - "cloneFrom": {}, - "binaryMediaTypes": { - "shape": "S8" - } - } - }, - "output": { - "shape": "S1g" - } - }, - "CreateStage": { - "http": { - "requestUri": "/restapis/{restapi_id}/stages", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "stageName", - "deploymentId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": {}, - "deploymentId": {}, - "description": {}, - "cacheClusterEnabled": { - "type": "boolean" - }, - "cacheClusterSize": {}, - "variables": { - "shape": "Sk" - }, - "documentationVersion": {} - } - }, - "output": { - "shape": "S1i" - } - }, - "CreateUsagePlan": { - "http": { - "requestUri": "/usageplans", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "description": {}, - "apiStages": { - "shape": "S1q" - }, - "throttle": { - "shape": "S1s" - }, - "quota": { - "shape": "S1t" - } - } - }, - "output": { - "shape": "S1v" - } - }, - "CreateUsagePlanKey": { - "http": { - "requestUri": "/usageplans/{usageplanId}/keys", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId", - "keyId", - "keyType" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - }, - "keyId": {}, - "keyType": {} - } - }, - "output": { - "shape": "S1x" - } - }, - "DeleteApiKey": { - "http": { - "method": "DELETE", - "requestUri": "/apikeys/{api_Key}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "apiKey" - ], - "members": { - "apiKey": { - "location": "uri", - "locationName": "api_Key" - } - } - } - }, - "DeleteAuthorizer": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/authorizers/{authorizer_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "authorizerId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "authorizerId": { - "location": "uri", - "locationName": "authorizer_id" - } - } - } - }, - "DeleteBasePathMapping": { - "http": { - "method": "DELETE", - "requestUri": "/domainnames/{domain_name}/basepathmappings/{base_path}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "domainName", - "basePath" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - }, - "basePath": { - "location": "uri", - "locationName": "base_path" - } - } - } - }, - "DeleteClientCertificate": { - "http": { - "method": "DELETE", - "requestUri": "/clientcertificates/{clientcertificate_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "clientCertificateId" - ], - "members": { - "clientCertificateId": { - "location": "uri", - "locationName": "clientcertificate_id" - } - } - } - }, - "DeleteDeployment": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/deployments/{deployment_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "deploymentId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "deploymentId": { - "location": "uri", - "locationName": "deployment_id" - } - } - } - }, - "DeleteDocumentationPart": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/documentation/parts/{part_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "documentationPartId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "documentationPartId": { - "location": "uri", - "locationName": "part_id" - } - } - } - }, - "DeleteDocumentationVersion": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/documentation/versions/{doc_version}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "documentationVersion" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "documentationVersion": { - "location": "uri", - "locationName": "doc_version" - } - } - } - }, - "DeleteDomainName": { - "http": { - "method": "DELETE", - "requestUri": "/domainnames/{domain_name}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - } - } - } - }, - "DeleteIntegration": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - } - } - } - }, - "DeleteIntegrationResponse": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "statusCode" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "statusCode": { - "location": "uri", - "locationName": "status_code" - } - } - } - }, - "DeleteMethod": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - } - } - } - }, - "DeleteMethodResponse": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "statusCode" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "statusCode": { - "location": "uri", - "locationName": "status_code" - } - } - } - }, - "DeleteModel": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/models/{model_name}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "modelName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "modelName": { - "location": "uri", - "locationName": "model_name" - } - } - } - }, - "DeleteRequestValidator": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "requestValidatorId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "requestValidatorId": { - "location": "uri", - "locationName": "requestvalidator_id" - } - } - } - }, - "DeleteResource": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - } - } - } - }, - "DeleteRestApi": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - } - } - } - }, - "DeleteStage": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/stages/{stage_name}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "stageName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": { - "location": "uri", - "locationName": "stage_name" - } - } - } - }, - "DeleteUsagePlan": { - "http": { - "method": "DELETE", - "requestUri": "/usageplans/{usageplanId}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - } - } - } - }, - "DeleteUsagePlanKey": { - "http": { - "method": "DELETE", - "requestUri": "/usageplans/{usageplanId}/keys/{keyId}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId", - "keyId" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - }, - "keyId": { - "location": "uri", - "locationName": "keyId" - } - } - } - }, - "FlushStageAuthorizersCache": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "stageName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": { - "location": "uri", - "locationName": "stage_name" - } - } - } - }, - "FlushStageCache": { - "http": { - "method": "DELETE", - "requestUri": "/restapis/{restapi_id}/stages/{stage_name}/cache/data", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "stageName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": { - "location": "uri", - "locationName": "stage_name" - } - } - } - }, - "GenerateClientCertificate": { - "http": { - "requestUri": "/clientcertificates", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "description": {} - } - }, - "output": { - "shape": "S2k" - } - }, - "GetAccount": { - "http": { - "method": "GET", - "requestUri": "/account" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "shape": "S2m" - } - }, - "GetApiKey": { - "http": { - "method": "GET", - "requestUri": "/apikeys/{api_Key}" - }, - "input": { - "type": "structure", - "required": [ - "apiKey" - ], - "members": { - "apiKey": { - "location": "uri", - "locationName": "api_Key" - }, - "includeValue": { - "location": "querystring", - "locationName": "includeValue", - "type": "boolean" - } - } - }, - "output": { - "shape": "S6" - } - }, - "GetApiKeys": { - "http": { - "method": "GET", - "requestUri": "/apikeys" - }, - "input": { - "type": "structure", - "members": { - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "nameQuery": { - "location": "querystring", - "locationName": "name" - }, - "customerId": { - "location": "querystring", - "locationName": "customerId" - }, - "includeValues": { - "location": "querystring", - "locationName": "includeValues", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "warnings": { - "shape": "S8" - }, - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "S6" - } - } - } - } - }, - "GetAuthorizer": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/authorizers/{authorizer_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "authorizerId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "authorizerId": { - "location": "uri", - "locationName": "authorizer_id" - } - } - }, - "output": { - "shape": "Se" - } - }, - "GetAuthorizers": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/authorizers" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "Se" - } - } - } - } - }, - "GetBasePathMapping": { - "http": { - "method": "GET", - "requestUri": "/domainnames/{domain_name}/basepathmappings/{base_path}" - }, - "input": { - "type": "structure", - "required": [ - "domainName", - "basePath" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - }, - "basePath": { - "location": "uri", - "locationName": "base_path" - } - } - }, - "output": { - "shape": "Sg" - } - }, - "GetBasePathMappings": { - "http": { - "method": "GET", - "requestUri": "/domainnames/{domain_name}/basepathmappings" - }, - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "Sg" - } - } - } - } - }, - "GetClientCertificate": { - "http": { - "method": "GET", - "requestUri": "/clientcertificates/{clientcertificate_id}" - }, - "input": { - "type": "structure", - "required": [ - "clientCertificateId" - ], - "members": { - "clientCertificateId": { - "location": "uri", - "locationName": "clientcertificate_id" - } - } - }, - "output": { - "shape": "S2k" - } - }, - "GetClientCertificates": { - "http": { - "method": "GET", - "requestUri": "/clientcertificates" - }, - "input": { - "type": "structure", - "members": { - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "S2k" - } - } - } - } - }, - "GetDeployment": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/deployments/{deployment_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "deploymentId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "deploymentId": { - "location": "uri", - "locationName": "deployment_id" - }, - "embed": { - "shape": "S8", - "location": "querystring", - "locationName": "embed" - } - } - }, - "output": { - "shape": "Sl" - } - }, - "GetDeployments": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/deployments" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "Sl" - } - } - } - } - }, - "GetDocumentationPart": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/documentation/parts/{part_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "documentationPartId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "documentationPartId": { - "location": "uri", - "locationName": "part_id" - } - } - }, - "output": { - "shape": "St" - } - }, - "GetDocumentationParts": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/documentation/parts" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "type": { - "location": "querystring", - "locationName": "type" - }, - "nameQuery": { - "location": "querystring", - "locationName": "name" - }, - "path": { - "location": "querystring", - "locationName": "path" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "St" - } - } - } - } - }, - "GetDocumentationVersion": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/documentation/versions/{doc_version}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "documentationVersion" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "documentationVersion": { - "location": "uri", - "locationName": "doc_version" - } - } - }, - "output": { - "shape": "Sv" - } - }, - "GetDocumentationVersions": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/documentation/versions" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "Sv" - } - } - } - } - }, - "GetDomainName": { - "http": { - "method": "GET", - "requestUri": "/domainnames/{domain_name}" - }, - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - } - } - }, - "output": { - "shape": "Sx" - } - }, - "GetDomainNames": { - "http": { - "method": "GET", - "requestUri": "/domainnames" - }, - "input": { - "type": "structure", - "members": { - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "Sx" - } - } - } - } - }, - "GetExport": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "stageName", - "exportType" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": { - "location": "uri", - "locationName": "stage_name" - }, - "exportType": { - "location": "uri", - "locationName": "export_type" - }, - "parameters": { - "shape": "Sk", - "location": "querystring" - }, - "accepts": { - "location": "header", - "locationName": "Accept" - } - } - }, - "output": { - "type": "structure", - "members": { - "contentType": { - "location": "header", - "locationName": "Content-Type" - }, - "contentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "body": { - "type": "blob" - } - }, - "payload": "body" - } - }, - "GetIntegration": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - } - } - }, - "output": { - "shape": "S1a" - } - }, - "GetIntegrationResponse": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "statusCode" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "statusCode": { - "location": "uri", - "locationName": "status_code" - } - } - }, - "output": { - "shape": "S1e" - } - }, - "GetMethod": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - } - } - }, - "output": { - "shape": "S15" - } - }, - "GetMethodResponse": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "statusCode" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "statusCode": { - "location": "uri", - "locationName": "status_code" - } - } - }, - "output": { - "shape": "S18" - } - }, - "GetModel": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/models/{model_name}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "modelName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "modelName": { - "location": "uri", - "locationName": "model_name" - }, - "flatten": { - "location": "querystring", - "locationName": "flatten", - "type": "boolean" - } - } - }, - "output": { - "shape": "Sz" - } - }, - "GetModelTemplate": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/models/{model_name}/default_template" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "modelName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "modelName": { - "location": "uri", - "locationName": "model_name" - } - } - }, - "output": { - "type": "structure", - "members": { - "value": {} - } - } - }, - "GetModels": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/models" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "Sz" - } - } - } - } - }, - "GetRequestValidator": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "requestValidatorId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "requestValidatorId": { - "location": "uri", - "locationName": "requestvalidator_id" - } - } - }, - "output": { - "shape": "S11" - } - }, - "GetRequestValidators": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/requestvalidators" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "S11" - } - } - } - } - }, - "GetResource": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "embed": { - "shape": "S8", - "location": "querystring", - "locationName": "embed" - } - } - }, - "output": { - "shape": "S13" - } - }, - "GetResources": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/resources" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "embed": { - "shape": "S8", - "location": "querystring", - "locationName": "embed" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "S13" - } - } - } - } - }, - "GetRestApi": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - } - } - }, - "output": { - "shape": "S1g" - } - }, - "GetRestApis": { - "http": { - "method": "GET", - "requestUri": "/restapis" - }, - "input": { - "type": "structure", - "members": { - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "S1g" - } - } - } - } - }, - "GetSdk": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "stageName", - "sdkType" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": { - "location": "uri", - "locationName": "stage_name" - }, - "sdkType": { - "location": "uri", - "locationName": "sdk_type" - }, - "parameters": { - "shape": "Sk", - "location": "querystring" - } - } - }, - "output": { - "type": "structure", - "members": { - "contentType": { - "location": "header", - "locationName": "Content-Type" - }, - "contentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "body": { - "type": "blob" - } - }, - "payload": "body" - } - }, - "GetSdkType": { - "http": { - "method": "GET", - "requestUri": "/sdktypes/{sdktype_id}" - }, - "input": { - "type": "structure", - "required": [ - "id" - ], - "members": { - "id": { - "location": "uri", - "locationName": "sdktype_id" - } - } - }, - "output": { - "shape": "S4b" - } - }, - "GetSdkTypes": { - "http": { - "method": "GET", - "requestUri": "/sdktypes" - }, - "input": { - "type": "structure", - "members": { - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "S4b" - } - } - } - } - }, - "GetStage": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/stages/{stage_name}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "stageName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": { - "location": "uri", - "locationName": "stage_name" - } - } - }, - "output": { - "shape": "S1i" - } - }, - "GetStages": { - "http": { - "method": "GET", - "requestUri": "/restapis/{restapi_id}/stages" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "deploymentId": { - "location": "querystring", - "locationName": "deploymentId" - } - } - }, - "output": { - "type": "structure", - "members": { - "item": { - "type": "list", - "member": { - "shape": "S1i" - } - } - } - } - }, - "GetUsage": { - "http": { - "method": "GET", - "requestUri": "/usageplans/{usageplanId}/usage" - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId", - "startDate", - "endDate" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - }, - "keyId": { - "location": "querystring", - "locationName": "keyId" - }, - "startDate": { - "location": "querystring", - "locationName": "startDate" - }, - "endDate": { - "location": "querystring", - "locationName": "endDate" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "shape": "S4m" - } - }, - "GetUsagePlan": { - "http": { - "method": "GET", - "requestUri": "/usageplans/{usageplanId}" - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - } - } - }, - "output": { - "shape": "S1v" - } - }, - "GetUsagePlanKey": { - "http": { - "method": "GET", - "requestUri": "/usageplans/{usageplanId}/keys/{keyId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId", - "keyId" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - }, - "keyId": { - "location": "uri", - "locationName": "keyId" - } - } - }, - "output": { - "shape": "S1x" - } - }, - "GetUsagePlanKeys": { - "http": { - "method": "GET", - "requestUri": "/usageplans/{usageplanId}/keys" - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - }, - "position": { - "location": "querystring", - "locationName": "position" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "nameQuery": { - "location": "querystring", - "locationName": "name" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "S1x" - } - } - } - } - }, - "GetUsagePlans": { - "http": { - "method": "GET", - "requestUri": "/usageplans" - }, - "input": { - "type": "structure", - "members": { - "position": { - "location": "querystring", - "locationName": "position" - }, - "keyId": { - "location": "querystring", - "locationName": "keyId" - }, - "limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "position": {}, - "items": { - "locationName": "item", - "type": "list", - "member": { - "shape": "S1v" - } - } - } - } - }, - "ImportApiKeys": { - "http": { - "requestUri": "/apikeys?mode=import", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "body", - "format" - ], - "members": { - "body": { - "type": "blob" - }, - "format": { - "location": "querystring", - "locationName": "format" - }, - "failOnWarnings": { - "location": "querystring", - "locationName": "failonwarnings", - "type": "boolean" - } - }, - "payload": "body" - }, - "output": { - "type": "structure", - "members": { - "ids": { - "shape": "S8" - }, - "warnings": { - "shape": "S8" - } - } - } - }, - "ImportDocumentationParts": { - "http": { - "method": "PUT", - "requestUri": "/restapis/{restapi_id}/documentation/parts" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "body" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "mode": { - "location": "querystring", - "locationName": "mode" - }, - "failOnWarnings": { - "location": "querystring", - "locationName": "failonwarnings", - "type": "boolean" - }, - "body": { - "type": "blob" - } - }, - "payload": "body" - }, - "output": { - "type": "structure", - "members": { - "ids": { - "shape": "S8" - }, - "warnings": { - "shape": "S8" - } - } - } - }, - "ImportRestApi": { - "http": { - "requestUri": "/restapis?mode=import", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "body" - ], - "members": { - "failOnWarnings": { - "location": "querystring", - "locationName": "failonwarnings", - "type": "boolean" - }, - "parameters": { - "shape": "Sk", - "location": "querystring" - }, - "body": { - "type": "blob" - } - }, - "payload": "body" - }, - "output": { - "shape": "S1g" - } - }, - "PutIntegration": { - "http": { - "method": "PUT", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "type" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "type": {}, - "integrationHttpMethod": { - "locationName": "httpMethod" - }, - "uri": {}, - "credentials": {}, - "requestParameters": { - "shape": "Sk" - }, - "requestTemplates": { - "shape": "Sk" - }, - "passthroughBehavior": {}, - "cacheNamespace": {}, - "cacheKeyParameters": { - "shape": "S8" - }, - "contentHandling": {} - } - }, - "output": { - "shape": "S1a" - } - }, - "PutIntegrationResponse": { - "http": { - "method": "PUT", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "statusCode" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "statusCode": { - "location": "uri", - "locationName": "status_code" - }, - "selectionPattern": {}, - "responseParameters": { - "shape": "Sk" - }, - "responseTemplates": { - "shape": "Sk" - }, - "contentHandling": {} - } - }, - "output": { - "shape": "S1e" - } - }, - "PutMethod": { - "http": { - "method": "PUT", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "authorizationType" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "authorizationType": {}, - "authorizerId": {}, - "apiKeyRequired": { - "type": "boolean" - }, - "operationName": {}, - "requestParameters": { - "shape": "S16" - }, - "requestModels": { - "shape": "Sk" - }, - "requestValidatorId": {} - } - }, - "output": { - "shape": "S15" - } - }, - "PutMethodResponse": { - "http": { - "method": "PUT", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "statusCode" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "statusCode": { - "location": "uri", - "locationName": "status_code" - }, - "responseParameters": { - "shape": "S16" - }, - "responseModels": { - "shape": "Sk" - } - } - }, - "output": { - "shape": "S18" - } - }, - "PutRestApi": { - "http": { - "method": "PUT", - "requestUri": "/restapis/{restapi_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "body" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "mode": { - "location": "querystring", - "locationName": "mode" - }, - "failOnWarnings": { - "location": "querystring", - "locationName": "failonwarnings", - "type": "boolean" - }, - "parameters": { - "shape": "Sk", - "location": "querystring" - }, - "body": { - "type": "blob" - } - }, - "payload": "body" - }, - "output": { - "shape": "S1g" - } - }, - "TestInvokeAuthorizer": { - "http": { - "requestUri": "/restapis/{restapi_id}/authorizers/{authorizer_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "authorizerId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "authorizerId": { - "location": "uri", - "locationName": "authorizer_id" - }, - "headers": { - "shape": "S5c" - }, - "pathWithQueryString": {}, - "body": {}, - "stageVariables": { - "shape": "Sk" - }, - "additionalContext": { - "shape": "Sk" - } - } - }, - "output": { - "type": "structure", - "members": { - "clientStatus": { - "type": "integer" - }, - "log": {}, - "latency": { - "type": "long" - }, - "principalId": {}, - "policy": {}, - "authorization": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "claims": { - "shape": "Sk" - } - } - } - }, - "TestInvokeMethod": { - "http": { - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "pathWithQueryString": {}, - "body": {}, - "headers": { - "shape": "S5c" - }, - "clientCertificateId": {}, - "stageVariables": { - "shape": "Sk" - } - } - }, - "output": { - "type": "structure", - "members": { - "status": { - "type": "integer" - }, - "body": {}, - "headers": { - "shape": "S5c" - }, - "log": {}, - "latency": { - "type": "long" - } - } - } - }, - "UpdateAccount": { - "http": { - "method": "PATCH", - "requestUri": "/account" - }, - "input": { - "type": "structure", - "members": { - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S2m" - } - }, - "UpdateApiKey": { - "http": { - "method": "PATCH", - "requestUri": "/apikeys/{api_Key}" - }, - "input": { - "type": "structure", - "required": [ - "apiKey" - ], - "members": { - "apiKey": { - "location": "uri", - "locationName": "api_Key" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S6" - } - }, - "UpdateAuthorizer": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/authorizers/{authorizer_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "authorizerId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "authorizerId": { - "location": "uri", - "locationName": "authorizer_id" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "Se" - } - }, - "UpdateBasePathMapping": { - "http": { - "method": "PATCH", - "requestUri": "/domainnames/{domain_name}/basepathmappings/{base_path}" - }, - "input": { - "type": "structure", - "required": [ - "domainName", - "basePath" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - }, - "basePath": { - "location": "uri", - "locationName": "base_path" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "Sg" - } - }, - "UpdateClientCertificate": { - "http": { - "method": "PATCH", - "requestUri": "/clientcertificates/{clientcertificate_id}" - }, - "input": { - "type": "structure", - "required": [ - "clientCertificateId" - ], - "members": { - "clientCertificateId": { - "location": "uri", - "locationName": "clientcertificate_id" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S2k" - } - }, - "UpdateDeployment": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/deployments/{deployment_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "deploymentId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "deploymentId": { - "location": "uri", - "locationName": "deployment_id" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "Sl" - } - }, - "UpdateDocumentationPart": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/documentation/parts/{part_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "documentationPartId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "documentationPartId": { - "location": "uri", - "locationName": "part_id" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "St" - } - }, - "UpdateDocumentationVersion": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/documentation/versions/{doc_version}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "documentationVersion" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "documentationVersion": { - "location": "uri", - "locationName": "doc_version" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "Sv" - } - }, - "UpdateDomainName": { - "http": { - "method": "PATCH", - "requestUri": "/domainnames/{domain_name}" - }, - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": { - "location": "uri", - "locationName": "domain_name" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "Sx" - } - }, - "UpdateIntegration": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S1a" - } - }, - "UpdateIntegrationResponse": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "statusCode" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "statusCode": { - "location": "uri", - "locationName": "status_code" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S1e" - } - }, - "UpdateMethod": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S15" - } - }, - "UpdateMethodResponse": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId", - "httpMethod", - "statusCode" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "httpMethod": { - "location": "uri", - "locationName": "http_method" - }, - "statusCode": { - "location": "uri", - "locationName": "status_code" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S18" - } - }, - "UpdateModel": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/models/{model_name}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "modelName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "modelName": { - "location": "uri", - "locationName": "model_name" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "Sz" - } - }, - "UpdateRequestValidator": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "requestValidatorId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "requestValidatorId": { - "location": "uri", - "locationName": "requestvalidator_id" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S11" - } - }, - "UpdateResource": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/resources/{resource_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "resourceId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "resourceId": { - "location": "uri", - "locationName": "resource_id" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S13" - } - }, - "UpdateRestApi": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S1g" - } - }, - "UpdateStage": { - "http": { - "method": "PATCH", - "requestUri": "/restapis/{restapi_id}/stages/{stage_name}" - }, - "input": { - "type": "structure", - "required": [ - "restApiId", - "stageName" - ], - "members": { - "restApiId": { - "location": "uri", - "locationName": "restapi_id" - }, - "stageName": { - "location": "uri", - "locationName": "stage_name" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S1i" - } - }, - "UpdateUsage": { - "http": { - "method": "PATCH", - "requestUri": "/usageplans/{usageplanId}/keys/{keyId}/usage" - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId", - "keyId" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - }, - "keyId": { - "location": "uri", - "locationName": "keyId" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S4m" - } - }, - "UpdateUsagePlan": { - "http": { - "method": "PATCH", - "requestUri": "/usageplans/{usageplanId}" - }, - "input": { - "type": "structure", - "required": [ - "usagePlanId" - ], - "members": { - "usagePlanId": { - "location": "uri", - "locationName": "usageplanId" - }, - "patchOperations": { - "shape": "S5i" - } - } - }, - "output": { - "shape": "S1v" - } - } - }, - "shapes": { - "S6": { - "type": "structure", - "members": { - "id": {}, - "value": {}, - "name": {}, - "customerId": {}, - "description": {}, - "enabled": { - "type": "boolean" - }, - "createdDate": { - "type": "timestamp" - }, - "lastUpdatedDate": { - "type": "timestamp" - }, - "stageKeys": { - "shape": "S8" - } - } - }, - "S8": { - "type": "list", - "member": {} - }, - "Sb": { - "type": "list", - "member": {} - }, - "Se": { - "type": "structure", - "members": { - "id": {}, - "name": {}, - "type": {}, - "providerARNs": { - "shape": "Sb" - }, - "authType": {}, - "authorizerUri": {}, - "authorizerCredentials": {}, - "identitySource": {}, - "identityValidationExpression": {}, - "authorizerResultTtlInSeconds": { - "type": "integer" - } - } - }, - "Sg": { - "type": "structure", - "members": { - "basePath": {}, - "restApiId": {}, - "stage": {} - } - }, - "Sk": { - "type": "map", - "key": {}, - "value": {} - }, - "Sl": { - "type": "structure", - "members": { - "id": {}, - "description": {}, - "createdDate": { - "type": "timestamp" - }, - "apiSummary": { - "type": "map", - "key": {}, - "value": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "authorizationType": {}, - "apiKeyRequired": { - "type": "boolean" - } - } - } - } - } - } - }, - "Sq": { - "type": "structure", - "required": [ - "type" - ], - "members": { - "type": {}, - "path": {}, - "method": {}, - "statusCode": {}, - "name": {} - } - }, - "St": { - "type": "structure", - "members": { - "id": {}, - "location": { - "shape": "Sq" - }, - "properties": {} - } - }, - "Sv": { - "type": "structure", - "members": { - "version": {}, - "createdDate": { - "type": "timestamp" - }, - "description": {} - } - }, - "Sx": { - "type": "structure", - "members": { - "domainName": {}, - "certificateName": {}, - "certificateArn": {}, - "certificateUploadDate": { - "type": "timestamp" - }, - "distributionDomainName": {} - } - }, - "Sz": { - "type": "structure", - "members": { - "id": {}, - "name": {}, - "description": {}, - "schema": {}, - "contentType": {} - } - }, - "S11": { - "type": "structure", - "members": { - "id": {}, - "name": {}, - "validateRequestBody": { - "type": "boolean" - }, - "validateRequestParameters": { - "type": "boolean" - } - } - }, - "S13": { - "type": "structure", - "members": { - "id": {}, - "parentId": {}, - "pathPart": {}, - "path": {}, - "resourceMethods": { - "type": "map", - "key": {}, - "value": { - "shape": "S15" - } - } - } - }, - "S15": { - "type": "structure", - "members": { - "httpMethod": {}, - "authorizationType": {}, - "authorizerId": {}, - "apiKeyRequired": { - "type": "boolean" - }, - "requestValidatorId": {}, - "operationName": {}, - "requestParameters": { - "shape": "S16" - }, - "requestModels": { - "shape": "Sk" - }, - "methodResponses": { - "type": "map", - "key": {}, - "value": { - "shape": "S18" - } - }, - "methodIntegration": { - "shape": "S1a" - } - } - }, - "S16": { - "type": "map", - "key": {}, - "value": { - "type": "boolean" - } - }, - "S18": { - "type": "structure", - "members": { - "statusCode": {}, - "responseParameters": { - "shape": "S16" - }, - "responseModels": { - "shape": "Sk" - } - } - }, - "S1a": { - "type": "structure", - "members": { - "type": {}, - "httpMethod": {}, - "uri": {}, - "credentials": {}, - "requestParameters": { - "shape": "Sk" - }, - "requestTemplates": { - "shape": "Sk" - }, - "passthroughBehavior": {}, - "contentHandling": {}, - "cacheNamespace": {}, - "cacheKeyParameters": { - "shape": "S8" - }, - "integrationResponses": { - "type": "map", - "key": {}, - "value": { - "shape": "S1e" - } - } - } - }, - "S1e": { - "type": "structure", - "members": { - "statusCode": {}, - "selectionPattern": {}, - "responseParameters": { - "shape": "Sk" - }, - "responseTemplates": { - "shape": "Sk" - }, - "contentHandling": {} - } - }, - "S1g": { - "type": "structure", - "members": { - "id": {}, - "name": {}, - "description": {}, - "createdDate": { - "type": "timestamp" - }, - "version": {}, - "warnings": { - "shape": "S8" - }, - "binaryMediaTypes": { - "shape": "S8" - } - } - }, - "S1i": { - "type": "structure", - "members": { - "deploymentId": {}, - "clientCertificateId": {}, - "stageName": {}, - "description": {}, - "cacheClusterEnabled": { - "type": "boolean" - }, - "cacheClusterSize": {}, - "cacheClusterStatus": {}, - "methodSettings": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "metricsEnabled": { - "type": "boolean" - }, - "loggingLevel": {}, - "dataTraceEnabled": { - "type": "boolean" - }, - "throttlingBurstLimit": { - "type": "integer" - }, - "throttlingRateLimit": { - "type": "double" - }, - "cachingEnabled": { - "type": "boolean" - }, - "cacheTtlInSeconds": { - "type": "integer" - }, - "cacheDataEncrypted": { - "type": "boolean" - }, - "requireAuthorizationForCacheControl": { - "type": "boolean" - }, - "unauthorizedCacheControlHeaderStrategy": {} - } - } - }, - "variables": { - "shape": "Sk" - }, - "documentationVersion": {}, - "createdDate": { - "type": "timestamp" - }, - "lastUpdatedDate": { - "type": "timestamp" - } - } - }, - "S1q": { - "type": "list", - "member": { - "type": "structure", - "members": { - "apiId": {}, - "stage": {} - } - } - }, - "S1s": { - "type": "structure", - "members": { - "burstLimit": { - "type": "integer" - }, - "rateLimit": { - "type": "double" - } - } - }, - "S1t": { - "type": "structure", - "members": { - "limit": { - "type": "integer" - }, - "offset": { - "type": "integer" - }, - "period": {} - } - }, - "S1v": { - "type": "structure", - "members": { - "id": {}, - "name": {}, - "description": {}, - "apiStages": { - "shape": "S1q" - }, - "throttle": { - "shape": "S1s" - }, - "quota": { - "shape": "S1t" - }, - "productCode": {} - } - }, - "S1x": { - "type": "structure", - "members": { - "id": {}, - "type": {}, - "value": {}, - "name": {} - } - }, - "S2k": { - "type": "structure", - "members": { - "clientCertificateId": {}, - "description": {}, - "pemEncodedCertificate": {}, - "createdDate": { - "type": "timestamp" - }, - "expirationDate": { - "type": "timestamp" - } - } - }, - "S2m": { - "type": "structure", - "members": { - "cloudwatchRoleArn": {}, - "throttleSettings": { - "shape": "S1s" - }, - "features": { - "shape": "S8" - }, - "apiKeyVersion": {} - } - }, - "S4b": { - "type": "structure", - "members": { - "id": {}, - "friendlyName": {}, - "description": {}, - "configurationProperties": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "friendlyName": {}, - "description": {}, - "required": { - "type": "boolean" - }, - "defaultValue": {} - } - } - } - } - }, - "S4m": { - "type": "structure", - "members": { - "usagePlanId": {}, - "startDate": {}, - "endDate": {}, - "position": {}, - "items": { - "locationName": "values", - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "list", - "member": { - "type": "long" - } - } - } - } - } - }, - "S5c": { - "type": "map", - "key": {}, - "value": {} - }, - "S5i": { - "type": "list", - "member": { - "type": "structure", - "members": { - "op": {}, - "path": {}, - "value": {}, - "from": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json b/src/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json deleted file mode 100644 index 8c972ac..0000000 --- a/src/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "pagination": { - "GetApiKeys": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - }, - "GetBasePathMappings": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - }, - "GetClientCertificates": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - }, - "GetDeployments": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - }, - "GetDomainNames": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - }, - "GetModels": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - }, - "GetResources": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - }, - "GetRestApis": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - }, - "GetUsage": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - }, - "GetUsagePlanKeys": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - }, - "GetUsagePlans": { - "input_token": "position", - "limit_key": "limit", - "output_token": "position", - "result_key": "items" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.examples.json b/src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.examples.json deleted file mode 100644 index 53415ec..0000000 --- a/src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.examples.json +++ /dev/null @@ -1,257 +0,0 @@ -{ - "version": "1.0", - "examples": { - "DeleteScalingPolicy": [ - { - "input": { - "PolicyName": "web-app-cpu-lt-25", - "ResourceId": "service/default/web-app", - "ScalableDimension": "ecs:service:DesiredCount", - "ServiceNamespace": "ecs" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default cluster.", - "id": "to-delete-a-scaling-policy-1470863892689", - "title": "To delete a scaling policy" - } - ], - "DeregisterScalableTarget": [ - { - "input": { - "ResourceId": "service/default/web-app", - "ScalableDimension": "ecs:service:DesiredCount", - "ServiceNamespace": "ecs" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default cluster.", - "id": "to-deregister-a-scalable-target-1470864164895", - "title": "To deregister a scalable target" - } - ], - "DescribeScalableTargets": [ - { - "input": { - "ServiceNamespace": "ecs" - }, - "output": { - "ScalableTargets": [ - { - "CreationTime": "2016-05-06T11:21:46.199Z", - "MaxCapacity": 10, - "MinCapacity": 1, - "ResourceId": "service/default/web-app", - "RoleARN": "arn:aws:iam::012345678910:role/ApplicationAutoscalingECSRole", - "ScalableDimension": "ecs:service:DesiredCount", - "ServiceNamespace": "ecs" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the scalable targets for the ecs service namespace.", - "id": "to-describe-scalable-targets-1470864286961", - "title": "To describe scalable targets" - } - ], - "DescribeScalingActivities": [ - { - "input": { - "ResourceId": "service/default/web-app", - "ScalableDimension": "ecs:service:DesiredCount", - "ServiceNamespace": "ecs" - }, - "output": { - "ScalingActivities": [ - { - "ActivityId": "e6c5f7d1-dbbb-4a3f-89b2-51f33e766399", - "Cause": "monitor alarm web-app-cpu-lt-25 in state ALARM triggered policy web-app-cpu-lt-25", - "Description": "Setting desired count to 1.", - "EndTime": "2016-05-06T16:04:32.111Z", - "ResourceId": "service/default/web-app", - "ScalableDimension": "ecs:service:DesiredCount", - "ServiceNamespace": "ecs", - "StartTime": "2016-05-06T16:03:58.171Z", - "StatusCode": "Successful", - "StatusMessage": "Successfully set desired count to 1. Change successfully fulfilled by ecs." - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default cluster.", - "id": "to-describe-scaling-activities-for-a-scalable-target-1470864398629", - "title": "To describe scaling activities for a scalable target" - } - ], - "DescribeScalingPolicies": [ - { - "input": { - "ServiceNamespace": "ecs" - }, - "output": { - "NextToken": "", - "ScalingPolicies": [ - { - "Alarms": [ - { - "AlarmARN": "arn:aws:cloudwatch:us-west-2:012345678910:alarm:web-app-cpu-gt-75", - "AlarmName": "web-app-cpu-gt-75" - } - ], - "CreationTime": "2016-05-06T12:11:39.230Z", - "PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75", - "PolicyName": "web-app-cpu-gt-75", - "PolicyType": "StepScaling", - "ResourceId": "service/default/web-app", - "ScalableDimension": "ecs:service:DesiredCount", - "ServiceNamespace": "ecs", - "StepScalingPolicyConfiguration": { - "AdjustmentType": "PercentChangeInCapacity", - "Cooldown": 60, - "StepAdjustments": [ - { - "MetricIntervalLowerBound": 0, - "ScalingAdjustment": 200 - } - ] - } - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the scaling policies for the ecs service namespace.", - "id": "to-describe-scaling-policies-1470864609734", - "title": "To describe scaling policies" - } - ], - "PutScalingPolicy": [ - { - "input": { - "PolicyName": "web-app-cpu-gt-75", - "PolicyType": "StepScaling", - "ResourceId": "service/default/web-app", - "ScalableDimension": "ecs:service:DesiredCount", - "ServiceNamespace": "ecs", - "StepScalingPolicyConfiguration": { - "AdjustmentType": "PercentChangeInCapacity", - "Cooldown": 60, - "StepAdjustments": [ - { - "MetricIntervalLowerBound": 0, - "ScalingAdjustment": 200 - } - ] - } - }, - "output": { - "PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example applies a scaling policy to an Amazon ECS service called web-app in the default cluster. The policy increases the desired count of the service by 200%, with a cool down period of 60 seconds.", - "id": "to-apply-a-scaling-policy-to-an-amazon-ecs-service-1470864779862", - "title": "To apply a scaling policy to an Amazon ECS service" - }, - { - "input": { - "PolicyName": "fleet-cpu-gt-75", - "PolicyType": "StepScaling", - "ResourceId": "spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3", - "ScalableDimension": "ec2:spot-fleet-request:TargetCapacity", - "ServiceNamespace": "ec2", - "StepScalingPolicyConfiguration": { - "AdjustmentType": "PercentChangeInCapacity", - "Cooldown": 180, - "StepAdjustments": [ - { - "MetricIntervalLowerBound": 0, - "ScalingAdjustment": 200 - } - ] - } - }, - "output": { - "PolicyARN": "arn:aws:autoscaling:us-east-1:012345678910:scalingPolicy:89406401-0cb7-4130-b770-d97cca0e446b:resource/ec2/spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3:policyName/fleet-cpu-gt-75" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example applies a scaling policy to an Amazon EC2 Spot fleet. The policy increases the target capacity of the spot fleet by 200%, with a cool down period of 180 seconds.\",\n ", - "id": "to-apply-a-scaling-policy-to-an-amazon-ec2-spot-fleet-1472073278469", - "title": "To apply a scaling policy to an Amazon EC2 Spot fleet" - } - ], - "RegisterScalableTarget": [ - { - "input": { - "MaxCapacity": 10, - "MinCapacity": 1, - "ResourceId": "service/default/web-app", - "RoleARN": "arn:aws:iam::012345678910:role/ApplicationAutoscalingECSRole", - "ScalableDimension": "ecs:service:DesiredCount", - "ServiceNamespace": "ecs" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example registers a scalable target from an Amazon ECS service called web-app that is running on the default cluster, with a minimum desired count of 1 task and a maximum desired count of 10 tasks.", - "id": "to-register-a-new-scalable-target-1470864910380", - "title": "To register an ECS service as a scalable target" - }, - { - "input": { - "MaxCapacity": 10, - "MinCapacity": 1, - "ResourceId": "spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3", - "RoleARN": "arn:aws:iam::012345678910:role/ApplicationAutoscalingSpotRole", - "ScalableDimension": "ec2:spot-fleet-request:TargetCapacity", - "ServiceNamespace": "ec2" - }, - "output": { - }, - "comments": { - }, - "description": "This example registers a scalable target from an Amazon EC2 Spot fleet with a minimum target capacity of 1 and a maximum of 10.", - "id": "to-register-an-ec2-spot-fleet-as-a-scalable-target-1472072899649", - "title": "To register an EC2 Spot fleet as a scalable target" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json b/src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json deleted file mode 100644 index 9890de8..0000000 --- a/src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json +++ /dev/null @@ -1,398 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-02-06", - "endpointPrefix": "autoscaling", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Application Auto Scaling", - "signatureVersion": "v4", - "signingName": "application-autoscaling", - "targetPrefix": "AnyScaleFrontendService", - "uid": "application-autoscaling-2016-02-06" - }, - "operations": { - "DeleteScalingPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyName", - "ServiceNamespace", - "ResourceId", - "ScalableDimension" - ], - "members": { - "PolicyName": {}, - "ServiceNamespace": {}, - "ResourceId": {}, - "ScalableDimension": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeregisterScalableTarget": { - "input": { - "type": "structure", - "required": [ - "ServiceNamespace", - "ResourceId", - "ScalableDimension" - ], - "members": { - "ServiceNamespace": {}, - "ResourceId": {}, - "ScalableDimension": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeScalableTargets": { - "input": { - "type": "structure", - "required": [ - "ServiceNamespace" - ], - "members": { - "ServiceNamespace": {}, - "ResourceIds": { - "shape": "S9" - }, - "ScalableDimension": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ScalableTargets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ServiceNamespace", - "ResourceId", - "ScalableDimension", - "MinCapacity", - "MaxCapacity", - "RoleARN", - "CreationTime" - ], - "members": { - "ServiceNamespace": {}, - "ResourceId": {}, - "ScalableDimension": {}, - "MinCapacity": { - "type": "integer" - }, - "MaxCapacity": { - "type": "integer" - }, - "RoleARN": {}, - "CreationTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeScalingActivities": { - "input": { - "type": "structure", - "required": [ - "ServiceNamespace" - ], - "members": { - "ServiceNamespace": {}, - "ResourceId": {}, - "ScalableDimension": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ScalingActivities": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ActivityId", - "ServiceNamespace", - "ResourceId", - "ScalableDimension", - "Description", - "Cause", - "StartTime", - "StatusCode" - ], - "members": { - "ActivityId": {}, - "ServiceNamespace": {}, - "ResourceId": {}, - "ScalableDimension": {}, - "Description": {}, - "Cause": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "StatusCode": {}, - "StatusMessage": {}, - "Details": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeScalingPolicies": { - "input": { - "type": "structure", - "required": [ - "ServiceNamespace" - ], - "members": { - "PolicyNames": { - "shape": "S9" - }, - "ServiceNamespace": {}, - "ResourceId": {}, - "ScalableDimension": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ScalingPolicies": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "PolicyARN", - "PolicyName", - "ServiceNamespace", - "ResourceId", - "ScalableDimension", - "PolicyType", - "CreationTime" - ], - "members": { - "PolicyARN": {}, - "PolicyName": {}, - "ServiceNamespace": {}, - "ResourceId": {}, - "ScalableDimension": {}, - "PolicyType": {}, - "StepScalingPolicyConfiguration": { - "shape": "St" - }, - "TargetTrackingScalingPolicyConfiguration": { - "shape": "S12" - }, - "Alarms": { - "shape": "S1f" - }, - "CreationTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "PutScalingPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyName", - "ServiceNamespace", - "ResourceId", - "ScalableDimension" - ], - "members": { - "PolicyName": {}, - "ServiceNamespace": {}, - "ResourceId": {}, - "ScalableDimension": {}, - "PolicyType": {}, - "StepScalingPolicyConfiguration": { - "shape": "St" - }, - "TargetTrackingScalingPolicyConfiguration": { - "shape": "S12" - } - } - }, - "output": { - "type": "structure", - "required": [ - "PolicyARN" - ], - "members": { - "PolicyARN": {}, - "Alarms": { - "shape": "S1f" - } - } - } - }, - "RegisterScalableTarget": { - "input": { - "type": "structure", - "required": [ - "ServiceNamespace", - "ResourceId", - "ScalableDimension" - ], - "members": { - "ServiceNamespace": {}, - "ResourceId": {}, - "ScalableDimension": {}, - "MinCapacity": { - "type": "integer" - }, - "MaxCapacity": { - "type": "integer" - }, - "RoleARN": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S9": { - "type": "list", - "member": {} - }, - "St": { - "type": "structure", - "members": { - "AdjustmentType": {}, - "StepAdjustments": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ScalingAdjustment" - ], - "members": { - "MetricIntervalLowerBound": { - "type": "double" - }, - "MetricIntervalUpperBound": { - "type": "double" - }, - "ScalingAdjustment": { - "type": "integer" - } - } - } - }, - "MinAdjustmentMagnitude": { - "type": "integer" - }, - "Cooldown": { - "type": "integer" - }, - "MetricAggregationType": {} - } - }, - "S12": { - "type": "structure", - "required": [ - "TargetValue" - ], - "members": { - "TargetValue": { - "type": "double" - }, - "PredefinedMetricSpecification": { - "type": "structure", - "required": [ - "PredefinedMetricType" - ], - "members": { - "PredefinedMetricType": {}, - "ResourceLabel": {} - } - }, - "CustomizedMetricSpecification": { - "type": "structure", - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "members": { - "MetricName": {}, - "Namespace": {}, - "Dimensions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {} - } - } - }, - "Statistic": {}, - "Unit": {} - } - }, - "ScaleOutCooldown": { - "type": "integer" - }, - "ScaleInCooldown": { - "type": "integer" - } - } - }, - "S1f": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AlarmName", - "AlarmARN" - ], - "members": { - "AlarmName": {}, - "AlarmARN": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.paginators.json b/src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.paginators.json deleted file mode 100644 index 72eec09..0000000 --- a/src/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.paginators.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "pagination": { - "DescribeScalableTargets": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "ScalableTargets" - }, - "DescribeScalingActivities": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "ScalingActivities" - }, - "DescribeScalingPolicies": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "ScalingPolicies" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/appstream-2016-12-01.examples.json b/src/node_modules/aws-sdk/apis/appstream-2016-12-01.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/appstream-2016-12-01.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json b/src/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json deleted file mode 100644 index c2507ec..0000000 --- a/src/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +++ /dev/null @@ -1,633 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-12-01", - "endpointPrefix": "appstream2", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon AppStream", - "signatureVersion": "v4", - "signingName": "appstream", - "targetPrefix": "PhotonAdminProxyService", - "uid": "appstream-2016-12-01" - }, - "operations": { - "AssociateFleet": { - "input": { - "type": "structure", - "required": [ - "FleetName", - "StackName" - ], - "members": { - "FleetName": {}, - "StackName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateFleet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ImageName", - "InstanceType", - "ComputeCapacity" - ], - "members": { - "Name": {}, - "ImageName": {}, - "InstanceType": {}, - "ComputeCapacity": { - "shape": "S6" - }, - "VpcConfig": { - "shape": "S8" - }, - "MaxUserDurationInSeconds": { - "type": "integer" - }, - "DisconnectTimeoutInSeconds": { - "type": "integer" - }, - "Description": {}, - "DisplayName": {}, - "EnableDefaultInternetAccess": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Fleet": { - "shape": "Sf" - } - } - } - }, - "CreateStack": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Description": {}, - "DisplayName": {}, - "StorageConnectors": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "members": { - "Stack": { - "shape": "St" - } - } - } - }, - "CreateStreamingURL": { - "input": { - "type": "structure", - "required": [ - "StackName", - "FleetName", - "UserId" - ], - "members": { - "StackName": {}, - "FleetName": {}, - "UserId": {}, - "ApplicationId": {}, - "Validity": { - "type": "long" - }, - "SessionContext": {} - } - }, - "output": { - "type": "structure", - "members": { - "StreamingURL": {}, - "Expires": { - "type": "timestamp" - } - } - } - }, - "DeleteFleet": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteStack": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeFleets": { - "input": { - "type": "structure", - "members": { - "Names": { - "shape": "S16" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Fleets": { - "type": "list", - "member": { - "shape": "Sf" - } - }, - "NextToken": {} - } - } - }, - "DescribeImages": { - "input": { - "type": "structure", - "members": { - "Names": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "members": { - "Images": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Arn": {}, - "BaseImageArn": {}, - "DisplayName": {}, - "State": {}, - "Visibility": {}, - "ImageBuilderSupported": { - "type": "boolean" - }, - "Platform": {}, - "Description": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - }, - "Applications": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "DisplayName": {}, - "IconURL": {}, - "LaunchPath": {}, - "LaunchParameters": {}, - "Enabled": { - "type": "boolean" - }, - "Metadata": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "CreatedTime": { - "type": "timestamp" - }, - "PublicBaseImageReleasedDate": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeSessions": { - "input": { - "type": "structure", - "required": [ - "StackName", - "FleetName" - ], - "members": { - "StackName": {}, - "FleetName": {}, - "UserId": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - }, - "AuthenticationType": {} - } - }, - "output": { - "type": "structure", - "members": { - "Sessions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Id", - "UserId", - "StackName", - "FleetName", - "State" - ], - "members": { - "Id": {}, - "UserId": {}, - "StackName": {}, - "FleetName": {}, - "State": {}, - "AuthenticationType": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeStacks": { - "input": { - "type": "structure", - "members": { - "Names": { - "shape": "S16" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Stacks": { - "type": "list", - "member": { - "shape": "St" - } - }, - "NextToken": {} - } - } - }, - "DisassociateFleet": { - "input": { - "type": "structure", - "required": [ - "FleetName", - "StackName" - ], - "members": { - "FleetName": {}, - "StackName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ExpireSession": { - "input": { - "type": "structure", - "required": [ - "SessionId" - ], - "members": { - "SessionId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ListAssociatedFleets": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Names": { - "shape": "S16" - }, - "NextToken": {} - } - } - }, - "ListAssociatedStacks": { - "input": { - "type": "structure", - "required": [ - "FleetName" - ], - "members": { - "FleetName": {}, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Names": { - "shape": "S16" - }, - "NextToken": {} - } - } - }, - "StartFleet": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "StopFleet": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateFleet": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "ImageName": {}, - "Name": {}, - "InstanceType": {}, - "ComputeCapacity": { - "shape": "S6" - }, - "VpcConfig": { - "shape": "S8" - }, - "MaxUserDurationInSeconds": { - "type": "integer" - }, - "DisconnectTimeoutInSeconds": { - "type": "integer" - }, - "DeleteVpcConfig": { - "deprecated": true, - "type": "boolean" - }, - "Description": {}, - "DisplayName": {}, - "EnableDefaultInternetAccess": { - "type": "boolean" - }, - "AttributesToDelete": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "Fleet": { - "shape": "Sf" - } - } - } - }, - "UpdateStack": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "DisplayName": {}, - "Description": {}, - "Name": {}, - "StorageConnectors": { - "shape": "So" - }, - "DeleteStorageConnectors": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Stack": { - "shape": "St" - } - } - } - } - }, - "shapes": { - "S6": { - "type": "structure", - "required": [ - "DesiredInstances" - ], - "members": { - "DesiredInstances": { - "type": "integer" - } - } - }, - "S8": { - "type": "structure", - "members": { - "SubnetIds": { - "type": "list", - "member": {} - }, - "SecurityGroupIds": { - "type": "list", - "member": {} - } - } - }, - "Sf": { - "type": "structure", - "required": [ - "Arn", - "Name", - "ImageName", - "InstanceType", - "ComputeCapacityStatus", - "State" - ], - "members": { - "Arn": {}, - "Name": {}, - "DisplayName": {}, - "Description": {}, - "ImageName": {}, - "InstanceType": {}, - "ComputeCapacityStatus": { - "type": "structure", - "required": [ - "Desired" - ], - "members": { - "Desired": { - "type": "integer" - }, - "Running": { - "type": "integer" - }, - "InUse": { - "type": "integer" - }, - "Available": { - "type": "integer" - } - } - }, - "MaxUserDurationInSeconds": { - "type": "integer" - }, - "DisconnectTimeoutInSeconds": { - "type": "integer" - }, - "State": {}, - "VpcConfig": { - "shape": "S8" - }, - "CreatedTime": { - "type": "timestamp" - }, - "FleetErrors": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ErrorCode": {}, - "ErrorMessage": {} - } - } - }, - "EnableDefaultInternetAccess": { - "type": "boolean" - } - } - }, - "So": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ConnectorType" - ], - "members": { - "ConnectorType": {}, - "ResourceIdentifier": {} - } - } - }, - "St": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Arn": {}, - "Name": {}, - "Description": {}, - "DisplayName": {}, - "CreatedTime": { - "type": "timestamp" - }, - "StorageConnectors": { - "shape": "So" - }, - "StackErrors": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - }, - "S16": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/appstream-2016-12-01.paginators.json b/src/node_modules/aws-sdk/apis/appstream-2016-12-01.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/appstream-2016-12-01.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/appstream-2016-12-01.waiters2.json b/src/node_modules/aws-sdk/apis/appstream-2016-12-01.waiters2.json deleted file mode 100644 index 6672cee..0000000 --- a/src/node_modules/aws-sdk/apis/appstream-2016-12-01.waiters2.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "version": 2, - "waiters": { - "FleetStarted": { - "delay": 30, - "maxAttempts": 40, - "operation": "DescribeFleets", - "acceptors": [ - { - "state": "success", - "matcher": "pathAll", - "argument": "fleets[].state", - "expected": "ACTIVE" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "fleets[].state", - "expected": "PENDING_DEACTIVATE" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "fleets[].state", - "expected": "INACTIVE" - } - ] - }, - "FleetStopped": { - "delay": 30, - "maxAttempts": 40, - "operation": "DescribeFleets", - "acceptors": [ - { - "state": "success", - "matcher": "pathAll", - "argument": "fleets[].state", - "expected": "INACTIVE" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "fleets[].state", - "expected": "PENDING_ACTIVATE" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "fleets[].state", - "expected": "ACTIVE" - } - ] - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/athena-2017-05-18.examples.json b/src/node_modules/aws-sdk/apis/athena-2017-05-18.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/athena-2017-05-18.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/athena-2017-05-18.min.json b/src/node_modules/aws-sdk/apis/athena-2017-05-18.min.json deleted file mode 100644 index 3bcd330..0000000 --- a/src/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +++ /dev/null @@ -1,416 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2017-05-18", - "endpointPrefix": "athena", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon Athena", - "signatureVersion": "v4", - "targetPrefix": "AmazonAthena", - "uid": "athena-2017-05-18" - }, - "operations": { - "BatchGetNamedQuery": { - "input": { - "type": "structure", - "required": [ - "NamedQueryIds" - ], - "members": { - "NamedQueryIds": { - "shape": "S2" - } - } - }, - "output": { - "type": "structure", - "members": { - "NamedQueries": { - "type": "list", - "member": { - "shape": "S6" - } - }, - "UnprocessedNamedQueryIds": { - "type": "list", - "member": { - "type": "structure", - "members": { - "NamedQueryId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "BatchGetQueryExecution": { - "input": { - "type": "structure", - "required": [ - "QueryExecutionIds" - ], - "members": { - "QueryExecutionIds": { - "shape": "Sg" - } - } - }, - "output": { - "type": "structure", - "members": { - "QueryExecutions": { - "type": "list", - "member": { - "shape": "Sk" - } - }, - "UnprocessedQueryExecutionIds": { - "type": "list", - "member": { - "type": "structure", - "members": { - "QueryExecutionId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "CreateNamedQuery": { - "input": { - "type": "structure", - "required": [ - "Name", - "Database", - "QueryString" - ], - "members": { - "Name": {}, - "Description": {}, - "Database": {}, - "QueryString": {}, - "ClientRequestToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "NamedQueryId": {} - } - }, - "idempotent": true - }, - "DeleteNamedQuery": { - "input": { - "type": "structure", - "required": [ - "NamedQueryId" - ], - "members": { - "NamedQueryId": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "GetNamedQuery": { - "input": { - "type": "structure", - "required": [ - "NamedQueryId" - ], - "members": { - "NamedQueryId": {} - } - }, - "output": { - "type": "structure", - "members": { - "NamedQuery": { - "shape": "S6" - } - } - } - }, - "GetQueryExecution": { - "input": { - "type": "structure", - "required": [ - "QueryExecutionId" - ], - "members": { - "QueryExecutionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "QueryExecution": { - "shape": "Sk" - } - } - } - }, - "GetQueryResults": { - "input": { - "type": "structure", - "required": [ - "QueryExecutionId" - ], - "members": { - "QueryExecutionId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "ResultSet": { - "type": "structure", - "members": { - "Rows": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Data": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VarCharValue": {} - } - } - } - } - } - }, - "ResultSetMetadata": { - "type": "structure", - "members": { - "ColumnInfo": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Type" - ], - "members": { - "CatalogName": {}, - "SchemaName": {}, - "TableName": {}, - "Name": {}, - "Label": {}, - "Type": {}, - "Precision": { - "type": "integer" - }, - "Scale": { - "type": "integer" - }, - "Nullable": {}, - "CaseSensitive": { - "type": "boolean" - } - } - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "ListNamedQueries": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NamedQueryIds": { - "shape": "S2" - }, - "NextToken": {} - } - } - }, - "ListQueryExecutions": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "QueryExecutionIds": { - "shape": "Sg" - }, - "NextToken": {} - } - } - }, - "StartQueryExecution": { - "input": { - "type": "structure", - "required": [ - "QueryString", - "ResultConfiguration" - ], - "members": { - "QueryString": {}, - "ClientRequestToken": { - "idempotencyToken": true - }, - "QueryExecutionContext": { - "shape": "Sp" - }, - "ResultConfiguration": { - "shape": "Sl" - } - } - }, - "output": { - "type": "structure", - "members": { - "QueryExecutionId": {} - } - }, - "idempotent": true - }, - "StopQueryExecution": { - "input": { - "type": "structure", - "required": [ - "QueryExecutionId" - ], - "members": { - "QueryExecutionId": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S6": { - "type": "structure", - "required": [ - "Name", - "Database", - "QueryString" - ], - "members": { - "Name": {}, - "Description": {}, - "Database": {}, - "QueryString": {}, - "NamedQueryId": {} - } - }, - "Sg": { - "type": "list", - "member": {} - }, - "Sk": { - "type": "structure", - "members": { - "QueryExecutionId": {}, - "Query": {}, - "ResultConfiguration": { - "shape": "Sl" - }, - "QueryExecutionContext": { - "shape": "Sp" - }, - "Status": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": {}, - "SubmissionDateTime": { - "type": "timestamp" - }, - "CompletionDateTime": { - "type": "timestamp" - } - } - }, - "Statistics": { - "type": "structure", - "members": { - "EngineExecutionTimeInMillis": { - "type": "long" - }, - "DataScannedInBytes": { - "type": "long" - } - } - } - } - }, - "Sl": { - "type": "structure", - "required": [ - "OutputLocation" - ], - "members": { - "OutputLocation": {}, - "EncryptionConfiguration": { - "type": "structure", - "required": [ - "EncryptionOption" - ], - "members": { - "EncryptionOption": {}, - "KmsKey": {} - } - } - } - }, - "Sp": { - "type": "structure", - "members": { - "Database": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/athena-2017-05-18.paginators.json b/src/node_modules/aws-sdk/apis/athena-2017-05-18.paginators.json deleted file mode 100644 index be4b1f0..0000000 --- a/src/node_modules/aws-sdk/apis/athena-2017-05-18.paginators.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "pagination": { - "GetQueryResults": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListNamedQueries": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListQueryExecutions": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json b/src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json deleted file mode 100644 index 33ffc9c..0000000 --- a/src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json +++ /dev/null @@ -1,1396 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AttachInstances": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "InstanceIds": [ - "i-93633f9b" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example attaches the specified instance to the specified Auto Scaling group.", - "id": "autoscaling-attach-instances-1", - "title": "To attach an instance to an Auto Scaling group" - } - ], - "AttachLoadBalancerTargetGroups": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "TargetGroupARNs": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example attaches the specified target group to the specified Auto Scaling group.", - "id": "autoscaling-attach-load-balancer-target-groups-1", - "title": "To attach a target group to an Auto Scaling group" - } - ], - "AttachLoadBalancers": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "LoadBalancerNames": [ - "my-load-balancer" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example attaches the specified load balancer to the specified Auto Scaling group.", - "id": "autoscaling-attach-load-balancers-1", - "title": "To attach a load balancer to an Auto Scaling group" - } - ], - "CompleteLifecycleAction": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "LifecycleActionResult": "CONTINUE", - "LifecycleActionToken": "bcd2f1b8-9a78-44d3-8a7a-4dd07d7cf635", - "LifecycleHookName": "my-lifecycle-hook" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example notifies Auto Scaling that the specified lifecycle action is complete so that it can finish launching or terminating the instance.", - "id": "autoscaling-complete-lifecycle-action-1", - "title": "To complete the lifecycle action" - } - ], - "CreateAutoScalingGroup": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "LaunchConfigurationName": "my-launch-config", - "MaxSize": 3, - "MinSize": 1, - "VPCZoneIdentifier": "subnet-4176792c" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an Auto Scaling group.", - "id": "autoscaling-create-auto-scaling-group-1", - "title": "To create an Auto Scaling group" - }, - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "AvailabilityZones": [ - "us-west-2c" - ], - "HealthCheckGracePeriod": 120, - "HealthCheckType": "ELB", - "LaunchConfigurationName": "my-launch-config", - "LoadBalancerNames": [ - "my-load-balancer" - ], - "MaxSize": 3, - "MinSize": 1 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an Auto Scaling group and attaches the specified Classic Load Balancer.", - "id": "autoscaling-create-auto-scaling-group-2", - "title": "To create an Auto Scaling group with an attached load balancer" - }, - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "HealthCheckGracePeriod": 120, - "HealthCheckType": "ELB", - "LaunchConfigurationName": "my-launch-config", - "MaxSize": 3, - "MinSize": 1, - "TargetGroupARNs": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" - ], - "VPCZoneIdentifier": "subnet-4176792c, subnet-65ea5f08" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an Auto Scaling group and attaches the specified target group.", - "id": "autoscaling-create-auto-scaling-group-3", - "title": "To create an Auto Scaling group with an attached target group" - } - ], - "CreateLaunchConfiguration": [ - { - "input": { - "IamInstanceProfile": "my-iam-role", - "ImageId": "ami-12345678", - "InstanceType": "m3.medium", - "LaunchConfigurationName": "my-launch-config", - "SecurityGroups": [ - "sg-eb2af88e" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a launch configuration.", - "id": "autoscaling-create-launch-configuration-1", - "title": "To create a launch configuration" - } - ], - "CreateOrUpdateTags": [ - { - "input": { - "Tags": [ - { - "Key": "Role", - "PropagateAtLaunch": true, - "ResourceId": "my-auto-scaling-group", - "ResourceType": "auto-scaling-group", - "Value": "WebServer" - }, - { - "Key": "Dept", - "PropagateAtLaunch": true, - "ResourceId": "my-auto-scaling-group", - "ResourceType": "auto-scaling-group", - "Value": "Research" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds two tags to the specified Auto Scaling group.", - "id": "autoscaling-create-or-update-tags-1", - "title": "To create or update tags for an Auto Scaling group" - } - ], - "DeleteAutoScalingGroup": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified Auto Scaling group.", - "id": "autoscaling-delete-auto-scaling-group-1", - "title": "To delete an Auto Scaling group" - }, - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "ForceDelete": true - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified Auto Scaling group and all its instances.", - "id": "autoscaling-delete-auto-scaling-group-2", - "title": "To delete an Auto Scaling group and all its instances" - } - ], - "DeleteLaunchConfiguration": [ - { - "input": { - "LaunchConfigurationName": "my-launch-config" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified launch configuration.", - "id": "autoscaling-delete-launch-configuration-1", - "title": "To delete a launch configuration" - } - ], - "DeleteLifecycleHook": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "LifecycleHookName": "my-lifecycle-hook" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified lifecycle hook.", - "id": "autoscaling-delete-lifecycle-hook-1", - "title": "To delete a lifecycle hook" - } - ], - "DeleteNotificationConfiguration": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified notification from the specified Auto Scaling group.", - "id": "autoscaling-delete-notification-configuration-1", - "title": "To delete an Auto Scaling notification" - } - ], - "DeletePolicy": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "PolicyName": "ScaleIn" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified Auto Scaling policy.", - "id": "autoscaling-delete-policy-1", - "title": "To delete an Auto Scaling policy" - } - ], - "DeleteScheduledAction": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "ScheduledActionName": "my-scheduled-action" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified scheduled action from the specified Auto Scaling group.", - "id": "autoscaling-delete-scheduled-action-1", - "title": "To delete a scheduled action from an Auto Scaling group" - } - ], - "DeleteTags": [ - { - "input": { - "Tags": [ - { - "Key": "Dept", - "ResourceId": "my-auto-scaling-group", - "ResourceType": "auto-scaling-group", - "Value": "Research" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified tag from the specified Auto Scaling group.", - "id": "autoscaling-delete-tags-1", - "title": "To delete a tag from an Auto Scaling group" - } - ], - "DescribeAccountLimits": [ - { - "output": { - "MaxNumberOfAutoScalingGroups": 20, - "MaxNumberOfLaunchConfigurations": 100, - "NumberOfAutoScalingGroups": 3, - "NumberOfLaunchConfigurations": 5 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the Auto Scaling limits for your AWS account.", - "id": "autoscaling-describe-account-limits-1", - "title": "To describe your Auto Scaling account limits" - } - ], - "DescribeAdjustmentTypes": [ - { - "output": { - "AdjustmentTypes": [ - { - "AdjustmentType": "ChangeInCapacity" - }, - { - "AdjustmentType": "ExactCapcity" - }, - { - "AdjustmentType": "PercentChangeInCapacity" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the available adjustment types.", - "id": "autoscaling-describe-adjustment-types-1", - "title": "To describe the Auto Scaling adjustment types" - } - ], - "DescribeAutoScalingGroups": [ - { - "input": { - "AutoScalingGroupNames": [ - "my-auto-scaling-group" - ] - }, - "output": { - "AutoScalingGroups": [ - { - "AutoScalingGroupARN": "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:930d940e-891e-4781-a11a-7b0acd480f03:autoScalingGroupName/my-auto-scaling-group", - "AutoScalingGroupName": "my-auto-scaling-group", - "AvailabilityZones": [ - "us-west-2c" - ], - "CreatedTime": "2013-08-19T20:53:25.584Z", - "DefaultCooldown": 300, - "DesiredCapacity": 1, - "EnabledMetrics": [ - - ], - "HealthCheckGracePeriod": 300, - "HealthCheckType": "EC2", - "Instances": [ - { - "AvailabilityZone": "us-west-2c", - "HealthStatus": "Healthy", - "InstanceId": "i-4ba0837f", - "LaunchConfigurationName": "my-launch-config", - "LifecycleState": "InService", - "ProtectedFromScaleIn": false - } - ], - "LaunchConfigurationName": "my-launch-config", - "LoadBalancerNames": [ - - ], - "MaxSize": 1, - "MinSize": 0, - "NewInstancesProtectedFromScaleIn": false, - "SuspendedProcesses": [ - - ], - "Tags": [ - - ], - "TerminationPolicies": [ - "Default" - ], - "VPCZoneIdentifier": "subnet-12345678" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified Auto Scaling group.", - "id": "autoscaling-describe-auto-scaling-groups-1", - "title": "To describe an Auto Scaling group" - } - ], - "DescribeAutoScalingInstances": [ - { - "input": { - "InstanceIds": [ - "i-4ba0837f" - ] - }, - "output": { - "AutoScalingInstances": [ - { - "AutoScalingGroupName": "my-auto-scaling-group", - "AvailabilityZone": "us-west-2c", - "HealthStatus": "HEALTHY", - "InstanceId": "i-4ba0837f", - "LaunchConfigurationName": "my-launch-config", - "LifecycleState": "InService", - "ProtectedFromScaleIn": false - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified Auto Scaling instance.", - "id": "autoscaling-describe-auto-scaling-instances-1", - "title": "To describe one or more Auto Scaling instances" - } - ], - "DescribeAutoScalingNotificationTypes": [ - { - "output": { - "AutoScalingNotificationTypes": [ - "autoscaling:EC2_INSTANCE_LAUNCH", - "autoscaling:EC2_INSTANCE_LAUNCH_ERROR", - "autoscaling:EC2_INSTANCE_TERMINATE", - "autoscaling:EC2_INSTANCE_TERMINATE_ERROR", - "autoscaling:TEST_NOTIFICATION" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the available notification types.", - "id": "autoscaling-describe-auto-scaling-notification-types-1", - "title": "To describe the Auto Scaling notification types" - } - ], - "DescribeLaunchConfigurations": [ - { - "input": { - "LaunchConfigurationNames": [ - "my-launch-config" - ] - }, - "output": { - "LaunchConfigurations": [ - { - "AssociatePublicIpAddress": true, - "BlockDeviceMappings": [ - - ], - "CreatedTime": "2014-05-07T17:39:28.599Z", - "EbsOptimized": false, - "ImageId": "ami-043a5034", - "InstanceMonitoring": { - "Enabled": true - }, - "InstanceType": "t1.micro", - "LaunchConfigurationARN": "arn:aws:autoscaling:us-west-2:123456789012:launchConfiguration:98d3b196-4cf9-4e88-8ca1-8547c24ced8b:launchConfigurationName/my-launch-config", - "LaunchConfigurationName": "my-launch-config", - "SecurityGroups": [ - "sg-67ef0308" - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified launch configuration.", - "id": "autoscaling-describe-launch-configurations-1", - "title": "To describe Auto Scaling launch configurations" - } - ], - "DescribeLifecycleHookTypes": [ - { - "output": { - "LifecycleHookTypes": [ - "autoscaling:EC2_INSTANCE_LAUNCHING", - "autoscaling:EC2_INSTANCE_TERMINATING" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the available lifecycle hook types.", - "id": "autoscaling-describe-lifecycle-hook-types-1", - "title": "To describe the available types of lifecycle hooks" - } - ], - "DescribeLifecycleHooks": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group" - }, - "output": { - "LifecycleHooks": [ - { - "AutoScalingGroupName": "my-auto-scaling-group", - "DefaultResult": "ABANDON", - "GlobalTimeout": 172800, - "HeartbeatTimeout": 3600, - "LifecycleHookName": "my-lifecycle-hook", - "LifecycleTransition": "autoscaling:EC2_INSTANCE_LAUNCHING", - "NotificationTargetARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic", - "RoleARN": "arn:aws:iam::123456789012:role/my-auto-scaling-role" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the lifecycle hooks for the specified Auto Scaling group.", - "id": "autoscaling-describe-lifecycle-hooks-1", - "title": "To describe your lifecycle hooks" - } - ], - "DescribeLoadBalancerTargetGroups": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group" - }, - "output": { - "LoadBalancerTargetGroups": [ - { - "LoadBalancerTargetGroupARN": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "State": "Added" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the target groups attached to the specified Auto Scaling group.", - "id": "autoscaling-describe-load-balancer-target-groups-1", - "title": "To describe the target groups for an Auto Scaling group" - } - ], - "DescribeLoadBalancers": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group" - }, - "output": { - "LoadBalancers": [ - { - "LoadBalancerName": "my-load-balancer", - "State": "Added" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the load balancers attached to the specified Auto Scaling group.", - "id": "autoscaling-describe-load-balancers-1", - "title": "To describe the load balancers for an Auto Scaling group" - } - ], - "DescribeMetricCollectionTypes": [ - { - "output": { - "Granularities": [ - { - "Granularity": "1Minute" - } - ], - "Metrics": [ - { - "Metric": "GroupMinSize" - }, - { - "Metric": "GroupMaxSize" - }, - { - "Metric": "GroupDesiredCapacity" - }, - { - "Metric": "GroupInServiceInstances" - }, - { - "Metric": "GroupPendingInstances" - }, - { - "Metric": "GroupTerminatingInstances" - }, - { - "Metric": "GroupStandbyInstances" - }, - { - "Metric": "GroupTotalInstances" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the available metric collection types.", - "id": "autoscaling-describe-metric-collection-types-1", - "title": "To describe the Auto Scaling metric collection types" - } - ], - "DescribeNotificationConfigurations": [ - { - "input": { - "AutoScalingGroupNames": [ - "my-auto-scaling-group" - ] - }, - "output": { - "NotificationConfigurations": [ - { - "AutoScalingGroupName": "my-auto-scaling-group", - "NotificationType": "autoscaling:TEST_NOTIFICATION", - "TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic-2" - }, - { - "AutoScalingGroupName": "my-auto-scaling-group", - "NotificationType": "autoscaling:TEST_NOTIFICATION", - "TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the notification configurations for the specified Auto Scaling group.", - "id": "autoscaling-describe-notification-configurations-1", - "title": "To describe Auto Scaling notification configurations" - } - ], - "DescribePolicies": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group" - }, - "output": { - "ScalingPolicies": [ - { - "AdjustmentType": "ChangeInCapacity", - "Alarms": [ - - ], - "AutoScalingGroupName": "my-auto-scaling-group", - "PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2233f3d7-6290-403b-b632-93c553560106:autoScalingGroupName/my-auto-scaling-group:policyName/ScaleIn", - "PolicyName": "ScaleIn", - "ScalingAdjustment": -1 - }, - { - "AdjustmentType": "PercentChangeInCapacity", - "Alarms": [ - - ], - "AutoScalingGroupName": "my-auto-scaling-group", - "Cooldown": 60, - "MinAdjustmentStep": 2, - "PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2b435159-cf77-4e89-8c0e-d63b497baad7:autoScalingGroupName/my-auto-scaling-group:policyName/ScalePercentChange", - "PolicyName": "ScalePercentChange", - "ScalingAdjustment": 25 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the policies for the specified Auto Scaling group.", - "id": "autoscaling-describe-policies-1", - "title": "To describe Auto Scaling policies" - } - ], - "DescribeScalingActivities": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group" - }, - "output": { - "Activities": [ - { - "ActivityId": "f9f2d65b-f1f2-43e7-b46d-d86756459699", - "AutoScalingGroupName": "my-auto-scaling-group", - "Cause": "At 2013-08-19T20:53:25Z a user request created an AutoScalingGroup changing the desired capacity from 0 to 1. At 2013-08-19T20:53:29Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.", - "Description": "Launching a new EC2 instance: i-4ba0837f", - "Details": "details", - "EndTime": "2013-08-19T20:54:02Z", - "Progress": 100, - "StartTime": "2013-08-19T20:53:29.930Z", - "StatusCode": "Successful" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the scaling activities for the specified Auto Scaling group.", - "id": "autoscaling-describe-scaling-activities-1", - "title": "To describe the scaling activities for an Auto Scaling group" - } - ], - "DescribeScalingProcessTypes": [ - { - "output": { - "Processes": [ - { - "ProcessName": "AZRebalance" - }, - { - "ProcessName": "AddToLoadBalancer" - }, - { - "ProcessName": "AlarmNotification" - }, - { - "ProcessName": "HealthCheck" - }, - { - "ProcessName": "Launch" - }, - { - "ProcessName": "ReplaceUnhealthy" - }, - { - "ProcessName": "ScheduledActions" - }, - { - "ProcessName": "Terminate" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the Auto Scaling process types.", - "id": "autoscaling-describe-scaling-process-types-1", - "title": "To describe the Auto Scaling process types" - } - ], - "DescribeScheduledActions": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group" - }, - "output": { - "ScheduledUpdateGroupActions": [ - { - "AutoScalingGroupName": "my-auto-scaling-group", - "DesiredCapacity": 4, - "MaxSize": 6, - "MinSize": 2, - "Recurrence": "30 0 1 12 0", - "ScheduledActionARN": "arn:aws:autoscaling:us-west-2:123456789012:scheduledUpdateGroupAction:8e86b655-b2e6-4410-8f29-b4f094d6871c:autoScalingGroupName/my-auto-scaling-group:scheduledActionName/my-scheduled-action", - "ScheduledActionName": "my-scheduled-action", - "StartTime": "2016-12-01T00:30:00Z", - "Time": "2016-12-01T00:30:00Z" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the scheduled actions for the specified Auto Scaling group.", - "id": "autoscaling-describe-scheduled-actions-1", - "title": "To describe scheduled actions" - } - ], - "DescribeTags": [ - { - "input": { - "Filters": [ - { - "Name": "auto-scaling-group", - "Values": [ - "my-auto-scaling-group" - ] - } - ] - }, - "output": { - "Tags": [ - { - "Key": "Dept", - "PropagateAtLaunch": true, - "ResourceId": "my-auto-scaling-group", - "ResourceType": "auto-scaling-group", - "Value": "Research" - }, - { - "Key": "Role", - "PropagateAtLaunch": true, - "ResourceId": "my-auto-scaling-group", - "ResourceType": "auto-scaling-group", - "Value": "WebServer" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the tags for the specified Auto Scaling group.", - "id": "autoscaling-describe-tags-1", - "title": "To describe tags" - } - ], - "DescribeTerminationPolicyTypes": [ - { - "output": { - "TerminationPolicyTypes": [ - "ClosestToNextInstanceHour", - "Default", - "NewestInstance", - "OldestInstance", - "OldestLaunchConfiguration" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the available termination policy types.", - "id": "autoscaling-describe-termination-policy-types-1", - "title": "To describe termination policy types" - } - ], - "DetachInstances": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "InstanceIds": [ - "i-93633f9b" - ], - "ShouldDecrementDesiredCapacity": true - }, - "output": { - "Activities": [ - { - "ActivityId": "5091cb52-547a-47ce-a236-c9ccbc2cb2c9", - "AutoScalingGroupName": "my-auto-scaling-group", - "Cause": "At 2015-04-12T15:02:16Z instance i-93633f9b was detached in response to a user request, shrinking the capacity from 2 to 1.", - "Description": "Detaching EC2 instance: i-93633f9b", - "Details": "details", - "Progress": 50, - "StartTime": "2015-04-12T15:02:16.179Z", - "StatusCode": "InProgress" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example detaches the specified instance from the specified Auto Scaling group.", - "id": "autoscaling-detach-instances-1", - "title": "To detach an instance from an Auto Scaling group" - } - ], - "DetachLoadBalancerTargetGroups": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "TargetGroupARNs": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example detaches the specified target group from the specified Auto Scaling group", - "id": "autoscaling-detach-load-balancer-target-groups-1", - "title": "To detach a target group from an Auto Scaling group" - } - ], - "DetachLoadBalancers": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "LoadBalancerNames": [ - "my-load-balancer" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example detaches the specified load balancer from the specified Auto Scaling group.", - "id": "autoscaling-detach-load-balancers-1", - "title": "To detach a load balancer from an Auto Scaling group" - } - ], - "DisableMetricsCollection": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "Metrics": [ - "GroupDesiredCapacity" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example disables collecting data for the GroupDesiredCapacity metric for the specified Auto Scaling group.", - "id": "autoscaling-disable-metrics-collection-1", - "title": "To disable metrics collection for an Auto Scaling group" - } - ], - "EnableMetricsCollection": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "Granularity": "1Minute" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example enables data collection for the specified Auto Scaling group.", - "id": "autoscaling-enable-metrics-collection-1", - "title": "To enable metrics collection for an Auto Scaling group" - } - ], - "EnterStandby": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "InstanceIds": [ - "i-93633f9b" - ], - "ShouldDecrementDesiredCapacity": true - }, - "output": { - "Activities": [ - { - "ActivityId": "ffa056b4-6ed3-41ba-ae7c-249dfae6eba1", - "AutoScalingGroupName": "my-auto-scaling-group", - "Cause": "At 2015-04-12T15:10:23Z instance i-93633f9b was moved to standby in response to a user request, shrinking the capacity from 2 to 1.", - "Description": "Moving EC2 instance to Standby: i-93633f9b", - "Details": "details", - "Progress": 50, - "StartTime": "2015-04-12T15:10:23.640Z", - "StatusCode": "InProgress" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example puts the specified instance into standby mode.", - "id": "autoscaling-enter-standby-1", - "title": "To move instances into standby mode" - } - ], - "ExecutePolicy": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "HonorCooldown": true, - "PolicyName": "ScaleIn" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example executes the specified Auto Scaling policy for the specified Auto Scaling group.", - "id": "autoscaling-execute-policy-1", - "title": "To execute an Auto Scaling policy" - } - ], - "ExitStandby": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "InstanceIds": [ - "i-93633f9b" - ] - }, - "output": { - "Activities": [ - { - "ActivityId": "142928e1-a2dc-453a-9b24-b85ad6735928", - "AutoScalingGroupName": "my-auto-scaling-group", - "Cause": "At 2015-04-12T15:14:29Z instance i-93633f9b was moved out of standby in response to a user request, increasing the capacity from 1 to 2.", - "Description": "Moving EC2 instance out of Standby: i-93633f9b", - "Details": "details", - "Progress": 30, - "StartTime": "2015-04-12T15:14:29.886Z", - "StatusCode": "PreInService" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example moves the specified instance out of standby mode.", - "id": "autoscaling-exit-standby-1", - "title": "To move instances out of standby mode" - } - ], - "PutLifecycleHook": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "LifecycleHookName": "my-lifecycle-hook", - "LifecycleTransition": "autoscaling:EC2_INSTANCE_LAUNCHING", - "NotificationTargetARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic --role-arn", - "RoleARN": "arn:aws:iam::123456789012:role/my-auto-scaling-role" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a lifecycle hook.", - "id": "autoscaling-put-lifecycle-hook-1", - "title": "To create a lifecycle hook" - } - ], - "PutNotificationConfiguration": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "NotificationTypes": [ - "autoscaling:TEST_NOTIFICATION" - ], - "TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds the specified notification to the specified Auto Scaling group.", - "id": "autoscaling-put-notification-configuration-1", - "title": "To add an Auto Scaling notification" - } - ], - "PutScalingPolicy": [ - { - "input": { - "AdjustmentType": "ChangeInCapacity", - "AutoScalingGroupName": "my-auto-scaling-group", - "PolicyName": "ScaleIn", - "ScalingAdjustment": -1 - }, - "output": { - "PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2233f3d7-6290-403b-b632-93c553560106:autoScalingGroupName/my-auto-scaling-group:policyName/ScaleIn" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds the specified policy to the specified Auto Scaling group.", - "id": "autoscaling-put-scaling-policy-1", - "title": "To add a scaling policy to an Auto Scaling group" - } - ], - "PutScheduledUpdateGroupAction": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "DesiredCapacity": 4, - "EndTime": "2014-05-12T08:00:00Z", - "MaxSize": 6, - "MinSize": 2, - "ScheduledActionName": "my-scheduled-action", - "StartTime": "2014-05-12T08:00:00Z" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds the specified scheduled action to the specified Auto Scaling group.", - "id": "autoscaling-put-scheduled-update-group-action-1", - "title": "To add a scheduled action to an Auto Scaling group" - } - ], - "RecordLifecycleActionHeartbeat": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "LifecycleActionToken": "bcd2f1b8-9a78-44d3-8a7a-4dd07d7cf635", - "LifecycleHookName": "my-lifecycle-hook" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example records a lifecycle action heartbeat to keep the instance in a pending state.", - "id": "autoscaling-record-lifecycle-action-heartbeat-1", - "title": "To record a lifecycle action heartbeat" - } - ], - "ResumeProcesses": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "ScalingProcesses": [ - "AlarmNotification" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example resumes the specified suspended scaling process for the specified Auto Scaling group.", - "id": "autoscaling-resume-processes-1", - "title": "To resume Auto Scaling processes" - } - ], - "SetDesiredCapacity": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "DesiredCapacity": 2, - "HonorCooldown": true - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example sets the desired capacity for the specified Auto Scaling group.", - "id": "autoscaling-set-desired-capacity-1", - "title": "To set the desired capacity for an Auto Scaling group" - } - ], - "SetInstanceHealth": [ - { - "input": { - "HealthStatus": "Unhealthy", - "InstanceId": "i-93633f9b" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example sets the health status of the specified instance to Unhealthy.", - "id": "autoscaling-set-instance-health-1", - "title": "To set the health status of an instance" - } - ], - "SetInstanceProtection": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "InstanceIds": [ - "i-93633f9b" - ], - "ProtectedFromScaleIn": true - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example enables instance protection for the specified instance.", - "id": "autoscaling-set-instance-protection-1", - "title": "To enable instance protection for an instance" - }, - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "InstanceIds": [ - "i-93633f9b" - ], - "ProtectedFromScaleIn": false - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example disables instance protection for the specified instance.", - "id": "autoscaling-set-instance-protection-2", - "title": "To disable instance protection for an instance" - } - ], - "SuspendProcesses": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "ScalingProcesses": [ - "AlarmNotification" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example suspends the specified scaling process for the specified Auto Scaling group.", - "id": "autoscaling-suspend-processes-1", - "title": "To suspend Auto Scaling processes" - } - ], - "TerminateInstanceInAutoScalingGroup": [ - { - "input": { - "InstanceId": "i-93633f9b", - "ShouldDecrementDesiredCapacity": false - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example terminates the specified instance from the specified Auto Scaling group without updating the size of the group. Auto Scaling launches a replacement instance after the specified instance terminates.", - "id": "autoscaling-terminate-instance-in-auto-scaling-group-1", - "title": "To terminate an instance in an Auto Scaling group" - } - ], - "UpdateAutoScalingGroup": [ - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "LaunchConfigurationName": "new-launch-config" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example updates the launch configuration of the specified Auto Scaling group.", - "id": "autoscaling-update-auto-scaling-group-1", - "title": "To update the launch configuration" - }, - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "MaxSize": 3, - "MinSize": 1 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example updates the minimum size and maximum size of the specified Auto Scaling group.", - "id": "autoscaling-update-auto-scaling-group-2", - "title": "To update the minimum and maximum size" - }, - { - "input": { - "AutoScalingGroupName": "my-auto-scaling-group", - "NewInstancesProtectedFromScaleIn": true - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example enables instance protection for the specified Auto Scaling group.", - "id": "autoscaling-update-auto-scaling-group-3", - "title": "To enable instance protection" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json b/src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json deleted file mode 100644 index 572b04f..0000000 --- a/src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +++ /dev/null @@ -1,1609 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2011-01-01", - "endpointPrefix": "autoscaling", - "protocol": "query", - "serviceFullName": "Auto Scaling", - "signatureVersion": "v4", - "uid": "autoscaling-2011-01-01", - "xmlNamespace": "http://autoscaling.amazonaws.com/doc/2011-01-01/" - }, - "operations": { - "AttachInstances": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName" - ], - "members": { - "InstanceIds": { - "shape": "S2" - }, - "AutoScalingGroupName": {} - } - } - }, - "AttachLoadBalancerTargetGroups": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "TargetGroupARNs" - ], - "members": { - "AutoScalingGroupName": {}, - "TargetGroupARNs": { - "shape": "S6" - } - } - }, - "output": { - "resultWrapper": "AttachLoadBalancerTargetGroupsResult", - "type": "structure", - "members": {} - } - }, - "AttachLoadBalancers": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "LoadBalancerNames" - ], - "members": { - "AutoScalingGroupName": {}, - "LoadBalancerNames": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "AttachLoadBalancersResult", - "type": "structure", - "members": {} - } - }, - "CompleteLifecycleAction": { - "input": { - "type": "structure", - "required": [ - "LifecycleHookName", - "AutoScalingGroupName", - "LifecycleActionResult" - ], - "members": { - "LifecycleHookName": {}, - "AutoScalingGroupName": {}, - "LifecycleActionToken": {}, - "LifecycleActionResult": {}, - "InstanceId": {} - } - }, - "output": { - "resultWrapper": "CompleteLifecycleActionResult", - "type": "structure", - "members": {} - } - }, - "CreateAutoScalingGroup": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "MinSize", - "MaxSize" - ], - "members": { - "AutoScalingGroupName": {}, - "LaunchConfigurationName": {}, - "InstanceId": {}, - "MinSize": { - "type": "integer" - }, - "MaxSize": { - "type": "integer" - }, - "DesiredCapacity": { - "type": "integer" - }, - "DefaultCooldown": { - "type": "integer" - }, - "AvailabilityZones": { - "shape": "Sn" - }, - "LoadBalancerNames": { - "shape": "Sa" - }, - "TargetGroupARNs": { - "shape": "S6" - }, - "HealthCheckType": {}, - "HealthCheckGracePeriod": { - "type": "integer" - }, - "PlacementGroup": {}, - "VPCZoneIdentifier": {}, - "TerminationPolicies": { - "shape": "Sr" - }, - "NewInstancesProtectedFromScaleIn": { - "type": "boolean" - }, - "Tags": { - "shape": "Su" - } - } - } - }, - "CreateLaunchConfiguration": { - "input": { - "type": "structure", - "required": [ - "LaunchConfigurationName" - ], - "members": { - "LaunchConfigurationName": {}, - "ImageId": {}, - "KeyName": {}, - "SecurityGroups": { - "shape": "S11" - }, - "ClassicLinkVPCId": {}, - "ClassicLinkVPCSecurityGroups": { - "shape": "S12" - }, - "UserData": {}, - "InstanceId": {}, - "InstanceType": {}, - "KernelId": {}, - "RamdiskId": {}, - "BlockDeviceMappings": { - "shape": "S14" - }, - "InstanceMonitoring": { - "shape": "S1d" - }, - "SpotPrice": {}, - "IamInstanceProfile": {}, - "EbsOptimized": { - "type": "boolean" - }, - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "PlacementTenancy": {} - } - } - }, - "CreateOrUpdateTags": { - "input": { - "type": "structure", - "required": [ - "Tags" - ], - "members": { - "Tags": { - "shape": "Su" - } - } - } - }, - "DeleteAutoScalingGroup": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName" - ], - "members": { - "AutoScalingGroupName": {}, - "ForceDelete": { - "type": "boolean" - } - } - } - }, - "DeleteLaunchConfiguration": { - "input": { - "type": "structure", - "required": [ - "LaunchConfigurationName" - ], - "members": { - "LaunchConfigurationName": {} - } - } - }, - "DeleteLifecycleHook": { - "input": { - "type": "structure", - "required": [ - "LifecycleHookName", - "AutoScalingGroupName" - ], - "members": { - "LifecycleHookName": {}, - "AutoScalingGroupName": {} - } - }, - "output": { - "resultWrapper": "DeleteLifecycleHookResult", - "type": "structure", - "members": {} - } - }, - "DeleteNotificationConfiguration": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "TopicARN" - ], - "members": { - "AutoScalingGroupName": {}, - "TopicARN": {} - } - } - }, - "DeletePolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyName" - ], - "members": { - "AutoScalingGroupName": {}, - "PolicyName": {} - } - } - }, - "DeleteScheduledAction": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "ScheduledActionName" - ], - "members": { - "AutoScalingGroupName": {}, - "ScheduledActionName": {} - } - } - }, - "DeleteTags": { - "input": { - "type": "structure", - "required": [ - "Tags" - ], - "members": { - "Tags": { - "shape": "Su" - } - } - } - }, - "DescribeAccountLimits": { - "output": { - "resultWrapper": "DescribeAccountLimitsResult", - "type": "structure", - "members": { - "MaxNumberOfAutoScalingGroups": { - "type": "integer" - }, - "MaxNumberOfLaunchConfigurations": { - "type": "integer" - }, - "NumberOfAutoScalingGroups": { - "type": "integer" - }, - "NumberOfLaunchConfigurations": { - "type": "integer" - } - } - } - }, - "DescribeAdjustmentTypes": { - "output": { - "resultWrapper": "DescribeAdjustmentTypesResult", - "type": "structure", - "members": { - "AdjustmentTypes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AdjustmentType": {} - } - } - } - } - } - }, - "DescribeAutoScalingGroups": { - "input": { - "type": "structure", - "members": { - "AutoScalingGroupNames": { - "shape": "S22" - }, - "NextToken": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeAutoScalingGroupsResult", - "type": "structure", - "required": [ - "AutoScalingGroups" - ], - "members": { - "AutoScalingGroups": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "MinSize", - "MaxSize", - "DesiredCapacity", - "DefaultCooldown", - "AvailabilityZones", - "HealthCheckType", - "CreatedTime" - ], - "members": { - "AutoScalingGroupName": {}, - "AutoScalingGroupARN": {}, - "LaunchConfigurationName": {}, - "MinSize": { - "type": "integer" - }, - "MaxSize": { - "type": "integer" - }, - "DesiredCapacity": { - "type": "integer" - }, - "DefaultCooldown": { - "type": "integer" - }, - "AvailabilityZones": { - "shape": "Sn" - }, - "LoadBalancerNames": { - "shape": "Sa" - }, - "TargetGroupARNs": { - "shape": "S6" - }, - "HealthCheckType": {}, - "HealthCheckGracePeriod": { - "type": "integer" - }, - "Instances": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "InstanceId", - "AvailabilityZone", - "LifecycleState", - "HealthStatus", - "LaunchConfigurationName", - "ProtectedFromScaleIn" - ], - "members": { - "InstanceId": {}, - "AvailabilityZone": {}, - "LifecycleState": {}, - "HealthStatus": {}, - "LaunchConfigurationName": {}, - "ProtectedFromScaleIn": { - "type": "boolean" - } - } - } - }, - "CreatedTime": { - "type": "timestamp" - }, - "SuspendedProcesses": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ProcessName": {}, - "SuspensionReason": {} - } - } - }, - "PlacementGroup": {}, - "VPCZoneIdentifier": {}, - "EnabledMetrics": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Metric": {}, - "Granularity": {} - } - } - }, - "Status": {}, - "Tags": { - "shape": "S2f" - }, - "TerminationPolicies": { - "shape": "Sr" - }, - "NewInstancesProtectedFromScaleIn": { - "type": "boolean" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeAutoScalingInstances": { - "input": { - "type": "structure", - "members": { - "InstanceIds": { - "shape": "S2" - }, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeAutoScalingInstancesResult", - "type": "structure", - "members": { - "AutoScalingInstances": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "InstanceId", - "AutoScalingGroupName", - "AvailabilityZone", - "LifecycleState", - "HealthStatus", - "LaunchConfigurationName", - "ProtectedFromScaleIn" - ], - "members": { - "InstanceId": {}, - "AutoScalingGroupName": {}, - "AvailabilityZone": {}, - "LifecycleState": {}, - "HealthStatus": {}, - "LaunchConfigurationName": {}, - "ProtectedFromScaleIn": { - "type": "boolean" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeAutoScalingNotificationTypes": { - "output": { - "resultWrapper": "DescribeAutoScalingNotificationTypesResult", - "type": "structure", - "members": { - "AutoScalingNotificationTypes": { - "shape": "S2m" - } - } - } - }, - "DescribeLaunchConfigurations": { - "input": { - "type": "structure", - "members": { - "LaunchConfigurationNames": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeLaunchConfigurationsResult", - "type": "structure", - "required": [ - "LaunchConfigurations" - ], - "members": { - "LaunchConfigurations": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "LaunchConfigurationName", - "ImageId", - "InstanceType", - "CreatedTime" - ], - "members": { - "LaunchConfigurationName": {}, - "LaunchConfigurationARN": {}, - "ImageId": {}, - "KeyName": {}, - "SecurityGroups": { - "shape": "S11" - }, - "ClassicLinkVPCId": {}, - "ClassicLinkVPCSecurityGroups": { - "shape": "S12" - }, - "UserData": {}, - "InstanceType": {}, - "KernelId": {}, - "RamdiskId": {}, - "BlockDeviceMappings": { - "shape": "S14" - }, - "InstanceMonitoring": { - "shape": "S1d" - }, - "SpotPrice": {}, - "IamInstanceProfile": {}, - "CreatedTime": { - "type": "timestamp" - }, - "EbsOptimized": { - "type": "boolean" - }, - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "PlacementTenancy": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeLifecycleHookTypes": { - "output": { - "resultWrapper": "DescribeLifecycleHookTypesResult", - "type": "structure", - "members": { - "LifecycleHookTypes": { - "shape": "S2m" - } - } - } - }, - "DescribeLifecycleHooks": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName" - ], - "members": { - "AutoScalingGroupName": {}, - "LifecycleHookNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeLifecycleHooksResult", - "type": "structure", - "members": { - "LifecycleHooks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LifecycleHookName": {}, - "AutoScalingGroupName": {}, - "LifecycleTransition": {}, - "NotificationTargetARN": {}, - "RoleARN": {}, - "NotificationMetadata": {}, - "HeartbeatTimeout": { - "type": "integer" - }, - "GlobalTimeout": { - "type": "integer" - }, - "DefaultResult": {} - } - } - } - } - } - }, - "DescribeLoadBalancerTargetGroups": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName" - ], - "members": { - "AutoScalingGroupName": {}, - "NextToken": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancerTargetGroupsResult", - "type": "structure", - "members": { - "LoadBalancerTargetGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LoadBalancerTargetGroupARN": {}, - "State": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeLoadBalancers": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName" - ], - "members": { - "AutoScalingGroupName": {}, - "NextToken": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancersResult", - "type": "structure", - "members": { - "LoadBalancers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LoadBalancerName": {}, - "State": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeMetricCollectionTypes": { - "output": { - "resultWrapper": "DescribeMetricCollectionTypesResult", - "type": "structure", - "members": { - "Metrics": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Metric": {} - } - } - }, - "Granularities": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Granularity": {} - } - } - } - } - } - }, - "DescribeNotificationConfigurations": { - "input": { - "type": "structure", - "members": { - "AutoScalingGroupNames": { - "shape": "S22" - }, - "NextToken": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeNotificationConfigurationsResult", - "type": "structure", - "required": [ - "NotificationConfigurations" - ], - "members": { - "NotificationConfigurations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AutoScalingGroupName": {}, - "TopicARN": {}, - "NotificationType": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribePolicies": { - "input": { - "type": "structure", - "members": { - "AutoScalingGroupName": {}, - "PolicyNames": { - "type": "list", - "member": {} - }, - "PolicyTypes": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribePoliciesResult", - "type": "structure", - "members": { - "ScalingPolicies": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AutoScalingGroupName": {}, - "PolicyName": {}, - "PolicyARN": {}, - "PolicyType": {}, - "AdjustmentType": {}, - "MinAdjustmentStep": { - "shape": "S3p" - }, - "MinAdjustmentMagnitude": { - "type": "integer" - }, - "ScalingAdjustment": { - "type": "integer" - }, - "Cooldown": { - "type": "integer" - }, - "StepAdjustments": { - "shape": "S3s" - }, - "MetricAggregationType": {}, - "EstimatedInstanceWarmup": { - "type": "integer" - }, - "Alarms": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AlarmName": {}, - "AlarmARN": {} - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeScalingActivities": { - "input": { - "type": "structure", - "members": { - "ActivityIds": { - "type": "list", - "member": {} - }, - "AutoScalingGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeScalingActivitiesResult", - "type": "structure", - "required": [ - "Activities" - ], - "members": { - "Activities": { - "shape": "S41" - }, - "NextToken": {} - } - } - }, - "DescribeScalingProcessTypes": { - "output": { - "resultWrapper": "DescribeScalingProcessTypesResult", - "type": "structure", - "members": { - "Processes": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ProcessName" - ], - "members": { - "ProcessName": {} - } - } - } - } - } - }, - "DescribeScheduledActions": { - "input": { - "type": "structure", - "members": { - "AutoScalingGroupName": {}, - "ScheduledActionNames": { - "type": "list", - "member": {} - }, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "NextToken": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeScheduledActionsResult", - "type": "structure", - "members": { - "ScheduledUpdateGroupActions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AutoScalingGroupName": {}, - "ScheduledActionName": {}, - "ScheduledActionARN": {}, - "Time": { - "type": "timestamp" - }, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Recurrence": {}, - "MinSize": { - "type": "integer" - }, - "MaxSize": { - "type": "integer" - }, - "DesiredCapacity": { - "type": "integer" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "members": { - "Filters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "NextToken": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeTagsResult", - "type": "structure", - "members": { - "Tags": { - "shape": "S2f" - }, - "NextToken": {} - } - } - }, - "DescribeTerminationPolicyTypes": { - "output": { - "resultWrapper": "DescribeTerminationPolicyTypesResult", - "type": "structure", - "members": { - "TerminationPolicyTypes": { - "shape": "Sr" - } - } - } - }, - "DetachInstances": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "ShouldDecrementDesiredCapacity" - ], - "members": { - "InstanceIds": { - "shape": "S2" - }, - "AutoScalingGroupName": {}, - "ShouldDecrementDesiredCapacity": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DetachInstancesResult", - "type": "structure", - "members": { - "Activities": { - "shape": "S41" - } - } - } - }, - "DetachLoadBalancerTargetGroups": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "TargetGroupARNs" - ], - "members": { - "AutoScalingGroupName": {}, - "TargetGroupARNs": { - "shape": "S6" - } - } - }, - "output": { - "resultWrapper": "DetachLoadBalancerTargetGroupsResult", - "type": "structure", - "members": {} - } - }, - "DetachLoadBalancers": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "LoadBalancerNames" - ], - "members": { - "AutoScalingGroupName": {}, - "LoadBalancerNames": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "DetachLoadBalancersResult", - "type": "structure", - "members": {} - } - }, - "DisableMetricsCollection": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName" - ], - "members": { - "AutoScalingGroupName": {}, - "Metrics": { - "shape": "S4r" - } - } - } - }, - "EnableMetricsCollection": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "Granularity" - ], - "members": { - "AutoScalingGroupName": {}, - "Metrics": { - "shape": "S4r" - }, - "Granularity": {} - } - } - }, - "EnterStandby": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "ShouldDecrementDesiredCapacity" - ], - "members": { - "InstanceIds": { - "shape": "S2" - }, - "AutoScalingGroupName": {}, - "ShouldDecrementDesiredCapacity": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "EnterStandbyResult", - "type": "structure", - "members": { - "Activities": { - "shape": "S41" - } - } - } - }, - "ExecutePolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyName" - ], - "members": { - "AutoScalingGroupName": {}, - "PolicyName": {}, - "HonorCooldown": { - "type": "boolean" - }, - "MetricValue": { - "type": "double" - }, - "BreachThreshold": { - "type": "double" - } - } - } - }, - "ExitStandby": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName" - ], - "members": { - "InstanceIds": { - "shape": "S2" - }, - "AutoScalingGroupName": {} - } - }, - "output": { - "resultWrapper": "ExitStandbyResult", - "type": "structure", - "members": { - "Activities": { - "shape": "S41" - } - } - } - }, - "PutLifecycleHook": { - "input": { - "type": "structure", - "required": [ - "LifecycleHookName", - "AutoScalingGroupName" - ], - "members": { - "LifecycleHookName": {}, - "AutoScalingGroupName": {}, - "LifecycleTransition": {}, - "RoleARN": {}, - "NotificationTargetARN": {}, - "NotificationMetadata": {}, - "HeartbeatTimeout": { - "type": "integer" - }, - "DefaultResult": {} - } - }, - "output": { - "resultWrapper": "PutLifecycleHookResult", - "type": "structure", - "members": {} - } - }, - "PutNotificationConfiguration": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "TopicARN", - "NotificationTypes" - ], - "members": { - "AutoScalingGroupName": {}, - "TopicARN": {}, - "NotificationTypes": { - "shape": "S2m" - } - } - } - }, - "PutScalingPolicy": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "PolicyName", - "AdjustmentType" - ], - "members": { - "AutoScalingGroupName": {}, - "PolicyName": {}, - "PolicyType": {}, - "AdjustmentType": {}, - "MinAdjustmentStep": { - "shape": "S3p" - }, - "MinAdjustmentMagnitude": { - "type": "integer" - }, - "ScalingAdjustment": { - "type": "integer" - }, - "Cooldown": { - "type": "integer" - }, - "MetricAggregationType": {}, - "StepAdjustments": { - "shape": "S3s" - }, - "EstimatedInstanceWarmup": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PutScalingPolicyResult", - "type": "structure", - "members": { - "PolicyARN": {} - } - } - }, - "PutScheduledUpdateGroupAction": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "ScheduledActionName" - ], - "members": { - "AutoScalingGroupName": {}, - "ScheduledActionName": {}, - "Time": { - "type": "timestamp" - }, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Recurrence": {}, - "MinSize": { - "type": "integer" - }, - "MaxSize": { - "type": "integer" - }, - "DesiredCapacity": { - "type": "integer" - } - } - } - }, - "RecordLifecycleActionHeartbeat": { - "input": { - "type": "structure", - "required": [ - "LifecycleHookName", - "AutoScalingGroupName" - ], - "members": { - "LifecycleHookName": {}, - "AutoScalingGroupName": {}, - "LifecycleActionToken": {}, - "InstanceId": {} - } - }, - "output": { - "resultWrapper": "RecordLifecycleActionHeartbeatResult", - "type": "structure", - "members": {} - } - }, - "ResumeProcesses": { - "input": { - "shape": "S58" - } - }, - "SetDesiredCapacity": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName", - "DesiredCapacity" - ], - "members": { - "AutoScalingGroupName": {}, - "DesiredCapacity": { - "type": "integer" - }, - "HonorCooldown": { - "type": "boolean" - } - } - } - }, - "SetInstanceHealth": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "HealthStatus" - ], - "members": { - "InstanceId": {}, - "HealthStatus": {}, - "ShouldRespectGracePeriod": { - "type": "boolean" - } - } - } - }, - "SetInstanceProtection": { - "input": { - "type": "structure", - "required": [ - "InstanceIds", - "AutoScalingGroupName", - "ProtectedFromScaleIn" - ], - "members": { - "InstanceIds": { - "shape": "S2" - }, - "AutoScalingGroupName": {}, - "ProtectedFromScaleIn": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "SetInstanceProtectionResult", - "type": "structure", - "members": {} - } - }, - "SuspendProcesses": { - "input": { - "shape": "S58" - } - }, - "TerminateInstanceInAutoScalingGroup": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "ShouldDecrementDesiredCapacity" - ], - "members": { - "InstanceId": {}, - "ShouldDecrementDesiredCapacity": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "TerminateInstanceInAutoScalingGroupResult", - "type": "structure", - "members": { - "Activity": { - "shape": "S42" - } - } - } - }, - "UpdateAutoScalingGroup": { - "input": { - "type": "structure", - "required": [ - "AutoScalingGroupName" - ], - "members": { - "AutoScalingGroupName": {}, - "LaunchConfigurationName": {}, - "MinSize": { - "type": "integer" - }, - "MaxSize": { - "type": "integer" - }, - "DesiredCapacity": { - "type": "integer" - }, - "DefaultCooldown": { - "type": "integer" - }, - "AvailabilityZones": { - "shape": "Sn" - }, - "HealthCheckType": {}, - "HealthCheckGracePeriod": { - "type": "integer" - }, - "PlacementGroup": {}, - "VPCZoneIdentifier": {}, - "TerminationPolicies": { - "shape": "Sr" - }, - "NewInstancesProtectedFromScaleIn": { - "type": "boolean" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S6": { - "type": "list", - "member": {} - }, - "Sa": { - "type": "list", - "member": {} - }, - "Sn": { - "type": "list", - "member": {} - }, - "Sr": { - "type": "list", - "member": {} - }, - "Su": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "ResourceId": {}, - "ResourceType": {}, - "Key": {}, - "Value": {}, - "PropagateAtLaunch": { - "type": "boolean" - } - } - } - }, - "S11": { - "type": "list", - "member": {} - }, - "S12": { - "type": "list", - "member": {} - }, - "S14": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "DeviceName" - ], - "members": { - "VirtualName": {}, - "DeviceName": {}, - "Ebs": { - "type": "structure", - "members": { - "SnapshotId": {}, - "VolumeSize": { - "type": "integer" - }, - "VolumeType": {}, - "DeleteOnTermination": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "Encrypted": { - "type": "boolean" - } - } - }, - "NoDevice": { - "type": "boolean" - } - } - } - }, - "S1d": { - "type": "structure", - "members": { - "Enabled": { - "type": "boolean" - } - } - }, - "S22": { - "type": "list", - "member": {} - }, - "S2f": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceId": {}, - "ResourceType": {}, - "Key": {}, - "Value": {}, - "PropagateAtLaunch": { - "type": "boolean" - } - } - } - }, - "S2m": { - "type": "list", - "member": {} - }, - "S3p": { - "type": "integer", - "deprecated": true - }, - "S3s": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ScalingAdjustment" - ], - "members": { - "MetricIntervalLowerBound": { - "type": "double" - }, - "MetricIntervalUpperBound": { - "type": "double" - }, - "ScalingAdjustment": { - "type": "integer" - } - } - } - }, - "S41": { - "type": "list", - "member": { - "shape": "S42" - } - }, - "S42": { - "type": "structure", - "required": [ - "ActivityId", - "AutoScalingGroupName", - "Cause", - "StartTime", - "StatusCode" - ], - "members": { - "ActivityId": {}, - "AutoScalingGroupName": {}, - "Description": {}, - "Cause": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "StatusCode": {}, - "StatusMessage": {}, - "Progress": { - "type": "integer" - }, - "Details": {} - } - }, - "S4r": { - "type": "list", - "member": {} - }, - "S58": { - "type": "structure", - "required": [ - "AutoScalingGroupName" - ], - "members": { - "AutoScalingGroupName": {}, - "ScalingProcesses": { - "type": "list", - "member": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json b/src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json deleted file mode 100644 index 1b83859..0000000 --- a/src/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "pagination": { - "DescribeAutoScalingGroups": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "AutoScalingGroups" - }, - "DescribeAutoScalingInstances": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "AutoScalingInstances" - }, - "DescribeLaunchConfigurations": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "LaunchConfigurations" - }, - "DescribeNotificationConfigurations": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "NotificationConfigurations" - }, - "DescribePolicies": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "ScalingPolicies" - }, - "DescribeScalingActivities": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "Activities" - }, - "DescribeScheduledActions": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "ScheduledUpdateGroupActions" - }, - "DescribeTags": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "Tags" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/batch-2016-08-10.examples.json b/src/node_modules/aws-sdk/apis/batch-2016-08-10.examples.json deleted file mode 100644 index ddaaf42..0000000 --- a/src/node_modules/aws-sdk/apis/batch-2016-08-10.examples.json +++ /dev/null @@ -1,589 +0,0 @@ -{ - "version": "1.0", - "examples": { - "CancelJob": [ - { - "input": { - "jobId": "1d828f65-7a4d-42e8-996d-3b900ed59dc4", - "reason": "Cancelling job." - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example cancels a job with the specified job ID.", - "id": "to-cancel-a-job-1481152314733", - "title": "To cancel a job" - } - ], - "CreateComputeEnvironment": [ - { - "input": { - "type": "MANAGED", - "computeEnvironmentName": "C4OnDemand", - "computeResources": { - "type": "EC2", - "desiredvCpus": 48, - "ec2KeyPair": "id_rsa", - "instanceRole": "ecsInstanceRole", - "instanceTypes": [ - "c4.large", - "c4.xlarge", - "c4.2xlarge", - "c4.4xlarge", - "c4.8xlarge" - ], - "maxvCpus": 128, - "minvCpus": 0, - "securityGroupIds": [ - "sg-cf5093b2" - ], - "subnets": [ - "subnet-220c0e0a", - "subnet-1a95556d", - "subnet-978f6dce" - ], - "tags": { - "Name": "Batch Instance - C4OnDemand" - } - }, - "serviceRole": "arn:aws:iam::012345678910:role/AWSBatchServiceRole", - "state": "ENABLED" - }, - "output": { - "computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand", - "computeEnvironmentName": "C4OnDemand" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a managed compute environment with specific C4 instance types that are launched on demand. The compute environment is called C4OnDemand.", - "id": "to-create-a-managed-ec2-compute-environment-1481152600017", - "title": "To create a managed EC2 compute environment" - }, - { - "input": { - "type": "MANAGED", - "computeEnvironmentName": "M4Spot", - "computeResources": { - "type": "SPOT", - "bidPercentage": 20, - "desiredvCpus": 4, - "ec2KeyPair": "id_rsa", - "instanceRole": "ecsInstanceRole", - "instanceTypes": [ - "m4" - ], - "maxvCpus": 128, - "minvCpus": 0, - "securityGroupIds": [ - "sg-cf5093b2" - ], - "spotIamFleetRole": "arn:aws:iam::012345678910:role/aws-ec2-spot-fleet-role", - "subnets": [ - "subnet-220c0e0a", - "subnet-1a95556d", - "subnet-978f6dce" - ], - "tags": { - "Name": "Batch Instance - M4Spot" - } - }, - "serviceRole": "arn:aws:iam::012345678910:role/AWSBatchServiceRole", - "state": "ENABLED" - }, - "output": { - "computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/M4Spot", - "computeEnvironmentName": "M4Spot" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a managed compute environment with the M4 instance type that is launched when the Spot bid price is at or below 20% of the On-Demand price for the instance type. The compute environment is called M4Spot.", - "id": "to-create-a-managed-ec2-spot-compute-environment-1481152844190", - "title": "To create a managed EC2 Spot compute environment" - } - ], - "CreateJobQueue": [ - { - "input": { - "computeEnvironmentOrder": [ - { - "computeEnvironment": "M4Spot", - "order": 1 - } - ], - "jobQueueName": "LowPriority", - "priority": 10, - "state": "ENABLED" - }, - "output": { - "jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/LowPriority", - "jobQueueName": "LowPriority" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a job queue called LowPriority that uses the M4Spot compute environment.", - "id": "to-create-a-job-queue-with-a-single-compute-environment-1481152967946", - "title": "To create a job queue with a single compute environment" - }, - { - "input": { - "computeEnvironmentOrder": [ - { - "computeEnvironment": "C4OnDemand", - "order": 1 - }, - { - "computeEnvironment": "M4Spot", - "order": 2 - } - ], - "jobQueueName": "HighPriority", - "priority": 1, - "state": "ENABLED" - }, - "output": { - "jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority", - "jobQueueName": "HighPriority" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a job queue called HighPriority that uses the C4OnDemand compute environment with an order of 1 and the M4Spot compute environment with an order of 2.", - "id": "to-create-a-job-queue-with-multiple-compute-environments-1481153027051", - "title": "To create a job queue with multiple compute environments" - } - ], - "DeleteComputeEnvironment": [ - { - "input": { - "computeEnvironment": "P2OnDemand" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the P2OnDemand compute environment.", - "id": "to-delete-a-compute-environment-1481153105644", - "title": "To delete a compute environment" - } - ], - "DeleteJobQueue": [ - { - "input": { - "jobQueue": "GPGPU" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the GPGPU job queue.", - "id": "to-delete-a-job-queue-1481153508134", - "title": "To delete a job queue" - } - ], - "DeregisterJobDefinition": [ - { - "input": { - "jobDefinition": "sleep10" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deregisters a job definition called sleep10.", - "id": "to-deregister-a-job-definition-1481153579565", - "title": "To deregister a job definition" - } - ], - "DescribeComputeEnvironments": [ - { - "input": { - "computeEnvironments": [ - "P2OnDemand" - ] - }, - "output": { - "computeEnvironments": [ - { - "type": "MANAGED", - "computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/P2OnDemand", - "computeEnvironmentName": "P2OnDemand", - "computeResources": { - "type": "EC2", - "desiredvCpus": 48, - "ec2KeyPair": "id_rsa", - "instanceRole": "ecsInstanceRole", - "instanceTypes": [ - "p2" - ], - "maxvCpus": 128, - "minvCpus": 0, - "securityGroupIds": [ - "sg-cf5093b2" - ], - "subnets": [ - "subnet-220c0e0a", - "subnet-1a95556d", - "subnet-978f6dce" - ], - "tags": { - "Name": "Batch Instance - P2OnDemand" - } - }, - "ecsClusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/P2OnDemand_Batch_2c06f29d-d1fe-3a49-879d-42394c86effc", - "serviceRole": "arn:aws:iam::012345678910:role/AWSBatchServiceRole", - "state": "ENABLED", - "status": "VALID", - "statusReason": "ComputeEnvironment Healthy" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the P2OnDemand compute environment.", - "id": "to-describe-a-compute-environment-1481153713334", - "title": "To describe a compute environment" - } - ], - "DescribeJobDefinitions": [ - { - "input": { - "status": "ACTIVE" - }, - "output": { - "jobDefinitions": [ - { - "type": "container", - "containerProperties": { - "command": [ - "sleep", - "60" - ], - "environment": [ - - ], - "image": "busybox", - "memory": 128, - "mountPoints": [ - - ], - "ulimits": [ - - ], - "vcpus": 1, - "volumes": [ - - ] - }, - "jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep60:1", - "jobDefinitionName": "sleep60", - "revision": 1, - "status": "ACTIVE" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes all of your active job definitions.", - "id": "to-describe-active-job-definitions-1481153895831", - "title": "To describe active job definitions" - } - ], - "DescribeJobQueues": [ - { - "input": { - "jobQueues": [ - "HighPriority" - ] - }, - "output": { - "jobQueues": [ - { - "computeEnvironmentOrder": [ - { - "computeEnvironment": "arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand", - "order": 1 - } - ], - "jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority", - "jobQueueName": "HighPriority", - "priority": 1, - "state": "ENABLED", - "status": "VALID", - "statusReason": "JobQueue Healthy" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the HighPriority job queue.", - "id": "to-describe-a-job-queue-1481153995804", - "title": "To describe a job queue" - } - ], - "DescribeJobs": [ - { - "input": { - "jobs": [ - "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9" - ] - }, - "output": { - "jobs": [ - { - "container": { - "command": [ - "sleep", - "60" - ], - "containerInstanceArn": "arn:aws:ecs:us-east-1:012345678910:container-instance/5406d7cd-58bd-4b8f-9936-48d7c6b1526c", - "environment": [ - - ], - "exitCode": 0, - "image": "busybox", - "memory": 128, - "mountPoints": [ - - ], - "ulimits": [ - - ], - "vcpus": 1, - "volumes": [ - - ] - }, - "createdAt": 1480460782010, - "dependsOn": [ - - ], - "jobDefinition": "sleep60", - "jobId": "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9", - "jobName": "example", - "jobQueue": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority", - "parameters": { - }, - "startedAt": 1480460816500, - "status": "SUCCEEDED", - "stoppedAt": 1480460880699 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes a job with the specified job ID.", - "id": "to-describe-a-specific-job-1481154090490", - "title": "To describe a specific job" - } - ], - "ListJobs": [ - { - "input": { - "jobQueue": "HighPriority" - }, - "output": { - "jobSummaryList": [ - { - "jobId": "e66ff5fd-a1ff-4640-b1a2-0b0a142f49bb", - "jobName": "example" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists the running jobs in the HighPriority job queue.", - "id": "to-list-running-jobs-1481154202164", - "title": "To list running jobs" - }, - { - "input": { - "jobQueue": "HighPriority", - "jobStatus": "SUBMITTED" - }, - "output": { - "jobSummaryList": [ - { - "jobId": "68f0c163-fbd4-44e6-9fd1-25b14a434786", - "jobName": "example" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists jobs in the HighPriority job queue that are in the SUBMITTED job status.", - "id": "to-list-submitted-jobs-1481154251623", - "title": "To list submitted jobs" - } - ], - "RegisterJobDefinition": [ - { - "input": { - "type": "container", - "containerProperties": { - "command": [ - "sleep", - "10" - ], - "image": "busybox", - "memory": 128, - "vcpus": 1 - }, - "jobDefinitionName": "sleep10" - }, - "output": { - "jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep10:1", - "jobDefinitionName": "sleep10", - "revision": 1 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example registers a job definition for a simple container job.", - "id": "to-register-a-job-definition-1481154325325", - "title": "To register a job definition" - } - ], - "SubmitJob": [ - { - "input": { - "jobDefinition": "sleep60", - "jobName": "example", - "jobQueue": "HighPriority" - }, - "output": { - "jobId": "876da822-4198-45f2-a252-6cea32512ea8", - "jobName": "example" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example submits a simple container job called example to the HighPriority job queue.", - "id": "to-submit-a-job-to-a-queue-1481154481673", - "title": "To submit a job to a queue" - } - ], - "TerminateJob": [ - { - "input": { - "jobId": "61e743ed-35e4-48da-b2de-5c8333821c84", - "reason": "Terminating job." - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example terminates a job with the specified job ID.", - "id": "to-terminate-a-job-1481154558276", - "title": "To terminate a job" - } - ], - "UpdateComputeEnvironment": [ - { - "input": { - "computeEnvironment": "P2OnDemand", - "state": "DISABLED" - }, - "output": { - "computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/P2OnDemand", - "computeEnvironmentName": "P2OnDemand" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example disables the P2OnDemand compute environment so it can be deleted.", - "id": "to-update-a-compute-environment-1481154702731", - "title": "To update a compute environment" - } - ], - "UpdateJobQueue": [ - { - "input": { - "jobQueue": "GPGPU", - "state": "DISABLED" - }, - "output": { - "jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/GPGPU", - "jobQueueName": "GPGPU" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example disables a job queue so that it can be deleted.", - "id": "to-update-a-job-queue-1481154806981", - "title": "To update a job queue" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/batch-2016-08-10.min.json b/src/node_modules/aws-sdk/apis/batch-2016-08-10.min.json deleted file mode 100644 index e1162f2..0000000 --- a/src/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +++ /dev/null @@ -1,840 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-08-10", - "endpointPrefix": "batch", - "jsonVersion": "1.1", - "protocol": "rest-json", - "serviceAbbreviation": "AWS Batch", - "serviceFullName": "AWS Batch", - "signatureVersion": "v4", - "uid": "batch-2016-08-10" - }, - "operations": { - "CancelJob": { - "http": { - "requestUri": "/v1/canceljob" - }, - "input": { - "type": "structure", - "required": [ - "jobId", - "reason" - ], - "members": { - "jobId": {}, - "reason": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateComputeEnvironment": { - "http": { - "requestUri": "/v1/createcomputeenvironment" - }, - "input": { - "type": "structure", - "required": [ - "computeEnvironmentName", - "type", - "serviceRole" - ], - "members": { - "computeEnvironmentName": {}, - "type": {}, - "state": {}, - "computeResources": { - "shape": "S7" - }, - "serviceRole": {} - } - }, - "output": { - "type": "structure", - "members": { - "computeEnvironmentName": {}, - "computeEnvironmentArn": {} - } - } - }, - "CreateJobQueue": { - "http": { - "requestUri": "/v1/createjobqueue" - }, - "input": { - "type": "structure", - "required": [ - "jobQueueName", - "priority", - "computeEnvironmentOrder" - ], - "members": { - "jobQueueName": {}, - "state": {}, - "priority": { - "type": "integer" - }, - "computeEnvironmentOrder": { - "shape": "Sf" - } - } - }, - "output": { - "type": "structure", - "required": [ - "jobQueueName", - "jobQueueArn" - ], - "members": { - "jobQueueName": {}, - "jobQueueArn": {} - } - } - }, - "DeleteComputeEnvironment": { - "http": { - "requestUri": "/v1/deletecomputeenvironment" - }, - "input": { - "type": "structure", - "required": [ - "computeEnvironment" - ], - "members": { - "computeEnvironment": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteJobQueue": { - "http": { - "requestUri": "/v1/deletejobqueue" - }, - "input": { - "type": "structure", - "required": [ - "jobQueue" - ], - "members": { - "jobQueue": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeregisterJobDefinition": { - "http": { - "requestUri": "/v1/deregisterjobdefinition" - }, - "input": { - "type": "structure", - "required": [ - "jobDefinition" - ], - "members": { - "jobDefinition": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeComputeEnvironments": { - "http": { - "requestUri": "/v1/describecomputeenvironments" - }, - "input": { - "type": "structure", - "members": { - "computeEnvironments": { - "shape": "Sa" - }, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "computeEnvironments": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "computeEnvironmentName", - "computeEnvironmentArn", - "ecsClusterArn" - ], - "members": { - "computeEnvironmentName": {}, - "computeEnvironmentArn": {}, - "ecsClusterArn": {}, - "type": {}, - "state": {}, - "status": {}, - "statusReason": {}, - "computeResources": { - "shape": "S7" - }, - "serviceRole": {} - } - } - }, - "nextToken": {} - } - } - }, - "DescribeJobDefinitions": { - "http": { - "requestUri": "/v1/describejobdefinitions" - }, - "input": { - "type": "structure", - "members": { - "jobDefinitions": { - "shape": "Sa" - }, - "maxResults": { - "type": "integer" - }, - "jobDefinitionName": {}, - "status": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "jobDefinitions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "jobDefinitionName", - "jobDefinitionArn", - "revision", - "type" - ], - "members": { - "jobDefinitionName": {}, - "jobDefinitionArn": {}, - "revision": { - "type": "integer" - }, - "status": {}, - "type": {}, - "parameters": { - "shape": "Sx" - }, - "retryStrategy": { - "shape": "Sy" - }, - "containerProperties": { - "shape": "Sz" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeJobQueues": { - "http": { - "requestUri": "/v1/describejobqueues" - }, - "input": { - "type": "structure", - "members": { - "jobQueues": { - "shape": "Sa" - }, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "jobQueues": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "jobQueueName", - "jobQueueArn", - "state", - "priority", - "computeEnvironmentOrder" - ], - "members": { - "jobQueueName": {}, - "jobQueueArn": {}, - "state": {}, - "status": {}, - "statusReason": {}, - "priority": { - "type": "integer" - }, - "computeEnvironmentOrder": { - "shape": "Sf" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeJobs": { - "http": { - "requestUri": "/v1/describejobs" - }, - "input": { - "type": "structure", - "required": [ - "jobs" - ], - "members": { - "jobs": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "jobs": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "jobName", - "jobId", - "jobQueue", - "status", - "startedAt", - "jobDefinition" - ], - "members": { - "jobName": {}, - "jobId": {}, - "jobQueue": {}, - "status": {}, - "attempts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "container": { - "type": "structure", - "members": { - "containerInstanceArn": {}, - "taskArn": {}, - "exitCode": { - "type": "integer" - }, - "reason": {} - } - }, - "startedAt": { - "type": "long" - }, - "stoppedAt": { - "type": "long" - }, - "statusReason": {} - } - } - }, - "statusReason": {}, - "createdAt": { - "type": "long" - }, - "retryStrategy": { - "shape": "Sy" - }, - "startedAt": { - "type": "long" - }, - "stoppedAt": { - "type": "long" - }, - "dependsOn": { - "shape": "S1o" - }, - "jobDefinition": {}, - "parameters": { - "shape": "Sx" - }, - "container": { - "type": "structure", - "members": { - "image": {}, - "vcpus": { - "type": "integer" - }, - "memory": { - "type": "integer" - }, - "command": { - "shape": "Sa" - }, - "jobRoleArn": {}, - "volumes": { - "shape": "S10" - }, - "environment": { - "shape": "S13" - }, - "mountPoints": { - "shape": "S15" - }, - "readonlyRootFilesystem": { - "type": "boolean" - }, - "ulimits": { - "shape": "S18" - }, - "privileged": { - "type": "boolean" - }, - "user": {}, - "exitCode": { - "type": "integer" - }, - "reason": {}, - "containerInstanceArn": {}, - "taskArn": {} - } - } - } - } - } - } - } - }, - "ListJobs": { - "http": { - "requestUri": "/v1/listjobs" - }, - "input": { - "type": "structure", - "required": [ - "jobQueue" - ], - "members": { - "jobQueue": {}, - "jobStatus": {}, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "jobSummaryList" - ], - "members": { - "jobSummaryList": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "jobId", - "jobName" - ], - "members": { - "jobId": {}, - "jobName": {} - } - } - }, - "nextToken": {} - } - } - }, - "RegisterJobDefinition": { - "http": { - "requestUri": "/v1/registerjobdefinition" - }, - "input": { - "type": "structure", - "required": [ - "jobDefinitionName", - "type" - ], - "members": { - "jobDefinitionName": {}, - "type": {}, - "parameters": { - "shape": "Sx" - }, - "containerProperties": { - "shape": "Sz" - }, - "retryStrategy": { - "shape": "Sy" - } - } - }, - "output": { - "type": "structure", - "required": [ - "jobDefinitionName", - "jobDefinitionArn", - "revision" - ], - "members": { - "jobDefinitionName": {}, - "jobDefinitionArn": {}, - "revision": { - "type": "integer" - } - } - } - }, - "SubmitJob": { - "http": { - "requestUri": "/v1/submitjob" - }, - "input": { - "type": "structure", - "required": [ - "jobName", - "jobQueue", - "jobDefinition" - ], - "members": { - "jobName": {}, - "jobQueue": {}, - "dependsOn": { - "shape": "S1o" - }, - "jobDefinition": {}, - "parameters": { - "shape": "Sx" - }, - "containerOverrides": { - "type": "structure", - "members": { - "vcpus": { - "type": "integer" - }, - "memory": { - "type": "integer" - }, - "command": { - "shape": "Sa" - }, - "environment": { - "shape": "S13" - } - } - }, - "retryStrategy": { - "shape": "Sy" - } - } - }, - "output": { - "type": "structure", - "required": [ - "jobName", - "jobId" - ], - "members": { - "jobName": {}, - "jobId": {} - } - } - }, - "TerminateJob": { - "http": { - "requestUri": "/v1/terminatejob" - }, - "input": { - "type": "structure", - "required": [ - "jobId", - "reason" - ], - "members": { - "jobId": {}, - "reason": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateComputeEnvironment": { - "http": { - "requestUri": "/v1/updatecomputeenvironment" - }, - "input": { - "type": "structure", - "required": [ - "computeEnvironment" - ], - "members": { - "computeEnvironment": {}, - "state": {}, - "computeResources": { - "type": "structure", - "members": { - "minvCpus": { - "type": "integer" - }, - "maxvCpus": { - "type": "integer" - }, - "desiredvCpus": { - "type": "integer" - } - } - }, - "serviceRole": {} - } - }, - "output": { - "type": "structure", - "members": { - "computeEnvironmentName": {}, - "computeEnvironmentArn": {} - } - } - }, - "UpdateJobQueue": { - "http": { - "requestUri": "/v1/updatejobqueue" - }, - "input": { - "type": "structure", - "required": [ - "jobQueue" - ], - "members": { - "jobQueue": {}, - "state": {}, - "priority": { - "type": "integer" - }, - "computeEnvironmentOrder": { - "shape": "Sf" - } - } - }, - "output": { - "type": "structure", - "members": { - "jobQueueName": {}, - "jobQueueArn": {} - } - } - } - }, - "shapes": { - "S7": { - "type": "structure", - "required": [ - "type", - "minvCpus", - "maxvCpus", - "instanceTypes", - "subnets", - "securityGroupIds", - "instanceRole" - ], - "members": { - "type": {}, - "minvCpus": { - "type": "integer" - }, - "maxvCpus": { - "type": "integer" - }, - "desiredvCpus": { - "type": "integer" - }, - "instanceTypes": { - "shape": "Sa" - }, - "imageId": {}, - "subnets": { - "shape": "Sa" - }, - "securityGroupIds": { - "shape": "Sa" - }, - "ec2KeyPair": {}, - "instanceRole": {}, - "tags": { - "type": "map", - "key": {}, - "value": {} - }, - "bidPercentage": { - "type": "integer" - }, - "spotIamFleetRole": {} - } - }, - "Sa": { - "type": "list", - "member": {} - }, - "Sf": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "order", - "computeEnvironment" - ], - "members": { - "order": { - "type": "integer" - }, - "computeEnvironment": {} - } - } - }, - "Sx": { - "type": "map", - "key": {}, - "value": {} - }, - "Sy": { - "type": "structure", - "members": { - "attempts": { - "type": "integer" - } - } - }, - "Sz": { - "type": "structure", - "required": [ - "image", - "vcpus", - "memory" - ], - "members": { - "image": {}, - "vcpus": { - "type": "integer" - }, - "memory": { - "type": "integer" - }, - "command": { - "shape": "Sa" - }, - "jobRoleArn": {}, - "volumes": { - "shape": "S10" - }, - "environment": { - "shape": "S13" - }, - "mountPoints": { - "shape": "S15" - }, - "readonlyRootFilesystem": { - "type": "boolean" - }, - "privileged": { - "type": "boolean" - }, - "ulimits": { - "shape": "S18" - }, - "user": {} - } - }, - "S10": { - "type": "list", - "member": { - "type": "structure", - "members": { - "host": { - "type": "structure", - "members": { - "sourcePath": {} - } - }, - "name": {} - } - } - }, - "S13": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "value": {} - } - } - }, - "S15": { - "type": "list", - "member": { - "type": "structure", - "members": { - "containerPath": {}, - "readOnly": { - "type": "boolean" - }, - "sourceVolume": {} - } - } - }, - "S18": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "hardLimit", - "name", - "softLimit" - ], - "members": { - "hardLimit": { - "type": "integer" - }, - "name": {}, - "softLimit": { - "type": "integer" - } - } - } - }, - "S1o": { - "type": "list", - "member": { - "type": "structure", - "members": { - "jobId": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/batch-2016-08-10.paginators.json b/src/node_modules/aws-sdk/apis/batch-2016-08-10.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/batch-2016-08-10.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json b/src/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json deleted file mode 100644 index ee0ec98..0000000 --- a/src/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +++ /dev/null @@ -1,466 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-10-20", - "endpointPrefix": "budgets", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "AWSBudgets", - "serviceFullName": "AWS Budgets", - "signatureVersion": "v4", - "targetPrefix": "AWSBudgetServiceGateway", - "uid": "budgets-2016-10-20" - }, - "operations": { - "CreateBudget": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "Budget" - ], - "members": { - "AccountId": {}, - "Budget": { - "shape": "S3" - }, - "NotificationsWithSubscribers": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Notification", - "Subscribers" - ], - "members": { - "Notification": { - "shape": "Sj" - }, - "Subscribers": { - "shape": "Sn" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateNotification": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "BudgetName", - "Notification", - "Subscribers" - ], - "members": { - "AccountId": {}, - "BudgetName": {}, - "Notification": { - "shape": "Sj" - }, - "Subscribers": { - "shape": "Sn" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateSubscriber": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "BudgetName", - "Notification", - "Subscriber" - ], - "members": { - "AccountId": {}, - "BudgetName": {}, - "Notification": { - "shape": "Sj" - }, - "Subscriber": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteBudget": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "BudgetName" - ], - "members": { - "AccountId": {}, - "BudgetName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteNotification": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "BudgetName", - "Notification" - ], - "members": { - "AccountId": {}, - "BudgetName": {}, - "Notification": { - "shape": "Sj" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteSubscriber": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "BudgetName", - "Notification", - "Subscriber" - ], - "members": { - "AccountId": {}, - "BudgetName": {}, - "Notification": { - "shape": "Sj" - }, - "Subscriber": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeBudget": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "BudgetName" - ], - "members": { - "AccountId": {}, - "BudgetName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Budget": { - "shape": "S3" - } - } - } - }, - "DescribeBudgets": { - "input": { - "type": "structure", - "required": [ - "AccountId" - ], - "members": { - "AccountId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Budgets": { - "type": "list", - "member": { - "shape": "S3" - } - }, - "NextToken": {} - } - } - }, - "DescribeNotificationsForBudget": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "BudgetName" - ], - "members": { - "AccountId": {}, - "BudgetName": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Notifications": { - "type": "list", - "member": { - "shape": "Sj" - } - }, - "NextToken": {} - } - } - }, - "DescribeSubscribersForNotification": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "BudgetName", - "Notification" - ], - "members": { - "AccountId": {}, - "BudgetName": {}, - "Notification": { - "shape": "Sj" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Subscribers": { - "shape": "Sn" - }, - "NextToken": {} - } - } - }, - "UpdateBudget": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "NewBudget" - ], - "members": { - "AccountId": {}, - "NewBudget": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateNotification": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "BudgetName", - "OldNotification", - "NewNotification" - ], - "members": { - "AccountId": {}, - "BudgetName": {}, - "OldNotification": { - "shape": "Sj" - }, - "NewNotification": { - "shape": "Sj" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateSubscriber": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "BudgetName", - "Notification", - "OldSubscriber", - "NewSubscriber" - ], - "members": { - "AccountId": {}, - "BudgetName": {}, - "Notification": { - "shape": "Sj" - }, - "OldSubscriber": { - "shape": "So" - }, - "NewSubscriber": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "required": [ - "BudgetName", - "BudgetLimit", - "CostTypes", - "TimeUnit", - "TimePeriod", - "BudgetType" - ], - "members": { - "BudgetName": {}, - "BudgetLimit": { - "shape": "S5" - }, - "CostFilters": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "CostTypes": { - "type": "structure", - "required": [ - "IncludeTax", - "IncludeSubscription", - "UseBlended" - ], - "members": { - "IncludeTax": { - "type": "boolean" - }, - "IncludeSubscription": { - "type": "boolean" - }, - "UseBlended": { - "type": "boolean" - } - } - }, - "TimeUnit": {}, - "TimePeriod": { - "type": "structure", - "required": [ - "Start", - "End" - ], - "members": { - "Start": { - "type": "timestamp" - }, - "End": { - "type": "timestamp" - } - } - }, - "CalculatedSpend": { - "type": "structure", - "required": [ - "ActualSpend" - ], - "members": { - "ActualSpend": { - "shape": "S5" - }, - "ForecastedSpend": { - "shape": "S5" - } - } - }, - "BudgetType": {} - } - }, - "S5": { - "type": "structure", - "required": [ - "Amount", - "Unit" - ], - "members": { - "Amount": {}, - "Unit": {} - } - }, - "Sj": { - "type": "structure", - "required": [ - "NotificationType", - "ComparisonOperator", - "Threshold" - ], - "members": { - "NotificationType": {}, - "ComparisonOperator": {}, - "Threshold": { - "type": "double" - } - } - }, - "Sn": { - "type": "list", - "member": { - "shape": "So" - } - }, - "So": { - "type": "structure", - "required": [ - "SubscriptionType", - "Address" - ], - "members": { - "SubscriptionType": {}, - "Address": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/budgets-2016-10-20.paginators.json b/src/node_modules/aws-sdk/apis/budgets-2016-10-20.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/budgets-2016-10-20.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.examples.json b/src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.min.json b/src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.min.json deleted file mode 100644 index 89e3a22..0000000 --- a/src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.min.json +++ /dev/null @@ -1,2504 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-05-10", - "endpointPrefix": "clouddirectory", - "protocol": "rest-json", - "serviceFullName": "Amazon CloudDirectory", - "signatureVersion": "v4", - "signingName": "clouddirectory", - "uid": "clouddirectory-2016-05-10" - }, - "operations": { - "AddFacetToObject": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/object/facets", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "SchemaFacet", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "SchemaFacet": { - "shape": "S3" - }, - "ObjectAttributeList": { - "shape": "S5" - }, - "ObjectReference": { - "shape": "Sf" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ApplySchema": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/schema/apply", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "PublishedSchemaArn", - "DirectoryArn" - ], - "members": { - "PublishedSchemaArn": {}, - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - } - } - }, - "output": { - "type": "structure", - "members": { - "AppliedSchemaArn": {}, - "DirectoryArn": {} - } - } - }, - "AttachObject": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/object/attach", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ParentReference", - "ChildReference", - "LinkName" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ParentReference": { - "shape": "Sf" - }, - "ChildReference": { - "shape": "Sf" - }, - "LinkName": {} - } - }, - "output": { - "type": "structure", - "members": { - "AttachedObjectIdentifier": {} - } - } - }, - "AttachPolicy": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/policy/attach", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "PolicyReference", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "PolicyReference": { - "shape": "Sf" - }, - "ObjectReference": { - "shape": "Sf" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AttachToIndex": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/index/attach", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "IndexReference", - "TargetReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "IndexReference": { - "shape": "Sf" - }, - "TargetReference": { - "shape": "Sf" - } - } - }, - "output": { - "type": "structure", - "members": { - "AttachedObjectIdentifier": {} - } - } - }, - "AttachTypedLink": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/typedlink/attach", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "SourceObjectReference", - "TargetObjectReference", - "TypedLinkFacet", - "Attributes" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "SourceObjectReference": { - "shape": "Sf" - }, - "TargetObjectReference": { - "shape": "Sf" - }, - "TypedLinkFacet": { - "shape": "St" - }, - "Attributes": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "TypedLinkSpecifier": { - "shape": "Sy" - } - } - } - }, - "BatchRead": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/batchread", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "Operations" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Operations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ListObjectAttributes": { - "type": "structure", - "required": [ - "ObjectReference" - ], - "members": { - "ObjectReference": { - "shape": "Sf" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "FacetFilter": { - "shape": "S3" - } - } - }, - "ListObjectChildren": { - "type": "structure", - "required": [ - "ObjectReference" - ], - "members": { - "ObjectReference": { - "shape": "Sf" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - } - } - } - }, - "ConsistencyLevel": { - "location": "header", - "locationName": "x-amz-consistency-level" - } - } - }, - "output": { - "type": "structure", - "members": { - "Responses": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SuccessfulResponse": { - "type": "structure", - "members": { - "ListObjectAttributes": { - "type": "structure", - "members": { - "Attributes": { - "shape": "S5" - }, - "NextToken": {} - } - }, - "ListObjectChildren": { - "type": "structure", - "members": { - "Children": { - "shape": "S1d" - }, - "NextToken": {} - } - } - } - }, - "ExceptionResponse": { - "type": "structure", - "members": { - "Type": {}, - "Message": {} - } - } - } - } - } - } - } - }, - "BatchWrite": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/batchwrite", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "Operations" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Operations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CreateObject": { - "type": "structure", - "required": [ - "SchemaFacet", - "ObjectAttributeList", - "ParentReference", - "LinkName", - "BatchReferenceName" - ], - "members": { - "SchemaFacet": { - "shape": "S1l" - }, - "ObjectAttributeList": { - "shape": "S5" - }, - "ParentReference": { - "shape": "Sf" - }, - "LinkName": {}, - "BatchReferenceName": {} - } - }, - "AttachObject": { - "type": "structure", - "required": [ - "ParentReference", - "ChildReference", - "LinkName" - ], - "members": { - "ParentReference": { - "shape": "Sf" - }, - "ChildReference": { - "shape": "Sf" - }, - "LinkName": {} - } - }, - "DetachObject": { - "type": "structure", - "required": [ - "ParentReference", - "LinkName", - "BatchReferenceName" - ], - "members": { - "ParentReference": { - "shape": "Sf" - }, - "LinkName": {}, - "BatchReferenceName": {} - } - }, - "UpdateObjectAttributes": { - "type": "structure", - "required": [ - "ObjectReference", - "AttributeUpdates" - ], - "members": { - "ObjectReference": { - "shape": "Sf" - }, - "AttributeUpdates": { - "shape": "S1q" - } - } - }, - "DeleteObject": { - "type": "structure", - "required": [ - "ObjectReference" - ], - "members": { - "ObjectReference": { - "shape": "Sf" - } - } - }, - "AddFacetToObject": { - "type": "structure", - "required": [ - "SchemaFacet", - "ObjectAttributeList", - "ObjectReference" - ], - "members": { - "SchemaFacet": { - "shape": "S3" - }, - "ObjectAttributeList": { - "shape": "S5" - }, - "ObjectReference": { - "shape": "Sf" - } - } - }, - "RemoveFacetFromObject": { - "type": "structure", - "required": [ - "SchemaFacet", - "ObjectReference" - ], - "members": { - "SchemaFacet": { - "shape": "S3" - }, - "ObjectReference": { - "shape": "Sf" - } - } - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "Responses": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CreateObject": { - "type": "structure", - "members": { - "ObjectIdentifier": {} - } - }, - "AttachObject": { - "type": "structure", - "members": { - "attachedObjectIdentifier": {} - } - }, - "DetachObject": { - "type": "structure", - "members": { - "detachedObjectIdentifier": {} - } - }, - "UpdateObjectAttributes": { - "type": "structure", - "members": { - "ObjectIdentifier": {} - } - }, - "DeleteObject": { - "type": "structure", - "members": {} - }, - "AddFacetToObject": { - "type": "structure", - "members": {} - }, - "RemoveFacetFromObject": { - "type": "structure", - "members": {} - } - } - } - } - } - } - }, - "CreateDirectory": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/directory/create", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Name", - "SchemaArn" - ], - "members": { - "Name": {}, - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - } - } - }, - "output": { - "type": "structure", - "required": [ - "DirectoryArn", - "Name", - "ObjectIdentifier", - "AppliedSchemaArn" - ], - "members": { - "DirectoryArn": {}, - "Name": {}, - "ObjectIdentifier": {}, - "AppliedSchemaArn": {} - } - } - }, - "CreateFacet": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/facet/create", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Name", - "ObjectType" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Name": {}, - "Attributes": { - "shape": "S2c" - }, - "ObjectType": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateIndex": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/index", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "OrderedIndexedAttributeList", - "IsUnique" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "OrderedIndexedAttributeList": { - "type": "list", - "member": { - "shape": "S7" - } - }, - "IsUnique": { - "type": "boolean" - }, - "ParentReference": { - "shape": "Sf" - }, - "LinkName": {} - } - }, - "output": { - "type": "structure", - "members": { - "ObjectIdentifier": {} - } - } - }, - "CreateObject": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/object", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "SchemaFacets" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "SchemaFacets": { - "shape": "S1l" - }, - "ObjectAttributeList": { - "shape": "S5" - }, - "ParentReference": { - "shape": "Sf" - }, - "LinkName": {} - } - }, - "output": { - "type": "structure", - "members": { - "ObjectIdentifier": {} - } - } - }, - "CreateSchema": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/schema/create", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "SchemaArn": {} - } - } - }, - "CreateTypedLinkFacet": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/typedlink/facet/create", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Facet" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Facet": { - "type": "structure", - "required": [ - "Name", - "Attributes", - "IdentityAttributeOrder" - ], - "members": { - "Name": {}, - "Attributes": { - "shape": "S32" - }, - "IdentityAttributeOrder": { - "shape": "S34" - } - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteDirectory": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/directory", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - } - } - }, - "output": { - "type": "structure", - "required": [ - "DirectoryArn" - ], - "members": { - "DirectoryArn": {} - } - } - }, - "DeleteFacet": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/facet/delete", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Name" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteObject": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/object/delete", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteSchema": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/schema", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - } - } - }, - "output": { - "type": "structure", - "members": { - "SchemaArn": {} - } - } - }, - "DeleteTypedLinkFacet": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/typedlink/facet/delete", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Name" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DetachFromIndex": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/index/detach", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "IndexReference", - "TargetReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "IndexReference": { - "shape": "Sf" - }, - "TargetReference": { - "shape": "Sf" - } - } - }, - "output": { - "type": "structure", - "members": { - "DetachedObjectIdentifier": {} - } - } - }, - "DetachObject": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/object/detach", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ParentReference", - "LinkName" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ParentReference": { - "shape": "Sf" - }, - "LinkName": {} - } - }, - "output": { - "type": "structure", - "members": { - "DetachedObjectIdentifier": {} - } - } - }, - "DetachPolicy": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/policy/detach", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "PolicyReference", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "PolicyReference": { - "shape": "Sf" - }, - "ObjectReference": { - "shape": "Sf" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DetachTypedLink": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/typedlink/detach", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "TypedLinkSpecifier" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "TypedLinkSpecifier": { - "shape": "Sy" - } - } - } - }, - "DisableDirectory": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/directory/disable", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - } - } - }, - "output": { - "type": "structure", - "required": [ - "DirectoryArn" - ], - "members": { - "DirectoryArn": {} - } - } - }, - "EnableDirectory": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/directory/enable", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - } - } - }, - "output": { - "type": "structure", - "required": [ - "DirectoryArn" - ], - "members": { - "DirectoryArn": {} - } - } - }, - "GetDirectory": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/directory/get", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Directory" - ], - "members": { - "Directory": { - "shape": "S3t" - } - } - } - }, - "GetFacet": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/facet", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Name" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Facet": { - "type": "structure", - "members": { - "Name": {}, - "ObjectType": {} - } - } - } - } - }, - "GetObjectInformation": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/object/information", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - }, - "ConsistencyLevel": { - "location": "header", - "locationName": "x-amz-consistency-level" - } - } - }, - "output": { - "type": "structure", - "members": { - "SchemaFacets": { - "shape": "S1l" - }, - "ObjectIdentifier": {} - } - } - }, - "GetSchemaAsJson": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/schema/json", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - } - } - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "Document": {} - } - } - }, - "GetTypedLinkFacetInformation": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/typedlink/facet/get", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Name" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityAttributeOrder": { - "shape": "S34" - } - } - } - }, - "ListAppliedSchemaArns": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/schema/applied", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn" - ], - "members": { - "DirectoryArn": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "SchemaArns": { - "shape": "S48" - }, - "NextToken": {} - } - } - }, - "ListAttachedIndices": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/object/indices", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "TargetReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "TargetReference": { - "shape": "Sf" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "ConsistencyLevel": { - "location": "header", - "locationName": "x-amz-consistency-level" - } - } - }, - "output": { - "type": "structure", - "members": { - "IndexAttachments": { - "shape": "S4b" - }, - "NextToken": {} - } - } - }, - "ListDevelopmentSchemaArns": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/schema/development", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "SchemaArns": { - "shape": "S48" - }, - "NextToken": {} - } - } - }, - "ListDirectories": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/directory/list", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "state": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Directories" - ], - "members": { - "Directories": { - "type": "list", - "member": { - "shape": "S3t" - } - }, - "NextToken": {} - } - } - }, - "ListFacetAttributes": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/facet/attributes", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Name" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Name": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "S2c" - }, - "NextToken": {} - } - } - }, - "ListFacetNames": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/facet/list", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "FacetNames": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "ListIncomingTypedLinks": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/typedlink/incoming", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - }, - "FilterAttributeRanges": { - "shape": "S4o" - }, - "FilterTypedLink": { - "shape": "St" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "ConsistencyLevel": {} - } - }, - "output": { - "type": "structure", - "members": { - "LinkSpecifiers": { - "shape": "S4t" - }, - "NextToken": {} - } - } - }, - "ListIndex": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/index/targets", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "IndexReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "RangesOnIndexedValues": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AttributeKey": { - "shape": "S7" - }, - "Range": { - "shape": "S4q" - } - } - } - }, - "IndexReference": { - "shape": "Sf" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "ConsistencyLevel": { - "location": "header", - "locationName": "x-amz-consistency-level" - } - } - }, - "output": { - "type": "structure", - "members": { - "IndexAttachments": { - "shape": "S4b" - }, - "NextToken": {} - } - } - }, - "ListObjectAttributes": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/object/attributes", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "ConsistencyLevel": { - "location": "header", - "locationName": "x-amz-consistency-level" - }, - "FacetFilter": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "S5" - }, - "NextToken": {} - } - } - }, - "ListObjectChildren": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/object/children", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "ConsistencyLevel": { - "location": "header", - "locationName": "x-amz-consistency-level" - } - } - }, - "output": { - "type": "structure", - "members": { - "Children": { - "shape": "S1d" - }, - "NextToken": {} - } - } - }, - "ListObjectParentPaths": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/object/parentpaths", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "PathToObjectIdentifiersList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Path": {}, - "ObjectIdentifiers": { - "shape": "S57" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListObjectParents": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/object/parent", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "ConsistencyLevel": { - "location": "header", - "locationName": "x-amz-consistency-level" - } - } - }, - "output": { - "type": "structure", - "members": { - "Parents": { - "type": "map", - "key": {}, - "value": {} - }, - "NextToken": {} - } - } - }, - "ListObjectPolicies": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/object/policy", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "ConsistencyLevel": { - "location": "header", - "locationName": "x-amz-consistency-level" - } - } - }, - "output": { - "type": "structure", - "members": { - "AttachedPolicyIds": { - "shape": "S57" - }, - "NextToken": {} - } - } - }, - "ListOutgoingTypedLinks": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/typedlink/outgoing", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - }, - "FilterAttributeRanges": { - "shape": "S4o" - }, - "FilterTypedLink": { - "shape": "St" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "ConsistencyLevel": {} - } - }, - "output": { - "type": "structure", - "members": { - "TypedLinkSpecifiers": { - "shape": "S4t" - }, - "NextToken": {} - } - } - }, - "ListPolicyAttachments": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/policy/attachment", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "PolicyReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "PolicyReference": { - "shape": "Sf" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "ConsistencyLevel": { - "location": "header", - "locationName": "x-amz-consistency-level" - } - } - }, - "output": { - "type": "structure", - "members": { - "ObjectIdentifiers": { - "shape": "S57" - }, - "NextToken": {} - } - } - }, - "ListPublishedSchemaArns": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/schema/published", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "SchemaArns": { - "shape": "S48" - }, - "NextToken": {} - } - } - }, - "ListTagsForResource": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/tags", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceArn" - ], - "members": { - "ResourceArn": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "S5m" - }, - "NextToken": {} - } - } - }, - "ListTypedLinkFacetAttributes": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/typedlink/facet/attributes", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Name" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Name": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "S32" - }, - "NextToken": {} - } - } - }, - "ListTypedLinkFacetNames": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/typedlink/facet/list", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "FacetNames": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "LookupPolicy": { - "http": { - "requestUri": "/amazonclouddirectory/2017-01-11/policy/lookup", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "PolicyToPathList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Path": {}, - "Policies": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyId": {}, - "ObjectIdentifier": {}, - "PolicyType": {} - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "PublishSchema": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/schema/publish", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DevelopmentSchemaArn", - "Version" - ], - "members": { - "DevelopmentSchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Version": {}, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "PublishedSchemaArn": {} - } - } - }, - "PutSchemaFromJson": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/schema/json", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Document" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Document": {} - } - }, - "output": { - "type": "structure", - "members": { - "Arn": {} - } - } - }, - "RemoveFacetFromObject": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/object/facets/delete", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "SchemaFacet", - "ObjectReference" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "SchemaFacet": { - "shape": "S3" - }, - "ObjectReference": { - "shape": "Sf" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "TagResource": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/tags/add", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "Tags" - ], - "members": { - "ResourceArn": {}, - "Tags": { - "shape": "S5m" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UntagResource": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/tags/remove", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "TagKeys" - ], - "members": { - "ResourceArn": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateFacet": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/facet", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Name" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Name": {}, - "AttributeUpdates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Attribute": { - "shape": "S2d" - }, - "Action": {} - } - } - }, - "ObjectType": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateObjectAttributes": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/object/update", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DirectoryArn", - "ObjectReference", - "AttributeUpdates" - ], - "members": { - "DirectoryArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "ObjectReference": { - "shape": "Sf" - }, - "AttributeUpdates": { - "shape": "S1q" - } - } - }, - "output": { - "type": "structure", - "members": { - "ObjectIdentifier": {} - } - } - }, - "UpdateSchema": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/schema/update", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Name" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "SchemaArn": {} - } - } - }, - "UpdateTypedLinkFacet": { - "http": { - "method": "PUT", - "requestUri": "/amazonclouddirectory/2017-01-11/typedlink/facet", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SchemaArn", - "Name", - "AttributeUpdates", - "IdentityAttributeOrder" - ], - "members": { - "SchemaArn": { - "location": "header", - "locationName": "x-amz-data-partition" - }, - "Name": {}, - "AttributeUpdates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Attribute", - "Action" - ], - "members": { - "Attribute": { - "shape": "S33" - }, - "Action": {} - } - } - }, - "IdentityAttributeOrder": { - "shape": "S34" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "members": { - "SchemaArn": {}, - "FacetName": {} - } - }, - "S5": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": { - "shape": "S7" - }, - "Value": { - "shape": "S9" - } - } - } - }, - "S7": { - "type": "structure", - "required": [ - "SchemaArn", - "FacetName", - "Name" - ], - "members": { - "SchemaArn": {}, - "FacetName": {}, - "Name": {} - } - }, - "S9": { - "type": "structure", - "members": { - "StringValue": {}, - "BinaryValue": { - "type": "blob" - }, - "BooleanValue": { - "type": "boolean" - }, - "NumberValue": {}, - "DatetimeValue": { - "type": "timestamp" - } - } - }, - "Sf": { - "type": "structure", - "members": { - "Selector": {} - } - }, - "St": { - "type": "structure", - "required": [ - "SchemaArn", - "TypedLinkName" - ], - "members": { - "SchemaArn": {}, - "TypedLinkName": {} - } - }, - "Sv": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AttributeName", - "Value" - ], - "members": { - "AttributeName": {}, - "Value": { - "shape": "S9" - } - } - } - }, - "Sy": { - "type": "structure", - "required": [ - "TypedLinkFacet", - "SourceObjectReference", - "TargetObjectReference", - "IdentityAttributeValues" - ], - "members": { - "TypedLinkFacet": { - "shape": "St" - }, - "SourceObjectReference": { - "shape": "Sf" - }, - "TargetObjectReference": { - "shape": "Sf" - }, - "IdentityAttributeValues": { - "shape": "Sv" - } - } - }, - "S1d": { - "type": "map", - "key": {}, - "value": {} - }, - "S1l": { - "type": "list", - "member": { - "shape": "S3" - } - }, - "S1q": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ObjectAttributeKey": { - "shape": "S7" - }, - "ObjectAttributeAction": { - "type": "structure", - "members": { - "ObjectAttributeActionType": {}, - "ObjectAttributeUpdateValue": { - "shape": "S9" - } - } - } - } - } - }, - "S2c": { - "type": "list", - "member": { - "shape": "S2d" - } - }, - "S2d": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "AttributeDefinition": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {}, - "DefaultValue": { - "shape": "S9" - }, - "IsImmutable": { - "type": "boolean" - }, - "Rules": { - "shape": "S2h" - } - } - }, - "AttributeReference": { - "type": "structure", - "required": [ - "TargetFacetName", - "TargetAttributeName" - ], - "members": { - "TargetFacetName": {}, - "TargetAttributeName": {} - } - }, - "RequiredBehavior": {} - } - }, - "S2h": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Type": {}, - "Parameters": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "S32": { - "type": "list", - "member": { - "shape": "S33" - } - }, - "S33": { - "type": "structure", - "required": [ - "Name", - "Type", - "RequiredBehavior" - ], - "members": { - "Name": {}, - "Type": {}, - "DefaultValue": { - "shape": "S9" - }, - "IsImmutable": { - "type": "boolean" - }, - "Rules": { - "shape": "S2h" - }, - "RequiredBehavior": {} - } - }, - "S34": { - "type": "list", - "member": {} - }, - "S3t": { - "type": "structure", - "members": { - "Name": {}, - "DirectoryArn": {}, - "State": {}, - "CreationDateTime": { - "type": "timestamp" - } - } - }, - "S48": { - "type": "list", - "member": {} - }, - "S4b": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IndexedAttributes": { - "shape": "S5" - }, - "ObjectIdentifier": {} - } - } - }, - "S4o": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Range" - ], - "members": { - "AttributeName": {}, - "Range": { - "shape": "S4q" - } - } - } - }, - "S4q": { - "type": "structure", - "required": [ - "StartMode", - "EndMode" - ], - "members": { - "StartMode": {}, - "StartValue": { - "shape": "S9" - }, - "EndMode": {}, - "EndValue": { - "shape": "S9" - } - } - }, - "S4t": { - "type": "list", - "member": { - "shape": "Sy" - } - }, - "S57": { - "type": "list", - "member": {} - }, - "S5m": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.paginators.json b/src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.paginators.json deleted file mode 100644 index d4164db..0000000 --- a/src/node_modules/aws-sdk/apis/clouddirectory-2016-05-10.paginators.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "pagination": { - "ListAppliedSchemaArns": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListAttachedIndices": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListDevelopmentSchemaArns": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListDirectories": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListFacetAttributes": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListFacetNames": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListIndex": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListObjectAttributes": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListObjectChildren": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListObjectParentPaths": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListObjectParents": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListObjectPolicies": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListPolicyAttachments": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListPublishedSchemaArns": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListTagsForResource": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListTypedLinkFacetAttributes": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListTypedLinkFacetNames": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "LookupPolicy": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.examples.json b/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json b/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json deleted file mode 100644 index c3d291a..0000000 --- a/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +++ /dev/null @@ -1,937 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2010-05-15", - "endpointPrefix": "cloudformation", - "protocol": "query", - "serviceFullName": "AWS CloudFormation", - "signatureVersion": "v4", - "uid": "cloudformation-2010-05-15", - "xmlNamespace": "http://cloudformation.amazonaws.com/doc/2010-05-15/" - }, - "operations": { - "CancelUpdateStack": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "ClientRequestToken": {} - } - } - }, - "ContinueUpdateRollback": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "RoleARN": {}, - "ResourcesToSkip": { - "type": "list", - "member": {} - }, - "ClientRequestToken": {} - } - }, - "output": { - "resultWrapper": "ContinueUpdateRollbackResult", - "type": "structure", - "members": {} - } - }, - "CreateChangeSet": { - "input": { - "type": "structure", - "required": [ - "StackName", - "ChangeSetName" - ], - "members": { - "StackName": {}, - "TemplateBody": {}, - "TemplateURL": {}, - "UsePreviousTemplate": { - "type": "boolean" - }, - "Parameters": { - "shape": "Se" - }, - "Capabilities": { - "shape": "Sj" - }, - "ResourceTypes": { - "shape": "Sl" - }, - "RoleARN": {}, - "NotificationARNs": { - "shape": "Sn" - }, - "Tags": { - "shape": "Sp" - }, - "ChangeSetName": {}, - "ClientToken": {}, - "Description": {}, - "ChangeSetType": {} - } - }, - "output": { - "resultWrapper": "CreateChangeSetResult", - "type": "structure", - "members": { - "Id": {}, - "StackId": {} - } - } - }, - "CreateStack": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "TemplateBody": {}, - "TemplateURL": {}, - "Parameters": { - "shape": "Se" - }, - "DisableRollback": { - "type": "boolean" - }, - "TimeoutInMinutes": { - "type": "integer" - }, - "NotificationARNs": { - "shape": "Sn" - }, - "Capabilities": { - "shape": "Sj" - }, - "ResourceTypes": { - "shape": "Sl" - }, - "RoleARN": {}, - "OnFailure": {}, - "StackPolicyBody": {}, - "StackPolicyURL": {}, - "Tags": { - "shape": "Sp" - }, - "ClientRequestToken": {} - } - }, - "output": { - "resultWrapper": "CreateStackResult", - "type": "structure", - "members": { - "StackId": {} - } - } - }, - "DeleteChangeSet": { - "input": { - "type": "structure", - "required": [ - "ChangeSetName" - ], - "members": { - "ChangeSetName": {}, - "StackName": {} - } - }, - "output": { - "resultWrapper": "DeleteChangeSetResult", - "type": "structure", - "members": {} - } - }, - "DeleteStack": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "RetainResources": { - "type": "list", - "member": {} - }, - "RoleARN": {}, - "ClientRequestToken": {} - } - } - }, - "DescribeAccountLimits": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeAccountLimitsResult", - "type": "structure", - "members": { - "AccountLimits": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": { - "type": "integer" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeChangeSet": { - "input": { - "type": "structure", - "required": [ - "ChangeSetName" - ], - "members": { - "ChangeSetName": {}, - "StackName": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeChangeSetResult", - "type": "structure", - "members": { - "ChangeSetName": {}, - "ChangeSetId": {}, - "StackId": {}, - "StackName": {}, - "Description": {}, - "Parameters": { - "shape": "Se" - }, - "CreationTime": { - "type": "timestamp" - }, - "ExecutionStatus": {}, - "Status": {}, - "StatusReason": {}, - "NotificationARNs": { - "shape": "Sn" - }, - "Capabilities": { - "shape": "Sj" - }, - "Tags": { - "shape": "Sp" - }, - "Changes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "ResourceChange": { - "type": "structure", - "members": { - "Action": {}, - "LogicalResourceId": {}, - "PhysicalResourceId": {}, - "ResourceType": {}, - "Replacement": {}, - "Scope": { - "type": "list", - "member": {} - }, - "Details": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Target": { - "type": "structure", - "members": { - "Attribute": {}, - "Name": {}, - "RequiresRecreation": {} - } - }, - "Evaluation": {}, - "ChangeSource": {}, - "CausingEntity": {} - } - } - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeStackEvents": { - "input": { - "type": "structure", - "members": { - "StackName": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeStackEventsResult", - "type": "structure", - "members": { - "StackEvents": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "StackId", - "EventId", - "StackName", - "Timestamp" - ], - "members": { - "StackId": {}, - "EventId": {}, - "StackName": {}, - "LogicalResourceId": {}, - "PhysicalResourceId": {}, - "ResourceType": {}, - "Timestamp": { - "type": "timestamp" - }, - "ResourceStatus": {}, - "ResourceStatusReason": {}, - "ResourceProperties": {}, - "ClientRequestToken": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeStackResource": { - "input": { - "type": "structure", - "required": [ - "StackName", - "LogicalResourceId" - ], - "members": { - "StackName": {}, - "LogicalResourceId": {} - } - }, - "output": { - "resultWrapper": "DescribeStackResourceResult", - "type": "structure", - "members": { - "StackResourceDetail": { - "type": "structure", - "required": [ - "LogicalResourceId", - "ResourceType", - "LastUpdatedTimestamp", - "ResourceStatus" - ], - "members": { - "StackName": {}, - "StackId": {}, - "LogicalResourceId": {}, - "PhysicalResourceId": {}, - "ResourceType": {}, - "LastUpdatedTimestamp": { - "type": "timestamp" - }, - "ResourceStatus": {}, - "ResourceStatusReason": {}, - "Description": {}, - "Metadata": {} - } - } - } - } - }, - "DescribeStackResources": { - "input": { - "type": "structure", - "members": { - "StackName": {}, - "LogicalResourceId": {}, - "PhysicalResourceId": {} - } - }, - "output": { - "resultWrapper": "DescribeStackResourcesResult", - "type": "structure", - "members": { - "StackResources": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "LogicalResourceId", - "ResourceType", - "Timestamp", - "ResourceStatus" - ], - "members": { - "StackName": {}, - "StackId": {}, - "LogicalResourceId": {}, - "PhysicalResourceId": {}, - "ResourceType": {}, - "Timestamp": { - "type": "timestamp" - }, - "ResourceStatus": {}, - "ResourceStatusReason": {}, - "Description": {} - } - } - } - } - } - }, - "DescribeStacks": { - "input": { - "type": "structure", - "members": { - "StackName": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeStacksResult", - "type": "structure", - "members": { - "Stacks": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "StackName", - "CreationTime", - "StackStatus" - ], - "members": { - "StackId": {}, - "StackName": {}, - "ChangeSetId": {}, - "Description": {}, - "Parameters": { - "shape": "Se" - }, - "CreationTime": { - "type": "timestamp" - }, - "LastUpdatedTime": { - "type": "timestamp" - }, - "StackStatus": {}, - "StackStatusReason": {}, - "DisableRollback": { - "type": "boolean" - }, - "NotificationARNs": { - "shape": "Sn" - }, - "TimeoutInMinutes": { - "type": "integer" - }, - "Capabilities": { - "shape": "Sj" - }, - "Outputs": { - "type": "list", - "member": { - "type": "structure", - "members": { - "OutputKey": {}, - "OutputValue": {}, - "Description": {} - } - } - }, - "RoleARN": {}, - "Tags": { - "shape": "Sp" - } - } - } - }, - "NextToken": {} - } - } - }, - "EstimateTemplateCost": { - "input": { - "type": "structure", - "members": { - "TemplateBody": {}, - "TemplateURL": {}, - "Parameters": { - "shape": "Se" - } - } - }, - "output": { - "resultWrapper": "EstimateTemplateCostResult", - "type": "structure", - "members": { - "Url": {} - } - } - }, - "ExecuteChangeSet": { - "input": { - "type": "structure", - "required": [ - "ChangeSetName" - ], - "members": { - "ChangeSetName": {}, - "StackName": {}, - "ClientRequestToken": {} - } - }, - "output": { - "resultWrapper": "ExecuteChangeSetResult", - "type": "structure", - "members": {} - } - }, - "GetStackPolicy": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {} - } - }, - "output": { - "resultWrapper": "GetStackPolicyResult", - "type": "structure", - "members": { - "StackPolicyBody": {} - } - } - }, - "GetTemplate": { - "input": { - "type": "structure", - "members": { - "StackName": {}, - "ChangeSetName": {}, - "TemplateStage": {} - } - }, - "output": { - "resultWrapper": "GetTemplateResult", - "type": "structure", - "members": { - "TemplateBody": {}, - "StagesAvailable": { - "type": "list", - "member": {} - } - } - } - }, - "GetTemplateSummary": { - "input": { - "type": "structure", - "members": { - "TemplateBody": {}, - "TemplateURL": {}, - "StackName": {} - } - }, - "output": { - "resultWrapper": "GetTemplateSummaryResult", - "type": "structure", - "members": { - "Parameters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ParameterKey": {}, - "DefaultValue": {}, - "ParameterType": {}, - "NoEcho": { - "type": "boolean" - }, - "Description": {}, - "ParameterConstraints": { - "type": "structure", - "members": { - "AllowedValues": { - "type": "list", - "member": {} - } - } - } - } - } - }, - "Description": {}, - "Capabilities": { - "shape": "Sj" - }, - "CapabilitiesReason": {}, - "ResourceTypes": { - "shape": "Sl" - }, - "Version": {}, - "Metadata": {}, - "DeclaredTransforms": { - "shape": "S3l" - } - } - } - }, - "ListChangeSets": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListChangeSetsResult", - "type": "structure", - "members": { - "Summaries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StackId": {}, - "StackName": {}, - "ChangeSetId": {}, - "ChangeSetName": {}, - "ExecutionStatus": {}, - "Status": {}, - "StatusReason": {}, - "CreationTime": { - "type": "timestamp" - }, - "Description": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListExports": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListExportsResult", - "type": "structure", - "members": { - "Exports": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ExportingStackId": {}, - "Name": {}, - "Value": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListImports": { - "input": { - "type": "structure", - "required": [ - "ExportName" - ], - "members": { - "ExportName": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListImportsResult", - "type": "structure", - "members": { - "Imports": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "ListStackResources": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListStackResourcesResult", - "type": "structure", - "members": { - "StackResourceSummaries": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "LogicalResourceId", - "ResourceType", - "LastUpdatedTimestamp", - "ResourceStatus" - ], - "members": { - "LogicalResourceId": {}, - "PhysicalResourceId": {}, - "ResourceType": {}, - "LastUpdatedTimestamp": { - "type": "timestamp" - }, - "ResourceStatus": {}, - "ResourceStatusReason": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListStacks": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "StackStatusFilter": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "ListStacksResult", - "type": "structure", - "members": { - "StackSummaries": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "StackName", - "CreationTime", - "StackStatus" - ], - "members": { - "StackId": {}, - "StackName": {}, - "TemplateDescription": {}, - "CreationTime": { - "type": "timestamp" - }, - "LastUpdatedTime": { - "type": "timestamp" - }, - "DeletionTime": { - "type": "timestamp" - }, - "StackStatus": {}, - "StackStatusReason": {} - } - } - }, - "NextToken": {} - } - } - }, - "SetStackPolicy": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "StackPolicyBody": {}, - "StackPolicyURL": {} - } - } - }, - "SignalResource": { - "input": { - "type": "structure", - "required": [ - "StackName", - "LogicalResourceId", - "UniqueId", - "Status" - ], - "members": { - "StackName": {}, - "LogicalResourceId": {}, - "UniqueId": {}, - "Status": {} - } - } - }, - "UpdateStack": { - "input": { - "type": "structure", - "required": [ - "StackName" - ], - "members": { - "StackName": {}, - "TemplateBody": {}, - "TemplateURL": {}, - "UsePreviousTemplate": { - "type": "boolean" - }, - "StackPolicyDuringUpdateBody": {}, - "StackPolicyDuringUpdateURL": {}, - "Parameters": { - "shape": "Se" - }, - "Capabilities": { - "shape": "Sj" - }, - "ResourceTypes": { - "shape": "Sl" - }, - "RoleARN": {}, - "StackPolicyBody": {}, - "StackPolicyURL": {}, - "NotificationARNs": { - "shape": "Sn" - }, - "Tags": { - "shape": "Sp" - }, - "ClientRequestToken": {} - } - }, - "output": { - "resultWrapper": "UpdateStackResult", - "type": "structure", - "members": { - "StackId": {} - } - } - }, - "ValidateTemplate": { - "input": { - "type": "structure", - "members": { - "TemplateBody": {}, - "TemplateURL": {} - } - }, - "output": { - "resultWrapper": "ValidateTemplateResult", - "type": "structure", - "members": { - "Parameters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ParameterKey": {}, - "DefaultValue": {}, - "NoEcho": { - "type": "boolean" - }, - "Description": {} - } - } - }, - "Description": {}, - "Capabilities": { - "shape": "Sj" - }, - "CapabilitiesReason": {}, - "DeclaredTransforms": { - "shape": "S3l" - } - } - } - } - }, - "shapes": { - "Se": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ParameterKey": {}, - "ParameterValue": {}, - "UsePreviousValue": { - "type": "boolean" - } - } - } - }, - "Sj": { - "type": "list", - "member": {} - }, - "Sl": { - "type": "list", - "member": {} - }, - "Sn": { - "type": "list", - "member": {} - }, - "Sp": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S3l": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json b/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json deleted file mode 100644 index a8afc23..0000000 --- a/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "pagination": { - "DescribeStackEvents": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "StackEvents" - }, - "DescribeStackResources": { - "result_key": "StackResources" - }, - "DescribeStacks": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Stacks" - }, - "ListExports": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Exports" - }, - "ListImports": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Imports" - }, - "ListStackResources": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "StackResourceSummaries" - }, - "ListStacks": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "StackSummaries" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.waiters2.json b/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.waiters2.json deleted file mode 100644 index 4e8c828..0000000 --- a/src/node_modules/aws-sdk/apis/cloudformation-2010-05-15.waiters2.json +++ /dev/null @@ -1,182 +0,0 @@ -{ - "version": 2, - "waiters": { - "StackExists": { - "delay": 5, - "operation": "DescribeStacks", - "maxAttempts": 20, - "acceptors": [ - { - "matcher": "status", - "expected": 200, - "state": "success" - }, - { - "matcher": "error", - "expected": "ValidationError", - "state": "retry" - } - ] - }, - "StackCreateComplete": { - "delay": 30, - "operation": "DescribeStacks", - "maxAttempts": 120, - "description": "Wait until stack status is CREATE_COMPLETE.", - "acceptors": [ - { - "argument": "Stacks[].StackStatus", - "expected": "CREATE_COMPLETE", - "matcher": "pathAll", - "state": "success" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "CREATE_FAILED", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "DELETE_COMPLETE", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "DELETE_FAILED", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "ROLLBACK_FAILED", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "ROLLBACK_COMPLETE", - "matcher": "pathAny", - "state": "failure" - }, - { - "expected": "ValidationError", - "matcher": "error", - "state": "failure" - } - ] - }, - "StackDeleteComplete": { - "delay": 30, - "operation": "DescribeStacks", - "maxAttempts": 120, - "description": "Wait until stack status is DELETE_COMPLETE.", - "acceptors": [ - { - "argument": "Stacks[].StackStatus", - "expected": "DELETE_COMPLETE", - "matcher": "pathAll", - "state": "success" - }, - { - "expected": "ValidationError", - "matcher": "error", - "state": "success" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "DELETE_FAILED", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "CREATE_FAILED", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "ROLLBACK_FAILED", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_ROLLBACK_FAILED", - "matcher": "pathAny", - "state": "failure" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_ROLLBACK_IN_PROGRESS", - "matcher": "pathAny", - "state": "failure" - } - ] - }, - "StackUpdateComplete": { - "delay": 30, - "maxAttempts": 120, - "operation": "DescribeStacks", - "description": "Wait until stack status is UPDATE_COMPLETE.", - "acceptors": [ - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_COMPLETE", - "matcher": "pathAll", - "state": "success" - }, - { - "expected": "UPDATE_FAILED", - "matcher": "pathAny", - "state": "failure", - "argument": "Stacks[].StackStatus" - }, - { - "argument": "Stacks[].StackStatus", - "expected": "UPDATE_ROLLBACK_FAILED", - "matcher": "pathAny", - "state": "failure" - }, - { - "expected": "UPDATE_ROLLBACK_COMPLETE", - "matcher": "pathAny", - "state": "failure", - "argument": "Stacks[].StackStatus" - }, - { - "expected": "ValidationError", - "matcher": "error", - "state": "failure" - } - ] - }, - "ChangeSetCreateComplete": { - "delay": 30, - "operation": "DescribeChangeSet", - "maxAttempts": 120, - "description": "Wait until change set status is CREATE_COMPLETE.", - "acceptors": [ - { - "argument": "Status", - "expected": "CREATE_COMPLETE", - "matcher": "path", - "state": "success" - }, - { - "argument": "Status", - "expected": "FAILED", - "matcher": "path", - "state": "failure" - }, - { - "expected": "ValidationError", - "matcher": "error", - "state": "failure" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.min.json b/src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.min.json deleted file mode 100644 index 0d0c1b2..0000000 --- a/src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.min.json +++ /dev/null @@ -1,1912 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-11-25", - "endpointPrefix": "cloudfront", - "globalEndpoint": "cloudfront.amazonaws.com", - "protocol": "rest-xml", - "serviceAbbreviation": "CloudFront", - "serviceFullName": "Amazon CloudFront", - "signatureVersion": "v4", - "uid": "cloudfront-2016-11-25" - }, - "operations": { - "CreateCloudFrontOriginAccessIdentity": { - "http": { - "requestUri": "/2016-11-25/origin-access-identity/cloudfront", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "CloudFrontOriginAccessIdentityConfig" - ], - "members": { - "CloudFrontOriginAccessIdentityConfig": { - "shape": "S2", - "locationName": "CloudFrontOriginAccessIdentityConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - } - } - }, - "payload": "CloudFrontOriginAccessIdentityConfig" - }, - "output": { - "type": "structure", - "members": { - "CloudFrontOriginAccessIdentity": { - "shape": "S5" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "CloudFrontOriginAccessIdentity" - } - }, - "CreateDistribution": { - "http": { - "requestUri": "/2016-11-25/distribution", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "DistributionConfig" - ], - "members": { - "DistributionConfig": { - "shape": "S7", - "locationName": "DistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - } - } - }, - "payload": "DistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1s" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "CreateDistributionWithTags": { - "http": { - "requestUri": "/2016-11-25/distribution?WithTags", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "DistributionConfigWithTags" - ], - "members": { - "DistributionConfigWithTags": { - "locationName": "DistributionConfigWithTags", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - }, - "type": "structure", - "required": [ - "DistributionConfig", - "Tags" - ], - "members": { - "DistributionConfig": { - "shape": "S7" - }, - "Tags": { - "shape": "S21" - } - } - } - }, - "payload": "DistributionConfigWithTags" - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1s" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "CreateInvalidation": { - "http": { - "requestUri": "/2016-11-25/distribution/{DistributionId}/invalidation", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "DistributionId", - "InvalidationBatch" - ], - "members": { - "DistributionId": { - "location": "uri", - "locationName": "DistributionId" - }, - "InvalidationBatch": { - "shape": "S28", - "locationName": "InvalidationBatch", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - } - } - }, - "payload": "InvalidationBatch" - }, - "output": { - "type": "structure", - "members": { - "Location": { - "location": "header", - "locationName": "Location" - }, - "Invalidation": { - "shape": "S2c" - } - }, - "payload": "Invalidation" - } - }, - "CreateStreamingDistribution": { - "http": { - "requestUri": "/2016-11-25/streaming-distribution", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "StreamingDistributionConfig" - ], - "members": { - "StreamingDistributionConfig": { - "shape": "S2e", - "locationName": "StreamingDistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - } - } - }, - "payload": "StreamingDistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2i" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - }, - "CreateStreamingDistributionWithTags": { - "http": { - "requestUri": "/2016-11-25/streaming-distribution?WithTags", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "StreamingDistributionConfigWithTags" - ], - "members": { - "StreamingDistributionConfigWithTags": { - "locationName": "StreamingDistributionConfigWithTags", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - }, - "type": "structure", - "required": [ - "StreamingDistributionConfig", - "Tags" - ], - "members": { - "StreamingDistributionConfig": { - "shape": "S2e" - }, - "Tags": { - "shape": "S21" - } - } - } - }, - "payload": "StreamingDistributionConfigWithTags" - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2i" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - }, - "DeleteCloudFrontOriginAccessIdentity": { - "http": { - "method": "DELETE", - "requestUri": "/2016-11-25/origin-access-identity/cloudfront/{Id}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - } - } - }, - "DeleteDistribution": { - "http": { - "method": "DELETE", - "requestUri": "/2016-11-25/distribution/{Id}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - } - } - }, - "DeleteStreamingDistribution": { - "http": { - "method": "DELETE", - "requestUri": "/2016-11-25/streaming-distribution/{Id}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - } - } - }, - "GetCloudFrontOriginAccessIdentity": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/origin-access-identity/cloudfront/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "CloudFrontOriginAccessIdentity": { - "shape": "S5" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "CloudFrontOriginAccessIdentity" - } - }, - "GetCloudFrontOriginAccessIdentityConfig": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/origin-access-identity/cloudfront/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "CloudFrontOriginAccessIdentityConfig": { - "shape": "S2" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "CloudFrontOriginAccessIdentityConfig" - } - }, - "GetDistribution": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/distribution/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1s" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "GetDistributionConfig": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "DistributionConfig": { - "shape": "S7" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "DistributionConfig" - } - }, - "GetInvalidation": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/distribution/{DistributionId}/invalidation/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "DistributionId", - "Id" - ], - "members": { - "DistributionId": { - "location": "uri", - "locationName": "DistributionId" - }, - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "Invalidation": { - "shape": "S2c" - } - }, - "payload": "Invalidation" - } - }, - "GetStreamingDistribution": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/streaming-distribution/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2i" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - }, - "GetStreamingDistributionConfig": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/streaming-distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "StreamingDistributionConfig": { - "shape": "S2e" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistributionConfig" - } - }, - "ListCloudFrontOriginAccessIdentities": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/origin-access-identity/cloudfront" - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - } - } - }, - "output": { - "type": "structure", - "members": { - "CloudFrontOriginAccessIdentityList": { - "type": "structure", - "required": [ - "Marker", - "MaxItems", - "IsTruncated", - "Quantity" - ], - "members": { - "Marker": {}, - "NextMarker": {}, - "MaxItems": { - "type": "integer" - }, - "IsTruncated": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "CloudFrontOriginAccessIdentitySummary", - "type": "structure", - "required": [ - "Id", - "S3CanonicalUserId", - "Comment" - ], - "members": { - "Id": {}, - "S3CanonicalUserId": {}, - "Comment": {} - } - } - } - } - } - }, - "payload": "CloudFrontOriginAccessIdentityList" - } - }, - "ListDistributions": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/distribution" - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - } - } - }, - "output": { - "type": "structure", - "members": { - "DistributionList": { - "shape": "S3a" - } - }, - "payload": "DistributionList" - } - }, - "ListDistributionsByWebACLId": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/distributionsByWebACLId/{WebACLId}" - }, - "input": { - "type": "structure", - "required": [ - "WebACLId" - ], - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - }, - "WebACLId": { - "location": "uri", - "locationName": "WebACLId" - } - } - }, - "output": { - "type": "structure", - "members": { - "DistributionList": { - "shape": "S3a" - } - }, - "payload": "DistributionList" - } - }, - "ListInvalidations": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/distribution/{DistributionId}/invalidation" - }, - "input": { - "type": "structure", - "required": [ - "DistributionId" - ], - "members": { - "DistributionId": { - "location": "uri", - "locationName": "DistributionId" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - } - } - }, - "output": { - "type": "structure", - "members": { - "InvalidationList": { - "type": "structure", - "required": [ - "Marker", - "MaxItems", - "IsTruncated", - "Quantity" - ], - "members": { - "Marker": {}, - "NextMarker": {}, - "MaxItems": { - "type": "integer" - }, - "IsTruncated": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "InvalidationSummary", - "type": "structure", - "required": [ - "Id", - "CreateTime", - "Status" - ], - "members": { - "Id": {}, - "CreateTime": { - "type": "timestamp" - }, - "Status": {} - } - } - } - } - } - }, - "payload": "InvalidationList" - } - }, - "ListStreamingDistributions": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/streaming-distribution" - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - } - } - }, - "output": { - "type": "structure", - "members": { - "StreamingDistributionList": { - "type": "structure", - "required": [ - "Marker", - "MaxItems", - "IsTruncated", - "Quantity" - ], - "members": { - "Marker": {}, - "NextMarker": {}, - "MaxItems": { - "type": "integer" - }, - "IsTruncated": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "StreamingDistributionSummary", - "type": "structure", - "required": [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "DomainName", - "S3Origin", - "Aliases", - "TrustedSigners", - "Comment", - "PriceClass", - "Enabled" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "DomainName": {}, - "S3Origin": { - "shape": "S2f" - }, - "Aliases": { - "shape": "S8" - }, - "TrustedSigners": { - "shape": "Sy" - }, - "Comment": {}, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - } - } - } - } - } - } - }, - "payload": "StreamingDistributionList" - } - }, - "ListTagsForResource": { - "http": { - "method": "GET", - "requestUri": "/2016-11-25/tagging" - }, - "input": { - "type": "structure", - "required": [ - "Resource" - ], - "members": { - "Resource": { - "location": "querystring", - "locationName": "Resource" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Tags" - ], - "members": { - "Tags": { - "shape": "S21" - } - }, - "payload": "Tags" - } - }, - "TagResource": { - "http": { - "requestUri": "/2016-11-25/tagging?Operation=Tag", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Resource", - "Tags" - ], - "members": { - "Resource": { - "location": "querystring", - "locationName": "Resource" - }, - "Tags": { - "shape": "S21", - "locationName": "Tags", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - } - } - }, - "payload": "Tags" - } - }, - "UntagResource": { - "http": { - "requestUri": "/2016-11-25/tagging?Operation=Untag", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Resource", - "TagKeys" - ], - "members": { - "Resource": { - "location": "querystring", - "locationName": "Resource" - }, - "TagKeys": { - "locationName": "TagKeys", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - }, - "type": "structure", - "members": { - "Items": { - "type": "list", - "member": { - "locationName": "Key" - } - } - } - } - }, - "payload": "TagKeys" - } - }, - "UpdateCloudFrontOriginAccessIdentity": { - "http": { - "method": "PUT", - "requestUri": "/2016-11-25/origin-access-identity/cloudfront/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "CloudFrontOriginAccessIdentityConfig", - "Id" - ], - "members": { - "CloudFrontOriginAccessIdentityConfig": { - "shape": "S2", - "locationName": "CloudFrontOriginAccessIdentityConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - } - }, - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - }, - "payload": "CloudFrontOriginAccessIdentityConfig" - }, - "output": { - "type": "structure", - "members": { - "CloudFrontOriginAccessIdentity": { - "shape": "S5" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "CloudFrontOriginAccessIdentity" - } - }, - "UpdateDistribution": { - "http": { - "method": "PUT", - "requestUri": "/2016-11-25/distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "DistributionConfig", - "Id" - ], - "members": { - "DistributionConfig": { - "shape": "S7", - "locationName": "DistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - } - }, - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - }, - "payload": "DistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1s" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "UpdateStreamingDistribution": { - "http": { - "method": "PUT", - "requestUri": "/2016-11-25/streaming-distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "StreamingDistributionConfig", - "Id" - ], - "members": { - "StreamingDistributionConfig": { - "shape": "S2e", - "locationName": "StreamingDistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2016-11-25/" - } - }, - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - }, - "payload": "StreamingDistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2i" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - } - }, - "shapes": { - "S2": { - "type": "structure", - "required": [ - "CallerReference", - "Comment" - ], - "members": { - "CallerReference": {}, - "Comment": {} - } - }, - "S5": { - "type": "structure", - "required": [ - "Id", - "S3CanonicalUserId" - ], - "members": { - "Id": {}, - "S3CanonicalUserId": {}, - "CloudFrontOriginAccessIdentityConfig": { - "shape": "S2" - } - } - }, - "S7": { - "type": "structure", - "required": [ - "CallerReference", - "Origins", - "DefaultCacheBehavior", - "Comment", - "Enabled" - ], - "members": { - "CallerReference": {}, - "Aliases": { - "shape": "S8" - }, - "DefaultRootObject": {}, - "Origins": { - "shape": "Sb" - }, - "DefaultCacheBehavior": { - "shape": "Sn" - }, - "CacheBehaviors": { - "shape": "S1a" - }, - "CustomErrorResponses": { - "shape": "S1d" - }, - "Comment": {}, - "Logging": { - "type": "structure", - "required": [ - "Enabled", - "IncludeCookies", - "Bucket", - "Prefix" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "IncludeCookies": { - "type": "boolean" - }, - "Bucket": {}, - "Prefix": {} - } - }, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - }, - "ViewerCertificate": { - "shape": "S1i" - }, - "Restrictions": { - "shape": "S1m" - }, - "WebACLId": {}, - "HttpVersion": {}, - "IsIPV6Enabled": { - "type": "boolean" - } - } - }, - "S8": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "CNAME" - } - } - } - }, - "Sb": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Origin", - "type": "structure", - "required": [ - "Id", - "DomainName" - ], - "members": { - "Id": {}, - "DomainName": {}, - "OriginPath": {}, - "CustomHeaders": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "OriginCustomHeader", - "type": "structure", - "required": [ - "HeaderName", - "HeaderValue" - ], - "members": { - "HeaderName": {}, - "HeaderValue": {} - } - } - } - } - }, - "S3OriginConfig": { - "type": "structure", - "required": [ - "OriginAccessIdentity" - ], - "members": { - "OriginAccessIdentity": {} - } - }, - "CustomOriginConfig": { - "type": "structure", - "required": [ - "HTTPPort", - "HTTPSPort", - "OriginProtocolPolicy" - ], - "members": { - "HTTPPort": { - "type": "integer" - }, - "HTTPSPort": { - "type": "integer" - }, - "OriginProtocolPolicy": {}, - "OriginSslProtocols": { - "type": "structure", - "required": [ - "Quantity", - "Items" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "SslProtocol" - } - } - } - } - } - } - } - } - } - } - }, - "Sn": { - "type": "structure", - "required": [ - "TargetOriginId", - "ForwardedValues", - "TrustedSigners", - "ViewerProtocolPolicy", - "MinTTL" - ], - "members": { - "TargetOriginId": {}, - "ForwardedValues": { - "shape": "So" - }, - "TrustedSigners": { - "shape": "Sy" - }, - "ViewerProtocolPolicy": {}, - "MinTTL": { - "type": "long" - }, - "AllowedMethods": { - "shape": "S12" - }, - "SmoothStreaming": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "long" - }, - "MaxTTL": { - "type": "long" - }, - "Compress": { - "type": "boolean" - }, - "LambdaFunctionAssociations": { - "shape": "S16" - } - } - }, - "So": { - "type": "structure", - "required": [ - "QueryString", - "Cookies" - ], - "members": { - "QueryString": { - "type": "boolean" - }, - "Cookies": { - "type": "structure", - "required": [ - "Forward" - ], - "members": { - "Forward": {}, - "WhitelistedNames": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Name" - } - } - } - } - } - }, - "Headers": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Name" - } - } - } - }, - "QueryStringCacheKeys": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Name" - } - } - } - } - } - }, - "Sy": { - "type": "structure", - "required": [ - "Enabled", - "Quantity" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "AwsAccountNumber" - } - } - } - }, - "S12": { - "type": "structure", - "required": [ - "Quantity", - "Items" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "shape": "S13" - }, - "CachedMethods": { - "type": "structure", - "required": [ - "Quantity", - "Items" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "shape": "S13" - } - } - } - } - }, - "S13": { - "type": "list", - "member": { - "locationName": "Method" - } - }, - "S16": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "LambdaFunctionAssociation", - "type": "structure", - "members": { - "LambdaFunctionARN": {}, - "EventType": {} - } - } - } - } - }, - "S1a": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "CacheBehavior", - "type": "structure", - "required": [ - "PathPattern", - "TargetOriginId", - "ForwardedValues", - "TrustedSigners", - "ViewerProtocolPolicy", - "MinTTL" - ], - "members": { - "PathPattern": {}, - "TargetOriginId": {}, - "ForwardedValues": { - "shape": "So" - }, - "TrustedSigners": { - "shape": "Sy" - }, - "ViewerProtocolPolicy": {}, - "MinTTL": { - "type": "long" - }, - "AllowedMethods": { - "shape": "S12" - }, - "SmoothStreaming": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "long" - }, - "MaxTTL": { - "type": "long" - }, - "Compress": { - "type": "boolean" - }, - "LambdaFunctionAssociations": { - "shape": "S16" - } - } - } - } - } - }, - "S1d": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "CustomErrorResponse", - "type": "structure", - "required": [ - "ErrorCode" - ], - "members": { - "ErrorCode": { - "type": "integer" - }, - "ResponsePagePath": {}, - "ResponseCode": {}, - "ErrorCachingMinTTL": { - "type": "long" - } - } - } - } - } - }, - "S1i": { - "type": "structure", - "members": { - "CloudFrontDefaultCertificate": { - "type": "boolean" - }, - "IAMCertificateId": {}, - "ACMCertificateArn": {}, - "SSLSupportMethod": {}, - "MinimumProtocolVersion": {}, - "Certificate": { - "deprecated": true - }, - "CertificateSource": { - "deprecated": true - } - } - }, - "S1m": { - "type": "structure", - "required": [ - "GeoRestriction" - ], - "members": { - "GeoRestriction": { - "type": "structure", - "required": [ - "RestrictionType", - "Quantity" - ], - "members": { - "RestrictionType": {}, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Location" - } - } - } - } - } - }, - "S1s": { - "type": "structure", - "required": [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "InProgressInvalidationBatches", - "DomainName", - "ActiveTrustedSigners", - "DistributionConfig" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "InProgressInvalidationBatches": { - "type": "integer" - }, - "DomainName": {}, - "ActiveTrustedSigners": { - "shape": "S1u" - }, - "DistributionConfig": { - "shape": "S7" - } - } - }, - "S1u": { - "type": "structure", - "required": [ - "Enabled", - "Quantity" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Signer", - "type": "structure", - "members": { - "AwsAccountNumber": {}, - "KeyPairIds": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "KeyPairId" - } - } - } - } - } - } - } - } - }, - "S21": { - "type": "structure", - "members": { - "Items": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - } - } - }, - "S28": { - "type": "structure", - "required": [ - "Paths", - "CallerReference" - ], - "members": { - "Paths": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Path" - } - } - } - }, - "CallerReference": {} - } - }, - "S2c": { - "type": "structure", - "required": [ - "Id", - "Status", - "CreateTime", - "InvalidationBatch" - ], - "members": { - "Id": {}, - "Status": {}, - "CreateTime": { - "type": "timestamp" - }, - "InvalidationBatch": { - "shape": "S28" - } - } - }, - "S2e": { - "type": "structure", - "required": [ - "CallerReference", - "S3Origin", - "Comment", - "TrustedSigners", - "Enabled" - ], - "members": { - "CallerReference": {}, - "S3Origin": { - "shape": "S2f" - }, - "Aliases": { - "shape": "S8" - }, - "Comment": {}, - "Logging": { - "type": "structure", - "required": [ - "Enabled", - "Bucket", - "Prefix" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "Bucket": {}, - "Prefix": {} - } - }, - "TrustedSigners": { - "shape": "Sy" - }, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - } - } - }, - "S2f": { - "type": "structure", - "required": [ - "DomainName", - "OriginAccessIdentity" - ], - "members": { - "DomainName": {}, - "OriginAccessIdentity": {} - } - }, - "S2i": { - "type": "structure", - "required": [ - "Id", - "ARN", - "Status", - "DomainName", - "ActiveTrustedSigners", - "StreamingDistributionConfig" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "DomainName": {}, - "ActiveTrustedSigners": { - "shape": "S1u" - }, - "StreamingDistributionConfig": { - "shape": "S2e" - } - } - }, - "S3a": { - "type": "structure", - "required": [ - "Marker", - "MaxItems", - "IsTruncated", - "Quantity" - ], - "members": { - "Marker": {}, - "NextMarker": {}, - "MaxItems": { - "type": "integer" - }, - "IsTruncated": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "DistributionSummary", - "type": "structure", - "required": [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "DomainName", - "Aliases", - "Origins", - "DefaultCacheBehavior", - "CacheBehaviors", - "CustomErrorResponses", - "Comment", - "PriceClass", - "Enabled", - "ViewerCertificate", - "Restrictions", - "WebACLId", - "HttpVersion", - "IsIPV6Enabled" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "DomainName": {}, - "Aliases": { - "shape": "S8" - }, - "Origins": { - "shape": "Sb" - }, - "DefaultCacheBehavior": { - "shape": "Sn" - }, - "CacheBehaviors": { - "shape": "S1a" - }, - "CustomErrorResponses": { - "shape": "S1d" - }, - "Comment": {}, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - }, - "ViewerCertificate": { - "shape": "S1i" - }, - "Restrictions": { - "shape": "S1m" - }, - "WebACLId": {}, - "HttpVersion": {}, - "IsIPV6Enabled": { - "type": "boolean" - } - } - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.paginators.json b/src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.paginators.json deleted file mode 100644 index 51fbb90..0000000 --- a/src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.paginators.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "pagination": { - "ListCloudFrontOriginAccessIdentities": { - "input_token": "Marker", - "output_token": "CloudFrontOriginAccessIdentityList.NextMarker", - "limit_key": "MaxItems", - "more_results": "CloudFrontOriginAccessIdentityList.IsTruncated", - "result_key": "CloudFrontOriginAccessIdentityList.Items" - }, - "ListDistributions": { - "input_token": "Marker", - "output_token": "DistributionList.NextMarker", - "limit_key": "MaxItems", - "more_results": "DistributionList.IsTruncated", - "result_key": "DistributionList.Items" - }, - "ListInvalidations": { - "input_token": "Marker", - "output_token": "InvalidationList.NextMarker", - "limit_key": "MaxItems", - "more_results": "InvalidationList.IsTruncated", - "result_key": "InvalidationList.Items" - }, - "ListStreamingDistributions": { - "input_token": "Marker", - "output_token": "StreamingDistributionList.NextMarker", - "limit_key": "MaxItems", - "more_results": "StreamingDistributionList.IsTruncated", - "result_key": "StreamingDistributionList.Items" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.waiters2.json b/src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.waiters2.json deleted file mode 100644 index edd74b2..0000000 --- a/src/node_modules/aws-sdk/apis/cloudfront-2016-11-25.waiters2.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "version": 2, - "waiters": { - "DistributionDeployed": { - "delay": 60, - "operation": "GetDistribution", - "maxAttempts": 25, - "description": "Wait until a distribution is deployed.", - "acceptors": [ - { - "expected": "Deployed", - "matcher": "path", - "state": "success", - "argument": "Distribution.Status" - } - ] - }, - "InvalidationCompleted": { - "delay": 20, - "operation": "GetInvalidation", - "maxAttempts": 30, - "description": "Wait until an invalidation has completed.", - "acceptors": [ - { - "expected": "Completed", - "matcher": "path", - "state": "success", - "argument": "Invalidation.Status" - } - ] - }, - "StreamingDistributionDeployed": { - "delay": 60, - "operation": "GetStreamingDistribution", - "maxAttempts": 25, - "description": "Wait until a streaming distribution is deployed.", - "acceptors": [ - { - "expected": "Deployed", - "matcher": "path", - "state": "success", - "argument": "StreamingDistribution.Status" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.min.json b/src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.min.json deleted file mode 100644 index bd43e08..0000000 --- a/src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.min.json +++ /dev/null @@ -1,1918 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2017-03-25", - "endpointPrefix": "cloudfront", - "globalEndpoint": "cloudfront.amazonaws.com", - "protocol": "rest-xml", - "serviceAbbreviation": "CloudFront", - "serviceFullName": "Amazon CloudFront", - "signatureVersion": "v4", - "uid": "cloudfront-2017-03-25" - }, - "operations": { - "CreateCloudFrontOriginAccessIdentity": { - "http": { - "requestUri": "/2017-03-25/origin-access-identity/cloudfront", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "CloudFrontOriginAccessIdentityConfig" - ], - "members": { - "CloudFrontOriginAccessIdentityConfig": { - "shape": "S2", - "locationName": "CloudFrontOriginAccessIdentityConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - } - } - }, - "payload": "CloudFrontOriginAccessIdentityConfig" - }, - "output": { - "type": "structure", - "members": { - "CloudFrontOriginAccessIdentity": { - "shape": "S5" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "CloudFrontOriginAccessIdentity" - } - }, - "CreateDistribution": { - "http": { - "requestUri": "/2017-03-25/distribution", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "DistributionConfig" - ], - "members": { - "DistributionConfig": { - "shape": "S7", - "locationName": "DistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - } - } - }, - "payload": "DistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1s" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "CreateDistributionWithTags": { - "http": { - "requestUri": "/2017-03-25/distribution?WithTags", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "DistributionConfigWithTags" - ], - "members": { - "DistributionConfigWithTags": { - "locationName": "DistributionConfigWithTags", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - }, - "type": "structure", - "required": [ - "DistributionConfig", - "Tags" - ], - "members": { - "DistributionConfig": { - "shape": "S7" - }, - "Tags": { - "shape": "S21" - } - } - } - }, - "payload": "DistributionConfigWithTags" - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1s" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "CreateInvalidation": { - "http": { - "requestUri": "/2017-03-25/distribution/{DistributionId}/invalidation", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "DistributionId", - "InvalidationBatch" - ], - "members": { - "DistributionId": { - "location": "uri", - "locationName": "DistributionId" - }, - "InvalidationBatch": { - "shape": "S28", - "locationName": "InvalidationBatch", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - } - } - }, - "payload": "InvalidationBatch" - }, - "output": { - "type": "structure", - "members": { - "Location": { - "location": "header", - "locationName": "Location" - }, - "Invalidation": { - "shape": "S2c" - } - }, - "payload": "Invalidation" - } - }, - "CreateStreamingDistribution": { - "http": { - "requestUri": "/2017-03-25/streaming-distribution", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "StreamingDistributionConfig" - ], - "members": { - "StreamingDistributionConfig": { - "shape": "S2e", - "locationName": "StreamingDistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - } - } - }, - "payload": "StreamingDistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2i" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - }, - "CreateStreamingDistributionWithTags": { - "http": { - "requestUri": "/2017-03-25/streaming-distribution?WithTags", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "StreamingDistributionConfigWithTags" - ], - "members": { - "StreamingDistributionConfigWithTags": { - "locationName": "StreamingDistributionConfigWithTags", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - }, - "type": "structure", - "required": [ - "StreamingDistributionConfig", - "Tags" - ], - "members": { - "StreamingDistributionConfig": { - "shape": "S2e" - }, - "Tags": { - "shape": "S21" - } - } - } - }, - "payload": "StreamingDistributionConfigWithTags" - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2i" - }, - "Location": { - "location": "header", - "locationName": "Location" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - }, - "DeleteCloudFrontOriginAccessIdentity": { - "http": { - "method": "DELETE", - "requestUri": "/2017-03-25/origin-access-identity/cloudfront/{Id}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - } - } - }, - "DeleteDistribution": { - "http": { - "method": "DELETE", - "requestUri": "/2017-03-25/distribution/{Id}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - } - } - }, - "DeleteStreamingDistribution": { - "http": { - "method": "DELETE", - "requestUri": "/2017-03-25/streaming-distribution/{Id}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - } - } - }, - "GetCloudFrontOriginAccessIdentity": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/origin-access-identity/cloudfront/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "CloudFrontOriginAccessIdentity": { - "shape": "S5" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "CloudFrontOriginAccessIdentity" - } - }, - "GetCloudFrontOriginAccessIdentityConfig": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/origin-access-identity/cloudfront/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "CloudFrontOriginAccessIdentityConfig": { - "shape": "S2" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "CloudFrontOriginAccessIdentityConfig" - } - }, - "GetDistribution": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/distribution/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1s" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "GetDistributionConfig": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "DistributionConfig": { - "shape": "S7" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "DistributionConfig" - } - }, - "GetInvalidation": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/distribution/{DistributionId}/invalidation/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "DistributionId", - "Id" - ], - "members": { - "DistributionId": { - "location": "uri", - "locationName": "DistributionId" - }, - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "Invalidation": { - "shape": "S2c" - } - }, - "payload": "Invalidation" - } - }, - "GetStreamingDistribution": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/streaming-distribution/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2i" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - }, - "GetStreamingDistributionConfig": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/streaming-distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "StreamingDistributionConfig": { - "shape": "S2e" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistributionConfig" - } - }, - "ListCloudFrontOriginAccessIdentities": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/origin-access-identity/cloudfront" - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - } - } - }, - "output": { - "type": "structure", - "members": { - "CloudFrontOriginAccessIdentityList": { - "type": "structure", - "required": [ - "Marker", - "MaxItems", - "IsTruncated", - "Quantity" - ], - "members": { - "Marker": {}, - "NextMarker": {}, - "MaxItems": { - "type": "integer" - }, - "IsTruncated": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "CloudFrontOriginAccessIdentitySummary", - "type": "structure", - "required": [ - "Id", - "S3CanonicalUserId", - "Comment" - ], - "members": { - "Id": {}, - "S3CanonicalUserId": {}, - "Comment": {} - } - } - } - } - } - }, - "payload": "CloudFrontOriginAccessIdentityList" - } - }, - "ListDistributions": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/distribution" - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - } - } - }, - "output": { - "type": "structure", - "members": { - "DistributionList": { - "shape": "S3a" - } - }, - "payload": "DistributionList" - } - }, - "ListDistributionsByWebACLId": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/distributionsByWebACLId/{WebACLId}" - }, - "input": { - "type": "structure", - "required": [ - "WebACLId" - ], - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - }, - "WebACLId": { - "location": "uri", - "locationName": "WebACLId" - } - } - }, - "output": { - "type": "structure", - "members": { - "DistributionList": { - "shape": "S3a" - } - }, - "payload": "DistributionList" - } - }, - "ListInvalidations": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/distribution/{DistributionId}/invalidation" - }, - "input": { - "type": "structure", - "required": [ - "DistributionId" - ], - "members": { - "DistributionId": { - "location": "uri", - "locationName": "DistributionId" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - } - } - }, - "output": { - "type": "structure", - "members": { - "InvalidationList": { - "type": "structure", - "required": [ - "Marker", - "MaxItems", - "IsTruncated", - "Quantity" - ], - "members": { - "Marker": {}, - "NextMarker": {}, - "MaxItems": { - "type": "integer" - }, - "IsTruncated": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "InvalidationSummary", - "type": "structure", - "required": [ - "Id", - "CreateTime", - "Status" - ], - "members": { - "Id": {}, - "CreateTime": { - "type": "timestamp" - }, - "Status": {} - } - } - } - } - } - }, - "payload": "InvalidationList" - } - }, - "ListStreamingDistributions": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/streaming-distribution" - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems" - } - } - }, - "output": { - "type": "structure", - "members": { - "StreamingDistributionList": { - "type": "structure", - "required": [ - "Marker", - "MaxItems", - "IsTruncated", - "Quantity" - ], - "members": { - "Marker": {}, - "NextMarker": {}, - "MaxItems": { - "type": "integer" - }, - "IsTruncated": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "StreamingDistributionSummary", - "type": "structure", - "required": [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "DomainName", - "S3Origin", - "Aliases", - "TrustedSigners", - "Comment", - "PriceClass", - "Enabled" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "DomainName": {}, - "S3Origin": { - "shape": "S2f" - }, - "Aliases": { - "shape": "S8" - }, - "TrustedSigners": { - "shape": "Sy" - }, - "Comment": {}, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - } - } - } - } - } - } - }, - "payload": "StreamingDistributionList" - } - }, - "ListTagsForResource": { - "http": { - "method": "GET", - "requestUri": "/2017-03-25/tagging" - }, - "input": { - "type": "structure", - "required": [ - "Resource" - ], - "members": { - "Resource": { - "location": "querystring", - "locationName": "Resource" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Tags" - ], - "members": { - "Tags": { - "shape": "S21" - } - }, - "payload": "Tags" - } - }, - "TagResource": { - "http": { - "requestUri": "/2017-03-25/tagging?Operation=Tag", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Resource", - "Tags" - ], - "members": { - "Resource": { - "location": "querystring", - "locationName": "Resource" - }, - "Tags": { - "shape": "S21", - "locationName": "Tags", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - } - } - }, - "payload": "Tags" - } - }, - "UntagResource": { - "http": { - "requestUri": "/2017-03-25/tagging?Operation=Untag", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Resource", - "TagKeys" - ], - "members": { - "Resource": { - "location": "querystring", - "locationName": "Resource" - }, - "TagKeys": { - "locationName": "TagKeys", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - }, - "type": "structure", - "members": { - "Items": { - "type": "list", - "member": { - "locationName": "Key" - } - } - } - } - }, - "payload": "TagKeys" - } - }, - "UpdateCloudFrontOriginAccessIdentity": { - "http": { - "method": "PUT", - "requestUri": "/2017-03-25/origin-access-identity/cloudfront/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "CloudFrontOriginAccessIdentityConfig", - "Id" - ], - "members": { - "CloudFrontOriginAccessIdentityConfig": { - "shape": "S2", - "locationName": "CloudFrontOriginAccessIdentityConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - } - }, - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - }, - "payload": "CloudFrontOriginAccessIdentityConfig" - }, - "output": { - "type": "structure", - "members": { - "CloudFrontOriginAccessIdentity": { - "shape": "S5" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "CloudFrontOriginAccessIdentity" - } - }, - "UpdateDistribution": { - "http": { - "method": "PUT", - "requestUri": "/2017-03-25/distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "DistributionConfig", - "Id" - ], - "members": { - "DistributionConfig": { - "shape": "S7", - "locationName": "DistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - } - }, - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - }, - "payload": "DistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "Distribution": { - "shape": "S1s" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "Distribution" - } - }, - "UpdateStreamingDistribution": { - "http": { - "method": "PUT", - "requestUri": "/2017-03-25/streaming-distribution/{Id}/config" - }, - "input": { - "type": "structure", - "required": [ - "StreamingDistributionConfig", - "Id" - ], - "members": { - "StreamingDistributionConfig": { - "shape": "S2e", - "locationName": "StreamingDistributionConfig", - "xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2017-03-25/" - } - }, - "Id": { - "location": "uri", - "locationName": "Id" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - } - }, - "payload": "StreamingDistributionConfig" - }, - "output": { - "type": "structure", - "members": { - "StreamingDistribution": { - "shape": "S2i" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - } - }, - "payload": "StreamingDistribution" - } - } - }, - "shapes": { - "S2": { - "type": "structure", - "required": [ - "CallerReference", - "Comment" - ], - "members": { - "CallerReference": {}, - "Comment": {} - } - }, - "S5": { - "type": "structure", - "required": [ - "Id", - "S3CanonicalUserId" - ], - "members": { - "Id": {}, - "S3CanonicalUserId": {}, - "CloudFrontOriginAccessIdentityConfig": { - "shape": "S2" - } - } - }, - "S7": { - "type": "structure", - "required": [ - "CallerReference", - "Origins", - "DefaultCacheBehavior", - "Comment", - "Enabled" - ], - "members": { - "CallerReference": {}, - "Aliases": { - "shape": "S8" - }, - "DefaultRootObject": {}, - "Origins": { - "shape": "Sb" - }, - "DefaultCacheBehavior": { - "shape": "Sn" - }, - "CacheBehaviors": { - "shape": "S1a" - }, - "CustomErrorResponses": { - "shape": "S1d" - }, - "Comment": {}, - "Logging": { - "type": "structure", - "required": [ - "Enabled", - "IncludeCookies", - "Bucket", - "Prefix" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "IncludeCookies": { - "type": "boolean" - }, - "Bucket": {}, - "Prefix": {} - } - }, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - }, - "ViewerCertificate": { - "shape": "S1i" - }, - "Restrictions": { - "shape": "S1m" - }, - "WebACLId": {}, - "HttpVersion": {}, - "IsIPV6Enabled": { - "type": "boolean" - } - } - }, - "S8": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "CNAME" - } - } - } - }, - "Sb": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Origin", - "type": "structure", - "required": [ - "Id", - "DomainName" - ], - "members": { - "Id": {}, - "DomainName": {}, - "OriginPath": {}, - "CustomHeaders": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "OriginCustomHeader", - "type": "structure", - "required": [ - "HeaderName", - "HeaderValue" - ], - "members": { - "HeaderName": {}, - "HeaderValue": {} - } - } - } - } - }, - "S3OriginConfig": { - "type": "structure", - "required": [ - "OriginAccessIdentity" - ], - "members": { - "OriginAccessIdentity": {} - } - }, - "CustomOriginConfig": { - "type": "structure", - "required": [ - "HTTPPort", - "HTTPSPort", - "OriginProtocolPolicy" - ], - "members": { - "HTTPPort": { - "type": "integer" - }, - "HTTPSPort": { - "type": "integer" - }, - "OriginProtocolPolicy": {}, - "OriginSslProtocols": { - "type": "structure", - "required": [ - "Quantity", - "Items" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "SslProtocol" - } - } - } - }, - "OriginReadTimeout": { - "type": "integer" - }, - "OriginKeepaliveTimeout": { - "type": "integer" - } - } - } - } - } - } - } - }, - "Sn": { - "type": "structure", - "required": [ - "TargetOriginId", - "ForwardedValues", - "TrustedSigners", - "ViewerProtocolPolicy", - "MinTTL" - ], - "members": { - "TargetOriginId": {}, - "ForwardedValues": { - "shape": "So" - }, - "TrustedSigners": { - "shape": "Sy" - }, - "ViewerProtocolPolicy": {}, - "MinTTL": { - "type": "long" - }, - "AllowedMethods": { - "shape": "S12" - }, - "SmoothStreaming": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "long" - }, - "MaxTTL": { - "type": "long" - }, - "Compress": { - "type": "boolean" - }, - "LambdaFunctionAssociations": { - "shape": "S16" - } - } - }, - "So": { - "type": "structure", - "required": [ - "QueryString", - "Cookies" - ], - "members": { - "QueryString": { - "type": "boolean" - }, - "Cookies": { - "type": "structure", - "required": [ - "Forward" - ], - "members": { - "Forward": {}, - "WhitelistedNames": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Name" - } - } - } - } - } - }, - "Headers": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Name" - } - } - } - }, - "QueryStringCacheKeys": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Name" - } - } - } - } - } - }, - "Sy": { - "type": "structure", - "required": [ - "Enabled", - "Quantity" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "AwsAccountNumber" - } - } - } - }, - "S12": { - "type": "structure", - "required": [ - "Quantity", - "Items" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "shape": "S13" - }, - "CachedMethods": { - "type": "structure", - "required": [ - "Quantity", - "Items" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "shape": "S13" - } - } - } - } - }, - "S13": { - "type": "list", - "member": { - "locationName": "Method" - } - }, - "S16": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "LambdaFunctionAssociation", - "type": "structure", - "members": { - "LambdaFunctionARN": {}, - "EventType": {} - } - } - } - } - }, - "S1a": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "CacheBehavior", - "type": "structure", - "required": [ - "PathPattern", - "TargetOriginId", - "ForwardedValues", - "TrustedSigners", - "ViewerProtocolPolicy", - "MinTTL" - ], - "members": { - "PathPattern": {}, - "TargetOriginId": {}, - "ForwardedValues": { - "shape": "So" - }, - "TrustedSigners": { - "shape": "Sy" - }, - "ViewerProtocolPolicy": {}, - "MinTTL": { - "type": "long" - }, - "AllowedMethods": { - "shape": "S12" - }, - "SmoothStreaming": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "long" - }, - "MaxTTL": { - "type": "long" - }, - "Compress": { - "type": "boolean" - }, - "LambdaFunctionAssociations": { - "shape": "S16" - } - } - } - } - } - }, - "S1d": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "CustomErrorResponse", - "type": "structure", - "required": [ - "ErrorCode" - ], - "members": { - "ErrorCode": { - "type": "integer" - }, - "ResponsePagePath": {}, - "ResponseCode": {}, - "ErrorCachingMinTTL": { - "type": "long" - } - } - } - } - } - }, - "S1i": { - "type": "structure", - "members": { - "CloudFrontDefaultCertificate": { - "type": "boolean" - }, - "IAMCertificateId": {}, - "ACMCertificateArn": {}, - "SSLSupportMethod": {}, - "MinimumProtocolVersion": {}, - "Certificate": { - "deprecated": true - }, - "CertificateSource": { - "deprecated": true - } - } - }, - "S1m": { - "type": "structure", - "required": [ - "GeoRestriction" - ], - "members": { - "GeoRestriction": { - "type": "structure", - "required": [ - "RestrictionType", - "Quantity" - ], - "members": { - "RestrictionType": {}, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Location" - } - } - } - } - } - }, - "S1s": { - "type": "structure", - "required": [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "InProgressInvalidationBatches", - "DomainName", - "ActiveTrustedSigners", - "DistributionConfig" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "InProgressInvalidationBatches": { - "type": "integer" - }, - "DomainName": {}, - "ActiveTrustedSigners": { - "shape": "S1u" - }, - "DistributionConfig": { - "shape": "S7" - } - } - }, - "S1u": { - "type": "structure", - "required": [ - "Enabled", - "Quantity" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Signer", - "type": "structure", - "members": { - "AwsAccountNumber": {}, - "KeyPairIds": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "KeyPairId" - } - } - } - } - } - } - } - } - }, - "S21": { - "type": "structure", - "members": { - "Items": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - } - } - }, - "S28": { - "type": "structure", - "required": [ - "Paths", - "CallerReference" - ], - "members": { - "Paths": { - "type": "structure", - "required": [ - "Quantity" - ], - "members": { - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "Path" - } - } - } - }, - "CallerReference": {} - } - }, - "S2c": { - "type": "structure", - "required": [ - "Id", - "Status", - "CreateTime", - "InvalidationBatch" - ], - "members": { - "Id": {}, - "Status": {}, - "CreateTime": { - "type": "timestamp" - }, - "InvalidationBatch": { - "shape": "S28" - } - } - }, - "S2e": { - "type": "structure", - "required": [ - "CallerReference", - "S3Origin", - "Comment", - "TrustedSigners", - "Enabled" - ], - "members": { - "CallerReference": {}, - "S3Origin": { - "shape": "S2f" - }, - "Aliases": { - "shape": "S8" - }, - "Comment": {}, - "Logging": { - "type": "structure", - "required": [ - "Enabled", - "Bucket", - "Prefix" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "Bucket": {}, - "Prefix": {} - } - }, - "TrustedSigners": { - "shape": "Sy" - }, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - } - } - }, - "S2f": { - "type": "structure", - "required": [ - "DomainName", - "OriginAccessIdentity" - ], - "members": { - "DomainName": {}, - "OriginAccessIdentity": {} - } - }, - "S2i": { - "type": "structure", - "required": [ - "Id", - "ARN", - "Status", - "DomainName", - "ActiveTrustedSigners", - "StreamingDistributionConfig" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "DomainName": {}, - "ActiveTrustedSigners": { - "shape": "S1u" - }, - "StreamingDistributionConfig": { - "shape": "S2e" - } - } - }, - "S3a": { - "type": "structure", - "required": [ - "Marker", - "MaxItems", - "IsTruncated", - "Quantity" - ], - "members": { - "Marker": {}, - "NextMarker": {}, - "MaxItems": { - "type": "integer" - }, - "IsTruncated": { - "type": "boolean" - }, - "Quantity": { - "type": "integer" - }, - "Items": { - "type": "list", - "member": { - "locationName": "DistributionSummary", - "type": "structure", - "required": [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "DomainName", - "Aliases", - "Origins", - "DefaultCacheBehavior", - "CacheBehaviors", - "CustomErrorResponses", - "Comment", - "PriceClass", - "Enabled", - "ViewerCertificate", - "Restrictions", - "WebACLId", - "HttpVersion", - "IsIPV6Enabled" - ], - "members": { - "Id": {}, - "ARN": {}, - "Status": {}, - "LastModifiedTime": { - "type": "timestamp" - }, - "DomainName": {}, - "Aliases": { - "shape": "S8" - }, - "Origins": { - "shape": "Sb" - }, - "DefaultCacheBehavior": { - "shape": "Sn" - }, - "CacheBehaviors": { - "shape": "S1a" - }, - "CustomErrorResponses": { - "shape": "S1d" - }, - "Comment": {}, - "PriceClass": {}, - "Enabled": { - "type": "boolean" - }, - "ViewerCertificate": { - "shape": "S1i" - }, - "Restrictions": { - "shape": "S1m" - }, - "WebACLId": {}, - "HttpVersion": {}, - "IsIPV6Enabled": { - "type": "boolean" - } - } - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.paginators.json b/src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.paginators.json deleted file mode 100644 index 8edbda2..0000000 --- a/src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.paginators.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "pagination": { - "ListCloudFrontOriginAccessIdentities": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "CloudFrontOriginAccessIdentityList.IsTruncated", - "output_token": "CloudFrontOriginAccessIdentityList.NextMarker", - "result_key": "CloudFrontOriginAccessIdentityList.Items" - }, - "ListDistributions": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "DistributionList.IsTruncated", - "output_token": "DistributionList.NextMarker", - "result_key": "DistributionList.Items" - }, - "ListInvalidations": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "InvalidationList.IsTruncated", - "output_token": "InvalidationList.NextMarker", - "result_key": "InvalidationList.Items" - }, - "ListStreamingDistributions": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "StreamingDistributionList.IsTruncated", - "output_token": "StreamingDistributionList.NextMarker", - "result_key": "StreamingDistributionList.Items" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.waiters2.json b/src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.waiters2.json deleted file mode 100644 index edd74b2..0000000 --- a/src/node_modules/aws-sdk/apis/cloudfront-2017-03-25.waiters2.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "version": 2, - "waiters": { - "DistributionDeployed": { - "delay": 60, - "operation": "GetDistribution", - "maxAttempts": 25, - "description": "Wait until a distribution is deployed.", - "acceptors": [ - { - "expected": "Deployed", - "matcher": "path", - "state": "success", - "argument": "Distribution.Status" - } - ] - }, - "InvalidationCompleted": { - "delay": 20, - "operation": "GetInvalidation", - "maxAttempts": 30, - "description": "Wait until an invalidation has completed.", - "acceptors": [ - { - "expected": "Completed", - "matcher": "path", - "state": "success", - "argument": "Invalidation.Status" - } - ] - }, - "StreamingDistributionDeployed": { - "delay": 60, - "operation": "GetStreamingDistribution", - "maxAttempts": 25, - "description": "Wait until a streaming distribution is deployed.", - "acceptors": [ - { - "expected": "Deployed", - "matcher": "path", - "state": "success", - "argument": "StreamingDistribution.Status" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json b/src/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json deleted file mode 100644 index c642518..0000000 --- a/src/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json +++ /dev/null @@ -1,520 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-05-30", - "endpointPrefix": "cloudhsm", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "CloudHSM", - "serviceFullName": "Amazon CloudHSM", - "signatureVersion": "v4", - "targetPrefix": "CloudHsmFrontendService", - "uid": "cloudhsm-2014-05-30" - }, - "operations": { - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "TagList" - ], - "members": { - "ResourceArn": {}, - "TagList": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": {} - } - } - }, - "CreateHapg": { - "input": { - "type": "structure", - "required": [ - "Label" - ], - "members": { - "Label": {} - } - }, - "output": { - "type": "structure", - "members": { - "HapgArn": {} - } - } - }, - "CreateHsm": { - "input": { - "type": "structure", - "required": [ - "SubnetId", - "SshKey", - "IamRoleArn", - "SubscriptionType" - ], - "members": { - "SubnetId": { - "locationName": "SubnetId" - }, - "SshKey": { - "locationName": "SshKey" - }, - "EniIp": { - "locationName": "EniIp" - }, - "IamRoleArn": { - "locationName": "IamRoleArn" - }, - "ExternalId": { - "locationName": "ExternalId" - }, - "SubscriptionType": { - "locationName": "SubscriptionType" - }, - "ClientToken": { - "locationName": "ClientToken" - }, - "SyslogIp": { - "locationName": "SyslogIp" - } - }, - "locationName": "CreateHsmRequest" - }, - "output": { - "type": "structure", - "members": { - "HsmArn": {} - } - } - }, - "CreateLunaClient": { - "input": { - "type": "structure", - "required": [ - "Certificate" - ], - "members": { - "Label": {}, - "Certificate": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientArn": {} - } - } - }, - "DeleteHapg": { - "input": { - "type": "structure", - "required": [ - "HapgArn" - ], - "members": { - "HapgArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": {} - } - } - }, - "DeleteHsm": { - "input": { - "type": "structure", - "required": [ - "HsmArn" - ], - "members": { - "HsmArn": { - "locationName": "HsmArn" - } - }, - "locationName": "DeleteHsmRequest" - }, - "output": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": {} - } - } - }, - "DeleteLunaClient": { - "input": { - "type": "structure", - "required": [ - "ClientArn" - ], - "members": { - "ClientArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": {} - } - } - }, - "DescribeHapg": { - "input": { - "type": "structure", - "required": [ - "HapgArn" - ], - "members": { - "HapgArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "HapgArn": {}, - "HapgSerial": {}, - "HsmsLastActionFailed": { - "shape": "Sz" - }, - "HsmsPendingDeletion": { - "shape": "Sz" - }, - "HsmsPendingRegistration": { - "shape": "Sz" - }, - "Label": {}, - "LastModifiedTimestamp": {}, - "PartitionSerialList": { - "shape": "S11" - }, - "State": {} - } - } - }, - "DescribeHsm": { - "input": { - "type": "structure", - "members": { - "HsmArn": {}, - "HsmSerialNumber": {} - } - }, - "output": { - "type": "structure", - "members": { - "HsmArn": {}, - "Status": {}, - "StatusDetails": {}, - "AvailabilityZone": {}, - "EniId": {}, - "EniIp": {}, - "SubscriptionType": {}, - "SubscriptionStartDate": {}, - "SubscriptionEndDate": {}, - "VpcId": {}, - "SubnetId": {}, - "IamRoleArn": {}, - "SerialNumber": {}, - "VendorName": {}, - "HsmType": {}, - "SoftwareVersion": {}, - "SshPublicKey": {}, - "SshKeyLastUpdated": {}, - "ServerCertUri": {}, - "ServerCertLastUpdated": {}, - "Partitions": { - "type": "list", - "member": {} - } - } - } - }, - "DescribeLunaClient": { - "input": { - "type": "structure", - "members": { - "ClientArn": {}, - "CertificateFingerprint": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientArn": {}, - "Certificate": {}, - "CertificateFingerprint": {}, - "LastModifiedTimestamp": {}, - "Label": {} - } - } - }, - "GetConfig": { - "input": { - "type": "structure", - "required": [ - "ClientArn", - "ClientVersion", - "HapgList" - ], - "members": { - "ClientArn": {}, - "ClientVersion": {}, - "HapgList": { - "shape": "S1i" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConfigType": {}, - "ConfigFile": {}, - "ConfigCred": {} - } - } - }, - "ListAvailableZones": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "AZList": { - "type": "list", - "member": {} - } - } - } - }, - "ListHapgs": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "HapgList" - ], - "members": { - "HapgList": { - "shape": "S1i" - }, - "NextToken": {} - } - } - }, - "ListHsms": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "HsmList": { - "shape": "Sz" - }, - "NextToken": {} - } - } - }, - "ListLunaClients": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ClientList" - ], - "members": { - "ClientList": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn" - ], - "members": { - "ResourceArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "TagList" - ], - "members": { - "TagList": { - "shape": "S3" - } - } - } - }, - "ModifyHapg": { - "input": { - "type": "structure", - "required": [ - "HapgArn" - ], - "members": { - "HapgArn": {}, - "Label": {}, - "PartitionSerialList": { - "shape": "S11" - } - } - }, - "output": { - "type": "structure", - "members": { - "HapgArn": {} - } - } - }, - "ModifyHsm": { - "input": { - "type": "structure", - "required": [ - "HsmArn" - ], - "members": { - "HsmArn": { - "locationName": "HsmArn" - }, - "SubnetId": { - "locationName": "SubnetId" - }, - "EniIp": { - "locationName": "EniIp" - }, - "IamRoleArn": { - "locationName": "IamRoleArn" - }, - "ExternalId": { - "locationName": "ExternalId" - }, - "SyslogIp": { - "locationName": "SyslogIp" - } - }, - "locationName": "ModifyHsmRequest" - }, - "output": { - "type": "structure", - "members": { - "HsmArn": {} - } - } - }, - "ModifyLunaClient": { - "input": { - "type": "structure", - "required": [ - "ClientArn", - "Certificate" - ], - "members": { - "ClientArn": {}, - "Certificate": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientArn": {} - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "TagKeyList" - ], - "members": { - "ResourceArn": {}, - "TagKeyList": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": {} - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sz": { - "type": "list", - "member": {} - }, - "S11": { - "type": "list", - "member": {} - }, - "S1i": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.min.json b/src/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.min.json deleted file mode 100644 index 5db90f2..0000000 --- a/src/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.min.json +++ /dev/null @@ -1,837 +0,0 @@ -{ - "metadata": { - "apiVersion": "2011-02-01", - "endpointPrefix": "cloudsearch", - "serviceFullName": "Amazon CloudSearch", - "signatureVersion": "v4", - "xmlNamespace": "http://cloudsearch.amazonaws.com/doc/2011-02-01/", - "protocol": "query" - }, - "operations": { - "CreateDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "CreateDomainResult", - "type": "structure", - "members": { - "DomainStatus": { - "shape": "S4" - } - } - } - }, - "DefineIndexField": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "IndexField" - ], - "members": { - "DomainName": {}, - "IndexField": { - "shape": "Sf" - } - } - }, - "output": { - "resultWrapper": "DefineIndexFieldResult", - "type": "structure", - "required": [ - "IndexField" - ], - "members": { - "IndexField": { - "shape": "Sx" - } - } - } - }, - "DefineRankExpression": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "RankExpression" - ], - "members": { - "DomainName": {}, - "RankExpression": { - "shape": "S12" - } - } - }, - "output": { - "resultWrapper": "DefineRankExpressionResult", - "type": "structure", - "required": [ - "RankExpression" - ], - "members": { - "RankExpression": { - "shape": "S15" - } - } - } - }, - "DeleteDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DeleteDomainResult", - "type": "structure", - "members": { - "DomainStatus": { - "shape": "S4" - } - } - } - }, - "DeleteIndexField": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "IndexFieldName" - ], - "members": { - "DomainName": {}, - "IndexFieldName": {} - } - }, - "output": { - "resultWrapper": "DeleteIndexFieldResult", - "type": "structure", - "required": [ - "IndexField" - ], - "members": { - "IndexField": { - "shape": "Sx" - } - } - } - }, - "DeleteRankExpression": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "RankName" - ], - "members": { - "DomainName": {}, - "RankName": {} - } - }, - "output": { - "resultWrapper": "DeleteRankExpressionResult", - "type": "structure", - "required": [ - "RankExpression" - ], - "members": { - "RankExpression": { - "shape": "S15" - } - } - } - }, - "DescribeAvailabilityOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DescribeAvailabilityOptionsResult", - "type": "structure", - "members": { - "AvailabilityOptions": { - "shape": "S1e" - } - } - } - }, - "DescribeDefaultSearchField": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DescribeDefaultSearchFieldResult", - "type": "structure", - "required": [ - "DefaultSearchField" - ], - "members": { - "DefaultSearchField": { - "shape": "S1i" - } - } - } - }, - "DescribeDomains": { - "input": { - "type": "structure", - "members": { - "DomainNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeDomainsResult", - "type": "structure", - "required": [ - "DomainStatusList" - ], - "members": { - "DomainStatusList": { - "type": "list", - "member": { - "shape": "S4" - } - } - } - } - }, - "DescribeIndexFields": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "FieldNames": { - "shape": "S1o" - } - } - }, - "output": { - "resultWrapper": "DescribeIndexFieldsResult", - "type": "structure", - "required": [ - "IndexFields" - ], - "members": { - "IndexFields": { - "type": "list", - "member": { - "shape": "Sx" - } - } - } - } - }, - "DescribeRankExpressions": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "RankNames": { - "shape": "S1o" - } - } - }, - "output": { - "resultWrapper": "DescribeRankExpressionsResult", - "type": "structure", - "required": [ - "RankExpressions" - ], - "members": { - "RankExpressions": { - "type": "list", - "member": { - "shape": "S15" - } - } - } - } - }, - "DescribeServiceAccessPolicies": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DescribeServiceAccessPoliciesResult", - "type": "structure", - "required": [ - "AccessPolicies" - ], - "members": { - "AccessPolicies": { - "shape": "S1w" - } - } - } - }, - "DescribeStemmingOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DescribeStemmingOptionsResult", - "type": "structure", - "required": [ - "Stems" - ], - "members": { - "Stems": { - "shape": "S20" - } - } - } - }, - "DescribeStopwordOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DescribeStopwordOptionsResult", - "type": "structure", - "required": [ - "Stopwords" - ], - "members": { - "Stopwords": { - "shape": "S24" - } - } - } - }, - "DescribeSynonymOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DescribeSynonymOptionsResult", - "type": "structure", - "required": [ - "Synonyms" - ], - "members": { - "Synonyms": { - "shape": "S28" - } - } - } - }, - "IndexDocuments": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "IndexDocumentsResult", - "type": "structure", - "members": { - "FieldNames": { - "shape": "S1o" - } - } - } - }, - "UpdateAvailabilityOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "MultiAZ" - ], - "members": { - "DomainName": {}, - "MultiAZ": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "UpdateAvailabilityOptionsResult", - "type": "structure", - "members": { - "AvailabilityOptions": { - "shape": "S1e" - } - } - } - }, - "UpdateDefaultSearchField": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "DefaultSearchField" - ], - "members": { - "DomainName": {}, - "DefaultSearchField": {} - } - }, - "output": { - "resultWrapper": "UpdateDefaultSearchFieldResult", - "type": "structure", - "required": [ - "DefaultSearchField" - ], - "members": { - "DefaultSearchField": { - "shape": "S1i" - } - } - } - }, - "UpdateServiceAccessPolicies": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "AccessPolicies" - ], - "members": { - "DomainName": {}, - "AccessPolicies": {} - } - }, - "output": { - "resultWrapper": "UpdateServiceAccessPoliciesResult", - "type": "structure", - "required": [ - "AccessPolicies" - ], - "members": { - "AccessPolicies": { - "shape": "S1w" - } - } - } - }, - "UpdateStemmingOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "Stems" - ], - "members": { - "DomainName": {}, - "Stems": {} - } - }, - "output": { - "resultWrapper": "UpdateStemmingOptionsResult", - "type": "structure", - "required": [ - "Stems" - ], - "members": { - "Stems": { - "shape": "S20" - } - } - } - }, - "UpdateStopwordOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "Stopwords" - ], - "members": { - "DomainName": {}, - "Stopwords": {} - } - }, - "output": { - "resultWrapper": "UpdateStopwordOptionsResult", - "type": "structure", - "required": [ - "Stopwords" - ], - "members": { - "Stopwords": { - "shape": "S24" - } - } - } - }, - "UpdateSynonymOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "Synonyms" - ], - "members": { - "DomainName": {}, - "Synonyms": {} - } - }, - "output": { - "resultWrapper": "UpdateSynonymOptionsResult", - "type": "structure", - "required": [ - "Synonyms" - ], - "members": { - "Synonyms": { - "shape": "S28" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "required": [ - "DomainId", - "DomainName", - "RequiresIndexDocuments" - ], - "members": { - "DomainId": {}, - "DomainName": {}, - "Created": { - "type": "boolean" - }, - "Deleted": { - "type": "boolean" - }, - "NumSearchableDocs": { - "type": "long" - }, - "DocService": { - "shape": "S8" - }, - "SearchService": { - "shape": "S8" - }, - "RequiresIndexDocuments": { - "type": "boolean" - }, - "Processing": { - "type": "boolean" - }, - "SearchInstanceType": {}, - "SearchPartitionCount": { - "type": "integer" - }, - "SearchInstanceCount": { - "type": "integer" - } - } - }, - "S8": { - "type": "structure", - "members": { - "Arn": {}, - "Endpoint": {} - } - }, - "Sf": { - "type": "structure", - "required": [ - "IndexFieldName", - "IndexFieldType" - ], - "members": { - "IndexFieldName": {}, - "IndexFieldType": {}, - "UIntOptions": { - "type": "structure", - "members": { - "DefaultValue": { - "type": "integer" - } - } - }, - "LiteralOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SearchEnabled": { - "type": "boolean" - }, - "FacetEnabled": { - "type": "boolean" - }, - "ResultEnabled": { - "type": "boolean" - } - } - }, - "TextOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "FacetEnabled": { - "type": "boolean" - }, - "ResultEnabled": { - "type": "boolean" - }, - "TextProcessor": {} - } - }, - "SourceAttributes": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "SourceDataFunction" - ], - "members": { - "SourceDataFunction": {}, - "SourceDataCopy": { - "type": "structure", - "required": [ - "SourceName" - ], - "members": { - "SourceName": {}, - "DefaultValue": {} - } - }, - "SourceDataTrimTitle": { - "type": "structure", - "required": [ - "SourceName" - ], - "members": { - "SourceName": {}, - "DefaultValue": {}, - "Separator": {}, - "Language": {} - } - }, - "SourceDataMap": { - "type": "structure", - "required": [ - "SourceName" - ], - "members": { - "SourceName": {}, - "DefaultValue": {}, - "Cases": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - } - } - }, - "Sx": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "Sf" - }, - "Status": { - "shape": "Sy" - } - } - }, - "Sy": { - "type": "structure", - "required": [ - "CreationDate", - "UpdateDate", - "State" - ], - "members": { - "CreationDate": { - "type": "timestamp" - }, - "UpdateDate": { - "type": "timestamp" - }, - "UpdateVersion": { - "type": "integer" - }, - "State": {}, - "PendingDeletion": { - "type": "boolean" - } - } - }, - "S12": { - "type": "structure", - "required": [ - "RankName", - "RankExpression" - ], - "members": { - "RankName": {}, - "RankExpression": {} - } - }, - "S15": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "S12" - }, - "Status": { - "shape": "Sy" - } - } - }, - "S1e": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "type": "boolean" - }, - "Status": { - "shape": "Sy" - } - } - }, - "S1i": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": {}, - "Status": { - "shape": "Sy" - } - } - }, - "S1o": { - "type": "list", - "member": {} - }, - "S1w": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": {}, - "Status": { - "shape": "Sy" - } - } - }, - "S20": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": {}, - "Status": { - "shape": "Sy" - } - } - }, - "S24": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": {}, - "Status": { - "shape": "Sy" - } - } - }, - "S28": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": {}, - "Status": { - "shape": "Sy" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json b/src/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json deleted file mode 100644 index 5216445..0000000 --- a/src/node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "pagination": { - "DescribeDomains": { - "result_key": "DomainStatusList" - }, - "DescribeIndexFields": { - "result_key": "IndexFields" - }, - "DescribeRankExpressions": { - "result_key": "RankExpressions" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json b/src/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json deleted file mode 100644 index b41f738..0000000 --- a/src/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.min.json +++ /dev/null @@ -1,1087 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-01-01", - "endpointPrefix": "cloudsearch", - "serviceFullName": "Amazon CloudSearch", - "signatureVersion": "v4", - "xmlNamespace": "http://cloudsearch.amazonaws.com/doc/2013-01-01/", - "protocol": "query", - "uid": "cloudsearch-2013-01-01" - }, - "operations": { - "BuildSuggesters": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "BuildSuggestersResult", - "type": "structure", - "members": { - "FieldNames": { - "shape": "S4" - } - } - } - }, - "CreateDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "CreateDomainResult", - "type": "structure", - "members": { - "DomainStatus": { - "shape": "S8" - } - } - } - }, - "DefineAnalysisScheme": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "AnalysisScheme" - ], - "members": { - "DomainName": {}, - "AnalysisScheme": { - "shape": "Sl" - } - } - }, - "output": { - "resultWrapper": "DefineAnalysisSchemeResult", - "type": "structure", - "required": [ - "AnalysisScheme" - ], - "members": { - "AnalysisScheme": { - "shape": "Ss" - } - } - } - }, - "DefineExpression": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "Expression" - ], - "members": { - "DomainName": {}, - "Expression": { - "shape": "Sy" - } - } - }, - "output": { - "resultWrapper": "DefineExpressionResult", - "type": "structure", - "required": [ - "Expression" - ], - "members": { - "Expression": { - "shape": "S11" - } - } - } - }, - "DefineIndexField": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "IndexField" - ], - "members": { - "DomainName": {}, - "IndexField": { - "shape": "S13" - } - } - }, - "output": { - "resultWrapper": "DefineIndexFieldResult", - "type": "structure", - "required": [ - "IndexField" - ], - "members": { - "IndexField": { - "shape": "S1n" - } - } - } - }, - "DefineSuggester": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "Suggester" - ], - "members": { - "DomainName": {}, - "Suggester": { - "shape": "S1p" - } - } - }, - "output": { - "resultWrapper": "DefineSuggesterResult", - "type": "structure", - "required": [ - "Suggester" - ], - "members": { - "Suggester": { - "shape": "S1t" - } - } - } - }, - "DeleteAnalysisScheme": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "AnalysisSchemeName" - ], - "members": { - "DomainName": {}, - "AnalysisSchemeName": {} - } - }, - "output": { - "resultWrapper": "DeleteAnalysisSchemeResult", - "type": "structure", - "required": [ - "AnalysisScheme" - ], - "members": { - "AnalysisScheme": { - "shape": "Ss" - } - } - } - }, - "DeleteDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DeleteDomainResult", - "type": "structure", - "members": { - "DomainStatus": { - "shape": "S8" - } - } - } - }, - "DeleteExpression": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "ExpressionName" - ], - "members": { - "DomainName": {}, - "ExpressionName": {} - } - }, - "output": { - "resultWrapper": "DeleteExpressionResult", - "type": "structure", - "required": [ - "Expression" - ], - "members": { - "Expression": { - "shape": "S11" - } - } - } - }, - "DeleteIndexField": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "IndexFieldName" - ], - "members": { - "DomainName": {}, - "IndexFieldName": {} - } - }, - "output": { - "resultWrapper": "DeleteIndexFieldResult", - "type": "structure", - "required": [ - "IndexField" - ], - "members": { - "IndexField": { - "shape": "S1n" - } - } - } - }, - "DeleteSuggester": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "SuggesterName" - ], - "members": { - "DomainName": {}, - "SuggesterName": {} - } - }, - "output": { - "resultWrapper": "DeleteSuggesterResult", - "type": "structure", - "required": [ - "Suggester" - ], - "members": { - "Suggester": { - "shape": "S1t" - } - } - } - }, - "DescribeAnalysisSchemes": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "AnalysisSchemeNames": { - "shape": "S25" - }, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeAnalysisSchemesResult", - "type": "structure", - "required": [ - "AnalysisSchemes" - ], - "members": { - "AnalysisSchemes": { - "type": "list", - "member": { - "shape": "Ss" - } - } - } - } - }, - "DescribeAvailabilityOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeAvailabilityOptionsResult", - "type": "structure", - "members": { - "AvailabilityOptions": { - "shape": "S2a" - } - } - } - }, - "DescribeDomains": { - "input": { - "type": "structure", - "members": { - "DomainNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeDomainsResult", - "type": "structure", - "required": [ - "DomainStatusList" - ], - "members": { - "DomainStatusList": { - "type": "list", - "member": { - "shape": "S8" - } - } - } - } - }, - "DescribeExpressions": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "ExpressionNames": { - "shape": "S25" - }, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeExpressionsResult", - "type": "structure", - "required": [ - "Expressions" - ], - "members": { - "Expressions": { - "type": "list", - "member": { - "shape": "S11" - } - } - } - } - }, - "DescribeIndexFields": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "FieldNames": { - "type": "list", - "member": {} - }, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeIndexFieldsResult", - "type": "structure", - "required": [ - "IndexFields" - ], - "members": { - "IndexFields": { - "type": "list", - "member": { - "shape": "S1n" - } - } - } - } - }, - "DescribeScalingParameters": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DescribeScalingParametersResult", - "type": "structure", - "required": [ - "ScalingParameters" - ], - "members": { - "ScalingParameters": { - "shape": "S2p" - } - } - } - }, - "DescribeServiceAccessPolicies": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeServiceAccessPoliciesResult", - "type": "structure", - "required": [ - "AccessPolicies" - ], - "members": { - "AccessPolicies": { - "shape": "S2u" - } - } - } - }, - "DescribeSuggesters": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "SuggesterNames": { - "shape": "S25" - }, - "Deployed": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeSuggestersResult", - "type": "structure", - "required": [ - "Suggesters" - ], - "members": { - "Suggesters": { - "type": "list", - "member": { - "shape": "S1t" - } - } - } - } - }, - "IndexDocuments": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "IndexDocumentsResult", - "type": "structure", - "members": { - "FieldNames": { - "shape": "S4" - } - } - } - }, - "ListDomainNames": { - "output": { - "resultWrapper": "ListDomainNamesResult", - "type": "structure", - "members": { - "DomainNames": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "UpdateAvailabilityOptions": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "MultiAZ" - ], - "members": { - "DomainName": {}, - "MultiAZ": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "UpdateAvailabilityOptionsResult", - "type": "structure", - "members": { - "AvailabilityOptions": { - "shape": "S2a" - } - } - } - }, - "UpdateScalingParameters": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "ScalingParameters" - ], - "members": { - "DomainName": {}, - "ScalingParameters": { - "shape": "S2q" - } - } - }, - "output": { - "resultWrapper": "UpdateScalingParametersResult", - "type": "structure", - "required": [ - "ScalingParameters" - ], - "members": { - "ScalingParameters": { - "shape": "S2p" - } - } - } - }, - "UpdateServiceAccessPolicies": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "AccessPolicies" - ], - "members": { - "DomainName": {}, - "AccessPolicies": {} - } - }, - "output": { - "resultWrapper": "UpdateServiceAccessPoliciesResult", - "type": "structure", - "required": [ - "AccessPolicies" - ], - "members": { - "AccessPolicies": { - "shape": "S2u" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "list", - "member": {} - }, - "S8": { - "type": "structure", - "required": [ - "DomainId", - "DomainName", - "RequiresIndexDocuments" - ], - "members": { - "DomainId": {}, - "DomainName": {}, - "ARN": {}, - "Created": { - "type": "boolean" - }, - "Deleted": { - "type": "boolean" - }, - "DocService": { - "shape": "Sc" - }, - "SearchService": { - "shape": "Sc" - }, - "RequiresIndexDocuments": { - "type": "boolean" - }, - "Processing": { - "type": "boolean" - }, - "SearchInstanceType": {}, - "SearchPartitionCount": { - "type": "integer" - }, - "SearchInstanceCount": { - "type": "integer" - }, - "Limits": { - "type": "structure", - "required": [ - "MaximumReplicationCount", - "MaximumPartitionCount" - ], - "members": { - "MaximumReplicationCount": { - "type": "integer" - }, - "MaximumPartitionCount": { - "type": "integer" - } - } - } - } - }, - "Sc": { - "type": "structure", - "members": { - "Endpoint": {} - } - }, - "Sl": { - "type": "structure", - "required": [ - "AnalysisSchemeName", - "AnalysisSchemeLanguage" - ], - "members": { - "AnalysisSchemeName": {}, - "AnalysisSchemeLanguage": {}, - "AnalysisOptions": { - "type": "structure", - "members": { - "Synonyms": {}, - "Stopwords": {}, - "StemmingDictionary": {}, - "JapaneseTokenizationDictionary": {}, - "AlgorithmicStemming": {} - } - } - } - }, - "Ss": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "Sl" - }, - "Status": { - "shape": "St" - } - } - }, - "St": { - "type": "structure", - "required": [ - "CreationDate", - "UpdateDate", - "State" - ], - "members": { - "CreationDate": { - "type": "timestamp" - }, - "UpdateDate": { - "type": "timestamp" - }, - "UpdateVersion": { - "type": "integer" - }, - "State": {}, - "PendingDeletion": { - "type": "boolean" - } - } - }, - "Sy": { - "type": "structure", - "required": [ - "ExpressionName", - "ExpressionValue" - ], - "members": { - "ExpressionName": {}, - "ExpressionValue": {} - } - }, - "S11": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "Sy" - }, - "Status": { - "shape": "St" - } - } - }, - "S13": { - "type": "structure", - "required": [ - "IndexFieldName", - "IndexFieldType" - ], - "members": { - "IndexFieldName": {}, - "IndexFieldType": {}, - "IntOptions": { - "type": "structure", - "members": { - "DefaultValue": { - "type": "long" - }, - "SourceField": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - } - } - }, - "DoubleOptions": { - "type": "structure", - "members": { - "DefaultValue": { - "type": "double" - }, - "SourceField": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - } - } - }, - "LiteralOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceField": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - } - } - }, - "TextOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceField": {}, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - }, - "HighlightEnabled": { - "type": "boolean" - }, - "AnalysisScheme": {} - } - }, - "DateOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceField": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - } - } - }, - "LatLonOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceField": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - }, - "SortEnabled": { - "type": "boolean" - } - } - }, - "IntArrayOptions": { - "type": "structure", - "members": { - "DefaultValue": { - "type": "long" - }, - "SourceFields": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - } - } - }, - "DoubleArrayOptions": { - "type": "structure", - "members": { - "DefaultValue": { - "type": "double" - }, - "SourceFields": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - } - } - }, - "LiteralArrayOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceFields": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - } - } - }, - "TextArrayOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceFields": {}, - "ReturnEnabled": { - "type": "boolean" - }, - "HighlightEnabled": { - "type": "boolean" - }, - "AnalysisScheme": {} - } - }, - "DateArrayOptions": { - "type": "structure", - "members": { - "DefaultValue": {}, - "SourceFields": {}, - "FacetEnabled": { - "type": "boolean" - }, - "SearchEnabled": { - "type": "boolean" - }, - "ReturnEnabled": { - "type": "boolean" - } - } - } - } - }, - "S1n": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "S13" - }, - "Status": { - "shape": "St" - } - } - }, - "S1p": { - "type": "structure", - "required": [ - "SuggesterName", - "DocumentSuggesterOptions" - ], - "members": { - "SuggesterName": {}, - "DocumentSuggesterOptions": { - "type": "structure", - "required": [ - "SourceField" - ], - "members": { - "SourceField": {}, - "FuzzyMatching": {}, - "SortExpression": {} - } - } - } - }, - "S1t": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "S1p" - }, - "Status": { - "shape": "St" - } - } - }, - "S25": { - "type": "list", - "member": {} - }, - "S2a": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "type": "boolean" - }, - "Status": { - "shape": "St" - } - } - }, - "S2p": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "S2q" - }, - "Status": { - "shape": "St" - } - } - }, - "S2q": { - "type": "structure", - "members": { - "DesiredInstanceType": {}, - "DesiredReplicationCount": { - "type": "integer" - }, - "DesiredPartitionCount": { - "type": "integer" - } - } - }, - "S2u": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": {}, - "Status": { - "shape": "St" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json b/src/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json deleted file mode 100644 index 82fa804..0000000 --- a/src/node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "pagination": { - "DescribeAnalysisSchemes": { - "result_key": "AnalysisSchemes" - }, - "DescribeDomains": { - "result_key": "DomainStatusList" - }, - "DescribeExpressions": { - "result_key": "Expressions" - }, - "DescribeIndexFields": { - "result_key": "IndexFields" - }, - "DescribeSuggesters": { - "result_key": "Suggesters" - } - } -} - diff --git a/src/node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json b/src/node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json deleted file mode 100644 index 97f1b79..0000000 --- a/src/node_modules/aws-sdk/apis/cloudsearchdomain-2013-01-01.min.json +++ /dev/null @@ -1,298 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-01-01", - "endpointPrefix": "cloudsearchdomain", - "jsonVersion": "1.1", - "protocol": "rest-json", - "serviceFullName": "Amazon CloudSearch Domain", - "signatureVersion": "v4", - "signingName": "cloudsearch", - "uid": "cloudsearchdomain-2013-01-01" - }, - "operations": { - "Search": { - "http": { - "method": "GET", - "requestUri": "/2013-01-01/search?format=sdk&pretty=true" - }, - "input": { - "type": "structure", - "required": [ - "query" - ], - "members": { - "cursor": { - "location": "querystring", - "locationName": "cursor" - }, - "expr": { - "location": "querystring", - "locationName": "expr" - }, - "facet": { - "location": "querystring", - "locationName": "facet" - }, - "filterQuery": { - "location": "querystring", - "locationName": "fq" - }, - "highlight": { - "location": "querystring", - "locationName": "highlight" - }, - "partial": { - "location": "querystring", - "locationName": "partial", - "type": "boolean" - }, - "query": { - "location": "querystring", - "locationName": "q" - }, - "queryOptions": { - "location": "querystring", - "locationName": "q.options" - }, - "queryParser": { - "location": "querystring", - "locationName": "q.parser" - }, - "return": { - "location": "querystring", - "locationName": "return" - }, - "size": { - "location": "querystring", - "locationName": "size", - "type": "long" - }, - "sort": { - "location": "querystring", - "locationName": "sort" - }, - "start": { - "location": "querystring", - "locationName": "start", - "type": "long" - }, - "stats": { - "location": "querystring", - "locationName": "stats" - } - } - }, - "output": { - "type": "structure", - "members": { - "status": { - "type": "structure", - "members": { - "timems": { - "type": "long" - }, - "rid": {} - } - }, - "hits": { - "type": "structure", - "members": { - "found": { - "type": "long" - }, - "start": { - "type": "long" - }, - "cursor": {}, - "hit": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "fields": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "exprs": { - "type": "map", - "key": {}, - "value": {} - }, - "highlights": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - }, - "facets": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "buckets": { - "type": "list", - "member": { - "type": "structure", - "members": { - "value": {}, - "count": { - "type": "long" - } - } - } - } - } - } - }, - "stats": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "min": {}, - "max": {}, - "count": { - "type": "long" - }, - "missing": { - "type": "long" - }, - "sum": { - "type": "double" - }, - "sumOfSquares": { - "type": "double" - }, - "mean": {}, - "stddev": { - "type": "double" - } - } - } - } - } - } - }, - "Suggest": { - "http": { - "method": "GET", - "requestUri": "/2013-01-01/suggest?format=sdk&pretty=true" - }, - "input": { - "type": "structure", - "required": [ - "query", - "suggester" - ], - "members": { - "query": { - "location": "querystring", - "locationName": "q" - }, - "suggester": { - "location": "querystring", - "locationName": "suggester" - }, - "size": { - "location": "querystring", - "locationName": "size", - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "status": { - "type": "structure", - "members": { - "timems": { - "type": "long" - }, - "rid": {} - } - }, - "suggest": { - "type": "structure", - "members": { - "query": {}, - "found": { - "type": "long" - }, - "suggestions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "suggestion": {}, - "score": { - "type": "long" - }, - "id": {} - } - } - } - } - } - } - } - }, - "UploadDocuments": { - "http": { - "requestUri": "/2013-01-01/documents/batch?format=sdk" - }, - "input": { - "type": "structure", - "required": [ - "documents", - "contentType" - ], - "members": { - "documents": { - "type": "blob", - "streaming": true - }, - "contentType": { - "location": "header", - "locationName": "Content-Type" - } - }, - "payload": "documents" - }, - "output": { - "type": "structure", - "members": { - "status": {}, - "adds": { - "type": "long" - }, - "deletes": { - "type": "long" - }, - "warnings": { - "type": "list", - "member": { - "type": "structure", - "members": { - "message": {} - } - } - } - } - } - } - }, - "shapes": {} -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json b/src/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json deleted file mode 100644 index cda9726..0000000 --- a/src/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +++ /dev/null @@ -1,530 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-11-01", - "endpointPrefix": "cloudtrail", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "CloudTrail", - "serviceFullName": "AWS CloudTrail", - "signatureVersion": "v4", - "targetPrefix": "com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101", - "uid": "cloudtrail-2013-11-01" - }, - "operations": { - "AddTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId" - ], - "members": { - "ResourceId": {}, - "TagsList": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "CreateTrail": { - "input": { - "type": "structure", - "required": [ - "Name", - "S3BucketName" - ], - "members": { - "Name": {}, - "S3BucketName": {}, - "S3KeyPrefix": {}, - "SnsTopicName": {}, - "IncludeGlobalServiceEvents": { - "type": "boolean" - }, - "IsMultiRegionTrail": { - "type": "boolean" - }, - "EnableLogFileValidation": { - "type": "boolean" - }, - "CloudWatchLogsLogGroupArn": {}, - "CloudWatchLogsRoleArn": {}, - "KmsKeyId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "S3BucketName": {}, - "S3KeyPrefix": {}, - "SnsTopicName": { - "deprecated": true - }, - "SnsTopicARN": {}, - "IncludeGlobalServiceEvents": { - "type": "boolean" - }, - "IsMultiRegionTrail": { - "type": "boolean" - }, - "TrailARN": {}, - "LogFileValidationEnabled": { - "type": "boolean" - }, - "CloudWatchLogsLogGroupArn": {}, - "CloudWatchLogsRoleArn": {}, - "KmsKeyId": {} - } - }, - "idempotent": true - }, - "DeleteTrail": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "DescribeTrails": { - "input": { - "type": "structure", - "members": { - "trailNameList": { - "type": "list", - "member": {} - }, - "includeShadowTrails": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "trailList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "S3BucketName": {}, - "S3KeyPrefix": {}, - "SnsTopicName": { - "deprecated": true - }, - "SnsTopicARN": {}, - "IncludeGlobalServiceEvents": { - "type": "boolean" - }, - "IsMultiRegionTrail": { - "type": "boolean" - }, - "HomeRegion": {}, - "TrailARN": {}, - "LogFileValidationEnabled": { - "type": "boolean" - }, - "CloudWatchLogsLogGroupArn": {}, - "CloudWatchLogsRoleArn": {}, - "KmsKeyId": {}, - "HasCustomEventSelectors": { - "type": "boolean" - } - } - } - } - } - }, - "idempotent": true - }, - "GetEventSelectors": { - "input": { - "type": "structure", - "required": [ - "TrailName" - ], - "members": { - "TrailName": {} - } - }, - "output": { - "type": "structure", - "members": { - "TrailARN": {}, - "EventSelectors": { - "shape": "Si" - } - } - }, - "idempotent": true - }, - "GetTrailStatus": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "IsLogging": { - "type": "boolean" - }, - "LatestDeliveryError": {}, - "LatestNotificationError": {}, - "LatestDeliveryTime": { - "type": "timestamp" - }, - "LatestNotificationTime": { - "type": "timestamp" - }, - "StartLoggingTime": { - "type": "timestamp" - }, - "StopLoggingTime": { - "type": "timestamp" - }, - "LatestCloudWatchLogsDeliveryError": {}, - "LatestCloudWatchLogsDeliveryTime": { - "type": "timestamp" - }, - "LatestDigestDeliveryTime": { - "type": "timestamp" - }, - "LatestDigestDeliveryError": {}, - "LatestDeliveryAttemptTime": {}, - "LatestNotificationAttemptTime": {}, - "LatestNotificationAttemptSucceeded": {}, - "LatestDeliveryAttemptSucceeded": {}, - "TimeLoggingStarted": {}, - "TimeLoggingStopped": {} - } - }, - "idempotent": true - }, - "ListPublicKeys": { - "input": { - "type": "structure", - "members": { - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "PublicKeyList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Value": { - "type": "blob" - }, - "ValidityStartTime": { - "type": "timestamp" - }, - "ValidityEndTime": { - "type": "timestamp" - }, - "Fingerprint": {} - } - } - }, - "NextToken": {} - } - }, - "idempotent": true - }, - "ListTags": { - "input": { - "type": "structure", - "required": [ - "ResourceIdList" - ], - "members": { - "ResourceIdList": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ResourceTagList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceId": {}, - "TagsList": { - "shape": "S3" - } - } - } - }, - "NextToken": {} - } - }, - "idempotent": true - }, - "LookupEvents": { - "input": { - "type": "structure", - "members": { - "LookupAttributes": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AttributeKey", - "AttributeValue" - ], - "members": { - "AttributeKey": {}, - "AttributeValue": {} - } - } - }, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventId": {}, - "EventName": {}, - "EventTime": { - "type": "timestamp" - }, - "EventSource": {}, - "Username": {}, - "Resources": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceType": {}, - "ResourceName": {} - } - } - }, - "CloudTrailEvent": {} - } - } - }, - "NextToken": {} - } - }, - "idempotent": true - }, - "PutEventSelectors": { - "input": { - "type": "structure", - "required": [ - "TrailName", - "EventSelectors" - ], - "members": { - "TrailName": {}, - "EventSelectors": { - "shape": "Si" - } - } - }, - "output": { - "type": "structure", - "members": { - "TrailARN": {}, - "EventSelectors": { - "shape": "Si" - } - } - }, - "idempotent": true - }, - "RemoveTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId" - ], - "members": { - "ResourceId": {}, - "TagsList": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "StartLogging": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "StopLogging": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "UpdateTrail": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "S3BucketName": {}, - "S3KeyPrefix": {}, - "SnsTopicName": {}, - "IncludeGlobalServiceEvents": { - "type": "boolean" - }, - "IsMultiRegionTrail": { - "type": "boolean" - }, - "EnableLogFileValidation": { - "type": "boolean" - }, - "CloudWatchLogsLogGroupArn": {}, - "CloudWatchLogsRoleArn": {}, - "KmsKeyId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "S3BucketName": {}, - "S3KeyPrefix": {}, - "SnsTopicName": { - "deprecated": true - }, - "SnsTopicARN": {}, - "IncludeGlobalServiceEvents": { - "type": "boolean" - }, - "IsMultiRegionTrail": { - "type": "boolean" - }, - "TrailARN": {}, - "LogFileValidationEnabled": { - "type": "boolean" - }, - "CloudWatchLogsLogGroupArn": {}, - "CloudWatchLogsRoleArn": {}, - "KmsKeyId": {} - } - }, - "idempotent": true - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Si": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ReadWriteType": {}, - "IncludeManagementEvents": { - "type": "boolean" - }, - "DataResources": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json b/src/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json deleted file mode 100644 index 868fef8..0000000 --- a/src/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "pagination": { - "DescribeTrails": { - "result_key": "trailList" - }, - "LookupEvents": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Events" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/codebuild-2016-10-06.examples.json b/src/node_modules/aws-sdk/apis/codebuild-2016-10-06.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/codebuild-2016-10-06.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/codebuild-2016-10-06.min.json b/src/node_modules/aws-sdk/apis/codebuild-2016-10-06.min.json deleted file mode 100644 index c7765ea..0000000 --- a/src/node_modules/aws-sdk/apis/codebuild-2016-10-06.min.json +++ /dev/null @@ -1,502 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-10-06", - "endpointPrefix": "codebuild", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS CodeBuild", - "signatureVersion": "v4", - "targetPrefix": "CodeBuild_20161006", - "uid": "codebuild-2016-10-06" - }, - "operations": { - "BatchGetBuilds": { - "input": { - "type": "structure", - "required": [ - "ids" - ], - "members": { - "ids": { - "shape": "S2" - } - } - }, - "output": { - "type": "structure", - "members": { - "builds": { - "type": "list", - "member": { - "shape": "S6" - } - }, - "buildsNotFound": { - "shape": "S2" - } - } - } - }, - "BatchGetProjects": { - "input": { - "type": "structure", - "required": [ - "names" - ], - "members": { - "names": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "projects": { - "type": "list", - "member": { - "shape": "Sy" - } - }, - "projectsNotFound": { - "shape": "Sv" - } - } - } - }, - "CreateProject": { - "input": { - "type": "structure", - "required": [ - "name", - "source", - "artifacts", - "environment" - ], - "members": { - "name": {}, - "description": {}, - "source": { - "shape": "Sg" - }, - "artifacts": { - "shape": "S11" - }, - "environment": { - "shape": "Sl" - }, - "serviceRole": {}, - "timeoutInMinutes": { - "type": "integer" - }, - "encryptionKey": {}, - "tags": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "members": { - "project": { - "shape": "Sy" - } - } - } - }, - "DeleteProject": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ListBuilds": { - "input": { - "type": "structure", - "members": { - "sortOrder": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ids": { - "shape": "S2" - }, - "nextToken": {} - } - } - }, - "ListBuildsForProject": { - "input": { - "type": "structure", - "required": [ - "projectName" - ], - "members": { - "projectName": {}, - "sortOrder": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ids": { - "shape": "S2" - }, - "nextToken": {} - } - } - }, - "ListCuratedEnvironmentImages": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "platforms": { - "type": "list", - "member": { - "type": "structure", - "members": { - "platform": {}, - "languages": { - "type": "list", - "member": { - "type": "structure", - "members": { - "language": {}, - "images": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "description": {} - } - } - } - } - } - } - } - } - } - } - } - }, - "ListProjects": { - "input": { - "type": "structure", - "members": { - "sortBy": {}, - "sortOrder": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "nextToken": {}, - "projects": { - "shape": "Sv" - } - } - } - }, - "StartBuild": { - "input": { - "type": "structure", - "required": [ - "projectName" - ], - "members": { - "projectName": {}, - "sourceVersion": {}, - "artifactsOverride": { - "shape": "S11" - }, - "environmentVariablesOverride": { - "shape": "So" - }, - "buildspecOverride": {}, - "timeoutInMinutesOverride": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "build": { - "shape": "S6" - } - } - } - }, - "StopBuild": { - "input": { - "type": "structure", - "required": [ - "id" - ], - "members": { - "id": {} - } - }, - "output": { - "type": "structure", - "members": { - "build": { - "shape": "S6" - } - } - } - }, - "UpdateProject": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "description": {}, - "source": { - "shape": "Sg" - }, - "artifacts": { - "shape": "S11" - }, - "environment": { - "shape": "Sl" - }, - "serviceRole": {}, - "timeoutInMinutes": { - "type": "integer" - }, - "encryptionKey": {}, - "tags": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "members": { - "project": { - "shape": "Sy" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S6": { - "type": "structure", - "members": { - "id": {}, - "arn": {}, - "startTime": { - "type": "timestamp" - }, - "endTime": { - "type": "timestamp" - }, - "currentPhase": {}, - "buildStatus": {}, - "sourceVersion": {}, - "projectName": {}, - "phases": { - "type": "list", - "member": { - "type": "structure", - "members": { - "phaseType": {}, - "phaseStatus": {}, - "startTime": { - "type": "timestamp" - }, - "endTime": { - "type": "timestamp" - }, - "durationInSeconds": { - "type": "long" - }, - "contexts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "statusCode": {}, - "message": {} - } - } - } - } - } - }, - "source": { - "shape": "Sg" - }, - "artifacts": { - "type": "structure", - "members": { - "location": {}, - "sha256sum": {}, - "md5sum": {} - } - }, - "environment": { - "shape": "Sl" - }, - "logs": { - "type": "structure", - "members": { - "groupName": {}, - "streamName": {}, - "deepLink": {} - } - }, - "timeoutInMinutes": { - "type": "integer" - }, - "buildComplete": { - "type": "boolean" - }, - "initiator": {} - } - }, - "Sg": { - "type": "structure", - "required": [ - "type" - ], - "members": { - "type": {}, - "location": {}, - "buildspec": {}, - "auth": { - "type": "structure", - "required": [ - "type" - ], - "members": { - "type": {}, - "resource": {} - } - } - } - }, - "Sl": { - "type": "structure", - "required": [ - "type", - "image", - "computeType" - ], - "members": { - "type": {}, - "image": {}, - "computeType": {}, - "environmentVariables": { - "shape": "So" - }, - "privilegedMode": { - "type": "boolean" - } - } - }, - "So": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "value" - ], - "members": { - "name": {}, - "value": {} - } - } - }, - "Sv": { - "type": "list", - "member": {} - }, - "Sy": { - "type": "structure", - "members": { - "name": {}, - "arn": {}, - "description": {}, - "source": { - "shape": "Sg" - }, - "artifacts": { - "shape": "S11" - }, - "environment": { - "shape": "Sl" - }, - "serviceRole": {}, - "timeoutInMinutes": { - "type": "integer" - }, - "encryptionKey": {}, - "tags": { - "shape": "S16" - }, - "created": { - "type": "timestamp" - }, - "lastModified": { - "type": "timestamp" - } - } - }, - "S11": { - "type": "structure", - "required": [ - "type" - ], - "members": { - "type": {}, - "location": {}, - "path": {}, - "namespaceType": {}, - "name": {}, - "packaging": {} - } - }, - "S16": { - "type": "list", - "member": { - "type": "structure", - "members": { - "key": {}, - "value": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/codebuild-2016-10-06.paginators.json b/src/node_modules/aws-sdk/apis/codebuild-2016-10-06.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/codebuild-2016-10-06.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json b/src/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json deleted file mode 100644 index 8759c1e..0000000 --- a/src/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json +++ /dev/null @@ -1,465 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-04-13", - "endpointPrefix": "codecommit", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "CodeCommit", - "serviceFullName": "AWS CodeCommit", - "signatureVersion": "v4", - "targetPrefix": "CodeCommit_20150413", - "uid": "codecommit-2015-04-13" - }, - "operations": { - "BatchGetRepositories": { - "input": { - "type": "structure", - "required": [ - "repositoryNames" - ], - "members": { - "repositoryNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "repositories": { - "type": "list", - "member": { - "shape": "S6" - } - }, - "repositoriesNotFound": { - "type": "list", - "member": {} - } - } - } - }, - "CreateBranch": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "branchName", - "commitId" - ], - "members": { - "repositoryName": {}, - "branchName": {}, - "commitId": {} - } - } - }, - "CreateRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {}, - "repositoryDescription": {} - } - }, - "output": { - "type": "structure", - "members": { - "repositoryMetadata": { - "shape": "S6" - } - } - } - }, - "DeleteRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "repositoryId": {} - } - } - }, - "GetBlob": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "blobId" - ], - "members": { - "repositoryName": {}, - "blobId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "content" - ], - "members": { - "content": { - "type": "blob" - } - } - } - }, - "GetBranch": { - "input": { - "type": "structure", - "members": { - "repositoryName": {}, - "branchName": {} - } - }, - "output": { - "type": "structure", - "members": { - "branch": { - "type": "structure", - "members": { - "branchName": {}, - "commitId": {} - } - } - } - } - }, - "GetCommit": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "commitId" - ], - "members": { - "repositoryName": {}, - "commitId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "commit" - ], - "members": { - "commit": { - "type": "structure", - "members": { - "treeId": {}, - "parents": { - "type": "list", - "member": {} - }, - "message": {}, - "author": { - "shape": "Sz" - }, - "committer": { - "shape": "Sz" - }, - "additionalData": {} - } - } - } - } - }, - "GetDifferences": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "afterCommitSpecifier" - ], - "members": { - "repositoryName": {}, - "beforeCommitSpecifier": {}, - "afterCommitSpecifier": {}, - "beforePath": {}, - "afterPath": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "differences": { - "type": "list", - "member": { - "type": "structure", - "members": { - "beforeBlob": { - "shape": "S1c" - }, - "afterBlob": { - "shape": "S1c" - }, - "changeType": {} - } - } - }, - "NextToken": {} - } - } - }, - "GetRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "repositoryMetadata": { - "shape": "S6" - } - } - } - }, - "GetRepositoryTriggers": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "configurationId": {}, - "triggers": { - "shape": "S1k" - } - } - } - }, - "ListBranches": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "branches": { - "shape": "S1o" - }, - "nextToken": {} - } - } - }, - "ListRepositories": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "sortBy": {}, - "order": {} - } - }, - "output": { - "type": "structure", - "members": { - "repositories": { - "type": "list", - "member": { - "type": "structure", - "members": { - "repositoryName": {}, - "repositoryId": {} - } - } - }, - "nextToken": {} - } - } - }, - "PutRepositoryTriggers": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "triggers" - ], - "members": { - "repositoryName": {}, - "triggers": { - "shape": "S1k" - } - } - }, - "output": { - "type": "structure", - "members": { - "configurationId": {} - } - } - }, - "TestRepositoryTriggers": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "triggers" - ], - "members": { - "repositoryName": {}, - "triggers": { - "shape": "S1k" - } - } - }, - "output": { - "type": "structure", - "members": { - "successfulExecutions": { - "type": "list", - "member": {} - }, - "failedExecutions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "trigger": {}, - "failureMessage": {} - } - } - } - } - } - }, - "UpdateDefaultBranch": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "defaultBranchName" - ], - "members": { - "repositoryName": {}, - "defaultBranchName": {} - } - } - }, - "UpdateRepositoryDescription": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {}, - "repositoryDescription": {} - } - } - }, - "UpdateRepositoryName": { - "input": { - "type": "structure", - "required": [ - "oldName", - "newName" - ], - "members": { - "oldName": {}, - "newName": {} - } - } - } - }, - "shapes": { - "S6": { - "type": "structure", - "members": { - "accountId": {}, - "repositoryId": {}, - "repositoryName": {}, - "repositoryDescription": {}, - "defaultBranch": {}, - "lastModifiedDate": { - "type": "timestamp" - }, - "creationDate": { - "type": "timestamp" - }, - "cloneUrlHttp": {}, - "cloneUrlSsh": {}, - "Arn": {} - } - }, - "Sz": { - "type": "structure", - "members": { - "name": {}, - "email": {}, - "date": {} - } - }, - "S1c": { - "type": "structure", - "members": { - "blobId": {}, - "path": {}, - "mode": {} - } - }, - "S1k": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "destinationArn", - "events" - ], - "members": { - "name": {}, - "destinationArn": {}, - "customData": {}, - "branches": { - "shape": "S1o" - }, - "events": { - "type": "list", - "member": {} - } - } - } - }, - "S1o": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json b/src/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json deleted file mode 100644 index 8cbda7d..0000000 --- a/src/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "pagination": { - "GetDifferences": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken" - }, - "ListBranches": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "branches" - }, - "ListRepositories": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "repositories" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.examples.json b/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json b/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json deleted file mode 100644 index 4365869..0000000 --- a/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json +++ /dev/null @@ -1,1296 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-10-06", - "endpointPrefix": "codedeploy", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "CodeDeploy", - "serviceFullName": "AWS CodeDeploy", - "signatureVersion": "v4", - "targetPrefix": "CodeDeploy_20141006", - "timestampFormat": "unixTimestamp", - "uid": "codedeploy-2014-10-06" - }, - "operations": { - "AddTagsToOnPremisesInstances": { - "input": { - "type": "structure", - "required": [ - "tags", - "instanceNames" - ], - "members": { - "tags": { - "shape": "S2" - }, - "instanceNames": { - "shape": "S6" - } - } - } - }, - "BatchGetApplicationRevisions": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "revisions" - ], - "members": { - "applicationName": {}, - "revisions": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "applicationName": {}, - "errorMessage": {}, - "revisions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "revisionLocation": { - "shape": "Sb" - }, - "genericRevisionInfo": { - "shape": "Sq" - } - } - } - } - } - } - }, - "BatchGetApplications": { - "input": { - "type": "structure", - "members": { - "applicationNames": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "applicationsInfo": { - "type": "list", - "member": { - "shape": "Sz" - } - } - } - } - }, - "BatchGetDeploymentGroups": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "deploymentGroupNames" - ], - "members": { - "applicationName": {}, - "deploymentGroupNames": { - "shape": "Ss" - } - } - }, - "output": { - "type": "structure", - "members": { - "deploymentGroupsInfo": { - "type": "list", - "member": { - "shape": "S16" - } - }, - "errorMessage": {} - } - } - }, - "BatchGetDeploymentInstances": { - "input": { - "type": "structure", - "required": [ - "deploymentId", - "instanceIds" - ], - "members": { - "deploymentId": {}, - "instanceIds": { - "shape": "S2g" - } - } - }, - "output": { - "type": "structure", - "members": { - "instancesSummary": { - "type": "list", - "member": { - "shape": "S2k" - } - }, - "errorMessage": {} - } - } - }, - "BatchGetDeployments": { - "input": { - "type": "structure", - "members": { - "deploymentIds": { - "shape": "S2x" - } - } - }, - "output": { - "type": "structure", - "members": { - "deploymentsInfo": { - "type": "list", - "member": { - "shape": "S30" - } - } - } - } - }, - "BatchGetOnPremisesInstances": { - "input": { - "type": "structure", - "members": { - "instanceNames": { - "shape": "S6" - } - } - }, - "output": { - "type": "structure", - "members": { - "instanceInfos": { - "type": "list", - "member": { - "shape": "S3e" - } - } - } - } - }, - "ContinueDeployment": { - "input": { - "type": "structure", - "members": { - "deploymentId": {} - } - } - }, - "CreateApplication": { - "input": { - "type": "structure", - "required": [ - "applicationName" - ], - "members": { - "applicationName": {} - } - }, - "output": { - "type": "structure", - "members": { - "applicationId": {} - } - } - }, - "CreateDeployment": { - "input": { - "type": "structure", - "required": [ - "applicationName" - ], - "members": { - "applicationName": {}, - "deploymentGroupName": {}, - "revision": { - "shape": "Sb" - }, - "deploymentConfigName": {}, - "description": {}, - "ignoreApplicationStopFailures": { - "type": "boolean" - }, - "targetInstances": { - "shape": "S37" - }, - "autoRollbackConfiguration": { - "shape": "S1u" - }, - "updateOutdatedInstancesOnly": { - "type": "boolean" - }, - "fileExistsBehavior": {} - } - }, - "output": { - "type": "structure", - "members": { - "deploymentId": {} - } - } - }, - "CreateDeploymentConfig": { - "input": { - "type": "structure", - "required": [ - "deploymentConfigName" - ], - "members": { - "deploymentConfigName": {}, - "minimumHealthyHosts": { - "shape": "S3o" - } - } - }, - "output": { - "type": "structure", - "members": { - "deploymentConfigId": {} - } - } - }, - "CreateDeploymentGroup": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "deploymentGroupName", - "serviceRoleArn" - ], - "members": { - "applicationName": {}, - "deploymentGroupName": {}, - "deploymentConfigName": {}, - "ec2TagFilters": { - "shape": "S19" - }, - "onPremisesInstanceTagFilters": { - "shape": "S1c" - }, - "autoScalingGroups": { - "shape": "S38" - }, - "serviceRoleArn": {}, - "triggerConfigurations": { - "shape": "S1k" - }, - "alarmConfiguration": { - "shape": "S1q" - }, - "autoRollbackConfiguration": { - "shape": "S1u" - }, - "deploymentStyle": { - "shape": "S1x" - }, - "blueGreenDeploymentConfiguration": { - "shape": "S20" - }, - "loadBalancerInfo": { - "shape": "S28" - } - } - }, - "output": { - "type": "structure", - "members": { - "deploymentGroupId": {} - } - } - }, - "DeleteApplication": { - "input": { - "type": "structure", - "required": [ - "applicationName" - ], - "members": { - "applicationName": {} - } - } - }, - "DeleteDeploymentConfig": { - "input": { - "type": "structure", - "required": [ - "deploymentConfigName" - ], - "members": { - "deploymentConfigName": {} - } - } - }, - "DeleteDeploymentGroup": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "deploymentGroupName" - ], - "members": { - "applicationName": {}, - "deploymentGroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "hooksNotCleanedUp": { - "shape": "S1f" - } - } - } - }, - "DeregisterOnPremisesInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - } - }, - "GetApplication": { - "input": { - "type": "structure", - "required": [ - "applicationName" - ], - "members": { - "applicationName": {} - } - }, - "output": { - "type": "structure", - "members": { - "application": { - "shape": "Sz" - } - } - } - }, - "GetApplicationRevision": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "revision" - ], - "members": { - "applicationName": {}, - "revision": { - "shape": "Sb" - } - } - }, - "output": { - "type": "structure", - "members": { - "applicationName": {}, - "revision": { - "shape": "Sb" - }, - "revisionInfo": { - "shape": "Sq" - } - } - } - }, - "GetDeployment": { - "input": { - "type": "structure", - "required": [ - "deploymentId" - ], - "members": { - "deploymentId": {} - } - }, - "output": { - "type": "structure", - "members": { - "deploymentInfo": { - "shape": "S30" - } - } - } - }, - "GetDeploymentConfig": { - "input": { - "type": "structure", - "required": [ - "deploymentConfigName" - ], - "members": { - "deploymentConfigName": {} - } - }, - "output": { - "type": "structure", - "members": { - "deploymentConfigInfo": { - "type": "structure", - "members": { - "deploymentConfigId": {}, - "deploymentConfigName": {}, - "minimumHealthyHosts": { - "shape": "S3o" - }, - "createTime": { - "type": "timestamp" - } - } - } - } - } - }, - "GetDeploymentGroup": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "deploymentGroupName" - ], - "members": { - "applicationName": {}, - "deploymentGroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "deploymentGroupInfo": { - "shape": "S16" - } - } - } - }, - "GetDeploymentInstance": { - "input": { - "type": "structure", - "required": [ - "deploymentId", - "instanceId" - ], - "members": { - "deploymentId": {}, - "instanceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "instanceSummary": { - "shape": "S2k" - } - } - } - }, - "GetOnPremisesInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "instanceInfo": { - "shape": "S3e" - } - } - } - }, - "ListApplicationRevisions": { - "input": { - "type": "structure", - "required": [ - "applicationName" - ], - "members": { - "applicationName": {}, - "sortBy": {}, - "sortOrder": {}, - "s3Bucket": {}, - "s3KeyPrefix": {}, - "deployed": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "revisions": { - "shape": "Sa" - }, - "nextToken": {} - } - } - }, - "ListApplications": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "applications": { - "shape": "Sw" - }, - "nextToken": {} - } - } - }, - "ListDeploymentConfigs": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "deploymentConfigsList": { - "type": "list", - "member": {} - }, - "nextToken": {} - } - } - }, - "ListDeploymentGroups": { - "input": { - "type": "structure", - "required": [ - "applicationName" - ], - "members": { - "applicationName": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "applicationName": {}, - "deploymentGroups": { - "shape": "Ss" - }, - "nextToken": {} - } - } - }, - "ListDeploymentInstances": { - "input": { - "type": "structure", - "required": [ - "deploymentId" - ], - "members": { - "deploymentId": {}, - "nextToken": {}, - "instanceStatusFilter": { - "type": "list", - "member": {} - }, - "instanceTypeFilter": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "instancesList": { - "shape": "S2g" - }, - "nextToken": {} - } - } - }, - "ListDeployments": { - "input": { - "type": "structure", - "members": { - "applicationName": {}, - "deploymentGroupName": {}, - "includeOnlyStatuses": { - "type": "list", - "member": {} - }, - "createTimeRange": { - "type": "structure", - "members": { - "start": { - "type": "timestamp" - }, - "end": { - "type": "timestamp" - } - } - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "deployments": { - "shape": "S2x" - }, - "nextToken": {} - } - } - }, - "ListGitHubAccountTokenNames": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "tokenNameList": { - "type": "list", - "member": {} - }, - "nextToken": {} - } - } - }, - "ListOnPremisesInstances": { - "input": { - "type": "structure", - "members": { - "registrationStatus": {}, - "tagFilters": { - "shape": "S1c" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "instanceNames": { - "shape": "S6" - }, - "nextToken": {} - } - } - }, - "RegisterApplicationRevision": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "revision" - ], - "members": { - "applicationName": {}, - "description": {}, - "revision": { - "shape": "Sb" - } - } - } - }, - "RegisterOnPremisesInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {}, - "iamSessionArn": {}, - "iamUserArn": {} - } - } - }, - "RemoveTagsFromOnPremisesInstances": { - "input": { - "type": "structure", - "required": [ - "tags", - "instanceNames" - ], - "members": { - "tags": { - "shape": "S2" - }, - "instanceNames": { - "shape": "S6" - } - } - } - }, - "SkipWaitTimeForInstanceTermination": { - "input": { - "type": "structure", - "members": { - "deploymentId": {} - } - } - }, - "StopDeployment": { - "input": { - "type": "structure", - "required": [ - "deploymentId" - ], - "members": { - "deploymentId": {}, - "autoRollbackEnabled": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "status": {}, - "statusMessage": {} - } - } - }, - "UpdateApplication": { - "input": { - "type": "structure", - "members": { - "applicationName": {}, - "newApplicationName": {} - } - } - }, - "UpdateDeploymentGroup": { - "input": { - "type": "structure", - "required": [ - "applicationName", - "currentDeploymentGroupName" - ], - "members": { - "applicationName": {}, - "currentDeploymentGroupName": {}, - "newDeploymentGroupName": {}, - "deploymentConfigName": {}, - "ec2TagFilters": { - "shape": "S19" - }, - "onPremisesInstanceTagFilters": { - "shape": "S1c" - }, - "autoScalingGroups": { - "shape": "S38" - }, - "serviceRoleArn": {}, - "triggerConfigurations": { - "shape": "S1k" - }, - "alarmConfiguration": { - "shape": "S1q" - }, - "autoRollbackConfiguration": { - "shape": "S1u" - }, - "deploymentStyle": { - "shape": "S1x" - }, - "blueGreenDeploymentConfiguration": { - "shape": "S20" - }, - "loadBalancerInfo": { - "shape": "S28" - } - } - }, - "output": { - "type": "structure", - "members": { - "hooksNotCleanedUp": { - "shape": "S1f" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S6": { - "type": "list", - "member": {} - }, - "Sa": { - "type": "list", - "member": { - "shape": "Sb" - } - }, - "Sb": { - "type": "structure", - "members": { - "revisionType": {}, - "s3Location": { - "type": "structure", - "members": { - "bucket": {}, - "key": {}, - "bundleType": {}, - "version": {}, - "eTag": {} - } - }, - "gitHubLocation": { - "type": "structure", - "members": { - "repository": {}, - "commitId": {} - } - } - } - }, - "Sq": { - "type": "structure", - "members": { - "description": {}, - "deploymentGroups": { - "shape": "Ss" - }, - "firstUsedTime": { - "type": "timestamp" - }, - "lastUsedTime": { - "type": "timestamp" - }, - "registerTime": { - "type": "timestamp" - } - } - }, - "Ss": { - "type": "list", - "member": {} - }, - "Sw": { - "type": "list", - "member": {} - }, - "Sz": { - "type": "structure", - "members": { - "applicationId": {}, - "applicationName": {}, - "createTime": { - "type": "timestamp" - }, - "linkedToGitHub": { - "type": "boolean" - }, - "gitHubAccountName": {} - } - }, - "S16": { - "type": "structure", - "members": { - "applicationName": {}, - "deploymentGroupId": {}, - "deploymentGroupName": {}, - "deploymentConfigName": {}, - "ec2TagFilters": { - "shape": "S19" - }, - "onPremisesInstanceTagFilters": { - "shape": "S1c" - }, - "autoScalingGroups": { - "shape": "S1f" - }, - "serviceRoleArn": {}, - "targetRevision": { - "shape": "Sb" - }, - "triggerConfigurations": { - "shape": "S1k" - }, - "alarmConfiguration": { - "shape": "S1q" - }, - "autoRollbackConfiguration": { - "shape": "S1u" - }, - "deploymentStyle": { - "shape": "S1x" - }, - "blueGreenDeploymentConfiguration": { - "shape": "S20" - }, - "loadBalancerInfo": { - "shape": "S28" - }, - "lastSuccessfulDeployment": { - "shape": "S2c" - }, - "lastAttemptedDeployment": { - "shape": "S2c" - } - } - }, - "S19": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {}, - "Type": {} - } - } - }, - "S1c": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {}, - "Type": {} - } - } - }, - "S1f": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "hook": {} - } - } - }, - "S1k": { - "type": "list", - "member": { - "type": "structure", - "members": { - "triggerName": {}, - "triggerTargetArn": {}, - "triggerEvents": { - "type": "list", - "member": {} - } - } - } - }, - "S1q": { - "type": "structure", - "members": { - "enabled": { - "type": "boolean" - }, - "ignorePollAlarmFailure": { - "type": "boolean" - }, - "alarms": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {} - } - } - } - } - }, - "S1u": { - "type": "structure", - "members": { - "enabled": { - "type": "boolean" - }, - "events": { - "type": "list", - "member": {} - } - } - }, - "S1x": { - "type": "structure", - "members": { - "deploymentType": {}, - "deploymentOption": {} - } - }, - "S20": { - "type": "structure", - "members": { - "terminateBlueInstancesOnDeploymentSuccess": { - "type": "structure", - "members": { - "action": {}, - "terminationWaitTimeInMinutes": { - "type": "integer" - } - } - }, - "deploymentReadyOption": { - "type": "structure", - "members": { - "actionOnTimeout": {}, - "waitTimeInMinutes": { - "type": "integer" - } - } - }, - "greenFleetProvisioningOption": { - "type": "structure", - "members": { - "action": {} - } - } - } - }, - "S28": { - "type": "structure", - "members": { - "elbInfoList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {} - } - } - } - } - }, - "S2c": { - "type": "structure", - "members": { - "deploymentId": {}, - "status": {}, - "endTime": { - "type": "timestamp" - }, - "createTime": { - "type": "timestamp" - } - } - }, - "S2g": { - "type": "list", - "member": {} - }, - "S2k": { - "type": "structure", - "members": { - "deploymentId": {}, - "instanceId": {}, - "status": {}, - "lastUpdatedAt": { - "type": "timestamp" - }, - "lifecycleEvents": { - "type": "list", - "member": { - "type": "structure", - "members": { - "lifecycleEventName": {}, - "diagnostics": { - "type": "structure", - "members": { - "errorCode": {}, - "scriptName": {}, - "message": {}, - "logTail": {} - } - }, - "startTime": { - "type": "timestamp" - }, - "endTime": { - "type": "timestamp" - }, - "status": {} - } - } - }, - "instanceType": {} - } - }, - "S2x": { - "type": "list", - "member": {} - }, - "S30": { - "type": "structure", - "members": { - "applicationName": {}, - "deploymentGroupName": {}, - "deploymentConfigName": {}, - "deploymentId": {}, - "previousRevision": { - "shape": "Sb" - }, - "revision": { - "shape": "Sb" - }, - "status": {}, - "errorInformation": { - "type": "structure", - "members": { - "code": {}, - "message": {} - } - }, - "createTime": { - "type": "timestamp" - }, - "startTime": { - "type": "timestamp" - }, - "completeTime": { - "type": "timestamp" - }, - "deploymentOverview": { - "type": "structure", - "members": { - "Pending": { - "type": "long" - }, - "InProgress": { - "type": "long" - }, - "Succeeded": { - "type": "long" - }, - "Failed": { - "type": "long" - }, - "Skipped": { - "type": "long" - }, - "Ready": { - "type": "long" - } - } - }, - "description": {}, - "creator": {}, - "ignoreApplicationStopFailures": { - "type": "boolean" - }, - "autoRollbackConfiguration": { - "shape": "S1u" - }, - "updateOutdatedInstancesOnly": { - "type": "boolean" - }, - "rollbackInfo": { - "type": "structure", - "members": { - "rollbackDeploymentId": {}, - "rollbackTriggeringDeploymentId": {}, - "rollbackMessage": {} - } - }, - "deploymentStyle": { - "shape": "S1x" - }, - "targetInstances": { - "shape": "S37" - }, - "instanceTerminationWaitTimeStarted": { - "type": "boolean" - }, - "blueGreenDeploymentConfiguration": { - "shape": "S20" - }, - "loadBalancerInfo": { - "shape": "S28" - }, - "additionalDeploymentStatusInfo": {}, - "fileExistsBehavior": {} - } - }, - "S37": { - "type": "structure", - "members": { - "tagFilters": { - "shape": "S19" - }, - "autoScalingGroups": { - "shape": "S38" - } - } - }, - "S38": { - "type": "list", - "member": {} - }, - "S3e": { - "type": "structure", - "members": { - "instanceName": {}, - "iamSessionArn": {}, - "iamUserArn": {}, - "instanceArn": {}, - "registerTime": { - "type": "timestamp" - }, - "deregisterTime": { - "type": "timestamp" - }, - "tags": { - "shape": "S2" - } - } - }, - "S3o": { - "type": "structure", - "members": { - "value": { - "type": "integer" - }, - "type": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.paginators.json b/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.paginators.json deleted file mode 100644 index aa398f0..0000000 --- a/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.paginators.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "pagination": { - "ListApplicationRevisions": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "revisions" - }, - "ListApplications": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "applications" - }, - "ListDeploymentConfigs": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "deploymentConfigsList" - }, - "ListDeploymentGroups": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "deploymentGroups" - }, - "ListDeploymentInstances": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "instancesList" - }, - "ListDeployments": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "deployments" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.waiters2.json b/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.waiters2.json deleted file mode 100644 index 0fea4fa..0000000 --- a/src/node_modules/aws-sdk/apis/codedeploy-2014-10-06.waiters2.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "version": 2, - "waiters": { - "DeploymentSuccessful": { - "delay": 15, - "operation": "GetDeployment", - "maxAttempts": 120, - "acceptors": [ - { - "expected": "Succeeded", - "matcher": "path", - "state": "success", - "argument": "deploymentInfo.status" - }, - { - "expected": "Failed", - "matcher": "path", - "state": "failure", - "argument": "deploymentInfo.status" - }, - { - "expected": "Stopped", - "matcher": "path", - "state": "failure", - "argument": "deploymentInfo.status" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.examples.json b/src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json b/src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json deleted file mode 100644 index 6bff0d5..0000000 --- a/src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +++ /dev/null @@ -1,1138 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-07-09", - "endpointPrefix": "codepipeline", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "CodePipeline", - "serviceFullName": "AWS CodePipeline", - "signatureVersion": "v4", - "targetPrefix": "CodePipeline_20150709", - "uid": "codepipeline-2015-07-09" - }, - "operations": { - "AcknowledgeJob": { - "input": { - "type": "structure", - "required": [ - "jobId", - "nonce" - ], - "members": { - "jobId": {}, - "nonce": {} - } - }, - "output": { - "type": "structure", - "members": { - "status": {} - } - } - }, - "AcknowledgeThirdPartyJob": { - "input": { - "type": "structure", - "required": [ - "jobId", - "nonce", - "clientToken" - ], - "members": { - "jobId": {}, - "nonce": {}, - "clientToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "status": {} - } - } - }, - "CreateCustomActionType": { - "input": { - "type": "structure", - "required": [ - "category", - "provider", - "version", - "inputArtifactDetails", - "outputArtifactDetails" - ], - "members": { - "category": {}, - "provider": {}, - "version": {}, - "settings": { - "shape": "Se" - }, - "configurationProperties": { - "shape": "Sh" - }, - "inputArtifactDetails": { - "shape": "Sn" - }, - "outputArtifactDetails": { - "shape": "Sn" - } - } - }, - "output": { - "type": "structure", - "required": [ - "actionType" - ], - "members": { - "actionType": { - "shape": "Sr" - } - } - } - }, - "CreatePipeline": { - "input": { - "type": "structure", - "required": [ - "pipeline" - ], - "members": { - "pipeline": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "pipeline": { - "shape": "Sv" - } - } - } - }, - "DeleteCustomActionType": { - "input": { - "type": "structure", - "required": [ - "category", - "provider", - "version" - ], - "members": { - "category": {}, - "provider": {}, - "version": {} - } - } - }, - "DeletePipeline": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - } - }, - "DisableStageTransition": { - "input": { - "type": "structure", - "required": [ - "pipelineName", - "stageName", - "transitionType", - "reason" - ], - "members": { - "pipelineName": {}, - "stageName": {}, - "transitionType": {}, - "reason": {} - } - } - }, - "EnableStageTransition": { - "input": { - "type": "structure", - "required": [ - "pipelineName", - "stageName", - "transitionType" - ], - "members": { - "pipelineName": {}, - "stageName": {}, - "transitionType": {} - } - } - }, - "GetJobDetails": { - "input": { - "type": "structure", - "required": [ - "jobId" - ], - "members": { - "jobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "jobDetails": { - "type": "structure", - "members": { - "id": {}, - "data": { - "shape": "S1x" - }, - "accountId": {} - } - } - } - } - }, - "GetPipeline": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "version": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "pipeline": { - "shape": "Sv" - } - } - } - }, - "GetPipelineExecution": { - "input": { - "type": "structure", - "required": [ - "pipelineName", - "pipelineExecutionId" - ], - "members": { - "pipelineName": {}, - "pipelineExecutionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "pipelineExecution": { - "type": "structure", - "members": { - "pipelineName": {}, - "pipelineVersion": { - "type": "integer" - }, - "pipelineExecutionId": {}, - "status": {}, - "artifactRevisions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "revisionId": {}, - "revisionChangeIdentifier": {}, - "revisionSummary": {}, - "created": { - "type": "timestamp" - }, - "revisionUrl": {} - } - } - } - } - } - } - } - }, - "GetPipelineState": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - }, - "output": { - "type": "structure", - "members": { - "pipelineName": {}, - "pipelineVersion": { - "type": "integer" - }, - "stageStates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "stageName": {}, - "inboundTransitionState": { - "type": "structure", - "members": { - "enabled": { - "type": "boolean" - }, - "lastChangedBy": {}, - "lastChangedAt": { - "type": "timestamp" - }, - "disabledReason": {} - } - }, - "actionStates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "actionName": {}, - "currentRevision": { - "shape": "S32" - }, - "latestExecution": { - "type": "structure", - "members": { - "status": {}, - "summary": {}, - "lastStatusChange": { - "type": "timestamp" - }, - "token": {}, - "lastUpdatedBy": {}, - "externalExecutionId": {}, - "externalExecutionUrl": {}, - "percentComplete": { - "type": "integer" - }, - "errorDetails": { - "type": "structure", - "members": { - "code": {}, - "message": {} - } - } - } - }, - "entityUrl": {}, - "revisionUrl": {} - } - } - }, - "latestExecution": { - "type": "structure", - "required": [ - "pipelineExecutionId", - "status" - ], - "members": { - "pipelineExecutionId": {}, - "status": {} - } - } - } - } - }, - "created": { - "type": "timestamp" - }, - "updated": { - "type": "timestamp" - } - } - } - }, - "GetThirdPartyJobDetails": { - "input": { - "type": "structure", - "required": [ - "jobId", - "clientToken" - ], - "members": { - "jobId": {}, - "clientToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "jobDetails": { - "type": "structure", - "members": { - "id": {}, - "data": { - "type": "structure", - "members": { - "actionTypeId": { - "shape": "Ss" - }, - "actionConfiguration": { - "shape": "S1y" - }, - "pipelineContext": { - "shape": "S1z" - }, - "inputArtifacts": { - "shape": "S22" - }, - "outputArtifacts": { - "shape": "S22" - }, - "artifactCredentials": { - "shape": "S2a" - }, - "continuationToken": {}, - "encryptionKey": { - "shape": "S11" - } - } - }, - "nonce": {} - } - } - } - } - }, - "ListActionTypes": { - "input": { - "type": "structure", - "members": { - "actionOwnerFilter": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "actionTypes" - ], - "members": { - "actionTypes": { - "type": "list", - "member": { - "shape": "Sr" - } - }, - "nextToken": {} - } - } - }, - "ListPipelineExecutions": { - "input": { - "type": "structure", - "required": [ - "pipelineName" - ], - "members": { - "pipelineName": {}, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "pipelineExecutionSummaries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "pipelineExecutionId": {}, - "status": {}, - "startTime": { - "type": "timestamp" - }, - "lastUpdateTime": { - "type": "timestamp" - } - } - } - }, - "nextToken": {} - } - } - }, - "ListPipelines": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "pipelines": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "version": { - "type": "integer" - }, - "created": { - "type": "timestamp" - }, - "updated": { - "type": "timestamp" - } - } - } - }, - "nextToken": {} - } - } - }, - "PollForJobs": { - "input": { - "type": "structure", - "required": [ - "actionTypeId" - ], - "members": { - "actionTypeId": { - "shape": "Ss" - }, - "maxBatchSize": { - "type": "integer" - }, - "queryParam": { - "type": "map", - "key": {}, - "value": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "jobs": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "data": { - "shape": "S1x" - }, - "nonce": {}, - "accountId": {} - } - } - } - } - } - }, - "PollForThirdPartyJobs": { - "input": { - "type": "structure", - "required": [ - "actionTypeId" - ], - "members": { - "actionTypeId": { - "shape": "Ss" - }, - "maxBatchSize": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "jobs": { - "type": "list", - "member": { - "type": "structure", - "members": { - "clientId": {}, - "jobId": {} - } - } - } - } - } - }, - "PutActionRevision": { - "input": { - "type": "structure", - "required": [ - "pipelineName", - "stageName", - "actionName", - "actionRevision" - ], - "members": { - "pipelineName": {}, - "stageName": {}, - "actionName": {}, - "actionRevision": { - "shape": "S32" - } - } - }, - "output": { - "type": "structure", - "members": { - "newRevision": { - "type": "boolean" - }, - "pipelineExecutionId": {} - } - } - }, - "PutApprovalResult": { - "input": { - "type": "structure", - "required": [ - "pipelineName", - "stageName", - "actionName", - "result", - "token" - ], - "members": { - "pipelineName": {}, - "stageName": {}, - "actionName": {}, - "result": { - "type": "structure", - "required": [ - "summary", - "status" - ], - "members": { - "summary": {}, - "status": {} - } - }, - "token": {} - } - }, - "output": { - "type": "structure", - "members": { - "approvedAt": { - "type": "timestamp" - } - } - } - }, - "PutJobFailureResult": { - "input": { - "type": "structure", - "required": [ - "jobId", - "failureDetails" - ], - "members": { - "jobId": {}, - "failureDetails": { - "shape": "S4h" - } - } - } - }, - "PutJobSuccessResult": { - "input": { - "type": "structure", - "required": [ - "jobId" - ], - "members": { - "jobId": {}, - "currentRevision": { - "shape": "S4k" - }, - "continuationToken": {}, - "executionDetails": { - "shape": "S4m" - } - } - } - }, - "PutThirdPartyJobFailureResult": { - "input": { - "type": "structure", - "required": [ - "jobId", - "clientToken", - "failureDetails" - ], - "members": { - "jobId": {}, - "clientToken": {}, - "failureDetails": { - "shape": "S4h" - } - } - } - }, - "PutThirdPartyJobSuccessResult": { - "input": { - "type": "structure", - "required": [ - "jobId", - "clientToken" - ], - "members": { - "jobId": {}, - "clientToken": {}, - "currentRevision": { - "shape": "S4k" - }, - "continuationToken": {}, - "executionDetails": { - "shape": "S4m" - } - } - } - }, - "RetryStageExecution": { - "input": { - "type": "structure", - "required": [ - "pipelineName", - "stageName", - "pipelineExecutionId", - "retryMode" - ], - "members": { - "pipelineName": {}, - "stageName": {}, - "pipelineExecutionId": {}, - "retryMode": {} - } - }, - "output": { - "type": "structure", - "members": { - "pipelineExecutionId": {} - } - } - }, - "StartPipelineExecution": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - }, - "output": { - "type": "structure", - "members": { - "pipelineExecutionId": {} - } - } - }, - "UpdatePipeline": { - "input": { - "type": "structure", - "required": [ - "pipeline" - ], - "members": { - "pipeline": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "pipeline": { - "shape": "Sv" - } - } - } - } - }, - "shapes": { - "Se": { - "type": "structure", - "members": { - "thirdPartyConfigurationUrl": {}, - "entityUrlTemplate": {}, - "executionUrlTemplate": {}, - "revisionUrlTemplate": {} - } - }, - "Sh": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "required", - "key", - "secret" - ], - "members": { - "name": {}, - "required": { - "type": "boolean" - }, - "key": { - "type": "boolean" - }, - "secret": { - "type": "boolean" - }, - "queryable": { - "type": "boolean" - }, - "description": {}, - "type": {} - } - } - }, - "Sn": { - "type": "structure", - "required": [ - "minimumCount", - "maximumCount" - ], - "members": { - "minimumCount": { - "type": "integer" - }, - "maximumCount": { - "type": "integer" - } - } - }, - "Sr": { - "type": "structure", - "required": [ - "id", - "inputArtifactDetails", - "outputArtifactDetails" - ], - "members": { - "id": { - "shape": "Ss" - }, - "settings": { - "shape": "Se" - }, - "actionConfigurationProperties": { - "shape": "Sh" - }, - "inputArtifactDetails": { - "shape": "Sn" - }, - "outputArtifactDetails": { - "shape": "Sn" - } - } - }, - "Ss": { - "type": "structure", - "required": [ - "category", - "owner", - "provider", - "version" - ], - "members": { - "category": {}, - "owner": {}, - "provider": {}, - "version": {} - } - }, - "Sv": { - "type": "structure", - "required": [ - "name", - "roleArn", - "artifactStore", - "stages" - ], - "members": { - "name": {}, - "roleArn": {}, - "artifactStore": { - "type": "structure", - "required": [ - "type", - "location" - ], - "members": { - "type": {}, - "location": {}, - "encryptionKey": { - "shape": "S11" - } - } - }, - "stages": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "actions" - ], - "members": { - "name": {}, - "blockers": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "type" - ], - "members": { - "name": {}, - "type": {} - } - } - }, - "actions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "actionTypeId" - ], - "members": { - "name": {}, - "actionTypeId": { - "shape": "Ss" - }, - "runOrder": { - "type": "integer" - }, - "configuration": { - "shape": "S1f" - }, - "outputArtifacts": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - } - }, - "inputArtifacts": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - } - }, - "roleArn": {} - } - } - } - } - } - }, - "version": { - "type": "integer" - } - } - }, - "S11": { - "type": "structure", - "required": [ - "id", - "type" - ], - "members": { - "id": {}, - "type": {} - } - }, - "S1f": { - "type": "map", - "key": {}, - "value": {} - }, - "S1x": { - "type": "structure", - "members": { - "actionTypeId": { - "shape": "Ss" - }, - "actionConfiguration": { - "shape": "S1y" - }, - "pipelineContext": { - "shape": "S1z" - }, - "inputArtifacts": { - "shape": "S22" - }, - "outputArtifacts": { - "shape": "S22" - }, - "artifactCredentials": { - "shape": "S2a" - }, - "continuationToken": {}, - "encryptionKey": { - "shape": "S11" - } - } - }, - "S1y": { - "type": "structure", - "members": { - "configuration": { - "shape": "S1f" - } - } - }, - "S1z": { - "type": "structure", - "members": { - "pipelineName": {}, - "stage": { - "type": "structure", - "members": { - "name": {} - } - }, - "action": { - "type": "structure", - "members": { - "name": {} - } - } - } - }, - "S22": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "revision": {}, - "location": { - "type": "structure", - "members": { - "type": {}, - "s3Location": { - "type": "structure", - "required": [ - "bucketName", - "objectKey" - ], - "members": { - "bucketName": {}, - "objectKey": {} - } - } - } - } - } - } - }, - "S2a": { - "type": "structure", - "required": [ - "accessKeyId", - "secretAccessKey", - "sessionToken" - ], - "members": { - "accessKeyId": {}, - "secretAccessKey": {}, - "sessionToken": {} - }, - "sensitive": true - }, - "S32": { - "type": "structure", - "required": [ - "revisionId", - "revisionChangeId", - "created" - ], - "members": { - "revisionId": {}, - "revisionChangeId": {}, - "created": { - "type": "timestamp" - } - } - }, - "S4h": { - "type": "structure", - "required": [ - "type", - "message" - ], - "members": { - "type": {}, - "message": {}, - "externalExecutionId": {} - } - }, - "S4k": { - "type": "structure", - "required": [ - "revision", - "changeIdentifier" - ], - "members": { - "revision": {}, - "changeIdentifier": {}, - "created": { - "type": "timestamp" - }, - "revisionSummary": {} - } - }, - "S4m": { - "type": "structure", - "members": { - "summary": {}, - "externalExecutionId": {}, - "percentComplete": { - "type": "integer" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.paginators.json b/src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/codepipeline-2015-07-09.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/codestar-2017-04-19.examples.json b/src/node_modules/aws-sdk/apis/codestar-2017-04-19.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/codestar-2017-04-19.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/codestar-2017-04-19.min.json b/src/node_modules/aws-sdk/apis/codestar-2017-04-19.min.json deleted file mode 100644 index 8b47bb2..0000000 --- a/src/node_modules/aws-sdk/apis/codestar-2017-04-19.min.json +++ /dev/null @@ -1,453 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2017-04-19", - "endpointPrefix": "codestar", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "CodeStar", - "serviceFullName": "AWS CodeStar", - "signatureVersion": "v4", - "targetPrefix": "CodeStar_20170419", - "uid": "codestar-2017-04-19" - }, - "operations": { - "AssociateTeamMember": { - "input": { - "type": "structure", - "required": [ - "projectId", - "userArn", - "projectRole" - ], - "members": { - "projectId": {}, - "clientRequestToken": {}, - "userArn": {}, - "projectRole": {}, - "remoteAccessAllowed": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "clientRequestToken": {} - } - } - }, - "CreateProject": { - "input": { - "type": "structure", - "required": [ - "name", - "id" - ], - "members": { - "name": { - "shape": "S9" - }, - "id": {}, - "description": { - "shape": "Sa" - }, - "clientRequestToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "id", - "arn" - ], - "members": { - "id": {}, - "arn": {}, - "clientRequestToken": {}, - "projectTemplateId": {} - } - } - }, - "CreateUserProfile": { - "input": { - "type": "structure", - "required": [ - "userArn", - "displayName", - "emailAddress" - ], - "members": { - "userArn": {}, - "displayName": {}, - "emailAddress": {}, - "sshPublicKey": {} - } - }, - "output": { - "type": "structure", - "required": [ - "userArn" - ], - "members": { - "userArn": {}, - "displayName": {}, - "emailAddress": {}, - "sshPublicKey": {}, - "createdTimestamp": { - "type": "timestamp" - }, - "lastModifiedTimestamp": { - "type": "timestamp" - } - } - } - }, - "DeleteProject": { - "input": { - "type": "structure", - "required": [ - "id" - ], - "members": { - "id": {}, - "clientRequestToken": {}, - "deleteStack": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "stackId": {}, - "projectArn": {} - } - } - }, - "DeleteUserProfile": { - "input": { - "type": "structure", - "required": [ - "userArn" - ], - "members": { - "userArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "userArn" - ], - "members": { - "userArn": {} - } - } - }, - "DescribeProject": { - "input": { - "type": "structure", - "required": [ - "id" - ], - "members": { - "id": {} - } - }, - "output": { - "type": "structure", - "members": { - "name": { - "shape": "S9" - }, - "id": {}, - "arn": {}, - "description": { - "shape": "Sa" - }, - "clientRequestToken": {}, - "createdTimeStamp": { - "type": "timestamp" - }, - "stackId": {}, - "projectTemplateId": {} - } - } - }, - "DescribeUserProfile": { - "input": { - "type": "structure", - "required": [ - "userArn" - ], - "members": { - "userArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "userArn", - "createdTimestamp", - "lastModifiedTimestamp" - ], - "members": { - "userArn": {}, - "displayName": {}, - "emailAddress": {}, - "sshPublicKey": {}, - "createdTimestamp": { - "type": "timestamp" - }, - "lastModifiedTimestamp": { - "type": "timestamp" - } - } - } - }, - "DisassociateTeamMember": { - "input": { - "type": "structure", - "required": [ - "projectId", - "userArn" - ], - "members": { - "projectId": {}, - "userArn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ListProjects": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "projects" - ], - "members": { - "projects": { - "type": "list", - "member": { - "type": "structure", - "members": { - "projectId": {}, - "projectArn": {} - } - } - }, - "nextToken": {} - } - } - }, - "ListResources": { - "input": { - "type": "structure", - "required": [ - "projectId" - ], - "members": { - "projectId": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "resources": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "id" - ], - "members": { - "id": {} - } - } - }, - "nextToken": {} - } - } - }, - "ListTeamMembers": { - "input": { - "type": "structure", - "required": [ - "projectId" - ], - "members": { - "projectId": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "teamMembers" - ], - "members": { - "teamMembers": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "userArn", - "projectRole" - ], - "members": { - "userArn": {}, - "projectRole": {}, - "remoteAccessAllowed": { - "type": "boolean" - } - } - } - }, - "nextToken": {} - } - } - }, - "ListUserProfiles": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "userProfiles" - ], - "members": { - "userProfiles": { - "type": "list", - "member": { - "type": "structure", - "members": { - "userArn": {}, - "displayName": {}, - "emailAddress": {}, - "sshPublicKey": {} - } - } - }, - "nextToken": {} - } - } - }, - "UpdateProject": { - "input": { - "type": "structure", - "required": [ - "id" - ], - "members": { - "id": {}, - "name": { - "shape": "S9" - }, - "description": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateTeamMember": { - "input": { - "type": "structure", - "required": [ - "projectId", - "userArn" - ], - "members": { - "projectId": {}, - "userArn": {}, - "projectRole": {}, - "remoteAccessAllowed": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "userArn": {}, - "projectRole": {}, - "remoteAccessAllowed": { - "type": "boolean" - } - } - } - }, - "UpdateUserProfile": { - "input": { - "type": "structure", - "required": [ - "userArn" - ], - "members": { - "userArn": {}, - "displayName": {}, - "emailAddress": {}, - "sshPublicKey": {} - } - }, - "output": { - "type": "structure", - "required": [ - "userArn" - ], - "members": { - "userArn": {}, - "displayName": {}, - "emailAddress": {}, - "sshPublicKey": {}, - "createdTimestamp": { - "type": "timestamp" - }, - "lastModifiedTimestamp": { - "type": "timestamp" - } - } - } - } - }, - "shapes": { - "S9": { - "type": "string", - "sensitive": true - }, - "Sa": { - "type": "string", - "sensitive": true - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/codestar-2017-04-19.paginators.json b/src/node_modules/aws-sdk/apis/codestar-2017-04-19.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/codestar-2017-04-19.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json b/src/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json deleted file mode 100644 index cf64a50..0000000 --- a/src/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json +++ /dev/null @@ -1,537 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-06-30", - "endpointPrefix": "cognito-identity", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon Cognito Identity", - "signatureVersion": "v4", - "targetPrefix": "AWSCognitoIdentityService", - "uid": "cognito-identity-2014-06-30" - }, - "operations": { - "CreateIdentityPool": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolName", - "AllowUnauthenticatedIdentities" - ], - "members": { - "IdentityPoolName": {}, - "AllowUnauthenticatedIdentities": { - "type": "boolean" - }, - "SupportedLoginProviders": { - "shape": "S4" - }, - "DeveloperProviderName": {}, - "OpenIdConnectProviderARNs": { - "shape": "S8" - }, - "CognitoIdentityProviders": { - "shape": "Sa" - }, - "SamlProviderARNs": { - "shape": "Sf" - } - } - }, - "output": { - "shape": "Sg" - } - }, - "DeleteIdentities": { - "input": { - "type": "structure", - "required": [ - "IdentityIdsToDelete" - ], - "members": { - "IdentityIdsToDelete": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "UnprocessedIdentityIds": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IdentityId": {}, - "ErrorCode": {} - } - } - } - } - } - }, - "DeleteIdentityPool": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": {} - } - } - }, - "DescribeIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityId" - ], - "members": { - "IdentityId": {} - } - }, - "output": { - "shape": "Sr" - } - }, - "DescribeIdentityPool": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": {} - } - }, - "output": { - "shape": "Sg" - } - }, - "GetCredentialsForIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityId" - ], - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Sw" - }, - "CustomRoleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {}, - "Credentials": { - "type": "structure", - "members": { - "AccessKeyId": {}, - "SecretKey": {}, - "SessionToken": {}, - "Expiration": { - "type": "timestamp" - } - } - } - } - } - }, - "GetId": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "AccountId": {}, - "IdentityPoolId": {}, - "Logins": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {} - } - } - }, - "GetIdentityPoolRoles": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "Roles": { - "shape": "S18" - }, - "RoleMappings": { - "shape": "S1a" - } - } - } - }, - "GetOpenIdToken": { - "input": { - "type": "structure", - "required": [ - "IdentityId" - ], - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {}, - "Token": {} - } - } - }, - "GetOpenIdTokenForDeveloperIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "Logins" - ], - "members": { - "IdentityPoolId": {}, - "IdentityId": {}, - "Logins": { - "shape": "Sw" - }, - "TokenDuration": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {}, - "Token": {} - } - } - }, - "ListIdentities": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "MaxResults" - ], - "members": { - "IdentityPoolId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "HideDisabled": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "Identities": { - "type": "list", - "member": { - "shape": "Sr" - } - }, - "NextToken": {} - } - } - }, - "ListIdentityPools": { - "input": { - "type": "structure", - "required": [ - "MaxResults" - ], - "members": { - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPools": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "IdentityPoolName": {} - } - } - }, - "NextToken": {} - } - } - }, - "LookupDeveloperIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": {}, - "IdentityId": {}, - "DeveloperUserIdentifier": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {}, - "DeveloperUserIdentifierList": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "MergeDeveloperIdentities": { - "input": { - "type": "structure", - "required": [ - "SourceUserIdentifier", - "DestinationUserIdentifier", - "DeveloperProviderName", - "IdentityPoolId" - ], - "members": { - "SourceUserIdentifier": {}, - "DestinationUserIdentifier": {}, - "DeveloperProviderName": {}, - "IdentityPoolId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {} - } - } - }, - "SetIdentityPoolRoles": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "Roles" - ], - "members": { - "IdentityPoolId": {}, - "Roles": { - "shape": "S18" - }, - "RoleMappings": { - "shape": "S1a" - } - } - } - }, - "UnlinkDeveloperIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityId", - "IdentityPoolId", - "DeveloperProviderName", - "DeveloperUserIdentifier" - ], - "members": { - "IdentityId": {}, - "IdentityPoolId": {}, - "DeveloperProviderName": {}, - "DeveloperUserIdentifier": {} - } - } - }, - "UnlinkIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityId", - "Logins", - "LoginsToRemove" - ], - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Sw" - }, - "LoginsToRemove": { - "shape": "Ss" - } - } - } - }, - "UpdateIdentityPool": { - "input": { - "shape": "Sg" - }, - "output": { - "shape": "Sg" - } - } - }, - "shapes": { - "S4": { - "type": "map", - "key": {}, - "value": {} - }, - "S8": { - "type": "list", - "member": {} - }, - "Sa": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ProviderName": {}, - "ClientId": {}, - "ServerSideTokenCheck": { - "type": "boolean" - } - } - } - }, - "Sf": { - "type": "list", - "member": {} - }, - "Sg": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityPoolName", - "AllowUnauthenticatedIdentities" - ], - "members": { - "IdentityPoolId": {}, - "IdentityPoolName": {}, - "AllowUnauthenticatedIdentities": { - "type": "boolean" - }, - "SupportedLoginProviders": { - "shape": "S4" - }, - "DeveloperProviderName": {}, - "OpenIdConnectProviderARNs": { - "shape": "S8" - }, - "CognitoIdentityProviders": { - "shape": "Sa" - }, - "SamlProviderARNs": { - "shape": "Sf" - } - } - }, - "Sr": { - "type": "structure", - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Ss" - }, - "CreationDate": { - "type": "timestamp" - }, - "LastModifiedDate": { - "type": "timestamp" - } - } - }, - "Ss": { - "type": "list", - "member": {} - }, - "Sw": { - "type": "map", - "key": {}, - "value": {} - }, - "S18": { - "type": "map", - "key": {}, - "value": {} - }, - "S1a": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {}, - "AmbiguousRoleResolution": {}, - "RulesConfiguration": { - "type": "structure", - "required": [ - "Rules" - ], - "members": { - "Rules": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Claim", - "MatchType", - "Value", - "RoleARN" - ], - "members": { - "Claim": {}, - "MatchType": {}, - "Value": {}, - "RoleARN": {} - } - } - } - } - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.paginators.json b/src/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.examples.json b/src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json b/src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json deleted file mode 100644 index 4d0ccaf..0000000 --- a/src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +++ /dev/null @@ -1,2480 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-04-18", - "endpointPrefix": "cognito-idp", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon Cognito Identity Provider", - "signatureVersion": "v4", - "targetPrefix": "AWSCognitoIdentityProviderService", - "uid": "cognito-idp-2016-04-18" - }, - "operations": { - "AddCustomAttributes": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "CustomAttributes" - ], - "members": { - "UserPoolId": {}, - "CustomAttributes": { - "type": "list", - "member": { - "shape": "S4" - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AdminAddUserToGroup": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username", - "GroupName" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "GroupName": {} - } - } - }, - "AdminConfirmSignUp": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AdminCreateUser": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "UserAttributes": { - "shape": "Si" - }, - "ValidationData": { - "shape": "Si" - }, - "TemporaryPassword": { - "shape": "Sm" - }, - "ForceAliasCreation": { - "type": "boolean" - }, - "MessageAction": {}, - "DesiredDeliveryMediums": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "User": { - "shape": "Ss" - } - } - } - }, - "AdminDeleteUser": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - } - } - } - }, - "AdminDeleteUserAttributes": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username", - "UserAttributeNames" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "UserAttributeNames": { - "shape": "Sz" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AdminDisableUser": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AdminEnableUser": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AdminForgetDevice": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username", - "DeviceKey" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "DeviceKey": {} - } - } - }, - "AdminGetDevice": { - "input": { - "type": "structure", - "required": [ - "DeviceKey", - "UserPoolId", - "Username" - ], - "members": { - "DeviceKey": {}, - "UserPoolId": {}, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Device" - ], - "members": { - "Device": { - "shape": "S19" - } - } - } - }, - "AdminGetUser": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Username" - ], - "members": { - "Username": { - "shape": "Sd" - }, - "UserAttributes": { - "shape": "Si" - }, - "UserCreateDate": { - "type": "timestamp" - }, - "UserLastModifiedDate": { - "type": "timestamp" - }, - "Enabled": { - "type": "boolean" - }, - "UserStatus": {}, - "MFAOptions": { - "shape": "Sv" - } - } - } - }, - "AdminInitiateAuth": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ClientId", - "AuthFlow" - ], - "members": { - "UserPoolId": {}, - "ClientId": { - "shape": "S1d" - }, - "AuthFlow": {}, - "AuthParameters": { - "shape": "S1f" - }, - "ClientMetadata": { - "shape": "S1g" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChallengeName": {}, - "Session": {}, - "ChallengeParameters": { - "shape": "S1k" - }, - "AuthenticationResult": { - "shape": "S1l" - } - } - } - }, - "AdminListDevices": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "Limit": { - "type": "integer" - }, - "PaginationToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Devices": { - "shape": "S1t" - }, - "PaginationToken": {} - } - } - }, - "AdminListGroupsForUser": { - "input": { - "type": "structure", - "required": [ - "Username", - "UserPoolId" - ], - "members": { - "Username": { - "shape": "Sd" - }, - "UserPoolId": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Groups": { - "shape": "S1x" - }, - "NextToken": {} - } - } - }, - "AdminRemoveUserFromGroup": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username", - "GroupName" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "GroupName": {} - } - } - }, - "AdminResetUserPassword": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AdminRespondToAuthChallenge": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ClientId", - "ChallengeName" - ], - "members": { - "UserPoolId": {}, - "ClientId": { - "shape": "S1d" - }, - "ChallengeName": {}, - "ChallengeResponses": { - "shape": "S26" - }, - "Session": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChallengeName": {}, - "Session": {}, - "ChallengeParameters": { - "shape": "S1k" - }, - "AuthenticationResult": { - "shape": "S1l" - } - } - } - }, - "AdminSetUserSettings": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username", - "MFAOptions" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "MFAOptions": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AdminUpdateDeviceStatus": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username", - "DeviceKey" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "DeviceKey": {}, - "DeviceRememberedStatus": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AdminUpdateUserAttributes": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username", - "UserAttributes" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - }, - "UserAttributes": { - "shape": "Si" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AdminUserGlobalSignOut": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "Username" - ], - "members": { - "UserPoolId": {}, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ChangePassword": { - "input": { - "type": "structure", - "required": [ - "PreviousPassword", - "ProposedPassword", - "AccessToken" - ], - "members": { - "PreviousPassword": { - "shape": "Sm" - }, - "ProposedPassword": { - "shape": "Sm" - }, - "AccessToken": { - "shape": "S1m" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "authtype": "none" - }, - "ConfirmDevice": { - "input": { - "type": "structure", - "required": [ - "AccessToken", - "DeviceKey" - ], - "members": { - "AccessToken": { - "shape": "S1m" - }, - "DeviceKey": {}, - "DeviceSecretVerifierConfig": { - "type": "structure", - "members": { - "PasswordVerifier": {}, - "Salt": {} - } - }, - "DeviceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserConfirmationNecessary": { - "type": "boolean" - } - } - } - }, - "ConfirmForgotPassword": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "Username", - "ConfirmationCode", - "Password" - ], - "members": { - "ClientId": { - "shape": "S1d" - }, - "SecretHash": { - "shape": "S2o" - }, - "Username": { - "shape": "Sd" - }, - "ConfirmationCode": {}, - "Password": { - "shape": "Sm" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "authtype": "none" - }, - "ConfirmSignUp": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "Username", - "ConfirmationCode" - ], - "members": { - "ClientId": { - "shape": "S1d" - }, - "SecretHash": { - "shape": "S2o" - }, - "Username": { - "shape": "Sd" - }, - "ConfirmationCode": {}, - "ForceAliasCreation": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "authtype": "none" - }, - "CreateGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "UserPoolId" - ], - "members": { - "GroupName": {}, - "UserPoolId": {}, - "Description": {}, - "RoleArn": {}, - "Precedence": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Group": { - "shape": "S1y" - } - } - } - }, - "CreateIdentityProvider": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ProviderName", - "ProviderType", - "ProviderDetails" - ], - "members": { - "UserPoolId": {}, - "ProviderName": {}, - "ProviderType": {}, - "ProviderDetails": { - "shape": "S2y" - }, - "AttributeMapping": { - "shape": "S2z" - }, - "IdpIdentifiers": { - "shape": "S30" - } - } - }, - "output": { - "type": "structure", - "required": [ - "IdentityProvider" - ], - "members": { - "IdentityProvider": { - "shape": "S33" - } - } - } - }, - "CreateUserImportJob": { - "input": { - "type": "structure", - "required": [ - "JobName", - "UserPoolId", - "CloudWatchLogsRoleArn" - ], - "members": { - "JobName": {}, - "UserPoolId": {}, - "CloudWatchLogsRoleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserImportJob": { - "shape": "S37" - } - } - } - }, - "CreateUserPool": { - "input": { - "type": "structure", - "required": [ - "PoolName" - ], - "members": { - "PoolName": {}, - "Policies": { - "shape": "S3f" - }, - "LambdaConfig": { - "shape": "S3i" - }, - "AutoVerifiedAttributes": { - "shape": "S3j" - }, - "AliasAttributes": { - "shape": "S3l" - }, - "SmsVerificationMessage": {}, - "EmailVerificationMessage": {}, - "EmailVerificationSubject": {}, - "SmsAuthenticationMessage": {}, - "MfaConfiguration": {}, - "DeviceConfiguration": { - "shape": "S3r" - }, - "EmailConfiguration": { - "shape": "S3s" - }, - "SmsConfiguration": { - "shape": "S3u" - }, - "UserPoolTags": { - "shape": "S3v" - }, - "AdminCreateUserConfig": { - "shape": "S3w" - }, - "Schema": { - "shape": "S3z" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserPool": { - "shape": "S41" - } - } - } - }, - "CreateUserPoolClient": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ClientName" - ], - "members": { - "UserPoolId": {}, - "ClientName": {}, - "GenerateSecret": { - "type": "boolean" - }, - "RefreshTokenValidity": { - "type": "integer" - }, - "ReadAttributes": { - "shape": "S47" - }, - "WriteAttributes": { - "shape": "S47" - }, - "ExplicitAuthFlows": { - "shape": "S49" - }, - "SupportedIdentityProviders": { - "shape": "S4b" - }, - "CallbackURLs": { - "shape": "S4c" - }, - "LogoutURLs": { - "shape": "S4e" - }, - "DefaultRedirectURI": {}, - "AllowedOAuthFlows": { - "shape": "S4f" - }, - "AllowedOAuthScopes": { - "shape": "S4h" - }, - "AllowedOAuthFlowsUserPoolClient": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserPoolClient": { - "shape": "S4k" - } - } - } - }, - "CreateUserPoolDomain": { - "input": { - "type": "structure", - "required": [ - "Domain", - "UserPoolId" - ], - "members": { - "Domain": {}, - "UserPoolId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "UserPoolId" - ], - "members": { - "GroupName": {}, - "UserPoolId": {} - } - } - }, - "DeleteIdentityProvider": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ProviderName" - ], - "members": { - "UserPoolId": {}, - "ProviderName": {} - } - } - }, - "DeleteUser": { - "input": { - "type": "structure", - "required": [ - "AccessToken" - ], - "members": { - "AccessToken": { - "shape": "S1m" - } - } - }, - "authtype": "none" - }, - "DeleteUserAttributes": { - "input": { - "type": "structure", - "required": [ - "UserAttributeNames", - "AccessToken" - ], - "members": { - "UserAttributeNames": { - "shape": "Sz" - }, - "AccessToken": { - "shape": "S1m" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "authtype": "none" - }, - "DeleteUserPool": { - "input": { - "type": "structure", - "required": [ - "UserPoolId" - ], - "members": { - "UserPoolId": {} - } - } - }, - "DeleteUserPoolClient": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ClientId" - ], - "members": { - "UserPoolId": {}, - "ClientId": { - "shape": "S1d" - } - } - } - }, - "DeleteUserPoolDomain": { - "input": { - "type": "structure", - "required": [ - "Domain", - "UserPoolId" - ], - "members": { - "Domain": {}, - "UserPoolId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeIdentityProvider": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ProviderName" - ], - "members": { - "UserPoolId": {}, - "ProviderName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "IdentityProvider" - ], - "members": { - "IdentityProvider": { - "shape": "S33" - } - } - } - }, - "DescribeUserImportJob": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "JobId" - ], - "members": { - "UserPoolId": {}, - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserImportJob": { - "shape": "S37" - } - } - } - }, - "DescribeUserPool": { - "input": { - "type": "structure", - "required": [ - "UserPoolId" - ], - "members": { - "UserPoolId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserPool": { - "shape": "S41" - } - } - } - }, - "DescribeUserPoolClient": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ClientId" - ], - "members": { - "UserPoolId": {}, - "ClientId": { - "shape": "S1d" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserPoolClient": { - "shape": "S4k" - } - } - } - }, - "DescribeUserPoolDomain": { - "input": { - "type": "structure", - "required": [ - "Domain" - ], - "members": { - "Domain": {} - } - }, - "output": { - "type": "structure", - "members": { - "DomainDescription": { - "type": "structure", - "members": { - "UserPoolId": {}, - "AWSAccountId": {}, - "Domain": {}, - "S3Bucket": {}, - "CloudFrontDistribution": {}, - "Version": {}, - "Status": {} - } - } - } - } - }, - "ForgetDevice": { - "input": { - "type": "structure", - "required": [ - "DeviceKey" - ], - "members": { - "AccessToken": { - "shape": "S1m" - }, - "DeviceKey": {} - } - } - }, - "ForgotPassword": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "Username" - ], - "members": { - "ClientId": { - "shape": "S1d" - }, - "SecretHash": { - "shape": "S2o" - }, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "members": { - "CodeDeliveryDetails": { - "shape": "S5g" - } - } - }, - "authtype": "none" - }, - "GetCSVHeader": { - "input": { - "type": "structure", - "required": [ - "UserPoolId" - ], - "members": { - "UserPoolId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserPoolId": {}, - "CSVHeader": { - "type": "list", - "member": {} - } - } - } - }, - "GetDevice": { - "input": { - "type": "structure", - "required": [ - "DeviceKey" - ], - "members": { - "DeviceKey": {}, - "AccessToken": { - "shape": "S1m" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Device" - ], - "members": { - "Device": { - "shape": "S19" - } - } - } - }, - "GetGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "UserPoolId" - ], - "members": { - "GroupName": {}, - "UserPoolId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Group": { - "shape": "S1y" - } - } - } - }, - "GetIdentityProviderByIdentifier": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "IdpIdentifier" - ], - "members": { - "UserPoolId": {}, - "IdpIdentifier": {} - } - }, - "output": { - "type": "structure", - "required": [ - "IdentityProvider" - ], - "members": { - "IdentityProvider": { - "shape": "S33" - } - } - } - }, - "GetUser": { - "input": { - "type": "structure", - "required": [ - "AccessToken" - ], - "members": { - "AccessToken": { - "shape": "S1m" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Username", - "UserAttributes" - ], - "members": { - "Username": { - "shape": "Sd" - }, - "UserAttributes": { - "shape": "Si" - }, - "MFAOptions": { - "shape": "Sv" - } - } - }, - "authtype": "none" - }, - "GetUserAttributeVerificationCode": { - "input": { - "type": "structure", - "required": [ - "AccessToken", - "AttributeName" - ], - "members": { - "AccessToken": { - "shape": "S1m" - }, - "AttributeName": {} - } - }, - "output": { - "type": "structure", - "members": { - "CodeDeliveryDetails": { - "shape": "S5g" - } - } - }, - "authtype": "none" - }, - "GlobalSignOut": { - "input": { - "type": "structure", - "required": [ - "AccessToken" - ], - "members": { - "AccessToken": { - "shape": "S1m" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "InitiateAuth": { - "input": { - "type": "structure", - "required": [ - "AuthFlow", - "ClientId" - ], - "members": { - "AuthFlow": {}, - "AuthParameters": { - "shape": "S1f" - }, - "ClientMetadata": { - "shape": "S1g" - }, - "ClientId": { - "shape": "S1d" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChallengeName": {}, - "Session": {}, - "ChallengeParameters": { - "shape": "S1k" - }, - "AuthenticationResult": { - "shape": "S1l" - } - } - } - }, - "ListDevices": { - "input": { - "type": "structure", - "required": [ - "AccessToken" - ], - "members": { - "AccessToken": { - "shape": "S1m" - }, - "Limit": { - "type": "integer" - }, - "PaginationToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Devices": { - "shape": "S1t" - }, - "PaginationToken": {} - } - } - }, - "ListGroups": { - "input": { - "type": "structure", - "required": [ - "UserPoolId" - ], - "members": { - "UserPoolId": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Groups": { - "shape": "S1x" - }, - "NextToken": {} - } - } - }, - "ListIdentityProviders": { - "input": { - "type": "structure", - "required": [ - "UserPoolId" - ], - "members": { - "UserPoolId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Providers" - ], - "members": { - "Providers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ProviderName": {}, - "ProviderType": {}, - "LastModifiedDate": { - "type": "timestamp" - }, - "CreationDate": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListUserImportJobs": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "MaxResults" - ], - "members": { - "UserPoolId": {}, - "MaxResults": { - "type": "integer" - }, - "PaginationToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserImportJobs": { - "type": "list", - "member": { - "shape": "S37" - } - }, - "PaginationToken": {} - } - } - }, - "ListUserPoolClients": { - "input": { - "type": "structure", - "required": [ - "UserPoolId" - ], - "members": { - "UserPoolId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserPoolClients": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ClientId": { - "shape": "S1d" - }, - "UserPoolId": {}, - "ClientName": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListUserPools": { - "input": { - "type": "structure", - "required": [ - "MaxResults" - ], - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserPools": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "LambdaConfig": { - "shape": "S3i" - }, - "Status": {}, - "LastModifiedDate": { - "type": "timestamp" - }, - "CreationDate": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListUsers": { - "input": { - "type": "structure", - "required": [ - "UserPoolId" - ], - "members": { - "UserPoolId": {}, - "AttributesToGet": { - "type": "list", - "member": {} - }, - "Limit": { - "type": "integer" - }, - "PaginationToken": {}, - "Filter": {} - } - }, - "output": { - "type": "structure", - "members": { - "Users": { - "shape": "S6p" - }, - "PaginationToken": {} - } - } - }, - "ListUsersInGroup": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "GroupName" - ], - "members": { - "UserPoolId": {}, - "GroupName": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Users": { - "shape": "S6p" - }, - "NextToken": {} - } - } - }, - "ResendConfirmationCode": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "Username" - ], - "members": { - "ClientId": { - "shape": "S1d" - }, - "SecretHash": { - "shape": "S2o" - }, - "Username": { - "shape": "Sd" - } - } - }, - "output": { - "type": "structure", - "members": { - "CodeDeliveryDetails": { - "shape": "S5g" - } - } - }, - "authtype": "none" - }, - "RespondToAuthChallenge": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "ChallengeName" - ], - "members": { - "ClientId": { - "shape": "S1d" - }, - "ChallengeName": {}, - "Session": {}, - "ChallengeResponses": { - "shape": "S26" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChallengeName": {}, - "Session": {}, - "ChallengeParameters": { - "shape": "S1k" - }, - "AuthenticationResult": { - "shape": "S1l" - } - } - } - }, - "SetUserSettings": { - "input": { - "type": "structure", - "required": [ - "AccessToken", - "MFAOptions" - ], - "members": { - "AccessToken": { - "shape": "S1m" - }, - "MFAOptions": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "authtype": "none" - }, - "SignUp": { - "input": { - "type": "structure", - "required": [ - "ClientId", - "Username", - "Password" - ], - "members": { - "ClientId": { - "shape": "S1d" - }, - "SecretHash": { - "shape": "S2o" - }, - "Username": { - "shape": "Sd" - }, - "Password": { - "shape": "Sm" - }, - "UserAttributes": { - "shape": "Si" - }, - "ValidationData": { - "shape": "Si" - } - } - }, - "output": { - "type": "structure", - "required": [ - "UserConfirmed", - "UserSub" - ], - "members": { - "UserConfirmed": { - "type": "boolean" - }, - "CodeDeliveryDetails": { - "shape": "S5g" - }, - "UserSub": {} - } - }, - "authtype": "none" - }, - "StartUserImportJob": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "JobId" - ], - "members": { - "UserPoolId": {}, - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserImportJob": { - "shape": "S37" - } - } - } - }, - "StopUserImportJob": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "JobId" - ], - "members": { - "UserPoolId": {}, - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UserImportJob": { - "shape": "S37" - } - } - } - }, - "UpdateDeviceStatus": { - "input": { - "type": "structure", - "required": [ - "AccessToken", - "DeviceKey" - ], - "members": { - "AccessToken": { - "shape": "S1m" - }, - "DeviceKey": {}, - "DeviceRememberedStatus": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "UserPoolId" - ], - "members": { - "GroupName": {}, - "UserPoolId": {}, - "Description": {}, - "RoleArn": {}, - "Precedence": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Group": { - "shape": "S1y" - } - } - } - }, - "UpdateIdentityProvider": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ProviderName" - ], - "members": { - "UserPoolId": {}, - "ProviderName": {}, - "ProviderDetails": { - "shape": "S2y" - }, - "AttributeMapping": { - "shape": "S2z" - }, - "IdpIdentifiers": { - "shape": "S30" - } - } - }, - "output": { - "type": "structure", - "required": [ - "IdentityProvider" - ], - "members": { - "IdentityProvider": { - "shape": "S33" - } - } - } - }, - "UpdateUserAttributes": { - "input": { - "type": "structure", - "required": [ - "UserAttributes", - "AccessToken" - ], - "members": { - "UserAttributes": { - "shape": "Si" - }, - "AccessToken": { - "shape": "S1m" - } - } - }, - "output": { - "type": "structure", - "members": { - "CodeDeliveryDetailsList": { - "type": "list", - "member": { - "shape": "S5g" - } - } - } - }, - "authtype": "none" - }, - "UpdateUserPool": { - "input": { - "type": "structure", - "required": [ - "UserPoolId" - ], - "members": { - "UserPoolId": {}, - "Policies": { - "shape": "S3f" - }, - "LambdaConfig": { - "shape": "S3i" - }, - "AutoVerifiedAttributes": { - "shape": "S3j" - }, - "SmsVerificationMessage": {}, - "EmailVerificationMessage": {}, - "EmailVerificationSubject": {}, - "SmsAuthenticationMessage": {}, - "MfaConfiguration": {}, - "DeviceConfiguration": { - "shape": "S3r" - }, - "EmailConfiguration": { - "shape": "S3s" - }, - "SmsConfiguration": { - "shape": "S3u" - }, - "UserPoolTags": { - "shape": "S3v" - }, - "AdminCreateUserConfig": { - "shape": "S3w" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateUserPoolClient": { - "input": { - "type": "structure", - "required": [ - "UserPoolId", - "ClientId" - ], - "members": { - "UserPoolId": {}, - "ClientId": { - "shape": "S1d" - }, - "ClientName": {}, - "RefreshTokenValidity": { - "type": "integer" - }, - "ReadAttributes": { - "shape": "S47" - }, - "WriteAttributes": { - "shape": "S47" - }, - "ExplicitAuthFlows": { - "shape": "S49" - }, - "SupportedIdentityProviders": { - "shape": "S4b" - }, - "CallbackURLs": { - "shape": "S4c" - }, - "LogoutURLs": { - "shape": "S4e" - }, - "DefaultRedirectURI": {}, - "AllowedOAuthFlows": { - "shape": "S4f" - }, - "AllowedOAuthScopes": { - "shape": "S4h" - }, - "AllowedOAuthFlowsUserPoolClient": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserPoolClient": { - "shape": "S4k" - } - } - } - }, - "VerifyUserAttribute": { - "input": { - "type": "structure", - "required": [ - "AccessToken", - "AttributeName", - "Code" - ], - "members": { - "AccessToken": { - "shape": "S1m" - }, - "AttributeName": {}, - "Code": {} - } - }, - "output": { - "type": "structure", - "members": {} - }, - "authtype": "none" - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "Name": {}, - "AttributeDataType": {}, - "DeveloperOnlyAttribute": { - "type": "boolean" - }, - "Mutable": { - "type": "boolean" - }, - "Required": { - "type": "boolean" - }, - "NumberAttributeConstraints": { - "type": "structure", - "members": { - "MinValue": {}, - "MaxValue": {} - } - }, - "StringAttributeConstraints": { - "type": "structure", - "members": { - "MinLength": {}, - "MaxLength": {} - } - } - } - }, - "Sd": { - "type": "string", - "sensitive": true - }, - "Si": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Value": { - "type": "string", - "sensitive": true - } - } - } - }, - "Sm": { - "type": "string", - "sensitive": true - }, - "Ss": { - "type": "structure", - "members": { - "Username": { - "shape": "Sd" - }, - "Attributes": { - "shape": "Si" - }, - "UserCreateDate": { - "type": "timestamp" - }, - "UserLastModifiedDate": { - "type": "timestamp" - }, - "Enabled": { - "type": "boolean" - }, - "UserStatus": {}, - "MFAOptions": { - "shape": "Sv" - } - } - }, - "Sv": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DeliveryMedium": {}, - "AttributeName": {} - } - } - }, - "Sz": { - "type": "list", - "member": {} - }, - "S19": { - "type": "structure", - "members": { - "DeviceKey": {}, - "DeviceAttributes": { - "shape": "Si" - }, - "DeviceCreateDate": { - "type": "timestamp" - }, - "DeviceLastModifiedDate": { - "type": "timestamp" - }, - "DeviceLastAuthenticatedDate": { - "type": "timestamp" - } - } - }, - "S1d": { - "type": "string", - "sensitive": true - }, - "S1f": { - "type": "map", - "key": {}, - "value": {} - }, - "S1g": { - "type": "map", - "key": {}, - "value": {} - }, - "S1k": { - "type": "map", - "key": {}, - "value": {} - }, - "S1l": { - "type": "structure", - "members": { - "AccessToken": { - "shape": "S1m" - }, - "ExpiresIn": { - "type": "integer" - }, - "TokenType": {}, - "RefreshToken": { - "shape": "S1m" - }, - "IdToken": { - "shape": "S1m" - }, - "NewDeviceMetadata": { - "type": "structure", - "members": { - "DeviceKey": {}, - "DeviceGroupKey": {} - } - } - } - }, - "S1m": { - "type": "string", - "sensitive": true - }, - "S1t": { - "type": "list", - "member": { - "shape": "S19" - } - }, - "S1x": { - "type": "list", - "member": { - "shape": "S1y" - } - }, - "S1y": { - "type": "structure", - "members": { - "GroupName": {}, - "UserPoolId": {}, - "Description": {}, - "RoleArn": {}, - "Precedence": { - "type": "integer" - }, - "LastModifiedDate": { - "type": "timestamp" - }, - "CreationDate": { - "type": "timestamp" - } - } - }, - "S26": { - "type": "map", - "key": {}, - "value": {} - }, - "S2o": { - "type": "string", - "sensitive": true - }, - "S2y": { - "type": "map", - "key": {}, - "value": {} - }, - "S2z": { - "type": "map", - "key": {}, - "value": {} - }, - "S30": { - "type": "list", - "member": {} - }, - "S33": { - "type": "structure", - "members": { - "UserPoolId": {}, - "ProviderName": {}, - "ProviderType": {}, - "ProviderDetails": { - "shape": "S2y" - }, - "AttributeMapping": { - "shape": "S2z" - }, - "IdpIdentifiers": { - "shape": "S30" - }, - "LastModifiedDate": { - "type": "timestamp" - }, - "CreationDate": { - "type": "timestamp" - } - } - }, - "S37": { - "type": "structure", - "members": { - "JobName": {}, - "JobId": {}, - "UserPoolId": {}, - "PreSignedUrl": {}, - "CreationDate": { - "type": "timestamp" - }, - "StartDate": { - "type": "timestamp" - }, - "CompletionDate": { - "type": "timestamp" - }, - "Status": {}, - "CloudWatchLogsRoleArn": {}, - "ImportedUsers": { - "type": "long" - }, - "SkippedUsers": { - "type": "long" - }, - "FailedUsers": { - "type": "long" - }, - "CompletionMessage": {} - } - }, - "S3f": { - "type": "structure", - "members": { - "PasswordPolicy": { - "type": "structure", - "members": { - "MinimumLength": { - "type": "integer" - }, - "RequireUppercase": { - "type": "boolean" - }, - "RequireLowercase": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireSymbols": { - "type": "boolean" - } - } - } - } - }, - "S3i": { - "type": "structure", - "members": { - "PreSignUp": {}, - "CustomMessage": {}, - "PostConfirmation": {}, - "PreAuthentication": {}, - "PostAuthentication": {}, - "DefineAuthChallenge": {}, - "CreateAuthChallenge": {}, - "VerifyAuthChallengeResponse": {} - } - }, - "S3j": { - "type": "list", - "member": {} - }, - "S3l": { - "type": "list", - "member": {} - }, - "S3r": { - "type": "structure", - "members": { - "ChallengeRequiredOnNewDevice": { - "type": "boolean" - }, - "DeviceOnlyRememberedOnUserPrompt": { - "type": "boolean" - } - } - }, - "S3s": { - "type": "structure", - "members": { - "SourceArn": {}, - "ReplyToEmailAddress": {} - } - }, - "S3u": { - "type": "structure", - "required": [ - "SnsCallerArn" - ], - "members": { - "SnsCallerArn": {}, - "ExternalId": {} - } - }, - "S3v": { - "type": "map", - "key": {}, - "value": {} - }, - "S3w": { - "type": "structure", - "members": { - "AllowAdminCreateUserOnly": { - "type": "boolean" - }, - "UnusedAccountValidityDays": { - "type": "integer" - }, - "InviteMessageTemplate": { - "type": "structure", - "members": { - "SMSMessage": {}, - "EmailMessage": {}, - "EmailSubject": {} - } - } - } - }, - "S3z": { - "type": "list", - "member": { - "shape": "S4" - } - }, - "S41": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Policies": { - "shape": "S3f" - }, - "LambdaConfig": { - "shape": "S3i" - }, - "Status": {}, - "LastModifiedDate": { - "type": "timestamp" - }, - "CreationDate": { - "type": "timestamp" - }, - "SchemaAttributes": { - "shape": "S3z" - }, - "AutoVerifiedAttributes": { - "shape": "S3j" - }, - "AliasAttributes": { - "shape": "S3l" - }, - "SmsVerificationMessage": {}, - "EmailVerificationMessage": {}, - "EmailVerificationSubject": {}, - "SmsAuthenticationMessage": {}, - "MfaConfiguration": {}, - "DeviceConfiguration": { - "shape": "S3r" - }, - "EstimatedNumberOfUsers": { - "type": "integer" - }, - "EmailConfiguration": { - "shape": "S3s" - }, - "SmsConfiguration": { - "shape": "S3u" - }, - "UserPoolTags": { - "shape": "S3v" - }, - "SmsConfigurationFailure": {}, - "EmailConfigurationFailure": {}, - "AdminCreateUserConfig": { - "shape": "S3w" - } - } - }, - "S47": { - "type": "list", - "member": {} - }, - "S49": { - "type": "list", - "member": {} - }, - "S4b": { - "type": "list", - "member": {} - }, - "S4c": { - "type": "list", - "member": {} - }, - "S4e": { - "type": "list", - "member": {} - }, - "S4f": { - "type": "list", - "member": {} - }, - "S4h": { - "type": "list", - "member": {} - }, - "S4k": { - "type": "structure", - "members": { - "UserPoolId": {}, - "ClientName": {}, - "ClientId": { - "shape": "S1d" - }, - "ClientSecret": { - "type": "string", - "sensitive": true - }, - "LastModifiedDate": { - "type": "timestamp" - }, - "CreationDate": { - "type": "timestamp" - }, - "RefreshTokenValidity": { - "type": "integer" - }, - "ReadAttributes": { - "shape": "S47" - }, - "WriteAttributes": { - "shape": "S47" - }, - "ExplicitAuthFlows": { - "shape": "S49" - }, - "SupportedIdentityProviders": { - "shape": "S4b" - }, - "CallbackURLs": { - "shape": "S4c" - }, - "LogoutURLs": { - "shape": "S4e" - }, - "DefaultRedirectURI": {}, - "AllowedOAuthFlows": { - "shape": "S4f" - }, - "AllowedOAuthScopes": { - "shape": "S4h" - }, - "AllowedOAuthFlowsUserPoolClient": { - "type": "boolean" - } - } - }, - "S5g": { - "type": "structure", - "members": { - "Destination": {}, - "DeliveryMedium": {}, - "AttributeName": {} - } - }, - "S6p": { - "type": "list", - "member": { - "shape": "Ss" - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.paginators.json b/src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json b/src/node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json deleted file mode 100644 index 3195f1a..0000000 --- a/src/node_modules/aws-sdk/apis/cognito-sync-2014-06-30.min.json +++ /dev/null @@ -1,747 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-06-30", - "endpointPrefix": "cognito-sync", - "jsonVersion": "1.1", - "serviceFullName": "Amazon Cognito Sync", - "signatureVersion": "v4", - "protocol": "rest-json", - "uid": "cognito-sync-2014-06-30" - }, - "operations": { - "BulkPublish": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/bulkpublish", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {} - } - } - }, - "DeleteDataset": { - "http": { - "method": "DELETE", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Dataset": { - "shape": "S8" - } - } - } - }, - "DescribeDataset": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Dataset": { - "shape": "S8" - } - } - } - }, - "DescribeIdentityPoolUsage": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolUsage": { - "shape": "Sg" - } - } - } - }, - "DescribeIdentityUsage": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityUsage": { - "type": "structure", - "members": { - "IdentityId": {}, - "IdentityPoolId": {}, - "LastModifiedDate": { - "type": "timestamp" - }, - "DatasetCount": { - "type": "integer" - }, - "DataStorage": { - "type": "long" - } - } - } - } - } - }, - "GetBulkPublishDetails": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/getBulkPublishDetails", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "BulkPublishStartTime": { - "type": "timestamp" - }, - "BulkPublishCompleteTime": { - "type": "timestamp" - }, - "BulkPublishStatus": {}, - "FailureMessage": {} - } - } - }, - "GetCognitoEvents": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/events", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Events": { - "shape": "Sq" - } - } - } - }, - "GetIdentityPoolConfiguration": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "PushSync": { - "shape": "Sv" - }, - "CognitoStreams": { - "shape": "Sz" - } - } - } - }, - "ListDatasets": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityId", - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "NextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "MaxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Datasets": { - "type": "list", - "member": { - "shape": "S8" - } - }, - "Count": { - "type": "integer" - }, - "NextToken": {} - } - } - }, - "ListIdentityPoolUsage": { - "http": { - "method": "GET", - "requestUri": "/identitypools", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "NextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "MaxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolUsages": { - "type": "list", - "member": { - "shape": "Sg" - } - }, - "MaxResults": { - "type": "integer" - }, - "Count": { - "type": "integer" - }, - "NextToken": {} - } - } - }, - "ListRecords": { - "http": { - "method": "GET", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - }, - "LastSyncCount": { - "location": "querystring", - "locationName": "lastSyncCount", - "type": "long" - }, - "NextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "MaxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "SyncSessionToken": { - "location": "querystring", - "locationName": "syncSessionToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Records": { - "shape": "S1c" - }, - "NextToken": {}, - "Count": { - "type": "integer" - }, - "DatasetSyncCount": { - "type": "long" - }, - "LastModifiedBy": {}, - "MergedDatasetNames": { - "type": "list", - "member": {} - }, - "DatasetExists": { - "type": "boolean" - }, - "DatasetDeletedAfterRequestedSyncCount": { - "type": "boolean" - }, - "SyncSessionToken": {} - } - } - }, - "RegisterDevice": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/identity/{IdentityId}/device", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "Platform", - "Token" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "Platform": {}, - "Token": {} - } - }, - "output": { - "type": "structure", - "members": { - "DeviceId": {} - } - } - }, - "SetCognitoEvents": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/events", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "Events" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "Events": { - "shape": "Sq" - } - } - } - }, - "SetIdentityPoolConfiguration": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "PushSync": { - "shape": "Sv" - }, - "CognitoStreams": { - "shape": "Sz" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "PushSync": { - "shape": "Sv" - }, - "CognitoStreams": { - "shape": "Sz" - } - } - } - }, - "SubscribeToDataset": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName", - "DeviceId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - }, - "DeviceId": { - "location": "uri", - "locationName": "DeviceId" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UnsubscribeFromDataset": { - "http": { - "method": "DELETE", - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName", - "DeviceId" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - }, - "DeviceId": { - "location": "uri", - "locationName": "DeviceId" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateRecords": { - "http": { - "requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityId", - "DatasetName", - "SyncSessionToken" - ], - "members": { - "IdentityPoolId": { - "location": "uri", - "locationName": "IdentityPoolId" - }, - "IdentityId": { - "location": "uri", - "locationName": "IdentityId" - }, - "DatasetName": { - "location": "uri", - "locationName": "DatasetName" - }, - "DeviceId": {}, - "RecordPatches": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Op", - "Key", - "SyncCount" - ], - "members": { - "Op": {}, - "Key": {}, - "Value": {}, - "SyncCount": { - "type": "long" - }, - "DeviceLastModifiedDate": { - "type": "timestamp" - } - } - } - }, - "SyncSessionToken": {}, - "ClientContext": { - "location": "header", - "locationName": "x-amz-Client-Context" - } - } - }, - "output": { - "type": "structure", - "members": { - "Records": { - "shape": "S1c" - } - } - } - } - }, - "shapes": { - "S8": { - "type": "structure", - "members": { - "IdentityId": {}, - "DatasetName": {}, - "CreationDate": { - "type": "timestamp" - }, - "LastModifiedDate": { - "type": "timestamp" - }, - "LastModifiedBy": {}, - "DataStorage": { - "type": "long" - }, - "NumRecords": { - "type": "long" - } - } - }, - "Sg": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "SyncSessionsCount": { - "type": "long" - }, - "DataStorage": { - "type": "long" - }, - "LastModifiedDate": { - "type": "timestamp" - } - } - }, - "Sq": { - "type": "map", - "key": {}, - "value": {} - }, - "Sv": { - "type": "structure", - "members": { - "ApplicationArns": { - "type": "list", - "member": {} - }, - "RoleArn": {} - } - }, - "Sz": { - "type": "structure", - "members": { - "StreamName": {}, - "RoleArn": {}, - "StreamingStatus": {} - } - }, - "S1c": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {}, - "SyncCount": { - "type": "long" - }, - "LastModifiedDate": { - "type": "timestamp" - }, - "LastModifiedBy": {}, - "DeviceLastModifiedDate": { - "type": "timestamp" - } - } - } - } - }, - "examples": {} -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/config-2014-11-12.examples.json b/src/node_modules/aws-sdk/apis/config-2014-11-12.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/config-2014-11-12.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/config-2014-11-12.min.json b/src/node_modules/aws-sdk/apis/config-2014-11-12.min.json deleted file mode 100644 index c77eafc..0000000 --- a/src/node_modules/aws-sdk/apis/config-2014-11-12.min.json +++ /dev/null @@ -1,870 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-11-12", - "endpointPrefix": "config", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Config Service", - "serviceFullName": "AWS Config", - "signatureVersion": "v4", - "targetPrefix": "StarlingDoveService", - "uid": "config-2014-11-12" - }, - "operations": { - "DeleteConfigRule": { - "input": { - "type": "structure", - "required": [ - "ConfigRuleName" - ], - "members": { - "ConfigRuleName": {} - } - } - }, - "DeleteConfigurationRecorder": { - "input": { - "type": "structure", - "required": [ - "ConfigurationRecorderName" - ], - "members": { - "ConfigurationRecorderName": {} - } - } - }, - "DeleteDeliveryChannel": { - "input": { - "type": "structure", - "required": [ - "DeliveryChannelName" - ], - "members": { - "DeliveryChannelName": {} - } - } - }, - "DeleteEvaluationResults": { - "input": { - "type": "structure", - "required": [ - "ConfigRuleName" - ], - "members": { - "ConfigRuleName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeliverConfigSnapshot": { - "input": { - "type": "structure", - "required": [ - "deliveryChannelName" - ], - "members": { - "deliveryChannelName": {} - } - }, - "output": { - "type": "structure", - "members": { - "configSnapshotId": {} - } - } - }, - "DescribeComplianceByConfigRule": { - "input": { - "type": "structure", - "members": { - "ConfigRuleNames": { - "shape": "Sd" - }, - "ComplianceTypes": { - "shape": "Se" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ComplianceByConfigRules": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ConfigRuleName": {}, - "Compliance": { - "shape": "Sj" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeComplianceByResource": { - "input": { - "type": "structure", - "members": { - "ResourceType": {}, - "ResourceId": {}, - "ComplianceTypes": { - "shape": "Se" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ComplianceByResources": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceType": {}, - "ResourceId": {}, - "Compliance": { - "shape": "Sj" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeConfigRuleEvaluationStatus": { - "input": { - "type": "structure", - "members": { - "ConfigRuleNames": { - "shape": "Sd" - }, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConfigRulesEvaluationStatus": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ConfigRuleName": {}, - "ConfigRuleArn": {}, - "ConfigRuleId": {}, - "LastSuccessfulInvocationTime": { - "type": "timestamp" - }, - "LastFailedInvocationTime": { - "type": "timestamp" - }, - "LastSuccessfulEvaluationTime": { - "type": "timestamp" - }, - "LastFailedEvaluationTime": { - "type": "timestamp" - }, - "FirstActivatedTime": { - "type": "timestamp" - }, - "LastErrorCode": {}, - "LastErrorMessage": {}, - "FirstEvaluationStarted": { - "type": "boolean" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeConfigRules": { - "input": { - "type": "structure", - "members": { - "ConfigRuleNames": { - "shape": "Sd" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ConfigRules": { - "type": "list", - "member": { - "shape": "S13" - } - }, - "NextToken": {} - } - } - }, - "DescribeConfigurationRecorderStatus": { - "input": { - "type": "structure", - "members": { - "ConfigurationRecorderNames": { - "shape": "S1i" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConfigurationRecordersStatus": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "lastStartTime": { - "type": "timestamp" - }, - "lastStopTime": { - "type": "timestamp" - }, - "recording": { - "type": "boolean" - }, - "lastStatus": {}, - "lastErrorCode": {}, - "lastErrorMessage": {}, - "lastStatusChangeTime": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeConfigurationRecorders": { - "input": { - "type": "structure", - "members": { - "ConfigurationRecorderNames": { - "shape": "S1i" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConfigurationRecorders": { - "type": "list", - "member": { - "shape": "S1q" - } - } - } - } - }, - "DescribeDeliveryChannelStatus": { - "input": { - "type": "structure", - "members": { - "DeliveryChannelNames": { - "shape": "S1x" - } - } - }, - "output": { - "type": "structure", - "members": { - "DeliveryChannelsStatus": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "configSnapshotDeliveryInfo": { - "shape": "S21" - }, - "configHistoryDeliveryInfo": { - "shape": "S21" - }, - "configStreamDeliveryInfo": { - "type": "structure", - "members": { - "lastStatus": {}, - "lastErrorCode": {}, - "lastErrorMessage": {}, - "lastStatusChangeTime": { - "type": "timestamp" - } - } - } - } - } - } - } - } - }, - "DescribeDeliveryChannels": { - "input": { - "type": "structure", - "members": { - "DeliveryChannelNames": { - "shape": "S1x" - } - } - }, - "output": { - "type": "structure", - "members": { - "DeliveryChannels": { - "type": "list", - "member": { - "shape": "S27" - } - } - } - } - }, - "GetComplianceDetailsByConfigRule": { - "input": { - "type": "structure", - "required": [ - "ConfigRuleName" - ], - "members": { - "ConfigRuleName": {}, - "ComplianceTypes": { - "shape": "Se" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "EvaluationResults": { - "shape": "S2b" - }, - "NextToken": {} - } - } - }, - "GetComplianceDetailsByResource": { - "input": { - "type": "structure", - "required": [ - "ResourceType", - "ResourceId" - ], - "members": { - "ResourceType": {}, - "ResourceId": {}, - "ComplianceTypes": { - "shape": "Se" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "EvaluationResults": { - "shape": "S2b" - }, - "NextToken": {} - } - } - }, - "GetComplianceSummaryByConfigRule": { - "output": { - "type": "structure", - "members": { - "ComplianceSummary": { - "shape": "S2i" - } - } - } - }, - "GetComplianceSummaryByResourceType": { - "input": { - "type": "structure", - "members": { - "ResourceTypes": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "ComplianceSummariesByResourceType": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceType": {}, - "ComplianceSummary": { - "shape": "S2i" - } - } - } - } - } - } - }, - "GetResourceConfigHistory": { - "input": { - "type": "structure", - "required": [ - "resourceType", - "resourceId" - ], - "members": { - "resourceType": {}, - "resourceId": {}, - "laterTime": { - "type": "timestamp" - }, - "earlierTime": { - "type": "timestamp" - }, - "chronologicalOrder": {}, - "limit": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "configurationItems": { - "type": "list", - "member": { - "type": "structure", - "members": { - "version": {}, - "accountId": {}, - "configurationItemCaptureTime": { - "type": "timestamp" - }, - "configurationItemStatus": {}, - "configurationStateId": {}, - "configurationItemMD5Hash": {}, - "arn": {}, - "resourceType": {}, - "resourceId": {}, - "resourceName": {}, - "awsRegion": {}, - "availabilityZone": {}, - "resourceCreationTime": { - "type": "timestamp" - }, - "tags": { - "type": "map", - "key": {}, - "value": {} - }, - "relatedEvents": { - "type": "list", - "member": {} - }, - "relationships": { - "type": "list", - "member": { - "type": "structure", - "members": { - "resourceType": {}, - "resourceId": {}, - "resourceName": {}, - "relationshipName": {} - } - } - }, - "configuration": {}, - "supplementaryConfiguration": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "nextToken": {} - } - } - }, - "ListDiscoveredResources": { - "input": { - "type": "structure", - "required": [ - "resourceType" - ], - "members": { - "resourceType": {}, - "resourceIds": { - "type": "list", - "member": {} - }, - "resourceName": {}, - "limit": { - "type": "integer" - }, - "includeDeletedResources": { - "type": "boolean" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "resourceIdentifiers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "resourceType": {}, - "resourceId": {}, - "resourceName": {}, - "resourceDeletionTime": { - "type": "timestamp" - } - } - } - }, - "nextToken": {} - } - } - }, - "PutConfigRule": { - "input": { - "type": "structure", - "required": [ - "ConfigRule" - ], - "members": { - "ConfigRule": { - "shape": "S13" - } - } - } - }, - "PutConfigurationRecorder": { - "input": { - "type": "structure", - "required": [ - "ConfigurationRecorder" - ], - "members": { - "ConfigurationRecorder": { - "shape": "S1q" - } - } - } - }, - "PutDeliveryChannel": { - "input": { - "type": "structure", - "required": [ - "DeliveryChannel" - ], - "members": { - "DeliveryChannel": { - "shape": "S27" - } - } - } - }, - "PutEvaluations": { - "input": { - "type": "structure", - "required": [ - "ResultToken" - ], - "members": { - "Evaluations": { - "shape": "S3t" - }, - "ResultToken": {}, - "TestMode": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedEvaluations": { - "shape": "S3t" - } - } - } - }, - "StartConfigRulesEvaluation": { - "input": { - "type": "structure", - "members": { - "ConfigRuleNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "StartConfigurationRecorder": { - "input": { - "type": "structure", - "required": [ - "ConfigurationRecorderName" - ], - "members": { - "ConfigurationRecorderName": {} - } - } - }, - "StopConfigurationRecorder": { - "input": { - "type": "structure", - "required": [ - "ConfigurationRecorderName" - ], - "members": { - "ConfigurationRecorderName": {} - } - } - } - }, - "shapes": { - "Sd": { - "type": "list", - "member": {} - }, - "Se": { - "type": "list", - "member": {} - }, - "Sj": { - "type": "structure", - "members": { - "ComplianceType": {}, - "ComplianceContributorCount": { - "shape": "Sk" - } - } - }, - "Sk": { - "type": "structure", - "members": { - "CappedCount": { - "type": "integer" - }, - "CapExceeded": { - "type": "boolean" - } - } - }, - "S13": { - "type": "structure", - "required": [ - "Source" - ], - "members": { - "ConfigRuleName": {}, - "ConfigRuleArn": {}, - "ConfigRuleId": {}, - "Description": {}, - "Scope": { - "type": "structure", - "members": { - "ComplianceResourceTypes": { - "type": "list", - "member": {} - }, - "TagKey": {}, - "TagValue": {}, - "ComplianceResourceId": {} - } - }, - "Source": { - "type": "structure", - "required": [ - "Owner", - "SourceIdentifier" - ], - "members": { - "Owner": {}, - "SourceIdentifier": {}, - "SourceDetails": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventSource": {}, - "MessageType": {}, - "MaximumExecutionFrequency": {} - } - } - } - } - }, - "InputParameters": {}, - "MaximumExecutionFrequency": {}, - "ConfigRuleState": {} - } - }, - "S1i": { - "type": "list", - "member": {} - }, - "S1q": { - "type": "structure", - "members": { - "name": {}, - "roleARN": {}, - "recordingGroup": { - "type": "structure", - "members": { - "allSupported": { - "type": "boolean" - }, - "includeGlobalResourceTypes": { - "type": "boolean" - }, - "resourceTypes": { - "type": "list", - "member": {} - } - } - } - } - }, - "S1x": { - "type": "list", - "member": {} - }, - "S21": { - "type": "structure", - "members": { - "lastStatus": {}, - "lastErrorCode": {}, - "lastErrorMessage": {}, - "lastAttemptTime": { - "type": "timestamp" - }, - "lastSuccessfulTime": { - "type": "timestamp" - }, - "nextDeliveryTime": { - "type": "timestamp" - } - } - }, - "S27": { - "type": "structure", - "members": { - "name": {}, - "s3BucketName": {}, - "s3KeyPrefix": {}, - "snsTopicARN": {}, - "configSnapshotDeliveryProperties": { - "type": "structure", - "members": { - "deliveryFrequency": {} - } - } - } - }, - "S2b": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EvaluationResultIdentifier": { - "type": "structure", - "members": { - "EvaluationResultQualifier": { - "type": "structure", - "members": { - "ConfigRuleName": {}, - "ResourceType": {}, - "ResourceId": {} - } - }, - "OrderingTimestamp": { - "type": "timestamp" - } - } - }, - "ComplianceType": {}, - "ResultRecordedTime": { - "type": "timestamp" - }, - "ConfigRuleInvokedTime": { - "type": "timestamp" - }, - "Annotation": {}, - "ResultToken": {} - } - } - }, - "S2i": { - "type": "structure", - "members": { - "CompliantResourceCount": { - "shape": "Sk" - }, - "NonCompliantResourceCount": { - "shape": "Sk" - }, - "ComplianceSummaryTimestamp": { - "type": "timestamp" - } - } - }, - "S3t": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ComplianceResourceType", - "ComplianceResourceId", - "ComplianceType", - "OrderingTimestamp" - ], - "members": { - "ComplianceResourceType": {}, - "ComplianceResourceId": {}, - "ComplianceType": {}, - "Annotation": {}, - "OrderingTimestamp": { - "type": "timestamp" - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json b/src/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json deleted file mode 100644 index 2ccf9bc..0000000 --- a/src/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "pagination": { - "GetResourceConfigHistory": { - "input_token": "nextToken", - "limit_key": "limit", - "output_token": "nextToken", - "result_key": "configurationItems" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cur-2017-01-06.min.json b/src/node_modules/aws-sdk/apis/cur-2017-01-06.min.json deleted file mode 100644 index e9dba21..0000000 --- a/src/node_modules/aws-sdk/apis/cur-2017-01-06.min.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2017-01-06", - "endpointPrefix": "cur", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Cost and Usage Report Service", - "signatureVersion": "v4", - "signingName": "cur", - "targetPrefix": "AWSOrigamiServiceGatewayService", - "uid": "cur-2017-01-06" - }, - "operations": { - "DeleteReportDefinition": { - "input": { - "type": "structure", - "members": { - "ReportName": {} - } - }, - "output": { - "type": "structure", - "members": { - "ResponseMessage": {} - } - } - }, - "DescribeReportDefinitions": { - "input": { - "type": "structure", - "members": { - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReportDefinitions": { - "type": "list", - "member": { - "shape": "Sa" - } - }, - "NextToken": {} - } - } - }, - "PutReportDefinition": { - "input": { - "type": "structure", - "required": [ - "ReportDefinition" - ], - "members": { - "ReportDefinition": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "Sa": { - "type": "structure", - "required": [ - "ReportName", - "TimeUnit", - "Format", - "Compression", - "AdditionalSchemaElements", - "S3Bucket", - "S3Prefix", - "S3Region" - ], - "members": { - "ReportName": {}, - "TimeUnit": {}, - "Format": {}, - "Compression": {}, - "AdditionalSchemaElements": { - "type": "list", - "member": {} - }, - "S3Bucket": {}, - "S3Prefix": {}, - "S3Region": {}, - "AdditionalArtifacts": { - "type": "list", - "member": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/cur-2017-01-06.paginators.json b/src/node_modules/aws-sdk/apis/cur-2017-01-06.paginators.json deleted file mode 100644 index 78c6eed..0000000 --- a/src/node_modules/aws-sdk/apis/cur-2017-01-06.paginators.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "pagination": { - "DescribeReportDefinitions": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json b/src/node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json deleted file mode 100644 index 117da05..0000000 --- a/src/node_modules/aws-sdk/apis/datapipeline-2012-10-29.min.json +++ /dev/null @@ -1,667 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-10-29", - "endpointPrefix": "datapipeline", - "jsonVersion": "1.1", - "serviceFullName": "AWS Data Pipeline", - "signatureVersion": "v4", - "targetPrefix": "DataPipeline", - "protocol": "json", - "uid": "datapipeline-2012-10-29" - }, - "operations": { - "ActivatePipeline": { - "input": { - "type": "structure", - "required": [ - "pipelineId" - ], - "members": { - "pipelineId": {}, - "parameterValues": { - "shape": "S3" - }, - "startTimestamp": { - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AddTags": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "tags" - ], - "members": { - "pipelineId": {}, - "tags": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreatePipeline": { - "input": { - "type": "structure", - "required": [ - "name", - "uniqueId" - ], - "members": { - "name": {}, - "uniqueId": {}, - "description": {}, - "tags": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "required": [ - "pipelineId" - ], - "members": { - "pipelineId": {} - } - } - }, - "DeactivatePipeline": { - "input": { - "type": "structure", - "required": [ - "pipelineId" - ], - "members": { - "pipelineId": {}, - "cancelActive": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeletePipeline": { - "input": { - "type": "structure", - "required": [ - "pipelineId" - ], - "members": { - "pipelineId": {} - } - } - }, - "DescribeObjects": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "objectIds" - ], - "members": { - "pipelineId": {}, - "objectIds": { - "shape": "Sn" - }, - "evaluateExpressions": { - "type": "boolean" - }, - "marker": {} - } - }, - "output": { - "type": "structure", - "required": [ - "pipelineObjects" - ], - "members": { - "pipelineObjects": { - "shape": "Sq" - }, - "marker": {}, - "hasMoreResults": { - "type": "boolean" - } - } - } - }, - "DescribePipelines": { - "input": { - "type": "structure", - "required": [ - "pipelineIds" - ], - "members": { - "pipelineIds": { - "shape": "Sn" - } - } - }, - "output": { - "type": "structure", - "required": [ - "pipelineDescriptionList" - ], - "members": { - "pipelineDescriptionList": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "pipelineId", - "name", - "fields" - ], - "members": { - "pipelineId": {}, - "name": {}, - "fields": { - "shape": "Ss" - }, - "description": {}, - "tags": { - "shape": "Sa" - } - } - } - } - } - } - }, - "EvaluateExpression": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "objectId", - "expression" - ], - "members": { - "pipelineId": {}, - "objectId": {}, - "expression": {} - } - }, - "output": { - "type": "structure", - "required": [ - "evaluatedExpression" - ], - "members": { - "evaluatedExpression": {} - } - } - }, - "GetPipelineDefinition": { - "input": { - "type": "structure", - "required": [ - "pipelineId" - ], - "members": { - "pipelineId": {}, - "version": {} - } - }, - "output": { - "type": "structure", - "members": { - "pipelineObjects": { - "shape": "Sq" - }, - "parameterObjects": { - "shape": "S13" - }, - "parameterValues": { - "shape": "S3" - } - } - } - }, - "ListPipelines": { - "input": { - "type": "structure", - "members": { - "marker": {} - } - }, - "output": { - "type": "structure", - "required": [ - "pipelineIdList" - ], - "members": { - "pipelineIdList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "name": {} - } - } - }, - "marker": {}, - "hasMoreResults": { - "type": "boolean" - } - } - } - }, - "PollForTask": { - "input": { - "type": "structure", - "required": [ - "workerGroup" - ], - "members": { - "workerGroup": {}, - "hostname": {}, - "instanceIdentity": { - "type": "structure", - "members": { - "document": {}, - "signature": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "taskObject": { - "type": "structure", - "members": { - "taskId": {}, - "pipelineId": {}, - "attemptId": {}, - "objects": { - "type": "map", - "key": {}, - "value": { - "shape": "Sr" - } - } - } - } - } - } - }, - "PutPipelineDefinition": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "pipelineObjects" - ], - "members": { - "pipelineId": {}, - "pipelineObjects": { - "shape": "Sq" - }, - "parameterObjects": { - "shape": "S13" - }, - "parameterValues": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "required": [ - "errored" - ], - "members": { - "validationErrors": { - "shape": "S1l" - }, - "validationWarnings": { - "shape": "S1p" - }, - "errored": { - "type": "boolean" - } - } - } - }, - "QueryObjects": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "sphere" - ], - "members": { - "pipelineId": {}, - "query": { - "type": "structure", - "members": { - "selectors": { - "type": "list", - "member": { - "type": "structure", - "members": { - "fieldName": {}, - "operator": { - "type": "structure", - "members": { - "type": {}, - "values": { - "shape": "S1x" - } - } - } - } - } - } - } - }, - "sphere": {}, - "marker": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "ids": { - "shape": "Sn" - }, - "marker": {}, - "hasMoreResults": { - "type": "boolean" - } - } - } - }, - "RemoveTags": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "tagKeys" - ], - "members": { - "pipelineId": {}, - "tagKeys": { - "shape": "S1x" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ReportTaskProgress": { - "input": { - "type": "structure", - "required": [ - "taskId" - ], - "members": { - "taskId": {}, - "fields": { - "shape": "Ss" - } - } - }, - "output": { - "type": "structure", - "required": [ - "canceled" - ], - "members": { - "canceled": { - "type": "boolean" - } - } - } - }, - "ReportTaskRunnerHeartbeat": { - "input": { - "type": "structure", - "required": [ - "taskrunnerId" - ], - "members": { - "taskrunnerId": {}, - "workerGroup": {}, - "hostname": {} - } - }, - "output": { - "type": "structure", - "required": [ - "terminate" - ], - "members": { - "terminate": { - "type": "boolean" - } - } - } - }, - "SetStatus": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "objectIds", - "status" - ], - "members": { - "pipelineId": {}, - "objectIds": { - "shape": "Sn" - }, - "status": {} - } - } - }, - "SetTaskStatus": { - "input": { - "type": "structure", - "required": [ - "taskId", - "taskStatus" - ], - "members": { - "taskId": {}, - "taskStatus": {}, - "errorId": {}, - "errorMessage": {}, - "errorStackTrace": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ValidatePipelineDefinition": { - "input": { - "type": "structure", - "required": [ - "pipelineId", - "pipelineObjects" - ], - "members": { - "pipelineId": {}, - "pipelineObjects": { - "shape": "Sq" - }, - "parameterObjects": { - "shape": "S13" - }, - "parameterValues": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "required": [ - "errored" - ], - "members": { - "validationErrors": { - "shape": "S1l" - }, - "validationWarnings": { - "shape": "S1p" - }, - "errored": { - "type": "boolean" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "id", - "stringValue" - ], - "members": { - "id": {}, - "stringValue": {} - } - } - }, - "Sa": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "Sn": { - "type": "list", - "member": {} - }, - "Sq": { - "type": "list", - "member": { - "shape": "Sr" - } - }, - "Sr": { - "type": "structure", - "required": [ - "id", - "name", - "fields" - ], - "members": { - "id": {}, - "name": {}, - "fields": { - "shape": "Ss" - } - } - }, - "Ss": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "stringValue": {}, - "refValue": {} - } - } - }, - "S13": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "id", - "attributes" - ], - "members": { - "id": {}, - "attributes": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key", - "stringValue" - ], - "members": { - "key": {}, - "stringValue": {} - } - } - } - } - } - }, - "S1l": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "errors": { - "shape": "S1n" - } - } - } - }, - "S1n": { - "type": "list", - "member": {} - }, - "S1p": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "warnings": { - "shape": "S1n" - } - } - } - }, - "S1x": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json b/src/node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json deleted file mode 100644 index db94193..0000000 --- a/src/node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "pagination": { - "ListPipelines": { - "input_token": "marker", - "output_token": "marker", - "more_results": "hasMoreResults", - "result_key": "pipelineIdList" - }, - "DescribeObjects": { - "input_token": "marker", - "output_token": "marker", - "more_results": "hasMoreResults", - "result_key": "pipelineObjects" - }, - "DescribePipelines": { - "result_key": "pipelineDescriptionList" - }, - "QueryObjects": { - "input_token": "marker", - "output_token": "marker", - "more_results": "hasMoreResults", - "limit_key": "limit", - "result_key": "ids" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/dax-2017-04-19.examples.json b/src/node_modules/aws-sdk/apis/dax-2017-04-19.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/dax-2017-04-19.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/dax-2017-04-19.min.json b/src/node_modules/aws-sdk/apis/dax-2017-04-19.min.json deleted file mode 100644 index 309fcc3..0000000 --- a/src/node_modules/aws-sdk/apis/dax-2017-04-19.min.json +++ /dev/null @@ -1,705 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2017-04-19", - "endpointPrefix": "dax", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon DAX", - "serviceFullName": "Amazon DynamoDB Accelerator (DAX)", - "signatureVersion": "v4", - "targetPrefix": "AmazonDAXV3", - "uid": "dax-2017-04-19" - }, - "operations": { - "CreateCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterName", - "NodeType", - "ReplicationFactor", - "IamRoleArn" - ], - "members": { - "ClusterName": {}, - "NodeType": {}, - "Description": {}, - "ReplicationFactor": { - "type": "integer" - }, - "AvailabilityZones": { - "shape": "S4" - }, - "SubnetGroupName": {}, - "SecurityGroupIds": { - "shape": "S5" - }, - "PreferredMaintenanceWindow": {}, - "NotificationTopicArn": {}, - "IamRoleArn": {}, - "ParameterGroupName": {}, - "Tags": { - "shape": "S6" - } - } - }, - "output": { - "type": "structure", - "members": { - "Cluster": { - "shape": "S9" - } - } - } - }, - "CreateParameterGroup": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName" - ], - "members": { - "ParameterGroupName": {}, - "Description": {} - } - }, - "output": { - "type": "structure", - "members": { - "ParameterGroup": { - "shape": "Sm" - } - } - } - }, - "CreateSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "SubnetGroupName", - "SubnetIds" - ], - "members": { - "SubnetGroupName": {}, - "Description": {}, - "SubnetIds": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "members": { - "SubnetGroup": { - "shape": "Sq" - } - } - } - }, - "DecreaseReplicationFactor": { - "input": { - "type": "structure", - "required": [ - "ClusterName", - "NewReplicationFactor" - ], - "members": { - "ClusterName": {}, - "NewReplicationFactor": { - "type": "integer" - }, - "AvailabilityZones": { - "shape": "S4" - }, - "NodeIdsToRemove": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "Cluster": { - "shape": "S9" - } - } - } - }, - "DeleteCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterName" - ], - "members": { - "ClusterName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Cluster": { - "shape": "S9" - } - } - } - }, - "DeleteParameterGroup": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName" - ], - "members": { - "ParameterGroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "DeletionMessage": {} - } - } - }, - "DeleteSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "SubnetGroupName" - ], - "members": { - "SubnetGroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "DeletionMessage": {} - } - } - }, - "DescribeClusters": { - "input": { - "type": "structure", - "members": { - "ClusterNames": { - "type": "list", - "member": {} - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Clusters": { - "type": "list", - "member": { - "shape": "S9" - } - } - } - } - }, - "DescribeDefaultParameters": { - "input": { - "type": "structure", - "members": { - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Parameters": { - "shape": "S17" - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceName": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SourceName": {}, - "SourceType": {}, - "Message": {}, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeParameterGroups": { - "input": { - "type": "structure", - "members": { - "ParameterGroupNames": { - "type": "list", - "member": {} - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "ParameterGroups": { - "type": "list", - "member": { - "shape": "Sm" - } - } - } - } - }, - "DescribeParameters": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName" - ], - "members": { - "ParameterGroupName": {}, - "Source": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Parameters": { - "shape": "S17" - } - } - } - }, - "DescribeSubnetGroups": { - "input": { - "type": "structure", - "members": { - "SubnetGroupNames": { - "type": "list", - "member": {} - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "SubnetGroups": { - "type": "list", - "member": { - "shape": "Sq" - } - } - } - } - }, - "IncreaseReplicationFactor": { - "input": { - "type": "structure", - "required": [ - "ClusterName", - "NewReplicationFactor" - ], - "members": { - "ClusterName": {}, - "NewReplicationFactor": { - "type": "integer" - }, - "AvailabilityZones": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "members": { - "Cluster": { - "shape": "S9" - } - } - } - }, - "ListTags": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {}, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "S6" - }, - "NextToken": {} - } - } - }, - "RebootNode": { - "input": { - "type": "structure", - "required": [ - "ClusterName", - "NodeId" - ], - "members": { - "ClusterName": {}, - "NodeId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Cluster": { - "shape": "S9" - } - } - } - }, - "TagResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S6" - } - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "S6" - } - } - } - }, - "UntagResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "S6" - } - } - } - }, - "UpdateCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterName" - ], - "members": { - "ClusterName": {}, - "Description": {}, - "PreferredMaintenanceWindow": {}, - "NotificationTopicArn": {}, - "NotificationTopicStatus": {}, - "ParameterGroupName": {}, - "SecurityGroupIds": { - "shape": "S5" - } - } - }, - "output": { - "type": "structure", - "members": { - "Cluster": { - "shape": "S9" - } - } - } - }, - "UpdateParameterGroup": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName", - "ParameterNameValues" - ], - "members": { - "ParameterGroupName": {}, - "ParameterNameValues": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ParameterGroup": { - "shape": "Sm" - } - } - } - }, - "UpdateSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "SubnetGroupName" - ], - "members": { - "SubnetGroupName": {}, - "Description": {}, - "SubnetIds": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "members": { - "SubnetGroup": { - "shape": "Sq" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "list", - "member": {} - }, - "S5": { - "type": "list", - "member": {} - }, - "S6": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S9": { - "type": "structure", - "members": { - "ClusterName": {}, - "Description": {}, - "ClusterArn": {}, - "TotalNodes": { - "type": "integer" - }, - "ActiveNodes": { - "type": "integer" - }, - "NodeType": {}, - "Status": {}, - "ClusterDiscoveryEndpoint": { - "shape": "Sb" - }, - "NodeIdsToRemove": { - "shape": "Sc" - }, - "Nodes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "NodeId": {}, - "Endpoint": { - "shape": "Sb" - }, - "NodeCreateTime": { - "type": "timestamp" - }, - "AvailabilityZone": {}, - "NodeStatus": {}, - "ParameterGroupStatus": {} - } - } - }, - "PreferredMaintenanceWindow": {}, - "NotificationConfiguration": { - "type": "structure", - "members": { - "TopicArn": {}, - "TopicStatus": {} - } - }, - "SubnetGroup": {}, - "SecurityGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SecurityGroupIdentifier": {}, - "Status": {} - } - } - }, - "IamRoleArn": {}, - "ParameterGroup": { - "type": "structure", - "members": { - "ParameterGroupName": {}, - "ParameterApplyStatus": {}, - "NodeIdsToReboot": { - "shape": "Sc" - } - } - } - } - }, - "Sb": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "Sc": { - "type": "list", - "member": {} - }, - "Sm": { - "type": "structure", - "members": { - "ParameterGroupName": {}, - "Description": {} - } - }, - "So": { - "type": "list", - "member": {} - }, - "Sq": { - "type": "structure", - "members": { - "SubnetGroupName": {}, - "Description": {}, - "VpcId": {}, - "Subnets": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": {} - } - } - } - } - }, - "S17": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterType": {}, - "ParameterValue": {}, - "NodeTypeSpecificValues": { - "type": "list", - "member": { - "type": "structure", - "members": { - "NodeType": {}, - "Value": {} - } - } - }, - "Description": {}, - "Source": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": {}, - "ChangeType": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/dax-2017-04-19.paginators.json b/src/node_modules/aws-sdk/apis/dax-2017-04-19.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/dax-2017-04-19.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.examples.json b/src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.examples.json deleted file mode 100644 index 4bfa22b..0000000 --- a/src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.examples.json +++ /dev/null @@ -1,1242 +0,0 @@ -{ - "version": "1.0", - "examples": { - "CreateDevicePool": [ - { - "input": { - "name": "MyDevicePool", - "description": "My Android devices", - "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", - "rules": [ - - ] - }, - "output": { - "devicePool": { - } - }, - "comments": { - "input": { - "name": "A device pool contains related devices, such as devices that run only on Android or that run only on iOS.", - "projectArn": "You can get the project ARN by using the list-projects CLI command." - }, - "output": { - } - }, - "description": "The following example creates a new device pool named MyDevicePool inside an existing project.", - "id": "createdevicepool-example-1470862210860", - "title": "To create a new device pool" - } - ], - "CreateProject": [ - { - "input": { - "name": "MyProject" - }, - "output": { - "project": { - "name": "MyProject", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE", - "created": "1472660939.152" - } - }, - "comments": { - "input": { - "name": "A project in Device Farm is a workspace that contains test runs. A run is a test of a single app against one or more devices." - }, - "output": { - } - }, - "description": "The following example creates a new project named MyProject.", - "id": "createproject-example-1470862210860", - "title": "To create a new project" - } - ], - "CreateRemoteAccessSession": [ - { - "input": { - "name": "MySession", - "configuration": { - "billingMethod": "METERED" - }, - "deviceArn": "arn:aws:devicefarm:us-west-2::device:123EXAMPLE", - "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" - }, - "output": { - "remoteAccessSession": { - } - }, - "comments": { - "input": { - "deviceArn": "You can get the device ARN by using the list-devices CLI command.", - "projectArn": "You can get the project ARN by using the list-projects CLI command." - }, - "output": { - } - }, - "description": "The following example creates a remote access session named MySession.", - "id": "to-create-a-remote-access-session-1470970668274", - "title": "To create a remote access session" - } - ], - "CreateUpload": [ - { - "input": { - "name": "MyAppiumPythonUpload", - "type": "APPIUM_PYTHON_TEST_PACKAGE", - "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" - }, - "output": { - "upload": { - "name": "MyAppiumPythonUpload", - "type": "APPIUM_PYTHON_TEST_PACKAGE", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:upload:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/b5340a65-3da7-4da6-a26e-12345EXAMPLE", - "created": "1472661404.186", - "status": "INITIALIZED", - "url": "https://prod-us-west-2-uploads.s3-us-west-2.amazonaws.com/arn%3Aaws%3Adevicefarm%3Aus-west-2%3A123456789101%3Aproject%3A5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE/uploads/arn%3Aaws%3Adevicefarm%3Aus-west-2%3A123456789101%3Aupload%3A5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/b5340a65-3da7-4da6-a26e-12345EXAMPLE/MyAppiumPythonUpload?AWSAccessKeyId=1234567891011EXAMPLE&Expires=1472747804&Signature=1234567891011EXAMPLE" - } - }, - "comments": { - "input": { - "projectArn": "You can get the project ARN by using the list-projects CLI command." - }, - "output": { - } - }, - "description": "The following example creates a new Appium Python test package upload inside an existing project.", - "id": "createupload-example-1470864711775", - "title": "To create a new test package upload" - } - ], - "DeleteDevicePool": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2::devicepool:123-456-EXAMPLE-GUID" - }, - "output": { - }, - "comments": { - "input": { - "arn": "You can get the device pool ARN by using the list-device-pools CLI command." - }, - "output": { - } - }, - "description": "The following example deletes a specific device pool.", - "id": "deletedevicepool-example-1470866975494", - "title": "To delete a device pool" - } - ], - "DeleteProject": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" - }, - "output": { - }, - "comments": { - "input": { - "arn": "You can get the project ARN by using the list-projects CLI command." - }, - "output": { - } - }, - "description": "The following example deletes a specific project.", - "id": "deleteproject-example-1470867374212", - "title": "To delete a project" - } - ], - "DeleteRemoteAccessSession": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456" - }, - "output": { - }, - "comments": { - "input": { - "arn": "You can get the remote access session ARN by using the list-remote-access-sessions CLI command." - }, - "output": { - } - }, - "description": "The following example deletes a specific remote access session.", - "id": "to-delete-a-specific-remote-access-session-1470971431677", - "title": "To delete a specific remote access session" - } - ], - "DeleteRun": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456" - }, - "output": { - }, - "comments": { - "input": { - "arn": "You can get the run ARN by using the list-runs CLI command." - }, - "output": { - } - }, - "description": "The following example deletes a specific test run.", - "id": "deleterun-example-1470867905129", - "title": "To delete a run" - } - ], - "DeleteUpload": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456" - }, - "output": { - }, - "comments": { - "input": { - "arn": "You can get the upload ARN by using the list-uploads CLI command." - }, - "output": { - } - }, - "description": "The following example deletes a specific upload.", - "id": "deleteupload-example-1470868363942", - "title": "To delete a specific upload" - } - ], - "GetAccountSettings": [ - { - "input": { - }, - "output": { - "accountSettings": { - "awsAccountNumber": "123456789101", - "unmeteredDevices": { - "ANDROID": 1, - "IOS": 2 - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns information about your Device Farm account settings.", - "id": "to-get-information-about-account-settings-1472567568189", - "title": "To get information about account settings" - } - ], - "GetDevice": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2::device:123EXAMPLE" - }, - "output": { - "device": { - "name": "LG G2 (Sprint)", - "arn": "arn:aws:devicefarm:us-west-2::device:A0E6E6E1059E45918208DF75B2B7EF6C", - "cpu": { - "architecture": "armeabi-v7a", - "clock": 2265.6, - "frequency": "MHz" - }, - "formFactor": "PHONE", - "heapSize": 256000000, - "image": "75B2B7EF6C12345EXAMPLE", - "manufacturer": "LG", - "memory": 16000000000, - "model": "G2 (Sprint)", - "os": "4.2.2", - "platform": "ANDROID", - "resolution": { - "height": 1920, - "width": 1080 - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns information about a specific device.", - "id": "getdevice-example-1470870602173", - "title": "To get information about a device" - } - ], - "GetDevicePool": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" - }, - "output": { - "devicePool": { - } - }, - "comments": { - "input": { - "arn": "You can obtain the project ARN by using the list-projects CLI command." - }, - "output": { - } - }, - "description": "The following example returns information about a specific device pool, given a project ARN.", - "id": "getdevicepool-example-1470870873136", - "title": "To get information about a device pool" - } - ], - "GetDevicePoolCompatibility": [ - { - "input": { - "appArn": "arn:aws:devicefarm:us-west-2::app:123-456-EXAMPLE-GUID", - "devicePoolArn": "arn:aws:devicefarm:us-west-2::devicepool:123-456-EXAMPLE-GUID", - "testType": "APPIUM_PYTHON" - }, - "output": { - "compatibleDevices": [ - - ], - "incompatibleDevices": [ - - ] - }, - "comments": { - "input": { - "devicePoolArn": "You can get the device pool ARN by using the list-device-pools CLI command." - }, - "output": { - } - }, - "description": "The following example returns information about the compatibility of a specific device pool, given its ARN.", - "id": "getdevicepoolcompatibility-example-1470925003466", - "title": "To get information about the compatibility of a device pool" - } - ], - "GetJob": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2::job:123-456-EXAMPLE-GUID" - }, - "output": { - "job": { - } - }, - "comments": { - "input": { - "arn": "You can get the job ARN by using the list-jobs CLI command." - }, - "output": { - } - }, - "description": "The following example returns information about a specific job.", - "id": "getjob-example-1470928294268", - "title": "To get information about a job" - } - ], - "GetOfferingStatus": [ - { - "input": { - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE=" - }, - "output": { - "current": { - "D68B3C05-1BA6-4360-BC69-12345EXAMPLE": { - "offering": { - "type": "RECURRING", - "description": "Android Remote Access Unmetered Device Slot", - "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE", - "platform": "ANDROID" - }, - "quantity": 1 - } - }, - "nextPeriod": { - "D68B3C05-1BA6-4360-BC69-12345EXAMPLE": { - "effectiveOn": "1472688000", - "offering": { - "type": "RECURRING", - "description": "Android Remote Access Unmetered Device Slot", - "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE", - "platform": "ANDROID" - }, - "quantity": 1 - } - } - }, - "comments": { - "input": { - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about Device Farm offerings available to your account.", - "id": "to-get-status-information-about-device-offerings-1472568124402", - "title": "To get status information about device offerings" - } - ], - "GetProject": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE" - }, - "output": { - "project": { - "name": "My Project", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE", - "created": "1472660939.152" - } - }, - "comments": { - "input": { - "arn": "You can get the project ARN by using the list-projects CLI command." - }, - "output": { - } - }, - "description": "The following example gets information about a specific project.", - "id": "to-get-a-project-1470975038449", - "title": "To get information about a project" - } - ], - "GetRemoteAccessSession": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456" - }, - "output": { - "remoteAccessSession": { - } - }, - "comments": { - "input": { - "arn": "You can get the remote access session ARN by using the list-remote-access-sessions CLI command." - }, - "output": { - } - }, - "description": "The following example gets a specific remote access session.", - "id": "to-get-a-remote-access-session-1471014119414", - "title": "To get a remote access session" - } - ], - "GetRun": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/0fcac17b-6122-44d7-ae5a-12345EXAMPLE" - }, - "output": { - "run": { - "name": "My Test Run", - "type": "BUILTIN_EXPLORER", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/0fcac17b-6122-44d7-ae5a-12345EXAMPLE", - "billingMethod": "METERED", - "completedJobs": 0, - "counters": { - "errored": 0, - "failed": 0, - "passed": 0, - "skipped": 0, - "stopped": 0, - "total": 0, - "warned": 0 - }, - "created": "1472667509.852", - "deviceMinutes": { - "metered": 0.0, - "total": 0.0, - "unmetered": 0.0 - }, - "platform": "ANDROID", - "result": "PENDING", - "status": "RUNNING", - "totalJobs": 3 - } - }, - "comments": { - "input": { - "arn": "You can get the run ARN by using the list-runs CLI command." - }, - "output": { - } - }, - "description": "The following example gets information about a specific test run.", - "id": "to-get-a-test-run-1471015895657", - "title": "To get information about a test run" - } - ], - "GetSuite": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:suite:EXAMPLE-GUID-123-456" - }, - "output": { - "suite": { - } - }, - "comments": { - "input": { - "arn": "You can get the suite ARN by using the list-suites CLI command." - }, - "output": { - } - }, - "description": "The following example gets information about a specific test suite.", - "id": "to-get-information-about-a-test-suite-1471016525008", - "title": "To get information about a test suite" - } - ], - "GetTest": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:test:EXAMPLE-GUID-123-456" - }, - "output": { - "test": { - } - }, - "comments": { - "input": { - "arn": "You can get the test ARN by using the list-tests CLI command." - }, - "output": { - } - }, - "description": "The following example gets information about a specific test.", - "id": "to-get-information-about-a-specific-test-1471025744238", - "title": "To get information about a specific test" - } - ], - "GetUpload": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456" - }, - "output": { - "upload": { - } - }, - "comments": { - "input": { - "arn": "You can get the test ARN by using the list-uploads CLI command." - }, - "output": { - } - }, - "description": "The following example gets information about a specific upload.", - "id": "to-get-information-about-a-specific-upload-1471025996221", - "title": "To get information about a specific upload" - } - ], - "InstallToRemoteAccessSession": [ - { - "input": { - "appArn": "arn:aws:devicefarm:us-west-2:123456789101:app:EXAMPLE-GUID-123-456", - "remoteAccessSessionArn": "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456" - }, - "output": { - "appUpload": { - } - }, - "comments": { - "input": { - "remoteAccessSessionArn": "You can get the remote access session ARN by using the list-remote-access-sessions CLI command." - }, - "output": { - } - }, - "description": "The following example installs a specific app to a device in a specific remote access session.", - "id": "to-install-to-a-remote-access-session-1471634453818", - "title": "To install to a remote access session" - } - ], - "ListArtifacts": [ - { - "input": { - "type": "SCREENSHOT", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456" - }, - "comments": { - "input": { - "arn": "Can also be used to list artifacts for a Job, Suite, or Test ARN." - }, - "output": { - } - }, - "description": "The following example lists screenshot artifacts for a specific run.", - "id": "to-list-artifacts-for-a-resource-1471635409527", - "title": "To list artifacts for a resource" - } - ], - "ListDevicePools": [ - { - "input": { - "type": "PRIVATE", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" - }, - "output": { - "devicePools": [ - { - "name": "Top Devices", - "arn": "arn:aws:devicefarm:us-west-2::devicepool:082d10e5-d7d7-48a5-ba5c-12345EXAMPLE", - "description": "Top devices", - "rules": [ - { - "value": "[\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\"]", - "attribute": "ARN", - "operator": "IN" - } - ] - }, - { - "name": "My Android Device Pool", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:devicepool:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/bf96e75a-28f6-4e61-b6a7-12345EXAMPLE", - "description": "Samsung Galaxy Android devices", - "rules": [ - { - "value": "[\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\"]", - "attribute": "ARN", - "operator": "IN" - } - ] - } - ] - }, - "comments": { - "input": { - "arn": "You can get the project ARN by using the list-projects CLI command." - }, - "output": { - } - }, - "description": "The following example returns information about the private device pools in a specific project.", - "id": "to-get-information-about-device-pools-1471635745170", - "title": "To get information about device pools" - } - ], - "ListDevices": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" - }, - "output": { - }, - "comments": { - "input": { - "arn": "You can get the project ARN by using the list-projects CLI command." - }, - "output": { - } - }, - "description": "The following example returns information about the available devices in a specific project.", - "id": "to-get-information-about-devices-1471641699344", - "title": "To get information about devices" - } - ], - "ListJobs": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" - }, - "comments": { - "input": { - "arn": "You can get the project ARN by using the list-jobs CLI command." - }, - "output": { - } - }, - "description": "The following example returns information about jobs in a specific project.", - "id": "to-get-information-about-jobs-1471642228071", - "title": "To get information about jobs" - } - ], - "ListOfferingTransactions": [ - { - "input": { - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE=" - }, - "output": { - "offeringTransactions": [ - { - "cost": { - "amount": 0, - "currencyCode": "USD" - }, - "createdOn": "1470021420", - "offeringStatus": { - "type": "RENEW", - "effectiveOn": "1472688000", - "offering": { - "type": "RECURRING", - "description": "Android Remote Access Unmetered Device Slot", - "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE", - "platform": "ANDROID" - }, - "quantity": 0 - }, - "transactionId": "03728003-d1ea-4851-abd6-12345EXAMPLE" - }, - { - "cost": { - "amount": 250, - "currencyCode": "USD" - }, - "createdOn": "1470021420", - "offeringStatus": { - "type": "PURCHASE", - "effectiveOn": "1470021420", - "offering": { - "type": "RECURRING", - "description": "Android Remote Access Unmetered Device Slot", - "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE", - "platform": "ANDROID" - }, - "quantity": 1 - }, - "transactionId": "56820b6e-06bd-473a-8ff8-12345EXAMPLE" - }, - { - "cost": { - "amount": 175, - "currencyCode": "USD" - }, - "createdOn": "1465538520", - "offeringStatus": { - "type": "PURCHASE", - "effectiveOn": "1465538520", - "offering": { - "type": "RECURRING", - "description": "Android Unmetered Device Slot", - "id": "8980F81C-00D7-469D-8EC6-12345EXAMPLE", - "platform": "ANDROID" - }, - "quantity": 1 - }, - "transactionId": "953ae2c6-d760-4a04-9597-12345EXAMPLE" - }, - { - "cost": { - "amount": 8.07, - "currencyCode": "USD" - }, - "createdOn": "1459344300", - "offeringStatus": { - "type": "PURCHASE", - "effectiveOn": "1459344300", - "offering": { - "type": "RECURRING", - "description": "iOS Unmetered Device Slot", - "id": "A53D4D73-A6F6-4B82-A0B0-12345EXAMPLE", - "platform": "IOS" - }, - "quantity": 1 - }, - "transactionId": "2baf9021-ae3e-47f5-ab52-12345EXAMPLE" - } - ] - }, - "comments": { - "input": { - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about Device Farm offering transactions.", - "id": "to-get-information-about-device-offering-transactions-1472561712315", - "title": "To get information about device offering transactions" - } - ], - "ListOfferings": [ - { - "input": { - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE=" - }, - "output": { - "offerings": [ - { - "type": "RECURRING", - "description": "iOS Unmetered Device Slot", - "id": "A53D4D73-A6F6-4B82-A0B0-12345EXAMPLE", - "platform": "IOS", - "recurringCharges": [ - { - "cost": { - "amount": 250, - "currencyCode": "USD" - }, - "frequency": "MONTHLY" - } - ] - }, - { - "type": "RECURRING", - "description": "Android Unmetered Device Slot", - "id": "8980F81C-00D7-469D-8EC6-12345EXAMPLE", - "platform": "ANDROID", - "recurringCharges": [ - { - "cost": { - "amount": 250, - "currencyCode": "USD" - }, - "frequency": "MONTHLY" - } - ] - }, - { - "type": "RECURRING", - "description": "Android Remote Access Unmetered Device Slot", - "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE", - "platform": "ANDROID", - "recurringCharges": [ - { - "cost": { - "amount": 250, - "currencyCode": "USD" - }, - "frequency": "MONTHLY" - } - ] - }, - { - "type": "RECURRING", - "description": "iOS Remote Access Unmetered Device Slot", - "id": "552B4DAD-A6C9-45C4-94FB-12345EXAMPLE", - "platform": "IOS", - "recurringCharges": [ - { - "cost": { - "amount": 250, - "currencyCode": "USD" - }, - "frequency": "MONTHLY" - } - ] - } - ] - }, - "comments": { - "input": { - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about available device offerings.", - "id": "to-get-information-about-device-offerings-1472562810999", - "title": "To get information about device offerings" - } - ], - "ListProjects": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:7ad300ed-8183-41a7-bf94-12345EXAMPLE", - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" - }, - "output": { - "projects": [ - { - "name": "My Test Project", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:7ad300ed-8183-41a7-bf94-12345EXAMPLE", - "created": "1453163262.105" - }, - { - "name": "Hello World", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:d6b087d9-56db-4e44-b9ec-12345EXAMPLE", - "created": "1470350112.439" - } - ] - }, - "comments": { - "input": { - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about the specified project in Device Farm.", - "id": "to-get-information-about-a-device-farm-project-1472564014388", - "title": "To get information about a Device Farm project" - } - ], - "ListRemoteAccessSessions": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456", - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE=" - }, - "output": { - "remoteAccessSessions": [ - - ] - }, - "comments": { - "input": { - "arn": "You can get the Amazon Resource Name (ARN) of the session by using the list-sessions CLI command.", - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about a specific Device Farm remote access session.", - "id": "to-get-information-about-a-remote-access-session-1472581144803", - "title": "To get information about a remote access session" - } - ], - "ListRuns": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/0fcac17b-6122-44d7-ae5a-12345EXAMPLE", - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" - }, - "output": { - "runs": [ - { - "name": "My Test Run", - "type": "BUILTIN_EXPLORER", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/0fcac17b-6122-44d7-ae5a-12345EXAMPLE", - "billingMethod": "METERED", - "completedJobs": 0, - "counters": { - "errored": 0, - "failed": 0, - "passed": 0, - "skipped": 0, - "stopped": 0, - "total": 0, - "warned": 0 - }, - "created": "1472667509.852", - "deviceMinutes": { - "metered": 0.0, - "total": 0.0, - "unmetered": 0.0 - }, - "platform": "ANDROID", - "result": "PENDING", - "status": "RUNNING", - "totalJobs": 3 - } - ] - }, - "comments": { - "input": { - "arn": "You can get the Amazon Resource Name (ARN) of the run by using the list-runs CLI command.", - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about a specific test run.", - "id": "to-get-information-about-test-runs-1472582711069", - "title": "To get information about a test run" - } - ], - "ListSamples": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" - }, - "output": { - "samples": [ - - ] - }, - "comments": { - "input": { - "arn": "You can get the Amazon Resource Name (ARN) of the project by using the list-projects CLI command.", - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about samples, given a specific Device Farm project.", - "id": "to-get-information-about-samples-1472582847534", - "title": "To get information about samples" - } - ], - "ListSuites": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" - }, - "output": { - "suites": [ - - ] - }, - "comments": { - "input": { - "arn": "You can get the Amazon Resource Name (ARN) of the project by using the list-projects CLI command.", - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about suites, given a specific Device Farm project.", - "id": "to-get-information-about-suites-1472583038218", - "title": "To get information about suites" - } - ], - "ListTests": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" - }, - "output": { - "tests": [ - - ] - }, - "comments": { - "input": { - "arn": "You can get the Amazon Resource Name (ARN) of the project by using the list-projects CLI command.", - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about tests, given a specific Device Farm project.", - "id": "to-get-information-about-tests-1472617372212", - "title": "To get information about tests" - } - ], - "ListUniqueProblems": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" - }, - "output": { - "uniqueProblems": { - } - }, - "comments": { - "input": { - "arn": "You can get the Amazon Resource Name (ARN) of the project by using the list-projects CLI command.", - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about unique problems, given a specific Device Farm project.", - "id": "to-get-information-about-unique-problems-1472617781008", - "title": "To get information about unique problems" - } - ], - "ListUploads": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", - "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" - }, - "output": { - "uploads": [ - - ] - }, - "comments": { - "input": { - "arn": "You can get the Amazon Resource Name (ARN) of the project by using the list-projects CLI command.", - "nextToken": "A dynamically generated value, used for paginating results." - }, - "output": { - } - }, - "description": "The following example returns information about uploads, given a specific Device Farm project.", - "id": "to-get-information-about-uploads-1472617943090", - "title": "To get information about uploads" - } - ], - "PurchaseOffering": [ - { - "input": { - "offeringId": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE", - "quantity": 1 - }, - "output": { - "offeringTransaction": { - "cost": { - "amount": 8.07, - "currencyCode": "USD" - }, - "createdOn": "1472648340", - "offeringStatus": { - "type": "PURCHASE", - "effectiveOn": "1472648340", - "offering": { - "type": "RECURRING", - "description": "Android Remote Access Unmetered Device Slot", - "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE", - "platform": "ANDROID" - }, - "quantity": 1 - }, - "transactionId": "d30614ed-1b03-404c-9893-12345EXAMPLE" - } - }, - "comments": { - "input": { - "offeringId": "You can get the offering ID by using the list-offerings CLI command." - }, - "output": { - } - }, - "description": "The following example purchases a specific device slot offering.", - "id": "to-purchase-a-device-slot-offering-1472648146343", - "title": "To purchase a device slot offering" - } - ], - "RenewOffering": [ - { - "input": { - "offeringId": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE", - "quantity": 1 - }, - "output": { - "offeringTransaction": { - "cost": { - "amount": 250, - "currencyCode": "USD" - }, - "createdOn": "1472648880", - "offeringStatus": { - "type": "RENEW", - "effectiveOn": "1472688000", - "offering": { - "type": "RECURRING", - "description": "Android Remote Access Unmetered Device Slot", - "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE", - "platform": "ANDROID" - }, - "quantity": 1 - }, - "transactionId": "e90f1405-8c35-4561-be43-12345EXAMPLE" - } - }, - "comments": { - "input": { - "offeringId": "You can get the offering ID by using the list-offerings CLI command." - }, - "output": { - } - }, - "description": "The following example renews a specific device slot offering.", - "id": "to-renew-a-device-slot-offering-1472648899785", - "title": "To renew a device slot offering" - } - ], - "ScheduleRun": [ - { - "input": { - "name": "MyRun", - "devicePoolArn": "arn:aws:devicefarm:us-west-2:123456789101:pool:EXAMPLE-GUID-123-456", - "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", - "test": { - "type": "APPIUM_JAVA_JUNIT", - "testPackageArn": "arn:aws:devicefarm:us-west-2:123456789101:test:EXAMPLE-GUID-123-456" - } - }, - "output": { - "run": { - } - }, - "comments": { - "input": { - "devicePoolArn": "You can get the Amazon Resource Name (ARN) of the device pool by using the list-pools CLI command.", - "projectArn": "You can get the Amazon Resource Name (ARN) of the project by using the list-projects CLI command.", - "testPackageArn": "You can get the Amazon Resource Name (ARN) of the test package by using the list-tests CLI command." - }, - "output": { - } - }, - "description": "The following example schedules a test run named MyRun.", - "id": "to-schedule-a-test-run-1472652429636", - "title": "To schedule a test run" - } - ], - "StopRun": [ - { - "input": { - "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456" - }, - "output": { - "run": { - } - }, - "comments": { - "input": { - "arn": "You can get the Amazon Resource Name (ARN) of the test run by using the list-runs CLI command." - }, - "output": { - } - }, - "description": "The following example stops a specific test run.", - "id": "to-stop-a-test-run-1472653770340", - "title": "To stop a test run" - } - ], - "UpdateDevicePool": [ - { - "input": { - "name": "NewName", - "arn": "arn:aws:devicefarm:us-west-2::devicepool:082d10e5-d7d7-48a5-ba5c-12345EXAMPLE", - "description": "NewDescription", - "rules": [ - { - "value": "True", - "attribute": "REMOTE_ACCESS_ENABLED", - "operator": "EQUALS" - } - ] - }, - "output": { - "devicePool": { - } - }, - "comments": { - "input": { - "arn": "You can get the Amazon Resource Name (ARN) of the device pool by using the list-pools CLI command." - }, - "output": { - "devicePool": "Note: you cannot update curated device pools." - } - }, - "description": "The following example updates the specified device pool with a new name and description. It also enables remote access of devices in the device pool.", - "id": "to-update-a-device-pool-1472653887677", - "title": "To update a device pool" - } - ], - "UpdateProject": [ - { - "input": { - "name": "NewName", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:8f75187d-101e-4625-accc-12345EXAMPLE" - }, - "output": { - "project": { - "name": "NewName", - "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:8f75187d-101e-4625-accc-12345EXAMPLE", - "created": "1448400709.927" - } - }, - "comments": { - "input": { - "arn": "You can get the Amazon Resource Name (ARN) of the project by using the list-projects CLI command." - }, - "output": { - } - }, - "description": "The following example updates the specified project with a new name.", - "id": "to-update-a-device-pool-1472653887677", - "title": "To update a device pool" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json b/src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json deleted file mode 100644 index 410ddb3..0000000 --- a/src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json +++ /dev/null @@ -1,1672 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-06-23", - "endpointPrefix": "devicefarm", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Device Farm", - "signatureVersion": "v4", - "targetPrefix": "DeviceFarm_20150623", - "uid": "devicefarm-2015-06-23" - }, - "operations": { - "CreateDevicePool": { - "input": { - "type": "structure", - "required": [ - "projectArn", - "name", - "rules" - ], - "members": { - "projectArn": {}, - "name": {}, - "description": {}, - "rules": { - "shape": "S5" - } - } - }, - "output": { - "type": "structure", - "members": { - "devicePool": { - "shape": "Sb" - } - } - } - }, - "CreateNetworkProfile": { - "input": { - "type": "structure", - "required": [ - "projectArn", - "name" - ], - "members": { - "projectArn": {}, - "name": {}, - "description": {}, - "type": {}, - "uplinkBandwidthBits": { - "type": "long" - }, - "downlinkBandwidthBits": { - "type": "long" - }, - "uplinkDelayMs": { - "type": "long" - }, - "downlinkDelayMs": { - "type": "long" - }, - "uplinkJitterMs": { - "type": "long" - }, - "downlinkJitterMs": { - "type": "long" - }, - "uplinkLossPercent": { - "type": "integer" - }, - "downlinkLossPercent": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "networkProfile": { - "shape": "Si" - } - } - } - }, - "CreateProject": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "defaultJobTimeoutMinutes": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "project": { - "shape": "Sm" - } - } - } - }, - "CreateRemoteAccessSession": { - "input": { - "type": "structure", - "required": [ - "projectArn", - "deviceArn" - ], - "members": { - "projectArn": {}, - "deviceArn": {}, - "name": {}, - "configuration": { - "type": "structure", - "members": { - "billingMethod": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "remoteAccessSession": { - "shape": "Ss" - } - } - } - }, - "CreateUpload": { - "input": { - "type": "structure", - "required": [ - "projectArn", - "name", - "type" - ], - "members": { - "projectArn": {}, - "name": {}, - "type": {}, - "contentType": {} - } - }, - "output": { - "type": "structure", - "members": { - "upload": { - "shape": "S18" - } - } - } - }, - "DeleteDevicePool": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteNetworkProfile": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteProject": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteRemoteAccessSession": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteRun": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteUpload": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "GetAccountSettings": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "accountSettings": { - "type": "structure", - "members": { - "awsAccountNumber": {}, - "unmeteredDevices": { - "shape": "S1s" - }, - "unmeteredRemoteAccessDevices": { - "shape": "S1s" - }, - "maxJobTimeoutMinutes": { - "type": "integer" - }, - "trialMinutes": { - "type": "structure", - "members": { - "total": { - "type": "double" - }, - "remaining": { - "type": "double" - } - } - }, - "maxSlots": { - "type": "map", - "key": {}, - "value": { - "type": "integer" - } - }, - "defaultJobTimeoutMinutes": { - "type": "integer" - } - } - } - } - } - }, - "GetDevice": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "device": { - "shape": "Sv" - } - } - } - }, - "GetDevicePool": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "devicePool": { - "shape": "Sb" - } - } - } - }, - "GetDevicePoolCompatibility": { - "input": { - "type": "structure", - "required": [ - "devicePoolArn" - ], - "members": { - "devicePoolArn": {}, - "appArn": {}, - "testType": {}, - "test": { - "shape": "S21" - } - } - }, - "output": { - "type": "structure", - "members": { - "compatibleDevices": { - "shape": "S25" - }, - "incompatibleDevices": { - "shape": "S25" - } - } - } - }, - "GetJob": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "job": { - "shape": "S2b" - } - } - } - }, - "GetNetworkProfile": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "networkProfile": { - "shape": "Si" - } - } - } - }, - "GetOfferingStatus": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "current": { - "shape": "S2i" - }, - "nextPeriod": { - "shape": "S2i" - }, - "nextToken": {} - } - } - }, - "GetProject": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "project": { - "shape": "Sm" - } - } - } - }, - "GetRemoteAccessSession": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "remoteAccessSession": { - "shape": "Ss" - } - } - } - }, - "GetRun": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "run": { - "shape": "S2z" - } - } - } - }, - "GetSuite": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "suite": { - "shape": "S32" - } - } - } - }, - "GetTest": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "test": { - "shape": "S35" - } - } - } - }, - "GetUpload": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "upload": { - "shape": "S18" - } - } - } - }, - "InstallToRemoteAccessSession": { - "input": { - "type": "structure", - "required": [ - "remoteAccessSessionArn", - "appArn" - ], - "members": { - "remoteAccessSessionArn": {}, - "appArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "appUpload": { - "shape": "S18" - } - } - } - }, - "ListArtifacts": { - "input": { - "type": "structure", - "required": [ - "arn", - "type" - ], - "members": { - "arn": {}, - "type": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "artifacts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "type": {}, - "extension": {}, - "url": {} - } - } - }, - "nextToken": {} - } - } - }, - "ListDevicePools": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "type": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "devicePools": { - "type": "list", - "member": { - "shape": "Sb" - } - }, - "nextToken": {} - } - } - }, - "ListDevices": { - "input": { - "type": "structure", - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "devices": { - "type": "list", - "member": { - "shape": "Sv" - } - }, - "nextToken": {} - } - } - }, - "ListJobs": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "jobs": { - "type": "list", - "member": { - "shape": "S2b" - } - }, - "nextToken": {} - } - } - }, - "ListNetworkProfiles": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "type": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "networkProfiles": { - "type": "list", - "member": { - "shape": "Si" - } - }, - "nextToken": {} - } - } - }, - "ListOfferingPromotions": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "offeringPromotions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "description": {} - } - } - }, - "nextToken": {} - } - } - }, - "ListOfferingTransactions": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "offeringTransactions": { - "type": "list", - "member": { - "shape": "S40" - } - }, - "nextToken": {} - } - } - }, - "ListOfferings": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "offerings": { - "type": "list", - "member": { - "shape": "S2m" - } - }, - "nextToken": {} - } - } - }, - "ListProjects": { - "input": { - "type": "structure", - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "projects": { - "type": "list", - "member": { - "shape": "Sm" - } - }, - "nextToken": {} - } - } - }, - "ListRemoteAccessSessions": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "remoteAccessSessions": { - "type": "list", - "member": { - "shape": "Ss" - } - }, - "nextToken": {} - } - } - }, - "ListRuns": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "runs": { - "type": "list", - "member": { - "shape": "S2z" - } - }, - "nextToken": {} - } - } - }, - "ListSamples": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "samples": { - "type": "list", - "member": { - "type": "structure", - "members": { - "arn": {}, - "type": {}, - "url": {} - } - } - }, - "nextToken": {} - } - } - }, - "ListSuites": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "suites": { - "type": "list", - "member": { - "shape": "S32" - } - }, - "nextToken": {} - } - } - }, - "ListTests": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "tests": { - "type": "list", - "member": { - "shape": "S35" - } - }, - "nextToken": {} - } - } - }, - "ListUniqueProblems": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "uniqueProblems": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "structure", - "members": { - "message": {}, - "problems": { - "type": "list", - "member": { - "type": "structure", - "members": { - "run": { - "shape": "S4w" - }, - "job": { - "shape": "S4w" - }, - "suite": { - "shape": "S4w" - }, - "test": { - "shape": "S4w" - }, - "device": { - "shape": "Sv" - }, - "result": {}, - "message": {} - } - } - } - } - } - } - }, - "nextToken": {} - } - } - }, - "ListUploads": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "uploads": { - "type": "list", - "member": { - "shape": "S18" - } - }, - "nextToken": {} - } - } - }, - "PurchaseOffering": { - "input": { - "type": "structure", - "members": { - "offeringId": {}, - "quantity": { - "type": "integer" - }, - "offeringPromotionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "offeringTransaction": { - "shape": "S40" - } - } - } - }, - "RenewOffering": { - "input": { - "type": "structure", - "members": { - "offeringId": {}, - "quantity": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "offeringTransaction": { - "shape": "S40" - } - } - } - }, - "ScheduleRun": { - "input": { - "type": "structure", - "required": [ - "projectArn", - "devicePoolArn", - "test" - ], - "members": { - "projectArn": {}, - "appArn": {}, - "devicePoolArn": {}, - "name": {}, - "test": { - "shape": "S21" - }, - "configuration": { - "type": "structure", - "members": { - "extraDataPackageArn": {}, - "networkProfileArn": {}, - "locale": {}, - "location": { - "type": "structure", - "required": [ - "latitude", - "longitude" - ], - "members": { - "latitude": { - "type": "double" - }, - "longitude": { - "type": "double" - } - } - }, - "radios": { - "type": "structure", - "members": { - "wifi": { - "type": "boolean" - }, - "bluetooth": { - "type": "boolean" - }, - "nfc": { - "type": "boolean" - }, - "gps": { - "type": "boolean" - } - } - }, - "auxiliaryApps": { - "type": "list", - "member": {} - }, - "billingMethod": {} - } - }, - "executionConfiguration": { - "type": "structure", - "members": { - "jobTimeoutMinutes": { - "type": "integer" - }, - "accountsCleanup": { - "type": "boolean" - }, - "appPackagesCleanup": { - "type": "boolean" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "run": { - "shape": "S2z" - } - } - } - }, - "StopRemoteAccessSession": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "remoteAccessSession": { - "shape": "Ss" - } - } - } - }, - "StopRun": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {} - } - }, - "output": { - "type": "structure", - "members": { - "run": { - "shape": "S2z" - } - } - } - }, - "UpdateDevicePool": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "name": {}, - "description": {}, - "rules": { - "shape": "S5" - } - } - }, - "output": { - "type": "structure", - "members": { - "devicePool": { - "shape": "Sb" - } - } - } - }, - "UpdateNetworkProfile": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "name": {}, - "description": {}, - "type": {}, - "uplinkBandwidthBits": { - "type": "long" - }, - "downlinkBandwidthBits": { - "type": "long" - }, - "uplinkDelayMs": { - "type": "long" - }, - "downlinkDelayMs": { - "type": "long" - }, - "uplinkJitterMs": { - "type": "long" - }, - "downlinkJitterMs": { - "type": "long" - }, - "uplinkLossPercent": { - "type": "integer" - }, - "downlinkLossPercent": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "networkProfile": { - "shape": "Si" - } - } - } - }, - "UpdateProject": { - "input": { - "type": "structure", - "required": [ - "arn" - ], - "members": { - "arn": {}, - "name": {}, - "defaultJobTimeoutMinutes": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "project": { - "shape": "Sm" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "list", - "member": { - "type": "structure", - "members": { - "attribute": {}, - "operator": {}, - "value": {} - } - } - }, - "Sb": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "description": {}, - "type": {}, - "rules": { - "shape": "S5" - } - } - }, - "Si": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "description": {}, - "type": {}, - "uplinkBandwidthBits": { - "type": "long" - }, - "downlinkBandwidthBits": { - "type": "long" - }, - "uplinkDelayMs": { - "type": "long" - }, - "downlinkDelayMs": { - "type": "long" - }, - "uplinkJitterMs": { - "type": "long" - }, - "downlinkJitterMs": { - "type": "long" - }, - "uplinkLossPercent": { - "type": "integer" - }, - "downlinkLossPercent": { - "type": "integer" - } - } - }, - "Sm": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "defaultJobTimeoutMinutes": { - "type": "integer" - }, - "created": { - "type": "timestamp" - } - } - }, - "Ss": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "created": { - "type": "timestamp" - }, - "status": {}, - "result": {}, - "message": {}, - "started": { - "type": "timestamp" - }, - "stopped": { - "type": "timestamp" - }, - "device": { - "shape": "Sv" - }, - "billingMethod": {}, - "deviceMinutes": { - "shape": "S13" - }, - "endpoint": {} - } - }, - "Sv": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "manufacturer": {}, - "model": {}, - "formFactor": {}, - "platform": {}, - "os": {}, - "cpu": { - "type": "structure", - "members": { - "frequency": {}, - "architecture": {}, - "clock": { - "type": "double" - } - } - }, - "resolution": { - "type": "structure", - "members": { - "width": { - "type": "integer" - }, - "height": { - "type": "integer" - } - } - }, - "heapSize": { - "type": "long" - }, - "memory": { - "type": "long" - }, - "image": {}, - "carrier": {}, - "radio": {}, - "remoteAccessEnabled": { - "type": "boolean" - }, - "fleetType": {}, - "fleetName": {} - } - }, - "S13": { - "type": "structure", - "members": { - "total": { - "type": "double" - }, - "metered": { - "type": "double" - }, - "unmetered": { - "type": "double" - } - } - }, - "S18": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "created": { - "type": "timestamp" - }, - "type": {}, - "status": {}, - "url": {}, - "metadata": {}, - "contentType": {}, - "message": {} - } - }, - "S1s": { - "type": "map", - "key": {}, - "value": { - "type": "integer" - } - }, - "S21": { - "type": "structure", - "required": [ - "type" - ], - "members": { - "type": {}, - "testPackageArn": {}, - "filter": {}, - "parameters": { - "type": "map", - "key": {}, - "value": {} - } - } - }, - "S25": { - "type": "list", - "member": { - "type": "structure", - "members": { - "device": { - "shape": "Sv" - }, - "compatible": { - "type": "boolean" - }, - "incompatibilityMessages": { - "type": "list", - "member": { - "type": "structure", - "members": { - "message": {}, - "type": {} - } - } - } - } - } - }, - "S2b": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "type": {}, - "created": { - "type": "timestamp" - }, - "status": {}, - "result": {}, - "started": { - "type": "timestamp" - }, - "stopped": { - "type": "timestamp" - }, - "counters": { - "shape": "S2c" - }, - "message": {}, - "device": { - "shape": "Sv" - }, - "deviceMinutes": { - "shape": "S13" - } - } - }, - "S2c": { - "type": "structure", - "members": { - "total": { - "type": "integer" - }, - "passed": { - "type": "integer" - }, - "failed": { - "type": "integer" - }, - "warned": { - "type": "integer" - }, - "errored": { - "type": "integer" - }, - "stopped": { - "type": "integer" - }, - "skipped": { - "type": "integer" - } - } - }, - "S2i": { - "type": "map", - "key": {}, - "value": { - "shape": "S2k" - } - }, - "S2k": { - "type": "structure", - "members": { - "type": {}, - "offering": { - "shape": "S2m" - }, - "quantity": { - "type": "integer" - }, - "effectiveOn": { - "type": "timestamp" - } - } - }, - "S2m": { - "type": "structure", - "members": { - "id": {}, - "description": {}, - "type": {}, - "platform": {}, - "recurringCharges": { - "type": "list", - "member": { - "type": "structure", - "members": { - "cost": { - "shape": "S2q" - }, - "frequency": {} - } - } - } - } - }, - "S2q": { - "type": "structure", - "members": { - "amount": { - "type": "double" - }, - "currencyCode": {} - } - }, - "S2z": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "type": {}, - "platform": {}, - "created": { - "type": "timestamp" - }, - "status": {}, - "result": {}, - "started": { - "type": "timestamp" - }, - "stopped": { - "type": "timestamp" - }, - "counters": { - "shape": "S2c" - }, - "message": {}, - "totalJobs": { - "type": "integer" - }, - "completedJobs": { - "type": "integer" - }, - "billingMethod": {}, - "deviceMinutes": { - "shape": "S13" - }, - "networkProfile": { - "shape": "Si" - } - } - }, - "S32": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "type": {}, - "created": { - "type": "timestamp" - }, - "status": {}, - "result": {}, - "started": { - "type": "timestamp" - }, - "stopped": { - "type": "timestamp" - }, - "counters": { - "shape": "S2c" - }, - "message": {}, - "deviceMinutes": { - "shape": "S13" - } - } - }, - "S35": { - "type": "structure", - "members": { - "arn": {}, - "name": {}, - "type": {}, - "created": { - "type": "timestamp" - }, - "status": {}, - "result": {}, - "started": { - "type": "timestamp" - }, - "stopped": { - "type": "timestamp" - }, - "counters": { - "shape": "S2c" - }, - "message": {}, - "deviceMinutes": { - "shape": "S13" - } - } - }, - "S40": { - "type": "structure", - "members": { - "offeringStatus": { - "shape": "S2k" - }, - "transactionId": {}, - "offeringPromotionId": {}, - "createdOn": { - "type": "timestamp" - }, - "cost": { - "shape": "S2q" - } - } - }, - "S4w": { - "type": "structure", - "members": { - "arn": {}, - "name": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json b/src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json deleted file mode 100644 index 7f9e88c..0000000 --- a/src/node_modules/aws-sdk/apis/devicefarm-2015-06-23.paginators.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "pagination": { - "GetOfferingStatus": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": [ - "current", - "nextPeriod" - ] - }, - "ListArtifacts": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "artifacts" - }, - "ListDevicePools": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "devicePools" - }, - "ListDevices": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "devices" - }, - "ListJobs": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "jobs" - }, - "ListOfferingTransactions": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "offeringTransactions" - }, - "ListOfferings": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "offerings" - }, - "ListProjects": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "projects" - }, - "ListRuns": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "runs" - }, - "ListSamples": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "samples" - }, - "ListSuites": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "suites" - }, - "ListTests": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "tests" - }, - "ListUniqueProblems": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "uniqueProblems" - }, - "ListUploads": { - "input_token": "nextToken", - "output_token": "nextToken", - "result_key": "uploads" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/directconnect-2012-10-25.examples.json b/src/node_modules/aws-sdk/apis/directconnect-2012-10-25.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/directconnect-2012-10-25.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json b/src/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json deleted file mode 100644 index 85004ff..0000000 --- a/src/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json +++ /dev/null @@ -1,941 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-10-25", - "endpointPrefix": "directconnect", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Direct Connect", - "signatureVersion": "v4", - "targetPrefix": "OvertureService", - "uid": "directconnect-2012-10-25" - }, - "operations": { - "AllocateConnectionOnInterconnect": { - "input": { - "type": "structure", - "required": [ - "bandwidth", - "connectionName", - "ownerAccount", - "interconnectId", - "vlan" - ], - "members": { - "bandwidth": {}, - "connectionName": {}, - "ownerAccount": {}, - "interconnectId": {}, - "vlan": { - "type": "integer" - } - } - }, - "output": { - "shape": "S7" - }, - "deprecated": true - }, - "AllocateHostedConnection": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "ownerAccount", - "bandwidth", - "connectionName", - "vlan" - ], - "members": { - "connectionId": {}, - "ownerAccount": {}, - "bandwidth": {}, - "connectionName": {}, - "vlan": { - "type": "integer" - } - } - }, - "output": { - "shape": "S7" - } - }, - "AllocatePrivateVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "ownerAccount", - "newPrivateVirtualInterfaceAllocation" - ], - "members": { - "connectionId": {}, - "ownerAccount": {}, - "newPrivateVirtualInterfaceAllocation": { - "type": "structure", - "required": [ - "virtualInterfaceName", - "vlan", - "asn" - ], - "members": { - "virtualInterfaceName": {}, - "vlan": { - "type": "integer" - }, - "asn": { - "type": "integer" - }, - "authKey": {}, - "amazonAddress": {}, - "addressFamily": {}, - "customerAddress": {} - } - } - } - }, - "output": { - "shape": "Sp" - } - }, - "AllocatePublicVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "ownerAccount", - "newPublicVirtualInterfaceAllocation" - ], - "members": { - "connectionId": {}, - "ownerAccount": {}, - "newPublicVirtualInterfaceAllocation": { - "type": "structure", - "required": [ - "virtualInterfaceName", - "vlan", - "asn" - ], - "members": { - "virtualInterfaceName": {}, - "vlan": { - "type": "integer" - }, - "asn": { - "type": "integer" - }, - "authKey": {}, - "amazonAddress": {}, - "customerAddress": {}, - "addressFamily": {}, - "routeFilterPrefixes": { - "shape": "Sv" - } - } - } - } - }, - "output": { - "shape": "Sp" - } - }, - "AssociateConnectionWithLag": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "lagId" - ], - "members": { - "connectionId": {}, - "lagId": {} - } - }, - "output": { - "shape": "S7" - } - }, - "AssociateHostedConnection": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "parentConnectionId" - ], - "members": { - "connectionId": {}, - "parentConnectionId": {} - } - }, - "output": { - "shape": "S7" - } - }, - "AssociateVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "virtualInterfaceId", - "connectionId" - ], - "members": { - "virtualInterfaceId": {}, - "connectionId": {} - } - }, - "output": { - "shape": "Sp" - } - }, - "ConfirmConnection": { - "input": { - "type": "structure", - "required": [ - "connectionId" - ], - "members": { - "connectionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "connectionState": {} - } - } - }, - "ConfirmPrivateVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "virtualInterfaceId", - "virtualGatewayId" - ], - "members": { - "virtualInterfaceId": {}, - "virtualGatewayId": {} - } - }, - "output": { - "type": "structure", - "members": { - "virtualInterfaceState": {} - } - } - }, - "ConfirmPublicVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "virtualInterfaceId" - ], - "members": { - "virtualInterfaceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "virtualInterfaceState": {} - } - } - }, - "CreateBGPPeer": { - "input": { - "type": "structure", - "members": { - "virtualInterfaceId": {}, - "newBGPPeer": { - "type": "structure", - "members": { - "asn": { - "type": "integer" - }, - "authKey": {}, - "addressFamily": {}, - "amazonAddress": {}, - "customerAddress": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "virtualInterface": { - "shape": "Sp" - } - } - } - }, - "CreateConnection": { - "input": { - "type": "structure", - "required": [ - "location", - "bandwidth", - "connectionName" - ], - "members": { - "location": {}, - "bandwidth": {}, - "connectionName": {}, - "lagId": {} - } - }, - "output": { - "shape": "S7" - } - }, - "CreateInterconnect": { - "input": { - "type": "structure", - "required": [ - "interconnectName", - "bandwidth", - "location" - ], - "members": { - "interconnectName": {}, - "bandwidth": {}, - "location": {}, - "lagId": {} - } - }, - "output": { - "shape": "S1j" - } - }, - "CreateLag": { - "input": { - "type": "structure", - "required": [ - "numberOfConnections", - "location", - "connectionsBandwidth", - "lagName" - ], - "members": { - "numberOfConnections": { - "type": "integer" - }, - "location": {}, - "connectionsBandwidth": {}, - "lagName": {}, - "connectionId": {} - } - }, - "output": { - "shape": "S1o" - } - }, - "CreatePrivateVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "newPrivateVirtualInterface" - ], - "members": { - "connectionId": {}, - "newPrivateVirtualInterface": { - "type": "structure", - "required": [ - "virtualInterfaceName", - "vlan", - "asn", - "virtualGatewayId" - ], - "members": { - "virtualInterfaceName": {}, - "vlan": { - "type": "integer" - }, - "asn": { - "type": "integer" - }, - "authKey": {}, - "amazonAddress": {}, - "customerAddress": {}, - "addressFamily": {}, - "virtualGatewayId": {} - } - } - } - }, - "output": { - "shape": "Sp" - } - }, - "CreatePublicVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "newPublicVirtualInterface" - ], - "members": { - "connectionId": {}, - "newPublicVirtualInterface": { - "type": "structure", - "required": [ - "virtualInterfaceName", - "vlan", - "asn" - ], - "members": { - "virtualInterfaceName": {}, - "vlan": { - "type": "integer" - }, - "asn": { - "type": "integer" - }, - "authKey": {}, - "amazonAddress": {}, - "customerAddress": {}, - "addressFamily": {}, - "routeFilterPrefixes": { - "shape": "Sv" - } - } - } - } - }, - "output": { - "shape": "Sp" - } - }, - "DeleteBGPPeer": { - "input": { - "type": "structure", - "members": { - "virtualInterfaceId": {}, - "asn": { - "type": "integer" - }, - "customerAddress": {} - } - }, - "output": { - "type": "structure", - "members": { - "virtualInterface": { - "shape": "Sp" - } - } - } - }, - "DeleteConnection": { - "input": { - "type": "structure", - "required": [ - "connectionId" - ], - "members": { - "connectionId": {} - } - }, - "output": { - "shape": "S7" - } - }, - "DeleteInterconnect": { - "input": { - "type": "structure", - "required": [ - "interconnectId" - ], - "members": { - "interconnectId": {} - } - }, - "output": { - "type": "structure", - "members": { - "interconnectState": {} - } - } - }, - "DeleteLag": { - "input": { - "type": "structure", - "required": [ - "lagId" - ], - "members": { - "lagId": {} - } - }, - "output": { - "shape": "S1o" - } - }, - "DeleteVirtualInterface": { - "input": { - "type": "structure", - "required": [ - "virtualInterfaceId" - ], - "members": { - "virtualInterfaceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "virtualInterfaceState": {} - } - } - }, - "DescribeConnectionLoa": { - "input": { - "type": "structure", - "required": [ - "connectionId" - ], - "members": { - "connectionId": {}, - "providerName": {}, - "loaContentType": {} - } - }, - "output": { - "type": "structure", - "members": { - "loa": { - "shape": "S28" - } - } - }, - "deprecated": true - }, - "DescribeConnections": { - "input": { - "type": "structure", - "members": { - "connectionId": {} - } - }, - "output": { - "shape": "S2b" - } - }, - "DescribeConnectionsOnInterconnect": { - "input": { - "type": "structure", - "required": [ - "interconnectId" - ], - "members": { - "interconnectId": {} - } - }, - "output": { - "shape": "S2b" - }, - "deprecated": true - }, - "DescribeHostedConnections": { - "input": { - "type": "structure", - "required": [ - "connectionId" - ], - "members": { - "connectionId": {} - } - }, - "output": { - "shape": "S2b" - } - }, - "DescribeInterconnectLoa": { - "input": { - "type": "structure", - "required": [ - "interconnectId" - ], - "members": { - "interconnectId": {}, - "providerName": {}, - "loaContentType": {} - } - }, - "output": { - "type": "structure", - "members": { - "loa": { - "shape": "S28" - } - } - }, - "deprecated": true - }, - "DescribeInterconnects": { - "input": { - "type": "structure", - "members": { - "interconnectId": {} - } - }, - "output": { - "type": "structure", - "members": { - "interconnects": { - "type": "list", - "member": { - "shape": "S1j" - } - } - } - } - }, - "DescribeLags": { - "input": { - "type": "structure", - "members": { - "lagId": {} - } - }, - "output": { - "type": "structure", - "members": { - "lags": { - "type": "list", - "member": { - "shape": "S1o" - } - } - } - } - }, - "DescribeLoa": { - "input": { - "type": "structure", - "required": [ - "connectionId" - ], - "members": { - "connectionId": {}, - "providerName": {}, - "loaContentType": {} - } - }, - "output": { - "shape": "S28" - } - }, - "DescribeLocations": { - "output": { - "type": "structure", - "members": { - "locations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "locationCode": {}, - "locationName": {} - } - } - } - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "required": [ - "resourceArns" - ], - "members": { - "resourceArns": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "resourceTags": { - "type": "list", - "member": { - "type": "structure", - "members": { - "resourceArn": {}, - "tags": { - "shape": "S2x" - } - } - } - } - } - } - }, - "DescribeVirtualGateways": { - "output": { - "type": "structure", - "members": { - "virtualGateways": { - "type": "list", - "member": { - "type": "structure", - "members": { - "virtualGatewayId": {}, - "virtualGatewayState": {} - } - } - } - } - } - }, - "DescribeVirtualInterfaces": { - "input": { - "type": "structure", - "members": { - "connectionId": {}, - "virtualInterfaceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "virtualInterfaces": { - "type": "list", - "member": { - "shape": "Sp" - } - } - } - } - }, - "DisassociateConnectionFromLag": { - "input": { - "type": "structure", - "required": [ - "connectionId", - "lagId" - ], - "members": { - "connectionId": {}, - "lagId": {} - } - }, - "output": { - "shape": "S7" - } - }, - "TagResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn", - "tags" - ], - "members": { - "resourceArn": {}, - "tags": { - "shape": "S2x" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UntagResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn", - "tagKeys" - ], - "members": { - "resourceArn": {}, - "tagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateLag": { - "input": { - "type": "structure", - "required": [ - "lagId" - ], - "members": { - "lagId": {}, - "lagName": {}, - "minimumLinks": { - "type": "integer" - } - } - }, - "output": { - "shape": "S1o" - } - } - }, - "shapes": { - "S7": { - "type": "structure", - "members": { - "ownerAccount": {}, - "connectionId": {}, - "connectionName": {}, - "connectionState": {}, - "region": {}, - "location": {}, - "bandwidth": {}, - "vlan": { - "type": "integer" - }, - "partnerName": {}, - "loaIssueTime": { - "type": "timestamp" - }, - "lagId": {}, - "awsDevice": {} - } - }, - "Sp": { - "type": "structure", - "members": { - "ownerAccount": {}, - "virtualInterfaceId": {}, - "location": {}, - "connectionId": {}, - "virtualInterfaceType": {}, - "virtualInterfaceName": {}, - "vlan": { - "type": "integer" - }, - "asn": { - "type": "integer" - }, - "authKey": {}, - "amazonAddress": {}, - "customerAddress": {}, - "addressFamily": {}, - "virtualInterfaceState": {}, - "customerRouterConfig": {}, - "virtualGatewayId": {}, - "routeFilterPrefixes": { - "shape": "Sv" - }, - "bgpPeers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "asn": { - "type": "integer" - }, - "authKey": {}, - "addressFamily": {}, - "amazonAddress": {}, - "customerAddress": {}, - "bgpPeerState": {}, - "bgpStatus": {} - } - } - } - } - }, - "Sv": { - "type": "list", - "member": { - "type": "structure", - "members": { - "cidr": {} - } - } - }, - "S1j": { - "type": "structure", - "members": { - "interconnectId": {}, - "interconnectName": {}, - "interconnectState": {}, - "region": {}, - "location": {}, - "bandwidth": {}, - "loaIssueTime": { - "type": "timestamp" - }, - "lagId": {}, - "awsDevice": {} - } - }, - "S1o": { - "type": "structure", - "members": { - "connectionsBandwidth": {}, - "numberOfConnections": { - "type": "integer" - }, - "lagId": {}, - "ownerAccount": {}, - "lagName": {}, - "lagState": {}, - "location": {}, - "region": {}, - "minimumLinks": { - "type": "integer" - }, - "awsDevice": {}, - "connections": { - "shape": "S1q" - }, - "allowsHostedConnections": { - "type": "boolean" - } - } - }, - "S1q": { - "type": "list", - "member": { - "shape": "S7" - } - }, - "S28": { - "type": "structure", - "members": { - "loaContent": { - "type": "blob" - }, - "loaContentType": {} - } - }, - "S2b": { - "type": "structure", - "members": { - "connections": { - "shape": "S1q" - } - } - }, - "S2x": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "value": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json b/src/node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json deleted file mode 100644 index b5a985f..0000000 --- a/src/node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "pagination": { - "DescribeConnections": { - "result_key": "connections" - }, - "DescribeConnectionsOnInterconnect": { - "result_key": "connections" - }, - "DescribeInterconnects": { - "result_key": "interconnects" - }, - "DescribeLocations": { - "result_key": "locations" - }, - "DescribeVirtualGateways": { - "result_key": "virtualGateways" - }, - "DescribeVirtualInterfaces": { - "result_key": "virtualInterfaces" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json b/src/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json deleted file mode 100644 index 5c8e6a8..0000000 --- a/src/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +++ /dev/null @@ -1,667 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-11-01", - "endpointPrefix": "discovery", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Application Discovery Service", - "signatureVersion": "v4", - "targetPrefix": "AWSPoseidonService_V2015_11_01", - "uid": "discovery-2015-11-01" - }, - "operations": { - "AssociateConfigurationItemsToApplication": { - "input": { - "type": "structure", - "required": [ - "applicationConfigurationId", - "configurationIds" - ], - "members": { - "applicationConfigurationId": {}, - "configurationIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateApplication": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "description": {} - } - }, - "output": { - "type": "structure", - "members": { - "configurationId": {} - } - } - }, - "CreateTags": { - "input": { - "type": "structure", - "required": [ - "configurationIds", - "tags" - ], - "members": { - "configurationIds": { - "shape": "S3" - }, - "tags": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteApplications": { - "input": { - "type": "structure", - "required": [ - "configurationIds" - ], - "members": { - "configurationIds": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteTags": { - "input": { - "type": "structure", - "required": [ - "configurationIds" - ], - "members": { - "configurationIds": { - "shape": "S3" - }, - "tags": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeAgents": { - "input": { - "type": "structure", - "members": { - "agentIds": { - "shape": "Sl" - }, - "filters": { - "shape": "Sn" - }, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "agentsInfo": { - "type": "list", - "member": { - "type": "structure", - "members": { - "agentId": {}, - "hostName": {}, - "agentNetworkInfoList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ipAddress": {}, - "macAddress": {} - } - } - }, - "connectorId": {}, - "version": {}, - "health": {}, - "lastHealthPingTime": {}, - "collectionStatus": {}, - "agentType": {}, - "registeredTime": {} - } - } - }, - "nextToken": {} - } - } - }, - "DescribeConfigurations": { - "input": { - "type": "structure", - "required": [ - "configurationIds" - ], - "members": { - "configurationIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "configurations": { - "type": "list", - "member": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - }, - "DescribeExportConfigurations": { - "input": { - "type": "structure", - "members": { - "exportIds": { - "shape": "S15" - }, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "exportsInfo": { - "shape": "S18" - }, - "nextToken": {} - } - }, - "deprecated": true - }, - "DescribeExportTasks": { - "input": { - "type": "structure", - "members": { - "exportIds": { - "shape": "S15" - }, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "exportsInfo": { - "shape": "S18" - }, - "nextToken": {} - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "members": { - "filters": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "values" - ], - "members": { - "name": {}, - "values": { - "shape": "Sp" - } - } - } - }, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "tags": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "configurationType": {}, - "configurationId": {}, - "key": {}, - "value": {}, - "timeOfCreation": { - "type": "timestamp" - } - } - } - }, - "nextToken": {} - } - } - }, - "DisassociateConfigurationItemsFromApplication": { - "input": { - "type": "structure", - "required": [ - "applicationConfigurationId", - "configurationIds" - ], - "members": { - "applicationConfigurationId": {}, - "configurationIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ExportConfigurations": { - "output": { - "type": "structure", - "members": { - "exportId": {} - } - }, - "deprecated": true - }, - "GetDiscoverySummary": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "servers": { - "type": "long" - }, - "applications": { - "type": "long" - }, - "serversMappedToApplications": { - "type": "long" - }, - "serversMappedtoTags": { - "type": "long" - }, - "agentSummary": { - "type": "structure", - "required": [ - "activeAgents", - "healthyAgents", - "blackListedAgents", - "shutdownAgents", - "unhealthyAgents", - "totalAgents", - "unknownAgents" - ], - "members": { - "activeAgents": { - "type": "integer" - }, - "healthyAgents": { - "type": "integer" - }, - "blackListedAgents": { - "type": "integer" - }, - "shutdownAgents": { - "type": "integer" - }, - "unhealthyAgents": { - "type": "integer" - }, - "totalAgents": { - "type": "integer" - }, - "unknownAgents": { - "type": "integer" - } - } - }, - "connectorSummary": { - "type": "structure", - "required": [ - "activeConnectors", - "healthyConnectors", - "blackListedConnectors", - "shutdownConnectors", - "unhealthyConnectors", - "totalConnectors", - "unknownConnectors" - ], - "members": { - "activeConnectors": { - "type": "integer" - }, - "healthyConnectors": { - "type": "integer" - }, - "blackListedConnectors": { - "type": "integer" - }, - "shutdownConnectors": { - "type": "integer" - }, - "unhealthyConnectors": { - "type": "integer" - }, - "totalConnectors": { - "type": "integer" - }, - "unknownConnectors": { - "type": "integer" - } - } - } - } - } - }, - "ListConfigurations": { - "input": { - "type": "structure", - "required": [ - "configurationType" - ], - "members": { - "configurationType": {}, - "filters": { - "shape": "Sn" - }, - "maxResults": { - "type": "integer" - }, - "nextToken": {}, - "orderBy": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "fieldName" - ], - "members": { - "fieldName": {}, - "sortOrder": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "configurations": { - "type": "list", - "member": { - "type": "map", - "key": {}, - "value": {} - } - }, - "nextToken": {} - } - } - }, - "ListServerNeighbors": { - "input": { - "type": "structure", - "required": [ - "configurationId" - ], - "members": { - "configurationId": {}, - "portInformationNeeded": { - "type": "boolean" - }, - "neighborConfigurationIds": { - "shape": "S3" - }, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "neighbors" - ], - "members": { - "neighbors": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "sourceServerId", - "destinationServerId", - "connectionsCount" - ], - "members": { - "sourceServerId": {}, - "destinationServerId": {}, - "destinationPort": { - "type": "integer" - }, - "transportProtocol": {}, - "connectionsCount": { - "type": "long" - } - } - } - }, - "nextToken": {}, - "knownDependencyCount": { - "type": "long" - } - } - } - }, - "StartDataCollectionByAgentIds": { - "input": { - "type": "structure", - "required": [ - "agentIds" - ], - "members": { - "agentIds": { - "shape": "Sl" - } - } - }, - "output": { - "type": "structure", - "members": { - "agentsConfigurationStatus": { - "shape": "S2c" - } - } - } - }, - "StartExportTask": { - "input": { - "type": "structure", - "members": { - "exportDataFormat": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "exportId": {} - } - } - }, - "StopDataCollectionByAgentIds": { - "input": { - "type": "structure", - "required": [ - "agentIds" - ], - "members": { - "agentIds": { - "shape": "Sl" - } - } - }, - "output": { - "type": "structure", - "members": { - "agentsConfigurationStatus": { - "shape": "S2c" - } - } - } - }, - "UpdateApplication": { - "input": { - "type": "structure", - "required": [ - "configurationId" - ], - "members": { - "configurationId": {}, - "name": {}, - "description": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": {} - }, - "Sa": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "Sl": { - "type": "list", - "member": {} - }, - "Sn": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "values", - "condition" - ], - "members": { - "name": {}, - "values": { - "shape": "Sp" - }, - "condition": {} - } - } - }, - "Sp": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "S15": { - "type": "list", - "member": {} - }, - "S18": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "exportId", - "exportStatus", - "statusMessage", - "exportRequestTime" - ], - "members": { - "exportId": {}, - "exportStatus": {}, - "statusMessage": {}, - "configurationsDownloadUrl": {}, - "exportRequestTime": { - "type": "timestamp" - } - } - } - }, - "S2c": { - "type": "list", - "member": { - "type": "structure", - "members": { - "agentId": {}, - "operationSucceeded": { - "type": "boolean" - }, - "description": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/discovery-2015-11-01.paginators.json b/src/node_modules/aws-sdk/apis/discovery-2015-11-01.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/discovery-2015-11-01.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/dms-2016-01-01.examples.json b/src/node_modules/aws-sdk/apis/dms-2016-01-01.examples.json deleted file mode 100644 index 295fccf..0000000 --- a/src/node_modules/aws-sdk/apis/dms-2016-01-01.examples.json +++ /dev/null @@ -1,1053 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AddTagsToResource": [ - { - "input": { - "ResourceArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E", - "Tags": [ - { - "Key": "Acount", - "Value": "1633456" - } - ] - }, - "output": { - }, - "comments": { - "input": { - "ResourceArn": "Required. Use the ARN of the resource you want to tag.", - "Tags": "Required. Use the Key/Value pair format." - }, - "output": { - } - }, - "description": "Adds metadata tags to an AWS DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with AWS DMS resources, or used in a Condition statement in an IAM policy for AWS DMS.", - "id": "add-tags-to-resource-1481744141435", - "title": "Add tags to resource" - } - ], - "CreateEndpoint": [ - { - "input": { - "CertificateArn": "", - "DatabaseName": "testdb", - "EndpointIdentifier": "test-endpoint-1", - "EndpointType": "source", - "EngineName": "mysql", - "ExtraConnectionAttributes": "", - "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd", - "Password": "pasword", - "Port": 3306, - "ServerName": "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com", - "SslMode": "require", - "Tags": [ - { - "Key": "Acount", - "Value": "143327655" - } - ], - "Username": "username" - }, - "output": { - "Endpoint": { - "EndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM", - "EndpointIdentifier": "test-endpoint-1", - "EndpointType": "source", - "EngineName": "mysql", - "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd", - "Port": 3306, - "ServerName": "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com", - "Status": "active", - "Username": "username" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Creates an endpoint using the provided settings.", - "id": "create-endpoint-1481746254348", - "title": "Create endpoint" - } - ], - "CreateReplicationInstance": [ - { - "input": { - "AllocatedStorage": 123, - "AutoMinorVersionUpgrade": true, - "AvailabilityZone": "", - "EngineVersion": "", - "KmsKeyId": "", - "MultiAZ": true, - "PreferredMaintenanceWindow": "", - "PubliclyAccessible": true, - "ReplicationInstanceClass": "", - "ReplicationInstanceIdentifier": "", - "ReplicationSubnetGroupIdentifier": "", - "Tags": [ - { - "Key": "string", - "Value": "string" - } - ], - "VpcSecurityGroupIds": [ - - ] - }, - "output": { - "ReplicationInstance": { - "AllocatedStorage": 5, - "AutoMinorVersionUpgrade": true, - "EngineVersion": "1.5.0", - "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd", - "PendingModifiedValues": { - }, - "PreferredMaintenanceWindow": "sun:06:00-sun:14:00", - "PubliclyAccessible": true, - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "ReplicationInstanceClass": "dms.t2.micro", - "ReplicationInstanceIdentifier": "test-rep-1", - "ReplicationInstanceStatus": "creating", - "ReplicationSubnetGroup": { - "ReplicationSubnetGroupDescription": "default", - "ReplicationSubnetGroupIdentifier": "default", - "SubnetGroupStatus": "Complete", - "Subnets": [ - { - "SubnetAvailabilityZone": { - "Name": "us-east-1d" - }, - "SubnetIdentifier": "subnet-f6dd91af", - "SubnetStatus": "Active" - }, - { - "SubnetAvailabilityZone": { - "Name": "us-east-1b" - }, - "SubnetIdentifier": "subnet-3605751d", - "SubnetStatus": "Active" - }, - { - "SubnetAvailabilityZone": { - "Name": "us-east-1c" - }, - "SubnetIdentifier": "subnet-c2daefb5", - "SubnetStatus": "Active" - }, - { - "SubnetAvailabilityZone": { - "Name": "us-east-1e" - }, - "SubnetIdentifier": "subnet-85e90cb8", - "SubnetStatus": "Active" - } - ], - "VpcId": "vpc-6741a603" - } - } - }, - "comments": { - "output": { - } - }, - "description": "Creates the replication instance using the specified parameters.", - "id": "create-replication-instance-1481746705295", - "title": "Create replication instance" - } - ], - "CreateReplicationSubnetGroup": [ - { - "input": { - "ReplicationSubnetGroupDescription": "US West subnet group", - "ReplicationSubnetGroupIdentifier": "us-west-2ab-vpc-215ds366", - "SubnetIds": [ - "subnet-e145356n", - "subnet-58f79200" - ], - "Tags": [ - { - "Key": "Acount", - "Value": "145235" - } - ] - }, - "output": { - "ReplicationSubnetGroup": { - } - }, - "comments": { - "output": { - } - }, - "description": "Creates a replication subnet group given a list of the subnet IDs in a VPC.", - "id": "create-replication-subnet-group-1481747297930", - "title": "Create replication subnet group" - } - ], - "CreateReplicationTask": [ - { - "input": { - "CdcStartTime": "2016-12-14T18:25:43Z", - "MigrationType": "full-load", - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "ReplicationTaskIdentifier": "task1", - "ReplicationTaskSettings": "", - "SourceEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE", - "TableMappings": "file://mappingfile.json", - "Tags": [ - { - "Key": "Acount", - "Value": "24352226" - } - ], - "TargetEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E" - }, - "output": { - "ReplicationTask": { - "MigrationType": "full-load", - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "ReplicationTaskArn": "arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM", - "ReplicationTaskCreationDate": "2016-12-14T18:25:43Z", - "ReplicationTaskIdentifier": "task1", - "ReplicationTaskSettings": "{\"TargetMetadata\":{\"TargetSchema\":\"\",\"SupportLobs\":true,\"FullLobMode\":true,\"LobChunkSize\":64,\"LimitedSizeLobMode\":false,\"LobMaxSize\":0},\"FullLoadSettings\":{\"FullLoadEnabled\":true,\"ApplyChangesEnabled\":false,\"TargetTablePrepMode\":\"DROP_AND_CREATE\",\"CreatePkAfterFullLoad\":false,\"StopTaskCachedChangesApplied\":false,\"StopTaskCachedChangesNotApplied\":false,\"ResumeEnabled\":false,\"ResumeMinTableSize\":100000,\"ResumeOnlyClusteredPKTables\":true,\"MaxFullLoadSubTasks\":8,\"TransactionConsistencyTimeout\":600,\"CommitRate\":10000},\"Logging\":{\"EnableLogging\":false}}", - "SourceEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE", - "Status": "creating", - "TableMappings": "file://mappingfile.json", - "TargetEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Creates a replication task using the specified parameters.", - "id": "create-replication-task-1481747646288", - "title": "Create replication task" - } - ], - "DeleteCertificate": [ - { - "input": { - "CertificateArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUSM457DE6XFJCJQ" - }, - "output": { - "Certificate": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes the specified certificate.", - "id": "delete-certificate-1481751957981", - "title": "Delete Certificate" - } - ], - "DeleteEndpoint": [ - { - "input": { - "EndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM" - }, - "output": { - "Endpoint": { - "EndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM", - "EndpointIdentifier": "test-endpoint-1", - "EndpointType": "source", - "EngineName": "mysql", - "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd", - "Port": 3306, - "ServerName": "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com", - "Status": "active", - "Username": "username" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes the specified endpoint. All tasks associated with the endpoint must be deleted before you can delete the endpoint.\n", - "id": "delete-endpoint-1481752425530", - "title": "Delete Endpoint" - } - ], - "DeleteReplicationInstance": [ - { - "input": { - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ" - }, - "output": { - "ReplicationInstance": { - "AllocatedStorage": 5, - "AutoMinorVersionUpgrade": true, - "EngineVersion": "1.5.0", - "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd", - "PendingModifiedValues": { - }, - "PreferredMaintenanceWindow": "sun:06:00-sun:14:00", - "PubliclyAccessible": true, - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "ReplicationInstanceClass": "dms.t2.micro", - "ReplicationInstanceIdentifier": "test-rep-1", - "ReplicationInstanceStatus": "creating", - "ReplicationSubnetGroup": { - "ReplicationSubnetGroupDescription": "default", - "ReplicationSubnetGroupIdentifier": "default", - "SubnetGroupStatus": "Complete", - "Subnets": [ - { - "SubnetAvailabilityZone": { - "Name": "us-east-1d" - }, - "SubnetIdentifier": "subnet-f6dd91af", - "SubnetStatus": "Active" - }, - { - "SubnetAvailabilityZone": { - "Name": "us-east-1b" - }, - "SubnetIdentifier": "subnet-3605751d", - "SubnetStatus": "Active" - }, - { - "SubnetAvailabilityZone": { - "Name": "us-east-1c" - }, - "SubnetIdentifier": "subnet-c2daefb5", - "SubnetStatus": "Active" - }, - { - "SubnetAvailabilityZone": { - "Name": "us-east-1e" - }, - "SubnetIdentifier": "subnet-85e90cb8", - "SubnetStatus": "Active" - } - ], - "VpcId": "vpc-6741a603" - } - } - }, - "comments": { - "output": { - } - }, - "description": "Deletes the specified replication instance. You must delete any migration tasks that are associated with the replication instance before you can delete it.\n\n", - "id": "delete-replication-instance-1481752552839", - "title": "Delete Replication Instance" - } - ], - "DeleteReplicationSubnetGroup": [ - { - "input": { - "ReplicationSubnetGroupIdentifier": "us-west-2ab-vpc-215ds366" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes a replication subnet group.", - "id": "delete-replication-subnet-group-1481752728597", - "title": "Delete Replication Subnet Group" - } - ], - "DeleteReplicationTask": [ - { - "input": { - "ReplicationTaskArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ" - }, - "output": { - "ReplicationTask": { - "MigrationType": "full-load", - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "ReplicationTaskArn": "arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM", - "ReplicationTaskCreationDate": "2016-12-14T18:25:43Z", - "ReplicationTaskIdentifier": "task1", - "ReplicationTaskSettings": "{\"TargetMetadata\":{\"TargetSchema\":\"\",\"SupportLobs\":true,\"FullLobMode\":true,\"LobChunkSize\":64,\"LimitedSizeLobMode\":false,\"LobMaxSize\":0},\"FullLoadSettings\":{\"FullLoadEnabled\":true,\"ApplyChangesEnabled\":false,\"TargetTablePrepMode\":\"DROP_AND_CREATE\",\"CreatePkAfterFullLoad\":false,\"StopTaskCachedChangesApplied\":false,\"StopTaskCachedChangesNotApplied\":false,\"ResumeEnabled\":false,\"ResumeMinTableSize\":100000,\"ResumeOnlyClusteredPKTables\":true,\"MaxFullLoadSubTasks\":8,\"TransactionConsistencyTimeout\":600,\"CommitRate\":10000},\"Logging\":{\"EnableLogging\":false}}", - "SourceEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE", - "Status": "creating", - "TableMappings": "file://mappingfile.json", - "TargetEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes the specified replication task.", - "id": "delete-replication-task-1481752903506", - "title": "Delete Replication Task" - } - ], - "DescribeAccountAttributes": [ - { - "input": { - }, - "output": { - "AccountQuotas": [ - { - "AccountQuotaName": "ReplicationInstances", - "Max": 20, - "Used": 0 - }, - { - "AccountQuotaName": "AllocatedStorage", - "Max": 20, - "Used": 0 - }, - { - "AccountQuotaName": "Endpoints", - "Max": 20, - "Used": 0 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists all of the AWS DMS attributes for a customer account. The attributes include AWS DMS quotas for the account, such as the number of replication instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value. This operation does not take any parameters.", - "id": "describe-acount-attributes-1481753085663", - "title": "Describe acount attributes" - } - ], - "DescribeCertificates": [ - { - "input": { - "Filters": [ - { - "Name": "string", - "Values": [ - "string", - "string" - ] - } - ], - "Marker": "", - "MaxRecords": 123 - }, - "output": { - "Certificates": [ - - ], - "Marker": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Provides a description of the certificate.", - "id": "describe-certificates-1481753186244", - "title": "Describe certificates" - } - ], - "DescribeConnections": [ - { - "input": { - "Filters": [ - { - "Name": "string", - "Values": [ - "string", - "string" - ] - } - ], - "Marker": "", - "MaxRecords": 123 - }, - "output": { - "Connections": [ - { - "EndpointArn": "arn:aws:dms:us-east-arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE", - "EndpointIdentifier": "testsrc1", - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "ReplicationInstanceIdentifier": "test", - "Status": "successful" - } - ], - "Marker": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.", - "id": "describe-connections-1481754477953", - "title": "Describe connections" - } - ], - "DescribeEndpointTypes": [ - { - "input": { - "Filters": [ - { - "Name": "string", - "Values": [ - "string", - "string" - ] - } - ], - "Marker": "", - "MaxRecords": 123 - }, - "output": { - "Marker": "", - "SupportedEndpointTypes": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns information about the type of endpoints available.", - "id": "describe-endpoint-types-1481754742591", - "title": "Describe endpoint types" - } - ], - "DescribeEndpoints": [ - { - "input": { - "Filters": [ - { - "Name": "string", - "Values": [ - "string", - "string" - ] - } - ], - "Marker": "", - "MaxRecords": 123 - }, - "output": { - "Endpoints": [ - - ], - "Marker": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns information about the endpoints for your account in the current region.", - "id": "describe-endpoints-1481754926060", - "title": "Describe endpoints" - } - ], - "DescribeOrderableReplicationInstances": [ - { - "input": { - "Marker": "", - "MaxRecords": 123 - }, - "output": { - "Marker": "", - "OrderableReplicationInstances": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns information about the replication instance types that can be created in the specified region.", - "id": "describe-orderable-replication-instances-1481755123669", - "title": "Describe orderable replication instances" - } - ], - "DescribeRefreshSchemasStatus": [ - { - "input": { - "EndpointArn": "" - }, - "output": { - "RefreshSchemasStatus": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns the status of the refresh-schemas operation.", - "id": "describe-refresh-schema-status-1481755303497", - "title": "Describe refresh schema status" - } - ], - "DescribeReplicationInstances": [ - { - "input": { - "Filters": [ - { - "Name": "string", - "Values": [ - "string", - "string" - ] - } - ], - "Marker": "", - "MaxRecords": 123 - }, - "output": { - "Marker": "", - "ReplicationInstances": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns the status of the refresh-schemas operation.", - "id": "describe-replication-instances-1481755443952", - "title": "Describe replication instances" - } - ], - "DescribeReplicationSubnetGroups": [ - { - "input": { - "Filters": [ - { - "Name": "string", - "Values": [ - "string", - "string" - ] - } - ], - "Marker": "", - "MaxRecords": 123 - }, - "output": { - "Marker": "", - "ReplicationSubnetGroups": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns information about the replication subnet groups.", - "id": "describe-replication-subnet-groups-1481755621284", - "title": "Describe replication subnet groups" - } - ], - "DescribeReplicationTasks": [ - { - "input": { - "Filters": [ - { - "Name": "string", - "Values": [ - "string", - "string" - ] - } - ], - "Marker": "", - "MaxRecords": 123 - }, - "output": { - "Marker": "", - "ReplicationTasks": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns information about replication tasks for your account in the current region.", - "id": "describe-replication-tasks-1481755777563", - "title": "Describe replication tasks" - } - ], - "DescribeSchemas": [ - { - "input": { - "EndpointArn": "", - "Marker": "", - "MaxRecords": 123 - }, - "output": { - "Marker": "", - "Schemas": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns information about the schema for the specified endpoint.", - "id": "describe-schemas-1481755933924", - "title": "Describe schemas" - } - ], - "DescribeTableStatistics": [ - { - "input": { - "Marker": "", - "MaxRecords": 123, - "ReplicationTaskArn": "" - }, - "output": { - "Marker": "", - "ReplicationTaskArn": "", - "TableStatistics": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.", - "id": "describe-table-statistics-1481756071890", - "title": "Describe table statistics" - } - ], - "ImportCertificate": [ - { - "input": { - "CertificateIdentifier": "", - "CertificatePem": "" - }, - "output": { - "Certificate": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Uploads the specified certificate.", - "id": "import-certificate-1481756197206", - "title": "Import certificate" - } - ], - "ListTagsForResource": [ - { - "input": { - "ResourceArn": "" - }, - "output": { - "TagList": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists all tags for an AWS DMS resource.", - "id": "list-tags-for-resource-1481761095501", - "title": "List tags for resource" - } - ], - "ModifyEndpoint": [ - { - "input": { - "CertificateArn": "", - "DatabaseName": "", - "EndpointArn": "", - "EndpointIdentifier": "", - "EndpointType": "source", - "EngineName": "", - "ExtraConnectionAttributes": "", - "Password": "", - "Port": 123, - "ServerName": "", - "SslMode": "require", - "Username": "" - }, - "output": { - "Endpoint": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Modifies the specified endpoint.", - "id": "modify-endpoint-1481761649937", - "title": "Modify endpoint" - } - ], - "ModifyReplicationInstance": [ - { - "input": { - "AllocatedStorage": 123, - "AllowMajorVersionUpgrade": true, - "ApplyImmediately": true, - "AutoMinorVersionUpgrade": true, - "EngineVersion": "1.5.0", - "MultiAZ": true, - "PreferredMaintenanceWindow": "sun:06:00-sun:14:00", - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "ReplicationInstanceClass": "dms.t2.micro", - "ReplicationInstanceIdentifier": "test-rep-1", - "VpcSecurityGroupIds": [ - - ] - }, - "output": { - "ReplicationInstance": { - "AllocatedStorage": 5, - "AutoMinorVersionUpgrade": true, - "EngineVersion": "1.5.0", - "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd", - "PendingModifiedValues": { - }, - "PreferredMaintenanceWindow": "sun:06:00-sun:14:00", - "PubliclyAccessible": true, - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "ReplicationInstanceClass": "dms.t2.micro", - "ReplicationInstanceIdentifier": "test-rep-1", - "ReplicationInstanceStatus": "available", - "ReplicationSubnetGroup": { - "ReplicationSubnetGroupDescription": "default", - "ReplicationSubnetGroupIdentifier": "default", - "SubnetGroupStatus": "Complete", - "Subnets": [ - { - "SubnetAvailabilityZone": { - "Name": "us-east-1d" - }, - "SubnetIdentifier": "subnet-f6dd91af", - "SubnetStatus": "Active" - }, - { - "SubnetAvailabilityZone": { - "Name": "us-east-1b" - }, - "SubnetIdentifier": "subnet-3605751d", - "SubnetStatus": "Active" - }, - { - "SubnetAvailabilityZone": { - "Name": "us-east-1c" - }, - "SubnetIdentifier": "subnet-c2daefb5", - "SubnetStatus": "Active" - }, - { - "SubnetAvailabilityZone": { - "Name": "us-east-1e" - }, - "SubnetIdentifier": "subnet-85e90cb8", - "SubnetStatus": "Active" - } - ], - "VpcId": "vpc-6741a603" - } - } - }, - "comments": { - "output": { - } - }, - "description": "Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request. Some settings are applied during the maintenance window.", - "id": "modify-replication-instance-1481761784746", - "title": "Modify replication instance" - } - ], - "ModifyReplicationSubnetGroup": [ - { - "input": { - "ReplicationSubnetGroupDescription": "", - "ReplicationSubnetGroupIdentifier": "", - "SubnetIds": [ - - ] - }, - "output": { - "ReplicationSubnetGroup": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Modifies the settings for the specified replication subnet group.", - "id": "modify-replication-subnet-group-1481762275392", - "title": "Modify replication subnet group" - } - ], - "RefreshSchemas": [ - { - "input": { - "EndpointArn": "", - "ReplicationInstanceArn": "" - }, - "output": { - "RefreshSchemasStatus": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the describe-refresh-schemas-status operation.", - "id": "refresh-schema-1481762399111", - "title": "Refresh schema" - } - ], - "RemoveTagsFromResource": [ - { - "input": { - "ResourceArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E", - "TagKeys": [ - - ] - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Removes metadata tags from an AWS DMS resource.", - "id": "remove-tags-from-resource-1481762571330", - "title": "Remove tags from resource" - } - ], - "StartReplicationTask": [ - { - "input": { - "CdcStartTime": "2016-12-14T13:33:20Z", - "ReplicationTaskArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "StartReplicationTaskType": "start-replication" - }, - "output": { - "ReplicationTask": { - "MigrationType": "full-load", - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "ReplicationTaskArn": "arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM", - "ReplicationTaskCreationDate": "2016-12-14T18:25:43Z", - "ReplicationTaskIdentifier": "task1", - "ReplicationTaskSettings": "{\"TargetMetadata\":{\"TargetSchema\":\"\",\"SupportLobs\":true,\"FullLobMode\":true,\"LobChunkSize\":64,\"LimitedSizeLobMode\":false,\"LobMaxSize\":0},\"FullLoadSettings\":{\"FullLoadEnabled\":true,\"ApplyChangesEnabled\":false,\"TargetTablePrepMode\":\"DROP_AND_CREATE\",\"CreatePkAfterFullLoad\":false,\"StopTaskCachedChangesApplied\":false,\"StopTaskCachedChangesNotApplied\":false,\"ResumeEnabled\":false,\"ResumeMinTableSize\":100000,\"ResumeOnlyClusteredPKTables\":true,\"MaxFullLoadSubTasks\":8,\"TransactionConsistencyTimeout\":600,\"CommitRate\":10000},\"Logging\":{\"EnableLogging\":false}}", - "SourceEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE", - "Status": "creating", - "TableMappings": "file://mappingfile.json", - "TargetEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Starts the replication task.", - "id": "start-replication-task-1481762706778", - "title": "Start replication task" - } - ], - "StopReplicationTask": [ - { - "input": { - "ReplicationTaskArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E" - }, - "output": { - "ReplicationTask": { - "MigrationType": "full-load", - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", - "ReplicationTaskArn": "arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM", - "ReplicationTaskCreationDate": "2016-12-14T18:25:43Z", - "ReplicationTaskIdentifier": "task1", - "ReplicationTaskSettings": "{\"TargetMetadata\":{\"TargetSchema\":\"\",\"SupportLobs\":true,\"FullLobMode\":true,\"LobChunkSize\":64,\"LimitedSizeLobMode\":false,\"LobMaxSize\":0},\"FullLoadSettings\":{\"FullLoadEnabled\":true,\"ApplyChangesEnabled\":false,\"TargetTablePrepMode\":\"DROP_AND_CREATE\",\"CreatePkAfterFullLoad\":false,\"StopTaskCachedChangesApplied\":false,\"StopTaskCachedChangesNotApplied\":false,\"ResumeEnabled\":false,\"ResumeMinTableSize\":100000,\"ResumeOnlyClusteredPKTables\":true,\"MaxFullLoadSubTasks\":8,\"TransactionConsistencyTimeout\":600,\"CommitRate\":10000},\"Logging\":{\"EnableLogging\":false}}", - "SourceEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE", - "Status": "creating", - "TableMappings": "file://mappingfile.json", - "TargetEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Stops the replication task.", - "id": "stop-replication-task-1481762924947", - "title": "Stop replication task" - } - ], - "TestConnection": [ - { - "input": { - "EndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM", - "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ" - }, - "output": { - "Connection": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Tests the connection between the replication instance and the endpoint.", - "id": "test-conection-1481763017636", - "title": "Test conection" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/dms-2016-01-01.min.json b/src/node_modules/aws-sdk/apis/dms-2016-01-01.min.json deleted file mode 100644 index 019637a..0000000 --- a/src/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +++ /dev/null @@ -1,1488 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-01-01", - "endpointPrefix": "dms", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Database Migration Service", - "signatureVersion": "v4", - "targetPrefix": "AmazonDMSv20160101", - "uid": "dms-2016-01-01" - }, - "operations": { - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "Tags" - ], - "members": { - "ResourceArn": {}, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateEndpoint": { - "input": { - "type": "structure", - "required": [ - "EndpointIdentifier", - "EndpointType", - "EngineName" - ], - "members": { - "EndpointIdentifier": {}, - "EndpointType": {}, - "EngineName": {}, - "Username": {}, - "Password": { - "shape": "S8" - }, - "ServerName": {}, - "Port": { - "type": "integer" - }, - "DatabaseName": {}, - "ExtraConnectionAttributes": {}, - "KmsKeyId": {}, - "Tags": { - "shape": "S3" - }, - "CertificateArn": {}, - "SslMode": {}, - "DynamoDbSettings": { - "shape": "Sb" - }, - "S3Settings": { - "shape": "Sc" - }, - "MongoDbSettings": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "Endpoint": { - "shape": "Sj" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "Sl" - }, - "SourceIds": { - "shape": "Sm" - }, - "Enabled": { - "type": "boolean" - }, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "EventSubscription": { - "shape": "Sp" - } - } - } - }, - "CreateReplicationInstance": { - "input": { - "type": "structure", - "required": [ - "ReplicationInstanceIdentifier", - "ReplicationInstanceClass" - ], - "members": { - "ReplicationInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "ReplicationInstanceClass": {}, - "VpcSecurityGroupIds": { - "shape": "Ss" - }, - "AvailabilityZone": {}, - "ReplicationSubnetGroupIdentifier": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Tags": { - "shape": "S3" - }, - "KmsKeyId": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationInstance": { - "shape": "Su" - } - } - } - }, - "CreateReplicationSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "ReplicationSubnetGroupIdentifier", - "ReplicationSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "ReplicationSubnetGroupIdentifier": {}, - "ReplicationSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S17" - }, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationSubnetGroup": { - "shape": "Sz" - } - } - } - }, - "CreateReplicationTask": { - "input": { - "type": "structure", - "required": [ - "ReplicationTaskIdentifier", - "SourceEndpointArn", - "TargetEndpointArn", - "ReplicationInstanceArn", - "MigrationType", - "TableMappings" - ], - "members": { - "ReplicationTaskIdentifier": {}, - "SourceEndpointArn": {}, - "TargetEndpointArn": {}, - "ReplicationInstanceArn": {}, - "MigrationType": {}, - "TableMappings": {}, - "ReplicationTaskSettings": {}, - "CdcStartTime": { - "type": "timestamp" - }, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationTask": { - "shape": "S1c" - } - } - } - }, - "DeleteCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateArn" - ], - "members": { - "CertificateArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Certificate": { - "shape": "S1h" - } - } - } - }, - "DeleteEndpoint": { - "input": { - "type": "structure", - "required": [ - "EndpointArn" - ], - "members": { - "EndpointArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Endpoint": { - "shape": "Sj" - } - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "type": "structure", - "members": { - "EventSubscription": { - "shape": "Sp" - } - } - } - }, - "DeleteReplicationInstance": { - "input": { - "type": "structure", - "required": [ - "ReplicationInstanceArn" - ], - "members": { - "ReplicationInstanceArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationInstance": { - "shape": "Su" - } - } - } - }, - "DeleteReplicationSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "ReplicationSubnetGroupIdentifier" - ], - "members": { - "ReplicationSubnetGroupIdentifier": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteReplicationTask": { - "input": { - "type": "structure", - "required": [ - "ReplicationTaskArn" - ], - "members": { - "ReplicationTaskArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationTask": { - "shape": "S1c" - } - } - } - }, - "DescribeAccountAttributes": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "AccountQuotas": { - "type": "list", - "member": { - "locationName": "AccountQuota", - "type": "structure", - "members": { - "AccountQuotaName": {}, - "Used": { - "type": "long" - }, - "Max": { - "type": "long" - } - } - } - } - } - } - }, - "DescribeCertificates": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1y" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "Certificates": { - "type": "list", - "member": { - "shape": "S1h", - "locationName": "Certificate" - } - } - } - } - }, - "DescribeConnections": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1y" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "Connections": { - "type": "list", - "member": { - "shape": "S26", - "locationName": "Connection" - } - } - } - } - }, - "DescribeEndpointTypes": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1y" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "SupportedEndpointTypes": { - "type": "list", - "member": { - "locationName": "SupportedEndpointType", - "type": "structure", - "members": { - "EngineName": {}, - "SupportsCDC": { - "type": "boolean" - }, - "EndpointType": {} - } - } - } - } - } - }, - "DescribeEndpoints": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1y" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "Endpoints": { - "type": "list", - "member": { - "shape": "Sj", - "locationName": "Endpoint" - } - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {}, - "Filters": { - "shape": "S1y" - } - } - }, - "output": { - "type": "structure", - "members": { - "EventCategoryGroupList": { - "type": "list", - "member": { - "locationName": "EventCategoryGroup", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "Sl" - } - } - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "Filters": { - "shape": "S1y" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "Sp", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "Sl" - }, - "Filters": { - "shape": "S1y" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "Sl" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOrderableReplicationInstances": { - "input": { - "type": "structure", - "members": { - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "OrderableReplicationInstances": { - "type": "list", - "member": { - "locationName": "OrderableReplicationInstance", - "type": "structure", - "members": { - "EngineVersion": {}, - "ReplicationInstanceClass": {}, - "StorageType": {}, - "MinAllocatedStorage": { - "type": "integer" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "DefaultAllocatedStorage": { - "type": "integer" - }, - "IncludedAllocatedStorage": { - "type": "integer" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeRefreshSchemasStatus": { - "input": { - "type": "structure", - "required": [ - "EndpointArn" - ], - "members": { - "EndpointArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "RefreshSchemasStatus": { - "shape": "S2w" - } - } - } - }, - "DescribeReplicationInstances": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1y" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "ReplicationInstances": { - "type": "list", - "member": { - "shape": "Su", - "locationName": "ReplicationInstance" - } - } - } - } - }, - "DescribeReplicationSubnetGroups": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1y" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "ReplicationSubnetGroups": { - "type": "list", - "member": { - "shape": "Sz", - "locationName": "ReplicationSubnetGroup" - } - } - } - } - }, - "DescribeReplicationTasks": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S1y" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "ReplicationTasks": { - "type": "list", - "member": { - "shape": "S1c", - "locationName": "ReplicationTask" - } - } - } - } - }, - "DescribeSchemas": { - "input": { - "type": "structure", - "required": [ - "EndpointArn" - ], - "members": { - "EndpointArn": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "Schemas": { - "type": "list", - "member": {} - } - } - } - }, - "DescribeTableStatistics": { - "input": { - "type": "structure", - "required": [ - "ReplicationTaskArn" - ], - "members": { - "ReplicationTaskArn": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationTaskArn": {}, - "TableStatistics": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SchemaName": {}, - "TableName": {}, - "Inserts": { - "type": "long" - }, - "Deletes": { - "type": "long" - }, - "Updates": { - "type": "long" - }, - "Ddls": { - "type": "long" - }, - "FullLoadRows": { - "type": "long" - }, - "FullLoadCondtnlChkFailedRows": { - "type": "long" - }, - "FullLoadErrorRows": { - "type": "long" - }, - "LastUpdateTime": { - "type": "timestamp" - }, - "TableState": {} - } - } - }, - "Marker": {} - } - } - }, - "ImportCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateIdentifier" - ], - "members": { - "CertificateIdentifier": {}, - "CertificatePem": {}, - "CertificateWallet": { - "type": "blob" - }, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Certificate": { - "shape": "S1h" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn" - ], - "members": { - "ResourceArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "TagList": { - "shape": "S3" - } - } - } - }, - "ModifyEndpoint": { - "input": { - "type": "structure", - "required": [ - "EndpointArn" - ], - "members": { - "EndpointArn": {}, - "EndpointIdentifier": {}, - "EndpointType": {}, - "EngineName": {}, - "Username": {}, - "Password": { - "shape": "S8" - }, - "ServerName": {}, - "Port": { - "type": "integer" - }, - "DatabaseName": {}, - "ExtraConnectionAttributes": {}, - "CertificateArn": {}, - "SslMode": {}, - "DynamoDbSettings": { - "shape": "Sb" - }, - "S3Settings": { - "shape": "Sc" - }, - "MongoDbSettings": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "Endpoint": { - "shape": "Sj" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "Sl" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "EventSubscription": { - "shape": "Sp" - } - } - } - }, - "ModifyReplicationInstance": { - "input": { - "type": "structure", - "required": [ - "ReplicationInstanceArn" - ], - "members": { - "ReplicationInstanceArn": {}, - "AllocatedStorage": { - "type": "integer" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "ReplicationInstanceClass": {}, - "VpcSecurityGroupIds": { - "shape": "Ss" - }, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReplicationInstanceIdentifier": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationInstance": { - "shape": "Su" - } - } - } - }, - "ModifyReplicationSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "ReplicationSubnetGroupIdentifier", - "SubnetIds" - ], - "members": { - "ReplicationSubnetGroupIdentifier": {}, - "ReplicationSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S17" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationSubnetGroup": { - "shape": "Sz" - } - } - } - }, - "ModifyReplicationTask": { - "input": { - "type": "structure", - "required": [ - "ReplicationTaskArn" - ], - "members": { - "ReplicationTaskArn": {}, - "ReplicationTaskIdentifier": {}, - "MigrationType": {}, - "TableMappings": {}, - "ReplicationTaskSettings": {}, - "CdcStartTime": { - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationTask": { - "shape": "S1c" - } - } - } - }, - "RefreshSchemas": { - "input": { - "type": "structure", - "required": [ - "EndpointArn", - "ReplicationInstanceArn" - ], - "members": { - "EndpointArn": {}, - "ReplicationInstanceArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "RefreshSchemasStatus": { - "shape": "S2w" - } - } - } - }, - "ReloadTables": { - "input": { - "type": "structure", - "required": [ - "ReplicationTaskArn", - "TablesToReload" - ], - "members": { - "ReplicationTaskArn": {}, - "TablesToReload": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SchemaName": {}, - "TableName": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationTaskArn": {} - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "TagKeys" - ], - "members": { - "ResourceArn": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "StartReplicationTask": { - "input": { - "type": "structure", - "required": [ - "ReplicationTaskArn", - "StartReplicationTaskType" - ], - "members": { - "ReplicationTaskArn": {}, - "StartReplicationTaskType": {}, - "CdcStartTime": { - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationTask": { - "shape": "S1c" - } - } - } - }, - "StopReplicationTask": { - "input": { - "type": "structure", - "required": [ - "ReplicationTaskArn" - ], - "members": { - "ReplicationTaskArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationTask": { - "shape": "S1c" - } - } - } - }, - "TestConnection": { - "input": { - "type": "structure", - "required": [ - "ReplicationInstanceArn", - "EndpointArn" - ], - "members": { - "ReplicationInstanceArn": {}, - "EndpointArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Connection": { - "shape": "S26" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S8": { - "type": "string", - "sensitive": true - }, - "Sb": { - "type": "structure", - "required": [ - "ServiceAccessRoleArn" - ], - "members": { - "ServiceAccessRoleArn": {} - } - }, - "Sc": { - "type": "structure", - "members": { - "ServiceAccessRoleArn": {}, - "ExternalTableDefinition": {}, - "CsvRowDelimiter": {}, - "CsvDelimiter": {}, - "BucketFolder": {}, - "BucketName": {}, - "CompressionType": {} - } - }, - "Se": { - "type": "structure", - "members": { - "Username": {}, - "Password": { - "shape": "S8" - }, - "ServerName": {}, - "Port": { - "type": "integer" - }, - "DatabaseName": {}, - "AuthType": {}, - "AuthMechanism": {}, - "NestingLevel": {}, - "ExtractDocId": {}, - "DocsToInvestigate": {}, - "AuthSource": {} - } - }, - "Sj": { - "type": "structure", - "members": { - "EndpointIdentifier": {}, - "EndpointType": {}, - "EngineName": {}, - "Username": {}, - "ServerName": {}, - "Port": { - "type": "integer" - }, - "DatabaseName": {}, - "ExtraConnectionAttributes": {}, - "Status": {}, - "KmsKeyId": {}, - "EndpointArn": {}, - "CertificateArn": {}, - "SslMode": {}, - "ExternalId": {}, - "DynamoDbSettings": { - "shape": "Sb" - }, - "S3Settings": { - "shape": "Sc" - }, - "MongoDbSettings": { - "shape": "Se" - } - } - }, - "Sl": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "Sm": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "Sp": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "Sm" - }, - "EventCategoriesList": { - "shape": "Sl" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "Ss": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "Su": { - "type": "structure", - "members": { - "ReplicationInstanceIdentifier": {}, - "ReplicationInstanceClass": {}, - "ReplicationInstanceStatus": {}, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "VpcSecurityGroups": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "AvailabilityZone": {}, - "ReplicationSubnetGroup": { - "shape": "Sz" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "ReplicationInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {} - } - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "KmsKeyId": {}, - "ReplicationInstanceArn": {}, - "ReplicationInstancePublicIpAddress": { - "deprecated": true - }, - "ReplicationInstancePrivateIpAddress": { - "deprecated": true - }, - "ReplicationInstancePublicIpAddresses": { - "type": "list", - "member": {} - }, - "ReplicationInstancePrivateIpAddresses": { - "type": "list", - "member": {} - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "SecondaryAvailabilityZone": {} - } - }, - "Sz": { - "type": "structure", - "members": { - "ReplicationSubnetGroupIdentifier": {}, - "ReplicationSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "type": "structure", - "members": { - "Name": {} - } - }, - "SubnetStatus": {} - } - } - } - } - }, - "S17": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1c": { - "type": "structure", - "members": { - "ReplicationTaskIdentifier": {}, - "SourceEndpointArn": {}, - "TargetEndpointArn": {}, - "ReplicationInstanceArn": {}, - "MigrationType": {}, - "TableMappings": {}, - "ReplicationTaskSettings": {}, - "Status": {}, - "LastFailureMessage": {}, - "StopReason": {}, - "ReplicationTaskCreationDate": { - "type": "timestamp" - }, - "ReplicationTaskStartDate": { - "type": "timestamp" - }, - "ReplicationTaskArn": {}, - "ReplicationTaskStats": { - "type": "structure", - "members": { - "FullLoadProgressPercent": { - "type": "integer" - }, - "ElapsedTimeMillis": { - "type": "long" - }, - "TablesLoaded": { - "type": "integer" - }, - "TablesLoading": { - "type": "integer" - }, - "TablesQueued": { - "type": "integer" - }, - "TablesErrored": { - "type": "integer" - } - } - } - } - }, - "S1h": { - "type": "structure", - "members": { - "CertificateIdentifier": {}, - "CertificateCreationDate": { - "type": "timestamp" - }, - "CertificatePem": {}, - "CertificateWallet": { - "type": "blob" - }, - "CertificateArn": {}, - "CertificateOwner": {}, - "ValidFromDate": { - "type": "timestamp" - }, - "ValidToDate": { - "type": "timestamp" - }, - "SigningAlgorithm": {}, - "KeyLength": { - "type": "integer" - } - } - }, - "S1y": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "required": [ - "Name", - "Values" - ], - "members": { - "Name": {}, - "Values": { - "type": "list", - "member": { - "locationName": "Value" - } - } - } - } - }, - "S26": { - "type": "structure", - "members": { - "ReplicationInstanceArn": {}, - "EndpointArn": {}, - "Status": {}, - "LastFailureMessage": {}, - "EndpointIdentifier": {}, - "ReplicationInstanceIdentifier": {} - } - }, - "S2w": { - "type": "structure", - "members": { - "EndpointArn": {}, - "ReplicationInstanceArn": {}, - "Status": {}, - "LastRefreshDate": { - "type": "timestamp" - }, - "LastFailureMessage": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/dms-2016-01-01.paginators.json b/src/node_modules/aws-sdk/apis/dms-2016-01-01.paginators.json deleted file mode 100644 index dd79c61..0000000 --- a/src/node_modules/aws-sdk/apis/dms-2016-01-01.paginators.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "pagination": { - "DescribeCertificates": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeConnections": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeEndpointTypes": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeEndpoints": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeEvents": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeOrderableReplicationInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeReplicationInstances": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeReplicationSubnetGroups": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeReplicationTasks": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeSchemas": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - }, - "DescribeTableStatistics": { - "input_token": "Marker", - "output_token": "Marker", - "limit_key": "MaxRecords" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/ds-2015-04-16.examples.json b/src/node_modules/aws-sdk/apis/ds-2015-04-16.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/ds-2015-04-16.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/ds-2015-04-16.min.json b/src/node_modules/aws-sdk/apis/ds-2015-04-16.min.json deleted file mode 100644 index 4cb65ee..0000000 --- a/src/node_modules/aws-sdk/apis/ds-2015-04-16.min.json +++ /dev/null @@ -1,1185 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-04-16", - "endpointPrefix": "ds", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Directory Service", - "serviceFullName": "AWS Directory Service", - "signatureVersion": "v4", - "targetPrefix": "DirectoryService_20150416", - "uid": "ds-2015-04-16" - }, - "operations": { - "AddIpRoutes": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "IpRoutes" - ], - "members": { - "DirectoryId": {}, - "IpRoutes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CidrIp": {}, - "Description": {} - } - } - }, - "UpdateSecurityGroupForDirectoryControllers": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "Tags" - ], - "members": { - "ResourceId": {}, - "Tags": { - "shape": "Sb" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CancelSchemaExtension": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "SchemaExtensionId" - ], - "members": { - "DirectoryId": {}, - "SchemaExtensionId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ConnectDirectory": { - "input": { - "type": "structure", - "required": [ - "Name", - "Password", - "Size", - "ConnectSettings" - ], - "members": { - "Name": {}, - "ShortName": {}, - "Password": { - "shape": "Sm" - }, - "Description": {}, - "Size": {}, - "ConnectSettings": { - "type": "structure", - "required": [ - "VpcId", - "SubnetIds", - "CustomerDnsIps", - "CustomerUserName" - ], - "members": { - "VpcId": {}, - "SubnetIds": { - "shape": "Sq" - }, - "CustomerDnsIps": { - "shape": "Ss" - }, - "CustomerUserName": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "DirectoryId": {} - } - } - }, - "CreateAlias": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "Alias" - ], - "members": { - "DirectoryId": {}, - "Alias": {} - } - }, - "output": { - "type": "structure", - "members": { - "DirectoryId": {}, - "Alias": {} - } - } - }, - "CreateComputer": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "ComputerName", - "Password" - ], - "members": { - "DirectoryId": {}, - "ComputerName": {}, - "Password": { - "type": "string", - "sensitive": true - }, - "OrganizationalUnitDistinguishedName": {}, - "ComputerAttributes": { - "shape": "S13" - } - } - }, - "output": { - "type": "structure", - "members": { - "Computer": { - "type": "structure", - "members": { - "ComputerId": {}, - "ComputerName": {}, - "ComputerAttributes": { - "shape": "S13" - } - } - } - } - } - }, - "CreateConditionalForwarder": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "RemoteDomainName", - "DnsIpAddrs" - ], - "members": { - "DirectoryId": {}, - "RemoteDomainName": {}, - "DnsIpAddrs": { - "shape": "Ss" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateDirectory": { - "input": { - "type": "structure", - "required": [ - "Name", - "Password", - "Size" - ], - "members": { - "Name": {}, - "ShortName": {}, - "Password": { - "shape": "S1e" - }, - "Description": {}, - "Size": {}, - "VpcSettings": { - "shape": "S1f" - } - } - }, - "output": { - "type": "structure", - "members": { - "DirectoryId": {} - } - } - }, - "CreateMicrosoftAD": { - "input": { - "type": "structure", - "required": [ - "Name", - "Password", - "VpcSettings" - ], - "members": { - "Name": {}, - "ShortName": {}, - "Password": { - "shape": "S1e" - }, - "Description": {}, - "VpcSettings": { - "shape": "S1f" - } - } - }, - "output": { - "type": "structure", - "members": { - "DirectoryId": {} - } - } - }, - "CreateSnapshot": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {}, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "SnapshotId": {} - } - } - }, - "CreateTrust": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "RemoteDomainName", - "TrustPassword", - "TrustDirection" - ], - "members": { - "DirectoryId": {}, - "RemoteDomainName": {}, - "TrustPassword": { - "type": "string", - "sensitive": true - }, - "TrustDirection": {}, - "TrustType": {}, - "ConditionalForwarderIpAddrs": { - "shape": "Ss" - } - } - }, - "output": { - "type": "structure", - "members": { - "TrustId": {} - } - } - }, - "DeleteConditionalForwarder": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "RemoteDomainName" - ], - "members": { - "DirectoryId": {}, - "RemoteDomainName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteDirectory": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {} - } - }, - "output": { - "type": "structure", - "members": { - "DirectoryId": {} - } - } - }, - "DeleteSnapshot": { - "input": { - "type": "structure", - "required": [ - "SnapshotId" - ], - "members": { - "SnapshotId": {} - } - }, - "output": { - "type": "structure", - "members": { - "SnapshotId": {} - } - } - }, - "DeleteTrust": { - "input": { - "type": "structure", - "required": [ - "TrustId" - ], - "members": { - "TrustId": {}, - "DeleteAssociatedConditionalForwarder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "TrustId": {} - } - } - }, - "DeregisterEventTopic": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "TopicName" - ], - "members": { - "DirectoryId": {}, - "TopicName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeConditionalForwarders": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {}, - "RemoteDomainNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "ConditionalForwarders": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RemoteDomainName": {}, - "DnsIpAddrs": { - "shape": "Ss" - }, - "ReplicationScope": {} - } - } - } - } - } - }, - "DescribeDirectories": { - "input": { - "type": "structure", - "members": { - "DirectoryIds": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "DirectoryDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "Name": {}, - "ShortName": {}, - "Size": {}, - "Alias": {}, - "AccessUrl": {}, - "Description": {}, - "DnsIpAddrs": { - "shape": "Ss" - }, - "Stage": {}, - "LaunchTime": { - "type": "timestamp" - }, - "StageLastUpdatedDateTime": { - "type": "timestamp" - }, - "Type": {}, - "VpcSettings": { - "type": "structure", - "members": { - "VpcId": {}, - "SubnetIds": { - "shape": "Sq" - }, - "SecurityGroupId": {}, - "AvailabilityZones": { - "shape": "S2p" - } - } - }, - "ConnectSettings": { - "type": "structure", - "members": { - "VpcId": {}, - "SubnetIds": { - "shape": "Sq" - }, - "CustomerUserName": {}, - "SecurityGroupId": {}, - "AvailabilityZones": { - "shape": "S2p" - }, - "ConnectIps": { - "type": "list", - "member": {} - } - } - }, - "RadiusSettings": { - "shape": "S2t" - }, - "RadiusStatus": {}, - "StageReason": {}, - "SsoEnabled": { - "type": "boolean" - }, - "DesiredNumberOfDomainControllers": { - "type": "integer" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeDomainControllers": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {}, - "DomainControllerIds": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "DomainControllers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "DomainControllerId": {}, - "DnsIpAddr": {}, - "VpcId": {}, - "SubnetId": {}, - "AvailabilityZone": {}, - "Status": {}, - "StatusReason": {}, - "LaunchTime": { - "type": "timestamp" - }, - "StatusLastUpdatedDateTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeEventTopics": { - "input": { - "type": "structure", - "members": { - "DirectoryId": {}, - "TopicNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "EventTopics": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "TopicName": {}, - "TopicArn": {}, - "CreatedDateTime": { - "type": "timestamp" - }, - "Status": {} - } - } - } - } - } - }, - "DescribeSnapshots": { - "input": { - "type": "structure", - "members": { - "DirectoryId": {}, - "SnapshotIds": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Snapshots": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "SnapshotId": {}, - "Type": {}, - "Name": {}, - "Status": {}, - "StartTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeTrusts": { - "input": { - "type": "structure", - "members": { - "DirectoryId": {}, - "TrustIds": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Trusts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "TrustId": {}, - "RemoteDomainName": {}, - "TrustType": {}, - "TrustDirection": {}, - "TrustState": {}, - "CreatedDateTime": { - "type": "timestamp" - }, - "LastUpdatedDateTime": { - "type": "timestamp" - }, - "StateLastUpdatedDateTime": { - "type": "timestamp" - }, - "TrustStateReason": {} - } - } - }, - "NextToken": {} - } - } - }, - "DisableRadius": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisableSso": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {}, - "UserName": {}, - "Password": { - "shape": "Sm" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "EnableRadius": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "RadiusSettings" - ], - "members": { - "DirectoryId": {}, - "RadiusSettings": { - "shape": "S2t" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "EnableSso": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {}, - "UserName": {}, - "Password": { - "shape": "Sm" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "GetDirectoryLimits": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "DirectoryLimits": { - "type": "structure", - "members": { - "CloudOnlyDirectoriesLimit": { - "type": "integer" - }, - "CloudOnlyDirectoriesCurrentCount": { - "type": "integer" - }, - "CloudOnlyDirectoriesLimitReached": { - "type": "boolean" - }, - "CloudOnlyMicrosoftADLimit": { - "type": "integer" - }, - "CloudOnlyMicrosoftADCurrentCount": { - "type": "integer" - }, - "CloudOnlyMicrosoftADLimitReached": { - "type": "boolean" - }, - "ConnectedDirectoriesLimit": { - "type": "integer" - }, - "ConnectedDirectoriesCurrentCount": { - "type": "integer" - }, - "ConnectedDirectoriesLimitReached": { - "type": "boolean" - } - } - } - } - } - }, - "GetSnapshotLimits": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {} - } - }, - "output": { - "type": "structure", - "members": { - "SnapshotLimits": { - "type": "structure", - "members": { - "ManualSnapshotsLimit": { - "type": "integer" - }, - "ManualSnapshotsCurrentCount": { - "type": "integer" - }, - "ManualSnapshotsLimitReached": { - "type": "boolean" - } - } - } - } - } - }, - "ListIpRoutes": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "IpRoutesInfo": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "CidrIp": {}, - "IpRouteStatusMsg": {}, - "AddedDateTime": { - "type": "timestamp" - }, - "IpRouteStatusReason": {}, - "Description": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListSchemaExtensions": { - "input": { - "type": "structure", - "required": [ - "DirectoryId" - ], - "members": { - "DirectoryId": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "SchemaExtensionsInfo": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "SchemaExtensionId": {}, - "Description": {}, - "SchemaExtensionStatus": {}, - "SchemaExtensionStatusReason": {}, - "StartDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceId" - ], - "members": { - "ResourceId": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "Sb" - }, - "NextToken": {} - } - } - }, - "RegisterEventTopic": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "TopicName" - ], - "members": { - "DirectoryId": {}, - "TopicName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RemoveIpRoutes": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "CidrIps" - ], - "members": { - "DirectoryId": {}, - "CidrIps": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "TagKeys" - ], - "members": { - "ResourceId": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RestoreFromSnapshot": { - "input": { - "type": "structure", - "required": [ - "SnapshotId" - ], - "members": { - "SnapshotId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "StartSchemaExtension": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "CreateSnapshotBeforeSchemaExtension", - "LdifContent", - "Description" - ], - "members": { - "DirectoryId": {}, - "CreateSnapshotBeforeSchemaExtension": { - "type": "boolean" - }, - "LdifContent": {}, - "Description": {} - } - }, - "output": { - "type": "structure", - "members": { - "SchemaExtensionId": {} - } - } - }, - "UpdateConditionalForwarder": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "RemoteDomainName", - "DnsIpAddrs" - ], - "members": { - "DirectoryId": {}, - "RemoteDomainName": {}, - "DnsIpAddrs": { - "shape": "Ss" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateNumberOfDomainControllers": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "DesiredNumber" - ], - "members": { - "DirectoryId": {}, - "DesiredNumber": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateRadius": { - "input": { - "type": "structure", - "required": [ - "DirectoryId", - "RadiusSettings" - ], - "members": { - "DirectoryId": {}, - "RadiusSettings": { - "shape": "S2t" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "VerifyTrust": { - "input": { - "type": "structure", - "required": [ - "TrustId" - ], - "members": { - "TrustId": {} - } - }, - "output": { - "type": "structure", - "members": { - "TrustId": {} - } - } - } - }, - "shapes": { - "Sb": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sm": { - "type": "string", - "sensitive": true - }, - "Sq": { - "type": "list", - "member": {} - }, - "Ss": { - "type": "list", - "member": {} - }, - "S13": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": {} - } - } - }, - "S1e": { - "type": "string", - "sensitive": true - }, - "S1f": { - "type": "structure", - "required": [ - "VpcId", - "SubnetIds" - ], - "members": { - "VpcId": {}, - "SubnetIds": { - "shape": "Sq" - } - } - }, - "S2p": { - "type": "list", - "member": {} - }, - "S2t": { - "type": "structure", - "members": { - "RadiusServers": { - "type": "list", - "member": {} - }, - "RadiusPort": { - "type": "integer" - }, - "RadiusTimeout": { - "type": "integer" - }, - "RadiusRetries": { - "type": "integer" - }, - "SharedSecret": { - "type": "string", - "sensitive": true - }, - "AuthenticationProtocol": {}, - "DisplayLabel": {}, - "UseSameUsername": { - "type": "boolean" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/ds-2015-04-16.paginators.json b/src/node_modules/aws-sdk/apis/ds-2015-04-16.paginators.json deleted file mode 100644 index da0b872..0000000 --- a/src/node_modules/aws-sdk/apis/ds-2015-04-16.paginators.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "pagination": { - "DescribeDomainControllers": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "Limit" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json b/src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json deleted file mode 100644 index ddbf519..0000000 --- a/src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json +++ /dev/null @@ -1,664 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2011-12-05", - "endpointPrefix": "dynamodb", - "jsonVersion": "1.0", - "protocol": "json", - "serviceAbbreviation": "DynamoDB", - "serviceFullName": "Amazon DynamoDB", - "signatureVersion": "v4", - "targetPrefix": "DynamoDB_20111205", - "uid": "dynamodb-2011-12-05" - }, - "operations": { - "BatchGetItem": { - "input": { - "type": "structure", - "required": [ - "RequestItems" - ], - "members": { - "RequestItems": { - "shape": "S2" - } - } - }, - "output": { - "type": "structure", - "members": { - "Responses": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Items": { - "shape": "Sk" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "UnprocessedKeys": { - "shape": "S2" - } - } - } - }, - "BatchWriteItem": { - "input": { - "type": "structure", - "required": [ - "RequestItems" - ], - "members": { - "RequestItems": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "members": { - "Responses": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "UnprocessedItems": { - "shape": "So" - } - } - } - }, - "CreateTable": { - "input": { - "type": "structure", - "required": [ - "TableName", - "KeySchema", - "ProvisionedThroughput" - ], - "members": { - "TableName": {}, - "KeySchema": { - "shape": "Sy" - }, - "ProvisionedThroughput": { - "shape": "S12" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S15" - } - } - } - }, - "DeleteItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "Expected": { - "shape": "S1b" - }, - "ReturnValues": {} - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Sl" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "DeleteTable": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {} - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S15" - } - } - } - }, - "DescribeTable": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Table": { - "shape": "S15" - } - } - } - }, - "GetItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "AttributesToGet": { - "shape": "Se" - }, - "ConsistentRead": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Item": { - "shape": "Sl" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "ListTables": { - "input": { - "type": "structure", - "members": { - "ExclusiveStartTableName": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableNames": { - "type": "list", - "member": {} - }, - "LastEvaluatedTableName": {} - } - } - }, - "PutItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Item" - ], - "members": { - "TableName": {}, - "Item": { - "shape": "Ss" - }, - "Expected": { - "shape": "S1b" - }, - "ReturnValues": {} - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Sl" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "Query": { - "input": { - "type": "structure", - "required": [ - "TableName", - "HashKeyValue" - ], - "members": { - "TableName": {}, - "AttributesToGet": { - "shape": "Se" - }, - "Limit": { - "type": "integer" - }, - "ConsistentRead": { - "type": "boolean" - }, - "Count": { - "type": "boolean" - }, - "HashKeyValue": { - "shape": "S7" - }, - "RangeKeyCondition": { - "shape": "S1u" - }, - "ScanIndexForward": { - "type": "boolean" - }, - "ExclusiveStartKey": { - "shape": "S6" - } - } - }, - "output": { - "type": "structure", - "members": { - "Items": { - "shape": "Sk" - }, - "Count": { - "type": "integer" - }, - "LastEvaluatedKey": { - "shape": "S6" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "Scan": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {}, - "AttributesToGet": { - "shape": "Se" - }, - "Limit": { - "type": "integer" - }, - "Count": { - "type": "boolean" - }, - "ScanFilter": { - "type": "map", - "key": {}, - "value": { - "shape": "S1u" - } - }, - "ExclusiveStartKey": { - "shape": "S6" - } - } - }, - "output": { - "type": "structure", - "members": { - "Items": { - "shape": "Sk" - }, - "Count": { - "type": "integer" - }, - "ScannedCount": { - "type": "integer" - }, - "LastEvaluatedKey": { - "shape": "S6" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "UpdateItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key", - "AttributeUpdates" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "AttributeUpdates": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Value": { - "shape": "S7" - }, - "Action": {} - } - } - }, - "Expected": { - "shape": "S1b" - }, - "ReturnValues": {} - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Sl" - }, - "ConsumedCapacityUnits": { - "type": "double" - } - } - } - }, - "UpdateTable": { - "input": { - "type": "structure", - "required": [ - "TableName", - "ProvisionedThroughput" - ], - "members": { - "TableName": {}, - "ProvisionedThroughput": { - "shape": "S12" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S15" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "Keys" - ], - "members": { - "Keys": { - "type": "list", - "member": { - "shape": "S6" - } - }, - "AttributesToGet": { - "shape": "Se" - }, - "ConsistentRead": { - "type": "boolean" - } - } - } - }, - "S6": { - "type": "structure", - "required": [ - "HashKeyElement" - ], - "members": { - "HashKeyElement": { - "shape": "S7" - }, - "RangeKeyElement": { - "shape": "S7" - } - } - }, - "S7": { - "type": "structure", - "members": { - "S": {}, - "N": {}, - "B": { - "type": "blob" - }, - "SS": { - "type": "list", - "member": {} - }, - "NS": { - "type": "list", - "member": {} - }, - "BS": { - "type": "list", - "member": { - "type": "blob" - } - } - } - }, - "Se": { - "type": "list", - "member": {} - }, - "Sk": { - "type": "list", - "member": { - "shape": "Sl" - } - }, - "Sl": { - "type": "map", - "key": {}, - "value": { - "shape": "S7" - } - }, - "So": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PutRequest": { - "type": "structure", - "required": [ - "Item" - ], - "members": { - "Item": { - "shape": "Ss" - } - } - }, - "DeleteRequest": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": { - "shape": "S6" - } - } - } - } - } - } - }, - "Ss": { - "type": "map", - "key": {}, - "value": { - "shape": "S7" - } - }, - "Sy": { - "type": "structure", - "required": [ - "HashKeyElement" - ], - "members": { - "HashKeyElement": { - "shape": "Sz" - }, - "RangeKeyElement": { - "shape": "Sz" - } - } - }, - "Sz": { - "type": "structure", - "required": [ - "AttributeName", - "AttributeType" - ], - "members": { - "AttributeName": {}, - "AttributeType": {} - } - }, - "S12": { - "type": "structure", - "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" - ], - "members": { - "ReadCapacityUnits": { - "type": "long" - }, - "WriteCapacityUnits": { - "type": "long" - } - } - }, - "S15": { - "type": "structure", - "members": { - "TableName": {}, - "KeySchema": { - "shape": "Sy" - }, - "TableStatus": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "ProvisionedThroughput": { - "type": "structure", - "members": { - "LastIncreaseDateTime": { - "type": "timestamp" - }, - "LastDecreaseDateTime": { - "type": "timestamp" - }, - "NumberOfDecreasesToday": { - "type": "long" - }, - "ReadCapacityUnits": { - "type": "long" - }, - "WriteCapacityUnits": { - "type": "long" - } - } - }, - "TableSizeBytes": { - "type": "long" - }, - "ItemCount": { - "type": "long" - } - } - }, - "S1b": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Value": { - "shape": "S7" - }, - "Exists": { - "type": "boolean" - } - } - } - }, - "S1u": { - "type": "structure", - "required": [ - "ComparisonOperator" - ], - "members": { - "AttributeValueList": { - "type": "list", - "member": { - "shape": "S7" - } - }, - "ComparisonOperator": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json b/src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json deleted file mode 100644 index 3037d66..0000000 --- a/src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "pagination": { - "BatchGetItem": { - "input_token": "RequestItems", - "output_token": "UnprocessedKeys" - }, - "ListTables": { - "input_token": "ExclusiveStartTableName", - "limit_key": "Limit", - "output_token": "LastEvaluatedTableName", - "result_key": "TableNames" - }, - "Query": { - "input_token": "ExclusiveStartKey", - "limit_key": "Limit", - "output_token": "LastEvaluatedKey", - "result_key": "Items" - }, - "Scan": { - "input_token": "ExclusiveStartKey", - "limit_key": "Limit", - "output_token": "LastEvaluatedKey", - "result_key": "Items" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters2.json b/src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters2.json deleted file mode 100644 index 43a55ca..0000000 --- a/src/node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters2.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "version": 2, - "waiters": { - "TableExists": { - "delay": 20, - "operation": "DescribeTable", - "maxAttempts": 25, - "acceptors": [ - { - "expected": "ACTIVE", - "matcher": "path", - "state": "success", - "argument": "Table.TableStatus" - }, - { - "expected": "ResourceNotFoundException", - "matcher": "error", - "state": "retry" - } - ] - }, - "TableNotExists": { - "delay": 20, - "operation": "DescribeTable", - "maxAttempts": 25, - "acceptors": [ - { - "expected": "ResourceNotFoundException", - "matcher": "error", - "state": "success" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.examples.json b/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.examples.json deleted file mode 100644 index e66e704..0000000 --- a/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.examples.json +++ /dev/null @@ -1,628 +0,0 @@ -{ - "version": "1.0", - "examples": { - "BatchGetItem": [ - { - "input": { - "RequestItems": { - "Music": { - "Keys": [ - { - "Artist": { - "S": "No One You Know" - }, - "SongTitle": { - "S": "Call Me Today" - } - }, - { - "Artist": { - "S": "Acme Band" - }, - "SongTitle": { - "S": "Happy Day" - } - }, - { - "Artist": { - "S": "No One You Know" - }, - "SongTitle": { - "S": "Scared of My Shadow" - } - } - ], - "ProjectionExpression": "AlbumTitle" - } - } - }, - "output": { - "Responses": { - "Music": [ - { - "AlbumTitle": { - "S": "Somewhat Famous" - } - }, - { - "AlbumTitle": { - "S": "Blue Sky Blues" - } - }, - { - "AlbumTitle": { - "S": "Louder Than Ever" - } - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example reads multiple items from the Music table using a batch of three GetItem requests. Only the AlbumTitle attribute is returned.", - "id": "to-retrieve-multiple-items-from-a-table-1476118438992", - "title": "To retrieve multiple items from a table" - } - ], - "BatchWriteItem": [ - { - "input": { - "RequestItems": { - "Music": [ - { - "PutRequest": { - "Item": { - "AlbumTitle": { - "S": "Somewhat Famous" - }, - "Artist": { - "S": "No One You Know" - }, - "SongTitle": { - "S": "Call Me Today" - } - } - } - }, - { - "PutRequest": { - "Item": { - "AlbumTitle": { - "S": "Songs About Life" - }, - "Artist": { - "S": "Acme Band" - }, - "SongTitle": { - "S": "Happy Day" - } - } - } - }, - { - "PutRequest": { - "Item": { - "AlbumTitle": { - "S": "Blue Sky Blues" - }, - "Artist": { - "S": "No One You Know" - }, - "SongTitle": { - "S": "Scared of My Shadow" - } - } - } - } - ] - } - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds three new items to the Music table using a batch of three PutItem requests.", - "id": "to-add-multiple-items-to-a-table-1476118519747", - "title": "To add multiple items to a table" - } - ], - "CreateTable": [ - { - "input": { - "AttributeDefinitions": [ - { - "AttributeName": "Artist", - "AttributeType": "S" - }, - { - "AttributeName": "SongTitle", - "AttributeType": "S" - } - ], - "KeySchema": [ - { - "AttributeName": "Artist", - "KeyType": "HASH" - }, - { - "AttributeName": "SongTitle", - "KeyType": "RANGE" - } - ], - "ProvisionedThroughput": { - "ReadCapacityUnits": 5, - "WriteCapacityUnits": 5 - }, - "TableName": "Music" - }, - "output": { - "TableDescription": { - "AttributeDefinitions": [ - { - "AttributeName": "Artist", - "AttributeType": "S" - }, - { - "AttributeName": "SongTitle", - "AttributeType": "S" - } - ], - "CreationDateTime": "1421866952.062", - "ItemCount": 0, - "KeySchema": [ - { - "AttributeName": "Artist", - "KeyType": "HASH" - }, - { - "AttributeName": "SongTitle", - "KeyType": "RANGE" - } - ], - "ProvisionedThroughput": { - "ReadCapacityUnits": 5, - "WriteCapacityUnits": 5 - }, - "TableName": "Music", - "TableSizeBytes": 0, - "TableStatus": "CREATING" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a table named Music.", - "id": "to-create-a-table-1476116291743", - "title": "To create a table" - } - ], - "DeleteItem": [ - { - "input": { - "Key": { - "Artist": { - "S": "No One You Know" - }, - "SongTitle": { - "S": "Scared of My Shadow" - } - }, - "TableName": "Music" - }, - "output": { - "ConsumedCapacity": { - "CapacityUnits": 1, - "TableName": "Music" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes an item from the Music table.", - "id": "to-delete-an-item-1475884573758", - "title": "To delete an item" - } - ], - "DeleteTable": [ - { - "input": { - "TableName": "Music" - }, - "output": { - "TableDescription": { - "ItemCount": 0, - "ProvisionedThroughput": { - "NumberOfDecreasesToday": 1, - "ReadCapacityUnits": 5, - "WriteCapacityUnits": 5 - }, - "TableName": "Music", - "TableSizeBytes": 0, - "TableStatus": "DELETING" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the Music table.", - "id": "to-delete-a-table-1475884368755", - "title": "To delete a table" - } - ], - "DescribeLimits": [ - { - "input": { - }, - "output": { - "AccountMaxReadCapacityUnits": 20000, - "AccountMaxWriteCapacityUnits": 20000, - "TableMaxReadCapacityUnits": 10000, - "TableMaxWriteCapacityUnits": 10000 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the maximum read and write capacity units per table, and for the AWS account, in the current AWS region.", - "id": "to-determine-capacity-limits-per-table-and-account-in-the-current-aws-region-1475884162064", - "title": "To determine capacity limits per table and account, in the current AWS region" - } - ], - "DescribeTable": [ - { - "input": { - "TableName": "Music" - }, - "output": { - "Table": { - "AttributeDefinitions": [ - { - "AttributeName": "Artist", - "AttributeType": "S" - }, - { - "AttributeName": "SongTitle", - "AttributeType": "S" - } - ], - "CreationDateTime": "1421866952.062", - "ItemCount": 0, - "KeySchema": [ - { - "AttributeName": "Artist", - "KeyType": "HASH" - }, - { - "AttributeName": "SongTitle", - "KeyType": "RANGE" - } - ], - "ProvisionedThroughput": { - "NumberOfDecreasesToday": 1, - "ReadCapacityUnits": 5, - "WriteCapacityUnits": 5 - }, - "TableName": "Music", - "TableSizeBytes": 0, - "TableStatus": "ACTIVE" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the Music table.", - "id": "to-describe-a-table-1475884440502", - "title": "To describe a table" - } - ], - "GetItem": [ - { - "input": { - "Key": { - "Artist": { - "S": "Acme Band" - }, - "SongTitle": { - "S": "Happy Day" - } - }, - "TableName": "Music" - }, - "output": { - "Item": { - "AlbumTitle": { - "S": "Songs About Life" - }, - "Artist": { - "S": "Acme Band" - }, - "SongTitle": { - "S": "Happy Day" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example retrieves an item from the Music table. The table has a partition key and a sort key (Artist and SongTitle), so you must specify both of these attributes.", - "id": "to-read-an-item-from-a-table-1475884258350", - "title": "To read an item from a table" - } - ], - "ListTables": [ - { - "input": { - }, - "output": { - "TableNames": [ - "Forum", - "ProductCatalog", - "Reply", - "Thread" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists all of the tables associated with the current AWS account and endpoint.", - "id": "to-list-tables-1475884741238", - "title": "To list tables" - } - ], - "PutItem": [ - { - "input": { - "Item": { - "AlbumTitle": { - "S": "Somewhat Famous" - }, - "Artist": { - "S": "No One You Know" - }, - "SongTitle": { - "S": "Call Me Today" - } - }, - "ReturnConsumedCapacity": "TOTAL", - "TableName": "Music" - }, - "output": { - "ConsumedCapacity": { - "CapacityUnits": 1, - "TableName": "Music" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds a new item to the Music table.", - "id": "to-add-an-item-to-a-table-1476116191110", - "title": "To add an item to a table" - } - ], - "Query": [ - { - "input": { - "ExpressionAttributeValues": { - ":v1": { - "S": "No One You Know" - } - }, - "KeyConditionExpression": "Artist = :v1", - "ProjectionExpression": "SongTitle", - "TableName": "Music" - }, - "output": { - "ConsumedCapacity": { - }, - "Count": 2, - "Items": [ - { - "SongTitle": { - "S": "Call Me Today" - } - } - ], - "ScannedCount": 2 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example queries items in the Music table. The table has a partition key and sort key (Artist and SongTitle), but this query only specifies the partition key value. It returns song titles by the artist named \"No One You Know\".", - "id": "to-query-an-item-1475883874631", - "title": "To query an item" - } - ], - "Scan": [ - { - "input": { - "ExpressionAttributeNames": { - "AT": "AlbumTitle", - "ST": "SongTitle" - }, - "ExpressionAttributeValues": { - ":a": { - "S": "No One You Know" - } - }, - "FilterExpression": "Artist = :a", - "ProjectionExpression": "#ST, #AT", - "TableName": "Music" - }, - "output": { - "ConsumedCapacity": { - }, - "Count": 2, - "Items": [ - { - "AlbumTitle": { - "S": "Somewhat Famous" - }, - "SongTitle": { - "S": "Call Me Today" - } - }, - { - "AlbumTitle": { - "S": "Blue Sky Blues" - }, - "SongTitle": { - "S": "Scared of My Shadow" - } - } - ], - "ScannedCount": 3 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example scans the entire Music table, and then narrows the results to songs by the artist \"No One You Know\". For each item, only the album title and song title are returned.", - "id": "to-scan-a-table-1475883652470", - "title": "To scan a table" - } - ], - "UpdateItem": [ - { - "input": { - "ExpressionAttributeNames": { - "#AT": "AlbumTitle", - "#Y": "Year" - }, - "ExpressionAttributeValues": { - ":t": { - "S": "Louder Than Ever" - }, - ":y": { - "N": "2015" - } - }, - "Key": { - "Artist": { - "S": "Acme Band" - }, - "SongTitle": { - "S": "Happy Day" - } - }, - "ReturnValues": "ALL_NEW", - "TableName": "Music", - "UpdateExpression": "SET #Y = :y, #AT = :t" - }, - "output": { - "Attributes": { - "AlbumTitle": { - "S": "Songs About Life" - }, - "Artist": { - "S": "Acme Band" - }, - "SongTitle": { - "S": "Happy Day" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example updates an item in the Music table. It adds a new attribute (Year) and modifies the AlbumTitle attribute. All of the attributes in the item, as they appear after the update, are returned in the response.", - "id": "to-update-an-item-in-a-table-1476118250055", - "title": "To update an item in a table" - } - ], - "UpdateTable": [ - { - "input": { - "ProvisionedThroughput": { - "ReadCapacityUnits": 10, - "WriteCapacityUnits": 10 - }, - "TableName": "MusicCollection" - }, - "output": { - "TableDescription": { - "AttributeDefinitions": [ - { - "AttributeName": "Artist", - "AttributeType": "S" - }, - { - "AttributeName": "SongTitle", - "AttributeType": "S" - } - ], - "CreationDateTime": "1421866952.062", - "ItemCount": 0, - "KeySchema": [ - { - "AttributeName": "Artist", - "KeyType": "HASH" - }, - { - "AttributeName": "SongTitle", - "KeyType": "RANGE" - } - ], - "ProvisionedThroughput": { - "LastIncreaseDateTime": "1421874759.194", - "NumberOfDecreasesToday": 1, - "ReadCapacityUnits": 1, - "WriteCapacityUnits": 1 - }, - "TableName": "MusicCollection", - "TableSizeBytes": 0, - "TableStatus": "UPDATING" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example increases the provisioned read and write capacity on the Music table.", - "id": "to-modify-a-tables-provisioned-throughput-1476118076147", - "title": "To modify a table's provisioned throughput" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json b/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json deleted file mode 100644 index 79b73c0..0000000 --- a/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +++ /dev/null @@ -1,1176 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-08-10", - "endpointPrefix": "dynamodb", - "jsonVersion": "1.0", - "protocol": "json", - "serviceAbbreviation": "DynamoDB", - "serviceFullName": "Amazon DynamoDB", - "signatureVersion": "v4", - "targetPrefix": "DynamoDB_20120810", - "uid": "dynamodb-2012-08-10" - }, - "operations": { - "BatchGetItem": { - "input": { - "type": "structure", - "required": [ - "RequestItems" - ], - "members": { - "RequestItems": { - "shape": "S2" - }, - "ReturnConsumedCapacity": {} - } - }, - "output": { - "type": "structure", - "members": { - "Responses": { - "type": "map", - "key": {}, - "value": { - "shape": "Sr" - } - }, - "UnprocessedKeys": { - "shape": "S2" - }, - "ConsumedCapacity": { - "shape": "St" - } - } - } - }, - "BatchWriteItem": { - "input": { - "type": "structure", - "required": [ - "RequestItems" - ], - "members": { - "RequestItems": { - "shape": "S10" - }, - "ReturnConsumedCapacity": {}, - "ReturnItemCollectionMetrics": {} - } - }, - "output": { - "type": "structure", - "members": { - "UnprocessedItems": { - "shape": "S10" - }, - "ItemCollectionMetrics": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "shape": "S1a" - } - } - }, - "ConsumedCapacity": { - "shape": "St" - } - } - } - }, - "CreateTable": { - "input": { - "type": "structure", - "required": [ - "AttributeDefinitions", - "TableName", - "KeySchema", - "ProvisionedThroughput" - ], - "members": { - "AttributeDefinitions": { - "shape": "S1f" - }, - "TableName": {}, - "KeySchema": { - "shape": "S1j" - }, - "LocalSecondaryIndexes": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "IndexName", - "KeySchema", - "Projection" - ], - "members": { - "IndexName": {}, - "KeySchema": { - "shape": "S1j" - }, - "Projection": { - "shape": "S1o" - } - } - } - }, - "GlobalSecondaryIndexes": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "IndexName", - "KeySchema", - "Projection", - "ProvisionedThroughput" - ], - "members": { - "IndexName": {}, - "KeySchema": { - "shape": "S1j" - }, - "Projection": { - "shape": "S1o" - }, - "ProvisionedThroughput": { - "shape": "S1u" - } - } - } - }, - "ProvisionedThroughput": { - "shape": "S1u" - }, - "StreamSpecification": { - "shape": "S1w" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S20" - } - } - } - }, - "DeleteItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "Expected": { - "shape": "S2e" - }, - "ConditionalOperator": {}, - "ReturnValues": {}, - "ReturnConsumedCapacity": {}, - "ReturnItemCollectionMetrics": {}, - "ConditionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - }, - "ExpressionAttributeValues": { - "shape": "S2m" - } - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Ss" - }, - "ConsumedCapacity": { - "shape": "Su" - }, - "ItemCollectionMetrics": { - "shape": "S1a" - } - } - } - }, - "DeleteTable": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {} - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S20" - } - } - } - }, - "DescribeLimits": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "AccountMaxReadCapacityUnits": { - "type": "long" - }, - "AccountMaxWriteCapacityUnits": { - "type": "long" - }, - "TableMaxReadCapacityUnits": { - "type": "long" - }, - "TableMaxWriteCapacityUnits": { - "type": "long" - } - } - } - }, - "DescribeTable": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Table": { - "shape": "S20" - } - } - } - }, - "DescribeTimeToLive": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {} - } - }, - "output": { - "type": "structure", - "members": { - "TimeToLiveDescription": { - "type": "structure", - "members": { - "TimeToLiveStatus": {}, - "AttributeName": {} - } - } - } - } - }, - "GetItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "AttributesToGet": { - "shape": "Sj" - }, - "ConsistentRead": { - "type": "boolean" - }, - "ReturnConsumedCapacity": {}, - "ProjectionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - } - } - }, - "output": { - "type": "structure", - "members": { - "Item": { - "shape": "Ss" - }, - "ConsumedCapacity": { - "shape": "Su" - } - } - } - }, - "ListTables": { - "input": { - "type": "structure", - "members": { - "ExclusiveStartTableName": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableNames": { - "type": "list", - "member": {} - }, - "LastEvaluatedTableName": {} - } - } - }, - "ListTagsOfResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn" - ], - "members": { - "ResourceArn": {}, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "S3a" - }, - "NextToken": {} - } - } - }, - "PutItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Item" - ], - "members": { - "TableName": {}, - "Item": { - "shape": "S14" - }, - "Expected": { - "shape": "S2e" - }, - "ReturnValues": {}, - "ReturnConsumedCapacity": {}, - "ReturnItemCollectionMetrics": {}, - "ConditionalOperator": {}, - "ConditionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - }, - "ExpressionAttributeValues": { - "shape": "S2m" - } - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Ss" - }, - "ConsumedCapacity": { - "shape": "Su" - }, - "ItemCollectionMetrics": { - "shape": "S1a" - } - } - } - }, - "Query": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {}, - "IndexName": {}, - "Select": {}, - "AttributesToGet": { - "shape": "Sj" - }, - "Limit": { - "type": "integer" - }, - "ConsistentRead": { - "type": "boolean" - }, - "KeyConditions": { - "type": "map", - "key": {}, - "value": { - "shape": "S3k" - } - }, - "QueryFilter": { - "shape": "S3l" - }, - "ConditionalOperator": {}, - "ScanIndexForward": { - "type": "boolean" - }, - "ExclusiveStartKey": { - "shape": "S6" - }, - "ReturnConsumedCapacity": {}, - "ProjectionExpression": {}, - "FilterExpression": {}, - "KeyConditionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - }, - "ExpressionAttributeValues": { - "shape": "S2m" - } - } - }, - "output": { - "type": "structure", - "members": { - "Items": { - "shape": "Sr" - }, - "Count": { - "type": "integer" - }, - "ScannedCount": { - "type": "integer" - }, - "LastEvaluatedKey": { - "shape": "S6" - }, - "ConsumedCapacity": { - "shape": "Su" - } - } - } - }, - "Scan": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "TableName": {}, - "IndexName": {}, - "AttributesToGet": { - "shape": "Sj" - }, - "Limit": { - "type": "integer" - }, - "Select": {}, - "ScanFilter": { - "shape": "S3l" - }, - "ConditionalOperator": {}, - "ExclusiveStartKey": { - "shape": "S6" - }, - "ReturnConsumedCapacity": {}, - "TotalSegments": { - "type": "integer" - }, - "Segment": { - "type": "integer" - }, - "ProjectionExpression": {}, - "FilterExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - }, - "ExpressionAttributeValues": { - "shape": "S2m" - }, - "ConsistentRead": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Items": { - "shape": "Sr" - }, - "Count": { - "type": "integer" - }, - "ScannedCount": { - "type": "integer" - }, - "LastEvaluatedKey": { - "shape": "S6" - }, - "ConsumedCapacity": { - "shape": "Su" - } - } - } - }, - "TagResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "Tags" - ], - "members": { - "ResourceArn": {}, - "Tags": { - "shape": "S3a" - } - } - } - }, - "UntagResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "TagKeys" - ], - "members": { - "ResourceArn": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "UpdateItem": { - "input": { - "type": "structure", - "required": [ - "TableName", - "Key" - ], - "members": { - "TableName": {}, - "Key": { - "shape": "S6" - }, - "AttributeUpdates": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Value": { - "shape": "S8" - }, - "Action": {} - } - } - }, - "Expected": { - "shape": "S2e" - }, - "ConditionalOperator": {}, - "ReturnValues": {}, - "ReturnConsumedCapacity": {}, - "ReturnItemCollectionMetrics": {}, - "UpdateExpression": {}, - "ConditionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - }, - "ExpressionAttributeValues": { - "shape": "S2m" - } - } - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Ss" - }, - "ConsumedCapacity": { - "shape": "Su" - }, - "ItemCollectionMetrics": { - "shape": "S1a" - } - } - } - }, - "UpdateTable": { - "input": { - "type": "structure", - "required": [ - "TableName" - ], - "members": { - "AttributeDefinitions": { - "shape": "S1f" - }, - "TableName": {}, - "ProvisionedThroughput": { - "shape": "S1u" - }, - "GlobalSecondaryIndexUpdates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Update": { - "type": "structure", - "required": [ - "IndexName", - "ProvisionedThroughput" - ], - "members": { - "IndexName": {}, - "ProvisionedThroughput": { - "shape": "S1u" - } - } - }, - "Create": { - "type": "structure", - "required": [ - "IndexName", - "KeySchema", - "Projection", - "ProvisionedThroughput" - ], - "members": { - "IndexName": {}, - "KeySchema": { - "shape": "S1j" - }, - "Projection": { - "shape": "S1o" - }, - "ProvisionedThroughput": { - "shape": "S1u" - } - } - }, - "Delete": { - "type": "structure", - "required": [ - "IndexName" - ], - "members": { - "IndexName": {} - } - } - } - } - }, - "StreamSpecification": { - "shape": "S1w" - } - } - }, - "output": { - "type": "structure", - "members": { - "TableDescription": { - "shape": "S20" - } - } - } - }, - "UpdateTimeToLive": { - "input": { - "type": "structure", - "required": [ - "TableName", - "TimeToLiveSpecification" - ], - "members": { - "TableName": {}, - "TimeToLiveSpecification": { - "shape": "S4a" - } - } - }, - "output": { - "type": "structure", - "members": { - "TimeToLiveSpecification": { - "shape": "S4a" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "Keys" - ], - "members": { - "Keys": { - "type": "list", - "member": { - "shape": "S6" - } - }, - "AttributesToGet": { - "shape": "Sj" - }, - "ConsistentRead": { - "type": "boolean" - }, - "ProjectionExpression": {}, - "ExpressionAttributeNames": { - "shape": "Sm" - } - } - } - }, - "S6": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "S8": { - "type": "structure", - "members": { - "S": {}, - "N": {}, - "B": { - "type": "blob" - }, - "SS": { - "type": "list", - "member": {} - }, - "NS": { - "type": "list", - "member": {} - }, - "BS": { - "type": "list", - "member": { - "type": "blob" - } - }, - "M": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "L": { - "type": "list", - "member": { - "shape": "S8" - } - }, - "NULL": { - "type": "boolean" - }, - "BOOL": { - "type": "boolean" - } - } - }, - "Sj": { - "type": "list", - "member": {} - }, - "Sm": { - "type": "map", - "key": {}, - "value": {} - }, - "Sr": { - "type": "list", - "member": { - "shape": "Ss" - } - }, - "Ss": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "St": { - "type": "list", - "member": { - "shape": "Su" - } - }, - "Su": { - "type": "structure", - "members": { - "TableName": {}, - "CapacityUnits": { - "type": "double" - }, - "Table": { - "shape": "Sw" - }, - "LocalSecondaryIndexes": { - "shape": "Sx" - }, - "GlobalSecondaryIndexes": { - "shape": "Sx" - } - } - }, - "Sw": { - "type": "structure", - "members": { - "CapacityUnits": { - "type": "double" - } - } - }, - "Sx": { - "type": "map", - "key": {}, - "value": { - "shape": "Sw" - } - }, - "S10": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PutRequest": { - "type": "structure", - "required": [ - "Item" - ], - "members": { - "Item": { - "shape": "S14" - } - } - }, - "DeleteRequest": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": { - "shape": "S6" - } - } - } - } - } - } - }, - "S14": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "S1a": { - "type": "structure", - "members": { - "ItemCollectionKey": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "SizeEstimateRangeGB": { - "type": "list", - "member": { - "type": "double" - } - } - } - }, - "S1f": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AttributeName", - "AttributeType" - ], - "members": { - "AttributeName": {}, - "AttributeType": {} - } - } - }, - "S1j": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AttributeName", - "KeyType" - ], - "members": { - "AttributeName": {}, - "KeyType": {} - } - } - }, - "S1o": { - "type": "structure", - "members": { - "ProjectionType": {}, - "NonKeyAttributes": { - "type": "list", - "member": {} - } - } - }, - "S1u": { - "type": "structure", - "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" - ], - "members": { - "ReadCapacityUnits": { - "type": "long" - }, - "WriteCapacityUnits": { - "type": "long" - } - } - }, - "S1w": { - "type": "structure", - "members": { - "StreamEnabled": { - "type": "boolean" - }, - "StreamViewType": {} - } - }, - "S20": { - "type": "structure", - "members": { - "AttributeDefinitions": { - "shape": "S1f" - }, - "TableName": {}, - "KeySchema": { - "shape": "S1j" - }, - "TableStatus": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "ProvisionedThroughput": { - "shape": "S23" - }, - "TableSizeBytes": { - "type": "long" - }, - "ItemCount": { - "type": "long" - }, - "TableArn": {}, - "LocalSecondaryIndexes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IndexName": {}, - "KeySchema": { - "shape": "S1j" - }, - "Projection": { - "shape": "S1o" - }, - "IndexSizeBytes": { - "type": "long" - }, - "ItemCount": { - "type": "long" - }, - "IndexArn": {} - } - } - }, - "GlobalSecondaryIndexes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IndexName": {}, - "KeySchema": { - "shape": "S1j" - }, - "Projection": { - "shape": "S1o" - }, - "IndexStatus": {}, - "Backfilling": { - "type": "boolean" - }, - "ProvisionedThroughput": { - "shape": "S23" - }, - "IndexSizeBytes": { - "type": "long" - }, - "ItemCount": { - "type": "long" - }, - "IndexArn": {} - } - } - }, - "StreamSpecification": { - "shape": "S1w" - }, - "LatestStreamLabel": {}, - "LatestStreamArn": {} - } - }, - "S23": { - "type": "structure", - "members": { - "LastIncreaseDateTime": { - "type": "timestamp" - }, - "LastDecreaseDateTime": { - "type": "timestamp" - }, - "NumberOfDecreasesToday": { - "type": "long" - }, - "ReadCapacityUnits": { - "type": "long" - }, - "WriteCapacityUnits": { - "type": "long" - } - } - }, - "S2e": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Value": { - "shape": "S8" - }, - "Exists": { - "type": "boolean" - }, - "ComparisonOperator": {}, - "AttributeValueList": { - "shape": "S2i" - } - } - } - }, - "S2i": { - "type": "list", - "member": { - "shape": "S8" - } - }, - "S2m": { - "type": "map", - "key": {}, - "value": { - "shape": "S8" - } - }, - "S3a": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S3k": { - "type": "structure", - "required": [ - "ComparisonOperator" - ], - "members": { - "AttributeValueList": { - "shape": "S2i" - }, - "ComparisonOperator": {} - } - }, - "S3l": { - "type": "map", - "key": {}, - "value": { - "shape": "S3k" - } - }, - "S4a": { - "type": "structure", - "required": [ - "Enabled", - "AttributeName" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "AttributeName": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json b/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json deleted file mode 100644 index 3037d66..0000000 --- a/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "pagination": { - "BatchGetItem": { - "input_token": "RequestItems", - "output_token": "UnprocessedKeys" - }, - "ListTables": { - "input_token": "ExclusiveStartTableName", - "limit_key": "Limit", - "output_token": "LastEvaluatedTableName", - "result_key": "TableNames" - }, - "Query": { - "input_token": "ExclusiveStartKey", - "limit_key": "Limit", - "output_token": "LastEvaluatedKey", - "result_key": "Items" - }, - "Scan": { - "input_token": "ExclusiveStartKey", - "limit_key": "Limit", - "output_token": "LastEvaluatedKey", - "result_key": "Items" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters2.json b/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters2.json deleted file mode 100644 index 43a55ca..0000000 --- a/src/node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters2.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "version": 2, - "waiters": { - "TableExists": { - "delay": 20, - "operation": "DescribeTable", - "maxAttempts": 25, - "acceptors": [ - { - "expected": "ACTIVE", - "matcher": "path", - "state": "success", - "argument": "Table.TableStatus" - }, - { - "expected": "ResourceNotFoundException", - "matcher": "error", - "state": "retry" - } - ] - }, - "TableNotExists": { - "delay": 20, - "operation": "DescribeTable", - "maxAttempts": 25, - "acceptors": [ - { - "expected": "ResourceNotFoundException", - "matcher": "error", - "state": "success" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/ec2-2016-11-15.examples.json b/src/node_modules/aws-sdk/apis/ec2-2016-11-15.examples.json deleted file mode 100644 index f6a8719..0000000 --- a/src/node_modules/aws-sdk/apis/ec2-2016-11-15.examples.json +++ /dev/null @@ -1,3740 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AllocateAddress": [ - { - "input": { - "Domain": "vpc" - }, - "output": { - "AllocationId": "eipalloc-64d5890a", - "Domain": "vpc", - "PublicIp": "203.0.113.0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example allocates an Elastic IP address to use with an instance in a VPC.", - "id": "ec2-allocate-address-1", - "title": "To allocate an Elastic IP address for EC2-VPC" - }, - { - "output": { - "Domain": "standard", - "PublicIp": "198.51.100.0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example allocates an Elastic IP address to use with an instance in EC2-Classic.", - "id": "ec2-allocate-address-2", - "title": "To allocate an Elastic IP address for EC2-Classic" - } - ], - "AssignPrivateIpAddresses": [ - { - "input": { - "NetworkInterfaceId": "eni-e5aa89a3", - "PrivateIpAddresses": [ - "10.0.0.82" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example assigns the specified secondary private IP address to the specified network interface.", - "id": "ec2-assign-private-ip-addresses-1", - "title": "To assign a specific secondary private IP address to an interface" - }, - { - "input": { - "NetworkInterfaceId": "eni-e5aa89a3", - "SecondaryPrivateIpAddressCount": 2 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example assigns two secondary private IP addresses to the specified network interface. Amazon EC2 automatically assigns these IP addresses from the available IP addresses in the CIDR block range of the subnet the network interface is associated with.", - "id": "ec2-assign-private-ip-addresses-2", - "title": "To assign secondary private IP addresses that Amazon EC2 selects to an interface" - } - ], - "AssociateAddress": [ - { - "input": { - "AllocationId": "eipalloc-64d5890a", - "InstanceId": "i-0b263919b6498b123" - }, - "output": { - "AssociationId": "eipassoc-2bebb745" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example associates the specified Elastic IP address with the specified instance in a VPC.", - "id": "ec2-associate-address-1", - "title": "To associate an Elastic IP address in EC2-VPC" - }, - { - "input": { - "AllocationId": "eipalloc-64d5890a", - "NetworkInterfaceId": "eni-1a2b3c4d" - }, - "output": { - "AssociationId": "eipassoc-2bebb745" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example associates the specified Elastic IP address with the specified network interface.", - "id": "ec2-associate-address-2", - "title": "To associate an Elastic IP address with a network interface" - }, - { - "input": { - "InstanceId": "i-07ffe74c7330ebf53", - "PublicIp": "198.51.100.0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example associates an Elastic IP address with an instance in EC2-Classic.", - "id": "ec2-associate-address-3", - "title": "To associate an Elastic IP address in EC2-Classic" - } - ], - "AssociateDhcpOptions": [ - { - "input": { - "DhcpOptionsId": "dopt-d9070ebb", - "VpcId": "vpc-a01106c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example associates the specified DHCP options set with the specified VPC.", - "id": "ec2-associate-dhcp-options-1", - "title": "To associate a DHCP options set with a VPC" - }, - { - "input": { - "DhcpOptionsId": "default", - "VpcId": "vpc-a01106c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example associates the default DHCP options set with the specified VPC.", - "id": "ec2-associate-dhcp-options-2", - "title": "To associate the default DHCP options set with a VPC" - } - ], - "AssociateRouteTable": [ - { - "input": { - "RouteTableId": "rtb-22574640", - "SubnetId": "subnet-9d4a7b6" - }, - "output": { - "AssociationId": "rtbassoc-781d0d1a" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example associates the specified route table with the specified subnet.", - "id": "ec2-associate-route-table-1", - "title": "To associate a route table with a subnet" - } - ], - "AttachInternetGateway": [ - { - "input": { - "InternetGatewayId": "igw-c0a643a9", - "VpcId": "vpc-a01106c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example attaches the specified Internet gateway to the specified VPC.", - "id": "ec2-attach-internet-gateway-1", - "title": "To attach an Internet gateway to a VPC" - } - ], - "AttachNetworkInterface": [ - { - "input": { - "DeviceIndex": 1, - "InstanceId": "i-1234567890abcdef0", - "NetworkInterfaceId": "eni-e5aa89a3" - }, - "output": { - "AttachmentId": "eni-attach-66c4350a" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example attaches the specified network interface to the specified instance.", - "id": "ec2-attach-network-interface-1", - "title": "To attach a network interface to an instance" - } - ], - "AttachVolume": [ - { - "input": { - "Device": "/dev/sdf", - "InstanceId": "i-01474ef662b89480", - "VolumeId": "vol-1234567890abcdef0" - }, - "output": { - "AttachTime": "2016-08-29T18:52:32.724Z", - "Device": "/dev/sdf", - "InstanceId": "i-01474ef662b89480", - "State": "attaching", - "VolumeId": "vol-1234567890abcdef0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example attaches a volume (``vol-1234567890abcdef0``) to an instance (``i-01474ef662b89480``) as ``/dev/sdf``.", - "id": "to-attach-a-volume-to-an-instance-1472499213109", - "title": "To attach a volume to an instance" - } - ], - "CancelSpotFleetRequests": [ - { - "input": { - "SpotFleetRequestIds": [ - "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - ], - "TerminateInstances": true - }, - "output": { - "SuccessfulFleetRequests": [ - { - "CurrentSpotFleetRequestState": "cancelled_running", - "PreviousSpotFleetRequestState": "active", - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example cancels the specified Spot fleet request and terminates its associated Spot Instances.", - "id": "ec2-cancel-spot-fleet-requests-1", - "title": "To cancel a Spot fleet request" - }, - { - "input": { - "SpotFleetRequestIds": [ - "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - ], - "TerminateInstances": false - }, - "output": { - "SuccessfulFleetRequests": [ - { - "CurrentSpotFleetRequestState": "cancelled_terminating", - "PreviousSpotFleetRequestState": "active", - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example cancels the specified Spot fleet request without terminating its associated Spot Instances.", - "id": "ec2-cancel-spot-fleet-requests-2", - "title": "To cancel a Spot fleet request without terminating its Spot Instances" - } - ], - "CancelSpotInstanceRequests": [ - { - "input": { - "SpotInstanceRequestIds": [ - "sir-08b93456" - ] - }, - "output": { - "CancelledSpotInstanceRequests": [ - { - "SpotInstanceRequestId": "sir-08b93456", - "State": "cancelled" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example cancels a Spot Instance request.", - "id": "ec2-cancel-spot-instance-requests-1", - "title": "To cancel Spot Instance requests" - } - ], - "ConfirmProductInstance": [ - { - "input": { - "InstanceId": "i-1234567890abcdef0", - "ProductCode": "774F4FF8" - }, - "output": { - "OwnerId": "123456789012" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example determines whether the specified product code is associated with the specified instance.", - "id": "to-confirm-the-product-instance-1472712108494", - "title": "To confirm the product instance" - } - ], - "CopySnapshot": [ - { - "input": { - "Description": "This is my copied snapshot.", - "DestinationRegion": "us-east-1", - "SourceRegion": "us-west-2", - "SourceSnapshotId": "snap-066877671789bd71b" - }, - "output": { - "SnapshotId": "snap-066877671789bd71b" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example copies a snapshot with the snapshot ID of ``snap-066877671789bd71b`` from the ``us-west-2`` region to the ``us-east-1`` region and adds a short description to identify the snapshot.", - "id": "to-copy-a-snapshot-1472502259774", - "title": "To copy a snapshot" - } - ], - "CreateCustomerGateway": [ - { - "input": { - "BgpAsn": 65534, - "PublicIp": "12.1.2.3", - "Type": "ipsec.1" - }, - "output": { - "CustomerGateway": { - "BgpAsn": "65534", - "CustomerGatewayId": "cgw-0e11f167", - "IpAddress": "12.1.2.3", - "State": "available", - "Type": "ipsec.1" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a customer gateway with the specified IP address for its outside interface.", - "id": "ec2-create-customer-gateway-1", - "title": "To create a customer gateway" - } - ], - "CreateDhcpOptions": [ - { - "input": { - "DhcpConfigurations": [ - { - "Key": "domain-name-servers", - "Values": [ - "10.2.5.1", - "10.2.5.2" - ] - } - ] - }, - "output": { - "DhcpOptions": { - "DhcpConfigurations": [ - { - "Key": "domain-name-servers", - "Values": [ - { - "Value": "10.2.5.2" - }, - { - "Value": "10.2.5.1" - } - ] - } - ], - "DhcpOptionsId": "dopt-d9070ebb" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a DHCP options set.", - "id": "ec2-create-dhcp-options-1", - "title": "To create a DHCP options set" - } - ], - "CreateInternetGateway": [ - { - "output": { - "InternetGateway": { - "Attachments": [ - - ], - "InternetGatewayId": "igw-c0a643a9", - "Tags": [ - - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an Internet gateway.", - "id": "ec2-create-internet-gateway-1", - "title": "To create an Internet gateway" - } - ], - "CreateKeyPair": [ - { - "input": { - "KeyName": "my-key-pair" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a key pair named my-key-pair.", - "id": "ec2-create-key-pair-1", - "title": "To create a key pair" - } - ], - "CreateNatGateway": [ - { - "input": { - "AllocationId": "eipalloc-37fc1a52", - "SubnetId": "subnet-1a2b3c4d" - }, - "output": { - "NatGateway": { - "CreateTime": "2015-12-17T12:45:26.732Z", - "NatGatewayAddresses": [ - { - "AllocationId": "eipalloc-37fc1a52" - } - ], - "NatGatewayId": "nat-08d48af2a8e83edfd", - "State": "pending", - "SubnetId": "subnet-1a2b3c4d", - "VpcId": "vpc-1122aabb" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a NAT gateway in subnet subnet-1a2b3c4d and associates an Elastic IP address with the allocation ID eipalloc-37fc1a52 with the NAT gateway.", - "id": "ec2-create-nat-gateway-1", - "title": "To create a NAT gateway" - } - ], - "CreateNetworkAcl": [ - { - "input": { - "VpcId": "vpc-a01106c2" - }, - "output": { - "NetworkAcl": { - "Associations": [ - - ], - "Entries": [ - { - "CidrBlock": "0.0.0.0/0", - "Egress": true, - "Protocol": "-1", - "RuleAction": "deny", - "RuleNumber": 32767 - }, - { - "CidrBlock": "0.0.0.0/0", - "Egress": false, - "Protocol": "-1", - "RuleAction": "deny", - "RuleNumber": 32767 - } - ], - "IsDefault": false, - "NetworkAclId": "acl-5fb85d36", - "Tags": [ - - ], - "VpcId": "vpc-a01106c2" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a network ACL for the specified VPC.", - "id": "ec2-create-network-acl-1", - "title": "To create a network ACL" - } - ], - "CreateNetworkAclEntry": [ - { - "input": { - "CidrBlock": "0.0.0.0/0", - "Egress": false, - "NetworkAclId": "acl-5fb85d36", - "PortRange": { - "From": 53, - "To": 53 - }, - "Protocol": "udp", - "RuleAction": "allow", - "RuleNumber": 100 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an entry for the specified network ACL. The rule allows ingress traffic from anywhere (0.0.0.0/0) on UDP port 53 (DNS) into any associated subnet.", - "id": "ec2-create-network-acl-entry-1", - "title": "To create a network ACL entry" - } - ], - "CreateNetworkInterface": [ - { - "input": { - "Description": "my network interface", - "Groups": [ - "sg-903004f8" - ], - "PrivateIpAddress": "10.0.2.17", - "SubnetId": "subnet-9d4a7b6c" - }, - "output": { - "NetworkInterface": { - "AvailabilityZone": "us-east-1d", - "Description": "my network interface", - "Groups": [ - { - "GroupId": "sg-903004f8", - "GroupName": "default" - } - ], - "MacAddress": "02:1a:80:41:52:9c", - "NetworkInterfaceId": "eni-e5aa89a3", - "OwnerId": "123456789012", - "PrivateIpAddress": "10.0.2.17", - "PrivateIpAddresses": [ - { - "Primary": true, - "PrivateIpAddress": "10.0.2.17" - } - ], - "RequesterManaged": false, - "SourceDestCheck": true, - "Status": "pending", - "SubnetId": "subnet-9d4a7b6c", - "TagSet": [ - - ], - "VpcId": "vpc-a01106c2" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a network interface for the specified subnet.", - "id": "ec2-create-network-interface-1", - "title": "To create a network interface" - } - ], - "CreatePlacementGroup": [ - { - "input": { - "GroupName": "my-cluster", - "Strategy": "cluster" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a placement group with the specified name.", - "id": "to-create-a-placement-group-1472712245768", - "title": "To create a placement group" - } - ], - "CreateRoute": [ - { - "input": { - "DestinationCidrBlock": "0.0.0.0/0", - "GatewayId": "igw-c0a643a9", - "RouteTableId": "rtb-22574640" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a route for the specified route table. The route matches all traffic (0.0.0.0/0) and routes it to the specified Internet gateway.", - "id": "ec2-create-route-1", - "title": "To create a route" - } - ], - "CreateRouteTable": [ - { - "input": { - "VpcId": "vpc-a01106c2" - }, - "output": { - "RouteTable": { - "Associations": [ - - ], - "PropagatingVgws": [ - - ], - "RouteTableId": "rtb-22574640", - "Routes": [ - { - "DestinationCidrBlock": "10.0.0.0/16", - "GatewayId": "local", - "State": "active" - } - ], - "Tags": [ - - ], - "VpcId": "vpc-a01106c2" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a route table for the specified VPC.", - "id": "ec2-create-route-table-1", - "title": "To create a route table" - } - ], - "CreateSnapshot": [ - { - "input": { - "Description": "This is my root volume snapshot.", - "VolumeId": "vol-1234567890abcdef0" - }, - "output": { - "Description": "This is my root volume snapshot.", - "OwnerId": "012345678910", - "SnapshotId": "snap-066877671789bd71b", - "StartTime": "2014-02-28T21:06:01.000Z", - "State": "pending", - "Tags": [ - - ], - "VolumeId": "vol-1234567890abcdef0", - "VolumeSize": 8 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a snapshot of the volume with a volume ID of ``vol-1234567890abcdef0`` and a short description to identify the snapshot.", - "id": "to-create-a-snapshot-1472502529790", - "title": "To create a snapshot" - } - ], - "CreateSpotDatafeedSubscription": [ - { - "input": { - "Bucket": "my-s3-bucket", - "Prefix": "spotdata" - }, - "output": { - "SpotDatafeedSubscription": { - "Bucket": "my-s3-bucket", - "OwnerId": "123456789012", - "Prefix": "spotdata", - "State": "Active" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a Spot Instance data feed for your AWS account.", - "id": "ec2-create-spot-datafeed-subscription-1", - "title": "To create a Spot Instance datafeed" - } - ], - "CreateSubnet": [ - { - "input": { - "CidrBlock": "10.0.1.0/24", - "VpcId": "vpc-a01106c2" - }, - "output": { - "Subnet": { - "AvailabilityZone": "us-west-2c", - "AvailableIpAddressCount": 251, - "CidrBlock": "10.0.1.0/24", - "State": "pending", - "SubnetId": "subnet-9d4a7b6c", - "VpcId": "vpc-a01106c2" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a subnet in the specified VPC with the specified CIDR block. We recommend that you let us select an Availability Zone for you.", - "id": "ec2-create-subnet-1", - "title": "To create a subnet" - } - ], - "CreateTags": [ - { - "input": { - "Resources": [ - "ami-78a54011" - ], - "Tags": [ - { - "Key": "Stack", - "Value": "production" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds the tag Stack=production to the specified image, or overwrites an existing tag for the AMI where the tag key is Stack.", - "id": "ec2-create-tags-1", - "title": "To add a tag to a resource" - } - ], - "CreateVolume": [ - { - "input": { - "AvailabilityZone": "us-east-1a", - "Size": 80, - "VolumeType": "gp2" - }, - "output": { - "AvailabilityZone": "us-east-1a", - "CreateTime": "2016-08-29T18:52:32.724Z", - "Encrypted": false, - "Iops": 240, - "Size": 80, - "SnapshotId": "", - "State": "creating", - "VolumeId": "vol-6b60b7c7", - "VolumeType": "gp2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an 80 GiB General Purpose (SSD) volume in the Availability Zone ``us-east-1a``.", - "id": "to-create-a-new-volume-1472496724296", - "title": "To create a new volume" - }, - { - "input": { - "AvailabilityZone": "us-east-1a", - "Iops": 1000, - "SnapshotId": "snap-066877671789bd71b", - "VolumeType": "io1" - }, - "output": { - "Attachments": [ - - ], - "AvailabilityZone": "us-east-1a", - "CreateTime": "2016-08-29T18:52:32.724Z", - "Iops": 1000, - "Size": 500, - "SnapshotId": "snap-066877671789bd71b", - "State": "creating", - "Tags": [ - - ], - "VolumeId": "vol-1234567890abcdef0", - "VolumeType": "io1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a new Provisioned IOPS (SSD) volume with 1000 provisioned IOPS from a snapshot in the Availability Zone ``us-east-1a``.", - "id": "to-create-a-new-provisioned-iops-ssd-volume-from-a-snapshot-1472498975176", - "title": "To create a new Provisioned IOPS (SSD) volume from a snapshot" - } - ], - "CreateVpc": [ - { - "input": { - "CidrBlock": "10.0.0.0/16" - }, - "output": { - "Vpc": { - "CidrBlock": "10.0.0.0/16", - "DhcpOptionsId": "dopt-7a8b9c2d", - "InstanceTenancy": "default", - "State": "pending", - "VpcId": "vpc-a01106c2" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a VPC with the specified CIDR block.", - "id": "ec2-create-vpc-1", - "title": "To create a VPC" - } - ], - "DeleteCustomerGateway": [ - { - "input": { - "CustomerGatewayId": "cgw-0e11f167" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified customer gateway.", - "id": "ec2-delete-customer-gateway-1", - "title": "To delete a customer gateway" - } - ], - "DeleteDhcpOptions": [ - { - "input": { - "DhcpOptionsId": "dopt-d9070ebb" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified DHCP options set.", - "id": "ec2-delete-dhcp-options-1", - "title": "To delete a DHCP options set" - } - ], - "DeleteInternetGateway": [ - { - "input": { - "InternetGatewayId": "igw-c0a643a9" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified Internet gateway.", - "id": "ec2-delete-internet-gateway-1", - "title": "To delete an Internet gateway" - } - ], - "DeleteKeyPair": [ - { - "input": { - "KeyName": "my-key-pair" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified key pair.", - "id": "ec2-delete-key-pair-1", - "title": "To delete a key pair" - } - ], - "DeleteNatGateway": [ - { - "input": { - "NatGatewayId": "nat-04ae55e711cec5680" - }, - "output": { - "NatGatewayId": "nat-04ae55e711cec5680" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified NAT gateway.", - "id": "ec2-delete-nat-gateway-1", - "title": "To delete a NAT gateway" - } - ], - "DeleteNetworkAcl": [ - { - "input": { - "NetworkAclId": "acl-5fb85d36" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified network ACL.", - "id": "ec2-delete-network-acl-1", - "title": "To delete a network ACL" - } - ], - "DeleteNetworkAclEntry": [ - { - "input": { - "Egress": true, - "NetworkAclId": "acl-5fb85d36", - "RuleNumber": 100 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes ingress rule number 100 from the specified network ACL.", - "id": "ec2-delete-network-acl-entry-1", - "title": "To delete a network ACL entry" - } - ], - "DeleteNetworkInterface": [ - { - "input": { - "NetworkInterfaceId": "eni-e5aa89a3" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified network interface.", - "id": "ec2-delete-network-interface-1", - "title": "To delete a network interface" - } - ], - "DeletePlacementGroup": [ - { - "input": { - "GroupName": "my-cluster" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified placement group.\n", - "id": "to-delete-a-placement-group-1472712349959", - "title": "To delete a placement group" - } - ], - "DeleteRoute": [ - { - "input": { - "DestinationCidrBlock": "0.0.0.0/0", - "RouteTableId": "rtb-22574640" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified route from the specified route table.", - "id": "ec2-delete-route-1", - "title": "To delete a route" - } - ], - "DeleteRouteTable": [ - { - "input": { - "RouteTableId": "rtb-22574640" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified route table.", - "id": "ec2-delete-route-table-1", - "title": "To delete a route table" - } - ], - "DeleteSnapshot": [ - { - "input": { - "SnapshotId": "snap-1234567890abcdef0" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes a snapshot with the snapshot ID of ``snap-1234567890abcdef0``. If the command succeeds, no output is returned.", - "id": "to-delete-a-snapshot-1472503042567", - "title": "To delete a snapshot" - } - ], - "DeleteSpotDatafeedSubscription": [ - { - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes a Spot data feed subscription for the account.", - "id": "ec2-delete-spot-datafeed-subscription-1", - "title": "To cancel a Spot Instance data feed subscription" - } - ], - "DeleteSubnet": [ - { - "input": { - "SubnetId": "subnet-9d4a7b6c" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified subnet.", - "id": "ec2-delete-subnet-1", - "title": "To delete a subnet" - } - ], - "DeleteTags": [ - { - "input": { - "Resources": [ - "ami-78a54011" - ], - "Tags": [ - { - "Key": "Stack", - "Value": "test" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the tag Stack=test from the specified image.", - "id": "ec2-delete-tags-1", - "title": "To delete a tag from a resource" - } - ], - "DeleteVolume": [ - { - "input": { - "VolumeId": "vol-049df61146c4d7901" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes an available volume with the volume ID of ``vol-049df61146c4d7901``. If the command succeeds, no output is returned.", - "id": "to-delete-a-volume-1472503111160", - "title": "To delete a volume" - } - ], - "DeleteVpc": [ - { - "input": { - "VpcId": "vpc-a01106c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified VPC.", - "id": "ec2-delete-vpc-1", - "title": "To delete a VPC" - } - ], - "DescribeAccountAttributes": [ - { - "input": { - "AttributeNames": [ - "supported-platforms" - ] - }, - "output": { - "AccountAttributes": [ - { - "AttributeName": "supported-platforms", - "AttributeValues": [ - { - "AttributeValue": "EC2" - }, - { - "AttributeValue": "VPC" - } - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the supported-platforms attribute for your AWS account.", - "id": "ec2-describe-account-attributes-1", - "title": "To describe a single attribute for your AWS account" - }, - { - "output": { - "AccountAttributes": [ - { - "AttributeName": "supported-platforms", - "AttributeValues": [ - { - "AttributeValue": "EC2" - }, - { - "AttributeValue": "VPC" - } - ] - }, - { - "AttributeName": "vpc-max-security-groups-per-interface", - "AttributeValues": [ - { - "AttributeValue": "5" - } - ] - }, - { - "AttributeName": "max-elastic-ips", - "AttributeValues": [ - { - "AttributeValue": "5" - } - ] - }, - { - "AttributeName": "max-instances", - "AttributeValues": [ - { - "AttributeValue": "20" - } - ] - }, - { - "AttributeName": "vpc-max-elastic-ips", - "AttributeValues": [ - { - "AttributeValue": "5" - } - ] - }, - { - "AttributeName": "default-vpc", - "AttributeValues": [ - { - "AttributeValue": "none" - } - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the attributes for your AWS account.", - "id": "ec2-describe-account-attributes-2", - "title": "To describe all attributes for your AWS account" - } - ], - "DescribeAddresses": [ - { - "output": { - "Addresses": [ - { - "Domain": "standard", - "InstanceId": "i-1234567890abcdef0", - "PublicIp": "198.51.100.0" - }, - { - "AllocationId": "eipalloc-12345678", - "AssociationId": "eipassoc-12345678", - "Domain": "vpc", - "InstanceId": "i-1234567890abcdef0", - "NetworkInterfaceId": "eni-12345678", - "NetworkInterfaceOwnerId": "123456789012", - "PrivateIpAddress": "10.0.1.241", - "PublicIp": "203.0.113.0" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes your Elastic IP addresses.", - "id": "ec2-describe-addresses-1", - "title": "To describe your Elastic IP addresses" - }, - { - "input": { - "Filters": [ - { - "Name": "domain", - "Values": [ - "vpc" - ] - } - ] - }, - "output": { - "Addresses": [ - { - "AllocationId": "eipalloc-12345678", - "AssociationId": "eipassoc-12345678", - "Domain": "vpc", - "InstanceId": "i-1234567890abcdef0", - "NetworkInterfaceId": "eni-12345678", - "NetworkInterfaceOwnerId": "123456789012", - "PrivateIpAddress": "10.0.1.241", - "PublicIp": "203.0.113.0" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes your Elastic IP addresses for use with instances in a VPC.", - "id": "ec2-describe-addresses-2", - "title": "To describe your Elastic IP addresses for EC2-VPC" - }, - { - "input": { - "Filters": [ - { - "Name": "domain", - "Values": [ - "standard" - ] - } - ] - }, - "output": { - "Addresses": [ - { - "Domain": "standard", - "InstanceId": "i-1234567890abcdef0", - "PublicIp": "198.51.100.0" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes your Elastic IP addresses for use with instances in EC2-Classic.", - "id": "ec2-describe-addresses-3", - "title": "To describe your Elastic IP addresses for EC2-Classic" - } - ], - "DescribeAvailabilityZones": [ - { - "output": { - "AvailabilityZones": [ - { - "Messages": [ - - ], - "RegionName": "us-east-1", - "State": "available", - "ZoneName": "us-east-1b" - }, - { - "Messages": [ - - ], - "RegionName": "us-east-1", - "State": "available", - "ZoneName": "us-east-1c" - }, - { - "Messages": [ - - ], - "RegionName": "us-east-1", - "State": "available", - "ZoneName": "us-east-1d" - }, - { - "Messages": [ - - ], - "RegionName": "us-east-1", - "State": "available", - "ZoneName": "us-east-1e" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the Availability Zones that are available to you. The response includes Availability Zones only for the current region.", - "id": "ec2-describe-availability-zones-1", - "title": "To describe your Availability Zones" - } - ], - "DescribeCustomerGateways": [ - { - "input": { - "CustomerGatewayIds": [ - "cgw-0e11f167" - ] - }, - "output": { - "CustomerGateways": [ - { - "BgpAsn": "65534", - "CustomerGatewayId": "cgw-0e11f167", - "IpAddress": "12.1.2.3", - "State": "available", - "Type": "ipsec.1" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified customer gateway.", - "id": "ec2-describe-customer-gateways-1", - "title": "To describe a customer gateway" - } - ], - "DescribeDhcpOptions": [ - { - "input": { - "DhcpOptionsIds": [ - "dopt-d9070ebb" - ] - }, - "output": { - "DhcpOptions": [ - { - "DhcpConfigurations": [ - { - "Key": "domain-name-servers", - "Values": [ - { - "Value": "10.2.5.2" - }, - { - "Value": "10.2.5.1" - } - ] - } - ], - "DhcpOptionsId": "dopt-d9070ebb" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified DHCP options set.", - "id": "ec2-describe-dhcp-options-1", - "title": "To describe a DHCP options set" - } - ], - "DescribeInstanceAttribute": [ - { - "input": { - "Attribute": "instanceType", - "InstanceId": "i-1234567890abcdef0" - }, - "output": { - "InstanceId": "i-1234567890abcdef0", - "InstanceType": { - "Value": "t1.micro" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the instance type of the specified instance.\n", - "id": "to-describe-the-instance-type-1472712432132", - "title": "To describe the instance type" - }, - { - "input": { - "Attribute": "disableApiTermination", - "InstanceId": "i-1234567890abcdef0" - }, - "output": { - "DisableApiTermination": { - "Value": "false" - }, - "InstanceId": "i-1234567890abcdef0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the ``disableApiTermination`` attribute of the specified instance.\n", - "id": "to-describe-the-disableapitermination-attribute-1472712533466", - "title": "To describe the disableApiTermination attribute" - }, - { - "input": { - "Attribute": "blockDeviceMapping", - "InstanceId": "i-1234567890abcdef0" - }, - "output": { - "BlockDeviceMappings": [ - { - "DeviceName": "/dev/sda1", - "Ebs": { - "AttachTime": "2013-05-17T22:42:34.000Z", - "DeleteOnTermination": true, - "Status": "attached", - "VolumeId": "vol-049df61146c4d7901" - } - }, - { - "DeviceName": "/dev/sdf", - "Ebs": { - "AttachTime": "2013-09-10T23:07:00.000Z", - "DeleteOnTermination": false, - "Status": "attached", - "VolumeId": "vol-049df61146c4d7901" - } - } - ], - "InstanceId": "i-1234567890abcdef0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the ``blockDeviceMapping`` attribute of the specified instance.\n", - "id": "to-describe-the-block-device-mapping-for-an-instance-1472712645423", - "title": "To describe the block device mapping for an instance" - } - ], - "DescribeInternetGateways": [ - { - "input": { - "Filters": [ - { - "Name": "attachment.vpc-id", - "Values": [ - "vpc-a01106c2" - ] - } - ] - }, - "output": { - "InternetGateways": [ - { - "Attachments": [ - { - "State": "available", - "VpcId": "vpc-a01106c2" - } - ], - "InternetGatewayId": "igw-c0a643a9", - "Tags": [ - - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the Internet gateway for the specified VPC.", - "id": "ec2-describe-internet-gateways-1", - "title": "To describe the Internet gateway for a VPC" - } - ], - "DescribeKeyPairs": [ - { - "input": { - "KeyNames": [ - "my-key-pair" - ] - }, - "output": { - "KeyPairs": [ - { - "KeyFingerprint": "1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f", - "KeyName": "my-key-pair" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example displays the fingerprint for the specified key.", - "id": "ec2-describe-key-pairs-1", - "title": "To display a key pair" - } - ], - "DescribeMovingAddresses": [ - { - "output": { - "MovingAddressStatuses": [ - { - "MoveStatus": "MovingToVpc", - "PublicIp": "198.51.100.0" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes all of your moving Elastic IP addresses.", - "id": "ec2-describe-moving-addresses-1", - "title": "To describe your moving addresses" - } - ], - "DescribeNatGateways": [ - { - "input": { - "Filter": [ - { - "Name": "vpc-id", - "Values": [ - "vpc-1a2b3c4d" - ] - } - ] - }, - "output": { - "NatGateways": [ - { - "CreateTime": "2015-12-01T12:26:55.983Z", - "NatGatewayAddresses": [ - { - "AllocationId": "eipalloc-89c620ec", - "NetworkInterfaceId": "eni-9dec76cd", - "PrivateIp": "10.0.0.149", - "PublicIp": "198.11.222.333" - } - ], - "NatGatewayId": "nat-05dba92075d71c408", - "State": "available", - "SubnetId": "subnet-847e4dc2", - "VpcId": "vpc-1a2b3c4d" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the NAT gateway for the specified VPC.", - "id": "ec2-describe-nat-gateways-1", - "title": "To describe a NAT gateway" - } - ], - "DescribeNetworkAcls": [ - { - "input": { - "NetworkAclIds": [ - "acl-5fb85d36" - ] - }, - "output": { - "NetworkAcls": [ - { - "Associations": [ - { - "NetworkAclAssociationId": "aclassoc-66ea5f0b", - "NetworkAclId": "acl-9aeb5ef7", - "SubnetId": "subnet-65ea5f08" - } - ], - "Entries": [ - { - "CidrBlock": "0.0.0.0/0", - "Egress": true, - "Protocol": "-1", - "RuleAction": "deny", - "RuleNumber": 32767 - }, - { - "CidrBlock": "0.0.0.0/0", - "Egress": false, - "Protocol": "-1", - "RuleAction": "deny", - "RuleNumber": 32767 - } - ], - "IsDefault": false, - "NetworkAclId": "acl-5fb85d36", - "Tags": [ - - ], - "VpcId": "vpc-a01106c2" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified network ACL.", - "id": "ec2-", - "title": "To describe a network ACL" - } - ], - "DescribeNetworkInterfaceAttribute": [ - { - "input": { - "Attribute": "attachment", - "NetworkInterfaceId": "eni-686ea200" - }, - "output": { - "Attachment": { - "AttachTime": "2015-05-21T20:02:20.000Z", - "AttachmentId": "eni-attach-43348162", - "DeleteOnTermination": true, - "DeviceIndex": 0, - "InstanceId": "i-1234567890abcdef0", - "InstanceOwnerId": "123456789012", - "Status": "attached" - }, - "NetworkInterfaceId": "eni-686ea200" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the attachment attribute of the specified network interface.", - "id": "ec2-describe-network-interface-attribute-1", - "title": "To describe the attachment attribute of a network interface" - }, - { - "input": { - "Attribute": "description", - "NetworkInterfaceId": "eni-686ea200" - }, - "output": { - "Description": { - "Value": "My description" - }, - "NetworkInterfaceId": "eni-686ea200" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the description attribute of the specified network interface.", - "id": "ec2-describe-network-interface-attribute-2", - "title": "To describe the description attribute of a network interface" - }, - { - "input": { - "Attribute": "groupSet", - "NetworkInterfaceId": "eni-686ea200" - }, - "output": { - "Groups": [ - { - "GroupId": "sg-903004f8", - "GroupName": "my-security-group" - } - ], - "NetworkInterfaceId": "eni-686ea200" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the groupSet attribute of the specified network interface.", - "id": "ec2-describe-network-interface-attribute-3", - "title": "To describe the groupSet attribute of a network interface" - }, - { - "input": { - "Attribute": "sourceDestCheck", - "NetworkInterfaceId": "eni-686ea200" - }, - "output": { - "NetworkInterfaceId": "eni-686ea200", - "SourceDestCheck": { - "Value": true - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the sourceDestCheck attribute of the specified network interface.", - "id": "ec2-describe-network-interface-attribute-4", - "title": "To describe the sourceDestCheck attribute of a network interface" - } - ], - "DescribeNetworkInterfaces": [ - { - "input": { - "NetworkInterfaceIds": [ - "eni-e5aa89a3" - ] - }, - "output": { - "NetworkInterfaces": [ - { - "Association": { - "AssociationId": "eipassoc-0fbb766a", - "IpOwnerId": "123456789012", - "PublicDnsName": "ec2-203-0-113-12.compute-1.amazonaws.com", - "PublicIp": "203.0.113.12" - }, - "Attachment": { - "AttachTime": "2013-11-30T23:36:42.000Z", - "AttachmentId": "eni-attach-66c4350a", - "DeleteOnTermination": false, - "DeviceIndex": 1, - "InstanceId": "i-1234567890abcdef0", - "InstanceOwnerId": "123456789012", - "Status": "attached" - }, - "AvailabilityZone": "us-east-1d", - "Description": "my network interface", - "Groups": [ - { - "GroupId": "sg-8637d3e3", - "GroupName": "default" - } - ], - "MacAddress": "02:2f:8f:b0:cf:75", - "NetworkInterfaceId": "eni-e5aa89a3", - "OwnerId": "123456789012", - "PrivateDnsName": "ip-10-0-1-17.ec2.internal", - "PrivateIpAddress": "10.0.1.17", - "PrivateIpAddresses": [ - { - "Association": { - "AssociationId": "eipassoc-0fbb766a", - "IpOwnerId": "123456789012", - "PublicDnsName": "ec2-203-0-113-12.compute-1.amazonaws.com", - "PublicIp": "203.0.113.12" - }, - "Primary": true, - "PrivateDnsName": "ip-10-0-1-17.ec2.internal", - "PrivateIpAddress": "10.0.1.17" - } - ], - "RequesterManaged": false, - "SourceDestCheck": true, - "Status": "in-use", - "SubnetId": "subnet-b61f49f0", - "TagSet": [ - - ], - "VpcId": "vpc-a01106c2" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "", - "id": "ec2-describe-network-interfaces-1", - "title": "To describe a network interface" - } - ], - "DescribeRegions": [ - { - "output": { - "Regions": [ - { - "Endpoint": "ec2.ap-south-1.amazonaws.com", - "RegionName": "ap-south-1" - }, - { - "Endpoint": "ec2.eu-west-1.amazonaws.com", - "RegionName": "eu-west-1" - }, - { - "Endpoint": "ec2.ap-southeast-1.amazonaws.com", - "RegionName": "ap-southeast-1" - }, - { - "Endpoint": "ec2.ap-southeast-2.amazonaws.com", - "RegionName": "ap-southeast-2" - }, - { - "Endpoint": "ec2.eu-central-1.amazonaws.com", - "RegionName": "eu-central-1" - }, - { - "Endpoint": "ec2.ap-northeast-2.amazonaws.com", - "RegionName": "ap-northeast-2" - }, - { - "Endpoint": "ec2.ap-northeast-1.amazonaws.com", - "RegionName": "ap-northeast-1" - }, - { - "Endpoint": "ec2.us-east-1.amazonaws.com", - "RegionName": "us-east-1" - }, - { - "Endpoint": "ec2.sa-east-1.amazonaws.com", - "RegionName": "sa-east-1" - }, - { - "Endpoint": "ec2.us-west-1.amazonaws.com", - "RegionName": "us-west-1" - }, - { - "Endpoint": "ec2.us-west-2.amazonaws.com", - "RegionName": "us-west-2" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes all the regions that are available to you.", - "id": "ec2-describe-regions-1", - "title": "To describe your regions" - } - ], - "DescribeRouteTables": [ - { - "input": { - "RouteTableIds": [ - "rtb-1f382e7d" - ] - }, - "output": { - "RouteTables": [ - { - "Associations": [ - { - "Main": true, - "RouteTableAssociationId": "rtbassoc-d8ccddba", - "RouteTableId": "rtb-1f382e7d" - } - ], - "PropagatingVgws": [ - - ], - "RouteTableId": "rtb-1f382e7d", - "Routes": [ - { - "DestinationCidrBlock": "10.0.0.0/16", - "GatewayId": "local", - "State": "active" - } - ], - "Tags": [ - - ], - "VpcId": "vpc-a01106c2" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified route table.", - "id": "ec2-describe-route-tables-1", - "title": "To describe a route table" - } - ], - "DescribeScheduledInstanceAvailability": [ - { - "input": { - "FirstSlotStartTimeRange": { - "EarliestTime": "2016-01-31T00:00:00Z", - "LatestTime": "2016-01-31T04:00:00Z" - }, - "Recurrence": { - "Frequency": "Weekly", - "Interval": 1, - "OccurrenceDays": [ - 1 - ] - } - }, - "output": { - "ScheduledInstanceAvailabilitySet": [ - { - "AvailabilityZone": "us-west-2b", - "AvailableInstanceCount": 20, - "FirstSlotStartTime": "2016-01-31T00:00:00Z", - "HourlyPrice": "0.095", - "InstanceType": "c4.large", - "MaxTermDurationInDays": 366, - "MinTermDurationInDays": 366, - "NetworkPlatform": "EC2-VPC", - "Platform": "Linux/UNIX", - "PurchaseToken": "eyJ2IjoiMSIsInMiOjEsImMiOi...", - "Recurrence": { - "Frequency": "Weekly", - "Interval": 1, - "OccurrenceDaySet": [ - 1 - ], - "OccurrenceRelativeToEnd": false - }, - "SlotDurationInHours": 23, - "TotalScheduledInstanceHours": 1219 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes a schedule that occurs every week on Sunday, starting on the specified date. Note that the output contains a single schedule as an example.", - "id": "ec2-describe-scheduled-instance-availability-1", - "title": "To describe an available schedule" - } - ], - "DescribeScheduledInstances": [ - { - "input": { - "ScheduledInstanceIds": [ - "sci-1234-1234-1234-1234-123456789012" - ] - }, - "output": { - "ScheduledInstanceSet": [ - { - "AvailabilityZone": "us-west-2b", - "CreateDate": "2016-01-25T21:43:38.612Z", - "HourlyPrice": "0.095", - "InstanceCount": 1, - "InstanceType": "c4.large", - "NetworkPlatform": "EC2-VPC", - "NextSlotStartTime": "2016-01-31T09:00:00Z", - "Platform": "Linux/UNIX", - "Recurrence": { - "Frequency": "Weekly", - "Interval": 1, - "OccurrenceDaySet": [ - 1 - ], - "OccurrenceRelativeToEnd": false, - "OccurrenceUnit": "" - }, - "ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012", - "SlotDurationInHours": 32, - "TermEndDate": "2017-01-31T09:00:00Z", - "TermStartDate": "2016-01-31T09:00:00Z", - "TotalScheduledInstanceHours": 1696 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified Scheduled Instance.", - "id": "ec2-describe-scheduled-instances-1", - "title": "To describe your Scheduled Instances" - } - ], - "DescribeSnapshotAttribute": [ - { - "input": { - "Attribute": "createVolumePermission", - "SnapshotId": "snap-066877671789bd71b" - }, - "output": { - "CreateVolumePermissions": [ - - ], - "SnapshotId": "snap-066877671789bd71b" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the ``createVolumePermission`` attribute on a snapshot with the snapshot ID of ``snap-066877671789bd71b``.", - "id": "to-describe-snapshot-attributes-1472503199736", - "title": "To describe snapshot attributes" - } - ], - "DescribeSnapshots": [ - { - "input": { - "SnapshotIds": [ - "snap-1234567890abcdef0" - ] - }, - "output": { - "NextToken": "", - "Snapshots": [ - { - "Description": "This is my snapshot.", - "OwnerId": "012345678910", - "Progress": "100%", - "SnapshotId": "snap-1234567890abcdef0", - "StartTime": "2014-02-28T21:28:32.000Z", - "State": "completed", - "VolumeId": "vol-049df61146c4d7901", - "VolumeSize": 8 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes a snapshot with the snapshot ID of ``snap-1234567890abcdef0``.", - "id": "to-describe-a-snapshot-1472503807850", - "title": "To describe a snapshot" - }, - { - "input": { - "Filters": [ - { - "Name": "status", - "Values": [ - "pending" - ] - } - ], - "OwnerIds": [ - "012345678910" - ] - }, - "output": { - "NextToken": "", - "Snapshots": [ - { - "Description": "This is my copied snapshot.", - "OwnerId": "012345678910", - "Progress": "87%", - "SnapshotId": "snap-066877671789bd71b", - "StartTime": "2014-02-28T21:37:27.000Z", - "State": "pending", - "VolumeId": "vol-1234567890abcdef0", - "VolumeSize": 8 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes all snapshots owned by the ID 012345678910 that are in the ``pending`` status.", - "id": "to-describe-snapshots-using-filters-1472503929793", - "title": "To describe snapshots using filters" - } - ], - "DescribeSpotDatafeedSubscription": [ - { - "output": { - "SpotDatafeedSubscription": { - "Bucket": "my-s3-bucket", - "OwnerId": "123456789012", - "Prefix": "spotdata", - "State": "Active" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the Spot Instance datafeed subscription for your AWS account.", - "id": "ec2-describe-spot-datafeed-subscription-1", - "title": "To describe the datafeed for your AWS account" - } - ], - "DescribeSpotFleetInstances": [ - { - "input": { - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - }, - "output": { - "ActiveInstances": [ - { - "InstanceId": "i-1234567890abcdef0", - "InstanceType": "m3.medium", - "SpotInstanceRequestId": "sir-08b93456" - } - ], - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists the Spot Instances associated with the specified Spot fleet.", - "id": "ec2-describe-spot-fleet-instances-1", - "title": "To describe the Spot Instances associated with a Spot fleet" - } - ], - "DescribeSpotFleetRequestHistory": [ - { - "input": { - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", - "StartTime": "2015-05-26T00:00:00Z" - }, - "output": { - "HistoryRecords": [ - { - "EventInformation": { - "EventSubType": "submitted" - }, - "EventType": "fleetRequestChange", - "Timestamp": "2015-05-26T23:17:20.697Z" - }, - { - "EventInformation": { - "EventSubType": "active" - }, - "EventType": "fleetRequestChange", - "Timestamp": "2015-05-26T23:17:20.873Z" - }, - { - "EventInformation": { - "EventSubType": "launched", - "InstanceId": "i-1234567890abcdef0" - }, - "EventType": "instanceChange", - "Timestamp": "2015-05-26T23:21:21.712Z" - }, - { - "EventInformation": { - "EventSubType": "launched", - "InstanceId": "i-1234567890abcdef1" - }, - "EventType": "instanceChange", - "Timestamp": "2015-05-26T23:21:21.816Z" - } - ], - "NextToken": "CpHNsscimcV5oH7bSbub03CI2Qms5+ypNpNm+53MNlR0YcXAkp0xFlfKf91yVxSExmbtma3awYxMFzNA663ZskT0AHtJ6TCb2Z8bQC2EnZgyELbymtWPfpZ1ZbauVg+P+TfGlWxWWB/Vr5dk5d4LfdgA/DRAHUrYgxzrEXAMPLE=", - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", - "StartTime": "2015-05-26T00:00:00Z" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example returns the history for the specified Spot fleet starting at the specified time.", - "id": "ec2-describe-spot-fleet-request-history-1", - "title": "To describe Spot fleet history" - } - ], - "DescribeSpotFleetRequests": [ - { - "input": { - "SpotFleetRequestIds": [ - "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - ] - }, - "output": { - "SpotFleetRequestConfigs": [ - { - "SpotFleetRequestConfig": { - "IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role", - "LaunchSpecifications": [ - { - "EbsOptimized": false, - "ImageId": "ami-1a2b3c4d", - "InstanceType": "cc2.8xlarge", - "NetworkInterfaces": [ - { - "AssociatePublicIpAddress": true, - "DeleteOnTermination": false, - "DeviceIndex": 0, - "SecondaryPrivateIpAddressCount": 0, - "SubnetId": "subnet-a61dafcf" - } - ] - }, - { - "EbsOptimized": false, - "ImageId": "ami-1a2b3c4d", - "InstanceType": "r3.8xlarge", - "NetworkInterfaces": [ - { - "AssociatePublicIpAddress": true, - "DeleteOnTermination": false, - "DeviceIndex": 0, - "SecondaryPrivateIpAddressCount": 0, - "SubnetId": "subnet-a61dafcf" - } - ] - } - ], - "SpotPrice": "0.05", - "TargetCapacity": 20 - }, - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", - "SpotFleetRequestState": "active" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified Spot fleet request.", - "id": "ec2-describe-spot-fleet-requests-1", - "title": "To describe a Spot fleet request" - } - ], - "DescribeSpotInstanceRequests": [ - { - "input": { - "SpotInstanceRequestIds": [ - "sir-08b93456" - ] - }, - "output": { - "SpotInstanceRequests": [ - { - "CreateTime": "2014-04-30T18:14:55.000Z", - "InstanceId": "i-1234567890abcdef0", - "LaunchSpecification": { - "BlockDeviceMappings": [ - { - "DeviceName": "/dev/sda1", - "Ebs": { - "DeleteOnTermination": true, - "VolumeSize": 8, - "VolumeType": "standard" - } - } - ], - "EbsOptimized": false, - "ImageId": "ami-7aba833f", - "InstanceType": "m1.small", - "KeyName": "my-key-pair", - "SecurityGroups": [ - { - "GroupId": "sg-e38f24a7", - "GroupName": "my-security-group" - } - ] - }, - "LaunchedAvailabilityZone": "us-west-1b", - "ProductDescription": "Linux/UNIX", - "SpotInstanceRequestId": "sir-08b93456", - "SpotPrice": "0.010000", - "State": "active", - "Status": { - "Code": "fulfilled", - "Message": "Your Spot request is fulfilled.", - "UpdateTime": "2014-04-30T18:16:21.000Z" - }, - "Type": "one-time" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified Spot Instance request.", - "id": "ec2-describe-spot-instance-requests-1", - "title": "To describe a Spot Instance request" - } - ], - "DescribeSpotPriceHistory": [ - { - "input": { - "EndTime": "2014-01-06T08:09:10", - "InstanceTypes": [ - "m1.xlarge" - ], - "ProductDescriptions": [ - "Linux/UNIX (Amazon VPC)" - ], - "StartTime": "2014-01-06T07:08:09" - }, - "output": { - "SpotPriceHistory": [ - { - "AvailabilityZone": "us-west-1a", - "InstanceType": "m1.xlarge", - "ProductDescription": "Linux/UNIX (Amazon VPC)", - "SpotPrice": "0.080000", - "Timestamp": "2014-01-06T04:32:53.000Z" - }, - { - "AvailabilityZone": "us-west-1c", - "InstanceType": "m1.xlarge", - "ProductDescription": "Linux/UNIX (Amazon VPC)", - "SpotPrice": "0.080000", - "Timestamp": "2014-01-05T11:28:26.000Z" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example returns the Spot Price history for m1.xlarge, Linux/UNIX (Amazon VPC) instances for a particular day in January.", - "id": "ec2-describe-spot-price-history-1", - "title": "To describe Spot price history for Linux/UNIX (Amazon VPC)" - } - ], - "DescribeSubnets": [ - { - "input": { - "Filters": [ - { - "Name": "vpc-id", - "Values": [ - "vpc-a01106c2" - ] - } - ] - }, - "output": { - "Subnets": [ - { - "AvailabilityZone": "us-east-1c", - "AvailableIpAddressCount": 251, - "CidrBlock": "10.0.1.0/24", - "DefaultForAz": false, - "MapPublicIpOnLaunch": false, - "State": "available", - "SubnetId": "subnet-9d4a7b6c", - "VpcId": "vpc-a01106c2" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the subnets for the specified VPC.", - "id": "ec2-describe-subnets-1", - "title": "To describe the subnets for a VPC" - } - ], - "DescribeTags": [ - { - "input": { - "Filters": [ - { - "Name": "resource-id", - "Values": [ - "i-1234567890abcdef8" - ] - } - ] - }, - "output": { - "Tags": [ - { - "Key": "Stack", - "ResourceId": "i-1234567890abcdef8", - "ResourceType": "instance", - "Value": "test" - }, - { - "Key": "Name", - "ResourceId": "i-1234567890abcdef8", - "ResourceType": "instance", - "Value": "Beta Server" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the tags for the specified instance.", - "id": "ec2-describe-tags-1", - "title": "To describe the tags for a single resource" - } - ], - "DescribeVolumeAttribute": [ - { - "input": { - "Attribute": "autoEnableIO", - "VolumeId": "vol-049df61146c4d7901" - }, - "output": { - "AutoEnableIO": { - "Value": false - }, - "VolumeId": "vol-049df61146c4d7901" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the ``autoEnableIo`` attribute of the volume with the ID ``vol-049df61146c4d7901``.", - "id": "to-describe-a-volume-attribute-1472505773492", - "title": "To describe a volume attribute" - } - ], - "DescribeVolumeStatus": [ - { - "input": { - "VolumeIds": [ - "vol-1234567890abcdef0" - ] - }, - "output": { - "VolumeStatuses": [ - { - "Actions": [ - - ], - "AvailabilityZone": "us-east-1a", - "Events": [ - - ], - "VolumeId": "vol-1234567890abcdef0", - "VolumeStatus": { - "Details": [ - { - "Name": "io-enabled", - "Status": "passed" - }, - { - "Name": "io-performance", - "Status": "not-applicable" - } - ], - "Status": "ok" - } - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the status for the volume ``vol-1234567890abcdef0``.", - "id": "to-describe-the-status-of-a-single-volume-1472507016193", - "title": "To describe the status of a single volume" - }, - { - "input": { - "Filters": [ - { - "Name": "volume-status.status", - "Values": [ - "impaired" - ] - } - ] - }, - "output": { - "VolumeStatuses": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the status for all volumes that are impaired. In this example output, there are no impaired volumes.", - "id": "to-describe-the-status-of-impaired-volumes-1472507239821", - "title": "To describe the status of impaired volumes" - } - ], - "DescribeVolumes": [ - { - "input": { - }, - "output": { - "NextToken": "", - "Volumes": [ - { - "Attachments": [ - { - "AttachTime": "2013-12-18T22:35:00.000Z", - "DeleteOnTermination": true, - "Device": "/dev/sda1", - "InstanceId": "i-1234567890abcdef0", - "State": "attached", - "VolumeId": "vol-049df61146c4d7901" - } - ], - "AvailabilityZone": "us-east-1a", - "CreateTime": "2013-12-18T22:35:00.084Z", - "Size": 8, - "SnapshotId": "snap-1234567890abcdef0", - "State": "in-use", - "VolumeId": "vol-049df61146c4d7901", - "VolumeType": "standard" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes all of your volumes in the default region.", - "id": "to-describe-all-volumes-1472506358883", - "title": "To describe all volumes" - }, - { - "input": { - "Filters": [ - { - "Name": "attachment.instance-id", - "Values": [ - "i-1234567890abcdef0" - ] - }, - { - "Name": "attachment.delete-on-termination", - "Values": [ - "true" - ] - } - ] - }, - "output": { - "Volumes": [ - { - "Attachments": [ - { - "AttachTime": "2013-12-18T22:35:00.000Z", - "DeleteOnTermination": true, - "Device": "/dev/sda1", - "InstanceId": "i-1234567890abcdef0", - "State": "attached", - "VolumeId": "vol-049df61146c4d7901" - } - ], - "AvailabilityZone": "us-east-1a", - "CreateTime": "2013-12-18T22:35:00.084Z", - "Size": 8, - "SnapshotId": "snap-1234567890abcdef0", - "State": "in-use", - "VolumeId": "vol-049df61146c4d7901", - "VolumeType": "standard" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes all volumes that are both attached to the instance with the ID i-1234567890abcdef0 and set to delete when the instance terminates.", - "id": "to-describe-volumes-that-are-attached-to-a-specific-instance-1472506613578", - "title": "To describe volumes that are attached to a specific instance" - } - ], - "DescribeVpcAttribute": [ - { - "input": { - "Attribute": "enableDnsSupport", - "VpcId": "vpc-a01106c2" - }, - "output": { - "EnableDnsSupport": { - "Value": true - }, - "VpcId": "vpc-a01106c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the enableDnsSupport attribute. This attribute indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.", - "id": "ec2-describe-vpc-attribute-1", - "title": "To describe the enableDnsSupport attribute" - }, - { - "input": { - "Attribute": "enableDnsHostnames", - "VpcId": "vpc-a01106c2" - }, - "output": { - "EnableDnsHostnames": { - "Value": true - }, - "VpcId": "vpc-a01106c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the enableDnsHostnames attribute. This attribute indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.", - "id": "ec2-describe-vpc-attribute-2", - "title": "To describe the enableDnsHostnames attribute" - } - ], - "DescribeVpcs": [ - { - "input": { - "VpcIds": [ - "vpc-a01106c2" - ] - }, - "output": { - "Vpcs": [ - { - "CidrBlock": "10.0.0.0/16", - "DhcpOptionsId": "dopt-7a8b9c2d", - "InstanceTenancy": "default", - "IsDefault": false, - "State": "available", - "Tags": [ - { - "Key": "Name", - "Value": "MyVPC" - } - ], - "VpcId": "vpc-a01106c2" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified VPC.", - "id": "ec2-describe-vpcs-1", - "title": "To describe a VPC" - } - ], - "DetachInternetGateway": [ - { - "input": { - "InternetGatewayId": "igw-c0a643a9", - "VpcId": "vpc-a01106c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example detaches the specified Internet gateway from the specified VPC.", - "id": "ec2-detach-internet-gateway-1", - "title": "To detach an Internet gateway from a VPC" - } - ], - "DetachNetworkInterface": [ - { - "input": { - "AttachmentId": "eni-attach-66c4350a" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example detaches the specified network interface from its attached instance.", - "id": "ec2-detach-network-interface-1", - "title": "To detach a network interface from an instance" - } - ], - "DetachVolume": [ - { - "input": { - "VolumeId": "vol-1234567890abcdef0" - }, - "output": { - "AttachTime": "2014-02-27T19:23:06.000Z", - "Device": "/dev/sdb", - "InstanceId": "i-1234567890abcdef0", - "State": "detaching", - "VolumeId": "vol-049df61146c4d7901" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example detaches the volume (``vol-049df61146c4d7901``) from the instance it is attached to.", - "id": "to-detach-a-volume-from-an-instance-1472507977694", - "title": "To detach a volume from an instance" - } - ], - "DisableVgwRoutePropagation": [ - { - "input": { - "GatewayId": "vgw-9a4cacf3", - "RouteTableId": "rtb-22574640" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example disables the specified virtual private gateway from propagating static routes to the specified route table.", - "id": "ec2-disable-vgw-route-propagation-1", - "title": "To disable route propagation" - } - ], - "DisassociateAddress": [ - { - "input": { - "AssociationId": "eipassoc-2bebb745" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example disassociates an Elastic IP address from an instance in a VPC.", - "id": "ec2-disassociate-address-1", - "title": "To disassociate an Elastic IP address in EC2-VPC" - }, - { - "input": { - "PublicIp": "198.51.100.0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example disassociates an Elastic IP address from an instance in EC2-Classic.", - "id": "ec2-disassociate-address-2", - "title": "To disassociate an Elastic IP addresses in EC2-Classic" - } - ], - "DisassociateRouteTable": [ - { - "input": { - "AssociationId": "rtbassoc-781d0d1a" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example disassociates the specified route table from its associated subnet.", - "id": "ec2-disassociate-route-table-1", - "title": "To disassociate a route table" - } - ], - "EnableVgwRoutePropagation": [ - { - "input": { - "GatewayId": "vgw-9a4cacf3", - "RouteTableId": "rtb-22574640" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example enables the specified virtual private gateway to propagate static routes to the specified route table.", - "id": "ec2-enable-vgw-route-propagation-1", - "title": "To enable route propagation" - } - ], - "EnableVolumeIO": [ - { - "input": { - "VolumeId": "vol-1234567890abcdef0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example enables I/O on volume ``vol-1234567890abcdef0``.", - "id": "to-enable-io-for-a-volume-1472508114867", - "title": "To enable I/O for a volume" - } - ], - "ModifyNetworkInterfaceAttribute": [ - { - "input": { - "Attachment": { - "AttachmentId": "eni-attach-43348162", - "DeleteOnTermination": false - }, - "NetworkInterfaceId": "eni-686ea200" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example modifies the attachment attribute of the specified network interface.", - "id": "ec2-modify-network-interface-attribute-1", - "title": "To modify the attachment attribute of a network interface" - }, - { - "input": { - "Description": { - "Value": "My description" - }, - "NetworkInterfaceId": "eni-686ea200" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example modifies the description attribute of the specified network interface.", - "id": "ec2-modify-network-interface-attribute-2", - "title": "To modify the description attribute of a network interface" - }, - { - "input": { - "Groups": [ - "sg-903004f8", - "sg-1a2b3c4d" - ], - "NetworkInterfaceId": "eni-686ea200" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example command modifies the groupSet attribute of the specified network interface.", - "id": "ec2-modify-network-interface-attribute-3", - "title": "To modify the groupSet attribute of a network interface" - }, - { - "input": { - "NetworkInterfaceId": "eni-686ea200", - "SourceDestCheck": { - "Value": false - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example command modifies the sourceDestCheck attribute of the specified network interface.", - "id": "ec2-modify-network-interface-attribute-4", - "title": "To modify the sourceDestCheck attribute of a network interface" - } - ], - "ModifySnapshotAttribute": [ - { - "input": { - "Attribute": "createVolumePermission", - "OperationType": "remove", - "SnapshotId": "snap-1234567890abcdef0", - "UserIds": [ - "123456789012" - ] - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example modifies snapshot ``snap-1234567890abcdef0`` to remove the create volume permission for a user with the account ID ``123456789012``. If the command succeeds, no output is returned.", - "id": "to-modify-a-snapshot-attribute-1472508385907", - "title": "To modify a snapshot attribute" - }, - { - "input": { - "Attribute": "createVolumePermission", - "GroupNames": [ - "all" - ], - "OperationType": "add", - "SnapshotId": "snap-1234567890abcdef0" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example makes the snapshot ``snap-1234567890abcdef0`` public.", - "id": "to-make-a-snapshot-public-1472508470529", - "title": "To make a snapshot public" - } - ], - "ModifySpotFleetRequest": [ - { - "input": { - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", - "TargetCapacity": 20 - }, - "output": { - "Return": true - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example increases the target capacity of the specified Spot fleet request.", - "id": "ec2-modify-spot-fleet-request-1", - "title": "To increase the target capacity of a Spot fleet request" - }, - { - "input": { - "ExcessCapacityTerminationPolicy": "NoTermination ", - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", - "TargetCapacity": 10 - }, - "output": { - "Return": true - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example decreases the target capacity of the specified Spot fleet request without terminating any Spot Instances as a result.", - "id": "ec2-modify-spot-fleet-request-2", - "title": "To decrease the target capacity of a Spot fleet request" - } - ], - "ModifySubnetAttribute": [ - { - "input": { - "MapPublicIpOnLaunch": { - "Value": true - }, - "SubnetId": "subnet-1a2b3c4d" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example modifies the specified subnet so that all instances launched into this subnet are assigned a public IP address.", - "id": "ec2-modify-subnet-attribute-1", - "title": "To change a subnet's public IP addressing behavior" - } - ], - "ModifyVolumeAttribute": [ - { - "input": { - "AutoEnableIO": { - "Value": true - }, - "DryRun": true, - "VolumeId": "vol-1234567890abcdef0" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example sets the ``autoEnableIo`` attribute of the volume with the ID ``vol-1234567890abcdef0`` to ``true``. If the command succeeds, no output is returned.", - "id": "to-modify-a-volume-attribute-1472508596749", - "title": "To modify a volume attribute" - } - ], - "ModifyVpcAttribute": [ - { - "input": { - "EnableDnsSupport": { - "Value": false - }, - "VpcId": "vpc-a01106c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example modifies the enableDnsSupport attribute. This attribute indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for instances in the VPC to their corresponding IP addresses; otherwise, it does not.", - "id": "ec2-modify-vpc-attribute-1", - "title": "To modify the enableDnsSupport attribute" - }, - { - "input": { - "EnableDnsHostnames": { - "Value": false - }, - "VpcId": "vpc-a01106c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example modifies the enableDnsHostnames attribute. This attribute indicates whether instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.", - "id": "ec2-modify-vpc-attribute-2", - "title": "To modify the enableDnsHostnames attribute" - } - ], - "MoveAddressToVpc": [ - { - "input": { - "PublicIp": "54.123.4.56" - }, - "output": { - "Status": "MoveInProgress" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example moves the specified Elastic IP address to the EC2-VPC platform.", - "id": "ec2-move-address-to-vpc-1", - "title": "To move an address to EC2-VPC" - } - ], - "PurchaseScheduledInstances": [ - { - "input": { - "PurchaseRequests": [ - { - "InstanceCount": 1, - "PurchaseToken": "eyJ2IjoiMSIsInMiOjEsImMiOi..." - } - ] - }, - "output": { - "ScheduledInstanceSet": [ - { - "AvailabilityZone": "us-west-2b", - "CreateDate": "2016-01-25T21:43:38.612Z", - "HourlyPrice": "0.095", - "InstanceCount": 1, - "InstanceType": "c4.large", - "NetworkPlatform": "EC2-VPC", - "NextSlotStartTime": "2016-01-31T09:00:00Z", - "Platform": "Linux/UNIX", - "Recurrence": { - "Frequency": "Weekly", - "Interval": 1, - "OccurrenceDaySet": [ - 1 - ], - "OccurrenceRelativeToEnd": false, - "OccurrenceUnit": "" - }, - "ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012", - "SlotDurationInHours": 32, - "TermEndDate": "2017-01-31T09:00:00Z", - "TermStartDate": "2016-01-31T09:00:00Z", - "TotalScheduledInstanceHours": 1696 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example purchases a Scheduled Instance.", - "id": "ec2-purchase-scheduled-instances-1", - "title": "To purchase a Scheduled Instance" - } - ], - "ReleaseAddress": [ - { - "input": { - "AllocationId": "eipalloc-64d5890a" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example releases an Elastic IP address for use with instances in a VPC.", - "id": "ec2-release-address-1", - "title": "To release an Elastic IP address for EC2-VPC" - }, - { - "input": { - "PublicIp": "198.51.100.0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example releases an Elastic IP address for use with instances in EC2-Classic.", - "id": "ec2-release-address-2", - "title": "To release an Elastic IP addresses for EC2-Classic" - } - ], - "ReplaceNetworkAclAssociation": [ - { - "input": { - "AssociationId": "aclassoc-e5b95c8c", - "NetworkAclId": "acl-5fb85d36" - }, - "output": { - "NewAssociationId": "aclassoc-3999875b" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example associates the specified network ACL with the subnet for the specified network ACL association.", - "id": "ec2-replace-network-acl-association-1", - "title": "To replace the network ACL associated with a subnet" - } - ], - "ReplaceNetworkAclEntry": [ - { - "input": { - "CidrBlock": "203.0.113.12/24", - "Egress": false, - "NetworkAclId": "acl-5fb85d36", - "PortRange": { - "From": 53, - "To": 53 - }, - "Protocol": "udp", - "RuleAction": "allow", - "RuleNumber": 100 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example replaces an entry for the specified network ACL. The new rule 100 allows ingress traffic from 203.0.113.12/24 on UDP port 53 (DNS) into any associated subnet.", - "id": "ec2-replace-network-acl-entry-1", - "title": "To replace a network ACL entry" - } - ], - "ReplaceRoute": [ - { - "input": { - "DestinationCidrBlock": "10.0.0.0/16", - "GatewayId": "vgw-9a4cacf3", - "RouteTableId": "rtb-22574640" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example replaces the specified route in the specified table table. The new route matches the specified CIDR and sends the traffic to the specified virtual private gateway.", - "id": "ec2-replace-route-1", - "title": "To replace a route" - } - ], - "ReplaceRouteTableAssociation": [ - { - "input": { - "AssociationId": "rtbassoc-781d0d1a", - "RouteTableId": "rtb-22574640" - }, - "output": { - "NewAssociationId": "rtbassoc-3a1f0f58" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example associates the specified route table with the subnet for the specified route table association.", - "id": "ec2-replace-route-table-association-1", - "title": "To replace the route table associated with a subnet" - } - ], - "RequestSpotFleet": [ - { - "input": { - "SpotFleetRequestConfig": { - "IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role", - "LaunchSpecifications": [ - { - "IamInstanceProfile": { - "Arn": "arn:aws:iam::123456789012:instance-profile/my-iam-role" - }, - "ImageId": "ami-1a2b3c4d", - "InstanceType": "m3.medium", - "KeyName": "my-key-pair", - "SecurityGroups": [ - { - "GroupId": "sg-1a2b3c4d" - } - ], - "SubnetId": "subnet-1a2b3c4d, subnet-3c4d5e6f" - } - ], - "SpotPrice": "0.04", - "TargetCapacity": 2 - } - }, - "output": { - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a Spot fleet request with two launch specifications that differ only by subnet. The Spot fleet launches the instances in the specified subnet with the lowest price. If the instances are launched in a default VPC, they receive a public IP address by default. If the instances are launched in a nondefault VPC, they do not receive a public IP address by default. Note that you can't specify different subnets from the same Availability Zone in a Spot fleet request.", - "id": "ec2-request-spot-fleet-1", - "title": "To request a Spot fleet in the subnet with the lowest price" - }, - { - "input": { - "SpotFleetRequestConfig": { - "IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role", - "LaunchSpecifications": [ - { - "IamInstanceProfile": { - "Arn": "arn:aws:iam::123456789012:instance-profile/my-iam-role" - }, - "ImageId": "ami-1a2b3c4d", - "InstanceType": "m3.medium", - "KeyName": "my-key-pair", - "Placement": { - "AvailabilityZone": "us-west-2a, us-west-2b" - }, - "SecurityGroups": [ - { - "GroupId": "sg-1a2b3c4d" - } - ] - } - ], - "SpotPrice": "0.04", - "TargetCapacity": 2 - } - }, - "output": { - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a Spot fleet request with two launch specifications that differ only by Availability Zone. The Spot fleet launches the instances in the specified Availability Zone with the lowest price. If your account supports EC2-VPC only, Amazon EC2 launches the Spot instances in the default subnet of the Availability Zone. If your account supports EC2-Classic, Amazon EC2 launches the instances in EC2-Classic in the Availability Zone.", - "id": "ec2-request-spot-fleet-2", - "title": "To request a Spot fleet in the Availability Zone with the lowest price" - }, - { - "input": { - "SpotFleetRequestConfig": { - "IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role", - "LaunchSpecifications": [ - { - "IamInstanceProfile": { - "Arn": "arn:aws:iam::880185128111:instance-profile/my-iam-role" - }, - "ImageId": "ami-1a2b3c4d", - "InstanceType": "m3.medium", - "KeyName": "my-key-pair", - "NetworkInterfaces": [ - { - "AssociatePublicIpAddress": true, - "DeviceIndex": 0, - "Groups": [ - "sg-1a2b3c4d" - ], - "SubnetId": "subnet-1a2b3c4d" - } - ] - } - ], - "SpotPrice": "0.04", - "TargetCapacity": 2 - } - }, - "output": { - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example assigns public addresses to instances launched in a nondefault VPC. Note that when you specify a network interface, you must include the subnet ID and security group ID using the network interface.", - "id": "ec2-request-spot-fleet-3", - "title": "To launch Spot instances in a subnet and assign them public IP addresses" - }, - { - "input": { - "SpotFleetRequestConfig": { - "AllocationStrategy": "diversified", - "IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role", - "LaunchSpecifications": [ - { - "ImageId": "ami-1a2b3c4d", - "InstanceType": "c4.2xlarge", - "SubnetId": "subnet-1a2b3c4d" - }, - { - "ImageId": "ami-1a2b3c4d", - "InstanceType": "m3.2xlarge", - "SubnetId": "subnet-1a2b3c4d" - }, - { - "ImageId": "ami-1a2b3c4d", - "InstanceType": "r3.2xlarge", - "SubnetId": "subnet-1a2b3c4d" - } - ], - "SpotPrice": "0.70", - "TargetCapacity": 30 - } - }, - "output": { - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a Spot fleet request that launches 30 instances using the diversified allocation strategy. The launch specifications differ by instance type. The Spot fleet distributes the instances across the launch specifications such that there are 10 instances of each type.", - "id": "ec2-request-spot-fleet-4", - "title": "To request a Spot fleet using the diversified allocation strategy" - } - ], - "RequestSpotInstances": [ - { - "input": { - "InstanceCount": 5, - "LaunchSpecification": { - "IamInstanceProfile": { - "Arn": "arn:aws:iam::123456789012:instance-profile/my-iam-role" - }, - "ImageId": "ami-1a2b3c4d", - "InstanceType": "m3.medium", - "KeyName": "my-key-pair", - "Placement": { - "AvailabilityZone": "us-west-2a" - }, - "SecurityGroupIds": [ - "sg-1a2b3c4d" - ] - }, - "SpotPrice": "0.03", - "Type": "one-time" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a one-time Spot Instance request for five instances in the specified Availability Zone. If your account supports EC2-VPC only, Amazon EC2 launches the instances in the default subnet of the specified Availability Zone. If your account supports EC2-Classic, Amazon EC2 launches the instances in EC2-Classic in the specified Availability Zone.", - "id": "ec2-request-spot-instances-1", - "title": "To create a one-time Spot Instance request" - }, - { - "input": { - "InstanceCount": 5, - "LaunchSpecification": { - "IamInstanceProfile": { - "Arn": "arn:aws:iam::123456789012:instance-profile/my-iam-role" - }, - "ImageId": "ami-1a2b3c4d", - "InstanceType": "m3.medium", - "SecurityGroupIds": [ - "sg-1a2b3c4d" - ], - "SubnetId": "subnet-1a2b3c4d" - }, - "SpotPrice": "0.050", - "Type": "one-time" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example command creates a one-time Spot Instance request for five instances in the specified subnet. Amazon EC2 launches the instances in the specified subnet. If the VPC is a nondefault VPC, the instances do not receive a public IP address by default.", - "id": "ec2-request-spot-instances-2", - "title": "To create a one-time Spot Instance request" - } - ], - "ResetSnapshotAttribute": [ - { - "input": { - "Attribute": "createVolumePermission", - "SnapshotId": "snap-1234567890abcdef0" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example resets the create volume permissions for snapshot ``snap-1234567890abcdef0``. If the command succeeds, no output is returned.", - "id": "to-reset-a-snapshot-attribute-1472508825735", - "title": "To reset a snapshot attribute" - } - ], - "RestoreAddressToClassic": [ - { - "input": { - "PublicIp": "198.51.100.0" - }, - "output": { - "PublicIp": "198.51.100.0", - "Status": "MoveInProgress" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example restores the specified Elastic IP address to the EC2-Classic platform.", - "id": "ec2-restore-address-to-classic-1", - "title": "To restore an address to EC2-Classic" - } - ], - "RunScheduledInstances": [ - { - "input": { - "InstanceCount": 1, - "LaunchSpecification": { - "IamInstanceProfile": { - "Name": "my-iam-role" - }, - "ImageId": "ami-12345678", - "InstanceType": "c4.large", - "KeyName": "my-key-pair", - "NetworkInterfaces": [ - { - "AssociatePublicIpAddress": true, - "DeviceIndex": 0, - "Groups": [ - "sg-12345678" - ], - "SubnetId": "subnet-12345678" - } - ] - }, - "ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012" - }, - "output": { - "InstanceIdSet": [ - "i-1234567890abcdef0" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example launches the specified Scheduled Instance in a VPC.", - "id": "ec2-run-scheduled-instances-1", - "title": "To launch a Scheduled Instance in a VPC" - }, - { - "input": { - "InstanceCount": 1, - "LaunchSpecification": { - "IamInstanceProfile": { - "Name": "my-iam-role" - }, - "ImageId": "ami-12345678", - "InstanceType": "c4.large", - "KeyName": "my-key-pair", - "Placement": { - "AvailabilityZone": "us-west-2b" - }, - "SecurityGroupIds": [ - "sg-12345678" - ] - }, - "ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012" - }, - "output": { - "InstanceIdSet": [ - "i-1234567890abcdef0" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example launches the specified Scheduled Instance in EC2-Classic.", - "id": "ec2-run-scheduled-instances-2", - "title": "To launch a Scheduled Instance in EC2-Classic" - } - ], - "UnassignPrivateIpAddresses": [ - { - "input": { - "NetworkInterfaceId": "eni-e5aa89a3", - "PrivateIpAddresses": [ - "10.0.0.82" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example unassigns the specified private IP address from the specified network interface.", - "id": "ec2-unassign-private-ip-addresses-1", - "title": "To unassign a secondary private IP address from a network interface" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json b/src/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json deleted file mode 100644 index ae675f0..0000000 --- a/src/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +++ /dev/null @@ -1,11801 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-11-15", - "endpointPrefix": "ec2", - "protocol": "ec2", - "serviceAbbreviation": "Amazon EC2", - "serviceFullName": "Amazon Elastic Compute Cloud", - "signatureVersion": "v4", - "uid": "ec2-2016-11-15", - "xmlNamespace": "http://ec2.amazonaws.com/doc/2016-11-15" - }, - "operations": { - "AcceptReservedInstancesExchangeQuote": { - "input": { - "type": "structure", - "required": [ - "ReservedInstanceIds" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "ReservedInstanceIds": { - "shape": "S3", - "locationName": "ReservedInstanceId" - }, - "TargetConfigurations": { - "shape": "S5", - "locationName": "TargetConfiguration" - } - } - }, - "output": { - "type": "structure", - "members": { - "ExchangeId": { - "locationName": "exchangeId" - } - } - } - }, - "AcceptVpcPeeringConnection": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpcPeeringConnection": { - "shape": "Sb", - "locationName": "vpcPeeringConnection" - } - } - } - }, - "AllocateAddress": { - "input": { - "type": "structure", - "members": { - "Domain": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "PublicIp": { - "locationName": "publicIp" - }, - "AllocationId": { - "locationName": "allocationId" - }, - "Domain": { - "locationName": "domain" - } - } - } - }, - "AllocateHosts": { - "input": { - "type": "structure", - "required": [ - "AvailabilityZone", - "InstanceType", - "Quantity" - ], - "members": { - "AutoPlacement": { - "locationName": "autoPlacement" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Quantity": { - "locationName": "quantity", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "HostIds": { - "shape": "Sr", - "locationName": "hostIdSet" - } - } - } - }, - "AssignIpv6Addresses": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "Ipv6AddressCount": { - "locationName": "ipv6AddressCount", - "type": "integer" - }, - "Ipv6Addresses": { - "shape": "St", - "locationName": "ipv6Addresses" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssignedIpv6Addresses": { - "shape": "St", - "locationName": "assignedIpv6Addresses" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - } - } - } - }, - "AssignPrivateIpAddresses": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "AllowReassignment": { - "locationName": "allowReassignment", - "type": "boolean" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "PrivateIpAddresses": { - "shape": "Sw", - "locationName": "privateIpAddress" - }, - "SecondaryPrivateIpAddressCount": { - "locationName": "secondaryPrivateIpAddressCount", - "type": "integer" - } - } - } - }, - "AssociateAddress": { - "input": { - "type": "structure", - "members": { - "AllocationId": {}, - "InstanceId": {}, - "PublicIp": {}, - "AllowReassociation": { - "locationName": "allowReassociation", - "type": "boolean" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationId": { - "locationName": "associationId" - } - } - } - }, - "AssociateDhcpOptions": { - "input": { - "type": "structure", - "required": [ - "DhcpOptionsId", - "VpcId" - ], - "members": { - "DhcpOptionsId": {}, - "VpcId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "AssociateIamInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "IamInstanceProfile", - "InstanceId" - ], - "members": { - "IamInstanceProfile": { - "shape": "S11" - }, - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IamInstanceProfileAssociation": { - "shape": "S13", - "locationName": "iamInstanceProfileAssociation" - } - } - } - }, - "AssociateRouteTable": { - "input": { - "type": "structure", - "required": [ - "RouteTableId", - "SubnetId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RouteTableId": { - "locationName": "routeTableId" - }, - "SubnetId": { - "locationName": "subnetId" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationId": { - "locationName": "associationId" - } - } - } - }, - "AssociateSubnetCidrBlock": { - "input": { - "type": "structure", - "required": [ - "Ipv6CidrBlock", - "SubnetId" - ], - "members": { - "Ipv6CidrBlock": { - "locationName": "ipv6CidrBlock" - }, - "SubnetId": { - "locationName": "subnetId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Ipv6CidrBlockAssociation": { - "shape": "S1a", - "locationName": "ipv6CidrBlockAssociation" - }, - "SubnetId": { - "locationName": "subnetId" - } - } - } - }, - "AssociateVpcCidrBlock": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "AmazonProvidedIpv6CidrBlock": { - "locationName": "amazonProvidedIpv6CidrBlock", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Ipv6CidrBlockAssociation": { - "shape": "S1f", - "locationName": "ipv6CidrBlockAssociation" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - }, - "AttachClassicLinkVpc": { - "input": { - "type": "structure", - "required": [ - "Groups", - "InstanceId", - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Groups": { - "shape": "S1j", - "locationName": "SecurityGroupId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "AttachInternetGateway": { - "input": { - "type": "structure", - "required": [ - "InternetGatewayId", - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InternetGatewayId": { - "locationName": "internetGatewayId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - }, - "AttachNetworkInterface": { - "input": { - "type": "structure", - "required": [ - "DeviceIndex", - "InstanceId", - "NetworkInterfaceId" - ], - "members": { - "DeviceIndex": { - "locationName": "deviceIndex", - "type": "integer" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - } - } - }, - "output": { - "type": "structure", - "members": { - "AttachmentId": { - "locationName": "attachmentId" - } - } - } - }, - "AttachVolume": { - "input": { - "type": "structure", - "required": [ - "Device", - "InstanceId", - "VolumeId" - ], - "members": { - "Device": {}, - "InstanceId": {}, - "VolumeId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "shape": "S1p" - } - }, - "AttachVpnGateway": { - "input": { - "type": "structure", - "required": [ - "VpcId", - "VpnGatewayId" - ], - "members": { - "VpcId": {}, - "VpnGatewayId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpcAttachment": { - "shape": "S1t", - "locationName": "attachment" - } - } - } - }, - "AuthorizeSecurityGroupEgress": { - "input": { - "type": "structure", - "required": [ - "GroupId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupId": { - "locationName": "groupId" - }, - "IpPermissions": { - "shape": "S1w", - "locationName": "ipPermissions" - }, - "CidrIp": { - "locationName": "cidrIp" - }, - "FromPort": { - "locationName": "fromPort", - "type": "integer" - }, - "IpProtocol": { - "locationName": "ipProtocol" - }, - "ToPort": { - "locationName": "toPort", - "type": "integer" - }, - "SourceSecurityGroupName": { - "locationName": "sourceSecurityGroupName" - }, - "SourceSecurityGroupOwnerId": { - "locationName": "sourceSecurityGroupOwnerId" - } - } - } - }, - "AuthorizeSecurityGroupIngress": { - "input": { - "type": "structure", - "members": { - "CidrIp": {}, - "FromPort": { - "type": "integer" - }, - "GroupId": {}, - "GroupName": {}, - "IpPermissions": { - "shape": "S1w" - }, - "IpProtocol": {}, - "SourceSecurityGroupName": {}, - "SourceSecurityGroupOwnerId": {}, - "ToPort": { - "type": "integer" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "BundleInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "Storage" - ], - "members": { - "InstanceId": {}, - "Storage": { - "shape": "S28" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "BundleTask": { - "shape": "S2c", - "locationName": "bundleInstanceTask" - } - } - } - }, - "CancelBundleTask": { - "input": { - "type": "structure", - "required": [ - "BundleId" - ], - "members": { - "BundleId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "BundleTask": { - "shape": "S2c", - "locationName": "bundleInstanceTask" - } - } - } - }, - "CancelConversionTask": { - "input": { - "type": "structure", - "required": [ - "ConversionTaskId" - ], - "members": { - "ConversionTaskId": { - "locationName": "conversionTaskId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "ReasonMessage": { - "locationName": "reasonMessage" - } - } - } - }, - "CancelExportTask": { - "input": { - "type": "structure", - "required": [ - "ExportTaskId" - ], - "members": { - "ExportTaskId": { - "locationName": "exportTaskId" - } - } - } - }, - "CancelImportTask": { - "input": { - "type": "structure", - "members": { - "CancelReason": {}, - "DryRun": { - "type": "boolean" - }, - "ImportTaskId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ImportTaskId": { - "locationName": "importTaskId" - }, - "PreviousState": { - "locationName": "previousState" - }, - "State": { - "locationName": "state" - } - } - } - }, - "CancelReservedInstancesListing": { - "input": { - "type": "structure", - "required": [ - "ReservedInstancesListingId" - ], - "members": { - "ReservedInstancesListingId": { - "locationName": "reservedInstancesListingId" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesListings": { - "shape": "S2n", - "locationName": "reservedInstancesListingsSet" - } - } - } - }, - "CancelSpotFleetRequests": { - "input": { - "type": "structure", - "required": [ - "SpotFleetRequestIds", - "TerminateInstances" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotFleetRequestIds": { - "shape": "S2z", - "locationName": "spotFleetRequestId" - }, - "TerminateInstances": { - "locationName": "terminateInstances", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "SuccessfulFleetRequests": { - "locationName": "successfulFleetRequestSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "CurrentSpotFleetRequestState", - "PreviousSpotFleetRequestState", - "SpotFleetRequestId" - ], - "members": { - "CurrentSpotFleetRequestState": { - "locationName": "currentSpotFleetRequestState" - }, - "PreviousSpotFleetRequestState": { - "locationName": "previousSpotFleetRequestState" - }, - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - } - } - } - }, - "UnsuccessfulFleetRequests": { - "locationName": "unsuccessfulFleetRequestSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "Error", - "SpotFleetRequestId" - ], - "members": { - "Error": { - "locationName": "error", - "type": "structure", - "required": [ - "Code", - "Message" - ], - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - }, - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - } - } - } - } - } - } - }, - "CancelSpotInstanceRequests": { - "input": { - "type": "structure", - "required": [ - "SpotInstanceRequestIds" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotInstanceRequestIds": { - "shape": "S39", - "locationName": "SpotInstanceRequestId" - } - } - }, - "output": { - "type": "structure", - "members": { - "CancelledSpotInstanceRequests": { - "locationName": "spotInstanceRequestSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "SpotInstanceRequestId": { - "locationName": "spotInstanceRequestId" - }, - "State": { - "locationName": "state" - } - } - } - } - } - } - }, - "ConfirmProductInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "ProductCode" - ], - "members": { - "InstanceId": {}, - "ProductCode": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "OwnerId": { - "locationName": "ownerId" - }, - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "CopyImage": { - "input": { - "type": "structure", - "required": [ - "Name", - "SourceImageId", - "SourceRegion" - ], - "members": { - "ClientToken": {}, - "Description": {}, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "KmsKeyId": { - "locationName": "kmsKeyId" - }, - "Name": {}, - "SourceImageId": {}, - "SourceRegion": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - } - } - } - }, - "CopySnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceRegion", - "SourceSnapshotId" - ], - "members": { - "Description": {}, - "DestinationRegion": { - "locationName": "destinationRegion" - }, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "KmsKeyId": { - "locationName": "kmsKeyId" - }, - "PresignedUrl": { - "locationName": "presignedUrl" - }, - "SourceRegion": {}, - "SourceSnapshotId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "SnapshotId": { - "locationName": "snapshotId" - } - } - } - }, - "CreateCustomerGateway": { - "input": { - "type": "structure", - "required": [ - "BgpAsn", - "PublicIp", - "Type" - ], - "members": { - "BgpAsn": { - "type": "integer" - }, - "PublicIp": { - "locationName": "IpAddress" - }, - "Type": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "CustomerGateway": { - "shape": "S3n", - "locationName": "customerGateway" - } - } - } - }, - "CreateDhcpOptions": { - "input": { - "type": "structure", - "required": [ - "DhcpConfigurations" - ], - "members": { - "DhcpConfigurations": { - "locationName": "dhcpConfiguration", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Key": { - "locationName": "key" - }, - "Values": { - "shape": "S2z", - "locationName": "Value" - } - } - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "DhcpOptions": { - "shape": "S3s", - "locationName": "dhcpOptions" - } - } - } - }, - "CreateEgressOnlyInternetGateway": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "ClientToken": {}, - "DryRun": { - "type": "boolean" - }, - "VpcId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientToken": { - "locationName": "clientToken" - }, - "EgressOnlyInternetGateway": { - "shape": "S3z", - "locationName": "egressOnlyInternetGateway" - } - } - } - }, - "CreateFlowLogs": { - "input": { - "type": "structure", - "required": [ - "DeliverLogsPermissionArn", - "LogGroupName", - "ResourceIds", - "ResourceType", - "TrafficType" - ], - "members": { - "ClientToken": {}, - "DeliverLogsPermissionArn": {}, - "LogGroupName": {}, - "ResourceIds": { - "shape": "S2z", - "locationName": "ResourceId" - }, - "ResourceType": {}, - "TrafficType": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientToken": { - "locationName": "clientToken" - }, - "FlowLogIds": { - "shape": "S2z", - "locationName": "flowLogIdSet" - }, - "Unsuccessful": { - "shape": "S47", - "locationName": "unsuccessful" - } - } - } - }, - "CreateFpgaImage": { - "input": { - "type": "structure", - "required": [ - "InputStorageLocation" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "InputStorageLocation": { - "shape": "S4b" - }, - "LogsStorageLocation": { - "shape": "S4b" - }, - "Description": {}, - "Name": {}, - "ClientToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FpgaImageId": { - "locationName": "fpgaImageId" - }, - "FpgaImageGlobalId": { - "locationName": "fpgaImageGlobalId" - } - } - } - }, - "CreateImage": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "Name" - ], - "members": { - "BlockDeviceMappings": { - "shape": "S4e", - "locationName": "blockDeviceMapping" - }, - "Description": { - "locationName": "description" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Name": { - "locationName": "name" - }, - "NoReboot": { - "locationName": "noReboot", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - } - } - } - }, - "CreateInstanceExportTask": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "Description": { - "locationName": "description" - }, - "ExportToS3Task": { - "locationName": "exportToS3", - "type": "structure", - "members": { - "ContainerFormat": { - "locationName": "containerFormat" - }, - "DiskImageFormat": { - "locationName": "diskImageFormat" - }, - "S3Bucket": { - "locationName": "s3Bucket" - }, - "S3Prefix": { - "locationName": "s3Prefix" - } - } - }, - "InstanceId": { - "locationName": "instanceId" - }, - "TargetEnvironment": { - "locationName": "targetEnvironment" - } - } - }, - "output": { - "type": "structure", - "members": { - "ExportTask": { - "shape": "S4p", - "locationName": "exportTask" - } - } - } - }, - "CreateInternetGateway": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "InternetGateway": { - "shape": "S4v", - "locationName": "internetGateway" - } - } - } - }, - "CreateKeyPair": { - "input": { - "type": "structure", - "required": [ - "KeyName" - ], - "members": { - "KeyName": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyFingerprint": { - "locationName": "keyFingerprint" - }, - "KeyMaterial": { - "locationName": "keyMaterial" - }, - "KeyName": { - "locationName": "keyName" - } - } - } - }, - "CreateNatGateway": { - "input": { - "type": "structure", - "required": [ - "AllocationId", - "SubnetId" - ], - "members": { - "AllocationId": {}, - "ClientToken": {}, - "SubnetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientToken": { - "locationName": "clientToken" - }, - "NatGateway": { - "shape": "S50", - "locationName": "natGateway" - } - } - } - }, - "CreateNetworkAcl": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NetworkAcl": { - "shape": "S57", - "locationName": "networkAcl" - } - } - } - }, - "CreateNetworkAclEntry": { - "input": { - "type": "structure", - "required": [ - "Egress", - "NetworkAclId", - "Protocol", - "RuleAction", - "RuleNumber" - ], - "members": { - "CidrBlock": { - "locationName": "cidrBlock" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Egress": { - "locationName": "egress", - "type": "boolean" - }, - "IcmpTypeCode": { - "shape": "S5c", - "locationName": "Icmp" - }, - "Ipv6CidrBlock": { - "locationName": "ipv6CidrBlock" - }, - "NetworkAclId": { - "locationName": "networkAclId" - }, - "PortRange": { - "shape": "S5d", - "locationName": "portRange" - }, - "Protocol": { - "locationName": "protocol" - }, - "RuleAction": { - "locationName": "ruleAction" - }, - "RuleNumber": { - "locationName": "ruleNumber", - "type": "integer" - } - } - } - }, - "CreateNetworkInterface": { - "input": { - "type": "structure", - "required": [ - "SubnetId" - ], - "members": { - "Description": { - "locationName": "description" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Groups": { - "shape": "S5h", - "locationName": "SecurityGroupId" - }, - "Ipv6AddressCount": { - "locationName": "ipv6AddressCount", - "type": "integer" - }, - "Ipv6Addresses": { - "shape": "S5i", - "locationName": "ipv6Addresses" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "PrivateIpAddresses": { - "shape": "S5k", - "locationName": "privateIpAddresses" - }, - "SecondaryPrivateIpAddressCount": { - "locationName": "secondaryPrivateIpAddressCount", - "type": "integer" - }, - "SubnetId": { - "locationName": "subnetId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NetworkInterface": { - "shape": "S5n", - "locationName": "networkInterface" - } - } - } - }, - "CreatePlacementGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "Strategy" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupName": { - "locationName": "groupName" - }, - "Strategy": { - "locationName": "strategy" - } - } - } - }, - "CreateReservedInstancesListing": { - "input": { - "type": "structure", - "required": [ - "ClientToken", - "InstanceCount", - "PriceSchedules", - "ReservedInstancesId" - ], - "members": { - "ClientToken": { - "locationName": "clientToken" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "PriceSchedules": { - "locationName": "priceSchedules", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Price": { - "locationName": "price", - "type": "double" - }, - "Term": { - "locationName": "term", - "type": "long" - } - } - } - }, - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesListings": { - "shape": "S2n", - "locationName": "reservedInstancesListingsSet" - } - } - } - }, - "CreateRoute": { - "input": { - "type": "structure", - "required": [ - "RouteTableId" - ], - "members": { - "DestinationCidrBlock": { - "locationName": "destinationCidrBlock" - }, - "DestinationIpv6CidrBlock": { - "locationName": "destinationIpv6CidrBlock" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "EgressOnlyInternetGatewayId": { - "locationName": "egressOnlyInternetGatewayId" - }, - "GatewayId": { - "locationName": "gatewayId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "NatGatewayId": { - "locationName": "natGatewayId" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "RouteTableId": { - "locationName": "routeTableId" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "CreateRouteTable": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "RouteTable": { - "shape": "S68", - "locationName": "routeTable" - } - } - } - }, - "CreateSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "Description", - "GroupName" - ], - "members": { - "Description": { - "locationName": "GroupDescription" - }, - "GroupName": {}, - "VpcId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "GroupId": { - "locationName": "groupId" - } - } - } - }, - "CreateSnapshot": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "Description": {}, - "VolumeId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "shape": "S6k" - } - }, - "CreateSpotDatafeedSubscription": { - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "locationName": "bucket" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Prefix": { - "locationName": "prefix" - } - } - }, - "output": { - "type": "structure", - "members": { - "SpotDatafeedSubscription": { - "shape": "S6o", - "locationName": "spotDatafeedSubscription" - } - } - } - }, - "CreateSubnet": { - "input": { - "type": "structure", - "required": [ - "CidrBlock", - "VpcId" - ], - "members": { - "AvailabilityZone": {}, - "CidrBlock": {}, - "Ipv6CidrBlock": {}, - "VpcId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Subnet": { - "shape": "S6t", - "locationName": "subnet" - } - } - } - }, - "CreateTags": { - "input": { - "type": "structure", - "required": [ - "Resources", - "Tags" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Resources": { - "shape": "S6x", - "locationName": "ResourceId" - }, - "Tags": { - "shape": "Sj", - "locationName": "Tag" - } - } - } - }, - "CreateVolume": { - "input": { - "type": "structure", - "required": [ - "AvailabilityZone" - ], - "members": { - "AvailabilityZone": {}, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": {}, - "Size": { - "type": "integer" - }, - "SnapshotId": {}, - "VolumeType": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "TagSpecifications": { - "shape": "S6z", - "locationName": "TagSpecification" - } - } - }, - "output": { - "shape": "S72" - } - }, - "CreateVpc": { - "input": { - "type": "structure", - "required": [ - "CidrBlock" - ], - "members": { - "CidrBlock": {}, - "AmazonProvidedIpv6CidrBlock": { - "locationName": "amazonProvidedIpv6CidrBlock", - "type": "boolean" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceTenancy": { - "locationName": "instanceTenancy" - } - } - }, - "output": { - "type": "structure", - "members": { - "Vpc": { - "shape": "S78", - "locationName": "vpc" - } - } - } - }, - "CreateVpcEndpoint": { - "input": { - "type": "structure", - "required": [ - "ServiceName", - "VpcId" - ], - "members": { - "ClientToken": {}, - "DryRun": { - "type": "boolean" - }, - "PolicyDocument": {}, - "RouteTableIds": { - "shape": "S2z", - "locationName": "RouteTableId" - }, - "ServiceName": {}, - "VpcId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientToken": { - "locationName": "clientToken" - }, - "VpcEndpoint": { - "shape": "S7d", - "locationName": "vpcEndpoint" - } - } - } - }, - "CreateVpcPeeringConnection": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "PeerOwnerId": { - "locationName": "peerOwnerId" - }, - "PeerVpcId": { - "locationName": "peerVpcId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpcPeeringConnection": { - "shape": "Sb", - "locationName": "vpcPeeringConnection" - } - } - } - }, - "CreateVpnConnection": { - "input": { - "type": "structure", - "required": [ - "CustomerGatewayId", - "Type", - "VpnGatewayId" - ], - "members": { - "CustomerGatewayId": {}, - "Type": {}, - "VpnGatewayId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Options": { - "locationName": "options", - "type": "structure", - "members": { - "StaticRoutesOnly": { - "locationName": "staticRoutesOnly", - "type": "boolean" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "VpnConnection": { - "shape": "S7k", - "locationName": "vpnConnection" - } - } - } - }, - "CreateVpnConnectionRoute": { - "input": { - "type": "structure", - "required": [ - "DestinationCidrBlock", - "VpnConnectionId" - ], - "members": { - "DestinationCidrBlock": {}, - "VpnConnectionId": {} - } - } - }, - "CreateVpnGateway": { - "input": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "AvailabilityZone": {}, - "Type": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpnGateway": { - "shape": "S7w", - "locationName": "vpnGateway" - } - } - } - }, - "DeleteCustomerGateway": { - "input": { - "type": "structure", - "required": [ - "CustomerGatewayId" - ], - "members": { - "CustomerGatewayId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteDhcpOptions": { - "input": { - "type": "structure", - "required": [ - "DhcpOptionsId" - ], - "members": { - "DhcpOptionsId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteEgressOnlyInternetGateway": { - "input": { - "type": "structure", - "required": [ - "EgressOnlyInternetGatewayId" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "EgressOnlyInternetGatewayId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ReturnCode": { - "locationName": "returnCode", - "type": "boolean" - } - } - } - }, - "DeleteFlowLogs": { - "input": { - "type": "structure", - "required": [ - "FlowLogIds" - ], - "members": { - "FlowLogIds": { - "shape": "S2z", - "locationName": "FlowLogId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Unsuccessful": { - "shape": "S47", - "locationName": "unsuccessful" - } - } - } - }, - "DeleteInternetGateway": { - "input": { - "type": "structure", - "required": [ - "InternetGatewayId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InternetGatewayId": { - "locationName": "internetGatewayId" - } - } - } - }, - "DeleteKeyPair": { - "input": { - "type": "structure", - "required": [ - "KeyName" - ], - "members": { - "KeyName": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteNatGateway": { - "input": { - "type": "structure", - "required": [ - "NatGatewayId" - ], - "members": { - "NatGatewayId": {} - } - }, - "output": { - "type": "structure", - "members": { - "NatGatewayId": { - "locationName": "natGatewayId" - } - } - } - }, - "DeleteNetworkAcl": { - "input": { - "type": "structure", - "required": [ - "NetworkAclId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkAclId": { - "locationName": "networkAclId" - } - } - } - }, - "DeleteNetworkAclEntry": { - "input": { - "type": "structure", - "required": [ - "Egress", - "NetworkAclId", - "RuleNumber" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Egress": { - "locationName": "egress", - "type": "boolean" - }, - "NetworkAclId": { - "locationName": "networkAclId" - }, - "RuleNumber": { - "locationName": "ruleNumber", - "type": "integer" - } - } - } - }, - "DeleteNetworkInterface": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - } - } - } - }, - "DeletePlacementGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupName": { - "locationName": "groupName" - } - } - } - }, - "DeleteRoute": { - "input": { - "type": "structure", - "required": [ - "RouteTableId" - ], - "members": { - "DestinationCidrBlock": { - "locationName": "destinationCidrBlock" - }, - "DestinationIpv6CidrBlock": { - "locationName": "destinationIpv6CidrBlock" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RouteTableId": { - "locationName": "routeTableId" - } - } - } - }, - "DeleteRouteTable": { - "input": { - "type": "structure", - "required": [ - "RouteTableId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RouteTableId": { - "locationName": "routeTableId" - } - } - } - }, - "DeleteSecurityGroup": { - "input": { - "type": "structure", - "members": { - "GroupId": {}, - "GroupName": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteSnapshot": { - "input": { - "type": "structure", - "required": [ - "SnapshotId" - ], - "members": { - "SnapshotId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteSpotDatafeedSubscription": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteSubnet": { - "input": { - "type": "structure", - "required": [ - "SubnetId" - ], - "members": { - "SubnetId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteTags": { - "input": { - "type": "structure", - "required": [ - "Resources" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Resources": { - "shape": "S6x", - "locationName": "resourceId" - }, - "Tags": { - "shape": "Sj", - "locationName": "tag" - } - } - } - }, - "DeleteVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteVpc": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "VpcId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteVpcEndpoints": { - "input": { - "type": "structure", - "required": [ - "VpcEndpointIds" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "VpcEndpointIds": { - "shape": "S2z", - "locationName": "VpcEndpointId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Unsuccessful": { - "shape": "S47", - "locationName": "unsuccessful" - } - } - } - }, - "DeleteVpcPeeringConnection": { - "input": { - "type": "structure", - "required": [ - "VpcPeeringConnectionId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "DeleteVpnConnection": { - "input": { - "type": "structure", - "required": [ - "VpnConnectionId" - ], - "members": { - "VpnConnectionId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeleteVpnConnectionRoute": { - "input": { - "type": "structure", - "required": [ - "DestinationCidrBlock", - "VpnConnectionId" - ], - "members": { - "DestinationCidrBlock": {}, - "VpnConnectionId": {} - } - } - }, - "DeleteVpnGateway": { - "input": { - "type": "structure", - "required": [ - "VpnGatewayId" - ], - "members": { - "VpnGatewayId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DeregisterImage": { - "input": { - "type": "structure", - "required": [ - "ImageId" - ], - "members": { - "ImageId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DescribeAccountAttributes": { - "input": { - "type": "structure", - "members": { - "AttributeNames": { - "locationName": "attributeName", - "type": "list", - "member": { - "locationName": "attributeName" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "AccountAttributes": { - "locationName": "accountAttributeSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AttributeName": { - "locationName": "attributeName" - }, - "AttributeValues": { - "locationName": "attributeValueSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AttributeValue": { - "locationName": "attributeValue" - } - } - } - } - } - } - } - } - } - }, - "DescribeAddresses": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "PublicIps": { - "locationName": "PublicIp", - "type": "list", - "member": { - "locationName": "PublicIp" - } - }, - "AllocationIds": { - "locationName": "AllocationId", - "type": "list", - "member": { - "locationName": "AllocationId" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Addresses": { - "locationName": "addressesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "PublicIp": { - "locationName": "publicIp" - }, - "AllocationId": { - "locationName": "allocationId" - }, - "AssociationId": { - "locationName": "associationId" - }, - "Domain": { - "locationName": "domain" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "NetworkInterfaceOwnerId": { - "locationName": "networkInterfaceOwnerId" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - } - } - } - } - } - } - }, - "DescribeAvailabilityZones": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "ZoneNames": { - "locationName": "ZoneName", - "type": "list", - "member": { - "locationName": "ZoneName" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "AvailabilityZones": { - "locationName": "availabilityZoneInfo", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "State": { - "locationName": "zoneState" - }, - "Messages": { - "locationName": "messageSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Message": { - "locationName": "message" - } - } - } - }, - "RegionName": { - "locationName": "regionName" - }, - "ZoneName": { - "locationName": "zoneName" - } - } - } - } - } - } - }, - "DescribeBundleTasks": { - "input": { - "type": "structure", - "members": { - "BundleIds": { - "locationName": "BundleId", - "type": "list", - "member": { - "locationName": "BundleId" - } - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "BundleTasks": { - "locationName": "bundleInstanceTasksSet", - "type": "list", - "member": { - "shape": "S2c", - "locationName": "item" - } - } - } - } - }, - "DescribeClassicLinkInstances": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceIds": { - "shape": "S9m", - "locationName": "InstanceId" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Instances": { - "locationName": "instancesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Groups": { - "shape": "S5q", - "locationName": "groupSet" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeConversionTasks": { - "input": { - "type": "structure", - "members": { - "ConversionTaskIds": { - "locationName": "conversionTaskId", - "type": "list", - "member": { - "locationName": "item" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConversionTasks": { - "locationName": "conversionTasks", - "type": "list", - "member": { - "shape": "S9u", - "locationName": "item" - } - } - } - } - }, - "DescribeCustomerGateways": { - "input": { - "type": "structure", - "members": { - "CustomerGatewayIds": { - "locationName": "CustomerGatewayId", - "type": "list", - "member": { - "locationName": "CustomerGatewayId" - } - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "CustomerGateways": { - "locationName": "customerGatewaySet", - "type": "list", - "member": { - "shape": "S3n", - "locationName": "item" - } - } - } - } - }, - "DescribeDhcpOptions": { - "input": { - "type": "structure", - "members": { - "DhcpOptionsIds": { - "locationName": "DhcpOptionsId", - "type": "list", - "member": { - "locationName": "DhcpOptionsId" - } - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "DhcpOptions": { - "locationName": "dhcpOptionsSet", - "type": "list", - "member": { - "shape": "S3s", - "locationName": "item" - } - } - } - } - }, - "DescribeEgressOnlyInternetGateways": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "EgressOnlyInternetGatewayIds": { - "locationName": "EgressOnlyInternetGatewayId", - "type": "list", - "member": { - "locationName": "item" - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "EgressOnlyInternetGateways": { - "locationName": "egressOnlyInternetGatewaySet", - "type": "list", - "member": { - "shape": "S3z", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeExportTasks": { - "input": { - "type": "structure", - "members": { - "ExportTaskIds": { - "locationName": "exportTaskId", - "type": "list", - "member": { - "locationName": "ExportTaskId" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ExportTasks": { - "locationName": "exportTaskSet", - "type": "list", - "member": { - "shape": "S4p", - "locationName": "item" - } - } - } - } - }, - "DescribeFlowLogs": { - "input": { - "type": "structure", - "members": { - "Filter": { - "shape": "S92" - }, - "FlowLogIds": { - "shape": "S2z", - "locationName": "FlowLogId" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FlowLogs": { - "locationName": "flowLogSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "CreationTime": { - "locationName": "creationTime", - "type": "timestamp" - }, - "DeliverLogsErrorMessage": { - "locationName": "deliverLogsErrorMessage" - }, - "DeliverLogsPermissionArn": { - "locationName": "deliverLogsPermissionArn" - }, - "DeliverLogsStatus": { - "locationName": "deliverLogsStatus" - }, - "FlowLogId": { - "locationName": "flowLogId" - }, - "FlowLogStatus": { - "locationName": "flowLogStatus" - }, - "LogGroupName": { - "locationName": "logGroupName" - }, - "ResourceId": { - "locationName": "resourceId" - }, - "TrafficType": { - "locationName": "trafficType" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeFpgaImages": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "FpgaImageIds": { - "locationName": "FpgaImageId", - "type": "list", - "member": { - "locationName": "item" - } - }, - "Owners": { - "shape": "Sap", - "locationName": "Owner" - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "FpgaImages": { - "locationName": "fpgaImageSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "FpgaImageId": { - "locationName": "fpgaImageId" - }, - "FpgaImageGlobalId": { - "locationName": "fpgaImageGlobalId" - }, - "Name": { - "locationName": "name" - }, - "Description": { - "locationName": "description" - }, - "ShellVersion": { - "locationName": "shellVersion" - }, - "PciId": { - "locationName": "pciId", - "type": "structure", - "members": { - "DeviceId": {}, - "VendorId": {}, - "SubsystemId": {}, - "SubsystemVendorId": {} - } - }, - "State": { - "locationName": "state", - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - }, - "CreateTime": { - "locationName": "createTime", - "type": "timestamp" - }, - "UpdateTime": { - "locationName": "updateTime", - "type": "timestamp" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "OwnerAlias": { - "locationName": "ownerAlias" - }, - "ProductCodes": { - "shape": "Say", - "locationName": "productCodes" - }, - "Tags": { - "shape": "Sj", - "locationName": "tags" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeHostReservationOfferings": { - "input": { - "type": "structure", - "members": { - "Filter": { - "shape": "S92" - }, - "MaxDuration": { - "type": "integer" - }, - "MaxResults": { - "type": "integer" - }, - "MinDuration": { - "type": "integer" - }, - "NextToken": {}, - "OfferingId": {} - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "OfferingSet": { - "locationName": "offeringSet", - "type": "list", - "member": { - "type": "structure", - "members": { - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Duration": { - "locationName": "duration", - "type": "integer" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "InstanceFamily": { - "locationName": "instanceFamily" - }, - "OfferingId": { - "locationName": "offeringId" - }, - "PaymentOption": { - "locationName": "paymentOption" - }, - "UpfrontPrice": { - "locationName": "upfrontPrice" - } - } - } - } - } - } - }, - "DescribeHostReservations": { - "input": { - "type": "structure", - "members": { - "Filter": { - "shape": "S92" - }, - "HostReservationIdSet": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "HostReservationSet": { - "locationName": "hostReservationSet", - "type": "list", - "member": { - "type": "structure", - "members": { - "Count": { - "locationName": "count", - "type": "integer" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Duration": { - "locationName": "duration", - "type": "integer" - }, - "End": { - "locationName": "end", - "type": "timestamp" - }, - "HostIdSet": { - "shape": "Sbb", - "locationName": "hostIdSet" - }, - "HostReservationId": { - "locationName": "hostReservationId" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "InstanceFamily": { - "locationName": "instanceFamily" - }, - "OfferingId": { - "locationName": "offeringId" - }, - "PaymentOption": { - "locationName": "paymentOption" - }, - "Start": { - "locationName": "start", - "type": "timestamp" - }, - "State": { - "locationName": "state" - }, - "UpfrontPrice": { - "locationName": "upfrontPrice" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeHosts": { - "input": { - "type": "structure", - "members": { - "Filter": { - "shape": "S92", - "locationName": "filter" - }, - "HostIds": { - "shape": "Sbe", - "locationName": "hostId" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Hosts": { - "locationName": "hostSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AutoPlacement": { - "locationName": "autoPlacement" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "AvailableCapacity": { - "locationName": "availableCapacity", - "type": "structure", - "members": { - "AvailableInstanceCapacity": { - "locationName": "availableInstanceCapacity", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AvailableCapacity": { - "locationName": "availableCapacity", - "type": "integer" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "TotalCapacity": { - "locationName": "totalCapacity", - "type": "integer" - } - } - } - }, - "AvailableVCpus": { - "locationName": "availableVCpus", - "type": "integer" - } - } - }, - "ClientToken": { - "locationName": "clientToken" - }, - "HostId": { - "locationName": "hostId" - }, - "HostProperties": { - "locationName": "hostProperties", - "type": "structure", - "members": { - "Cores": { - "locationName": "cores", - "type": "integer" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Sockets": { - "locationName": "sockets", - "type": "integer" - }, - "TotalVCpus": { - "locationName": "totalVCpus", - "type": "integer" - } - } - }, - "HostReservationId": { - "locationName": "hostReservationId" - }, - "Instances": { - "locationName": "instances", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceType": { - "locationName": "instanceType" - } - } - } - }, - "State": { - "locationName": "state" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeIamInstanceProfileAssociations": { - "input": { - "type": "structure", - "members": { - "AssociationIds": { - "locationName": "AssociationId", - "type": "list", - "member": { - "locationName": "AssociationId" - } - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "IamInstanceProfileAssociations": { - "locationName": "iamInstanceProfileAssociationSet", - "type": "list", - "member": { - "shape": "S13", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeIdFormat": { - "input": { - "type": "structure", - "members": { - "Resource": {} - } - }, - "output": { - "type": "structure", - "members": { - "Statuses": { - "shape": "Sbv", - "locationName": "statusSet" - } - } - } - }, - "DescribeIdentityIdFormat": { - "input": { - "type": "structure", - "required": [ - "PrincipalArn" - ], - "members": { - "PrincipalArn": { - "locationName": "principalArn" - }, - "Resource": { - "locationName": "resource" - } - } - }, - "output": { - "type": "structure", - "members": { - "Statuses": { - "shape": "Sbv", - "locationName": "statusSet" - } - } - } - }, - "DescribeImageAttribute": { - "input": { - "type": "structure", - "required": [ - "Attribute", - "ImageId" - ], - "members": { - "Attribute": {}, - "ImageId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "BlockDeviceMappings": { - "shape": "Sc2", - "locationName": "blockDeviceMapping" - }, - "ImageId": { - "locationName": "imageId" - }, - "LaunchPermissions": { - "shape": "Sc3", - "locationName": "launchPermission" - }, - "ProductCodes": { - "shape": "Say", - "locationName": "productCodes" - }, - "Description": { - "shape": "S3w", - "locationName": "description" - }, - "KernelId": { - "shape": "S3w", - "locationName": "kernel" - }, - "RamdiskId": { - "shape": "S3w", - "locationName": "ramdisk" - }, - "SriovNetSupport": { - "shape": "S3w", - "locationName": "sriovNetSupport" - } - } - } - }, - "DescribeImages": { - "input": { - "type": "structure", - "members": { - "ExecutableUsers": { - "locationName": "ExecutableBy", - "type": "list", - "member": { - "locationName": "ExecutableBy" - } - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "ImageIds": { - "locationName": "ImageId", - "type": "list", - "member": { - "locationName": "ImageId" - } - }, - "Owners": { - "shape": "Sap", - "locationName": "Owner" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Images": { - "locationName": "imagesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Architecture": { - "locationName": "architecture" - }, - "CreationDate": { - "locationName": "creationDate" - }, - "ImageId": { - "locationName": "imageId" - }, - "ImageLocation": { - "locationName": "imageLocation" - }, - "ImageType": { - "locationName": "imageType" - }, - "Public": { - "locationName": "isPublic", - "type": "boolean" - }, - "KernelId": { - "locationName": "kernelId" - }, - "OwnerId": { - "locationName": "imageOwnerId" - }, - "Platform": { - "locationName": "platform" - }, - "ProductCodes": { - "shape": "Say", - "locationName": "productCodes" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "State": { - "locationName": "imageState" - }, - "BlockDeviceMappings": { - "shape": "Sc2", - "locationName": "blockDeviceMapping" - }, - "Description": { - "locationName": "description" - }, - "EnaSupport": { - "locationName": "enaSupport", - "type": "boolean" - }, - "Hypervisor": { - "locationName": "hypervisor" - }, - "ImageOwnerAlias": { - "locationName": "imageOwnerAlias" - }, - "Name": { - "locationName": "name" - }, - "RootDeviceName": { - "locationName": "rootDeviceName" - }, - "RootDeviceType": { - "locationName": "rootDeviceType" - }, - "SriovNetSupport": { - "locationName": "sriovNetSupport" - }, - "StateReason": { - "shape": "Sch", - "locationName": "stateReason" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VirtualizationType": { - "locationName": "virtualizationType" - } - } - } - } - } - } - }, - "DescribeImportImageTasks": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "Filters": { - "shape": "S92" - }, - "ImportTaskIds": { - "shape": "Sck", - "locationName": "ImportTaskId" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ImportImageTasks": { - "locationName": "importImageTaskSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Architecture": { - "locationName": "architecture" - }, - "Description": { - "locationName": "description" - }, - "Hypervisor": { - "locationName": "hypervisor" - }, - "ImageId": { - "locationName": "imageId" - }, - "ImportTaskId": { - "locationName": "importTaskId" - }, - "LicenseType": { - "locationName": "licenseType" - }, - "Platform": { - "locationName": "platform" - }, - "Progress": { - "locationName": "progress" - }, - "SnapshotDetails": { - "shape": "Sco", - "locationName": "snapshotDetailSet" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeImportSnapshotTasks": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "Filters": { - "shape": "S92" - }, - "ImportTaskIds": { - "shape": "Sck", - "locationName": "ImportTaskId" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ImportSnapshotTasks": { - "locationName": "importSnapshotTaskSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Description": { - "locationName": "description" - }, - "ImportTaskId": { - "locationName": "importTaskId" - }, - "SnapshotTaskDetail": { - "shape": "Scv", - "locationName": "snapshotTaskDetail" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeInstanceAttribute": { - "input": { - "type": "structure", - "required": [ - "Attribute", - "InstanceId" - ], - "members": { - "Attribute": { - "locationName": "attribute" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Groups": { - "shape": "S5q", - "locationName": "groupSet" - }, - "BlockDeviceMappings": { - "shape": "Scz", - "locationName": "blockDeviceMapping" - }, - "DisableApiTermination": { - "shape": "Sd2", - "locationName": "disableApiTermination" - }, - "EnaSupport": { - "shape": "Sd2", - "locationName": "enaSupport" - }, - "EbsOptimized": { - "shape": "Sd2", - "locationName": "ebsOptimized" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceInitiatedShutdownBehavior": { - "shape": "S3w", - "locationName": "instanceInitiatedShutdownBehavior" - }, - "InstanceType": { - "shape": "S3w", - "locationName": "instanceType" - }, - "KernelId": { - "shape": "S3w", - "locationName": "kernel" - }, - "ProductCodes": { - "shape": "Say", - "locationName": "productCodes" - }, - "RamdiskId": { - "shape": "S3w", - "locationName": "ramdisk" - }, - "RootDeviceName": { - "shape": "S3w", - "locationName": "rootDeviceName" - }, - "SourceDestCheck": { - "shape": "Sd2", - "locationName": "sourceDestCheck" - }, - "SriovNetSupport": { - "shape": "S3w", - "locationName": "sriovNetSupport" - }, - "UserData": { - "shape": "S3w", - "locationName": "userData" - } - } - } - }, - "DescribeInstanceStatus": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "InstanceIds": { - "shape": "S9m", - "locationName": "InstanceId" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "IncludeAllInstances": { - "locationName": "includeAllInstances", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceStatuses": { - "locationName": "instanceStatusSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Events": { - "locationName": "eventsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Description": { - "locationName": "description" - }, - "NotAfter": { - "locationName": "notAfter", - "type": "timestamp" - }, - "NotBefore": { - "locationName": "notBefore", - "type": "timestamp" - } - } - } - }, - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceState": { - "shape": "Sda", - "locationName": "instanceState" - }, - "InstanceStatus": { - "shape": "Sdc", - "locationName": "instanceStatus" - }, - "SystemStatus": { - "shape": "Sdc", - "locationName": "systemStatus" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeInstances": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "InstanceIds": { - "shape": "S9m", - "locationName": "InstanceId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Reservations": { - "locationName": "reservationSet", - "type": "list", - "member": { - "shape": "Sdl", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeInternetGateways": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InternetGatewayIds": { - "shape": "S2z", - "locationName": "internetGatewayId" - } - } - }, - "output": { - "type": "structure", - "members": { - "InternetGateways": { - "locationName": "internetGatewaySet", - "type": "list", - "member": { - "shape": "S4v", - "locationName": "item" - } - } - } - } - }, - "DescribeKeyPairs": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "KeyNames": { - "locationName": "KeyName", - "type": "list", - "member": { - "locationName": "KeyName" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyPairs": { - "locationName": "keySet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "KeyFingerprint": { - "locationName": "keyFingerprint" - }, - "KeyName": { - "locationName": "keyName" - } - } - } - } - } - } - }, - "DescribeMovingAddresses": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - }, - "PublicIps": { - "shape": "S2z", - "locationName": "publicIp" - } - } - }, - "output": { - "type": "structure", - "members": { - "MovingAddressStatuses": { - "locationName": "movingAddressStatusSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "MoveStatus": { - "locationName": "moveStatus" - }, - "PublicIp": { - "locationName": "publicIp" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeNatGateways": { - "input": { - "type": "structure", - "members": { - "Filter": { - "shape": "S92" - }, - "MaxResults": { - "type": "integer" - }, - "NatGatewayIds": { - "shape": "S2z", - "locationName": "NatGatewayId" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "NatGateways": { - "locationName": "natGatewaySet", - "type": "list", - "member": { - "shape": "S50", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeNetworkAcls": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkAclIds": { - "shape": "S2z", - "locationName": "NetworkAclId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NetworkAcls": { - "locationName": "networkAclSet", - "type": "list", - "member": { - "shape": "S57", - "locationName": "item" - } - } - } - } - }, - "DescribeNetworkInterfaceAttribute": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "Attribute": { - "locationName": "attribute" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Attachment": { - "shape": "S5p", - "locationName": "attachment" - }, - "Description": { - "shape": "S3w", - "locationName": "description" - }, - "Groups": { - "shape": "S5q", - "locationName": "groupSet" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "SourceDestCheck": { - "shape": "Sd2", - "locationName": "sourceDestCheck" - } - } - } - }, - "DescribeNetworkInterfaces": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceIds": { - "locationName": "NetworkInterfaceId", - "type": "list", - "member": { - "locationName": "item" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "NetworkInterfaces": { - "locationName": "networkInterfaceSet", - "type": "list", - "member": { - "shape": "S5n", - "locationName": "item" - } - } - } - } - }, - "DescribePlacementGroups": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupNames": { - "locationName": "groupName", - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "PlacementGroups": { - "locationName": "placementGroupSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "GroupName": { - "locationName": "groupName" - }, - "State": { - "locationName": "state" - }, - "Strategy": { - "locationName": "strategy" - } - } - } - } - } - } - }, - "DescribePrefixLists": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "PrefixListIds": { - "shape": "S2z", - "locationName": "PrefixListId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "PrefixLists": { - "locationName": "prefixListSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Cidrs": { - "shape": "S2z", - "locationName": "cidrSet" - }, - "PrefixListId": { - "locationName": "prefixListId" - }, - "PrefixListName": { - "locationName": "prefixListName" - } - } - } - } - } - } - }, - "DescribeRegions": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "RegionNames": { - "locationName": "RegionName", - "type": "list", - "member": { - "locationName": "RegionName" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Regions": { - "locationName": "regionInfo", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Endpoint": { - "locationName": "regionEndpoint" - }, - "RegionName": { - "locationName": "regionName" - } - } - } - } - } - } - }, - "DescribeReservedInstances": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "OfferingClass": {}, - "ReservedInstancesIds": { - "shape": "Sf6", - "locationName": "ReservedInstancesId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "OfferingType": { - "locationName": "offeringType" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstances": { - "locationName": "reservedInstancesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Duration": { - "locationName": "duration", - "type": "long" - }, - "End": { - "locationName": "end", - "type": "timestamp" - }, - "FixedPrice": { - "locationName": "fixedPrice", - "type": "float" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "ProductDescription": { - "locationName": "productDescription" - }, - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - }, - "Start": { - "locationName": "start", - "type": "timestamp" - }, - "State": { - "locationName": "state" - }, - "UsagePrice": { - "locationName": "usagePrice", - "type": "float" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "InstanceTenancy": { - "locationName": "instanceTenancy" - }, - "OfferingClass": { - "locationName": "offeringClass" - }, - "OfferingType": { - "locationName": "offeringType" - }, - "RecurringCharges": { - "shape": "Sfe", - "locationName": "recurringCharges" - }, - "Scope": { - "locationName": "scope" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - } - } - } - } - } - } - }, - "DescribeReservedInstancesListings": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - }, - "ReservedInstancesListingId": { - "locationName": "reservedInstancesListingId" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesListings": { - "shape": "S2n", - "locationName": "reservedInstancesListingsSet" - } - } - } - }, - "DescribeReservedInstancesModifications": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "ReservedInstancesModificationIds": { - "locationName": "ReservedInstancesModificationId", - "type": "list", - "member": { - "locationName": "ReservedInstancesModificationId" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "ReservedInstancesModifications": { - "locationName": "reservedInstancesModificationsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ClientToken": { - "locationName": "clientToken" - }, - "CreateDate": { - "locationName": "createDate", - "type": "timestamp" - }, - "EffectiveDate": { - "locationName": "effectiveDate", - "type": "timestamp" - }, - "ModificationResults": { - "locationName": "modificationResultSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - }, - "TargetConfiguration": { - "shape": "Sfr", - "locationName": "targetConfiguration" - } - } - } - }, - "ReservedInstancesIds": { - "locationName": "reservedInstancesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - } - } - } - }, - "ReservedInstancesModificationId": { - "locationName": "reservedInstancesModificationId" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "UpdateDate": { - "locationName": "updateDate", - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeReservedInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "AvailabilityZone": {}, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "IncludeMarketplace": { - "type": "boolean" - }, - "InstanceType": {}, - "MaxDuration": { - "type": "long" - }, - "MaxInstanceCount": { - "type": "integer" - }, - "MinDuration": { - "type": "long" - }, - "OfferingClass": {}, - "ProductDescription": {}, - "ReservedInstancesOfferingIds": { - "locationName": "ReservedInstancesOfferingId", - "type": "list", - "member": {} - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceTenancy": { - "locationName": "instanceTenancy" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - }, - "OfferingType": { - "locationName": "offeringType" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesOfferings": { - "locationName": "reservedInstancesOfferingsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Duration": { - "locationName": "duration", - "type": "long" - }, - "FixedPrice": { - "locationName": "fixedPrice", - "type": "float" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "ProductDescription": { - "locationName": "productDescription" - }, - "ReservedInstancesOfferingId": { - "locationName": "reservedInstancesOfferingId" - }, - "UsagePrice": { - "locationName": "usagePrice", - "type": "float" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "InstanceTenancy": { - "locationName": "instanceTenancy" - }, - "Marketplace": { - "locationName": "marketplace", - "type": "boolean" - }, - "OfferingClass": { - "locationName": "offeringClass" - }, - "OfferingType": { - "locationName": "offeringType" - }, - "PricingDetails": { - "locationName": "pricingDetailsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Count": { - "locationName": "count", - "type": "integer" - }, - "Price": { - "locationName": "price", - "type": "double" - } - } - } - }, - "RecurringCharges": { - "shape": "Sfe", - "locationName": "recurringCharges" - }, - "Scope": { - "locationName": "scope" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeRouteTables": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RouteTableIds": { - "shape": "S2z", - "locationName": "RouteTableId" - } - } - }, - "output": { - "type": "structure", - "members": { - "RouteTables": { - "locationName": "routeTableSet", - "type": "list", - "member": { - "shape": "S68", - "locationName": "item" - } - } - } - } - }, - "DescribeScheduledInstanceAvailability": { - "input": { - "type": "structure", - "required": [ - "FirstSlotStartTimeRange", - "Recurrence" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "FirstSlotStartTimeRange": { - "type": "structure", - "required": [ - "EarliestTime", - "LatestTime" - ], - "members": { - "EarliestTime": { - "type": "timestamp" - }, - "LatestTime": { - "type": "timestamp" - } - } - }, - "MaxResults": { - "type": "integer" - }, - "MaxSlotDurationInHours": { - "type": "integer" - }, - "MinSlotDurationInHours": { - "type": "integer" - }, - "NextToken": {}, - "Recurrence": { - "type": "structure", - "members": { - "Frequency": {}, - "Interval": { - "type": "integer" - }, - "OccurrenceDays": { - "locationName": "OccurrenceDay", - "type": "list", - "member": { - "locationName": "OccurenceDay", - "type": "integer" - } - }, - "OccurrenceRelativeToEnd": { - "type": "boolean" - }, - "OccurrenceUnit": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "ScheduledInstanceAvailabilitySet": { - "locationName": "scheduledInstanceAvailabilitySet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "AvailableInstanceCount": { - "locationName": "availableInstanceCount", - "type": "integer" - }, - "FirstSlotStartTime": { - "locationName": "firstSlotStartTime", - "type": "timestamp" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "MaxTermDurationInDays": { - "locationName": "maxTermDurationInDays", - "type": "integer" - }, - "MinTermDurationInDays": { - "locationName": "minTermDurationInDays", - "type": "integer" - }, - "NetworkPlatform": { - "locationName": "networkPlatform" - }, - "Platform": { - "locationName": "platform" - }, - "PurchaseToken": { - "locationName": "purchaseToken" - }, - "Recurrence": { - "shape": "Sgb", - "locationName": "recurrence" - }, - "SlotDurationInHours": { - "locationName": "slotDurationInHours", - "type": "integer" - }, - "TotalScheduledInstanceHours": { - "locationName": "totalScheduledInstanceHours", - "type": "integer" - } - } - } - } - } - } - }, - "DescribeScheduledInstances": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "ScheduledInstanceIds": { - "locationName": "ScheduledInstanceId", - "type": "list", - "member": { - "locationName": "ScheduledInstanceId" - } - }, - "SlotStartTimeRange": { - "type": "structure", - "members": { - "EarliestTime": { - "type": "timestamp" - }, - "LatestTime": { - "type": "timestamp" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "ScheduledInstanceSet": { - "locationName": "scheduledInstanceSet", - "type": "list", - "member": { - "shape": "Sgi", - "locationName": "item" - } - } - } - } - }, - "DescribeSecurityGroupReferences": { - "input": { - "type": "structure", - "required": [ - "GroupId" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "GroupId": { - "type": "list", - "member": { - "locationName": "item" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "SecurityGroupReferenceSet": { - "locationName": "securityGroupReferenceSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "GroupId", - "ReferencingVpcId" - ], - "members": { - "GroupId": { - "locationName": "groupId" - }, - "ReferencingVpcId": { - "locationName": "referencingVpcId" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - } - } - } - } - }, - "DescribeSecurityGroups": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "GroupIds": { - "shape": "S1j", - "locationName": "GroupId" - }, - "GroupNames": { - "shape": "Sgp", - "locationName": "GroupName" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "SecurityGroups": { - "locationName": "securityGroupInfo", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Description": { - "locationName": "groupDescription" - }, - "GroupName": { - "locationName": "groupName" - }, - "IpPermissions": { - "shape": "S1w", - "locationName": "ipPermissions" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "GroupId": { - "locationName": "groupId" - }, - "IpPermissionsEgress": { - "shape": "S1w", - "locationName": "ipPermissionsEgress" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - } - } - } - }, - "DescribeSnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "Attribute", - "SnapshotId" - ], - "members": { - "Attribute": {}, - "SnapshotId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "CreateVolumePermissions": { - "shape": "Sgw", - "locationName": "createVolumePermission" - }, - "ProductCodes": { - "shape": "Say", - "locationName": "productCodes" - }, - "SnapshotId": { - "locationName": "snapshotId" - } - } - } - }, - "DescribeSnapshots": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "OwnerIds": { - "shape": "Sap", - "locationName": "Owner" - }, - "RestorableByUserIds": { - "locationName": "RestorableBy", - "type": "list", - "member": {} - }, - "SnapshotIds": { - "locationName": "SnapshotId", - "type": "list", - "member": { - "locationName": "SnapshotId" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Snapshots": { - "locationName": "snapshotSet", - "type": "list", - "member": { - "shape": "S6k", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeSpotDatafeedSubscription": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "SpotDatafeedSubscription": { - "shape": "S6o", - "locationName": "spotDatafeedSubscription" - } - } - } - }, - "DescribeSpotFleetInstances": { - "input": { - "type": "structure", - "required": [ - "SpotFleetRequestId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - }, - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - } - } - }, - "output": { - "type": "structure", - "required": [ - "ActiveInstances", - "SpotFleetRequestId" - ], - "members": { - "ActiveInstances": { - "locationName": "activeInstanceSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "SpotInstanceRequestId": { - "locationName": "spotInstanceRequestId" - }, - "InstanceHealth": { - "locationName": "instanceHealth" - } - } - } - }, - "NextToken": { - "locationName": "nextToken" - }, - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - } - } - } - }, - "DescribeSpotFleetRequestHistory": { - "input": { - "type": "structure", - "required": [ - "SpotFleetRequestId", - "StartTime" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "EventType": { - "locationName": "eventType" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - }, - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HistoryRecords", - "LastEvaluatedTime", - "SpotFleetRequestId", - "StartTime" - ], - "members": { - "HistoryRecords": { - "locationName": "historyRecordSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "EventInformation", - "EventType", - "Timestamp" - ], - "members": { - "EventInformation": { - "locationName": "eventInformation", - "type": "structure", - "members": { - "EventDescription": { - "locationName": "eventDescription" - }, - "EventSubType": { - "locationName": "eventSubType" - }, - "InstanceId": { - "locationName": "instanceId" - } - } - }, - "EventType": { - "locationName": "eventType" - }, - "Timestamp": { - "locationName": "timestamp", - "type": "timestamp" - } - } - } - }, - "LastEvaluatedTime": { - "locationName": "lastEvaluatedTime", - "type": "timestamp" - }, - "NextToken": { - "locationName": "nextToken" - }, - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - } - } - } - }, - "DescribeSpotFleetRequests": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - }, - "SpotFleetRequestIds": { - "shape": "S2z", - "locationName": "spotFleetRequestId" - } - } - }, - "output": { - "type": "structure", - "required": [ - "SpotFleetRequestConfigs" - ], - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "SpotFleetRequestConfigs": { - "locationName": "spotFleetRequestConfigSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "CreateTime", - "SpotFleetRequestConfig", - "SpotFleetRequestId", - "SpotFleetRequestState" - ], - "members": { - "ActivityStatus": { - "locationName": "activityStatus" - }, - "CreateTime": { - "locationName": "createTime", - "type": "timestamp" - }, - "SpotFleetRequestConfig": { - "shape": "Shl", - "locationName": "spotFleetRequestConfig" - }, - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "SpotFleetRequestState": { - "locationName": "spotFleetRequestState" - } - } - } - } - } - } - }, - "DescribeSpotInstanceRequests": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotInstanceRequestIds": { - "shape": "S39", - "locationName": "SpotInstanceRequestId" - } - } - }, - "output": { - "type": "structure", - "members": { - "SpotInstanceRequests": { - "shape": "Shx", - "locationName": "spotInstanceRequestSet" - } - } - } - }, - "DescribeSpotPriceHistory": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "EndTime": { - "locationName": "endTime", - "type": "timestamp" - }, - "InstanceTypes": { - "locationName": "InstanceType", - "type": "list", - "member": {} - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - }, - "ProductDescriptions": { - "locationName": "ProductDescription", - "type": "list", - "member": {} - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "SpotPriceHistory": { - "locationName": "spotPriceHistorySet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "ProductDescription": { - "locationName": "productDescription" - }, - "SpotPrice": { - "locationName": "spotPrice" - }, - "Timestamp": { - "locationName": "timestamp", - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeStaleSecurityGroups": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "VpcId": {} - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "StaleSecurityGroupSet": { - "locationName": "staleSecurityGroupSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "GroupId" - ], - "members": { - "Description": { - "locationName": "description" - }, - "GroupId": { - "locationName": "groupId" - }, - "GroupName": { - "locationName": "groupName" - }, - "StaleIpPermissions": { - "shape": "Sie", - "locationName": "staleIpPermissions" - }, - "StaleIpPermissionsEgress": { - "shape": "Sie", - "locationName": "staleIpPermissionsEgress" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - } - } - } - }, - "DescribeSubnets": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "SubnetIds": { - "locationName": "SubnetId", - "type": "list", - "member": { - "locationName": "SubnetId" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Subnets": { - "locationName": "subnetSet", - "type": "list", - "member": { - "shape": "S6t", - "locationName": "item" - } - } - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "Tags": { - "locationName": "tagSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Key": { - "locationName": "key" - }, - "ResourceId": { - "locationName": "resourceId" - }, - "ResourceType": { - "locationName": "resourceType" - }, - "Value": { - "locationName": "value" - } - } - } - } - } - } - }, - "DescribeVolumeAttribute": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "Attribute": {}, - "VolumeId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "AutoEnableIO": { - "shape": "Sd2", - "locationName": "autoEnableIO" - }, - "ProductCodes": { - "shape": "Say", - "locationName": "productCodes" - }, - "VolumeId": { - "locationName": "volumeId" - } - } - } - }, - "DescribeVolumeStatus": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "VolumeIds": { - "shape": "Siv", - "locationName": "VolumeId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "VolumeStatuses": { - "locationName": "volumeStatusSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Actions": { - "locationName": "actionsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Description": { - "locationName": "description" - }, - "EventId": { - "locationName": "eventId" - }, - "EventType": { - "locationName": "eventType" - } - } - } - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Events": { - "locationName": "eventsSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Description": { - "locationName": "description" - }, - "EventId": { - "locationName": "eventId" - }, - "EventType": { - "locationName": "eventType" - }, - "NotAfter": { - "locationName": "notAfter", - "type": "timestamp" - }, - "NotBefore": { - "locationName": "notBefore", - "type": "timestamp" - } - } - } - }, - "VolumeId": { - "locationName": "volumeId" - }, - "VolumeStatus": { - "locationName": "volumeStatus", - "type": "structure", - "members": { - "Details": { - "locationName": "details", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Name": { - "locationName": "name" - }, - "Status": { - "locationName": "status" - } - } - } - }, - "Status": { - "locationName": "status" - } - } - } - } - } - } - } - } - }, - "DescribeVolumes": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "VolumeIds": { - "shape": "Siv", - "locationName": "VolumeId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Volumes": { - "locationName": "volumeSet", - "type": "list", - "member": { - "shape": "S72", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeVolumesModifications": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "VolumeIds": { - "shape": "Siv", - "locationName": "VolumeId" - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "VolumesModifications": { - "locationName": "volumeModificationSet", - "type": "list", - "member": { - "shape": "Sje", - "locationName": "item" - } - }, - "NextToken": { - "locationName": "nextToken" - } - } - } - }, - "DescribeVpcAttribute": { - "input": { - "type": "structure", - "required": [ - "Attribute", - "VpcId" - ], - "members": { - "Attribute": {}, - "VpcId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpcId": { - "locationName": "vpcId" - }, - "EnableDnsHostnames": { - "shape": "Sd2", - "locationName": "enableDnsHostnames" - }, - "EnableDnsSupport": { - "shape": "Sd2", - "locationName": "enableDnsSupport" - } - } - } - }, - "DescribeVpcClassicLink": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcIds": { - "shape": "Sjk", - "locationName": "VpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Vpcs": { - "locationName": "vpcSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ClassicLinkEnabled": { - "locationName": "classicLinkEnabled", - "type": "boolean" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - } - } - } - }, - "DescribeVpcClassicLinkDnsSupport": { - "input": { - "type": "structure", - "members": { - "MaxResults": { - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "locationName": "nextToken" - }, - "VpcIds": { - "shape": "Sjk" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "Vpcs": { - "locationName": "vpcs", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ClassicLinkDnsSupported": { - "locationName": "classicLinkDnsSupported", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - } - } - } - }, - "DescribeVpcEndpointServices": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "ServiceNames": { - "shape": "S2z", - "locationName": "serviceNameSet" - } - } - } - }, - "DescribeVpcEndpoints": { - "input": { - "type": "structure", - "members": { - "DryRun": { - "type": "boolean" - }, - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "VpcEndpointIds": { - "shape": "S2z", - "locationName": "VpcEndpointId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": { - "locationName": "nextToken" - }, - "VpcEndpoints": { - "locationName": "vpcEndpointSet", - "type": "list", - "member": { - "shape": "S7d", - "locationName": "item" - } - } - } - } - }, - "DescribeVpcPeeringConnections": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcPeeringConnectionIds": { - "shape": "S2z", - "locationName": "VpcPeeringConnectionId" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpcPeeringConnections": { - "locationName": "vpcPeeringConnectionSet", - "type": "list", - "member": { - "shape": "Sb", - "locationName": "item" - } - } - } - } - }, - "DescribeVpcs": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "VpcIds": { - "locationName": "VpcId", - "type": "list", - "member": { - "locationName": "VpcId" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Vpcs": { - "locationName": "vpcSet", - "type": "list", - "member": { - "shape": "S78", - "locationName": "item" - } - } - } - } - }, - "DescribeVpnConnections": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "VpnConnectionIds": { - "locationName": "VpnConnectionId", - "type": "list", - "member": { - "locationName": "VpnConnectionId" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpnConnections": { - "locationName": "vpnConnectionSet", - "type": "list", - "member": { - "shape": "S7k", - "locationName": "item" - } - } - } - } - }, - "DescribeVpnGateways": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S92", - "locationName": "Filter" - }, - "VpnGatewayIds": { - "locationName": "VpnGatewayId", - "type": "list", - "member": { - "locationName": "VpnGatewayId" - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "VpnGateways": { - "locationName": "vpnGatewaySet", - "type": "list", - "member": { - "shape": "S7w", - "locationName": "item" - } - } - } - } - }, - "DetachClassicLinkVpc": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "DetachInternetGateway": { - "input": { - "type": "structure", - "required": [ - "InternetGatewayId", - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InternetGatewayId": { - "locationName": "internetGatewayId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - }, - "DetachNetworkInterface": { - "input": { - "type": "structure", - "required": [ - "AttachmentId" - ], - "members": { - "AttachmentId": { - "locationName": "attachmentId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Force": { - "locationName": "force", - "type": "boolean" - } - } - } - }, - "DetachVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "Device": {}, - "Force": { - "type": "boolean" - }, - "InstanceId": {}, - "VolumeId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "shape": "S1p" - } - }, - "DetachVpnGateway": { - "input": { - "type": "structure", - "required": [ - "VpcId", - "VpnGatewayId" - ], - "members": { - "VpcId": {}, - "VpnGatewayId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DisableVgwRoutePropagation": { - "input": { - "type": "structure", - "required": [ - "GatewayId", - "RouteTableId" - ], - "members": { - "GatewayId": {}, - "RouteTableId": {} - } - } - }, - "DisableVpcClassicLink": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "DisableVpcClassicLinkDnsSupport": { - "input": { - "type": "structure", - "members": { - "VpcId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "DisassociateAddress": { - "input": { - "type": "structure", - "members": { - "AssociationId": {}, - "PublicIp": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DisassociateIamInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "AssociationId" - ], - "members": { - "AssociationId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IamInstanceProfileAssociation": { - "shape": "S13", - "locationName": "iamInstanceProfileAssociation" - } - } - } - }, - "DisassociateRouteTable": { - "input": { - "type": "structure", - "required": [ - "AssociationId" - ], - "members": { - "AssociationId": { - "locationName": "associationId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "DisassociateSubnetCidrBlock": { - "input": { - "type": "structure", - "required": [ - "AssociationId" - ], - "members": { - "AssociationId": { - "locationName": "associationId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Ipv6CidrBlockAssociation": { - "shape": "S1a", - "locationName": "ipv6CidrBlockAssociation" - }, - "SubnetId": { - "locationName": "subnetId" - } - } - } - }, - "DisassociateVpcCidrBlock": { - "input": { - "type": "structure", - "required": [ - "AssociationId" - ], - "members": { - "AssociationId": { - "locationName": "associationId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Ipv6CidrBlockAssociation": { - "shape": "S1f", - "locationName": "ipv6CidrBlockAssociation" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - }, - "EnableVgwRoutePropagation": { - "input": { - "type": "structure", - "required": [ - "GatewayId", - "RouteTableId" - ], - "members": { - "GatewayId": {}, - "RouteTableId": {} - } - } - }, - "EnableVolumeIO": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VolumeId": { - "locationName": "volumeId" - } - } - } - }, - "EnableVpcClassicLink": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "EnableVpcClassicLinkDnsSupport": { - "input": { - "type": "structure", - "members": { - "VpcId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "GetConsoleOutput": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "Output": { - "locationName": "output" - }, - "Timestamp": { - "locationName": "timestamp", - "type": "timestamp" - } - } - } - }, - "GetConsoleScreenshot": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "InstanceId": {}, - "WakeUp": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "ImageData": { - "locationName": "imageData" - }, - "InstanceId": { - "locationName": "instanceId" - } - } - } - }, - "GetHostReservationPurchasePreview": { - "input": { - "type": "structure", - "required": [ - "HostIdSet", - "OfferingId" - ], - "members": { - "HostIdSet": { - "shape": "Sl6" - }, - "OfferingId": {} - } - }, - "output": { - "type": "structure", - "members": { - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Purchase": { - "shape": "Sl8", - "locationName": "purchase" - }, - "TotalHourlyPrice": { - "locationName": "totalHourlyPrice" - }, - "TotalUpfrontPrice": { - "locationName": "totalUpfrontPrice" - } - } - } - }, - "GetPasswordData": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "PasswordData": { - "locationName": "passwordData" - }, - "Timestamp": { - "locationName": "timestamp", - "type": "timestamp" - } - } - } - }, - "GetReservedInstancesExchangeQuote": { - "input": { - "type": "structure", - "required": [ - "ReservedInstanceIds" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "ReservedInstanceIds": { - "shape": "S3", - "locationName": "ReservedInstanceId" - }, - "TargetConfigurations": { - "shape": "S5", - "locationName": "TargetConfiguration" - } - } - }, - "output": { - "type": "structure", - "members": { - "CurrencyCode": { - "locationName": "currencyCode" - }, - "IsValidExchange": { - "locationName": "isValidExchange", - "type": "boolean" - }, - "OutputReservedInstancesWillExpireAt": { - "locationName": "outputReservedInstancesWillExpireAt", - "type": "timestamp" - }, - "PaymentDue": { - "locationName": "paymentDue" - }, - "ReservedInstanceValueRollup": { - "shape": "Sle", - "locationName": "reservedInstanceValueRollup" - }, - "ReservedInstanceValueSet": { - "locationName": "reservedInstanceValueSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservationValue": { - "shape": "Sle", - "locationName": "reservationValue" - }, - "ReservedInstanceId": { - "locationName": "reservedInstanceId" - } - } - } - }, - "TargetConfigurationValueRollup": { - "shape": "Sle", - "locationName": "targetConfigurationValueRollup" - }, - "TargetConfigurationValueSet": { - "locationName": "targetConfigurationValueSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ReservationValue": { - "shape": "Sle", - "locationName": "reservationValue" - }, - "TargetConfiguration": { - "locationName": "targetConfiguration", - "type": "structure", - "members": { - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "OfferingId": { - "locationName": "offeringId" - } - } - } - } - } - }, - "ValidationFailureReason": { - "locationName": "validationFailureReason" - } - } - } - }, - "ImportImage": { - "input": { - "type": "structure", - "members": { - "Architecture": {}, - "ClientData": { - "shape": "Sll" - }, - "ClientToken": {}, - "Description": {}, - "DiskContainers": { - "locationName": "DiskContainer", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Description": {}, - "DeviceName": {}, - "Format": {}, - "SnapshotId": {}, - "Url": {}, - "UserBucket": { - "shape": "Slo" - } - } - } - }, - "DryRun": { - "type": "boolean" - }, - "Hypervisor": {}, - "LicenseType": {}, - "Platform": {}, - "RoleName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Architecture": { - "locationName": "architecture" - }, - "Description": { - "locationName": "description" - }, - "Hypervisor": { - "locationName": "hypervisor" - }, - "ImageId": { - "locationName": "imageId" - }, - "ImportTaskId": { - "locationName": "importTaskId" - }, - "LicenseType": { - "locationName": "licenseType" - }, - "Platform": { - "locationName": "platform" - }, - "Progress": { - "locationName": "progress" - }, - "SnapshotDetails": { - "shape": "Sco", - "locationName": "snapshotDetailSet" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - } - } - } - }, - "ImportInstance": { - "input": { - "type": "structure", - "required": [ - "Platform" - ], - "members": { - "Description": { - "locationName": "description" - }, - "DiskImages": { - "locationName": "diskImage", - "type": "list", - "member": { - "type": "structure", - "members": { - "Description": {}, - "Image": { - "shape": "Slt" - }, - "Volume": { - "shape": "Slu" - } - } - } - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "LaunchSpecification": { - "locationName": "launchSpecification", - "type": "structure", - "members": { - "AdditionalInfo": { - "locationName": "additionalInfo" - }, - "Architecture": { - "locationName": "architecture" - }, - "GroupIds": { - "shape": "S5h", - "locationName": "GroupId" - }, - "GroupNames": { - "shape": "Slw", - "locationName": "GroupName" - }, - "InstanceInitiatedShutdownBehavior": { - "locationName": "instanceInitiatedShutdownBehavior" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Monitoring": { - "locationName": "monitoring", - "type": "boolean" - }, - "Placement": { - "shape": "Sdr", - "locationName": "placement" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "UserData": { - "locationName": "userData", - "type": "structure", - "members": { - "Data": { - "locationName": "data" - } - } - } - } - }, - "Platform": { - "locationName": "platform" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConversionTask": { - "shape": "S9u", - "locationName": "conversionTask" - } - } - } - }, - "ImportKeyPair": { - "input": { - "type": "structure", - "required": [ - "KeyName", - "PublicKeyMaterial" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "KeyName": { - "locationName": "keyName" - }, - "PublicKeyMaterial": { - "locationName": "publicKeyMaterial", - "type": "blob" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyFingerprint": { - "locationName": "keyFingerprint" - }, - "KeyName": { - "locationName": "keyName" - } - } - } - }, - "ImportSnapshot": { - "input": { - "type": "structure", - "members": { - "ClientData": { - "shape": "Sll" - }, - "ClientToken": {}, - "Description": {}, - "DiskContainer": { - "type": "structure", - "members": { - "Description": {}, - "Format": {}, - "Url": {}, - "UserBucket": { - "shape": "Slo" - } - } - }, - "DryRun": { - "type": "boolean" - }, - "RoleName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Description": { - "locationName": "description" - }, - "ImportTaskId": { - "locationName": "importTaskId" - }, - "SnapshotTaskDetail": { - "shape": "Scv", - "locationName": "snapshotTaskDetail" - } - } - } - }, - "ImportVolume": { - "input": { - "type": "structure", - "required": [ - "AvailabilityZone", - "Image", - "Volume" - ], - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Description": { - "locationName": "description" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Image": { - "shape": "Slt", - "locationName": "image" - }, - "Volume": { - "shape": "Slu", - "locationName": "volume" - } - } - }, - "output": { - "type": "structure", - "members": { - "ConversionTask": { - "shape": "S9u", - "locationName": "conversionTask" - } - } - } - }, - "ModifyHosts": { - "input": { - "type": "structure", - "required": [ - "AutoPlacement", - "HostIds" - ], - "members": { - "AutoPlacement": { - "locationName": "autoPlacement" - }, - "HostIds": { - "shape": "Sbe", - "locationName": "hostId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Successful": { - "shape": "Sr", - "locationName": "successful" - }, - "Unsuccessful": { - "shape": "Sm9", - "locationName": "unsuccessful" - } - } - } - }, - "ModifyIdFormat": { - "input": { - "type": "structure", - "required": [ - "Resource", - "UseLongIds" - ], - "members": { - "Resource": {}, - "UseLongIds": { - "type": "boolean" - } - } - } - }, - "ModifyIdentityIdFormat": { - "input": { - "type": "structure", - "required": [ - "PrincipalArn", - "Resource", - "UseLongIds" - ], - "members": { - "PrincipalArn": { - "locationName": "principalArn" - }, - "Resource": { - "locationName": "resource" - }, - "UseLongIds": { - "locationName": "useLongIds", - "type": "boolean" - } - } - } - }, - "ModifyImageAttribute": { - "input": { - "type": "structure", - "required": [ - "ImageId" - ], - "members": { - "Attribute": {}, - "Description": { - "shape": "S3w" - }, - "ImageId": {}, - "LaunchPermission": { - "type": "structure", - "members": { - "Add": { - "shape": "Sc3" - }, - "Remove": { - "shape": "Sc3" - } - } - }, - "OperationType": {}, - "ProductCodes": { - "locationName": "ProductCode", - "type": "list", - "member": { - "locationName": "ProductCode" - } - }, - "UserGroups": { - "locationName": "UserGroup", - "type": "list", - "member": { - "locationName": "UserGroup" - } - }, - "UserIds": { - "shape": "Smh", - "locationName": "UserId" - }, - "Value": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "ModifyInstanceAttribute": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "SourceDestCheck": { - "shape": "Sd2" - }, - "Attribute": { - "locationName": "attribute" - }, - "BlockDeviceMappings": { - "locationName": "blockDeviceMapping", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "DeviceName": { - "locationName": "deviceName" - }, - "Ebs": { - "locationName": "ebs", - "type": "structure", - "members": { - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - }, - "VolumeId": { - "locationName": "volumeId" - } - } - }, - "NoDevice": { - "locationName": "noDevice" - }, - "VirtualName": { - "locationName": "virtualName" - } - } - } - }, - "DisableApiTermination": { - "shape": "Sd2", - "locationName": "disableApiTermination" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "EbsOptimized": { - "shape": "Sd2", - "locationName": "ebsOptimized" - }, - "EnaSupport": { - "shape": "Sd2", - "locationName": "enaSupport" - }, - "Groups": { - "shape": "S1j", - "locationName": "GroupId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceInitiatedShutdownBehavior": { - "shape": "S3w", - "locationName": "instanceInitiatedShutdownBehavior" - }, - "InstanceType": { - "shape": "S3w", - "locationName": "instanceType" - }, - "Kernel": { - "shape": "S3w", - "locationName": "kernel" - }, - "Ramdisk": { - "shape": "S3w", - "locationName": "ramdisk" - }, - "SriovNetSupport": { - "shape": "S3w", - "locationName": "sriovNetSupport" - }, - "UserData": { - "locationName": "userData", - "type": "structure", - "members": { - "Value": { - "locationName": "value", - "type": "blob" - } - } - }, - "Value": { - "locationName": "value" - } - } - } - }, - "ModifyInstancePlacement": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "Affinity": { - "locationName": "affinity" - }, - "HostId": { - "locationName": "hostId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Tenancy": { - "locationName": "tenancy" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "ModifyNetworkInterfaceAttribute": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "Attachment": { - "locationName": "attachment", - "type": "structure", - "members": { - "AttachmentId": { - "locationName": "attachmentId" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - } - } - }, - "Description": { - "shape": "S3w", - "locationName": "description" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Groups": { - "shape": "S5h", - "locationName": "SecurityGroupId" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "SourceDestCheck": { - "shape": "Sd2", - "locationName": "sourceDestCheck" - } - } - } - }, - "ModifyReservedInstances": { - "input": { - "type": "structure", - "required": [ - "ReservedInstancesIds", - "TargetConfigurations" - ], - "members": { - "ReservedInstancesIds": { - "shape": "Sf6", - "locationName": "ReservedInstancesId" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "TargetConfigurations": { - "locationName": "ReservedInstancesConfigurationSetItemType", - "type": "list", - "member": { - "shape": "Sfr", - "locationName": "item" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesModificationId": { - "locationName": "reservedInstancesModificationId" - } - } - } - }, - "ModifySnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "SnapshotId" - ], - "members": { - "Attribute": {}, - "CreateVolumePermission": { - "type": "structure", - "members": { - "Add": { - "shape": "Sgw" - }, - "Remove": { - "shape": "Sgw" - } - } - }, - "GroupNames": { - "shape": "Sgp", - "locationName": "UserGroup" - }, - "OperationType": {}, - "SnapshotId": {}, - "UserIds": { - "shape": "Smh", - "locationName": "UserId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "ModifySpotFleetRequest": { - "input": { - "type": "structure", - "required": [ - "SpotFleetRequestId" - ], - "members": { - "ExcessCapacityTerminationPolicy": { - "locationName": "excessCapacityTerminationPolicy" - }, - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - }, - "TargetCapacity": { - "locationName": "targetCapacity", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "ModifySubnetAttribute": { - "input": { - "type": "structure", - "required": [ - "SubnetId" - ], - "members": { - "AssignIpv6AddressOnCreation": { - "shape": "Sd2" - }, - "MapPublicIpOnLaunch": { - "shape": "Sd2" - }, - "SubnetId": { - "locationName": "subnetId" - } - } - } - }, - "ModifyVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "DryRun": { - "type": "boolean" - }, - "VolumeId": {}, - "Size": { - "type": "integer" - }, - "VolumeType": {}, - "Iops": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "VolumeModification": { - "shape": "Sje", - "locationName": "volumeModification" - } - } - } - }, - "ModifyVolumeAttribute": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "AutoEnableIO": { - "shape": "Sd2" - }, - "VolumeId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "ModifyVpcAttribute": { - "input": { - "type": "structure", - "required": [ - "VpcId" - ], - "members": { - "EnableDnsHostnames": { - "shape": "Sd2" - }, - "EnableDnsSupport": { - "shape": "Sd2" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - }, - "ModifyVpcEndpoint": { - "input": { - "type": "structure", - "required": [ - "VpcEndpointId" - ], - "members": { - "AddRouteTableIds": { - "shape": "S2z", - "locationName": "AddRouteTableId" - }, - "DryRun": { - "type": "boolean" - }, - "PolicyDocument": {}, - "RemoveRouteTableIds": { - "shape": "S2z", - "locationName": "RemoveRouteTableId" - }, - "ResetPolicy": { - "type": "boolean" - }, - "VpcEndpointId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "ModifyVpcPeeringConnectionOptions": { - "input": { - "type": "structure", - "required": [ - "VpcPeeringConnectionId" - ], - "members": { - "AccepterPeeringConnectionOptions": { - "shape": "Sn8" - }, - "DryRun": { - "type": "boolean" - }, - "RequesterPeeringConnectionOptions": { - "shape": "Sn8" - }, - "VpcPeeringConnectionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "AccepterPeeringConnectionOptions": { - "shape": "Sna", - "locationName": "accepterPeeringConnectionOptions" - }, - "RequesterPeeringConnectionOptions": { - "shape": "Sna", - "locationName": "requesterPeeringConnectionOptions" - } - } - } - }, - "MonitorInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "S9m", - "locationName": "InstanceId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceMonitorings": { - "shape": "Snd", - "locationName": "instancesSet" - } - } - } - }, - "MoveAddressToVpc": { - "input": { - "type": "structure", - "required": [ - "PublicIp" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "PublicIp": { - "locationName": "publicIp" - } - } - }, - "output": { - "type": "structure", - "members": { - "AllocationId": { - "locationName": "allocationId" - }, - "Status": { - "locationName": "status" - } - } - } - }, - "PurchaseHostReservation": { - "input": { - "type": "structure", - "required": [ - "HostIdSet", - "OfferingId" - ], - "members": { - "ClientToken": {}, - "CurrencyCode": {}, - "HostIdSet": { - "shape": "Sl6" - }, - "LimitPrice": {}, - "OfferingId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClientToken": { - "locationName": "clientToken" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Purchase": { - "shape": "Sl8", - "locationName": "purchase" - }, - "TotalHourlyPrice": { - "locationName": "totalHourlyPrice" - }, - "TotalUpfrontPrice": { - "locationName": "totalUpfrontPrice" - } - } - } - }, - "PurchaseReservedInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "InstanceCount", - "ReservedInstancesOfferingId" - ], - "members": { - "InstanceCount": { - "type": "integer" - }, - "ReservedInstancesOfferingId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "LimitPrice": { - "locationName": "limitPrice", - "type": "structure", - "members": { - "Amount": { - "locationName": "amount", - "type": "double" - }, - "CurrencyCode": { - "locationName": "currencyCode" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - } - } - } - }, - "PurchaseScheduledInstances": { - "input": { - "type": "structure", - "required": [ - "PurchaseRequests" - ], - "members": { - "ClientToken": { - "idempotencyToken": true - }, - "DryRun": { - "type": "boolean" - }, - "PurchaseRequests": { - "locationName": "PurchaseRequest", - "type": "list", - "member": { - "locationName": "PurchaseRequest", - "type": "structure", - "required": [ - "InstanceCount", - "PurchaseToken" - ], - "members": { - "InstanceCount": { - "type": "integer" - }, - "PurchaseToken": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ScheduledInstanceSet": { - "locationName": "scheduledInstanceSet", - "type": "list", - "member": { - "shape": "Sgi", - "locationName": "item" - } - } - } - } - }, - "RebootInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "S9m", - "locationName": "InstanceId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "RegisterImage": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "ImageLocation": {}, - "Architecture": { - "locationName": "architecture" - }, - "BlockDeviceMappings": { - "shape": "S4e", - "locationName": "BlockDeviceMapping" - }, - "Description": { - "locationName": "description" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "EnaSupport": { - "locationName": "enaSupport", - "type": "boolean" - }, - "KernelId": { - "locationName": "kernelId" - }, - "Name": { - "locationName": "name" - }, - "BillingProducts": { - "locationName": "BillingProduct", - "type": "list", - "member": { - "locationName": "item" - } - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "RootDeviceName": { - "locationName": "rootDeviceName" - }, - "SriovNetSupport": { - "locationName": "sriovNetSupport" - }, - "VirtualizationType": { - "locationName": "virtualizationType" - } - } - }, - "output": { - "type": "structure", - "members": { - "ImageId": { - "locationName": "imageId" - } - } - } - }, - "RejectVpcPeeringConnection": { - "input": { - "type": "structure", - "required": [ - "VpcPeeringConnectionId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Return": { - "locationName": "return", - "type": "boolean" - } - } - } - }, - "ReleaseAddress": { - "input": { - "type": "structure", - "members": { - "AllocationId": {}, - "PublicIp": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "ReleaseHosts": { - "input": { - "type": "structure", - "required": [ - "HostIds" - ], - "members": { - "HostIds": { - "shape": "Sbe", - "locationName": "hostId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Successful": { - "shape": "Sr", - "locationName": "successful" - }, - "Unsuccessful": { - "shape": "Sm9", - "locationName": "unsuccessful" - } - } - } - }, - "ReplaceIamInstanceProfileAssociation": { - "input": { - "type": "structure", - "required": [ - "IamInstanceProfile", - "AssociationId" - ], - "members": { - "IamInstanceProfile": { - "shape": "S11" - }, - "AssociationId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IamInstanceProfileAssociation": { - "shape": "S13", - "locationName": "iamInstanceProfileAssociation" - } - } - } - }, - "ReplaceNetworkAclAssociation": { - "input": { - "type": "structure", - "required": [ - "AssociationId", - "NetworkAclId" - ], - "members": { - "AssociationId": { - "locationName": "associationId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkAclId": { - "locationName": "networkAclId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NewAssociationId": { - "locationName": "newAssociationId" - } - } - } - }, - "ReplaceNetworkAclEntry": { - "input": { - "type": "structure", - "required": [ - "Egress", - "NetworkAclId", - "Protocol", - "RuleAction", - "RuleNumber" - ], - "members": { - "CidrBlock": { - "locationName": "cidrBlock" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Egress": { - "locationName": "egress", - "type": "boolean" - }, - "IcmpTypeCode": { - "shape": "S5c", - "locationName": "Icmp" - }, - "Ipv6CidrBlock": { - "locationName": "ipv6CidrBlock" - }, - "NetworkAclId": { - "locationName": "networkAclId" - }, - "PortRange": { - "shape": "S5d", - "locationName": "portRange" - }, - "Protocol": { - "locationName": "protocol" - }, - "RuleAction": { - "locationName": "ruleAction" - }, - "RuleNumber": { - "locationName": "ruleNumber", - "type": "integer" - } - } - } - }, - "ReplaceRoute": { - "input": { - "type": "structure", - "required": [ - "RouteTableId" - ], - "members": { - "DestinationCidrBlock": { - "locationName": "destinationCidrBlock" - }, - "DestinationIpv6CidrBlock": { - "locationName": "destinationIpv6CidrBlock" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "EgressOnlyInternetGatewayId": { - "locationName": "egressOnlyInternetGatewayId" - }, - "GatewayId": { - "locationName": "gatewayId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "NatGatewayId": { - "locationName": "natGatewayId" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "RouteTableId": { - "locationName": "routeTableId" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - } - }, - "ReplaceRouteTableAssociation": { - "input": { - "type": "structure", - "required": [ - "AssociationId", - "RouteTableId" - ], - "members": { - "AssociationId": { - "locationName": "associationId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "RouteTableId": { - "locationName": "routeTableId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NewAssociationId": { - "locationName": "newAssociationId" - } - } - } - }, - "ReportInstanceStatus": { - "input": { - "type": "structure", - "required": [ - "Instances", - "ReasonCodes", - "Status" - ], - "members": { - "Description": { - "locationName": "description" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "EndTime": { - "locationName": "endTime", - "type": "timestamp" - }, - "Instances": { - "shape": "S9m", - "locationName": "instanceId" - }, - "ReasonCodes": { - "locationName": "reasonCode", - "type": "list", - "member": { - "locationName": "item" - } - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - }, - "Status": { - "locationName": "status" - } - } - } - }, - "RequestSpotFleet": { - "input": { - "type": "structure", - "required": [ - "SpotFleetRequestConfig" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "SpotFleetRequestConfig": { - "shape": "Shl", - "locationName": "spotFleetRequestConfig" - } - } - }, - "output": { - "type": "structure", - "required": [ - "SpotFleetRequestId" - ], - "members": { - "SpotFleetRequestId": { - "locationName": "spotFleetRequestId" - } - } - } - }, - "RequestSpotInstances": { - "input": { - "type": "structure", - "required": [ - "SpotPrice" - ], - "members": { - "AvailabilityZoneGroup": { - "locationName": "availabilityZoneGroup" - }, - "BlockDurationMinutes": { - "locationName": "blockDurationMinutes", - "type": "integer" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "LaunchGroup": { - "locationName": "launchGroup" - }, - "LaunchSpecification": { - "type": "structure", - "members": { - "SecurityGroupIds": { - "shape": "S2z", - "locationName": "SecurityGroupId" - }, - "SecurityGroups": { - "shape": "S2z", - "locationName": "SecurityGroup" - }, - "AddressingType": { - "locationName": "addressingType" - }, - "BlockDeviceMappings": { - "shape": "Sc2", - "locationName": "blockDeviceMapping" - }, - "EbsOptimized": { - "locationName": "ebsOptimized", - "type": "boolean" - }, - "IamInstanceProfile": { - "shape": "S11", - "locationName": "iamInstanceProfile" - }, - "ImageId": { - "locationName": "imageId" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "KernelId": { - "locationName": "kernelId" - }, - "KeyName": { - "locationName": "keyName" - }, - "Monitoring": { - "shape": "Si0", - "locationName": "monitoring" - }, - "NetworkInterfaces": { - "shape": "Shr", - "locationName": "NetworkInterface" - }, - "Placement": { - "shape": "Sht", - "locationName": "placement" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "UserData": { - "locationName": "userData" - } - } - }, - "SpotPrice": { - "locationName": "spotPrice" - }, - "Type": { - "locationName": "type" - }, - "ValidFrom": { - "locationName": "validFrom", - "type": "timestamp" - }, - "ValidUntil": { - "locationName": "validUntil", - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": { - "SpotInstanceRequests": { - "shape": "Shx", - "locationName": "spotInstanceRequestSet" - } - } - } - }, - "ResetImageAttribute": { - "input": { - "type": "structure", - "required": [ - "Attribute", - "ImageId" - ], - "members": { - "Attribute": {}, - "ImageId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "ResetInstanceAttribute": { - "input": { - "type": "structure", - "required": [ - "Attribute", - "InstanceId" - ], - "members": { - "Attribute": { - "locationName": "attribute" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "InstanceId": { - "locationName": "instanceId" - } - } - } - }, - "ResetNetworkInterfaceAttribute": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "SourceDestCheck": { - "locationName": "sourceDestCheck" - } - } - } - }, - "ResetSnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "Attribute", - "SnapshotId" - ], - "members": { - "Attribute": {}, - "SnapshotId": {}, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "RestoreAddressToClassic": { - "input": { - "type": "structure", - "required": [ - "PublicIp" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "PublicIp": { - "locationName": "publicIp" - } - } - }, - "output": { - "type": "structure", - "members": { - "PublicIp": { - "locationName": "publicIp" - }, - "Status": { - "locationName": "status" - } - } - } - }, - "RevokeSecurityGroupEgress": { - "input": { - "type": "structure", - "required": [ - "GroupId" - ], - "members": { - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "GroupId": { - "locationName": "groupId" - }, - "IpPermissions": { - "shape": "S1w", - "locationName": "ipPermissions" - }, - "CidrIp": { - "locationName": "cidrIp" - }, - "FromPort": { - "locationName": "fromPort", - "type": "integer" - }, - "IpProtocol": { - "locationName": "ipProtocol" - }, - "ToPort": { - "locationName": "toPort", - "type": "integer" - }, - "SourceSecurityGroupName": { - "locationName": "sourceSecurityGroupName" - }, - "SourceSecurityGroupOwnerId": { - "locationName": "sourceSecurityGroupOwnerId" - } - } - } - }, - "RevokeSecurityGroupIngress": { - "input": { - "type": "structure", - "members": { - "CidrIp": {}, - "FromPort": { - "type": "integer" - }, - "GroupId": {}, - "GroupName": {}, - "IpPermissions": { - "shape": "S1w" - }, - "IpProtocol": {}, - "SourceSecurityGroupName": {}, - "SourceSecurityGroupOwnerId": {}, - "ToPort": { - "type": "integer" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - } - }, - "RunInstances": { - "input": { - "type": "structure", - "required": [ - "ImageId", - "MaxCount", - "MinCount" - ], - "members": { - "BlockDeviceMappings": { - "shape": "S4e", - "locationName": "BlockDeviceMapping" - }, - "ImageId": {}, - "InstanceType": {}, - "Ipv6AddressCount": { - "type": "integer" - }, - "Ipv6Addresses": { - "shape": "S5i", - "locationName": "Ipv6Address" - }, - "KernelId": {}, - "KeyName": {}, - "MaxCount": { - "type": "integer" - }, - "MinCount": { - "type": "integer" - }, - "Monitoring": { - "shape": "Si0" - }, - "Placement": { - "shape": "Sdr" - }, - "RamdiskId": {}, - "SecurityGroupIds": { - "shape": "S5h", - "locationName": "SecurityGroupId" - }, - "SecurityGroups": { - "shape": "Slw", - "locationName": "SecurityGroup" - }, - "SubnetId": {}, - "UserData": {}, - "AdditionalInfo": { - "locationName": "additionalInfo" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "DisableApiTermination": { - "locationName": "disableApiTermination", - "type": "boolean" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "EbsOptimized": { - "locationName": "ebsOptimized", - "type": "boolean" - }, - "IamInstanceProfile": { - "shape": "S11", - "locationName": "iamInstanceProfile" - }, - "InstanceInitiatedShutdownBehavior": { - "locationName": "instanceInitiatedShutdownBehavior" - }, - "NetworkInterfaces": { - "shape": "Shr", - "locationName": "networkInterface" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "TagSpecifications": { - "shape": "S6z", - "locationName": "TagSpecification" - } - } - }, - "output": { - "shape": "Sdl" - } - }, - "RunScheduledInstances": { - "input": { - "type": "structure", - "required": [ - "LaunchSpecification", - "ScheduledInstanceId" - ], - "members": { - "ClientToken": { - "idempotencyToken": true - }, - "DryRun": { - "type": "boolean" - }, - "InstanceCount": { - "type": "integer" - }, - "LaunchSpecification": { - "type": "structure", - "required": [ - "ImageId" - ], - "members": { - "BlockDeviceMappings": { - "locationName": "BlockDeviceMapping", - "type": "list", - "member": { - "locationName": "BlockDeviceMapping", - "type": "structure", - "members": { - "DeviceName": {}, - "Ebs": { - "type": "structure", - "members": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "SnapshotId": {}, - "VolumeSize": { - "type": "integer" - }, - "VolumeType": {} - } - }, - "NoDevice": {}, - "VirtualName": {} - } - } - }, - "EbsOptimized": { - "type": "boolean" - }, - "IamInstanceProfile": { - "type": "structure", - "members": { - "Arn": {}, - "Name": {} - } - }, - "ImageId": {}, - "InstanceType": {}, - "KernelId": {}, - "KeyName": {}, - "Monitoring": { - "type": "structure", - "members": { - "Enabled": { - "type": "boolean" - } - } - }, - "NetworkInterfaces": { - "locationName": "NetworkInterface", - "type": "list", - "member": { - "locationName": "NetworkInterface", - "type": "structure", - "members": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": {}, - "DeviceIndex": { - "type": "integer" - }, - "Groups": { - "shape": "Sp1", - "locationName": "Group" - }, - "Ipv6AddressCount": { - "type": "integer" - }, - "Ipv6Addresses": { - "locationName": "Ipv6Address", - "type": "list", - "member": { - "locationName": "Ipv6Address", - "type": "structure", - "members": { - "Ipv6Address": {} - } - } - }, - "NetworkInterfaceId": {}, - "PrivateIpAddress": {}, - "PrivateIpAddressConfigs": { - "locationName": "PrivateIpAddressConfig", - "type": "list", - "member": { - "locationName": "PrivateIpAddressConfigSet", - "type": "structure", - "members": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": {} - } - } - }, - "SecondaryPrivateIpAddressCount": { - "type": "integer" - }, - "SubnetId": {} - } - } - }, - "Placement": { - "type": "structure", - "members": { - "AvailabilityZone": {}, - "GroupName": {} - } - }, - "RamdiskId": {}, - "SecurityGroupIds": { - "shape": "Sp1", - "locationName": "SecurityGroupId" - }, - "SubnetId": {}, - "UserData": {} - } - }, - "ScheduledInstanceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceIdSet": { - "locationName": "instanceIdSet", - "type": "list", - "member": { - "locationName": "item" - } - } - } - } - }, - "StartInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "S9m", - "locationName": "InstanceId" - }, - "AdditionalInfo": { - "locationName": "additionalInfo" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "StartingInstances": { - "shape": "Spc", - "locationName": "instancesSet" - } - } - } - }, - "StopInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "S9m", - "locationName": "InstanceId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - }, - "Force": { - "locationName": "force", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "StoppingInstances": { - "shape": "Spc", - "locationName": "instancesSet" - } - } - } - }, - "TerminateInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "S9m", - "locationName": "InstanceId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "TerminatingInstances": { - "shape": "Spc", - "locationName": "instancesSet" - } - } - } - }, - "UnassignIpv6Addresses": { - "input": { - "type": "structure", - "required": [ - "Ipv6Addresses", - "NetworkInterfaceId" - ], - "members": { - "Ipv6Addresses": { - "shape": "St", - "locationName": "ipv6Addresses" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - } - } - }, - "output": { - "type": "structure", - "members": { - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "UnassignedIpv6Addresses": { - "shape": "St", - "locationName": "unassignedIpv6Addresses" - } - } - } - }, - "UnassignPrivateIpAddresses": { - "input": { - "type": "structure", - "required": [ - "NetworkInterfaceId", - "PrivateIpAddresses" - ], - "members": { - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "PrivateIpAddresses": { - "shape": "Sw", - "locationName": "privateIpAddress" - } - } - } - }, - "UnmonitorInstances": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "S9m", - "locationName": "InstanceId" - }, - "DryRun": { - "locationName": "dryRun", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceMonitorings": { - "shape": "Snd", - "locationName": "instancesSet" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "locationName": "ReservedInstanceId" - } - }, - "S5": { - "type": "list", - "member": { - "locationName": "TargetConfigurationRequest", - "type": "structure", - "required": [ - "OfferingId" - ], - "members": { - "InstanceCount": { - "type": "integer" - }, - "OfferingId": {} - } - } - }, - "Sb": { - "type": "structure", - "members": { - "AccepterVpcInfo": { - "shape": "Sc", - "locationName": "accepterVpcInfo" - }, - "ExpirationTime": { - "locationName": "expirationTime", - "type": "timestamp" - }, - "RequesterVpcInfo": { - "shape": "Sc", - "locationName": "requesterVpcInfo" - }, - "Status": { - "locationName": "status", - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - }, - "Sc": { - "type": "structure", - "members": { - "CidrBlock": { - "locationName": "cidrBlock" - }, - "Ipv6CidrBlockSet": { - "locationName": "ipv6CidrBlockSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Ipv6CidrBlock": { - "locationName": "ipv6CidrBlock" - } - } - } - }, - "OwnerId": { - "locationName": "ownerId" - }, - "PeeringOptions": { - "locationName": "peeringOptions", - "type": "structure", - "members": { - "AllowDnsResolutionFromRemoteVpc": { - "locationName": "allowDnsResolutionFromRemoteVpc", - "type": "boolean" - }, - "AllowEgressFromLocalClassicLinkToRemoteVpc": { - "locationName": "allowEgressFromLocalClassicLinkToRemoteVpc", - "type": "boolean" - }, - "AllowEgressFromLocalVpcToRemoteClassicLink": { - "locationName": "allowEgressFromLocalVpcToRemoteClassicLink", - "type": "boolean" - } - } - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "Sj": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Key": { - "locationName": "key" - }, - "Value": { - "locationName": "value" - } - } - } - }, - "Sr": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "St": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "Sw": { - "type": "list", - "member": { - "locationName": "PrivateIpAddress" - } - }, - "S11": { - "type": "structure", - "members": { - "Arn": { - "locationName": "arn" - }, - "Name": { - "locationName": "name" - } - } - }, - "S13": { - "type": "structure", - "members": { - "AssociationId": { - "locationName": "associationId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "IamInstanceProfile": { - "shape": "S14", - "locationName": "iamInstanceProfile" - }, - "State": { - "locationName": "state" - }, - "Timestamp": { - "locationName": "timestamp", - "type": "timestamp" - } - } - }, - "S14": { - "type": "structure", - "members": { - "Arn": { - "locationName": "arn" - }, - "Id": { - "locationName": "id" - } - } - }, - "S1a": { - "type": "structure", - "members": { - "AssociationId": { - "locationName": "associationId" - }, - "Ipv6CidrBlock": { - "locationName": "ipv6CidrBlock" - }, - "Ipv6CidrBlockState": { - "locationName": "ipv6CidrBlockState", - "type": "structure", - "members": { - "State": { - "locationName": "state" - }, - "StatusMessage": { - "locationName": "statusMessage" - } - } - } - } - }, - "S1f": { - "type": "structure", - "members": { - "AssociationId": { - "locationName": "associationId" - }, - "Ipv6CidrBlock": { - "locationName": "ipv6CidrBlock" - }, - "Ipv6CidrBlockState": { - "locationName": "ipv6CidrBlockState", - "type": "structure", - "members": { - "State": { - "locationName": "state" - }, - "StatusMessage": { - "locationName": "statusMessage" - } - } - } - } - }, - "S1j": { - "type": "list", - "member": { - "locationName": "groupId" - } - }, - "S1p": { - "type": "structure", - "members": { - "AttachTime": { - "locationName": "attachTime", - "type": "timestamp" - }, - "Device": { - "locationName": "device" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "State": { - "locationName": "status" - }, - "VolumeId": { - "locationName": "volumeId" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - } - } - }, - "S1t": { - "type": "structure", - "members": { - "State": { - "locationName": "state" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "S1w": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "FromPort": { - "locationName": "fromPort", - "type": "integer" - }, - "IpProtocol": { - "locationName": "ipProtocol" - }, - "IpRanges": { - "locationName": "ipRanges", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "CidrIp": { - "locationName": "cidrIp" - } - } - } - }, - "Ipv6Ranges": { - "locationName": "ipv6Ranges", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "CidrIpv6": { - "locationName": "cidrIpv6" - } - } - } - }, - "PrefixListIds": { - "locationName": "prefixListIds", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "PrefixListId": { - "locationName": "prefixListId" - } - } - } - }, - "ToPort": { - "locationName": "toPort", - "type": "integer" - }, - "UserIdGroupPairs": { - "locationName": "groups", - "type": "list", - "member": { - "shape": "S25", - "locationName": "item" - } - } - } - } - }, - "S25": { - "type": "structure", - "members": { - "GroupId": { - "locationName": "groupId" - }, - "GroupName": { - "locationName": "groupName" - }, - "PeeringStatus": { - "locationName": "peeringStatus" - }, - "UserId": { - "locationName": "userId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - }, - "S28": { - "type": "structure", - "members": { - "S3": { - "type": "structure", - "members": { - "AWSAccessKeyId": {}, - "Bucket": { - "locationName": "bucket" - }, - "Prefix": { - "locationName": "prefix" - }, - "UploadPolicy": { - "locationName": "uploadPolicy", - "type": "blob" - }, - "UploadPolicySignature": { - "locationName": "uploadPolicySignature" - } - } - } - } - }, - "S2c": { - "type": "structure", - "members": { - "BundleId": { - "locationName": "bundleId" - }, - "BundleTaskError": { - "locationName": "error", - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Progress": { - "locationName": "progress" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - }, - "State": { - "locationName": "state" - }, - "Storage": { - "shape": "S28", - "locationName": "storage" - }, - "UpdateTime": { - "locationName": "updateTime", - "type": "timestamp" - } - } - }, - "S2n": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ClientToken": { - "locationName": "clientToken" - }, - "CreateDate": { - "locationName": "createDate", - "type": "timestamp" - }, - "InstanceCounts": { - "locationName": "instanceCounts", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "State": { - "locationName": "state" - } - } - } - }, - "PriceSchedules": { - "locationName": "priceSchedules", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Active": { - "locationName": "active", - "type": "boolean" - }, - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Price": { - "locationName": "price", - "type": "double" - }, - "Term": { - "locationName": "term", - "type": "long" - } - } - } - }, - "ReservedInstancesId": { - "locationName": "reservedInstancesId" - }, - "ReservedInstancesListingId": { - "locationName": "reservedInstancesListingId" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "UpdateDate": { - "locationName": "updateDate", - "type": "timestamp" - } - } - } - }, - "S2z": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "S39": { - "type": "list", - "member": { - "locationName": "SpotInstanceRequestId" - } - }, - "S3n": { - "type": "structure", - "members": { - "BgpAsn": { - "locationName": "bgpAsn" - }, - "CustomerGatewayId": { - "locationName": "customerGatewayId" - }, - "IpAddress": { - "locationName": "ipAddress" - }, - "State": { - "locationName": "state" - }, - "Type": { - "locationName": "type" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - } - } - }, - "S3s": { - "type": "structure", - "members": { - "DhcpConfigurations": { - "locationName": "dhcpConfigurationSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Key": { - "locationName": "key" - }, - "Values": { - "locationName": "valueSet", - "type": "list", - "member": { - "shape": "S3w", - "locationName": "item" - } - } - } - } - }, - "DhcpOptionsId": { - "locationName": "dhcpOptionsId" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - } - } - }, - "S3w": { - "type": "structure", - "members": { - "Value": { - "locationName": "value" - } - } - }, - "S3z": { - "type": "structure", - "members": { - "Attachments": { - "shape": "S40", - "locationName": "attachmentSet" - }, - "EgressOnlyInternetGatewayId": { - "locationName": "egressOnlyInternetGatewayId" - } - } - }, - "S40": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "State": { - "locationName": "state" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - }, - "S47": { - "type": "list", - "member": { - "shape": "S48", - "locationName": "item" - } - }, - "S48": { - "type": "structure", - "required": [ - "Error" - ], - "members": { - "Error": { - "locationName": "error", - "type": "structure", - "required": [ - "Code", - "Message" - ], - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - }, - "ResourceId": { - "locationName": "resourceId" - } - } - }, - "S4b": { - "type": "structure", - "members": { - "Bucket": {}, - "Key": {} - } - }, - "S4e": { - "type": "list", - "member": { - "shape": "S4f", - "locationName": "BlockDeviceMapping" - } - }, - "S4f": { - "type": "structure", - "members": { - "DeviceName": { - "locationName": "deviceName" - }, - "VirtualName": { - "locationName": "virtualName" - }, - "Ebs": { - "locationName": "ebs", - "type": "structure", - "members": { - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - }, - "Iops": { - "locationName": "iops", - "type": "integer" - }, - "SnapshotId": { - "locationName": "snapshotId" - }, - "VolumeSize": { - "locationName": "volumeSize", - "type": "integer" - }, - "VolumeType": { - "locationName": "volumeType" - } - } - }, - "NoDevice": { - "locationName": "noDevice" - } - } - }, - "S4p": { - "type": "structure", - "members": { - "Description": { - "locationName": "description" - }, - "ExportTaskId": { - "locationName": "exportTaskId" - }, - "ExportToS3Task": { - "locationName": "exportToS3", - "type": "structure", - "members": { - "ContainerFormat": { - "locationName": "containerFormat" - }, - "DiskImageFormat": { - "locationName": "diskImageFormat" - }, - "S3Bucket": { - "locationName": "s3Bucket" - }, - "S3Key": { - "locationName": "s3Key" - } - } - }, - "InstanceExportDetails": { - "locationName": "instanceExport", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "TargetEnvironment": { - "locationName": "targetEnvironment" - } - } - }, - "State": { - "locationName": "state" - }, - "StatusMessage": { - "locationName": "statusMessage" - } - } - }, - "S4v": { - "type": "structure", - "members": { - "Attachments": { - "shape": "S40", - "locationName": "attachmentSet" - }, - "InternetGatewayId": { - "locationName": "internetGatewayId" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - } - } - }, - "S50": { - "type": "structure", - "members": { - "CreateTime": { - "locationName": "createTime", - "type": "timestamp" - }, - "DeleteTime": { - "locationName": "deleteTime", - "type": "timestamp" - }, - "FailureCode": { - "locationName": "failureCode" - }, - "FailureMessage": { - "locationName": "failureMessage" - }, - "NatGatewayAddresses": { - "locationName": "natGatewayAddressSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AllocationId": { - "locationName": "allocationId" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "PrivateIp": { - "locationName": "privateIp" - }, - "PublicIp": { - "locationName": "publicIp" - } - } - } - }, - "NatGatewayId": { - "locationName": "natGatewayId" - }, - "ProvisionedBandwidth": { - "locationName": "provisionedBandwidth", - "type": "structure", - "members": { - "ProvisionTime": { - "locationName": "provisionTime", - "type": "timestamp" - }, - "Provisioned": { - "locationName": "provisioned" - }, - "RequestTime": { - "locationName": "requestTime", - "type": "timestamp" - }, - "Requested": { - "locationName": "requested" - }, - "Status": { - "locationName": "status" - } - } - }, - "State": { - "locationName": "state" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "S57": { - "type": "structure", - "members": { - "Associations": { - "locationName": "associationSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "NetworkAclAssociationId": { - "locationName": "networkAclAssociationId" - }, - "NetworkAclId": { - "locationName": "networkAclId" - }, - "SubnetId": { - "locationName": "subnetId" - } - } - } - }, - "Entries": { - "locationName": "entrySet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "CidrBlock": { - "locationName": "cidrBlock" - }, - "Egress": { - "locationName": "egress", - "type": "boolean" - }, - "IcmpTypeCode": { - "shape": "S5c", - "locationName": "icmpTypeCode" - }, - "Ipv6CidrBlock": { - "locationName": "ipv6CidrBlock" - }, - "PortRange": { - "shape": "S5d", - "locationName": "portRange" - }, - "Protocol": { - "locationName": "protocol" - }, - "RuleAction": { - "locationName": "ruleAction" - }, - "RuleNumber": { - "locationName": "ruleNumber", - "type": "integer" - } - } - } - }, - "IsDefault": { - "locationName": "default", - "type": "boolean" - }, - "NetworkAclId": { - "locationName": "networkAclId" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "S5c": { - "type": "structure", - "members": { - "Code": { - "locationName": "code", - "type": "integer" - }, - "Type": { - "locationName": "type", - "type": "integer" - } - } - }, - "S5d": { - "type": "structure", - "members": { - "From": { - "locationName": "from", - "type": "integer" - }, - "To": { - "locationName": "to", - "type": "integer" - } - } - }, - "S5h": { - "type": "list", - "member": { - "locationName": "SecurityGroupId" - } - }, - "S5i": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Ipv6Address": { - "locationName": "ipv6Address" - } - } - } - }, - "S5k": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "PrivateIpAddress" - ], - "members": { - "Primary": { - "locationName": "primary", - "type": "boolean" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - } - } - } - }, - "S5n": { - "type": "structure", - "members": { - "Association": { - "shape": "S5o", - "locationName": "association" - }, - "Attachment": { - "shape": "S5p", - "locationName": "attachment" - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Description": { - "locationName": "description" - }, - "Groups": { - "shape": "S5q", - "locationName": "groupSet" - }, - "InterfaceType": { - "locationName": "interfaceType" - }, - "Ipv6Addresses": { - "locationName": "ipv6AddressesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Ipv6Address": { - "locationName": "ipv6Address" - } - } - } - }, - "MacAddress": { - "locationName": "macAddress" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "PrivateDnsName": { - "locationName": "privateDnsName" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "PrivateIpAddresses": { - "locationName": "privateIpAddressesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Association": { - "shape": "S5o", - "locationName": "association" - }, - "Primary": { - "locationName": "primary", - "type": "boolean" - }, - "PrivateDnsName": { - "locationName": "privateDnsName" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - } - } - } - }, - "RequesterId": { - "locationName": "requesterId" - }, - "RequesterManaged": { - "locationName": "requesterManaged", - "type": "boolean" - }, - "SourceDestCheck": { - "locationName": "sourceDestCheck", - "type": "boolean" - }, - "Status": { - "locationName": "status" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "TagSet": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "S5o": { - "type": "structure", - "members": { - "AllocationId": { - "locationName": "allocationId" - }, - "AssociationId": { - "locationName": "associationId" - }, - "IpOwnerId": { - "locationName": "ipOwnerId" - }, - "PublicDnsName": { - "locationName": "publicDnsName" - }, - "PublicIp": { - "locationName": "publicIp" - } - } - }, - "S5p": { - "type": "structure", - "members": { - "AttachTime": { - "locationName": "attachTime", - "type": "timestamp" - }, - "AttachmentId": { - "locationName": "attachmentId" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - }, - "DeviceIndex": { - "locationName": "deviceIndex", - "type": "integer" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceOwnerId": { - "locationName": "instanceOwnerId" - }, - "Status": { - "locationName": "status" - } - } - }, - "S5q": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "GroupName": { - "locationName": "groupName" - }, - "GroupId": { - "locationName": "groupId" - } - } - } - }, - "S68": { - "type": "structure", - "members": { - "Associations": { - "locationName": "associationSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Main": { - "locationName": "main", - "type": "boolean" - }, - "RouteTableAssociationId": { - "locationName": "routeTableAssociationId" - }, - "RouteTableId": { - "locationName": "routeTableId" - }, - "SubnetId": { - "locationName": "subnetId" - } - } - } - }, - "PropagatingVgws": { - "locationName": "propagatingVgwSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "GatewayId": { - "locationName": "gatewayId" - } - } - } - }, - "RouteTableId": { - "locationName": "routeTableId" - }, - "Routes": { - "locationName": "routeSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "DestinationCidrBlock": { - "locationName": "destinationCidrBlock" - }, - "DestinationIpv6CidrBlock": { - "locationName": "destinationIpv6CidrBlock" - }, - "DestinationPrefixListId": { - "locationName": "destinationPrefixListId" - }, - "EgressOnlyInternetGatewayId": { - "locationName": "egressOnlyInternetGatewayId" - }, - "GatewayId": { - "locationName": "gatewayId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceOwnerId": { - "locationName": "instanceOwnerId" - }, - "NatGatewayId": { - "locationName": "natGatewayId" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "Origin": { - "locationName": "origin" - }, - "State": { - "locationName": "state" - }, - "VpcPeeringConnectionId": { - "locationName": "vpcPeeringConnectionId" - } - } - } - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "S6k": { - "type": "structure", - "members": { - "DataEncryptionKeyId": { - "locationName": "dataEncryptionKeyId" - }, - "Description": { - "locationName": "description" - }, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "KmsKeyId": { - "locationName": "kmsKeyId" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "Progress": { - "locationName": "progress" - }, - "SnapshotId": { - "locationName": "snapshotId" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - }, - "State": { - "locationName": "status" - }, - "StateMessage": { - "locationName": "statusMessage" - }, - "VolumeId": { - "locationName": "volumeId" - }, - "VolumeSize": { - "locationName": "volumeSize", - "type": "integer" - }, - "OwnerAlias": { - "locationName": "ownerAlias" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - } - } - }, - "S6o": { - "type": "structure", - "members": { - "Bucket": { - "locationName": "bucket" - }, - "Fault": { - "shape": "S6p", - "locationName": "fault" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "Prefix": { - "locationName": "prefix" - }, - "State": { - "locationName": "state" - } - } - }, - "S6p": { - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - }, - "S6t": { - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "AvailableIpAddressCount": { - "locationName": "availableIpAddressCount", - "type": "integer" - }, - "CidrBlock": { - "locationName": "cidrBlock" - }, - "DefaultForAz": { - "locationName": "defaultForAz", - "type": "boolean" - }, - "MapPublicIpOnLaunch": { - "locationName": "mapPublicIpOnLaunch", - "type": "boolean" - }, - "State": { - "locationName": "state" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "AssignIpv6AddressOnCreation": { - "locationName": "assignIpv6AddressOnCreation", - "type": "boolean" - }, - "Ipv6CidrBlockAssociationSet": { - "locationName": "ipv6CidrBlockAssociationSet", - "type": "list", - "member": { - "shape": "S1a", - "locationName": "item" - } - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - } - } - }, - "S6x": { - "type": "list", - "member": {} - }, - "S6z": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ResourceType": { - "locationName": "resourceType" - }, - "Tags": { - "shape": "Sj", - "locationName": "Tag" - } - } - } - }, - "S72": { - "type": "structure", - "members": { - "Attachments": { - "locationName": "attachmentSet", - "type": "list", - "member": { - "shape": "S1p", - "locationName": "item" - } - }, - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "CreateTime": { - "locationName": "createTime", - "type": "timestamp" - }, - "Encrypted": { - "locationName": "encrypted", - "type": "boolean" - }, - "KmsKeyId": { - "locationName": "kmsKeyId" - }, - "Size": { - "locationName": "size", - "type": "integer" - }, - "SnapshotId": { - "locationName": "snapshotId" - }, - "State": { - "locationName": "status" - }, - "VolumeId": { - "locationName": "volumeId" - }, - "Iops": { - "locationName": "iops", - "type": "integer" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VolumeType": { - "locationName": "volumeType" - } - } - }, - "S78": { - "type": "structure", - "members": { - "CidrBlock": { - "locationName": "cidrBlock" - }, - "DhcpOptionsId": { - "locationName": "dhcpOptionsId" - }, - "State": { - "locationName": "state" - }, - "VpcId": { - "locationName": "vpcId" - }, - "InstanceTenancy": { - "locationName": "instanceTenancy" - }, - "Ipv6CidrBlockAssociationSet": { - "locationName": "ipv6CidrBlockAssociationSet", - "type": "list", - "member": { - "shape": "S1f", - "locationName": "item" - } - }, - "IsDefault": { - "locationName": "isDefault", - "type": "boolean" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - } - } - }, - "S7d": { - "type": "structure", - "members": { - "CreationTimestamp": { - "locationName": "creationTimestamp", - "type": "timestamp" - }, - "PolicyDocument": { - "locationName": "policyDocument" - }, - "RouteTableIds": { - "shape": "S2z", - "locationName": "routeTableIdSet" - }, - "ServiceName": { - "locationName": "serviceName" - }, - "State": { - "locationName": "state" - }, - "VpcEndpointId": { - "locationName": "vpcEndpointId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - }, - "S7k": { - "type": "structure", - "members": { - "CustomerGatewayConfiguration": { - "locationName": "customerGatewayConfiguration" - }, - "CustomerGatewayId": { - "locationName": "customerGatewayId" - }, - "State": { - "locationName": "state" - }, - "Type": { - "locationName": "type" - }, - "VpnConnectionId": { - "locationName": "vpnConnectionId" - }, - "VpnGatewayId": { - "locationName": "vpnGatewayId" - }, - "Options": { - "locationName": "options", - "type": "structure", - "members": { - "StaticRoutesOnly": { - "locationName": "staticRoutesOnly", - "type": "boolean" - } - } - }, - "Routes": { - "locationName": "routes", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "DestinationCidrBlock": { - "locationName": "destinationCidrBlock" - }, - "Source": { - "locationName": "source" - }, - "State": { - "locationName": "state" - } - } - } - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VgwTelemetry": { - "locationName": "vgwTelemetry", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AcceptedRouteCount": { - "locationName": "acceptedRouteCount", - "type": "integer" - }, - "LastStatusChange": { - "locationName": "lastStatusChange", - "type": "timestamp" - }, - "OutsideIpAddress": { - "locationName": "outsideIpAddress" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - } - } - } - } - } - }, - "S7w": { - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "State": { - "locationName": "state" - }, - "Type": { - "locationName": "type" - }, - "VpcAttachments": { - "locationName": "attachments", - "type": "list", - "member": { - "shape": "S1t", - "locationName": "item" - } - }, - "VpnGatewayId": { - "locationName": "vpnGatewayId" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - } - } - }, - "S92": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "members": { - "Name": {}, - "Values": { - "shape": "S2z", - "locationName": "Value" - } - } - } - }, - "S9m": { - "type": "list", - "member": { - "locationName": "InstanceId" - } - }, - "S9u": { - "type": "structure", - "required": [ - "ConversionTaskId", - "State" - ], - "members": { - "ConversionTaskId": { - "locationName": "conversionTaskId" - }, - "ExpirationTime": { - "locationName": "expirationTime" - }, - "ImportInstance": { - "locationName": "importInstance", - "type": "structure", - "required": [ - "Volumes" - ], - "members": { - "Description": { - "locationName": "description" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "Platform": { - "locationName": "platform" - }, - "Volumes": { - "locationName": "volumes", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "required": [ - "AvailabilityZone", - "BytesConverted", - "Image", - "Status", - "Volume" - ], - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "BytesConverted": { - "locationName": "bytesConverted", - "type": "long" - }, - "Description": { - "locationName": "description" - }, - "Image": { - "shape": "S9z", - "locationName": "image" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Volume": { - "shape": "Sa0", - "locationName": "volume" - } - } - } - } - } - }, - "ImportVolume": { - "locationName": "importVolume", - "type": "structure", - "required": [ - "AvailabilityZone", - "BytesConverted", - "Image", - "Volume" - ], - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "BytesConverted": { - "locationName": "bytesConverted", - "type": "long" - }, - "Description": { - "locationName": "description" - }, - "Image": { - "shape": "S9z", - "locationName": "image" - }, - "Volume": { - "shape": "Sa0", - "locationName": "volume" - } - } - }, - "State": { - "locationName": "state" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - } - } - }, - "S9z": { - "type": "structure", - "required": [ - "Format", - "ImportManifestUrl", - "Size" - ], - "members": { - "Checksum": { - "locationName": "checksum" - }, - "Format": { - "locationName": "format" - }, - "ImportManifestUrl": { - "locationName": "importManifestUrl" - }, - "Size": { - "locationName": "size", - "type": "long" - } - } - }, - "Sa0": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "locationName": "id" - }, - "Size": { - "locationName": "size", - "type": "long" - } - } - }, - "Sap": { - "type": "list", - "member": { - "locationName": "Owner" - } - }, - "Say": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ProductCodeId": { - "locationName": "productCode" - }, - "ProductCodeType": { - "locationName": "type" - } - } - } - }, - "Sbb": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "Sbe": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "Sbv": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Deadline": { - "locationName": "deadline", - "type": "timestamp" - }, - "Resource": { - "locationName": "resource" - }, - "UseLongIds": { - "locationName": "useLongIds", - "type": "boolean" - } - } - } - }, - "Sc2": { - "type": "list", - "member": { - "shape": "S4f", - "locationName": "item" - } - }, - "Sc3": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Group": { - "locationName": "group" - }, - "UserId": { - "locationName": "userId" - } - } - } - }, - "Sch": { - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - } - } - }, - "Sck": { - "type": "list", - "member": { - "locationName": "ImportTaskId" - } - }, - "Sco": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Description": { - "locationName": "description" - }, - "DeviceName": { - "locationName": "deviceName" - }, - "DiskImageSize": { - "locationName": "diskImageSize", - "type": "double" - }, - "Format": { - "locationName": "format" - }, - "Progress": { - "locationName": "progress" - }, - "SnapshotId": { - "locationName": "snapshotId" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Url": { - "locationName": "url" - }, - "UserBucket": { - "shape": "Scq", - "locationName": "userBucket" - } - } - } - }, - "Scq": { - "type": "structure", - "members": { - "S3Bucket": { - "locationName": "s3Bucket" - }, - "S3Key": { - "locationName": "s3Key" - } - } - }, - "Scv": { - "type": "structure", - "members": { - "Description": { - "locationName": "description" - }, - "DiskImageSize": { - "locationName": "diskImageSize", - "type": "double" - }, - "Format": { - "locationName": "format" - }, - "Progress": { - "locationName": "progress" - }, - "SnapshotId": { - "locationName": "snapshotId" - }, - "Status": { - "locationName": "status" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "Url": { - "locationName": "url" - }, - "UserBucket": { - "shape": "Scq", - "locationName": "userBucket" - } - } - }, - "Scz": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "DeviceName": { - "locationName": "deviceName" - }, - "Ebs": { - "locationName": "ebs", - "type": "structure", - "members": { - "AttachTime": { - "locationName": "attachTime", - "type": "timestamp" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - }, - "Status": { - "locationName": "status" - }, - "VolumeId": { - "locationName": "volumeId" - } - } - } - } - } - }, - "Sd2": { - "type": "structure", - "members": { - "Value": { - "locationName": "value", - "type": "boolean" - } - } - }, - "Sda": { - "type": "structure", - "members": { - "Code": { - "locationName": "code", - "type": "integer" - }, - "Name": { - "locationName": "name" - } - } - }, - "Sdc": { - "type": "structure", - "members": { - "Details": { - "locationName": "details", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ImpairedSince": { - "locationName": "impairedSince", - "type": "timestamp" - }, - "Name": { - "locationName": "name" - }, - "Status": { - "locationName": "status" - } - } - } - }, - "Status": { - "locationName": "status" - } - } - }, - "Sdl": { - "type": "structure", - "members": { - "Groups": { - "shape": "S5q", - "locationName": "groupSet" - }, - "Instances": { - "locationName": "instancesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AmiLaunchIndex": { - "locationName": "amiLaunchIndex", - "type": "integer" - }, - "ImageId": { - "locationName": "imageId" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "KernelId": { - "locationName": "kernelId" - }, - "KeyName": { - "locationName": "keyName" - }, - "LaunchTime": { - "locationName": "launchTime", - "type": "timestamp" - }, - "Monitoring": { - "shape": "Sdp", - "locationName": "monitoring" - }, - "Placement": { - "shape": "Sdr", - "locationName": "placement" - }, - "Platform": { - "locationName": "platform" - }, - "PrivateDnsName": { - "locationName": "privateDnsName" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "ProductCodes": { - "shape": "Say", - "locationName": "productCodes" - }, - "PublicDnsName": { - "locationName": "dnsName" - }, - "PublicIpAddress": { - "locationName": "ipAddress" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "State": { - "shape": "Sda", - "locationName": "instanceState" - }, - "StateTransitionReason": { - "locationName": "reason" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "VpcId": { - "locationName": "vpcId" - }, - "Architecture": { - "locationName": "architecture" - }, - "BlockDeviceMappings": { - "shape": "Scz", - "locationName": "blockDeviceMapping" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "EbsOptimized": { - "locationName": "ebsOptimized", - "type": "boolean" - }, - "EnaSupport": { - "locationName": "enaSupport", - "type": "boolean" - }, - "Hypervisor": { - "locationName": "hypervisor" - }, - "IamInstanceProfile": { - "shape": "S14", - "locationName": "iamInstanceProfile" - }, - "InstanceLifecycle": { - "locationName": "instanceLifecycle" - }, - "NetworkInterfaces": { - "locationName": "networkInterfaceSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Association": { - "shape": "Sdv", - "locationName": "association" - }, - "Attachment": { - "locationName": "attachment", - "type": "structure", - "members": { - "AttachTime": { - "locationName": "attachTime", - "type": "timestamp" - }, - "AttachmentId": { - "locationName": "attachmentId" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - }, - "DeviceIndex": { - "locationName": "deviceIndex", - "type": "integer" - }, - "Status": { - "locationName": "status" - } - } - }, - "Description": { - "locationName": "description" - }, - "Groups": { - "shape": "S5q", - "locationName": "groupSet" - }, - "Ipv6Addresses": { - "shape": "S5i", - "locationName": "ipv6AddressesSet" - }, - "MacAddress": { - "locationName": "macAddress" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "OwnerId": { - "locationName": "ownerId" - }, - "PrivateDnsName": { - "locationName": "privateDnsName" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "PrivateIpAddresses": { - "locationName": "privateIpAddressesSet", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Association": { - "shape": "Sdv", - "locationName": "association" - }, - "Primary": { - "locationName": "primary", - "type": "boolean" - }, - "PrivateDnsName": { - "locationName": "privateDnsName" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - } - } - } - }, - "SourceDestCheck": { - "locationName": "sourceDestCheck", - "type": "boolean" - }, - "Status": { - "locationName": "status" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "VpcId": { - "locationName": "vpcId" - } - } - } - }, - "RootDeviceName": { - "locationName": "rootDeviceName" - }, - "RootDeviceType": { - "locationName": "rootDeviceType" - }, - "SecurityGroups": { - "shape": "S5q", - "locationName": "groupSet" - }, - "SourceDestCheck": { - "locationName": "sourceDestCheck", - "type": "boolean" - }, - "SpotInstanceRequestId": { - "locationName": "spotInstanceRequestId" - }, - "SriovNetSupport": { - "locationName": "sriovNetSupport" - }, - "StateReason": { - "shape": "Sch", - "locationName": "stateReason" - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "VirtualizationType": { - "locationName": "virtualizationType" - } - } - } - }, - "OwnerId": { - "locationName": "ownerId" - }, - "RequesterId": { - "locationName": "requesterId" - }, - "ReservationId": { - "locationName": "reservationId" - } - } - }, - "Sdp": { - "type": "structure", - "members": { - "State": { - "locationName": "state" - } - } - }, - "Sdr": { - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "Affinity": { - "locationName": "affinity" - }, - "GroupName": { - "locationName": "groupName" - }, - "HostId": { - "locationName": "hostId" - }, - "Tenancy": { - "locationName": "tenancy" - }, - "SpreadDomain": { - "locationName": "spreadDomain" - } - } - }, - "Sdv": { - "type": "structure", - "members": { - "IpOwnerId": { - "locationName": "ipOwnerId" - }, - "PublicDnsName": { - "locationName": "publicDnsName" - }, - "PublicIp": { - "locationName": "publicIp" - } - } - }, - "Sf6": { - "type": "list", - "member": { - "locationName": "ReservedInstancesId" - } - }, - "Sfe": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Amount": { - "locationName": "amount", - "type": "double" - }, - "Frequency": { - "locationName": "frequency" - } - } - } - }, - "Sfr": { - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "Platform": { - "locationName": "platform" - }, - "Scope": { - "locationName": "scope" - } - } - }, - "Sgb": { - "type": "structure", - "members": { - "Frequency": { - "locationName": "frequency" - }, - "Interval": { - "locationName": "interval", - "type": "integer" - }, - "OccurrenceDaySet": { - "locationName": "occurrenceDaySet", - "type": "list", - "member": { - "locationName": "item", - "type": "integer" - } - }, - "OccurrenceRelativeToEnd": { - "locationName": "occurrenceRelativeToEnd", - "type": "boolean" - }, - "OccurrenceUnit": { - "locationName": "occurrenceUnit" - } - } - }, - "Sgi": { - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "CreateDate": { - "locationName": "createDate", - "type": "timestamp" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "InstanceCount": { - "locationName": "instanceCount", - "type": "integer" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "NetworkPlatform": { - "locationName": "networkPlatform" - }, - "NextSlotStartTime": { - "locationName": "nextSlotStartTime", - "type": "timestamp" - }, - "Platform": { - "locationName": "platform" - }, - "PreviousSlotEndTime": { - "locationName": "previousSlotEndTime", - "type": "timestamp" - }, - "Recurrence": { - "shape": "Sgb", - "locationName": "recurrence" - }, - "ScheduledInstanceId": { - "locationName": "scheduledInstanceId" - }, - "SlotDurationInHours": { - "locationName": "slotDurationInHours", - "type": "integer" - }, - "TermEndDate": { - "locationName": "termEndDate", - "type": "timestamp" - }, - "TermStartDate": { - "locationName": "termStartDate", - "type": "timestamp" - }, - "TotalScheduledInstanceHours": { - "locationName": "totalScheduledInstanceHours", - "type": "integer" - } - } - }, - "Sgp": { - "type": "list", - "member": { - "locationName": "GroupName" - } - }, - "Sgw": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "Group": { - "locationName": "group" - }, - "UserId": { - "locationName": "userId" - } - } - } - }, - "Shl": { - "type": "structure", - "required": [ - "IamFleetRole", - "LaunchSpecifications", - "SpotPrice", - "TargetCapacity" - ], - "members": { - "AllocationStrategy": { - "locationName": "allocationStrategy" - }, - "ClientToken": { - "locationName": "clientToken" - }, - "ExcessCapacityTerminationPolicy": { - "locationName": "excessCapacityTerminationPolicy" - }, - "FulfilledCapacity": { - "locationName": "fulfilledCapacity", - "type": "double" - }, - "IamFleetRole": { - "locationName": "iamFleetRole" - }, - "LaunchSpecifications": { - "locationName": "launchSpecifications", - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "SecurityGroups": { - "shape": "S5q", - "locationName": "groupSet" - }, - "AddressingType": { - "locationName": "addressingType" - }, - "BlockDeviceMappings": { - "shape": "Sc2", - "locationName": "blockDeviceMapping" - }, - "EbsOptimized": { - "locationName": "ebsOptimized", - "type": "boolean" - }, - "IamInstanceProfile": { - "shape": "S11", - "locationName": "iamInstanceProfile" - }, - "ImageId": { - "locationName": "imageId" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "KernelId": { - "locationName": "kernelId" - }, - "KeyName": { - "locationName": "keyName" - }, - "Monitoring": { - "locationName": "monitoring", - "type": "structure", - "members": { - "Enabled": { - "locationName": "enabled", - "type": "boolean" - } - } - }, - "NetworkInterfaces": { - "shape": "Shr", - "locationName": "networkInterfaceSet" - }, - "Placement": { - "shape": "Sht", - "locationName": "placement" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "SpotPrice": { - "locationName": "spotPrice" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "UserData": { - "locationName": "userData" - }, - "WeightedCapacity": { - "locationName": "weightedCapacity", - "type": "double" - } - } - } - }, - "SpotPrice": { - "locationName": "spotPrice" - }, - "TargetCapacity": { - "locationName": "targetCapacity", - "type": "integer" - }, - "TerminateInstancesWithExpiration": { - "locationName": "terminateInstancesWithExpiration", - "type": "boolean" - }, - "Type": { - "locationName": "type" - }, - "ValidFrom": { - "locationName": "validFrom", - "type": "timestamp" - }, - "ValidUntil": { - "locationName": "validUntil", - "type": "timestamp" - }, - "ReplaceUnhealthyInstances": { - "locationName": "replaceUnhealthyInstances", - "type": "boolean" - } - } - }, - "Shr": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "AssociatePublicIpAddress": { - "locationName": "associatePublicIpAddress", - "type": "boolean" - }, - "DeleteOnTermination": { - "locationName": "deleteOnTermination", - "type": "boolean" - }, - "Description": { - "locationName": "description" - }, - "DeviceIndex": { - "locationName": "deviceIndex", - "type": "integer" - }, - "Groups": { - "shape": "S5h", - "locationName": "SecurityGroupId" - }, - "Ipv6AddressCount": { - "locationName": "ipv6AddressCount", - "type": "integer" - }, - "Ipv6Addresses": { - "shape": "S5i", - "locationName": "ipv6AddressesSet", - "queryName": "Ipv6Addresses" - }, - "NetworkInterfaceId": { - "locationName": "networkInterfaceId" - }, - "PrivateIpAddress": { - "locationName": "privateIpAddress" - }, - "PrivateIpAddresses": { - "shape": "S5k", - "locationName": "privateIpAddressesSet", - "queryName": "PrivateIpAddresses" - }, - "SecondaryPrivateIpAddressCount": { - "locationName": "secondaryPrivateIpAddressCount", - "type": "integer" - }, - "SubnetId": { - "locationName": "subnetId" - } - } - } - }, - "Sht": { - "type": "structure", - "members": { - "AvailabilityZone": { - "locationName": "availabilityZone" - }, - "GroupName": { - "locationName": "groupName" - }, - "Tenancy": { - "locationName": "tenancy" - } - } - }, - "Shx": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "ActualBlockHourlyPrice": { - "locationName": "actualBlockHourlyPrice" - }, - "AvailabilityZoneGroup": { - "locationName": "availabilityZoneGroup" - }, - "BlockDurationMinutes": { - "locationName": "blockDurationMinutes", - "type": "integer" - }, - "CreateTime": { - "locationName": "createTime", - "type": "timestamp" - }, - "Fault": { - "shape": "S6p", - "locationName": "fault" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "LaunchGroup": { - "locationName": "launchGroup" - }, - "LaunchSpecification": { - "locationName": "launchSpecification", - "type": "structure", - "members": { - "UserData": { - "locationName": "userData" - }, - "SecurityGroups": { - "shape": "S5q", - "locationName": "groupSet" - }, - "AddressingType": { - "locationName": "addressingType" - }, - "BlockDeviceMappings": { - "shape": "Sc2", - "locationName": "blockDeviceMapping" - }, - "EbsOptimized": { - "locationName": "ebsOptimized", - "type": "boolean" - }, - "IamInstanceProfile": { - "shape": "S11", - "locationName": "iamInstanceProfile" - }, - "ImageId": { - "locationName": "imageId" - }, - "InstanceType": { - "locationName": "instanceType" - }, - "KernelId": { - "locationName": "kernelId" - }, - "KeyName": { - "locationName": "keyName" - }, - "NetworkInterfaces": { - "shape": "Shr", - "locationName": "networkInterfaceSet" - }, - "Placement": { - "shape": "Sht", - "locationName": "placement" - }, - "RamdiskId": { - "locationName": "ramdiskId" - }, - "SubnetId": { - "locationName": "subnetId" - }, - "Monitoring": { - "shape": "Si0", - "locationName": "monitoring" - } - } - }, - "LaunchedAvailabilityZone": { - "locationName": "launchedAvailabilityZone" - }, - "ProductDescription": { - "locationName": "productDescription" - }, - "SpotInstanceRequestId": { - "locationName": "spotInstanceRequestId" - }, - "SpotPrice": { - "locationName": "spotPrice" - }, - "State": { - "locationName": "state" - }, - "Status": { - "locationName": "status", - "type": "structure", - "members": { - "Code": { - "locationName": "code" - }, - "Message": { - "locationName": "message" - }, - "UpdateTime": { - "locationName": "updateTime", - "type": "timestamp" - } - } - }, - "Tags": { - "shape": "Sj", - "locationName": "tagSet" - }, - "Type": { - "locationName": "type" - }, - "ValidFrom": { - "locationName": "validFrom", - "type": "timestamp" - }, - "ValidUntil": { - "locationName": "validUntil", - "type": "timestamp" - } - } - } - }, - "Si0": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "locationName": "enabled", - "type": "boolean" - } - } - }, - "Sie": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "FromPort": { - "locationName": "fromPort", - "type": "integer" - }, - "IpProtocol": { - "locationName": "ipProtocol" - }, - "IpRanges": { - "locationName": "ipRanges", - "type": "list", - "member": { - "locationName": "item" - } - }, - "PrefixListIds": { - "locationName": "prefixListIds", - "type": "list", - "member": { - "locationName": "item" - } - }, - "ToPort": { - "locationName": "toPort", - "type": "integer" - }, - "UserIdGroupPairs": { - "locationName": "groups", - "type": "list", - "member": { - "shape": "S25", - "locationName": "item" - } - } - } - } - }, - "Siv": { - "type": "list", - "member": { - "locationName": "VolumeId" - } - }, - "Sje": { - "type": "structure", - "members": { - "VolumeId": { - "locationName": "volumeId" - }, - "ModificationState": { - "locationName": "modificationState" - }, - "StatusMessage": { - "locationName": "statusMessage" - }, - "TargetSize": { - "locationName": "targetSize", - "type": "integer" - }, - "TargetIops": { - "locationName": "targetIops", - "type": "integer" - }, - "TargetVolumeType": { - "locationName": "targetVolumeType" - }, - "OriginalSize": { - "locationName": "originalSize", - "type": "integer" - }, - "OriginalIops": { - "locationName": "originalIops", - "type": "integer" - }, - "OriginalVolumeType": { - "locationName": "originalVolumeType" - }, - "Progress": { - "locationName": "progress", - "type": "long" - }, - "StartTime": { - "locationName": "startTime", - "type": "timestamp" - }, - "EndTime": { - "locationName": "endTime", - "type": "timestamp" - } - } - }, - "Sjk": { - "type": "list", - "member": { - "locationName": "VpcId" - } - }, - "Sl6": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "Sl8": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CurrencyCode": { - "locationName": "currencyCode" - }, - "Duration": { - "locationName": "duration", - "type": "integer" - }, - "HostIdSet": { - "shape": "Sbb", - "locationName": "hostIdSet" - }, - "HostReservationId": { - "locationName": "hostReservationId" - }, - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "InstanceFamily": { - "locationName": "instanceFamily" - }, - "PaymentOption": { - "locationName": "paymentOption" - }, - "UpfrontPrice": { - "locationName": "upfrontPrice" - } - } - } - }, - "Sle": { - "type": "structure", - "members": { - "HourlyPrice": { - "locationName": "hourlyPrice" - }, - "RemainingTotalValue": { - "locationName": "remainingTotalValue" - }, - "RemainingUpfrontValue": { - "locationName": "remainingUpfrontValue" - } - } - }, - "Sll": { - "type": "structure", - "members": { - "Comment": {}, - "UploadEnd": { - "type": "timestamp" - }, - "UploadSize": { - "type": "double" - }, - "UploadStart": { - "type": "timestamp" - } - } - }, - "Slo": { - "type": "structure", - "members": { - "S3Bucket": {}, - "S3Key": {} - } - }, - "Slt": { - "type": "structure", - "required": [ - "Bytes", - "Format", - "ImportManifestUrl" - ], - "members": { - "Bytes": { - "locationName": "bytes", - "type": "long" - }, - "Format": { - "locationName": "format" - }, - "ImportManifestUrl": { - "locationName": "importManifestUrl" - } - } - }, - "Slu": { - "type": "structure", - "required": [ - "Size" - ], - "members": { - "Size": { - "locationName": "size", - "type": "long" - } - } - }, - "Slw": { - "type": "list", - "member": { - "locationName": "SecurityGroup" - } - }, - "Sm9": { - "type": "list", - "member": { - "shape": "S48", - "locationName": "item" - } - }, - "Smh": { - "type": "list", - "member": { - "locationName": "UserId" - } - }, - "Sn8": { - "type": "structure", - "members": { - "AllowDnsResolutionFromRemoteVpc": { - "type": "boolean" - }, - "AllowEgressFromLocalClassicLinkToRemoteVpc": { - "type": "boolean" - }, - "AllowEgressFromLocalVpcToRemoteClassicLink": { - "type": "boolean" - } - } - }, - "Sna": { - "type": "structure", - "members": { - "AllowDnsResolutionFromRemoteVpc": { - "locationName": "allowDnsResolutionFromRemoteVpc", - "type": "boolean" - }, - "AllowEgressFromLocalClassicLinkToRemoteVpc": { - "locationName": "allowEgressFromLocalClassicLinkToRemoteVpc", - "type": "boolean" - }, - "AllowEgressFromLocalVpcToRemoteClassicLink": { - "locationName": "allowEgressFromLocalVpcToRemoteClassicLink", - "type": "boolean" - } - } - }, - "Snd": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "InstanceId": { - "locationName": "instanceId" - }, - "Monitoring": { - "shape": "Sdp", - "locationName": "monitoring" - } - } - } - }, - "Sp1": { - "type": "list", - "member": { - "locationName": "SecurityGroupId" - } - }, - "Spc": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "CurrentState": { - "shape": "Sda", - "locationName": "currentState" - }, - "InstanceId": { - "locationName": "instanceId" - }, - "PreviousState": { - "shape": "Sda", - "locationName": "previousState" - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json b/src/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json deleted file mode 100644 index fdee7f5..0000000 --- a/src/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +++ /dev/null @@ -1,144 +0,0 @@ -{ - "pagination": { - "DescribeAccountAttributes": { - "result_key": "AccountAttributes" - }, - "DescribeAddresses": { - "result_key": "Addresses" - }, - "DescribeAvailabilityZones": { - "result_key": "AvailabilityZones" - }, - "DescribeBundleTasks": { - "result_key": "BundleTasks" - }, - "DescribeConversionTasks": { - "result_key": "ConversionTasks" - }, - "DescribeCustomerGateways": { - "result_key": "CustomerGateways" - }, - "DescribeDhcpOptions": { - "result_key": "DhcpOptions" - }, - "DescribeExportTasks": { - "result_key": "ExportTasks" - }, - "DescribeImages": { - "result_key": "Images" - }, - "DescribeInstanceStatus": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "InstanceStatuses" - }, - "DescribeInstances": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Reservations" - }, - "DescribeInternetGateways": { - "result_key": "InternetGateways" - }, - "DescribeKeyPairs": { - "result_key": "KeyPairs" - }, - "DescribeNatGateways": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "NatGateways" - }, - "DescribeNetworkAcls": { - "result_key": "NetworkAcls" - }, - "DescribeNetworkInterfaces": { - "result_key": "NetworkInterfaces" - }, - "DescribePlacementGroups": { - "result_key": "PlacementGroups" - }, - "DescribeRegions": { - "result_key": "Regions" - }, - "DescribeReservedInstances": { - "result_key": "ReservedInstances" - }, - "DescribeReservedInstancesListings": { - "result_key": "ReservedInstancesListings" - }, - "DescribeReservedInstancesModifications": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "ReservedInstancesModifications" - }, - "DescribeReservedInstancesOfferings": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "ReservedInstancesOfferings" - }, - "DescribeRouteTables": { - "result_key": "RouteTables" - }, - "DescribeSecurityGroups": { - "result_key": "SecurityGroups" - }, - "DescribeSnapshots": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Snapshots" - }, - "DescribeSpotFleetRequests": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "SpotFleetRequestConfigs" - }, - "DescribeSpotInstanceRequests": { - "result_key": "SpotInstanceRequests" - }, - "DescribeSpotPriceHistory": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "SpotPriceHistory" - }, - "DescribeSubnets": { - "result_key": "Subnets" - }, - "DescribeTags": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Tags" - }, - "DescribeVolumeStatus": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "VolumeStatuses" - }, - "DescribeVolumes": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Volumes" - }, - "DescribeVpcPeeringConnections": { - "result_key": "VpcPeeringConnections" - }, - "DescribeVpcs": { - "result_key": "Vpcs" - }, - "DescribeVpnConnections": { - "result_key": "VpnConnections" - }, - "DescribeVpnGateways": { - "result_key": "VpnGateways" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json b/src/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json deleted file mode 100644 index 7d8b7cd..0000000 --- a/src/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json +++ /dev/null @@ -1,611 +0,0 @@ -{ - "version": 2, - "waiters": { - "InstanceExists": { - "delay": 5, - "maxAttempts": 40, - "operation": "DescribeInstances", - "acceptors": [ - { - "matcher": "path", - "expected": true, - "argument": "length(Reservations[]) > `0`", - "state": "success" - }, - { - "matcher": "error", - "expected": "InvalidInstanceID.NotFound", - "state": "retry" - } - ] - }, - "BundleTaskComplete": { - "delay": 15, - "operation": "DescribeBundleTasks", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "complete", - "matcher": "pathAll", - "state": "success", - "argument": "BundleTasks[].State" - }, - { - "expected": "failed", - "matcher": "pathAny", - "state": "failure", - "argument": "BundleTasks[].State" - } - ] - }, - "ConversionTaskCancelled": { - "delay": 15, - "operation": "DescribeConversionTasks", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "cancelled", - "matcher": "pathAll", - "state": "success", - "argument": "ConversionTasks[].State" - } - ] - }, - "ConversionTaskCompleted": { - "delay": 15, - "operation": "DescribeConversionTasks", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "completed", - "matcher": "pathAll", - "state": "success", - "argument": "ConversionTasks[].State" - }, - { - "expected": "cancelled", - "matcher": "pathAny", - "state": "failure", - "argument": "ConversionTasks[].State" - }, - { - "expected": "cancelling", - "matcher": "pathAny", - "state": "failure", - "argument": "ConversionTasks[].State" - } - ] - }, - "ConversionTaskDeleted": { - "delay": 15, - "operation": "DescribeConversionTasks", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "deleted", - "matcher": "pathAll", - "state": "success", - "argument": "ConversionTasks[].State" - } - ] - }, - "CustomerGatewayAvailable": { - "delay": 15, - "operation": "DescribeCustomerGateways", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "available", - "matcher": "pathAll", - "state": "success", - "argument": "CustomerGateways[].State" - }, - { - "expected": "deleted", - "matcher": "pathAny", - "state": "failure", - "argument": "CustomerGateways[].State" - }, - { - "expected": "deleting", - "matcher": "pathAny", - "state": "failure", - "argument": "CustomerGateways[].State" - } - ] - }, - "ExportTaskCancelled": { - "delay": 15, - "operation": "DescribeExportTasks", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "cancelled", - "matcher": "pathAll", - "state": "success", - "argument": "ExportTasks[].State" - } - ] - }, - "ExportTaskCompleted": { - "delay": 15, - "operation": "DescribeExportTasks", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "completed", - "matcher": "pathAll", - "state": "success", - "argument": "ExportTasks[].State" - } - ] - }, - "ImageExists": { - "operation": "DescribeImages", - "maxAttempts": 40, - "delay": 15, - "acceptors": [ - { - "matcher": "path", - "expected": true, - "argument": "length(Images[]) > `0`", - "state": "success" - }, - { - "matcher": "error", - "expected": "InvalidAMIID.NotFound", - "state": "retry" - } - ] - }, - "ImageAvailable": { - "operation": "DescribeImages", - "maxAttempts": 40, - "delay": 15, - "acceptors": [ - { - "state": "success", - "matcher": "pathAll", - "argument": "Images[].State", - "expected": "available" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "Images[].State", - "expected": "failed" - } - ] - }, - "InstanceRunning": { - "delay": 15, - "operation": "DescribeInstances", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "running", - "matcher": "pathAll", - "state": "success", - "argument": "Reservations[].Instances[].State.Name" - }, - { - "expected": "shutting-down", - "matcher": "pathAny", - "state": "failure", - "argument": "Reservations[].Instances[].State.Name" - }, - { - "expected": "terminated", - "matcher": "pathAny", - "state": "failure", - "argument": "Reservations[].Instances[].State.Name" - }, - { - "expected": "stopping", - "matcher": "pathAny", - "state": "failure", - "argument": "Reservations[].Instances[].State.Name" - }, - { - "matcher": "error", - "expected": "InvalidInstanceID.NotFound", - "state": "retry" - } - ] - }, - "InstanceStatusOk": { - "operation": "DescribeInstanceStatus", - "maxAttempts": 40, - "delay": 15, - "acceptors": [ - { - "state": "success", - "matcher": "pathAll", - "argument": "InstanceStatuses[].InstanceStatus.Status", - "expected": "ok" - }, - { - "matcher": "error", - "expected": "InvalidInstanceID.NotFound", - "state": "retry" - } - ] - }, - "InstanceStopped": { - "delay": 15, - "operation": "DescribeInstances", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "stopped", - "matcher": "pathAll", - "state": "success", - "argument": "Reservations[].Instances[].State.Name" - }, - { - "expected": "pending", - "matcher": "pathAny", - "state": "failure", - "argument": "Reservations[].Instances[].State.Name" - }, - { - "expected": "terminated", - "matcher": "pathAny", - "state": "failure", - "argument": "Reservations[].Instances[].State.Name" - } - ] - }, - "InstanceTerminated": { - "delay": 15, - "operation": "DescribeInstances", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "terminated", - "matcher": "pathAll", - "state": "success", - "argument": "Reservations[].Instances[].State.Name" - }, - { - "expected": "pending", - "matcher": "pathAny", - "state": "failure", - "argument": "Reservations[].Instances[].State.Name" - }, - { - "expected": "stopping", - "matcher": "pathAny", - "state": "failure", - "argument": "Reservations[].Instances[].State.Name" - } - ] - }, - "KeyPairExists": { - "operation": "DescribeKeyPairs", - "delay": 5, - "maxAttempts": 6, - "acceptors": [ - { - "expected": true, - "matcher": "path", - "state": "success", - "argument": "length(KeyPairs[].KeyName) > `0`" - }, - { - "expected": "InvalidKeyPair.NotFound", - "matcher": "error", - "state": "retry" - } - ] - }, - "NatGatewayAvailable": { - "operation": "DescribeNatGateways", - "delay": 15, - "maxAttempts": 40, - "acceptors": [ - { - "state": "success", - "matcher": "pathAll", - "argument": "NatGateways[].State", - "expected": "available" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "NatGateways[].State", - "expected": "failed" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "NatGateways[].State", - "expected": "deleting" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "NatGateways[].State", - "expected": "deleted" - }, - { - "state": "retry", - "matcher": "error", - "expected": "NatGatewayNotFound" - } - ] - }, - "NetworkInterfaceAvailable": { - "operation": "DescribeNetworkInterfaces", - "delay": 20, - "maxAttempts": 10, - "acceptors": [ - { - "expected": "available", - "matcher": "pathAll", - "state": "success", - "argument": "NetworkInterfaces[].Status" - }, - { - "expected": "InvalidNetworkInterfaceID.NotFound", - "matcher": "error", - "state": "failure" - } - ] - }, - "PasswordDataAvailable": { - "operation": "GetPasswordData", - "maxAttempts": 40, - "delay": 15, - "acceptors": [ - { - "state": "success", - "matcher": "path", - "argument": "length(PasswordData) > `0`", - "expected": true - } - ] - }, - "SnapshotCompleted": { - "delay": 15, - "operation": "DescribeSnapshots", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "completed", - "matcher": "pathAll", - "state": "success", - "argument": "Snapshots[].State" - } - ] - }, - "SpotInstanceRequestFulfilled": { - "operation": "DescribeSpotInstanceRequests", - "maxAttempts": 40, - "delay": 15, - "acceptors": [ - { - "state": "success", - "matcher": "pathAll", - "argument": "SpotInstanceRequests[].Status.Code", - "expected": "fulfilled" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "SpotInstanceRequests[].Status.Code", - "expected": "schedule-expired" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "SpotInstanceRequests[].Status.Code", - "expected": "canceled-before-fulfillment" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "SpotInstanceRequests[].Status.Code", - "expected": "bad-parameters" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "SpotInstanceRequests[].Status.Code", - "expected": "system-error" - } - ] - }, - "SubnetAvailable": { - "delay": 15, - "operation": "DescribeSubnets", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "available", - "matcher": "pathAll", - "state": "success", - "argument": "Subnets[].State" - } - ] - }, - "SystemStatusOk": { - "operation": "DescribeInstanceStatus", - "maxAttempts": 40, - "delay": 15, - "acceptors": [ - { - "state": "success", - "matcher": "pathAll", - "argument": "InstanceStatuses[].SystemStatus.Status", - "expected": "ok" - } - ] - }, - "VolumeAvailable": { - "delay": 15, - "operation": "DescribeVolumes", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "available", - "matcher": "pathAll", - "state": "success", - "argument": "Volumes[].State" - }, - { - "expected": "deleted", - "matcher": "pathAny", - "state": "failure", - "argument": "Volumes[].State" - } - ] - }, - "VolumeDeleted": { - "delay": 15, - "operation": "DescribeVolumes", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "deleted", - "matcher": "pathAll", - "state": "success", - "argument": "Volumes[].State" - }, - { - "matcher": "error", - "expected": "InvalidVolume.NotFound", - "state": "success" - } - ] - }, - "VolumeInUse": { - "delay": 15, - "operation": "DescribeVolumes", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "in-use", - "matcher": "pathAll", - "state": "success", - "argument": "Volumes[].State" - }, - { - "expected": "deleted", - "matcher": "pathAny", - "state": "failure", - "argument": "Volumes[].State" - } - ] - }, - "VpcAvailable": { - "delay": 15, - "operation": "DescribeVpcs", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "available", - "matcher": "pathAll", - "state": "success", - "argument": "Vpcs[].State" - } - ] - }, - "VpcExists": { - "operation": "DescribeVpcs", - "delay": 1, - "maxAttempts": 5, - "acceptors": [ - { - "matcher": "status", - "expected": 200, - "state": "success" - }, - { - "matcher": "error", - "expected": "InvalidVpcID.NotFound", - "state": "retry" - } - ] - }, - "VpnConnectionAvailable": { - "delay": 15, - "operation": "DescribeVpnConnections", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "available", - "matcher": "pathAll", - "state": "success", - "argument": "VpnConnections[].State" - }, - { - "expected": "deleting", - "matcher": "pathAny", - "state": "failure", - "argument": "VpnConnections[].State" - }, - { - "expected": "deleted", - "matcher": "pathAny", - "state": "failure", - "argument": "VpnConnections[].State" - } - ] - }, - "VpnConnectionDeleted": { - "delay": 15, - "operation": "DescribeVpnConnections", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "deleted", - "matcher": "pathAll", - "state": "success", - "argument": "VpnConnections[].State" - }, - { - "expected": "pending", - "matcher": "pathAny", - "state": "failure", - "argument": "VpnConnections[].State" - } - ] - }, - "VpcPeeringConnectionExists": { - "delay": 15, - "operation": "DescribeVpcPeeringConnections", - "maxAttempts": 40, - "acceptors": [ - { - "matcher": "status", - "expected": 200, - "state": "success" - }, - { - "matcher": "error", - "expected": "InvalidVpcPeeringConnectionID.NotFound", - "state": "retry" - } - ] - }, - "VpcPeeringConnectionDeleted": { - "delay": 15, - "operation": "DescribeVpcPeeringConnections", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "deleted", - "matcher": "pathAll", - "state": "success", - "argument": "VpcPeeringConnections[].Status.Code" - }, - { - "matcher": "error", - "expected": "InvalidVpcPeeringConnectionID.NotFound", - "state": "success" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/ecr-2015-09-21.examples.json b/src/node_modules/aws-sdk/apis/ecr-2015-09-21.examples.json deleted file mode 100644 index d11aa8d..0000000 --- a/src/node_modules/aws-sdk/apis/ecr-2015-09-21.examples.json +++ /dev/null @@ -1,215 +0,0 @@ -{ - "version": "1.0", - "examples": { - "BatchDeleteImage": [ - { - "input": { - "imageIds": [ - { - "imageTag": "precise" - } - ], - "repositoryName": "ubuntu" - }, - "output": { - "failures": [ - - ], - "imageIds": [ - { - "imageDigest": "sha256:examplee6d1e504117a17000003d3753086354a38375961f2e665416ef4b1b2f", - "imageTag": "precise" - } - ] - }, - "comments": { - }, - "description": "This example deletes images with the tags precise and trusty in a repository called ubuntu in the default registry for an account.", - "id": "batchdeleteimages-example-1470860541707", - "title": "To delete multiple images" - } - ], - "BatchGetImage": [ - { - "input": { - "imageIds": [ - { - "imageTag": "precise" - } - ], - "repositoryName": "ubuntu" - }, - "output": { - "failures": [ - - ], - "images": [ - { - "imageId": { - "imageDigest": "sha256:example76bdff6d83a09ba2a818f0d00000063724a9ac3ba5019c56f74ebf42a", - "imageTag": "precise" - }, - "imageManifest": "{\n \"schemaVersion\": 1,\n \"name\": \"ubuntu\",\n \"tag\": \"precise\",\n...", - "registryId": "244698725403", - "repositoryName": "ubuntu" - } - ] - }, - "comments": { - "output": { - "imageManifest": "In this example, the imageManifest in the output JSON has been truncated." - } - }, - "description": "This example obtains information for an image with a specified image digest ID from the repository named ubuntu in the current account.", - "id": "batchgetimage-example-1470862771437", - "title": "To obtain multiple images in a single request" - } - ], - "CreateRepository": [ - { - "input": { - "repositoryName": "project-a/nginx-web-app" - }, - "output": { - "repository": { - "registryId": "012345678901", - "repositoryArn": "arn:aws:ecr:us-west-2:012345678901:repository/project-a/nginx-web-app", - "repositoryName": "project-a/nginx-web-app" - } - }, - "comments": { - "output": { - "imageManifest": "In this example, the imageManifest in the output JSON has been truncated." - } - }, - "description": "This example creates a repository called nginx-web-app inside the project-a namespace in the default registry for an account.", - "id": "createrepository-example-1470863688724", - "title": "To create a new repository" - } - ], - "DeleteRepository": [ - { - "input": { - "force": true, - "repositoryName": "ubuntu" - }, - "output": { - "repository": { - "registryId": "012345678901", - "repositoryArn": "arn:aws:ecr:us-west-2:012345678901:repository/ubuntu", - "repositoryName": "ubuntu" - } - }, - "comments": { - "output": { - "imageManifest": "In this example, the imageManifest in the output JSON has been truncated." - } - }, - "description": "This example force deletes a repository named ubuntu in the default registry for an account. The force parameter is required if the repository contains images.", - "id": "deleterepository-example-1470863805703", - "title": "To force delete a repository" - } - ], - "DeleteRepositoryPolicy": [ - { - "input": { - "repositoryName": "ubuntu" - }, - "output": { - "policyText": "{ ... }", - "registryId": "012345678901", - "repositoryName": "ubuntu" - }, - "comments": { - }, - "description": "This example deletes the policy associated with the repository named ubuntu in the current account.", - "id": "deleterepositorypolicy-example-1470866943748", - "title": "To delete the policy associated with a repository" - } - ], - "DescribeRepositories": [ - { - "input": { - }, - "output": { - "repositories": [ - { - "registryId": "012345678910", - "repositoryArn": "arn:aws:ecr:us-west-2:012345678910:repository/ubuntu", - "repositoryName": "ubuntu" - }, - { - "registryId": "012345678910", - "repositoryArn": "arn:aws:ecr:us-west-2:012345678910:repository/test", - "repositoryName": "test" - } - ] - }, - "comments": { - "output": { - } - }, - "description": "The following example obtains a list and description of all repositories in the default registry to which the current user has access.", - "id": "describe-repositories-1470856017467", - "title": "To describe all repositories in the current account" - } - ], - "GetAuthorizationToken": [ - { - "input": { - }, - "output": { - "authorizationData": [ - { - "authorizationToken": "QVdTOkN...", - "expiresAt": "1470951892432", - "proxyEndpoint": "https://012345678901.dkr.ecr.us-west-2.amazonaws.com" - } - ] - }, - "comments": { - }, - "description": "This example gets an authorization token for your default registry.", - "id": "getauthorizationtoken-example-1470867047084", - "title": "To obtain an authorization token" - } - ], - "GetRepositoryPolicy": [ - { - "input": { - "repositoryName": "ubuntu" - }, - "output": { - "policyText": "{\n \"Version\" : \"2008-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"new statement\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : \"arn:aws:iam::012345678901:role/CodeDeployDemo\"\n },\n\"Action\" : [ \"ecr:GetDownloadUrlForLayer\", \"ecr:BatchGetImage\", \"ecr:BatchCheckLayerAvailability\" ]\n } ]\n}", - "registryId": "012345678901", - "repositoryName": "ubuntu" - }, - "comments": { - }, - "description": "This example obtains the repository policy for the repository named ubuntu.", - "id": "getrepositorypolicy-example-1470867669211", - "title": "To get the current policy for a repository" - } - ], - "ListImages": [ - { - "input": { - "repositoryName": "ubuntu" - }, - "output": { - "imageIds": [ - { - "imageDigest": "sha256:764f63476bdff6d83a09ba2a818f0d35757063724a9ac3ba5019c56f74ebf42a", - "imageTag": "precise" - } - ] - }, - "comments": { - }, - "description": "This example lists all of the images in the repository named ubuntu in the default registry in the current account. ", - "id": "listimages-example-1470868161594", - "title": "To list all images in a repository" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json b/src/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json deleted file mode 100644 index 4a581a6..0000000 --- a/src/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +++ /dev/null @@ -1,552 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "ecr-2015-09-21", - "apiVersion": "2015-09-21", - "endpointPrefix": "ecr", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon ECR", - "serviceFullName": "Amazon EC2 Container Registry", - "signatureVersion": "v4", - "targetPrefix": "AmazonEC2ContainerRegistry_V20150921" - }, - "operations": { - "BatchCheckLayerAvailability": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "layerDigests" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "layerDigests": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "layers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "layerDigest": {}, - "layerAvailability": {}, - "layerSize": { - "type": "long" - }, - "mediaType": {} - } - } - }, - "failures": { - "type": "list", - "member": { - "type": "structure", - "members": { - "layerDigest": {}, - "failureCode": {}, - "failureReason": {} - } - } - } - } - } - }, - "BatchDeleteImage": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "imageIds" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageIds": { - "shape": "Si" - } - } - }, - "output": { - "type": "structure", - "members": { - "imageIds": { - "shape": "Si" - }, - "failures": { - "shape": "Sn" - } - } - } - }, - "BatchGetImage": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "imageIds" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageIds": { - "shape": "Si" - }, - "acceptedMediaTypes": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "images": { - "type": "list", - "member": { - "shape": "Sv" - } - }, - "failures": { - "shape": "Sn" - } - } - } - }, - "CompleteLayerUpload": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "uploadId", - "layerDigests" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "layerDigests": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "layerDigest": {} - } - } - }, - "CreateRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "repository": { - "shape": "S13" - } - } - } - }, - "DeleteRepository": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "force": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "repository": { - "shape": "S13" - } - } - } - }, - "DeleteRepositoryPolicy": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {} - } - } - }, - "DescribeImages": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageIds": { - "shape": "Si" - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - }, - "filter": { - "type": "structure", - "members": { - "tagStatus": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "imageDetails": { - "type": "list", - "member": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "imageDigest": {}, - "imageTags": { - "type": "list", - "member": {} - }, - "imageSizeInBytes": { - "type": "long" - }, - "imagePushedAt": { - "type": "timestamp" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeRepositories": { - "input": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryNames": { - "type": "list", - "member": {} - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "repositories": { - "type": "list", - "member": { - "shape": "S13" - } - }, - "nextToken": {} - } - } - }, - "GetAuthorizationToken": { - "input": { - "type": "structure", - "members": { - "registryIds": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "authorizationData": { - "type": "list", - "member": { - "type": "structure", - "members": { - "authorizationToken": {}, - "expiresAt": { - "type": "timestamp" - }, - "proxyEndpoint": {} - } - } - } - } - } - }, - "GetDownloadUrlForLayer": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "layerDigest" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "layerDigest": {} - } - }, - "output": { - "type": "structure", - "members": { - "downloadUrl": {}, - "layerDigest": {} - } - } - }, - "GetRepositoryPolicy": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {} - } - } - }, - "InitiateLayerUpload": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {} - } - }, - "output": { - "type": "structure", - "members": { - "uploadId": {}, - "partSize": { - "type": "long" - } - } - } - }, - "ListImages": { - "input": { - "type": "structure", - "required": [ - "repositoryName" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - }, - "filter": { - "type": "structure", - "members": { - "tagStatus": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "imageIds": { - "shape": "Si" - }, - "nextToken": {} - } - } - }, - "PutImage": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "imageManifest" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "imageManifest": {}, - "imageTag": {} - } - }, - "output": { - "type": "structure", - "members": { - "image": { - "shape": "Sv" - } - } - } - }, - "SetRepositoryPolicy": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "policyText" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {}, - "force": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "policyText": {} - } - } - }, - "UploadLayerPart": { - "input": { - "type": "structure", - "required": [ - "repositoryName", - "uploadId", - "partFirstByte", - "partLastByte", - "layerPartBlob" - ], - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "partFirstByte": { - "type": "long" - }, - "partLastByte": { - "type": "long" - }, - "layerPartBlob": { - "type": "blob" - } - } - }, - "output": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "uploadId": {}, - "lastByteReceived": { - "type": "long" - } - } - } - } - }, - "shapes": { - "Si": { - "type": "list", - "member": { - "shape": "Sj" - } - }, - "Sj": { - "type": "structure", - "members": { - "imageDigest": {}, - "imageTag": {} - } - }, - "Sn": { - "type": "list", - "member": { - "type": "structure", - "members": { - "imageId": { - "shape": "Sj" - }, - "failureCode": {}, - "failureReason": {} - } - } - }, - "Sv": { - "type": "structure", - "members": { - "registryId": {}, - "repositoryName": {}, - "imageId": { - "shape": "Sj" - }, - "imageManifest": {} - } - }, - "S13": { - "type": "structure", - "members": { - "repositoryArn": {}, - "registryId": {}, - "repositoryName": {}, - "repositoryUri": {}, - "createdAt": { - "type": "timestamp" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json b/src/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json deleted file mode 100644 index dad0647..0000000 --- a/src/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "pagination": { - "ListImages": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "imageIds" - }, - "DescribeImages": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "imageDetails" - }, - "DescribeRepositories": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "repositories" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/ecs-2014-11-13.examples.json b/src/node_modules/aws-sdk/apis/ecs-2014-11-13.examples.json deleted file mode 100644 index c14ba44..0000000 --- a/src/node_modules/aws-sdk/apis/ecs-2014-11-13.examples.json +++ /dev/null @@ -1,883 +0,0 @@ -{ - "version": "1.0", - "examples": { - "CreateCluster": [ - { - "input": { - "clusterName": "my_cluster" - }, - "output": { - "cluster": { - "activeServicesCount": 0, - "clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/my_cluster", - "clusterName": "my_cluster", - "pendingTasksCount": 0, - "registeredContainerInstancesCount": 0, - "runningTasksCount": 0, - "status": "ACTIVE" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a cluster in your default region.", - "id": "to-create-a-new-cluster-1472514079365", - "title": "To create a new cluster" - } - ], - "CreateService": [ - { - "input": { - "desiredCount": 10, - "serviceName": "ecs-simple-service", - "taskDefinition": "hello_world" - }, - "output": { - "service": { - "clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/default", - "createdAt": "2016-08-29T16:13:47.298Z", - "deploymentConfiguration": { - "maximumPercent": 200, - "minimumHealthyPercent": 100 - }, - "deployments": [ - { - "createdAt": "2016-08-29T16:13:47.298Z", - "desiredCount": 10, - "id": "ecs-svc/9223370564342348388", - "pendingCount": 0, - "runningCount": 0, - "status": "PRIMARY", - "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6", - "updatedAt": "2016-08-29T16:13:47.298Z" - }, - { - "createdAt": "2016-08-29T15:52:44.481Z", - "desiredCount": 0, - "id": "ecs-svc/9223370564343611322", - "pendingCount": 0, - "runningCount": 0, - "status": "ACTIVE", - "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6", - "updatedAt": "2016-08-29T16:11:38.941Z" - } - ], - "desiredCount": 10, - "events": [ - - ], - "loadBalancers": [ - - ], - "pendingCount": 0, - "runningCount": 0, - "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service", - "serviceName": "ecs-simple-service", - "status": "ACTIVE", - "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a service in your default region called ``ecs-simple-service``. The service uses the ``hello_world`` task definition and it maintains 10 copies of that task.", - "id": "to-create-a-new-service-1472512584282", - "title": "To create a new service" - }, - { - "input": { - "desiredCount": 10, - "loadBalancers": [ - { - "containerName": "simple-app", - "containerPort": 80, - "loadBalancerName": "EC2Contai-EcsElast-15DCDAURT3ZO2" - } - ], - "role": "ecsServiceRole", - "serviceName": "ecs-simple-service-elb", - "taskDefinition": "console-sample-app-static" - }, - "output": { - "service": { - "clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/default", - "createdAt": "2016-08-29T16:02:54.884Z", - "deploymentConfiguration": { - "maximumPercent": 200, - "minimumHealthyPercent": 100 - }, - "deployments": [ - { - "createdAt": "2016-08-29T16:02:54.884Z", - "desiredCount": 10, - "id": "ecs-svc/9223370564343000923", - "pendingCount": 0, - "runningCount": 0, - "status": "PRIMARY", - "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/console-sample-app-static:6", - "updatedAt": "2016-08-29T16:02:54.884Z" - } - ], - "desiredCount": 10, - "events": [ - - ], - "loadBalancers": [ - { - "containerName": "simple-app", - "containerPort": 80, - "loadBalancerName": "EC2Contai-EcsElast-15DCDAURT3ZO2" - } - ], - "pendingCount": 0, - "roleArn": "arn:aws:iam::012345678910:role/ecsServiceRole", - "runningCount": 0, - "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service-elb", - "serviceName": "ecs-simple-service-elb", - "status": "ACTIVE", - "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/console-sample-app-static:6" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a service in your default region called ``ecs-simple-service-elb``. The service uses the ``ecs-demo`` task definition and it maintains 10 copies of that task. You must reference an existing load balancer in the same region by its name.", - "id": "to-create-a-new-service-behind-a-load-balancer-1472512484823", - "title": "To create a new service behind a load balancer" - } - ], - "DeleteCluster": [ - { - "input": { - "cluster": "my_cluster" - }, - "output": { - "cluster": { - "activeServicesCount": 0, - "clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/my_cluster", - "clusterName": "my_cluster", - "pendingTasksCount": 0, - "registeredContainerInstancesCount": 0, - "runningTasksCount": 0, - "status": "INACTIVE" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes an empty cluster in your default region.", - "id": "to-delete-an-empty-cluster-1472512705352", - "title": "To delete an empty cluster" - } - ], - "DeleteService": [ - { - "input": { - "service": "my-http-service" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the my-http-service service. The service must have a desired count and running count of 0 before you can delete it.", - "id": "e8183e38-f86e-4390-b811-f74f30a6007d", - "title": "To delete a service" - } - ], - "DeregisterContainerInstance": [ - { - "input": { - "cluster": "default", - "containerInstance": "container_instance_UUID", - "force": true - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deregisters a container instance from the specified cluster in your default region. If there are still tasks running on the container instance, you must either stop those tasks before deregistering, or use the force option.", - "id": "bf624927-cf64-4f4b-8b7e-c024a4e682f6", - "title": "To deregister a container instance from a cluster" - } - ], - "DescribeClusters": [ - { - "input": { - "clusters": [ - "default" - ] - }, - "output": { - "clusters": [ - { - "clusterArn": "arn:aws:ecs:us-east-1:aws_account_id:cluster/default", - "clusterName": "default", - "status": "ACTIVE" - } - ], - "failures": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example provides a description of the specified cluster in your default region.", - "id": "ba88d100-9672-4231-80da-a4bd210bf728", - "title": "To describe a cluster" - } - ], - "DescribeContainerInstances": [ - { - "input": { - "cluster": "default", - "containerInstances": [ - "f2756532-8f13-4d53-87c9-aed50dc94cd7" - ] - }, - "output": { - "containerInstances": [ - { - "agentConnected": true, - "containerInstanceArn": "arn:aws:ecs:us-east-1:012345678910:container-instance/f2756532-8f13-4d53-87c9-aed50dc94cd7", - "ec2InstanceId": "i-807f3249", - "pendingTasksCount": 0, - "registeredResources": [ - { - "name": "CPU", - "type": "INTEGER", - "doubleValue": 0.0, - "integerValue": 2048, - "longValue": 0 - }, - { - "name": "MEMORY", - "type": "INTEGER", - "doubleValue": 0.0, - "integerValue": 3768, - "longValue": 0 - }, - { - "name": "PORTS", - "type": "STRINGSET", - "doubleValue": 0.0, - "integerValue": 0, - "longValue": 0, - "stringSetValue": [ - "2376", - "22", - "51678", - "2375" - ] - } - ], - "remainingResources": [ - { - "name": "CPU", - "type": "INTEGER", - "doubleValue": 0.0, - "integerValue": 1948, - "longValue": 0 - }, - { - "name": "MEMORY", - "type": "INTEGER", - "doubleValue": 0.0, - "integerValue": 3668, - "longValue": 0 - }, - { - "name": "PORTS", - "type": "STRINGSET", - "doubleValue": 0.0, - "integerValue": 0, - "longValue": 0, - "stringSetValue": [ - "2376", - "22", - "80", - "51678", - "2375" - ] - } - ], - "runningTasksCount": 1, - "status": "ACTIVE" - } - ], - "failures": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example provides a description of the specified container instance in your default region, using the container instance UUID as an identifier.", - "id": "c8f439de-eb27-4269-8ca7-2c0a7ba75ab0", - "title": "To describe container instance" - } - ], - "DescribeServices": [ - { - "input": { - "services": [ - "ecs-simple-service" - ] - }, - "output": { - "failures": [ - - ], - "services": [ - { - "clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/default", - "createdAt": "2016-08-29T16:25:52.130Z", - "deploymentConfiguration": { - "maximumPercent": 200, - "minimumHealthyPercent": 100 - }, - "deployments": [ - { - "createdAt": "2016-08-29T16:25:52.130Z", - "desiredCount": 1, - "id": "ecs-svc/9223370564341623665", - "pendingCount": 0, - "runningCount": 0, - "status": "PRIMARY", - "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6", - "updatedAt": "2016-08-29T16:25:52.130Z" - } - ], - "desiredCount": 1, - "events": [ - { - "createdAt": "2016-08-29T16:25:58.520Z", - "id": "38c285e5-d335-4b68-8b15-e46dedc8e88d", - "message": "(service ecs-simple-service) was unable to place a task because no container instance met all of its requirements. The closest matching (container-instance 3f4de1c5-ffdd-4954-af7e-75b4be0c8841) is already using a port required by your task. For more information, see the Troubleshooting section of the Amazon ECS Developer Guide." - } - ], - "loadBalancers": [ - - ], - "pendingCount": 0, - "runningCount": 0, - "serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service", - "serviceName": "ecs-simple-service", - "status": "ACTIVE", - "taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6" - } - ] - }, - "comments": { - "input": { - }, - "output": { - "services[0].events[0].message": "In this example, there is a service event that shows unavailable cluster resources." - } - }, - "description": "This example provides descriptive information about the service named ``ecs-simple-service``.", - "id": "to-describe-a-service-1472513256350", - "title": "To describe a service" - } - ], - "DescribeTaskDefinition": [ - { - "input": { - "taskDefinition": "hello_world:8" - }, - "output": { - "taskDefinition": { - "containerDefinitions": [ - { - "name": "wordpress", - "cpu": 10, - "environment": [ - - ], - "essential": true, - "image": "wordpress", - "links": [ - "mysql" - ], - "memory": 500, - "mountPoints": [ - - ], - "portMappings": [ - { - "containerPort": 80, - "hostPort": 80 - } - ], - "volumesFrom": [ - - ] - }, - { - "name": "mysql", - "cpu": 10, - "environment": [ - { - "name": "MYSQL_ROOT_PASSWORD", - "value": "password" - } - ], - "essential": true, - "image": "mysql", - "memory": 500, - "mountPoints": [ - - ], - "portMappings": [ - - ], - "volumesFrom": [ - - ] - } - ], - "family": "hello_world", - "revision": 8, - "taskDefinitionArn": "arn:aws:ecs:us-east-1::task-definition/hello_world:8", - "volumes": [ - - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example provides a description of the specified task definition.", - "id": "4c21eeb1-f1da-4a08-8c44-297fc8d0ea88", - "title": "To describe a task definition" - } - ], - "DescribeTasks": [ - { - "input": { - "tasks": [ - "c5cba4eb-5dad-405e-96db-71ef8eefe6a8" - ] - }, - "output": { - "failures": [ - - ], - "tasks": [ - { - "clusterArn": "arn:aws:ecs:::cluster/default", - "containerInstanceArn": "arn:aws:ecs:::container-instance/18f9eda5-27d7-4c19-b133-45adc516e8fb", - "containers": [ - { - "name": "ecs-demo", - "containerArn": "arn:aws:ecs:::container/7c01765b-c588-45b3-8290-4ba38bd6c5a6", - "lastStatus": "RUNNING", - "networkBindings": [ - { - "bindIP": "0.0.0.0", - "containerPort": 80, - "hostPort": 80 - } - ], - "taskArn": "arn:aws:ecs:::task/c5cba4eb-5dad-405e-96db-71ef8eefe6a8" - } - ], - "desiredStatus": "RUNNING", - "lastStatus": "RUNNING", - "overrides": { - "containerOverrides": [ - { - "name": "ecs-demo" - } - ] - }, - "startedBy": "ecs-svc/9223370608528463088", - "taskArn": "arn:aws:ecs:::task/c5cba4eb-5dad-405e-96db-71ef8eefe6a8", - "taskDefinitionArn": "arn:aws:ecs:::task-definition/amazon-ecs-sample:1" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example provides a description of the specified task, using the task UUID as an identifier.", - "id": "a90b0cde-f965-4946-b55e-cfd8cc54e827", - "title": "To describe a task" - } - ], - "ListClusters": [ - { - "input": { - }, - "output": { - "clusterArns": [ - "arn:aws:ecs:us-east-1::cluster/test", - "arn:aws:ecs:us-east-1::cluster/default" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists all of your available clusters in your default region.", - "id": "e337d059-134f-4125-ba8e-4f499139facf", - "title": "To list your available clusters" - } - ], - "ListContainerInstances": [ - { - "input": { - "cluster": "default" - }, - "output": { - "containerInstanceArns": [ - "arn:aws:ecs:us-east-1::container-instance/f6bbb147-5370-4ace-8c73-c7181ded911f", - "arn:aws:ecs:us-east-1::container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists all of your available container instances in the specified cluster in your default region.", - "id": "62a82a94-713c-4e18-8420-1d2b2ba9d484", - "title": "To list your available container instances in a cluster" - } - ], - "ListServices": [ - { - "input": { - }, - "output": { - "serviceArns": [ - "arn:aws:ecs:us-east-1:012345678910:service/my-http-service" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists the services running in the default cluster for an account.", - "id": "1d9a8037-4e0e-4234-a528-609656809a3a", - "title": "To list the services in a cluster" - } - ], - "ListTaskDefinitionFamilies": [ - { - "input": { - }, - "output": { - "families": [ - "node-js-app", - "web-timer", - "hpcc", - "hpcc-c4-8xlarge" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists all of your registered task definition families.", - "id": "b5c89769-1d94-4ca2-a79e-8069103c7f75", - "title": "To list your registered task definition families" - }, - { - "input": { - "familyPrefix": "hpcc" - }, - "output": { - "families": [ - "hpcc", - "hpcc-c4-8xlarge" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists the task definition revisions that start with \"hpcc\".", - "id": "8a4cf9a6-42c1-4fe3-852d-99ac8968e11b", - "title": "To filter your registered task definition families" - } - ], - "ListTaskDefinitions": [ - { - "input": { - }, - "output": { - "taskDefinitionArns": [ - "arn:aws:ecs:us-east-1::task-definition/sleep300:2", - "arn:aws:ecs:us-east-1::task-definition/sleep360:1", - "arn:aws:ecs:us-east-1::task-definition/wordpress:3", - "arn:aws:ecs:us-east-1::task-definition/wordpress:4", - "arn:aws:ecs:us-east-1::task-definition/wordpress:5", - "arn:aws:ecs:us-east-1::task-definition/wordpress:6" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists all of your registered task definitions.", - "id": "b381ebaf-7eba-4d60-b99b-7f6ae49d3d60", - "title": "To list your registered task definitions" - }, - { - "input": { - "familyPrefix": "wordpress" - }, - "output": { - "taskDefinitionArns": [ - "arn:aws:ecs:us-east-1::task-definition/wordpress:3", - "arn:aws:ecs:us-east-1::task-definition/wordpress:4", - "arn:aws:ecs:us-east-1::task-definition/wordpress:5", - "arn:aws:ecs:us-east-1::task-definition/wordpress:6" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists the task definition revisions of a specified family.", - "id": "734e7afd-753a-4bc2-85d0-badddce10910", - "title": "To list the registered task definitions in a family" - } - ], - "ListTasks": [ - { - "input": { - "cluster": "default" - }, - "output": { - "taskArns": [ - "arn:aws:ecs:us-east-1:012345678910:task/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84", - "arn:aws:ecs:us-east-1:012345678910:task/6b809ef6-c67e-4467-921f-ee261c15a0a1" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists all of the tasks in a cluster.", - "id": "9a6ec707-1a77-45d0-b2eb-516b5dd9e924", - "title": "To list the tasks in a cluster" - }, - { - "input": { - "cluster": "default", - "containerInstance": "f6bbb147-5370-4ace-8c73-c7181ded911f" - }, - "output": { - "taskArns": [ - "arn:aws:ecs:us-east-1:012345678910:task/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example lists the tasks of a specified container instance. Specifying a ``containerInstance`` value limits the results to tasks that belong to that container instance.", - "id": "024bf3b7-9cbb-44e3-848f-9d074e1fecce", - "title": "To list the tasks on a particular container instance" - } - ], - "RegisterTaskDefinition": [ - { - "input": { - "containerDefinitions": [ - { - "name": "sleep", - "command": [ - "sleep", - "360" - ], - "cpu": 10, - "essential": true, - "image": "busybox", - "memory": 10 - } - ], - "family": "sleep360", - "taskRoleArn": "", - "volumes": [ - - ] - }, - "output": { - "taskDefinition": { - "containerDefinitions": [ - { - "name": "sleep", - "command": [ - "sleep", - "360" - ], - "cpu": 10, - "environment": [ - - ], - "essential": true, - "image": "busybox", - "memory": 10, - "mountPoints": [ - - ], - "portMappings": [ - - ], - "volumesFrom": [ - - ] - } - ], - "family": "sleep360", - "revision": 1, - "taskDefinitionArn": "arn:aws:ecs:us-east-1::task-definition/sleep360:19", - "volumes": [ - - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example registers a task definition to the specified family.", - "id": "to-register-a-task-definition-1470764550877", - "title": "To register a task definition" - } - ], - "RunTask": [ - { - "input": { - "cluster": "default", - "taskDefinition": "sleep360:1" - }, - "output": { - "tasks": [ - { - "containerInstanceArn": "arn:aws:ecs:us-east-1::container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb", - "containers": [ - { - "name": "sleep", - "containerArn": "arn:aws:ecs:us-east-1::container/58591c8e-be29-4ddf-95aa-ee459d4c59fd", - "lastStatus": "PENDING", - "taskArn": "arn:aws:ecs:us-east-1::task/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0" - } - ], - "desiredStatus": "RUNNING", - "lastStatus": "PENDING", - "overrides": { - "containerOverrides": [ - { - "name": "sleep" - } - ] - }, - "taskArn": "arn:aws:ecs:us-east-1::task/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0", - "taskDefinitionArn": "arn:aws:ecs:us-east-1::task-definition/sleep360:1" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example runs the specified task definition on your default cluster.", - "id": "6f238c83-a133-42cd-ab3d-abeca0560445", - "title": "To run a task on your default cluster" - } - ], - "UpdateService": [ - { - "input": { - "service": "my-http-service", - "taskDefinition": "amazon-ecs-sample" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example updates the my-http-service service to use the amazon-ecs-sample task definition.", - "id": "cc9e8900-0cc2-44d2-8491-64d1d3d37887", - "title": "To change the task definition used in a service" - }, - { - "input": { - "desiredCount": 10, - "service": "my-http-service" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example updates the desired count of the my-http-service service to 10.", - "id": "9581d6c5-02e3-4140-8cc1-5a4301586633", - "title": "To change the number of tasks in a service" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json b/src/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json deleted file mode 100644 index d8d972b..0000000 --- a/src/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +++ /dev/null @@ -1,1316 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-11-13", - "endpointPrefix": "ecs", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon ECS", - "serviceFullName": "Amazon EC2 Container Service", - "signatureVersion": "v4", - "targetPrefix": "AmazonEC2ContainerServiceV20141113", - "uid": "ecs-2014-11-13" - }, - "operations": { - "CreateCluster": { - "input": { - "type": "structure", - "members": { - "clusterName": {} - } - }, - "output": { - "type": "structure", - "members": { - "cluster": { - "shape": "S4" - } - } - } - }, - "CreateService": { - "input": { - "type": "structure", - "required": [ - "serviceName", - "taskDefinition", - "desiredCount" - ], - "members": { - "cluster": {}, - "serviceName": {}, - "taskDefinition": {}, - "loadBalancers": { - "shape": "S7" - }, - "desiredCount": { - "type": "integer" - }, - "clientToken": {}, - "role": {}, - "deploymentConfiguration": { - "shape": "Sa" - }, - "placementConstraints": { - "shape": "Sb" - }, - "placementStrategy": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "service": { - "shape": "Si" - } - } - } - }, - "DeleteAttributes": { - "input": { - "type": "structure", - "required": [ - "attributes" - ], - "members": { - "cluster": {}, - "attributes": { - "shape": "Sp" - } - } - }, - "output": { - "type": "structure", - "members": { - "attributes": { - "shape": "Sp" - } - } - } - }, - "DeleteCluster": { - "input": { - "type": "structure", - "required": [ - "cluster" - ], - "members": { - "cluster": {} - } - }, - "output": { - "type": "structure", - "members": { - "cluster": { - "shape": "S4" - } - } - } - }, - "DeleteService": { - "input": { - "type": "structure", - "required": [ - "service" - ], - "members": { - "cluster": {}, - "service": {} - } - }, - "output": { - "type": "structure", - "members": { - "service": { - "shape": "Si" - } - } - } - }, - "DeregisterContainerInstance": { - "input": { - "type": "structure", - "required": [ - "containerInstance" - ], - "members": { - "cluster": {}, - "containerInstance": {}, - "force": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstance": { - "shape": "S10" - } - } - } - }, - "DeregisterTaskDefinition": { - "input": { - "type": "structure", - "required": [ - "taskDefinition" - ], - "members": { - "taskDefinition": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinition": { - "shape": "S1b" - } - } - } - }, - "DescribeClusters": { - "input": { - "type": "structure", - "members": { - "clusters": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "members": { - "clusters": { - "type": "list", - "member": { - "shape": "S4" - } - }, - "failures": { - "shape": "S28" - } - } - } - }, - "DescribeContainerInstances": { - "input": { - "type": "structure", - "required": [ - "containerInstances" - ], - "members": { - "cluster": {}, - "containerInstances": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstances": { - "shape": "S2c" - }, - "failures": { - "shape": "S28" - } - } - } - }, - "DescribeServices": { - "input": { - "type": "structure", - "required": [ - "services" - ], - "members": { - "cluster": {}, - "services": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "members": { - "services": { - "type": "list", - "member": { - "shape": "Si" - } - }, - "failures": { - "shape": "S28" - } - } - } - }, - "DescribeTaskDefinition": { - "input": { - "type": "structure", - "required": [ - "taskDefinition" - ], - "members": { - "taskDefinition": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinition": { - "shape": "S1b" - } - } - } - }, - "DescribeTasks": { - "input": { - "type": "structure", - "required": [ - "tasks" - ], - "members": { - "cluster": {}, - "tasks": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "members": { - "tasks": { - "shape": "S2k" - }, - "failures": { - "shape": "S28" - } - } - } - }, - "DiscoverPollEndpoint": { - "input": { - "type": "structure", - "members": { - "containerInstance": {}, - "cluster": {} - } - }, - "output": { - "type": "structure", - "members": { - "endpoint": {}, - "telemetryEndpoint": {} - } - } - }, - "ListAttributes": { - "input": { - "type": "structure", - "required": [ - "targetType" - ], - "members": { - "cluster": {}, - "targetType": {}, - "attributeName": {}, - "attributeValue": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "attributes": { - "shape": "Sp" - }, - "nextToken": {} - } - } - }, - "ListClusters": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "clusterArns": { - "shape": "S16" - }, - "nextToken": {} - } - } - }, - "ListContainerInstances": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "filter": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - }, - "status": {} - } - }, - "output": { - "type": "structure", - "members": { - "containerInstanceArns": { - "shape": "S16" - }, - "nextToken": {} - } - } - }, - "ListServices": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "serviceArns": { - "shape": "S16" - }, - "nextToken": {} - } - } - }, - "ListTaskDefinitionFamilies": { - "input": { - "type": "structure", - "members": { - "familyPrefix": {}, - "status": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "families": { - "shape": "S16" - }, - "nextToken": {} - } - } - }, - "ListTaskDefinitions": { - "input": { - "type": "structure", - "members": { - "familyPrefix": {}, - "status": {}, - "sort": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinitionArns": { - "shape": "S16" - }, - "nextToken": {} - } - } - }, - "ListTasks": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "containerInstance": {}, - "family": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - }, - "startedBy": {}, - "serviceName": {}, - "desiredStatus": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskArns": { - "shape": "S16" - }, - "nextToken": {} - } - } - }, - "PutAttributes": { - "input": { - "type": "structure", - "required": [ - "attributes" - ], - "members": { - "cluster": {}, - "attributes": { - "shape": "Sp" - } - } - }, - "output": { - "type": "structure", - "members": { - "attributes": { - "shape": "Sp" - } - } - } - }, - "RegisterContainerInstance": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "instanceIdentityDocument": {}, - "instanceIdentityDocumentSignature": {}, - "totalResources": { - "shape": "S13" - }, - "versionInfo": { - "shape": "S12" - }, - "containerInstanceArn": {}, - "attributes": { - "shape": "Sp" - } - } - }, - "output": { - "type": "structure", - "members": { - "containerInstance": { - "shape": "S10" - } - } - } - }, - "RegisterTaskDefinition": { - "input": { - "type": "structure", - "required": [ - "family", - "containerDefinitions" - ], - "members": { - "family": {}, - "taskRoleArn": {}, - "networkMode": {}, - "containerDefinitions": { - "shape": "S1c" - }, - "volumes": { - "shape": "S1x" - }, - "placementConstraints": { - "shape": "S22" - } - } - }, - "output": { - "type": "structure", - "members": { - "taskDefinition": { - "shape": "S1b" - } - } - } - }, - "RunTask": { - "input": { - "type": "structure", - "required": [ - "taskDefinition" - ], - "members": { - "cluster": {}, - "taskDefinition": {}, - "overrides": { - "shape": "S2m" - }, - "count": { - "type": "integer" - }, - "startedBy": {}, - "group": {}, - "placementConstraints": { - "shape": "Sb" - }, - "placementStrategy": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "tasks": { - "shape": "S2k" - }, - "failures": { - "shape": "S28" - } - } - } - }, - "StartTask": { - "input": { - "type": "structure", - "required": [ - "taskDefinition", - "containerInstances" - ], - "members": { - "cluster": {}, - "taskDefinition": {}, - "overrides": { - "shape": "S2m" - }, - "containerInstances": { - "shape": "S16" - }, - "startedBy": {}, - "group": {} - } - }, - "output": { - "type": "structure", - "members": { - "tasks": { - "shape": "S2k" - }, - "failures": { - "shape": "S28" - } - } - } - }, - "StopTask": { - "input": { - "type": "structure", - "required": [ - "task" - ], - "members": { - "cluster": {}, - "task": {}, - "reason": {} - } - }, - "output": { - "type": "structure", - "members": { - "task": { - "shape": "S2l" - } - } - } - }, - "SubmitContainerStateChange": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "task": {}, - "containerName": {}, - "status": {}, - "exitCode": { - "type": "integer" - }, - "reason": {}, - "networkBindings": { - "shape": "S2r" - } - } - }, - "output": { - "type": "structure", - "members": { - "acknowledgment": {} - } - } - }, - "SubmitTaskStateChange": { - "input": { - "type": "structure", - "members": { - "cluster": {}, - "task": {}, - "status": {}, - "reason": {} - } - }, - "output": { - "type": "structure", - "members": { - "acknowledgment": {} - } - } - }, - "UpdateContainerAgent": { - "input": { - "type": "structure", - "required": [ - "containerInstance" - ], - "members": { - "cluster": {}, - "containerInstance": {} - } - }, - "output": { - "type": "structure", - "members": { - "containerInstance": { - "shape": "S10" - } - } - } - }, - "UpdateContainerInstancesState": { - "input": { - "type": "structure", - "required": [ - "containerInstances", - "status" - ], - "members": { - "cluster": {}, - "containerInstances": { - "shape": "S16" - }, - "status": {} - } - }, - "output": { - "type": "structure", - "members": { - "containerInstances": { - "shape": "S2c" - }, - "failures": { - "shape": "S28" - } - } - } - }, - "UpdateService": { - "input": { - "type": "structure", - "required": [ - "service" - ], - "members": { - "cluster": {}, - "service": {}, - "desiredCount": { - "type": "integer" - }, - "taskDefinition": {}, - "deploymentConfiguration": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "service": { - "shape": "Si" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "clusterArn": {}, - "clusterName": {}, - "status": {}, - "registeredContainerInstancesCount": { - "type": "integer" - }, - "runningTasksCount": { - "type": "integer" - }, - "pendingTasksCount": { - "type": "integer" - }, - "activeServicesCount": { - "type": "integer" - } - } - }, - "S7": { - "type": "list", - "member": { - "type": "structure", - "members": { - "targetGroupArn": {}, - "loadBalancerName": {}, - "containerName": {}, - "containerPort": { - "type": "integer" - } - } - } - }, - "Sa": { - "type": "structure", - "members": { - "maximumPercent": { - "type": "integer" - }, - "minimumHealthyPercent": { - "type": "integer" - } - } - }, - "Sb": { - "type": "list", - "member": { - "type": "structure", - "members": { - "type": {}, - "expression": {} - } - } - }, - "Se": { - "type": "list", - "member": { - "type": "structure", - "members": { - "type": {}, - "field": {} - } - } - }, - "Si": { - "type": "structure", - "members": { - "serviceArn": {}, - "serviceName": {}, - "clusterArn": {}, - "loadBalancers": { - "shape": "S7" - }, - "status": {}, - "desiredCount": { - "type": "integer" - }, - "runningCount": { - "type": "integer" - }, - "pendingCount": { - "type": "integer" - }, - "taskDefinition": {}, - "deploymentConfiguration": { - "shape": "Sa" - }, - "deployments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "status": {}, - "taskDefinition": {}, - "desiredCount": { - "type": "integer" - }, - "pendingCount": { - "type": "integer" - }, - "runningCount": { - "type": "integer" - }, - "createdAt": { - "type": "timestamp" - }, - "updatedAt": { - "type": "timestamp" - } - } - } - }, - "roleArn": {}, - "events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "id": {}, - "createdAt": { - "type": "timestamp" - }, - "message": {} - } - } - }, - "createdAt": { - "type": "timestamp" - }, - "placementConstraints": { - "shape": "Sb" - }, - "placementStrategy": { - "shape": "Se" - } - } - }, - "Sp": { - "type": "list", - "member": { - "shape": "Sq" - } - }, - "Sq": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "value": {}, - "targetType": {}, - "targetId": {} - } - }, - "S10": { - "type": "structure", - "members": { - "containerInstanceArn": {}, - "ec2InstanceId": {}, - "version": { - "type": "long" - }, - "versionInfo": { - "shape": "S12" - }, - "remainingResources": { - "shape": "S13" - }, - "registeredResources": { - "shape": "S13" - }, - "status": {}, - "agentConnected": { - "type": "boolean" - }, - "runningTasksCount": { - "type": "integer" - }, - "pendingTasksCount": { - "type": "integer" - }, - "agentUpdateStatus": {}, - "attributes": { - "shape": "Sp" - }, - "registeredAt": { - "type": "timestamp" - } - } - }, - "S12": { - "type": "structure", - "members": { - "agentVersion": {}, - "agentHash": {}, - "dockerVersion": {} - } - }, - "S13": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "type": {}, - "doubleValue": { - "type": "double" - }, - "longValue": { - "type": "long" - }, - "integerValue": { - "type": "integer" - }, - "stringSetValue": { - "shape": "S16" - } - } - } - }, - "S16": { - "type": "list", - "member": {} - }, - "S1b": { - "type": "structure", - "members": { - "taskDefinitionArn": {}, - "containerDefinitions": { - "shape": "S1c" - }, - "family": {}, - "taskRoleArn": {}, - "networkMode": {}, - "revision": { - "type": "integer" - }, - "volumes": { - "shape": "S1x" - }, - "status": {}, - "requiresAttributes": { - "type": "list", - "member": { - "shape": "Sq" - } - }, - "placementConstraints": { - "shape": "S22" - } - } - }, - "S1c": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "image": {}, - "cpu": { - "type": "integer" - }, - "memory": { - "type": "integer" - }, - "memoryReservation": { - "type": "integer" - }, - "links": { - "shape": "S16" - }, - "portMappings": { - "type": "list", - "member": { - "type": "structure", - "members": { - "containerPort": { - "type": "integer" - }, - "hostPort": { - "type": "integer" - }, - "protocol": {} - } - } - }, - "essential": { - "type": "boolean" - }, - "entryPoint": { - "shape": "S16" - }, - "command": { - "shape": "S16" - }, - "environment": { - "shape": "S1h" - }, - "mountPoints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "sourceVolume": {}, - "containerPath": {}, - "readOnly": { - "type": "boolean" - } - } - } - }, - "volumesFrom": { - "type": "list", - "member": { - "type": "structure", - "members": { - "sourceContainer": {}, - "readOnly": { - "type": "boolean" - } - } - } - }, - "hostname": {}, - "user": {}, - "workingDirectory": {}, - "disableNetworking": { - "type": "boolean" - }, - "privileged": { - "type": "boolean" - }, - "readonlyRootFilesystem": { - "type": "boolean" - }, - "dnsServers": { - "shape": "S16" - }, - "dnsSearchDomains": { - "shape": "S16" - }, - "extraHosts": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "hostname", - "ipAddress" - ], - "members": { - "hostname": {}, - "ipAddress": {} - } - } - }, - "dockerSecurityOptions": { - "shape": "S16" - }, - "dockerLabels": { - "type": "map", - "key": {}, - "value": {} - }, - "ulimits": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "softLimit", - "hardLimit" - ], - "members": { - "name": {}, - "softLimit": { - "type": "integer" - }, - "hardLimit": { - "type": "integer" - } - } - } - }, - "logConfiguration": { - "type": "structure", - "required": [ - "logDriver" - ], - "members": { - "logDriver": {}, - "options": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - }, - "S1h": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "value": {} - } - } - }, - "S1x": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "host": { - "type": "structure", - "members": { - "sourcePath": {} - } - } - } - } - }, - "S22": { - "type": "list", - "member": { - "type": "structure", - "members": { - "type": {}, - "expression": {} - } - } - }, - "S28": { - "type": "list", - "member": { - "type": "structure", - "members": { - "arn": {}, - "reason": {} - } - } - }, - "S2c": { - "type": "list", - "member": { - "shape": "S10" - } - }, - "S2k": { - "type": "list", - "member": { - "shape": "S2l" - } - }, - "S2l": { - "type": "structure", - "members": { - "taskArn": {}, - "clusterArn": {}, - "taskDefinitionArn": {}, - "containerInstanceArn": {}, - "overrides": { - "shape": "S2m" - }, - "lastStatus": {}, - "desiredStatus": {}, - "containers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "containerArn": {}, - "taskArn": {}, - "name": {}, - "lastStatus": {}, - "exitCode": { - "type": "integer" - }, - "reason": {}, - "networkBindings": { - "shape": "S2r" - } - } - } - }, - "startedBy": {}, - "version": { - "type": "long" - }, - "stoppedReason": {}, - "createdAt": { - "type": "timestamp" - }, - "startedAt": { - "type": "timestamp" - }, - "stoppedAt": { - "type": "timestamp" - }, - "group": {} - } - }, - "S2m": { - "type": "structure", - "members": { - "containerOverrides": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "command": { - "shape": "S16" - }, - "environment": { - "shape": "S1h" - }, - "cpu": { - "type": "integer" - }, - "memory": { - "type": "integer" - }, - "memoryReservation": { - "type": "integer" - } - } - } - }, - "taskRoleArn": {} - } - }, - "S2r": { - "type": "list", - "member": { - "type": "structure", - "members": { - "bindIP": {}, - "containerPort": { - "type": "integer" - }, - "hostPort": { - "type": "integer" - }, - "protocol": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json b/src/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json deleted file mode 100644 index 46cea2a..0000000 --- a/src/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "pagination": { - "ListClusters": { - "input_token": "nextToken", - "limit_key": "maxResults", - "output_token": "nextToken", - "result_key": "clusterArns" - }, - "ListContainerInstances": { - "input_token": "nextToken", - "limit_key": "maxResults", - "output_token": "nextToken", - "result_key": "containerInstanceArns" - }, - "ListServices": { - "input_token": "nextToken", - "limit_key": "maxResults", - "output_token": "nextToken", - "result_key": "serviceArns" - }, - "ListTaskDefinitionFamilies": { - "input_token": "nextToken", - "limit_key": "maxResults", - "output_token": "nextToken", - "result_key": "families" - }, - "ListTaskDefinitions": { - "input_token": "nextToken", - "limit_key": "maxResults", - "output_token": "nextToken", - "result_key": "taskDefinitionArns" - }, - "ListTasks": { - "input_token": "nextToken", - "limit_key": "maxResults", - "output_token": "nextToken", - "result_key": "taskArns" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/ecs-2014-11-13.waiters2.json b/src/node_modules/aws-sdk/apis/ecs-2014-11-13.waiters2.json deleted file mode 100644 index 8a0b19d..0000000 --- a/src/node_modules/aws-sdk/apis/ecs-2014-11-13.waiters2.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "version": 2, - "waiters": { - "TasksRunning": { - "delay": 6, - "operation": "DescribeTasks", - "maxAttempts": 100, - "acceptors": [ - { - "expected": "STOPPED", - "matcher": "pathAny", - "state": "failure", - "argument": "tasks[].lastStatus" - }, - { - "expected": "MISSING", - "matcher": "pathAny", - "state": "failure", - "argument": "failures[].reason" - }, - { - "expected": "RUNNING", - "matcher": "pathAll", - "state": "success", - "argument": "tasks[].lastStatus" - } - ] - }, - "TasksStopped": { - "delay": 6, - "operation": "DescribeTasks", - "maxAttempts": 100, - "acceptors": [ - { - "expected": "STOPPED", - "matcher": "pathAll", - "state": "success", - "argument": "tasks[].lastStatus" - } - ] - }, - "ServicesStable": { - "delay": 15, - "operation": "DescribeServices", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "MISSING", - "matcher": "pathAny", - "state": "failure", - "argument": "failures[].reason" - }, - { - "expected": "DRAINING", - "matcher": "pathAny", - "state": "failure", - "argument": "services[].status" - }, - { - "expected": "INACTIVE", - "matcher": "pathAny", - "state": "failure", - "argument": "services[].status" - }, - { - "expected": true, - "matcher": "path", - "state": "success", - "argument": "length(services[?!(length(deployments) == `1` && runningCount == desiredCount)]) == `0`" - } - ] - }, - "ServicesInactive": { - "delay": 15, - "operation": "DescribeServices", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "MISSING", - "matcher": "pathAny", - "state": "failure", - "argument": "failures[].reason" - }, - { - "expected": "INACTIVE", - "matcher": "pathAny", - "state": "success", - "argument": "services[].status" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json b/src/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json deleted file mode 100644 index ee9e9d9..0000000 --- a/src/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +++ /dev/null @@ -1,1600 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-02-02", - "endpointPrefix": "elasticache", - "protocol": "query", - "serviceFullName": "Amazon ElastiCache", - "signatureVersion": "v4", - "uid": "elasticache-2015-02-02", - "xmlNamespace": "http://elasticache.amazonaws.com/doc/2015-02-02/" - }, - "operations": { - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "shape": "S5", - "resultWrapper": "AddTagsToResourceResult" - } - }, - "AuthorizeCacheSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "CacheSecurityGroupName", - "EC2SecurityGroupName", - "EC2SecurityGroupOwnerId" - ], - "members": { - "CacheSecurityGroupName": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeCacheSecurityGroupIngressResult", - "type": "structure", - "members": { - "CacheSecurityGroup": { - "shape": "S8" - } - } - } - }, - "CopySnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceSnapshotName", - "TargetSnapshotName" - ], - "members": { - "SourceSnapshotName": {}, - "TargetSnapshotName": {}, - "TargetBucket": {} - } - }, - "output": { - "resultWrapper": "CopySnapshotResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "CreateCacheCluster": { - "input": { - "type": "structure", - "required": [ - "CacheClusterId" - ], - "members": { - "CacheClusterId": {}, - "ReplicationGroupId": {}, - "AZMode": {}, - "PreferredAvailabilityZone": {}, - "PreferredAvailabilityZones": { - "shape": "So" - }, - "NumCacheNodes": { - "type": "integer" - }, - "CacheNodeType": {}, - "Engine": {}, - "EngineVersion": {}, - "CacheParameterGroupName": {}, - "CacheSubnetGroupName": {}, - "CacheSecurityGroupNames": { - "shape": "Sp" - }, - "SecurityGroupIds": { - "shape": "Sq" - }, - "Tags": { - "shape": "S3" - }, - "SnapshotArns": { - "shape": "Sr" - }, - "SnapshotName": {}, - "PreferredMaintenanceWindow": {}, - "Port": { - "type": "integer" - }, - "NotificationTopicArn": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "SnapshotRetentionLimit": { - "type": "integer" - }, - "SnapshotWindow": {}, - "AuthToken": {} - } - }, - "output": { - "resultWrapper": "CreateCacheClusterResult", - "type": "structure", - "members": { - "CacheCluster": { - "shape": "Su" - } - } - } - }, - "CreateCacheParameterGroup": { - "input": { - "type": "structure", - "required": [ - "CacheParameterGroupName", - "CacheParameterGroupFamily", - "Description" - ], - "members": { - "CacheParameterGroupName": {}, - "CacheParameterGroupFamily": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreateCacheParameterGroupResult", - "type": "structure", - "members": { - "CacheParameterGroup": { - "shape": "S19" - } - } - } - }, - "CreateCacheSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "CacheSecurityGroupName", - "Description" - ], - "members": { - "CacheSecurityGroupName": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreateCacheSecurityGroupResult", - "type": "structure", - "members": { - "CacheSecurityGroup": { - "shape": "S8" - } - } - } - }, - "CreateCacheSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "CacheSubnetGroupName", - "CacheSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "CacheSubnetGroupName": {}, - "CacheSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1d" - } - } - }, - "output": { - "resultWrapper": "CreateCacheSubnetGroupResult", - "type": "structure", - "members": { - "CacheSubnetGroup": { - "shape": "S1f" - } - } - } - }, - "CreateReplicationGroup": { - "input": { - "type": "structure", - "required": [ - "ReplicationGroupId", - "ReplicationGroupDescription" - ], - "members": { - "ReplicationGroupId": {}, - "ReplicationGroupDescription": {}, - "PrimaryClusterId": {}, - "AutomaticFailoverEnabled": { - "type": "boolean" - }, - "NumCacheClusters": { - "type": "integer" - }, - "PreferredCacheClusterAZs": { - "shape": "Sl" - }, - "NumNodeGroups": { - "type": "integer" - }, - "ReplicasPerNodeGroup": { - "type": "integer" - }, - "NodeGroupConfiguration": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "NodeGroupConfiguration" - } - }, - "CacheNodeType": {}, - "Engine": {}, - "EngineVersion": {}, - "CacheParameterGroupName": {}, - "CacheSubnetGroupName": {}, - "CacheSecurityGroupNames": { - "shape": "Sp" - }, - "SecurityGroupIds": { - "shape": "Sq" - }, - "Tags": { - "shape": "S3" - }, - "SnapshotArns": { - "shape": "Sr" - }, - "SnapshotName": {}, - "PreferredMaintenanceWindow": {}, - "Port": { - "type": "integer" - }, - "NotificationTopicArn": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "SnapshotRetentionLimit": { - "type": "integer" - }, - "SnapshotWindow": {}, - "AuthToken": {} - } - }, - "output": { - "resultWrapper": "CreateReplicationGroupResult", - "type": "structure", - "members": { - "ReplicationGroup": { - "shape": "S1m" - } - } - } - }, - "CreateSnapshot": { - "input": { - "type": "structure", - "required": [ - "SnapshotName" - ], - "members": { - "ReplicationGroupId": {}, - "CacheClusterId": {}, - "SnapshotName": {} - } - }, - "output": { - "resultWrapper": "CreateSnapshotResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "DeleteCacheCluster": { - "input": { - "type": "structure", - "required": [ - "CacheClusterId" - ], - "members": { - "CacheClusterId": {}, - "FinalSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteCacheClusterResult", - "type": "structure", - "members": { - "CacheCluster": { - "shape": "Su" - } - } - } - }, - "DeleteCacheParameterGroup": { - "input": { - "type": "structure", - "required": [ - "CacheParameterGroupName" - ], - "members": { - "CacheParameterGroupName": {} - } - } - }, - "DeleteCacheSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "CacheSecurityGroupName" - ], - "members": { - "CacheSecurityGroupName": {} - } - } - }, - "DeleteCacheSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "CacheSubnetGroupName" - ], - "members": { - "CacheSubnetGroupName": {} - } - } - }, - "DeleteReplicationGroup": { - "input": { - "type": "structure", - "required": [ - "ReplicationGroupId" - ], - "members": { - "ReplicationGroupId": {}, - "RetainPrimaryCluster": { - "type": "boolean" - }, - "FinalSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteReplicationGroupResult", - "type": "structure", - "members": { - "ReplicationGroup": { - "shape": "S1m" - } - } - } - }, - "DeleteSnapshot": { - "input": { - "type": "structure", - "required": [ - "SnapshotName" - ], - "members": { - "SnapshotName": {} - } - }, - "output": { - "resultWrapper": "DeleteSnapshotResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "DescribeCacheClusters": { - "input": { - "type": "structure", - "members": { - "CacheClusterId": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "ShowCacheNodeInfo": { - "type": "boolean" - }, - "ShowCacheClustersNotInReplicationGroups": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeCacheClustersResult", - "type": "structure", - "members": { - "Marker": {}, - "CacheClusters": { - "type": "list", - "member": { - "shape": "Su", - "locationName": "CacheCluster" - } - } - } - } - }, - "DescribeCacheEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "CacheParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeCacheEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "CacheEngineVersions": { - "type": "list", - "member": { - "locationName": "CacheEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "CacheParameterGroupFamily": {}, - "CacheEngineDescription": {}, - "CacheEngineVersionDescription": {} - } - } - } - } - } - }, - "DescribeCacheParameterGroups": { - "input": { - "type": "structure", - "members": { - "CacheParameterGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeCacheParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "CacheParameterGroups": { - "type": "list", - "member": { - "shape": "S19", - "locationName": "CacheParameterGroup" - } - } - } - } - }, - "DescribeCacheParameters": { - "input": { - "type": "structure", - "required": [ - "CacheParameterGroupName" - ], - "members": { - "CacheParameterGroupName": {}, - "Source": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeCacheParametersResult", - "type": "structure", - "members": { - "Marker": {}, - "Parameters": { - "shape": "S2h" - }, - "CacheNodeTypeSpecificParameters": { - "shape": "S2k" - } - } - } - }, - "DescribeCacheSecurityGroups": { - "input": { - "type": "structure", - "members": { - "CacheSecurityGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeCacheSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "CacheSecurityGroups": { - "type": "list", - "member": { - "shape": "S8", - "locationName": "CacheSecurityGroup" - } - } - } - } - }, - "DescribeCacheSubnetGroups": { - "input": { - "type": "structure", - "members": { - "CacheSubnetGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeCacheSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "CacheSubnetGroups": { - "type": "list", - "member": { - "shape": "S1f", - "locationName": "CacheSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "CacheParameterGroupFamily" - ], - "members": { - "CacheParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "CacheParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2h" - }, - "CacheNodeTypeSpecificParameters": { - "shape": "S2k" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeReplicationGroups": { - "input": { - "type": "structure", - "members": { - "ReplicationGroupId": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReplicationGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReplicationGroups": { - "type": "list", - "member": { - "shape": "S1m", - "locationName": "ReplicationGroup" - } - } - } - } - }, - "DescribeReservedCacheNodes": { - "input": { - "type": "structure", - "members": { - "ReservedCacheNodeId": {}, - "ReservedCacheNodesOfferingId": {}, - "CacheNodeType": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedCacheNodesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedCacheNodes": { - "type": "list", - "member": { - "shape": "S38", - "locationName": "ReservedCacheNode" - } - } - } - } - }, - "DescribeReservedCacheNodesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedCacheNodesOfferingId": {}, - "CacheNodeType": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedCacheNodesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedCacheNodesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedCacheNodesOffering", - "type": "structure", - "members": { - "ReservedCacheNodesOfferingId": {}, - "CacheNodeType": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "ProductDescription": {}, - "OfferingType": {}, - "RecurringCharges": { - "shape": "S3a" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeSnapshots": { - "input": { - "type": "structure", - "members": { - "ReplicationGroupId": {}, - "CacheClusterId": {}, - "SnapshotName": {}, - "SnapshotSource": {}, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "ShowNodeGroupConfig": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "Snapshots": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "Snapshot" - } - } - } - } - }, - "ListAllowedNodeTypeModifications": { - "input": { - "type": "structure", - "members": { - "CacheClusterId": {}, - "ReplicationGroupId": {} - } - }, - "output": { - "resultWrapper": "ListAllowedNodeTypeModificationsResult", - "type": "structure", - "members": { - "ScaleUpModifications": { - "type": "list", - "member": {} - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {} - } - }, - "output": { - "shape": "S5", - "resultWrapper": "ListTagsForResourceResult" - } - }, - "ModifyCacheCluster": { - "input": { - "type": "structure", - "required": [ - "CacheClusterId" - ], - "members": { - "CacheClusterId": {}, - "NumCacheNodes": { - "type": "integer" - }, - "CacheNodeIdsToRemove": { - "shape": "Sy" - }, - "AZMode": {}, - "NewAvailabilityZones": { - "shape": "So" - }, - "CacheSecurityGroupNames": { - "shape": "Sp" - }, - "SecurityGroupIds": { - "shape": "Sq" - }, - "PreferredMaintenanceWindow": {}, - "NotificationTopicArn": {}, - "CacheParameterGroupName": {}, - "NotificationTopicStatus": {}, - "ApplyImmediately": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "SnapshotRetentionLimit": { - "type": "integer" - }, - "SnapshotWindow": {}, - "CacheNodeType": {} - } - }, - "output": { - "resultWrapper": "ModifyCacheClusterResult", - "type": "structure", - "members": { - "CacheCluster": { - "shape": "Su" - } - } - } - }, - "ModifyCacheParameterGroup": { - "input": { - "type": "structure", - "required": [ - "CacheParameterGroupName", - "ParameterNameValues" - ], - "members": { - "CacheParameterGroupName": {}, - "ParameterNameValues": { - "shape": "S3q" - } - } - }, - "output": { - "shape": "S3s", - "resultWrapper": "ModifyCacheParameterGroupResult" - } - }, - "ModifyCacheSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "CacheSubnetGroupName" - ], - "members": { - "CacheSubnetGroupName": {}, - "CacheSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1d" - } - } - }, - "output": { - "resultWrapper": "ModifyCacheSubnetGroupResult", - "type": "structure", - "members": { - "CacheSubnetGroup": { - "shape": "S1f" - } - } - } - }, - "ModifyReplicationGroup": { - "input": { - "type": "structure", - "required": [ - "ReplicationGroupId" - ], - "members": { - "ReplicationGroupId": {}, - "ReplicationGroupDescription": {}, - "PrimaryClusterId": {}, - "SnapshottingClusterId": {}, - "AutomaticFailoverEnabled": { - "type": "boolean" - }, - "CacheSecurityGroupNames": { - "shape": "Sp" - }, - "SecurityGroupIds": { - "shape": "Sq" - }, - "PreferredMaintenanceWindow": {}, - "NotificationTopicArn": {}, - "CacheParameterGroupName": {}, - "NotificationTopicStatus": {}, - "ApplyImmediately": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "SnapshotRetentionLimit": { - "type": "integer" - }, - "SnapshotWindow": {}, - "CacheNodeType": {}, - "NodeGroupId": {} - } - }, - "output": { - "resultWrapper": "ModifyReplicationGroupResult", - "type": "structure", - "members": { - "ReplicationGroup": { - "shape": "S1m" - } - } - } - }, - "PurchaseReservedCacheNodesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedCacheNodesOfferingId" - ], - "members": { - "ReservedCacheNodesOfferingId": {}, - "ReservedCacheNodeId": {}, - "CacheNodeCount": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedCacheNodesOfferingResult", - "type": "structure", - "members": { - "ReservedCacheNode": { - "shape": "S38" - } - } - } - }, - "RebootCacheCluster": { - "input": { - "type": "structure", - "required": [ - "CacheClusterId", - "CacheNodeIdsToReboot" - ], - "members": { - "CacheClusterId": {}, - "CacheNodeIdsToReboot": { - "shape": "Sy" - } - } - }, - "output": { - "resultWrapper": "RebootCacheClusterResult", - "type": "structure", - "members": { - "CacheCluster": { - "shape": "Su" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "shape": "S5", - "resultWrapper": "RemoveTagsFromResourceResult" - } - }, - "ResetCacheParameterGroup": { - "input": { - "type": "structure", - "required": [ - "CacheParameterGroupName" - ], - "members": { - "CacheParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "ParameterNameValues": { - "shape": "S3q" - } - } - }, - "output": { - "shape": "S3s", - "resultWrapper": "ResetCacheParameterGroupResult" - } - }, - "RevokeCacheSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "CacheSecurityGroupName", - "EC2SecurityGroupName", - "EC2SecurityGroupOwnerId" - ], - "members": { - "CacheSecurityGroupName": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeCacheSecurityGroupIngressResult", - "type": "structure", - "members": { - "CacheSecurityGroup": { - "shape": "S8" - } - } - } - }, - "TestFailover": { - "input": { - "type": "structure", - "required": [ - "ReplicationGroupId", - "NodeGroupId" - ], - "members": { - "ReplicationGroupId": {}, - "NodeGroupId": {} - } - }, - "output": { - "resultWrapper": "TestFailoverResult", - "type": "structure", - "members": { - "ReplicationGroup": { - "shape": "S1m" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S5": { - "type": "structure", - "members": { - "TagList": { - "shape": "S3" - } - } - }, - "S8": { - "type": "structure", - "members": { - "OwnerId": {}, - "CacheSecurityGroupName": {}, - "Description": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupOwnerId": {} - } - } - } - }, - "wrapper": true - }, - "Sd": { - "type": "structure", - "members": { - "SnapshotName": {}, - "ReplicationGroupId": {}, - "ReplicationGroupDescription": {}, - "CacheClusterId": {}, - "SnapshotStatus": {}, - "SnapshotSource": {}, - "CacheNodeType": {}, - "Engine": {}, - "EngineVersion": {}, - "NumCacheNodes": { - "type": "integer" - }, - "PreferredAvailabilityZone": {}, - "CacheClusterCreateTime": { - "type": "timestamp" - }, - "PreferredMaintenanceWindow": {}, - "TopicArn": {}, - "Port": { - "type": "integer" - }, - "CacheParameterGroupName": {}, - "CacheSubnetGroupName": {}, - "VpcId": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "SnapshotRetentionLimit": { - "type": "integer" - }, - "SnapshotWindow": {}, - "NumNodeGroups": { - "type": "integer" - }, - "AutomaticFailover": {}, - "NodeSnapshots": { - "type": "list", - "member": { - "locationName": "NodeSnapshot", - "type": "structure", - "members": { - "CacheClusterId": {}, - "NodeGroupId": {}, - "CacheNodeId": {}, - "NodeGroupConfiguration": { - "shape": "Sk" - }, - "CacheSize": {}, - "CacheNodeCreateTime": { - "type": "timestamp" - }, - "SnapshotCreateTime": { - "type": "timestamp" - } - }, - "wrapper": true - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "Slots": {}, - "ReplicaCount": { - "type": "integer" - }, - "PrimaryAvailabilityZone": {}, - "ReplicaAvailabilityZones": { - "shape": "Sl" - } - } - }, - "Sl": { - "type": "list", - "member": { - "locationName": "AvailabilityZone" - } - }, - "So": { - "type": "list", - "member": { - "locationName": "PreferredAvailabilityZone" - } - }, - "Sp": { - "type": "list", - "member": { - "locationName": "CacheSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "SecurityGroupId" - } - }, - "Sr": { - "type": "list", - "member": { - "locationName": "SnapshotArn" - } - }, - "Su": { - "type": "structure", - "members": { - "CacheClusterId": {}, - "ConfigurationEndpoint": { - "shape": "Sv" - }, - "ClientDownloadLandingPage": {}, - "CacheNodeType": {}, - "Engine": {}, - "EngineVersion": {}, - "CacheClusterStatus": {}, - "NumCacheNodes": { - "type": "integer" - }, - "PreferredAvailabilityZone": {}, - "CacheClusterCreateTime": { - "type": "timestamp" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "NumCacheNodes": { - "type": "integer" - }, - "CacheNodeIdsToRemove": { - "shape": "Sy" - }, - "EngineVersion": {}, - "CacheNodeType": {} - } - }, - "NotificationConfiguration": { - "type": "structure", - "members": { - "TopicArn": {}, - "TopicStatus": {} - } - }, - "CacheSecurityGroups": { - "type": "list", - "member": { - "locationName": "CacheSecurityGroup", - "type": "structure", - "members": { - "CacheSecurityGroupName": {}, - "Status": {} - } - } - }, - "CacheParameterGroup": { - "type": "structure", - "members": { - "CacheParameterGroupName": {}, - "ParameterApplyStatus": {}, - "CacheNodeIdsToReboot": { - "shape": "Sy" - } - } - }, - "CacheSubnetGroupName": {}, - "CacheNodes": { - "type": "list", - "member": { - "locationName": "CacheNode", - "type": "structure", - "members": { - "CacheNodeId": {}, - "CacheNodeStatus": {}, - "CacheNodeCreateTime": { - "type": "timestamp" - }, - "Endpoint": { - "shape": "Sv" - }, - "ParameterGroupStatus": {}, - "SourceCacheNodeId": {}, - "CustomerAvailabilityZone": {} - } - } - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "SecurityGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SecurityGroupId": {}, - "Status": {} - } - } - }, - "ReplicationGroupId": {}, - "SnapshotRetentionLimit": { - "type": "integer" - }, - "SnapshotWindow": {} - }, - "wrapper": true - }, - "Sv": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "Sy": { - "type": "list", - "member": { - "locationName": "CacheNodeId" - } - }, - "S19": { - "type": "structure", - "members": { - "CacheParameterGroupName": {}, - "CacheParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "S1d": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1f": { - "type": "structure", - "members": { - "CacheSubnetGroupName": {}, - "CacheSubnetGroupDescription": {}, - "VpcId": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "type": "structure", - "members": { - "Name": {} - }, - "wrapper": true - } - } - } - } - }, - "wrapper": true - }, - "S1m": { - "type": "structure", - "members": { - "ReplicationGroupId": {}, - "Description": {}, - "Status": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "PrimaryClusterId": {}, - "AutomaticFailoverStatus": {} - } - }, - "MemberClusters": { - "type": "list", - "member": { - "locationName": "ClusterId" - } - }, - "NodeGroups": { - "type": "list", - "member": { - "locationName": "NodeGroup", - "type": "structure", - "members": { - "NodeGroupId": {}, - "Status": {}, - "PrimaryEndpoint": { - "shape": "Sv" - }, - "Slots": {}, - "NodeGroupMembers": { - "type": "list", - "member": { - "locationName": "NodeGroupMember", - "type": "structure", - "members": { - "CacheClusterId": {}, - "CacheNodeId": {}, - "ReadEndpoint": { - "shape": "Sv" - }, - "PreferredAvailabilityZone": {}, - "CurrentRole": {} - } - } - } - } - } - }, - "SnapshottingClusterId": {}, - "AutomaticFailover": {}, - "ConfigurationEndpoint": { - "shape": "Sv" - }, - "SnapshotRetentionLimit": { - "type": "integer" - }, - "SnapshotWindow": {}, - "ClusterEnabled": { - "type": "boolean" - }, - "CacheNodeType": {} - }, - "wrapper": true - }, - "S2h": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ChangeType": {} - } - } - }, - "S2k": { - "type": "list", - "member": { - "locationName": "CacheNodeTypeSpecificParameter", - "type": "structure", - "members": { - "ParameterName": {}, - "Description": {}, - "Source": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "CacheNodeTypeSpecificValues": { - "type": "list", - "member": { - "locationName": "CacheNodeTypeSpecificValue", - "type": "structure", - "members": { - "CacheNodeType": {}, - "Value": {} - } - } - }, - "ChangeType": {} - } - } - }, - "S38": { - "type": "structure", - "members": { - "ReservedCacheNodeId": {}, - "ReservedCacheNodesOfferingId": {}, - "CacheNodeType": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CacheNodeCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "State": {}, - "RecurringCharges": { - "shape": "S3a" - } - }, - "wrapper": true - }, - "S3a": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S3q": { - "type": "list", - "member": { - "locationName": "ParameterNameValue", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {} - } - } - }, - "S3s": { - "type": "structure", - "members": { - "CacheParameterGroupName": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json b/src/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json deleted file mode 100644 index 44f5926..0000000 --- a/src/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "pagination": { - "DescribeCacheClusters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "CacheClusters" - }, - "DescribeCacheEngineVersions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "CacheEngineVersions" - }, - "DescribeCacheParameterGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "CacheParameterGroups" - }, - "DescribeCacheParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Parameters" - }, - "DescribeCacheSecurityGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "CacheSecurityGroups" - }, - "DescribeCacheSubnetGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "CacheSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "EngineDefaults.Marker", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEvents": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Events" - }, - "DescribeReplicationGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReplicationGroups" - }, - "DescribeReservedCacheNodes": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedCacheNodes" - }, - "DescribeReservedCacheNodesOfferings": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedCacheNodesOfferings" - }, - "DescribeSnapshots": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Snapshots" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticache-2015-02-02.waiters2.json b/src/node_modules/aws-sdk/apis/elasticache-2015-02-02.waiters2.json deleted file mode 100644 index c177d7b..0000000 --- a/src/node_modules/aws-sdk/apis/elasticache-2015-02-02.waiters2.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "version":2, - "waiters":{ - "CacheClusterAvailable":{ - "acceptors":[ - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"available", - "matcher":"pathAll", - "state":"success" - }, - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"deleted", - "matcher":"pathAny", - "state":"failure" - }, - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"deleting", - "matcher":"pathAny", - "state":"failure" - }, - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"incompatible-network", - "matcher":"pathAny", - "state":"failure" - }, - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"restore-failed", - "matcher":"pathAny", - "state":"failure" - } - ], - "delay":15, - "description":"Wait until ElastiCache cluster is available.", - "maxAttempts":40, - "operation":"DescribeCacheClusters" - }, - "CacheClusterDeleted":{ - "acceptors":[ - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"deleted", - "matcher":"pathAll", - "state":"success" - }, - { - "expected":"CacheClusterNotFound", - "matcher":"error", - "state":"success" - }, - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"available", - "matcher":"pathAny", - "state":"failure" - }, - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"creating", - "matcher":"pathAny", - "state":"failure" - }, - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"incompatible-network", - "matcher":"pathAny", - "state":"failure" - }, - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"modifying", - "matcher":"pathAny", - "state":"failure" - }, - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"restore-failed", - "matcher":"pathAny", - "state":"failure" - }, - { - "argument":"CacheClusters[].CacheClusterStatus", - "expected":"snapshotting", - "matcher":"pathAny", - "state":"failure" - } - ], - "delay":15, - "description":"Wait until ElastiCache cluster is deleted.", - "maxAttempts":40, - "operation":"DescribeCacheClusters" - }, - "ReplicationGroupAvailable":{ - "acceptors":[ - { - "argument":"ReplicationGroups[].Status", - "expected":"available", - "matcher":"pathAll", - "state":"success" - }, - { - "argument":"ReplicationGroups[].Status", - "expected":"deleted", - "matcher":"pathAny", - "state":"failure" - } - ], - "delay":15, - "description":"Wait until ElastiCache replication group is available.", - "maxAttempts":40, - "operation":"DescribeReplicationGroups" - }, - "ReplicationGroupDeleted":{ - "acceptors":[ - { - "argument":"ReplicationGroups[].Status", - "expected":"deleted", - "matcher":"pathAll", - "state":"success" - }, - { - "argument":"ReplicationGroups[].Status", - "expected":"available", - "matcher":"pathAny", - "state":"failure" - }, - { - "expected":"ReplicationGroupNotFoundFault", - "matcher":"error", - "state":"success" - } - ], - "delay":15, - "description":"Wait until ElastiCache replication group is deleted.", - "maxAttempts":40, - "operation":"DescribeReplicationGroups" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.examples.json b/src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.examples.json deleted file mode 100644 index 0fded62..0000000 --- a/src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.examples.json +++ /dev/null @@ -1,1109 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AbortEnvironmentUpdate": [ - { - "input": { - "EnvironmentName": "my-env" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following code aborts a running application version deployment for an environment named my-env:", - "id": "to-abort-a-deployment-1456267848227", - "title": "To abort a deployment" - } - ], - "CheckDNSAvailability": [ - { - "input": { - "CNAMEPrefix": "my-cname" - }, - "output": { - "Available": true, - "FullyQualifiedCNAME": "my-cname.us-west-2.elasticbeanstalk.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation checks the availability of the subdomain my-cname:", - "id": "to-check-the-availability-of-a-cname-1456268589537", - "title": "To check the availability of a CNAME" - } - ], - "CreateApplication": [ - { - "input": { - "ApplicationName": "my-app", - "Description": "my application" - }, - "output": { - "Application": { - "ApplicationName": "my-app", - "ConfigurationTemplates": [ - - ], - "DateCreated": "2015-02-12T18:32:21.181Z", - "DateUpdated": "2015-02-12T18:32:21.181Z", - "Description": "my application" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation creates a new application named my-app:", - "id": "to-create-a-new-application-1456268895683", - "title": "To create a new application" - } - ], - "CreateApplicationVersion": [ - { - "input": { - "ApplicationName": "my-app", - "AutoCreateApplication": true, - "Description": "my-app-v1", - "Process": true, - "SourceBundle": { - "S3Bucket": "my-bucket", - "S3Key": "sample.war" - }, - "VersionLabel": "v1" - }, - "output": { - "ApplicationVersion": { - "ApplicationName": "my-app", - "DateCreated": "2015-02-03T23:01:25.412Z", - "DateUpdated": "2015-02-03T23:01:25.412Z", - "Description": "my-app-v1", - "SourceBundle": { - "S3Bucket": "my-bucket", - "S3Key": "sample.war" - }, - "VersionLabel": "v1" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation creates a new version (v1) of an application named my-app:", - "id": "to-create-a-new-application-1456268895683", - "title": "To create a new application" - } - ], - "CreateConfigurationTemplate": [ - { - "input": { - "ApplicationName": "my-app", - "EnvironmentId": "e-rpqsewtp2j", - "TemplateName": "my-app-v1" - }, - "output": { - "ApplicationName": "my-app", - "DateCreated": "2015-08-12T18:40:39Z", - "DateUpdated": "2015-08-12T18:40:39Z", - "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", - "TemplateName": "my-app-v1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation creates a configuration template named my-app-v1 from the settings applied to an environment with the id e-rpqsewtp2j:", - "id": "to-create-a-configuration-template-1456269283586", - "title": "To create a configuration template" - } - ], - "CreateEnvironment": [ - { - "input": { - "ApplicationName": "my-app", - "CNAMEPrefix": "my-app", - "EnvironmentName": "my-env", - "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", - "VersionLabel": "v1" - }, - "output": { - "ApplicationName": "my-app", - "CNAME": "my-app.elasticbeanstalk.com", - "DateCreated": "2015-02-03T23:04:54.479Z", - "DateUpdated": "2015-02-03T23:04:54.479Z", - "EnvironmentId": "e-izqpassy4h", - "EnvironmentName": "my-env", - "Health": "Grey", - "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", - "Status": "Launching", - "Tier": { - "Name": "WebServer", - "Type": "Standard", - "Version": " " - }, - "VersionLabel": "v1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation creates a new environment for version v1 of a java application named my-app:", - "id": "to-create-a-new-environment-for-an-application-1456269380396", - "title": "To create a new environment for an application" - } - ], - "CreateStorageLocation": [ - { - "output": { - "S3Bucket": "elasticbeanstalk-us-west-2-0123456789012" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation creates a new environment for version v1 of a java application named my-app:", - "id": "to-create-a-new-environment-for-an-application-1456269380396", - "title": "To create a new environment for an application" - } - ], - "DeleteApplication": [ - { - "input": { - "ApplicationName": "my-app" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation deletes an application named my-app:", - "id": "to-delete-an-application-1456269699366", - "title": "To delete an application" - } - ], - "DeleteApplicationVersion": [ - { - "input": { - "ApplicationName": "my-app", - "DeleteSourceBundle": true, - "VersionLabel": "22a0-stage-150819_182129" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation deletes an application version named 22a0-stage-150819_182129 for an application named my-app:", - "id": "to-delete-an-application-version-1456269792956", - "title": "To delete an application version" - } - ], - "DeleteConfigurationTemplate": [ - { - "input": { - "ApplicationName": "my-app", - "TemplateName": "my-template" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation deletes a configuration template named my-template for an application named my-app:", - "id": "to-delete-a-configuration-template-1456269836701", - "title": "To delete a configuration template" - } - ], - "DeleteEnvironmentConfiguration": [ - { - "input": { - "ApplicationName": "my-app", - "EnvironmentName": "my-env" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation deletes a draft configuration for an environment named my-env:", - "id": "to-delete-a-draft-configuration-1456269886654", - "title": "To delete a draft configuration" - } - ], - "DescribeApplicationVersions": [ - { - "input": { - "ApplicationName": "my-app", - "VersionLabels": [ - "v2" - ] - }, - "output": { - "ApplicationVersions": [ - { - "ApplicationName": "my-app", - "DateCreated": "2015-07-23T01:32:26.079Z", - "DateUpdated": "2015-07-23T01:32:26.079Z", - "Description": "update cover page", - "SourceBundle": { - "S3Bucket": "elasticbeanstalk-us-west-2-015321684451", - "S3Key": "my-app/5026-stage-150723_224258.war" - }, - "VersionLabel": "v2" - }, - { - "ApplicationName": "my-app", - "DateCreated": "2015-07-23T22:26:10.816Z", - "DateUpdated": "2015-07-23T22:26:10.816Z", - "Description": "initial version", - "SourceBundle": { - "S3Bucket": "elasticbeanstalk-us-west-2-015321684451", - "S3Key": "my-app/5026-stage-150723_222618.war" - }, - "VersionLabel": "v1" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation retrieves information about an application version labeled v2:", - "id": "to-view-information-about-an-application-version-1456269947428", - "title": "To view information about an application version" - } - ], - "DescribeApplications": [ - { - "input": { - }, - "output": { - "Applications": [ - { - "ApplicationName": "ruby", - "ConfigurationTemplates": [ - - ], - "DateCreated": "2015-08-13T21:05:44.376Z", - "DateUpdated": "2015-08-13T21:05:44.376Z", - "Versions": [ - "Sample Application" - ] - }, - { - "ApplicationName": "pythonsample", - "ConfigurationTemplates": [ - - ], - "DateCreated": "2015-08-13T19:05:43.637Z", - "DateUpdated": "2015-08-13T19:05:43.637Z", - "Description": "Application created from the EB CLI using \"eb init\"", - "Versions": [ - "Sample Application" - ] - }, - { - "ApplicationName": "nodejs-example", - "ConfigurationTemplates": [ - - ], - "DateCreated": "2015-08-06T17:50:02.486Z", - "DateUpdated": "2015-08-06T17:50:02.486Z", - "Versions": [ - "add elasticache", - "First Release" - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation retrieves information about applications in the current region:", - "id": "to-view-a-list-of-applications-1456270027373", - "title": "To view a list of applications" - } - ], - "DescribeConfigurationOptions": [ - { - "input": { - "ApplicationName": "my-app", - "EnvironmentName": "my-env" - }, - "output": { - "Options": [ - { - "ChangeSeverity": "NoInterruption", - "DefaultValue": "30", - "MaxValue": 300, - "MinValue": 5, - "Name": "Interval", - "Namespace": "aws:elb:healthcheck", - "UserDefined": false, - "ValueType": "Scalar" - }, - { - "ChangeSeverity": "NoInterruption", - "DefaultValue": "2000000", - "MinValue": 0, - "Name": "LowerThreshold", - "Namespace": "aws:autoscaling:trigger", - "UserDefined": false, - "ValueType": "Scalar" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation retrieves descriptions of all available configuration options for an environment named my-env:", - "id": "to-view-configuration-options-for-an-environment-1456276763917", - "title": "To view configuration options for an environment" - } - ], - "DescribeConfigurationSettings": [ - { - "input": { - "ApplicationName": "my-app", - "EnvironmentName": "my-env" - }, - "output": { - "ConfigurationSettings": [ - { - "ApplicationName": "my-app", - "DateCreated": "2015-08-13T19:16:25Z", - "DateUpdated": "2015-08-13T23:30:07Z", - "DeploymentStatus": "deployed", - "Description": "Environment created from the EB CLI using \"eb create\"", - "EnvironmentName": "my-env", - "OptionSettings": [ - { - "Namespace": "aws:autoscaling:asg", - "OptionName": "Availability Zones", - "ResourceName": "AWSEBAutoScalingGroup", - "Value": "Any" - }, - { - "Namespace": "aws:autoscaling:asg", - "OptionName": "Cooldown", - "ResourceName": "AWSEBAutoScalingGroup", - "Value": "360" - }, - { - "Namespace": "aws:elb:policies", - "OptionName": "ConnectionDrainingTimeout", - "ResourceName": "AWSEBLoadBalancer", - "Value": "20" - }, - { - "Namespace": "aws:elb:policies", - "OptionName": "ConnectionSettingIdleTimeout", - "ResourceName": "AWSEBLoadBalancer", - "Value": "60" - } - ], - "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8" - } - ] - }, - "comments": { - "input": { - }, - "output": { - "abbreviated": "Output is abbreviated" - } - }, - "description": "The following operation retrieves configuration settings for an environment named my-env:", - "id": "to-view-configurations-settings-for-an-environment-1456276924537", - "title": "To view configurations settings for an environment" - } - ], - "DescribeEnvironmentHealth": [ - { - "input": { - "AttributeNames": [ - "All" - ], - "EnvironmentName": "my-env" - }, - "output": { - "ApplicationMetrics": { - "Duration": 10, - "Latency": { - "P10": 0.001, - "P50": 0.001, - "P75": 0.002, - "P85": 0.003, - "P90": 0.003, - "P95": 0.004, - "P99": 0.004, - "P999": 0.004 - }, - "RequestCount": 45, - "StatusCodes": { - "Status2xx": 45, - "Status3xx": 0, - "Status4xx": 0, - "Status5xx": 0 - } - }, - "Causes": [ - - ], - "Color": "Green", - "EnvironmentName": "my-env", - "HealthStatus": "Ok", - "InstancesHealth": { - "Degraded": 0, - "Info": 0, - "NoData": 0, - "Ok": 1, - "Pending": 0, - "Severe": 0, - "Unknown": 0, - "Warning": 0 - }, - "RefreshedAt": "2015-08-20T21:09:18Z" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation retrieves overall health information for an environment named my-env:", - "id": "to-view-environment-health-1456277109510", - "title": "To view environment health" - } - ], - "DescribeEnvironmentResources": [ - { - "input": { - "EnvironmentName": "my-env" - }, - "output": { - "EnvironmentResources": { - "AutoScalingGroups": [ - { - "Name": "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingGroup-QSB2ZO88SXZT" - } - ], - "EnvironmentName": "my-env", - "Instances": [ - { - "Id": "i-0c91c786" - } - ], - "LaunchConfigurations": [ - { - "Name": "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingLaunchConfiguration-1UUVQIBC96TQ2" - } - ], - "LoadBalancers": [ - { - "Name": "awseb-e-q-AWSEBLoa-1EEPZ0K98BIF0" - } - ], - "Queues": [ - - ], - "Triggers": [ - - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation retrieves information about resources in an environment named my-env:", - "id": "to-view-information-about-the-aws-resources-in-your-environment-1456277206232", - "title": "To view information about the AWS resources in your environment" - } - ], - "DescribeEnvironments": [ - { - "input": { - "EnvironmentNames": [ - "my-env" - ] - }, - "output": { - "Environments": [ - { - "AbortableOperationInProgress": false, - "ApplicationName": "my-app", - "CNAME": "my-env.elasticbeanstalk.com", - "DateCreated": "2015-08-07T20:48:49.599Z", - "DateUpdated": "2015-08-12T18:16:55.019Z", - "EndpointURL": "awseb-e-w-AWSEBLoa-1483140XB0Q4L-109QXY8121.us-west-2.elb.amazonaws.com", - "EnvironmentId": "e-rpqsewtp2j", - "EnvironmentName": "my-env", - "Health": "Green", - "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", - "Status": "Ready", - "Tier": { - "Name": "WebServer", - "Type": "Standard", - "Version": " " - }, - "VersionLabel": "7f58-stage-150812_025409" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation retrieves information about an environment named my-env:", - "id": "to-view-information-about-an-environment-1456277288662", - "title": "To view information about an environment" - } - ], - "DescribeEvents": [ - { - "input": { - "EnvironmentName": "my-env" - }, - "output": { - "Events": [ - { - "ApplicationName": "my-app", - "EnvironmentName": "my-env", - "EventDate": "2015-08-20T07:06:53.535Z", - "Message": "Environment health has transitioned from Info to Ok.", - "Severity": "INFO" - }, - { - "ApplicationName": "my-app", - "EnvironmentName": "my-env", - "EventDate": "2015-08-20T07:06:02.049Z", - "Message": "Environment update completed successfully.", - "RequestId": "b7f3960b-4709-11e5-ba1e-07e16200da41", - "Severity": "INFO" - }, - { - "ApplicationName": "my-app", - "EnvironmentName": "my-env", - "EventDate": "2015-08-13T19:16:27.561Z", - "Message": "Using elasticbeanstalk-us-west-2-012445113685 as Amazon S3 storage bucket for environment data.", - "RequestId": "ca8dfbf6-41ef-11e5-988b-651aa638f46b", - "Severity": "INFO" - }, - { - "ApplicationName": "my-app", - "EnvironmentName": "my-env", - "EventDate": "2015-08-13T19:16:26.581Z", - "Message": "createEnvironment is starting.", - "RequestId": "cdfba8f6-41ef-11e5-988b-65638f41aa6b", - "Severity": "INFO" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation retrieves events for an environment named my-env:", - "id": "to-view-events-for-an-environment-1456277367589", - "title": "To view events for an environment" - } - ], - "DescribeInstancesHealth": [ - { - "input": { - "AttributeNames": [ - "All" - ], - "EnvironmentName": "my-env" - }, - "output": { - "InstanceHealthList": [ - { - "ApplicationMetrics": { - "Duration": 10, - "Latency": { - "P10": 0, - "P50": 0.001, - "P75": 0.002, - "P85": 0.003, - "P90": 0.004, - "P95": 0.005, - "P99": 0.006, - "P999": 0.006 - }, - "RequestCount": 48, - "StatusCodes": { - "Status2xx": 47, - "Status3xx": 0, - "Status4xx": 1, - "Status5xx": 0 - } - }, - "Causes": [ - - ], - "Color": "Green", - "HealthStatus": "Ok", - "InstanceId": "i-08691cc7", - "LaunchedAt": "2015-08-13T19:17:09Z", - "System": { - "CPUUtilization": { - "IOWait": 0.2, - "IRQ": 0, - "Idle": 97.8, - "Nice": 0.1, - "SoftIRQ": 0.1, - "System": 0.3, - "User": 1.5 - }, - "LoadAverage": [ - 0, - 0.02, - 0.05 - ] - } - } - ], - "RefreshedAt": "2015-08-20T21:09:08Z" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation retrieves health information for instances in an environment named my-env:", - "id": "to-view-environment-health-1456277424757", - "title": "To view environment health" - } - ], - "ListAvailableSolutionStacks": [ - { - "output": { - "SolutionStackDetails": [ - { - "PermittedFileTypes": [ - "zip" - ], - "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Node.js" - } - ], - "SolutionStacks": [ - "64bit Amazon Linux 2015.03 v2.0.0 running Node.js", - "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.6", - "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.5", - "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.4", - "64bit Amazon Linux 2015.03 v2.0.0 running Python 3.4", - "64bit Amazon Linux 2015.03 v2.0.0 running Python 2.7", - "64bit Amazon Linux 2015.03 v2.0.0 running Python", - "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.2 (Puma)", - "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.2 (Passenger Standalone)", - "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.1 (Puma)", - "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.1 (Passenger Standalone)", - "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.0 (Puma)", - "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.0 (Passenger Standalone)", - "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 1.9.3", - "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", - "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 7 Java 7", - "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 7 Java 6", - "64bit Windows Server Core 2012 R2 running IIS 8.5", - "64bit Windows Server 2012 R2 running IIS 8.5", - "64bit Windows Server 2012 running IIS 8", - "64bit Windows Server 2008 R2 running IIS 7.5", - "64bit Amazon Linux 2015.03 v2.0.0 running Docker 1.6.2", - "64bit Amazon Linux 2015.03 v2.0.0 running Multi-container Docker 1.6.2 (Generic)", - "64bit Debian jessie v2.0.0 running GlassFish 4.1 Java 8 (Preconfigured - Docker)", - "64bit Debian jessie v2.0.0 running GlassFish 4.0 Java 7 (Preconfigured - Docker)", - "64bit Debian jessie v2.0.0 running Go 1.4 (Preconfigured - Docker)", - "64bit Debian jessie v2.0.0 running Go 1.3 (Preconfigured - Docker)", - "64bit Debian jessie v2.0.0 running Python 3.4 (Preconfigured - Docker)" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation lists solution stacks for all currently available platform configurations and any that you have used in the past:", - "id": "to-view-solution-stacks-1456277504811", - "title": "To view solution stacks" - } - ], - "RebuildEnvironment": [ - { - "input": { - "EnvironmentName": "my-env" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation terminates and recreates the resources in an environment named my-env:", - "id": "to-rebuild-an-environment-1456277600918", - "title": "To rebuild an environment" - } - ], - "RequestEnvironmentInfo": [ - { - "input": { - "EnvironmentName": "my-env", - "InfoType": "tail" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation requests logs from an environment named my-env:", - "id": "to-request-tailed-logs-1456277657045", - "title": "To request tailed logs" - } - ], - "RestartAppServer": [ - { - "input": { - "EnvironmentName": "my-env" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation restarts application servers on all instances in an environment named my-env:", - "id": "to-restart-application-servers-1456277739302", - "title": "To restart application servers" - } - ], - "RetrieveEnvironmentInfo": [ - { - "input": { - "EnvironmentName": "my-env", - "InfoType": "tail" - }, - "output": { - "EnvironmentInfo": [ - { - "Ec2InstanceId": "i-09c1c867", - "InfoType": "tail", - "Message": "https://elasticbeanstalk-us-west-2-0123456789012.s3.amazonaws.com/resources/environments/logs/tail/e-fyqyju3yjs/i-09c1c867/TailLogs-1440109397703.out?AWSAccessKeyId=AKGPT4J56IAJ2EUBL5CQ&Expires=1440195891&Signature=n%2BEalOV6A2HIOx4Rcfb7LT16bBM%3D", - "SampleTimestamp": "2015-08-20T22:23:17.703Z" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation retrieves a link to logs from an environment named my-env:", - "id": "to-retrieve-tailed-logs-1456277792734", - "title": "To retrieve tailed logs" - } - ], - "SwapEnvironmentCNAMEs": [ - { - "input": { - "DestinationEnvironmentName": "my-env-green", - "SourceEnvironmentName": "my-env-blue" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation swaps the assigned subdomains of two environments:", - "id": "to-swap-environment-cnames-1456277839438", - "title": "To swap environment CNAMES" - } - ], - "TerminateEnvironment": [ - { - "input": { - "EnvironmentName": "my-env" - }, - "output": { - "AbortableOperationInProgress": false, - "ApplicationName": "my-app", - "CNAME": "my-env.elasticbeanstalk.com", - "DateCreated": "2015-08-12T18:52:53.622Z", - "DateUpdated": "2015-08-12T19:05:54.744Z", - "EndpointURL": "awseb-e-f-AWSEBLoa-1I9XUMP4-8492WNUP202574.us-west-2.elb.amazonaws.com", - "EnvironmentId": "e-fh2eravpns", - "EnvironmentName": "my-env", - "Health": "Grey", - "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", - "Status": "Terminating", - "Tier": { - "Name": "WebServer", - "Type": "Standard", - "Version": " " - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation terminates an Elastic Beanstalk environment named my-env:", - "id": "to-terminate-an-environment-1456277888556", - "title": "To terminate an environment" - } - ], - "UpdateApplication": [ - { - "input": { - "ApplicationName": "my-app", - "Description": "my Elastic Beanstalk application" - }, - "output": { - "Application": { - "ApplicationName": "my-app", - "ConfigurationTemplates": [ - - ], - "DateCreated": "2015-08-13T19:15:50.449Z", - "DateUpdated": "2015-08-20T22:34:56.195Z", - "Description": "my Elastic Beanstalk application", - "Versions": [ - "2fba-stage-150819_234450", - "bf07-stage-150820_214945", - "93f8", - "fd7c-stage-150820_000431", - "22a0-stage-150819_185942" - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation updates the description of an application named my-app:", - "id": "to-change-an-applications-description-1456277957075", - "title": "To change an application's description" - } - ], - "UpdateApplicationVersion": [ - { - "input": { - "ApplicationName": "my-app", - "Description": "new description", - "VersionLabel": "22a0-stage-150819_185942" - }, - "output": { - "ApplicationVersion": { - "ApplicationName": "my-app", - "DateCreated": "2015-08-19T18:59:17.646Z", - "DateUpdated": "2015-08-20T22:53:28.871Z", - "Description": "new description", - "SourceBundle": { - "S3Bucket": "elasticbeanstalk-us-west-2-0123456789012", - "S3Key": "my-app/22a0-stage-150819_185942.war" - }, - "VersionLabel": "22a0-stage-150819_185942" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation updates the description of an application version named 22a0-stage-150819_185942:", - "id": "to-change-an-application-versions-description-1456278019237", - "title": "To change an application version's description" - } - ], - "UpdateConfigurationTemplate": [ - { - "input": { - "ApplicationName": "my-app", - "OptionsToRemove": [ - { - "Namespace": "aws:elasticbeanstalk:healthreporting:system", - "OptionName": "ConfigDocument" - } - ], - "TemplateName": "my-template" - }, - "output": { - "ApplicationName": "my-app", - "DateCreated": "2015-08-20T22:39:31Z", - "DateUpdated": "2015-08-20T22:43:11Z", - "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", - "TemplateName": "my-template" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation removes the configured CloudWatch custom health metrics configuration ConfigDocument from a saved configuration template named my-template:", - "id": "to-update-a-configuration-template-1456278075300", - "title": "To update a configuration template" - } - ], - "UpdateEnvironment": [ - { - "input": { - "EnvironmentName": "my-env", - "VersionLabel": "v2" - }, - "output": { - "ApplicationName": "my-app", - "CNAME": "my-env.elasticbeanstalk.com", - "DateCreated": "2015-02-03T23:04:54.453Z", - "DateUpdated": "2015-02-03T23:12:29.119Z", - "EndpointURL": "awseb-e-i-AWSEBLoa-1RDLX6TC9VUAO-0123456789.us-west-2.elb.amazonaws.com", - "EnvironmentId": "e-szqipays4h", - "EnvironmentName": "my-env", - "Health": "Grey", - "SolutionStackName": "64bit Amazon Linux running Tomcat 7", - "Status": "Updating", - "Tier": { - "Name": "WebServer", - "Type": "Standard", - "Version": " " - }, - "VersionLabel": "v2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation updates an environment named \"my-env\" to version \"v2\" of the application to which it belongs:", - "id": "to-update-an-environment-to-a-new-version-1456278210718", - "title": "To update an environment to a new version" - }, - { - "input": { - "EnvironmentName": "my-env", - "OptionSettings": [ - { - "Namespace": "aws:elb:healthcheck", - "OptionName": "Interval", - "Value": "15" - }, - { - "Namespace": "aws:elb:healthcheck", - "OptionName": "Timeout", - "Value": "8" - }, - { - "Namespace": "aws:elb:healthcheck", - "OptionName": "HealthyThreshold", - "Value": "2" - }, - { - "Namespace": "aws:elb:healthcheck", - "OptionName": "UnhealthyThreshold", - "Value": "3" - } - ] - }, - "output": { - "AbortableOperationInProgress": true, - "ApplicationName": "my-app", - "CNAME": "my-env.elasticbeanstalk.com", - "DateCreated": "2015-08-07T20:48:49.599Z", - "DateUpdated": "2015-08-12T18:15:23.804Z", - "EndpointURL": "awseb-e-w-AWSEBLoa-14XB83101Q4L-104QXY80921.sa-east-1.elb.amazonaws.com", - "EnvironmentId": "e-wtp2rpqsej", - "EnvironmentName": "my-env", - "Health": "Grey", - "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", - "Status": "Updating", - "Tier": { - "Name": "WebServer", - "Type": "Standard", - "Version": " " - }, - "VersionLabel": "7f58-stage-150812_025409" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation configures several options in the aws:elb:loadbalancer namespace:", - "id": "to-configure-option-settings-1456278286349", - "title": "To configure option settings" - } - ], - "ValidateConfigurationSettings": [ - { - "input": { - "ApplicationName": "my-app", - "EnvironmentName": "my-env", - "OptionSettings": [ - { - "Namespace": "aws:elasticbeanstalk:healthreporting:system", - "OptionName": "ConfigDocument", - "Value": "{\"CloudWatchMetrics\": {\"Environment\": {\"ApplicationLatencyP99.9\": null,\"InstancesSevere\": 60,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": 60,\"InstancesUnknown\": 60,\"ApplicationLatencyP85\": 60,\"InstancesInfo\": null,\"ApplicationRequests2xx\": null,\"InstancesDegraded\": null,\"InstancesWarning\": 60,\"ApplicationLatencyP50\": 60,\"ApplicationRequestsTotal\": null,\"InstancesNoData\": null,\"InstancesPending\": 60,\"ApplicationLatencyP10\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": null,\"InstancesOk\": 60,\"ApplicationRequests3xx\": null,\"ApplicationRequests4xx\": null},\"Instance\": {\"ApplicationLatencyP99.9\": null,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": null,\"ApplicationLatencyP85\": null,\"CPUUser\": 60,\"ApplicationRequests2xx\": null,\"CPUIdle\": null,\"ApplicationLatencyP50\": null,\"ApplicationRequestsTotal\": 60,\"RootFilesystemUtil\": null,\"LoadAverage1min\": null,\"CPUIrq\": null,\"CPUNice\": 60,\"CPUIowait\": 60,\"ApplicationLatencyP10\": null,\"LoadAverage5min\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": 60,\"CPUSystem\": 60,\"ApplicationRequests3xx\": 60,\"ApplicationRequests4xx\": null,\"InstanceHealth\": null,\"CPUSoftirq\": 60}},\"Version\": 1}" - } - ] - }, - "output": { - "Messages": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following operation validates a CloudWatch custom metrics config document:", - "id": "to-validate-configuration-settings-1456278393654", - "title": "To validate configuration settings" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json b/src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json deleted file mode 100644 index 9a8f18f..0000000 --- a/src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json +++ /dev/null @@ -1,1579 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2010-12-01", - "endpointPrefix": "elasticbeanstalk", - "protocol": "query", - "serviceAbbreviation": "Elastic Beanstalk", - "serviceFullName": "AWS Elastic Beanstalk", - "signatureVersion": "v4", - "uid": "elasticbeanstalk-2010-12-01", - "xmlNamespace": "http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/" - }, - "operations": { - "AbortEnvironmentUpdate": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {} - } - } - }, - "ApplyEnvironmentManagedAction": { - "input": { - "type": "structure", - "required": [ - "ActionId" - ], - "members": { - "EnvironmentName": {}, - "EnvironmentId": {}, - "ActionId": {} - } - }, - "output": { - "resultWrapper": "ApplyEnvironmentManagedActionResult", - "type": "structure", - "members": { - "ActionId": {}, - "ActionDescription": {}, - "ActionType": {}, - "Status": {} - } - } - }, - "CheckDNSAvailability": { - "input": { - "type": "structure", - "required": [ - "CNAMEPrefix" - ], - "members": { - "CNAMEPrefix": {} - } - }, - "output": { - "resultWrapper": "CheckDNSAvailabilityResult", - "type": "structure", - "members": { - "Available": { - "type": "boolean" - }, - "FullyQualifiedCNAME": {} - } - } - }, - "ComposeEnvironments": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "GroupName": {}, - "VersionLabels": { - "type": "list", - "member": {} - } - } - }, - "output": { - "shape": "Si", - "resultWrapper": "ComposeEnvironmentsResult" - } - }, - "CreateApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "Description": {}, - "ResourceLifecycleConfig": { - "shape": "S15" - } - } - }, - "output": { - "shape": "S1b", - "resultWrapper": "CreateApplicationResult" - } - }, - "CreateApplicationVersion": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "VersionLabel" - ], - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "Description": {}, - "SourceBuildInformation": { - "shape": "S1g" - }, - "SourceBundle": { - "shape": "S1k" - }, - "BuildConfiguration": { - "type": "structure", - "required": [ - "CodeBuildServiceRole", - "Image" - ], - "members": { - "ArtifactName": {}, - "CodeBuildServiceRole": {}, - "ComputeType": {}, - "Image": {}, - "TimeoutInMinutes": { - "type": "integer" - } - } - }, - "AutoCreateApplication": { - "type": "boolean" - }, - "Process": { - "type": "boolean" - } - } - }, - "output": { - "shape": "S1s", - "resultWrapper": "CreateApplicationVersionResult" - } - }, - "CreateConfigurationTemplate": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "TemplateName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "SolutionStackName": {}, - "PlatformArn": {}, - "SourceConfiguration": { - "type": "structure", - "members": { - "ApplicationName": {}, - "TemplateName": {} - } - }, - "EnvironmentId": {}, - "Description": {}, - "OptionSettings": { - "shape": "S1x" - } - } - }, - "output": { - "shape": "S23", - "resultWrapper": "CreateConfigurationTemplateResult" - } - }, - "CreateEnvironment": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "EnvironmentName": {}, - "GroupName": {}, - "Description": {}, - "CNAMEPrefix": {}, - "Tier": { - "shape": "S11" - }, - "Tags": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "VersionLabel": {}, - "TemplateName": {}, - "SolutionStackName": {}, - "PlatformArn": {}, - "OptionSettings": { - "shape": "S1x" - }, - "OptionsToRemove": { - "shape": "S2a" - } - } - }, - "output": { - "shape": "Sk", - "resultWrapper": "CreateEnvironmentResult" - } - }, - "CreatePlatformVersion": { - "input": { - "type": "structure", - "required": [ - "PlatformName", - "PlatformVersion", - "PlatformDefinitionBundle" - ], - "members": { - "PlatformName": {}, - "PlatformVersion": {}, - "PlatformDefinitionBundle": { - "shape": "S1k" - }, - "EnvironmentName": {}, - "OptionSettings": { - "shape": "S1x" - } - } - }, - "output": { - "resultWrapper": "CreatePlatformVersionResult", - "type": "structure", - "members": { - "PlatformSummary": { - "shape": "S2g" - }, - "Builder": { - "type": "structure", - "members": { - "ARN": {} - } - } - } - } - }, - "CreateStorageLocation": { - "output": { - "resultWrapper": "CreateStorageLocationResult", - "type": "structure", - "members": { - "S3Bucket": {} - } - } - }, - "DeleteApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "TerminateEnvByForce": { - "type": "boolean" - } - } - } - }, - "DeleteApplicationVersion": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "VersionLabel" - ], - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "DeleteSourceBundle": { - "type": "boolean" - } - } - } - }, - "DeleteConfigurationTemplate": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "TemplateName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {} - } - } - }, - "DeleteEnvironmentConfiguration": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "EnvironmentName" - ], - "members": { - "ApplicationName": {}, - "EnvironmentName": {} - } - } - }, - "DeletePlatformVersion": { - "input": { - "type": "structure", - "members": { - "PlatformArn": {} - } - }, - "output": { - "resultWrapper": "DeletePlatformVersionResult", - "type": "structure", - "members": { - "PlatformSummary": { - "shape": "S2g" - } - } - } - }, - "DescribeApplicationVersions": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "VersionLabels": { - "shape": "S1d" - }, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeApplicationVersionsResult", - "type": "structure", - "members": { - "ApplicationVersions": { - "type": "list", - "member": { - "shape": "S1t" - } - }, - "NextToken": {} - } - } - }, - "DescribeApplications": { - "input": { - "type": "structure", - "members": { - "ApplicationNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeApplicationsResult", - "type": "structure", - "members": { - "Applications": { - "type": "list", - "member": { - "shape": "S1c" - } - } - } - } - }, - "DescribeConfigurationOptions": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "EnvironmentName": {}, - "SolutionStackName": {}, - "PlatformArn": {}, - "Options": { - "shape": "S2a" - } - } - }, - "output": { - "resultWrapper": "DescribeConfigurationOptionsResult", - "type": "structure", - "members": { - "SolutionStackName": {}, - "PlatformArn": {}, - "Options": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Namespace": {}, - "Name": {}, - "DefaultValue": {}, - "ChangeSeverity": {}, - "UserDefined": { - "type": "boolean" - }, - "ValueType": {}, - "ValueOptions": { - "type": "list", - "member": {} - }, - "MinValue": { - "type": "integer" - }, - "MaxValue": { - "type": "integer" - }, - "MaxLength": { - "type": "integer" - }, - "Regex": { - "type": "structure", - "members": { - "Pattern": {}, - "Label": {} - } - } - } - } - } - } - } - }, - "DescribeConfigurationSettings": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "EnvironmentName": {} - } - }, - "output": { - "resultWrapper": "DescribeConfigurationSettingsResult", - "type": "structure", - "members": { - "ConfigurationSettings": { - "type": "list", - "member": { - "shape": "S23" - } - } - } - } - }, - "DescribeEnvironmentHealth": { - "input": { - "type": "structure", - "members": { - "EnvironmentName": {}, - "EnvironmentId": {}, - "AttributeNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeEnvironmentHealthResult", - "type": "structure", - "members": { - "EnvironmentName": {}, - "HealthStatus": {}, - "Status": {}, - "Color": {}, - "Causes": { - "shape": "S3x" - }, - "ApplicationMetrics": { - "shape": "S3z" - }, - "InstancesHealth": { - "type": "structure", - "members": { - "NoData": { - "type": "integer" - }, - "Unknown": { - "type": "integer" - }, - "Pending": { - "type": "integer" - }, - "Ok": { - "type": "integer" - }, - "Info": { - "type": "integer" - }, - "Warning": { - "type": "integer" - }, - "Degraded": { - "type": "integer" - }, - "Severe": { - "type": "integer" - } - } - }, - "RefreshedAt": { - "type": "timestamp" - } - } - } - }, - "DescribeEnvironmentManagedActionHistory": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {}, - "NextToken": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeEnvironmentManagedActionHistoryResult", - "type": "structure", - "members": { - "ManagedActionHistoryItems": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ActionId": {}, - "ActionType": {}, - "ActionDescription": {}, - "FailureType": {}, - "Status": {}, - "FailureDescription": {}, - "ExecutedTime": { - "type": "timestamp" - }, - "FinishedTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeEnvironmentManagedActions": { - "input": { - "type": "structure", - "members": { - "EnvironmentName": {}, - "EnvironmentId": {}, - "Status": {} - } - }, - "output": { - "resultWrapper": "DescribeEnvironmentManagedActionsResult", - "type": "structure", - "members": { - "ManagedActions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ActionId": {}, - "ActionDescription": {}, - "ActionType": {}, - "Status": {}, - "WindowStartTime": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeEnvironmentResources": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {} - } - }, - "output": { - "resultWrapper": "DescribeEnvironmentResourcesResult", - "type": "structure", - "members": { - "EnvironmentResources": { - "type": "structure", - "members": { - "EnvironmentName": {}, - "AutoScalingGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {} - } - } - }, - "Instances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {} - } - } - }, - "LaunchConfigurations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {} - } - } - }, - "LoadBalancers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {} - } - } - }, - "Triggers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {} - } - } - }, - "Queues": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "URL": {} - } - } - } - } - } - } - } - }, - "DescribeEnvironments": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "EnvironmentIds": { - "type": "list", - "member": {} - }, - "EnvironmentNames": { - "type": "list", - "member": {} - }, - "IncludeDeleted": { - "type": "boolean" - }, - "IncludedDeletedBackTo": { - "type": "timestamp" - } - } - }, - "output": { - "shape": "Si", - "resultWrapper": "DescribeEnvironmentsResult" - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "TemplateName": {}, - "EnvironmentId": {}, - "EnvironmentName": {}, - "PlatformArn": {}, - "RequestId": {}, - "Severity": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventDate": { - "type": "timestamp" - }, - "Message": {}, - "ApplicationName": {}, - "VersionLabel": {}, - "TemplateName": {}, - "EnvironmentName": {}, - "PlatformArn": {}, - "RequestId": {}, - "Severity": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeInstancesHealth": { - "input": { - "type": "structure", - "members": { - "EnvironmentName": {}, - "EnvironmentId": {}, - "AttributeNames": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeInstancesHealthResult", - "type": "structure", - "members": { - "InstanceHealthList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {}, - "HealthStatus": {}, - "Color": {}, - "Causes": { - "shape": "S3x" - }, - "LaunchedAt": { - "type": "timestamp" - }, - "ApplicationMetrics": { - "shape": "S3z" - }, - "System": { - "type": "structure", - "members": { - "CPUUtilization": { - "type": "structure", - "members": { - "User": { - "type": "double" - }, - "Nice": { - "type": "double" - }, - "System": { - "type": "double" - }, - "Idle": { - "type": "double" - }, - "IOWait": { - "type": "double" - }, - "IRQ": { - "type": "double" - }, - "SoftIRQ": { - "type": "double" - } - } - }, - "LoadAverage": { - "type": "list", - "member": { - "type": "double" - } - } - } - }, - "Deployment": { - "type": "structure", - "members": { - "VersionLabel": {}, - "DeploymentId": { - "type": "long" - }, - "Status": {}, - "DeploymentTime": { - "type": "timestamp" - } - } - }, - "AvailabilityZone": {}, - "InstanceType": {} - } - } - }, - "RefreshedAt": { - "type": "timestamp" - }, - "NextToken": {} - } - } - }, - "DescribePlatformVersion": { - "input": { - "type": "structure", - "members": { - "PlatformArn": {} - } - }, - "output": { - "resultWrapper": "DescribePlatformVersionResult", - "type": "structure", - "members": { - "PlatformDescription": { - "type": "structure", - "members": { - "PlatformArn": {}, - "PlatformOwner": {}, - "PlatformName": {}, - "PlatformVersion": {}, - "SolutionStackName": {}, - "PlatformStatus": {}, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "PlatformCategory": {}, - "Description": {}, - "Maintainer": {}, - "OperatingSystemName": {}, - "OperatingSystemVersion": {}, - "ProgrammingLanguages": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Version": {} - } - } - }, - "Frameworks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Version": {} - } - } - }, - "CustomAmiList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VirtualizationType": {}, - "ImageId": {} - } - } - }, - "SupportedTierList": { - "shape": "S2m" - }, - "SupportedAddonList": { - "shape": "S2o" - } - } - } - } - } - }, - "ListAvailableSolutionStacks": { - "output": { - "resultWrapper": "ListAvailableSolutionStacksResult", - "type": "structure", - "members": { - "SolutionStacks": { - "type": "list", - "member": {} - }, - "SolutionStackDetails": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SolutionStackName": {}, - "PermittedFileTypes": { - "type": "list", - "member": {} - } - } - } - } - } - } - }, - "ListPlatformVersions": { - "input": { - "type": "structure", - "members": { - "Filters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Operator": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListPlatformVersionsResult", - "type": "structure", - "members": { - "PlatformSummaryList": { - "type": "list", - "member": { - "shape": "S2g" - } - }, - "NextToken": {} - } - } - }, - "RebuildEnvironment": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {} - } - } - }, - "RequestEnvironmentInfo": { - "input": { - "type": "structure", - "required": [ - "InfoType" - ], - "members": { - "EnvironmentId": {}, - "EnvironmentName": {}, - "InfoType": {} - } - } - }, - "RestartAppServer": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {} - } - } - }, - "RetrieveEnvironmentInfo": { - "input": { - "type": "structure", - "required": [ - "InfoType" - ], - "members": { - "EnvironmentId": {}, - "EnvironmentName": {}, - "InfoType": {} - } - }, - "output": { - "resultWrapper": "RetrieveEnvironmentInfoResult", - "type": "structure", - "members": { - "EnvironmentInfo": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InfoType": {}, - "Ec2InstanceId": {}, - "SampleTimestamp": { - "type": "timestamp" - }, - "Message": {} - } - } - } - } - } - }, - "SwapEnvironmentCNAMEs": { - "input": { - "type": "structure", - "members": { - "SourceEnvironmentId": {}, - "SourceEnvironmentName": {}, - "DestinationEnvironmentId": {}, - "DestinationEnvironmentName": {} - } - } - }, - "TerminateEnvironment": { - "input": { - "type": "structure", - "members": { - "EnvironmentId": {}, - "EnvironmentName": {}, - "TerminateResources": { - "type": "boolean" - }, - "ForceTerminate": { - "type": "boolean" - } - } - }, - "output": { - "shape": "Sk", - "resultWrapper": "TerminateEnvironmentResult" - } - }, - "UpdateApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "Description": {} - } - }, - "output": { - "shape": "S1b", - "resultWrapper": "UpdateApplicationResult" - } - }, - "UpdateApplicationResourceLifecycle": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "ResourceLifecycleConfig" - ], - "members": { - "ApplicationName": {}, - "ResourceLifecycleConfig": { - "shape": "S15" - } - } - }, - "output": { - "resultWrapper": "UpdateApplicationResourceLifecycleResult", - "type": "structure", - "members": { - "ApplicationName": {}, - "ResourceLifecycleConfig": { - "shape": "S15" - } - } - } - }, - "UpdateApplicationVersion": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "VersionLabel" - ], - "members": { - "ApplicationName": {}, - "VersionLabel": {}, - "Description": {} - } - }, - "output": { - "shape": "S1s", - "resultWrapper": "UpdateApplicationVersionResult" - } - }, - "UpdateConfigurationTemplate": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "TemplateName" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "Description": {}, - "OptionSettings": { - "shape": "S1x" - }, - "OptionsToRemove": { - "shape": "S2a" - } - } - }, - "output": { - "shape": "S23", - "resultWrapper": "UpdateConfigurationTemplateResult" - } - }, - "UpdateEnvironment": { - "input": { - "type": "structure", - "members": { - "ApplicationName": {}, - "EnvironmentId": {}, - "EnvironmentName": {}, - "GroupName": {}, - "Description": {}, - "Tier": { - "shape": "S11" - }, - "VersionLabel": {}, - "TemplateName": {}, - "SolutionStackName": {}, - "PlatformArn": {}, - "OptionSettings": { - "shape": "S1x" - }, - "OptionsToRemove": { - "shape": "S2a" - } - } - }, - "output": { - "shape": "Sk", - "resultWrapper": "UpdateEnvironmentResult" - } - }, - "ValidateConfigurationSettings": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "OptionSettings" - ], - "members": { - "ApplicationName": {}, - "TemplateName": {}, - "EnvironmentName": {}, - "OptionSettings": { - "shape": "S1x" - } - } - }, - "output": { - "resultWrapper": "ValidateConfigurationSettingsResult", - "type": "structure", - "members": { - "Messages": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Message": {}, - "Severity": {}, - "Namespace": {}, - "OptionName": {} - } - } - } - } - } - } - }, - "shapes": { - "Si": { - "type": "structure", - "members": { - "Environments": { - "type": "list", - "member": { - "shape": "Sk" - } - } - } - }, - "Sk": { - "type": "structure", - "members": { - "EnvironmentName": {}, - "EnvironmentId": {}, - "ApplicationName": {}, - "VersionLabel": {}, - "SolutionStackName": {}, - "PlatformArn": {}, - "TemplateName": {}, - "Description": {}, - "EndpointURL": {}, - "CNAME": {}, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "Status": {}, - "AbortableOperationInProgress": { - "type": "boolean" - }, - "Health": {}, - "HealthStatus": {}, - "Resources": { - "type": "structure", - "members": { - "LoadBalancer": { - "type": "structure", - "members": { - "LoadBalancerName": {}, - "Domain": {}, - "Listeners": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Protocol": {}, - "Port": { - "type": "integer" - } - } - } - } - } - } - } - }, - "Tier": { - "shape": "S11" - }, - "EnvironmentLinks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LinkName": {}, - "EnvironmentName": {} - } - } - } - } - }, - "S11": { - "type": "structure", - "members": { - "Name": {}, - "Type": {}, - "Version": {} - } - }, - "S15": { - "type": "structure", - "members": { - "ServiceRole": {}, - "VersionLifecycleConfig": { - "type": "structure", - "members": { - "MaxCountRule": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "MaxCount": { - "type": "integer" - }, - "DeleteSourceFromS3": { - "type": "boolean" - } - } - }, - "MaxAgeRule": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "MaxAgeInDays": { - "type": "integer" - }, - "DeleteSourceFromS3": { - "type": "boolean" - } - } - } - } - } - } - }, - "S1b": { - "type": "structure", - "members": { - "Application": { - "shape": "S1c" - } - } - }, - "S1c": { - "type": "structure", - "members": { - "ApplicationName": {}, - "Description": {}, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "Versions": { - "shape": "S1d" - }, - "ConfigurationTemplates": { - "type": "list", - "member": {} - }, - "ResourceLifecycleConfig": { - "shape": "S15" - } - } - }, - "S1d": { - "type": "list", - "member": {} - }, - "S1g": { - "type": "structure", - "required": [ - "SourceType", - "SourceRepository", - "SourceLocation" - ], - "members": { - "SourceType": {}, - "SourceRepository": {}, - "SourceLocation": {} - } - }, - "S1k": { - "type": "structure", - "members": { - "S3Bucket": {}, - "S3Key": {} - } - }, - "S1s": { - "type": "structure", - "members": { - "ApplicationVersion": { - "shape": "S1t" - } - } - }, - "S1t": { - "type": "structure", - "members": { - "ApplicationName": {}, - "Description": {}, - "VersionLabel": {}, - "SourceBuildInformation": { - "shape": "S1g" - }, - "BuildArn": {}, - "SourceBundle": { - "shape": "S1k" - }, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "Status": {} - } - }, - "S1x": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceName": {}, - "Namespace": {}, - "OptionName": {}, - "Value": {} - } - } - }, - "S23": { - "type": "structure", - "members": { - "SolutionStackName": {}, - "PlatformArn": {}, - "ApplicationName": {}, - "TemplateName": {}, - "Description": {}, - "EnvironmentName": {}, - "DeploymentStatus": {}, - "DateCreated": { - "type": "timestamp" - }, - "DateUpdated": { - "type": "timestamp" - }, - "OptionSettings": { - "shape": "S1x" - } - } - }, - "S2a": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceName": {}, - "Namespace": {}, - "OptionName": {} - } - } - }, - "S2g": { - "type": "structure", - "members": { - "PlatformArn": {}, - "PlatformOwner": {}, - "PlatformStatus": {}, - "PlatformCategory": {}, - "OperatingSystemName": {}, - "OperatingSystemVersion": {}, - "SupportedTierList": { - "shape": "S2m" - }, - "SupportedAddonList": { - "shape": "S2o" - } - } - }, - "S2m": { - "type": "list", - "member": {} - }, - "S2o": { - "type": "list", - "member": {} - }, - "S3x": { - "type": "list", - "member": {} - }, - "S3z": { - "type": "structure", - "members": { - "Duration": { - "type": "integer" - }, - "RequestCount": { - "type": "integer" - }, - "StatusCodes": { - "type": "structure", - "members": { - "Status2xx": { - "type": "integer" - }, - "Status3xx": { - "type": "integer" - }, - "Status4xx": { - "type": "integer" - }, - "Status5xx": { - "type": "integer" - } - } - }, - "Latency": { - "type": "structure", - "members": { - "P999": { - "type": "double" - }, - "P99": { - "type": "double" - }, - "P95": { - "type": "double" - }, - "P90": { - "type": "double" - }, - "P85": { - "type": "double" - }, - "P75": { - "type": "double" - }, - "P50": { - "type": "double" - }, - "P10": { - "type": "double" - } - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json b/src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json deleted file mode 100644 index b4e93b3..0000000 --- a/src/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "pagination": { - "DescribeApplicationVersions": { - "result_key": "ApplicationVersions" - }, - "DescribeApplications": { - "result_key": "Applications" - }, - "DescribeConfigurationOptions": { - "result_key": "Options" - }, - "DescribeEnvironments": { - "result_key": "Environments" - }, - "DescribeEvents": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "Events" - }, - "ListAvailableSolutionStacks": { - "result_key": "SolutionStacks" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.examples.json b/src/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.examples.json deleted file mode 100644 index 4a4b982..0000000 --- a/src/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.examples.json +++ /dev/null @@ -1,222 +0,0 @@ -{ - "version": "1.0", - "examples": { - "CreateFileSystem": [ - { - "input": { - "CreationToken": "tokenstring", - "PerformanceMode": "generalPurpose" - }, - "output": { - "CreationTime": "1481841524.0", - "CreationToken": "tokenstring", - "FileSystemId": "fs-01234567", - "LifeCycleState": "creating", - "NumberOfMountTargets": 0, - "OwnerId": "012345678912", - "PerformanceMode": "generalPurpose", - "SizeInBytes": { - "Value": 0 - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation creates a new file system with the default generalpurpose performance mode.", - "id": "to-create-a-new-file-system-1481840798547", - "title": "To create a new file system" - } - ], - "CreateMountTarget": [ - { - "input": { - "FileSystemId": "fs-01234567", - "SubnetId": "subnet-1234abcd" - }, - "output": { - "FileSystemId": "fs-01234567", - "IpAddress": "192.0.0.2", - "LifeCycleState": "creating", - "MountTargetId": "fsmt-12340abc", - "NetworkInterfaceId": "eni-cedf6789", - "OwnerId": "012345678912", - "SubnetId": "subnet-1234abcd" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation creates a new mount target for an EFS file system.", - "id": "to-create-a-new-mount-target-1481842289329", - "title": "To create a new mount target" - } - ], - "CreateTags": [ - { - "input": { - "FileSystemId": "fs-01234567", - "Tags": [ - { - "Key": "Name", - "Value": "MyFileSystem" - } - ] - }, - "comments": { - }, - "description": "This operation creates a new tag for an EFS file system.", - "id": "to-create-a-new-tag-1481843409357", - "title": "To create a new tag" - } - ], - "DeleteFileSystem": [ - { - "input": { - "FileSystemId": "fs-01234567" - }, - "comments": { - }, - "description": "This operation deletes an EFS file system.", - "id": "to-delete-a-file-system-1481847318348", - "title": "To delete a file system" - } - ], - "DeleteMountTarget": [ - { - "input": { - "MountTargetId": "fsmt-12340abc" - }, - "comments": { - }, - "description": "This operation deletes a mount target.", - "id": "to-delete-a-mount-target-1481847635607", - "title": "To delete a mount target" - } - ], - "DeleteTags": [ - { - "input": { - "FileSystemId": "fs-01234567", - "TagKeys": [ - "Name" - ] - }, - "comments": { - }, - "description": "This operation deletes tags for an EFS file system.", - "id": "to-delete-tags-for-an-efs-file-system-1481848189061", - "title": "To delete tags for an EFS file system" - } - ], - "DescribeFileSystems": [ - { - "input": { - }, - "output": { - "FileSystems": [ - { - "CreationTime": "1481841524.0", - "CreationToken": "tokenstring", - "FileSystemId": "fs-01234567", - "LifeCycleState": "available", - "Name": "MyFileSystem", - "NumberOfMountTargets": 1, - "OwnerId": "012345678912", - "PerformanceMode": "generalPurpose", - "SizeInBytes": { - "Value": 6144 - } - } - ] - }, - "comments": { - }, - "description": "This operation describes all of the EFS file systems in an account.", - "id": "to-describe-an-efs-file-system-1481848448460", - "title": "To describe an EFS file system" - } - ], - "DescribeMountTargetSecurityGroups": [ - { - "input": { - "MountTargetId": "fsmt-12340abc" - }, - "output": { - "SecurityGroups": [ - "sg-fghi4567" - ] - }, - "comments": { - }, - "description": "This operation describes all of the security groups for a file system's mount target.", - "id": "to-describe-the-security-groups-for-a-mount-target-1481849317823", - "title": "To describe the security groups for a mount target" - } - ], - "DescribeMountTargets": [ - { - "input": { - "FileSystemId": "fs-01234567" - }, - "output": { - "MountTargets": [ - { - "FileSystemId": "fs-01234567", - "IpAddress": "192.0.0.2", - "LifeCycleState": "available", - "MountTargetId": "fsmt-12340abc", - "NetworkInterfaceId": "eni-cedf6789", - "OwnerId": "012345678912", - "SubnetId": "subnet-1234abcd" - } - ] - }, - "comments": { - }, - "description": "This operation describes all of a file system's mount targets.", - "id": "to-describe-the-mount-targets-for-a-file-system-1481849958584", - "title": "To describe the mount targets for a file system" - } - ], - "DescribeTags": [ - { - "input": { - "FileSystemId": "fs-01234567" - }, - "output": { - "Tags": [ - { - "Key": "Name", - "Value": "MyFileSystem" - } - ] - }, - "comments": { - }, - "description": "This operation describes all of a file system's tags.", - "id": "to-describe-the-tags-for-a-file-system-1481850497090", - "title": "To describe the tags for a file system" - } - ], - "ModifyMountTargetSecurityGroups": [ - { - "input": { - "MountTargetId": "fsmt-12340abc", - "SecurityGroups": [ - "sg-abcd1234" - ] - }, - "comments": { - }, - "description": "This operation modifies the security groups associated with a mount target for a file system.", - "id": "to-modify-the-security-groups-associated-with-a-mount-target-for-a-file-system-1481850772562", - "title": "To modify the security groups associated with a mount target for a file system" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json b/src/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json deleted file mode 100644 index 2185882..0000000 --- a/src/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +++ /dev/null @@ -1,396 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-02-01", - "endpointPrefix": "elasticfilesystem", - "protocol": "rest-json", - "serviceAbbreviation": "EFS", - "serviceFullName": "Amazon Elastic File System", - "signatureVersion": "v4", - "uid": "elasticfilesystem-2015-02-01" - }, - "operations": { - "CreateFileSystem": { - "http": { - "requestUri": "/2015-02-01/file-systems", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "CreationToken" - ], - "members": { - "CreationToken": {}, - "PerformanceMode": {} - } - }, - "output": { - "shape": "S4" - } - }, - "CreateMountTarget": { - "http": { - "requestUri": "/2015-02-01/mount-targets", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FileSystemId", - "SubnetId" - ], - "members": { - "FileSystemId": {}, - "SubnetId": {}, - "IpAddress": {}, - "SecurityGroups": { - "shape": "Sg" - } - } - }, - "output": { - "shape": "Si" - } - }, - "CreateTags": { - "http": { - "requestUri": "/2015-02-01/create-tags/{FileSystemId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FileSystemId", - "Tags" - ], - "members": { - "FileSystemId": { - "location": "uri", - "locationName": "FileSystemId" - }, - "Tags": { - "shape": "Sm" - } - } - } - }, - "DeleteFileSystem": { - "http": { - "method": "DELETE", - "requestUri": "/2015-02-01/file-systems/{FileSystemId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FileSystemId" - ], - "members": { - "FileSystemId": { - "location": "uri", - "locationName": "FileSystemId" - } - } - } - }, - "DeleteMountTarget": { - "http": { - "method": "DELETE", - "requestUri": "/2015-02-01/mount-targets/{MountTargetId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "MountTargetId" - ], - "members": { - "MountTargetId": { - "location": "uri", - "locationName": "MountTargetId" - } - } - } - }, - "DeleteTags": { - "http": { - "requestUri": "/2015-02-01/delete-tags/{FileSystemId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FileSystemId", - "TagKeys" - ], - "members": { - "FileSystemId": { - "location": "uri", - "locationName": "FileSystemId" - }, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "DescribeFileSystems": { - "http": { - "method": "GET", - "requestUri": "/2015-02-01/file-systems", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "CreationToken": { - "location": "querystring", - "locationName": "CreationToken" - }, - "FileSystemId": { - "location": "querystring", - "locationName": "FileSystemId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "FileSystems": { - "type": "list", - "member": { - "shape": "S4" - } - }, - "NextMarker": {} - } - } - }, - "DescribeMountTargetSecurityGroups": { - "http": { - "method": "GET", - "requestUri": "/2015-02-01/mount-targets/{MountTargetId}/security-groups", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "MountTargetId" - ], - "members": { - "MountTargetId": { - "location": "uri", - "locationName": "MountTargetId" - } - } - }, - "output": { - "type": "structure", - "required": [ - "SecurityGroups" - ], - "members": { - "SecurityGroups": { - "shape": "Sg" - } - } - } - }, - "DescribeMountTargets": { - "http": { - "method": "GET", - "requestUri": "/2015-02-01/mount-targets", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "FileSystemId": { - "location": "querystring", - "locationName": "FileSystemId" - }, - "MountTargetId": { - "location": "querystring", - "locationName": "MountTargetId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "MountTargets": { - "type": "list", - "member": { - "shape": "Si" - } - }, - "NextMarker": {} - } - } - }, - "DescribeTags": { - "http": { - "method": "GET", - "requestUri": "/2015-02-01/tags/{FileSystemId}/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FileSystemId" - ], - "members": { - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "FileSystemId": { - "location": "uri", - "locationName": "FileSystemId" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Tags" - ], - "members": { - "Marker": {}, - "Tags": { - "shape": "Sm" - }, - "NextMarker": {} - } - } - }, - "ModifyMountTargetSecurityGroups": { - "http": { - "method": "PUT", - "requestUri": "/2015-02-01/mount-targets/{MountTargetId}/security-groups", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "MountTargetId" - ], - "members": { - "MountTargetId": { - "location": "uri", - "locationName": "MountTargetId" - }, - "SecurityGroups": { - "shape": "Sg" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "required": [ - "OwnerId", - "CreationToken", - "FileSystemId", - "CreationTime", - "LifeCycleState", - "NumberOfMountTargets", - "SizeInBytes", - "PerformanceMode" - ], - "members": { - "OwnerId": {}, - "CreationToken": {}, - "FileSystemId": {}, - "CreationTime": { - "type": "timestamp" - }, - "LifeCycleState": {}, - "Name": {}, - "NumberOfMountTargets": { - "type": "integer" - }, - "SizeInBytes": { - "type": "structure", - "required": [ - "Value" - ], - "members": { - "Value": { - "type": "long" - }, - "Timestamp": { - "type": "timestamp" - } - } - }, - "PerformanceMode": {} - } - }, - "Sg": { - "type": "list", - "member": {} - }, - "Si": { - "type": "structure", - "required": [ - "MountTargetId", - "FileSystemId", - "SubnetId", - "LifeCycleState" - ], - "members": { - "OwnerId": {}, - "MountTargetId": {}, - "FileSystemId": {}, - "SubnetId": {}, - "LifeCycleState": {}, - "IpAddress": {}, - "NetworkInterfaceId": {} - } - }, - "Sm": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.examples.json b/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.examples.json deleted file mode 100644 index ce50fdd..0000000 --- a/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.examples.json +++ /dev/null @@ -1,1036 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AddTags": [ - { - "input": { - "LoadBalancerNames": [ - "my-load-balancer" - ], - "Tags": [ - { - "Key": "project", - "Value": "lima" - }, - { - "Key": "department", - "Value": "digital-media" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds two tags to the specified load balancer.", - "id": "elb-add-tags-1", - "title": "To add tags to a load balancer" - } - ], - "ApplySecurityGroupsToLoadBalancer": [ - { - "input": { - "LoadBalancerName": "my-load-balancer", - "SecurityGroups": [ - "sg-fc448899" - ] - }, - "output": { - "SecurityGroups": [ - "sg-fc448899" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example associates a security group with the specified load balancer in a VPC.", - "id": "elb-apply-security-groups-to-load-balancer-1", - "title": "To associate a security group with a load balancer in a VPC" - } - ], - "AttachLoadBalancerToSubnets": [ - { - "input": { - "LoadBalancerName": "my-load-balancer", - "Subnets": [ - "subnet-0ecac448" - ] - }, - "output": { - "Subnets": [ - "subnet-15aaab61", - "subnet-0ecac448" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds the specified subnet to the set of configured subnets for the specified load balancer.", - "id": "elb-attach-load-balancer-to-subnets-1", - "title": "To attach subnets to a load balancer" - } - ], - "ConfigureHealthCheck": [ - { - "input": { - "HealthCheck": { - "HealthyThreshold": 2, - "Interval": 30, - "Target": "HTTP:80/png", - "Timeout": 3, - "UnhealthyThreshold": 2 - }, - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "HealthCheck": { - "HealthyThreshold": 2, - "Interval": 30, - "Target": "HTTP:80/png", - "Timeout": 3, - "UnhealthyThreshold": 2 - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example specifies the health check settings used to evaluate the health of your backend EC2 instances.", - "id": "elb-configure-health-check-1", - "title": "To specify the health check settings for your backend EC2 instances" - } - ], - "CreateAppCookieStickinessPolicy": [ - { - "input": { - "CookieName": "my-app-cookie", - "LoadBalancerName": "my-load-balancer", - "PolicyName": "my-app-cookie-policy" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example generates a stickiness policy that follows the sticky session lifetimes of the application-generated cookie.", - "id": "elb-create-app-cookie-stickiness-policy-1", - "title": "To generate a stickiness policy for your load balancer" - } - ], - "CreateLBCookieStickinessPolicy": [ - { - "input": { - "CookieExpirationPeriod": 60, - "LoadBalancerName": "my-load-balancer", - "PolicyName": "my-duration-cookie-policy" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example generates a stickiness policy with sticky session lifetimes controlled by the specified expiration period.", - "id": "elb-create-lb-cookie-stickiness-policy-1", - "title": "To generate a duration-based stickiness policy for your load balancer" - } - ], - "CreateLoadBalancer": [ - { - "input": { - "Listeners": [ - { - "InstancePort": 80, - "InstanceProtocol": "HTTP", - "LoadBalancerPort": 80, - "Protocol": "HTTP" - } - ], - "LoadBalancerName": "my-load-balancer", - "SecurityGroups": [ - "sg-a61988c3" - ], - "Subnets": [ - "subnet-15aaab61" - ] - }, - "output": { - "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a load balancer with an HTTP listener in a VPC.", - "id": "elb-create-load-balancer-1", - "title": "To create an HTTP load balancer in a VPC" - }, - { - "input": { - "AvailabilityZones": [ - "us-west-2a" - ], - "Listeners": [ - { - "InstancePort": 80, - "InstanceProtocol": "HTTP", - "LoadBalancerPort": 80, - "Protocol": "HTTP" - } - ], - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "DNSName": "my-load-balancer-123456789.us-west-2.elb.amazonaws.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a load balancer with an HTTP listener in EC2-Classic.", - "id": "elb-create-load-balancer-2", - "title": "To create an HTTP load balancer in EC2-Classic" - }, - { - "input": { - "Listeners": [ - { - "InstancePort": 80, - "InstanceProtocol": "HTTP", - "LoadBalancerPort": 80, - "Protocol": "HTTP" - }, - { - "InstancePort": 80, - "InstanceProtocol": "HTTP", - "LoadBalancerPort": 443, - "Protocol": "HTTPS", - "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert" - } - ], - "LoadBalancerName": "my-load-balancer", - "SecurityGroups": [ - "sg-a61988c3" - ], - "Subnets": [ - "subnet-15aaab61" - ] - }, - "output": { - "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a load balancer with an HTTPS listener in a VPC.", - "id": "elb-create-load-balancer-3", - "title": "To create an HTTPS load balancer in a VPC" - }, - { - "input": { - "AvailabilityZones": [ - "us-west-2a" - ], - "Listeners": [ - { - "InstancePort": 80, - "InstanceProtocol": "HTTP", - "LoadBalancerPort": 80, - "Protocol": "HTTP" - }, - { - "InstancePort": 80, - "InstanceProtocol": "HTTP", - "LoadBalancerPort": 443, - "Protocol": "HTTPS", - "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert" - } - ], - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "DNSName": "my-load-balancer-123456789.us-west-2.elb.amazonaws.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a load balancer with an HTTPS listener in EC2-Classic.", - "id": "elb-create-load-balancer-4", - "title": "To create an HTTPS load balancer in EC2-Classic" - }, - { - "input": { - "Listeners": [ - { - "InstancePort": 80, - "InstanceProtocol": "HTTP", - "LoadBalancerPort": 80, - "Protocol": "HTTP" - } - ], - "LoadBalancerName": "my-load-balancer", - "Scheme": "internal", - "SecurityGroups": [ - "sg-a61988c3" - ], - "Subnets": [ - "subnet-15aaab61" - ] - }, - "output": { - "DNSName": "internal-my-load-balancer-123456789.us-west-2.elb.amazonaws.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an internal load balancer with an HTTP listener in a VPC.", - "id": "elb-create-load-balancer-5", - "title": "To create an internal load balancer" - } - ], - "CreateLoadBalancerListeners": [ - { - "input": { - "Listeners": [ - { - "InstancePort": 80, - "InstanceProtocol": "HTTP", - "LoadBalancerPort": 80, - "Protocol": "HTTP" - } - ], - "LoadBalancerName": "my-load-balancer" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a listener for your load balancer at port 80 using the HTTP protocol.", - "id": "elb-create-load-balancer-listeners-1", - "title": "To create an HTTP listener for a load balancer" - }, - { - "input": { - "Listeners": [ - { - "InstancePort": 80, - "InstanceProtocol": "HTTP", - "LoadBalancerPort": 443, - "Protocol": "HTTPS", - "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert" - } - ], - "LoadBalancerName": "my-load-balancer" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a listener for your load balancer at port 443 using the HTTPS protocol.", - "id": "elb-create-load-balancer-listeners-2", - "title": "To create an HTTPS listener for a load balancer" - } - ], - "CreateLoadBalancerPolicy": [ - { - "input": { - "LoadBalancerName": "my-load-balancer", - "PolicyAttributes": [ - { - "AttributeName": "ProxyProtocol", - "AttributeValue": "true" - } - ], - "PolicyName": "my-ProxyProtocol-policy", - "PolicyTypeName": "ProxyProtocolPolicyType" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a policy that enables Proxy Protocol on the specified load balancer.", - "id": "elb-create-load-balancer-policy-1", - "title": "To create a policy that enables Proxy Protocol on a load balancer" - }, - { - "input": { - "LoadBalancerName": "my-load-balancer", - "PolicyAttributes": [ - { - "AttributeName": "PublicKey", - "AttributeValue": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwAYUjnfyEyXr1pxjhFWBpMlggUcqoi3kl+dS74kj//c6x7ROtusUaeQCTgIUkayttRDWchuqo1pHC1u+n5xxXnBBe2ejbb2WRsKIQ5rXEeixsjFpFsojpSQKkzhVGI6mJVZBJDVKSHmswnwLBdofLhzvllpovBPTHe+o4haAWvDBALJU0pkSI1FecPHcs2hwxf14zHoXy1e2k36A64nXW43wtfx5qcVSIxtCEOjnYRg7RPvybaGfQ+v6Iaxb/+7J5kEvZhTFQId+bSiJImF1FSUT1W1xwzBZPUbcUkkXDj45vC2s3Z8E+Lk7a3uZhvsQHLZnrfuWjBWGWvZ/MhZYgEXAMPLE" - } - ], - "PolicyName": "my-PublicKey-policy", - "PolicyTypeName": "PublicKeyPolicyType" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a public key policy.", - "id": "elb-create-load-balancer-policy-2", - "title": "To create a public key policy" - }, - { - "input": { - "LoadBalancerName": "my-load-balancer", - "PolicyAttributes": [ - { - "AttributeName": "PublicKeyPolicyName", - "AttributeValue": "my-PublicKey-policy" - } - ], - "PolicyName": "my-authentication-policy", - "PolicyTypeName": "BackendServerAuthenticationPolicyType" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a backend server authentication policy that enables authentication on your backend instance using a public key policy.", - "id": "elb-create-load-balancer-policy-3", - "title": "To create a backend server authentication policy" - } - ], - "DeleteLoadBalancer": [ - { - "input": { - "LoadBalancerName": "my-load-balancer" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified load balancer.", - "id": "elb-delete-load-balancer-1", - "title": "To delete a load balancer" - } - ], - "DeleteLoadBalancerListeners": [ - { - "input": { - "LoadBalancerName": "my-load-balancer", - "LoadBalancerPorts": [ - 80 - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the listener for the specified port from the specified load balancer.", - "id": "elb-delete-load-balancer-listeners-1", - "title": "To delete a listener from your load balancer" - } - ], - "DeleteLoadBalancerPolicy": [ - { - "input": { - "LoadBalancerName": "my-load-balancer", - "PolicyName": "my-duration-cookie-policy" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified policy from the specified load balancer. The policy must not be enabled on any listener.", - "id": "elb-delete-load-balancer-policy-1", - "title": "To delete a policy from your load balancer" - } - ], - "DeregisterInstancesFromLoadBalancer": [ - { - "input": { - "Instances": [ - { - "InstanceId": "i-d6f6fae3" - } - ], - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "Instances": [ - { - "InstanceId": "i-207d9717" - }, - { - "InstanceId": "i-afefb49b" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deregisters the specified instance from the specified load balancer.", - "id": "elb-deregister-instances-from-load-balancer-1", - "title": "To deregister instances from a load balancer" - } - ], - "DescribeInstanceHealth": [ - { - "input": { - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "InstanceStates": [ - { - "Description": "N/A", - "InstanceId": "i-207d9717", - "ReasonCode": "N/A", - "State": "InService" - }, - { - "Description": "N/A", - "InstanceId": "i-afefb49b", - "ReasonCode": "N/A", - "State": "InService" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the health of the instances for the specified load balancer.", - "id": "elb-describe-instance-health-1", - "title": "To describe the health of the instances for a load balancer" - } - ], - "DescribeLoadBalancerAttributes": [ - { - "input": { - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "LoadBalancerAttributes": { - "AccessLog": { - "Enabled": false - }, - "ConnectionDraining": { - "Enabled": false, - "Timeout": 300 - }, - "ConnectionSettings": { - "IdleTimeout": 60 - }, - "CrossZoneLoadBalancing": { - "Enabled": false - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the attributes of the specified load balancer.", - "id": "elb-describe-load-balancer-attributes-1", - "title": "To describe the attributes of a load balancer" - } - ], - "DescribeLoadBalancerPolicies": [ - { - "input": { - "LoadBalancerName": "my-load-balancer", - "PolicyNames": [ - "my-authentication-policy" - ] - }, - "output": { - "PolicyDescriptions": [ - { - "PolicyAttributeDescriptions": [ - { - "AttributeName": "PublicKeyPolicyName", - "AttributeValue": "my-PublicKey-policy" - } - ], - "PolicyName": "my-authentication-policy", - "PolicyTypeName": "BackendServerAuthenticationPolicyType" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified policy associated with the specified load balancer.", - "id": "elb-describe-load-balancer-policies-1", - "title": "To describe a policy associated with a load balancer" - } - ], - "DescribeLoadBalancerPolicyTypes": [ - { - "input": { - "PolicyTypeNames": [ - "ProxyProtocolPolicyType" - ] - }, - "output": { - "PolicyTypeDescriptions": [ - { - "Description": "Policy that controls whether to include the IP address and port of the originating request for TCP messages. This policy operates on TCP listeners only.", - "PolicyAttributeTypeDescriptions": [ - { - "AttributeName": "ProxyProtocol", - "AttributeType": "Boolean", - "Cardinality": "ONE" - } - ], - "PolicyTypeName": "ProxyProtocolPolicyType" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified load balancer policy type.", - "id": "elb-describe-load-balancer-policy-types-1", - "title": "To describe a load balancer policy type defined by Elastic Load Balancing" - } - ], - "DescribeLoadBalancers": [ - { - "input": { - "LoadBalancerNames": [ - "my-load-balancer" - ] - }, - "output": { - "LoadBalancerDescriptions": [ - { - "AvailabilityZones": [ - "us-west-2a" - ], - "BackendServerDescriptions": [ - { - "InstancePort": 80, - "PolicyNames": [ - "my-ProxyProtocol-policy" - ] - } - ], - "CanonicalHostedZoneName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com", - "CanonicalHostedZoneNameID": "Z3DZXE0EXAMPLE", - "CreatedTime": "2015-03-19T03:24:02.650Z", - "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com", - "HealthCheck": { - "HealthyThreshold": 2, - "Interval": 30, - "Target": "HTTP:80/png", - "Timeout": 3, - "UnhealthyThreshold": 2 - }, - "Instances": [ - { - "InstanceId": "i-207d9717" - }, - { - "InstanceId": "i-afefb49b" - } - ], - "ListenerDescriptions": [ - { - "Listener": { - "InstancePort": 80, - "InstanceProtocol": "HTTP", - "LoadBalancerPort": 80, - "Protocol": "HTTP" - }, - "PolicyNames": [ - - ] - }, - { - "Listener": { - "InstancePort": 443, - "InstanceProtocol": "HTTPS", - "LoadBalancerPort": 443, - "Protocol": "HTTPS", - "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert" - }, - "PolicyNames": [ - "ELBSecurityPolicy-2015-03" - ] - } - ], - "LoadBalancerName": "my-load-balancer", - "Policies": { - "AppCookieStickinessPolicies": [ - - ], - "LBCookieStickinessPolicies": [ - { - "CookieExpirationPeriod": 60, - "PolicyName": "my-duration-cookie-policy" - } - ], - "OtherPolicies": [ - "my-PublicKey-policy", - "my-authentication-policy", - "my-SSLNegotiation-policy", - "my-ProxyProtocol-policy", - "ELBSecurityPolicy-2015-03" - ] - }, - "Scheme": "internet-facing", - "SecurityGroups": [ - "sg-a61988c3" - ], - "SourceSecurityGroup": { - "GroupName": "my-elb-sg", - "OwnerAlias": "123456789012" - }, - "Subnets": [ - "subnet-15aaab61" - ], - "VPCId": "vpc-a01106c2" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified load balancer.", - "id": "elb-describe-load-balancers-1", - "title": "To describe one of your load balancers" - } - ], - "DescribeTags": [ - { - "input": { - "LoadBalancerNames": [ - "my-load-balancer" - ] - }, - "output": { - "TagDescriptions": [ - { - "LoadBalancerName": "my-load-balancer", - "Tags": [ - { - "Key": "project", - "Value": "lima" - }, - { - "Key": "department", - "Value": "digital-media" - } - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the tags for the specified load balancer.", - "id": "elb-describe-tags-1", - "title": "To describe the tags for a load balancer" - } - ], - "DetachLoadBalancerFromSubnets": [ - { - "input": { - "LoadBalancerName": "my-load-balancer", - "Subnets": [ - "subnet-0ecac448" - ] - }, - "output": { - "Subnets": [ - "subnet-15aaab61" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example detaches the specified load balancer from the specified subnet.", - "id": "elb-detach-load-balancer-from-subnets-1", - "title": "To detach a load balancer from a subnet" - } - ], - "DisableAvailabilityZonesForLoadBalancer": [ - { - "input": { - "AvailabilityZones": [ - "us-west-2a" - ], - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "AvailabilityZones": [ - "us-west-2b" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example removes the specified Availability Zone from the set of Availability Zones for the specified load balancer.", - "id": "elb-disable-availability-zones-for-load-balancer-1", - "title": "To disable an Availability Zone for a load balancer" - } - ], - "EnableAvailabilityZonesForLoadBalancer": [ - { - "input": { - "AvailabilityZones": [ - "us-west-2b" - ], - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "AvailabilityZones": [ - "us-west-2a", - "us-west-2b" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds the specified Availability Zone to the specified load balancer.", - "id": "elb-enable-availability-zones-for-load-balancer-1", - "title": "To enable an Availability Zone for a load balancer" - } - ], - "ModifyLoadBalancerAttributes": [ - { - "input": { - "LoadBalancerAttributes": { - "CrossZoneLoadBalancing": { - "Enabled": true - } - }, - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "LoadBalancerAttributes": { - "CrossZoneLoadBalancing": { - "Enabled": true - } - }, - "LoadBalancerName": "my-load-balancer" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example enables cross-zone load balancing for the specified load balancer.", - "id": "elb-modify-load-balancer-attributes-1", - "title": "To enable cross-zone load balancing" - }, - { - "input": { - "LoadBalancerAttributes": { - "ConnectionDraining": { - "Enabled": true, - "Timeout": 300 - } - }, - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "LoadBalancerAttributes": { - "ConnectionDraining": { - "Enabled": true, - "Timeout": 300 - } - }, - "LoadBalancerName": "my-load-balancer" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example enables connection draining for the specified load balancer.", - "id": "elb-modify-load-balancer-attributes-2", - "title": "To enable connection draining" - } - ], - "RegisterInstancesWithLoadBalancer": [ - { - "input": { - "Instances": [ - { - "InstanceId": "i-d6f6fae3" - } - ], - "LoadBalancerName": "my-load-balancer" - }, - "output": { - "Instances": [ - { - "InstanceId": "i-d6f6fae3" - }, - { - "InstanceId": "i-207d9717" - }, - { - "InstanceId": "i-afefb49b" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example registers the specified instance with the specified load balancer.", - "id": "elb-register-instances-with-load-balancer-1", - "title": "To register instances with a load balancer" - } - ], - "RemoveTags": [ - { - "input": { - "LoadBalancerNames": [ - "my-load-balancer" - ], - "Tags": [ - { - "Key": "project" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example removes the specified tag from the specified load balancer.", - "id": "elb-remove-tags-1", - "title": "To remove tags from a load balancer" - } - ], - "SetLoadBalancerListenerSSLCertificate": [ - { - "input": { - "LoadBalancerName": "my-load-balancer", - "LoadBalancerPort": 443, - "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/new-server-cert" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example replaces the existing SSL certificate for the specified HTTPS listener.", - "id": "elb-set-load-balancer-listener-ssl-certificate-1", - "title": "To update the SSL certificate for an HTTPS listener" - } - ], - "SetLoadBalancerPoliciesForBackendServer": [ - { - "input": { - "InstancePort": 80, - "LoadBalancerName": "my-load-balancer", - "PolicyNames": [ - "my-ProxyProtocol-policy" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example replaces the policies that are currently associated with the specified port.", - "id": "elb-set-load-balancer-policies-for-backend-server-1", - "title": "To replace the policies associated with a port for a backend instance" - } - ], - "SetLoadBalancerPoliciesOfListener": [ - { - "input": { - "LoadBalancerName": "my-load-balancer", - "LoadBalancerPort": 80, - "PolicyNames": [ - "my-SSLNegotiation-policy" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example replaces the policies that are currently associated with the specified listener.", - "id": "elb-set-load-balancer-policies-of-listener-1", - "title": "To replace the policies associated with a listener" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json b/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json deleted file mode 100644 index 78fde78..0000000 --- a/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json +++ /dev/null @@ -1,1002 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-06-01", - "endpointPrefix": "elasticloadbalancing", - "protocol": "query", - "serviceFullName": "Elastic Load Balancing", - "signatureVersion": "v4", - "uid": "elasticloadbalancing-2012-06-01", - "xmlNamespace": "http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/" - }, - "operations": { - "AddTags": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerNames", - "Tags" - ], - "members": { - "LoadBalancerNames": { - "shape": "S2" - }, - "Tags": { - "shape": "S4" - } - } - }, - "output": { - "resultWrapper": "AddTagsResult", - "type": "structure", - "members": {} - } - }, - "ApplySecurityGroupsToLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "SecurityGroups" - ], - "members": { - "LoadBalancerName": {}, - "SecurityGroups": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "ApplySecurityGroupsToLoadBalancerResult", - "type": "structure", - "members": { - "SecurityGroups": { - "shape": "Sa" - } - } - } - }, - "AttachLoadBalancerToSubnets": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "Subnets" - ], - "members": { - "LoadBalancerName": {}, - "Subnets": { - "shape": "Se" - } - } - }, - "output": { - "resultWrapper": "AttachLoadBalancerToSubnetsResult", - "type": "structure", - "members": { - "Subnets": { - "shape": "Se" - } - } - } - }, - "ConfigureHealthCheck": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "HealthCheck" - ], - "members": { - "LoadBalancerName": {}, - "HealthCheck": { - "shape": "Si" - } - } - }, - "output": { - "resultWrapper": "ConfigureHealthCheckResult", - "type": "structure", - "members": { - "HealthCheck": { - "shape": "Si" - } - } - } - }, - "CreateAppCookieStickinessPolicy": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "PolicyName", - "CookieName" - ], - "members": { - "LoadBalancerName": {}, - "PolicyName": {}, - "CookieName": {} - } - }, - "output": { - "resultWrapper": "CreateAppCookieStickinessPolicyResult", - "type": "structure", - "members": {} - } - }, - "CreateLBCookieStickinessPolicy": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "PolicyName" - ], - "members": { - "LoadBalancerName": {}, - "PolicyName": {}, - "CookieExpirationPeriod": { - "type": "long" - } - } - }, - "output": { - "resultWrapper": "CreateLBCookieStickinessPolicyResult", - "type": "structure", - "members": {} - } - }, - "CreateLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "Listeners" - ], - "members": { - "LoadBalancerName": {}, - "Listeners": { - "shape": "Sx" - }, - "AvailabilityZones": { - "shape": "S13" - }, - "Subnets": { - "shape": "Se" - }, - "SecurityGroups": { - "shape": "Sa" - }, - "Scheme": {}, - "Tags": { - "shape": "S4" - } - } - }, - "output": { - "resultWrapper": "CreateLoadBalancerResult", - "type": "structure", - "members": { - "DNSName": {} - } - } - }, - "CreateLoadBalancerListeners": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "Listeners" - ], - "members": { - "LoadBalancerName": {}, - "Listeners": { - "shape": "Sx" - } - } - }, - "output": { - "resultWrapper": "CreateLoadBalancerListenersResult", - "type": "structure", - "members": {} - } - }, - "CreateLoadBalancerPolicy": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "PolicyName", - "PolicyTypeName" - ], - "members": { - "LoadBalancerName": {}, - "PolicyName": {}, - "PolicyTypeName": {}, - "PolicyAttributes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AttributeName": {}, - "AttributeValue": {} - } - } - } - } - }, - "output": { - "resultWrapper": "CreateLoadBalancerPolicyResult", - "type": "structure", - "members": {} - } - }, - "DeleteLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName" - ], - "members": { - "LoadBalancerName": {} - } - }, - "output": { - "resultWrapper": "DeleteLoadBalancerResult", - "type": "structure", - "members": {} - } - }, - "DeleteLoadBalancerListeners": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "LoadBalancerPorts" - ], - "members": { - "LoadBalancerName": {}, - "LoadBalancerPorts": { - "type": "list", - "member": { - "type": "integer" - } - } - } - }, - "output": { - "resultWrapper": "DeleteLoadBalancerListenersResult", - "type": "structure", - "members": {} - } - }, - "DeleteLoadBalancerPolicy": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "PolicyName" - ], - "members": { - "LoadBalancerName": {}, - "PolicyName": {} - } - }, - "output": { - "resultWrapper": "DeleteLoadBalancerPolicyResult", - "type": "structure", - "members": {} - } - }, - "DeregisterInstancesFromLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "Instances" - ], - "members": { - "LoadBalancerName": {}, - "Instances": { - "shape": "S1p" - } - } - }, - "output": { - "resultWrapper": "DeregisterInstancesFromLoadBalancerResult", - "type": "structure", - "members": { - "Instances": { - "shape": "S1p" - } - } - } - }, - "DescribeAccountLimits": { - "input": { - "type": "structure", - "members": { - "Marker": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeAccountLimitsResult", - "type": "structure", - "members": { - "Limits": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Max": {} - } - } - }, - "NextMarker": {} - } - } - }, - "DescribeInstanceHealth": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName" - ], - "members": { - "LoadBalancerName": {}, - "Instances": { - "shape": "S1p" - } - } - }, - "output": { - "resultWrapper": "DescribeInstanceHealthResult", - "type": "structure", - "members": { - "InstanceStates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {}, - "State": {}, - "ReasonCode": {}, - "Description": {} - } - } - } - } - } - }, - "DescribeLoadBalancerAttributes": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName" - ], - "members": { - "LoadBalancerName": {} - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancerAttributesResult", - "type": "structure", - "members": { - "LoadBalancerAttributes": { - "shape": "S2a" - } - } - } - }, - "DescribeLoadBalancerPolicies": { - "input": { - "type": "structure", - "members": { - "LoadBalancerName": {}, - "PolicyNames": { - "shape": "S2s" - } - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancerPoliciesResult", - "type": "structure", - "members": { - "PolicyDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyName": {}, - "PolicyTypeName": {}, - "PolicyAttributeDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AttributeName": {}, - "AttributeValue": {} - } - } - } - } - } - } - } - } - }, - "DescribeLoadBalancerPolicyTypes": { - "input": { - "type": "structure", - "members": { - "PolicyTypeNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancerPolicyTypesResult", - "type": "structure", - "members": { - "PolicyTypeDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyTypeName": {}, - "Description": {}, - "PolicyAttributeTypeDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AttributeName": {}, - "AttributeType": {}, - "Description": {}, - "DefaultValue": {}, - "Cardinality": {} - } - } - } - } - } - } - } - } - }, - "DescribeLoadBalancers": { - "input": { - "type": "structure", - "members": { - "LoadBalancerNames": { - "shape": "S2" - }, - "Marker": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancersResult", - "type": "structure", - "members": { - "LoadBalancerDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LoadBalancerName": {}, - "DNSName": {}, - "CanonicalHostedZoneName": {}, - "CanonicalHostedZoneNameID": {}, - "ListenerDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Listener": { - "shape": "Sy" - }, - "PolicyNames": { - "shape": "S2s" - } - } - } - }, - "Policies": { - "type": "structure", - "members": { - "AppCookieStickinessPolicies": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyName": {}, - "CookieName": {} - } - } - }, - "LBCookieStickinessPolicies": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyName": {}, - "CookieExpirationPeriod": { - "type": "long" - } - } - } - }, - "OtherPolicies": { - "shape": "S2s" - } - } - }, - "BackendServerDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstancePort": { - "type": "integer" - }, - "PolicyNames": { - "shape": "S2s" - } - } - } - }, - "AvailabilityZones": { - "shape": "S13" - }, - "Subnets": { - "shape": "Se" - }, - "VPCId": {}, - "Instances": { - "shape": "S1p" - }, - "HealthCheck": { - "shape": "Si" - }, - "SourceSecurityGroup": { - "type": "structure", - "members": { - "OwnerAlias": {}, - "GroupName": {} - } - }, - "SecurityGroups": { - "shape": "Sa" - }, - "CreatedTime": { - "type": "timestamp" - }, - "Scheme": {} - } - } - }, - "NextMarker": {} - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerNames" - ], - "members": { - "LoadBalancerNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeTagsResult", - "type": "structure", - "members": { - "TagDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LoadBalancerName": {}, - "Tags": { - "shape": "S4" - } - } - } - } - } - } - }, - "DetachLoadBalancerFromSubnets": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "Subnets" - ], - "members": { - "LoadBalancerName": {}, - "Subnets": { - "shape": "Se" - } - } - }, - "output": { - "resultWrapper": "DetachLoadBalancerFromSubnetsResult", - "type": "structure", - "members": { - "Subnets": { - "shape": "Se" - } - } - } - }, - "DisableAvailabilityZonesForLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "AvailabilityZones" - ], - "members": { - "LoadBalancerName": {}, - "AvailabilityZones": { - "shape": "S13" - } - } - }, - "output": { - "resultWrapper": "DisableAvailabilityZonesForLoadBalancerResult", - "type": "structure", - "members": { - "AvailabilityZones": { - "shape": "S13" - } - } - } - }, - "EnableAvailabilityZonesForLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "AvailabilityZones" - ], - "members": { - "LoadBalancerName": {}, - "AvailabilityZones": { - "shape": "S13" - } - } - }, - "output": { - "resultWrapper": "EnableAvailabilityZonesForLoadBalancerResult", - "type": "structure", - "members": { - "AvailabilityZones": { - "shape": "S13" - } - } - } - }, - "ModifyLoadBalancerAttributes": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "LoadBalancerAttributes" - ], - "members": { - "LoadBalancerName": {}, - "LoadBalancerAttributes": { - "shape": "S2a" - } - } - }, - "output": { - "resultWrapper": "ModifyLoadBalancerAttributesResult", - "type": "structure", - "members": { - "LoadBalancerName": {}, - "LoadBalancerAttributes": { - "shape": "S2a" - } - } - } - }, - "RegisterInstancesWithLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "Instances" - ], - "members": { - "LoadBalancerName": {}, - "Instances": { - "shape": "S1p" - } - } - }, - "output": { - "resultWrapper": "RegisterInstancesWithLoadBalancerResult", - "type": "structure", - "members": { - "Instances": { - "shape": "S1p" - } - } - } - }, - "RemoveTags": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerNames", - "Tags" - ], - "members": { - "LoadBalancerNames": { - "shape": "S2" - }, - "Tags": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {} - } - } - } - } - }, - "output": { - "resultWrapper": "RemoveTagsResult", - "type": "structure", - "members": {} - } - }, - "SetLoadBalancerListenerSSLCertificate": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "LoadBalancerPort", - "SSLCertificateId" - ], - "members": { - "LoadBalancerName": {}, - "LoadBalancerPort": { - "type": "integer" - }, - "SSLCertificateId": {} - } - }, - "output": { - "resultWrapper": "SetLoadBalancerListenerSSLCertificateResult", - "type": "structure", - "members": {} - } - }, - "SetLoadBalancerPoliciesForBackendServer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "InstancePort", - "PolicyNames" - ], - "members": { - "LoadBalancerName": {}, - "InstancePort": { - "type": "integer" - }, - "PolicyNames": { - "shape": "S2s" - } - } - }, - "output": { - "resultWrapper": "SetLoadBalancerPoliciesForBackendServerResult", - "type": "structure", - "members": {} - } - }, - "SetLoadBalancerPoliciesOfListener": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerName", - "LoadBalancerPort", - "PolicyNames" - ], - "members": { - "LoadBalancerName": {}, - "LoadBalancerPort": { - "type": "integer" - }, - "PolicyNames": { - "shape": "S2s" - } - } - }, - "output": { - "resultWrapper": "SetLoadBalancerPoliciesOfListenerResult", - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S4": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sa": { - "type": "list", - "member": {} - }, - "Se": { - "type": "list", - "member": {} - }, - "Si": { - "type": "structure", - "required": [ - "Target", - "Interval", - "Timeout", - "UnhealthyThreshold", - "HealthyThreshold" - ], - "members": { - "Target": {}, - "Interval": { - "type": "integer" - }, - "Timeout": { - "type": "integer" - }, - "UnhealthyThreshold": { - "type": "integer" - }, - "HealthyThreshold": { - "type": "integer" - } - } - }, - "Sx": { - "type": "list", - "member": { - "shape": "Sy" - } - }, - "Sy": { - "type": "structure", - "required": [ - "Protocol", - "LoadBalancerPort", - "InstancePort" - ], - "members": { - "Protocol": {}, - "LoadBalancerPort": { - "type": "integer" - }, - "InstanceProtocol": {}, - "InstancePort": { - "type": "integer" - }, - "SSLCertificateId": {} - } - }, - "S13": { - "type": "list", - "member": {} - }, - "S1p": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {} - } - } - }, - "S2a": { - "type": "structure", - "members": { - "CrossZoneLoadBalancing": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - } - } - }, - "AccessLog": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "S3BucketName": {}, - "EmitInterval": { - "type": "integer" - }, - "S3BucketPrefix": {} - } - }, - "ConnectionDraining": { - "type": "structure", - "required": [ - "Enabled" - ], - "members": { - "Enabled": { - "type": "boolean" - }, - "Timeout": { - "type": "integer" - } - } - }, - "ConnectionSettings": { - "type": "structure", - "required": [ - "IdleTimeout" - ], - "members": { - "IdleTimeout": { - "type": "integer" - } - } - }, - "AdditionalAttributes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } - } - }, - "S2s": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json b/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json deleted file mode 100644 index 85742cc..0000000 --- a/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "pagination": { - "DescribeInstanceHealth": { - "result_key": "InstanceStates" - }, - "DescribeLoadBalancerPolicies": { - "result_key": "PolicyDescriptions" - }, - "DescribeLoadBalancerPolicyTypes": { - "result_key": "PolicyTypeDescriptions" - }, - "DescribeLoadBalancers": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "LoadBalancerDescriptions" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.waiters2.json b/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.waiters2.json deleted file mode 100644 index 182e070..0000000 --- a/src/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.waiters2.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "version":2, - "waiters":{ - "InstanceDeregistered": { - "delay": 15, - "operation": "DescribeInstanceHealth", - "maxAttempts": 40, - "acceptors": [ - { - "expected": "OutOfService", - "matcher": "pathAll", - "state": "success", - "argument": "InstanceStates[].State" - }, - { - "matcher": "error", - "expected": "InvalidInstance", - "state": "success" - } - ] - }, - "AnyInstanceInService":{ - "acceptors":[ - { - "argument":"InstanceStates[].State", - "expected":"InService", - "matcher":"pathAny", - "state":"success" - } - ], - "delay":15, - "maxAttempts":40, - "operation":"DescribeInstanceHealth" - }, - "InstanceInService":{ - "acceptors":[ - { - "argument":"InstanceStates[].State", - "expected":"InService", - "matcher":"pathAll", - "state":"success" - }, - { - "matcher": "error", - "expected": "InvalidInstance", - "state": "retry" - } - ], - "delay":15, - "maxAttempts":40, - "operation":"DescribeInstanceHealth" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.examples.json b/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.examples.json deleted file mode 100644 index 508b099..0000000 --- a/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.examples.json +++ /dev/null @@ -1,1384 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AddTags": [ - { - "input": { - "ResourceArns": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - ], - "Tags": [ - { - "Key": "project", - "Value": "lima" - }, - { - "Key": "department", - "Value": "digital-media" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds the specified tags to the specified load balancer.", - "id": "elbv2-add-tags-1", - "title": "To add tags to a load balancer" - } - ], - "CreateListener": [ - { - "input": { - "DefaultActions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "Port": 80, - "Protocol": "HTTP" - }, - "output": { - "Listeners": [ - { - "DefaultActions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2", - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "Port": 80, - "Protocol": "HTTP" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an HTTP listener for the specified load balancer that forwards requests to the specified target group.", - "id": "elbv2-create-listener-1", - "title": "To create an HTTP listener" - }, - { - "input": { - "Certificates": [ - { - "CertificateArn": "arn:aws:iam::123456789012:server-certificate/my-server-cert" - } - ], - "DefaultActions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "Port": 443, - "Protocol": "HTTPS", - "SslPolicy": "ELBSecurityPolicy-2015-05" - }, - "output": { - "Listeners": [ - { - "Certificates": [ - { - "CertificateArn": "arn:aws:iam::123456789012:server-certificate/my-server-cert" - } - ], - "DefaultActions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2", - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "Port": 443, - "Protocol": "HTTPS", - "SslPolicy": "ELBSecurityPolicy-2015-05" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an HTTPS listener for the specified load balancer that forwards requests to the specified target group. Note that you must specify an SSL certificate for an HTTPS listener. You can create and manage certificates using AWS Certificate Manager (ACM). Alternatively, you can create a certificate using SSL/TLS tools, get the certificate signed by a certificate authority (CA), and upload the certificate to AWS Identity and Access Management (IAM).", - "id": "elbv2-create-listener-2", - "title": "To create an HTTPS listener" - } - ], - "CreateLoadBalancer": [ - { - "input": { - "Name": "my-load-balancer", - "Subnets": [ - "subnet-b7d581c0", - "subnet-8360a9e7" - ] - }, - "output": { - "LoadBalancers": [ - { - "AvailabilityZones": [ - { - "SubnetId": "subnet-8360a9e7", - "ZoneName": "us-west-2a" - }, - { - "SubnetId": "subnet-b7d581c0", - "ZoneName": "us-west-2b" - } - ], - "CanonicalHostedZoneId": "Z2P70J7EXAMPLE", - "CreatedTime": "2016-03-25T21:26:12.920Z", - "DNSName": "my-load-balancer-424835706.us-west-2.elb.amazonaws.com", - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "LoadBalancerName": "my-load-balancer", - "Scheme": "internet-facing", - "SecurityGroups": [ - "sg-5943793c" - ], - "State": { - "Code": "provisioning" - }, - "Type": "application", - "VpcId": "vpc-3ac0fb5f" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an Internet-facing load balancer and enables the Availability Zones for the specified subnets.", - "id": "elbv2-create-load-balancer-1", - "title": "To create an Internet-facing load balancer" - }, - { - "input": { - "Name": "my-internal-load-balancer", - "Scheme": "internal", - "SecurityGroups": [ - - ], - "Subnets": [ - "subnet-b7d581c0", - "subnet-8360a9e7" - ] - }, - "output": { - "LoadBalancers": [ - { - "AvailabilityZones": [ - { - "SubnetId": "subnet-8360a9e7", - "ZoneName": "us-west-2a" - }, - { - "SubnetId": "subnet-b7d581c0", - "ZoneName": "us-west-2b" - } - ], - "CanonicalHostedZoneId": "Z2P70J7EXAMPLE", - "CreatedTime": "2016-03-25T21:29:48.850Z", - "DNSName": "internal-my-internal-load-balancer-1529930873.us-west-2.elb.amazonaws.com", - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-internal-load-balancer/5b49b8d4303115c2", - "LoadBalancerName": "my-internal-load-balancer", - "Scheme": "internal", - "SecurityGroups": [ - "sg-5943793c" - ], - "State": { - "Code": "provisioning" - }, - "Type": "application", - "VpcId": "vpc-3ac0fb5f" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates an internal load balancer and enables the Availability Zones for the specified subnets.", - "id": "elbv2-create-load-balancer-2", - "title": "To create an internal load balancer" - } - ], - "CreateRule": [ - { - "input": { - "Actions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "Conditions": [ - { - "Field": "path-pattern", - "Values": [ - "/img/*" - ] - } - ], - "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2", - "Priority": 10 - }, - "output": { - "Rules": [ - { - "Actions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "Conditions": [ - { - "Field": "path-pattern", - "Values": [ - "/img/*" - ] - } - ], - "IsDefault": false, - "Priority": "10", - "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a rule that forwards requests to the specified target group if the URL contains the specified pattern (for example, /img/*).", - "id": "elbv2-create-rule-1", - "title": "To create a rule" - } - ], - "CreateTargetGroup": [ - { - "input": { - "Name": "my-targets", - "Port": 80, - "Protocol": "HTTP", - "VpcId": "vpc-3ac0fb5f" - }, - "output": { - "TargetGroups": [ - { - "HealthCheckIntervalSeconds": 30, - "HealthCheckPath": "/", - "HealthCheckPort": "traffic-port", - "HealthCheckProtocol": "HTTP", - "HealthCheckTimeoutSeconds": 5, - "HealthyThresholdCount": 5, - "Matcher": { - "HttpCode": "200" - }, - "Port": 80, - "Protocol": "HTTP", - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "TargetGroupName": "my-targets", - "UnhealthyThresholdCount": 2, - "VpcId": "vpc-3ac0fb5f" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example creates a target group that you can use to route traffic to targets using HTTP on port 80. This target group uses the default health check configuration.", - "id": "elbv2-create-target-group-1", - "title": "To create a target group" - } - ], - "DeleteListener": [ - { - "input": { - "ListenerArn": "arn:aws:elasticloadbalancing:ua-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified listener.", - "id": "elbv2-delete-listener-1", - "title": "To delete a listener" - } - ], - "DeleteLoadBalancer": [ - { - "input": { - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified load balancer.", - "id": "elbv2-delete-load-balancer-1", - "title": "To delete a load balancer" - } - ], - "DeleteRule": [ - { - "input": { - "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/1291d13826f405c3" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified rule.", - "id": "elbv2-delete-rule-1", - "title": "To delete a rule" - } - ], - "DeleteTargetGroup": [ - { - "input": { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified target group.", - "id": "elbv2-delete-target-group-1", - "title": "To delete a target group" - } - ], - "DeregisterTargets": [ - { - "input": { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Targets": [ - { - "Id": "i-0f76fade" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deregisters the specified instance from the specified target group.", - "id": "elbv2-deregister-targets-1", - "title": "To deregister a target from a target group" - } - ], - "DescribeListeners": [ - { - "input": { - "ListenerArns": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2" - ] - }, - "output": { - "Listeners": [ - { - "DefaultActions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2", - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "Port": 80, - "Protocol": "HTTP" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified listener.", - "id": "elbv2-describe-listeners-1", - "title": "To describe a listener" - } - ], - "DescribeLoadBalancerAttributes": [ - { - "input": { - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - }, - "output": { - "Attributes": [ - { - "Key": "access_logs.s3.enabled", - "Value": "false" - }, - { - "Key": "idle_timeout.timeout_seconds", - "Value": "60" - }, - { - "Key": "access_logs.s3.prefix", - "Value": "" - }, - { - "Key": "deletion_protection.enabled", - "Value": "false" - }, - { - "Key": "access_logs.s3.bucket", - "Value": "" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the attributes of the specified load balancer.", - "id": "elbv2-describe-load-balancer-attributes-1", - "title": "To describe load balancer attributes" - } - ], - "DescribeLoadBalancers": [ - { - "input": { - "LoadBalancerArns": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - ] - }, - "output": { - "LoadBalancers": [ - { - "AvailabilityZones": [ - { - "SubnetId": "subnet-8360a9e7", - "ZoneName": "us-west-2a" - }, - { - "SubnetId": "subnet-b7d581c0", - "ZoneName": "us-west-2b" - } - ], - "CanonicalHostedZoneId": "Z2P70J7EXAMPLE", - "CreatedTime": "2016-03-25T21:26:12.920Z", - "DNSName": "my-load-balancer-424835706.us-west-2.elb.amazonaws.com", - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "LoadBalancerName": "my-load-balancer", - "Scheme": "internet-facing", - "SecurityGroups": [ - "sg-5943793c" - ], - "State": { - "Code": "active" - }, - "Type": "application", - "VpcId": "vpc-3ac0fb5f" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified load balancer.", - "id": "elbv2-describe-load-balancers-1", - "title": "To describe a load balancer" - } - ], - "DescribeRules": [ - { - "input": { - "RuleArns": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee" - ] - }, - "output": { - "Rules": [ - { - "Actions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "Conditions": [ - { - "Field": "path-pattern", - "Values": [ - "/img/*" - ] - } - ], - "IsDefault": false, - "Priority": "10", - "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified rule.", - "id": "elbv2-describe-rules-1", - "title": "To describe a rule" - } - ], - "DescribeSSLPolicies": [ - { - "input": { - "Names": [ - "ELBSecurityPolicy-2015-05" - ] - }, - "output": { - "SslPolicies": [ - { - "Ciphers": [ - { - "Name": "ECDHE-ECDSA-AES128-GCM-SHA256", - "Priority": 1 - }, - { - "Name": "ECDHE-RSA-AES128-GCM-SHA256", - "Priority": 2 - }, - { - "Name": "ECDHE-ECDSA-AES128-SHA256", - "Priority": 3 - }, - { - "Name": "ECDHE-RSA-AES128-SHA256", - "Priority": 4 - }, - { - "Name": "ECDHE-ECDSA-AES128-SHA", - "Priority": 5 - }, - { - "Name": "ECDHE-RSA-AES128-SHA", - "Priority": 6 - }, - { - "Name": "DHE-RSA-AES128-SHA", - "Priority": 7 - }, - { - "Name": "ECDHE-ECDSA-AES256-GCM-SHA384", - "Priority": 8 - }, - { - "Name": "ECDHE-RSA-AES256-GCM-SHA384", - "Priority": 9 - }, - { - "Name": "ECDHE-ECDSA-AES256-SHA384", - "Priority": 10 - }, - { - "Name": "ECDHE-RSA-AES256-SHA384", - "Priority": 11 - }, - { - "Name": "ECDHE-RSA-AES256-SHA", - "Priority": 12 - }, - { - "Name": "ECDHE-ECDSA-AES256-SHA", - "Priority": 13 - }, - { - "Name": "AES128-GCM-SHA256", - "Priority": 14 - }, - { - "Name": "AES128-SHA256", - "Priority": 15 - }, - { - "Name": "AES128-SHA", - "Priority": 16 - }, - { - "Name": "AES256-GCM-SHA384", - "Priority": 17 - }, - { - "Name": "AES256-SHA256", - "Priority": 18 - }, - { - "Name": "AES256-SHA", - "Priority": 19 - } - ], - "Name": "ELBSecurityPolicy-2015-05", - "SslProtocols": [ - "TLSv1", - "TLSv1.1", - "TLSv1.2" - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified policy used for SSL negotiation.", - "id": "elbv2-describe-ssl-policies-1", - "title": "To describe a policy used for SSL negotiation" - } - ], - "DescribeTags": [ - { - "input": { - "ResourceArns": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - ] - }, - "output": { - "TagDescriptions": [ - { - "ResourceArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "Tags": [ - { - "Key": "project", - "Value": "lima" - }, - { - "Key": "department", - "Value": "digital-media" - } - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the tags assigned to the specified load balancer.", - "id": "elbv2-describe-tags-1", - "title": "To describe the tags assigned to a load balancer" - } - ], - "DescribeTargetGroupAttributes": [ - { - "input": { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" - }, - "output": { - "Attributes": [ - { - "Key": "stickiness.enabled", - "Value": "false" - }, - { - "Key": "deregistration_delay.timeout_seconds", - "Value": "300" - }, - { - "Key": "stickiness.type", - "Value": "lb_cookie" - }, - { - "Key": "stickiness.lb_cookie.duration_seconds", - "Value": "86400" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the attributes of the specified target group.", - "id": "elbv2-describe-target-group-attributes-1", - "title": "To describe target group attributes" - } - ], - "DescribeTargetGroups": [ - { - "input": { - "TargetGroupArns": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" - ] - }, - "output": { - "TargetGroups": [ - { - "HealthCheckIntervalSeconds": 30, - "HealthCheckPath": "/", - "HealthCheckPort": "traffic-port", - "HealthCheckProtocol": "HTTP", - "HealthCheckTimeoutSeconds": 5, - "HealthyThresholdCount": 5, - "LoadBalancerArns": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - ], - "Matcher": { - "HttpCode": "200" - }, - "Port": 80, - "Protocol": "HTTP", - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "TargetGroupName": "my-targets", - "UnhealthyThresholdCount": 2, - "VpcId": "vpc-3ac0fb5f" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the specified target group.", - "id": "elbv2-describe-target-groups-1", - "title": "To describe a target group" - } - ], - "DescribeTargetHealth": [ - { - "input": { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" - }, - "output": { - "TargetHealthDescriptions": [ - { - "Target": { - "Id": "i-0f76fade", - "Port": 80 - }, - "TargetHealth": { - "Description": "Given target group is not configured to receive traffic from ELB", - "Reason": "Target.NotInUse", - "State": "unused" - } - }, - { - "HealthCheckPort": "80", - "Target": { - "Id": "i-0f76fade", - "Port": 80 - }, - "TargetHealth": { - "State": "healthy" - } - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the health of the targets for the specified target group. One target is healthy but the other is not specified in an action, so it can't receive traffic from the load balancer.", - "id": "elbv2-describe-target-health-1", - "title": "To describe the health of the targets for a target group" - }, - { - "input": { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Targets": [ - { - "Id": "i-0f76fade", - "Port": 80 - } - ] - }, - "output": { - "TargetHealthDescriptions": [ - { - "HealthCheckPort": "80", - "Target": { - "Id": "i-0f76fade", - "Port": 80 - }, - "TargetHealth": { - "State": "healthy" - } - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example describes the health of the specified target. This target is healthy.", - "id": "elbv2-describe-target-health-2", - "title": "To describe the health of a target" - } - ], - "ModifyListener": [ - { - "input": { - "DefaultActions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f", - "Type": "forward" - } - ], - "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2" - }, - "output": { - "Listeners": [ - { - "DefaultActions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f", - "Type": "forward" - } - ], - "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2", - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "Port": 80, - "Protocol": "HTTP" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example changes the default action for the specified listener.", - "id": "elbv2-modify-listener-1", - "title": "To change the default action for a listener" - }, - { - "input": { - "Certificates": [ - { - "CertificateArn": "arn:aws:iam::123456789012:server-certificate/my-new-server-cert" - } - ], - "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65" - }, - "output": { - "Listeners": [ - { - "Certificates": [ - { - "CertificateArn": "arn:aws:iam::123456789012:server-certificate/my-new-server-cert" - } - ], - "DefaultActions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65", - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "Port": 443, - "Protocol": "HTTPS", - "SslPolicy": "ELBSecurityPolicy-2015-05" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example changes the server certificate for the specified HTTPS listener.", - "id": "elbv2-modify-listener-2", - "title": "To change the server certificate" - } - ], - "ModifyLoadBalancerAttributes": [ - { - "input": { - "Attributes": [ - { - "Key": "deletion_protection.enabled", - "Value": "true" - } - ], - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - }, - "output": { - "Attributes": [ - { - "Key": "deletion_protection.enabled", - "Value": "true" - }, - { - "Key": "access_logs.s3.enabled", - "Value": "false" - }, - { - "Key": "idle_timeout.timeout_seconds", - "Value": "60" - }, - { - "Key": "access_logs.s3.prefix", - "Value": "" - }, - { - "Key": "access_logs.s3.bucket", - "Value": "" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example enables deletion protection for the specified load balancer.", - "id": "elbv2-modify-load-balancer-attributes-1", - "title": "To enable deletion protection" - }, - { - "input": { - "Attributes": [ - { - "Key": "idle_timeout.timeout_seconds", - "Value": "30" - } - ], - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - }, - "output": { - "Attributes": [ - { - "Key": "idle_timeout.timeout_seconds", - "Value": "30" - }, - { - "Key": "access_logs.s3.enabled", - "Value": "false" - }, - { - "Key": "access_logs.s3.prefix", - "Value": "" - }, - { - "Key": "deletion_protection.enabled", - "Value": "true" - }, - { - "Key": "access_logs.s3.bucket", - "Value": "" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example changes the idle timeout value for the specified load balancer.", - "id": "elbv2-modify-load-balancer-attributes-2", - "title": "To change the idle timeout" - }, - { - "input": { - "Attributes": [ - { - "Key": "access_logs.s3.enabled", - "Value": "true" - }, - { - "Key": "access_logs.s3.bucket", - "Value": "my-loadbalancer-logs" - }, - { - "Key": "access_logs.s3.prefix", - "Value": "myapp" - } - ], - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - }, - "output": { - "Attributes": [ - { - "Key": "access_logs.s3.enabled", - "Value": "true" - }, - { - "Key": "access_logs.s3.bucket", - "Value": "my-load-balancer-logs" - }, - { - "Key": "access_logs.s3.prefix", - "Value": "myapp" - }, - { - "Key": "idle_timeout.timeout_seconds", - "Value": "60" - }, - { - "Key": "deletion_protection.enabled", - "Value": "false" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example enables access logs for the specified load balancer. Note that the S3 bucket must exist in the same region as the load balancer and must have a policy attached that grants access to the Elastic Load Balancing service.", - "id": "elbv2-modify-load-balancer-attributes-3", - "title": "To enable access logs" - } - ], - "ModifyRule": [ - { - "input": { - "Conditions": [ - { - "Field": "path-pattern", - "Values": [ - "/images/*" - ] - } - ], - "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee" - }, - "output": { - "Rules": [ - { - "Actions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "Conditions": [ - { - "Field": "path-pattern", - "Values": [ - "/images/*" - ] - } - ], - "IsDefault": false, - "Priority": "10", - "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example modifies the condition for the specified rule.", - "id": "elbv2-modify-rule-1", - "title": "To modify a rule" - } - ], - "ModifyTargetGroup": [ - { - "input": { - "HealthCheckPort": "443", - "HealthCheckProtocol": "HTTPS", - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-https-targets/2453ed029918f21f" - }, - "output": { - "TargetGroups": [ - { - "HealthCheckIntervalSeconds": 30, - "HealthCheckPort": "443", - "HealthCheckProtocol": "HTTPS", - "HealthCheckTimeoutSeconds": 5, - "HealthyThresholdCount": 5, - "LoadBalancerArns": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - ], - "Matcher": { - "HttpCode": "200" - }, - "Port": 443, - "Protocol": "HTTPS", - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-https-targets/2453ed029918f21f", - "TargetGroupName": "my-https-targets", - "UnhealthyThresholdCount": 2, - "VpcId": "vpc-3ac0fb5f" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example changes the configuration of the health checks used to evaluate the health of the targets for the specified target group.", - "id": "elbv2-modify-target-group-1", - "title": "To modify the health check configuration for a target group" - } - ], - "ModifyTargetGroupAttributes": [ - { - "input": { - "Attributes": [ - { - "Key": "deregistration_delay.timeout_seconds", - "Value": "600" - } - ], - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" - }, - "output": { - "Attributes": [ - { - "Key": "stickiness.enabled", - "Value": "false" - }, - { - "Key": "deregistration_delay.timeout_seconds", - "Value": "600" - }, - { - "Key": "stickiness.type", - "Value": "lb_cookie" - }, - { - "Key": "stickiness.lb_cookie.duration_seconds", - "Value": "86400" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example sets the deregistration delay timeout to the specified value for the specified target group.", - "id": "elbv2-modify-target-group-attributes-1", - "title": "To modify the deregistration delay timeout" - } - ], - "RegisterTargets": [ - { - "input": { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Targets": [ - { - "Id": "i-80c8dd94" - }, - { - "Id": "i-ceddcd4d" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example registers the specified instances with the specified target group.", - "id": "elbv2-register-targets-1", - "title": "To register targets with a target group" - }, - { - "input": { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/3bb63f11dfb0faf9", - "Targets": [ - { - "Id": "i-80c8dd94", - "Port": 80 - }, - { - "Id": "i-80c8dd94", - "Port": 766 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example registers the specified instance with the specified target group using multiple ports. This enables you to register ECS containers on the same instance as targets in the target group.", - "id": "elbv2-register-targets-2", - "title": "To register targets with a target group using port overrides" - } - ], - "RemoveTags": [ - { - "input": { - "ResourceArns": [ - "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" - ], - "TagKeys": [ - "project", - "department" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example removes the specified tags from the specified load balancer.", - "id": "elbv2-remove-tags-1", - "title": "To remove tags from a load balancer" - } - ], - "SetRulePriorities": [ - { - "input": { - "RulePriorities": [ - { - "Priority": 5, - "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/1291d13826f405c3" - } - ] - }, - "output": { - "Rules": [ - { - "Actions": [ - { - "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", - "Type": "forward" - } - ], - "Conditions": [ - { - "Field": "path-pattern", - "Values": [ - "/img/*" - ] - } - ], - "IsDefault": false, - "Priority": "5", - "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/1291d13826f405c3" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example sets the priority of the specified rule.", - "id": "elbv2-set-rule-priorities-1", - "title": "To set the rule priority" - } - ], - "SetSecurityGroups": [ - { - "input": { - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "SecurityGroups": [ - "sg-5943793c" - ] - }, - "output": { - "SecurityGroupIds": [ - "sg-5943793c" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example associates the specified security group with the specified load balancer.", - "id": "elbv2-set-security-groups-1", - "title": "To associate a security group with a load balancer" - } - ], - "SetSubnets": [ - { - "input": { - "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "Subnets": [ - "subnet-8360a9e7", - "subnet-b7d581c0" - ] - }, - "output": { - "AvailabilityZones": [ - { - "SubnetId": "subnet-8360a9e7", - "ZoneName": "us-west-2a" - }, - { - "SubnetId": "subnet-b7d581c0", - "ZoneName": "us-west-2b" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example enables the Availability Zones for the specified subnets for the specified load balancer.", - "id": "elbv2-set-subnets-1", - "title": "To enable Availability Zones for a load balancer" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json b/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json deleted file mode 100644 index 83d217e..0000000 --- a/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +++ /dev/null @@ -1,1078 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-12-01", - "endpointPrefix": "elasticloadbalancing", - "protocol": "query", - "serviceAbbreviation": "Elastic Load Balancing v2", - "serviceFullName": "Elastic Load Balancing", - "signatureVersion": "v4", - "uid": "elasticloadbalancingv2-2015-12-01", - "xmlNamespace": "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/" - }, - "operations": { - "AddTags": { - "input": { - "type": "structure", - "required": [ - "ResourceArns", - "Tags" - ], - "members": { - "ResourceArns": { - "shape": "S2" - }, - "Tags": { - "shape": "S4" - } - } - }, - "output": { - "resultWrapper": "AddTagsResult", - "type": "structure", - "members": {} - } - }, - "CreateListener": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerArn", - "Protocol", - "Port", - "DefaultActions" - ], - "members": { - "LoadBalancerArn": {}, - "Protocol": {}, - "Port": { - "type": "integer" - }, - "SslPolicy": {}, - "Certificates": { - "shape": "Se" - }, - "DefaultActions": { - "shape": "Sh" - } - } - }, - "output": { - "resultWrapper": "CreateListenerResult", - "type": "structure", - "members": { - "Listeners": { - "shape": "Sm" - } - } - } - }, - "CreateLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "Name", - "Subnets" - ], - "members": { - "Name": {}, - "Subnets": { - "shape": "Sr" - }, - "SecurityGroups": { - "shape": "St" - }, - "Scheme": {}, - "Tags": { - "shape": "S4" - }, - "IpAddressType": {} - } - }, - "output": { - "resultWrapper": "CreateLoadBalancerResult", - "type": "structure", - "members": { - "LoadBalancers": { - "shape": "Sy" - } - } - } - }, - "CreateRule": { - "input": { - "type": "structure", - "required": [ - "ListenerArn", - "Conditions", - "Priority", - "Actions" - ], - "members": { - "ListenerArn": {}, - "Conditions": { - "shape": "S1c" - }, - "Priority": { - "type": "integer" - }, - "Actions": { - "shape": "Sh" - } - } - }, - "output": { - "resultWrapper": "CreateRuleResult", - "type": "structure", - "members": { - "Rules": { - "shape": "S1j" - } - } - } - }, - "CreateTargetGroup": { - "input": { - "type": "structure", - "required": [ - "Name", - "Protocol", - "Port", - "VpcId" - ], - "members": { - "Name": {}, - "Protocol": {}, - "Port": { - "type": "integer" - }, - "VpcId": {}, - "HealthCheckProtocol": {}, - "HealthCheckPort": {}, - "HealthCheckPath": {}, - "HealthCheckIntervalSeconds": { - "type": "integer" - }, - "HealthCheckTimeoutSeconds": { - "type": "integer" - }, - "HealthyThresholdCount": { - "type": "integer" - }, - "UnhealthyThresholdCount": { - "type": "integer" - }, - "Matcher": { - "shape": "S1v" - } - } - }, - "output": { - "resultWrapper": "CreateTargetGroupResult", - "type": "structure", - "members": { - "TargetGroups": { - "shape": "S1y" - } - } - } - }, - "DeleteListener": { - "input": { - "type": "structure", - "required": [ - "ListenerArn" - ], - "members": { - "ListenerArn": {} - } - }, - "output": { - "resultWrapper": "DeleteListenerResult", - "type": "structure", - "members": {} - } - }, - "DeleteLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerArn" - ], - "members": { - "LoadBalancerArn": {} - } - }, - "output": { - "resultWrapper": "DeleteLoadBalancerResult", - "type": "structure", - "members": {} - } - }, - "DeleteRule": { - "input": { - "type": "structure", - "required": [ - "RuleArn" - ], - "members": { - "RuleArn": {} - } - }, - "output": { - "resultWrapper": "DeleteRuleResult", - "type": "structure", - "members": {} - } - }, - "DeleteTargetGroup": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn" - ], - "members": { - "TargetGroupArn": {} - } - }, - "output": { - "resultWrapper": "DeleteTargetGroupResult", - "type": "structure", - "members": {} - } - }, - "DeregisterTargets": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn", - "Targets" - ], - "members": { - "TargetGroupArn": {}, - "Targets": { - "shape": "S2a" - } - } - }, - "output": { - "resultWrapper": "DeregisterTargetsResult", - "type": "structure", - "members": {} - } - }, - "DescribeAccountLimits": { - "input": { - "type": "structure", - "members": { - "Marker": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeAccountLimitsResult", - "type": "structure", - "members": { - "Limits": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Max": {} - } - } - }, - "NextMarker": {} - } - } - }, - "DescribeListeners": { - "input": { - "type": "structure", - "members": { - "LoadBalancerArn": {}, - "ListenerArns": { - "type": "list", - "member": {} - }, - "Marker": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeListenersResult", - "type": "structure", - "members": { - "Listeners": { - "shape": "Sm" - }, - "NextMarker": {} - } - } - }, - "DescribeLoadBalancerAttributes": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerArn" - ], - "members": { - "LoadBalancerArn": {} - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancerAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "S2r" - } - } - } - }, - "DescribeLoadBalancers": { - "input": { - "type": "structure", - "members": { - "LoadBalancerArns": { - "shape": "S20" - }, - "Names": { - "type": "list", - "member": {} - }, - "Marker": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeLoadBalancersResult", - "type": "structure", - "members": { - "LoadBalancers": { - "shape": "Sy" - }, - "NextMarker": {} - } - } - }, - "DescribeRules": { - "input": { - "type": "structure", - "members": { - "ListenerArn": {}, - "RuleArns": { - "type": "list", - "member": {} - }, - "Marker": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeRulesResult", - "type": "structure", - "members": { - "Rules": { - "shape": "S1j" - }, - "NextMarker": {} - } - } - }, - "DescribeSSLPolicies": { - "input": { - "type": "structure", - "members": { - "Names": { - "type": "list", - "member": {} - }, - "Marker": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeSSLPoliciesResult", - "type": "structure", - "members": { - "SslPolicies": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SslProtocols": { - "type": "list", - "member": {} - }, - "Ciphers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Priority": { - "type": "integer" - } - } - } - }, - "Name": {} - } - } - }, - "NextMarker": {} - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "required": [ - "ResourceArns" - ], - "members": { - "ResourceArns": { - "shape": "S2" - } - } - }, - "output": { - "resultWrapper": "DescribeTagsResult", - "type": "structure", - "members": { - "TagDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceArn": {}, - "Tags": { - "shape": "S4" - } - } - } - } - } - } - }, - "DescribeTargetGroupAttributes": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn" - ], - "members": { - "TargetGroupArn": {} - } - }, - "output": { - "resultWrapper": "DescribeTargetGroupAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "S3i" - } - } - } - }, - "DescribeTargetGroups": { - "input": { - "type": "structure", - "members": { - "LoadBalancerArn": {}, - "TargetGroupArns": { - "type": "list", - "member": {} - }, - "Names": { - "type": "list", - "member": {} - }, - "Marker": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribeTargetGroupsResult", - "type": "structure", - "members": { - "TargetGroups": { - "shape": "S1y" - }, - "NextMarker": {} - } - } - }, - "DescribeTargetHealth": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn" - ], - "members": { - "TargetGroupArn": {}, - "Targets": { - "shape": "S2a" - } - } - }, - "output": { - "resultWrapper": "DescribeTargetHealthResult", - "type": "structure", - "members": { - "TargetHealthDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Target": { - "shape": "S2b" - }, - "HealthCheckPort": {}, - "TargetHealth": { - "type": "structure", - "members": { - "State": {}, - "Reason": {}, - "Description": {} - } - } - } - } - } - } - } - }, - "ModifyListener": { - "input": { - "type": "structure", - "required": [ - "ListenerArn" - ], - "members": { - "ListenerArn": {}, - "Port": { - "type": "integer" - }, - "Protocol": {}, - "SslPolicy": {}, - "Certificates": { - "shape": "Se" - }, - "DefaultActions": { - "shape": "Sh" - } - } - }, - "output": { - "resultWrapper": "ModifyListenerResult", - "type": "structure", - "members": { - "Listeners": { - "shape": "Sm" - } - } - } - }, - "ModifyLoadBalancerAttributes": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerArn", - "Attributes" - ], - "members": { - "LoadBalancerArn": {}, - "Attributes": { - "shape": "S2r" - } - } - }, - "output": { - "resultWrapper": "ModifyLoadBalancerAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "S2r" - } - } - } - }, - "ModifyRule": { - "input": { - "type": "structure", - "required": [ - "RuleArn" - ], - "members": { - "RuleArn": {}, - "Conditions": { - "shape": "S1c" - }, - "Actions": { - "shape": "Sh" - } - } - }, - "output": { - "resultWrapper": "ModifyRuleResult", - "type": "structure", - "members": { - "Rules": { - "shape": "S1j" - } - } - } - }, - "ModifyTargetGroup": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn" - ], - "members": { - "TargetGroupArn": {}, - "HealthCheckProtocol": {}, - "HealthCheckPort": {}, - "HealthCheckPath": {}, - "HealthCheckIntervalSeconds": { - "type": "integer" - }, - "HealthCheckTimeoutSeconds": { - "type": "integer" - }, - "HealthyThresholdCount": { - "type": "integer" - }, - "UnhealthyThresholdCount": { - "type": "integer" - }, - "Matcher": { - "shape": "S1v" - } - } - }, - "output": { - "resultWrapper": "ModifyTargetGroupResult", - "type": "structure", - "members": { - "TargetGroups": { - "shape": "S1y" - } - } - } - }, - "ModifyTargetGroupAttributes": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn", - "Attributes" - ], - "members": { - "TargetGroupArn": {}, - "Attributes": { - "shape": "S3i" - } - } - }, - "output": { - "resultWrapper": "ModifyTargetGroupAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "S3i" - } - } - } - }, - "RegisterTargets": { - "input": { - "type": "structure", - "required": [ - "TargetGroupArn", - "Targets" - ], - "members": { - "TargetGroupArn": {}, - "Targets": { - "shape": "S2a" - } - } - }, - "output": { - "resultWrapper": "RegisterTargetsResult", - "type": "structure", - "members": {} - } - }, - "RemoveTags": { - "input": { - "type": "structure", - "required": [ - "ResourceArns", - "TagKeys" - ], - "members": { - "ResourceArns": { - "shape": "S2" - }, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "RemoveTagsResult", - "type": "structure", - "members": {} - } - }, - "SetIpAddressType": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerArn", - "IpAddressType" - ], - "members": { - "LoadBalancerArn": {}, - "IpAddressType": {} - } - }, - "output": { - "resultWrapper": "SetIpAddressTypeResult", - "type": "structure", - "members": { - "IpAddressType": {} - } - } - }, - "SetRulePriorities": { - "input": { - "type": "structure", - "required": [ - "RulePriorities" - ], - "members": { - "RulePriorities": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RuleArn": {}, - "Priority": { - "type": "integer" - } - } - } - } - } - }, - "output": { - "resultWrapper": "SetRulePrioritiesResult", - "type": "structure", - "members": { - "Rules": { - "shape": "S1j" - } - } - } - }, - "SetSecurityGroups": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerArn", - "SecurityGroups" - ], - "members": { - "LoadBalancerArn": {}, - "SecurityGroups": { - "shape": "St" - } - } - }, - "output": { - "resultWrapper": "SetSecurityGroupsResult", - "type": "structure", - "members": { - "SecurityGroupIds": { - "shape": "St" - } - } - } - }, - "SetSubnets": { - "input": { - "type": "structure", - "required": [ - "LoadBalancerArn", - "Subnets" - ], - "members": { - "LoadBalancerArn": {}, - "Subnets": { - "shape": "Sr" - } - } - }, - "output": { - "resultWrapper": "SetSubnetsResult", - "type": "structure", - "members": { - "AvailabilityZones": { - "shape": "S18" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S4": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Se": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CertificateArn": {} - } - } - }, - "Sh": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Type", - "TargetGroupArn" - ], - "members": { - "Type": {}, - "TargetGroupArn": {} - } - } - }, - "Sm": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ListenerArn": {}, - "LoadBalancerArn": {}, - "Port": { - "type": "integer" - }, - "Protocol": {}, - "Certificates": { - "shape": "Se" - }, - "SslPolicy": {}, - "DefaultActions": { - "shape": "Sh" - } - } - } - }, - "Sr": { - "type": "list", - "member": {} - }, - "St": { - "type": "list", - "member": {} - }, - "Sy": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LoadBalancerArn": {}, - "DNSName": {}, - "CanonicalHostedZoneId": {}, - "CreatedTime": { - "type": "timestamp" - }, - "LoadBalancerName": {}, - "Scheme": {}, - "VpcId": {}, - "State": { - "type": "structure", - "members": { - "Code": {}, - "Reason": {} - } - }, - "Type": {}, - "AvailabilityZones": { - "shape": "S18" - }, - "SecurityGroups": { - "shape": "St" - }, - "IpAddressType": {} - } - } - }, - "S18": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ZoneName": {}, - "SubnetId": {} - } - } - }, - "S1c": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Field": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "S1j": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RuleArn": {}, - "Priority": {}, - "Conditions": { - "shape": "S1c" - }, - "Actions": { - "shape": "Sh" - }, - "IsDefault": { - "type": "boolean" - } - } - } - }, - "S1v": { - "type": "structure", - "required": [ - "HttpCode" - ], - "members": { - "HttpCode": {} - } - }, - "S1y": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetGroupArn": {}, - "TargetGroupName": {}, - "Protocol": {}, - "Port": { - "type": "integer" - }, - "VpcId": {}, - "HealthCheckProtocol": {}, - "HealthCheckPort": {}, - "HealthCheckIntervalSeconds": { - "type": "integer" - }, - "HealthCheckTimeoutSeconds": { - "type": "integer" - }, - "HealthyThresholdCount": { - "type": "integer" - }, - "UnhealthyThresholdCount": { - "type": "integer" - }, - "HealthCheckPath": {}, - "Matcher": { - "shape": "S1v" - }, - "LoadBalancerArns": { - "shape": "S20" - } - } - } - }, - "S20": { - "type": "list", - "member": {} - }, - "S2a": { - "type": "list", - "member": { - "shape": "S2b" - } - }, - "S2b": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": {}, - "Port": { - "type": "integer" - } - } - }, - "S2r": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S3i": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json b/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json deleted file mode 100644 index 1a281f2..0000000 --- a/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "pagination": { - "DescribeListeners": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "Listeners" - }, - "DescribeLoadBalancers": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "LoadBalancers" - }, - "DescribeTargetGroups": { - "input_token": "Marker", - "output_token": "NextMarker", - "result_key": "TargetGroups" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.waiters2.json b/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.waiters2.json deleted file mode 100644 index b4e8571..0000000 --- a/src/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.waiters2.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "version": 2, - "waiters": { - "LoadBalancerExists": { - "delay": 15, - "operation": "DescribeLoadBalancers", - "maxAttempts": 40, - "acceptors": [ - { - "matcher": "status", - "expected": 200, - "state": "success" - }, - { - "matcher": "error", - "expected": "LoadBalancerNotFound", - "state": "retry" - } - ] - }, - "LoadBalancerAvailable": { - "delay": 15, - "operation": "DescribeLoadBalancers", - "maxAttempts": 40, - "acceptors": [ - { - "state": "success", - "matcher": "pathAll", - "argument": "LoadBalancers[].State.Code", - "expected": "active" - }, - { - "state": "retry", - "matcher": "pathAny", - "argument": "LoadBalancers[].State.Code", - "expected": "provisioning" - }, - { - "state": "retry", - "matcher": "error", - "expected": "LoadBalancerNotFound" - } - ] - }, - "LoadBalancersDeleted": { - "delay": 15, - "operation": "DescribeLoadBalancers", - "maxAttempts": 40, - "acceptors": [ - { - "state": "retry", - "matcher": "pathAll", - "argument": "LoadBalancers[].State.Code", - "expected": "active" - }, - { - "matcher": "error", - "expected": "LoadBalancerNotFound", - "state": "success" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json b/src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json deleted file mode 100644 index 04fa7c4..0000000 --- a/src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +++ /dev/null @@ -1,1709 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2009-03-31", - "endpointPrefix": "elasticmapreduce", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon EMR", - "serviceFullName": "Amazon Elastic MapReduce", - "signatureVersion": "v4", - "targetPrefix": "ElasticMapReduce", - "timestampFormat": "unixTimestamp", - "uid": "elasticmapreduce-2009-03-31" - }, - "operations": { - "AddInstanceFleet": { - "input": { - "type": "structure", - "required": [ - "ClusterId", - "InstanceFleet" - ], - "members": { - "ClusterId": {}, - "InstanceFleet": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ClusterId": {}, - "InstanceFleetId": {} - } - } - }, - "AddInstanceGroups": { - "input": { - "type": "structure", - "required": [ - "InstanceGroups", - "JobFlowId" - ], - "members": { - "InstanceGroups": { - "shape": "Sq" - }, - "JobFlowId": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobFlowId": {}, - "InstanceGroupIds": { - "type": "list", - "member": {} - } - } - } - }, - "AddJobFlowSteps": { - "input": { - "type": "structure", - "required": [ - "JobFlowId", - "Steps" - ], - "members": { - "JobFlowId": {}, - "Steps": { - "shape": "S1b" - } - } - }, - "output": { - "type": "structure", - "members": { - "StepIds": { - "shape": "S1k" - } - } - } - }, - "AddTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "Tags" - ], - "members": { - "ResourceId": {}, - "Tags": { - "shape": "S1n" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CancelSteps": { - "input": { - "type": "structure", - "members": { - "ClusterId": {}, - "StepIds": { - "shape": "S1k" - } - } - }, - "output": { - "type": "structure", - "members": { - "CancelStepsInfoList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StepId": {}, - "Status": {}, - "Reason": {} - } - } - } - } - } - }, - "CreateSecurityConfiguration": { - "input": { - "type": "structure", - "required": [ - "Name", - "SecurityConfiguration" - ], - "members": { - "Name": {}, - "SecurityConfiguration": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Name", - "CreationDateTime" - ], - "members": { - "Name": {}, - "CreationDateTime": { - "type": "timestamp" - } - } - } - }, - "DeleteSecurityConfiguration": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Cluster": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Status": { - "shape": "S25" - }, - "Ec2InstanceAttributes": { - "type": "structure", - "members": { - "Ec2KeyName": {}, - "Ec2SubnetId": {}, - "RequestedEc2SubnetIds": { - "shape": "S2b" - }, - "Ec2AvailabilityZone": {}, - "RequestedEc2AvailabilityZones": { - "shape": "S2b" - }, - "IamInstanceProfile": {}, - "EmrManagedMasterSecurityGroup": {}, - "EmrManagedSlaveSecurityGroup": {}, - "ServiceAccessSecurityGroup": {}, - "AdditionalMasterSecurityGroups": { - "shape": "S2c" - }, - "AdditionalSlaveSecurityGroups": { - "shape": "S2c" - } - } - }, - "InstanceCollectionType": {}, - "LogUri": {}, - "RequestedAmiVersion": {}, - "RunningAmiVersion": {}, - "ReleaseLabel": {}, - "AutoTerminate": { - "type": "boolean" - }, - "TerminationProtected": { - "type": "boolean" - }, - "VisibleToAllUsers": { - "type": "boolean" - }, - "Applications": { - "shape": "S2f" - }, - "Tags": { - "shape": "S1n" - }, - "ServiceRole": {}, - "NormalizedInstanceHours": { - "type": "integer" - }, - "MasterPublicDnsName": {}, - "Configurations": { - "shape": "Sh" - }, - "SecurityConfiguration": {}, - "AutoScalingRole": {}, - "ScaleDownBehavior": {} - } - } - } - } - }, - "DescribeJobFlows": { - "input": { - "type": "structure", - "members": { - "CreatedAfter": { - "type": "timestamp" - }, - "CreatedBefore": { - "type": "timestamp" - }, - "JobFlowIds": { - "shape": "S1i" - }, - "JobFlowStates": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "JobFlows": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "JobFlowId", - "Name", - "ExecutionStatusDetail", - "Instances" - ], - "members": { - "JobFlowId": {}, - "Name": {}, - "LogUri": {}, - "AmiVersion": {}, - "ExecutionStatusDetail": { - "type": "structure", - "required": [ - "State", - "CreationDateTime" - ], - "members": { - "State": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "StartDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - }, - "LastStateChangeReason": {} - } - }, - "Instances": { - "type": "structure", - "required": [ - "MasterInstanceType", - "SlaveInstanceType", - "InstanceCount" - ], - "members": { - "MasterInstanceType": {}, - "MasterPublicDnsName": {}, - "MasterInstanceId": {}, - "SlaveInstanceType": {}, - "InstanceCount": { - "type": "integer" - }, - "InstanceGroups": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Market", - "InstanceRole", - "InstanceType", - "InstanceRequestCount", - "InstanceRunningCount", - "State", - "CreationDateTime" - ], - "members": { - "InstanceGroupId": {}, - "Name": {}, - "Market": {}, - "InstanceRole": {}, - "BidPrice": {}, - "InstanceType": {}, - "InstanceRequestCount": { - "type": "integer" - }, - "InstanceRunningCount": { - "type": "integer" - }, - "State": {}, - "LastStateChangeReason": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "StartDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - }, - "NormalizedInstanceHours": { - "type": "integer" - }, - "Ec2KeyName": {}, - "Ec2SubnetId": {}, - "Placement": { - "shape": "S2t" - }, - "KeepJobFlowAliveWhenNoSteps": { - "type": "boolean" - }, - "TerminationProtected": { - "type": "boolean" - }, - "HadoopVersion": {} - } - }, - "Steps": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "StepConfig", - "ExecutionStatusDetail" - ], - "members": { - "StepConfig": { - "shape": "S1c" - }, - "ExecutionStatusDetail": { - "type": "structure", - "required": [ - "State", - "CreationDateTime" - ], - "members": { - "State": {}, - "CreationDateTime": { - "type": "timestamp" - }, - "StartDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - }, - "LastStateChangeReason": {} - } - } - } - } - }, - "BootstrapActions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "BootstrapActionConfig": { - "shape": "S30" - } - } - } - }, - "SupportedProducts": { - "shape": "S32" - }, - "VisibleToAllUsers": { - "type": "boolean" - }, - "JobFlowRole": {}, - "ServiceRole": {}, - "AutoScalingRole": {}, - "ScaleDownBehavior": {} - } - } - } - } - }, - "deprecated": true - }, - "DescribeSecurityConfiguration": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "SecurityConfiguration": {}, - "CreationDateTime": { - "type": "timestamp" - } - } - } - }, - "DescribeStep": { - "input": { - "type": "structure", - "required": [ - "ClusterId", - "StepId" - ], - "members": { - "ClusterId": {}, - "StepId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Step": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Config": { - "shape": "S38" - }, - "ActionOnFailure": {}, - "Status": { - "shape": "S39" - } - } - } - } - } - }, - "ListBootstrapActions": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "BootstrapActions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "ScriptPath": {}, - "Args": { - "shape": "S2c" - } - } - } - }, - "Marker": {} - } - } - }, - "ListClusters": { - "input": { - "type": "structure", - "members": { - "CreatedAfter": { - "type": "timestamp" - }, - "CreatedBefore": { - "type": "timestamp" - }, - "ClusterStates": { - "type": "list", - "member": {} - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Clusters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Status": { - "shape": "S25" - }, - "NormalizedInstanceHours": { - "type": "integer" - } - } - } - }, - "Marker": {} - } - } - }, - "ListInstanceFleets": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceFleets": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Status": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - }, - "Timeline": { - "type": "structure", - "members": { - "CreationDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - } - }, - "InstanceFleetType": {}, - "TargetOnDemandCapacity": { - "type": "integer" - }, - "TargetSpotCapacity": { - "type": "integer" - }, - "ProvisionedOnDemandCapacity": { - "type": "integer" - }, - "ProvisionedSpotCapacity": { - "type": "integer" - }, - "InstanceTypeSpecifications": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceType": {}, - "WeightedCapacity": { - "type": "integer" - }, - "BidPrice": {}, - "BidPriceAsPercentageOfOnDemandPrice": { - "type": "double" - }, - "Configurations": { - "shape": "Sh" - }, - "EbsBlockDevices": { - "shape": "S40" - }, - "EbsOptimized": { - "type": "boolean" - } - } - } - }, - "LaunchSpecifications": { - "shape": "Sk" - } - } - } - }, - "Marker": {} - } - } - }, - "ListInstanceGroups": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Market": {}, - "InstanceGroupType": {}, - "BidPrice": {}, - "InstanceType": {}, - "RequestedInstanceCount": { - "type": "integer" - }, - "RunningInstanceCount": { - "type": "integer" - }, - "Status": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - }, - "Timeline": { - "type": "structure", - "members": { - "CreationDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - } - }, - "Configurations": { - "shape": "Sh" - }, - "EbsBlockDevices": { - "shape": "S40" - }, - "EbsOptimized": { - "type": "boolean" - }, - "ShrinkPolicy": { - "shape": "S4c" - }, - "AutoScalingPolicy": { - "shape": "S4g" - } - } - } - }, - "Marker": {} - } - } - }, - "ListInstances": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "InstanceGroupId": {}, - "InstanceGroupTypes": { - "type": "list", - "member": {} - }, - "InstanceFleetId": {}, - "InstanceFleetType": {}, - "InstanceStates": { - "type": "list", - "member": {} - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Instances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Ec2InstanceId": {}, - "PublicDnsName": {}, - "PublicIpAddress": {}, - "PrivateDnsName": {}, - "PrivateIpAddress": {}, - "Status": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - }, - "Timeline": { - "type": "structure", - "members": { - "CreationDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - } - }, - "InstanceGroupId": {}, - "InstanceFleetId": {}, - "Market": {}, - "InstanceType": {}, - "EbsVolumes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Device": {}, - "VolumeId": {} - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "ListSecurityConfigurations": { - "input": { - "type": "structure", - "members": { - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "SecurityConfigurations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "CreationDateTime": { - "type": "timestamp" - } - } - } - }, - "Marker": {} - } - } - }, - "ListSteps": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "StepStates": { - "type": "list", - "member": {} - }, - "StepIds": { - "shape": "S1i" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Steps": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Config": { - "shape": "S38" - }, - "ActionOnFailure": {}, - "Status": { - "shape": "S39" - } - } - } - }, - "Marker": {} - } - } - }, - "ModifyInstanceFleet": { - "input": { - "type": "structure", - "required": [ - "ClusterId", - "InstanceFleet" - ], - "members": { - "ClusterId": {}, - "InstanceFleet": { - "type": "structure", - "required": [ - "InstanceFleetId" - ], - "members": { - "InstanceFleetId": {}, - "TargetOnDemandCapacity": { - "type": "integer" - }, - "TargetSpotCapacity": { - "type": "integer" - } - } - } - } - } - }, - "ModifyInstanceGroups": { - "input": { - "type": "structure", - "members": { - "ClusterId": {}, - "InstanceGroups": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "InstanceGroupId" - ], - "members": { - "InstanceGroupId": {}, - "InstanceCount": { - "type": "integer" - }, - "EC2InstanceIdsToTerminate": { - "type": "list", - "member": {} - }, - "ShrinkPolicy": { - "shape": "S4c" - } - } - } - } - } - } - }, - "PutAutoScalingPolicy": { - "input": { - "type": "structure", - "required": [ - "ClusterId", - "InstanceGroupId", - "AutoScalingPolicy" - ], - "members": { - "ClusterId": {}, - "InstanceGroupId": {}, - "AutoScalingPolicy": { - "shape": "Su" - } - } - }, - "output": { - "type": "structure", - "members": { - "ClusterId": {}, - "InstanceGroupId": {}, - "AutoScalingPolicy": { - "shape": "S4g" - } - } - } - }, - "RemoveAutoScalingPolicy": { - "input": { - "type": "structure", - "required": [ - "ClusterId", - "InstanceGroupId" - ], - "members": { - "ClusterId": {}, - "InstanceGroupId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RemoveTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "TagKeys" - ], - "members": { - "ResourceId": {}, - "TagKeys": { - "shape": "S2c" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RunJobFlow": { - "input": { - "type": "structure", - "required": [ - "Name", - "Instances" - ], - "members": { - "Name": {}, - "LogUri": {}, - "AdditionalInfo": {}, - "AmiVersion": {}, - "ReleaseLabel": {}, - "Instances": { - "type": "structure", - "members": { - "MasterInstanceType": {}, - "SlaveInstanceType": {}, - "InstanceCount": { - "type": "integer" - }, - "InstanceGroups": { - "shape": "Sq" - }, - "InstanceFleets": { - "type": "list", - "member": { - "shape": "S3" - } - }, - "Ec2KeyName": {}, - "Placement": { - "shape": "S2t" - }, - "KeepJobFlowAliveWhenNoSteps": { - "type": "boolean" - }, - "TerminationProtected": { - "type": "boolean" - }, - "HadoopVersion": {}, - "Ec2SubnetId": {}, - "Ec2SubnetIds": { - "shape": "S2b" - }, - "EmrManagedMasterSecurityGroup": {}, - "EmrManagedSlaveSecurityGroup": {}, - "ServiceAccessSecurityGroup": {}, - "AdditionalMasterSecurityGroups": { - "shape": "S5m" - }, - "AdditionalSlaveSecurityGroups": { - "shape": "S5m" - } - } - }, - "Steps": { - "shape": "S1b" - }, - "BootstrapActions": { - "type": "list", - "member": { - "shape": "S30" - } - }, - "SupportedProducts": { - "shape": "S32" - }, - "NewSupportedProducts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Args": { - "shape": "S1i" - } - } - } - }, - "Applications": { - "shape": "S2f" - }, - "Configurations": { - "shape": "Sh" - }, - "VisibleToAllUsers": { - "type": "boolean" - }, - "JobFlowRole": {}, - "ServiceRole": {}, - "Tags": { - "shape": "S1n" - }, - "SecurityConfiguration": {}, - "AutoScalingRole": {}, - "ScaleDownBehavior": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobFlowId": {} - } - } - }, - "SetTerminationProtection": { - "input": { - "type": "structure", - "required": [ - "JobFlowIds", - "TerminationProtected" - ], - "members": { - "JobFlowIds": { - "shape": "S1i" - }, - "TerminationProtected": { - "type": "boolean" - } - } - } - }, - "SetVisibleToAllUsers": { - "input": { - "type": "structure", - "required": [ - "JobFlowIds", - "VisibleToAllUsers" - ], - "members": { - "JobFlowIds": { - "shape": "S1i" - }, - "VisibleToAllUsers": { - "type": "boolean" - } - } - } - }, - "TerminateJobFlows": { - "input": { - "type": "structure", - "required": [ - "JobFlowIds" - ], - "members": { - "JobFlowIds": { - "shape": "S1i" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "required": [ - "InstanceFleetType" - ], - "members": { - "Name": {}, - "InstanceFleetType": {}, - "TargetOnDemandCapacity": { - "type": "integer" - }, - "TargetSpotCapacity": { - "type": "integer" - }, - "InstanceTypeConfigs": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "InstanceType" - ], - "members": { - "InstanceType": {}, - "WeightedCapacity": { - "type": "integer" - }, - "BidPrice": {}, - "BidPriceAsPercentageOfOnDemandPrice": { - "type": "double" - }, - "EbsConfiguration": { - "shape": "Sa" - }, - "Configurations": { - "shape": "Sh" - } - } - } - }, - "LaunchSpecifications": { - "shape": "Sk" - } - } - }, - "Sa": { - "type": "structure", - "members": { - "EbsBlockDeviceConfigs": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "VolumeSpecification" - ], - "members": { - "VolumeSpecification": { - "shape": "Sd" - }, - "VolumesPerInstance": { - "type": "integer" - } - } - } - }, - "EbsOptimized": { - "type": "boolean" - } - } - }, - "Sd": { - "type": "structure", - "required": [ - "VolumeType", - "SizeInGB" - ], - "members": { - "VolumeType": {}, - "Iops": { - "type": "integer" - }, - "SizeInGB": { - "type": "integer" - } - } - }, - "Sh": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Classification": {}, - "Configurations": { - "shape": "Sh" - }, - "Properties": { - "shape": "Sj" - } - } - } - }, - "Sj": { - "type": "map", - "key": {}, - "value": {} - }, - "Sk": { - "type": "structure", - "required": [ - "SpotSpecification" - ], - "members": { - "SpotSpecification": { - "type": "structure", - "required": [ - "TimeoutDurationMinutes", - "TimeoutAction" - ], - "members": { - "TimeoutDurationMinutes": { - "type": "integer" - }, - "TimeoutAction": {}, - "BlockDurationMinutes": { - "type": "integer" - } - } - } - } - }, - "Sq": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "InstanceRole", - "InstanceType", - "InstanceCount" - ], - "members": { - "Name": {}, - "Market": {}, - "InstanceRole": {}, - "BidPrice": {}, - "InstanceType": {}, - "InstanceCount": { - "type": "integer" - }, - "Configurations": { - "shape": "Sh" - }, - "EbsConfiguration": { - "shape": "Sa" - }, - "AutoScalingPolicy": { - "shape": "Su" - } - } - } - }, - "Su": { - "type": "structure", - "required": [ - "Constraints", - "Rules" - ], - "members": { - "Constraints": { - "shape": "Sv" - }, - "Rules": { - "shape": "Sw" - } - } - }, - "Sv": { - "type": "structure", - "required": [ - "MinCapacity", - "MaxCapacity" - ], - "members": { - "MinCapacity": { - "type": "integer" - }, - "MaxCapacity": { - "type": "integer" - } - } - }, - "Sw": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Action", - "Trigger" - ], - "members": { - "Name": {}, - "Description": {}, - "Action": { - "type": "structure", - "required": [ - "SimpleScalingPolicyConfiguration" - ], - "members": { - "Market": {}, - "SimpleScalingPolicyConfiguration": { - "type": "structure", - "required": [ - "ScalingAdjustment" - ], - "members": { - "AdjustmentType": {}, - "ScalingAdjustment": { - "type": "integer" - }, - "CoolDown": { - "type": "integer" - } - } - } - } - }, - "Trigger": { - "type": "structure", - "required": [ - "CloudWatchAlarmDefinition" - ], - "members": { - "CloudWatchAlarmDefinition": { - "type": "structure", - "required": [ - "ComparisonOperator", - "MetricName", - "Period", - "Threshold" - ], - "members": { - "ComparisonOperator": {}, - "EvaluationPeriods": { - "type": "integer" - }, - "MetricName": {}, - "Namespace": {}, - "Period": { - "type": "integer" - }, - "Statistic": {}, - "Threshold": { - "type": "double" - }, - "Unit": {}, - "Dimensions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } - } - } - } - } - } - } - }, - "S1b": { - "type": "list", - "member": { - "shape": "S1c" - } - }, - "S1c": { - "type": "structure", - "required": [ - "Name", - "HadoopJarStep" - ], - "members": { - "Name": {}, - "ActionOnFailure": {}, - "HadoopJarStep": { - "type": "structure", - "required": [ - "Jar" - ], - "members": { - "Properties": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Jar": {}, - "MainClass": {}, - "Args": { - "shape": "S1i" - } - } - } - } - }, - "S1i": { - "type": "list", - "member": {} - }, - "S1k": { - "type": "list", - "member": {} - }, - "S1n": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S25": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - }, - "Timeline": { - "type": "structure", - "members": { - "CreationDateTime": { - "type": "timestamp" - }, - "ReadyDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - } - }, - "S2b": { - "type": "list", - "member": {} - }, - "S2c": { - "type": "list", - "member": {} - }, - "S2f": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Version": {}, - "Args": { - "shape": "S2c" - }, - "AdditionalInfo": { - "shape": "Sj" - } - } - } - }, - "S2t": { - "type": "structure", - "members": { - "AvailabilityZone": {}, - "AvailabilityZones": { - "shape": "S2b" - } - } - }, - "S30": { - "type": "structure", - "required": [ - "Name", - "ScriptBootstrapAction" - ], - "members": { - "Name": {}, - "ScriptBootstrapAction": { - "type": "structure", - "required": [ - "Path" - ], - "members": { - "Path": {}, - "Args": { - "shape": "S1i" - } - } - } - } - }, - "S32": { - "type": "list", - "member": {} - }, - "S38": { - "type": "structure", - "members": { - "Jar": {}, - "Properties": { - "shape": "Sj" - }, - "MainClass": {}, - "Args": { - "shape": "S2c" - } - } - }, - "S39": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - }, - "FailureDetails": { - "type": "structure", - "members": { - "Reason": {}, - "Message": {}, - "LogFile": {} - } - }, - "Timeline": { - "type": "structure", - "members": { - "CreationDateTime": { - "type": "timestamp" - }, - "StartDateTime": { - "type": "timestamp" - }, - "EndDateTime": { - "type": "timestamp" - } - } - } - } - }, - "S40": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeSpecification": { - "shape": "Sd" - }, - "Device": {} - } - } - }, - "S4c": { - "type": "structure", - "members": { - "DecommissionTimeout": { - "type": "integer" - }, - "InstanceResizePolicy": { - "type": "structure", - "members": { - "InstancesToTerminate": { - "shape": "S4e" - }, - "InstancesToProtect": { - "shape": "S4e" - }, - "InstanceTerminationTimeout": { - "type": "integer" - } - } - } - } - }, - "S4e": { - "type": "list", - "member": {} - }, - "S4g": { - "type": "structure", - "members": { - "Status": { - "type": "structure", - "members": { - "State": {}, - "StateChangeReason": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - } - } - }, - "Constraints": { - "shape": "Sv" - }, - "Rules": { - "shape": "Sw" - } - } - }, - "S5m": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json b/src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json deleted file mode 100644 index dafb1d9..0000000 --- a/src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "pagination": { - "DescribeJobFlows": { - "result_key": "JobFlows" - }, - "ListBootstrapActions": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "BootstrapActions" - }, - "ListClusters": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "Clusters" - }, - "ListInstanceFleets": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "InstanceFleets" - }, - "ListInstanceGroups": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "InstanceGroups" - }, - "ListInstances": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "Instances" - }, - "ListSteps": { - "input_token": "Marker", - "output_token": "Marker", - "result_key": "Steps" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.waiters2.json b/src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.waiters2.json deleted file mode 100644 index abba8c3..0000000 --- a/src/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.waiters2.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "version": 2, - "waiters": { - "ClusterRunning": { - "delay": 30, - "operation": "DescribeCluster", - "maxAttempts": 60, - "acceptors": [ - { - "state": "success", - "matcher": "path", - "argument": "Cluster.Status.State", - "expected": "RUNNING" - }, - { - "state": "success", - "matcher": "path", - "argument": "Cluster.Status.State", - "expected": "WAITING" - }, - { - "state": "failure", - "matcher": "path", - "argument": "Cluster.Status.State", - "expected": "TERMINATING" - }, - { - "state": "failure", - "matcher": "path", - "argument": "Cluster.Status.State", - "expected": "TERMINATED" - }, - { - "state": "failure", - "matcher": "path", - "argument": "Cluster.Status.State", - "expected": "TERMINATED_WITH_ERRORS" - } - ] - }, - "StepComplete": { - "delay": 30, - "operation": "DescribeStep", - "maxAttempts": 60, - "acceptors": [ - { - "state": "success", - "matcher": "path", - "argument": "Step.Status.State", - "expected": "COMPLETED" - }, - { - "state": "failure", - "matcher": "path", - "argument": "Step.Status.State", - "expected": "FAILED" - }, - { - "state": "failure", - "matcher": "path", - "argument": "Step.Status.State", - "expected": "CANCELLED" - } - ] - }, - "ClusterTerminated": { - "delay": 30, - "operation": "DescribeCluster", - "maxAttempts": 60, - "acceptors": [ - { - "state": "success", - "matcher": "path", - "argument": "Cluster.Status.State", - "expected": "TERMINATED" - }, - { - "state": "failure", - "matcher": "path", - "argument": "Cluster.Status.State", - "expected": "TERMINATED_WITH_ERRORS" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json b/src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json deleted file mode 100644 index ffa21e7..0000000 --- a/src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json +++ /dev/null @@ -1,1059 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "elastictranscoder-2012-09-25", - "apiVersion": "2012-09-25", - "endpointPrefix": "elastictranscoder", - "protocol": "rest-json", - "serviceFullName": "Amazon Elastic Transcoder", - "signatureVersion": "v4" - }, - "operations": { - "CancelJob": { - "http": { - "method": "DELETE", - "requestUri": "/2012-09-25/jobs/{Id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateJob": { - "http": { - "requestUri": "/2012-09-25/jobs", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "PipelineId" - ], - "members": { - "PipelineId": {}, - "Input": { - "shape": "S5" - }, - "Inputs": { - "shape": "St" - }, - "Output": { - "shape": "Su" - }, - "Outputs": { - "type": "list", - "member": { - "shape": "Su" - } - }, - "OutputKeyPrefix": {}, - "Playlists": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Format": {}, - "OutputKeys": { - "shape": "S1l" - }, - "HlsContentProtection": { - "shape": "S1m" - }, - "PlayReadyDrm": { - "shape": "S1q" - } - } - } - }, - "UserMetadata": { - "shape": "S1v" - } - } - }, - "output": { - "type": "structure", - "members": { - "Job": { - "shape": "S1y" - } - } - } - }, - "CreatePipeline": { - "http": { - "requestUri": "/2012-09-25/pipelines", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "Name", - "InputBucket", - "Role" - ], - "members": { - "Name": {}, - "InputBucket": {}, - "OutputBucket": {}, - "Role": {}, - "AwsKmsKeyArn": {}, - "Notifications": { - "shape": "S2a" - }, - "ContentConfig": { - "shape": "S2c" - }, - "ThumbnailConfig": { - "shape": "S2c" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2l" - }, - "Warnings": { - "shape": "S2n" - } - } - } - }, - "CreatePreset": { - "http": { - "requestUri": "/2012-09-25/presets", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "Name", - "Container" - ], - "members": { - "Name": {}, - "Description": {}, - "Container": {}, - "Video": { - "shape": "S2r" - }, - "Audio": { - "shape": "S37" - }, - "Thumbnails": { - "shape": "S3i" - } - } - }, - "output": { - "type": "structure", - "members": { - "Preset": { - "shape": "S3m" - }, - "Warning": {} - } - } - }, - "DeletePipeline": { - "http": { - "method": "DELETE", - "requestUri": "/2012-09-25/pipelines/{Id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeletePreset": { - "http": { - "method": "DELETE", - "requestUri": "/2012-09-25/presets/{Id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ListJobsByPipeline": { - "http": { - "method": "GET", - "requestUri": "/2012-09-25/jobsByPipeline/{PipelineId}" - }, - "input": { - "type": "structure", - "required": [ - "PipelineId" - ], - "members": { - "PipelineId": { - "location": "uri", - "locationName": "PipelineId" - }, - "Ascending": { - "location": "querystring", - "locationName": "Ascending" - }, - "PageToken": { - "location": "querystring", - "locationName": "PageToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Jobs": { - "shape": "S3v" - }, - "NextPageToken": {} - } - } - }, - "ListJobsByStatus": { - "http": { - "method": "GET", - "requestUri": "/2012-09-25/jobsByStatus/{Status}" - }, - "input": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Status": { - "location": "uri", - "locationName": "Status" - }, - "Ascending": { - "location": "querystring", - "locationName": "Ascending" - }, - "PageToken": { - "location": "querystring", - "locationName": "PageToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Jobs": { - "shape": "S3v" - }, - "NextPageToken": {} - } - } - }, - "ListPipelines": { - "http": { - "method": "GET", - "requestUri": "/2012-09-25/pipelines" - }, - "input": { - "type": "structure", - "members": { - "Ascending": { - "location": "querystring", - "locationName": "Ascending" - }, - "PageToken": { - "location": "querystring", - "locationName": "PageToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipelines": { - "type": "list", - "member": { - "shape": "S2l" - } - }, - "NextPageToken": {} - } - } - }, - "ListPresets": { - "http": { - "method": "GET", - "requestUri": "/2012-09-25/presets" - }, - "input": { - "type": "structure", - "members": { - "Ascending": { - "location": "querystring", - "locationName": "Ascending" - }, - "PageToken": { - "location": "querystring", - "locationName": "PageToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Presets": { - "type": "list", - "member": { - "shape": "S3m" - } - }, - "NextPageToken": {} - } - } - }, - "ReadJob": { - "http": { - "method": "GET", - "requestUri": "/2012-09-25/jobs/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "Job": { - "shape": "S1y" - } - } - } - }, - "ReadPipeline": { - "http": { - "method": "GET", - "requestUri": "/2012-09-25/pipelines/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2l" - }, - "Warnings": { - "shape": "S2n" - } - } - } - }, - "ReadPreset": { - "http": { - "method": "GET", - "requestUri": "/2012-09-25/presets/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": { - "Preset": { - "shape": "S3m" - } - } - } - }, - "TestRole": { - "http": { - "requestUri": "/2012-09-25/roleTests", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Role", - "InputBucket", - "OutputBucket", - "Topics" - ], - "members": { - "Role": {}, - "InputBucket": {}, - "OutputBucket": {}, - "Topics": { - "type": "list", - "member": {} - } - }, - "deprecated": true - }, - "output": { - "type": "structure", - "members": { - "Success": {}, - "Messages": { - "type": "list", - "member": {} - } - }, - "deprecated": true - }, - "deprecated": true - }, - "UpdatePipeline": { - "http": { - "method": "PUT", - "requestUri": "/2012-09-25/pipelines/{Id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Name": {}, - "InputBucket": {}, - "Role": {}, - "AwsKmsKeyArn": {}, - "Notifications": { - "shape": "S2a" - }, - "ContentConfig": { - "shape": "S2c" - }, - "ThumbnailConfig": { - "shape": "S2c" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2l" - }, - "Warnings": { - "shape": "S2n" - } - } - } - }, - "UpdatePipelineNotifications": { - "http": { - "requestUri": "/2012-09-25/pipelines/{Id}/notifications" - }, - "input": { - "type": "structure", - "required": [ - "Id", - "Notifications" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Notifications": { - "shape": "S2a" - } - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2l" - } - } - } - }, - "UpdatePipelineStatus": { - "http": { - "requestUri": "/2012-09-25/pipelines/{Id}/status" - }, - "input": { - "type": "structure", - "required": [ - "Id", - "Status" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Status": {} - } - }, - "output": { - "type": "structure", - "members": { - "Pipeline": { - "shape": "S2l" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "members": { - "Key": {}, - "FrameRate": {}, - "Resolution": {}, - "AspectRatio": {}, - "Interlaced": {}, - "Container": {}, - "Encryption": { - "shape": "Sc" - }, - "TimeSpan": { - "shape": "Sg" - }, - "InputCaptions": { - "type": "structure", - "members": { - "MergePolicy": {}, - "CaptionSources": { - "shape": "Sk" - } - } - }, - "DetectedProperties": { - "type": "structure", - "members": { - "Width": { - "type": "integer" - }, - "Height": { - "type": "integer" - }, - "FrameRate": {}, - "FileSize": { - "type": "long" - }, - "DurationMillis": { - "type": "long" - } - } - } - } - }, - "Sc": { - "type": "structure", - "members": { - "Mode": {}, - "Key": {}, - "KeyMd5": {}, - "InitializationVector": {} - } - }, - "Sg": { - "type": "structure", - "members": { - "StartTime": {}, - "Duration": {} - } - }, - "Sk": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Language": {}, - "TimeOffset": {}, - "Label": {}, - "Encryption": { - "shape": "Sc" - } - } - } - }, - "St": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "Su": { - "type": "structure", - "members": { - "Key": {}, - "ThumbnailPattern": {}, - "ThumbnailEncryption": { - "shape": "Sc" - }, - "Rotate": {}, - "PresetId": {}, - "SegmentDuration": {}, - "Watermarks": { - "shape": "Sx" - }, - "AlbumArt": { - "shape": "S11" - }, - "Composition": { - "shape": "S19", - "deprecated": true - }, - "Captions": { - "shape": "S1b" - }, - "Encryption": { - "shape": "Sc" - } - } - }, - "Sx": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PresetWatermarkId": {}, - "InputKey": {}, - "Encryption": { - "shape": "Sc" - } - } - } - }, - "S11": { - "type": "structure", - "members": { - "MergePolicy": {}, - "Artwork": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InputKey": {}, - "MaxWidth": {}, - "MaxHeight": {}, - "SizingPolicy": {}, - "PaddingPolicy": {}, - "AlbumArtFormat": {}, - "Encryption": { - "shape": "Sc" - } - } - } - } - } - }, - "S19": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TimeSpan": { - "shape": "Sg" - } - }, - "deprecated": true - }, - "deprecated": true - }, - "S1b": { - "type": "structure", - "members": { - "MergePolicy": { - "deprecated": true - }, - "CaptionSources": { - "shape": "Sk", - "deprecated": true - }, - "CaptionFormats": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Format": {}, - "Pattern": {}, - "Encryption": { - "shape": "Sc" - } - } - } - } - } - }, - "S1l": { - "type": "list", - "member": {} - }, - "S1m": { - "type": "structure", - "members": { - "Method": {}, - "Key": {}, - "KeyMd5": {}, - "InitializationVector": {}, - "LicenseAcquisitionUrl": {}, - "KeyStoragePolicy": {} - } - }, - "S1q": { - "type": "structure", - "members": { - "Format": {}, - "Key": {}, - "KeyMd5": {}, - "KeyId": {}, - "InitializationVector": {}, - "LicenseAcquisitionUrl": {} - } - }, - "S1v": { - "type": "map", - "key": {}, - "value": {} - }, - "S1y": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "PipelineId": {}, - "Input": { - "shape": "S5" - }, - "Inputs": { - "shape": "St" - }, - "Output": { - "shape": "S1z" - }, - "Outputs": { - "type": "list", - "member": { - "shape": "S1z" - } - }, - "OutputKeyPrefix": {}, - "Playlists": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Format": {}, - "OutputKeys": { - "shape": "S1l" - }, - "HlsContentProtection": { - "shape": "S1m" - }, - "PlayReadyDrm": { - "shape": "S1q" - }, - "Status": {}, - "StatusDetail": {} - } - } - }, - "Status": {}, - "UserMetadata": { - "shape": "S1v" - }, - "Timing": { - "type": "structure", - "members": { - "SubmitTimeMillis": { - "type": "long" - }, - "StartTimeMillis": { - "type": "long" - }, - "FinishTimeMillis": { - "type": "long" - } - } - } - } - }, - "S1z": { - "type": "structure", - "members": { - "Id": {}, - "Key": {}, - "ThumbnailPattern": {}, - "ThumbnailEncryption": { - "shape": "Sc" - }, - "Rotate": {}, - "PresetId": {}, - "SegmentDuration": {}, - "Status": {}, - "StatusDetail": {}, - "Duration": { - "type": "long" - }, - "Width": { - "type": "integer" - }, - "Height": { - "type": "integer" - }, - "FrameRate": {}, - "FileSize": { - "type": "long" - }, - "DurationMillis": { - "type": "long" - }, - "Watermarks": { - "shape": "Sx" - }, - "AlbumArt": { - "shape": "S11" - }, - "Composition": { - "shape": "S19", - "deprecated": true - }, - "Captions": { - "shape": "S1b" - }, - "Encryption": { - "shape": "Sc" - }, - "AppliedColorSpaceConversion": {} - } - }, - "S2a": { - "type": "structure", - "members": { - "Progressing": {}, - "Completed": {}, - "Warning": {}, - "Error": {} - } - }, - "S2c": { - "type": "structure", - "members": { - "Bucket": {}, - "StorageClass": {}, - "Permissions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "GranteeType": {}, - "Grantee": {}, - "Access": { - "type": "list", - "member": {} - } - } - } - } - } - }, - "S2l": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Name": {}, - "Status": {}, - "InputBucket": {}, - "OutputBucket": {}, - "Role": {}, - "AwsKmsKeyArn": {}, - "Notifications": { - "shape": "S2a" - }, - "ContentConfig": { - "shape": "S2c" - }, - "ThumbnailConfig": { - "shape": "S2c" - } - } - }, - "S2n": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Code": {}, - "Message": {} - } - } - }, - "S2r": { - "type": "structure", - "members": { - "Codec": {}, - "CodecOptions": { - "type": "map", - "key": {}, - "value": {} - }, - "KeyframesMaxDist": {}, - "FixedGOP": {}, - "BitRate": {}, - "FrameRate": {}, - "MaxFrameRate": {}, - "Resolution": {}, - "AspectRatio": {}, - "MaxWidth": {}, - "MaxHeight": {}, - "DisplayAspectRatio": {}, - "SizingPolicy": {}, - "PaddingPolicy": {}, - "Watermarks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "MaxWidth": {}, - "MaxHeight": {}, - "SizingPolicy": {}, - "HorizontalAlign": {}, - "HorizontalOffset": {}, - "VerticalAlign": {}, - "VerticalOffset": {}, - "Opacity": {}, - "Target": {} - } - } - } - } - }, - "S37": { - "type": "structure", - "members": { - "Codec": {}, - "SampleRate": {}, - "BitRate": {}, - "Channels": {}, - "AudioPackingMode": {}, - "CodecOptions": { - "type": "structure", - "members": { - "Profile": {}, - "BitDepth": {}, - "BitOrder": {}, - "Signed": {} - } - } - } - }, - "S3i": { - "type": "structure", - "members": { - "Format": {}, - "Interval": {}, - "Resolution": {}, - "AspectRatio": {}, - "MaxWidth": {}, - "MaxHeight": {}, - "SizingPolicy": {}, - "PaddingPolicy": {} - } - }, - "S3m": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Name": {}, - "Description": {}, - "Container": {}, - "Audio": { - "shape": "S37" - }, - "Video": { - "shape": "S2r" - }, - "Thumbnails": { - "shape": "S3i" - }, - "Type": {} - } - }, - "S3v": { - "type": "list", - "member": { - "shape": "S1y" - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json b/src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json deleted file mode 100644 index 5a145d3..0000000 --- a/src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "pagination": { - "ListJobsByPipeline": { - "input_token": "PageToken", - "output_token": "NextPageToken", - "result_key": "Jobs" - }, - "ListJobsByStatus": { - "input_token": "PageToken", - "output_token": "NextPageToken", - "result_key": "Jobs" - }, - "ListPipelines": { - "input_token": "PageToken", - "output_token": "NextPageToken", - "result_key": "Pipelines" - }, - "ListPresets": { - "input_token": "PageToken", - "output_token": "NextPageToken", - "result_key": "Presets" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters2.json b/src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters2.json deleted file mode 100644 index 55c3628..0000000 --- a/src/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters2.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "version": 2, - "waiters": { - "JobComplete": { - "delay": 30, - "operation": "ReadJob", - "maxAttempts": 120, - "acceptors": [ - { - "expected": "Complete", - "matcher": "path", - "state": "success", - "argument": "Job.Status" - }, - { - "expected": "Canceled", - "matcher": "path", - "state": "failure", - "argument": "Job.Status" - }, - { - "expected": "Error", - "matcher": "path", - "state": "failure", - "argument": "Job.Status" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/email-2010-12-01.examples.json b/src/node_modules/aws-sdk/apis/email-2010-12-01.examples.json deleted file mode 100644 index 8855529..0000000 --- a/src/node_modules/aws-sdk/apis/email-2010-12-01.examples.json +++ /dev/null @@ -1,953 +0,0 @@ -{ - "version": "1.0", - "examples": { - "CloneReceiptRuleSet": [ - { - "input": { - "OriginalRuleSetName": "RuleSetToClone", - "RuleSetName": "RuleSetToCreate" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a receipt rule set by cloning an existing one:", - "id": "clonereceiptruleset-1469055039770", - "title": "CloneReceiptRuleSet" - } - ], - "CreateReceiptFilter": [ - { - "input": { - "Filter": { - "IpFilter": { - "Cidr": "1.2.3.4/24", - "Policy": "Allow" - }, - "Name": "MyFilter" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a new IP address filter:", - "id": "createreceiptfilter-1469122681253", - "title": "CreateReceiptFilter" - } - ], - "CreateReceiptRule": [ - { - "input": { - "After": "", - "Rule": { - "Actions": [ - { - "S3Action": { - "BucketName": "MyBucket", - "ObjectKeyPrefix": "email" - } - } - ], - "Enabled": true, - "Name": "MyRule", - "ScanEnabled": true, - "TlsPolicy": "Optional" - }, - "RuleSetName": "MyRuleSet" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a new receipt rule:", - "id": "createreceiptrule-1469122946515", - "title": "CreateReceiptRule" - } - ], - "CreateReceiptRuleSet": [ - { - "input": { - "RuleSetName": "MyRuleSet" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates an empty receipt rule set:", - "id": "createreceiptruleset-1469058761646", - "title": "CreateReceiptRuleSet" - } - ], - "DeleteIdentity": [ - { - "input": { - "Identity": "user@example.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an identity from the list of identities that have been submitted for verification with Amazon SES:", - "id": "deleteidentity-1469047858906", - "title": "DeleteIdentity" - } - ], - "DeleteIdentityPolicy": [ - { - "input": { - "Identity": "user@example.com", - "PolicyName": "MyPolicy" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a sending authorization policy for an identity:", - "id": "deleteidentitypolicy-1469055282499", - "title": "DeleteIdentityPolicy" - } - ], - "DeleteReceiptFilter": [ - { - "input": { - "FilterName": "MyFilter" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an IP address filter:", - "id": "deletereceiptfilter-1469055456835", - "title": "DeleteReceiptFilter" - } - ], - "DeleteReceiptRule": [ - { - "input": { - "RuleName": "MyRule", - "RuleSetName": "MyRuleSet" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a receipt rule:", - "id": "deletereceiptrule-1469055563599", - "title": "DeleteReceiptRule" - } - ], - "DeleteReceiptRuleSet": [ - { - "input": { - "RuleSetName": "MyRuleSet" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a receipt rule set:", - "id": "deletereceiptruleset-1469055713690", - "title": "DeleteReceiptRuleSet" - } - ], - "DeleteVerifiedEmailAddress": [ - { - "input": { - "EmailAddress": "user@example.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an email address from the list of identities that have been submitted for verification with Amazon SES:", - "id": "deleteverifiedemailaddress-1469051086444", - "title": "DeleteVerifiedEmailAddress" - } - ], - "DescribeActiveReceiptRuleSet": [ - { - "input": { - }, - "output": { - "Metadata": { - "CreatedTimestamp": "2016-07-15T16:25:59.607Z", - "Name": "default-rule-set" - }, - "Rules": [ - { - "Actions": [ - { - "S3Action": { - "BucketName": "MyBucket", - "ObjectKeyPrefix": "email" - } - } - ], - "Enabled": true, - "Name": "MyRule", - "ScanEnabled": true, - "TlsPolicy": "Optional" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the metadata and receipt rules for the receipt rule set that is currently active:", - "id": "describeactivereceiptruleset-1469121611502", - "title": "DescribeActiveReceiptRuleSet" - } - ], - "DescribeReceiptRule": [ - { - "input": { - "RuleName": "MyRule", - "RuleSetName": "MyRuleSet" - }, - "output": { - "Rule": { - "Actions": [ - { - "S3Action": { - "BucketName": "MyBucket", - "ObjectKeyPrefix": "email" - } - } - ], - "Enabled": true, - "Name": "MyRule", - "ScanEnabled": true, - "TlsPolicy": "Optional" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a receipt rule:", - "id": "describereceiptrule-1469055813118", - "title": "DescribeReceiptRule" - } - ], - "DescribeReceiptRuleSet": [ - { - "input": { - "RuleSetName": "MyRuleSet" - }, - "output": { - "Metadata": { - "CreatedTimestamp": "2016-07-15T16:25:59.607Z", - "Name": "MyRuleSet" - }, - "Rules": [ - { - "Actions": [ - { - "S3Action": { - "BucketName": "MyBucket", - "ObjectKeyPrefix": "email" - } - } - ], - "Enabled": true, - "Name": "MyRule", - "ScanEnabled": true, - "TlsPolicy": "Optional" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the metadata and receipt rules of a receipt rule set:", - "id": "describereceiptruleset-1469121240385", - "title": "DescribeReceiptRuleSet" - } - ], - "GetIdentityDkimAttributes": [ - { - "input": { - "Identities": [ - "example.com", - "user@example.com" - ] - }, - "output": { - "DkimAttributes": { - "example.com": { - "DkimEnabled": true, - "DkimTokens": [ - "EXAMPLEjcs5xoyqytjsotsijas7236gr", - "EXAMPLEjr76cvoc6mysspnioorxsn6ep", - "EXAMPLEkbmkqkhlm2lyz77ppkulerm4k" - ], - "DkimVerificationStatus": "Success" - }, - "user@example.com": { - "DkimEnabled": false, - "DkimVerificationStatus": "NotStarted" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves the Amazon SES Easy DKIM attributes for a list of identities:", - "id": "getidentitydkimattributes-1469050695628", - "title": "GetIdentityDkimAttributes" - } - ], - "GetIdentityMailFromDomainAttributes": [ - { - "input": { - "Identities": [ - "example.com" - ] - }, - "output": { - "MailFromDomainAttributes": { - "example.com": { - "BehaviorOnMXFailure": "UseDefaultValue", - "MailFromDomain": "bounces.example.com", - "MailFromDomainStatus": "Success" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the custom MAIL FROM attributes for an identity:", - "id": "getidentitymailfromdomainattributes-1469123114860", - "title": "GetIdentityMailFromDomainAttributes" - } - ], - "GetIdentityNotificationAttributes": [ - { - "input": { - "Identities": [ - "example.com" - ] - }, - "output": { - "NotificationAttributes": { - "example.com": { - "BounceTopic": "arn:aws:sns:us-east-1:EXAMPLE65304:ExampleTopic", - "ForwardingEnabled": true, - "HeadersInBounceNotificationsEnabled": false, - "HeadersInComplaintNotificationsEnabled": false, - "HeadersInDeliveryNotificationsEnabled": false - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the notification attributes for an identity:", - "id": "getidentitynotificationattributes-1469123466947", - "title": "GetIdentityNotificationAttributes" - } - ], - "GetIdentityPolicies": [ - { - "input": { - "Identity": "example.com", - "PolicyNames": [ - "MyPolicy" - ] - }, - "output": { - "Policies": { - "MyPolicy": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"stmt1469123904194\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:root\"},\"Action\":[\"ses:SendEmail\",\"ses:SendRawEmail\"],\"Resource\":\"arn:aws:ses:us-east-1:EXAMPLE65304:identity/example.com\"}]}" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns a sending authorization policy for an identity:", - "id": "getidentitypolicies-1469123949351", - "title": "GetIdentityPolicies" - } - ], - "GetIdentityVerificationAttributes": [ - { - "input": { - "Identities": [ - "example.com" - ] - }, - "output": { - "VerificationAttributes": { - "example.com": { - "VerificationStatus": "Success", - "VerificationToken": "EXAMPLE3VYb9EDI2nTOQRi/Tf6MI/6bD6THIGiP1MVY=" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the verification status and the verification token for a domain identity:", - "id": "getidentityverificationattributes-1469124205897", - "title": "GetIdentityVerificationAttributes" - } - ], - "GetSendQuota": [ - { - "output": { - "Max24HourSend": 200, - "MaxSendRate": 1, - "SentLast24Hours": 1 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the Amazon SES sending limits for an AWS account:", - "id": "getsendquota-1469047324508", - "title": "GetSendQuota" - } - ], - "GetSendStatistics": [ - { - "output": { - "SendDataPoints": [ - { - "Bounces": 0, - "Complaints": 0, - "DeliveryAttempts": 5, - "Rejects": 0, - "Timestamp": "2016-07-13T22:43:00Z" - }, - { - "Bounces": 0, - "Complaints": 0, - "DeliveryAttempts": 3, - "Rejects": 0, - "Timestamp": "2016-07-13T23:13:00Z" - }, - { - "Bounces": 0, - "Complaints": 0, - "DeliveryAttempts": 1, - "Rejects": 0, - "Timestamp": "2016-07-13T21:13:00Z" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns Amazon SES sending statistics:", - "id": "getsendstatistics-1469047741329", - "title": "GetSendStatistics" - } - ], - "ListIdentities": [ - { - "input": { - "IdentityType": "EmailAddress", - "MaxItems": 123, - "NextToken": "" - }, - "output": { - "Identities": [ - "user@example.com" - ], - "NextToken": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example lists the email address identities that have been submitted for verification with Amazon SES:", - "id": "listidentities-1469048638493", - "title": "ListIdentities" - } - ], - "ListIdentityPolicies": [ - { - "input": { - "Identity": "example.com" - }, - "output": { - "PolicyNames": [ - "MyPolicy" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns a list of sending authorization policies that are attached to an identity:", - "id": "listidentitypolicies-1469124417674", - "title": "ListIdentityPolicies" - } - ], - "ListReceiptFilters": [ - { - "output": { - "Filters": [ - { - "IpFilter": { - "Cidr": "1.2.3.4/24", - "Policy": "Block" - }, - "Name": "MyFilter" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example lists the IP address filters that are associated with an AWS account:", - "id": "listreceiptfilters-1469120786789", - "title": "ListReceiptFilters" - } - ], - "ListReceiptRuleSets": [ - { - "input": { - "NextToken": "" - }, - "output": { - "NextToken": "", - "RuleSets": [ - { - "CreatedTimestamp": "2016-07-15T16:25:59.607Z", - "Name": "MyRuleSet" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example lists the receipt rule sets that exist under an AWS account:", - "id": "listreceiptrulesets-1469121037235", - "title": "ListReceiptRuleSets" - } - ], - "ListVerifiedEmailAddresses": [ - { - "output": { - "VerifiedEmailAddresses": [ - "user1@example.com", - "user2@example.com" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example lists all email addresses that have been submitted for verification with Amazon SES:", - "id": "listverifiedemailaddresses-1469051402570", - "title": "ListVerifiedEmailAddresses" - } - ], - "PutIdentityPolicy": [ - { - "input": { - "Identity": "example.com", - "Policy": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"stmt1469123904194\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:root\"},\"Action\":[\"ses:SendEmail\",\"ses:SendRawEmail\"],\"Resource\":\"arn:aws:ses:us-east-1:EXAMPLE65304:identity/example.com\"}]}", - "PolicyName": "MyPolicy" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example adds a sending authorization policy to an identity:", - "id": "putidentitypolicy-1469124560016", - "title": "PutIdentityPolicy" - } - ], - "ReorderReceiptRuleSet": [ - { - "input": { - "RuleNames": [ - "MyRule", - "MyOtherRule" - ], - "RuleSetName": "MyRuleSet" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example reorders the receipt rules within a receipt rule set:", - "id": "reorderreceiptruleset-1469058156806", - "title": "ReorderReceiptRuleSet" - } - ], - "SendEmail": [ - { - "input": { - "Destination": { - "BccAddresses": [ - - ], - "CcAddresses": [ - "recipient3@example.com" - ], - "ToAddresses": [ - "recipient1@example.com", - "recipient2@example.com" - ] - }, - "Message": { - "Body": { - "Html": { - "Charset": "UTF-8", - "Data": "This message body contains HTML formatting. It can, for example, contain links like this one: Amazon SES Developer Guide." - }, - "Text": { - "Charset": "UTF-8", - "Data": "This is the message body in text format." - } - }, - "Subject": { - "Charset": "UTF-8", - "Data": "Test email" - } - }, - "ReplyToAddresses": [ - - ], - "ReturnPath": "", - "ReturnPathArn": "", - "Source": "sender@example.com", - "SourceArn": "" - }, - "output": { - "MessageId": "EXAMPLE78603177f-7a5433e7-8edb-42ae-af10-f0181f34d6ee-000000" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sends a formatted email:", - "id": "sendemail-1469049656296", - "title": "SendEmail" - } - ], - "SendRawEmail": [ - { - "input": { - "Destinations": [ - - ], - "FromArn": "", - "RawMessage": { - "Data": "From: sender@example.com\\nTo: recipient@example.com\\nSubject: Test email (contains an attachment)\\nMIME-Version: 1.0\\nContent-type: Multipart/Mixed; boundary=\"NextPart\"\\n\\n--NextPart\\nContent-Type: text/plain\\n\\nThis is the message body.\\n\\n--NextPart\\nContent-Type: text/plain;\\nContent-Disposition: attachment; filename=\"attachment.txt\"\\n\\nThis is the text in the attachment.\\n\\n--NextPart--" - }, - "ReturnPathArn": "", - "Source": "", - "SourceArn": "" - }, - "output": { - "MessageId": "EXAMPLEf3f73d99b-c63fb06f-d263-41f8-a0fb-d0dc67d56c07-000000" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sends an email with an attachment:", - "id": "sendrawemail-1469118548649", - "title": "SendRawEmail" - } - ], - "SetActiveReceiptRuleSet": [ - { - "input": { - "RuleSetName": "RuleSetToActivate" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets the active receipt rule set:", - "id": "setactivereceiptruleset-1469058391329", - "title": "SetActiveReceiptRuleSet" - } - ], - "SetIdentityDkimEnabled": [ - { - "input": { - "DkimEnabled": true, - "Identity": "user@example.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example configures Amazon SES to Easy DKIM-sign the email sent from an identity:", - "id": "setidentitydkimenabled-1469057485202", - "title": "SetIdentityDkimEnabled" - } - ], - "SetIdentityFeedbackForwardingEnabled": [ - { - "input": { - "ForwardingEnabled": true, - "Identity": "user@example.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example configures Amazon SES to forward an identity's bounces and complaints via email:", - "id": "setidentityfeedbackforwardingenabled-1469056811329", - "title": "SetIdentityFeedbackForwardingEnabled" - } - ], - "SetIdentityHeadersInNotificationsEnabled": [ - { - "input": { - "Enabled": true, - "Identity": "user@example.com", - "NotificationType": "Bounce" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example configures Amazon SES to include the original email headers in the Amazon SNS bounce notifications for an identity:", - "id": "setidentityheadersinnotificationsenabled-1469057295001", - "title": "SetIdentityHeadersInNotificationsEnabled" - } - ], - "SetIdentityMailFromDomain": [ - { - "input": { - "BehaviorOnMXFailure": "UseDefaultValue", - "Identity": "user@example.com", - "MailFromDomain": "bounces.example.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example configures Amazon SES to use a custom MAIL FROM domain for an identity:", - "id": "setidentitymailfromdomain-1469057693908", - "title": "SetIdentityMailFromDomain" - } - ], - "SetIdentityNotificationTopic": [ - { - "input": { - "Identity": "user@example.com", - "NotificationType": "Bounce", - "SnsTopic": "arn:aws:sns:us-west-2:111122223333:MyTopic" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets the Amazon SNS topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with the specified identity as the Source:", - "id": "setidentitynotificationtopic-1469057854966", - "title": "SetIdentityNotificationTopic" - } - ], - "SetReceiptRulePosition": [ - { - "input": { - "After": "PutRuleAfterThisRule", - "RuleName": "RuleToReposition", - "RuleSetName": "MyRuleSet" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets the position of a receipt rule in a receipt rule set:", - "id": "setreceiptruleposition-1469058530550", - "title": "SetReceiptRulePosition" - } - ], - "UpdateReceiptRule": [ - { - "input": { - "Rule": { - "Actions": [ - { - "S3Action": { - "BucketName": "MyBucket", - "ObjectKeyPrefix": "email" - } - } - ], - "Enabled": true, - "Name": "MyRule", - "ScanEnabled": true, - "TlsPolicy": "Optional" - }, - "RuleSetName": "MyRuleSet" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example updates a receipt rule to use an Amazon S3 action:", - "id": "updatereceiptrule-1469051756940", - "title": "UpdateReceiptRule" - } - ], - "VerifyDomainDkim": [ - { - "input": { - "Domain": "example.com" - }, - "output": { - "DkimTokens": [ - "EXAMPLEq76owjnks3lnluwg65scbemvw", - "EXAMPLEi3dnsj67hstzaj673klariwx2", - "EXAMPLEwfbtcukvimehexktmdtaz6naj" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example generates DKIM tokens for a domain that has been verified with Amazon SES:", - "id": "verifydomaindkim-1469049503083", - "title": "VerifyDomainDkim" - } - ], - "VerifyDomainIdentity": [ - { - "input": { - "Domain": "example.com" - }, - "output": { - "VerificationToken": "eoEmxw+YaYhb3h3iVJHuXMJXqeu1q1/wwmvjuEXAMPLE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example starts the domain verification process with Amazon SES:", - "id": "verifydomainidentity-1469049165936", - "title": "VerifyDomainIdentity" - } - ], - "VerifyEmailAddress": [ - { - "input": { - "EmailAddress": "user@example.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example starts the email address verification process with Amazon SES:", - "id": "verifyemailaddress-1469048849187", - "title": "VerifyEmailAddress" - } - ], - "VerifyEmailIdentity": [ - { - "input": { - "EmailAddress": "user@example.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example starts the email address verification process with Amazon SES:", - "id": "verifyemailidentity-1469049068623", - "title": "VerifyEmailIdentity" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/email-2010-12-01.min.json b/src/node_modules/aws-sdk/apis/email-2010-12-01.min.json deleted file mode 100644 index 5199b97..0000000 --- a/src/node_modules/aws-sdk/apis/email-2010-12-01.min.json +++ /dev/null @@ -1,1444 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "email-2010-12-01", - "apiVersion": "2010-12-01", - "endpointPrefix": "email", - "protocol": "query", - "serviceAbbreviation": "Amazon SES", - "serviceFullName": "Amazon Simple Email Service", - "signatureVersion": "v4", - "signingName": "ses", - "xmlNamespace": "http://ses.amazonaws.com/doc/2010-12-01/" - }, - "operations": { - "CloneReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "OriginalRuleSetName" - ], - "members": { - "RuleSetName": {}, - "OriginalRuleSetName": {} - } - }, - "output": { - "resultWrapper": "CloneReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "CreateConfigurationSet": { - "input": { - "type": "structure", - "required": [ - "ConfigurationSet" - ], - "members": { - "ConfigurationSet": { - "shape": "S5" - } - } - }, - "output": { - "resultWrapper": "CreateConfigurationSetResult", - "type": "structure", - "members": {} - } - }, - "CreateConfigurationSetEventDestination": { - "input": { - "type": "structure", - "required": [ - "ConfigurationSetName", - "EventDestination" - ], - "members": { - "ConfigurationSetName": {}, - "EventDestination": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateConfigurationSetEventDestinationResult", - "type": "structure", - "members": {} - } - }, - "CreateReceiptFilter": { - "input": { - "type": "structure", - "required": [ - "Filter" - ], - "members": { - "Filter": { - "shape": "So" - } - } - }, - "output": { - "resultWrapper": "CreateReceiptFilterResult", - "type": "structure", - "members": {} - } - }, - "CreateReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "Rule" - ], - "members": { - "RuleSetName": {}, - "After": {}, - "Rule": { - "shape": "Sw" - } - } - }, - "output": { - "resultWrapper": "CreateReceiptRuleResult", - "type": "structure", - "members": {} - } - }, - "CreateReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName" - ], - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "CreateReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "DeleteConfigurationSet": { - "input": { - "type": "structure", - "required": [ - "ConfigurationSetName" - ], - "members": { - "ConfigurationSetName": {} - } - }, - "output": { - "resultWrapper": "DeleteConfigurationSetResult", - "type": "structure", - "members": {} - } - }, - "DeleteConfigurationSetEventDestination": { - "input": { - "type": "structure", - "required": [ - "ConfigurationSetName", - "EventDestinationName" - ], - "members": { - "ConfigurationSetName": {}, - "EventDestinationName": {} - } - }, - "output": { - "resultWrapper": "DeleteConfigurationSetEventDestinationResult", - "type": "structure", - "members": {} - } - }, - "DeleteIdentity": { - "input": { - "type": "structure", - "required": [ - "Identity" - ], - "members": { - "Identity": {} - } - }, - "output": { - "resultWrapper": "DeleteIdentityResult", - "type": "structure", - "members": {} - } - }, - "DeleteIdentityPolicy": { - "input": { - "type": "structure", - "required": [ - "Identity", - "PolicyName" - ], - "members": { - "Identity": {}, - "PolicyName": {} - } - }, - "output": { - "resultWrapper": "DeleteIdentityPolicyResult", - "type": "structure", - "members": {} - } - }, - "DeleteReceiptFilter": { - "input": { - "type": "structure", - "required": [ - "FilterName" - ], - "members": { - "FilterName": {} - } - }, - "output": { - "resultWrapper": "DeleteReceiptFilterResult", - "type": "structure", - "members": {} - } - }, - "DeleteReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "RuleName" - ], - "members": { - "RuleSetName": {}, - "RuleName": {} - } - }, - "output": { - "resultWrapper": "DeleteReceiptRuleResult", - "type": "structure", - "members": {} - } - }, - "DeleteReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName" - ], - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "DeleteReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "DeleteVerifiedEmailAddress": { - "input": { - "type": "structure", - "required": [ - "EmailAddress" - ], - "members": { - "EmailAddress": {} - } - } - }, - "DescribeActiveReceiptRuleSet": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "DescribeActiveReceiptRuleSetResult", - "type": "structure", - "members": { - "Metadata": { - "shape": "S26" - }, - "Rules": { - "shape": "S28" - } - } - } - }, - "DescribeConfigurationSet": { - "input": { - "type": "structure", - "required": [ - "ConfigurationSetName" - ], - "members": { - "ConfigurationSetName": {}, - "ConfigurationSetAttributeNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DescribeConfigurationSetResult", - "type": "structure", - "members": { - "ConfigurationSet": { - "shape": "S5" - }, - "EventDestinations": { - "type": "list", - "member": { - "shape": "S9" - } - } - } - } - }, - "DescribeReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "RuleName" - ], - "members": { - "RuleSetName": {}, - "RuleName": {} - } - }, - "output": { - "resultWrapper": "DescribeReceiptRuleResult", - "type": "structure", - "members": { - "Rule": { - "shape": "Sw" - } - } - } - }, - "DescribeReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName" - ], - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "DescribeReceiptRuleSetResult", - "type": "structure", - "members": { - "Metadata": { - "shape": "S26" - }, - "Rules": { - "shape": "S28" - } - } - } - }, - "GetIdentityDkimAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S2j" - } - } - }, - "output": { - "resultWrapper": "GetIdentityDkimAttributesResult", - "type": "structure", - "required": [ - "DkimAttributes" - ], - "members": { - "DkimAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "DkimEnabled", - "DkimVerificationStatus" - ], - "members": { - "DkimEnabled": { - "type": "boolean" - }, - "DkimVerificationStatus": {}, - "DkimTokens": { - "shape": "S2o" - } - } - } - } - } - } - }, - "GetIdentityMailFromDomainAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S2j" - } - } - }, - "output": { - "resultWrapper": "GetIdentityMailFromDomainAttributesResult", - "type": "structure", - "required": [ - "MailFromDomainAttributes" - ], - "members": { - "MailFromDomainAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "MailFromDomain", - "MailFromDomainStatus", - "BehaviorOnMXFailure" - ], - "members": { - "MailFromDomain": {}, - "MailFromDomainStatus": {}, - "BehaviorOnMXFailure": {} - } - } - } - } - } - }, - "GetIdentityNotificationAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S2j" - } - } - }, - "output": { - "resultWrapper": "GetIdentityNotificationAttributesResult", - "type": "structure", - "required": [ - "NotificationAttributes" - ], - "members": { - "NotificationAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "BounceTopic", - "ComplaintTopic", - "DeliveryTopic", - "ForwardingEnabled" - ], - "members": { - "BounceTopic": {}, - "ComplaintTopic": {}, - "DeliveryTopic": {}, - "ForwardingEnabled": { - "type": "boolean" - }, - "HeadersInBounceNotificationsEnabled": { - "type": "boolean" - }, - "HeadersInComplaintNotificationsEnabled": { - "type": "boolean" - }, - "HeadersInDeliveryNotificationsEnabled": { - "type": "boolean" - } - } - } - } - } - } - }, - "GetIdentityPolicies": { - "input": { - "type": "structure", - "required": [ - "Identity", - "PolicyNames" - ], - "members": { - "Identity": {}, - "PolicyNames": { - "shape": "S33" - } - } - }, - "output": { - "resultWrapper": "GetIdentityPoliciesResult", - "type": "structure", - "required": [ - "Policies" - ], - "members": { - "Policies": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "GetIdentityVerificationAttributes": { - "input": { - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S2j" - } - } - }, - "output": { - "resultWrapper": "GetIdentityVerificationAttributesResult", - "type": "structure", - "required": [ - "VerificationAttributes" - ], - "members": { - "VerificationAttributes": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "VerificationStatus" - ], - "members": { - "VerificationStatus": {}, - "VerificationToken": {} - } - } - } - } - } - }, - "GetSendQuota": { - "output": { - "resultWrapper": "GetSendQuotaResult", - "type": "structure", - "members": { - "Max24HourSend": { - "type": "double" - }, - "MaxSendRate": { - "type": "double" - }, - "SentLast24Hours": { - "type": "double" - } - } - } - }, - "GetSendStatistics": { - "output": { - "resultWrapper": "GetSendStatisticsResult", - "type": "structure", - "members": { - "SendDataPoints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Timestamp": { - "type": "timestamp" - }, - "DeliveryAttempts": { - "type": "long" - }, - "Bounces": { - "type": "long" - }, - "Complaints": { - "type": "long" - }, - "Rejects": { - "type": "long" - } - } - } - } - } - } - }, - "ListConfigurationSets": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListConfigurationSetsResult", - "type": "structure", - "members": { - "ConfigurationSets": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "NextToken": {} - } - } - }, - "ListIdentities": { - "input": { - "type": "structure", - "members": { - "IdentityType": {}, - "NextToken": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListIdentitiesResult", - "type": "structure", - "required": [ - "Identities" - ], - "members": { - "Identities": { - "shape": "S2j" - }, - "NextToken": {} - } - } - }, - "ListIdentityPolicies": { - "input": { - "type": "structure", - "required": [ - "Identity" - ], - "members": { - "Identity": {} - } - }, - "output": { - "resultWrapper": "ListIdentityPoliciesResult", - "type": "structure", - "required": [ - "PolicyNames" - ], - "members": { - "PolicyNames": { - "shape": "S33" - } - } - } - }, - "ListReceiptFilters": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "ListReceiptFiltersResult", - "type": "structure", - "members": { - "Filters": { - "type": "list", - "member": { - "shape": "So" - } - } - } - } - }, - "ListReceiptRuleSets": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListReceiptRuleSetsResult", - "type": "structure", - "members": { - "RuleSets": { - "type": "list", - "member": { - "shape": "S26" - } - }, - "NextToken": {} - } - } - }, - "ListVerifiedEmailAddresses": { - "output": { - "resultWrapper": "ListVerifiedEmailAddressesResult", - "type": "structure", - "members": { - "VerifiedEmailAddresses": { - "shape": "S40" - } - } - } - }, - "PutIdentityPolicy": { - "input": { - "type": "structure", - "required": [ - "Identity", - "PolicyName", - "Policy" - ], - "members": { - "Identity": {}, - "PolicyName": {}, - "Policy": {} - } - }, - "output": { - "resultWrapper": "PutIdentityPolicyResult", - "type": "structure", - "members": {} - } - }, - "ReorderReceiptRuleSet": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "RuleNames" - ], - "members": { - "RuleSetName": {}, - "RuleNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "ReorderReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "SendBounce": { - "input": { - "type": "structure", - "required": [ - "OriginalMessageId", - "BounceSender", - "BouncedRecipientInfoList" - ], - "members": { - "OriginalMessageId": {}, - "BounceSender": {}, - "Explanation": {}, - "MessageDsn": { - "type": "structure", - "required": [ - "ReportingMta" - ], - "members": { - "ReportingMta": {}, - "ArrivalDate": { - "type": "timestamp" - }, - "ExtensionFields": { - "shape": "S4c" - } - } - }, - "BouncedRecipientInfoList": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Recipient" - ], - "members": { - "Recipient": {}, - "RecipientArn": {}, - "BounceType": {}, - "RecipientDsnFields": { - "type": "structure", - "required": [ - "Action", - "Status" - ], - "members": { - "FinalRecipient": {}, - "Action": {}, - "RemoteMta": {}, - "Status": {}, - "DiagnosticCode": {}, - "LastAttemptDate": { - "type": "timestamp" - }, - "ExtensionFields": { - "shape": "S4c" - } - } - } - } - } - }, - "BounceSenderArn": {} - } - }, - "output": { - "resultWrapper": "SendBounceResult", - "type": "structure", - "members": { - "MessageId": {} - } - } - }, - "SendEmail": { - "input": { - "type": "structure", - "required": [ - "Source", - "Destination", - "Message" - ], - "members": { - "Source": {}, - "Destination": { - "type": "structure", - "members": { - "ToAddresses": { - "shape": "S40" - }, - "CcAddresses": { - "shape": "S40" - }, - "BccAddresses": { - "shape": "S40" - } - } - }, - "Message": { - "type": "structure", - "required": [ - "Subject", - "Body" - ], - "members": { - "Subject": { - "shape": "S4t" - }, - "Body": { - "type": "structure", - "members": { - "Text": { - "shape": "S4t" - }, - "Html": { - "shape": "S4t" - } - } - } - } - }, - "ReplyToAddresses": { - "shape": "S40" - }, - "ReturnPath": {}, - "SourceArn": {}, - "ReturnPathArn": {}, - "Tags": { - "shape": "S4x" - }, - "ConfigurationSetName": {} - } - }, - "output": { - "resultWrapper": "SendEmailResult", - "type": "structure", - "required": [ - "MessageId" - ], - "members": { - "MessageId": {} - } - } - }, - "SendRawEmail": { - "input": { - "type": "structure", - "required": [ - "RawMessage" - ], - "members": { - "Source": {}, - "Destinations": { - "shape": "S40" - }, - "RawMessage": { - "type": "structure", - "required": [ - "Data" - ], - "members": { - "Data": { - "type": "blob" - } - } - }, - "FromArn": {}, - "SourceArn": {}, - "ReturnPathArn": {}, - "Tags": { - "shape": "S4x" - }, - "ConfigurationSetName": {} - } - }, - "output": { - "resultWrapper": "SendRawEmailResult", - "type": "structure", - "required": [ - "MessageId" - ], - "members": { - "MessageId": {} - } - } - }, - "SetActiveReceiptRuleSet": { - "input": { - "type": "structure", - "members": { - "RuleSetName": {} - } - }, - "output": { - "resultWrapper": "SetActiveReceiptRuleSetResult", - "type": "structure", - "members": {} - } - }, - "SetIdentityDkimEnabled": { - "input": { - "type": "structure", - "required": [ - "Identity", - "DkimEnabled" - ], - "members": { - "Identity": {}, - "DkimEnabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "SetIdentityDkimEnabledResult", - "type": "structure", - "members": {} - } - }, - "SetIdentityFeedbackForwardingEnabled": { - "input": { - "type": "structure", - "required": [ - "Identity", - "ForwardingEnabled" - ], - "members": { - "Identity": {}, - "ForwardingEnabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "SetIdentityFeedbackForwardingEnabledResult", - "type": "structure", - "members": {} - } - }, - "SetIdentityHeadersInNotificationsEnabled": { - "input": { - "type": "structure", - "required": [ - "Identity", - "NotificationType", - "Enabled" - ], - "members": { - "Identity": {}, - "NotificationType": {}, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "SetIdentityHeadersInNotificationsEnabledResult", - "type": "structure", - "members": {} - } - }, - "SetIdentityMailFromDomain": { - "input": { - "type": "structure", - "required": [ - "Identity" - ], - "members": { - "Identity": {}, - "MailFromDomain": {}, - "BehaviorOnMXFailure": {} - } - }, - "output": { - "resultWrapper": "SetIdentityMailFromDomainResult", - "type": "structure", - "members": {} - } - }, - "SetIdentityNotificationTopic": { - "input": { - "type": "structure", - "required": [ - "Identity", - "NotificationType" - ], - "members": { - "Identity": {}, - "NotificationType": {}, - "SnsTopic": {} - } - }, - "output": { - "resultWrapper": "SetIdentityNotificationTopicResult", - "type": "structure", - "members": {} - } - }, - "SetReceiptRulePosition": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "RuleName" - ], - "members": { - "RuleSetName": {}, - "RuleName": {}, - "After": {} - } - }, - "output": { - "resultWrapper": "SetReceiptRulePositionResult", - "type": "structure", - "members": {} - } - }, - "UpdateConfigurationSetEventDestination": { - "input": { - "type": "structure", - "required": [ - "ConfigurationSetName", - "EventDestination" - ], - "members": { - "ConfigurationSetName": {}, - "EventDestination": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "UpdateConfigurationSetEventDestinationResult", - "type": "structure", - "members": {} - } - }, - "UpdateReceiptRule": { - "input": { - "type": "structure", - "required": [ - "RuleSetName", - "Rule" - ], - "members": { - "RuleSetName": {}, - "Rule": { - "shape": "Sw" - } - } - }, - "output": { - "resultWrapper": "UpdateReceiptRuleResult", - "type": "structure", - "members": {} - } - }, - "VerifyDomainDkim": { - "input": { - "type": "structure", - "required": [ - "Domain" - ], - "members": { - "Domain": {} - } - }, - "output": { - "resultWrapper": "VerifyDomainDkimResult", - "type": "structure", - "required": [ - "DkimTokens" - ], - "members": { - "DkimTokens": { - "shape": "S2o" - } - } - } - }, - "VerifyDomainIdentity": { - "input": { - "type": "structure", - "required": [ - "Domain" - ], - "members": { - "Domain": {} - } - }, - "output": { - "resultWrapper": "VerifyDomainIdentityResult", - "type": "structure", - "required": [ - "VerificationToken" - ], - "members": { - "VerificationToken": {} - } - } - }, - "VerifyEmailAddress": { - "input": { - "type": "structure", - "required": [ - "EmailAddress" - ], - "members": { - "EmailAddress": {} - } - } - }, - "VerifyEmailIdentity": { - "input": { - "type": "structure", - "required": [ - "EmailAddress" - ], - "members": { - "EmailAddress": {} - } - }, - "output": { - "resultWrapper": "VerifyEmailIdentityResult", - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "S9": { - "type": "structure", - "required": [ - "Name", - "MatchingEventTypes" - ], - "members": { - "Name": {}, - "Enabled": { - "type": "boolean" - }, - "MatchingEventTypes": { - "type": "list", - "member": {} - }, - "KinesisFirehoseDestination": { - "type": "structure", - "required": [ - "IAMRoleARN", - "DeliveryStreamARN" - ], - "members": { - "IAMRoleARN": {}, - "DeliveryStreamARN": {} - } - }, - "CloudWatchDestination": { - "type": "structure", - "required": [ - "DimensionConfigurations" - ], - "members": { - "DimensionConfigurations": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "DimensionName", - "DimensionValueSource", - "DefaultDimensionValue" - ], - "members": { - "DimensionName": {}, - "DimensionValueSource": {}, - "DefaultDimensionValue": {} - } - } - } - } - } - } - }, - "So": { - "type": "structure", - "required": [ - "Name", - "IpFilter" - ], - "members": { - "Name": {}, - "IpFilter": { - "type": "structure", - "required": [ - "Policy", - "Cidr" - ], - "members": { - "Policy": {}, - "Cidr": {} - } - } - } - }, - "Sw": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Enabled": { - "type": "boolean" - }, - "TlsPolicy": {}, - "Recipients": { - "type": "list", - "member": {} - }, - "Actions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "S3Action": { - "type": "structure", - "required": [ - "BucketName" - ], - "members": { - "TopicArn": {}, - "BucketName": {}, - "ObjectKeyPrefix": {}, - "KmsKeyArn": {} - } - }, - "BounceAction": { - "type": "structure", - "required": [ - "SmtpReplyCode", - "Message", - "Sender" - ], - "members": { - "TopicArn": {}, - "SmtpReplyCode": {}, - "StatusCode": {}, - "Message": {}, - "Sender": {} - } - }, - "WorkmailAction": { - "type": "structure", - "required": [ - "OrganizationArn" - ], - "members": { - "TopicArn": {}, - "OrganizationArn": {} - } - }, - "LambdaAction": { - "type": "structure", - "required": [ - "FunctionArn" - ], - "members": { - "TopicArn": {}, - "FunctionArn": {}, - "InvocationType": {} - } - }, - "StopAction": { - "type": "structure", - "required": [ - "Scope" - ], - "members": { - "Scope": {}, - "TopicArn": {} - } - }, - "AddHeaderAction": { - "type": "structure", - "required": [ - "HeaderName", - "HeaderValue" - ], - "members": { - "HeaderName": {}, - "HeaderValue": {} - } - }, - "SNSAction": { - "type": "structure", - "required": [ - "TopicArn" - ], - "members": { - "TopicArn": {}, - "Encoding": {} - } - } - } - } - }, - "ScanEnabled": { - "type": "boolean" - } - } - }, - "S26": { - "type": "structure", - "members": { - "Name": {}, - "CreatedTimestamp": { - "type": "timestamp" - } - } - }, - "S28": { - "type": "list", - "member": { - "shape": "Sw" - } - }, - "S2j": { - "type": "list", - "member": {} - }, - "S2o": { - "type": "list", - "member": {} - }, - "S33": { - "type": "list", - "member": {} - }, - "S40": { - "type": "list", - "member": {} - }, - "S4c": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {} - } - } - }, - "S4t": { - "type": "structure", - "required": [ - "Data" - ], - "members": { - "Data": {}, - "Charset": {} - } - }, - "S4x": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/email-2010-12-01.paginators.json b/src/node_modules/aws-sdk/apis/email-2010-12-01.paginators.json deleted file mode 100644 index e12811f..0000000 --- a/src/node_modules/aws-sdk/apis/email-2010-12-01.paginators.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "pagination": { - "ListIdentities": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxItems", - "result_key": "Identities" - }, - "ListVerifiedEmailAddresses": { - "result_key": "VerifiedEmailAddresses" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/email-2010-12-01.waiters2.json b/src/node_modules/aws-sdk/apis/email-2010-12-01.waiters2.json deleted file mode 100644 index b585d30..0000000 --- a/src/node_modules/aws-sdk/apis/email-2010-12-01.waiters2.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 2, - "waiters": { - "IdentityExists": { - "delay": 3, - "operation": "GetIdentityVerificationAttributes", - "maxAttempts": 20, - "acceptors": [ - { - "expected": "Success", - "matcher": "pathAll", - "state": "success", - "argument": "VerificationAttributes.*.VerificationStatus" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.examples.json b/src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.min.json b/src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.min.json deleted file mode 100644 index fb54d6c..0000000 --- a/src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.min.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2017-01-11", - "endpointPrefix": "entitlement.marketplace", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Marketplace Entitlement Service", - "signatureVersion": "v4", - "signingName": "aws-marketplace", - "targetPrefix": "AWSMPEntitlementService", - "uid": "entitlement.marketplace-2017-01-11" - }, - "operations": { - "GetEntitlements": { - "input": { - "type": "structure", - "required": [ - "ProductCode" - ], - "members": { - "ProductCode": {}, - "Filter": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Entitlements": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ProductCode": {}, - "Dimension": {}, - "CustomerIdentifier": {}, - "Value": { - "type": "structure", - "members": { - "IntegerValue": { - "type": "integer" - }, - "DoubleValue": { - "type": "double" - }, - "BooleanValue": { - "type": "boolean" - }, - "StringValue": {} - } - }, - "ExpirationDate": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - } - }, - "shapes": {} -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.paginators.json b/src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/es-2015-01-01.min.json b/src/node_modules/aws-sdk/apis/es-2015-01-01.min.json deleted file mode 100644 index 5f39fee..0000000 --- a/src/node_modules/aws-sdk/apis/es-2015-01-01.min.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-01-01", - "endpointPrefix": "es", - "protocol": "rest-json", - "serviceFullName": "Amazon Elasticsearch Service", - "signatureVersion": "v4", - "uid": "es-2015-01-01" - }, - "operations": { - "AddTags": { - "http": { - "requestUri": "/2015-01-01/tags" - }, - "input": { - "type": "structure", - "required": [ - "ARN", - "TagList" - ], - "members": { - "ARN": {}, - "TagList": { - "shape": "S3" - } - } - } - }, - "CreateElasticsearchDomain": { - "http": { - "requestUri": "/2015-01-01/es/domain" - }, - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "ElasticsearchVersion": {}, - "ElasticsearchClusterConfig": { - "shape": "Sa" - }, - "EBSOptions": { - "shape": "Se" - }, - "AccessPolicies": {}, - "SnapshotOptions": { - "shape": "Sh" - }, - "AdvancedOptions": { - "shape": "Si" - } - } - }, - "output": { - "type": "structure", - "members": { - "DomainStatus": { - "shape": "Sl" - } - } - } - }, - "DeleteElasticsearchDomain": { - "http": { - "method": "DELETE", - "requestUri": "/2015-01-01/es/domain/{DomainName}" - }, - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": { - "location": "uri", - "locationName": "DomainName" - } - } - }, - "output": { - "type": "structure", - "members": { - "DomainStatus": { - "shape": "Sl" - } - } - } - }, - "DescribeElasticsearchDomain": { - "http": { - "method": "GET", - "requestUri": "/2015-01-01/es/domain/{DomainName}" - }, - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": { - "location": "uri", - "locationName": "DomainName" - } - } - }, - "output": { - "type": "structure", - "required": [ - "DomainStatus" - ], - "members": { - "DomainStatus": { - "shape": "Sl" - } - } - } - }, - "DescribeElasticsearchDomainConfig": { - "http": { - "method": "GET", - "requestUri": "/2015-01-01/es/domain/{DomainName}/config" - }, - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": { - "location": "uri", - "locationName": "DomainName" - } - } - }, - "output": { - "type": "structure", - "required": [ - "DomainConfig" - ], - "members": { - "DomainConfig": { - "shape": "Su" - } - } - } - }, - "DescribeElasticsearchDomains": { - "http": { - "requestUri": "/2015-01-01/es/domain-info" - }, - "input": { - "type": "structure", - "required": [ - "DomainNames" - ], - "members": { - "DomainNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "required": [ - "DomainStatusList" - ], - "members": { - "DomainStatusList": { - "type": "list", - "member": { - "shape": "Sl" - } - } - } - } - }, - "DescribeElasticsearchInstanceTypeLimits": { - "http": { - "method": "GET", - "requestUri": "/2015-01-01/es/instanceTypeLimits/{ElasticsearchVersion}/{InstanceType}" - }, - "input": { - "type": "structure", - "required": [ - "InstanceType", - "ElasticsearchVersion" - ], - "members": { - "DomainName": { - "location": "querystring", - "locationName": "domainName" - }, - "InstanceType": { - "location": "uri", - "locationName": "InstanceType" - }, - "ElasticsearchVersion": { - "location": "uri", - "locationName": "ElasticsearchVersion" - } - } - }, - "output": { - "type": "structure", - "members": { - "LimitsByRole": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "StorageTypes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StorageTypeName": {}, - "StorageSubTypeName": {}, - "StorageTypeLimits": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LimitName": {}, - "LimitValues": { - "shape": "S1l" - } - } - } - } - } - } - }, - "InstanceLimits": { - "type": "structure", - "members": { - "InstanceCountLimits": { - "type": "structure", - "members": { - "MinimumInstanceCount": { - "type": "integer" - }, - "MaximumInstanceCount": { - "type": "integer" - } - } - } - } - }, - "AdditionalLimits": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LimitName": {}, - "LimitValues": { - "shape": "S1l" - } - } - } - } - } - } - } - } - } - }, - "ListDomainNames": { - "http": { - "method": "GET", - "requestUri": "/2015-01-01/domain" - }, - "output": { - "type": "structure", - "members": { - "DomainNames": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DomainName": {} - } - } - } - } - } - }, - "ListElasticsearchInstanceTypes": { - "http": { - "method": "GET", - "requestUri": "/2015-01-01/es/instanceTypes/{ElasticsearchVersion}" - }, - "input": { - "type": "structure", - "required": [ - "ElasticsearchVersion" - ], - "members": { - "ElasticsearchVersion": { - "location": "uri", - "locationName": "ElasticsearchVersion" - }, - "DomainName": { - "location": "querystring", - "locationName": "domainName" - }, - "MaxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "location": "querystring", - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "ElasticsearchInstanceTypes": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "ListElasticsearchVersions": { - "http": { - "method": "GET", - "requestUri": "/2015-01-01/es/versions" - }, - "input": { - "type": "structure", - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "NextToken": { - "location": "querystring", - "locationName": "nextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "ElasticsearchVersions": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "ListTags": { - "http": { - "method": "GET", - "requestUri": "/2015-01-01/tags/" - }, - "input": { - "type": "structure", - "required": [ - "ARN" - ], - "members": { - "ARN": { - "location": "querystring", - "locationName": "arn" - } - } - }, - "output": { - "type": "structure", - "members": { - "TagList": { - "shape": "S3" - } - } - } - }, - "RemoveTags": { - "http": { - "requestUri": "/2015-01-01/tags-removal" - }, - "input": { - "type": "structure", - "required": [ - "ARN", - "TagKeys" - ], - "members": { - "ARN": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "UpdateElasticsearchDomainConfig": { - "http": { - "requestUri": "/2015-01-01/es/domain/{DomainName}/config" - }, - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": { - "location": "uri", - "locationName": "DomainName" - }, - "ElasticsearchClusterConfig": { - "shape": "Sa" - }, - "EBSOptions": { - "shape": "Se" - }, - "SnapshotOptions": { - "shape": "Sh" - }, - "AdvancedOptions": { - "shape": "Si" - }, - "AccessPolicies": {} - } - }, - "output": { - "type": "structure", - "required": [ - "DomainConfig" - ], - "members": { - "DomainConfig": { - "shape": "Su" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sa": { - "type": "structure", - "members": { - "InstanceType": {}, - "InstanceCount": { - "type": "integer" - }, - "DedicatedMasterEnabled": { - "type": "boolean" - }, - "ZoneAwarenessEnabled": { - "type": "boolean" - }, - "DedicatedMasterType": {}, - "DedicatedMasterCount": { - "type": "integer" - } - } - }, - "Se": { - "type": "structure", - "members": { - "EBSEnabled": { - "type": "boolean" - }, - "VolumeType": {}, - "VolumeSize": { - "type": "integer" - }, - "Iops": { - "type": "integer" - } - } - }, - "Sh": { - "type": "structure", - "members": { - "AutomatedSnapshotStartHour": { - "type": "integer" - } - } - }, - "Si": { - "type": "map", - "key": {}, - "value": {} - }, - "Sl": { - "type": "structure", - "required": [ - "DomainId", - "DomainName", - "ARN", - "ElasticsearchClusterConfig" - ], - "members": { - "DomainId": {}, - "DomainName": {}, - "ARN": {}, - "Created": { - "type": "boolean" - }, - "Deleted": { - "type": "boolean" - }, - "Endpoint": {}, - "Processing": { - "type": "boolean" - }, - "ElasticsearchVersion": {}, - "ElasticsearchClusterConfig": { - "shape": "Sa" - }, - "EBSOptions": { - "shape": "Se" - }, - "AccessPolicies": {}, - "SnapshotOptions": { - "shape": "Sh" - }, - "AdvancedOptions": { - "shape": "Si" - } - } - }, - "Su": { - "type": "structure", - "members": { - "ElasticsearchVersion": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": {}, - "Status": { - "shape": "Sw" - } - } - }, - "ElasticsearchClusterConfig": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "Sa" - }, - "Status": { - "shape": "Sw" - } - } - }, - "EBSOptions": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "Se" - }, - "Status": { - "shape": "Sw" - } - } - }, - "AccessPolicies": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": {}, - "Status": { - "shape": "Sw" - } - } - }, - "SnapshotOptions": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "Sh" - }, - "Status": { - "shape": "Sw" - } - } - }, - "AdvancedOptions": { - "type": "structure", - "required": [ - "Options", - "Status" - ], - "members": { - "Options": { - "shape": "Si" - }, - "Status": { - "shape": "Sw" - } - } - } - } - }, - "Sw": { - "type": "structure", - "required": [ - "CreationDate", - "UpdateDate", - "State" - ], - "members": { - "CreationDate": { - "type": "timestamp" - }, - "UpdateDate": { - "type": "timestamp" - }, - "UpdateVersion": { - "type": "integer" - }, - "State": {}, - "PendingDeletion": { - "type": "boolean" - } - } - }, - "S1l": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/es-2015-01-01.paginators.json b/src/node_modules/aws-sdk/apis/es-2015-01-01.paginators.json deleted file mode 100644 index 5a6c3dd..0000000 --- a/src/node_modules/aws-sdk/apis/es-2015-01-01.paginators.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pagination": { - "ListElasticsearchInstanceTypes": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListElasticsearchVersions": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/events-2015-10-07.examples.json b/src/node_modules/aws-sdk/apis/events-2015-10-07.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/events-2015-10-07.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/events-2015-10-07.min.json b/src/node_modules/aws-sdk/apis/events-2015-10-07.min.json deleted file mode 100644 index d07a540..0000000 --- a/src/node_modules/aws-sdk/apis/events-2015-10-07.min.json +++ /dev/null @@ -1,431 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-10-07", - "endpointPrefix": "events", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon CloudWatch Events", - "signatureVersion": "v4", - "targetPrefix": "AWSEvents", - "uid": "events-2015-10-07" - }, - "operations": { - "DeleteRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - } - }, - "DescribeEventBus": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "Arn": {}, - "Policy": {} - } - } - }, - "DescribeRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "Arn": {}, - "EventPattern": {}, - "ScheduleExpression": {}, - "State": {}, - "Description": {}, - "RoleArn": {} - } - } - }, - "DisableRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - } - }, - "EnableRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - } - }, - "ListRuleNamesByTarget": { - "input": { - "type": "structure", - "required": [ - "TargetArn" - ], - "members": { - "TargetArn": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "RuleNames": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "ListRules": { - "input": { - "type": "structure", - "members": { - "NamePrefix": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Rules": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Arn": {}, - "EventPattern": {}, - "State": {}, - "Description": {}, - "ScheduleExpression": {}, - "RoleArn": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListTargetsByRule": { - "input": { - "type": "structure", - "required": [ - "Rule" - ], - "members": { - "Rule": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Targets": { - "shape": "Ss" - }, - "NextToken": {} - } - } - }, - "PutEvents": { - "input": { - "type": "structure", - "required": [ - "Entries" - ], - "members": { - "Entries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Time": { - "type": "timestamp" - }, - "Source": {}, - "Resources": { - "type": "list", - "member": {} - }, - "DetailType": {}, - "Detail": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedEntryCount": { - "type": "integer" - }, - "Entries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "PutPermission": { - "input": { - "type": "structure", - "required": [ - "Action", - "Principal", - "StatementId" - ], - "members": { - "Action": {}, - "Principal": {}, - "StatementId": {} - } - } - }, - "PutRule": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "ScheduleExpression": {}, - "EventPattern": {}, - "State": {}, - "Description": {}, - "RoleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "RuleArn": {} - } - } - }, - "PutTargets": { - "input": { - "type": "structure", - "required": [ - "Rule", - "Targets" - ], - "members": { - "Rule": {}, - "Targets": { - "shape": "Ss" - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedEntryCount": { - "type": "integer" - }, - "FailedEntries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "RemovePermission": { - "input": { - "type": "structure", - "required": [ - "StatementId" - ], - "members": { - "StatementId": {} - } - } - }, - "RemoveTargets": { - "input": { - "type": "structure", - "required": [ - "Rule", - "Ids" - ], - "members": { - "Rule": {}, - "Ids": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedEntryCount": { - "type": "integer" - }, - "FailedEntries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "TestEventPattern": { - "input": { - "type": "structure", - "required": [ - "EventPattern", - "Event" - ], - "members": { - "EventPattern": {}, - "Event": {} - } - }, - "output": { - "type": "structure", - "members": { - "Result": { - "type": "boolean" - } - } - } - } - }, - "shapes": { - "Ss": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Id", - "Arn" - ], - "members": { - "Id": {}, - "Arn": {}, - "RoleArn": {}, - "Input": {}, - "InputPath": {}, - "InputTransformer": { - "type": "structure", - "required": [ - "InputTemplate" - ], - "members": { - "InputPathsMap": { - "type": "map", - "key": {}, - "value": {} - }, - "InputTemplate": {} - } - }, - "KinesisParameters": { - "type": "structure", - "required": [ - "PartitionKeyPath" - ], - "members": { - "PartitionKeyPath": {} - } - }, - "RunCommandParameters": { - "type": "structure", - "required": [ - "RunCommandTargets" - ], - "members": { - "RunCommandTargets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Values" - ], - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - } - } - }, - "EcsParameters": { - "type": "structure", - "required": [ - "TaskDefinitionArn" - ], - "members": { - "TaskDefinitionArn": {}, - "TaskCount": { - "type": "integer" - } - } - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/events-2015-10-07.paginators.json b/src/node_modules/aws-sdk/apis/events-2015-10-07.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/events-2015-10-07.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json b/src/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json deleted file mode 100644 index babecb3..0000000 --- a/src/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +++ /dev/null @@ -1,703 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-08-04", - "endpointPrefix": "firehose", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Firehose", - "serviceFullName": "Amazon Kinesis Firehose", - "signatureVersion": "v4", - "targetPrefix": "Firehose_20150804", - "uid": "firehose-2015-08-04" - }, - "operations": { - "CreateDeliveryStream": { - "input": { - "type": "structure", - "required": [ - "DeliveryStreamName" - ], - "members": { - "DeliveryStreamName": {}, - "S3DestinationConfiguration": { - "shape": "S3", - "deprecated": true - }, - "ExtendedS3DestinationConfiguration": { - "type": "structure", - "required": [ - "RoleARN", - "BucketARN" - ], - "members": { - "RoleARN": {}, - "BucketARN": {}, - "Prefix": {}, - "BufferingHints": { - "shape": "S7" - }, - "CompressionFormat": {}, - "EncryptionConfiguration": { - "shape": "Sb" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - }, - "ProcessingConfiguration": { - "shape": "Sk" - }, - "S3BackupMode": {}, - "S3BackupConfiguration": { - "shape": "S3" - } - } - }, - "RedshiftDestinationConfiguration": { - "type": "structure", - "required": [ - "RoleARN", - "ClusterJDBCURL", - "CopyCommand", - "Username", - "Password", - "S3Configuration" - ], - "members": { - "RoleARN": {}, - "ClusterJDBCURL": {}, - "CopyCommand": { - "shape": "Sv" - }, - "Username": { - "shape": "Sz" - }, - "Password": { - "shape": "S10" - }, - "RetryOptions": { - "shape": "S11" - }, - "S3Configuration": { - "shape": "S3" - }, - "ProcessingConfiguration": { - "shape": "Sk" - }, - "S3BackupMode": {}, - "S3BackupConfiguration": { - "shape": "S3" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "ElasticsearchDestinationConfiguration": { - "type": "structure", - "required": [ - "RoleARN", - "DomainARN", - "IndexName", - "TypeName", - "S3Configuration" - ], - "members": { - "RoleARN": {}, - "DomainARN": {}, - "IndexName": {}, - "TypeName": {}, - "IndexRotationPeriod": {}, - "BufferingHints": { - "shape": "S19" - }, - "RetryOptions": { - "shape": "S1c" - }, - "S3BackupMode": {}, - "S3Configuration": { - "shape": "S3" - }, - "ProcessingConfiguration": { - "shape": "Sk" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "DeliveryStreamARN": {} - } - } - }, - "DeleteDeliveryStream": { - "input": { - "type": "structure", - "required": [ - "DeliveryStreamName" - ], - "members": { - "DeliveryStreamName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeDeliveryStream": { - "input": { - "type": "structure", - "required": [ - "DeliveryStreamName" - ], - "members": { - "DeliveryStreamName": {}, - "Limit": { - "type": "integer" - }, - "ExclusiveStartDestinationId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "DeliveryStreamDescription" - ], - "members": { - "DeliveryStreamDescription": { - "type": "structure", - "required": [ - "DeliveryStreamName", - "DeliveryStreamARN", - "DeliveryStreamStatus", - "VersionId", - "Destinations", - "HasMoreDestinations" - ], - "members": { - "DeliveryStreamName": {}, - "DeliveryStreamARN": {}, - "DeliveryStreamStatus": {}, - "VersionId": {}, - "CreateTimestamp": { - "type": "timestamp" - }, - "LastUpdateTimestamp": { - "type": "timestamp" - }, - "Destinations": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "DestinationId" - ], - "members": { - "DestinationId": {}, - "S3DestinationDescription": { - "shape": "S1t" - }, - "ExtendedS3DestinationDescription": { - "type": "structure", - "required": [ - "RoleARN", - "BucketARN", - "BufferingHints", - "CompressionFormat", - "EncryptionConfiguration" - ], - "members": { - "RoleARN": {}, - "BucketARN": {}, - "Prefix": {}, - "BufferingHints": { - "shape": "S7" - }, - "CompressionFormat": {}, - "EncryptionConfiguration": { - "shape": "Sb" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - }, - "ProcessingConfiguration": { - "shape": "Sk" - }, - "S3BackupMode": {}, - "S3BackupDescription": { - "shape": "S1t" - } - } - }, - "RedshiftDestinationDescription": { - "type": "structure", - "required": [ - "RoleARN", - "ClusterJDBCURL", - "CopyCommand", - "Username", - "S3DestinationDescription" - ], - "members": { - "RoleARN": {}, - "ClusterJDBCURL": {}, - "CopyCommand": { - "shape": "Sv" - }, - "Username": { - "shape": "Sz" - }, - "RetryOptions": { - "shape": "S11" - }, - "S3DestinationDescription": { - "shape": "S1t" - }, - "ProcessingConfiguration": { - "shape": "Sk" - }, - "S3BackupMode": {}, - "S3BackupDescription": { - "shape": "S1t" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "ElasticsearchDestinationDescription": { - "type": "structure", - "members": { - "RoleARN": {}, - "DomainARN": {}, - "IndexName": {}, - "TypeName": {}, - "IndexRotationPeriod": {}, - "BufferingHints": { - "shape": "S19" - }, - "RetryOptions": { - "shape": "S1c" - }, - "S3BackupMode": {}, - "S3DestinationDescription": { - "shape": "S1t" - }, - "ProcessingConfiguration": { - "shape": "Sk" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - } - } - } - }, - "HasMoreDestinations": { - "type": "boolean" - } - } - } - } - } - }, - "ListDeliveryStreams": { - "input": { - "type": "structure", - "members": { - "Limit": { - "type": "integer" - }, - "ExclusiveStartDeliveryStreamName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "DeliveryStreamNames", - "HasMoreDeliveryStreams" - ], - "members": { - "DeliveryStreamNames": { - "type": "list", - "member": {} - }, - "HasMoreDeliveryStreams": { - "type": "boolean" - } - } - } - }, - "PutRecord": { - "input": { - "type": "structure", - "required": [ - "DeliveryStreamName", - "Record" - ], - "members": { - "DeliveryStreamName": {}, - "Record": { - "shape": "S22" - } - } - }, - "output": { - "type": "structure", - "required": [ - "RecordId" - ], - "members": { - "RecordId": {} - } - } - }, - "PutRecordBatch": { - "input": { - "type": "structure", - "required": [ - "DeliveryStreamName", - "Records" - ], - "members": { - "DeliveryStreamName": {}, - "Records": { - "type": "list", - "member": { - "shape": "S22" - } - } - } - }, - "output": { - "type": "structure", - "required": [ - "FailedPutCount", - "RequestResponses" - ], - "members": { - "FailedPutCount": { - "type": "integer" - }, - "RequestResponses": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RecordId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } - } - }, - "UpdateDestination": { - "input": { - "type": "structure", - "required": [ - "DeliveryStreamName", - "CurrentDeliveryStreamVersionId", - "DestinationId" - ], - "members": { - "DeliveryStreamName": {}, - "CurrentDeliveryStreamVersionId": {}, - "DestinationId": {}, - "S3DestinationUpdate": { - "shape": "S2f", - "deprecated": true - }, - "ExtendedS3DestinationUpdate": { - "type": "structure", - "members": { - "RoleARN": {}, - "BucketARN": {}, - "Prefix": {}, - "BufferingHints": { - "shape": "S7" - }, - "CompressionFormat": {}, - "EncryptionConfiguration": { - "shape": "Sb" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - }, - "ProcessingConfiguration": { - "shape": "Sk" - }, - "S3BackupMode": {}, - "S3BackupUpdate": { - "shape": "S2f" - } - } - }, - "RedshiftDestinationUpdate": { - "type": "structure", - "members": { - "RoleARN": {}, - "ClusterJDBCURL": {}, - "CopyCommand": { - "shape": "Sv" - }, - "Username": { - "shape": "Sz" - }, - "Password": { - "shape": "S10" - }, - "RetryOptions": { - "shape": "S11" - }, - "S3Update": { - "shape": "S2f" - }, - "ProcessingConfiguration": { - "shape": "Sk" - }, - "S3BackupMode": {}, - "S3BackupUpdate": { - "shape": "S2f" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "ElasticsearchDestinationUpdate": { - "type": "structure", - "members": { - "RoleARN": {}, - "DomainARN": {}, - "IndexName": {}, - "TypeName": {}, - "IndexRotationPeriod": {}, - "BufferingHints": { - "shape": "S19" - }, - "RetryOptions": { - "shape": "S1c" - }, - "S3Update": { - "shape": "S2f" - }, - "ProcessingConfiguration": { - "shape": "Sk" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "required": [ - "RoleARN", - "BucketARN" - ], - "members": { - "RoleARN": {}, - "BucketARN": {}, - "Prefix": {}, - "BufferingHints": { - "shape": "S7" - }, - "CompressionFormat": {}, - "EncryptionConfiguration": { - "shape": "Sb" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "S7": { - "type": "structure", - "members": { - "SizeInMBs": { - "type": "integer" - }, - "IntervalInSeconds": { - "type": "integer" - } - } - }, - "Sb": { - "type": "structure", - "members": { - "NoEncryptionConfig": {}, - "KMSEncryptionConfig": { - "type": "structure", - "required": [ - "AWSKMSKeyARN" - ], - "members": { - "AWSKMSKeyARN": {} - } - } - } - }, - "Sf": { - "type": "structure", - "members": { - "Enabled": { - "type": "boolean" - }, - "LogGroupName": {}, - "LogStreamName": {} - } - }, - "Sk": { - "type": "structure", - "members": { - "Enabled": { - "type": "boolean" - }, - "Processors": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {}, - "Parameters": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ParameterName", - "ParameterValue" - ], - "members": { - "ParameterName": {}, - "ParameterValue": {} - } - } - } - } - } - } - } - }, - "Sv": { - "type": "structure", - "required": [ - "DataTableName" - ], - "members": { - "DataTableName": {}, - "DataTableColumns": {}, - "CopyOptions": {} - } - }, - "Sz": { - "type": "string", - "sensitive": true - }, - "S10": { - "type": "string", - "sensitive": true - }, - "S11": { - "type": "structure", - "members": { - "DurationInSeconds": { - "type": "integer" - } - } - }, - "S19": { - "type": "structure", - "members": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - } - }, - "S1c": { - "type": "structure", - "members": { - "DurationInSeconds": { - "type": "integer" - } - } - }, - "S1t": { - "type": "structure", - "required": [ - "RoleARN", - "BucketARN", - "BufferingHints", - "CompressionFormat", - "EncryptionConfiguration" - ], - "members": { - "RoleARN": {}, - "BucketARN": {}, - "Prefix": {}, - "BufferingHints": { - "shape": "S7" - }, - "CompressionFormat": {}, - "EncryptionConfiguration": { - "shape": "Sb" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - }, - "S22": { - "type": "structure", - "required": [ - "Data" - ], - "members": { - "Data": { - "type": "blob" - } - } - }, - "S2f": { - "type": "structure", - "members": { - "RoleARN": {}, - "BucketARN": {}, - "Prefix": {}, - "BufferingHints": { - "shape": "S7" - }, - "CompressionFormat": {}, - "EncryptionConfiguration": { - "shape": "Sb" - }, - "CloudWatchLoggingOptions": { - "shape": "Sf" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/gamelift-2015-10-01.examples.json b/src/node_modules/aws-sdk/apis/gamelift-2015-10-01.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/gamelift-2015-10-01.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json b/src/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json deleted file mode 100644 index f82258c..0000000 --- a/src/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json +++ /dev/null @@ -1,1572 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-10-01", - "endpointPrefix": "gamelift", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon GameLift", - "signatureVersion": "v4", - "targetPrefix": "GameLift", - "uid": "gamelift-2015-10-01" - }, - "operations": { - "CreateAlias": { - "input": { - "type": "structure", - "required": [ - "Name", - "RoutingStrategy" - ], - "members": { - "Name": {}, - "Description": {}, - "RoutingStrategy": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "members": { - "Alias": { - "shape": "S9" - } - } - } - }, - "CreateBuild": { - "input": { - "type": "structure", - "members": { - "Name": {}, - "Version": {}, - "StorageLocation": { - "shape": "Se" - }, - "OperatingSystem": {} - } - }, - "output": { - "type": "structure", - "members": { - "Build": { - "shape": "Si" - }, - "UploadCredentials": { - "shape": "Sm" - }, - "StorageLocation": { - "shape": "Se" - } - } - } - }, - "CreateFleet": { - "input": { - "type": "structure", - "required": [ - "Name", - "BuildId", - "EC2InstanceType" - ], - "members": { - "Name": {}, - "Description": {}, - "BuildId": {}, - "ServerLaunchPath": {}, - "ServerLaunchParameters": {}, - "LogPaths": { - "shape": "So" - }, - "EC2InstanceType": {}, - "EC2InboundPermissions": { - "shape": "Sq" - }, - "NewGameSessionProtectionPolicy": {}, - "RuntimeConfiguration": { - "shape": "Sw" - }, - "ResourceCreationLimitPolicy": { - "shape": "S12" - }, - "MetricGroups": { - "shape": "S14" - } - } - }, - "output": { - "type": "structure", - "members": { - "FleetAttributes": { - "shape": "S17" - } - } - } - }, - "CreateGameSession": { - "input": { - "type": "structure", - "required": [ - "MaximumPlayerSessionCount" - ], - "members": { - "FleetId": {}, - "AliasId": {}, - "MaximumPlayerSessionCount": { - "type": "integer" - }, - "Name": {}, - "GameProperties": { - "shape": "S1a" - }, - "CreatorId": {}, - "GameSessionId": {}, - "IdempotencyToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "GameSession": { - "shape": "S1g" - } - } - } - }, - "CreateGameSessionQueue": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "TimeoutInSeconds": { - "type": "integer" - }, - "PlayerLatencyPolicies": { - "shape": "S1m" - }, - "Destinations": { - "shape": "S1o" - } - } - }, - "output": { - "type": "structure", - "members": { - "GameSessionQueue": { - "shape": "S1r" - } - } - } - }, - "CreatePlayerSession": { - "input": { - "type": "structure", - "required": [ - "GameSessionId", - "PlayerId" - ], - "members": { - "GameSessionId": {}, - "PlayerId": {}, - "PlayerData": {} - } - }, - "output": { - "type": "structure", - "members": { - "PlayerSession": { - "shape": "S1v" - } - } - } - }, - "CreatePlayerSessions": { - "input": { - "type": "structure", - "required": [ - "GameSessionId", - "PlayerIds" - ], - "members": { - "GameSessionId": {}, - "PlayerIds": { - "type": "list", - "member": {} - }, - "PlayerDataMap": { - "type": "map", - "key": {}, - "value": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "PlayerSessions": { - "shape": "S22" - } - } - } - }, - "DeleteAlias": { - "input": { - "type": "structure", - "required": [ - "AliasId" - ], - "members": { - "AliasId": {} - } - } - }, - "DeleteBuild": { - "input": { - "type": "structure", - "required": [ - "BuildId" - ], - "members": { - "BuildId": {} - } - } - }, - "DeleteFleet": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {} - } - } - }, - "DeleteGameSessionQueue": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteScalingPolicy": { - "input": { - "type": "structure", - "required": [ - "Name", - "FleetId" - ], - "members": { - "Name": {}, - "FleetId": {} - } - } - }, - "DescribeAlias": { - "input": { - "type": "structure", - "required": [ - "AliasId" - ], - "members": { - "AliasId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Alias": { - "shape": "S9" - } - } - } - }, - "DescribeBuild": { - "input": { - "type": "structure", - "required": [ - "BuildId" - ], - "members": { - "BuildId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Build": { - "shape": "Si" - } - } - } - }, - "DescribeEC2InstanceLimits": { - "input": { - "type": "structure", - "members": { - "EC2InstanceType": {} - } - }, - "output": { - "type": "structure", - "members": { - "EC2InstanceLimits": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EC2InstanceType": {}, - "CurrentInstances": { - "type": "integer" - }, - "InstanceLimit": { - "type": "integer" - } - } - } - } - } - } - }, - "DescribeFleetAttributes": { - "input": { - "type": "structure", - "members": { - "FleetIds": { - "shape": "S2i" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetAttributes": { - "type": "list", - "member": { - "shape": "S17" - } - }, - "NextToken": {} - } - } - }, - "DescribeFleetCapacity": { - "input": { - "type": "structure", - "members": { - "FleetIds": { - "shape": "S2i" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetCapacity": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FleetId": {}, - "InstanceType": {}, - "InstanceCounts": { - "type": "structure", - "members": { - "DESIRED": { - "type": "integer" - }, - "MINIMUM": { - "type": "integer" - }, - "MAXIMUM": { - "type": "integer" - }, - "PENDING": { - "type": "integer" - }, - "ACTIVE": { - "type": "integer" - }, - "IDLE": { - "type": "integer" - }, - "TERMINATING": { - "type": "integer" - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeFleetEvents": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventId": {}, - "ResourceId": {}, - "EventCode": {}, - "Message": {}, - "EventTime": { - "type": "timestamp" - }, - "PreSignedLogUrl": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeFleetPortSettings": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "InboundPermissions": { - "shape": "Sq" - } - } - } - }, - "DescribeFleetUtilization": { - "input": { - "type": "structure", - "members": { - "FleetIds": { - "shape": "S2i" - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetUtilization": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FleetId": {}, - "ActiveServerProcessCount": { - "type": "integer" - }, - "ActiveGameSessionCount": { - "type": "integer" - }, - "CurrentPlayerSessionCount": { - "type": "integer" - }, - "MaximumPlayerSessionCount": { - "type": "integer" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeGameSessionDetails": { - "input": { - "type": "structure", - "members": { - "FleetId": {}, - "GameSessionId": {}, - "AliasId": {}, - "StatusFilter": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "GameSessionDetails": { - "type": "list", - "member": { - "type": "structure", - "members": { - "GameSession": { - "shape": "S1g" - }, - "ProtectionPolicy": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeGameSessionPlacement": { - "input": { - "type": "structure", - "required": [ - "PlacementId" - ], - "members": { - "PlacementId": {} - } - }, - "output": { - "type": "structure", - "members": { - "GameSessionPlacement": { - "shape": "S37" - } - } - } - }, - "DescribeGameSessionQueues": { - "input": { - "type": "structure", - "members": { - "Names": { - "type": "list", - "member": {} - }, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "GameSessionQueues": { - "type": "list", - "member": { - "shape": "S1r" - } - }, - "NextToken": {} - } - } - }, - "DescribeGameSessions": { - "input": { - "type": "structure", - "members": { - "FleetId": {}, - "GameSessionId": {}, - "AliasId": {}, - "StatusFilter": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "GameSessions": { - "shape": "S3k" - }, - "NextToken": {} - } - } - }, - "DescribeInstances": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "InstanceId": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Instances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FleetId": {}, - "InstanceId": {}, - "IpAddress": {}, - "OperatingSystem": {}, - "Type": {}, - "Status": {}, - "CreationTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribePlayerSessions": { - "input": { - "type": "structure", - "members": { - "GameSessionId": {}, - "PlayerId": {}, - "PlayerSessionId": {}, - "PlayerSessionStatusFilter": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "PlayerSessions": { - "shape": "S22" - }, - "NextToken": {} - } - } - }, - "DescribeRuntimeConfiguration": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "RuntimeConfiguration": { - "shape": "Sw" - } - } - } - }, - "DescribeScalingPolicies": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "StatusFilter": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ScalingPolicies": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FleetId": {}, - "Name": {}, - "Status": {}, - "ScalingAdjustment": { - "type": "integer" - }, - "ScalingAdjustmentType": {}, - "ComparisonOperator": {}, - "Threshold": { - "type": "double" - }, - "EvaluationPeriods": { - "type": "integer" - }, - "MetricName": {} - } - } - }, - "NextToken": {} - } - } - }, - "GetGameSessionLogUrl": { - "input": { - "type": "structure", - "required": [ - "GameSessionId" - ], - "members": { - "GameSessionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "PreSignedUrl": {} - } - } - }, - "GetInstanceAccess": { - "input": { - "type": "structure", - "required": [ - "FleetId", - "InstanceId" - ], - "members": { - "FleetId": {}, - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceAccess": { - "type": "structure", - "members": { - "FleetId": {}, - "InstanceId": {}, - "IpAddress": {}, - "OperatingSystem": {}, - "Credentials": { - "type": "structure", - "members": { - "UserName": {}, - "Secret": {} - }, - "sensitive": true - } - } - } - } - } - }, - "ListAliases": { - "input": { - "type": "structure", - "members": { - "RoutingStrategyType": {}, - "Name": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Aliases": { - "type": "list", - "member": { - "shape": "S9" - } - }, - "NextToken": {} - } - } - }, - "ListBuilds": { - "input": { - "type": "structure", - "members": { - "Status": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Builds": { - "type": "list", - "member": { - "shape": "Si" - } - }, - "NextToken": {} - } - } - }, - "ListFleets": { - "input": { - "type": "structure", - "members": { - "BuildId": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetIds": { - "shape": "S2i" - }, - "NextToken": {} - } - } - }, - "PutScalingPolicy": { - "input": { - "type": "structure", - "required": [ - "Name", - "FleetId", - "ScalingAdjustment", - "ScalingAdjustmentType", - "Threshold", - "ComparisonOperator", - "EvaluationPeriods", - "MetricName" - ], - "members": { - "Name": {}, - "FleetId": {}, - "ScalingAdjustment": { - "type": "integer" - }, - "ScalingAdjustmentType": {}, - "Threshold": { - "type": "double" - }, - "ComparisonOperator": {}, - "EvaluationPeriods": { - "type": "integer" - }, - "MetricName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Name": {} - } - } - }, - "RequestUploadCredentials": { - "input": { - "type": "structure", - "required": [ - "BuildId" - ], - "members": { - "BuildId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UploadCredentials": { - "shape": "Sm" - }, - "StorageLocation": { - "shape": "Se" - } - } - } - }, - "ResolveAlias": { - "input": { - "type": "structure", - "required": [ - "AliasId" - ], - "members": { - "AliasId": {} - } - }, - "output": { - "type": "structure", - "members": { - "FleetId": {} - } - } - }, - "SearchGameSessions": { - "input": { - "type": "structure", - "members": { - "FleetId": {}, - "AliasId": {}, - "FilterExpression": {}, - "SortExpression": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "GameSessions": { - "shape": "S3k" - }, - "NextToken": {} - } - } - }, - "StartGameSessionPlacement": { - "input": { - "type": "structure", - "required": [ - "PlacementId", - "GameSessionQueueName", - "MaximumPlayerSessionCount" - ], - "members": { - "PlacementId": {}, - "GameSessionQueueName": {}, - "GameProperties": { - "shape": "S1a" - }, - "MaximumPlayerSessionCount": { - "type": "integer" - }, - "GameSessionName": {}, - "PlayerLatencies": { - "shape": "S39" - }, - "DesiredPlayerSessions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PlayerId": {}, - "PlayerData": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "GameSessionPlacement": { - "shape": "S37" - } - } - } - }, - "StopGameSessionPlacement": { - "input": { - "type": "structure", - "required": [ - "PlacementId" - ], - "members": { - "PlacementId": {} - } - }, - "output": { - "type": "structure", - "members": { - "GameSessionPlacement": { - "shape": "S37" - } - } - } - }, - "UpdateAlias": { - "input": { - "type": "structure", - "required": [ - "AliasId" - ], - "members": { - "AliasId": {}, - "Name": {}, - "Description": {}, - "RoutingStrategy": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "members": { - "Alias": { - "shape": "S9" - } - } - } - }, - "UpdateBuild": { - "input": { - "type": "structure", - "required": [ - "BuildId" - ], - "members": { - "BuildId": {}, - "Name": {}, - "Version": {} - } - }, - "output": { - "type": "structure", - "members": { - "Build": { - "shape": "Si" - } - } - } - }, - "UpdateFleetAttributes": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "Name": {}, - "Description": {}, - "NewGameSessionProtectionPolicy": {}, - "ResourceCreationLimitPolicy": { - "shape": "S12" - }, - "MetricGroups": { - "shape": "S14" - } - } - }, - "output": { - "type": "structure", - "members": { - "FleetId": {} - } - } - }, - "UpdateFleetCapacity": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "DesiredInstances": { - "type": "integer" - }, - "MinSize": { - "type": "integer" - }, - "MaxSize": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "FleetId": {} - } - } - }, - "UpdateFleetPortSettings": { - "input": { - "type": "structure", - "required": [ - "FleetId" - ], - "members": { - "FleetId": {}, - "InboundPermissionAuthorizations": { - "shape": "Sq" - }, - "InboundPermissionRevocations": { - "shape": "Sq" - } - } - }, - "output": { - "type": "structure", - "members": { - "FleetId": {} - } - } - }, - "UpdateGameSession": { - "input": { - "type": "structure", - "required": [ - "GameSessionId" - ], - "members": { - "GameSessionId": {}, - "MaximumPlayerSessionCount": { - "type": "integer" - }, - "Name": {}, - "PlayerSessionCreationPolicy": {}, - "ProtectionPolicy": {} - } - }, - "output": { - "type": "structure", - "members": { - "GameSession": { - "shape": "S1g" - } - } - } - }, - "UpdateGameSessionQueue": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "TimeoutInSeconds": { - "type": "integer" - }, - "PlayerLatencyPolicies": { - "shape": "S1m" - }, - "Destinations": { - "shape": "S1o" - } - } - }, - "output": { - "type": "structure", - "members": { - "GameSessionQueue": { - "shape": "S1r" - } - } - } - }, - "UpdateRuntimeConfiguration": { - "input": { - "type": "structure", - "required": [ - "FleetId", - "RuntimeConfiguration" - ], - "members": { - "FleetId": {}, - "RuntimeConfiguration": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "RuntimeConfiguration": { - "shape": "Sw" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "Type": {}, - "FleetId": {}, - "Message": {} - } - }, - "S9": { - "type": "structure", - "members": { - "AliasId": {}, - "Name": {}, - "AliasArn": {}, - "Description": {}, - "RoutingStrategy": { - "shape": "S4" - }, - "CreationTime": { - "type": "timestamp" - }, - "LastUpdatedTime": { - "type": "timestamp" - } - } - }, - "Se": { - "type": "structure", - "members": { - "Bucket": {}, - "Key": {}, - "RoleArn": {} - } - }, - "Si": { - "type": "structure", - "members": { - "BuildId": {}, - "Name": {}, - "Version": {}, - "Status": {}, - "SizeOnDisk": { - "type": "long" - }, - "OperatingSystem": {}, - "CreationTime": { - "type": "timestamp" - } - } - }, - "Sm": { - "type": "structure", - "members": { - "AccessKeyId": {}, - "SecretAccessKey": {}, - "SessionToken": {} - }, - "sensitive": true - }, - "So": { - "type": "list", - "member": {} - }, - "Sq": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "FromPort", - "ToPort", - "IpRange", - "Protocol" - ], - "members": { - "FromPort": { - "type": "integer" - }, - "ToPort": { - "type": "integer" - }, - "IpRange": {}, - "Protocol": {} - } - } - }, - "Sw": { - "type": "structure", - "members": { - "ServerProcesses": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "LaunchPath", - "ConcurrentExecutions" - ], - "members": { - "LaunchPath": {}, - "Parameters": {}, - "ConcurrentExecutions": { - "type": "integer" - } - } - } - }, - "MaxConcurrentGameSessionActivations": { - "type": "integer" - }, - "GameSessionActivationTimeoutSeconds": { - "type": "integer" - } - } - }, - "S12": { - "type": "structure", - "members": { - "NewGameSessionsPerCreator": { - "type": "integer" - }, - "PolicyPeriodInMinutes": { - "type": "integer" - } - } - }, - "S14": { - "type": "list", - "member": {} - }, - "S17": { - "type": "structure", - "members": { - "FleetId": {}, - "FleetArn": {}, - "Description": {}, - "Name": {}, - "CreationTime": { - "type": "timestamp" - }, - "TerminationTime": { - "type": "timestamp" - }, - "Status": {}, - "BuildId": {}, - "ServerLaunchPath": {}, - "ServerLaunchParameters": {}, - "LogPaths": { - "shape": "So" - }, - "NewGameSessionProtectionPolicy": {}, - "OperatingSystem": {}, - "ResourceCreationLimitPolicy": { - "shape": "S12" - }, - "MetricGroups": { - "shape": "S14" - } - } - }, - "S1a": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S1g": { - "type": "structure", - "members": { - "GameSessionId": {}, - "Name": {}, - "FleetId": {}, - "CreationTime": { - "type": "timestamp" - }, - "TerminationTime": { - "type": "timestamp" - }, - "CurrentPlayerSessionCount": { - "type": "integer" - }, - "MaximumPlayerSessionCount": { - "type": "integer" - }, - "Status": {}, - "GameProperties": { - "shape": "S1a" - }, - "IpAddress": {}, - "Port": { - "type": "integer" - }, - "PlayerSessionCreationPolicy": {}, - "CreatorId": {} - } - }, - "S1m": { - "type": "list", - "member": { - "type": "structure", - "members": { - "MaximumIndividualPlayerLatencyMilliseconds": { - "type": "integer" - }, - "PolicyDurationSeconds": { - "type": "integer" - } - } - } - }, - "S1o": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DestinationArn": {} - } - } - }, - "S1r": { - "type": "structure", - "members": { - "Name": {}, - "GameSessionQueueArn": {}, - "TimeoutInSeconds": { - "type": "integer" - }, - "PlayerLatencyPolicies": { - "shape": "S1m" - }, - "Destinations": { - "shape": "S1o" - } - } - }, - "S1v": { - "type": "structure", - "members": { - "PlayerSessionId": {}, - "PlayerId": {}, - "GameSessionId": {}, - "FleetId": {}, - "CreationTime": { - "type": "timestamp" - }, - "TerminationTime": { - "type": "timestamp" - }, - "Status": {}, - "IpAddress": {}, - "Port": { - "type": "integer" - }, - "PlayerData": {} - } - }, - "S22": { - "type": "list", - "member": { - "shape": "S1v" - } - }, - "S2i": { - "type": "list", - "member": {} - }, - "S37": { - "type": "structure", - "members": { - "PlacementId": {}, - "GameSessionQueueName": {}, - "Status": {}, - "GameProperties": { - "shape": "S1a" - }, - "MaximumPlayerSessionCount": { - "type": "integer" - }, - "GameSessionName": {}, - "GameSessionId": {}, - "GameSessionArn": {}, - "GameSessionRegion": {}, - "PlayerLatencies": { - "shape": "S39" - }, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "IpAddress": {}, - "Port": { - "type": "integer" - }, - "PlacedPlayerSessions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PlayerId": {}, - "PlayerSessionId": {} - } - } - } - } - }, - "S39": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PlayerId": {}, - "RegionIdentifier": {}, - "LatencyInMilliseconds": { - "type": "float" - } - } - } - }, - "S3k": { - "type": "list", - "member": { - "shape": "S1g" - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/gamelift-2015-10-01.paginators.json b/src/node_modules/aws-sdk/apis/gamelift-2015-10-01.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/gamelift-2015-10-01.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/glacier-2012-06-01.examples.json b/src/node_modules/aws-sdk/apis/glacier-2012-06-01.examples.json deleted file mode 100644 index 7ecea25..0000000 --- a/src/node_modules/aws-sdk/apis/glacier-2012-06-01.examples.json +++ /dev/null @@ -1,806 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AbortMultipartUpload": [ - { - "input": { - "accountId": "-", - "uploadId": "19gaRezEXAMPLES6Ry5YYdqthHOC_kGRCT03L9yetr220UmPtBYKk-OssZtLqyFu7sY1_lR7vgFuJV6NtcV5zpsJ", - "vaultName": "my-vault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example deletes an in-progress multipart upload to a vault named my-vault:", - "id": "f3d907f6-e71c-420c-8f71-502346a2c48a", - "title": "To abort a multipart upload identified by the upload ID" - } - ], - "AbortVaultLock": [ - { - "input": { - "accountId": "-", - "vaultName": "examplevault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example aborts the vault locking process if the vault lock is not in the Locked state for the vault named examplevault.", - "id": "to-abort-a-vault-lock-1481839357947", - "title": "To abort a vault lock" - } - ], - "AddTagsToVault": [ - { - "input": { - "Tags": { - "examplekey1": "examplevalue1", - "examplekey2": "examplevalue2" - }, - "accountId": "-", - "vaultName": "my-vault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example adds two tags to a my-vault.", - "id": "add-tags-to-vault-post-tags-add-1481663457694", - "title": "To add tags to a vault" - } - ], - "CompleteMultipartUpload": [ - { - "input": { - "accountId": "-", - "archiveSize": "3145728", - "checksum": "9628195fcdbcbbe76cdde456d4646fa7de5f219fb39823836d81f0cc0e18aa67", - "uploadId": "19gaRezEXAMPLES6Ry5YYdqthHOC_kGRCT03L9yetr220UmPtBYKk-OssZtLqyFu7sY1_lR7vgFuJV6NtcV5zpsJ", - "vaultName": "my-vault" - }, - "output": { - "archiveId": "NkbByEejwEggmBz2fTHgJrg0XBoDfjP4q6iu87-TjhqG6eGoOY9Z8i1_AUyUsuhPAdTqLHy8pTl5nfCFJmDl2yEZONi5L26Omw12vcs01MNGntHEQL8MBfGlqrEXAMPLEArchiveId", - "checksum": "9628195fcdbcbbe76cdde456d4646fa7de5f219fb39823836d81f0cc0e18aa67", - "location": "/111122223333/vaults/my-vault/archives/NkbByEejwEggmBz2fTHgJrg0XBoDfjP4q6iu87-TjhqG6eGoOY9Z8i1_AUyUsuhPAdTqLHy8pTl5nfCFJmDl2yEZONi5L26Omw12vcs01MNGntHEQL8MBfGlqrEXAMPLEArchiveId" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example completes a multipart upload for a 3 MiB archive.", - "id": "272aa0b8-e44c-4a64-add2-ad905a37984d", - "title": "To complete a multipart upload" - } - ], - "CompleteVaultLock": [ - { - "input": { - "accountId": "-", - "lockId": "AE863rKkWZU53SLW5be4DUcW", - "vaultName": "example-vault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example completes the vault locking process by transitioning the vault lock from the InProgress state to the Locked state.", - "id": "to-complete-a-vault-lock-1481839721312", - "title": "To complete a vault lock" - } - ], - "CreateVault": [ - { - "input": { - "accountId": "-", - "vaultName": "my-vault" - }, - "output": { - "location": "/111122223333/vaults/my-vault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a new vault named my-vault.", - "id": "1dc0313d-ace1-4e6c-9d13-1ec7813b14b7", - "title": "To create a new vault" - } - ], - "DeleteArchive": [ - { - "input": { - "accountId": "-", - "archiveId": "NkbByEejwEggmBz2fTHgJrg0XBoDfjP4q6iu87-TjhqG6eGoOY9Z8i1_AUyUsuhPAdTqLHy8pTl5nfCFJmDl2yEZONi5L26Omw12vcs01MNGntHEQL8MBfGlqrEXAMPLEArchiveId", - "vaultName": "examplevault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example deletes the archive specified by the archive ID.", - "id": "delete-archive-1481667809463", - "title": "To delete an archive" - } - ], - "DeleteVault": [ - { - "input": { - "accountId": "-", - "vaultName": "my-vault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example deletes a vault named my-vault:", - "id": "7f7f000b-4bdb-40d2-91e6-7c902f60f60f", - "title": "To delete a vault" - } - ], - "DeleteVaultAccessPolicy": [ - { - "input": { - "accountId": "-", - "vaultName": "examplevault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example deletes the access policy associated with the vault named examplevault.", - "id": "to-delete-the-vault-access-policy-1481840424677", - "title": "To delete the vault access policy" - } - ], - "DeleteVaultNotifications": [ - { - "input": { - "accountId": "-", - "vaultName": "examplevault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example deletes the notification configuration set for the vault named examplevault.", - "id": "to-delete-the-notification-configuration-set-for-a-vault-1481840646090", - "title": "To delete the notification configuration set for a vault" - } - ], - "DescribeJob": [ - { - "input": { - "accountId": "-", - "jobId": "zbxcm3Z_3z5UkoroF7SuZKrxgGoDc3RloGduS7Eg-RO47Yc6FxsdGBgf_Q2DK5Ejh18CnTS5XW4_XqlNHS61dsO4Cn", - "vaultName": "my-vault" - }, - "output": { - "Action": "InventoryRetrieval", - "Completed": false, - "CreationDate": "2015-07-17T20:23:41.616Z", - "InventoryRetrievalParameters": { - "Format": "JSON" - }, - "JobId": "zbxcm3Z_3z5UkoroF7SuZKrxgGoDc3RloGduS7Eg-RO47Yc6FxsdGBgf_Q2DK5Ejh18CnTS5XW4_XqlNHS61dsO4CnMW", - "StatusCode": "InProgress", - "VaultARN": "arn:aws:glacier:us-west-2:0123456789012:vaults/my-vault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example returns information about the previously initiated job specified by the job ID.", - "id": "to-get-information-about-a-job-you-previously-initiated-1481840928592", - "title": "To get information about a previously initiated job" - } - ], - "DescribeVault": [ - { - "input": { - "accountId": "-", - "vaultName": "my-vault" - }, - "output": { - "CreationDate": "2016-09-23T19:27:18.665Z", - "NumberOfArchives": 0, - "SizeInBytes": 0, - "VaultARN": "arn:aws:glacier:us-west-2:111122223333:vaults/my-vault", - "VaultName": "my-vault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example retrieves data about a vault named my-vault.", - "id": "3c1c6e9d-f5a2-427a-aa6a-f439eacfc05f", - "title": "To retrieve information about a vault" - } - ], - "GetDataRetrievalPolicy": [ - { - "input": { - "accountId": "-" - }, - "output": { - "Policy": { - "Rules": [ - { - "BytesPerHour": 10737418240, - "Strategy": "BytesPerHour" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example returns the current data retrieval policy for the account.", - "id": "to-get-the-current-data-retrieval-policy-for-the-account-1481851580439", - "title": "To get the current data retrieval policy for an account" - } - ], - "GetJobOutput": [ - { - "input": { - "accountId": "-", - "jobId": "zbxcm3Z_3z5UkoroF7SuZKrxgGoDc3RloGduS7Eg-RO47Yc6FxsdGBgf_Q2DK5Ejh18CnTS5XW4_XqlNHS61dsO4CnMW", - "range": "", - "vaultName": "my-vaul" - }, - "output": { - "acceptRanges": "bytes", - "body": "inventory-data", - "contentType": "application/json", - "status": 200 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example downloads the output of a previously initiated inventory retrieval job that is identified by the job ID.", - "id": "to-get-the-output-of-a-previously-initiated-job-1481848550859", - "title": "To get the output of a previously initiated job" - } - ], - "GetVaultAccessPolicy": [ - { - "input": { - "accountId": "-", - "vaultName": "example-vault" - }, - "output": { - "policy": { - "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Define-owner-access-rights\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::999999999999:root\"},\"Action\":\"glacier:DeleteArchive\",\"Resource\":\"arn:aws:glacier:us-west-2:999999999999:vaults/examplevault\"}]}" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example retrieves the access-policy set on the vault named example-vault.", - "id": "to--get-the-access-policy-set-on-the-vault-1481936004590", - "title": "To get the access-policy set on the vault" - } - ], - "GetVaultLock": [ - { - "input": { - "accountId": "-", - "vaultName": "examplevault" - }, - "output": { - "CreationDate": "exampledate", - "ExpirationDate": "exampledate", - "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Define-vault-lock\",\"Effect\":\"Deny\",\"Principal\":{\"AWS\":\"arn:aws:iam::999999999999:root\"},\"Action\":\"glacier:DeleteArchive\",\"Resource\":\"arn:aws:glacier:us-west-2:999999999999:vaults/examplevault\",\"Condition\":{\"NumericLessThanEquals\":{\"glacier:ArchiveAgeinDays\":\"365\"}}}]}", - "State": "InProgress" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example retrieves the attributes from the lock-policy subresource set on the vault named examplevault.", - "id": "to-retrieve-vault-lock-policy-related-attributes-that-are-set-on-a-vault-1481851363097", - "title": "To retrieve vault lock-policy related attributes that are set on a vault" - } - ], - "GetVaultNotifications": [ - { - "input": { - "accountId": "-", - "vaultName": "my-vault" - }, - "output": { - "vaultNotificationConfig": { - "Events": [ - "InventoryRetrievalCompleted", - "ArchiveRetrievalCompleted" - ], - "SNSTopic": "arn:aws:sns:us-west-2:0123456789012:my-vault" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example retrieves the notification-configuration for the vault named my-vault.", - "id": "to-get-the-notification-configuration-for-the-specified-vault-1481918746677", - "title": "To get the notification-configuration for the specified vault" - } - ], - "InitiateJob": [ - { - "input": { - "accountId": "-", - "jobParameters": { - "Description": "My inventory job", - "Format": "CSV", - "SNSTopic": "arn:aws:sns:us-west-2:111111111111:Glacier-InventoryRetrieval-topic-Example", - "Type": "inventory-retrieval" - }, - "vaultName": "examplevault" - }, - "output": { - "jobId": " HkF9p6o7yjhFx-K3CGl6fuSm6VzW9T7esGQfco8nUXVYwS0jlb5gq1JZ55yHgt5vP54ZShjoQzQVVh7vEXAMPLEjobID", - "location": "/111122223333/vaults/examplevault/jobs/HkF9p6o7yjhFx-K3CGl6fuSm6VzW9T7esGQfco8nUXVYwS0jlb5gq1JZ55yHgt5vP54ZShjoQzQVVh7vEXAMPLEjobID" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example initiates an inventory-retrieval job for the vault named examplevault.", - "id": "to-initiate-an-inventory-retrieval-job-1482186883826", - "title": "To initiate an inventory-retrieval job" - } - ], - "InitiateMultipartUpload": [ - { - "input": { - "accountId": "-", - "partSize": "1048576", - "vaultName": "my-vault" - }, - "output": { - "location": "/111122223333/vaults/my-vault/multipart-uploads/19gaRezEXAMPLES6Ry5YYdqthHOC_kGRCT03L9yetr220UmPtBYKk-OssZtLqyFu7sY1_lR7vgFuJV6NtcV5zpsJ", - "uploadId": "19gaRezEXAMPLES6Ry5YYdqthHOC_kGRCT03L9yetr220UmPtBYKk-OssZtLqyFu7sY1_lR7vgFuJV6NtcV5zpsJ" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example initiates a multipart upload to a vault named my-vault with a part size of 1 MiB (1024 x 1024 bytes) per file.", - "id": "72f2db19-3d93-4c74-b2ed-38703baacf49", - "title": "To initiate a multipart upload" - } - ], - "InitiateVaultLock": [ - { - "input": { - "accountId": "-", - "policy": { - "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Define-vault-lock\",\"Effect\":\"Deny\",\"Principal\":{\"AWS\":\"arn:aws:iam::999999999999:root\"},\"Action\":\"glacier:DeleteArchive\",\"Resource\":\"arn:aws:glacier:us-west-2:999999999999:vaults/examplevault\",\"Condition\":{\"NumericLessThanEquals\":{\"glacier:ArchiveAgeinDays\":\"365\"}}}]}" - }, - "vaultName": "my-vault" - }, - "output": { - "lockId": "AE863rKkWZU53SLW5be4DUcW" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example initiates the vault locking process for the vault named my-vault.", - "id": "to-initiate-the-vault-locking-process-1481919693394", - "title": "To initiate the vault locking process" - } - ], - "ListJobs": [ - { - "input": { - "accountId": "-", - "vaultName": "my-vault" - }, - "output": { - "JobList": [ - { - "Action": "ArchiveRetrieval", - "ArchiveId": "kKB7ymWJVpPSwhGP6ycSOAekp9ZYe_--zM_mw6k76ZFGEIWQX-ybtRDvc2VkPSDtfKmQrj0IRQLSGsNuDp-AJVlu2ccmDSyDUmZwKbwbpAdGATGDiB3hHO0bjbGehXTcApVud_wyDw", - "ArchiveSHA256TreeHash": "9628195fcdbcbbe76cdde932d4646fa7de5f219fb39823836d81f0cc0e18aa67", - "ArchiveSizeInBytes": 3145728, - "Completed": false, - "CreationDate": "2015-07-17T21:16:13.840Z", - "JobDescription": "Retrieve archive on 2015-07-17", - "JobId": "l7IL5-EkXyEY9Ws95fClzIbk2O5uLYaFdAYOi-azsX_Z8V6NH4yERHzars8wTKYQMX6nBDI9cMNHzyZJO59-8N9aHWav", - "RetrievalByteRange": "0-3145727", - "SHA256TreeHash": "9628195fcdbcbbe76cdde932d4646fa7de5f219fb39823836d81f0cc0e18aa67", - "SNSTopic": "arn:aws:sns:us-west-2:0123456789012:my-vault", - "StatusCode": "InProgress", - "VaultARN": "arn:aws:glacier:us-west-2:0123456789012:vaults/my-vault" - }, - { - "Action": "InventoryRetrieval", - "Completed": false, - "CreationDate": "2015-07-17T20:23:41.616Z", - "InventoryRetrievalParameters": { - "Format": "JSON" - }, - "JobId": "zbxcm3Z_3z5UkoroF7SuZKrxgGoDc3RloGduS7Eg-RO47Yc6FxsdGBgf_Q2DK5Ejh18CnTS5XW4_XqlNHS61dsO4CnMW", - "StatusCode": "InProgress", - "VaultARN": "arn:aws:glacier:us-west-2:0123456789012:vaults/my-vault" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example lists jobs for the vault named my-vault.", - "id": "to-list-jobs-for-a-vault-1481920530537", - "title": "To list jobs for a vault" - } - ], - "ListMultipartUploads": [ - { - "input": { - "accountId": "-", - "vaultName": "examplevault" - }, - "output": { - "Marker": "null", - "UploadsList": [ - { - "ArchiveDescription": "archive 1", - "CreationDate": "2012-03-19T23:20:59.130Z", - "MultipartUploadId": "xsQdFIRsfJr20CW2AbZBKpRZAFTZSJIMtL2hYf8mvp8dM0m4RUzlaqoEye6g3h3ecqB_zqwB7zLDMeSWhwo65re4C4Ev", - "PartSizeInBytes": 4194304, - "VaultARN": "arn:aws:glacier:us-west-2:012345678901:vaults/examplevault" - }, - { - "ArchiveDescription": "archive 2", - "CreationDate": "2012-04-01T15:00:00.000Z", - "MultipartUploadId": "nPyGOnyFcx67qqX7E-0tSGiRi88hHMOwOxR-_jNyM6RjVMFfV29lFqZ3rNsSaWBugg6OP92pRtufeHdQH7ClIpSF6uJc", - "PartSizeInBytes": 4194304, - "VaultARN": "arn:aws:glacier:us-west-2:012345678901:vaults/examplevault" - }, - { - "ArchiveDescription": "archive 3", - "CreationDate": "2012-03-20T17:03:43.221Z", - "MultipartUploadId": "qt-RBst_7yO8gVIonIBsAxr2t-db0pE4s8MNeGjKjGdNpuU-cdSAcqG62guwV9r5jh5mLyFPzFEitTpNE7iQfHiu1XoV", - "PartSizeInBytes": 4194304, - "VaultARN": "arn:aws:glacier:us-west-2:012345678901:vaults/examplevault" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example lists all the in-progress multipart uploads for the vault named examplevault.", - "id": "to-list-all-the-in-progress-multipart-uploads-for-a-vault-1481935250590", - "title": "To list all the in-progress multipart uploads for a vault" - } - ], - "ListParts": [ - { - "input": { - "accountId": "-", - "uploadId": "OW2fM5iVylEpFEMM9_HpKowRapC3vn5sSL39_396UW9zLFUWVrnRHaPjUJddQ5OxSHVXjYtrN47NBZ-khxOjyEXAMPLE", - "vaultName": "examplevault" - }, - "output": { - "ArchiveDescription": "archive description", - "CreationDate": "2012-03-20T17:03:43.221Z", - "Marker": "null", - "MultipartUploadId": "OW2fM5iVylEpFEMM9_HpKowRapC3vn5sSL39_396UW9zLFUWVrnRHaPjUJddQ5OxSHVXjYtrN47NBZ-khxOjyEXAMPLE", - "PartSizeInBytes": 4194304, - "Parts": [ - { - "RangeInBytes": "0-4194303", - "SHA256TreeHash": "01d34dabf7be316472c93b1ef80721f5d4" - }, - { - "RangeInBytes": "4194304-8388607", - "SHA256TreeHash": "0195875365afda349fc21c84c099987164" - } - ], - "VaultARN": "arn:aws:glacier:us-west-2:012345678901:vaults/demo1-vault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example lists all the parts of a multipart upload.", - "id": "to-list-the-parts-of-an-archive-that-have-been-uploaded-in-a-multipart-upload-1481921767590", - "title": "To list the parts of an archive that have been uploaded in a multipart upload" - } - ], - "ListProvisionedCapacity": [ - { - "input": { - "accountId": "-" - }, - "output": { - "ProvisionedCapacityList": [ - { - "CapacityId": "zSaq7NzHFQDANTfQkDen4V7z", - "ExpirationDate": "2016-12-12T00:00:00.000Z", - "StartDate": "2016-11-11T20:11:51.095Z" - }, - { - "CapacityId": "yXaq7NzHFQNADTfQkDen4V7z", - "ExpirationDate": "2017-01-15T00:00:00.000Z", - "StartDate": "2016-12-13T20:11:51.095Z" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example lists the provisioned capacity units for an account.", - "id": "to-list-the-provisioned-capacity-units-for-an-account-1481923656130", - "title": "To list the provisioned capacity units for an account" - } - ], - "ListTagsForVault": [ - { - "input": { - "accountId": "-", - "vaultName": "examplevault" - }, - "output": { - "Tags": { - "date": "july2015", - "id": "1234" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example lists all the tags attached to the vault examplevault.", - "id": "list-tags-for-vault-1481755839720", - "title": "To list the tags for a vault" - } - ], - "ListVaults": [ - { - "input": { - "accountId": "-", - "limit": "", - "marker": "" - }, - "output": { - "VaultList": [ - { - "CreationDate": "2015-04-06T21:23:45.708Z", - "LastInventoryDate": "2015-04-07T00:26:19.028Z", - "NumberOfArchives": 1, - "SizeInBytes": 3178496, - "VaultARN": "arn:aws:glacier:us-west-2:0123456789012:vaults/my-vault", - "VaultName": "my-vault" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example lists all vaults owned by the specified AWS account.", - "id": "list-vaults-1481753006990", - "title": "To list all vaults owned by the calling user's account" - } - ], - "PurchaseProvisionedCapacity": [ - { - "input": { - "accountId": "-" - }, - "output": { - "capacityId": "zSaq7NzHFQDANTfQkDen4V7z" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example purchases provisioned capacity unit for an AWS account.", - "id": "to-purchases-a-provisioned-capacity-unit-for-an-aws-account-1481927446662", - "title": "To purchases a provisioned capacity unit for an AWS account" - } - ], - "RemoveTagsFromVault": [ - { - "input": { - "TagKeys": [ - "examplekey1", - "examplekey2" - ], - "accountId": "-", - "vaultName": "examplevault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example removes two tags from the vault named examplevault.", - "id": "remove-tags-from-vault-1481754998801", - "title": "To remove tags from a vault" - } - ], - "SetDataRetrievalPolicy": [ - { - "input": { - "Policy": { - "Rules": [ - { - "BytesPerHour": 10737418240, - "Strategy": "BytesPerHour" - } - ] - }, - "accountId": "-" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example sets and then enacts a data retrieval policy.", - "id": "to-set-and-then-enact-a-data-retrieval-policy--1481928352408", - "title": "To set and then enact a data retrieval policy " - } - ], - "SetVaultAccessPolicy": [ - { - "input": { - "accountId": "-", - "policy": { - "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Define-owner-access-rights\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::999999999999:root\"},\"Action\":\"glacier:DeleteArchive\",\"Resource\":\"arn:aws:glacier:us-west-2:999999999999:vaults/examplevault\"}]}" - }, - "vaultName": "examplevault" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example configures an access policy for the vault named examplevault.", - "id": "to--set-the-access-policy-on-a-vault-1482185872517", - "title": "To set the access-policy on a vault" - } - ], - "SetVaultNotifications": [ - { - "input": { - "accountId": "-", - "vaultName": "examplevault", - "vaultNotificationConfig": { - "Events": [ - "ArchiveRetrievalCompleted", - "InventoryRetrievalCompleted" - ], - "SNSTopic": "arn:aws:sns:us-west-2:012345678901:mytopic" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example sets the examplevault notification configuration.", - "id": "to-configure-a-vault-to-post-a-message-to-an-amazon-simple-notification-service-amazon-sns-topic-when-jobs-complete-1482186397475", - "title": "To configure a vault to post a message to an Amazon SNS topic when jobs complete" - } - ], - "UploadArchive": [ - { - "input": { - "accountId": "-", - "archiveDescription": "", - "body": "example-data-to-upload", - "checksum": "", - "vaultName": "my-vault" - }, - "output": { - "archiveId": "kKB7ymWJVpPSwhGP6ycSOAekp9ZYe_--zM_mw6k76ZFGEIWQX-ybtRDvc2VkPSDtfKmQrj0IRQLSGsNuDp-AJVlu2ccmDSyDUmZwKbwbpAdGATGDiB3hHO0bjbGehXTcApVud_wyDw", - "checksum": "969fb39823836d81f0cc028195fcdbcbbe76cdde932d4646fa7de5f21e18aa67", - "location": "/0123456789012/vaults/my-vault/archives/kKB7ymWJVpPSwhGP6ycSOAekp9ZYe_--zM_mw6k76ZFGEIWQX-ybtRDvc2VkPSDtfKmQrj0IRQLSGsNuDp-AJVlu2ccmDSyDUmZwKbwbpAdGATGDiB3hHO0bjbGehXTcApVud_wyDw" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example adds an archive to a vault.", - "id": "upload-archive-1481668510494", - "title": "To upload an archive" - } - ], - "UploadMultipartPart": [ - { - "input": { - "accountId": "-", - "body": "part1", - "checksum": "c06f7cd4baacb087002a99a5f48bf953", - "range": "bytes 0-1048575/*", - "uploadId": "19gaRezEXAMPLES6Ry5YYdqthHOC_kGRCT03L9yetr220UmPtBYKk-OssZtLqyFu7sY1_lR7vgFuJV6NtcV5zpsJ", - "vaultName": "examplevault" - }, - "output": { - "checksum": "c06f7cd4baacb087002a99a5f48bf953" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The example uploads the first 1 MiB (1024 x 1024 bytes) part of an archive.", - "id": "to-upload-the-first-part-of-an-archive-1481835899519", - "title": "To upload the first part of an archive" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/glacier-2012-06-01.min.json b/src/node_modules/aws-sdk/apis/glacier-2012-06-01.min.json deleted file mode 100644 index 2375bc8..0000000 --- a/src/node_modules/aws-sdk/apis/glacier-2012-06-01.min.json +++ /dev/null @@ -1,1278 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-06-01", - "checksumFormat": "sha256", - "endpointPrefix": "glacier", - "protocol": "rest-json", - "serviceFullName": "Amazon Glacier", - "signatureVersion": "v4", - "uid": "glacier-2012-06-01" - }, - "operations": { - "AbortMultipartUpload": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName", - "uploadId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "uploadId": { - "location": "uri", - "locationName": "uploadId" - } - } - } - }, - "AbortVaultLock": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - } - } - }, - "AddTagsToVault": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/tags?operation=add", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "Tags": { - "shape": "S5" - } - } - } - }, - "CompleteMultipartUpload": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName", - "uploadId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "uploadId": { - "location": "uri", - "locationName": "uploadId" - }, - "archiveSize": { - "location": "header", - "locationName": "x-amz-archive-size" - }, - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - } - } - }, - "output": { - "shape": "S9" - } - }, - "CompleteVaultLock": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName", - "lockId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "lockId": { - "location": "uri", - "locationName": "lockId" - } - } - } - }, - "CreateVault": { - "http": { - "method": "PUT", - "requestUri": "/{accountId}/vaults/{vaultName}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - } - }, - "output": { - "type": "structure", - "members": { - "location": { - "location": "header", - "locationName": "Location" - } - } - } - }, - "DeleteArchive": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}/archives/{archiveId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName", - "archiveId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "archiveId": { - "location": "uri", - "locationName": "archiveId" - } - } - } - }, - "DeleteVault": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - } - } - }, - "DeleteVaultAccessPolicy": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}/access-policy", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - } - } - }, - "DeleteVaultNotifications": { - "http": { - "method": "DELETE", - "requestUri": "/{accountId}/vaults/{vaultName}/notification-configuration", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - } - } - }, - "DescribeJob": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/jobs/{jobId}" - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName", - "jobId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "jobId": { - "location": "uri", - "locationName": "jobId" - } - } - }, - "output": { - "shape": "Si" - } - }, - "DescribeVault": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}" - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - } - }, - "output": { - "shape": "Sq" - } - }, - "GetDataRetrievalPolicy": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/policies/data-retrieval" - }, - "input": { - "type": "structure", - "required": [ - "accountId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Policy": { - "shape": "Su" - } - } - } - }, - "GetJobOutput": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output" - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName", - "jobId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "jobId": { - "location": "uri", - "locationName": "jobId" - }, - "range": { - "location": "header", - "locationName": "Range" - } - } - }, - "output": { - "type": "structure", - "members": { - "body": { - "shape": "S10" - }, - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - }, - "status": { - "location": "statusCode", - "type": "integer" - }, - "contentRange": { - "location": "header", - "locationName": "Content-Range" - }, - "acceptRanges": { - "location": "header", - "locationName": "Accept-Ranges" - }, - "contentType": { - "location": "header", - "locationName": "Content-Type" - }, - "archiveDescription": { - "location": "header", - "locationName": "x-amz-archive-description" - } - }, - "payload": "body" - } - }, - "GetVaultAccessPolicy": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/access-policy" - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - } - }, - "output": { - "type": "structure", - "members": { - "policy": { - "shape": "S14" - } - }, - "payload": "policy" - } - }, - "GetVaultLock": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy" - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Policy": {}, - "State": {}, - "ExpirationDate": {}, - "CreationDate": {} - } - } - }, - "GetVaultNotifications": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/notification-configuration" - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - } - }, - "output": { - "type": "structure", - "members": { - "vaultNotificationConfig": { - "shape": "S19" - } - }, - "payload": "vaultNotificationConfig" - } - }, - "InitiateJob": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/jobs", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "jobParameters": { - "type": "structure", - "members": { - "Format": {}, - "Type": {}, - "ArchiveId": {}, - "Description": {}, - "SNSTopic": {}, - "RetrievalByteRange": {}, - "Tier": {}, - "InventoryRetrievalParameters": { - "type": "structure", - "members": { - "StartDate": {}, - "EndDate": {}, - "Limit": {}, - "Marker": {} - } - } - } - } - }, - "payload": "jobParameters" - }, - "output": { - "type": "structure", - "members": { - "location": { - "location": "header", - "locationName": "Location" - }, - "jobId": { - "location": "header", - "locationName": "x-amz-job-id" - } - } - } - }, - "InitiateMultipartUpload": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "archiveDescription": { - "location": "header", - "locationName": "x-amz-archive-description" - }, - "partSize": { - "location": "header", - "locationName": "x-amz-part-size" - } - } - }, - "output": { - "type": "structure", - "members": { - "location": { - "location": "header", - "locationName": "Location" - }, - "uploadId": { - "location": "header", - "locationName": "x-amz-multipart-upload-id" - } - } - } - }, - "InitiateVaultLock": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/lock-policy", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "policy": { - "type": "structure", - "members": { - "Policy": {} - } - } - }, - "payload": "policy" - }, - "output": { - "type": "structure", - "members": { - "lockId": { - "location": "header", - "locationName": "x-amz-lock-id" - } - } - } - }, - "ListJobs": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/jobs" - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "limit": { - "location": "querystring", - "locationName": "limit" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "statuscode": { - "location": "querystring", - "locationName": "statuscode" - }, - "completed": { - "location": "querystring", - "locationName": "completed" - } - } - }, - "output": { - "type": "structure", - "members": { - "JobList": { - "type": "list", - "member": { - "shape": "Si" - } - }, - "Marker": {} - } - } - }, - "ListMultipartUploads": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads" - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "limit": { - "location": "querystring", - "locationName": "limit" - } - } - }, - "output": { - "type": "structure", - "members": { - "UploadsList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "MultipartUploadId": {}, - "VaultARN": {}, - "ArchiveDescription": {}, - "PartSizeInBytes": { - "type": "long" - }, - "CreationDate": {} - } - } - }, - "Marker": {} - } - } - }, - "ListParts": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}" - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName", - "uploadId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "uploadId": { - "location": "uri", - "locationName": "uploadId" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "limit": { - "location": "querystring", - "locationName": "limit" - } - } - }, - "output": { - "type": "structure", - "members": { - "MultipartUploadId": {}, - "VaultARN": {}, - "ArchiveDescription": {}, - "PartSizeInBytes": { - "type": "long" - }, - "CreationDate": {}, - "Parts": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RangeInBytes": {}, - "SHA256TreeHash": {} - } - } - }, - "Marker": {} - } - } - }, - "ListProvisionedCapacity": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/provisioned-capacity" - }, - "input": { - "type": "structure", - "required": [ - "accountId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - } - } - }, - "output": { - "type": "structure", - "members": { - "ProvisionedCapacityList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CapacityId": {}, - "StartDate": {}, - "ExpirationDate": {} - } - } - } - } - } - }, - "ListTagsForVault": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults/{vaultName}/tags" - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "S5" - } - } - } - }, - "ListVaults": { - "http": { - "method": "GET", - "requestUri": "/{accountId}/vaults" - }, - "input": { - "type": "structure", - "required": [ - "accountId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "limit": { - "location": "querystring", - "locationName": "limit" - } - } - }, - "output": { - "type": "structure", - "members": { - "VaultList": { - "type": "list", - "member": { - "shape": "Sq" - } - }, - "Marker": {} - } - } - }, - "PurchaseProvisionedCapacity": { - "http": { - "requestUri": "/{accountId}/provisioned-capacity", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "accountId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - } - } - }, - "output": { - "type": "structure", - "members": { - "capacityId": { - "location": "header", - "locationName": "x-amz-capacity-id" - } - } - } - }, - "RemoveTagsFromVault": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/tags?operation=remove", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "SetDataRetrievalPolicy": { - "http": { - "method": "PUT", - "requestUri": "/{accountId}/policies/data-retrieval", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "Policy": { - "shape": "Su" - } - } - } - }, - "SetVaultAccessPolicy": { - "http": { - "method": "PUT", - "requestUri": "/{accountId}/vaults/{vaultName}/access-policy", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "policy": { - "shape": "S14" - } - }, - "payload": "policy" - } - }, - "SetVaultNotifications": { - "http": { - "method": "PUT", - "requestUri": "/{accountId}/vaults/{vaultName}/notification-configuration", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "vaultNotificationConfig": { - "shape": "S19" - } - }, - "payload": "vaultNotificationConfig" - } - }, - "UploadArchive": { - "http": { - "requestUri": "/{accountId}/vaults/{vaultName}/archives", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "vaultName", - "accountId" - ], - "members": { - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "archiveDescription": { - "location": "header", - "locationName": "x-amz-archive-description" - }, - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - }, - "body": { - "shape": "S10" - } - }, - "payload": "body" - }, - "output": { - "shape": "S9" - } - }, - "UploadMultipartPart": { - "http": { - "method": "PUT", - "requestUri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "accountId", - "vaultName", - "uploadId" - ], - "members": { - "accountId": { - "location": "uri", - "locationName": "accountId" - }, - "vaultName": { - "location": "uri", - "locationName": "vaultName" - }, - "uploadId": { - "location": "uri", - "locationName": "uploadId" - }, - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - }, - "range": { - "location": "header", - "locationName": "Content-Range" - }, - "body": { - "shape": "S10" - } - }, - "payload": "body" - }, - "output": { - "type": "structure", - "members": { - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "map", - "key": {}, - "value": {} - }, - "S9": { - "type": "structure", - "members": { - "location": { - "location": "header", - "locationName": "Location" - }, - "checksum": { - "location": "header", - "locationName": "x-amz-sha256-tree-hash" - }, - "archiveId": { - "location": "header", - "locationName": "x-amz-archive-id" - } - } - }, - "Si": { - "type": "structure", - "members": { - "JobId": {}, - "JobDescription": {}, - "Action": {}, - "ArchiveId": {}, - "VaultARN": {}, - "CreationDate": {}, - "Completed": { - "type": "boolean" - }, - "StatusCode": {}, - "StatusMessage": {}, - "ArchiveSizeInBytes": { - "type": "long" - }, - "InventorySizeInBytes": { - "type": "long" - }, - "SNSTopic": {}, - "CompletionDate": {}, - "SHA256TreeHash": {}, - "ArchiveSHA256TreeHash": {}, - "RetrievalByteRange": {}, - "Tier": {}, - "InventoryRetrievalParameters": { - "type": "structure", - "members": { - "Format": {}, - "StartDate": {}, - "EndDate": {}, - "Limit": {}, - "Marker": {} - } - } - } - }, - "Sq": { - "type": "structure", - "members": { - "VaultARN": {}, - "VaultName": {}, - "CreationDate": {}, - "LastInventoryDate": {}, - "NumberOfArchives": { - "type": "long" - }, - "SizeInBytes": { - "type": "long" - } - } - }, - "Su": { - "type": "structure", - "members": { - "Rules": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Strategy": {}, - "BytesPerHour": { - "type": "long" - } - } - } - } - } - }, - "S10": { - "type": "blob", - "streaming": true - }, - "S14": { - "type": "structure", - "members": { - "Policy": {} - } - }, - "S19": { - "type": "structure", - "members": { - "SNSTopic": {}, - "Events": { - "type": "list", - "member": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json b/src/node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json deleted file mode 100644 index cf247b7..0000000 --- a/src/node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "pagination": { - "ListJobs": { - "input_token": "marker", - "limit_key": "limit", - "output_token": "Marker", - "result_key": "JobList" - }, - "ListMultipartUploads": { - "input_token": "marker", - "limit_key": "limit", - "output_token": "Marker", - "result_key": "UploadsList" - }, - "ListParts": { - "input_token": "marker", - "limit_key": "limit", - "output_token": "Marker", - "result_key": "Parts" - }, - "ListVaults": { - "input_token": "marker", - "limit_key": "limit", - "output_token": "Marker", - "result_key": "VaultList" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/glacier-2012-06-01.waiters2.json b/src/node_modules/aws-sdk/apis/glacier-2012-06-01.waiters2.json deleted file mode 100644 index 07a64a0..0000000 --- a/src/node_modules/aws-sdk/apis/glacier-2012-06-01.waiters2.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "version": 2, - "waiters": { - "VaultExists": { - "operation": "DescribeVault", - "delay": 3, - "maxAttempts": 15, - "acceptors": [ - { - "state": "success", - "matcher": "status", - "expected": 200 - }, - { - "state": "retry", - "matcher": "error", - "expected": "ResourceNotFoundException" - } - ] - }, - "VaultNotExists": { - "operation": "DescribeVault", - "delay": 3, - "maxAttempts": 15, - "acceptors": [ - { - "state": "retry", - "matcher": "status", - "expected": 200 - }, - { - "state": "success", - "matcher": "error", - "expected": "ResourceNotFoundException" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/greengrass-2017-06-07.min.json b/src/node_modules/aws-sdk/apis/greengrass-2017-06-07.min.json deleted file mode 100644 index 22e9f2a..0000000 --- a/src/node_modules/aws-sdk/apis/greengrass-2017-06-07.min.json +++ /dev/null @@ -1,2126 +0,0 @@ -{ - "metadata": { - "apiVersion": "2017-06-07", - "endpointPrefix": "greengrass", - "signingName": "greengrass", - "serviceFullName": "AWS Greengrass", - "protocol": "rest-json", - "jsonVersion": "1.1", - "uid": "greengrass-2017-06-07", - "signatureVersion": "v4" - }, - "operations": { - "AssociateRoleToGroup": { - "http": { - "method": "PUT", - "requestUri": "/greengrass/groups/{GroupId}/role", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - }, - "RoleArn": {} - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "AssociatedAt": {} - } - } - }, - "AssociateServiceRoleToAccount": { - "http": { - "method": "PUT", - "requestUri": "/greengrass/servicerole", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "RoleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "AssociatedAt": {} - } - } - }, - "CreateCoreDefinition": { - "http": { - "requestUri": "/greengrass/definition/cores", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "InitialVersion": { - "shape": "S7" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "CreateCoreDefinitionVersion": { - "http": { - "requestUri": "/greengrass/definition/cores/{CoreDefinitionId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "CoreDefinitionId": { - "location": "uri", - "locationName": "CoreDefinitionId" - }, - "Cores": { - "shape": "S8" - } - }, - "required": [ - "CoreDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "Version": {} - } - } - }, - "CreateDeployment": { - "http": { - "requestUri": "/greengrass/groups/{GroupId}/deployments", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "DeploymentId": {}, - "DeploymentType": {}, - "GroupId": { - "location": "uri", - "locationName": "GroupId" - }, - "GroupVersionId": {} - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "DeploymentArn": {}, - "DeploymentId": {} - } - } - }, - "CreateDeviceDefinition": { - "http": { - "requestUri": "/greengrass/definition/devices", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "InitialVersion": { - "shape": "Si" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "CreateDeviceDefinitionVersion": { - "http": { - "requestUri": "/greengrass/definition/devices/{DeviceDefinitionId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "DeviceDefinitionId": { - "location": "uri", - "locationName": "DeviceDefinitionId" - }, - "Devices": { - "shape": "Sj" - } - }, - "required": [ - "DeviceDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "Version": {} - } - } - }, - "CreateFunctionDefinition": { - "http": { - "requestUri": "/greengrass/definition/functions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "InitialVersion": { - "shape": "Sp" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "CreateFunctionDefinitionVersion": { - "http": { - "requestUri": "/greengrass/definition/functions/{FunctionDefinitionId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "FunctionDefinitionId": { - "location": "uri", - "locationName": "FunctionDefinitionId" - }, - "Functions": { - "shape": "Sq" - } - }, - "required": [ - "FunctionDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "Version": {} - } - } - }, - "CreateGroup": { - "http": { - "requestUri": "/greengrass/groups", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "InitialVersion": { - "shape": "S10" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "CreateGroupCertificateAuthority": { - "http": { - "requestUri": "/greengrass/groups/{GroupId}/certificateauthorities", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "GroupId": { - "location": "uri", - "locationName": "GroupId" - } - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "GroupCertificateAuthorityArn": {} - } - } - }, - "CreateGroupVersion": { - "http": { - "requestUri": "/greengrass/groups/{GroupId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "CoreDefinitionVersionArn": {}, - "DeviceDefinitionVersionArn": {}, - "FunctionDefinitionVersionArn": {}, - "GroupId": { - "location": "uri", - "locationName": "GroupId" - }, - "LoggerDefinitionVersionArn": {}, - "SubscriptionDefinitionVersionArn": {} - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "Version": {} - } - } - }, - "CreateLoggerDefinition": { - "http": { - "requestUri": "/greengrass/definition/loggers", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "InitialVersion": { - "shape": "S17" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "CreateLoggerDefinitionVersion": { - "http": { - "requestUri": "/greengrass/definition/loggers/{LoggerDefinitionId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "LoggerDefinitionId": { - "location": "uri", - "locationName": "LoggerDefinitionId" - }, - "Loggers": { - "shape": "S18" - } - }, - "required": [ - "LoggerDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "Version": {} - } - } - }, - "CreateSubscriptionDefinition": { - "http": { - "requestUri": "/greengrass/definition/subscriptions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "InitialVersion": { - "shape": "S1h" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "CreateSubscriptionDefinitionVersion": { - "http": { - "requestUri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AmznClientToken": { - "location": "header", - "locationName": "X-Amzn-Client-Token" - }, - "SubscriptionDefinitionId": { - "location": "uri", - "locationName": "SubscriptionDefinitionId" - }, - "Subscriptions": { - "shape": "S1i" - } - }, - "required": [ - "SubscriptionDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "Version": {} - } - } - }, - "DeleteCoreDefinition": { - "http": { - "method": "DELETE", - "requestUri": "/greengrass/definition/cores/{CoreDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "CoreDefinitionId": { - "location": "uri", - "locationName": "CoreDefinitionId" - } - }, - "required": [ - "CoreDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteDeviceDefinition": { - "http": { - "method": "DELETE", - "requestUri": "/greengrass/definition/devices/{DeviceDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "DeviceDefinitionId": { - "location": "uri", - "locationName": "DeviceDefinitionId" - } - }, - "required": [ - "DeviceDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteFunctionDefinition": { - "http": { - "method": "DELETE", - "requestUri": "/greengrass/definition/functions/{FunctionDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "FunctionDefinitionId": { - "location": "uri", - "locationName": "FunctionDefinitionId" - } - }, - "required": [ - "FunctionDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteGroup": { - "http": { - "method": "DELETE", - "requestUri": "/greengrass/groups/{GroupId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - } - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteLoggerDefinition": { - "http": { - "method": "DELETE", - "requestUri": "/greengrass/definition/loggers/{LoggerDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "LoggerDefinitionId": { - "location": "uri", - "locationName": "LoggerDefinitionId" - } - }, - "required": [ - "LoggerDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteSubscriptionDefinition": { - "http": { - "method": "DELETE", - "requestUri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "SubscriptionDefinitionId": { - "location": "uri", - "locationName": "SubscriptionDefinitionId" - } - }, - "required": [ - "SubscriptionDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisassociateRoleFromGroup": { - "http": { - "method": "DELETE", - "requestUri": "/greengrass/groups/{GroupId}/role", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - } - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "DisassociatedAt": {} - } - } - }, - "DisassociateServiceRoleFromAccount": { - "http": { - "method": "DELETE", - "requestUri": "/greengrass/servicerole", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "DisassociatedAt": {} - } - } - }, - "GetAssociatedRole": { - "http": { - "method": "GET", - "requestUri": "/greengrass/groups/{GroupId}/role", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - } - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "AssociatedAt": {}, - "RoleArn": {} - } - } - }, - "GetConnectivityInfo": { - "http": { - "method": "GET", - "requestUri": "/greengrass/things/{ThingName}/connectivityInfo", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ThingName": { - "location": "uri", - "locationName": "ThingName" - } - }, - "required": [ - "ThingName" - ] - }, - "output": { - "type": "structure", - "members": { - "ConnectivityInfo": { - "shape": "S27" - }, - "Message": { - "locationName": "message" - } - } - } - }, - "GetCoreDefinition": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/cores/{CoreDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "CoreDefinitionId": { - "location": "uri", - "locationName": "CoreDefinitionId" - } - }, - "required": [ - "CoreDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "GetCoreDefinitionVersion": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/cores/{CoreDefinitionId}/versions/{CoreDefinitionVersionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "CoreDefinitionId": { - "location": "uri", - "locationName": "CoreDefinitionId" - }, - "CoreDefinitionVersionId": { - "location": "uri", - "locationName": "CoreDefinitionVersionId" - } - }, - "required": [ - "CoreDefinitionId", - "CoreDefinitionVersionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Definition": { - "shape": "S7" - }, - "Id": {}, - "Version": {} - } - } - }, - "GetDeploymentStatus": { - "http": { - "method": "GET", - "requestUri": "/greengrass/groups/{GroupId}/deployments/{DeploymentId}/status", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "DeploymentId": { - "location": "uri", - "locationName": "DeploymentId" - }, - "GroupId": { - "location": "uri", - "locationName": "GroupId" - } - }, - "required": [ - "GroupId", - "DeploymentId" - ] - }, - "output": { - "type": "structure", - "members": { - "DeploymentStatus": {}, - "ErrorMessage": {}, - "UpdatedAt": {} - } - } - }, - "GetDeviceDefinition": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/devices/{DeviceDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "DeviceDefinitionId": { - "location": "uri", - "locationName": "DeviceDefinitionId" - } - }, - "required": [ - "DeviceDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "GetDeviceDefinitionVersion": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/devices/{DeviceDefinitionId}/versions/{DeviceDefinitionVersionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "DeviceDefinitionId": { - "location": "uri", - "locationName": "DeviceDefinitionId" - }, - "DeviceDefinitionVersionId": { - "location": "uri", - "locationName": "DeviceDefinitionVersionId" - } - }, - "required": [ - "DeviceDefinitionVersionId", - "DeviceDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Definition": { - "shape": "Si" - }, - "Id": {}, - "Version": {} - } - } - }, - "GetFunctionDefinition": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/functions/{FunctionDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "FunctionDefinitionId": { - "location": "uri", - "locationName": "FunctionDefinitionId" - } - }, - "required": [ - "FunctionDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "GetFunctionDefinitionVersion": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/functions/{FunctionDefinitionId}/versions/{FunctionDefinitionVersionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "FunctionDefinitionId": { - "location": "uri", - "locationName": "FunctionDefinitionId" - }, - "FunctionDefinitionVersionId": { - "location": "uri", - "locationName": "FunctionDefinitionVersionId" - } - }, - "required": [ - "FunctionDefinitionId", - "FunctionDefinitionVersionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Definition": { - "shape": "Sp" - }, - "Id": {}, - "Version": {} - } - } - }, - "GetGroup": { - "http": { - "method": "GET", - "requestUri": "/greengrass/groups/{GroupId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - } - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "GetGroupCertificateAuthority": { - "http": { - "method": "GET", - "requestUri": "/greengrass/groups/{GroupId}/certificateauthorities/{CertificateAuthorityId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "CertificateAuthorityId": { - "location": "uri", - "locationName": "CertificateAuthorityId" - }, - "GroupId": { - "location": "uri", - "locationName": "GroupId" - } - }, - "required": [ - "CertificateAuthorityId", - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "GroupCertificateAuthorityArn": {}, - "GroupCertificateAuthorityId": {}, - "PemEncodedCertificate": {} - } - } - }, - "GetGroupCertificateConfiguration": { - "http": { - "method": "GET", - "requestUri": "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - } - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "CertificateAuthorityExpiryInMilliseconds": {}, - "CertificateExpiryInMilliseconds": {}, - "GroupId": {} - } - } - }, - "GetGroupVersion": { - "http": { - "method": "GET", - "requestUri": "/greengrass/groups/{GroupId}/versions/{GroupVersionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - }, - "GroupVersionId": { - "location": "uri", - "locationName": "GroupVersionId" - } - }, - "required": [ - "GroupVersionId", - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Definition": { - "shape": "S10" - }, - "Id": {}, - "Version": {} - } - } - }, - "GetLoggerDefinition": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/loggers/{LoggerDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "LoggerDefinitionId": { - "location": "uri", - "locationName": "LoggerDefinitionId" - } - }, - "required": [ - "LoggerDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "GetLoggerDefinitionVersion": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/loggers/{LoggerDefinitionId}/versions/{LoggerDefinitionVersionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "LoggerDefinitionId": { - "location": "uri", - "locationName": "LoggerDefinitionId" - }, - "LoggerDefinitionVersionId": { - "location": "uri", - "locationName": "LoggerDefinitionVersionId" - } - }, - "required": [ - "LoggerDefinitionVersionId", - "LoggerDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Definition": { - "shape": "S17" - }, - "Id": {}, - "Version": {} - } - } - }, - "GetServiceRoleForAccount": { - "http": { - "method": "GET", - "requestUri": "/greengrass/servicerole", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "AssociatedAt": {}, - "RoleArn": {} - } - } - }, - "GetSubscriptionDefinition": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "SubscriptionDefinitionId": { - "location": "uri", - "locationName": "SubscriptionDefinitionId" - } - }, - "required": [ - "SubscriptionDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "GetSubscriptionDefinitionVersion": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions/{SubscriptionDefinitionVersionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "SubscriptionDefinitionId": { - "location": "uri", - "locationName": "SubscriptionDefinitionId" - }, - "SubscriptionDefinitionVersionId": { - "location": "uri", - "locationName": "SubscriptionDefinitionVersionId" - } - }, - "required": [ - "SubscriptionDefinitionId", - "SubscriptionDefinitionVersionId" - ] - }, - "output": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Definition": { - "shape": "S1h" - }, - "Id": {}, - "Version": {} - } - } - }, - "ListCoreDefinitionVersions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/cores/{CoreDefinitionId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "CoreDefinitionId": { - "location": "uri", - "locationName": "CoreDefinitionId" - }, - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - }, - "required": [ - "CoreDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Versions": { - "shape": "S37" - } - } - } - }, - "ListCoreDefinitions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/cores", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Definitions": { - "shape": "S3b" - }, - "NextToken": {} - } - } - }, - "ListDeployments": { - "http": { - "method": "GET", - "requestUri": "/greengrass/groups/{GroupId}/deployments", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - }, - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "Deployments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CreatedAt": {}, - "DeploymentArn": {}, - "DeploymentId": {}, - "GroupArn": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListDeviceDefinitionVersions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/devices/{DeviceDefinitionId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "DeviceDefinitionId": { - "location": "uri", - "locationName": "DeviceDefinitionId" - }, - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - }, - "required": [ - "DeviceDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Versions": { - "shape": "S37" - } - } - } - }, - "ListDeviceDefinitions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/devices", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Definitions": { - "shape": "S3b" - }, - "NextToken": {} - } - } - }, - "ListFunctionDefinitionVersions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/functions/{FunctionDefinitionId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "FunctionDefinitionId": { - "location": "uri", - "locationName": "FunctionDefinitionId" - }, - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - }, - "required": [ - "FunctionDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Versions": { - "shape": "S37" - } - } - } - }, - "ListFunctionDefinitions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/functions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Definitions": { - "shape": "S3b" - }, - "NextToken": {} - } - } - }, - "ListGroupCertificateAuthorities": { - "http": { - "method": "GET", - "requestUri": "/greengrass/groups/{GroupId}/certificateauthorities", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - } - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "GroupCertificateAuthorities": { - "type": "list", - "member": { - "type": "structure", - "members": { - "GroupCertificateAuthorityArn": {}, - "GroupCertificateAuthorityId": {} - } - } - } - } - } - }, - "ListGroupVersions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/groups/{GroupId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - }, - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Versions": { - "shape": "S37" - } - } - } - }, - "ListGroups": { - "http": { - "method": "GET", - "requestUri": "/greengrass/groups", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Groups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListLoggerDefinitionVersions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/loggers/{LoggerDefinitionId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "LoggerDefinitionId": { - "location": "uri", - "locationName": "LoggerDefinitionId" - }, - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - }, - "required": [ - "LoggerDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Versions": { - "shape": "S37" - } - } - } - }, - "ListLoggerDefinitions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/loggers", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Definitions": { - "shape": "S3b" - }, - "NextToken": {} - } - } - }, - "ListSubscriptionDefinitionVersions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - }, - "SubscriptionDefinitionId": { - "location": "uri", - "locationName": "SubscriptionDefinitionId" - } - }, - "required": [ - "SubscriptionDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Versions": { - "shape": "S37" - } - } - } - }, - "ListSubscriptionDefinitions": { - "http": { - "method": "GET", - "requestUri": "/greengrass/definition/subscriptions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Definitions": { - "shape": "S3b" - }, - "NextToken": {} - } - } - }, - "UpdateConnectivityInfo": { - "http": { - "method": "PUT", - "requestUri": "/greengrass/things/{ThingName}/connectivityInfo", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ConnectivityInfo": { - "shape": "S27" - }, - "ThingName": { - "location": "uri", - "locationName": "ThingName" - } - }, - "required": [ - "ThingName" - ] - }, - "output": { - "type": "structure", - "members": { - "Message": { - "locationName": "message" - }, - "Version": {} - } - } - }, - "UpdateCoreDefinition": { - "http": { - "method": "PUT", - "requestUri": "/greengrass/definition/cores/{CoreDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "CoreDefinitionId": { - "location": "uri", - "locationName": "CoreDefinitionId" - }, - "Name": {} - }, - "required": [ - "CoreDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateDeviceDefinition": { - "http": { - "method": "PUT", - "requestUri": "/greengrass/definition/devices/{DeviceDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "DeviceDefinitionId": { - "location": "uri", - "locationName": "DeviceDefinitionId" - }, - "Name": {} - }, - "required": [ - "DeviceDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateFunctionDefinition": { - "http": { - "method": "PUT", - "requestUri": "/greengrass/definition/functions/{FunctionDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "FunctionDefinitionId": { - "location": "uri", - "locationName": "FunctionDefinitionId" - }, - "Name": {} - }, - "required": [ - "FunctionDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateGroup": { - "http": { - "method": "PUT", - "requestUri": "/greengrass/groups/{GroupId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "GroupId": { - "location": "uri", - "locationName": "GroupId" - }, - "Name": {} - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateGroupCertificateConfiguration": { - "http": { - "method": "PUT", - "requestUri": "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "CertificateExpiryInMilliseconds": {}, - "GroupId": { - "location": "uri", - "locationName": "GroupId" - } - }, - "required": [ - "GroupId" - ] - }, - "output": { - "type": "structure", - "members": { - "CertificateAuthorityExpiryInMilliseconds": {}, - "CertificateExpiryInMilliseconds": {}, - "GroupId": {} - } - } - }, - "UpdateLoggerDefinition": { - "http": { - "method": "PUT", - "requestUri": "/greengrass/definition/loggers/{LoggerDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "LoggerDefinitionId": { - "location": "uri", - "locationName": "LoggerDefinitionId" - }, - "Name": {} - }, - "required": [ - "LoggerDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateSubscriptionDefinition": { - "http": { - "method": "PUT", - "requestUri": "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "Name": {}, - "SubscriptionDefinitionId": { - "location": "uri", - "locationName": "SubscriptionDefinitionId" - } - }, - "required": [ - "SubscriptionDefinitionId" - ] - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S7": { - "type": "structure", - "members": { - "Cores": { - "shape": "S8" - } - } - }, - "S8": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CertificateArn": {}, - "Id": {}, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": {} - } - } - }, - "Si": { - "type": "structure", - "members": { - "Devices": { - "shape": "Sj" - } - } - }, - "Sj": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CertificateArn": {}, - "Id": {}, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": {} - } - } - }, - "Sp": { - "type": "structure", - "members": { - "Functions": { - "shape": "Sq" - } - } - }, - "Sq": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FunctionArn": {}, - "FunctionConfiguration": { - "type": "structure", - "members": { - "Environment": { - "type": "structure", - "members": { - "Variables": { - "type": "map", - "key": {}, - "value": {} - } - } - }, - "ExecArgs": {}, - "Executable": {}, - "MemorySize": { - "type": "integer" - }, - "Pinned": { - "type": "boolean" - }, - "Timeout": { - "type": "integer" - } - } - }, - "Id": {} - } - } - }, - "S10": { - "type": "structure", - "members": { - "CoreDefinitionVersionArn": {}, - "DeviceDefinitionVersionArn": {}, - "FunctionDefinitionVersionArn": {}, - "LoggerDefinitionVersionArn": {}, - "SubscriptionDefinitionVersionArn": {} - } - }, - "S17": { - "type": "structure", - "members": { - "Loggers": { - "shape": "S18" - } - } - }, - "S18": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Component": {}, - "Id": {}, - "Level": {}, - "Space": { - "type": "integer" - }, - "Type": {} - } - } - }, - "S1h": { - "type": "structure", - "members": { - "Subscriptions": { - "shape": "S1i" - } - } - }, - "S1i": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Source": {}, - "Subject": {}, - "Target": {} - } - } - }, - "S27": { - "type": "list", - "member": { - "type": "structure", - "members": { - "HostAddress": {}, - "Id": {}, - "Metadata": {}, - "PortNumber": { - "type": "integer" - } - } - } - }, - "S37": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "Version": {} - } - } - }, - "S3b": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Arn": {}, - "CreationTimestamp": {}, - "Id": {}, - "LastUpdatedTimestamp": {}, - "LatestVersion": {}, - "LatestVersionArn": {}, - "Name": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/health-2016-08-04.min.json b/src/node_modules/aws-sdk/apis/health-2016-08-04.min.json deleted file mode 100644 index 0818a29..0000000 --- a/src/node_modules/aws-sdk/apis/health-2016-08-04.min.json +++ /dev/null @@ -1,390 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-08-04", - "endpointPrefix": "health", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "AWSHealth", - "serviceFullName": "AWS Health APIs and Notifications", - "signatureVersion": "v4", - "targetPrefix": "AWSHealth_20160804", - "uid": "health-2016-08-04" - }, - "operations": { - "DescribeAffectedEntities": { - "input": { - "type": "structure", - "required": [ - "filter" - ], - "members": { - "filter": { - "type": "structure", - "required": [ - "eventArns" - ], - "members": { - "eventArns": { - "shape": "S3" - }, - "entityArns": { - "shape": "S5" - }, - "entityValues": { - "shape": "S7" - }, - "lastUpdatedTimes": { - "shape": "S9" - }, - "tags": { - "shape": "Sc" - }, - "statusCodes": { - "type": "list", - "member": {} - } - } - }, - "locale": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "entities": { - "type": "list", - "member": { - "type": "structure", - "members": { - "entityArn": {}, - "eventArn": {}, - "entityValue": {}, - "awsAccountId": {}, - "lastUpdatedTime": { - "type": "timestamp" - }, - "statusCode": {}, - "tags": { - "shape": "Sd" - } - } - } - }, - "nextToken": {} - } - }, - "idempotent": true - }, - "DescribeEntityAggregates": { - "input": { - "type": "structure", - "members": { - "eventArns": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "entityAggregates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "eventArn": {}, - "count": { - "type": "integer" - } - } - } - } - } - }, - "idempotent": true - }, - "DescribeEventAggregates": { - "input": { - "type": "structure", - "required": [ - "aggregateField" - ], - "members": { - "filter": { - "shape": "Sw" - }, - "aggregateField": {}, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "eventAggregates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "aggregateValue": {}, - "count": { - "type": "integer" - } - } - } - }, - "nextToken": {} - } - }, - "idempotent": true - }, - "DescribeEventDetails": { - "input": { - "type": "structure", - "required": [ - "eventArns" - ], - "members": { - "eventArns": { - "shape": "S3" - }, - "locale": {} - } - }, - "output": { - "type": "structure", - "members": { - "successfulSet": { - "type": "list", - "member": { - "type": "structure", - "members": { - "event": { - "shape": "S1i" - }, - "eventDescription": { - "type": "structure", - "members": { - "latestDescription": {} - } - }, - "eventMetadata": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "failedSet": { - "type": "list", - "member": { - "type": "structure", - "members": { - "eventArn": {}, - "errorName": {}, - "errorMessage": {} - } - } - } - } - }, - "idempotent": true - }, - "DescribeEventTypes": { - "input": { - "type": "structure", - "members": { - "filter": { - "type": "structure", - "members": { - "eventTypeCodes": { - "type": "list", - "member": {} - }, - "services": { - "shape": "Sz" - }, - "eventTypeCategories": { - "type": "list", - "member": {} - } - } - }, - "locale": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "eventTypes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "service": {}, - "code": {}, - "category": {} - } - } - }, - "nextToken": {} - } - }, - "idempotent": true - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "filter": { - "shape": "Sw" - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - }, - "locale": {} - } - }, - "output": { - "type": "structure", - "members": { - "events": { - "type": "list", - "member": { - "shape": "S1i" - } - }, - "nextToken": {} - } - }, - "idempotent": true - } - }, - "shapes": { - "S3": { - "type": "list", - "member": {} - }, - "S5": { - "type": "list", - "member": {} - }, - "S7": { - "type": "list", - "member": {} - }, - "S9": { - "type": "list", - "member": { - "type": "structure", - "members": { - "from": { - "type": "timestamp" - }, - "to": { - "type": "timestamp" - } - } - } - }, - "Sc": { - "type": "list", - "member": { - "shape": "Sd" - } - }, - "Sd": { - "type": "map", - "key": {}, - "value": {} - }, - "Sw": { - "type": "structure", - "members": { - "eventArns": { - "shape": "S3" - }, - "eventTypeCodes": { - "type": "list", - "member": {} - }, - "services": { - "shape": "Sz" - }, - "regions": { - "type": "list", - "member": {} - }, - "availabilityZones": { - "type": "list", - "member": {} - }, - "startTimes": { - "shape": "S9" - }, - "endTimes": { - "shape": "S9" - }, - "lastUpdatedTimes": { - "shape": "S9" - }, - "entityArns": { - "shape": "S5" - }, - "entityValues": { - "shape": "S7" - }, - "eventTypeCategories": { - "type": "list", - "member": {} - }, - "tags": { - "shape": "Sc" - }, - "eventStatusCodes": { - "type": "list", - "member": {} - } - } - }, - "Sz": { - "type": "list", - "member": {} - }, - "S1i": { - "type": "structure", - "members": { - "arn": {}, - "service": {}, - "eventTypeCode": {}, - "eventTypeCategory": {}, - "region": {}, - "availabilityZone": {}, - "startTime": { - "type": "timestamp" - }, - "endTime": { - "type": "timestamp" - }, - "lastUpdatedTime": { - "type": "timestamp" - }, - "statusCode": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/health-2016-08-04.paginators.json b/src/node_modules/aws-sdk/apis/health-2016-08-04.paginators.json deleted file mode 100644 index 47b0316..0000000 --- a/src/node_modules/aws-sdk/apis/health-2016-08-04.paginators.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "pagination": { - "DescribeAffectedEntities": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "entities" - }, - "DescribeEntityAggregates": { - "result_key": "entityAggregates" - }, - "DescribeEventAggregates": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "eventAggregates" - }, - "DescribeEvents": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "events" - }, - "DescribeEventTypes": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "eventTypes" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/iam-2010-05-08.examples.json b/src/node_modules/aws-sdk/apis/iam-2010-05-08.examples.json deleted file mode 100644 index f23d8eb..0000000 --- a/src/node_modules/aws-sdk/apis/iam-2010-05-08.examples.json +++ /dev/null @@ -1,1191 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AddClientIDToOpenIDConnectProvider": [ - { - "input": { - "ClientID": "my-application-ID", - "OpenIDConnectProviderArn": "arn:aws:iam::123456789012:oidc-provider/server.example.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following add-client-id-to-open-id-connect-provider command adds the client ID my-application-ID to the OIDC provider named server.example.com:", - "id": "028e91f4-e2a6-4d59-9e3b-4965a3fb19be", - "title": "To add a client ID (audience) to an Open-ID Connect (OIDC) provider" - } - ], - "AddRoleToInstanceProfile": [ - { - "input": { - "InstanceProfileName": "Webserver", - "RoleName": "S3Access" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command adds the role named S3Access to the instance profile named Webserver:", - "id": "c107fac3-edb6-4827-8a71-8863ec91c81f", - "title": "To add a role to an instance profile" - } - ], - "AddUserToGroup": [ - { - "input": { - "GroupName": "Admins", - "UserName": "Bob" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command adds an IAM user named Bob to the IAM group named Admins:", - "id": "619c7e6b-09f8-4036-857b-51a6ea5027ca", - "title": "To add a user to an IAM group" - } - ], - "AttachGroupPolicy": [ - { - "input": { - "GroupName": "Finance", - "PolicyArn": "arn:aws:iam::aws:policy/ReadOnlyAccess" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM group named Finance.", - "id": "87551489-86f0-45db-9889-759936778f2b", - "title": "To attach a managed policy to an IAM group" - } - ], - "AttachRolePolicy": [ - { - "input": { - "PolicyArn": "arn:aws:iam::aws:policy/ReadOnlyAccess", - "RoleName": "ReadOnlyRole" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM role named ReadOnlyRole.", - "id": "3e1b8c7c-99c8-4fc4-a20c-131fe3f22c7e", - "title": "To attach a managed policy to an IAM role" - } - ], - "AttachUserPolicy": [ - { - "input": { - "PolicyArn": "arn:aws:iam::aws:policy/AdministratorAccess", - "UserName": "Alice" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command attaches the AWS managed policy named AdministratorAccess to the IAM user named Alice.", - "id": "1372ebd8-9475-4b1a-a479-23b6fd4b8b3e", - "title": "To attach a managed policy to an IAM user" - } - ], - "ChangePassword": [ - { - "input": { - "NewPassword": "]35d/{pB9Fo9wJ", - "OldPassword": "3s0K_;xh4~8XXI" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command changes the password for the current IAM user.", - "id": "3a80c66f-bffb-46df-947c-1e8fa583b470", - "title": "To change the password for your IAM user" - } - ], - "CreateAccessKey": [ - { - "input": { - "UserName": "Bob" - }, - "output": { - "AccessKey": { - "AccessKeyId": "AKIAIOSFODNN7EXAMPLE", - "CreateDate": "2015-03-09T18:39:23.411Z", - "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY", - "Status": "Active", - "UserName": "Bob" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command creates an access key (access key ID and secret access key) for the IAM user named Bob.", - "id": "1fbb3211-4cf2-41db-8c20-ba58d9f5802d", - "title": "To create an access key for an IAM user" - } - ], - "CreateAccountAlias": [ - { - "input": { - "AccountAlias": "examplecorp" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command associates the alias examplecorp to your AWS account.", - "id": "5adaf6fb-94fc-4ca2-b825-2fbc2062add1", - "title": "To create an account alias" - } - ], - "CreateGroup": [ - { - "input": { - "GroupName": "Admins" - }, - "output": { - "Group": { - "Arn": "arn:aws:iam::123456789012:group/Admins", - "CreateDate": "2015-03-09T20:30:24.940Z", - "GroupId": "AIDGPMS9RO4H3FEXAMPLE", - "GroupName": "Admins", - "Path": "/" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command creates an IAM group named Admins.", - "id": "d5da2a90-5e69-4ef7-8ae8-4c33dc21fd21", - "title": "To create an IAM group" - } - ], - "CreateInstanceProfile": [ - { - "input": { - "InstanceProfileName": "Webserver" - }, - "output": { - "InstanceProfile": { - "Arn": "arn:aws:iam::123456789012:instance-profile/Webserver", - "CreateDate": "2015-03-09T20:33:19.626Z", - "InstanceProfileId": "AIPAJMBYC7DLSPEXAMPLE", - "InstanceProfileName": "Webserver", - "Path": "/", - "Roles": [ - - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command creates an instance profile named Webserver that is ready to have a role attached and then be associated with an EC2 instance.", - "id": "5d84e6ae-5921-4e39-8454-10232cd9ff9a", - "title": "To create an instance profile" - } - ], - "CreateLoginProfile": [ - { - "input": { - "Password": "h]6EszR}vJ*m", - "PasswordResetRequired": true, - "UserName": "Bob" - }, - "output": { - "LoginProfile": { - "CreateDate": "2015-03-10T20:55:40.274Z", - "PasswordResetRequired": true, - "UserName": "Bob" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command changes IAM user Bob's password and sets the flag that required Bob to change the password the next time he signs in.", - "id": "c63795bc-3444-40b3-89df-83c474ef88be", - "title": "To create an instance profile" - } - ], - "CreateOpenIDConnectProvider": [ - { - "input": { - "ClientIDList": [ - "my-application-id" - ], - "ThumbprintList": [ - "3768084dfb3d2b68b7897bf5f565da8efEXAMPLE" - ], - "Url": "https://server.example.com" - }, - "output": { - "OpenIDConnectProviderArn": "arn:aws:iam::123456789012:oidc-provider/server.example.com" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example defines a new OIDC provider in IAM with a client ID of my-application-id and pointing at the server with a URL of https://server.example.com.", - "id": "4e4a6bff-cc97-4406-922e-0ab4a82cdb63", - "title": "To create an instance profile" - } - ], - "CreateRole": [ - { - "input": { - "AssumeRolePolicyDocument": "", - "Path": "/", - "RoleName": "Test-Role" - }, - "output": { - "Role": { - "Arn": "arn:aws:iam::123456789012:role/Test-Role", - "AssumeRolePolicyDocument": "", - "CreateDate": "2013-06-07T20:43:32.821Z", - "Path": "/", - "RoleId": "AKIAIOSFODNN7EXAMPLE", - "RoleName": "Test-Role" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command creates a role named Test-Role and attaches a trust policy to it that is provided as a URL-encoded JSON string.", - "id": "eaaa4b5f-51f1-4f73-b0d3-30127040eff8", - "title": "To create an IAM role" - } - ], - "CreateUser": [ - { - "input": { - "UserName": "Bob" - }, - "output": { - "User": { - "Arn": "arn:aws:iam::123456789012:user/Bob", - "CreateDate": "2013-06-08T03:20:41.270Z", - "Path": "/", - "UserId": "AKIAIOSFODNN7EXAMPLE", - "UserName": "Bob" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following create-user command creates an IAM user named Bob in the current account.", - "id": "eb15f90b-e5f5-4af8-a594-e4e82b181a62", - "title": "To create an IAM user" - } - ], - "DeleteAccessKey": [ - { - "input": { - "AccessKeyId": "AKIDPMS9RO4H3FEXAMPLE", - "UserName": "Bob" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command deletes one access key (access key ID and secret access key) assigned to the IAM user named Bob.", - "id": "61a785a7-d30a-415a-ae18-ab9236e56871", - "title": "To delete an access key for an IAM user" - } - ], - "DeleteAccountAlias": [ - { - "input": { - "AccountAlias": "mycompany" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command removes the alias mycompany from the current AWS account:", - "id": "7abeca65-04a8-4500-a890-47f1092bf766", - "title": "To delete an account alias" - } - ], - "DeleteAccountPasswordPolicy": [ - { - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command removes the password policy from the current AWS account:", - "id": "9ddf755e-495c-49bc-ae3b-ea6cc9b8ebcf", - "title": "To delete the current account password policy" - } - ], - "DeleteGroupPolicy": [ - { - "input": { - "GroupName": "Admins", - "PolicyName": "ExamplePolicy" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command deletes the policy named ExamplePolicy from the group named Admins:", - "id": "e683f2bd-98a4-4fe0-bb66-33169c692d4a", - "title": "To delete a policy from an IAM group" - } - ], - "DeleteInstanceProfile": [ - { - "input": { - "InstanceProfileName": "ExampleInstanceProfile" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command deletes the instance profile named ExampleInstanceProfile", - "id": "12d74fb8-3433-49db-8171-a1fc764e354d", - "title": "To delete an instance profile" - } - ], - "DeleteLoginProfile": [ - { - "input": { - "UserName": "Bob" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command deletes the password for the IAM user named Bob.", - "id": "1fe57059-fc73-42e2-b992-517b7d573b5c", - "title": "To delete a password for an IAM user" - } - ], - "DeleteRole": [ - { - "input": { - "RoleName": "Test-Role" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command removes the role named Test-Role.", - "id": "053cdf74-9bda-44b8-bdbb-140fd5a32603", - "title": "To delete an IAM role" - } - ], - "DeleteRolePolicy": [ - { - "input": { - "PolicyName": "ExamplePolicy", - "RoleName": "Test-Role" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command removes the policy named ExamplePolicy from the role named Test-Role.", - "id": "9c667336-fde3-462c-b8f3-950800821e27", - "title": "To remove a policy from an IAM role" - } - ], - "DeleteSigningCertificate": [ - { - "input": { - "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE", - "UserName": "Anika" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command deletes the specified signing certificate for the IAM user named Anika.", - "id": "e3357586-ba9c-4070-b35b-d1a899b71987", - "title": "To delete a signing certificate for an IAM user" - } - ], - "DeleteUser": [ - { - "input": { - "UserName": "Bob" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command removes the IAM user named Bob from the current account.", - "id": "a13dc3f9-59fe-42d9-abbb-fb98b204fdf0", - "title": "To delete an IAM user" - } - ], - "DeleteUserPolicy": [ - { - "input": { - "PolicyName": "ExamplePolicy", - "UserName": "Juan" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following delete-user-policy command removes the specified policy from the IAM user named Juan:", - "id": "34f07ddc-9bc1-4f52-bc59-cd0a3ccd06c8", - "title": "To remove a policy from an IAM user" - } - ], - "DeleteVirtualMFADevice": [ - { - "input": { - "SerialNumber": "arn:aws:iam::123456789012:mfa/ExampleName" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following delete-virtual-mfa-device command removes the specified MFA device from the current AWS account.", - "id": "2933b08b-dbe7-4b89-b8c1-fdf75feea1ee", - "title": "To remove a virtual MFA device" - } - ], - "GetAccountPasswordPolicy": [ - { - "output": { - "PasswordPolicy": { - "AllowUsersToChangePassword": false, - "ExpirePasswords": false, - "HardExpiry": false, - "MaxPasswordAge": 90, - "MinimumPasswordLength": 8, - "PasswordReusePrevention": 12, - "RequireLowercaseCharacters": false, - "RequireNumbers": true, - "RequireSymbols": true, - "RequireUppercaseCharacters": false - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command displays details about the password policy for the current AWS account.", - "id": "5e4598c7-c425-431f-8af1-19073b3c4a5f", - "title": "To see the current account password policy" - } - ], - "GetAccountSummary": [ - { - "output": { - "SummaryMap": { - "AccessKeysPerUserQuota": 2, - "AccountAccessKeysPresent": 1, - "AccountMFAEnabled": 0, - "AccountSigningCertificatesPresent": 0, - "AttachedPoliciesPerGroupQuota": 10, - "AttachedPoliciesPerRoleQuota": 10, - "AttachedPoliciesPerUserQuota": 10, - "GroupPolicySizeQuota": 5120, - "Groups": 15, - "GroupsPerUserQuota": 10, - "GroupsQuota": 100, - "MFADevices": 6, - "MFADevicesInUse": 3, - "Policies": 8, - "PoliciesQuota": 1000, - "PolicySizeQuota": 5120, - "PolicyVersionsInUse": 22, - "PolicyVersionsInUseQuota": 10000, - "ServerCertificates": 1, - "ServerCertificatesQuota": 20, - "SigningCertificatesPerUserQuota": 2, - "UserPolicySizeQuota": 2048, - "Users": 27, - "UsersQuota": 5000, - "VersionsPerPolicyQuota": 5 - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command returns information about the IAM entity quotas and usage in the current AWS account.", - "id": "9d8447af-f344-45de-8219-2cebc3cce7f2", - "title": "To get information about IAM entity quotas and usage in the current account" - } - ], - "GetInstanceProfile": [ - { - "input": { - "InstanceProfileName": "ExampleInstanceProfile" - }, - "output": { - "InstanceProfile": { - "Arn": "arn:aws:iam::336924118301:instance-profile/ExampleInstanceProfile", - "CreateDate": "2013-06-12T23:52:02Z", - "InstanceProfileId": "AID2MAB8DPLSRHEXAMPLE", - "InstanceProfileName": "ExampleInstanceProfile", - "Path": "/", - "Roles": [ - { - "Arn": "arn:aws:iam::336924118301:role/Test-Role", - "AssumeRolePolicyDocument": "", - "CreateDate": "2013-01-09T06:33:26Z", - "Path": "/", - "RoleId": "AIDGPMS9RO4H3FEXAMPLE", - "RoleName": "Test-Role" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command gets information about the instance profile named ExampleInstanceProfile.", - "id": "463b9ba5-18cc-4608-9ccb-5a7c6b6e5fe7", - "title": "To get information about an instance profile" - } - ], - "GetLoginProfile": [ - { - "input": { - "UserName": "Anika" - }, - "output": { - "LoginProfile": { - "CreateDate": "2012-09-21T23:03:39Z", - "UserName": "Anika" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command gets information about the password for the IAM user named Anika.", - "id": "d6b580cc-909f-4925-9caa-d425cbc1ad47", - "title": "To get password information for an IAM user" - } - ], - "GetRole": [ - { - "input": { - "RoleName": "Test-Role" - }, - "output": { - "Role": { - "Arn": "arn:aws:iam::123456789012:role/Test-Role", - "AssumeRolePolicyDocument": "", - "CreateDate": "2013-04-18T05:01:58Z", - "Path": "/", - "RoleId": "AIDIODR4TAW7CSEXAMPLE", - "RoleName": "Test-Role" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command gets information about the role named Test-Role.", - "id": "5b7d03a6-340c-472d-aa77-56425950d8b0", - "title": "To get information about an IAM role" - } - ], - "GetUser": [ - { - "input": { - "UserName": "Bob" - }, - "output": { - "User": { - "Arn": "arn:aws:iam::123456789012:user/Bob", - "CreateDate": "2012-09-21T23:03:13Z", - "Path": "/", - "UserId": "AKIAIOSFODNN7EXAMPLE", - "UserName": "Bob" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command gets information about the IAM user named Bob.", - "id": "ede000a1-9e4c-40db-bd0a-d4f95e41a6ab", - "title": "To get information about an IAM user" - } - ], - "ListAccessKeys": [ - { - "input": { - "UserName": "Alice" - }, - "output": { - "AccessKeyMetadata": [ - { - "AccessKeyId": "AKIA111111111EXAMPLE", - "CreateDate": "2016-12-01T22:19:58Z", - "Status": "Active", - "UserName": "Alice" - }, - { - "AccessKeyId": "AKIA222222222EXAMPLE", - "CreateDate": "2016-12-01T22:20:01Z", - "Status": "Active", - "UserName": "Alice" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command lists the access keys IDs for the IAM user named Alice.", - "id": "15571463-ebea-411a-a021-1c76bd2a3625", - "title": "To list the access key IDs for an IAM user" - } - ], - "ListAccountAliases": [ - { - "input": { - }, - "output": { - "AccountAliases": [ - "exmaple-corporation" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command lists the aliases for the current account.", - "id": "e27b457a-16f9-4e05-a006-3df7b3472741", - "title": "To list account aliases" - } - ], - "ListGroupPolicies": [ - { - "input": { - "GroupName": "Admins" - }, - "output": { - "PolicyNames": [ - "AdminRoot", - "KeyPolicy" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command lists the names of in-line policies that are embedded in the IAM group named Admins.", - "id": "02de5095-2410-4d3a-ac1b-cc40234af68f", - "title": "To list the in-line policies for an IAM group" - } - ], - "ListGroups": [ - { - "input": { - }, - "output": { - "Groups": [ - { - "Arn": "arn:aws:iam::123456789012:group/Admins", - "CreateDate": "2016-12-15T21:40:08.121Z", - "GroupId": "AGPA1111111111EXAMPLE", - "GroupName": "Admins", - "Path": "/division_abc/subdivision_xyz/" - }, - { - "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/engineering/Test", - "CreateDate": "2016-11-30T14:10:01.156Z", - "GroupId": "AGP22222222222EXAMPLE", - "GroupName": "Test", - "Path": "/division_abc/subdivision_xyz/product_1234/engineering/" - }, - { - "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/Managers", - "CreateDate": "2016-06-12T20:14:52.032Z", - "GroupId": "AGPI3333333333EXAMPLE", - "GroupName": "Managers", - "Path": "/division_abc/subdivision_xyz/product_1234/" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command lists the IAM groups in the current account:", - "id": "b3ab1380-2a21-42fb-8e85-503f65512c66", - "title": "To list the IAM groups for the current account" - } - ], - "ListGroupsForUser": [ - { - "input": { - "UserName": "Bob" - }, - "output": { - "Groups": [ - { - "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/engineering/Test", - "CreateDate": "2016-11-30T14:10:01.156Z", - "GroupId": "AGP2111111111EXAMPLE", - "GroupName": "Test", - "Path": "/division_abc/subdivision_xyz/product_1234/engineering/" - }, - { - "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/Managers", - "CreateDate": "2016-06-12T20:14:52.032Z", - "GroupId": "AGPI222222222SEXAMPLE", - "GroupName": "Managers", - "Path": "/division_abc/subdivision_xyz/product_1234/" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command displays the groups that the IAM user named Bob belongs to.", - "id": "278ec2ee-fc28-4136-83fb-433af0ae46a2", - "title": "To list the groups that an IAM user belongs to" - } - ], - "ListSigningCertificates": [ - { - "input": { - "UserName": "Bob" - }, - "output": { - "Certificates": [ - { - "CertificateBody": "-----BEGIN CERTIFICATE----------END CERTIFICATE-----", - "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE", - "Status": "Active", - "UploadDate": "2013-06-06T21:40:08Z", - "UserName": "Bob" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command lists the signing certificates for the IAM user named Bob.", - "id": "b4c10256-4fc9-457e-b3fd-4a110d4d73dc", - "title": "To list the signing certificates for an IAM user" - } - ], - "ListUsers": [ - { - "input": { - }, - "output": { - "Users": [ - { - "Arn": "arn:aws:iam::123456789012:user/division_abc/subdivision_xyz/engineering/Juan", - "CreateDate": "2012-09-05T19:38:48Z", - "PasswordLastUsed": "2016-09-08T21:47:36Z", - "Path": "/division_abc/subdivision_xyz/engineering/", - "UserId": "AID2MAB8DPLSRHEXAMPLE", - "UserName": "Juan" - }, - { - "Arn": "arn:aws:iam::123456789012:user/division_abc/subdivision_xyz/engineering/Anika", - "CreateDate": "2014-04-09T15:43:45Z", - "PasswordLastUsed": "2016-09-24T16:18:07Z", - "Path": "/division_abc/subdivision_xyz/engineering/", - "UserId": "AIDIODR4TAW7CSEXAMPLE", - "UserName": "Anika" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command lists the IAM users in the current account.", - "id": "9edfbd73-03d8-4d8a-9a79-76c85e8c8298", - "title": "To list IAM users" - } - ], - "ListVirtualMFADevices": [ - { - "input": { - }, - "output": { - "VirtualMFADevices": [ - { - "SerialNumber": "arn:aws:iam::123456789012:mfa/ExampleMFADevice" - }, - { - "SerialNumber": "arn:aws:iam::123456789012:mfa/Juan" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command lists the virtual MFA devices that have been configured for the current account.", - "id": "54f9ac18-5100-4070-bec4-fe5f612710d5", - "title": "To list virtual MFA devices" - } - ], - "PutGroupPolicy": [ - { - "input": { - "GroupName": "Admins", - "PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":{\"Effect\":\"Allow\",\"Action\":\"*\",\"Resource\":\"*\"}}", - "PolicyName": "AllPerms" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command adds a policy named AllPerms to the IAM group named Admins.", - "id": "4bc17418-758f-4d0f-ab0c-4d00265fec2e", - "title": "To add a policy to a group" - } - ], - "PutRolePolicy": [ - { - "input": { - "PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":{\"Effect\":\"Allow\",\"Action\":\"s3:*\",\"Resource\":\"*\"}}", - "PolicyName": "S3AccessPolicy", - "RoleName": "S3Access" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command adds a permissions policy to the role named Test-Role.", - "id": "de62fd00-46c7-4601-9e0d-71d5fbb11ecb", - "title": "To attach a permissions policy to an IAM role" - } - ], - "PutUserPolicy": [ - { - "input": { - "PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":{\"Effect\":\"Allow\",\"Action\":\"*\",\"Resource\":\"*\"}}", - "PolicyName": "AllAccessPolicy", - "UserName": "Bob" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command attaches a policy to the IAM user named Bob.", - "id": "2551ffc6-3576-4d39-823f-30b60bffc2c7", - "title": "To attach a policy to an IAM user" - } - ], - "RemoveRoleFromInstanceProfile": [ - { - "input": { - "InstanceProfileName": "ExampleInstanceProfile", - "RoleName": "Test-Role" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command removes the role named Test-Role from the instance profile named ExampleInstanceProfile.", - "id": "6d9f46f1-9f4a-4873-b403-51a85c5c627c", - "title": "To remove a role from an instance profile" - } - ], - "RemoveUserFromGroup": [ - { - "input": { - "GroupName": "Admins", - "UserName": "Bob" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command removes the user named Bob from the IAM group named Admins.", - "id": "fb54d5b4-0caf-41d8-af0e-10a84413f174", - "title": "To remove a user from an IAM group" - } - ], - "UpdateAccessKey": [ - { - "input": { - "AccessKeyId": "AKIAIOSFODNN7EXAMPLE", - "Status": "Inactive", - "UserName": "Bob" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command deactivates the specified access key (access key ID and secret access key) for the IAM user named Bob.", - "id": "02b556fd-e673-49b7-ab6b-f2f9035967d0", - "title": "To activate or deactivate an access key for an IAM user" - } - ], - "UpdateAccountPasswordPolicy": [ - { - "input": { - "MinimumPasswordLength": 8, - "RequireNumbers": true - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command sets the password policy to require a minimum length of eight characters and to require one or more numbers in the password:", - "id": "c263a1af-37dc-4423-8dba-9790284ef5e0", - "title": "To set or change the current account password policy" - } - ], - "UpdateAssumeRolePolicy": [ - { - "input": { - "PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"Service\":[\"ec2.amazonaws.com\"]},\"Action\":[\"sts:AssumeRole\"]}]}", - "RoleName": "S3AccessForEC2Instances" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command updates the role trust policy for the role named Test-Role:", - "id": "c9150063-d953-4e99-9576-9685872006c6", - "title": "To update the trust policy for an IAM role" - } - ], - "UpdateGroup": [ - { - "input": { - "GroupName": "Test", - "NewGroupName": "Test-1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command changes the name of the IAM group Test to Test-1.", - "id": "f0cf1662-91ae-4278-a80e-7db54256ccba", - "title": "To rename an IAM group" - } - ], - "UpdateLoginProfile": [ - { - "input": { - "Password": "SomeKindOfPassword123!@#", - "UserName": "Bob" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command creates or changes the password for the IAM user named Bob.", - "id": "036d9498-ecdb-4ed6-a8d8-366c383d1487", - "title": "To change the password for an IAM user" - } - ], - "UpdateSigningCertificate": [ - { - "input": { - "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE", - "Status": "Inactive", - "UserName": "Bob" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command changes the status of a signing certificate for a user named Bob to Inactive.", - "id": "829aee7b-efc5-4b3b-84a5-7f899b38018d", - "title": "To change the active status of a signing certificate for an IAM user" - } - ], - "UpdateUser": [ - { - "input": { - "NewUserName": "Robert", - "UserName": "Bob" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command changes the name of the IAM user Bob to Robert. It does not change the user's path.", - "id": "275d53ed-347a-44e6-b7d0-a96276154352", - "title": "To change an IAM user's name" - } - ], - "UploadServerCertificate": [ - { - "input": { - "CertificateBody": "-----BEGIN CERTIFICATE----------END CERTIFICATE-----", - "Path": "/company/servercerts/", - "PrivateKey": "-----BEGIN DSA PRIVATE KEY----------END DSA PRIVATE KEY-----", - "ServerCertificateName": "ProdServerCert" - }, - "output": { - "ServerCertificateMetadata": { - "Arn": "arn:aws:iam::123456789012:server-certificate/company/servercerts/ProdServerCert", - "Expiration": "2012-05-08T01:02:03.004Z", - "Path": "/company/servercerts/", - "ServerCertificateId": "ASCA1111111111EXAMPLE", - "ServerCertificateName": "ProdServerCert", - "UploadDate": "2010-05-08T01:02:03.004Z" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following upload-server-certificate command uploads a server certificate to your AWS account:", - "id": "06eab6d1-ebf2-4bd9-839d-f7508b9a38b6", - "title": "To upload a server certificate to your AWS account" - } - ], - "UploadSigningCertificate": [ - { - "input": { - "CertificateBody": "-----BEGIN CERTIFICATE----------END CERTIFICATE-----", - "UserName": "Bob" - }, - "output": { - "Certificate": { - "CertificateBody": "-----BEGIN CERTIFICATE----------END CERTIFICATE-----", - "CertificateId": "ID123456789012345EXAMPLE", - "Status": "Active", - "UploadDate": "2015-06-06T21:40:08.121Z", - "UserName": "Bob" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following command uploads a signing certificate for the IAM user named Bob.", - "id": "e67489b6-7b73-4e30-9ed3-9a9e0231e458", - "title": "To upload a signing certificate for an IAM user" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/iam-2010-05-08.min.json b/src/node_modules/aws-sdk/apis/iam-2010-05-08.min.json deleted file mode 100644 index cdcab0d..0000000 --- a/src/node_modules/aws-sdk/apis/iam-2010-05-08.min.json +++ /dev/null @@ -1,3125 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2010-05-08", - "endpointPrefix": "iam", - "globalEndpoint": "iam.amazonaws.com", - "protocol": "query", - "serviceAbbreviation": "IAM", - "serviceFullName": "AWS Identity and Access Management", - "signatureVersion": "v4", - "uid": "iam-2010-05-08", - "xmlNamespace": "https://iam.amazonaws.com/doc/2010-05-08/" - }, - "operations": { - "AddClientIDToOpenIDConnectProvider": { - "input": { - "type": "structure", - "required": [ - "OpenIDConnectProviderArn", - "ClientID" - ], - "members": { - "OpenIDConnectProviderArn": {}, - "ClientID": {} - } - } - }, - "AddRoleToInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "InstanceProfileName", - "RoleName" - ], - "members": { - "InstanceProfileName": {}, - "RoleName": {} - } - } - }, - "AddUserToGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "UserName" - ], - "members": { - "GroupName": {}, - "UserName": {} - } - } - }, - "AttachGroupPolicy": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "PolicyArn" - ], - "members": { - "GroupName": {}, - "PolicyArn": {} - } - } - }, - "AttachRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyArn" - ], - "members": { - "RoleName": {}, - "PolicyArn": {} - } - } - }, - "AttachUserPolicy": { - "input": { - "type": "structure", - "required": [ - "UserName", - "PolicyArn" - ], - "members": { - "UserName": {}, - "PolicyArn": {} - } - } - }, - "ChangePassword": { - "input": { - "type": "structure", - "required": [ - "OldPassword", - "NewPassword" - ], - "members": { - "OldPassword": { - "shape": "Sf" - }, - "NewPassword": { - "shape": "Sf" - } - } - } - }, - "CreateAccessKey": { - "input": { - "type": "structure", - "members": { - "UserName": {} - } - }, - "output": { - "resultWrapper": "CreateAccessKeyResult", - "type": "structure", - "required": [ - "AccessKey" - ], - "members": { - "AccessKey": { - "type": "structure", - "required": [ - "UserName", - "AccessKeyId", - "Status", - "SecretAccessKey" - ], - "members": { - "UserName": {}, - "AccessKeyId": {}, - "Status": {}, - "SecretAccessKey": { - "type": "string", - "sensitive": true - }, - "CreateDate": { - "type": "timestamp" - } - } - } - } - } - }, - "CreateAccountAlias": { - "input": { - "type": "structure", - "required": [ - "AccountAlias" - ], - "members": { - "AccountAlias": {} - } - } - }, - "CreateGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "Path": {}, - "GroupName": {} - } - }, - "output": { - "resultWrapper": "CreateGroupResult", - "type": "structure", - "required": [ - "Group" - ], - "members": { - "Group": { - "shape": "Ss" - } - } - } - }, - "CreateInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "InstanceProfileName" - ], - "members": { - "InstanceProfileName": {}, - "Path": {} - } - }, - "output": { - "resultWrapper": "CreateInstanceProfileResult", - "type": "structure", - "required": [ - "InstanceProfile" - ], - "members": { - "InstanceProfile": { - "shape": "Sw" - } - } - } - }, - "CreateLoginProfile": { - "input": { - "type": "structure", - "required": [ - "UserName", - "Password" - ], - "members": { - "UserName": {}, - "Password": { - "shape": "Sf" - }, - "PasswordResetRequired": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateLoginProfileResult", - "type": "structure", - "required": [ - "LoginProfile" - ], - "members": { - "LoginProfile": { - "shape": "S14" - } - } - } - }, - "CreateOpenIDConnectProvider": { - "input": { - "type": "structure", - "required": [ - "Url", - "ThumbprintList" - ], - "members": { - "Url": {}, - "ClientIDList": { - "shape": "S17" - }, - "ThumbprintList": { - "shape": "S18" - } - } - }, - "output": { - "resultWrapper": "CreateOpenIDConnectProviderResult", - "type": "structure", - "members": { - "OpenIDConnectProviderArn": {} - } - } - }, - "CreatePolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyName", - "PolicyDocument" - ], - "members": { - "PolicyName": {}, - "Path": {}, - "PolicyDocument": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreatePolicyResult", - "type": "structure", - "members": { - "Policy": { - "shape": "S1g" - } - } - } - }, - "CreatePolicyVersion": { - "input": { - "type": "structure", - "required": [ - "PolicyArn", - "PolicyDocument" - ], - "members": { - "PolicyArn": {}, - "PolicyDocument": {}, - "SetAsDefault": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreatePolicyVersionResult", - "type": "structure", - "members": { - "PolicyVersion": { - "shape": "S1l" - } - } - } - }, - "CreateRole": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "AssumeRolePolicyDocument" - ], - "members": { - "Path": {}, - "RoleName": {}, - "AssumeRolePolicyDocument": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreateRoleResult", - "type": "structure", - "required": [ - "Role" - ], - "members": { - "Role": { - "shape": "Sy" - } - } - } - }, - "CreateSAMLProvider": { - "input": { - "type": "structure", - "required": [ - "SAMLMetadataDocument", - "Name" - ], - "members": { - "SAMLMetadataDocument": {}, - "Name": {} - } - }, - "output": { - "resultWrapper": "CreateSAMLProviderResult", - "type": "structure", - "members": { - "SAMLProviderArn": {} - } - } - }, - "CreateServiceLinkedRole": { - "input": { - "type": "structure", - "required": [ - "AWSServiceName" - ], - "members": { - "AWSServiceName": {}, - "Description": {}, - "CustomSuffix": {} - } - }, - "output": { - "resultWrapper": "CreateServiceLinkedRoleResult", - "type": "structure", - "members": { - "Role": { - "shape": "Sy" - } - } - } - }, - "CreateServiceSpecificCredential": { - "input": { - "type": "structure", - "required": [ - "UserName", - "ServiceName" - ], - "members": { - "UserName": {}, - "ServiceName": {} - } - }, - "output": { - "resultWrapper": "CreateServiceSpecificCredentialResult", - "type": "structure", - "members": { - "ServiceSpecificCredential": { - "shape": "S1y" - } - } - } - }, - "CreateUser": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "Path": {}, - "UserName": {} - } - }, - "output": { - "resultWrapper": "CreateUserResult", - "type": "structure", - "members": { - "User": { - "shape": "S24" - } - } - } - }, - "CreateVirtualMFADevice": { - "input": { - "type": "structure", - "required": [ - "VirtualMFADeviceName" - ], - "members": { - "Path": {}, - "VirtualMFADeviceName": {} - } - }, - "output": { - "resultWrapper": "CreateVirtualMFADeviceResult", - "type": "structure", - "required": [ - "VirtualMFADevice" - ], - "members": { - "VirtualMFADevice": { - "shape": "S28" - } - } - } - }, - "DeactivateMFADevice": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SerialNumber" - ], - "members": { - "UserName": {}, - "SerialNumber": {} - } - } - }, - "DeleteAccessKey": { - "input": { - "type": "structure", - "required": [ - "AccessKeyId" - ], - "members": { - "UserName": {}, - "AccessKeyId": {} - } - } - }, - "DeleteAccountAlias": { - "input": { - "type": "structure", - "required": [ - "AccountAlias" - ], - "members": { - "AccountAlias": {} - } - } - }, - "DeleteAccountPasswordPolicy": {}, - "DeleteGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "GroupName": {} - } - } - }, - "DeleteGroupPolicy": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "PolicyName" - ], - "members": { - "GroupName": {}, - "PolicyName": {} - } - } - }, - "DeleteInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "InstanceProfileName" - ], - "members": { - "InstanceProfileName": {} - } - } - }, - "DeleteLoginProfile": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {} - } - } - }, - "DeleteOpenIDConnectProvider": { - "input": { - "type": "structure", - "required": [ - "OpenIDConnectProviderArn" - ], - "members": { - "OpenIDConnectProviderArn": {} - } - } - }, - "DeletePolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyArn" - ], - "members": { - "PolicyArn": {} - } - } - }, - "DeletePolicyVersion": { - "input": { - "type": "structure", - "required": [ - "PolicyArn", - "VersionId" - ], - "members": { - "PolicyArn": {}, - "VersionId": {} - } - } - }, - "DeleteRole": { - "input": { - "type": "structure", - "required": [ - "RoleName" - ], - "members": { - "RoleName": {} - } - } - }, - "DeleteRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyName" - ], - "members": { - "RoleName": {}, - "PolicyName": {} - } - } - }, - "DeleteSAMLProvider": { - "input": { - "type": "structure", - "required": [ - "SAMLProviderArn" - ], - "members": { - "SAMLProviderArn": {} - } - } - }, - "DeleteSSHPublicKey": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyId" - ], - "members": { - "UserName": {}, - "SSHPublicKeyId": {} - } - } - }, - "DeleteServerCertificate": { - "input": { - "type": "structure", - "required": [ - "ServerCertificateName" - ], - "members": { - "ServerCertificateName": {} - } - } - }, - "DeleteServiceSpecificCredential": { - "input": { - "type": "structure", - "required": [ - "ServiceSpecificCredentialId" - ], - "members": { - "UserName": {}, - "ServiceSpecificCredentialId": {} - } - } - }, - "DeleteSigningCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateId" - ], - "members": { - "UserName": {}, - "CertificateId": {} - } - } - }, - "DeleteUser": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {} - } - } - }, - "DeleteUserPolicy": { - "input": { - "type": "structure", - "required": [ - "UserName", - "PolicyName" - ], - "members": { - "UserName": {}, - "PolicyName": {} - } - } - }, - "DeleteVirtualMFADevice": { - "input": { - "type": "structure", - "required": [ - "SerialNumber" - ], - "members": { - "SerialNumber": {} - } - } - }, - "DetachGroupPolicy": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "PolicyArn" - ], - "members": { - "GroupName": {}, - "PolicyArn": {} - } - } - }, - "DetachRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyArn" - ], - "members": { - "RoleName": {}, - "PolicyArn": {} - } - } - }, - "DetachUserPolicy": { - "input": { - "type": "structure", - "required": [ - "UserName", - "PolicyArn" - ], - "members": { - "UserName": {}, - "PolicyArn": {} - } - } - }, - "EnableMFADevice": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SerialNumber", - "AuthenticationCode1", - "AuthenticationCode2" - ], - "members": { - "UserName": {}, - "SerialNumber": {}, - "AuthenticationCode1": {}, - "AuthenticationCode2": {} - } - } - }, - "GenerateCredentialReport": { - "output": { - "resultWrapper": "GenerateCredentialReportResult", - "type": "structure", - "members": { - "State": {}, - "Description": {} - } - } - }, - "GetAccessKeyLastUsed": { - "input": { - "type": "structure", - "required": [ - "AccessKeyId" - ], - "members": { - "AccessKeyId": {} - } - }, - "output": { - "resultWrapper": "GetAccessKeyLastUsedResult", - "type": "structure", - "members": { - "UserName": {}, - "AccessKeyLastUsed": { - "type": "structure", - "required": [ - "LastUsedDate", - "ServiceName", - "Region" - ], - "members": { - "LastUsedDate": { - "type": "timestamp" - }, - "ServiceName": {}, - "Region": {} - } - } - } - } - }, - "GetAccountAuthorizationDetails": { - "input": { - "type": "structure", - "members": { - "Filter": { - "type": "list", - "member": {} - }, - "MaxItems": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "GetAccountAuthorizationDetailsResult", - "type": "structure", - "members": { - "UserDetailList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Path": {}, - "UserName": {}, - "UserId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "UserPolicyList": { - "shape": "S3i" - }, - "GroupList": { - "type": "list", - "member": {} - }, - "AttachedManagedPolicies": { - "shape": "S3l" - } - } - } - }, - "GroupDetailList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Path": {}, - "GroupName": {}, - "GroupId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "GroupPolicyList": { - "shape": "S3i" - }, - "AttachedManagedPolicies": { - "shape": "S3l" - } - } - } - }, - "RoleDetailList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Path": {}, - "RoleName": {}, - "RoleId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "AssumeRolePolicyDocument": {}, - "InstanceProfileList": { - "shape": "S3r" - }, - "RolePolicyList": { - "shape": "S3i" - }, - "AttachedManagedPolicies": { - "shape": "S3l" - } - } - } - }, - "Policies": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyName": {}, - "PolicyId": {}, - "Arn": {}, - "Path": {}, - "DefaultVersionId": {}, - "AttachmentCount": { - "type": "integer" - }, - "IsAttachable": { - "type": "boolean" - }, - "Description": {}, - "CreateDate": { - "type": "timestamp" - }, - "UpdateDate": { - "type": "timestamp" - }, - "PolicyVersionList": { - "shape": "S3u" - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "GetAccountPasswordPolicy": { - "output": { - "resultWrapper": "GetAccountPasswordPolicyResult", - "type": "structure", - "required": [ - "PasswordPolicy" - ], - "members": { - "PasswordPolicy": { - "type": "structure", - "members": { - "MinimumPasswordLength": { - "type": "integer" - }, - "RequireSymbols": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireUppercaseCharacters": { - "type": "boolean" - }, - "RequireLowercaseCharacters": { - "type": "boolean" - }, - "AllowUsersToChangePassword": { - "type": "boolean" - }, - "ExpirePasswords": { - "type": "boolean" - }, - "MaxPasswordAge": { - "type": "integer" - }, - "PasswordReusePrevention": { - "type": "integer" - }, - "HardExpiry": { - "type": "boolean" - } - } - } - } - } - }, - "GetAccountSummary": { - "output": { - "resultWrapper": "GetAccountSummaryResult", - "type": "structure", - "members": { - "SummaryMap": { - "type": "map", - "key": {}, - "value": { - "type": "integer" - } - } - } - } - }, - "GetContextKeysForCustomPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyInputList" - ], - "members": { - "PolicyInputList": { - "shape": "S46" - } - } - }, - "output": { - "shape": "S47", - "resultWrapper": "GetContextKeysForCustomPolicyResult" - } - }, - "GetContextKeysForPrincipalPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicySourceArn" - ], - "members": { - "PolicySourceArn": {}, - "PolicyInputList": { - "shape": "S46" - } - } - }, - "output": { - "shape": "S47", - "resultWrapper": "GetContextKeysForPrincipalPolicyResult" - } - }, - "GetCredentialReport": { - "output": { - "resultWrapper": "GetCredentialReportResult", - "type": "structure", - "members": { - "Content": { - "type": "blob" - }, - "ReportFormat": {}, - "GeneratedTime": { - "type": "timestamp" - } - } - } - }, - "GetGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "GroupName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "GetGroupResult", - "type": "structure", - "required": [ - "Group", - "Users" - ], - "members": { - "Group": { - "shape": "Ss" - }, - "Users": { - "shape": "S4g" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "GetGroupPolicy": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "PolicyName" - ], - "members": { - "GroupName": {}, - "PolicyName": {} - } - }, - "output": { - "resultWrapper": "GetGroupPolicyResult", - "type": "structure", - "required": [ - "GroupName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "GroupName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "GetInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "InstanceProfileName" - ], - "members": { - "InstanceProfileName": {} - } - }, - "output": { - "resultWrapper": "GetInstanceProfileResult", - "type": "structure", - "required": [ - "InstanceProfile" - ], - "members": { - "InstanceProfile": { - "shape": "Sw" - } - } - } - }, - "GetLoginProfile": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {} - } - }, - "output": { - "resultWrapper": "GetLoginProfileResult", - "type": "structure", - "required": [ - "LoginProfile" - ], - "members": { - "LoginProfile": { - "shape": "S14" - } - } - } - }, - "GetOpenIDConnectProvider": { - "input": { - "type": "structure", - "required": [ - "OpenIDConnectProviderArn" - ], - "members": { - "OpenIDConnectProviderArn": {} - } - }, - "output": { - "resultWrapper": "GetOpenIDConnectProviderResult", - "type": "structure", - "members": { - "Url": {}, - "ClientIDList": { - "shape": "S17" - }, - "ThumbprintList": { - "shape": "S18" - }, - "CreateDate": { - "type": "timestamp" - } - } - } - }, - "GetPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyArn" - ], - "members": { - "PolicyArn": {} - } - }, - "output": { - "resultWrapper": "GetPolicyResult", - "type": "structure", - "members": { - "Policy": { - "shape": "S1g" - } - } - } - }, - "GetPolicyVersion": { - "input": { - "type": "structure", - "required": [ - "PolicyArn", - "VersionId" - ], - "members": { - "PolicyArn": {}, - "VersionId": {} - } - }, - "output": { - "resultWrapper": "GetPolicyVersionResult", - "type": "structure", - "members": { - "PolicyVersion": { - "shape": "S1l" - } - } - } - }, - "GetRole": { - "input": { - "type": "structure", - "required": [ - "RoleName" - ], - "members": { - "RoleName": {} - } - }, - "output": { - "resultWrapper": "GetRoleResult", - "type": "structure", - "required": [ - "Role" - ], - "members": { - "Role": { - "shape": "Sy" - } - } - } - }, - "GetRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyName" - ], - "members": { - "RoleName": {}, - "PolicyName": {} - } - }, - "output": { - "resultWrapper": "GetRolePolicyResult", - "type": "structure", - "required": [ - "RoleName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "RoleName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "GetSAMLProvider": { - "input": { - "type": "structure", - "required": [ - "SAMLProviderArn" - ], - "members": { - "SAMLProviderArn": {} - } - }, - "output": { - "resultWrapper": "GetSAMLProviderResult", - "type": "structure", - "members": { - "SAMLMetadataDocument": {}, - "CreateDate": { - "type": "timestamp" - }, - "ValidUntil": { - "type": "timestamp" - } - } - } - }, - "GetSSHPublicKey": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyId", - "Encoding" - ], - "members": { - "UserName": {}, - "SSHPublicKeyId": {}, - "Encoding": {} - } - }, - "output": { - "resultWrapper": "GetSSHPublicKeyResult", - "type": "structure", - "members": { - "SSHPublicKey": { - "shape": "S52" - } - } - } - }, - "GetServerCertificate": { - "input": { - "type": "structure", - "required": [ - "ServerCertificateName" - ], - "members": { - "ServerCertificateName": {} - } - }, - "output": { - "resultWrapper": "GetServerCertificateResult", - "type": "structure", - "required": [ - "ServerCertificate" - ], - "members": { - "ServerCertificate": { - "type": "structure", - "required": [ - "ServerCertificateMetadata", - "CertificateBody" - ], - "members": { - "ServerCertificateMetadata": { - "shape": "S58" - }, - "CertificateBody": {}, - "CertificateChain": {} - } - } - } - } - }, - "GetUser": { - "input": { - "type": "structure", - "members": { - "UserName": {} - } - }, - "output": { - "resultWrapper": "GetUserResult", - "type": "structure", - "required": [ - "User" - ], - "members": { - "User": { - "shape": "S24" - } - } - } - }, - "GetUserPolicy": { - "input": { - "type": "structure", - "required": [ - "UserName", - "PolicyName" - ], - "members": { - "UserName": {}, - "PolicyName": {} - } - }, - "output": { - "resultWrapper": "GetUserPolicyResult", - "type": "structure", - "required": [ - "UserName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "UserName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "ListAccessKeys": { - "input": { - "type": "structure", - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListAccessKeysResult", - "type": "structure", - "required": [ - "AccessKeyMetadata" - ], - "members": { - "AccessKeyMetadata": { - "type": "list", - "member": { - "type": "structure", - "members": { - "UserName": {}, - "AccessKeyId": {}, - "Status": {}, - "CreateDate": { - "type": "timestamp" - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListAccountAliases": { - "input": { - "type": "structure", - "members": { - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListAccountAliasesResult", - "type": "structure", - "required": [ - "AccountAliases" - ], - "members": { - "AccountAliases": { - "type": "list", - "member": {} - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListAttachedGroupPolicies": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "GroupName": {}, - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListAttachedGroupPoliciesResult", - "type": "structure", - "members": { - "AttachedPolicies": { - "shape": "S3l" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListAttachedRolePolicies": { - "input": { - "type": "structure", - "required": [ - "RoleName" - ], - "members": { - "RoleName": {}, - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListAttachedRolePoliciesResult", - "type": "structure", - "members": { - "AttachedPolicies": { - "shape": "S3l" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListAttachedUserPolicies": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {}, - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListAttachedUserPoliciesResult", - "type": "structure", - "members": { - "AttachedPolicies": { - "shape": "S3l" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListEntitiesForPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyArn" - ], - "members": { - "PolicyArn": {}, - "EntityFilter": {}, - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListEntitiesForPolicyResult", - "type": "structure", - "members": { - "PolicyGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "GroupName": {}, - "GroupId": {} - } - } - }, - "PolicyUsers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "UserName": {}, - "UserId": {} - } - } - }, - "PolicyRoles": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RoleName": {}, - "RoleId": {} - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListGroupPolicies": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "GroupName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListGroupPoliciesResult", - "type": "structure", - "required": [ - "PolicyNames" - ], - "members": { - "PolicyNames": { - "shape": "S62" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListGroups": { - "input": { - "type": "structure", - "members": { - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListGroupsResult", - "type": "structure", - "required": [ - "Groups" - ], - "members": { - "Groups": { - "shape": "S66" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListGroupsForUser": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListGroupsForUserResult", - "type": "structure", - "required": [ - "Groups" - ], - "members": { - "Groups": { - "shape": "S66" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListInstanceProfiles": { - "input": { - "type": "structure", - "members": { - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListInstanceProfilesResult", - "type": "structure", - "required": [ - "InstanceProfiles" - ], - "members": { - "InstanceProfiles": { - "shape": "S3r" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListInstanceProfilesForRole": { - "input": { - "type": "structure", - "required": [ - "RoleName" - ], - "members": { - "RoleName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListInstanceProfilesForRoleResult", - "type": "structure", - "required": [ - "InstanceProfiles" - ], - "members": { - "InstanceProfiles": { - "shape": "S3r" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListMFADevices": { - "input": { - "type": "structure", - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListMFADevicesResult", - "type": "structure", - "required": [ - "MFADevices" - ], - "members": { - "MFADevices": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "UserName", - "SerialNumber", - "EnableDate" - ], - "members": { - "UserName": {}, - "SerialNumber": {}, - "EnableDate": { - "type": "timestamp" - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListOpenIDConnectProviders": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "ListOpenIDConnectProvidersResult", - "type": "structure", - "members": { - "OpenIDConnectProviderList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Arn": {} - } - } - } - } - } - }, - "ListPolicies": { - "input": { - "type": "structure", - "members": { - "Scope": {}, - "OnlyAttached": { - "type": "boolean" - }, - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListPoliciesResult", - "type": "structure", - "members": { - "Policies": { - "type": "list", - "member": { - "shape": "S1g" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListPolicyVersions": { - "input": { - "type": "structure", - "required": [ - "PolicyArn" - ], - "members": { - "PolicyArn": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListPolicyVersionsResult", - "type": "structure", - "members": { - "Versions": { - "shape": "S3u" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListRolePolicies": { - "input": { - "type": "structure", - "required": [ - "RoleName" - ], - "members": { - "RoleName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListRolePoliciesResult", - "type": "structure", - "required": [ - "PolicyNames" - ], - "members": { - "PolicyNames": { - "shape": "S62" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListRoles": { - "input": { - "type": "structure", - "members": { - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListRolesResult", - "type": "structure", - "required": [ - "Roles" - ], - "members": { - "Roles": { - "shape": "Sx" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListSAMLProviders": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "ListSAMLProvidersResult", - "type": "structure", - "members": { - "SAMLProviderList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Arn": {}, - "ValidUntil": { - "type": "timestamp" - }, - "CreateDate": { - "type": "timestamp" - } - } - } - } - } - } - }, - "ListSSHPublicKeys": { - "input": { - "type": "structure", - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListSSHPublicKeysResult", - "type": "structure", - "members": { - "SSHPublicKeys": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyId", - "Status", - "UploadDate" - ], - "members": { - "UserName": {}, - "SSHPublicKeyId": {}, - "Status": {}, - "UploadDate": { - "type": "timestamp" - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListServerCertificates": { - "input": { - "type": "structure", - "members": { - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListServerCertificatesResult", - "type": "structure", - "required": [ - "ServerCertificateMetadataList" - ], - "members": { - "ServerCertificateMetadataList": { - "type": "list", - "member": { - "shape": "S58" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListServiceSpecificCredentials": { - "input": { - "type": "structure", - "members": { - "UserName": {}, - "ServiceName": {} - } - }, - "output": { - "resultWrapper": "ListServiceSpecificCredentialsResult", - "type": "structure", - "members": { - "ServiceSpecificCredentials": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "UserName", - "Status", - "ServiceUserName", - "CreateDate", - "ServiceSpecificCredentialId", - "ServiceName" - ], - "members": { - "UserName": {}, - "Status": {}, - "ServiceUserName": {}, - "CreateDate": { - "type": "timestamp" - }, - "ServiceSpecificCredentialId": {}, - "ServiceName": {} - } - } - } - } - } - }, - "ListSigningCertificates": { - "input": { - "type": "structure", - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListSigningCertificatesResult", - "type": "structure", - "required": [ - "Certificates" - ], - "members": { - "Certificates": { - "type": "list", - "member": { - "shape": "S7d" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListUserPolicies": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListUserPoliciesResult", - "type": "structure", - "required": [ - "PolicyNames" - ], - "members": { - "PolicyNames": { - "shape": "S62" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListUsers": { - "input": { - "type": "structure", - "members": { - "PathPrefix": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListUsersResult", - "type": "structure", - "required": [ - "Users" - ], - "members": { - "Users": { - "shape": "S4g" - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "ListVirtualMFADevices": { - "input": { - "type": "structure", - "members": { - "AssignmentStatus": {}, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ListVirtualMFADevicesResult", - "type": "structure", - "required": [ - "VirtualMFADevices" - ], - "members": { - "VirtualMFADevices": { - "type": "list", - "member": { - "shape": "S28" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - } - }, - "PutGroupPolicy": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "GroupName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "PutRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "RoleName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "PutUserPolicy": { - "input": { - "type": "structure", - "required": [ - "UserName", - "PolicyName", - "PolicyDocument" - ], - "members": { - "UserName": {}, - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "RemoveClientIDFromOpenIDConnectProvider": { - "input": { - "type": "structure", - "required": [ - "OpenIDConnectProviderArn", - "ClientID" - ], - "members": { - "OpenIDConnectProviderArn": {}, - "ClientID": {} - } - } - }, - "RemoveRoleFromInstanceProfile": { - "input": { - "type": "structure", - "required": [ - "InstanceProfileName", - "RoleName" - ], - "members": { - "InstanceProfileName": {}, - "RoleName": {} - } - } - }, - "RemoveUserFromGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName", - "UserName" - ], - "members": { - "GroupName": {}, - "UserName": {} - } - } - }, - "ResetServiceSpecificCredential": { - "input": { - "type": "structure", - "required": [ - "ServiceSpecificCredentialId" - ], - "members": { - "UserName": {}, - "ServiceSpecificCredentialId": {} - } - }, - "output": { - "resultWrapper": "ResetServiceSpecificCredentialResult", - "type": "structure", - "members": { - "ServiceSpecificCredential": { - "shape": "S1y" - } - } - } - }, - "ResyncMFADevice": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SerialNumber", - "AuthenticationCode1", - "AuthenticationCode2" - ], - "members": { - "UserName": {}, - "SerialNumber": {}, - "AuthenticationCode1": {}, - "AuthenticationCode2": {} - } - } - }, - "SetDefaultPolicyVersion": { - "input": { - "type": "structure", - "required": [ - "PolicyArn", - "VersionId" - ], - "members": { - "PolicyArn": {}, - "VersionId": {} - } - } - }, - "SimulateCustomPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyInputList", - "ActionNames" - ], - "members": { - "PolicyInputList": { - "shape": "S46" - }, - "ActionNames": { - "shape": "S7x" - }, - "ResourceArns": { - "shape": "S7z" - }, - "ResourcePolicy": {}, - "ResourceOwner": {}, - "CallerArn": {}, - "ContextEntries": { - "shape": "S81" - }, - "ResourceHandlingOption": {}, - "MaxItems": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "shape": "S87", - "resultWrapper": "SimulateCustomPolicyResult" - } - }, - "SimulatePrincipalPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicySourceArn", - "ActionNames" - ], - "members": { - "PolicySourceArn": {}, - "PolicyInputList": { - "shape": "S46" - }, - "ActionNames": { - "shape": "S7x" - }, - "ResourceArns": { - "shape": "S7z" - }, - "ResourcePolicy": {}, - "ResourceOwner": {}, - "CallerArn": {}, - "ContextEntries": { - "shape": "S81" - }, - "ResourceHandlingOption": {}, - "MaxItems": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "shape": "S87", - "resultWrapper": "SimulatePrincipalPolicyResult" - } - }, - "UpdateAccessKey": { - "input": { - "type": "structure", - "required": [ - "AccessKeyId", - "Status" - ], - "members": { - "UserName": {}, - "AccessKeyId": {}, - "Status": {} - } - } - }, - "UpdateAccountPasswordPolicy": { - "input": { - "type": "structure", - "members": { - "MinimumPasswordLength": { - "type": "integer" - }, - "RequireSymbols": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireUppercaseCharacters": { - "type": "boolean" - }, - "RequireLowercaseCharacters": { - "type": "boolean" - }, - "AllowUsersToChangePassword": { - "type": "boolean" - }, - "MaxPasswordAge": { - "type": "integer" - }, - "PasswordReusePrevention": { - "type": "integer" - }, - "HardExpiry": { - "type": "boolean" - } - } - } - }, - "UpdateAssumeRolePolicy": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "PolicyDocument" - ], - "members": { - "RoleName": {}, - "PolicyDocument": {} - } - } - }, - "UpdateGroup": { - "input": { - "type": "structure", - "required": [ - "GroupName" - ], - "members": { - "GroupName": {}, - "NewPath": {}, - "NewGroupName": {} - } - } - }, - "UpdateLoginProfile": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {}, - "Password": { - "shape": "Sf" - }, - "PasswordResetRequired": { - "type": "boolean" - } - } - } - }, - "UpdateOpenIDConnectProviderThumbprint": { - "input": { - "type": "structure", - "required": [ - "OpenIDConnectProviderArn", - "ThumbprintList" - ], - "members": { - "OpenIDConnectProviderArn": {}, - "ThumbprintList": { - "shape": "S18" - } - } - } - }, - "UpdateRoleDescription": { - "input": { - "type": "structure", - "required": [ - "RoleName", - "Description" - ], - "members": { - "RoleName": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "UpdateRoleDescriptionResult", - "type": "structure", - "members": { - "Role": { - "shape": "Sy" - } - } - } - }, - "UpdateSAMLProvider": { - "input": { - "type": "structure", - "required": [ - "SAMLMetadataDocument", - "SAMLProviderArn" - ], - "members": { - "SAMLMetadataDocument": {}, - "SAMLProviderArn": {} - } - }, - "output": { - "resultWrapper": "UpdateSAMLProviderResult", - "type": "structure", - "members": { - "SAMLProviderArn": {} - } - } - }, - "UpdateSSHPublicKey": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyId", - "Status" - ], - "members": { - "UserName": {}, - "SSHPublicKeyId": {}, - "Status": {} - } - } - }, - "UpdateServerCertificate": { - "input": { - "type": "structure", - "required": [ - "ServerCertificateName" - ], - "members": { - "ServerCertificateName": {}, - "NewPath": {}, - "NewServerCertificateName": {} - } - } - }, - "UpdateServiceSpecificCredential": { - "input": { - "type": "structure", - "required": [ - "ServiceSpecificCredentialId", - "Status" - ], - "members": { - "UserName": {}, - "ServiceSpecificCredentialId": {}, - "Status": {} - } - } - }, - "UpdateSigningCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateId", - "Status" - ], - "members": { - "UserName": {}, - "CertificateId": {}, - "Status": {} - } - } - }, - "UpdateUser": { - "input": { - "type": "structure", - "required": [ - "UserName" - ], - "members": { - "UserName": {}, - "NewPath": {}, - "NewUserName": {} - } - } - }, - "UploadSSHPublicKey": { - "input": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyBody" - ], - "members": { - "UserName": {}, - "SSHPublicKeyBody": {} - } - }, - "output": { - "resultWrapper": "UploadSSHPublicKeyResult", - "type": "structure", - "members": { - "SSHPublicKey": { - "shape": "S52" - } - } - } - }, - "UploadServerCertificate": { - "input": { - "type": "structure", - "required": [ - "ServerCertificateName", - "CertificateBody", - "PrivateKey" - ], - "members": { - "Path": {}, - "ServerCertificateName": {}, - "CertificateBody": {}, - "PrivateKey": { - "type": "string", - "sensitive": true - }, - "CertificateChain": {} - } - }, - "output": { - "resultWrapper": "UploadServerCertificateResult", - "type": "structure", - "members": { - "ServerCertificateMetadata": { - "shape": "S58" - } - } - } - }, - "UploadSigningCertificate": { - "input": { - "type": "structure", - "required": [ - "CertificateBody" - ], - "members": { - "UserName": {}, - "CertificateBody": {} - } - }, - "output": { - "resultWrapper": "UploadSigningCertificateResult", - "type": "structure", - "required": [ - "Certificate" - ], - "members": { - "Certificate": { - "shape": "S7d" - } - } - } - } - }, - "shapes": { - "Sf": { - "type": "string", - "sensitive": true - }, - "Ss": { - "type": "structure", - "required": [ - "Path", - "GroupName", - "GroupId", - "Arn", - "CreateDate" - ], - "members": { - "Path": {}, - "GroupName": {}, - "GroupId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - } - } - }, - "Sw": { - "type": "structure", - "required": [ - "Path", - "InstanceProfileName", - "InstanceProfileId", - "Arn", - "CreateDate", - "Roles" - ], - "members": { - "Path": {}, - "InstanceProfileName": {}, - "InstanceProfileId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "Roles": { - "shape": "Sx" - } - } - }, - "Sx": { - "type": "list", - "member": { - "shape": "Sy" - } - }, - "Sy": { - "type": "structure", - "required": [ - "Path", - "RoleName", - "RoleId", - "Arn", - "CreateDate" - ], - "members": { - "Path": {}, - "RoleName": {}, - "RoleId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "AssumeRolePolicyDocument": {}, - "Description": {} - } - }, - "S14": { - "type": "structure", - "required": [ - "UserName", - "CreateDate" - ], - "members": { - "UserName": {}, - "CreateDate": { - "type": "timestamp" - }, - "PasswordResetRequired": { - "type": "boolean" - } - } - }, - "S17": { - "type": "list", - "member": {} - }, - "S18": { - "type": "list", - "member": {} - }, - "S1g": { - "type": "structure", - "members": { - "PolicyName": {}, - "PolicyId": {}, - "Arn": {}, - "Path": {}, - "DefaultVersionId": {}, - "AttachmentCount": { - "type": "integer" - }, - "IsAttachable": { - "type": "boolean" - }, - "Description": {}, - "CreateDate": { - "type": "timestamp" - }, - "UpdateDate": { - "type": "timestamp" - } - } - }, - "S1l": { - "type": "structure", - "members": { - "Document": {}, - "VersionId": {}, - "IsDefaultVersion": { - "type": "boolean" - }, - "CreateDate": { - "type": "timestamp" - } - } - }, - "S1y": { - "type": "structure", - "required": [ - "CreateDate", - "ServiceName", - "ServiceUserName", - "ServicePassword", - "ServiceSpecificCredentialId", - "UserName", - "Status" - ], - "members": { - "CreateDate": { - "type": "timestamp" - }, - "ServiceName": {}, - "ServiceUserName": {}, - "ServicePassword": { - "type": "string", - "sensitive": true - }, - "ServiceSpecificCredentialId": {}, - "UserName": {}, - "Status": {} - } - }, - "S24": { - "type": "structure", - "required": [ - "Path", - "UserName", - "UserId", - "Arn", - "CreateDate" - ], - "members": { - "Path": {}, - "UserName": {}, - "UserId": {}, - "Arn": {}, - "CreateDate": { - "type": "timestamp" - }, - "PasswordLastUsed": { - "type": "timestamp" - } - } - }, - "S28": { - "type": "structure", - "required": [ - "SerialNumber" - ], - "members": { - "SerialNumber": {}, - "Base32StringSeed": { - "shape": "S2a" - }, - "QRCodePNG": { - "shape": "S2a" - }, - "User": { - "shape": "S24" - }, - "EnableDate": { - "type": "timestamp" - } - } - }, - "S2a": { - "type": "blob", - "sensitive": true - }, - "S3i": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyName": {}, - "PolicyDocument": {} - } - } - }, - "S3l": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PolicyName": {}, - "PolicyArn": {} - } - } - }, - "S3r": { - "type": "list", - "member": { - "shape": "Sw" - } - }, - "S3u": { - "type": "list", - "member": { - "shape": "S1l" - } - }, - "S46": { - "type": "list", - "member": {} - }, - "S47": { - "type": "structure", - "members": { - "ContextKeyNames": { - "shape": "S48" - } - } - }, - "S48": { - "type": "list", - "member": {} - }, - "S4g": { - "type": "list", - "member": { - "shape": "S24" - } - }, - "S52": { - "type": "structure", - "required": [ - "UserName", - "SSHPublicKeyId", - "Fingerprint", - "SSHPublicKeyBody", - "Status" - ], - "members": { - "UserName": {}, - "SSHPublicKeyId": {}, - "Fingerprint": {}, - "SSHPublicKeyBody": {}, - "Status": {}, - "UploadDate": { - "type": "timestamp" - } - } - }, - "S58": { - "type": "structure", - "required": [ - "Path", - "ServerCertificateName", - "ServerCertificateId", - "Arn" - ], - "members": { - "Path": {}, - "ServerCertificateName": {}, - "ServerCertificateId": {}, - "Arn": {}, - "UploadDate": { - "type": "timestamp" - }, - "Expiration": { - "type": "timestamp" - } - } - }, - "S62": { - "type": "list", - "member": {} - }, - "S66": { - "type": "list", - "member": { - "shape": "Ss" - } - }, - "S7d": { - "type": "structure", - "required": [ - "UserName", - "CertificateId", - "CertificateBody", - "Status" - ], - "members": { - "UserName": {}, - "CertificateId": {}, - "CertificateBody": {}, - "Status": {}, - "UploadDate": { - "type": "timestamp" - } - } - }, - "S7x": { - "type": "list", - "member": {} - }, - "S7z": { - "type": "list", - "member": {} - }, - "S81": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ContextKeyName": {}, - "ContextKeyValues": { - "type": "list", - "member": {} - }, - "ContextKeyType": {} - } - } - }, - "S87": { - "type": "structure", - "members": { - "EvaluationResults": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "EvalActionName", - "EvalDecision" - ], - "members": { - "EvalActionName": {}, - "EvalResourceName": {}, - "EvalDecision": {}, - "MatchedStatements": { - "shape": "S8b" - }, - "MissingContextValues": { - "shape": "S48" - }, - "OrganizationsDecisionDetail": { - "type": "structure", - "members": { - "AllowedByOrganizations": { - "type": "boolean" - } - } - }, - "EvalDecisionDetails": { - "shape": "S8j" - }, - "ResourceSpecificResults": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "EvalResourceName", - "EvalResourceDecision" - ], - "members": { - "EvalResourceName": {}, - "EvalResourceDecision": {}, - "MatchedStatements": { - "shape": "S8b" - }, - "MissingContextValues": { - "shape": "S48" - }, - "EvalDecisionDetails": { - "shape": "S8j" - } - } - } - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "Marker": {} - } - }, - "S8b": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SourcePolicyId": {}, - "SourcePolicyType": {}, - "StartPosition": { - "shape": "S8f" - }, - "EndPosition": { - "shape": "S8f" - } - } - } - }, - "S8f": { - "type": "structure", - "members": { - "Line": { - "type": "integer" - }, - "Column": { - "type": "integer" - } - } - }, - "S8j": { - "type": "map", - "key": {}, - "value": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/iam-2010-05-08.paginators.json b/src/node_modules/aws-sdk/apis/iam-2010-05-08.paginators.json deleted file mode 100644 index 3ac7a42..0000000 --- a/src/node_modules/aws-sdk/apis/iam-2010-05-08.paginators.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "pagination": { - "GetAccountAuthorizationDetails": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": [ - "UserDetailList", - "GroupDetailList", - "RoleDetailList", - "Policies" - ] - }, - "GetGroup": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "Users" - }, - "ListAccessKeys": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "AccessKeyMetadata" - }, - "ListAccountAliases": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "AccountAliases" - }, - "ListAttachedGroupPolicies": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "AttachedPolicies" - }, - "ListAttachedRolePolicies": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "AttachedPolicies" - }, - "ListAttachedUserPolicies": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "AttachedPolicies" - }, - "ListEntitiesForPolicy": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": [ - "PolicyGroups", - "PolicyUsers", - "PolicyRoles" - ] - }, - "ListGroupPolicies": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "PolicyNames" - }, - "ListGroups": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "Groups" - }, - "ListGroupsForUser": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "Groups" - }, - "ListInstanceProfiles": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "InstanceProfiles" - }, - "ListInstanceProfilesForRole": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "InstanceProfiles" - }, - "ListMFADevices": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "MFADevices" - }, - "ListPolicies": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "Policies" - }, - "ListPolicyVersions": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "Versions" - }, - "ListRolePolicies": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "PolicyNames" - }, - "ListRoles": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "Roles" - }, - "ListSAMLProviders": { - "result_key": "SAMLProviderList" - }, - "ListSSHPublicKeys": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "SSHPublicKeys" - }, - "ListServerCertificates": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "ServerCertificateMetadataList" - }, - "ListSigningCertificates": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "Certificates" - }, - "ListUserPolicies": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "PolicyNames" - }, - "ListUsers": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "Users" - }, - "ListVirtualMFADevices": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "VirtualMFADevices" - }, - "SimulateCustomPolicy": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "EvaluationResults" - }, - "SimulatePrincipalPolicy": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "Marker", - "result_key": "EvaluationResults" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/iam-2010-05-08.waiters2.json b/src/node_modules/aws-sdk/apis/iam-2010-05-08.waiters2.json deleted file mode 100644 index ba45382..0000000 --- a/src/node_modules/aws-sdk/apis/iam-2010-05-08.waiters2.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "version": 2, - "waiters": { - "InstanceProfileExists": { - "delay": 1, - "operation": "GetInstanceProfile", - "maxAttempts": 40, - "acceptors": [ - { - "expected": 200, - "matcher": "status", - "state": "success" - }, - { - "state": "retry", - "matcher": "status", - "expected": 404 - } - ] - }, - "UserExists": { - "delay": 1, - "operation": "GetUser", - "maxAttempts": 20, - "acceptors": [ - { - "state": "success", - "matcher": "status", - "expected": 200 - }, - { - "state": "retry", - "matcher": "error", - "expected": "NoSuchEntity" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/importexport-2010-06-01.min.json b/src/node_modules/aws-sdk/apis/importexport-2010-06-01.min.json deleted file mode 100644 index 9c2ce02..0000000 --- a/src/node_modules/aws-sdk/apis/importexport-2010-06-01.min.json +++ /dev/null @@ -1,243 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "importexport-2010-06-01", - "apiVersion": "2010-06-01", - "endpointPrefix": "importexport", - "globalEndpoint": "importexport.amazonaws.com", - "serviceFullName": "AWS Import/Export", - "signatureVersion": "v2", - "xmlNamespace": "http://importexport.amazonaws.com/doc/2010-06-01/", - "protocol": "query" - }, - "operations": { - "CancelJob": { - "http": { - "requestUri": "/?Operation=CancelJob" - }, - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {}, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "CancelJobResult", - "type": "structure", - "members": { - "Success": { - "type": "boolean" - } - } - } - }, - "CreateJob": { - "http": { - "requestUri": "/?Operation=CreateJob" - }, - "input": { - "type": "structure", - "required": [ - "JobType", - "Manifest", - "ValidateOnly" - ], - "members": { - "JobType": {}, - "Manifest": {}, - "ManifestAddendum": {}, - "ValidateOnly": { - "type": "boolean" - }, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "CreateJobResult", - "type": "structure", - "members": { - "JobId": {}, - "JobType": {}, - "Signature": {}, - "SignatureFileContents": {}, - "WarningMessage": {}, - "ArtifactList": { - "shape": "Sf" - } - } - } - }, - "GetShippingLabel": { - "http": { - "requestUri": "/?Operation=GetShippingLabel" - }, - "input": { - "type": "structure", - "required": [ - "jobIds" - ], - "members": { - "jobIds": { - "type": "list", - "member": {} - }, - "name": {}, - "company": {}, - "phoneNumber": {}, - "country": {}, - "stateOrProvince": {}, - "city": {}, - "postalCode": {}, - "street1": {}, - "street2": {}, - "street3": {}, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "GetShippingLabelResult", - "type": "structure", - "members": { - "ShippingLabelURL": {}, - "Warning": {} - } - } - }, - "GetStatus": { - "http": { - "requestUri": "/?Operation=GetStatus" - }, - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {}, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "GetStatusResult", - "type": "structure", - "members": { - "JobId": {}, - "JobType": {}, - "LocationCode": {}, - "LocationMessage": {}, - "ProgressCode": {}, - "ProgressMessage": {}, - "Carrier": {}, - "TrackingNumber": {}, - "LogBucket": {}, - "LogKey": {}, - "ErrorCount": { - "type": "integer" - }, - "Signature": {}, - "SignatureFileContents": {}, - "CurrentManifest": {}, - "CreationDate": { - "type": "timestamp" - }, - "ArtifactList": { - "shape": "Sf" - } - } - } - }, - "ListJobs": { - "http": { - "requestUri": "/?Operation=ListJobs" - }, - "input": { - "type": "structure", - "members": { - "MaxJobs": { - "type": "integer" - }, - "Marker": {}, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "ListJobsResult", - "type": "structure", - "members": { - "Jobs": { - "type": "list", - "member": { - "type": "structure", - "members": { - "JobId": {}, - "CreationDate": { - "type": "timestamp" - }, - "IsCanceled": { - "type": "boolean" - }, - "JobType": {} - } - } - }, - "IsTruncated": { - "type": "boolean" - } - } - } - }, - "UpdateJob": { - "http": { - "requestUri": "/?Operation=UpdateJob" - }, - "input": { - "type": "structure", - "required": [ - "JobId", - "Manifest", - "JobType", - "ValidateOnly" - ], - "members": { - "JobId": {}, - "Manifest": {}, - "JobType": {}, - "ValidateOnly": { - "type": "boolean" - }, - "APIVersion": {} - } - }, - "output": { - "resultWrapper": "UpdateJobResult", - "type": "structure", - "members": { - "Success": { - "type": "boolean" - }, - "WarningMessage": {}, - "ArtifactList": { - "shape": "Sf" - } - } - } - } - }, - "shapes": { - "Sf": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Description": {}, - "URL": {} - } - } - } - }, - "examples": {} -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json b/src/node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json deleted file mode 100644 index 702385e..0000000 --- a/src/node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "pagination": { - "ListJobs": { - "input_token": "Marker", - "output_token": "Jobs[-1].JobId", - "more_results": "IsTruncated", - "limit_key": "MaxJobs", - "result_key": "Jobs" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/inspector-2016-02-16.examples.json b/src/node_modules/aws-sdk/apis/inspector-2016-02-16.examples.json deleted file mode 100644 index d06decc..0000000 --- a/src/node_modules/aws-sdk/apis/inspector-2016-02-16.examples.json +++ /dev/null @@ -1,1147 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AddAttributesToFindings": [ - { - "input": { - "attributes": [ - { - "key": "Example", - "value": "example" - } - ], - "findingArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z02cjjug/finding/0-T8yM9mEU" - ] - }, - "output": { - "failedItems": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.", - "id": "add-attributes-to-findings-1481063856401", - "title": "Add attributes to findings" - } - ], - "CreateAssessmentTarget": [ - { - "input": { - "assessmentTargetName": "ExampleAssessmentTarget", - "resourceGroupArn": "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-AB6DMKnv" - }, - "output": { - "assessmentTargetArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account.", - "id": "create-assessment-target-1481063953657", - "title": "Create assessment target" - } - ], - "CreateAssessmentTemplate": [ - { - "input": { - "assessmentTargetArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX", - "assessmentTemplateName": "ExampleAssessmentTemplate", - "durationInSeconds": 180, - "rulesPackageArns": [ - "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-11B9DBXp" - ], - "userAttributesForFindings": [ - { - "key": "Example", - "value": "example" - } - ] - }, - "output": { - "assessmentTemplateArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.", - "id": "create-assessment-template-1481064046719", - "title": "Create assessment template" - } - ], - "CreateResourceGroup": [ - { - "input": { - "resourceGroupTags": [ - { - "key": "Name", - "value": "example" - } - ] - }, - "output": { - "resourceGroupArn": "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-AB6DMKnv" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. ", - "id": "create-resource-group-1481064169037", - "title": "Create resource group" - } - ], - "DeleteAssessmentRun": [ - { - "input": { - "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-11LMTAVe" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes the assessment run that is specified by the ARN of the assessment run.", - "id": "delete-assessment-run-1481064251629", - "title": "Delete assessment run" - } - ], - "DeleteAssessmentTarget": [ - { - "input": { - "assessmentTargetArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes the assessment target that is specified by the ARN of the assessment target.", - "id": "delete-assessment-target-1481064309029", - "title": "Delete assessment target" - } - ], - "DeleteAssessmentTemplate": [ - { - "input": { - "assessmentTemplateArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes the assessment template that is specified by the ARN of the assessment template.", - "id": "delete-assessment-template-1481064364074", - "title": "Delete assessment template" - } - ], - "DescribeAssessmentRuns": [ - { - "input": { - "assessmentRunArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE" - ] - }, - "output": { - "assessmentRuns": [ - { - "name": "Run 1 for ExampleAssessmentTemplate", - "arn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE", - "assessmentTemplateArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw", - "completedAt": "1458680301.4", - "createdAt": "1458680170.035", - "dataCollected": true, - "durationInSeconds": 3600, - "findingCounts": { - "High": 14, - "Informational": 0, - "Low": 0, - "Medium": 2, - "Undefined": 0 - }, - "notifications": [ - - ], - "rulesPackageArns": [ - "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-X1KXtawP" - ], - "startedAt": "1458680170.161", - "state": "COMPLETED", - "stateChangedAt": "1458680301.4", - "stateChanges": [ - { - "state": "CREATED", - "stateChangedAt": "1458680170.035" - }, - { - "state": "START_DATA_COLLECTION_PENDING", - "stateChangedAt": "1458680170.065" - }, - { - "state": "START_DATA_COLLECTION_IN_PROGRESS", - "stateChangedAt": "1458680170.096" - }, - { - "state": "COLLECTING_DATA", - "stateChangedAt": "1458680170.161" - }, - { - "state": "STOP_DATA_COLLECTION_PENDING", - "stateChangedAt": "1458680239.883" - }, - { - "state": "DATA_COLLECTED", - "stateChangedAt": "1458680299.847" - }, - { - "state": "EVALUATING_RULES", - "stateChangedAt": "1458680300.099" - }, - { - "state": "COMPLETED", - "stateChangedAt": "1458680301.4" - } - ], - "userAttributesForFindings": [ - - ] - } - ], - "failedItems": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Describes the assessment runs that are specified by the ARNs of the assessment runs.", - "id": "describte-assessment-runs-1481064424352", - "title": "Describte assessment runs" - } - ], - "DescribeAssessmentTargets": [ - { - "input": { - "assessmentTargetArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq" - ] - }, - "output": { - "assessmentTargets": [ - { - "name": "ExampleAssessmentTarget", - "arn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq", - "createdAt": "1458074191.459", - "resourceGroupArn": "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-PyGXopAI", - "updatedAt": "1458074191.459" - } - ], - "failedItems": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Describes the assessment targets that are specified by the ARNs of the assessment targets.", - "id": "describte-assessment-targets-1481064527735", - "title": "Describte assessment targets" - } - ], - "DescribeAssessmentTemplates": [ - { - "input": { - "assessmentTemplateArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw" - ] - }, - "output": { - "assessmentTemplates": [ - { - "name": "ExampleAssessmentTemplate", - "arn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw", - "assessmentTargetArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq", - "createdAt": "1458074191.844", - "durationInSeconds": 3600, - "rulesPackageArns": [ - "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-X1KXtawP" - ], - "userAttributesForFindings": [ - - ] - } - ], - "failedItems": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Describes the assessment templates that are specified by the ARNs of the assessment templates.", - "id": "describte-assessment-templates-1481064606829", - "title": "Describte assessment templates" - } - ], - "DescribeCrossAccountAccessRole": [ - { - "output": { - "registeredAt": "1458069182.826", - "roleArn": "arn:aws:iam::123456789012:role/inspector", - "valid": true - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Describes the IAM role that enables Amazon Inspector to access your AWS account.", - "id": "describte-cross-account-access-role-1481064682267", - "title": "Describte cross account access role" - } - ], - "DescribeFindings": [ - { - "input": { - "findingArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE/finding/0-HwPnsDm4" - ] - }, - "output": { - "failedItems": { - }, - "findings": [ - { - "arn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE/finding/0-HwPnsDm4", - "assetAttributes": { - "ipv4Addresses": [ - - ], - "schemaVersion": 1 - }, - "assetType": "ec2-instance", - "attributes": [ - - ], - "confidence": 10, - "createdAt": "1458680301.37", - "description": "Amazon Inspector did not find any potential security issues during this assessment.", - "indicatorOfCompromise": false, - "numericSeverity": 0, - "recommendation": "No remediation needed.", - "schemaVersion": 1, - "service": "Inspector", - "serviceAttributes": { - "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE", - "rulesPackageArn": "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-X1KXtawP", - "schemaVersion": 1 - }, - "severity": "Informational", - "title": "No potential security issues found", - "updatedAt": "1458680301.37", - "userAttributes": [ - - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Describes the findings that are specified by the ARNs of the findings.", - "id": "describte-findings-1481064771803", - "title": "Describe findings" - } - ], - "DescribeResourceGroups": [ - { - "input": { - "resourceGroupArns": [ - "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-PyGXopAI" - ] - }, - "output": { - "failedItems": { - }, - "resourceGroups": [ - { - "arn": "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-PyGXopAI", - "createdAt": "1458074191.098", - "tags": [ - { - "key": "Name", - "value": "example" - } - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Describes the resource groups that are specified by the ARNs of the resource groups.", - "id": "describe-resource-groups-1481065787743", - "title": "Describe resource groups" - } - ], - "DescribeRulesPackages": [ - { - "input": { - "rulesPackageArns": [ - "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ" - ] - }, - "output": { - "failedItems": { - }, - "rulesPackages": [ - { - "version": "1.1", - "name": "Security Best Practices", - "arn": "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ", - "description": "The rules in this package help determine whether your systems are configured securely.", - "provider": "Amazon Web Services, Inc." - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Describes the rules packages that are specified by the ARNs of the rules packages.", - "id": "describe-rules-packages-1481069641979", - "title": "Describe rules packages" - } - ], - "GetTelemetryMetadata": [ - { - "input": { - "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE" - }, - "output": { - "telemetryMetadata": [ - { - "count": 2, - "dataSize": 345, - "messageType": "InspectorDuplicateProcess" - }, - { - "count": 3, - "dataSize": 255, - "messageType": "InspectorTimeEventMsg" - }, - { - "count": 4, - "dataSize": 1082, - "messageType": "InspectorNetworkInterface" - }, - { - "count": 2, - "dataSize": 349, - "messageType": "InspectorDnsEntry" - }, - { - "count": 11, - "dataSize": 2514, - "messageType": "InspectorDirectoryInfoMsg" - }, - { - "count": 1, - "dataSize": 179, - "messageType": "InspectorTcpV6ListeningPort" - }, - { - "count": 101, - "dataSize": 10949, - "messageType": "InspectorTerminal" - }, - { - "count": 26, - "dataSize": 5916, - "messageType": "InspectorUser" - }, - { - "count": 282, - "dataSize": 32148, - "messageType": "InspectorDynamicallyLoadedCodeModule" - }, - { - "count": 18, - "dataSize": 10172, - "messageType": "InspectorCreateProcess" - }, - { - "count": 3, - "dataSize": 8001, - "messageType": "InspectorProcessPerformance" - }, - { - "count": 1, - "dataSize": 360, - "messageType": "InspectorOperatingSystem" - }, - { - "count": 6, - "dataSize": 546, - "messageType": "InspectorStopProcess" - }, - { - "count": 1, - "dataSize": 1553, - "messageType": "InspectorInstanceMetaData" - }, - { - "count": 2, - "dataSize": 434, - "messageType": "InspectorTcpV4Connection" - }, - { - "count": 474, - "dataSize": 2960322, - "messageType": "InspectorPackageInfo" - }, - { - "count": 3, - "dataSize": 2235, - "messageType": "InspectorSystemPerformance" - }, - { - "count": 105, - "dataSize": 46048, - "messageType": "InspectorCodeModule" - }, - { - "count": 1, - "dataSize": 182, - "messageType": "InspectorUdpV6ListeningPort" - }, - { - "count": 2, - "dataSize": 371, - "messageType": "InspectorUdpV4ListeningPort" - }, - { - "count": 18, - "dataSize": 8362, - "messageType": "InspectorKernelModule" - }, - { - "count": 29, - "dataSize": 48788, - "messageType": "InspectorConfigurationInfo" - }, - { - "count": 1, - "dataSize": 79, - "messageType": "InspectorMonitoringStart" - }, - { - "count": 5, - "dataSize": 0, - "messageType": "InspectorSplitMsgBegin" - }, - { - "count": 51, - "dataSize": 4593, - "messageType": "InspectorGroup" - }, - { - "count": 1, - "dataSize": 184, - "messageType": "InspectorTcpV4ListeningPort" - }, - { - "count": 1159, - "dataSize": 3146579, - "messageType": "Total" - }, - { - "count": 5, - "dataSize": 0, - "messageType": "InspectorSplitMsgEnd" - }, - { - "count": 1, - "dataSize": 612, - "messageType": "InspectorLoadImageInProcess" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Information about the data that is collected for the specified assessment run.", - "id": "get-telemetry-metadata-1481066021297", - "title": "Get telemetry metadata" - } - ], - "ListAssessmentRunAgents": [ - { - "input": { - "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE", - "maxResults": 123 - }, - "output": { - "assessmentRunAgents": [ - { - "agentHealth": "HEALTHY", - "agentHealthCode": "RUNNING", - "agentId": "i-49113b93", - "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE", - "telemetryMetadata": [ - { - "count": 2, - "dataSize": 345, - "messageType": "InspectorDuplicateProcess" - }, - { - "count": 3, - "dataSize": 255, - "messageType": "InspectorTimeEventMsg" - }, - { - "count": 4, - "dataSize": 1082, - "messageType": "InspectorNetworkInterface" - }, - { - "count": 2, - "dataSize": 349, - "messageType": "InspectorDnsEntry" - }, - { - "count": 11, - "dataSize": 2514, - "messageType": "InspectorDirectoryInfoMsg" - }, - { - "count": 1, - "dataSize": 179, - "messageType": "InspectorTcpV6ListeningPort" - }, - { - "count": 101, - "dataSize": 10949, - "messageType": "InspectorTerminal" - }, - { - "count": 26, - "dataSize": 5916, - "messageType": "InspectorUser" - }, - { - "count": 282, - "dataSize": 32148, - "messageType": "InspectorDynamicallyLoadedCodeModule" - }, - { - "count": 18, - "dataSize": 10172, - "messageType": "InspectorCreateProcess" - }, - { - "count": 3, - "dataSize": 8001, - "messageType": "InspectorProcessPerformance" - }, - { - "count": 1, - "dataSize": 360, - "messageType": "InspectorOperatingSystem" - }, - { - "count": 6, - "dataSize": 546, - "messageType": "InspectorStopProcess" - }, - { - "count": 1, - "dataSize": 1553, - "messageType": "InspectorInstanceMetaData" - }, - { - "count": 2, - "dataSize": 434, - "messageType": "InspectorTcpV4Connection" - }, - { - "count": 474, - "dataSize": 2960322, - "messageType": "InspectorPackageInfo" - }, - { - "count": 3, - "dataSize": 2235, - "messageType": "InspectorSystemPerformance" - }, - { - "count": 105, - "dataSize": 46048, - "messageType": "InspectorCodeModule" - }, - { - "count": 1, - "dataSize": 182, - "messageType": "InspectorUdpV6ListeningPort" - }, - { - "count": 2, - "dataSize": 371, - "messageType": "InspectorUdpV4ListeningPort" - }, - { - "count": 18, - "dataSize": 8362, - "messageType": "InspectorKernelModule" - }, - { - "count": 29, - "dataSize": 48788, - "messageType": "InspectorConfigurationInfo" - }, - { - "count": 1, - "dataSize": 79, - "messageType": "InspectorMonitoringStart" - }, - { - "count": 5, - "dataSize": 0, - "messageType": "InspectorSplitMsgBegin" - }, - { - "count": 51, - "dataSize": 4593, - "messageType": "InspectorGroup" - }, - { - "count": 1, - "dataSize": 184, - "messageType": "InspectorTcpV4ListeningPort" - }, - { - "count": 1159, - "dataSize": 3146579, - "messageType": "Total" - }, - { - "count": 5, - "dataSize": 0, - "messageType": "InspectorSplitMsgEnd" - }, - { - "count": 1, - "dataSize": 612, - "messageType": "InspectorLoadImageInProcess" - } - ] - } - ], - "nextToken": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.", - "id": "list-assessment-run-agents-1481918140642", - "title": "List assessment run agents" - } - ], - "ListAssessmentRuns": [ - { - "input": { - "assessmentTemplateArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw" - ], - "maxResults": 123 - }, - "output": { - "assessmentRunArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE", - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-v5D6fI3v" - ], - "nextToken": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.", - "id": "list-assessment-runs-1481066340844", - "title": "List assessment runs" - } - ], - "ListAssessmentTargets": [ - { - "input": { - "maxResults": 123 - }, - "output": { - "assessmentTargetArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq" - ], - "nextToken": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists the ARNs of the assessment targets within this AWS account. ", - "id": "list-assessment-targets-1481066540849", - "title": "List assessment targets" - } - ], - "ListAssessmentTemplates": [ - { - "input": { - "assessmentTargetArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq" - ], - "maxResults": 123 - }, - "output": { - "assessmentTemplateArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw", - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-Uza6ihLh" - ], - "nextToken": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.", - "id": "list-assessment-templates-1481066623520", - "title": "List assessment templates" - } - ], - "ListEventSubscriptions": [ - { - "input": { - "maxResults": 123, - "resourceArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0" - }, - "output": { - "nextToken": "1", - "subscriptions": [ - { - "eventSubscriptions": [ - { - "event": "ASSESSMENT_RUN_COMPLETED", - "subscribedAt": "1459455440.867" - } - ], - "resourceArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0", - "topicArn": "arn:aws:sns:us-west-2:123456789012:exampletopic" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. ", - "id": "list-event-subscriptions-1481068376945", - "title": "List event subscriptions" - } - ], - "ListFindings": [ - { - "input": { - "assessmentRunArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE" - ], - "maxResults": 123 - }, - "output": { - "findingArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE/finding/0-HwPnsDm4", - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-v5D6fI3v/finding/0-tyvmqBLy" - ], - "nextToken": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.", - "id": "list-findings-1481066840611", - "title": "List findings" - } - ], - "ListRulesPackages": [ - { - "input": { - "maxResults": 123 - }, - "output": { - "nextToken": "1", - "rulesPackageArns": [ - "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-9hgA516p", - "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-H5hpSawc", - "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ", - "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-vg5GGHSD" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists all available Amazon Inspector rules packages.", - "id": "list-rules-packages-1481066954883", - "title": "List rules packages" - } - ], - "ListTagsForResource": [ - { - "input": { - "resourceArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-gcwFliYu" - }, - "output": { - "tags": [ - { - "key": "Name", - "value": "Example" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists all tags associated with an assessment template.", - "id": "list-tags-for-resource-1481067025240", - "title": "List tags for resource" - } - ], - "PreviewAgents": [ - { - "input": { - "maxResults": 123, - "previewAgentsArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq" - }, - "output": { - "agentPreviews": [ - { - "agentId": "i-49113b93" - } - ], - "nextToken": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Previews the agents installed on the EC2 instances that are part of the specified assessment target.", - "id": "preview-agents-1481067101888", - "title": "Preview agents" - } - ], - "RegisterCrossAccountAccessRole": [ - { - "input": { - "roleArn": "arn:aws:iam::123456789012:role/inspector" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.", - "id": "register-cross-account-access-role-1481067178301", - "title": "Register cross account access role" - } - ], - "RemoveAttributesFromFindings": [ - { - "input": { - "attributeKeys": [ - "key=Example,value=example" - ], - "findingArns": [ - "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z02cjjug/finding/0-T8yM9mEU" - ] - }, - "output": { - "failedItems": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.", - "id": "remove-attributes-from-findings-1481067246548", - "title": "Remove attributes from findings" - } - ], - "SetTagsForResource": [ - { - "input": { - "resourceArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0", - "tags": [ - { - "key": "Example", - "value": "example" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.", - "id": "set-tags-for-resource-1481067329646", - "title": "Set tags for resource" - } - ], - "StartAssessmentRun": [ - { - "input": { - "assessmentRunName": "examplerun", - "assessmentTemplateArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T" - }, - "output": { - "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-jOoroxyY" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.", - "id": "start-assessment-run-1481067407484", - "title": "Start assessment run" - } - ], - "StopAssessmentRun": [ - { - "input": { - "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-11LMTAVe" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Stops the assessment run that is specified by the ARN of the assessment run.", - "id": "stop-assessment-run-1481067502857", - "title": "Stop assessment run" - } - ], - "SubscribeToEvent": [ - { - "input": { - "event": "ASSESSMENT_RUN_COMPLETED", - "resourceArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0", - "topicArn": "arn:aws:sns:us-west-2:123456789012:exampletopic" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.", - "id": "subscribe-to-event-1481067686031", - "title": "Subscribe to event" - } - ], - "UnsubscribeFromEvent": [ - { - "input": { - "event": "ASSESSMENT_RUN_COMPLETED", - "resourceArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0", - "topicArn": "arn:aws:sns:us-west-2:123456789012:exampletopic" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.", - "id": "unsubscribe-from-event-1481067781705", - "title": "Unsubscribe from event" - } - ], - "UpdateAssessmentTarget": [ - { - "input": { - "assessmentTargetArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX", - "assessmentTargetName": "Example", - "resourceGroupArn": "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-yNbgL5Pt" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Updates the assessment target that is specified by the ARN of the assessment target.", - "id": "update-assessment-target-1481067866692", - "title": "Update assessment target" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/inspector-2016-02-16.min.json b/src/node_modules/aws-sdk/apis/inspector-2016-02-16.min.json deleted file mode 100644 index f1a4d00..0000000 --- a/src/node_modules/aws-sdk/apis/inspector-2016-02-16.min.json +++ /dev/null @@ -1,1282 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-02-16", - "endpointPrefix": "inspector", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon Inspector", - "signatureVersion": "v4", - "targetPrefix": "InspectorService", - "uid": "inspector-2016-02-16" - }, - "operations": { - "AddAttributesToFindings": { - "input": { - "type": "structure", - "required": [ - "findingArns", - "attributes" - ], - "members": { - "findingArns": { - "shape": "S2" - }, - "attributes": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "required": [ - "failedItems" - ], - "members": { - "failedItems": { - "shape": "S9" - } - } - } - }, - "CreateAssessmentTarget": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetName", - "resourceGroupArn" - ], - "members": { - "assessmentTargetName": {}, - "resourceGroupArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTargetArn" - ], - "members": { - "assessmentTargetArn": {} - } - } - }, - "CreateAssessmentTemplate": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArn", - "assessmentTemplateName", - "durationInSeconds", - "rulesPackageArns" - ], - "members": { - "assessmentTargetArn": {}, - "assessmentTemplateName": {}, - "durationInSeconds": { - "type": "integer" - }, - "rulesPackageArns": { - "shape": "Sj" - }, - "userAttributesForFindings": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTemplateArn" - ], - "members": { - "assessmentTemplateArn": {} - } - } - }, - "CreateResourceGroup": { - "input": { - "type": "structure", - "required": [ - "resourceGroupTags" - ], - "members": { - "resourceGroupTags": { - "shape": "Sm" - } - } - }, - "output": { - "type": "structure", - "required": [ - "resourceGroupArn" - ], - "members": { - "resourceGroupArn": {} - } - } - }, - "DeleteAssessmentRun": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - } - }, - "DeleteAssessmentTarget": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArn" - ], - "members": { - "assessmentTargetArn": {} - } - } - }, - "DeleteAssessmentTemplate": { - "input": { - "type": "structure", - "required": [ - "assessmentTemplateArn" - ], - "members": { - "assessmentTemplateArn": {} - } - } - }, - "DescribeAssessmentRuns": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArns" - ], - "members": { - "assessmentRunArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRuns", - "failedItems" - ], - "members": { - "assessmentRuns": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "assessmentTemplateArn", - "state", - "durationInSeconds", - "rulesPackageArns", - "userAttributesForFindings", - "createdAt", - "stateChangedAt", - "dataCollected", - "stateChanges", - "notifications", - "findingCounts" - ], - "members": { - "arn": {}, - "name": {}, - "assessmentTemplateArn": {}, - "state": {}, - "durationInSeconds": { - "type": "integer" - }, - "rulesPackageArns": { - "type": "list", - "member": {} - }, - "userAttributesForFindings": { - "shape": "S4" - }, - "createdAt": { - "type": "timestamp" - }, - "startedAt": { - "type": "timestamp" - }, - "completedAt": { - "type": "timestamp" - }, - "stateChangedAt": { - "type": "timestamp" - }, - "dataCollected": { - "type": "boolean" - }, - "stateChanges": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "stateChangedAt", - "state" - ], - "members": { - "stateChangedAt": { - "type": "timestamp" - }, - "state": {} - } - } - }, - "notifications": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "date", - "event", - "error" - ], - "members": { - "date": { - "type": "timestamp" - }, - "event": {}, - "message": {}, - "error": { - "type": "boolean" - }, - "snsTopicArn": {}, - "snsPublishStatusCode": {} - } - } - }, - "findingCounts": { - "type": "map", - "key": {}, - "value": { - "type": "integer" - } - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeAssessmentTargets": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArns" - ], - "members": { - "assessmentTargetArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTargets", - "failedItems" - ], - "members": { - "assessmentTargets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "resourceGroupArn", - "createdAt", - "updatedAt" - ], - "members": { - "arn": {}, - "name": {}, - "resourceGroupArn": {}, - "createdAt": { - "type": "timestamp" - }, - "updatedAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeAssessmentTemplates": { - "input": { - "type": "structure", - "required": [ - "assessmentTemplateArns" - ], - "members": { - "assessmentTemplateArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTemplates", - "failedItems" - ], - "members": { - "assessmentTemplates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "assessmentTargetArn", - "durationInSeconds", - "rulesPackageArns", - "userAttributesForFindings", - "createdAt" - ], - "members": { - "arn": {}, - "name": {}, - "assessmentTargetArn": {}, - "durationInSeconds": { - "type": "integer" - }, - "rulesPackageArns": { - "shape": "Sj" - }, - "userAttributesForFindings": { - "shape": "S4" - }, - "createdAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeCrossAccountAccessRole": { - "output": { - "type": "structure", - "required": [ - "roleArn", - "valid", - "registeredAt" - ], - "members": { - "roleArn": {}, - "valid": { - "type": "boolean" - }, - "registeredAt": { - "type": "timestamp" - } - } - } - }, - "DescribeFindings": { - "input": { - "type": "structure", - "required": [ - "findingArns" - ], - "members": { - "findingArns": { - "shape": "Sv" - }, - "locale": {} - } - }, - "output": { - "type": "structure", - "required": [ - "findings", - "failedItems" - ], - "members": { - "findings": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "attributes", - "userAttributes", - "createdAt", - "updatedAt" - ], - "members": { - "arn": {}, - "schemaVersion": { - "type": "integer" - }, - "service": {}, - "serviceAttributes": { - "type": "structure", - "required": [ - "schemaVersion" - ], - "members": { - "schemaVersion": { - "type": "integer" - }, - "assessmentRunArn": {}, - "rulesPackageArn": {} - } - }, - "assetType": {}, - "assetAttributes": { - "type": "structure", - "required": [ - "schemaVersion" - ], - "members": { - "schemaVersion": { - "type": "integer" - }, - "agentId": {}, - "autoScalingGroup": {}, - "amiId": {}, - "hostname": {}, - "ipv4Addresses": { - "type": "list", - "member": {} - } - } - }, - "id": {}, - "title": {}, - "description": {}, - "recommendation": {}, - "severity": {}, - "numericSeverity": { - "type": "double" - }, - "confidence": { - "type": "integer" - }, - "indicatorOfCompromise": { - "type": "boolean" - }, - "attributes": { - "shape": "S26" - }, - "userAttributes": { - "shape": "S4" - }, - "createdAt": { - "type": "timestamp" - }, - "updatedAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeResourceGroups": { - "input": { - "type": "structure", - "required": [ - "resourceGroupArns" - ], - "members": { - "resourceGroupArns": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "required": [ - "resourceGroups", - "failedItems" - ], - "members": { - "resourceGroups": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "tags", - "createdAt" - ], - "members": { - "arn": {}, - "tags": { - "shape": "Sm" - }, - "createdAt": { - "type": "timestamp" - } - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "DescribeRulesPackages": { - "input": { - "type": "structure", - "required": [ - "rulesPackageArns" - ], - "members": { - "rulesPackageArns": { - "shape": "Sv" - }, - "locale": {} - } - }, - "output": { - "type": "structure", - "required": [ - "rulesPackages", - "failedItems" - ], - "members": { - "rulesPackages": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "arn", - "name", - "version", - "provider" - ], - "members": { - "arn": {}, - "name": {}, - "version": {}, - "provider": {}, - "description": {} - } - } - }, - "failedItems": { - "shape": "S9" - } - } - } - }, - "GetAssessmentReport": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn", - "reportFileFormat", - "reportType" - ], - "members": { - "assessmentRunArn": {}, - "reportFileFormat": {}, - "reportType": {} - } - }, - "output": { - "type": "structure", - "required": [ - "status" - ], - "members": { - "status": {}, - "url": {} - } - } - }, - "GetTelemetryMetadata": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "telemetryMetadata" - ], - "members": { - "telemetryMetadata": { - "shape": "S2q" - } - } - } - }, - "ListAssessmentRunAgents": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {}, - "filter": { - "type": "structure", - "required": [ - "agentHealths", - "agentHealthCodes" - ], - "members": { - "agentHealths": { - "type": "list", - "member": {} - }, - "agentHealthCodes": { - "type": "list", - "member": {} - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRunAgents" - ], - "members": { - "assessmentRunAgents": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "agentId", - "assessmentRunArn", - "agentHealth", - "agentHealthCode", - "telemetryMetadata" - ], - "members": { - "agentId": {}, - "assessmentRunArn": {}, - "agentHealth": {}, - "agentHealthCode": {}, - "agentHealthDetails": {}, - "autoScalingGroup": {}, - "telemetryMetadata": { - "shape": "S2q" - } - } - } - }, - "nextToken": {} - } - } - }, - "ListAssessmentRuns": { - "input": { - "type": "structure", - "members": { - "assessmentTemplateArns": { - "shape": "S36" - }, - "filter": { - "type": "structure", - "members": { - "namePattern": {}, - "states": { - "type": "list", - "member": {} - }, - "durationRange": { - "shape": "S3a" - }, - "rulesPackageArns": { - "shape": "S3b" - }, - "startTimeRange": { - "shape": "S3c" - }, - "completionTimeRange": { - "shape": "S3c" - }, - "stateChangeTimeRange": { - "shape": "S3c" - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRunArns" - ], - "members": { - "assessmentRunArns": { - "shape": "S3e" - }, - "nextToken": {} - } - } - }, - "ListAssessmentTargets": { - "input": { - "type": "structure", - "members": { - "filter": { - "type": "structure", - "members": { - "assessmentTargetNamePattern": {} - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTargetArns" - ], - "members": { - "assessmentTargetArns": { - "shape": "S3e" - }, - "nextToken": {} - } - } - }, - "ListAssessmentTemplates": { - "input": { - "type": "structure", - "members": { - "assessmentTargetArns": { - "shape": "S36" - }, - "filter": { - "type": "structure", - "members": { - "namePattern": {}, - "durationRange": { - "shape": "S3a" - }, - "rulesPackageArns": { - "shape": "S3b" - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentTemplateArns" - ], - "members": { - "assessmentTemplateArns": { - "shape": "S3e" - }, - "nextToken": {} - } - } - }, - "ListEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "resourceArn": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "subscriptions" - ], - "members": { - "subscriptions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "resourceArn", - "topicArn", - "eventSubscriptions" - ], - "members": { - "resourceArn": {}, - "topicArn": {}, - "eventSubscriptions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "event", - "subscribedAt" - ], - "members": { - "event": {}, - "subscribedAt": { - "type": "timestamp" - } - } - } - } - } - } - }, - "nextToken": {} - } - } - }, - "ListFindings": { - "input": { - "type": "structure", - "members": { - "assessmentRunArns": { - "shape": "S36" - }, - "filter": { - "type": "structure", - "members": { - "agentIds": { - "type": "list", - "member": {} - }, - "autoScalingGroups": { - "type": "list", - "member": {} - }, - "ruleNames": { - "type": "list", - "member": {} - }, - "severities": { - "type": "list", - "member": {} - }, - "rulesPackageArns": { - "shape": "S3b" - }, - "attributes": { - "shape": "S26" - }, - "userAttributes": { - "shape": "S26" - }, - "creationTimeRange": { - "shape": "S3c" - } - } - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "findingArns" - ], - "members": { - "findingArns": { - "shape": "S3e" - }, - "nextToken": {} - } - } - }, - "ListRulesPackages": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "rulesPackageArns" - ], - "members": { - "rulesPackageArns": { - "shape": "S3e" - }, - "nextToken": {} - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "tags" - ], - "members": { - "tags": { - "shape": "S44" - } - } - } - }, - "PreviewAgents": { - "input": { - "type": "structure", - "required": [ - "previewAgentsArn" - ], - "members": { - "previewAgentsArn": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "agentPreviews" - ], - "members": { - "agentPreviews": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "agentId" - ], - "members": { - "agentId": {}, - "autoScalingGroup": {} - } - } - }, - "nextToken": {} - } - } - }, - "RegisterCrossAccountAccessRole": { - "input": { - "type": "structure", - "required": [ - "roleArn" - ], - "members": { - "roleArn": {} - } - } - }, - "RemoveAttributesFromFindings": { - "input": { - "type": "structure", - "required": [ - "findingArns", - "attributeKeys" - ], - "members": { - "findingArns": { - "shape": "S2" - }, - "attributeKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "required": [ - "failedItems" - ], - "members": { - "failedItems": { - "shape": "S9" - } - } - } - }, - "SetTagsForResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": {}, - "tags": { - "shape": "S44" - } - } - } - }, - "StartAssessmentRun": { - "input": { - "type": "structure", - "required": [ - "assessmentTemplateArn" - ], - "members": { - "assessmentTemplateArn": {}, - "assessmentRunName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - } - }, - "StopAssessmentRun": { - "input": { - "type": "structure", - "required": [ - "assessmentRunArn" - ], - "members": { - "assessmentRunArn": {} - } - } - }, - "SubscribeToEvent": { - "input": { - "type": "structure", - "required": [ - "resourceArn", - "event", - "topicArn" - ], - "members": { - "resourceArn": {}, - "event": {}, - "topicArn": {} - } - } - }, - "UnsubscribeFromEvent": { - "input": { - "type": "structure", - "required": [ - "resourceArn", - "event", - "topicArn" - ], - "members": { - "resourceArn": {}, - "event": {}, - "topicArn": {} - } - } - }, - "UpdateAssessmentTarget": { - "input": { - "type": "structure", - "required": [ - "assessmentTargetArn", - "assessmentTargetName", - "resourceGroupArn" - ], - "members": { - "assessmentTargetArn": {}, - "assessmentTargetName": {}, - "resourceGroupArn": {} - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "S4": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "S5": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "value": {} - } - }, - "S9": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "failureCode", - "retryable" - ], - "members": { - "failureCode": {}, - "retryable": { - "type": "boolean" - } - } - } - }, - "Sj": { - "type": "list", - "member": {} - }, - "Sm": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "Sv": { - "type": "list", - "member": {} - }, - "S26": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "S2q": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "messageType", - "count" - ], - "members": { - "messageType": {}, - "count": { - "type": "long" - }, - "dataSize": { - "type": "long" - } - } - } - }, - "S36": { - "type": "list", - "member": {} - }, - "S3a": { - "type": "structure", - "members": { - "minSeconds": { - "type": "integer" - }, - "maxSeconds": { - "type": "integer" - } - } - }, - "S3b": { - "type": "list", - "member": {} - }, - "S3c": { - "type": "structure", - "members": { - "beginDate": { - "type": "timestamp" - }, - "endDate": { - "type": "timestamp" - } - } - }, - "S3e": { - "type": "list", - "member": {} - }, - "S44": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key" - ], - "members": { - "key": {}, - "value": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/inspector-2016-02-16.paginators.json b/src/node_modules/aws-sdk/apis/inspector-2016-02-16.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/inspector-2016-02-16.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/iot-2015-05-28.examples.json b/src/node_modules/aws-sdk/apis/iot-2015-05-28.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/iot-2015-05-28.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/iot-2015-05-28.min.json b/src/node_modules/aws-sdk/apis/iot-2015-05-28.min.json deleted file mode 100644 index 82d2b05..0000000 --- a/src/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +++ /dev/null @@ -1,1960 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-05-28", - "endpointPrefix": "iot", - "protocol": "rest-json", - "serviceFullName": "AWS IoT", - "signatureVersion": "v4", - "signingName": "execute-api", - "uid": "iot-2015-05-28" - }, - "operations": { - "AcceptCertificateTransfer": { - "http": { - "method": "PATCH", - "requestUri": "/accept-certificate-transfer/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - }, - "setAsActive": { - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - } - } - } - }, - "AttachPrincipalPolicy": { - "http": { - "method": "PUT", - "requestUri": "/principal-policies/{policyName}" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "principal" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "principal": { - "location": "header", - "locationName": "x-amzn-iot-principal" - } - } - } - }, - "AttachThingPrincipal": { - "http": { - "method": "PUT", - "requestUri": "/things/{thingName}/principals" - }, - "input": { - "type": "structure", - "required": [ - "thingName", - "principal" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "principal": { - "location": "header", - "locationName": "x-amzn-principal" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CancelCertificateTransfer": { - "http": { - "method": "PATCH", - "requestUri": "/cancel-certificate-transfer/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - } - } - } - }, - "CreateCertificateFromCsr": { - "http": { - "requestUri": "/certificates" - }, - "input": { - "type": "structure", - "required": [ - "certificateSigningRequest" - ], - "members": { - "certificateSigningRequest": {}, - "setAsActive": { - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "certificatePem": {} - } - } - }, - "CreateKeysAndCertificate": { - "http": { - "requestUri": "/keys-and-certificate" - }, - "input": { - "type": "structure", - "members": { - "setAsActive": { - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "certificatePem": {}, - "keyPair": { - "type": "structure", - "members": { - "PublicKey": {}, - "PrivateKey": { - "type": "string", - "sensitive": true - } - } - } - } - } - }, - "CreatePolicy": { - "http": { - "requestUri": "/policies/{policyName}" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "policyDocument" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "policyDocument": {} - } - }, - "output": { - "type": "structure", - "members": { - "policyName": {}, - "policyArn": {}, - "policyDocument": {}, - "policyVersionId": {} - } - } - }, - "CreatePolicyVersion": { - "http": { - "requestUri": "/policies/{policyName}/version" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "policyDocument" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "policyDocument": {}, - "setAsDefault": { - "location": "querystring", - "locationName": "setAsDefault", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "policyArn": {}, - "policyDocument": {}, - "policyVersionId": {}, - "isDefaultVersion": { - "type": "boolean" - } - } - } - }, - "CreateThing": { - "http": { - "requestUri": "/things/{thingName}" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "thingTypeName": {}, - "attributePayload": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "thingName": {}, - "thingArn": {} - } - } - }, - "CreateThingType": { - "http": { - "requestUri": "/thing-types/{thingTypeName}" - }, - "input": { - "type": "structure", - "required": [ - "thingTypeName" - ], - "members": { - "thingTypeName": { - "location": "uri", - "locationName": "thingTypeName" - }, - "thingTypeProperties": { - "shape": "S14" - } - } - }, - "output": { - "type": "structure", - "members": { - "thingTypeName": {}, - "thingTypeArn": {} - } - } - }, - "CreateTopicRule": { - "http": { - "requestUri": "/rules/{ruleName}" - }, - "input": { - "type": "structure", - "required": [ - "ruleName", - "topicRulePayload" - ], - "members": { - "ruleName": { - "location": "uri", - "locationName": "ruleName" - }, - "topicRulePayload": { - "shape": "S1b" - } - }, - "payload": "topicRulePayload" - } - }, - "DeleteCACertificate": { - "http": { - "method": "DELETE", - "requestUri": "/cacertificate/{caCertificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "caCertificateId" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteCertificate": { - "http": { - "method": "DELETE", - "requestUri": "/certificates/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - } - } - } - }, - "DeletePolicy": { - "http": { - "method": "DELETE", - "requestUri": "/policies/{policyName}" - }, - "input": { - "type": "structure", - "required": [ - "policyName" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - } - } - } - }, - "DeletePolicyVersion": { - "http": { - "method": "DELETE", - "requestUri": "/policies/{policyName}/version/{policyVersionId}" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "policyVersionId" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "policyVersionId": { - "location": "uri", - "locationName": "policyVersionId" - } - } - } - }, - "DeleteRegistrationCode": { - "http": { - "method": "DELETE", - "requestUri": "/registrationcode" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteThing": { - "http": { - "method": "DELETE", - "requestUri": "/things/{thingName}" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "expectedVersion": { - "location": "querystring", - "locationName": "expectedVersion", - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteThingType": { - "http": { - "method": "DELETE", - "requestUri": "/thing-types/{thingTypeName}" - }, - "input": { - "type": "structure", - "required": [ - "thingTypeName" - ], - "members": { - "thingTypeName": { - "location": "uri", - "locationName": "thingTypeName" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteTopicRule": { - "http": { - "method": "DELETE", - "requestUri": "/rules/{ruleName}" - }, - "input": { - "type": "structure", - "required": [ - "ruleName" - ], - "members": { - "ruleName": { - "location": "uri", - "locationName": "ruleName" - } - } - } - }, - "DeprecateThingType": { - "http": { - "requestUri": "/thing-types/{thingTypeName}/deprecate" - }, - "input": { - "type": "structure", - "required": [ - "thingTypeName" - ], - "members": { - "thingTypeName": { - "location": "uri", - "locationName": "thingTypeName" - }, - "undoDeprecate": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeCACertificate": { - "http": { - "method": "GET", - "requestUri": "/cacertificate/{caCertificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "caCertificateId" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificateDescription": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "status": {}, - "certificatePem": {}, - "ownedBy": {}, - "creationDate": { - "type": "timestamp" - }, - "autoRegistrationStatus": {} - } - } - } - } - }, - "DescribeCertificate": { - "http": { - "method": "GET", - "requestUri": "/certificates/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificateDescription": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "caCertificateId": {}, - "status": {}, - "certificatePem": {}, - "ownedBy": {}, - "previousOwnedBy": {}, - "creationDate": { - "type": "timestamp" - }, - "lastModifiedDate": { - "type": "timestamp" - }, - "transferData": { - "type": "structure", - "members": { - "transferMessage": {}, - "rejectReason": {}, - "transferDate": { - "type": "timestamp" - }, - "acceptDate": { - "type": "timestamp" - }, - "rejectDate": { - "type": "timestamp" - } - } - } - } - } - } - } - }, - "DescribeEndpoint": { - "http": { - "method": "GET", - "requestUri": "/endpoint" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "endpointAddress": {} - } - } - }, - "DescribeThing": { - "http": { - "method": "GET", - "requestUri": "/things/{thingName}" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - } - } - }, - "output": { - "type": "structure", - "members": { - "defaultClientId": {}, - "thingName": {}, - "thingTypeName": {}, - "attributes": { - "shape": "Sx" - }, - "version": { - "type": "long" - } - } - } - }, - "DescribeThingType": { - "http": { - "method": "GET", - "requestUri": "/thing-types/{thingTypeName}" - }, - "input": { - "type": "structure", - "required": [ - "thingTypeName" - ], - "members": { - "thingTypeName": { - "location": "uri", - "locationName": "thingTypeName" - } - } - }, - "output": { - "type": "structure", - "members": { - "thingTypeName": {}, - "thingTypeProperties": { - "shape": "S14" - }, - "thingTypeMetadata": { - "shape": "S3x" - } - } - } - }, - "DetachPrincipalPolicy": { - "http": { - "method": "DELETE", - "requestUri": "/principal-policies/{policyName}" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "principal" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "principal": { - "location": "header", - "locationName": "x-amzn-iot-principal" - } - } - } - }, - "DetachThingPrincipal": { - "http": { - "method": "DELETE", - "requestUri": "/things/{thingName}/principals" - }, - "input": { - "type": "structure", - "required": [ - "thingName", - "principal" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "principal": { - "location": "header", - "locationName": "x-amzn-principal" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisableTopicRule": { - "http": { - "requestUri": "/rules/{ruleName}/disable" - }, - "input": { - "type": "structure", - "required": [ - "ruleName" - ], - "members": { - "ruleName": { - "location": "uri", - "locationName": "ruleName" - } - } - } - }, - "EnableTopicRule": { - "http": { - "requestUri": "/rules/{ruleName}/enable" - }, - "input": { - "type": "structure", - "required": [ - "ruleName" - ], - "members": { - "ruleName": { - "location": "uri", - "locationName": "ruleName" - } - } - } - }, - "GetLoggingOptions": { - "http": { - "method": "GET", - "requestUri": "/loggingOptions" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "roleArn": {}, - "logLevel": {} - } - } - }, - "GetPolicy": { - "http": { - "method": "GET", - "requestUri": "/policies/{policyName}" - }, - "input": { - "type": "structure", - "required": [ - "policyName" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - } - } - }, - "output": { - "type": "structure", - "members": { - "policyName": {}, - "policyArn": {}, - "policyDocument": {}, - "defaultVersionId": {} - } - } - }, - "GetPolicyVersion": { - "http": { - "method": "GET", - "requestUri": "/policies/{policyName}/version/{policyVersionId}" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "policyVersionId" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "policyVersionId": { - "location": "uri", - "locationName": "policyVersionId" - } - } - }, - "output": { - "type": "structure", - "members": { - "policyArn": {}, - "policyName": {}, - "policyDocument": {}, - "policyVersionId": {}, - "isDefaultVersion": { - "type": "boolean" - } - } - } - }, - "GetRegistrationCode": { - "http": { - "method": "GET", - "requestUri": "/registrationcode" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "registrationCode": {} - } - } - }, - "GetTopicRule": { - "http": { - "method": "GET", - "requestUri": "/rules/{ruleName}" - }, - "input": { - "type": "structure", - "required": [ - "ruleName" - ], - "members": { - "ruleName": { - "location": "uri", - "locationName": "ruleName" - } - } - }, - "output": { - "type": "structure", - "members": { - "ruleArn": {}, - "rule": { - "type": "structure", - "members": { - "ruleName": {}, - "sql": {}, - "description": {}, - "createdAt": { - "type": "timestamp" - }, - "actions": { - "shape": "S1e" - }, - "ruleDisabled": { - "type": "boolean" - }, - "awsIotSqlVersion": {} - } - } - } - } - }, - "ListCACertificates": { - "http": { - "method": "GET", - "requestUri": "/cacertificates" - }, - "input": { - "type": "structure", - "members": { - "pageSize": { - "location": "querystring", - "locationName": "pageSize", - "type": "integer" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "ascendingOrder": { - "location": "querystring", - "locationName": "isAscendingOrder", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "status": {}, - "creationDate": { - "type": "timestamp" - } - } - } - }, - "nextMarker": {} - } - } - }, - "ListCertificates": { - "http": { - "method": "GET", - "requestUri": "/certificates" - }, - "input": { - "type": "structure", - "members": { - "pageSize": { - "location": "querystring", - "locationName": "pageSize", - "type": "integer" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "ascendingOrder": { - "location": "querystring", - "locationName": "isAscendingOrder", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificates": { - "shape": "S4u" - }, - "nextMarker": {} - } - } - }, - "ListCertificatesByCA": { - "http": { - "method": "GET", - "requestUri": "/certificates-by-ca/{caCertificateId}" - }, - "input": { - "type": "structure", - "required": [ - "caCertificateId" - ], - "members": { - "caCertificateId": { - "location": "uri", - "locationName": "caCertificateId" - }, - "pageSize": { - "location": "querystring", - "locationName": "pageSize", - "type": "integer" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "ascendingOrder": { - "location": "querystring", - "locationName": "isAscendingOrder", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificates": { - "shape": "S4u" - }, - "nextMarker": {} - } - } - }, - "ListOutgoingCertificates": { - "http": { - "method": "GET", - "requestUri": "/certificates-out-going" - }, - "input": { - "type": "structure", - "members": { - "pageSize": { - "location": "querystring", - "locationName": "pageSize", - "type": "integer" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "ascendingOrder": { - "location": "querystring", - "locationName": "isAscendingOrder", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "outgoingCertificates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "transferredTo": {}, - "transferDate": { - "type": "timestamp" - }, - "transferMessage": {}, - "creationDate": { - "type": "timestamp" - } - } - } - }, - "nextMarker": {} - } - } - }, - "ListPolicies": { - "http": { - "method": "GET", - "requestUri": "/policies" - }, - "input": { - "type": "structure", - "members": { - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "pageSize": { - "location": "querystring", - "locationName": "pageSize", - "type": "integer" - }, - "ascendingOrder": { - "location": "querystring", - "locationName": "isAscendingOrder", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "policies": { - "shape": "S54" - }, - "nextMarker": {} - } - } - }, - "ListPolicyPrincipals": { - "http": { - "method": "GET", - "requestUri": "/policy-principals" - }, - "input": { - "type": "structure", - "required": [ - "policyName" - ], - "members": { - "policyName": { - "location": "header", - "locationName": "x-amzn-iot-policy" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "pageSize": { - "location": "querystring", - "locationName": "pageSize", - "type": "integer" - }, - "ascendingOrder": { - "location": "querystring", - "locationName": "isAscendingOrder", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "principals": { - "shape": "S58" - }, - "nextMarker": {} - } - } - }, - "ListPolicyVersions": { - "http": { - "method": "GET", - "requestUri": "/policies/{policyName}/version" - }, - "input": { - "type": "structure", - "required": [ - "policyName" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - } - } - }, - "output": { - "type": "structure", - "members": { - "policyVersions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "versionId": {}, - "isDefaultVersion": { - "type": "boolean" - }, - "createDate": { - "type": "timestamp" - } - } - } - } - } - } - }, - "ListPrincipalPolicies": { - "http": { - "method": "GET", - "requestUri": "/principal-policies" - }, - "input": { - "type": "structure", - "required": [ - "principal" - ], - "members": { - "principal": { - "location": "header", - "locationName": "x-amzn-iot-principal" - }, - "marker": { - "location": "querystring", - "locationName": "marker" - }, - "pageSize": { - "location": "querystring", - "locationName": "pageSize", - "type": "integer" - }, - "ascendingOrder": { - "location": "querystring", - "locationName": "isAscendingOrder", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "policies": { - "shape": "S54" - }, - "nextMarker": {} - } - } - }, - "ListPrincipalThings": { - "http": { - "method": "GET", - "requestUri": "/principals/things" - }, - "input": { - "type": "structure", - "required": [ - "principal" - ], - "members": { - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "principal": { - "location": "header", - "locationName": "x-amzn-principal" - } - } - }, - "output": { - "type": "structure", - "members": { - "things": { - "type": "list", - "member": {} - }, - "nextToken": {} - } - } - }, - "ListThingPrincipals": { - "http": { - "method": "GET", - "requestUri": "/things/{thingName}/principals" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - } - } - }, - "output": { - "type": "structure", - "members": { - "principals": { - "shape": "S58" - } - } - } - }, - "ListThingTypes": { - "http": { - "method": "GET", - "requestUri": "/thing-types" - }, - "input": { - "type": "structure", - "members": { - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "thingTypeName": { - "location": "querystring", - "locationName": "thingTypeName" - } - } - }, - "output": { - "type": "structure", - "members": { - "thingTypes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "thingTypeName": {}, - "thingTypeProperties": { - "shape": "S14" - }, - "thingTypeMetadata": { - "shape": "S3x" - } - } - } - }, - "nextToken": {} - } - } - }, - "ListThings": { - "http": { - "method": "GET", - "requestUri": "/things" - }, - "input": { - "type": "structure", - "members": { - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "attributeName": { - "location": "querystring", - "locationName": "attributeName" - }, - "attributeValue": { - "location": "querystring", - "locationName": "attributeValue" - }, - "thingTypeName": { - "location": "querystring", - "locationName": "thingTypeName" - } - } - }, - "output": { - "type": "structure", - "members": { - "things": { - "type": "list", - "member": { - "type": "structure", - "members": { - "thingName": {}, - "thingTypeName": {}, - "attributes": { - "shape": "Sx" - }, - "version": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "ListTopicRules": { - "http": { - "method": "GET", - "requestUri": "/rules" - }, - "input": { - "type": "structure", - "members": { - "topic": { - "location": "querystring", - "locationName": "topic" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "ruleDisabled": { - "location": "querystring", - "locationName": "ruleDisabled", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "rules": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ruleArn": {}, - "ruleName": {}, - "topicPattern": {}, - "createdAt": { - "type": "timestamp" - }, - "ruleDisabled": { - "type": "boolean" - } - } - } - }, - "nextToken": {} - } - } - }, - "RegisterCACertificate": { - "http": { - "requestUri": "/cacertificate" - }, - "input": { - "type": "structure", - "required": [ - "caCertificate", - "verificationCertificate" - ], - "members": { - "caCertificate": {}, - "verificationCertificate": {}, - "setAsActive": { - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - }, - "allowAutoRegistration": { - "location": "querystring", - "locationName": "allowAutoRegistration", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {} - } - } - }, - "RegisterCertificate": { - "http": { - "requestUri": "/certificate/register" - }, - "input": { - "type": "structure", - "required": [ - "certificatePem" - ], - "members": { - "certificatePem": {}, - "caCertificatePem": {}, - "setAsActive": { - "deprecated": true, - "location": "querystring", - "locationName": "setAsActive", - "type": "boolean" - }, - "status": {} - } - }, - "output": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {} - } - } - }, - "RejectCertificateTransfer": { - "http": { - "method": "PATCH", - "requestUri": "/reject-certificate-transfer/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - }, - "rejectReason": {} - } - } - }, - "ReplaceTopicRule": { - "http": { - "method": "PATCH", - "requestUri": "/rules/{ruleName}" - }, - "input": { - "type": "structure", - "required": [ - "ruleName", - "topicRulePayload" - ], - "members": { - "ruleName": { - "location": "uri", - "locationName": "ruleName" - }, - "topicRulePayload": { - "shape": "S1b" - } - }, - "payload": "topicRulePayload" - } - }, - "SetDefaultPolicyVersion": { - "http": { - "method": "PATCH", - "requestUri": "/policies/{policyName}/version/{policyVersionId}" - }, - "input": { - "type": "structure", - "required": [ - "policyName", - "policyVersionId" - ], - "members": { - "policyName": { - "location": "uri", - "locationName": "policyName" - }, - "policyVersionId": { - "location": "uri", - "locationName": "policyVersionId" - } - } - } - }, - "SetLoggingOptions": { - "http": { - "requestUri": "/loggingOptions" - }, - "input": { - "type": "structure", - "required": [ - "loggingOptionsPayload" - ], - "members": { - "loggingOptionsPayload": { - "type": "structure", - "required": [ - "roleArn" - ], - "members": { - "roleArn": {}, - "logLevel": {} - } - } - }, - "payload": "loggingOptionsPayload" - } - }, - "TransferCertificate": { - "http": { - "method": "PATCH", - "requestUri": "/transfer-certificate/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId", - "targetAwsAccount" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - }, - "targetAwsAccount": { - "location": "querystring", - "locationName": "targetAwsAccount" - }, - "transferMessage": {} - } - }, - "output": { - "type": "structure", - "members": { - "transferredCertificateArn": {} - } - } - }, - "UpdateCACertificate": { - "http": { - "method": "PUT", - "requestUri": "/cacertificate/{caCertificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "caCertificateId" - }, - "newStatus": { - "location": "querystring", - "locationName": "newStatus" - }, - "newAutoRegistrationStatus": { - "location": "querystring", - "locationName": "newAutoRegistrationStatus" - } - } - } - }, - "UpdateCertificate": { - "http": { - "method": "PUT", - "requestUri": "/certificates/{certificateId}" - }, - "input": { - "type": "structure", - "required": [ - "certificateId", - "newStatus" - ], - "members": { - "certificateId": { - "location": "uri", - "locationName": "certificateId" - }, - "newStatus": { - "location": "querystring", - "locationName": "newStatus" - } - } - } - }, - "UpdateThing": { - "http": { - "method": "PATCH", - "requestUri": "/things/{thingName}" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "thingTypeName": {}, - "attributePayload": { - "shape": "Sw" - }, - "expectedVersion": { - "type": "long" - }, - "removeThingType": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "Sw": { - "type": "structure", - "members": { - "attributes": { - "shape": "Sx" - }, - "merge": { - "type": "boolean" - } - } - }, - "Sx": { - "type": "map", - "key": {}, - "value": {} - }, - "S14": { - "type": "structure", - "members": { - "thingTypeDescription": {}, - "searchableAttributes": { - "type": "list", - "member": {} - } - } - }, - "S1b": { - "type": "structure", - "required": [ - "sql", - "actions" - ], - "members": { - "sql": {}, - "description": {}, - "actions": { - "shape": "S1e" - }, - "ruleDisabled": { - "type": "boolean" - }, - "awsIotSqlVersion": {} - } - }, - "S1e": { - "type": "list", - "member": { - "type": "structure", - "members": { - "dynamoDB": { - "type": "structure", - "required": [ - "tableName", - "roleArn", - "hashKeyField", - "hashKeyValue" - ], - "members": { - "tableName": {}, - "roleArn": {}, - "operation": {}, - "hashKeyField": {}, - "hashKeyValue": {}, - "hashKeyType": {}, - "rangeKeyField": {}, - "rangeKeyValue": {}, - "rangeKeyType": {}, - "payloadField": {} - } - }, - "dynamoDBv2": { - "type": "structure", - "members": { - "roleArn": {}, - "putItem": { - "type": "structure", - "required": [ - "tableName" - ], - "members": { - "tableName": {} - } - } - } - }, - "lambda": { - "type": "structure", - "required": [ - "functionArn" - ], - "members": { - "functionArn": {} - } - }, - "sns": { - "type": "structure", - "required": [ - "targetArn", - "roleArn" - ], - "members": { - "targetArn": {}, - "roleArn": {}, - "messageFormat": {} - } - }, - "sqs": { - "type": "structure", - "required": [ - "roleArn", - "queueUrl" - ], - "members": { - "roleArn": {}, - "queueUrl": {}, - "useBase64": { - "type": "boolean" - } - } - }, - "kinesis": { - "type": "structure", - "required": [ - "roleArn", - "streamName" - ], - "members": { - "roleArn": {}, - "streamName": {}, - "partitionKey": {} - } - }, - "republish": { - "type": "structure", - "required": [ - "roleArn", - "topic" - ], - "members": { - "roleArn": {}, - "topic": {} - } - }, - "s3": { - "type": "structure", - "required": [ - "roleArn", - "bucketName", - "key" - ], - "members": { - "roleArn": {}, - "bucketName": {}, - "key": {}, - "cannedAcl": {} - } - }, - "firehose": { - "type": "structure", - "required": [ - "roleArn", - "deliveryStreamName" - ], - "members": { - "roleArn": {}, - "deliveryStreamName": {}, - "separator": {} - } - }, - "cloudwatchMetric": { - "type": "structure", - "required": [ - "roleArn", - "metricNamespace", - "metricName", - "metricValue", - "metricUnit" - ], - "members": { - "roleArn": {}, - "metricNamespace": {}, - "metricName": {}, - "metricValue": {}, - "metricUnit": {}, - "metricTimestamp": {} - } - }, - "cloudwatchAlarm": { - "type": "structure", - "required": [ - "roleArn", - "alarmName", - "stateReason", - "stateValue" - ], - "members": { - "roleArn": {}, - "alarmName": {}, - "stateReason": {}, - "stateValue": {} - } - }, - "elasticsearch": { - "type": "structure", - "required": [ - "roleArn", - "endpoint", - "index", - "type", - "id" - ], - "members": { - "roleArn": {}, - "endpoint": {}, - "index": {}, - "type": {}, - "id": {} - } - }, - "salesforce": { - "type": "structure", - "required": [ - "token", - "url" - ], - "members": { - "token": {}, - "url": {} - } - } - } - } - }, - "S3x": { - "type": "structure", - "members": { - "deprecated": { - "type": "boolean" - }, - "deprecationDate": { - "type": "timestamp" - }, - "creationDate": { - "type": "timestamp" - } - } - }, - "S4u": { - "type": "list", - "member": { - "type": "structure", - "members": { - "certificateArn": {}, - "certificateId": {}, - "status": {}, - "creationDate": { - "type": "timestamp" - } - } - } - }, - "S54": { - "type": "list", - "member": { - "type": "structure", - "members": { - "policyName": {}, - "policyArn": {} - } - } - }, - "S58": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/iot-2015-05-28.paginators.json b/src/node_modules/aws-sdk/apis/iot-2015-05-28.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/iot-2015-05-28.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json b/src/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json deleted file mode 100644 index d3946b8..0000000 --- a/src/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "iot-data-2015-05-28", - "apiVersion": "2015-05-28", - "endpointPrefix": "data.iot", - "protocol": "rest-json", - "serviceFullName": "AWS IoT Data Plane", - "signatureVersion": "v4", - "signingName": "iotdata" - }, - "operations": { - "DeleteThingShadow": { - "http": { - "method": "DELETE", - "requestUri": "/things/{thingName}/shadow" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - } - } - }, - "output": { - "type": "structure", - "required": [ - "payload" - ], - "members": { - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - }, - "GetThingShadow": { - "http": { - "method": "GET", - "requestUri": "/things/{thingName}/shadow" - }, - "input": { - "type": "structure", - "required": [ - "thingName" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - } - } - }, - "output": { - "type": "structure", - "members": { - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - }, - "Publish": { - "http": { - "requestUri": "/topics/{topic}" - }, - "input": { - "type": "structure", - "required": [ - "topic" - ], - "members": { - "topic": { - "location": "uri", - "locationName": "topic" - }, - "qos": { - "location": "querystring", - "locationName": "qos", - "type": "integer" - }, - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - }, - "UpdateThingShadow": { - "http": { - "requestUri": "/things/{thingName}/shadow" - }, - "input": { - "type": "structure", - "required": [ - "thingName", - "payload" - ], - "members": { - "thingName": { - "location": "uri", - "locationName": "thingName" - }, - "payload": { - "type": "blob" - } - }, - "payload": "payload" - }, - "output": { - "type": "structure", - "members": { - "payload": { - "type": "blob" - } - }, - "payload": "payload" - } - } - }, - "shapes": {} -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.examples.json b/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json b/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json deleted file mode 100644 index c95dbb0..0000000 --- a/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json +++ /dev/null @@ -1,593 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-12-02", - "endpointPrefix": "kinesis", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Kinesis", - "serviceFullName": "Amazon Kinesis", - "signatureVersion": "v4", - "targetPrefix": "Kinesis_20131202", - "uid": "kinesis-2013-12-02" - }, - "operations": { - "AddTagsToStream": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "Tags" - ], - "members": { - "StreamName": {}, - "Tags": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "CreateStream": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardCount" - ], - "members": { - "StreamName": {}, - "ShardCount": { - "type": "integer" - } - } - } - }, - "DecreaseStreamRetentionPeriod": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "RetentionPeriodHours" - ], - "members": { - "StreamName": {}, - "RetentionPeriodHours": { - "type": "integer" - } - } - } - }, - "DeleteStream": { - "input": { - "type": "structure", - "required": [ - "StreamName" - ], - "members": { - "StreamName": {} - } - } - }, - "DescribeLimits": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "ShardLimit", - "OpenShardCount" - ], - "members": { - "ShardLimit": { - "type": "integer" - }, - "OpenShardCount": { - "type": "integer" - } - } - } - }, - "DescribeStream": { - "input": { - "type": "structure", - "required": [ - "StreamName" - ], - "members": { - "StreamName": {}, - "Limit": { - "type": "integer" - }, - "ExclusiveStartShardId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "StreamDescription" - ], - "members": { - "StreamDescription": { - "type": "structure", - "required": [ - "StreamName", - "StreamARN", - "StreamStatus", - "Shards", - "HasMoreShards", - "RetentionPeriodHours", - "StreamCreationTimestamp", - "EnhancedMonitoring" - ], - "members": { - "StreamName": {}, - "StreamARN": {}, - "StreamStatus": {}, - "Shards": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ShardId", - "HashKeyRange", - "SequenceNumberRange" - ], - "members": { - "ShardId": {}, - "ParentShardId": {}, - "AdjacentParentShardId": {}, - "HashKeyRange": { - "type": "structure", - "required": [ - "StartingHashKey", - "EndingHashKey" - ], - "members": { - "StartingHashKey": {}, - "EndingHashKey": {} - } - }, - "SequenceNumberRange": { - "type": "structure", - "required": [ - "StartingSequenceNumber" - ], - "members": { - "StartingSequenceNumber": {}, - "EndingSequenceNumber": {} - } - } - } - } - }, - "HasMoreShards": { - "type": "boolean" - }, - "RetentionPeriodHours": { - "type": "integer" - }, - "StreamCreationTimestamp": { - "type": "timestamp" - }, - "EnhancedMonitoring": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ShardLevelMetrics": { - "shape": "Su" - } - } - } - }, - "EncryptionType": {}, - "KeyId": {} - } - } - } - } - }, - "DisableEnhancedMonitoring": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardLevelMetrics" - ], - "members": { - "StreamName": {}, - "ShardLevelMetrics": { - "shape": "Su" - } - } - }, - "output": { - "shape": "Sz" - } - }, - "EnableEnhancedMonitoring": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardLevelMetrics" - ], - "members": { - "StreamName": {}, - "ShardLevelMetrics": { - "shape": "Su" - } - } - }, - "output": { - "shape": "Sz" - } - }, - "GetRecords": { - "input": { - "type": "structure", - "required": [ - "ShardIterator" - ], - "members": { - "ShardIterator": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Records" - ], - "members": { - "Records": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "SequenceNumber", - "Data", - "PartitionKey" - ], - "members": { - "SequenceNumber": {}, - "ApproximateArrivalTimestamp": { - "type": "timestamp" - }, - "Data": { - "type": "blob" - }, - "PartitionKey": {}, - "EncryptionType": {} - } - } - }, - "NextShardIterator": {}, - "MillisBehindLatest": { - "type": "long" - } - } - } - }, - "GetShardIterator": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardId", - "ShardIteratorType" - ], - "members": { - "StreamName": {}, - "ShardId": {}, - "ShardIteratorType": {}, - "StartingSequenceNumber": {}, - "Timestamp": { - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": { - "ShardIterator": {} - } - } - }, - "IncreaseStreamRetentionPeriod": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "RetentionPeriodHours" - ], - "members": { - "StreamName": {}, - "RetentionPeriodHours": { - "type": "integer" - } - } - } - }, - "ListStreams": { - "input": { - "type": "structure", - "members": { - "Limit": { - "type": "integer" - }, - "ExclusiveStartStreamName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "StreamNames", - "HasMoreStreams" - ], - "members": { - "StreamNames": { - "type": "list", - "member": {} - }, - "HasMoreStreams": { - "type": "boolean" - } - } - } - }, - "ListTagsForStream": { - "input": { - "type": "structure", - "required": [ - "StreamName" - ], - "members": { - "StreamName": {}, - "ExclusiveStartTagKey": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Tags", - "HasMoreTags" - ], - "members": { - "Tags": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "HasMoreTags": { - "type": "boolean" - } - } - } - }, - "MergeShards": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardToMerge", - "AdjacentShardToMerge" - ], - "members": { - "StreamName": {}, - "ShardToMerge": {}, - "AdjacentShardToMerge": {} - } - } - }, - "PutRecord": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "Data", - "PartitionKey" - ], - "members": { - "StreamName": {}, - "Data": { - "type": "blob" - }, - "PartitionKey": {}, - "ExplicitHashKey": {}, - "SequenceNumberForOrdering": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ShardId", - "SequenceNumber" - ], - "members": { - "ShardId": {}, - "SequenceNumber": {}, - "EncryptionType": {} - } - } - }, - "PutRecords": { - "input": { - "type": "structure", - "required": [ - "Records", - "StreamName" - ], - "members": { - "Records": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Data", - "PartitionKey" - ], - "members": { - "Data": { - "type": "blob" - }, - "ExplicitHashKey": {}, - "PartitionKey": {} - } - } - }, - "StreamName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Records" - ], - "members": { - "FailedRecordCount": { - "type": "integer" - }, - "Records": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SequenceNumber": {}, - "ShardId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - }, - "EncryptionType": {} - } - } - }, - "RemoveTagsFromStream": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "TagKeys" - ], - "members": { - "StreamName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "SplitShard": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "ShardToSplit", - "NewStartingHashKey" - ], - "members": { - "StreamName": {}, - "ShardToSplit": {}, - "NewStartingHashKey": {} - } - } - }, - "StartStreamEncryption": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "EncryptionType", - "KeyId" - ], - "members": { - "StreamName": {}, - "EncryptionType": {}, - "KeyId": {} - } - } - }, - "StopStreamEncryption": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "EncryptionType", - "KeyId" - ], - "members": { - "StreamName": {}, - "EncryptionType": {}, - "KeyId": {} - } - } - }, - "UpdateShardCount": { - "input": { - "type": "structure", - "required": [ - "StreamName", - "TargetShardCount", - "ScalingType" - ], - "members": { - "StreamName": {}, - "TargetShardCount": { - "type": "integer" - }, - "ScalingType": {} - } - }, - "output": { - "type": "structure", - "members": { - "StreamName": {}, - "CurrentShardCount": { - "type": "integer" - }, - "TargetShardCount": { - "type": "integer" - } - } - } - } - }, - "shapes": { - "Su": { - "type": "list", - "member": {} - }, - "Sz": { - "type": "structure", - "members": { - "StreamName": {}, - "CurrentShardLevelMetrics": { - "shape": "Su" - }, - "DesiredShardLevelMetrics": { - "shape": "Su" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json b/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json deleted file mode 100644 index 118a590..0000000 --- a/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "pagination": { - "DescribeStream": { - "input_token": "ExclusiveStartShardId", - "limit_key": "Limit", - "more_results": "StreamDescription.HasMoreShards", - "output_token": "StreamDescription.Shards[-1].ShardId", - "result_key": "StreamDescription.Shards" - }, - "ListStreams": { - "input_token": "ExclusiveStartStreamName", - "limit_key": "Limit", - "more_results": "HasMoreStreams", - "output_token": "StreamNames[-1]", - "result_key": "StreamNames" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.waiters2.json b/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.waiters2.json deleted file mode 100644 index d61efe4..0000000 --- a/src/node_modules/aws-sdk/apis/kinesis-2013-12-02.waiters2.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "version": 2, - "waiters": { - "StreamExists": { - "delay": 10, - "operation": "DescribeStream", - "maxAttempts": 18, - "acceptors": [ - { - "expected": "ACTIVE", - "matcher": "path", - "state": "success", - "argument": "StreamDescription.StreamStatus" - } - ] - }, - "StreamNotExists": { - "delay": 10, - "operation": "DescribeStream", - "maxAttempts": 18, - "acceptors": [ - { - "expected": "ResourceNotFoundException", - "matcher": "error", - "state": "success" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.examples.json b/src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.min.json b/src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.min.json deleted file mode 100644 index b4ed11d..0000000 --- a/src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.min.json +++ /dev/null @@ -1,847 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-08-14", - "endpointPrefix": "kinesisanalytics", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Kinesis Analytics", - "serviceFullName": "Amazon Kinesis Analytics", - "signatureVersion": "v4", - "targetPrefix": "KinesisAnalytics_20150814", - "timestampFormat": "unixTimestamp", - "uid": "kinesisanalytics-2015-08-14" - }, - "operations": { - "AddApplicationCloudWatchLoggingOption": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CurrentApplicationVersionId", - "CloudWatchLoggingOption" - ], - "members": { - "ApplicationName": {}, - "CurrentApplicationVersionId": { - "type": "long" - }, - "CloudWatchLoggingOption": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AddApplicationInput": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CurrentApplicationVersionId", - "Input" - ], - "members": { - "ApplicationName": {}, - "CurrentApplicationVersionId": { - "type": "long" - }, - "Input": { - "shape": "S9" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AddApplicationOutput": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CurrentApplicationVersionId", - "Output" - ], - "members": { - "ApplicationName": {}, - "CurrentApplicationVersionId": { - "type": "long" - }, - "Output": { - "shape": "Sx" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AddApplicationReferenceDataSource": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CurrentApplicationVersionId", - "ReferenceDataSource" - ], - "members": { - "ApplicationName": {}, - "CurrentApplicationVersionId": { - "type": "long" - }, - "ReferenceDataSource": { - "type": "structure", - "required": [ - "TableName", - "ReferenceSchema" - ], - "members": { - "TableName": {}, - "S3ReferenceDataSource": { - "type": "structure", - "required": [ - "BucketARN", - "FileKey", - "ReferenceRoleARN" - ], - "members": { - "BucketARN": {}, - "FileKey": {}, - "ReferenceRoleARN": {} - } - }, - "ReferenceSchema": { - "shape": "Sg" - } - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {}, - "ApplicationDescription": {}, - "Inputs": { - "type": "list", - "member": { - "shape": "S9" - } - }, - "Outputs": { - "type": "list", - "member": { - "shape": "Sx" - } - }, - "CloudWatchLoggingOptions": { - "type": "list", - "member": { - "shape": "S4" - } - }, - "ApplicationCode": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ApplicationSummary" - ], - "members": { - "ApplicationSummary": { - "shape": "S1g" - } - } - } - }, - "DeleteApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CreateTimestamp" - ], - "members": { - "ApplicationName": {}, - "CreateTimestamp": { - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteApplicationCloudWatchLoggingOption": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CurrentApplicationVersionId", - "CloudWatchLoggingOptionId" - ], - "members": { - "ApplicationName": {}, - "CurrentApplicationVersionId": { - "type": "long" - }, - "CloudWatchLoggingOptionId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteApplicationOutput": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CurrentApplicationVersionId", - "OutputId" - ], - "members": { - "ApplicationName": {}, - "CurrentApplicationVersionId": { - "type": "long" - }, - "OutputId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteApplicationReferenceDataSource": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CurrentApplicationVersionId", - "ReferenceId" - ], - "members": { - "ApplicationName": {}, - "CurrentApplicationVersionId": { - "type": "long" - }, - "ReferenceId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ApplicationDetail" - ], - "members": { - "ApplicationDetail": { - "type": "structure", - "required": [ - "ApplicationName", - "ApplicationARN", - "ApplicationStatus", - "ApplicationVersionId" - ], - "members": { - "ApplicationName": {}, - "ApplicationDescription": {}, - "ApplicationARN": {}, - "ApplicationStatus": {}, - "CreateTimestamp": { - "type": "timestamp" - }, - "LastUpdateTimestamp": { - "type": "timestamp" - }, - "InputDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InputId": {}, - "NamePrefix": {}, - "InAppStreamNames": { - "type": "list", - "member": {} - }, - "KinesisStreamsInputDescription": { - "type": "structure", - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "KinesisFirehoseInputDescription": { - "type": "structure", - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "InputSchema": { - "shape": "Sg" - }, - "InputParallelism": { - "shape": "Se" - }, - "InputStartingPositionConfiguration": { - "shape": "S20" - } - } - } - }, - "OutputDescriptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "OutputId": {}, - "Name": {}, - "KinesisStreamsOutputDescription": { - "type": "structure", - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "KinesisFirehoseOutputDescription": { - "type": "structure", - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "DestinationSchema": { - "shape": "S10" - } - } - } - }, - "ReferenceDataSourceDescriptions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ReferenceId", - "TableName", - "S3ReferenceDataSourceDescription" - ], - "members": { - "ReferenceId": {}, - "TableName": {}, - "S3ReferenceDataSourceDescription": { - "type": "structure", - "required": [ - "BucketARN", - "FileKey", - "ReferenceRoleARN" - ], - "members": { - "BucketARN": {}, - "FileKey": {}, - "ReferenceRoleARN": {} - } - }, - "ReferenceSchema": { - "shape": "Sg" - } - } - } - }, - "CloudWatchLoggingOptionDescriptions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "LogStreamARN", - "RoleARN" - ], - "members": { - "CloudWatchLoggingOptionId": {}, - "LogStreamARN": {}, - "RoleARN": {} - } - } - }, - "ApplicationCode": {}, - "ApplicationVersionId": { - "type": "long" - } - } - } - } - } - }, - "DiscoverInputSchema": { - "input": { - "type": "structure", - "required": [ - "ResourceARN", - "RoleARN", - "InputStartingPositionConfiguration" - ], - "members": { - "ResourceARN": {}, - "RoleARN": {}, - "InputStartingPositionConfiguration": { - "shape": "S20" - } - } - }, - "output": { - "type": "structure", - "members": { - "InputSchema": { - "shape": "Sg" - }, - "ParsedInputRecords": { - "type": "list", - "member": { - "type": "list", - "member": {} - } - }, - "RawInputRecords": { - "type": "list", - "member": {} - } - } - } - }, - "ListApplications": { - "input": { - "type": "structure", - "members": { - "Limit": { - "type": "integer" - }, - "ExclusiveStartApplicationName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ApplicationSummaries", - "HasMoreApplications" - ], - "members": { - "ApplicationSummaries": { - "type": "list", - "member": { - "shape": "S1g" - } - }, - "HasMoreApplications": { - "type": "boolean" - } - } - } - }, - "StartApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "InputConfigurations" - ], - "members": { - "ApplicationName": {}, - "InputConfigurations": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Id", - "InputStartingPositionConfiguration" - ], - "members": { - "Id": {}, - "InputStartingPositionConfiguration": { - "shape": "S20" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "StopApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName" - ], - "members": { - "ApplicationName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateApplication": { - "input": { - "type": "structure", - "required": [ - "ApplicationName", - "CurrentApplicationVersionId", - "ApplicationUpdate" - ], - "members": { - "ApplicationName": {}, - "CurrentApplicationVersionId": { - "type": "long" - }, - "ApplicationUpdate": { - "type": "structure", - "members": { - "InputUpdates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "InputId" - ], - "members": { - "InputId": {}, - "NamePrefixUpdate": {}, - "KinesisStreamsInputUpdate": { - "type": "structure", - "members": { - "ResourceARNUpdate": {}, - "RoleARNUpdate": {} - } - }, - "KinesisFirehoseInputUpdate": { - "type": "structure", - "members": { - "ResourceARNUpdate": {}, - "RoleARNUpdate": {} - } - }, - "InputSchemaUpdate": { - "type": "structure", - "members": { - "RecordFormatUpdate": { - "shape": "Sh" - }, - "RecordEncodingUpdate": {}, - "RecordColumnUpdates": { - "shape": "Sq" - } - } - }, - "InputParallelismUpdate": { - "type": "structure", - "members": { - "CountUpdate": { - "type": "integer" - } - } - } - } - } - }, - "ApplicationCodeUpdate": {}, - "OutputUpdates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "OutputId" - ], - "members": { - "OutputId": {}, - "NameUpdate": {}, - "KinesisStreamsOutputUpdate": { - "type": "structure", - "members": { - "ResourceARNUpdate": {}, - "RoleARNUpdate": {} - } - }, - "KinesisFirehoseOutputUpdate": { - "type": "structure", - "members": { - "ResourceARNUpdate": {}, - "RoleARNUpdate": {} - } - }, - "DestinationSchemaUpdate": { - "shape": "S10" - } - } - } - }, - "ReferenceDataSourceUpdates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ReferenceId" - ], - "members": { - "ReferenceId": {}, - "TableNameUpdate": {}, - "S3ReferenceDataSourceUpdate": { - "type": "structure", - "members": { - "BucketARNUpdate": {}, - "FileKeyUpdate": {}, - "ReferenceRoleARNUpdate": {} - } - }, - "ReferenceSchemaUpdate": { - "shape": "Sg" - } - } - } - }, - "CloudWatchLoggingOptionUpdates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "CloudWatchLoggingOptionId" - ], - "members": { - "CloudWatchLoggingOptionId": {}, - "LogStreamARNUpdate": {}, - "RoleARNUpdate": {} - } - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "required": [ - "LogStreamARN", - "RoleARN" - ], - "members": { - "LogStreamARN": {}, - "RoleARN": {} - } - }, - "S9": { - "type": "structure", - "required": [ - "NamePrefix", - "InputSchema" - ], - "members": { - "NamePrefix": {}, - "KinesisStreamsInput": { - "type": "structure", - "required": [ - "ResourceARN", - "RoleARN" - ], - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "KinesisFirehoseInput": { - "type": "structure", - "required": [ - "ResourceARN", - "RoleARN" - ], - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "InputParallelism": { - "shape": "Se" - }, - "InputSchema": { - "shape": "Sg" - } - } - }, - "Se": { - "type": "structure", - "members": { - "Count": { - "type": "integer" - } - } - }, - "Sg": { - "type": "structure", - "required": [ - "RecordFormat", - "RecordColumns" - ], - "members": { - "RecordFormat": { - "shape": "Sh" - }, - "RecordEncoding": {}, - "RecordColumns": { - "shape": "Sq" - } - } - }, - "Sh": { - "type": "structure", - "required": [ - "RecordFormatType" - ], - "members": { - "RecordFormatType": {}, - "MappingParameters": { - "type": "structure", - "members": { - "JSONMappingParameters": { - "type": "structure", - "required": [ - "RecordRowPath" - ], - "members": { - "RecordRowPath": {} - } - }, - "CSVMappingParameters": { - "type": "structure", - "required": [ - "RecordRowDelimiter", - "RecordColumnDelimiter" - ], - "members": { - "RecordRowDelimiter": {}, - "RecordColumnDelimiter": {} - } - } - } - } - } - }, - "Sq": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "SqlType" - ], - "members": { - "Name": {}, - "Mapping": {}, - "SqlType": {} - } - } - }, - "Sx": { - "type": "structure", - "required": [ - "Name", - "DestinationSchema" - ], - "members": { - "Name": {}, - "KinesisStreamsOutput": { - "type": "structure", - "required": [ - "ResourceARN", - "RoleARN" - ], - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "KinesisFirehoseOutput": { - "type": "structure", - "required": [ - "ResourceARN", - "RoleARN" - ], - "members": { - "ResourceARN": {}, - "RoleARN": {} - } - }, - "DestinationSchema": { - "shape": "S10" - } - } - }, - "S10": { - "type": "structure", - "members": { - "RecordFormatType": {} - } - }, - "S1g": { - "type": "structure", - "required": [ - "ApplicationName", - "ApplicationARN", - "ApplicationStatus" - ], - "members": { - "ApplicationName": {}, - "ApplicationARN": {}, - "ApplicationStatus": {} - } - }, - "S20": { - "type": "structure", - "members": { - "InputStartingPosition": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.paginators.json b/src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/kinesisanalytics-2015-08-14.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json b/src/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json deleted file mode 100644 index 39ffbee..0000000 --- a/src/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +++ /dev/null @@ -1,904 +0,0 @@ -{ - "version": "1.0", - "examples": { - "CancelKeyDeletion": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "output": { - "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK whose deletion you are canceling. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - }, - "output": { - "KeyId": "The ARN of the CMK whose deletion you canceled." - } - }, - "description": "The following example cancels deletion of the specified CMK.", - "id": "to-cancel-deletion-of-a-cmk-1477428535102", - "title": "To cancel deletion of a customer master key (CMK)" - } - ], - "CreateAlias": [ - { - "input": { - "AliasName": "alias/ExampleAlias", - "TargetKeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "AliasName": "The alias to create. Aliases must begin with 'alias/'. Do not use aliases that begin with 'alias/aws' because they are reserved for use by AWS.", - "TargetKeyId": "The identifier of the CMK whose alias you are creating. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - } - }, - "description": "The following example creates an alias for the specified customer master key (CMK).", - "id": "to-create-an-alias-1477505685119", - "title": "To create an alias" - } - ], - "CreateGrant": [ - { - "input": { - "GranteePrincipal": "arn:aws:iam::111122223333:role/ExampleRole", - "KeyId": "arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "Operations": [ - "Encrypt", - "Decrypt" - ] - }, - "output": { - "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60", - "GrantToken": "AQpAM2RhZTk1MGMyNTk2ZmZmMzEyYWVhOWViN2I1MWM4Mzc0MWFiYjc0ZDE1ODkyNGFlNTIzODZhMzgyZjBlNGY3NiKIAgEBAgB4Pa6VDCWW__MSrqnre1HIN0Grt00ViSSuUjhqOC8OT3YAAADfMIHcBgkqhkiG9w0BBwaggc4wgcsCAQAwgcUGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMmqLyBTAegIn9XlK5AgEQgIGXZQjkBcl1dykDdqZBUQ6L1OfUivQy7JVYO2-ZJP7m6f1g8GzV47HX5phdtONAP7K_HQIflcgpkoCqd_fUnE114mSmiagWkbQ5sqAVV3ov-VeqgrvMe5ZFEWLMSluvBAqdjHEdMIkHMlhlj4ENZbzBfo9Wxk8b8SnwP4kc4gGivedzFXo-dwN8fxjjq_ZZ9JFOj2ijIbj5FyogDCN0drOfi8RORSEuCEmPvjFRMFAwcmwFkN2NPp89amA" - }, - "comments": { - "input": { - "GranteePrincipal": "The identity that is given permission to perform the operations specified in the grant.", - "KeyId": "The identifier of the CMK to which the grant applies. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.", - "Operations": "A list of operations that the grant allows." - }, - "output": { - "GrantId": "The unique identifier of the grant.", - "GrantToken": "The grant token." - } - }, - "description": "The following example creates a grant that allows the specified IAM role to encrypt data with the specified customer master key (CMK).", - "id": "to-create-a-grant-1477972226782", - "title": "To create a grant" - } - ], - "CreateKey": [ - { - "input": { - "Tags": [ - { - "TagKey": "CreatedBy", - "TagValue": "ExampleUser" - } - ] - }, - "output": { - "KeyMetadata": { - "AWSAccountId": "111122223333", - "Arn": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "CreationDate": "2017-01-09T12:00:07-08:00", - "Description": "", - "Enabled": true, - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", - "KeyState": "Enabled", - "KeyUsage": "ENCRYPT_DECRYPT", - "Origin": "AWS_KMS" - } - }, - "comments": { - "input": { - "Tags": "One or more tags. Each tag consists of a tag key and a tag value." - }, - "output": { - "KeyMetadata": "An object that contains information about the CMK created by this operation." - } - }, - "description": "The following example creates a CMK.", - "id": "to-create-a-cmk-1478028992966", - "title": "To create a customer master key (CMK)" - } - ], - "Decrypt": [ - { - "input": { - "CiphertextBlob": "" - }, - "output": { - "KeyId": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "Plaintext": "" - }, - "comments": { - "input": { - "CiphertextBlob": "The encrypted data (ciphertext)." - }, - "output": { - "KeyId": "The Amazon Resource Name (ARN) of the CMK that was used to decrypt the data.", - "Plaintext": "The decrypted (plaintext) data." - } - }, - "description": "The following example decrypts data that was encrypted with a customer master key (CMK) in AWS KMS.", - "id": "to-decrypt-data-1478281622886", - "title": "To decrypt data" - } - ], - "DeleteAlias": [ - { - "input": { - "AliasName": "alias/ExampleAlias" - }, - "comments": { - "input": { - "AliasName": "The alias to delete." - } - }, - "description": "The following example deletes the specified alias.", - "id": "to-delete-an-alias-1478285209338", - "title": "To delete an alias" - } - ], - "DeleteImportedKeyMaterial": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK whose imported key material you are deleting. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - } - }, - "description": "The following example deletes the imported key material from the specified customer master key (CMK).", - "id": "to-delete-imported-key-material-1478561674507", - "title": "To delete imported key material" - } - ], - "DescribeKey": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "output": { - "KeyMetadata": { - "AWSAccountId": "111122223333", - "Arn": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "CreationDate": "2015-10-12T11:45:07-07:00", - "Description": "", - "Enabled": true, - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", - "KeyState": "Enabled", - "KeyUsage": "ENCRYPT_DECRYPT", - "Origin": "AWS_KMS" - } - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK that you want information about. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - }, - "output": { - "KeyMetadata": "An object that contains information about the specified CMK." - } - }, - "description": "The following example returns information (metadata) about the specified CMK.", - "id": "to-obtain-information-about-a-cmk-1478565820907", - "title": "To obtain information about a customer master key (CMK)" - } - ], - "DisableKey": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK to disable. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - } - }, - "description": "The following example disables the specified CMK.", - "id": "to-disable-a-cmk-1478566583659", - "title": "To disable a customer master key (CMK)" - } - ], - "DisableKeyRotation": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK whose key material will no longer be rotated. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - } - }, - "description": "The following example disables automatic annual rotation of the key material for the specified CMK.", - "id": "to-disable-automatic-rotation-of-key-material-1478624396092", - "title": "To disable automatic rotation of key material" - } - ], - "EnableKey": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK to enable. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - } - }, - "description": "The following example enables the specified CMK.", - "id": "to-enable-a-cmk-1478627501129", - "title": "To enable a customer master key (CMK)" - } - ], - "EnableKeyRotation": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK whose key material will be rotated annually. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - } - }, - "description": "The following example enables automatic annual rotation of the key material for the specified CMK.", - "id": "to-enable-automatic-rotation-of-key-material-1478629109677", - "title": "To enable automatic rotation of key material" - } - ], - "Encrypt": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", - "Plaintext": "" - }, - "output": { - "CiphertextBlob": "", - "KeyId": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK to use for encryption. You can use the key ID or Amazon Resource Name (ARN) of the CMK, or the name or ARN of an alias that refers to the CMK.", - "Plaintext": "The data to encrypt." - }, - "output": { - "CiphertextBlob": "The encrypted data (ciphertext).", - "KeyId": "The ARN of the CMK that was used to encrypt the data." - } - }, - "description": "The following example encrypts data with the specified customer master key (CMK).", - "id": "to-encrypt-data-1478906026012", - "title": "To encrypt data" - } - ], - "GenerateDataKey": [ - { - "input": { - "KeyId": "alias/ExampleAlias", - "KeySpec": "AES_256" - }, - "output": { - "CiphertextBlob": "", - "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "Plaintext": "" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK to use to encrypt the data key. You can use the key ID or Amazon Resource Name (ARN) of the CMK, or the name or ARN of an alias that refers to the CMK.", - "KeySpec": "Specifies the type of data key to return." - }, - "output": { - "CiphertextBlob": "The encrypted data key.", - "KeyId": "The ARN of the CMK that was used to encrypt the data key.", - "Plaintext": "The unencrypted (plaintext) data key." - } - }, - "description": "The following example generates a 256-bit symmetric data encryption key (data key) in two formats. One is the unencrypted (plainext) data key, and the other is the data key encrypted with the specified customer master key (CMK).", - "id": "to-generate-a-data-key-1478912956062", - "title": "To generate a data key" - } - ], - "GenerateDataKeyWithoutPlaintext": [ - { - "input": { - "KeyId": "alias/ExampleAlias", - "KeySpec": "AES_256" - }, - "output": { - "CiphertextBlob": "", - "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK to use to encrypt the data key. You can use the key ID or Amazon Resource Name (ARN) of the CMK, or the name or ARN of an alias that refers to the CMK.", - "KeySpec": "Specifies the type of data key to return." - }, - "output": { - "CiphertextBlob": "The encrypted data key.", - "KeyId": "The ARN of the CMK that was used to encrypt the data key." - } - }, - "description": "The following example generates an encrypted copy of a 256-bit symmetric data encryption key (data key). The data key is encrypted with the specified customer master key (CMK).", - "id": "to-generate-an-encrypted-data-key-1478914121134", - "title": "To generate an encrypted data key" - } - ], - "GenerateRandom": [ - { - "input": { - "NumberOfBytes": 32 - }, - "output": { - "Plaintext": "" - }, - "comments": { - "input": { - "NumberOfBytes": "The length of the random data, specified in number of bytes." - }, - "output": { - "Plaintext": "The random data." - } - }, - "description": "The following example uses AWS KMS to generate 32 bytes of random data.", - "id": "to-generate-random-data-1479163645600", - "title": "To generate random data" - } - ], - "GetKeyPolicy": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", - "PolicyName": "default" - }, - "output": { - "Policy": "{\n \"Version\" : \"2012-10-17\",\n \"Id\" : \"key-default-1\",\n \"Statement\" : [ {\n \"Sid\" : \"Enable IAM User Permissions\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : \"arn:aws:iam::111122223333:root\"\n },\n \"Action\" : \"kms:*\",\n \"Resource\" : \"*\"\n } ]\n}" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK whose key policy you want to retrieve. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.", - "PolicyName": "The name of the key policy to retrieve." - }, - "output": { - "Policy": "The key policy document." - } - }, - "description": "The following example retrieves the key policy for the specified customer master key (CMK).", - "id": "to-retrieve-a-key-policy-1479170128325", - "title": "To retrieve a key policy" - } - ], - "GetKeyRotationStatus": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "output": { - "KeyRotationEnabled": true - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK whose key material rotation status you want to retrieve. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - }, - "output": { - "KeyRotationEnabled": "A boolean that indicates the key material rotation status. Returns true when automatic annual rotation of the key material is enabled, or false when it is not." - } - }, - "description": "The following example retrieves the status of automatic annual rotation of the key material for the specified CMK.", - "id": "to-retrieve-the-rotation-status-for-a-cmk-1479172287408", - "title": "To retrieve the rotation status for a customer master key (CMK)" - } - ], - "GetParametersForImport": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", - "WrappingAlgorithm": "RSAES_OAEP_SHA_1", - "WrappingKeySpec": "RSA_2048" - }, - "output": { - "ImportToken": "", - "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "ParametersValidTo": "2016-12-01T14:52:17-08:00", - "PublicKey": "" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK for which to retrieve the public key and import token. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.", - "WrappingAlgorithm": "The algorithm that you will use to encrypt the key material before importing it.", - "WrappingKeySpec": "The type of wrapping key (public key) to return in the response." - }, - "output": { - "ImportToken": "The import token to send with a subsequent ImportKeyMaterial request.", - "KeyId": "The ARN of the CMK for which you are retrieving the public key and import token. This is the same CMK specified in the request.", - "ParametersValidTo": "The time at which the import token and public key are no longer valid.", - "PublicKey": "The public key to use to encrypt the key material before importing it." - } - }, - "description": "The following example retrieves the public key and import token for the specified CMK.", - "id": "to-retrieve-the-public-key-and-import-token-for-a-cmk-1480626483211", - "title": "To retrieve the public key and import token for a customer master key (CMK)" - } - ], - "ImportKeyMaterial": [ - { - "input": { - "EncryptedKeyMaterial": "", - "ExpirationModel": "KEY_MATERIAL_DOES_NOT_EXPIRE", - "ImportToken": "", - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "EncryptedKeyMaterial": "The encrypted key material to import.", - "ExpirationModel": "A value that specifies whether the key material expires.", - "ImportToken": "The import token that you received in the response to a previous GetParametersForImport request.", - "KeyId": "The identifier of the CMK to import the key material into. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - } - }, - "description": "The following example imports key material into the specified CMK.", - "id": "to-import-key-material-into-a-cmk-1480630551969", - "title": "To import key material into a customer master key (CMK)" - } - ], - "ListAliases": [ - { - "output": { - "Aliases": [ - { - "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/acm", - "AliasName": "alias/aws/acm", - "TargetKeyId": "da03f6f7-d279-427a-9cae-de48d07e5b66" - }, - { - "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/ebs", - "AliasName": "alias/aws/ebs", - "TargetKeyId": "25a217e7-7170-4b8c-8bf6-045ea5f70e5b" - }, - { - "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/rds", - "AliasName": "alias/aws/rds", - "TargetKeyId": "7ec3104e-c3f2-4b5c-bf42-bfc4772c6685" - }, - { - "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/redshift", - "AliasName": "alias/aws/redshift", - "TargetKeyId": "08f7a25a-69e2-4fb5-8f10-393db27326fa" - }, - { - "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/s3", - "AliasName": "alias/aws/s3", - "TargetKeyId": "d2b0f1a3-580d-4f79-b836-bc983be8cfa5" - }, - { - "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/example1", - "AliasName": "alias/example1", - "TargetKeyId": "4da1e216-62d0-46c5-a7c0-5f3a3d2f8046" - }, - { - "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/example2", - "AliasName": "alias/example2", - "TargetKeyId": "f32fef59-2cc2-445b-8573-2d73328acbee" - }, - { - "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/example3", - "AliasName": "alias/example3", - "TargetKeyId": "1374ef38-d34e-4d5f-b2c9-4e0daee38855" - } - ], - "Truncated": false - }, - "comments": { - "output": { - "Aliases": "A list of aliases, including the key ID of the customer master key (CMK) that each alias refers to.", - "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not." - } - }, - "description": "The following example lists aliases.", - "id": "to-list-aliases-1480729693349", - "title": "To list aliases" - } - ], - "ListGrants": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "output": { - "Grants": [ - { - "CreationDate": "2016-10-25T14:37:41-07:00", - "GrantId": "91ad875e49b04a9d1f3bdeb84d821f9db6ea95e1098813f6d47f0c65fbe2a172", - "GranteePrincipal": "acm.us-east-2.amazonaws.com", - "IssuingAccount": "arn:aws:iam::111122223333:root", - "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "Operations": [ - "Encrypt", - "ReEncryptFrom", - "ReEncryptTo" - ], - "RetiringPrincipal": "acm.us-east-2.amazonaws.com" - }, - { - "CreationDate": "2016-10-25T14:37:41-07:00", - "GrantId": "a5d67d3e207a8fc1f4928749ee3e52eb0440493a8b9cf05bbfad91655b056200", - "GranteePrincipal": "acm.us-east-2.amazonaws.com", - "IssuingAccount": "arn:aws:iam::111122223333:root", - "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "Operations": [ - "ReEncryptFrom", - "ReEncryptTo" - ], - "RetiringPrincipal": "acm.us-east-2.amazonaws.com" - }, - { - "CreationDate": "2016-10-25T14:37:41-07:00", - "GrantId": "c541aaf05d90cb78846a73b346fc43e65be28b7163129488c738e0c9e0628f4f", - "GranteePrincipal": "acm.us-east-2.amazonaws.com", - "IssuingAccount": "arn:aws:iam::111122223333:root", - "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "Operations": [ - "Encrypt", - "ReEncryptFrom", - "ReEncryptTo" - ], - "RetiringPrincipal": "acm.us-east-2.amazonaws.com" - }, - { - "CreationDate": "2016-10-25T14:37:41-07:00", - "GrantId": "dd2052c67b4c76ee45caf1dc6a1e2d24e8dc744a51b36ae2f067dc540ce0105c", - "GranteePrincipal": "acm.us-east-2.amazonaws.com", - "IssuingAccount": "arn:aws:iam::111122223333:root", - "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "Operations": [ - "Encrypt", - "ReEncryptFrom", - "ReEncryptTo" - ], - "RetiringPrincipal": "acm.us-east-2.amazonaws.com" - } - ], - "Truncated": true - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK whose grants you want to list. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - }, - "output": { - "Grants": "A list of grants.", - "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not." - } - }, - "description": "The following example lists grants for the specified CMK.", - "id": "to-list-grants-for-a-cmk-1481067365389", - "title": "To list grants for a customer master key (CMK)" - } - ], - "ListKeyPolicies": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "output": { - "PolicyNames": [ - "default" - ], - "Truncated": false - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK whose key policies you want to list. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - }, - "output": { - "PolicyNames": "A list of key policy names.", - "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not." - } - }, - "description": "The following example lists key policies for the specified CMK.", - "id": "to-list-key-policies-for-a-cmk-1481069780998", - "title": "To list key policies for a customer master key (CMK)" - } - ], - "ListKeys": [ - { - "output": { - "Keys": [ - { - "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/0d990263-018e-4e65-a703-eff731de951e", - "KeyId": "0d990263-018e-4e65-a703-eff731de951e" - }, - { - "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/144be297-0ae1-44ac-9c8f-93cd8c82f841", - "KeyId": "144be297-0ae1-44ac-9c8f-93cd8c82f841" - }, - { - "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/21184251-b765-428e-b852-2c7353e72571", - "KeyId": "21184251-b765-428e-b852-2c7353e72571" - }, - { - "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/214fe92f-5b03-4ae1-b350-db2a45dbe10c", - "KeyId": "214fe92f-5b03-4ae1-b350-db2a45dbe10c" - }, - { - "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/339963f2-e523-49d3-af24-a0fe752aa458", - "KeyId": "339963f2-e523-49d3-af24-a0fe752aa458" - }, - { - "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/b776a44b-df37-4438-9be4-a27494e4271a", - "KeyId": "b776a44b-df37-4438-9be4-a27494e4271a" - }, - { - "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/deaf6c9e-cf2c-46a6-bf6d-0b6d487cffbb", - "KeyId": "deaf6c9e-cf2c-46a6-bf6d-0b6d487cffbb" - } - ], - "Truncated": false - }, - "comments": { - "output": { - "Keys": "A list of CMKs, including the key ID and Amazon Resource Name (ARN) of each one.", - "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not." - } - }, - "description": "The following example lists CMKs.", - "id": "to-list-cmks-1481071643069", - "title": "To list customer master keys (CMKs)" - } - ], - "ListResourceTags": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "output": { - "Tags": [ - { - "TagKey": "CostCenter", - "TagValue": "87654" - }, - { - "TagKey": "CreatedBy", - "TagValue": "ExampleUser" - }, - { - "TagKey": "Purpose", - "TagValue": "Test" - } - ], - "Truncated": false - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK whose tags you are listing. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - }, - "output": { - "Tags": "A list of tags.", - "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not." - } - }, - "description": "The following example lists tags for a CMK.", - "id": "to-list-tags-for-a-cmk-1483996855796", - "title": "To list tags for a customer master key (CMK)" - } - ], - "ListRetirableGrants": [ - { - "input": { - "RetiringPrincipal": "arn:aws:iam::111122223333:role/ExampleRole" - }, - "output": { - "Grants": [ - { - "CreationDate": "2016-12-07T11:09:35-08:00", - "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60", - "GranteePrincipal": "arn:aws:iam::111122223333:role/ExampleRole", - "IssuingAccount": "arn:aws:iam::444455556666:root", - "KeyId": "arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab", - "Operations": [ - "Decrypt", - "Encrypt" - ], - "RetiringPrincipal": "arn:aws:iam::111122223333:role/ExampleRole" - } - ], - "Truncated": false - }, - "comments": { - "input": { - "RetiringPrincipal": "The retiring principal whose grants you want to list. Use the Amazon Resource Name (ARN) of an AWS principal such as an AWS account (root), IAM user, federated user, or assumed role user." - }, - "output": { - "Grants": "A list of grants that the specified principal can retire.", - "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not." - } - }, - "description": "The following example lists the grants that the specified principal (identity) can retire.", - "id": "to-list-grants-that-the-specified-principal-can-retire-1481140499620", - "title": "To list grants that the specified principal can retire" - } - ], - "PutKeyPolicy": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", - "Policy": "{\n \"Version\": \"2012-10-17\",\n \"Id\": \"custom-policy-2016-12-07\",\n \"Statement\": [\n {\n \"Sid\": \"Enable IAM User Permissions\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::111122223333:root\"\n },\n \"Action\": \"kms:*\",\n \"Resource\": \"*\"\n },\n {\n \"Sid\": \"Allow access for Key Administrators\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": [\n \"arn:aws:iam::111122223333:user/ExampleAdminUser\",\n \"arn:aws:iam::111122223333:role/ExampleAdminRole\"\n ]\n },\n \"Action\": [\n \"kms:Create*\",\n \"kms:Describe*\",\n \"kms:Enable*\",\n \"kms:List*\",\n \"kms:Put*\",\n \"kms:Update*\",\n \"kms:Revoke*\",\n \"kms:Disable*\",\n \"kms:Get*\",\n \"kms:Delete*\",\n \"kms:ScheduleKeyDeletion\",\n \"kms:CancelKeyDeletion\"\n ],\n \"Resource\": \"*\"\n },\n {\n \"Sid\": \"Allow use of the key\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::111122223333:role/ExamplePowerUserRole\"\n },\n \"Action\": [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\"\n ],\n \"Resource\": \"*\"\n },\n {\n \"Sid\": \"Allow attachment of persistent resources\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::111122223333:role/ExamplePowerUserRole\"\n },\n \"Action\": [\n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\"\n ],\n \"Resource\": \"*\",\n \"Condition\": {\n \"Bool\": {\n \"kms:GrantIsForAWSResource\": \"true\"\n }\n }\n }\n ]\n}\n", - "PolicyName": "default" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK to attach the key policy to. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.", - "Policy": "The key policy document.", - "PolicyName": "The name of the key policy." - } - }, - "description": "The following example attaches a key policy to the specified CMK.", - "id": "to-attach-a-key-policy-to-a-cmk-1481147345018", - "title": "To attach a key policy to a customer master key (CMK)" - } - ], - "ReEncrypt": [ - { - "input": { - "CiphertextBlob": "", - "DestinationKeyId": "0987dcba-09fe-87dc-65ba-ab0987654321" - }, - "output": { - "CiphertextBlob": "", - "KeyId": "arn:aws:kms:us-east-2:111122223333:key/0987dcba-09fe-87dc-65ba-ab0987654321", - "SourceKeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "CiphertextBlob": "The data to reencrypt.", - "DestinationKeyId": "The identifier of the CMK to use to reencrypt the data. You can use the key ID or Amazon Resource Name (ARN) of the CMK, or the name or ARN of an alias that refers to the CMK." - }, - "output": { - "CiphertextBlob": "The reencrypted data.", - "KeyId": "The ARN of the CMK that was used to reencrypt the data.", - "SourceKeyId": "The ARN of the CMK that was used to originally encrypt the data." - } - }, - "description": "The following example reencrypts data with the specified CMK.", - "id": "to-reencrypt-data-1481230358001", - "title": "To reencrypt data" - } - ], - "RetireGrant": [ - { - "input": { - "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60", - "KeyId": "arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "GrantId": "The identifier of the grant to retire.", - "KeyId": "The Amazon Resource Name (ARN) of the customer master key (CMK) associated with the grant." - } - }, - "description": "The following example retires a grant.", - "id": "to-retire-a-grant-1481327028297", - "title": "To retire a grant" - } - ], - "RevokeGrant": [ - { - "input": { - "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60", - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "GrantId": "The identifier of the grant to revoke.", - "KeyId": "The identifier of the customer master key (CMK) associated with the grant. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - } - }, - "description": "The following example revokes a grant.", - "id": "to-revoke-a-grant-1481329549302", - "title": "To revoke a grant" - } - ], - "ScheduleKeyDeletion": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", - "PendingWindowInDays": 7 - }, - "output": { - "DeletionDate": "2016-12-17T16:00:00-08:00", - "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK to schedule for deletion. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.", - "PendingWindowInDays": "The waiting period, specified in number of days. After the waiting period ends, AWS KMS deletes the CMK." - }, - "output": { - "DeletionDate": "The date and time after which AWS KMS deletes the CMK.", - "KeyId": "The ARN of the CMK that is scheduled for deletion." - } - }, - "description": "The following example schedules the specified CMK for deletion.", - "id": "to-schedule-a-cmk-for-deletion-1481331111094", - "title": "To schedule a customer master key (CMK) for deletion" - } - ], - "TagResource": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", - "Tags": [ - { - "TagKey": "Purpose", - "TagValue": "Test" - } - ] - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK you are tagging. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.", - "Tags": "A list of tags." - } - }, - "description": "The following example tags a CMK.", - "id": "to-tag-a-cmk-1483997246518", - "title": "To tag a customer master key (CMK)" - } - ], - "UntagResource": [ - { - "input": { - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", - "TagKeys": [ - "Purpose", - "CostCenter" - ] - }, - "comments": { - "input": { - "KeyId": "The identifier of the CMK whose tags you are removing.", - "TagKeys": "A list of tag keys. Provide only the tag keys, not the tag values." - } - }, - "description": "The following example removes tags from a CMK.", - "id": "to-remove-tags-from-a-cmk-1483997590962", - "title": "To remove tags from a customer master key (CMK)" - } - ], - "UpdateAlias": [ - { - "input": { - "AliasName": "alias/ExampleAlias", - "TargetKeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "AliasName": "The alias to update.", - "TargetKeyId": "The identifier of the CMK that the alias will refer to after this operation succeeds. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - } - }, - "description": "The following example updates the specified alias to refer to the specified customer master key (CMK).", - "id": "to-update-an-alias-1481572726920", - "title": "To update an alias" - } - ], - "UpdateKeyDescription": [ - { - "input": { - "Description": "Example description that indicates the intended use of this CMK.", - "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" - }, - "comments": { - "input": { - "Description": "The updated description.", - "KeyId": "The identifier of the CMK whose description you are updating. You can use the key ID or the Amazon Resource Name (ARN) of the CMK." - } - }, - "description": "The following example updates the description of the specified CMK.", - "id": "to-update-the-description-of-a-cmk-1481574808619", - "title": "To update the description of a customer master key (CMK)" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/kms-2014-11-01.min.json b/src/node_modules/aws-sdk/apis/kms-2014-11-01.min.json deleted file mode 100644 index fd2f597..0000000 --- a/src/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +++ /dev/null @@ -1,836 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-11-01", - "endpointPrefix": "kms", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "KMS", - "serviceFullName": "AWS Key Management Service", - "signatureVersion": "v4", - "targetPrefix": "TrentService", - "uid": "kms-2014-11-01" - }, - "operations": { - "CancelKeyDeletion": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {} - } - }, - "output": { - "type": "structure", - "members": { - "KeyId": {} - } - } - }, - "CreateAlias": { - "input": { - "type": "structure", - "required": [ - "AliasName", - "TargetKeyId" - ], - "members": { - "AliasName": {}, - "TargetKeyId": {} - } - } - }, - "CreateGrant": { - "input": { - "type": "structure", - "required": [ - "KeyId", - "GranteePrincipal" - ], - "members": { - "KeyId": {}, - "GranteePrincipal": {}, - "RetiringPrincipal": {}, - "Operations": { - "shape": "S8" - }, - "Constraints": { - "shape": "Sa" - }, - "GrantTokens": { - "shape": "Se" - }, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "GrantToken": {}, - "GrantId": {} - } - } - }, - "CreateKey": { - "input": { - "type": "structure", - "members": { - "Policy": {}, - "Description": {}, - "KeyUsage": {}, - "Origin": {}, - "BypassPolicyLockoutSafetyCheck": { - "type": "boolean" - }, - "Tags": { - "shape": "Sp" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyMetadata": { - "shape": "Su" - } - } - } - }, - "Decrypt": { - "input": { - "type": "structure", - "required": [ - "CiphertextBlob" - ], - "members": { - "CiphertextBlob": { - "type": "blob" - }, - "EncryptionContext": { - "shape": "Sb" - }, - "GrantTokens": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyId": {}, - "Plaintext": { - "shape": "S14" - } - } - } - }, - "DeleteAlias": { - "input": { - "type": "structure", - "required": [ - "AliasName" - ], - "members": { - "AliasName": {} - } - } - }, - "DeleteImportedKeyMaterial": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {} - } - } - }, - "DescribeKey": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {}, - "GrantTokens": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyMetadata": { - "shape": "Su" - } - } - } - }, - "DisableKey": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {} - } - } - }, - "DisableKeyRotation": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {} - } - } - }, - "EnableKey": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {} - } - } - }, - "EnableKeyRotation": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {} - } - } - }, - "Encrypt": { - "input": { - "type": "structure", - "required": [ - "KeyId", - "Plaintext" - ], - "members": { - "KeyId": {}, - "Plaintext": { - "shape": "S14" - }, - "EncryptionContext": { - "shape": "Sb" - }, - "GrantTokens": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "CiphertextBlob": { - "type": "blob" - }, - "KeyId": {} - } - } - }, - "GenerateDataKey": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {}, - "EncryptionContext": { - "shape": "Sb" - }, - "NumberOfBytes": { - "type": "integer" - }, - "KeySpec": {}, - "GrantTokens": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "CiphertextBlob": { - "type": "blob" - }, - "Plaintext": { - "shape": "S14" - }, - "KeyId": {} - } - } - }, - "GenerateDataKeyWithoutPlaintext": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {}, - "EncryptionContext": { - "shape": "Sb" - }, - "KeySpec": {}, - "NumberOfBytes": { - "type": "integer" - }, - "GrantTokens": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "CiphertextBlob": { - "type": "blob" - }, - "KeyId": {} - } - } - }, - "GenerateRandom": { - "input": { - "type": "structure", - "members": { - "NumberOfBytes": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Plaintext": { - "shape": "S14" - } - } - } - }, - "GetKeyPolicy": { - "input": { - "type": "structure", - "required": [ - "KeyId", - "PolicyName" - ], - "members": { - "KeyId": {}, - "PolicyName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Policy": {} - } - } - }, - "GetKeyRotationStatus": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {} - } - }, - "output": { - "type": "structure", - "members": { - "KeyRotationEnabled": { - "type": "boolean" - } - } - } - }, - "GetParametersForImport": { - "input": { - "type": "structure", - "required": [ - "KeyId", - "WrappingAlgorithm", - "WrappingKeySpec" - ], - "members": { - "KeyId": {}, - "WrappingAlgorithm": {}, - "WrappingKeySpec": {} - } - }, - "output": { - "type": "structure", - "members": { - "KeyId": {}, - "ImportToken": { - "type": "blob" - }, - "PublicKey": { - "shape": "S14" - }, - "ParametersValidTo": { - "type": "timestamp" - } - } - } - }, - "ImportKeyMaterial": { - "input": { - "type": "structure", - "required": [ - "KeyId", - "ImportToken", - "EncryptedKeyMaterial" - ], - "members": { - "KeyId": {}, - "ImportToken": { - "type": "blob" - }, - "EncryptedKeyMaterial": { - "type": "blob" - }, - "ValidTo": { - "type": "timestamp" - }, - "ExpirationModel": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ListAliases": { - "input": { - "type": "structure", - "members": { - "Limit": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Aliases": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AliasName": {}, - "AliasArn": {}, - "TargetKeyId": {} - } - } - }, - "NextMarker": {}, - "Truncated": { - "type": "boolean" - } - } - } - }, - "ListGrants": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "Limit": { - "type": "integer" - }, - "Marker": {}, - "KeyId": {} - } - }, - "output": { - "shape": "S25" - } - }, - "ListKeyPolicies": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {}, - "Limit": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "PolicyNames": { - "type": "list", - "member": {} - }, - "NextMarker": {}, - "Truncated": { - "type": "boolean" - } - } - } - }, - "ListKeys": { - "input": { - "type": "structure", - "members": { - "Limit": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Keys": { - "type": "list", - "member": { - "type": "structure", - "members": { - "KeyId": {}, - "KeyArn": {} - } - } - }, - "NextMarker": {}, - "Truncated": { - "type": "boolean" - } - } - } - }, - "ListResourceTags": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {}, - "Limit": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "Sp" - }, - "NextMarker": {}, - "Truncated": { - "type": "boolean" - } - } - } - }, - "ListRetirableGrants": { - "input": { - "type": "structure", - "required": [ - "RetiringPrincipal" - ], - "members": { - "Limit": { - "type": "integer" - }, - "Marker": {}, - "RetiringPrincipal": {} - } - }, - "output": { - "shape": "S25" - } - }, - "PutKeyPolicy": { - "input": { - "type": "structure", - "required": [ - "KeyId", - "PolicyName", - "Policy" - ], - "members": { - "KeyId": {}, - "PolicyName": {}, - "Policy": {}, - "BypassPolicyLockoutSafetyCheck": { - "type": "boolean" - } - } - } - }, - "ReEncrypt": { - "input": { - "type": "structure", - "required": [ - "CiphertextBlob", - "DestinationKeyId" - ], - "members": { - "CiphertextBlob": { - "type": "blob" - }, - "SourceEncryptionContext": { - "shape": "Sb" - }, - "DestinationKeyId": {}, - "DestinationEncryptionContext": { - "shape": "Sb" - }, - "GrantTokens": { - "shape": "Se" - } - } - }, - "output": { - "type": "structure", - "members": { - "CiphertextBlob": { - "type": "blob" - }, - "SourceKeyId": {}, - "KeyId": {} - } - } - }, - "RetireGrant": { - "input": { - "type": "structure", - "members": { - "GrantToken": {}, - "KeyId": {}, - "GrantId": {} - } - } - }, - "RevokeGrant": { - "input": { - "type": "structure", - "required": [ - "KeyId", - "GrantId" - ], - "members": { - "KeyId": {}, - "GrantId": {} - } - } - }, - "ScheduleKeyDeletion": { - "input": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "KeyId": {}, - "PendingWindowInDays": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "KeyId": {}, - "DeletionDate": { - "type": "timestamp" - } - } - } - }, - "TagResource": { - "input": { - "type": "structure", - "required": [ - "KeyId", - "Tags" - ], - "members": { - "KeyId": {}, - "Tags": { - "shape": "Sp" - } - } - } - }, - "UntagResource": { - "input": { - "type": "structure", - "required": [ - "KeyId", - "TagKeys" - ], - "members": { - "KeyId": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "UpdateAlias": { - "input": { - "type": "structure", - "required": [ - "AliasName", - "TargetKeyId" - ], - "members": { - "AliasName": {}, - "TargetKeyId": {} - } - } - }, - "UpdateKeyDescription": { - "input": { - "type": "structure", - "required": [ - "KeyId", - "Description" - ], - "members": { - "KeyId": {}, - "Description": {} - } - } - } - }, - "shapes": { - "S8": { - "type": "list", - "member": {} - }, - "Sa": { - "type": "structure", - "members": { - "EncryptionContextSubset": { - "shape": "Sb" - }, - "EncryptionContextEquals": { - "shape": "Sb" - } - } - }, - "Sb": { - "type": "map", - "key": {}, - "value": {} - }, - "Se": { - "type": "list", - "member": {} - }, - "Sp": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "TagKey", - "TagValue" - ], - "members": { - "TagKey": {}, - "TagValue": {} - } - } - }, - "Su": { - "type": "structure", - "required": [ - "KeyId" - ], - "members": { - "AWSAccountId": {}, - "KeyId": {}, - "Arn": {}, - "CreationDate": { - "type": "timestamp" - }, - "Enabled": { - "type": "boolean" - }, - "Description": {}, - "KeyUsage": {}, - "KeyState": {}, - "DeletionDate": { - "type": "timestamp" - }, - "ValidTo": { - "type": "timestamp" - }, - "Origin": {}, - "ExpirationModel": {}, - "KeyManager": {} - } - }, - "S14": { - "type": "blob", - "sensitive": true - }, - "S25": { - "type": "structure", - "members": { - "Grants": { - "type": "list", - "member": { - "type": "structure", - "members": { - "KeyId": {}, - "GrantId": {}, - "Name": {}, - "CreationDate": { - "type": "timestamp" - }, - "GranteePrincipal": {}, - "RetiringPrincipal": {}, - "IssuingAccount": {}, - "Operations": { - "shape": "S8" - }, - "Constraints": { - "shape": "Sa" - } - } - } - }, - "NextMarker": {}, - "Truncated": { - "type": "boolean" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json b/src/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json deleted file mode 100644 index 6b5be67..0000000 --- a/src/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "pagination": { - "ListAliases": { - "input_token": "Marker", - "limit_key": "Limit", - "more_results": "Truncated", - "output_token": "NextMarker", - "result_key": "Aliases" - }, - "ListGrants": { - "input_token": "Marker", - "limit_key": "Limit", - "more_results": "Truncated", - "output_token": "NextMarker", - "result_key": "Grants" - }, - "ListKeyPolicies": { - "input_token": "Marker", - "limit_key": "Limit", - "more_results": "Truncated", - "output_token": "NextMarker", - "result_key": "PolicyNames" - }, - "ListKeys": { - "input_token": "Marker", - "limit_key": "Limit", - "more_results": "Truncated", - "output_token": "NextMarker", - "result_key": "Keys" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/lambda-2014-11-11.min.json b/src/node_modules/aws-sdk/apis/lambda-2014-11-11.min.json deleted file mode 100644 index fc006a8..0000000 --- a/src/node_modules/aws-sdk/apis/lambda-2014-11-11.min.json +++ /dev/null @@ -1,423 +0,0 @@ -{ - "metadata": { - "apiVersion": "2014-11-11", - "endpointPrefix": "lambda", - "serviceFullName": "AWS Lambda", - "signatureVersion": "v4", - "protocol": "rest-json" - }, - "operations": { - "AddEventSource": { - "http": { - "requestUri": "/2014-11-13/event-source-mappings/" - }, - "input": { - "type": "structure", - "required": [ - "EventSource", - "FunctionName", - "Role" - ], - "members": { - "EventSource": {}, - "FunctionName": {}, - "Role": {}, - "BatchSize": { - "type": "integer" - }, - "Parameters": { - "shape": "S6" - } - } - }, - "output": { - "shape": "S7" - } - }, - "DeleteFunction": { - "http": { - "method": "DELETE", - "requestUri": "/2014-11-13/functions/{FunctionName}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - } - } - } - }, - "GetEventSource": { - "http": { - "method": "GET", - "requestUri": "/2014-11-13/event-source-mappings/{UUID}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "UUID" - ], - "members": { - "UUID": { - "location": "uri", - "locationName": "UUID" - } - } - }, - "output": { - "shape": "S7" - } - }, - "GetFunction": { - "http": { - "method": "GET", - "requestUri": "/2014-11-13/functions/{FunctionName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Configuration": { - "shape": "Se" - }, - "Code": { - "type": "structure", - "members": { - "RepositoryType": {}, - "Location": {} - } - } - } - } - }, - "GetFunctionConfiguration": { - "http": { - "method": "GET", - "requestUri": "/2014-11-13/functions/{FunctionName}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - } - } - }, - "output": { - "shape": "Se" - } - }, - "InvokeAsync": { - "http": { - "requestUri": "/2014-11-13/functions/{FunctionName}/invoke-async/", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "InvokeArgs" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "InvokeArgs": { - "shape": "Sq" - } - }, - "payload": "InvokeArgs" - }, - "output": { - "type": "structure", - "members": { - "Status": { - "location": "statusCode", - "type": "integer" - } - } - } - }, - "ListEventSources": { - "http": { - "method": "GET", - "requestUri": "/2014-11-13/event-source-mappings/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "EventSourceArn": { - "location": "querystring", - "locationName": "EventSource" - }, - "FunctionName": { - "location": "querystring", - "locationName": "FunctionName" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "EventSources": { - "type": "list", - "member": { - "shape": "S7" - } - } - } - } - }, - "ListFunctions": { - "http": { - "method": "GET", - "requestUri": "/2014-11-13/functions/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Functions": { - "type": "list", - "member": { - "shape": "Se" - } - } - } - } - }, - "RemoveEventSource": { - "http": { - "method": "DELETE", - "requestUri": "/2014-11-13/event-source-mappings/{UUID}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "UUID" - ], - "members": { - "UUID": { - "location": "uri", - "locationName": "UUID" - } - } - } - }, - "UpdateFunctionConfiguration": { - "http": { - "method": "PUT", - "requestUri": "/2014-11-13/functions/{FunctionName}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Role": { - "location": "querystring", - "locationName": "Role" - }, - "Handler": { - "location": "querystring", - "locationName": "Handler" - }, - "Description": { - "location": "querystring", - "locationName": "Description" - }, - "Timeout": { - "location": "querystring", - "locationName": "Timeout", - "type": "integer" - }, - "MemorySize": { - "location": "querystring", - "locationName": "MemorySize", - "type": "integer" - } - } - }, - "output": { - "shape": "Se" - } - }, - "UploadFunction": { - "http": { - "method": "PUT", - "requestUri": "/2014-11-13/functions/{FunctionName}", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "FunctionZip", - "Runtime", - "Role", - "Handler", - "Mode" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "FunctionZip": { - "shape": "Sq" - }, - "Runtime": { - "location": "querystring", - "locationName": "Runtime" - }, - "Role": { - "location": "querystring", - "locationName": "Role" - }, - "Handler": { - "location": "querystring", - "locationName": "Handler" - }, - "Mode": { - "location": "querystring", - "locationName": "Mode" - }, - "Description": { - "location": "querystring", - "locationName": "Description" - }, - "Timeout": { - "location": "querystring", - "locationName": "Timeout", - "type": "integer" - }, - "MemorySize": { - "location": "querystring", - "locationName": "MemorySize", - "type": "integer" - } - }, - "payload": "FunctionZip" - }, - "output": { - "shape": "Se" - } - } - }, - "shapes": { - "S6": { - "type": "map", - "key": {}, - "value": {} - }, - "S7": { - "type": "structure", - "members": { - "UUID": {}, - "BatchSize": { - "type": "integer" - }, - "EventSource": {}, - "FunctionName": {}, - "Parameters": { - "shape": "S6" - }, - "Role": {}, - "LastModified": { - "type": "timestamp" - }, - "IsActive": { - "type": "boolean" - }, - "Status": {} - } - }, - "Se": { - "type": "structure", - "members": { - "FunctionName": {}, - "FunctionARN": {}, - "ConfigurationId": {}, - "Runtime": {}, - "Role": {}, - "Handler": {}, - "Mode": {}, - "CodeSize": { - "type": "long" - }, - "Description": {}, - "Timeout": { - "type": "integer" - }, - "MemorySize": { - "type": "integer" - }, - "LastModified": { - "type": "timestamp" - } - } - }, - "Sq": { - "type": "blob", - "streaming": true - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json b/src/node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json deleted file mode 100644 index deaf07d..0000000 --- a/src/node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "pagination": { - "ListEventSources": { - "input_token": "Marker", - "output_token": "NextMarker", - "limit_key": "MaxItems", - "result_key": "EventSources" - }, - "ListFunctions": { - "input_token": "Marker", - "output_token": "NextMarker", - "limit_key": "MaxItems", - "result_key": "Functions" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/lambda-2015-03-31.examples.json b/src/node_modules/aws-sdk/apis/lambda-2015-03-31.examples.json deleted file mode 100644 index c5a45d3..0000000 --- a/src/node_modules/aws-sdk/apis/lambda-2015-03-31.examples.json +++ /dev/null @@ -1,614 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AddPermission": [ - { - "input": { - "Action": "lambda:InvokeFunction", - "FunctionName": "MyFunction", - "Principal": "s3.amazonaws.com", - "SourceAccount": "123456789012", - "SourceArn": "arn:aws:s3:::examplebucket/*", - "StatementId": "ID-1" - }, - "output": { - "Statement": "ID-1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example adds a permission for an S3 bucket to invoke a Lambda function.", - "id": "add-permission-1474651469455", - "title": "add-permission" - } - ], - "CreateFunction": [ - { - "input": { - "Code": { - }, - "Description": "", - "FunctionName": "MyFunction", - "Handler": "souce_file.handler_name", - "MemorySize": 128, - "Publish": true, - "Role": "arn:aws:iam::123456789012:role/service-role/role-name", - "Runtime": "nodejs4.3", - "Timeout": 15, - "VpcConfig": { - } - }, - "output": { - "CodeSha256": "", - "CodeSize": 123, - "Description": "", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:MyFunction", - "FunctionName": "MyFunction", - "Handler": "source_file.handler_name", - "LastModified": "2016-11-21T19:49:20.006+0000", - "MemorySize": 128, - "Role": "arn:aws:iam::123456789012:role/service-role/role-name", - "Runtime": "nodejs4.3", - "Timeout": 123, - "Version": "1", - "VpcConfig": { - } - }, - "comments": { - "input": { - "Handler": "is of the form of the name of your source file and then name of your function handler", - "Role": "replace with the actual arn of the execution role you created" - }, - "output": { - } - }, - "description": "This example creates a Lambda function.", - "id": "create-function-1474653449931", - "title": "create-function" - } - ], - "DeleteAlias": [ - { - "input": { - "FunctionName": "myFunction", - "Name": "alias" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation deletes a Lambda function alias", - "id": "to-delete-a-lambda-function-alias-1481660370804", - "title": "To delete a Lambda function alias" - } - ], - "DeleteEventSourceMapping": [ - { - "input": { - "UUID": "12345kxodurf3443" - }, - "output": { - "BatchSize": 123, - "EventSourceArn": "arn:aws:s3:::examplebucket/*", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction", - "LastModified": "2016-11-21T19:49:20.006+0000", - "LastProcessingResult": "", - "State": "", - "StateTransitionReason": "", - "UUID": "12345kxodurf3443" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation deletes a Lambda function event source mapping", - "id": "to-delete-a-lambda-function-event-source-mapping-1481658973862", - "title": "To delete a Lambda function event source mapping" - } - ], - "DeleteFunction": [ - { - "input": { - "FunctionName": "myFunction", - "Qualifier": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation deletes a Lambda function", - "id": "to-delete-a-lambda-function-1481648553696", - "title": "To delete a Lambda function" - } - ], - "GetAccountSettings": [ - { - "input": { - }, - "output": { - "AccountLimit": { - }, - "AccountUsage": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation retrieves a Lambda customer's account settings", - "id": "to-retrieves-a-lambda-customers-account-settings-1481657495274", - "title": "To retrieves a Lambda customer's account settings" - } - ], - "GetAlias": [ - { - "input": { - "FunctionName": "myFunction", - "Name": "myFunctionAlias" - }, - "output": { - "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunctionAlias", - "Description": "", - "FunctionVersion": "1", - "Name": "myFunctionAlias" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation retrieves a Lambda function alias", - "id": "to-retrieve-a-lambda-function-alias-1481648742254", - "title": "To retrieve a Lambda function alias" - } - ], - "GetEventSourceMapping": [ - { - "input": { - "UUID": "123489-xxxxx-kdla8d89d7" - }, - "output": { - "BatchSize": 123, - "EventSourceArn": "arn:aws:iam::123456789012:eventsource", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction", - "LastModified": "2016-11-21T19:49:20.006+0000", - "LastProcessingResult": "", - "State": "", - "StateTransitionReason": "", - "UUID": "123489-xxxxx-kdla8d89d7" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation retrieves a Lambda function's event source mapping", - "id": "to-retrieve-a-lambda-functions-event-source-mapping-1481661622799", - "title": "To retrieve a Lambda function's event source mapping" - } - ], - "GetFunction": [ - { - "input": { - "FunctionName": "myFunction", - "Qualifier": "1" - }, - "output": { - "Code": { - "Location": "somelocation", - "RepositoryType": "S3" - }, - "Configuration": { - "CodeSha256": "LQT+0DHxxxxcfwLyQjzoEFKZtdqQjHXanlSdfXBlEW0VA=", - "CodeSize": 262, - "Description": "A starter AWS Lambda function.", - "Environment": { - "Variables": { - "S3_BUCKET": "test" - } - }, - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction", - "FunctionName": "myFunction", - "Handler": "index.handler", - "LastModified": "2016-11-21T19:49:20.006+0000", - "MemorySize": 128, - "Role": "arn:aws:iam::123456789012:role/lambda_basic_execution", - "Runtime": "nodejs4.3", - "Timeout": 3, - "Version": "$LATEST", - "VpcConfig": { - "SecurityGroupIds": [ - - ], - "SubnetIds": [ - - ] - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation retrieves a Lambda function's event source mapping", - "id": "to-retrieve-a-lambda-functions-event-source-mapping-1481661622799", - "title": "To retrieve a Lambda function's event source mapping" - } - ], - "GetFunctionConfiguration": [ - { - "input": { - "FunctionName": "myFunction", - "Qualifier": "1" - }, - "output": { - "CodeSha256": "LQT+0DHxxxxcfwLyQjzoEFKZtdqQjHXanlSdfXBlEW0VA=", - "CodeSize": 123, - "DeadLetterConfig": { - }, - "Description": "", - "Environment": { - }, - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction", - "FunctionName": "myFunction", - "Handler": "index.handler", - "KMSKeyArn": "", - "LastModified": "2016-11-21T19:49:20.006+0000", - "MemorySize": 128, - "Role": "arn:aws:iam::123456789012:role/lambda_basic_execution", - "Runtime": "python2.7", - "Timeout": 123, - "Version": "1", - "VpcConfig": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation retrieves a Lambda function's event source mapping", - "id": "to-retrieve-a-lambda-functions-event-source-mapping-1481661622799", - "title": "To retrieve a Lambda function's event source mapping" - } - ], - "GetPolicy": [ - { - "input": { - "FunctionName": "myFunction", - "Qualifier": "1" - }, - "output": { - "Policy": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation retrieves a Lambda function policy", - "id": "to-retrieve-a-lambda-function-policy-1481649319053", - "title": "To retrieve a Lambda function policy" - } - ], - "Invoke": [ - { - "input": { - "ClientContext": "MyApp", - "FunctionName": "MyFunction", - "InvocationType": "Event", - "LogType": "Tail", - "Payload": "fileb://file-path/input.json", - "Qualifier": "1" - }, - "output": { - "FunctionError": "", - "LogResult": "", - "Payload": "?", - "StatusCode": 123 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation invokes a Lambda function", - "id": "to-invoke-a-lambda-function-1481659683915", - "title": "To invoke a Lambda function" - } - ], - "InvokeAsync": [ - { - "input": { - "FunctionName": "myFunction", - "InvokeArgs": "fileb://file-path/input.json" - }, - "output": { - "Status": 123 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation invokes a Lambda function asynchronously", - "id": "to-invoke-a-lambda-function-asynchronously-1481649694923", - "title": "To invoke a Lambda function asynchronously" - } - ], - "ListAliases": [ - { - "input": { - "FunctionName": "myFunction", - "FunctionVersion": "1", - "Marker": "", - "MaxItems": 123 - }, - "output": { - "Aliases": [ - - ], - "NextMarker": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation retrieves a Lambda function's aliases", - "id": "to-retrieve-a-lambda-function-aliases-1481650199732", - "title": "To retrieve a Lambda function aliases" - } - ], - "ListFunctions": [ - { - "input": { - "Marker": "", - "MaxItems": 123 - }, - "output": { - "Functions": [ - - ], - "NextMarker": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation retrieves a Lambda functions", - "id": "to-retrieve-a-list-of-lambda-functions-1481650507425", - "title": "To retrieve a list of Lambda functions" - } - ], - "ListVersionsByFunction": [ - { - "input": { - "FunctionName": "myFunction", - "Marker": "", - "MaxItems": 123 - }, - "output": { - "NextMarker": "", - "Versions": [ - - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation retrieves a Lambda function versions", - "id": "to-retrieve-a-list-of-lambda-function-versions-1481650603750", - "title": "To retrieve a list of Lambda function versions" - } - ], - "PublishVersion": [ - { - "input": { - "CodeSha256": "", - "Description": "", - "FunctionName": "myFunction" - }, - "output": { - "CodeSha256": "", - "CodeSize": 123, - "Description": "", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction", - "FunctionName": "myFunction", - "Handler": "index.handler", - "LastModified": "2016-11-21T19:49:20.006+0000", - "MemorySize": 128, - "Role": "arn:aws:iam::123456789012:role/lambda_basic_execution", - "Runtime": "python2.7", - "Timeout": 123, - "Version": "1", - "VpcConfig": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation publishes a version of a Lambda function", - "id": "to-publish-a-version-of-a-lambda-function-1481650704986", - "title": "To publish a version of a Lambda function" - } - ], - "RemovePermission": [ - { - "input": { - "FunctionName": "myFunction", - "Qualifier": "1", - "StatementId": "role-statement-id" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation removes a Lambda function's permissions", - "id": "to-remove-a-lambda-functions-permissions-1481661337021", - "title": "To remove a Lambda function's permissions" - } - ], - "UpdateAlias": [ - { - "input": { - "Description": "", - "FunctionName": "myFunction", - "FunctionVersion": "1", - "Name": "functionAlias" - }, - "output": { - "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:functionAlias", - "Description": "", - "FunctionVersion": "1", - "Name": "functionAlias" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation updates a Lambda function alias", - "id": "to-update-a-lambda-function-alias-1481650817950", - "title": "To update a Lambda function alias" - } - ], - "UpdateEventSourceMapping": [ - { - "input": { - "BatchSize": 123, - "Enabled": true, - "FunctionName": "myFunction", - "UUID": "1234xCy789012" - }, - "output": { - "BatchSize": 123, - "EventSourceArn": "arn:aws:s3:::examplebucket/*", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction", - "LastModified": "2016-11-21T19:49:20.006+0000", - "LastProcessingResult": "", - "State": "", - "StateTransitionReason": "", - "UUID": "1234xCy789012" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation updates a Lambda function event source mapping", - "id": "to-update-a-lambda-function-event-source-mapping-1481650907413", - "title": "To update a Lambda function event source mapping" - } - ], - "UpdateFunctionCode": [ - { - "input": { - "FunctionName": "myFunction", - "Publish": true, - "S3Bucket": "myBucket", - "S3Key": "myKey", - "S3ObjectVersion": "1", - "ZipFile": "fileb://file-path/file.zip" - }, - "output": { - "CodeSha256": "LQT+0DHxxxxcfwLyQjzoEFKZtdqQjHXanlSdfXBlEW0VA=", - "CodeSize": 123, - "Description": "", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction", - "FunctionName": "myFunction", - "Handler": "index.handler", - "LastModified": "2016-11-21T19:49:20.006+0000", - "MemorySize": 128, - "Role": "arn:aws:iam::123456789012:role/lambda_basic_execution", - "Runtime": "python2.7", - "Timeout": 123, - "Version": "1", - "VpcConfig": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation updates a Lambda function's code", - "id": "to-update-a-lambda-functions-code-1481650992672", - "title": "To update a Lambda function's code" - } - ], - "UpdateFunctionConfiguration": [ - { - "input": { - "Description": "", - "FunctionName": "myFunction", - "Handler": "index.handler", - "MemorySize": 128, - "Role": "arn:aws:iam::123456789012:role/lambda_basic_execution", - "Runtime": "python2.7", - "Timeout": 123, - "VpcConfig": { - } - }, - "output": { - "CodeSha256": "LQT+0DHxxxxcfwLyQjzoEFKZtdqQjHXanlSdfXBlEW0VA=", - "CodeSize": 123, - "Description": "", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction", - "FunctionName": "myFunction", - "Handler": "index.handler", - "LastModified": "2016-11-21T19:49:20.006+0000", - "MemorySize": 128, - "Role": "arn:aws:iam::123456789012:role/lambda_basic_execution", - "Runtime": "python2.7", - "Timeout": 123, - "Version": "1", - "VpcConfig": { - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation updates a Lambda function's configuration", - "id": "to-update-a-lambda-functions-configuration-1481651096447", - "title": "To update a Lambda function's configuration" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json b/src/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json deleted file mode 100644 index 1266caf..0000000 --- a/src/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +++ /dev/null @@ -1,1092 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-03-31", - "endpointPrefix": "lambda", - "protocol": "rest-json", - "serviceFullName": "AWS Lambda", - "signatureVersion": "v4", - "uid": "lambda-2015-03-31" - }, - "operations": { - "AddPermission": { - "http": { - "requestUri": "/2015-03-31/functions/{FunctionName}/policy", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "StatementId", - "Action", - "Principal" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "StatementId": {}, - "Action": {}, - "Principal": {}, - "SourceArn": {}, - "SourceAccount": {}, - "EventSourceToken": {}, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - }, - "output": { - "type": "structure", - "members": { - "Statement": {} - } - } - }, - "CreateAlias": { - "http": { - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Name", - "FunctionVersion" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Name": {}, - "FunctionVersion": {}, - "Description": {} - } - }, - "output": { - "shape": "Sg" - } - }, - "CreateEventSourceMapping": { - "http": { - "requestUri": "/2015-03-31/event-source-mappings/", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "EventSourceArn", - "FunctionName", - "StartingPosition" - ], - "members": { - "EventSourceArn": {}, - "FunctionName": {}, - "Enabled": { - "type": "boolean" - }, - "BatchSize": { - "type": "integer" - }, - "StartingPosition": {}, - "StartingPositionTimestamp": { - "type": "timestamp" - } - } - }, - "output": { - "shape": "Sn" - } - }, - "CreateFunction": { - "http": { - "requestUri": "/2015-03-31/functions", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Runtime", - "Role", - "Handler", - "Code" - ], - "members": { - "FunctionName": {}, - "Runtime": {}, - "Role": {}, - "Handler": {}, - "Code": { - "type": "structure", - "members": { - "ZipFile": { - "shape": "St" - }, - "S3Bucket": {}, - "S3Key": {}, - "S3ObjectVersion": {} - } - }, - "Description": {}, - "Timeout": { - "type": "integer" - }, - "MemorySize": { - "type": "integer" - }, - "Publish": { - "type": "boolean" - }, - "VpcConfig": { - "shape": "S10" - }, - "DeadLetterConfig": { - "shape": "S15" - }, - "Environment": { - "shape": "S17" - }, - "KMSKeyArn": {}, - "TracingConfig": { - "shape": "S1c" - }, - "Tags": { - "shape": "S1e" - } - } - }, - "output": { - "shape": "S1h" - } - }, - "DeleteAlias": { - "http": { - "method": "DELETE", - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Name" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Name": { - "location": "uri", - "locationName": "Name" - } - } - } - }, - "DeleteEventSourceMapping": { - "http": { - "method": "DELETE", - "requestUri": "/2015-03-31/event-source-mappings/{UUID}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "UUID" - ], - "members": { - "UUID": { - "location": "uri", - "locationName": "UUID" - } - } - }, - "output": { - "shape": "Sn" - } - }, - "DeleteFunction": { - "http": { - "method": "DELETE", - "requestUri": "/2015-03-31/functions/{FunctionName}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - } - }, - "GetAccountSettings": { - "http": { - "method": "GET", - "requestUri": "/2016-08-19/account-settings/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "AccountLimit": { - "type": "structure", - "members": { - "TotalCodeSize": { - "type": "long" - }, - "CodeSizeUnzipped": { - "type": "long" - }, - "CodeSizeZipped": { - "type": "long" - }, - "ConcurrentExecutions": { - "type": "integer" - } - } - }, - "AccountUsage": { - "type": "structure", - "members": { - "TotalCodeSize": { - "type": "long" - }, - "FunctionCount": { - "type": "long" - } - } - } - } - } - }, - "GetAlias": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Name" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Name": { - "location": "uri", - "locationName": "Name" - } - } - }, - "output": { - "shape": "Sg" - } - }, - "GetEventSourceMapping": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/event-source-mappings/{UUID}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "UUID" - ], - "members": { - "UUID": { - "location": "uri", - "locationName": "UUID" - } - } - }, - "output": { - "shape": "Sn" - } - }, - "GetFunction": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - }, - "output": { - "type": "structure", - "members": { - "Configuration": { - "shape": "S1h" - }, - "Code": { - "type": "structure", - "members": { - "RepositoryType": {}, - "Location": {} - } - }, - "Tags": { - "shape": "S1e" - } - } - } - }, - "GetFunctionConfiguration": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - }, - "output": { - "shape": "S1h" - } - }, - "GetPolicy": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/policy", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - }, - "output": { - "type": "structure", - "members": { - "Policy": {} - } - } - }, - "Invoke": { - "http": { - "requestUri": "/2015-03-31/functions/{FunctionName}/invocations" - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "InvocationType": { - "location": "header", - "locationName": "X-Amz-Invocation-Type" - }, - "LogType": { - "location": "header", - "locationName": "X-Amz-Log-Type" - }, - "ClientContext": { - "location": "header", - "locationName": "X-Amz-Client-Context" - }, - "Payload": { - "shape": "St" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - }, - "payload": "Payload" - }, - "output": { - "type": "structure", - "members": { - "StatusCode": { - "location": "statusCode", - "type": "integer" - }, - "FunctionError": { - "location": "header", - "locationName": "X-Amz-Function-Error" - }, - "LogResult": { - "location": "header", - "locationName": "X-Amz-Log-Result" - }, - "Payload": { - "shape": "St" - } - }, - "payload": "Payload" - } - }, - "InvokeAsync": { - "http": { - "requestUri": "/2014-11-13/functions/{FunctionName}/invoke-async/", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "InvokeArgs" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "InvokeArgs": { - "type": "blob", - "streaming": true - } - }, - "deprecated": true, - "payload": "InvokeArgs" - }, - "output": { - "type": "structure", - "members": { - "Status": { - "location": "statusCode", - "type": "integer" - } - }, - "deprecated": true - }, - "deprecated": true - }, - "ListAliases": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "FunctionVersion": { - "location": "querystring", - "locationName": "FunctionVersion" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Aliases": { - "type": "list", - "member": { - "shape": "Sg" - } - } - } - } - }, - "ListEventSourceMappings": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/event-source-mappings/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "EventSourceArn": { - "location": "querystring", - "locationName": "EventSourceArn" - }, - "FunctionName": { - "location": "querystring", - "locationName": "FunctionName" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "EventSourceMappings": { - "type": "list", - "member": { - "shape": "Sn" - } - } - } - } - }, - "ListFunctions": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Functions": { - "shape": "S2n" - } - } - } - }, - "ListTags": { - "http": { - "method": "GET", - "requestUri": "/2017-03-31/tags/{ARN}" - }, - "input": { - "type": "structure", - "required": [ - "Resource" - ], - "members": { - "Resource": { - "location": "uri", - "locationName": "ARN" - } - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "S1e" - } - } - } - }, - "ListVersionsByFunction": { - "http": { - "method": "GET", - "requestUri": "/2015-03-31/functions/{FunctionName}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Marker": { - "location": "querystring", - "locationName": "Marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "MaxItems", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Versions": { - "shape": "S2n" - } - } - } - }, - "PublishVersion": { - "http": { - "requestUri": "/2015-03-31/functions/{FunctionName}/versions", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "CodeSha256": {}, - "Description": {} - } - }, - "output": { - "shape": "S1h" - } - }, - "RemovePermission": { - "http": { - "method": "DELETE", - "requestUri": "/2015-03-31/functions/{FunctionName}/policy/{StatementId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "StatementId" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "StatementId": { - "location": "uri", - "locationName": "StatementId" - }, - "Qualifier": { - "location": "querystring", - "locationName": "Qualifier" - } - } - } - }, - "TagResource": { - "http": { - "requestUri": "/2017-03-31/tags/{ARN}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Resource", - "Tags" - ], - "members": { - "Resource": { - "location": "uri", - "locationName": "ARN" - }, - "Tags": { - "shape": "S1e" - } - } - } - }, - "UntagResource": { - "http": { - "method": "DELETE", - "requestUri": "/2017-03-31/tags/{ARN}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "Resource", - "TagKeys" - ], - "members": { - "Resource": { - "location": "uri", - "locationName": "ARN" - }, - "TagKeys": { - "location": "querystring", - "locationName": "tagKeys", - "type": "list", - "member": {} - } - } - } - }, - "UpdateAlias": { - "http": { - "method": "PUT", - "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName", - "Name" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Name": { - "location": "uri", - "locationName": "Name" - }, - "FunctionVersion": {}, - "Description": {} - } - }, - "output": { - "shape": "Sg" - } - }, - "UpdateEventSourceMapping": { - "http": { - "method": "PUT", - "requestUri": "/2015-03-31/event-source-mappings/{UUID}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "UUID" - ], - "members": { - "UUID": { - "location": "uri", - "locationName": "UUID" - }, - "FunctionName": {}, - "Enabled": { - "type": "boolean" - }, - "BatchSize": { - "type": "integer" - } - } - }, - "output": { - "shape": "Sn" - } - }, - "UpdateFunctionCode": { - "http": { - "method": "PUT", - "requestUri": "/2015-03-31/functions/{FunctionName}/code", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "ZipFile": { - "shape": "St" - }, - "S3Bucket": {}, - "S3Key": {}, - "S3ObjectVersion": {}, - "Publish": { - "type": "boolean" - }, - "DryRun": { - "type": "boolean" - } - } - }, - "output": { - "shape": "S1h" - } - }, - "UpdateFunctionConfiguration": { - "http": { - "method": "PUT", - "requestUri": "/2015-03-31/functions/{FunctionName}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FunctionName" - ], - "members": { - "FunctionName": { - "location": "uri", - "locationName": "FunctionName" - }, - "Role": {}, - "Handler": {}, - "Description": {}, - "Timeout": { - "type": "integer" - }, - "MemorySize": { - "type": "integer" - }, - "VpcConfig": { - "shape": "S10" - }, - "Environment": { - "shape": "S17" - }, - "Runtime": {}, - "DeadLetterConfig": { - "shape": "S15" - }, - "KMSKeyArn": {}, - "TracingConfig": { - "shape": "S1c" - } - } - }, - "output": { - "shape": "S1h" - } - } - }, - "shapes": { - "Sg": { - "type": "structure", - "members": { - "AliasArn": {}, - "Name": {}, - "FunctionVersion": {}, - "Description": {} - } - }, - "Sn": { - "type": "structure", - "members": { - "UUID": {}, - "BatchSize": { - "type": "integer" - }, - "EventSourceArn": {}, - "FunctionArn": {}, - "LastModified": { - "type": "timestamp" - }, - "LastProcessingResult": {}, - "State": {}, - "StateTransitionReason": {} - } - }, - "St": { - "type": "blob", - "sensitive": true - }, - "S10": { - "type": "structure", - "members": { - "SubnetIds": { - "shape": "S11" - }, - "SecurityGroupIds": { - "shape": "S13" - } - } - }, - "S11": { - "type": "list", - "member": {} - }, - "S13": { - "type": "list", - "member": {} - }, - "S15": { - "type": "structure", - "members": { - "TargetArn": {} - } - }, - "S17": { - "type": "structure", - "members": { - "Variables": { - "shape": "S18" - } - } - }, - "S18": { - "type": "map", - "key": { - "type": "string", - "sensitive": true - }, - "value": { - "type": "string", - "sensitive": true - }, - "sensitive": true - }, - "S1c": { - "type": "structure", - "members": { - "Mode": {} - } - }, - "S1e": { - "type": "map", - "key": {}, - "value": {} - }, - "S1h": { - "type": "structure", - "members": { - "FunctionName": {}, - "FunctionArn": {}, - "Runtime": {}, - "Role": {}, - "Handler": {}, - "CodeSize": { - "type": "long" - }, - "Description": {}, - "Timeout": { - "type": "integer" - }, - "MemorySize": { - "type": "integer" - }, - "LastModified": {}, - "CodeSha256": {}, - "Version": {}, - "VpcConfig": { - "type": "structure", - "members": { - "SubnetIds": { - "shape": "S11" - }, - "SecurityGroupIds": { - "shape": "S13" - }, - "VpcId": {} - } - }, - "DeadLetterConfig": { - "shape": "S15" - }, - "Environment": { - "type": "structure", - "members": { - "Variables": { - "shape": "S18" - }, - "Error": { - "type": "structure", - "members": { - "ErrorCode": {}, - "Message": { - "type": "string", - "sensitive": true - } - } - } - } - }, - "KMSKeyArn": {}, - "TracingConfig": { - "type": "structure", - "members": { - "Mode": {} - } - } - } - }, - "S2n": { - "type": "list", - "member": { - "shape": "S1h" - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json b/src/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json deleted file mode 100644 index a667b8a..0000000 --- a/src/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "pagination": { - "ListEventSourceMappings": { - "input_token": "Marker", - "limit_key": "MaxItems", - "output_token": "NextMarker", - "result_key": "EventSourceMappings" - }, - "ListFunctions": { - "input_token": "Marker", - "limit_key": "MaxItems", - "output_token": "NextMarker", - "result_key": "Functions" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/lex-models-2017-04-19.examples.json b/src/node_modules/aws-sdk/apis/lex-models-2017-04-19.examples.json deleted file mode 100644 index 4a56e6e..0000000 --- a/src/node_modules/aws-sdk/apis/lex-models-2017-04-19.examples.json +++ /dev/null @@ -1,758 +0,0 @@ -{ - "version": "1.0", - "examples": { - "GetBot": [ - { - "input": { - "name": "DocOrderPizza", - "versionOrAlias": "$LATEST" - }, - "output": { - "version": "$LATEST", - "name": "DocOrderPizzaBot", - "abortStatement": { - "messages": [ - { - "content": "I don't understand. Can you try again?", - "contentType": "PlainText" - }, - { - "content": "I'm sorry, I don't understand.", - "contentType": "PlainText" - } - ] - }, - "checksum": "20172ee3-fa06-49b2-bbc5-667c090303e9", - "childDirected": true, - "clarificationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "I'm sorry, I didn't hear that. Can you repeate what you just said?", - "contentType": "PlainText" - }, - { - "content": "Can you say that again?", - "contentType": "PlainText" - } - ] - }, - "createdDate": 1494360160.133, - "description": "Orders a pizza from a local pizzeria.", - "idleSessionTTLInSeconds": 300, - "intents": [ - { - "intentName": "DocOrderPizza", - "intentVersion": "$LATEST" - } - ], - "lastUpdatedDate": 1494360160.133, - "locale": "en-US", - "status": "NOT_BUILT" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows how to get configuration information for a bot.", - "id": "to-get-information-about-a-bot-1494431724188", - "title": "To get information about a bot" - } - ], - "GetBots": [ - { - "input": { - "maxResults": 5, - "nextToken": "" - }, - "output": { - "bots": [ - { - "version": "$LATEST", - "name": "DocOrderPizzaBot", - "createdDate": 1494360160.133, - "description": "Orders a pizza from a local pizzeria.", - "lastUpdatedDate": 1494360160.133, - "status": "NOT_BUILT" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows how to get a list of all of the bots in your account.", - "id": "to-get-a-list-of-bots-1494432220036", - "title": "To get a list of bots" - } - ], - "GetIntent": [ - { - "input": { - "version": "$LATEST", - "name": "DocOrderPizza" - }, - "output": { - "version": "$LATEST", - "name": "DocOrderPizza", - "checksum": "ca9bc13d-afc8-4706-bbaf-091f7a5935d6", - "conclusionStatement": { - "messages": [ - { - "content": "All right, I ordered you a {Crust} crust {Type} pizza with {Sauce} sauce.", - "contentType": "PlainText" - }, - { - "content": "OK, your {Crust} crust {Type} pizza with {Sauce} sauce is on the way.", - "contentType": "PlainText" - } - ], - "responseCard": "foo" - }, - "confirmationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "Should I order your {Crust} crust {Type} pizza with {Sauce} sauce?", - "contentType": "PlainText" - } - ] - }, - "createdDate": 1494359783.453, - "description": "Order a pizza from a local pizzeria.", - "fulfillmentActivity": { - "type": "ReturnIntent" - }, - "lastUpdatedDate": 1494359783.453, - "rejectionStatement": { - "messages": [ - { - "content": "Ok, I'll cancel your order.", - "contentType": "PlainText" - }, - { - "content": "I cancelled your order.", - "contentType": "PlainText" - } - ] - }, - "sampleUtterances": [ - "Order me a pizza.", - "Order me a {Type} pizza.", - "I want a {Crust} crust {Type} pizza", - "I want a {Crust} crust {Type} pizza with {Sauce} sauce." - ], - "slots": [ - { - "name": "Type", - "description": "The type of pizza to order.", - "priority": 1, - "sampleUtterances": [ - "Get me a {Type} pizza.", - "A {Type} pizza please.", - "I'd like a {Type} pizza." - ], - "slotConstraint": "Required", - "slotType": "DocPizzaType", - "slotTypeVersion": "$LATEST", - "valueElicitationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "What type of pizza would you like?", - "contentType": "PlainText" - }, - { - "content": "Vegie or cheese pizza?", - "contentType": "PlainText" - }, - { - "content": "I can get you a vegie or a cheese pizza.", - "contentType": "PlainText" - } - ] - } - }, - { - "name": "Crust", - "description": "The type of pizza crust to order.", - "priority": 2, - "sampleUtterances": [ - "Make it a {Crust} crust.", - "I'd like a {Crust} crust." - ], - "slotConstraint": "Required", - "slotType": "DocPizzaCrustType", - "slotTypeVersion": "$LATEST", - "valueElicitationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "What type of crust would you like?", - "contentType": "PlainText" - }, - { - "content": "Thick or thin crust?", - "contentType": "PlainText" - } - ] - } - }, - { - "name": "Sauce", - "description": "The type of sauce to use on the pizza.", - "priority": 3, - "sampleUtterances": [ - "Make it {Sauce} sauce.", - "I'd like {Sauce} sauce." - ], - "slotConstraint": "Required", - "slotType": "DocPizzaSauceType", - "slotTypeVersion": "$LATEST", - "valueElicitationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "White or red sauce?", - "contentType": "PlainText" - }, - { - "content": "Garlic or tomato sauce?", - "contentType": "PlainText" - } - ] - } - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows how to get information about an intent.", - "id": "to-get-a-information-about-an-intent-1494432574147", - "title": "To get a information about an intent" - } - ], - "GetIntents": [ - { - "input": { - "maxResults": 10, - "nextToken": "" - }, - "output": { - "intents": [ - { - "version": "$LATEST", - "name": "DocOrderPizza", - "createdDate": 1494359783.453, - "description": "Order a pizza from a local pizzeria.", - "lastUpdatedDate": 1494359783.453 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows how to get a list of all of the intents in your account.", - "id": "to-get-a-list-of-intents-1494432416363", - "title": "To get a list of intents" - } - ], - "GetSlotType": [ - { - "input": { - "version": "$LATEST", - "name": "DocPizzaCrustType" - }, - "output": { - "version": "$LATEST", - "name": "DocPizzaCrustType", - "checksum": "210b3d5a-90a3-4b22-ac7e-f50c2c71095f", - "createdDate": 1494359274.403, - "description": "Available crust types", - "enumerationValues": [ - { - "value": "thick" - }, - { - "value": "thin" - } - ], - "lastUpdatedDate": 1494359274.403 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows how to get information about a slot type.", - "id": "to-get-information-about-a-slot-type-1494432961004", - "title": "To get information about a slot type" - } - ], - "GetSlotTypes": [ - { - "input": { - "maxResults": 10, - "nextToken": "" - }, - "output": { - "slotTypes": [ - { - "version": "$LATEST", - "name": "DocPizzaCrustType", - "createdDate": 1494359274.403, - "description": "Available crust types", - "lastUpdatedDate": 1494359274.403 - }, - { - "version": "$LATEST", - "name": "DocPizzaSauceType", - "createdDate": 1494356442.23, - "description": "Available pizza sauces", - "lastUpdatedDate": 1494356442.23 - }, - { - "version": "$LATEST", - "name": "DocPizzaType", - "createdDate": 1494359198.656, - "description": "Available pizzas", - "lastUpdatedDate": 1494359198.656 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows how to get a list of all of the slot types in your account.", - "id": "to-get-a-list-of-slot-types-1494432757458", - "title": "To get a list of slot types" - } - ], - "PutBot": [ - { - "input": { - "name": "DocOrderPizzaBot", - "abortStatement": { - "messages": [ - { - "content": "I don't understand. Can you try again?", - "contentType": "PlainText" - }, - { - "content": "I'm sorry, I don't understand.", - "contentType": "PlainText" - } - ] - }, - "childDirected": true, - "clarificationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "I'm sorry, I didn't hear that. Can you repeate what you just said?", - "contentType": "PlainText" - }, - { - "content": "Can you say that again?", - "contentType": "PlainText" - } - ] - }, - "description": "Orders a pizza from a local pizzeria.", - "idleSessionTTLInSeconds": 300, - "intents": [ - { - "intentName": "DocOrderPizza", - "intentVersion": "$LATEST" - } - ], - "locale": "en-US", - "processBehavior": "SAVE" - }, - "output": { - "version": "$LATEST", - "name": "DocOrderPizzaBot", - "abortStatement": { - "messages": [ - { - "content": "I don't understand. Can you try again?", - "contentType": "PlainText" - }, - { - "content": "I'm sorry, I don't understand.", - "contentType": "PlainText" - } - ] - }, - "checksum": "20172ee3-fa06-49b2-bbc5-667c090303e9", - "childDirected": true, - "clarificationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "I'm sorry, I didn't hear that. Can you repeate what you just said?", - "contentType": "PlainText" - }, - { - "content": "Can you say that again?", - "contentType": "PlainText" - } - ] - }, - "createdDate": 1494360160.133, - "description": "Orders a pizza from a local pizzeria.", - "idleSessionTTLInSeconds": 300, - "intents": [ - { - "intentName": "DocOrderPizza", - "intentVersion": "$LATEST" - } - ], - "lastUpdatedDate": 1494360160.133, - "locale": "en-US", - "status": "NOT_BUILT" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows how to create a bot for ordering pizzas.", - "id": "to-create-a-bot-1494360003886", - "title": "To create a bot" - } - ], - "PutIntent": [ - { - "input": { - "name": "DocOrderPizza", - "conclusionStatement": { - "messages": [ - { - "content": "All right, I ordered you a {Crust} crust {Type} pizza with {Sauce} sauce.", - "contentType": "PlainText" - }, - { - "content": "OK, your {Crust} crust {Type} pizza with {Sauce} sauce is on the way.", - "contentType": "PlainText" - } - ], - "responseCard": "foo" - }, - "confirmationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "Should I order your {Crust} crust {Type} pizza with {Sauce} sauce?", - "contentType": "PlainText" - } - ] - }, - "description": "Order a pizza from a local pizzeria.", - "fulfillmentActivity": { - "type": "ReturnIntent" - }, - "rejectionStatement": { - "messages": [ - { - "content": "Ok, I'll cancel your order.", - "contentType": "PlainText" - }, - { - "content": "I cancelled your order.", - "contentType": "PlainText" - } - ] - }, - "sampleUtterances": [ - "Order me a pizza.", - "Order me a {Type} pizza.", - "I want a {Crust} crust {Type} pizza", - "I want a {Crust} crust {Type} pizza with {Sauce} sauce." - ], - "slots": [ - { - "name": "Type", - "description": "The type of pizza to order.", - "priority": 1, - "sampleUtterances": [ - "Get me a {Type} pizza.", - "A {Type} pizza please.", - "I'd like a {Type} pizza." - ], - "slotConstraint": "Required", - "slotType": "DocPizzaType", - "slotTypeVersion": "$LATEST", - "valueElicitationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "What type of pizza would you like?", - "contentType": "PlainText" - }, - { - "content": "Vegie or cheese pizza?", - "contentType": "PlainText" - }, - { - "content": "I can get you a vegie or a cheese pizza.", - "contentType": "PlainText" - } - ] - } - }, - { - "name": "Crust", - "description": "The type of pizza crust to order.", - "priority": 2, - "sampleUtterances": [ - "Make it a {Crust} crust.", - "I'd like a {Crust} crust." - ], - "slotConstraint": "Required", - "slotType": "DocPizzaCrustType", - "slotTypeVersion": "$LATEST", - "valueElicitationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "What type of crust would you like?", - "contentType": "PlainText" - }, - { - "content": "Thick or thin crust?", - "contentType": "PlainText" - } - ] - } - }, - { - "name": "Sauce", - "description": "The type of sauce to use on the pizza.", - "priority": 3, - "sampleUtterances": [ - "Make it {Sauce} sauce.", - "I'd like {Sauce} sauce." - ], - "slotConstraint": "Required", - "slotType": "DocPizzaSauceType", - "slotTypeVersion": "$LATEST", - "valueElicitationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "White or red sauce?", - "contentType": "PlainText" - }, - { - "content": "Garlic or tomato sauce?", - "contentType": "PlainText" - } - ] - } - } - ] - }, - "output": { - "version": "$LATEST", - "name": "DocOrderPizza", - "checksum": "ca9bc13d-afc8-4706-bbaf-091f7a5935d6", - "conclusionStatement": { - "messages": [ - { - "content": "All right, I ordered you a {Crust} crust {Type} pizza with {Sauce} sauce.", - "contentType": "PlainText" - }, - { - "content": "OK, your {Crust} crust {Type} pizza with {Sauce} sauce is on the way.", - "contentType": "PlainText" - } - ], - "responseCard": "foo" - }, - "confirmationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "Should I order your {Crust} crust {Type} pizza with {Sauce} sauce?", - "contentType": "PlainText" - } - ] - }, - "createdDate": 1494359783.453, - "description": "Order a pizza from a local pizzeria.", - "fulfillmentActivity": { - "type": "ReturnIntent" - }, - "lastUpdatedDate": 1494359783.453, - "rejectionStatement": { - "messages": [ - { - "content": "Ok, I'll cancel your order.", - "contentType": "PlainText" - }, - { - "content": "I cancelled your order.", - "contentType": "PlainText" - } - ] - }, - "sampleUtterances": [ - "Order me a pizza.", - "Order me a {Type} pizza.", - "I want a {Crust} crust {Type} pizza", - "I want a {Crust} crust {Type} pizza with {Sauce} sauce." - ], - "slots": [ - { - "name": "Sauce", - "description": "The type of sauce to use on the pizza.", - "priority": 3, - "sampleUtterances": [ - "Make it {Sauce} sauce.", - "I'd like {Sauce} sauce." - ], - "slotConstraint": "Required", - "slotType": "DocPizzaSauceType", - "slotTypeVersion": "$LATEST", - "valueElicitationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "White or red sauce?", - "contentType": "PlainText" - }, - { - "content": "Garlic or tomato sauce?", - "contentType": "PlainText" - } - ] - } - }, - { - "name": "Type", - "description": "The type of pizza to order.", - "priority": 1, - "sampleUtterances": [ - "Get me a {Type} pizza.", - "A {Type} pizza please.", - "I'd like a {Type} pizza." - ], - "slotConstraint": "Required", - "slotType": "DocPizzaType", - "slotTypeVersion": "$LATEST", - "valueElicitationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "What type of pizza would you like?", - "contentType": "PlainText" - }, - { - "content": "Vegie or cheese pizza?", - "contentType": "PlainText" - }, - { - "content": "I can get you a vegie or a cheese pizza.", - "contentType": "PlainText" - } - ] - } - }, - { - "name": "Crust", - "description": "The type of pizza crust to order.", - "priority": 2, - "sampleUtterances": [ - "Make it a {Crust} crust.", - "I'd like a {Crust} crust." - ], - "slotConstraint": "Required", - "slotType": "DocPizzaCrustType", - "slotTypeVersion": "$LATEST", - "valueElicitationPrompt": { - "maxAttempts": 1, - "messages": [ - { - "content": "What type of crust would you like?", - "contentType": "PlainText" - }, - { - "content": "Thick or thin crust?", - "contentType": "PlainText" - } - ] - } - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows how to create an intent for ordering pizzas.", - "id": "to-create-an-intent-1494358144659", - "title": "To create an intent" - } - ], - "PutSlotType": [ - { - "input": { - "name": "PizzaSauceType", - "description": "Available pizza sauces", - "enumerationValues": [ - { - "value": "red" - }, - { - "value": "white" - } - ] - }, - "output": { - "version": "$LATEST", - "name": "DocPizzaSauceType", - "checksum": "cfd00ed1-775d-4357-947c-aca7e73b44ba", - "createdDate": 1494356442.23, - "description": "Available pizza sauces", - "enumerationValues": [ - { - "value": "red" - }, - { - "value": "white" - } - ], - "lastUpdatedDate": 1494356442.23 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows how to create a slot type that describes pizza sauces.", - "id": "to-create-a-slot-type-1494357262258", - "title": "To Create a Slot Type" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/lex-models-2017-04-19.min.json b/src/node_modules/aws-sdk/apis/lex-models-2017-04-19.min.json deleted file mode 100644 index b554b93..0000000 --- a/src/node_modules/aws-sdk/apis/lex-models-2017-04-19.min.json +++ /dev/null @@ -1,1597 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2017-04-19", - "endpointPrefix": "models.lex", - "jsonVersion": "1.1", - "protocol": "rest-json", - "serviceFullName": "Amazon Lex Model Building Service", - "signatureVersion": "v4", - "signingName": "lex", - "uid": "lex-models-2017-04-19" - }, - "operations": { - "CreateBotVersion": { - "http": { - "requestUri": "/bots/{name}/versions", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "checksum": {} - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "intents": { - "shape": "S6" - }, - "clarificationPrompt": { - "shape": "Sa" - }, - "abortStatement": { - "shape": "Sh" - }, - "status": {}, - "failureReason": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "idleSessionTTLInSeconds": { - "type": "integer" - }, - "voiceId": {}, - "checksum": {}, - "version": {}, - "locale": {}, - "childDirected": { - "type": "boolean" - } - } - } - }, - "CreateIntentVersion": { - "http": { - "requestUri": "/intents/{name}/versions", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "checksum": {} - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "slots": { - "shape": "Sp" - }, - "sampleUtterances": { - "shape": "Sx" - }, - "confirmationPrompt": { - "shape": "Sa" - }, - "rejectionStatement": { - "shape": "Sh" - }, - "followUpPrompt": { - "shape": "Sy" - }, - "conclusionStatement": { - "shape": "Sh" - }, - "dialogCodeHook": { - "shape": "Sz" - }, - "fulfillmentActivity": { - "shape": "S12" - }, - "parentIntentSignature": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "version": {}, - "checksum": {} - } - } - }, - "CreateSlotTypeVersion": { - "http": { - "requestUri": "/slottypes/{name}/versions", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "checksum": {} - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "enumerationValues": { - "shape": "S18" - }, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "version": {}, - "checksum": {} - } - } - }, - "DeleteBot": { - "http": { - "method": "DELETE", - "requestUri": "/bots/{name}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - } - } - } - }, - "DeleteBotAlias": { - "http": { - "method": "DELETE", - "requestUri": "/bots/{botName}/aliases/{name}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "name", - "botName" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "botName": { - "location": "uri", - "locationName": "botName" - } - } - } - }, - "DeleteBotChannelAssociation": { - "http": { - "method": "DELETE", - "requestUri": "/bots/{botName}/aliases/{aliasName}/channels/{name}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "name", - "botName", - "botAlias" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "botName": { - "location": "uri", - "locationName": "botName" - }, - "botAlias": { - "location": "uri", - "locationName": "aliasName" - } - } - } - }, - "DeleteBotVersion": { - "http": { - "method": "DELETE", - "requestUri": "/bots/{name}/versions/{version}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "name", - "version" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "version": { - "location": "uri", - "locationName": "version" - } - } - } - }, - "DeleteIntent": { - "http": { - "method": "DELETE", - "requestUri": "/intents/{name}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - } - } - } - }, - "DeleteIntentVersion": { - "http": { - "method": "DELETE", - "requestUri": "/intents/{name}/versions/{version}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "name", - "version" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "version": { - "location": "uri", - "locationName": "version" - } - } - } - }, - "DeleteSlotType": { - "http": { - "method": "DELETE", - "requestUri": "/slottypes/{name}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - } - } - } - }, - "DeleteSlotTypeVersion": { - "http": { - "method": "DELETE", - "requestUri": "/slottypes/{name}/version/{version}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "name", - "version" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "version": { - "location": "uri", - "locationName": "version" - } - } - } - }, - "DeleteUtterances": { - "http": { - "method": "DELETE", - "requestUri": "/bots/{botName}/utterances/{userId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "botName", - "userId" - ], - "members": { - "botName": { - "location": "uri", - "locationName": "botName" - }, - "userId": { - "location": "uri", - "locationName": "userId" - } - } - } - }, - "GetBot": { - "http": { - "method": "GET", - "requestUri": "/bots/{name}/versions/{versionoralias}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name", - "versionOrAlias" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "versionOrAlias": { - "location": "uri", - "locationName": "versionoralias" - } - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "intents": { - "shape": "S6" - }, - "clarificationPrompt": { - "shape": "Sa" - }, - "abortStatement": { - "shape": "Sh" - }, - "status": {}, - "failureReason": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "idleSessionTTLInSeconds": { - "type": "integer" - }, - "voiceId": {}, - "checksum": {}, - "version": {}, - "locale": {}, - "childDirected": { - "type": "boolean" - } - } - } - }, - "GetBotAlias": { - "http": { - "method": "GET", - "requestUri": "/bots/{botName}/aliases/{name}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name", - "botName" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "botName": { - "location": "uri", - "locationName": "botName" - } - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "botVersion": {}, - "botName": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "checksum": {} - } - } - }, - "GetBotAliases": { - "http": { - "method": "GET", - "requestUri": "/bots/{botName}/aliases/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "botName" - ], - "members": { - "botName": { - "location": "uri", - "locationName": "botName" - }, - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "nameContains": { - "location": "querystring", - "locationName": "nameContains" - } - } - }, - "output": { - "type": "structure", - "members": { - "BotAliases": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "botVersion": {}, - "botName": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "checksum": {} - } - } - }, - "nextToken": {} - } - } - }, - "GetBotChannelAssociation": { - "http": { - "method": "GET", - "requestUri": "/bots/{botName}/aliases/{aliasName}/channels/{name}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name", - "botName", - "botAlias" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "botName": { - "location": "uri", - "locationName": "botName" - }, - "botAlias": { - "location": "uri", - "locationName": "aliasName" - } - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "botAlias": {}, - "botName": {}, - "createdDate": { - "type": "timestamp" - }, - "type": {}, - "botConfiguration": { - "shape": "S21" - } - } - } - }, - "GetBotChannelAssociations": { - "http": { - "method": "GET", - "requestUri": "/bots/{botName}/aliases/{aliasName}/channels/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "botName", - "botAlias" - ], - "members": { - "botName": { - "location": "uri", - "locationName": "botName" - }, - "botAlias": { - "location": "uri", - "locationName": "aliasName" - }, - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "nameContains": { - "location": "querystring", - "locationName": "nameContains" - } - } - }, - "output": { - "type": "structure", - "members": { - "botChannelAssociations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "botAlias": {}, - "botName": {}, - "createdDate": { - "type": "timestamp" - }, - "type": {}, - "botConfiguration": { - "shape": "S21" - } - } - } - }, - "nextToken": {} - } - } - }, - "GetBotVersions": { - "http": { - "method": "GET", - "requestUri": "/bots/{name}/versions/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "bots": { - "shape": "S29" - }, - "nextToken": {} - } - } - }, - "GetBots": { - "http": { - "method": "GET", - "requestUri": "/bots/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "nameContains": { - "location": "querystring", - "locationName": "nameContains" - } - } - }, - "output": { - "type": "structure", - "members": { - "bots": { - "shape": "S29" - }, - "nextToken": {} - } - } - }, - "GetBuiltinIntent": { - "http": { - "method": "GET", - "requestUri": "/builtins/intents/{signature}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "signature" - ], - "members": { - "signature": { - "location": "uri", - "locationName": "signature" - } - } - }, - "output": { - "type": "structure", - "members": { - "signature": {}, - "supportedLocales": { - "shape": "S2f" - }, - "slots": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {} - } - } - } - } - } - }, - "GetBuiltinIntents": { - "http": { - "method": "GET", - "requestUri": "/builtins/intents/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "locale": { - "location": "querystring", - "locationName": "locale" - }, - "signatureContains": { - "location": "querystring", - "locationName": "signatureContains" - }, - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "intents": { - "type": "list", - "member": { - "type": "structure", - "members": { - "signature": {}, - "supportedLocales": { - "shape": "S2f" - } - } - } - }, - "nextToken": {} - } - } - }, - "GetBuiltinSlotTypes": { - "http": { - "method": "GET", - "requestUri": "/builtins/slottypes/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "locale": { - "location": "querystring", - "locationName": "locale" - }, - "signatureContains": { - "location": "querystring", - "locationName": "signatureContains" - }, - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "slotTypes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "signature": {}, - "supportedLocales": { - "shape": "S2f" - } - } - } - }, - "nextToken": {} - } - } - }, - "GetIntent": { - "http": { - "method": "GET", - "requestUri": "/intents/{name}/versions/{version}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name", - "version" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "version": { - "location": "uri", - "locationName": "version" - } - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "slots": { - "shape": "Sp" - }, - "sampleUtterances": { - "shape": "Sx" - }, - "confirmationPrompt": { - "shape": "Sa" - }, - "rejectionStatement": { - "shape": "Sh" - }, - "followUpPrompt": { - "shape": "Sy" - }, - "conclusionStatement": { - "shape": "Sh" - }, - "dialogCodeHook": { - "shape": "Sz" - }, - "fulfillmentActivity": { - "shape": "S12" - }, - "parentIntentSignature": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "version": {}, - "checksum": {} - } - } - }, - "GetIntentVersions": { - "http": { - "method": "GET", - "requestUri": "/intents/{name}/versions/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "intents": { - "shape": "S2v" - }, - "nextToken": {} - } - } - }, - "GetIntents": { - "http": { - "method": "GET", - "requestUri": "/intents/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "nameContains": { - "location": "querystring", - "locationName": "nameContains" - } - } - }, - "output": { - "type": "structure", - "members": { - "intents": { - "shape": "S2v" - }, - "nextToken": {} - } - } - }, - "GetSlotType": { - "http": { - "method": "GET", - "requestUri": "/slottypes/{name}/versions/{version}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name", - "version" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "version": { - "location": "uri", - "locationName": "version" - } - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "enumerationValues": { - "shape": "S18" - }, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "version": {}, - "checksum": {} - } - } - }, - "GetSlotTypeVersions": { - "http": { - "method": "GET", - "requestUri": "/slottypes/{name}/versions/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "slotTypes": { - "shape": "S33" - }, - "nextToken": {} - } - } - }, - "GetSlotTypes": { - "http": { - "method": "GET", - "requestUri": "/slottypes/", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "nextToken": { - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "location": "querystring", - "locationName": "maxResults", - "type": "integer" - }, - "nameContains": { - "location": "querystring", - "locationName": "nameContains" - } - } - }, - "output": { - "type": "structure", - "members": { - "slotTypes": { - "shape": "S33" - }, - "nextToken": {} - } - } - }, - "GetUtterancesView": { - "http": { - "method": "GET", - "requestUri": "/bots/{botname}/utterances?view=aggregation", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "botName", - "botVersions", - "statusType" - ], - "members": { - "botName": { - "location": "uri", - "locationName": "botname" - }, - "botVersions": { - "location": "querystring", - "locationName": "bot_versions", - "type": "list", - "member": {} - }, - "statusType": { - "location": "querystring", - "locationName": "status_type" - } - } - }, - "output": { - "type": "structure", - "members": { - "botName": {}, - "utterances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "botVersion": {}, - "utterances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "utteranceString": {}, - "count": { - "type": "integer" - }, - "distinctUsers": { - "type": "integer" - }, - "firstUtteredDate": { - "type": "timestamp" - }, - "lastUtteredDate": { - "type": "timestamp" - } - } - } - } - } - } - } - } - } - }, - "PutBot": { - "http": { - "method": "PUT", - "requestUri": "/bots/{name}/versions/$LATEST", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name", - "locale", - "childDirected" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "description": {}, - "intents": { - "shape": "S6" - }, - "clarificationPrompt": { - "shape": "Sa" - }, - "abortStatement": { - "shape": "Sh" - }, - "idleSessionTTLInSeconds": { - "type": "integer" - }, - "voiceId": {}, - "checksum": {}, - "processBehavior": {}, - "locale": {}, - "childDirected": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "intents": { - "shape": "S6" - }, - "clarificationPrompt": { - "shape": "Sa" - }, - "abortStatement": { - "shape": "Sh" - }, - "status": {}, - "failureReason": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "idleSessionTTLInSeconds": { - "type": "integer" - }, - "voiceId": {}, - "checksum": {}, - "version": {}, - "locale": {}, - "childDirected": { - "type": "boolean" - } - } - } - }, - "PutBotAlias": { - "http": { - "method": "PUT", - "requestUri": "/bots/{botName}/aliases/{name}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name", - "botVersion", - "botName" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "description": {}, - "botVersion": {}, - "botName": { - "location": "uri", - "locationName": "botName" - }, - "checksum": {} - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "botVersion": {}, - "botName": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "checksum": {} - } - } - }, - "PutIntent": { - "http": { - "method": "PUT", - "requestUri": "/intents/{name}/versions/$LATEST", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "description": {}, - "slots": { - "shape": "Sp" - }, - "sampleUtterances": { - "shape": "Sx" - }, - "confirmationPrompt": { - "shape": "Sa" - }, - "rejectionStatement": { - "shape": "Sh" - }, - "followUpPrompt": { - "shape": "Sy" - }, - "conclusionStatement": { - "shape": "Sh" - }, - "dialogCodeHook": { - "shape": "Sz" - }, - "fulfillmentActivity": { - "shape": "S12" - }, - "parentIntentSignature": {}, - "checksum": {} - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "slots": { - "shape": "Sp" - }, - "sampleUtterances": { - "shape": "Sx" - }, - "confirmationPrompt": { - "shape": "Sa" - }, - "rejectionStatement": { - "shape": "Sh" - }, - "followUpPrompt": { - "shape": "Sy" - }, - "conclusionStatement": { - "shape": "Sh" - }, - "dialogCodeHook": { - "shape": "Sz" - }, - "fulfillmentActivity": { - "shape": "S12" - }, - "parentIntentSignature": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "version": {}, - "checksum": {} - } - } - }, - "PutSlotType": { - "http": { - "method": "PUT", - "requestUri": "/slottypes/{name}/versions/$LATEST", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": { - "location": "uri", - "locationName": "name" - }, - "description": {}, - "enumerationValues": { - "shape": "S18" - }, - "checksum": {} - } - }, - "output": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "enumerationValues": { - "shape": "S18" - }, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "version": {}, - "checksum": {} - } - } - } - }, - "shapes": { - "S6": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "intentName", - "intentVersion" - ], - "members": { - "intentName": {}, - "intentVersion": {} - } - } - }, - "Sa": { - "type": "structure", - "required": [ - "messages", - "maxAttempts" - ], - "members": { - "messages": { - "shape": "Sb" - }, - "maxAttempts": { - "type": "integer" - }, - "responseCard": {} - } - }, - "Sb": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "contentType", - "content" - ], - "members": { - "contentType": {}, - "content": {} - } - } - }, - "Sh": { - "type": "structure", - "required": [ - "messages" - ], - "members": { - "messages": { - "shape": "Sb" - }, - "responseCard": {} - } - }, - "Sp": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "slotConstraint" - ], - "members": { - "name": {}, - "description": {}, - "slotConstraint": {}, - "slotType": {}, - "slotTypeVersion": {}, - "valueElicitationPrompt": { - "shape": "Sa" - }, - "priority": { - "type": "integer" - }, - "sampleUtterances": { - "type": "list", - "member": {} - }, - "responseCard": {} - } - } - }, - "Sx": { - "type": "list", - "member": {} - }, - "Sy": { - "type": "structure", - "required": [ - "prompt", - "rejectionStatement" - ], - "members": { - "prompt": { - "shape": "Sa" - }, - "rejectionStatement": { - "shape": "Sh" - } - } - }, - "Sz": { - "type": "structure", - "required": [ - "uri", - "messageVersion" - ], - "members": { - "uri": {}, - "messageVersion": {} - } - }, - "S12": { - "type": "structure", - "required": [ - "type" - ], - "members": { - "type": {}, - "codeHook": { - "shape": "Sz" - } - } - }, - "S18": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "value" - ], - "members": { - "value": {} - } - } - }, - "S21": { - "type": "map", - "key": {}, - "value": {} - }, - "S29": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "status": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "version": {} - } - } - }, - "S2f": { - "type": "list", - "member": {} - }, - "S2v": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "version": {} - } - } - }, - "S33": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "description": {}, - "lastUpdatedDate": { - "type": "timestamp" - }, - "createdDate": { - "type": "timestamp" - }, - "version": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/lex-models-2017-04-19.paginators.json b/src/node_modules/aws-sdk/apis/lex-models-2017-04-19.paginators.json deleted file mode 100644 index 57cb7bf..0000000 --- a/src/node_modules/aws-sdk/apis/lex-models-2017-04-19.paginators.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "pagination": { - "GetBotAliases": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults" - }, - "GetBotChannelAssociations": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults" - }, - "GetBotVersions": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults" - }, - "GetBots": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults" - }, - "GetBuiltinIntents": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults" - }, - "GetBuiltinSlotTypes": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults" - }, - "GetIntentVersions": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults" - }, - "GetIntents": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults" - }, - "GetSlotTypeVersions": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults" - }, - "GetSlotTypes": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/lightsail-2016-11-28.examples.json b/src/node_modules/aws-sdk/apis/lightsail-2016-11-28.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/lightsail-2016-11-28.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json b/src/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json deleted file mode 100644 index fa2889b..0000000 --- a/src/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +++ /dev/null @@ -1,1382 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-11-28", - "endpointPrefix": "lightsail", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon Lightsail", - "signatureVersion": "v4", - "targetPrefix": "Lightsail_20161128", - "uid": "lightsail-2016-11-28" - }, - "operations": { - "AllocateStaticIp": { - "input": { - "type": "structure", - "required": [ - "staticIpName" - ], - "members": { - "staticIpName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "AttachStaticIp": { - "input": { - "type": "structure", - "required": [ - "staticIpName", - "instanceName" - ], - "members": { - "staticIpName": {}, - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "CloseInstancePublicPorts": { - "input": { - "type": "structure", - "required": [ - "portInfo", - "instanceName" - ], - "members": { - "portInfo": { - "shape": "Si" - }, - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "CreateDomain": { - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "CreateDomainEntry": { - "input": { - "type": "structure", - "required": [ - "domainName", - "domainEntry" - ], - "members": { - "domainName": {}, - "domainEntry": { - "shape": "Sq" - } - } - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "CreateInstanceSnapshot": { - "input": { - "type": "structure", - "required": [ - "instanceSnapshotName", - "instanceName" - ], - "members": { - "instanceSnapshotName": {}, - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "CreateInstances": { - "input": { - "type": "structure", - "required": [ - "instanceNames", - "availabilityZone", - "blueprintId", - "bundleId" - ], - "members": { - "instanceNames": { - "shape": "Sy" - }, - "availabilityZone": {}, - "customImageName": { - "deprecated": true - }, - "blueprintId": {}, - "bundleId": {}, - "userData": {}, - "keyPairName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "CreateInstancesFromSnapshot": { - "input": { - "type": "structure", - "required": [ - "instanceNames", - "availabilityZone", - "instanceSnapshotName", - "bundleId" - ], - "members": { - "instanceNames": { - "shape": "Sy" - }, - "availabilityZone": {}, - "instanceSnapshotName": {}, - "bundleId": {}, - "userData": {}, - "keyPairName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "CreateKeyPair": { - "input": { - "type": "structure", - "required": [ - "keyPairName" - ], - "members": { - "keyPairName": {} - } - }, - "output": { - "type": "structure", - "members": { - "keyPair": { - "shape": "S14" - }, - "publicKeyBase64": {}, - "privateKeyBase64": {}, - "operation": { - "shape": "S5" - } - } - } - }, - "DeleteDomain": { - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "DeleteDomainEntry": { - "input": { - "type": "structure", - "required": [ - "domainName", - "domainEntry" - ], - "members": { - "domainName": {}, - "domainEntry": { - "shape": "Sq" - } - } - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "DeleteInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "DeleteInstanceSnapshot": { - "input": { - "type": "structure", - "required": [ - "instanceSnapshotName" - ], - "members": { - "instanceSnapshotName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "DeleteKeyPair": { - "input": { - "type": "structure", - "required": [ - "keyPairName" - ], - "members": { - "keyPairName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "DetachStaticIp": { - "input": { - "type": "structure", - "required": [ - "staticIpName" - ], - "members": { - "staticIpName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "DownloadDefaultKeyPair": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "publicKeyBase64": {}, - "privateKeyBase64": {} - } - } - }, - "GetActiveNames": { - "input": { - "type": "structure", - "members": { - "pageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "activeNames": { - "shape": "Sy" - }, - "nextPageToken": {} - } - } - }, - "GetBlueprints": { - "input": { - "type": "structure", - "members": { - "includeInactive": { - "type": "boolean" - }, - "pageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "blueprints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "blueprintId": {}, - "name": {}, - "group": {}, - "type": {}, - "description": {}, - "isActive": { - "type": "boolean" - }, - "minPower": { - "type": "integer" - }, - "version": {}, - "versionCode": {}, - "productUrl": {}, - "licenseUrl": {} - } - } - }, - "nextPageToken": {} - } - } - }, - "GetBundles": { - "input": { - "type": "structure", - "members": { - "includeInactive": { - "type": "boolean" - }, - "pageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "bundles": { - "type": "list", - "member": { - "type": "structure", - "members": { - "price": { - "type": "float" - }, - "cpuCount": { - "type": "integer" - }, - "diskSizeInGb": { - "type": "integer" - }, - "bundleId": {}, - "instanceType": {}, - "isActive": { - "type": "boolean" - }, - "name": {}, - "power": { - "type": "integer" - }, - "ramSizeInGb": { - "type": "float" - }, - "transferPerMonthInGb": { - "type": "integer" - } - } - } - }, - "nextPageToken": {} - } - } - }, - "GetDomain": { - "input": { - "type": "structure", - "required": [ - "domainName" - ], - "members": { - "domainName": {} - } - }, - "output": { - "type": "structure", - "members": { - "domain": { - "shape": "S1z" - } - } - } - }, - "GetDomains": { - "input": { - "type": "structure", - "members": { - "pageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "domains": { - "type": "list", - "member": { - "shape": "S1z" - } - }, - "nextPageToken": {} - } - } - }, - "GetInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "instance": { - "shape": "S26" - } - } - } - }, - "GetInstanceAccessDetails": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {}, - "protocol": {} - } - }, - "output": { - "type": "structure", - "members": { - "accessDetails": { - "type": "structure", - "members": { - "certKey": {}, - "expiresAt": { - "type": "timestamp" - }, - "ipAddress": {}, - "password": {}, - "privateKey": {}, - "protocol": {}, - "instanceName": {}, - "username": {} - } - } - } - } - }, - "GetInstanceMetricData": { - "input": { - "type": "structure", - "required": [ - "instanceName", - "metricName", - "period", - "startTime", - "endTime", - "unit", - "statistics" - ], - "members": { - "instanceName": {}, - "metricName": {}, - "period": { - "type": "integer" - }, - "startTime": { - "type": "timestamp" - }, - "endTime": { - "type": "timestamp" - }, - "unit": {}, - "statistics": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "metricName": {}, - "metricData": { - "type": "list", - "member": { - "type": "structure", - "members": { - "average": { - "type": "double" - }, - "maximum": { - "type": "double" - }, - "minimum": { - "type": "double" - }, - "sampleCount": { - "type": "double" - }, - "sum": { - "type": "double" - }, - "timestamp": { - "type": "timestamp" - }, - "unit": {} - } - } - } - } - } - }, - "GetInstancePortStates": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "portStates": { - "type": "list", - "member": { - "type": "structure", - "members": { - "fromPort": { - "type": "integer" - }, - "toPort": { - "type": "integer" - }, - "protocol": {}, - "state": {} - } - } - } - } - } - }, - "GetInstanceSnapshot": { - "input": { - "type": "structure", - "required": [ - "instanceSnapshotName" - ], - "members": { - "instanceSnapshotName": {} - } - }, - "output": { - "type": "structure", - "members": { - "instanceSnapshot": { - "shape": "S35" - } - } - } - }, - "GetInstanceSnapshots": { - "input": { - "type": "structure", - "members": { - "pageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "instanceSnapshots": { - "type": "list", - "member": { - "shape": "S35" - } - }, - "nextPageToken": {} - } - } - }, - "GetInstanceState": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "state": { - "shape": "S2i" - } - } - } - }, - "GetInstances": { - "input": { - "type": "structure", - "members": { - "pageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "instances": { - "type": "list", - "member": { - "shape": "S26" - } - }, - "nextPageToken": {} - } - } - }, - "GetKeyPair": { - "input": { - "type": "structure", - "required": [ - "keyPairName" - ], - "members": { - "keyPairName": {} - } - }, - "output": { - "type": "structure", - "members": { - "keyPair": { - "shape": "S14" - } - } - } - }, - "GetKeyPairs": { - "input": { - "type": "structure", - "members": { - "pageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "keyPairs": { - "type": "list", - "member": { - "shape": "S14" - } - }, - "nextPageToken": {} - } - } - }, - "GetOperation": { - "input": { - "type": "structure", - "required": [ - "operationId" - ], - "members": { - "operationId": {} - } - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "GetOperations": { - "input": { - "type": "structure", - "members": { - "pageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - }, - "nextPageToken": {} - } - } - }, - "GetOperationsForResource": { - "input": { - "type": "structure", - "required": [ - "resourceName" - ], - "members": { - "resourceName": {}, - "pageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - }, - "nextPageCount": { - "deprecated": true - }, - "nextPageToken": {} - } - } - }, - "GetRegions": { - "input": { - "type": "structure", - "members": { - "includeAvailabilityZones": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "regions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "continentCode": {}, - "description": {}, - "displayName": {}, - "name": {}, - "availabilityZones": { - "type": "list", - "member": { - "type": "structure", - "members": { - "zoneName": {}, - "state": {} - } - } - } - } - } - } - } - } - }, - "GetStaticIp": { - "input": { - "type": "structure", - "required": [ - "staticIpName" - ], - "members": { - "staticIpName": {} - } - }, - "output": { - "type": "structure", - "members": { - "staticIp": { - "shape": "S3y" - } - } - } - }, - "GetStaticIps": { - "input": { - "type": "structure", - "members": { - "pageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "staticIps": { - "type": "list", - "member": { - "shape": "S3y" - } - }, - "nextPageToken": {} - } - } - }, - "ImportKeyPair": { - "input": { - "type": "structure", - "required": [ - "keyPairName", - "publicKeyBase64" - ], - "members": { - "keyPairName": {}, - "publicKeyBase64": {} - } - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "IsVpcPeered": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "isPeered": { - "type": "boolean" - } - } - } - }, - "OpenInstancePublicPorts": { - "input": { - "type": "structure", - "required": [ - "portInfo", - "instanceName" - ], - "members": { - "portInfo": { - "shape": "Si" - }, - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "PeerVpc": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "PutInstancePublicPorts": { - "input": { - "type": "structure", - "required": [ - "portInfos", - "instanceName" - ], - "members": { - "portInfos": { - "type": "list", - "member": { - "shape": "Si" - } - }, - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "RebootInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "ReleaseStaticIp": { - "input": { - "type": "structure", - "required": [ - "staticIpName" - ], - "members": { - "staticIpName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "StartInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "StopInstance": { - "input": { - "type": "structure", - "required": [ - "instanceName" - ], - "members": { - "instanceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - }, - "UnpeerVpc": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "operation": { - "shape": "S5" - } - } - } - }, - "UpdateDomainEntry": { - "input": { - "type": "structure", - "required": [ - "domainName", - "domainEntry" - ], - "members": { - "domainName": {}, - "domainEntry": { - "shape": "Sq" - } - } - }, - "output": { - "type": "structure", - "members": { - "operations": { - "shape": "S4" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "list", - "member": { - "shape": "S5" - } - }, - "S5": { - "type": "structure", - "members": { - "id": {}, - "resourceName": {}, - "resourceType": {}, - "createdAt": { - "type": "timestamp" - }, - "location": { - "shape": "S9" - }, - "isTerminal": { - "type": "boolean" - }, - "operationDetails": {}, - "operationType": {}, - "status": {}, - "statusChangedAt": { - "type": "timestamp" - }, - "errorCode": {}, - "errorDetails": {} - } - }, - "S9": { - "type": "structure", - "members": { - "availabilityZone": {}, - "regionName": {} - } - }, - "Si": { - "type": "structure", - "members": { - "fromPort": { - "type": "integer" - }, - "toPort": { - "type": "integer" - }, - "protocol": {} - } - }, - "Sq": { - "type": "structure", - "members": { - "id": {}, - "name": {}, - "target": {}, - "type": {}, - "options": { - "type": "map", - "key": {}, - "value": {} - } - } - }, - "Sy": { - "type": "list", - "member": {} - }, - "S14": { - "type": "structure", - "members": { - "name": {}, - "arn": {}, - "supportCode": {}, - "createdAt": { - "type": "timestamp" - }, - "location": { - "shape": "S9" - }, - "resourceType": {}, - "fingerprint": {} - } - }, - "S1z": { - "type": "structure", - "members": { - "name": {}, - "arn": {}, - "supportCode": {}, - "createdAt": { - "type": "timestamp" - }, - "location": { - "shape": "S9" - }, - "resourceType": {}, - "domainEntries": { - "type": "list", - "member": { - "shape": "Sq" - } - } - } - }, - "S26": { - "type": "structure", - "members": { - "name": {}, - "arn": {}, - "supportCode": {}, - "createdAt": { - "type": "timestamp" - }, - "location": { - "shape": "S9" - }, - "resourceType": {}, - "blueprintId": {}, - "blueprintName": {}, - "bundleId": {}, - "isStaticIp": { - "type": "boolean" - }, - "privateIpAddress": {}, - "publicIpAddress": {}, - "ipv6Address": {}, - "hardware": { - "type": "structure", - "members": { - "cpuCount": { - "type": "integer" - }, - "disks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "name": {}, - "arn": {}, - "supportCode": {}, - "createdAt": { - "type": "timestamp" - }, - "location": { - "shape": "S9" - }, - "resourceType": {}, - "sizeInGb": { - "type": "integer" - }, - "gbInUse": { - "type": "integer" - }, - "isSystemDisk": { - "type": "boolean" - }, - "iops": { - "type": "integer" - }, - "path": {}, - "attachedTo": {}, - "isAttached": { - "type": "boolean" - }, - "attachmentState": {} - } - } - }, - "ramSizeInGb": { - "type": "float" - } - } - }, - "networking": { - "type": "structure", - "members": { - "monthlyTransfer": { - "type": "structure", - "members": { - "gbPerMonthAllocated": { - "type": "integer" - } - } - }, - "ports": { - "type": "list", - "member": { - "type": "structure", - "members": { - "fromPort": { - "type": "integer" - }, - "toPort": { - "type": "integer" - }, - "protocol": {}, - "accessFrom": {}, - "accessType": {}, - "commonName": {}, - "accessDirection": {} - } - } - } - } - }, - "state": { - "shape": "S2i" - }, - "username": {}, - "sshKeyName": {} - } - }, - "S2i": { - "type": "structure", - "members": { - "code": { - "type": "integer" - }, - "name": {} - } - }, - "S35": { - "type": "structure", - "members": { - "name": {}, - "arn": {}, - "supportCode": {}, - "createdAt": { - "type": "timestamp" - }, - "location": { - "shape": "S9" - }, - "resourceType": {}, - "state": {}, - "progress": {}, - "fromInstanceName": {}, - "fromInstanceArn": {}, - "fromBlueprintId": {}, - "fromBundleId": {}, - "sizeInGb": { - "type": "integer" - } - } - }, - "S3y": { - "type": "structure", - "members": { - "name": {}, - "arn": {}, - "supportCode": {}, - "createdAt": { - "type": "timestamp" - }, - "location": { - "shape": "S9" - }, - "resourceType": {}, - "ipAddress": {}, - "attachedTo": {}, - "isAttached": { - "type": "boolean" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/lightsail-2016-11-28.paginators.json b/src/node_modules/aws-sdk/apis/lightsail-2016-11-28.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/lightsail-2016-11-28.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/logs-2014-03-28.examples.json b/src/node_modules/aws-sdk/apis/logs-2014-03-28.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/logs-2014-03-28.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/logs-2014-03-28.min.json b/src/node_modules/aws-sdk/apis/logs-2014-03-28.min.json deleted file mode 100644 index 704efe4..0000000 --- a/src/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +++ /dev/null @@ -1,783 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-03-28", - "endpointPrefix": "logs", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon CloudWatch Logs", - "signatureVersion": "v4", - "targetPrefix": "Logs_20140328", - "uid": "logs-2014-03-28" - }, - "operations": { - "CancelExportTask": { - "input": { - "type": "structure", - "required": [ - "taskId" - ], - "members": { - "taskId": {} - } - } - }, - "CreateExportTask": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "from", - "to", - "destination" - ], - "members": { - "taskName": {}, - "logGroupName": {}, - "logStreamNamePrefix": {}, - "from": { - "type": "long" - }, - "to": { - "type": "long" - }, - "destination": {}, - "destinationPrefix": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskId": {} - } - } - }, - "CreateLogGroup": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "tags": { - "shape": "Sc" - } - } - } - }, - "CreateLogStream": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName" - ], - "members": { - "logGroupName": {}, - "logStreamName": {} - } - } - }, - "DeleteDestination": { - "input": { - "type": "structure", - "required": [ - "destinationName" - ], - "members": { - "destinationName": {} - } - } - }, - "DeleteLogGroup": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {} - } - } - }, - "DeleteLogStream": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName" - ], - "members": { - "logGroupName": {}, - "logStreamName": {} - } - } - }, - "DeleteMetricFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName" - ], - "members": { - "logGroupName": {}, - "filterName": {} - } - } - }, - "DeleteRetentionPolicy": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {} - } - } - }, - "DeleteSubscriptionFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName" - ], - "members": { - "logGroupName": {}, - "filterName": {} - } - } - }, - "DescribeDestinations": { - "input": { - "type": "structure", - "members": { - "DestinationNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "destinations": { - "type": "list", - "member": { - "shape": "St" - } - }, - "nextToken": {} - } - } - }, - "DescribeExportTasks": { - "input": { - "type": "structure", - "members": { - "taskId": {}, - "statusCode": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "exportTasks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "taskId": {}, - "taskName": {}, - "logGroupName": {}, - "from": { - "type": "long" - }, - "to": { - "type": "long" - }, - "destination": {}, - "destinationPrefix": {}, - "status": { - "type": "structure", - "members": { - "code": {}, - "message": {} - } - }, - "executionInfo": { - "type": "structure", - "members": { - "creationTime": { - "type": "long" - }, - "completionTime": { - "type": "long" - } - } - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeLogGroups": { - "input": { - "type": "structure", - "members": { - "logGroupNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "logGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logGroupName": {}, - "creationTime": { - "type": "long" - }, - "retentionInDays": { - "type": "integer" - }, - "metricFilterCount": { - "type": "integer" - }, - "arn": {}, - "storedBytes": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeLogStreams": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "logStreamNamePrefix": {}, - "orderBy": {}, - "descending": { - "type": "boolean" - }, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "logStreams": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logStreamName": {}, - "creationTime": { - "type": "long" - }, - "firstEventTimestamp": { - "type": "long" - }, - "lastEventTimestamp": { - "type": "long" - }, - "lastIngestionTime": { - "type": "long" - }, - "uploadSequenceToken": {}, - "arn": {}, - "storedBytes": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "DescribeMetricFilters": { - "input": { - "type": "structure", - "members": { - "logGroupName": {}, - "filterNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - }, - "metricName": {}, - "metricNamespace": {} - } - }, - "output": { - "type": "structure", - "members": { - "metricFilters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "filterName": {}, - "filterPattern": {}, - "metricTransformations": { - "shape": "S1r" - }, - "creationTime": { - "type": "long" - }, - "logGroupName": {} - } - } - }, - "nextToken": {} - } - } - }, - "DescribeSubscriptionFilters": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "filterNamePrefix": {}, - "nextToken": {}, - "limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "subscriptionFilters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "filterName": {}, - "logGroupName": {}, - "filterPattern": {}, - "destinationArn": {}, - "roleArn": {}, - "distribution": {}, - "creationTime": { - "type": "long" - } - } - } - }, - "nextToken": {} - } - } - }, - "FilterLogEvents": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {}, - "logStreamNames": { - "type": "list", - "member": {} - }, - "startTime": { - "type": "long" - }, - "endTime": { - "type": "long" - }, - "filterPattern": {}, - "nextToken": {}, - "limit": { - "type": "integer" - }, - "interleaved": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logStreamName": {}, - "timestamp": { - "type": "long" - }, - "message": {}, - "ingestionTime": { - "type": "long" - }, - "eventId": {} - } - } - }, - "searchedLogStreams": { - "type": "list", - "member": { - "type": "structure", - "members": { - "logStreamName": {}, - "searchedCompletely": { - "type": "boolean" - } - } - } - }, - "nextToken": {} - } - } - }, - "GetLogEvents": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName" - ], - "members": { - "logGroupName": {}, - "logStreamName": {}, - "startTime": { - "type": "long" - }, - "endTime": { - "type": "long" - }, - "nextToken": {}, - "limit": { - "type": "integer" - }, - "startFromHead": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "events": { - "type": "list", - "member": { - "type": "structure", - "members": { - "timestamp": { - "type": "long" - }, - "message": {}, - "ingestionTime": { - "type": "long" - } - } - } - }, - "nextForwardToken": {}, - "nextBackwardToken": {} - } - } - }, - "ListTagsLogGroup": { - "input": { - "type": "structure", - "required": [ - "logGroupName" - ], - "members": { - "logGroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "tags": { - "shape": "Sc" - } - } - } - }, - "PutDestination": { - "input": { - "type": "structure", - "required": [ - "destinationName", - "targetArn", - "roleArn" - ], - "members": { - "destinationName": {}, - "targetArn": {}, - "roleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "destination": { - "shape": "St" - } - } - } - }, - "PutDestinationPolicy": { - "input": { - "type": "structure", - "required": [ - "destinationName", - "accessPolicy" - ], - "members": { - "destinationName": {}, - "accessPolicy": {} - } - } - }, - "PutLogEvents": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "logStreamName", - "logEvents" - ], - "members": { - "logGroupName": {}, - "logStreamName": {}, - "logEvents": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "timestamp", - "message" - ], - "members": { - "timestamp": { - "type": "long" - }, - "message": {} - } - } - }, - "sequenceToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "nextSequenceToken": {}, - "rejectedLogEventsInfo": { - "type": "structure", - "members": { - "tooNewLogEventStartIndex": { - "type": "integer" - }, - "tooOldLogEventEndIndex": { - "type": "integer" - }, - "expiredLogEventEndIndex": { - "type": "integer" - } - } - } - } - } - }, - "PutMetricFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName", - "filterPattern", - "metricTransformations" - ], - "members": { - "logGroupName": {}, - "filterName": {}, - "filterPattern": {}, - "metricTransformations": { - "shape": "S1r" - } - } - } - }, - "PutRetentionPolicy": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "retentionInDays" - ], - "members": { - "logGroupName": {}, - "retentionInDays": { - "type": "integer" - } - } - } - }, - "PutSubscriptionFilter": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "filterName", - "filterPattern", - "destinationArn" - ], - "members": { - "logGroupName": {}, - "filterName": {}, - "filterPattern": {}, - "destinationArn": {}, - "roleArn": {}, - "distribution": {} - } - } - }, - "TagLogGroup": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "tags" - ], - "members": { - "logGroupName": {}, - "tags": { - "shape": "Sc" - } - } - } - }, - "TestMetricFilter": { - "input": { - "type": "structure", - "required": [ - "filterPattern", - "logEventMessages" - ], - "members": { - "filterPattern": {}, - "logEventMessages": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "matches": { - "type": "list", - "member": { - "type": "structure", - "members": { - "eventNumber": { - "type": "long" - }, - "eventMessage": {}, - "extractedValues": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - } - }, - "UntagLogGroup": { - "input": { - "type": "structure", - "required": [ - "logGroupName", - "tags" - ], - "members": { - "logGroupName": {}, - "tags": { - "type": "list", - "member": {} - } - } - } - } - }, - "shapes": { - "Sc": { - "type": "map", - "key": {}, - "value": {} - }, - "St": { - "type": "structure", - "members": { - "destinationName": {}, - "targetArn": {}, - "roleArn": {}, - "accessPolicy": {}, - "arn": {}, - "creationTime": { - "type": "long" - } - } - }, - "S1r": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "metricName", - "metricNamespace", - "metricValue" - ], - "members": { - "metricName": {}, - "metricNamespace": {}, - "metricValue": {}, - "defaultValue": { - "type": "double" - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json b/src/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json deleted file mode 100644 index d702068..0000000 --- a/src/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "pagination": { - "DescribeDestinations": { - "input_token": "nextToken", - "limit_key": "limit", - "output_token": "nextToken", - "result_key": "destinations" - }, - "DescribeLogGroups": { - "input_token": "nextToken", - "limit_key": "limit", - "output_token": "nextToken", - "result_key": "logGroups" - }, - "DescribeLogStreams": { - "input_token": "nextToken", - "limit_key": "limit", - "output_token": "nextToken", - "result_key": "logStreams" - }, - "DescribeMetricFilters": { - "input_token": "nextToken", - "limit_key": "limit", - "output_token": "nextToken", - "result_key": "metricFilters" - }, - "DescribeSubscriptionFilters": { - "input_token": "nextToken", - "limit_key": "limit", - "output_token": "nextToken", - "result_key": "subscriptionFilters" - }, - "FilterLogEvents": { - "input_token": "nextToken", - "limit_key": "limit", - "output_token": "nextToken", - "result_key": [ - "events", - "searchedLogStreams" - ] - }, - "GetLogEvents": { - "input_token": "nextToken", - "limit_key": "limit", - "output_token": "nextForwardToken", - "result_key": "events" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json b/src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json deleted file mode 100644 index 1e4d633..0000000 --- a/src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json +++ /dev/null @@ -1,1108 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "machinelearning-2014-12-12", - "apiVersion": "2014-12-12", - "endpointPrefix": "machinelearning", - "jsonVersion": "1.1", - "serviceFullName": "Amazon Machine Learning", - "signatureVersion": "v4", - "targetPrefix": "AmazonML_20141212", - "protocol": "json" - }, - "operations": { - "AddTags": { - "input": { - "type": "structure", - "required": [ - "Tags", - "ResourceId", - "ResourceType" - ], - "members": { - "Tags": { - "shape": "S2" - }, - "ResourceId": {}, - "ResourceType": {} - } - }, - "output": { - "type": "structure", - "members": { - "ResourceId": {}, - "ResourceType": {} - } - } - }, - "CreateBatchPrediction": { - "input": { - "type": "structure", - "required": [ - "BatchPredictionId", - "MLModelId", - "BatchPredictionDataSourceId", - "OutputUri" - ], - "members": { - "BatchPredictionId": {}, - "BatchPredictionName": {}, - "MLModelId": {}, - "BatchPredictionDataSourceId": {}, - "OutputUri": {} - } - }, - "output": { - "type": "structure", - "members": { - "BatchPredictionId": {} - } - } - }, - "CreateDataSourceFromRDS": { - "input": { - "type": "structure", - "required": [ - "DataSourceId", - "RDSData", - "RoleARN" - ], - "members": { - "DataSourceId": {}, - "DataSourceName": {}, - "RDSData": { - "type": "structure", - "required": [ - "DatabaseInformation", - "SelectSqlQuery", - "DatabaseCredentials", - "S3StagingLocation", - "ResourceRole", - "ServiceRole", - "SubnetId", - "SecurityGroupIds" - ], - "members": { - "DatabaseInformation": { - "shape": "Sf" - }, - "SelectSqlQuery": {}, - "DatabaseCredentials": { - "type": "structure", - "required": [ - "Username", - "Password" - ], - "members": { - "Username": {}, - "Password": {} - } - }, - "S3StagingLocation": {}, - "DataRearrangement": {}, - "DataSchema": {}, - "DataSchemaUri": {}, - "ResourceRole": {}, - "ServiceRole": {}, - "SubnetId": {}, - "SecurityGroupIds": { - "type": "list", - "member": {} - } - } - }, - "RoleARN": {}, - "ComputeStatistics": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "DataSourceId": {} - } - } - }, - "CreateDataSourceFromRedshift": { - "input": { - "type": "structure", - "required": [ - "DataSourceId", - "DataSpec", - "RoleARN" - ], - "members": { - "DataSourceId": {}, - "DataSourceName": {}, - "DataSpec": { - "type": "structure", - "required": [ - "DatabaseInformation", - "SelectSqlQuery", - "DatabaseCredentials", - "S3StagingLocation" - ], - "members": { - "DatabaseInformation": { - "shape": "Sy" - }, - "SelectSqlQuery": {}, - "DatabaseCredentials": { - "type": "structure", - "required": [ - "Username", - "Password" - ], - "members": { - "Username": {}, - "Password": {} - } - }, - "S3StagingLocation": {}, - "DataRearrangement": {}, - "DataSchema": {}, - "DataSchemaUri": {} - } - }, - "RoleARN": {}, - "ComputeStatistics": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "DataSourceId": {} - } - } - }, - "CreateDataSourceFromS3": { - "input": { - "type": "structure", - "required": [ - "DataSourceId", - "DataSpec" - ], - "members": { - "DataSourceId": {}, - "DataSourceName": {}, - "DataSpec": { - "type": "structure", - "required": [ - "DataLocationS3" - ], - "members": { - "DataLocationS3": {}, - "DataRearrangement": {}, - "DataSchema": {}, - "DataSchemaLocationS3": {} - } - }, - "ComputeStatistics": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "DataSourceId": {} - } - } - }, - "CreateEvaluation": { - "input": { - "type": "structure", - "required": [ - "EvaluationId", - "MLModelId", - "EvaluationDataSourceId" - ], - "members": { - "EvaluationId": {}, - "EvaluationName": {}, - "MLModelId": {}, - "EvaluationDataSourceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "EvaluationId": {} - } - } - }, - "CreateMLModel": { - "input": { - "type": "structure", - "required": [ - "MLModelId", - "MLModelType", - "TrainingDataSourceId" - ], - "members": { - "MLModelId": {}, - "MLModelName": {}, - "MLModelType": {}, - "Parameters": { - "shape": "S1d" - }, - "TrainingDataSourceId": {}, - "Recipe": {}, - "RecipeUri": {} - } - }, - "output": { - "type": "structure", - "members": { - "MLModelId": {} - } - } - }, - "CreateRealtimeEndpoint": { - "input": { - "type": "structure", - "required": [ - "MLModelId" - ], - "members": { - "MLModelId": {} - } - }, - "output": { - "type": "structure", - "members": { - "MLModelId": {}, - "RealtimeEndpointInfo": { - "shape": "S1j" - } - } - } - }, - "DeleteBatchPrediction": { - "input": { - "type": "structure", - "required": [ - "BatchPredictionId" - ], - "members": { - "BatchPredictionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "BatchPredictionId": {} - } - } - }, - "DeleteDataSource": { - "input": { - "type": "structure", - "required": [ - "DataSourceId" - ], - "members": { - "DataSourceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "DataSourceId": {} - } - } - }, - "DeleteEvaluation": { - "input": { - "type": "structure", - "required": [ - "EvaluationId" - ], - "members": { - "EvaluationId": {} - } - }, - "output": { - "type": "structure", - "members": { - "EvaluationId": {} - } - } - }, - "DeleteMLModel": { - "input": { - "type": "structure", - "required": [ - "MLModelId" - ], - "members": { - "MLModelId": {} - } - }, - "output": { - "type": "structure", - "members": { - "MLModelId": {} - } - } - }, - "DeleteRealtimeEndpoint": { - "input": { - "type": "structure", - "required": [ - "MLModelId" - ], - "members": { - "MLModelId": {} - } - }, - "output": { - "type": "structure", - "members": { - "MLModelId": {}, - "RealtimeEndpointInfo": { - "shape": "S1j" - } - } - } - }, - "DeleteTags": { - "input": { - "type": "structure", - "required": [ - "TagKeys", - "ResourceId", - "ResourceType" - ], - "members": { - "TagKeys": { - "type": "list", - "member": {} - }, - "ResourceId": {}, - "ResourceType": {} - } - }, - "output": { - "type": "structure", - "members": { - "ResourceId": {}, - "ResourceType": {} - } - } - }, - "DescribeBatchPredictions": { - "input": { - "type": "structure", - "members": { - "FilterVariable": {}, - "EQ": {}, - "GT": {}, - "LT": {}, - "GE": {}, - "LE": {}, - "NE": {}, - "Prefix": {}, - "SortOrder": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Results": { - "type": "list", - "member": { - "type": "structure", - "members": { - "BatchPredictionId": {}, - "MLModelId": {}, - "BatchPredictionDataSourceId": {}, - "InputDataLocationS3": {}, - "CreatedByIamUser": {}, - "CreatedAt": { - "type": "timestamp" - }, - "LastUpdatedAt": { - "type": "timestamp" - }, - "Name": {}, - "Status": {}, - "OutputUri": {}, - "Message": {}, - "ComputeTime": { - "type": "long" - }, - "FinishedAt": { - "type": "timestamp" - }, - "StartedAt": { - "type": "timestamp" - }, - "TotalRecordCount": { - "type": "long" - }, - "InvalidRecordCount": { - "type": "long" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeDataSources": { - "input": { - "type": "structure", - "members": { - "FilterVariable": {}, - "EQ": {}, - "GT": {}, - "LT": {}, - "GE": {}, - "LE": {}, - "NE": {}, - "Prefix": {}, - "SortOrder": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Results": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DataSourceId": {}, - "DataLocationS3": {}, - "DataRearrangement": {}, - "CreatedByIamUser": {}, - "CreatedAt": { - "type": "timestamp" - }, - "LastUpdatedAt": { - "type": "timestamp" - }, - "DataSizeInBytes": { - "type": "long" - }, - "NumberOfFiles": { - "type": "long" - }, - "Name": {}, - "Status": {}, - "Message": {}, - "RedshiftMetadata": { - "shape": "S2i" - }, - "RDSMetadata": { - "shape": "S2j" - }, - "RoleARN": {}, - "ComputeStatistics": { - "type": "boolean" - }, - "ComputeTime": { - "type": "long" - }, - "FinishedAt": { - "type": "timestamp" - }, - "StartedAt": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeEvaluations": { - "input": { - "type": "structure", - "members": { - "FilterVariable": {}, - "EQ": {}, - "GT": {}, - "LT": {}, - "GE": {}, - "LE": {}, - "NE": {}, - "Prefix": {}, - "SortOrder": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Results": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EvaluationId": {}, - "MLModelId": {}, - "EvaluationDataSourceId": {}, - "InputDataLocationS3": {}, - "CreatedByIamUser": {}, - "CreatedAt": { - "type": "timestamp" - }, - "LastUpdatedAt": { - "type": "timestamp" - }, - "Name": {}, - "Status": {}, - "PerformanceMetrics": { - "shape": "S2q" - }, - "Message": {}, - "ComputeTime": { - "type": "long" - }, - "FinishedAt": { - "type": "timestamp" - }, - "StartedAt": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeMLModels": { - "input": { - "type": "structure", - "members": { - "FilterVariable": {}, - "EQ": {}, - "GT": {}, - "LT": {}, - "GE": {}, - "LE": {}, - "NE": {}, - "Prefix": {}, - "SortOrder": {}, - "NextToken": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Results": { - "type": "list", - "member": { - "type": "structure", - "members": { - "MLModelId": {}, - "TrainingDataSourceId": {}, - "CreatedByIamUser": {}, - "CreatedAt": { - "type": "timestamp" - }, - "LastUpdatedAt": { - "type": "timestamp" - }, - "Name": {}, - "Status": {}, - "SizeInBytes": { - "type": "long" - }, - "EndpointInfo": { - "shape": "S1j" - }, - "TrainingParameters": { - "shape": "S1d" - }, - "InputDataLocationS3": {}, - "Algorithm": {}, - "MLModelType": {}, - "ScoreThreshold": { - "type": "float" - }, - "ScoreThresholdLastUpdatedAt": { - "type": "timestamp" - }, - "Message": {}, - "ComputeTime": { - "type": "long" - }, - "FinishedAt": { - "type": "timestamp" - }, - "StartedAt": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "ResourceType" - ], - "members": { - "ResourceId": {}, - "ResourceType": {} - } - }, - "output": { - "type": "structure", - "members": { - "ResourceId": {}, - "ResourceType": {}, - "Tags": { - "shape": "S2" - } - } - } - }, - "GetBatchPrediction": { - "input": { - "type": "structure", - "required": [ - "BatchPredictionId" - ], - "members": { - "BatchPredictionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "BatchPredictionId": {}, - "MLModelId": {}, - "BatchPredictionDataSourceId": {}, - "InputDataLocationS3": {}, - "CreatedByIamUser": {}, - "CreatedAt": { - "type": "timestamp" - }, - "LastUpdatedAt": { - "type": "timestamp" - }, - "Name": {}, - "Status": {}, - "OutputUri": {}, - "LogUri": {}, - "Message": {}, - "ComputeTime": { - "type": "long" - }, - "FinishedAt": { - "type": "timestamp" - }, - "StartedAt": { - "type": "timestamp" - }, - "TotalRecordCount": { - "type": "long" - }, - "InvalidRecordCount": { - "type": "long" - } - } - } - }, - "GetDataSource": { - "input": { - "type": "structure", - "required": [ - "DataSourceId" - ], - "members": { - "DataSourceId": {}, - "Verbose": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "DataSourceId": {}, - "DataLocationS3": {}, - "DataRearrangement": {}, - "CreatedByIamUser": {}, - "CreatedAt": { - "type": "timestamp" - }, - "LastUpdatedAt": { - "type": "timestamp" - }, - "DataSizeInBytes": { - "type": "long" - }, - "NumberOfFiles": { - "type": "long" - }, - "Name": {}, - "Status": {}, - "LogUri": {}, - "Message": {}, - "RedshiftMetadata": { - "shape": "S2i" - }, - "RDSMetadata": { - "shape": "S2j" - }, - "RoleARN": {}, - "ComputeStatistics": { - "type": "boolean" - }, - "ComputeTime": { - "type": "long" - }, - "FinishedAt": { - "type": "timestamp" - }, - "StartedAt": { - "type": "timestamp" - }, - "DataSourceSchema": {} - } - } - }, - "GetEvaluation": { - "input": { - "type": "structure", - "required": [ - "EvaluationId" - ], - "members": { - "EvaluationId": {} - } - }, - "output": { - "type": "structure", - "members": { - "EvaluationId": {}, - "MLModelId": {}, - "EvaluationDataSourceId": {}, - "InputDataLocationS3": {}, - "CreatedByIamUser": {}, - "CreatedAt": { - "type": "timestamp" - }, - "LastUpdatedAt": { - "type": "timestamp" - }, - "Name": {}, - "Status": {}, - "PerformanceMetrics": { - "shape": "S2q" - }, - "LogUri": {}, - "Message": {}, - "ComputeTime": { - "type": "long" - }, - "FinishedAt": { - "type": "timestamp" - }, - "StartedAt": { - "type": "timestamp" - } - } - } - }, - "GetMLModel": { - "input": { - "type": "structure", - "required": [ - "MLModelId" - ], - "members": { - "MLModelId": {}, - "Verbose": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "MLModelId": {}, - "TrainingDataSourceId": {}, - "CreatedByIamUser": {}, - "CreatedAt": { - "type": "timestamp" - }, - "LastUpdatedAt": { - "type": "timestamp" - }, - "Name": {}, - "Status": {}, - "SizeInBytes": { - "type": "long" - }, - "EndpointInfo": { - "shape": "S1j" - }, - "TrainingParameters": { - "shape": "S1d" - }, - "InputDataLocationS3": {}, - "MLModelType": {}, - "ScoreThreshold": { - "type": "float" - }, - "ScoreThresholdLastUpdatedAt": { - "type": "timestamp" - }, - "LogUri": {}, - "Message": {}, - "ComputeTime": { - "type": "long" - }, - "FinishedAt": { - "type": "timestamp" - }, - "StartedAt": { - "type": "timestamp" - }, - "Recipe": {}, - "Schema": {} - } - } - }, - "Predict": { - "input": { - "type": "structure", - "required": [ - "MLModelId", - "Record", - "PredictEndpoint" - ], - "members": { - "MLModelId": {}, - "Record": { - "type": "map", - "key": {}, - "value": {} - }, - "PredictEndpoint": {} - } - }, - "output": { - "type": "structure", - "members": { - "Prediction": { - "type": "structure", - "members": { - "predictedLabel": {}, - "predictedValue": { - "type": "float" - }, - "predictedScores": { - "type": "map", - "key": {}, - "value": { - "type": "float" - } - }, - "details": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - }, - "UpdateBatchPrediction": { - "input": { - "type": "structure", - "required": [ - "BatchPredictionId", - "BatchPredictionName" - ], - "members": { - "BatchPredictionId": {}, - "BatchPredictionName": {} - } - }, - "output": { - "type": "structure", - "members": { - "BatchPredictionId": {} - } - } - }, - "UpdateDataSource": { - "input": { - "type": "structure", - "required": [ - "DataSourceId", - "DataSourceName" - ], - "members": { - "DataSourceId": {}, - "DataSourceName": {} - } - }, - "output": { - "type": "structure", - "members": { - "DataSourceId": {} - } - } - }, - "UpdateEvaluation": { - "input": { - "type": "structure", - "required": [ - "EvaluationId", - "EvaluationName" - ], - "members": { - "EvaluationId": {}, - "EvaluationName": {} - } - }, - "output": { - "type": "structure", - "members": { - "EvaluationId": {} - } - } - }, - "UpdateMLModel": { - "input": { - "type": "structure", - "required": [ - "MLModelId" - ], - "members": { - "MLModelId": {}, - "MLModelName": {}, - "ScoreThreshold": { - "type": "float" - } - } - }, - "output": { - "type": "structure", - "members": { - "MLModelId": {} - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sf": { - "type": "structure", - "required": [ - "InstanceIdentifier", - "DatabaseName" - ], - "members": { - "InstanceIdentifier": {}, - "DatabaseName": {} - } - }, - "Sy": { - "type": "structure", - "required": [ - "DatabaseName", - "ClusterIdentifier" - ], - "members": { - "DatabaseName": {}, - "ClusterIdentifier": {} - } - }, - "S1d": { - "type": "map", - "key": {}, - "value": {} - }, - "S1j": { - "type": "structure", - "members": { - "PeakRequestsPerSecond": { - "type": "integer" - }, - "CreatedAt": { - "type": "timestamp" - }, - "EndpointUrl": {}, - "EndpointStatus": {} - } - }, - "S2i": { - "type": "structure", - "members": { - "RedshiftDatabase": { - "shape": "Sy" - }, - "DatabaseUserName": {}, - "SelectSqlQuery": {} - } - }, - "S2j": { - "type": "structure", - "members": { - "Database": { - "shape": "Sf" - }, - "DatabaseUserName": {}, - "SelectSqlQuery": {}, - "ResourceRole": {}, - "ServiceRole": {}, - "DataPipelineId": {} - } - }, - "S2q": { - "type": "structure", - "members": { - "Properties": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "examples": {} -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json b/src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json deleted file mode 100644 index c13ce65..0000000 --- a/src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "pagination": { - "DescribeBatchPredictions": { - "limit_key": "Limit", - "output_token": "NextToken", - "input_token": "NextToken", - "result_key": "Results" - }, - "DescribeDataSources": { - "limit_key": "Limit", - "output_token": "NextToken", - "input_token": "NextToken", - "result_key": "Results" - }, - "DescribeEvaluations": { - "limit_key": "Limit", - "output_token": "NextToken", - "input_token": "NextToken", - "result_key": "Results" - }, - "DescribeMLModels": { - "limit_key": "Limit", - "output_token": "NextToken", - "input_token": "NextToken", - "result_key": "Results" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.waiters2.json b/src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.waiters2.json deleted file mode 100644 index da6b1c9..0000000 --- a/src/node_modules/aws-sdk/apis/machinelearning-2014-12-12.waiters2.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "version": 2, - "waiters": { - "DataSourceAvailable": { - "delay": 30, - "operation": "DescribeDataSources", - "maxAttempts": 60, - "acceptors": [ - { - "expected": "COMPLETED", - "matcher": "pathAll", - "state": "success", - "argument": "Results[].Status" - }, - { - "expected": "FAILED", - "matcher": "pathAny", - "state": "failure", - "argument": "Results[].Status" - } - ] - }, - "MLModelAvailable": { - "delay": 30, - "operation": "DescribeMLModels", - "maxAttempts": 60, - "acceptors": [ - { - "expected": "COMPLETED", - "matcher": "pathAll", - "state": "success", - "argument": "Results[].Status" - }, - { - "expected": "FAILED", - "matcher": "pathAny", - "state": "failure", - "argument": "Results[].Status" - } - ] - }, - "EvaluationAvailable": { - "delay": 30, - "operation": "DescribeEvaluations", - "maxAttempts": 60, - "acceptors": [ - { - "expected": "COMPLETED", - "matcher": "pathAll", - "state": "success", - "argument": "Results[].Status" - }, - { - "expected": "FAILED", - "matcher": "pathAny", - "state": "failure", - "argument": "Results[].Status" - } - ] - }, - "BatchPredictionAvailable": { - "delay": 30, - "operation": "DescribeBatchPredictions", - "maxAttempts": 60, - "acceptors": [ - { - "expected": "COMPLETED", - "matcher": "pathAll", - "state": "success", - "argument": "Results[].Status" - }, - { - "expected": "FAILED", - "matcher": "pathAny", - "state": "failure", - "argument": "Results[].Status" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.examples.json b/src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json b/src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json deleted file mode 100644 index a83fc81..0000000 --- a/src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.min.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-07-01", - "endpointPrefix": "marketplacecommerceanalytics", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Marketplace Commerce Analytics", - "signatureVersion": "v4", - "signingName": "marketplacecommerceanalytics", - "targetPrefix": "MarketplaceCommerceAnalytics20150701", - "uid": "marketplacecommerceanalytics-2015-07-01" - }, - "operations": { - "GenerateDataSet": { - "input": { - "type": "structure", - "required": [ - "dataSetType", - "dataSetPublicationDate", - "roleNameArn", - "destinationS3BucketName", - "snsTopicArn" - ], - "members": { - "dataSetType": {}, - "dataSetPublicationDate": { - "type": "timestamp" - }, - "roleNameArn": {}, - "destinationS3BucketName": {}, - "destinationS3Prefix": {}, - "snsTopicArn": {}, - "customerDefinedValues": { - "shape": "S8" - } - } - }, - "output": { - "type": "structure", - "members": { - "dataSetRequestId": {} - } - } - }, - "StartSupportDataExport": { - "input": { - "type": "structure", - "required": [ - "dataSetType", - "fromDate", - "roleNameArn", - "destinationS3BucketName", - "snsTopicArn" - ], - "members": { - "dataSetType": {}, - "fromDate": { - "type": "timestamp" - }, - "roleNameArn": {}, - "destinationS3BucketName": {}, - "destinationS3Prefix": {}, - "snsTopicArn": {}, - "customerDefinedValues": { - "shape": "S8" - } - } - }, - "output": { - "type": "structure", - "members": { - "dataSetRequestId": {} - } - } - } - }, - "shapes": { - "S8": { - "type": "map", - "key": {}, - "value": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.paginators.json b/src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/marketplacecommerceanalytics-2015-07-01.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/metadata.json b/src/node_modules/aws-sdk/apis/metadata.json deleted file mode 100644 index b712059..0000000 --- a/src/node_modules/aws-sdk/apis/metadata.json +++ /dev/null @@ -1,442 +0,0 @@ -{ - "acm": { - "name": "ACM", - "cors": true - }, - "apigateway": { - "name": "APIGateway", - "cors": true - }, - "applicationautoscaling": { - "prefix": "application-autoscaling", - "name": "ApplicationAutoScaling", - "cors": true - }, - "appstream": { - "name": "AppStream" - }, - "autoscaling": { - "name": "AutoScaling", - "cors": true - }, - "batch": { - "name": "Batch" - }, - "budgets": { - "name": "Budgets" - }, - "clouddirectory": { - "name": "CloudDirectory" - }, - "cloudformation": { - "name": "CloudFormation", - "cors": true - }, - "cloudfront": { - "name": "CloudFront", - "versions": [ - "2013-05-12*", - "2013-11-11*", - "2014-05-31*", - "2014-10-21*", - "2014-11-06*", - "2015-04-17*", - "2015-07-27*", - "2015-09-17*", - "2016-01-13*", - "2016-01-28*", - "2016-08-01*", - "2016-08-20*", - "2016-09-07*", - "2016-09-29*", - "2016-11-25*" - ], - "cors": true - }, - "cloudhsm": { - "name": "CloudHSM", - "cors": true - }, - "cloudsearch": { - "name": "CloudSearch" - }, - "cloudsearchdomain": { - "name": "CloudSearchDomain" - }, - "cloudtrail": { - "name": "CloudTrail", - "cors": true - }, - "cloudwatch": { - "prefix": "monitoring", - "name": "CloudWatch", - "cors": true - }, - "cloudwatchevents": { - "prefix": "events", - "name": "CloudWatchEvents", - "versions": [ - "2014-02-03*" - ], - "cors": true - }, - "cloudwatchlogs": { - "prefix": "logs", - "name": "CloudWatchLogs", - "cors": true - }, - "codebuild": { - "name": "CodeBuild" - }, - "codecommit": { - "name": "CodeCommit", - "cors": true - }, - "codedeploy": { - "name": "CodeDeploy", - "cors": true - }, - "codepipeline": { - "name": "CodePipeline", - "cors": true - }, - "cognitoidentity": { - "prefix": "cognito-identity", - "name": "CognitoIdentity", - "cors": true - }, - "cognitoidentityserviceprovider": { - "prefix": "cognito-idp", - "name": "CognitoIdentityServiceProvider", - "cors": true - }, - "cognitosync": { - "prefix": "cognito-sync", - "name": "CognitoSync", - "cors": true - }, - "configservice": { - "prefix": "config", - "name": "ConfigService", - "cors": true - }, - "cur": { - "name": "CUR", - "cors": true - }, - "datapipeline": { - "name": "DataPipeline" - }, - "devicefarm": { - "name": "DeviceFarm", - "cors": true - }, - "directconnect": { - "name": "DirectConnect", - "cors": true - }, - "directoryservice": { - "prefix": "ds", - "name": "DirectoryService" - }, - "discovery": { - "name": "Discovery" - }, - "dms": { - "name": "DMS" - }, - "dynamodb": { - "name": "DynamoDB", - "cors": true - }, - "dynamodbstreams": { - "prefix": "streams.dynamodb", - "name": "DynamoDBStreams", - "cors": true - }, - "ec2": { - "name": "EC2", - "versions": [ - "2013-06-15*", - "2013-10-15*", - "2014-02-01*", - "2014-05-01*", - "2014-06-15*", - "2014-09-01*", - "2014-10-01*", - "2015-03-01*", - "2015-04-15*", - "2015-10-01*", - "2016-04-01*", - "2016-09-15*" - ], - "cors": true - }, - "ecr": { - "name": "ECR", - "cors": true - }, - "ecs": { - "name": "ECS", - "cors": true - }, - "efs": { - "prefix": "elasticfilesystem", - "name": "EFS", - "cors": true - }, - "elasticache": { - "name": "ElastiCache", - "versions": [ - "2012-11-15*", - "2014-03-24*", - "2014-07-15*", - "2014-09-30*" - ], - "cors": true - }, - "elasticbeanstalk": { - "name": "ElasticBeanstalk", - "cors": true - }, - "elb": { - "prefix": "elasticloadbalancing", - "name": "ELB", - "cors": true - }, - "elbv2": { - "prefix": "elasticloadbalancingv2", - "name": "ELBv2", - "cors": true - }, - "emr": { - "prefix": "elasticmapreduce", - "name": "EMR", - "cors": true - }, - "es": { - "name": "ES" - }, - "elastictranscoder": { - "name": "ElasticTranscoder", - "cors": true - }, - "firehose": { - "name": "Firehose", - "cors": true - }, - "gamelift": { - "name": "GameLift", - "cors": true - }, - "glacier": { - "name": "Glacier" - }, - "health": { - "name": "Health" - }, - "iam": { - "name": "IAM" - }, - "importexport": { - "name": "ImportExport" - }, - "inspector": { - "name": "Inspector", - "versions": [ - "2015-08-18*" - ], - "cors": true - }, - "iot": { - "name": "Iot", - "cors": true - }, - "iotdata": { - "prefix": "iot-data", - "name": "IotData", - "cors": true - }, - "kinesis": { - "name": "Kinesis", - "cors": true - }, - "kinesisanalytics": { - "name": "KinesisAnalytics" - }, - "kms": { - "name": "KMS", - "cors": true - }, - "lambda": { - "name": "Lambda", - "cors": true - }, - "lexruntime": { - "prefix": "runtime.lex", - "name": "LexRuntime", - "cors": true - }, - "lightsail": { - "name": "Lightsail" - }, - "machinelearning": { - "name": "MachineLearning", - "cors": true - }, - "marketplacecommerceanalytics": { - "name": "MarketplaceCommerceAnalytics", - "cors": true - }, - "marketplacemetering": { - "prefix": "meteringmarketplace", - "name": "MarketplaceMetering" - }, - "mturk": { - "prefix": "mturk-requester", - "name": "MTurk", - "cors": true - }, - "mobileanalytics": { - "name": "MobileAnalytics", - "cors": true - }, - "opsworks": { - "name": "OpsWorks", - "cors": true - }, - "opsworkscm": { - "name": "OpsWorksCM" - }, - "organizations": { - "name": "Organizations" - }, - "pinpoint": { - "name": "Pinpoint" - }, - "polly": { - "name": "Polly", - "cors": true - }, - "rds": { - "name": "RDS", - "versions": [ - "2014-09-01*" - ], - "cors": true - }, - "redshift": { - "name": "Redshift", - "cors": true - }, - "rekognition": { - "name": "Rekognition", - "cors": true - }, - "resourcegroupstaggingapi": { - "name": "ResourceGroupsTaggingAPI" - }, - "route53": { - "name": "Route53", - "cors": true - }, - "route53domains": { - "name": "Route53Domains", - "cors": true - }, - "s3": { - "name": "S3", - "dualstackAvailable": true, - "cors": true - }, - "servicecatalog": { - "name": "ServiceCatalog", - "cors": true - }, - "ses": { - "prefix": "email", - "name": "SES", - "cors": true - }, - "shield": { - "name": "Shield" - }, - "simpledb": { - "prefix": "sdb", - "name": "SimpleDB" - }, - "sms": { - "name": "SMS" - }, - "snowball": { - "name": "Snowball" - }, - "sns": { - "name": "SNS", - "cors": true - }, - "sqs": { - "name": "SQS", - "cors": true - }, - "ssm": { - "name": "SSM", - "cors": true - }, - "storagegateway": { - "name": "StorageGateway", - "cors": true - }, - "stepfunctions": { - "prefix": "states", - "name": "StepFunctions" - }, - "sts": { - "name": "STS", - "cors": true - }, - "support": { - "name": "Support" - }, - "swf": { - "name": "SWF" - }, - "xray": { - "name": "XRay" - }, - "waf": { - "name": "WAF", - "cors": true - }, - "wafregional": { - "prefix": "waf-regional", - "name": "WAFRegional" - }, - "workdocs": { - "name": "WorkDocs", - "cors": true - }, - "workspaces": { - "name": "WorkSpaces" - }, - "codestar": { - "name": "CodeStar" - }, - "lexmodelbuildingservice": { - "prefix": "lex-models", - "name": "LexModelBuildingService" - }, - "marketplaceentitlementservice": { - "prefix": "entitlement.marketplace", - "name": "MarketplaceEntitlementService" - }, - "athena": { - "name": "Athena" - }, - "greengrass": { - "name": "Greengrass" - }, - "dax": { - "name": "DAX" - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json b/src/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json deleted file mode 100644 index dc5258c..0000000 --- a/src/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "meteringmarketplace-2016-01-14", - "apiVersion": "2016-01-14", - "endpointPrefix": "metering.marketplace", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWSMarketplace Metering", - "signatureVersion": "v4", - "signingName": "aws-marketplace", - "targetPrefix": "AWSMPMeteringService" - }, - "operations": { - "BatchMeterUsage": { - "input": { - "type": "structure", - "required": [ - "UsageRecords", - "ProductCode" - ], - "members": { - "UsageRecords": { - "shape": "S2" - }, - "ProductCode": {} - } - }, - "output": { - "type": "structure", - "members": { - "Results": { - "type": "list", - "member": { - "type": "structure", - "members": { - "UsageRecord": { - "shape": "S3" - }, - "MeteringRecordId": {}, - "Status": {} - } - } - }, - "UnprocessedRecords": { - "shape": "S2" - } - } - } - }, - "MeterUsage": { - "input": { - "type": "structure", - "required": [ - "ProductCode", - "Timestamp", - "UsageDimension", - "UsageQuantity", - "DryRun" - ], - "members": { - "ProductCode": {}, - "Timestamp": { - "type": "timestamp" - }, - "UsageDimension": {}, - "UsageQuantity": { - "type": "integer" - }, - "DryRun": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "MeteringRecordId": {} - } - } - }, - "ResolveCustomer": { - "input": { - "type": "structure", - "required": [ - "RegistrationToken" - ], - "members": { - "RegistrationToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "CustomerIdentifier": {}, - "ProductCode": {} - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": { - "shape": "S3" - } - }, - "S3": { - "type": "structure", - "required": [ - "Timestamp", - "CustomerIdentifier", - "Dimension", - "Quantity" - ], - "members": { - "Timestamp": { - "type": "timestamp" - }, - "CustomerIdentifier": {}, - "Dimension": {}, - "Quantity": { - "type": "integer" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/mobileanalytics-2014-06-05.min.json b/src/node_modules/aws-sdk/apis/mobileanalytics-2014-06-05.min.json deleted file mode 100644 index a327cb1..0000000 --- a/src/node_modules/aws-sdk/apis/mobileanalytics-2014-06-05.min.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-06-05", - "endpointPrefix": "mobileanalytics", - "serviceFullName": "Amazon Mobile Analytics", - "signatureVersion": "v4", - "protocol": "rest-json" - }, - "operations": { - "PutEvents": { - "http": { - "requestUri": "/2014-06-05/events", - "responseCode": 202 - }, - "input": { - "type": "structure", - "required": [ - "events", - "clientContext" - ], - "members": { - "events": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "eventType", - "timestamp" - ], - "members": { - "eventType": {}, - "timestamp": {}, - "session": { - "type": "structure", - "members": { - "id": {}, - "duration": { - "type": "long" - }, - "startTimestamp": {}, - "stopTimestamp": {} - } - }, - "version": {}, - "attributes": { - "type": "map", - "key": {}, - "value": {} - }, - "metrics": { - "type": "map", - "key": {}, - "value": { - "type": "double" - } - } - } - } - }, - "clientContext": { - "location": "header", - "locationName": "x-amz-Client-Context" - }, - "clientContextEncoding": { - "location": "header", - "locationName": "x-amz-Client-Context-Encoding" - } - } - } - } - }, - "shapes": {} -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.examples.json b/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json b/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json deleted file mode 100644 index 5a0b62b..0000000 --- a/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +++ /dev/null @@ -1,615 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2010-08-01", - "endpointPrefix": "monitoring", - "protocol": "query", - "serviceAbbreviation": "CloudWatch", - "serviceFullName": "Amazon CloudWatch", - "signatureVersion": "v4", - "uid": "monitoring-2010-08-01", - "xmlNamespace": "http://monitoring.amazonaws.com/doc/2010-08-01/" - }, - "operations": { - "DeleteAlarms": { - "input": { - "type": "structure", - "required": [ - "AlarmNames" - ], - "members": { - "AlarmNames": { - "shape": "S2" - } - } - } - }, - "DeleteDashboards": { - "input": { - "type": "structure", - "members": { - "DashboardNames": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "DeleteDashboardsResult", - "type": "structure", - "members": {} - } - }, - "DescribeAlarmHistory": { - "input": { - "type": "structure", - "members": { - "AlarmName": {}, - "HistoryItemType": {}, - "StartDate": { - "type": "timestamp" - }, - "EndDate": { - "type": "timestamp" - }, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeAlarmHistoryResult", - "type": "structure", - "members": { - "AlarmHistoryItems": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AlarmName": {}, - "Timestamp": { - "type": "timestamp" - }, - "HistoryItemType": {}, - "HistorySummary": {}, - "HistoryData": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeAlarms": { - "input": { - "type": "structure", - "members": { - "AlarmNames": { - "shape": "S2" - }, - "AlarmNamePrefix": {}, - "StateValue": {}, - "ActionPrefix": {}, - "MaxRecords": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "DescribeAlarmsResult", - "type": "structure", - "members": { - "MetricAlarms": { - "shape": "Sn" - }, - "NextToken": {} - } - } - }, - "DescribeAlarmsForMetric": { - "input": { - "type": "structure", - "required": [ - "MetricName", - "Namespace" - ], - "members": { - "MetricName": {}, - "Namespace": {}, - "Statistic": {}, - "ExtendedStatistic": {}, - "Dimensions": { - "shape": "S10" - }, - "Period": { - "type": "integer" - }, - "Unit": {} - } - }, - "output": { - "resultWrapper": "DescribeAlarmsForMetricResult", - "type": "structure", - "members": { - "MetricAlarms": { - "shape": "Sn" - } - } - } - }, - "DisableAlarmActions": { - "input": { - "type": "structure", - "required": [ - "AlarmNames" - ], - "members": { - "AlarmNames": { - "shape": "S2" - } - } - } - }, - "EnableAlarmActions": { - "input": { - "type": "structure", - "required": [ - "AlarmNames" - ], - "members": { - "AlarmNames": { - "shape": "S2" - } - } - } - }, - "GetDashboard": { - "input": { - "type": "structure", - "members": { - "DashboardName": {} - } - }, - "output": { - "resultWrapper": "GetDashboardResult", - "type": "structure", - "members": { - "DashboardArn": {}, - "DashboardBody": {}, - "DashboardName": {} - } - } - }, - "GetMetricStatistics": { - "input": { - "type": "structure", - "required": [ - "Namespace", - "MetricName", - "StartTime", - "EndTime", - "Period" - ], - "members": { - "Namespace": {}, - "MetricName": {}, - "Dimensions": { - "shape": "S10" - }, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Period": { - "type": "integer" - }, - "Statistics": { - "type": "list", - "member": {} - }, - "ExtendedStatistics": { - "type": "list", - "member": {} - }, - "Unit": {} - } - }, - "output": { - "resultWrapper": "GetMetricStatisticsResult", - "type": "structure", - "members": { - "Label": {}, - "Datapoints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Timestamp": { - "type": "timestamp" - }, - "SampleCount": { - "type": "double" - }, - "Average": { - "type": "double" - }, - "Sum": { - "type": "double" - }, - "Minimum": { - "type": "double" - }, - "Maximum": { - "type": "double" - }, - "Unit": {}, - "ExtendedStatistics": { - "type": "map", - "key": {}, - "value": { - "type": "double" - } - } - }, - "xmlOrder": [ - "Timestamp", - "SampleCount", - "Average", - "Sum", - "Minimum", - "Maximum", - "Unit", - "ExtendedStatistics" - ] - } - } - } - } - }, - "ListDashboards": { - "input": { - "type": "structure", - "members": { - "DashboardNamePrefix": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListDashboardsResult", - "type": "structure", - "members": { - "DashboardEntries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DashboardName": {}, - "DashboardArn": {}, - "LastModified": { - "type": "timestamp" - }, - "Size": { - "type": "long" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListMetrics": { - "input": { - "type": "structure", - "members": { - "Namespace": {}, - "MetricName": {}, - "Dimensions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Value": {} - } - } - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListMetricsResult", - "type": "structure", - "members": { - "Metrics": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Namespace": {}, - "MetricName": {}, - "Dimensions": { - "shape": "S10" - } - }, - "xmlOrder": [ - "Namespace", - "MetricName", - "Dimensions" - ] - } - }, - "NextToken": {} - }, - "xmlOrder": [ - "Metrics", - "NextToken" - ] - } - }, - "PutDashboard": { - "input": { - "type": "structure", - "members": { - "DashboardName": {}, - "DashboardBody": {} - } - }, - "output": { - "resultWrapper": "PutDashboardResult", - "type": "structure", - "members": { - "DashboardValidationMessages": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DataPath": {}, - "Message": {} - } - } - } - } - } - }, - "PutMetricAlarm": { - "input": { - "type": "structure", - "required": [ - "AlarmName", - "MetricName", - "Namespace", - "Period", - "EvaluationPeriods", - "Threshold", - "ComparisonOperator" - ], - "members": { - "AlarmName": {}, - "AlarmDescription": {}, - "ActionsEnabled": { - "type": "boolean" - }, - "OKActions": { - "shape": "Ss" - }, - "AlarmActions": { - "shape": "Ss" - }, - "InsufficientDataActions": { - "shape": "Ss" - }, - "MetricName": {}, - "Namespace": {}, - "Statistic": {}, - "ExtendedStatistic": {}, - "Dimensions": { - "shape": "S10" - }, - "Period": { - "type": "integer" - }, - "Unit": {}, - "EvaluationPeriods": { - "type": "integer" - }, - "Threshold": { - "type": "double" - }, - "ComparisonOperator": {}, - "TreatMissingData": {}, - "EvaluateLowSampleCountPercentile": {} - } - } - }, - "PutMetricData": { - "input": { - "type": "structure", - "required": [ - "Namespace", - "MetricData" - ], - "members": { - "Namespace": {}, - "MetricData": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "MetricName" - ], - "members": { - "MetricName": {}, - "Dimensions": { - "shape": "S10" - }, - "Timestamp": { - "type": "timestamp" - }, - "Value": { - "type": "double" - }, - "StatisticValues": { - "type": "structure", - "required": [ - "SampleCount", - "Sum", - "Minimum", - "Maximum" - ], - "members": { - "SampleCount": { - "type": "double" - }, - "Sum": { - "type": "double" - }, - "Minimum": { - "type": "double" - }, - "Maximum": { - "type": "double" - } - } - }, - "Unit": {}, - "StorageResolution": { - "type": "integer" - } - } - } - } - } - } - }, - "SetAlarmState": { - "input": { - "type": "structure", - "required": [ - "AlarmName", - "StateValue", - "StateReason" - ], - "members": { - "AlarmName": {}, - "StateValue": {}, - "StateReason": {}, - "StateReasonData": {} - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "Sn": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AlarmName": {}, - "AlarmArn": {}, - "AlarmDescription": {}, - "AlarmConfigurationUpdatedTimestamp": { - "type": "timestamp" - }, - "ActionsEnabled": { - "type": "boolean" - }, - "OKActions": { - "shape": "Ss" - }, - "AlarmActions": { - "shape": "Ss" - }, - "InsufficientDataActions": { - "shape": "Ss" - }, - "StateValue": {}, - "StateReason": {}, - "StateReasonData": {}, - "StateUpdatedTimestamp": { - "type": "timestamp" - }, - "MetricName": {}, - "Namespace": {}, - "Statistic": {}, - "ExtendedStatistic": {}, - "Dimensions": { - "shape": "S10" - }, - "Period": { - "type": "integer" - }, - "Unit": {}, - "EvaluationPeriods": { - "type": "integer" - }, - "Threshold": { - "type": "double" - }, - "ComparisonOperator": {}, - "TreatMissingData": {}, - "EvaluateLowSampleCountPercentile": {} - }, - "xmlOrder": [ - "AlarmName", - "AlarmArn", - "AlarmDescription", - "AlarmConfigurationUpdatedTimestamp", - "ActionsEnabled", - "OKActions", - "AlarmActions", - "InsufficientDataActions", - "StateValue", - "StateReason", - "StateReasonData", - "StateUpdatedTimestamp", - "MetricName", - "Namespace", - "Statistic", - "Dimensions", - "Period", - "Unit", - "EvaluationPeriods", - "Threshold", - "ComparisonOperator", - "ExtendedStatistic", - "TreatMissingData", - "EvaluateLowSampleCountPercentile" - ] - } - }, - "Ss": { - "type": "list", - "member": {} - }, - "S10": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {} - }, - "xmlOrder": [ - "Name", - "Value" - ] - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json b/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json deleted file mode 100644 index 9f0ad85..0000000 --- a/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "pagination": { - "DescribeAlarmHistory": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "AlarmHistoryItems" - }, - "DescribeAlarms": { - "input_token": "NextToken", - "limit_key": "MaxRecords", - "output_token": "NextToken", - "result_key": "MetricAlarms" - }, - "DescribeAlarmsForMetric": { - "result_key": "MetricAlarms" - }, - "ListMetrics": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Metrics" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.waiters2.json b/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.waiters2.json deleted file mode 100644 index cb0cf0b..0000000 --- a/src/node_modules/aws-sdk/apis/monitoring-2010-08-01.waiters2.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 2, - "waiters": { - "AlarmExists": { - "delay": 5, - "maxAttempts": 40, - "operation": "DescribeAlarms", - "acceptors": [ - { - "matcher": "path", - "expected": true, - "argument": "length(MetricAlarms[]) > `0`", - "state": "success" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/mturk-requester-2017-01-17.min.json b/src/node_modules/aws-sdk/apis/mturk-requester-2017-01-17.min.json deleted file mode 100644 index cc520a4..0000000 --- a/src/node_modules/aws-sdk/apis/mturk-requester-2017-01-17.min.json +++ /dev/null @@ -1,1281 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2017-01-17", - "endpointPrefix": "mturk-requester", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon MTurk", - "serviceFullName": "Amazon Mechanical Turk", - "signatureVersion": "v4", - "targetPrefix": "MTurkRequesterServiceV20170117", - "uid": "mturk-requester-2017-01-17" - }, - "operations": { - "AcceptQualificationRequest": { - "input": { - "type": "structure", - "required": [ - "QualificationRequestId" - ], - "members": { - "QualificationRequestId": {}, - "IntegerValue": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ApproveAssignment": { - "input": { - "type": "structure", - "required": [ - "AssignmentId" - ], - "members": { - "AssignmentId": {}, - "RequesterFeedback": {}, - "OverrideRejection": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "AssociateQualificationWithWorker": { - "input": { - "type": "structure", - "required": [ - "QualificationTypeId", - "WorkerId" - ], - "members": { - "QualificationTypeId": {}, - "WorkerId": {}, - "IntegerValue": { - "type": "integer" - }, - "SendNotification": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateAdditionalAssignmentsForHIT": { - "input": { - "type": "structure", - "required": [ - "HITId" - ], - "members": { - "HITId": {}, - "NumberOfAdditionalAssignments": { - "type": "integer" - }, - "UniqueRequestToken": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateHIT": { - "input": { - "type": "structure", - "required": [ - "LifetimeInSeconds", - "AssignmentDurationInSeconds", - "Reward", - "Title", - "Description" - ], - "members": { - "MaxAssignments": { - "type": "integer" - }, - "AutoApprovalDelayInSeconds": { - "type": "long" - }, - "LifetimeInSeconds": { - "type": "long" - }, - "AssignmentDurationInSeconds": { - "type": "long" - }, - "Reward": {}, - "Title": {}, - "Keywords": {}, - "Description": {}, - "Question": {}, - "RequesterAnnotation": {}, - "QualificationRequirements": { - "shape": "Si" - }, - "UniqueRequestToken": {}, - "AssignmentReviewPolicy": { - "shape": "Sp" - }, - "HITReviewPolicy": { - "shape": "Sp" - }, - "HITLayoutId": {}, - "HITLayoutParameters": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "HIT": { - "shape": "Sy" - } - } - } - }, - "CreateHITType": { - "input": { - "type": "structure", - "required": [ - "AssignmentDurationInSeconds", - "Reward", - "Title", - "Description" - ], - "members": { - "AutoApprovalDelayInSeconds": { - "type": "long" - }, - "AssignmentDurationInSeconds": { - "type": "long" - }, - "Reward": {}, - "Title": {}, - "Keywords": {}, - "Description": {}, - "QualificationRequirements": { - "shape": "Si" - } - } - }, - "output": { - "type": "structure", - "members": { - "HITTypeId": {} - } - }, - "idempotent": true - }, - "CreateHITWithHITType": { - "input": { - "type": "structure", - "required": [ - "HITTypeId", - "LifetimeInSeconds" - ], - "members": { - "HITTypeId": {}, - "MaxAssignments": { - "type": "integer" - }, - "LifetimeInSeconds": { - "type": "long" - }, - "Question": {}, - "RequesterAnnotation": {}, - "UniqueRequestToken": {}, - "AssignmentReviewPolicy": { - "shape": "Sp" - }, - "HITReviewPolicy": { - "shape": "Sp" - }, - "HITLayoutId": {}, - "HITLayoutParameters": { - "shape": "Sv" - } - } - }, - "output": { - "type": "structure", - "members": { - "HIT": { - "shape": "Sy" - } - } - } - }, - "CreateQualificationType": { - "input": { - "type": "structure", - "required": [ - "Name", - "Description", - "QualificationTypeStatus" - ], - "members": { - "Name": {}, - "Keywords": {}, - "Description": {}, - "QualificationTypeStatus": {}, - "RetryDelayInSeconds": { - "type": "long" - }, - "Test": {}, - "AnswerKey": {}, - "TestDurationInSeconds": { - "type": "long" - }, - "AutoGranted": { - "type": "boolean" - }, - "AutoGrantedValue": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "QualificationType": { - "shape": "S19" - } - } - } - }, - "CreateWorkerBlock": { - "input": { - "type": "structure", - "required": [ - "WorkerId", - "Reason" - ], - "members": { - "WorkerId": {}, - "Reason": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteHIT": { - "input": { - "type": "structure", - "required": [ - "HITId" - ], - "members": { - "HITId": {} - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "DeleteQualificationType": { - "input": { - "type": "structure", - "required": [ - "QualificationTypeId" - ], - "members": { - "QualificationTypeId": {} - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "DeleteWorkerBlock": { - "input": { - "type": "structure", - "required": [ - "WorkerId" - ], - "members": { - "WorkerId": {}, - "Reason": {} - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "DisassociateQualificationFromWorker": { - "input": { - "type": "structure", - "required": [ - "WorkerId", - "QualificationTypeId" - ], - "members": { - "WorkerId": {}, - "QualificationTypeId": {}, - "Reason": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "GetAccountBalance": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "AvailableBalance": {}, - "OnHoldBalance": {} - } - }, - "idempotent": true - }, - "GetAssignment": { - "input": { - "type": "structure", - "required": [ - "AssignmentId" - ], - "members": { - "AssignmentId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Assignment": { - "shape": "S1o" - }, - "HIT": { - "shape": "Sy" - } - } - }, - "idempotent": true - }, - "GetFileUploadURL": { - "input": { - "type": "structure", - "required": [ - "AssignmentId", - "QuestionIdentifier" - ], - "members": { - "AssignmentId": {}, - "QuestionIdentifier": {} - } - }, - "output": { - "type": "structure", - "members": { - "FileUploadURL": {} - } - }, - "idempotent": true - }, - "GetHIT": { - "input": { - "type": "structure", - "required": [ - "HITId" - ], - "members": { - "HITId": {} - } - }, - "output": { - "type": "structure", - "members": { - "HIT": { - "shape": "Sy" - } - } - }, - "idempotent": true - }, - "GetQualificationScore": { - "input": { - "type": "structure", - "required": [ - "QualificationTypeId", - "WorkerId" - ], - "members": { - "QualificationTypeId": {}, - "WorkerId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Qualification": { - "shape": "S1w" - } - } - }, - "idempotent": true - }, - "GetQualificationType": { - "input": { - "type": "structure", - "required": [ - "QualificationTypeId" - ], - "members": { - "QualificationTypeId": {} - } - }, - "output": { - "type": "structure", - "members": { - "QualificationType": { - "shape": "S19" - } - } - }, - "idempotent": true - }, - "ListAssignmentsForHIT": { - "input": { - "type": "structure", - "required": [ - "HITId" - ], - "members": { - "HITId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - }, - "AssignmentStatuses": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "NumResults": { - "type": "integer" - }, - "Assignments": { - "type": "list", - "member": { - "shape": "S1o" - } - } - } - }, - "idempotent": true - }, - "ListBonusPayments": { - "input": { - "type": "structure", - "members": { - "HITId": {}, - "AssignmentId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NumResults": { - "type": "integer" - }, - "NextToken": {}, - "BonusPayments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WorkerId": {}, - "BonusAmount": {}, - "AssignmentId": {}, - "Reason": {}, - "GrantTime": { - "type": "timestamp" - } - } - } - } - } - }, - "idempotent": true - }, - "ListHITs": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "NumResults": { - "type": "integer" - }, - "HITs": { - "shape": "S2c" - } - } - }, - "idempotent": true - }, - "ListHITsForQualificationType": { - "input": { - "type": "structure", - "required": [ - "QualificationTypeId" - ], - "members": { - "QualificationTypeId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "NumResults": { - "type": "integer" - }, - "HITs": { - "shape": "S2c" - } - } - }, - "idempotent": true - }, - "ListQualificationRequests": { - "input": { - "type": "structure", - "members": { - "QualificationTypeId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NumResults": { - "type": "integer" - }, - "NextToken": {}, - "QualificationRequests": { - "type": "list", - "member": { - "type": "structure", - "members": { - "QualificationRequestId": {}, - "QualificationTypeId": {}, - "WorkerId": {}, - "Test": {}, - "Answer": {}, - "SubmitTime": { - "type": "timestamp" - } - } - } - } - } - }, - "idempotent": true - }, - "ListQualificationTypes": { - "input": { - "type": "structure", - "required": [ - "MustBeRequestable" - ], - "members": { - "Query": {}, - "MustBeRequestable": { - "type": "boolean" - }, - "MustBeOwnedByCaller": { - "type": "boolean" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NumResults": { - "type": "integer" - }, - "NextToken": {}, - "QualificationTypes": { - "type": "list", - "member": { - "shape": "S19" - } - } - } - }, - "idempotent": true - }, - "ListReviewPolicyResultsForHIT": { - "input": { - "type": "structure", - "required": [ - "HITId" - ], - "members": { - "HITId": {}, - "PolicyLevels": { - "type": "list", - "member": {} - }, - "RetrieveActions": { - "type": "boolean" - }, - "RetrieveResults": { - "type": "boolean" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "HITId": {}, - "AssignmentReviewPolicy": { - "shape": "Sp" - }, - "HITReviewPolicy": { - "shape": "Sp" - }, - "AssignmentReviewReport": { - "shape": "S2q" - }, - "HITReviewReport": { - "shape": "S2q" - }, - "NextToken": {} - } - }, - "idempotent": true - }, - "ListReviewableHITs": { - "input": { - "type": "structure", - "members": { - "HITTypeId": {}, - "Status": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "NumResults": { - "type": "integer" - }, - "HITs": { - "shape": "S2c" - } - } - }, - "idempotent": true - }, - "ListWorkerBlocks": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "NumResults": { - "type": "integer" - }, - "WorkerBlocks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WorkerId": {}, - "Reason": {} - } - } - } - } - }, - "idempotent": true - }, - "ListWorkersWithQualificationType": { - "input": { - "type": "structure", - "required": [ - "QualificationTypeId" - ], - "members": { - "QualificationTypeId": {}, - "Status": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "NumResults": { - "type": "integer" - }, - "Qualifications": { - "type": "list", - "member": { - "shape": "S1w" - } - } - } - }, - "idempotent": true - }, - "NotifyWorkers": { - "input": { - "type": "structure", - "required": [ - "Subject", - "MessageText", - "WorkerIds" - ], - "members": { - "Subject": {}, - "MessageText": {}, - "WorkerIds": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "NotifyWorkersFailureStatuses": { - "type": "list", - "member": { - "type": "structure", - "members": { - "NotifyWorkersFailureCode": {}, - "NotifyWorkersFailureMessage": {}, - "WorkerId": {} - } - } - } - } - } - }, - "RejectAssignment": { - "input": { - "type": "structure", - "required": [ - "AssignmentId" - ], - "members": { - "AssignmentId": {}, - "RequesterFeedback": {} - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "RejectQualificationRequest": { - "input": { - "type": "structure", - "required": [ - "QualificationRequestId" - ], - "members": { - "QualificationRequestId": {}, - "Reason": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "SendBonus": { - "input": { - "type": "structure", - "required": [ - "WorkerId", - "BonusAmount", - "AssignmentId" - ], - "members": { - "WorkerId": {}, - "BonusAmount": {}, - "AssignmentId": {}, - "Reason": {}, - "UniqueRequestToken": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "SendTestEventNotification": { - "input": { - "type": "structure", - "required": [ - "Notification", - "TestEventType" - ], - "members": { - "Notification": { - "shape": "S3j" - }, - "TestEventType": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateExpirationForHIT": { - "input": { - "type": "structure", - "required": [ - "HITId" - ], - "members": { - "HITId": {}, - "ExpireAt": { - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "UpdateHITReviewStatus": { - "input": { - "type": "structure", - "required": [ - "HITId" - ], - "members": { - "HITId": {}, - "Revert": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "UpdateHITTypeOfHIT": { - "input": { - "type": "structure", - "required": [ - "HITId", - "HITTypeId" - ], - "members": { - "HITId": {}, - "HITTypeId": {} - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "UpdateNotificationSettings": { - "input": { - "type": "structure", - "required": [ - "HITTypeId" - ], - "members": { - "HITTypeId": {}, - "Notification": { - "shape": "S3j" - }, - "Active": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "UpdateQualificationType": { - "input": { - "type": "structure", - "required": [ - "QualificationTypeId" - ], - "members": { - "QualificationTypeId": {}, - "Description": {}, - "QualificationTypeStatus": {}, - "Test": {}, - "AnswerKey": {}, - "TestDurationInSeconds": { - "type": "long" - }, - "RetryDelayInSeconds": { - "type": "long" - }, - "AutoGranted": { - "type": "boolean" - }, - "AutoGrantedValue": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "QualificationType": { - "shape": "S19" - } - } - } - } - }, - "shapes": { - "Si": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "QualificationTypeId", - "Comparator" - ], - "members": { - "QualificationTypeId": {}, - "Comparator": {}, - "IntegerValues": { - "type": "list", - "member": { - "type": "integer" - } - }, - "LocaleValues": { - "type": "list", - "member": { - "shape": "Sn" - } - }, - "RequiredToPreview": { - "type": "boolean" - } - } - } - }, - "Sn": { - "type": "structure", - "required": [ - "Country" - ], - "members": { - "Country": {}, - "Subdivision": {} - } - }, - "Sp": { - "type": "structure", - "members": { - "PolicyName": {}, - "Parameters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Values": { - "shape": "Ss" - }, - "MapEntries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Values": { - "shape": "Ss" - } - } - } - } - } - } - } - } - }, - "Ss": { - "type": "list", - "member": {} - }, - "Sv": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": {} - } - } - }, - "Sy": { - "type": "structure", - "members": { - "HITId": {}, - "HITTypeId": {}, - "HITGroupId": {}, - "HITLayoutId": {}, - "CreationTime": { - "type": "timestamp" - }, - "Title": {}, - "Description": {}, - "Question": {}, - "Keywords": {}, - "HITStatus": {}, - "MaxAssignments": { - "type": "integer" - }, - "Reward": {}, - "AutoApprovalDelayInSeconds": { - "type": "long" - }, - "Expiration": { - "type": "timestamp" - }, - "AssignmentDurationInSeconds": { - "type": "long" - }, - "RequesterAnnotation": {}, - "QualificationRequirements": { - "shape": "Si" - }, - "HITReviewStatus": {}, - "NumberOfAssignmentsPending": { - "type": "integer" - }, - "NumberOfAssignmentsAvailable": { - "type": "integer" - }, - "NumberOfAssignmentsCompleted": { - "type": "integer" - } - } - }, - "S19": { - "type": "structure", - "members": { - "QualificationTypeId": {}, - "CreationTime": { - "type": "timestamp" - }, - "Name": {}, - "Description": {}, - "Keywords": {}, - "QualificationTypeStatus": {}, - "Test": {}, - "TestDurationInSeconds": { - "type": "long" - }, - "AnswerKey": {}, - "RetryDelayInSeconds": { - "type": "long" - }, - "IsRequestable": { - "type": "boolean" - }, - "AutoGranted": { - "type": "boolean" - }, - "AutoGrantedValue": { - "type": "integer" - } - } - }, - "S1o": { - "type": "structure", - "members": { - "AssignmentId": {}, - "WorkerId": {}, - "HITId": {}, - "AssignmentStatus": {}, - "AutoApprovalTime": { - "type": "timestamp" - }, - "AcceptTime": { - "type": "timestamp" - }, - "SubmitTime": { - "type": "timestamp" - }, - "ApprovalTime": { - "type": "timestamp" - }, - "RejectionTime": { - "type": "timestamp" - }, - "Deadline": { - "type": "timestamp" - }, - "Answer": {}, - "RequesterFeedback": {} - } - }, - "S1w": { - "type": "structure", - "members": { - "QualificationTypeId": {}, - "WorkerId": {}, - "GrantTime": { - "type": "timestamp" - }, - "IntegerValue": { - "type": "integer" - }, - "LocaleValue": { - "shape": "Sn" - }, - "Status": {} - } - }, - "S2c": { - "type": "list", - "member": { - "shape": "Sy" - } - }, - "S2q": { - "type": "structure", - "members": { - "ReviewResults": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ActionId": {}, - "SubjectId": {}, - "SubjectType": {}, - "QuestionId": {}, - "Key": {}, - "Value": {} - } - } - }, - "ReviewActions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ActionId": {}, - "ActionName": {}, - "TargetId": {}, - "TargetType": {}, - "Status": {}, - "CompleteTime": { - "type": "timestamp" - }, - "Result": {}, - "ErrorCode": {} - } - } - } - } - }, - "S3j": { - "type": "structure", - "required": [ - "Destination", - "Transport" - ], - "members": { - "Destination": {}, - "Transport": {}, - "Version": {}, - "EventTypes": { - "type": "list", - "member": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/mturk-requester-2017-01-17.paginators.json b/src/node_modules/aws-sdk/apis/mturk-requester-2017-01-17.paginators.json deleted file mode 100644 index 4a99bf7..0000000 --- a/src/node_modules/aws-sdk/apis/mturk-requester-2017-01-17.paginators.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "pagination": { - "ListAssignmentsForHIT": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListBonusPayments": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListHITs": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListHITsForQualificationType": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListQualificationRequests": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListQualificationTypes": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListReviewPolicyResultsForHIT": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListReviewableHITs": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListWorkerBlocks": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListWorkersWithQualificationType": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.examples.json b/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json b/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json deleted file mode 100644 index fae3286..0000000 --- a/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json +++ /dev/null @@ -1,2246 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-02-18", - "endpointPrefix": "opsworks", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS OpsWorks", - "signatureVersion": "v4", - "targetPrefix": "OpsWorks_20130218", - "uid": "opsworks-2013-02-18" - }, - "operations": { - "AssignInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "LayerIds" - ], - "members": { - "InstanceId": {}, - "LayerIds": { - "shape": "S3" - } - } - } - }, - "AssignVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {}, - "InstanceId": {} - } - } - }, - "AssociateElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {}, - "InstanceId": {} - } - } - }, - "AttachElasticLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "ElasticLoadBalancerName", - "LayerId" - ], - "members": { - "ElasticLoadBalancerName": {}, - "LayerId": {} - } - } - }, - "CloneStack": { - "input": { - "type": "structure", - "required": [ - "SourceStackId", - "ServiceRoleArn" - ], - "members": { - "SourceStackId": {}, - "Name": {}, - "Region": {}, - "VpcId": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "ClonePermissions": { - "type": "boolean" - }, - "CloneAppIds": { - "shape": "S3" - }, - "DefaultRootDeviceType": {}, - "AgentVersion": {} - } - }, - "output": { - "type": "structure", - "members": { - "StackId": {} - } - } - }, - "CreateApp": { - "input": { - "type": "structure", - "required": [ - "StackId", - "Name", - "Type" - ], - "members": { - "StackId": {}, - "Shortname": {}, - "Name": {}, - "Description": {}, - "DataSources": { - "shape": "Si" - }, - "Type": {}, - "AppSource": { - "shape": "Sd" - }, - "Domains": { - "shape": "S3" - }, - "EnableSsl": { - "type": "boolean" - }, - "SslConfiguration": { - "shape": "Sl" - }, - "Attributes": { - "shape": "Sm" - }, - "Environment": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "members": { - "AppId": {} - } - } - }, - "CreateDeployment": { - "input": { - "type": "structure", - "required": [ - "StackId", - "Command" - ], - "members": { - "StackId": {}, - "AppId": {}, - "InstanceIds": { - "shape": "S3" - }, - "LayerIds": { - "shape": "S3" - }, - "Command": { - "shape": "Ss" - }, - "Comment": {}, - "CustomJson": {} - } - }, - "output": { - "type": "structure", - "members": { - "DeploymentId": {} - } - } - }, - "CreateInstance": { - "input": { - "type": "structure", - "required": [ - "StackId", - "LayerIds", - "InstanceType" - ], - "members": { - "StackId": {}, - "LayerIds": { - "shape": "S3" - }, - "InstanceType": {}, - "AutoScalingType": {}, - "Hostname": {}, - "Os": {}, - "AmiId": {}, - "SshKeyName": {}, - "AvailabilityZone": {}, - "VirtualizationType": {}, - "SubnetId": {}, - "Architecture": {}, - "RootDeviceType": {}, - "BlockDeviceMappings": { - "shape": "Sz" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "EbsOptimized": { - "type": "boolean" - }, - "AgentVersion": {}, - "Tenancy": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": {} - } - } - }, - "CreateLayer": { - "input": { - "type": "structure", - "required": [ - "StackId", - "Type", - "Name", - "Shortname" - ], - "members": { - "StackId": {}, - "Type": {}, - "Name": {}, - "Shortname": {}, - "Attributes": { - "shape": "S17" - }, - "CloudWatchLogsConfiguration": { - "shape": "S19" - }, - "CustomInstanceProfileArn": {}, - "CustomJson": {}, - "CustomSecurityGroupIds": { - "shape": "S3" - }, - "Packages": { - "shape": "S3" - }, - "VolumeConfigurations": { - "shape": "S1f" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "CustomRecipes": { - "shape": "S1h" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "shape": "S1i" - } - } - }, - "output": { - "type": "structure", - "members": { - "LayerId": {} - } - } - }, - "CreateStack": { - "input": { - "type": "structure", - "required": [ - "Name", - "Region", - "ServiceRoleArn", - "DefaultInstanceProfileArn" - ], - "members": { - "Name": {}, - "Region": {}, - "VpcId": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "DefaultRootDeviceType": {}, - "AgentVersion": {} - } - }, - "output": { - "type": "structure", - "members": { - "StackId": {} - } - } - }, - "CreateUserProfile": { - "input": { - "type": "structure", - "required": [ - "IamUserArn" - ], - "members": { - "IamUserArn": {}, - "SshUsername": {}, - "SshPublicKey": {}, - "AllowSelfManagement": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "IamUserArn": {} - } - } - }, - "DeleteApp": { - "input": { - "type": "structure", - "required": [ - "AppId" - ], - "members": { - "AppId": {} - } - } - }, - "DeleteInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "DeleteElasticIp": { - "type": "boolean" - }, - "DeleteVolumes": { - "type": "boolean" - } - } - } - }, - "DeleteLayer": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {} - } - } - }, - "DeleteStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - } - }, - "DeleteUserProfile": { - "input": { - "type": "structure", - "required": [ - "IamUserArn" - ], - "members": { - "IamUserArn": {} - } - } - }, - "DeregisterEcsCluster": { - "input": { - "type": "structure", - "required": [ - "EcsClusterArn" - ], - "members": { - "EcsClusterArn": {} - } - } - }, - "DeregisterElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {} - } - } - }, - "DeregisterInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "DeregisterRdsDbInstance": { - "input": { - "type": "structure", - "required": [ - "RdsDbInstanceArn" - ], - "members": { - "RdsDbInstanceArn": {} - } - } - }, - "DeregisterVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {} - } - } - }, - "DescribeAgentVersions": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "ConfigurationManager": { - "shape": "Sa" - } - } - }, - "output": { - "type": "structure", - "members": { - "AgentVersions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Version": {}, - "ConfigurationManager": { - "shape": "Sa" - } - } - } - } - } - } - }, - "DescribeApps": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "AppIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Apps": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AppId": {}, - "StackId": {}, - "Shortname": {}, - "Name": {}, - "Description": {}, - "DataSources": { - "shape": "Si" - }, - "Type": {}, - "AppSource": { - "shape": "Sd" - }, - "Domains": { - "shape": "S3" - }, - "EnableSsl": { - "type": "boolean" - }, - "SslConfiguration": { - "shape": "Sl" - }, - "Attributes": { - "shape": "Sm" - }, - "CreatedAt": {}, - "Environment": { - "shape": "So" - } - } - } - } - } - } - }, - "DescribeCommands": { - "input": { - "type": "structure", - "members": { - "DeploymentId": {}, - "InstanceId": {}, - "CommandIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Commands": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "DeploymentId": {}, - "CreatedAt": {}, - "AcknowledgedAt": {}, - "CompletedAt": {}, - "Status": {}, - "ExitCode": { - "type": "integer" - }, - "LogUrl": {}, - "Type": {} - } - } - } - } - } - }, - "DescribeDeployments": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "AppId": {}, - "DeploymentIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Deployments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DeploymentId": {}, - "StackId": {}, - "AppId": {}, - "CreatedAt": {}, - "CompletedAt": {}, - "Duration": { - "type": "integer" - }, - "IamUserArn": {}, - "Comment": {}, - "Command": { - "shape": "Ss" - }, - "Status": {}, - "CustomJson": {}, - "InstanceIds": { - "shape": "S3" - } - } - } - } - } - } - }, - "DescribeEcsClusters": { - "input": { - "type": "structure", - "members": { - "EcsClusterArns": { - "shape": "S3" - }, - "StackId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "EcsClusters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EcsClusterArn": {}, - "EcsClusterName": {}, - "StackId": {}, - "RegisteredAt": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeElasticIps": { - "input": { - "type": "structure", - "members": { - "InstanceId": {}, - "StackId": {}, - "Ips": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ElasticIps": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Ip": {}, - "Name": {}, - "Domain": {}, - "Region": {}, - "InstanceId": {} - } - } - } - } - } - }, - "DescribeElasticLoadBalancers": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "LayerIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ElasticLoadBalancers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ElasticLoadBalancerName": {}, - "Region": {}, - "DnsName": {}, - "StackId": {}, - "LayerId": {}, - "VpcId": {}, - "AvailabilityZones": { - "shape": "S3" - }, - "SubnetIds": { - "shape": "S3" - }, - "Ec2InstanceIds": { - "shape": "S3" - } - } - } - } - } - } - }, - "DescribeInstances": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "LayerId": {}, - "InstanceIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Instances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AgentVersion": {}, - "AmiId": {}, - "Architecture": {}, - "Arn": {}, - "AutoScalingType": {}, - "AvailabilityZone": {}, - "BlockDeviceMappings": { - "shape": "Sz" - }, - "CreatedAt": {}, - "EbsOptimized": { - "type": "boolean" - }, - "Ec2InstanceId": {}, - "EcsClusterArn": {}, - "EcsContainerInstanceArn": {}, - "ElasticIp": {}, - "Hostname": {}, - "InfrastructureClass": {}, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "InstanceId": {}, - "InstanceProfileArn": {}, - "InstanceType": {}, - "LastServiceErrorId": {}, - "LayerIds": { - "shape": "S3" - }, - "Os": {}, - "Platform": {}, - "PrivateDns": {}, - "PrivateIp": {}, - "PublicDns": {}, - "PublicIp": {}, - "RegisteredBy": {}, - "ReportedAgentVersion": {}, - "ReportedOs": { - "type": "structure", - "members": { - "Family": {}, - "Name": {}, - "Version": {} - } - }, - "RootDeviceType": {}, - "RootDeviceVolumeId": {}, - "SecurityGroupIds": { - "shape": "S3" - }, - "SshHostDsaKeyFingerprint": {}, - "SshHostRsaKeyFingerprint": {}, - "SshKeyName": {}, - "StackId": {}, - "Status": {}, - "SubnetId": {}, - "Tenancy": {}, - "VirtualizationType": {} - } - } - } - } - } - }, - "DescribeLayers": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "LayerIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Layers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Arn": {}, - "StackId": {}, - "LayerId": {}, - "Type": {}, - "Name": {}, - "Shortname": {}, - "Attributes": { - "shape": "S17" - }, - "CloudWatchLogsConfiguration": { - "shape": "S19" - }, - "CustomInstanceProfileArn": {}, - "CustomJson": {}, - "CustomSecurityGroupIds": { - "shape": "S3" - }, - "DefaultSecurityGroupNames": { - "shape": "S3" - }, - "Packages": { - "shape": "S3" - }, - "VolumeConfigurations": { - "shape": "S1f" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "DefaultRecipes": { - "shape": "S1h" - }, - "CustomRecipes": { - "shape": "S1h" - }, - "CreatedAt": {}, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "shape": "S1i" - } - } - } - } - } - } - }, - "DescribeLoadBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "LayerIds" - ], - "members": { - "LayerIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "LoadBasedAutoScalingConfigurations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LayerId": {}, - "Enable": { - "type": "boolean" - }, - "UpScaling": { - "shape": "S36" - }, - "DownScaling": { - "shape": "S36" - } - } - } - } - } - } - }, - "DescribeMyUserProfile": { - "output": { - "type": "structure", - "members": { - "UserProfile": { - "type": "structure", - "members": { - "IamUserArn": {}, - "Name": {}, - "SshUsername": {}, - "SshPublicKey": {} - } - } - } - } - }, - "DescribePermissions": { - "input": { - "type": "structure", - "members": { - "IamUserArn": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Permissions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StackId": {}, - "IamUserArn": {}, - "AllowSsh": { - "type": "boolean" - }, - "AllowSudo": { - "type": "boolean" - }, - "Level": {} - } - } - } - } - } - }, - "DescribeRaidArrays": { - "input": { - "type": "structure", - "members": { - "InstanceId": {}, - "StackId": {}, - "RaidArrayIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "RaidArrays": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RaidArrayId": {}, - "InstanceId": {}, - "Name": {}, - "RaidLevel": { - "type": "integer" - }, - "NumberOfDisks": { - "type": "integer" - }, - "Size": { - "type": "integer" - }, - "Device": {}, - "MountPoint": {}, - "AvailabilityZone": {}, - "CreatedAt": {}, - "StackId": {}, - "VolumeType": {}, - "Iops": { - "type": "integer" - } - } - } - } - } - } - }, - "DescribeRdsDbInstances": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {}, - "RdsDbInstanceArns": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "RdsDbInstances": { - "type": "list", - "member": { - "type": "structure", - "members": { - "RdsDbInstanceArn": {}, - "DbInstanceIdentifier": {}, - "DbUser": {}, - "DbPassword": {}, - "Region": {}, - "Address": {}, - "Engine": {}, - "StackId": {}, - "MissingOnRds": { - "type": "boolean" - } - } - } - } - } - } - }, - "DescribeServiceErrors": { - "input": { - "type": "structure", - "members": { - "StackId": {}, - "InstanceId": {}, - "ServiceErrorIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "ServiceErrors": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ServiceErrorId": {}, - "StackId": {}, - "InstanceId": {}, - "Type": {}, - "Message": {}, - "CreatedAt": {} - } - } - } - } - } - }, - "DescribeStackProvisioningParameters": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "AgentInstallerUrl": {}, - "Parameters": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "DescribeStackSummary": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "StackSummary": { - "type": "structure", - "members": { - "StackId": {}, - "Name": {}, - "Arn": {}, - "LayersCount": { - "type": "integer" - }, - "AppsCount": { - "type": "integer" - }, - "InstancesCount": { - "type": "structure", - "members": { - "Assigning": { - "type": "integer" - }, - "Booting": { - "type": "integer" - }, - "ConnectionLost": { - "type": "integer" - }, - "Deregistering": { - "type": "integer" - }, - "Online": { - "type": "integer" - }, - "Pending": { - "type": "integer" - }, - "Rebooting": { - "type": "integer" - }, - "Registered": { - "type": "integer" - }, - "Registering": { - "type": "integer" - }, - "Requested": { - "type": "integer" - }, - "RunningSetup": { - "type": "integer" - }, - "SetupFailed": { - "type": "integer" - }, - "ShuttingDown": { - "type": "integer" - }, - "StartFailed": { - "type": "integer" - }, - "Stopped": { - "type": "integer" - }, - "Stopping": { - "type": "integer" - }, - "Terminated": { - "type": "integer" - }, - "Terminating": { - "type": "integer" - }, - "Unassigning": { - "type": "integer" - } - } - } - } - } - } - } - }, - "DescribeStacks": { - "input": { - "type": "structure", - "members": { - "StackIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Stacks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StackId": {}, - "Name": {}, - "Arn": {}, - "Region": {}, - "VpcId": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "CreatedAt": {}, - "DefaultRootDeviceType": {}, - "AgentVersion": {} - } - } - } - } - } - }, - "DescribeTimeBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "TimeBasedAutoScalingConfigurations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "InstanceId": {}, - "AutoScalingSchedule": { - "shape": "S46" - } - } - } - } - } - } - }, - "DescribeUserProfiles": { - "input": { - "type": "structure", - "members": { - "IamUserArns": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserProfiles": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IamUserArn": {}, - "Name": {}, - "SshUsername": {}, - "SshPublicKey": {}, - "AllowSelfManagement": { - "type": "boolean" - } - } - } - } - } - } - }, - "DescribeVolumes": { - "input": { - "type": "structure", - "members": { - "InstanceId": {}, - "StackId": {}, - "RaidArrayId": {}, - "VolumeIds": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": { - "Volumes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeId": {}, - "Ec2VolumeId": {}, - "Name": {}, - "RaidArrayId": {}, - "InstanceId": {}, - "Status": {}, - "Size": { - "type": "integer" - }, - "Device": {}, - "MountPoint": {}, - "Region": {}, - "AvailabilityZone": {}, - "VolumeType": {}, - "Iops": { - "type": "integer" - } - } - } - } - } - } - }, - "DetachElasticLoadBalancer": { - "input": { - "type": "structure", - "required": [ - "ElasticLoadBalancerName", - "LayerId" - ], - "members": { - "ElasticLoadBalancerName": {}, - "LayerId": {} - } - } - }, - "DisassociateElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {} - } - } - }, - "GetHostnameSuggestion": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {} - } - }, - "output": { - "type": "structure", - "members": { - "LayerId": {}, - "Hostname": {} - } - } - }, - "GrantAccess": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "ValidForInMinutes": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TemporaryCredential": { - "type": "structure", - "members": { - "Username": {}, - "Password": {}, - "ValidForInMinutes": { - "type": "integer" - }, - "InstanceId": {} - } - } - } - } - }, - "ListTags": { - "input": { - "type": "structure", - "required": [ - "ResourceArn" - ], - "members": { - "ResourceArn": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Tags": { - "shape": "S4v" - }, - "NextToken": {} - } - } - }, - "RebootInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "RegisterEcsCluster": { - "input": { - "type": "structure", - "required": [ - "EcsClusterArn", - "StackId" - ], - "members": { - "EcsClusterArn": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "EcsClusterArn": {} - } - } - }, - "RegisterElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp", - "StackId" - ], - "members": { - "ElasticIp": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ElasticIp": {} - } - } - }, - "RegisterInstance": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {}, - "Hostname": {}, - "PublicIp": {}, - "PrivateIp": {}, - "RsaPublicKey": {}, - "RsaPublicKeyFingerprint": {}, - "InstanceIdentity": { - "type": "structure", - "members": { - "Document": {}, - "Signature": {} - } - } - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": {} - } - } - }, - "RegisterRdsDbInstance": { - "input": { - "type": "structure", - "required": [ - "StackId", - "RdsDbInstanceArn", - "DbUser", - "DbPassword" - ], - "members": { - "StackId": {}, - "RdsDbInstanceArn": {}, - "DbUser": {}, - "DbPassword": {} - } - } - }, - "RegisterVolume": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "Ec2VolumeId": {}, - "StackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeId": {} - } - } - }, - "SetLoadBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {}, - "Enable": { - "type": "boolean" - }, - "UpScaling": { - "shape": "S36" - }, - "DownScaling": { - "shape": "S36" - } - } - } - }, - "SetPermission": { - "input": { - "type": "structure", - "required": [ - "StackId", - "IamUserArn" - ], - "members": { - "StackId": {}, - "IamUserArn": {}, - "AllowSsh": { - "type": "boolean" - }, - "AllowSudo": { - "type": "boolean" - }, - "Level": {} - } - } - }, - "SetTimeBasedAutoScaling": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "AutoScalingSchedule": { - "shape": "S46" - } - } - } - }, - "StartInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "StartStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - } - }, - "StopInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "StopStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {} - } - } - }, - "TagResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "Tags" - ], - "members": { - "ResourceArn": {}, - "Tags": { - "shape": "S4v" - } - } - } - }, - "UnassignInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - } - }, - "UnassignVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {} - } - } - }, - "UntagResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "TagKeys" - ], - "members": { - "ResourceArn": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "UpdateApp": { - "input": { - "type": "structure", - "required": [ - "AppId" - ], - "members": { - "AppId": {}, - "Name": {}, - "Description": {}, - "DataSources": { - "shape": "Si" - }, - "Type": {}, - "AppSource": { - "shape": "Sd" - }, - "Domains": { - "shape": "S3" - }, - "EnableSsl": { - "type": "boolean" - }, - "SslConfiguration": { - "shape": "Sl" - }, - "Attributes": { - "shape": "Sm" - }, - "Environment": { - "shape": "So" - } - } - } - }, - "UpdateElasticIp": { - "input": { - "type": "structure", - "required": [ - "ElasticIp" - ], - "members": { - "ElasticIp": {}, - "Name": {} - } - } - }, - "UpdateInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "LayerIds": { - "shape": "S3" - }, - "InstanceType": {}, - "AutoScalingType": {}, - "Hostname": {}, - "Os": {}, - "AmiId": {}, - "SshKeyName": {}, - "Architecture": {}, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "EbsOptimized": { - "type": "boolean" - }, - "AgentVersion": {} - } - } - }, - "UpdateLayer": { - "input": { - "type": "structure", - "required": [ - "LayerId" - ], - "members": { - "LayerId": {}, - "Name": {}, - "Shortname": {}, - "Attributes": { - "shape": "S17" - }, - "CloudWatchLogsConfiguration": { - "shape": "S19" - }, - "CustomInstanceProfileArn": {}, - "CustomJson": {}, - "CustomSecurityGroupIds": { - "shape": "S3" - }, - "Packages": { - "shape": "S3" - }, - "VolumeConfigurations": { - "shape": "S1f" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "CustomRecipes": { - "shape": "S1h" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "shape": "S1i" - } - } - } - }, - "UpdateMyUserProfile": { - "input": { - "type": "structure", - "members": { - "SshPublicKey": {} - } - } - }, - "UpdateRdsDbInstance": { - "input": { - "type": "structure", - "required": [ - "RdsDbInstanceArn" - ], - "members": { - "RdsDbInstanceArn": {}, - "DbUser": {}, - "DbPassword": {} - } - } - }, - "UpdateStack": { - "input": { - "type": "structure", - "required": [ - "StackId" - ], - "members": { - "StackId": {}, - "Name": {}, - "Attributes": { - "shape": "S8" - }, - "ServiceRoleArn": {}, - "DefaultInstanceProfileArn": {}, - "DefaultOs": {}, - "HostnameTheme": {}, - "DefaultAvailabilityZone": {}, - "DefaultSubnetId": {}, - "CustomJson": {}, - "ConfigurationManager": { - "shape": "Sa" - }, - "ChefConfiguration": { - "shape": "Sb" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "CustomCookbooksSource": { - "shape": "Sd" - }, - "DefaultSshKeyName": {}, - "DefaultRootDeviceType": {}, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "AgentVersion": {} - } - } - }, - "UpdateUserProfile": { - "input": { - "type": "structure", - "required": [ - "IamUserArn" - ], - "members": { - "IamUserArn": {}, - "SshUsername": {}, - "SshPublicKey": {}, - "AllowSelfManagement": { - "type": "boolean" - } - } - } - }, - "UpdateVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeId" - ], - "members": { - "VolumeId": {}, - "Name": {}, - "MountPoint": {} - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": {} - }, - "S8": { - "type": "map", - "key": {}, - "value": {} - }, - "Sa": { - "type": "structure", - "members": { - "Name": {}, - "Version": {} - } - }, - "Sb": { - "type": "structure", - "members": { - "ManageBerkshelf": { - "type": "boolean" - }, - "BerkshelfVersion": {} - } - }, - "Sd": { - "type": "structure", - "members": { - "Type": {}, - "Url": {}, - "Username": {}, - "Password": {}, - "SshKey": {}, - "Revision": {} - } - }, - "Si": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Arn": {}, - "DatabaseName": {} - } - } - }, - "Sl": { - "type": "structure", - "required": [ - "Certificate", - "PrivateKey" - ], - "members": { - "Certificate": {}, - "PrivateKey": {}, - "Chain": {} - } - }, - "Sm": { - "type": "map", - "key": {}, - "value": {} - }, - "So": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {}, - "Secure": { - "type": "boolean" - } - } - } - }, - "Ss": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Args": { - "type": "map", - "key": {}, - "value": { - "shape": "S3" - } - } - } - }, - "Sz": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DeviceName": {}, - "NoDevice": {}, - "VirtualName": {}, - "Ebs": { - "type": "structure", - "members": { - "SnapshotId": {}, - "Iops": { - "type": "integer" - }, - "VolumeSize": { - "type": "integer" - }, - "VolumeType": {}, - "DeleteOnTermination": { - "type": "boolean" - } - } - } - } - } - }, - "S17": { - "type": "map", - "key": {}, - "value": {} - }, - "S19": { - "type": "structure", - "members": { - "Enabled": { - "type": "boolean" - }, - "LogStreams": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LogGroupName": {}, - "DatetimeFormat": {}, - "TimeZone": {}, - "File": {}, - "FileFingerprintLines": {}, - "MultiLineStartPattern": {}, - "InitialPosition": {}, - "Encoding": {}, - "BufferDuration": { - "type": "integer" - }, - "BatchCount": { - "type": "integer" - }, - "BatchSize": { - "type": "integer" - } - } - } - } - } - }, - "S1f": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "MountPoint", - "NumberOfDisks", - "Size" - ], - "members": { - "MountPoint": {}, - "RaidLevel": { - "type": "integer" - }, - "NumberOfDisks": { - "type": "integer" - }, - "Size": { - "type": "integer" - }, - "VolumeType": {}, - "Iops": { - "type": "integer" - } - } - } - }, - "S1h": { - "type": "structure", - "members": { - "Setup": { - "shape": "S3" - }, - "Configure": { - "shape": "S3" - }, - "Deploy": { - "shape": "S3" - }, - "Undeploy": { - "shape": "S3" - }, - "Shutdown": { - "shape": "S3" - } - } - }, - "S1i": { - "type": "structure", - "members": { - "Shutdown": { - "type": "structure", - "members": { - "ExecutionTimeout": { - "type": "integer" - }, - "DelayUntilElbConnectionsDrained": { - "type": "boolean" - } - } - } - } - }, - "S36": { - "type": "structure", - "members": { - "InstanceCount": { - "type": "integer" - }, - "ThresholdsWaitTime": { - "type": "integer" - }, - "IgnoreMetricsTime": { - "type": "integer" - }, - "CpuThreshold": { - "type": "double" - }, - "MemoryThreshold": { - "type": "double" - }, - "LoadThreshold": { - "type": "double" - }, - "Alarms": { - "shape": "S3" - } - } - }, - "S46": { - "type": "structure", - "members": { - "Monday": { - "shape": "S47" - }, - "Tuesday": { - "shape": "S47" - }, - "Wednesday": { - "shape": "S47" - }, - "Thursday": { - "shape": "S47" - }, - "Friday": { - "shape": "S47" - }, - "Saturday": { - "shape": "S47" - }, - "Sunday": { - "shape": "S47" - } - } - }, - "S47": { - "type": "map", - "key": {}, - "value": {} - }, - "S4v": { - "type": "map", - "key": {}, - "value": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.paginators.json b/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.paginators.json deleted file mode 100644 index 775589a..0000000 --- a/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.paginators.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "pagination": { - "DescribeApps": { - "result_key": "Apps" - }, - "DescribeCommands": { - "result_key": "Commands" - }, - "DescribeDeployments": { - "result_key": "Deployments" - }, - "DescribeEcsClusters": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "EcsClusters" - }, - "DescribeElasticIps": { - "result_key": "ElasticIps" - }, - "DescribeElasticLoadBalancers": { - "result_key": "ElasticLoadBalancers" - }, - "DescribeInstances": { - "result_key": "Instances" - }, - "DescribeLayers": { - "result_key": "Layers" - }, - "DescribeLoadBasedAutoScaling": { - "result_key": "LoadBasedAutoScalingConfigurations" - }, - "DescribePermissions": { - "result_key": "Permissions" - }, - "DescribeRaidArrays": { - "result_key": "RaidArrays" - }, - "DescribeServiceErrors": { - "result_key": "ServiceErrors" - }, - "DescribeStacks": { - "result_key": "Stacks" - }, - "DescribeTimeBasedAutoScaling": { - "result_key": "TimeBasedAutoScalingConfigurations" - }, - "DescribeUserProfiles": { - "result_key": "UserProfiles" - }, - "DescribeVolumes": { - "result_key": "Volumes" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.waiters2.json b/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.waiters2.json deleted file mode 100644 index 8daa084..0000000 --- a/src/node_modules/aws-sdk/apis/opsworks-2013-02-18.waiters2.json +++ /dev/null @@ -1,295 +0,0 @@ -{ - "version": 2, - "waiters": { - "AppExists": { - "delay": 1, - "operation": "DescribeApps", - "maxAttempts": 40, - "acceptors": [ - { - "expected": 200, - "matcher": "status", - "state": "success" - }, - { - "matcher": "status", - "expected": 400, - "state": "failure" - } - ] - }, - "DeploymentSuccessful": { - "delay": 15, - "operation": "DescribeDeployments", - "maxAttempts": 40, - "description": "Wait until a deployment has completed successfully", - "acceptors": [ - { - "expected": "successful", - "matcher": "pathAll", - "state": "success", - "argument": "Deployments[].Status" - }, - { - "expected": "failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Deployments[].Status" - } - ] - }, - "InstanceOnline": { - "delay": 15, - "operation": "DescribeInstances", - "maxAttempts": 40, - "description": "Wait until OpsWorks instance is online.", - "acceptors": [ - { - "expected": "online", - "matcher": "pathAll", - "state": "success", - "argument": "Instances[].Status" - }, - { - "expected": "setup_failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "shutting_down", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "start_failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "stopped", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "stopping", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "terminating", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "terminated", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "stop_failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - } - ] - }, - "InstanceRegistered": { - "delay": 15, - "operation": "DescribeInstances", - "maxAttempts": 40, - "description": "Wait until OpsWorks instance is registered.", - "acceptors": [ - { - "expected": "registered", - "matcher": "pathAll", - "state": "success", - "argument": "Instances[].Status" - }, - { - "expected": "setup_failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "shutting_down", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "stopped", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "stopping", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "terminating", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "terminated", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "stop_failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - } - ] - }, - "InstanceStopped": { - "delay": 15, - "operation": "DescribeInstances", - "maxAttempts": 40, - "description": "Wait until OpsWorks instance is stopped.", - "acceptors": [ - { - "expected": "stopped", - "matcher": "pathAll", - "state": "success", - "argument": "Instances[].Status" - }, - { - "expected": "booting", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "online", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "pending", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "rebooting", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "requested", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "running_setup", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "setup_failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "start_failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "stop_failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - } - ] - }, - "InstanceTerminated": { - "delay": 15, - "operation": "DescribeInstances", - "maxAttempts": 40, - "description": "Wait until OpsWorks instance is terminated.", - "acceptors": [ - { - "expected": "terminated", - "matcher": "pathAll", - "state": "success", - "argument": "Instances[].Status" - }, - { - "expected": "ResourceNotFoundException", - "matcher": "error", - "state": "success" - }, - { - "expected": "booting", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "online", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "pending", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "rebooting", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "requested", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "running_setup", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "setup_failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - }, - { - "expected": "start_failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Instances[].Status" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/opsworkscm-2016-11-01.min.json b/src/node_modules/aws-sdk/apis/opsworkscm-2016-11-01.min.json deleted file mode 100644 index b9878bc..0000000 --- a/src/node_modules/aws-sdk/apis/opsworkscm-2016-11-01.min.json +++ /dev/null @@ -1,479 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-11-01", - "endpointPrefix": "opsworks-cm", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "OpsWorksCM", - "serviceFullName": "AWS OpsWorks for Chef Automate", - "signatureVersion": "v4", - "signingName": "opsworks-cm", - "targetPrefix": "OpsWorksCM_V2016_11_01", - "uid": "opsworkscm-2016-11-01" - }, - "operations": { - "AssociateNode": { - "input": { - "type": "structure", - "required": [ - "ServerName", - "NodeName", - "EngineAttributes" - ], - "members": { - "ServerName": {}, - "NodeName": {}, - "EngineAttributes": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "members": { - "NodeAssociationStatusToken": {} - } - } - }, - "CreateBackup": { - "input": { - "type": "structure", - "required": [ - "ServerName" - ], - "members": { - "ServerName": {}, - "Description": {} - } - }, - "output": { - "type": "structure", - "members": { - "Backup": { - "shape": "Sd" - } - } - } - }, - "CreateServer": { - "input": { - "type": "structure", - "required": [ - "ServerName", - "InstanceProfileArn", - "InstanceType", - "ServiceRoleArn" - ], - "members": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DisableAutomatedBackup": { - "type": "boolean" - }, - "Engine": {}, - "EngineModel": {}, - "EngineVersion": {}, - "EngineAttributes": { - "shape": "S4" - }, - "BackupRetentionCount": { - "type": "integer" - }, - "ServerName": {}, - "InstanceProfileArn": {}, - "InstanceType": {}, - "KeyPair": {}, - "PreferredMaintenanceWindow": {}, - "PreferredBackupWindow": {}, - "SecurityGroupIds": { - "shape": "Sj" - }, - "ServiceRoleArn": {}, - "SubnetIds": { - "shape": "Sj" - }, - "BackupId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Server": { - "shape": "Ss" - } - } - } - }, - "DeleteBackup": { - "input": { - "type": "structure", - "required": [ - "BackupId" - ], - "members": { - "BackupId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteServer": { - "input": { - "type": "structure", - "required": [ - "ServerName" - ], - "members": { - "ServerName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeAccountAttributes": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "Attributes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Maximum": { - "type": "integer" - }, - "Used": { - "type": "integer" - } - } - } - } - } - } - }, - "DescribeBackups": { - "input": { - "type": "structure", - "members": { - "BackupId": {}, - "ServerName": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Backups": { - "type": "list", - "member": { - "shape": "Sd" - } - }, - "NextToken": {} - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "required": [ - "ServerName" - ], - "members": { - "ServerName": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "ServerEvents": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CreatedAt": { - "type": "timestamp" - }, - "ServerName": {}, - "Message": {}, - "LogUrl": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeNodeAssociationStatus": { - "input": { - "type": "structure", - "required": [ - "NodeAssociationStatusToken", - "ServerName" - ], - "members": { - "NodeAssociationStatusToken": {}, - "ServerName": {} - } - }, - "output": { - "type": "structure", - "members": { - "NodeAssociationStatus": {} - } - } - }, - "DescribeServers": { - "input": { - "type": "structure", - "members": { - "ServerName": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Servers": { - "type": "list", - "member": { - "shape": "Ss" - } - }, - "NextToken": {} - } - } - }, - "DisassociateNode": { - "input": { - "type": "structure", - "required": [ - "ServerName", - "NodeName" - ], - "members": { - "ServerName": {}, - "NodeName": {}, - "EngineAttributes": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "members": { - "NodeAssociationStatusToken": {} - } - } - }, - "RestoreServer": { - "input": { - "type": "structure", - "required": [ - "BackupId", - "ServerName" - ], - "members": { - "BackupId": {}, - "ServerName": {}, - "InstanceType": {}, - "KeyPair": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "StartMaintenance": { - "input": { - "type": "structure", - "required": [ - "ServerName" - ], - "members": { - "ServerName": {} - } - }, - "output": { - "type": "structure", - "members": { - "Server": { - "shape": "Ss" - } - } - } - }, - "UpdateServer": { - "input": { - "type": "structure", - "required": [ - "ServerName" - ], - "members": { - "DisableAutomatedBackup": { - "type": "boolean" - }, - "BackupRetentionCount": { - "type": "integer" - }, - "ServerName": {}, - "PreferredMaintenanceWindow": {}, - "PreferredBackupWindow": {} - } - }, - "output": { - "type": "structure", - "members": { - "Server": { - "shape": "Ss" - } - } - } - }, - "UpdateServerEngineAttributes": { - "input": { - "type": "structure", - "required": [ - "ServerName", - "AttributeName" - ], - "members": { - "ServerName": {}, - "AttributeName": {}, - "AttributeValue": {} - } - }, - "output": { - "type": "structure", - "members": { - "Server": { - "shape": "Ss" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": { - "type": "string", - "sensitive": true - } - } - } - }, - "Sd": { - "type": "structure", - "members": { - "BackupArn": {}, - "BackupId": {}, - "BackupType": {}, - "CreatedAt": { - "type": "timestamp" - }, - "Description": {}, - "Engine": {}, - "EngineModel": {}, - "EngineVersion": {}, - "InstanceProfileArn": {}, - "InstanceType": {}, - "KeyPair": {}, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "S3DataSize": { - "deprecated": true, - "type": "integer" - }, - "S3DataUrl": { - "deprecated": true - }, - "S3LogUrl": {}, - "SecurityGroupIds": { - "shape": "Sj" - }, - "ServerName": {}, - "ServiceRoleArn": {}, - "Status": {}, - "StatusDescription": {}, - "SubnetIds": { - "shape": "Sj" - }, - "ToolsVersion": {}, - "UserArn": {} - } - }, - "Sj": { - "type": "list", - "member": {} - }, - "Ss": { - "type": "structure", - "members": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "BackupRetentionCount": { - "type": "integer" - }, - "ServerName": {}, - "CreatedAt": { - "type": "timestamp" - }, - "CloudFormationStackArn": {}, - "DisableAutomatedBackup": { - "type": "boolean" - }, - "Endpoint": {}, - "Engine": {}, - "EngineModel": {}, - "EngineAttributes": { - "shape": "S4" - }, - "EngineVersion": {}, - "InstanceProfileArn": {}, - "InstanceType": {}, - "KeyPair": {}, - "MaintenanceStatus": {}, - "PreferredMaintenanceWindow": {}, - "PreferredBackupWindow": {}, - "SecurityGroupIds": { - "shape": "Sj" - }, - "ServiceRoleArn": {}, - "Status": {}, - "StatusReason": {}, - "SubnetIds": { - "shape": "Sj" - }, - "ServerArn": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/opsworkscm-2016-11-01.paginators.json b/src/node_modules/aws-sdk/apis/opsworkscm-2016-11-01.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/opsworkscm-2016-11-01.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/organizations-2016-11-28.examples.json b/src/node_modules/aws-sdk/apis/organizations-2016-11-28.examples.json deleted file mode 100644 index 8e39290..0000000 --- a/src/node_modules/aws-sdk/apis/organizations-2016-11-28.examples.json +++ /dev/null @@ -1,1409 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AcceptHandshake": [ - { - "input": { - "HandshakeId": "h-examplehandshakeid111" - }, - "output": { - "Handshake": { - "Action": "INVITE", - "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111", - "ExpirationTimestamp": "20170228T1215Z", - "Id": "h-examplehandshakeid111", - "Parties": [ - { - "Id": "o-exampleorgid", - "Type": "ORGANIZATION" - }, - { - "Id": "juan@example.com", - "Type": "EMAIL" - } - ], - "RequestedTimestamp": "20170214T1215Z", - "Resources": [ - { - "Resources": [ - { - "Type": "MASTER_EMAIL", - "Value": "bill@amazon.com" - }, - { - "Type": "MASTER_NAME", - "Value": "Org Master Account" - }, - { - "Type": "ORGANIZATION_FEATURE_SET", - "Value": "ALL" - } - ], - "Type": "ORGANIZATION", - "Value": "o-exampleorgid" - }, - { - "Type": "ACCOUNT", - "Value": "222222222222" - } - ], - "State": "ACCEPTED" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Bill is the owner of an organization, and he invites Juan's account (222222222222) to join his organization. The following example shows Juan's account accepting the handshake and thus agreeing to the invitation.", - "id": "to-accept-a-handshake-from-another-account-1472500561150", - "title": "To accept a handshake from another account" - } - ], - "AttachPolicy": [ - { - "input": { - "PolicyId": "p-examplepolicyid111", - "TargetId": "ou-examplerootid111-exampleouid111" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to attach a service control policy (SCP) to an OU:\n", - "id": "to-attach-a-policy-to-an-ou", - "title": "To attach a policy to an OU" - }, - { - "input": { - "PolicyId": "p-examplepolicyid111", - "TargetId": "333333333333" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to attach a service control policy (SCP) to an account:\n", - "id": "to-attach-a-policy-to-an-account", - "title": "To attach a policy to an account" - } - ], - "CancelHandshake": [ - { - "input": { - "HandshakeId": "h-examplehandshakeid111" - }, - "output": { - "Handshake": { - "Action": "INVITE", - "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111", - "ExpirationTimestamp": "20170228T1215Z", - "Id": "h-examplehandshakeid111", - "Parties": [ - { - "Id": "o-exampleorgid", - "Type": "ORGANIZATION" - }, - { - "Id": "susan@example.com", - "Type": "EMAIL" - } - ], - "RequestedTimestamp": "20170214T1215Z", - "Resources": [ - { - "Resources": [ - { - "Type": "MASTER_EMAIL", - "Value": "bill@example.com" - }, - { - "Type": "MASTER_NAME", - "Value": "Master Account" - }, - { - "Type": "ORGANIZATION_FEATURE_SET", - "Value": "CONSOLIDATED_BILLING" - } - ], - "Type": "ORGANIZATION", - "Value": "o-exampleorgid" - }, - { - "Type": "ACCOUNT", - "Value": "222222222222" - }, - { - "Type": "NOTES", - "Value": "This is a request for Susan's account to join Bob's organization." - } - ], - "State": "CANCELED" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Bill previously sent an invitation to Susan's account to join his organization. He changes his mind and decides to cancel the invitation before Susan accepts it. The following example shows Bill's cancellation:\n", - "id": "to-cancel-a-handshake-sent-to-a-member-account-1472501320506", - "title": "To cancel a handshake sent to a member account" - } - ], - "CreateAccount": [ - { - "input": { - "AccountName": "Production Account", - "Email": "susan@example.com" - }, - "output": { - "CreateAccountStatus": { - "Id": "car-examplecreateaccountrequestid111", - "State": "IN_PROGRESS" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The owner of an organization creates a member account in the organization. The following example shows that when the organization owner creates the member account, the account is preconfigured with the name \"Production Account\" and an owner email address of susan@example.com. An IAM role is automatically created using the default name because the roleName parameter is not used. AWS Organizations sends Susan a \"Welcome to AWS\" email:\n\n", - "id": "to-create-a-new-account-that-is-automatically-part-of-the-organization-1472501463507", - "title": "To create a new account that is automatically part of the organization" - } - ], - "CreateOrganization": [ - { - "input": { - }, - "output": { - "Organization": { - "Arn": "arn:aws:organizations::111111111111:organization/o-exampleorgid", - "AvailablePolicyTypes": [ - { - "Status": "ENABLED", - "Type": "SERVICE_CONTROL_POLICY" - } - ], - "FeatureSet": "ALL", - "Id": "o-exampleorgid", - "MasterAccountArn": "arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111", - "MasterAccountEmail": "bill@example.com", - "MasterAccountId": "111111111111" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Bill wants to create an organization using credentials from account 111111111111. The following example shows that the account becomes the master account in the new organization. Because he does not specify a feature set, the new organization defaults to all features enabled and service control policies enabled on the root:\n\n", - "id": "to-create-a-new-organization-with-all-features enabled", - "title": "To create a new organization with all features enabled" - }, - { - "input": { - "FeatureSet": "CONSOLIDATED_BILLING" - }, - "output": { - "Organization": { - "Arn": "arn:aws:organizations::111111111111:organization/o-exampleorgid", - "AvailablePolicyTypes": [ - - ], - "FeatureSet": "CONSOLIDATED_BILLING", - "Id": "o-exampleorgid", - "MasterAccountArn": "arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111", - "MasterAccountEmail": "bill@example.com", - "MasterAccountId": "111111111111" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "In the following example, Bill creates an organization using credentials from account 111111111111, and configures the organization to support only the consolidated billing feature set:\n\n", - "id": "to-create-a-new-organization-with-consolidated-billing-features-only", - "title": "To create a new organization with consolidated billing features only" - } - ], - "CreateOrganizationalUnit": [ - { - "input": { - "Name": "AccountingOU", - "ParentId": "r-examplerootid111" - }, - "output": { - "OrganizationalUnit": { - "Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111", - "Id": "ou-examplerootid111-exampleouid111", - "Name": "AccountingOU" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to create an OU that is named AccountingOU. The new OU is directly under the root.:\n\n", - "id": "to-create-a-new-organizational-unit", - "title": "To create a new organization unit" - } - ], - "CreatePolicy": [ - { - "input": { - "Content": "{\\\"Version\\\":\\\"2012-10-17\\\",\\\"Statement\\\":{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":\\\"s3:*\\\"}}", - "Description": "Enables admins of attached accounts to delegate all S3 permissions", - "Name": "AllowAllS3Actions", - "Type": "SERVICE_CONTROL_POLICY" - }, - "output": { - "Policy": { - "Content": "{\"Version\":\"2012-10-17\",\"Statement\":{\"Effect\":\"Allow\",\"Action\":\"s3:*\"}}", - "PolicySummary": { - "Arn": "arn:aws:organizations::111111111111:policy/o-exampleorgid/service_control_policy/p-examplepolicyid111", - "Description": "Allows delegation of all S3 actions", - "Name": "AllowAllS3Actions", - "Type": "SERVICE_CONTROL_POLICY" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to create a service control policy (SCP) that is named AllowAllS3Actions. The JSON string in the content parameter specifies the content in the policy. The parameter string is escaped with backslashes to ensure that the embedded double quotes in the JSON policy are treated as literals in the parameter, which itself is surrounded by double quotes:\n\n", - "id": "to-create-a-service-control-policy", - "title": "To create a service control policy" - } - ], - "DeclineHandshake": [ - { - "input": { - "HandshakeId": "h-examplehandshakeid111" - }, - "output": { - "Handshake": { - "Action": "INVITE", - "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111", - "ExpirationTimestamp": "2016-12-15T19:27:58Z", - "Id": "h-examplehandshakeid111", - "Parties": [ - { - "Id": "222222222222", - "Type": "ACCOUNT" - }, - { - "Id": "o-exampleorgid", - "Type": "ORGANIZATION" - } - ], - "RequestedTimestamp": "2016-11-30T19:27:58Z", - "Resources": [ - { - "Resources": [ - { - "Type": "MASTER_EMAIL", - "Value": "bill@example.com" - }, - { - "Type": "MASTER_NAME", - "Value": "Master Account" - } - ], - "Type": "ORGANIZATION", - "Value": "o-exampleorgid" - }, - { - "Type": "ACCOUNT", - "Value": "222222222222" - }, - { - "Type": "NOTES", - "Value": "This is an invitation to Susan's account to join the Bill's organization." - } - ], - "State": "DECLINED" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows Susan declining an invitation to join Bill's organization. The DeclineHandshake operation returns a handshake object, showing that the state is now DECLINED:", - "id": "to-decline-a-handshake-sent-from-the-master-account-1472502666967", - "title": "To decline a handshake sent from the master account" - } - ], - "DeleteOrganizationalUnit": [ - { - "input": { - "OrganizationalUnitId": "ou-examplerootid111-exampleouid111" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to delete an OU. The example assumes that you previously removed all accounts and other OUs from the OU:\n\n", - "id": "to-delete-an-organizational-unit", - "title": "To delete an organization unit" - } - ], - "DeletePolicy": [ - { - "input": { - "PolicyId": "p-examplepolicyid111" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to delete a policy from an organization. The example assumes that you previously detached the policy from all entities:\n\n", - "id": "to-delete-a-policy", - "title": "To delete a policy" - } - ], - "DescribeAccount": [ - { - "input": { - "AccountId": "555555555555" - }, - "output": { - "Account": { - "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/555555555555", - "Email": "anika@example.com", - "Id": "555555555555", - "Name": "Beta Account" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows a user in the master account (111111111111) asking for details about account 555555555555:", - "id": "to-get-the-details-about-an-account-1472503166868", - "title": "To get the details about an account" - } - ], - "DescribeCreateAccountStatus": [ - { - "input": { - "CreateAccountRequestId": "car-exampleaccountcreationrequestid" - }, - "output": { - "CreateAccountStatus": { - "AccountId": "333333333333", - "Id": "car-exampleaccountcreationrequestid", - "State": "SUCCEEDED" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to request the status about a previous request to create an account in an organization. This operation can be called only by a principal from the organization's master account. In the example, the specified \"createAccountRequestId\" comes from the response of the original call to \"CreateAccount\":", - "id": "to-get-information-about-a-request-to-create-an-account-1472503727223", - "title": "To get information about a request to create an account" - } - ], - "DescribeHandshake": [ - { - "input": { - "HandshakeId": "h-examplehandshakeid111" - }, - "output": { - "Handshake": { - "Action": "INVITE", - "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111", - "ExpirationTimestamp": "2016-11-30T17:24:58.046Z", - "Id": "h-examplehandshakeid111", - "Parties": [ - { - "Id": "o-exampleorgid", - "Type": "ORGANIZATION" - }, - { - "Id": "333333333333", - "Type": "ACCOUNT" - } - ], - "RequestedTimestamp": "2016-11-30T17:24:58.046Z", - "Resources": [ - { - "Resources": [ - { - "Type": "MASTER_EMAIL", - "Value": "bill@example.com" - }, - { - "Type": "MASTER_NAME", - "Value": "Master Account" - } - ], - "Type": "ORGANIZATION", - "Value": "o-exampleorgid" - }, - { - "Type": "ACCOUNT", - "Value": "333333333333" - } - ], - "State": "OPEN" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows you how to request details about a handshake. The handshake ID comes either from the original call to \"InviteAccountToOrganization\", or from a call to \"ListHandshakesForAccount\" or \"ListHandshakesForOrganization\":", - "id": "to-get-information-about-a-handshake-1472503400505", - "title": "To get information about a handshake" - } - ], - "DescribeOrganization": [ - { - "output": { - "Organization": { - "Arn": "arn:aws:organizations::111111111111:organization/o-exampleorgid", - "AvailablePolicyTypes": [ - { - "Status": "ENABLED", - "Type": "SERVICE_CONTROL_POLICY" - } - ], - "FeatureSet": "ALL", - "Id": "o-exampleorgid", - "MasterAccountArn": "arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111", - "MasterAccountEmail": "bill@example.com" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to request information about the current user's organization:/n/n", - "id": "to-get-information-about-an-organization-1472503400505", - "title": "To get information about an organization" - } - ], - "DescribeOrganizationalUnit": [ - { - "input": { - "OrganizationalUnitId": "ou-examplerootid111-exampleouid111" - }, - "output": { - "OrganizationalUnit": { - "Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111", - "Id": "ou-examplerootid111-exampleouid111", - "Name": "Accounting Group" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to request details about an OU:/n/n", - "id": "to-get-information-about-an-organizational-unit", - "title": "To get information about an organizational unit" - } - ], - "DescribePolicy": [ - { - "input": { - "PolicyId": "p-examplepolicyid111" - }, - "output": { - "Policy": { - "Content": "{\\n \\\"Version\\\": \\\"2012-10-17\\\",\\n \\\"Statement\\\": [\\n {\\n \\\"Effect\\\": \\\"Allow\\\",\\n \\\"Action\\\": \\\"*\\\",\\n \\\"Resource\\\": \\\"*\\\"\\n }\\n ]\\n}", - "PolicySummary": { - "Arn": "arn:aws:organizations::111111111111:policy/o-exampleorgid/service_control_policy/p-examplepolicyid111", - "AwsManaged": false, - "Description": "Enables admins to delegate S3 permissions", - "Id": "p-examplepolicyid111", - "Name": "AllowAllS3Actions", - "Type": "SERVICE_CONTROL_POLICY" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to request information about a policy:/n/n", - "id": "to-get-information-about-a-policy", - "title": "To get information about a policy" - } - ], - "DetachPolicy": [ - { - "input": { - "PolicyId": "p-examplepolicyid111", - "TargetId": "ou-examplerootid111-exampleouid111" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to detach a policy from an OU:/n/n", - "id": "to-detach-a-policy-from-a-root-ou-or-account", - "title": "To detach a policy from a root, OU, or account" - } - ], - "DisablePolicyType": [ - { - "input": { - "PolicyType": "SERVICE_CONTROL_POLICY", - "RootId": "r-examplerootid111" - }, - "output": { - "Root": { - "Arn": "arn:aws:organizations::111111111111:root/o-exampleorgid/r-examplerootid111", - "Id": "r-examplerootid111", - "Name": "Root", - "PolicyTypes": [ - - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to disable the service control policy (SCP) policy type in a root. The response shows that the PolicyTypes response element no longer includes SERVICE_CONTROL_POLICY:/n/n", - "id": "to-disable-a-policy-type-in-a-root", - "title": "To disable a policy type in a root" - } - ], - "EnableAllFeatures": [ - { - "input": { - }, - "output": { - "Handshake": { - "Action": "ENABLE_ALL_FEATURES", - "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/enable_all_features/h-examplehandshakeid111", - "ExpirationTimestamp": "2017-02-28T09:35:40.05Z", - "Id": "h-examplehandshakeid111", - "Parties": [ - { - "Id": "o-exampleorgid", - "Type": "ORGANIZATION" - } - ], - "RequestedTimestamp": "2017-02-13T09:35:40.05Z", - "Resources": [ - { - "Type": "ORGANIZATION", - "Value": "o-exampleorgid" - } - ], - "State": "REQUESTED" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows the administrator asking all the invited accounts in the organization to approve enabling all features in the organization. AWS Organizations sends an email to the address that is registered with every invited member account asking the owner to approve the change by accepting the handshake that is sent. After all invited member accounts accept the handshake, the organization administrator can finalize the change to enable all features, and those with appropriate permissions can create policies and apply them to roots, OUs, and accounts:/n/n", - "id": "to-enable-all-features-in-an-organization", - "title": "To enable all features in an organization" - } - ], - "EnablePolicyType": [ - { - "input": { - "PolicyType": "SERVICE_CONTROL_POLICY", - "RootId": "r-examplerootid111" - }, - "output": { - "Root": { - "Arn": "arn:aws:organizations::111111111111:root/o-exampleorgid/r-examplerootid111", - "Id": "r-examplerootid111", - "Name": "Root", - "PolicyTypes": [ - { - "Status": "ENABLED", - "Type": "SERVICE_CONTROL_POLICY" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to enable the service control policy (SCP) policy type in a root. The output shows a root object with a PolicyTypes response element showing that SCPs are now enabled:/n/n", - "id": "to-enable-a-policy-type-in-a-root", - "title": "To enable a policy type in a root" - } - ], - "InviteAccountToOrganization": [ - { - "input": { - "Notes": "This is a request for Juan's account to join Bill's organization", - "Target": { - "Id": "juan@example.com", - "Type": "EMAIL" - } - }, - "output": { - "Handshake": { - "Action": "INVITE", - "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111", - "ExpirationTimestamp": "2017-02-16T09:36:05.02Z", - "Id": "h-examplehandshakeid111", - "Parties": [ - { - "Id": "o-exampleorgid", - "Type": "ORGANIZATION" - }, - { - "Id": "juan@example.com", - "Type": "EMAIL" - } - ], - "RequestedTimestamp": "2017-02-01T09:36:05.02Z", - "Resources": [ - { - "Resources": [ - { - "Type": "MASTER_EMAIL", - "Value": "bill@amazon.com" - }, - { - "Type": "MASTER_NAME", - "Value": "Org Master Account" - }, - { - "Type": "ORGANIZATION_FEATURE_SET", - "Value": "FULL" - } - ], - "Type": "ORGANIZATION", - "Value": "o-exampleorgid" - }, - { - "Type": "EMAIL", - "Value": "juan@example.com" - } - ], - "State": "OPEN" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows the admin of the master account owned by bill@example.com inviting the account owned by juan@example.com to join an organization.", - "id": "to-invite-an-account-to-join-an-organization-1472508594110", - "title": "To invite an account to join an organization" - } - ], - "LeaveOrganization": [ - { - "comments": { - "input": { - }, - "output": { - } - }, - "description": "TThe following example shows how to remove your member account from an organization:", - "id": "to-leave-an-organization-as-a-member-account-1472508784736", - "title": "To leave an organization as a member account" - } - ], - "ListAccounts": [ - { - "input": { - }, - "output": { - "Accounts": [ - { - "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111", - "Email": "bill@example.com", - "Id": "111111111111", - "JoinedMethod": "INVITED", - "JoinedTimestamp": "20161215T193015Z", - "Name": "Master Account", - "Status": "ACTIVE" - }, - { - "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/222222222222", - "Email": "alice@example.com", - "Id": "222222222222", - "JoinedMethod": "INVITED", - "JoinedTimestamp": "20161215T210221Z", - "Name": "Developer Account", - "Status": "ACTIVE" - }, - { - "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/333333333333", - "Email": "juan@example.com", - "Id": "333333333333", - "JoinedMethod": "INVITED", - "JoinedTimestamp": "20161215T210347Z", - "Name": "Test Account", - "Status": "ACTIVE" - }, - { - "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/444444444444", - "Email": "anika@example.com", - "Id": "444444444444", - "JoinedMethod": "INVITED", - "JoinedTimestamp": "20161215T210332Z", - "Name": "Production Account", - "Status": "ACTIVE" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows you how to request a list of the accounts in an organization:", - "id": "to-retrieve-a-list-of-all-of-the-accounts-in-an-organization-1472509590974", - "title": "To retrieve a list of all of the accounts in an organization" - } - ], - "ListAccountsForParent": [ - { - "input": { - "ParentId": "ou-examplerootid111-exampleouid111" - }, - "output": { - "Accounts": [ - { - "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/333333333333", - "Email": "juan@example.com", - "Id": "333333333333", - "JoinedMethod": "INVITED", - "JoinedTimestamp": 1481835795.536, - "Name": "Development Account", - "Status": "ACTIVE" - }, - { - "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/444444444444", - "Email": "anika@example.com", - "Id": "444444444444", - "JoinedMethod": "INVITED", - "JoinedTimestamp": 1481835812.143, - "Name": "Test Account", - "Status": "ACTIVE" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to request a list of the accounts in an OU:/n/n", - "id": "to-retrieve-a-list-of-all-of-the-accounts-in-a-root-or-ou-1472509590974", - "title": "To retrieve a list of all of the accounts in a root or OU" - } - ], - "ListChildren": [ - { - "input": { - "ChildType": "ORGANIZATIONAL_UNIT", - "ParentId": "ou-examplerootid111-exampleouid111" - }, - "output": { - "Children": [ - { - "Id": "ou-examplerootid111-exampleouid111", - "Type": "ORGANIZATIONAL_UNIT" - }, - { - "Id": "ou-examplerootid111-exampleouid222", - "Type": "ORGANIZATIONAL_UNIT" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to request a list of the child OUs in a parent root or OU:/n/n", - "id": "to-retrieve-a-list-of-all-of-the-child-accounts-and-OUs-in-a-parent-container", - "title": "To retrieve a list of all of the child accounts and OUs in a parent root or OU" - } - ], - "ListCreateAccountStatus": [ - { - "input": { - "States": [ - "SUCCEEDED" - ] - }, - "output": { - "CreateAccountStatuses": [ - { - "AccountId": "444444444444", - "AccountName": "Developer Test Account", - "CompletedTimestamp": "2017-01-15T13:45:23.6Z", - "Id": "car-exampleaccountcreationrequestid1", - "RequestedTimestamp": "2017-01-15T13:45:23.01Z", - "State": "SUCCEEDED" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows a user requesting a list of only the completed account creation requests made for the current organization:", - "id": "to-get-a-list-of-completed-account-creation-requests-made-in-the-organization", - "title": "To get a list of completed account creation requests made in the organization" - }, - { - "input": { - "States": [ - "IN_PROGRESS" - ] - }, - "output": { - "CreateAccountStatuses": [ - { - "AccountName": "Production Account", - "Id": "car-exampleaccountcreationrequestid2", - "RequestedTimestamp": "2017-01-15T13:45:23.01Z", - "State": "IN_PROGRESS" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows a user requesting a list of only the in-progress account creation requests made for the current organization:", - "id": "to-get-a-list-of-all-account-creation-requests-made-in-the-organization-1472509174532", - "title": "To get a list of all account creation requests made in the organization" - } - ], - "ListHandshakesForAccount": [ - { - "output": { - "Handshakes": [ - { - "Action": "INVITE", - "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111", - "ExpirationTimestamp": "2017-01-28T14:35:23.3Z", - "Id": "h-examplehandshakeid111", - "Parties": [ - { - "Id": "o-exampleorgid", - "Type": "ORGANIZATION" - }, - { - "Id": "juan@example.com", - "Type": "EMAIL" - } - ], - "RequestedTimestamp": "2017-01-13T14:35:23.3Z", - "Resources": [ - { - "Resources": [ - { - "Type": "MASTER_EMAIL", - "Value": "bill@amazon.com" - }, - { - "Type": "MASTER_NAME", - "Value": "Org Master Account" - }, - { - "Type": "ORGANIZATION_FEATURE_SET", - "Value": "FULL" - } - ], - "Type": "ORGANIZATION", - "Value": "o-exampleorgid" - }, - { - "Type": "EMAIL", - "Value": "juan@example.com" - } - ], - "State": "OPEN" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows you how to get a list of handshakes that are associated with the account of the credentials used to call the operation:", - "id": "to-retrieve-a-list-of-the-handshakes-sent-to-an-account-1472510214747", - "title": "To retrieve a list of the handshakes sent to an account" - } - ], - "ListHandshakesForOrganization": [ - { - "output": { - "Handshakes": [ - { - "Action": "INVITE", - "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111", - "ExpirationTimestamp": "2017-01-28T14:35:23.3Z", - "Id": "h-examplehandshakeid111", - "Parties": [ - { - "Id": "o-exampleorgid", - "Type": "ORGANIZATION" - }, - { - "Id": "juan@example.com", - "Type": "EMAIL" - } - ], - "RequestedTimestamp": "2017-01-13T14:35:23.3Z", - "Resources": [ - { - "Resources": [ - { - "Type": "MASTER_EMAIL", - "Value": "bill@amazon.com" - }, - { - "Type": "MASTER_NAME", - "Value": "Org Master Account" - }, - { - "Type": "ORGANIZATION_FEATURE_SET", - "Value": "FULL" - } - ], - "Type": "ORGANIZATION", - "Value": "o-exampleorgid" - }, - { - "Type": "EMAIL", - "Value": "juan@example.com" - } - ], - "State": "OPEN" - }, - { - "Action": "INVITE", - "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111", - "ExpirationTimestamp": "2017-01-28T14:35:23.3Z", - "Id": "h-examplehandshakeid222", - "Parties": [ - { - "Id": "o-exampleorgid", - "Type": "ORGANIZATION" - }, - { - "Id": "anika@example.com", - "Type": "EMAIL" - } - ], - "RequestedTimestamp": "2017-01-13T14:35:23.3Z", - "Resources": [ - { - "Resources": [ - { - "Type": "MASTER_EMAIL", - "Value": "bill@example.com" - }, - { - "Type": "MASTER_NAME", - "Value": "Master Account" - } - ], - "Type": "ORGANIZATION", - "Value": "o-exampleorgid" - }, - { - "Type": "EMAIL", - "Value": "anika@example.com" - }, - { - "Type": "NOTES", - "Value": "This is an invitation to Anika's account to join Bill's organization." - } - ], - "State": "ACCEPTED" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows you how to get a list of handshakes associated with the current organization:", - "id": "to-retrieve-a-list-of-the-handshakes-associated-with-an-organization-1472511206653", - "title": "To retrieve a list of the handshakes associated with an organization" - } - ], - "ListOrganizationalUnitsForParent": [ - { - "input": { - "ParentId": "r-examplerootid111" - }, - "output": { - "OrganizationalUnits": [ - { - "Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examlerootid111-exampleouid111", - "Id": "ou-examplerootid111-exampleouid111", - "Name": "Development" - }, - { - "Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examlerootid111-exampleouid222", - "Id": "ou-examplerootid111-exampleouid222", - "Name": "Production" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to get a list of OUs in a specified root:/n/n", - "id": "to-retrieve-a-list-of-all-of-the-OUs-in-a-parent-container", - "title": "To retrieve a list of all of the child OUs in a parent root or OU" - } - ], - "ListParents": [ - { - "input": { - "ChildId": "444444444444" - }, - "output": { - "Parents": [ - { - "Id": "ou-examplerootid111-exampleouid111", - "Type": "ORGANIZATIONAL_UNIT" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to list the root or OUs that contain account 444444444444:/n/n", - "id": "to-retrieve-a-list-of-all-of-the-parents-of-a-child-ou-or-account", - "title": "To retrieve a list of all of the parents of a child OU or account" - } - ], - "ListPolicies": [ - { - "input": { - "Filter": "SERVICE_CONTROL_POLICY" - }, - "output": { - "Policies": [ - { - "Arn": "arn:aws:organizations::111111111111:policy/o-exampleorgid/service_control_policy/p-examplepolicyid111", - "AwsManaged": false, - "Description": "Enables account admins to delegate permissions for any S3 actions to users and roles in their accounts.", - "Id": "p-examplepolicyid111", - "Name": "AllowAllS3Actions", - "Type": "SERVICE_CONTROL_POLICY" - }, - { - "Arn": "arn:aws:organizations::111111111111:policy/o-exampleorgid/service_control_policy/p-examplepolicyid222", - "AwsManaged": false, - "Description": "Enables account admins to delegate permissions for any EC2 actions to users and roles in their accounts.", - "Id": "p-examplepolicyid222", - "Name": "AllowAllEC2Actions", - "Type": "SERVICE_CONTROL_POLICY" - }, - { - "Arn": "arn:aws:organizations::aws:policy/service_control_policy/p-FullAWSAccess", - "AwsManaged": true, - "Description": "Allows access to every operation", - "Id": "p-FullAWSAccess", - "Name": "FullAWSAccess", - "Type": "SERVICE_CONTROL_POLICY" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to get a list of service control policies (SCPs):/n/n", - "id": "to-retrieve-a-list-of--policies-in-the-organization", - "title": "To retrieve a list policies in the organization" - } - ], - "ListPoliciesForTarget": [ - { - "input": { - "Filter": "SERVICE_CONTROL_POLICY", - "TargetId": "444444444444" - }, - "output": { - "Policies": [ - { - "Arn": "arn:aws:organizations::111111111111:policy/o-exampleorgid/service_control_policy/p-examplepolicyid222", - "AwsManaged": false, - "Description": "Enables account admins to delegate permissions for any EC2 actions to users and roles in their accounts.", - "Id": "p-examplepolicyid222", - "Name": "AllowAllEC2Actions", - "Type": "SERVICE_CONTROL_POLICY" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to get a list of all service control policies (SCPs) of the type specified by the Filter parameter, that are directly attached to an account. The returned list does not include policies that apply to the account because of inheritance from its location in an OU hierarchy:/n/n", - "id": "to-retrieve-a-list-of-policies-attached-to-a-root-ou-or-account", - "title": "To retrieve a list policies attached to a root, OU, or account" - } - ], - "ListRoots": [ - { - "input": { - }, - "output": { - "Roots": [ - { - "Arn": "arn:aws:organizations::111111111111:root/o-exampleorgid/r-examplerootid111", - "Id": "r-examplerootid111", - "Name": "Root", - "PolicyTypes": [ - { - "Status": "ENABLED", - "Type": "SERVICE_CONTROL_POLICY" - } - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to get the list of the roots in the current organization:/n/n", - "id": "to-retrieve-a-list-of-roots-in-the-organization", - "title": "To retrieve a list of roots in the organization" - } - ], - "ListTargetsForPolicy": [ - { - "input": { - "PolicyId": "p-FullAWSAccess" - }, - "output": { - "Targets": [ - { - "Arn": "arn:aws:organizations::111111111111:root/o-exampleorgid/r-examplerootid111", - "Name": "Root", - "TargetId": "r-examplerootid111", - "Type": "ROOT" - }, - { - "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/333333333333;", - "Name": "Developer Test Account", - "TargetId": "333333333333", - "Type": "ACCOUNT" - }, - { - "Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111", - "Name": "Accounting", - "TargetId": "ou-examplerootid111-exampleouid111", - "Type": "ORGANIZATIONAL_UNIT" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to get the list of roots, OUs, and accounts to which the specified policy is attached:/n/n", - "id": "to-retrieve-a-list-of-roots-ous-and-accounts-to-which-a-policy-is-attached", - "title": "To retrieve a list of roots, OUs, and accounts to which a policy is attached" - } - ], - "MoveAccount": [ - { - "input": { - "AccountId": "333333333333", - "DestinationParentId": "ou-examplerootid111-exampleouid111", - "SourceParentId": "r-examplerootid111" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to move a member account from the root to an OU:/n/n", - "id": "to-move-an-ou-or-account-to-another-ou-or-the-root", - "title": "To move an OU or account to another OU or the root" - } - ], - "RemoveAccountFromOrganization": [ - { - "input": { - "AccountId": "333333333333" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows you how to remove an account from an organization:", - "id": "to-remove-an-account-from-an-organization-as-the-master-account", - "title": "To remove an account from an organization as the master account" - } - ], - "UpdateOrganizationalUnit": [ - { - "input": { - "Name": "AccountingOU", - "OrganizationalUnitId": "ou-examplerootid111-exampleouid111" - }, - "output": { - "OrganizationalUnit": { - "Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111", - "Id": "ou-examplerootid111-exampleouid111", - "Name": "AccountingOU" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to rename an OU. The output confirms the new name:/n/n", - "id": "to-rename-an-organizational-unit", - "title": "To rename an organizational unit" - } - ], - "UpdatePolicy": [ - { - "input": { - "Description": "This description replaces the original.", - "Name": "Renamed-Policy", - "PolicyId": "p-examplepolicyid111" - }, - "output": { - "Policy": { - "Content": "{ \"Version\": \"2012-10-17\", \"Statement\": { \"Effect\": \"Allow\", \"Action\": \"ec2:*\", \"Resource\": \"*\" } }", - "PolicySummary": { - "Arn": "arn:aws:organizations::111111111111:policy/o-exampleorgid/service_control_policy/p-examplepolicyid111", - "AwsManaged": false, - "Description": "This description replaces the original.", - "Id": "p-examplepolicyid111", - "Name": "Renamed-Policy", - "Type": "SERVICE_CONTROL_POLICY" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to rename a policy and give it a new description and new content. The output confirms the new name and description text:/n/n", - "id": "to-update-the-details-of-a-policy", - "title": "To update the details of a policy" - }, - { - "input": { - "Content": "{ \\\"Version\\\": \\\"2012-10-17\\\", \\\"Statement\\\": {\\\"Effect\\\": \\\"Allow\\\", \\\"Action\\\": \\\"s3:*\\\", \\\"Resource\\\": \\\"*\\\" } }", - "PolicyId": "p-examplepolicyid111" - }, - "output": { - "Policy": { - "Content": "{ \\\"Version\\\": \\\"2012-10-17\\\", \\\"Statement\\\": { \\\"Effect\\\": \\\"Allow\\\", \\\"Action\\\": \\\"s3:*\\\", \\\"Resource\\\": \\\"*\\\" } }", - "PolicySummary": { - "Arn": "arn:aws:organizations::111111111111:policy/o-exampleorgid/service_control_policy/p-examplepolicyid111", - "AwsManaged": false, - "Description": "This description replaces the original.", - "Id": "p-examplepolicyid111", - "Name": "Renamed-Policy", - "Type": "SERVICE_CONTROL_POLICY" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows how to replace the JSON text of the SCP from the preceding example with a new JSON policy text string that allows S3 actions instead of EC2 actions:/n/n", - "id": "to-update-the-content-of-a-policy", - "title": "To update the content of a policy" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json b/src/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json deleted file mode 100644 index fdb2b5a..0000000 --- a/src/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +++ /dev/null @@ -1,969 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-11-28", - "endpointPrefix": "organizations", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Organizations", - "serviceFullName": "AWS Organizations", - "signatureVersion": "v4", - "targetPrefix": "AWSOrganizationsV20161128", - "timestampFormat": "unixTimestamp", - "uid": "organizations-2016-11-28" - }, - "operations": { - "AcceptHandshake": { - "input": { - "type": "structure", - "required": [ - "HandshakeId" - ], - "members": { - "HandshakeId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Handshake": { - "shape": "S4" - } - } - } - }, - "AttachPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyId", - "TargetId" - ], - "members": { - "PolicyId": {}, - "TargetId": {} - } - } - }, - "CancelHandshake": { - "input": { - "type": "structure", - "required": [ - "HandshakeId" - ], - "members": { - "HandshakeId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Handshake": { - "shape": "S4" - } - } - } - }, - "CreateAccount": { - "input": { - "type": "structure", - "required": [ - "Email", - "AccountName" - ], - "members": { - "Email": { - "shape": "Sn" - }, - "AccountName": { - "shape": "So" - }, - "RoleName": {}, - "IamUserAccessToBilling": {} - } - }, - "output": { - "type": "structure", - "members": { - "CreateAccountStatus": { - "shape": "Ss" - } - } - } - }, - "CreateOrganization": { - "input": { - "type": "structure", - "members": { - "FeatureSet": {} - } - }, - "output": { - "type": "structure", - "members": { - "Organization": { - "shape": "S10" - } - } - } - }, - "CreateOrganizationalUnit": { - "input": { - "type": "structure", - "required": [ - "ParentId", - "Name" - ], - "members": { - "ParentId": {}, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "OrganizationalUnit": { - "shape": "S1c" - } - } - } - }, - "CreatePolicy": { - "input": { - "type": "structure", - "required": [ - "Content", - "Description", - "Name", - "Type" - ], - "members": { - "Content": {}, - "Description": {}, - "Name": {}, - "Type": {} - } - }, - "output": { - "type": "structure", - "members": { - "Policy": { - "shape": "S1k" - } - } - } - }, - "DeclineHandshake": { - "input": { - "type": "structure", - "required": [ - "HandshakeId" - ], - "members": { - "HandshakeId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Handshake": { - "shape": "S4" - } - } - } - }, - "DeleteOrganization": {}, - "DeleteOrganizationalUnit": { - "input": { - "type": "structure", - "required": [ - "OrganizationalUnitId" - ], - "members": { - "OrganizationalUnitId": {} - } - } - }, - "DeletePolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyId" - ], - "members": { - "PolicyId": {} - } - } - }, - "DescribeAccount": { - "input": { - "type": "structure", - "required": [ - "AccountId" - ], - "members": { - "AccountId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Account": { - "shape": "S1u" - } - } - } - }, - "DescribeCreateAccountStatus": { - "input": { - "type": "structure", - "required": [ - "CreateAccountRequestId" - ], - "members": { - "CreateAccountRequestId": {} - } - }, - "output": { - "type": "structure", - "members": { - "CreateAccountStatus": { - "shape": "Ss" - } - } - } - }, - "DescribeHandshake": { - "input": { - "type": "structure", - "required": [ - "HandshakeId" - ], - "members": { - "HandshakeId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Handshake": { - "shape": "S4" - } - } - } - }, - "DescribeOrganization": { - "output": { - "type": "structure", - "members": { - "Organization": { - "shape": "S10" - } - } - } - }, - "DescribeOrganizationalUnit": { - "input": { - "type": "structure", - "required": [ - "OrganizationalUnitId" - ], - "members": { - "OrganizationalUnitId": {} - } - }, - "output": { - "type": "structure", - "members": { - "OrganizationalUnit": { - "shape": "S1c" - } - } - } - }, - "DescribePolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyId" - ], - "members": { - "PolicyId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Policy": { - "shape": "S1k" - } - } - } - }, - "DetachPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyId", - "TargetId" - ], - "members": { - "PolicyId": {}, - "TargetId": {} - } - } - }, - "DisablePolicyType": { - "input": { - "type": "structure", - "required": [ - "RootId", - "PolicyType" - ], - "members": { - "RootId": {}, - "PolicyType": {} - } - }, - "output": { - "type": "structure", - "members": { - "Root": { - "shape": "S2a" - } - } - } - }, - "EnableAllFeatures": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "Handshake": { - "shape": "S4" - } - } - } - }, - "EnablePolicyType": { - "input": { - "type": "structure", - "required": [ - "RootId", - "PolicyType" - ], - "members": { - "RootId": {}, - "PolicyType": {} - } - }, - "output": { - "type": "structure", - "members": { - "Root": { - "shape": "S2a" - } - } - } - }, - "InviteAccountToOrganization": { - "input": { - "type": "structure", - "required": [ - "Target" - ], - "members": { - "Target": { - "shape": "S7" - }, - "Notes": { - "type": "string", - "sensitive": true - } - } - }, - "output": { - "type": "structure", - "members": { - "Handshake": { - "shape": "S4" - } - } - } - }, - "LeaveOrganization": {}, - "ListAccounts": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Accounts": { - "shape": "S2o" - }, - "NextToken": {} - } - } - }, - "ListAccountsForParent": { - "input": { - "type": "structure", - "required": [ - "ParentId" - ], - "members": { - "ParentId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Accounts": { - "shape": "S2o" - }, - "NextToken": {} - } - } - }, - "ListChildren": { - "input": { - "type": "structure", - "required": [ - "ParentId", - "ChildType" - ], - "members": { - "ParentId": {}, - "ChildType": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Children": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Type": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListCreateAccountStatus": { - "input": { - "type": "structure", - "members": { - "States": { - "type": "list", - "member": {} - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "CreateAccountStatuses": { - "type": "list", - "member": { - "shape": "Ss" - } - }, - "NextToken": {} - } - } - }, - "ListHandshakesForAccount": { - "input": { - "type": "structure", - "members": { - "Filter": { - "shape": "S32" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Handshakes": { - "shape": "S34" - }, - "NextToken": {} - } - } - }, - "ListHandshakesForOrganization": { - "input": { - "type": "structure", - "members": { - "Filter": { - "shape": "S32" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Handshakes": { - "shape": "S34" - }, - "NextToken": {} - } - } - }, - "ListOrganizationalUnitsForParent": { - "input": { - "type": "structure", - "required": [ - "ParentId" - ], - "members": { - "ParentId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "OrganizationalUnits": { - "type": "list", - "member": { - "shape": "S1c" - } - }, - "NextToken": {} - } - } - }, - "ListParents": { - "input": { - "type": "structure", - "required": [ - "ChildId" - ], - "members": { - "ChildId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Parents": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Type": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListPolicies": { - "input": { - "type": "structure", - "required": [ - "Filter" - ], - "members": { - "Filter": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Policies": { - "shape": "S3h" - }, - "NextToken": {} - } - } - }, - "ListPoliciesForTarget": { - "input": { - "type": "structure", - "required": [ - "TargetId", - "Filter" - ], - "members": { - "TargetId": {}, - "Filter": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Policies": { - "shape": "S3h" - }, - "NextToken": {} - } - } - }, - "ListRoots": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Roots": { - "type": "list", - "member": { - "shape": "S2a" - } - }, - "NextToken": {} - } - } - }, - "ListTargetsForPolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyId" - ], - "members": { - "PolicyId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Targets": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetId": {}, - "Arn": {}, - "Name": {}, - "Type": {} - } - } - }, - "NextToken": {} - } - } - }, - "MoveAccount": { - "input": { - "type": "structure", - "required": [ - "AccountId", - "SourceParentId", - "DestinationParentId" - ], - "members": { - "AccountId": {}, - "SourceParentId": {}, - "DestinationParentId": {} - } - } - }, - "RemoveAccountFromOrganization": { - "input": { - "type": "structure", - "required": [ - "AccountId" - ], - "members": { - "AccountId": {} - } - } - }, - "UpdateOrganizationalUnit": { - "input": { - "type": "structure", - "required": [ - "OrganizationalUnitId" - ], - "members": { - "OrganizationalUnitId": {}, - "Name": {} - } - }, - "output": { - "type": "structure", - "members": { - "OrganizationalUnit": { - "shape": "S1c" - } - } - } - }, - "UpdatePolicy": { - "input": { - "type": "structure", - "required": [ - "PolicyId" - ], - "members": { - "PolicyId": {}, - "Name": {}, - "Description": {}, - "Content": {} - } - }, - "output": { - "type": "structure", - "members": { - "Policy": { - "shape": "S1k" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Parties": { - "type": "list", - "member": { - "shape": "S7" - } - }, - "State": {}, - "RequestedTimestamp": { - "type": "timestamp" - }, - "ExpirationTimestamp": { - "type": "timestamp" - }, - "Action": {}, - "Resources": { - "shape": "Sd" - } - } - }, - "S7": { - "type": "structure", - "members": { - "Id": { - "type": "string", - "sensitive": true - }, - "Type": {} - } - }, - "Sd": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Value": { - "type": "string", - "sensitive": true - }, - "Type": {}, - "Resources": { - "shape": "Sd" - } - } - } - }, - "Sn": { - "type": "string", - "sensitive": true - }, - "So": { - "type": "string", - "sensitive": true - }, - "Ss": { - "type": "structure", - "members": { - "Id": {}, - "AccountName": { - "shape": "So" - }, - "State": {}, - "RequestedTimestamp": { - "type": "timestamp" - }, - "CompletedTimestamp": { - "type": "timestamp" - }, - "AccountId": {}, - "FailureReason": {} - } - }, - "S10": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "FeatureSet": {}, - "MasterAccountArn": {}, - "MasterAccountId": {}, - "MasterAccountEmail": { - "shape": "Sn" - }, - "AvailablePolicyTypes": { - "shape": "S14" - } - } - }, - "S14": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Status": {} - } - } - }, - "S1c": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Name": {} - } - }, - "S1k": { - "type": "structure", - "members": { - "PolicySummary": { - "shape": "S1l" - }, - "Content": {} - } - }, - "S1l": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Name": {}, - "Description": {}, - "Type": {}, - "AwsManaged": { - "type": "boolean" - } - } - }, - "S1u": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Email": { - "shape": "Sn" - }, - "Name": { - "shape": "So" - }, - "Status": {}, - "JoinedMethod": {}, - "JoinedTimestamp": { - "type": "timestamp" - } - } - }, - "S2a": { - "type": "structure", - "members": { - "Id": {}, - "Arn": {}, - "Name": {}, - "PolicyTypes": { - "shape": "S14" - } - } - }, - "S2o": { - "type": "list", - "member": { - "shape": "S1u" - } - }, - "S32": { - "type": "structure", - "members": { - "ActionType": {}, - "ParentHandshakeId": {} - } - }, - "S34": { - "type": "list", - "member": { - "shape": "S4" - } - }, - "S3h": { - "type": "list", - "member": { - "shape": "S1l" - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/organizations-2016-11-28.paginators.json b/src/node_modules/aws-sdk/apis/organizations-2016-11-28.paginators.json deleted file mode 100644 index ad365ba..0000000 --- a/src/node_modules/aws-sdk/apis/organizations-2016-11-28.paginators.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "pagination": { - "ListAccounts": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListAccountsForParent": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListChildren": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListCreateAccountStatus": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListHandshakesForAccount": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListHandshakesForOrganization": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListOrganizationalUnitsForParent": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListParents": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListPolicies": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListPoliciesForTarget": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListRoots": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - }, - "ListTargetsForPolicy": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/pinpoint-2016-12-01.examples.json b/src/node_modules/aws-sdk/apis/pinpoint-2016-12-01.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/pinpoint-2016-12-01.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json b/src/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json deleted file mode 100644 index f9bab2a..0000000 --- a/src/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +++ /dev/null @@ -1,2469 +0,0 @@ -{ - "metadata": { - "apiVersion": "2016-12-01", - "endpointPrefix": "pinpoint", - "signingName": "mobiletargeting", - "signatureVersion": "v4", - "serviceFullName": "Amazon Pinpoint", - "protocol": "rest-json", - "jsonVersion": "1.1" - }, - "operations": { - "CreateCampaign": { - "http": { - "requestUri": "/v1/apps/{application-id}/campaigns", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "WriteCampaignRequest": { - "shape": "S3" - } - }, - "required": [ - "ApplicationId", - "WriteCampaignRequest" - ], - "payload": "WriteCampaignRequest" - }, - "output": { - "type": "structure", - "members": { - "CampaignResponse": { - "shape": "Sj" - } - }, - "required": [ - "CampaignResponse" - ], - "payload": "CampaignResponse" - } - }, - "CreateImportJob": { - "http": { - "requestUri": "/v1/apps/{application-id}/jobs/import", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "ImportJobRequest": { - "type": "structure", - "members": { - "DefineSegment": { - "type": "boolean" - }, - "ExternalId": {}, - "Format": {}, - "RegisterEndpoints": { - "type": "boolean" - }, - "RoleArn": {}, - "S3Url": {}, - "SegmentId": {}, - "SegmentName": {} - } - } - }, - "required": [ - "ApplicationId", - "ImportJobRequest" - ], - "payload": "ImportJobRequest" - }, - "output": { - "type": "structure", - "members": { - "ImportJobResponse": { - "shape": "Ss" - } - }, - "required": [ - "ImportJobResponse" - ], - "payload": "ImportJobResponse" - } - }, - "CreateSegment": { - "http": { - "requestUri": "/v1/apps/{application-id}/segments", - "responseCode": 201 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "WriteSegmentRequest": { - "shape": "Sx" - } - }, - "required": [ - "ApplicationId", - "WriteSegmentRequest" - ], - "payload": "WriteSegmentRequest" - }, - "output": { - "type": "structure", - "members": { - "SegmentResponse": { - "shape": "S1b" - } - }, - "required": [ - "SegmentResponse" - ], - "payload": "SegmentResponse" - } - }, - "DeleteApnsChannel": { - "http": { - "method": "DELETE", - "requestUri": "/v1/apps/{application-id}/channels/apns", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "APNSChannelResponse": { - "shape": "S1h" - } - }, - "required": [ - "APNSChannelResponse" - ], - "payload": "APNSChannelResponse" - } - }, - "DeleteApnsSandboxChannel": { - "http": { - "method": "DELETE", - "requestUri": "/v1/apps/{application-id}/channels/apns_sandbox", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "APNSSandboxChannelResponse": { - "shape": "S1k" - } - }, - "required": [ - "APNSSandboxChannelResponse" - ], - "payload": "APNSSandboxChannelResponse" - } - }, - "DeleteCampaign": { - "http": { - "method": "DELETE", - "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "CampaignId": { - "location": "uri", - "locationName": "campaign-id" - } - }, - "required": [ - "CampaignId", - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "CampaignResponse": { - "shape": "Sj" - } - }, - "required": [ - "CampaignResponse" - ], - "payload": "CampaignResponse" - } - }, - "DeleteEmailChannel": { - "http": { - "method": "DELETE", - "requestUri": "/v1/apps/{application-id}/channels/email", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "EmailChannelResponse": { - "shape": "S1p" - } - }, - "required": [ - "EmailChannelResponse" - ], - "payload": "EmailChannelResponse" - } - }, - "DeleteEventStream": { - "http": { - "method": "DELETE", - "requestUri": "/v1/apps/{application-id}/eventstream", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "EventStream": { - "shape": "S1s" - } - }, - "required": [ - "EventStream" - ], - "payload": "EventStream" - } - }, - "DeleteGcmChannel": { - "http": { - "method": "DELETE", - "requestUri": "/v1/apps/{application-id}/channels/gcm", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "GCMChannelResponse": { - "shape": "S1v" - } - }, - "required": [ - "GCMChannelResponse" - ], - "payload": "GCMChannelResponse" - } - }, - "DeleteSegment": { - "http": { - "method": "DELETE", - "requestUri": "/v1/apps/{application-id}/segments/{segment-id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "SegmentId": { - "location": "uri", - "locationName": "segment-id" - } - }, - "required": [ - "SegmentId", - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "SegmentResponse": { - "shape": "S1b" - } - }, - "required": [ - "SegmentResponse" - ], - "payload": "SegmentResponse" - } - }, - "DeleteSmsChannel": { - "http": { - "method": "DELETE", - "requestUri": "/v1/apps/{application-id}/channels/sms", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "SMSChannelResponse": { - "shape": "S20" - } - }, - "required": [ - "SMSChannelResponse" - ], - "payload": "SMSChannelResponse" - } - }, - "GetApnsChannel": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/channels/apns", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "APNSChannelResponse": { - "shape": "S1h" - } - }, - "required": [ - "APNSChannelResponse" - ], - "payload": "APNSChannelResponse" - } - }, - "GetApnsSandboxChannel": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/channels/apns_sandbox", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "APNSSandboxChannelResponse": { - "shape": "S1k" - } - }, - "required": [ - "APNSSandboxChannelResponse" - ], - "payload": "APNSSandboxChannelResponse" - } - }, - "GetApplicationSettings": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/settings", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "ApplicationSettingsResource": { - "shape": "S27" - } - }, - "required": [ - "ApplicationSettingsResource" - ], - "payload": "ApplicationSettingsResource" - } - }, - "GetCampaign": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "CampaignId": { - "location": "uri", - "locationName": "campaign-id" - } - }, - "required": [ - "CampaignId", - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "CampaignResponse": { - "shape": "Sj" - } - }, - "required": [ - "CampaignResponse" - ], - "payload": "CampaignResponse" - } - }, - "GetCampaignActivities": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}/activities", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "CampaignId": { - "location": "uri", - "locationName": "campaign-id" - }, - "PageSize": { - "location": "querystring", - "locationName": "page-size" - }, - "Token": { - "location": "querystring", - "locationName": "token" - } - }, - "required": [ - "ApplicationId", - "CampaignId" - ] - }, - "output": { - "type": "structure", - "members": { - "ActivitiesResponse": { - "type": "structure", - "members": { - "Item": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ApplicationId": {}, - "CampaignId": {}, - "End": {}, - "Id": {}, - "Result": {}, - "ScheduledStart": {}, - "Start": {}, - "State": {}, - "SuccessfulEndpointCount": { - "type": "integer" - }, - "TimezonesCompletedCount": { - "type": "integer" - }, - "TimezonesTotalCount": { - "type": "integer" - }, - "TotalEndpointCount": { - "type": "integer" - }, - "TreatmentId": {} - } - } - } - } - } - }, - "required": [ - "ActivitiesResponse" - ], - "payload": "ActivitiesResponse" - } - }, - "GetCampaignVersion": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "CampaignId": { - "location": "uri", - "locationName": "campaign-id" - }, - "Version": { - "location": "uri", - "locationName": "version" - } - }, - "required": [ - "Version", - "ApplicationId", - "CampaignId" - ] - }, - "output": { - "type": "structure", - "members": { - "CampaignResponse": { - "shape": "Sj" - } - }, - "required": [ - "CampaignResponse" - ], - "payload": "CampaignResponse" - } - }, - "GetCampaignVersions": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "CampaignId": { - "location": "uri", - "locationName": "campaign-id" - }, - "PageSize": { - "location": "querystring", - "locationName": "page-size" - }, - "Token": { - "location": "querystring", - "locationName": "token" - } - }, - "required": [ - "ApplicationId", - "CampaignId" - ] - }, - "output": { - "type": "structure", - "members": { - "CampaignsResponse": { - "shape": "S2j" - } - }, - "required": [ - "CampaignsResponse" - ], - "payload": "CampaignsResponse" - } - }, - "GetCampaigns": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/campaigns", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "PageSize": { - "location": "querystring", - "locationName": "page-size" - }, - "Token": { - "location": "querystring", - "locationName": "token" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "CampaignsResponse": { - "shape": "S2j" - } - }, - "required": [ - "CampaignsResponse" - ], - "payload": "CampaignsResponse" - } - }, - "GetEmailChannel": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/channels/email", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "EmailChannelResponse": { - "shape": "S1p" - } - }, - "required": [ - "EmailChannelResponse" - ], - "payload": "EmailChannelResponse" - } - }, - "GetEndpoint": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/endpoints/{endpoint-id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "EndpointId": { - "location": "uri", - "locationName": "endpoint-id" - } - }, - "required": [ - "ApplicationId", - "EndpointId" - ] - }, - "output": { - "type": "structure", - "members": { - "EndpointResponse": { - "type": "structure", - "members": { - "Address": {}, - "ApplicationId": {}, - "Attributes": { - "shape": "S2s" - }, - "ChannelType": {}, - "CohortId": {}, - "CreationDate": {}, - "Demographic": { - "shape": "S2u" - }, - "EffectiveDate": {}, - "EndpointStatus": {}, - "Id": {}, - "Location": { - "shape": "S2v" - }, - "Metrics": { - "shape": "S2x" - }, - "OptOut": {}, - "RequestId": {}, - "User": { - "shape": "S2y" - }, - "ShardId": {} - } - } - }, - "required": [ - "EndpointResponse" - ], - "payload": "EndpointResponse" - } - }, - "GetEventStream": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/eventstream", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "EventStream": { - "shape": "S1s" - } - }, - "required": [ - "EventStream" - ], - "payload": "EventStream" - } - }, - "GetGcmChannel": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/channels/gcm", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "GCMChannelResponse": { - "shape": "S1v" - } - }, - "required": [ - "GCMChannelResponse" - ], - "payload": "GCMChannelResponse" - } - }, - "GetImportJob": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/jobs/import/{job-id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "JobId": { - "location": "uri", - "locationName": "job-id" - } - }, - "required": [ - "ApplicationId", - "JobId" - ] - }, - "output": { - "type": "structure", - "members": { - "ImportJobResponse": { - "shape": "Ss" - } - }, - "required": [ - "ImportJobResponse" - ], - "payload": "ImportJobResponse" - } - }, - "GetImportJobs": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/jobs/import", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "PageSize": { - "location": "querystring", - "locationName": "page-size" - }, - "Token": { - "location": "querystring", - "locationName": "token" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "ImportJobsResponse": { - "shape": "S37" - } - }, - "required": [ - "ImportJobsResponse" - ], - "payload": "ImportJobsResponse" - } - }, - "GetSegment": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/segments/{segment-id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "SegmentId": { - "location": "uri", - "locationName": "segment-id" - } - }, - "required": [ - "SegmentId", - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "SegmentResponse": { - "shape": "S1b" - } - }, - "required": [ - "SegmentResponse" - ], - "payload": "SegmentResponse" - } - }, - "GetSegmentImportJobs": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/segments/{segment-id}/jobs/import", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "PageSize": { - "location": "querystring", - "locationName": "page-size" - }, - "SegmentId": { - "location": "uri", - "locationName": "segment-id" - }, - "Token": { - "location": "querystring", - "locationName": "token" - } - }, - "required": [ - "SegmentId", - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "ImportJobsResponse": { - "shape": "S37" - } - }, - "required": [ - "ImportJobsResponse" - ], - "payload": "ImportJobsResponse" - } - }, - "GetSegmentVersion": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "SegmentId": { - "location": "uri", - "locationName": "segment-id" - }, - "Version": { - "location": "uri", - "locationName": "version" - } - }, - "required": [ - "SegmentId", - "Version", - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "SegmentResponse": { - "shape": "S1b" - } - }, - "required": [ - "SegmentResponse" - ], - "payload": "SegmentResponse" - } - }, - "GetSegmentVersions": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/segments/{segment-id}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "PageSize": { - "location": "querystring", - "locationName": "page-size" - }, - "SegmentId": { - "location": "uri", - "locationName": "segment-id" - }, - "Token": { - "location": "querystring", - "locationName": "token" - } - }, - "required": [ - "SegmentId", - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "SegmentsResponse": { - "shape": "S3h" - } - }, - "required": [ - "SegmentsResponse" - ], - "payload": "SegmentsResponse" - } - }, - "GetSegments": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/segments", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "PageSize": { - "location": "querystring", - "locationName": "page-size" - }, - "Token": { - "location": "querystring", - "locationName": "token" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "SegmentsResponse": { - "shape": "S3h" - } - }, - "required": [ - "SegmentsResponse" - ], - "payload": "SegmentsResponse" - } - }, - "GetSmsChannel": { - "http": { - "method": "GET", - "requestUri": "/v1/apps/{application-id}/channels/sms", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId" - ] - }, - "output": { - "type": "structure", - "members": { - "SMSChannelResponse": { - "shape": "S20" - } - }, - "required": [ - "SMSChannelResponse" - ], - "payload": "SMSChannelResponse" - } - }, - "PutEventStream": { - "http": { - "requestUri": "/v1/apps/{application-id}/eventstream", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "WriteEventStream": { - "type": "structure", - "members": { - "DestinationStreamArn": {}, - "ExternalId": {}, - "RoleArn": {} - } - } - }, - "required": [ - "ApplicationId", - "WriteEventStream" - ], - "payload": "WriteEventStream" - }, - "output": { - "type": "structure", - "members": { - "EventStream": { - "shape": "S1s" - } - }, - "required": [ - "EventStream" - ], - "payload": "EventStream" - } - }, - "SendMessages": { - "http": { - "requestUri": "/v1/apps/{application-id}/messages", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "MessageRequest": { - "type": "structure", - "members": { - "Addresses": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "BodyOverride": {}, - "ChannelType": {}, - "Context": { - "shape": "S3u" - }, - "RawContent": {}, - "Substitutions": { - "shape": "S2s" - }, - "TitleOverride": {} - } - } - }, - "Context": { - "shape": "S3u" - }, - "MessageConfiguration": { - "type": "structure", - "members": { - "APNSMessage": { - "type": "structure", - "members": { - "Action": {}, - "Badge": { - "type": "integer" - }, - "Body": {}, - "Category": {}, - "Data": { - "shape": "S3u" - }, - "MediaUrl": {}, - "RawContent": {}, - "SilentPush": { - "type": "boolean" - }, - "Sound": {}, - "Substitutions": { - "shape": "S2s" - }, - "ThreadId": {}, - "Title": {}, - "Url": {} - } - }, - "DefaultMessage": { - "type": "structure", - "members": { - "Body": {}, - "Substitutions": { - "shape": "S2s" - } - } - }, - "DefaultPushNotificationMessage": { - "type": "structure", - "members": { - "Action": {}, - "Body": {}, - "Data": { - "shape": "S3u" - }, - "SilentPush": { - "type": "boolean" - }, - "Substitutions": { - "shape": "S2s" - }, - "Title": {}, - "Url": {} - } - }, - "GCMMessage": { - "type": "structure", - "members": { - "Action": {}, - "Body": {}, - "CollapseKey": {}, - "Data": { - "shape": "S3u" - }, - "IconReference": {}, - "ImageIconUrl": {}, - "ImageUrl": {}, - "RawContent": {}, - "RestrictedPackageName": {}, - "SilentPush": { - "type": "boolean" - }, - "SmallImageIconUrl": {}, - "Sound": {}, - "Substitutions": { - "shape": "S2s" - }, - "Title": {}, - "Url": {} - } - }, - "SMSMessage": { - "type": "structure", - "members": { - "Body": {}, - "MessageType": {}, - "SenderId": {}, - "Substitutions": { - "shape": "S2s" - } - } - } - } - } - } - } - }, - "required": [ - "ApplicationId", - "MessageRequest" - ], - "payload": "MessageRequest" - }, - "output": { - "type": "structure", - "members": { - "MessageResponse": { - "type": "structure", - "members": { - "ApplicationId": {}, - "RequestId": {}, - "Result": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "DeliveryStatus": {}, - "StatusCode": { - "type": "integer" - }, - "StatusMessage": {}, - "UpdatedToken": {} - } - } - } - } - } - }, - "required": [ - "MessageResponse" - ], - "payload": "MessageResponse" - } - }, - "UpdateApnsChannel": { - "http": { - "method": "PUT", - "requestUri": "/v1/apps/{application-id}/channels/apns", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "APNSChannelRequest": { - "type": "structure", - "members": { - "Certificate": {}, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": {} - } - }, - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId", - "APNSChannelRequest" - ], - "payload": "APNSChannelRequest" - }, - "output": { - "type": "structure", - "members": { - "APNSChannelResponse": { - "shape": "S1h" - } - }, - "required": [ - "APNSChannelResponse" - ], - "payload": "APNSChannelResponse" - } - }, - "UpdateApnsSandboxChannel": { - "http": { - "method": "PUT", - "requestUri": "/v1/apps/{application-id}/channels/apns_sandbox", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "APNSSandboxChannelRequest": { - "type": "structure", - "members": { - "Certificate": {}, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": {} - } - }, - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - } - }, - "required": [ - "ApplicationId", - "APNSSandboxChannelRequest" - ], - "payload": "APNSSandboxChannelRequest" - }, - "output": { - "type": "structure", - "members": { - "APNSSandboxChannelResponse": { - "shape": "S1k" - } - }, - "required": [ - "APNSSandboxChannelResponse" - ], - "payload": "APNSSandboxChannelResponse" - } - }, - "UpdateApplicationSettings": { - "http": { - "method": "PUT", - "requestUri": "/v1/apps/{application-id}/settings", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "WriteApplicationSettingsRequest": { - "type": "structure", - "members": { - "Limits": { - "shape": "Sh" - }, - "QuietTime": { - "shape": "Sf" - } - } - } - }, - "required": [ - "ApplicationId", - "WriteApplicationSettingsRequest" - ], - "payload": "WriteApplicationSettingsRequest" - }, - "output": { - "type": "structure", - "members": { - "ApplicationSettingsResource": { - "shape": "S27" - } - }, - "required": [ - "ApplicationSettingsResource" - ], - "payload": "ApplicationSettingsResource" - } - }, - "UpdateCampaign": { - "http": { - "method": "PUT", - "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "CampaignId": { - "location": "uri", - "locationName": "campaign-id" - }, - "WriteCampaignRequest": { - "shape": "S3" - } - }, - "required": [ - "CampaignId", - "ApplicationId", - "WriteCampaignRequest" - ], - "payload": "WriteCampaignRequest" - }, - "output": { - "type": "structure", - "members": { - "CampaignResponse": { - "shape": "Sj" - } - }, - "required": [ - "CampaignResponse" - ], - "payload": "CampaignResponse" - } - }, - "UpdateEmailChannel": { - "http": { - "method": "PUT", - "requestUri": "/v1/apps/{application-id}/channels/email", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "EmailChannelRequest": { - "type": "structure", - "members": { - "Enabled": { - "type": "boolean" - }, - "FromAddress": {}, - "Identity": {}, - "RoleArn": {} - } - } - }, - "required": [ - "ApplicationId", - "EmailChannelRequest" - ], - "payload": "EmailChannelRequest" - }, - "output": { - "type": "structure", - "members": { - "EmailChannelResponse": { - "shape": "S1p" - } - }, - "required": [ - "EmailChannelResponse" - ], - "payload": "EmailChannelResponse" - } - }, - "UpdateEndpoint": { - "http": { - "method": "PUT", - "requestUri": "/v1/apps/{application-id}/endpoints/{endpoint-id}", - "responseCode": 202 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "EndpointId": { - "location": "uri", - "locationName": "endpoint-id" - }, - "EndpointRequest": { - "type": "structure", - "members": { - "Address": {}, - "Attributes": { - "shape": "S2s" - }, - "ChannelType": {}, - "Demographic": { - "shape": "S2u" - }, - "EffectiveDate": {}, - "EndpointStatus": {}, - "Location": { - "shape": "S2v" - }, - "Metrics": { - "shape": "S2x" - }, - "OptOut": {}, - "RequestId": {}, - "User": { - "shape": "S2y" - } - } - } - }, - "required": [ - "ApplicationId", - "EndpointId", - "EndpointRequest" - ], - "payload": "EndpointRequest" - }, - "output": { - "type": "structure", - "members": { - "MessageBody": { - "shape": "S4n" - } - }, - "required": [ - "MessageBody" - ], - "payload": "MessageBody" - } - }, - "UpdateEndpointsBatch": { - "http": { - "method": "PUT", - "requestUri": "/v1/apps/{application-id}/endpoints", - "responseCode": 202 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "EndpointBatchRequest": { - "type": "structure", - "members": { - "Item": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Address": {}, - "Attributes": { - "shape": "S2s" - }, - "ChannelType": {}, - "Demographic": { - "shape": "S2u" - }, - "EffectiveDate": {}, - "EndpointStatus": {}, - "Id": {}, - "Location": { - "shape": "S2v" - }, - "Metrics": { - "shape": "S2x" - }, - "OptOut": {}, - "RequestId": {}, - "User": { - "shape": "S2y" - } - } - } - } - } - } - }, - "required": [ - "ApplicationId", - "EndpointBatchRequest" - ], - "payload": "EndpointBatchRequest" - }, - "output": { - "type": "structure", - "members": { - "MessageBody": { - "shape": "S4n" - } - }, - "required": [ - "MessageBody" - ], - "payload": "MessageBody" - } - }, - "UpdateGcmChannel": { - "http": { - "method": "PUT", - "requestUri": "/v1/apps/{application-id}/channels/gcm", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "GCMChannelRequest": { - "type": "structure", - "members": { - "ApiKey": {}, - "Enabled": { - "type": "boolean" - } - } - } - }, - "required": [ - "ApplicationId", - "GCMChannelRequest" - ], - "payload": "GCMChannelRequest" - }, - "output": { - "type": "structure", - "members": { - "GCMChannelResponse": { - "shape": "S1v" - } - }, - "required": [ - "GCMChannelResponse" - ], - "payload": "GCMChannelResponse" - } - }, - "UpdateSegment": { - "http": { - "method": "PUT", - "requestUri": "/v1/apps/{application-id}/segments/{segment-id}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "SegmentId": { - "location": "uri", - "locationName": "segment-id" - }, - "WriteSegmentRequest": { - "shape": "Sx" - } - }, - "required": [ - "SegmentId", - "ApplicationId", - "WriteSegmentRequest" - ], - "payload": "WriteSegmentRequest" - }, - "output": { - "type": "structure", - "members": { - "SegmentResponse": { - "shape": "S1b" - } - }, - "required": [ - "SegmentResponse" - ], - "payload": "SegmentResponse" - } - }, - "UpdateSmsChannel": { - "http": { - "method": "PUT", - "requestUri": "/v1/apps/{application-id}/channels/sms", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "ApplicationId": { - "location": "uri", - "locationName": "application-id" - }, - "SMSChannelRequest": { - "type": "structure", - "members": { - "Enabled": { - "type": "boolean" - }, - "SenderId": {} - } - } - }, - "required": [ - "ApplicationId", - "SMSChannelRequest" - ], - "payload": "SMSChannelRequest" - }, - "output": { - "type": "structure", - "members": { - "SMSChannelResponse": { - "shape": "S20" - } - }, - "required": [ - "SMSChannelResponse" - ], - "payload": "SMSChannelResponse" - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "members": { - "AdditionalTreatments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "MessageConfiguration": { - "shape": "S6" - }, - "Schedule": { - "shape": "Sd" - }, - "SizePercent": { - "type": "integer" - }, - "TreatmentDescription": {}, - "TreatmentName": {} - } - } - }, - "Description": {}, - "HoldoutPercent": { - "type": "integer" - }, - "IsPaused": { - "type": "boolean" - }, - "Limits": { - "shape": "Sh" - }, - "MessageConfiguration": { - "shape": "S6" - }, - "Name": {}, - "Schedule": { - "shape": "Sd" - }, - "SegmentId": {}, - "SegmentVersion": { - "type": "integer" - }, - "TreatmentDescription": {}, - "TreatmentName": {} - } - }, - "S6": { - "type": "structure", - "members": { - "APNSMessage": { - "shape": "S7" - }, - "DefaultMessage": { - "shape": "S7" - }, - "EmailMessage": { - "type": "structure", - "members": { - "Body": {}, - "HtmlBody": {}, - "Title": {} - } - }, - "GCMMessage": { - "shape": "S7" - }, - "SMSMessage": { - "type": "structure", - "members": { - "Body": {}, - "MessageType": {}, - "SenderId": {} - } - } - } - }, - "S7": { - "type": "structure", - "members": { - "Action": {}, - "Body": {}, - "ImageIconUrl": {}, - "ImageSmallIconUrl": {}, - "ImageUrl": {}, - "JsonBody": {}, - "MediaUrl": {}, - "SilentPush": { - "type": "boolean" - }, - "Title": {}, - "Url": {} - } - }, - "Sd": { - "type": "structure", - "members": { - "EndTime": {}, - "Frequency": {}, - "IsLocalTime": { - "type": "boolean" - }, - "QuietTime": { - "shape": "Sf" - }, - "StartTime": {}, - "Timezone": {} - } - }, - "Sf": { - "type": "structure", - "members": { - "End": {}, - "Start": {} - } - }, - "Sh": { - "type": "structure", - "members": { - "Daily": { - "type": "integer" - }, - "Total": { - "type": "integer" - } - } - }, - "Sj": { - "type": "structure", - "members": { - "AdditionalTreatments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "MessageConfiguration": { - "shape": "S6" - }, - "Schedule": { - "shape": "Sd" - }, - "SizePercent": { - "type": "integer" - }, - "State": { - "shape": "Sm" - }, - "TreatmentDescription": {}, - "TreatmentName": {} - } - } - }, - "ApplicationId": {}, - "CreationDate": {}, - "DefaultState": { - "shape": "Sm" - }, - "Description": {}, - "HoldoutPercent": { - "type": "integer" - }, - "Id": {}, - "IsPaused": { - "type": "boolean" - }, - "LastModifiedDate": {}, - "Limits": { - "shape": "Sh" - }, - "MessageConfiguration": { - "shape": "S6" - }, - "Name": {}, - "Schedule": { - "shape": "Sd" - }, - "SegmentId": {}, - "SegmentVersion": { - "type": "integer" - }, - "State": { - "shape": "Sm" - }, - "TreatmentDescription": {}, - "TreatmentName": {}, - "Version": { - "type": "integer" - } - } - }, - "Sm": { - "type": "structure", - "members": { - "CampaignStatus": {} - } - }, - "Ss": { - "type": "structure", - "members": { - "ApplicationId": {}, - "CompletedPieces": { - "type": "integer" - }, - "CompletionDate": {}, - "CreationDate": {}, - "Definition": { - "type": "structure", - "members": { - "DefineSegment": { - "type": "boolean" - }, - "ExternalId": {}, - "Format": {}, - "RegisterEndpoints": { - "type": "boolean" - }, - "RoleArn": {}, - "S3Url": {}, - "SegmentId": {}, - "SegmentName": {} - } - }, - "FailedPieces": { - "type": "integer" - }, - "Failures": { - "shape": "Su" - }, - "Id": {}, - "JobStatus": {}, - "TotalFailures": { - "type": "integer" - }, - "TotalPieces": { - "type": "integer" - }, - "TotalProcessed": { - "type": "integer" - }, - "Type": {} - } - }, - "Su": { - "type": "list", - "member": {} - }, - "Sx": { - "type": "structure", - "members": { - "Dimensions": { - "shape": "Sy" - }, - "Name": {} - } - }, - "Sy": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Sz" - }, - "Behavior": { - "type": "structure", - "members": { - "Recency": { - "type": "structure", - "members": { - "Duration": {}, - "RecencyType": {} - } - } - } - }, - "Demographic": { - "type": "structure", - "members": { - "AppVersion": { - "shape": "S17" - }, - "Channel": { - "shape": "S17" - }, - "DeviceType": { - "shape": "S17" - }, - "Make": { - "shape": "S17" - }, - "Model": { - "shape": "S17" - }, - "Platform": { - "shape": "S17" - } - } - }, - "Location": { - "type": "structure", - "members": { - "Country": { - "shape": "S17" - } - } - }, - "UserAttributes": { - "shape": "Sz" - } - } - }, - "Sz": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "AttributeType": {}, - "Values": { - "shape": "Su" - } - } - } - }, - "S17": { - "type": "structure", - "members": { - "DimensionType": {}, - "Values": { - "shape": "Su" - } - } - }, - "S1b": { - "type": "structure", - "members": { - "ApplicationId": {}, - "CreationDate": {}, - "Dimensions": { - "shape": "Sy" - }, - "Id": {}, - "ImportDefinition": { - "type": "structure", - "members": { - "ChannelCounts": { - "type": "map", - "key": {}, - "value": { - "type": "integer" - } - }, - "ExternalId": {}, - "Format": {}, - "RoleArn": {}, - "S3Url": {}, - "Size": { - "type": "integer" - } - } - }, - "LastModifiedDate": {}, - "Name": {}, - "SegmentType": {}, - "Version": { - "type": "integer" - } - } - }, - "S1h": { - "type": "structure", - "members": { - "ApplicationId": {}, - "CreationDate": {}, - "Enabled": { - "type": "boolean" - }, - "Id": {}, - "IsArchived": { - "type": "boolean" - }, - "LastModifiedBy": {}, - "LastModifiedDate": {}, - "Platform": {}, - "Version": { - "type": "integer" - } - } - }, - "S1k": { - "type": "structure", - "members": { - "ApplicationId": {}, - "CreationDate": {}, - "Enabled": { - "type": "boolean" - }, - "Id": {}, - "IsArchived": { - "type": "boolean" - }, - "LastModifiedBy": {}, - "LastModifiedDate": {}, - "Platform": {}, - "Version": { - "type": "integer" - } - } - }, - "S1p": { - "type": "structure", - "members": { - "ApplicationId": {}, - "CreationDate": {}, - "Enabled": { - "type": "boolean" - }, - "FromAddress": {}, - "Id": {}, - "Identity": {}, - "IsArchived": { - "type": "boolean" - }, - "LastModifiedBy": {}, - "LastModifiedDate": {}, - "Platform": {}, - "RoleArn": {}, - "Version": { - "type": "integer" - } - } - }, - "S1s": { - "type": "structure", - "members": { - "ApplicationId": {}, - "DestinationStreamArn": {}, - "ExternalId": {}, - "LastModifiedDate": {}, - "LastUpdatedBy": {}, - "RoleArn": {} - } - }, - "S1v": { - "type": "structure", - "members": { - "ApplicationId": {}, - "CreationDate": {}, - "Credential": {}, - "Enabled": { - "type": "boolean" - }, - "Id": {}, - "IsArchived": { - "type": "boolean" - }, - "LastModifiedBy": {}, - "LastModifiedDate": {}, - "Platform": {}, - "Version": { - "type": "integer" - } - } - }, - "S20": { - "type": "structure", - "members": { - "ApplicationId": {}, - "CreationDate": {}, - "Enabled": { - "type": "boolean" - }, - "Id": {}, - "IsArchived": { - "type": "boolean" - }, - "LastModifiedBy": {}, - "LastModifiedDate": {}, - "Platform": {}, - "SenderId": {}, - "ShortCode": {}, - "Version": { - "type": "integer" - } - } - }, - "S27": { - "type": "structure", - "members": { - "ApplicationId": {}, - "LastModifiedDate": {}, - "Limits": { - "shape": "Sh" - }, - "QuietTime": { - "shape": "Sf" - } - } - }, - "S2j": { - "type": "structure", - "members": { - "Item": { - "type": "list", - "member": { - "shape": "Sj" - } - }, - "NextToken": {} - } - }, - "S2s": { - "type": "map", - "key": {}, - "value": { - "shape": "Su" - } - }, - "S2u": { - "type": "structure", - "members": { - "AppVersion": {}, - "Locale": {}, - "Make": {}, - "Model": {}, - "ModelVersion": {}, - "Platform": {}, - "PlatformVersion": {}, - "Timezone": {} - } - }, - "S2v": { - "type": "structure", - "members": { - "City": {}, - "Country": {}, - "Latitude": { - "type": "double" - }, - "Longitude": { - "type": "double" - }, - "PostalCode": {}, - "Region": {} - } - }, - "S2x": { - "type": "map", - "key": {}, - "value": { - "type": "double" - } - }, - "S2y": { - "type": "structure", - "members": { - "UserAttributes": { - "shape": "S2s" - }, - "UserId": {} - } - }, - "S37": { - "type": "structure", - "members": { - "Item": { - "type": "list", - "member": { - "shape": "Ss" - } - }, - "NextToken": {} - } - }, - "S3h": { - "type": "structure", - "members": { - "Item": { - "type": "list", - "member": { - "shape": "S1b" - } - }, - "NextToken": {} - } - }, - "S3u": { - "type": "map", - "key": {}, - "value": {} - }, - "S4n": { - "type": "structure", - "members": { - "Message": {}, - "RequestID": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/polly-2016-06-10.examples.json b/src/node_modules/aws-sdk/apis/polly-2016-06-10.examples.json deleted file mode 100644 index 38205db..0000000 --- a/src/node_modules/aws-sdk/apis/polly-2016-06-10.examples.json +++ /dev/null @@ -1,171 +0,0 @@ -{ - "version": "1.0", - "examples": { - "DeleteLexicon": [ - { - "input": { - "Name": "example" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes a specified pronunciation lexicon stored in an AWS Region.", - "id": "to-delete-a-lexicon-1481922498332", - "title": "To delete a lexicon" - } - ], - "DescribeVoices": [ - { - "input": { - "LanguageCode": "en-GB" - }, - "output": { - "Voices": [ - { - "Gender": "Female", - "Id": "Emma", - "LanguageCode": "en-GB", - "LanguageName": "British English", - "Name": "Emma" - }, - { - "Gender": "Male", - "Id": "Brian", - "LanguageCode": "en-GB", - "LanguageName": "British English", - "Name": "Brian" - }, - { - "Gender": "Female", - "Id": "Amy", - "LanguageCode": "en-GB", - "LanguageName": "British English", - "Name": "Amy" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns the list of voices that are available for use when requesting speech synthesis. Displayed languages are those within the specified language code. If no language code is specified, voices for all available languages are displayed.", - "id": "to-describe-available-voices-1482180557753", - "title": "To describe available voices" - } - ], - "GetLexicon": [ - { - "input": { - "Name": "" - }, - "output": { - "Lexicon": { - "Content": "\r\n\r\n \r\n W3C\r\n World Wide Web Consortium\r\n \r\n", - "Name": "example" - }, - "LexiconAttributes": { - "Alphabet": "ipa", - "LanguageCode": "en-US", - "LastModified": 1478542980.117, - "LexemesCount": 1, - "LexiconArn": "arn:aws:polly:us-east-1:123456789012:lexicon/example", - "Size": 503 - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns the content of the specified pronunciation lexicon stored in an AWS Region.", - "id": "to-retrieve-a-lexicon-1481912870836", - "title": "To retrieve a lexicon" - } - ], - "ListLexicons": [ - { - "input": { - }, - "output": { - "Lexicons": [ - { - "Attributes": { - "Alphabet": "ipa", - "LanguageCode": "en-US", - "LastModified": 1478542980.117, - "LexemesCount": 1, - "LexiconArn": "arn:aws:polly:us-east-1:123456789012:lexicon/example", - "Size": 503 - }, - "Name": "example" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns a list of pronunciation lexicons stored in an AWS Region.", - "id": "to-list-all-lexicons-in-a-region-1481842106487", - "title": "To list all lexicons in a region" - } - ], - "PutLexicon": [ - { - "input": { - "Content": "file://example.pls", - "Name": "W3C" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Stores a pronunciation lexicon in an AWS Region.", - "id": "to-save-a-lexicon-1482272584088", - "title": "To save a lexicon" - } - ], - "SynthesizeSpeech": [ - { - "input": { - "LexiconNames": [ - "example" - ], - "OutputFormat": "mp3", - "SampleRate": "8000", - "Text": "All Gaul is divided into three parts", - "TextType": "text", - "VoiceId": "Joanna" - }, - "output": { - "AudioStream": "TEXT", - "ContentType": "audio/mpeg", - "RequestCharacters": 37 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Synthesizes plain text or SSML into a file of human-like speech.", - "id": "to-synthesize-speech-1482186064046", - "title": "To synthesize speech" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/polly-2016-06-10.min.json b/src/node_modules/aws-sdk/apis/polly-2016-06-10.min.json deleted file mode 100644 index a0ea47b..0000000 --- a/src/node_modules/aws-sdk/apis/polly-2016-06-10.min.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-06-10", - "endpointPrefix": "polly", - "protocol": "rest-json", - "serviceFullName": "Amazon Polly", - "signatureVersion": "v4", - "uid": "polly-2016-06-10" - }, - "operations": { - "DeleteLexicon": { - "http": { - "method": "DELETE", - "requestUri": "/v1/lexicons/{LexiconName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": { - "shape": "S2", - "location": "uri", - "locationName": "LexiconName" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeVoices": { - "http": { - "method": "GET", - "requestUri": "/v1/voices", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "LanguageCode": { - "location": "querystring", - "locationName": "LanguageCode" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Voices": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Gender": {}, - "Id": {}, - "LanguageCode": {}, - "LanguageName": {}, - "Name": {} - } - } - }, - "NextToken": {} - } - } - }, - "GetLexicon": { - "http": { - "method": "GET", - "requestUri": "/v1/lexicons/{LexiconName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": { - "shape": "S2", - "location": "uri", - "locationName": "LexiconName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Lexicon": { - "type": "structure", - "members": { - "Content": {}, - "Name": { - "shape": "S2" - } - } - }, - "LexiconAttributes": { - "shape": "Si" - } - } - } - }, - "ListLexicons": { - "http": { - "method": "GET", - "requestUri": "/v1/lexicons", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Lexicons": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": { - "shape": "S2" - }, - "Attributes": { - "shape": "Si" - } - } - } - }, - "NextToken": {} - } - } - }, - "PutLexicon": { - "http": { - "method": "PUT", - "requestUri": "/v1/lexicons/{LexiconName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Name", - "Content" - ], - "members": { - "Name": { - "shape": "S2", - "location": "uri", - "locationName": "LexiconName" - }, - "Content": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "SynthesizeSpeech": { - "http": { - "requestUri": "/v1/speech", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "OutputFormat", - "Text", - "VoiceId" - ], - "members": { - "LexiconNames": { - "type": "list", - "member": { - "shape": "S2" - } - }, - "OutputFormat": {}, - "SampleRate": {}, - "SpeechMarkTypes": { - "type": "list", - "member": {} - }, - "Text": {}, - "TextType": {}, - "VoiceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "AudioStream": { - "type": "blob", - "streaming": true - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, - "RequestCharacters": { - "location": "header", - "locationName": "x-amzn-RequestCharacters", - "type": "integer" - } - }, - "payload": "AudioStream" - } - } - }, - "shapes": { - "S2": { - "type": "string", - "sensitive": true - }, - "Si": { - "type": "structure", - "members": { - "Alphabet": {}, - "LanguageCode": {}, - "LastModified": { - "type": "timestamp" - }, - "LexiconArn": {}, - "LexemesCount": { - "type": "integer" - }, - "Size": { - "type": "integer" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/polly-2016-06-10.paginators.json b/src/node_modules/aws-sdk/apis/polly-2016-06-10.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/polly-2016-06-10.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/rds-2013-01-10.examples.json b/src/node_modules/aws-sdk/apis/rds-2013-01-10.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2013-01-10.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/rds-2013-01-10.min.json b/src/node_modules/aws-sdk/apis/rds-2013-01-10.min.json deleted file mode 100644 index d000f79..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2013-01-10.min.json +++ /dev/null @@ -1,1896 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-01-10", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "uid": "rds-2013-01-10", - "xmlNamespace": "http://rds.amazonaws.com/doc/2013-01-10/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S1c" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1i" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "SourceIds": { - "shape": "S5" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1o" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S25" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S25", - "locationName": "CharacterSet" - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "S1c", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2f" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S11", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2f" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {} - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S6" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S6" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S6" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S1o", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S14", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S3m", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S3o" - } - }, - "wrapper": true - } - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {} - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S2f" - } - } - }, - "output": { - "shape": "S3z", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1i" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sp" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sq" - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1o" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S3m" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2f" - } - } - }, - "output": { - "shape": "S3z", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "Id": {}, - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - } - }, - "wrapper": true - }, - "Sp": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "St": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "Sv" - }, - "VpcSecurityGroups": { - "shape": "Sx" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S11" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMembership": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - } - }, - "wrapper": true - }, - "Sv": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "Sx": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S11": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S14" - }, - "SubnetStatus": {} - } - } - } - }, - "wrapper": true - }, - "S14": { - "type": "structure", - "members": { - "Name": {}, - "ProvisionedIopsCapable": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S1c": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "S1i": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1o": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sv" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sx" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {} - }, - "wrapper": true - }, - "S25": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S2f": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S3m": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S3o" - } - }, - "wrapper": true - }, - "S3o": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S3z": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json b/src/node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json deleted file mode 100644 index 2461b48..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2013-01-10.paginators.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "pagination": { - "DescribeDBEngineVersions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBEngineVersions" - }, - "DescribeDBInstances": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBInstances" - }, - "DescribeDBParameterGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBParameterGroups" - }, - "DescribeDBParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Parameters" - }, - "DescribeDBSecurityGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSecurityGroups" - }, - "DescribeDBSnapshots": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSnapshots" - }, - "DescribeDBSubnetGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "EngineDefaults.Marker", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Events" - }, - "DescribeOptionGroupOptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OptionGroupOptions" - }, - "DescribeOptionGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OptionGroupsList" - }, - "DescribeOrderableDBInstanceOptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OrderableDBInstanceOptions" - }, - "DescribeReservedDBInstances": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedDBInstances" - }, - "DescribeReservedDBInstancesOfferings": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedDBInstancesOfferings" - }, - "ListTagsForResource": { - "result_key": "TagList" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/rds-2013-02-12.examples.json b/src/node_modules/aws-sdk/apis/rds-2013-02-12.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2013-02-12.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/rds-2013-02-12.min.json b/src/node_modules/aws-sdk/apis/rds-2013-02-12.min.json deleted file mode 100644 index 8da4b1c..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2013-02-12.min.json +++ /dev/null @@ -1,2028 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-02-12", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "uid": "rds-2013-02-12", - "xmlNamespace": "http://rds.amazonaws.com/doc/2013-02-12/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S1d" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1j" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "SourceIds": { - "shape": "S5" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {} - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1p" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S28" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S28", - "locationName": "CharacterSet" - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBLogFiles": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "FilenameContains": {}, - "FileLastWritten": { - "type": "long" - }, - "FileSize": { - "type": "long" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBLogFilesResult", - "type": "structure", - "members": { - "DescribeDBLogFiles": { - "type": "list", - "member": { - "locationName": "DescribeDBLogFilesDetails", - "type": "structure", - "members": { - "LogFileName": {}, - "LastWritten": { - "type": "long" - }, - "Size": { - "type": "long" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "S1d", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2n" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S11", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2n" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {} - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S6" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S6" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S6" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - }, - "Persistent": { - "type": "boolean" - }, - "OptionGroupOptionSettings": { - "type": "list", - "member": { - "locationName": "OptionGroupOptionSetting", - "type": "structure", - "members": { - "SettingName": {}, - "SettingDescription": {}, - "DefaultValue": {}, - "ApplyType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - } - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S1p", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S14", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S3w", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S3y" - } - }, - "wrapper": true - } - } - } - } - }, - "DownloadDBLogFilePortion": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "LogFileName" - ], - "members": { - "DBInstanceIdentifier": {}, - "LogFileName": {}, - "Marker": {}, - "NumberOfLines": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DownloadDBLogFilePortionResult", - "type": "structure", - "members": { - "LogFileData": {}, - "Marker": {}, - "AdditionalDataPending": { - "type": "boolean" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {} - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S2n" - } - } - }, - "output": { - "shape": "S4b", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1j" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sp" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sq" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1t", - "locationName": "OptionSetting" - } - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1p" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S3w" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2n" - } - } - }, - "output": { - "shape": "S4b", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {} - }, - "wrapper": true - }, - "Sp": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "St": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "Sv" - }, - "VpcSecurityGroups": { - "shape": "Sx" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S11" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMemberships": { - "type": "list", - "member": { - "locationName": "OptionGroupMembership", - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - } - }, - "wrapper": true - }, - "Sv": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "Sx": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S11": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S14" - }, - "SubnetStatus": {} - } - } - } - }, - "wrapper": true - }, - "S14": { - "type": "structure", - "members": { - "Name": {}, - "ProvisionedIopsCapable": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S1d": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "S1j": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1p": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Persistent": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1t", - "locationName": "OptionSetting" - } - }, - "DBSecurityGroupMemberships": { - "shape": "Sv" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sx" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {} - }, - "wrapper": true - }, - "S1t": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "DefaultValue": {}, - "Description": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "IsCollection": { - "type": "boolean" - } - } - }, - "S28": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S2n": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S3w": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S3y" - } - }, - "wrapper": true - }, - "S3y": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S4b": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json b/src/node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json deleted file mode 100644 index c51d8d1..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2013-02-12.paginators.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "pagination": { - "DescribeDBEngineVersions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBEngineVersions" - }, - "DescribeDBInstances": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBInstances" - }, - "DescribeDBLogFiles": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DescribeDBLogFiles" - }, - "DescribeDBParameterGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBParameterGroups" - }, - "DescribeDBParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Parameters" - }, - "DescribeDBSecurityGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSecurityGroups" - }, - "DescribeDBSnapshots": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSnapshots" - }, - "DescribeDBSubnetGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "EngineDefaults.Marker", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Events" - }, - "DescribeOptionGroupOptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OptionGroupOptions" - }, - "DescribeOptionGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OptionGroupsList" - }, - "DescribeOrderableDBInstanceOptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OrderableDBInstanceOptions" - }, - "DescribeReservedDBInstances": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedDBInstances" - }, - "DescribeReservedDBInstancesOfferings": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedDBInstancesOfferings" - }, - "DownloadDBLogFilePortion": { - "input_token": "Marker", - "limit_key": "NumberOfLines", - "more_results": "AdditionalDataPending", - "output_token": "Marker", - "result_key": "LogFileData" - }, - "ListTagsForResource": { - "result_key": "TagList" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/rds-2013-09-09.examples.json b/src/node_modules/aws-sdk/apis/rds-2013-09-09.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2013-09-09.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/rds-2013-09-09.min.json b/src/node_modules/aws-sdk/apis/rds-2013-09-09.min.json deleted file mode 100644 index 3722f46..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2013-09-09.min.json +++ /dev/null @@ -1,2164 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-09-09", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "uid": "rds-2013-09-09", - "xmlNamespace": "http://rds.amazonaws.com/doc/2013-09-09/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "DBSubnetGroupName": {} - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S1f" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1l" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "SourceIds": { - "shape": "S5" - }, - "Enabled": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1r" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sk" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S2d" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S2d", - "locationName": "CharacterSet" - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "St", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBLogFiles": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "FilenameContains": {}, - "FileLastWritten": { - "type": "long" - }, - "FileSize": { - "type": "long" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBLogFilesResult", - "type": "structure", - "members": { - "DescribeDBLogFiles": { - "type": "list", - "member": { - "locationName": "DescribeDBLogFilesDetails", - "type": "structure", - "members": { - "LogFileName": {}, - "LastWritten": { - "type": "long" - }, - "Size": { - "type": "long" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "S1f", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2s" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S11", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2s" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {}, - "Filters": { - "shape": "S27" - } - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S6" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S6" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S6" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - }, - "Persistent": { - "type": "boolean" - }, - "Permanent": { - "type": "boolean" - }, - "OptionGroupOptionSettings": { - "type": "list", - "member": { - "locationName": "OptionGroupOptionSetting", - "type": "structure", - "members": { - "SettingName": {}, - "SettingDescription": {}, - "DefaultValue": {}, - "ApplyType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - } - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Filters": { - "shape": "S27" - }, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S1r", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S14", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S41", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S27" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S43" - } - }, - "wrapper": true - } - } - } - } - }, - "DownloadDBLogFilePortion": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "LogFileName" - ], - "members": { - "DBInstanceIdentifier": {}, - "LogFileName": {}, - "Marker": {}, - "NumberOfLines": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DownloadDBLogFilePortionResult", - "type": "structure", - "members": { - "LogFileData": {}, - "Marker": {}, - "AdditionalDataPending": { - "type": "boolean" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {}, - "Filters": { - "shape": "S27" - } - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S2s" - } - } - }, - "output": { - "shape": "S4g", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1l" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S11" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "Sp" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sq" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1v", - "locationName": "OptionSetting" - } - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S1r" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S41" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2s" - } - } - }, - "output": { - "shape": "S4g", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "St" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PercentProgress": { - "type": "integer" - }, - "SourceRegion": {} - }, - "wrapper": true - }, - "Sp": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "St": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "Sv" - }, - "VpcSecurityGroups": { - "shape": "Sx" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S11" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMemberships": { - "type": "list", - "member": { - "locationName": "OptionGroupMembership", - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "StatusInfos": { - "type": "list", - "member": { - "locationName": "DBInstanceStatusInfo", - "type": "structure", - "members": { - "StatusType": {}, - "Normal": { - "type": "boolean" - }, - "Status": {}, - "Message": {} - } - } - } - }, - "wrapper": true - }, - "Sv": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "Sx": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S11": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S14" - }, - "SubnetStatus": {} - } - } - } - }, - "wrapper": true - }, - "S14": { - "type": "structure", - "members": { - "Name": {}, - "ProvisionedIopsCapable": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S1f": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "S1l": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1r": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Persistent": { - "type": "boolean" - }, - "Permanent": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1v", - "locationName": "OptionSetting" - } - }, - "DBSecurityGroupMemberships": { - "shape": "Sv" - }, - "VpcSecurityGroupMemberships": { - "shape": "Sx" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {} - }, - "wrapper": true - }, - "S1v": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "DefaultValue": {}, - "Description": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "IsCollection": { - "type": "boolean" - } - } - }, - "S27": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "required": [ - "Name", - "Values" - ], - "members": { - "Name": {}, - "Values": { - "type": "list", - "member": { - "locationName": "Value" - } - } - } - } - }, - "S2d": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S2s": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S41": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S43" - } - }, - "wrapper": true - }, - "S43": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S4g": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json b/src/node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json deleted file mode 100644 index c51d8d1..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2013-09-09.paginators.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "pagination": { - "DescribeDBEngineVersions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBEngineVersions" - }, - "DescribeDBInstances": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBInstances" - }, - "DescribeDBLogFiles": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DescribeDBLogFiles" - }, - "DescribeDBParameterGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBParameterGroups" - }, - "DescribeDBParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Parameters" - }, - "DescribeDBSecurityGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSecurityGroups" - }, - "DescribeDBSnapshots": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSnapshots" - }, - "DescribeDBSubnetGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "EngineDefaults.Marker", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Events" - }, - "DescribeOptionGroupOptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OptionGroupOptions" - }, - "DescribeOptionGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OptionGroupsList" - }, - "DescribeOrderableDBInstanceOptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OrderableDBInstanceOptions" - }, - "DescribeReservedDBInstances": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedDBInstances" - }, - "DescribeReservedDBInstancesOfferings": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedDBInstancesOfferings" - }, - "DownloadDBLogFilePortion": { - "input_token": "Marker", - "limit_key": "NumberOfLines", - "more_results": "AdditionalDataPending", - "output_token": "Marker", - "result_key": "LogFileData" - }, - "ListTagsForResource": { - "result_key": "TagList" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/rds-2013-09-09.waiters2.json b/src/node_modules/aws-sdk/apis/rds-2013-09-09.waiters2.json deleted file mode 100644 index b015007..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2013-09-09.waiters2.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "version": 2, - "waiters": { - "DBInstanceAvailable": { - "delay": 30, - "operation": "DescribeDBInstances", - "maxAttempts": 60, - "acceptors": [ - { - "expected": "available", - "matcher": "pathAll", - "state": "success", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "deleted", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "deleting", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "failed", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "incompatible-restore", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "incompatible-parameters", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "incompatible-parameters", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "incompatible-restore", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - } - ] - }, - "DBInstanceDeleted": { - "delay": 30, - "operation": "DescribeDBInstances", - "maxAttempts": 60, - "acceptors": [ - { - "expected": "deleted", - "matcher": "pathAll", - "state": "success", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "creating", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "modifying", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "rebooting", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "resetting-master-credentials", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/rds-2014-09-01.examples.json b/src/node_modules/aws-sdk/apis/rds-2014-09-01.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2014-09-01.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/rds-2014-09-01.min.json b/src/node_modules/aws-sdk/apis/rds-2014-09-01.min.json deleted file mode 100644 index fe2e6c2..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2014-09-01.min.json +++ /dev/null @@ -1,2237 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-09-01", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "uid": "rds-2014-09-01", - "xmlNamespace": "http://rds.amazonaws.com/doc/2014-09-01/" - }, - "operations": { - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S9" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CopyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "SourceDBParameterGroupIdentifier", - "TargetDBParameterGroupIdentifier", - "TargetDBParameterGroupDescription" - ], - "members": { - "SourceDBParameterGroupIdentifier": {}, - "TargetDBParameterGroupIdentifier": {}, - "TargetDBParameterGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "Sk" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sn" - } - } - } - }, - "CopyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "SourceOptionGroupIdentifier", - "TargetOptionGroupIdentifier", - "TargetOptionGroupDescription" - ], - "members": { - "SourceOptionGroupIdentifier": {}, - "TargetOptionGroupIdentifier": {}, - "TargetOptionGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CopyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "St" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "S13" - }, - "VpcSecurityGroupIds": { - "shape": "S14" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {} - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S17" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - }, - "DBSubnetGroupName": {}, - "StorageType": {} - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S17" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "Sk" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sn" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1u" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S1b" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "SourceIds": { - "shape": "S5" - }, - "Enabled": { - "type": "boolean" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {}, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "St" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S17" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "Sn" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S2h" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S2h", - "locationName": "CharacterSet" - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "S17", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBLogFiles": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "FilenameContains": {}, - "FileLastWritten": { - "type": "long" - }, - "FileSize": { - "type": "long" - }, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBLogFilesResult", - "type": "structure", - "members": { - "DescribeDBLogFiles": { - "type": "list", - "member": { - "locationName": "DescribeDBLogFilesDetails", - "type": "structure", - "members": { - "LogFileName": {}, - "LastWritten": { - "type": "long" - }, - "Size": { - "type": "long" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2w" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "Sn", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S1b", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2w" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {}, - "Filters": { - "shape": "S2b" - } - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S6" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S6" - }, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S6" - }, - "Date": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - }, - "Persistent": { - "type": "boolean" - }, - "Permanent": { - "type": "boolean" - }, - "OptionGroupOptionSettings": { - "type": "list", - "member": { - "locationName": "OptionGroupOptionSetting", - "type": "structure", - "members": { - "SettingName": {}, - "SettingDescription": {}, - "DefaultValue": {}, - "ApplyType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - } - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Filters": { - "shape": "S2b" - }, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "St", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S1e", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - }, - "StorageType": {}, - "SupportsIops": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S45", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S2b" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S47" - } - }, - "wrapper": true - } - } - } - } - }, - "DownloadDBLogFilePortion": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "LogFileName" - ], - "members": { - "DBInstanceIdentifier": {}, - "LogFileName": {}, - "Marker": {}, - "NumberOfLines": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DownloadDBLogFilePortionResult", - "type": "structure", - "members": { - "LogFileData": {}, - "Marker": {}, - "AdditionalDataPending": { - "type": "boolean" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {}, - "Filters": { - "shape": "S2b" - } - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "S9" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSecurityGroups": { - "shape": "S13" - }, - "VpcSecurityGroupIds": { - "shape": "S14" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {}, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {} - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S17" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S2w" - } - } - }, - "output": { - "shape": "S4k", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S1u" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S1b" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "DBSecurityGroupMemberships": { - "shape": "S13" - }, - "VpcSecurityGroupMemberships": { - "shape": "S14" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "Sx", - "locationName": "OptionSetting" - } - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "St" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S17" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - }, - "Tags": { - "shape": "S9" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S45" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S17" - } - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S4" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2w" - } - } - }, - "output": { - "shape": "S4k", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "S9" - }, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S17" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "S9" - }, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {} - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S17" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sd" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S5" - }, - "EventCategoriesList": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S5": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S6": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S9": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sd": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {} - }, - "wrapper": true - }, - "Sn": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PercentProgress": { - "type": "integer" - }, - "SourceRegion": {}, - "StorageType": {}, - "TdeCredentialArn": {} - }, - "wrapper": true - }, - "St": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Persistent": { - "type": "boolean" - }, - "Permanent": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "Sx", - "locationName": "OptionSetting" - } - }, - "DBSecurityGroupMemberships": { - "shape": "Sy" - }, - "VpcSecurityGroupMemberships": { - "shape": "S10" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {} - }, - "wrapper": true - }, - "Sx": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "DefaultValue": {}, - "Description": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "IsCollection": { - "type": "boolean" - } - } - }, - "Sy": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "S10": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S13": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "S14": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "S17": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "Sy" - }, - "VpcSecurityGroups": { - "shape": "S10" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S1b" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {}, - "StorageType": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMemberships": { - "type": "list", - "member": { - "locationName": "OptionGroupMembership", - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "StatusInfos": { - "type": "list", - "member": { - "locationName": "DBInstanceStatusInfo", - "type": "structure", - "members": { - "StatusType": {}, - "Normal": { - "type": "boolean" - }, - "Status": {}, - "Message": {} - } - } - }, - "StorageType": {}, - "TdeCredentialArn": {} - }, - "wrapper": true - }, - "S1b": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S1e" - }, - "SubnetStatus": {} - } - } - } - }, - "wrapper": true - }, - "S1e": { - "type": "structure", - "members": { - "Name": {} - }, - "wrapper": true - }, - "S1u": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S2b": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "required": [ - "Name", - "Values" - ], - "members": { - "Name": {}, - "Values": { - "type": "list", - "member": { - "locationName": "Value" - } - } - } - } - }, - "S2h": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S2w": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S45": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S47" - } - }, - "wrapper": true - }, - "S47": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S4k": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/rds-2014-09-01.paginators.json b/src/node_modules/aws-sdk/apis/rds-2014-09-01.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2014-09-01.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/rds-2014-10-31.min.json b/src/node_modules/aws-sdk/apis/rds-2014-10-31.min.json deleted file mode 100644 index b860ba1..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +++ /dev/null @@ -1,3682 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-10-31", - "endpointPrefix": "rds", - "protocol": "query", - "serviceAbbreviation": "Amazon RDS", - "serviceFullName": "Amazon Relational Database Service", - "signatureVersion": "v4", - "uid": "rds-2014-10-31", - "xmlNamespace": "http://rds.amazonaws.com/doc/2014-10-31/" - }, - "operations": { - "AddRoleToDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "RoleArn" - ], - "members": { - "DBClusterIdentifier": {}, - "RoleArn": {} - } - } - }, - "AddSourceIdentifierToSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "AddSourceIdentifierToSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S5" - } - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "Sa" - } - } - } - }, - "ApplyPendingMaintenanceAction": { - "input": { - "type": "structure", - "required": [ - "ResourceIdentifier", - "ApplyAction", - "OptInType" - ], - "members": { - "ResourceIdentifier": {}, - "ApplyAction": {}, - "OptInType": {} - } - }, - "output": { - "resultWrapper": "ApplyPendingMaintenanceActionResult", - "type": "structure", - "members": { - "ResourcePendingMaintenanceActions": { - "shape": "Se" - } - } - } - }, - "AuthorizeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sk" - } - } - } - }, - "CopyDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "SourceDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupDescription" - ], - "members": { - "SourceDBClusterParameterGroupIdentifier": {}, - "TargetDBClusterParameterGroupIdentifier": {}, - "TargetDBClusterParameterGroupDescription": {}, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CopyDBClusterParameterGroupResult", - "type": "structure", - "members": { - "DBClusterParameterGroup": { - "shape": "Sr" - } - } - } - }, - "CopyDBClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBClusterSnapshotIdentifier", - "TargetDBClusterSnapshotIdentifier" - ], - "members": { - "SourceDBClusterSnapshotIdentifier": {}, - "TargetDBClusterSnapshotIdentifier": {}, - "KmsKeyId": {}, - "PreSignedUrl": {}, - "CopyTags": { - "type": "boolean" - }, - "Tags": { - "shape": "Sa" - }, - "SourceRegion": {} - } - }, - "output": { - "resultWrapper": "CopyDBClusterSnapshotResult", - "type": "structure", - "members": { - "DBClusterSnapshot": { - "shape": "Sv" - } - } - } - }, - "CopyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "SourceDBParameterGroupIdentifier", - "TargetDBParameterGroupIdentifier", - "TargetDBParameterGroupDescription" - ], - "members": { - "SourceDBParameterGroupIdentifier": {}, - "TargetDBParameterGroupIdentifier": {}, - "TargetDBParameterGroupDescription": {}, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CopyDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S10" - } - } - } - }, - "CopyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier" - ], - "members": { - "SourceDBSnapshotIdentifier": {}, - "TargetDBSnapshotIdentifier": {}, - "KmsKeyId": {}, - "Tags": { - "shape": "Sa" - }, - "CopyTags": { - "type": "boolean" - }, - "PreSignedUrl": {}, - "OptionGroupName": {}, - "SourceRegion": {} - } - }, - "output": { - "resultWrapper": "CopyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "S13" - } - } - } - }, - "CopyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "SourceOptionGroupIdentifier", - "TargetOptionGroupIdentifier", - "TargetOptionGroupDescription" - ], - "members": { - "SourceOptionGroupIdentifier": {}, - "TargetOptionGroupIdentifier": {}, - "TargetOptionGroupDescription": {}, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CopyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S17" - } - } - } - }, - "CreateDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "Engine" - ], - "members": { - "AvailabilityZones": { - "shape": "Sw" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "CharacterSetName": {}, - "DatabaseName": {}, - "DBClusterIdentifier": {}, - "DBClusterParameterGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1h" - }, - "DBSubnetGroupName": {}, - "Engine": {}, - "EngineVersion": {}, - "Port": { - "type": "integer" - }, - "MasterUsername": {}, - "MasterUserPassword": {}, - "OptionGroupName": {}, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "ReplicationSourceIdentifier": {}, - "Tags": { - "shape": "Sa" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "PreSignedUrl": {}, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "SourceRegion": {} - } - }, - "output": { - "resultWrapper": "CreateDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1j" - } - } - } - }, - "CreateDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBClusterParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CreateDBClusterParameterGroupResult", - "type": "structure", - "members": { - "DBClusterParameterGroup": { - "shape": "Sr" - } - } - } - }, - "CreateDBClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier", - "DBClusterIdentifier" - ], - "members": { - "DBClusterSnapshotIdentifier": {}, - "DBClusterIdentifier": {}, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CreateDBClusterSnapshotResult", - "type": "structure", - "members": { - "DBClusterSnapshot": { - "shape": "Sv" - } - } - } - }, - "CreateDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBInstanceClass", - "Engine" - ], - "members": { - "DBName": {}, - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "Engine": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "DBSecurityGroups": { - "shape": "S1w" - }, - "VpcSecurityGroupIds": { - "shape": "S1h" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "PreferredMaintenanceWindow": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "Port": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CharacterSetName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "Sa" - }, - "DBClusterIdentifier": {}, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {}, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "Domain": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": {}, - "DomainIAMRoleName": {}, - "PromotionTier": { - "type": "integer" - }, - "Timezone": {}, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "CreateDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1y" - } - } - } - }, - "CreateDBInstanceReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "SourceDBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SourceDBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "AvailabilityZone": {}, - "Port": { - "type": "integer" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "Tags": { - "shape": "Sa" - }, - "DBSubnetGroupName": {}, - "StorageType": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": {}, - "KmsKeyId": {}, - "PreSignedUrl": {}, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "SourceRegion": {} - } - }, - "output": { - "resultWrapper": "CreateDBInstanceReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1y" - } - } - } - }, - "CreateDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description" - ], - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CreateDBParameterGroupResult", - "type": "structure", - "members": { - "DBParameterGroup": { - "shape": "S10" - } - } - } - }, - "CreateDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName", - "DBSecurityGroupDescription" - ], - "members": { - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CreateDBSecurityGroupResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sk" - } - } - } - }, - "CreateDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "DBInstanceIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CreateDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "S13" - } - } - } - }, - "CreateDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S2o" - }, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CreateDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S22" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S7" - }, - "SourceIds": { - "shape": "S6" - }, - "Enabled": { - "type": "boolean" - }, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S5" - } - } - } - }, - "CreateOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription" - ], - "members": { - "OptionGroupName": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "OptionGroupDescription": {}, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "CreateOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S17" - } - } - } - }, - "DeleteDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1j" - } - } - } - }, - "DeleteDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName" - ], - "members": { - "DBClusterParameterGroupName": {} - } - } - }, - "DeleteDBClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier" - ], - "members": { - "DBClusterSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBClusterSnapshotResult", - "type": "structure", - "members": { - "DBClusterSnapshot": { - "shape": "Sv" - } - } - } - }, - "DeleteDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "SkipFinalSnapshot": { - "type": "boolean" - }, - "FinalDBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1y" - } - } - } - }, - "DeleteDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {} - } - } - }, - "DeleteDBSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {} - } - } - }, - "DeleteDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "S13" - } - } - } - }, - "DeleteDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName" - ], - "members": { - "DBSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - }, - "output": { - "resultWrapper": "DeleteEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S5" - } - } - } - }, - "DeleteOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {} - } - } - }, - "DescribeAccountAttributes": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "DescribeAccountAttributesResult", - "type": "structure", - "members": { - "AccountQuotas": { - "type": "list", - "member": { - "locationName": "AccountQuota", - "type": "structure", - "members": { - "AccountQuotaName": {}, - "Used": { - "type": "long" - }, - "Max": { - "type": "long" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeCertificates": { - "input": { - "type": "structure", - "members": { - "CertificateIdentifier": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeCertificatesResult", - "type": "structure", - "members": { - "Certificates": { - "type": "list", - "member": { - "locationName": "Certificate", - "type": "structure", - "members": { - "CertificateIdentifier": {}, - "CertificateType": {}, - "Thumbprint": {}, - "ValidFrom": { - "type": "timestamp" - }, - "ValidTill": { - "type": "timestamp" - }, - "CertificateArn": {} - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeDBClusterParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBClusterParameterGroupName": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClusterParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBClusterParameterGroups": { - "type": "list", - "member": { - "shape": "Sr", - "locationName": "DBClusterParameterGroup" - } - } - } - } - }, - "DescribeDBClusterParameters": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName" - ], - "members": { - "DBClusterParameterGroupName": {}, - "Source": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClusterParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S3q" - }, - "Marker": {} - } - } - }, - "DescribeDBClusterSnapshotAttributes": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier" - ], - "members": { - "DBClusterSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClusterSnapshotAttributesResult", - "type": "structure", - "members": { - "DBClusterSnapshotAttributesResult": { - "shape": "S3v" - } - } - } - }, - "DescribeDBClusterSnapshots": { - "input": { - "type": "structure", - "members": { - "DBClusterIdentifier": {}, - "DBClusterSnapshotIdentifier": {}, - "SnapshotType": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "IncludeShared": { - "type": "boolean" - }, - "IncludePublic": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBClusterSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBClusterSnapshots": { - "type": "list", - "member": { - "shape": "Sv", - "locationName": "DBClusterSnapshot" - } - } - } - } - }, - "DescribeDBClusters": { - "input": { - "type": "structure", - "members": { - "DBClusterIdentifier": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBClustersResult", - "type": "structure", - "members": { - "Marker": {}, - "DBClusters": { - "type": "list", - "member": { - "shape": "S1j", - "locationName": "DBCluster" - } - } - } - } - }, - "DescribeDBEngineVersions": { - "input": { - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "DefaultOnly": { - "type": "boolean" - }, - "ListSupportedCharacterSets": { - "type": "boolean" - }, - "ListSupportedTimezones": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBEngineVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBEngineVersions": { - "type": "list", - "member": { - "locationName": "DBEngineVersion", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBParameterGroupFamily": {}, - "DBEngineDescription": {}, - "DBEngineVersionDescription": {}, - "DefaultCharacterSet": { - "shape": "S49" - }, - "SupportedCharacterSets": { - "type": "list", - "member": { - "shape": "S49", - "locationName": "CharacterSet" - } - }, - "ValidUpgradeTarget": { - "type": "list", - "member": { - "locationName": "UpgradeTarget", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "Description": {}, - "AutoUpgrade": { - "type": "boolean" - }, - "IsMajorVersionUpgrade": { - "type": "boolean" - } - } - } - }, - "SupportedTimezones": { - "type": "list", - "member": { - "locationName": "Timezone", - "type": "structure", - "members": { - "TimezoneName": {} - } - } - } - } - } - } - } - } - }, - "DescribeDBInstances": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "DBInstances": { - "type": "list", - "member": { - "shape": "S1y", - "locationName": "DBInstance" - } - } - } - } - }, - "DescribeDBLogFiles": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "FilenameContains": {}, - "FileLastWritten": { - "type": "long" - }, - "FileSize": { - "type": "long" - }, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBLogFilesResult", - "type": "structure", - "members": { - "DescribeDBLogFiles": { - "type": "list", - "member": { - "locationName": "DescribeDBLogFilesDetails", - "type": "structure", - "members": { - "LogFileName": {}, - "LastWritten": { - "type": "long" - }, - "Size": { - "type": "long" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeDBParameterGroups": { - "input": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBParameterGroups": { - "type": "list", - "member": { - "shape": "S10", - "locationName": "DBParameterGroup" - } - } - } - } - }, - "DescribeDBParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "Source": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S3q" - }, - "Marker": {} - } - } - }, - "DescribeDBSecurityGroups": { - "input": { - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSecurityGroups": { - "type": "list", - "member": { - "shape": "Sk", - "locationName": "DBSecurityGroup" - } - } - } - } - }, - "DescribeDBSnapshotAttributes": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotAttributesResult", - "type": "structure", - "members": { - "DBSnapshotAttributesResult": { - "shape": "S4w" - } - } - } - }, - "DescribeDBSnapshots": { - "input": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "SnapshotType": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "IncludeShared": { - "type": "boolean" - }, - "IncludePublic": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "DescribeDBSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSnapshots": { - "type": "list", - "member": { - "shape": "S13", - "locationName": "DBSnapshot" - } - } - } - } - }, - "DescribeDBSubnetGroups": { - "input": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDBSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "DBSubnetGroups": { - "type": "list", - "member": { - "shape": "S22", - "locationName": "DBSubnetGroup" - } - } - } - } - }, - "DescribeEngineDefaultClusterParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultClusterParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "shape": "S57" - } - } - } - }, - "DescribeEngineDefaultParameters": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupFamily" - ], - "members": { - "DBParameterGroupFamily": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEngineDefaultParametersResult", - "type": "structure", - "members": { - "EngineDefaults": { - "shape": "S57" - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {}, - "Filters": { - "shape": "S3f" - } - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "EventCategories": { - "shape": "S7" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S5", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "EventCategories": { - "shape": "S7" - }, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S7" - }, - "Date": { - "type": "timestamp" - }, - "SourceArn": {} - } - } - } - } - } - }, - "DescribeOptionGroupOptions": { - "input": { - "type": "structure", - "required": [ - "EngineName" - ], - "members": { - "EngineName": {}, - "MajorEngineVersion": {}, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupOptionsResult", - "type": "structure", - "members": { - "OptionGroupOptions": { - "type": "list", - "member": { - "locationName": "OptionGroupOption", - "type": "structure", - "members": { - "Name": {}, - "Description": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "MinimumRequiredMinorEngineVersion": {}, - "PortRequired": { - "type": "boolean" - }, - "DefaultPort": { - "type": "integer" - }, - "OptionsDependedOn": { - "type": "list", - "member": { - "locationName": "OptionName" - } - }, - "OptionsConflictsWith": { - "type": "list", - "member": { - "locationName": "OptionConflictName" - } - }, - "Persistent": { - "type": "boolean" - }, - "Permanent": { - "type": "boolean" - }, - "OptionGroupOptionSettings": { - "type": "list", - "member": { - "locationName": "OptionGroupOptionSetting", - "type": "structure", - "members": { - "SettingName": {}, - "SettingDescription": {}, - "DefaultValue": {}, - "ApplyType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - } - } - } - }, - "OptionGroupOptionVersions": { - "type": "list", - "member": { - "locationName": "OptionVersion", - "type": "structure", - "members": { - "Version": {}, - "IsDefault": { - "type": "boolean" - } - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeOptionGroups": { - "input": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "Filters": { - "shape": "S3f" - }, - "Marker": {}, - "MaxRecords": { - "type": "integer" - }, - "EngineName": {}, - "MajorEngineVersion": {} - } - }, - "output": { - "resultWrapper": "DescribeOptionGroupsResult", - "type": "structure", - "members": { - "OptionGroupsList": { - "type": "list", - "member": { - "shape": "S17", - "locationName": "OptionGroup" - } - }, - "Marker": {} - } - } - }, - "DescribeOrderableDBInstanceOptions": { - "input": { - "type": "structure", - "required": [ - "Engine" - ], - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "Vpc": { - "type": "boolean" - }, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", - "type": "structure", - "members": { - "OrderableDBInstanceOptions": { - "type": "list", - "member": { - "locationName": "OrderableDBInstanceOption", - "type": "structure", - "members": { - "Engine": {}, - "EngineVersion": {}, - "DBInstanceClass": {}, - "LicenseModel": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S25", - "locationName": "AvailabilityZone" - } - }, - "MultiAZCapable": { - "type": "boolean" - }, - "ReadReplicaCapable": { - "type": "boolean" - }, - "Vpc": { - "type": "boolean" - }, - "SupportsStorageEncryption": { - "type": "boolean" - }, - "StorageType": {}, - "SupportsIops": { - "type": "boolean" - }, - "SupportsEnhancedMonitoring": { - "type": "boolean" - }, - "SupportsIAMDatabaseAuthentication": { - "type": "boolean" - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribePendingMaintenanceActions": { - "input": { - "type": "structure", - "members": { - "ResourceIdentifier": {}, - "Filters": { - "shape": "S3f" - }, - "Marker": {}, - "MaxRecords": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DescribePendingMaintenanceActionsResult", - "type": "structure", - "members": { - "PendingMaintenanceActions": { - "type": "list", - "member": { - "shape": "Se", - "locationName": "ResourcePendingMaintenanceActions" - } - }, - "Marker": {} - } - } - }, - "DescribeReservedDBInstances": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstances": { - "type": "list", - "member": { - "shape": "S6a", - "locationName": "ReservedDBInstance" - } - } - } - } - }, - "DescribeReservedDBInstancesOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "Filters": { - "shape": "S3f" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedDBInstancesOfferings": { - "type": "list", - "member": { - "locationName": "ReservedDBInstancesOffering", - "type": "structure", - "members": { - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "RecurringCharges": { - "shape": "S6c" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeSourceRegions": { - "input": { - "type": "structure", - "members": { - "RegionName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "Filters": { - "shape": "S3f" - } - } - }, - "output": { - "resultWrapper": "DescribeSourceRegionsResult", - "type": "structure", - "members": { - "Marker": {}, - "SourceRegions": { - "type": "list", - "member": { - "locationName": "SourceRegion", - "type": "structure", - "members": { - "RegionName": {}, - "Endpoint": {}, - "Status": {} - } - } - } - } - } - }, - "DownloadDBLogFilePortion": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "LogFileName" - ], - "members": { - "DBInstanceIdentifier": {}, - "LogFileName": {}, - "Marker": {}, - "NumberOfLines": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "DownloadDBLogFilePortionResult", - "type": "structure", - "members": { - "LogFileData": {}, - "Marker": {}, - "AdditionalDataPending": { - "type": "boolean" - } - } - } - }, - "FailoverDBCluster": { - "input": { - "type": "structure", - "members": { - "DBClusterIdentifier": {}, - "TargetDBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "FailoverDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1j" - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName" - ], - "members": { - "ResourceName": {}, - "Filters": { - "shape": "S3f" - } - } - }, - "output": { - "resultWrapper": "ListTagsForResourceResult", - "type": "structure", - "members": { - "TagList": { - "shape": "Sa" - } - } - } - }, - "ModifyDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {}, - "NewDBClusterIdentifier": {}, - "ApplyImmediately": { - "type": "boolean" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBClusterParameterGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1h" - }, - "Port": { - "type": "integer" - }, - "MasterUserPassword": {}, - "OptionGroupName": {}, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1j" - } - } - } - }, - "ModifyDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName", - "Parameters" - ], - "members": { - "DBClusterParameterGroupName": {}, - "Parameters": { - "shape": "S3q" - } - } - }, - "output": { - "shape": "S6v", - "resultWrapper": "ModifyDBClusterParameterGroupResult" - } - }, - "ModifyDBClusterSnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "DBClusterSnapshotIdentifier", - "AttributeName" - ], - "members": { - "DBClusterSnapshotIdentifier": {}, - "AttributeName": {}, - "ValuesToAdd": { - "shape": "S3y" - }, - "ValuesToRemove": { - "shape": "S3y" - } - } - }, - "output": { - "resultWrapper": "ModifyDBClusterSnapshotAttributeResult", - "type": "structure", - "members": { - "DBClusterSnapshotAttributesResult": { - "shape": "S3v" - } - } - } - }, - "ModifyDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "AllocatedStorage": { - "type": "integer" - }, - "DBInstanceClass": {}, - "DBSubnetGroupName": {}, - "DBSecurityGroups": { - "shape": "S1w" - }, - "VpcSecurityGroupIds": { - "shape": "S1h" - }, - "ApplyImmediately": { - "type": "boolean" - }, - "MasterUserPassword": {}, - "DBParameterGroupName": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "NewDBInstanceIdentifier": {}, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {}, - "CACertificateIdentifier": {}, - "Domain": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "MonitoringInterval": { - "type": "integer" - }, - "DBPortNumber": { - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "MonitoringRoleArn": {}, - "DomainIAMRoleName": {}, - "PromotionTier": { - "type": "integer" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1y" - } - } - } - }, - "ModifyDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName", - "Parameters" - ], - "members": { - "DBParameterGroupName": {}, - "Parameters": { - "shape": "S3q" - } - } - }, - "output": { - "shape": "S71", - "resultWrapper": "ModifyDBParameterGroupResult" - } - }, - "ModifyDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier" - ], - "members": { - "DBSnapshotIdentifier": {}, - "EngineVersion": {} - } - }, - "output": { - "resultWrapper": "ModifyDBSnapshotResult", - "type": "structure", - "members": { - "DBSnapshot": { - "shape": "S13" - } - } - } - }, - "ModifyDBSnapshotAttribute": { - "input": { - "type": "structure", - "required": [ - "DBSnapshotIdentifier", - "AttributeName" - ], - "members": { - "DBSnapshotIdentifier": {}, - "AttributeName": {}, - "ValuesToAdd": { - "shape": "S3y" - }, - "ValuesToRemove": { - "shape": "S3y" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSnapshotAttributeResult", - "type": "structure", - "members": { - "DBSnapshotAttributesResult": { - "shape": "S4w" - } - } - } - }, - "ModifyDBSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "DBSubnetGroupName", - "SubnetIds" - ], - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "SubnetIds": { - "shape": "S2o" - } - } - }, - "output": { - "resultWrapper": "ModifyDBSubnetGroupResult", - "type": "structure", - "members": { - "DBSubnetGroup": { - "shape": "S22" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "EventCategories": { - "shape": "S7" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S5" - } - } - } - }, - "ModifyOptionGroup": { - "input": { - "type": "structure", - "required": [ - "OptionGroupName" - ], - "members": { - "OptionGroupName": {}, - "OptionsToInclude": { - "type": "list", - "member": { - "locationName": "OptionConfiguration", - "type": "structure", - "required": [ - "OptionName" - ], - "members": { - "OptionName": {}, - "Port": { - "type": "integer" - }, - "OptionVersion": {}, - "DBSecurityGroupMemberships": { - "shape": "S1w" - }, - "VpcSecurityGroupMemberships": { - "shape": "S1h" - }, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1b", - "locationName": "OptionSetting" - } - } - } - } - }, - "OptionsToRemove": { - "type": "list", - "member": {} - }, - "ApplyImmediately": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyOptionGroupResult", - "type": "structure", - "members": { - "OptionGroup": { - "shape": "S17" - } - } - } - }, - "PromoteReadReplica": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "PreferredBackupWindow": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1y" - } - } - } - }, - "PromoteReadReplicaDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {} - } - }, - "output": { - "resultWrapper": "PromoteReadReplicaDBClusterResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1j" - } - } - } - }, - "PurchaseReservedDBInstancesOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedDBInstancesOfferingId" - ], - "members": { - "ReservedDBInstancesOfferingId": {}, - "ReservedDBInstanceId": {}, - "DBInstanceCount": { - "type": "integer" - }, - "Tags": { - "shape": "Sa" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", - "type": "structure", - "members": { - "ReservedDBInstance": { - "shape": "S6a" - } - } - } - }, - "RebootDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "ForceFailover": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RebootDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1y" - } - } - } - }, - "RemoveRoleFromDBCluster": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "RoleArn" - ], - "members": { - "DBClusterIdentifier": {}, - "RoleArn": {} - } - } - }, - "RemoveSourceIdentifierFromSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SourceIdentifier" - ], - "members": { - "SubscriptionName": {}, - "SourceIdentifier": {} - } - }, - "output": { - "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S5" - } - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "ResetDBClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBClusterParameterGroupName" - ], - "members": { - "DBClusterParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S3q" - } - } - }, - "output": { - "shape": "S6v", - "resultWrapper": "ResetDBClusterParameterGroupResult" - } - }, - "ResetDBParameterGroup": { - "input": { - "type": "structure", - "required": [ - "DBParameterGroupName" - ], - "members": { - "DBParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S3q" - } - } - }, - "output": { - "shape": "S71", - "resultWrapper": "ResetDBParameterGroupResult" - } - }, - "RestoreDBClusterFromS3": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "Engine", - "MasterUsername", - "MasterUserPassword", - "SourceEngine", - "SourceEngineVersion", - "S3BucketName", - "S3IngestionRoleArn" - ], - "members": { - "AvailabilityZones": { - "shape": "Sw" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "CharacterSetName": {}, - "DatabaseName": {}, - "DBClusterIdentifier": {}, - "DBClusterParameterGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1h" - }, - "DBSubnetGroupName": {}, - "Engine": {}, - "EngineVersion": {}, - "Port": { - "type": "integer" - }, - "MasterUsername": {}, - "MasterUserPassword": {}, - "OptionGroupName": {}, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "Tags": { - "shape": "Sa" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "SourceEngine": {}, - "SourceEngineVersion": {}, - "S3BucketName": {}, - "S3Prefix": {}, - "S3IngestionRoleArn": {} - } - }, - "output": { - "resultWrapper": "RestoreDBClusterFromS3Result", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1j" - } - } - } - }, - "RestoreDBClusterFromSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "SnapshotIdentifier", - "Engine" - ], - "members": { - "AvailabilityZones": { - "shape": "Sw" - }, - "DBClusterIdentifier": {}, - "SnapshotIdentifier": {}, - "Engine": {}, - "EngineVersion": {}, - "Port": { - "type": "integer" - }, - "DBSubnetGroupName": {}, - "DatabaseName": {}, - "OptionGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1h" - }, - "Tags": { - "shape": "Sa" - }, - "KmsKeyId": {}, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RestoreDBClusterFromSnapshotResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1j" - } - } - } - }, - "RestoreDBClusterToPointInTime": { - "input": { - "type": "structure", - "required": [ - "DBClusterIdentifier", - "SourceDBClusterIdentifier" - ], - "members": { - "DBClusterIdentifier": {}, - "RestoreType": {}, - "SourceDBClusterIdentifier": {}, - "RestoreToTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "DBSubnetGroupName": {}, - "OptionGroupName": {}, - "VpcSecurityGroupIds": { - "shape": "S1h" - }, - "Tags": { - "shape": "Sa" - }, - "KmsKeyId": {}, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RestoreDBClusterToPointInTimeResult", - "type": "structure", - "members": { - "DBCluster": { - "shape": "S1j" - } - } - } - }, - "RestoreDBInstanceFromDBSnapshot": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DBSnapshotIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {}, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "Tags": { - "shape": "Sa" - }, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {}, - "Domain": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DomainIAMRoleName": {}, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1y" - } - } - } - }, - "RestoreDBInstanceToPointInTime": { - "input": { - "type": "structure", - "required": [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier" - ], - "members": { - "SourceDBInstanceIdentifier": {}, - "TargetDBInstanceIdentifier": {}, - "RestoreTime": { - "type": "timestamp" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "DBInstanceClass": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "DBSubnetGroupName": {}, - "MultiAZ": { - "type": "boolean" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "LicenseModel": {}, - "DBName": {}, - "Engine": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "Tags": { - "shape": "Sa" - }, - "StorageType": {}, - "TdeCredentialArn": {}, - "TdeCredentialPassword": {}, - "Domain": {}, - "DomainIAMRoleName": {}, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "RestoreDBInstanceToPointInTimeResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1y" - } - } - } - }, - "RevokeDBSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "DBSecurityGroupName" - ], - "members": { - "DBSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeDBSecurityGroupIngressResult", - "type": "structure", - "members": { - "DBSecurityGroup": { - "shape": "Sk" - } - } - } - }, - "StartDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {} - } - }, - "output": { - "resultWrapper": "StartDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1y" - } - } - } - }, - "StopDBInstance": { - "input": { - "type": "structure", - "required": [ - "DBInstanceIdentifier" - ], - "members": { - "DBInstanceIdentifier": {}, - "DBSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "StopDBInstanceResult", - "type": "structure", - "members": { - "DBInstance": { - "shape": "S1y" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": {}, - "SourceType": {}, - "SourceIdsList": { - "shape": "S6" - }, - "EventCategoriesList": { - "shape": "S7" - }, - "Enabled": { - "type": "boolean" - }, - "EventSubscriptionArn": {} - }, - "wrapper": true - }, - "S6": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S7": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "Sa": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Se": { - "type": "structure", - "members": { - "ResourceIdentifier": {}, - "PendingMaintenanceActionDetails": { - "type": "list", - "member": { - "locationName": "PendingMaintenanceAction", - "type": "structure", - "members": { - "Action": {}, - "AutoAppliedAfterDate": { - "type": "timestamp" - }, - "ForcedApplyDate": { - "type": "timestamp" - }, - "OptInStatus": {}, - "CurrentApplyDate": { - "type": "timestamp" - }, - "Description": {} - } - } - } - }, - "wrapper": true - }, - "Sk": { - "type": "structure", - "members": { - "OwnerId": {}, - "DBSecurityGroupName": {}, - "DBSecurityGroupDescription": {}, - "VpcId": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupId": {}, - "EC2SecurityGroupOwnerId": {} - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {} - } - } - }, - "DBSecurityGroupArn": {} - }, - "wrapper": true - }, - "Sr": { - "type": "structure", - "members": { - "DBClusterParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "DBClusterParameterGroupArn": {} - }, - "wrapper": true - }, - "Sv": { - "type": "structure", - "members": { - "AvailabilityZones": { - "shape": "Sw" - }, - "DBClusterSnapshotIdentifier": {}, - "DBClusterIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "VpcId": {}, - "ClusterCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "PercentProgress": { - "type": "integer" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "DBClusterSnapshotArn": {}, - "SourceDBClusterSnapshotArn": {}, - "IAMDatabaseAuthenticationEnabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "Sw": { - "type": "list", - "member": { - "locationName": "AvailabilityZone" - } - }, - "S10": { - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "DBParameterGroupFamily": {}, - "Description": {}, - "DBParameterGroupArn": {} - }, - "wrapper": true - }, - "S13": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBInstanceIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Engine": {}, - "AllocatedStorage": { - "type": "integer" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "VpcId": {}, - "InstanceCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "EngineVersion": {}, - "LicenseModel": {}, - "SnapshotType": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupName": {}, - "PercentProgress": { - "type": "integer" - }, - "SourceRegion": {}, - "SourceDBSnapshotIdentifier": {}, - "StorageType": {}, - "TdeCredentialArn": {}, - "Encrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "DBSnapshotArn": {}, - "Timezone": {}, - "IAMDatabaseAuthenticationEnabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S17": { - "type": "structure", - "members": { - "OptionGroupName": {}, - "OptionGroupDescription": {}, - "EngineName": {}, - "MajorEngineVersion": {}, - "Options": { - "type": "list", - "member": { - "locationName": "Option", - "type": "structure", - "members": { - "OptionName": {}, - "OptionDescription": {}, - "Persistent": { - "type": "boolean" - }, - "Permanent": { - "type": "boolean" - }, - "Port": { - "type": "integer" - }, - "OptionVersion": {}, - "OptionSettings": { - "type": "list", - "member": { - "shape": "S1b", - "locationName": "OptionSetting" - } - }, - "DBSecurityGroupMemberships": { - "shape": "S1c" - }, - "VpcSecurityGroupMemberships": { - "shape": "S1e" - } - } - } - }, - "AllowsVpcAndNonVpcInstanceMemberships": { - "type": "boolean" - }, - "VpcId": {}, - "OptionGroupArn": {} - }, - "wrapper": true - }, - "S1b": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "DefaultValue": {}, - "Description": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "IsCollection": { - "type": "boolean" - } - } - }, - "S1c": { - "type": "list", - "member": { - "locationName": "DBSecurityGroup", - "type": "structure", - "members": { - "DBSecurityGroupName": {}, - "Status": {} - } - } - }, - "S1e": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupMembership", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "S1h": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "S1j": { - "type": "structure", - "members": { - "AllocatedStorage": { - "type": "integer" - }, - "AvailabilityZones": { - "shape": "Sw" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "CharacterSetName": {}, - "DatabaseName": {}, - "DBClusterIdentifier": {}, - "DBClusterParameterGroup": {}, - "DBSubnetGroup": {}, - "Status": {}, - "PercentProgress": {}, - "EarliestRestorableTime": { - "type": "timestamp" - }, - "Endpoint": {}, - "ReaderEndpoint": {}, - "MultiAZ": { - "type": "boolean" - }, - "Engine": {}, - "EngineVersion": {}, - "LatestRestorableTime": { - "type": "timestamp" - }, - "Port": { - "type": "integer" - }, - "MasterUsername": {}, - "DBClusterOptionGroupMemberships": { - "type": "list", - "member": { - "locationName": "DBClusterOptionGroup", - "type": "structure", - "members": { - "DBClusterOptionGroupName": {}, - "Status": {} - } - } - }, - "PreferredBackupWindow": {}, - "PreferredMaintenanceWindow": {}, - "ReplicationSourceIdentifier": {}, - "ReadReplicaIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaIdentifier" - } - }, - "DBClusterMembers": { - "type": "list", - "member": { - "locationName": "DBClusterMember", - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "IsClusterWriter": { - "type": "boolean" - }, - "DBClusterParameterGroupStatus": {}, - "PromotionTier": { - "type": "integer" - } - }, - "wrapper": true - } - }, - "VpcSecurityGroups": { - "shape": "S1e" - }, - "HostedZoneId": {}, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "DbClusterResourceId": {}, - "DBClusterArn": {}, - "AssociatedRoles": { - "type": "list", - "member": { - "locationName": "DBClusterRole", - "type": "structure", - "members": { - "RoleArn": {}, - "Status": {} - } - } - }, - "IAMDatabaseAuthenticationEnabled": { - "type": "boolean" - }, - "CloneGroupId": {}, - "ClusterCreateTime": { - "type": "timestamp" - } - }, - "wrapper": true - }, - "S1w": { - "type": "list", - "member": { - "locationName": "DBSecurityGroupName" - } - }, - "S1y": { - "type": "structure", - "members": { - "DBInstanceIdentifier": {}, - "DBInstanceClass": {}, - "Engine": {}, - "DBInstanceStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - }, - "HostedZoneId": {} - } - }, - "AllocatedStorage": { - "type": "integer" - }, - "InstanceCreateTime": { - "type": "timestamp" - }, - "PreferredBackupWindow": {}, - "BackupRetentionPeriod": { - "type": "integer" - }, - "DBSecurityGroups": { - "shape": "S1c" - }, - "VpcSecurityGroups": { - "shape": "S1e" - }, - "DBParameterGroups": { - "type": "list", - "member": { - "locationName": "DBParameterGroup", - "type": "structure", - "members": { - "DBParameterGroupName": {}, - "ParameterApplyStatus": {} - } - } - }, - "AvailabilityZone": {}, - "DBSubnetGroup": { - "shape": "S22" - }, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "DBInstanceClass": {}, - "AllocatedStorage": { - "type": "integer" - }, - "MasterUserPassword": {}, - "Port": { - "type": "integer" - }, - "BackupRetentionPeriod": { - "type": "integer" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "DBInstanceIdentifier": {}, - "StorageType": {}, - "CACertificateIdentifier": {}, - "DBSubnetGroupName": {} - } - }, - "LatestRestorableTime": { - "type": "timestamp" - }, - "MultiAZ": { - "type": "boolean" - }, - "EngineVersion": {}, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ReadReplicaSourceDBInstanceIdentifier": {}, - "ReadReplicaDBInstanceIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBInstanceIdentifier" - } - }, - "ReadReplicaDBClusterIdentifiers": { - "type": "list", - "member": { - "locationName": "ReadReplicaDBClusterIdentifier" - } - }, - "LicenseModel": {}, - "Iops": { - "type": "integer" - }, - "OptionGroupMemberships": { - "type": "list", - "member": { - "locationName": "OptionGroupMembership", - "type": "structure", - "members": { - "OptionGroupName": {}, - "Status": {} - } - } - }, - "CharacterSetName": {}, - "SecondaryAvailabilityZone": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "StatusInfos": { - "type": "list", - "member": { - "locationName": "DBInstanceStatusInfo", - "type": "structure", - "members": { - "StatusType": {}, - "Normal": { - "type": "boolean" - }, - "Status": {}, - "Message": {} - } - } - }, - "StorageType": {}, - "TdeCredentialArn": {}, - "DbInstancePort": { - "type": "integer" - }, - "DBClusterIdentifier": {}, - "StorageEncrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "DbiResourceId": {}, - "CACertificateIdentifier": {}, - "DomainMemberships": { - "type": "list", - "member": { - "locationName": "DomainMembership", - "type": "structure", - "members": { - "Domain": {}, - "Status": {}, - "FQDN": {}, - "IAMRoleName": {} - } - } - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "MonitoringInterval": { - "type": "integer" - }, - "EnhancedMonitoringResourceArn": {}, - "MonitoringRoleArn": {}, - "PromotionTier": { - "type": "integer" - }, - "DBInstanceArn": {}, - "Timezone": {}, - "IAMDatabaseAuthenticationEnabled": { - "type": "boolean" - } - }, - "wrapper": true - }, - "S22": { - "type": "structure", - "members": { - "DBSubnetGroupName": {}, - "DBSubnetGroupDescription": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S25" - }, - "SubnetStatus": {} - } - } - }, - "DBSubnetGroupArn": {} - }, - "wrapper": true - }, - "S25": { - "type": "structure", - "members": { - "Name": {} - }, - "wrapper": true - }, - "S2o": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S3f": { - "type": "list", - "member": { - "locationName": "Filter", - "type": "structure", - "required": [ - "Name", - "Values" - ], - "members": { - "Name": {}, - "Values": { - "type": "list", - "member": { - "locationName": "Value" - } - } - } - } - }, - "S3q": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "ApplyType": {}, - "DataType": {}, - "AllowedValues": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {}, - "ApplyMethod": {} - } - } - }, - "S3v": { - "type": "structure", - "members": { - "DBClusterSnapshotIdentifier": {}, - "DBClusterSnapshotAttributes": { - "type": "list", - "member": { - "locationName": "DBClusterSnapshotAttribute", - "type": "structure", - "members": { - "AttributeName": {}, - "AttributeValues": { - "shape": "S3y" - } - } - } - } - }, - "wrapper": true - }, - "S3y": { - "type": "list", - "member": { - "locationName": "AttributeValue" - } - }, - "S49": { - "type": "structure", - "members": { - "CharacterSetName": {}, - "CharacterSetDescription": {} - } - }, - "S4w": { - "type": "structure", - "members": { - "DBSnapshotIdentifier": {}, - "DBSnapshotAttributes": { - "type": "list", - "member": { - "locationName": "DBSnapshotAttribute", - "type": "structure", - "members": { - "AttributeName": {}, - "AttributeValues": { - "shape": "S3y" - } - }, - "wrapper": true - } - } - }, - "wrapper": true - }, - "S57": { - "type": "structure", - "members": { - "DBParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S3q" - } - }, - "wrapper": true - }, - "S6a": { - "type": "structure", - "members": { - "ReservedDBInstanceId": {}, - "ReservedDBInstancesOfferingId": {}, - "DBInstanceClass": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "DBInstanceCount": { - "type": "integer" - }, - "ProductDescription": {}, - "OfferingType": {}, - "MultiAZ": { - "type": "boolean" - }, - "State": {}, - "RecurringCharges": { - "shape": "S6c" - }, - "ReservedDBInstanceArn": {} - }, - "wrapper": true - }, - "S6c": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S6v": { - "type": "structure", - "members": { - "DBClusterParameterGroupName": {} - } - }, - "S71": { - "type": "structure", - "members": { - "DBParameterGroupName": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json b/src/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json deleted file mode 100644 index c51d8d1..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "pagination": { - "DescribeDBEngineVersions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBEngineVersions" - }, - "DescribeDBInstances": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBInstances" - }, - "DescribeDBLogFiles": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DescribeDBLogFiles" - }, - "DescribeDBParameterGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBParameterGroups" - }, - "DescribeDBParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Parameters" - }, - "DescribeDBSecurityGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSecurityGroups" - }, - "DescribeDBSnapshots": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSnapshots" - }, - "DescribeDBSubnetGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "DBSubnetGroups" - }, - "DescribeEngineDefaultParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "EngineDefaults.Marker", - "result_key": "EngineDefaults.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Events" - }, - "DescribeOptionGroupOptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OptionGroupOptions" - }, - "DescribeOptionGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OptionGroupsList" - }, - "DescribeOrderableDBInstanceOptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OrderableDBInstanceOptions" - }, - "DescribeReservedDBInstances": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedDBInstances" - }, - "DescribeReservedDBInstancesOfferings": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedDBInstancesOfferings" - }, - "DownloadDBLogFilePortion": { - "input_token": "Marker", - "limit_key": "NumberOfLines", - "more_results": "AdditionalDataPending", - "output_token": "Marker", - "result_key": "LogFileData" - }, - "ListTagsForResource": { - "result_key": "TagList" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/rds-2014-10-31.waiters2.json b/src/node_modules/aws-sdk/apis/rds-2014-10-31.waiters2.json deleted file mode 100644 index e75f03b..0000000 --- a/src/node_modules/aws-sdk/apis/rds-2014-10-31.waiters2.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "version": 2, - "waiters": { - "DBInstanceAvailable": { - "delay": 30, - "operation": "DescribeDBInstances", - "maxAttempts": 60, - "acceptors": [ - { - "expected": "available", - "matcher": "pathAll", - "state": "success", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "deleted", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "deleting", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "failed", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "incompatible-restore", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "incompatible-parameters", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - } - ] - }, - "DBInstanceDeleted": { - "delay": 30, - "operation": "DescribeDBInstances", - "maxAttempts": 60, - "acceptors": [ - { - "expected": "deleted", - "matcher": "pathAll", - "state": "success", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "DBInstanceNotFound", - "matcher": "error", - "state": "success" - }, - { - "expected": "creating", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "modifying", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "rebooting", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - }, - { - "expected": "resetting-master-credentials", - "matcher": "pathAny", - "state": "failure", - "argument": "DBInstances[].DBInstanceStatus" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/redshift-2012-12-01.examples.json b/src/node_modules/aws-sdk/apis/redshift-2012-12-01.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/redshift-2012-12-01.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json b/src/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json deleted file mode 100644 index 14489a6..0000000 --- a/src/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +++ /dev/null @@ -1,2348 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-12-01", - "endpointPrefix": "redshift", - "protocol": "query", - "serviceFullName": "Amazon Redshift", - "signatureVersion": "v4", - "uid": "redshift-2012-12-01", - "xmlNamespace": "http://redshift.amazonaws.com/doc/2012-12-01/" - }, - "operations": { - "AuthorizeClusterSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "ClusterSecurityGroupName" - ], - "members": { - "ClusterSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "AuthorizeClusterSecurityGroupIngressResult", - "type": "structure", - "members": { - "ClusterSecurityGroup": { - "shape": "S4" - } - } - } - }, - "AuthorizeSnapshotAccess": { - "input": { - "type": "structure", - "required": [ - "SnapshotIdentifier", - "AccountWithRestoreAccess" - ], - "members": { - "SnapshotIdentifier": {}, - "SnapshotClusterIdentifier": {}, - "AccountWithRestoreAccess": {} - } - }, - "output": { - "resultWrapper": "AuthorizeSnapshotAccessResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "CopyClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "SourceSnapshotIdentifier", - "TargetSnapshotIdentifier" - ], - "members": { - "SourceSnapshotIdentifier": {}, - "SourceSnapshotClusterIdentifier": {}, - "TargetSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "CopyClusterSnapshotResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "CreateCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "NodeType", - "MasterUsername", - "MasterUserPassword" - ], - "members": { - "DBName": {}, - "ClusterIdentifier": {}, - "ClusterType": {}, - "NodeType": {}, - "MasterUsername": {}, - "MasterUserPassword": {}, - "ClusterSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "ClusterSubnetGroupName": {}, - "AvailabilityZone": {}, - "PreferredMaintenanceWindow": {}, - "ClusterParameterGroupName": {}, - "AutomatedSnapshotRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "ClusterVersion": {}, - "AllowVersionUpgrade": { - "type": "boolean" - }, - "NumberOfNodes": { - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "HsmClientCertificateIdentifier": {}, - "HsmConfigurationIdentifier": {}, - "ElasticIp": {}, - "Tags": { - "shape": "S7" - }, - "KmsKeyId": {}, - "EnhancedVpcRouting": { - "type": "boolean" - }, - "AdditionalInfo": {}, - "IamRoles": { - "shape": "St" - } - } - }, - "output": { - "resultWrapper": "CreateClusterResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "CreateClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName", - "ParameterGroupFamily", - "Description" - ], - "members": { - "ParameterGroupName": {}, - "ParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "S7" - } - } - }, - "output": { - "resultWrapper": "CreateClusterParameterGroupResult", - "type": "structure", - "members": { - "ClusterParameterGroup": { - "shape": "S1g" - } - } - } - }, - "CreateClusterSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "ClusterSecurityGroupName", - "Description" - ], - "members": { - "ClusterSecurityGroupName": {}, - "Description": {}, - "Tags": { - "shape": "S7" - } - } - }, - "output": { - "resultWrapper": "CreateClusterSecurityGroupResult", - "type": "structure", - "members": { - "ClusterSecurityGroup": { - "shape": "S4" - } - } - } - }, - "CreateClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "SnapshotIdentifier", - "ClusterIdentifier" - ], - "members": { - "SnapshotIdentifier": {}, - "ClusterIdentifier": {}, - "Tags": { - "shape": "S7" - } - } - }, - "output": { - "resultWrapper": "CreateClusterSnapshotResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "CreateClusterSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "ClusterSubnetGroupName", - "Description", - "SubnetIds" - ], - "members": { - "ClusterSubnetGroupName": {}, - "Description": {}, - "SubnetIds": { - "shape": "S1m" - }, - "Tags": { - "shape": "S7" - } - } - }, - "output": { - "resultWrapper": "CreateClusterSubnetGroupResult", - "type": "structure", - "members": { - "ClusterSubnetGroup": { - "shape": "S1o" - } - } - } - }, - "CreateEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName", - "SnsTopicArn" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "SourceIds": { - "shape": "S1t" - }, - "EventCategories": { - "shape": "S1u" - }, - "Severity": {}, - "Enabled": { - "type": "boolean" - }, - "Tags": { - "shape": "S7" - } - } - }, - "output": { - "resultWrapper": "CreateEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S1w" - } - } - } - }, - "CreateHsmClientCertificate": { - "input": { - "type": "structure", - "required": [ - "HsmClientCertificateIdentifier" - ], - "members": { - "HsmClientCertificateIdentifier": {}, - "Tags": { - "shape": "S7" - } - } - }, - "output": { - "resultWrapper": "CreateHsmClientCertificateResult", - "type": "structure", - "members": { - "HsmClientCertificate": { - "shape": "S1z" - } - } - } - }, - "CreateHsmConfiguration": { - "input": { - "type": "structure", - "required": [ - "HsmConfigurationIdentifier", - "Description", - "HsmIpAddress", - "HsmPartitionName", - "HsmPartitionPassword", - "HsmServerPublicCertificate" - ], - "members": { - "HsmConfigurationIdentifier": {}, - "Description": {}, - "HsmIpAddress": {}, - "HsmPartitionName": {}, - "HsmPartitionPassword": {}, - "HsmServerPublicCertificate": {}, - "Tags": { - "shape": "S7" - } - } - }, - "output": { - "resultWrapper": "CreateHsmConfigurationResult", - "type": "structure", - "members": { - "HsmConfiguration": { - "shape": "S22" - } - } - } - }, - "CreateSnapshotCopyGrant": { - "input": { - "type": "structure", - "required": [ - "SnapshotCopyGrantName" - ], - "members": { - "SnapshotCopyGrantName": {}, - "KmsKeyId": {}, - "Tags": { - "shape": "S7" - } - } - }, - "output": { - "resultWrapper": "CreateSnapshotCopyGrantResult", - "type": "structure", - "members": { - "SnapshotCopyGrant": { - "shape": "S25" - } - } - } - }, - "CreateTags": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "Tags" - ], - "members": { - "ResourceName": {}, - "Tags": { - "shape": "S7" - } - } - } - }, - "DeleteCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {}, - "SkipFinalClusterSnapshot": { - "type": "boolean" - }, - "FinalClusterSnapshotIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteClusterResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "DeleteClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName" - ], - "members": { - "ParameterGroupName": {} - } - } - }, - "DeleteClusterSecurityGroup": { - "input": { - "type": "structure", - "required": [ - "ClusterSecurityGroupName" - ], - "members": { - "ClusterSecurityGroupName": {} - } - } - }, - "DeleteClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "SnapshotIdentifier" - ], - "members": { - "SnapshotIdentifier": {}, - "SnapshotClusterIdentifier": {} - } - }, - "output": { - "resultWrapper": "DeleteClusterSnapshotResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "DeleteClusterSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "ClusterSubnetGroupName" - ], - "members": { - "ClusterSubnetGroupName": {} - } - } - }, - "DeleteEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {} - } - } - }, - "DeleteHsmClientCertificate": { - "input": { - "type": "structure", - "required": [ - "HsmClientCertificateIdentifier" - ], - "members": { - "HsmClientCertificateIdentifier": {} - } - } - }, - "DeleteHsmConfiguration": { - "input": { - "type": "structure", - "required": [ - "HsmConfigurationIdentifier" - ], - "members": { - "HsmConfigurationIdentifier": {} - } - } - }, - "DeleteSnapshotCopyGrant": { - "input": { - "type": "structure", - "required": [ - "SnapshotCopyGrantName" - ], - "members": { - "SnapshotCopyGrantName": {} - } - } - }, - "DeleteTags": { - "input": { - "type": "structure", - "required": [ - "ResourceName", - "TagKeys" - ], - "members": { - "ResourceName": {}, - "TagKeys": { - "shape": "S2j" - } - } - } - }, - "DescribeClusterParameterGroups": { - "input": { - "type": "structure", - "members": { - "ParameterGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "TagKeys": { - "shape": "S2j" - }, - "TagValues": { - "shape": "S2l" - } - } - }, - "output": { - "resultWrapper": "DescribeClusterParameterGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "ParameterGroups": { - "type": "list", - "member": { - "shape": "S1g", - "locationName": "ClusterParameterGroup" - } - } - } - } - }, - "DescribeClusterParameters": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName" - ], - "members": { - "ParameterGroupName": {}, - "Source": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeClusterParametersResult", - "type": "structure", - "members": { - "Parameters": { - "shape": "S2q" - }, - "Marker": {} - } - } - }, - "DescribeClusterSecurityGroups": { - "input": { - "type": "structure", - "members": { - "ClusterSecurityGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "TagKeys": { - "shape": "S2j" - }, - "TagValues": { - "shape": "S2l" - } - } - }, - "output": { - "resultWrapper": "DescribeClusterSecurityGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "ClusterSecurityGroups": { - "type": "list", - "member": { - "shape": "S4", - "locationName": "ClusterSecurityGroup" - } - } - } - } - }, - "DescribeClusterSnapshots": { - "input": { - "type": "structure", - "members": { - "ClusterIdentifier": {}, - "SnapshotIdentifier": {}, - "SnapshotType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "OwnerAccount": {}, - "TagKeys": { - "shape": "S2j" - }, - "TagValues": { - "shape": "S2l" - } - } - }, - "output": { - "resultWrapper": "DescribeClusterSnapshotsResult", - "type": "structure", - "members": { - "Marker": {}, - "Snapshots": { - "type": "list", - "member": { - "shape": "Sd", - "locationName": "Snapshot" - } - } - } - } - }, - "DescribeClusterSubnetGroups": { - "input": { - "type": "structure", - "members": { - "ClusterSubnetGroupName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "TagKeys": { - "shape": "S2j" - }, - "TagValues": { - "shape": "S2l" - } - } - }, - "output": { - "resultWrapper": "DescribeClusterSubnetGroupsResult", - "type": "structure", - "members": { - "Marker": {}, - "ClusterSubnetGroups": { - "type": "list", - "member": { - "shape": "S1o", - "locationName": "ClusterSubnetGroup" - } - } - } - } - }, - "DescribeClusterVersions": { - "input": { - "type": "structure", - "members": { - "ClusterVersion": {}, - "ClusterParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeClusterVersionsResult", - "type": "structure", - "members": { - "Marker": {}, - "ClusterVersions": { - "type": "list", - "member": { - "locationName": "ClusterVersion", - "type": "structure", - "members": { - "ClusterVersion": {}, - "ClusterParameterGroupFamily": {}, - "Description": {} - } - } - } - } - } - }, - "DescribeClusters": { - "input": { - "type": "structure", - "members": { - "ClusterIdentifier": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "TagKeys": { - "shape": "S2j" - }, - "TagValues": { - "shape": "S2l" - } - } - }, - "output": { - "resultWrapper": "DescribeClustersResult", - "type": "structure", - "members": { - "Marker": {}, - "Clusters": { - "type": "list", - "member": { - "shape": "Sv", - "locationName": "Cluster" - } - } - } - } - }, - "DescribeDefaultClusterParameters": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupFamily" - ], - "members": { - "ParameterGroupFamily": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeDefaultClusterParametersResult", - "type": "structure", - "members": { - "DefaultClusterParameters": { - "type": "structure", - "members": { - "ParameterGroupFamily": {}, - "Marker": {}, - "Parameters": { - "shape": "S2q" - } - }, - "wrapper": true - } - } - } - }, - "DescribeEventCategories": { - "input": { - "type": "structure", - "members": { - "SourceType": {} - } - }, - "output": { - "resultWrapper": "DescribeEventCategoriesResult", - "type": "structure", - "members": { - "EventCategoriesMapList": { - "type": "list", - "member": { - "locationName": "EventCategoriesMap", - "type": "structure", - "members": { - "SourceType": {}, - "Events": { - "type": "list", - "member": { - "locationName": "EventInfoMap", - "type": "structure", - "members": { - "EventId": {}, - "EventCategories": { - "shape": "S1u" - }, - "EventDescription": {}, - "Severity": {} - }, - "wrapper": true - } - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeEventSubscriptions": { - "input": { - "type": "structure", - "members": { - "SubscriptionName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventSubscriptionsResult", - "type": "structure", - "members": { - "Marker": {}, - "EventSubscriptionsList": { - "type": "list", - "member": { - "shape": "S1w", - "locationName": "EventSubscription" - } - } - } - } - }, - "DescribeEvents": { - "input": { - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeEventsResult", - "type": "structure", - "members": { - "Marker": {}, - "Events": { - "type": "list", - "member": { - "locationName": "Event", - "type": "structure", - "members": { - "SourceIdentifier": {}, - "SourceType": {}, - "Message": {}, - "EventCategories": { - "shape": "S1u" - }, - "Severity": {}, - "Date": { - "type": "timestamp" - }, - "EventId": {} - } - } - } - } - } - }, - "DescribeHsmClientCertificates": { - "input": { - "type": "structure", - "members": { - "HsmClientCertificateIdentifier": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "TagKeys": { - "shape": "S2j" - }, - "TagValues": { - "shape": "S2l" - } - } - }, - "output": { - "resultWrapper": "DescribeHsmClientCertificatesResult", - "type": "structure", - "members": { - "Marker": {}, - "HsmClientCertificates": { - "type": "list", - "member": { - "shape": "S1z", - "locationName": "HsmClientCertificate" - } - } - } - } - }, - "DescribeHsmConfigurations": { - "input": { - "type": "structure", - "members": { - "HsmConfigurationIdentifier": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "TagKeys": { - "shape": "S2j" - }, - "TagValues": { - "shape": "S2l" - } - } - }, - "output": { - "resultWrapper": "DescribeHsmConfigurationsResult", - "type": "structure", - "members": { - "Marker": {}, - "HsmConfigurations": { - "type": "list", - "member": { - "shape": "S22", - "locationName": "HsmConfiguration" - } - } - } - } - }, - "DescribeLoggingStatus": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {} - } - }, - "output": { - "shape": "S3x", - "resultWrapper": "DescribeLoggingStatusResult" - } - }, - "DescribeOrderableClusterOptions": { - "input": { - "type": "structure", - "members": { - "ClusterVersion": {}, - "NodeType": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeOrderableClusterOptionsResult", - "type": "structure", - "members": { - "OrderableClusterOptions": { - "type": "list", - "member": { - "locationName": "OrderableClusterOption", - "type": "structure", - "members": { - "ClusterVersion": {}, - "ClusterType": {}, - "NodeType": {}, - "AvailabilityZones": { - "type": "list", - "member": { - "shape": "S1r", - "locationName": "AvailabilityZone" - } - } - }, - "wrapper": true - } - }, - "Marker": {} - } - } - }, - "DescribeReservedNodeOfferings": { - "input": { - "type": "structure", - "members": { - "ReservedNodeOfferingId": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedNodeOfferingsResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedNodeOfferings": { - "type": "list", - "member": { - "locationName": "ReservedNodeOffering", - "type": "structure", - "members": { - "ReservedNodeOfferingId": {}, - "NodeType": {}, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "OfferingType": {}, - "RecurringCharges": { - "shape": "S47" - } - }, - "wrapper": true - } - } - } - } - }, - "DescribeReservedNodes": { - "input": { - "type": "structure", - "members": { - "ReservedNodeId": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeReservedNodesResult", - "type": "structure", - "members": { - "Marker": {}, - "ReservedNodes": { - "type": "list", - "member": { - "shape": "S4c", - "locationName": "ReservedNode" - } - } - } - } - }, - "DescribeResize": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {} - } - }, - "output": { - "resultWrapper": "DescribeResizeResult", - "type": "structure", - "members": { - "TargetNodeType": {}, - "TargetNumberOfNodes": { - "type": "integer" - }, - "TargetClusterType": {}, - "Status": {}, - "ImportTablesCompleted": { - "type": "list", - "member": {} - }, - "ImportTablesInProgress": { - "type": "list", - "member": {} - }, - "ImportTablesNotStarted": { - "type": "list", - "member": {} - }, - "AvgResizeRateInMegaBytesPerSecond": { - "type": "double" - }, - "TotalResizeDataInMegaBytes": { - "type": "long" - }, - "ProgressInMegaBytes": { - "type": "long" - }, - "ElapsedTimeInSeconds": { - "type": "long" - }, - "EstimatedTimeToCompletionInSeconds": { - "type": "long" - } - } - } - }, - "DescribeSnapshotCopyGrants": { - "input": { - "type": "structure", - "members": { - "SnapshotCopyGrantName": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "TagKeys": { - "shape": "S2j" - }, - "TagValues": { - "shape": "S2l" - } - } - }, - "output": { - "resultWrapper": "DescribeSnapshotCopyGrantsResult", - "type": "structure", - "members": { - "Marker": {}, - "SnapshotCopyGrants": { - "type": "list", - "member": { - "shape": "S25", - "locationName": "SnapshotCopyGrant" - } - } - } - } - }, - "DescribeTableRestoreStatus": { - "input": { - "type": "structure", - "members": { - "ClusterIdentifier": {}, - "TableRestoreRequestId": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "resultWrapper": "DescribeTableRestoreStatusResult", - "type": "structure", - "members": { - "TableRestoreStatusDetails": { - "type": "list", - "member": { - "shape": "S4q", - "locationName": "TableRestoreStatus" - } - }, - "Marker": {} - } - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "members": { - "ResourceName": {}, - "ResourceType": {}, - "MaxRecords": { - "type": "integer" - }, - "Marker": {}, - "TagKeys": { - "shape": "S2j" - }, - "TagValues": { - "shape": "S2l" - } - } - }, - "output": { - "resultWrapper": "DescribeTagsResult", - "type": "structure", - "members": { - "TaggedResources": { - "type": "list", - "member": { - "locationName": "TaggedResource", - "type": "structure", - "members": { - "Tag": { - "shape": "S8" - }, - "ResourceName": {}, - "ResourceType": {} - } - } - }, - "Marker": {} - } - } - }, - "DisableLogging": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {} - } - }, - "output": { - "shape": "S3x", - "resultWrapper": "DisableLoggingResult" - } - }, - "DisableSnapshotCopy": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {} - } - }, - "output": { - "resultWrapper": "DisableSnapshotCopyResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "EnableLogging": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "BucketName" - ], - "members": { - "ClusterIdentifier": {}, - "BucketName": {}, - "S3KeyPrefix": {} - } - }, - "output": { - "shape": "S3x", - "resultWrapper": "EnableLoggingResult" - } - }, - "EnableSnapshotCopy": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "DestinationRegion" - ], - "members": { - "ClusterIdentifier": {}, - "DestinationRegion": {}, - "RetentionPeriod": { - "type": "integer" - }, - "SnapshotCopyGrantName": {} - } - }, - "output": { - "resultWrapper": "EnableSnapshotCopyResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "GetClusterCredentials": { - "input": { - "type": "structure", - "required": [ - "DbUser", - "ClusterIdentifier" - ], - "members": { - "DbUser": {}, - "DbName": {}, - "ClusterIdentifier": {}, - "DurationSeconds": { - "type": "integer" - }, - "AutoCreate": { - "type": "boolean" - }, - "DbGroups": { - "type": "list", - "member": { - "locationName": "DbGroup" - } - } - } - }, - "output": { - "resultWrapper": "GetClusterCredentialsResult", - "type": "structure", - "members": { - "DbUser": {}, - "DbPassword": { - "type": "string", - "sensitive": true - }, - "Expiration": { - "type": "timestamp" - } - } - } - }, - "ModifyCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {}, - "ClusterType": {}, - "NodeType": {}, - "NumberOfNodes": { - "type": "integer" - }, - "ClusterSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "MasterUserPassword": {}, - "ClusterParameterGroupName": {}, - "AutomatedSnapshotRetentionPeriod": { - "type": "integer" - }, - "PreferredMaintenanceWindow": {}, - "ClusterVersion": {}, - "AllowVersionUpgrade": { - "type": "boolean" - }, - "HsmClientCertificateIdentifier": {}, - "HsmConfigurationIdentifier": {}, - "NewClusterIdentifier": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "ElasticIp": {}, - "EnhancedVpcRouting": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyClusterResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "ModifyClusterIamRoles": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {}, - "AddIamRoles": { - "shape": "St" - }, - "RemoveIamRoles": { - "shape": "St" - } - } - }, - "output": { - "resultWrapper": "ModifyClusterIamRolesResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "ModifyClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName", - "Parameters" - ], - "members": { - "ParameterGroupName": {}, - "Parameters": { - "shape": "S2q" - } - } - }, - "output": { - "shape": "S5b", - "resultWrapper": "ModifyClusterParameterGroupResult" - } - }, - "ModifyClusterSubnetGroup": { - "input": { - "type": "structure", - "required": [ - "ClusterSubnetGroupName", - "SubnetIds" - ], - "members": { - "ClusterSubnetGroupName": {}, - "Description": {}, - "SubnetIds": { - "shape": "S1m" - } - } - }, - "output": { - "resultWrapper": "ModifyClusterSubnetGroupResult", - "type": "structure", - "members": { - "ClusterSubnetGroup": { - "shape": "S1o" - } - } - } - }, - "ModifyEventSubscription": { - "input": { - "type": "structure", - "required": [ - "SubscriptionName" - ], - "members": { - "SubscriptionName": {}, - "SnsTopicArn": {}, - "SourceType": {}, - "SourceIds": { - "shape": "S1t" - }, - "EventCategories": { - "shape": "S1u" - }, - "Severity": {}, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "ModifyEventSubscriptionResult", - "type": "structure", - "members": { - "EventSubscription": { - "shape": "S1w" - } - } - } - }, - "ModifySnapshotCopyRetentionPeriod": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "RetentionPeriod" - ], - "members": { - "ClusterIdentifier": {}, - "RetentionPeriod": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "ModifySnapshotCopyRetentionPeriodResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "PurchaseReservedNodeOffering": { - "input": { - "type": "structure", - "required": [ - "ReservedNodeOfferingId" - ], - "members": { - "ReservedNodeOfferingId": {}, - "NodeCount": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "PurchaseReservedNodeOfferingResult", - "type": "structure", - "members": { - "ReservedNode": { - "shape": "S4c" - } - } - } - }, - "RebootCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {} - } - }, - "output": { - "resultWrapper": "RebootClusterResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "ResetClusterParameterGroup": { - "input": { - "type": "structure", - "required": [ - "ParameterGroupName" - ], - "members": { - "ParameterGroupName": {}, - "ResetAllParameters": { - "type": "boolean" - }, - "Parameters": { - "shape": "S2q" - } - } - }, - "output": { - "shape": "S5b", - "resultWrapper": "ResetClusterParameterGroupResult" - } - }, - "RestoreFromClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "SnapshotIdentifier" - ], - "members": { - "ClusterIdentifier": {}, - "SnapshotIdentifier": {}, - "SnapshotClusterIdentifier": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "AllowVersionUpgrade": { - "type": "boolean" - }, - "ClusterSubnetGroupName": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "OwnerAccount": {}, - "HsmClientCertificateIdentifier": {}, - "HsmConfigurationIdentifier": {}, - "ElasticIp": {}, - "ClusterParameterGroupName": {}, - "ClusterSecurityGroups": { - "shape": "Sp" - }, - "VpcSecurityGroupIds": { - "shape": "Sq" - }, - "PreferredMaintenanceWindow": {}, - "AutomatedSnapshotRetentionPeriod": { - "type": "integer" - }, - "KmsKeyId": {}, - "NodeType": {}, - "EnhancedVpcRouting": { - "type": "boolean" - }, - "AdditionalInfo": {}, - "IamRoles": { - "shape": "St" - } - } - }, - "output": { - "resultWrapper": "RestoreFromClusterSnapshotResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - }, - "RestoreTableFromClusterSnapshot": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier", - "SnapshotIdentifier", - "SourceDatabaseName", - "SourceTableName", - "NewTableName" - ], - "members": { - "ClusterIdentifier": {}, - "SnapshotIdentifier": {}, - "SourceDatabaseName": {}, - "SourceSchemaName": {}, - "SourceTableName": {}, - "TargetDatabaseName": {}, - "TargetSchemaName": {}, - "NewTableName": {} - } - }, - "output": { - "resultWrapper": "RestoreTableFromClusterSnapshotResult", - "type": "structure", - "members": { - "TableRestoreStatus": { - "shape": "S4q" - } - } - } - }, - "RevokeClusterSecurityGroupIngress": { - "input": { - "type": "structure", - "required": [ - "ClusterSecurityGroupName" - ], - "members": { - "ClusterSecurityGroupName": {}, - "CIDRIP": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupOwnerId": {} - } - }, - "output": { - "resultWrapper": "RevokeClusterSecurityGroupIngressResult", - "type": "structure", - "members": { - "ClusterSecurityGroup": { - "shape": "S4" - } - } - } - }, - "RevokeSnapshotAccess": { - "input": { - "type": "structure", - "required": [ - "SnapshotIdentifier", - "AccountWithRestoreAccess" - ], - "members": { - "SnapshotIdentifier": {}, - "SnapshotClusterIdentifier": {}, - "AccountWithRestoreAccess": {} - } - }, - "output": { - "resultWrapper": "RevokeSnapshotAccessResult", - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sd" - } - } - } - }, - "RotateEncryptionKey": { - "input": { - "type": "structure", - "required": [ - "ClusterIdentifier" - ], - "members": { - "ClusterIdentifier": {} - } - }, - "output": { - "resultWrapper": "RotateEncryptionKeyResult", - "type": "structure", - "members": { - "Cluster": { - "shape": "Sv" - } - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "ClusterSecurityGroupName": {}, - "Description": {}, - "EC2SecurityGroups": { - "type": "list", - "member": { - "locationName": "EC2SecurityGroup", - "type": "structure", - "members": { - "Status": {}, - "EC2SecurityGroupName": {}, - "EC2SecurityGroupOwnerId": {}, - "Tags": { - "shape": "S7" - } - } - } - }, - "IPRanges": { - "type": "list", - "member": { - "locationName": "IPRange", - "type": "structure", - "members": { - "Status": {}, - "CIDRIP": {}, - "Tags": { - "shape": "S7" - } - } - } - }, - "Tags": { - "shape": "S7" - } - }, - "wrapper": true - }, - "S7": { - "type": "list", - "member": { - "shape": "S8", - "locationName": "Tag" - } - }, - "S8": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - }, - "Sd": { - "type": "structure", - "members": { - "SnapshotIdentifier": {}, - "ClusterIdentifier": {}, - "SnapshotCreateTime": { - "type": "timestamp" - }, - "Status": {}, - "Port": { - "type": "integer" - }, - "AvailabilityZone": {}, - "ClusterCreateTime": { - "type": "timestamp" - }, - "MasterUsername": {}, - "ClusterVersion": {}, - "SnapshotType": {}, - "NodeType": {}, - "NumberOfNodes": { - "type": "integer" - }, - "DBName": {}, - "VpcId": {}, - "Encrypted": { - "type": "boolean" - }, - "KmsKeyId": {}, - "EncryptedWithHSM": { - "type": "boolean" - }, - "AccountsWithRestoreAccess": { - "type": "list", - "member": { - "locationName": "AccountWithRestoreAccess", - "type": "structure", - "members": { - "AccountId": {}, - "AccountAlias": {} - } - } - }, - "OwnerAccount": {}, - "TotalBackupSizeInMegaBytes": { - "type": "double" - }, - "ActualIncrementalBackupSizeInMegaBytes": { - "type": "double" - }, - "BackupProgressInMegaBytes": { - "type": "double" - }, - "CurrentBackupRateInMegaBytesPerSecond": { - "type": "double" - }, - "EstimatedSecondsToCompletion": { - "type": "long" - }, - "ElapsedTimeInSeconds": { - "type": "long" - }, - "SourceRegion": {}, - "Tags": { - "shape": "S7" - }, - "RestorableNodeTypes": { - "type": "list", - "member": { - "locationName": "NodeType" - } - }, - "EnhancedVpcRouting": { - "type": "boolean" - } - }, - "wrapper": true - }, - "Sp": { - "type": "list", - "member": { - "locationName": "ClusterSecurityGroupName" - } - }, - "Sq": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroupId" - } - }, - "St": { - "type": "list", - "member": { - "locationName": "IamRoleArn" - } - }, - "Sv": { - "type": "structure", - "members": { - "ClusterIdentifier": {}, - "NodeType": {}, - "ClusterStatus": {}, - "ModifyStatus": {}, - "MasterUsername": {}, - "DBName": {}, - "Endpoint": { - "type": "structure", - "members": { - "Address": {}, - "Port": { - "type": "integer" - } - } - }, - "ClusterCreateTime": { - "type": "timestamp" - }, - "AutomatedSnapshotRetentionPeriod": { - "type": "integer" - }, - "ClusterSecurityGroups": { - "type": "list", - "member": { - "locationName": "ClusterSecurityGroup", - "type": "structure", - "members": { - "ClusterSecurityGroupName": {}, - "Status": {} - } - } - }, - "VpcSecurityGroups": { - "type": "list", - "member": { - "locationName": "VpcSecurityGroup", - "type": "structure", - "members": { - "VpcSecurityGroupId": {}, - "Status": {} - } - } - }, - "ClusterParameterGroups": { - "type": "list", - "member": { - "locationName": "ClusterParameterGroup", - "type": "structure", - "members": { - "ParameterGroupName": {}, - "ParameterApplyStatus": {}, - "ClusterParameterStatusList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterApplyStatus": {}, - "ParameterApplyErrorDescription": {} - } - } - } - } - } - }, - "ClusterSubnetGroupName": {}, - "VpcId": {}, - "AvailabilityZone": {}, - "PreferredMaintenanceWindow": {}, - "PendingModifiedValues": { - "type": "structure", - "members": { - "MasterUserPassword": {}, - "NodeType": {}, - "NumberOfNodes": { - "type": "integer" - }, - "ClusterType": {}, - "ClusterVersion": {}, - "AutomatedSnapshotRetentionPeriod": { - "type": "integer" - }, - "ClusterIdentifier": {}, - "PubliclyAccessible": { - "type": "boolean" - }, - "EnhancedVpcRouting": { - "type": "boolean" - } - } - }, - "ClusterVersion": {}, - "AllowVersionUpgrade": { - "type": "boolean" - }, - "NumberOfNodes": { - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "RestoreStatus": { - "type": "structure", - "members": { - "Status": {}, - "CurrentRestoreRateInMegaBytesPerSecond": { - "type": "double" - }, - "SnapshotSizeInMegaBytes": { - "type": "long" - }, - "ProgressInMegaBytes": { - "type": "long" - }, - "ElapsedTimeInSeconds": { - "type": "long" - }, - "EstimatedTimeToCompletionInSeconds": { - "type": "long" - } - } - }, - "HsmStatus": { - "type": "structure", - "members": { - "HsmClientCertificateIdentifier": {}, - "HsmConfigurationIdentifier": {}, - "Status": {} - } - }, - "ClusterSnapshotCopyStatus": { - "type": "structure", - "members": { - "DestinationRegion": {}, - "RetentionPeriod": { - "type": "long" - }, - "SnapshotCopyGrantName": {} - } - }, - "ClusterPublicKey": {}, - "ClusterNodes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "NodeRole": {}, - "PrivateIPAddress": {}, - "PublicIPAddress": {} - } - } - }, - "ElasticIpStatus": { - "type": "structure", - "members": { - "ElasticIp": {}, - "Status": {} - } - }, - "ClusterRevisionNumber": {}, - "Tags": { - "shape": "S7" - }, - "KmsKeyId": {}, - "EnhancedVpcRouting": { - "type": "boolean" - }, - "IamRoles": { - "type": "list", - "member": { - "locationName": "ClusterIamRole", - "type": "structure", - "members": { - "IamRoleArn": {}, - "ApplyStatus": {} - } - } - } - }, - "wrapper": true - }, - "S1g": { - "type": "structure", - "members": { - "ParameterGroupName": {}, - "ParameterGroupFamily": {}, - "Description": {}, - "Tags": { - "shape": "S7" - } - }, - "wrapper": true - }, - "S1m": { - "type": "list", - "member": { - "locationName": "SubnetIdentifier" - } - }, - "S1o": { - "type": "structure", - "members": { - "ClusterSubnetGroupName": {}, - "Description": {}, - "VpcId": {}, - "SubnetGroupStatus": {}, - "Subnets": { - "type": "list", - "member": { - "locationName": "Subnet", - "type": "structure", - "members": { - "SubnetIdentifier": {}, - "SubnetAvailabilityZone": { - "shape": "S1r" - }, - "SubnetStatus": {} - } - } - }, - "Tags": { - "shape": "S7" - } - }, - "wrapper": true - }, - "S1r": { - "type": "structure", - "members": { - "Name": {} - }, - "wrapper": true - }, - "S1t": { - "type": "list", - "member": { - "locationName": "SourceId" - } - }, - "S1u": { - "type": "list", - "member": { - "locationName": "EventCategory" - } - }, - "S1w": { - "type": "structure", - "members": { - "CustomerAwsId": {}, - "CustSubscriptionId": {}, - "SnsTopicArn": {}, - "Status": {}, - "SubscriptionCreationTime": { - "type": "timestamp" - }, - "SourceType": {}, - "SourceIdsList": { - "shape": "S1t" - }, - "EventCategoriesList": { - "shape": "S1u" - }, - "Severity": {}, - "Enabled": { - "type": "boolean" - }, - "Tags": { - "shape": "S7" - } - }, - "wrapper": true - }, - "S1z": { - "type": "structure", - "members": { - "HsmClientCertificateIdentifier": {}, - "HsmClientCertificatePublicKey": {}, - "Tags": { - "shape": "S7" - } - }, - "wrapper": true - }, - "S22": { - "type": "structure", - "members": { - "HsmConfigurationIdentifier": {}, - "Description": {}, - "HsmIpAddress": {}, - "HsmPartitionName": {}, - "Tags": { - "shape": "S7" - } - }, - "wrapper": true - }, - "S25": { - "type": "structure", - "members": { - "SnapshotCopyGrantName": {}, - "KmsKeyId": {}, - "Tags": { - "shape": "S7" - } - }, - "wrapper": true - }, - "S2j": { - "type": "list", - "member": { - "locationName": "TagKey" - } - }, - "S2l": { - "type": "list", - "member": { - "locationName": "TagValue" - } - }, - "S2q": { - "type": "list", - "member": { - "locationName": "Parameter", - "type": "structure", - "members": { - "ParameterName": {}, - "ParameterValue": {}, - "Description": {}, - "Source": {}, - "DataType": {}, - "AllowedValues": {}, - "ApplyType": {}, - "IsModifiable": { - "type": "boolean" - }, - "MinimumEngineVersion": {} - } - } - }, - "S3x": { - "type": "structure", - "members": { - "LoggingEnabled": { - "type": "boolean" - }, - "BucketName": {}, - "S3KeyPrefix": {}, - "LastSuccessfulDeliveryTime": { - "type": "timestamp" - }, - "LastFailureTime": { - "type": "timestamp" - }, - "LastFailureMessage": {} - } - }, - "S47": { - "type": "list", - "member": { - "locationName": "RecurringCharge", - "type": "structure", - "members": { - "RecurringChargeAmount": { - "type": "double" - }, - "RecurringChargeFrequency": {} - }, - "wrapper": true - } - }, - "S4c": { - "type": "structure", - "members": { - "ReservedNodeId": {}, - "ReservedNodeOfferingId": {}, - "NodeType": {}, - "StartTime": { - "type": "timestamp" - }, - "Duration": { - "type": "integer" - }, - "FixedPrice": { - "type": "double" - }, - "UsagePrice": { - "type": "double" - }, - "CurrencyCode": {}, - "NodeCount": { - "type": "integer" - }, - "State": {}, - "OfferingType": {}, - "RecurringCharges": { - "shape": "S47" - } - }, - "wrapper": true - }, - "S4q": { - "type": "structure", - "members": { - "TableRestoreRequestId": {}, - "Status": {}, - "Message": {}, - "RequestTime": { - "type": "timestamp" - }, - "ProgressInMegaBytes": { - "type": "long" - }, - "TotalDataInMegaBytes": { - "type": "long" - }, - "ClusterIdentifier": {}, - "SnapshotIdentifier": {}, - "SourceDatabaseName": {}, - "SourceSchemaName": {}, - "SourceTableName": {}, - "TargetDatabaseName": {}, - "TargetSchemaName": {}, - "NewTableName": {} - }, - "wrapper": true - }, - "S5b": { - "type": "structure", - "members": { - "ParameterGroupName": {}, - "ParameterGroupStatus": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json b/src/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json deleted file mode 100644 index 9ed71e3..0000000 --- a/src/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "pagination": { - "DescribeClusterParameterGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ParameterGroups" - }, - "DescribeClusterParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Parameters" - }, - "DescribeClusterSecurityGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ClusterSecurityGroups" - }, - "DescribeClusterSnapshots": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Snapshots" - }, - "DescribeClusterSubnetGroups": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ClusterSubnetGroups" - }, - "DescribeClusterVersions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ClusterVersions" - }, - "DescribeClusters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Clusters" - }, - "DescribeDefaultClusterParameters": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "DefaultClusterParameters.Marker", - "result_key": "DefaultClusterParameters.Parameters" - }, - "DescribeEventSubscriptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "EventSubscriptionsList" - }, - "DescribeEvents": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "Events" - }, - "DescribeHsmClientCertificates": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "HsmClientCertificates" - }, - "DescribeHsmConfigurations": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "HsmConfigurations" - }, - "DescribeOrderableClusterOptions": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "OrderableClusterOptions" - }, - "DescribeReservedNodeOfferings": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedNodeOfferings" - }, - "DescribeReservedNodes": { - "input_token": "Marker", - "limit_key": "MaxRecords", - "output_token": "Marker", - "result_key": "ReservedNodes" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/redshift-2012-12-01.waiters2.json b/src/node_modules/aws-sdk/apis/redshift-2012-12-01.waiters2.json deleted file mode 100644 index 164e9b0..0000000 --- a/src/node_modules/aws-sdk/apis/redshift-2012-12-01.waiters2.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "version": 2, - "waiters": { - "ClusterAvailable": { - "delay": 60, - "operation": "DescribeClusters", - "maxAttempts": 30, - "acceptors": [ - { - "expected": "available", - "matcher": "pathAll", - "state": "success", - "argument": "Clusters[].ClusterStatus" - }, - { - "expected": "deleting", - "matcher": "pathAny", - "state": "failure", - "argument": "Clusters[].ClusterStatus" - }, - { - "expected": "ClusterNotFound", - "matcher": "error", - "state": "retry" - } - ] - }, - "ClusterDeleted": { - "delay": 60, - "operation": "DescribeClusters", - "maxAttempts": 30, - "acceptors": [ - { - "expected": "ClusterNotFound", - "matcher": "error", - "state": "success" - }, - { - "expected": "creating", - "matcher": "pathAny", - "state": "failure", - "argument": "Clusters[].ClusterStatus" - }, - { - "expected": "modifying", - "matcher": "pathAny", - "state": "failure", - "argument": "Clusters[].ClusterStatus" - } - ] - }, - "ClusterRestored": { - "operation": "DescribeClusters", - "maxAttempts": 30, - "delay": 60, - "acceptors": [ - { - "state": "success", - "matcher": "pathAll", - "argument": "Clusters[].RestoreStatus.Status", - "expected": "completed" - }, - { - "state": "failure", - "matcher": "pathAny", - "argument": "Clusters[].ClusterStatus", - "expected": "deleting" - } - ] - }, - "SnapshotAvailable": { - "delay": 15, - "operation": "DescribeClusterSnapshots", - "maxAttempts": 20, - "acceptors": [ - { - "expected": "available", - "matcher": "pathAll", - "state": "success", - "argument": "Snapshots[].Status" - }, - { - "expected": "failed", - "matcher": "pathAny", - "state": "failure", - "argument": "Snapshots[].Status" - }, - { - "expected": "deleted", - "matcher": "pathAny", - "state": "failure", - "argument": "Snapshots[].Status" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/rekognition-2016-06-27.examples.json b/src/node_modules/aws-sdk/apis/rekognition-2016-06-27.examples.json deleted file mode 100644 index 20b0328..0000000 --- a/src/node_modules/aws-sdk/apis/rekognition-2016-06-27.examples.json +++ /dev/null @@ -1,651 +0,0 @@ -{ - "version": "1.0", - "examples": { - "CompareFaces": [ - { - "input": { - "SimilarityThreshold": 90, - "SourceImage": { - "S3Object": { - "Bucket": "mybucket", - "Name": "mysourceimage" - } - }, - "TargetImage": { - "S3Object": { - "Bucket": "mybucket", - "Name": "mytargetimage" - } - } - }, - "output": { - "FaceMatches": [ - { - "Face": { - "BoundingBox": { - "Height": 0.33481481671333313, - "Left": 0.31888890266418457, - "Top": 0.4933333396911621, - "Width": 0.25 - }, - "Confidence": 99.9991226196289 - }, - "Similarity": 100 - } - ], - "SourceImageFace": { - "BoundingBox": { - "Height": 0.33481481671333313, - "Left": 0.31888890266418457, - "Top": 0.4933333396911621, - "Width": 0.25 - }, - "Confidence": 99.9991226196289 - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation compares the largest face detected in the source image with each face detected in the target image.", - "id": "to-compare-two-images-1482181985581", - "title": "To compare two images" - } - ], - "CreateCollection": [ - { - "input": { - "CollectionId": "myphotos" - }, - "output": { - "CollectionArn": "aws:rekognition:us-west-2:123456789012:collection/myphotos", - "StatusCode": 200 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation creates a Rekognition collection for storing image data.", - "id": "to-create-a-collection-1481833313674", - "title": "To create a collection" - } - ], - "DeleteCollection": [ - { - "input": { - "CollectionId": "myphotos" - }, - "output": { - "StatusCode": 200 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation deletes a Rekognition collection.", - "id": "to-delete-a-collection-1481838179973", - "title": "To delete a collection" - } - ], - "DeleteFaces": [ - { - "input": { - "CollectionId": "myphotos", - "FaceIds": [ - "ff43d742-0c13-5d16-a3e8-03d3f58e980b" - ] - }, - "output": { - "DeletedFaces": [ - "ff43d742-0c13-5d16-a3e8-03d3f58e980b" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation deletes one or more faces from a Rekognition collection.", - "id": "to-delete-a-face-1482182799377", - "title": "To delete a face" - } - ], - "DetectFaces": [ - { - "input": { - "Image": { - "S3Object": { - "Bucket": "mybucket", - "Name": "myphoto" - } - } - }, - "output": { - "FaceDetails": [ - { - "BoundingBox": { - "Height": 0.18000000715255737, - "Left": 0.5555555820465088, - "Top": 0.33666667342185974, - "Width": 0.23999999463558197 - }, - "Confidence": 100, - "Landmarks": [ - { - "Type": "EYE_LEFT", - "X": 0.6394737362861633, - "Y": 0.40819624066352844 - }, - { - "Type": "EYE_RIGHT", - "X": 0.7266660928726196, - "Y": 0.41039225459098816 - }, - { - "Type": "NOSE_LEFT", - "X": 0.6912462115287781, - "Y": 0.44240960478782654 - }, - { - "Type": "MOUTH_DOWN", - "X": 0.6306198239326477, - "Y": 0.46700039505958557 - }, - { - "Type": "MOUTH_UP", - "X": 0.7215608954429626, - "Y": 0.47114261984825134 - } - ], - "Pose": { - "Pitch": 4.050806522369385, - "Roll": 0.9950747489929199, - "Yaw": 13.693790435791016 - }, - "Quality": { - "Brightness": 37.60169982910156, - "Sharpness": 80 - } - } - ], - "OrientationCorrection": "ROTATE_0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation detects faces in an image stored in an AWS S3 bucket.", - "id": "to-detect-faces-in-an-image-1481841782793", - "title": "To detect faces in an image" - } - ], - "DetectLabels": [ - { - "input": { - "Image": { - "S3Object": { - "Bucket": "mybucket", - "Name": "myphoto" - } - }, - "MaxLabels": 123, - "MinConfidence": 70 - }, - "output": { - "Labels": [ - { - "Confidence": 99.25072479248047, - "Name": "People" - }, - { - "Confidence": 99.25074005126953, - "Name": "Person" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation detects labels in the supplied image", - "id": "to-detect-labels-1481834255770", - "title": "To detect labels" - } - ], - "IndexFaces": [ - { - "input": { - "CollectionId": "myphotos", - "DetectionAttributes": [ - - ], - "ExternalImageId": "myphotoid", - "Image": { - "S3Object": { - "Bucket": "mybucket", - "Name": "myphoto" - } - } - }, - "output": { - "FaceRecords": [ - { - "Face": { - "BoundingBox": { - "Height": 0.33481481671333313, - "Left": 0.31888890266418457, - "Top": 0.4933333396911621, - "Width": 0.25 - }, - "Confidence": 99.9991226196289, - "FaceId": "ff43d742-0c13-5d16-a3e8-03d3f58e980b", - "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1" - }, - "FaceDetail": { - "BoundingBox": { - "Height": 0.33481481671333313, - "Left": 0.31888890266418457, - "Top": 0.4933333396911621, - "Width": 0.25 - }, - "Confidence": 99.9991226196289, - "Landmarks": [ - { - "Type": "EYE_LEFT", - "X": 0.3976764678955078, - "Y": 0.6248345971107483 - }, - { - "Type": "EYE_RIGHT", - "X": 0.4810936450958252, - "Y": 0.6317117214202881 - }, - { - "Type": "NOSE_LEFT", - "X": 0.41986238956451416, - "Y": 0.7111940383911133 - }, - { - "Type": "MOUTH_DOWN", - "X": 0.40525302290916443, - "Y": 0.7497701048851013 - }, - { - "Type": "MOUTH_UP", - "X": 0.4753248989582062, - "Y": 0.7558549642562866 - } - ], - "Pose": { - "Pitch": -9.713645935058594, - "Roll": 4.707281112670898, - "Yaw": -24.438663482666016 - }, - "Quality": { - "Brightness": 29.23358917236328, - "Sharpness": 80 - } - } - }, - { - "Face": { - "BoundingBox": { - "Height": 0.32592591643333435, - "Left": 0.5144444704055786, - "Top": 0.15111111104488373, - "Width": 0.24444444477558136 - }, - "Confidence": 99.99950408935547, - "FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2", - "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1" - }, - "FaceDetail": { - "BoundingBox": { - "Height": 0.32592591643333435, - "Left": 0.5144444704055786, - "Top": 0.15111111104488373, - "Width": 0.24444444477558136 - }, - "Confidence": 99.99950408935547, - "Landmarks": [ - { - "Type": "EYE_LEFT", - "X": 0.6006892323493958, - "Y": 0.290842205286026 - }, - { - "Type": "EYE_RIGHT", - "X": 0.6808141469955444, - "Y": 0.29609042406082153 - }, - { - "Type": "NOSE_LEFT", - "X": 0.6395332217216492, - "Y": 0.3522595763206482 - }, - { - "Type": "MOUTH_DOWN", - "X": 0.5892083048820496, - "Y": 0.38689887523651123 - }, - { - "Type": "MOUTH_UP", - "X": 0.674560010433197, - "Y": 0.394125759601593 - } - ], - "Pose": { - "Pitch": -4.683138370513916, - "Roll": 2.1029529571533203, - "Yaw": 6.716655254364014 - }, - "Quality": { - "Brightness": 34.951698303222656, - "Sharpness": 160 - } - } - } - ], - "OrientationCorrection": "ROTATE_0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation detects faces in an image and adds them to the specified Rekognition collection.", - "id": "to-add-a-face-to-a-collection-1482179542923", - "title": "To add a face to a collection" - } - ], - "ListCollections": [ - { - "input": { - }, - "output": { - "CollectionIds": [ - "myphotos" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation returns a list of Rekognition collections.", - "id": "to-list-the-collections-1482179199088", - "title": "To list the collections" - } - ], - "ListFaces": [ - { - "input": { - "CollectionId": "myphotos", - "MaxResults": 20 - }, - "output": { - "Faces": [ - { - "BoundingBox": { - "Height": 0.18000000715255737, - "Left": 0.5555559992790222, - "Top": 0.336667001247406, - "Width": 0.23999999463558197 - }, - "Confidence": 100, - "FaceId": "1c62e8b5-69a7-5b7d-b3cd-db4338a8a7e7", - "ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e" - }, - { - "BoundingBox": { - "Height": 0.16555599868297577, - "Left": 0.30963000655174255, - "Top": 0.7066670060157776, - "Width": 0.22074100375175476 - }, - "Confidence": 100, - "FaceId": "29a75abe-397b-5101-ba4f-706783b2246c", - "ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e" - }, - { - "BoundingBox": { - "Height": 0.3234420120716095, - "Left": 0.3233329951763153, - "Top": 0.5, - "Width": 0.24222199618816376 - }, - "Confidence": 99.99829864501953, - "FaceId": "38271d79-7bc2-5efb-b752-398a8d575b85", - "ImageId": "d5631190-d039-54e4-b267-abd22c8647c5" - }, - { - "BoundingBox": { - "Height": 0.03555560111999512, - "Left": 0.37388700246810913, - "Top": 0.2477779984474182, - "Width": 0.04747769981622696 - }, - "Confidence": 99.99210357666016, - "FaceId": "3b01bef0-c883-5654-ba42-d5ad28b720b3", - "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784" - }, - { - "BoundingBox": { - "Height": 0.05333330109715462, - "Left": 0.2937690019607544, - "Top": 0.35666701197624207, - "Width": 0.07121659815311432 - }, - "Confidence": 99.99919891357422, - "FaceId": "4839a608-49d0-566c-8301-509d71b534d1", - "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784" - }, - { - "BoundingBox": { - "Height": 0.3249259889125824, - "Left": 0.5155559778213501, - "Top": 0.1513350009918213, - "Width": 0.24333299696445465 - }, - "Confidence": 99.99949645996094, - "FaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14", - "ImageId": "d5631190-d039-54e4-b267-abd22c8647c5" - }, - { - "BoundingBox": { - "Height": 0.03777780011296272, - "Left": 0.7002969980239868, - "Top": 0.18777799606323242, - "Width": 0.05044509842991829 - }, - "Confidence": 99.92639923095703, - "FaceId": "7f5f88ed-d684-5a88-b0df-01e4a521552b", - "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784" - }, - { - "BoundingBox": { - "Height": 0.05555560067296028, - "Left": 0.13946600258350372, - "Top": 0.46333301067352295, - "Width": 0.07270029932260513 - }, - "Confidence": 99.99469757080078, - "FaceId": "895b4e2c-81de-5902-a4bd-d1792bda00b2", - "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784" - }, - { - "BoundingBox": { - "Height": 0.3259260058403015, - "Left": 0.5144439935684204, - "Top": 0.15111100673675537, - "Width": 0.24444399774074554 - }, - "Confidence": 99.99949645996094, - "FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2", - "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1" - }, - { - "BoundingBox": { - "Height": 0.18888899683952332, - "Left": 0.3783380091190338, - "Top": 0.2355560064315796, - "Width": 0.25222599506378174 - }, - "Confidence": 99.9999008178711, - "FaceId": "908544ad-edc3-59df-8faf-6a87cc256cf5", - "ImageId": "3c731605-d772-541a-a5e7-0375dbc68a07" - }, - { - "BoundingBox": { - "Height": 0.33481499552726746, - "Left": 0.31888899207115173, - "Top": 0.49333301186561584, - "Width": 0.25 - }, - "Confidence": 99.99909973144531, - "FaceId": "ff43d742-0c13-5d16-a3e8-03d3f58e980b", - "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation lists the faces in a Rekognition collection.", - "id": "to-list-the-faces-in-a-collection-1482181416530", - "title": "To list the faces in a collection" - } - ], - "SearchFaces": [ - { - "input": { - "CollectionId": "myphotos", - "FaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14", - "FaceMatchThreshold": 90, - "MaxFaces": 10 - }, - "output": { - "FaceMatches": [ - { - "Face": { - "BoundingBox": { - "Height": 0.3259260058403015, - "Left": 0.5144439935684204, - "Top": 0.15111100673675537, - "Width": 0.24444399774074554 - }, - "Confidence": 99.99949645996094, - "FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2", - "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1" - }, - "Similarity": 99.97222137451172 - }, - { - "Face": { - "BoundingBox": { - "Height": 0.16555599868297577, - "Left": 0.30963000655174255, - "Top": 0.7066670060157776, - "Width": 0.22074100375175476 - }, - "Confidence": 100, - "FaceId": "29a75abe-397b-5101-ba4f-706783b2246c", - "ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e" - }, - "Similarity": 97.04154968261719 - }, - { - "Face": { - "BoundingBox": { - "Height": 0.18888899683952332, - "Left": 0.3783380091190338, - "Top": 0.2355560064315796, - "Width": 0.25222599506378174 - }, - "Confidence": 99.9999008178711, - "FaceId": "908544ad-edc3-59df-8faf-6a87cc256cf5", - "ImageId": "3c731605-d772-541a-a5e7-0375dbc68a07" - }, - "Similarity": 95.94520568847656 - } - ], - "SearchedFaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation searches for matching faces in the collection the supplied face belongs to.", - "id": "to-delete-a-face-1482182799377", - "title": "To delete a face" - } - ], - "SearchFacesByImage": [ - { - "input": { - "CollectionId": "myphotos", - "FaceMatchThreshold": 95, - "Image": { - "S3Object": { - "Bucket": "mybucket", - "Name": "myphoto" - } - }, - "MaxFaces": 5 - }, - "output": { - "FaceMatches": [ - { - "Face": { - "BoundingBox": { - "Height": 0.3234420120716095, - "Left": 0.3233329951763153, - "Top": 0.5, - "Width": 0.24222199618816376 - }, - "Confidence": 99.99829864501953, - "FaceId": "38271d79-7bc2-5efb-b752-398a8d575b85", - "ImageId": "d5631190-d039-54e4-b267-abd22c8647c5" - }, - "Similarity": 99.97036743164062 - } - ], - "SearchedFaceBoundingBox": { - "Height": 0.33481481671333313, - "Left": 0.31888890266418457, - "Top": 0.4933333396911621, - "Width": 0.25 - }, - "SearchedFaceConfidence": 99.9991226196289 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation searches for faces in a Rekognition collection that match the largest face in an S3 bucket stored image.", - "id": "to-search-for-faces-matching-a-supplied-image-1482175994491", - "title": "To search for faces matching a supplied image" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json b/src/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json deleted file mode 100644 index b547d45..0000000 --- a/src/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +++ /dev/null @@ -1,712 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-06-27", - "endpointPrefix": "rekognition", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon Rekognition", - "signatureVersion": "v4", - "targetPrefix": "RekognitionService", - "uid": "rekognition-2016-06-27" - }, - "operations": { - "CompareFaces": { - "input": { - "type": "structure", - "required": [ - "SourceImage", - "TargetImage" - ], - "members": { - "SourceImage": { - "shape": "S2" - }, - "TargetImage": { - "shape": "S2" - }, - "SimilarityThreshold": { - "type": "float" - } - } - }, - "output": { - "type": "structure", - "members": { - "SourceImageFace": { - "type": "structure", - "members": { - "BoundingBox": { - "shape": "Sb" - }, - "Confidence": { - "type": "float" - } - } - }, - "FaceMatches": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Similarity": { - "type": "float" - }, - "Face": { - "shape": "Sf" - } - } - } - }, - "UnmatchedFaces": { - "type": "list", - "member": { - "shape": "Sf" - } - }, - "SourceImageOrientationCorrection": {}, - "TargetImageOrientationCorrection": {} - } - } - }, - "CreateCollection": { - "input": { - "type": "structure", - "required": [ - "CollectionId" - ], - "members": { - "CollectionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "StatusCode": { - "type": "integer" - }, - "CollectionArn": {} - } - } - }, - "DeleteCollection": { - "input": { - "type": "structure", - "required": [ - "CollectionId" - ], - "members": { - "CollectionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "StatusCode": { - "type": "integer" - } - } - } - }, - "DeleteFaces": { - "input": { - "type": "structure", - "required": [ - "CollectionId", - "FaceIds" - ], - "members": { - "CollectionId": {}, - "FaceIds": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "DeletedFaces": { - "shape": "Sw" - } - } - } - }, - "DetectFaces": { - "input": { - "type": "structure", - "required": [ - "Image" - ], - "members": { - "Image": { - "shape": "S2" - }, - "Attributes": { - "shape": "S10" - } - } - }, - "output": { - "type": "structure", - "members": { - "FaceDetails": { - "type": "list", - "member": { - "shape": "S14" - } - }, - "OrientationCorrection": {} - } - } - }, - "DetectLabels": { - "input": { - "type": "structure", - "required": [ - "Image" - ], - "members": { - "Image": { - "shape": "S2" - }, - "MaxLabels": { - "type": "integer" - }, - "MinConfidence": { - "type": "float" - } - } - }, - "output": { - "type": "structure", - "members": { - "Labels": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Confidence": { - "type": "float" - } - } - } - }, - "OrientationCorrection": {} - } - } - }, - "DetectModerationLabels": { - "input": { - "type": "structure", - "required": [ - "Image" - ], - "members": { - "Image": { - "shape": "S2" - }, - "MinConfidence": { - "type": "float" - } - } - }, - "output": { - "type": "structure", - "members": { - "ModerationLabels": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Confidence": { - "type": "float" - }, - "Name": {}, - "ParentName": {} - } - } - } - } - } - }, - "GetCelebrityInfo": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "Urls": { - "shape": "S1u" - }, - "Name": {} - } - } - }, - "IndexFaces": { - "input": { - "type": "structure", - "required": [ - "CollectionId", - "Image" - ], - "members": { - "CollectionId": {}, - "Image": { - "shape": "S2" - }, - "ExternalImageId": {}, - "DetectionAttributes": { - "shape": "S10" - } - } - }, - "output": { - "type": "structure", - "members": { - "FaceRecords": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Face": { - "shape": "S21" - }, - "FaceDetail": { - "shape": "S14" - } - } - } - }, - "OrientationCorrection": {} - } - } - }, - "ListCollections": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "CollectionIds": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "ListFaces": { - "input": { - "type": "structure", - "required": [ - "CollectionId" - ], - "members": { - "CollectionId": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Faces": { - "type": "list", - "member": { - "shape": "S21" - } - }, - "NextToken": {} - } - } - }, - "RecognizeCelebrities": { - "input": { - "type": "structure", - "required": [ - "Image" - ], - "members": { - "Image": { - "shape": "S2" - } - } - }, - "output": { - "type": "structure", - "members": { - "CelebrityFaces": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Urls": { - "shape": "S1u" - }, - "Name": {}, - "Id": {}, - "Face": { - "shape": "Sf" - }, - "MatchConfidence": { - "type": "float" - } - } - } - }, - "UnrecognizedFaces": { - "type": "list", - "member": { - "shape": "Sf" - } - }, - "OrientationCorrection": {} - } - } - }, - "SearchFaces": { - "input": { - "type": "structure", - "required": [ - "CollectionId", - "FaceId" - ], - "members": { - "CollectionId": {}, - "FaceId": {}, - "MaxFaces": { - "type": "integer" - }, - "FaceMatchThreshold": { - "type": "float" - } - } - }, - "output": { - "type": "structure", - "members": { - "SearchedFaceId": {}, - "FaceMatches": { - "shape": "S2j" - } - } - } - }, - "SearchFacesByImage": { - "input": { - "type": "structure", - "required": [ - "CollectionId", - "Image" - ], - "members": { - "CollectionId": {}, - "Image": { - "shape": "S2" - }, - "MaxFaces": { - "type": "integer" - }, - "FaceMatchThreshold": { - "type": "float" - } - } - }, - "output": { - "type": "structure", - "members": { - "SearchedFaceBoundingBox": { - "shape": "Sb" - }, - "SearchedFaceConfidence": { - "type": "float" - }, - "FaceMatches": { - "shape": "S2j" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "structure", - "members": { - "Bytes": { - "type": "blob" - }, - "S3Object": { - "type": "structure", - "members": { - "Bucket": {}, - "Name": {}, - "Version": {} - } - } - } - }, - "Sb": { - "type": "structure", - "members": { - "Width": { - "type": "float" - }, - "Height": { - "type": "float" - }, - "Left": { - "type": "float" - }, - "Top": { - "type": "float" - } - } - }, - "Sf": { - "type": "structure", - "members": { - "BoundingBox": { - "shape": "Sb" - }, - "Confidence": { - "type": "float" - }, - "Landmarks": { - "shape": "Sg" - }, - "Pose": { - "shape": "Sj" - }, - "Quality": { - "shape": "Sl" - } - } - }, - "Sg": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "X": { - "type": "float" - }, - "Y": { - "type": "float" - } - } - } - }, - "Sj": { - "type": "structure", - "members": { - "Roll": { - "type": "float" - }, - "Yaw": { - "type": "float" - }, - "Pitch": { - "type": "float" - } - } - }, - "Sl": { - "type": "structure", - "members": { - "Brightness": { - "type": "float" - }, - "Sharpness": { - "type": "float" - } - } - }, - "Sw": { - "type": "list", - "member": {} - }, - "S10": { - "type": "list", - "member": {} - }, - "S14": { - "type": "structure", - "members": { - "BoundingBox": { - "shape": "Sb" - }, - "AgeRange": { - "type": "structure", - "members": { - "Low": { - "type": "integer" - }, - "High": { - "type": "integer" - } - } - }, - "Smile": { - "type": "structure", - "members": { - "Value": { - "type": "boolean" - }, - "Confidence": { - "type": "float" - } - } - }, - "Eyeglasses": { - "type": "structure", - "members": { - "Value": { - "type": "boolean" - }, - "Confidence": { - "type": "float" - } - } - }, - "Sunglasses": { - "type": "structure", - "members": { - "Value": { - "type": "boolean" - }, - "Confidence": { - "type": "float" - } - } - }, - "Gender": { - "type": "structure", - "members": { - "Value": {}, - "Confidence": { - "type": "float" - } - } - }, - "Beard": { - "type": "structure", - "members": { - "Value": { - "type": "boolean" - }, - "Confidence": { - "type": "float" - } - } - }, - "Mustache": { - "type": "structure", - "members": { - "Value": { - "type": "boolean" - }, - "Confidence": { - "type": "float" - } - } - }, - "EyesOpen": { - "type": "structure", - "members": { - "Value": { - "type": "boolean" - }, - "Confidence": { - "type": "float" - } - } - }, - "MouthOpen": { - "type": "structure", - "members": { - "Value": { - "type": "boolean" - }, - "Confidence": { - "type": "float" - } - } - }, - "Emotions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Confidence": { - "type": "float" - } - } - } - }, - "Landmarks": { - "shape": "Sg" - }, - "Pose": { - "shape": "Sj" - }, - "Quality": { - "shape": "Sl" - }, - "Confidence": { - "type": "float" - } - } - }, - "S1u": { - "type": "list", - "member": {} - }, - "S21": { - "type": "structure", - "members": { - "FaceId": {}, - "BoundingBox": { - "shape": "Sb" - }, - "ImageId": {}, - "ExternalImageId": {}, - "Confidence": { - "type": "float" - } - } - }, - "S2j": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Similarity": { - "type": "float" - }, - "Face": { - "shape": "S21" - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/rekognition-2016-06-27.paginators.json b/src/node_modules/aws-sdk/apis/rekognition-2016-06-27.paginators.json deleted file mode 100644 index 69bb561..0000000 --- a/src/node_modules/aws-sdk/apis/rekognition-2016-06-27.paginators.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "pagination": { - "ListCollections": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "CollectionIds" - }, - "ListFaces": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Faces" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.examples.json b/src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.min.json b/src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.min.json deleted file mode 100644 index 588d579..0000000 --- a/src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.min.json +++ /dev/null @@ -1,188 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2017-01-26", - "endpointPrefix": "tagging", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Resource Groups Tagging API", - "signatureVersion": "v4", - "targetPrefix": "ResourceGroupsTaggingAPI_20170126", - "uid": "resourcegroupstaggingapi-2017-01-26" - }, - "operations": { - "GetResources": { - "input": { - "type": "structure", - "members": { - "PaginationToken": {}, - "TagFilters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "ResourcesPerPage": { - "type": "integer" - }, - "TagsPerPage": { - "type": "integer" - }, - "ResourceTypeFilters": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "PaginationToken": {}, - "ResourceTagMappingList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ResourceARN": {}, - "Tags": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - } - } - } - } - } - } - }, - "GetTagKeys": { - "input": { - "type": "structure", - "members": { - "PaginationToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "PaginationToken": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - } - }, - "GetTagValues": { - "input": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "PaginationToken": {}, - "Key": {} - } - }, - "output": { - "type": "structure", - "members": { - "PaginationToken": {}, - "TagValues": { - "type": "list", - "member": {} - } - } - } - }, - "TagResources": { - "input": { - "type": "structure", - "required": [ - "ResourceARNList", - "Tags" - ], - "members": { - "ResourceARNList": { - "shape": "Sp" - }, - "Tags": { - "type": "map", - "key": {}, - "value": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedResourcesMap": { - "shape": "Ss" - } - } - } - }, - "UntagResources": { - "input": { - "type": "structure", - "required": [ - "ResourceARNList", - "TagKeys" - ], - "members": { - "ResourceARNList": { - "shape": "Sp" - }, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedResourcesMap": { - "shape": "Ss" - } - } - } - } - }, - "shapes": { - "Sp": { - "type": "list", - "member": {} - }, - "Ss": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "StatusCode": { - "type": "integer" - }, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.paginators.json b/src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.paginators.json deleted file mode 100644 index 7bff285..0000000 --- a/src/node_modules/aws-sdk/apis/resourcegroupstaggingapi-2017-01-26.paginators.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "pagination": { - "GetResources": { - "input_token": "PaginationToken", - "limit_key": "ResourcesPerPage", - "output_token": "PaginationToken", - "result_key": "ResourceTagMappingList" - }, - "GetTagKeys": { - "input_token": "PaginationToken", - "output_token": "PaginationToken", - "result_key": "TagKeys" - }, - "GetTagValues": { - "input_token": "PaginationToken", - "output_token": "PaginationToken", - "result_key": "TagValues" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/route53-2013-04-01.examples.json b/src/node_modules/aws-sdk/apis/route53-2013-04-01.examples.json deleted file mode 100644 index d757c2b..0000000 --- a/src/node_modules/aws-sdk/apis/route53-2013-04-01.examples.json +++ /dev/null @@ -1,762 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AssociateVPCWithHostedZone": [ - { - "input": { - "Comment": "", - "HostedZoneId": "Z3M3LMPEXAMPLE", - "VPC": { - "VPCId": "vpc-1a2b3c4d", - "VPCRegion": "us-east-2" - } - }, - "output": { - "ChangeInfo": { - "Comment": "", - "Id": "/change/C3HC6WDB2UANE2", - "Status": "INSYNC", - "SubmittedAt": "2017-01-31T01:36:41.958Z" - } - }, - "comments": { - "input": { - }, - "output": { - "Status": "Valid values are PENDING and INSYNC.", - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example associates the VPC with ID vpc-1a2b3c4d with the hosted zone with ID Z3M3LMPEXAMPLE.", - "id": "to-associate-a-vpc-with-a-hosted-zone-1484069228699", - "title": "To associate a VPC with a hosted zone" - } - ], - "ChangeResourceRecordSets": [ - { - "input": { - "ChangeBatch": { - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "Name": "example.com", - "ResourceRecords": [ - { - "Value": "192.0.2.44" - } - ], - "TTL": 60, - "Type": "A" - } - } - ], - "Comment": "Web server for example.com" - }, - "HostedZoneId": "Z3M3LMPEXAMPLE" - }, - "output": { - "ChangeInfo": { - "Comment": "Web server for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - }, - "comments": { - "input": { - "Action": "Valid values: CREATE, DELETE, UPSERT", - "TTL": "The amount of time in seconds that you want DNS resolvers to cache the values in this resource record set before submitting another request to Route 53", - "Value": "The value that is applicable to the value of Type. For example, if Type is A, Value is an IPv4 address" - }, - "output": { - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example creates a resource record set that routes Internet traffic to a resource with an IP address of 192.0.2.44.", - "id": "to-create-update-or-delete-resource-record-sets-1484344703668", - "title": "To create a basic resource record set" - }, - { - "input": { - "ChangeBatch": { - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "HealthCheckId": "abcdef11-2222-3333-4444-555555fedcba", - "Name": "example.com", - "ResourceRecords": [ - { - "Value": "192.0.2.44" - } - ], - "SetIdentifier": "Seattle data center", - "TTL": 60, - "Type": "A", - "Weight": 100 - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "HealthCheckId": "abcdef66-7777-8888-9999-000000fedcba", - "Name": "example.com", - "ResourceRecords": [ - { - "Value": "192.0.2.45" - } - ], - "SetIdentifier": "Portland data center", - "TTL": 60, - "Type": "A", - "Weight": 200 - } - } - ], - "Comment": "Web servers for example.com" - }, - "HostedZoneId": "Z3M3LMPEXAMPLE" - }, - "output": { - "ChangeInfo": { - "Comment": "Web servers for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - }, - "comments": { - "input": { - "Action": "Valid values: CREATE, DELETE, UPSERT", - "TTL": "The amount of time in seconds that you want DNS resolvers to cache the values in this resource record set before submitting another request to Route 53. TTLs must be the same for all weighted resource record sets that have the same name and type.", - "Value": "The value that is applicable to the value of Type. For example, if Type is A, Value is an IPv4 address" - }, - "output": { - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example creates two weighted resource record sets. The resource with a Weight of 100 will get 1/3rd of traffic (100/100+200), and the other resource will get the rest of the traffic for example.com.", - "id": "to-create-weighted-resource-record-sets-1484348208522", - "title": "To create weighted resource record sets" - }, - { - "input": { - "ChangeBatch": { - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "d123rk29d0stfj.cloudfront.net", - "EvaluateTargetHealth": false, - "HostedZoneId": "Z2FDTNDATAQYW2" - }, - "Name": "example.com", - "Type": "A" - } - } - ], - "Comment": "CloudFront distribution for example.com" - }, - "HostedZoneId": "Z3M3LMPEXAMPLE" - }, - "output": { - "ChangeInfo": { - "Comment": "CloudFront distribution for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - }, - "comments": { - "input": { - "Action": "Valid values: CREATE, DELETE, UPSERT", - "DNSName": "The DNS name assigned to the resource", - "HostedZoneId": "Depends on the type of resource that you want to route traffic to", - "Type": "A or AAAA, depending on the type of resource that you want to route traffic to" - }, - "output": { - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example creates an alias resource record set that routes traffic to a CloudFront distribution.", - "id": "to-create-an-alias-resource-record-set-1484348404062", - "title": "To create an alias resource record set" - }, - { - "input": { - "ChangeBatch": { - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "example-com-123456789.us-east-2.elb.amazonaws.com ", - "EvaluateTargetHealth": true, - "HostedZoneId": "Z3AADJGX6KTTL2" - }, - "Name": "example.com", - "SetIdentifier": "Ohio region", - "Type": "A", - "Weight": 100 - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "example-com-987654321.us-west-2.elb.amazonaws.com ", - "EvaluateTargetHealth": true, - "HostedZoneId": "Z1H1FL5HABSF5" - }, - "Name": "example.com", - "SetIdentifier": "Oregon region", - "Type": "A", - "Weight": 200 - } - } - ], - "Comment": "ELB load balancers for example.com" - }, - "HostedZoneId": "Z3M3LMPEXAMPLE" - }, - "output": { - "ChangeInfo": { - "Comment": "ELB load balancers for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - }, - "comments": { - "input": { - "Action": "Valid values: CREATE, DELETE, UPSERT", - "DNSName": "The DNS name assigned to the resource", - "HostedZoneId": "Depends on the type of resource that you want to route traffic to", - "Type": "A or AAAA, depending on the type of resource that you want to route traffic to" - }, - "output": { - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example creates two weighted alias resource record sets that route traffic to ELB load balancers. The resource with a Weight of 100 will get 1/3rd of traffic (100/100+200), and the other resource will get the rest of the traffic for example.com.", - "id": "to-create-weighted-alias-resource-record-sets-1484349467416", - "title": "To create weighted alias resource record sets" - }, - { - "input": { - "ChangeBatch": { - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "HealthCheckId": "abcdef11-2222-3333-4444-555555fedcba", - "Name": "example.com", - "Region": "us-east-2", - "ResourceRecords": [ - { - "Value": "192.0.2.44" - } - ], - "SetIdentifier": "Ohio region", - "TTL": 60, - "Type": "A" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "HealthCheckId": "abcdef66-7777-8888-9999-000000fedcba", - "Name": "example.com", - "Region": "us-west-2", - "ResourceRecords": [ - { - "Value": "192.0.2.45" - } - ], - "SetIdentifier": "Oregon region", - "TTL": 60, - "Type": "A" - } - } - ], - "Comment": "EC2 instances for example.com" - }, - "HostedZoneId": "Z3M3LMPEXAMPLE" - }, - "output": { - "ChangeInfo": { - "Comment": "EC2 instances for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - }, - "comments": { - "input": { - "Action": "Valid values: CREATE, DELETE, UPSERT", - "TTL": "The amount of time in seconds that you want DNS resolvers to cache the values in this resource record set before submitting another request to Route 53", - "Value": "The value that is applicable to the value of Type. For example, if Type is A, Value is an IPv4 address" - }, - "output": { - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example creates two latency resource record sets that route traffic to EC2 instances. Traffic for example.com is routed either to the Ohio region or the Oregon region, depending on the latency between the user and those regions.", - "id": "to-create-latency-resource-record-sets-1484350219917", - "title": "To create latency resource record sets" - }, - { - "input": { - "ChangeBatch": { - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "example-com-123456789.us-east-2.elb.amazonaws.com ", - "EvaluateTargetHealth": true, - "HostedZoneId": "Z3AADJGX6KTTL2" - }, - "Name": "example.com", - "Region": "us-east-2", - "SetIdentifier": "Ohio region", - "Type": "A" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "example-com-987654321.us-west-2.elb.amazonaws.com ", - "EvaluateTargetHealth": true, - "HostedZoneId": "Z1H1FL5HABSF5" - }, - "Name": "example.com", - "Region": "us-west-2", - "SetIdentifier": "Oregon region", - "Type": "A" - } - } - ], - "Comment": "ELB load balancers for example.com" - }, - "HostedZoneId": "Z3M3LMPEXAMPLE" - }, - "output": { - "ChangeInfo": { - "Comment": "ELB load balancers for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - }, - "comments": { - "input": { - "Action": "Valid values: CREATE, DELETE, UPSERT", - "DNSName": "The DNS name assigned to the resource", - "HostedZoneId": "Depends on the type of resource that you want to route traffic to", - "Type": "A or AAAA, depending on the type of resource that you want to route traffic to" - }, - "output": { - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example creates two latency alias resource record sets that route traffic for example.com to ELB load balancers. Requests are routed either to the Ohio region or the Oregon region, depending on the latency between the user and those regions.", - "id": "to-create-latency-alias-resource-record-sets-1484601774179", - "title": "To create latency alias resource record sets" - }, - { - "input": { - "ChangeBatch": { - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "Failover": "PRIMARY", - "HealthCheckId": "abcdef11-2222-3333-4444-555555fedcba", - "Name": "example.com", - "ResourceRecords": [ - { - "Value": "192.0.2.44" - } - ], - "SetIdentifier": "Ohio region", - "TTL": 60, - "Type": "A" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "Failover": "SECONDARY", - "HealthCheckId": "abcdef66-7777-8888-9999-000000fedcba", - "Name": "example.com", - "ResourceRecords": [ - { - "Value": "192.0.2.45" - } - ], - "SetIdentifier": "Oregon region", - "TTL": 60, - "Type": "A" - } - } - ], - "Comment": "Failover configuration for example.com" - }, - "HostedZoneId": "Z3M3LMPEXAMPLE" - }, - "output": { - "ChangeInfo": { - "Comment": "Failover configuration for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - }, - "comments": { - "input": { - "Action": "Valid values: CREATE, DELETE, UPSERT", - "TTL": "The amount of time in seconds that you want DNS resolvers to cache the values in this resource record set before submitting another request to Route 53", - "Value": "The value that is applicable to the value of Type. For example, if Type is A, Value is an IPv4 address" - }, - "output": { - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example creates primary and secondary failover resource record sets that route traffic to EC2 instances. Traffic is generally routed to the primary resource, in the Ohio region. If that resource is unavailable, traffic is routed to the secondary resource, in the Oregon region.", - "id": "to-create-failover-resource-record-sets-1484604541740", - "title": "To create failover resource record sets" - }, - { - "input": { - "ChangeBatch": { - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "example-com-123456789.us-east-2.elb.amazonaws.com ", - "EvaluateTargetHealth": true, - "HostedZoneId": "Z3AADJGX6KTTL2" - }, - "Failover": "PRIMARY", - "Name": "example.com", - "SetIdentifier": "Ohio region", - "Type": "A" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "example-com-987654321.us-west-2.elb.amazonaws.com ", - "EvaluateTargetHealth": true, - "HostedZoneId": "Z1H1FL5HABSF5" - }, - "Failover": "SECONDARY", - "Name": "example.com", - "SetIdentifier": "Oregon region", - "Type": "A" - } - } - ], - "Comment": "Failover alias configuration for example.com" - }, - "HostedZoneId": "Z3M3LMPEXAMPLE" - }, - "output": { - "ChangeInfo": { - "Comment": "Failover alias configuration for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - }, - "comments": { - "input": { - "Action": "Valid values: CREATE, DELETE, UPSERT", - "DNSName": "The DNS name assigned to the resource", - "HostedZoneId": "Depends on the type of resource that you want to route traffic to", - "Type": "A or AAAA, depending on the type of resource that you want to route traffic to" - }, - "output": { - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example creates primary and secondary failover alias resource record sets that route traffic to ELB load balancers. Traffic is generally routed to the primary resource, in the Ohio region. If that resource is unavailable, traffic is routed to the secondary resource, in the Oregon region.", - "id": "to-create-failover-alias-resource-record-sets-1484607497724", - "title": "To create failover alias resource record sets" - }, - { - "input": { - "ChangeBatch": { - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "GeoLocation": { - "ContinentCode": "NA" - }, - "Name": "example.com", - "ResourceRecords": [ - { - "Value": "192.0.2.44" - } - ], - "SetIdentifier": "North America", - "TTL": 60, - "Type": "A" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "GeoLocation": { - "ContinentCode": "SA" - }, - "Name": "example.com", - "ResourceRecords": [ - { - "Value": "192.0.2.45" - } - ], - "SetIdentifier": "South America", - "TTL": 60, - "Type": "A" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "GeoLocation": { - "ContinentCode": "EU" - }, - "Name": "example.com", - "ResourceRecords": [ - { - "Value": "192.0.2.46" - } - ], - "SetIdentifier": "Europe", - "TTL": 60, - "Type": "A" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "GeoLocation": { - "CountryCode": "*" - }, - "Name": "example.com", - "ResourceRecords": [ - { - "Value": "192.0.2.47" - } - ], - "SetIdentifier": "Other locations", - "TTL": 60, - "Type": "A" - } - } - ], - "Comment": "Geolocation configuration for example.com" - }, - "HostedZoneId": "Z3M3LMPEXAMPLE" - }, - "output": { - "ChangeInfo": { - "Comment": "Geolocation configuration for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - }, - "comments": { - "input": { - "Action": "Valid values: CREATE, DELETE, UPSERT", - "TTL": "The amount of time in seconds that you want DNS resolvers to cache the values in this resource record set before submitting another request to Route 53", - "Value": "The value that is applicable to the value of Type. For example, if Type is A, Value is an IPv4 address" - }, - "output": { - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example creates four geolocation resource record sets that use IPv4 addresses to route traffic to resources such as web servers running on EC2 instances. Traffic is routed to one of four IP addresses, for North America (NA), for South America (SA), for Europe (EU), and for all other locations (*).", - "id": "to-create-geolocation-resource-record-sets-1484612462466", - "title": "To create geolocation resource record sets" - }, - { - "input": { - "ChangeBatch": { - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "example-com-123456789.us-east-2.elb.amazonaws.com ", - "EvaluateTargetHealth": true, - "HostedZoneId": "Z3AADJGX6KTTL2" - }, - "GeoLocation": { - "ContinentCode": "NA" - }, - "Name": "example.com", - "SetIdentifier": "North America", - "Type": "A" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "example-com-234567890.sa-east-1.elb.amazonaws.com ", - "EvaluateTargetHealth": true, - "HostedZoneId": "Z2P70J7HTTTPLU" - }, - "GeoLocation": { - "ContinentCode": "SA" - }, - "Name": "example.com", - "SetIdentifier": "South America", - "Type": "A" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "example-com-234567890.eu-central-1.elb.amazonaws.com ", - "EvaluateTargetHealth": true, - "HostedZoneId": "Z215JYRZR1TBD5" - }, - "GeoLocation": { - "ContinentCode": "EU" - }, - "Name": "example.com", - "SetIdentifier": "Europe", - "Type": "A" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "AliasTarget": { - "DNSName": "example-com-234567890.ap-southeast-1.elb.amazonaws.com ", - "EvaluateTargetHealth": true, - "HostedZoneId": "Z1LMS91P8CMLE5" - }, - "GeoLocation": { - "CountryCode": "*" - }, - "Name": "example.com", - "SetIdentifier": "Other locations", - "Type": "A" - } - } - ], - "Comment": "Geolocation alias configuration for example.com" - }, - "HostedZoneId": "Z3M3LMPEXAMPLE" - }, - "output": { - "ChangeInfo": { - "Comment": "Geolocation alias configuration for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - }, - "comments": { - "input": { - "Action": "Valid values: CREATE, DELETE, UPSERT", - "DNSName": "The DNS name assigned to the resource", - "HostedZoneId": "Depends on the type of resource that you want to route traffic to", - "Type": "A or AAAA, depending on the type of resource that you want to route traffic to" - }, - "output": { - "SubmittedAt": "The date and time are in Coordinated Universal Time (UTC) and ISO 8601 format." - } - }, - "description": "The following example creates four geolocation alias resource record sets that route traffic to ELB load balancers. Traffic is routed to one of four IP addresses, for North America (NA), for South America (SA), for Europe (EU), and for all other locations (*).", - "id": "to-create-geolocation-alias-resource-record-sets-1484612871203", - "title": "To create geolocation alias resource record sets" - } - ], - "ChangeTagsForResource": [ - { - "input": { - "AddTags": [ - { - "Key": "apex", - "Value": "3874" - }, - { - "Key": "acme", - "Value": "4938" - } - ], - "RemoveTagKeys": [ - "Nadir" - ], - "ResourceId": "Z3M3LMPEXAMPLE", - "ResourceType": "hostedzone" - }, - "output": { - }, - "comments": { - "input": { - "ResourceType": "Valid values are healthcheck and hostedzone." - }, - "output": { - } - }, - "description": "The following example adds two tags and removes one tag from the hosted zone with ID Z3M3LMPEXAMPLE.", - "id": "to-add-or-remove-tags-from-a-hosted-zone-or-health-check-1484084752409", - "title": "To add or remove tags from a hosted zone or health check" - } - ], - "GetHostedZone": [ - { - "input": { - "Id": "Z3M3LMPEXAMPLE" - }, - "output": { - "DelegationSet": { - "NameServers": [ - "ns-2048.awsdns-64.com", - "ns-2049.awsdns-65.net", - "ns-2050.awsdns-66.org", - "ns-2051.awsdns-67.co.uk" - ] - }, - "HostedZone": { - "CallerReference": "C741617D-04E4-F8DE-B9D7-0D150FC61C2E", - "Config": { - "PrivateZone": false - }, - "Id": "/hostedzone/Z3M3LMPEXAMPLE", - "Name": "myawsbucket.com.", - "ResourceRecordSetCount": 8 - } - }, - "comments": { - "input": { - }, - "output": { - "Id": "The ID of the hosted zone that you specified in the GetHostedZone request.", - "Name": "The name of the hosted zone.", - "NameServers": "The servers that you specify in your domain configuration.", - "PrivateZone": "True if this is a private hosted zone, false if it's a public hosted zone." - } - }, - "description": "The following example gets information about the Z3M3LMPEXAMPLE hosted zone.", - "id": "to-get-information-about-a-hosted-zone-1481752361124", - "title": "To get information about a hosted zone" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/route53-2013-04-01.min.json b/src/node_modules/aws-sdk/apis/route53-2013-04-01.min.json deleted file mode 100644 index 0c6e4d3..0000000 --- a/src/node_modules/aws-sdk/apis/route53-2013-04-01.min.json +++ /dev/null @@ -1,2283 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-04-01", - "endpointPrefix": "route53", - "globalEndpoint": "route53.amazonaws.com", - "protocol": "rest-xml", - "serviceAbbreviation": "Route 53", - "serviceFullName": "Amazon Route 53", - "signatureVersion": "v4", - "uid": "route53-2013-04-01" - }, - "operations": { - "AssociateVPCWithHostedZone": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/associatevpc" - }, - "input": { - "locationName": "AssociateVPCWithHostedZoneRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "VPC" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "VPC": { - "shape": "S3" - }, - "Comment": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "ChangeResourceRecordSets": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/rrset/" - }, - "input": { - "locationName": "ChangeResourceRecordSetsRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "ChangeBatch" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "ChangeBatch": { - "type": "structure", - "required": [ - "Changes" - ], - "members": { - "Comment": {}, - "Changes": { - "type": "list", - "member": { - "locationName": "Change", - "type": "structure", - "required": [ - "Action", - "ResourceRecordSet" - ], - "members": { - "Action": {}, - "ResourceRecordSet": { - "shape": "Sh" - } - } - } - } - } - } - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "ChangeTagsForResource": { - "http": { - "requestUri": "/2013-04-01/tags/{ResourceType}/{ResourceId}" - }, - "input": { - "locationName": "ChangeTagsForResourceRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "ResourceType", - "ResourceId" - ], - "members": { - "ResourceType": { - "location": "uri", - "locationName": "ResourceType" - }, - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - }, - "AddTags": { - "shape": "S15" - }, - "RemoveTagKeys": { - "type": "list", - "member": { - "locationName": "Key" - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateHealthCheck": { - "http": { - "requestUri": "/2013-04-01/healthcheck", - "responseCode": 201 - }, - "input": { - "locationName": "CreateHealthCheckRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "CallerReference", - "HealthCheckConfig" - ], - "members": { - "CallerReference": {}, - "HealthCheckConfig": { - "shape": "S1d" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HealthCheck", - "Location" - ], - "members": { - "HealthCheck": { - "shape": "S1y" - }, - "Location": { - "location": "header", - "locationName": "Location" - } - } - } - }, - "CreateHostedZone": { - "http": { - "requestUri": "/2013-04-01/hostedzone", - "responseCode": 201 - }, - "input": { - "locationName": "CreateHostedZoneRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "Name", - "CallerReference" - ], - "members": { - "Name": {}, - "VPC": { - "shape": "S3" - }, - "CallerReference": {}, - "HostedZoneConfig": { - "shape": "S2e" - }, - "DelegationSetId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "HostedZone", - "ChangeInfo", - "DelegationSet", - "Location" - ], - "members": { - "HostedZone": { - "shape": "S2h" - }, - "ChangeInfo": { - "shape": "S8" - }, - "DelegationSet": { - "shape": "S2j" - }, - "VPC": { - "shape": "S3" - }, - "Location": { - "location": "header", - "locationName": "Location" - } - } - } - }, - "CreateReusableDelegationSet": { - "http": { - "requestUri": "/2013-04-01/delegationset", - "responseCode": 201 - }, - "input": { - "locationName": "CreateReusableDelegationSetRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "CallerReference" - ], - "members": { - "CallerReference": {}, - "HostedZoneId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "DelegationSet", - "Location" - ], - "members": { - "DelegationSet": { - "shape": "S2j" - }, - "Location": { - "location": "header", - "locationName": "Location" - } - } - } - }, - "CreateTrafficPolicy": { - "http": { - "requestUri": "/2013-04-01/trafficpolicy", - "responseCode": 201 - }, - "input": { - "locationName": "CreateTrafficPolicyRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "Name", - "Document" - ], - "members": { - "Name": {}, - "Document": {}, - "Comment": {} - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicy", - "Location" - ], - "members": { - "TrafficPolicy": { - "shape": "S2s" - }, - "Location": { - "location": "header", - "locationName": "Location" - } - } - } - }, - "CreateTrafficPolicyInstance": { - "http": { - "requestUri": "/2013-04-01/trafficpolicyinstance", - "responseCode": 201 - }, - "input": { - "locationName": "CreateTrafficPolicyInstanceRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "Name", - "TTL", - "TrafficPolicyId", - "TrafficPolicyVersion" - ], - "members": { - "HostedZoneId": {}, - "Name": {}, - "TTL": { - "type": "long" - }, - "TrafficPolicyId": {}, - "TrafficPolicyVersion": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicyInstance", - "Location" - ], - "members": { - "TrafficPolicyInstance": { - "shape": "S2x" - }, - "Location": { - "location": "header", - "locationName": "Location" - } - } - } - }, - "CreateTrafficPolicyVersion": { - "http": { - "requestUri": "/2013-04-01/trafficpolicy/{Id}", - "responseCode": 201 - }, - "input": { - "locationName": "CreateTrafficPolicyVersionRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "Id", - "Document" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Document": {}, - "Comment": {} - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicy", - "Location" - ], - "members": { - "TrafficPolicy": { - "shape": "S2s" - }, - "Location": { - "location": "header", - "locationName": "Location" - } - } - } - }, - "CreateVPCAssociationAuthorization": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/authorizevpcassociation" - }, - "input": { - "locationName": "CreateVPCAssociationAuthorizationRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "VPC" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "VPC": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HostedZoneId", - "VPC" - ], - "members": { - "HostedZoneId": {}, - "VPC": { - "shape": "S3" - } - } - } - }, - "DeleteHealthCheck": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" - }, - "input": { - "type": "structure", - "required": [ - "HealthCheckId" - ], - "members": { - "HealthCheckId": { - "location": "uri", - "locationName": "HealthCheckId" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteHostedZone": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/hostedzone/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "DeleteReusableDelegationSet": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/delegationset/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteTrafficPolicy": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" - }, - "input": { - "type": "structure", - "required": [ - "Id", - "Version" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Version": { - "location": "uri", - "locationName": "Version", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteTrafficPolicyInstance": { - "http": { - "method": "DELETE", - "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteVPCAssociationAuthorization": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/deauthorizevpcassociation" - }, - "input": { - "locationName": "DeleteVPCAssociationAuthorizationRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "VPC" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "VPC": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisassociateVPCFromHostedZone": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}/disassociatevpc" - }, - "input": { - "locationName": "DisassociateVPCFromHostedZoneRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HostedZoneId", - "VPC" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "VPC": { - "shape": "S3" - }, - "Comment": {} - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "GetChange": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/change/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "ChangeInfo" - ], - "members": { - "ChangeInfo": { - "shape": "S8" - } - } - } - }, - "GetCheckerIpRanges": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/checkeripranges" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "CheckerIpRanges" - ], - "members": { - "CheckerIpRanges": { - "type": "list", - "member": {} - } - } - } - }, - "GetGeoLocation": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/geolocation" - }, - "input": { - "type": "structure", - "members": { - "ContinentCode": { - "location": "querystring", - "locationName": "continentcode" - }, - "CountryCode": { - "location": "querystring", - "locationName": "countrycode" - }, - "SubdivisionCode": { - "location": "querystring", - "locationName": "subdivisioncode" - } - } - }, - "output": { - "type": "structure", - "required": [ - "GeoLocationDetails" - ], - "members": { - "GeoLocationDetails": { - "shape": "S3r" - } - } - } - }, - "GetHealthCheck": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" - }, - "input": { - "type": "structure", - "required": [ - "HealthCheckId" - ], - "members": { - "HealthCheckId": { - "location": "uri", - "locationName": "HealthCheckId" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HealthCheck" - ], - "members": { - "HealthCheck": { - "shape": "S1y" - } - } - } - }, - "GetHealthCheckCount": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/healthcheckcount" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "HealthCheckCount" - ], - "members": { - "HealthCheckCount": { - "type": "long" - } - } - } - }, - "GetHealthCheckLastFailureReason": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason" - }, - "input": { - "type": "structure", - "required": [ - "HealthCheckId" - ], - "members": { - "HealthCheckId": { - "location": "uri", - "locationName": "HealthCheckId" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HealthCheckObservations" - ], - "members": { - "HealthCheckObservations": { - "shape": "S42" - } - } - } - }, - "GetHealthCheckStatus": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}/status" - }, - "input": { - "type": "structure", - "required": [ - "HealthCheckId" - ], - "members": { - "HealthCheckId": { - "location": "uri", - "locationName": "HealthCheckId" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HealthCheckObservations" - ], - "members": { - "HealthCheckObservations": { - "shape": "S42" - } - } - } - }, - "GetHostedZone": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzone/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HostedZone" - ], - "members": { - "HostedZone": { - "shape": "S2h" - }, - "DelegationSet": { - "shape": "S2j" - }, - "VPCs": { - "shape": "S4a" - } - } - } - }, - "GetHostedZoneCount": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzonecount" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "HostedZoneCount" - ], - "members": { - "HostedZoneCount": { - "type": "long" - } - } - } - }, - "GetReusableDelegationSet": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/delegationset/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "DelegationSet" - ], - "members": { - "DelegationSet": { - "shape": "S2j" - } - } - } - }, - "GetTrafficPolicy": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" - }, - "input": { - "type": "structure", - "required": [ - "Id", - "Version" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Version": { - "location": "uri", - "locationName": "Version", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicy" - ], - "members": { - "TrafficPolicy": { - "shape": "S2s" - } - } - } - }, - "GetTrafficPolicyInstance": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicyInstance" - ], - "members": { - "TrafficPolicyInstance": { - "shape": "S2x" - } - } - } - }, - "GetTrafficPolicyInstanceCount": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/trafficpolicyinstancecount" - }, - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicyInstanceCount" - ], - "members": { - "TrafficPolicyInstanceCount": { - "type": "integer" - } - } - } - }, - "ListGeoLocations": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/geolocations" - }, - "input": { - "type": "structure", - "members": { - "StartContinentCode": { - "location": "querystring", - "locationName": "startcontinentcode" - }, - "StartCountryCode": { - "location": "querystring", - "locationName": "startcountrycode" - }, - "StartSubdivisionCode": { - "location": "querystring", - "locationName": "startsubdivisioncode" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "GeoLocationDetailsList", - "IsTruncated", - "MaxItems" - ], - "members": { - "GeoLocationDetailsList": { - "type": "list", - "member": { - "shape": "S3r", - "locationName": "GeoLocationDetails" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "NextContinentCode": {}, - "NextCountryCode": {}, - "NextSubdivisionCode": {}, - "MaxItems": {} - } - } - }, - "ListHealthChecks": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/healthcheck" - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HealthChecks", - "Marker", - "IsTruncated", - "MaxItems" - ], - "members": { - "HealthChecks": { - "type": "list", - "member": { - "shape": "S1y", - "locationName": "HealthCheck" - } - }, - "Marker": {}, - "IsTruncated": { - "type": "boolean" - }, - "NextMarker": {}, - "MaxItems": {} - } - } - }, - "ListHostedZones": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzone" - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - }, - "DelegationSetId": { - "location": "querystring", - "locationName": "delegationsetid" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HostedZones", - "Marker", - "IsTruncated", - "MaxItems" - ], - "members": { - "HostedZones": { - "shape": "S4y" - }, - "Marker": {}, - "IsTruncated": { - "type": "boolean" - }, - "NextMarker": {}, - "MaxItems": {} - } - } - }, - "ListHostedZonesByName": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzonesbyname" - }, - "input": { - "type": "structure", - "members": { - "DNSName": { - "location": "querystring", - "locationName": "dnsname" - }, - "HostedZoneId": { - "location": "querystring", - "locationName": "hostedzoneid" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HostedZones", - "IsTruncated", - "MaxItems" - ], - "members": { - "HostedZones": { - "shape": "S4y" - }, - "DNSName": {}, - "HostedZoneId": {}, - "IsTruncated": { - "type": "boolean" - }, - "NextDNSName": {}, - "NextHostedZoneId": {}, - "MaxItems": {} - } - } - }, - "ListResourceRecordSets": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzone/{Id}/rrset" - }, - "input": { - "type": "structure", - "required": [ - "HostedZoneId" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "StartRecordName": { - "location": "querystring", - "locationName": "name" - }, - "StartRecordType": { - "location": "querystring", - "locationName": "type" - }, - "StartRecordIdentifier": { - "location": "querystring", - "locationName": "identifier" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "ResourceRecordSets", - "IsTruncated", - "MaxItems" - ], - "members": { - "ResourceRecordSets": { - "type": "list", - "member": { - "shape": "Sh", - "locationName": "ResourceRecordSet" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "NextRecordName": {}, - "NextRecordType": {}, - "NextRecordIdentifier": {}, - "MaxItems": {} - } - } - }, - "ListReusableDelegationSets": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/delegationset" - }, - "input": { - "type": "structure", - "members": { - "Marker": { - "location": "querystring", - "locationName": "marker" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "DelegationSets", - "Marker", - "IsTruncated", - "MaxItems" - ], - "members": { - "DelegationSets": { - "type": "list", - "member": { - "shape": "S2j", - "locationName": "DelegationSet" - } - }, - "Marker": {}, - "IsTruncated": { - "type": "boolean" - }, - "NextMarker": {}, - "MaxItems": {} - } - } - }, - "ListTagsForResource": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/tags/{ResourceType}/{ResourceId}" - }, - "input": { - "type": "structure", - "required": [ - "ResourceType", - "ResourceId" - ], - "members": { - "ResourceType": { - "location": "uri", - "locationName": "ResourceType" - }, - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - } - } - }, - "output": { - "type": "structure", - "required": [ - "ResourceTagSet" - ], - "members": { - "ResourceTagSet": { - "shape": "S59" - } - } - } - }, - "ListTagsForResources": { - "http": { - "requestUri": "/2013-04-01/tags/{ResourceType}" - }, - "input": { - "locationName": "ListTagsForResourcesRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "ResourceType", - "ResourceIds" - ], - "members": { - "ResourceType": { - "location": "uri", - "locationName": "ResourceType" - }, - "ResourceIds": { - "type": "list", - "member": { - "locationName": "ResourceId" - } - } - } - }, - "output": { - "type": "structure", - "required": [ - "ResourceTagSets" - ], - "members": { - "ResourceTagSets": { - "type": "list", - "member": { - "shape": "S59", - "locationName": "ResourceTagSet" - } - } - } - } - }, - "ListTrafficPolicies": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/trafficpolicies" - }, - "input": { - "type": "structure", - "members": { - "TrafficPolicyIdMarker": { - "location": "querystring", - "locationName": "trafficpolicyid" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicySummaries", - "IsTruncated", - "TrafficPolicyIdMarker", - "MaxItems" - ], - "members": { - "TrafficPolicySummaries": { - "type": "list", - "member": { - "locationName": "TrafficPolicySummary", - "type": "structure", - "required": [ - "Id", - "Name", - "Type", - "LatestVersion", - "TrafficPolicyCount" - ], - "members": { - "Id": {}, - "Name": {}, - "Type": {}, - "LatestVersion": { - "type": "integer" - }, - "TrafficPolicyCount": { - "type": "integer" - } - } - } - }, - "IsTruncated": { - "type": "boolean" - }, - "TrafficPolicyIdMarker": {}, - "MaxItems": {} - } - } - }, - "ListTrafficPolicyInstances": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/trafficpolicyinstances" - }, - "input": { - "type": "structure", - "members": { - "HostedZoneIdMarker": { - "location": "querystring", - "locationName": "hostedzoneid" - }, - "TrafficPolicyInstanceNameMarker": { - "location": "querystring", - "locationName": "trafficpolicyinstancename" - }, - "TrafficPolicyInstanceTypeMarker": { - "location": "querystring", - "locationName": "trafficpolicyinstancetype" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicyInstances", - "IsTruncated", - "MaxItems" - ], - "members": { - "TrafficPolicyInstances": { - "shape": "S5k" - }, - "HostedZoneIdMarker": {}, - "TrafficPolicyInstanceNameMarker": {}, - "TrafficPolicyInstanceTypeMarker": {}, - "IsTruncated": { - "type": "boolean" - }, - "MaxItems": {} - } - } - }, - "ListTrafficPolicyInstancesByHostedZone": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/trafficpolicyinstances/hostedzone" - }, - "input": { - "type": "structure", - "required": [ - "HostedZoneId" - ], - "members": { - "HostedZoneId": { - "location": "querystring", - "locationName": "id" - }, - "TrafficPolicyInstanceNameMarker": { - "location": "querystring", - "locationName": "trafficpolicyinstancename" - }, - "TrafficPolicyInstanceTypeMarker": { - "location": "querystring", - "locationName": "trafficpolicyinstancetype" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicyInstances", - "IsTruncated", - "MaxItems" - ], - "members": { - "TrafficPolicyInstances": { - "shape": "S5k" - }, - "TrafficPolicyInstanceNameMarker": {}, - "TrafficPolicyInstanceTypeMarker": {}, - "IsTruncated": { - "type": "boolean" - }, - "MaxItems": {} - } - } - }, - "ListTrafficPolicyInstancesByPolicy": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/trafficpolicyinstances/trafficpolicy" - }, - "input": { - "type": "structure", - "required": [ - "TrafficPolicyId", - "TrafficPolicyVersion" - ], - "members": { - "TrafficPolicyId": { - "location": "querystring", - "locationName": "id" - }, - "TrafficPolicyVersion": { - "location": "querystring", - "locationName": "version", - "type": "integer" - }, - "HostedZoneIdMarker": { - "location": "querystring", - "locationName": "hostedzoneid" - }, - "TrafficPolicyInstanceNameMarker": { - "location": "querystring", - "locationName": "trafficpolicyinstancename" - }, - "TrafficPolicyInstanceTypeMarker": { - "location": "querystring", - "locationName": "trafficpolicyinstancetype" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicyInstances", - "IsTruncated", - "MaxItems" - ], - "members": { - "TrafficPolicyInstances": { - "shape": "S5k" - }, - "HostedZoneIdMarker": {}, - "TrafficPolicyInstanceNameMarker": {}, - "TrafficPolicyInstanceTypeMarker": {}, - "IsTruncated": { - "type": "boolean" - }, - "MaxItems": {} - } - } - }, - "ListTrafficPolicyVersions": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/trafficpolicies/{Id}/versions" - }, - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "TrafficPolicyVersionMarker": { - "location": "querystring", - "locationName": "trafficpolicyversion" - }, - "MaxItems": { - "location": "querystring", - "locationName": "maxitems" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicies", - "IsTruncated", - "TrafficPolicyVersionMarker", - "MaxItems" - ], - "members": { - "TrafficPolicies": { - "type": "list", - "member": { - "shape": "S2s", - "locationName": "TrafficPolicy" - } - }, - "IsTruncated": { - "type": "boolean" - }, - "TrafficPolicyVersionMarker": {}, - "MaxItems": {} - } - } - }, - "ListVPCAssociationAuthorizations": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/hostedzone/{Id}/authorizevpcassociation" - }, - "input": { - "type": "structure", - "required": [ - "HostedZoneId" - ], - "members": { - "HostedZoneId": { - "location": "uri", - "locationName": "Id" - }, - "NextToken": { - "location": "querystring", - "locationName": "nexttoken" - }, - "MaxResults": { - "location": "querystring", - "locationName": "maxresults" - } - } - }, - "output": { - "type": "structure", - "required": [ - "HostedZoneId", - "VPCs" - ], - "members": { - "HostedZoneId": {}, - "NextToken": {}, - "VPCs": { - "shape": "S4a" - } - } - } - }, - "TestDNSAnswer": { - "http": { - "method": "GET", - "requestUri": "/2013-04-01/testdnsanswer" - }, - "input": { - "type": "structure", - "required": [ - "HostedZoneId", - "RecordName", - "RecordType" - ], - "members": { - "HostedZoneId": { - "location": "querystring", - "locationName": "hostedzoneid" - }, - "RecordName": { - "location": "querystring", - "locationName": "recordname" - }, - "RecordType": { - "location": "querystring", - "locationName": "recordtype" - }, - "ResolverIP": { - "location": "querystring", - "locationName": "resolverip" - }, - "EDNS0ClientSubnetIP": { - "location": "querystring", - "locationName": "edns0clientsubnetip" - }, - "EDNS0ClientSubnetMask": { - "location": "querystring", - "locationName": "edns0clientsubnetmask" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Nameserver", - "RecordName", - "RecordType", - "RecordData", - "ResponseCode", - "Protocol" - ], - "members": { - "Nameserver": {}, - "RecordName": {}, - "RecordType": {}, - "RecordData": { - "type": "list", - "member": { - "locationName": "RecordDataEntry" - } - }, - "ResponseCode": {}, - "Protocol": {} - } - } - }, - "UpdateHealthCheck": { - "http": { - "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" - }, - "input": { - "locationName": "UpdateHealthCheckRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "HealthCheckId" - ], - "members": { - "HealthCheckId": { - "location": "uri", - "locationName": "HealthCheckId" - }, - "HealthCheckVersion": { - "type": "long" - }, - "IPAddress": {}, - "Port": { - "type": "integer" - }, - "ResourcePath": {}, - "FullyQualifiedDomainName": {}, - "SearchString": {}, - "FailureThreshold": { - "type": "integer" - }, - "Inverted": { - "type": "boolean" - }, - "HealthThreshold": { - "type": "integer" - }, - "ChildHealthChecks": { - "shape": "S1p" - }, - "EnableSNI": { - "type": "boolean" - }, - "Regions": { - "shape": "S1r" - }, - "AlarmIdentifier": { - "shape": "S1t" - }, - "InsufficientDataHealthStatus": {} - } - }, - "output": { - "type": "structure", - "required": [ - "HealthCheck" - ], - "members": { - "HealthCheck": { - "shape": "S1y" - } - } - } - }, - "UpdateHostedZoneComment": { - "http": { - "requestUri": "/2013-04-01/hostedzone/{Id}" - }, - "input": { - "locationName": "UpdateHostedZoneCommentRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Comment": {} - } - }, - "output": { - "type": "structure", - "required": [ - "HostedZone" - ], - "members": { - "HostedZone": { - "shape": "S2h" - } - } - } - }, - "UpdateTrafficPolicyComment": { - "http": { - "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" - }, - "input": { - "locationName": "UpdateTrafficPolicyCommentRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "Id", - "Version", - "Comment" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "Version": { - "location": "uri", - "locationName": "Version", - "type": "integer" - }, - "Comment": {} - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicy" - ], - "members": { - "TrafficPolicy": { - "shape": "S2s" - } - } - } - }, - "UpdateTrafficPolicyInstance": { - "http": { - "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" - }, - "input": { - "locationName": "UpdateTrafficPolicyInstanceRequest", - "xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - }, - "type": "structure", - "required": [ - "Id", - "TTL", - "TrafficPolicyId", - "TrafficPolicyVersion" - ], - "members": { - "Id": { - "location": "uri", - "locationName": "Id" - }, - "TTL": { - "type": "long" - }, - "TrafficPolicyId": {}, - "TrafficPolicyVersion": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TrafficPolicyInstance" - ], - "members": { - "TrafficPolicyInstance": { - "shape": "S2x" - } - } - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "members": { - "VPCRegion": {}, - "VPCId": {} - } - }, - "S8": { - "type": "structure", - "required": [ - "Id", - "Status", - "SubmittedAt" - ], - "members": { - "Id": {}, - "Status": {}, - "SubmittedAt": { - "type": "timestamp" - }, - "Comment": {} - } - }, - "Sh": { - "type": "structure", - "required": [ - "Name", - "Type" - ], - "members": { - "Name": {}, - "Type": {}, - "SetIdentifier": {}, - "Weight": { - "type": "long" - }, - "Region": {}, - "GeoLocation": { - "type": "structure", - "members": { - "ContinentCode": {}, - "CountryCode": {}, - "SubdivisionCode": {} - } - }, - "Failover": {}, - "MultiValueAnswer": { - "type": "boolean" - }, - "TTL": { - "type": "long" - }, - "ResourceRecords": { - "type": "list", - "member": { - "locationName": "ResourceRecord", - "type": "structure", - "required": [ - "Value" - ], - "members": { - "Value": {} - } - } - }, - "AliasTarget": { - "type": "structure", - "required": [ - "HostedZoneId", - "DNSName", - "EvaluateTargetHealth" - ], - "members": { - "HostedZoneId": {}, - "DNSName": {}, - "EvaluateTargetHealth": { - "type": "boolean" - } - } - }, - "HealthCheckId": {}, - "TrafficPolicyInstanceId": {} - } - }, - "S15": { - "type": "list", - "member": { - "locationName": "Tag", - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S1d": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "IPAddress": {}, - "Port": { - "type": "integer" - }, - "Type": {}, - "ResourcePath": {}, - "FullyQualifiedDomainName": {}, - "SearchString": {}, - "RequestInterval": { - "type": "integer" - }, - "FailureThreshold": { - "type": "integer" - }, - "MeasureLatency": { - "type": "boolean" - }, - "Inverted": { - "type": "boolean" - }, - "HealthThreshold": { - "type": "integer" - }, - "ChildHealthChecks": { - "shape": "S1p" - }, - "EnableSNI": { - "type": "boolean" - }, - "Regions": { - "shape": "S1r" - }, - "AlarmIdentifier": { - "shape": "S1t" - }, - "InsufficientDataHealthStatus": {} - } - }, - "S1p": { - "type": "list", - "member": { - "locationName": "ChildHealthCheck" - } - }, - "S1r": { - "type": "list", - "member": { - "locationName": "Region" - } - }, - "S1t": { - "type": "structure", - "required": [ - "Region", - "Name" - ], - "members": { - "Region": {}, - "Name": {} - } - }, - "S1y": { - "type": "structure", - "required": [ - "Id", - "CallerReference", - "HealthCheckConfig", - "HealthCheckVersion" - ], - "members": { - "Id": {}, - "CallerReference": {}, - "HealthCheckConfig": { - "shape": "S1d" - }, - "HealthCheckVersion": { - "type": "long" - }, - "CloudWatchAlarmConfiguration": { - "type": "structure", - "required": [ - "EvaluationPeriods", - "Threshold", - "ComparisonOperator", - "Period", - "MetricName", - "Namespace", - "Statistic" - ], - "members": { - "EvaluationPeriods": { - "type": "integer" - }, - "Threshold": { - "type": "double" - }, - "ComparisonOperator": {}, - "Period": { - "type": "integer" - }, - "MetricName": {}, - "Namespace": {}, - "Statistic": {}, - "Dimensions": { - "type": "list", - "member": { - "locationName": "Dimension", - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {} - } - } - } - } - } - } - }, - "S2e": { - "type": "structure", - "members": { - "Comment": {}, - "PrivateZone": { - "type": "boolean" - } - } - }, - "S2h": { - "type": "structure", - "required": [ - "Id", - "Name", - "CallerReference" - ], - "members": { - "Id": {}, - "Name": {}, - "CallerReference": {}, - "Config": { - "shape": "S2e" - }, - "ResourceRecordSetCount": { - "type": "long" - } - } - }, - "S2j": { - "type": "structure", - "required": [ - "NameServers" - ], - "members": { - "Id": {}, - "CallerReference": {}, - "NameServers": { - "type": "list", - "member": { - "locationName": "NameServer" - } - } - } - }, - "S2s": { - "type": "structure", - "required": [ - "Id", - "Version", - "Name", - "Type", - "Document" - ], - "members": { - "Id": {}, - "Version": { - "type": "integer" - }, - "Name": {}, - "Type": {}, - "Document": {}, - "Comment": {} - } - }, - "S2x": { - "type": "structure", - "required": [ - "Id", - "HostedZoneId", - "Name", - "TTL", - "State", - "Message", - "TrafficPolicyId", - "TrafficPolicyVersion", - "TrafficPolicyType" - ], - "members": { - "Id": {}, - "HostedZoneId": {}, - "Name": {}, - "TTL": { - "type": "long" - }, - "State": {}, - "Message": {}, - "TrafficPolicyId": {}, - "TrafficPolicyVersion": { - "type": "integer" - }, - "TrafficPolicyType": {} - } - }, - "S3r": { - "type": "structure", - "members": { - "ContinentCode": {}, - "ContinentName": {}, - "CountryCode": {}, - "CountryName": {}, - "SubdivisionCode": {}, - "SubdivisionName": {} - } - }, - "S42": { - "type": "list", - "member": { - "locationName": "HealthCheckObservation", - "type": "structure", - "members": { - "Region": {}, - "IPAddress": {}, - "StatusReport": { - "type": "structure", - "members": { - "Status": {}, - "CheckedTime": { - "type": "timestamp" - } - } - } - } - } - }, - "S4a": { - "type": "list", - "member": { - "shape": "S3", - "locationName": "VPC" - } - }, - "S4y": { - "type": "list", - "member": { - "shape": "S2h", - "locationName": "HostedZone" - } - }, - "S59": { - "type": "structure", - "members": { - "ResourceType": {}, - "ResourceId": {}, - "Tags": { - "shape": "S15" - } - } - }, - "S5k": { - "type": "list", - "member": { - "shape": "S2x", - "locationName": "TrafficPolicyInstance" - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json b/src/node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json deleted file mode 100644 index 5a7cea3..0000000 --- a/src/node_modules/aws-sdk/apis/route53-2013-04-01.paginators.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "pagination": { - "ListHealthChecks": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "NextMarker", - "result_key": "HealthChecks" - }, - "ListHostedZones": { - "input_token": "Marker", - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": "NextMarker", - "result_key": "HostedZones" - }, - "ListResourceRecordSets": { - "input_token": [ - "StartRecordName", - "StartRecordType", - "StartRecordIdentifier" - ], - "limit_key": "MaxItems", - "more_results": "IsTruncated", - "output_token": [ - "NextRecordName", - "NextRecordType", - "NextRecordIdentifier" - ], - "result_key": "ResourceRecordSets" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/route53-2013-04-01.waiters2.json b/src/node_modules/aws-sdk/apis/route53-2013-04-01.waiters2.json deleted file mode 100644 index 94aad39..0000000 --- a/src/node_modules/aws-sdk/apis/route53-2013-04-01.waiters2.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 2, - "waiters": { - "ResourceRecordSetsChanged": { - "delay": 30, - "maxAttempts": 60, - "operation": "GetChange", - "acceptors": [ - { - "matcher": "path", - "expected": "INSYNC", - "argument": "ChangeInfo.Status", - "state": "success" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/route53domains-2014-05-15.examples.json b/src/node_modules/aws-sdk/apis/route53domains-2014-05-15.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/route53domains-2014-05-15.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json b/src/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json deleted file mode 100644 index 91831da..0000000 --- a/src/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +++ /dev/null @@ -1,748 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-05-15", - "endpointPrefix": "route53domains", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon Route 53 Domains", - "signatureVersion": "v4", - "targetPrefix": "Route53Domains_v20140515", - "uid": "route53domains-2014-05-15" - }, - "operations": { - "CheckDomainAvailability": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "IdnLangCode": {} - } - }, - "output": { - "type": "structure", - "required": [ - "Availability" - ], - "members": { - "Availability": {} - } - } - }, - "DeleteTagsForDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "TagsToDelete" - ], - "members": { - "DomainName": {}, - "TagsToDelete": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisableDomainAutoRenew": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisableDomainTransferLock": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "OperationId" - ], - "members": { - "OperationId": {} - } - } - }, - "EnableDomainAutoRenew": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "EnableDomainTransferLock": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "OperationId" - ], - "members": { - "OperationId": {} - } - } - }, - "GetContactReachabilityStatus": { - "input": { - "type": "structure", - "members": { - "domainName": {} - } - }, - "output": { - "type": "structure", - "members": { - "domainName": {}, - "status": {} - } - } - }, - "GetDomainDetail": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "DomainName", - "Nameservers", - "AdminContact", - "RegistrantContact", - "TechContact" - ], - "members": { - "DomainName": {}, - "Nameservers": { - "shape": "So" - }, - "AutoRenew": { - "type": "boolean" - }, - "AdminContact": { - "shape": "Su" - }, - "RegistrantContact": { - "shape": "Su" - }, - "TechContact": { - "shape": "Su" - }, - "AdminPrivacy": { - "type": "boolean" - }, - "RegistrantPrivacy": { - "type": "boolean" - }, - "TechPrivacy": { - "type": "boolean" - }, - "RegistrarName": {}, - "WhoIsServer": {}, - "RegistrarUrl": {}, - "AbuseContactEmail": {}, - "AbuseContactPhone": {}, - "RegistryDomainId": {}, - "CreationDate": { - "type": "timestamp" - }, - "UpdatedDate": { - "type": "timestamp" - }, - "ExpirationDate": { - "type": "timestamp" - }, - "Reseller": {}, - "DnsSec": {}, - "StatusList": { - "type": "list", - "member": {} - } - } - } - }, - "GetDomainSuggestions": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "SuggestionCount", - "OnlyAvailable" - ], - "members": { - "DomainName": {}, - "SuggestionCount": { - "type": "integer" - }, - "OnlyAvailable": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "SuggestionsList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DomainName": {}, - "Availability": {} - } - } - } - } - } - }, - "GetOperationDetail": { - "input": { - "type": "structure", - "required": [ - "OperationId" - ], - "members": { - "OperationId": {} - } - }, - "output": { - "type": "structure", - "members": { - "OperationId": {}, - "Status": {}, - "Message": {}, - "DomainName": {}, - "Type": {}, - "SubmittedDate": { - "type": "timestamp" - } - } - } - }, - "ListDomains": { - "input": { - "type": "structure", - "members": { - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Domains" - ], - "members": { - "Domains": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "AutoRenew": { - "type": "boolean" - }, - "TransferLock": { - "type": "boolean" - }, - "Expiry": { - "type": "timestamp" - } - } - } - }, - "NextPageMarker": {} - } - } - }, - "ListOperations": { - "input": { - "type": "structure", - "members": { - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "Operations" - ], - "members": { - "Operations": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "OperationId", - "Status", - "Type", - "SubmittedDate" - ], - "members": { - "OperationId": {}, - "Status": {}, - "Type": {}, - "SubmittedDate": { - "type": "timestamp" - } - } - } - }, - "NextPageMarker": {} - } - } - }, - "ListTagsForDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "TagList" - ], - "members": { - "TagList": { - "shape": "S24" - } - } - } - }, - "RegisterDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "DurationInYears", - "AdminContact", - "RegistrantContact", - "TechContact" - ], - "members": { - "DomainName": {}, - "IdnLangCode": {}, - "DurationInYears": { - "type": "integer" - }, - "AutoRenew": { - "type": "boolean" - }, - "AdminContact": { - "shape": "Su" - }, - "RegistrantContact": { - "shape": "Su" - }, - "TechContact": { - "shape": "Su" - }, - "PrivacyProtectAdminContact": { - "type": "boolean" - }, - "PrivacyProtectRegistrantContact": { - "type": "boolean" - }, - "PrivacyProtectTechContact": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "OperationId" - ], - "members": { - "OperationId": {} - } - } - }, - "RenewDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "CurrentExpiryYear" - ], - "members": { - "DomainName": {}, - "DurationInYears": { - "type": "integer" - }, - "CurrentExpiryYear": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "required": [ - "OperationId" - ], - "members": { - "OperationId": {} - } - } - }, - "ResendContactReachabilityEmail": { - "input": { - "type": "structure", - "members": { - "domainName": {} - } - }, - "output": { - "type": "structure", - "members": { - "domainName": {}, - "emailAddress": {}, - "isAlreadyVerified": { - "type": "boolean" - } - } - } - }, - "RetrieveDomainAuthCode": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "AuthCode" - ], - "members": { - "AuthCode": { - "shape": "S2h" - } - } - } - }, - "TransferDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "DurationInYears", - "AdminContact", - "RegistrantContact", - "TechContact" - ], - "members": { - "DomainName": {}, - "IdnLangCode": {}, - "DurationInYears": { - "type": "integer" - }, - "Nameservers": { - "shape": "So" - }, - "AuthCode": { - "shape": "S2h" - }, - "AutoRenew": { - "type": "boolean" - }, - "AdminContact": { - "shape": "Su" - }, - "RegistrantContact": { - "shape": "Su" - }, - "TechContact": { - "shape": "Su" - }, - "PrivacyProtectAdminContact": { - "type": "boolean" - }, - "PrivacyProtectRegistrantContact": { - "type": "boolean" - }, - "PrivacyProtectTechContact": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "OperationId" - ], - "members": { - "OperationId": {} - } - } - }, - "UpdateDomainContact": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "AdminContact": { - "shape": "Su" - }, - "RegistrantContact": { - "shape": "Su" - }, - "TechContact": { - "shape": "Su" - } - } - }, - "output": { - "type": "structure", - "required": [ - "OperationId" - ], - "members": { - "OperationId": {} - } - } - }, - "UpdateDomainContactPrivacy": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "AdminPrivacy": { - "type": "boolean" - }, - "RegistrantPrivacy": { - "type": "boolean" - }, - "TechPrivacy": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "OperationId" - ], - "members": { - "OperationId": {} - } - } - }, - "UpdateDomainNameservers": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "Nameservers" - ], - "members": { - "DomainName": {}, - "FIAuthKey": {}, - "Nameservers": { - "shape": "So" - } - } - }, - "output": { - "type": "structure", - "required": [ - "OperationId" - ], - "members": { - "OperationId": {} - } - } - }, - "UpdateTagsForDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {}, - "TagsToUpdate": { - "shape": "S24" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ViewBilling": { - "input": { - "type": "structure", - "members": { - "Start": { - "type": "timestamp" - }, - "End": { - "type": "timestamp" - }, - "Marker": {}, - "MaxItems": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextPageMarker": {}, - "BillingRecords": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DomainName": {}, - "Operation": {}, - "InvoiceId": {}, - "BillDate": { - "type": "timestamp" - }, - "Price": { - "type": "double" - } - } - } - } - } - } - } - }, - "shapes": { - "So": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "GlueIps": { - "type": "list", - "member": {} - } - } - } - }, - "Su": { - "type": "structure", - "members": { - "FirstName": {}, - "LastName": {}, - "ContactType": {}, - "OrganizationName": {}, - "AddressLine1": {}, - "AddressLine2": {}, - "City": {}, - "State": {}, - "CountryCode": {}, - "ZipCode": {}, - "PhoneNumber": {}, - "Email": {}, - "Fax": {}, - "ExtraParams": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {} - } - } - } - }, - "sensitive": true - }, - "S24": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S2h": { - "type": "string", - "sensitive": true - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json b/src/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json deleted file mode 100644 index eaeaed7..0000000 --- a/src/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "pagination": { - "ListDomains": { - "input_token": "Marker", - "limit_key": "MaxItems", - "output_token": "NextPageMarker", - "result_key": "Domains" - }, - "ListOperations": { - "input_token": "Marker", - "limit_key": "MaxItems", - "output_token": "NextPageMarker", - "result_key": "Operations" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.examples.json b/src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.min.json b/src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.min.json deleted file mode 100644 index 9f2dc91..0000000 --- a/src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.min.json +++ /dev/null @@ -1,196 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-11-28", - "endpointPrefix": "runtime.lex", - "jsonVersion": "1.1", - "protocol": "rest-json", - "serviceFullName": "Amazon Lex Runtime Service", - "signatureVersion": "v4", - "signingName": "lex", - "uid": "runtime.lex-2016-11-28" - }, - "operations": { - "PostContent": { - "http": { - "requestUri": "/bot/{botName}/alias/{botAlias}/user/{userId}/content" - }, - "input": { - "type": "structure", - "required": [ - "botName", - "botAlias", - "userId", - "contentType", - "inputStream" - ], - "members": { - "botName": { - "location": "uri", - "locationName": "botName" - }, - "botAlias": { - "location": "uri", - "locationName": "botAlias" - }, - "userId": { - "location": "uri", - "locationName": "userId" - }, - "sessionAttributes": { - "jsonvalue": true, - "location": "header", - "locationName": "x-amz-lex-session-attributes" - }, - "contentType": { - "location": "header", - "locationName": "Content-Type" - }, - "accept": { - "location": "header", - "locationName": "Accept" - }, - "inputStream": { - "shape": "S8" - } - }, - "payload": "inputStream" - }, - "output": { - "type": "structure", - "members": { - "contentType": { - "location": "header", - "locationName": "Content-Type" - }, - "intentName": { - "location": "header", - "locationName": "x-amz-lex-intent-name" - }, - "slots": { - "jsonvalue": true, - "location": "header", - "locationName": "x-amz-lex-slots" - }, - "sessionAttributes": { - "jsonvalue": true, - "location": "header", - "locationName": "x-amz-lex-session-attributes" - }, - "message": { - "location": "header", - "locationName": "x-amz-lex-message" - }, - "dialogState": { - "location": "header", - "locationName": "x-amz-lex-dialog-state" - }, - "slotToElicit": { - "location": "header", - "locationName": "x-amz-lex-slot-to-elicit" - }, - "inputTranscript": { - "location": "header", - "locationName": "x-amz-lex-input-transcript" - }, - "audioStream": { - "shape": "S8" - } - }, - "payload": "audioStream" - }, - "authtype": "v4-unsigned-body" - }, - "PostText": { - "http": { - "requestUri": "/bot/{botName}/alias/{botAlias}/user/{userId}/text" - }, - "input": { - "type": "structure", - "required": [ - "botName", - "botAlias", - "userId", - "inputText" - ], - "members": { - "botName": { - "location": "uri", - "locationName": "botName" - }, - "botAlias": { - "location": "uri", - "locationName": "botAlias" - }, - "userId": { - "location": "uri", - "locationName": "userId" - }, - "sessionAttributes": { - "shape": "Se" - }, - "inputText": {} - } - }, - "output": { - "type": "structure", - "members": { - "intentName": {}, - "slots": { - "shape": "Se" - }, - "sessionAttributes": { - "shape": "Se" - }, - "message": {}, - "dialogState": {}, - "slotToElicit": {}, - "responseCard": { - "type": "structure", - "members": { - "version": {}, - "contentType": {}, - "genericAttachments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "title": {}, - "subTitle": {}, - "attachmentLinkUrl": {}, - "imageUrl": {}, - "buttons": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "text", - "value" - ], - "members": { - "text": {}, - "value": {} - } - } - } - } - } - } - } - } - } - } - } - }, - "shapes": { - "S8": { - "type": "blob", - "streaming": true - }, - "Se": { - "type": "map", - "key": {}, - "value": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.paginators.json b/src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/runtime.lex-2016-11-28.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json b/src/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json deleted file mode 100644 index ac9e0f4..0000000 --- a/src/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +++ /dev/null @@ -1,1876 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AbortMultipartUpload": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "bigobject", - "UploadId": "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example aborts a multipart upload.", - "id": "to-abort-a-multipart-upload-1481853354987", - "title": "To abort a multipart upload" - } - ], - "CompleteMultipartUpload": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "bigobject", - "MultipartUpload": { - "Parts": [ - { - "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"", - "PartNumber": "1" - }, - { - "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"", - "PartNumber": "2" - } - ] - }, - "UploadId": "7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--" - }, - "output": { - "Bucket": "acexamplebucket", - "ETag": "\"4d9031c7644d8081c2829f4ea23c55f7-2\"", - "Key": "bigobject", - "Location": "https://examplebucket.s3.amazonaws.com/bigobject" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example completes a multipart upload.", - "id": "to-complete-multipart-upload-1481851590483", - "title": "To complete multipart upload" - } - ], - "CopyObject": [ - { - "input": { - "Bucket": "destinationbucket", - "CopySource": "/sourcebucket/HappyFacejpg", - "Key": "HappyFaceCopyjpg" - }, - "output": { - "CopyObjectResult": { - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "LastModified": "2016-12-15T17:38:53.000Z" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example copies an object from one bucket to another.", - "id": "to-copy-an-object-1481823186878", - "title": "To copy an object" - } - ], - "CreateBucket": [ - { - "input": { - "Bucket": "examplebucket", - "CreateBucketConfiguration": { - "LocationConstraint": "eu-west-1" - } - }, - "output": { - "Location": "http://examplebucket.s3.amazonaws.com/" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a bucket. The request specifies an AWS region where to create the bucket.", - "id": "to-create-a-bucket-in-a-specific-region-1483399072992", - "title": "To create a bucket in a specific region" - }, - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "Location": "/examplebucket" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a bucket.", - "id": "to-create-a-bucket--1472851826060", - "title": "To create a bucket " - } - ], - "CreateMultipartUpload": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "largeobject" - }, - "output": { - "Bucket": "examplebucket", - "Key": "largeobject", - "UploadId": "ibZBv_75gd9r8lH_gqXatLdxMVpAlj6ZQjEs.OwyF3953YdwbcQnMA2BLGn8Lx12fQNICtMw5KyteFeHw.Sjng--" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example initiates a multipart upload.", - "id": "to-initiate-a-multipart-upload-1481836794513", - "title": "To initiate a multipart upload" - } - ], - "DeleteBucket": [ - { - "input": { - "Bucket": "forrandall2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes the specified bucket.", - "id": "to-delete-a-bucket-1473108514262", - "title": "To delete a bucket" - } - ], - "DeleteBucketCors": [ - { - "input": { - "Bucket": "examplebucket" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes CORS configuration on a bucket.", - "id": "to-delete-cors-configuration-on-a-bucket-1483042856112", - "title": "To delete cors configuration on a bucket." - } - ], - "DeleteBucketLifecycle": [ - { - "input": { - "Bucket": "examplebucket" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes lifecycle configuration on a bucket.", - "id": "to-delete-lifecycle-configuration-on-a-bucket-1483043310583", - "title": "To delete lifecycle configuration on a bucket." - } - ], - "DeleteBucketPolicy": [ - { - "input": { - "Bucket": "examplebucket" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes bucket policy on the specified bucket.", - "id": "to-delete-bucket-policy-1483043406577", - "title": "To delete bucket policy" - } - ], - "DeleteBucketReplication": [ - { - "input": { - "Bucket": "example" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes replication configuration set on bucket.", - "id": "to-delete-bucket-replication-configuration-1483043684668", - "title": "To delete bucket replication configuration" - } - ], - "DeleteBucketTagging": [ - { - "input": { - "Bucket": "examplebucket" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes bucket tags.", - "id": "to-delete-bucket-tags-1483043846509", - "title": "To delete bucket tags" - } - ], - "DeleteBucketWebsite": [ - { - "input": { - "Bucket": "examplebucket" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes bucket website configuration.", - "id": "to-delete-bucket-website-configuration-1483043937825", - "title": "To delete bucket website configuration" - } - ], - "DeleteObject": [ - { - "input": { - "Bucket": "ExampleBucket", - "Key": "HappyFace.jpg" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an object from a non-versioned bucket.", - "id": "to-delete-an-object-from-a-non-versioned-bucket-1481588533089", - "title": "To delete an object (from a non-versioned bucket)" - }, - { - "input": { - "Bucket": "examplebucket", - "Key": "objectkey.jpg" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an object from an S3 bucket.", - "id": "to-delete-an-object-1472850136595", - "title": "To delete an object" - } - ], - "DeleteObjectTagging": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "HappyFace.jpg", - "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" - }, - "output": { - "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.", - "id": "to-remove-tag-set-from-an-object-version-1483145285913", - "title": "To remove tag set from an object version" - }, - { - "input": { - "Bucket": "examplebucket", - "Key": "HappyFace.jpg" - }, - "output": { - "VersionId": "null" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.", - "id": "to-remove-tag-set-from-an-object-1483145342862", - "title": "To remove tag set from an object" - } - ], - "DeleteObjects": [ - { - "input": { - "Bucket": "examplebucket", - "Delete": { - "Objects": [ - { - "Key": "HappyFace.jpg", - "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" - }, - { - "Key": "HappyFace.jpg", - "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" - } - ], - "Quiet": false - } - }, - "output": { - "Deleted": [ - { - "Key": "HappyFace.jpg", - "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" - }, - { - "Key": "HappyFace.jpg", - "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.", - "id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737", - "title": "To delete multiple object versions from a versioned bucket" - }, - { - "input": { - "Bucket": "examplebucket", - "Delete": { - "Objects": [ - { - "Key": "objectkey1" - }, - { - "Key": "objectkey2" - } - ], - "Quiet": false - } - }, - "output": { - "Deleted": [ - { - "DeleteMarker": "true", - "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F", - "Key": "objectkey1" - }, - { - "DeleteMarker": "true", - "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt", - "Key": "objectkey2" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.", - "id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805", - "title": "To delete multiple objects from a versioned bucket" - } - ], - "GetBucketCors": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "CORSRules": [ - { - "AllowedHeaders": [ - "Authorization" - ], - "AllowedMethods": [ - "GET" - ], - "AllowedOrigins": [ - "*" - ], - "MaxAgeSeconds": 3000 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns cross-origin resource sharing (CORS) configuration set on a bucket.", - "id": "to-get-cors-configuration-set-on-a-bucket-1481596855475", - "title": "To get cors configuration set on a bucket" - } - ], - "GetBucketLifecycle": [ - { - "input": { - "Bucket": "acl1" - }, - "output": { - "Rules": [ - { - "Expiration": { - "Days": 1 - }, - "ID": "delete logs", - "Prefix": "123/", - "Status": "Enabled" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example gets ACL on the specified bucket.", - "id": "to-get-a-bucket-acl-1474413606503", - "title": "To get a bucket acl" - } - ], - "GetBucketLifecycleConfiguration": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "Rules": [ - { - "ID": "Rule for TaxDocs/", - "Prefix": "TaxDocs", - "Status": "Enabled", - "Transitions": [ - { - "Days": 365, - "StorageClass": "STANDARD_IA" - } - ] - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves lifecycle configuration on set on a bucket. ", - "id": "to-get-lifecycle-configuration-on-a-bucket-1481666063200", - "title": "To get lifecycle configuration on a bucket" - } - ], - "GetBucketLocation": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "LocationConstraint": "us-west-2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns bucket location.", - "id": "to-get-bucket-location-1481594573609", - "title": "To get bucket location" - } - ], - "GetBucketNotification": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "QueueConfiguration": { - "Event": "s3:ObjectCreated:Put", - "Events": [ - "s3:ObjectCreated:Put" - ], - "Id": "MDQ2OGQ4NDEtOTBmNi00YTM4LTk0NzYtZDIwN2I3NWQ1NjIx", - "Queue": "arn:aws:sqs:us-east-1:acct-id:S3ObjectCreatedEventQueue" - }, - "TopicConfiguration": { - "Event": "s3:ObjectCreated:Copy", - "Events": [ - "s3:ObjectCreated:Copy" - ], - "Id": "YTVkMWEzZGUtNTY1NS00ZmE2LWJjYjktMmRlY2QwODFkNTJi", - "Topic": "arn:aws:sns:us-east-1:acct-id:S3ObjectCreatedEventTopic" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns notification configuration set on a bucket.", - "id": "to-get-notification-configuration-set-on-a-bucket-1481594028667", - "title": "To get notification configuration set on a bucket" - }, - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "QueueConfiguration": { - "Event": "s3:ObjectCreated:Put", - "Events": [ - "s3:ObjectCreated:Put" - ], - "Id": "MDQ2OGQ4NDEtOTBmNi00YTM4LTk0NzYtZDIwN2I3NWQ1NjIx", - "Queue": "arn:aws:sqs:us-east-1:acct-id:S3ObjectCreatedEventQueue" - }, - "TopicConfiguration": { - "Event": "s3:ObjectCreated:Copy", - "Events": [ - "s3:ObjectCreated:Copy" - ], - "Id": "YTVkMWEzZGUtNTY1NS00ZmE2LWJjYjktMmRlY2QwODFkNTJi", - "Topic": "arn:aws:sns:us-east-1:acct-id:S3ObjectCreatedEventTopic" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns notification configuration set on a bucket.", - "id": "to-get-notification-configuration-set-on-a-bucket-1481594028667", - "title": "To get notification configuration set on a bucket" - } - ], - "GetBucketPolicy": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "Policy": "{\"Version\":\"2008-10-17\",\"Id\":\"LogPolicy\",\"Statement\":[{\"Sid\":\"Enables the log delivery group to publish logs to your bucket \",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"111122223333\"},\"Action\":[\"s3:GetBucketAcl\",\"s3:GetObjectAcl\",\"s3:PutObject\"],\"Resource\":[\"arn:aws:s3:::policytest1/*\",\"arn:aws:s3:::policytest1\"]}]}" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns bucket policy associated with a bucket.", - "id": "to-get-bucket-policy-1481595098424", - "title": "To get bucket policy" - } - ], - "GetBucketReplication": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "ReplicationConfiguration": { - "Role": "arn:aws:iam::acct-id:role/example-role", - "Rules": [ - { - "Destination": { - "Bucket": "arn:aws:s3:::destination-bucket" - }, - "ID": "MWIwNTkwZmItMTE3MS00ZTc3LWJkZDEtNzRmODQwYzc1OTQy", - "Prefix": "Tax", - "Status": "Enabled" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns replication configuration set on a bucket.", - "id": "to-get-replication-configuration-set-on-a-bucket-1481593597175", - "title": "To get replication configuration set on a bucket" - } - ], - "GetBucketRequestPayment": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "Payer": "BucketOwner" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves bucket versioning configuration.", - "id": "to-get-bucket-versioning-configuration-1483037183929", - "title": "To get bucket versioning configuration" - } - ], - "GetBucketTagging": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "TagSet": [ - { - "Key": "key1", - "Value": "value1" - }, - { - "Key": "key2", - "Value": "value2" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns tag set associated with a bucket", - "id": "to-get-tag-set-associated-with-a-bucket-1481593232107", - "title": "To get tag set associated with a bucket" - } - ], - "GetBucketVersioning": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "MFADelete": "Disabled", - "Status": "Enabled" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves bucket versioning configuration.", - "id": "to-get-bucket-versioning-configuration-1483037183929", - "title": "To get bucket versioning configuration" - } - ], - "GetBucketWebsite": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "ErrorDocument": { - "Key": "error.html" - }, - "IndexDocument": { - "Suffix": "index.html" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves website configuration of a bucket.", - "id": "to-get-bucket-website-configuration-1483037016926", - "title": "To get bucket website configuration" - } - ], - "GetObject": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "HappyFace.jpg" - }, - "output": { - "AcceptRanges": "bytes", - "ContentLength": "3191", - "ContentType": "image/jpeg", - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT", - "Metadata": { - }, - "TagCount": 2, - "VersionId": "null" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves an object for an S3 bucket.", - "id": "to-retrieve-an-object-1481827837012", - "title": "To retrieve an object" - }, - { - "input": { - "Bucket": "examplebucket", - "Key": "SampleFile.txt", - "Range": "bytes=0-9" - }, - "output": { - "AcceptRanges": "bytes", - "ContentLength": "10", - "ContentRange": "bytes 0-9/43", - "ContentType": "text/plain", - "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"", - "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT", - "Metadata": { - }, - "VersionId": "null" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.", - "id": "to-retrieve-a-byte-range-of-an-object--1481832674603", - "title": "To retrieve a byte range of an object " - } - ], - "GetObjectAcl": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "HappyFace.jpg" - }, - "output": { - "Grants": [ - { - "Grantee": { - "DisplayName": "owner-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc", - "Type": "CanonicalUser" - }, - "Permission": "WRITE" - }, - { - "Grantee": { - "DisplayName": "owner-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc", - "Type": "CanonicalUser" - }, - "Permission": "WRITE_ACP" - }, - { - "Grantee": { - "DisplayName": "owner-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc", - "Type": "CanonicalUser" - }, - "Permission": "READ" - }, - { - "Grantee": { - "DisplayName": "owner-display-name", - "ID": "852b113eexamplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc", - "Type": "CanonicalUser" - }, - "Permission": "READ_ACP" - } - ], - "Owner": { - "DisplayName": "owner-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves access control list (ACL) of an object.", - "id": "to-retrieve-object-acl-1481833557740", - "title": "To retrieve object ACL" - } - ], - "GetObjectTagging": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "HappyFace.jpg" - }, - "output": { - "TagSet": [ - { - "Key": "Key4", - "Value": "Value4" - }, - { - "Key": "Key3", - "Value": "Value3" - } - ], - "VersionId": "null" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves tag set of an object.", - "id": "to-retrieve-tag-set-of-an-object-1481833847896", - "title": "To retrieve tag set of an object" - }, - { - "input": { - "Bucket": "examplebucket", - "Key": "exampleobject", - "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" - }, - "output": { - "TagSet": [ - { - "Key": "Key1", - "Value": "Value1" - } - ], - "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves tag set of an object. The request specifies object version.", - "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663", - "title": "To retrieve tag set of a specific object version" - } - ], - "GetObjectTorrent": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "HappyFace.jpg" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves torrent files of an object.", - "id": "to-retrieve-torrent-files-for-an-object-1481834115959", - "title": "To retrieve torrent files for an object" - } - ], - "HeadBucket": [ - { - "input": { - "Bucket": "acl1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation checks to see if a bucket exists.", - "id": "to-determine-if-bucket-exists-1473110292262", - "title": "To determine if bucket exists" - } - ], - "HeadObject": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "HappyFace.jpg" - }, - "output": { - "AcceptRanges": "bytes", - "ContentLength": "3191", - "ContentType": "image/jpeg", - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT", - "Metadata": { - }, - "VersionId": "null" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves an object metadata.", - "id": "to-retrieve-metadata-of-an-object-without-returning-the-object-itself-1481834820480", - "title": "To retrieve metadata of an object without returning the object itself" - } - ], - "ListBuckets": [ - { - "output": { - "Buckets": [ - { - "CreationDate": "2012-02-15T21: 03: 02.000Z", - "Name": "examplebucket" - }, - { - "CreationDate": "2011-07-24T19: 33: 50.000Z", - "Name": "examplebucket2" - }, - { - "CreationDate": "2010-12-17T00: 56: 49.000Z", - "Name": "examplebucket3" - } - ], - "Owner": { - "DisplayName": "own-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example return versions of an object with specific key name prefix. The request limits the number of items returned to two. If there are are more than two object version, S3 returns NextToken in the response. You can specify this token value in your next request to fetch next set of object versions.", - "id": "to-list-object-versions-1481910996058", - "title": "To list object versions" - } - ], - "ListMultipartUploads": [ - { - "input": { - "Bucket": "examplebucket" - }, - "output": { - "Uploads": [ - { - "Initiated": "2014-05-01T05:40:58.000Z", - "Initiator": { - "DisplayName": "display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "Key": "JavaFile", - "Owner": { - "DisplayName": "display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "StorageClass": "STANDARD", - "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--" - }, - { - "Initiated": "2014-05-01T05:41:27.000Z", - "Initiator": { - "DisplayName": "display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "Key": "JavaFile", - "Owner": { - "DisplayName": "display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "StorageClass": "STANDARD", - "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example lists in-progress multipart uploads on a specific bucket.", - "id": "to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260", - "title": "To list in-progress multipart uploads on a bucket" - }, - { - "input": { - "Bucket": "examplebucket", - "KeyMarker": "nextkeyfrompreviousresponse", - "MaxUploads": "2", - "UploadIdMarker": "valuefrompreviousresponse" - }, - "output": { - "Bucket": "acl1", - "IsTruncated": true, - "KeyMarker": "", - "MaxUploads": "2", - "NextKeyMarker": "someobjectkey", - "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--", - "UploadIdMarker": "", - "Uploads": [ - { - "Initiated": "2014-05-01T05:40:58.000Z", - "Initiator": { - "DisplayName": "ownder-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "Key": "JavaFile", - "Owner": { - "DisplayName": "mohanataws", - "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "StorageClass": "STANDARD", - "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--" - }, - { - "Initiated": "2014-05-01T05:41:27.000Z", - "Initiator": { - "DisplayName": "ownder-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "Key": "JavaFile", - "Owner": { - "DisplayName": "ownder-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "StorageClass": "STANDARD", - "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.", - "id": "list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748", - "title": "List next set of multipart uploads when previous result is truncated" - } - ], - "ListObjectVersions": [ - { - "input": { - "Bucket": "examplebucket", - "Prefix": "HappyFace.jpg" - }, - "output": { - "Versions": [ - { - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "IsLatest": true, - "Key": "HappyFace.jpg", - "LastModified": "2016-12-15T01:19:41.000Z", - "Owner": { - "DisplayName": "owner-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "Size": 3191, - "StorageClass": "STANDARD", - "VersionId": "null" - }, - { - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "IsLatest": false, - "Key": "HappyFace.jpg", - "LastModified": "2016-12-13T00:58:26.000Z", - "Owner": { - "DisplayName": "owner-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "Size": 3191, - "StorageClass": "STANDARD", - "VersionId": "PHtexPGjH2y.zBgT8LmB7wwLI2mpbz.k" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example return versions of an object with specific key name prefix. The request limits the number of items returned to two. If there are are more than two object version, S3 returns NextToken in the response. You can specify this token value in your next request to fetch next set of object versions.", - "id": "to-list-object-versions-1481910996058", - "title": "To list object versions" - } - ], - "ListObjects": [ - { - "input": { - "Bucket": "examplebucket", - "MaxKeys": "2" - }, - "output": { - "Contents": [ - { - "ETag": "\"70ee1738b6b21e2c8a43f3a5ab0eee71\"", - "Key": "example1.jpg", - "LastModified": "2014-11-21T19:40:05.000Z", - "Owner": { - "DisplayName": "myname", - "ID": "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "Size": 11, - "StorageClass": "STANDARD" - }, - { - "ETag": "\"9c8af9a76df052144598c115ef33e511\"", - "Key": "example2.jpg", - "LastModified": "2013-11-15T01:10:49.000Z", - "Owner": { - "DisplayName": "myname", - "ID": "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "Size": 713193, - "StorageClass": "STANDARD" - } - ], - "NextMarker": "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAyfQ==" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example list two objects in a bucket.", - "id": "to-list-objects-in-a-bucket-1473447646507", - "title": "To list objects in a bucket" - } - ], - "ListObjectsV2": [ - { - "input": { - "Bucket": "examplebucket", - "MaxKeys": "2" - }, - "output": { - "Contents": [ - { - "ETag": "\"70ee1738b6b21e2c8a43f3a5ab0eee71\"", - "Key": "happyface.jpg", - "LastModified": "2014-11-21T19:40:05.000Z", - "Size": 11, - "StorageClass": "STANDARD" - }, - { - "ETag": "\"becf17f89c30367a9a44495d62ed521a-1\"", - "Key": "test.jpg", - "LastModified": "2014-05-02T04:51:50.000Z", - "Size": 4192256, - "StorageClass": "STANDARD" - } - ], - "IsTruncated": true, - "KeyCount": "2", - "MaxKeys": "2", - "Name": "examplebucket", - "NextContinuationToken": "1w41l63U0xa8q7smH50vCxyTQqdxo69O3EmK28Bi5PcROI4wI/EyIJg==", - "Prefix": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves object list. The request specifies max keys to limit response to include only 2 object keys. ", - "id": "to-get-object-list", - "title": "To get object list" - } - ], - "ListParts": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "bigobject", - "UploadId": "example7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--" - }, - "output": { - "Initiator": { - "DisplayName": "owner-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "Owner": { - "DisplayName": "owner-display-name", - "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" - }, - "Parts": [ - { - "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"", - "LastModified": "2016-12-16T00:11:42.000Z", - "PartNumber": "1", - "Size": 26246026 - }, - { - "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"", - "LastModified": "2016-12-16T00:15:01.000Z", - "PartNumber": "2", - "Size": 26246026 - } - ], - "StorageClass": "STANDARD" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example lists parts uploaded for a specific multipart upload.", - "id": "to-list-parts-of-a-multipart-upload-1481852006923", - "title": "To list parts of a multipart upload." - } - ], - "PutBucketAcl": [ - { - "input": { - "Bucket": "examplebucket", - "GrantFullControl": "id=examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484", - "GrantWrite": "uri=http://acs.amazonaws.com/groups/s3/LogDelivery" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example replaces existing ACL on a bucket. The ACL grants the bucket owner (specified using the owner ID) and write permission to the LogDelivery group. Because this is a replace operation, you must specify all the grants in your request. To incrementally add or remove ACL grants, you might use the console.", - "id": "put-bucket-acl-1482260397033", - "title": "Put bucket acl" - } - ], - "PutBucketCors": [ - { - "input": { - "Bucket": "", - "CORSConfiguration": { - "CORSRules": [ - { - "AllowedHeaders": [ - "*" - ], - "AllowedMethods": [ - "PUT", - "POST", - "DELETE" - ], - "AllowedOrigins": [ - "http://www.example.com" - ], - "ExposeHeaders": [ - "x-amz-server-side-encryption" - ], - "MaxAgeSeconds": 3000 - }, - { - "AllowedHeaders": [ - "Authorization" - ], - "AllowedMethods": [ - "GET" - ], - "AllowedOrigins": [ - "*" - ], - "MaxAgeSeconds": 3000 - } - ] - }, - "ContentMD5": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example enables PUT, POST, and DELETE requests from www.example.com, and enables GET requests from any domain.", - "id": "to-set-cors-configuration-on-a-bucket-1483037818805", - "title": "To set cors configuration on a bucket." - } - ], - "PutBucketLifecycleConfiguration": [ - { - "input": { - "Bucket": "examplebucket", - "LifecycleConfiguration": { - "Rules": [ - { - "Expiration": { - "Days": 3650 - }, - "Filter": { - "Prefix": "documents/" - }, - "ID": "TestOnly", - "Status": "Enabled", - "Transitions": [ - { - "Days": 365, - "StorageClass": "GLACIER" - } - ] - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example replaces existing lifecycle configuration, if any, on the specified bucket. ", - "id": "put-bucket-lifecycle-1482264533092", - "title": "Put bucket lifecycle" - } - ], - "PutBucketLogging": [ - { - "input": { - "Bucket": "sourcebucket", - "BucketLoggingStatus": { - "LoggingEnabled": { - "TargetBucket": "targetbucket", - "TargetGrants": [ - { - "Grantee": { - "Type": "Group", - "URI": "http://acs.amazonaws.com/groups/global/AllUsers" - }, - "Permission": "READ" - } - ], - "TargetPrefix": "MyBucketLogs/" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets logging policy on a bucket. For the Log Delivery group to deliver logs to the destination bucket, it needs permission for the READ_ACP action which the policy grants.", - "id": "set-logging-configuration-for-a-bucket-1482269119909", - "title": "Set logging configuration for a bucket" - } - ], - "PutBucketNotificationConfiguration": [ - { - "input": { - "Bucket": "examplebucket", - "NotificationConfiguration": { - "TopicConfigurations": [ - { - "Events": [ - "s3:ObjectCreated:*" - ], - "TopicArn": "arn:aws:sns:us-west-2:123456789012:s3-notification-topic" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets notification configuration on a bucket to publish the object created events to an SNS topic.", - "id": "set-notification-configuration-for-a-bucket-1482270296426", - "title": "Set notification configuration for a bucket" - } - ], - "PutBucketPolicy": [ - { - "input": { - "Bucket": "examplebucket", - "Policy": "{\"Version\": \"2012-10-17\", \"Statement\": [{ \"Sid\": \"id-1\",\"Effect\": \"Allow\",\"Principal\": {\"AWS\": \"arn:aws:iam::123456789012:root\"}, \"Action\": [ \"s3:PutObject\",\"s3:PutObjectAcl\"], \"Resource\": [\"arn:aws:s3:::acl3/*\" ] } ]}" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets a permission policy on a bucket.", - "id": "set-bucket-policy-1482448903302", - "title": "Set bucket policy" - } - ], - "PutBucketReplication": [ - { - "input": { - "Bucket": "examplebucket", - "ReplicationConfiguration": { - "Role": "arn:aws:iam::123456789012:role/examplerole", - "Rules": [ - { - "Destination": { - "Bucket": "arn:aws:s3:::destinationbucket", - "StorageClass": "STANDARD" - }, - "Prefix": "", - "Status": "Enabled" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets replication configuration on a bucket.", - "id": "id-1", - "title": "Set replication configuration on a bucket" - } - ], - "PutBucketRequestPayment": [ - { - "input": { - "Bucket": "examplebucket", - "RequestPaymentConfiguration": { - "Payer": "Requester" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets request payment configuration on a bucket so that person requesting the download is charged.", - "id": "set-request-payment-configuration-on-a-bucket-1482343596680", - "title": "Set request payment configuration on a bucket." - } - ], - "PutBucketTagging": [ - { - "input": { - "Bucket": "examplebucket", - "Tagging": { - "TagSet": [ - { - "Key": "Key1", - "Value": "Value1" - }, - { - "Key": "Key2", - "Value": "Value2" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets tags on a bucket. Any existing tags are replaced.", - "id": "set-tags-on-a-bucket-1482346269066", - "title": "Set tags on a bucket" - } - ], - "PutBucketVersioning": [ - { - "input": { - "Bucket": "examplebucket", - "VersioningConfiguration": { - "MFADelete": "Disabled", - "Status": "Enabled" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets versioning configuration on bucket. The configuration enables versioning on the bucket.", - "id": "set-versioning-configuration-on-a-bucket-1482344186279", - "title": "Set versioning configuration on a bucket" - } - ], - "PutBucketWebsite": [ - { - "input": { - "Bucket": "examplebucket", - "ContentMD5": "", - "WebsiteConfiguration": { - "ErrorDocument": { - "Key": "error.html" - }, - "IndexDocument": { - "Suffix": "index.html" - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example adds website configuration to a bucket.", - "id": "set-website-configuration-on-a-bucket-1482346836261", - "title": "Set website configuration on a bucket" - } - ], - "PutObject": [ - { - "input": { - "Body": "filetoupload", - "Bucket": "examplebucket", - "Key": "exampleobject", - "ServerSideEncryption": "AES256", - "Tagging": "key1=value1&key2=value2" - }, - "output": { - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "ServerSideEncryption": "AES256", - "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example uploads and object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.", - "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831", - "title": "To upload an object and specify server-side encryption and object tags" - }, - { - "input": { - "ACL": "authenticated-read", - "Body": "filetoupload", - "Bucket": "examplebucket", - "Key": "exampleobject" - }, - "output": { - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.", - "id": "to-upload-an-object-and-specify-canned-acl-1483397779571", - "title": "To upload an object and specify canned ACL." - }, - { - "input": { - "Body": "HappyFace.jpg", - "Bucket": "examplebucket", - "Key": "HappyFace.jpg" - }, - "output": { - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.", - "id": "to-upload-an-object-1481760101010", - "title": "To upload an object" - }, - { - "input": { - "Body": "filetoupload", - "Bucket": "examplebucket", - "Key": "objectkey" - }, - "output": { - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.", - "id": "to-create-an-object-1483147613675", - "title": "To create an object." - }, - { - "input": { - "Body": "c:\\HappyFace.jpg", - "Bucket": "examplebucket", - "Key": "HappyFace.jpg", - "Tagging": "key1=value1&key2=value2" - }, - "output": { - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.", - "id": "to-upload-an-object-and-specify-optional-tags-1481762310955", - "title": "To upload an object and specify optional tags" - }, - { - "input": { - "Body": "filetoupload", - "Bucket": "examplebucket", - "Key": "exampleobject", - "Metadata": { - "metadata1": "value1", - "metadata2": "value2" - } - }, - "output": { - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.", - "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757", - "title": "To upload object and specify user-defined metadata" - }, - { - "input": { - "Body": "HappyFace.jpg", - "Bucket": "examplebucket", - "Key": "HappyFace.jpg", - "ServerSideEncryption": "AES256", - "StorageClass": "STANDARD_IA" - }, - "output": { - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - "ServerSideEncryption": "AES256", - "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.", - "id": "to-upload-an-object-(specify-optional-headers)", - "title": "To upload an object (specify optional headers)" - } - ], - "PutObjectAcl": [ - { - "input": { - "AccessControlPolicy": { - }, - "Bucket": "examplebucket", - "GrantFullControl": "emailaddress=user1@example.com,emailaddress=user2@example.com", - "GrantRead": "uri=http://acs.amazonaws.com/groups/global/AllUsers", - "Key": "HappyFace.jpg" - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example adds grants to an object ACL. The first permission grants user1 and user2 FULL_CONTROL and the AllUsers group READ permission.", - "id": "to-grant-permissions-using-object-acl-1481835549285", - "title": "To grant permissions using object ACL" - } - ], - "PutObjectTagging": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "HappyFace.jpg", - "Tagging": { - "TagSet": [ - { - "Key": "Key3", - "Value": "Value3" - }, - { - "Key": "Key4", - "Value": "Value4" - } - ] - } - }, - "output": { - "VersionId": "null" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example adds tags to an existing object.", - "id": "to-add-tags-to-an-existing-object-1481764668793", - "title": "To add tags to an existing object" - } - ], - "RestoreObject": [ - { - "input": { - "Bucket": "examplebucket", - "Key": "archivedobjectkey", - "RestoreRequest": { - "Days": 1, - "GlacierJobParameters": { - "Tier": "Expedited" - } - } - }, - "output": { - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example restores for one day an archived copy of an object back into Amazon S3 bucket.", - "id": "to-restore-an-archived-object-1483049329953", - "title": "To restore an archived object" - } - ], - "UploadPart": [ - { - "input": { - "Body": "fileToUpload", - "Bucket": "examplebucket", - "Key": "examplelargeobject", - "PartNumber": "1", - "UploadId": "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--" - }, - "output": { - "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example uploads part 1 of a multipart upload. The example specifies a file name for the part data. The Upload ID is same that is returned by the initiate multipart upload.", - "id": "to-upload-a-part-1481847914943", - "title": "To upload a part" - } - ], - "UploadPartCopy": [ - { - "input": { - "Bucket": "examplebucket", - "CopySource": "/bucketname/sourceobjectkey", - "CopySourceRange": "bytes=1-100000", - "Key": "examplelargeobject", - "PartNumber": "2", - "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--" - }, - "output": { - "CopyPartResult": { - "ETag": "\"65d16d19e65a7508a51f043180edcc36\"", - "LastModified": "2016-12-29T21:44:28.000Z" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.", - "id": "to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594", - "title": "To upload a part by copying byte range from an existing object as data source" - }, - { - "input": { - "Bucket": "examplebucket", - "CopySource": "bucketname/sourceobjectkey", - "Key": "examplelargeobject", - "PartNumber": "1", - "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--" - }, - "output": { - "CopyPartResult": { - "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"", - "LastModified": "2016-12-29T21:24:43.000Z" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example uploads a part of a multipart upload by copying data from an existing object as data source.", - "id": "to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348", - "title": "To upload a part by copying data from an existing object as data source" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/s3-2006-03-01.min.json b/src/node_modules/aws-sdk/apis/s3-2006-03-01.min.json deleted file mode 100644 index 19dc870..0000000 --- a/src/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +++ /dev/null @@ -1,4510 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2006-03-01", - "checksumFormat": "md5", - "endpointPrefix": "s3", - "globalEndpoint": "s3.amazonaws.com", - "protocol": "rest-xml", - "serviceAbbreviation": "Amazon S3", - "serviceFullName": "Amazon Simple Storage Service", - "signatureVersion": "s3", - "timestampFormat": "rfc822", - "uid": "s3-2006-03-01" - }, - "operations": { - "AbortMultipartUpload": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "UploadId" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "CompleteMultipartUpload": { - "http": { - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "UploadId" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "MultipartUpload": { - "locationName": "CompleteMultipartUpload", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "members": { - "Parts": { - "locationName": "Part", - "type": "list", - "member": { - "type": "structure", - "members": { - "ETag": {}, - "PartNumber": { - "type": "integer" - } - } - }, - "flattened": true - } - } - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "MultipartUpload" - }, - "output": { - "type": "structure", - "members": { - "Location": {}, - "Bucket": {}, - "Key": {}, - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "ETag": {}, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "CopyObject": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "CopySource", - "Key" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CacheControl": { - "location": "header", - "locationName": "Cache-Control" - }, - "ContentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "ContentEncoding": { - "location": "header", - "locationName": "Content-Encoding" - }, - "ContentLanguage": { - "location": "header", - "locationName": "Content-Language" - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, - "CopySource": { - "location": "header", - "locationName": "x-amz-copy-source" - }, - "CopySourceIfMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-match" - }, - "CopySourceIfModifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-modified-since", - "type": "timestamp" - }, - "CopySourceIfNoneMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-none-match" - }, - "CopySourceIfUnmodifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-unmodified-since", - "type": "timestamp" - }, - "Expires": { - "location": "header", - "locationName": "Expires", - "type": "timestamp" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Metadata": { - "shape": "S11", - "location": "headers", - "locationName": "x-amz-meta-" - }, - "MetadataDirective": { - "location": "header", - "locationName": "x-amz-metadata-directive" - }, - "TaggingDirective": { - "location": "header", - "locationName": "x-amz-tagging-directive" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "StorageClass": { - "location": "header", - "locationName": "x-amz-storage-class" - }, - "WebsiteRedirectLocation": { - "location": "header", - "locationName": "x-amz-website-redirect-location" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S19", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "CopySourceSSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm" - }, - "CopySourceSSECustomerKey": { - "shape": "S1c", - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key" - }, - "CopySourceSSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - }, - "Tagging": { - "location": "header", - "locationName": "x-amz-tagging" - } - } - }, - "output": { - "type": "structure", - "members": { - "CopyObjectResult": { - "type": "structure", - "members": { - "ETag": {}, - "LastModified": { - "type": "timestamp" - } - } - }, - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "CopySourceVersionId": { - "location": "header", - "locationName": "x-amz-copy-source-version-id" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - }, - "payload": "CopyObjectResult" - }, - "alias": "PutObjectCopy" - }, - "CreateBucket": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CreateBucketConfiguration": { - "locationName": "CreateBucketConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "members": { - "LocationConstraint": {} - } - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWrite": { - "location": "header", - "locationName": "x-amz-grant-write" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - } - }, - "payload": "CreateBucketConfiguration" - }, - "output": { - "type": "structure", - "members": { - "Location": { - "location": "header", - "locationName": "Location" - } - } - }, - "alias": "PutBucket" - }, - "CreateMultipartUpload": { - "http": { - "requestUri": "/{Bucket}/{Key+}?uploads" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CacheControl": { - "location": "header", - "locationName": "Cache-Control" - }, - "ContentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "ContentEncoding": { - "location": "header", - "locationName": "Content-Encoding" - }, - "ContentLanguage": { - "location": "header", - "locationName": "Content-Language" - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, - "Expires": { - "location": "header", - "locationName": "Expires", - "type": "timestamp" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Metadata": { - "shape": "S11", - "location": "headers", - "locationName": "x-amz-meta-" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "StorageClass": { - "location": "header", - "locationName": "x-amz-storage-class" - }, - "WebsiteRedirectLocation": { - "location": "header", - "locationName": "x-amz-website-redirect-location" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S19", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - }, - "Tagging": { - "location": "header", - "locationName": "x-amz-tagging" - } - } - }, - "output": { - "type": "structure", - "members": { - "AbortDate": { - "location": "header", - "locationName": "x-amz-abort-date", - "type": "timestamp" - }, - "AbortRuleId": { - "location": "header", - "locationName": "x-amz-abort-rule-id" - }, - "Bucket": { - "locationName": "Bucket" - }, - "Key": {}, - "UploadId": {}, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - }, - "alias": "InitiateMultipartUpload" - }, - "DeleteBucket": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketAnalyticsConfiguration": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?analytics" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Id" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Id": { - "location": "querystring", - "locationName": "id" - } - } - } - }, - "DeleteBucketCors": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?cors" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketInventoryConfiguration": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?inventory" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Id" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Id": { - "location": "querystring", - "locationName": "id" - } - } - } - }, - "DeleteBucketLifecycle": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketMetricsConfiguration": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?metrics" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Id" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Id": { - "location": "querystring", - "locationName": "id" - } - } - } - }, - "DeleteBucketPolicy": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?policy" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketReplication": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?replication" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketTagging": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?tagging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteBucketWebsite": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}?website" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "DeleteObject": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "MFA": { - "location": "header", - "locationName": "x-amz-mfa" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "DeleteMarker": { - "location": "header", - "locationName": "x-amz-delete-marker", - "type": "boolean" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "DeleteObjectTagging": { - "http": { - "method": "DELETE", - "requestUri": "/{Bucket}/{Key+}?tagging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - } - } - }, - "output": { - "type": "structure", - "members": { - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - } - } - } - }, - "DeleteObjects": { - "http": { - "requestUri": "/{Bucket}?delete" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Delete" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Delete": { - "locationName": "Delete", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Objects" - ], - "members": { - "Objects": { - "locationName": "Object", - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "VersionId": {} - } - }, - "flattened": true - }, - "Quiet": { - "type": "boolean" - } - } - }, - "MFA": { - "location": "header", - "locationName": "x-amz-mfa" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "Delete" - }, - "output": { - "type": "structure", - "members": { - "Deleted": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "VersionId": {}, - "DeleteMarker": { - "type": "boolean" - }, - "DeleteMarkerVersionId": {} - } - }, - "flattened": true - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - }, - "Errors": { - "locationName": "Error", - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "VersionId": {}, - "Code": {}, - "Message": {} - } - }, - "flattened": true - } - } - }, - "alias": "DeleteMultipleObjects" - }, - "GetBucketAccelerateConfiguration": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?accelerate" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "Status": {} - } - } - }, - "GetBucketAcl": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?acl" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "Owner": { - "shape": "S2u" - }, - "Grants": { - "shape": "S2x", - "locationName": "AccessControlList" - } - } - } - }, - "GetBucketAnalyticsConfiguration": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?analytics" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Id" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Id": { - "location": "querystring", - "locationName": "id" - } - } - }, - "output": { - "type": "structure", - "members": { - "AnalyticsConfiguration": { - "shape": "S36" - } - }, - "payload": "AnalyticsConfiguration" - } - }, - "GetBucketCors": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?cors" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "CORSRules": { - "shape": "S3m", - "locationName": "CORSRule" - } - } - } - }, - "GetBucketInventoryConfiguration": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?inventory" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Id" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Id": { - "location": "querystring", - "locationName": "id" - } - } - }, - "output": { - "type": "structure", - "members": { - "InventoryConfiguration": { - "shape": "S3z" - } - }, - "payload": "InventoryConfiguration" - } - }, - "GetBucketLifecycle": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "Rules": { - "shape": "S4c", - "locationName": "Rule" - } - } - }, - "deprecated": true - }, - "GetBucketLifecycleConfiguration": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "Rules": { - "shape": "S4r", - "locationName": "Rule" - } - } - } - }, - "GetBucketLocation": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?location" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "LocationConstraint": {} - } - } - }, - "GetBucketLogging": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?logging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "LoggingEnabled": { - "shape": "S51" - } - } - } - }, - "GetBucketMetricsConfiguration": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?metrics" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Id" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Id": { - "location": "querystring", - "locationName": "id" - } - } - }, - "output": { - "type": "structure", - "members": { - "MetricsConfiguration": { - "shape": "S59" - } - }, - "payload": "MetricsConfiguration" - } - }, - "GetBucketNotification": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?notification" - }, - "input": { - "shape": "S5c" - }, - "output": { - "shape": "S5d" - }, - "deprecated": true - }, - "GetBucketNotificationConfiguration": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?notification" - }, - "input": { - "shape": "S5c" - }, - "output": { - "shape": "S5o" - } - }, - "GetBucketPolicy": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?policy" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "Policy": {} - }, - "payload": "Policy" - } - }, - "GetBucketReplication": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?replication" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "ReplicationConfiguration": { - "shape": "S67" - } - }, - "payload": "ReplicationConfiguration" - } - }, - "GetBucketRequestPayment": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?requestPayment" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "Payer": {} - } - } - }, - "GetBucketTagging": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?tagging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TagSet" - ], - "members": { - "TagSet": { - "shape": "S3c" - } - } - } - }, - "GetBucketVersioning": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?versioning" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "Status": {}, - "MFADelete": { - "locationName": "MfaDelete" - } - } - } - }, - "GetBucketWebsite": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?website" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "output": { - "type": "structure", - "members": { - "RedirectAllRequestsTo": { - "shape": "S6o" - }, - "IndexDocument": { - "shape": "S6r" - }, - "ErrorDocument": { - "shape": "S6t" - }, - "RoutingRules": { - "shape": "S6u" - } - } - } - }, - "GetObject": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - }, - "IfModifiedSince": { - "location": "header", - "locationName": "If-Modified-Since", - "type": "timestamp" - }, - "IfNoneMatch": { - "location": "header", - "locationName": "If-None-Match" - }, - "IfUnmodifiedSince": { - "location": "header", - "locationName": "If-Unmodified-Since", - "type": "timestamp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Range": { - "location": "header", - "locationName": "Range" - }, - "ResponseCacheControl": { - "location": "querystring", - "locationName": "response-cache-control" - }, - "ResponseContentDisposition": { - "location": "querystring", - "locationName": "response-content-disposition" - }, - "ResponseContentEncoding": { - "location": "querystring", - "locationName": "response-content-encoding" - }, - "ResponseContentLanguage": { - "location": "querystring", - "locationName": "response-content-language" - }, - "ResponseContentType": { - "location": "querystring", - "locationName": "response-content-type" - }, - "ResponseExpires": { - "location": "querystring", - "locationName": "response-expires", - "type": "timestamp" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S19", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - }, - "PartNumber": { - "location": "querystring", - "locationName": "partNumber", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Body": { - "streaming": true, - "type": "blob" - }, - "DeleteMarker": { - "location": "header", - "locationName": "x-amz-delete-marker", - "type": "boolean" - }, - "AcceptRanges": { - "location": "header", - "locationName": "accept-ranges" - }, - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "Restore": { - "location": "header", - "locationName": "x-amz-restore" - }, - "LastModified": { - "location": "header", - "locationName": "Last-Modified", - "type": "timestamp" - }, - "ContentLength": { - "location": "header", - "locationName": "Content-Length", - "type": "long" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - }, - "MissingMeta": { - "location": "header", - "locationName": "x-amz-missing-meta", - "type": "integer" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "CacheControl": { - "location": "header", - "locationName": "Cache-Control" - }, - "ContentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "ContentEncoding": { - "location": "header", - "locationName": "Content-Encoding" - }, - "ContentLanguage": { - "location": "header", - "locationName": "Content-Language" - }, - "ContentRange": { - "location": "header", - "locationName": "Content-Range" - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, - "Expires": { - "location": "header", - "locationName": "Expires", - "type": "timestamp" - }, - "WebsiteRedirectLocation": { - "location": "header", - "locationName": "x-amz-website-redirect-location" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "Metadata": { - "shape": "S11", - "location": "headers", - "locationName": "x-amz-meta-" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "StorageClass": { - "location": "header", - "locationName": "x-amz-storage-class" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - }, - "ReplicationStatus": { - "location": "header", - "locationName": "x-amz-replication-status" - }, - "PartsCount": { - "location": "header", - "locationName": "x-amz-mp-parts-count", - "type": "integer" - }, - "TagCount": { - "location": "header", - "locationName": "x-amz-tagging-count", - "type": "integer" - } - }, - "payload": "Body" - } - }, - "GetObjectAcl": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}/{Key+}?acl" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Owner": { - "shape": "S2u" - }, - "Grants": { - "shape": "S2x", - "locationName": "AccessControlList" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "GetObjectTagging": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}/{Key+}?tagging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - } - } - }, - "output": { - "type": "structure", - "required": [ - "TagSet" - ], - "members": { - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "TagSet": { - "shape": "S3c" - } - } - } - }, - "GetObjectTorrent": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}/{Key+}?torrent" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Body": { - "streaming": true, - "type": "blob" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - }, - "payload": "Body" - } - }, - "HeadBucket": { - "http": { - "method": "HEAD", - "requestUri": "/{Bucket}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - } - }, - "HeadObject": { - "http": { - "method": "HEAD", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "IfMatch": { - "location": "header", - "locationName": "If-Match" - }, - "IfModifiedSince": { - "location": "header", - "locationName": "If-Modified-Since", - "type": "timestamp" - }, - "IfNoneMatch": { - "location": "header", - "locationName": "If-None-Match" - }, - "IfUnmodifiedSince": { - "location": "header", - "locationName": "If-Unmodified-Since", - "type": "timestamp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Range": { - "location": "header", - "locationName": "Range" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S19", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - }, - "PartNumber": { - "location": "querystring", - "locationName": "partNumber", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "DeleteMarker": { - "location": "header", - "locationName": "x-amz-delete-marker", - "type": "boolean" - }, - "AcceptRanges": { - "location": "header", - "locationName": "accept-ranges" - }, - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "Restore": { - "location": "header", - "locationName": "x-amz-restore" - }, - "LastModified": { - "location": "header", - "locationName": "Last-Modified", - "type": "timestamp" - }, - "ContentLength": { - "location": "header", - "locationName": "Content-Length", - "type": "long" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - }, - "MissingMeta": { - "location": "header", - "locationName": "x-amz-missing-meta", - "type": "integer" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "CacheControl": { - "location": "header", - "locationName": "Cache-Control" - }, - "ContentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "ContentEncoding": { - "location": "header", - "locationName": "Content-Encoding" - }, - "ContentLanguage": { - "location": "header", - "locationName": "Content-Language" - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, - "Expires": { - "location": "header", - "locationName": "Expires", - "type": "timestamp" - }, - "WebsiteRedirectLocation": { - "location": "header", - "locationName": "x-amz-website-redirect-location" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "Metadata": { - "shape": "S11", - "location": "headers", - "locationName": "x-amz-meta-" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "StorageClass": { - "location": "header", - "locationName": "x-amz-storage-class" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - }, - "ReplicationStatus": { - "location": "header", - "locationName": "x-amz-replication-status" - }, - "PartsCount": { - "location": "header", - "locationName": "x-amz-mp-parts-count", - "type": "integer" - } - } - } - }, - "ListBucketAnalyticsConfigurations": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?analytics" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContinuationToken": { - "location": "querystring", - "locationName": "continuation-token" - } - } - }, - "output": { - "type": "structure", - "members": { - "IsTruncated": { - "type": "boolean" - }, - "ContinuationToken": {}, - "NextContinuationToken": {}, - "AnalyticsConfigurationList": { - "locationName": "AnalyticsConfiguration", - "type": "list", - "member": { - "shape": "S36" - }, - "flattened": true - } - } - } - }, - "ListBucketInventoryConfigurations": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?inventory" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContinuationToken": { - "location": "querystring", - "locationName": "continuation-token" - } - } - }, - "output": { - "type": "structure", - "members": { - "ContinuationToken": {}, - "InventoryConfigurationList": { - "locationName": "InventoryConfiguration", - "type": "list", - "member": { - "shape": "S3z" - }, - "flattened": true - }, - "IsTruncated": { - "type": "boolean" - }, - "NextContinuationToken": {} - } - } - }, - "ListBucketMetricsConfigurations": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?metrics" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContinuationToken": { - "location": "querystring", - "locationName": "continuation-token" - } - } - }, - "output": { - "type": "structure", - "members": { - "IsTruncated": { - "type": "boolean" - }, - "ContinuationToken": {}, - "NextContinuationToken": {}, - "MetricsConfigurationList": { - "locationName": "MetricsConfiguration", - "type": "list", - "member": { - "shape": "S59" - }, - "flattened": true - } - } - } - }, - "ListBuckets": { - "http": { - "method": "GET" - }, - "output": { - "type": "structure", - "members": { - "Buckets": { - "type": "list", - "member": { - "locationName": "Bucket", - "type": "structure", - "members": { - "Name": {}, - "CreationDate": { - "type": "timestamp" - } - } - } - }, - "Owner": { - "shape": "S2u" - } - } - }, - "alias": "GetService" - }, - "ListMultipartUploads": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?uploads" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Delimiter": { - "location": "querystring", - "locationName": "delimiter" - }, - "EncodingType": { - "location": "querystring", - "locationName": "encoding-type" - }, - "KeyMarker": { - "location": "querystring", - "locationName": "key-marker" - }, - "MaxUploads": { - "location": "querystring", - "locationName": "max-uploads", - "type": "integer" - }, - "Prefix": { - "location": "querystring", - "locationName": "prefix" - }, - "UploadIdMarker": { - "location": "querystring", - "locationName": "upload-id-marker" - } - } - }, - "output": { - "type": "structure", - "members": { - "Bucket": {}, - "KeyMarker": {}, - "UploadIdMarker": {}, - "NextKeyMarker": {}, - "Prefix": {}, - "Delimiter": {}, - "NextUploadIdMarker": {}, - "MaxUploads": { - "type": "integer" - }, - "IsTruncated": { - "type": "boolean" - }, - "Uploads": { - "locationName": "Upload", - "type": "list", - "member": { - "type": "structure", - "members": { - "UploadId": {}, - "Key": {}, - "Initiated": { - "type": "timestamp" - }, - "StorageClass": {}, - "Owner": { - "shape": "S2u" - }, - "Initiator": { - "shape": "S8q" - } - } - }, - "flattened": true - }, - "CommonPrefixes": { - "shape": "S8r" - }, - "EncodingType": {} - } - } - }, - "ListObjectVersions": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?versions" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Delimiter": { - "location": "querystring", - "locationName": "delimiter" - }, - "EncodingType": { - "location": "querystring", - "locationName": "encoding-type" - }, - "KeyMarker": { - "location": "querystring", - "locationName": "key-marker" - }, - "MaxKeys": { - "location": "querystring", - "locationName": "max-keys", - "type": "integer" - }, - "Prefix": { - "location": "querystring", - "locationName": "prefix" - }, - "VersionIdMarker": { - "location": "querystring", - "locationName": "version-id-marker" - } - } - }, - "output": { - "type": "structure", - "members": { - "IsTruncated": { - "type": "boolean" - }, - "KeyMarker": {}, - "VersionIdMarker": {}, - "NextKeyMarker": {}, - "NextVersionIdMarker": {}, - "Versions": { - "locationName": "Version", - "type": "list", - "member": { - "type": "structure", - "members": { - "ETag": {}, - "Size": { - "type": "integer" - }, - "StorageClass": {}, - "Key": {}, - "VersionId": {}, - "IsLatest": { - "type": "boolean" - }, - "LastModified": { - "type": "timestamp" - }, - "Owner": { - "shape": "S2u" - } - } - }, - "flattened": true - }, - "DeleteMarkers": { - "locationName": "DeleteMarker", - "type": "list", - "member": { - "type": "structure", - "members": { - "Owner": { - "shape": "S2u" - }, - "Key": {}, - "VersionId": {}, - "IsLatest": { - "type": "boolean" - }, - "LastModified": { - "type": "timestamp" - } - } - }, - "flattened": true - }, - "Name": {}, - "Prefix": {}, - "Delimiter": {}, - "MaxKeys": { - "type": "integer" - }, - "CommonPrefixes": { - "shape": "S8r" - }, - "EncodingType": {} - } - }, - "alias": "GetBucketObjectVersions" - }, - "ListObjects": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Delimiter": { - "location": "querystring", - "locationName": "delimiter" - }, - "EncodingType": { - "location": "querystring", - "locationName": "encoding-type" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - }, - "MaxKeys": { - "location": "querystring", - "locationName": "max-keys", - "type": "integer" - }, - "Prefix": { - "location": "querystring", - "locationName": "prefix" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "IsTruncated": { - "type": "boolean" - }, - "Marker": {}, - "NextMarker": {}, - "Contents": { - "shape": "S99" - }, - "Name": {}, - "Prefix": {}, - "Delimiter": {}, - "MaxKeys": { - "type": "integer" - }, - "CommonPrefixes": { - "shape": "S8r" - }, - "EncodingType": {} - } - }, - "alias": "GetBucket" - }, - "ListObjectsV2": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}?list-type=2" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Delimiter": { - "location": "querystring", - "locationName": "delimiter" - }, - "EncodingType": { - "location": "querystring", - "locationName": "encoding-type" - }, - "MaxKeys": { - "location": "querystring", - "locationName": "max-keys", - "type": "integer" - }, - "Prefix": { - "location": "querystring", - "locationName": "prefix" - }, - "ContinuationToken": { - "location": "querystring", - "locationName": "continuation-token" - }, - "FetchOwner": { - "location": "querystring", - "locationName": "fetch-owner", - "type": "boolean" - }, - "StartAfter": { - "location": "querystring", - "locationName": "start-after" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "IsTruncated": { - "type": "boolean" - }, - "Contents": { - "shape": "S99" - }, - "Name": {}, - "Prefix": {}, - "Delimiter": {}, - "MaxKeys": { - "type": "integer" - }, - "CommonPrefixes": { - "shape": "S8r" - }, - "EncodingType": {}, - "KeyCount": { - "type": "integer" - }, - "ContinuationToken": {}, - "NextContinuationToken": {}, - "StartAfter": {} - } - } - }, - "ListParts": { - "http": { - "method": "GET", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "UploadId" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "MaxParts": { - "location": "querystring", - "locationName": "max-parts", - "type": "integer" - }, - "PartNumberMarker": { - "location": "querystring", - "locationName": "part-number-marker", - "type": "integer" - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "AbortDate": { - "location": "header", - "locationName": "x-amz-abort-date", - "type": "timestamp" - }, - "AbortRuleId": { - "location": "header", - "locationName": "x-amz-abort-rule-id" - }, - "Bucket": {}, - "Key": {}, - "UploadId": {}, - "PartNumberMarker": { - "type": "integer" - }, - "NextPartNumberMarker": { - "type": "integer" - }, - "MaxParts": { - "type": "integer" - }, - "IsTruncated": { - "type": "boolean" - }, - "Parts": { - "locationName": "Part", - "type": "list", - "member": { - "type": "structure", - "members": { - "PartNumber": { - "type": "integer" - }, - "LastModified": { - "type": "timestamp" - }, - "ETag": {}, - "Size": { - "type": "integer" - } - } - }, - "flattened": true - }, - "Initiator": { - "shape": "S8q" - }, - "Owner": { - "shape": "S2u" - }, - "StorageClass": {}, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "PutBucketAccelerateConfiguration": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?accelerate" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "AccelerateConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "AccelerateConfiguration": { - "locationName": "AccelerateConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "members": { - "Status": {} - } - } - }, - "payload": "AccelerateConfiguration" - } - }, - "PutBucketAcl": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?acl" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "AccessControlPolicy": { - "shape": "S9r", - "locationName": "AccessControlPolicy", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWrite": { - "location": "header", - "locationName": "x-amz-grant-write" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - } - }, - "payload": "AccessControlPolicy" - } - }, - "PutBucketAnalyticsConfiguration": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?analytics" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Id", - "AnalyticsConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Id": { - "location": "querystring", - "locationName": "id" - }, - "AnalyticsConfiguration": { - "shape": "S36", - "locationName": "AnalyticsConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - } - }, - "payload": "AnalyticsConfiguration" - } - }, - "PutBucketCors": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?cors" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "CORSConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CORSConfiguration": { - "locationName": "CORSConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "CORSRules" - ], - "members": { - "CORSRules": { - "shape": "S3m", - "locationName": "CORSRule" - } - } - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - } - }, - "payload": "CORSConfiguration" - } - }, - "PutBucketInventoryConfiguration": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?inventory" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Id", - "InventoryConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Id": { - "location": "querystring", - "locationName": "id" - }, - "InventoryConfiguration": { - "shape": "S3z", - "locationName": "InventoryConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - } - }, - "payload": "InventoryConfiguration" - } - }, - "PutBucketLifecycle": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "LifecycleConfiguration": { - "locationName": "LifecycleConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Rules" - ], - "members": { - "Rules": { - "shape": "S4c", - "locationName": "Rule" - } - } - } - }, - "payload": "LifecycleConfiguration" - }, - "deprecated": true - }, - "PutBucketLifecycleConfiguration": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?lifecycle" - }, - "input": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "LifecycleConfiguration": { - "locationName": "LifecycleConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Rules" - ], - "members": { - "Rules": { - "shape": "S4r", - "locationName": "Rule" - } - } - } - }, - "payload": "LifecycleConfiguration" - } - }, - "PutBucketLogging": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?logging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "BucketLoggingStatus" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "BucketLoggingStatus": { - "locationName": "BucketLoggingStatus", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "members": { - "LoggingEnabled": { - "shape": "S51" - } - } - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - } - }, - "payload": "BucketLoggingStatus" - } - }, - "PutBucketMetricsConfiguration": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?metrics" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Id", - "MetricsConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Id": { - "location": "querystring", - "locationName": "id" - }, - "MetricsConfiguration": { - "shape": "S59", - "locationName": "MetricsConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - } - }, - "payload": "MetricsConfiguration" - } - }, - "PutBucketNotification": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?notification" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "NotificationConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "NotificationConfiguration": { - "shape": "S5d", - "locationName": "NotificationConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - } - }, - "payload": "NotificationConfiguration" - }, - "deprecated": true - }, - "PutBucketNotificationConfiguration": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?notification" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "NotificationConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "NotificationConfiguration": { - "shape": "S5o", - "locationName": "NotificationConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - } - }, - "payload": "NotificationConfiguration" - } - }, - "PutBucketPolicy": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?policy" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Policy" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "Policy": {} - }, - "payload": "Policy" - } - }, - "PutBucketReplication": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?replication" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "ReplicationConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "ReplicationConfiguration": { - "shape": "S67", - "locationName": "ReplicationConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - } - }, - "payload": "ReplicationConfiguration" - } - }, - "PutBucketRequestPayment": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?requestPayment" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "RequestPaymentConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "RequestPaymentConfiguration": { - "locationName": "RequestPaymentConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Payer" - ], - "members": { - "Payer": {} - } - } - }, - "payload": "RequestPaymentConfiguration" - } - }, - "PutBucketTagging": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?tagging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Tagging" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "Tagging": { - "shape": "Sab", - "locationName": "Tagging", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - } - }, - "payload": "Tagging" - } - }, - "PutBucketVersioning": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?versioning" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "VersioningConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "MFA": { - "location": "header", - "locationName": "x-amz-mfa" - }, - "VersioningConfiguration": { - "locationName": "VersioningConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "members": { - "MFADelete": { - "locationName": "MfaDelete" - }, - "Status": {} - } - } - }, - "payload": "VersioningConfiguration" - } - }, - "PutBucketWebsite": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}?website" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "WebsiteConfiguration" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "WebsiteConfiguration": { - "locationName": "WebsiteConfiguration", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "members": { - "ErrorDocument": { - "shape": "S6t" - }, - "IndexDocument": { - "shape": "S6r" - }, - "RedirectAllRequestsTo": { - "shape": "S6o" - }, - "RoutingRules": { - "shape": "S6u" - } - } - } - }, - "payload": "WebsiteConfiguration" - } - }, - "PutObject": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "Body": { - "streaming": true, - "type": "blob" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CacheControl": { - "location": "header", - "locationName": "Cache-Control" - }, - "ContentDisposition": { - "location": "header", - "locationName": "Content-Disposition" - }, - "ContentEncoding": { - "location": "header", - "locationName": "Content-Encoding" - }, - "ContentLanguage": { - "location": "header", - "locationName": "Content-Language" - }, - "ContentLength": { - "location": "header", - "locationName": "Content-Length", - "type": "long" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, - "Expires": { - "location": "header", - "locationName": "Expires", - "type": "timestamp" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "Metadata": { - "shape": "S11", - "location": "headers", - "locationName": "x-amz-meta-" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "StorageClass": { - "location": "header", - "locationName": "x-amz-storage-class" - }, - "WebsiteRedirectLocation": { - "location": "header", - "locationName": "x-amz-website-redirect-location" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S19", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - }, - "Tagging": { - "location": "header", - "locationName": "x-amz-tagging" - } - }, - "payload": "Body" - }, - "output": { - "type": "structure", - "members": { - "Expiration": { - "location": "header", - "locationName": "x-amz-expiration" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "PutObjectAcl": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}?acl" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "ACL": { - "location": "header", - "locationName": "x-amz-acl" - }, - "AccessControlPolicy": { - "shape": "S9r", - "locationName": "AccessControlPolicy", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "GrantFullControl": { - "location": "header", - "locationName": "x-amz-grant-full-control" - }, - "GrantRead": { - "location": "header", - "locationName": "x-amz-grant-read" - }, - "GrantReadACP": { - "location": "header", - "locationName": "x-amz-grant-read-acp" - }, - "GrantWrite": { - "location": "header", - "locationName": "x-amz-grant-write" - }, - "GrantWriteACP": { - "location": "header", - "locationName": "x-amz-grant-write-acp" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - } - }, - "payload": "AccessControlPolicy" - }, - "output": { - "type": "structure", - "members": { - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "PutObjectTagging": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}?tagging" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "Tagging" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "Tagging": { - "shape": "Sab", - "locationName": "Tagging", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - } - }, - "payload": "Tagging" - }, - "output": { - "type": "structure", - "members": { - "VersionId": { - "location": "header", - "locationName": "x-amz-version-id" - } - } - } - }, - "RestoreObject": { - "http": { - "requestUri": "/{Bucket}/{Key+}?restore" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "RestoreRequest": { - "locationName": "RestoreRequest", - "xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - }, - "type": "structure", - "required": [ - "Days" - ], - "members": { - "Days": { - "type": "integer" - }, - "GlacierJobParameters": { - "type": "structure", - "required": [ - "Tier" - ], - "members": { - "Tier": {} - } - } - } - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "RestoreRequest" - }, - "output": { - "type": "structure", - "members": { - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - }, - "alias": "PostObjectRestore" - }, - "UploadPart": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "Key", - "PartNumber", - "UploadId" - ], - "members": { - "Body": { - "streaming": true, - "type": "blob" - }, - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "ContentLength": { - "location": "header", - "locationName": "Content-Length", - "type": "long" - }, - "ContentMD5": { - "location": "header", - "locationName": "Content-MD5" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "PartNumber": { - "location": "querystring", - "locationName": "partNumber", - "type": "integer" - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S19", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - }, - "payload": "Body" - }, - "output": { - "type": "structure", - "members": { - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "ETag": { - "location": "header", - "locationName": "ETag" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - } - } - }, - "UploadPartCopy": { - "http": { - "method": "PUT", - "requestUri": "/{Bucket}/{Key+}" - }, - "input": { - "type": "structure", - "required": [ - "Bucket", - "CopySource", - "Key", - "PartNumber", - "UploadId" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - }, - "CopySource": { - "location": "header", - "locationName": "x-amz-copy-source" - }, - "CopySourceIfMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-match" - }, - "CopySourceIfModifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-modified-since", - "type": "timestamp" - }, - "CopySourceIfNoneMatch": { - "location": "header", - "locationName": "x-amz-copy-source-if-none-match" - }, - "CopySourceIfUnmodifiedSince": { - "location": "header", - "locationName": "x-amz-copy-source-if-unmodified-since", - "type": "timestamp" - }, - "CopySourceRange": { - "location": "header", - "locationName": "x-amz-copy-source-range" - }, - "Key": { - "location": "uri", - "locationName": "Key" - }, - "PartNumber": { - "location": "querystring", - "locationName": "partNumber", - "type": "integer" - }, - "UploadId": { - "location": "querystring", - "locationName": "uploadId" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKey": { - "shape": "S19", - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "CopySourceSSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm" - }, - "CopySourceSSECustomerKey": { - "shape": "S1c", - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key" - }, - "CopySourceSSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5" - }, - "RequestPayer": { - "location": "header", - "locationName": "x-amz-request-payer" - } - } - }, - "output": { - "type": "structure", - "members": { - "CopySourceVersionId": { - "location": "header", - "locationName": "x-amz-copy-source-version-id" - }, - "CopyPartResult": { - "type": "structure", - "members": { - "ETag": {}, - "LastModified": { - "type": "timestamp" - } - } - }, - "ServerSideEncryption": { - "location": "header", - "locationName": "x-amz-server-side-encryption" - }, - "SSECustomerAlgorithm": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-algorithm" - }, - "SSECustomerKeyMD5": { - "location": "header", - "locationName": "x-amz-server-side-encryption-customer-key-MD5" - }, - "SSEKMSKeyId": { - "shape": "Sj", - "location": "header", - "locationName": "x-amz-server-side-encryption-aws-kms-key-id" - }, - "RequestCharged": { - "location": "header", - "locationName": "x-amz-request-charged" - } - }, - "payload": "CopyPartResult" - } - } - }, - "shapes": { - "Sj": { - "type": "string", - "sensitive": true - }, - "S11": { - "type": "map", - "key": {}, - "value": {} - }, - "S19": { - "type": "blob", - "sensitive": true - }, - "S1c": { - "type": "blob", - "sensitive": true - }, - "S2u": { - "type": "structure", - "members": { - "DisplayName": {}, - "ID": {} - } - }, - "S2x": { - "type": "list", - "member": { - "locationName": "Grant", - "type": "structure", - "members": { - "Grantee": { - "shape": "S2z" - }, - "Permission": {} - } - } - }, - "S2z": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "DisplayName": {}, - "EmailAddress": {}, - "ID": {}, - "Type": { - "locationName": "xsi:type", - "xmlAttribute": true - }, - "URI": {} - }, - "xmlNamespace": { - "prefix": "xsi", - "uri": "http://www.w3.org/2001/XMLSchema-instance" - } - }, - "S36": { - "type": "structure", - "required": [ - "Id", - "StorageClassAnalysis" - ], - "members": { - "Id": {}, - "Filter": { - "type": "structure", - "members": { - "Prefix": {}, - "Tag": { - "shape": "S39" - }, - "And": { - "type": "structure", - "members": { - "Prefix": {}, - "Tags": { - "shape": "S3c", - "flattened": true, - "locationName": "Tag" - } - } - } - } - }, - "StorageClassAnalysis": { - "type": "structure", - "members": { - "DataExport": { - "type": "structure", - "required": [ - "OutputSchemaVersion", - "Destination" - ], - "members": { - "OutputSchemaVersion": {}, - "Destination": { - "type": "structure", - "required": [ - "S3BucketDestination" - ], - "members": { - "S3BucketDestination": { - "type": "structure", - "required": [ - "Format", - "Bucket" - ], - "members": { - "Format": {}, - "BucketAccountId": {}, - "Bucket": {}, - "Prefix": {} - } - } - } - } - } - } - } - } - } - }, - "S39": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - }, - "S3c": { - "type": "list", - "member": { - "shape": "S39", - "locationName": "Tag" - } - }, - "S3m": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AllowedMethods", - "AllowedOrigins" - ], - "members": { - "AllowedHeaders": { - "locationName": "AllowedHeader", - "type": "list", - "member": {}, - "flattened": true - }, - "AllowedMethods": { - "locationName": "AllowedMethod", - "type": "list", - "member": {}, - "flattened": true - }, - "AllowedOrigins": { - "locationName": "AllowedOrigin", - "type": "list", - "member": {}, - "flattened": true - }, - "ExposeHeaders": { - "locationName": "ExposeHeader", - "type": "list", - "member": {}, - "flattened": true - }, - "MaxAgeSeconds": { - "type": "integer" - } - } - }, - "flattened": true - }, - "S3z": { - "type": "structure", - "required": [ - "Destination", - "IsEnabled", - "Id", - "IncludedObjectVersions", - "Schedule" - ], - "members": { - "Destination": { - "type": "structure", - "required": [ - "S3BucketDestination" - ], - "members": { - "S3BucketDestination": { - "type": "structure", - "required": [ - "Bucket", - "Format" - ], - "members": { - "AccountId": {}, - "Bucket": {}, - "Format": {}, - "Prefix": {} - } - } - } - }, - "IsEnabled": { - "type": "boolean" - }, - "Filter": { - "type": "structure", - "required": [ - "Prefix" - ], - "members": { - "Prefix": {} - } - }, - "Id": {}, - "IncludedObjectVersions": {}, - "OptionalFields": { - "type": "list", - "member": { - "locationName": "Field" - } - }, - "Schedule": { - "type": "structure", - "required": [ - "Frequency" - ], - "members": { - "Frequency": {} - } - } - } - }, - "S4c": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Prefix", - "Status" - ], - "members": { - "Expiration": { - "shape": "S4e" - }, - "ID": {}, - "Prefix": {}, - "Status": {}, - "Transition": { - "shape": "S4j" - }, - "NoncurrentVersionTransition": { - "shape": "S4l" - }, - "NoncurrentVersionExpiration": { - "shape": "S4m" - }, - "AbortIncompleteMultipartUpload": { - "shape": "S4n" - } - } - }, - "flattened": true - }, - "S4e": { - "type": "structure", - "members": { - "Date": { - "shape": "S4f" - }, - "Days": { - "type": "integer" - }, - "ExpiredObjectDeleteMarker": { - "type": "boolean" - } - } - }, - "S4f": { - "type": "timestamp", - "timestampFormat": "iso8601" - }, - "S4j": { - "type": "structure", - "members": { - "Date": { - "shape": "S4f" - }, - "Days": { - "type": "integer" - }, - "StorageClass": {} - } - }, - "S4l": { - "type": "structure", - "members": { - "NoncurrentDays": { - "type": "integer" - }, - "StorageClass": {} - } - }, - "S4m": { - "type": "structure", - "members": { - "NoncurrentDays": { - "type": "integer" - } - } - }, - "S4n": { - "type": "structure", - "members": { - "DaysAfterInitiation": { - "type": "integer" - } - } - }, - "S4r": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Status" - ], - "members": { - "Expiration": { - "shape": "S4e" - }, - "ID": {}, - "Prefix": { - "deprecated": true - }, - "Filter": { - "type": "structure", - "members": { - "Prefix": {}, - "Tag": { - "shape": "S39" - }, - "And": { - "type": "structure", - "members": { - "Prefix": {}, - "Tags": { - "shape": "S3c", - "flattened": true, - "locationName": "Tag" - } - } - } - } - }, - "Status": {}, - "Transitions": { - "locationName": "Transition", - "type": "list", - "member": { - "shape": "S4j" - }, - "flattened": true - }, - "NoncurrentVersionTransitions": { - "locationName": "NoncurrentVersionTransition", - "type": "list", - "member": { - "shape": "S4l" - }, - "flattened": true - }, - "NoncurrentVersionExpiration": { - "shape": "S4m" - }, - "AbortIncompleteMultipartUpload": { - "shape": "S4n" - } - } - }, - "flattened": true - }, - "S51": { - "type": "structure", - "members": { - "TargetBucket": {}, - "TargetGrants": { - "type": "list", - "member": { - "locationName": "Grant", - "type": "structure", - "members": { - "Grantee": { - "shape": "S2z" - }, - "Permission": {} - } - } - }, - "TargetPrefix": {} - } - }, - "S59": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": {}, - "Filter": { - "type": "structure", - "members": { - "Prefix": {}, - "Tag": { - "shape": "S39" - }, - "And": { - "type": "structure", - "members": { - "Prefix": {}, - "Tags": { - "shape": "S3c", - "flattened": true, - "locationName": "Tag" - } - } - } - } - } - } - }, - "S5c": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": { - "location": "uri", - "locationName": "Bucket" - } - } - }, - "S5d": { - "type": "structure", - "members": { - "TopicConfiguration": { - "type": "structure", - "members": { - "Id": {}, - "Events": { - "shape": "S5g", - "locationName": "Event" - }, - "Event": { - "deprecated": true - }, - "Topic": {} - } - }, - "QueueConfiguration": { - "type": "structure", - "members": { - "Id": {}, - "Event": { - "deprecated": true - }, - "Events": { - "shape": "S5g", - "locationName": "Event" - }, - "Queue": {} - } - }, - "CloudFunctionConfiguration": { - "type": "structure", - "members": { - "Id": {}, - "Event": { - "deprecated": true - }, - "Events": { - "shape": "S5g", - "locationName": "Event" - }, - "CloudFunction": {}, - "InvocationRole": {} - } - } - } - }, - "S5g": { - "type": "list", - "member": {}, - "flattened": true - }, - "S5o": { - "type": "structure", - "members": { - "TopicConfigurations": { - "locationName": "TopicConfiguration", - "type": "list", - "member": { - "type": "structure", - "required": [ - "TopicArn", - "Events" - ], - "members": { - "Id": {}, - "TopicArn": { - "locationName": "Topic" - }, - "Events": { - "shape": "S5g", - "locationName": "Event" - }, - "Filter": { - "shape": "S5r" - } - } - }, - "flattened": true - }, - "QueueConfigurations": { - "locationName": "QueueConfiguration", - "type": "list", - "member": { - "type": "structure", - "required": [ - "QueueArn", - "Events" - ], - "members": { - "Id": {}, - "QueueArn": { - "locationName": "Queue" - }, - "Events": { - "shape": "S5g", - "locationName": "Event" - }, - "Filter": { - "shape": "S5r" - } - } - }, - "flattened": true - }, - "LambdaFunctionConfigurations": { - "locationName": "CloudFunctionConfiguration", - "type": "list", - "member": { - "type": "structure", - "required": [ - "LambdaFunctionArn", - "Events" - ], - "members": { - "Id": {}, - "LambdaFunctionArn": { - "locationName": "CloudFunction" - }, - "Events": { - "shape": "S5g", - "locationName": "Event" - }, - "Filter": { - "shape": "S5r" - } - } - }, - "flattened": true - } - } - }, - "S5r": { - "type": "structure", - "members": { - "Key": { - "locationName": "S3Key", - "type": "structure", - "members": { - "FilterRules": { - "locationName": "FilterRule", - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": {} - } - }, - "flattened": true - } - } - } - } - }, - "S67": { - "type": "structure", - "required": [ - "Role", - "Rules" - ], - "members": { - "Role": {}, - "Rules": { - "locationName": "Rule", - "type": "list", - "member": { - "type": "structure", - "required": [ - "Prefix", - "Status", - "Destination" - ], - "members": { - "ID": {}, - "Prefix": {}, - "Status": {}, - "Destination": { - "type": "structure", - "required": [ - "Bucket" - ], - "members": { - "Bucket": {}, - "StorageClass": {} - } - } - } - }, - "flattened": true - } - } - }, - "S6o": { - "type": "structure", - "required": [ - "HostName" - ], - "members": { - "HostName": {}, - "Protocol": {} - } - }, - "S6r": { - "type": "structure", - "required": [ - "Suffix" - ], - "members": { - "Suffix": {} - } - }, - "S6t": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {} - } - }, - "S6u": { - "type": "list", - "member": { - "locationName": "RoutingRule", - "type": "structure", - "required": [ - "Redirect" - ], - "members": { - "Condition": { - "type": "structure", - "members": { - "HttpErrorCodeReturnedEquals": {}, - "KeyPrefixEquals": {} - } - }, - "Redirect": { - "type": "structure", - "members": { - "HostName": {}, - "HttpRedirectCode": {}, - "Protocol": {}, - "ReplaceKeyPrefixWith": {}, - "ReplaceKeyWith": {} - } - } - } - } - }, - "S8q": { - "type": "structure", - "members": { - "ID": {}, - "DisplayName": {} - } - }, - "S8r": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Prefix": {} - } - }, - "flattened": true - }, - "S99": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "LastModified": { - "type": "timestamp" - }, - "ETag": {}, - "Size": { - "type": "integer" - }, - "StorageClass": {}, - "Owner": { - "shape": "S2u" - } - } - }, - "flattened": true - }, - "S9r": { - "type": "structure", - "members": { - "Grants": { - "shape": "S2x", - "locationName": "AccessControlList" - }, - "Owner": { - "shape": "S2u" - } - } - }, - "Sab": { - "type": "structure", - "required": [ - "TagSet" - ], - "members": { - "TagSet": { - "shape": "S3c" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json b/src/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json deleted file mode 100644 index 6d24346..0000000 --- a/src/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "pagination": { - "ListBuckets": { - "result_key": "Buckets" - }, - "ListMultipartUploads": { - "input_token": [ - "KeyMarker", - "UploadIdMarker" - ], - "limit_key": "MaxUploads", - "more_results": "IsTruncated", - "output_token": [ - "NextKeyMarker", - "NextUploadIdMarker" - ], - "result_key": [ - "Uploads", - "CommonPrefixes" - ] - }, - "ListObjectVersions": { - "input_token": [ - "KeyMarker", - "VersionIdMarker" - ], - "limit_key": "MaxKeys", - "more_results": "IsTruncated", - "output_token": [ - "NextKeyMarker", - "NextVersionIdMarker" - ], - "result_key": [ - "Versions", - "DeleteMarkers", - "CommonPrefixes" - ] - }, - "ListObjects": { - "input_token": "Marker", - "limit_key": "MaxKeys", - "more_results": "IsTruncated", - "output_token": "NextMarker || Contents[-1].Key", - "result_key": [ - "Contents", - "CommonPrefixes" - ] - }, - "ListObjectsV2": { - "input_token": "ContinuationToken", - "limit_key": "MaxKeys", - "output_token": "NextContinuationToken", - "result_key": [ - "Contents", - "CommonPrefixes" - ] - }, - "ListParts": { - "input_token": "PartNumberMarker", - "limit_key": "MaxParts", - "more_results": "IsTruncated", - "output_token": "NextPartNumberMarker", - "result_key": "Parts" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/s3-2006-03-01.waiters2.json b/src/node_modules/aws-sdk/apis/s3-2006-03-01.waiters2.json deleted file mode 100644 index b508a8f..0000000 --- a/src/node_modules/aws-sdk/apis/s3-2006-03-01.waiters2.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "version": 2, - "waiters": { - "BucketExists": { - "delay": 5, - "operation": "HeadBucket", - "maxAttempts": 20, - "acceptors": [ - { - "expected": 200, - "matcher": "status", - "state": "success" - }, - { - "expected": 301, - "matcher": "status", - "state": "success" - }, - { - "expected": 403, - "matcher": "status", - "state": "success" - }, - { - "expected": 404, - "matcher": "status", - "state": "retry" - } - ] - }, - "BucketNotExists": { - "delay": 5, - "operation": "HeadBucket", - "maxAttempts": 20, - "acceptors": [ - { - "expected": 404, - "matcher": "status", - "state": "success" - } - ] - }, - "ObjectExists": { - "delay": 5, - "operation": "HeadObject", - "maxAttempts": 20, - "acceptors": [ - { - "expected": 200, - "matcher": "status", - "state": "success" - }, - { - "expected": 404, - "matcher": "status", - "state": "retry" - } - ] - }, - "ObjectNotExists": { - "delay": 5, - "operation": "HeadObject", - "maxAttempts": 20, - "acceptors": [ - { - "expected": 404, - "matcher": "status", - "state": "success" - } - ] - } - } -} diff --git a/src/node_modules/aws-sdk/apis/sdb-2009-04-15.min.json b/src/node_modules/aws-sdk/apis/sdb-2009-04-15.min.json deleted file mode 100644 index e931b3c..0000000 --- a/src/node_modules/aws-sdk/apis/sdb-2009-04-15.min.json +++ /dev/null @@ -1,336 +0,0 @@ -{ - "metadata": { - "apiVersion": "2009-04-15", - "endpointPrefix": "sdb", - "serviceFullName": "Amazon SimpleDB", - "signatureVersion": "v2", - "xmlNamespace": "http://sdb.amazonaws.com/doc/2009-04-15/", - "protocol": "query" - }, - "operations": { - "BatchDeleteAttributes": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "Items" - ], - "members": { - "DomainName": {}, - "Items": { - "type": "list", - "member": { - "locationName": "Item", - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": { - "locationName": "ItemName" - }, - "Attributes": { - "shape": "S5" - } - } - }, - "flattened": true - } - } - } - }, - "BatchPutAttributes": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "Items" - ], - "members": { - "DomainName": {}, - "Items": { - "type": "list", - "member": { - "locationName": "Item", - "type": "structure", - "required": [ - "Name", - "Attributes" - ], - "members": { - "Name": { - "locationName": "ItemName" - }, - "Attributes": { - "shape": "Sa" - } - } - }, - "flattened": true - } - } - } - }, - "CreateDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - } - }, - "DeleteAttributes": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "ItemName" - ], - "members": { - "DomainName": {}, - "ItemName": {}, - "Attributes": { - "shape": "S5" - }, - "Expected": { - "shape": "Sf" - } - } - } - }, - "DeleteDomain": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - } - }, - "DomainMetadata": { - "input": { - "type": "structure", - "required": [ - "DomainName" - ], - "members": { - "DomainName": {} - } - }, - "output": { - "resultWrapper": "DomainMetadataResult", - "type": "structure", - "members": { - "ItemCount": { - "type": "integer" - }, - "ItemNamesSizeBytes": { - "type": "long" - }, - "AttributeNameCount": { - "type": "integer" - }, - "AttributeNamesSizeBytes": { - "type": "long" - }, - "AttributeValueCount": { - "type": "integer" - }, - "AttributeValuesSizeBytes": { - "type": "long" - }, - "Timestamp": { - "type": "integer" - } - } - } - }, - "GetAttributes": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "ItemName" - ], - "members": { - "DomainName": {}, - "ItemName": {}, - "AttributeNames": { - "type": "list", - "member": { - "locationName": "AttributeName" - }, - "flattened": true - }, - "ConsistentRead": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "GetAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "So" - } - } - } - }, - "ListDomains": { - "input": { - "type": "structure", - "members": { - "MaxNumberOfDomains": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListDomainsResult", - "type": "structure", - "members": { - "DomainNames": { - "type": "list", - "member": { - "locationName": "DomainName" - }, - "flattened": true - }, - "NextToken": {} - } - } - }, - "PutAttributes": { - "input": { - "type": "structure", - "required": [ - "DomainName", - "ItemName", - "Attributes" - ], - "members": { - "DomainName": {}, - "ItemName": {}, - "Attributes": { - "shape": "Sa" - }, - "Expected": { - "shape": "Sf" - } - } - } - }, - "Select": { - "input": { - "type": "structure", - "required": [ - "SelectExpression" - ], - "members": { - "SelectExpression": {}, - "NextToken": {}, - "ConsistentRead": { - "type": "boolean" - } - } - }, - "output": { - "resultWrapper": "SelectResult", - "type": "structure", - "members": { - "Items": { - "type": "list", - "member": { - "locationName": "Item", - "type": "structure", - "required": [ - "Name", - "Attributes" - ], - "members": { - "Name": {}, - "AlternateNameEncoding": {}, - "Attributes": { - "shape": "So" - } - } - }, - "flattened": true - }, - "NextToken": {} - } - } - } - }, - "shapes": { - "S5": { - "type": "list", - "member": { - "locationName": "Attribute", - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Value": {} - } - }, - "flattened": true - }, - "Sa": { - "type": "list", - "member": { - "locationName": "Attribute", - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "Value": {}, - "Replace": { - "type": "boolean" - } - } - }, - "flattened": true - }, - "Sf": { - "type": "structure", - "members": { - "Name": {}, - "Value": {}, - "Exists": { - "type": "boolean" - } - } - }, - "So": { - "type": "list", - "member": { - "locationName": "Attribute", - "type": "structure", - "required": [ - "Name", - "Value" - ], - "members": { - "Name": {}, - "AlternateNameEncoding": {}, - "Value": {}, - "AlternateValueEncoding": {} - } - }, - "flattened": true - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json b/src/node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json deleted file mode 100644 index 2362098..0000000 --- a/src/node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "pagination": { - "ListDomains": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxNumberOfDomains", - "result_key": "DomainNames" - }, - "Select": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Items" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.examples.json b/src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json b/src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json deleted file mode 100644 index 6c808a1..0000000 --- a/src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json +++ /dev/null @@ -1,1636 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-12-10", - "endpointPrefix": "servicecatalog", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Service Catalog", - "signatureVersion": "v4", - "targetPrefix": "AWS242ServiceCatalogService", - "uid": "servicecatalog-2015-12-10" - }, - "operations": { - "AcceptPortfolioShare": { - "input": { - "type": "structure", - "required": [ - "PortfolioId" - ], - "members": { - "AcceptLanguage": {}, - "PortfolioId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AssociatePrincipalWithPortfolio": { - "input": { - "type": "structure", - "required": [ - "PortfolioId", - "PrincipalARN", - "PrincipalType" - ], - "members": { - "AcceptLanguage": {}, - "PortfolioId": {}, - "PrincipalARN": {}, - "PrincipalType": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AssociateProductWithPortfolio": { - "input": { - "type": "structure", - "required": [ - "ProductId", - "PortfolioId" - ], - "members": { - "AcceptLanguage": {}, - "ProductId": {}, - "PortfolioId": {}, - "SourcePortfolioId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "AssociateTagOptionWithResource": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "TagOptionId" - ], - "members": { - "ResourceId": {}, - "TagOptionId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateConstraint": { - "input": { - "type": "structure", - "required": [ - "PortfolioId", - "ProductId", - "Parameters", - "Type", - "IdempotencyToken" - ], - "members": { - "AcceptLanguage": {}, - "PortfolioId": {}, - "ProductId": {}, - "Parameters": {}, - "Type": {}, - "Description": {}, - "IdempotencyToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "ConstraintDetail": { - "shape": "Sl" - }, - "ConstraintParameters": {}, - "Status": {} - } - } - }, - "CreatePortfolio": { - "input": { - "type": "structure", - "required": [ - "DisplayName", - "ProviderName", - "IdempotencyToken" - ], - "members": { - "AcceptLanguage": {}, - "DisplayName": {}, - "Description": {}, - "ProviderName": {}, - "Tags": { - "shape": "Ss" - }, - "IdempotencyToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "PortfolioDetail": { - "shape": "Sx" - }, - "Tags": { - "shape": "S10" - } - } - } - }, - "CreatePortfolioShare": { - "input": { - "type": "structure", - "required": [ - "PortfolioId", - "AccountId" - ], - "members": { - "AcceptLanguage": {}, - "PortfolioId": {}, - "AccountId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateProduct": { - "input": { - "type": "structure", - "required": [ - "Name", - "Owner", - "ProductType", - "ProvisioningArtifactParameters", - "IdempotencyToken" - ], - "members": { - "AcceptLanguage": {}, - "Name": {}, - "Owner": {}, - "Description": {}, - "Distributor": {}, - "SupportDescription": {}, - "SupportEmail": {}, - "SupportUrl": {}, - "ProductType": {}, - "Tags": { - "shape": "Ss" - }, - "ProvisioningArtifactParameters": { - "shape": "S1b" - }, - "IdempotencyToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewDetail": { - "shape": "S1j" - }, - "ProvisioningArtifactDetail": { - "shape": "S1o" - }, - "Tags": { - "shape": "S10" - } - } - } - }, - "CreateProvisioningArtifact": { - "input": { - "type": "structure", - "required": [ - "ProductId", - "Parameters", - "IdempotencyToken" - ], - "members": { - "AcceptLanguage": {}, - "ProductId": {}, - "Parameters": { - "shape": "S1b" - }, - "IdempotencyToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "ProvisioningArtifactDetail": { - "shape": "S1o" - }, - "Info": { - "shape": "S1e" - }, - "Status": {} - } - } - }, - "CreateTagOption": { - "input": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - }, - "output": { - "type": "structure", - "members": { - "TagOptionDetail": { - "shape": "S1v" - } - } - } - }, - "DeleteConstraint": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeletePortfolio": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeletePortfolioShare": { - "input": { - "type": "structure", - "required": [ - "PortfolioId", - "AccountId" - ], - "members": { - "AcceptLanguage": {}, - "PortfolioId": {}, - "AccountId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteProduct": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteProvisioningArtifact": { - "input": { - "type": "structure", - "required": [ - "ProductId", - "ProvisioningArtifactId" - ], - "members": { - "AcceptLanguage": {}, - "ProductId": {}, - "ProvisioningArtifactId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeConstraint": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "ConstraintDetail": { - "shape": "Sl" - }, - "ConstraintParameters": {}, - "Status": {} - } - } - }, - "DescribePortfolio": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "PortfolioDetail": { - "shape": "Sx" - }, - "Tags": { - "shape": "S10" - }, - "TagOptions": { - "shape": "S2b" - } - } - } - }, - "DescribeProduct": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewSummary": { - "shape": "S1k" - }, - "ProvisioningArtifacts": { - "shape": "S2e" - } - } - } - }, - "DescribeProductAsAdmin": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewDetail": { - "shape": "S1j" - }, - "ProvisioningArtifactSummaries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Description": {}, - "CreatedTime": { - "type": "timestamp" - }, - "ProvisioningArtifactMetadata": { - "shape": "S1e" - } - } - } - }, - "Tags": { - "shape": "S10" - }, - "TagOptions": { - "shape": "S2b" - } - } - } - }, - "DescribeProductView": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewSummary": { - "shape": "S1k" - }, - "ProvisioningArtifacts": { - "shape": "S2e" - } - } - } - }, - "DescribeProvisionedProduct": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProvisionedProductDetail": { - "shape": "S2p" - } - } - } - }, - "DescribeProvisioningArtifact": { - "input": { - "type": "structure", - "required": [ - "ProvisioningArtifactId", - "ProductId" - ], - "members": { - "AcceptLanguage": {}, - "ProvisioningArtifactId": {}, - "ProductId": {}, - "Verbose": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "ProvisioningArtifactDetail": { - "shape": "S1o" - }, - "Info": { - "shape": "S1e" - }, - "Status": {} - } - } - }, - "DescribeProvisioningParameters": { - "input": { - "type": "structure", - "required": [ - "ProductId", - "ProvisioningArtifactId" - ], - "members": { - "AcceptLanguage": {}, - "ProductId": {}, - "ProvisioningArtifactId": {}, - "PathId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProvisioningArtifactParameters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ParameterKey": {}, - "DefaultValue": {}, - "ParameterType": {}, - "IsNoEcho": { - "type": "boolean" - }, - "Description": {}, - "ParameterConstraints": { - "type": "structure", - "members": { - "AllowedValues": { - "type": "list", - "member": {} - } - } - } - } - } - }, - "ConstraintSummaries": { - "shape": "S3b" - }, - "UsageInstructions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Value": {} - } - } - }, - "TagOptions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - } - } - } - }, - "DescribeRecord": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {}, - "PageToken": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetail": { - "shape": "S3o" - }, - "RecordOutputs": { - "type": "list", - "member": { - "type": "structure", - "members": { - "OutputKey": {}, - "OutputValue": {}, - "Description": {} - } - } - }, - "NextPageToken": {} - } - } - }, - "DescribeTagOption": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": {} - } - }, - "output": { - "type": "structure", - "members": { - "TagOptionDetail": { - "shape": "S1v" - } - } - } - }, - "DisassociatePrincipalFromPortfolio": { - "input": { - "type": "structure", - "required": [ - "PortfolioId", - "PrincipalARN" - ], - "members": { - "AcceptLanguage": {}, - "PortfolioId": {}, - "PrincipalARN": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisassociateProductFromPortfolio": { - "input": { - "type": "structure", - "required": [ - "ProductId", - "PortfolioId" - ], - "members": { - "AcceptLanguage": {}, - "ProductId": {}, - "PortfolioId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisassociateTagOptionFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "TagOptionId" - ], - "members": { - "ResourceId": {}, - "TagOptionId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ListAcceptedPortfolioShares": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "PageToken": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "PortfolioDetails": { - "shape": "S4f" - }, - "NextPageToken": {} - } - } - }, - "ListConstraintsForPortfolio": { - "input": { - "type": "structure", - "required": [ - "PortfolioId" - ], - "members": { - "AcceptLanguage": {}, - "PortfolioId": {}, - "ProductId": {}, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ConstraintDetails": { - "type": "list", - "member": { - "shape": "Sl" - } - }, - "NextPageToken": {} - } - } - }, - "ListLaunchPaths": { - "input": { - "type": "structure", - "required": [ - "ProductId" - ], - "members": { - "AcceptLanguage": {}, - "ProductId": {}, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "LaunchPathSummaries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "ConstraintSummaries": { - "shape": "S3b" - }, - "Tags": { - "shape": "S10" - }, - "Name": {} - } - } - }, - "NextPageToken": {} - } - } - }, - "ListPortfolioAccess": { - "input": { - "type": "structure", - "required": [ - "PortfolioId" - ], - "members": { - "AcceptLanguage": {}, - "PortfolioId": {} - } - }, - "output": { - "type": "structure", - "members": { - "AccountIds": { - "type": "list", - "member": {} - }, - "NextPageToken": {} - } - } - }, - "ListPortfolios": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "PageToken": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "PortfolioDetails": { - "shape": "S4f" - }, - "NextPageToken": {} - } - } - }, - "ListPortfoliosForProduct": { - "input": { - "type": "structure", - "required": [ - "ProductId" - ], - "members": { - "AcceptLanguage": {}, - "ProductId": {}, - "PageToken": {}, - "PageSize": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "PortfolioDetails": { - "shape": "S4f" - }, - "NextPageToken": {} - } - } - }, - "ListPrincipalsForPortfolio": { - "input": { - "type": "structure", - "required": [ - "PortfolioId" - ], - "members": { - "AcceptLanguage": {}, - "PortfolioId": {}, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Principals": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PrincipalARN": {}, - "PrincipalType": {} - } - } - }, - "NextPageToken": {} - } - } - }, - "ListProvisioningArtifacts": { - "input": { - "type": "structure", - "required": [ - "ProductId" - ], - "members": { - "AcceptLanguage": {}, - "ProductId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProvisioningArtifactDetails": { - "type": "list", - "member": { - "shape": "S1o" - } - }, - "NextPageToken": {} - } - } - }, - "ListRecordHistory": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "AccessLevelFilter": { - "shape": "S53" - }, - "SearchFilter": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - }, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetails": { - "type": "list", - "member": { - "shape": "S3o" - } - }, - "NextPageToken": {} - } - } - }, - "ListResourcesForTagOption": { - "input": { - "type": "structure", - "required": [ - "TagOptionId" - ], - "members": { - "TagOptionId": {}, - "ResourceType": {}, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ResourceDetails": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "ARN": {}, - "Name": {}, - "Description": {}, - "CreatedTime": { - "type": "timestamp" - } - } - } - }, - "PageToken": {} - } - } - }, - "ListTagOptions": { - "input": { - "type": "structure", - "members": { - "Filters": { - "type": "structure", - "members": { - "Key": {}, - "Value": {}, - "Active": { - "type": "boolean" - } - } - }, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "TagOptionDetails": { - "shape": "S2b" - }, - "PageToken": {} - } - } - }, - "ProvisionProduct": { - "input": { - "type": "structure", - "required": [ - "ProductId", - "ProvisioningArtifactId", - "ProvisionedProductName", - "ProvisionToken" - ], - "members": { - "AcceptLanguage": {}, - "ProductId": {}, - "ProvisioningArtifactId": {}, - "PathId": {}, - "ProvisionedProductName": {}, - "ProvisioningParameters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Tags": { - "shape": "S10" - }, - "NotificationArns": { - "type": "list", - "member": {} - }, - "ProvisionToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetail": { - "shape": "S3o" - } - } - } - }, - "RejectPortfolioShare": { - "input": { - "type": "structure", - "required": [ - "PortfolioId" - ], - "members": { - "AcceptLanguage": {}, - "PortfolioId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "ScanProvisionedProducts": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "AccessLevelFilter": { - "shape": "S53" - }, - "PageSize": { - "type": "integer" - }, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProvisionedProducts": { - "type": "list", - "member": { - "shape": "S2p" - } - }, - "NextPageToken": {} - } - } - }, - "SearchProducts": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "Filters": { - "shape": "S61" - }, - "PageSize": { - "type": "integer" - }, - "SortBy": {}, - "SortOrder": {}, - "PageToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewSummaries": { - "type": "list", - "member": { - "shape": "S1k" - } - }, - "ProductViewAggregations": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Value": {}, - "ApproximateCount": { - "type": "integer" - } - } - } - } - }, - "NextPageToken": {} - } - } - }, - "SearchProductsAsAdmin": { - "input": { - "type": "structure", - "members": { - "AcceptLanguage": {}, - "PortfolioId": {}, - "Filters": { - "shape": "S61" - }, - "SortBy": {}, - "SortOrder": {}, - "PageToken": {}, - "PageSize": { - "type": "integer" - }, - "ProductSource": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewDetails": { - "type": "list", - "member": { - "shape": "S1j" - } - }, - "NextPageToken": {} - } - } - }, - "TerminateProvisionedProduct": { - "input": { - "type": "structure", - "required": [ - "TerminateToken" - ], - "members": { - "ProvisionedProductName": {}, - "ProvisionedProductId": {}, - "TerminateToken": { - "idempotencyToken": true - }, - "IgnoreErrors": { - "type": "boolean" - }, - "AcceptLanguage": {} - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetail": { - "shape": "S3o" - } - } - } - }, - "UpdateConstraint": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {}, - "Description": {} - } - }, - "output": { - "type": "structure", - "members": { - "ConstraintDetail": { - "shape": "Sl" - }, - "ConstraintParameters": {}, - "Status": {} - } - } - }, - "UpdatePortfolio": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {}, - "DisplayName": {}, - "Description": {}, - "ProviderName": {}, - "AddTags": { - "shape": "Ss" - }, - "RemoveTags": { - "shape": "S6p" - } - } - }, - "output": { - "type": "structure", - "members": { - "PortfolioDetail": { - "shape": "Sx" - }, - "Tags": { - "shape": "S10" - } - } - } - }, - "UpdateProduct": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "AcceptLanguage": {}, - "Id": {}, - "Name": {}, - "Owner": {}, - "Description": {}, - "Distributor": {}, - "SupportDescription": {}, - "SupportEmail": {}, - "SupportUrl": {}, - "AddTags": { - "shape": "Ss" - }, - "RemoveTags": { - "shape": "S6p" - } - } - }, - "output": { - "type": "structure", - "members": { - "ProductViewDetail": { - "shape": "S1j" - }, - "Tags": { - "shape": "S10" - } - } - } - }, - "UpdateProvisionedProduct": { - "input": { - "type": "structure", - "required": [ - "UpdateToken" - ], - "members": { - "AcceptLanguage": {}, - "ProvisionedProductName": {}, - "ProvisionedProductId": {}, - "ProductId": {}, - "ProvisioningArtifactId": {}, - "PathId": {}, - "ProvisioningParameters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {}, - "UsePreviousValue": { - "type": "boolean" - } - } - } - }, - "UpdateToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "RecordDetail": { - "shape": "S3o" - } - } - } - }, - "UpdateProvisioningArtifact": { - "input": { - "type": "structure", - "required": [ - "ProductId", - "ProvisioningArtifactId" - ], - "members": { - "AcceptLanguage": {}, - "ProductId": {}, - "ProvisioningArtifactId": {}, - "Name": {}, - "Description": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProvisioningArtifactDetail": { - "shape": "S1o" - }, - "Info": { - "shape": "S1e" - }, - "Status": {} - } - } - }, - "UpdateTagOption": { - "input": { - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": {}, - "Value": {}, - "Active": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "TagOptionDetail": { - "shape": "S1v" - } - } - } - } - }, - "shapes": { - "Sl": { - "type": "structure", - "members": { - "ConstraintId": {}, - "Type": {}, - "Description": {}, - "Owner": {} - } - }, - "Ss": { - "type": "list", - "member": { - "shape": "St" - } - }, - "St": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - }, - "Sx": { - "type": "structure", - "members": { - "Id": {}, - "ARN": {}, - "DisplayName": {}, - "Description": {}, - "CreatedTime": { - "type": "timestamp" - }, - "ProviderName": {} - } - }, - "S10": { - "type": "list", - "member": { - "shape": "St" - } - }, - "S1b": { - "type": "structure", - "required": [ - "Info" - ], - "members": { - "Name": {}, - "Description": {}, - "Info": { - "shape": "S1e" - }, - "Type": {} - } - }, - "S1e": { - "type": "map", - "key": {}, - "value": {} - }, - "S1j": { - "type": "structure", - "members": { - "ProductViewSummary": { - "shape": "S1k" - }, - "Status": {}, - "ProductARN": {}, - "CreatedTime": { - "type": "timestamp" - } - } - }, - "S1k": { - "type": "structure", - "members": { - "Id": {}, - "ProductId": {}, - "Name": {}, - "Owner": {}, - "ShortDescription": {}, - "Type": {}, - "Distributor": {}, - "HasDefaultPath": { - "type": "boolean" - }, - "SupportEmail": {}, - "SupportDescription": {}, - "SupportUrl": {} - } - }, - "S1o": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Description": {}, - "Type": {}, - "CreatedTime": { - "type": "timestamp" - } - } - }, - "S1v": { - "type": "structure", - "members": { - "Key": {}, - "Value": {}, - "Active": { - "type": "boolean" - }, - "Id": {} - } - }, - "S2b": { - "type": "list", - "member": { - "shape": "S1v" - } - }, - "S2e": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "Description": {}, - "CreatedTime": { - "type": "timestamp" - } - } - } - }, - "S2p": { - "type": "structure", - "members": { - "Name": {}, - "Arn": {}, - "Type": {}, - "Id": {}, - "Status": {}, - "StatusMessage": {}, - "CreatedTime": { - "type": "timestamp" - }, - "IdempotencyToken": {}, - "LastRecordId": {} - } - }, - "S3b": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Description": {} - } - } - }, - "S3o": { - "type": "structure", - "members": { - "RecordId": {}, - "ProvisionedProductName": {}, - "Status": {}, - "CreatedTime": { - "type": "timestamp" - }, - "UpdatedTime": { - "type": "timestamp" - }, - "ProvisionedProductType": {}, - "RecordType": {}, - "ProvisionedProductId": {}, - "ProductId": {}, - "ProvisioningArtifactId": {}, - "PathId": {}, - "RecordErrors": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Code": {}, - "Description": {} - } - } - }, - "RecordTags": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - } - } - } - }, - "S4f": { - "type": "list", - "member": { - "shape": "Sx" - } - }, - "S53": { - "type": "structure", - "members": { - "Key": {}, - "Value": {} - } - }, - "S61": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "S6p": { - "type": "list", - "member": {} - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.paginators.json b/src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.paginators.json deleted file mode 100644 index 8ff946f..0000000 --- a/src/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.paginators.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pagination": { - "ListResourcesForTagOption": { - "input_token": "PageToken", - "output_token": "PageToken", - "limit_key": "PageSize" - }, - "ListTagOptions": { - "input_token": "PageToken", - "output_token": "PageToken", - "limit_key": "PageSize" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/shield-2016-06-02.min.json b/src/node_modules/aws-sdk/apis/shield-2016-06-02.min.json deleted file mode 100644 index 9a68fe7..0000000 --- a/src/node_modules/aws-sdk/apis/shield-2016-06-02.min.json +++ /dev/null @@ -1,301 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-06-02", - "endpointPrefix": "shield", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "AWS Shield", - "serviceFullName": "AWS Shield", - "signatureVersion": "v4", - "targetPrefix": "AWSShield_20160616", - "uid": "shield-2016-06-02" - }, - "operations": { - "CreateProtection": { - "input": { - "type": "structure", - "required": [ - "Name", - "ResourceArn" - ], - "members": { - "Name": {}, - "ResourceArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "ProtectionId": {} - } - } - }, - "CreateSubscription": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteProtection": { - "input": { - "type": "structure", - "required": [ - "ProtectionId" - ], - "members": { - "ProtectionId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteSubscription": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeAttack": { - "input": { - "type": "structure", - "required": [ - "AttackId" - ], - "members": { - "AttackId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Attack": { - "type": "structure", - "members": { - "AttackId": {}, - "ResourceArn": {}, - "SubResources": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "Id": {}, - "AttackVectors": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "VectorType" - ], - "members": { - "VectorType": {}, - "VectorCounters": { - "shape": "Sm" - } - } - } - }, - "Counters": { - "shape": "Sm" - } - } - } - }, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "AttackCounters": { - "shape": "Sm" - }, - "Mitigations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "MitigationName": {} - } - } - } - } - } - } - } - }, - "DescribeProtection": { - "input": { - "type": "structure", - "required": [ - "ProtectionId" - ], - "members": { - "ProtectionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Protection": { - "shape": "Sv" - } - } - } - }, - "DescribeSubscription": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "Subscription": { - "type": "structure", - "members": { - "StartTime": { - "type": "timestamp" - }, - "TimeCommitmentInSeconds": { - "type": "long" - } - } - } - } - } - }, - "ListAttacks": { - "input": { - "type": "structure", - "members": { - "ResourceArns": { - "type": "list", - "member": {} - }, - "StartTime": { - "shape": "S13" - }, - "EndTime": { - "shape": "S13" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "AttackSummaries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AttackId": {}, - "ResourceArn": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "AttackVectors": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "VectorType" - ], - "members": { - "VectorType": {} - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "ListProtections": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Protections": { - "type": "list", - "member": { - "shape": "Sv" - } - }, - "NextToken": {} - } - } - } - }, - "shapes": { - "Sm": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Max": { - "type": "double" - }, - "Average": { - "type": "double" - }, - "Sum": { - "type": "double" - }, - "N": { - "type": "integer" - }, - "Unit": {} - } - } - }, - "Sv": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "ResourceArn": {} - } - }, - "S13": { - "type": "structure", - "members": { - "FromInclusive": { - "type": "timestamp" - }, - "ToExclusive": { - "type": "timestamp" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/sms-2016-10-24.min.json b/src/node_modules/aws-sdk/apis/sms-2016-10-24.min.json deleted file mode 100644 index 787c847..0000000 --- a/src/node_modules/aws-sdk/apis/sms-2016-10-24.min.json +++ /dev/null @@ -1,338 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "sms-2016-10-24", - "apiVersion": "2016-10-24", - "endpointPrefix": "sms", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "SMS", - "serviceFullName": "AWS Server Migration Service", - "signatureVersion": "v4", - "targetPrefix": "AWSServerMigrationService_V2016_10_24" - }, - "operations": { - "CreateReplicationJob": { - "input": { - "type": "structure", - "required": [ - "serverId", - "seedReplicationTime", - "frequency" - ], - "members": { - "serverId": {}, - "seedReplicationTime": { - "type": "timestamp" - }, - "frequency": { - "type": "integer" - }, - "licenseType": {}, - "roleName": {}, - "description": {} - } - }, - "output": { - "type": "structure", - "members": { - "replicationJobId": {} - } - } - }, - "DeleteReplicationJob": { - "input": { - "type": "structure", - "required": [ - "replicationJobId" - ], - "members": { - "replicationJobId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteServerCatalog": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DisassociateConnector": { - "input": { - "type": "structure", - "required": [ - "connectorId" - ], - "members": { - "connectorId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "GetConnectors": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "connectorList": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "connectorId": {}, - "version": {}, - "status": {}, - "capabilityList": { - "type": "list", - "member": { - "locationName": "item" - } - }, - "vmManagerName": {}, - "vmManagerType": {}, - "vmManagerId": {}, - "ipAddress": {}, - "macAddress": {}, - "associatedOn": { - "type": "timestamp" - } - } - } - }, - "nextToken": {} - } - } - }, - "GetReplicationJobs": { - "input": { - "type": "structure", - "members": { - "replicationJobId": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "replicationJobList": { - "type": "list", - "member": { - "shape": "Sz", - "locationName": "item" - } - }, - "nextToken": {} - } - } - }, - "GetReplicationRuns": { - "input": { - "type": "structure", - "required": [ - "replicationJobId" - ], - "members": { - "replicationJobId": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "replicationJob": { - "shape": "Sz" - }, - "replicationRunList": { - "shape": "S19" - }, - "nextToken": {} - } - } - }, - "GetServers": { - "input": { - "type": "structure", - "members": { - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "lastModifiedOn": { - "type": "timestamp" - }, - "serverCatalogStatus": {}, - "serverList": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "serverId": {}, - "serverType": {}, - "vmServer": { - "shape": "S11" - }, - "replicationJobId": {}, - "replicationJobTerminated": { - "type": "boolean" - } - } - } - }, - "nextToken": {} - } - } - }, - "ImportServerCatalog": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": {} - } - }, - "StartOnDemandReplicationRun": { - "input": { - "type": "structure", - "required": [ - "replicationJobId" - ], - "members": { - "replicationJobId": {}, - "description": {} - } - }, - "output": { - "type": "structure", - "members": { - "replicationRunId": {} - } - } - }, - "UpdateReplicationJob": { - "input": { - "type": "structure", - "required": [ - "replicationJobId" - ], - "members": { - "replicationJobId": {}, - "frequency": { - "type": "integer" - }, - "nextReplicationRunStartTime": { - "type": "timestamp" - }, - "licenseType": {}, - "roleName": {}, - "description": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "Sz": { - "type": "structure", - "members": { - "replicationJobId": {}, - "serverId": {}, - "serverType": {}, - "vmServer": { - "shape": "S11" - }, - "seedReplicationTime": { - "type": "timestamp" - }, - "frequency": { - "type": "integer" - }, - "nextReplicationRunStartTime": { - "type": "timestamp" - }, - "licenseType": {}, - "roleName": {}, - "latestAmiId": {}, - "state": {}, - "statusMessage": {}, - "description": {}, - "replicationRunList": { - "shape": "S19" - } - } - }, - "S11": { - "type": "structure", - "members": { - "vmServerAddress": { - "type": "structure", - "members": { - "vmManagerId": {}, - "vmId": {} - } - }, - "vmName": {}, - "vmManagerName": {}, - "vmManagerType": {}, - "vmPath": {} - } - }, - "S19": { - "type": "list", - "member": { - "locationName": "item", - "type": "structure", - "members": { - "replicationRunId": {}, - "state": {}, - "type": {}, - "statusMessage": {}, - "amiId": {}, - "scheduledStartTime": { - "type": "timestamp" - }, - "completedTime": { - "type": "timestamp" - }, - "description": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/sms-2016-10-24.paginators.json b/src/node_modules/aws-sdk/apis/sms-2016-10-24.paginators.json deleted file mode 100644 index 6523699..0000000 --- a/src/node_modules/aws-sdk/apis/sms-2016-10-24.paginators.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "pagination":{ - "GetReplicationJobs": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "replicationJobList" - }, - "GetReplicationRuns": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "replicationRunList" - }, - "GetConnectors": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "connectorList" - }, - "GetServers": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "serverList" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/snowball-2016-06-30.examples.json b/src/node_modules/aws-sdk/apis/snowball-2016-06-30.examples.json deleted file mode 100644 index 9d69971..0000000 --- a/src/node_modules/aws-sdk/apis/snowball-2016-06-30.examples.json +++ /dev/null @@ -1,442 +0,0 @@ -{ - "version": "1.0", - "examples": { - "CancelCluster": [ - { - "input": { - "ClusterId": "CID123e4567-e89b-12d3-a456-426655440000" - }, - "comments": { - }, - "description": "This operation cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status.", - "id": "to-cancel-a-cluster-job-1482533760554", - "title": "To cancel a cluster job" - } - ], - "CancelJob": [ - { - "input": { - "JobId": "JID123e4567-e89b-12d3-a456-426655440000" - }, - "comments": { - }, - "description": "This operation cancels a job. You can only cancel a job before its JobState value changes to PreparingAppliance.", - "id": "to-cancel-a-job-for-a-snowball-device-1482534699477", - "title": "To cancel a job for a Snowball device" - } - ], - "CreateAddress": [ - { - "input": { - "Address": { - "City": "Seattle", - "Company": "My Company's Name", - "Country": "USA", - "Name": "My Name", - "PhoneNumber": "425-555-5555", - "PostalCode": "98101", - "StateOrProvince": "WA", - "Street1": "123 Main Street" - } - }, - "output": { - "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b" - }, - "comments": { - }, - "description": "This operation creates an address for a job. Addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown.", - "id": "to-create-an-address-for-a-job-1482535416294", - "title": "To create an address for a job" - } - ], - "CreateCluster": [ - { - "input": { - "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", - "Description": "MyCluster", - "JobType": "LOCAL_USE", - "KmsKeyARN": "arn:aws:kms:us-east-1:123456789012:key/abcd1234-12ab-34cd-56ef-123456123456", - "Notification": { - "JobStatesToNotify": [ - - ], - "NotifyAll": false - }, - "Resources": { - "S3Resources": [ - { - "BucketArn": "arn:aws:s3:::MyBucket", - "KeyRange": { - } - } - ] - }, - "RoleARN": "arn:aws:iam::123456789012:role/snowball-import-S3-role", - "ShippingOption": "SECOND_DAY", - "SnowballType": "EDGE" - }, - "output": { - "ClusterId": "CID123e4567-e89b-12d3-a456-426655440000" - }, - "comments": { - }, - "description": "Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created.", - "id": "to-create-a-cluster-1482864724077", - "title": "To create a cluster" - } - ], - "CreateJob": [ - { - "input": { - "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", - "Description": "My Job", - "JobType": "IMPORT", - "KmsKeyARN": "arn:aws:kms:us-east-1:123456789012:key/abcd1234-12ab-34cd-56ef-123456123456", - "Notification": { - "JobStatesToNotify": [ - - ], - "NotifyAll": false - }, - "Resources": { - "S3Resources": [ - { - "BucketArn": "arn:aws:s3:::MyBucket", - "KeyRange": { - } - } - ] - }, - "RoleARN": "arn:aws:iam::123456789012:role/snowball-import-S3-role", - "ShippingOption": "SECOND_DAY", - "SnowballCapacityPreference": "T80", - "SnowballType": "STANDARD" - }, - "output": { - "JobId": "JID123e4567-e89b-12d3-a456-426655440000" - }, - "comments": { - }, - "description": "Creates a job to import or export data between Amazon S3 and your on-premises data center. Your AWS account must have the right trust policies and permissions in place to create a job for Snowball. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster.", - "id": "to-create-a-job-1482864834886", - "title": "To create a job" - } - ], - "DescribeAddress": [ - { - "input": { - "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b" - }, - "output": { - "Address": { - "AddressId": "ADID5643ec50-3eec-4eb3-9be6-9374c10eb51b", - "City": "Seattle", - "Company": "My Company", - "Country": "US", - "Name": "My Name", - "PhoneNumber": "425-555-5555", - "PostalCode": "98101", - "StateOrProvince": "WA", - "Street1": "123 Main Street" - } - }, - "comments": { - }, - "description": "This operation describes an address for a job.", - "id": "to-describe-an-address-for-a-job-1482538608745", - "title": "To describe an address for a job" - } - ], - "DescribeAddresses": [ - { - "input": { - }, - "output": { - "Addresses": [ - { - "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", - "City": "Seattle", - "Company": "My Company", - "Country": "US", - "Name": "My Name", - "PhoneNumber": "425-555-5555", - "PostalCode": "98101", - "StateOrProvince": "WA", - "Street1": "123 Main Street" - } - ] - }, - "comments": { - }, - "description": "This operation describes all the addresses that you've created for AWS Snowball. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions.", - "id": "to-describe-all-the-addresses-youve-created-for-aws-snowball-1482538936603", - "title": "To describe all the addresses you've created for AWS Snowball" - } - ], - "DescribeCluster": [ - { - "input": { - "ClusterId": "CID123e4567-e89b-12d3-a456-426655440000" - }, - "output": { - "ClusterMetadata": { - "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", - "ClusterId": "CID123e4567-e89b-12d3-a456-426655440000", - "ClusterState": "Pending", - "CreationDate": "1480475517.0", - "Description": "MyCluster", - "JobType": "LOCAL_USE", - "KmsKeyARN": "arn:aws:kms:us-east-1:123456789012:key/abcd1234-12ab-34cd-56ef-123456123456", - "Notification": { - "JobStatesToNotify": [ - - ], - "NotifyAll": false - }, - "Resources": { - "S3Resources": [ - { - "BucketArn": "arn:aws:s3:::MyBucket", - "KeyRange": { - } - } - ] - }, - "RoleARN": "arn:aws:iam::123456789012:role/snowball-import-S3-role", - "ShippingOption": "SECOND_DAY" - } - }, - "comments": { - }, - "description": "Returns information about a specific cluster including shipping information, cluster status, and other important metadata.", - "id": "to-describe-a-cluster-1482864218396", - "title": "To describe a cluster" - } - ], - "DescribeJob": [ - { - "input": { - "JobId": "JID123e4567-e89b-12d3-a456-426655440000" - }, - "output": { - "JobMetadata": { - "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", - "CreationDate": "1475626164", - "Description": "My Job", - "JobId": "JID123e4567-e89b-12d3-a456-426655440000", - "JobState": "New", - "JobType": "IMPORT", - "KmsKeyARN": "arn:aws:kms:us-east-1:123456789012:key/abcd1234-12ab-34cd-56ef-123456123456", - "Notification": { - "JobStatesToNotify": [ - - ], - "NotifyAll": false - }, - "Resources": { - "S3Resources": [ - { - "BucketArn": "arn:aws:s3:::MyBucket", - "KeyRange": { - } - } - ] - }, - "RoleARN": "arn:aws:iam::123456789012:role/snowball-import-S3-role", - "ShippingDetails": { - "ShippingOption": "SECOND_DAY" - }, - "SnowballCapacityPreference": "T80", - "SnowballType": "STANDARD" - } - }, - "comments": { - }, - "description": "This operation describes a job you've created for AWS Snowball.", - "id": "to-describe-a-job-youve-created-for-aws-snowball-1482539500180", - "title": "To describe a job you've created for AWS Snowball" - } - ], - "GetJobManifest": [ - { - "input": { - "JobId": "JID123e4567-e89b-12d3-a456-426655440000" - }, - "output": { - "ManifestURI": "https://awsie-frosty-manifests-prod.s3.amazonaws.com/JID123e4567-e89b-12d3-a456-426655440000_manifest.bin?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20161224T005115Z&X-Amz-SignedHeaders=..." - }, - "comments": { - }, - "description": "Returns a link to an Amazon S3 presigned URL for the manifest file associated with the specified JobId value. You can access the manifest file for up to 60 minutes after this request has been made. To access the manifest file after 60 minutes have passed, you'll have to make another call to the GetJobManifest action.\n\nThe manifest is an encrypted file that you can download after your job enters the WithCustomer status. The manifest is decrypted by using the UnlockCode code value, when you pass both values to the Snowball through the Snowball client when the client is started for the first time.\n\nAs a best practice, we recommend that you don't save a copy of an UnlockCode value in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job.\n\nThe credentials of a given job, including its manifest file and unlock code, expire 90 days after the job is created.", - "id": "to-get-the-manifest-for-a-job-youve-created-for-aws-snowball-1482540389246", - "title": "To get the manifest for a job you've created for AWS Snowball" - } - ], - "GetJobUnlockCode": [ - { - "input": { - "JobId": "JID123e4567-e89b-12d3-a456-426655440000" - }, - "output": { - "UnlockCode": "12345-abcde-56789-fghij-01234" - }, - "comments": { - }, - "description": "Returns the UnlockCode code value for the specified job. A particular UnlockCode value can be accessed for up to 90 days after the associated job has been created.\n\nThe UnlockCode value is a 29-character code with 25 alphanumeric characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed along with the manifest to the Snowball through the Snowball client when the client is started for the first time.\n\nAs a best practice, we recommend that you don't save a copy of the UnlockCode in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job.", - "id": "to-get-the-unlock-code-for-a-job-youve-created-for-aws-snowball-1482541987286", - "title": "To get the unlock code for a job you've created for AWS Snowball" - } - ], - "GetSnowballUsage": [ - { - "input": { - }, - "output": { - "SnowballLimit": 1, - "SnowballsInUse": 0 - }, - "comments": { - }, - "description": "Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use.\n\nThe default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support.", - "id": "to-see-your-snowball-service-limit-and-the-number-of-snowballs-you-have-in-use-1482863394588", - "title": "To see your Snowball service limit and the number of Snowballs you have in use" - } - ], - "ListClusterJobs": [ - { - "input": { - "ClusterId": "CID123e4567-e89b-12d3-a456-426655440000" - }, - "output": { - "JobListEntries": [ - { - "CreationDate": "1480475524.0", - "Description": "MyClustrer-node-001", - "IsMaster": false, - "JobId": "JID123e4567-e89b-12d3-a456-426655440000", - "JobState": "New", - "JobType": "LOCAL_USE", - "SnowballType": "EDGE" - }, - { - "CreationDate": "1480475525.0", - "Description": "MyClustrer-node-002", - "IsMaster": false, - "JobId": "JID123e4567-e89b-12d3-a456-426655440001", - "JobState": "New", - "JobType": "LOCAL_USE", - "SnowballType": "EDGE" - }, - { - "CreationDate": "1480475525.0", - "Description": "MyClustrer-node-003", - "IsMaster": false, - "JobId": "JID123e4567-e89b-12d3-a456-426655440002", - "JobState": "New", - "JobType": "LOCAL_USE", - "SnowballType": "EDGE" - }, - { - "CreationDate": "1480475525.0", - "Description": "MyClustrer-node-004", - "IsMaster": false, - "JobId": "JID123e4567-e89b-12d3-a456-426655440003", - "JobState": "New", - "JobType": "LOCAL_USE", - "SnowballType": "EDGE" - }, - { - "CreationDate": "1480475525.0", - "Description": "MyClustrer-node-005", - "IsMaster": false, - "JobId": "JID123e4567-e89b-12d3-a456-426655440004", - "JobState": "New", - "JobType": "LOCAL_USE", - "SnowballType": "EDGE" - } - ] - }, - "comments": { - }, - "description": "Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information.", - "id": "to-get-a-list-of-jobs-in-a-cluster-that-youve-created-for-aws-snowball-1482863105773", - "title": "To get a list of jobs in a cluster that you've created for AWS Snowball" - } - ], - "ListClusters": [ - { - "input": { - }, - "output": { - "ClusterListEntries": [ - { - "ClusterId": "CID123e4567-e89b-12d3-a456-426655440000", - "ClusterState": "Pending", - "CreationDate": "1480475517.0", - "Description": "MyCluster" - } - ] - }, - "comments": { - }, - "description": "Returns an array of ClusterListEntry objects of the specified length. Each ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status information.", - "id": "to-get-a-list-of-clusters-that-youve-created-for-aws-snowball-1482862223003", - "title": "To get a list of clusters that you've created for AWS Snowball" - } - ], - "ListJobs": [ - { - "input": { - }, - "output": { - "JobListEntries": [ - { - "CreationDate": "1460678186.0", - "Description": "MyJob", - "IsMaster": false, - "JobId": "JID123e4567-e89b-12d3-a456-426655440000", - "JobState": "New", - "JobType": "IMPORT", - "SnowballType": "STANDARD" - } - ] - }, - "comments": { - }, - "description": "Returns an array of JobListEntry objects of the specified length. Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. Calling this API action in one of the US regions will return jobs from the list of all jobs associated with this account in all US regions.", - "id": "to-get-a-list-of-jobs-that-youve-created-for-aws-snowball-1482542167627", - "title": "To get a list of jobs that you've created for AWS Snowball" - } - ], - "UpdateCluster": [ - { - "input": { - "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", - "ClusterId": "CID123e4567-e89b-12d3-a456-426655440000", - "Description": "Updated the address to send this to image processing - RJ" - }, - "comments": { - }, - "description": "This action allows you to update certain parameters for a cluster. Once the cluster changes to a different state, usually within 60 minutes of it being created, this action is no longer available.", - "id": "to-update-a-cluster-1482863900595", - "title": "To update a cluster" - } - ], - "UpdateJob": [ - { - "input": { - "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", - "Description": "Upgraded to Edge, shipped to Finance Dept, and requested faster shipping speed - TS.", - "JobId": "JID123e4567-e89b-12d3-a456-426655440000", - "ShippingOption": "NEXT_DAY", - "SnowballCapacityPreference": "T100" - }, - "comments": { - }, - "description": "This action allows you to update certain parameters for a job. Once the job changes to a different job state, usually within 60 minutes of the job being created, this action is no longer available.", - "id": "to-update-a-job-1482863556886", - "title": "To update a job" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json b/src/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json deleted file mode 100644 index b68754b..0000000 --- a/src/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json +++ /dev/null @@ -1,577 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-06-30", - "endpointPrefix": "snowball", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon Snowball", - "serviceFullName": "Amazon Import/Export Snowball", - "signatureVersion": "v4", - "targetPrefix": "AWSIESnowballJobManagementService", - "uid": "snowball-2016-06-30" - }, - "operations": { - "CancelCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CancelJob": { - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateAddress": { - "input": { - "type": "structure", - "required": [ - "Address" - ], - "members": { - "Address": { - "shape": "S8" - } - } - }, - "output": { - "type": "structure", - "members": { - "AddressId": {} - } - } - }, - "CreateCluster": { - "input": { - "type": "structure", - "required": [ - "JobType", - "Resources", - "AddressId", - "RoleARN", - "ShippingOption" - ], - "members": { - "JobType": {}, - "Resources": { - "shape": "Sf" - }, - "Description": {}, - "AddressId": {}, - "KmsKeyARN": {}, - "RoleARN": {}, - "SnowballType": {}, - "ShippingOption": {}, - "Notification": { - "shape": "Ss" - }, - "ForwardingAddressId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClusterId": {} - } - } - }, - "CreateJob": { - "input": { - "type": "structure", - "members": { - "JobType": {}, - "Resources": { - "shape": "Sf" - }, - "Description": {}, - "AddressId": {}, - "KmsKeyARN": {}, - "RoleARN": {}, - "SnowballCapacityPreference": {}, - "ShippingOption": {}, - "Notification": { - "shape": "Ss" - }, - "ClusterId": {}, - "SnowballType": {}, - "ForwardingAddressId": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobId": {} - } - } - }, - "DescribeAddress": { - "input": { - "type": "structure", - "required": [ - "AddressId" - ], - "members": { - "AddressId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Address": { - "shape": "S8" - } - } - } - }, - "DescribeAddresses": { - "input": { - "type": "structure", - "members": { - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Addresses": { - "type": "list", - "member": { - "shape": "S8" - } - }, - "NextToken": {} - } - } - }, - "DescribeCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClusterMetadata": { - "type": "structure", - "members": { - "ClusterId": {}, - "Description": {}, - "KmsKeyARN": {}, - "RoleARN": {}, - "ClusterState": {}, - "JobType": {}, - "SnowballType": {}, - "CreationDate": { - "type": "timestamp" - }, - "Resources": { - "shape": "Sf" - }, - "AddressId": {}, - "ShippingOption": {}, - "Notification": { - "shape": "Ss" - }, - "ForwardingAddressId": {} - } - } - } - } - }, - "DescribeJob": { - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobMetadata": { - "shape": "S1d" - }, - "SubJobMetadata": { - "type": "list", - "member": { - "shape": "S1d" - } - } - } - } - }, - "GetJobManifest": { - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ManifestURI": {} - } - } - }, - "GetJobUnlockCode": { - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {} - } - }, - "output": { - "type": "structure", - "members": { - "UnlockCode": {} - } - } - }, - "GetSnowballUsage": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "SnowballLimit": { - "type": "integer" - }, - "SnowballsInUse": { - "type": "integer" - } - } - } - }, - "ListClusterJobs": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobListEntries": { - "shape": "S1t" - }, - "NextToken": {} - } - } - }, - "ListClusters": { - "input": { - "type": "structure", - "members": { - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ClusterListEntries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ClusterId": {}, - "ClusterState": {}, - "CreationDate": { - "type": "timestamp" - }, - "Description": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListJobs": { - "input": { - "type": "structure", - "members": { - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "JobListEntries": { - "shape": "S1t" - }, - "NextToken": {} - } - } - }, - "UpdateCluster": { - "input": { - "type": "structure", - "required": [ - "ClusterId" - ], - "members": { - "ClusterId": {}, - "RoleARN": {}, - "Description": {}, - "Resources": { - "shape": "Sf" - }, - "AddressId": {}, - "ShippingOption": {}, - "Notification": { - "shape": "Ss" - }, - "ForwardingAddressId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateJob": { - "input": { - "type": "structure", - "required": [ - "JobId" - ], - "members": { - "JobId": {}, - "RoleARN": {}, - "Notification": { - "shape": "Ss" - }, - "Resources": { - "shape": "Sf" - }, - "AddressId": {}, - "ShippingOption": {}, - "Description": {}, - "SnowballCapacityPreference": {}, - "ForwardingAddressId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - } - }, - "shapes": { - "S8": { - "type": "structure", - "members": { - "AddressId": {}, - "Name": {}, - "Company": {}, - "Street1": {}, - "Street2": {}, - "Street3": {}, - "City": {}, - "StateOrProvince": {}, - "PrefectureOrDistrict": {}, - "Landmark": {}, - "Country": {}, - "PostalCode": {}, - "PhoneNumber": {}, - "IsRestricted": { - "type": "boolean" - } - } - }, - "Sf": { - "type": "structure", - "members": { - "S3Resources": { - "type": "list", - "member": { - "type": "structure", - "members": { - "BucketArn": {}, - "KeyRange": { - "type": "structure", - "members": { - "BeginMarker": {}, - "EndMarker": {} - } - } - } - } - }, - "LambdaResources": { - "type": "list", - "member": { - "type": "structure", - "members": { - "LambdaArn": {}, - "EventTriggers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EventResourceARN": {} - } - } - } - } - } - } - } - }, - "Ss": { - "type": "structure", - "members": { - "SnsTopicARN": {}, - "JobStatesToNotify": { - "type": "list", - "member": {} - }, - "NotifyAll": { - "type": "boolean" - } - } - }, - "S1d": { - "type": "structure", - "members": { - "JobId": {}, - "JobState": {}, - "JobType": {}, - "SnowballType": {}, - "CreationDate": { - "type": "timestamp" - }, - "Resources": { - "shape": "Sf" - }, - "Description": {}, - "KmsKeyARN": {}, - "RoleARN": {}, - "AddressId": {}, - "ShippingDetails": { - "type": "structure", - "members": { - "ShippingOption": {}, - "InboundShipment": { - "shape": "S1f" - }, - "OutboundShipment": { - "shape": "S1f" - } - } - }, - "SnowballCapacityPreference": {}, - "Notification": { - "shape": "Ss" - }, - "DataTransferProgress": { - "type": "structure", - "members": { - "BytesTransferred": { - "type": "long" - }, - "ObjectsTransferred": { - "type": "long" - }, - "TotalBytes": { - "type": "long" - }, - "TotalObjects": { - "type": "long" - } - } - }, - "JobLogInfo": { - "type": "structure", - "members": { - "JobCompletionReportURI": {}, - "JobSuccessLogURI": {}, - "JobFailureLogURI": {} - } - }, - "ClusterId": {}, - "ForwardingAddressId": {} - } - }, - "S1f": { - "type": "structure", - "members": { - "Status": {}, - "TrackingNumber": {} - } - }, - "S1t": { - "type": "list", - "member": { - "type": "structure", - "members": { - "JobId": {}, - "JobState": {}, - "IsMaster": { - "type": "boolean" - }, - "JobType": {}, - "SnowballType": {}, - "CreationDate": { - "type": "timestamp" - }, - "Description": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json b/src/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json deleted file mode 100644 index c5d937b..0000000 --- a/src/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "pagination": { - "DescribeAddresses": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Addresses" - }, - "ListJobs": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "JobListEntries" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/sns-2010-03-31.min.json b/src/node_modules/aws-sdk/apis/sns-2010-03-31.min.json deleted file mode 100644 index 906fb85..0000000 --- a/src/node_modules/aws-sdk/apis/sns-2010-03-31.min.json +++ /dev/null @@ -1,623 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "sns-2010-03-31", - "apiVersion": "2010-03-31", - "endpointPrefix": "sns", - "protocol": "query", - "serviceAbbreviation": "Amazon SNS", - "serviceFullName": "Amazon Simple Notification Service", - "signatureVersion": "v4", - "xmlNamespace": "http://sns.amazonaws.com/doc/2010-03-31/" - }, - "operations": { - "AddPermission": { - "input": { - "type": "structure", - "required": [ - "TopicArn", - "Label", - "AWSAccountId", - "ActionName" - ], - "members": { - "TopicArn": {}, - "Label": {}, - "AWSAccountId": { - "type": "list", - "member": {} - }, - "ActionName": { - "type": "list", - "member": {} - } - } - } - }, - "CheckIfPhoneNumberIsOptedOut": { - "input": { - "type": "structure", - "required": [ - "phoneNumber" - ], - "members": { - "phoneNumber": {} - } - }, - "output": { - "resultWrapper": "CheckIfPhoneNumberIsOptedOutResult", - "type": "structure", - "members": { - "isOptedOut": { - "type": "boolean" - } - } - } - }, - "ConfirmSubscription": { - "input": { - "type": "structure", - "required": [ - "TopicArn", - "Token" - ], - "members": { - "TopicArn": {}, - "Token": {}, - "AuthenticateOnUnsubscribe": {} - } - }, - "output": { - "resultWrapper": "ConfirmSubscriptionResult", - "type": "structure", - "members": { - "SubscriptionArn": {} - } - } - }, - "CreatePlatformApplication": { - "input": { - "type": "structure", - "required": [ - "Name", - "Platform", - "Attributes" - ], - "members": { - "Name": {}, - "Platform": {}, - "Attributes": { - "shape": "Sj" - } - } - }, - "output": { - "resultWrapper": "CreatePlatformApplicationResult", - "type": "structure", - "members": { - "PlatformApplicationArn": {} - } - } - }, - "CreatePlatformEndpoint": { - "input": { - "type": "structure", - "required": [ - "PlatformApplicationArn", - "Token" - ], - "members": { - "PlatformApplicationArn": {}, - "Token": {}, - "CustomUserData": {}, - "Attributes": { - "shape": "Sj" - } - } - }, - "output": { - "resultWrapper": "CreatePlatformEndpointResult", - "type": "structure", - "members": { - "EndpointArn": {} - } - } - }, - "CreateTopic": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "resultWrapper": "CreateTopicResult", - "type": "structure", - "members": { - "TopicArn": {} - } - } - }, - "DeleteEndpoint": { - "input": { - "type": "structure", - "required": [ - "EndpointArn" - ], - "members": { - "EndpointArn": {} - } - } - }, - "DeletePlatformApplication": { - "input": { - "type": "structure", - "required": [ - "PlatformApplicationArn" - ], - "members": { - "PlatformApplicationArn": {} - } - } - }, - "DeleteTopic": { - "input": { - "type": "structure", - "required": [ - "TopicArn" - ], - "members": { - "TopicArn": {} - } - } - }, - "GetEndpointAttributes": { - "input": { - "type": "structure", - "required": [ - "EndpointArn" - ], - "members": { - "EndpointArn": {} - } - }, - "output": { - "resultWrapper": "GetEndpointAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "Sj" - } - } - } - }, - "GetPlatformApplicationAttributes": { - "input": { - "type": "structure", - "required": [ - "PlatformApplicationArn" - ], - "members": { - "PlatformApplicationArn": {} - } - }, - "output": { - "resultWrapper": "GetPlatformApplicationAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "Sj" - } - } - } - }, - "GetSMSAttributes": { - "input": { - "type": "structure", - "members": { - "attributes": { - "type": "list", - "member": {} - } - } - }, - "output": { - "resultWrapper": "GetSMSAttributesResult", - "type": "structure", - "members": { - "attributes": { - "shape": "Sj" - } - } - } - }, - "GetSubscriptionAttributes": { - "input": { - "type": "structure", - "required": [ - "SubscriptionArn" - ], - "members": { - "SubscriptionArn": {} - } - }, - "output": { - "resultWrapper": "GetSubscriptionAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "GetTopicAttributes": { - "input": { - "type": "structure", - "required": [ - "TopicArn" - ], - "members": { - "TopicArn": {} - } - }, - "output": { - "resultWrapper": "GetTopicAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "type": "map", - "key": {}, - "value": {} - } - } - } - }, - "ListEndpointsByPlatformApplication": { - "input": { - "type": "structure", - "required": [ - "PlatformApplicationArn" - ], - "members": { - "PlatformApplicationArn": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListEndpointsByPlatformApplicationResult", - "type": "structure", - "members": { - "Endpoints": { - "type": "list", - "member": { - "type": "structure", - "members": { - "EndpointArn": {}, - "Attributes": { - "shape": "Sj" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListPhoneNumbersOptedOut": { - "input": { - "type": "structure", - "members": { - "nextToken": {} - } - }, - "output": { - "resultWrapper": "ListPhoneNumbersOptedOutResult", - "type": "structure", - "members": { - "phoneNumbers": { - "type": "list", - "member": {} - }, - "nextToken": {} - } - } - }, - "ListPlatformApplications": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListPlatformApplicationsResult", - "type": "structure", - "members": { - "PlatformApplications": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PlatformApplicationArn": {}, - "Attributes": { - "shape": "Sj" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListSubscriptions": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListSubscriptionsResult", - "type": "structure", - "members": { - "Subscriptions": { - "shape": "S1n" - }, - "NextToken": {} - } - } - }, - "ListSubscriptionsByTopic": { - "input": { - "type": "structure", - "required": [ - "TopicArn" - ], - "members": { - "TopicArn": {}, - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListSubscriptionsByTopicResult", - "type": "structure", - "members": { - "Subscriptions": { - "shape": "S1n" - }, - "NextToken": {} - } - } - }, - "ListTopics": { - "input": { - "type": "structure", - "members": { - "NextToken": {} - } - }, - "output": { - "resultWrapper": "ListTopicsResult", - "type": "structure", - "members": { - "Topics": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TopicArn": {} - } - } - }, - "NextToken": {} - } - } - }, - "OptInPhoneNumber": { - "input": { - "type": "structure", - "required": [ - "phoneNumber" - ], - "members": { - "phoneNumber": {} - } - }, - "output": { - "resultWrapper": "OptInPhoneNumberResult", - "type": "structure", - "members": {} - } - }, - "Publish": { - "input": { - "type": "structure", - "required": [ - "Message" - ], - "members": { - "TopicArn": {}, - "TargetArn": {}, - "PhoneNumber": {}, - "Message": {}, - "Subject": {}, - "MessageStructure": {}, - "MessageAttributes": { - "type": "map", - "key": { - "locationName": "Name" - }, - "value": { - "locationName": "Value", - "type": "structure", - "required": [ - "DataType" - ], - "members": { - "DataType": {}, - "StringValue": {}, - "BinaryValue": { - "type": "blob" - } - } - } - } - } - }, - "output": { - "resultWrapper": "PublishResult", - "type": "structure", - "members": { - "MessageId": {} - } - } - }, - "RemovePermission": { - "input": { - "type": "structure", - "required": [ - "TopicArn", - "Label" - ], - "members": { - "TopicArn": {}, - "Label": {} - } - } - }, - "SetEndpointAttributes": { - "input": { - "type": "structure", - "required": [ - "EndpointArn", - "Attributes" - ], - "members": { - "EndpointArn": {}, - "Attributes": { - "shape": "Sj" - } - } - } - }, - "SetPlatformApplicationAttributes": { - "input": { - "type": "structure", - "required": [ - "PlatformApplicationArn", - "Attributes" - ], - "members": { - "PlatformApplicationArn": {}, - "Attributes": { - "shape": "Sj" - } - } - } - }, - "SetSMSAttributes": { - "input": { - "type": "structure", - "required": [ - "attributes" - ], - "members": { - "attributes": { - "shape": "Sj" - } - } - }, - "output": { - "resultWrapper": "SetSMSAttributesResult", - "type": "structure", - "members": {} - } - }, - "SetSubscriptionAttributes": { - "input": { - "type": "structure", - "required": [ - "SubscriptionArn", - "AttributeName" - ], - "members": { - "SubscriptionArn": {}, - "AttributeName": {}, - "AttributeValue": {} - } - } - }, - "SetTopicAttributes": { - "input": { - "type": "structure", - "required": [ - "TopicArn", - "AttributeName" - ], - "members": { - "TopicArn": {}, - "AttributeName": {}, - "AttributeValue": {} - } - } - }, - "Subscribe": { - "input": { - "type": "structure", - "required": [ - "TopicArn", - "Protocol" - ], - "members": { - "TopicArn": {}, - "Protocol": {}, - "Endpoint": {} - } - }, - "output": { - "resultWrapper": "SubscribeResult", - "type": "structure", - "members": { - "SubscriptionArn": {} - } - } - }, - "Unsubscribe": { - "input": { - "type": "structure", - "required": [ - "SubscriptionArn" - ], - "members": { - "SubscriptionArn": {} - } - } - } - }, - "shapes": { - "Sj": { - "type": "map", - "key": {}, - "value": {} - }, - "S1n": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SubscriptionArn": {}, - "Owner": {}, - "Protocol": {}, - "Endpoint": {}, - "TopicArn": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json b/src/node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json deleted file mode 100644 index 455e470..0000000 --- a/src/node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "pagination": { - "ListEndpointsByPlatformApplication": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Endpoints" - }, - "ListPlatformApplications": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "PlatformApplications" - }, - "ListSubscriptions": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Subscriptions" - }, - "ListSubscriptionsByTopic": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Subscriptions" - }, - "ListTopics": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Topics" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json b/src/node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/sqs-2012-11-05.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json b/src/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json deleted file mode 100644 index c152eda..0000000 --- a/src/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +++ /dev/null @@ -1,598 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-11-05", - "endpointPrefix": "sqs", - "protocol": "query", - "serviceAbbreviation": "Amazon SQS", - "serviceFullName": "Amazon Simple Queue Service", - "signatureVersion": "v4", - "uid": "sqs-2012-11-05", - "xmlNamespace": "http://queue.amazonaws.com/doc/2012-11-05/" - }, - "operations": { - "AddPermission": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Label", - "AWSAccountIds", - "Actions" - ], - "members": { - "QueueUrl": {}, - "Label": {}, - "AWSAccountIds": { - "type": "list", - "member": { - "locationName": "AWSAccountId" - }, - "flattened": true - }, - "Actions": { - "type": "list", - "member": { - "locationName": "ActionName" - }, - "flattened": true - } - } - } - }, - "ChangeMessageVisibility": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "ReceiptHandle", - "VisibilityTimeout" - ], - "members": { - "QueueUrl": {}, - "ReceiptHandle": {}, - "VisibilityTimeout": { - "type": "integer" - } - } - } - }, - "ChangeMessageVisibilityBatch": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Entries" - ], - "members": { - "QueueUrl": {}, - "Entries": { - "type": "list", - "member": { - "locationName": "ChangeMessageVisibilityBatchRequestEntry", - "type": "structure", - "required": [ - "Id", - "ReceiptHandle" - ], - "members": { - "Id": {}, - "ReceiptHandle": {}, - "VisibilityTimeout": { - "type": "integer" - } - } - }, - "flattened": true - } - } - }, - "output": { - "resultWrapper": "ChangeMessageVisibilityBatchResult", - "type": "structure", - "required": [ - "Successful", - "Failed" - ], - "members": { - "Successful": { - "type": "list", - "member": { - "locationName": "ChangeMessageVisibilityBatchResultEntry", - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": {} - } - }, - "flattened": true - }, - "Failed": { - "shape": "Sd" - } - } - } - }, - "CreateQueue": { - "input": { - "type": "structure", - "required": [ - "QueueName" - ], - "members": { - "QueueName": {}, - "Attributes": { - "shape": "Sh", - "locationName": "Attribute" - } - } - }, - "output": { - "resultWrapper": "CreateQueueResult", - "type": "structure", - "members": { - "QueueUrl": {} - } - } - }, - "DeleteMessage": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "ReceiptHandle" - ], - "members": { - "QueueUrl": {}, - "ReceiptHandle": {} - } - } - }, - "DeleteMessageBatch": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Entries" - ], - "members": { - "QueueUrl": {}, - "Entries": { - "type": "list", - "member": { - "locationName": "DeleteMessageBatchRequestEntry", - "type": "structure", - "required": [ - "Id", - "ReceiptHandle" - ], - "members": { - "Id": {}, - "ReceiptHandle": {} - } - }, - "flattened": true - } - } - }, - "output": { - "resultWrapper": "DeleteMessageBatchResult", - "type": "structure", - "required": [ - "Successful", - "Failed" - ], - "members": { - "Successful": { - "type": "list", - "member": { - "locationName": "DeleteMessageBatchResultEntry", - "type": "structure", - "required": [ - "Id" - ], - "members": { - "Id": {} - } - }, - "flattened": true - }, - "Failed": { - "shape": "Sd" - } - } - } - }, - "DeleteQueue": { - "input": { - "type": "structure", - "required": [ - "QueueUrl" - ], - "members": { - "QueueUrl": {} - } - } - }, - "GetQueueAttributes": { - "input": { - "type": "structure", - "required": [ - "QueueUrl" - ], - "members": { - "QueueUrl": {}, - "AttributeNames": { - "shape": "St" - } - } - }, - "output": { - "resultWrapper": "GetQueueAttributesResult", - "type": "structure", - "members": { - "Attributes": { - "shape": "Sh", - "locationName": "Attribute" - } - } - } - }, - "GetQueueUrl": { - "input": { - "type": "structure", - "required": [ - "QueueName" - ], - "members": { - "QueueName": {}, - "QueueOwnerAWSAccountId": {} - } - }, - "output": { - "resultWrapper": "GetQueueUrlResult", - "type": "structure", - "members": { - "QueueUrl": {} - } - } - }, - "ListDeadLetterSourceQueues": { - "input": { - "type": "structure", - "required": [ - "QueueUrl" - ], - "members": { - "QueueUrl": {} - } - }, - "output": { - "resultWrapper": "ListDeadLetterSourceQueuesResult", - "type": "structure", - "required": [ - "queueUrls" - ], - "members": { - "queueUrls": { - "shape": "Sz" - } - } - } - }, - "ListQueues": { - "input": { - "type": "structure", - "members": { - "QueueNamePrefix": {} - } - }, - "output": { - "resultWrapper": "ListQueuesResult", - "type": "structure", - "members": { - "QueueUrls": { - "shape": "Sz" - } - } - } - }, - "PurgeQueue": { - "input": { - "type": "structure", - "required": [ - "QueueUrl" - ], - "members": { - "QueueUrl": {} - } - } - }, - "ReceiveMessage": { - "input": { - "type": "structure", - "required": [ - "QueueUrl" - ], - "members": { - "QueueUrl": {}, - "AttributeNames": { - "shape": "St" - }, - "MessageAttributeNames": { - "type": "list", - "member": { - "locationName": "MessageAttributeName" - }, - "flattened": true - }, - "MaxNumberOfMessages": { - "type": "integer" - }, - "VisibilityTimeout": { - "type": "integer" - }, - "WaitTimeSeconds": { - "type": "integer" - }, - "ReceiveRequestAttemptId": {} - } - }, - "output": { - "resultWrapper": "ReceiveMessageResult", - "type": "structure", - "members": { - "Messages": { - "type": "list", - "member": { - "locationName": "Message", - "type": "structure", - "members": { - "MessageId": {}, - "ReceiptHandle": {}, - "MD5OfBody": {}, - "Body": {}, - "Attributes": { - "locationName": "Attribute", - "type": "map", - "key": { - "locationName": "Name" - }, - "value": { - "locationName": "Value" - }, - "flattened": true - }, - "MD5OfMessageAttributes": {}, - "MessageAttributes": { - "shape": "S1b", - "locationName": "MessageAttribute" - } - } - }, - "flattened": true - } - } - } - }, - "RemovePermission": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Label" - ], - "members": { - "QueueUrl": {}, - "Label": {} - } - } - }, - "SendMessage": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "MessageBody" - ], - "members": { - "QueueUrl": {}, - "MessageBody": {}, - "DelaySeconds": { - "type": "integer" - }, - "MessageAttributes": { - "shape": "S1b", - "locationName": "MessageAttribute" - }, - "MessageDeduplicationId": {}, - "MessageGroupId": {} - } - }, - "output": { - "resultWrapper": "SendMessageResult", - "type": "structure", - "members": { - "MD5OfMessageBody": {}, - "MD5OfMessageAttributes": {}, - "MessageId": {}, - "SequenceNumber": {} - } - } - }, - "SendMessageBatch": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Entries" - ], - "members": { - "QueueUrl": {}, - "Entries": { - "type": "list", - "member": { - "locationName": "SendMessageBatchRequestEntry", - "type": "structure", - "required": [ - "Id", - "MessageBody" - ], - "members": { - "Id": {}, - "MessageBody": {}, - "DelaySeconds": { - "type": "integer" - }, - "MessageAttributes": { - "shape": "S1b", - "locationName": "MessageAttribute" - }, - "MessageDeduplicationId": {}, - "MessageGroupId": {} - } - }, - "flattened": true - } - } - }, - "output": { - "resultWrapper": "SendMessageBatchResult", - "type": "structure", - "required": [ - "Successful", - "Failed" - ], - "members": { - "Successful": { - "type": "list", - "member": { - "locationName": "SendMessageBatchResultEntry", - "type": "structure", - "required": [ - "Id", - "MessageId", - "MD5OfMessageBody" - ], - "members": { - "Id": {}, - "MessageId": {}, - "MD5OfMessageBody": {}, - "MD5OfMessageAttributes": {}, - "SequenceNumber": {} - } - }, - "flattened": true - }, - "Failed": { - "shape": "Sd" - } - } - } - }, - "SetQueueAttributes": { - "input": { - "type": "structure", - "required": [ - "QueueUrl", - "Attributes" - ], - "members": { - "QueueUrl": {}, - "Attributes": { - "shape": "Sh", - "locationName": "Attribute" - } - } - } - } - }, - "shapes": { - "Sd": { - "type": "list", - "member": { - "locationName": "BatchResultErrorEntry", - "type": "structure", - "required": [ - "Id", - "SenderFault", - "Code" - ], - "members": { - "Id": {}, - "SenderFault": { - "type": "boolean" - }, - "Code": {}, - "Message": {} - } - }, - "flattened": true - }, - "Sh": { - "type": "map", - "key": { - "locationName": "Name" - }, - "value": { - "locationName": "Value" - }, - "flattened": true, - "locationName": "Attribute" - }, - "St": { - "type": "list", - "member": { - "locationName": "AttributeName" - }, - "flattened": true - }, - "Sz": { - "type": "list", - "member": { - "locationName": "QueueUrl" - }, - "flattened": true - }, - "S1b": { - "type": "map", - "key": { - "locationName": "Name" - }, - "value": { - "locationName": "Value", - "type": "structure", - "required": [ - "DataType" - ], - "members": { - "StringValue": {}, - "BinaryValue": { - "type": "blob" - }, - "StringListValues": { - "flattened": true, - "locationName": "StringListValue", - "type": "list", - "member": { - "locationName": "StringListValue" - } - }, - "BinaryListValues": { - "flattened": true, - "locationName": "BinaryListValue", - "type": "list", - "member": { - "locationName": "BinaryListValue", - "type": "blob" - } - }, - "DataType": {} - } - }, - "flattened": true - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json b/src/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json deleted file mode 100644 index 4d5fe76..0000000 --- a/src/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "pagination": { - "ListQueues": { - "result_key": "QueueUrls" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/ssm-2014-11-06.examples.json b/src/node_modules/aws-sdk/apis/ssm-2014-11-06.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/ssm-2014-11-06.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json b/src/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json deleted file mode 100644 index fc8d071..0000000 --- a/src/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +++ /dev/null @@ -1,3407 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2014-11-06", - "endpointPrefix": "ssm", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "Amazon SSM", - "serviceFullName": "Amazon Simple Systems Manager (SSM)", - "signatureVersion": "v4", - "targetPrefix": "AmazonSSM", - "uid": "ssm-2014-11-06" - }, - "operations": { - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceType", - "ResourceId", - "Tags" - ], - "members": { - "ResourceType": {}, - "ResourceId": {}, - "Tags": { - "shape": "S4" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CancelCommand": { - "input": { - "type": "structure", - "required": [ - "CommandId" - ], - "members": { - "CommandId": {}, - "InstanceIds": { - "shape": "Sb" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateActivation": { - "input": { - "type": "structure", - "required": [ - "IamRole" - ], - "members": { - "Description": {}, - "DefaultInstanceName": {}, - "IamRole": {}, - "RegistrationLimit": { - "type": "integer" - }, - "ExpirationDate": { - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": { - "ActivationId": {}, - "ActivationCode": {} - } - } - }, - "CreateAssociation": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "DocumentVersion": {}, - "InstanceId": {}, - "Parameters": { - "shape": "Sq" - }, - "Targets": { - "shape": "Su" - }, - "ScheduleExpression": {}, - "OutputLocation": { - "shape": "S10" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationDescription": { - "shape": "S16" - } - } - } - }, - "CreateAssociationBatch": { - "input": { - "type": "structure", - "required": [ - "Entries" - ], - "members": { - "Entries": { - "type": "list", - "member": { - "shape": "S1j", - "locationName": "entries" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "Successful": { - "type": "list", - "member": { - "shape": "S16", - "locationName": "AssociationDescription" - } - }, - "Failed": { - "type": "list", - "member": { - "locationName": "FailedCreateAssociationEntry", - "type": "structure", - "members": { - "Entry": { - "shape": "S1j" - }, - "Message": {}, - "Fault": {} - } - } - } - } - } - }, - "CreateDocument": { - "input": { - "type": "structure", - "required": [ - "Content", - "Name" - ], - "members": { - "Content": {}, - "Name": {}, - "DocumentType": {} - } - }, - "output": { - "type": "structure", - "members": { - "DocumentDescription": { - "shape": "S1u" - } - } - } - }, - "CreateMaintenanceWindow": { - "input": { - "type": "structure", - "required": [ - "Name", - "Schedule", - "Duration", - "Cutoff", - "AllowUnassociatedTargets" - ], - "members": { - "Name": {}, - "Schedule": {}, - "Duration": { - "type": "integer" - }, - "Cutoff": { - "type": "integer" - }, - "AllowUnassociatedTargets": { - "type": "boolean" - }, - "ClientToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "WindowId": {} - } - } - }, - "CreatePatchBaseline": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "OperatingSystem": {}, - "Name": {}, - "GlobalFilters": { - "shape": "S2n" - }, - "ApprovalRules": { - "shape": "S2t" - }, - "ApprovedPatches": { - "shape": "S2y" - }, - "ApprovedPatchesComplianceLevel": {}, - "RejectedPatches": { - "shape": "S2y" - }, - "Description": {}, - "ClientToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "BaselineId": {} - } - } - }, - "CreateResourceDataSync": { - "input": { - "type": "structure", - "required": [ - "SyncName", - "S3Destination" - ], - "members": { - "SyncName": {}, - "S3Destination": { - "shape": "S35" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteActivation": { - "input": { - "type": "structure", - "required": [ - "ActivationId" - ], - "members": { - "ActivationId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteAssociation": { - "input": { - "type": "structure", - "members": { - "Name": {}, - "InstanceId": {}, - "AssociationId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteDocument": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteMaintenanceWindow": { - "input": { - "type": "structure", - "required": [ - "WindowId" - ], - "members": { - "WindowId": {} - } - }, - "output": { - "type": "structure", - "members": { - "WindowId": {} - } - } - }, - "DeleteParameter": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteParameters": { - "input": { - "type": "structure", - "required": [ - "Names" - ], - "members": { - "Names": { - "shape": "S3n" - } - } - }, - "output": { - "type": "structure", - "members": { - "DeletedParameters": { - "shape": "S3n" - }, - "InvalidParameters": { - "shape": "S3n" - } - } - } - }, - "DeletePatchBaseline": { - "input": { - "type": "structure", - "required": [ - "BaselineId" - ], - "members": { - "BaselineId": {} - } - }, - "output": { - "type": "structure", - "members": { - "BaselineId": {} - } - } - }, - "DeleteResourceDataSync": { - "input": { - "type": "structure", - "required": [ - "SyncName" - ], - "members": { - "SyncName": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeregisterManagedInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeregisterPatchBaselineForPatchGroup": { - "input": { - "type": "structure", - "required": [ - "BaselineId", - "PatchGroup" - ], - "members": { - "BaselineId": {}, - "PatchGroup": {} - } - }, - "output": { - "type": "structure", - "members": { - "BaselineId": {}, - "PatchGroup": {} - } - } - }, - "DeregisterTargetFromMaintenanceWindow": { - "input": { - "type": "structure", - "required": [ - "WindowId", - "WindowTargetId" - ], - "members": { - "WindowId": {}, - "WindowTargetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "WindowId": {}, - "WindowTargetId": {} - } - } - }, - "DeregisterTaskFromMaintenanceWindow": { - "input": { - "type": "structure", - "required": [ - "WindowId", - "WindowTaskId" - ], - "members": { - "WindowId": {}, - "WindowTaskId": {} - } - }, - "output": { - "type": "structure", - "members": { - "WindowId": {}, - "WindowTaskId": {} - } - } - }, - "DescribeActivations": { - "input": { - "type": "structure", - "members": { - "Filters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FilterKey": {}, - "FilterValues": { - "type": "list", - "member": {} - } - } - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ActivationList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ActivationId": {}, - "Description": {}, - "DefaultInstanceName": {}, - "IamRole": {}, - "RegistrationLimit": { - "type": "integer" - }, - "RegistrationsCount": { - "type": "integer" - }, - "ExpirationDate": { - "type": "timestamp" - }, - "Expired": { - "type": "boolean" - }, - "CreatedDate": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeAssociation": { - "input": { - "type": "structure", - "members": { - "Name": {}, - "InstanceId": {}, - "AssociationId": {} - } - }, - "output": { - "type": "structure", - "members": { - "AssociationDescription": { - "shape": "S16" - } - } - } - }, - "DescribeAutomationExecutions": { - "input": { - "type": "structure", - "members": { - "Filters": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Values" - ], - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "AutomationExecutionMetadataList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AutomationExecutionId": {}, - "DocumentName": {}, - "DocumentVersion": {}, - "AutomationExecutionStatus": {}, - "ExecutionStartTime": { - "type": "timestamp" - }, - "ExecutionEndTime": { - "type": "timestamp" - }, - "ExecutedBy": {}, - "LogFile": {}, - "Outputs": { - "shape": "S4w" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeAvailablePatches": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S51" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Patches": { - "type": "list", - "member": { - "shape": "S59" - } - }, - "NextToken": {} - } - } - }, - "DescribeDocument": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "DocumentVersion": {} - } - }, - "output": { - "type": "structure", - "members": { - "Document": { - "shape": "S1u" - } - } - } - }, - "DescribeDocumentPermission": { - "input": { - "type": "structure", - "required": [ - "Name", - "PermissionType" - ], - "members": { - "Name": {}, - "PermissionType": {} - } - }, - "output": { - "type": "structure", - "members": { - "AccountIds": { - "shape": "S5q" - } - } - } - }, - "DescribeEffectiveInstanceAssociations": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Associations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AssociationId": {}, - "InstanceId": {}, - "Content": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeEffectivePatchesForPatchBaseline": { - "input": { - "type": "structure", - "required": [ - "BaselineId" - ], - "members": { - "BaselineId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "EffectivePatches": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Patch": { - "shape": "S59" - }, - "PatchStatus": { - "type": "structure", - "members": { - "DeploymentStatus": {}, - "ComplianceLevel": {}, - "ApprovalDate": { - "type": "timestamp" - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeInstanceAssociationsStatus": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceAssociationStatusInfos": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AssociationId": {}, - "Name": {}, - "DocumentVersion": {}, - "InstanceId": {}, - "ExecutionDate": { - "type": "timestamp" - }, - "Status": {}, - "DetailedStatus": {}, - "ExecutionSummary": {}, - "ErrorCode": {}, - "OutputUrl": { - "type": "structure", - "members": { - "S3OutputUrl": { - "type": "structure", - "members": { - "OutputUrl": {} - } - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeInstanceInformation": { - "input": { - "type": "structure", - "members": { - "InstanceInformationFilterList": { - "type": "list", - "member": { - "locationName": "InstanceInformationFilter", - "type": "structure", - "required": [ - "key", - "valueSet" - ], - "members": { - "key": {}, - "valueSet": { - "shape": "S6g" - } - } - } - }, - "Filters": { - "type": "list", - "member": { - "locationName": "InstanceInformationStringFilter", - "type": "structure", - "required": [ - "Key", - "Values" - ], - "members": { - "Key": {}, - "Values": { - "shape": "S6g" - } - } - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceInformationList": { - "type": "list", - "member": { - "locationName": "InstanceInformation", - "type": "structure", - "members": { - "InstanceId": {}, - "PingStatus": {}, - "LastPingDateTime": { - "type": "timestamp" - }, - "AgentVersion": {}, - "IsLatestVersion": { - "type": "boolean" - }, - "PlatformType": {}, - "PlatformName": {}, - "PlatformVersion": {}, - "ActivationId": {}, - "IamRole": {}, - "RegistrationDate": { - "type": "timestamp" - }, - "ResourceType": {}, - "Name": {}, - "IPAddress": {}, - "ComputerName": {}, - "AssociationStatus": {}, - "LastAssociationExecutionDate": { - "type": "timestamp" - }, - "LastSuccessfulAssociationExecutionDate": { - "type": "timestamp" - }, - "AssociationOverview": { - "type": "structure", - "members": { - "DetailedStatus": {}, - "InstanceAssociationStatusAggregatedCount": { - "type": "map", - "key": {}, - "value": { - "type": "integer" - } - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeInstancePatchStates": { - "input": { - "type": "structure", - "required": [ - "InstanceIds" - ], - "members": { - "InstanceIds": { - "shape": "Sb" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstancePatchStates": { - "type": "list", - "member": { - "shape": "S70" - } - }, - "NextToken": {} - } - } - }, - "DescribeInstancePatchStatesForPatchGroup": { - "input": { - "type": "structure", - "required": [ - "PatchGroup" - ], - "members": { - "PatchGroup": {}, - "Filters": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Values", - "Type" - ], - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": {} - }, - "Type": {} - } - } - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "InstancePatchStates": { - "type": "list", - "member": { - "shape": "S70" - } - }, - "NextToken": {} - } - } - }, - "DescribeInstancePatches": { - "input": { - "type": "structure", - "required": [ - "InstanceId" - ], - "members": { - "InstanceId": {}, - "Filters": { - "shape": "S51" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Patches": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Title", - "KBId", - "Classification", - "Severity", - "State", - "InstalledTime" - ], - "members": { - "Title": {}, - "KBId": {}, - "Classification": {}, - "Severity": {}, - "State": {}, - "InstalledTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeMaintenanceWindowExecutionTaskInvocations": { - "input": { - "type": "structure", - "required": [ - "WindowExecutionId", - "TaskId" - ], - "members": { - "WindowExecutionId": {}, - "TaskId": {}, - "Filters": { - "shape": "S7r" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "WindowExecutionTaskInvocationIdentities": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WindowExecutionId": {}, - "TaskExecutionId": {}, - "InvocationId": {}, - "ExecutionId": {}, - "Parameters": { - "type": "string", - "sensitive": true - }, - "Status": {}, - "StatusDetails": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "OwnerInformation": { - "shape": "S72" - }, - "WindowTargetId": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeMaintenanceWindowExecutionTasks": { - "input": { - "type": "structure", - "required": [ - "WindowExecutionId" - ], - "members": { - "WindowExecutionId": {}, - "Filters": { - "shape": "S7r" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "WindowExecutionTaskIdentities": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WindowExecutionId": {}, - "TaskExecutionId": {}, - "Status": {}, - "StatusDetails": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "TaskArn": {}, - "TaskType": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeMaintenanceWindowExecutions": { - "input": { - "type": "structure", - "required": [ - "WindowId" - ], - "members": { - "WindowId": {}, - "Filters": { - "shape": "S7r" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "WindowExecutions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WindowId": {}, - "WindowExecutionId": {}, - "Status": {}, - "StatusDetails": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeMaintenanceWindowTargets": { - "input": { - "type": "structure", - "required": [ - "WindowId" - ], - "members": { - "WindowId": {}, - "Filters": { - "shape": "S7r" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Targets": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WindowId": {}, - "WindowTargetId": {}, - "ResourceType": {}, - "Targets": { - "shape": "Su" - }, - "OwnerInformation": { - "shape": "S72" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeMaintenanceWindowTasks": { - "input": { - "type": "structure", - "required": [ - "WindowId" - ], - "members": { - "WindowId": {}, - "Filters": { - "shape": "S7r" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Tasks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WindowId": {}, - "WindowTaskId": {}, - "TaskArn": {}, - "Type": {}, - "Targets": { - "shape": "Su" - }, - "TaskParameters": { - "shape": "S8p" - }, - "Priority": { - "type": "integer" - }, - "LoggingInfo": { - "shape": "S8v" - }, - "ServiceRoleArn": {}, - "MaxConcurrency": {}, - "MaxErrors": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribeMaintenanceWindows": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S7r" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "WindowIdentities": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WindowId": {}, - "Name": {}, - "Enabled": { - "type": "boolean" - }, - "Duration": { - "type": "integer" - }, - "Cutoff": { - "type": "integer" - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeParameters": { - "input": { - "type": "structure", - "members": { - "Filters": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Values" - ], - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "ParameterFilters": { - "shape": "S9a" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Parameters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Type": {}, - "KeyId": {}, - "LastModifiedDate": { - "type": "timestamp" - }, - "LastModifiedUser": {}, - "Description": {}, - "AllowedPattern": {} - } - } - }, - "NextToken": {} - } - } - }, - "DescribePatchBaselines": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "S51" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "BaselineIdentities": { - "type": "list", - "member": { - "shape": "S9q" - } - }, - "NextToken": {} - } - } - }, - "DescribePatchGroupState": { - "input": { - "type": "structure", - "required": [ - "PatchGroup" - ], - "members": { - "PatchGroup": {} - } - }, - "output": { - "type": "structure", - "members": { - "Instances": { - "type": "integer" - }, - "InstancesWithInstalledPatches": { - "type": "integer" - }, - "InstancesWithInstalledOtherPatches": { - "type": "integer" - }, - "InstancesWithMissingPatches": { - "type": "integer" - }, - "InstancesWithFailedPatches": { - "type": "integer" - }, - "InstancesWithNotApplicablePatches": { - "type": "integer" - } - } - } - }, - "DescribePatchGroups": { - "input": { - "type": "structure", - "members": { - "MaxResults": { - "type": "integer" - }, - "Filters": { - "shape": "S51" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Mappings": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PatchGroup": {}, - "BaselineIdentity": { - "shape": "S9q" - } - } - } - }, - "NextToken": {} - } - } - }, - "GetAutomationExecution": { - "input": { - "type": "structure", - "required": [ - "AutomationExecutionId" - ], - "members": { - "AutomationExecutionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "AutomationExecution": { - "type": "structure", - "members": { - "AutomationExecutionId": {}, - "DocumentName": {}, - "DocumentVersion": {}, - "ExecutionStartTime": { - "type": "timestamp" - }, - "ExecutionEndTime": { - "type": "timestamp" - }, - "AutomationExecutionStatus": {}, - "StepExecutions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StepName": {}, - "Action": {}, - "ExecutionStartTime": { - "type": "timestamp" - }, - "ExecutionEndTime": { - "type": "timestamp" - }, - "StepStatus": {}, - "ResponseCode": {}, - "Inputs": { - "type": "map", - "key": {}, - "value": {} - }, - "Outputs": { - "shape": "S4w" - }, - "Response": {}, - "FailureMessage": {}, - "FailureDetails": { - "type": "structure", - "members": { - "FailureStage": {}, - "FailureType": {}, - "Details": { - "shape": "S4w" - } - } - } - } - } - }, - "Parameters": { - "shape": "S4w" - }, - "Outputs": { - "shape": "S4w" - }, - "FailureMessage": {} - } - } - } - } - }, - "GetCommandInvocation": { - "input": { - "type": "structure", - "required": [ - "CommandId", - "InstanceId" - ], - "members": { - "CommandId": {}, - "InstanceId": {}, - "PluginName": {} - } - }, - "output": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "Comment": {}, - "DocumentName": {}, - "PluginName": {}, - "ResponseCode": { - "type": "integer" - }, - "ExecutionStartDateTime": {}, - "ExecutionElapsedTime": {}, - "ExecutionEndDateTime": {}, - "Status": {}, - "StatusDetails": {}, - "StandardOutputContent": {}, - "StandardOutputUrl": {}, - "StandardErrorContent": {}, - "StandardErrorUrl": {} - } - } - }, - "GetDefaultPatchBaseline": { - "input": { - "type": "structure", - "members": { - "OperatingSystem": {} - } - }, - "output": { - "type": "structure", - "members": { - "BaselineId": {}, - "OperatingSystem": {} - } - } - }, - "GetDeployablePatchSnapshotForInstance": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "SnapshotId" - ], - "members": { - "InstanceId": {}, - "SnapshotId": {} - } - }, - "output": { - "type": "structure", - "members": { - "InstanceId": {}, - "SnapshotId": {}, - "SnapshotDownloadUrl": {}, - "Product": {} - } - } - }, - "GetDocument": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "DocumentVersion": {} - } - }, - "output": { - "type": "structure", - "members": { - "Name": {}, - "DocumentVersion": {}, - "Content": {}, - "DocumentType": {} - } - } - }, - "GetInventory": { - "input": { - "type": "structure", - "members": { - "Filters": { - "shape": "Saq" - }, - "ResultAttributes": { - "type": "list", - "member": { - "locationName": "ResultAttribute", - "type": "structure", - "required": [ - "TypeName" - ], - "members": { - "TypeName": {} - } - } - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Entities": { - "type": "list", - "member": { - "locationName": "Entity", - "type": "structure", - "members": { - "Id": {}, - "Data": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "TypeName", - "SchemaVersion", - "Content" - ], - "members": { - "TypeName": {}, - "SchemaVersion": {}, - "CaptureTime": {}, - "ContentHash": {}, - "Content": { - "shape": "Sb9" - } - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "GetInventorySchema": { - "input": { - "type": "structure", - "members": { - "TypeName": {}, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Schemas": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "TypeName", - "Attributes" - ], - "members": { - "TypeName": {}, - "Version": {}, - "Attributes": { - "type": "list", - "member": { - "locationName": "Attribute", - "type": "structure", - "required": [ - "Name", - "DataType" - ], - "members": { - "Name": {}, - "DataType": {} - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "GetMaintenanceWindow": { - "input": { - "type": "structure", - "required": [ - "WindowId" - ], - "members": { - "WindowId": {} - } - }, - "output": { - "type": "structure", - "members": { - "WindowId": {}, - "Name": {}, - "Schedule": {}, - "Duration": { - "type": "integer" - }, - "Cutoff": { - "type": "integer" - }, - "AllowUnassociatedTargets": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "CreatedDate": { - "type": "timestamp" - }, - "ModifiedDate": { - "type": "timestamp" - } - } - } - }, - "GetMaintenanceWindowExecution": { - "input": { - "type": "structure", - "required": [ - "WindowExecutionId" - ], - "members": { - "WindowExecutionId": {} - } - }, - "output": { - "type": "structure", - "members": { - "WindowExecutionId": {}, - "TaskIds": { - "type": "list", - "member": {} - }, - "Status": {}, - "StatusDetails": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - } - } - } - }, - "GetMaintenanceWindowExecutionTask": { - "input": { - "type": "structure", - "required": [ - "WindowExecutionId", - "TaskId" - ], - "members": { - "WindowExecutionId": {}, - "TaskId": {} - } - }, - "output": { - "type": "structure", - "members": { - "WindowExecutionId": {}, - "TaskExecutionId": {}, - "TaskArn": {}, - "ServiceRole": {}, - "Type": {}, - "TaskParameters": { - "type": "list", - "member": { - "shape": "S8p" - }, - "sensitive": true - }, - "Priority": { - "type": "integer" - }, - "MaxConcurrency": {}, - "MaxErrors": {}, - "Status": {}, - "StatusDetails": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - } - } - } - }, - "GetParameter": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "WithDecryption": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Parameter": { - "shape": "Sbx" - } - } - } - }, - "GetParameterHistory": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "WithDecryption": { - "type": "boolean" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Parameters": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Type": {}, - "KeyId": {}, - "LastModifiedDate": { - "type": "timestamp" - }, - "LastModifiedUser": {}, - "Description": {}, - "Value": {}, - "AllowedPattern": {} - } - } - }, - "NextToken": {} - } - } - }, - "GetParameters": { - "input": { - "type": "structure", - "required": [ - "Names" - ], - "members": { - "Names": { - "shape": "S3n" - }, - "WithDecryption": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Parameters": { - "shape": "Sc5" - }, - "InvalidParameters": { - "shape": "S3n" - } - } - } - }, - "GetParametersByPath": { - "input": { - "type": "structure", - "required": [ - "Path" - ], - "members": { - "Path": {}, - "Recursive": { - "type": "boolean" - }, - "ParameterFilters": { - "shape": "S9a" - }, - "WithDecryption": { - "type": "boolean" - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Parameters": { - "shape": "Sc5" - }, - "NextToken": {} - } - } - }, - "GetPatchBaseline": { - "input": { - "type": "structure", - "required": [ - "BaselineId" - ], - "members": { - "BaselineId": {} - } - }, - "output": { - "type": "structure", - "members": { - "BaselineId": {}, - "Name": {}, - "OperatingSystem": {}, - "GlobalFilters": { - "shape": "S2n" - }, - "ApprovalRules": { - "shape": "S2t" - }, - "ApprovedPatches": { - "shape": "S2y" - }, - "ApprovedPatchesComplianceLevel": {}, - "RejectedPatches": { - "shape": "S2y" - }, - "PatchGroups": { - "type": "list", - "member": {} - }, - "CreatedDate": { - "type": "timestamp" - }, - "ModifiedDate": { - "type": "timestamp" - }, - "Description": {} - } - } - }, - "GetPatchBaselineForPatchGroup": { - "input": { - "type": "structure", - "required": [ - "PatchGroup" - ], - "members": { - "PatchGroup": {}, - "OperatingSystem": {} - } - }, - "output": { - "type": "structure", - "members": { - "BaselineId": {}, - "PatchGroup": {}, - "OperatingSystem": {} - } - } - }, - "ListAssociations": { - "input": { - "type": "structure", - "members": { - "AssociationFilterList": { - "type": "list", - "member": { - "locationName": "AssociationFilter", - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Associations": { - "type": "list", - "member": { - "locationName": "Association", - "type": "structure", - "members": { - "Name": {}, - "InstanceId": {}, - "AssociationId": {}, - "DocumentVersion": {}, - "Targets": { - "shape": "Su" - }, - "LastExecutionDate": { - "type": "timestamp" - }, - "Overview": { - "shape": "S1c" - }, - "ScheduleExpression": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListCommandInvocations": { - "input": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "Filters": { - "shape": "Sco" - }, - "Details": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "CommandInvocations": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "InstanceName": {}, - "Comment": {}, - "DocumentName": {}, - "RequestedDateTime": { - "type": "timestamp" - }, - "Status": {}, - "StatusDetails": {}, - "TraceOutput": {}, - "StandardOutputUrl": {}, - "StandardErrorUrl": {}, - "CommandPlugins": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Status": {}, - "StatusDetails": {}, - "ResponseCode": { - "type": "integer" - }, - "ResponseStartDateTime": { - "type": "timestamp" - }, - "ResponseFinishDateTime": { - "type": "timestamp" - }, - "Output": {}, - "StandardOutputUrl": {}, - "StandardErrorUrl": {}, - "OutputS3Region": {}, - "OutputS3BucketName": {}, - "OutputS3KeyPrefix": {} - } - } - }, - "ServiceRole": {}, - "NotificationConfig": { - "shape": "Sd1" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListCommands": { - "input": { - "type": "structure", - "members": { - "CommandId": {}, - "InstanceId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "Filters": { - "shape": "Sco" - } - } - }, - "output": { - "type": "structure", - "members": { - "Commands": { - "type": "list", - "member": { - "shape": "Sd9" - } - }, - "NextToken": {} - } - } - }, - "ListDocumentVersions": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "DocumentVersions": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "DocumentVersion": {}, - "CreatedDate": { - "type": "timestamp" - }, - "IsDefaultVersion": { - "type": "boolean" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListDocuments": { - "input": { - "type": "structure", - "members": { - "DocumentFilterList": { - "type": "list", - "member": { - "locationName": "DocumentFilter", - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "DocumentIdentifiers": { - "type": "list", - "member": { - "locationName": "DocumentIdentifier", - "type": "structure", - "members": { - "Name": {}, - "Owner": {}, - "PlatformTypes": { - "shape": "S28" - }, - "DocumentVersion": {}, - "DocumentType": {}, - "SchemaVersion": {} - } - } - }, - "NextToken": {} - } - } - }, - "ListInventoryEntries": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "TypeName" - ], - "members": { - "InstanceId": {}, - "TypeName": {}, - "Filters": { - "shape": "Saq" - }, - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TypeName": {}, - "InstanceId": {}, - "SchemaVersion": {}, - "CaptureTime": {}, - "Entries": { - "shape": "Sb9" - }, - "NextToken": {} - } - } - }, - "ListResourceDataSync": { - "input": { - "type": "structure", - "members": { - "NextToken": {}, - "MaxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "ResourceDataSyncItems": { - "type": "list", - "member": { - "type": "structure", - "members": { - "SyncName": {}, - "S3Destination": { - "shape": "S35" - }, - "LastSyncTime": { - "type": "timestamp" - }, - "LastSuccessfulSyncTime": { - "type": "timestamp" - }, - "LastStatus": {}, - "SyncCreatedTime": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceType", - "ResourceId" - ], - "members": { - "ResourceType": {}, - "ResourceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "TagList": { - "shape": "S4" - } - } - } - }, - "ModifyDocumentPermission": { - "input": { - "type": "structure", - "required": [ - "Name", - "PermissionType" - ], - "members": { - "Name": {}, - "PermissionType": {}, - "AccountIdsToAdd": { - "shape": "S5q" - }, - "AccountIdsToRemove": { - "shape": "S5q" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "PutInventory": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "Items" - ], - "members": { - "InstanceId": {}, - "Items": { - "type": "list", - "member": { - "locationName": "Item", - "type": "structure", - "required": [ - "TypeName", - "SchemaVersion", - "CaptureTime" - ], - "members": { - "TypeName": {}, - "SchemaVersion": {}, - "CaptureTime": {}, - "ContentHash": {}, - "Content": { - "shape": "Sb9" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "PutParameter": { - "input": { - "type": "structure", - "required": [ - "Name", - "Value", - "Type" - ], - "members": { - "Name": {}, - "Description": {}, - "Value": {}, - "Type": {}, - "KeyId": {}, - "Overwrite": { - "type": "boolean" - }, - "AllowedPattern": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RegisterDefaultPatchBaseline": { - "input": { - "type": "structure", - "required": [ - "BaselineId" - ], - "members": { - "BaselineId": {} - } - }, - "output": { - "type": "structure", - "members": { - "BaselineId": {} - } - } - }, - "RegisterPatchBaselineForPatchGroup": { - "input": { - "type": "structure", - "required": [ - "BaselineId", - "PatchGroup" - ], - "members": { - "BaselineId": {}, - "PatchGroup": {} - } - }, - "output": { - "type": "structure", - "members": { - "BaselineId": {}, - "PatchGroup": {} - } - } - }, - "RegisterTargetWithMaintenanceWindow": { - "input": { - "type": "structure", - "required": [ - "WindowId", - "ResourceType", - "Targets" - ], - "members": { - "WindowId": {}, - "ResourceType": {}, - "Targets": { - "shape": "Su" - }, - "OwnerInformation": { - "shape": "S72" - }, - "ClientToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "WindowTargetId": {} - } - } - }, - "RegisterTaskWithMaintenanceWindow": { - "input": { - "type": "structure", - "required": [ - "WindowId", - "Targets", - "TaskArn", - "ServiceRoleArn", - "TaskType", - "MaxConcurrency", - "MaxErrors" - ], - "members": { - "WindowId": {}, - "Targets": { - "shape": "Su" - }, - "TaskArn": {}, - "ServiceRoleArn": {}, - "TaskType": {}, - "TaskParameters": { - "shape": "S8p" - }, - "Priority": { - "type": "integer" - }, - "MaxConcurrency": {}, - "MaxErrors": {}, - "LoggingInfo": { - "shape": "S8v" - }, - "ClientToken": { - "idempotencyToken": true - } - } - }, - "output": { - "type": "structure", - "members": { - "WindowTaskId": {} - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceType", - "ResourceId", - "TagKeys" - ], - "members": { - "ResourceType": {}, - "ResourceId": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "SendCommand": { - "input": { - "type": "structure", - "required": [ - "DocumentName" - ], - "members": { - "InstanceIds": { - "shape": "Sb" - }, - "Targets": { - "shape": "Su" - }, - "DocumentName": {}, - "DocumentHash": {}, - "DocumentHashType": {}, - "TimeoutSeconds": { - "type": "integer" - }, - "Comment": {}, - "Parameters": { - "shape": "Sq" - }, - "OutputS3Region": {}, - "OutputS3BucketName": {}, - "OutputS3KeyPrefix": {}, - "MaxConcurrency": {}, - "MaxErrors": {}, - "ServiceRoleArn": {}, - "NotificationConfig": { - "shape": "Sd1" - } - } - }, - "output": { - "type": "structure", - "members": { - "Command": { - "shape": "Sd9" - } - } - } - }, - "StartAutomationExecution": { - "input": { - "type": "structure", - "required": [ - "DocumentName" - ], - "members": { - "DocumentName": {}, - "DocumentVersion": {}, - "Parameters": { - "shape": "S4w" - } - } - }, - "output": { - "type": "structure", - "members": { - "AutomationExecutionId": {} - } - } - }, - "StopAutomationExecution": { - "input": { - "type": "structure", - "required": [ - "AutomationExecutionId" - ], - "members": { - "AutomationExecutionId": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateAssociation": { - "input": { - "type": "structure", - "required": [ - "AssociationId" - ], - "members": { - "AssociationId": {}, - "Parameters": { - "shape": "Sq" - }, - "DocumentVersion": {}, - "ScheduleExpression": {}, - "OutputLocation": { - "shape": "S10" - }, - "Name": {}, - "Targets": { - "shape": "Su" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationDescription": { - "shape": "S16" - } - } - } - }, - "UpdateAssociationStatus": { - "input": { - "type": "structure", - "required": [ - "Name", - "InstanceId", - "AssociationStatus" - ], - "members": { - "Name": {}, - "InstanceId": {}, - "AssociationStatus": { - "shape": "S18" - } - } - }, - "output": { - "type": "structure", - "members": { - "AssociationDescription": { - "shape": "S16" - } - } - } - }, - "UpdateDocument": { - "input": { - "type": "structure", - "required": [ - "Content", - "Name" - ], - "members": { - "Content": {}, - "Name": {}, - "DocumentVersion": {} - } - }, - "output": { - "type": "structure", - "members": { - "DocumentDescription": { - "shape": "S1u" - } - } - } - }, - "UpdateDocumentDefaultVersion": { - "input": { - "type": "structure", - "required": [ - "Name", - "DocumentVersion" - ], - "members": { - "Name": {}, - "DocumentVersion": {} - } - }, - "output": { - "type": "structure", - "members": { - "Description": { - "type": "structure", - "members": { - "Name": {}, - "DefaultVersion": {} - } - } - } - } - }, - "UpdateMaintenanceWindow": { - "input": { - "type": "structure", - "required": [ - "WindowId" - ], - "members": { - "WindowId": {}, - "Name": {}, - "Schedule": {}, - "Duration": { - "type": "integer" - }, - "Cutoff": { - "type": "integer" - }, - "AllowUnassociatedTargets": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "WindowId": {}, - "Name": {}, - "Schedule": {}, - "Duration": { - "type": "integer" - }, - "Cutoff": { - "type": "integer" - }, - "AllowUnassociatedTargets": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - } - } - } - }, - "UpdateManagedInstanceRole": { - "input": { - "type": "structure", - "required": [ - "InstanceId", - "IamRole" - ], - "members": { - "InstanceId": {}, - "IamRole": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdatePatchBaseline": { - "input": { - "type": "structure", - "required": [ - "BaselineId" - ], - "members": { - "BaselineId": {}, - "Name": {}, - "GlobalFilters": { - "shape": "S2n" - }, - "ApprovalRules": { - "shape": "S2t" - }, - "ApprovedPatches": { - "shape": "S2y" - }, - "ApprovedPatchesComplianceLevel": {}, - "RejectedPatches": { - "shape": "S2y" - }, - "Description": {} - } - }, - "output": { - "type": "structure", - "members": { - "BaselineId": {}, - "Name": {}, - "OperatingSystem": {}, - "GlobalFilters": { - "shape": "S2n" - }, - "ApprovalRules": { - "shape": "S2t" - }, - "ApprovedPatches": { - "shape": "S2y" - }, - "ApprovedPatchesComplianceLevel": {}, - "RejectedPatches": { - "shape": "S2y" - }, - "CreatedDate": { - "type": "timestamp" - }, - "ModifiedDate": { - "type": "timestamp" - }, - "Description": {} - } - } - } - }, - "shapes": { - "S4": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sb": { - "type": "list", - "member": {} - }, - "Sq": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "Su": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "S10": { - "type": "structure", - "members": { - "S3Location": { - "type": "structure", - "members": { - "OutputS3Region": {}, - "OutputS3BucketName": {}, - "OutputS3KeyPrefix": {} - } - } - } - }, - "S16": { - "type": "structure", - "members": { - "Name": {}, - "InstanceId": {}, - "Date": { - "type": "timestamp" - }, - "LastUpdateAssociationDate": { - "type": "timestamp" - }, - "Status": { - "shape": "S18" - }, - "Overview": { - "shape": "S1c" - }, - "DocumentVersion": {}, - "Parameters": { - "shape": "Sq" - }, - "AssociationId": {}, - "Targets": { - "shape": "Su" - }, - "ScheduleExpression": {}, - "OutputLocation": { - "shape": "S10" - }, - "LastExecutionDate": { - "type": "timestamp" - }, - "LastSuccessfulExecutionDate": { - "type": "timestamp" - } - } - }, - "S18": { - "type": "structure", - "required": [ - "Date", - "Name", - "Message" - ], - "members": { - "Date": { - "type": "timestamp" - }, - "Name": {}, - "Message": {}, - "AdditionalInfo": {} - } - }, - "S1c": { - "type": "structure", - "members": { - "Status": {}, - "DetailedStatus": {}, - "AssociationStatusAggregatedCount": { - "type": "map", - "key": {}, - "value": { - "type": "integer" - } - } - } - }, - "S1j": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "InstanceId": {}, - "Parameters": { - "shape": "Sq" - }, - "DocumentVersion": {}, - "Targets": { - "shape": "Su" - }, - "ScheduleExpression": {}, - "OutputLocation": { - "shape": "S10" - } - } - }, - "S1u": { - "type": "structure", - "members": { - "Sha1": {}, - "Hash": {}, - "HashType": {}, - "Name": {}, - "Owner": {}, - "CreatedDate": { - "type": "timestamp" - }, - "Status": {}, - "DocumentVersion": {}, - "Description": {}, - "Parameters": { - "type": "list", - "member": { - "locationName": "DocumentParameter", - "type": "structure", - "members": { - "Name": {}, - "Type": {}, - "Description": {}, - "DefaultValue": {} - } - } - }, - "PlatformTypes": { - "shape": "S28" - }, - "DocumentType": {}, - "SchemaVersion": {}, - "LatestVersion": {}, - "DefaultVersion": {} - } - }, - "S28": { - "type": "list", - "member": { - "locationName": "PlatformType" - } - }, - "S2n": { - "type": "structure", - "required": [ - "PatchFilters" - ], - "members": { - "PatchFilters": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Values" - ], - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - } - } - }, - "S2t": { - "type": "structure", - "required": [ - "PatchRules" - ], - "members": { - "PatchRules": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "PatchFilterGroup", - "ApproveAfterDays" - ], - "members": { - "PatchFilterGroup": { - "shape": "S2n" - }, - "ComplianceLevel": {}, - "ApproveAfterDays": { - "type": "integer" - } - } - } - } - } - }, - "S2y": { - "type": "list", - "member": {} - }, - "S35": { - "type": "structure", - "required": [ - "BucketName", - "SyncFormat", - "Region" - ], - "members": { - "BucketName": {}, - "Prefix": {}, - "SyncFormat": {}, - "Region": {} - } - }, - "S3n": { - "type": "list", - "member": {} - }, - "S4w": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": {} - } - }, - "S51": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "S59": { - "type": "structure", - "members": { - "Id": {}, - "ReleaseDate": { - "type": "timestamp" - }, - "Title": {}, - "Description": {}, - "ContentUrl": {}, - "Vendor": {}, - "ProductFamily": {}, - "Product": {}, - "Classification": {}, - "MsrcSeverity": {}, - "KbNumber": {}, - "MsrcNumber": {}, - "Language": {} - } - }, - "S5q": { - "type": "list", - "member": { - "locationName": "AccountId" - } - }, - "S6g": { - "type": "list", - "member": { - "locationName": "InstanceInformationFilterValue" - } - }, - "S70": { - "type": "structure", - "required": [ - "InstanceId", - "PatchGroup", - "BaselineId", - "OperationStartTime", - "OperationEndTime", - "Operation" - ], - "members": { - "InstanceId": {}, - "PatchGroup": {}, - "BaselineId": {}, - "SnapshotId": {}, - "OwnerInformation": { - "shape": "S72" - }, - "InstalledCount": { - "type": "integer" - }, - "InstalledOtherCount": { - "type": "integer" - }, - "MissingCount": { - "type": "integer" - }, - "FailedCount": { - "type": "integer" - }, - "NotApplicableCount": { - "type": "integer" - }, - "OperationStartTime": { - "type": "timestamp" - }, - "OperationEndTime": { - "type": "timestamp" - }, - "Operation": {} - } - }, - "S72": { - "type": "string", - "sensitive": true - }, - "S7r": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "S8p": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Values": { - "type": "list", - "member": { - "type": "string", - "sensitive": true - }, - "sensitive": true - } - }, - "sensitive": true - }, - "sensitive": true - }, - "S8v": { - "type": "structure", - "required": [ - "S3BucketName", - "S3Region" - ], - "members": { - "S3BucketName": {}, - "S3KeyPrefix": {}, - "S3Region": {} - } - }, - "S9a": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Option": {}, - "Values": { - "type": "list", - "member": {} - } - } - } - }, - "S9q": { - "type": "structure", - "members": { - "BaselineId": {}, - "BaselineName": {}, - "OperatingSystem": {}, - "BaselineDescription": {}, - "DefaultBaseline": { - "type": "boolean" - } - } - }, - "Saq": { - "type": "list", - "member": { - "locationName": "InventoryFilter", - "type": "structure", - "required": [ - "Key", - "Values" - ], - "members": { - "Key": {}, - "Values": { - "type": "list", - "member": { - "locationName": "FilterValue" - } - }, - "Type": {} - } - } - }, - "Sb9": { - "type": "list", - "member": { - "type": "map", - "key": {}, - "value": {} - } - }, - "Sbx": { - "type": "structure", - "members": { - "Name": {}, - "Type": {}, - "Value": {} - } - }, - "Sc5": { - "type": "list", - "member": { - "shape": "Sbx" - } - }, - "Sco": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "Sd1": { - "type": "structure", - "members": { - "NotificationArn": {}, - "NotificationEvents": { - "type": "list", - "member": {} - }, - "NotificationType": {} - } - }, - "Sd9": { - "type": "structure", - "members": { - "CommandId": {}, - "DocumentName": {}, - "Comment": {}, - "ExpiresAfter": { - "type": "timestamp" - }, - "Parameters": { - "shape": "Sq" - }, - "InstanceIds": { - "shape": "Sb" - }, - "Targets": { - "shape": "Su" - }, - "RequestedDateTime": { - "type": "timestamp" - }, - "Status": {}, - "StatusDetails": {}, - "OutputS3Region": {}, - "OutputS3BucketName": {}, - "OutputS3KeyPrefix": {}, - "MaxConcurrency": {}, - "MaxErrors": {}, - "TargetCount": { - "type": "integer" - }, - "CompletedCount": { - "type": "integer" - }, - "ErrorCount": { - "type": "integer" - }, - "ServiceRole": {}, - "NotificationConfig": { - "shape": "Sd1" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json b/src/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json deleted file mode 100644 index dedcc0b..0000000 --- a/src/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "pagination": { - "DescribeActivations": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "ActivationList" - }, - "DescribeInstanceInformation": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "InstanceInformationList" - }, - "DescribeParameters": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken" - }, - "GetParameterHistory": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken" - }, - "GetParametersByPath": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken" - }, - "ListAssociations": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Associations" - }, - "ListCommandInvocations": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "CommandInvocations" - }, - "ListCommands": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Commands" - }, - "ListDocuments": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "DocumentIdentifiers" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/states-2016-11-23.min.json b/src/node_modules/aws-sdk/apis/states-2016-11-23.min.json deleted file mode 100644 index 33c0bf1..0000000 --- a/src/node_modules/aws-sdk/apis/states-2016-11-23.min.json +++ /dev/null @@ -1,638 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-11-23", - "endpointPrefix": "states", - "jsonVersion": "1.0", - "protocol": "json", - "serviceAbbreviation": "AWS SFN", - "serviceFullName": "AWS Step Functions", - "signatureVersion": "v4", - "targetPrefix": "AWSStepFunctions", - "uid": "states-2016-11-23" - }, - "operations": { - "CreateActivity": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - }, - "output": { - "type": "structure", - "required": [ - "activityArn", - "creationDate" - ], - "members": { - "activityArn": {}, - "creationDate": { - "type": "timestamp" - } - } - }, - "idempotent": true - }, - "CreateStateMachine": { - "input": { - "type": "structure", - "required": [ - "name", - "definition", - "roleArn" - ], - "members": { - "name": {}, - "definition": {}, - "roleArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "stateMachineArn", - "creationDate" - ], - "members": { - "stateMachineArn": {}, - "creationDate": { - "type": "timestamp" - } - } - }, - "idempotent": true - }, - "DeleteActivity": { - "input": { - "type": "structure", - "required": [ - "activityArn" - ], - "members": { - "activityArn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteStateMachine": { - "input": { - "type": "structure", - "required": [ - "stateMachineArn" - ], - "members": { - "stateMachineArn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeActivity": { - "input": { - "type": "structure", - "required": [ - "activityArn" - ], - "members": { - "activityArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "activityArn", - "name", - "creationDate" - ], - "members": { - "activityArn": {}, - "name": {}, - "creationDate": { - "type": "timestamp" - } - } - } - }, - "DescribeExecution": { - "input": { - "type": "structure", - "required": [ - "executionArn" - ], - "members": { - "executionArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "executionArn", - "stateMachineArn", - "status", - "startDate", - "input" - ], - "members": { - "executionArn": {}, - "stateMachineArn": {}, - "name": {}, - "status": {}, - "startDate": { - "type": "timestamp" - }, - "stopDate": { - "type": "timestamp" - }, - "input": {}, - "output": {} - } - } - }, - "DescribeStateMachine": { - "input": { - "type": "structure", - "required": [ - "stateMachineArn" - ], - "members": { - "stateMachineArn": {} - } - }, - "output": { - "type": "structure", - "required": [ - "stateMachineArn", - "name", - "definition", - "roleArn", - "creationDate" - ], - "members": { - "stateMachineArn": {}, - "name": {}, - "status": {}, - "definition": {}, - "roleArn": {}, - "creationDate": { - "type": "timestamp" - } - } - } - }, - "GetActivityTask": { - "input": { - "type": "structure", - "required": [ - "activityArn" - ], - "members": { - "activityArn": {}, - "workerName": {} - } - }, - "output": { - "type": "structure", - "members": { - "taskToken": {}, - "input": {} - } - } - }, - "GetExecutionHistory": { - "input": { - "type": "structure", - "required": [ - "executionArn" - ], - "members": { - "executionArn": {}, - "maxResults": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "events" - ], - "members": { - "events": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "timestamp", - "type", - "id" - ], - "members": { - "timestamp": { - "type": "timestamp" - }, - "type": {}, - "id": { - "type": "long" - }, - "previousEventId": { - "type": "long" - }, - "activityFailedEventDetails": { - "type": "structure", - "members": { - "error": {}, - "cause": {} - } - }, - "activityScheduleFailedEventDetails": { - "type": "structure", - "members": { - "error": {}, - "cause": {} - } - }, - "activityScheduledEventDetails": { - "type": "structure", - "required": [ - "resource" - ], - "members": { - "resource": {}, - "input": {}, - "timeoutInSeconds": { - "type": "long" - }, - "heartbeatInSeconds": { - "type": "long" - } - } - }, - "activityStartedEventDetails": { - "type": "structure", - "members": { - "workerName": {} - } - }, - "activitySucceededEventDetails": { - "type": "structure", - "members": { - "output": {} - } - }, - "activityTimedOutEventDetails": { - "type": "structure", - "members": { - "error": {}, - "cause": {} - } - }, - "executionFailedEventDetails": { - "type": "structure", - "members": { - "error": {}, - "cause": {} - } - }, - "executionStartedEventDetails": { - "type": "structure", - "members": { - "input": {}, - "roleArn": {} - } - }, - "executionSucceededEventDetails": { - "type": "structure", - "members": { - "output": {} - } - }, - "executionAbortedEventDetails": { - "type": "structure", - "members": { - "error": {}, - "cause": {} - } - }, - "executionTimedOutEventDetails": { - "type": "structure", - "members": { - "error": {}, - "cause": {} - } - }, - "lambdaFunctionFailedEventDetails": { - "type": "structure", - "members": { - "error": {}, - "cause": {} - } - }, - "lambdaFunctionScheduleFailedEventDetails": { - "type": "structure", - "members": { - "error": {}, - "cause": {} - } - }, - "lambdaFunctionScheduledEventDetails": { - "type": "structure", - "required": [ - "resource" - ], - "members": { - "resource": {}, - "input": {}, - "timeoutInSeconds": { - "type": "long" - } - } - }, - "lambdaFunctionStartFailedEventDetails": { - "type": "structure", - "members": { - "error": {}, - "cause": {} - } - }, - "lambdaFunctionSucceededEventDetails": { - "type": "structure", - "members": { - "output": {} - } - }, - "lambdaFunctionTimedOutEventDetails": { - "type": "structure", - "members": { - "error": {}, - "cause": {} - } - }, - "stateEnteredEventDetails": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "input": {} - } - }, - "stateExitedEventDetails": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "output": {} - } - } - } - } - }, - "nextToken": {} - } - } - }, - "ListActivities": { - "input": { - "type": "structure", - "members": { - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "activities" - ], - "members": { - "activities": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "activityArn", - "name", - "creationDate" - ], - "members": { - "activityArn": {}, - "name": {}, - "creationDate": { - "type": "timestamp" - } - } - } - }, - "nextToken": {} - } - } - }, - "ListExecutions": { - "input": { - "type": "structure", - "required": [ - "stateMachineArn" - ], - "members": { - "stateMachineArn": {}, - "statusFilter": {}, - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "executions" - ], - "members": { - "executions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "executionArn", - "stateMachineArn", - "name", - "status", - "startDate" - ], - "members": { - "executionArn": {}, - "stateMachineArn": {}, - "name": {}, - "status": {}, - "startDate": { - "type": "timestamp" - }, - "stopDate": { - "type": "timestamp" - } - } - } - }, - "nextToken": {} - } - } - }, - "ListStateMachines": { - "input": { - "type": "structure", - "members": { - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "stateMachines" - ], - "members": { - "stateMachines": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "stateMachineArn", - "name", - "creationDate" - ], - "members": { - "stateMachineArn": {}, - "name": {}, - "creationDate": { - "type": "timestamp" - } - } - } - }, - "nextToken": {} - } - } - }, - "SendTaskFailure": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "error": {}, - "cause": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "SendTaskHeartbeat": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "SendTaskSuccess": { - "input": { - "type": "structure", - "required": [ - "taskToken", - "output" - ], - "members": { - "taskToken": {}, - "output": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "StartExecution": { - "input": { - "type": "structure", - "required": [ - "stateMachineArn" - ], - "members": { - "stateMachineArn": {}, - "name": {}, - "input": {} - } - }, - "output": { - "type": "structure", - "required": [ - "executionArn", - "startDate" - ], - "members": { - "executionArn": {}, - "startDate": { - "type": "timestamp" - } - } - }, - "idempotent": true - }, - "StopExecution": { - "input": { - "type": "structure", - "required": [ - "executionArn" - ], - "members": { - "executionArn": {}, - "error": {}, - "cause": {} - } - }, - "output": { - "type": "structure", - "required": [ - "stopDate" - ], - "members": { - "stopDate": { - "type": "timestamp" - } - } - } - } - }, - "shapes": {} -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/states-2016-11-23.paginators.json b/src/node_modules/aws-sdk/apis/states-2016-11-23.paginators.json deleted file mode 100644 index 9feccba..0000000 --- a/src/node_modules/aws-sdk/apis/states-2016-11-23.paginators.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "pagination": { - "GetExecutionHistory": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "events" - }, - "ListActivities": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "activities" - }, - "ListExecutions": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "executions" - }, - "ListStateMachines": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "stateMachines" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.examples.json b/src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.examples.json deleted file mode 100644 index 7cc0d7d..0000000 --- a/src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.examples.json +++ /dev/null @@ -1,1381 +0,0 @@ -{ - "version": "1.0", - "examples": { - "ActivateGateway": [ - { - "input": { - "ActivationKey": "29AV1-3OFV9-VVIUB-NKT0I-LRO6V", - "GatewayName": "My_Gateway", - "GatewayRegion": "us-east-1", - "GatewayTimezone": "GMT-12:00", - "GatewayType": "STORED", - "MediumChangerType": "AWS-Gateway-VTL", - "TapeDriveType": "IBM-ULT3580-TD5" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Activates the gateway you previously deployed on your host.", - "id": "to-activate-the-gateway-1471281611207", - "title": "To activate the gateway" - } - ], - "AddCache": [ - { - "input": { - "DiskIds": [ - "pci-0000:03:00.0-scsi-0:0:0:0", - "pci-0000:03:00.0-scsi-0:0:1:0" - ], - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example shows a request that activates a gateway-stored volume.", - "id": "to-add-a-cache-1471043606854", - "title": "To add a cache" - } - ], - "AddTagsToResource": [ - { - "input": { - "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B", - "Tags": [ - { - "Key": "Dev Gatgeway Region", - "Value": "East Coast" - } - ] - }, - "output": { - "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Adds one or more tags to the specified resource.", - "id": "to-add-tags-to-resource-1471283689460", - "title": "To add tags to resource" - } - ], - "AddUploadBuffer": [ - { - "input": { - "DiskIds": [ - "pci-0000:03:00.0-scsi-0:0:0:0", - "pci-0000:03:00.0-scsi-0:0:1:0" - ], - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Configures one or more gateway local disks as upload buffer for a specified gateway.", - "id": "to-add-upload-buffer-on-local-disk-1471293902847", - "title": "To add upload buffer on local disk" - } - ], - "AddWorkingStorage": [ - { - "input": { - "DiskIds": [ - "pci-0000:03:00.0-scsi-0:0:0:0", - "pci-0000:03:00.0-scsi-0:0:1:0" - ], - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Configures one or more gateway local disks as working storage for a gateway. (Working storage is also referred to as upload buffer.)", - "id": "to-add-storage-on-local-disk-1471294305401", - "title": "To add storage on local disk" - } - ], - "CancelArchival": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4" - }, - "output": { - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated.", - "id": "to-cancel-virtual-tape-archiving-1471294865203", - "title": "To cancel virtual tape archiving" - } - ], - "CancelRetrieval": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4" - }, - "output": { - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated.", - "id": "to-cancel-virtual-tape-retrieval-1471295704491", - "title": "To cancel virtual tape retrieval" - } - ], - "CreateCachediSCSIVolume": [ - { - "input": { - "ClientToken": "cachedvol112233", - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "NetworkInterfaceId": "10.1.1.1", - "SnapshotId": "snap-f47b7b94", - "TargetName": "my-volume", - "VolumeSizeInBytes": 536870912000 - }, - "output": { - "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume", - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Creates a cached volume on a specified cached gateway.", - "id": "to-create-a-cached-iscsi-volume-1471296661787", - "title": "To create a cached iSCSI volume" - } - ], - "CreateSnapshot": [ - { - "input": { - "SnapshotDescription": "My root volume snapshot as of 10/03/2017", - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "output": { - "SnapshotId": "snap-78e22663", - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Initiates an ad-hoc snapshot of a gateway volume.", - "id": "to-create-a-snapshot-of-a-gateway-volume-1471301469561", - "title": "To create a snapshot of a gateway volume" - } - ], - "CreateSnapshotFromVolumeRecoveryPoint": [ - { - "input": { - "SnapshotDescription": "My root volume snapshot as of 2017-06-30T10:10:10.000Z", - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "output": { - "SnapshotId": "snap-78e22663", - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", - "VolumeRecoveryPointTime": "2017-06-30T10:10:10.000Z" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Initiates a snapshot of a gateway from a volume recovery point.", - "id": "to-create-a-snapshot-of-a-gateway-volume-1471301469561", - "title": "To create a snapshot of a gateway volume" - } - ], - "CreateStorediSCSIVolume": [ - { - "input": { - "DiskId": "pci-0000:03:00.0-scsi-0:0:0:0", - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "NetworkInterfaceId": "10.1.1.1", - "PreserveExistingData": true, - "SnapshotId": "snap-f47b7b94", - "TargetName": "my-volume" - }, - "output": { - "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume", - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", - "VolumeSizeInBytes": 1099511627776 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Creates a stored volume on a specified stored gateway.", - "id": "to-create-a-stored-iscsi-volume-1471367662813", - "title": "To create a stored iSCSI volume" - } - ], - "CreateTapeWithBarcode": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", - "TapeBarcode": "TEST12345", - "TapeSizeInBytes": 107374182400 - }, - "output": { - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST12345" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Creates a virtual tape by using your own barcode.", - "id": "to-create-a-virtual-tape-using-a-barcode-1471371842452", - "title": "To create a virtual tape using a barcode" - } - ], - "CreateTapes": [ - { - "input": { - "ClientToken": "77777", - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", - "NumTapesToCreate": 3, - "TapeBarcodePrefix": "TEST", - "TapeSizeInBytes": 107374182400 - }, - "output": { - "TapeARNs": [ - "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST38A29D", - "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST3AA29F", - "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST3BA29E" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Creates one or more virtual tapes.", - "id": "to-create-a-virtual-tape-1471372061659", - "title": "To create a virtual tape" - } - ], - "DeleteBandwidthRateLimit": [ - { - "input": { - "BandwidthType": "All", - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes the bandwidth rate limits of a gateway; either the upload or download limit, or both.", - "id": "to-delete-bandwidth-rate-limits-of-gateway-1471373225520", - "title": "To delete bandwidth rate limits of gateway" - } - ], - "DeleteChapCredentials": [ - { - "input": { - "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com", - "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" - }, - "output": { - "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com", - "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.", - "id": "to-delete-chap-credentials-1471375025612", - "title": "To delete CHAP credentials" - } - ], - "DeleteGateway": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation deletes the gateway, but not the gateway's VM from the host computer.", - "id": "to-delete-a-gatgeway-1471381697333", - "title": "To delete a gatgeway" - } - ], - "DeleteSnapshotSchedule": [ - { - "input": { - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "output": { - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This action enables you to delete a snapshot schedule for a volume.", - "id": "to-delete-a-snapshot-of-a-volume-1471382234377", - "title": "To delete a snapshot of a volume" - } - ], - "DeleteTape": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:204469490176:gateway/sgw-12A3456B", - "TapeARN": "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0" - }, - "output": { - "TapeARN": "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example deletes the specified virtual tape.", - "id": "to-delete-a-virtual-tape-1471382444157", - "title": "To delete a virtual tape" - } - ], - "DeleteTapeArchive": [ - { - "input": { - "TapeARN": "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0" - }, - "output": { - "TapeARN": "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes the specified virtual tape from the virtual tape shelf (VTS).", - "id": "to-delete-a-virtual-tape-from-the-shelf-vts-1471383964329", - "title": "To delete a virtual tape from the shelf (VTS)" - } - ], - "DeleteVolume": [ - { - "input": { - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "output": { - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Deletes the specified gateway volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API.", - "id": "to-delete-a-gateway-volume-1471384418416", - "title": "To delete a gateway volume" - } - ], - "DescribeBandwidthRateLimit": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "AverageDownloadRateLimitInBitsPerSec": 204800, - "AverageUploadRateLimitInBitsPerSec": 102400, - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns a value for a bandwidth rate limit if set. If not set, then only the gateway ARN is returned.", - "id": "to-describe-the-bandwidth-rate-limits-of-a-gateway-1471384826404", - "title": "To describe the bandwidth rate limits of a gateway" - } - ], - "DescribeCache": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "CacheAllocatedInBytes": 2199023255552, - "CacheDirtyPercentage": 0.07, - "CacheHitPercentage": 99.68, - "CacheMissPercentage": 0.32, - "CacheUsedPercentage": 0.07, - "DiskIds": [ - "pci-0000:03:00.0-scsi-0:0:0:0", - "pci-0000:04:00.0-scsi-0:1:0:0" - ], - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns information about the cache of a gateway.", - "id": "to-describe-cache-information-1471385756036", - "title": "To describe cache information" - } - ], - "DescribeCachediSCSIVolumes": [ - { - "input": { - "VolumeARNs": [ - "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - ] - }, - "output": { - "CachediSCSIVolumes": [ - { - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", - "VolumeId": "vol-1122AABB", - "VolumeSizeInBytes": 1099511627776, - "VolumeStatus": "AVAILABLE", - "VolumeType": "CACHED iSCSI", - "VolumeiSCSIAttributes": { - "ChapEnabled": true, - "LunNumber": 1, - "NetworkInterfaceId": "10.243.43.207", - "NetworkInterfacePort": 3260, - "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" - } - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns a description of the gateway cached iSCSI volumes specified in the request.", - "id": "to-describe-gateway-cached-iscsi-volumes-1471458094649", - "title": "To describe gateway cached iSCSI volumes" - } - ], - "DescribeChapCredentials": [ - { - "input": { - "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" - }, - "output": { - "ChapCredentials": [ - { - "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com", - "SecretToAuthenticateInitiator": "111111111111", - "SecretToAuthenticateTarget": "222222222222", - "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair.", - "id": "to-describe-chap-credetnitals-for-an-iscsi-1471467462967", - "title": "To describe CHAP credetnitals for an iSCSI" - } - ], - "DescribeGatewayInformation": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "GatewayId": "sgw-AABB1122", - "GatewayName": "My_Gateway", - "GatewayNetworkInterfaces": [ - { - "Ipv4Address": "10.35.69.216" - } - ], - "GatewayState": "STATE_RUNNING", - "GatewayTimezone": "GMT-8:00", - "GatewayType": "STORED", - "LastSoftwareUpdate": "2016-01-02T16:00:00", - "NextUpdateAvailabilityDate": "2017-01-02T16:00:00" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not).", - "id": "to-describe-metadata-about-the-gateway-1471467849079", - "title": "To describe metadata about the gateway" - } - ], - "DescribeMaintenanceStartTime": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "DayOfWeek": 2, - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "HourOfDay": 15, - "MinuteOfHour": 35, - "Timezone": "GMT+7:00" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns your gateway's weekly maintenance start time including the day and time of the week.", - "id": "to-describe-gateways-maintenance-start-time-1471470727387", - "title": "To describe gateway's maintenance start time" - } - ], - "DescribeSnapshotSchedule": [ - { - "input": { - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "output": { - "Description": "sgw-AABB1122:vol-AABB1122:Schedule", - "RecurrenceInHours": 24, - "StartAt": 6, - "Timezone": "GMT+7:00", - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Describes the snapshot schedule for the specified gateway volume including intervals at which snapshots are automatically initiated.", - "id": "to-describe-snapshot-schedule-for-gateway-volume-1471471139538", - "title": "To describe snapshot schedule for gateway volume" - } - ], - "DescribeStorediSCSIVolumes": [ - { - "input": { - "VolumeARNs": [ - "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - ] - }, - "output": { - "StorediSCSIVolumes": [ - { - "PreservedExistingData": false, - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", - "VolumeDiskId": "pci-0000:03:00.0-scsi-0:0:0:0", - "VolumeId": "vol-1122AABB", - "VolumeProgress": 23.7, - "VolumeSizeInBytes": 1099511627776, - "VolumeStatus": "BOOTSTRAPPING", - "VolumeiSCSIAttributes": { - "ChapEnabled": true, - "NetworkInterfaceId": "10.243.43.207", - "NetworkInterfacePort": 3260, - "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" - } - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns the description of the gateway volumes specified in the request belonging to the same gateway.", - "id": "to-describe-the-volumes-of-a-gateway-1471472640660", - "title": "To describe the volumes of a gateway" - } - ], - "DescribeTapeArchives": [ - { - "input": { - "Limit": 123, - "Marker": "1", - "TapeARNs": [ - "arn:aws:storagegateway:us-east-1:999999999999:tape/AM08A1AD", - "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4" - ] - }, - "output": { - "Marker": "1", - "TapeArchives": [ - { - "CompletionTime": "2016-12-16T13:50Z", - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999:tape/AM08A1AD", - "TapeBarcode": "AM08A1AD", - "TapeSizeInBytes": 107374182400, - "TapeStatus": "ARCHIVED" - }, - { - "CompletionTime": "2016-12-16T13:59Z", - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999:tape/AMZN01A2A4", - "TapeBarcode": "AMZN01A2A4", - "TapeSizeInBytes": 429496729600, - "TapeStatus": "ARCHIVED" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns a description of specified virtual tapes in the virtual tape shelf (VTS).", - "id": "to-describe-virtual-tapes-in-the-vts-1471473188198", - "title": "To describe virtual tapes in the VTS" - } - ], - "DescribeTapeRecoveryPoints": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "Limit": 1, - "Marker": "1" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "Marker": "1", - "TapeRecoveryPointInfos": [ - { - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999:tape/AMZN01A2A4", - "TapeRecoveryPointTime": "2016-12-16T13:50Z", - "TapeSizeInBytes": 1471550497, - "TapeStatus": "AVAILABLE" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns a list of virtual tape recovery points that are available for the specified gateway-VTL.", - "id": "to-describe-virtual-tape-recovery-points-1471542042026", - "title": "To describe virtual tape recovery points" - } - ], - "DescribeTapes": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", - "Limit": 2, - "Marker": "1", - "TapeARNs": [ - "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST04A2A1", - "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST05A2A0" - ] - }, - "output": { - "Marker": "1", - "Tapes": [ - { - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST04A2A1", - "TapeBarcode": "TEST04A2A1", - "TapeSizeInBytes": 107374182400, - "TapeStatus": "AVAILABLE" - }, - { - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST05A2A0", - "TapeBarcode": "TEST05A2A0", - "TapeSizeInBytes": 107374182400, - "TapeStatus": "AVAILABLE" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns a description of the specified Amazon Resource Name (ARN) of virtual tapes. If a TapeARN is not specified, returns a description of all virtual tapes.", - "id": "to-describe-virtual-tapes-associated-with-gateway-1471629287727", - "title": "To describe virtual tape(s) associated with gateway" - } - ], - "DescribeUploadBuffer": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "DiskIds": [ - "pci-0000:03:00.0-scsi-0:0:0:0", - "pci-0000:04:00.0-scsi-0:1:0:0" - ], - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "UploadBufferAllocatedInBytes": 0, - "UploadBufferUsedInBytes": 161061273600 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated/used.", - "id": "to-describe-upload-buffer-of-gateway-1471631099003", - "title": "To describe upload buffer of gateway" - }, - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "DiskIds": [ - "pci-0000:03:00.0-scsi-0:0:0:0", - "pci-0000:04:00.0-scsi-0:1:0:0" - ], - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "UploadBufferAllocatedInBytes": 161061273600, - "UploadBufferUsedInBytes": 0 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated and used.", - "id": "to-describe-upload-buffer-of-a-gateway--1471904566370", - "title": "To describe upload buffer of a gateway" - } - ], - "DescribeVTLDevices": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", - "Limit": 123, - "Marker": "1", - "VTLDeviceARNs": [ - - ] - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", - "Marker": "1", - "VTLDevices": [ - { - "DeviceiSCSIAttributes": { - "ChapEnabled": false, - "NetworkInterfaceId": "10.243.43.207", - "NetworkInterfacePort": 3260, - "TargetARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-mediachanger" - }, - "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001", - "VTLDeviceProductIdentifier": "L700", - "VTLDeviceType": "Medium Changer", - "VTLDeviceVendor": "STK" - }, - { - "DeviceiSCSIAttributes": { - "ChapEnabled": false, - "NetworkInterfaceId": "10.243.43.209", - "NetworkInterfacePort": 3260, - "TargetARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-tapedrive-01" - }, - "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_TAPEDRIVE_00001", - "VTLDeviceProductIdentifier": "ULT3580-TD5", - "VTLDeviceType": "Tape Drive", - "VTLDeviceVendor": "IBM" - }, - { - "DeviceiSCSIAttributes": { - "ChapEnabled": false, - "NetworkInterfaceId": "10.243.43.209", - "NetworkInterfacePort": 3260, - "TargetARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-tapedrive-02" - }, - "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_TAPEDRIVE_00002", - "VTLDeviceProductIdentifier": "ULT3580-TD5", - "VTLDeviceType": "Tape Drive", - "VTLDeviceVendor": "IBM" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Returns a description of virtual tape library (VTL) devices for the specified gateway.", - "id": "to-describe-virtual-tape-library-vtl-devices-of-a-single-gateway-1471906071410", - "title": "To describe virtual tape library (VTL) devices of a single gateway" - } - ], - "DescribeWorkingStorage": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "DiskIds": [ - "pci-0000:03:00.0-scsi-0:0:0:0", - "pci-0000:03:00.0-scsi-0:0:1:0" - ], - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "WorkingStorageAllocatedInBytes": 2199023255552, - "WorkingStorageUsedInBytes": 789207040 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation is supported only for the gateway-stored volume architecture. This operation is deprecated in cached-volumes API version (20120630). Use DescribeUploadBuffer instead.", - "id": "to-describe-the-working-storage-of-a-gateway-depreciated-1472070842332", - "title": "To describe the working storage of a gateway [Depreciated]" - } - ], - "DisableGateway": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Disables a gateway when the gateway is no longer functioning. Use this operation for a gateway-VTL that is not reachable or not functioning.", - "id": "to-disable-a-gateway-when-it-is-no-longer-functioning-1472076046936", - "title": "To disable a gateway when it is no longer functioning" - } - ], - "ListGateways": [ - { - "input": { - "Limit": 2, - "Marker": "1" - }, - "output": { - "Gateways": [ - { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-23A4567C" - } - ], - "Marker": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists gateways owned by an AWS account in a specified region as requested. Results are sorted by gateway ARN up to a maximum of 100 gateways.", - "id": "to-lists-region-specific-gateways-per-aws-account-1472077860657", - "title": "To lists region specific gateways per AWS account" - } - ], - "ListLocalDisks": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "Disks": [ - { - "DiskAllocationType": "CACHE_STORAGE", - "DiskId": "pci-0000:03:00.0-scsi-0:0:0:0", - "DiskNode": "SCSI(0:0)", - "DiskPath": "/dev/sda", - "DiskSizeInBytes": 1099511627776, - "DiskStatus": "missing" - }, - { - "DiskAllocationResource": "", - "DiskAllocationType": "UPLOAD_BUFFER", - "DiskId": "pci-0000:03:00.0-scsi-0:0:1:0", - "DiskNode": "SCSI(0:1)", - "DiskPath": "/dev/sdb", - "DiskSizeInBytes": 1099511627776, - "DiskStatus": "present" - } - ], - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The request returns a list of all disks, specifying which are configured as working storage, cache storage, or stored volume or not configured at all.", - "id": "to-list-the-gateways-local-disks-1472079564618", - "title": "To list the gateway's local disks" - } - ], - "ListTagsForResource": [ - { - "input": { - "Limit": 1, - "Marker": "1", - "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B" - }, - "output": { - "Marker": "1", - "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B", - "Tags": [ - { - "Key": "Dev Gatgeway Region", - "Value": "East Coast" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists the tags that have been added to the specified resource.", - "id": "to-list-tags-that-have-been-added-to-a-resource-1472080268972", - "title": "To list tags that have been added to a resource" - } - ], - "ListVolumeRecoveryPoints": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "VolumeRecoveryPointInfos": [ - { - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", - "VolumeRecoveryPointTime": "2012-09-04T21:08:44.627Z", - "VolumeSizeInBytes": 536870912000 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists the recovery points for a specified gateway in which all data of the volume is consistent and can be used to create a snapshot.", - "id": "to-list-recovery-points-for-a-gateway-1472143015088", - "title": "To list recovery points for a gateway" - } - ], - "ListVolumes": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "Limit": 2, - "Marker": "1" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "Marker": "1", - "VolumeInfos": [ - { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "GatewayId": "sgw-12A3456B", - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", - "VolumeId": "vol-1122AABB", - "VolumeSizeInBytes": 107374182400, - "VolumeType": "STORED" - }, - { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-13B4567C", - "GatewayId": "sgw-gw-13B4567C", - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-13B4567C/volume/vol-3344CCDD", - "VolumeId": "vol-1122AABB", - "VolumeSizeInBytes": 107374182400, - "VolumeType": "STORED" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN up to a maximum of 100 volumes.", - "id": "to-list-the-iscsi-stored-volumes-of-a-gateway-1472145723653", - "title": "To list the iSCSI stored volumes of a gateway" - } - ], - "RemoveTagsFromResource": [ - { - "input": { - "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B", - "TagKeys": [ - "Dev Gatgeway Region", - "East Coast" - ] - }, - "output": { - "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Lists the iSCSI stored volumes of a gateway. Removes one or more tags from the specified resource.", - "id": "to-remove-tags-from-a-resource-1472147210553", - "title": "To remove tags from a resource" - } - ], - "ResetCache": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-13B4567C" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-13B4567C" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Resets all cache disks that have encountered a error and makes the disks available for reconfiguration as cache storage.", - "id": "to-reset-cache-disks-in-error-status-1472148909807", - "title": "To reset cache disks in error status" - } - ], - "RetrieveTapeArchive": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF" - }, - "output": { - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a gateway-VTL. Virtual tapes archived in the VTS are not associated with any gateway.", - "id": "to-retrieve-an-archived-tape-from-the-vts-1472149812358", - "title": "To retrieve an archived tape from the VTS" - } - ], - "RetrieveTapeRecoveryPoint": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF" - }, - "output": { - "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Retrieves the recovery point for the specified virtual tape.", - "id": "to-retrieve-the-recovery-point-of-a-virtual-tape-1472150014805", - "title": "To retrieve the recovery point of a virtual tape" - } - ], - "SetLocalConsolePassword": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", - "LocalConsolePassword": "PassWordMustBeAtLeast6Chars." - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Sets the password for your VM local console.", - "id": "to-set-a-password-for-your-vm-1472150202632", - "title": "To set a password for your VM" - } - ], - "ShutdownGateway": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation shuts down the gateway service component running in the storage gateway's virtual machine (VM) and not the VM.", - "id": "to-shut-down-a-gateway-service-1472150508835", - "title": "To shut down a gateway service" - } - ], - "StartGateway": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Starts a gateway service that was previously shut down.", - "id": "to-start-a-gateway-service-1472150722315", - "title": "To start a gateway service" - } - ], - "UpdateBandwidthRateLimit": [ - { - "input": { - "AverageDownloadRateLimitInBitsPerSec": 102400, - "AverageUploadRateLimitInBitsPerSec": 51200, - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Updates the bandwidth rate limits of a gateway. Both the upload and download bandwidth rate limit can be set, or either one of the two. If a new limit is not set, the existing rate limit remains.", - "id": "to-update-the-bandwidth-rate-limits-of-a-gateway-1472151016202", - "title": "To update the bandwidth rate limits of a gateway" - } - ], - "UpdateChapCredentials": [ - { - "input": { - "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com", - "SecretToAuthenticateInitiator": "111111111111", - "SecretToAuthenticateTarget": "222222222222", - "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" - }, - "output": { - "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com", - "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target.", - "id": "to-update-chap-credentials-for-an-iscsi-target-1472151325795", - "title": "To update CHAP credentials for an iSCSI target" - } - ], - "UpdateGatewayInformation": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "GatewayName": "MyGateway2", - "GatewayTimezone": "GMT-12:00" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "GatewayName": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Updates a gateway's metadata, which includes the gateway's name and time zone.", - "id": "to-update-a-gateways-metadata-1472151688693", - "title": "To update a gateway's metadata" - } - ], - "UpdateGatewaySoftwareNow": [ - { - "input": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Updates the gateway virtual machine (VM) software. The request immediately triggers the software update.", - "id": "to-update-a-gateways-vm-software-1472152020929", - "title": "To update a gateway's VM software" - } - ], - "UpdateMaintenanceStartTime": [ - { - "input": { - "DayOfWeek": 2, - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "HourOfDay": 0, - "MinuteOfHour": 30 - }, - "output": { - "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Updates a gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is in your gateway's time zone.", - "id": "to-update-a-gateways-maintenance-start-time-1472152552031", - "title": "To update a gateway's maintenance start time" - } - ], - "UpdateSnapshotSchedule": [ - { - "input": { - "Description": "Hourly snapshot", - "RecurrenceInHours": 1, - "StartAt": 0, - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "output": { - "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Updates a snapshot schedule configured for a gateway volume.", - "id": "to-update-a-volume-snapshot-schedule-1472152757068", - "title": "To update a volume snapshot schedule" - } - ], - "UpdateVTLDeviceType": [ - { - "input": { - "DeviceType": "Medium Changer", - "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001" - }, - "output": { - "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "Updates the type of medium changer in a gateway-VTL after a gateway-VTL is activated.", - "id": "to-update-a-vtl-device-type-1472153012967", - "title": "To update a VTL device type" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json b/src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json deleted file mode 100644 index b1ec042..0000000 --- a/src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json +++ /dev/null @@ -1,1706 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2013-06-30", - "endpointPrefix": "storagegateway", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Storage Gateway", - "signatureVersion": "v4", - "targetPrefix": "StorageGateway_20130630", - "uid": "storagegateway-2013-06-30" - }, - "operations": { - "ActivateGateway": { - "input": { - "type": "structure", - "required": [ - "ActivationKey", - "GatewayName", - "GatewayTimezone", - "GatewayRegion" - ], - "members": { - "ActivationKey": {}, - "GatewayName": {}, - "GatewayTimezone": {}, - "GatewayRegion": {}, - "GatewayType": {}, - "TapeDriveType": {}, - "MediumChangerType": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "AddCache": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskIds" - ], - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "AddTagsToResource": { - "input": { - "type": "structure", - "required": [ - "ResourceARN", - "Tags" - ], - "members": { - "ResourceARN": {}, - "Tags": { - "shape": "Sh" - } - } - }, - "output": { - "type": "structure", - "members": { - "ResourceARN": {} - } - } - }, - "AddUploadBuffer": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskIds" - ], - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "AddWorkingStorage": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskIds" - ], - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "CancelArchival": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeARN" - ], - "members": { - "GatewayARN": {}, - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "CancelRetrieval": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeARN" - ], - "members": { - "GatewayARN": {}, - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "CreateCachediSCSIVolume": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "VolumeSizeInBytes", - "TargetName", - "NetworkInterfaceId", - "ClientToken" - ], - "members": { - "GatewayARN": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "SnapshotId": {}, - "TargetName": {}, - "SourceVolumeARN": {}, - "NetworkInterfaceId": {}, - "ClientToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "TargetARN": {} - } - } - }, - "CreateNFSFileShare": { - "input": { - "type": "structure", - "required": [ - "ClientToken", - "GatewayARN", - "Role", - "LocationARN" - ], - "members": { - "ClientToken": {}, - "NFSFileShareDefaults": { - "shape": "S15" - }, - "GatewayARN": {}, - "KMSEncrypted": { - "type": "boolean" - }, - "KMSKey": {}, - "Role": {}, - "LocationARN": {}, - "DefaultStorageClass": {}, - "ClientList": { - "shape": "S1d" - }, - "Squash": {}, - "ReadOnly": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "FileShareARN": {} - } - } - }, - "CreateSnapshot": { - "input": { - "type": "structure", - "required": [ - "VolumeARN", - "SnapshotDescription" - ], - "members": { - "VolumeARN": {}, - "SnapshotDescription": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "SnapshotId": {} - } - } - }, - "CreateSnapshotFromVolumeRecoveryPoint": { - "input": { - "type": "structure", - "required": [ - "VolumeARN", - "SnapshotDescription" - ], - "members": { - "VolumeARN": {}, - "SnapshotDescription": {} - } - }, - "output": { - "type": "structure", - "members": { - "SnapshotId": {}, - "VolumeARN": {}, - "VolumeRecoveryPointTime": {} - } - } - }, - "CreateStorediSCSIVolume": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "DiskId", - "PreserveExistingData", - "TargetName", - "NetworkInterfaceId" - ], - "members": { - "GatewayARN": {}, - "DiskId": {}, - "SnapshotId": {}, - "PreserveExistingData": { - "type": "boolean" - }, - "TargetName": {}, - "NetworkInterfaceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "TargetARN": {} - } - } - }, - "CreateTapeWithBarcode": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeSizeInBytes", - "TapeBarcode" - ], - "members": { - "GatewayARN": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "TapeBarcode": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "CreateTapes": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeSizeInBytes", - "ClientToken", - "NumTapesToCreate", - "TapeBarcodePrefix" - ], - "members": { - "GatewayARN": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "ClientToken": {}, - "NumTapesToCreate": { - "type": "integer" - }, - "TapeBarcodePrefix": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARNs": { - "shape": "S1z" - } - } - } - }, - "DeleteBandwidthRateLimit": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "BandwidthType" - ], - "members": { - "GatewayARN": {}, - "BandwidthType": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "DeleteChapCredentials": { - "input": { - "type": "structure", - "required": [ - "TargetARN", - "InitiatorName" - ], - "members": { - "TargetARN": {}, - "InitiatorName": {} - } - }, - "output": { - "type": "structure", - "members": { - "TargetARN": {}, - "InitiatorName": {} - } - } - }, - "DeleteFileShare": { - "input": { - "type": "structure", - "required": [ - "FileShareARN" - ], - "members": { - "FileShareARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "FileShareARN": {} - } - } - }, - "DeleteGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "DeleteSnapshotSchedule": { - "input": { - "type": "structure", - "required": [ - "VolumeARN" - ], - "members": { - "VolumeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {} - } - } - }, - "DeleteTape": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "TapeARN" - ], - "members": { - "GatewayARN": {}, - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "DeleteTapeArchive": { - "input": { - "type": "structure", - "required": [ - "TapeARN" - ], - "members": { - "TapeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "DeleteVolume": { - "input": { - "type": "structure", - "required": [ - "VolumeARN" - ], - "members": { - "VolumeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {} - } - } - }, - "DescribeBandwidthRateLimit": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "AverageUploadRateLimitInBitsPerSec": { - "type": "long" - }, - "AverageDownloadRateLimitInBitsPerSec": { - "type": "long" - } - } - } - }, - "DescribeCache": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - }, - "CacheAllocatedInBytes": { - "type": "long" - }, - "CacheUsedPercentage": { - "type": "double" - }, - "CacheDirtyPercentage": { - "type": "double" - }, - "CacheHitPercentage": { - "type": "double" - }, - "CacheMissPercentage": { - "type": "double" - } - } - } - }, - "DescribeCachediSCSIVolumes": { - "input": { - "type": "structure", - "required": [ - "VolumeARNs" - ], - "members": { - "VolumeARNs": { - "shape": "S2q" - } - } - }, - "output": { - "type": "structure", - "members": { - "CachediSCSIVolumes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeId": {}, - "VolumeType": {}, - "VolumeStatus": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "VolumeProgress": { - "type": "double" - }, - "SourceSnapshotId": {}, - "VolumeiSCSIAttributes": { - "shape": "S2y" - }, - "CreatedDate": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeChapCredentials": { - "input": { - "type": "structure", - "required": [ - "TargetARN" - ], - "members": { - "TargetARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChapCredentials": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TargetARN": {}, - "SecretToAuthenticateInitiator": {}, - "InitiatorName": {}, - "SecretToAuthenticateTarget": {} - } - } - } - } - } - }, - "DescribeGatewayInformation": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "GatewayId": {}, - "GatewayName": {}, - "GatewayTimezone": {}, - "GatewayState": {}, - "GatewayNetworkInterfaces": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Ipv4Address": {}, - "MacAddress": {}, - "Ipv6Address": {} - } - } - }, - "GatewayType": {}, - "NextUpdateAvailabilityDate": {}, - "LastSoftwareUpdate": {} - } - } - }, - "DescribeMaintenanceStartTime": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "HourOfDay": { - "type": "integer" - }, - "MinuteOfHour": { - "type": "integer" - }, - "DayOfWeek": { - "type": "integer" - }, - "Timezone": {} - } - } - }, - "DescribeNFSFileShares": { - "input": { - "type": "structure", - "required": [ - "FileShareARNList" - ], - "members": { - "FileShareARNList": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "NFSFileShareInfoList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "NFSFileShareDefaults": { - "shape": "S15" - }, - "FileShareARN": {}, - "FileShareId": {}, - "FileShareStatus": {}, - "GatewayARN": {}, - "KMSEncrypted": { - "type": "boolean" - }, - "KMSKey": {}, - "Path": {}, - "Role": {}, - "LocationARN": {}, - "DefaultStorageClass": {}, - "ClientList": { - "shape": "S1d" - }, - "Squash": {}, - "ReadOnly": { - "type": "boolean" - } - } - } - } - } - } - }, - "DescribeSnapshotSchedule": { - "input": { - "type": "structure", - "required": [ - "VolumeARN" - ], - "members": { - "VolumeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {}, - "StartAt": { - "type": "integer" - }, - "RecurrenceInHours": { - "type": "integer" - }, - "Description": {}, - "Timezone": {} - } - } - }, - "DescribeStorediSCSIVolumes": { - "input": { - "type": "structure", - "required": [ - "VolumeARNs" - ], - "members": { - "VolumeARNs": { - "shape": "S2q" - } - } - }, - "output": { - "type": "structure", - "members": { - "StorediSCSIVolumes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeId": {}, - "VolumeType": {}, - "VolumeStatus": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "VolumeProgress": { - "type": "double" - }, - "VolumeDiskId": {}, - "SourceSnapshotId": {}, - "PreservedExistingData": { - "type": "boolean" - }, - "VolumeiSCSIAttributes": { - "shape": "S2y" - }, - "CreatedDate": { - "type": "timestamp" - } - } - } - } - } - } - }, - "DescribeTapeArchives": { - "input": { - "type": "structure", - "members": { - "TapeARNs": { - "shape": "S1z" - }, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TapeArchives": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TapeARN": {}, - "TapeBarcode": {}, - "TapeCreatedDate": { - "type": "timestamp" - }, - "TapeSizeInBytes": { - "type": "long" - }, - "CompletionTime": { - "type": "timestamp" - }, - "RetrievedTo": {}, - "TapeStatus": {}, - "TapeUsedInBytes": { - "type": "long" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeTapeRecoveryPoints": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "TapeRecoveryPointInfos": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TapeARN": {}, - "TapeRecoveryPointTime": { - "type": "timestamp" - }, - "TapeSizeInBytes": { - "type": "long" - }, - "TapeStatus": {} - } - } - }, - "Marker": {} - } - } - }, - "DescribeTapes": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "TapeARNs": { - "shape": "S1z" - }, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Tapes": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TapeARN": {}, - "TapeBarcode": {}, - "TapeCreatedDate": { - "type": "timestamp" - }, - "TapeSizeInBytes": { - "type": "long" - }, - "TapeStatus": {}, - "VTLDevice": {}, - "Progress": { - "type": "double" - }, - "TapeUsedInBytes": { - "type": "long" - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeUploadBuffer": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - }, - "UploadBufferUsedInBytes": { - "type": "long" - }, - "UploadBufferAllocatedInBytes": { - "type": "long" - } - } - } - }, - "DescribeVTLDevices": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "VTLDeviceARNs": { - "type": "list", - "member": {} - }, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "VTLDevices": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VTLDeviceARN": {}, - "VTLDeviceType": {}, - "VTLDeviceVendor": {}, - "VTLDeviceProductIdentifier": {}, - "DeviceiSCSIAttributes": { - "type": "structure", - "members": { - "TargetARN": {}, - "NetworkInterfaceId": {}, - "NetworkInterfacePort": { - "type": "integer" - }, - "ChapEnabled": { - "type": "boolean" - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeWorkingStorage": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "DiskIds": { - "shape": "Sc" - }, - "WorkingStorageUsedInBytes": { - "type": "long" - }, - "WorkingStorageAllocatedInBytes": { - "type": "long" - } - } - } - }, - "DisableGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "ListFileShares": { - "input": { - "type": "structure", - "members": { - "GatewayARN": {}, - "Limit": { - "type": "integer" - }, - "Marker": {} - } - }, - "output": { - "type": "structure", - "members": { - "Marker": {}, - "NextMarker": {}, - "FileShareInfoList": { - "type": "list", - "member": { - "type": "structure", - "members": { - "FileShareARN": {}, - "FileShareId": {}, - "FileShareStatus": {}, - "GatewayARN": {} - } - } - } - } - } - }, - "ListGateways": { - "input": { - "type": "structure", - "members": { - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Gateways": { - "type": "list", - "member": { - "type": "structure", - "members": { - "GatewayId": {}, - "GatewayARN": {}, - "GatewayType": {}, - "GatewayOperationalState": {}, - "GatewayName": {} - } - } - }, - "Marker": {} - } - } - }, - "ListLocalDisks": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "Disks": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DiskId": {}, - "DiskPath": {}, - "DiskNode": {}, - "DiskStatus": {}, - "DiskSizeInBytes": { - "type": "long" - }, - "DiskAllocationType": {}, - "DiskAllocationResource": {} - } - } - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceARN" - ], - "members": { - "ResourceARN": {}, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "ResourceARN": {}, - "Marker": {}, - "Tags": { - "shape": "Sh" - } - } - } - }, - "ListTapes": { - "input": { - "type": "structure", - "members": { - "TapeARNs": { - "shape": "S1z" - }, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "TapeInfos": { - "type": "list", - "member": { - "type": "structure", - "members": { - "TapeARN": {}, - "TapeBarcode": {}, - "TapeSizeInBytes": { - "type": "long" - }, - "TapeStatus": {}, - "GatewayARN": {} - } - } - }, - "Marker": {} - } - } - }, - "ListVolumeInitiators": { - "input": { - "type": "structure", - "required": [ - "VolumeARN" - ], - "members": { - "VolumeARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "Initiators": { - "type": "list", - "member": {} - } - } - } - }, - "ListVolumeRecoveryPoints": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "VolumeRecoveryPointInfos": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeSizeInBytes": { - "type": "long" - }, - "VolumeUsageInBytes": { - "type": "long" - }, - "VolumeRecoveryPointTime": {} - } - } - } - } - } - }, - "ListVolumes": { - "input": { - "type": "structure", - "members": { - "GatewayARN": {}, - "Marker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "Marker": {}, - "VolumeInfos": { - "type": "list", - "member": { - "type": "structure", - "members": { - "VolumeARN": {}, - "VolumeId": {}, - "GatewayARN": {}, - "GatewayId": {}, - "VolumeType": {}, - "VolumeSizeInBytes": { - "type": "long" - } - } - } - } - } - } - }, - "RefreshCache": { - "input": { - "type": "structure", - "required": [ - "FileShareARN" - ], - "members": { - "FileShareARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "FileShareARN": {} - } - } - }, - "RemoveTagsFromResource": { - "input": { - "type": "structure", - "required": [ - "ResourceARN", - "TagKeys" - ], - "members": { - "ResourceARN": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "ResourceARN": {} - } - } - }, - "ResetCache": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "RetrieveTapeArchive": { - "input": { - "type": "structure", - "required": [ - "TapeARN", - "GatewayARN" - ], - "members": { - "TapeARN": {}, - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "RetrieveTapeRecoveryPoint": { - "input": { - "type": "structure", - "required": [ - "TapeARN", - "GatewayARN" - ], - "members": { - "TapeARN": {}, - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "TapeARN": {} - } - } - }, - "SetLocalConsolePassword": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "LocalConsolePassword" - ], - "members": { - "GatewayARN": {}, - "LocalConsolePassword": { - "type": "string", - "sensitive": true - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "ShutdownGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "StartGateway": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateBandwidthRateLimit": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "AverageUploadRateLimitInBitsPerSec": { - "type": "long" - }, - "AverageDownloadRateLimitInBitsPerSec": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateChapCredentials": { - "input": { - "type": "structure", - "required": [ - "TargetARN", - "SecretToAuthenticateInitiator", - "InitiatorName" - ], - "members": { - "TargetARN": {}, - "SecretToAuthenticateInitiator": {}, - "InitiatorName": {}, - "SecretToAuthenticateTarget": {} - } - }, - "output": { - "type": "structure", - "members": { - "TargetARN": {}, - "InitiatorName": {} - } - } - }, - "UpdateGatewayInformation": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {}, - "GatewayName": {}, - "GatewayTimezone": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {}, - "GatewayName": {} - } - } - }, - "UpdateGatewaySoftwareNow": { - "input": { - "type": "structure", - "required": [ - "GatewayARN" - ], - "members": { - "GatewayARN": {} - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateMaintenanceStartTime": { - "input": { - "type": "structure", - "required": [ - "GatewayARN", - "HourOfDay", - "MinuteOfHour", - "DayOfWeek" - ], - "members": { - "GatewayARN": {}, - "HourOfDay": { - "type": "integer" - }, - "MinuteOfHour": { - "type": "integer" - }, - "DayOfWeek": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "GatewayARN": {} - } - } - }, - "UpdateNFSFileShare": { - "input": { - "type": "structure", - "required": [ - "FileShareARN" - ], - "members": { - "FileShareARN": {}, - "KMSEncrypted": { - "type": "boolean" - }, - "KMSKey": {}, - "NFSFileShareDefaults": { - "shape": "S15" - }, - "DefaultStorageClass": {}, - "ClientList": { - "shape": "S1d" - }, - "Squash": {}, - "ReadOnly": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "FileShareARN": {} - } - } - }, - "UpdateSnapshotSchedule": { - "input": { - "type": "structure", - "required": [ - "VolumeARN", - "StartAt", - "RecurrenceInHours" - ], - "members": { - "VolumeARN": {}, - "StartAt": { - "type": "integer" - }, - "RecurrenceInHours": { - "type": "integer" - }, - "Description": {} - } - }, - "output": { - "type": "structure", - "members": { - "VolumeARN": {} - } - } - }, - "UpdateVTLDeviceType": { - "input": { - "type": "structure", - "required": [ - "VTLDeviceARN", - "DeviceType" - ], - "members": { - "VTLDeviceARN": {}, - "DeviceType": {} - } - }, - "output": { - "type": "structure", - "members": { - "VTLDeviceARN": {} - } - } - } - }, - "shapes": { - "Sc": { - "type": "list", - "member": {} - }, - "Sh": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key", - "Value" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "S15": { - "type": "structure", - "members": { - "FileMode": {}, - "DirectoryMode": {}, - "GroupId": { - "type": "long" - }, - "OwnerId": { - "type": "long" - } - } - }, - "S1d": { - "type": "list", - "member": {} - }, - "S1z": { - "type": "list", - "member": {} - }, - "S2q": { - "type": "list", - "member": {} - }, - "S2y": { - "type": "structure", - "members": { - "TargetARN": {}, - "NetworkInterfaceId": {}, - "NetworkInterfacePort": { - "type": "integer" - }, - "LunNumber": { - "type": "integer" - }, - "ChapEnabled": { - "type": "boolean" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.paginators.json b/src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.paginators.json deleted file mode 100644 index 2413082..0000000 --- a/src/node_modules/aws-sdk/apis/storagegateway-2013-06-30.paginators.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "pagination": { - "DescribeCachediSCSIVolumes": { - "result_key": "CachediSCSIVolumes" - }, - "DescribeStorediSCSIVolumes": { - "result_key": "StorediSCSIVolumes" - }, - "DescribeTapeArchives": { - "input_token": "Marker", - "limit_key": "Limit", - "output_token": "Marker", - "result_key": "TapeArchives" - }, - "DescribeTapeRecoveryPoints": { - "input_token": "Marker", - "limit_key": "Limit", - "output_token": "Marker", - "result_key": "TapeRecoveryPointInfos" - }, - "DescribeTapes": { - "input_token": "Marker", - "limit_key": "Limit", - "output_token": "Marker", - "result_key": "Tapes" - }, - "DescribeVTLDevices": { - "input_token": "Marker", - "limit_key": "Limit", - "output_token": "Marker", - "result_key": "VTLDevices" - }, - "ListGateways": { - "input_token": "Marker", - "limit_key": "Limit", - "output_token": "Marker", - "result_key": "Gateways" - }, - "ListLocalDisks": { - "result_key": "Disks" - }, - "ListVolumeRecoveryPoints": { - "result_key": "VolumeRecoveryPointInfos" - }, - "ListVolumes": { - "input_token": "Marker", - "limit_key": "Limit", - "output_token": "Marker", - "result_key": "VolumeInfos" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.examples.json b/src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.examples.json deleted file mode 100644 index 8287e2c..0000000 --- a/src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.examples.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "version": "1.0", - "examples": { - "DescribeStream": [ - { - "input": { - "StreamArn": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252" - }, - "output": { - "StreamDescription": { - "CreationRequestDateTime": "Wed May 20 13:51:10 PDT 2015", - "KeySchema": [ - { - "AttributeName": "ForumName", - "KeyType": "HASH" - }, - { - "AttributeName": "Subject", - "KeyType": "RANGE" - } - ], - "Shards": [ - { - "SequenceNumberRange": { - "EndingSequenceNumber": "20500000000000000910398", - "StartingSequenceNumber": "20500000000000000910398" - }, - "ShardId": "shardId-00000001414562045508-2bac9cd2" - }, - { - "ParentShardId": "shardId-00000001414562045508-2bac9cd2", - "SequenceNumberRange": { - "EndingSequenceNumber": "820400000000000001192334", - "StartingSequenceNumber": "820400000000000001192334" - }, - "ShardId": "shardId-00000001414576573621-f55eea83" - }, - { - "ParentShardId": "shardId-00000001414576573621-f55eea83", - "SequenceNumberRange": { - "EndingSequenceNumber": "1683700000000000001135967", - "StartingSequenceNumber": "1683700000000000001135967" - }, - "ShardId": "shardId-00000001414592258131-674fd923" - }, - { - "ParentShardId": "shardId-00000001414592258131-674fd923", - "SequenceNumberRange": { - "StartingSequenceNumber": "2574600000000000000935255" - }, - "ShardId": "shardId-00000001414608446368-3a1afbaf" - } - ], - "StreamArn": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252", - "StreamLabel": "2015-05-20T20:51:10.252", - "StreamStatus": "ENABLED", - "StreamViewType": "NEW_AND_OLD_IMAGES", - "TableName": "Forum" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example describes a stream with a given stream ARN.", - "id": "to-describe-a-stream-with-a-given-stream-arn-1473457835200", - "title": "To describe a stream with a given stream ARN" - } - ], - "GetRecords": [ - { - "input": { - "ShardIterator": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252|1|AAAAAAAAAAEvJp6D+zaQ... ..." - }, - "output": { - "NextShardIterator": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252|1|AAAAAAAAAAGQBYshYDEe ... ...", - "Records": [ - { - "awsRegion": "us-west-2", - "dynamodb": { - "ApproximateCreationDateTime": "1.46480646E9", - "Keys": { - "ForumName": { - "S": "DynamoDB" - }, - "Subject": { - "S": "DynamoDB Thread 3" - } - }, - "SequenceNumber": "300000000000000499659", - "SizeBytes": 41, - "StreamViewType": "KEYS_ONLY" - }, - "eventID": "e2fd9c34eff2d779b297b26f5fef4206", - "eventName": "INSERT", - "eventSource": "aws:dynamodb", - "eventVersion": "1.0" - }, - { - "awsRegion": "us-west-2", - "dynamodb": { - "ApproximateCreationDateTime": "1.46480527E9", - "Keys": { - "ForumName": { - "S": "DynamoDB" - }, - "Subject": { - "S": "DynamoDB Thread 1" - } - }, - "SequenceNumber": "400000000000000499660", - "SizeBytes": 41, - "StreamViewType": "KEYS_ONLY" - }, - "eventID": "4b25bd0da9a181a155114127e4837252", - "eventName": "MODIFY", - "eventSource": "aws:dynamodb", - "eventVersion": "1.0" - }, - { - "awsRegion": "us-west-2", - "dynamodb": { - "ApproximateCreationDateTime": "1.46480646E9", - "Keys": { - "ForumName": { - "S": "DynamoDB" - }, - "Subject": { - "S": "DynamoDB Thread 2" - } - }, - "SequenceNumber": "500000000000000499661", - "SizeBytes": 41, - "StreamViewType": "KEYS_ONLY" - }, - "eventID": "740280c73a3df7842edab3548a1b08ad", - "eventName": "REMOVE", - "eventSource": "aws:dynamodb", - "eventVersion": "1.0" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example retrieves all the stream records from a shard.", - "id": "to-retrieve-all-the-stream-records-from-a-shard-1473707781419", - "title": "To retrieve all the stream records from a shard" - } - ], - "GetShardIterator": [ - { - "input": { - "ShardId": "00000001414576573621-f55eea83", - "ShardIteratorType": "TRIM_HORIZON", - "StreamArn": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252" - }, - "output": { - "ShardIterator": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252|1|AAAAAAAAAAEvJp6D+zaQ... ..." - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns a shard iterator for the provided stream ARN and shard ID.", - "id": "to-obtain-a-shard-iterator-for-the-provided-stream-arn-and-shard-id-1473459941476", - "title": "To obtain a shard iterator for the provided stream ARN and shard ID" - } - ], - "ListStreams": [ - { - "input": { - }, - "output": { - "Streams": [ - { - "StreamArn": "arn:aws:dynamodb:us-wesst-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252", - "StreamLabel": "2015-05-20T20:51:10.252", - "TableName": "Forum" - }, - { - "StreamArn": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:50:02.714", - "StreamLabel": "2015-05-20T20:50:02.714", - "TableName": "Forum" - }, - { - "StreamArn": "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-19T23:03:50.641", - "StreamLabel": "2015-05-19T23:03:50.641", - "TableName": "Forum" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example lists all of the stream ARNs.", - "id": "to-list-all-of-the-stream-arns--1473459534285", - "title": "To list all of the stream ARNs " - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json b/src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json deleted file mode 100644 index 79e683c..0000000 --- a/src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.min.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2012-08-10", - "endpointPrefix": "streams.dynamodb", - "jsonVersion": "1.0", - "protocol": "json", - "serviceFullName": "Amazon DynamoDB Streams", - "signatureVersion": "v4", - "signingName": "dynamodb", - "targetPrefix": "DynamoDBStreams_20120810", - "uid": "streams-dynamodb-2012-08-10" - }, - "operations": { - "DescribeStream": { - "input": { - "type": "structure", - "required": [ - "StreamArn" - ], - "members": { - "StreamArn": {}, - "Limit": { - "type": "integer" - }, - "ExclusiveStartShardId": {} - } - }, - "output": { - "type": "structure", - "members": { - "StreamDescription": { - "type": "structure", - "members": { - "StreamArn": {}, - "StreamLabel": {}, - "StreamStatus": {}, - "StreamViewType": {}, - "CreationRequestDateTime": { - "type": "timestamp" - }, - "TableName": {}, - "KeySchema": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "AttributeName", - "KeyType" - ], - "members": { - "AttributeName": {}, - "KeyType": {} - } - } - }, - "Shards": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ShardId": {}, - "SequenceNumberRange": { - "type": "structure", - "members": { - "StartingSequenceNumber": {}, - "EndingSequenceNumber": {} - } - }, - "ParentShardId": {} - } - } - }, - "LastEvaluatedShardId": {} - } - } - } - } - }, - "GetRecords": { - "input": { - "type": "structure", - "required": [ - "ShardIterator" - ], - "members": { - "ShardIterator": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Records": { - "type": "list", - "member": { - "type": "structure", - "members": { - "eventID": {}, - "eventName": {}, - "eventVersion": {}, - "eventSource": {}, - "awsRegion": {}, - "dynamodb": { - "type": "structure", - "members": { - "ApproximateCreationDateTime": { - "type": "timestamp" - }, - "Keys": { - "shape": "Sr" - }, - "NewImage": { - "shape": "Sr" - }, - "OldImage": { - "shape": "Sr" - }, - "SequenceNumber": {}, - "SizeBytes": { - "type": "long" - }, - "StreamViewType": {} - } - }, - "userIdentity": { - "type": "structure", - "members": { - "PrincipalId": {}, - "Type": {} - } - } - } - } - }, - "NextShardIterator": {} - } - } - }, - "GetShardIterator": { - "input": { - "type": "structure", - "required": [ - "StreamArn", - "ShardId", - "ShardIteratorType" - ], - "members": { - "StreamArn": {}, - "ShardId": {}, - "ShardIteratorType": {}, - "SequenceNumber": {} - } - }, - "output": { - "type": "structure", - "members": { - "ShardIterator": {} - } - } - }, - "ListStreams": { - "input": { - "type": "structure", - "members": { - "TableName": {}, - "Limit": { - "type": "integer" - }, - "ExclusiveStartStreamArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "Streams": { - "type": "list", - "member": { - "type": "structure", - "members": { - "StreamArn": {}, - "TableName": {}, - "StreamLabel": {} - } - } - }, - "LastEvaluatedStreamArn": {} - } - } - } - }, - "shapes": { - "Sr": { - "type": "map", - "key": {}, - "value": { - "shape": "St" - } - }, - "St": { - "type": "structure", - "members": { - "S": {}, - "N": {}, - "B": { - "type": "blob" - }, - "SS": { - "type": "list", - "member": {} - }, - "NS": { - "type": "list", - "member": {} - }, - "BS": { - "type": "list", - "member": { - "type": "blob" - } - }, - "M": { - "type": "map", - "key": {}, - "value": { - "shape": "St" - } - }, - "L": { - "type": "list", - "member": { - "shape": "St" - } - }, - "NULL": { - "type": "boolean" - }, - "BOOL": { - "type": "boolean" - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.paginators.json b/src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/streams.dynamodb-2012-08-10.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/sts-2011-06-15.examples.json b/src/node_modules/aws-sdk/apis/sts-2011-06-15.examples.json deleted file mode 100644 index 84442a1..0000000 --- a/src/node_modules/aws-sdk/apis/sts-2011-06-15.examples.json +++ /dev/null @@ -1,206 +0,0 @@ -{ - "version": "1.0", - "examples": { - "AssumeRole": [ - { - "input": { - "DurationSeconds": 3600, - "ExternalId": "123ABC", - "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Stmt1\",\"Effect\":\"Allow\",\"Action\":\"s3:*\",\"Resource\":\"*\"}]}", - "RoleArn": "arn:aws:iam::123456789012:role/demo", - "RoleSessionName": "Bob" - }, - "output": { - "AssumedRoleUser": { - "Arn": "arn:aws:sts::123456789012:assumed-role/demo/Bob", - "AssumedRoleId": "ARO123EXAMPLE123:Bob" - }, - "Credentials": { - "AccessKeyId": "AKIAIOSFODNN7EXAMPLE", - "Expiration": "2011-07-15T23:28:33.359Z", - "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY", - "SessionToken": "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA==" - }, - "PackedPolicySize": 6 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "", - "id": "to-assume-a-role-1480532402212", - "title": "To assume a role" - } - ], - "AssumeRoleWithWebIdentity": [ - { - "input": { - "DurationSeconds": 3600, - "ProviderId": "www.amazon.com", - "RoleArn": "arn:aws:iam::123456789012:role/FederatedWebIdentityRole", - "RoleSessionName": "app1", - "WebIdentityToken": "Atza%7CIQEBLjAsAhRFiXuWpUXuRvQ9PZL3GMFcYevydwIUFAHZwXZXXXXXXXXJnrulxKDHwy87oGKPznh0D6bEQZTSCzyoCtL_8S07pLpr0zMbn6w1lfVZKNTBdDansFBmtGnIsIapjI6xKR02Yc_2bQ8LZbUXSGm6Ry6_BG7PrtLZtj_dfCTj92xNGed-CrKqjG7nPBjNIL016GGvuS5gSvPRUxWES3VYfm1wl7WTI7jn-Pcb6M-buCgHhFOzTQxod27L9CqnOLio7N3gZAGpsp6n1-AJBOCJckcyXe2c6uD0srOJeZlKUm2eTDVMf8IehDVI0r1QOnTV6KzzAI3OY87Vd_cVMQ" - }, - "output": { - "AssumedRoleUser": { - "Arn": "arn:aws:sts::123456789012:assumed-role/FederatedWebIdentityRole/app1", - "AssumedRoleId": "AROACLKWSDQRAOEXAMPLE:app1" - }, - "Audience": "client.5498841531868486423.1548@apps.example.com", - "Credentials": { - "AccessKeyId": "AKIAIOSFODNN7EXAMPLE", - "Expiration": "2014-10-24T23:00:23Z", - "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY", - "SessionToken": "AQoDYXdzEE0a8ANXXXXXXXXNO1ewxE5TijQyp+IEXAMPLE" - }, - "PackedPolicySize": 123, - "Provider": "www.amazon.com", - "SubjectFromWebIdentityToken": "amzn1.account.AF6RHO7KZU5XRVQJGXK6HEXAMPLE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "", - "id": "to-assume-a-role-as-an-openid-connect-federated-user-1480533445696", - "title": "To assume a role as an OpenID Connect-federated user" - } - ], - "DecodeAuthorizationMessage": [ - { - "input": { - "EncodedMessage": "" - }, - "output": { - "DecodedMessage": "{\"allowed\": \"false\",\"explicitDeny\": \"false\",\"matchedStatements\": \"\",\"failures\": \"\",\"context\": {\"principal\": {\"id\": \"AIDACKCEVSQ6C2EXAMPLE\",\"name\": \"Bob\",\"arn\": \"arn:aws:iam::123456789012:user/Bob\"},\"action\": \"ec2:StopInstances\",\"resource\": \"arn:aws:ec2:us-east-1:123456789012:instance/i-dd01c9bd\",\"conditions\": [{\"item\": {\"key\": \"ec2:Tenancy\",\"values\": [\"default\"]},{\"item\": {\"key\": \"ec2:ResourceTag/elasticbeanstalk:environment-name\",\"values\": [\"Default-Environment\"]}},(Additional items ...)]}}" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "", - "id": "to-decode-information-about-an-authorization-status-of-a-request-1480533854499", - "title": "To decode information about an authorization status of a request" - } - ], - "GetCallerIdentity": [ - { - "input": { - }, - "output": { - "Account": "123456789012", - "Arn": "arn:aws:iam::123456789012:user/Alice", - "UserId": "AKIAI44QH8DHBEXAMPLE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows a request and response made with the credentials for a user named Alice in the AWS account 123456789012.", - "id": "to-get-details-about-a-calling-iam-user-1480540050376", - "title": "To get details about a calling IAM user" - }, - { - "input": { - }, - "output": { - "Account": "123456789012", - "Arn": "arn:aws:sts::123456789012:assumed-role/my-role-name/my-role-session-name", - "UserId": "AKIAI44QH8DHBEXAMPLE:my-role-session-name" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows a request and response made with temporary credentials created by AssumeRole. The name of the assumed role is my-role-name, and the RoleSessionName is set to my-role-session-name.", - "id": "to-get-details-about-a-calling-user-federated-with-assumerole-1480540158545", - "title": "To get details about a calling user federated with AssumeRole" - }, - { - "input": { - }, - "output": { - "Account": "123456789012", - "Arn": "arn:aws:sts::123456789012:federated-user/my-federated-user-name", - "UserId": "123456789012:my-federated-user-name" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This example shows a request and response made with temporary credentials created by using GetFederationToken. The Name parameter is set to my-federated-user-name.", - "id": "to-get-details-about-a-calling-user-federated-with-getfederationtoken-1480540231316", - "title": "To get details about a calling user federated with GetFederationToken" - } - ], - "GetFederationToken": [ - { - "input": { - "DurationSeconds": 3600, - "Name": "Bob", - "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Stmt1\",\"Effect\":\"Allow\",\"Action\":\"s3:*\",\"Resource\":\"*\"}]}" - }, - "output": { - "Credentials": { - "AccessKeyId": "AKIAIOSFODNN7EXAMPLE", - "Expiration": "2011-07-15T23:28:33.359Z", - "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY", - "SessionToken": "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA==" - }, - "FederatedUser": { - "Arn": "arn:aws:sts::123456789012:federated-user/Bob", - "FederatedUserId": "123456789012:Bob" - }, - "PackedPolicySize": 6 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "", - "id": "to-get-temporary-credentials-for-a-role-by-using-getfederationtoken-1480540749900", - "title": "To get temporary credentials for a role by using GetFederationToken" - } - ], - "GetSessionToken": [ - { - "input": { - "DurationSeconds": 3600, - "SerialNumber": "YourMFASerialNumber", - "TokenCode": "123456" - }, - "output": { - "Credentials": { - "AccessKeyId": "AKIAIOSFODNN7EXAMPLE", - "Expiration": "2011-07-11T19:55:29.611Z", - "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY", - "SessionToken": "AQoEXAMPLEH4aoAH0gNCAPyJxz4BlCFFxWNE1OPTgk5TthT+FvwqnKwRcOIfrRh3c/LTo6UDdyJwOOvEVPvLXCrrrUtdnniCEXAMPLE/IvU1dYUg2RVAJBanLiHb4IgRmpRV3zrkuWJOgQs8IZZaIv2BXIa2R4OlgkBN9bkUDNCJiBeb/AXlzBBko7b15fjrBs2+cTQtpZ3CYWFXG8C5zqx37wnOE49mRl/+OtkIKGO7fAE" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "", - "id": "to-get-temporary-credentials-for-an-iam-user-or-an-aws-account-1480540814038", - "title": "To get temporary credentials for an IAM user or an AWS account" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/sts-2011-06-15.min.json b/src/node_modules/aws-sdk/apis/sts-2011-06-15.min.json deleted file mode 100644 index 75dd67e..0000000 --- a/src/node_modules/aws-sdk/apis/sts-2011-06-15.min.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2011-06-15", - "endpointPrefix": "sts", - "globalEndpoint": "sts.amazonaws.com", - "protocol": "query", - "serviceAbbreviation": "AWS STS", - "serviceFullName": "AWS Security Token Service", - "signatureVersion": "v4", - "uid": "sts-2011-06-15", - "xmlNamespace": "https://sts.amazonaws.com/doc/2011-06-15/" - }, - "operations": { - "AssumeRole": { - "input": { - "type": "structure", - "required": [ - "RoleArn", - "RoleSessionName" - ], - "members": { - "RoleArn": {}, - "RoleSessionName": {}, - "Policy": {}, - "DurationSeconds": { - "type": "integer" - }, - "ExternalId": {}, - "SerialNumber": {}, - "TokenCode": {} - } - }, - "output": { - "resultWrapper": "AssumeRoleResult", - "type": "structure", - "members": { - "Credentials": { - "shape": "Sa" - }, - "AssumedRoleUser": { - "shape": "Sf" - }, - "PackedPolicySize": { - "type": "integer" - } - } - } - }, - "AssumeRoleWithSAML": { - "input": { - "type": "structure", - "required": [ - "RoleArn", - "PrincipalArn", - "SAMLAssertion" - ], - "members": { - "RoleArn": {}, - "PrincipalArn": {}, - "SAMLAssertion": {}, - "Policy": {}, - "DurationSeconds": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "AssumeRoleWithSAMLResult", - "type": "structure", - "members": { - "Credentials": { - "shape": "Sa" - }, - "AssumedRoleUser": { - "shape": "Sf" - }, - "PackedPolicySize": { - "type": "integer" - }, - "Subject": {}, - "SubjectType": {}, - "Issuer": {}, - "Audience": {}, - "NameQualifier": {} - } - } - }, - "AssumeRoleWithWebIdentity": { - "input": { - "type": "structure", - "required": [ - "RoleArn", - "RoleSessionName", - "WebIdentityToken" - ], - "members": { - "RoleArn": {}, - "RoleSessionName": {}, - "WebIdentityToken": {}, - "ProviderId": {}, - "Policy": {}, - "DurationSeconds": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "AssumeRoleWithWebIdentityResult", - "type": "structure", - "members": { - "Credentials": { - "shape": "Sa" - }, - "SubjectFromWebIdentityToken": {}, - "AssumedRoleUser": { - "shape": "Sf" - }, - "PackedPolicySize": { - "type": "integer" - }, - "Provider": {}, - "Audience": {} - } - } - }, - "DecodeAuthorizationMessage": { - "input": { - "type": "structure", - "required": [ - "EncodedMessage" - ], - "members": { - "EncodedMessage": {} - } - }, - "output": { - "resultWrapper": "DecodeAuthorizationMessageResult", - "type": "structure", - "members": { - "DecodedMessage": {} - } - } - }, - "GetCallerIdentity": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "GetCallerIdentityResult", - "type": "structure", - "members": { - "UserId": {}, - "Account": {}, - "Arn": {} - } - } - }, - "GetFederationToken": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Policy": {}, - "DurationSeconds": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "GetFederationTokenResult", - "type": "structure", - "members": { - "Credentials": { - "shape": "Sa" - }, - "FederatedUser": { - "type": "structure", - "required": [ - "FederatedUserId", - "Arn" - ], - "members": { - "FederatedUserId": {}, - "Arn": {} - } - }, - "PackedPolicySize": { - "type": "integer" - } - } - } - }, - "GetSessionToken": { - "input": { - "type": "structure", - "members": { - "DurationSeconds": { - "type": "integer" - }, - "SerialNumber": {}, - "TokenCode": {} - } - }, - "output": { - "resultWrapper": "GetSessionTokenResult", - "type": "structure", - "members": { - "Credentials": { - "shape": "Sa" - } - } - } - } - }, - "shapes": { - "Sa": { - "type": "structure", - "required": [ - "AccessKeyId", - "SecretAccessKey", - "SessionToken", - "Expiration" - ], - "members": { - "AccessKeyId": {}, - "SecretAccessKey": {}, - "SessionToken": {}, - "Expiration": { - "type": "timestamp" - } - } - }, - "Sf": { - "type": "structure", - "required": [ - "AssumedRoleId", - "Arn" - ], - "members": { - "AssumedRoleId": {}, - "Arn": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/sts-2011-06-15.paginators.json b/src/node_modules/aws-sdk/apis/sts-2011-06-15.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/sts-2011-06-15.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/support-2013-04-15.min.json b/src/node_modules/aws-sdk/apis/support-2013-04-15.min.json deleted file mode 100644 index 5fcce68..0000000 --- a/src/node_modules/aws-sdk/apis/support-2013-04-15.min.json +++ /dev/null @@ -1,570 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "support-2013-04-15", - "apiVersion": "2013-04-15", - "endpointPrefix": "support", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "AWS Support", - "signatureVersion": "v4", - "targetPrefix": "AWSSupport_20130415" - }, - "operations": { - "AddAttachmentsToSet": { - "input": { - "type": "structure", - "required": [ - "attachments" - ], - "members": { - "attachmentSetId": {}, - "attachments": { - "type": "list", - "member": { - "shape": "S4" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "attachmentSetId": {}, - "expiryTime": {} - } - } - }, - "AddCommunicationToCase": { - "input": { - "type": "structure", - "required": [ - "communicationBody" - ], - "members": { - "caseId": {}, - "communicationBody": {}, - "ccEmailAddresses": { - "shape": "Sc" - }, - "attachmentSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "result": { - "type": "boolean" - } - } - } - }, - "CreateCase": { - "input": { - "type": "structure", - "required": [ - "subject", - "communicationBody" - ], - "members": { - "subject": {}, - "serviceCode": {}, - "severityCode": {}, - "categoryCode": {}, - "communicationBody": {}, - "ccEmailAddresses": { - "shape": "Sc" - }, - "language": {}, - "issueType": {}, - "attachmentSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "caseId": {} - } - } - }, - "DescribeAttachment": { - "input": { - "type": "structure", - "required": [ - "attachmentId" - ], - "members": { - "attachmentId": {} - } - }, - "output": { - "type": "structure", - "members": { - "attachment": { - "shape": "S4" - } - } - } - }, - "DescribeCases": { - "input": { - "type": "structure", - "members": { - "caseIdList": { - "type": "list", - "member": {} - }, - "displayId": {}, - "afterTime": {}, - "beforeTime": {}, - "includeResolvedCases": { - "type": "boolean" - }, - "nextToken": {}, - "maxResults": { - "type": "integer" - }, - "language": {}, - "includeCommunications": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "cases": { - "type": "list", - "member": { - "type": "structure", - "members": { - "caseId": {}, - "displayId": {}, - "subject": {}, - "status": {}, - "serviceCode": {}, - "categoryCode": {}, - "severityCode": {}, - "submittedBy": {}, - "timeCreated": {}, - "recentCommunications": { - "type": "structure", - "members": { - "communications": { - "shape": "S17" - }, - "nextToken": {} - } - }, - "ccEmailAddresses": { - "shape": "Sc" - }, - "language": {} - } - } - }, - "nextToken": {} - } - } - }, - "DescribeCommunications": { - "input": { - "type": "structure", - "required": [ - "caseId" - ], - "members": { - "caseId": {}, - "beforeTime": {}, - "afterTime": {}, - "nextToken": {}, - "maxResults": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "communications": { - "shape": "S17" - }, - "nextToken": {} - } - } - }, - "DescribeServices": { - "input": { - "type": "structure", - "members": { - "serviceCodeList": { - "type": "list", - "member": {} - }, - "language": {} - } - }, - "output": { - "type": "structure", - "members": { - "services": { - "type": "list", - "member": { - "type": "structure", - "members": { - "code": {}, - "name": {}, - "categories": { - "type": "list", - "member": { - "type": "structure", - "members": { - "code": {}, - "name": {} - } - } - } - } - } - } - } - } - }, - "DescribeSeverityLevels": { - "input": { - "type": "structure", - "members": { - "language": {} - } - }, - "output": { - "type": "structure", - "members": { - "severityLevels": { - "type": "list", - "member": { - "type": "structure", - "members": { - "code": {}, - "name": {} - } - } - } - } - } - }, - "DescribeTrustedAdvisorCheckRefreshStatuses": { - "input": { - "type": "structure", - "required": [ - "checkIds" - ], - "members": { - "checkIds": { - "shape": "S1t" - } - } - }, - "output": { - "type": "structure", - "required": [ - "statuses" - ], - "members": { - "statuses": { - "type": "list", - "member": { - "shape": "S1x" - } - } - } - } - }, - "DescribeTrustedAdvisorCheckResult": { - "input": { - "type": "structure", - "required": [ - "checkId" - ], - "members": { - "checkId": {}, - "language": {} - } - }, - "output": { - "type": "structure", - "members": { - "result": { - "type": "structure", - "required": [ - "checkId", - "timestamp", - "status", - "resourcesSummary", - "categorySpecificSummary", - "flaggedResources" - ], - "members": { - "checkId": {}, - "timestamp": {}, - "status": {}, - "resourcesSummary": { - "shape": "S22" - }, - "categorySpecificSummary": { - "shape": "S23" - }, - "flaggedResources": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "status", - "resourceId", - "metadata" - ], - "members": { - "status": {}, - "region": {}, - "resourceId": {}, - "isSuppressed": { - "type": "boolean" - }, - "metadata": { - "shape": "S1t" - } - } - } - } - } - } - } - } - }, - "DescribeTrustedAdvisorCheckSummaries": { - "input": { - "type": "structure", - "required": [ - "checkIds" - ], - "members": { - "checkIds": { - "shape": "S1t" - } - } - }, - "output": { - "type": "structure", - "required": [ - "summaries" - ], - "members": { - "summaries": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "checkId", - "timestamp", - "status", - "resourcesSummary", - "categorySpecificSummary" - ], - "members": { - "checkId": {}, - "timestamp": {}, - "status": {}, - "hasFlaggedResources": { - "type": "boolean" - }, - "resourcesSummary": { - "shape": "S22" - }, - "categorySpecificSummary": { - "shape": "S23" - } - } - } - } - } - } - }, - "DescribeTrustedAdvisorChecks": { - "input": { - "type": "structure", - "required": [ - "language" - ], - "members": { - "language": {} - } - }, - "output": { - "type": "structure", - "required": [ - "checks" - ], - "members": { - "checks": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "id", - "name", - "description", - "category", - "metadata" - ], - "members": { - "id": {}, - "name": {}, - "description": {}, - "category": {}, - "metadata": { - "shape": "S1t" - } - } - } - } - } - } - }, - "RefreshTrustedAdvisorCheck": { - "input": { - "type": "structure", - "required": [ - "checkId" - ], - "members": { - "checkId": {} - } - }, - "output": { - "type": "structure", - "required": [ - "status" - ], - "members": { - "status": { - "shape": "S1x" - } - } - } - }, - "ResolveCase": { - "input": { - "type": "structure", - "members": { - "caseId": {} - } - }, - "output": { - "type": "structure", - "members": { - "initialCaseStatus": {}, - "finalCaseStatus": {} - } - } - } - }, - "shapes": { - "S4": { - "type": "structure", - "members": { - "fileName": {}, - "data": { - "type": "blob" - } - } - }, - "Sc": { - "type": "list", - "member": {} - }, - "S17": { - "type": "list", - "member": { - "type": "structure", - "members": { - "caseId": {}, - "body": {}, - "submittedBy": {}, - "timeCreated": {}, - "attachmentSet": { - "type": "list", - "member": { - "type": "structure", - "members": { - "attachmentId": {}, - "fileName": {} - } - } - } - } - } - }, - "S1t": { - "type": "list", - "member": {} - }, - "S1x": { - "type": "structure", - "required": [ - "checkId", - "status", - "millisUntilNextRefreshable" - ], - "members": { - "checkId": {}, - "status": {}, - "millisUntilNextRefreshable": { - "type": "long" - } - } - }, - "S22": { - "type": "structure", - "required": [ - "resourcesProcessed", - "resourcesFlagged", - "resourcesIgnored", - "resourcesSuppressed" - ], - "members": { - "resourcesProcessed": { - "type": "long" - }, - "resourcesFlagged": { - "type": "long" - }, - "resourcesIgnored": { - "type": "long" - }, - "resourcesSuppressed": { - "type": "long" - } - } - }, - "S23": { - "type": "structure", - "members": { - "costOptimizing": { - "type": "structure", - "required": [ - "estimatedMonthlySavings", - "estimatedPercentMonthlySavings" - ], - "members": { - "estimatedMonthlySavings": { - "type": "double" - }, - "estimatedPercentMonthlySavings": { - "type": "double" - } - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/support-2013-04-15.paginators.json b/src/node_modules/aws-sdk/apis/support-2013-04-15.paginators.json deleted file mode 100644 index 1368630..0000000 --- a/src/node_modules/aws-sdk/apis/support-2013-04-15.paginators.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "pagination": { - "DescribeCases": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "cases" - }, - "DescribeCommunications": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "communications" - }, - "DescribeServices": { - "result_key": "services" - }, - "DescribeTrustedAdvisorCheckRefreshStatuses": { - "result_key": "statuses" - }, - "DescribeTrustedAdvisorCheckSummaries": { - "result_key": "summaries" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/swf-2012-01-25.min.json b/src/node_modules/aws-sdk/apis/swf-2012-01-25.min.json deleted file mode 100644 index a3f2959..0000000 --- a/src/node_modules/aws-sdk/apis/swf-2012-01-25.min.json +++ /dev/null @@ -1,2218 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "uid": "swf-2012-01-25", - "apiVersion": "2012-01-25", - "endpointPrefix": "swf", - "jsonVersion": "1.0", - "serviceAbbreviation": "Amazon SWF", - "serviceFullName": "Amazon Simple Workflow Service", - "signatureVersion": "v4", - "targetPrefix": "SimpleWorkflowService", - "timestampFormat": "unixTimestamp", - "protocol": "json" - }, - "operations": { - "CountClosedWorkflowExecutions": { - "input": { - "type": "structure", - "required": [ - "domain" - ], - "members": { - "domain": {}, - "startTimeFilter": { - "shape": "S3" - }, - "closeTimeFilter": { - "shape": "S3" - }, - "executionFilter": { - "shape": "S5" - }, - "typeFilter": { - "shape": "S7" - }, - "tagFilter": { - "shape": "Sa" - }, - "closeStatusFilter": { - "shape": "Sc" - } - } - }, - "output": { - "shape": "Se" - } - }, - "CountOpenWorkflowExecutions": { - "input": { - "type": "structure", - "required": [ - "domain", - "startTimeFilter" - ], - "members": { - "domain": {}, - "startTimeFilter": { - "shape": "S3" - }, - "typeFilter": { - "shape": "S7" - }, - "tagFilter": { - "shape": "Sa" - }, - "executionFilter": { - "shape": "S5" - } - } - }, - "output": { - "shape": "Se" - } - }, - "CountPendingActivityTasks": { - "input": { - "type": "structure", - "required": [ - "domain", - "taskList" - ], - "members": { - "domain": {}, - "taskList": { - "shape": "Sj" - } - } - }, - "output": { - "shape": "Sk" - } - }, - "CountPendingDecisionTasks": { - "input": { - "type": "structure", - "required": [ - "domain", - "taskList" - ], - "members": { - "domain": {}, - "taskList": { - "shape": "Sj" - } - } - }, - "output": { - "shape": "Sk" - } - }, - "DeprecateActivityType": { - "input": { - "type": "structure", - "required": [ - "domain", - "activityType" - ], - "members": { - "domain": {}, - "activityType": { - "shape": "Sn" - } - } - } - }, - "DeprecateDomain": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - } - }, - "DeprecateWorkflowType": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowType" - ], - "members": { - "domain": {}, - "workflowType": { - "shape": "Sr" - } - } - } - }, - "DescribeActivityType": { - "input": { - "type": "structure", - "required": [ - "domain", - "activityType" - ], - "members": { - "domain": {}, - "activityType": { - "shape": "Sn" - } - } - }, - "output": { - "type": "structure", - "required": [ - "typeInfo", - "configuration" - ], - "members": { - "typeInfo": { - "shape": "Su" - }, - "configuration": { - "type": "structure", - "members": { - "defaultTaskStartToCloseTimeout": {}, - "defaultTaskHeartbeatTimeout": {}, - "defaultTaskList": { - "shape": "Sj" - }, - "defaultTaskPriority": {}, - "defaultTaskScheduleToStartTimeout": {}, - "defaultTaskScheduleToCloseTimeout": {} - } - } - } - } - }, - "DescribeDomain": { - "input": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - }, - "output": { - "type": "structure", - "required": [ - "domainInfo", - "configuration" - ], - "members": { - "domainInfo": { - "shape": "S12" - }, - "configuration": { - "type": "structure", - "required": [ - "workflowExecutionRetentionPeriodInDays" - ], - "members": { - "workflowExecutionRetentionPeriodInDays": {} - } - } - } - } - }, - "DescribeWorkflowExecution": { - "input": { - "type": "structure", - "required": [ - "domain", - "execution" - ], - "members": { - "domain": {}, - "execution": { - "shape": "S16" - } - } - }, - "output": { - "type": "structure", - "required": [ - "executionInfo", - "executionConfiguration", - "openCounts" - ], - "members": { - "executionInfo": { - "shape": "S19" - }, - "executionConfiguration": { - "type": "structure", - "required": [ - "taskStartToCloseTimeout", - "executionStartToCloseTimeout", - "taskList", - "childPolicy" - ], - "members": { - "taskStartToCloseTimeout": {}, - "executionStartToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "childPolicy": {}, - "lambdaRole": {} - } - }, - "openCounts": { - "type": "structure", - "required": [ - "openActivityTasks", - "openDecisionTasks", - "openTimers", - "openChildWorkflowExecutions" - ], - "members": { - "openActivityTasks": { - "type": "integer" - }, - "openDecisionTasks": { - "type": "integer" - }, - "openTimers": { - "type": "integer" - }, - "openChildWorkflowExecutions": { - "type": "integer" - }, - "openLambdaFunctions": { - "type": "integer" - } - } - }, - "latestActivityTaskTimestamp": { - "type": "timestamp" - }, - "latestExecutionContext": {} - } - } - }, - "DescribeWorkflowType": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowType" - ], - "members": { - "domain": {}, - "workflowType": { - "shape": "Sr" - } - } - }, - "output": { - "type": "structure", - "required": [ - "typeInfo", - "configuration" - ], - "members": { - "typeInfo": { - "shape": "S1m" - }, - "configuration": { - "type": "structure", - "members": { - "defaultTaskStartToCloseTimeout": {}, - "defaultExecutionStartToCloseTimeout": {}, - "defaultTaskList": { - "shape": "Sj" - }, - "defaultTaskPriority": {}, - "defaultChildPolicy": {}, - "defaultLambdaRole": {} - } - } - } - } - }, - "GetWorkflowExecutionHistory": { - "input": { - "type": "structure", - "required": [ - "domain", - "execution" - ], - "members": { - "domain": {}, - "execution": { - "shape": "S16" - }, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "events" - ], - "members": { - "events": { - "shape": "S1t" - }, - "nextPageToken": {} - } - } - }, - "ListActivityTypes": { - "input": { - "type": "structure", - "required": [ - "domain", - "registrationStatus" - ], - "members": { - "domain": {}, - "name": {}, - "registrationStatus": {}, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "typeInfos" - ], - "members": { - "typeInfos": { - "type": "list", - "member": { - "shape": "Su" - } - }, - "nextPageToken": {} - } - } - }, - "ListClosedWorkflowExecutions": { - "input": { - "type": "structure", - "required": [ - "domain" - ], - "members": { - "domain": {}, - "startTimeFilter": { - "shape": "S3" - }, - "closeTimeFilter": { - "shape": "S3" - }, - "executionFilter": { - "shape": "S5" - }, - "closeStatusFilter": { - "shape": "Sc" - }, - "typeFilter": { - "shape": "S7" - }, - "tagFilter": { - "shape": "Sa" - }, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "shape": "S4g" - } - }, - "ListDomains": { - "input": { - "type": "structure", - "required": [ - "registrationStatus" - ], - "members": { - "nextPageToken": {}, - "registrationStatus": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "domainInfos" - ], - "members": { - "domainInfos": { - "type": "list", - "member": { - "shape": "S12" - } - }, - "nextPageToken": {} - } - } - }, - "ListOpenWorkflowExecutions": { - "input": { - "type": "structure", - "required": [ - "domain", - "startTimeFilter" - ], - "members": { - "domain": {}, - "startTimeFilter": { - "shape": "S3" - }, - "typeFilter": { - "shape": "S7" - }, - "tagFilter": { - "shape": "Sa" - }, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - }, - "executionFilter": { - "shape": "S5" - } - } - }, - "output": { - "shape": "S4g" - } - }, - "ListWorkflowTypes": { - "input": { - "type": "structure", - "required": [ - "domain", - "registrationStatus" - ], - "members": { - "domain": {}, - "name": {}, - "registrationStatus": {}, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "typeInfos" - ], - "members": { - "typeInfos": { - "type": "list", - "member": { - "shape": "S1m" - } - }, - "nextPageToken": {} - } - } - }, - "PollForActivityTask": { - "input": { - "type": "structure", - "required": [ - "domain", - "taskList" - ], - "members": { - "domain": {}, - "taskList": { - "shape": "Sj" - }, - "identity": {} - } - }, - "output": { - "type": "structure", - "required": [ - "taskToken", - "activityId", - "startedEventId", - "workflowExecution", - "activityType" - ], - "members": { - "taskToken": {}, - "activityId": {}, - "startedEventId": { - "type": "long" - }, - "workflowExecution": { - "shape": "S16" - }, - "activityType": { - "shape": "Sn" - }, - "input": {} - } - } - }, - "PollForDecisionTask": { - "input": { - "type": "structure", - "required": [ - "domain", - "taskList" - ], - "members": { - "domain": {}, - "taskList": { - "shape": "Sj" - }, - "identity": {}, - "nextPageToken": {}, - "maximumPageSize": { - "type": "integer" - }, - "reverseOrder": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "required": [ - "taskToken", - "startedEventId", - "workflowExecution", - "workflowType", - "events" - ], - "members": { - "taskToken": {}, - "startedEventId": { - "type": "long" - }, - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "events": { - "shape": "S1t" - }, - "nextPageToken": {}, - "previousStartedEventId": { - "type": "long" - } - } - } - }, - "RecordActivityTaskHeartbeat": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "details": {} - } - }, - "output": { - "type": "structure", - "required": [ - "cancelRequested" - ], - "members": { - "cancelRequested": { - "type": "boolean" - } - } - } - }, - "RegisterActivityType": { - "input": { - "type": "structure", - "required": [ - "domain", - "name", - "version" - ], - "members": { - "domain": {}, - "name": {}, - "version": {}, - "description": {}, - "defaultTaskStartToCloseTimeout": {}, - "defaultTaskHeartbeatTimeout": {}, - "defaultTaskList": { - "shape": "Sj" - }, - "defaultTaskPriority": {}, - "defaultTaskScheduleToStartTimeout": {}, - "defaultTaskScheduleToCloseTimeout": {} - } - } - }, - "RegisterDomain": { - "input": { - "type": "structure", - "required": [ - "name", - "workflowExecutionRetentionPeriodInDays" - ], - "members": { - "name": {}, - "description": {}, - "workflowExecutionRetentionPeriodInDays": {} - } - } - }, - "RegisterWorkflowType": { - "input": { - "type": "structure", - "required": [ - "domain", - "name", - "version" - ], - "members": { - "domain": {}, - "name": {}, - "version": {}, - "description": {}, - "defaultTaskStartToCloseTimeout": {}, - "defaultExecutionStartToCloseTimeout": {}, - "defaultTaskList": { - "shape": "Sj" - }, - "defaultTaskPriority": {}, - "defaultChildPolicy": {}, - "defaultLambdaRole": {} - } - } - }, - "RequestCancelWorkflowExecution": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowId" - ], - "members": { - "domain": {}, - "workflowId": {}, - "runId": {} - } - } - }, - "RespondActivityTaskCanceled": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "details": {} - } - } - }, - "RespondActivityTaskCompleted": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "result": {} - } - } - }, - "RespondActivityTaskFailed": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "reason": {}, - "details": {} - } - } - }, - "RespondDecisionTaskCompleted": { - "input": { - "type": "structure", - "required": [ - "taskToken" - ], - "members": { - "taskToken": {}, - "decisions": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "decisionType" - ], - "members": { - "decisionType": {}, - "scheduleActivityTaskDecisionAttributes": { - "type": "structure", - "required": [ - "activityType", - "activityId" - ], - "members": { - "activityType": { - "shape": "Sn" - }, - "activityId": {}, - "control": {}, - "input": {}, - "scheduleToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "scheduleToStartTimeout": {}, - "startToCloseTimeout": {}, - "heartbeatTimeout": {} - } - }, - "requestCancelActivityTaskDecisionAttributes": { - "type": "structure", - "required": [ - "activityId" - ], - "members": { - "activityId": {} - } - }, - "completeWorkflowExecutionDecisionAttributes": { - "type": "structure", - "members": { - "result": {} - } - }, - "failWorkflowExecutionDecisionAttributes": { - "type": "structure", - "members": { - "reason": {}, - "details": {} - } - }, - "cancelWorkflowExecutionDecisionAttributes": { - "type": "structure", - "members": { - "details": {} - } - }, - "continueAsNewWorkflowExecutionDecisionAttributes": { - "type": "structure", - "members": { - "input": {}, - "executionStartToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "taskStartToCloseTimeout": {}, - "childPolicy": {}, - "tagList": { - "shape": "S1b" - }, - "workflowTypeVersion": {}, - "lambdaRole": {} - } - }, - "recordMarkerDecisionAttributes": { - "type": "structure", - "required": [ - "markerName" - ], - "members": { - "markerName": {}, - "details": {} - } - }, - "startTimerDecisionAttributes": { - "type": "structure", - "required": [ - "timerId", - "startToFireTimeout" - ], - "members": { - "timerId": {}, - "control": {}, - "startToFireTimeout": {} - } - }, - "cancelTimerDecisionAttributes": { - "type": "structure", - "required": [ - "timerId" - ], - "members": { - "timerId": {} - } - }, - "signalExternalWorkflowExecutionDecisionAttributes": { - "type": "structure", - "required": [ - "workflowId", - "signalName" - ], - "members": { - "workflowId": {}, - "runId": {}, - "signalName": {}, - "input": {}, - "control": {} - } - }, - "requestCancelExternalWorkflowExecutionDecisionAttributes": { - "type": "structure", - "required": [ - "workflowId" - ], - "members": { - "workflowId": {}, - "runId": {}, - "control": {} - } - }, - "startChildWorkflowExecutionDecisionAttributes": { - "type": "structure", - "required": [ - "workflowType", - "workflowId" - ], - "members": { - "workflowType": { - "shape": "Sr" - }, - "workflowId": {}, - "control": {}, - "input": {}, - "executionStartToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "taskStartToCloseTimeout": {}, - "childPolicy": {}, - "tagList": { - "shape": "S1b" - }, - "lambdaRole": {} - } - }, - "scheduleLambdaFunctionDecisionAttributes": { - "type": "structure", - "required": [ - "id", - "name" - ], - "members": { - "id": {}, - "name": {}, - "input": {}, - "startToCloseTimeout": {} - } - } - } - } - }, - "executionContext": {} - } - } - }, - "SignalWorkflowExecution": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowId", - "signalName" - ], - "members": { - "domain": {}, - "workflowId": {}, - "runId": {}, - "signalName": {}, - "input": {} - } - } - }, - "StartWorkflowExecution": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowId", - "workflowType" - ], - "members": { - "domain": {}, - "workflowId": {}, - "workflowType": { - "shape": "Sr" - }, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "input": {}, - "executionStartToCloseTimeout": {}, - "tagList": { - "shape": "S1b" - }, - "taskStartToCloseTimeout": {}, - "childPolicy": {}, - "lambdaRole": {} - } - }, - "output": { - "type": "structure", - "members": { - "runId": {} - } - } - }, - "TerminateWorkflowExecution": { - "input": { - "type": "structure", - "required": [ - "domain", - "workflowId" - ], - "members": { - "domain": {}, - "workflowId": {}, - "runId": {}, - "reason": {}, - "details": {}, - "childPolicy": {} - } - } - } - }, - "shapes": { - "S3": { - "type": "structure", - "required": [ - "oldestDate" - ], - "members": { - "oldestDate": { - "type": "timestamp" - }, - "latestDate": { - "type": "timestamp" - } - } - }, - "S5": { - "type": "structure", - "required": [ - "workflowId" - ], - "members": { - "workflowId": {} - } - }, - "S7": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {}, - "version": {} - } - }, - "Sa": { - "type": "structure", - "required": [ - "tag" - ], - "members": { - "tag": {} - } - }, - "Sc": { - "type": "structure", - "required": [ - "status" - ], - "members": { - "status": {} - } - }, - "Se": { - "type": "structure", - "required": [ - "count" - ], - "members": { - "count": { - "type": "integer" - }, - "truncated": { - "type": "boolean" - } - } - }, - "Sj": { - "type": "structure", - "required": [ - "name" - ], - "members": { - "name": {} - } - }, - "Sk": { - "type": "structure", - "required": [ - "count" - ], - "members": { - "count": { - "type": "integer" - }, - "truncated": { - "type": "boolean" - } - } - }, - "Sn": { - "type": "structure", - "required": [ - "name", - "version" - ], - "members": { - "name": {}, - "version": {} - } - }, - "Sr": { - "type": "structure", - "required": [ - "name", - "version" - ], - "members": { - "name": {}, - "version": {} - } - }, - "Su": { - "type": "structure", - "required": [ - "activityType", - "status", - "creationDate" - ], - "members": { - "activityType": { - "shape": "Sn" - }, - "status": {}, - "description": {}, - "creationDate": { - "type": "timestamp" - }, - "deprecationDate": { - "type": "timestamp" - } - } - }, - "S12": { - "type": "structure", - "required": [ - "name", - "status" - ], - "members": { - "name": {}, - "status": {}, - "description": {} - } - }, - "S16": { - "type": "structure", - "required": [ - "workflowId", - "runId" - ], - "members": { - "workflowId": {}, - "runId": {} - } - }, - "S19": { - "type": "structure", - "required": [ - "execution", - "workflowType", - "startTimestamp", - "executionStatus" - ], - "members": { - "execution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "startTimestamp": { - "type": "timestamp" - }, - "closeTimestamp": { - "type": "timestamp" - }, - "executionStatus": {}, - "closeStatus": {}, - "parent": { - "shape": "S16" - }, - "tagList": { - "shape": "S1b" - }, - "cancelRequested": { - "type": "boolean" - } - } - }, - "S1b": { - "type": "list", - "member": {} - }, - "S1m": { - "type": "structure", - "required": [ - "workflowType", - "status", - "creationDate" - ], - "members": { - "workflowType": { - "shape": "Sr" - }, - "status": {}, - "description": {}, - "creationDate": { - "type": "timestamp" - }, - "deprecationDate": { - "type": "timestamp" - } - } - }, - "S1t": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "eventTimestamp", - "eventType", - "eventId" - ], - "members": { - "eventTimestamp": { - "type": "timestamp" - }, - "eventType": {}, - "eventId": { - "type": "long" - }, - "workflowExecutionStartedEventAttributes": { - "type": "structure", - "required": [ - "childPolicy", - "taskList", - "workflowType" - ], - "members": { - "input": {}, - "executionStartToCloseTimeout": {}, - "taskStartToCloseTimeout": {}, - "childPolicy": {}, - "taskList": { - "shape": "Sj" - }, - "workflowType": { - "shape": "Sr" - }, - "tagList": { - "shape": "S1b" - }, - "taskPriority": {}, - "continuedExecutionRunId": {}, - "parentWorkflowExecution": { - "shape": "S16" - }, - "parentInitiatedEventId": { - "type": "long" - }, - "lambdaRole": {} - } - }, - "workflowExecutionCompletedEventAttributes": { - "type": "structure", - "required": [ - "decisionTaskCompletedEventId" - ], - "members": { - "result": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "completeWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "workflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "decisionTaskCompletedEventId" - ], - "members": { - "reason": {}, - "details": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "failWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "workflowExecutionTimedOutEventAttributes": { - "type": "structure", - "required": [ - "timeoutType", - "childPolicy" - ], - "members": { - "timeoutType": {}, - "childPolicy": {} - } - }, - "workflowExecutionCanceledEventAttributes": { - "type": "structure", - "required": [ - "decisionTaskCompletedEventId" - ], - "members": { - "details": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "cancelWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "workflowExecutionContinuedAsNewEventAttributes": { - "type": "structure", - "required": [ - "decisionTaskCompletedEventId", - "newExecutionRunId", - "taskList", - "childPolicy", - "workflowType" - ], - "members": { - "input": {}, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "newExecutionRunId": {}, - "executionStartToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "taskStartToCloseTimeout": {}, - "childPolicy": {}, - "tagList": { - "shape": "S1b" - }, - "workflowType": { - "shape": "Sr" - }, - "lambdaRole": {} - } - }, - "continueAsNewWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "workflowExecutionTerminatedEventAttributes": { - "type": "structure", - "required": [ - "childPolicy" - ], - "members": { - "reason": {}, - "details": {}, - "childPolicy": {}, - "cause": {} - } - }, - "workflowExecutionCancelRequestedEventAttributes": { - "type": "structure", - "members": { - "externalWorkflowExecution": { - "shape": "S16" - }, - "externalInitiatedEventId": { - "type": "long" - }, - "cause": {} - } - }, - "decisionTaskScheduledEventAttributes": { - "type": "structure", - "required": [ - "taskList" - ], - "members": { - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "startToCloseTimeout": {} - } - }, - "decisionTaskStartedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId" - ], - "members": { - "identity": {}, - "scheduledEventId": { - "type": "long" - } - } - }, - "decisionTaskCompletedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "executionContext": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "decisionTaskTimedOutEventAttributes": { - "type": "structure", - "required": [ - "timeoutType", - "scheduledEventId", - "startedEventId" - ], - "members": { - "timeoutType": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "activityTaskScheduledEventAttributes": { - "type": "structure", - "required": [ - "activityType", - "activityId", - "taskList", - "decisionTaskCompletedEventId" - ], - "members": { - "activityType": { - "shape": "Sn" - }, - "activityId": {}, - "input": {}, - "control": {}, - "scheduleToStartTimeout": {}, - "scheduleToCloseTimeout": {}, - "startToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "heartbeatTimeout": {} - } - }, - "activityTaskStartedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId" - ], - "members": { - "identity": {}, - "scheduledEventId": { - "type": "long" - } - } - }, - "activityTaskCompletedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "result": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "activityTaskFailedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "reason": {}, - "details": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "activityTaskTimedOutEventAttributes": { - "type": "structure", - "required": [ - "timeoutType", - "scheduledEventId", - "startedEventId" - ], - "members": { - "timeoutType": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - }, - "details": {} - } - }, - "activityTaskCanceledEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "details": {}, - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - }, - "latestCancelRequestedEventId": { - "type": "long" - } - } - }, - "activityTaskCancelRequestedEventAttributes": { - "type": "structure", - "required": [ - "decisionTaskCompletedEventId", - "activityId" - ], - "members": { - "decisionTaskCompletedEventId": { - "type": "long" - }, - "activityId": {} - } - }, - "workflowExecutionSignaledEventAttributes": { - "type": "structure", - "required": [ - "signalName" - ], - "members": { - "signalName": {}, - "input": {}, - "externalWorkflowExecution": { - "shape": "S16" - }, - "externalInitiatedEventId": { - "type": "long" - } - } - }, - "markerRecordedEventAttributes": { - "type": "structure", - "required": [ - "markerName", - "decisionTaskCompletedEventId" - ], - "members": { - "markerName": {}, - "details": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "recordMarkerFailedEventAttributes": { - "type": "structure", - "required": [ - "markerName", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "markerName": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "timerStartedEventAttributes": { - "type": "structure", - "required": [ - "timerId", - "startToFireTimeout", - "decisionTaskCompletedEventId" - ], - "members": { - "timerId": {}, - "control": {}, - "startToFireTimeout": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "timerFiredEventAttributes": { - "type": "structure", - "required": [ - "timerId", - "startedEventId" - ], - "members": { - "timerId": {}, - "startedEventId": { - "type": "long" - } - } - }, - "timerCanceledEventAttributes": { - "type": "structure", - "required": [ - "timerId", - "startedEventId", - "decisionTaskCompletedEventId" - ], - "members": { - "timerId": {}, - "startedEventId": { - "type": "long" - }, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "startChildWorkflowExecutionInitiatedEventAttributes": { - "type": "structure", - "required": [ - "workflowId", - "workflowType", - "taskList", - "decisionTaskCompletedEventId", - "childPolicy" - ], - "members": { - "workflowId": {}, - "workflowType": { - "shape": "Sr" - }, - "control": {}, - "input": {}, - "executionStartToCloseTimeout": {}, - "taskList": { - "shape": "Sj" - }, - "taskPriority": {}, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "childPolicy": {}, - "taskStartToCloseTimeout": {}, - "tagList": { - "shape": "S1b" - }, - "lambdaRole": {} - } - }, - "childWorkflowExecutionStartedEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "initiatedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "initiatedEventId": { - "type": "long" - } - } - }, - "childWorkflowExecutionCompletedEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "result": {}, - "initiatedEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "childWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "reason": {}, - "details": {}, - "initiatedEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "childWorkflowExecutionTimedOutEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "timeoutType", - "initiatedEventId", - "startedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "timeoutType": {}, - "initiatedEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "childWorkflowExecutionCanceledEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "details": {}, - "initiatedEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "childWorkflowExecutionTerminatedEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "workflowType": { - "shape": "Sr" - }, - "initiatedEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - } - } - }, - "signalExternalWorkflowExecutionInitiatedEventAttributes": { - "type": "structure", - "required": [ - "workflowId", - "signalName", - "decisionTaskCompletedEventId" - ], - "members": { - "workflowId": {}, - "runId": {}, - "signalName": {}, - "input": {}, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "control": {} - } - }, - "externalWorkflowExecutionSignaledEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "initiatedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "initiatedEventId": { - "type": "long" - } - } - }, - "signalExternalWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "workflowId", - "cause", - "initiatedEventId", - "decisionTaskCompletedEventId" - ], - "members": { - "workflowId": {}, - "runId": {}, - "cause": {}, - "initiatedEventId": { - "type": "long" - }, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "control": {} - } - }, - "externalWorkflowExecutionCancelRequestedEventAttributes": { - "type": "structure", - "required": [ - "workflowExecution", - "initiatedEventId" - ], - "members": { - "workflowExecution": { - "shape": "S16" - }, - "initiatedEventId": { - "type": "long" - } - } - }, - "requestCancelExternalWorkflowExecutionInitiatedEventAttributes": { - "type": "structure", - "required": [ - "workflowId", - "decisionTaskCompletedEventId" - ], - "members": { - "workflowId": {}, - "runId": {}, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "control": {} - } - }, - "requestCancelExternalWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "workflowId", - "cause", - "initiatedEventId", - "decisionTaskCompletedEventId" - ], - "members": { - "workflowId": {}, - "runId": {}, - "cause": {}, - "initiatedEventId": { - "type": "long" - }, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "control": {} - } - }, - "scheduleActivityTaskFailedEventAttributes": { - "type": "structure", - "required": [ - "activityType", - "activityId", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "activityType": { - "shape": "Sn" - }, - "activityId": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "requestCancelActivityTaskFailedEventAttributes": { - "type": "structure", - "required": [ - "activityId", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "activityId": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "startTimerFailedEventAttributes": { - "type": "structure", - "required": [ - "timerId", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "timerId": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "cancelTimerFailedEventAttributes": { - "type": "structure", - "required": [ - "timerId", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "timerId": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "startChildWorkflowExecutionFailedEventAttributes": { - "type": "structure", - "required": [ - "workflowType", - "cause", - "workflowId", - "initiatedEventId", - "decisionTaskCompletedEventId" - ], - "members": { - "workflowType": { - "shape": "Sr" - }, - "cause": {}, - "workflowId": {}, - "initiatedEventId": { - "type": "long" - }, - "decisionTaskCompletedEventId": { - "type": "long" - }, - "control": {} - } - }, - "lambdaFunctionScheduledEventAttributes": { - "type": "structure", - "required": [ - "id", - "name", - "decisionTaskCompletedEventId" - ], - "members": { - "id": {}, - "name": {}, - "input": {}, - "startToCloseTimeout": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "lambdaFunctionStartedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId" - ], - "members": { - "scheduledEventId": { - "type": "long" - } - } - }, - "lambdaFunctionCompletedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - }, - "result": {} - } - }, - "lambdaFunctionFailedEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - }, - "reason": {}, - "details": {} - } - }, - "lambdaFunctionTimedOutEventAttributes": { - "type": "structure", - "required": [ - "scheduledEventId", - "startedEventId" - ], - "members": { - "scheduledEventId": { - "type": "long" - }, - "startedEventId": { - "type": "long" - }, - "timeoutType": {} - } - }, - "scheduleLambdaFunctionFailedEventAttributes": { - "type": "structure", - "required": [ - "id", - "name", - "cause", - "decisionTaskCompletedEventId" - ], - "members": { - "id": {}, - "name": {}, - "cause": {}, - "decisionTaskCompletedEventId": { - "type": "long" - } - } - }, - "startLambdaFunctionFailedEventAttributes": { - "type": "structure", - "members": { - "scheduledEventId": { - "type": "long" - }, - "cause": {}, - "message": {} - } - } - } - } - }, - "S4g": { - "type": "structure", - "required": [ - "executionInfos" - ], - "members": { - "executionInfos": { - "type": "list", - "member": { - "shape": "S19" - } - }, - "nextPageToken": {} - } - } - }, - "examples": {} -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/swf-2012-01-25.paginators.json b/src/node_modules/aws-sdk/apis/swf-2012-01-25.paginators.json deleted file mode 100644 index 892ee38..0000000 --- a/src/node_modules/aws-sdk/apis/swf-2012-01-25.paginators.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "pagination": { - "GetWorkflowExecutionHistory": { - "limit_key": "maximumPageSize", - "input_token": "nextPageToken", - "output_token": "nextPageToken", - "result_key": "events" - }, - "ListActivityTypes": { - "limit_key": "maximumPageSize", - "input_token": "nextPageToken", - "output_token": "nextPageToken", - "result_key": "typeInfos" - }, - "ListClosedWorkflowExecutions": { - "limit_key": "maximumPageSize", - "input_token": "nextPageToken", - "output_token": "nextPageToken", - "result_key": "executionInfos" - }, - "ListDomains": { - "limit_key": "maximumPageSize", - "input_token": "nextPageToken", - "output_token": "nextPageToken", - "result_key": "domainInfos" - }, - "ListOpenWorkflowExecutions": { - "limit_key": "maximumPageSize", - "input_token": "nextPageToken", - "output_token": "nextPageToken", - "result_key": "executionInfos" - }, - "ListWorkflowTypes": { - "limit_key": "maximumPageSize", - "input_token": "nextPageToken", - "output_token": "nextPageToken", - "result_key": "typeInfos" - }, - "PollForDecisionTask": { - "limit_key": "maximumPageSize", - "input_token": "nextPageToken", - "output_token": "nextPageToken", - "result_key": "events" - } - } -} diff --git a/src/node_modules/aws-sdk/apis/waf-2015-08-24.examples.json b/src/node_modules/aws-sdk/apis/waf-2015-08-24.examples.json deleted file mode 100644 index eee5b6f..0000000 --- a/src/node_modules/aws-sdk/apis/waf-2015-08-24.examples.json +++ /dev/null @@ -1,1017 +0,0 @@ -{ - "version": "1.0", - "examples": { - "CreateIPSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Name": "MyIPSetFriendlyName" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "IPSet": { - "IPSetDescriptors": [ - { - "Type": "IPV4", - "Value": "192.0.2.44/32" - } - ], - "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Name": "MyIPSetFriendlyName" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates an IP match set named MyIPSetFriendlyName.", - "id": "createipset-1472501003122", - "title": "To create an IP set" - } - ], - "CreateRule": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "MetricName": "WAFByteHeaderRule", - "Name": "WAFByteHeaderRule" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Rule": { - "MetricName": "WAFByteHeaderRule", - "Name": "WAFByteHeaderRule", - "Predicates": [ - { - "DataId": "MyByteMatchSetID", - "Negated": false, - "Type": "ByteMatch" - } - ], - "RuleId": "WAFRule-1-Example" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a rule named WAFByteHeaderRule.", - "id": "createrule-1474072675555", - "title": "To create a rule" - } - ], - "CreateSizeConstraintSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Name": "MySampleSizeConstraintSet" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SizeConstraintSet": { - "Name": "MySampleSizeConstraintSet", - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "SizeConstraints": [ - { - "ComparisonOperator": "GT", - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "Size": 0, - "TextTransformation": "NONE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates size constraint set named MySampleSizeConstraintSet.", - "id": "createsizeconstraint-1474299140754", - "title": "To create a size constraint" - } - ], - "CreateSqlInjectionMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Name": "MySQLInjectionMatchSet" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SqlInjectionMatchSet": { - "Name": "MySQLInjectionMatchSet", - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "SqlInjectionMatchTuples": [ - { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a SQL injection match set named MySQLInjectionMatchSet.", - "id": "createsqlinjectionmatchset-1474492796105", - "title": "To create a SQL injection match set" - } - ], - "CreateWebACL": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "DefaultAction": { - "Type": "ALLOW" - }, - "MetricName": "CreateExample", - "Name": "CreateExample" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "WebACL": { - "DefaultAction": { - "Type": "ALLOW" - }, - "MetricName": "CreateExample", - "Name": "CreateExample", - "Rules": [ - { - "Action": { - "Type": "ALLOW" - }, - "Priority": 1, - "RuleId": "WAFRule-1-Example" - } - ], - "WebACLId": "example-46da-4444-5555-example" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a web ACL named CreateExample.", - "id": "createwebacl-1472061481310", - "title": "To create a web ACL" - } - ], - "CreateXssMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Name": "MySampleXssMatchSet" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "XssMatchSet": { - "Name": "MySampleXssMatchSet", - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "XssMatchTuples": [ - { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates an XSS match set named MySampleXssMatchSet.", - "id": "createxssmatchset-1474560868500", - "title": "To create an XSS match set" - } - ], - "DeleteByteMatchSet": [ - { - "input": { - "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5", - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "deletebytematchset-1473367566229", - "title": "To delete a byte match set" - } - ], - "DeleteIPSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "deleteipset-1472767434306", - "title": "To delete an IP set" - } - ], - "DeleteRule": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "RuleId": "WAFRule-1-Example" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a rule with the ID WAFRule-1-Example.", - "id": "deleterule-1474073108749", - "title": "To delete a rule" - } - ], - "DeleteSizeConstraintSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "deletesizeconstraintset-1474299857905", - "title": "To delete a size constraint set" - } - ], - "DeleteSqlInjectionMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "deletesqlinjectionmatchset-1474493373197", - "title": "To delete a SQL injection match set" - } - ], - "DeleteWebACL": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "WebACLId": "example-46da-4444-5555-example" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a web ACL with the ID example-46da-4444-5555-example.", - "id": "deletewebacl-1472767755931", - "title": "To delete a web ACL" - } - ], - "DeleteXssMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an XSS match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "deletexssmatchset-1474561302618", - "title": "To delete an XSS match set" - } - ], - "GetByteMatchSet": [ - { - "input": { - "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ByteMatchSet": { - "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5", - "ByteMatchTuples": [ - { - "FieldToMatch": { - "Data": "referer", - "Type": "HEADER" - }, - "PositionalConstraint": "CONTAINS", - "TargetString": "badrefer1", - "TextTransformation": "NONE" - } - ], - "Name": "ByteMatchNameExample" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getbytematchset-1473273311532", - "title": "To get a byte match set" - } - ], - "GetChangeToken": [ - { - "input": { - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns a change token to use for a create, update or delete operation.", - "id": "get-change-token-example-1471635120794", - "title": "To get a change token" - } - ], - "GetChangeTokenStatus": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "output": { - "ChangeTokenStatus": "PENDING" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the status of a change token with the ID abcd12f2-46da-4fdb-b8d5-fbd4c466928f.", - "id": "getchangetokenstatus-1474658417107", - "title": "To get the change token status" - } - ], - "GetIPSet": [ - { - "input": { - "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "IPSet": { - "IPSetDescriptors": [ - { - "Type": "IPV4", - "Value": "192.0.2.44/32" - } - ], - "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Name": "MyIPSetFriendlyName" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getipset-1474658688675", - "title": "To get an IP set" - } - ], - "GetRule": [ - { - "input": { - "RuleId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "Rule": { - "MetricName": "WAFByteHeaderRule", - "Name": "WAFByteHeaderRule", - "Predicates": [ - { - "DataId": "MyByteMatchSetID", - "Negated": false, - "Type": "ByteMatch" - } - ], - "RuleId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getrule-1474659238790", - "title": "To get a rule" - } - ], - "GetSampledRequests": [ - { - "input": { - "MaxItems": 100, - "RuleId": "WAFRule-1-Example", - "TimeWindow": { - "EndTime": "2016-09-27T15:50Z", - "StartTime": "2016-09-27T15:50Z" - }, - "WebAclId": "createwebacl-1472061481310" - }, - "output": { - "PopulationSize": 50, - "SampledRequests": [ - { - "Action": "BLOCK", - "Request": { - "ClientIP": "192.0.2.44", - "Country": "US", - "HTTPVersion": "HTTP/1.1", - "Headers": [ - { - "Name": "User-Agent", - "Value": "BadBot " - } - ], - "Method": "HEAD" - }, - "Timestamp": "2016-09-27T14:55Z", - "Weight": 1 - } - ], - "TimeWindow": { - "EndTime": "2016-09-27T15:50Z", - "StartTime": "2016-09-27T14:50Z" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns detailed information about 100 requests --a sample-- that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received between the time period 2016-09-27T15:50Z to 2016-09-27T15:50Z.", - "id": "getsampledrequests-1474927997195", - "title": "To get a sampled requests" - } - ], - "GetSizeConstraintSet": [ - { - "input": { - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "SizeConstraintSet": { - "Name": "MySampleSizeConstraintSet", - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "SizeConstraints": [ - { - "ComparisonOperator": "GT", - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "Size": 0, - "TextTransformation": "NONE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a size constraint match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getsizeconstraintset-1475005422493", - "title": "To get a size constraint set" - } - ], - "GetSqlInjectionMatchSet": [ - { - "input": { - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "SqlInjectionMatchSet": { - "Name": "MySQLInjectionMatchSet", - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "SqlInjectionMatchTuples": [ - { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getsqlinjectionmatchset-1475005940137", - "title": "To get a SQL injection match set" - } - ], - "GetWebACL": [ - { - "input": { - "WebACLId": "createwebacl-1472061481310" - }, - "output": { - "WebACL": { - "DefaultAction": { - "Type": "ALLOW" - }, - "MetricName": "CreateExample", - "Name": "CreateExample", - "Rules": [ - { - "Action": { - "Type": "ALLOW" - }, - "Priority": 1, - "RuleId": "WAFRule-1-Example" - } - ], - "WebACLId": "createwebacl-1472061481310" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a web ACL with the ID createwebacl-1472061481310.", - "id": "getwebacl-1475006348525", - "title": "To get a web ACL" - } - ], - "GetXssMatchSet": [ - { - "input": { - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "XssMatchSet": { - "Name": "MySampleXssMatchSet", - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "XssMatchTuples": [ - { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of an XSS match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getxssmatchset-1475187879017", - "title": "To get an XSS match set" - } - ], - "ListIPSets": [ - { - "input": { - "Limit": 100 - }, - "output": { - "IPSets": [ - { - "IPSetId": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Name": "MyIPSetFriendlyName" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 IP match sets.", - "id": "listipsets-1472235676229", - "title": "To list IP sets" - } - ], - "ListRules": [ - { - "input": { - "Limit": 100 - }, - "output": { - "Rules": [ - { - "Name": "WAFByteHeaderRule", - "RuleId": "WAFRule-1-Example" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 rules.", - "id": "listrules-1475258406433", - "title": "To list rules" - } - ], - "ListSizeConstraintSets": [ - { - "input": { - "Limit": 100 - }, - "output": { - "SizeConstraintSets": [ - { - "Name": "MySampleSizeConstraintSet", - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 size contraint match sets.", - "id": "listsizeconstraintsets-1474300067597", - "title": "To list a size constraint sets" - } - ], - "ListSqlInjectionMatchSets": [ - { - "input": { - "Limit": 100 - }, - "output": { - "SqlInjectionMatchSets": [ - { - "Name": "MySQLInjectionMatchSet", - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 SQL injection match sets.", - "id": "listsqlinjectionmatchset-1474493560103", - "title": "To list SQL injection match sets" - } - ], - "ListWebACLs": [ - { - "input": { - "Limit": 100 - }, - "output": { - "WebACLs": [ - { - "Name": "WebACLexample", - "WebACLId": "webacl-1472061481310" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 web ACLs.", - "id": "listwebacls-1475258732691", - "title": "To list Web ACLs" - } - ], - "ListXssMatchSets": [ - { - "input": { - "Limit": 100 - }, - "output": { - "XssMatchSets": [ - { - "Name": "MySampleXssMatchSet", - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 XSS match sets.", - "id": "listxssmatchsets-1474561481168", - "title": "To list XSS match sets" - } - ], - "UpdateByteMatchSet": [ - { - "input": { - "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5", - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Updates": [ - { - "Action": "DELETE", - "ByteMatchTuple": { - "FieldToMatch": { - "Data": "referer", - "Type": "HEADER" - }, - "PositionalConstraint": "CONTAINS", - "TargetString": "badrefer1", - "TextTransformation": "NONE" - } - } - ] - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a ByteMatchTuple object (filters) in an byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updatebytematchset-1475259074558", - "title": "To update a byte match set" - } - ], - "UpdateIPSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Updates": [ - { - "Action": "DELETE", - "IPSetDescriptor": { - "Type": "IPV4", - "Value": "192.0.2.44/32" - } - } - ] - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an IPSetDescriptor object in an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updateipset-1475259733625", - "title": "To update an IP set" - } - ], - "UpdateRule": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "RuleId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Updates": [ - { - "Action": "DELETE", - "Predicate": { - "DataId": "MyByteMatchSetID", - "Negated": false, - "Type": "ByteMatch" - } - } - ] - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a Predicate object in a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updaterule-1475260064720", - "title": "To update a rule" - } - ], - "UpdateSizeConstraintSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Updates": [ - { - "Action": "DELETE", - "SizeConstraint": { - "ComparisonOperator": "GT", - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "Size": 0, - "TextTransformation": "NONE" - } - } - ] - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a SizeConstraint object (filters) in a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updatesizeconstraintset-1475531697891", - "title": "To update a size constraint set" - } - ], - "UpdateSqlInjectionMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Updates": [ - { - "Action": "DELETE", - "SqlInjectionMatchTuple": { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - } - ] - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a SqlInjectionMatchTuple object (filters) in a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updatesqlinjectionmatchset-1475532094686", - "title": "To update a SQL injection match set" - } - ], - "UpdateWebACL": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "DefaultAction": { - "Type": "ALLOW" - }, - "Updates": [ - { - "Action": "DELETE", - "ActivatedRule": { - "Action": { - "Type": "ALLOW" - }, - "Priority": 1, - "RuleId": "WAFRule-1-Example" - } - } - ], - "WebACLId": "webacl-1472061481310" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an ActivatedRule object in a WebACL with the ID webacl-1472061481310.", - "id": "updatewebacl-1475533627385", - "title": "To update a Web ACL" - } - ], - "UpdateXssMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Updates": [ - { - "Action": "DELETE", - "XssMatchTuple": { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - } - ], - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an XssMatchTuple object (filters) in an XssMatchSet with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updatexssmatchset-1475534098881", - "title": "To update an XSS match set" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/waf-2015-08-24.min.json b/src/node_modules/aws-sdk/apis/waf-2015-08-24.min.json deleted file mode 100644 index 21d1528..0000000 --- a/src/node_modules/aws-sdk/apis/waf-2015-08-24.min.json +++ /dev/null @@ -1,1451 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-08-24", - "endpointPrefix": "waf", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "WAF", - "serviceFullName": "AWS WAF", - "signatureVersion": "v4", - "targetPrefix": "AWSWAF_20150824", - "uid": "waf-2015-08-24" - }, - "operations": { - "CreateByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ByteMatchSet": { - "shape": "S5" - }, - "ChangeToken": {} - } - } - }, - "CreateIPSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "IPSet": { - "shape": "Sh" - }, - "ChangeToken": {} - } - } - }, - "CreateRateBasedRule": { - "input": { - "type": "structure", - "required": [ - "Name", - "MetricName", - "RateKey", - "RateLimit", - "ChangeToken" - ], - "members": { - "Name": {}, - "MetricName": {}, - "RateKey": {}, - "RateLimit": { - "type": "long" - }, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "Sr" - }, - "ChangeToken": {} - } - } - }, - "CreateRule": { - "input": { - "type": "structure", - "required": [ - "Name", - "MetricName", - "ChangeToken" - ], - "members": { - "Name": {}, - "MetricName": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "Sy" - }, - "ChangeToken": {} - } - } - }, - "CreateSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "SizeConstraintSet": { - "shape": "S11" - }, - "ChangeToken": {} - } - } - }, - "CreateSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "SqlInjectionMatchSet": { - "shape": "S18" - }, - "ChangeToken": {} - } - } - }, - "CreateWebACL": { - "input": { - "type": "structure", - "required": [ - "Name", - "MetricName", - "DefaultAction", - "ChangeToken" - ], - "members": { - "Name": {}, - "MetricName": {}, - "DefaultAction": { - "shape": "S1c" - }, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "WebACL": { - "shape": "S1f" - }, - "ChangeToken": {} - } - } - }, - "CreateXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "XssMatchSet": { - "shape": "S1m" - }, - "ChangeToken": {} - } - } - }, - "DeleteByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "ChangeToken" - ], - "members": { - "ByteMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteIPSet": { - "input": { - "type": "structure", - "required": [ - "IPSetId", - "ChangeToken" - ], - "members": { - "IPSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteRateBasedRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken" - ], - "members": { - "RuleId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken" - ], - "members": { - "RuleId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "ChangeToken" - ], - "members": { - "SizeConstraintSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "ChangeToken" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId", - "ChangeToken" - ], - "members": { - "WebACLId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId", - "ChangeToken" - ], - "members": { - "XssMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "GetByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "ByteMatchSetId" - ], - "members": { - "ByteMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ByteMatchSet": { - "shape": "S5" - } - } - } - }, - "GetChangeToken": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "GetChangeTokenStatus": { - "input": { - "type": "structure", - "required": [ - "ChangeToken" - ], - "members": { - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeTokenStatus": {} - } - } - }, - "GetIPSet": { - "input": { - "type": "structure", - "required": [ - "IPSetId" - ], - "members": { - "IPSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IPSet": { - "shape": "Sh" - } - } - } - }, - "GetRateBasedRule": { - "input": { - "type": "structure", - "required": [ - "RuleId" - ], - "members": { - "RuleId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "Sr" - } - } - } - }, - "GetRateBasedRuleManagedKeys": { - "input": { - "type": "structure", - "required": [ - "RuleId" - ], - "members": { - "RuleId": {}, - "NextMarker": {} - } - }, - "output": { - "type": "structure", - "members": { - "ManagedKeys": { - "type": "list", - "member": {} - }, - "NextMarker": {} - } - } - }, - "GetRule": { - "input": { - "type": "structure", - "required": [ - "RuleId" - ], - "members": { - "RuleId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "Sy" - } - } - } - }, - "GetSampledRequests": { - "input": { - "type": "structure", - "required": [ - "WebAclId", - "RuleId", - "TimeWindow", - "MaxItems" - ], - "members": { - "WebAclId": {}, - "RuleId": {}, - "TimeWindow": { - "shape": "S2o" - }, - "MaxItems": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "SampledRequests": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Request", - "Weight" - ], - "members": { - "Request": { - "type": "structure", - "members": { - "ClientIP": {}, - "Country": {}, - "URI": {}, - "Method": {}, - "HTTPVersion": {}, - "Headers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": {} - } - } - } - } - }, - "Weight": { - "type": "long" - }, - "Timestamp": { - "type": "timestamp" - }, - "Action": {} - } - } - }, - "PopulationSize": { - "type": "long" - }, - "TimeWindow": { - "shape": "S2o" - } - } - } - }, - "GetSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId" - ], - "members": { - "SizeConstraintSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "SizeConstraintSet": { - "shape": "S11" - } - } - } - }, - "GetSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId" - ], - "members": { - "SqlInjectionMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "SqlInjectionMatchSet": { - "shape": "S18" - } - } - } - }, - "GetWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId" - ], - "members": { - "WebACLId": {} - } - }, - "output": { - "type": "structure", - "members": { - "WebACL": { - "shape": "S1f" - } - } - } - }, - "GetXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId" - ], - "members": { - "XssMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "XssMatchSet": { - "shape": "S1m" - } - } - } - }, - "ListByteMatchSets": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "ByteMatchSets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "Name" - ], - "members": { - "ByteMatchSetId": {}, - "Name": {} - } - } - } - } - } - }, - "ListIPSets": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "IPSets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "IPSetId", - "Name" - ], - "members": { - "IPSetId": {}, - "Name": {} - } - } - } - } - } - }, - "ListRateBasedRules": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Rules": { - "shape": "S3q" - } - } - } - }, - "ListRules": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Rules": { - "shape": "S3q" - } - } - } - }, - "ListSizeConstraintSets": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "SizeConstraintSets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "Name" - ], - "members": { - "SizeConstraintSetId": {}, - "Name": {} - } - } - } - } - } - }, - "ListSqlInjectionMatchSets": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "SqlInjectionMatchSets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "Name" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "Name": {} - } - } - } - } - } - }, - "ListWebACLs": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "WebACLs": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "WebACLId", - "Name" - ], - "members": { - "WebACLId": {}, - "Name": {} - } - } - } - } - } - }, - "ListXssMatchSets": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "XssMatchSets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "XssMatchSetId", - "Name" - ], - "members": { - "XssMatchSetId": {}, - "Name": {} - } - } - } - } - } - }, - "UpdateByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "ChangeToken", - "Updates" - ], - "members": { - "ByteMatchSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "ByteMatchTuple" - ], - "members": { - "Action": {}, - "ByteMatchTuple": { - "shape": "S8" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateIPSet": { - "input": { - "type": "structure", - "required": [ - "IPSetId", - "ChangeToken", - "Updates" - ], - "members": { - "IPSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "IPSetDescriptor" - ], - "members": { - "Action": {}, - "IPSetDescriptor": { - "shape": "Sj" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateRateBasedRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken", - "Updates", - "RateLimit" - ], - "members": { - "RuleId": {}, - "ChangeToken": {}, - "Updates": { - "shape": "S4k" - }, - "RateLimit": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken", - "Updates" - ], - "members": { - "RuleId": {}, - "ChangeToken": {}, - "Updates": { - "shape": "S4k" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "ChangeToken", - "Updates" - ], - "members": { - "SizeConstraintSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "SizeConstraint" - ], - "members": { - "Action": {}, - "SizeConstraint": { - "shape": "S13" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "ChangeToken", - "Updates" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "SqlInjectionMatchTuple" - ], - "members": { - "Action": {}, - "SqlInjectionMatchTuple": { - "shape": "S1a" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId", - "ChangeToken" - ], - "members": { - "WebACLId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "ActivatedRule" - ], - "members": { - "Action": {}, - "ActivatedRule": { - "shape": "S1h" - } - } - } - }, - "DefaultAction": { - "shape": "S1c" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId", - "ChangeToken", - "Updates" - ], - "members": { - "XssMatchSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "XssMatchTuple" - ], - "members": { - "Action": {}, - "XssMatchTuple": { - "shape": "S1o" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "ByteMatchTuples" - ], - "members": { - "ByteMatchSetId": {}, - "Name": {}, - "ByteMatchTuples": { - "type": "list", - "member": { - "shape": "S8" - } - } - } - }, - "S8": { - "type": "structure", - "required": [ - "FieldToMatch", - "TargetString", - "TextTransformation", - "PositionalConstraint" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TargetString": { - "type": "blob" - }, - "TextTransformation": {}, - "PositionalConstraint": {} - } - }, - "S9": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {}, - "Data": {} - } - }, - "Sh": { - "type": "structure", - "required": [ - "IPSetId", - "IPSetDescriptors" - ], - "members": { - "IPSetId": {}, - "Name": {}, - "IPSetDescriptors": { - "type": "list", - "member": { - "shape": "Sj" - } - } - } - }, - "Sj": { - "type": "structure", - "required": [ - "Type", - "Value" - ], - "members": { - "Type": {}, - "Value": {} - } - }, - "Sr": { - "type": "structure", - "required": [ - "RuleId", - "MatchPredicates", - "RateKey", - "RateLimit" - ], - "members": { - "RuleId": {}, - "Name": {}, - "MetricName": {}, - "MatchPredicates": { - "shape": "Ss" - }, - "RateKey": {}, - "RateLimit": { - "type": "long" - } - } - }, - "Ss": { - "type": "list", - "member": { - "shape": "St" - } - }, - "St": { - "type": "structure", - "required": [ - "Negated", - "Type", - "DataId" - ], - "members": { - "Negated": { - "type": "boolean" - }, - "Type": {}, - "DataId": {} - } - }, - "Sy": { - "type": "structure", - "required": [ - "RuleId", - "Predicates" - ], - "members": { - "RuleId": {}, - "Name": {}, - "MetricName": {}, - "Predicates": { - "shape": "Ss" - } - } - }, - "S11": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "SizeConstraints" - ], - "members": { - "SizeConstraintSetId": {}, - "Name": {}, - "SizeConstraints": { - "type": "list", - "member": { - "shape": "S13" - } - } - } - }, - "S13": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation", - "ComparisonOperator", - "Size" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TextTransformation": {}, - "ComparisonOperator": {}, - "Size": { - "type": "long" - } - } - }, - "S18": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "SqlInjectionMatchTuples" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "Name": {}, - "SqlInjectionMatchTuples": { - "type": "list", - "member": { - "shape": "S1a" - } - } - } - }, - "S1a": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TextTransformation": {} - } - }, - "S1c": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {} - } - }, - "S1f": { - "type": "structure", - "required": [ - "WebACLId", - "DefaultAction", - "Rules" - ], - "members": { - "WebACLId": {}, - "Name": {}, - "MetricName": {}, - "DefaultAction": { - "shape": "S1c" - }, - "Rules": { - "type": "list", - "member": { - "shape": "S1h" - } - } - } - }, - "S1h": { - "type": "structure", - "required": [ - "Priority", - "RuleId", - "Action" - ], - "members": { - "Priority": { - "type": "integer" - }, - "RuleId": {}, - "Action": { - "shape": "S1c" - }, - "Type": {} - } - }, - "S1m": { - "type": "structure", - "required": [ - "XssMatchSetId", - "XssMatchTuples" - ], - "members": { - "XssMatchSetId": {}, - "Name": {}, - "XssMatchTuples": { - "type": "list", - "member": { - "shape": "S1o" - } - } - } - }, - "S1o": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "members": { - "FieldToMatch": { - "shape": "S9" - }, - "TextTransformation": {} - } - }, - "S2o": { - "type": "structure", - "required": [ - "StartTime", - "EndTime" - ], - "members": { - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - } - } - }, - "S3q": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "RuleId", - "Name" - ], - "members": { - "RuleId": {}, - "Name": {} - } - } - }, - "S4k": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "Predicate" - ], - "members": { - "Action": {}, - "Predicate": { - "shape": "St" - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/waf-2015-08-24.paginators.json b/src/node_modules/aws-sdk/apis/waf-2015-08-24.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/waf-2015-08-24.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.examples.json b/src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.examples.json deleted file mode 100644 index eee5b6f..0000000 --- a/src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.examples.json +++ /dev/null @@ -1,1017 +0,0 @@ -{ - "version": "1.0", - "examples": { - "CreateIPSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Name": "MyIPSetFriendlyName" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "IPSet": { - "IPSetDescriptors": [ - { - "Type": "IPV4", - "Value": "192.0.2.44/32" - } - ], - "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Name": "MyIPSetFriendlyName" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates an IP match set named MyIPSetFriendlyName.", - "id": "createipset-1472501003122", - "title": "To create an IP set" - } - ], - "CreateRule": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "MetricName": "WAFByteHeaderRule", - "Name": "WAFByteHeaderRule" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Rule": { - "MetricName": "WAFByteHeaderRule", - "Name": "WAFByteHeaderRule", - "Predicates": [ - { - "DataId": "MyByteMatchSetID", - "Negated": false, - "Type": "ByteMatch" - } - ], - "RuleId": "WAFRule-1-Example" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a rule named WAFByteHeaderRule.", - "id": "createrule-1474072675555", - "title": "To create a rule" - } - ], - "CreateSizeConstraintSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Name": "MySampleSizeConstraintSet" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SizeConstraintSet": { - "Name": "MySampleSizeConstraintSet", - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "SizeConstraints": [ - { - "ComparisonOperator": "GT", - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "Size": 0, - "TextTransformation": "NONE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates size constraint set named MySampleSizeConstraintSet.", - "id": "createsizeconstraint-1474299140754", - "title": "To create a size constraint" - } - ], - "CreateSqlInjectionMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Name": "MySQLInjectionMatchSet" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SqlInjectionMatchSet": { - "Name": "MySQLInjectionMatchSet", - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "SqlInjectionMatchTuples": [ - { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a SQL injection match set named MySQLInjectionMatchSet.", - "id": "createsqlinjectionmatchset-1474492796105", - "title": "To create a SQL injection match set" - } - ], - "CreateWebACL": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "DefaultAction": { - "Type": "ALLOW" - }, - "MetricName": "CreateExample", - "Name": "CreateExample" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "WebACL": { - "DefaultAction": { - "Type": "ALLOW" - }, - "MetricName": "CreateExample", - "Name": "CreateExample", - "Rules": [ - { - "Action": { - "Type": "ALLOW" - }, - "Priority": 1, - "RuleId": "WAFRule-1-Example" - } - ], - "WebACLId": "example-46da-4444-5555-example" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a web ACL named CreateExample.", - "id": "createwebacl-1472061481310", - "title": "To create a web ACL" - } - ], - "CreateXssMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Name": "MySampleXssMatchSet" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "XssMatchSet": { - "Name": "MySampleXssMatchSet", - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "XssMatchTuples": [ - { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates an XSS match set named MySampleXssMatchSet.", - "id": "createxssmatchset-1474560868500", - "title": "To create an XSS match set" - } - ], - "DeleteByteMatchSet": [ - { - "input": { - "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5", - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "deletebytematchset-1473367566229", - "title": "To delete a byte match set" - } - ], - "DeleteIPSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "deleteipset-1472767434306", - "title": "To delete an IP set" - } - ], - "DeleteRule": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "RuleId": "WAFRule-1-Example" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a rule with the ID WAFRule-1-Example.", - "id": "deleterule-1474073108749", - "title": "To delete a rule" - } - ], - "DeleteSizeConstraintSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "deletesizeconstraintset-1474299857905", - "title": "To delete a size constraint set" - } - ], - "DeleteSqlInjectionMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "deletesqlinjectionmatchset-1474493373197", - "title": "To delete a SQL injection match set" - } - ], - "DeleteWebACL": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "WebACLId": "example-46da-4444-5555-example" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a web ACL with the ID example-46da-4444-5555-example.", - "id": "deletewebacl-1472767755931", - "title": "To delete a web ACL" - } - ], - "DeleteXssMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an XSS match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "deletexssmatchset-1474561302618", - "title": "To delete an XSS match set" - } - ], - "GetByteMatchSet": [ - { - "input": { - "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ByteMatchSet": { - "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5", - "ByteMatchTuples": [ - { - "FieldToMatch": { - "Data": "referer", - "Type": "HEADER" - }, - "PositionalConstraint": "CONTAINS", - "TargetString": "badrefer1", - "TextTransformation": "NONE" - } - ], - "Name": "ByteMatchNameExample" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getbytematchset-1473273311532", - "title": "To get a byte match set" - } - ], - "GetChangeToken": [ - { - "input": { - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns a change token to use for a create, update or delete operation.", - "id": "get-change-token-example-1471635120794", - "title": "To get a change token" - } - ], - "GetChangeTokenStatus": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "output": { - "ChangeTokenStatus": "PENDING" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the status of a change token with the ID abcd12f2-46da-4fdb-b8d5-fbd4c466928f.", - "id": "getchangetokenstatus-1474658417107", - "title": "To get the change token status" - } - ], - "GetIPSet": [ - { - "input": { - "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "IPSet": { - "IPSetDescriptors": [ - { - "Type": "IPV4", - "Value": "192.0.2.44/32" - } - ], - "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Name": "MyIPSetFriendlyName" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getipset-1474658688675", - "title": "To get an IP set" - } - ], - "GetRule": [ - { - "input": { - "RuleId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "Rule": { - "MetricName": "WAFByteHeaderRule", - "Name": "WAFByteHeaderRule", - "Predicates": [ - { - "DataId": "MyByteMatchSetID", - "Negated": false, - "Type": "ByteMatch" - } - ], - "RuleId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getrule-1474659238790", - "title": "To get a rule" - } - ], - "GetSampledRequests": [ - { - "input": { - "MaxItems": 100, - "RuleId": "WAFRule-1-Example", - "TimeWindow": { - "EndTime": "2016-09-27T15:50Z", - "StartTime": "2016-09-27T15:50Z" - }, - "WebAclId": "createwebacl-1472061481310" - }, - "output": { - "PopulationSize": 50, - "SampledRequests": [ - { - "Action": "BLOCK", - "Request": { - "ClientIP": "192.0.2.44", - "Country": "US", - "HTTPVersion": "HTTP/1.1", - "Headers": [ - { - "Name": "User-Agent", - "Value": "BadBot " - } - ], - "Method": "HEAD" - }, - "Timestamp": "2016-09-27T14:55Z", - "Weight": 1 - } - ], - "TimeWindow": { - "EndTime": "2016-09-27T15:50Z", - "StartTime": "2016-09-27T14:50Z" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns detailed information about 100 requests --a sample-- that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received between the time period 2016-09-27T15:50Z to 2016-09-27T15:50Z.", - "id": "getsampledrequests-1474927997195", - "title": "To get a sampled requests" - } - ], - "GetSizeConstraintSet": [ - { - "input": { - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "SizeConstraintSet": { - "Name": "MySampleSizeConstraintSet", - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "SizeConstraints": [ - { - "ComparisonOperator": "GT", - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "Size": 0, - "TextTransformation": "NONE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a size constraint match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getsizeconstraintset-1475005422493", - "title": "To get a size constraint set" - } - ], - "GetSqlInjectionMatchSet": [ - { - "input": { - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "SqlInjectionMatchSet": { - "Name": "MySQLInjectionMatchSet", - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "SqlInjectionMatchTuples": [ - { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getsqlinjectionmatchset-1475005940137", - "title": "To get a SQL injection match set" - } - ], - "GetWebACL": [ - { - "input": { - "WebACLId": "createwebacl-1472061481310" - }, - "output": { - "WebACL": { - "DefaultAction": { - "Type": "ALLOW" - }, - "MetricName": "CreateExample", - "Name": "CreateExample", - "Rules": [ - { - "Action": { - "Type": "ALLOW" - }, - "Priority": 1, - "RuleId": "WAFRule-1-Example" - } - ], - "WebACLId": "createwebacl-1472061481310" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of a web ACL with the ID createwebacl-1472061481310.", - "id": "getwebacl-1475006348525", - "title": "To get a web ACL" - } - ], - "GetXssMatchSet": [ - { - "input": { - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "XssMatchSet": { - "Name": "MySampleXssMatchSet", - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "XssMatchTuples": [ - { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - ] - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the details of an XSS match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "getxssmatchset-1475187879017", - "title": "To get an XSS match set" - } - ], - "ListIPSets": [ - { - "input": { - "Limit": 100 - }, - "output": { - "IPSets": [ - { - "IPSetId": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Name": "MyIPSetFriendlyName" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 IP match sets.", - "id": "listipsets-1472235676229", - "title": "To list IP sets" - } - ], - "ListRules": [ - { - "input": { - "Limit": 100 - }, - "output": { - "Rules": [ - { - "Name": "WAFByteHeaderRule", - "RuleId": "WAFRule-1-Example" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 rules.", - "id": "listrules-1475258406433", - "title": "To list rules" - } - ], - "ListSizeConstraintSets": [ - { - "input": { - "Limit": 100 - }, - "output": { - "SizeConstraintSets": [ - { - "Name": "MySampleSizeConstraintSet", - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 size contraint match sets.", - "id": "listsizeconstraintsets-1474300067597", - "title": "To list a size constraint sets" - } - ], - "ListSqlInjectionMatchSets": [ - { - "input": { - "Limit": 100 - }, - "output": { - "SqlInjectionMatchSets": [ - { - "Name": "MySQLInjectionMatchSet", - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 SQL injection match sets.", - "id": "listsqlinjectionmatchset-1474493560103", - "title": "To list SQL injection match sets" - } - ], - "ListWebACLs": [ - { - "input": { - "Limit": 100 - }, - "output": { - "WebACLs": [ - { - "Name": "WebACLexample", - "WebACLId": "webacl-1472061481310" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 web ACLs.", - "id": "listwebacls-1475258732691", - "title": "To list Web ACLs" - } - ], - "ListXssMatchSets": [ - { - "input": { - "Limit": 100 - }, - "output": { - "XssMatchSets": [ - { - "Name": "MySampleXssMatchSet", - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns an array of up to 100 XSS match sets.", - "id": "listxssmatchsets-1474561481168", - "title": "To list XSS match sets" - } - ], - "UpdateByteMatchSet": [ - { - "input": { - "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5", - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Updates": [ - { - "Action": "DELETE", - "ByteMatchTuple": { - "FieldToMatch": { - "Data": "referer", - "Type": "HEADER" - }, - "PositionalConstraint": "CONTAINS", - "TargetString": "badrefer1", - "TextTransformation": "NONE" - } - } - ] - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a ByteMatchTuple object (filters) in an byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updatebytematchset-1475259074558", - "title": "To update a byte match set" - } - ], - "UpdateIPSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Updates": [ - { - "Action": "DELETE", - "IPSetDescriptor": { - "Type": "IPV4", - "Value": "192.0.2.44/32" - } - } - ] - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an IPSetDescriptor object in an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updateipset-1475259733625", - "title": "To update an IP set" - } - ], - "UpdateRule": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "RuleId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Updates": [ - { - "Action": "DELETE", - "Predicate": { - "DataId": "MyByteMatchSetID", - "Negated": false, - "Type": "ByteMatch" - } - } - ] - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a Predicate object in a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updaterule-1475260064720", - "title": "To update a rule" - } - ], - "UpdateSizeConstraintSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Updates": [ - { - "Action": "DELETE", - "SizeConstraint": { - "ComparisonOperator": "GT", - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "Size": 0, - "TextTransformation": "NONE" - } - } - ] - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a SizeConstraint object (filters) in a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updatesizeconstraintset-1475531697891", - "title": "To update a size constraint set" - } - ], - "UpdateSqlInjectionMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", - "Updates": [ - { - "Action": "DELETE", - "SqlInjectionMatchTuple": { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - } - ] - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes a SqlInjectionMatchTuple object (filters) in a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updatesqlinjectionmatchset-1475532094686", - "title": "To update a SQL injection match set" - } - ], - "UpdateWebACL": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "DefaultAction": { - "Type": "ALLOW" - }, - "Updates": [ - { - "Action": "DELETE", - "ActivatedRule": { - "Action": { - "Type": "ALLOW" - }, - "Priority": 1, - "RuleId": "WAFRule-1-Example" - } - } - ], - "WebACLId": "webacl-1472061481310" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an ActivatedRule object in a WebACL with the ID webacl-1472061481310.", - "id": "updatewebacl-1475533627385", - "title": "To update a Web ACL" - } - ], - "UpdateXssMatchSet": [ - { - "input": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", - "Updates": [ - { - "Action": "DELETE", - "XssMatchTuple": { - "FieldToMatch": { - "Type": "QUERY_STRING" - }, - "TextTransformation": "URL_DECODE" - } - } - ], - "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" - }, - "output": { - "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an XssMatchTuple object (filters) in an XssMatchSet with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", - "id": "updatexssmatchset-1475534098881", - "title": "To update an XSS match set" - } - ] - } -} diff --git a/src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.min.json b/src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.min.json deleted file mode 100644 index 8a2e313..0000000 --- a/src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.min.json +++ /dev/null @@ -1,1525 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-11-28", - "endpointPrefix": "waf-regional", - "jsonVersion": "1.1", - "protocol": "json", - "serviceAbbreviation": "WAF Regional", - "serviceFullName": "AWS WAF Regional", - "signatureVersion": "v4", - "targetPrefix": "AWSWAF_Regional_20161128", - "uid": "waf-regional-2016-11-28" - }, - "operations": { - "AssociateWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId", - "ResourceArn" - ], - "members": { - "WebACLId": {}, - "ResourceArn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ByteMatchSet": { - "shape": "S9" - }, - "ChangeToken": {} - } - } - }, - "CreateIPSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "IPSet": { - "shape": "Sk" - }, - "ChangeToken": {} - } - } - }, - "CreateRateBasedRule": { - "input": { - "type": "structure", - "required": [ - "Name", - "MetricName", - "RateKey", - "RateLimit", - "ChangeToken" - ], - "members": { - "Name": {}, - "MetricName": {}, - "RateKey": {}, - "RateLimit": { - "type": "long" - }, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "Su" - }, - "ChangeToken": {} - } - } - }, - "CreateRule": { - "input": { - "type": "structure", - "required": [ - "Name", - "MetricName", - "ChangeToken" - ], - "members": { - "Name": {}, - "MetricName": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "S11" - }, - "ChangeToken": {} - } - } - }, - "CreateSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "SizeConstraintSet": { - "shape": "S14" - }, - "ChangeToken": {} - } - } - }, - "CreateSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "SqlInjectionMatchSet": { - "shape": "S1b" - }, - "ChangeToken": {} - } - } - }, - "CreateWebACL": { - "input": { - "type": "structure", - "required": [ - "Name", - "MetricName", - "DefaultAction", - "ChangeToken" - ], - "members": { - "Name": {}, - "MetricName": {}, - "DefaultAction": { - "shape": "S1f" - }, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "WebACL": { - "shape": "S1i" - }, - "ChangeToken": {} - } - } - }, - "CreateXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "Name", - "ChangeToken" - ], - "members": { - "Name": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "XssMatchSet": { - "shape": "S1p" - }, - "ChangeToken": {} - } - } - }, - "DeleteByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "ChangeToken" - ], - "members": { - "ByteMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteIPSet": { - "input": { - "type": "structure", - "required": [ - "IPSetId", - "ChangeToken" - ], - "members": { - "IPSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteRateBasedRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken" - ], - "members": { - "RuleId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken" - ], - "members": { - "RuleId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "ChangeToken" - ], - "members": { - "SizeConstraintSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "ChangeToken" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId", - "ChangeToken" - ], - "members": { - "WebACLId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DeleteXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId", - "ChangeToken" - ], - "members": { - "XssMatchSetId": {}, - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "DisassociateWebACL": { - "input": { - "type": "structure", - "required": [ - "ResourceArn" - ], - "members": { - "ResourceArn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "GetByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "ByteMatchSetId" - ], - "members": { - "ByteMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ByteMatchSet": { - "shape": "S9" - } - } - } - }, - "GetChangeToken": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "GetChangeTokenStatus": { - "input": { - "type": "structure", - "required": [ - "ChangeToken" - ], - "members": { - "ChangeToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "ChangeTokenStatus": {} - } - } - }, - "GetIPSet": { - "input": { - "type": "structure", - "required": [ - "IPSetId" - ], - "members": { - "IPSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IPSet": { - "shape": "Sk" - } - } - } - }, - "GetRateBasedRule": { - "input": { - "type": "structure", - "required": [ - "RuleId" - ], - "members": { - "RuleId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "Su" - } - } - } - }, - "GetRateBasedRuleManagedKeys": { - "input": { - "type": "structure", - "required": [ - "RuleId" - ], - "members": { - "RuleId": {}, - "NextMarker": {} - } - }, - "output": { - "type": "structure", - "members": { - "ManagedKeys": { - "type": "list", - "member": {} - }, - "NextMarker": {} - } - } - }, - "GetRule": { - "input": { - "type": "structure", - "required": [ - "RuleId" - ], - "members": { - "RuleId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Rule": { - "shape": "S11" - } - } - } - }, - "GetSampledRequests": { - "input": { - "type": "structure", - "required": [ - "WebAclId", - "RuleId", - "TimeWindow", - "MaxItems" - ], - "members": { - "WebAclId": {}, - "RuleId": {}, - "TimeWindow": { - "shape": "S2t" - }, - "MaxItems": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "SampledRequests": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Request", - "Weight" - ], - "members": { - "Request": { - "type": "structure", - "members": { - "ClientIP": {}, - "Country": {}, - "URI": {}, - "Method": {}, - "HTTPVersion": {}, - "Headers": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Value": {} - } - } - } - } - }, - "Weight": { - "type": "long" - }, - "Timestamp": { - "type": "timestamp" - }, - "Action": {} - } - } - }, - "PopulationSize": { - "type": "long" - }, - "TimeWindow": { - "shape": "S2t" - } - } - } - }, - "GetSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId" - ], - "members": { - "SizeConstraintSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "SizeConstraintSet": { - "shape": "S14" - } - } - } - }, - "GetSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId" - ], - "members": { - "SqlInjectionMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "SqlInjectionMatchSet": { - "shape": "S1b" - } - } - } - }, - "GetWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId" - ], - "members": { - "WebACLId": {} - } - }, - "output": { - "type": "structure", - "members": { - "WebACL": { - "shape": "S1i" - } - } - } - }, - "GetWebACLForResource": { - "input": { - "type": "structure", - "required": [ - "ResourceArn" - ], - "members": { - "ResourceArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "WebACLSummary": { - "shape": "S3k" - } - } - } - }, - "GetXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId" - ], - "members": { - "XssMatchSetId": {} - } - }, - "output": { - "type": "structure", - "members": { - "XssMatchSet": { - "shape": "S1p" - } - } - } - }, - "ListByteMatchSets": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "ByteMatchSets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "Name" - ], - "members": { - "ByteMatchSetId": {}, - "Name": {} - } - } - } - } - } - }, - "ListIPSets": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "IPSets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "IPSetId", - "Name" - ], - "members": { - "IPSetId": {}, - "Name": {} - } - } - } - } - } - }, - "ListRateBasedRules": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Rules": { - "shape": "S3y" - } - } - } - }, - "ListResourcesForWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId" - ], - "members": { - "WebACLId": {} - } - }, - "output": { - "type": "structure", - "members": { - "ResourceArns": { - "type": "list", - "member": {} - } - } - } - }, - "ListRules": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "Rules": { - "shape": "S3y" - } - } - } - }, - "ListSizeConstraintSets": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "SizeConstraintSets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "Name" - ], - "members": { - "SizeConstraintSetId": {}, - "Name": {} - } - } - } - } - } - }, - "ListSqlInjectionMatchSets": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "SqlInjectionMatchSets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "Name" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "Name": {} - } - } - } - } - } - }, - "ListWebACLs": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "WebACLs": { - "type": "list", - "member": { - "shape": "S3k" - } - } - } - } - }, - "ListXssMatchSets": { - "input": { - "type": "structure", - "members": { - "NextMarker": {}, - "Limit": { - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextMarker": {}, - "XssMatchSets": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "XssMatchSetId", - "Name" - ], - "members": { - "XssMatchSetId": {}, - "Name": {} - } - } - } - } - } - }, - "UpdateByteMatchSet": { - "input": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "ChangeToken", - "Updates" - ], - "members": { - "ByteMatchSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "ByteMatchTuple" - ], - "members": { - "Action": {}, - "ByteMatchTuple": { - "shape": "Sb" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateIPSet": { - "input": { - "type": "structure", - "required": [ - "IPSetId", - "ChangeToken", - "Updates" - ], - "members": { - "IPSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "IPSetDescriptor" - ], - "members": { - "Action": {}, - "IPSetDescriptor": { - "shape": "Sm" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateRateBasedRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken", - "Updates", - "RateLimit" - ], - "members": { - "RuleId": {}, - "ChangeToken": {}, - "Updates": { - "shape": "S4u" - }, - "RateLimit": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateRule": { - "input": { - "type": "structure", - "required": [ - "RuleId", - "ChangeToken", - "Updates" - ], - "members": { - "RuleId": {}, - "ChangeToken": {}, - "Updates": { - "shape": "S4u" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateSizeConstraintSet": { - "input": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "ChangeToken", - "Updates" - ], - "members": { - "SizeConstraintSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "SizeConstraint" - ], - "members": { - "Action": {}, - "SizeConstraint": { - "shape": "S16" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateSqlInjectionMatchSet": { - "input": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "ChangeToken", - "Updates" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "SqlInjectionMatchTuple" - ], - "members": { - "Action": {}, - "SqlInjectionMatchTuple": { - "shape": "S1d" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateWebACL": { - "input": { - "type": "structure", - "required": [ - "WebACLId", - "ChangeToken" - ], - "members": { - "WebACLId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "ActivatedRule" - ], - "members": { - "Action": {}, - "ActivatedRule": { - "shape": "S1k" - } - } - } - }, - "DefaultAction": { - "shape": "S1f" - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - }, - "UpdateXssMatchSet": { - "input": { - "type": "structure", - "required": [ - "XssMatchSetId", - "ChangeToken", - "Updates" - ], - "members": { - "XssMatchSetId": {}, - "ChangeToken": {}, - "Updates": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "XssMatchTuple" - ], - "members": { - "Action": {}, - "XssMatchTuple": { - "shape": "S1r" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ChangeToken": {} - } - } - } - }, - "shapes": { - "S9": { - "type": "structure", - "required": [ - "ByteMatchSetId", - "ByteMatchTuples" - ], - "members": { - "ByteMatchSetId": {}, - "Name": {}, - "ByteMatchTuples": { - "type": "list", - "member": { - "shape": "Sb" - } - } - } - }, - "Sb": { - "type": "structure", - "required": [ - "FieldToMatch", - "TargetString", - "TextTransformation", - "PositionalConstraint" - ], - "members": { - "FieldToMatch": { - "shape": "Sc" - }, - "TargetString": { - "type": "blob" - }, - "TextTransformation": {}, - "PositionalConstraint": {} - } - }, - "Sc": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {}, - "Data": {} - } - }, - "Sk": { - "type": "structure", - "required": [ - "IPSetId", - "IPSetDescriptors" - ], - "members": { - "IPSetId": {}, - "Name": {}, - "IPSetDescriptors": { - "type": "list", - "member": { - "shape": "Sm" - } - } - } - }, - "Sm": { - "type": "structure", - "required": [ - "Type", - "Value" - ], - "members": { - "Type": {}, - "Value": {} - } - }, - "Su": { - "type": "structure", - "required": [ - "RuleId", - "MatchPredicates", - "RateKey", - "RateLimit" - ], - "members": { - "RuleId": {}, - "Name": {}, - "MetricName": {}, - "MatchPredicates": { - "shape": "Sv" - }, - "RateKey": {}, - "RateLimit": { - "type": "long" - } - } - }, - "Sv": { - "type": "list", - "member": { - "shape": "Sw" - } - }, - "Sw": { - "type": "structure", - "required": [ - "Negated", - "Type", - "DataId" - ], - "members": { - "Negated": { - "type": "boolean" - }, - "Type": {}, - "DataId": {} - } - }, - "S11": { - "type": "structure", - "required": [ - "RuleId", - "Predicates" - ], - "members": { - "RuleId": {}, - "Name": {}, - "MetricName": {}, - "Predicates": { - "shape": "Sv" - } - } - }, - "S14": { - "type": "structure", - "required": [ - "SizeConstraintSetId", - "SizeConstraints" - ], - "members": { - "SizeConstraintSetId": {}, - "Name": {}, - "SizeConstraints": { - "type": "list", - "member": { - "shape": "S16" - } - } - } - }, - "S16": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation", - "ComparisonOperator", - "Size" - ], - "members": { - "FieldToMatch": { - "shape": "Sc" - }, - "TextTransformation": {}, - "ComparisonOperator": {}, - "Size": { - "type": "long" - } - } - }, - "S1b": { - "type": "structure", - "required": [ - "SqlInjectionMatchSetId", - "SqlInjectionMatchTuples" - ], - "members": { - "SqlInjectionMatchSetId": {}, - "Name": {}, - "SqlInjectionMatchTuples": { - "type": "list", - "member": { - "shape": "S1d" - } - } - } - }, - "S1d": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "members": { - "FieldToMatch": { - "shape": "Sc" - }, - "TextTransformation": {} - } - }, - "S1f": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {} - } - }, - "S1i": { - "type": "structure", - "required": [ - "WebACLId", - "DefaultAction", - "Rules" - ], - "members": { - "WebACLId": {}, - "Name": {}, - "MetricName": {}, - "DefaultAction": { - "shape": "S1f" - }, - "Rules": { - "type": "list", - "member": { - "shape": "S1k" - } - } - } - }, - "S1k": { - "type": "structure", - "required": [ - "Priority", - "RuleId", - "Action" - ], - "members": { - "Priority": { - "type": "integer" - }, - "RuleId": {}, - "Action": { - "shape": "S1f" - }, - "Type": {} - } - }, - "S1p": { - "type": "structure", - "required": [ - "XssMatchSetId", - "XssMatchTuples" - ], - "members": { - "XssMatchSetId": {}, - "Name": {}, - "XssMatchTuples": { - "type": "list", - "member": { - "shape": "S1r" - } - } - } - }, - "S1r": { - "type": "structure", - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "members": { - "FieldToMatch": { - "shape": "Sc" - }, - "TextTransformation": {} - } - }, - "S2t": { - "type": "structure", - "required": [ - "StartTime", - "EndTime" - ], - "members": { - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - } - } - }, - "S3k": { - "type": "structure", - "required": [ - "WebACLId", - "Name" - ], - "members": { - "WebACLId": {}, - "Name": {} - } - }, - "S3y": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "RuleId", - "Name" - ], - "members": { - "RuleId": {}, - "Name": {} - } - } - }, - "S4u": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Action", - "Predicate" - ], - "members": { - "Action": {}, - "Predicate": { - "shape": "Sw" - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.paginators.json b/src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/waf-regional-2016-11-28.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/apis/workdocs-2016-05-01.examples.json b/src/node_modules/aws-sdk/apis/workdocs-2016-05-01.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/workdocs-2016-05-01.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/workdocs-2016-05-01.min.json b/src/node_modules/aws-sdk/apis/workdocs-2016-05-01.min.json deleted file mode 100644 index a67dc3e..0000000 --- a/src/node_modules/aws-sdk/apis/workdocs-2016-05-01.min.json +++ /dev/null @@ -1,1804 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-05-01", - "endpointPrefix": "workdocs", - "jsonVersion": "1.1", - "protocol": "rest-json", - "serviceFullName": "Amazon WorkDocs", - "signatureVersion": "v4", - "uid": "workdocs-2016-05-01" - }, - "operations": { - "AbortDocumentVersionUpload": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId", - "VersionId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - }, - "VersionId": { - "location": "uri", - "locationName": "VersionId" - } - } - } - }, - "ActivateUser": { - "http": { - "requestUri": "/api/v1/users/{UserId}/activation", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "UserId" - ], - "members": { - "UserId": { - "location": "uri", - "locationName": "UserId" - }, - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - } - } - }, - "output": { - "type": "structure", - "members": { - "User": { - "shape": "S8" - } - } - } - }, - "AddResourcePermissions": { - "http": { - "requestUri": "/api/v1/resources/{ResourceId}/permissions", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "ResourceId", - "Principals" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - }, - "Principals": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Id", - "Type", - "Role" - ], - "members": { - "Id": {}, - "Type": {}, - "Role": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "ShareResults": { - "type": "list", - "member": { - "type": "structure", - "members": { - "PrincipalId": {}, - "Role": {}, - "Status": {}, - "ShareId": {}, - "StatusMessage": { - "type": "string", - "sensitive": true - } - } - } - } - } - } - }, - "CreateComment": { - "http": { - "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId", - "VersionId", - "Text" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - }, - "VersionId": { - "location": "uri", - "locationName": "VersionId" - }, - "ParentId": {}, - "ThreadId": {}, - "Text": { - "shape": "Sy" - }, - "Visibility": {}, - "NotifyCollaborators": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Comment": { - "shape": "S12" - } - } - } - }, - "CreateCustomMetadata": { - "http": { - "method": "PUT", - "requestUri": "/api/v1/resources/{ResourceId}/customMetadata", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceId", - "CustomMetadata" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionid" - }, - "CustomMetadata": { - "shape": "S15" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateFolder": { - "http": { - "requestUri": "/api/v1/folders", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "ParentFolderId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "Name": {}, - "ParentFolderId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Metadata": { - "shape": "S1c" - } - } - } - }, - "CreateLabels": { - "http": { - "method": "PUT", - "requestUri": "/api/v1/resources/{ResourceId}/labels", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceId", - "Labels" - ], - "members": { - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - }, - "Labels": { - "shape": "S1f" - }, - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateNotificationSubscription": { - "http": { - "requestUri": "/api/v1/organizations/{OrganizationId}/subscriptions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "OrganizationId", - "Endpoint", - "Protocol", - "SubscriptionType" - ], - "members": { - "OrganizationId": { - "location": "uri", - "locationName": "OrganizationId" - }, - "Endpoint": {}, - "Protocol": {}, - "SubscriptionType": {} - } - }, - "output": { - "type": "structure", - "members": { - "Subscription": { - "shape": "S1o" - } - } - } - }, - "CreateUser": { - "http": { - "requestUri": "/api/v1/users", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "Username", - "GivenName", - "Surname", - "Password" - ], - "members": { - "OrganizationId": {}, - "Username": {}, - "EmailAddress": {}, - "GivenName": {}, - "Surname": {}, - "Password": { - "type": "string", - "sensitive": true - }, - "TimeZoneId": {}, - "StorageRule": { - "shape": "Sj" - }, - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - } - } - }, - "output": { - "type": "structure", - "members": { - "User": { - "shape": "S8" - } - } - } - }, - "DeactivateUser": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/users/{UserId}/activation", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "UserId" - ], - "members": { - "UserId": { - "location": "uri", - "locationName": "UserId" - }, - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - } - } - } - }, - "DeleteComment": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId", - "VersionId", - "CommentId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - }, - "VersionId": { - "location": "uri", - "locationName": "VersionId" - }, - "CommentId": { - "location": "uri", - "locationName": "CommentId" - } - } - } - }, - "DeleteCustomMetadata": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/resources/{ResourceId}/customMetadata", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - }, - "VersionId": { - "location": "querystring", - "locationName": "versionId" - }, - "Keys": { - "location": "querystring", - "locationName": "keys", - "type": "list", - "member": {} - }, - "DeleteAll": { - "location": "querystring", - "locationName": "deleteAll", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteDocument": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/documents/{DocumentId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - } - } - } - }, - "DeleteFolder": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/folders/{FolderId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FolderId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "FolderId": { - "location": "uri", - "locationName": "FolderId" - } - } - } - }, - "DeleteFolderContents": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/folders/{FolderId}/contents", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "FolderId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "FolderId": { - "location": "uri", - "locationName": "FolderId" - } - } - } - }, - "DeleteLabels": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/resources/{ResourceId}/labels", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceId" - ], - "members": { - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - }, - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "Labels": { - "shape": "S1f", - "location": "querystring", - "locationName": "labels" - }, - "DeleteAll": { - "location": "querystring", - "locationName": "deleteAll", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteNotificationSubscription": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "SubscriptionId", - "OrganizationId" - ], - "members": { - "SubscriptionId": { - "location": "uri", - "locationName": "SubscriptionId" - }, - "OrganizationId": { - "location": "uri", - "locationName": "OrganizationId" - } - } - } - }, - "DeleteUser": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/users/{UserId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "UserId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "UserId": { - "location": "uri", - "locationName": "UserId" - } - } - } - }, - "DescribeActivities": { - "http": { - "method": "GET", - "requestUri": "/api/v1/activities", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "StartTime": { - "location": "querystring", - "locationName": "startTime", - "type": "timestamp" - }, - "EndTime": { - "location": "querystring", - "locationName": "endTime", - "type": "timestamp" - }, - "OrganizationId": { - "location": "querystring", - "locationName": "organizationId" - }, - "UserId": { - "location": "querystring", - "locationName": "userId" - }, - "Limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - } - } - }, - "output": { - "type": "structure", - "members": { - "UserActivities": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Type": {}, - "TimeStamp": { - "type": "timestamp" - }, - "OrganizationId": {}, - "Initiator": { - "shape": "S2b" - }, - "Participants": { - "type": "structure", - "members": { - "Users": { - "type": "list", - "member": { - "shape": "S2b" - } - }, - "Groups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {} - } - } - } - } - }, - "ResourceMetadata": { - "shape": "S2h" - }, - "OriginalParent": { - "shape": "S2h" - }, - "CommentMetadata": { - "type": "structure", - "members": { - "CommentId": {}, - "Contributor": { - "shape": "S8" - }, - "CreatedTimestamp": { - "type": "timestamp" - }, - "CommentStatus": {}, - "RecipientId": {} - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeComments": { - "http": { - "method": "GET", - "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comments", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId", - "VersionId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - }, - "VersionId": { - "location": "uri", - "locationName": "VersionId" - }, - "Limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - } - } - }, - "output": { - "type": "structure", - "members": { - "Comments": { - "type": "list", - "member": { - "shape": "S12" - } - }, - "Marker": {} - } - } - }, - "DescribeDocumentVersions": { - "http": { - "method": "GET", - "requestUri": "/api/v1/documents/{DocumentId}/versions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - }, - "Limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "Include": { - "location": "querystring", - "locationName": "include" - }, - "Fields": { - "location": "querystring", - "locationName": "fields" - } - } - }, - "output": { - "type": "structure", - "members": { - "DocumentVersions": { - "type": "list", - "member": { - "shape": "S2s" - } - }, - "Marker": {} - } - } - }, - "DescribeFolderContents": { - "http": { - "method": "GET", - "requestUri": "/api/v1/folders/{FolderId}/contents", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FolderId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "FolderId": { - "location": "uri", - "locationName": "FolderId" - }, - "Sort": { - "location": "querystring", - "locationName": "sort" - }, - "Order": { - "location": "querystring", - "locationName": "order" - }, - "Limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - }, - "Type": { - "location": "querystring", - "locationName": "type" - }, - "Include": { - "location": "querystring", - "locationName": "include" - } - } - }, - "output": { - "type": "structure", - "members": { - "Folders": { - "shape": "S35" - }, - "Documents": { - "type": "list", - "member": { - "shape": "S37" - } - }, - "Marker": {} - } - } - }, - "DescribeNotificationSubscriptions": { - "http": { - "method": "GET", - "requestUri": "/api/v1/organizations/{OrganizationId}/subscriptions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "OrganizationId" - ], - "members": { - "OrganizationId": { - "location": "uri", - "locationName": "OrganizationId" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - }, - "Limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - } - } - }, - "output": { - "type": "structure", - "members": { - "Subscriptions": { - "type": "list", - "member": { - "shape": "S1o" - } - }, - "Marker": {} - } - } - }, - "DescribeResourcePermissions": { - "http": { - "method": "GET", - "requestUri": "/api/v1/resources/{ResourceId}/permissions", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - }, - "Limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - } - } - }, - "output": { - "type": "structure", - "members": { - "Principals": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Type": {}, - "Roles": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Role": {}, - "Type": {} - } - } - } - } - } - }, - "Marker": {} - } - } - }, - "DescribeRootFolders": { - "http": { - "method": "GET", - "requestUri": "/api/v1/me/root", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "AuthenticationToken" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "Limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - } - } - }, - "output": { - "type": "structure", - "members": { - "Folders": { - "shape": "S35" - }, - "Marker": {} - } - } - }, - "DescribeUsers": { - "http": { - "method": "GET", - "requestUri": "/api/v1/users", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "OrganizationId": { - "location": "querystring", - "locationName": "organizationId" - }, - "UserIds": { - "location": "querystring", - "locationName": "userIds" - }, - "Query": { - "location": "querystring", - "locationName": "query", - "type": "string", - "sensitive": true - }, - "Include": { - "location": "querystring", - "locationName": "include" - }, - "Order": { - "location": "querystring", - "locationName": "order" - }, - "Sort": { - "location": "querystring", - "locationName": "sort" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - }, - "Limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "Fields": { - "location": "querystring", - "locationName": "fields" - } - } - }, - "output": { - "type": "structure", - "members": { - "Users": { - "type": "list", - "member": { - "shape": "S8" - } - }, - "TotalNumberOfUsers": { - "type": "long" - }, - "Marker": {} - } - } - }, - "GetCurrentUser": { - "http": { - "method": "GET", - "requestUri": "/api/v1/me", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "AuthenticationToken" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - } - } - }, - "output": { - "type": "structure", - "members": { - "User": { - "shape": "S8" - } - } - } - }, - "GetDocument": { - "http": { - "method": "GET", - "requestUri": "/api/v1/documents/{DocumentId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - }, - "IncludeCustomMetadata": { - "location": "querystring", - "locationName": "includeCustomMetadata", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Metadata": { - "shape": "S37" - }, - "CustomMetadata": { - "shape": "S15" - } - } - } - }, - "GetDocumentPath": { - "http": { - "method": "GET", - "requestUri": "/api/v1/documents/{DocumentId}/path", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - }, - "Limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "Fields": { - "location": "querystring", - "locationName": "fields" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - } - } - }, - "output": { - "type": "structure", - "members": { - "Path": { - "shape": "S3x" - } - } - } - }, - "GetDocumentVersion": { - "http": { - "method": "GET", - "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId", - "VersionId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - }, - "VersionId": { - "location": "uri", - "locationName": "VersionId" - }, - "Fields": { - "location": "querystring", - "locationName": "fields" - }, - "IncludeCustomMetadata": { - "location": "querystring", - "locationName": "includeCustomMetadata", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Metadata": { - "shape": "S2s" - }, - "CustomMetadata": { - "shape": "S15" - } - } - } - }, - "GetFolder": { - "http": { - "method": "GET", - "requestUri": "/api/v1/folders/{FolderId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FolderId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "FolderId": { - "location": "uri", - "locationName": "FolderId" - }, - "IncludeCustomMetadata": { - "location": "querystring", - "locationName": "includeCustomMetadata", - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "Metadata": { - "shape": "S1c" - }, - "CustomMetadata": { - "shape": "S15" - } - } - } - }, - "GetFolderPath": { - "http": { - "method": "GET", - "requestUri": "/api/v1/folders/{FolderId}/path", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FolderId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "FolderId": { - "location": "uri", - "locationName": "FolderId" - }, - "Limit": { - "location": "querystring", - "locationName": "limit", - "type": "integer" - }, - "Fields": { - "location": "querystring", - "locationName": "fields" - }, - "Marker": { - "location": "querystring", - "locationName": "marker" - } - } - }, - "output": { - "type": "structure", - "members": { - "Path": { - "shape": "S3x" - } - } - } - }, - "InitiateDocumentVersionUpload": { - "http": { - "requestUri": "/api/v1/documents", - "responseCode": 201 - }, - "input": { - "type": "structure", - "required": [ - "ParentFolderId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "Id": {}, - "Name": {}, - "ContentCreatedTimestamp": { - "type": "timestamp" - }, - "ContentModifiedTimestamp": { - "type": "timestamp" - }, - "ContentType": {}, - "DocumentSizeInBytes": { - "type": "long" - }, - "ParentFolderId": {} - } - }, - "output": { - "type": "structure", - "members": { - "Metadata": { - "shape": "S37" - }, - "UploadMetadata": { - "type": "structure", - "members": { - "UploadUrl": { - "shape": "S2x" - }, - "SignedHeaders": { - "type": "map", - "key": {}, - "value": {} - } - } - } - } - } - }, - "RemoveAllResourcePermissions": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/resources/{ResourceId}/permissions", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "ResourceId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - } - } - } - }, - "RemoveResourcePermission": { - "http": { - "method": "DELETE", - "requestUri": "/api/v1/resources/{ResourceId}/permissions/{PrincipalId}", - "responseCode": 204 - }, - "input": { - "type": "structure", - "required": [ - "ResourceId", - "PrincipalId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "ResourceId": { - "location": "uri", - "locationName": "ResourceId" - }, - "PrincipalId": { - "location": "uri", - "locationName": "PrincipalId" - }, - "PrincipalType": { - "location": "querystring", - "locationName": "type" - } - } - } - }, - "UpdateDocument": { - "http": { - "method": "PATCH", - "requestUri": "/api/v1/documents/{DocumentId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - }, - "Name": {}, - "ParentFolderId": {}, - "ResourceState": {} - } - } - }, - "UpdateDocumentVersion": { - "http": { - "method": "PATCH", - "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "DocumentId", - "VersionId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "DocumentId": { - "location": "uri", - "locationName": "DocumentId" - }, - "VersionId": { - "location": "uri", - "locationName": "VersionId" - }, - "VersionStatus": {} - } - } - }, - "UpdateFolder": { - "http": { - "method": "PATCH", - "requestUri": "/api/v1/folders/{FolderId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "FolderId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "FolderId": { - "location": "uri", - "locationName": "FolderId" - }, - "Name": {}, - "ParentFolderId": {}, - "ResourceState": {} - } - } - }, - "UpdateUser": { - "http": { - "method": "PATCH", - "requestUri": "/api/v1/users/{UserId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "UserId" - ], - "members": { - "AuthenticationToken": { - "shape": "S2", - "location": "header", - "locationName": "Authentication" - }, - "UserId": { - "location": "uri", - "locationName": "UserId" - }, - "GivenName": {}, - "Surname": {}, - "Type": {}, - "StorageRule": { - "shape": "Sj" - }, - "TimeZoneId": {}, - "Locale": {} - } - }, - "output": { - "type": "structure", - "members": { - "User": { - "shape": "S8" - } - } - } - } - }, - "shapes": { - "S2": { - "type": "string", - "sensitive": true - }, - "S8": { - "type": "structure", - "members": { - "Id": {}, - "Username": {}, - "EmailAddress": {}, - "GivenName": {}, - "Surname": {}, - "OrganizationId": {}, - "RootFolderId": {}, - "RecycleBinFolderId": {}, - "Status": {}, - "Type": {}, - "CreatedTimestamp": { - "type": "timestamp" - }, - "ModifiedTimestamp": { - "type": "timestamp" - }, - "TimeZoneId": {}, - "Locale": {}, - "Storage": { - "type": "structure", - "members": { - "StorageUtilizedInBytes": { - "type": "long" - }, - "StorageRule": { - "shape": "Sj" - } - } - } - } - }, - "Sj": { - "type": "structure", - "members": { - "StorageAllocatedInBytes": { - "type": "long" - }, - "StorageType": {} - } - }, - "Sy": { - "type": "string", - "sensitive": true - }, - "S12": { - "type": "structure", - "required": [ - "CommentId" - ], - "members": { - "CommentId": {}, - "ParentId": {}, - "ThreadId": {}, - "Text": { - "shape": "Sy" - }, - "Contributor": { - "shape": "S8" - }, - "CreatedTimestamp": { - "type": "timestamp" - }, - "Status": {}, - "Visibility": {}, - "RecipientId": {} - } - }, - "S15": { - "type": "map", - "key": {}, - "value": {} - }, - "S1c": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "CreatorId": {}, - "ParentFolderId": {}, - "CreatedTimestamp": { - "type": "timestamp" - }, - "ModifiedTimestamp": { - "type": "timestamp" - }, - "ResourceState": {}, - "Signature": {}, - "Labels": { - "shape": "S1f" - }, - "Size": { - "type": "long" - }, - "LatestVersionSize": { - "type": "long" - } - } - }, - "S1f": { - "type": "list", - "member": {} - }, - "S1o": { - "type": "structure", - "members": { - "SubscriptionId": {}, - "EndPoint": {}, - "Protocol": {} - } - }, - "S2b": { - "type": "structure", - "members": { - "Id": {}, - "Username": {}, - "GivenName": {}, - "Surname": {}, - "EmailAddress": {} - } - }, - "S2h": { - "type": "structure", - "members": { - "Type": {}, - "Name": {}, - "OriginalName": {}, - "Id": {}, - "VersionId": {}, - "Owner": { - "shape": "S2b" - }, - "ParentId": {} - } - }, - "S2s": { - "type": "structure", - "members": { - "Id": {}, - "Name": {}, - "ContentType": {}, - "Size": { - "type": "long" - }, - "Signature": {}, - "Status": {}, - "CreatedTimestamp": { - "type": "timestamp" - }, - "ModifiedTimestamp": { - "type": "timestamp" - }, - "ContentCreatedTimestamp": { - "type": "timestamp" - }, - "ContentModifiedTimestamp": { - "type": "timestamp" - }, - "CreatorId": {}, - "Thumbnail": { - "type": "map", - "key": {}, - "value": { - "shape": "S2x" - } - }, - "Source": { - "type": "map", - "key": {}, - "value": { - "shape": "S2x" - } - } - } - }, - "S2x": { - "type": "string", - "sensitive": true - }, - "S35": { - "type": "list", - "member": { - "shape": "S1c" - } - }, - "S37": { - "type": "structure", - "members": { - "Id": {}, - "CreatorId": {}, - "ParentFolderId": {}, - "CreatedTimestamp": { - "type": "timestamp" - }, - "ModifiedTimestamp": { - "type": "timestamp" - }, - "LatestVersionMetadata": { - "shape": "S2s" - }, - "ResourceState": {}, - "Labels": { - "shape": "S1f" - } - } - }, - "S3x": { - "type": "structure", - "members": { - "Components": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Name": {} - } - } - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/workdocs-2016-05-01.paginators.json b/src/node_modules/aws-sdk/apis/workdocs-2016-05-01.paginators.json deleted file mode 100644 index 42c39b2..0000000 --- a/src/node_modules/aws-sdk/apis/workdocs-2016-05-01.paginators.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "pagination": { - "DescribeDocumentVersions": { - "input_token": "Marker", - "limit_key": "Limit", - "output_token": "Marker", - "result_key": "DocumentVersions" - }, - "DescribeFolderContents": { - "input_token": "Marker", - "limit_key": "Limit", - "output_token": "Marker", - "result_key": [ - "Folders", - "Documents" - ] - }, - "DescribeUsers": { - "input_token": "Marker", - "limit_key": "Limit", - "output_token": "Marker", - "result_key": "Users" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/workspaces-2015-04-08.examples.json b/src/node_modules/aws-sdk/apis/workspaces-2015-04-08.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/workspaces-2015-04-08.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json b/src/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json deleted file mode 100644 index db1cd86..0000000 --- a/src/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2015-04-08", - "endpointPrefix": "workspaces", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon WorkSpaces", - "signatureVersion": "v4", - "targetPrefix": "WorkspacesService", - "uid": "workspaces-2015-04-08" - }, - "operations": { - "CreateTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "Tags" - ], - "members": { - "ResourceId": {}, - "Tags": { - "shape": "S3" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "CreateWorkspaces": { - "input": { - "type": "structure", - "required": [ - "Workspaces" - ], - "members": { - "Workspaces": { - "type": "list", - "member": { - "shape": "Sa" - } - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedRequests": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WorkspaceRequest": { - "shape": "Sa" - }, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - }, - "PendingRequests": { - "shape": "So" - } - } - } - }, - "DeleteTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId", - "TagKeys" - ], - "members": { - "ResourceId": {}, - "TagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DescribeTags": { - "input": { - "type": "structure", - "required": [ - "ResourceId" - ], - "members": { - "ResourceId": {} - } - }, - "output": { - "type": "structure", - "members": { - "TagList": { - "shape": "S3" - } - } - } - }, - "DescribeWorkspaceBundles": { - "input": { - "type": "structure", - "members": { - "BundleIds": { - "type": "list", - "member": {} - }, - "Owner": {}, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Bundles": { - "type": "list", - "member": { - "type": "structure", - "members": { - "BundleId": {}, - "Name": {}, - "Owner": {}, - "Description": {}, - "UserStorage": { - "type": "structure", - "members": { - "Capacity": {} - } - }, - "ComputeType": { - "type": "structure", - "members": { - "Name": {} - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeWorkspaceDirectories": { - "input": { - "type": "structure", - "members": { - "DirectoryIds": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Directories": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DirectoryId": {}, - "Alias": {}, - "DirectoryName": {}, - "RegistrationCode": {}, - "SubnetIds": { - "type": "list", - "member": {} - }, - "DnsIpAddresses": { - "type": "list", - "member": {} - }, - "CustomerUserName": {}, - "IamRoleId": {}, - "DirectoryType": {}, - "WorkspaceSecurityGroupId": {}, - "State": {}, - "WorkspaceCreationProperties": { - "type": "structure", - "members": { - "EnableWorkDocs": { - "type": "boolean" - }, - "EnableInternetAccess": { - "type": "boolean" - }, - "DefaultOu": {}, - "CustomSecurityGroupId": {}, - "UserEnabledAsLocalAdministrator": { - "type": "boolean" - } - } - } - } - } - }, - "NextToken": {} - } - } - }, - "DescribeWorkspaces": { - "input": { - "type": "structure", - "members": { - "WorkspaceIds": { - "shape": "S1s" - }, - "DirectoryId": {}, - "UserName": {}, - "BundleId": {}, - "Limit": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Workspaces": { - "shape": "So" - }, - "NextToken": {} - } - } - }, - "DescribeWorkspacesConnectionStatus": { - "input": { - "type": "structure", - "members": { - "WorkspaceIds": { - "shape": "S1s" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "WorkspacesConnectionStatus": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WorkspaceId": {}, - "ConnectionState": {}, - "ConnectionStateCheckTimestamp": { - "type": "timestamp" - }, - "LastKnownUserConnectionTimestamp": { - "type": "timestamp" - } - } - } - }, - "NextToken": {} - } - } - }, - "ModifyWorkspaceProperties": { - "input": { - "type": "structure", - "required": [ - "WorkspaceId", - "WorkspaceProperties" - ], - "members": { - "WorkspaceId": {}, - "WorkspaceProperties": { - "shape": "Sg" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "RebootWorkspaces": { - "input": { - "type": "structure", - "required": [ - "RebootWorkspaceRequests" - ], - "members": { - "RebootWorkspaceRequests": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "WorkspaceId" - ], - "members": { - "WorkspaceId": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedRequests": { - "type": "list", - "member": { - "shape": "S28" - } - } - } - } - }, - "RebuildWorkspaces": { - "input": { - "type": "structure", - "required": [ - "RebuildWorkspaceRequests" - ], - "members": { - "RebuildWorkspaceRequests": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "WorkspaceId" - ], - "members": { - "WorkspaceId": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedRequests": { - "type": "list", - "member": { - "shape": "S28" - } - } - } - } - }, - "StartWorkspaces": { - "input": { - "type": "structure", - "required": [ - "StartWorkspaceRequests" - ], - "members": { - "StartWorkspaceRequests": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WorkspaceId": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedRequests": { - "type": "list", - "member": { - "shape": "S28" - } - } - } - } - }, - "StopWorkspaces": { - "input": { - "type": "structure", - "required": [ - "StopWorkspaceRequests" - ], - "members": { - "StopWorkspaceRequests": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WorkspaceId": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedRequests": { - "type": "list", - "member": { - "shape": "S28" - } - } - } - } - }, - "TerminateWorkspaces": { - "input": { - "type": "structure", - "required": [ - "TerminateWorkspaceRequests" - ], - "members": { - "TerminateWorkspaceRequests": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "WorkspaceId" - ], - "members": { - "WorkspaceId": {} - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "FailedRequests": { - "type": "list", - "member": { - "shape": "S28" - } - } - } - } - } - }, - "shapes": { - "S3": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Key" - ], - "members": { - "Key": {}, - "Value": {} - } - } - }, - "Sa": { - "type": "structure", - "required": [ - "DirectoryId", - "UserName", - "BundleId" - ], - "members": { - "DirectoryId": {}, - "UserName": {}, - "BundleId": {}, - "VolumeEncryptionKey": {}, - "UserVolumeEncryptionEnabled": { - "type": "boolean" - }, - "RootVolumeEncryptionEnabled": { - "type": "boolean" - }, - "WorkspaceProperties": { - "shape": "Sg" - }, - "Tags": { - "shape": "S3" - } - } - }, - "Sg": { - "type": "structure", - "members": { - "RunningMode": {}, - "RunningModeAutoStopTimeoutInMinutes": { - "type": "integer" - } - } - }, - "So": { - "type": "list", - "member": { - "type": "structure", - "members": { - "WorkspaceId": {}, - "DirectoryId": {}, - "UserName": {}, - "IpAddress": {}, - "State": {}, - "BundleId": {}, - "SubnetId": {}, - "ErrorMessage": {}, - "ErrorCode": {}, - "ComputerName": {}, - "VolumeEncryptionKey": {}, - "UserVolumeEncryptionEnabled": { - "type": "boolean" - }, - "RootVolumeEncryptionEnabled": { - "type": "boolean" - }, - "WorkspaceProperties": { - "shape": "Sg" - } - } - } - }, - "S1s": { - "type": "list", - "member": {} - }, - "S28": { - "type": "structure", - "members": { - "WorkspaceId": {}, - "ErrorCode": {}, - "ErrorMessage": {} - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json b/src/node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json deleted file mode 100644 index cc7a0c6..0000000 --- a/src/node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "pagination": { - "DescribeWorkspaceBundles": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Bundles" - }, - "DescribeWorkspaceDirectories": { - "input_token": "NextToken", - "output_token": "NextToken", - "result_key": "Directories" - }, - "DescribeWorkspaces": { - "input_token": "NextToken", - "limit_key": "Limit", - "output_token": "NextToken", - "result_key": "Workspaces" - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/xray-2016-04-12.examples.json b/src/node_modules/aws-sdk/apis/xray-2016-04-12.examples.json deleted file mode 100644 index 0ea7e3b..0000000 --- a/src/node_modules/aws-sdk/apis/xray-2016-04-12.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/src/node_modules/aws-sdk/apis/xray-2016-04-12.min.json b/src/node_modules/aws-sdk/apis/xray-2016-04-12.min.json deleted file mode 100644 index a503682..0000000 --- a/src/node_modules/aws-sdk/apis/xray-2016-04-12.min.json +++ /dev/null @@ -1,511 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2016-04-12", - "endpointPrefix": "xray", - "protocol": "rest-json", - "serviceFullName": "AWS X-Ray", - "signatureVersion": "v4", - "uid": "xray-2016-04-12" - }, - "operations": { - "BatchGetTraces": { - "http": { - "requestUri": "/Traces" - }, - "input": { - "type": "structure", - "required": [ - "TraceIds" - ], - "members": { - "TraceIds": { - "shape": "S2" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Traces": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Duration": { - "type": "double" - }, - "Segments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Document": {} - } - } - } - } - } - }, - "UnprocessedTraceIds": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "GetServiceGraph": { - "http": { - "requestUri": "/ServiceGraph" - }, - "input": { - "type": "structure", - "required": [ - "StartTime", - "EndTime" - ], - "members": { - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Services": { - "shape": "Sh" - }, - "NextToken": {} - } - } - }, - "GetTraceGraph": { - "http": { - "requestUri": "/TraceGraph" - }, - "input": { - "type": "structure", - "required": [ - "TraceIds" - ], - "members": { - "TraceIds": { - "shape": "S2" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "Services": { - "shape": "Sh" - }, - "NextToken": {} - } - } - }, - "GetTraceSummaries": { - "http": { - "requestUri": "/TraceSummaries" - }, - "input": { - "type": "structure", - "required": [ - "StartTime", - "EndTime" - ], - "members": { - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Sampling": { - "type": "boolean" - }, - "FilterExpression": {}, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "TraceSummaries": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "Duration": { - "type": "double" - }, - "ResponseTime": { - "type": "double" - }, - "HasFault": { - "type": "boolean" - }, - "HasError": { - "type": "boolean" - }, - "HasThrottle": { - "type": "boolean" - }, - "IsPartial": { - "type": "boolean" - }, - "Http": { - "type": "structure", - "members": { - "HttpURL": {}, - "HttpStatus": { - "type": "integer" - }, - "HttpMethod": {}, - "UserAgent": {}, - "ClientIp": {} - } - }, - "Annotations": { - "type": "map", - "key": {}, - "value": { - "type": "list", - "member": { - "type": "structure", - "members": { - "AnnotationValue": { - "type": "structure", - "members": { - "NumberValue": { - "type": "double" - }, - "BooleanValue": { - "type": "boolean" - }, - "StringValue": {} - } - }, - "ServiceIds": { - "shape": "S1d" - } - } - } - } - }, - "Users": { - "type": "list", - "member": { - "type": "structure", - "members": { - "UserName": {}, - "ServiceIds": { - "shape": "S1d" - } - } - } - }, - "ServiceIds": { - "shape": "S1d" - } - } - } - }, - "ApproximateTime": { - "type": "timestamp" - }, - "TracesProcessedCount": { - "type": "long" - }, - "NextToken": {} - } - } - }, - "PutTelemetryRecords": { - "http": { - "requestUri": "/TelemetryRecords" - }, - "input": { - "type": "structure", - "required": [ - "TelemetryRecords" - ], - "members": { - "TelemetryRecords": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Timestamp": { - "type": "timestamp" - }, - "SegmentsReceivedCount": { - "type": "integer" - }, - "SegmentsSentCount": { - "type": "integer" - }, - "SegmentsSpilloverCount": { - "type": "integer" - }, - "SegmentsRejectedCount": { - "type": "integer" - }, - "BackendConnectionErrors": { - "type": "structure", - "members": { - "TimeoutCount": { - "type": "integer" - }, - "ConnectionRefusedCount": { - "type": "integer" - }, - "HTTPCode4XXCount": { - "type": "integer" - }, - "HTTPCode5XXCount": { - "type": "integer" - }, - "UnknownHostCount": { - "type": "integer" - }, - "OtherCount": { - "type": "integer" - } - } - } - } - } - }, - "EC2InstanceId": {}, - "Hostname": {}, - "ResourceARN": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "PutTraceSegments": { - "http": { - "requestUri": "/TraceSegments" - }, - "input": { - "type": "structure", - "required": [ - "TraceSegmentDocuments" - ], - "members": { - "TraceSegmentDocuments": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "UnprocessedTraceSegments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Id": {}, - "ErrorCode": {}, - "Message": {} - } - } - } - } - } - } - }, - "shapes": { - "S2": { - "type": "list", - "member": {} - }, - "Sh": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ReferenceId": { - "type": "integer" - }, - "Name": {}, - "Names": { - "shape": "Sk" - }, - "Root": { - "type": "boolean" - }, - "AccountId": {}, - "Type": {}, - "State": {}, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "Edges": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ReferenceId": { - "type": "integer" - }, - "StartTime": { - "type": "timestamp" - }, - "EndTime": { - "type": "timestamp" - }, - "SummaryStatistics": { - "type": "structure", - "members": { - "OkCount": { - "type": "long" - }, - "ErrorStatistics": { - "shape": "Sq" - }, - "FaultStatistics": { - "shape": "Sr" - }, - "TotalCount": { - "type": "long" - }, - "TotalResponseTime": { - "type": "double" - } - } - }, - "ResponseTimeHistogram": { - "shape": "Ss" - }, - "Aliases": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Names": { - "type": "list", - "member": {} - }, - "Type": {} - } - } - } - } - } - }, - "SummaryStatistics": { - "type": "structure", - "members": { - "OkCount": { - "type": "long" - }, - "ErrorStatistics": { - "shape": "Sq" - }, - "FaultStatistics": { - "shape": "Sr" - }, - "TotalCount": { - "type": "long" - }, - "TotalResponseTime": { - "type": "double" - } - } - }, - "DurationHistogram": { - "shape": "Ss" - }, - "ResponseTimeHistogram": { - "shape": "Ss" - } - } - } - }, - "Sk": { - "type": "list", - "member": {} - }, - "Sq": { - "type": "structure", - "members": { - "ThrottleCount": { - "type": "long" - }, - "OtherCount": { - "type": "long" - }, - "TotalCount": { - "type": "long" - } - } - }, - "Sr": { - "type": "structure", - "members": { - "OtherCount": { - "type": "long" - }, - "TotalCount": { - "type": "long" - } - } - }, - "Ss": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Value": { - "type": "double" - }, - "Count": { - "type": "integer" - } - } - } - }, - "S1d": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Name": {}, - "Names": { - "shape": "Sk" - }, - "AccountId": {}, - "Type": {} - } - } - } - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/apis/xray-2016-04-12.paginators.json b/src/node_modules/aws-sdk/apis/xray-2016-04-12.paginators.json deleted file mode 100644 index 5677bd8..0000000 --- a/src/node_modules/aws-sdk/apis/xray-2016-04-12.paginators.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/src/node_modules/aws-sdk/browser.js b/src/node_modules/aws-sdk/browser.js deleted file mode 100644 index 7867151..0000000 --- a/src/node_modules/aws-sdk/browser.js +++ /dev/null @@ -1,6 +0,0 @@ -require('./lib/browser_loader'); - -var AWS = require('./lib/core'); -if (typeof window !== 'undefined') window.AWS = AWS; -if (typeof module !== 'undefined') module.exports = AWS; -if (typeof self !== 'undefined') self.AWS = AWS; \ No newline at end of file diff --git a/src/node_modules/aws-sdk/clients/acm.d.ts b/src/node_modules/aws-sdk/clients/acm.d.ts deleted file mode 100644 index 8c7d226..0000000 --- a/src/node_modules/aws-sdk/clients/acm.d.ts +++ /dev/null @@ -1,437 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ACM extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ACM.Types.ClientConfiguration) - config: Config & ACM.Types.ClientConfiguration; - /** - * Adds one or more tags to an ACM Certificate. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. You specify the certificate on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM Certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see Tagging ACM Certificates. To remove one or more tags, use the RemoveTagsFromCertificate action. To view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action. - */ - addTagsToCertificate(params: ACM.Types.AddTagsToCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds one or more tags to an ACM Certificate. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. You specify the certificate on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM Certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see Tagging ACM Certificates. To remove one or more tags, use the RemoveTagsFromCertificate action. To view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action. - */ - addTagsToCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an ACM Certificate and its associated private key. If this action succeeds, the certificate no longer appears in the list of ACM Certificates that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by other AWS services. You cannot delete an ACM Certificate that is being used by another AWS service. To delete a certificate that is in use, the certificate association must first be removed. - */ - deleteCertificate(params: ACM.Types.DeleteCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an ACM Certificate and its associated private key. If this action succeeds, the certificate no longer appears in the list of ACM Certificates that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by other AWS services. You cannot delete an ACM Certificate that is being used by another AWS service. To delete a certificate that is in use, the certificate association must first be removed. - */ - deleteCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Returns detailed metadata about the specified ACM Certificate. - */ - describeCertificate(params: ACM.Types.DescribeCertificateRequest, callback?: (err: AWSError, data: ACM.Types.DescribeCertificateResponse) => void): Request; - /** - * Returns detailed metadata about the specified ACM Certificate. - */ - describeCertificate(callback?: (err: AWSError, data: ACM.Types.DescribeCertificateResponse) => void): Request; - /** - * Retrieves an ACM Certificate and certificate chain for the certificate specified by an ARN. The chain is an ordered list of certificates that contains the root certificate, intermediate certificates of subordinate CAs, and the ACM Certificate. The certificate and certificate chain are base64 encoded. If you want to decode the certificate chain to see the individual certificate fields, you can use OpenSSL. Currently, ACM Certificates can be used only with Elastic Load Balancing and Amazon CloudFront. - */ - getCertificate(params: ACM.Types.GetCertificateRequest, callback?: (err: AWSError, data: ACM.Types.GetCertificateResponse) => void): Request; - /** - * Retrieves an ACM Certificate and certificate chain for the certificate specified by an ARN. The chain is an ordered list of certificates that contains the root certificate, intermediate certificates of subordinate CAs, and the ACM Certificate. The certificate and certificate chain are base64 encoded. If you want to decode the certificate chain to see the individual certificate fields, you can use OpenSSL. Currently, ACM Certificates can be used only with Elastic Load Balancing and Amazon CloudFront. - */ - getCertificate(callback?: (err: AWSError, data: ACM.Types.GetCertificateResponse) => void): Request; - /** - * Imports an SSL/TLS certificate into AWS Certificate Manager (ACM) to use with ACM's integrated AWS services. ACM does not provide managed renewal for certificates that you import. For more information about importing certificates into ACM, including the differences between certificates that you import and those that ACM provides, see Importing Certificates in the AWS Certificate Manager User Guide. To import a certificate, you must provide the certificate and the matching private key. When the certificate is not self-signed, you must also provide a certificate chain. You can omit the certificate chain when importing a self-signed certificate. The certificate, private key, and certificate chain must be PEM-encoded. For more information about converting these items to PEM format, see Importing Certificates Troubleshooting in the AWS Certificate Manager User Guide. To import a new certificate, omit the CertificateArn field. Include this field only when you want to replace a previously imported certificate. This operation returns the Amazon Resource Name (ARN) of the imported certificate. - */ - importCertificate(params: ACM.Types.ImportCertificateRequest, callback?: (err: AWSError, data: ACM.Types.ImportCertificateResponse) => void): Request; - /** - * Imports an SSL/TLS certificate into AWS Certificate Manager (ACM) to use with ACM's integrated AWS services. ACM does not provide managed renewal for certificates that you import. For more information about importing certificates into ACM, including the differences between certificates that you import and those that ACM provides, see Importing Certificates in the AWS Certificate Manager User Guide. To import a certificate, you must provide the certificate and the matching private key. When the certificate is not self-signed, you must also provide a certificate chain. You can omit the certificate chain when importing a self-signed certificate. The certificate, private key, and certificate chain must be PEM-encoded. For more information about converting these items to PEM format, see Importing Certificates Troubleshooting in the AWS Certificate Manager User Guide. To import a new certificate, omit the CertificateArn field. Include this field only when you want to replace a previously imported certificate. This operation returns the Amazon Resource Name (ARN) of the imported certificate. - */ - importCertificate(callback?: (err: AWSError, data: ACM.Types.ImportCertificateResponse) => void): Request; - /** - * Retrieves a list of ACM Certificates and the domain name for each. You can optionally filter the list to return only the certificates that match the specified status. - */ - listCertificates(params: ACM.Types.ListCertificatesRequest, callback?: (err: AWSError, data: ACM.Types.ListCertificatesResponse) => void): Request; - /** - * Retrieves a list of ACM Certificates and the domain name for each. You can optionally filter the list to return only the certificates that match the specified status. - */ - listCertificates(callback?: (err: AWSError, data: ACM.Types.ListCertificatesResponse) => void): Request; - /** - * Lists the tags that have been applied to the ACM Certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM Certificate, use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action. - */ - listTagsForCertificate(params: ACM.Types.ListTagsForCertificateRequest, callback?: (err: AWSError, data: ACM.Types.ListTagsForCertificateResponse) => void): Request; - /** - * Lists the tags that have been applied to the ACM Certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM Certificate, use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action. - */ - listTagsForCertificate(callback?: (err: AWSError, data: ACM.Types.ListTagsForCertificateResponse) => void): Request; - /** - * Remove one or more tags from an ACM Certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value. To add tags to a certificate, use the AddTagsToCertificate action. To view all of the tags that have been applied to a specific ACM Certificate, use the ListTagsForCertificate action. - */ - removeTagsFromCertificate(params: ACM.Types.RemoveTagsFromCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Remove one or more tags from an ACM Certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value. To add tags to a certificate, use the AddTagsToCertificate action. To view all of the tags that have been applied to a specific ACM Certificate, use the ListTagsForCertificate action. - */ - removeTagsFromCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Requests an ACM Certificate for use with other AWS services. To request an ACM Certificate, you must specify the fully qualified domain name (FQDN) for your site. You can also specify additional FQDNs if users can reach your site by using other names. For each domain name you specify, email is sent to the domain owner to request approval to issue the certificate. After receiving approval from the domain owner, the ACM Certificate is issued. For more information, see the AWS Certificate Manager User Guide. - */ - requestCertificate(params: ACM.Types.RequestCertificateRequest, callback?: (err: AWSError, data: ACM.Types.RequestCertificateResponse) => void): Request; - /** - * Requests an ACM Certificate for use with other AWS services. To request an ACM Certificate, you must specify the fully qualified domain name (FQDN) for your site. You can also specify additional FQDNs if users can reach your site by using other names. For each domain name you specify, email is sent to the domain owner to request approval to issue the certificate. After receiving approval from the domain owner, the ACM Certificate is issued. For more information, see the AWS Certificate Manager User Guide. - */ - requestCertificate(callback?: (err: AWSError, data: ACM.Types.RequestCertificateResponse) => void): Request; - /** - * Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM Certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking I Approve. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that the mail be resent within 72 hours of requesting the ACM Certificate. If more than 72 hours have elapsed since your original request or since your last attempt to resend validation mail, you must request a new certificate. For more information about setting up your contact email addresses, see Configure Email for your Domain. - */ - resendValidationEmail(params: ACM.Types.ResendValidationEmailRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM Certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking I Approve. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that the mail be resent within 72 hours of requesting the ACM Certificate. If more than 72 hours have elapsed since your original request or since your last attempt to resend validation mail, you must request a new certificate. For more information about setting up your contact email addresses, see Configure Email for your Domain. - */ - resendValidationEmail(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace ACM { - export interface AddTagsToCertificateRequest { - /** - * String that contains the ARN of the ACM Certificate to which the tag is to be applied. This must be of the form: arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - CertificateArn: Arn; - /** - * The key-value pair that defines the tag. The tag value is optional. - */ - Tags: TagList; - } - export type Arn = string; - export type CertificateBody = string; - export type CertificateBodyBlob = Buffer|Uint8Array|Blob|string; - export type CertificateChain = string; - export type CertificateChainBlob = Buffer|Uint8Array|Blob|string; - export interface CertificateDetail { - /** - * The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - CertificateArn?: Arn; - /** - * The fully qualified domain name for the certificate, such as www.example.com or example.com. - */ - DomainName?: DomainNameString; - /** - * One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website. - */ - SubjectAlternativeNames?: DomainList; - /** - * Contains information about the initial validation of each domain name that occurs as a result of the RequestCertificate request. This field exists only when the certificate type is AMAZON_ISSUED. - */ - DomainValidationOptions?: DomainValidationList; - /** - * The serial number of the certificate. - */ - Serial?: String; - /** - * The name of the entity that is associated with the public key contained in the certificate. - */ - Subject?: String; - /** - * The name of the certificate authority that issued and signed the certificate. - */ - Issuer?: String; - /** - * The time at which the certificate was requested. This value exists only when the certificate type is AMAZON_ISSUED. - */ - CreatedAt?: TStamp; - /** - * The time at which the certificate was issued. This value exists only when the certificate type is AMAZON_ISSUED. - */ - IssuedAt?: TStamp; - /** - * The date and time at which the certificate was imported. This value exists only when the certificate type is IMPORTED. - */ - ImportedAt?: TStamp; - /** - * The status of the certificate. - */ - Status?: CertificateStatus; - /** - * The time at which the certificate was revoked. This value exists only when the certificate status is REVOKED. - */ - RevokedAt?: TStamp; - /** - * The reason the certificate was revoked. This value exists only when the certificate status is REVOKED. - */ - RevocationReason?: RevocationReason; - /** - * The time before which the certificate is not valid. - */ - NotBefore?: TStamp; - /** - * The time after which the certificate is not valid. - */ - NotAfter?: TStamp; - /** - * The algorithm that was used to generate the key pair (the public and private key). - */ - KeyAlgorithm?: KeyAlgorithm; - /** - * The algorithm that was used to sign the certificate. - */ - SignatureAlgorithm?: String; - /** - * A list of ARNs for the AWS resources that are using the certificate. A certificate can be used by multiple AWS resources. - */ - InUseBy?: InUseList; - /** - * The reason the certificate request failed. This value exists only when the certificate status is FAILED. For more information, see Certificate Request Failed in the AWS Certificate Manager User Guide. - */ - FailureReason?: FailureReason; - /** - * The source of the certificate. For certificates provided by ACM, this value is AMAZON_ISSUED. For certificates that you imported with ImportCertificate, this value is IMPORTED. ACM does not provide managed renewal for imported certificates. For more information about the differences between certificates that you import and those that ACM provides, see Importing Certificates in the AWS Certificate Manager User Guide. - */ - Type?: CertificateType; - /** - * Contains information about the status of ACM's managed renewal for the certificate. This field exists only when the certificate type is AMAZON_ISSUED. - */ - RenewalSummary?: RenewalSummary; - } - export type CertificateStatus = "PENDING_VALIDATION"|"ISSUED"|"INACTIVE"|"EXPIRED"|"VALIDATION_TIMED_OUT"|"REVOKED"|"FAILED"|string; - export type CertificateStatuses = CertificateStatus[]; - export interface CertificateSummary { - /** - * Amazon Resource Name (ARN) of the certificate. This is of the form: arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - CertificateArn?: Arn; - /** - * Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate. - */ - DomainName?: DomainNameString; - } - export type CertificateSummaryList = CertificateSummary[]; - export type CertificateType = "IMPORTED"|"AMAZON_ISSUED"|string; - export interface DeleteCertificateRequest { - /** - * String that contains the ARN of the ACM Certificate to be deleted. This must be of the form: arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - CertificateArn: Arn; - } - export interface DescribeCertificateRequest { - /** - * The Amazon Resource Name (ARN) of the ACM Certificate. The ARN must have the following form: arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - CertificateArn: Arn; - } - export interface DescribeCertificateResponse { - /** - * Metadata about an ACM certificate. - */ - Certificate?: CertificateDetail; - } - export type DomainList = DomainNameString[]; - export type DomainNameString = string; - export type DomainStatus = "PENDING_VALIDATION"|"SUCCESS"|"FAILED"|string; - export interface DomainValidation { - /** - * A fully qualified domain name (FQDN) in the certificate. For example, www.example.com or example.com. - */ - DomainName: DomainNameString; - /** - * A list of email addresses that ACM used to send domain validation emails. - */ - ValidationEmails?: ValidationEmailList; - /** - * The domain name that ACM used to send domain validation emails. - */ - ValidationDomain?: DomainNameString; - /** - * The validation status of the domain name. - */ - ValidationStatus?: DomainStatus; - } - export type DomainValidationList = DomainValidation[]; - export interface DomainValidationOption { - /** - * A fully qualified domain name (FQDN) in the certificate request. - */ - DomainName: DomainNameString; - /** - * The domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the DomainName value or a superdomain of the DomainName value. For example, if you request a certificate for testing.example.com, you can specify example.com for this value. In that case, ACM sends domain validation emails to the following five addresses: admin@example.com administrator@example.com hostmaster@example.com postmaster@example.com webmaster@example.com - */ - ValidationDomain: DomainNameString; - } - export type DomainValidationOptionList = DomainValidationOption[]; - export type FailureReason = "NO_AVAILABLE_CONTACTS"|"ADDITIONAL_VERIFICATION_REQUIRED"|"DOMAIN_NOT_ALLOWED"|"INVALID_PUBLIC_DOMAIN"|"OTHER"|string; - export interface GetCertificateRequest { - /** - * String that contains a certificate ARN in the following format: arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - CertificateArn: Arn; - } - export interface GetCertificateResponse { - /** - * String that contains the ACM Certificate represented by the ARN specified at input. - */ - Certificate?: CertificateBody; - /** - * The certificate chain that contains the root certificate issued by the certificate authority (CA). - */ - CertificateChain?: CertificateChain; - } - export type IdempotencyToken = string; - export interface ImportCertificateRequest { - /** - * The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field. - */ - CertificateArn?: Arn; - /** - * The certificate to import. It must meet the following requirements: Must be PEM-encoded. Must contain a 1024-bit or 2048-bit RSA public key. Must be valid at the time of import. You cannot import a certificate before its validity period begins (the certificate's NotBefore date) or after it expires (the certificate's NotAfter date). - */ - Certificate: CertificateBodyBlob; - /** - * The private key that matches the public key in the certificate. It must meet the following requirements: Must be PEM-encoded. Must be unencrypted. You cannot import a private key that is protected by a password or passphrase. - */ - PrivateKey: PrivateKeyBlob; - /** - * The certificate chain. It must be PEM-encoded. - */ - CertificateChain?: CertificateChainBlob; - } - export interface ImportCertificateResponse { - /** - * The Amazon Resource Name (ARN) of the imported certificate. - */ - CertificateArn?: Arn; - } - export type InUseList = String[]; - export type KeyAlgorithm = "RSA_2048"|"RSA_1024"|"EC_prime256v1"|string; - export interface ListCertificatesRequest { - /** - * The status or statuses on which to filter the list of ACM Certificates. - */ - CertificateStatuses?: CertificateStatuses; - /** - * Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received. - */ - NextToken?: NextToken; - /** - * Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items. - */ - MaxItems?: MaxItems; - } - export interface ListCertificatesResponse { - /** - * When the list is truncated, this value is present and contains the value to use for the NextToken parameter in a subsequent pagination request. - */ - NextToken?: NextToken; - /** - * A list of ACM Certificates. - */ - CertificateSummaryList?: CertificateSummaryList; - } - export interface ListTagsForCertificateRequest { - /** - * String that contains the ARN of the ACM Certificate for which you want to list the tags. This has the following form: arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - CertificateArn: Arn; - } - export interface ListTagsForCertificateResponse { - /** - * The key-value pairs that define the applied tags. - */ - Tags?: TagList; - } - export type MaxItems = number; - export type NextToken = string; - export type PrivateKeyBlob = Buffer|Uint8Array|Blob|string; - export interface RemoveTagsFromCertificateRequest { - /** - * String that contains the ARN of the ACM Certificate with one or more tags that you want to remove. This must be of the form: arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - CertificateArn: Arn; - /** - * The key-value pair that defines the tag to remove. - */ - Tags: TagList; - } - export type RenewalStatus = "PENDING_AUTO_RENEWAL"|"PENDING_VALIDATION"|"SUCCESS"|"FAILED"|string; - export interface RenewalSummary { - /** - * The status of ACM's managed renewal of the certificate. - */ - RenewalStatus: RenewalStatus; - /** - * Contains information about the validation of each domain name in the certificate, as it pertains to ACM's managed renewal. This is different from the initial validation that occurs as a result of the RequestCertificate request. This field exists only when the certificate type is AMAZON_ISSUED. - */ - DomainValidationOptions: DomainValidationList; - } - export interface RequestCertificateRequest { - /** - * Fully qualified domain name (FQDN), such as www.example.com, of the site that you want to secure with an ACM Certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com. The maximum length of a DNS name is 253 octets. The name is made up of multiple labels separated by periods. No label can be longer than 63 octets. Consider the following examples: (63 octets).(63 octets).(63 octets).(61 octets) is legal because the total length is 253 octets (63+1+63+1+63+1+61) and no label exceeds 63 octets. (64 octets).(63 octets).(63 octets).(61 octets) is not legal because the total length exceeds 253 octets (64+1+63+1+63+1+61) and the first label exceeds 63 octets. (63 octets).(63 octets).(63 octets).(62 octets) is not legal because the total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets. - */ - DomainName: DomainNameString; - /** - * Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name www.example.net to a certificate for which the DomainName field is www.example.com if users can reach your site by using either name. The maximum number of domain names that you can add to an ACM Certificate is 100. However, the initial limit is 10 domain names. If you need more than 10 names, you must request a limit increase. For more information, see Limits. - */ - SubjectAlternativeNames?: DomainList; - /** - * Customer chosen string that can be used to distinguish between calls to RequestCertificate. Idempotency tokens time out after one hour. Therefore, if you call RequestCertificate multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates. - */ - IdempotencyToken?: IdempotencyToken; - /** - * The domain name that you want ACM to use to send you emails to validate your ownership of the domain. - */ - DomainValidationOptions?: DomainValidationOptionList; - } - export interface RequestCertificateResponse { - /** - * String that contains the ARN of the issued certificate. This must be of the form: arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 - */ - CertificateArn?: Arn; - } - export interface ResendValidationEmailRequest { - /** - * String that contains the ARN of the requested certificate. The certificate ARN is generated and returned by the RequestCertificate action as soon as the request is made. By default, using this parameter causes email to be sent to all top-level domains you specified in the certificate request. The ARN must be of the form: arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 - */ - CertificateArn: Arn; - /** - * The fully qualified domain name (FQDN) of the certificate that needs to be validated. - */ - Domain: DomainNameString; - /** - * The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the Domain value or a superdomain of the Domain value. For example, if you requested a certificate for site.subdomain.example.com and specify a ValidationDomain of subdomain.example.com, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses: admin@subdomain.example.com administrator@subdomain.example.com hostmaster@subdomain.example.com postmaster@subdomain.example.com webmaster@subdomain.example.com - */ - ValidationDomain: DomainNameString; - } - export type RevocationReason = "UNSPECIFIED"|"KEY_COMPROMISE"|"CA_COMPROMISE"|"AFFILIATION_CHANGED"|"SUPERCEDED"|"CESSATION_OF_OPERATION"|"CERTIFICATE_HOLD"|"REMOVE_FROM_CRL"|"PRIVILEGE_WITHDRAWN"|"A_A_COMPROMISE"|string; - export type String = string; - export type TStamp = Date; - export interface Tag { - /** - * The key of the tag. - */ - Key: TagKey; - /** - * The value of the tag. - */ - Value?: TagValue; - } - export type TagKey = string; - export type TagList = Tag[]; - export type TagValue = string; - export type ValidationEmailList = String[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-12-08"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ACM client. - */ - export import Types = ACM; -} -export = ACM; diff --git a/src/node_modules/aws-sdk/clients/acm.js b/src/node_modules/aws-sdk/clients/acm.js deleted file mode 100644 index 9edd68e..0000000 --- a/src/node_modules/aws-sdk/clients/acm.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['acm'] = {}; -AWS.ACM = Service.defineService('acm', ['2015-12-08']); -Object.defineProperty(apiLoader.services['acm'], '2015-12-08', { - get: function get() { - var model = require('../apis/acm-2015-12-08.min.json'); - model.paginators = require('../apis/acm-2015-12-08.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ACM; diff --git a/src/node_modules/aws-sdk/clients/all.d.ts b/src/node_modules/aws-sdk/clients/all.d.ts deleted file mode 100644 index 071b31f..0000000 --- a/src/node_modules/aws-sdk/clients/all.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -export import ACM = require('./acm'); -export import APIGateway = require('./apigateway'); -export import ApplicationAutoScaling = require('./applicationautoscaling'); -export import AppStream = require('./appstream'); -export import AutoScaling = require('./autoscaling'); -export import Batch = require('./batch'); -export import Budgets = require('./budgets'); -export import CloudDirectory = require('./clouddirectory'); -export import CloudFormation = require('./cloudformation'); -export import CloudFront = require('./cloudfront'); -export import CloudHSM = require('./cloudhsm'); -export import CloudSearch = require('./cloudsearch'); -export import CloudSearchDomain = require('./cloudsearchdomain'); -export import CloudTrail = require('./cloudtrail'); -export import CloudWatch = require('./cloudwatch'); -export import CloudWatchEvents = require('./cloudwatchevents'); -export import CloudWatchLogs = require('./cloudwatchlogs'); -export import CodeBuild = require('./codebuild'); -export import CodeCommit = require('./codecommit'); -export import CodeDeploy = require('./codedeploy'); -export import CodePipeline = require('./codepipeline'); -export import CognitoIdentity = require('./cognitoidentity'); -export import CognitoIdentityServiceProvider = require('./cognitoidentityserviceprovider'); -export import CognitoSync = require('./cognitosync'); -export import ConfigService = require('./configservice'); -export import CUR = require('./cur'); -export import DataPipeline = require('./datapipeline'); -export import DeviceFarm = require('./devicefarm'); -export import DirectConnect = require('./directconnect'); -export import DirectoryService = require('./directoryservice'); -export import Discovery = require('./discovery'); -export import DMS = require('./dms'); -export import DynamoDB = require('./dynamodb'); -export import DynamoDBStreams = require('./dynamodbstreams'); -export import EC2 = require('./ec2'); -export import ECR = require('./ecr'); -export import ECS = require('./ecs'); -export import EFS = require('./efs'); -export import ElastiCache = require('./elasticache'); -export import ElasticBeanstalk = require('./elasticbeanstalk'); -export import ELB = require('./elb'); -export import ELBv2 = require('./elbv2'); -export import EMR = require('./emr'); -export import ES = require('./es'); -export import ElasticTranscoder = require('./elastictranscoder'); -export import Firehose = require('./firehose'); -export import GameLift = require('./gamelift'); -export import Glacier = require('./glacier'); -export import Health = require('./health'); -export import IAM = require('./iam'); -export import ImportExport = require('./importexport'); -export import Inspector = require('./inspector'); -export import Iot = require('./iot'); -export import IotData = require('./iotdata'); -export import Kinesis = require('./kinesis'); -export import KinesisAnalytics = require('./kinesisanalytics'); -export import KMS = require('./kms'); -export import Lambda = require('./lambda'); -export import LexRuntime = require('./lexruntime'); -export import Lightsail = require('./lightsail'); -export import MachineLearning = require('./machinelearning'); -export import MarketplaceCommerceAnalytics = require('./marketplacecommerceanalytics'); -export import MarketplaceMetering = require('./marketplacemetering'); -export import MTurk = require('./mturk'); -export import MobileAnalytics = require('./mobileanalytics'); -export import OpsWorks = require('./opsworks'); -export import OpsWorksCM = require('./opsworkscm'); -export import Organizations = require('./organizations'); -export import Pinpoint = require('./pinpoint'); -export import Polly = require('./polly'); -export import RDS = require('./rds'); -export import Redshift = require('./redshift'); -export import Rekognition = require('./rekognition'); -export import ResourceGroupsTaggingAPI = require('./resourcegroupstaggingapi'); -export import Route53 = require('./route53'); -export import Route53Domains = require('./route53domains'); -export import S3 = require('./s3'); -export import ServiceCatalog = require('./servicecatalog'); -export import SES = require('./ses'); -export import Shield = require('./shield'); -export import SimpleDB = require('./simpledb'); -export import SMS = require('./sms'); -export import Snowball = require('./snowball'); -export import SNS = require('./sns'); -export import SQS = require('./sqs'); -export import SSM = require('./ssm'); -export import StorageGateway = require('./storagegateway'); -export import StepFunctions = require('./stepfunctions'); -export import STS = require('./sts'); -export import Support = require('./support'); -export import SWF = require('./swf'); -export import XRay = require('./xray'); -export import WAF = require('./waf'); -export import WAFRegional = require('./wafregional'); -export import WorkDocs = require('./workdocs'); -export import WorkSpaces = require('./workspaces'); -export import CodeStar = require('./codestar'); -export import LexModelBuildingService = require('./lexmodelbuildingservice'); -export import MarketplaceEntitlementService = require('./marketplaceentitlementservice'); -export import Athena = require('./athena'); -export import Greengrass = require('./greengrass'); -export import DAX = require('./dax'); diff --git a/src/node_modules/aws-sdk/clients/all.js b/src/node_modules/aws-sdk/clients/all.js deleted file mode 100644 index d719878..0000000 --- a/src/node_modules/aws-sdk/clients/all.js +++ /dev/null @@ -1,107 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); - -module.exports = { - ACM: require('./acm'), - APIGateway: require('./apigateway'), - ApplicationAutoScaling: require('./applicationautoscaling'), - AppStream: require('./appstream'), - AutoScaling: require('./autoscaling'), - Batch: require('./batch'), - Budgets: require('./budgets'), - CloudDirectory: require('./clouddirectory'), - CloudFormation: require('./cloudformation'), - CloudFront: require('./cloudfront'), - CloudHSM: require('./cloudhsm'), - CloudSearch: require('./cloudsearch'), - CloudSearchDomain: require('./cloudsearchdomain'), - CloudTrail: require('./cloudtrail'), - CloudWatch: require('./cloudwatch'), - CloudWatchEvents: require('./cloudwatchevents'), - CloudWatchLogs: require('./cloudwatchlogs'), - CodeBuild: require('./codebuild'), - CodeCommit: require('./codecommit'), - CodeDeploy: require('./codedeploy'), - CodePipeline: require('./codepipeline'), - CognitoIdentity: require('./cognitoidentity'), - CognitoIdentityServiceProvider: require('./cognitoidentityserviceprovider'), - CognitoSync: require('./cognitosync'), - ConfigService: require('./configservice'), - CUR: require('./cur'), - DataPipeline: require('./datapipeline'), - DeviceFarm: require('./devicefarm'), - DirectConnect: require('./directconnect'), - DirectoryService: require('./directoryservice'), - Discovery: require('./discovery'), - DMS: require('./dms'), - DynamoDB: require('./dynamodb'), - DynamoDBStreams: require('./dynamodbstreams'), - EC2: require('./ec2'), - ECR: require('./ecr'), - ECS: require('./ecs'), - EFS: require('./efs'), - ElastiCache: require('./elasticache'), - ElasticBeanstalk: require('./elasticbeanstalk'), - ELB: require('./elb'), - ELBv2: require('./elbv2'), - EMR: require('./emr'), - ES: require('./es'), - ElasticTranscoder: require('./elastictranscoder'), - Firehose: require('./firehose'), - GameLift: require('./gamelift'), - Glacier: require('./glacier'), - Health: require('./health'), - IAM: require('./iam'), - ImportExport: require('./importexport'), - Inspector: require('./inspector'), - Iot: require('./iot'), - IotData: require('./iotdata'), - Kinesis: require('./kinesis'), - KinesisAnalytics: require('./kinesisanalytics'), - KMS: require('./kms'), - Lambda: require('./lambda'), - LexRuntime: require('./lexruntime'), - Lightsail: require('./lightsail'), - MachineLearning: require('./machinelearning'), - MarketplaceCommerceAnalytics: require('./marketplacecommerceanalytics'), - MarketplaceMetering: require('./marketplacemetering'), - MTurk: require('./mturk'), - MobileAnalytics: require('./mobileanalytics'), - OpsWorks: require('./opsworks'), - OpsWorksCM: require('./opsworkscm'), - Organizations: require('./organizations'), - Pinpoint: require('./pinpoint'), - Polly: require('./polly'), - RDS: require('./rds'), - Redshift: require('./redshift'), - Rekognition: require('./rekognition'), - ResourceGroupsTaggingAPI: require('./resourcegroupstaggingapi'), - Route53: require('./route53'), - Route53Domains: require('./route53domains'), - S3: require('./s3'), - ServiceCatalog: require('./servicecatalog'), - SES: require('./ses'), - Shield: require('./shield'), - SimpleDB: require('./simpledb'), - SMS: require('./sms'), - Snowball: require('./snowball'), - SNS: require('./sns'), - SQS: require('./sqs'), - SSM: require('./ssm'), - StorageGateway: require('./storagegateway'), - StepFunctions: require('./stepfunctions'), - STS: require('./sts'), - Support: require('./support'), - SWF: require('./swf'), - XRay: require('./xray'), - WAF: require('./waf'), - WAFRegional: require('./wafregional'), - WorkDocs: require('./workdocs'), - WorkSpaces: require('./workspaces'), - CodeStar: require('./codestar'), - LexModelBuildingService: require('./lexmodelbuildingservice'), - MarketplaceEntitlementService: require('./marketplaceentitlementservice'), - Athena: require('./athena'), - Greengrass: require('./greengrass'), - DAX: require('./dax') -}; \ No newline at end of file diff --git a/src/node_modules/aws-sdk/clients/apigateway.d.ts b/src/node_modules/aws-sdk/clients/apigateway.d.ts deleted file mode 100644 index 12b9509..0000000 --- a/src/node_modules/aws-sdk/clients/apigateway.d.ts +++ /dev/null @@ -1,3509 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class APIGateway extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: APIGateway.Types.ClientConfiguration) - config: Config & APIGateway.Types.ClientConfiguration; - /** - * Create an ApiKey resource. AWS CLI - */ - createApiKey(params: APIGateway.Types.CreateApiKeyRequest, callback?: (err: AWSError, data: APIGateway.Types.ApiKey) => void): Request; - /** - * Create an ApiKey resource. AWS CLI - */ - createApiKey(callback?: (err: AWSError, data: APIGateway.Types.ApiKey) => void): Request; - /** - * Adds a new Authorizer resource to an existing RestApi resource. AWS CLI - */ - createAuthorizer(params: APIGateway.Types.CreateAuthorizerRequest, callback?: (err: AWSError, data: APIGateway.Types.Authorizer) => void): Request; - /** - * Adds a new Authorizer resource to an existing RestApi resource. AWS CLI - */ - createAuthorizer(callback?: (err: AWSError, data: APIGateway.Types.Authorizer) => void): Request; - /** - * Creates a new BasePathMapping resource. - */ - createBasePathMapping(params: APIGateway.Types.CreateBasePathMappingRequest, callback?: (err: AWSError, data: APIGateway.Types.BasePathMapping) => void): Request; - /** - * Creates a new BasePathMapping resource. - */ - createBasePathMapping(callback?: (err: AWSError, data: APIGateway.Types.BasePathMapping) => void): Request; - /** - * Creates a Deployment resource, which makes a specified RestApi callable over the internet. - */ - createDeployment(params: APIGateway.Types.CreateDeploymentRequest, callback?: (err: AWSError, data: APIGateway.Types.Deployment) => void): Request; - /** - * Creates a Deployment resource, which makes a specified RestApi callable over the internet. - */ - createDeployment(callback?: (err: AWSError, data: APIGateway.Types.Deployment) => void): Request; - /** - * - */ - createDocumentationPart(params: APIGateway.Types.CreateDocumentationPartRequest, callback?: (err: AWSError, data: APIGateway.Types.DocumentationPart) => void): Request; - /** - * - */ - createDocumentationPart(callback?: (err: AWSError, data: APIGateway.Types.DocumentationPart) => void): Request; - /** - * - */ - createDocumentationVersion(params: APIGateway.Types.CreateDocumentationVersionRequest, callback?: (err: AWSError, data: APIGateway.Types.DocumentationVersion) => void): Request; - /** - * - */ - createDocumentationVersion(callback?: (err: AWSError, data: APIGateway.Types.DocumentationVersion) => void): Request; - /** - * Creates a new domain name. - */ - createDomainName(params: APIGateway.Types.CreateDomainNameRequest, callback?: (err: AWSError, data: APIGateway.Types.DomainName) => void): Request; - /** - * Creates a new domain name. - */ - createDomainName(callback?: (err: AWSError, data: APIGateway.Types.DomainName) => void): Request; - /** - * Adds a new Model resource to an existing RestApi resource. - */ - createModel(params: APIGateway.Types.CreateModelRequest, callback?: (err: AWSError, data: APIGateway.Types.Model) => void): Request; - /** - * Adds a new Model resource to an existing RestApi resource. - */ - createModel(callback?: (err: AWSError, data: APIGateway.Types.Model) => void): Request; - /** - * Creates a ReqeustValidator of a given RestApi. - */ - createRequestValidator(params: APIGateway.Types.CreateRequestValidatorRequest, callback?: (err: AWSError, data: APIGateway.Types.RequestValidator) => void): Request; - /** - * Creates a ReqeustValidator of a given RestApi. - */ - createRequestValidator(callback?: (err: AWSError, data: APIGateway.Types.RequestValidator) => void): Request; - /** - * Creates a Resource resource. - */ - createResource(params: APIGateway.Types.CreateResourceRequest, callback?: (err: AWSError, data: APIGateway.Types.Resource) => void): Request; - /** - * Creates a Resource resource. - */ - createResource(callback?: (err: AWSError, data: APIGateway.Types.Resource) => void): Request; - /** - * Creates a new RestApi resource. - */ - createRestApi(params: APIGateway.Types.CreateRestApiRequest, callback?: (err: AWSError, data: APIGateway.Types.RestApi) => void): Request; - /** - * Creates a new RestApi resource. - */ - createRestApi(callback?: (err: AWSError, data: APIGateway.Types.RestApi) => void): Request; - /** - * Creates a new Stage resource that references a pre-existing Deployment for the API. - */ - createStage(params: APIGateway.Types.CreateStageRequest, callback?: (err: AWSError, data: APIGateway.Types.Stage) => void): Request; - /** - * Creates a new Stage resource that references a pre-existing Deployment for the API. - */ - createStage(callback?: (err: AWSError, data: APIGateway.Types.Stage) => void): Request; - /** - * Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload. - */ - createUsagePlan(params: APIGateway.Types.CreateUsagePlanRequest, callback?: (err: AWSError, data: APIGateway.Types.UsagePlan) => void): Request; - /** - * Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload. - */ - createUsagePlan(callback?: (err: AWSError, data: APIGateway.Types.UsagePlan) => void): Request; - /** - * Creates a usage plan key for adding an existing API key to a usage plan. - */ - createUsagePlanKey(params: APIGateway.Types.CreateUsagePlanKeyRequest, callback?: (err: AWSError, data: APIGateway.Types.UsagePlanKey) => void): Request; - /** - * Creates a usage plan key for adding an existing API key to a usage plan. - */ - createUsagePlanKey(callback?: (err: AWSError, data: APIGateway.Types.UsagePlanKey) => void): Request; - /** - * Deletes the ApiKey resource. - */ - deleteApiKey(params: APIGateway.Types.DeleteApiKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the ApiKey resource. - */ - deleteApiKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an existing Authorizer resource. AWS CLI - */ - deleteAuthorizer(params: APIGateway.Types.DeleteAuthorizerRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an existing Authorizer resource. AWS CLI - */ - deleteAuthorizer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the BasePathMapping resource. - */ - deleteBasePathMapping(params: APIGateway.Types.DeleteBasePathMappingRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the BasePathMapping resource. - */ - deleteBasePathMapping(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the ClientCertificate resource. - */ - deleteClientCertificate(params: APIGateway.Types.DeleteClientCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the ClientCertificate resource. - */ - deleteClientCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it. - */ - deleteDeployment(params: APIGateway.Types.DeleteDeploymentRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it. - */ - deleteDeployment(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * - */ - deleteDocumentationPart(params: APIGateway.Types.DeleteDocumentationPartRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * - */ - deleteDocumentationPart(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * - */ - deleteDocumentationVersion(params: APIGateway.Types.DeleteDocumentationVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * - */ - deleteDocumentationVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the DomainName resource. - */ - deleteDomainName(params: APIGateway.Types.DeleteDomainNameRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the DomainName resource. - */ - deleteDomainName(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents a delete integration. - */ - deleteIntegration(params: APIGateway.Types.DeleteIntegrationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents a delete integration. - */ - deleteIntegration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents a delete integration response. - */ - deleteIntegrationResponse(params: APIGateway.Types.DeleteIntegrationResponseRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents a delete integration response. - */ - deleteIntegrationResponse(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an existing Method resource. - */ - deleteMethod(params: APIGateway.Types.DeleteMethodRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an existing Method resource. - */ - deleteMethod(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an existing MethodResponse resource. - */ - deleteMethodResponse(params: APIGateway.Types.DeleteMethodResponseRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an existing MethodResponse resource. - */ - deleteMethodResponse(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a model. - */ - deleteModel(params: APIGateway.Types.DeleteModelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a model. - */ - deleteModel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a RequestValidator of a given RestApi. - */ - deleteRequestValidator(params: APIGateway.Types.DeleteRequestValidatorRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a RequestValidator of a given RestApi. - */ - deleteRequestValidator(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a Resource resource. - */ - deleteResource(params: APIGateway.Types.DeleteResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a Resource resource. - */ - deleteResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified API. - */ - deleteRestApi(params: APIGateway.Types.DeleteRestApiRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified API. - */ - deleteRestApi(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a Stage resource. - */ - deleteStage(params: APIGateway.Types.DeleteStageRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a Stage resource. - */ - deleteStage(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a usage plan of a given plan Id. - */ - deleteUsagePlan(params: APIGateway.Types.DeleteUsagePlanRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a usage plan of a given plan Id. - */ - deleteUsagePlan(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a usage plan key and remove the underlying API key from the associated usage plan. - */ - deleteUsagePlanKey(params: APIGateway.Types.DeleteUsagePlanKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a usage plan key and remove the underlying API key from the associated usage plan. - */ - deleteUsagePlanKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Flushes all authorizer cache entries on a stage. - */ - flushStageAuthorizersCache(params: APIGateway.Types.FlushStageAuthorizersCacheRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Flushes all authorizer cache entries on a stage. - */ - flushStageAuthorizersCache(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Flushes a stage's cache. - */ - flushStageCache(params: APIGateway.Types.FlushStageCacheRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Flushes a stage's cache. - */ - flushStageCache(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Generates a ClientCertificate resource. - */ - generateClientCertificate(params: APIGateway.Types.GenerateClientCertificateRequest, callback?: (err: AWSError, data: APIGateway.Types.ClientCertificate) => void): Request; - /** - * Generates a ClientCertificate resource. - */ - generateClientCertificate(callback?: (err: AWSError, data: APIGateway.Types.ClientCertificate) => void): Request; - /** - * Gets information about the current Account resource. - */ - getAccount(params: APIGateway.Types.GetAccountRequest, callback?: (err: AWSError, data: APIGateway.Types.Account) => void): Request; - /** - * Gets information about the current Account resource. - */ - getAccount(callback?: (err: AWSError, data: APIGateway.Types.Account) => void): Request; - /** - * Gets information about the current ApiKey resource. - */ - getApiKey(params: APIGateway.Types.GetApiKeyRequest, callback?: (err: AWSError, data: APIGateway.Types.ApiKey) => void): Request; - /** - * Gets information about the current ApiKey resource. - */ - getApiKey(callback?: (err: AWSError, data: APIGateway.Types.ApiKey) => void): Request; - /** - * Gets information about the current ApiKeys resource. - */ - getApiKeys(params: APIGateway.Types.GetApiKeysRequest, callback?: (err: AWSError, data: APIGateway.Types.ApiKeys) => void): Request; - /** - * Gets information about the current ApiKeys resource. - */ - getApiKeys(callback?: (err: AWSError, data: APIGateway.Types.ApiKeys) => void): Request; - /** - * Describe an existing Authorizer resource. AWS CLI - */ - getAuthorizer(params: APIGateway.Types.GetAuthorizerRequest, callback?: (err: AWSError, data: APIGateway.Types.Authorizer) => void): Request; - /** - * Describe an existing Authorizer resource. AWS CLI - */ - getAuthorizer(callback?: (err: AWSError, data: APIGateway.Types.Authorizer) => void): Request; - /** - * Describe an existing Authorizers resource. AWS CLI - */ - getAuthorizers(params: APIGateway.Types.GetAuthorizersRequest, callback?: (err: AWSError, data: APIGateway.Types.Authorizers) => void): Request; - /** - * Describe an existing Authorizers resource. AWS CLI - */ - getAuthorizers(callback?: (err: AWSError, data: APIGateway.Types.Authorizers) => void): Request; - /** - * Describe a BasePathMapping resource. - */ - getBasePathMapping(params: APIGateway.Types.GetBasePathMappingRequest, callback?: (err: AWSError, data: APIGateway.Types.BasePathMapping) => void): Request; - /** - * Describe a BasePathMapping resource. - */ - getBasePathMapping(callback?: (err: AWSError, data: APIGateway.Types.BasePathMapping) => void): Request; - /** - * Represents a collection of BasePathMapping resources. - */ - getBasePathMappings(params: APIGateway.Types.GetBasePathMappingsRequest, callback?: (err: AWSError, data: APIGateway.Types.BasePathMappings) => void): Request; - /** - * Represents a collection of BasePathMapping resources. - */ - getBasePathMappings(callback?: (err: AWSError, data: APIGateway.Types.BasePathMappings) => void): Request; - /** - * Gets information about the current ClientCertificate resource. - */ - getClientCertificate(params: APIGateway.Types.GetClientCertificateRequest, callback?: (err: AWSError, data: APIGateway.Types.ClientCertificate) => void): Request; - /** - * Gets information about the current ClientCertificate resource. - */ - getClientCertificate(callback?: (err: AWSError, data: APIGateway.Types.ClientCertificate) => void): Request; - /** - * Gets a collection of ClientCertificate resources. - */ - getClientCertificates(params: APIGateway.Types.GetClientCertificatesRequest, callback?: (err: AWSError, data: APIGateway.Types.ClientCertificates) => void): Request; - /** - * Gets a collection of ClientCertificate resources. - */ - getClientCertificates(callback?: (err: AWSError, data: APIGateway.Types.ClientCertificates) => void): Request; - /** - * Gets information about a Deployment resource. - */ - getDeployment(params: APIGateway.Types.GetDeploymentRequest, callback?: (err: AWSError, data: APIGateway.Types.Deployment) => void): Request; - /** - * Gets information about a Deployment resource. - */ - getDeployment(callback?: (err: AWSError, data: APIGateway.Types.Deployment) => void): Request; - /** - * Gets information about a Deployments collection. - */ - getDeployments(params: APIGateway.Types.GetDeploymentsRequest, callback?: (err: AWSError, data: APIGateway.Types.Deployments) => void): Request; - /** - * Gets information about a Deployments collection. - */ - getDeployments(callback?: (err: AWSError, data: APIGateway.Types.Deployments) => void): Request; - /** - * - */ - getDocumentationPart(params: APIGateway.Types.GetDocumentationPartRequest, callback?: (err: AWSError, data: APIGateway.Types.DocumentationPart) => void): Request; - /** - * - */ - getDocumentationPart(callback?: (err: AWSError, data: APIGateway.Types.DocumentationPart) => void): Request; - /** - * - */ - getDocumentationParts(params: APIGateway.Types.GetDocumentationPartsRequest, callback?: (err: AWSError, data: APIGateway.Types.DocumentationParts) => void): Request; - /** - * - */ - getDocumentationParts(callback?: (err: AWSError, data: APIGateway.Types.DocumentationParts) => void): Request; - /** - * - */ - getDocumentationVersion(params: APIGateway.Types.GetDocumentationVersionRequest, callback?: (err: AWSError, data: APIGateway.Types.DocumentationVersion) => void): Request; - /** - * - */ - getDocumentationVersion(callback?: (err: AWSError, data: APIGateway.Types.DocumentationVersion) => void): Request; - /** - * - */ - getDocumentationVersions(params: APIGateway.Types.GetDocumentationVersionsRequest, callback?: (err: AWSError, data: APIGateway.Types.DocumentationVersions) => void): Request; - /** - * - */ - getDocumentationVersions(callback?: (err: AWSError, data: APIGateway.Types.DocumentationVersions) => void): Request; - /** - * Represents a domain name that is contained in a simpler, more intuitive URL that can be called. - */ - getDomainName(params: APIGateway.Types.GetDomainNameRequest, callback?: (err: AWSError, data: APIGateway.Types.DomainName) => void): Request; - /** - * Represents a domain name that is contained in a simpler, more intuitive URL that can be called. - */ - getDomainName(callback?: (err: AWSError, data: APIGateway.Types.DomainName) => void): Request; - /** - * Represents a collection of DomainName resources. - */ - getDomainNames(params: APIGateway.Types.GetDomainNamesRequest, callback?: (err: AWSError, data: APIGateway.Types.DomainNames) => void): Request; - /** - * Represents a collection of DomainName resources. - */ - getDomainNames(callback?: (err: AWSError, data: APIGateway.Types.DomainNames) => void): Request; - /** - * Exports a deployed version of a RestApi in a specified format. - */ - getExport(params: APIGateway.Types.GetExportRequest, callback?: (err: AWSError, data: APIGateway.Types.ExportResponse) => void): Request; - /** - * Exports a deployed version of a RestApi in a specified format. - */ - getExport(callback?: (err: AWSError, data: APIGateway.Types.ExportResponse) => void): Request; - /** - * Represents a get integration. - */ - getIntegration(params: APIGateway.Types.GetIntegrationRequest, callback?: (err: AWSError, data: APIGateway.Types.Integration) => void): Request; - /** - * Represents a get integration. - */ - getIntegration(callback?: (err: AWSError, data: APIGateway.Types.Integration) => void): Request; - /** - * Represents a get integration response. - */ - getIntegrationResponse(params: APIGateway.Types.GetIntegrationResponseRequest, callback?: (err: AWSError, data: APIGateway.Types.IntegrationResponse) => void): Request; - /** - * Represents a get integration response. - */ - getIntegrationResponse(callback?: (err: AWSError, data: APIGateway.Types.IntegrationResponse) => void): Request; - /** - * Describe an existing Method resource. - */ - getMethod(params: APIGateway.Types.GetMethodRequest, callback?: (err: AWSError, data: APIGateway.Types.Method) => void): Request; - /** - * Describe an existing Method resource. - */ - getMethod(callback?: (err: AWSError, data: APIGateway.Types.Method) => void): Request; - /** - * Describes a MethodResponse resource. - */ - getMethodResponse(params: APIGateway.Types.GetMethodResponseRequest, callback?: (err: AWSError, data: APIGateway.Types.MethodResponse) => void): Request; - /** - * Describes a MethodResponse resource. - */ - getMethodResponse(callback?: (err: AWSError, data: APIGateway.Types.MethodResponse) => void): Request; - /** - * Describes an existing model defined for a RestApi resource. - */ - getModel(params: APIGateway.Types.GetModelRequest, callback?: (err: AWSError, data: APIGateway.Types.Model) => void): Request; - /** - * Describes an existing model defined for a RestApi resource. - */ - getModel(callback?: (err: AWSError, data: APIGateway.Types.Model) => void): Request; - /** - * Generates a sample mapping template that can be used to transform a payload into the structure of a model. - */ - getModelTemplate(params: APIGateway.Types.GetModelTemplateRequest, callback?: (err: AWSError, data: APIGateway.Types.Template) => void): Request; - /** - * Generates a sample mapping template that can be used to transform a payload into the structure of a model. - */ - getModelTemplate(callback?: (err: AWSError, data: APIGateway.Types.Template) => void): Request; - /** - * Describes existing Models defined for a RestApi resource. - */ - getModels(params: APIGateway.Types.GetModelsRequest, callback?: (err: AWSError, data: APIGateway.Types.Models) => void): Request; - /** - * Describes existing Models defined for a RestApi resource. - */ - getModels(callback?: (err: AWSError, data: APIGateway.Types.Models) => void): Request; - /** - * Gets a RequestValidator of a given RestApi. - */ - getRequestValidator(params: APIGateway.Types.GetRequestValidatorRequest, callback?: (err: AWSError, data: APIGateway.Types.RequestValidator) => void): Request; - /** - * Gets a RequestValidator of a given RestApi. - */ - getRequestValidator(callback?: (err: AWSError, data: APIGateway.Types.RequestValidator) => void): Request; - /** - * Gets the RequestValidators collection of a given RestApi. - */ - getRequestValidators(params: APIGateway.Types.GetRequestValidatorsRequest, callback?: (err: AWSError, data: APIGateway.Types.RequestValidators) => void): Request; - /** - * Gets the RequestValidators collection of a given RestApi. - */ - getRequestValidators(callback?: (err: AWSError, data: APIGateway.Types.RequestValidators) => void): Request; - /** - * Lists information about a resource. - */ - getResource(params: APIGateway.Types.GetResourceRequest, callback?: (err: AWSError, data: APIGateway.Types.Resource) => void): Request; - /** - * Lists information about a resource. - */ - getResource(callback?: (err: AWSError, data: APIGateway.Types.Resource) => void): Request; - /** - * Lists information about a collection of Resource resources. - */ - getResources(params: APIGateway.Types.GetResourcesRequest, callback?: (err: AWSError, data: APIGateway.Types.Resources) => void): Request; - /** - * Lists information about a collection of Resource resources. - */ - getResources(callback?: (err: AWSError, data: APIGateway.Types.Resources) => void): Request; - /** - * Lists the RestApi resource in the collection. - */ - getRestApi(params: APIGateway.Types.GetRestApiRequest, callback?: (err: AWSError, data: APIGateway.Types.RestApi) => void): Request; - /** - * Lists the RestApi resource in the collection. - */ - getRestApi(callback?: (err: AWSError, data: APIGateway.Types.RestApi) => void): Request; - /** - * Lists the RestApis resources for your collection. - */ - getRestApis(params: APIGateway.Types.GetRestApisRequest, callback?: (err: AWSError, data: APIGateway.Types.RestApis) => void): Request; - /** - * Lists the RestApis resources for your collection. - */ - getRestApis(callback?: (err: AWSError, data: APIGateway.Types.RestApis) => void): Request; - /** - * Generates a client SDK for a RestApi and Stage. - */ - getSdk(params: APIGateway.Types.GetSdkRequest, callback?: (err: AWSError, data: APIGateway.Types.SdkResponse) => void): Request; - /** - * Generates a client SDK for a RestApi and Stage. - */ - getSdk(callback?: (err: AWSError, data: APIGateway.Types.SdkResponse) => void): Request; - /** - * - */ - getSdkType(params: APIGateway.Types.GetSdkTypeRequest, callback?: (err: AWSError, data: APIGateway.Types.SdkType) => void): Request; - /** - * - */ - getSdkType(callback?: (err: AWSError, data: APIGateway.Types.SdkType) => void): Request; - /** - * - */ - getSdkTypes(params: APIGateway.Types.GetSdkTypesRequest, callback?: (err: AWSError, data: APIGateway.Types.SdkTypes) => void): Request; - /** - * - */ - getSdkTypes(callback?: (err: AWSError, data: APIGateway.Types.SdkTypes) => void): Request; - /** - * Gets information about a Stage resource. - */ - getStage(params: APIGateway.Types.GetStageRequest, callback?: (err: AWSError, data: APIGateway.Types.Stage) => void): Request; - /** - * Gets information about a Stage resource. - */ - getStage(callback?: (err: AWSError, data: APIGateway.Types.Stage) => void): Request; - /** - * Gets information about one or more Stage resources. - */ - getStages(params: APIGateway.Types.GetStagesRequest, callback?: (err: AWSError, data: APIGateway.Types.Stages) => void): Request; - /** - * Gets information about one or more Stage resources. - */ - getStages(callback?: (err: AWSError, data: APIGateway.Types.Stages) => void): Request; - /** - * Gets the usage data of a usage plan in a specified time interval. - */ - getUsage(params: APIGateway.Types.GetUsageRequest, callback?: (err: AWSError, data: APIGateway.Types.Usage) => void): Request; - /** - * Gets the usage data of a usage plan in a specified time interval. - */ - getUsage(callback?: (err: AWSError, data: APIGateway.Types.Usage) => void): Request; - /** - * Gets a usage plan of a given plan identifier. - */ - getUsagePlan(params: APIGateway.Types.GetUsagePlanRequest, callback?: (err: AWSError, data: APIGateway.Types.UsagePlan) => void): Request; - /** - * Gets a usage plan of a given plan identifier. - */ - getUsagePlan(callback?: (err: AWSError, data: APIGateway.Types.UsagePlan) => void): Request; - /** - * Gets a usage plan key of a given key identifier. - */ - getUsagePlanKey(params: APIGateway.Types.GetUsagePlanKeyRequest, callback?: (err: AWSError, data: APIGateway.Types.UsagePlanKey) => void): Request; - /** - * Gets a usage plan key of a given key identifier. - */ - getUsagePlanKey(callback?: (err: AWSError, data: APIGateway.Types.UsagePlanKey) => void): Request; - /** - * Gets all the usage plan keys representing the API keys added to a specified usage plan. - */ - getUsagePlanKeys(params: APIGateway.Types.GetUsagePlanKeysRequest, callback?: (err: AWSError, data: APIGateway.Types.UsagePlanKeys) => void): Request; - /** - * Gets all the usage plan keys representing the API keys added to a specified usage plan. - */ - getUsagePlanKeys(callback?: (err: AWSError, data: APIGateway.Types.UsagePlanKeys) => void): Request; - /** - * Gets all the usage plans of the caller's account. - */ - getUsagePlans(params: APIGateway.Types.GetUsagePlansRequest, callback?: (err: AWSError, data: APIGateway.Types.UsagePlans) => void): Request; - /** - * Gets all the usage plans of the caller's account. - */ - getUsagePlans(callback?: (err: AWSError, data: APIGateway.Types.UsagePlans) => void): Request; - /** - * Import API keys from an external source, such as a CSV-formatted file. - */ - importApiKeys(params: APIGateway.Types.ImportApiKeysRequest, callback?: (err: AWSError, data: APIGateway.Types.ApiKeyIds) => void): Request; - /** - * Import API keys from an external source, such as a CSV-formatted file. - */ - importApiKeys(callback?: (err: AWSError, data: APIGateway.Types.ApiKeyIds) => void): Request; - /** - * - */ - importDocumentationParts(params: APIGateway.Types.ImportDocumentationPartsRequest, callback?: (err: AWSError, data: APIGateway.Types.DocumentationPartIds) => void): Request; - /** - * - */ - importDocumentationParts(callback?: (err: AWSError, data: APIGateway.Types.DocumentationPartIds) => void): Request; - /** - * A feature of the Amazon API Gateway control service for creating a new API from an external API definition file. - */ - importRestApi(params: APIGateway.Types.ImportRestApiRequest, callback?: (err: AWSError, data: APIGateway.Types.RestApi) => void): Request; - /** - * A feature of the Amazon API Gateway control service for creating a new API from an external API definition file. - */ - importRestApi(callback?: (err: AWSError, data: APIGateway.Types.RestApi) => void): Request; - /** - * Represents a put integration. - */ - putIntegration(params: APIGateway.Types.PutIntegrationRequest, callback?: (err: AWSError, data: APIGateway.Types.Integration) => void): Request; - /** - * Represents a put integration. - */ - putIntegration(callback?: (err: AWSError, data: APIGateway.Types.Integration) => void): Request; - /** - * Represents a put integration. - */ - putIntegrationResponse(params: APIGateway.Types.PutIntegrationResponseRequest, callback?: (err: AWSError, data: APIGateway.Types.IntegrationResponse) => void): Request; - /** - * Represents a put integration. - */ - putIntegrationResponse(callback?: (err: AWSError, data: APIGateway.Types.IntegrationResponse) => void): Request; - /** - * Add a method to an existing Resource resource. - */ - putMethod(params: APIGateway.Types.PutMethodRequest, callback?: (err: AWSError, data: APIGateway.Types.Method) => void): Request; - /** - * Add a method to an existing Resource resource. - */ - putMethod(callback?: (err: AWSError, data: APIGateway.Types.Method) => void): Request; - /** - * Adds a MethodResponse to an existing Method resource. - */ - putMethodResponse(params: APIGateway.Types.PutMethodResponseRequest, callback?: (err: AWSError, data: APIGateway.Types.MethodResponse) => void): Request; - /** - * Adds a MethodResponse to an existing Method resource. - */ - putMethodResponse(callback?: (err: AWSError, data: APIGateway.Types.MethodResponse) => void): Request; - /** - * A feature of the Amazon API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API. - */ - putRestApi(params: APIGateway.Types.PutRestApiRequest, callback?: (err: AWSError, data: APIGateway.Types.RestApi) => void): Request; - /** - * A feature of the Amazon API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API. - */ - putRestApi(callback?: (err: AWSError, data: APIGateway.Types.RestApi) => void): Request; - /** - * Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body. Enable custom authorizers - */ - testInvokeAuthorizer(params: APIGateway.Types.TestInvokeAuthorizerRequest, callback?: (err: AWSError, data: APIGateway.Types.TestInvokeAuthorizerResponse) => void): Request; - /** - * Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body. Enable custom authorizers - */ - testInvokeAuthorizer(callback?: (err: AWSError, data: APIGateway.Types.TestInvokeAuthorizerResponse) => void): Request; - /** - * Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body. - */ - testInvokeMethod(params: APIGateway.Types.TestInvokeMethodRequest, callback?: (err: AWSError, data: APIGateway.Types.TestInvokeMethodResponse) => void): Request; - /** - * Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body. - */ - testInvokeMethod(callback?: (err: AWSError, data: APIGateway.Types.TestInvokeMethodResponse) => void): Request; - /** - * Changes information about the current Account resource. - */ - updateAccount(params: APIGateway.Types.UpdateAccountRequest, callback?: (err: AWSError, data: APIGateway.Types.Account) => void): Request; - /** - * Changes information about the current Account resource. - */ - updateAccount(callback?: (err: AWSError, data: APIGateway.Types.Account) => void): Request; - /** - * Changes information about an ApiKey resource. - */ - updateApiKey(params: APIGateway.Types.UpdateApiKeyRequest, callback?: (err: AWSError, data: APIGateway.Types.ApiKey) => void): Request; - /** - * Changes information about an ApiKey resource. - */ - updateApiKey(callback?: (err: AWSError, data: APIGateway.Types.ApiKey) => void): Request; - /** - * Updates an existing Authorizer resource. AWS CLI - */ - updateAuthorizer(params: APIGateway.Types.UpdateAuthorizerRequest, callback?: (err: AWSError, data: APIGateway.Types.Authorizer) => void): Request; - /** - * Updates an existing Authorizer resource. AWS CLI - */ - updateAuthorizer(callback?: (err: AWSError, data: APIGateway.Types.Authorizer) => void): Request; - /** - * Changes information about the BasePathMapping resource. - */ - updateBasePathMapping(params: APIGateway.Types.UpdateBasePathMappingRequest, callback?: (err: AWSError, data: APIGateway.Types.BasePathMapping) => void): Request; - /** - * Changes information about the BasePathMapping resource. - */ - updateBasePathMapping(callback?: (err: AWSError, data: APIGateway.Types.BasePathMapping) => void): Request; - /** - * Changes information about an ClientCertificate resource. - */ - updateClientCertificate(params: APIGateway.Types.UpdateClientCertificateRequest, callback?: (err: AWSError, data: APIGateway.Types.ClientCertificate) => void): Request; - /** - * Changes information about an ClientCertificate resource. - */ - updateClientCertificate(callback?: (err: AWSError, data: APIGateway.Types.ClientCertificate) => void): Request; - /** - * Changes information about a Deployment resource. - */ - updateDeployment(params: APIGateway.Types.UpdateDeploymentRequest, callback?: (err: AWSError, data: APIGateway.Types.Deployment) => void): Request; - /** - * Changes information about a Deployment resource. - */ - updateDeployment(callback?: (err: AWSError, data: APIGateway.Types.Deployment) => void): Request; - /** - * - */ - updateDocumentationPart(params: APIGateway.Types.UpdateDocumentationPartRequest, callback?: (err: AWSError, data: APIGateway.Types.DocumentationPart) => void): Request; - /** - * - */ - updateDocumentationPart(callback?: (err: AWSError, data: APIGateway.Types.DocumentationPart) => void): Request; - /** - * - */ - updateDocumentationVersion(params: APIGateway.Types.UpdateDocumentationVersionRequest, callback?: (err: AWSError, data: APIGateway.Types.DocumentationVersion) => void): Request; - /** - * - */ - updateDocumentationVersion(callback?: (err: AWSError, data: APIGateway.Types.DocumentationVersion) => void): Request; - /** - * Changes information about the DomainName resource. - */ - updateDomainName(params: APIGateway.Types.UpdateDomainNameRequest, callback?: (err: AWSError, data: APIGateway.Types.DomainName) => void): Request; - /** - * Changes information about the DomainName resource. - */ - updateDomainName(callback?: (err: AWSError, data: APIGateway.Types.DomainName) => void): Request; - /** - * Represents an update integration. - */ - updateIntegration(params: APIGateway.Types.UpdateIntegrationRequest, callback?: (err: AWSError, data: APIGateway.Types.Integration) => void): Request; - /** - * Represents an update integration. - */ - updateIntegration(callback?: (err: AWSError, data: APIGateway.Types.Integration) => void): Request; - /** - * Represents an update integration response. - */ - updateIntegrationResponse(params: APIGateway.Types.UpdateIntegrationResponseRequest, callback?: (err: AWSError, data: APIGateway.Types.IntegrationResponse) => void): Request; - /** - * Represents an update integration response. - */ - updateIntegrationResponse(callback?: (err: AWSError, data: APIGateway.Types.IntegrationResponse) => void): Request; - /** - * Updates an existing Method resource. - */ - updateMethod(params: APIGateway.Types.UpdateMethodRequest, callback?: (err: AWSError, data: APIGateway.Types.Method) => void): Request; - /** - * Updates an existing Method resource. - */ - updateMethod(callback?: (err: AWSError, data: APIGateway.Types.Method) => void): Request; - /** - * Updates an existing MethodResponse resource. - */ - updateMethodResponse(params: APIGateway.Types.UpdateMethodResponseRequest, callback?: (err: AWSError, data: APIGateway.Types.MethodResponse) => void): Request; - /** - * Updates an existing MethodResponse resource. - */ - updateMethodResponse(callback?: (err: AWSError, data: APIGateway.Types.MethodResponse) => void): Request; - /** - * Changes information about a model. - */ - updateModel(params: APIGateway.Types.UpdateModelRequest, callback?: (err: AWSError, data: APIGateway.Types.Model) => void): Request; - /** - * Changes information about a model. - */ - updateModel(callback?: (err: AWSError, data: APIGateway.Types.Model) => void): Request; - /** - * Updates a RequestValidator of a given RestApi. - */ - updateRequestValidator(params: APIGateway.Types.UpdateRequestValidatorRequest, callback?: (err: AWSError, data: APIGateway.Types.RequestValidator) => void): Request; - /** - * Updates a RequestValidator of a given RestApi. - */ - updateRequestValidator(callback?: (err: AWSError, data: APIGateway.Types.RequestValidator) => void): Request; - /** - * Changes information about a Resource resource. - */ - updateResource(params: APIGateway.Types.UpdateResourceRequest, callback?: (err: AWSError, data: APIGateway.Types.Resource) => void): Request; - /** - * Changes information about a Resource resource. - */ - updateResource(callback?: (err: AWSError, data: APIGateway.Types.Resource) => void): Request; - /** - * Changes information about the specified API. - */ - updateRestApi(params: APIGateway.Types.UpdateRestApiRequest, callback?: (err: AWSError, data: APIGateway.Types.RestApi) => void): Request; - /** - * Changes information about the specified API. - */ - updateRestApi(callback?: (err: AWSError, data: APIGateway.Types.RestApi) => void): Request; - /** - * Changes information about a Stage resource. - */ - updateStage(params: APIGateway.Types.UpdateStageRequest, callback?: (err: AWSError, data: APIGateway.Types.Stage) => void): Request; - /** - * Changes information about a Stage resource. - */ - updateStage(callback?: (err: AWSError, data: APIGateway.Types.Stage) => void): Request; - /** - * Grants a temporary extension to the reamining quota of a usage plan associated with a specified API key. - */ - updateUsage(params: APIGateway.Types.UpdateUsageRequest, callback?: (err: AWSError, data: APIGateway.Types.Usage) => void): Request; - /** - * Grants a temporary extension to the reamining quota of a usage plan associated with a specified API key. - */ - updateUsage(callback?: (err: AWSError, data: APIGateway.Types.Usage) => void): Request; - /** - * Updates a usage plan of a given plan Id. - */ - updateUsagePlan(params: APIGateway.Types.UpdateUsagePlanRequest, callback?: (err: AWSError, data: APIGateway.Types.UsagePlan) => void): Request; - /** - * Updates a usage plan of a given plan Id. - */ - updateUsagePlan(callback?: (err: AWSError, data: APIGateway.Types.UsagePlan) => void): Request; -} -declare namespace APIGateway { - export interface Account { - /** - * The ARN of an Amazon CloudWatch role for the current Account. - */ - cloudwatchRoleArn?: String; - /** - * Specifies the API request limits configured for the current Account. - */ - throttleSettings?: ThrottleSettings; - /** - * A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans". - */ - features?: ListOfString; - /** - * The version of the API keys used for the account. - */ - apiKeyVersion?: String; - } - export interface ApiKey { - /** - * The identifier of the API Key. - */ - id?: String; - /** - * The value of the API Key. - */ - value?: String; - /** - * The name of the API Key. - */ - name?: String; - /** - * An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace. - */ - customerId?: String; - /** - * The description of the API Key. - */ - description?: String; - /** - * Specifies whether the API Key can be used by callers. - */ - enabled?: Boolean; - /** - * The timestamp when the API Key was created. - */ - createdDate?: Timestamp; - /** - * The timestamp when the API Key was last updated. - */ - lastUpdatedDate?: Timestamp; - /** - * A list of Stage resources that are associated with the ApiKey resource. - */ - stageKeys?: ListOfString; - } - export interface ApiKeyIds { - /** - * A list of all the ApiKey identifiers. - */ - ids?: ListOfString; - /** - * A list of warning messages. - */ - warnings?: ListOfString; - } - export interface ApiKeys { - /** - * A list of warning messages logged during the import of API keys when the failOnWarnings option is set to true. - */ - warnings?: ListOfString; - position?: String; - /** - * The current page of any ApiKey resources in the collection of ApiKey resources. - */ - items?: ListOfApiKey; - } - export type ApiKeysFormat = "csv"|string; - export interface ApiStage { - /** - * API Id of the associated API stage in a usage plan. - */ - apiId?: String; - /** - * API stage name of the associated API stage in a usage plan. - */ - stage?: String; - } - export interface Authorizer { - /** - * The identifier for the authorizer resource. - */ - id?: String; - /** - * [Required] The name of the authorizer. - */ - name?: String; - /** - * [Required] The type of the authorizer. Currently, the valid type is TOKEN for a Lambda function or COGNITO_USER_POOLS for an Amazon Cognito user pool. - */ - type?: AuthorizerType; - /** - * A list of the provider ARNs of the authorizer. For an TOKEN authorizer, this is not defined. For authorizers of the COGNITO_USER_POOLS type, each element corresponds to a user pool ARN of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. - */ - providerARNs?: ListOfARNs; - /** - * Optional customer-defined field, used in Swagger imports/exports. Has no functional impact. - */ - authType?: String; - /** - * [Required] Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. - */ - authorizerUri?: String; - /** - * Specifies the credentials required for the authorizer, if any. Two options are available. To specify an IAM role for Amazon API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null. - */ - authorizerCredentials?: String; - /** - * [Required] The source of the identity in an incoming request. For a TOKEN authorizer, this value is a mapping expression with the same syntax as integration parameter mappings. The only valid source for tokens is 'header', so the expression should match 'method.request.header.[headerName]'. The value of the header '[headerName]' will be interpreted as the incoming token. For COGNITO_USER_POOLS authorizers, this property is used. - */ - identitySource?: String; - /** - * A validation expression for the incoming identity. For TOKEN authorizers, this value should be a regular expression. The incoming token from the client is matched against this expression, and will proceed if the token matches. If the token doesn't match, the client receives a 401 Unauthorized response. - */ - identityValidationExpression?: String; - /** - * The TTL in seconds of cached authorizer results. If greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour. - */ - authorizerResultTtlInSeconds?: NullableInteger; - } - export type AuthorizerType = "TOKEN"|"COGNITO_USER_POOLS"|string; - export interface Authorizers { - position?: String; - /** - * Gets the current list of Authorizer resources in the collection. - */ - items?: ListOfAuthorizer; - } - export interface BasePathMapping { - /** - * The base path name that callers of the API must provide as part of the URL after the domain name. - */ - basePath?: String; - /** - * The name of the API. - */ - restApiId?: String; - /** - * The name of the API's stage. - */ - stage?: String; - } - export interface BasePathMappings { - position?: String; - /** - * The current page of any BasePathMapping resources in the collection of base path mapping resources. - */ - items?: ListOfBasePathMapping; - } - export type _Blob = Buffer|Uint8Array|Blob|string; - export type Boolean = boolean; - export type CacheClusterSize = "0.5"|"1.6"|"6.1"|"13.5"|"28.4"|"58.2"|"118"|"237"|string; - export type CacheClusterStatus = "CREATE_IN_PROGRESS"|"AVAILABLE"|"DELETE_IN_PROGRESS"|"NOT_AVAILABLE"|"FLUSH_IN_PROGRESS"|string; - export interface ClientCertificate { - /** - * The identifier of the client certificate. - */ - clientCertificateId?: String; - /** - * The description of the client certificate. - */ - description?: String; - /** - * The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint . - */ - pemEncodedCertificate?: String; - /** - * The timestamp when the client certificate was created. - */ - createdDate?: Timestamp; - /** - * The timestamp when the client certificate will expire. - */ - expirationDate?: Timestamp; - } - export interface ClientCertificates { - position?: String; - /** - * The current page of any ClientCertificate resources in the collection of ClientCertificate resources. - */ - items?: ListOfClientCertificate; - } - export type ContentHandlingStrategy = "CONVERT_TO_BINARY"|"CONVERT_TO_TEXT"|string; - export interface CreateApiKeyRequest { - /** - * The name of the ApiKey. - */ - name?: String; - /** - * The description of the ApiKey. - */ - description?: String; - /** - * Specifies whether the ApiKey can be used by callers. - */ - enabled?: Boolean; - /** - * Specifies whether (true) or not (false) the key identifier is distinct from the created API key value. - */ - generateDistinctId?: Boolean; - /** - * Specifies a value of the API key. - */ - value?: String; - /** - * DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key. - */ - stageKeys?: ListOfStageKeys; - /** - * An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace. - */ - customerId?: String; - } - export interface CreateAuthorizerRequest { - /** - * The RestApi identifier under which the Authorizer will be created. - */ - restApiId: String; - /** - * [Required] The name of the authorizer. - */ - name: String; - /** - * [Required] The type of the authorizer. - */ - type: AuthorizerType; - /** - * A list of the Cognito Your User Pool authorizer's provider ARNs. - */ - providerARNs?: ListOfARNs; - /** - * Optional customer-defined field, used in Swagger imports/exports. Has no functional impact. - */ - authType?: String; - /** - * [Required] Specifies the authorizer's Uniform Resource Identifier (URI). - */ - authorizerUri?: String; - /** - * Specifies the credentials required for the authorizer, if any. - */ - authorizerCredentials?: String; - /** - * [Required] The source of the identity in an incoming request. - */ - identitySource: String; - /** - * A validation expression for the incoming identity. - */ - identityValidationExpression?: String; - /** - * The TTL of cached authorizer results. - */ - authorizerResultTtlInSeconds?: NullableInteger; - } - export interface CreateBasePathMappingRequest { - /** - * The domain name of the BasePathMapping resource to create. - */ - domainName: String; - /** - * The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify a base path name after the domain name. - */ - basePath?: String; - /** - * The name of the API that you want to apply this mapping to. - */ - restApiId: String; - /** - * The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name. - */ - stage?: String; - } - export interface CreateDeploymentRequest { - /** - * The RestApi resource identifier for the Deployment resource to create. - */ - restApiId: String; - /** - * The name of the Stage resource for the Deployment resource to create. - */ - stageName?: String; - /** - * The description of the Stage resource for the Deployment resource to create. - */ - stageDescription?: String; - /** - * The description for the Deployment resource to create. - */ - description?: String; - /** - * Enables a cache cluster for the Stage resource specified in the input. - */ - cacheClusterEnabled?: NullableBoolean; - /** - * Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled. - */ - cacheClusterSize?: CacheClusterSize; - /** - * A map that defines the stage variables for the Stage resource that is associated with the new deployment. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+. - */ - variables?: MapOfStringToString; - } - export interface CreateDocumentationPartRequest { - /** - * [Required] The identifier of an API of the to-be-created documentation part. - */ - restApiId: String; - /** - * [Required] The location of the targeted API entity of the to-be-created documentation part. - */ - location: DocumentationPartLocation; - /** - * [Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published. - */ - properties: String; - } - export interface CreateDocumentationVersionRequest { - /** - * [Required] Specifies the API identifier of the to-be-created documentation version. - */ - restApiId: String; - /** - * [Required] The version identifier of the new snapshot. - */ - documentationVersion: String; - /** - * The stage name to be associated with the new documentation snapshot. - */ - stageName?: String; - /** - * A description about the new documentation snapshot. - */ - description?: String; - } - export interface CreateDomainNameRequest { - /** - * (Required) The name of the DomainName resource. - */ - domainName: String; - /** - * The user-friendly name of the certificate. - */ - certificateName?: String; - /** - * [Deprecated] The body of the server certificate provided by your certificate authority. - */ - certificateBody?: String; - /** - * [Deprecated] Your certificate's private key. - */ - certificatePrivateKey?: String; - /** - * [Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path. - */ - certificateChain?: String; - /** - * The reference to an AWS-managed certificate. AWS Certificate Manager is the only supported source. - */ - certificateArn?: String; - } - export interface CreateModelRequest { - /** - * The RestApi identifier under which the Model will be created. - */ - restApiId: String; - /** - * The name of the model. - */ - name: String; - /** - * The description of the model. - */ - description?: String; - /** - * The schema for the model. For application/json models, this should be JSON-schema draft v4 model. - */ - schema?: String; - /** - * The content-type for the model. - */ - contentType: String; - } - export interface CreateRequestValidatorRequest { - /** - * [Required] The identifier of the RestApi for which the RequestValidator is created. - */ - restApiId: String; - /** - * The name of the to-be-created RequestValidator. - */ - name?: String; - /** - * A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false). - */ - validateRequestBody?: Boolean; - /** - * A Boolean flag to indicate whether to validate request parameters, true, or not false. - */ - validateRequestParameters?: Boolean; - } - export interface CreateResourceRequest { - /** - * The identifier of the RestApi for the resource. - */ - restApiId: String; - /** - * The parent resource's identifier. - */ - parentId: String; - /** - * The last path segment for this resource. - */ - pathPart: String; - } - export interface CreateRestApiRequest { - /** - * The name of the RestApi. - */ - name: String; - /** - * The description of the RestApi. - */ - description?: String; - /** - * A version identifier for the API. - */ - version?: String; - /** - * The ID of the RestApi that you want to clone from. - */ - cloneFrom?: String; - /** - * The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads. - */ - binaryMediaTypes?: ListOfString; - } - export interface CreateStageRequest { - /** - * The identifier of the RestApi resource for the Stage resource to create. - */ - restApiId: String; - /** - * The name for the Stage resource. - */ - stageName: String; - /** - * The identifier of the Deployment resource for the Stage resource. - */ - deploymentId: String; - /** - * The description of the Stage resource. - */ - description?: String; - /** - * Whether cache clustering is enabled for the stage. - */ - cacheClusterEnabled?: Boolean; - /** - * The stage's cache cluster size. - */ - cacheClusterSize?: CacheClusterSize; - /** - * A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+. - */ - variables?: MapOfStringToString; - /** - * The version of the associated API documentation. - */ - documentationVersion?: String; - } - export interface CreateUsagePlanKeyRequest { - /** - * The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer. - */ - usagePlanId: String; - /** - * The identifier of a UsagePlanKey resource for a plan customer. - */ - keyId: String; - /** - * The type of a UsagePlanKey resource for a plan customer. - */ - keyType: String; - } - export interface CreateUsagePlanRequest { - /** - * The name of the usage plan. - */ - name: String; - /** - * The description of the usage plan. - */ - description?: String; - /** - * The associated API stages of the usage plan. - */ - apiStages?: ListOfApiStage; - /** - * The throttling limits of the usage plan. - */ - throttle?: ThrottleSettings; - /** - * The quota of the usage plan. - */ - quota?: QuotaSettings; - } - export interface DeleteApiKeyRequest { - /** - * The identifier of the ApiKey resource to be deleted. - */ - apiKey: String; - } - export interface DeleteAuthorizerRequest { - /** - * The RestApi identifier for the Authorizer resource. - */ - restApiId: String; - /** - * The identifier of the Authorizer resource. - */ - authorizerId: String; - } - export interface DeleteBasePathMappingRequest { - /** - * The domain name of the BasePathMapping resource to delete. - */ - domainName: String; - /** - * The base path name of the BasePathMapping resource to delete. - */ - basePath: String; - } - export interface DeleteClientCertificateRequest { - /** - * The identifier of the ClientCertificate resource to be deleted. - */ - clientCertificateId: String; - } - export interface DeleteDeploymentRequest { - /** - * The identifier of the RestApi resource for the Deployment resource to delete. - */ - restApiId: String; - /** - * The identifier of the Deployment resource to delete. - */ - deploymentId: String; - } - export interface DeleteDocumentationPartRequest { - /** - * [Required] Specifies the identifier of an API of the to-be-deleted documentation part. - */ - restApiId: String; - /** - * [Required] The identifier of the to-be-deleted documentation part. - */ - documentationPartId: String; - } - export interface DeleteDocumentationVersionRequest { - /** - * [Required] The identifier of an API of a to-be-deleted documentation snapshot. - */ - restApiId: String; - /** - * [Required] The version identifier of a to-be-deleted documentation snapshot. - */ - documentationVersion: String; - } - export interface DeleteDomainNameRequest { - /** - * The name of the DomainName resource to be deleted. - */ - domainName: String; - } - export interface DeleteIntegrationRequest { - /** - * Specifies a delete integration request's API identifier. - */ - restApiId: String; - /** - * Specifies a delete integration request's resource identifier. - */ - resourceId: String; - /** - * Specifies a delete integration request's HTTP method. - */ - httpMethod: String; - } - export interface DeleteIntegrationResponseRequest { - /** - * Specifies a delete integration response request's API identifier. - */ - restApiId: String; - /** - * Specifies a delete integration response request's resource identifier. - */ - resourceId: String; - /** - * Specifies a delete integration response request's HTTP method. - */ - httpMethod: String; - /** - * Specifies a delete integration response request's status code. - */ - statusCode: StatusCode; - } - export interface DeleteMethodRequest { - /** - * The RestApi identifier for the Method resource. - */ - restApiId: String; - /** - * The Resource identifier for the Method resource. - */ - resourceId: String; - /** - * The HTTP verb of the Method resource. - */ - httpMethod: String; - } - export interface DeleteMethodResponseRequest { - /** - * The RestApi identifier for the MethodResponse resource. - */ - restApiId: String; - /** - * The Resource identifier for the MethodResponse resource. - */ - resourceId: String; - /** - * The HTTP verb of the Method resource. - */ - httpMethod: String; - /** - * The status code identifier for the MethodResponse resource. - */ - statusCode: StatusCode; - } - export interface DeleteModelRequest { - /** - * The RestApi under which the model will be deleted. - */ - restApiId: String; - /** - * The name of the model to delete. - */ - modelName: String; - } - export interface DeleteRequestValidatorRequest { - /** - * [Required] The identifier of the RestApi from which the given RequestValidator is deleted. - */ - restApiId: String; - /** - * [Required] The identifier of the RequestValidator to be deleted. - */ - requestValidatorId: String; - } - export interface DeleteResourceRequest { - /** - * The RestApi identifier for the Resource resource. - */ - restApiId: String; - /** - * The identifier of the Resource resource. - */ - resourceId: String; - } - export interface DeleteRestApiRequest { - /** - * The ID of the RestApi you want to delete. - */ - restApiId: String; - } - export interface DeleteStageRequest { - /** - * The identifier of the RestApi resource for the Stage resource to delete. - */ - restApiId: String; - /** - * The name of the Stage resource to delete. - */ - stageName: String; - } - export interface DeleteUsagePlanKeyRequest { - /** - * The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer. - */ - usagePlanId: String; - /** - * The Id of the UsagePlanKey resource to be deleted. - */ - keyId: String; - } - export interface DeleteUsagePlanRequest { - /** - * The Id of the to-be-deleted usage plan. - */ - usagePlanId: String; - } - export interface Deployment { - /** - * The identifier for the deployment resource. - */ - id?: String; - /** - * The description for the deployment resource. - */ - description?: String; - /** - * The date and time that the deployment resource was created. - */ - createdDate?: Timestamp; - /** - * A summary of the RestApi at the date and time that the deployment resource was created. - */ - apiSummary?: PathToMapOfMethodSnapshot; - } - export interface Deployments { - position?: String; - /** - * The current page of any Deployment resources in the collection of deployment resources. - */ - items?: ListOfDeployment; - } - export interface DocumentationPart { - /** - * The DocumentationPart identifier, generated by Amazon API Gateway when the DocumentationPart is created. - */ - id?: String; - /** - * The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden. - */ - location?: DocumentationPartLocation; - /** - * A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only Swagger-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a Swagger extension of x-amazon-apigateway-documentation. - */ - properties?: String; - } - export interface DocumentationPartIds { - /** - * A list of the returned documentation part identifiers. - */ - ids?: ListOfString; - /** - * A list of warning messages reported during import of documentation parts. - */ - warnings?: ListOfString; - } - export interface DocumentationPartLocation { - /** - * The type of API entity to which the documentation content applies. It is a valid and required field for API entity types of API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Content inheritance does not apply to any entity of the API, AUTHROZER, METHOD, MODEL, REQUEST_BODY, or RESOURCE type. - */ - type: DocumentationPartType; - /** - * The URL path of the target. It is a valid field for the API entity types of RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is / for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other location attributes, the child entity's path attribute must match that of the parent entity as a prefix. - */ - path?: String; - /** - * The HTTP verb of a method. It is a valid field for the API entity types of METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's method attribute must match that of the parent entity exactly. - */ - method?: String; - /** - * The HTTP status code of a response. It is a valid field for the API entity types of RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's statusCode attribute must match that of the parent entity exactly. - */ - statusCode?: DocumentationPartLocationStatusCode; - /** - * The name of the targeted API entity. It is a valid and required field for the API entity types of AUTHORIZER, MODEL, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY and RESPONSE_HEADER. It is an invalid field for any other entity type. - */ - name?: String; - } - export type DocumentationPartLocationStatusCode = string; - export type DocumentationPartType = "API"|"AUTHORIZER"|"MODEL"|"RESOURCE"|"METHOD"|"PATH_PARAMETER"|"QUERY_PARAMETER"|"REQUEST_HEADER"|"REQUEST_BODY"|"RESPONSE"|"RESPONSE_HEADER"|"RESPONSE_BODY"|string; - export interface DocumentationParts { - position?: String; - /** - * The current page of DocumentationPart resources in the DocumentationParts collection. - */ - items?: ListOfDocumentationPart; - } - export interface DocumentationVersion { - /** - * The version identifier of the API documentation snapshot. - */ - version?: String; - /** - * The date when the API documentation snapshot is created. - */ - createdDate?: Timestamp; - /** - * The description of the API documentation snapshot. - */ - description?: String; - } - export interface DocumentationVersions { - position?: String; - /** - * The current page of DocumentationVersion items from the DocumentationVersions collection of an API. - */ - items?: ListOfDocumentationVersion; - } - export interface DomainName { - /** - * The name of the DomainName resource. - */ - domainName?: String; - /** - * The name of the certificate. - */ - certificateName?: String; - /** - * The reference to an AWS-managed certificate. AWS Certificate Manager is the only supported source. - */ - certificateArn?: String; - /** - * The timestamp when the certificate was uploaded. - */ - certificateUploadDate?: Timestamp; - /** - * The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation. - */ - distributionDomainName?: String; - } - export interface DomainNames { - position?: String; - /** - * The current page of any DomainName resources in the collection of DomainName resources. - */ - items?: ListOfDomainName; - } - export type Double = number; - export interface ExportResponse { - /** - * The content-type header value in the HTTP response. This will correspond to a valid 'accept' type in the request. - */ - contentType?: String; - /** - * The content-disposition header value in the HTTP response. - */ - contentDisposition?: String; - /** - * The binary blob response to GetExport, which contains the export. - */ - body?: _Blob; - } - export interface FlushStageAuthorizersCacheRequest { - /** - * The API identifier of the stage to flush. - */ - restApiId: String; - /** - * The name of the stage to flush. - */ - stageName: String; - } - export interface FlushStageCacheRequest { - /** - * The API identifier of the stage to flush its cache. - */ - restApiId: String; - /** - * The name of the stage to flush its cache. - */ - stageName: String; - } - export interface GenerateClientCertificateRequest { - /** - * The description of the ClientCertificate. - */ - description?: String; - } - export interface GetAccountRequest { - } - export interface GetApiKeyRequest { - /** - * The identifier of the ApiKey resource. - */ - apiKey: String; - /** - * A boolean flag to specify whether (true) or not (false) the result contains the key value. - */ - includeValue?: NullableBoolean; - } - export interface GetApiKeysRequest { - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of ApiKeys to get information about. - */ - limit?: NullableInteger; - /** - * The name of queried API keys. - */ - nameQuery?: String; - /** - * The identifier of a customer in AWS Marketplace or an external system, such as a developer portal. - */ - customerId?: String; - /** - * A boolean flag to specify whether (true) or not (false) the result contains key values. - */ - includeValues?: NullableBoolean; - } - export interface GetAuthorizerRequest { - /** - * The RestApi identifier for the Authorizer resource. - */ - restApiId: String; - /** - * The identifier of the Authorizer resource. - */ - authorizerId: String; - } - export interface GetAuthorizersRequest { - /** - * The RestApi identifier for the Authorizers resource. - */ - restApiId: String; - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. - */ - limit?: NullableInteger; - } - export interface GetBasePathMappingRequest { - /** - * The domain name of the BasePathMapping resource to be described. - */ - domainName: String; - /** - * The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify any base path name after the domain name. - */ - basePath: String; - } - export interface GetBasePathMappingsRequest { - /** - * The domain name of a BasePathMapping resource. - */ - domainName: String; - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500. - */ - limit?: NullableInteger; - } - export interface GetClientCertificateRequest { - /** - * The identifier of the ClientCertificate resource to be described. - */ - clientCertificateId: String; - } - export interface GetClientCertificatesRequest { - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500. - */ - limit?: NullableInteger; - } - export interface GetDeploymentRequest { - /** - * The identifier of the RestApi resource for the Deployment resource to get information about. - */ - restApiId: String; - /** - * The identifier of the Deployment resource to get information about. - */ - deploymentId: String; - /** - * A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary. - */ - embed?: ListOfString; - } - export interface GetDeploymentsRequest { - /** - * The identifier of the RestApi resource for the collection of Deployment resources to get information about. - */ - restApiId: String; - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500. - */ - limit?: NullableInteger; - } - export interface GetDocumentationPartRequest { - /** - * [Required] The identifier of an API of the to-be-retrieved documentation part. - */ - restApiId: String; - /** - * [Required] The identifier of the to-be-retrieved documentation part. - */ - documentationPartId: String; - } - export interface GetDocumentationPartsRequest { - /** - * [Required] The identifier of the API of the to-be-retrieved documentation parts. - */ - restApiId: String; - /** - * The type of API entities of the to-be-retrieved documentation parts. - */ - type?: DocumentationPartType; - /** - * The name of API entities of the to-be-retrieved documentation parts. - */ - nameQuery?: String; - /** - * The path of API entities of the to-be-retrieved documentation parts. - */ - path?: String; - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. - */ - limit?: NullableInteger; - } - export interface GetDocumentationVersionRequest { - /** - * [Required] The identifier of the API of the to-be-retrieved documentation snapshot. - */ - restApiId: String; - /** - * [Required] The version identifier of the to-be-retrieved documentation snapshot. - */ - documentationVersion: String; - } - export interface GetDocumentationVersionsRequest { - /** - * [Required] The identifier of an API of the to-be-retrieved documentation versions. - */ - restApiId: String; - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. - */ - limit?: NullableInteger; - } - export interface GetDomainNameRequest { - /** - * The name of the DomainName resource. - */ - domainName: String; - } - export interface GetDomainNamesRequest { - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500. - */ - limit?: NullableInteger; - } - export interface GetExportRequest { - /** - * The identifier of the RestApi to be exported. - */ - restApiId: String; - /** - * The name of the Stage that will be exported. - */ - stageName: String; - /** - * The type of export. Currently only 'swagger' is supported. - */ - exportType: String; - /** - * A key-value map of query string parameters that specify properties of the export, depending on the requested exportType. For exportType swagger, any combination of the following parameters are supported: integrations will export the API with x-amazon-apigateway-integration extensions. authorizers will export the API with x-amazon-apigateway-authorizer extensions. postman will export the API with Postman extensions, allowing for import to the Postman tool - */ - parameters?: MapOfStringToString; - /** - * The content-type of the export, for example application/json. Currently application/json and application/yaml are supported for exportType of swagger. This should be specified in the Accept header for direct API requests. - */ - accepts?: String; - } - export interface GetIntegrationRequest { - /** - * Specifies a get integration request's API identifier. - */ - restApiId: String; - /** - * Specifies a get integration request's resource identifier - */ - resourceId: String; - /** - * Specifies a get integration request's HTTP method. - */ - httpMethod: String; - } - export interface GetIntegrationResponseRequest { - /** - * Specifies a get integration response request's API identifier. - */ - restApiId: String; - /** - * Specifies a get integration response request's resource identifier. - */ - resourceId: String; - /** - * Specifies a get integration response request's HTTP method. - */ - httpMethod: String; - /** - * Specifies a get integration response request's status code. - */ - statusCode: StatusCode; - } - export interface GetMethodRequest { - /** - * The RestApi identifier for the Method resource. - */ - restApiId: String; - /** - * The Resource identifier for the Method resource. - */ - resourceId: String; - /** - * Specifies the method request's HTTP method type. - */ - httpMethod: String; - } - export interface GetMethodResponseRequest { - /** - * The RestApi identifier for the MethodResponse resource. - */ - restApiId: String; - /** - * The Resource identifier for the MethodResponse resource. - */ - resourceId: String; - /** - * The HTTP verb of the Method resource. - */ - httpMethod: String; - /** - * The status code for the MethodResponse resource. - */ - statusCode: StatusCode; - } - export interface GetModelRequest { - /** - * The RestApi identifier under which the Model exists. - */ - restApiId: String; - /** - * The name of the model as an identifier. - */ - modelName: String; - /** - * A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false. - */ - flatten?: Boolean; - } - export interface GetModelTemplateRequest { - /** - * The ID of the RestApi under which the model exists. - */ - restApiId: String; - /** - * The name of the model for which to generate a template. - */ - modelName: String; - } - export interface GetModelsRequest { - /** - * The RestApi identifier. - */ - restApiId: String; - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500. - */ - limit?: NullableInteger; - } - export interface GetRequestValidatorRequest { - /** - * [Required] The identifier of the RestApi to which the specified RequestValidator belongs. - */ - restApiId: String; - /** - * [Required] The identifier of the RequestValidator to be retrieved. - */ - requestValidatorId: String; - } - export interface GetRequestValidatorsRequest { - /** - * [Required] The identifier of a RestApi to which the RequestValidators collection belongs. - */ - restApiId: String; - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. - */ - limit?: NullableInteger; - } - export interface GetResourceRequest { - /** - * The RestApi identifier for the resource. - */ - restApiId: String; - /** - * The identifier for the Resource resource. - */ - resourceId: String; - /** - * A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the "methods" string. For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods. - */ - embed?: ListOfString; - } - export interface GetResourcesRequest { - /** - * The RestApi identifier for the Resource. - */ - restApiId: String; - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500. - */ - limit?: NullableInteger; - /** - * A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the "methods" string. For example, GET /restapis/{restapi_id}/resources?embed=methods. - */ - embed?: ListOfString; - } - export interface GetRestApiRequest { - /** - * The identifier of the RestApi resource. - */ - restApiId: String; - } - export interface GetRestApisRequest { - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. The value is 25 by default and could be between 1 - 500. - */ - limit?: NullableInteger; - } - export interface GetSdkRequest { - /** - * The identifier of the RestApi that the SDK will use. - */ - restApiId: String; - /** - * The name of the Stage that the SDK will use. - */ - stageName: String; - /** - * The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported. - */ - sdkType: String; - /** - * A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType. For sdkType of objectivec, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage are required. - */ - parameters?: MapOfStringToString; - } - export interface GetSdkTypeRequest { - /** - * The identifier of the queried SdkType instance. - */ - id: String; - } - export interface GetSdkTypesRequest { - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. - */ - limit?: NullableInteger; - } - export interface GetStageRequest { - /** - * The identifier of the RestApi resource for the Stage resource to get information about. - */ - restApiId: String; - /** - * The name of the Stage resource to get information about. - */ - stageName: String; - } - export interface GetStagesRequest { - /** - * The stages' API identifiers. - */ - restApiId: String; - /** - * The stages' deployment identifiers. - */ - deploymentId?: String; - } - export interface GetUsagePlanKeyRequest { - /** - * The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer. - */ - usagePlanId: String; - /** - * The key Id of the to-be-retrieved UsagePlanKey resource representing a plan customer. - */ - keyId: String; - } - export interface GetUsagePlanKeysRequest { - /** - * The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer. - */ - usagePlanId: String; - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. - */ - limit?: NullableInteger; - /** - * A query parameter specifying the name of the to-be-returned usage plan keys. - */ - nameQuery?: String; - } - export interface GetUsagePlanRequest { - /** - * The identifier of the UsagePlan resource to be retrieved. - */ - usagePlanId: String; - } - export interface GetUsagePlansRequest { - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The identifier of the API key associated with the usage plans. - */ - keyId?: String; - /** - * The maximum number of returned results per page. - */ - limit?: NullableInteger; - } - export interface GetUsageRequest { - /** - * The Id of the usage plan associated with the usage data. - */ - usagePlanId: String; - /** - * The Id of the API key associated with the resultant usage data. - */ - keyId?: String; - /** - * The starting date (e.g., 2016-01-01) of the usage data. - */ - startDate: String; - /** - * The ending date (e.g., 2016-12-31) of the usage data. - */ - endDate: String; - /** - * The current pagination position in the paged result set. - */ - position?: String; - /** - * The maximum number of returned results per page. - */ - limit?: NullableInteger; - } - export interface ImportApiKeysRequest { - /** - * The payload of the POST request to import API keys. For the payload format, see API Key File Format. - */ - body: _Blob; - /** - * A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported. - */ - format: ApiKeysFormat; - /** - * A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered. - */ - failOnWarnings?: Boolean; - } - export interface ImportDocumentationPartsRequest { - /** - * [Required] The identifier of an API of the to-be-imported documentation parts. - */ - restApiId: String; - /** - * A query parameter to indicate whether to overwrite (OVERWRITE) any existing DocumentationParts definition or to merge (MERGE) the new definition into the existing one. The default value is MERGE. - */ - mode?: PutMode; - /** - * A query parameter to specify whether to rollback the documentation importation (true) or not (false) when a warning is encountered. The default value is false. - */ - failOnWarnings?: Boolean; - /** - * [Required] Raw byte array representing the to-be-imported documentation parts. To import from a Swagger file, this is a JSON object. - */ - body: _Blob; - } - export interface ImportRestApiRequest { - /** - * A query parameter to indicate whether to rollback the API creation (true) or not (false) when a warning is encountered. The default value is false. - */ - failOnWarnings?: Boolean; - /** - * Custom header parameters as part of the request. - */ - parameters?: MapOfStringToString; - /** - * The POST request body containing external API definitions. Currently, only Swagger definition JSON files are supported. - */ - body: _Blob; - } - export type Integer = number; - export interface Integration { - /** - * Specifies the integration's type. The valid value is HTTP for integrating with an HTTP back end, AWS for any AWS service endpoints, MOCK for testing without actually invoking the back end, HTTP_PROXY for integrating with the HTTP proxy integration, or AWS_PROXY for integrating with the Lambda proxy integration type. - */ - type?: IntegrationType; - /** - * Specifies the integration's HTTP method type. - */ - httpMethod?: String; - /** - * Specifies the integration's Uniform Resource Identifier (URI). For HTTP integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification. For AWS integrations, the URI should be of the form arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}. Region, subdomain and service are used to determine the right endpoint. For AWS services that use the Action= query string parameter, service_api should be a valid action for the desired service. For RESTful AWS service APIs, path is used to indicate that the remaining substring in the URI should be treated as the path to the resource, including the initial /. - */ - uri?: String; - /** - * Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for Amazon API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\*:user/\*. To use resource-based permissions on supported AWS services, specify null. - */ - credentials?: String; - /** - * A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name. - */ - requestParameters?: MapOfStringToString; - /** - * Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. - */ - requestTemplates?: MapOfStringToString; - /** - * Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. WHEN_NO_MATCH passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. WHEN_NO_TEMPLATES passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response. NEVER rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request. - */ - passthroughBehavior?: String; - /** - * Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: CONVERT_TO_BINARY: Converts a request payload from a Base64-encoded string to the corresponding binary blob. CONVERT_TO_TEXT: Converts a request payload from a binary blob to a Base64-encoded string. If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors is configured to support payload pass-through. - */ - contentHandling?: ContentHandlingStrategy; - /** - * Specifies the integration's cache namespace. - */ - cacheNamespace?: String; - /** - * Specifies the integration's cache key parameters. - */ - cacheKeyParameters?: ListOfString; - /** - * Specifies the integration's responses. Example: Get integration responses of a method Request GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns 200 OK status and a payload as follows: { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" } Creating an API - */ - integrationResponses?: MapOfIntegrationResponse; - } - export interface IntegrationResponse { - /** - * Specifies the status code that is used to map the integration response to an existing MethodResponse. - */ - statusCode?: StatusCode; - /** - * Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (\n) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. - */ - selectionPattern?: String; - /** - * A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix. - */ - responseParameters?: MapOfStringToString; - /** - * Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value. - */ - responseTemplates?: MapOfStringToString; - /** - * Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob. CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string. If this property is not defined, the response payload will be passed through from the integration response to the method response without modification. - */ - contentHandling?: ContentHandlingStrategy; - } - export type IntegrationType = "HTTP"|"AWS"|"MOCK"|"HTTP_PROXY"|"AWS_PROXY"|string; - export type ListOfARNs = ProviderARN[]; - export type ListOfApiKey = ApiKey[]; - export type ListOfApiStage = ApiStage[]; - export type ListOfAuthorizer = Authorizer[]; - export type ListOfBasePathMapping = BasePathMapping[]; - export type ListOfClientCertificate = ClientCertificate[]; - export type ListOfDeployment = Deployment[]; - export type ListOfDocumentationPart = DocumentationPart[]; - export type ListOfDocumentationVersion = DocumentationVersion[]; - export type ListOfDomainName = DomainName[]; - export type ListOfLong = Long[]; - export type ListOfModel = Model[]; - export type ListOfPatchOperation = PatchOperation[]; - export type ListOfRequestValidator = RequestValidator[]; - export type ListOfResource = Resource[]; - export type ListOfRestApi = RestApi[]; - export type ListOfSdkConfigurationProperty = SdkConfigurationProperty[]; - export type ListOfSdkType = SdkType[]; - export type ListOfStage = Stage[]; - export type ListOfStageKeys = StageKey[]; - export type ListOfString = String[]; - export type ListOfUsage = ListOfLong[]; - export type ListOfUsagePlan = UsagePlan[]; - export type ListOfUsagePlanKey = UsagePlanKey[]; - export type Long = number; - export type MapOfHeaderValues = {[key: string]: String}; - export type MapOfIntegrationResponse = {[key: string]: IntegrationResponse}; - export type MapOfKeyUsages = {[key: string]: ListOfUsage}; - export type MapOfMethod = {[key: string]: Method}; - export type MapOfMethodResponse = {[key: string]: MethodResponse}; - export type MapOfMethodSettings = {[key: string]: MethodSetting}; - export type MapOfMethodSnapshot = {[key: string]: MethodSnapshot}; - export type MapOfStringToBoolean = {[key: string]: NullableBoolean}; - export type MapOfStringToList = {[key: string]: ListOfString}; - export type MapOfStringToString = {[key: string]: String}; - export interface Method { - /** - * The method's HTTP verb. - */ - httpMethod?: String; - /** - * The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool. - */ - authorizationType?: String; - /** - * The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM. - */ - authorizerId?: String; - /** - * A boolean flag specifying whether a valid ApiKey is required to invoke this method. - */ - apiKeyRequired?: NullableBoolean; - /** - * The identifier of a RequestValidator for request validation. - */ - requestValidatorId?: String; - /** - * A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in PetStore example. - */ - operationName?: String; - /** - * A key-value map defining required or optional method request parameters that can be accepted by Amazon API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. - */ - requestParameters?: MapOfStringToBoolean; - /** - * A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). - */ - requestModels?: MapOfStringToString; - /** - * Gets a method response associated with a given HTTP status code. The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a MethodResponse resource that specifies the response returned to the caller from the back end through the integration response. Example: Get a 200 OK response of a GET method Request GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns a 200 OK status code and a payload similar to the following: { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.operator": false, "method.response.header.operand_2": false, "method.response.header.operand_1": false }, "statusCode": "200" } AWS CLI - */ - methodResponses?: MapOfMethodResponse; - /** - * Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end. Example: Request GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns a 200 OK status code and a payload similar to the following: { "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true } ], "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:responses": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.operator": "integration.response.body.op", "method.response.header.operand_2": "integration.response.body.b", "method.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "application/json": "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } } AWS CLI - */ - methodIntegration?: Integration; - } - export interface MethodResponse { - /** - * The method response's status code. - */ - statusCode?: StatusCode; - /** - * A key-value map specifying required or optional response parameters that Amazon API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. Amazon API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.) - */ - responseParameters?: MapOfStringToBoolean; - /** - * Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value. - */ - responseModels?: MapOfStringToString; - } - export interface MethodSetting { - /** - * Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is /{method_setting_key}/metrics/enabled, and the value is a Boolean. - */ - metricsEnabled?: Boolean; - /** - * Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/loglevel, and the available levels are OFF, ERROR, and INFO. - */ - loggingLevel?: String; - /** - * Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean. - */ - dataTraceEnabled?: Boolean; - /** - * Specifies the throttling burst limit. The PATCH path for this setting is /{method_setting_key}/throttling/burstLimit, and the value is an integer. - */ - throttlingBurstLimit?: Integer; - /** - * Specifies the throttling rate limit. The PATCH path for this setting is /{method_setting_key}/throttling/rateLimit, and the value is a double. - */ - throttlingRateLimit?: Double; - /** - * Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is /{method_setting_key}/caching/enabled, and the value is a Boolean. - */ - cachingEnabled?: Boolean; - /** - * Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is /{method_setting_key}/caching/ttlInSeconds, and the value is an integer. - */ - cacheTtlInSeconds?: Integer; - /** - * Specifies whether the cached responses are encrypted. The PATCH path for this setting is /{method_setting_key}/caching/dataEncrypted, and the value is a Boolean. - */ - cacheDataEncrypted?: Boolean; - /** - * Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is /{method_setting_key}/caching/requireAuthorizationForCacheControl, and the value is a Boolean. - */ - requireAuthorizationForCacheControl?: Boolean; - /** - * Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is /{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy, and the available values are FAIL_WITH_403, SUCCEED_WITH_RESPONSE_HEADER, SUCCEED_WITHOUT_RESPONSE_HEADER. - */ - unauthorizedCacheControlHeaderStrategy?: UnauthorizedCacheControlHeaderStrategy; - } - export interface MethodSnapshot { - /** - * The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool. - */ - authorizationType?: String; - /** - * Specifies whether the method requires a valid ApiKey. - */ - apiKeyRequired?: Boolean; - } - export interface Model { - /** - * The identifier for the model resource. - */ - id?: String; - /** - * The name of the model. - */ - name?: String; - /** - * The description of the model. - */ - description?: String; - /** - * The schema for the model. For application/json models, this should be JSON-schema draft v4 model. Do not include "\*" characters in the description of any properties because such "\*" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail. - */ - schema?: String; - /** - * The content-type for the model. - */ - contentType?: String; - } - export interface Models { - position?: String; - /** - * Gets the current Model resource in the collection. - */ - items?: ListOfModel; - } - export type NullableBoolean = boolean; - export type NullableInteger = number; - export type Op = "add"|"remove"|"replace"|"move"|"copy"|"test"|string; - export interface PatchOperation { - /** - * An update operation to be performed with this PATCH request. The valid value can be "add", "remove", or "replace". Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message. - */ - op?: Op; - /** - * The op operation's target, as identified by a JSON Pointer value that references a location within the targeted resource. For example, if the target resource has an updateable property of {"name":"value"}, the path for this property is /name. If the name property value is a JSON object (e.g., {"name": {"child/name": "child-value"}}), the path for the child/name property will be /name/child~1name. Any slash ("/") character appearing in path names must be escaped with "~1", as shown in the example above. Each op operation can have only one path associated with it. - */ - path?: String; - /** - * The new target value of the update operation. When using AWS CLI to update a property of a JSON value, enclose the JSON object with a pair of single quotes in a Linux shell, e.g., '{"a": ...}'. In a Windows shell, see Using JSON for Parameters. - */ - value?: String; - /** - * Not supported. - */ - from?: String; - } - export type PathToMapOfMethodSnapshot = {[key: string]: MapOfMethodSnapshot}; - export type ProviderARN = string; - export interface PutIntegrationRequest { - /** - * Specifies a put integration request's API identifier. - */ - restApiId: String; - /** - * Specifies a put integration request's resource ID. - */ - resourceId: String; - /** - * Specifies a put integration request's HTTP method. - */ - httpMethod: String; - /** - * Specifies a put integration input's type. - */ - type: IntegrationType; - /** - * Specifies a put integration HTTP method. When the integration type is HTTP or AWS, this field is required. - */ - integrationHttpMethod?: String; - /** - * Specifies a put integration input's Uniform Resource Identifier (URI). When the integration type is HTTP or AWS, this field is required. For integration with Lambda as an AWS service proxy, this value is of the 'arn:aws:apigateway:<region>:lambda:path/2015-03-31/functions/<functionArn>/invocations' format. - */ - uri?: String; - /** - * Specifies whether credentials are required for a put integration. - */ - credentials?: String; - /** - * A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name. - */ - requestParameters?: MapOfStringToString; - /** - * Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. - */ - requestTemplates?: MapOfStringToString; - /** - * Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. WHEN_NO_MATCH passes the request body for unmapped content types through to the integration back end without transformation. NEVER rejects unmapped content types with an HTTP 415 'Unsupported Media Type' response. WHEN_NO_TEMPLATES allows pass-through when the integration has NO content types mapped to templates. However if there is at least one content type defined, unmapped content types will be rejected with the same 415 response. - */ - passthroughBehavior?: String; - /** - * Specifies a put integration input's cache namespace. - */ - cacheNamespace?: String; - /** - * Specifies a put integration input's cache key parameters. - */ - cacheKeyParameters?: ListOfString; - /** - * Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: CONVERT_TO_BINARY: Converts a request payload from a Base64-encoded string to the corresponding binary blob. CONVERT_TO_TEXT: Converts a request payload from a binary blob to a Base64-encoded string. If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors is configured to support payload pass-through. - */ - contentHandling?: ContentHandlingStrategy; - } - export interface PutIntegrationResponseRequest { - /** - * Specifies a put integration response request's API identifier. - */ - restApiId: String; - /** - * Specifies a put integration response request's resource identifier. - */ - resourceId: String; - /** - * Specifies a put integration response request's HTTP method. - */ - httpMethod: String; - /** - * Specifies the status code that is used to map the integration response to an existing MethodResponse. - */ - statusCode: StatusCode; - /** - * Specifies the selection pattern of a put integration response. - */ - selectionPattern?: String; - /** - * A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name must be a valid and unique response header name and JSON-expression a valid JSON expression without the $ prefix. - */ - responseParameters?: MapOfStringToString; - /** - * Specifies a put integration response's templates. - */ - responseTemplates?: MapOfStringToString; - /** - * Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob. CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string. If this property is not defined, the response payload will be passed through from the integration response to the method response without modification. - */ - contentHandling?: ContentHandlingStrategy; - } - export interface PutMethodRequest { - /** - * The RestApi identifier for the new Method resource. - */ - restApiId: String; - /** - * The Resource identifier for the new Method resource. - */ - resourceId: String; - /** - * Specifies the method request's HTTP method type. - */ - httpMethod: String; - /** - * The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool. - */ - authorizationType: String; - /** - * Specifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM. - */ - authorizerId?: String; - /** - * Specifies whether the method required a valid ApiKey. - */ - apiKeyRequired?: Boolean; - /** - * A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in PetStore example. - */ - operationName?: String; - /** - * A key-value map defining required or optional method request parameters that can be accepted by Amazon API Gateway. A key defines a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or body-mapping templates. - */ - requestParameters?: MapOfStringToBoolean; - /** - * Specifies the Model resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a Model name as the value. - */ - requestModels?: MapOfStringToString; - /** - * The identifier of a RequestValidator for validating the method request. - */ - requestValidatorId?: String; - } - export interface PutMethodResponseRequest { - /** - * The RestApi identifier for the Method resource. - */ - restApiId: String; - /** - * The Resource identifier for the Method resource. - */ - resourceId: String; - /** - * The HTTP verb of the Method resource. - */ - httpMethod: String; - /** - * The method response's status code. - */ - statusCode: StatusCode; - /** - * A key-value map specifying required or optional response parameters that Amazon API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.) - */ - responseParameters?: MapOfStringToBoolean; - /** - * Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value. - */ - responseModels?: MapOfStringToString; - } - export type PutMode = "merge"|"overwrite"|string; - export interface PutRestApiRequest { - /** - * The identifier of the RestApi to be updated. - */ - restApiId: String; - /** - * The mode query parameter to specify the update mode. Valid values are "merge" and "overwrite". By default, the update mode is "merge". - */ - mode?: PutMode; - /** - * A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false. - */ - failOnWarnings?: Boolean; - /** - * Custom headers supplied as part of the request. - */ - parameters?: MapOfStringToString; - /** - * The PUT request body containing external API definitions. Currently, only Swagger definition JSON files are supported. - */ - body: _Blob; - } - export type QuotaPeriodType = "DAY"|"WEEK"|"MONTH"|string; - export interface QuotaSettings { - /** - * The maximum number of requests that can be made in a given time period. - */ - limit?: Integer; - /** - * The number of requests subtracted from the given limit in the initial time period. - */ - offset?: Integer; - /** - * The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH". - */ - period?: QuotaPeriodType; - } - export interface RequestValidator { - /** - * The identifier of this RequestValidator. - */ - id?: String; - /** - * The name of this RequestValidator - */ - name?: String; - /** - * A Boolean flag to indicate whether to validate a request body according to the configured Model schema. - */ - validateRequestBody?: Boolean; - /** - * A Boolean flag to indicate whether to validate request parameters (true) or not (false). - */ - validateRequestParameters?: Boolean; - } - export interface RequestValidators { - position?: String; - /** - * The current page of RequestValidator resources in the RequestValidators collection. - */ - items?: ListOfRequestValidator; - } - export interface Resource { - /** - * The resource's identifier. - */ - id?: String; - /** - * The parent resource's identifier. - */ - parentId?: String; - /** - * The last path segment for this resource. - */ - pathPart?: String; - /** - * The full path for this resource. - */ - path?: String; - /** - * Gets an API resource's method of a given HTTP verb. The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the 200 OK response of the GET /restapis/{restapi_id}/resources/{resource_id} or GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods request. Example: Get the GET method of an API resource Request GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20170223T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response { "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } } If the OPTIONS is enabled on the resource, you can follow the example here to get that method. Just replace the GET of the last path segment in the request URL with OPTIONS. - */ - resourceMethods?: MapOfMethod; - } - export interface Resources { - position?: String; - /** - * Gets the current Resource resource in the collection. - */ - items?: ListOfResource; - } - export interface RestApi { - /** - * The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway. - */ - id?: String; - /** - * The API's name. - */ - name?: String; - /** - * The API's description. - */ - description?: String; - /** - * The timestamp when the API was created. - */ - createdDate?: Timestamp; - /** - * A version identifier for the API. - */ - version?: String; - /** - * The warning messages reported when failonwarnings is turned on during API import. - */ - warnings?: ListOfString; - /** - * The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads. - */ - binaryMediaTypes?: ListOfString; - } - export interface RestApis { - position?: String; - /** - * An array of links to the current page of RestApi resources. - */ - items?: ListOfRestApi; - } - export interface SdkConfigurationProperty { - /** - * The name of a an SdkType configuration property. - */ - name?: String; - /** - * The user-friendly name of an SdkType configuration property. - */ - friendlyName?: String; - /** - * The description of an SdkType configuration property. - */ - description?: String; - /** - * A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false). - */ - required?: Boolean; - /** - * The default value of an SdkType configuration property. - */ - defaultValue?: String; - } - export interface SdkResponse { - /** - * The content-type header value in the HTTP response. - */ - contentType?: String; - /** - * The content-disposition header value in the HTTP response. - */ - contentDisposition?: String; - /** - * The binary blob response to GetSdk, which contains the generated SDK. - */ - body?: _Blob; - } - export interface SdkType { - /** - * The identifier of an SdkType instance. - */ - id?: String; - /** - * The user-friendly name of an SdkType instance. - */ - friendlyName?: String; - /** - * The description of an SdkType. - */ - description?: String; - /** - * A list of configuration properties of an SdkType. - */ - configurationProperties?: ListOfSdkConfigurationProperty; - } - export interface SdkTypes { - position?: String; - /** - * The set of SdkType items that comprise this view of the SdkTypes collection. - */ - items?: ListOfSdkType; - } - export interface Stage { - /** - * The identifier of the Deployment that the stage points to. - */ - deploymentId?: String; - /** - * The identifier of a client certificate for an API stage. - */ - clientCertificateId?: String; - /** - * The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to Amazon API Gateway. - */ - stageName?: String; - /** - * The stage's description. - */ - description?: String; - /** - * Specifies whether a cache cluster is enabled for the stage. - */ - cacheClusterEnabled?: Boolean; - /** - * The size of the cache cluster for the stage, if enabled. - */ - cacheClusterSize?: CacheClusterSize; - /** - * The status of the cache cluster for the stage, if enabled. - */ - cacheClusterStatus?: CacheClusterStatus; - /** - * A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\*\* for overriding all methods in the stage. - */ - methodSettings?: MapOfMethodSettings; - /** - * A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+. - */ - variables?: MapOfStringToString; - /** - * The version of the associated API documentation. - */ - documentationVersion?: String; - /** - * The timestamp when the stage was created. - */ - createdDate?: Timestamp; - /** - * The timestamp when the stage last updated. - */ - lastUpdatedDate?: Timestamp; - } - export interface StageKey { - /** - * A list of Stage resources that are associated with the ApiKey resource. - */ - restApiId?: String; - /** - * The stage name in the RestApi that the stage key references. - */ - stageName?: String; - } - export interface Stages { - /** - * An individual Stage resource. - */ - item?: ListOfStage; - } - export type StatusCode = string; - export type String = string; - export interface Template { - /** - * The Apache Velocity Template Language (VTL) template content used for the template resource. - */ - value?: String; - } - export interface TestInvokeAuthorizerRequest { - /** - * Specifies a test invoke authorizer request's RestApi identifier. - */ - restApiId: String; - /** - * Specifies a test invoke authorizer request's Authorizer ID. - */ - authorizerId: String; - /** - * [Required] A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified. - */ - headers?: MapOfHeaderValues; - /** - * [Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters. - */ - pathWithQueryString?: String; - /** - * [Optional] The simulated request body of an incoming invocation request. - */ - body?: String; - /** - * A key-value map of stage variables to simulate an invocation on a deployed Stage. - */ - stageVariables?: MapOfStringToString; - /** - * [Optional] A key-value map of additional context variables. - */ - additionalContext?: MapOfStringToString; - } - export interface TestInvokeAuthorizerResponse { - /** - * The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded. - */ - clientStatus?: Integer; - /** - * The Amazon API Gateway execution log for the test authorizer request. - */ - log?: String; - /** - * The execution latency of the test authorizer request. - */ - latency?: Long; - /** - * The principal identity returned by the Authorizer - */ - principalId?: String; - /** - * The JSON policy document returned by the Authorizer - */ - policy?: String; - authorization?: MapOfStringToList; - /** - * The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API. - */ - claims?: MapOfStringToString; - } - export interface TestInvokeMethodRequest { - /** - * Specifies a test invoke method request's API identifier. - */ - restApiId: String; - /** - * Specifies a test invoke method request's resource ID. - */ - resourceId: String; - /** - * Specifies a test invoke method request's HTTP method. - */ - httpMethod: String; - /** - * The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters. - */ - pathWithQueryString?: String; - /** - * The simulated request body of an incoming invocation request. - */ - body?: String; - /** - * A key-value map of headers to simulate an incoming invocation request. - */ - headers?: MapOfHeaderValues; - /** - * A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint. - */ - clientCertificateId?: String; - /** - * A key-value map of stage variables to simulate an invocation on a deployed Stage. - */ - stageVariables?: MapOfStringToString; - } - export interface TestInvokeMethodResponse { - /** - * The HTTP status code. - */ - status?: Integer; - /** - * The body of the HTTP response. - */ - body?: String; - /** - * The headers of the HTTP response. - */ - headers?: MapOfHeaderValues; - /** - * The Amazon API Gateway execution log for the test invoke request. - */ - log?: String; - /** - * The execution latency of the test invoke request. - */ - latency?: Long; - } - export interface ThrottleSettings { - /** - * The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity. - */ - burstLimit?: Integer; - /** - * The API request steady-state rate limit. - */ - rateLimit?: Double; - } - export type Timestamp = Date; - export type UnauthorizedCacheControlHeaderStrategy = "FAIL_WITH_403"|"SUCCEED_WITH_RESPONSE_HEADER"|"SUCCEED_WITHOUT_RESPONSE_HEADER"|string; - export interface UpdateAccountRequest { - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateApiKeyRequest { - /** - * The identifier of the ApiKey resource to be updated. - */ - apiKey: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateAuthorizerRequest { - /** - * The RestApi identifier for the Authorizer resource. - */ - restApiId: String; - /** - * The identifier of the Authorizer resource. - */ - authorizerId: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateBasePathMappingRequest { - /** - * The domain name of the BasePathMapping resource to change. - */ - domainName: String; - /** - * The base path of the BasePathMapping resource to change. - */ - basePath: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateClientCertificateRequest { - /** - * The identifier of the ClientCertificate resource to be updated. - */ - clientCertificateId: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateDeploymentRequest { - /** - * The replacement identifier of the RestApi resource for the Deployment resource to change information about. - */ - restApiId: String; - /** - * The replacement identifier for the Deployment resource to change information about. - */ - deploymentId: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateDocumentationPartRequest { - /** - * [Required] The identifier of an API of the to-be-updated documentation part. - */ - restApiId: String; - /** - * [Required] The identifier of the to-be-updated documentation part. - */ - documentationPartId: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateDocumentationVersionRequest { - /** - * [Required] The identifier of an API of the to-be-updated documentation version. - */ - restApiId: String; - /** - * [Required] The version identifier of the to-be-updated documentation version. - */ - documentationVersion: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateDomainNameRequest { - /** - * The name of the DomainName resource to be changed. - */ - domainName: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateIntegrationRequest { - /** - * Represents an update integration request's API identifier. - */ - restApiId: String; - /** - * Represents an update integration request's resource identifier. - */ - resourceId: String; - /** - * Represents an update integration request's HTTP method. - */ - httpMethod: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateIntegrationResponseRequest { - /** - * Specifies an update integration response request's API identifier. - */ - restApiId: String; - /** - * Specifies an update integration response request's resource identifier. - */ - resourceId: String; - /** - * Specifies an update integration response request's HTTP method. - */ - httpMethod: String; - /** - * Specifies an update integration response request's status code. - */ - statusCode: StatusCode; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateMethodRequest { - /** - * The RestApi identifier for the Method resource. - */ - restApiId: String; - /** - * The Resource identifier for the Method resource. - */ - resourceId: String; - /** - * The HTTP verb of the Method resource. - */ - httpMethod: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateMethodResponseRequest { - /** - * The RestApi identifier for the MethodResponse resource. - */ - restApiId: String; - /** - * The Resource identifier for the MethodResponse resource. - */ - resourceId: String; - /** - * The HTTP verb of the Method resource. - */ - httpMethod: String; - /** - * The status code for the MethodResponse resource. - */ - statusCode: StatusCode; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateModelRequest { - /** - * The RestApi identifier under which the model exists. - */ - restApiId: String; - /** - * The name of the model to update. - */ - modelName: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateRequestValidatorRequest { - /** - * [Required] The identifier of the RestApi for which the given RequestValidator is updated. - */ - restApiId: String; - /** - * [Required] The identifier of RequestValidator to be updated. - */ - requestValidatorId: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateResourceRequest { - /** - * The RestApi identifier for the Resource resource. - */ - restApiId: String; - /** - * The identifier of the Resource resource. - */ - resourceId: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateRestApiRequest { - /** - * The ID of the RestApi you want to update. - */ - restApiId: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateStageRequest { - /** - * The identifier of the RestApi resource for the Stage resource to change information about. - */ - restApiId: String; - /** - * The name of the Stage resource to change information about. - */ - stageName: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateUsagePlanRequest { - /** - * The Id of the to-be-updated usage plan. - */ - usagePlanId: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface UpdateUsageRequest { - /** - * The Id of the usage plan associated with the usage data. - */ - usagePlanId: String; - /** - * The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota. - */ - keyId: String; - /** - * A list of update operations to be applied to the specified resource and in the order specified in this list. - */ - patchOperations?: ListOfPatchOperation; - } - export interface Usage { - /** - * The plan Id associated with this usage data. - */ - usagePlanId?: String; - /** - * The starting date of the usage data. - */ - startDate?: String; - /** - * The ending date of the usage data. - */ - endDate?: String; - position?: String; - /** - * The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota]. - */ - items?: MapOfKeyUsages; - } - export interface UsagePlan { - /** - * The identifier of a UsagePlan resource. - */ - id?: String; - /** - * The name of a usage plan. - */ - name?: String; - /** - * The description of a usage plan. - */ - description?: String; - /** - * The associated API stages of a usage plan. - */ - apiStages?: ListOfApiStage; - /** - * The request throttle limits of a usage plan. - */ - throttle?: ThrottleSettings; - /** - * The maximum number of permitted requests per a given unit time interval. - */ - quota?: QuotaSettings; - /** - * The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace. - */ - productCode?: String; - } - export interface UsagePlanKey { - /** - * The Id of a usage plan key. - */ - id?: String; - /** - * The type of a usage plan key. Currently, the valid key type is API_KEY. - */ - type?: String; - /** - * The value of a usage plan key. - */ - value?: String; - /** - * The name of a usage plan key. - */ - name?: String; - } - export interface UsagePlanKeys { - position?: String; - /** - * Gets the current item of the usage plan keys collection. - */ - items?: ListOfUsagePlanKey; - } - export interface UsagePlans { - position?: String; - /** - * Gets the current item when enumerating the collection of UsagePlan. - */ - items?: ListOfUsagePlan; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-07-09"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the APIGateway client. - */ - export import Types = APIGateway; -} -export = APIGateway; diff --git a/src/node_modules/aws-sdk/clients/apigateway.js b/src/node_modules/aws-sdk/clients/apigateway.js deleted file mode 100644 index bd01d66..0000000 --- a/src/node_modules/aws-sdk/clients/apigateway.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['apigateway'] = {}; -AWS.APIGateway = Service.defineService('apigateway', ['2015-07-09']); -require('../lib/services/apigateway'); -Object.defineProperty(apiLoader.services['apigateway'], '2015-07-09', { - get: function get() { - var model = require('../apis/apigateway-2015-07-09.min.json'); - model.paginators = require('../apis/apigateway-2015-07-09.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.APIGateway; diff --git a/src/node_modules/aws-sdk/clients/applicationautoscaling.d.ts b/src/node_modules/aws-sdk/clients/applicationautoscaling.d.ts deleted file mode 100644 index 6960ccf..0000000 --- a/src/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +++ /dev/null @@ -1,553 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ApplicationAutoScaling extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ApplicationAutoScaling.Types.ClientConfiguration) - config: Config & ApplicationAutoScaling.Types.ClientConfiguration; - /** - * Deletes the specified Application Auto Scaling scaling policy. Deleting a policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated action. To create a scaling policy or update an existing one, see PutScalingPolicy. - */ - deleteScalingPolicy(params: ApplicationAutoScaling.Types.DeleteScalingPolicyRequest, callback?: (err: AWSError, data: ApplicationAutoScaling.Types.DeleteScalingPolicyResponse) => void): Request; - /** - * Deletes the specified Application Auto Scaling scaling policy. Deleting a policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated action. To create a scaling policy or update an existing one, see PutScalingPolicy. - */ - deleteScalingPolicy(callback?: (err: AWSError, data: ApplicationAutoScaling.Types.DeleteScalingPolicyResponse) => void): Request; - /** - * Deregisters a scalable target. Deregistering a scalable target deletes the scaling policies that are associated with it. To create a scalable target or update an existing one, see RegisterScalableTarget. - */ - deregisterScalableTarget(params: ApplicationAutoScaling.Types.DeregisterScalableTargetRequest, callback?: (err: AWSError, data: ApplicationAutoScaling.Types.DeregisterScalableTargetResponse) => void): Request; - /** - * Deregisters a scalable target. Deregistering a scalable target deletes the scaling policies that are associated with it. To create a scalable target or update an existing one, see RegisterScalableTarget. - */ - deregisterScalableTarget(callback?: (err: AWSError, data: ApplicationAutoScaling.Types.DeregisterScalableTargetResponse) => void): Request; - /** - * Provides descriptive information about the scalable targets in the specified namespace. You can filter the results using the ResourceIds and ScalableDimension parameters. To create a scalable target or update an existing one, see RegisterScalableTarget. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget. - */ - describeScalableTargets(params: ApplicationAutoScaling.Types.DescribeScalableTargetsRequest, callback?: (err: AWSError, data: ApplicationAutoScaling.Types.DescribeScalableTargetsResponse) => void): Request; - /** - * Provides descriptive information about the scalable targets in the specified namespace. You can filter the results using the ResourceIds and ScalableDimension parameters. To create a scalable target or update an existing one, see RegisterScalableTarget. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget. - */ - describeScalableTargets(callback?: (err: AWSError, data: ApplicationAutoScaling.Types.DescribeScalableTargetsResponse) => void): Request; - /** - * Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks. You can filter the results using the ResourceId and ScalableDimension parameters. Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see DescribeScalingPolicies. To create a scaling policy or update an existing one, see PutScalingPolicy. - */ - describeScalingActivities(params: ApplicationAutoScaling.Types.DescribeScalingActivitiesRequest, callback?: (err: AWSError, data: ApplicationAutoScaling.Types.DescribeScalingActivitiesResponse) => void): Request; - /** - * Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks. You can filter the results using the ResourceId and ScalableDimension parameters. Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see DescribeScalingPolicies. To create a scaling policy or update an existing one, see PutScalingPolicy. - */ - describeScalingActivities(callback?: (err: AWSError, data: ApplicationAutoScaling.Types.DescribeScalingActivitiesResponse) => void): Request; - /** - * Provides descriptive information about the scaling policies in the specified namespace. You can filter the results using the ResourceId, ScalableDimension, and PolicyNames parameters. To create a scaling policy or update an existing one, see PutScalingPolicy. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy. - */ - describeScalingPolicies(params: ApplicationAutoScaling.Types.DescribeScalingPoliciesRequest, callback?: (err: AWSError, data: ApplicationAutoScaling.Types.DescribeScalingPoliciesResponse) => void): Request; - /** - * Provides descriptive information about the scaling policies in the specified namespace. You can filter the results using the ResourceId, ScalableDimension, and PolicyNames parameters. To create a scaling policy or update an existing one, see PutScalingPolicy. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy. - */ - describeScalingPolicies(callback?: (err: AWSError, data: ApplicationAutoScaling.Types.DescribeScalingPoliciesResponse) => void): Request; - /** - * Creates or updates a policy for an Application Auto Scaling scalable target. Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy without first registering a scalable target using RegisterScalableTarget. To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update request. You can view the scaling policies for a service namespace using DescribeScalingPolicies. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy. - */ - putScalingPolicy(params: ApplicationAutoScaling.Types.PutScalingPolicyRequest, callback?: (err: AWSError, data: ApplicationAutoScaling.Types.PutScalingPolicyResponse) => void): Request; - /** - * Creates or updates a policy for an Application Auto Scaling scalable target. Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy without first registering a scalable target using RegisterScalableTarget. To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update request. You can view the scaling policies for a service namespace using DescribeScalingPolicies. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy. - */ - putScalingPolicy(callback?: (err: AWSError, data: ApplicationAutoScaling.Types.PutScalingPolicyResponse) => void): Request; - /** - * Registers or updates a scalable target. A scalable target is a resource that Application Auto Scaling can scale out or scale in. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for your scalable dimension. After you register a scalable target, you can create and apply scaling policies using PutScalingPolicy. You can view the scaling policies for a service namespace using DescribeScalableTargets. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget. - */ - registerScalableTarget(params: ApplicationAutoScaling.Types.RegisterScalableTargetRequest, callback?: (err: AWSError, data: ApplicationAutoScaling.Types.RegisterScalableTargetResponse) => void): Request; - /** - * Registers or updates a scalable target. A scalable target is a resource that Application Auto Scaling can scale out or scale in. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for your scalable dimension. After you register a scalable target, you can create and apply scaling policies using PutScalingPolicy. You can view the scaling policies for a service namespace using DescribeScalableTargets. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget. - */ - registerScalableTarget(callback?: (err: AWSError, data: ApplicationAutoScaling.Types.RegisterScalableTargetResponse) => void): Request; -} -declare namespace ApplicationAutoScaling { - export type AdjustmentType = "ChangeInCapacity"|"PercentChangeInCapacity"|"ExactCapacity"|string; - export interface Alarm { - /** - * The name of the alarm. - */ - AlarmName: ResourceId; - /** - * The Amazon Resource Name (ARN) of the alarm. - */ - AlarmARN: ResourceId; - } - export type Alarms = Alarm[]; - export type Cooldown = number; - export interface CustomizedMetricSpecification { - /** - * The name of the metric. - */ - MetricName: MetricName; - /** - * The namespace of the metric. - */ - Namespace: MetricNamespace; - /** - * The dimensions of the metric. - */ - Dimensions?: MetricDimensions; - /** - * The statistic of the metric. - */ - Statistic: MetricStatistic; - /** - * The unit of the metric. - */ - Unit?: MetricUnit; - } - export interface DeleteScalingPolicyRequest { - /** - * The name of the scaling policy. - */ - PolicyName: ResourceIdMaxLen1600; - /** - * The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference. - */ - ServiceNamespace: ServiceNamespace; - /** - * The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet. DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table. DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: table/my-table/index/my-table-index. - */ - ResourceId: ResourceIdMaxLen1600; - /** - * The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. - */ - ScalableDimension: ScalableDimension; - } - export interface DeleteScalingPolicyResponse { - } - export interface DeregisterScalableTargetRequest { - /** - * The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference. - */ - ServiceNamespace: ServiceNamespace; - /** - * The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet. DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table. DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: table/my-table/index/my-table-index. - */ - ResourceId: ResourceIdMaxLen1600; - /** - * The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. - */ - ScalableDimension: ScalableDimension; - } - export interface DeregisterScalableTargetResponse { - } - export interface DescribeScalableTargetsRequest { - /** - * The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference. - */ - ServiceNamespace: ServiceNamespace; - /** - * The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet. DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table. DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: table/my-table/index/my-table-index. - */ - ResourceIds?: ResourceIdsMaxLen1600; - /** - * The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. - */ - ScalableDimension?: ScalableDimension; - /** - * The maximum number of scalable target results. This value can be between 1 and 50. The default value is 50. If this parameter is used, the operation returns up to MaxResults results at a time, along with a NextToken value. To get the next set of results, include the NextToken value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a NextToken value, if applicable. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of results. - */ - NextToken?: XmlString; - } - export interface DescribeScalableTargetsResponse { - /** - * The list of scalable targets that matches the request parameters. - */ - ScalableTargets?: ScalableTargets; - /** - * The token required to get the next set of results. This value is null if there are no more results to return. - */ - NextToken?: XmlString; - } - export interface DescribeScalingActivitiesRequest { - /** - * The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference. - */ - ServiceNamespace: ServiceNamespace; - /** - * The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet. DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table. DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: table/my-table/index/my-table-index. - */ - ResourceId?: ResourceIdMaxLen1600; - /** - * The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. - */ - ScalableDimension?: ScalableDimension; - /** - * The maximum number of scalable target results. This value can be between 1 and 50. The default value is 50. If this parameter is used, the operation returns up to MaxResults results at a time, along with a NextToken value. To get the next set of results, include the NextToken value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a NextToken value, if applicable. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of results. - */ - NextToken?: XmlString; - } - export interface DescribeScalingActivitiesResponse { - /** - * A list of scaling activity objects. - */ - ScalingActivities?: ScalingActivities; - /** - * The token required to get the next set of results. This value is null if there are no more results to return. - */ - NextToken?: XmlString; - } - export interface DescribeScalingPoliciesRequest { - /** - * The names of the scaling policies to describe. - */ - PolicyNames?: ResourceIdsMaxLen1600; - /** - * The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference. - */ - ServiceNamespace: ServiceNamespace; - /** - * The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet. DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table. DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: table/my-table/index/my-table-index. - */ - ResourceId?: ResourceIdMaxLen1600; - /** - * The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. - */ - ScalableDimension?: ScalableDimension; - /** - * The maximum number of scalable target results. This value can be between 1 and 50. The default value is 50. If this parameter is used, the operation returns up to MaxResults results at a time, along with a NextToken value. To get the next set of results, include the NextToken value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a NextToken value, if applicable. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of results. - */ - NextToken?: XmlString; - } - export interface DescribeScalingPoliciesResponse { - /** - * A list of scaling policy objects. - */ - ScalingPolicies?: ScalingPolicies; - /** - * The token required to get the next set of results. This value is null if there are no more results to return. - */ - NextToken?: XmlString; - } - export type ErrorMessage = string; - export type MaxResults = number; - export type MetricAggregationType = "Average"|"Minimum"|"Maximum"|string; - export interface MetricDimension { - /** - * The name of the dimension. - */ - Name: MetricDimensionName; - /** - * The value of the dimension. - */ - Value: MetricDimensionValue; - } - export type MetricDimensionName = string; - export type MetricDimensionValue = string; - export type MetricDimensions = MetricDimension[]; - export type MetricName = string; - export type MetricNamespace = string; - export type MetricScale = number; - export type MetricStatistic = "Average"|"Minimum"|"Maximum"|"SampleCount"|"Sum"|string; - export type MetricType = "DynamoDBReadCapacityUtilization"|"DynamoDBWriteCapacityUtilization"|string; - export type MetricUnit = string; - export type MinAdjustmentMagnitude = number; - export type PolicyName = string; - export type PolicyType = "StepScaling"|"TargetTrackingScaling"|string; - export interface PredefinedMetricSpecification { - /** - * The metric type. - */ - PredefinedMetricType: MetricType; - /** - * Reserved for future use. - */ - ResourceLabel?: ResourceLabel; - } - export interface PutScalingPolicyRequest { - /** - * The name of the scaling policy. - */ - PolicyName: PolicyName; - /** - * The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference. - */ - ServiceNamespace: ServiceNamespace; - /** - * The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet. DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table. DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: table/my-table/index/my-table-index. - */ - ResourceId: ResourceIdMaxLen1600; - /** - * The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. - */ - ScalableDimension: ScalableDimension; - /** - * The policy type. If you are creating a new policy, this parameter is required. If you are updating a policy, this parameter is not required. For DynamoDB, only TargetTrackingScaling is supported. For any other service, only StepScaling is supported. - */ - PolicyType?: PolicyType; - /** - * A step scaling policy. This parameter is required if you are creating a policy and the policy type is StepScaling. - */ - StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration; - /** - * A target tracking policy. This parameter is required if you are creating a new policy and the policy type is TargetTrackingScaling. - */ - TargetTrackingScalingPolicyConfiguration?: TargetTrackingScalingPolicyConfiguration; - } - export interface PutScalingPolicyResponse { - /** - * The Amazon Resource Name (ARN) of the resulting scaling policy. - */ - PolicyARN: ResourceIdMaxLen1600; - /** - * The CloudWatch alarms created for the target tracking policy. - */ - Alarms?: Alarms; - } - export interface RegisterScalableTargetRequest { - /** - * The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference. - */ - ServiceNamespace: ServiceNamespace; - /** - * The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet. DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table. DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: table/my-table/index/my-table-index. - */ - ResourceId: ResourceIdMaxLen1600; - /** - * The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. - */ - ScalableDimension: ScalableDimension; - /** - * The minimum value to scale to in response to a scale in event. This parameter is required if you are registering a scalable target and optional if you are updating one. - */ - MinCapacity?: ResourceCapacity; - /** - * The maximum value to scale to in response to a scale out event. This parameter is required if you are registering a scalable target and optional if you are updating one. - */ - MaxCapacity?: ResourceCapacity; - /** - * The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. This parameter is required when you register a scalable target and optional when you update one. - */ - RoleARN?: ResourceIdMaxLen1600; - } - export interface RegisterScalableTargetResponse { - } - export type ResourceCapacity = number; - export type ResourceId = string; - export type ResourceIdMaxLen1600 = string; - export type ResourceIdsMaxLen1600 = ResourceIdMaxLen1600[]; - export type ResourceLabel = string; - export type ScalableDimension = "ecs:service:DesiredCount"|"ec2:spot-fleet-request:TargetCapacity"|"elasticmapreduce:instancegroup:InstanceCount"|"appstream:fleet:DesiredCapacity"|"dynamodb:table:ReadCapacityUnits"|"dynamodb:table:WriteCapacityUnits"|"dynamodb:index:ReadCapacityUnits"|"dynamodb:index:WriteCapacityUnits"|string; - export interface ScalableTarget { - /** - * The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference. - */ - ServiceNamespace: ServiceNamespace; - /** - * The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet. DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table. DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: table/my-table/index/my-table-index. - */ - ResourceId: ResourceIdMaxLen1600; - /** - * The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. - */ - ScalableDimension: ScalableDimension; - /** - * The minimum value to scale to in response to a scale in event. - */ - MinCapacity: ResourceCapacity; - /** - * The maximum value to scale to in response to a scale out event. - */ - MaxCapacity: ResourceCapacity; - /** - * The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. - */ - RoleARN: ResourceIdMaxLen1600; - /** - * The Unix timestamp for when the scalable target was created. - */ - CreationTime: TimestampType; - } - export type ScalableTargets = ScalableTarget[]; - export type ScalingActivities = ScalingActivity[]; - export interface ScalingActivity { - /** - * The unique identifier of the scaling activity. - */ - ActivityId: ResourceId; - /** - * The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference. - */ - ServiceNamespace: ServiceNamespace; - /** - * The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet. DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table. DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: table/my-table/index/my-table-index. - */ - ResourceId: ResourceIdMaxLen1600; - /** - * The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. - */ - ScalableDimension: ScalableDimension; - /** - * A simple description of what action the scaling activity intends to accomplish. - */ - Description: XmlString; - /** - * A simple description of what caused the scaling activity to happen. - */ - Cause: XmlString; - /** - * The Unix timestamp for when the scaling activity began. - */ - StartTime: TimestampType; - /** - * The Unix timestamp for when the scaling activity ended. - */ - EndTime?: TimestampType; - /** - * Indicates the status of the scaling activity. - */ - StatusCode: ScalingActivityStatusCode; - /** - * A simple message about the current status of the scaling activity. - */ - StatusMessage?: XmlString; - /** - * The details about the scaling activity. - */ - Details?: XmlString; - } - export type ScalingActivityStatusCode = "Pending"|"InProgress"|"Successful"|"Overridden"|"Unfulfilled"|"Failed"|string; - export type ScalingAdjustment = number; - export type ScalingPolicies = ScalingPolicy[]; - export interface ScalingPolicy { - /** - * The Amazon Resource Name (ARN) of the scaling policy. - */ - PolicyARN: ResourceIdMaxLen1600; - /** - * The name of the scaling policy. - */ - PolicyName: PolicyName; - /** - * The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference. - */ - ServiceNamespace: ServiceNamespace; - /** - * The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet. DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table. DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: table/my-table/index/my-table-index. - */ - ResourceId: ResourceIdMaxLen1600; - /** - * The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index. - */ - ScalableDimension: ScalableDimension; - /** - * The scaling policy type. - */ - PolicyType: PolicyType; - /** - * A step scaling policy. - */ - StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration; - /** - * A target tracking policy. - */ - TargetTrackingScalingPolicyConfiguration?: TargetTrackingScalingPolicyConfiguration; - /** - * The CloudWatch alarms associated with the scaling policy. - */ - Alarms?: Alarms; - /** - * The Unix timestamp for when the scaling policy was created. - */ - CreationTime: TimestampType; - } - export type ServiceNamespace = "ecs"|"elasticmapreduce"|"ec2"|"appstream"|"dynamodb"|string; - export interface StepAdjustment { - /** - * The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity. - */ - MetricIntervalLowerBound?: MetricScale; - /** - * The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. The upper bound must be greater than the lower bound. - */ - MetricIntervalUpperBound?: MetricScale; - /** - * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current scalable dimension while a negative number removes from the current scalable dimension. - */ - ScalingAdjustment: ScalingAdjustment; - } - export type StepAdjustments = StepAdjustment[]; - export interface StepScalingPolicyConfiguration { - /** - * The adjustment type, which specifies how the ScalingAdjustment parameter in a StepAdjustment is interpreted. - */ - AdjustmentType?: AdjustmentType; - /** - * A set of adjustments that enable you to scale based on the size of the alarm breach. - */ - StepAdjustments?: StepAdjustments; - /** - * The minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount. - */ - MinAdjustmentMagnitude?: MinAdjustmentMagnitude; - /** - * The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events. For scale out policies, while the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out. For example, an alarm triggers a step scaling policy to scale out an Amazon ECS service by 2 tasks, the scaling activity completes successfully, and a cooldown period of 5 minutes starts. During the Cooldown period, if the alarm triggers the same policy again but at a more aggressive step adjustment to scale out the service by 3 tasks, the 2 tasks that were added in the previous scale out event are considered part of that capacity and only 1 additional task is added to the desired count. For scale in policies, the cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, Application Auto Scaling scales out your scalable target immediately. - */ - Cooldown?: Cooldown; - /** - * The aggregation type for the CloudWatch metrics. Valid values are Minimum, Maximum, and Average. - */ - MetricAggregationType?: MetricAggregationType; - } - export interface TargetTrackingScalingPolicyConfiguration { - /** - * The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). - */ - TargetValue: MetricScale; - /** - * A predefined metric. - */ - PredefinedMetricSpecification?: PredefinedMetricSpecification; - /** - * Reserved for future use. - */ - CustomizedMetricSpecification?: CustomizedMetricSpecification; - /** - * The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out. - */ - ScaleOutCooldown?: Cooldown; - /** - * The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. The cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, Application Auto Scaling scales out your scalable target immediately. - */ - ScaleInCooldown?: Cooldown; - } - export type TimestampType = Date; - export type XmlString = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-02-06"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ApplicationAutoScaling client. - */ - export import Types = ApplicationAutoScaling; -} -export = ApplicationAutoScaling; diff --git a/src/node_modules/aws-sdk/clients/applicationautoscaling.js b/src/node_modules/aws-sdk/clients/applicationautoscaling.js deleted file mode 100644 index d1410ed..0000000 --- a/src/node_modules/aws-sdk/clients/applicationautoscaling.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['applicationautoscaling'] = {}; -AWS.ApplicationAutoScaling = Service.defineService('applicationautoscaling', ['2016-02-06']); -Object.defineProperty(apiLoader.services['applicationautoscaling'], '2016-02-06', { - get: function get() { - var model = require('../apis/application-autoscaling-2016-02-06.min.json'); - model.paginators = require('../apis/application-autoscaling-2016-02-06.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ApplicationAutoScaling; diff --git a/src/node_modules/aws-sdk/clients/appstream.d.ts b/src/node_modules/aws-sdk/clients/appstream.d.ts deleted file mode 100644 index 33a6dd9..0000000 --- a/src/node_modules/aws-sdk/clients/appstream.d.ts +++ /dev/null @@ -1,885 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class AppStream extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: AppStream.Types.ClientConfiguration) - config: Config & AppStream.Types.ClientConfiguration; - /** - * Associate a fleet to a stack. - */ - associateFleet(params: AppStream.Types.AssociateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.AssociateFleetResult) => void): Request; - /** - * Associate a fleet to a stack. - */ - associateFleet(callback?: (err: AWSError, data: AppStream.Types.AssociateFleetResult) => void): Request; - /** - * Creates a new fleet. - */ - createFleet(params: AppStream.Types.CreateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.CreateFleetResult) => void): Request; - /** - * Creates a new fleet. - */ - createFleet(callback?: (err: AWSError, data: AppStream.Types.CreateFleetResult) => void): Request; - /** - * Create a new stack. - */ - createStack(params: AppStream.Types.CreateStackRequest, callback?: (err: AWSError, data: AppStream.Types.CreateStackResult) => void): Request; - /** - * Create a new stack. - */ - createStack(callback?: (err: AWSError, data: AppStream.Types.CreateStackResult) => void): Request; - /** - * Creates a URL to start an AppStream 2.0 streaming session for a user. By default, the URL is valid only for 1 minute from the time that it is generated. - */ - createStreamingURL(params: AppStream.Types.CreateStreamingURLRequest, callback?: (err: AWSError, data: AppStream.Types.CreateStreamingURLResult) => void): Request; - /** - * Creates a URL to start an AppStream 2.0 streaming session for a user. By default, the URL is valid only for 1 minute from the time that it is generated. - */ - createStreamingURL(callback?: (err: AWSError, data: AppStream.Types.CreateStreamingURLResult) => void): Request; - /** - * Deletes a fleet. - */ - deleteFleet(params: AppStream.Types.DeleteFleetRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteFleetResult) => void): Request; - /** - * Deletes a fleet. - */ - deleteFleet(callback?: (err: AWSError, data: AppStream.Types.DeleteFleetResult) => void): Request; - /** - * Deletes the stack. After this operation completes, the environment can no longer be activated, and any reservations made for the stack are released. - */ - deleteStack(params: AppStream.Types.DeleteStackRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteStackResult) => void): Request; - /** - * Deletes the stack. After this operation completes, the environment can no longer be activated, and any reservations made for the stack are released. - */ - deleteStack(callback?: (err: AWSError, data: AppStream.Types.DeleteStackResult) => void): Request; - /** - * If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the account are described. - */ - describeFleets(params: AppStream.Types.DescribeFleetsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request; - /** - * If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the account are described. - */ - describeFleets(callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request; - /** - * Describes the images. If a list of names is not provided, all images in your account are returned. This operation does not return a paginated result. - */ - describeImages(params: AppStream.Types.DescribeImagesRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeImagesResult) => void): Request; - /** - * Describes the images. If a list of names is not provided, all images in your account are returned. This operation does not return a paginated result. - */ - describeImages(callback?: (err: AWSError, data: AppStream.Types.DescribeImagesResult) => void): Request; - /** - * Describes the streaming sessions for a stack and a fleet. If a user ID is provided, this operation returns streaming sessions for only that user. Pass this value for the nextToken parameter in a subsequent call to this operation to retrieve the next set of items. If an authentication type is not provided, the operation defaults to users authenticated using a streaming URL. - */ - describeSessions(params: AppStream.Types.DescribeSessionsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeSessionsResult) => void): Request; - /** - * Describes the streaming sessions for a stack and a fleet. If a user ID is provided, this operation returns streaming sessions for only that user. Pass this value for the nextToken parameter in a subsequent call to this operation to retrieve the next set of items. If an authentication type is not provided, the operation defaults to users authenticated using a streaming URL. - */ - describeSessions(callback?: (err: AWSError, data: AppStream.Types.DescribeSessionsResult) => void): Request; - /** - * If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the account are described. Pass the nextToken value in a subsequent call to this operation to retrieve the next set of items. - */ - describeStacks(params: AppStream.Types.DescribeStacksRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeStacksResult) => void): Request; - /** - * If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the account are described. Pass the nextToken value in a subsequent call to this operation to retrieve the next set of items. - */ - describeStacks(callback?: (err: AWSError, data: AppStream.Types.DescribeStacksResult) => void): Request; - /** - * Disassociates a fleet from a stack. - */ - disassociateFleet(params: AppStream.Types.DisassociateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.DisassociateFleetResult) => void): Request; - /** - * Disassociates a fleet from a stack. - */ - disassociateFleet(callback?: (err: AWSError, data: AppStream.Types.DisassociateFleetResult) => void): Request; - /** - * This operation immediately stops a streaming session. - */ - expireSession(params: AppStream.Types.ExpireSessionRequest, callback?: (err: AWSError, data: AppStream.Types.ExpireSessionResult) => void): Request; - /** - * This operation immediately stops a streaming session. - */ - expireSession(callback?: (err: AWSError, data: AppStream.Types.ExpireSessionResult) => void): Request; - /** - * Lists all fleets associated with the stack. - */ - listAssociatedFleets(params: AppStream.Types.ListAssociatedFleetsRequest, callback?: (err: AWSError, data: AppStream.Types.ListAssociatedFleetsResult) => void): Request; - /** - * Lists all fleets associated with the stack. - */ - listAssociatedFleets(callback?: (err: AWSError, data: AppStream.Types.ListAssociatedFleetsResult) => void): Request; - /** - * Lists all stacks to which the specified fleet is associated. - */ - listAssociatedStacks(params: AppStream.Types.ListAssociatedStacksRequest, callback?: (err: AWSError, data: AppStream.Types.ListAssociatedStacksResult) => void): Request; - /** - * Lists all stacks to which the specified fleet is associated. - */ - listAssociatedStacks(callback?: (err: AWSError, data: AppStream.Types.ListAssociatedStacksResult) => void): Request; - /** - * Starts a fleet. - */ - startFleet(params: AppStream.Types.StartFleetRequest, callback?: (err: AWSError, data: AppStream.Types.StartFleetResult) => void): Request; - /** - * Starts a fleet. - */ - startFleet(callback?: (err: AWSError, data: AppStream.Types.StartFleetResult) => void): Request; - /** - * Stops a fleet. - */ - stopFleet(params: AppStream.Types.StopFleetRequest, callback?: (err: AWSError, data: AppStream.Types.StopFleetResult) => void): Request; - /** - * Stops a fleet. - */ - stopFleet(callback?: (err: AWSError, data: AppStream.Types.StopFleetResult) => void): Request; - /** - * Updates an existing fleet. All the attributes except the fleet name can be updated in the STOPPED state. When a fleet is in the RUNNING state, only DisplayName and ComputeCapacity can be updated. A fleet cannot be updated in a status of STARTING or STOPPING. - */ - updateFleet(params: AppStream.Types.UpdateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateFleetResult) => void): Request; - /** - * Updates an existing fleet. All the attributes except the fleet name can be updated in the STOPPED state. When a fleet is in the RUNNING state, only DisplayName and ComputeCapacity can be updated. A fleet cannot be updated in a status of STARTING or STOPPING. - */ - updateFleet(callback?: (err: AWSError, data: AppStream.Types.UpdateFleetResult) => void): Request; - /** - * Updates the specified fields in the stack with the specified name. - */ - updateStack(params: AppStream.Types.UpdateStackRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateStackResult) => void): Request; - /** - * Updates the specified fields in the stack with the specified name. - */ - updateStack(callback?: (err: AWSError, data: AppStream.Types.UpdateStackResult) => void): Request; - /** - * Waits for the fleetStarted state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times). - */ - waitFor(state: "fleetStarted", params: AppStream.Types.DescribeFleetsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request; - /** - * Waits for the fleetStarted state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times). - */ - waitFor(state: "fleetStarted", callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request; - /** - * Waits for the fleetStopped state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times). - */ - waitFor(state: "fleetStopped", params: AppStream.Types.DescribeFleetsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request; - /** - * Waits for the fleetStopped state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times). - */ - waitFor(state: "fleetStopped", callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request; -} -declare namespace AppStream { - export interface Application { - /** - * The unique identifier for the application. - */ - Name?: String; - /** - * The name of the application shown to the end users. - */ - DisplayName?: String; - /** - * The URL for the application icon. This URL may be time-limited. - */ - IconURL?: String; - /** - * The path to the application executable in the instance. - */ - LaunchPath?: String; - /** - * A list of arguments that are passed to the application at launch. - */ - LaunchParameters?: String; - /** - * An application can be disabled after image creation if there is a problem. - */ - Enabled?: Boolean; - /** - * Additional attributes that describe the application. - */ - Metadata?: Metadata; - } - export type Applications = Application[]; - export type Arn = string; - export interface AssociateFleetRequest { - /** - * The name of the fleet to associate. - */ - FleetName: String; - /** - * The name of the stack to which the fleet is associated. - */ - StackName: String; - } - export interface AssociateFleetResult { - } - export type AuthenticationType = "API"|"SAML"|"USERPOOL"|string; - export type Boolean = boolean; - export type BooleanObject = boolean; - export interface ComputeCapacity { - /** - * The desired number of streaming instances. - */ - DesiredInstances: Integer; - } - export interface ComputeCapacityStatus { - /** - * The desired number of streaming instances. - */ - Desired: Integer; - /** - * The total number of simultaneous streaming instances that are running. - */ - Running?: Integer; - /** - * The number of instances that are being used for streaming. - */ - InUse?: Integer; - /** - * The number of currently available instances that can be used to stream sessions. - */ - Available?: Integer; - } - export interface CreateFleetRequest { - /** - * A unique identifier for the fleet. - */ - Name: Name; - /** - * Unique name of the image used by the fleet. - */ - ImageName: String; - /** - * The instance type of compute resources for the fleet. Fleet instances are launched from this instance type. - */ - InstanceType: String; - /** - * The parameters for the capacity allocated to the fleet. - */ - ComputeCapacity: ComputeCapacity; - /** - * The VPC configuration for the fleet. - */ - VpcConfig?: VpcConfig; - /** - * The maximum time for which a streaming session can run. The input can be any numeric value in seconds between 600 and 57600. - */ - MaxUserDurationInSeconds?: Integer; - /** - * The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to their previous session. The input can be any numeric value in seconds between 60 and 57600. - */ - DisconnectTimeoutInSeconds?: Integer; - /** - * The description of the fleet. - */ - Description?: Description; - /** - * The display name of the fleet. - */ - DisplayName?: DisplayName; - /** - * Enables or disables default Internet access for the fleet. - */ - EnableDefaultInternetAccess?: BooleanObject; - } - export interface CreateFleetResult { - /** - * The details for the created fleet. - */ - Fleet?: Fleet; - } - export interface CreateStackRequest { - /** - * The unique identifier for this stack. - */ - Name: String; - /** - * The description displayed to end users on the AppStream 2.0 portal. - */ - Description?: Description; - /** - * The name displayed to end users on the AppStream 2.0 portal. - */ - DisplayName?: DisplayName; - /** - * The storage connectors to be enabled for the stack. - */ - StorageConnectors?: StorageConnectorList; - } - export interface CreateStackResult { - /** - * The details for the created stack. - */ - Stack?: Stack; - } - export interface CreateStreamingURLRequest { - /** - * The stack for which the URL is generated. - */ - StackName: String; - /** - * The fleet for which the URL is generated. - */ - FleetName: String; - /** - * A unique user ID for whom the URL is generated. - */ - UserId: UserId; - /** - * The ID of the application that must be launched after the session starts. - */ - ApplicationId?: String; - /** - * The duration up to which the URL returned by this action is valid. The input can be any numeric value in seconds between 1 and 604800 seconds. - */ - Validity?: Long; - /** - * The sessionContext of the streaming URL. - */ - SessionContext?: String; - } - export interface CreateStreamingURLResult { - /** - * The URL to start the AppStream 2.0 streaming session. - */ - StreamingURL?: String; - /** - * Elapsed seconds after the Unix epoch, at which time this URL expires. - */ - Expires?: Timestamp; - } - export interface DeleteFleetRequest { - /** - * The name of the fleet to be deleted. - */ - Name: String; - } - export interface DeleteFleetResult { - } - export interface DeleteStackRequest { - /** - * The name of the stack to delete. - */ - Name: String; - } - export interface DeleteStackResult { - } - export interface DescribeFleetsRequest { - /** - * The fleet names to describe. Use null to describe all the fleets for the AWS account. - */ - Names?: StringList; - /** - * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page. - */ - NextToken?: String; - } - export interface DescribeFleetsResult { - /** - * The list of fleet details. - */ - Fleets?: FleetList; - /** - * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextToken?: String; - } - export interface DescribeImagesRequest { - /** - * A specific list of images to describe. - */ - Names?: StringList; - } - export interface DescribeImagesResult { - /** - * The list of images. - */ - Images?: ImageList; - } - export interface DescribeSessionsRequest { - /** - * The name of the stack for which to list sessions. - */ - StackName: String; - /** - * The name of the fleet for which to list sessions. - */ - FleetName: String; - /** - * The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet. - */ - UserId?: UserId; - /** - * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page. - */ - NextToken?: String; - /** - * The size of each page of results. The default value is 20 and the maximum supported value is 50. - */ - Limit?: Integer; - /** - * The authentication method of the user. It can be API for a user authenticated using a streaming URL, or SAML for a SAML federated user. If an authentication type is not provided, the operation defaults to users authenticated using a streaming URL. - */ - AuthenticationType?: AuthenticationType; - } - export interface DescribeSessionsResult { - /** - * The list of streaming sessions. - */ - Sessions?: SessionList; - /** - * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextToken?: String; - } - export interface DescribeStacksRequest { - /** - * The stack names to describe. Use null to describe all the stacks for the AWS account. - */ - Names?: StringList; - /** - * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page. - */ - NextToken?: String; - } - export interface DescribeStacksResult { - /** - * The list of stack details. - */ - Stacks?: StackList; - /** - * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextToken?: String; - } - export type Description = string; - export interface DisassociateFleetRequest { - /** - * The name of the fleet to disassociate. - */ - FleetName: String; - /** - * The name of the stack with which the fleet is associated. - */ - StackName: String; - } - export interface DisassociateFleetResult { - } - export type DisplayName = string; - export type ErrorMessage = string; - export interface ExpireSessionRequest { - /** - * The unique identifier of the streaming session to be stopped. - */ - SessionId: String; - } - export interface ExpireSessionResult { - } - export interface Fleet { - /** - * The ARN for the fleet. - */ - Arn: Arn; - /** - * The name of the fleet. - */ - Name: String; - /** - * The name displayed to end users on the AppStream 2.0 portal. - */ - DisplayName?: String; - /** - * The description displayed to end users on the AppStream 2.0 portal. - */ - Description?: String; - /** - * The image used by the fleet. - */ - ImageName: String; - /** - * The instance type of compute resources for the fleet. The fleet instances are launched from this instance type. - */ - InstanceType: String; - /** - * The capacity information for the fleet. - */ - ComputeCapacityStatus: ComputeCapacityStatus; - /** - * The maximum time for which a streaming session can run. The value can be any numeric value in seconds between 600 and 57600. - */ - MaxUserDurationInSeconds?: Integer; - /** - * The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to their previous session. The input can be any numeric value in seconds between 60 and 57600. - */ - DisconnectTimeoutInSeconds?: Integer; - /** - * The current state for the fleet. - */ - State: FleetState; - /** - * The VPC configuration for the fleet. - */ - VpcConfig?: VpcConfig; - /** - * The time at which the fleet was created. - */ - CreatedTime?: Timestamp; - /** - * The list of fleet errors is appended to this list. - */ - FleetErrors?: FleetErrors; - /** - * Whether default Internet access is enabled for the fleet. - */ - EnableDefaultInternetAccess?: BooleanObject; - } - export type FleetAttribute = "VPC_CONFIGURATION"|"VPC_CONFIGURATION_SECURITY_GROUP_IDS"|string; - export type FleetAttributes = FleetAttribute[]; - export interface FleetError { - /** - * The error code for the fleet error. - */ - ErrorCode?: FleetErrorCode; - /** - * The error message generated when the fleet has errors. - */ - ErrorMessage?: String; - } - export type FleetErrorCode = "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION"|"IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION"|"IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION"|"NETWORK_INTERFACE_LIMIT_EXCEEDED"|"INTERNAL_SERVICE_ERROR"|"IAM_SERVICE_ROLE_IS_MISSING"|"SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES"|"IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION"|"SUBNET_NOT_FOUND"|"IMAGE_NOT_FOUND"|"INVALID_SUBNET_CONFIGURATION"|string; - export type FleetErrors = FleetError[]; - export type FleetList = Fleet[]; - export type FleetState = "STARTING"|"RUNNING"|"STOPPING"|"STOPPED"|string; - export interface Image { - /** - * The unique identifier for the image. - */ - Name: String; - /** - * The ARN for the image. - */ - Arn?: Arn; - /** - * The source image ARN from which this image was created. - */ - BaseImageArn?: Arn; - /** - * The display name for the image. - */ - DisplayName?: String; - /** - * The image starts in the PENDING state, and then moves to AVAILABLE if image creation succeeds and FAILED if image creation has failed. - */ - State?: ImageState; - /** - * The visibility of an image to the user; images can be public or private. - */ - Visibility?: VisibilityType; - /** - * Whether an image builder can be launched from this image. - */ - ImageBuilderSupported?: Boolean; - /** - * The operating system platform of the image. - */ - Platform?: PlatformType; - /** - * A meaningful description for the image. - */ - Description?: String; - /** - * The reason why the last state change occurred. - */ - StateChangeReason?: ImageStateChangeReason; - /** - * The applications associated with an image. - */ - Applications?: Applications; - /** - * The timestamp when the image was created. - */ - CreatedTime?: Timestamp; - /** - * The AWS release date of the public base image. For private images, this date is the release date of the base image from which the image was created. - */ - PublicBaseImageReleasedDate?: Timestamp; - } - export type ImageList = Image[]; - export type ImageState = "PENDING"|"AVAILABLE"|"FAILED"|"DELETING"|string; - export interface ImageStateChangeReason { - /** - * The state change reason code of the image. - */ - Code?: ImageStateChangeReasonCode; - /** - * The state change reason message to the end user. - */ - Message?: String; - } - export type ImageStateChangeReasonCode = "INTERNAL_ERROR"|"IMAGE_BUILDER_NOT_AVAILABLE"|string; - export type Integer = number; - export interface ListAssociatedFleetsRequest { - /** - * The name of the stack whose associated fleets are listed. - */ - StackName: String; - /** - * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page. - */ - NextToken?: String; - } - export interface ListAssociatedFleetsResult { - /** - * The names of associated fleets. - */ - Names?: StringList; - /** - * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextToken?: String; - } - export interface ListAssociatedStacksRequest { - /** - * The name of the fleet whose associated stacks are listed. - */ - FleetName: String; - /** - * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page. - */ - NextToken?: String; - } - export interface ListAssociatedStacksResult { - /** - * The names of associated stacks. - */ - Names?: StringList; - /** - * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextToken?: String; - } - export type Long = number; - export type Metadata = {[key: string]: String}; - export type Name = string; - export type PlatformType = "WINDOWS"|string; - export type ResourceIdentifier = string; - export type SecurityGroupIdList = String[]; - export interface Session { - /** - * The unique ID for a streaming session. - */ - Id: String; - /** - * The identifier of the user for whom the session was created. - */ - UserId: UserId; - /** - * The name of the stack for which the streaming session was created. - */ - StackName: String; - /** - * The name of the fleet for which the streaming session was created. - */ - FleetName: String; - /** - * The current state of the streaming session. - */ - State: SessionState; - /** - * The authentication method of the user for whom the session was created. It can be API for a user authenticated using a streaming URL or SAML for a SAML federated user. - */ - AuthenticationType?: AuthenticationType; - } - export type SessionList = Session[]; - export type SessionState = "ACTIVE"|"PENDING"|"EXPIRED"|string; - export interface Stack { - /** - * The ARN of the stack. - */ - Arn?: Arn; - /** - * The unique identifier of the stack. - */ - Name: String; - /** - * A meaningful description for the stack. - */ - Description?: String; - /** - * A display name for the stack. - */ - DisplayName?: String; - /** - * The timestamp when the stack was created. - */ - CreatedTime?: Timestamp; - /** - * The storage connectors to be enabled for the stack. - */ - StorageConnectors?: StorageConnectorList; - /** - * The list of errors associated with the stack. - */ - StackErrors?: StackErrors; - } - export interface StackError { - /** - * The error code of a stack error. - */ - ErrorCode?: StackErrorCode; - /** - * The error message of a stack error. - */ - ErrorMessage?: String; - } - export type StackErrorCode = "STORAGE_CONNECTOR_ERROR"|"INTERNAL_SERVICE_ERROR"|string; - export type StackErrors = StackError[]; - export type StackList = Stack[]; - export interface StartFleetRequest { - /** - * The name of the fleet to start. - */ - Name: String; - } - export interface StartFleetResult { - } - export interface StopFleetRequest { - /** - * The name of the fleet to stop. - */ - Name: String; - } - export interface StopFleetResult { - } - export interface StorageConnector { - /** - * The type of storage connector. The possible values include: HOMEFOLDERS. - */ - ConnectorType: StorageConnectorType; - /** - * The ARN associated with the storage connector. - */ - ResourceIdentifier?: ResourceIdentifier; - } - export type StorageConnectorList = StorageConnector[]; - export type StorageConnectorType = "HOMEFOLDERS"|string; - export type String = string; - export type StringList = String[]; - export type SubnetIdList = String[]; - export type Timestamp = Date; - export interface UpdateFleetRequest { - /** - * The image name from which a fleet is created. - */ - ImageName?: String; - /** - * The name of the fleet. - */ - Name: String; - /** - * The instance type of compute resources for the fleet. Fleet instances are launched from this instance type. - */ - InstanceType?: String; - /** - * The parameters for the capacity allocated to the fleet. - */ - ComputeCapacity?: ComputeCapacity; - /** - * The VPC configuration for the fleet. - */ - VpcConfig?: VpcConfig; - /** - * The maximum time for which a streaming session can run. The input can be any numeric value in seconds between 600 and 57600. - */ - MaxUserDurationInSeconds?: Integer; - /** - * The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to their previous session. The input can be any numeric value in seconds between 60 and 57600. - */ - DisconnectTimeoutInSeconds?: Integer; - /** - * Delete the VPC association for the specified fleet. - */ - DeleteVpcConfig?: Boolean; - /** - * The description displayed to end users on the AppStream 2.0 portal. - */ - Description?: Description; - /** - * The name displayed to end users on the AppStream 2.0 portal. - */ - DisplayName?: DisplayName; - /** - * Enables or disables default Internet access for the fleet. - */ - EnableDefaultInternetAccess?: BooleanObject; - /** - * Fleet attributes to be deleted. - */ - AttributesToDelete?: FleetAttributes; - } - export interface UpdateFleetResult { - /** - * A list of fleet details. - */ - Fleet?: Fleet; - } - export interface UpdateStackRequest { - /** - * The name displayed to end users on the AppStream 2.0 portal. - */ - DisplayName?: DisplayName; - /** - * The description displayed to end users on the AppStream 2.0 portal. - */ - Description?: Description; - /** - * The name of the stack to update. - */ - Name: String; - /** - * The storage connectors to be enabled for the stack. - */ - StorageConnectors?: StorageConnectorList; - /** - * Remove all the storage connectors currently enabled for the stack. - */ - DeleteStorageConnectors?: Boolean; - } - export interface UpdateStackResult { - /** - * A list of stack details. - */ - Stack?: Stack; - } - export type UserId = string; - export type VisibilityType = "PUBLIC"|"PRIVATE"|string; - export interface VpcConfig { - /** - * The list of subnets to which a network interface is established from the fleet instance. - */ - SubnetIds?: SubnetIdList; - /** - * Security groups associated with the fleet. - */ - SecurityGroupIds?: SecurityGroupIdList; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-12-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the AppStream client. - */ - export import Types = AppStream; -} -export = AppStream; diff --git a/src/node_modules/aws-sdk/clients/appstream.js b/src/node_modules/aws-sdk/clients/appstream.js deleted file mode 100644 index 5bc3468..0000000 --- a/src/node_modules/aws-sdk/clients/appstream.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['appstream'] = {}; -AWS.AppStream = Service.defineService('appstream', ['2016-12-01']); -Object.defineProperty(apiLoader.services['appstream'], '2016-12-01', { - get: function get() { - var model = require('../apis/appstream-2016-12-01.min.json'); - model.paginators = require('../apis/appstream-2016-12-01.paginators.json').pagination; - model.waiters = require('../apis/appstream-2016-12-01.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AppStream; diff --git a/src/node_modules/aws-sdk/clients/athena.d.ts b/src/node_modules/aws-sdk/clients/athena.d.ts deleted file mode 100644 index 3c6c02b..0000000 --- a/src/node_modules/aws-sdk/clients/athena.d.ts +++ /dev/null @@ -1,540 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Athena extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Athena.Types.ClientConfiguration) - config: Config & Athena.Types.ClientConfiguration; - /** - * Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Use ListNamedQueries to get the list of named query IDs. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries are different from executed queries. Use BatchGetQueryExecution to get details about each unique query execution, and ListQueryExecutions to get a list of query execution IDs. - */ - batchGetNamedQuery(params: Athena.Types.BatchGetNamedQueryInput, callback?: (err: AWSError, data: Athena.Types.BatchGetNamedQueryOutput) => void): Request; - /** - * Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Use ListNamedQueries to get the list of named query IDs. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries are different from executed queries. Use BatchGetQueryExecution to get details about each unique query execution, and ListQueryExecutions to get a list of query execution IDs. - */ - batchGetNamedQuery(callback?: (err: AWSError, data: Athena.Types.BatchGetNamedQueryOutput) => void): Request; - /** - * Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. To get a list of query execution IDs, use ListQueryExecutions. Query executions are different from named (saved) queries. Use BatchGetNamedQuery to get details about named queries. - */ - batchGetQueryExecution(params: Athena.Types.BatchGetQueryExecutionInput, callback?: (err: AWSError, data: Athena.Types.BatchGetQueryExecutionOutput) => void): Request; - /** - * Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. To get a list of query execution IDs, use ListQueryExecutions. Query executions are different from named (saved) queries. Use BatchGetNamedQuery to get details about named queries. - */ - batchGetQueryExecution(callback?: (err: AWSError, data: Athena.Types.BatchGetQueryExecutionOutput) => void): Request; - /** - * Creates a named query. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - createNamedQuery(params: Athena.Types.CreateNamedQueryInput, callback?: (err: AWSError, data: Athena.Types.CreateNamedQueryOutput) => void): Request; - /** - * Creates a named query. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - createNamedQuery(callback?: (err: AWSError, data: Athena.Types.CreateNamedQueryOutput) => void): Request; - /** - * Deletes a named query. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - deleteNamedQuery(params: Athena.Types.DeleteNamedQueryInput, callback?: (err: AWSError, data: Athena.Types.DeleteNamedQueryOutput) => void): Request; - /** - * Deletes a named query. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - deleteNamedQuery(callback?: (err: AWSError, data: Athena.Types.DeleteNamedQueryOutput) => void): Request; - /** - * Returns information about a single query. - */ - getNamedQuery(params: Athena.Types.GetNamedQueryInput, callback?: (err: AWSError, data: Athena.Types.GetNamedQueryOutput) => void): Request; - /** - * Returns information about a single query. - */ - getNamedQuery(callback?: (err: AWSError, data: Athena.Types.GetNamedQueryOutput) => void): Request; - /** - * Returns information about a single execution of a query. Each time a query executes, information about the query execution is saved with a unique ID. - */ - getQueryExecution(params: Athena.Types.GetQueryExecutionInput, callback?: (err: AWSError, data: Athena.Types.GetQueryExecutionOutput) => void): Request; - /** - * Returns information about a single execution of a query. Each time a query executes, information about the query execution is saved with a unique ID. - */ - getQueryExecution(callback?: (err: AWSError, data: Athena.Types.GetQueryExecutionOutput) => void): Request; - /** - * Returns the results of a single query execution specified by QueryExecutionId. This request does not execute the query but returns results. Use StartQueryExecution to run a query. - */ - getQueryResults(params: Athena.Types.GetQueryResultsInput, callback?: (err: AWSError, data: Athena.Types.GetQueryResultsOutput) => void): Request; - /** - * Returns the results of a single query execution specified by QueryExecutionId. This request does not execute the query but returns results. Use StartQueryExecution to run a query. - */ - getQueryResults(callback?: (err: AWSError, data: Athena.Types.GetQueryResultsOutput) => void): Request; - /** - * Provides a list of all available query IDs. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - listNamedQueries(params: Athena.Types.ListNamedQueriesInput, callback?: (err: AWSError, data: Athena.Types.ListNamedQueriesOutput) => void): Request; - /** - * Provides a list of all available query IDs. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - listNamedQueries(callback?: (err: AWSError, data: Athena.Types.ListNamedQueriesOutput) => void): Request; - /** - * Provides a list of all available query execution IDs. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - listQueryExecutions(params: Athena.Types.ListQueryExecutionsInput, callback?: (err: AWSError, data: Athena.Types.ListQueryExecutionsOutput) => void): Request; - /** - * Provides a list of all available query execution IDs. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - listQueryExecutions(callback?: (err: AWSError, data: Athena.Types.ListQueryExecutionsOutput) => void): Request; - /** - * Runs (executes) the SQL query statements contained in the Query string. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - startQueryExecution(params: Athena.Types.StartQueryExecutionInput, callback?: (err: AWSError, data: Athena.Types.StartQueryExecutionOutput) => void): Request; - /** - * Runs (executes) the SQL query statements contained in the Query string. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - startQueryExecution(callback?: (err: AWSError, data: Athena.Types.StartQueryExecutionOutput) => void): Request; - /** - * Stops a query execution. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - stopQueryExecution(params: Athena.Types.StopQueryExecutionInput, callback?: (err: AWSError, data: Athena.Types.StopQueryExecutionOutput) => void): Request; - /** - * Stops a query execution. For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide. - */ - stopQueryExecution(callback?: (err: AWSError, data: Athena.Types.StopQueryExecutionOutput) => void): Request; -} -declare namespace Athena { - export interface BatchGetNamedQueryInput { - /** - * An array of query IDs. - */ - NamedQueryIds: NamedQueryIdList; - } - export interface BatchGetNamedQueryOutput { - /** - * Information about the named query IDs submitted. - */ - NamedQueries?: NamedQueryList; - /** - * Information about provided query IDs. - */ - UnprocessedNamedQueryIds?: UnprocessedNamedQueryIdList; - } - export interface BatchGetQueryExecutionInput { - /** - * An array of query execution IDs. - */ - QueryExecutionIds: QueryExecutionIdList; - } - export interface BatchGetQueryExecutionOutput { - /** - * Information about a query execution. - */ - QueryExecutions?: QueryExecutionList; - /** - * Information about the query executions that failed to run. - */ - UnprocessedQueryExecutionIds?: UnprocessedQueryExecutionIdList; - } - export type Boolean = boolean; - export interface ColumnInfo { - /** - * The catalog to which the query results belong. - */ - CatalogName?: String; - /** - * The schema name (database name) to which the query results belong. - */ - SchemaName?: String; - /** - * The table name for the query results. - */ - TableName?: String; - /** - * The name of the column. - */ - Name: String; - /** - * A column label. - */ - Label?: String; - /** - * The data type of the column. - */ - Type: String; - /** - * For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits. - */ - Precision?: Integer; - /** - * For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0. - */ - Scale?: Integer; - /** - * Indicates the column's nullable status. - */ - Nullable?: ColumnNullable; - /** - * Indicates whether values in the column are case-sensitive. - */ - CaseSensitive?: Boolean; - } - export type ColumnInfoList = ColumnInfo[]; - export type ColumnNullable = "NOT_NULL"|"NULLABLE"|"UNKNOWN"|string; - export interface CreateNamedQueryInput { - /** - * The plain language name for the query. - */ - Name: NameString; - /** - * A brief explanation of the query. - */ - Description?: DescriptionString; - /** - * The database to which the query belongs. - */ - Database: DatabaseString; - /** - * The text of the query itself. In other words, all query statements. - */ - QueryString: QueryString; - /** - * A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another CreateNamedQuery request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the QueryString, an error is returned. This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail. - */ - ClientRequestToken?: IdempotencyToken; - } - export interface CreateNamedQueryOutput { - /** - * The unique ID of the query. - */ - NamedQueryId?: NamedQueryId; - } - export type DatabaseString = string; - export type _Date = Date; - export interface Datum { - /** - * The value of the datum. - */ - VarCharValue?: datumString; - } - export interface DeleteNamedQueryInput { - /** - * The unique ID of the query to delete. - */ - NamedQueryId: NamedQueryId; - } - export interface DeleteNamedQueryOutput { - } - export type DescriptionString = string; - export interface EncryptionConfiguration { - /** - * Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys (CSE-KMS) is used. - */ - EncryptionOption: EncryptionOption; - /** - * For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID. - */ - KmsKey?: String; - } - export type EncryptionOption = "SSE_S3"|"SSE_KMS"|"CSE_KMS"|string; - export type ErrorCode = string; - export type ErrorMessage = string; - export interface GetNamedQueryInput { - /** - * The unique ID of the query. Use ListNamedQueries to get query IDs. - */ - NamedQueryId: NamedQueryId; - } - export interface GetNamedQueryOutput { - /** - * Information about the query. - */ - NamedQuery?: NamedQuery; - } - export interface GetQueryExecutionInput { - /** - * The unique ID of the query execution. - */ - QueryExecutionId: QueryExecutionId; - } - export interface GetQueryExecutionOutput { - /** - * Information about the query execution. - */ - QueryExecution?: QueryExecution; - } - export interface GetQueryResultsInput { - /** - * The unique ID of the query execution. - */ - QueryExecutionId: QueryExecutionId; - /** - * The token that specifies where to start pagination if a previous request was truncated. - */ - NextToken?: Token; - /** - * The maximum number of results (rows) to return in this request. - */ - MaxResults?: MaxQueryResults; - } - export interface GetQueryResultsOutput { - /** - * The results of the query execution. - */ - ResultSet?: ResultSet; - /** - * A token to be used by the next request if this request is truncated. - */ - NextToken?: Token; - } - export type IdempotencyToken = string; - export type Integer = number; - export interface ListNamedQueriesInput { - /** - * The token that specifies where to start pagination if a previous request was truncated. - */ - NextToken?: Token; - /** - * The maximum number of queries to return in this request. - */ - MaxResults?: MaxNamedQueriesCount; - } - export interface ListNamedQueriesOutput { - /** - * The list of unique query IDs. - */ - NamedQueryIds?: NamedQueryIdList; - /** - * A token to be used by the next request if this request is truncated. - */ - NextToken?: Token; - } - export interface ListQueryExecutionsInput { - /** - * The token that specifies where to start pagination if a previous request was truncated. - */ - NextToken?: Token; - /** - * The maximum number of query executions to return in this request. - */ - MaxResults?: MaxQueryExecutionsCount; - } - export interface ListQueryExecutionsOutput { - /** - * The unique IDs of each query execution as an array of strings. - */ - QueryExecutionIds?: QueryExecutionIdList; - /** - * A token to be used by the next request if this request is truncated. - */ - NextToken?: Token; - } - export type Long = number; - export type MaxNamedQueriesCount = number; - export type MaxQueryExecutionsCount = number; - export type MaxQueryResults = number; - export type NameString = string; - export interface NamedQuery { - /** - * The plain-language name of the query. - */ - Name: NameString; - /** - * A brief description of the query. - */ - Description?: DescriptionString; - /** - * The database to which the query belongs. - */ - Database: DatabaseString; - /** - * The SQL query statements that comprise the query. - */ - QueryString: QueryString; - /** - * The unique identifier of the query. - */ - NamedQueryId?: NamedQueryId; - } - export type NamedQueryId = string; - export type NamedQueryIdList = NamedQueryId[]; - export type NamedQueryList = NamedQuery[]; - export interface QueryExecution { - /** - * The unique identifier for each query execution. - */ - QueryExecutionId?: QueryExecutionId; - /** - * The SQL query statements which the query execution ran. - */ - Query?: QueryString; - /** - * The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results. - */ - ResultConfiguration?: ResultConfiguration; - /** - * The database in which the query execution occurred. - */ - QueryExecutionContext?: QueryExecutionContext; - /** - * The completion date, current state, submission time, and state change reason (if applicable) for the query execution. - */ - Status?: QueryExecutionStatus; - /** - * The amount of data scanned during the query execution and the amount of time that it took to execute. - */ - Statistics?: QueryExecutionStatistics; - } - export interface QueryExecutionContext { - /** - * The name of the database. - */ - Database?: DatabaseString; - } - export type QueryExecutionId = string; - export type QueryExecutionIdList = QueryExecutionId[]; - export type QueryExecutionList = QueryExecution[]; - export type QueryExecutionState = "QUEUED"|"RUNNING"|"SUCCEEDED"|"FAILED"|"CANCELLED"|string; - export interface QueryExecutionStatistics { - /** - * The number of milliseconds that the query took to execute. - */ - EngineExecutionTimeInMillis?: Long; - /** - * The number of bytes in the data that was queried. - */ - DataScannedInBytes?: Long; - } - export interface QueryExecutionStatus { - /** - * The state of query execution. SUBMITTED indicates that the query is queued for execution. RUNNING indicates that the query is scanning data and returning results. SUCCEEDED indicates that the query completed without error. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that user input interrupted query execution. - */ - State?: QueryExecutionState; - /** - * Further detail about the status of the query. - */ - StateChangeReason?: String; - /** - * The date and time that the query was submitted. - */ - SubmissionDateTime?: _Date; - /** - * The date and time that the query completed. - */ - CompletionDateTime?: _Date; - } - export type QueryString = string; - export interface ResultConfiguration { - /** - * The location in S3 where query results are stored. - */ - OutputLocation: String; - /** - * If query results are encrypted in S3, indicates the S3 encryption option used (for example, SSE-KMS or CSE-KMS and key information. - */ - EncryptionConfiguration?: EncryptionConfiguration; - } - export interface ResultSet { - /** - * The rows in the table. - */ - Rows?: RowList; - /** - * The metadata that describes the column structure and data types of a table of query results. - */ - ResultSetMetadata?: ResultSetMetadata; - } - export interface ResultSetMetadata { - /** - * Information about the columns in a query execution result. - */ - ColumnInfo?: ColumnInfoList; - } - export interface Row { - /** - * The data that populates a row in a query result table. - */ - Data?: datumList; - } - export type RowList = Row[]; - export interface StartQueryExecutionInput { - /** - * The SQL query statements to be executed. - */ - QueryString: QueryString; - /** - * A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another StartQueryExecution request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the QueryString, an error is returned. This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail. - */ - ClientRequestToken?: IdempotencyToken; - /** - * The database within which the query executes. - */ - QueryExecutionContext?: QueryExecutionContext; - /** - * Specifies information about where and how to save the results of the query execution. - */ - ResultConfiguration: ResultConfiguration; - } - export interface StartQueryExecutionOutput { - /** - * The unique ID of the query that ran as a result of this request. - */ - QueryExecutionId?: QueryExecutionId; - } - export interface StopQueryExecutionInput { - /** - * The unique ID of the query execution to stop. - */ - QueryExecutionId: QueryExecutionId; - } - export interface StopQueryExecutionOutput { - } - export type String = string; - export type ThrottleReason = "CONCURRENT_QUERY_LIMIT_EXCEEDED"|string; - export type Token = string; - export interface UnprocessedNamedQueryId { - /** - * The unique identifier of the named query. - */ - NamedQueryId?: NamedQueryId; - /** - * The error code returned when the processing request for the named query failed, if applicable. - */ - ErrorCode?: ErrorCode; - /** - * The error message returned when the processing request for the named query failed, if applicable. - */ - ErrorMessage?: ErrorMessage; - } - export type UnprocessedNamedQueryIdList = UnprocessedNamedQueryId[]; - export interface UnprocessedQueryExecutionId { - /** - * The unique identifier of the query execution. - */ - QueryExecutionId?: QueryExecutionId; - /** - * The error code returned when the query execution failed to process, if applicable. - */ - ErrorCode?: ErrorCode; - /** - * The error message returned when the query execution failed to process, if applicable. - */ - ErrorMessage?: ErrorMessage; - } - export type UnprocessedQueryExecutionIdList = UnprocessedQueryExecutionId[]; - export type datumList = Datum[]; - export type datumString = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2017-05-18"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Athena client. - */ - export import Types = Athena; -} -export = Athena; diff --git a/src/node_modules/aws-sdk/clients/athena.js b/src/node_modules/aws-sdk/clients/athena.js deleted file mode 100644 index 2d4d78f..0000000 --- a/src/node_modules/aws-sdk/clients/athena.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['athena'] = {}; -AWS.Athena = Service.defineService('athena', ['2017-05-18']); -Object.defineProperty(apiLoader.services['athena'], '2017-05-18', { - get: function get() { - var model = require('../apis/athena-2017-05-18.min.json'); - model.paginators = require('../apis/athena-2017-05-18.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Athena; diff --git a/src/node_modules/aws-sdk/clients/autoscaling.d.ts b/src/node_modules/aws-sdk/clients/autoscaling.d.ts deleted file mode 100644 index b853cee..0000000 --- a/src/node_modules/aws-sdk/clients/autoscaling.d.ts +++ /dev/null @@ -1,2143 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class AutoScaling extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: AutoScaling.Types.ClientConfiguration) - config: Config & AutoScaling.Types.ClientConfiguration; - /** - * Attaches one or more EC2 instances to the specified Auto Scaling group. When you attach instances, Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails. If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups. For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Auto Scaling User Guide. - */ - attachInstances(params: AutoScaling.Types.AttachInstancesQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches one or more EC2 instances to the specified Auto Scaling group. When you attach instances, Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails. If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups. For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Auto Scaling User Guide. - */ - attachInstances(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches one or more target groups to the specified Auto Scaling group. To describe the target groups for an Auto Scaling group, use DescribeLoadBalancerTargetGroups. To detach the target group from the Auto Scaling group, use DetachLoadBalancerTargetGroups. For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide. - */ - attachLoadBalancerTargetGroups(params: AutoScaling.Types.AttachLoadBalancerTargetGroupsType, callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType) => void): Request; - /** - * Attaches one or more target groups to the specified Auto Scaling group. To describe the target groups for an Auto Scaling group, use DescribeLoadBalancerTargetGroups. To detach the target group from the Auto Scaling group, use DetachLoadBalancerTargetGroups. For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide. - */ - attachLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType) => void): Request; - /** - * Attaches one or more Classic Load Balancers to the specified Auto Scaling group. To attach an Application Load Balancer instead, see AttachLoadBalancerTargetGroups. To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers. For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide. - */ - attachLoadBalancers(params: AutoScaling.Types.AttachLoadBalancersType, callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancersResultType) => void): Request; - /** - * Attaches one or more Classic Load Balancers to the specified Auto Scaling group. To attach an Application Load Balancer instead, see AttachLoadBalancerTargetGroups. To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers. For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide. - */ - attachLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancersResultType) => void): Request; - /** - * Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide. - */ - completeLifecycleAction(params: AutoScaling.Types.CompleteLifecycleActionType, callback?: (err: AWSError, data: AutoScaling.Types.CompleteLifecycleActionAnswer) => void): Request; - /** - * Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide. - */ - completeLifecycleAction(callback?: (err: AWSError, data: AutoScaling.Types.CompleteLifecycleActionAnswer) => void): Request; - /** - * Creates an Auto Scaling group with the specified name and attributes. If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits. For more information, see Auto Scaling Groups in the Auto Scaling User Guide. - */ - createAutoScalingGroup(params: AutoScaling.Types.CreateAutoScalingGroupType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates an Auto Scaling group with the specified name and attributes. If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits. For more information, see Auto Scaling Groups in the Auto Scaling User Guide. - */ - createAutoScalingGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a launch configuration. If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits. For more information, see Launch Configurations in the Auto Scaling User Guide. - */ - createLaunchConfiguration(params: AutoScaling.Types.CreateLaunchConfigurationType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a launch configuration. If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits. For more information, see Launch Configurations in the Auto Scaling User Guide. - */ - createLaunchConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates tags for the specified Auto Scaling group. When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message. For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling User Guide. - */ - createOrUpdateTags(params: AutoScaling.Types.CreateOrUpdateTagsType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates tags for the specified Auto Scaling group. When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message. For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling User Guide. - */ - createOrUpdateTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified Auto Scaling group. If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed. If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action. To remove instances from the Auto Scaling group before deleting it, call DetachInstances with the list of instances and the option to decrement the desired capacity so that Auto Scaling does not launch replacement instances. To terminate all instances before deleting the Auto Scaling group, call UpdateAutoScalingGroup and set the minimum size and desired capacity of the Auto Scaling group to zero. - */ - deleteAutoScalingGroup(params: AutoScaling.Types.DeleteAutoScalingGroupType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified Auto Scaling group. If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed. If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action. To remove instances from the Auto Scaling group before deleting it, call DetachInstances with the list of instances and the option to decrement the desired capacity so that Auto Scaling does not launch replacement instances. To terminate all instances before deleting the Auto Scaling group, call UpdateAutoScalingGroup and set the minimum size and desired capacity of the Auto Scaling group to zero. - */ - deleteAutoScalingGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified launch configuration. The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use. - */ - deleteLaunchConfiguration(params: AutoScaling.Types.LaunchConfigurationNameType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified launch configuration. The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use. - */ - deleteLaunchConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified lifecycle hook. If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances). - */ - deleteLifecycleHook(params: AutoScaling.Types.DeleteLifecycleHookType, callback?: (err: AWSError, data: AutoScaling.Types.DeleteLifecycleHookAnswer) => void): Request; - /** - * Deletes the specified lifecycle hook. If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances). - */ - deleteLifecycleHook(callback?: (err: AWSError, data: AutoScaling.Types.DeleteLifecycleHookAnswer) => void): Request; - /** - * Deletes the specified notification. - */ - deleteNotificationConfiguration(params: AutoScaling.Types.DeleteNotificationConfigurationType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified notification. - */ - deleteNotificationConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified Auto Scaling policy. Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action. - */ - deletePolicy(params: AutoScaling.Types.DeletePolicyType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified Auto Scaling policy. Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action. - */ - deletePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified scheduled action. - */ - deleteScheduledAction(params: AutoScaling.Types.DeleteScheduledActionType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified scheduled action. - */ - deleteScheduledAction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified tags. - */ - deleteTags(params: AutoScaling.Types.DeleteTagsType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified tags. - */ - deleteTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Describes the current Auto Scaling resource limits for your AWS account. For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference. - */ - describeAccountLimits(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAccountLimitsAnswer) => void): Request; - /** - * Describes the policy adjustment types for use with PutScalingPolicy. - */ - describeAdjustmentTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAdjustmentTypesAnswer) => void): Request; - /** - * Describes one or more Auto Scaling groups. - */ - describeAutoScalingGroups(params: AutoScaling.Types.AutoScalingGroupNamesType, callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingGroupsType) => void): Request; - /** - * Describes one or more Auto Scaling groups. - */ - describeAutoScalingGroups(callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingGroupsType) => void): Request; - /** - * Describes one or more Auto Scaling instances. - */ - describeAutoScalingInstances(params: AutoScaling.Types.DescribeAutoScalingInstancesType, callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingInstancesType) => void): Request; - /** - * Describes one or more Auto Scaling instances. - */ - describeAutoScalingInstances(callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingInstancesType) => void): Request; - /** - * Describes the notification types that are supported by Auto Scaling. - */ - describeAutoScalingNotificationTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAutoScalingNotificationTypesAnswer) => void): Request; - /** - * Describes one or more launch configurations. - */ - describeLaunchConfigurations(params: AutoScaling.Types.LaunchConfigurationNamesType, callback?: (err: AWSError, data: AutoScaling.Types.LaunchConfigurationsType) => void): Request; - /** - * Describes one or more launch configurations. - */ - describeLaunchConfigurations(callback?: (err: AWSError, data: AutoScaling.Types.LaunchConfigurationsType) => void): Request; - /** - * Describes the available types of lifecycle hooks. - */ - describeLifecycleHookTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLifecycleHookTypesAnswer) => void): Request; - /** - * Describes the lifecycle hooks for the specified Auto Scaling group. - */ - describeLifecycleHooks(params: AutoScaling.Types.DescribeLifecycleHooksType, callback?: (err: AWSError, data: AutoScaling.Types.DescribeLifecycleHooksAnswer) => void): Request; - /** - * Describes the lifecycle hooks for the specified Auto Scaling group. - */ - describeLifecycleHooks(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLifecycleHooksAnswer) => void): Request; - /** - * Describes the target groups for the specified Auto Scaling group. - */ - describeLoadBalancerTargetGroups(params: AutoScaling.Types.DescribeLoadBalancerTargetGroupsRequest, callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse) => void): Request; - /** - * Describes the target groups for the specified Auto Scaling group. - */ - describeLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse) => void): Request; - /** - * Describes the load balancers for the specified Auto Scaling group. Note that this operation describes only Classic Load Balancers. If you have Application Load Balancers, use DescribeLoadBalancerTargetGroups instead. - */ - describeLoadBalancers(params: AutoScaling.Types.DescribeLoadBalancersRequest, callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancersResponse) => void): Request; - /** - * Describes the load balancers for the specified Auto Scaling group. Note that this operation describes only Classic Load Balancers. If you have Application Load Balancers, use DescribeLoadBalancerTargetGroups instead. - */ - describeLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancersResponse) => void): Request; - /** - * Describes the available CloudWatch metrics for Auto Scaling. Note that the GroupStandbyInstances metric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection. - */ - describeMetricCollectionTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeMetricCollectionTypesAnswer) => void): Request; - /** - * Describes the notification actions associated with the specified Auto Scaling group. - */ - describeNotificationConfigurations(params: AutoScaling.Types.DescribeNotificationConfigurationsType, callback?: (err: AWSError, data: AutoScaling.Types.DescribeNotificationConfigurationsAnswer) => void): Request; - /** - * Describes the notification actions associated with the specified Auto Scaling group. - */ - describeNotificationConfigurations(callback?: (err: AWSError, data: AutoScaling.Types.DescribeNotificationConfigurationsAnswer) => void): Request; - /** - * Describes the policies for the specified Auto Scaling group. - */ - describePolicies(params: AutoScaling.Types.DescribePoliciesType, callback?: (err: AWSError, data: AutoScaling.Types.PoliciesType) => void): Request; - /** - * Describes the policies for the specified Auto Scaling group. - */ - describePolicies(callback?: (err: AWSError, data: AutoScaling.Types.PoliciesType) => void): Request; - /** - * Describes one or more scaling activities for the specified Auto Scaling group. - */ - describeScalingActivities(params: AutoScaling.Types.DescribeScalingActivitiesType, callback?: (err: AWSError, data: AutoScaling.Types.ActivitiesType) => void): Request; - /** - * Describes one or more scaling activities for the specified Auto Scaling group. - */ - describeScalingActivities(callback?: (err: AWSError, data: AutoScaling.Types.ActivitiesType) => void): Request; - /** - * Describes the scaling process types for use with ResumeProcesses and SuspendProcesses. - */ - describeScalingProcessTypes(callback?: (err: AWSError, data: AutoScaling.Types.ProcessesType) => void): Request; - /** - * Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities. - */ - describeScheduledActions(params: AutoScaling.Types.DescribeScheduledActionsType, callback?: (err: AWSError, data: AutoScaling.Types.ScheduledActionsType) => void): Request; - /** - * Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities. - */ - describeScheduledActions(callback?: (err: AWSError, data: AutoScaling.Types.ScheduledActionsType) => void): Request; - /** - * Describes the specified tags. You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results. You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned. - */ - describeTags(params: AutoScaling.Types.DescribeTagsType, callback?: (err: AWSError, data: AutoScaling.Types.TagsType) => void): Request; - /** - * Describes the specified tags. You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results. You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned. - */ - describeTags(callback?: (err: AWSError, data: AutoScaling.Types.TagsType) => void): Request; - /** - * Describes the termination policies supported by Auto Scaling. - */ - describeTerminationPolicyTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeTerminationPolicyTypesAnswer) => void): Request; - /** - * Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independent of the Auto Scaling group. If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached. If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups. For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling User Guide. - */ - detachInstances(params: AutoScaling.Types.DetachInstancesQuery, callback?: (err: AWSError, data: AutoScaling.Types.DetachInstancesAnswer) => void): Request; - /** - * Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independent of the Auto Scaling group. If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached. If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups. For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling User Guide. - */ - detachInstances(callback?: (err: AWSError, data: AutoScaling.Types.DetachInstancesAnswer) => void): Request; - /** - * Detaches one or more target groups from the specified Auto Scaling group. - */ - detachLoadBalancerTargetGroups(params: AutoScaling.Types.DetachLoadBalancerTargetGroupsType, callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType) => void): Request; - /** - * Detaches one or more target groups from the specified Auto Scaling group. - */ - detachLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType) => void): Request; - /** - * Detaches one or more Classic Load Balancers from the specified Auto Scaling group. Note that this operation detaches only Classic Load Balancers. If you have Application Load Balancers, use DetachLoadBalancerTargetGroups instead. When you detach a load balancer, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using DescribeLoadBalancers. Note that the instances remain running. - */ - detachLoadBalancers(params: AutoScaling.Types.DetachLoadBalancersType, callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancersResultType) => void): Request; - /** - * Detaches one or more Classic Load Balancers from the specified Auto Scaling group. Note that this operation detaches only Classic Load Balancers. If you have Application Load Balancers, use DetachLoadBalancerTargetGroups instead. When you detach a load balancer, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using DescribeLoadBalancers. Note that the instances remain running. - */ - detachLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancersResultType) => void): Request; - /** - * Disables group metrics for the specified Auto Scaling group. - */ - disableMetricsCollection(params: AutoScaling.Types.DisableMetricsCollectionQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables group metrics for the specified Auto Scaling group. - */ - disableMetricsCollection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring Your Auto Scaling Groups and Instances in the Auto Scaling User Guide. - */ - enableMetricsCollection(params: AutoScaling.Types.EnableMetricsCollectionQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring Your Auto Scaling Groups and Instances in the Auto Scaling User Guide. - */ - enableMetricsCollection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Moves the specified instances into the standby state. For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Auto Scaling User Guide. - */ - enterStandby(params: AutoScaling.Types.EnterStandbyQuery, callback?: (err: AWSError, data: AutoScaling.Types.EnterStandbyAnswer) => void): Request; - /** - * Moves the specified instances into the standby state. For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Auto Scaling User Guide. - */ - enterStandby(callback?: (err: AWSError, data: AutoScaling.Types.EnterStandbyAnswer) => void): Request; - /** - * Executes the specified policy. - */ - executePolicy(params: AutoScaling.Types.ExecutePolicyType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Executes the specified policy. - */ - executePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Moves the specified instances out of the standby state. For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Auto Scaling User Guide. - */ - exitStandby(params: AutoScaling.Types.ExitStandbyQuery, callback?: (err: AWSError, data: AutoScaling.Types.ExitStandbyAnswer) => void): Request; - /** - * Moves the specified instances out of the standby state. For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Auto Scaling User Guide. - */ - exitStandby(callback?: (err: AWSError, data: AutoScaling.Types.ExitStandbyAnswer) => void): Request; - /** - * Creates or updates a lifecycle hook for the specified Auto Scaling Group. A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Auto Scaling Lifecycle Hooks in the Auto Scaling User Guide. If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference. - */ - putLifecycleHook(params: AutoScaling.Types.PutLifecycleHookType, callback?: (err: AWSError, data: AutoScaling.Types.PutLifecycleHookAnswer) => void): Request; - /** - * Creates or updates a lifecycle hook for the specified Auto Scaling Group. A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Auto Scaling Lifecycle Hooks in the Auto Scaling User Guide. If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference. - */ - putLifecycleHook(callback?: (err: AWSError, data: AutoScaling.Types.PutLifecycleHookAnswer) => void): Request; - /** - * Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address. This configuration overwrites any existing configuration. For more information see Getting SNS Notifications When Your Auto Scaling Group Scales in the Auto Scaling User Guide. - */ - putNotificationConfiguration(params: AutoScaling.Types.PutNotificationConfigurationType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address. This configuration overwrites any existing configuration. For more information see Getting SNS Notifications When Your Auto Scaling Group Scales in the Auto Scaling User Guide. - */ - putNotificationConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request. If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference. - */ - putScalingPolicy(params: AutoScaling.Types.PutScalingPolicyType, callback?: (err: AWSError, data: AutoScaling.Types.PolicyARNType) => void): Request; - /** - * Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request. If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference. - */ - putScalingPolicy(callback?: (err: AWSError, data: AutoScaling.Types.PolicyARNType) => void): Request; - /** - * Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged. For more information, see Scheduled Scaling in the Auto Scaling User Guide. - */ - putScheduledUpdateGroupAction(params: AutoScaling.Types.PutScheduledUpdateGroupActionType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged. For more information, see Scheduled Scaling in the Auto Scaling User Guide. - */ - putScheduledUpdateGroupAction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using PutLifecycleHook. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide. - */ - recordLifecycleActionHeartbeat(params: AutoScaling.Types.RecordLifecycleActionHeartbeatType, callback?: (err: AWSError, data: AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer) => void): Request; - /** - * Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using PutLifecycleHook. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide. - */ - recordLifecycleActionHeartbeat(callback?: (err: AWSError, data: AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer) => void): Request; - /** - * Resumes the specified suspended Auto Scaling processes, or all suspended process, for the specified Auto Scaling group. For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide. - */ - resumeProcesses(params: AutoScaling.Types.ScalingProcessQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resumes the specified suspended Auto Scaling processes, or all suspended process, for the specified Auto Scaling group. For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide. - */ - resumeProcesses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the size of the specified Auto Scaling group. For more information about desired capacity, see What Is Auto Scaling? in the Auto Scaling User Guide. - */ - setDesiredCapacity(params: AutoScaling.Types.SetDesiredCapacityType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the size of the specified Auto Scaling group. For more information about desired capacity, see What Is Auto Scaling? in the Auto Scaling User Guide. - */ - setDesiredCapacity(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the health status of the specified instance. For more information, see Health Checks in the Auto Scaling User Guide. - */ - setInstanceHealth(params: AutoScaling.Types.SetInstanceHealthQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the health status of the specified instance. For more information, see Health Checks in the Auto Scaling User Guide. - */ - setInstanceHealth(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the instance protection settings of the specified instances. For more information, see Instance Protection in the Auto Scaling User Guide. - */ - setInstanceProtection(params: AutoScaling.Types.SetInstanceProtectionQuery, callback?: (err: AWSError, data: AutoScaling.Types.SetInstanceProtectionAnswer) => void): Request; - /** - * Updates the instance protection settings of the specified instances. For more information, see Instance Protection in the Auto Scaling User Guide. - */ - setInstanceProtection(callback?: (err: AWSError, data: AutoScaling.Types.SetInstanceProtectionAnswer) => void): Request; - /** - * Suspends the specified Auto Scaling processes, or all processes, for the specified Auto Scaling group. Note that if you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. To resume processes that have been suspended, use ResumeProcesses. For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide. - */ - suspendProcesses(params: AutoScaling.Types.ScalingProcessQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Suspends the specified Auto Scaling processes, or all processes, for the specified Auto Scaling group. Note that if you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. To resume processes that have been suspended, use ResumeProcesses. For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide. - */ - suspendProcesses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Terminates the specified instance and optionally adjusts the desired group size. This call simply makes a termination request. The instance is not terminated immediately. - */ - terminateInstanceInAutoScalingGroup(params: AutoScaling.Types.TerminateInstanceInAutoScalingGroupType, callback?: (err: AWSError, data: AutoScaling.Types.ActivityType) => void): Request; - /** - * Terminates the specified instance and optionally adjusts the desired group size. This call simply makes a termination request. The instance is not terminated immediately. - */ - terminateInstanceInAutoScalingGroup(callback?: (err: AWSError, data: AutoScaling.Types.ActivityType) => void): Request; - /** - * Updates the configuration for the specified Auto Scaling group. The new settings take effect on any scaling activities after this call returns. Scaling activities that are currently in progress aren't affected. To update an Auto Scaling group with a launch configuration with InstanceMonitoring set to false, you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection. Note the following: If you specify a new value for MinSize without specifying a value for DesiredCapacity, and the new MinSize is larger than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MinSize. If you specify a new value for MaxSize without specifying a value for DesiredCapacity, and the new MaxSize is smaller than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MaxSize. All other optional parameters are left unchanged if not specified. - */ - updateAutoScalingGroup(params: AutoScaling.Types.UpdateAutoScalingGroupType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the configuration for the specified Auto Scaling group. The new settings take effect on any scaling activities after this call returns. Scaling activities that are currently in progress aren't affected. To update an Auto Scaling group with a launch configuration with InstanceMonitoring set to false, you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection. Note the following: If you specify a new value for MinSize without specifying a value for DesiredCapacity, and the new MinSize is larger than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MinSize. If you specify a new value for MaxSize without specifying a value for DesiredCapacity, and the new MaxSize is smaller than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MaxSize. All other optional parameters are left unchanged if not specified. - */ - updateAutoScalingGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace AutoScaling { - export type Activities = Activity[]; - export interface ActivitiesType { - /** - * The scaling activities. Activities are sorted by start time. Activities still in progress are described first. - */ - Activities: Activities; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: XmlString; - } - export interface Activity { - /** - * The ID of the activity. - */ - ActivityId: XmlString; - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: XmlStringMaxLen255; - /** - * A friendly, more verbose description of the activity. - */ - Description?: XmlString; - /** - * The reason the activity began. - */ - Cause: XmlStringMaxLen1023; - /** - * The start time of the activity. - */ - StartTime: TimestampType; - /** - * The end time of the activity. - */ - EndTime?: TimestampType; - /** - * The current status of the activity. - */ - StatusCode: ScalingActivityStatusCode; - /** - * A friendly, more verbose description of the activity status. - */ - StatusMessage?: XmlStringMaxLen255; - /** - * A value between 0 and 100 that indicates the progress of the activity. - */ - Progress?: Progress; - /** - * The details about the activity. - */ - Details?: XmlString; - } - export type ActivityIds = XmlString[]; - export interface ActivityType { - /** - * A scaling activity. - */ - Activity?: Activity; - } - export interface AdjustmentType { - /** - * The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. - */ - AdjustmentType?: XmlStringMaxLen255; - } - export type AdjustmentTypes = AdjustmentType[]; - export interface Alarm { - /** - * The name of the alarm. - */ - AlarmName?: XmlStringMaxLen255; - /** - * The Amazon Resource Name (ARN) of the alarm. - */ - AlarmARN?: ResourceName; - } - export type Alarms = Alarm[]; - export type AsciiStringMaxLen255 = string; - export type AssociatePublicIpAddress = boolean; - export interface AttachInstancesQuery { - /** - * One or more instance IDs. - */ - InstanceIds?: InstanceIds; - /** - * The name of the group. - */ - AutoScalingGroupName: ResourceName; - } - export interface AttachLoadBalancerTargetGroupsResultType { - } - export interface AttachLoadBalancerTargetGroupsType { - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * The Amazon Resource Names (ARN) of the target groups. - */ - TargetGroupARNs: TargetGroupARNs; - } - export interface AttachLoadBalancersResultType { - } - export interface AttachLoadBalancersType { - /** - * The name of the group. - */ - AutoScalingGroupName: ResourceName; - /** - * One or more load balancer names. - */ - LoadBalancerNames: LoadBalancerNames; - } - export interface AutoScalingGroup { - /** - * The name of the group. - */ - AutoScalingGroupName: XmlStringMaxLen255; - /** - * The Amazon Resource Name (ARN) of the group. - */ - AutoScalingGroupARN?: ResourceName; - /** - * The name of the associated launch configuration. - */ - LaunchConfigurationName?: XmlStringMaxLen255; - /** - * The minimum size of the group. - */ - MinSize: AutoScalingGroupMinSize; - /** - * The maximum size of the group. - */ - MaxSize: AutoScalingGroupMaxSize; - /** - * The desired size of the group. - */ - DesiredCapacity: AutoScalingGroupDesiredCapacity; - /** - * The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. - */ - DefaultCooldown: Cooldown; - /** - * One or more Availability Zones for the group. - */ - AvailabilityZones: AvailabilityZones; - /** - * One or more load balancers associated with the group. - */ - LoadBalancerNames?: LoadBalancerNames; - /** - * The Amazon Resource Names (ARN) of the target groups for your load balancer. - */ - TargetGroupARNs?: TargetGroupARNs; - /** - * The service to use for the health checks. The valid values are EC2 and ELB. - */ - HealthCheckType: XmlStringMaxLen32; - /** - * The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. - */ - HealthCheckGracePeriod?: HealthCheckGracePeriod; - /** - * The EC2 instances associated with the group. - */ - Instances?: Instances; - /** - * The date and time the group was created. - */ - CreatedTime: TimestampType; - /** - * The suspended processes associated with the group. - */ - SuspendedProcesses?: SuspendedProcesses; - /** - * The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide. - */ - PlacementGroup?: XmlStringMaxLen255; - /** - * One or more subnet IDs, if applicable, separated by commas. If you specify VPCZoneIdentifier and AvailabilityZones, ensure that the Availability Zones of the subnets match the values for AvailabilityZones. - */ - VPCZoneIdentifier?: XmlStringMaxLen2047; - /** - * The metrics enabled for the group. - */ - EnabledMetrics?: EnabledMetrics; - /** - * The current state of the group when DeleteAutoScalingGroup is in progress. - */ - Status?: XmlStringMaxLen255; - /** - * The tags for the group. - */ - Tags?: TagDescriptionList; - /** - * The termination policies for the group. - */ - TerminationPolicies?: TerminationPolicies; - /** - * Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in. - */ - NewInstancesProtectedFromScaleIn?: InstanceProtected; - } - export type AutoScalingGroupDesiredCapacity = number; - export type AutoScalingGroupMaxSize = number; - export type AutoScalingGroupMinSize = number; - export type AutoScalingGroupNames = ResourceName[]; - export interface AutoScalingGroupNamesType { - /** - * The group names. If you omit this parameter, all Auto Scaling groups are described. - */ - AutoScalingGroupNames?: AutoScalingGroupNames; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: XmlString; - /** - * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100. - */ - MaxRecords?: MaxRecords; - } - export type AutoScalingGroups = AutoScalingGroup[]; - export interface AutoScalingGroupsType { - /** - * The groups. - */ - AutoScalingGroups: AutoScalingGroups; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: XmlString; - } - export interface AutoScalingInstanceDetails { - /** - * The ID of the instance. - */ - InstanceId: XmlStringMaxLen19; - /** - * The name of the Auto Scaling group associated with the instance. - */ - AutoScalingGroupName: XmlStringMaxLen255; - /** - * The Availability Zone for the instance. - */ - AvailabilityZone: XmlStringMaxLen255; - /** - * The lifecycle state for the instance. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide. - */ - LifecycleState: XmlStringMaxLen32; - /** - * The last reported health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should terminate and replace it. - */ - HealthStatus: XmlStringMaxLen32; - /** - * The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group. - */ - LaunchConfigurationName: XmlStringMaxLen255; - /** - * Indicates whether the instance is protected from termination by Auto Scaling when scaling in. - */ - ProtectedFromScaleIn: InstanceProtected; - } - export type AutoScalingInstances = AutoScalingInstanceDetails[]; - export interface AutoScalingInstancesType { - /** - * The instances. - */ - AutoScalingInstances?: AutoScalingInstances; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: XmlString; - } - export type AutoScalingNotificationTypes = XmlStringMaxLen255[]; - export type AvailabilityZones = XmlStringMaxLen255[]; - export type BlockDeviceEbsDeleteOnTermination = boolean; - export type BlockDeviceEbsEncrypted = boolean; - export type BlockDeviceEbsIops = number; - export type BlockDeviceEbsVolumeSize = number; - export type BlockDeviceEbsVolumeType = string; - export interface BlockDeviceMapping { - /** - * The name of the virtual device (for example, ephemeral0). - */ - VirtualName?: XmlStringMaxLen255; - /** - * The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). - */ - DeviceName: XmlStringMaxLen255; - /** - * The information about the Amazon EBS volume. - */ - Ebs?: Ebs; - /** - * Suppresses a device mapping. If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check. - */ - NoDevice?: NoDevice; - } - export type BlockDeviceMappings = BlockDeviceMapping[]; - export type ClassicLinkVPCSecurityGroups = XmlStringMaxLen255[]; - export interface CompleteLifecycleActionAnswer { - } - export interface CompleteLifecycleActionType { - /** - * The name of the lifecycle hook. - */ - LifecycleHookName: AsciiStringMaxLen255; - /** - * The name of the group for the lifecycle hook. - */ - AutoScalingGroupName: ResourceName; - /** - * A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook. - */ - LifecycleActionToken?: LifecycleActionToken; - /** - * The action for the group to take. This parameter can be either CONTINUE or ABANDON. - */ - LifecycleActionResult: LifecycleActionResult; - /** - * The ID of the instance. - */ - InstanceId?: XmlStringMaxLen19; - } - export type Cooldown = number; - export interface CreateAutoScalingGroupType { - /** - * The name of the group. This name must be unique within the scope of your AWS account. - */ - AutoScalingGroupName: XmlStringMaxLen255; - /** - * The name of the launch configuration. Alternatively, specify an EC2 instance instead of a launch configuration. - */ - LaunchConfigurationName?: ResourceName; - /** - * The ID of the instance used to create a launch configuration for the group. Alternatively, specify a launch configuration instead of an EC2 instance. When you specify an ID of an instance, Auto Scaling creates a new launch configuration and associates it with the group. This launch configuration derives its attributes from the specified instance, with the exception of the block device mapping. For more information, see Create an Auto Scaling Group Using an EC2 Instance in the Auto Scaling User Guide. - */ - InstanceId?: XmlStringMaxLen19; - /** - * The minimum size of the group. - */ - MinSize: AutoScalingGroupMinSize; - /** - * The maximum size of the group. - */ - MaxSize: AutoScalingGroupMaxSize; - /** - * The number of EC2 instances that should be running in the group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity, the default is the minimum size of the group. - */ - DesiredCapacity?: AutoScalingGroupDesiredCapacity; - /** - * The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300. For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide. - */ - DefaultCooldown?: Cooldown; - /** - * One or more Availability Zones for the group. This parameter is optional if you specify one or more subnets. - */ - AvailabilityZones?: AvailabilityZones; - /** - * One or more Classic Load Balancers. To specify an Application Load Balancer, use TargetGroupARNs instead. For more information, see Using a Load Balancer With an Auto Scaling Group in the Auto Scaling User Guide. - */ - LoadBalancerNames?: LoadBalancerNames; - /** - * The Amazon Resource Names (ARN) of the target groups. - */ - TargetGroupARNs?: TargetGroupARNs; - /** - * The service to use for the health checks. The valid values are EC2 and ELB. By default, health checks use Amazon EC2 instance status checks to determine the health of an instance. For more information, see Health Checks in the Auto Scaling User Guide. - */ - HealthCheckType?: XmlStringMaxLen32; - /** - * The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. During this time, any health check failures for the instance are ignored. The default is 0. This parameter is required if you are adding an ELB health check. For more information, see Health Checks in the Auto Scaling User Guide. - */ - HealthCheckGracePeriod?: HealthCheckGracePeriod; - /** - * The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide. - */ - PlacementGroup?: XmlStringMaxLen255; - /** - * A comma-separated list of subnet identifiers for your virtual private cloud (VPC). If you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide. - */ - VPCZoneIdentifier?: XmlStringMaxLen2047; - /** - * One or more termination policies used to select the instance to terminate. These policies are executed in the order that they are listed. For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Auto Scaling User Guide. - */ - TerminationPolicies?: TerminationPolicies; - /** - * Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in. - */ - NewInstancesProtectedFromScaleIn?: InstanceProtected; - /** - * One or more tags. For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling User Guide. - */ - Tags?: Tags; - } - export interface CreateLaunchConfigurationType { - /** - * The name of the launch configuration. This name must be unique within the scope of your AWS account. - */ - LaunchConfigurationName: XmlStringMaxLen255; - /** - * The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. If you do not specify InstanceId, you must specify ImageId. For more information, see Finding an AMI in the Amazon Elastic Compute Cloud User Guide. - */ - ImageId?: XmlStringMaxLen255; - /** - * The name of the key pair. For more information, see Amazon EC2 Key Pairs in the Amazon Elastic Compute Cloud User Guide. - */ - KeyName?: XmlStringMaxLen255; - /** - * One or more security groups with which to associate the instances. If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide. If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - SecurityGroups?: SecurityGroups; - /** - * The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter is supported only if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - ClassicLinkVPCId?: XmlStringMaxLen255; - /** - * The IDs of one or more security groups for the specified ClassicLink-enabled VPC. This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - ClassicLinkVPCSecurityGroups?: ClassicLinkVPCSecurityGroups; - /** - * The user data to make available to the launched EC2 instances. For more information, see Instance Metadata and User Data in the Amazon Elastic Compute Cloud User Guide. - */ - UserData?: XmlStringUserData; - /** - * The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, with the exception of the block device mapping. If you do not specify InstanceId, you must specify both ImageId and InstanceType. To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request. For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide. - */ - InstanceId?: XmlStringMaxLen19; - /** - * The instance type of the EC2 instance. If you do not specify InstanceId, you must specify InstanceType. For information about available instance types, see Available Instance Types in the Amazon Elastic Compute Cloud User Guide. - */ - InstanceType?: XmlStringMaxLen255; - /** - * The ID of the kernel associated with the AMI. - */ - KernelId?: XmlStringMaxLen255; - /** - * The ID of the RAM disk associated with the AMI. - */ - RamdiskId?: XmlStringMaxLen255; - /** - * One or more mappings that specify how block devices are exposed to the instance. For more information, see Block Device Mapping in the Amazon Elastic Compute Cloud User Guide. - */ - BlockDeviceMappings?: BlockDeviceMappings; - /** - * Enables detailed monitoring (true) or basic monitoring (false) for the Auto Scaling instances. The default is true. - */ - InstanceMonitoring?: InstanceMonitoring; - /** - * The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot market price. For more information, see Launching Spot Instances in Your Auto Scaling Group in the Auto Scaling User Guide. - */ - SpotPrice?: SpotPrice; - /** - * The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. EC2 instances launched with an IAM role will automatically have AWS security credentials available. You can use IAM roles with Auto Scaling to automatically enable applications running on your EC2 instances to securely access other AWS resources. For more information, see Launch Auto Scaling Instances with an IAM Role in the Auto Scaling User Guide. - */ - IamInstanceProfile?: XmlStringMaxLen1600; - /** - * Indicates whether the instance is optimized for Amazon EBS I/O. By default, the instance is not optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see Amazon EBS-Optimized Instances in the Amazon Elastic Compute Cloud User Guide. - */ - EbsOptimized?: EbsOptimized; - /** - * Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide. If you specify this parameter, be sure to specify at least one subnet when you create your group. Default: If the instance is launched into a default subnet, the default is true. If the instance is launched into a nondefault subnet, the default is false. For more information, see Supported Platforms in the Amazon Elastic Compute Cloud User Guide. - */ - AssociatePublicIpAddress?: AssociatePublicIpAddress; - /** - * The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware and can only be launched into a VPC. You must set the value of this parameter to dedicated if want to launch Dedicated Instances into a shared tenancy VPC (VPC with instance placement tenancy attribute set to default). If you specify this parameter, be sure to specify at least one subnet when you create your group. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide. Valid values: default | dedicated - */ - PlacementTenancy?: XmlStringMaxLen64; - } - export interface CreateOrUpdateTagsType { - /** - * One or more tags. - */ - Tags: Tags; - } - export interface DeleteAutoScalingGroupType { - /** - * The name of the group to delete. - */ - AutoScalingGroupName: ResourceName; - /** - * Specifies that the group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated. This parameter also deletes any lifecycle actions associated with the group. - */ - ForceDelete?: ForceDelete; - } - export interface DeleteLifecycleHookAnswer { - } - export interface DeleteLifecycleHookType { - /** - * The name of the lifecycle hook. - */ - LifecycleHookName: AsciiStringMaxLen255; - /** - * The name of the Auto Scaling group for the lifecycle hook. - */ - AutoScalingGroupName: ResourceName; - } - export interface DeleteNotificationConfigurationType { - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. - */ - TopicARN: ResourceName; - } - export interface DeletePolicyType { - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName?: ResourceName; - /** - * The name or Amazon Resource Name (ARN) of the policy. - */ - PolicyName: ResourceName; - } - export interface DeleteScheduledActionType { - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * The name of the action to delete. - */ - ScheduledActionName: ResourceName; - } - export interface DeleteTagsType { - /** - * One or more tags. - */ - Tags: Tags; - } - export interface DescribeAccountLimitsAnswer { - /** - * The maximum number of groups allowed for your AWS account. The default limit is 20 per region. - */ - MaxNumberOfAutoScalingGroups?: MaxNumberOfAutoScalingGroups; - /** - * The maximum number of launch configurations allowed for your AWS account. The default limit is 100 per region. - */ - MaxNumberOfLaunchConfigurations?: MaxNumberOfLaunchConfigurations; - /** - * The current number of groups for your AWS account. - */ - NumberOfAutoScalingGroups?: NumberOfAutoScalingGroups; - /** - * The current number of launch configurations for your AWS account. - */ - NumberOfLaunchConfigurations?: NumberOfLaunchConfigurations; - } - export interface DescribeAdjustmentTypesAnswer { - /** - * The policy adjustment types. - */ - AdjustmentTypes?: AdjustmentTypes; - } - export interface DescribeAutoScalingInstancesType { - /** - * The instances to describe; up to 50 instance IDs. If you omit this parameter, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error. - */ - InstanceIds?: InstanceIds; - /** - * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100. - */ - MaxRecords?: MaxRecords; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: XmlString; - } - export interface DescribeAutoScalingNotificationTypesAnswer { - /** - * The notification types. - */ - AutoScalingNotificationTypes?: AutoScalingNotificationTypes; - } - export interface DescribeLifecycleHookTypesAnswer { - /** - * The lifecycle hook types. - */ - LifecycleHookTypes?: AutoScalingNotificationTypes; - } - export interface DescribeLifecycleHooksAnswer { - /** - * The lifecycle hooks for the specified group. - */ - LifecycleHooks?: LifecycleHooks; - } - export interface DescribeLifecycleHooksType { - /** - * The name of the group. - */ - AutoScalingGroupName: ResourceName; - /** - * The names of one or more lifecycle hooks. If you omit this parameter, all lifecycle hooks are described. - */ - LifecycleHookNames?: LifecycleHookNames; - } - export interface DescribeLoadBalancerTargetGroupsRequest { - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: XmlString; - /** - * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100. - */ - MaxRecords?: MaxRecords; - } - export interface DescribeLoadBalancerTargetGroupsResponse { - /** - * Information about the target groups. - */ - LoadBalancerTargetGroups?: LoadBalancerTargetGroupStates; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: XmlString; - } - export interface DescribeLoadBalancersRequest { - /** - * The name of the group. - */ - AutoScalingGroupName: ResourceName; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: XmlString; - /** - * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100. - */ - MaxRecords?: MaxRecords; - } - export interface DescribeLoadBalancersResponse { - /** - * The load balancers. - */ - LoadBalancers?: LoadBalancerStates; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: XmlString; - } - export interface DescribeMetricCollectionTypesAnswer { - /** - * One or more metrics. - */ - Metrics?: MetricCollectionTypes; - /** - * The granularities for the metrics. - */ - Granularities?: MetricGranularityTypes; - } - export interface DescribeNotificationConfigurationsAnswer { - /** - * The notification configurations. - */ - NotificationConfigurations: NotificationConfigurations; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: XmlString; - } - export interface DescribeNotificationConfigurationsType { - /** - * The name of the group. - */ - AutoScalingGroupNames?: AutoScalingGroupNames; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: XmlString; - /** - * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100. - */ - MaxRecords?: MaxRecords; - } - export interface DescribePoliciesType { - /** - * The name of the group. - */ - AutoScalingGroupName?: ResourceName; - /** - * One or more policy names or policy ARNs to be described. If you omit this parameter, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error. - */ - PolicyNames?: PolicyNames; - /** - * One or more policy types. Valid values are SimpleScaling and StepScaling. - */ - PolicyTypes?: PolicyTypes; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: XmlString; - /** - * The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100. - */ - MaxRecords?: MaxRecords; - } - export interface DescribeScalingActivitiesType { - /** - * The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error. - */ - ActivityIds?: ActivityIds; - /** - * The name of the group. - */ - AutoScalingGroupName?: ResourceName; - /** - * The maximum number of items to return with this call. The default value is 100. - */ - MaxRecords?: MaxRecords; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: XmlString; - } - export interface DescribeScheduledActionsType { - /** - * The name of the group. - */ - AutoScalingGroupName?: ResourceName; - /** - * Describes one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error. You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token. - */ - ScheduledActionNames?: ScheduledActionNames; - /** - * The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored. - */ - StartTime?: TimestampType; - /** - * The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored. - */ - EndTime?: TimestampType; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: XmlString; - /** - * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100. - */ - MaxRecords?: MaxRecords; - } - export interface DescribeTagsType { - /** - * A filter used to scope the tags to return. - */ - Filters?: Filters; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: XmlString; - /** - * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100. - */ - MaxRecords?: MaxRecords; - } - export interface DescribeTerminationPolicyTypesAnswer { - /** - * The termination policies supported by Auto Scaling (OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, and Default). - */ - TerminationPolicyTypes?: TerminationPolicies; - } - export interface DetachInstancesAnswer { - /** - * The activities related to detaching the instances from the Auto Scaling group. - */ - Activities?: Activities; - } - export interface DetachInstancesQuery { - /** - * One or more instance IDs. - */ - InstanceIds?: InstanceIds; - /** - * The name of the group. - */ - AutoScalingGroupName: ResourceName; - /** - * If True, the Auto Scaling group decrements the desired capacity value by the number of instances detached. - */ - ShouldDecrementDesiredCapacity: ShouldDecrementDesiredCapacity; - } - export interface DetachLoadBalancerTargetGroupsResultType { - } - export interface DetachLoadBalancerTargetGroupsType { - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * The Amazon Resource Names (ARN) of the target groups. - */ - TargetGroupARNs: TargetGroupARNs; - } - export interface DetachLoadBalancersResultType { - } - export interface DetachLoadBalancersType { - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * One or more load balancer names. - */ - LoadBalancerNames: LoadBalancerNames; - } - export interface DisableMetricsCollectionQuery { - /** - * The name or Amazon Resource Name (ARN) of the group. - */ - AutoScalingGroupName: ResourceName; - /** - * One or more of the following metrics. If you omit this parameter, all metrics are disabled. GroupMinSize GroupMaxSize GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances - */ - Metrics?: Metrics; - } - export interface Ebs { - /** - * The ID of the snapshot. - */ - SnapshotId?: XmlStringMaxLen255; - /** - * The volume size, in GiB. For standard volumes, specify a value from 1 to 1,024. For io1 volumes, specify a value from 4 to 16,384. For gp2 volumes, specify a value from 1 to 16,384. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size. Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the snapshot size. - */ - VolumeSize?: BlockDeviceEbsVolumeSize; - /** - * The volume type. For more information, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide. Valid values: standard | io1 | gp2 Default: standard - */ - VolumeType?: BlockDeviceEbsVolumeType; - /** - * Indicates whether the volume is deleted on instance termination. Default: true - */ - DeleteOnTermination?: BlockDeviceEbsDeleteOnTermination; - /** - * The number of I/O operations per second (IOPS) to provision for the volume. Constraint: Required when the volume type is io1. - */ - Iops?: BlockDeviceEbsIops; - /** - * Indicates whether the volume should be encrypted. Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. There is no way to create an encrypted volume from an unencrypted snapshot or an unencrypted volume from an encrypted snapshot. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide. - */ - Encrypted?: BlockDeviceEbsEncrypted; - } - export type EbsOptimized = boolean; - export interface EnableMetricsCollectionQuery { - /** - * The name or ARN of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * One or more of the following metrics. If you omit this parameter, all metrics are enabled. GroupMinSize GroupMaxSize GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances - */ - Metrics?: Metrics; - /** - * The granularity to associate with the metrics to collect. The only valid value is 1Minute. - */ - Granularity: XmlStringMaxLen255; - } - export interface EnabledMetric { - /** - * One of the following metrics: GroupMinSize GroupMaxSize GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances - */ - Metric?: XmlStringMaxLen255; - /** - * The granularity of the metric. The only valid value is 1Minute. - */ - Granularity?: XmlStringMaxLen255; - } - export type EnabledMetrics = EnabledMetric[]; - export interface EnterStandbyAnswer { - /** - * The activities related to moving instances into Standby mode. - */ - Activities?: Activities; - } - export interface EnterStandbyQuery { - /** - * One or more instances to move into Standby mode. You must specify at least one instance ID. - */ - InstanceIds?: InstanceIds; - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * Specifies whether the instances moved to Standby mode count as part of the Auto Scaling group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to Standby mode. - */ - ShouldDecrementDesiredCapacity: ShouldDecrementDesiredCapacity; - } - export type EstimatedInstanceWarmup = number; - export interface ExecutePolicyType { - /** - * The name or Amazon Resource Name (ARN) of the Auto Scaling group. - */ - AutoScalingGroupName?: ResourceName; - /** - * The name or ARN of the policy. - */ - PolicyName: ResourceName; - /** - * If this parameter is true, Auto Scaling waits for the cooldown period to complete before executing the policy. Otherwise, Auto Scaling executes the policy without waiting for the cooldown period to complete. This parameter is not supported if the policy type is StepScaling. For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide. - */ - HonorCooldown?: HonorCooldown; - /** - * The metric value to compare to BreachThreshold. This enables you to execute a policy of type StepScaling and determine which step adjustment to use. For example, if the breach threshold is 50 and you want to use a step adjustment with a lower bound of 0 and an upper bound of 10, you can set the metric value to 59. If you specify a metric value that doesn't correspond to a step adjustment for the policy, the call returns an error. This parameter is required if the policy type is StepScaling and not supported otherwise. - */ - MetricValue?: MetricScale; - /** - * The breach threshold for the alarm. This parameter is required if the policy type is StepScaling and not supported otherwise. - */ - BreachThreshold?: MetricScale; - } - export interface ExitStandbyAnswer { - /** - * The activities related to moving instances out of Standby mode. - */ - Activities?: Activities; - } - export interface ExitStandbyQuery { - /** - * One or more instance IDs. You must specify at least one instance ID. - */ - InstanceIds?: InstanceIds; - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - } - export interface Filter { - /** - * The name of the filter. The valid values are: "auto-scaling-group", "key", "value", and "propagate-at-launch". - */ - Name?: XmlString; - /** - * The value of the filter. - */ - Values?: Values; - } - export type Filters = Filter[]; - export type ForceDelete = boolean; - export type GlobalTimeout = number; - export type HealthCheckGracePeriod = number; - export type HeartbeatTimeout = number; - export type HonorCooldown = boolean; - export interface Instance { - /** - * The ID of the instance. - */ - InstanceId: XmlStringMaxLen19; - /** - * The Availability Zone in which the instance is running. - */ - AvailabilityZone: XmlStringMaxLen255; - /** - * A description of the current lifecycle state. Note that the Quarantined state is not used. - */ - LifecycleState: LifecycleState; - /** - * The last reported health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should terminate and replace it. - */ - HealthStatus: XmlStringMaxLen32; - /** - * The launch configuration associated with the instance. - */ - LaunchConfigurationName: XmlStringMaxLen255; - /** - * Indicates whether the instance is protected from termination by Auto Scaling when scaling in. - */ - ProtectedFromScaleIn: InstanceProtected; - } - export type InstanceIds = XmlStringMaxLen19[]; - export interface InstanceMonitoring { - /** - * If true, detailed monitoring is enabled. Otherwise, basic monitoring is enabled. - */ - Enabled?: MonitoringEnabled; - } - export type InstanceProtected = boolean; - export type Instances = Instance[]; - export interface LaunchConfiguration { - /** - * The name of the launch configuration. - */ - LaunchConfigurationName: XmlStringMaxLen255; - /** - * The Amazon Resource Name (ARN) of the launch configuration. - */ - LaunchConfigurationARN?: ResourceName; - /** - * The ID of the Amazon Machine Image (AMI). - */ - ImageId: XmlStringMaxLen255; - /** - * The name of the key pair. - */ - KeyName?: XmlStringMaxLen255; - /** - * The security groups to associate with the instances. - */ - SecurityGroups?: SecurityGroups; - /** - * The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - ClassicLinkVPCId?: XmlStringMaxLen255; - /** - * The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId. This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - ClassicLinkVPCSecurityGroups?: ClassicLinkVPCSecurityGroups; - /** - * The user data available to the instances. - */ - UserData?: XmlStringUserData; - /** - * The instance type for the instances. - */ - InstanceType: XmlStringMaxLen255; - /** - * The ID of the kernel associated with the AMI. - */ - KernelId?: XmlStringMaxLen255; - /** - * The ID of the RAM disk associated with the AMI. - */ - RamdiskId?: XmlStringMaxLen255; - /** - * A block device mapping, which specifies the block devices for the instance. - */ - BlockDeviceMappings?: BlockDeviceMappings; - /** - * Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring. - */ - InstanceMonitoring?: InstanceMonitoring; - /** - * The price to bid when launching Spot Instances. - */ - SpotPrice?: SpotPrice; - /** - * The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. - */ - IamInstanceProfile?: XmlStringMaxLen1600; - /** - * The creation date and time for the launch configuration. - */ - CreatedTime: TimestampType; - /** - * Controls whether the instance is optimized for EBS I/O (true) or not (false). - */ - EbsOptimized?: EbsOptimized; - /** - * [EC2-VPC] Indicates whether to assign a public IP address to each instance. - */ - AssociatePublicIpAddress?: AssociatePublicIpAddress; - /** - * The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC. - */ - PlacementTenancy?: XmlStringMaxLen64; - } - export interface LaunchConfigurationNameType { - /** - * The name of the launch configuration. - */ - LaunchConfigurationName: ResourceName; - } - export type LaunchConfigurationNames = ResourceName[]; - export interface LaunchConfigurationNamesType { - /** - * The launch configuration names. If you omit this parameter, all launch configurations are described. - */ - LaunchConfigurationNames?: LaunchConfigurationNames; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: XmlString; - /** - * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100. - */ - MaxRecords?: MaxRecords; - } - export type LaunchConfigurations = LaunchConfiguration[]; - export interface LaunchConfigurationsType { - /** - * The launch configurations. - */ - LaunchConfigurations: LaunchConfigurations; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: XmlString; - } - export type LifecycleActionResult = string; - export type LifecycleActionToken = string; - export interface LifecycleHook { - /** - * The name of the lifecycle hook. - */ - LifecycleHookName?: AsciiStringMaxLen255; - /** - * The name of the Auto Scaling group for the lifecycle hook. - */ - AutoScalingGroupName?: ResourceName; - /** - * The state of the EC2 instance to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see DescribeLifecycleHookTypes. - */ - LifecycleTransition?: LifecycleTransition; - /** - * The ARN of the notification target that Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. The notification message sent to the target includes the following: Lifecycle action token User account ID Name of the Auto Scaling group Lifecycle hook name EC2 instance ID Lifecycle transition Notification metadata - */ - NotificationTargetARN?: ResourceName; - /** - * The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. - */ - RoleARN?: ResourceName; - /** - * Additional information that you want to include any time Auto Scaling sends a message to the notification target. - */ - NotificationMetadata?: XmlStringMaxLen1023; - /** - * The maximum time, in seconds, that can elapse before the lifecycle hook times out. The default is 3600 seconds (1 hour). When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat. - */ - HeartbeatTimeout?: HeartbeatTimeout; - /** - * The maximum time, in seconds, that an instance can remain in a Pending:Wait or Terminating:Wait state. The maximum is 172800 seconds (48 hours) or 100 times HeartbeatTimeout, whichever is smaller. - */ - GlobalTimeout?: GlobalTimeout; - /** - * Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON. The default value is CONTINUE. - */ - DefaultResult?: LifecycleActionResult; - } - export type LifecycleHookNames = AsciiStringMaxLen255[]; - export type LifecycleHooks = LifecycleHook[]; - export type LifecycleState = "Pending"|"Pending:Wait"|"Pending:Proceed"|"Quarantined"|"InService"|"Terminating"|"Terminating:Wait"|"Terminating:Proceed"|"Terminated"|"Detaching"|"Detached"|"EnteringStandby"|"Standby"|string; - export type LifecycleTransition = string; - export type LoadBalancerNames = XmlStringMaxLen255[]; - export interface LoadBalancerState { - /** - * The name of the load balancer. - */ - LoadBalancerName?: XmlStringMaxLen255; - /** - * One of the following load balancer states: Adding - The instances in the group are being registered with the load balancer. Added - All instances in the group are registered with the load balancer. InService - At least one instance in the group passed an ELB health check. Removing - The instances in the group are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. Removed - All instances in the group are deregistered from the load balancer. - */ - State?: XmlStringMaxLen255; - } - export type LoadBalancerStates = LoadBalancerState[]; - export interface LoadBalancerTargetGroupState { - /** - * The Amazon Resource Name (ARN) of the target group. - */ - LoadBalancerTargetGroupARN?: XmlStringMaxLen511; - /** - * The state of the target group. Adding - The Auto Scaling instances are being registered with the target group. Added - All Auto Scaling instances are registered with the target group. InService - At least one Auto Scaling instance passed an ELB health check. Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. Removed - All Auto Scaling instances are deregistered from the target group. - */ - State?: XmlStringMaxLen255; - } - export type LoadBalancerTargetGroupStates = LoadBalancerTargetGroupState[]; - export type MaxNumberOfAutoScalingGroups = number; - export type MaxNumberOfLaunchConfigurations = number; - export type MaxRecords = number; - export interface MetricCollectionType { - /** - * One of the following metrics: GroupMinSize GroupMaxSize GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances - */ - Metric?: XmlStringMaxLen255; - } - export type MetricCollectionTypes = MetricCollectionType[]; - export interface MetricGranularityType { - /** - * The granularity. The only valid value is 1Minute. - */ - Granularity?: XmlStringMaxLen255; - } - export type MetricGranularityTypes = MetricGranularityType[]; - export type MetricScale = number; - export type Metrics = XmlStringMaxLen255[]; - export type MinAdjustmentMagnitude = number; - export type MinAdjustmentStep = number; - export type MonitoringEnabled = boolean; - export type NoDevice = boolean; - export interface NotificationConfiguration { - /** - * The name of the group. - */ - AutoScalingGroupName?: ResourceName; - /** - * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. - */ - TopicARN?: ResourceName; - /** - * One of the following event notification types: autoscaling:EC2_INSTANCE_LAUNCH autoscaling:EC2_INSTANCE_LAUNCH_ERROR autoscaling:EC2_INSTANCE_TERMINATE autoscaling:EC2_INSTANCE_TERMINATE_ERROR autoscaling:TEST_NOTIFICATION - */ - NotificationType?: XmlStringMaxLen255; - } - export type NotificationConfigurations = NotificationConfiguration[]; - export type NotificationTargetResourceName = string; - export type NumberOfAutoScalingGroups = number; - export type NumberOfLaunchConfigurations = number; - export interface PoliciesType { - /** - * The scaling policies. - */ - ScalingPolicies?: ScalingPolicies; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: XmlString; - } - export interface PolicyARNType { - /** - * The Amazon Resource Name (ARN) of the policy. - */ - PolicyARN?: ResourceName; - } - export type PolicyIncrement = number; - export type PolicyNames = ResourceName[]; - export type PolicyTypes = XmlStringMaxLen64[]; - export type ProcessNames = XmlStringMaxLen255[]; - export interface ProcessType { - /** - * One of the following processes: Launch Terminate AddToLoadBalancer AlarmNotification AZRebalance HealthCheck ReplaceUnhealthy ScheduledActions - */ - ProcessName: XmlStringMaxLen255; - } - export type Processes = ProcessType[]; - export interface ProcessesType { - /** - * The names of the process types. - */ - Processes?: Processes; - } - export type Progress = number; - export type PropagateAtLaunch = boolean; - export type ProtectedFromScaleIn = boolean; - export interface PutLifecycleHookAnswer { - } - export interface PutLifecycleHookType { - /** - * The name of the lifecycle hook. - */ - LifecycleHookName: AsciiStringMaxLen255; - /** - * The name of the Auto Scaling group to which you want to assign the lifecycle hook. - */ - AutoScalingGroupName: ResourceName; - /** - * The instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see DescribeLifecycleHookTypes. This parameter is required for new lifecycle hooks, but optional when updating existing hooks. - */ - LifecycleTransition?: LifecycleTransition; - /** - * The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. This parameter is required for new lifecycle hooks, but optional when updating existing hooks. - */ - RoleARN?: ResourceName; - /** - * The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This target can be either an SQS queue or an SNS topic. If you specify an empty string, this overrides the current ARN. This operation uses the JSON format when sending notifications to an Amazon SQS queue, and an email key/value pair format when sending notifications to an Amazon SNS topic. When you specify a notification target, Auto Scaling sends it a test message. Test messages contains the following additional key/value pair: "Event": "autoscaling:TEST_NOTIFICATION". - */ - NotificationTargetARN?: NotificationTargetResourceName; - /** - * Contains additional information that you want to include any time Auto Scaling sends a message to the notification target. - */ - NotificationMetadata?: XmlStringMaxLen1023; - /** - * The amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat. The default is 3600 seconds (1 hour). - */ - HeartbeatTimeout?: HeartbeatTimeout; - /** - * Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. This parameter can be either CONTINUE or ABANDON. The default value is ABANDON. - */ - DefaultResult?: LifecycleActionResult; - } - export interface PutNotificationConfigurationType { - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. - */ - TopicARN: ResourceName; - /** - * The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes. - */ - NotificationTypes: AutoScalingNotificationTypes; - } - export interface PutScalingPolicyType { - /** - * The name or ARN of the group. - */ - AutoScalingGroupName: ResourceName; - /** - * The name of the policy. - */ - PolicyName: XmlStringMaxLen255; - /** - * The policy type. Valid values are SimpleScaling and StepScaling. If the policy type is null, the value is treated as SimpleScaling. - */ - PolicyType?: XmlStringMaxLen64; - /** - * The adjustment type. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. For more information, see Dynamic Scaling in the Auto Scaling User Guide. - */ - AdjustmentType: XmlStringMaxLen255; - /** - * Available for backward compatibility. Use MinAdjustmentMagnitude instead. - */ - MinAdjustmentStep?: MinAdjustmentStep; - /** - * The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError. - */ - MinAdjustmentMagnitude?: MinAdjustmentMagnitude; - /** - * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. This parameter is required if the policy type is SimpleScaling and not supported otherwise. - */ - ScalingAdjustment?: PolicyIncrement; - /** - * The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies. This parameter is not supported unless the policy type is SimpleScaling. For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide. - */ - Cooldown?: Cooldown; - /** - * The aggregation type for the CloudWatch metrics. Valid values are Minimum, Maximum, and Average. If the aggregation type is null, the value is treated as Average. This parameter is not supported if the policy type is SimpleScaling. - */ - MetricAggregationType?: XmlStringMaxLen32; - /** - * A set of adjustments that enable you to scale based on the size of the alarm breach. This parameter is required if the policy type is StepScaling and not supported otherwise. - */ - StepAdjustments?: StepAdjustments; - /** - * The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group. This parameter is not supported if the policy type is SimpleScaling. - */ - EstimatedInstanceWarmup?: EstimatedInstanceWarmup; - } - export interface PutScheduledUpdateGroupActionType { - /** - * The name or Amazon Resource Name (ARN) of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * The name of this scaling action. - */ - ScheduledActionName: XmlStringMaxLen255; - /** - * This parameter is deprecated. - */ - Time?: TimestampType; - /** - * The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z). If you specify Recurrence and StartTime, Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence. If you try to schedule your action in the past, Auto Scaling returns an error message. - */ - StartTime?: TimestampType; - /** - * The time for the recurring schedule to end. Auto Scaling does not perform the action after this time. - */ - EndTime?: TimestampType; - /** - * The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia. - */ - Recurrence?: XmlStringMaxLen255; - /** - * The minimum size for the Auto Scaling group. - */ - MinSize?: AutoScalingGroupMinSize; - /** - * The maximum size for the Auto Scaling group. - */ - MaxSize?: AutoScalingGroupMaxSize; - /** - * The number of EC2 instances that should be running in the group. - */ - DesiredCapacity?: AutoScalingGroupDesiredCapacity; - } - export interface RecordLifecycleActionHeartbeatAnswer { - } - export interface RecordLifecycleActionHeartbeatType { - /** - * The name of the lifecycle hook. - */ - LifecycleHookName: AsciiStringMaxLen255; - /** - * The name of the Auto Scaling group for the hook. - */ - AutoScalingGroupName: ResourceName; - /** - * A token that uniquely identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook. - */ - LifecycleActionToken?: LifecycleActionToken; - /** - * The ID of the instance. - */ - InstanceId?: XmlStringMaxLen19; - } - export type ResourceName = string; - export type ScalingActivityStatusCode = "PendingSpotBidPlacement"|"WaitingForSpotInstanceRequestId"|"WaitingForSpotInstanceId"|"WaitingForInstanceId"|"PreInService"|"InProgress"|"WaitingForELBConnectionDraining"|"MidLifecycleAction"|"WaitingForInstanceWarmup"|"Successful"|"Failed"|"Cancelled"|string; - export type ScalingPolicies = ScalingPolicy[]; - export interface ScalingPolicy { - /** - * The name of the Auto Scaling group associated with this scaling policy. - */ - AutoScalingGroupName?: XmlStringMaxLen255; - /** - * The name of the scaling policy. - */ - PolicyName?: XmlStringMaxLen255; - /** - * The Amazon Resource Name (ARN) of the policy. - */ - PolicyARN?: ResourceName; - /** - * The policy type. Valid values are SimpleScaling and StepScaling. - */ - PolicyType?: XmlStringMaxLen64; - /** - * The adjustment type, which specifies how ScalingAdjustment is interpreted. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. - */ - AdjustmentType?: XmlStringMaxLen255; - /** - * Available for backward compatibility. Use MinAdjustmentMagnitude instead. - */ - MinAdjustmentStep?: MinAdjustmentStep; - /** - * The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError. - */ - MinAdjustmentMagnitude?: MinAdjustmentMagnitude; - /** - * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. - */ - ScalingAdjustment?: PolicyIncrement; - /** - * The amount of time, in seconds, after a scaling activity completes before any further dynamic scaling activities can start. - */ - Cooldown?: Cooldown; - /** - * A set of adjustments that enable you to scale based on the size of the alarm breach. - */ - StepAdjustments?: StepAdjustments; - /** - * The aggregation type for the CloudWatch metrics. Valid values are Minimum, Maximum, and Average. - */ - MetricAggregationType?: XmlStringMaxLen32; - /** - * The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. - */ - EstimatedInstanceWarmup?: EstimatedInstanceWarmup; - /** - * The CloudWatch alarms related to the policy. - */ - Alarms?: Alarms; - } - export interface ScalingProcessQuery { - /** - * The name or Amazon Resource Name (ARN) of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * One or more of the following processes. If you omit this parameter, all processes are specified. Launch Terminate HealthCheck ReplaceUnhealthy AZRebalance AlarmNotification ScheduledActions AddToLoadBalancer - */ - ScalingProcesses?: ProcessNames; - } - export type ScheduledActionNames = ResourceName[]; - export interface ScheduledActionsType { - /** - * The scheduled actions. - */ - ScheduledUpdateGroupActions?: ScheduledUpdateGroupActions; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: XmlString; - } - export interface ScheduledUpdateGroupAction { - /** - * The name of the group. - */ - AutoScalingGroupName?: XmlStringMaxLen255; - /** - * The name of the scheduled action. - */ - ScheduledActionName?: XmlStringMaxLen255; - /** - * The Amazon Resource Name (ARN) of the scheduled action. - */ - ScheduledActionARN?: ResourceName; - /** - * This parameter is deprecated. - */ - Time?: TimestampType; - /** - * The date and time that the action is scheduled to begin. This date and time can be up to one month in the future. When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop. - */ - StartTime?: TimestampType; - /** - * The date and time that the action is scheduled to end. This date and time can be up to one month in the future. - */ - EndTime?: TimestampType; - /** - * The recurring schedule for the action. - */ - Recurrence?: XmlStringMaxLen255; - /** - * The minimum size of the group. - */ - MinSize?: AutoScalingGroupMinSize; - /** - * The maximum size of the group. - */ - MaxSize?: AutoScalingGroupMaxSize; - /** - * The number of instances you prefer to maintain in the group. - */ - DesiredCapacity?: AutoScalingGroupDesiredCapacity; - } - export type ScheduledUpdateGroupActions = ScheduledUpdateGroupAction[]; - export type SecurityGroups = XmlString[]; - export interface SetDesiredCapacityType { - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * The number of EC2 instances that should be running in the Auto Scaling group. - */ - DesiredCapacity: AutoScalingGroupDesiredCapacity; - /** - * By default, SetDesiredCapacity overrides any cooldown period associated with the Auto Scaling group. Specify True to make Auto Scaling to wait for the cool-down period associated with the Auto Scaling group to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. - */ - HonorCooldown?: HonorCooldown; - } - export interface SetInstanceHealthQuery { - /** - * The ID of the instance. - */ - InstanceId: XmlStringMaxLen19; - /** - * The health status of the instance. Set to Healthy if you want the instance to remain in service. Set to Unhealthy if you want the instance to be out of service. Auto Scaling will terminate and replace the unhealthy instance. - */ - HealthStatus: XmlStringMaxLen32; - /** - * If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call will respect the grace period. Set this to False, if you do not want the call to respect the grace period associated with the group. For more information, see the description of the health check grace period for CreateAutoScalingGroup. - */ - ShouldRespectGracePeriod?: ShouldRespectGracePeriod; - } - export interface SetInstanceProtectionAnswer { - } - export interface SetInstanceProtectionQuery { - /** - * One or more instance IDs. - */ - InstanceIds: InstanceIds; - /** - * The name of the group. - */ - AutoScalingGroupName: ResourceName; - /** - * Indicates whether the instance is protected from termination by Auto Scaling when scaling in. - */ - ProtectedFromScaleIn: ProtectedFromScaleIn; - } - export type ShouldDecrementDesiredCapacity = boolean; - export type ShouldRespectGracePeriod = boolean; - export type SpotPrice = string; - export interface StepAdjustment { - /** - * The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity. - */ - MetricIntervalLowerBound?: MetricScale; - /** - * The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. The upper bound must be greater than the lower bound. - */ - MetricIntervalUpperBound?: MetricScale; - /** - * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. - */ - ScalingAdjustment: PolicyIncrement; - } - export type StepAdjustments = StepAdjustment[]; - export interface SuspendedProcess { - /** - * The name of the suspended process. - */ - ProcessName?: XmlStringMaxLen255; - /** - * The reason that the process was suspended. - */ - SuspensionReason?: XmlStringMaxLen255; - } - export type SuspendedProcesses = SuspendedProcess[]; - export interface Tag { - /** - * The name of the group. - */ - ResourceId?: XmlString; - /** - * The type of resource. The only supported value is auto-scaling-group. - */ - ResourceType?: XmlString; - /** - * The tag key. - */ - Key: TagKey; - /** - * The tag value. - */ - Value?: TagValue; - /** - * Determines whether the tag is added to new instances as they are launched in the group. - */ - PropagateAtLaunch?: PropagateAtLaunch; - } - export interface TagDescription { - /** - * The name of the group. - */ - ResourceId?: XmlString; - /** - * The type of resource. The only supported value is auto-scaling-group. - */ - ResourceType?: XmlString; - /** - * The tag key. - */ - Key?: TagKey; - /** - * The tag value. - */ - Value?: TagValue; - /** - * Determines whether the tag is added to new instances as they are launched in the group. - */ - PropagateAtLaunch?: PropagateAtLaunch; - } - export type TagDescriptionList = TagDescription[]; - export type TagKey = string; - export type TagValue = string; - export type Tags = Tag[]; - export interface TagsType { - /** - * One or more tags. - */ - Tags?: TagDescriptionList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: XmlString; - } - export type TargetGroupARNs = XmlStringMaxLen511[]; - export interface TerminateInstanceInAutoScalingGroupType { - /** - * The ID of the instance. - */ - InstanceId: XmlStringMaxLen19; - /** - * If true, terminating the instance also decrements the size of the Auto Scaling group. - */ - ShouldDecrementDesiredCapacity: ShouldDecrementDesiredCapacity; - } - export type TerminationPolicies = XmlStringMaxLen1600[]; - export type TimestampType = Date; - export interface UpdateAutoScalingGroupType { - /** - * The name of the Auto Scaling group. - */ - AutoScalingGroupName: ResourceName; - /** - * The name of the launch configuration. - */ - LaunchConfigurationName?: ResourceName; - /** - * The minimum size of the Auto Scaling group. - */ - MinSize?: AutoScalingGroupMinSize; - /** - * The maximum size of the Auto Scaling group. - */ - MaxSize?: AutoScalingGroupMaxSize; - /** - * The number of EC2 instances that should be running in the Auto Scaling group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. - */ - DesiredCapacity?: AutoScalingGroupDesiredCapacity; - /** - * The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300. For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide. - */ - DefaultCooldown?: Cooldown; - /** - * One or more Availability Zones for the group. - */ - AvailabilityZones?: AvailabilityZones; - /** - * The service to use for the health checks. The valid values are EC2 and ELB. - */ - HealthCheckType?: XmlStringMaxLen32; - /** - * The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default is 0. For more information, see Health Checks in the Auto Scaling User Guide. - */ - HealthCheckGracePeriod?: HealthCheckGracePeriod; - /** - * The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide. - */ - PlacementGroup?: XmlStringMaxLen255; - /** - * The ID of the subnet, if you are launching into a VPC. You can specify several subnets in a comma-separated list. When you specify VPCZoneIdentifier with AvailabilityZones, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide. - */ - VPCZoneIdentifier?: XmlStringMaxLen2047; - /** - * A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed. For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Auto Scaling User Guide. - */ - TerminationPolicies?: TerminationPolicies; - /** - * Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in. - */ - NewInstancesProtectedFromScaleIn?: InstanceProtected; - } - export type Values = XmlString[]; - export type XmlString = string; - export type XmlStringMaxLen1023 = string; - export type XmlStringMaxLen1600 = string; - export type XmlStringMaxLen19 = string; - export type XmlStringMaxLen2047 = string; - export type XmlStringMaxLen255 = string; - export type XmlStringMaxLen32 = string; - export type XmlStringMaxLen511 = string; - export type XmlStringMaxLen64 = string; - export type XmlStringUserData = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2011-01-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the AutoScaling client. - */ - export import Types = AutoScaling; -} -export = AutoScaling; diff --git a/src/node_modules/aws-sdk/clients/autoscaling.js b/src/node_modules/aws-sdk/clients/autoscaling.js deleted file mode 100644 index c28afcc..0000000 --- a/src/node_modules/aws-sdk/clients/autoscaling.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['autoscaling'] = {}; -AWS.AutoScaling = Service.defineService('autoscaling', ['2011-01-01']); -Object.defineProperty(apiLoader.services['autoscaling'], '2011-01-01', { - get: function get() { - var model = require('../apis/autoscaling-2011-01-01.min.json'); - model.paginators = require('../apis/autoscaling-2011-01-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AutoScaling; diff --git a/src/node_modules/aws-sdk/clients/batch.d.ts b/src/node_modules/aws-sdk/clients/batch.d.ts deleted file mode 100644 index 20a1f47..0000000 --- a/src/node_modules/aws-sdk/clients/batch.d.ts +++ /dev/null @@ -1,1031 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Batch extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Batch.Types.ClientConfiguration) - config: Config & Batch.Types.ClientConfiguration; - /** - * Cancels jobs in an AWS Batch job queue. Jobs that are in the SUBMITTED, PENDING, or RUNNABLE state are cancelled. Jobs that have progressed to STARTING or RUNNING are not cancelled (but the API operation still succeeds, even if no jobs are cancelled); these jobs must be terminated with the TerminateJob operation. - */ - cancelJob(params: Batch.Types.CancelJobRequest, callback?: (err: AWSError, data: Batch.Types.CancelJobResponse) => void): Request; - /** - * Cancels jobs in an AWS Batch job queue. Jobs that are in the SUBMITTED, PENDING, or RUNNABLE state are cancelled. Jobs that have progressed to STARTING or RUNNING are not cancelled (but the API operation still succeeds, even if no jobs are cancelled); these jobs must be terminated with the TerminateJob operation. - */ - cancelJob(callback?: (err: AWSError, data: Batch.Types.CancelJobResponse) => void): Request; - /** - * Creates an AWS Batch compute environment. You can create MANAGED or UNMANAGED compute environments. In a managed compute environment, AWS Batch manages the compute resources within the environment, based on the compute resources that you specify. Instances launched into a managed compute environment use the latest Amazon ECS-optimized AMI. You can choose to use Amazon EC2 On-Demand instances in your managed compute environment, or you can use Amazon EC2 Spot instances that only launch when the Spot bid price is below a specified percentage of the On-Demand price. In an unmanaged compute environment, you can manage your own compute resources. This provides more compute resource configuration options, such as using a custom AMI, but you must ensure that your AMI meets the Amazon ECS container instance AMI specification. For more information, see Container Instance AMIs in the Amazon EC2 Container Service Developer Guide. After you have created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that is associated with it and then manually launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS Container Instance in the Amazon EC2 Container Service Developer Guide. - */ - createComputeEnvironment(params: Batch.Types.CreateComputeEnvironmentRequest, callback?: (err: AWSError, data: Batch.Types.CreateComputeEnvironmentResponse) => void): Request; - /** - * Creates an AWS Batch compute environment. You can create MANAGED or UNMANAGED compute environments. In a managed compute environment, AWS Batch manages the compute resources within the environment, based on the compute resources that you specify. Instances launched into a managed compute environment use the latest Amazon ECS-optimized AMI. You can choose to use Amazon EC2 On-Demand instances in your managed compute environment, or you can use Amazon EC2 Spot instances that only launch when the Spot bid price is below a specified percentage of the On-Demand price. In an unmanaged compute environment, you can manage your own compute resources. This provides more compute resource configuration options, such as using a custom AMI, but you must ensure that your AMI meets the Amazon ECS container instance AMI specification. For more information, see Container Instance AMIs in the Amazon EC2 Container Service Developer Guide. After you have created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that is associated with it and then manually launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS Container Instance in the Amazon EC2 Container Service Developer Guide. - */ - createComputeEnvironment(callback?: (err: AWSError, data: Batch.Types.CreateComputeEnvironmentResponse) => void): Request; - /** - * Creates an AWS Batch job queue. When you create a job queue, you associate one or more compute environments to the queue and assign an order of preference for the compute environments. You also set a priority to the job queue that determines the order in which the AWS Batch scheduler places jobs onto its associated compute environments. For example, if a compute environment is associated with more than one job queue, the job queue with a higher priority is given preference for scheduling jobs to that compute environment. - */ - createJobQueue(params: Batch.Types.CreateJobQueueRequest, callback?: (err: AWSError, data: Batch.Types.CreateJobQueueResponse) => void): Request; - /** - * Creates an AWS Batch job queue. When you create a job queue, you associate one or more compute environments to the queue and assign an order of preference for the compute environments. You also set a priority to the job queue that determines the order in which the AWS Batch scheduler places jobs onto its associated compute environments. For example, if a compute environment is associated with more than one job queue, the job queue with a higher priority is given preference for scheduling jobs to that compute environment. - */ - createJobQueue(callback?: (err: AWSError, data: Batch.Types.CreateJobQueueResponse) => void): Request; - /** - * Deletes an AWS Batch compute environment. Before you can delete a compute environment, you must set its state to DISABLED with the UpdateComputeEnvironment API operation and disassociate it from any job queues with the UpdateJobQueue API operation. - */ - deleteComputeEnvironment(params: Batch.Types.DeleteComputeEnvironmentRequest, callback?: (err: AWSError, data: Batch.Types.DeleteComputeEnvironmentResponse) => void): Request; - /** - * Deletes an AWS Batch compute environment. Before you can delete a compute environment, you must set its state to DISABLED with the UpdateComputeEnvironment API operation and disassociate it from any job queues with the UpdateJobQueue API operation. - */ - deleteComputeEnvironment(callback?: (err: AWSError, data: Batch.Types.DeleteComputeEnvironmentResponse) => void): Request; - /** - * Deletes the specified job queue. You must first disable submissions for a queue with the UpdateJobQueue operation and terminate any jobs that have not completed with the TerminateJob. It is not necessary to disassociate compute environments from a queue before submitting a DeleteJobQueue request. - */ - deleteJobQueue(params: Batch.Types.DeleteJobQueueRequest, callback?: (err: AWSError, data: Batch.Types.DeleteJobQueueResponse) => void): Request; - /** - * Deletes the specified job queue. You must first disable submissions for a queue with the UpdateJobQueue operation and terminate any jobs that have not completed with the TerminateJob. It is not necessary to disassociate compute environments from a queue before submitting a DeleteJobQueue request. - */ - deleteJobQueue(callback?: (err: AWSError, data: Batch.Types.DeleteJobQueueResponse) => void): Request; - /** - * Deregisters an AWS Batch job definition. - */ - deregisterJobDefinition(params: Batch.Types.DeregisterJobDefinitionRequest, callback?: (err: AWSError, data: Batch.Types.DeregisterJobDefinitionResponse) => void): Request; - /** - * Deregisters an AWS Batch job definition. - */ - deregisterJobDefinition(callback?: (err: AWSError, data: Batch.Types.DeregisterJobDefinitionResponse) => void): Request; - /** - * Describes one or more of your compute environments. If you are using an unmanaged compute environment, you can use the DescribeComputeEnvironment operation to determine the ecsClusterArn that you should launch your Amazon ECS container instances into. - */ - describeComputeEnvironments(params: Batch.Types.DescribeComputeEnvironmentsRequest, callback?: (err: AWSError, data: Batch.Types.DescribeComputeEnvironmentsResponse) => void): Request; - /** - * Describes one or more of your compute environments. If you are using an unmanaged compute environment, you can use the DescribeComputeEnvironment operation to determine the ecsClusterArn that you should launch your Amazon ECS container instances into. - */ - describeComputeEnvironments(callback?: (err: AWSError, data: Batch.Types.DescribeComputeEnvironmentsResponse) => void): Request; - /** - * Describes a list of job definitions. You can specify a status (such as ACTIVE) to only return job definitions that match that status. - */ - describeJobDefinitions(params: Batch.Types.DescribeJobDefinitionsRequest, callback?: (err: AWSError, data: Batch.Types.DescribeJobDefinitionsResponse) => void): Request; - /** - * Describes a list of job definitions. You can specify a status (such as ACTIVE) to only return job definitions that match that status. - */ - describeJobDefinitions(callback?: (err: AWSError, data: Batch.Types.DescribeJobDefinitionsResponse) => void): Request; - /** - * Describes one or more of your job queues. - */ - describeJobQueues(params: Batch.Types.DescribeJobQueuesRequest, callback?: (err: AWSError, data: Batch.Types.DescribeJobQueuesResponse) => void): Request; - /** - * Describes one or more of your job queues. - */ - describeJobQueues(callback?: (err: AWSError, data: Batch.Types.DescribeJobQueuesResponse) => void): Request; - /** - * Describes a list of AWS Batch jobs. - */ - describeJobs(params: Batch.Types.DescribeJobsRequest, callback?: (err: AWSError, data: Batch.Types.DescribeJobsResponse) => void): Request; - /** - * Describes a list of AWS Batch jobs. - */ - describeJobs(callback?: (err: AWSError, data: Batch.Types.DescribeJobsResponse) => void): Request; - /** - * Returns a list of task jobs for a specified job queue. You can filter the results by job status with the jobStatus parameter. - */ - listJobs(params: Batch.Types.ListJobsRequest, callback?: (err: AWSError, data: Batch.Types.ListJobsResponse) => void): Request; - /** - * Returns a list of task jobs for a specified job queue. You can filter the results by job status with the jobStatus parameter. - */ - listJobs(callback?: (err: AWSError, data: Batch.Types.ListJobsResponse) => void): Request; - /** - * Registers an AWS Batch job definition. - */ - registerJobDefinition(params: Batch.Types.RegisterJobDefinitionRequest, callback?: (err: AWSError, data: Batch.Types.RegisterJobDefinitionResponse) => void): Request; - /** - * Registers an AWS Batch job definition. - */ - registerJobDefinition(callback?: (err: AWSError, data: Batch.Types.RegisterJobDefinitionResponse) => void): Request; - /** - * Submits an AWS Batch job from a job definition. Parameters specified during SubmitJob override parameters defined in the job definition. - */ - submitJob(params: Batch.Types.SubmitJobRequest, callback?: (err: AWSError, data: Batch.Types.SubmitJobResponse) => void): Request; - /** - * Submits an AWS Batch job from a job definition. Parameters specified during SubmitJob override parameters defined in the job definition. - */ - submitJob(callback?: (err: AWSError, data: Batch.Types.SubmitJobResponse) => void): Request; - /** - * Terminates jobs in a job queue. Jobs that are in the STARTING or RUNNING state are terminated, which causes them to transition to FAILED. Jobs that have not progressed to the STARTING state are cancelled. - */ - terminateJob(params: Batch.Types.TerminateJobRequest, callback?: (err: AWSError, data: Batch.Types.TerminateJobResponse) => void): Request; - /** - * Terminates jobs in a job queue. Jobs that are in the STARTING or RUNNING state are terminated, which causes them to transition to FAILED. Jobs that have not progressed to the STARTING state are cancelled. - */ - terminateJob(callback?: (err: AWSError, data: Batch.Types.TerminateJobResponse) => void): Request; - /** - * Updates an AWS Batch compute environment. - */ - updateComputeEnvironment(params: Batch.Types.UpdateComputeEnvironmentRequest, callback?: (err: AWSError, data: Batch.Types.UpdateComputeEnvironmentResponse) => void): Request; - /** - * Updates an AWS Batch compute environment. - */ - updateComputeEnvironment(callback?: (err: AWSError, data: Batch.Types.UpdateComputeEnvironmentResponse) => void): Request; - /** - * Updates a job queue. - */ - updateJobQueue(params: Batch.Types.UpdateJobQueueRequest, callback?: (err: AWSError, data: Batch.Types.UpdateJobQueueResponse) => void): Request; - /** - * Updates a job queue. - */ - updateJobQueue(callback?: (err: AWSError, data: Batch.Types.UpdateJobQueueResponse) => void): Request; -} -declare namespace Batch { - export interface AttemptContainerDetail { - /** - * The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt. - */ - containerInstanceArn?: String; - /** - * The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt. - */ - taskArn?: String; - /** - * The exit code for the job attempt. A non-zero exit code is considered a failure. - */ - exitCode?: Integer; - /** - * A short (255 max characters) human-readable string to provide additional details about a running or stopped container. - */ - reason?: String; - } - export interface AttemptDetail { - /** - * Details about the container in this job attempt. - */ - container?: AttemptContainerDetail; - /** - * The Unix timestamp for when the attempt was started (when the task transitioned from the PENDING state to the RUNNING state). - */ - startedAt?: Long; - /** - * The Unix timestamp for when the attempt was stopped (when the task transitioned from the RUNNING state to the STOPPED state). - */ - stoppedAt?: Long; - /** - * A short, human-readable string to provide additional details about the current status of the job attempt. - */ - statusReason?: String; - } - export type AttemptDetails = AttemptDetail[]; - export type Boolean = boolean; - export type CEState = "ENABLED"|"DISABLED"|string; - export type CEStatus = "CREATING"|"UPDATING"|"DELETING"|"DELETED"|"VALID"|"INVALID"|string; - export type CEType = "MANAGED"|"UNMANAGED"|string; - export type CRType = "EC2"|"SPOT"|string; - export interface CancelJobRequest { - /** - * A list of up to 100 job IDs to cancel. - */ - jobId: String; - /** - * A message to attach to the job that explains the reason for cancelling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity logs. - */ - reason: String; - } - export interface CancelJobResponse { - } - export interface ComputeEnvironmentDetail { - /** - * The name of the compute environment. - */ - computeEnvironmentName: String; - /** - * The Amazon Resource Name (ARN) of the compute environment. - */ - computeEnvironmentArn: String; - /** - * The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment. - */ - ecsClusterArn: String; - /** - * The type of the compute environment. - */ - type?: CEType; - /** - * The state of the compute environment. The valid values are ENABLED or DISABLED. An ENABLED state indicates that you can register instances with the compute environment and that the associated instances can accept jobs. - */ - state?: CEState; - /** - * The current status of the compute environment (for example, CREATING or VALID). - */ - status?: CEStatus; - /** - * A short, human-readable string to provide additional details about the current status of the compute environment. - */ - statusReason?: String; - /** - * The compute resources defined for the compute environment. - */ - computeResources?: ComputeResource; - /** - * The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf. - */ - serviceRole?: String; - } - export type ComputeEnvironmentDetailList = ComputeEnvironmentDetail[]; - export interface ComputeEnvironmentOrder { - /** - * The order of the compute environment. - */ - order: Integer; - /** - * The Amazon Resource Name (ARN) of the compute environment. - */ - computeEnvironment: String; - } - export type ComputeEnvironmentOrders = ComputeEnvironmentOrder[]; - export interface ComputeResource { - /** - * The type of compute environment. - */ - type: CRType; - /** - * The minimum number of EC2 vCPUs that an environment should maintain. - */ - minvCpus: Integer; - /** - * The maximum number of EC2 vCPUs that an environment can reach. - */ - maxvCpus: Integer; - /** - * The desired number of EC2 vCPUS in the compute environment. - */ - desiredvCpus?: Integer; - /** - * The instances types that may launched. - */ - instanceTypes: StringList; - /** - * The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. - */ - imageId?: String; - /** - * The VPC subnets into which the compute resources are launched. - */ - subnets: StringList; - /** - * The EC2 security group that is associated with instances launched in the compute environment. - */ - securityGroupIds: StringList; - /** - * The EC2 key pair that is used for instances launched in the compute environment. - */ - ec2KeyPair?: String; - /** - * The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment. - */ - instanceRole: String; - /** - * Key-value pair tags to be applied to resources that are launched in the compute environment. - */ - tags?: TagsMap; - /** - * The minimum percentage that a Spot Instance price must be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20%, then the Spot price must be below 20% of the current On-Demand price for that EC2 instance. - */ - bidPercentage?: Integer; - /** - * The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. - */ - spotIamFleetRole?: String; - } - export interface ComputeResourceUpdate { - /** - * The minimum number of EC2 vCPUs that an environment should maintain. - */ - minvCpus?: Integer; - /** - * The maximum number of EC2 vCPUs that an environment can reach. - */ - maxvCpus?: Integer; - /** - * The desired number of EC2 vCPUS in the compute environment. - */ - desiredvCpus?: Integer; - } - export interface ContainerDetail { - /** - * The image used to start the container. - */ - image?: String; - /** - * The number of VCPUs allocated for the job. - */ - vcpus?: Integer; - /** - * The number of MiB of memory reserved for the job. - */ - memory?: Integer; - /** - * The command that is passed to the container. - */ - command?: StringList; - /** - * The Amazon Resource Name (ARN) associated with the job upon execution. - */ - jobRoleArn?: String; - /** - * A list of volumes associated with the job. - */ - volumes?: Volumes; - /** - * The environment variables to pass to a container. - */ - environment?: EnvironmentVariables; - /** - * The mount points for data volumes in your container. - */ - mountPoints?: MountPoints; - /** - * When this parameter is true, the container is given read-only access to its root file system. - */ - readonlyRootFilesystem?: Boolean; - /** - * A list of ulimit values to set in the container. - */ - ulimits?: Ulimits; - /** - * When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). - */ - privileged?: Boolean; - /** - * The user name to use inside the container. - */ - user?: String; - /** - * The exit code to return upon completion. - */ - exitCode?: Integer; - /** - * A short (255 max characters) human-readable string to provide additional details about a running or stopped container. - */ - reason?: String; - /** - * The Amazon Resource Name (ARN) of the container instance on which the container is running. - */ - containerInstanceArn?: String; - /** - * The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the container job. - */ - taskArn?: String; - } - export interface ContainerOverrides { - /** - * The number of vCPUs to reserve for the container. This value overrides the value set in the job definition. - */ - vcpus?: Integer; - /** - * The number of MiB of memory reserved for the job. This value overrides the value set in the job definition. - */ - memory?: Integer; - /** - * The command to send to the container that overrides the default command from the Docker image or the job definition. - */ - command?: StringList; - /** - * The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition. - */ - environment?: EnvironmentVariables; - } - export interface ContainerProperties { - /** - * The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with repository-url/image:tag . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run. Images in Amazon ECR repositories use the full registry and repository URI (for example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>). Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo). Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent). Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu). - */ - image: String; - /** - * The number of vCPUs reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run. Each vCPU is equivalent to 1,024 CPU shares. - */ - vcpus: Integer; - /** - * The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run. - */ - memory: Integer; - /** - * The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#cmd. - */ - command?: StringList; - /** - * The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. - */ - jobRoleArn?: String; - /** - * A list of data volumes used in a job. - */ - volumes?: Volumes; - /** - * The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run. We do not recommend using plain text environment variables for sensitive information, such as credential data. - */ - environment?: EnvironmentVariables; - /** - * The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run. - */ - mountPoints?: MountPoints; - /** - * When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run. - */ - readonlyRootFilesystem?: Boolean; - /** - * When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run. - */ - privileged?: Boolean; - /** - * A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run. - */ - ulimits?: Ulimits; - /** - * The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run. - */ - user?: String; - } - export interface CreateComputeEnvironmentRequest { - /** - * The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. - */ - computeEnvironmentName: String; - /** - * The type of the compute environment. - */ - type: CEType; - /** - * The state of the compute environment. If the state is ENABLED, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. - */ - state?: CEState; - /** - * Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. - */ - computeResources?: ComputeResource; - /** - * The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. - */ - serviceRole: String; - } - export interface CreateComputeEnvironmentResponse { - /** - * The name of the compute environment. - */ - computeEnvironmentName?: String; - /** - * The Amazon Resource Name (ARN) of the compute environment. - */ - computeEnvironmentArn?: String; - } - export interface CreateJobQueueRequest { - /** - * The name of the job queue. - */ - jobQueueName: String; - /** - * The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs. - */ - state?: JQState; - /** - * The priority of the job queue. Job queues with a higher priority (or a lower integer value for the priority parameter) are evaluated first when associated with same compute environment. Priority is determined in ascending order, for example, a job queue with a priority value of 1 is given scheduling preference over a job queue with a priority value of 10. - */ - priority: Integer; - /** - * The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment should execute a given job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to 3 compute environments with a job queue. - */ - computeEnvironmentOrder: ComputeEnvironmentOrders; - } - export interface CreateJobQueueResponse { - /** - * The name of the job queue. - */ - jobQueueName: String; - /** - * The Amazon Resource Name (ARN) of the job queue. - */ - jobQueueArn: String; - } - export interface DeleteComputeEnvironmentRequest { - /** - * The name or Amazon Resource Name (ARN) of the compute environment to delete. - */ - computeEnvironment: String; - } - export interface DeleteComputeEnvironmentResponse { - } - export interface DeleteJobQueueRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the queue to delete. - */ - jobQueue: String; - } - export interface DeleteJobQueueResponse { - } - export interface DeregisterJobDefinitionRequest { - /** - * The name and revision (name:revision) or full Amazon Resource Name (ARN) of the job definition to deregister. - */ - jobDefinition: String; - } - export interface DeregisterJobDefinitionResponse { - } - export interface DescribeComputeEnvironmentsRequest { - /** - * A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries. - */ - computeEnvironments?: StringList; - /** - * The maximum number of cluster results returned by DescribeComputeEnvironments in paginated output. When this parameter is used, DescribeComputeEnvironments only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeComputeEnvironments request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeComputeEnvironments returns up to 100 results and a nextToken value if applicable. - */ - maxResults?: Integer; - /** - * The nextToken value returned from a previous paginated DescribeComputeEnvironments request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - } - export interface DescribeComputeEnvironmentsResponse { - /** - * The list of compute environments. - */ - computeEnvironments?: ComputeEnvironmentDetailList; - /** - * The nextToken value to include in a future DescribeComputeEnvironments request. When the results of a DescribeJobDefinitions request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export interface DescribeJobDefinitionsRequest { - /** - * A space-separated list of up to 100 job definition names or full Amazon Resource Name (ARN) entries. - */ - jobDefinitions?: StringList; - /** - * The maximum number of results returned by DescribeJobDefinitions in paginated output. When this parameter is used, DescribeJobDefinitions only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobDefinitions request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeJobDefinitions returns up to 100 results and a nextToken value if applicable. - */ - maxResults?: Integer; - /** - * The name of the job definition to describe. - */ - jobDefinitionName?: String; - /** - * The status with which to filter job definitions. - */ - status?: String; - /** - * The nextToken value returned from a previous paginated DescribeJobDefinitions request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - } - export interface DescribeJobDefinitionsResponse { - /** - * The list of job definitions. - */ - jobDefinitions?: JobDefinitionList; - /** - * The nextToken value to include in a future DescribeJobDefinitions request. When the results of a DescribeJobDefinitions request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export interface DescribeJobQueuesRequest { - /** - * A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries. - */ - jobQueues?: StringList; - /** - * The maximum number of results returned by DescribeJobQueues in paginated output. When this parameter is used, DescribeJobQueues only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobQueues request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeJobQueues returns up to 100 results and a nextToken value if applicable. - */ - maxResults?: Integer; - /** - * The nextToken value returned from a previous paginated DescribeJobQueues request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - } - export interface DescribeJobQueuesResponse { - /** - * The list of job queues. - */ - jobQueues?: JobQueueDetailList; - /** - * The nextToken value to include in a future DescribeJobQueues request. When the results of a DescribeJobQueues request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export interface DescribeJobsRequest { - /** - * A space-separated list of up to 100 job IDs. - */ - jobs: StringList; - } - export interface DescribeJobsResponse { - /** - * The list of jobs. - */ - jobs?: JobDetailList; - } - export type EnvironmentVariables = KeyValuePair[]; - export interface Host { - /** - * The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the host parameter contains a sourcePath file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the sourcePath value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. - */ - sourcePath?: String; - } - export type Integer = number; - export type JQState = "ENABLED"|"DISABLED"|string; - export type JQStatus = "CREATING"|"UPDATING"|"DELETING"|"DELETED"|"VALID"|"INVALID"|string; - export interface JobDefinition { - /** - * The name of the job definition. - */ - jobDefinitionName: String; - /** - * The Amazon Resource Name (ARN) for the job definition. - */ - jobDefinitionArn: String; - /** - * The revision of the job definition. - */ - revision: Integer; - /** - * The status of the job definition. - */ - status?: String; - /** - * The type of job definition. - */ - type: String; - /** - * Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition. - */ - parameters?: ParametersMap; - /** - * The retry strategy to use for failed jobs that are submitted with this job definition. - */ - retryStrategy?: RetryStrategy; - /** - * An object with various properties specific to container-based jobs. - */ - containerProperties?: ContainerProperties; - } - export type JobDefinitionList = JobDefinition[]; - export type JobDefinitionType = "container"|string; - export interface JobDependency { - /** - * The job ID of the AWS Batch job associated with this dependency. - */ - jobId?: String; - } - export type JobDependencyList = JobDependency[]; - export interface JobDetail { - /** - * The name of the job. - */ - jobName: String; - /** - * The ID for the job. - */ - jobId: String; - /** - * The Amazon Resource Name (ARN) of the job queue with which the job is associated. - */ - jobQueue: String; - /** - * The current status for the job. - */ - status: JobStatus; - /** - * A list of job attempts associated with this job. - */ - attempts?: AttemptDetails; - /** - * A short, human-readable string to provide additional details about the current status of the job. - */ - statusReason?: String; - /** - * The Unix timestamp for when the job was created (when the task entered the PENDING state). - */ - createdAt?: Long; - /** - * The retry strategy to use for this job if an attempt fails. - */ - retryStrategy?: RetryStrategy; - /** - * The Unix timestamp for when the job was started (when the task transitioned from the PENDING state to the RUNNING state). - */ - startedAt: Long; - /** - * The Unix timestamp for when the job was stopped (when the task transitioned from the RUNNING state to the STOPPED state). - */ - stoppedAt?: Long; - /** - * A list of job names or IDs on which this job depends. - */ - dependsOn?: JobDependencyList; - /** - * The job definition that is used by this job. - */ - jobDefinition: String; - /** - * Additional parameters passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition. - */ - parameters?: ParametersMap; - /** - * An object representing the details of the container that is associated with the job. - */ - container?: ContainerDetail; - } - export type JobDetailList = JobDetail[]; - export interface JobQueueDetail { - /** - * The name of the job queue. - */ - jobQueueName: String; - /** - * The Amazon Resource Name (ARN) of the job queue. - */ - jobQueueArn: String; - /** - * Describes the ability of the queue to accept new jobs. - */ - state: JQState; - /** - * The status of the job queue (for example, CREATING or VALID). - */ - status?: JQStatus; - /** - * A short, human-readable string to provide additional details about the current status of the job queue. - */ - statusReason?: String; - /** - * The priority of the job queue. - */ - priority: Integer; - /** - * The compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order. - */ - computeEnvironmentOrder: ComputeEnvironmentOrders; - } - export type JobQueueDetailList = JobQueueDetail[]; - export type JobStatus = "SUBMITTED"|"PENDING"|"RUNNABLE"|"STARTING"|"RUNNING"|"SUCCEEDED"|"FAILED"|string; - export interface JobSummary { - /** - * The ID of the job. - */ - jobId: String; - /** - * The name of the job. - */ - jobName: String; - } - export type JobSummaryList = JobSummary[]; - export interface KeyValuePair { - /** - * The name of the key value pair. For environment variables, this is the name of the environment variable. - */ - name?: String; - /** - * The value of the key value pair. For environment variables, this is the value of the environment variable. - */ - value?: String; - } - export interface ListJobsRequest { - /** - * The name or full Amazon Resource Name (ARN) of the job queue with which to list jobs. - */ - jobQueue: String; - /** - * The job status with which to filter jobs in the specified queue. - */ - jobStatus?: JobStatus; - /** - * The maximum number of results returned by ListJobs in paginated output. When this parameter is used, ListJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListJobs request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListJobs returns up to 100 results and a nextToken value if applicable. - */ - maxResults?: Integer; - /** - * The nextToken value returned from a previous paginated ListJobs request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - } - export interface ListJobsResponse { - /** - * A list of job summaries that match the request. - */ - jobSummaryList: JobSummaryList; - /** - * The nextToken value to include in a future ListJobs request. When the results of a ListJobs request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export type Long = number; - export interface MountPoint { - /** - * The path on the container at which to mount the host volume. - */ - containerPath?: String; - /** - * If this value is true, the container has read-only access to the volume; otherwise, the container can write to the volume. The default value is false. - */ - readOnly?: Boolean; - /** - * The name of the volume to mount. - */ - sourceVolume?: String; - } - export type MountPoints = MountPoint[]; - export type ParametersMap = {[key: string]: String}; - export interface RegisterJobDefinitionRequest { - /** - * The name of the job definition to register. - */ - jobDefinitionName: String; - /** - * The type of job definition. - */ - type: JobDefinitionType; - /** - * Default parameter substitution placeholders to set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition. - */ - parameters?: ParametersMap; - /** - * An object with various properties specific for container-based jobs. This parameter is required if the type parameter is container. - */ - containerProperties?: ContainerProperties; - /** - * The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that is specified during a SubmitJob operation overrides the retry strategy defined here. - */ - retryStrategy?: RetryStrategy; - } - export interface RegisterJobDefinitionResponse { - /** - * The name of the job definition. - */ - jobDefinitionName: String; - /** - * The Amazon Resource Name (ARN) of the job definition. - */ - jobDefinitionArn: String; - /** - * The revision of the job definition. - */ - revision: Integer; - } - export interface RetryStrategy { - /** - * The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If attempts is greater than one, the job is retried if it fails until it has moved to RUNNABLE that many times. - */ - attempts?: Integer; - } - export type String = string; - export type StringList = String[]; - export interface SubmitJobRequest { - /** - * The name of the job. A name must be 1 to 128 characters in length. Pattern: ^[a-zA-Z0-9_]+$ - */ - jobName: String; - /** - * The job queue into which the job will be submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue. - */ - jobQueue: String; - /** - * A list of job IDs on which this job depends. A job can depend upon a maximum of 100 jobs. - */ - dependsOn?: JobDependencyList; - /** - * The job definition used by this job. This value can be either a name:revision or the Amazon Resource Name (ARN) for the job definition. - */ - jobDefinition: String; - /** - * Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job definition. Parameters are specified as a key and value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition. - */ - parameters?: ParametersMap; - /** - * A list of container overrides in JSON format that specify the name of a container in the specified job definition and the overrides it should receive. You can override the default command for a container (that is specified in the job definition or the Docker image) with a command override. You can also override existing environment variables (that are specified in the job definition or Docker image) on a container or add new environment variables to it with an environment override. - */ - containerOverrides?: ContainerOverrides; - /** - * The retry strategy to use for failed jobs from this SubmitJob operation. When a retry strategy is specified here, it overrides the retry strategy defined in the job definition. - */ - retryStrategy?: RetryStrategy; - } - export interface SubmitJobResponse { - /** - * The name of the job. - */ - jobName: String; - /** - * The unique identifier for the job. - */ - jobId: String; - } - export type TagsMap = {[key: string]: String}; - export interface TerminateJobRequest { - /** - * Job IDs to be terminated. Up to 100 jobs can be specified. - */ - jobId: String; - /** - * A message to attach to the job that explains the reason for cancelling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity logs. - */ - reason: String; - } - export interface TerminateJobResponse { - } - export interface Ulimit { - /** - * The hard limit for the ulimit type. - */ - hardLimit: Integer; - /** - * The type of the ulimit. - */ - name: String; - /** - * The soft limit for the ulimit type. - */ - softLimit: Integer; - } - export type Ulimits = Ulimit[]; - export interface UpdateComputeEnvironmentRequest { - /** - * The name or full Amazon Resource Name (ARN) of the compute environment to update. - */ - computeEnvironment: String; - /** - * The state of the compute environment. Compute environments in the ENABLED state can accept jobs from a queue and scale in or out automatically based on the workload demand of its associated queues. - */ - state?: CEState; - /** - * Details of the compute resources managed by the compute environment. Required for a managed compute environment. - */ - computeResources?: ComputeResourceUpdate; - /** - * The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS, Auto Scaling, and EC2 on your behalf. - */ - serviceRole?: String; - } - export interface UpdateComputeEnvironmentResponse { - /** - * The name of compute environment. - */ - computeEnvironmentName?: String; - /** - * The Amazon Resource Name (ARN) of the compute environment. - */ - computeEnvironmentArn?: String; - } - export interface UpdateJobQueueRequest { - /** - * The name or the Amazon Resource Name (ARN) of the job queue. - */ - jobQueue: String; - /** - * Describes the queue's ability to accept new jobs. - */ - state?: JQState; - /** - * The priority of the job queue. Job queues with a higher priority (or a lower integer value for the priority parameter) are evaluated first when associated with same compute environment. Priority is determined in ascending order, for example, a job queue with a priority value of 1 is given scheduling preference over a job queue with a priority value of 10. - */ - priority?: Integer; - /** - * Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment should execute a given job. - */ - computeEnvironmentOrder?: ComputeEnvironmentOrders; - } - export interface UpdateJobQueueResponse { - /** - * The name of the job queue. - */ - jobQueueName?: String; - /** - * The Amazon Resource Name (ARN) of the job queue. - */ - jobQueueArn?: String; - } - export interface Volume { - /** - * The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running. - */ - host?: Host; - /** - * The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints. - */ - name?: String; - } - export type Volumes = Volume[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-08-10"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Batch client. - */ - export import Types = Batch; -} -export = Batch; diff --git a/src/node_modules/aws-sdk/clients/batch.js b/src/node_modules/aws-sdk/clients/batch.js deleted file mode 100644 index 09694d7..0000000 --- a/src/node_modules/aws-sdk/clients/batch.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['batch'] = {}; -AWS.Batch = Service.defineService('batch', ['2016-08-10']); -Object.defineProperty(apiLoader.services['batch'], '2016-08-10', { - get: function get() { - var model = require('../apis/batch-2016-08-10.min.json'); - model.paginators = require('../apis/batch-2016-08-10.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Batch; diff --git a/src/node_modules/aws-sdk/clients/browser_default.d.ts b/src/node_modules/aws-sdk/clients/browser_default.d.ts deleted file mode 100644 index 441ffba..0000000 --- a/src/node_modules/aws-sdk/clients/browser_default.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -export import ACM = require('./acm'); -export import APIGateway = require('./apigateway'); -export import ApplicationAutoScaling = require('./applicationautoscaling'); -export import AutoScaling = require('./autoscaling'); -export import CloudFormation = require('./cloudformation'); -export import CloudFront = require('./cloudfront'); -export import CloudHSM = require('./cloudhsm'); -export import CloudTrail = require('./cloudtrail'); -export import CloudWatch = require('./cloudwatch'); -export import CloudWatchEvents = require('./cloudwatchevents'); -export import CloudWatchLogs = require('./cloudwatchlogs'); -export import CodeCommit = require('./codecommit'); -export import CodeDeploy = require('./codedeploy'); -export import CodePipeline = require('./codepipeline'); -export import CognitoIdentity = require('./cognitoidentity'); -export import CognitoIdentityServiceProvider = require('./cognitoidentityserviceprovider'); -export import CognitoSync = require('./cognitosync'); -export import ConfigService = require('./configservice'); -export import CUR = require('./cur'); -export import DeviceFarm = require('./devicefarm'); -export import DirectConnect = require('./directconnect'); -export import DynamoDB = require('./dynamodb'); -export import DynamoDBStreams = require('./dynamodbstreams'); -export import EC2 = require('./ec2'); -export import ECR = require('./ecr'); -export import ECS = require('./ecs'); -export import EFS = require('./efs'); -export import ElastiCache = require('./elasticache'); -export import ElasticBeanstalk = require('./elasticbeanstalk'); -export import ELB = require('./elb'); -export import ELBv2 = require('./elbv2'); -export import EMR = require('./emr'); -export import ElasticTranscoder = require('./elastictranscoder'); -export import Firehose = require('./firehose'); -export import GameLift = require('./gamelift'); -export import Inspector = require('./inspector'); -export import Iot = require('./iot'); -export import IotData = require('./iotdata'); -export import Kinesis = require('./kinesis'); -export import KMS = require('./kms'); -export import Lambda = require('./lambda'); -export import LexRuntime = require('./lexruntime'); -export import MachineLearning = require('./machinelearning'); -export import MarketplaceCommerceAnalytics = require('./marketplacecommerceanalytics'); -export import MTurk = require('./mturk'); -export import MobileAnalytics = require('./mobileanalytics'); -export import OpsWorks = require('./opsworks'); -export import Polly = require('./polly'); -export import RDS = require('./rds'); -export import Redshift = require('./redshift'); -export import Rekognition = require('./rekognition'); -export import Route53 = require('./route53'); -export import Route53Domains = require('./route53domains'); -export import S3 = require('./s3'); -export import ServiceCatalog = require('./servicecatalog'); -export import SES = require('./ses'); -export import SNS = require('./sns'); -export import SQS = require('./sqs'); -export import SSM = require('./ssm'); -export import StorageGateway = require('./storagegateway'); -export import STS = require('./sts'); -export import WAF = require('./waf'); -export import WorkDocs = require('./workdocs'); diff --git a/src/node_modules/aws-sdk/clients/browser_default.js b/src/node_modules/aws-sdk/clients/browser_default.js deleted file mode 100644 index f295b65..0000000 --- a/src/node_modules/aws-sdk/clients/browser_default.js +++ /dev/null @@ -1,68 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); - -module.exports = { - ACM: require('./acm'), - APIGateway: require('./apigateway'), - ApplicationAutoScaling: require('./applicationautoscaling'), - AutoScaling: require('./autoscaling'), - CloudFormation: require('./cloudformation'), - CloudFront: require('./cloudfront'), - CloudHSM: require('./cloudhsm'), - CloudTrail: require('./cloudtrail'), - CloudWatch: require('./cloudwatch'), - CloudWatchEvents: require('./cloudwatchevents'), - CloudWatchLogs: require('./cloudwatchlogs'), - CodeCommit: require('./codecommit'), - CodeDeploy: require('./codedeploy'), - CodePipeline: require('./codepipeline'), - CognitoIdentity: require('./cognitoidentity'), - CognitoIdentityServiceProvider: require('./cognitoidentityserviceprovider'), - CognitoSync: require('./cognitosync'), - ConfigService: require('./configservice'), - CUR: require('./cur'), - DeviceFarm: require('./devicefarm'), - DirectConnect: require('./directconnect'), - DynamoDB: require('./dynamodb'), - DynamoDBStreams: require('./dynamodbstreams'), - EC2: require('./ec2'), - ECR: require('./ecr'), - ECS: require('./ecs'), - EFS: require('./efs'), - ElastiCache: require('./elasticache'), - ElasticBeanstalk: require('./elasticbeanstalk'), - ELB: require('./elb'), - ELBv2: require('./elbv2'), - EMR: require('./emr'), - ElasticTranscoder: require('./elastictranscoder'), - Firehose: require('./firehose'), - GameLift: require('./gamelift'), - Inspector: require('./inspector'), - Iot: require('./iot'), - IotData: require('./iotdata'), - Kinesis: require('./kinesis'), - KMS: require('./kms'), - Lambda: require('./lambda'), - LexRuntime: require('./lexruntime'), - MachineLearning: require('./machinelearning'), - MarketplaceCommerceAnalytics: require('./marketplacecommerceanalytics'), - MTurk: require('./mturk'), - MobileAnalytics: require('./mobileanalytics'), - OpsWorks: require('./opsworks'), - Polly: require('./polly'), - RDS: require('./rds'), - Redshift: require('./redshift'), - Rekognition: require('./rekognition'), - Route53: require('./route53'), - Route53Domains: require('./route53domains'), - S3: require('./s3'), - ServiceCatalog: require('./servicecatalog'), - SES: require('./ses'), - SNS: require('./sns'), - SQS: require('./sqs'), - SSM: require('./ssm'), - StorageGateway: require('./storagegateway'), - STS: require('./sts'), - WAF: require('./waf'), - WorkDocs: require('./workdocs') -}; \ No newline at end of file diff --git a/src/node_modules/aws-sdk/clients/budgets.d.ts b/src/node_modules/aws-sdk/clients/budgets.d.ts deleted file mode 100644 index fbcb356..0000000 --- a/src/node_modules/aws-sdk/clients/budgets.d.ts +++ /dev/null @@ -1,300 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Budgets extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Budgets.Types.ClientConfiguration) - config: Config & Budgets.Types.ClientConfiguration; - /** - * Create a new budget - */ - createBudget(params: Budgets.Types.CreateBudgetRequest, callback?: (err: AWSError, data: Budgets.Types.CreateBudgetResponse) => void): Request; - /** - * Create a new budget - */ - createBudget(callback?: (err: AWSError, data: Budgets.Types.CreateBudgetResponse) => void): Request; - /** - * Create a new Notification with subscribers for a budget - */ - createNotification(params: Budgets.Types.CreateNotificationRequest, callback?: (err: AWSError, data: Budgets.Types.CreateNotificationResponse) => void): Request; - /** - * Create a new Notification with subscribers for a budget - */ - createNotification(callback?: (err: AWSError, data: Budgets.Types.CreateNotificationResponse) => void): Request; - /** - * Create a new Subscriber for a notification - */ - createSubscriber(params: Budgets.Types.CreateSubscriberRequest, callback?: (err: AWSError, data: Budgets.Types.CreateSubscriberResponse) => void): Request; - /** - * Create a new Subscriber for a notification - */ - createSubscriber(callback?: (err: AWSError, data: Budgets.Types.CreateSubscriberResponse) => void): Request; - /** - * Delete a budget and related notifications - */ - deleteBudget(params: Budgets.Types.DeleteBudgetRequest, callback?: (err: AWSError, data: Budgets.Types.DeleteBudgetResponse) => void): Request; - /** - * Delete a budget and related notifications - */ - deleteBudget(callback?: (err: AWSError, data: Budgets.Types.DeleteBudgetResponse) => void): Request; - /** - * Delete a notification and related subscribers - */ - deleteNotification(params: Budgets.Types.DeleteNotificationRequest, callback?: (err: AWSError, data: Budgets.Types.DeleteNotificationResponse) => void): Request; - /** - * Delete a notification and related subscribers - */ - deleteNotification(callback?: (err: AWSError, data: Budgets.Types.DeleteNotificationResponse) => void): Request; - /** - * Delete a Subscriber for a notification - */ - deleteSubscriber(params: Budgets.Types.DeleteSubscriberRequest, callback?: (err: AWSError, data: Budgets.Types.DeleteSubscriberResponse) => void): Request; - /** - * Delete a Subscriber for a notification - */ - deleteSubscriber(callback?: (err: AWSError, data: Budgets.Types.DeleteSubscriberResponse) => void): Request; - /** - * Get a single budget - */ - describeBudget(params: Budgets.Types.DescribeBudgetRequest, callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetResponse) => void): Request; - /** - * Get a single budget - */ - describeBudget(callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetResponse) => void): Request; - /** - * Get all budgets for an account - */ - describeBudgets(params: Budgets.Types.DescribeBudgetsRequest, callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetsResponse) => void): Request; - /** - * Get all budgets for an account - */ - describeBudgets(callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetsResponse) => void): Request; - /** - * Get notifications of a budget - */ - describeNotificationsForBudget(params: Budgets.Types.DescribeNotificationsForBudgetRequest, callback?: (err: AWSError, data: Budgets.Types.DescribeNotificationsForBudgetResponse) => void): Request; - /** - * Get notifications of a budget - */ - describeNotificationsForBudget(callback?: (err: AWSError, data: Budgets.Types.DescribeNotificationsForBudgetResponse) => void): Request; - /** - * Get subscribers of a notification - */ - describeSubscribersForNotification(params: Budgets.Types.DescribeSubscribersForNotificationRequest, callback?: (err: AWSError, data: Budgets.Types.DescribeSubscribersForNotificationResponse) => void): Request; - /** - * Get subscribers of a notification - */ - describeSubscribersForNotification(callback?: (err: AWSError, data: Budgets.Types.DescribeSubscribersForNotificationResponse) => void): Request; - /** - * Update the information of a budget already created - */ - updateBudget(params: Budgets.Types.UpdateBudgetRequest, callback?: (err: AWSError, data: Budgets.Types.UpdateBudgetResponse) => void): Request; - /** - * Update the information of a budget already created - */ - updateBudget(callback?: (err: AWSError, data: Budgets.Types.UpdateBudgetResponse) => void): Request; - /** - * Update the information about a notification already created - */ - updateNotification(params: Budgets.Types.UpdateNotificationRequest, callback?: (err: AWSError, data: Budgets.Types.UpdateNotificationResponse) => void): Request; - /** - * Update the information about a notification already created - */ - updateNotification(callback?: (err: AWSError, data: Budgets.Types.UpdateNotificationResponse) => void): Request; - /** - * Update a subscriber - */ - updateSubscriber(params: Budgets.Types.UpdateSubscriberRequest, callback?: (err: AWSError, data: Budgets.Types.UpdateSubscriberResponse) => void): Request; - /** - * Update a subscriber - */ - updateSubscriber(callback?: (err: AWSError, data: Budgets.Types.UpdateSubscriberResponse) => void): Request; -} -declare namespace Budgets { - export type AccountId = string; - export interface Budget { - BudgetName: BudgetName; - BudgetLimit: Spend; - CostFilters?: CostFilters; - CostTypes: CostTypes; - TimeUnit: TimeUnit; - TimePeriod: TimePeriod; - CalculatedSpend?: CalculatedSpend; - BudgetType: BudgetType; - } - export type BudgetName = string; - export type BudgetType = "USAGE"|"COST"|string; - export type Budgets = Budget[]; - export interface CalculatedSpend { - ActualSpend: Spend; - ForecastedSpend?: Spend; - } - export type ComparisonOperator = "GREATER_THAN"|"LESS_THAN"|"EQUAL_TO"|string; - export type CostFilters = {[key: string]: DimensionValues}; - export interface CostTypes { - IncludeTax: GenericBoolean; - IncludeSubscription: GenericBoolean; - UseBlended: GenericBoolean; - } - export interface CreateBudgetRequest { - AccountId: AccountId; - Budget: Budget; - NotificationsWithSubscribers?: NotificationWithSubscribersList; - } - export interface CreateBudgetResponse { - } - export interface CreateNotificationRequest { - AccountId: AccountId; - BudgetName: BudgetName; - Notification: Notification; - Subscribers: Subscribers; - } - export interface CreateNotificationResponse { - } - export interface CreateSubscriberRequest { - AccountId: AccountId; - BudgetName: BudgetName; - Notification: Notification; - Subscriber: Subscriber; - } - export interface CreateSubscriberResponse { - } - export interface DeleteBudgetRequest { - AccountId: AccountId; - BudgetName: BudgetName; - } - export interface DeleteBudgetResponse { - } - export interface DeleteNotificationRequest { - AccountId: AccountId; - BudgetName: BudgetName; - Notification: Notification; - } - export interface DeleteNotificationResponse { - } - export interface DeleteSubscriberRequest { - AccountId: AccountId; - BudgetName: BudgetName; - Notification: Notification; - Subscriber: Subscriber; - } - export interface DeleteSubscriberResponse { - } - export interface DescribeBudgetRequest { - AccountId: AccountId; - BudgetName: BudgetName; - } - export interface DescribeBudgetResponse { - Budget?: Budget; - } - export interface DescribeBudgetsRequest { - AccountId: AccountId; - MaxResults?: MaxResults; - NextToken?: GenericString; - } - export interface DescribeBudgetsResponse { - Budgets?: Budgets; - NextToken?: GenericString; - } - export interface DescribeNotificationsForBudgetRequest { - AccountId: AccountId; - BudgetName: BudgetName; - MaxResults?: MaxResults; - NextToken?: GenericString; - } - export interface DescribeNotificationsForBudgetResponse { - Notifications?: Notifications; - NextToken?: GenericString; - } - export interface DescribeSubscribersForNotificationRequest { - AccountId: AccountId; - BudgetName: BudgetName; - Notification: Notification; - MaxResults?: MaxResults; - NextToken?: GenericString; - } - export interface DescribeSubscribersForNotificationResponse { - Subscribers?: Subscribers; - NextToken?: GenericString; - } - export type DimensionValues = GenericString[]; - export type GenericBoolean = boolean; - export type GenericString = string; - export type GenericTimestamp = Date; - export type MaxResults = number; - export interface Notification { - NotificationType: NotificationType; - ComparisonOperator: ComparisonOperator; - Threshold: NotificationThreshold; - } - export type NotificationThreshold = number; - export type NotificationType = "ACTUAL"|"FORECASTED"|string; - export interface NotificationWithSubscribers { - Notification: Notification; - Subscribers: Subscribers; - } - export type NotificationWithSubscribersList = NotificationWithSubscribers[]; - export type Notifications = Notification[]; - export type NumericValue = string; - export interface Spend { - Amount: NumericValue; - Unit: GenericString; - } - export interface Subscriber { - SubscriptionType: SubscriptionType; - Address: GenericString; - } - export type Subscribers = Subscriber[]; - export type SubscriptionType = "SNS"|"EMAIL"|string; - export interface TimePeriod { - Start: GenericTimestamp; - End: GenericTimestamp; - } - export type TimeUnit = "MONTHLY"|"QUARTERLY"|"ANNUALLY"|string; - export interface UpdateBudgetRequest { - AccountId: AccountId; - NewBudget: Budget; - } - export interface UpdateBudgetResponse { - } - export interface UpdateNotificationRequest { - AccountId: AccountId; - BudgetName: BudgetName; - OldNotification: Notification; - NewNotification: Notification; - } - export interface UpdateNotificationResponse { - } - export interface UpdateSubscriberRequest { - AccountId: AccountId; - BudgetName: BudgetName; - Notification: Notification; - OldSubscriber: Subscriber; - NewSubscriber: Subscriber; - } - export interface UpdateSubscriberResponse { - } - export type errorMessage = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-10-20"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Budgets client. - */ - export import Types = Budgets; -} -export = Budgets; diff --git a/src/node_modules/aws-sdk/clients/budgets.js b/src/node_modules/aws-sdk/clients/budgets.js deleted file mode 100644 index 8d1d33e..0000000 --- a/src/node_modules/aws-sdk/clients/budgets.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['budgets'] = {}; -AWS.Budgets = Service.defineService('budgets', ['2016-10-20']); -Object.defineProperty(apiLoader.services['budgets'], '2016-10-20', { - get: function get() { - var model = require('../apis/budgets-2016-10-20.min.json'); - model.paginators = require('../apis/budgets-2016-10-20.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Budgets; diff --git a/src/node_modules/aws-sdk/clients/clouddirectory.d.ts b/src/node_modules/aws-sdk/clients/clouddirectory.d.ts deleted file mode 100644 index 6bca124..0000000 --- a/src/node_modules/aws-sdk/clients/clouddirectory.d.ts +++ /dev/null @@ -1,2468 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CloudDirectory extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CloudDirectory.Types.ClientConfiguration) - config: Config & CloudDirectory.Types.ClientConfiguration; - /** - * Adds a new Facet to an object. - */ - addFacetToObject(params: CloudDirectory.Types.AddFacetToObjectRequest, callback?: (err: AWSError, data: CloudDirectory.Types.AddFacetToObjectResponse) => void): Request; - /** - * Adds a new Facet to an object. - */ - addFacetToObject(callback?: (err: AWSError, data: CloudDirectory.Types.AddFacetToObjectResponse) => void): Request; - /** - * Copies the input published schema into the Directory with the same name and version as that of the published schema . - */ - applySchema(params: CloudDirectory.Types.ApplySchemaRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ApplySchemaResponse) => void): Request; - /** - * Copies the input published schema into the Directory with the same name and version as that of the published schema . - */ - applySchema(callback?: (err: AWSError, data: CloudDirectory.Types.ApplySchemaResponse) => void): Request; - /** - * Attaches an existing object to another object. An object can be accessed in two ways: Using the path Using ObjectIdentifier - */ - attachObject(params: CloudDirectory.Types.AttachObjectRequest, callback?: (err: AWSError, data: CloudDirectory.Types.AttachObjectResponse) => void): Request; - /** - * Attaches an existing object to another object. An object can be accessed in two ways: Using the path Using ObjectIdentifier - */ - attachObject(callback?: (err: AWSError, data: CloudDirectory.Types.AttachObjectResponse) => void): Request; - /** - * Attaches a policy object to a regular object. An object can have a limited number of attached policies. - */ - attachPolicy(params: CloudDirectory.Types.AttachPolicyRequest, callback?: (err: AWSError, data: CloudDirectory.Types.AttachPolicyResponse) => void): Request; - /** - * Attaches a policy object to a regular object. An object can have a limited number of attached policies. - */ - attachPolicy(callback?: (err: AWSError, data: CloudDirectory.Types.AttachPolicyResponse) => void): Request; - /** - * Attaches the specified object to the specified index. - */ - attachToIndex(params: CloudDirectory.Types.AttachToIndexRequest, callback?: (err: AWSError, data: CloudDirectory.Types.AttachToIndexResponse) => void): Request; - /** - * Attaches the specified object to the specified index. - */ - attachToIndex(callback?: (err: AWSError, data: CloudDirectory.Types.AttachToIndexResponse) => void): Request; - /** - * Attaches a typed link to a specified source and target object. For more information, see Typed link. - */ - attachTypedLink(params: CloudDirectory.Types.AttachTypedLinkRequest, callback?: (err: AWSError, data: CloudDirectory.Types.AttachTypedLinkResponse) => void): Request; - /** - * Attaches a typed link to a specified source and target object. For more information, see Typed link. - */ - attachTypedLink(callback?: (err: AWSError, data: CloudDirectory.Types.AttachTypedLinkResponse) => void): Request; - /** - * Performs all the read operations in a batch. - */ - batchRead(params: CloudDirectory.Types.BatchReadRequest, callback?: (err: AWSError, data: CloudDirectory.Types.BatchReadResponse) => void): Request; - /** - * Performs all the read operations in a batch. - */ - batchRead(callback?: (err: AWSError, data: CloudDirectory.Types.BatchReadResponse) => void): Request; - /** - * Performs all the write operations in a batch. Either all the operations succeed or none. Batch writes supports only object-related operations. - */ - batchWrite(params: CloudDirectory.Types.BatchWriteRequest, callback?: (err: AWSError, data: CloudDirectory.Types.BatchWriteResponse) => void): Request; - /** - * Performs all the write operations in a batch. Either all the operations succeed or none. Batch writes supports only object-related operations. - */ - batchWrite(callback?: (err: AWSError, data: CloudDirectory.Types.BatchWriteResponse) => void): Request; - /** - * Creates a Directory by copying the published schema into the directory. A directory cannot be created without a schema. - */ - createDirectory(params: CloudDirectory.Types.CreateDirectoryRequest, callback?: (err: AWSError, data: CloudDirectory.Types.CreateDirectoryResponse) => void): Request; - /** - * Creates a Directory by copying the published schema into the directory. A directory cannot be created without a schema. - */ - createDirectory(callback?: (err: AWSError, data: CloudDirectory.Types.CreateDirectoryResponse) => void): Request; - /** - * Creates a new Facet in a schema. Facet creation is allowed only in development or applied schemas. - */ - createFacet(params: CloudDirectory.Types.CreateFacetRequest, callback?: (err: AWSError, data: CloudDirectory.Types.CreateFacetResponse) => void): Request; - /** - * Creates a new Facet in a schema. Facet creation is allowed only in development or applied schemas. - */ - createFacet(callback?: (err: AWSError, data: CloudDirectory.Types.CreateFacetResponse) => void): Request; - /** - * Creates an index object. See Indexing for more information. - */ - createIndex(params: CloudDirectory.Types.CreateIndexRequest, callback?: (err: AWSError, data: CloudDirectory.Types.CreateIndexResponse) => void): Request; - /** - * Creates an index object. See Indexing for more information. - */ - createIndex(callback?: (err: AWSError, data: CloudDirectory.Types.CreateIndexResponse) => void): Request; - /** - * Creates an object in a Directory. Additionally attaches the object to a parent, if a parent reference and LinkName is specified. An object is simply a collection of Facet attributes. You can also use this API call to create a policy object, if the facet from which you create the object is a policy facet. - */ - createObject(params: CloudDirectory.Types.CreateObjectRequest, callback?: (err: AWSError, data: CloudDirectory.Types.CreateObjectResponse) => void): Request; - /** - * Creates an object in a Directory. Additionally attaches the object to a parent, if a parent reference and LinkName is specified. An object is simply a collection of Facet attributes. You can also use this API call to create a policy object, if the facet from which you create the object is a policy facet. - */ - createObject(callback?: (err: AWSError, data: CloudDirectory.Types.CreateObjectResponse) => void): Request; - /** - * Creates a new schema in a development state. A schema can exist in three phases: Development: This is a mutable phase of the schema. All new schemas are in the development phase. Once the schema is finalized, it can be published. Published: Published schemas are immutable and have a version associated with them. Applied: Applied schemas are mutable in a way that allows you to add new schema facets. You can also add new, nonrequired attributes to existing schema facets. You can apply only published schemas to directories. - */ - createSchema(params: CloudDirectory.Types.CreateSchemaRequest, callback?: (err: AWSError, data: CloudDirectory.Types.CreateSchemaResponse) => void): Request; - /** - * Creates a new schema in a development state. A schema can exist in three phases: Development: This is a mutable phase of the schema. All new schemas are in the development phase. Once the schema is finalized, it can be published. Published: Published schemas are immutable and have a version associated with them. Applied: Applied schemas are mutable in a way that allows you to add new schema facets. You can also add new, nonrequired attributes to existing schema facets. You can apply only published schemas to directories. - */ - createSchema(callback?: (err: AWSError, data: CloudDirectory.Types.CreateSchemaResponse) => void): Request; - /** - * Creates a TypedLinkFacet. For more information, see Typed link. - */ - createTypedLinkFacet(params: CloudDirectory.Types.CreateTypedLinkFacetRequest, callback?: (err: AWSError, data: CloudDirectory.Types.CreateTypedLinkFacetResponse) => void): Request; - /** - * Creates a TypedLinkFacet. For more information, see Typed link. - */ - createTypedLinkFacet(callback?: (err: AWSError, data: CloudDirectory.Types.CreateTypedLinkFacetResponse) => void): Request; - /** - * Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise extreme caution when deleting directories. - */ - deleteDirectory(params: CloudDirectory.Types.DeleteDirectoryRequest, callback?: (err: AWSError, data: CloudDirectory.Types.DeleteDirectoryResponse) => void): Request; - /** - * Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise extreme caution when deleting directories. - */ - deleteDirectory(callback?: (err: AWSError, data: CloudDirectory.Types.DeleteDirectoryResponse) => void): Request; - /** - * Deletes a given Facet. All attributes and Rules that are associated with the facet will be deleted. Only development schema facets are allowed deletion. - */ - deleteFacet(params: CloudDirectory.Types.DeleteFacetRequest, callback?: (err: AWSError, data: CloudDirectory.Types.DeleteFacetResponse) => void): Request; - /** - * Deletes a given Facet. All attributes and Rules that are associated with the facet will be deleted. Only development schema facets are allowed deletion. - */ - deleteFacet(callback?: (err: AWSError, data: CloudDirectory.Types.DeleteFacetResponse) => void): Request; - /** - * Deletes an object and its associated attributes. Only objects with no children and no parents can be deleted. - */ - deleteObject(params: CloudDirectory.Types.DeleteObjectRequest, callback?: (err: AWSError, data: CloudDirectory.Types.DeleteObjectResponse) => void): Request; - /** - * Deletes an object and its associated attributes. Only objects with no children and no parents can be deleted. - */ - deleteObject(callback?: (err: AWSError, data: CloudDirectory.Types.DeleteObjectResponse) => void): Request; - /** - * Deletes a given schema. Schemas in a development and published state can only be deleted. - */ - deleteSchema(params: CloudDirectory.Types.DeleteSchemaRequest, callback?: (err: AWSError, data: CloudDirectory.Types.DeleteSchemaResponse) => void): Request; - /** - * Deletes a given schema. Schemas in a development and published state can only be deleted. - */ - deleteSchema(callback?: (err: AWSError, data: CloudDirectory.Types.DeleteSchemaResponse) => void): Request; - /** - * Deletes a TypedLinkFacet. For more information, see Typed link. - */ - deleteTypedLinkFacet(params: CloudDirectory.Types.DeleteTypedLinkFacetRequest, callback?: (err: AWSError, data: CloudDirectory.Types.DeleteTypedLinkFacetResponse) => void): Request; - /** - * Deletes a TypedLinkFacet. For more information, see Typed link. - */ - deleteTypedLinkFacet(callback?: (err: AWSError, data: CloudDirectory.Types.DeleteTypedLinkFacetResponse) => void): Request; - /** - * Detaches the specified object from the specified index. - */ - detachFromIndex(params: CloudDirectory.Types.DetachFromIndexRequest, callback?: (err: AWSError, data: CloudDirectory.Types.DetachFromIndexResponse) => void): Request; - /** - * Detaches the specified object from the specified index. - */ - detachFromIndex(callback?: (err: AWSError, data: CloudDirectory.Types.DetachFromIndexResponse) => void): Request; - /** - * Detaches a given object from the parent object. The object that is to be detached from the parent is specified by the link name. - */ - detachObject(params: CloudDirectory.Types.DetachObjectRequest, callback?: (err: AWSError, data: CloudDirectory.Types.DetachObjectResponse) => void): Request; - /** - * Detaches a given object from the parent object. The object that is to be detached from the parent is specified by the link name. - */ - detachObject(callback?: (err: AWSError, data: CloudDirectory.Types.DetachObjectResponse) => void): Request; - /** - * Detaches a policy from an object. - */ - detachPolicy(params: CloudDirectory.Types.DetachPolicyRequest, callback?: (err: AWSError, data: CloudDirectory.Types.DetachPolicyResponse) => void): Request; - /** - * Detaches a policy from an object. - */ - detachPolicy(callback?: (err: AWSError, data: CloudDirectory.Types.DetachPolicyResponse) => void): Request; - /** - * Detaches a typed link from a specified source and target object. For more information, see Typed link. - */ - detachTypedLink(params: CloudDirectory.Types.DetachTypedLinkRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Detaches a typed link from a specified source and target object. For more information, see Typed link. - */ - detachTypedLink(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled. - */ - disableDirectory(params: CloudDirectory.Types.DisableDirectoryRequest, callback?: (err: AWSError, data: CloudDirectory.Types.DisableDirectoryResponse) => void): Request; - /** - * Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled. - */ - disableDirectory(callback?: (err: AWSError, data: CloudDirectory.Types.DisableDirectoryResponse) => void): Request; - /** - * Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to. - */ - enableDirectory(params: CloudDirectory.Types.EnableDirectoryRequest, callback?: (err: AWSError, data: CloudDirectory.Types.EnableDirectoryResponse) => void): Request; - /** - * Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to. - */ - enableDirectory(callback?: (err: AWSError, data: CloudDirectory.Types.EnableDirectoryResponse) => void): Request; - /** - * Retrieves metadata about a directory. - */ - getDirectory(params: CloudDirectory.Types.GetDirectoryRequest, callback?: (err: AWSError, data: CloudDirectory.Types.GetDirectoryResponse) => void): Request; - /** - * Retrieves metadata about a directory. - */ - getDirectory(callback?: (err: AWSError, data: CloudDirectory.Types.GetDirectoryResponse) => void): Request; - /** - * Gets details of the Facet, such as facet name, attributes, Rules, or ObjectType. You can call this on all kinds of schema facets -- published, development, or applied. - */ - getFacet(params: CloudDirectory.Types.GetFacetRequest, callback?: (err: AWSError, data: CloudDirectory.Types.GetFacetResponse) => void): Request; - /** - * Gets details of the Facet, such as facet name, attributes, Rules, or ObjectType. You can call this on all kinds of schema facets -- published, development, or applied. - */ - getFacet(callback?: (err: AWSError, data: CloudDirectory.Types.GetFacetResponse) => void): Request; - /** - * Retrieves metadata about an object. - */ - getObjectInformation(params: CloudDirectory.Types.GetObjectInformationRequest, callback?: (err: AWSError, data: CloudDirectory.Types.GetObjectInformationResponse) => void): Request; - /** - * Retrieves metadata about an object. - */ - getObjectInformation(callback?: (err: AWSError, data: CloudDirectory.Types.GetObjectInformationResponse) => void): Request; - /** - * Retrieves a JSON representation of the schema. See JSON Schema Format for more information. - */ - getSchemaAsJson(params: CloudDirectory.Types.GetSchemaAsJsonRequest, callback?: (err: AWSError, data: CloudDirectory.Types.GetSchemaAsJsonResponse) => void): Request; - /** - * Retrieves a JSON representation of the schema. See JSON Schema Format for more information. - */ - getSchemaAsJson(callback?: (err: AWSError, data: CloudDirectory.Types.GetSchemaAsJsonResponse) => void): Request; - /** - * Returns the identity attribute order for a specific TypedLinkFacet. For more information, see Typed link. - */ - getTypedLinkFacetInformation(params: CloudDirectory.Types.GetTypedLinkFacetInformationRequest, callback?: (err: AWSError, data: CloudDirectory.Types.GetTypedLinkFacetInformationResponse) => void): Request; - /** - * Returns the identity attribute order for a specific TypedLinkFacet. For more information, see Typed link. - */ - getTypedLinkFacetInformation(callback?: (err: AWSError, data: CloudDirectory.Types.GetTypedLinkFacetInformationResponse) => void): Request; - /** - * Lists schemas applied to a directory. - */ - listAppliedSchemaArns(params: CloudDirectory.Types.ListAppliedSchemaArnsRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListAppliedSchemaArnsResponse) => void): Request; - /** - * Lists schemas applied to a directory. - */ - listAppliedSchemaArns(callback?: (err: AWSError, data: CloudDirectory.Types.ListAppliedSchemaArnsResponse) => void): Request; - /** - * Lists indices attached to an object. - */ - listAttachedIndices(params: CloudDirectory.Types.ListAttachedIndicesRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListAttachedIndicesResponse) => void): Request; - /** - * Lists indices attached to an object. - */ - listAttachedIndices(callback?: (err: AWSError, data: CloudDirectory.Types.ListAttachedIndicesResponse) => void): Request; - /** - * Retrieves each Amazon Resource Name (ARN) of schemas in the development state. - */ - listDevelopmentSchemaArns(params: CloudDirectory.Types.ListDevelopmentSchemaArnsRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListDevelopmentSchemaArnsResponse) => void): Request; - /** - * Retrieves each Amazon Resource Name (ARN) of schemas in the development state. - */ - listDevelopmentSchemaArns(callback?: (err: AWSError, data: CloudDirectory.Types.ListDevelopmentSchemaArnsResponse) => void): Request; - /** - * Lists directories created within an account. - */ - listDirectories(params: CloudDirectory.Types.ListDirectoriesRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListDirectoriesResponse) => void): Request; - /** - * Lists directories created within an account. - */ - listDirectories(callback?: (err: AWSError, data: CloudDirectory.Types.ListDirectoriesResponse) => void): Request; - /** - * Retrieves attributes attached to the facet. - */ - listFacetAttributes(params: CloudDirectory.Types.ListFacetAttributesRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListFacetAttributesResponse) => void): Request; - /** - * Retrieves attributes attached to the facet. - */ - listFacetAttributes(callback?: (err: AWSError, data: CloudDirectory.Types.ListFacetAttributesResponse) => void): Request; - /** - * Retrieves the names of facets that exist in a schema. - */ - listFacetNames(params: CloudDirectory.Types.ListFacetNamesRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListFacetNamesResponse) => void): Request; - /** - * Retrieves the names of facets that exist in a schema. - */ - listFacetNames(callback?: (err: AWSError, data: CloudDirectory.Types.ListFacetNamesResponse) => void): Request; - /** - * Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also supports filtering by typed link facet and identity attributes. For more information, see Typed link. - */ - listIncomingTypedLinks(params: CloudDirectory.Types.ListIncomingTypedLinksRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListIncomingTypedLinksResponse) => void): Request; - /** - * Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also supports filtering by typed link facet and identity attributes. For more information, see Typed link. - */ - listIncomingTypedLinks(callback?: (err: AWSError, data: CloudDirectory.Types.ListIncomingTypedLinksResponse) => void): Request; - /** - * Lists objects attached to the specified index. - */ - listIndex(params: CloudDirectory.Types.ListIndexRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListIndexResponse) => void): Request; - /** - * Lists objects attached to the specified index. - */ - listIndex(callback?: (err: AWSError, data: CloudDirectory.Types.ListIndexResponse) => void): Request; - /** - * Lists all attributes that are associated with an object. - */ - listObjectAttributes(params: CloudDirectory.Types.ListObjectAttributesRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListObjectAttributesResponse) => void): Request; - /** - * Lists all attributes that are associated with an object. - */ - listObjectAttributes(callback?: (err: AWSError, data: CloudDirectory.Types.ListObjectAttributesResponse) => void): Request; - /** - * Returns a paginated list of child objects that are associated with a given object. - */ - listObjectChildren(params: CloudDirectory.Types.ListObjectChildrenRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListObjectChildrenResponse) => void): Request; - /** - * Returns a paginated list of child objects that are associated with a given object. - */ - listObjectChildren(callback?: (err: AWSError, data: CloudDirectory.Types.ListObjectChildrenResponse) => void): Request; - /** - * Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node objects. For more information about objects, see Directory Structure. Use this API to evaluate all parents for an object. The call returns all objects from the root of the directory up to the requested object. The API returns the number of paths based on user-defined MaxResults, in case there are multiple paths to the parent. The order of the paths and nodes returned is consistent among multiple API calls unless the objects are deleted or moved. Paths not leading to the directory root are ignored from the target object. - */ - listObjectParentPaths(params: CloudDirectory.Types.ListObjectParentPathsRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListObjectParentPathsResponse) => void): Request; - /** - * Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node objects. For more information about objects, see Directory Structure. Use this API to evaluate all parents for an object. The call returns all objects from the root of the directory up to the requested object. The API returns the number of paths based on user-defined MaxResults, in case there are multiple paths to the parent. The order of the paths and nodes returned is consistent among multiple API calls unless the objects are deleted or moved. Paths not leading to the directory root are ignored from the target object. - */ - listObjectParentPaths(callback?: (err: AWSError, data: CloudDirectory.Types.ListObjectParentPathsResponse) => void): Request; - /** - * Lists parent objects that are associated with a given object in pagination fashion. - */ - listObjectParents(params: CloudDirectory.Types.ListObjectParentsRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListObjectParentsResponse) => void): Request; - /** - * Lists parent objects that are associated with a given object in pagination fashion. - */ - listObjectParents(callback?: (err: AWSError, data: CloudDirectory.Types.ListObjectParentsResponse) => void): Request; - /** - * Returns policies attached to an object in pagination fashion. - */ - listObjectPolicies(params: CloudDirectory.Types.ListObjectPoliciesRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListObjectPoliciesResponse) => void): Request; - /** - * Returns policies attached to an object in pagination fashion. - */ - listObjectPolicies(callback?: (err: AWSError, data: CloudDirectory.Types.ListObjectPoliciesResponse) => void): Request; - /** - * Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also supports filtering by typed link facet and identity attributes. For more information, see Typed link. - */ - listOutgoingTypedLinks(params: CloudDirectory.Types.ListOutgoingTypedLinksRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListOutgoingTypedLinksResponse) => void): Request; - /** - * Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also supports filtering by typed link facet and identity attributes. For more information, see Typed link. - */ - listOutgoingTypedLinks(callback?: (err: AWSError, data: CloudDirectory.Types.ListOutgoingTypedLinksResponse) => void): Request; - /** - * Returns all of the ObjectIdentifiers to which a given policy is attached. - */ - listPolicyAttachments(params: CloudDirectory.Types.ListPolicyAttachmentsRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListPolicyAttachmentsResponse) => void): Request; - /** - * Returns all of the ObjectIdentifiers to which a given policy is attached. - */ - listPolicyAttachments(callback?: (err: AWSError, data: CloudDirectory.Types.ListPolicyAttachmentsResponse) => void): Request; - /** - * Retrieves each published schema Amazon Resource Name (ARN). - */ - listPublishedSchemaArns(params: CloudDirectory.Types.ListPublishedSchemaArnsRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListPublishedSchemaArnsResponse) => void): Request; - /** - * Retrieves each published schema Amazon Resource Name (ARN). - */ - listPublishedSchemaArns(callback?: (err: AWSError, data: CloudDirectory.Types.ListPublishedSchemaArnsResponse) => void): Request; - /** - * Returns tags for a resource. Tagging is currently supported only for directories with a limit of 50 tags per directory. All 50 tags are returned for a given directory with this API call. - */ - listTagsForResource(params: CloudDirectory.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListTagsForResourceResponse) => void): Request; - /** - * Returns tags for a resource. Tagging is currently supported only for directories with a limit of 50 tags per directory. All 50 tags are returned for a given directory with this API call. - */ - listTagsForResource(callback?: (err: AWSError, data: CloudDirectory.Types.ListTagsForResourceResponse) => void): Request; - /** - * Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed link. - */ - listTypedLinkFacetAttributes(params: CloudDirectory.Types.ListTypedLinkFacetAttributesRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListTypedLinkFacetAttributesResponse) => void): Request; - /** - * Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed link. - */ - listTypedLinkFacetAttributes(callback?: (err: AWSError, data: CloudDirectory.Types.ListTypedLinkFacetAttributesResponse) => void): Request; - /** - * Returns a paginated list of TypedLink facet names for a particular schema. For more information, see Typed link. - */ - listTypedLinkFacetNames(params: CloudDirectory.Types.ListTypedLinkFacetNamesRequest, callback?: (err: AWSError, data: CloudDirectory.Types.ListTypedLinkFacetNamesResponse) => void): Request; - /** - * Returns a paginated list of TypedLink facet names for a particular schema. For more information, see Typed link. - */ - listTypedLinkFacetNames(callback?: (err: AWSError, data: CloudDirectory.Types.ListTypedLinkFacetNamesResponse) => void): Request; - /** - * Lists all policies from the root of the Directory to the object specified. If there are no policies present, an empty list is returned. If policies are present, and if some objects don't have the policies attached, it returns the ObjectIdentifier for such objects. If policies are present, it returns ObjectIdentifier, policyId, and policyType. Paths that don't lead to the root from the target object are ignored. For more information, see Policies. - */ - lookupPolicy(params: CloudDirectory.Types.LookupPolicyRequest, callback?: (err: AWSError, data: CloudDirectory.Types.LookupPolicyResponse) => void): Request; - /** - * Lists all policies from the root of the Directory to the object specified. If there are no policies present, an empty list is returned. If policies are present, and if some objects don't have the policies attached, it returns the ObjectIdentifier for such objects. If policies are present, it returns ObjectIdentifier, policyId, and policyType. Paths that don't lead to the root from the target object are ignored. For more information, see Policies. - */ - lookupPolicy(callback?: (err: AWSError, data: CloudDirectory.Types.LookupPolicyResponse) => void): Request; - /** - * Publishes a development schema with a version. If description and attributes are specified, PublishSchema overrides the development schema description and attributes. If not, the development schema description and attributes are used. - */ - publishSchema(params: CloudDirectory.Types.PublishSchemaRequest, callback?: (err: AWSError, data: CloudDirectory.Types.PublishSchemaResponse) => void): Request; - /** - * Publishes a development schema with a version. If description and attributes are specified, PublishSchema overrides the development schema description and attributes. If not, the development schema description and attributes are used. - */ - publishSchema(callback?: (err: AWSError, data: CloudDirectory.Types.PublishSchemaResponse) => void): Request; - /** - * Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information. - */ - putSchemaFromJson(params: CloudDirectory.Types.PutSchemaFromJsonRequest, callback?: (err: AWSError, data: CloudDirectory.Types.PutSchemaFromJsonResponse) => void): Request; - /** - * Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information. - */ - putSchemaFromJson(callback?: (err: AWSError, data: CloudDirectory.Types.PutSchemaFromJsonResponse) => void): Request; - /** - * Removes the specified facet from the specified object. - */ - removeFacetFromObject(params: CloudDirectory.Types.RemoveFacetFromObjectRequest, callback?: (err: AWSError, data: CloudDirectory.Types.RemoveFacetFromObjectResponse) => void): Request; - /** - * Removes the specified facet from the specified object. - */ - removeFacetFromObject(callback?: (err: AWSError, data: CloudDirectory.Types.RemoveFacetFromObjectResponse) => void): Request; - /** - * An API operation for adding tags to a resource. - */ - tagResource(params: CloudDirectory.Types.TagResourceRequest, callback?: (err: AWSError, data: CloudDirectory.Types.TagResourceResponse) => void): Request; - /** - * An API operation for adding tags to a resource. - */ - tagResource(callback?: (err: AWSError, data: CloudDirectory.Types.TagResourceResponse) => void): Request; - /** - * An API operation for removing tags from a resource. - */ - untagResource(params: CloudDirectory.Types.UntagResourceRequest, callback?: (err: AWSError, data: CloudDirectory.Types.UntagResourceResponse) => void): Request; - /** - * An API operation for removing tags from a resource. - */ - untagResource(callback?: (err: AWSError, data: CloudDirectory.Types.UntagResourceResponse) => void): Request; - /** - * Does the following: Adds new Attributes, Rules, or ObjectTypes. Updates existing Attributes, Rules, or ObjectTypes. Deletes existing Attributes, Rules, or ObjectTypes. - */ - updateFacet(params: CloudDirectory.Types.UpdateFacetRequest, callback?: (err: AWSError, data: CloudDirectory.Types.UpdateFacetResponse) => void): Request; - /** - * Does the following: Adds new Attributes, Rules, or ObjectTypes. Updates existing Attributes, Rules, or ObjectTypes. Deletes existing Attributes, Rules, or ObjectTypes. - */ - updateFacet(callback?: (err: AWSError, data: CloudDirectory.Types.UpdateFacetResponse) => void): Request; - /** - * Updates a given object's attributes. - */ - updateObjectAttributes(params: CloudDirectory.Types.UpdateObjectAttributesRequest, callback?: (err: AWSError, data: CloudDirectory.Types.UpdateObjectAttributesResponse) => void): Request; - /** - * Updates a given object's attributes. - */ - updateObjectAttributes(callback?: (err: AWSError, data: CloudDirectory.Types.UpdateObjectAttributesResponse) => void): Request; - /** - * Updates the schema name with a new name. Only development schema names can be updated. - */ - updateSchema(params: CloudDirectory.Types.UpdateSchemaRequest, callback?: (err: AWSError, data: CloudDirectory.Types.UpdateSchemaResponse) => void): Request; - /** - * Updates the schema name with a new name. Only development schema names can be updated. - */ - updateSchema(callback?: (err: AWSError, data: CloudDirectory.Types.UpdateSchemaResponse) => void): Request; - /** - * Updates a TypedLinkFacet. For more information, see Typed link. - */ - updateTypedLinkFacet(params: CloudDirectory.Types.UpdateTypedLinkFacetRequest, callback?: (err: AWSError, data: CloudDirectory.Types.UpdateTypedLinkFacetResponse) => void): Request; - /** - * Updates a TypedLinkFacet. For more information, see Typed link. - */ - updateTypedLinkFacet(callback?: (err: AWSError, data: CloudDirectory.Types.UpdateTypedLinkFacetResponse) => void): Request; -} -declare namespace CloudDirectory { - export interface AddFacetToObjectRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * Identifiers for the facet that you are adding to the object. - */ - SchemaFacet: SchemaFacet; - /** - * Attributes on the facet that you are adding to the object. - */ - ObjectAttributeList?: AttributeKeyAndValueList; - /** - * A reference to the object you are adding the specified facet to. - */ - ObjectReference: ObjectReference; - } - export interface AddFacetToObjectResponse { - } - export interface ApplySchemaRequest { - /** - * Published schema Amazon Resource Name (ARN) that needs to be copied. For more information, see arns. - */ - PublishedSchemaArn: Arn; - /** - * The Amazon Resource Name (ARN) that is associated with the Directory into which the schema is copied. For more information, see arns. - */ - DirectoryArn: Arn; - } - export interface ApplySchemaResponse { - /** - * The applied schema ARN that is associated with the copied schema in the Directory. You can use this ARN to describe the schema information applied on this directory. For more information, see arns. - */ - AppliedSchemaArn?: Arn; - /** - * The ARN that is associated with the Directory. For more information, see arns. - */ - DirectoryArn?: Arn; - } - export type Arn = string; - export type Arns = Arn[]; - export interface AttachObjectRequest { - /** - * Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * The parent object reference. - */ - ParentReference: ObjectReference; - /** - * The child object reference to be attached to the object. - */ - ChildReference: ObjectReference; - /** - * The link name with which the child object is attached to the parent. - */ - LinkName: LinkName; - } - export interface AttachObjectResponse { - /** - * The attached ObjectIdentifier, which is the child ObjectIdentifier. - */ - AttachedObjectIdentifier?: ObjectIdentifier; - } - export interface AttachPolicyRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns. - */ - DirectoryArn?: Arn; - /** - * The reference that is associated with the policy object. - */ - PolicyReference: ObjectReference; - /** - * The reference that identifies the object to which the policy will be attached. - */ - ObjectReference: ObjectReference; - } - export interface AttachPolicyResponse { - } - export interface AttachToIndexRequest { - /** - * The Amazon Resource Name (ARN) of the directory where the object and index exist. - */ - DirectoryArn: Arn; - /** - * A reference to the index that you are attaching the object to. - */ - IndexReference: ObjectReference; - /** - * A reference to the object that you are attaching to the index. - */ - TargetReference: ObjectReference; - } - export interface AttachToIndexResponse { - /** - * The ObjectIdentifier of the object that was attached to the index. - */ - AttachedObjectIdentifier?: ObjectIdentifier; - } - export interface AttachTypedLinkRequest { - /** - * The Amazon Resource Name (ARN) of the directory where you want to attach the typed link. - */ - DirectoryArn: Arn; - /** - * Identifies the source object that the typed link will attach to. - */ - SourceObjectReference: ObjectReference; - /** - * Identifies the target object that the typed link will attach to. - */ - TargetObjectReference: ObjectReference; - /** - * Identifies the typed link facet that is associated with the typed link. - */ - TypedLinkFacet: TypedLinkSchemaAndFacetName; - /** - * A set of attributes that are associated with the typed link. - */ - Attributes: AttributeNameAndValueList; - } - export interface AttachTypedLinkResponse { - /** - * Returns a typed link specifier as output. - */ - TypedLinkSpecifier?: TypedLinkSpecifier; - } - export interface AttributeKey { - /** - * The Amazon Resource Name (ARN) of the schema that contains the facet and attribute. - */ - SchemaArn: Arn; - /** - * The name of the facet that the attribute exists within. - */ - FacetName: FacetName; - /** - * The name of the attribute. - */ - Name: AttributeName; - } - export interface AttributeKeyAndValue { - /** - * The key of the attribute. - */ - Key: AttributeKey; - /** - * The value of the attribute. - */ - Value: TypedAttributeValue; - } - export type AttributeKeyAndValueList = AttributeKeyAndValue[]; - export type AttributeKeyList = AttributeKey[]; - export type AttributeName = string; - export interface AttributeNameAndValue { - /** - * The attribute name of the typed link. - */ - AttributeName: AttributeName; - /** - * The value for the typed link. - */ - Value: TypedAttributeValue; - } - export type AttributeNameAndValueList = AttributeNameAndValue[]; - export type AttributeNameList = AttributeName[]; - export interface BatchAddFacetToObject { - /** - * Represents the facet being added to the object. - */ - SchemaFacet: SchemaFacet; - /** - * The attributes to set on the object. - */ - ObjectAttributeList: AttributeKeyAndValueList; - /** - * A reference to the object being mutated. - */ - ObjectReference: ObjectReference; - } - export interface BatchAddFacetToObjectResponse { - } - export interface BatchAttachObject { - /** - * The parent object reference. - */ - ParentReference: ObjectReference; - /** - * The child object reference that is to be attached to the object. - */ - ChildReference: ObjectReference; - /** - * The name of the link. - */ - LinkName: LinkName; - } - export interface BatchAttachObjectResponse { - /** - * The ObjectIdentifier of the object that has been attached. - */ - attachedObjectIdentifier?: ObjectIdentifier; - } - export interface BatchCreateObject { - /** - * A list of FacetArns that will be associated with the object. For more information, see arns. - */ - SchemaFacet: SchemaFacetList; - /** - * An attribute map, which contains an attribute ARN as the key and attribute value as the map value. - */ - ObjectAttributeList: AttributeKeyAndValueList; - /** - * If specified, the parent reference to which this object will be attached. - */ - ParentReference: ObjectReference; - /** - * The name of the link. - */ - LinkName: LinkName; - /** - * The batch reference name. See Batches for more information. - */ - BatchReferenceName: BatchReferenceName; - } - export interface BatchCreateObjectResponse { - /** - * The ID that is associated with the object. - */ - ObjectIdentifier?: ObjectIdentifier; - } - export interface BatchDeleteObject { - /** - * The reference that identifies the object. - */ - ObjectReference: ObjectReference; - } - export interface BatchDeleteObjectResponse { - } - export interface BatchDetachObject { - /** - * Parent reference from which the object with the specified link name is detached. - */ - ParentReference: ObjectReference; - /** - * The name of the link. - */ - LinkName: LinkName; - /** - * The batch reference name. See Batches for more information. - */ - BatchReferenceName: BatchReferenceName; - } - export interface BatchDetachObjectResponse { - /** - * The ObjectIdentifier of the detached object. - */ - detachedObjectIdentifier?: ObjectIdentifier; - } - export interface BatchListObjectAttributes { - /** - * Reference of the object whose attributes need to be listed. - */ - ObjectReference: ObjectReference; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of items to be retrieved in a single call. This is an approximate number. - */ - MaxResults?: NumberResults; - /** - * Used to filter the list of object attributes that are associated with a certain facet. - */ - FacetFilter?: SchemaFacet; - } - export interface BatchListObjectAttributesResponse { - /** - * The attributes map that is associated with the object. AttributeArn is the key; attribute value is the value. - */ - Attributes?: AttributeKeyAndValueList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface BatchListObjectChildren { - /** - * Reference of the object for which child objects are being listed. - */ - ObjectReference: ObjectReference; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * Maximum number of items to be retrieved in a single call. This is an approximate number. - */ - MaxResults?: NumberResults; - } - export interface BatchListObjectChildrenResponse { - /** - * The children structure, which is a map with the key as the LinkName and ObjectIdentifier as the value. - */ - Children?: LinkNameToObjectIdentifierMap; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export type BatchOperationIndex = number; - export interface BatchReadException { - /** - * A type of exception, such as InvalidArnException. - */ - Type?: BatchReadExceptionType; - /** - * An exception message that is associated with the failure. - */ - Message?: ExceptionMessage; - } - export type BatchReadExceptionType = "ValidationException"|"InvalidArnException"|"ResourceNotFoundException"|"InvalidNextTokenException"|"AccessDeniedException"|"NotNodeException"|string; - export interface BatchReadOperation { - /** - * Lists all attributes that are associated with an object. - */ - ListObjectAttributes?: BatchListObjectAttributes; - /** - * Returns a paginated list of child objects that are associated with a given object. - */ - ListObjectChildren?: BatchListObjectChildren; - } - export type BatchReadOperationList = BatchReadOperation[]; - export interface BatchReadOperationResponse { - /** - * Identifies which operation in a batch has succeeded. - */ - SuccessfulResponse?: BatchReadSuccessfulResponse; - /** - * Identifies which operation in a batch has failed. - */ - ExceptionResponse?: BatchReadException; - } - export type BatchReadOperationResponseList = BatchReadOperationResponse[]; - export interface BatchReadRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * A list of operations that are part of the batch. - */ - Operations: BatchReadOperationList; - /** - * Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object. - */ - ConsistencyLevel?: ConsistencyLevel; - } - export interface BatchReadResponse { - /** - * A list of all the responses for each batch read. - */ - Responses?: BatchReadOperationResponseList; - } - export interface BatchReadSuccessfulResponse { - /** - * Lists all attributes that are associated with an object. - */ - ListObjectAttributes?: BatchListObjectAttributesResponse; - /** - * Returns a paginated list of child objects that are associated with a given object. - */ - ListObjectChildren?: BatchListObjectChildrenResponse; - } - export type BatchReferenceName = string; - export interface BatchRemoveFacetFromObject { - /** - * The facet to remove from the object. - */ - SchemaFacet: SchemaFacet; - /** - * A reference to the object whose facet will be removed. - */ - ObjectReference: ObjectReference; - } - export interface BatchRemoveFacetFromObjectResponse { - } - export interface BatchUpdateObjectAttributes { - /** - * Reference that identifies the object. - */ - ObjectReference: ObjectReference; - /** - * Attributes update structure. - */ - AttributeUpdates: ObjectAttributeUpdateList; - } - export interface BatchUpdateObjectAttributesResponse { - /** - * ID that is associated with the object. - */ - ObjectIdentifier?: ObjectIdentifier; - } - export type BatchWriteExceptionType = "InternalServiceException"|"ValidationException"|"InvalidArnException"|"LinkNameAlreadyInUseException"|"StillContainsLinksException"|"FacetValidationException"|"ObjectNotDetachedException"|"ResourceNotFoundException"|"AccessDeniedException"|string; - export interface BatchWriteOperation { - /** - * Creates an object. - */ - CreateObject?: BatchCreateObject; - /** - * Attaches an object to a Directory. - */ - AttachObject?: BatchAttachObject; - /** - * Detaches an object from a Directory. - */ - DetachObject?: BatchDetachObject; - /** - * Updates a given object's attributes. - */ - UpdateObjectAttributes?: BatchUpdateObjectAttributes; - /** - * Deletes an object in a Directory. - */ - DeleteObject?: BatchDeleteObject; - /** - * A batch operation that adds a facet to an object. - */ - AddFacetToObject?: BatchAddFacetToObject; - /** - * A batch operation that removes a facet from an object. - */ - RemoveFacetFromObject?: BatchRemoveFacetFromObject; - } - export type BatchWriteOperationList = BatchWriteOperation[]; - export interface BatchWriteOperationResponse { - /** - * Creates an object in a Directory. - */ - CreateObject?: BatchCreateObjectResponse; - /** - * Attaches an object to a Directory. - */ - AttachObject?: BatchAttachObjectResponse; - /** - * Detaches an object from a Directory. - */ - DetachObject?: BatchDetachObjectResponse; - /** - * Updates a given object’s attributes. - */ - UpdateObjectAttributes?: BatchUpdateObjectAttributesResponse; - /** - * Deletes an object in a Directory. - */ - DeleteObject?: BatchDeleteObjectResponse; - /** - * The result of an add facet to object batch operation. - */ - AddFacetToObject?: BatchAddFacetToObjectResponse; - /** - * The result of a batch remove facet from object operation. - */ - RemoveFacetFromObject?: BatchRemoveFacetFromObjectResponse; - } - export type BatchWriteOperationResponseList = BatchWriteOperationResponse[]; - export interface BatchWriteRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * A list of operations that are part of the batch. - */ - Operations: BatchWriteOperationList; - } - export interface BatchWriteResponse { - /** - * A list of all the responses for each batch write. - */ - Responses?: BatchWriteOperationResponseList; - } - export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; - export type Bool = boolean; - export type BooleanAttributeValue = boolean; - export type ConsistencyLevel = "SERIALIZABLE"|"EVENTUAL"|string; - export interface CreateDirectoryRequest { - /** - * The name of the Directory. Should be unique per account, per region. - */ - Name: DirectoryName; - /** - * The Amazon Resource Name (ARN) of the published schema that will be copied into the data Directory. For more information, see arns. - */ - SchemaArn: Arn; - } - export interface CreateDirectoryResponse { - /** - * The ARN that is associated with the Directory. For more information, see arns. - */ - DirectoryArn: DirectoryArn; - /** - * The name of the Directory. - */ - Name: DirectoryName; - /** - * The root object node of the created directory. - */ - ObjectIdentifier: ObjectIdentifier; - /** - * The ARN of the published schema in the Directory. Once a published schema is copied into the directory, it has its own ARN, which is referred to applied schema ARN. For more information, see arns. - */ - AppliedSchemaArn: Arn; - } - export interface CreateFacetRequest { - /** - * The schema ARN in which the new Facet will be created. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The name of the Facet, which is unique for a given schema. - */ - Name: FacetName; - /** - * The attributes that are associated with the Facet. - */ - Attributes?: FacetAttributeList; - /** - * Specifies whether a given object created from this facet is of type node, leaf node, policy or index. Node: Can have multiple children but one parent. Leaf node: Cannot have children but can have multiple parents. Policy: Allows you to store a policy document and policy type. For more information, see Policies. Index: Can be created with the Index API. - */ - ObjectType: ObjectType; - } - export interface CreateFacetResponse { - } - export interface CreateIndexRequest { - /** - * The ARN of the directory where the index should be created. - */ - DirectoryArn: Arn; - /** - * Specifies the attributes that should be indexed on. Currently only a single attribute is supported. - */ - OrderedIndexedAttributeList: AttributeKeyList; - /** - * Indicates whether the attribute that is being indexed has unique values or not. - */ - IsUnique: Bool; - /** - * A reference to the parent object that contains the index object. - */ - ParentReference?: ObjectReference; - /** - * The name of the link between the parent object and the index object. - */ - LinkName?: LinkName; - } - export interface CreateIndexResponse { - /** - * The ObjectIdentifier of the index created by this operation. - */ - ObjectIdentifier?: ObjectIdentifier; - } - export interface CreateObjectRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * A list of schema facets to be associated with the object that contains SchemaArn and facet name. For more information, see arns. - */ - SchemaFacets: SchemaFacetList; - /** - * The attribute map whose attribute ARN contains the key and attribute value as the map value. - */ - ObjectAttributeList?: AttributeKeyAndValueList; - /** - * If specified, the parent reference to which this object will be attached. - */ - ParentReference?: ObjectReference; - /** - * The name of link that is used to attach this object to a parent. - */ - LinkName?: LinkName; - } - export interface CreateObjectResponse { - /** - * The identifier that is associated with the object. - */ - ObjectIdentifier?: ObjectIdentifier; - } - export interface CreateSchemaRequest { - /** - * The name that is associated with the schema. This is unique to each account and in each region. - */ - Name: SchemaName; - } - export interface CreateSchemaResponse { - /** - * The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns. - */ - SchemaArn?: Arn; - } - export interface CreateTypedLinkFacetRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns. - */ - SchemaArn: Arn; - /** - * Facet structure that is associated with the typed link facet. - */ - Facet: TypedLinkFacet; - } - export interface CreateTypedLinkFacetResponse { - } - export type _Date = Date; - export type DatetimeAttributeValue = Date; - export interface DeleteDirectoryRequest { - /** - * The ARN of the directory to delete. - */ - DirectoryArn: Arn; - } - export interface DeleteDirectoryResponse { - /** - * The ARN of the deleted directory. - */ - DirectoryArn: Arn; - } - export interface DeleteFacetRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The name of the facet to delete. - */ - Name: FacetName; - } - export interface DeleteFacetResponse { - } - export interface DeleteObjectRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * A reference that identifies the object. - */ - ObjectReference: ObjectReference; - } - export interface DeleteObjectResponse { - } - export interface DeleteSchemaRequest { - /** - * The Amazon Resource Name (ARN) of the development schema. For more information, see arns. - */ - SchemaArn: Arn; - } - export interface DeleteSchemaResponse { - /** - * The input ARN that is returned as part of the response. For more information, see arns. - */ - SchemaArn?: Arn; - } - export interface DeleteTypedLinkFacetRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The unique name of the typed link facet. - */ - Name: TypedLinkName; - } - export interface DeleteTypedLinkFacetResponse { - } - export interface DetachFromIndexRequest { - /** - * The Amazon Resource Name (ARN) of the directory the index and object exist in. - */ - DirectoryArn: Arn; - /** - * A reference to the index object. - */ - IndexReference: ObjectReference; - /** - * A reference to the object being detached from the index. - */ - TargetReference: ObjectReference; - } - export interface DetachFromIndexResponse { - /** - * The ObjectIdentifier of the object that was detached from the index. - */ - DetachedObjectIdentifier?: ObjectIdentifier; - } - export interface DetachObjectRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where objects reside. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * The parent reference from which the object with the specified link name is detached. - */ - ParentReference: ObjectReference; - /** - * The link name associated with the object that needs to be detached. - */ - LinkName: LinkName; - } - export interface DetachObjectResponse { - /** - * The ObjectIdentifier that was detached from the object. - */ - DetachedObjectIdentifier?: ObjectIdentifier; - } - export interface DetachPolicyRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * Reference that identifies the policy object. - */ - PolicyReference: ObjectReference; - /** - * Reference that identifies the object whose policy object will be detached. - */ - ObjectReference: ObjectReference; - } - export interface DetachPolicyResponse { - } - export interface DetachTypedLinkRequest { - /** - * The Amazon Resource Name (ARN) of the directory where you want to detach the typed link. - */ - DirectoryArn: Arn; - /** - * Used to accept a typed link specifier as input. - */ - TypedLinkSpecifier: TypedLinkSpecifier; - } - export interface Directory { - /** - * The name of the directory. - */ - Name?: DirectoryName; - /** - * The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns. - */ - DirectoryArn?: DirectoryArn; - /** - * The state of the directory. Can be either Enabled, Disabled, or Deleted. - */ - State?: DirectoryState; - /** - * The date and time when the directory was created. - */ - CreationDateTime?: _Date; - } - export type DirectoryArn = string; - export type DirectoryList = Directory[]; - export type DirectoryName = string; - export type DirectoryState = "ENABLED"|"DISABLED"|"DELETED"|string; - export interface DisableDirectoryRequest { - /** - * The ARN of the directory to disable. - */ - DirectoryArn: Arn; - } - export interface DisableDirectoryResponse { - /** - * The ARN of the directory that has been disabled. - */ - DirectoryArn: Arn; - } - export interface EnableDirectoryRequest { - /** - * The ARN of the directory to enable. - */ - DirectoryArn: Arn; - } - export interface EnableDirectoryResponse { - /** - * The ARN of the enabled directory. - */ - DirectoryArn: Arn; - } - export type ExceptionMessage = string; - export interface Facet { - /** - * The name of the Facet. - */ - Name?: FacetName; - /** - * The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details. - */ - ObjectType?: ObjectType; - } - export interface FacetAttribute { - /** - * The name of the facet attribute. - */ - Name: AttributeName; - /** - * A facet attribute consists of either a definition or a reference. This structure contains the attribute definition. See Attribute References for more information. - */ - AttributeDefinition?: FacetAttributeDefinition; - /** - * An attribute reference that is associated with the attribute. See Attribute References for more information. - */ - AttributeReference?: FacetAttributeReference; - /** - * The required behavior of the FacetAttribute. - */ - RequiredBehavior?: RequiredAttributeBehavior; - } - export interface FacetAttributeDefinition { - /** - * The type of the attribute. - */ - Type: FacetAttributeType; - /** - * The default value of the attribute (if configured). - */ - DefaultValue?: TypedAttributeValue; - /** - * Whether the attribute is mutable or not. - */ - IsImmutable?: Bool; - /** - * Validation rules attached to the attribute definition. - */ - Rules?: RuleMap; - } - export type FacetAttributeList = FacetAttribute[]; - export interface FacetAttributeReference { - /** - * The target facet name that is associated with the facet reference. See Attribute References for more information. - */ - TargetFacetName: FacetName; - /** - * The target attribute name that is associated with the facet reference. See Attribute References for more information. - */ - TargetAttributeName: AttributeName; - } - export type FacetAttributeType = "STRING"|"BINARY"|"BOOLEAN"|"NUMBER"|"DATETIME"|string; - export interface FacetAttributeUpdate { - /** - * The attribute to update. - */ - Attribute?: FacetAttribute; - /** - * The action to perform when updating the attribute. - */ - Action?: UpdateActionType; - } - export type FacetAttributeUpdateList = FacetAttributeUpdate[]; - export type FacetName = string; - export type FacetNameList = FacetName[]; - export interface GetDirectoryRequest { - /** - * The ARN of the directory. - */ - DirectoryArn: DirectoryArn; - } - export interface GetDirectoryResponse { - /** - * Metadata about the directory. - */ - Directory: Directory; - } - export interface GetFacetRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The name of the facet to retrieve. - */ - Name: FacetName; - } - export interface GetFacetResponse { - /** - * The Facet structure that is associated with the facet. - */ - Facet?: Facet; - } - export interface GetObjectInformationRequest { - /** - * The ARN of the directory being retrieved. - */ - DirectoryArn: Arn; - /** - * A reference to the object. - */ - ObjectReference: ObjectReference; - /** - * The consistency level at which to retrieve the object information. - */ - ConsistencyLevel?: ConsistencyLevel; - } - export interface GetObjectInformationResponse { - /** - * The facets attached to the specified object. - */ - SchemaFacets?: SchemaFacetList; - /** - * The ObjectIdentifier of the specified object. - */ - ObjectIdentifier?: ObjectIdentifier; - } - export interface GetSchemaAsJsonRequest { - /** - * The ARN of the schema to retrieve. - */ - SchemaArn: Arn; - } - export interface GetSchemaAsJsonResponse { - /** - * The name of the retrieved schema. - */ - Name?: SchemaName; - /** - * The JSON representation of the schema document. - */ - Document?: SchemaJsonDocument; - } - export interface GetTypedLinkFacetInformationRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The unique name of the typed link facet. - */ - Name: TypedLinkName; - } - export interface GetTypedLinkFacetInformationResponse { - /** - * The order of identity attributes for the facet, from most significant to least significant. The ability to filter typed links considers the order that the attributes are defined on the typed link facet. When providing ranges to typed link selection, any inexact ranges must be specified at the end. Any attributes that do not have a range specified are presumed to match the entire range. Filters are interpreted in the order of the attributes on the typed link facet, not the order in which they are supplied to any API calls. For more information about identity attributes, see Typed link. - */ - IdentityAttributeOrder?: AttributeNameList; - } - export interface IndexAttachment { - /** - * The indexed attribute values. - */ - IndexedAttributes?: AttributeKeyAndValueList; - /** - * The ObjectIdentifier of the object attached to the index. - */ - ObjectIdentifier?: ObjectIdentifier; - } - export type IndexAttachmentList = IndexAttachment[]; - export type LinkName = string; - export type LinkNameToObjectIdentifierMap = {[key: string]: ObjectIdentifier}; - export interface ListAppliedSchemaArnsRequest { - /** - * The ARN of the directory you are listing. - */ - DirectoryArn: Arn; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - } - export interface ListAppliedSchemaArnsResponse { - /** - * The ARNs of schemas that are applied to the directory. - */ - SchemaArns?: Arns; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListAttachedIndicesRequest { - /** - * The ARN of the directory. - */ - DirectoryArn: Arn; - /** - * A reference to the object to that has indices attached. - */ - TargetReference: ObjectReference; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - /** - * The consistency level to use for this operation. - */ - ConsistencyLevel?: ConsistencyLevel; - } - export interface ListAttachedIndicesResponse { - /** - * The indices attached to the specified object. - */ - IndexAttachments?: IndexAttachmentList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListDevelopmentSchemaArnsRequest { - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - } - export interface ListDevelopmentSchemaArnsResponse { - /** - * The ARNs of retrieved development schemas. - */ - SchemaArns?: Arns; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListDirectoriesRequest { - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - /** - * The state of the directories in the list. Can be either Enabled, Disabled, or Deleted. - */ - state?: DirectoryState; - } - export interface ListDirectoriesResponse { - /** - * Lists all directories that are associated with your account in pagination fashion. - */ - Directories: DirectoryList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListFacetAttributesRequest { - /** - * The ARN of the schema where the facet resides. - */ - SchemaArn: Arn; - /** - * The name of the facet whose attributes will be retrieved. - */ - Name: FacetName; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - } - export interface ListFacetAttributesResponse { - /** - * The attributes attached to the facet. - */ - Attributes?: FacetAttributeList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListFacetNamesRequest { - /** - * The Amazon Resource Name (ARN) to retrieve facet names from. - */ - SchemaArn: Arn; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - } - export interface ListFacetNamesResponse { - /** - * The names of facets that exist within the schema. - */ - FacetNames?: FacetNameList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListIncomingTypedLinksRequest { - /** - * The Amazon Resource Name (ARN) of the directory where you want to list the typed links. - */ - DirectoryArn: Arn; - /** - * Reference that identifies the object whose attributes will be listed. - */ - ObjectReference: ObjectReference; - /** - * Provides range filters for multiple attributes. When providing ranges to typed link selection, any inexact ranges must be specified at the end. Any attributes that do not have a range specified are presumed to match the entire range. - */ - FilterAttributeRanges?: TypedLinkAttributeRangeList; - /** - * Filters are interpreted in the order of the attributes on the typed link facet, not the order in which they are supplied to any API calls. - */ - FilterTypedLink?: TypedLinkSchemaAndFacetName; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - /** - * The consistency level to execute the request at. - */ - ConsistencyLevel?: ConsistencyLevel; - } - export interface ListIncomingTypedLinksResponse { - /** - * Returns one or more typed link specifiers as output. - */ - LinkSpecifiers?: TypedLinkSpecifierList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListIndexRequest { - /** - * The ARN of the directory that the index exists in. - */ - DirectoryArn: Arn; - /** - * Specifies the ranges of indexed values that you want to query. - */ - RangesOnIndexedValues?: ObjectAttributeRangeList; - /** - * The reference to the index to list. - */ - IndexReference: ObjectReference; - /** - * The maximum number of results to retrieve from the index. - */ - MaxResults?: NumberResults; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The consistency level to execute the request at. - */ - ConsistencyLevel?: ConsistencyLevel; - } - export interface ListIndexResponse { - /** - * The objects and indexed values attached to the index. - */ - IndexAttachments?: IndexAttachmentList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListObjectAttributesRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * The reference that identifies the object whose attributes will be listed. - */ - ObjectReference: ObjectReference; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of items to be retrieved in a single call. This is an approximate number. - */ - MaxResults?: NumberResults; - /** - * Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object. - */ - ConsistencyLevel?: ConsistencyLevel; - /** - * Used to filter the list of object attributes that are associated with a certain facet. - */ - FacetFilter?: SchemaFacet; - } - export interface ListObjectAttributesResponse { - /** - * Attributes map that is associated with the object. AttributeArn is the key, and attribute value is the value. - */ - Attributes?: AttributeKeyAndValueList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListObjectChildrenRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * The reference that identifies the object for which child objects are being listed. - */ - ObjectReference: ObjectReference; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of items to be retrieved in a single call. This is an approximate number. - */ - MaxResults?: NumberResults; - /** - * Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object. - */ - ConsistencyLevel?: ConsistencyLevel; - } - export interface ListObjectChildrenResponse { - /** - * Children structure, which is a map with key as the LinkName and ObjectIdentifier as the value. - */ - Children?: LinkNameToObjectIdentifierMap; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListObjectParentPathsRequest { - /** - * The ARN of the directory to which the parent path applies. - */ - DirectoryArn: Arn; - /** - * The reference that identifies the object whose parent paths are listed. - */ - ObjectReference: ObjectReference; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of items to be retrieved in a single call. This is an approximate number. - */ - MaxResults?: NumberResults; - } - export interface ListObjectParentPathsResponse { - /** - * Returns the path to the ObjectIdentifiers that are associated with the directory. - */ - PathToObjectIdentifiersList?: PathToObjectIdentifiersList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListObjectParentsRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * The reference that identifies the object for which parent objects are being listed. - */ - ObjectReference: ObjectReference; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of items to be retrieved in a single call. This is an approximate number. - */ - MaxResults?: NumberResults; - /** - * Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object. - */ - ConsistencyLevel?: ConsistencyLevel; - } - export interface ListObjectParentsResponse { - /** - * The parent structure, which is a map with key as the ObjectIdentifier and LinkName as the value. - */ - Parents?: ObjectIdentifierToLinkNameMap; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListObjectPoliciesRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where objects reside. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * Reference that identifies the object for which policies will be listed. - */ - ObjectReference: ObjectReference; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of items to be retrieved in a single call. This is an approximate number. - */ - MaxResults?: NumberResults; - /** - * Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object. - */ - ConsistencyLevel?: ConsistencyLevel; - } - export interface ListObjectPoliciesResponse { - /** - * A list of policy ObjectIdentifiers, that are attached to the object. - */ - AttachedPolicyIds?: ObjectIdentifierList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListOutgoingTypedLinksRequest { - /** - * The Amazon Resource Name (ARN) of the directory where you want to list the typed links. - */ - DirectoryArn: Arn; - /** - * A reference that identifies the object whose attributes will be listed. - */ - ObjectReference: ObjectReference; - /** - * Provides range filters for multiple attributes. When providing ranges to typed link selection, any inexact ranges must be specified at the end. Any attributes that do not have a range specified are presumed to match the entire range. - */ - FilterAttributeRanges?: TypedLinkAttributeRangeList; - /** - * Filters are interpreted in the order of the attributes defined on the typed link facet, not the order they are supplied to any API calls. - */ - FilterTypedLink?: TypedLinkSchemaAndFacetName; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - /** - * The consistency level to execute the request at. - */ - ConsistencyLevel?: ConsistencyLevel; - } - export interface ListOutgoingTypedLinksResponse { - /** - * Returns a typed link specifier as output. - */ - TypedLinkSpecifiers?: TypedLinkSpecifierList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListPolicyAttachmentsRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where objects reside. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * The reference that identifies the policy object. - */ - PolicyReference: ObjectReference; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of items to be retrieved in a single call. This is an approximate number. - */ - MaxResults?: NumberResults; - /** - * Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object. - */ - ConsistencyLevel?: ConsistencyLevel; - } - export interface ListPolicyAttachmentsResponse { - /** - * A list of ObjectIdentifiers to which the policy is attached. - */ - ObjectIdentifiers?: ObjectIdentifierList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListPublishedSchemaArnsRequest { - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - } - export interface ListPublishedSchemaArnsResponse { - /** - * The ARNs of published schemas. - */ - SchemaArns?: Arns; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListTagsForResourceRequest { - /** - * The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories. - */ - ResourceArn: Arn; - /** - * The pagination token. This is for future use. Currently pagination is not supported for tagging. - */ - NextToken?: NextToken; - /** - * The MaxResults parameter sets the maximum number of results returned in a single page. This is for future use and is not supported currently. - */ - MaxResults?: TagsNumberResults; - } - export interface ListTagsForResourceResponse { - /** - * A list of tag key value pairs that are associated with the response. - */ - Tags?: TagList; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: NextToken; - } - export interface ListTypedLinkFacetAttributesRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The unique name of the typed link facet. - */ - Name: TypedLinkName; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - } - export interface ListTypedLinkFacetAttributesResponse { - /** - * An ordered set of attributes associate with the typed link. - */ - Attributes?: TypedLinkAttributeDefinitionList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface ListTypedLinkFacetNamesRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The pagination token. - */ - NextToken?: NextToken; - /** - * The maximum number of results to retrieve. - */ - MaxResults?: NumberResults; - } - export interface ListTypedLinkFacetNamesResponse { - /** - * The names of typed link facets that exist within the schema. - */ - FacetNames?: TypedLinkNameList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export interface LookupPolicyRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * Reference that identifies the object whose policies will be looked up. - */ - ObjectReference: ObjectReference; - /** - * The token to request the next page of results. - */ - NextToken?: NextToken; - /** - * The maximum number of items to be retrieved in a single call. This is an approximate number. - */ - MaxResults?: NumberResults; - } - export interface LookupPolicyResponse { - /** - * Provides list of path to policies. Policies contain PolicyId, ObjectIdentifier, and PolicyType. For more information, see Policies. - */ - PolicyToPathList?: PolicyToPathList; - /** - * The pagination token. - */ - NextToken?: NextToken; - } - export type NextToken = string; - export type NumberAttributeValue = string; - export type NumberResults = number; - export interface ObjectAttributeAction { - /** - * A type that can be either Update or Delete. - */ - ObjectAttributeActionType?: UpdateActionType; - /** - * The value that you want to update to. - */ - ObjectAttributeUpdateValue?: TypedAttributeValue; - } - export interface ObjectAttributeRange { - /** - * The key of the attribute that the attribute range covers. - */ - AttributeKey?: AttributeKey; - /** - * The range of attribute values being selected. - */ - Range?: TypedAttributeValueRange; - } - export type ObjectAttributeRangeList = ObjectAttributeRange[]; - export interface ObjectAttributeUpdate { - /** - * The key of the attribute being updated. - */ - ObjectAttributeKey?: AttributeKey; - /** - * The action to perform as part of the attribute update. - */ - ObjectAttributeAction?: ObjectAttributeAction; - } - export type ObjectAttributeUpdateList = ObjectAttributeUpdate[]; - export type ObjectIdentifier = string; - export type ObjectIdentifierList = ObjectIdentifier[]; - export type ObjectIdentifierToLinkNameMap = {[key: string]: LinkName}; - export interface ObjectReference { - /** - * A path selector supports easy selection of an object by the parent/child links leading to it from the directory root. Use the link names from each parent/child link to construct the path. Path selectors start with a slash (/) and link names are separated by slashes. For more information about paths, see Accessing Objects. You can identify an object in one of the following ways: $ObjectIdentifier - An object identifier is an opaque string provided by Amazon Cloud Directory. When creating objects, the system will provide you with the identifier of the created object. An object’s identifier is immutable and no two objects will ever share the same object identifier /some/path - Identifies the object based on path #SomeBatchReference - Identifies the object in a batch call - */ - Selector?: SelectorObjectReference; - } - export type ObjectType = "NODE"|"LEAF_NODE"|"POLICY"|"INDEX"|string; - export type PathString = string; - export interface PathToObjectIdentifiers { - /** - * The path that is used to identify the object starting from directory root. - */ - Path?: PathString; - /** - * Lists ObjectIdentifiers starting from directory root to the object in the request. - */ - ObjectIdentifiers?: ObjectIdentifierList; - } - export type PathToObjectIdentifiersList = PathToObjectIdentifiers[]; - export interface PolicyAttachment { - /** - * The ID of PolicyAttachment. - */ - PolicyId?: ObjectIdentifier; - /** - * The ObjectIdentifier that is associated with PolicyAttachment. - */ - ObjectIdentifier?: ObjectIdentifier; - /** - * The type of policy that can be associated with PolicyAttachment. - */ - PolicyType?: PolicyType; - } - export type PolicyAttachmentList = PolicyAttachment[]; - export interface PolicyToPath { - /** - * The path that is referenced from the root. - */ - Path?: PathString; - /** - * List of policy objects. - */ - Policies?: PolicyAttachmentList; - } - export type PolicyToPathList = PolicyToPath[]; - export type PolicyType = string; - export interface PublishSchemaRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns. - */ - DevelopmentSchemaArn: Arn; - /** - * The version under which the schema will be published. - */ - Version: Version; - /** - * The new name under which the schema will be published. If this is not provided, the development schema is considered. - */ - Name?: SchemaName; - } - export interface PublishSchemaResponse { - /** - * The ARN that is associated with the published schema. For more information, see arns. - */ - PublishedSchemaArn?: Arn; - } - export interface PutSchemaFromJsonRequest { - /** - * The ARN of the schema to update. - */ - SchemaArn: Arn; - /** - * The replacement JSON schema. - */ - Document: SchemaJsonDocument; - } - export interface PutSchemaFromJsonResponse { - /** - * The ARN of the schema to update. - */ - Arn?: Arn; - } - export type RangeMode = "FIRST"|"LAST"|"LAST_BEFORE_MISSING_VALUES"|"INCLUSIVE"|"EXCLUSIVE"|string; - export interface RemoveFacetFromObjectRequest { - /** - * The ARN of the directory in which the object resides. - */ - DirectoryArn: Arn; - /** - * The facet to remove. - */ - SchemaFacet: SchemaFacet; - /** - * A reference to the object to remove the facet from. - */ - ObjectReference: ObjectReference; - } - export interface RemoveFacetFromObjectResponse { - } - export type RequiredAttributeBehavior = "REQUIRED_ALWAYS"|"NOT_REQUIRED"|string; - export interface Rule { - /** - * The type of attribute validation rule. - */ - Type?: RuleType; - /** - * The minimum and maximum parameters that are associated with the rule. - */ - Parameters?: RuleParameterMap; - } - export type RuleKey = string; - export type RuleMap = {[key: string]: Rule}; - export type RuleParameterKey = string; - export type RuleParameterMap = {[key: string]: RuleParameterValue}; - export type RuleParameterValue = string; - export type RuleType = "BINARY_LENGTH"|"NUMBER_COMPARISON"|"STRING_FROM_SET"|"STRING_LENGTH"|string; - export interface SchemaFacet { - /** - * The ARN of the schema that contains the facet. - */ - SchemaArn?: Arn; - /** - * The name of the facet. - */ - FacetName?: FacetName; - } - export type SchemaFacetList = SchemaFacet[]; - export type SchemaJsonDocument = string; - export type SchemaName = string; - export type SelectorObjectReference = string; - export type StringAttributeValue = string; - export interface Tag { - /** - * The key that is associated with the tag. - */ - Key?: TagKey; - /** - * The value that is associated with the tag. - */ - Value?: TagValue; - } - export type TagKey = string; - export type TagKeyList = TagKey[]; - export type TagList = Tag[]; - export interface TagResourceRequest { - /** - * The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories. - */ - ResourceArn: Arn; - /** - * A list of tag key-value pairs. - */ - Tags: TagList; - } - export interface TagResourceResponse { - } - export type TagValue = string; - export type TagsNumberResults = number; - export interface TypedAttributeValue { - /** - * A string data value. - */ - StringValue?: StringAttributeValue; - /** - * A binary data value. - */ - BinaryValue?: BinaryAttributeValue; - /** - * A Boolean data value. - */ - BooleanValue?: BooleanAttributeValue; - /** - * A number data value. - */ - NumberValue?: NumberAttributeValue; - /** - * A date and time value. - */ - DatetimeValue?: DatetimeAttributeValue; - } - export interface TypedAttributeValueRange { - /** - * The inclusive or exclusive range start. - */ - StartMode: RangeMode; - /** - * The value to start the range at. - */ - StartValue?: TypedAttributeValue; - /** - * The inclusive or exclusive range end. - */ - EndMode: RangeMode; - /** - * The attribute value to terminate the range at. - */ - EndValue?: TypedAttributeValue; - } - export interface TypedLinkAttributeDefinition { - /** - * The unique name of the typed link attribute. - */ - Name: AttributeName; - /** - * The type of the attribute. - */ - Type: FacetAttributeType; - /** - * The default value of the attribute (if configured). - */ - DefaultValue?: TypedAttributeValue; - /** - * Whether the attribute is mutable or not. - */ - IsImmutable?: Bool; - /** - * Validation rules that are attached to the attribute definition. - */ - Rules?: RuleMap; - /** - * The required behavior of the TypedLinkAttributeDefinition. - */ - RequiredBehavior: RequiredAttributeBehavior; - } - export type TypedLinkAttributeDefinitionList = TypedLinkAttributeDefinition[]; - export interface TypedLinkAttributeRange { - /** - * The unique name of the typed link attribute. - */ - AttributeName?: AttributeName; - /** - * The range of attribute values that are being selected. - */ - Range: TypedAttributeValueRange; - } - export type TypedLinkAttributeRangeList = TypedLinkAttributeRange[]; - export interface TypedLinkFacet { - /** - * The unique name of the typed link facet. - */ - Name: TypedLinkName; - /** - * A set of key-value pairs associated with the typed link. Typed link attributes are used when you have data values that are related to the link itself, and not to one of the two objects being linked. Identity attributes also serve to distinguish the link from others of the same type between the same objects. - */ - Attributes: TypedLinkAttributeDefinitionList; - /** - * The set of attributes that distinguish links made from this facet from each other, in the order of significance. Listing typed links can filter on the values of these attributes. See ListOutgoingTypedLinks and ListIncomingTypeLinks for details. - */ - IdentityAttributeOrder: AttributeNameList; - } - export interface TypedLinkFacetAttributeUpdate { - /** - * The attribute to update. - */ - Attribute: TypedLinkAttributeDefinition; - /** - * The action to perform when updating the attribute. - */ - Action: UpdateActionType; - } - export type TypedLinkFacetAttributeUpdateList = TypedLinkFacetAttributeUpdate[]; - export type TypedLinkName = string; - export type TypedLinkNameList = TypedLinkName[]; - export interface TypedLinkSchemaAndFacetName { - /** - * The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The unique name of the typed link facet. - */ - TypedLinkName: TypedLinkName; - } - export interface TypedLinkSpecifier { - /** - * Identifies the typed link facet that is associated with the typed link. - */ - TypedLinkFacet: TypedLinkSchemaAndFacetName; - /** - * Identifies the source object that the typed link will attach to. - */ - SourceObjectReference: ObjectReference; - /** - * Identifies the target object that the typed link will attach to. - */ - TargetObjectReference: ObjectReference; - /** - * Identifies the attribute value to update. - */ - IdentityAttributeValues: AttributeNameAndValueList; - } - export type TypedLinkSpecifierList = TypedLinkSpecifier[]; - export interface UntagResourceRequest { - /** - * The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories. - */ - ResourceArn: Arn; - /** - * Keys of the tag that need to be removed from the resource. - */ - TagKeys: TagKeyList; - } - export interface UntagResourceResponse { - } - export type UpdateActionType = "CREATE_OR_UPDATE"|"DELETE"|string; - export interface UpdateFacetRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The name of the facet. - */ - Name: FacetName; - /** - * List of attributes that need to be updated in a given schema Facet. Each attribute is followed by AttributeAction, which specifies the type of update operation to perform. - */ - AttributeUpdates?: FacetAttributeUpdateList; - /** - * The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details. - */ - ObjectType?: ObjectType; - } - export interface UpdateFacetResponse { - } - export interface UpdateObjectAttributesRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns. - */ - DirectoryArn: Arn; - /** - * The reference that identifies the object. - */ - ObjectReference: ObjectReference; - /** - * The attributes update structure. - */ - AttributeUpdates: ObjectAttributeUpdateList; - } - export interface UpdateObjectAttributesResponse { - /** - * The ObjectIdentifier of the updated object. - */ - ObjectIdentifier?: ObjectIdentifier; - } - export interface UpdateSchemaRequest { - /** - * The Amazon Resource Name (ARN) of the development schema. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The name of the schema. - */ - Name: SchemaName; - } - export interface UpdateSchemaResponse { - /** - * The ARN that is associated with the updated schema. For more information, see arns. - */ - SchemaArn?: Arn; - } - export interface UpdateTypedLinkFacetRequest { - /** - * The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns. - */ - SchemaArn: Arn; - /** - * The unique name of the typed link facet. - */ - Name: TypedLinkName; - /** - * Attributes update structure. - */ - AttributeUpdates: TypedLinkFacetAttributeUpdateList; - /** - * The order of identity attributes for the facet, from most significant to least significant. The ability to filter typed links considers the order that the attributes are defined on the typed link facet. When providing ranges to a typed link selection, any inexact ranges must be specified at the end. Any attributes that do not have a range specified are presumed to match the entire range. Filters are interpreted in the order of the attributes on the typed link facet, not the order in which they are supplied to any API calls. For more information about identity attributes, see Typed link. - */ - IdentityAttributeOrder: AttributeNameList; - } - export interface UpdateTypedLinkFacetResponse { - } - export type Version = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-05-10"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CloudDirectory client. - */ - export import Types = CloudDirectory; -} -export = CloudDirectory; diff --git a/src/node_modules/aws-sdk/clients/clouddirectory.js b/src/node_modules/aws-sdk/clients/clouddirectory.js deleted file mode 100644 index cd454fc..0000000 --- a/src/node_modules/aws-sdk/clients/clouddirectory.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['clouddirectory'] = {}; -AWS.CloudDirectory = Service.defineService('clouddirectory', ['2016-05-10']); -Object.defineProperty(apiLoader.services['clouddirectory'], '2016-05-10', { - get: function get() { - var model = require('../apis/clouddirectory-2016-05-10.min.json'); - model.paginators = require('../apis/clouddirectory-2016-05-10.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudDirectory; diff --git a/src/node_modules/aws-sdk/clients/cloudformation.d.ts b/src/node_modules/aws-sdk/clients/cloudformation.d.ts deleted file mode 100644 index 9fc3093..0000000 --- a/src/node_modules/aws-sdk/clients/cloudformation.d.ts +++ /dev/null @@ -1,1565 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CloudFormation extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CloudFormation.Types.ClientConfiguration) - config: Config & CloudFormation.Types.ClientConfiguration; - /** - * Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update and reverts to the previous stack configuration. You can cancel only stacks that are in the UPDATE_IN_PROGRESS state. - */ - cancelUpdateStack(params: CloudFormation.Types.CancelUpdateStackInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update and reverts to the previous stack configuration. You can cancel only stacks that are in the UPDATE_IN_PROGRESS state. - */ - cancelUpdateStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * For a specified stack that is in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again. A stack goes into the UPDATE_ROLLBACK_FAILED state when AWS CloudFormation cannot roll back all changes after a failed stack update. For example, you might have a stack that is rolling back to an old database instance that was deleted outside of AWS CloudFormation. Because AWS CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail. - */ - continueUpdateRollback(params: CloudFormation.Types.ContinueUpdateRollbackInput, callback?: (err: AWSError, data: CloudFormation.Types.ContinueUpdateRollbackOutput) => void): Request; - /** - * For a specified stack that is in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again. A stack goes into the UPDATE_ROLLBACK_FAILED state when AWS CloudFormation cannot roll back all changes after a failed stack update. For example, you might have a stack that is rolling back to an old database instance that was deleted outside of AWS CloudFormation. Because AWS CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail. - */ - continueUpdateRollback(callback?: (err: AWSError, data: CloudFormation.Types.ContinueUpdateRollbackOutput) => void): Request; - /** - * Creates a list of changes that will be applied to a stack so that you can review the changes before executing them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for a stack that doesn't exist, the change set shows all of the resources that AWS CloudFormation will create. If you create a change set for an existing stack, AWS CloudFormation compares the stack's information with the information that you submit in the change set and lists the differences. Use change sets to understand which resources AWS CloudFormation will create or change, and how it will change resources in an existing stack, before you create or update a stack. To create a change set for a stack that doesn't exist, for the ChangeSetType parameter, specify CREATE. To create a change set for an existing stack, specify UPDATE for the ChangeSetType parameter. After the CreateChangeSet call successfully completes, AWS CloudFormation starts creating the change set. To check the status of the change set or to review it, use the DescribeChangeSet action. When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. AWS CloudFormation doesn't make changes until you execute the change set. - */ - createChangeSet(params: CloudFormation.Types.CreateChangeSetInput, callback?: (err: AWSError, data: CloudFormation.Types.CreateChangeSetOutput) => void): Request; - /** - * Creates a list of changes that will be applied to a stack so that you can review the changes before executing them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for a stack that doesn't exist, the change set shows all of the resources that AWS CloudFormation will create. If you create a change set for an existing stack, AWS CloudFormation compares the stack's information with the information that you submit in the change set and lists the differences. Use change sets to understand which resources AWS CloudFormation will create or change, and how it will change resources in an existing stack, before you create or update a stack. To create a change set for a stack that doesn't exist, for the ChangeSetType parameter, specify CREATE. To create a change set for an existing stack, specify UPDATE for the ChangeSetType parameter. After the CreateChangeSet call successfully completes, AWS CloudFormation starts creating the change set. To check the status of the change set or to review it, use the DescribeChangeSet action. When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. AWS CloudFormation doesn't make changes until you execute the change set. - */ - createChangeSet(callback?: (err: AWSError, data: CloudFormation.Types.CreateChangeSetOutput) => void): Request; - /** - * Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API. - */ - createStack(params: CloudFormation.Types.CreateStackInput, callback?: (err: AWSError, data: CloudFormation.Types.CreateStackOutput) => void): Request; - /** - * Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API. - */ - createStack(callback?: (err: AWSError, data: CloudFormation.Types.CreateStackOutput) => void): Request; - /** - * Deletes the specified change set. Deleting change sets ensures that no one executes the wrong change set. If the call successfully completes, AWS CloudFormation successfully deleted the change set. - */ - deleteChangeSet(params: CloudFormation.Types.DeleteChangeSetInput, callback?: (err: AWSError, data: CloudFormation.Types.DeleteChangeSetOutput) => void): Request; - /** - * Deletes the specified change set. Deleting change sets ensures that no one executes the wrong change set. If the call successfully completes, AWS CloudFormation successfully deleted the change set. - */ - deleteChangeSet(callback?: (err: AWSError, data: CloudFormation.Types.DeleteChangeSetOutput) => void): Request; - /** - * Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully. - */ - deleteStack(params: CloudFormation.Types.DeleteStackInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully. - */ - deleteStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Retrieves your account's AWS CloudFormation limits, such as the maximum number of stacks that you can create in your account. - */ - describeAccountLimits(params: CloudFormation.Types.DescribeAccountLimitsInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeAccountLimitsOutput) => void): Request; - /** - * Retrieves your account's AWS CloudFormation limits, such as the maximum number of stacks that you can create in your account. - */ - describeAccountLimits(callback?: (err: AWSError, data: CloudFormation.Types.DescribeAccountLimitsOutput) => void): Request; - /** - * Returns the inputs for the change set and a list of changes that AWS CloudFormation will make if you execute the change set. For more information, see Updating Stacks Using Change Sets in the AWS CloudFormation User Guide. - */ - describeChangeSet(params: CloudFormation.Types.DescribeChangeSetInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeChangeSetOutput) => void): Request; - /** - * Returns the inputs for the change set and a list of changes that AWS CloudFormation will make if you execute the change set. For more information, see Updating Stacks Using Change Sets in the AWS CloudFormation User Guide. - */ - describeChangeSet(callback?: (err: AWSError, data: CloudFormation.Types.DescribeChangeSetOutput) => void): Request; - /** - * Returns all stack related events for a specified stack in reverse chronological order. For more information about a stack's event history, go to Stacks in the AWS CloudFormation User Guide. You can list events for stacks that have failed to create or have been deleted by specifying the unique stack identifier (stack ID). - */ - describeStackEvents(params: CloudFormation.Types.DescribeStackEventsInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackEventsOutput) => void): Request; - /** - * Returns all stack related events for a specified stack in reverse chronological order. For more information about a stack's event history, go to Stacks in the AWS CloudFormation User Guide. You can list events for stacks that have failed to create or have been deleted by specifying the unique stack identifier (stack ID). - */ - describeStackEvents(callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackEventsOutput) => void): Request; - /** - * Returns a description of the specified resource in the specified stack. For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted. - */ - describeStackResource(params: CloudFormation.Types.DescribeStackResourceInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackResourceOutput) => void): Request; - /** - * Returns a description of the specified resource in the specified stack. For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted. - */ - describeStackResource(callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackResourceOutput) => void): Request; - /** - * Returns AWS resource descriptions for running and deleted stacks. If StackName is specified, all the associated resources that are part of the stack are returned. If PhysicalResourceId is specified, the associated resources of the stack that the resource belongs to are returned. Only the first 100 resources will be returned. If your stack has more resources than this, you should use ListStackResources instead. For deleted stacks, DescribeStackResources returns resource information for up to 90 days after the stack has been deleted. You must specify either StackName or PhysicalResourceId, but not both. In addition, you can specify LogicalResourceId to filter the returned result. For more information about resources, the LogicalResourceId and PhysicalResourceId, go to the AWS CloudFormation User Guide. A ValidationError is returned if you specify both StackName and PhysicalResourceId in the same request. - */ - describeStackResources(params: CloudFormation.Types.DescribeStackResourcesInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackResourcesOutput) => void): Request; - /** - * Returns AWS resource descriptions for running and deleted stacks. If StackName is specified, all the associated resources that are part of the stack are returned. If PhysicalResourceId is specified, the associated resources of the stack that the resource belongs to are returned. Only the first 100 resources will be returned. If your stack has more resources than this, you should use ListStackResources instead. For deleted stacks, DescribeStackResources returns resource information for up to 90 days after the stack has been deleted. You must specify either StackName or PhysicalResourceId, but not both. In addition, you can specify LogicalResourceId to filter the returned result. For more information about resources, the LogicalResourceId and PhysicalResourceId, go to the AWS CloudFormation User Guide. A ValidationError is returned if you specify both StackName and PhysicalResourceId in the same request. - */ - describeStackResources(callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackResourcesOutput) => void): Request; - /** - * Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created. If the stack does not exist, an AmazonCloudFormationException is returned. - */ - describeStacks(params: CloudFormation.Types.DescribeStacksInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; - /** - * Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created. If the stack does not exist, an AmazonCloudFormationException is returned. - */ - describeStacks(callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; - /** - * Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template. - */ - estimateTemplateCost(params: CloudFormation.Types.EstimateTemplateCostInput, callback?: (err: AWSError, data: CloudFormation.Types.EstimateTemplateCostOutput) => void): Request; - /** - * Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template. - */ - estimateTemplateCost(callback?: (err: AWSError, data: CloudFormation.Types.EstimateTemplateCostOutput) => void): Request; - /** - * Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, AWS CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update. When you execute a change set, AWS CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack. If a stack policy is associated with the stack, AWS CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy. - */ - executeChangeSet(params: CloudFormation.Types.ExecuteChangeSetInput, callback?: (err: AWSError, data: CloudFormation.Types.ExecuteChangeSetOutput) => void): Request; - /** - * Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, AWS CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update. When you execute a change set, AWS CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack. If a stack policy is associated with the stack, AWS CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy. - */ - executeChangeSet(callback?: (err: AWSError, data: CloudFormation.Types.ExecuteChangeSetOutput) => void): Request; - /** - * Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned. - */ - getStackPolicy(params: CloudFormation.Types.GetStackPolicyInput, callback?: (err: AWSError, data: CloudFormation.Types.GetStackPolicyOutput) => void): Request; - /** - * Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned. - */ - getStackPolicy(callback?: (err: AWSError, data: CloudFormation.Types.GetStackPolicyOutput) => void): Request; - /** - * Returns the template body for a specified stack. You can get the template for running or deleted stacks. For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned. - */ - getTemplate(params: CloudFormation.Types.GetTemplateInput, callback?: (err: AWSError, data: CloudFormation.Types.GetTemplateOutput) => void): Request; - /** - * Returns the template body for a specified stack. You can get the template for running or deleted stacks. For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned. - */ - getTemplate(callback?: (err: AWSError, data: CloudFormation.Types.GetTemplateOutput) => void): Request; - /** - * Returns information about a new or existing template. The GetTemplateSummary action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack. You can use the GetTemplateSummary action when you submit a template, or you can get template information for a running or deleted stack. For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned. - */ - getTemplateSummary(params: CloudFormation.Types.GetTemplateSummaryInput, callback?: (err: AWSError, data: CloudFormation.Types.GetTemplateSummaryOutput) => void): Request; - /** - * Returns information about a new or existing template. The GetTemplateSummary action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack. You can use the GetTemplateSummary action when you submit a template, or you can get template information for a running or deleted stack. For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned. - */ - getTemplateSummary(callback?: (err: AWSError, data: CloudFormation.Types.GetTemplateSummaryOutput) => void): Request; - /** - * Returns the ID and status of each active change set for a stack. For example, AWS CloudFormation lists change sets that are in the CREATE_IN_PROGRESS or CREATE_PENDING state. - */ - listChangeSets(params: CloudFormation.Types.ListChangeSetsInput, callback?: (err: AWSError, data: CloudFormation.Types.ListChangeSetsOutput) => void): Request; - /** - * Returns the ID and status of each active change set for a stack. For example, AWS CloudFormation lists change sets that are in the CREATE_IN_PROGRESS or CREATE_PENDING state. - */ - listChangeSets(callback?: (err: AWSError, data: CloudFormation.Types.ListChangeSetsOutput) => void): Request; - /** - * Lists all exported output values in the account and region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function. For more information, see AWS CloudFormation Export Stack Output Values. - */ - listExports(params: CloudFormation.Types.ListExportsInput, callback?: (err: AWSError, data: CloudFormation.Types.ListExportsOutput) => void): Request; - /** - * Lists all exported output values in the account and region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function. For more information, see AWS CloudFormation Export Stack Output Values. - */ - listExports(callback?: (err: AWSError, data: CloudFormation.Types.ListExportsOutput) => void): Request; - /** - * Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports. For more information about importing an exported output value, see the Fn::ImportValue function. - */ - listImports(params: CloudFormation.Types.ListImportsInput, callback?: (err: AWSError, data: CloudFormation.Types.ListImportsOutput) => void): Request; - /** - * Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports. For more information about importing an exported output value, see the Fn::ImportValue function. - */ - listImports(callback?: (err: AWSError, data: CloudFormation.Types.ListImportsOutput) => void): Request; - /** - * Returns descriptions of all resources of the specified stack. For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted. - */ - listStackResources(params: CloudFormation.Types.ListStackResourcesInput, callback?: (err: AWSError, data: CloudFormation.Types.ListStackResourcesOutput) => void): Request; - /** - * Returns descriptions of all resources of the specified stack. For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted. - */ - listStackResources(callback?: (err: AWSError, data: CloudFormation.Types.ListStackResourcesOutput) => void): Request; - /** - * Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted). - */ - listStacks(params: CloudFormation.Types.ListStacksInput, callback?: (err: AWSError, data: CloudFormation.Types.ListStacksOutput) => void): Request; - /** - * Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted). - */ - listStacks(callback?: (err: AWSError, data: CloudFormation.Types.ListStacksOutput) => void): Request; - /** - * Sets a stack policy for a specified stack. - */ - setStackPolicy(params: CloudFormation.Types.SetStackPolicyInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets a stack policy for a specified stack. - */ - setStackPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sends a signal to the specified resource with a success or failure status. You can use the SignalResource API in conjunction with a creation policy or update policy. AWS CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource API is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance. - */ - signalResource(params: CloudFormation.Types.SignalResourceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sends a signal to the specified resource with a success or failure status. You can use the SignalResource API in conjunction with a creation policy or update policy. AWS CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource API is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance. - */ - signalResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action. To get a copy of the template for an existing stack, you can use the GetTemplate action. For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack. - */ - updateStack(params: CloudFormation.Types.UpdateStackInput, callback?: (err: AWSError, data: CloudFormation.Types.UpdateStackOutput) => void): Request; - /** - * Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action. To get a copy of the template for an existing stack, you can use the GetTemplate action. For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack. - */ - updateStack(callback?: (err: AWSError, data: CloudFormation.Types.UpdateStackOutput) => void): Request; - /** - * Validates a specified template. AWS CloudFormation first checks if the template is valid JSON. If it isn't, AWS CloudFormation checks if the template is valid YAML. If both these checks fail, AWS CloudFormation returns a template validation error. - */ - validateTemplate(params: CloudFormation.Types.ValidateTemplateInput, callback?: (err: AWSError, data: CloudFormation.Types.ValidateTemplateOutput) => void): Request; - /** - * Validates a specified template. AWS CloudFormation first checks if the template is valid JSON. If it isn't, AWS CloudFormation checks if the template is valid YAML. If both these checks fail, AWS CloudFormation returns a template validation error. - */ - validateTemplate(callback?: (err: AWSError, data: CloudFormation.Types.ValidateTemplateOutput) => void): Request; - /** - * Waits for the stackExists state by periodically calling the underlying CloudFormation.describeStacksoperation every 5 seconds (at most 20 times). - */ - waitFor(state: "stackExists", params: CloudFormation.Types.DescribeStacksInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; - /** - * Waits for the stackExists state by periodically calling the underlying CloudFormation.describeStacksoperation every 5 seconds (at most 20 times). - */ - waitFor(state: "stackExists", callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; - /** - * Waits for the stackCreateComplete state by periodically calling the underlying CloudFormation.describeStacksoperation every 30 seconds (at most 120 times). Wait until stack status is CREATE_COMPLETE. - */ - waitFor(state: "stackCreateComplete", params: CloudFormation.Types.DescribeStacksInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; - /** - * Waits for the stackCreateComplete state by periodically calling the underlying CloudFormation.describeStacksoperation every 30 seconds (at most 120 times). Wait until stack status is CREATE_COMPLETE. - */ - waitFor(state: "stackCreateComplete", callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; - /** - * Waits for the stackDeleteComplete state by periodically calling the underlying CloudFormation.describeStacksoperation every 30 seconds (at most 120 times). Wait until stack status is DELETE_COMPLETE. - */ - waitFor(state: "stackDeleteComplete", params: CloudFormation.Types.DescribeStacksInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; - /** - * Waits for the stackDeleteComplete state by periodically calling the underlying CloudFormation.describeStacksoperation every 30 seconds (at most 120 times). Wait until stack status is DELETE_COMPLETE. - */ - waitFor(state: "stackDeleteComplete", callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; - /** - * Waits for the stackUpdateComplete state by periodically calling the underlying CloudFormation.describeStacksoperation every 30 seconds (at most 120 times). Wait until stack status is UPDATE_COMPLETE. - */ - waitFor(state: "stackUpdateComplete", params: CloudFormation.Types.DescribeStacksInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; - /** - * Waits for the stackUpdateComplete state by periodically calling the underlying CloudFormation.describeStacksoperation every 30 seconds (at most 120 times). Wait until stack status is UPDATE_COMPLETE. - */ - waitFor(state: "stackUpdateComplete", callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; - /** - * Waits for the changeSetCreateComplete state by periodically calling the underlying CloudFormation.describeChangeSetoperation every 30 seconds (at most 120 times). Wait until change set status is CREATE_COMPLETE. - */ - waitFor(state: "changeSetCreateComplete", params: CloudFormation.Types.DescribeChangeSetInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeChangeSetOutput) => void): Request; - /** - * Waits for the changeSetCreateComplete state by periodically calling the underlying CloudFormation.describeChangeSetoperation every 30 seconds (at most 120 times). Wait until change set status is CREATE_COMPLETE. - */ - waitFor(state: "changeSetCreateComplete", callback?: (err: AWSError, data: CloudFormation.Types.DescribeChangeSetOutput) => void): Request; -} -declare namespace CloudFormation { - export interface AccountLimit { - /** - * The name of the account limit. Currently, the only account limit is StackLimit. - */ - Name?: LimitName; - /** - * The value that is associated with the account limit name. - */ - Value?: LimitValue; - } - export type AccountLimitList = AccountLimit[]; - export type AllowedValue = string; - export type AllowedValues = AllowedValue[]; - export interface CancelUpdateStackInput { - /** - * The name or the unique stack ID that is associated with the stack. - */ - StackName: StackName; - /** - * A unique identifier for this CancelUpdateStack request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to cancel an update on a stack with the same name. You might retry CancelUpdateStack requests to ensure that AWS CloudFormation successfully received them. - */ - ClientRequestToken?: ClientRequestToken; - } - export type Capabilities = Capability[]; - export type CapabilitiesReason = string; - export type Capability = "CAPABILITY_IAM"|"CAPABILITY_NAMED_IAM"|string; - export type CausingEntity = string; - export interface Change { - /** - * The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource. - */ - Type?: ChangeType; - /** - * A ResourceChange structure that describes the resource and action that AWS CloudFormation will perform. - */ - ResourceChange?: ResourceChange; - } - export type ChangeAction = "Add"|"Modify"|"Remove"|string; - export type ChangeSetId = string; - export type ChangeSetName = string; - export type ChangeSetNameOrId = string; - export type ChangeSetStatus = "CREATE_PENDING"|"CREATE_IN_PROGRESS"|"CREATE_COMPLETE"|"DELETE_COMPLETE"|"FAILED"|string; - export type ChangeSetStatusReason = string; - export type ChangeSetSummaries = ChangeSetSummary[]; - export interface ChangeSetSummary { - /** - * The ID of the stack with which the change set is associated. - */ - StackId?: StackId; - /** - * The name of the stack with which the change set is associated. - */ - StackName?: StackName; - /** - * The ID of the change set. - */ - ChangeSetId?: ChangeSetId; - /** - * The name of the change set. - */ - ChangeSetName?: ChangeSetName; - /** - * If the change set execution status is AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated. - */ - ExecutionStatus?: ExecutionStatus; - /** - * The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED. - */ - Status?: ChangeSetStatus; - /** - * A description of the change set's status. For example, if your change set is in the FAILED state, AWS CloudFormation shows the error message. - */ - StatusReason?: ChangeSetStatusReason; - /** - * The start time when the change set was created, in UTC. - */ - CreationTime?: CreationTime; - /** - * Descriptive information about the change set. - */ - Description?: Description; - } - export type ChangeSetType = "CREATE"|"UPDATE"|string; - export type ChangeSource = "ResourceReference"|"ParameterReference"|"ResourceAttribute"|"DirectModification"|"Automatic"|string; - export type ChangeType = "Resource"|string; - export type Changes = Change[]; - export type ClientRequestToken = string; - export type ClientToken = string; - export interface ContinueUpdateRollbackInput { - /** - * The name or the unique ID of the stack that you want to continue rolling back. Don't specify the name of a nested stack (a stack that was created by using the AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack that contains the AWS::CloudFormation::Stack resource). - */ - StackName: StackNameOrId; - /** - * The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to roll back the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. - */ - RoleARN?: RoleARN; - /** - * A list of the logical IDs of the resources that AWS CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update was canceled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason. Specify this property to skip rolling back resources that AWS CloudFormation can't successfully roll back. We recommend that you troubleshoot resources before skipping them. AWS CloudFormation sets the status of the specified resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of the skipped resources will be inconsistent with the state of the resources in the stack template. Before performing another stack update, you must update the stack or resources to be consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become unrecoverable. Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources. To specify resources in a nested stack, use the following format: NestedStackName.ResourceLogicalID. If the ResourceLogicalID is a stack resource (Type: AWS::CloudFormation::Stack), it must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED. - */ - ResourcesToSkip?: ResourcesToSkip; - /** - * A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to continue the rollback to a stack with the same name. You might retry ContinueUpdateRollback requests to ensure that AWS CloudFormation successfully received them. - */ - ClientRequestToken?: ClientRequestToken; - } - export interface ContinueUpdateRollbackOutput { - } - export interface CreateChangeSetInput { - /** - * The name or the unique ID of the stack for which you are creating a change set. AWS CloudFormation generates the change set by comparing this stack's information with the information that you submit, such as a modified template or different parameter input values. - */ - StackName: StackNameOrId; - /** - * A structure that contains the body of the revised template, with a minimum length of 1 byte and a maximum length of 51,200 bytes. AWS CloudFormation generates the change set by comparing this template with the template of the stack that you specified. Conditional: You must specify only TemplateBody or TemplateURL. - */ - TemplateBody?: TemplateBody; - /** - * The location of the file that contains the revised template. The URL must point to a template (max size: 460,800 bytes) that is located in an S3 bucket. AWS CloudFormation generates the change set by comparing this template with the stack that you specified. Conditional: You must specify only TemplateBody or TemplateURL. - */ - TemplateURL?: TemplateURL; - /** - * Whether to reuse the template that is associated with the stack to create the change set. - */ - UsePreviousTemplate?: UsePreviousTemplate; - /** - * A list of Parameter structures that specify input parameters for the change set. For more information, see the Parameter data type. - */ - Parameters?: Parameters; - /** - * A list of values that you must specify before AWS CloudFormation can update certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter. The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The following resources require you to specify this parameter: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, and AWS::IAM::UserToGroupAddition. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify this parameter, this action returns an InsufficientCapabilities error. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates. - */ - Capabilities?: Capabilities; - /** - * The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, AWS CloudFormation grants permissions to all resource types. AWS Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for AWS CloudFormation. For more information, see Controlling Access with AWS Identity and Access Management in the AWS CloudFormation User Guide. - */ - ResourceTypes?: ResourceTypes; - /** - * The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes when executing the change set. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. - */ - RoleARN?: RoleARN; - /** - * The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that AWS CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list. - */ - NotificationARNs?: NotificationARNs; - /** - * Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to resources in the stack. You can specify a maximum of 10 tags. - */ - Tags?: Tags; - /** - * The name of the change set. The name must be unique among all change sets that are associated with the specified stack. A change set name can contain only alphanumeric, case sensitive characters and hyphens. It must start with an alphabetic character and cannot exceed 128 characters. - */ - ChangeSetName: ChangeSetName; - /** - * A unique identifier for this CreateChangeSet request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to create another change set with the same name. You might retry CreateChangeSet requests to ensure that AWS CloudFormation successfully received them. - */ - ClientToken?: ClientToken; - /** - * A description to help you identify this change set. - */ - Description?: Description; - /** - * The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. If you create a change set for a new stack, AWS Cloudformation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set. By default, AWS CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack. - */ - ChangeSetType?: ChangeSetType; - } - export interface CreateChangeSetOutput { - /** - * The Amazon Resource Name (ARN) of the change set. - */ - Id?: ChangeSetId; - /** - * The unique ID of the stack. - */ - StackId?: StackId; - } - export interface CreateStackInput { - /** - * The name that is associated with the stack. The name must be unique in the region in which you are creating the stack. A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters. - */ - StackName: StackName; - /** - * Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both. - */ - TemplateBody?: TemplateBody; - /** - * Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information, go to the Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both. - */ - TemplateURL?: TemplateURL; - /** - * A list of Parameter structures that specify input parameters for the stack. For more information, see the Parameter data type. - */ - Parameters?: Parameters; - /** - * Set to true to disable rollback of the stack if stack creation failed. You can specify either DisableRollback or OnFailure, but not both. Default: false - */ - DisableRollback?: DisableRollback; - /** - * The amount of time that can pass before the stack status becomes CREATE_FAILED; if DisableRollback is not set or is set to false, the stack will be rolled back. - */ - TimeoutInMinutes?: TimeoutMinutes; - /** - * The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the SNS console or your Command Line Interface (CLI). - */ - NotificationARNs?: NotificationARNs; - /** - * A list of values that you must specify before AWS CloudFormation can create certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter. The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The following resources require you to specify this parameter: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, and AWS::IAM::UserToGroupAddition. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify this parameter, this action returns an InsufficientCapabilities error. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates. - */ - Capabilities?: Capabilities; - /** - * The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all AWS resource), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular AWS service), and AWS::service_name::resource_logical_ID (for a specific AWS resource). If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, AWS CloudFormation grants permissions to all resource types. AWS Identity and Access Management (IAM) uses this parameter for AWS CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with AWS Identity and Access Management. - */ - ResourceTypes?: ResourceTypes; - /** - * The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to create the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. - */ - RoleARN?: RoleARN; - /** - * Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either OnFailure or DisableRollback, but not both. Default: ROLLBACK - */ - OnFailure?: OnFailure; - /** - * Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. - */ - StackPolicyBody?: StackPolicyBody; - /** - * Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. - */ - StackPolicyURL?: StackPolicyURL; - /** - * Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 10 tags can be specified. - */ - Tags?: Tags; - /** - * A unique identifier for this CreateStack request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to create a stack with the same name. You might retry CreateStack requests to ensure that AWS CloudFormation successfully received them. - */ - ClientRequestToken?: ClientRequestToken; - } - export interface CreateStackOutput { - /** - * Unique identifier of the stack. - */ - StackId?: StackId; - } - export type CreationTime = Date; - export interface DeleteChangeSetInput { - /** - * The name or Amazon Resource Name (ARN) of the change set that you want to delete. - */ - ChangeSetName: ChangeSetNameOrId; - /** - * If you specified the name of a change set to delete, specify the stack name or ID (ARN) that is associated with it. - */ - StackName?: StackNameOrId; - } - export interface DeleteChangeSetOutput { - } - export interface DeleteStackInput { - /** - * The name or the unique stack ID that is associated with the stack. - */ - StackName: StackName; - /** - * For stacks in the DELETE_FAILED state, a list of resource logical IDs that are associated with the resources you want to retain. During deletion, AWS CloudFormation deletes the stack but does not delete the retained resources. Retaining resources is useful when you cannot delete a resource, such as a non-empty S3 bucket, but you want to delete the stack. - */ - RetainResources?: RetainResources; - /** - * The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to delete the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. - */ - RoleARN?: RoleARN; - /** - * A unique identifier for this DeleteStack request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to delete a stack with the same name. You might retry DeleteStack requests to ensure that AWS CloudFormation successfully received them. - */ - ClientRequestToken?: ClientRequestToken; - } - export type DeletionTime = Date; - export interface DescribeAccountLimitsInput { - /** - * A string that identifies the next page of limits that you want to retrieve. - */ - NextToken?: NextToken; - } - export interface DescribeAccountLimitsOutput { - /** - * An account limit structure that contain a list of AWS CloudFormation account limits and their values. - */ - AccountLimits?: AccountLimitList; - /** - * If the output exceeds 1 MB in size, a string that identifies the next page of limits. If no additional page exists, this value is null. - */ - NextToken?: NextToken; - } - export interface DescribeChangeSetInput { - /** - * The name or Amazon Resource Name (ARN) of the change set that you want to describe. - */ - ChangeSetName: ChangeSetNameOrId; - /** - * If you specified the name of a change set, specify the stack name or ID (ARN) of the change set you want to describe. - */ - StackName?: StackNameOrId; - /** - * A string (provided by the DescribeChangeSet response output) that identifies the next page of information that you want to retrieve. - */ - NextToken?: NextToken; - } - export interface DescribeChangeSetOutput { - /** - * The name of the change set. - */ - ChangeSetName?: ChangeSetName; - /** - * The ARN of the change set. - */ - ChangeSetId?: ChangeSetId; - /** - * The ARN of the stack that is associated with the change set. - */ - StackId?: StackId; - /** - * The name of the stack that is associated with the change set. - */ - StackName?: StackName; - /** - * Information about the change set. - */ - Description?: Description; - /** - * A list of Parameter structures that describes the input parameters and their values used to create the change set. For more information, see the Parameter data type. - */ - Parameters?: Parameters; - /** - * The start time when the change set was created, in UTC. - */ - CreationTime?: CreationTime; - /** - * If the change set execution status is AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated. - */ - ExecutionStatus?: ExecutionStatus; - /** - * The current status of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED. - */ - Status?: ChangeSetStatus; - /** - * A description of the change set's status. For example, if your attempt to create a change set failed, AWS CloudFormation shows the error message. - */ - StatusReason?: ChangeSetStatusReason; - /** - * The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set. - */ - NotificationARNs?: NotificationARNs; - /** - * If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created. - */ - Capabilities?: Capabilities; - /** - * If you execute the change set, the tags that will be associated with the stack. - */ - Tags?: Tags; - /** - * A list of Change structures that describes the resources AWS CloudFormation changes if you execute the change set. - */ - Changes?: Changes; - /** - * If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null. - */ - NextToken?: NextToken; - } - export interface DescribeStackEventsInput { - /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. - */ - StackName?: StackName; - /** - * A string that identifies the next page of events that you want to retrieve. - */ - NextToken?: NextToken; - } - export interface DescribeStackEventsOutput { - /** - * A list of StackEvents structures. - */ - StackEvents?: StackEvents; - /** - * If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page exists, this value is null. - */ - NextToken?: NextToken; - } - export interface DescribeStackResourceInput { - /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. - */ - StackName: StackName; - /** - * The logical name of the resource as specified in the template. Default: There is no default value. - */ - LogicalResourceId: LogicalResourceId; - } - export interface DescribeStackResourceOutput { - /** - * A StackResourceDetail structure containing the description of the specified resource in the specified stack. - */ - StackResourceDetail?: StackResourceDetail; - } - export interface DescribeStackResourcesInput { - /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. Required: Conditional. If you do not specify StackName, you must specify PhysicalResourceId. - */ - StackName?: StackName; - /** - * The logical name of the resource as specified in the template. Default: There is no default value. - */ - LogicalResourceId?: LogicalResourceId; - /** - * The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation. For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId corresponds to the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources to find which stack the instance belongs to and what other resources are part of the stack. Required: Conditional. If you do not specify PhysicalResourceId, you must specify StackName. Default: There is no default value. - */ - PhysicalResourceId?: PhysicalResourceId; - } - export interface DescribeStackResourcesOutput { - /** - * A list of StackResource structures. - */ - StackResources?: StackResources; - } - export interface DescribeStacksInput { - /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. - */ - StackName?: StackName; - /** - * A string that identifies the next page of stacks that you want to retrieve. - */ - NextToken?: NextToken; - } - export interface DescribeStacksOutput { - /** - * A list of stack structures. - */ - Stacks?: Stacks; - /** - * If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null. - */ - NextToken?: NextToken; - } - export type Description = string; - export type DisableRollback = boolean; - export interface EstimateTemplateCostInput { - /** - * Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.) Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used. - */ - TemplateBody?: TemplateBody; - /** - * Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used. - */ - TemplateURL?: TemplateURL; - /** - * A list of Parameter structures that specify input parameters. - */ - Parameters?: Parameters; - } - export interface EstimateTemplateCostOutput { - /** - * An AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template. - */ - Url?: Url; - } - export type EvaluationType = "Static"|"Dynamic"|string; - export type EventId = string; - export interface ExecuteChangeSetInput { - /** - * The name or ARN of the change set that you want use to update the specified stack. - */ - ChangeSetName: ChangeSetNameOrId; - /** - * If you specified the name of a change set, specify the stack name or ID (ARN) that is associated with the change set you want to execute. - */ - StackName?: StackNameOrId; - /** - * A unique identifier for this ExecuteChangeSet request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet requests to ensure that AWS CloudFormation successfully received them. - */ - ClientRequestToken?: ClientRequestToken; - } - export interface ExecuteChangeSetOutput { - } - export type ExecutionStatus = "UNAVAILABLE"|"AVAILABLE"|"EXECUTE_IN_PROGRESS"|"EXECUTE_COMPLETE"|"EXECUTE_FAILED"|"OBSOLETE"|string; - export interface Export { - /** - * The stack that contains the exported output name and value. - */ - ExportingStackId?: StackId; - /** - * The name of exported output value. Use this name and the Fn::ImportValue function to import the associated value into other stacks. The name is defined in the Export field in the associated stack's Outputs section. - */ - Name?: ExportName; - /** - * The value of the exported output, such as a resource physical ID. This value is defined in the Export field in the associated stack's Outputs section. - */ - Value?: ExportValue; - } - export type ExportName = string; - export type ExportValue = string; - export type Exports = Export[]; - export interface GetStackPolicyInput { - /** - * The name or unique stack ID that is associated with the stack whose policy you want to get. - */ - StackName: StackName; - } - export interface GetStackPolicyOutput { - /** - * Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide.) - */ - StackPolicyBody?: StackPolicyBody; - } - export interface GetTemplateInput { - /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. - */ - StackName?: StackName; - /** - * The name or Amazon Resource Name (ARN) of a change set for which AWS CloudFormation returns the associated template. If you specify a name, you must also specify the StackName. - */ - ChangeSetName?: ChangeSetNameOrId; - /** - * For templates that include transforms, the stage of the template that AWS CloudFormation returns. To get the user-submitted template, specify Original. To get the template after AWS CloudFormation has processed all transforms, specify Processed. If the template doesn't include transforms, Original and Processed return the same template. By default, AWS CloudFormation specifies Original. - */ - TemplateStage?: TemplateStage; - } - export interface GetTemplateOutput { - /** - * Structure containing the template body. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.) AWS CloudFormation returns the same template that was used when the stack was created. - */ - TemplateBody?: TemplateBody; - /** - * The stage of the template that you can retrieve. For stacks, the Original and Processed templates are always available. For change sets, the Original template is always available. After AWS CloudFormation finishes creating the change set, the Processed template becomes available. - */ - StagesAvailable?: StageList; - } - export interface GetTemplateSummaryInput { - /** - * Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL. - */ - TemplateBody?: TemplateBody; - /** - * Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL. - */ - TemplateURL?: TemplateURL; - /** - * The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID. Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL. - */ - StackName?: StackNameOrId; - } - export interface GetTemplateSummaryOutput { - /** - * A list of parameter declarations that describe various properties for each parameter. - */ - Parameters?: ParameterDeclarations; - /** - * The value that is defined in the Description property of the template. - */ - Description?: Description; - /** - * The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates. - */ - Capabilities?: Capabilities; - /** - * The list of resources that generated the values in the Capabilities response element. - */ - CapabilitiesReason?: CapabilitiesReason; - /** - * A list of all the template resource types that are defined in the template, such as AWS::EC2::Instance, AWS::Dynamo::Table, and Custom::MyCustomInstance. - */ - ResourceTypes?: ResourceTypes; - /** - * The AWS template format version, which identifies the capabilities of the template. - */ - Version?: Version; - /** - * The value that is defined for the Metadata property of the template. - */ - Metadata?: Metadata; - /** - * A list of the transforms that are declared in the template. - */ - DeclaredTransforms?: TransformsList; - } - export type Imports = StackName[]; - export type LastUpdatedTime = Date; - export type LimitName = string; - export type LimitValue = number; - export interface ListChangeSetsInput { - /** - * The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets. - */ - StackName: StackNameOrId; - /** - * A string (provided by the ListChangeSets response output) that identifies the next page of change sets that you want to retrieve. - */ - NextToken?: NextToken; - } - export interface ListChangeSetsOutput { - /** - * A list of ChangeSetSummary structures that provides the ID and status of each change set for the specified stack. - */ - Summaries?: ChangeSetSummaries; - /** - * If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional page, this value is null. - */ - NextToken?: NextToken; - } - export interface ListExportsInput { - /** - * A string (provided by the ListExports response output) that identifies the next page of exported output values that you asked to retrieve. - */ - NextToken?: NextToken; - } - export interface ListExportsOutput { - /** - * The output for the ListExports action. - */ - Exports?: Exports; - /** - * If the output exceeds 100 exported output values, a string that identifies the next page of exports. If there is no additional page, this value is null. - */ - NextToken?: NextToken; - } - export interface ListImportsInput { - /** - * The name of the exported output value. AWS CloudFormation returns the stack names that are importing this value. - */ - ExportName: ExportName; - /** - * A string (provided by the ListImports response output) that identifies the next page of stacks that are importing the specified exported output value. - */ - NextToken?: NextToken; - } - export interface ListImportsOutput { - /** - * A list of stack names that are importing the specified exported output value. - */ - Imports?: Imports; - /** - * A string that identifies the next page of exports. If there is no additional page, this value is null. - */ - NextToken?: NextToken; - } - export interface ListStackResourcesInput { - /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. - */ - StackName: StackName; - /** - * A string that identifies the next page of stack resources that you want to retrieve. - */ - NextToken?: NextToken; - } - export interface ListStackResourcesOutput { - /** - * A list of StackResourceSummary structures. - */ - StackResourceSummaries?: StackResourceSummaries; - /** - * If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null. - */ - NextToken?: NextToken; - } - export interface ListStacksInput { - /** - * A string that identifies the next page of stacks that you want to retrieve. - */ - NextToken?: NextToken; - /** - * Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type. - */ - StackStatusFilter?: StackStatusFilter; - } - export interface ListStacksOutput { - /** - * A list of StackSummary structures containing information about the specified stacks. - */ - StackSummaries?: StackSummaries; - /** - * If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null. - */ - NextToken?: NextToken; - } - export type LogicalResourceId = string; - export type Metadata = string; - export type NextToken = string; - export type NoEcho = boolean; - export type NotificationARN = string; - export type NotificationARNs = NotificationARN[]; - export type OnFailure = "DO_NOTHING"|"ROLLBACK"|"DELETE"|string; - export interface Output { - /** - * The key associated with the output. - */ - OutputKey?: OutputKey; - /** - * The value associated with the output. - */ - OutputValue?: OutputValue; - /** - * User defined description associated with the output. - */ - Description?: Description; - } - export type OutputKey = string; - export type OutputValue = string; - export type Outputs = Output[]; - export interface Parameter { - /** - * The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template. - */ - ParameterKey?: ParameterKey; - /** - * The value associated with the parameter. - */ - ParameterValue?: ParameterValue; - /** - * During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value. - */ - UsePreviousValue?: UsePreviousValue; - } - export interface ParameterConstraints { - /** - * A list of values that are permitted for a parameter. - */ - AllowedValues?: AllowedValues; - } - export interface ParameterDeclaration { - /** - * The name that is associated with the parameter. - */ - ParameterKey?: ParameterKey; - /** - * The default value of the parameter. - */ - DefaultValue?: ParameterValue; - /** - * The type of parameter. - */ - ParameterType?: ParameterType; - /** - * Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console. - */ - NoEcho?: NoEcho; - /** - * The description that is associate with the parameter. - */ - Description?: Description; - /** - * The criteria that AWS CloudFormation uses to validate parameter values. - */ - ParameterConstraints?: ParameterConstraints; - } - export type ParameterDeclarations = ParameterDeclaration[]; - export type ParameterKey = string; - export type ParameterType = string; - export type ParameterValue = string; - export type Parameters = Parameter[]; - export type PhysicalResourceId = string; - export type PropertyName = string; - export type Replacement = "True"|"False"|"Conditional"|string; - export type RequiresRecreation = "Never"|"Conditionally"|"Always"|string; - export type ResourceAttribute = "Properties"|"Metadata"|"CreationPolicy"|"UpdatePolicy"|"DeletionPolicy"|"Tags"|string; - export interface ResourceChange { - /** - * The action that AWS CloudFormation takes on the resource, such as Add (adds a new resource), Modify (changes a resource), or Remove (deletes a resource). - */ - Action?: ChangeAction; - /** - * The resource's logical ID, which is defined in the stack's template. - */ - LogicalResourceId?: LogicalResourceId; - /** - * The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created. - */ - PhysicalResourceId?: PhysicalResourceId; - /** - * The type of AWS CloudFormation resource, such as AWS::S3::Bucket. - */ - ResourceType?: ResourceType; - /** - * For the Modify action, indicates whether AWS CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditionally. If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditionally, and then Never. - */ - Replacement?: Replacement; - /** - * For the Modify action, indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags. - */ - Scope?: Scope; - /** - * For the Modify action, a list of ResourceChangeDetail structures that describes the changes that AWS CloudFormation will make to the resource. - */ - Details?: ResourceChangeDetails; - } - export interface ResourceChangeDetail { - /** - * A ResourceTargetDefinition structure that describes the field that AWS CloudFormation will change and whether the resource will be recreated. - */ - Target?: ResourceTargetDefinition; - /** - * Indicates whether AWS CloudFormation can determine the target value, and whether the target value will change before you execute a change set. For Static evaluations, AWS CloudFormation can determine that the target value will change, and its value. For example, if you directly modify the InstanceType property of an EC2 instance, AWS CloudFormation knows that this property value will change, and its value, so this is a Static evaluation. For Dynamic evaluations, cannot determine the target value because it depends on the result of an intrinsic function, such as a Ref or Fn::GetAtt intrinsic function, when the stack is updated. For example, if your template includes a reference to a resource that is conditionally recreated, the value of the reference (the physical ID of the resource) might change, depending on if the resource is recreated. If the resource is recreated, it will have a new physical ID, so all references to that resource will also be updated. - */ - Evaluation?: EvaluationType; - /** - * The group to which the CausingEntity value belongs. There are five entity groups: ResourceReference entities are Ref intrinsic functions that refer to resources in the template, such as { "Ref" : "MyEC2InstanceResource" }. ParameterReference entities are Ref intrinsic functions that get template parameter values, such as { "Ref" : "MyPasswordParameter" }. ResourceAttribute entities are Fn::GetAtt intrinsic functions that get resource attribute values, such as { "Fn::GetAtt" : [ "MyEC2InstanceResource", "PublicDnsName" ] }. DirectModification entities are changes that are made directly to the template. Automatic entities are AWS::CloudFormation::Stack resource types, which are also known as nested stacks. If you made no changes to the AWS::CloudFormation::Stack resource, AWS CloudFormation sets the ChangeSource to Automatic because the nested stack's template might have changed. Changes to a nested stack's template aren't visible to AWS CloudFormation until you run an update on the parent stack. - */ - ChangeSource?: ChangeSource; - /** - * The identity of the entity that triggered this change. This entity is a member of the group that is specified by the ChangeSource field. For example, if you modified the value of the KeyPairName parameter, the CausingEntity is the name of the parameter (KeyPairName). If the ChangeSource value is DirectModification, no value is given for CausingEntity. - */ - CausingEntity?: CausingEntity; - } - export type ResourceChangeDetails = ResourceChangeDetail[]; - export type ResourceProperties = string; - export type ResourceSignalStatus = "SUCCESS"|"FAILURE"|string; - export type ResourceSignalUniqueId = string; - export type ResourceStatus = "CREATE_IN_PROGRESS"|"CREATE_FAILED"|"CREATE_COMPLETE"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETE_COMPLETE"|"DELETE_SKIPPED"|"UPDATE_IN_PROGRESS"|"UPDATE_FAILED"|"UPDATE_COMPLETE"|string; - export type ResourceStatusReason = string; - export interface ResourceTargetDefinition { - /** - * Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags. - */ - Attribute?: ResourceAttribute; - /** - * If the Attribute value is Properties, the name of the property. For all other attributes, the value is null. - */ - Name?: PropertyName; - /** - * If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the AWS CloudFormation User Guide. - */ - RequiresRecreation?: RequiresRecreation; - } - export type ResourceToSkip = string; - export type ResourceType = string; - export type ResourceTypes = ResourceType[]; - export type ResourcesToSkip = ResourceToSkip[]; - export type RetainResources = LogicalResourceId[]; - export type RoleARN = string; - export type Scope = ResourceAttribute[]; - export interface SetStackPolicyInput { - /** - * The name or unique stack ID that you want to associate a policy with. - */ - StackName: StackName; - /** - * Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the AWS CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. - */ - StackPolicyBody?: StackPolicyBody; - /** - * Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. - */ - StackPolicyURL?: StackPolicyURL; - } - export interface SignalResourceInput { - /** - * The stack name or unique stack ID that includes the resource that you want to signal. - */ - StackName: StackNameOrId; - /** - * The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in the template. - */ - LogicalResourceId: LogicalResourceId; - /** - * A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling groups, specify the instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as signaling a wait condition), each signal requires a different unique ID. - */ - UniqueId: ResourceSignalUniqueId; - /** - * The status of the signal, which is either success or failure. A failure signal causes AWS CloudFormation to immediately fail the stack creation or update. - */ - Status: ResourceSignalStatus; - } - export interface Stack { - /** - * Unique identifier of the stack. - */ - StackId?: StackId; - /** - * The name associated with the stack. - */ - StackName: StackName; - /** - * The unique ID of the change set. - */ - ChangeSetId?: ChangeSetId; - /** - * A user-defined description associated with the stack. - */ - Description?: Description; - /** - * A list of Parameter structures. - */ - Parameters?: Parameters; - /** - * The time at which the stack was created. - */ - CreationTime: CreationTime; - /** - * The time the stack was last updated. This field will only be returned if the stack has been updated at least once. - */ - LastUpdatedTime?: LastUpdatedTime; - /** - * Current status of the stack. - */ - StackStatus: StackStatus; - /** - * Success/failure message associated with the stack status. - */ - StackStatusReason?: StackStatusReason; - /** - * Boolean to enable or disable rollback on stack creation failures: true: disable rollback false: enable rollback - */ - DisableRollback?: DisableRollback; - /** - * SNS topic ARNs to which stack related events are published. - */ - NotificationARNs?: NotificationARNs; - /** - * The amount of time within which stack creation should complete. - */ - TimeoutInMinutes?: TimeoutMinutes; - /** - * The capabilities allowed in the stack. - */ - Capabilities?: Capabilities; - /** - * A list of output structures. - */ - Outputs?: Outputs; - /** - * The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that is associated with the stack. During a stack operation, AWS CloudFormation uses this role's credentials to make calls on your behalf. - */ - RoleARN?: RoleARN; - /** - * A list of Tags that specify information about the stack. - */ - Tags?: Tags; - } - export interface StackEvent { - /** - * The unique ID name of the instance of the stack. - */ - StackId: StackId; - /** - * The unique ID of this event. - */ - EventId: EventId; - /** - * The name associated with a stack. - */ - StackName: StackName; - /** - * The logical name of the resource specified in the template. - */ - LogicalResourceId?: LogicalResourceId; - /** - * The name or unique identifier associated with the physical instance of the resource. - */ - PhysicalResourceId?: PhysicalResourceId; - /** - * Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.) - */ - ResourceType?: ResourceType; - /** - * Time the status was updated. - */ - Timestamp: Timestamp; - /** - * Current status of the resource. - */ - ResourceStatus?: ResourceStatus; - /** - * Success/failure message associated with the resource. - */ - ResourceStatusReason?: ResourceStatusReason; - /** - * BLOB of the properties used to create the resource. - */ - ResourceProperties?: ResourceProperties; - /** - * The token passed to the operation that generated this event. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. - */ - ClientRequestToken?: ClientRequestToken; - } - export type StackEvents = StackEvent[]; - export type StackId = string; - export type StackName = string; - export type StackNameOrId = string; - export type StackPolicyBody = string; - export type StackPolicyDuringUpdateBody = string; - export type StackPolicyDuringUpdateURL = string; - export type StackPolicyURL = string; - export interface StackResource { - /** - * The name associated with the stack. - */ - StackName?: StackName; - /** - * Unique identifier of the stack. - */ - StackId?: StackId; - /** - * The logical name of the resource specified in the template. - */ - LogicalResourceId: LogicalResourceId; - /** - * The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation. - */ - PhysicalResourceId?: PhysicalResourceId; - /** - * Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.) - */ - ResourceType: ResourceType; - /** - * Time the status was updated. - */ - Timestamp: Timestamp; - /** - * Current status of the resource. - */ - ResourceStatus: ResourceStatus; - /** - * Success/failure message associated with the resource. - */ - ResourceStatusReason?: ResourceStatusReason; - /** - * User defined description associated with the resource. - */ - Description?: Description; - } - export interface StackResourceDetail { - /** - * The name associated with the stack. - */ - StackName?: StackName; - /** - * Unique identifier of the stack. - */ - StackId?: StackId; - /** - * The logical name of the resource specified in the template. - */ - LogicalResourceId: LogicalResourceId; - /** - * The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation. - */ - PhysicalResourceId?: PhysicalResourceId; - /** - * Type of resource. ((For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.) - */ - ResourceType: ResourceType; - /** - * Time the status was updated. - */ - LastUpdatedTimestamp: Timestamp; - /** - * Current status of the resource. - */ - ResourceStatus: ResourceStatus; - /** - * Success/failure message associated with the resource. - */ - ResourceStatusReason?: ResourceStatusReason; - /** - * User defined description associated with the resource. - */ - Description?: Description; - /** - * The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide. - */ - Metadata?: Metadata; - } - export type StackResourceSummaries = StackResourceSummary[]; - export interface StackResourceSummary { - /** - * The logical name of the resource specified in the template. - */ - LogicalResourceId: LogicalResourceId; - /** - * The name or unique identifier that corresponds to a physical instance ID of the resource. - */ - PhysicalResourceId?: PhysicalResourceId; - /** - * Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.) - */ - ResourceType: ResourceType; - /** - * Time the status was updated. - */ - LastUpdatedTimestamp: Timestamp; - /** - * Current status of the resource. - */ - ResourceStatus: ResourceStatus; - /** - * Success/failure message associated with the resource. - */ - ResourceStatusReason?: ResourceStatusReason; - } - export type StackResources = StackResource[]; - export type StackStatus = "CREATE_IN_PROGRESS"|"CREATE_FAILED"|"CREATE_COMPLETE"|"ROLLBACK_IN_PROGRESS"|"ROLLBACK_FAILED"|"ROLLBACK_COMPLETE"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETE_COMPLETE"|"UPDATE_IN_PROGRESS"|"UPDATE_COMPLETE_CLEANUP_IN_PROGRESS"|"UPDATE_COMPLETE"|"UPDATE_ROLLBACK_IN_PROGRESS"|"UPDATE_ROLLBACK_FAILED"|"UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS"|"UPDATE_ROLLBACK_COMPLETE"|"REVIEW_IN_PROGRESS"|string; - export type StackStatusFilter = StackStatus[]; - export type StackStatusReason = string; - export type StackSummaries = StackSummary[]; - export interface StackSummary { - /** - * Unique stack identifier. - */ - StackId?: StackId; - /** - * The name associated with the stack. - */ - StackName: StackName; - /** - * The template description of the template used to create the stack. - */ - TemplateDescription?: TemplateDescription; - /** - * The time the stack was created. - */ - CreationTime: CreationTime; - /** - * The time the stack was last updated. This field will only be returned if the stack has been updated at least once. - */ - LastUpdatedTime?: LastUpdatedTime; - /** - * The time the stack was deleted. - */ - DeletionTime?: DeletionTime; - /** - * The current status of the stack. - */ - StackStatus: StackStatus; - /** - * Success/Failure message associated with the stack status. - */ - StackStatusReason?: StackStatusReason; - } - export type Stacks = Stack[]; - export type StageList = TemplateStage[]; - export interface Tag { - /** - * Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:. - */ - Key?: TagKey; - /** - * Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value. - */ - Value?: TagValue; - } - export type TagKey = string; - export type TagValue = string; - export type Tags = Tag[]; - export type TemplateBody = string; - export type TemplateDescription = string; - export interface TemplateParameter { - /** - * The name associated with the parameter. - */ - ParameterKey?: ParameterKey; - /** - * The default value associated with the parameter. - */ - DefaultValue?: ParameterValue; - /** - * Flag indicating whether the parameter should be displayed as plain text in logs and UIs. - */ - NoEcho?: NoEcho; - /** - * User defined description associated with the parameter. - */ - Description?: Description; - } - export type TemplateParameters = TemplateParameter[]; - export type TemplateStage = "Original"|"Processed"|string; - export type TemplateURL = string; - export type TimeoutMinutes = number; - export type Timestamp = Date; - export type TransformName = string; - export type TransformsList = TransformName[]; - export interface UpdateStackInput { - /** - * The name or unique stack ID of the stack to update. - */ - StackName: StackName; - /** - * Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.) Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true. - */ - TemplateBody?: TemplateBody; - /** - * Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true. - */ - TemplateURL?: TemplateURL; - /** - * Reuse the existing template that is associated with the stack that you are updating. Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true. - */ - UsePreviousTemplate?: UsePreviousTemplate; - /** - * Structure containing the temporary overriding stack policy body. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both. If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used. - */ - StackPolicyDuringUpdateBody?: StackPolicyDuringUpdateBody; - /** - * Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both. If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used. - */ - StackPolicyDuringUpdateURL?: StackPolicyDuringUpdateURL; - /** - * A list of Parameter structures that specify input parameters for the stack. For more information, see the Parameter data type. - */ - Parameters?: Parameters; - /** - * A list of values that you must specify before AWS CloudFormation can update certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter. The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The following resources require you to specify this parameter: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, and AWS::IAM::UserToGroupAddition. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify this parameter, this action returns an InsufficientCapabilities error. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates. - */ - Capabilities?: Capabilities; - /** - * The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, AWS CloudFormation grants permissions to all resource types. AWS Identity and Access Management (IAM) uses this parameter for AWS CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with AWS Identity and Access Management. - */ - ResourceTypes?: ResourceTypes; - /** - * The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to update the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. - */ - RoleARN?: RoleARN; - /** - * Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged. - */ - StackPolicyBody?: StackPolicyBody; - /** - * Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged. - */ - StackPolicyURL?: StackPolicyURL; - /** - * Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that AWS CloudFormation associates with the stack. Specify an empty list to remove all notification topics. - */ - NotificationARNs?: NotificationARNs; - /** - * Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to supported resources in the stack. You can specify a maximum number of 10 tags. If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags. - */ - Tags?: Tags; - /** - * A unique identifier for this UpdateStack request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to update a stack with the same name. You might retry UpdateStack requests to ensure that AWS CloudFormation successfully received them. - */ - ClientRequestToken?: ClientRequestToken; - } - export interface UpdateStackOutput { - /** - * Unique identifier of the stack. - */ - StackId?: StackId; - } - export type Url = string; - export type UsePreviousTemplate = boolean; - export type UsePreviousValue = boolean; - export interface ValidateTemplateInput { - /** - * Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used. - */ - TemplateBody?: TemplateBody; - /** - * Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used. - */ - TemplateURL?: TemplateURL; - } - export interface ValidateTemplateOutput { - /** - * A list of TemplateParameter structures. - */ - Parameters?: TemplateParameters; - /** - * The description found within the template. - */ - Description?: Description; - /** - * The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates. - */ - Capabilities?: Capabilities; - /** - * The list of resources that generated the values in the Capabilities response element. - */ - CapabilitiesReason?: CapabilitiesReason; - /** - * A list of the transforms that are declared in the template. - */ - DeclaredTransforms?: TransformsList; - } - export type Version = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2010-05-15"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CloudFormation client. - */ - export import Types = CloudFormation; -} -export = CloudFormation; diff --git a/src/node_modules/aws-sdk/clients/cloudformation.js b/src/node_modules/aws-sdk/clients/cloudformation.js deleted file mode 100644 index 25167d7..0000000 --- a/src/node_modules/aws-sdk/clients/cloudformation.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cloudformation'] = {}; -AWS.CloudFormation = Service.defineService('cloudformation', ['2010-05-15']); -Object.defineProperty(apiLoader.services['cloudformation'], '2010-05-15', { - get: function get() { - var model = require('../apis/cloudformation-2010-05-15.min.json'); - model.paginators = require('../apis/cloudformation-2010-05-15.paginators.json').pagination; - model.waiters = require('../apis/cloudformation-2010-05-15.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudFormation; diff --git a/src/node_modules/aws-sdk/clients/cloudfront.d.ts b/src/node_modules/aws-sdk/clients/cloudfront.d.ts deleted file mode 100644 index 651fc0e..0000000 --- a/src/node_modules/aws-sdk/clients/cloudfront.d.ts +++ /dev/null @@ -1,1723 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {CloudFrontCustomizations} from '../lib/services/cloudfront'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -import {Signer as signer} from '../lib/cloudfront/signer'; -interface Blob {} -declare class CloudFront extends CloudFrontCustomizations { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CloudFront.Types.ClientConfiguration) - config: Config & CloudFront.Types.ClientConfiguration; - /** - * Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide. - */ - createCloudFrontOriginAccessIdentity(params: CloudFront.Types.CreateCloudFrontOriginAccessIdentityRequest, callback?: (err: AWSError, data: CloudFront.Types.CreateCloudFrontOriginAccessIdentityResult) => void): Request; - /** - * Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide. - */ - createCloudFrontOriginAccessIdentity(callback?: (err: AWSError, data: CloudFront.Types.CreateCloudFrontOriginAccessIdentityResult) => void): Request; - /** - * Creates a new web distribution. Send a POST request to the /CloudFront API version/distribution/distribution ID resource. - */ - createDistribution(params: CloudFront.Types.CreateDistributionRequest, callback?: (err: AWSError, data: CloudFront.Types.CreateDistributionResult) => void): Request; - /** - * Creates a new web distribution. Send a POST request to the /CloudFront API version/distribution/distribution ID resource. - */ - createDistribution(callback?: (err: AWSError, data: CloudFront.Types.CreateDistributionResult) => void): Request; - /** - * Create a new distribution with tags. - */ - createDistributionWithTags(params: CloudFront.Types.CreateDistributionWithTagsRequest, callback?: (err: AWSError, data: CloudFront.Types.CreateDistributionWithTagsResult) => void): Request; - /** - * Create a new distribution with tags. - */ - createDistributionWithTags(callback?: (err: AWSError, data: CloudFront.Types.CreateDistributionWithTagsResult) => void): Request; - /** - * Create a new invalidation. - */ - createInvalidation(params: CloudFront.Types.CreateInvalidationRequest, callback?: (err: AWSError, data: CloudFront.Types.CreateInvalidationResult) => void): Request; - /** - * Create a new invalidation. - */ - createInvalidation(callback?: (err: AWSError, data: CloudFront.Types.CreateInvalidationResult) => void): Request; - /** - * Creates a new RMTP distribution. An RTMP distribution is similar to a web distribution, but an RTMP distribution streams media files using the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files using HTTP. To create a new web distribution, submit a POST request to the CloudFront API version/distribution resource. The request body must include a document with a StreamingDistributionConfig element. The response echoes the StreamingDistributionConfig element and returns other information about the RTMP distribution. To get the status of your request, use the GET StreamingDistribution API action. When the value of Enabled is true and the value of Status is Deployed, your distribution is ready. A distribution usually deploys in less than 15 minutes. For more information about web distributions, see Working with RTMP Distributions in the Amazon CloudFront Developer Guide. Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML document that you include in the request body when you create or update a web distribution or an RTMP distribution, and when you invalidate objects. With previous versions of the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say you're specifying in the Quantity element and the number of values specified. - */ - createStreamingDistribution(params: CloudFront.Types.CreateStreamingDistributionRequest, callback?: (err: AWSError, data: CloudFront.Types.CreateStreamingDistributionResult) => void): Request; - /** - * Creates a new RMTP distribution. An RTMP distribution is similar to a web distribution, but an RTMP distribution streams media files using the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files using HTTP. To create a new web distribution, submit a POST request to the CloudFront API version/distribution resource. The request body must include a document with a StreamingDistributionConfig element. The response echoes the StreamingDistributionConfig element and returns other information about the RTMP distribution. To get the status of your request, use the GET StreamingDistribution API action. When the value of Enabled is true and the value of Status is Deployed, your distribution is ready. A distribution usually deploys in less than 15 minutes. For more information about web distributions, see Working with RTMP Distributions in the Amazon CloudFront Developer Guide. Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML document that you include in the request body when you create or update a web distribution or an RTMP distribution, and when you invalidate objects. With previous versions of the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say you're specifying in the Quantity element and the number of values specified. - */ - createStreamingDistribution(callback?: (err: AWSError, data: CloudFront.Types.CreateStreamingDistributionResult) => void): Request; - /** - * Create a new streaming distribution with tags. - */ - createStreamingDistributionWithTags(params: CloudFront.Types.CreateStreamingDistributionWithTagsRequest, callback?: (err: AWSError, data: CloudFront.Types.CreateStreamingDistributionWithTagsResult) => void): Request; - /** - * Create a new streaming distribution with tags. - */ - createStreamingDistributionWithTags(callback?: (err: AWSError, data: CloudFront.Types.CreateStreamingDistributionWithTagsResult) => void): Request; - /** - * Delete an origin access identity. - */ - deleteCloudFrontOriginAccessIdentity(params: CloudFront.Types.DeleteCloudFrontOriginAccessIdentityRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Delete an origin access identity. - */ - deleteCloudFrontOriginAccessIdentity(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Delete a distribution. - */ - deleteDistribution(params: CloudFront.Types.DeleteDistributionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Delete a distribution. - */ - deleteDistribution(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the following steps. To delete an RTMP distribution using the CloudFront API: Disable the RTMP distribution. Submit a GET Streaming Distribution Config request to get the current configuration and the Etag header for the distribution. Update the XML document that was returned in the response to your GET Streaming Distribution Config request to change the value of Enabled to false. Submit a PUT Streaming Distribution Config request to update the configuration for your distribution. In the request body, include the XML document that you updated in Step 3. Then set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Streaming Distribution Config request in Step 2. Review the response to the PUT Streaming Distribution Config request to confirm that the distribution was successfully disabled. Submit a GET Streaming Distribution Config request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed. Submit a DELETE Streaming Distribution request. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Streaming Distribution Config request in Step 2. Review the response to your DELETE Streaming Distribution request to confirm that the distribution was successfully deleted. For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide. - */ - deleteStreamingDistribution(params: CloudFront.Types.DeleteStreamingDistributionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the following steps. To delete an RTMP distribution using the CloudFront API: Disable the RTMP distribution. Submit a GET Streaming Distribution Config request to get the current configuration and the Etag header for the distribution. Update the XML document that was returned in the response to your GET Streaming Distribution Config request to change the value of Enabled to false. Submit a PUT Streaming Distribution Config request to update the configuration for your distribution. In the request body, include the XML document that you updated in Step 3. Then set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Streaming Distribution Config request in Step 2. Review the response to the PUT Streaming Distribution Config request to confirm that the distribution was successfully disabled. Submit a GET Streaming Distribution Config request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed. Submit a DELETE Streaming Distribution request. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Streaming Distribution Config request in Step 2. Review the response to your DELETE Streaming Distribution request to confirm that the distribution was successfully deleted. For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide. - */ - deleteStreamingDistribution(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Get the information about an origin access identity. - */ - getCloudFrontOriginAccessIdentity(params: CloudFront.Types.GetCloudFrontOriginAccessIdentityRequest, callback?: (err: AWSError, data: CloudFront.Types.GetCloudFrontOriginAccessIdentityResult) => void): Request; - /** - * Get the information about an origin access identity. - */ - getCloudFrontOriginAccessIdentity(callback?: (err: AWSError, data: CloudFront.Types.GetCloudFrontOriginAccessIdentityResult) => void): Request; - /** - * Get the configuration information about an origin access identity. - */ - getCloudFrontOriginAccessIdentityConfig(params: CloudFront.Types.GetCloudFrontOriginAccessIdentityConfigRequest, callback?: (err: AWSError, data: CloudFront.Types.GetCloudFrontOriginAccessIdentityConfigResult) => void): Request; - /** - * Get the configuration information about an origin access identity. - */ - getCloudFrontOriginAccessIdentityConfig(callback?: (err: AWSError, data: CloudFront.Types.GetCloudFrontOriginAccessIdentityConfigResult) => void): Request; - /** - * Get the information about a distribution. - */ - getDistribution(params: CloudFront.Types.GetDistributionRequest, callback?: (err: AWSError, data: CloudFront.Types.GetDistributionResult) => void): Request; - /** - * Get the information about a distribution. - */ - getDistribution(callback?: (err: AWSError, data: CloudFront.Types.GetDistributionResult) => void): Request; - /** - * Get the configuration information about a distribution. - */ - getDistributionConfig(params: CloudFront.Types.GetDistributionConfigRequest, callback?: (err: AWSError, data: CloudFront.Types.GetDistributionConfigResult) => void): Request; - /** - * Get the configuration information about a distribution. - */ - getDistributionConfig(callback?: (err: AWSError, data: CloudFront.Types.GetDistributionConfigResult) => void): Request; - /** - * Get the information about an invalidation. - */ - getInvalidation(params: CloudFront.Types.GetInvalidationRequest, callback?: (err: AWSError, data: CloudFront.Types.GetInvalidationResult) => void): Request; - /** - * Get the information about an invalidation. - */ - getInvalidation(callback?: (err: AWSError, data: CloudFront.Types.GetInvalidationResult) => void): Request; - /** - * Gets information about a specified RTMP distribution, including the distribution configuration. - */ - getStreamingDistribution(params: CloudFront.Types.GetStreamingDistributionRequest, callback?: (err: AWSError, data: CloudFront.Types.GetStreamingDistributionResult) => void): Request; - /** - * Gets information about a specified RTMP distribution, including the distribution configuration. - */ - getStreamingDistribution(callback?: (err: AWSError, data: CloudFront.Types.GetStreamingDistributionResult) => void): Request; - /** - * Get the configuration information about a streaming distribution. - */ - getStreamingDistributionConfig(params: CloudFront.Types.GetStreamingDistributionConfigRequest, callback?: (err: AWSError, data: CloudFront.Types.GetStreamingDistributionConfigResult) => void): Request; - /** - * Get the configuration information about a streaming distribution. - */ - getStreamingDistributionConfig(callback?: (err: AWSError, data: CloudFront.Types.GetStreamingDistributionConfigResult) => void): Request; - /** - * Lists origin access identities. - */ - listCloudFrontOriginAccessIdentities(params: CloudFront.Types.ListCloudFrontOriginAccessIdentitiesRequest, callback?: (err: AWSError, data: CloudFront.Types.ListCloudFrontOriginAccessIdentitiesResult) => void): Request; - /** - * Lists origin access identities. - */ - listCloudFrontOriginAccessIdentities(callback?: (err: AWSError, data: CloudFront.Types.ListCloudFrontOriginAccessIdentitiesResult) => void): Request; - /** - * List distributions. - */ - listDistributions(params: CloudFront.Types.ListDistributionsRequest, callback?: (err: AWSError, data: CloudFront.Types.ListDistributionsResult) => void): Request; - /** - * List distributions. - */ - listDistributions(callback?: (err: AWSError, data: CloudFront.Types.ListDistributionsResult) => void): Request; - /** - * List the distributions that are associated with a specified AWS WAF web ACL. - */ - listDistributionsByWebACLId(params: CloudFront.Types.ListDistributionsByWebACLIdRequest, callback?: (err: AWSError, data: CloudFront.Types.ListDistributionsByWebACLIdResult) => void): Request; - /** - * List the distributions that are associated with a specified AWS WAF web ACL. - */ - listDistributionsByWebACLId(callback?: (err: AWSError, data: CloudFront.Types.ListDistributionsByWebACLIdResult) => void): Request; - /** - * Lists invalidation batches. - */ - listInvalidations(params: CloudFront.Types.ListInvalidationsRequest, callback?: (err: AWSError, data: CloudFront.Types.ListInvalidationsResult) => void): Request; - /** - * Lists invalidation batches. - */ - listInvalidations(callback?: (err: AWSError, data: CloudFront.Types.ListInvalidationsResult) => void): Request; - /** - * List streaming distributions. - */ - listStreamingDistributions(params: CloudFront.Types.ListStreamingDistributionsRequest, callback?: (err: AWSError, data: CloudFront.Types.ListStreamingDistributionsResult) => void): Request; - /** - * List streaming distributions. - */ - listStreamingDistributions(callback?: (err: AWSError, data: CloudFront.Types.ListStreamingDistributionsResult) => void): Request; - /** - * List tags for a CloudFront resource. - */ - listTagsForResource(params: CloudFront.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: CloudFront.Types.ListTagsForResourceResult) => void): Request; - /** - * List tags for a CloudFront resource. - */ - listTagsForResource(callback?: (err: AWSError, data: CloudFront.Types.ListTagsForResourceResult) => void): Request; - /** - * Add tags to a CloudFront resource. - */ - tagResource(params: CloudFront.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Add tags to a CloudFront resource. - */ - tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Remove tags from a CloudFront resource. - */ - untagResource(params: CloudFront.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Remove tags from a CloudFront resource. - */ - untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Update an origin access identity. - */ - updateCloudFrontOriginAccessIdentity(params: CloudFront.Types.UpdateCloudFrontOriginAccessIdentityRequest, callback?: (err: AWSError, data: CloudFront.Types.UpdateCloudFrontOriginAccessIdentityResult) => void): Request; - /** - * Update an origin access identity. - */ - updateCloudFrontOriginAccessIdentity(callback?: (err: AWSError, data: CloudFront.Types.UpdateCloudFrontOriginAccessIdentityResult) => void): Request; - /** - * Updates the configuration for a web distribution. Perform the following steps. For information about updating a distribution using the CloudFront console, see Creating or Updating a Web Distribution Using the CloudFront Console in the Amazon CloudFront Developer Guide. To update a web distribution using the CloudFront API Submit a GetDistributionConfig request to get the current configuration and an Etag header for the distribution. If you update the distribution again, you need to get a new Etag header. Update the XML document that was returned in the response to your GetDistributionConfig request to include the desired changes. You can't change the value of CallerReference. If you try to change this value, CloudFront returns an IllegalUpdate error. The new configuration replaces the existing configuration; the values that you specify in an UpdateDistribution request are not merged into the existing configuration. When you add, delete, or replace values in an element that allows multiple values (for example, CNAME), you must specify all of the values that you want to appear in the updated distribution. In addition, you must update the corresponding Quantity element. Submit an UpdateDistribution request to update the configuration for your distribution: In the request body, include the XML document that you updated in Step 2. The request body must include an XML document with a DistributionConfig element. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GetDistributionConfig request in Step 1. Review the response to the UpdateDistribution request to confirm that the configuration was successfully updated. Optional: Submit a GetDistribution request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed. Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML document that you include in the request body when you create or update a distribution. With previous versions of the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say you're specifying in the Quantity element and the number of values you're actually specifying. - */ - updateDistribution(params: CloudFront.Types.UpdateDistributionRequest, callback?: (err: AWSError, data: CloudFront.Types.UpdateDistributionResult) => void): Request; - /** - * Updates the configuration for a web distribution. Perform the following steps. For information about updating a distribution using the CloudFront console, see Creating or Updating a Web Distribution Using the CloudFront Console in the Amazon CloudFront Developer Guide. To update a web distribution using the CloudFront API Submit a GetDistributionConfig request to get the current configuration and an Etag header for the distribution. If you update the distribution again, you need to get a new Etag header. Update the XML document that was returned in the response to your GetDistributionConfig request to include the desired changes. You can't change the value of CallerReference. If you try to change this value, CloudFront returns an IllegalUpdate error. The new configuration replaces the existing configuration; the values that you specify in an UpdateDistribution request are not merged into the existing configuration. When you add, delete, or replace values in an element that allows multiple values (for example, CNAME), you must specify all of the values that you want to appear in the updated distribution. In addition, you must update the corresponding Quantity element. Submit an UpdateDistribution request to update the configuration for your distribution: In the request body, include the XML document that you updated in Step 2. The request body must include an XML document with a DistributionConfig element. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GetDistributionConfig request in Step 1. Review the response to the UpdateDistribution request to confirm that the configuration was successfully updated. Optional: Submit a GetDistribution request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed. Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML document that you include in the request body when you create or update a distribution. With previous versions of the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say you're specifying in the Quantity element and the number of values you're actually specifying. - */ - updateDistribution(callback?: (err: AWSError, data: CloudFront.Types.UpdateDistributionResult) => void): Request; - /** - * Update a streaming distribution. - */ - updateStreamingDistribution(params: CloudFront.Types.UpdateStreamingDistributionRequest, callback?: (err: AWSError, data: CloudFront.Types.UpdateStreamingDistributionResult) => void): Request; - /** - * Update a streaming distribution. - */ - updateStreamingDistribution(callback?: (err: AWSError, data: CloudFront.Types.UpdateStreamingDistributionResult) => void): Request; - /** - * Waits for the distributionDeployed state by periodically calling the underlying CloudFront.getDistributionoperation every 60 seconds (at most 25 times). Wait until a distribution is deployed. - */ - waitFor(state: "distributionDeployed", params: CloudFront.Types.GetDistributionRequest, callback?: (err: AWSError, data: CloudFront.Types.GetDistributionResult) => void): Request; - /** - * Waits for the distributionDeployed state by periodically calling the underlying CloudFront.getDistributionoperation every 60 seconds (at most 25 times). Wait until a distribution is deployed. - */ - waitFor(state: "distributionDeployed", callback?: (err: AWSError, data: CloudFront.Types.GetDistributionResult) => void): Request; - /** - * Waits for the invalidationCompleted state by periodically calling the underlying CloudFront.getInvalidationoperation every 20 seconds (at most 30 times). Wait until an invalidation has completed. - */ - waitFor(state: "invalidationCompleted", params: CloudFront.Types.GetInvalidationRequest, callback?: (err: AWSError, data: CloudFront.Types.GetInvalidationResult) => void): Request; - /** - * Waits for the invalidationCompleted state by periodically calling the underlying CloudFront.getInvalidationoperation every 20 seconds (at most 30 times). Wait until an invalidation has completed. - */ - waitFor(state: "invalidationCompleted", callback?: (err: AWSError, data: CloudFront.Types.GetInvalidationResult) => void): Request; - /** - * Waits for the streamingDistributionDeployed state by periodically calling the underlying CloudFront.getStreamingDistributionoperation every 60 seconds (at most 25 times). Wait until a streaming distribution is deployed. - */ - waitFor(state: "streamingDistributionDeployed", params: CloudFront.Types.GetStreamingDistributionRequest, callback?: (err: AWSError, data: CloudFront.Types.GetStreamingDistributionResult) => void): Request; - /** - * Waits for the streamingDistributionDeployed state by periodically calling the underlying CloudFront.getStreamingDistributionoperation every 60 seconds (at most 25 times). Wait until a streaming distribution is deployed. - */ - waitFor(state: "streamingDistributionDeployed", callback?: (err: AWSError, data: CloudFront.Types.GetStreamingDistributionResult) => void): Request; -} -declare namespace CloudFront { - export import Signer = signer; -} -declare namespace CloudFront { - export interface ActiveTrustedSigners { - /** - * Enabled is true if any of the AWS accounts listed in the TrustedSigners complex type for this RTMP distribution have active CloudFront key pairs. If not, Enabled is false. For more information, see ActiveTrustedSigners. - */ - Enabled: boolean; - /** - * A complex type that contains one Signer complex type for each trusted signer specified in the TrustedSigners complex type. For more information, see ActiveTrustedSigners. - */ - Quantity: integer; - /** - * A complex type that contains one Signer complex type for each trusted signer that is specified in the TrustedSigners complex type. For more information, see ActiveTrustedSigners. - */ - Items?: SignerList; - } - export type AliasList = string[]; - export interface Aliases { - /** - * The number of CNAME aliases, if any, that you want to associate with this distribution. - */ - Quantity: integer; - /** - * A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution. - */ - Items?: AliasList; - } - export interface AllowedMethods { - /** - * The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests). - */ - Quantity: integer; - /** - * A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin. - */ - Items: MethodsList; - CachedMethods?: CachedMethods; - } - export type AwsAccountNumberList = string[]; - export interface CacheBehavior { - /** - * The pattern (for example, images/*.jpg) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. You can optionally include a slash (/) at the beginning of the path pattern. For example, /images/*.jpg. CloudFront behavior is the same with or without the leading /. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior. For more information, see Path Pattern in the Amazon CloudFront Developer Guide. - */ - PathPattern: string; - /** - * The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior. - */ - TargetOriginId: string; - /** - * A complex type that specifies how CloudFront handles query strings and cookies. - */ - ForwardedValues: ForwardedValues; - /** - * A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution. - */ - TrustedSigners: TrustedSigners; - /** - * The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options: allow-all: Viewers can use HTTP or HTTPS. redirect-to-https: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. https-only: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide. The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide. - */ - ViewerProtocolPolicy: ViewerProtocolPolicy; - /** - * The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide. You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name). - */ - MinTTL: long; - AllowedMethods?: AllowedMethods; - /** - * Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern. - */ - SmoothStreaming?: boolean; - /** - * The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide. - */ - DefaultTTL?: long; - /** - * The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide. - */ - MaxTTL?: long; - /** - * Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide. - */ - Compress?: boolean; - /** - * A complex type that contains zero or more Lambda function associations for a cache behavior. - */ - LambdaFunctionAssociations?: LambdaFunctionAssociations; - } - export type CacheBehaviorList = CacheBehavior[]; - export interface CacheBehaviors { - /** - * The number of cache behaviors for this distribution. - */ - Quantity: integer; - /** - * Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items. - */ - Items?: CacheBehaviorList; - } - export interface CachedMethods { - /** - * The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2 (for caching responses to GET and HEAD requests) and 3 (for caching responses to GET, HEAD, and OPTIONS requests). - */ - Quantity: integer; - /** - * A complex type that contains the HTTP methods that you want CloudFront to cache responses to. - */ - Items: MethodsList; - } - export type CertificateSource = "cloudfront"|"iam"|"acm"|string; - export interface CloudFrontOriginAccessIdentity { - /** - * The ID for the origin access identity. For example: E74FTE3AJFJ256A. - */ - Id: string; - /** - * The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3. - */ - S3CanonicalUserId: string; - /** - * The current configuration information for the identity. - */ - CloudFrontOriginAccessIdentityConfig?: CloudFrontOriginAccessIdentityConfig; - } - export interface CloudFrontOriginAccessIdentityConfig { - /** - * A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error. - */ - CallerReference: string; - /** - * Any comments you want to include about the origin access identity. - */ - Comment: string; - } - export interface CloudFrontOriginAccessIdentityList { - /** - * Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page). - */ - Marker: string; - /** - * If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off. - */ - NextMarker?: string; - /** - * The maximum number of origin access identities you want in the response body. - */ - MaxItems: integer; - /** - * A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list. - */ - IsTruncated: boolean; - /** - * The number of CloudFront origin access identities that were created by the current AWS account. - */ - Quantity: integer; - /** - * A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current AWS account. - */ - Items?: CloudFrontOriginAccessIdentitySummaryList; - } - export interface CloudFrontOriginAccessIdentitySummary { - /** - * The ID for the origin access identity. For example: E74FTE3AJFJ256A. - */ - Id: string; - /** - * The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3. - */ - S3CanonicalUserId: string; - /** - * The comment for this origin access identity, as originally specified when created. - */ - Comment: string; - } - export type CloudFrontOriginAccessIdentitySummaryList = CloudFrontOriginAccessIdentitySummary[]; - export type CookieNameList = string[]; - export interface CookieNames { - /** - * The number of different cookies that you want CloudFront to forward to the origin for this cache behavior. - */ - Quantity: integer; - /** - * A complex type that contains one Name element for each cookie that you want CloudFront to forward to the origin for this cache behavior. - */ - Items?: CookieNameList; - } - export interface CookiePreference { - /** - * Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in the WhitelistedNames complex type. Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for the Forward element. - */ - Forward: ItemSelection; - /** - * Required if you specify whitelist for the value of Forward:. A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies. If you specify all or none for the value of Forward, omit WhitelistedNames. If you change the value of Forward from whitelist to all or none and you don't delete the WhitelistedNames element and its child elements, CloudFront deletes them automatically. For the current limit on the number of cookie names that you can whitelist for each cache behavior, see Amazon CloudFront Limits in the AWS General Reference. - */ - WhitelistedNames?: CookieNames; - } - export interface CreateCloudFrontOriginAccessIdentityRequest { - /** - * The current configuration information for the identity. - */ - CloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfig; - } - export interface CreateCloudFrontOriginAccessIdentityResult { - /** - * The origin access identity's information. - */ - CloudFrontOriginAccessIdentity?: CloudFrontOriginAccessIdentity; - /** - * The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity/cloudfront/E74FTE3AJFJ256A. - */ - Location?: string; - /** - * The current version of the origin access identity created. - */ - ETag?: string; - } - export interface CreateDistributionRequest { - /** - * The distribution's configuration information. - */ - DistributionConfig: DistributionConfig; - } - export interface CreateDistributionResult { - /** - * The distribution's information. - */ - Distribution?: Distribution; - /** - * The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5. - */ - Location?: string; - /** - * The current version of the distribution created. - */ - ETag?: string; - } - export interface CreateDistributionWithTagsRequest { - /** - * The distribution's configuration information. - */ - DistributionConfigWithTags: DistributionConfigWithTags; - } - export interface CreateDistributionWithTagsResult { - /** - * The distribution's information. - */ - Distribution?: Distribution; - /** - * The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5. - */ - Location?: string; - /** - * The current version of the distribution created. - */ - ETag?: string; - } - export interface CreateInvalidationRequest { - /** - * The distribution's id. - */ - DistributionId: string; - /** - * The batch information for the invalidation. - */ - InvalidationBatch: InvalidationBatch; - } - export interface CreateInvalidationResult { - /** - * The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID. - */ - Location?: string; - /** - * The invalidation's information. - */ - Invalidation?: Invalidation; - } - export interface CreateStreamingDistributionRequest { - /** - * The streaming distribution's configuration information. - */ - StreamingDistributionConfig: StreamingDistributionConfig; - } - export interface CreateStreamingDistributionResult { - /** - * The streaming distribution's information. - */ - StreamingDistribution?: StreamingDistribution; - /** - * The fully qualified URI of the new streaming distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/streaming-distribution/EGTXBD79H29TRA8. - */ - Location?: string; - /** - * The current version of the streaming distribution created. - */ - ETag?: string; - } - export interface CreateStreamingDistributionWithTagsRequest { - /** - * The streaming distribution's configuration information. - */ - StreamingDistributionConfigWithTags: StreamingDistributionConfigWithTags; - } - export interface CreateStreamingDistributionWithTagsResult { - /** - * The streaming distribution's information. - */ - StreamingDistribution?: StreamingDistribution; - /** - * The fully qualified URI of the new streaming distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/streaming-distribution/EGTXBD79H29TRA8. - */ - Location?: string; - ETag?: string; - } - export interface CustomErrorResponse { - /** - * The HTTP status code for which you want to specify a custom error page and/or a caching duration. - */ - ErrorCode: integer; - /** - * The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode, for example, /4xx-errors/403-forbidden.html. If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true: The value of PathPattern matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named /4xx-errors. Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example, /4xx-errors/*. The value of TargetOriginId specifies the value of the ID element for the origin that contains your custom error pages. If you specify a value for ResponsePagePath, you must also specify a value for ResponseCode. If you don't want to specify a value, include an empty element, <ResponsePagePath>, in the XML document. We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable. - */ - ResponsePagePath?: string; - /** - * The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example: Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute 200, the response typically won't be intercepted. If you don't care about distinguishing among different client errors or server errors, you can specify 400 or 500 as the ResponseCode for all 4xx or 5xx errors. You might want to return a 200 status code (OK) and static website so your customers don't know that your website is down. If you specify a value for ResponseCode, you must also specify a value for ResponsePagePath. If you don't want to specify a value, include an empty element, <ResponseCode>, in the XML document. - */ - ResponseCode?: string; - /** - * The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode. When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available. If you don't want to specify a value, include an empty element, <ErrorCachingMinTTL>, in the XML document. For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide. - */ - ErrorCachingMinTTL?: long; - } - export type CustomErrorResponseList = CustomErrorResponse[]; - export interface CustomErrorResponses { - /** - * The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items. - */ - Quantity: integer; - /** - * A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration. - */ - Items?: CustomErrorResponseList; - } - export interface CustomHeaders { - /** - * The number of custom headers, if any, for this distribution. - */ - Quantity: integer; - /** - * Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items. - */ - Items?: OriginCustomHeadersList; - } - export interface CustomOriginConfig { - /** - * The HTTP port the custom origin listens on. - */ - HTTPPort: integer; - /** - * The HTTPS port the custom origin listens on. - */ - HTTPSPort: integer; - /** - * The origin protocol policy to apply to your origin. - */ - OriginProtocolPolicy: OriginProtocolPolicy; - /** - * The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS. - */ - OriginSslProtocols?: OriginSslProtocols; - /** - * You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds. If you need to increase the maximum time limit, contact the AWS Support Center. - */ - OriginReadTimeout?: integer; - /** - * You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds. If you need to increase the maximum time limit, contact the AWS Support Center. - */ - OriginKeepaliveTimeout?: integer; - } - export interface DefaultCacheBehavior { - /** - * The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior. - */ - TargetOriginId: string; - /** - * A complex type that specifies how CloudFront handles query strings and cookies. - */ - ForwardedValues: ForwardedValues; - /** - * A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution. - */ - TrustedSigners: TrustedSigners; - /** - * The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options: allow-all: Viewers can use HTTP or HTTPS. redirect-to-https: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. https-only: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide. The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide. - */ - ViewerProtocolPolicy: ViewerProtocolPolicy; - /** - * The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide. You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name). - */ - MinTTL: long; - AllowedMethods?: AllowedMethods; - /** - * Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern. - */ - SmoothStreaming?: boolean; - /** - * The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide. - */ - DefaultTTL?: long; - MaxTTL?: long; - /** - * Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide. - */ - Compress?: boolean; - /** - * A complex type that contains zero or more Lambda function associations for a cache behavior. - */ - LambdaFunctionAssociations?: LambdaFunctionAssociations; - } - export interface DeleteCloudFrontOriginAccessIdentityRequest { - /** - * The origin access identity's ID. - */ - Id: string; - /** - * The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL. - */ - IfMatch?: string; - } - export interface DeleteDistributionRequest { - /** - * The distribution ID. - */ - Id: string; - /** - * The value of the ETag header that you received when you disabled the distribution. For example: E2QWRUHAPOMQZL. - */ - IfMatch?: string; - } - export interface DeleteStreamingDistributionRequest { - /** - * The distribution ID. - */ - Id: string; - /** - * The value of the ETag header that you received when you disabled the streaming distribution. For example: E2QWRUHAPOMQZL. - */ - IfMatch?: string; - } - export interface Distribution { - /** - * The identifier for the distribution. For example: EDFDVBD632BHDS5. - */ - Id: string; - /** - * The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID. - */ - ARN: string; - /** - * This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations. - */ - Status: string; - /** - * The date and time the distribution was last modified. - */ - LastModifiedTime: timestamp; - /** - * The number of invalidation batches currently in progress. - */ - InProgressInvalidationBatches: integer; - /** - * The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net. - */ - DomainName: string; - /** - * CloudFront automatically adds this element to the response only if you've set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer, that signer can't create working signed URLs. - */ - ActiveTrustedSigners: ActiveTrustedSigners; - /** - * The current configuration information for the distribution. Send a GET request to the /CloudFront API version/distribution ID/config resource. - */ - DistributionConfig: DistributionConfig; - } - export interface DistributionConfig { - /** - * A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution. If CallerReference is a value you already sent in a previous request to create a distribution, and if the content of the DistributionConfig is identical to the original request (ignoring white space), CloudFront returns the same the response that it returned to the original request. If CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error. - */ - CallerReference: string; - /** - * A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution. - */ - Aliases?: Aliases; - /** - * The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution. Specify only the object name, for example, index.html. Do not add a / before the object name. If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object. For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide. - */ - DefaultRootObject?: string; - /** - * A complex type that contains information about origins for this distribution. - */ - Origins: Origins; - /** - * A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior. - */ - DefaultCacheBehavior: DefaultCacheBehavior; - /** - * A complex type that contains zero or more CacheBehavior elements. - */ - CacheBehaviors?: CacheBehaviors; - /** - * A complex type that controls the following: Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide. - */ - CustomErrorResponses?: CustomErrorResponses; - /** - * Any comments you want to include about the distribution. If you don't want to specify a comment, include an empty Comment element. To delete an existing comment, update the distribution configuration and include an empty Comment element. To add or change a comment, update the distribution configuration and specify the new comment. - */ - Comment: string; - /** - * A complex type that controls whether access logs are written for the distribution. For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide. - */ - Logging?: LoggingConfig; - /** - * The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All, CloudFront responds to requests for your objects from all CloudFront edge locations. If you specify a price class other than PriceClass_All, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance. For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide. For information about CloudFront pricing, including how price classes map to CloudFront regions, see Amazon CloudFront Pricing. - */ - PriceClass?: PriceClass; - /** - * From this field, you can enable or disable the selected distribution. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted. - */ - Enabled: boolean; - ViewerCertificate?: ViewerCertificate; - Restrictions?: Restrictions; - /** - * A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF, see the AWS WAF Developer Guide. - */ - WebACLId?: string; - /** - * (Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version. For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI). In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. You can improve performance by optimizing for HTTP/2. For more information, do an Internet search for "http/2 optimization." - */ - HttpVersion?: HttpVersion; - /** - * If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution. In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, do not enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide. If you're using an Amazon Route 53 alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true: You enable IPv6 for the distribution You're using alternate domain names in the URLs for your objects For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Amazon Route 53 Developer Guide. If you created a CNAME resource record set, either with Amazon Route 53 or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request. - */ - IsIPV6Enabled?: boolean; - } - export interface DistributionConfigWithTags { - /** - * A distribution configuration. - */ - DistributionConfig: DistributionConfig; - /** - * A complex type that contains zero or more Tag elements. - */ - Tags: Tags; - } - export interface DistributionList { - /** - * The value you provided for the Marker request parameter. - */ - Marker: string; - /** - * If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off. - */ - NextMarker?: string; - /** - * The value you provided for the MaxItems request parameter. - */ - MaxItems: integer; - /** - * A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list. - */ - IsTruncated: boolean; - /** - * The number of distributions that were created by the current AWS account. - */ - Quantity: integer; - /** - * A complex type that contains one DistributionSummary element for each distribution that was created by the current AWS account. - */ - Items?: DistributionSummaryList; - } - export interface DistributionSummary { - /** - * The identifier for the distribution. For example: EDFDVBD632BHDS5. - */ - Id: string; - /** - * The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID. - */ - ARN: string; - /** - * The current status of the distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations. - */ - Status: string; - /** - * The date and time the distribution was last modified. - */ - LastModifiedTime: timestamp; - /** - * The domain name that corresponds to the distribution. For example: d604721fxaaqy9.cloudfront.net. - */ - DomainName: string; - /** - * A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution. - */ - Aliases: Aliases; - /** - * A complex type that contains information about origins for this distribution. - */ - Origins: Origins; - /** - * A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior. - */ - DefaultCacheBehavior: DefaultCacheBehavior; - /** - * A complex type that contains zero or more CacheBehavior elements. - */ - CacheBehaviors: CacheBehaviors; - /** - * A complex type that contains zero or more CustomErrorResponses elements. - */ - CustomErrorResponses: CustomErrorResponses; - /** - * The comment originally specified when this distribution was created. - */ - Comment: string; - PriceClass: PriceClass; - /** - * Whether the distribution is enabled to accept user requests for content. - */ - Enabled: boolean; - ViewerCertificate: ViewerCertificate; - Restrictions: Restrictions; - /** - * The Web ACL Id (if any) associated with the distribution. - */ - WebACLId: string; - /** - * Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 will automatically use an earlier version. - */ - HttpVersion: HttpVersion; - /** - * Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution. - */ - IsIPV6Enabled: boolean; - } - export type DistributionSummaryList = DistributionSummary[]; - export type EventType = "viewer-request"|"viewer-response"|"origin-request"|"origin-response"|string; - export interface ForwardedValues { - /** - * Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString and on the values that you specify for QueryStringCacheKeys, if any: If you specify true for QueryString and you don't specify any values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin. If you specify true for QueryString and you specify one or more values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify. If you specify false for QueryString, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters. For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide. - */ - QueryString: boolean; - /** - * A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide. - */ - Cookies: CookiePreference; - /** - * A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior. - */ - Headers?: Headers; - /** - * A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior. - */ - QueryStringCacheKeys?: QueryStringCacheKeys; - } - export interface GeoRestriction { - /** - * The method that you want to use to restrict distribution of your content by country: none: No geo restriction is enabled, meaning access to content is not restricted by client geo location. blacklist: The Location elements specify the countries in which you do not want CloudFront to distribute your content. whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content. - */ - RestrictionType: GeoRestrictionType; - /** - * When geo restriction is enabled, this is the number of countries in your whitelist or blacklist. Otherwise, when it is not enabled, Quantity is 0, and you can omit Items. - */ - Quantity: integer; - /** - * A complex type that contains a Location element for each country in which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist). The Location element is a two-letter, uppercase country code for a country that you want to include in your blacklist or whitelist. Include one Location element for each country. CloudFront and MaxMind both use ISO 3166 country codes. For the current list of countries and the corresponding codes, see ISO 3166-1-alpha-2 code on the International Organization for Standardization website. You can also refer to the country list in the CloudFront console, which includes both country names and codes. - */ - Items?: LocationList; - } - export type GeoRestrictionType = "blacklist"|"whitelist"|"none"|string; - export interface GetCloudFrontOriginAccessIdentityConfigRequest { - /** - * The identity's ID. - */ - Id: string; - } - export interface GetCloudFrontOriginAccessIdentityConfigResult { - /** - * The origin access identity's configuration information. - */ - CloudFrontOriginAccessIdentityConfig?: CloudFrontOriginAccessIdentityConfig; - /** - * The current version of the configuration. For example: E2QWRUHAPOMQZL. - */ - ETag?: string; - } - export interface GetCloudFrontOriginAccessIdentityRequest { - /** - * The identity's ID. - */ - Id: string; - } - export interface GetCloudFrontOriginAccessIdentityResult { - /** - * The origin access identity's information. - */ - CloudFrontOriginAccessIdentity?: CloudFrontOriginAccessIdentity; - /** - * The current version of the origin access identity's information. For example: E2QWRUHAPOMQZL. - */ - ETag?: string; - } - export interface GetDistributionConfigRequest { - /** - * The distribution's ID. - */ - Id: string; - } - export interface GetDistributionConfigResult { - /** - * The distribution's configuration information. - */ - DistributionConfig?: DistributionConfig; - /** - * The current version of the configuration. For example: E2QWRUHAPOMQZL. - */ - ETag?: string; - } - export interface GetDistributionRequest { - /** - * The distribution's ID. - */ - Id: string; - } - export interface GetDistributionResult { - /** - * The distribution's information. - */ - Distribution?: Distribution; - /** - * The current version of the distribution's information. For example: E2QWRUHAPOMQZL. - */ - ETag?: string; - } - export interface GetInvalidationRequest { - /** - * The distribution's ID. - */ - DistributionId: string; - /** - * The identifier for the invalidation request, for example, IDFDVBD632BHDS5. - */ - Id: string; - } - export interface GetInvalidationResult { - /** - * The invalidation's information. For more information, see Invalidation Complex Type. - */ - Invalidation?: Invalidation; - } - export interface GetStreamingDistributionConfigRequest { - /** - * The streaming distribution's ID. - */ - Id: string; - } - export interface GetStreamingDistributionConfigResult { - /** - * The streaming distribution's configuration information. - */ - StreamingDistributionConfig?: StreamingDistributionConfig; - /** - * The current version of the configuration. For example: E2QWRUHAPOMQZL. - */ - ETag?: string; - } - export interface GetStreamingDistributionRequest { - /** - * The streaming distribution's ID. - */ - Id: string; - } - export interface GetStreamingDistributionResult { - /** - * The streaming distribution's information. - */ - StreamingDistribution?: StreamingDistribution; - /** - * The current version of the streaming distribution's information. For example: E2QWRUHAPOMQZL. - */ - ETag?: string; - } - export type HeaderList = string[]; - export interface Headers { - /** - * The number of different headers that you want CloudFront to forward to the origin for this cache behavior. You can configure each cache behavior in a web distribution to do one of the following: Forward all headers to your origin: Specify 1 for Quantity and * for Name. If you configure CloudFront to forward all headers to your origin, CloudFront doesn't cache the objects associated with this cache behavior. Instead, it sends every request to the origin. Forward a whitelist of headers you specify: Specify the number of headers that you want to forward, and specify the header names in Name elements. CloudFront caches your objects based on the values in all of the specified headers. CloudFront also forwards the headers that it forwards by default, but it caches your objects based only on the headers that you specify. Forward only the default headers: Specify 0 for Quantity and omit Items. In this configuration, CloudFront doesn't cache based on the values in the request headers. - */ - Quantity: integer; - /** - * A complex type that contains one Name element for each header that you want CloudFront to forward to the origin and to vary on for this cache behavior. If Quantity is 0, omit Items. - */ - Items?: HeaderList; - } - export type HttpVersion = "http1.1"|"http2"|string; - export interface Invalidation { - /** - * The identifier for the invalidation request. For example: IDFDVBD632BHDS5. - */ - Id: string; - /** - * The status of the invalidation request. When the invalidation batch is finished, the status is Completed. - */ - Status: string; - /** - * The date and time the invalidation request was first made. - */ - CreateTime: timestamp; - /** - * The current invalidation information for the batch request. - */ - InvalidationBatch: InvalidationBatch; - } - export interface InvalidationBatch { - /** - * A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide. - */ - Paths: Paths; - /** - * A value that you specify to uniquely identify an invalidation request. CloudFront uses the value to prevent you from accidentally resubmitting an identical request. Whenever you create a new invalidation request, you must specify a new value for CallerReference and change other values in the request as applicable. One way to ensure that the value of CallerReference is unique is to use a timestamp, for example, 20120301090000. If you make a second invalidation request with the same value for CallerReference, and if the rest of the request is the same, CloudFront doesn't create a new invalidation request. Instead, CloudFront returns information about the invalidation request that you previously created with the same CallerReference. If CallerReference is a value you already sent in a previous invalidation batch request but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error. - */ - CallerReference: string; - } - export interface InvalidationList { - /** - * The value that you provided for the Marker request parameter. - */ - Marker: string; - /** - * If IsTruncated is true, this element is present and contains the value that you can use for the Marker request parameter to continue listing your invalidation batches where they left off. - */ - NextMarker?: string; - /** - * The value that you provided for the MaxItems request parameter. - */ - MaxItems: integer; - /** - * A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list. - */ - IsTruncated: boolean; - /** - * The number of invalidation batches that were created by the current AWS account. - */ - Quantity: integer; - /** - * A complex type that contains one InvalidationSummary element for each invalidation batch created by the current AWS account. - */ - Items?: InvalidationSummaryList; - } - export interface InvalidationSummary { - /** - * The unique ID for an invalidation request. - */ - Id: string; - CreateTime: timestamp; - /** - * The status of an invalidation request. - */ - Status: string; - } - export type InvalidationSummaryList = InvalidationSummary[]; - export type ItemSelection = "none"|"whitelist"|"all"|string; - export type KeyPairIdList = string[]; - export interface KeyPairIds { - /** - * The number of active CloudFront key pairs for AwsAccountNumber. For more information, see ActiveTrustedSigners. - */ - Quantity: integer; - /** - * A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber. For more information, see ActiveTrustedSigners. - */ - Items?: KeyPairIdList; - } - export interface LambdaFunctionAssociation { - /** - * The ARN of the Lambda function. - */ - LambdaFunctionARN?: string; - /** - * Specifies the event type that triggers a Lambda function invocation. Valid values are: viewer-request origin-request viewer-response origin-response - */ - EventType?: EventType; - } - export type LambdaFunctionAssociationList = LambdaFunctionAssociation[]; - export interface LambdaFunctionAssociations { - /** - * The number of Lambda function associations for this cache behavior. - */ - Quantity: integer; - /** - * Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items. - */ - Items?: LambdaFunctionAssociationList; - } - export interface ListCloudFrontOriginAccessIdentitiesRequest { - /** - * Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page). - */ - Marker?: string; - /** - * The maximum number of origin access identities you want in the response body. - */ - MaxItems?: string; - } - export interface ListCloudFrontOriginAccessIdentitiesResult { - /** - * The CloudFrontOriginAccessIdentityList type. - */ - CloudFrontOriginAccessIdentityList?: CloudFrontOriginAccessIdentityList; - } - export interface ListDistributionsByWebACLIdRequest { - /** - * Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.) - */ - Marker?: string; - /** - * The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100. - */ - MaxItems?: string; - /** - * The ID of the AWS WAF web ACL that you want to list the associated distributions. If you specify "null" for the ID, the request returns a list of the distributions that aren't associated with a web ACL. - */ - WebACLId: string; - } - export interface ListDistributionsByWebACLIdResult { - /** - * The DistributionList type. - */ - DistributionList?: DistributionList; - } - export interface ListDistributionsRequest { - /** - * Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page). - */ - Marker?: string; - /** - * The maximum number of distributions you want in the response body. - */ - MaxItems?: string; - } - export interface ListDistributionsResult { - /** - * The DistributionList type. - */ - DistributionList?: DistributionList; - } - export interface ListInvalidationsRequest { - /** - * The distribution's ID. - */ - DistributionId: string; - /** - * Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page. - */ - Marker?: string; - /** - * The maximum number of invalidation batches that you want in the response body. - */ - MaxItems?: string; - } - export interface ListInvalidationsResult { - /** - * Information about invalidation batches. - */ - InvalidationList?: InvalidationList; - } - export interface ListStreamingDistributionsRequest { - /** - * The value that you provided for the Marker request parameter. - */ - Marker?: string; - /** - * The value that you provided for the MaxItems request parameter. - */ - MaxItems?: string; - } - export interface ListStreamingDistributionsResult { - /** - * The StreamingDistributionList type. - */ - StreamingDistributionList?: StreamingDistributionList; - } - export interface ListTagsForResourceRequest { - /** - * An ARN of a CloudFront resource. - */ - Resource: ResourceARN; - } - export interface ListTagsForResourceResult { - /** - * A complex type that contains zero or more Tag elements. - */ - Tags: Tags; - } - export type LocationList = string[]; - export interface LoggingConfig { - /** - * Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket, prefix, and IncludeCookies, the values are automatically deleted. - */ - Enabled: boolean; - /** - * Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you do not want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies. - */ - IncludeCookies: boolean; - /** - * The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com. - */ - Bucket: string; - /** - * An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element. - */ - Prefix: string; - } - export type Method = "GET"|"HEAD"|"POST"|"PUT"|"PATCH"|"OPTIONS"|"DELETE"|string; - export type MethodsList = Method[]; - export type MinimumProtocolVersion = "SSLv3"|"TLSv1"|string; - export interface Origin { - /** - * A unique identifier for the origin. The value of Id must be unique within the distribution. When you specify the value of TargetOriginId for the default cache behavior or for another cache behavior, you indicate the origin to which you want the cache behavior to route requests by specifying the value of the Id element for that origin. When a request matches the path pattern for that cache behavior, CloudFront routes the request to the specified origin. For more information, see Cache Behavior Settings in the Amazon CloudFront Developer Guide. - */ - Id: string; - /** - * Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Constraints for Amazon S3 origins: If you configured Amazon S3 Transfer Acceleration for your bucket, do not specify the s3-accelerate endpoint for DomainName. The bucket name must be between 3 and 63 characters long (inclusive). The bucket name must contain only lowercase characters, numbers, periods, underscores, and dashes. The bucket name must not contain adjacent periods. Custom Origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com. Constraints for custom origins: DomainName must be a valid DNS name that contains only a-z, A-Z, 0-9, dot (.), hyphen (-), or underscore (_) characters. The name cannot exceed 128 characters. - */ - DomainName: string; - /** - * An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin. When you include the OriginPath element, specify the directory name, beginning with a /. CloudFront appends the directory name to the value of DomainName, for example, example.com/production. Do not include a / at the end of the directory name. For example, suppose you've specified the following values for your distribution: DomainName: An Amazon S3 bucket named myawsbucket. OriginPath: /production CNAME: example.com When a user enters example.com/index.html in a browser, CloudFront sends a request to Amazon S3 for myawsbucket/production/index.html. When a user enters example.com/acme/index.html in a browser, CloudFront sends a request to Amazon S3 for myawsbucket/production/acme/index.html. - */ - OriginPath?: string; - /** - * A complex type that contains names and values for the custom headers that you want. - */ - CustomHeaders?: CustomHeaders; - /** - * A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead. - */ - S3OriginConfig?: S3OriginConfig; - /** - * A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead. - */ - CustomOriginConfig?: CustomOriginConfig; - } - export interface OriginCustomHeader { - /** - * The name of a header that you want CloudFront to forward to your origin. For more information, see Forwarding Custom Headers to Your Origin (Web Distributions Only) in the Amazon Amazon CloudFront Developer Guide. - */ - HeaderName: string; - /** - * The value for the header that you specified in the HeaderName field. - */ - HeaderValue: string; - } - export type OriginCustomHeadersList = OriginCustomHeader[]; - export type OriginList = Origin[]; - export type OriginProtocolPolicy = "http-only"|"match-viewer"|"https-only"|string; - export interface OriginSslProtocols { - /** - * The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin. - */ - Quantity: integer; - /** - * A list that contains allowed SSL/TLS protocols for this distribution. - */ - Items: SslProtocolsList; - } - export interface Origins { - /** - * The number of origins for this distribution. - */ - Quantity: integer; - /** - * A complex type that contains origins for this distribution. - */ - Items?: OriginList; - } - export type PathList = string[]; - export interface Paths { - /** - * The number of objects that you want to invalidate. - */ - Quantity: integer; - /** - * A complex type that contains a list of the paths that you want to invalidate. - */ - Items?: PathList; - } - export type PriceClass = "PriceClass_100"|"PriceClass_200"|"PriceClass_All"|string; - export interface QueryStringCacheKeys { - /** - * The number of whitelisted query string parameters for this cache behavior. - */ - Quantity: integer; - /** - * (Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for caching for this cache behavior. If Quantity is 0, you can omit Items. - */ - Items?: QueryStringCacheKeysList; - } - export type QueryStringCacheKeysList = string[]; - export type ResourceARN = string; - export interface Restrictions { - GeoRestriction: GeoRestriction; - } - export interface S3Origin { - /** - * The DNS name of the Amazon S3 origin. - */ - DomainName: string; - /** - * The CloudFront origin access identity to associate with the RTMP distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon Amazon CloudFront Developer Guide. - */ - OriginAccessIdentity: string; - } - export interface S3OriginConfig { - /** - * The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is: origin-access-identity/cloudfront/ID-of-origin-access-identity where ID-of-origin-access-identity is the value that CloudFront returned in the ID element when you created the origin access identity. If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide. - */ - OriginAccessIdentity: string; - } - export type SSLSupportMethod = "sni-only"|"vip"|string; - export interface _Signer { - /** - * An AWS account that is included in the TrustedSigners complex type for this RTMP distribution. Valid values include: self, which is the AWS account used to create the distribution. An AWS account number. - */ - AwsAccountNumber?: string; - /** - * A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber. - */ - KeyPairIds?: KeyPairIds; - } - export type SignerList = _Signer[]; - export type SslProtocol = "SSLv3"|"TLSv1"|"TLSv1.1"|"TLSv1.2"|string; - export type SslProtocolsList = SslProtocol[]; - export interface StreamingDistribution { - /** - * The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE. - */ - Id: string; - ARN: string; - /** - * The current status of the RTMP distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations. - */ - Status: string; - /** - * The date and time that the distribution was last modified. - */ - LastModifiedTime?: timestamp; - /** - * The domain name that corresponds to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net. - */ - DomainName: string; - /** - * A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content. The Signer complex type lists the AWS account number of the trusted signer or self if the signer is the AWS account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide. - */ - ActiveTrustedSigners: ActiveTrustedSigners; - /** - * The current configuration information for the RTMP distribution. - */ - StreamingDistributionConfig: StreamingDistributionConfig; - } - export interface StreamingDistributionConfig { - /** - * A unique number that ensures that the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value that you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value that you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error. - */ - CallerReference: string; - /** - * A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution. - */ - S3Origin: S3Origin; - /** - * A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution. - */ - Aliases?: Aliases; - /** - * Any comments you want to include about the streaming distribution. - */ - Comment: string; - /** - * A complex type that controls whether access logs are written for the streaming distribution. - */ - Logging?: StreamingLoggingConfig; - /** - * A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide. - */ - TrustedSigners: TrustedSigners; - /** - * A complex type that contains information about price class for this streaming distribution. - */ - PriceClass?: PriceClass; - /** - * Whether the streaming distribution is enabled to accept user requests for content. - */ - Enabled: boolean; - } - export interface StreamingDistributionConfigWithTags { - /** - * A streaming distribution Configuration. - */ - StreamingDistributionConfig: StreamingDistributionConfig; - /** - * A complex type that contains zero or more Tag elements. - */ - Tags: Tags; - } - export interface StreamingDistributionList { - /** - * The value you provided for the Marker request parameter. - */ - Marker: string; - /** - * If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your RTMP distributions where they left off. - */ - NextMarker?: string; - /** - * The value you provided for the MaxItems request parameter. - */ - MaxItems: integer; - /** - * A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list. - */ - IsTruncated: boolean; - /** - * The number of streaming distributions that were created by the current AWS account. - */ - Quantity: integer; - /** - * A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current AWS account. - */ - Items?: StreamingDistributionSummaryList; - } - export interface StreamingDistributionSummary { - /** - * The identifier for the distribution. For example: EDFDVBD632BHDS5. - */ - Id: string; - /** - * The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID. - */ - ARN: string; - /** - * Indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system. - */ - Status: string; - /** - * The date and time the distribution was last modified. - */ - LastModifiedTime: timestamp; - /** - * The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net. - */ - DomainName: string; - /** - * A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution. - */ - S3Origin: S3Origin; - /** - * A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution. - */ - Aliases: Aliases; - /** - * A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items.If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution. - */ - TrustedSigners: TrustedSigners; - /** - * The comment originally specified when this distribution was created. - */ - Comment: string; - PriceClass: PriceClass; - /** - * Whether the distribution is enabled to accept end user requests for content. - */ - Enabled: boolean; - } - export type StreamingDistributionSummaryList = StreamingDistributionSummary[]; - export interface StreamingLoggingConfig { - /** - * Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted. - */ - Enabled: boolean; - /** - * The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com. - */ - Bucket: string; - /** - * An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element. - */ - Prefix: string; - } - export interface Tag { - /** - * A string that contains Tag key. The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @. - */ - Key: TagKey; - /** - * A string that contains an optional Tag value. The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @. - */ - Value?: TagValue; - } - export type TagKey = string; - export type TagKeyList = TagKey[]; - export interface TagKeys { - /** - * A complex type that contains Tag key elements. - */ - Items?: TagKeyList; - } - export type TagList = Tag[]; - export interface TagResourceRequest { - /** - * An ARN of a CloudFront resource. - */ - Resource: ResourceARN; - /** - * A complex type that contains zero or more Tag elements. - */ - Tags: Tags; - } - export type TagValue = string; - export interface Tags { - /** - * A complex type that contains Tag elements. - */ - Items?: TagList; - } - export interface TrustedSigners { - /** - * Specifies whether you want to require viewers to use signed URLs to access the files specified by PathPattern and TargetOriginId. - */ - Enabled: boolean; - /** - * The number of trusted signers for this cache behavior. - */ - Quantity: integer; - /** - * Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items. - */ - Items?: AwsAccountNumberList; - } - export interface UntagResourceRequest { - /** - * An ARN of a CloudFront resource. - */ - Resource: ResourceARN; - /** - * A complex type that contains zero or more Tag key elements. - */ - TagKeys: TagKeys; - } - export interface UpdateCloudFrontOriginAccessIdentityRequest { - /** - * The identity's configuration information. - */ - CloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfig; - /** - * The identity's id. - */ - Id: string; - /** - * The value of the ETag header that you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL. - */ - IfMatch?: string; - } - export interface UpdateCloudFrontOriginAccessIdentityResult { - /** - * The origin access identity's information. - */ - CloudFrontOriginAccessIdentity?: CloudFrontOriginAccessIdentity; - /** - * The current version of the configuration. For example: E2QWRUHAPOMQZL. - */ - ETag?: string; - } - export interface UpdateDistributionRequest { - /** - * The distribution's configuration information. - */ - DistributionConfig: DistributionConfig; - /** - * The distribution's id. - */ - Id: string; - /** - * The value of the ETag header that you received when retrieving the distribution's configuration. For example: E2QWRUHAPOMQZL. - */ - IfMatch?: string; - } - export interface UpdateDistributionResult { - /** - * The distribution's information. - */ - Distribution?: Distribution; - /** - * The current version of the configuration. For example: E2QWRUHAPOMQZL. - */ - ETag?: string; - } - export interface UpdateStreamingDistributionRequest { - /** - * The streaming distribution's configuration information. - */ - StreamingDistributionConfig: StreamingDistributionConfig; - /** - * The streaming distribution's id. - */ - Id: string; - /** - * The value of the ETag header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL. - */ - IfMatch?: string; - } - export interface UpdateStreamingDistributionResult { - /** - * The streaming distribution's information. - */ - StreamingDistribution?: StreamingDistribution; - /** - * The current version of the configuration. For example: E2QWRUHAPOMQZL. - */ - ETag?: string; - } - export interface ViewerCertificate { - CloudFrontDefaultCertificate?: boolean; - IAMCertificateId?: string; - ACMCertificateArn?: string; - /** - * If you specify a value for ACMCertificateArn or for IAMCertificateId, you must also specify how you want CloudFront to serve HTTPS requests: using a method that works for all clients or one that works for most clients: vip: CloudFront uses dedicated IP addresses for your content and can respond to HTTPS requests from any viewer. However, you will incur additional monthly charges. sni-only: CloudFront can respond to HTTPS requests from viewers that support Server Name Indication (SNI). All modern browsers support SNI, but some browsers still in use don't support SNI. If some of your users' browsers don't support SNI, we recommend that you do one of the following: Use the vip option (dedicated IP addresses) instead of sni-only. Use the CloudFront SSL/TLS certificate instead of a custom certificate. This requires that you use the CloudFront domain name of your distribution in the URLs for your objects, for example, https://d111111abcdef8.cloudfront.net/logo.png. If you can control which browser your users use, upgrade the browser to one that supports SNI. Use HTTP instead of HTTPS. Do not specify a value for SSLSupportMethod if you specified <CloudFrontDefaultCertificate>true<CloudFrontDefaultCertificate>. For more information, see Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide. - */ - SSLSupportMethod?: SSLSupportMethod; - /** - * Specify the minimum version of the SSL/TLS protocol that you want CloudFront to use for HTTPS connections between viewers and CloudFront: SSLv3 or TLSv1. CloudFront serves your objects only to viewers that support SSL/TLS version that you specify and later versions. The TLSv1 protocol is more secure, so we recommend that you specify SSLv3 only if your users are using browsers or devices that don't support TLSv1. Note the following: If you specify <CloudFrontDefaultCertificate>true<CloudFrontDefaultCertificate>, the minimum SSL protocol version is TLSv1 and can't be changed. If you're using a custom certificate (if you specify a value for ACMCertificateArn or for IAMCertificateId) and if you're using SNI (if you specify sni-only for SSLSupportMethod), you must specify TLSv1 for MinimumProtocolVersion. - */ - MinimumProtocolVersion?: MinimumProtocolVersion; - /** - * Include one of these values to specify the following: Whether you want viewers to use HTTP or HTTPS to request your objects. If you want viewers to use HTTPS, whether you're using an alternate domain name such as example.com or the CloudFront domain name for your distribution, such as d111111abcdef8.cloudfront.net. If you're using an alternate domain name, whether AWS Certificate Manager (ACM) provided the certificate, or you purchased a certificate from a third-party certificate authority and imported it into ACM or uploaded it to the IAM certificate store. You must specify one (and only one) of the three values. Do not specify false for CloudFrontDefaultCertificate. If you want viewers to use HTTP to request your objects: Specify the following value: <CloudFrontDefaultCertificate>true<CloudFrontDefaultCertificate> In addition, specify allow-all for ViewerProtocolPolicy for all of your cache behaviors. If you want viewers to use HTTPS to request your objects: Choose the type of certificate that you want to use based on whether you're using an alternate domain name for your objects or the CloudFront domain name: If you're using an alternate domain name, such as example.com: Specify one of the following values, depending on whether ACM provided your certificate or you purchased your certificate from third-party certificate authority: <ACMCertificateArn>ARN for ACM SSL/TLS certificate<ACMCertificateArn> where ARN for ACM SSL/TLS certificate is the ARN for the ACM SSL/TLS certificate that you want to use for this distribution. <IAMCertificateId>IAM certificate ID<IAMCertificateId> where IAM certificate ID is the ID that IAM returned when you added the certificate to the IAM certificate store. If you specify ACMCertificateArn or IAMCertificateId, you must also specify a value for SSLSupportMethod. If you choose to use an ACM certificate or a certificate in the IAM certificate store, we recommend that you use only an alternate domain name in your object URLs (https://example.com/logo.jpg). If you use the domain name that is associated with your CloudFront distribution (https://d111111abcdef8.cloudfront.net/logo.jpg) and the viewer supports SNI, then CloudFront behaves normally. However, if the browser does not support SNI, the user's experience depends on the value that you choose for SSLSupportMethod: vip: The viewer displays a warning because there is a mismatch between the CloudFront domain name and the domain name in your SSL/TLS certificate. sni-only: CloudFront drops the connection with the browser without returning the object. If you're using the CloudFront domain name for your distribution, such as d111111abcdef8.cloudfront.net : Specify the following value: <CloudFrontDefaultCertificate>true<CloudFrontDefaultCertificate> If you want viewers to use HTTPS, you must also specify one of the following values in your cache behaviors: <ViewerProtocolPolicy>https-only<ViewerProtocolPolicy> <ViewerProtocolPolicy>redirect-to-https<ViewerProtocolPolicy> You can also optionally require that CloudFront use HTTPS to communicate with your origin by specifying one of the following values for the applicable origins: <OriginProtocolPolicy>https-only<OriginProtocolPolicy> <OriginProtocolPolicy>match-viewer<OriginProtocolPolicy> For more information, see Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide. - */ - Certificate?: string; - /** - * This field is deprecated. You can use one of the following: [ACMCertificateArn, IAMCertificateId, or CloudFrontDefaultCertificate]. - */ - CertificateSource?: CertificateSource; - } - export type ViewerProtocolPolicy = "allow-all"|"https-only"|"redirect-to-https"|string; - export type integer = number; - export type long = number; - export type timestamp = Date; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2013-05-12"|"2013-11-11"|"2014-05-31"|"2014-10-21"|"2014-11-06"|"2015-04-17"|"2015-07-27"|"2015-09-17"|"2016-01-13"|"2016-01-28"|"2016-08-01"|"2016-08-20"|"2016-09-07"|"2016-09-29"|"2016-11-25"|"2016-11-25"|"2017-03-25"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CloudFront client. - */ - export import Types = CloudFront; -} -export = CloudFront; diff --git a/src/node_modules/aws-sdk/clients/cloudfront.js b/src/node_modules/aws-sdk/clients/cloudfront.js deleted file mode 100644 index a98b958..0000000 --- a/src/node_modules/aws-sdk/clients/cloudfront.js +++ /dev/null @@ -1,30 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cloudfront'] = {}; -AWS.CloudFront = Service.defineService('cloudfront', ['2013-05-12*', '2013-11-11*', '2014-05-31*', '2014-10-21*', '2014-11-06*', '2015-04-17*', '2015-07-27*', '2015-09-17*', '2016-01-13*', '2016-01-28*', '2016-08-01*', '2016-08-20*', '2016-09-07*', '2016-09-29*', '2016-11-25', '2016-11-25*', '2017-03-25']); -require('../lib/services/cloudfront'); -Object.defineProperty(apiLoader.services['cloudfront'], '2016-11-25', { - get: function get() { - var model = require('../apis/cloudfront-2016-11-25.min.json'); - model.paginators = require('../apis/cloudfront-2016-11-25.paginators.json').pagination; - model.waiters = require('../apis/cloudfront-2016-11-25.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['cloudfront'], '2017-03-25', { - get: function get() { - var model = require('../apis/cloudfront-2017-03-25.min.json'); - model.paginators = require('../apis/cloudfront-2017-03-25.paginators.json').pagination; - model.waiters = require('../apis/cloudfront-2017-03-25.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudFront; diff --git a/src/node_modules/aws-sdk/clients/cloudhsm.d.ts b/src/node_modules/aws-sdk/clients/cloudhsm.d.ts deleted file mode 100644 index c9080d8..0000000 --- a/src/node_modules/aws-sdk/clients/cloudhsm.d.ts +++ /dev/null @@ -1,696 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CloudHSM extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CloudHSM.Types.ClientConfiguration) - config: Config & CloudHSM.Types.ClientConfiguration; - /** - * Adds or overwrites one or more tags for the specified AWS CloudHSM resource. Each tag consists of a key and a value. Tag keys must be unique to each resource. - */ - addTagsToResource(params: CloudHSM.Types.AddTagsToResourceRequest, callback?: (err: AWSError, data: CloudHSM.Types.AddTagsToResourceResponse) => void): Request; - /** - * Adds or overwrites one or more tags for the specified AWS CloudHSM resource. Each tag consists of a key and a value. Tag keys must be unique to each resource. - */ - addTagsToResource(callback?: (err: AWSError, data: CloudHSM.Types.AddTagsToResourceResponse) => void): Request; - /** - * Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs. - */ - createHapg(params: CloudHSM.Types.CreateHapgRequest, callback?: (err: AWSError, data: CloudHSM.Types.CreateHapgResponse) => void): Request; - /** - * Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs. - */ - createHapg(callback?: (err: AWSError, data: CloudHSM.Types.CreateHapgResponse) => void): Request; - /** - * Creates an uninitialized HSM instance. There is an upfront fee charged for each HSM instance that you create with the CreateHsm operation. If you accidentally provision an HSM and want to request a refund, delete the instance using the DeleteHsm operation, go to the AWS Support Center, create a new case, and select Account and Billing Support. It can take up to 20 minutes to create and provision an HSM. You can monitor the status of the HSM with the DescribeHsm operation. The HSM is ready to be initialized when the status changes to RUNNING. - */ - createHsm(params: CloudHSM.Types.CreateHsmRequest, callback?: (err: AWSError, data: CloudHSM.Types.CreateHsmResponse) => void): Request; - /** - * Creates an uninitialized HSM instance. There is an upfront fee charged for each HSM instance that you create with the CreateHsm operation. If you accidentally provision an HSM and want to request a refund, delete the instance using the DeleteHsm operation, go to the AWS Support Center, create a new case, and select Account and Billing Support. It can take up to 20 minutes to create and provision an HSM. You can monitor the status of the HSM with the DescribeHsm operation. The HSM is ready to be initialized when the status changes to RUNNING. - */ - createHsm(callback?: (err: AWSError, data: CloudHSM.Types.CreateHsmResponse) => void): Request; - /** - * Creates an HSM client. - */ - createLunaClient(params: CloudHSM.Types.CreateLunaClientRequest, callback?: (err: AWSError, data: CloudHSM.Types.CreateLunaClientResponse) => void): Request; - /** - * Creates an HSM client. - */ - createLunaClient(callback?: (err: AWSError, data: CloudHSM.Types.CreateLunaClientResponse) => void): Request; - /** - * Deletes a high-availability partition group. - */ - deleteHapg(params: CloudHSM.Types.DeleteHapgRequest, callback?: (err: AWSError, data: CloudHSM.Types.DeleteHapgResponse) => void): Request; - /** - * Deletes a high-availability partition group. - */ - deleteHapg(callback?: (err: AWSError, data: CloudHSM.Types.DeleteHapgResponse) => void): Request; - /** - * Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered. - */ - deleteHsm(params: CloudHSM.Types.DeleteHsmRequest, callback?: (err: AWSError, data: CloudHSM.Types.DeleteHsmResponse) => void): Request; - /** - * Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered. - */ - deleteHsm(callback?: (err: AWSError, data: CloudHSM.Types.DeleteHsmResponse) => void): Request; - /** - * Deletes a client. - */ - deleteLunaClient(params: CloudHSM.Types.DeleteLunaClientRequest, callback?: (err: AWSError, data: CloudHSM.Types.DeleteLunaClientResponse) => void): Request; - /** - * Deletes a client. - */ - deleteLunaClient(callback?: (err: AWSError, data: CloudHSM.Types.DeleteLunaClientResponse) => void): Request; - /** - * Retrieves information about a high-availability partition group. - */ - describeHapg(params: CloudHSM.Types.DescribeHapgRequest, callback?: (err: AWSError, data: CloudHSM.Types.DescribeHapgResponse) => void): Request; - /** - * Retrieves information about a high-availability partition group. - */ - describeHapg(callback?: (err: AWSError, data: CloudHSM.Types.DescribeHapgResponse) => void): Request; - /** - * Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number. - */ - describeHsm(params: CloudHSM.Types.DescribeHsmRequest, callback?: (err: AWSError, data: CloudHSM.Types.DescribeHsmResponse) => void): Request; - /** - * Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number. - */ - describeHsm(callback?: (err: AWSError, data: CloudHSM.Types.DescribeHsmResponse) => void): Request; - /** - * Retrieves information about an HSM client. - */ - describeLunaClient(params: CloudHSM.Types.DescribeLunaClientRequest, callback?: (err: AWSError, data: CloudHSM.Types.DescribeLunaClientResponse) => void): Request; - /** - * Retrieves information about an HSM client. - */ - describeLunaClient(callback?: (err: AWSError, data: CloudHSM.Types.DescribeLunaClientResponse) => void): Request; - /** - * Gets the configuration files necessary to connect to all high availability partition groups the client is associated with. - */ - getConfig(params: CloudHSM.Types.GetConfigRequest, callback?: (err: AWSError, data: CloudHSM.Types.GetConfigResponse) => void): Request; - /** - * Gets the configuration files necessary to connect to all high availability partition groups the client is associated with. - */ - getConfig(callback?: (err: AWSError, data: CloudHSM.Types.GetConfigResponse) => void): Request; - /** - * Lists the Availability Zones that have available AWS CloudHSM capacity. - */ - listAvailableZones(params: CloudHSM.Types.ListAvailableZonesRequest, callback?: (err: AWSError, data: CloudHSM.Types.ListAvailableZonesResponse) => void): Request; - /** - * Lists the Availability Zones that have available AWS CloudHSM capacity. - */ - listAvailableZones(callback?: (err: AWSError, data: CloudHSM.Types.ListAvailableZonesResponse) => void): Request; - /** - * Lists the high-availability partition groups for the account. This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items. - */ - listHapgs(params: CloudHSM.Types.ListHapgsRequest, callback?: (err: AWSError, data: CloudHSM.Types.ListHapgsResponse) => void): Request; - /** - * Lists the high-availability partition groups for the account. This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items. - */ - listHapgs(callback?: (err: AWSError, data: CloudHSM.Types.ListHapgsResponse) => void): Request; - /** - * Retrieves the identifiers of all of the HSMs provisioned for the current customer. This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items. - */ - listHsms(params: CloudHSM.Types.ListHsmsRequest, callback?: (err: AWSError, data: CloudHSM.Types.ListHsmsResponse) => void): Request; - /** - * Retrieves the identifiers of all of the HSMs provisioned for the current customer. This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items. - */ - listHsms(callback?: (err: AWSError, data: CloudHSM.Types.ListHsmsResponse) => void): Request; - /** - * Lists all of the clients. This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items. - */ - listLunaClients(params: CloudHSM.Types.ListLunaClientsRequest, callback?: (err: AWSError, data: CloudHSM.Types.ListLunaClientsResponse) => void): Request; - /** - * Lists all of the clients. This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items. - */ - listLunaClients(callback?: (err: AWSError, data: CloudHSM.Types.ListLunaClientsResponse) => void): Request; - /** - * Returns a list of all tags for the specified AWS CloudHSM resource. - */ - listTagsForResource(params: CloudHSM.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: CloudHSM.Types.ListTagsForResourceResponse) => void): Request; - /** - * Returns a list of all tags for the specified AWS CloudHSM resource. - */ - listTagsForResource(callback?: (err: AWSError, data: CloudHSM.Types.ListTagsForResourceResponse) => void): Request; - /** - * Modifies an existing high-availability partition group. - */ - modifyHapg(params: CloudHSM.Types.ModifyHapgRequest, callback?: (err: AWSError, data: CloudHSM.Types.ModifyHapgResponse) => void): Request; - /** - * Modifies an existing high-availability partition group. - */ - modifyHapg(callback?: (err: AWSError, data: CloudHSM.Types.ModifyHapgResponse) => void): Request; - /** - * Modifies an HSM. This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window. - */ - modifyHsm(params: CloudHSM.Types.ModifyHsmRequest, callback?: (err: AWSError, data: CloudHSM.Types.ModifyHsmResponse) => void): Request; - /** - * Modifies an HSM. This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window. - */ - modifyHsm(callback?: (err: AWSError, data: CloudHSM.Types.ModifyHsmResponse) => void): Request; - /** - * Modifies the certificate used by the client. This action can potentially start a workflow to install the new certificate on the client's HSMs. - */ - modifyLunaClient(params: CloudHSM.Types.ModifyLunaClientRequest, callback?: (err: AWSError, data: CloudHSM.Types.ModifyLunaClientResponse) => void): Request; - /** - * Modifies the certificate used by the client. This action can potentially start a workflow to install the new certificate on the client's HSMs. - */ - modifyLunaClient(callback?: (err: AWSError, data: CloudHSM.Types.ModifyLunaClientResponse) => void): Request; - /** - * Removes one or more tags from the specified AWS CloudHSM resource. To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource. - */ - removeTagsFromResource(params: CloudHSM.Types.RemoveTagsFromResourceRequest, callback?: (err: AWSError, data: CloudHSM.Types.RemoveTagsFromResourceResponse) => void): Request; - /** - * Removes one or more tags from the specified AWS CloudHSM resource. To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource. - */ - removeTagsFromResource(callback?: (err: AWSError, data: CloudHSM.Types.RemoveTagsFromResourceResponse) => void): Request; -} -declare namespace CloudHSM { - export type AZ = string; - export type AZList = AZ[]; - export interface AddTagsToResourceRequest { - /** - * The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag. - */ - ResourceArn: String; - /** - * One or more tags. - */ - TagList: TagList; - } - export interface AddTagsToResourceResponse { - /** - * The status of the operation. - */ - Status: String; - } - export type Boolean = boolean; - export type Certificate = string; - export type CertificateFingerprint = string; - export type ClientArn = string; - export type ClientLabel = string; - export type ClientList = ClientArn[]; - export type ClientToken = string; - export type ClientVersion = "5.1"|"5.3"|string; - export type CloudHsmObjectState = "READY"|"UPDATING"|"DEGRADED"|string; - export interface CreateHapgRequest { - /** - * The label of the new high-availability partition group. - */ - Label: Label; - } - export interface CreateHapgResponse { - /** - * The ARN of the high-availability partition group. - */ - HapgArn?: HapgArn; - } - export interface CreateHsmRequest { - /** - * The identifier of the subnet in your VPC in which to place the HSM. - */ - SubnetId: SubnetId; - /** - * The SSH public key to install on the HSM. - */ - SshKey: SshKey; - /** - * The IP address to assign to the HSM's ENI. If an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the subnet. - */ - EniIp?: IpAddress; - /** - * The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf. - */ - IamRoleArn: IamRoleArn; - /** - * The external ID from IamRoleArn, if present. - */ - ExternalId?: ExternalId; - SubscriptionType: SubscriptionType; - /** - * A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored. - */ - ClientToken?: ClientToken; - /** - * The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server. - */ - SyslogIp?: IpAddress; - } - export interface CreateHsmResponse { - /** - * The ARN of the HSM. - */ - HsmArn?: HsmArn; - } - export interface CreateLunaClientRequest { - /** - * The label for the client. - */ - Label?: ClientLabel; - /** - * The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client. - */ - Certificate: Certificate; - } - export interface CreateLunaClientResponse { - /** - * The ARN of the client. - */ - ClientArn?: ClientArn; - } - export interface DeleteHapgRequest { - /** - * The ARN of the high-availability partition group to delete. - */ - HapgArn: HapgArn; - } - export interface DeleteHapgResponse { - /** - * The status of the action. - */ - Status: String; - } - export interface DeleteHsmRequest { - /** - * The ARN of the HSM to delete. - */ - HsmArn: HsmArn; - } - export interface DeleteHsmResponse { - /** - * The status of the operation. - */ - Status: String; - } - export interface DeleteLunaClientRequest { - /** - * The ARN of the client to delete. - */ - ClientArn: ClientArn; - } - export interface DeleteLunaClientResponse { - /** - * The status of the action. - */ - Status: String; - } - export interface DescribeHapgRequest { - /** - * The ARN of the high-availability partition group to describe. - */ - HapgArn: HapgArn; - } - export interface DescribeHapgResponse { - /** - * The ARN of the high-availability partition group. - */ - HapgArn?: HapgArn; - /** - * The serial number of the high-availability partition group. - */ - HapgSerial?: String; - HsmsLastActionFailed?: HsmList; - HsmsPendingDeletion?: HsmList; - HsmsPendingRegistration?: HsmList; - /** - * The label for the high-availability partition group. - */ - Label?: Label; - /** - * The date and time the high-availability partition group was last modified. - */ - LastModifiedTimestamp?: Timestamp; - /** - * The list of partition serial numbers that belong to the high-availability partition group. - */ - PartitionSerialList?: PartitionSerialList; - /** - * The state of the high-availability partition group. - */ - State?: CloudHsmObjectState; - } - export interface DescribeHsmRequest { - /** - * The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified. - */ - HsmArn?: HsmArn; - /** - * The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified. - */ - HsmSerialNumber?: HsmSerialNumber; - } - export interface DescribeHsmResponse { - /** - * The ARN of the HSM. - */ - HsmArn?: HsmArn; - /** - * The status of the HSM. - */ - Status?: HsmStatus; - /** - * Contains additional information about the status of the HSM. - */ - StatusDetails?: String; - /** - * The Availability Zone that the HSM is in. - */ - AvailabilityZone?: AZ; - /** - * The identifier of the elastic network interface (ENI) attached to the HSM. - */ - EniId?: EniId; - /** - * The IP address assigned to the HSM's ENI. - */ - EniIp?: IpAddress; - SubscriptionType?: SubscriptionType; - /** - * The subscription start date. - */ - SubscriptionStartDate?: Timestamp; - /** - * The subscription end date. - */ - SubscriptionEndDate?: Timestamp; - /** - * The identifier of the VPC that the HSM is in. - */ - VpcId?: VpcId; - /** - * The identifier of the subnet that the HSM is in. - */ - SubnetId?: SubnetId; - /** - * The ARN of the IAM role assigned to the HSM. - */ - IamRoleArn?: IamRoleArn; - /** - * The serial number of the HSM. - */ - SerialNumber?: HsmSerialNumber; - /** - * The name of the HSM vendor. - */ - VendorName?: String; - /** - * The HSM model type. - */ - HsmType?: String; - /** - * The HSM software version. - */ - SoftwareVersion?: String; - /** - * The public SSH key. - */ - SshPublicKey?: SshKey; - /** - * The date and time that the SSH key was last updated. - */ - SshKeyLastUpdated?: Timestamp; - /** - * The URI of the certificate server. - */ - ServerCertUri?: String; - /** - * The date and time that the server certificate was last updated. - */ - ServerCertLastUpdated?: Timestamp; - /** - * The list of partitions on the HSM. - */ - Partitions?: PartitionList; - } - export interface DescribeLunaClientRequest { - /** - * The ARN of the client. - */ - ClientArn?: ClientArn; - /** - * The certificate fingerprint. - */ - CertificateFingerprint?: CertificateFingerprint; - } - export interface DescribeLunaClientResponse { - /** - * The ARN of the client. - */ - ClientArn?: ClientArn; - /** - * The certificate installed on the HSMs used by this client. - */ - Certificate?: Certificate; - /** - * The certificate fingerprint. - */ - CertificateFingerprint?: CertificateFingerprint; - /** - * The date and time the client was last modified. - */ - LastModifiedTimestamp?: Timestamp; - /** - * The label of the client. - */ - Label?: Label; - } - export type EniId = string; - export type ExternalId = string; - export interface GetConfigRequest { - /** - * The ARN of the client. - */ - ClientArn: ClientArn; - /** - * The client version. - */ - ClientVersion: ClientVersion; - /** - * A list of ARNs that identify the high-availability partition groups that are associated with the client. - */ - HapgList: HapgList; - } - export interface GetConfigResponse { - /** - * The type of credentials. - */ - ConfigType?: String; - /** - * The chrystoki.conf configuration file. - */ - ConfigFile?: String; - /** - * The certificate file containing the server.pem files of the HSMs. - */ - ConfigCred?: String; - } - export type HapgArn = string; - export type HapgList = HapgArn[]; - export type HsmArn = string; - export type HsmList = HsmArn[]; - export type HsmSerialNumber = string; - export type HsmStatus = "PENDING"|"RUNNING"|"UPDATING"|"SUSPENDED"|"TERMINATING"|"TERMINATED"|"DEGRADED"|string; - export type IamRoleArn = string; - export type IpAddress = string; - export type Label = string; - export interface ListAvailableZonesRequest { - } - export interface ListAvailableZonesResponse { - /** - * The list of Availability Zones that have available AWS CloudHSM capacity. - */ - AZList?: AZList; - } - export interface ListHapgsRequest { - /** - * The NextToken value from a previous call to ListHapgs. Pass null if this is the first call. - */ - NextToken?: PaginationToken; - } - export interface ListHapgsResponse { - /** - * The list of high-availability partition groups. - */ - HapgList: HapgList; - /** - * If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items. - */ - NextToken?: PaginationToken; - } - export interface ListHsmsRequest { - /** - * The NextToken value from a previous call to ListHsms. Pass null if this is the first call. - */ - NextToken?: PaginationToken; - } - export interface ListHsmsResponse { - /** - * The list of ARNs that identify the HSMs. - */ - HsmList?: HsmList; - /** - * If not null, more results are available. Pass this value to ListHsms to retrieve the next set of items. - */ - NextToken?: PaginationToken; - } - export interface ListLunaClientsRequest { - /** - * The NextToken value from a previous call to ListLunaClients. Pass null if this is the first call. - */ - NextToken?: PaginationToken; - } - export interface ListLunaClientsResponse { - /** - * The list of clients. - */ - ClientList: ClientList; - /** - * If not null, more results are available. Pass this to ListLunaClients to retrieve the next set of items. - */ - NextToken?: PaginationToken; - } - export interface ListTagsForResourceRequest { - /** - * The Amazon Resource Name (ARN) of the AWS CloudHSM resource. - */ - ResourceArn: String; - } - export interface ListTagsForResourceResponse { - /** - * One or more tags. - */ - TagList: TagList; - } - export interface ModifyHapgRequest { - /** - * The ARN of the high-availability partition group to modify. - */ - HapgArn: HapgArn; - /** - * The new label for the high-availability partition group. - */ - Label?: Label; - /** - * The list of partition serial numbers to make members of the high-availability partition group. - */ - PartitionSerialList?: PartitionSerialList; - } - export interface ModifyHapgResponse { - /** - * The ARN of the high-availability partition group. - */ - HapgArn?: HapgArn; - } - export interface ModifyHsmRequest { - /** - * The ARN of the HSM to modify. - */ - HsmArn: HsmArn; - /** - * The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet. - */ - SubnetId?: SubnetId; - /** - * The new IP address for the elastic network interface (ENI) attached to the HSM. If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet. - */ - EniIp?: IpAddress; - /** - * The new IAM role ARN. - */ - IamRoleArn?: IamRoleArn; - /** - * The new external ID. - */ - ExternalId?: ExternalId; - /** - * The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server. - */ - SyslogIp?: IpAddress; - } - export interface ModifyHsmResponse { - /** - * The ARN of the HSM. - */ - HsmArn?: HsmArn; - } - export interface ModifyLunaClientRequest { - /** - * The ARN of the client. - */ - ClientArn: ClientArn; - /** - * The new certificate for the client. - */ - Certificate: Certificate; - } - export interface ModifyLunaClientResponse { - /** - * The ARN of the client. - */ - ClientArn?: ClientArn; - } - export type PaginationToken = string; - export type PartitionArn = string; - export type PartitionList = PartitionArn[]; - export type PartitionSerial = string; - export type PartitionSerialList = PartitionSerial[]; - export interface RemoveTagsFromResourceRequest { - /** - * The Amazon Resource Name (ARN) of the AWS CloudHSM resource. - */ - ResourceArn: String; - /** - * The tag key or keys to remove. Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource. - */ - TagKeyList: TagKeyList; - } - export interface RemoveTagsFromResourceResponse { - /** - * The status of the operation. - */ - Status: String; - } - export type SshKey = string; - export type String = string; - export type SubnetId = string; - export type SubscriptionType = "PRODUCTION"|string; - export interface Tag { - /** - * The key of the tag. - */ - Key: TagKey; - /** - * The value of the tag. - */ - Value: TagValue; - } - export type TagKey = string; - export type TagKeyList = TagKey[]; - export type TagList = Tag[]; - export type TagValue = string; - export type Timestamp = string; - export type VpcId = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-05-30"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CloudHSM client. - */ - export import Types = CloudHSM; -} -export = CloudHSM; diff --git a/src/node_modules/aws-sdk/clients/cloudhsm.js b/src/node_modules/aws-sdk/clients/cloudhsm.js deleted file mode 100644 index fa4ff36..0000000 --- a/src/node_modules/aws-sdk/clients/cloudhsm.js +++ /dev/null @@ -1,17 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cloudhsm'] = {}; -AWS.CloudHSM = Service.defineService('cloudhsm', ['2014-05-30']); -Object.defineProperty(apiLoader.services['cloudhsm'], '2014-05-30', { - get: function get() { - var model = require('../apis/cloudhsm-2014-05-30.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudHSM; diff --git a/src/node_modules/aws-sdk/clients/cloudsearch.d.ts b/src/node_modules/aws-sdk/clients/cloudsearch.d.ts deleted file mode 100644 index 9f841e5..0000000 --- a/src/node_modules/aws-sdk/clients/cloudsearch.d.ts +++ /dev/null @@ -1,985 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CloudSearch extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CloudSearch.Types.ClientConfiguration) - config: Config & CloudSearch.Types.ClientConfiguration; - /** - * Indexes the search suggestions. For more information, see Configuring Suggesters in the Amazon CloudSearch Developer Guide. - */ - buildSuggesters(params: CloudSearch.Types.BuildSuggestersRequest, callback?: (err: AWSError, data: CloudSearch.Types.BuildSuggestersResponse) => void): Request; - /** - * Indexes the search suggestions. For more information, see Configuring Suggesters in the Amazon CloudSearch Developer Guide. - */ - buildSuggesters(callback?: (err: AWSError, data: CloudSearch.Types.BuildSuggestersResponse) => void): Request; - /** - * Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide. - */ - createDomain(params: CloudSearch.Types.CreateDomainRequest, callback?: (err: AWSError, data: CloudSearch.Types.CreateDomainResponse) => void): Request; - /** - * Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide. - */ - createDomain(callback?: (err: AWSError, data: CloudSearch.Types.CreateDomainResponse) => void): Request; - /** - * Configures an analysis scheme that can be applied to a text or text-array field to define language-specific text processing options. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide. - */ - defineAnalysisScheme(params: CloudSearch.Types.DefineAnalysisSchemeRequest, callback?: (err: AWSError, data: CloudSearch.Types.DefineAnalysisSchemeResponse) => void): Request; - /** - * Configures an analysis scheme that can be applied to a text or text-array field to define language-specific text processing options. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide. - */ - defineAnalysisScheme(callback?: (err: AWSError, data: CloudSearch.Types.DefineAnalysisSchemeResponse) => void): Request; - /** - * Configures an Expression for the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide. - */ - defineExpression(params: CloudSearch.Types.DefineExpressionRequest, callback?: (err: AWSError, data: CloudSearch.Types.DefineExpressionResponse) => void): Request; - /** - * Configures an Expression for the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide. - */ - defineExpression(callback?: (err: AWSError, data: CloudSearch.Types.DefineExpressionResponse) => void): Request; - /** - * Configures an IndexField for the search domain. Used to create new fields and modify existing ones. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on the IndexFieldType. If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide. - */ - defineIndexField(params: CloudSearch.Types.DefineIndexFieldRequest, callback?: (err: AWSError, data: CloudSearch.Types.DefineIndexFieldResponse) => void): Request; - /** - * Configures an IndexField for the search domain. Used to create new fields and modify existing ones. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on the IndexFieldType. If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide. - */ - defineIndexField(callback?: (err: AWSError, data: CloudSearch.Types.DefineIndexFieldResponse) => void): Request; - /** - * Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide. - */ - defineSuggester(params: CloudSearch.Types.DefineSuggesterRequest, callback?: (err: AWSError, data: CloudSearch.Types.DefineSuggesterResponse) => void): Request; - /** - * Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide. - */ - defineSuggester(callback?: (err: AWSError, data: CloudSearch.Types.DefineSuggesterResponse) => void): Request; - /** - * Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide. - */ - deleteAnalysisScheme(params: CloudSearch.Types.DeleteAnalysisSchemeRequest, callback?: (err: AWSError, data: CloudSearch.Types.DeleteAnalysisSchemeResponse) => void): Request; - /** - * Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide. - */ - deleteAnalysisScheme(callback?: (err: AWSError, data: CloudSearch.Types.DeleteAnalysisSchemeResponse) => void): Request; - /** - * Permanently deletes a search domain and all of its data. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide. - */ - deleteDomain(params: CloudSearch.Types.DeleteDomainRequest, callback?: (err: AWSError, data: CloudSearch.Types.DeleteDomainResponse) => void): Request; - /** - * Permanently deletes a search domain and all of its data. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide. - */ - deleteDomain(callback?: (err: AWSError, data: CloudSearch.Types.DeleteDomainResponse) => void): Request; - /** - * Removes an Expression from the search domain. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide. - */ - deleteExpression(params: CloudSearch.Types.DeleteExpressionRequest, callback?: (err: AWSError, data: CloudSearch.Types.DeleteExpressionResponse) => void): Request; - /** - * Removes an Expression from the search domain. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide. - */ - deleteExpression(callback?: (err: AWSError, data: CloudSearch.Types.DeleteExpressionResponse) => void): Request; - /** - * Removes an IndexField from the search domain. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide. - */ - deleteIndexField(params: CloudSearch.Types.DeleteIndexFieldRequest, callback?: (err: AWSError, data: CloudSearch.Types.DeleteIndexFieldResponse) => void): Request; - /** - * Removes an IndexField from the search domain. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide. - */ - deleteIndexField(callback?: (err: AWSError, data: CloudSearch.Types.DeleteIndexFieldResponse) => void): Request; - /** - * Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide. - */ - deleteSuggester(params: CloudSearch.Types.DeleteSuggesterRequest, callback?: (err: AWSError, data: CloudSearch.Types.DeleteSuggesterResponse) => void): Request; - /** - * Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide. - */ - deleteSuggester(callback?: (err: AWSError, data: CloudSearch.Types.DeleteSuggesterResponse) => void): Request; - /** - * Gets the analysis schemes configured for a domain. An analysis scheme defines language-specific text processing options for a text field. Can be limited to specific analysis schemes by name. By default, shows all analysis schemes and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide. - */ - describeAnalysisSchemes(params: CloudSearch.Types.DescribeAnalysisSchemesRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeAnalysisSchemesResponse) => void): Request; - /** - * Gets the analysis schemes configured for a domain. An analysis scheme defines language-specific text processing options for a text field. Can be limited to specific analysis schemes by name. By default, shows all analysis schemes and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide. - */ - describeAnalysisSchemes(callback?: (err: AWSError, data: CloudSearch.Types.DescribeAnalysisSchemesResponse) => void): Request; - /** - * Gets the availability options configured for a domain. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide. - */ - describeAvailabilityOptions(params: CloudSearch.Types.DescribeAvailabilityOptionsRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeAvailabilityOptionsResponse) => void): Request; - /** - * Gets the availability options configured for a domain. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide. - */ - describeAvailabilityOptions(callback?: (err: AWSError, data: CloudSearch.Types.DescribeAvailabilityOptionsResponse) => void): Request; - /** - * Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default. To get the number of searchable documents in a domain, use the console or submit a matchall request to your domain's search endpoint: q=matchall&amp;q.parser=structured&amp;size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide. - */ - describeDomains(params: CloudSearch.Types.DescribeDomainsRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeDomainsResponse) => void): Request; - /** - * Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default. To get the number of searchable documents in a domain, use the console or submit a matchall request to your domain's search endpoint: q=matchall&amp;q.parser=structured&amp;size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide. - */ - describeDomains(callback?: (err: AWSError, data: CloudSearch.Types.DescribeDomainsResponse) => void): Request; - /** - * Gets the expressions configured for the search domain. Can be limited to specific expressions by name. By default, shows all expressions and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide. - */ - describeExpressions(params: CloudSearch.Types.DescribeExpressionsRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeExpressionsResponse) => void): Request; - /** - * Gets the expressions configured for the search domain. Can be limited to specific expressions by name. By default, shows all expressions and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide. - */ - describeExpressions(callback?: (err: AWSError, data: CloudSearch.Types.DescribeExpressionsResponse) => void): Request; - /** - * Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. By default, shows all fields and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Domain Information in the Amazon CloudSearch Developer Guide. - */ - describeIndexFields(params: CloudSearch.Types.DescribeIndexFieldsRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeIndexFieldsResponse) => void): Request; - /** - * Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. By default, shows all fields and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Domain Information in the Amazon CloudSearch Developer Guide. - */ - describeIndexFields(callback?: (err: AWSError, data: CloudSearch.Types.DescribeIndexFieldsResponse) => void): Request; - /** - * Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide. - */ - describeScalingParameters(params: CloudSearch.Types.DescribeScalingParametersRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeScalingParametersResponse) => void): Request; - /** - * Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide. - */ - describeScalingParameters(callback?: (err: AWSError, data: CloudSearch.Types.DescribeScalingParametersResponse) => void): Request; - /** - * Gets information about the access policies that control access to the domain's document and search endpoints. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide. - */ - describeServiceAccessPolicies(params: CloudSearch.Types.DescribeServiceAccessPoliciesRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeServiceAccessPoliciesResponse) => void): Request; - /** - * Gets information about the access policies that control access to the domain's document and search endpoints. By default, shows the configuration with any pending changes. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide. - */ - describeServiceAccessPolicies(callback?: (err: AWSError, data: CloudSearch.Types.DescribeServiceAccessPoliciesResponse) => void): Request; - /** - * Gets the suggesters configured for a domain. A suggester enables you to display possible matches before users finish typing their queries. Can be limited to specific suggesters by name. By default, shows all suggesters and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide. - */ - describeSuggesters(params: CloudSearch.Types.DescribeSuggestersRequest, callback?: (err: AWSError, data: CloudSearch.Types.DescribeSuggestersResponse) => void): Request; - /** - * Gets the suggesters configured for a domain. A suggester enables you to display possible matches before users finish typing their queries. Can be limited to specific suggesters by name. By default, shows all suggesters and includes any pending changes to the configuration. Set the Deployed option to true to show the active configuration and exclude pending changes. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide. - */ - describeSuggesters(callback?: (err: AWSError, data: CloudSearch.Types.DescribeSuggestersResponse) => void): Request; - /** - * Tells the search domain to start indexing its documents using the latest indexing options. This operation must be invoked to activate options whose OptionStatus is RequiresIndexDocuments. - */ - indexDocuments(params: CloudSearch.Types.IndexDocumentsRequest, callback?: (err: AWSError, data: CloudSearch.Types.IndexDocumentsResponse) => void): Request; - /** - * Tells the search domain to start indexing its documents using the latest indexing options. This operation must be invoked to activate options whose OptionStatus is RequiresIndexDocuments. - */ - indexDocuments(callback?: (err: AWSError, data: CloudSearch.Types.IndexDocumentsResponse) => void): Request; - /** - * Lists all search domains owned by an account. - */ - listDomainNames(callback?: (err: AWSError, data: CloudSearch.Types.ListDomainNamesResponse) => void): Request; - /** - * Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide. - */ - updateAvailabilityOptions(params: CloudSearch.Types.UpdateAvailabilityOptionsRequest, callback?: (err: AWSError, data: CloudSearch.Types.UpdateAvailabilityOptionsResponse) => void): Request; - /** - * Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide. - */ - updateAvailabilityOptions(callback?: (err: AWSError, data: CloudSearch.Types.UpdateAvailabilityOptionsResponse) => void): Request; - /** - * Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide. - */ - updateScalingParameters(params: CloudSearch.Types.UpdateScalingParametersRequest, callback?: (err: AWSError, data: CloudSearch.Types.UpdateScalingParametersResponse) => void): Request; - /** - * Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide. - */ - updateScalingParameters(callback?: (err: AWSError, data: CloudSearch.Types.UpdateScalingParametersResponse) => void): Request; - /** - * Configures the access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain. - */ - updateServiceAccessPolicies(params: CloudSearch.Types.UpdateServiceAccessPoliciesRequest, callback?: (err: AWSError, data: CloudSearch.Types.UpdateServiceAccessPoliciesResponse) => void): Request; - /** - * Configures the access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain. - */ - updateServiceAccessPolicies(callback?: (err: AWSError, data: CloudSearch.Types.UpdateServiceAccessPoliciesResponse) => void): Request; -} -declare namespace CloudSearch { - export type APIVersion = string; - export type ARN = string; - export interface AccessPoliciesStatus { - Options: PolicyDocument; - Status: OptionStatus; - } - export type AlgorithmicStemming = "none"|"minimal"|"light"|"full"|string; - export interface AnalysisOptions { - /** - * A JSON object that defines synonym groups and aliases. A synonym group is an array of arrays, where each sub-array is a group of terms where each term in the group is considered a synonym of every other term in the group. The aliases value is an object that contains a collection of string:value pairs where the string specifies a term and the array of values specifies each of the aliases for that term. An alias is considered a synonym of the specified term, but the term is not considered a synonym of the alias. For more information about specifying synonyms, see Synonyms in the Amazon CloudSearch Developer Guide. - */ - Synonyms?: String; - /** - * A JSON array of terms to ignore during indexing and searching. For example, ["a", "an", "the", "of"]. The stopwords dictionary must explicitly list each word you want to ignore. Wildcards and regular expressions are not supported. - */ - Stopwords?: String; - /** - * A JSON object that contains a collection of string:value pairs that each map a term to its stem. For example, {"term1": "stem1", "term2": "stem2", "term3": "stem3"}. The stemming dictionary is applied in addition to any algorithmic stemming. This enables you to override the results of the algorithmic stemming to correct specific cases of overstemming or understemming. The maximum size of a stemming dictionary is 500 KB. - */ - StemmingDictionary?: String; - /** - * A JSON array that contains a collection of terms, tokens, readings and part of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary enables you to override the default tokenization for selected terms. This is only valid for Japanese language fields. - */ - JapaneseTokenizationDictionary?: String; - /** - * The level of algorithmic stemming to perform: none, minimal, light, or full. The available levels vary depending on the language. For more information, see Language Specific Text Processing Settings in the Amazon CloudSearch Developer Guide - */ - AlgorithmicStemming?: AlgorithmicStemming; - } - export interface AnalysisScheme { - AnalysisSchemeName: StandardName; - AnalysisSchemeLanguage: AnalysisSchemeLanguage; - AnalysisOptions?: AnalysisOptions; - } - export type AnalysisSchemeLanguage = "ar"|"bg"|"ca"|"cs"|"da"|"de"|"el"|"en"|"es"|"eu"|"fa"|"fi"|"fr"|"ga"|"gl"|"he"|"hi"|"hu"|"hy"|"id"|"it"|"ja"|"ko"|"lv"|"mul"|"nl"|"no"|"pt"|"ro"|"ru"|"sv"|"th"|"tr"|"zh-Hans"|"zh-Hant"|string; - export interface AnalysisSchemeStatus { - Options: AnalysisScheme; - Status: OptionStatus; - } - export type AnalysisSchemeStatusList = AnalysisSchemeStatus[]; - export interface AvailabilityOptionsStatus { - /** - * The availability options configured for the domain. - */ - Options: MultiAZ; - Status: OptionStatus; - } - export type Boolean = boolean; - export interface BuildSuggestersRequest { - DomainName: DomainName; - } - export interface BuildSuggestersResponse { - FieldNames?: FieldNameList; - } - export interface CreateDomainRequest { - /** - * A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long. - */ - DomainName: DomainName; - } - export interface CreateDomainResponse { - DomainStatus?: DomainStatus; - } - export interface DateArrayOptions { - /** - * A value to use for the field if the field isn't specified for a document. - */ - DefaultValue?: FieldValue; - /** - * A list of source fields to map to the field. - */ - SourceFields?: FieldNameCommaList; - /** - * Whether facet information can be returned for the field. - */ - FacetEnabled?: Boolean; - /** - * Whether the contents of the field are searchable. - */ - SearchEnabled?: Boolean; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - } - export interface DateOptions { - /** - * A value to use for the field if the field isn't specified for a document. - */ - DefaultValue?: FieldValue; - SourceField?: FieldName; - /** - * Whether facet information can be returned for the field. - */ - FacetEnabled?: Boolean; - /** - * Whether the contents of the field are searchable. - */ - SearchEnabled?: Boolean; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - /** - * Whether the field can be used to sort the search results. - */ - SortEnabled?: Boolean; - } - export interface DefineAnalysisSchemeRequest { - DomainName: DomainName; - AnalysisScheme: AnalysisScheme; - } - export interface DefineAnalysisSchemeResponse { - AnalysisScheme: AnalysisSchemeStatus; - } - export interface DefineExpressionRequest { - DomainName: DomainName; - Expression: Expression; - } - export interface DefineExpressionResponse { - Expression: ExpressionStatus; - } - export interface DefineIndexFieldRequest { - DomainName: DomainName; - /** - * The index field and field options you want to configure. - */ - IndexField: IndexField; - } - export interface DefineIndexFieldResponse { - IndexField: IndexFieldStatus; - } - export interface DefineSuggesterRequest { - DomainName: DomainName; - Suggester: Suggester; - } - export interface DefineSuggesterResponse { - Suggester: SuggesterStatus; - } - export interface DeleteAnalysisSchemeRequest { - DomainName: DomainName; - /** - * The name of the analysis scheme you want to delete. - */ - AnalysisSchemeName: StandardName; - } - export interface DeleteAnalysisSchemeResponse { - /** - * The status of the analysis scheme being deleted. - */ - AnalysisScheme: AnalysisSchemeStatus; - } - export interface DeleteDomainRequest { - /** - * The name of the domain you want to permanently delete. - */ - DomainName: DomainName; - } - export interface DeleteDomainResponse { - DomainStatus?: DomainStatus; - } - export interface DeleteExpressionRequest { - DomainName: DomainName; - /** - * The name of the Expression to delete. - */ - ExpressionName: StandardName; - } - export interface DeleteExpressionResponse { - /** - * The status of the expression being deleted. - */ - Expression: ExpressionStatus; - } - export interface DeleteIndexFieldRequest { - DomainName: DomainName; - /** - * The name of the index field your want to remove from the domain's indexing options. - */ - IndexFieldName: DynamicFieldName; - } - export interface DeleteIndexFieldResponse { - /** - * The status of the index field being deleted. - */ - IndexField: IndexFieldStatus; - } - export interface DeleteSuggesterRequest { - DomainName: DomainName; - /** - * Specifies the name of the suggester you want to delete. - */ - SuggesterName: StandardName; - } - export interface DeleteSuggesterResponse { - /** - * The status of the suggester being deleted. - */ - Suggester: SuggesterStatus; - } - export interface DescribeAnalysisSchemesRequest { - /** - * The name of the domain you want to describe. - */ - DomainName: DomainName; - /** - * The analysis schemes you want to describe. - */ - AnalysisSchemeNames?: StandardNameList; - /** - * Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false. - */ - Deployed?: Boolean; - } - export interface DescribeAnalysisSchemesResponse { - /** - * The analysis scheme descriptions. - */ - AnalysisSchemes: AnalysisSchemeStatusList; - } - export interface DescribeAvailabilityOptionsRequest { - /** - * The name of the domain you want to describe. - */ - DomainName: DomainName; - /** - * Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false. - */ - Deployed?: Boolean; - } - export interface DescribeAvailabilityOptionsResponse { - /** - * The availability options configured for the domain. Indicates whether Multi-AZ is enabled for the domain. - */ - AvailabilityOptions?: AvailabilityOptionsStatus; - } - export interface DescribeDomainsRequest { - /** - * The names of the domains you want to include in the response. - */ - DomainNames?: DomainNameList; - } - export interface DescribeDomainsResponse { - DomainStatusList: DomainStatusList; - } - export interface DescribeExpressionsRequest { - /** - * The name of the domain you want to describe. - */ - DomainName: DomainName; - /** - * Limits the DescribeExpressions response to the specified expressions. If not specified, all expressions are shown. - */ - ExpressionNames?: StandardNameList; - /** - * Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false. - */ - Deployed?: Boolean; - } - export interface DescribeExpressionsResponse { - /** - * The expressions configured for the domain. - */ - Expressions: ExpressionStatusList; - } - export interface DescribeIndexFieldsRequest { - /** - * The name of the domain you want to describe. - */ - DomainName: DomainName; - /** - * A list of the index fields you want to describe. If not specified, information is returned for all configured index fields. - */ - FieldNames?: DynamicFieldNameList; - /** - * Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false. - */ - Deployed?: Boolean; - } - export interface DescribeIndexFieldsResponse { - /** - * The index fields configured for the domain. - */ - IndexFields: IndexFieldStatusList; - } - export interface DescribeScalingParametersRequest { - DomainName: DomainName; - } - export interface DescribeScalingParametersResponse { - ScalingParameters: ScalingParametersStatus; - } - export interface DescribeServiceAccessPoliciesRequest { - /** - * The name of the domain you want to describe. - */ - DomainName: DomainName; - /** - * Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false. - */ - Deployed?: Boolean; - } - export interface DescribeServiceAccessPoliciesResponse { - /** - * The access rules configured for the domain specified in the request. - */ - AccessPolicies: AccessPoliciesStatus; - } - export interface DescribeSuggestersRequest { - /** - * The name of the domain you want to describe. - */ - DomainName: DomainName; - /** - * The suggesters you want to describe. - */ - SuggesterNames?: StandardNameList; - /** - * Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false. - */ - Deployed?: Boolean; - } - export interface DescribeSuggestersResponse { - /** - * The suggesters configured for the domain specified in the request. - */ - Suggesters: SuggesterStatusList; - } - export interface DocumentSuggesterOptions { - /** - * The name of the index field you want to use for suggestions. - */ - SourceField: FieldName; - /** - * The level of fuzziness allowed when suggesting matches for a string: none, low, or high. With none, the specified string is treated as an exact prefix. With low, suggestions must differ from the specified string by no more than one character. With high, suggestions can differ by up to two characters. The default is none. - */ - FuzzyMatching?: SuggesterFuzzyMatching; - /** - * An expression that computes a score for each suggestion to control how they are sorted. The scores are rounded to the nearest integer, with a floor of 0 and a ceiling of 2^31-1. A document's relevance score is not computed for suggestions, so sort expressions cannot reference the _score value. To sort suggestions using a numeric field or existing expression, simply specify the name of the field or expression. If no expression is configured for the suggester, the suggestions are sorted with the closest matches listed first. - */ - SortExpression?: String; - } - export type DomainId = string; - export type DomainName = string; - export type DomainNameList = DomainName[]; - export type DomainNameMap = {[key: string]: APIVersion}; - export interface DomainStatus { - DomainId: DomainId; - DomainName: DomainName; - ARN?: ARN; - /** - * True if the search domain is created. It can take several minutes to initialize a domain when CreateDomain is called. Newly created search domains are returned from DescribeDomains with a false value for Created until domain creation is complete. - */ - Created?: Boolean; - /** - * True if the search domain has been deleted. The system must clean up resources dedicated to the search domain when DeleteDomain is called. Newly deleted search domains are returned from DescribeDomains with a true value for IsDeleted for several minutes until resource cleanup is complete. - */ - Deleted?: Boolean; - /** - * The service endpoint for updating documents in a search domain. - */ - DocService?: ServiceEndpoint; - /** - * The service endpoint for requesting search results from a search domain. - */ - SearchService?: ServiceEndpoint; - /** - * True if IndexDocuments needs to be called to activate the current domain configuration. - */ - RequiresIndexDocuments: Boolean; - /** - * True if processing is being done to activate the current domain configuration. - */ - Processing?: Boolean; - /** - * The instance type that is being used to process search requests. - */ - SearchInstanceType?: SearchInstanceType; - /** - * The number of partitions across which the search index is spread. - */ - SearchPartitionCount?: PartitionCount; - /** - * The number of search instances that are available to process search requests. - */ - SearchInstanceCount?: InstanceCount; - Limits?: Limits; - } - export type DomainStatusList = DomainStatus[]; - export type Double = number; - export interface DoubleArrayOptions { - /** - * A value to use for the field if the field isn't specified for a document. - */ - DefaultValue?: Double; - /** - * A list of source fields to map to the field. - */ - SourceFields?: FieldNameCommaList; - /** - * Whether facet information can be returned for the field. - */ - FacetEnabled?: Boolean; - /** - * Whether the contents of the field are searchable. - */ - SearchEnabled?: Boolean; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - } - export interface DoubleOptions { - /** - * A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document. - */ - DefaultValue?: Double; - /** - * The name of the source field to map to the field. - */ - SourceField?: FieldName; - /** - * Whether facet information can be returned for the field. - */ - FacetEnabled?: Boolean; - /** - * Whether the contents of the field are searchable. - */ - SearchEnabled?: Boolean; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - /** - * Whether the field can be used to sort the search results. - */ - SortEnabled?: Boolean; - } - export type DynamicFieldName = string; - export type DynamicFieldNameList = DynamicFieldName[]; - export type ErrorCode = string; - export type ErrorMessage = string; - export interface Expression { - ExpressionName: StandardName; - ExpressionValue: ExpressionValue; - } - export interface ExpressionStatus { - /** - * The expression that is evaluated for sorting while processing a search request. - */ - Options: Expression; - Status: OptionStatus; - } - export type ExpressionStatusList = ExpressionStatus[]; - export type ExpressionValue = string; - export type FieldName = string; - export type FieldNameCommaList = string; - export type FieldNameList = FieldName[]; - export type FieldValue = string; - export interface IndexDocumentsRequest { - DomainName: DomainName; - } - export interface IndexDocumentsResponse { - /** - * The names of the fields that are currently being indexed. - */ - FieldNames?: FieldNameList; - } - export interface IndexField { - /** - * A string that represents the name of an index field. CloudSearch supports regular index fields as well as dynamic fields. A dynamic field's name defines a pattern that begins or ends with a wildcard. Any document fields that don't map to a regular index field but do match a dynamic field's pattern are configured with the dynamic field's indexing options. Regular field names begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin or end with a wildcard (*). The wildcard can also be the only character in a dynamic field name. Multiple wildcards, and wildcards embedded within a string are not supported. The name score is reserved and cannot be used as a field name. To reference a document's ID, you can use the name _id. - */ - IndexFieldName: DynamicFieldName; - IndexFieldType: IndexFieldType; - IntOptions?: IntOptions; - DoubleOptions?: DoubleOptions; - LiteralOptions?: LiteralOptions; - TextOptions?: TextOptions; - DateOptions?: DateOptions; - LatLonOptions?: LatLonOptions; - IntArrayOptions?: IntArrayOptions; - DoubleArrayOptions?: DoubleArrayOptions; - LiteralArrayOptions?: LiteralArrayOptions; - TextArrayOptions?: TextArrayOptions; - DateArrayOptions?: DateArrayOptions; - } - export interface IndexFieldStatus { - Options: IndexField; - Status: OptionStatus; - } - export type IndexFieldStatusList = IndexFieldStatus[]; - export type IndexFieldType = "int"|"double"|"literal"|"text"|"date"|"latlon"|"int-array"|"double-array"|"literal-array"|"text-array"|"date-array"|string; - export type InstanceCount = number; - export interface IntArrayOptions { - /** - * A value to use for the field if the field isn't specified for a document. - */ - DefaultValue?: Long; - /** - * A list of source fields to map to the field. - */ - SourceFields?: FieldNameCommaList; - /** - * Whether facet information can be returned for the field. - */ - FacetEnabled?: Boolean; - /** - * Whether the contents of the field are searchable. - */ - SearchEnabled?: Boolean; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - } - export interface IntOptions { - /** - * A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document. - */ - DefaultValue?: Long; - /** - * The name of the source field to map to the field. - */ - SourceField?: FieldName; - /** - * Whether facet information can be returned for the field. - */ - FacetEnabled?: Boolean; - /** - * Whether the contents of the field are searchable. - */ - SearchEnabled?: Boolean; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - /** - * Whether the field can be used to sort the search results. - */ - SortEnabled?: Boolean; - } - export interface LatLonOptions { - /** - * A value to use for the field if the field isn't specified for a document. - */ - DefaultValue?: FieldValue; - SourceField?: FieldName; - /** - * Whether facet information can be returned for the field. - */ - FacetEnabled?: Boolean; - /** - * Whether the contents of the field are searchable. - */ - SearchEnabled?: Boolean; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - /** - * Whether the field can be used to sort the search results. - */ - SortEnabled?: Boolean; - } - export interface Limits { - MaximumReplicationCount: MaximumReplicationCount; - MaximumPartitionCount: MaximumPartitionCount; - } - export interface ListDomainNamesResponse { - /** - * The names of the search domains owned by an account. - */ - DomainNames?: DomainNameMap; - } - export interface LiteralArrayOptions { - /** - * A value to use for the field if the field isn't specified for a document. - */ - DefaultValue?: FieldValue; - /** - * A list of source fields to map to the field. - */ - SourceFields?: FieldNameCommaList; - /** - * Whether facet information can be returned for the field. - */ - FacetEnabled?: Boolean; - /** - * Whether the contents of the field are searchable. - */ - SearchEnabled?: Boolean; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - } - export interface LiteralOptions { - /** - * A value to use for the field if the field isn't specified for a document. - */ - DefaultValue?: FieldValue; - SourceField?: FieldName; - /** - * Whether facet information can be returned for the field. - */ - FacetEnabled?: Boolean; - /** - * Whether the contents of the field are searchable. - */ - SearchEnabled?: Boolean; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - /** - * Whether the field can be used to sort the search results. - */ - SortEnabled?: Boolean; - } - export type Long = number; - export type MaximumPartitionCount = number; - export type MaximumReplicationCount = number; - export type MultiAZ = boolean; - export type OptionState = "RequiresIndexDocuments"|"Processing"|"Active"|"FailedToValidate"|string; - export interface OptionStatus { - /** - * A timestamp for when this option was created. - */ - CreationDate: UpdateTimestamp; - /** - * A timestamp for when this option was last updated. - */ - UpdateDate: UpdateTimestamp; - /** - * A unique integer that indicates when this option was last updated. - */ - UpdateVersion?: UIntValue; - /** - * The state of processing a change to an option. Possible values: RequiresIndexDocuments: the option's latest value will not be deployed until IndexDocuments has been called and indexing is complete. Processing: the option's latest value is in the process of being activated. Active: the option's latest value is completely deployed. FailedToValidate: the option value is not compatible with the domain's data and cannot be used to index the data. You must either modify the option value or update or remove the incompatible documents. - */ - State: OptionState; - /** - * Indicates that the option will be deleted once processing is complete. - */ - PendingDeletion?: Boolean; - } - export type PartitionCount = number; - export type PartitionInstanceType = "search.m1.small"|"search.m1.large"|"search.m2.xlarge"|"search.m2.2xlarge"|"search.m3.medium"|"search.m3.large"|"search.m3.xlarge"|"search.m3.2xlarge"|string; - export type PolicyDocument = string; - export interface ScalingParameters { - /** - * The instance type that you want to preconfigure for your domain. For example, search.m1.small. - */ - DesiredInstanceType?: PartitionInstanceType; - /** - * The number of replicas you want to preconfigure for each index partition. - */ - DesiredReplicationCount?: UIntValue; - /** - * The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type. - */ - DesiredPartitionCount?: UIntValue; - } - export interface ScalingParametersStatus { - Options: ScalingParameters; - Status: OptionStatus; - } - export type SearchInstanceType = string; - export interface ServiceEndpoint { - Endpoint?: ServiceUrl; - } - export type ServiceUrl = string; - export type StandardName = string; - export type StandardNameList = StandardName[]; - export type String = string; - export interface Suggester { - SuggesterName: StandardName; - DocumentSuggesterOptions: DocumentSuggesterOptions; - } - export type SuggesterFuzzyMatching = "none"|"low"|"high"|string; - export interface SuggesterStatus { - Options: Suggester; - Status: OptionStatus; - } - export type SuggesterStatusList = SuggesterStatus[]; - export interface TextArrayOptions { - /** - * A value to use for the field if the field isn't specified for a document. - */ - DefaultValue?: FieldValue; - /** - * A list of source fields to map to the field. - */ - SourceFields?: FieldNameCommaList; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - /** - * Whether highlights can be returned for the field. - */ - HighlightEnabled?: Boolean; - /** - * The name of an analysis scheme for a text-array field. - */ - AnalysisScheme?: Word; - } - export interface TextOptions { - /** - * A value to use for the field if the field isn't specified for a document. - */ - DefaultValue?: FieldValue; - SourceField?: FieldName; - /** - * Whether the contents of the field can be returned in the search results. - */ - ReturnEnabled?: Boolean; - /** - * Whether the field can be used to sort the search results. - */ - SortEnabled?: Boolean; - /** - * Whether highlights can be returned for the field. - */ - HighlightEnabled?: Boolean; - /** - * The name of an analysis scheme for a text field. - */ - AnalysisScheme?: Word; - } - export type UIntValue = number; - export interface UpdateAvailabilityOptionsRequest { - DomainName: DomainName; - /** - * You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false. - */ - MultiAZ: Boolean; - } - export interface UpdateAvailabilityOptionsResponse { - /** - * The newly-configured availability options. Indicates whether Multi-AZ is enabled for the domain. - */ - AvailabilityOptions?: AvailabilityOptionsStatus; - } - export interface UpdateScalingParametersRequest { - DomainName: DomainName; - ScalingParameters: ScalingParameters; - } - export interface UpdateScalingParametersResponse { - ScalingParameters: ScalingParametersStatus; - } - export interface UpdateServiceAccessPoliciesRequest { - DomainName: DomainName; - /** - * The access rules you want to configure. These rules replace any existing rules. - */ - AccessPolicies: PolicyDocument; - } - export interface UpdateServiceAccessPoliciesResponse { - /** - * The access rules configured for the domain. - */ - AccessPolicies: AccessPoliciesStatus; - } - export type UpdateTimestamp = Date; - export type Word = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2011-02-01"|"2013-01-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CloudSearch client. - */ - export import Types = CloudSearch; -} -export = CloudSearch; diff --git a/src/node_modules/aws-sdk/clients/cloudsearch.js b/src/node_modules/aws-sdk/clients/cloudsearch.js deleted file mode 100644 index 3f1578a..0000000 --- a/src/node_modules/aws-sdk/clients/cloudsearch.js +++ /dev/null @@ -1,27 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cloudsearch'] = {}; -AWS.CloudSearch = Service.defineService('cloudsearch', ['2011-02-01', '2013-01-01']); -Object.defineProperty(apiLoader.services['cloudsearch'], '2011-02-01', { - get: function get() { - var model = require('../apis/cloudsearch-2011-02-01.min.json'); - model.paginators = require('../apis/cloudsearch-2011-02-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['cloudsearch'], '2013-01-01', { - get: function get() { - var model = require('../apis/cloudsearch-2013-01-01.min.json'); - model.paginators = require('../apis/cloudsearch-2013-01-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudSearch; diff --git a/src/node_modules/aws-sdk/clients/cloudsearchdomain.d.ts b/src/node_modules/aws-sdk/clients/cloudsearchdomain.d.ts deleted file mode 100644 index cc045a7..0000000 --- a/src/node_modules/aws-sdk/clients/cloudsearchdomain.d.ts +++ /dev/null @@ -1,357 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CloudSearchDomain extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CloudSearchDomain.Types.ClientConfiguration) - config: Config & CloudSearchDomain.Types.ClientConfiguration; - /** - * Retrieves a list of documents that match the specified search criteria. How you specify the search criteria depends on which query parser you use. Amazon CloudSearch supports four query parsers: simple: search all text and text-array fields for the specified string. Search for phrases, individual terms, and prefixes. structured: search specific fields, construct compound queries using Boolean operators, and use advanced features such as term boosting and proximity searching. lucene: specify search criteria using the Apache Lucene query parser syntax. dismax: specify search criteria using the simplified subset of the Apache Lucene query parser syntax defined by the DisMax query parser. For more information, see Searching Your Data in the Amazon CloudSearch Developer Guide. The endpoint for submitting Search requests is domain-specific. You submit search requests to a domain's search endpoint. To get the search endpoint for your domain, use the Amazon CloudSearch configuration service DescribeDomains action. A domain's endpoints are also displayed on the domain dashboard in the Amazon CloudSearch console. - */ - search(params: CloudSearchDomain.Types.SearchRequest, callback?: (err: AWSError, data: CloudSearchDomain.Types.SearchResponse) => void): Request; - /** - * Retrieves a list of documents that match the specified search criteria. How you specify the search criteria depends on which query parser you use. Amazon CloudSearch supports four query parsers: simple: search all text and text-array fields for the specified string. Search for phrases, individual terms, and prefixes. structured: search specific fields, construct compound queries using Boolean operators, and use advanced features such as term boosting and proximity searching. lucene: specify search criteria using the Apache Lucene query parser syntax. dismax: specify search criteria using the simplified subset of the Apache Lucene query parser syntax defined by the DisMax query parser. For more information, see Searching Your Data in the Amazon CloudSearch Developer Guide. The endpoint for submitting Search requests is domain-specific. You submit search requests to a domain's search endpoint. To get the search endpoint for your domain, use the Amazon CloudSearch configuration service DescribeDomains action. A domain's endpoints are also displayed on the domain dashboard in the Amazon CloudSearch console. - */ - search(callback?: (err: AWSError, data: CloudSearchDomain.Types.SearchResponse) => void): Request; - /** - * Retrieves autocomplete suggestions for a partial query string. You can use suggestions enable you to display likely matches before users finish typing. In Amazon CloudSearch, suggestions are based on the contents of a particular text field. When you request suggestions, Amazon CloudSearch finds all of the documents whose values in the suggester field start with the specified query string. The beginning of the field must match the query string to be considered a match. For more information about configuring suggesters and retrieving suggestions, see Getting Suggestions in the Amazon CloudSearch Developer Guide. The endpoint for submitting Suggest requests is domain-specific. You submit suggest requests to a domain's search endpoint. To get the search endpoint for your domain, use the Amazon CloudSearch configuration service DescribeDomains action. A domain's endpoints are also displayed on the domain dashboard in the Amazon CloudSearch console. - */ - suggest(params: CloudSearchDomain.Types.SuggestRequest, callback?: (err: AWSError, data: CloudSearchDomain.Types.SuggestResponse) => void): Request; - /** - * Retrieves autocomplete suggestions for a partial query string. You can use suggestions enable you to display likely matches before users finish typing. In Amazon CloudSearch, suggestions are based on the contents of a particular text field. When you request suggestions, Amazon CloudSearch finds all of the documents whose values in the suggester field start with the specified query string. The beginning of the field must match the query string to be considered a match. For more information about configuring suggesters and retrieving suggestions, see Getting Suggestions in the Amazon CloudSearch Developer Guide. The endpoint for submitting Suggest requests is domain-specific. You submit suggest requests to a domain's search endpoint. To get the search endpoint for your domain, use the Amazon CloudSearch configuration service DescribeDomains action. A domain's endpoints are also displayed on the domain dashboard in the Amazon CloudSearch console. - */ - suggest(callback?: (err: AWSError, data: CloudSearchDomain.Types.SuggestResponse) => void): Request; - /** - * Posts a batch of documents to a search domain for indexing. A document batch is a collection of add and delete operations that represent the documents you want to add, update, or delete from your domain. Batches can be described in either JSON or XML. Each item that you want Amazon CloudSearch to return as a search result (such as a product) is represented as a document. Every document has a unique ID and one or more fields that contain the data that you want to search and return in results. Individual documents cannot contain more than 1 MB of data. The entire batch cannot exceed 5 MB. To get the best possible upload performance, group add and delete operations in batches that are close the 5 MB limit. Submitting a large volume of single-document batches can overload a domain's document service. The endpoint for submitting UploadDocuments requests is domain-specific. To get the document endpoint for your domain, use the Amazon CloudSearch configuration service DescribeDomains action. A domain's endpoints are also displayed on the domain dashboard in the Amazon CloudSearch console. For more information about formatting your data for Amazon CloudSearch, see Preparing Your Data in the Amazon CloudSearch Developer Guide. For more information about uploading data for indexing, see Uploading Data in the Amazon CloudSearch Developer Guide. - */ - uploadDocuments(params: CloudSearchDomain.Types.UploadDocumentsRequest, callback?: (err: AWSError, data: CloudSearchDomain.Types.UploadDocumentsResponse) => void): Request; - /** - * Posts a batch of documents to a search domain for indexing. A document batch is a collection of add and delete operations that represent the documents you want to add, update, or delete from your domain. Batches can be described in either JSON or XML. Each item that you want Amazon CloudSearch to return as a search result (such as a product) is represented as a document. Every document has a unique ID and one or more fields that contain the data that you want to search and return in results. Individual documents cannot contain more than 1 MB of data. The entire batch cannot exceed 5 MB. To get the best possible upload performance, group add and delete operations in batches that are close the 5 MB limit. Submitting a large volume of single-document batches can overload a domain's document service. The endpoint for submitting UploadDocuments requests is domain-specific. To get the document endpoint for your domain, use the Amazon CloudSearch configuration service DescribeDomains action. A domain's endpoints are also displayed on the domain dashboard in the Amazon CloudSearch console. For more information about formatting your data for Amazon CloudSearch, see Preparing Your Data in the Amazon CloudSearch Developer Guide. For more information about uploading data for indexing, see Uploading Data in the Amazon CloudSearch Developer Guide. - */ - uploadDocuments(callback?: (err: AWSError, data: CloudSearchDomain.Types.UploadDocumentsResponse) => void): Request; -} -declare namespace CloudSearchDomain { - export type Adds = number; - export type _Blob = Buffer|Uint8Array|Blob|string; - export interface Bucket { - /** - * The facet value being counted. - */ - value?: String; - /** - * The number of hits that contain the facet value in the specified facet field. - */ - count?: Long; - } - export interface BucketInfo { - /** - * A list of the calculated facet values and counts. - */ - buckets?: BucketList; - } - export type BucketList = Bucket[]; - export type ContentType = "application/json"|"application/xml"|string; - export type Cursor = string; - export type Deletes = number; - export interface DocumentServiceWarning { - /** - * The description for a warning returned by the document service. - */ - message?: String; - } - export type DocumentServiceWarnings = DocumentServiceWarning[]; - export type Double = number; - export type Expr = string; - export type Exprs = {[key: string]: String}; - export type Facet = string; - export type Facets = {[key: string]: BucketInfo}; - export interface FieldStats { - /** - * The minimum value found in the specified field in the result set. If the field is numeric (int, int-array, double, or double-array), min is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array, min is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ. - */ - min?: String; - /** - * The maximum value found in the specified field in the result set. If the field is numeric (int, int-array, double, or double-array), max is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array, max is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ. - */ - max?: String; - /** - * The number of documents that contain a value in the specified field in the result set. - */ - count?: Long; - /** - * The number of documents that do not contain a value in the specified field in the result set. - */ - missing?: Long; - /** - * The sum of the field values across the documents in the result set. null for date fields. - */ - sum?: Double; - /** - * The sum of all field values in the result set squared. - */ - sumOfSquares?: Double; - /** - * The average of the values found in the specified field in the result set. If the field is numeric (int, int-array, double, or double-array), mean is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array, mean is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ. - */ - mean?: String; - /** - * The standard deviation of the values in the specified field in the result set. - */ - stddev?: Double; - } - export type FieldValue = String[]; - export type Fields = {[key: string]: FieldValue}; - export type FilterQuery = string; - export type Highlight = string; - export type Highlights = {[key: string]: String}; - export interface Hit { - /** - * The document ID of a document that matches the search request. - */ - id?: String; - /** - * The fields returned from a document that matches the search request. - */ - fields?: Fields; - /** - * The expressions returned from a document that matches the search request. - */ - exprs?: Exprs; - /** - * The highlights returned from a document that matches the search request. - */ - highlights?: Highlights; - } - export type HitList = Hit[]; - export interface Hits { - /** - * The total number of documents that match the search request. - */ - found?: Long; - /** - * The index of the first matching document. - */ - start?: Long; - /** - * A cursor that can be used to retrieve the next set of matching documents when you want to page through a large result set. - */ - cursor?: String; - /** - * A document that matches the search request. - */ - hit?: HitList; - } - export type Long = number; - export type Partial = boolean; - export type Query = string; - export type QueryOptions = string; - export type QueryParser = "simple"|"structured"|"lucene"|"dismax"|string; - export type Return = string; - export interface SearchRequest { - /** - * Retrieves a cursor value you can use to page through large result sets. Use the size parameter to control the number of hits to include in each response. You can specify either the cursor or start parameter in a request; they are mutually exclusive. To get the first cursor, set the cursor value to initial. In subsequent requests, specify the cursor value returned in the hits section of the response. For more information, see Paginating Results in the Amazon CloudSearch Developer Guide. - */ - cursor?: Cursor; - /** - * Defines one or more numeric expressions that can be used to sort results or specify search or filter criteria. You can also specify expressions as return fields. You specify the expressions in JSON using the form {"EXPRESSIONNAME":"EXPRESSION"}. You can define and use multiple expressions in a search request. For example: {"expression1":"_score*rating", "expression2":"(1/rank)*year"} For information about the variables, operators, and functions you can use in expressions, see Writing Expressions in the Amazon CloudSearch Developer Guide. - */ - expr?: Expr; - /** - * Specifies one or more fields for which to get facet information, and options that control how the facet information is returned. Each specified field must be facet-enabled in the domain configuration. The fields and options are specified in JSON using the form {"FIELD":{"OPTION":VALUE,"OPTION:"STRING"},"FIELD":{"OPTION":VALUE,"OPTION":"STRING"}}. You can specify the following faceting options: buckets specifies an array of the facet values or ranges to count. Ranges are specified using the same syntax that you use to search for a range of values. For more information, see Searching for a Range of Values in the Amazon CloudSearch Developer Guide. Buckets are returned in the order they are specified in the request. The sort and size options are not valid if you specify buckets. size specifies the maximum number of facets to include in the results. By default, Amazon CloudSearch returns counts for the top 10. The size parameter is only valid when you specify the sort option; it cannot be used in conjunction with buckets. sort specifies how you want to sort the facets in the results: bucket or count. Specify bucket to sort alphabetically or numerically by facet value (in ascending order). Specify count to sort by the facet counts computed for each facet value (in descending order). To retrieve facet counts for particular values or ranges of values, use the buckets option instead of sort. If no facet options are specified, facet counts are computed for all field values, the facets are sorted by facet count, and the top 10 facets are returned in the results. To count particular buckets of values, use the buckets option. For example, the following request uses the buckets option to calculate and return facet counts by decade. {"year":{"buckets":["[1970,1979]","[1980,1989]","[1990,1999]","[2000,2009]","[2010,}"]}} To sort facets by facet count, use the count option. For example, the following request sets the sort option to count to sort the facet values by facet count, with the facet values that have the most matching documents listed first. Setting the size option to 3 returns only the top three facet values. {"year":{"sort":"count","size":3}} To sort the facets by value, use the bucket option. For example, the following request sets the sort option to bucket to sort the facet values numerically by year, with earliest year listed first. {"year":{"sort":"bucket"}} For more information, see Getting and Using Facet Information in the Amazon CloudSearch Developer Guide. - */ - facet?: Facet; - /** - * Specifies a structured query that filters the results of a search without affecting how the results are scored and sorted. You use filterQuery in conjunction with the query parameter to filter the documents that match the constraints specified in the query parameter. Specifying a filter controls only which matching documents are included in the results, it has no effect on how they are scored and sorted. The filterQuery parameter supports the full structured query syntax. For more information about using filters, see Filtering Matching Documents in the Amazon CloudSearch Developer Guide. - */ - filterQuery?: FilterQuery; - /** - * Retrieves highlights for matches in the specified text or text-array fields. Each specified field must be highlight enabled in the domain configuration. The fields and options are specified in JSON using the form {"FIELD":{"OPTION":VALUE,"OPTION:"STRING"},"FIELD":{"OPTION":VALUE,"OPTION":"STRING"}}. You can specify the following highlight options: format: specifies the format of the data in the text field: text or html. When data is returned as HTML, all non-alphanumeric characters are encoded. The default is html. max_phrases: specifies the maximum number of occurrences of the search term(s) you want to highlight. By default, the first occurrence is highlighted. pre_tag: specifies the string to prepend to an occurrence of a search term. The default for HTML highlights is &lt;em&gt;. The default for text highlights is *. post_tag: specifies the string to append to an occurrence of a search term. The default for HTML highlights is &lt;/em&gt;. The default for text highlights is *. If no highlight options are specified for a field, the returned field text is treated as HTML and the first match is highlighted with emphasis tags: &lt;em>search-term&lt;/em&gt;. For example, the following request retrieves highlights for the actors and title fields. { "actors": {}, "title": {"format": "text","max_phrases": 2,"pre_tag": "","post_tag": ""} } - */ - highlight?: Highlight; - /** - * Enables partial results to be returned if one or more index partitions are unavailable. When your search index is partitioned across multiple search instances, by default Amazon CloudSearch only returns results if every partition can be queried. This means that the failure of a single search instance can result in 5xx (internal server) errors. When you enable partial results, Amazon CloudSearch returns whatever results are available and includes the percentage of documents searched in the search results (percent-searched). This enables you to more gracefully degrade your users' search experience. For example, rather than displaying no results, you could display the partial results and a message indicating that the results might be incomplete due to a temporary system outage. - */ - partial?: Partial; - /** - * Specifies the search criteria for the request. How you specify the search criteria depends on the query parser used for the request and the parser options specified in the queryOptions parameter. By default, the simple query parser is used to process requests. To use the structured, lucene, or dismax query parser, you must also specify the queryParser parameter. For more information about specifying search criteria, see Searching Your Data in the Amazon CloudSearch Developer Guide. - */ - query: Query; - /** - * Configures options for the query parser specified in the queryParser parameter. You specify the options in JSON using the following form {"OPTION1":"VALUE1","OPTION2":VALUE2"..."OPTIONN":"VALUEN"}. The options you can configure vary according to which parser you use: defaultOperator: The default operator used to combine individual terms in the search string. For example: defaultOperator: 'or'. For the dismax parser, you specify a percentage that represents the percentage of terms in the search string (rounded down) that must match, rather than a default operator. A value of 0% is the equivalent to OR, and a value of 100% is equivalent to AND. The percentage must be specified as a value in the range 0-100 followed by the percent (%) symbol. For example, defaultOperator: 50%. Valid values: and, or, a percentage in the range 0%-100% (dismax). Default: and (simple, structured, lucene) or 100 (dismax). Valid for: simple, structured, lucene, and dismax. fields: An array of the fields to search when no fields are specified in a search. If no fields are specified in a search and this option is not specified, all text and text-array fields are searched. You can specify a weight for each field to control the relative importance of each field when Amazon CloudSearch calculates relevance scores. To specify a field weight, append a caret (^) symbol and the weight to the field name. For example, to boost the importance of the title field over the description field you could specify: "fields":["title^5","description"]. Valid values: The name of any configured field and an optional numeric value greater than zero. Default: All text and text-array fields. Valid for: simple, structured, lucene, and dismax. operators: An array of the operators or special characters you want to disable for the simple query parser. If you disable the and, or, or not operators, the corresponding operators (+, |, -) have no special meaning and are dropped from the search string. Similarly, disabling prefix disables the wildcard operator (*) and disabling phrase disables the ability to search for phrases by enclosing phrases in double quotes. Disabling precedence disables the ability to control order of precedence using parentheses. Disabling near disables the ability to use the ~ operator to perform a sloppy phrase search. Disabling the fuzzy operator disables the ability to use the ~ operator to perform a fuzzy search. escape disables the ability to use a backslash (\) to escape special characters within the search string. Disabling whitespace is an advanced option that prevents the parser from tokenizing on whitespace, which can be useful for Vietnamese. (It prevents Vietnamese words from being split incorrectly.) For example, you could disable all operators other than the phrase operator to support just simple term and phrase queries: "operators":["and","not","or", "prefix"]. Valid values: and, escape, fuzzy, near, not, or, phrase, precedence, prefix, whitespace. Default: All operators and special characters are enabled. Valid for: simple. phraseFields: An array of the text or text-array fields you want to use for phrase searches. When the terms in the search string appear in close proximity within a field, the field scores higher. You can specify a weight for each field to boost that score. The phraseSlop option controls how much the matches can deviate from the search string and still be boosted. To specify a field weight, append a caret (^) symbol and the weight to the field name. For example, to boost phrase matches in the title field over the abstract field, you could specify: "phraseFields":["title^3", "plot"] Valid values: The name of any text or text-array field and an optional numeric value greater than zero. Default: No fields. If you don't specify any fields with phraseFields, proximity scoring is disabled even if phraseSlop is specified. Valid for: dismax. phraseSlop: An integer value that specifies how much matches can deviate from the search phrase and still be boosted according to the weights specified in the phraseFields option; for example, phraseSlop: 2. You must also specify phraseFields to enable proximity scoring. Valid values: positive integers. Default: 0. Valid for: dismax. explicitPhraseSlop: An integer value that specifies how much a match can deviate from the search phrase when the phrase is enclosed in double quotes in the search string. (Phrases that exceed this proximity distance are not considered a match.) For example, to specify a slop of three for dismax phrase queries, you would specify "explicitPhraseSlop":3. Valid values: positive integers. Default: 0. Valid for: dismax. tieBreaker: When a term in the search string is found in a document's field, a score is calculated for that field based on how common the word is in that field compared to other documents. If the term occurs in multiple fields within a document, by default only the highest scoring field contributes to the document's overall score. You can specify a tieBreaker value to enable the matches in lower-scoring fields to contribute to the document's score. That way, if two documents have the same max field score for a particular term, the score for the document that has matches in more fields will be higher. The formula for calculating the score with a tieBreaker is (max field score) + (tieBreaker) * (sum of the scores for the rest of the matching fields). Set tieBreaker to 0 to disregard all but the highest scoring field (pure max): "tieBreaker":0. Set to 1 to sum the scores from all fields (pure sum): "tieBreaker":1. Valid values: 0.0 to 1.0. Default: 0.0. Valid for: dismax. - */ - queryOptions?: QueryOptions; - /** - * Specifies which query parser to use to process the request. If queryParser is not specified, Amazon CloudSearch uses the simple query parser. Amazon CloudSearch supports four query parsers: simple: perform simple searches of text and text-array fields. By default, the simple query parser searches all text and text-array fields. You can specify which fields to search by with the queryOptions parameter. If you prefix a search term with a plus sign (+) documents must contain the term to be considered a match. (This is the default, unless you configure the default operator with the queryOptions parameter.) You can use the - (NOT), | (OR), and * (wildcard) operators to exclude particular terms, find results that match any of the specified terms, or search for a prefix. To search for a phrase rather than individual terms, enclose the phrase in double quotes. For more information, see Searching for Text in the Amazon CloudSearch Developer Guide. structured: perform advanced searches by combining multiple expressions to define the search criteria. You can also search within particular fields, search for values and ranges of values, and use advanced options such as term boosting, matchall, and near. For more information, see Constructing Compound Queries in the Amazon CloudSearch Developer Guide. lucene: search using the Apache Lucene query parser syntax. For more information, see Apache Lucene Query Parser Syntax. dismax: search using the simplified subset of the Apache Lucene query parser syntax defined by the DisMax query parser. For more information, see DisMax Query Parser Syntax. - */ - queryParser?: QueryParser; - /** - * Specifies the field and expression values to include in the response. Multiple fields or expressions are specified as a comma-separated list. By default, a search response includes all return enabled fields (_all_fields). To return only the document IDs for the matching documents, specify _no_fields. To retrieve the relevance score calculated for each document, specify _score. - */ - return?: Return; - /** - * Specifies the maximum number of search hits to include in the response. - */ - size?: Size; - /** - * Specifies the fields or custom expressions to use to sort the search results. Multiple fields or expressions are specified as a comma-separated list. You must specify the sort direction (asc or desc) for each field; for example, year desc,title asc. To use a field to sort results, the field must be sort-enabled in the domain configuration. Array type fields cannot be used for sorting. If no sort parameter is specified, results are sorted by their default relevance scores in descending order: _score desc. You can also sort by document ID (_id asc) and version (_version desc). For more information, see Sorting Results in the Amazon CloudSearch Developer Guide. - */ - sort?: Sort; - /** - * Specifies the offset of the first search hit you want to return. Note that the result set is zero-based; the first result is at index 0. You can specify either the start or cursor parameter in a request, they are mutually exclusive. For more information, see Paginating Results in the Amazon CloudSearch Developer Guide. - */ - start?: Start; - /** - * Specifies one or more fields for which to get statistics information. Each specified field must be facet-enabled in the domain configuration. The fields are specified in JSON using the form: {"FIELD-A":{},"FIELD-B":{}} There are currently no options supported for statistics. - */ - stats?: Stat; - } - export interface SearchResponse { - /** - * The status information returned for the search request. - */ - status?: SearchStatus; - /** - * The documents that match the search criteria. - */ - hits?: Hits; - /** - * The requested facet information. - */ - facets?: Facets; - /** - * The requested field statistics information. - */ - stats?: Stats; - } - export interface SearchStatus { - /** - * How long it took to process the request, in milliseconds. - */ - timems?: Long; - /** - * The encrypted resource ID for the request. - */ - rid?: String; - } - export type Size = number; - export type Sort = string; - export type Start = number; - export type Stat = string; - export type Stats = {[key: string]: FieldStats}; - export type String = string; - export interface SuggestModel { - /** - * The query string specified in the suggest request. - */ - query?: String; - /** - * The number of documents that were found to match the query string. - */ - found?: Long; - /** - * The documents that match the query string. - */ - suggestions?: Suggestions; - } - export interface SuggestRequest { - /** - * Specifies the string for which you want to get suggestions. - */ - query: Query; - /** - * Specifies the name of the suggester to use to find suggested matches. - */ - suggester: Suggester; - /** - * Specifies the maximum number of suggestions to return. - */ - size?: SuggestionsSize; - } - export interface SuggestResponse { - /** - * The status of a SuggestRequest. Contains the resource ID (rid) and how long it took to process the request (timems). - */ - status?: SuggestStatus; - /** - * Container for the matching search suggestion information. - */ - suggest?: SuggestModel; - } - export interface SuggestStatus { - /** - * How long it took to process the request, in milliseconds. - */ - timems?: Long; - /** - * The encrypted resource ID for the request. - */ - rid?: String; - } - export type Suggester = string; - export interface SuggestionMatch { - /** - * The string that matches the query string specified in the SuggestRequest. - */ - suggestion?: String; - /** - * The relevance score of a suggested match. - */ - score?: Long; - /** - * The document ID of the suggested document. - */ - id?: String; - } - export type Suggestions = SuggestionMatch[]; - export type SuggestionsSize = number; - export interface UploadDocumentsRequest { - /** - * A batch of documents formatted in JSON or HTML. - */ - documents: _Blob; - /** - * The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats: application/json application/xml - */ - contentType: ContentType; - } - export interface UploadDocumentsResponse { - /** - * The status of an UploadDocumentsRequest. - */ - status?: String; - /** - * The number of documents that were added to the search domain. - */ - adds?: Adds; - /** - * The number of documents that were deleted from the search domain. - */ - deletes?: Deletes; - /** - * Any warnings returned by the document service about the documents being uploaded. - */ - warnings?: DocumentServiceWarnings; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2013-01-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CloudSearchDomain client. - */ - export import Types = CloudSearchDomain; -} -export = CloudSearchDomain; diff --git a/src/node_modules/aws-sdk/clients/cloudsearchdomain.js b/src/node_modules/aws-sdk/clients/cloudsearchdomain.js deleted file mode 100644 index 616df6f..0000000 --- a/src/node_modules/aws-sdk/clients/cloudsearchdomain.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cloudsearchdomain'] = {}; -AWS.CloudSearchDomain = Service.defineService('cloudsearchdomain', ['2013-01-01']); -require('../lib/services/cloudsearchdomain'); -Object.defineProperty(apiLoader.services['cloudsearchdomain'], '2013-01-01', { - get: function get() { - var model = require('../apis/cloudsearchdomain-2013-01-01.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudSearchDomain; diff --git a/src/node_modules/aws-sdk/clients/cloudtrail.d.ts b/src/node_modules/aws-sdk/clients/cloudtrail.d.ts deleted file mode 100644 index 509657c..0000000 --- a/src/node_modules/aws-sdk/clients/cloudtrail.d.ts +++ /dev/null @@ -1,770 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CloudTrail extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CloudTrail.Types.ClientConfiguration) - config: Config & CloudTrail.Types.ClientConfiguration; - /** - * Adds one or more tags to a trail, up to a limit of 50. Tags must be unique per trail. Overwrites an existing tag's value when a new value is specified for an existing tag key. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail that applies to all regions only from the region in which the trail was created (that is, from its home region). - */ - addTags(params: CloudTrail.Types.AddTagsRequest, callback?: (err: AWSError, data: CloudTrail.Types.AddTagsResponse) => void): Request; - /** - * Adds one or more tags to a trail, up to a limit of 50. Tags must be unique per trail. Overwrites an existing tag's value when a new value is specified for an existing tag key. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail that applies to all regions only from the region in which the trail was created (that is, from its home region). - */ - addTags(callback?: (err: AWSError, data: CloudTrail.Types.AddTagsResponse) => void): Request; - /** - * Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. A maximum of five trails can exist in a region, irrespective of the region in which they were created. - */ - createTrail(params: CloudTrail.Types.CreateTrailRequest, callback?: (err: AWSError, data: CloudTrail.Types.CreateTrailResponse) => void): Request; - /** - * Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. A maximum of five trails can exist in a region, irrespective of the region in which they were created. - */ - createTrail(callback?: (err: AWSError, data: CloudTrail.Types.CreateTrailResponse) => void): Request; - /** - * Deletes a trail. This operation must be called from the region in which the trail was created. DeleteTrail cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions. - */ - deleteTrail(params: CloudTrail.Types.DeleteTrailRequest, callback?: (err: AWSError, data: CloudTrail.Types.DeleteTrailResponse) => void): Request; - /** - * Deletes a trail. This operation must be called from the region in which the trail was created. DeleteTrail cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions. - */ - deleteTrail(callback?: (err: AWSError, data: CloudTrail.Types.DeleteTrailResponse) => void): Request; - /** - * Retrieves settings for the trail associated with the current region for your account. - */ - describeTrails(params: CloudTrail.Types.DescribeTrailsRequest, callback?: (err: AWSError, data: CloudTrail.Types.DescribeTrailsResponse) => void): Request; - /** - * Retrieves settings for the trail associated with the current region for your account. - */ - describeTrails(callback?: (err: AWSError, data: CloudTrail.Types.DescribeTrailsResponse) => void): Request; - /** - * Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: The S3 objects that you are logging for data events. If your event selector includes management events. If your event selector includes read-only events, write-only events, or all. For more information, see Logging Data and Management Events for Trails in the AWS CloudTrail User Guide. - */ - getEventSelectors(params: CloudTrail.Types.GetEventSelectorsRequest, callback?: (err: AWSError, data: CloudTrail.Types.GetEventSelectorsResponse) => void): Request; - /** - * Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: The S3 objects that you are logging for data events. If your event selector includes management events. If your event selector includes read-only events, write-only events, or all. For more information, see Logging Data and Management Events for Trails in the AWS CloudTrail User Guide. - */ - getEventSelectors(callback?: (err: AWSError, data: CloudTrail.Types.GetEventSelectorsResponse) => void): Request; - /** - * Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single region. To return trail status from all regions, you must call the operation on each region. - */ - getTrailStatus(params: CloudTrail.Types.GetTrailStatusRequest, callback?: (err: AWSError, data: CloudTrail.Types.GetTrailStatusResponse) => void): Request; - /** - * Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single region. To return trail status from all regions, you must call the operation on each region. - */ - getTrailStatus(callback?: (err: AWSError, data: CloudTrail.Types.GetTrailStatusResponse) => void): Request; - /** - * Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key. CloudTrail uses different private/public key pairs per region. Each digest file is signed with a private key unique to its region. Therefore, when you validate a digest file from a particular region, you must look in the same region for its corresponding public key. - */ - listPublicKeys(params: CloudTrail.Types.ListPublicKeysRequest, callback?: (err: AWSError, data: CloudTrail.Types.ListPublicKeysResponse) => void): Request; - /** - * Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key. CloudTrail uses different private/public key pairs per region. Each digest file is signed with a private key unique to its region. Therefore, when you validate a digest file from a particular region, you must look in the same region for its corresponding public key. - */ - listPublicKeys(callback?: (err: AWSError, data: CloudTrail.Types.ListPublicKeysResponse) => void): Request; - /** - * Lists the tags for the trail in the current region. - */ - listTags(params: CloudTrail.Types.ListTagsRequest, callback?: (err: AWSError, data: CloudTrail.Types.ListTagsResponse) => void): Request; - /** - * Lists the tags for the trail in the current region. - */ - listTags(callback?: (err: AWSError, data: CloudTrail.Types.ListTagsResponse) => void): Request; - /** - * Looks up API activity events captured by CloudTrail that create, update, or delete resources in your account. Events for a region can be looked up for the times in which you had CloudTrail turned on in that region during the last seven days. Lookup supports the following attributes: Event ID Event name Event source Resource name Resource type User name All attributes are optional. The default number of results returned is 10, with a maximum of 50 possible. The response includes a token that you can use to get the next page of results. The rate of lookup requests is limited to one per second per account. If this limit is exceeded, a throttling error occurs. Events that occurred during the selected time range will not be available for lookup if CloudTrail logging was not enabled when the events occurred. - */ - lookupEvents(params: CloudTrail.Types.LookupEventsRequest, callback?: (err: AWSError, data: CloudTrail.Types.LookupEventsResponse) => void): Request; - /** - * Looks up API activity events captured by CloudTrail that create, update, or delete resources in your account. Events for a region can be looked up for the times in which you had CloudTrail turned on in that region during the last seven days. Lookup supports the following attributes: Event ID Event name Event source Resource name Resource type User name All attributes are optional. The default number of results returned is 10, with a maximum of 50 possible. The response includes a token that you can use to get the next page of results. The rate of lookup requests is limited to one per second per account. If this limit is exceeded, a throttling error occurs. Events that occurred during the selected time range will not be available for lookup if CloudTrail logging was not enabled when the events occurred. - */ - lookupEvents(callback?: (err: AWSError, data: CloudTrail.Types.LookupEventsResponse) => void): Request; - /** - * Configures an event selector for your trail. Use event selectors to specify whether you want your trail to log management and/or data events. When an event occurs in your account, CloudTrail evaluates the event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event but it doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown. You can configure up to five event selectors for each trail. For more information, see Logging Data and Management Events for Trails in the AWS CloudTrail User Guide. - */ - putEventSelectors(params: CloudTrail.Types.PutEventSelectorsRequest, callback?: (err: AWSError, data: CloudTrail.Types.PutEventSelectorsResponse) => void): Request; - /** - * Configures an event selector for your trail. Use event selectors to specify whether you want your trail to log management and/or data events. When an event occurs in your account, CloudTrail evaluates the event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event but it doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown. You can configure up to five event selectors for each trail. For more information, see Logging Data and Management Events for Trails in the AWS CloudTrail User Guide. - */ - putEventSelectors(callback?: (err: AWSError, data: CloudTrail.Types.PutEventSelectorsResponse) => void): Request; - /** - * Removes the specified tags from a trail. - */ - removeTags(params: CloudTrail.Types.RemoveTagsRequest, callback?: (err: AWSError, data: CloudTrail.Types.RemoveTagsResponse) => void): Request; - /** - * Removes the specified tags from a trail. - */ - removeTags(callback?: (err: AWSError, data: CloudTrail.Types.RemoveTagsResponse) => void): Request; - /** - * Starts the recording of AWS API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions. - */ - startLogging(params: CloudTrail.Types.StartLoggingRequest, callback?: (err: AWSError, data: CloudTrail.Types.StartLoggingResponse) => void): Request; - /** - * Starts the recording of AWS API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions. - */ - startLogging(callback?: (err: AWSError, data: CloudTrail.Types.StartLoggingResponse) => void): Request; - /** - * Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all regions, this operation must be called from the region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail enabled in all regions. - */ - stopLogging(params: CloudTrail.Types.StopLoggingRequest, callback?: (err: AWSError, data: CloudTrail.Types.StopLoggingResponse) => void): Request; - /** - * Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all regions, this operation must be called from the region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail enabled in all regions. - */ - stopLogging(callback?: (err: AWSError, data: CloudTrail.Types.StopLoggingResponse) => void): Request; - /** - * Updates the settings that specify delivery of log files. Changes to a trail do not require stopping the CloudTrail service. Use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. UpdateTrail must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown. - */ - updateTrail(params: CloudTrail.Types.UpdateTrailRequest, callback?: (err: AWSError, data: CloudTrail.Types.UpdateTrailResponse) => void): Request; - /** - * Updates the settings that specify delivery of log files. Changes to a trail do not require stopping the CloudTrail service. Use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. UpdateTrail must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown. - */ - updateTrail(callback?: (err: AWSError, data: CloudTrail.Types.UpdateTrailResponse) => void): Request; -} -declare namespace CloudTrail { - export interface AddTagsRequest { - /** - * Specifies the ARN of the trail to which one or more tags will be added. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - ResourceId: String; - /** - * Contains a list of CloudTrail tags, up to a limit of 50 - */ - TagsList?: TagsList; - } - export interface AddTagsResponse { - } - export type Boolean = boolean; - export type ByteBuffer = Buffer|Uint8Array|Blob|string; - export interface CreateTrailRequest { - /** - * Specifies the name of the trail. The name must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4) - */ - Name: String; - /** - * Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements. - */ - S3BucketName: String; - /** - * Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters. - */ - S3KeyPrefix?: String; - /** - * Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters. - */ - SnsTopicName?: String; - /** - * Specifies whether the trail is publishing events from global services such as IAM to the log files. - */ - IncludeGlobalServiceEvents?: Boolean; - /** - * Specifies whether the trail is created in the current region or in all regions. The default is false. - */ - IsMultiRegionTrail?: Boolean; - /** - * Specifies whether log file integrity validation is enabled. The default is false. When you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail will not create digest files for log files that were delivered during a period in which log file integrity validation was disabled. For example, if you enable log file integrity validation at noon on January 1, disable it at noon on January 2, and re-enable it at noon on January 10, digest files will not be created for the log files delivered from noon on January 2 to noon on January 10. The same applies whenever you stop CloudTrail logging or delete a trail. - */ - EnableLogFileValidation?: Boolean; - /** - * Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn. - */ - CloudWatchLogsLogGroupArn?: String; - /** - * Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. - */ - CloudWatchLogsRoleArn?: String; - /** - * Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. Examples: alias/MyAliasName arn:aws:kms:us-east-1:123456789012:alias/MyAliasName arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 12345678-1234-1234-1234-123456789012 - */ - KmsKeyId?: String; - } - export interface CreateTrailResponse { - /** - * Specifies the name of the trail. - */ - Name?: String; - /** - * Specifies the name of the Amazon S3 bucket designated for publishing log files. - */ - S3BucketName?: String; - /** - * Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. - */ - S3KeyPrefix?: String; - /** - * This field is deprecated. Use SnsTopicARN. - */ - SnsTopicName?: String; - /** - * Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered. The format of a topic ARN is: arn:aws:sns:us-east-1:123456789012:MyTopic - */ - SnsTopicARN?: String; - /** - * Specifies whether the trail is publishing events from global services such as IAM to the log files. - */ - IncludeGlobalServiceEvents?: Boolean; - /** - * Specifies whether the trail exists in one region or in all regions. - */ - IsMultiRegionTrail?: Boolean; - /** - * Specifies the ARN of the trail that was created. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - TrailARN?: String; - /** - * Specifies whether log file integrity validation is enabled. - */ - LogFileValidationEnabled?: Boolean; - /** - * Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered. - */ - CloudWatchLogsLogGroupArn?: String; - /** - * Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. - */ - CloudWatchLogsRoleArn?: String; - /** - * Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the format: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 - */ - KmsKeyId?: String; - } - export interface DataResource { - /** - * The resource type in which you want to log data events. You can specify only the following value: AWS::S3::Object. - */ - Type?: String; - /** - * A list of ARN-like strings for the specified S3 objects. To log data events for all objects in an S3 bucket, specify the bucket and an empty object prefix such as arn:aws:s3:::bucket-1/. The trail logs data events for all objects in this S3 bucket. To log data events for specific objects, specify the S3 bucket and object prefix such as arn:aws:s3:::bucket-1/example-images. The trail logs data events for objects in this S3 bucket that match the prefix. - */ - Values?: DataResourceValues; - } - export type DataResourceValues = String[]; - export type DataResources = DataResource[]; - export type _Date = Date; - export interface DeleteTrailRequest { - /** - * Specifies the name or the CloudTrail ARN of the trail to be deleted. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - Name: String; - } - export interface DeleteTrailResponse { - } - export interface DescribeTrailsRequest { - /** - * Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail If an empty list is specified, information for the trail in the current region is returned. If an empty list is specified and IncludeShadowTrails is false, then information for all trails in the current region is returned. If an empty list is specified and IncludeShadowTrails is null or true, then information for all trails in the current region and any associated shadow trails in other regions is returned. If one or more trail names are specified, information is returned only if the names match the names of trails belonging only to the current region. To return information about a trail in another region, you must specify its trail ARN. - */ - trailNameList?: TrailNameList; - /** - * Specifies whether to include shadow trails in the response. A shadow trail is the replication in a region of a trail that was created in a different region. The default is true. - */ - includeShadowTrails?: Boolean; - } - export interface DescribeTrailsResponse { - /** - * The list of trail objects. - */ - trailList?: TrailList; - } - export interface Event { - /** - * The CloudTrail ID of the event returned. - */ - EventId?: String; - /** - * The name of the event returned. - */ - EventName?: String; - /** - * The date and time of the event returned. - */ - EventTime?: _Date; - /** - * The AWS service that the request was made to. - */ - EventSource?: String; - /** - * A user name or role name of the requester that called the API in the event returned. - */ - Username?: String; - /** - * A list of resources referenced by the event returned. - */ - Resources?: ResourceList; - /** - * A JSON string that contains a representation of the event returned. - */ - CloudTrailEvent?: String; - } - export interface EventSelector { - /** - * Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation. By default, the value is All. - */ - ReadWriteType?: ReadWriteType; - /** - * Specify if you want your event selector to include management events for your trail. For more information, see Management Events in the AWS CloudTrail User Guide. By default, the value is true. - */ - IncludeManagementEvents?: Boolean; - /** - * CloudTrail supports logging only data events for S3 objects. You can specify up to 250 S3 buckets and object prefixes for a trail. For more information, see Data Events in the AWS CloudTrail User Guide. - */ - DataResources?: DataResources; - } - export type EventSelectors = EventSelector[]; - export type EventsList = Event[]; - export interface GetEventSelectorsRequest { - /** - * Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4) If you specify a trail ARN, it must be in the format: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - TrailName: String; - } - export interface GetEventSelectorsResponse { - /** - * The specified trail ARN that has the event selectors. - */ - TrailARN?: String; - /** - * The event selectors that are configured for the trail. - */ - EventSelectors?: EventSelectors; - } - export interface GetTrailStatusRequest { - /** - * Specifies the name or the CloudTrail ARN of the trail for which you are requesting status. To get the status of a shadow trail (a replication of the trail in another region), you must specify its ARN. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - Name: String; - } - export interface GetTrailStatusResponse { - /** - * Whether the CloudTrail is currently logging AWS API calls. - */ - IsLogging?: Boolean; - /** - * Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket. For more information see the topic Error Responses in the Amazon S3 API Reference. This error occurs only when there is a problem with the destination S3 bucket and will not occur for timeouts. To resolve the issue, create a new bucket and call UpdateTrail to specify the new bucket, or fix the existing objects so that CloudTrail can again write to the bucket. - */ - LatestDeliveryError?: String; - /** - * Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification. For more information about Amazon SNS errors, see the Amazon SNS Developer Guide. - */ - LatestNotificationError?: String; - /** - * Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket. - */ - LatestDeliveryTime?: _Date; - /** - * Specifies the date and time of the most recent Amazon SNS notification that CloudTrail has written a new log file to an account's Amazon S3 bucket. - */ - LatestNotificationTime?: _Date; - /** - * Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account. - */ - StartLoggingTime?: _Date; - /** - * Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account. - */ - StopLoggingTime?: _Date; - /** - * Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs. - */ - LatestCloudWatchLogsDeliveryError?: String; - /** - * Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs. - */ - LatestCloudWatchLogsDeliveryTime?: _Date; - /** - * Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket. - */ - LatestDigestDeliveryTime?: _Date; - /** - * Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket. For more information see the topic Error Responses in the Amazon S3 API Reference. This error occurs only when there is a problem with the destination S3 bucket and will not occur for timeouts. To resolve the issue, create a new bucket and call UpdateTrail to specify the new bucket, or fix the existing objects so that CloudTrail can again write to the bucket. - */ - LatestDigestDeliveryError?: String; - /** - * This field is deprecated. - */ - LatestDeliveryAttemptTime?: String; - /** - * This field is deprecated. - */ - LatestNotificationAttemptTime?: String; - /** - * This field is deprecated. - */ - LatestNotificationAttemptSucceeded?: String; - /** - * This field is deprecated. - */ - LatestDeliveryAttemptSucceeded?: String; - /** - * This field is deprecated. - */ - TimeLoggingStarted?: String; - /** - * This field is deprecated. - */ - TimeLoggingStopped?: String; - } - export interface ListPublicKeysRequest { - /** - * Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned. - */ - StartTime?: _Date; - /** - * Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used. - */ - EndTime?: _Date; - /** - * Reserved for future use. - */ - NextToken?: String; - } - export interface ListPublicKeysResponse { - /** - * Contains an array of PublicKey objects. The returned public keys may have validity time ranges that overlap. - */ - PublicKeyList?: PublicKeyList; - /** - * Reserved for future use. - */ - NextToken?: String; - } - export interface ListTagsRequest { - /** - * Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - ResourceIdList: ResourceIdList; - /** - * Reserved for future use. - */ - NextToken?: String; - } - export interface ListTagsResponse { - /** - * A list of resource tags. - */ - ResourceTagList?: ResourceTagList; - /** - * Reserved for future use. - */ - NextToken?: String; - } - export interface LookupAttribute { - /** - * Specifies an attribute on which to filter the events returned. - */ - AttributeKey: LookupAttributeKey; - /** - * Specifies a value for the specified AttributeKey. - */ - AttributeValue: String; - } - export type LookupAttributeKey = "EventId"|"EventName"|"Username"|"ResourceType"|"ResourceName"|"EventSource"|string; - export type LookupAttributesList = LookupAttribute[]; - export interface LookupEventsRequest { - /** - * Contains a list of lookup attributes. Currently the list can contain only one item. - */ - LookupAttributes?: LookupAttributesList; - /** - * Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned. - */ - StartTime?: _Date; - /** - * Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned. - */ - EndTime?: _Date; - /** - * The number of events to return. Possible values are 1 through 50. The default is 10. - */ - MaxResults?: MaxResults; - /** - * The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters. - */ - NextToken?: NextToken; - } - export interface LookupEventsResponse { - /** - * A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first. - */ - Events?: EventsList; - /** - * The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters. - */ - NextToken?: NextToken; - } - export type MaxResults = number; - export type NextToken = string; - export interface PublicKey { - /** - * The DER encoded public key value in PKCS#1 format. - */ - Value?: ByteBuffer; - /** - * The starting time of validity of the public key. - */ - ValidityStartTime?: _Date; - /** - * The ending time of validity of the public key. - */ - ValidityEndTime?: _Date; - /** - * The fingerprint of the public key. - */ - Fingerprint?: String; - } - export type PublicKeyList = PublicKey[]; - export interface PutEventSelectorsRequest { - /** - * Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4) If you specify a trail ARN, it must be in the format: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - TrailName: String; - /** - * Specifies the settings for your event selectors. You can configure up to five event selectors for a trail. - */ - EventSelectors: EventSelectors; - } - export interface PutEventSelectorsResponse { - /** - * Specifies the ARN of the trail that was updated with event selectors. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - TrailARN?: String; - /** - * Specifies the event selectors configured for your trail. - */ - EventSelectors?: EventSelectors; - } - export type ReadWriteType = "ReadOnly"|"WriteOnly"|"All"|string; - export interface RemoveTagsRequest { - /** - * Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - ResourceId: String; - /** - * Specifies a list of tags to be removed. - */ - TagsList?: TagsList; - } - export interface RemoveTagsResponse { - } - export interface Resource { - /** - * The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. For a list of resource types supported for event lookup, see Resource Types Supported for Event Lookup. - */ - ResourceType?: String; - /** - * The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance. - */ - ResourceName?: String; - } - export type ResourceIdList = String[]; - export type ResourceList = Resource[]; - export interface ResourceTag { - /** - * Specifies the ARN of the resource. - */ - ResourceId?: String; - /** - * A list of tags. - */ - TagsList?: TagsList; - } - export type ResourceTagList = ResourceTag[]; - export interface StartLoggingRequest { - /** - * Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - Name: String; - } - export interface StartLoggingResponse { - } - export interface StopLoggingRequest { - /** - * Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging AWS API calls. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - Name: String; - } - export interface StopLoggingResponse { - } - export type String = string; - export interface Tag { - /** - * The key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key must be unique for the resource to which it applies. - */ - Key: String; - /** - * The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters. - */ - Value?: String; - } - export type TagsList = Tag[]; - export interface Trail { - /** - * Name of the trail set by calling CreateTrail. The maximum length is 128 characters. - */ - Name?: String; - /** - * Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. See Amazon S3 Bucket Naming Requirements. - */ - S3BucketName?: String; - /** - * Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files.The maximum length is 200 characters. - */ - S3KeyPrefix?: String; - /** - * This field is deprecated. Use SnsTopicARN. - */ - SnsTopicName?: String; - /** - * Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered. The format of a topic ARN is: arn:aws:sns:us-east-1:123456789012:MyTopic - */ - SnsTopicARN?: String; - /** - * Set to True to include AWS API calls from AWS global services such as IAM. Otherwise, False. - */ - IncludeGlobalServiceEvents?: Boolean; - /** - * Specifies whether the trail belongs only to one region or exists in all regions. - */ - IsMultiRegionTrail?: Boolean; - /** - * The region in which the trail was created. - */ - HomeRegion?: String; - /** - * Specifies the ARN of the trail. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - TrailARN?: String; - /** - * Specifies whether log file validation is enabled. - */ - LogFileValidationEnabled?: Boolean; - /** - * Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. - */ - CloudWatchLogsLogGroupArn?: String; - /** - * Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. - */ - CloudWatchLogsRoleArn?: String; - /** - * Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the format: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 - */ - KmsKeyId?: String; - /** - * Specifies if the trail has custom event selectors. - */ - HasCustomEventSelectors?: Boolean; - } - export type TrailList = Trail[]; - export type TrailNameList = String[]; - export interface UpdateTrailRequest { - /** - * Specifies the name of the trail or trail ARN. If Name is a trail name, the string must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4) If Name is a trail ARN, it must be in the format: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - Name: String; - /** - * Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements. - */ - S3BucketName?: String; - /** - * Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters. - */ - S3KeyPrefix?: String; - /** - * Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters. - */ - SnsTopicName?: String; - /** - * Specifies whether the trail is publishing events from global services such as IAM to the log files. - */ - IncludeGlobalServiceEvents?: Boolean; - /** - * Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region where it was created, and its shadow trails in other regions will be deleted. - */ - IsMultiRegionTrail?: Boolean; - /** - * Specifies whether log file validation is enabled. The default is false. When you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail will not create digest files for log files that were delivered during a period in which log file integrity validation was disabled. For example, if you enable log file integrity validation at noon on January 1, disable it at noon on January 2, and re-enable it at noon on January 10, digest files will not be created for the log files delivered from noon on January 2 to noon on January 10. The same applies whenever you stop CloudTrail logging or delete a trail. - */ - EnableLogFileValidation?: Boolean; - /** - * Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn. - */ - CloudWatchLogsLogGroupArn?: String; - /** - * Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. - */ - CloudWatchLogsRoleArn?: String; - /** - * Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. Examples: alias/MyAliasName arn:aws:kms:us-east-1:123456789012:alias/MyAliasName arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 12345678-1234-1234-1234-123456789012 - */ - KmsKeyId?: String; - } - export interface UpdateTrailResponse { - /** - * Specifies the name of the trail. - */ - Name?: String; - /** - * Specifies the name of the Amazon S3 bucket designated for publishing log files. - */ - S3BucketName?: String; - /** - * Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. - */ - S3KeyPrefix?: String; - /** - * This field is deprecated. Use SnsTopicARN. - */ - SnsTopicName?: String; - /** - * Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered. The format of a topic ARN is: arn:aws:sns:us-east-1:123456789012:MyTopic - */ - SnsTopicARN?: String; - /** - * Specifies whether the trail is publishing events from global services such as IAM to the log files. - */ - IncludeGlobalServiceEvents?: Boolean; - /** - * Specifies whether the trail exists in one region or in all regions. - */ - IsMultiRegionTrail?: Boolean; - /** - * Specifies the ARN of the trail that was updated. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail - */ - TrailARN?: String; - /** - * Specifies whether log file integrity validation is enabled. - */ - LogFileValidationEnabled?: Boolean; - /** - * Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered. - */ - CloudWatchLogsLogGroupArn?: String; - /** - * Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. - */ - CloudWatchLogsRoleArn?: String; - /** - * Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the format: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 - */ - KmsKeyId?: String; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2013-11-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CloudTrail client. - */ - export import Types = CloudTrail; -} -export = CloudTrail; diff --git a/src/node_modules/aws-sdk/clients/cloudtrail.js b/src/node_modules/aws-sdk/clients/cloudtrail.js deleted file mode 100644 index 8e52986..0000000 --- a/src/node_modules/aws-sdk/clients/cloudtrail.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cloudtrail'] = {}; -AWS.CloudTrail = Service.defineService('cloudtrail', ['2013-11-01']); -Object.defineProperty(apiLoader.services['cloudtrail'], '2013-11-01', { - get: function get() { - var model = require('../apis/cloudtrail-2013-11-01.min.json'); - model.paginators = require('../apis/cloudtrail-2013-11-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudTrail; diff --git a/src/node_modules/aws-sdk/clients/cloudwatch.d.ts b/src/node_modules/aws-sdk/clients/cloudwatch.d.ts deleted file mode 100644 index 51ef029..0000000 --- a/src/node_modules/aws-sdk/clients/cloudwatch.d.ts +++ /dev/null @@ -1,848 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CloudWatch extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CloudWatch.Types.ClientConfiguration) - config: Config & CloudWatch.Types.ClientConfiguration; - /** - * Deletes the specified alarms. In the event of an error, no alarms are deleted. - */ - deleteAlarms(params: CloudWatch.Types.DeleteAlarmsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified alarms. In the event of an error, no alarms are deleted. - */ - deleteAlarms(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes all dashboards that you specify. You may specify up to 100 dashboards to delete. If there is an error during this call, no dashboards are deleted. - */ - deleteDashboards(params: CloudWatch.Types.DeleteDashboardsInput, callback?: (err: AWSError, data: CloudWatch.Types.DeleteDashboardsOutput) => void): Request; - /** - * Deletes all dashboards that you specify. You may specify up to 100 dashboards to delete. If there is an error during this call, no dashboards are deleted. - */ - deleteDashboards(callback?: (err: AWSError, data: CloudWatch.Types.DeleteDashboardsOutput) => void): Request; - /** - * Retrieves the history for the specified alarm. You can filter the results by date range or item type. If an alarm name is not specified, the histories for all alarms are returned. CloudWatch retains the history of an alarm even if you delete the alarm. - */ - describeAlarmHistory(params: CloudWatch.Types.DescribeAlarmHistoryInput, callback?: (err: AWSError, data: CloudWatch.Types.DescribeAlarmHistoryOutput) => void): Request; - /** - * Retrieves the history for the specified alarm. You can filter the results by date range or item type. If an alarm name is not specified, the histories for all alarms are returned. CloudWatch retains the history of an alarm even if you delete the alarm. - */ - describeAlarmHistory(callback?: (err: AWSError, data: CloudWatch.Types.DescribeAlarmHistoryOutput) => void): Request; - /** - * Retrieves the specified alarms. If no alarms are specified, all alarms are returned. Alarms can be retrieved by using only a prefix for the alarm name, the alarm state, or a prefix for any action. - */ - describeAlarms(params: CloudWatch.Types.DescribeAlarmsInput, callback?: (err: AWSError, data: CloudWatch.Types.DescribeAlarmsOutput) => void): Request; - /** - * Retrieves the specified alarms. If no alarms are specified, all alarms are returned. Alarms can be retrieved by using only a prefix for the alarm name, the alarm state, or a prefix for any action. - */ - describeAlarms(callback?: (err: AWSError, data: CloudWatch.Types.DescribeAlarmsOutput) => void): Request; - /** - * Retrieves the alarms for the specified metric. To filter the results, specify a statistic, period, or unit. - */ - describeAlarmsForMetric(params: CloudWatch.Types.DescribeAlarmsForMetricInput, callback?: (err: AWSError, data: CloudWatch.Types.DescribeAlarmsForMetricOutput) => void): Request; - /** - * Retrieves the alarms for the specified metric. To filter the results, specify a statistic, period, or unit. - */ - describeAlarmsForMetric(callback?: (err: AWSError, data: CloudWatch.Types.DescribeAlarmsForMetricOutput) => void): Request; - /** - * Disables the actions for the specified alarms. When an alarm's actions are disabled, the alarm actions do not execute when the alarm state changes. - */ - disableAlarmActions(params: CloudWatch.Types.DisableAlarmActionsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables the actions for the specified alarms. When an alarm's actions are disabled, the alarm actions do not execute when the alarm state changes. - */ - disableAlarmActions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables the actions for the specified alarms. - */ - enableAlarmActions(params: CloudWatch.Types.EnableAlarmActionsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables the actions for the specified alarms. - */ - enableAlarmActions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Displays the details of the dashboard that you specify. To copy an existing dashboard, use GetDashboard, and then use the data returned within DashboardBody as the template for the new dashboard when you call PutDashboard to create the copy. - */ - getDashboard(params: CloudWatch.Types.GetDashboardInput, callback?: (err: AWSError, data: CloudWatch.Types.GetDashboardOutput) => void): Request; - /** - * Displays the details of the dashboard that you specify. To copy an existing dashboard, use GetDashboard, and then use the data returned within DashboardBody as the template for the new dashboard when you call PutDashboard to create the copy. - */ - getDashboard(callback?: (err: AWSError, data: CloudWatch.Types.GetDashboardOutput) => void): Request; - /** - * Gets statistics for the specified metric. Amazon CloudWatch retains metric data as follows: Data points with a period of 60 seconds (1-minute) are available for 15 days Data points with a period of 300 seconds (5-minute) are available for 63 days Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months) CloudWatch started retaining 5-minute and 1-hour metric data as of July 9, 2016. The maximum number of data points returned from a single call is 1,440. If you request more than 1,440 data points, CloudWatch returns an error. To reduce the number of data points, you can narrow the specified time range and make multiple requests across adjacent time ranges, or you can increase the specified period. A period can be as short as one minute (60 seconds). Data points are not returned in chronological order. CloudWatch aggregates data points based on the length of the period that you specify. For example, if you request statistics with a one-hour period, CloudWatch aggregates all data points with time stamps that fall within each one-hour period. Therefore, the number of values aggregated by CloudWatch is larger than the number of data points returned. CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true: The SampleCount value of the statistic set is 1. The Min and the Max values of the statistic set are equal. For a list of metrics and dimensions supported by AWS services, see the Amazon CloudWatch Metrics and Dimensions Reference in the Amazon CloudWatch User Guide. - */ - getMetricStatistics(params: CloudWatch.Types.GetMetricStatisticsInput, callback?: (err: AWSError, data: CloudWatch.Types.GetMetricStatisticsOutput) => void): Request; - /** - * Gets statistics for the specified metric. Amazon CloudWatch retains metric data as follows: Data points with a period of 60 seconds (1-minute) are available for 15 days Data points with a period of 300 seconds (5-minute) are available for 63 days Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months) CloudWatch started retaining 5-minute and 1-hour metric data as of July 9, 2016. The maximum number of data points returned from a single call is 1,440. If you request more than 1,440 data points, CloudWatch returns an error. To reduce the number of data points, you can narrow the specified time range and make multiple requests across adjacent time ranges, or you can increase the specified period. A period can be as short as one minute (60 seconds). Data points are not returned in chronological order. CloudWatch aggregates data points based on the length of the period that you specify. For example, if you request statistics with a one-hour period, CloudWatch aggregates all data points with time stamps that fall within each one-hour period. Therefore, the number of values aggregated by CloudWatch is larger than the number of data points returned. CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true: The SampleCount value of the statistic set is 1. The Min and the Max values of the statistic set are equal. For a list of metrics and dimensions supported by AWS services, see the Amazon CloudWatch Metrics and Dimensions Reference in the Amazon CloudWatch User Guide. - */ - getMetricStatistics(callback?: (err: AWSError, data: CloudWatch.Types.GetMetricStatisticsOutput) => void): Request; - /** - * Returns a list of the dashboards for your account. If you include DashboardNamePrefix, only those dashboards with names starting with the prefix are listed. Otherwise, all dashboards in your account are listed. - */ - listDashboards(params: CloudWatch.Types.ListDashboardsInput, callback?: (err: AWSError, data: CloudWatch.Types.ListDashboardsOutput) => void): Request; - /** - * Returns a list of the dashboards for your account. If you include DashboardNamePrefix, only those dashboards with names starting with the prefix are listed. Otherwise, all dashboards in your account are listed. - */ - listDashboards(callback?: (err: AWSError, data: CloudWatch.Types.ListDashboardsOutput) => void): Request; - /** - * List the specified metrics. You can use the returned metrics with GetMetricStatistics to obtain statistical data. Up to 500 results are returned for any one call. To retrieve additional results, use the returned token with subsequent calls. After you create a metric, allow up to fifteen minutes before the metric appears. Statistics about the metric, however, are available sooner using GetMetricStatistics. - */ - listMetrics(params: CloudWatch.Types.ListMetricsInput, callback?: (err: AWSError, data: CloudWatch.Types.ListMetricsOutput) => void): Request; - /** - * List the specified metrics. You can use the returned metrics with GetMetricStatistics to obtain statistical data. Up to 500 results are returned for any one call. To retrieve additional results, use the returned token with subsequent calls. After you create a metric, allow up to fifteen minutes before the metric appears. Statistics about the metric, however, are available sooner using GetMetricStatistics. - */ - listMetrics(callback?: (err: AWSError, data: CloudWatch.Types.ListMetricsOutput) => void): Request; - /** - * Creates a dashboard if it does not already exist, or updates an existing dashboard. If you update a dashboard, the entire contents are replaced with what you specify here. You can have up to 500 dashboards per account. All dashboards in your account are global, not region-specific. To copy an existing dashboard, use GetDashboard, and then use the data returned within DashboardBody as the template for the new dashboard when you call PutDashboard to create the copy. - */ - putDashboard(params: CloudWatch.Types.PutDashboardInput, callback?: (err: AWSError, data: CloudWatch.Types.PutDashboardOutput) => void): Request; - /** - * Creates a dashboard if it does not already exist, or updates an existing dashboard. If you update a dashboard, the entire contents are replaced with what you specify here. You can have up to 500 dashboards per account. All dashboards in your account are global, not region-specific. To copy an existing dashboard, use GetDashboard, and then use the data returned within DashboardBody as the template for the new dashboard when you call PutDashboard to create the copy. - */ - putDashboard(callback?: (err: AWSError, data: CloudWatch.Types.PutDashboardOutput) => void): Request; - /** - * Creates or updates an alarm and associates it with the specified metric. Optionally, this operation can associate one or more Amazon SNS resources with the alarm. When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is evaluated and its state is set appropriately. Any actions associated with the state are then executed. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. If you are an IAM user, you must have Amazon EC2 permissions for some operations: ec2:DescribeInstanceStatus and ec2:DescribeInstances for all alarms on EC2 instance status metrics ec2:StopInstances for alarms with stop actions ec2:TerminateInstances for alarms with terminate actions ec2:DescribeInstanceRecoveryAttribute and ec2:RecoverInstances for alarms with recover actions If you have read/write permissions for Amazon CloudWatch but not for Amazon EC2, you can still create an alarm, but the stop or terminate actions are not performed. However, if you are later granted the required permissions, the alarm actions that you created earlier are performed. If you are using an IAM role (for example, an EC2 instance profile), you cannot stop or terminate the instance using alarm actions. However, you can still see the alarm state and perform any other actions such as Amazon SNS notifications or Auto Scaling policies. If you are using temporary security credentials granted using AWS STS, you cannot stop or terminate an EC2 instance using alarm actions. You must create at least one stop, terminate, or reboot alarm using either the Amazon EC2 or CloudWatch consoles to create the EC2ActionsAccess IAM role. After this IAM role is created, you can create stop, terminate, or reboot alarms using a command-line interface or API. - */ - putMetricAlarm(params: CloudWatch.Types.PutMetricAlarmInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates an alarm and associates it with the specified metric. Optionally, this operation can associate one or more Amazon SNS resources with the alarm. When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is evaluated and its state is set appropriately. Any actions associated with the state are then executed. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. If you are an IAM user, you must have Amazon EC2 permissions for some operations: ec2:DescribeInstanceStatus and ec2:DescribeInstances for all alarms on EC2 instance status metrics ec2:StopInstances for alarms with stop actions ec2:TerminateInstances for alarms with terminate actions ec2:DescribeInstanceRecoveryAttribute and ec2:RecoverInstances for alarms with recover actions If you have read/write permissions for Amazon CloudWatch but not for Amazon EC2, you can still create an alarm, but the stop or terminate actions are not performed. However, if you are later granted the required permissions, the alarm actions that you created earlier are performed. If you are using an IAM role (for example, an EC2 instance profile), you cannot stop or terminate the instance using alarm actions. However, you can still see the alarm state and perform any other actions such as Amazon SNS notifications or Auto Scaling policies. If you are using temporary security credentials granted using AWS STS, you cannot stop or terminate an EC2 instance using alarm actions. You must create at least one stop, terminate, or reboot alarm using either the Amazon EC2 or CloudWatch consoles to create the EC2ActionsAccess IAM role. After this IAM role is created, you can create stop, terminate, or reboot alarms using a command-line interface or API. - */ - putMetricAlarm(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metric. If the specified metric does not exist, CloudWatch creates the metric. When CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to ListMetrics. Each PutMetricData request is limited to 40 KB in size for HTTP POST requests. Although the Value parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. You can use up to 10 dimensions per metric to further clarify what data the metric collects. For more information about specifying dimensions, see Publishing Metrics in the Amazon CloudWatch User Guide. Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for GetMetricStatistics from the time they are submitted. CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true: The SampleCount value of the statistic set is 1 The Min and the Max values of the statistic set are equal - */ - putMetricData(params: CloudWatch.Types.PutMetricDataInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metric. If the specified metric does not exist, CloudWatch creates the metric. When CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to ListMetrics. Each PutMetricData request is limited to 40 KB in size for HTTP POST requests. Although the Value parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. You can use up to 10 dimensions per metric to further clarify what data the metric collects. For more information about specifying dimensions, see Publishing Metrics in the Amazon CloudWatch User Guide. Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for GetMetricStatistics from the time they are submitted. CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true: The SampleCount value of the statistic set is 1 The Min and the Max values of the statistic set are equal - */ - putMetricData(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Temporarily sets the state of an alarm for testing purposes. When the updated state differs from the previous value, the action configured for the appropriate state is invoked. For example, if your alarm is configured to send an Amazon SNS message when an alarm is triggered, temporarily changing the alarm state to ALARM sends an SNS message. The alarm returns to its actual state (often within seconds). Because the alarm state change happens quickly, it is typically only visible in the alarm's History tab in the Amazon CloudWatch console or through DescribeAlarmHistory. - */ - setAlarmState(params: CloudWatch.Types.SetAlarmStateInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Temporarily sets the state of an alarm for testing purposes. When the updated state differs from the previous value, the action configured for the appropriate state is invoked. For example, if your alarm is configured to send an Amazon SNS message when an alarm is triggered, temporarily changing the alarm state to ALARM sends an SNS message. The alarm returns to its actual state (often within seconds). Because the alarm state change happens quickly, it is typically only visible in the alarm's History tab in the Amazon CloudWatch console or through DescribeAlarmHistory. - */ - setAlarmState(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Waits for the alarmExists state by periodically calling the underlying CloudWatch.describeAlarmsoperation every 5 seconds (at most 40 times). - */ - waitFor(state: "alarmExists", params: CloudWatch.Types.DescribeAlarmsInput, callback?: (err: AWSError, data: CloudWatch.Types.DescribeAlarmsOutput) => void): Request; - /** - * Waits for the alarmExists state by periodically calling the underlying CloudWatch.describeAlarmsoperation every 5 seconds (at most 40 times). - */ - waitFor(state: "alarmExists", callback?: (err: AWSError, data: CloudWatch.Types.DescribeAlarmsOutput) => void): Request; -} -declare namespace CloudWatch { - export type ActionPrefix = string; - export type ActionsEnabled = boolean; - export type AlarmArn = string; - export type AlarmDescription = string; - export interface AlarmHistoryItem { - /** - * The descriptive name for the alarm. - */ - AlarmName?: AlarmName; - /** - * The time stamp for the alarm history item. - */ - Timestamp?: Timestamp; - /** - * The type of alarm history item. - */ - HistoryItemType?: HistoryItemType; - /** - * A summary of the alarm history, in text format. - */ - HistorySummary?: HistorySummary; - /** - * Data about the alarm, in JSON format. - */ - HistoryData?: HistoryData; - } - export type AlarmHistoryItems = AlarmHistoryItem[]; - export type AlarmName = string; - export type AlarmNamePrefix = string; - export type AlarmNames = AlarmName[]; - export type AwsQueryErrorMessage = string; - export type ComparisonOperator = "GreaterThanOrEqualToThreshold"|"GreaterThanThreshold"|"LessThanThreshold"|"LessThanOrEqualToThreshold"|string; - export type DashboardArn = string; - export type DashboardBody = string; - export type DashboardEntries = DashboardEntry[]; - export interface DashboardEntry { - /** - * The name of the dashboard. - */ - DashboardName?: DashboardName; - /** - * The Amazon Resource Name (ARN) of the dashboard. - */ - DashboardArn?: DashboardArn; - /** - * The time stamp of when the dashboard was last modified, either by an API call or through the console. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - LastModified?: LastModified; - /** - * The size of the dashboard, in bytes. - */ - Size?: Size; - } - export type DashboardErrorMessage = string; - export type DashboardName = string; - export type DashboardNamePrefix = string; - export type DashboardNames = DashboardName[]; - export interface DashboardValidationMessage { - /** - * The data path related to the message. - */ - DataPath?: DataPath; - /** - * A message describing the error or warning. - */ - Message?: Message; - } - export type DashboardValidationMessages = DashboardValidationMessage[]; - export type DataPath = string; - export interface Datapoint { - /** - * The time stamp used for the data point. - */ - Timestamp?: Timestamp; - /** - * The number of metric values that contributed to the aggregate value of this data point. - */ - SampleCount?: DatapointValue; - /** - * The average of the metric values that correspond to the data point. - */ - Average?: DatapointValue; - /** - * The sum of the metric values for the data point. - */ - Sum?: DatapointValue; - /** - * The minimum metric value for the data point. - */ - Minimum?: DatapointValue; - /** - * The maximum metric value for the data point. - */ - Maximum?: DatapointValue; - /** - * The standard unit for the data point. - */ - Unit?: StandardUnit; - /** - * The percentile statistic for the data point. - */ - ExtendedStatistics?: DatapointValueMap; - } - export type DatapointValue = number; - export type DatapointValueMap = {[key: string]: DatapointValue}; - export type Datapoints = Datapoint[]; - export interface DeleteAlarmsInput { - /** - * The alarms to be deleted. - */ - AlarmNames: AlarmNames; - } - export interface DeleteDashboardsInput { - /** - * The dashboards to be deleted. - */ - DashboardNames?: DashboardNames; - } - export interface DeleteDashboardsOutput { - } - export interface DescribeAlarmHistoryInput { - /** - * The name of the alarm. - */ - AlarmName?: AlarmName; - /** - * The type of alarm histories to retrieve. - */ - HistoryItemType?: HistoryItemType; - /** - * The starting date to retrieve alarm history. - */ - StartDate?: Timestamp; - /** - * The ending date to retrieve alarm history. - */ - EndDate?: Timestamp; - /** - * The maximum number of alarm history records to retrieve. - */ - MaxRecords?: MaxRecords; - /** - * The token returned by a previous call to indicate that there is more data available. - */ - NextToken?: NextToken; - } - export interface DescribeAlarmHistoryOutput { - /** - * The alarm histories, in JSON format. - */ - AlarmHistoryItems?: AlarmHistoryItems; - /** - * The token that marks the start of the next batch of returned results. - */ - NextToken?: NextToken; - } - export interface DescribeAlarmsForMetricInput { - /** - * The name of the metric. - */ - MetricName: MetricName; - /** - * The namespace of the metric. - */ - Namespace: Namespace; - /** - * The statistic for the metric, other than percentiles. For percentile statistics, use ExtendedStatistics. - */ - Statistic?: Statistic; - /** - * The percentile statistic for the metric. Specify a value between p0.0 and p100. - */ - ExtendedStatistic?: ExtendedStatistic; - /** - * The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed. - */ - Dimensions?: Dimensions; - /** - * The period, in seconds, over which the statistic is applied. - */ - Period?: Period; - /** - * The unit for the metric. - */ - Unit?: StandardUnit; - } - export interface DescribeAlarmsForMetricOutput { - /** - * The information for each alarm with the specified metric. - */ - MetricAlarms?: MetricAlarms; - } - export interface DescribeAlarmsInput { - /** - * The names of the alarms. - */ - AlarmNames?: AlarmNames; - /** - * The alarm name prefix. If this parameter is specified, you cannot specify AlarmNames. - */ - AlarmNamePrefix?: AlarmNamePrefix; - /** - * The state value to be used in matching alarms. - */ - StateValue?: StateValue; - /** - * The action name prefix. - */ - ActionPrefix?: ActionPrefix; - /** - * The maximum number of alarm descriptions to retrieve. - */ - MaxRecords?: MaxRecords; - /** - * The token returned by a previous call to indicate that there is more data available. - */ - NextToken?: NextToken; - } - export interface DescribeAlarmsOutput { - /** - * The information for the specified alarms. - */ - MetricAlarms?: MetricAlarms; - /** - * The token that marks the start of the next batch of returned results. - */ - NextToken?: NextToken; - } - export interface Dimension { - /** - * The name of the dimension. - */ - Name: DimensionName; - /** - * The value representing the dimension measurement. - */ - Value: DimensionValue; - } - export interface DimensionFilter { - /** - * The dimension name to be matched. - */ - Name: DimensionName; - /** - * The value of the dimension to be matched. - */ - Value?: DimensionValue; - } - export type DimensionFilters = DimensionFilter[]; - export type DimensionName = string; - export type DimensionValue = string; - export type Dimensions = Dimension[]; - export interface DisableAlarmActionsInput { - /** - * The names of the alarms. - */ - AlarmNames: AlarmNames; - } - export interface EnableAlarmActionsInput { - /** - * The names of the alarms. - */ - AlarmNames: AlarmNames; - } - export type ErrorMessage = string; - export type EvaluateLowSampleCountPercentile = string; - export type EvaluationPeriods = number; - export type ExtendedStatistic = string; - export type ExtendedStatistics = ExtendedStatistic[]; - export type FaultDescription = string; - export interface GetDashboardInput { - /** - * The name of the dashboard to be described. - */ - DashboardName?: DashboardName; - } - export interface GetDashboardOutput { - /** - * The Amazon Resource Name (ARN) of the dashboard. - */ - DashboardArn?: DashboardArn; - /** - * The detailed information about the dashboard, including what widgets are included and their location on the dashboard. For more information about the DashboardBody syntax, see CloudWatch-Dashboard-Body-Structure. - */ - DashboardBody?: DashboardBody; - /** - * The name of the dashboard. - */ - DashboardName?: DashboardName; - } - export interface GetMetricStatisticsInput { - /** - * The namespace of the metric, with or without spaces. - */ - Namespace: Namespace; - /** - * The name of the metric, with or without spaces. - */ - MetricName: MetricName; - /** - * The dimensions. If the metric contains multiple dimensions, you must include a value for each dimension. CloudWatch treats each unique combination of dimensions as a separate metric. If a specific combination of dimensions was not published, you can't retrieve statistics for it. You must specify the same dimensions that were used when the metrics were created. For an example, see Dimension Combinations in the Amazon CloudWatch User Guide. For more information about specifying dimensions, see Publishing Metrics in the Amazon CloudWatch User Guide. - */ - Dimensions?: Dimensions; - /** - * The time stamp that determines the first data point to return. Start times are evaluated relative to the time that CloudWatch receives the request. The value specified is inclusive; results include data points with the specified time stamp. The time stamp must be in ISO 8601 UTC format (for example, 2016-10-03T23:00:00Z). CloudWatch rounds the specified time stamp as follows: Start time less than 15 days ago - Round down to the nearest whole minute. For example, 12:32:34 is rounded down to 12:32:00. Start time between 15 and 63 days ago - Round down to the nearest 5-minute clock interval. For example, 12:32:34 is rounded down to 12:30:00. Start time greater than 63 days ago - Round down to the nearest 1-hour clock interval. For example, 12:32:34 is rounded down to 12:00:00. - */ - StartTime: Timestamp; - /** - * The time stamp that determines the last data point to return. The value specified is exclusive; results include data points up to the specified time stamp. The time stamp must be in ISO 8601 UTC format (for example, 2016-10-10T23:00:00Z). - */ - EndTime: Timestamp; - /** - * The granularity, in seconds, of the returned data points. A period can be as short as one minute (60 seconds) and must be a multiple of 60. If the StartTime parameter specifies a time stamp that is greater than 15 days ago, you must specify the period as follows or no data points in that time range is returned: Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - */ - Period: Period; - /** - * The metric statistics, other than percentile. For percentile statistics, use ExtendedStatistics. When calling GetMetricStatistics, you must specify either Statistics or ExtendedStatistics, but not both. - */ - Statistics?: Statistics; - /** - * The percentile statistics. Specify values between p0.0 and p100. When calling GetMetricStatistics, you must specify either Statistics or ExtendedStatistics, but not both. - */ - ExtendedStatistics?: ExtendedStatistics; - /** - * The unit for a given metric. Metrics may be reported in multiple units. Not supplying a unit results in all units being returned. If the metric only ever reports one unit, specifying a unit has no effect. - */ - Unit?: StandardUnit; - } - export interface GetMetricStatisticsOutput { - /** - * A label for the specified metric. - */ - Label?: MetricLabel; - /** - * The data points for the specified metric. - */ - Datapoints?: Datapoints; - } - export type HistoryData = string; - export type HistoryItemType = "ConfigurationUpdate"|"StateUpdate"|"Action"|string; - export type HistorySummary = string; - export type LastModified = Date; - export interface ListDashboardsInput { - /** - * If you specify this parameter, only the dashboards with names starting with the specified string are listed. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, ".", "-", and "_". - */ - DashboardNamePrefix?: DashboardNamePrefix; - /** - * The token returned by a previous call to indicate that there is more data available. - */ - NextToken?: NextToken; - } - export interface ListDashboardsOutput { - /** - * The list of matching dashboards. - */ - DashboardEntries?: DashboardEntries; - /** - * The token that marks the start of the next batch of returned results. - */ - NextToken?: NextToken; - } - export interface ListMetricsInput { - /** - * The namespace to filter against. - */ - Namespace?: Namespace; - /** - * The name of the metric to filter against. - */ - MetricName?: MetricName; - /** - * The dimensions to filter against. - */ - Dimensions?: DimensionFilters; - /** - * The token returned by a previous call to indicate that there is more data available. - */ - NextToken?: NextToken; - } - export interface ListMetricsOutput { - /** - * The metrics. - */ - Metrics?: Metrics; - /** - * The token that marks the start of the next batch of returned results. - */ - NextToken?: NextToken; - } - export type MaxRecords = number; - export type Message = string; - export interface Metric { - /** - * The namespace of the metric. - */ - Namespace?: Namespace; - /** - * The name of the metric. - */ - MetricName?: MetricName; - /** - * The dimensions for the metric. - */ - Dimensions?: Dimensions; - } - export interface MetricAlarm { - /** - * The name of the alarm. - */ - AlarmName?: AlarmName; - /** - * The Amazon Resource Name (ARN) of the alarm. - */ - AlarmArn?: AlarmArn; - /** - * The description of the alarm. - */ - AlarmDescription?: AlarmDescription; - /** - * The time stamp of the last update to the alarm configuration. - */ - AlarmConfigurationUpdatedTimestamp?: Timestamp; - /** - * Indicates whether actions should be executed during any changes to the alarm state. - */ - ActionsEnabled?: ActionsEnabled; - /** - * The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). - */ - OKActions?: ResourceList; - /** - * The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN). - */ - AlarmActions?: ResourceList; - /** - * The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). - */ - InsufficientDataActions?: ResourceList; - /** - * The state value for the alarm. - */ - StateValue?: StateValue; - /** - * An explanation for the alarm state, in text format. - */ - StateReason?: StateReason; - /** - * An explanation for the alarm state, in JSON format. - */ - StateReasonData?: StateReasonData; - /** - * The time stamp of the last update to the alarm state. - */ - StateUpdatedTimestamp?: Timestamp; - /** - * The name of the metric associated with the alarm. - */ - MetricName?: MetricName; - /** - * The namespace of the metric associated with the alarm. - */ - Namespace?: Namespace; - /** - * The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic. - */ - Statistic?: Statistic; - /** - * The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. - */ - ExtendedStatistic?: ExtendedStatistic; - /** - * The dimensions for the metric associated with the alarm. - */ - Dimensions?: Dimensions; - /** - * The period, in seconds, over which the statistic is applied. - */ - Period?: Period; - /** - * The unit of the metric associated with the alarm. - */ - Unit?: StandardUnit; - /** - * The number of periods over which data is compared to the specified threshold. - */ - EvaluationPeriods?: EvaluationPeriods; - /** - * The value to compare with the specified statistic. - */ - Threshold?: Threshold; - /** - * The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand. - */ - ComparisonOperator?: ComparisonOperator; - /** - * Sets how this alarm is to handle missing data points. If this parameter is omitted, the default behavior of missing is used. - */ - TreatMissingData?: TreatMissingData; - /** - * Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. If evaluate or this parameter is not used, the alarm will always be evaluated and possibly change state no matter how many data points are available. - */ - EvaluateLowSampleCountPercentile?: EvaluateLowSampleCountPercentile; - } - export type MetricAlarms = MetricAlarm[]; - export type MetricData = MetricDatum[]; - export interface MetricDatum { - /** - * The name of the metric. - */ - MetricName: MetricName; - /** - * The dimensions associated with the metric. - */ - Dimensions?: Dimensions; - /** - * The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - Timestamp?: Timestamp; - /** - * The value for the metric. Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. - */ - Value?: DatapointValue; - /** - * The statistical values for the metric. - */ - StatisticValues?: StatisticSet; - /** - * The unit of the metric. - */ - Unit?: StandardUnit; - StorageResolution?: StorageResolution; - } - export type MetricLabel = string; - export type MetricName = string; - export type Metrics = Metric[]; - export type Namespace = string; - export type NextToken = string; - export type Period = number; - export interface PutDashboardInput { - /** - * The name of the dashboard. If a dashboard with this name already exists, this call modifies that dashboard, replacing its current contents. Otherwise, a new dashboard is created. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, ".", "-", and "_". - */ - DashboardName?: DashboardName; - /** - * The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard. For more information about the syntax, see CloudWatch-Dashboard-Body-Structure. - */ - DashboardBody?: DashboardBody; - } - export interface PutDashboardOutput { - /** - * If the input for PutDashboard was correct and the dashboard was successfully created or modified, this result is empty. If this result includes only warning messages, then the input was valid enough for the dashboard to be created or modified, but some elements of the dashboard may not render. If this result includes error messages, the input was not valid and the operation failed. - */ - DashboardValidationMessages?: DashboardValidationMessages; - } - export interface PutMetricAlarmInput { - /** - * The name for the alarm. This name must be unique within the AWS account. - */ - AlarmName: AlarmName; - /** - * The description for the alarm. - */ - AlarmDescription?: AlarmDescription; - /** - * Indicates whether actions should be executed during any changes to the alarm state. - */ - ActionsEnabled?: ActionsEnabled; - /** - * The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid Values: arn:aws:automate:region:ec2:stop | arn:aws:automate:region:ec2:terminate | arn:aws:automate:region:ec2:recover Valid Values (for use with IAM roles): arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Stop/1.0 | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Terminate/1.0 | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Reboot/1.0 - */ - OKActions?: ResourceList; - /** - * The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid Values: arn:aws:automate:region:ec2:stop | arn:aws:automate:region:ec2:terminate | arn:aws:automate:region:ec2:recover Valid Values (for use with IAM roles): arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Stop/1.0 | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Terminate/1.0 | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Reboot/1.0 - */ - AlarmActions?: ResourceList; - /** - * The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid Values: arn:aws:automate:region:ec2:stop | arn:aws:automate:region:ec2:terminate | arn:aws:automate:region:ec2:recover Valid Values (for use with IAM roles): arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Stop/1.0 | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Terminate/1.0 | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Reboot/1.0 - */ - InsufficientDataActions?: ResourceList; - /** - * The name for the metric associated with the alarm. - */ - MetricName: MetricName; - /** - * The namespace for the metric associated with the alarm. - */ - Namespace: Namespace; - /** - * The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic. - */ - Statistic?: Statistic; - /** - * The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. - */ - ExtendedStatistic?: ExtendedStatistic; - /** - * The dimensions for the metric associated with the alarm. - */ - Dimensions?: Dimensions; - /** - * The period, in seconds, over which the specified statistic is applied. An alarm's total current evaluation period can be no longer than one day, so this number multiplied by EvaluationPeriods must be 86,400 or less. - */ - Period: Period; - /** - * The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately. If you specify a unit, you must use a unit that is appropriate for the metric. Otherwise, the CloudWatch alarm can get stuck in the INSUFFICIENT DATA state. - */ - Unit?: StandardUnit; - /** - * The number of periods over which data is compared to the specified threshold. An alarm's total current evaluation period can be no longer than one day, so this number multiplied by Period must be 86,400 or less. - */ - EvaluationPeriods: EvaluationPeriods; - /** - * The value against which the specified statistic is compared. - */ - Threshold: Threshold; - /** - * The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand. - */ - ComparisonOperator: ComparisonOperator; - /** - * Sets how this alarm is to handle missing data points. If TreatMissingData is omitted, the default behavior of missing is used. For more information, see Configuring How CloudWatch Alarms Treats Missing Data. Valid Values: breaching | notBreaching | ignore | missing - */ - TreatMissingData?: TreatMissingData; - /** - * Used only for alarms based on percentiles. If you specify ignore, the alarm state does not change during periods with too few data points to be statistically significant. If you specify evaluate or omit this parameter, the alarm is always evaluated and possibly changes state no matter how many data points are available. For more information, see Percentile-Based CloudWatch Alarms and Low Data Samples. Valid Values: evaluate | ignore - */ - EvaluateLowSampleCountPercentile?: EvaluateLowSampleCountPercentile; - } - export interface PutMetricDataInput { - /** - * The namespace for the metric data. You cannot specify a namespace that begins with "AWS/". Namespaces that begin with "AWS/" are reserved for use by Amazon Web Services products. - */ - Namespace: Namespace; - /** - * The data for the metric. - */ - MetricData: MetricData; - } - export type ResourceList = ResourceName[]; - export type ResourceName = string; - export interface SetAlarmStateInput { - /** - * The name for the alarm. This name must be unique within the AWS account. The maximum length is 255 characters. - */ - AlarmName: AlarmName; - /** - * The value of the state. - */ - StateValue: StateValue; - /** - * The reason that this alarm is set to this specific state, in text format. - */ - StateReason: StateReason; - /** - * The reason that this alarm is set to this specific state, in JSON format. - */ - StateReasonData?: StateReasonData; - } - export type Size = number; - export type StandardUnit = "Seconds"|"Microseconds"|"Milliseconds"|"Bytes"|"Kilobytes"|"Megabytes"|"Gigabytes"|"Terabytes"|"Bits"|"Kilobits"|"Megabits"|"Gigabits"|"Terabits"|"Percent"|"Count"|"Bytes/Second"|"Kilobytes/Second"|"Megabytes/Second"|"Gigabytes/Second"|"Terabytes/Second"|"Bits/Second"|"Kilobits/Second"|"Megabits/Second"|"Gigabits/Second"|"Terabits/Second"|"Count/Second"|"None"|string; - export type StateReason = string; - export type StateReasonData = string; - export type StateValue = "OK"|"ALARM"|"INSUFFICIENT_DATA"|string; - export type Statistic = "SampleCount"|"Average"|"Sum"|"Minimum"|"Maximum"|string; - export interface StatisticSet { - /** - * The number of samples used for the statistic set. - */ - SampleCount: DatapointValue; - /** - * The sum of values for the sample set. - */ - Sum: DatapointValue; - /** - * The minimum value of the sample set. - */ - Minimum: DatapointValue; - /** - * The maximum value of the sample set. - */ - Maximum: DatapointValue; - } - export type Statistics = Statistic[]; - export type StorageResolution = number; - export type Threshold = number; - export type Timestamp = Date; - export type TreatMissingData = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2010-08-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CloudWatch client. - */ - export import Types = CloudWatch; -} -export = CloudWatch; diff --git a/src/node_modules/aws-sdk/clients/cloudwatch.js b/src/node_modules/aws-sdk/clients/cloudwatch.js deleted file mode 100644 index df624aa..0000000 --- a/src/node_modules/aws-sdk/clients/cloudwatch.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cloudwatch'] = {}; -AWS.CloudWatch = Service.defineService('cloudwatch', ['2010-08-01']); -Object.defineProperty(apiLoader.services['cloudwatch'], '2010-08-01', { - get: function get() { - var model = require('../apis/monitoring-2010-08-01.min.json'); - model.paginators = require('../apis/monitoring-2010-08-01.paginators.json').pagination; - model.waiters = require('../apis/monitoring-2010-08-01.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudWatch; diff --git a/src/node_modules/aws-sdk/clients/cloudwatchevents.d.ts b/src/node_modules/aws-sdk/clients/cloudwatchevents.d.ts deleted file mode 100644 index fc92607..0000000 --- a/src/node_modules/aws-sdk/clients/cloudwatchevents.d.ts +++ /dev/null @@ -1,635 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CloudWatchEvents extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CloudWatchEvents.Types.ClientConfiguration) - config: Config & CloudWatchEvents.Types.ClientConfiguration; - /** - * Deletes the specified rule. You must remove all targets from a rule using RemoveTargets before you can delete the rule. When you delete a rule, incoming events might continue to match to the deleted rule. Please allow a short period of time for changes to take effect. - */ - deleteRule(params: CloudWatchEvents.Types.DeleteRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified rule. You must remove all targets from a rule using RemoveTargets before you can delete the rule. When you delete a rule, incoming events might continue to match to the deleted rule. Please allow a short period of time for changes to take effect. - */ - deleteRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Displays the external AWS accounts that are permitted to write events to your account using your account's event bus, and the associated policy. To enable your account to receive events from other accounts, use PutPermission. - */ - describeEventBus(params: CloudWatchEvents.Types.DescribeEventBusRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.DescribeEventBusResponse) => void): Request; - /** - * Displays the external AWS accounts that are permitted to write events to your account using your account's event bus, and the associated policy. To enable your account to receive events from other accounts, use PutPermission. - */ - describeEventBus(callback?: (err: AWSError, data: CloudWatchEvents.Types.DescribeEventBusResponse) => void): Request; - /** - * Describes the specified rule. - */ - describeRule(params: CloudWatchEvents.Types.DescribeRuleRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.DescribeRuleResponse) => void): Request; - /** - * Describes the specified rule. - */ - describeRule(callback?: (err: AWSError, data: CloudWatchEvents.Types.DescribeRuleResponse) => void): Request; - /** - * Disables the specified rule. A disabled rule won't match any events, and won't self-trigger if it has a schedule expression. When you disable a rule, incoming events might continue to match to the disabled rule. Please allow a short period of time for changes to take effect. - */ - disableRule(params: CloudWatchEvents.Types.DisableRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables the specified rule. A disabled rule won't match any events, and won't self-trigger if it has a schedule expression. When you disable a rule, incoming events might continue to match to the disabled rule. Please allow a short period of time for changes to take effect. - */ - disableRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables the specified rule. If the rule does not exist, the operation fails. When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Please allow a short period of time for changes to take effect. - */ - enableRule(params: CloudWatchEvents.Types.EnableRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables the specified rule. If the rule does not exist, the operation fails. When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Please allow a short period of time for changes to take effect. - */ - enableRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Lists the rules for the specified target. You can see which of the rules in Amazon CloudWatch Events can invoke a specific target in your account. - */ - listRuleNamesByTarget(params: CloudWatchEvents.Types.ListRuleNamesByTargetRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.ListRuleNamesByTargetResponse) => void): Request; - /** - * Lists the rules for the specified target. You can see which of the rules in Amazon CloudWatch Events can invoke a specific target in your account. - */ - listRuleNamesByTarget(callback?: (err: AWSError, data: CloudWatchEvents.Types.ListRuleNamesByTargetResponse) => void): Request; - /** - * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match to the rule names. - */ - listRules(params: CloudWatchEvents.Types.ListRulesRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.ListRulesResponse) => void): Request; - /** - * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match to the rule names. - */ - listRules(callback?: (err: AWSError, data: CloudWatchEvents.Types.ListRulesResponse) => void): Request; - /** - * Lists the targets assigned to the specified rule. - */ - listTargetsByRule(params: CloudWatchEvents.Types.ListTargetsByRuleRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.ListTargetsByRuleResponse) => void): Request; - /** - * Lists the targets assigned to the specified rule. - */ - listTargetsByRule(callback?: (err: AWSError, data: CloudWatchEvents.Types.ListTargetsByRuleResponse) => void): Request; - /** - * Sends custom events to Amazon CloudWatch Events so that they can be matched to rules. - */ - putEvents(params: CloudWatchEvents.Types.PutEventsRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.PutEventsResponse) => void): Request; - /** - * Sends custom events to Amazon CloudWatch Events so that they can be matched to rules. - */ - putEvents(callback?: (err: AWSError, data: CloudWatchEvents.Types.PutEventsResponse) => void): Request; - /** - * Running PutPermission permits the specified AWS account to put events to your account's default event bus. CloudWatch Events rules in your account are triggered by these events arriving to your default event bus. For another account to send events to your account, that external account must have a CloudWatch Events rule with your account's default event bus as a target. To enable multiple AWS accounts to put events to your default event bus, run PutPermission once for each of these accounts. - */ - putPermission(params: CloudWatchEvents.Types.PutPermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Running PutPermission permits the specified AWS account to put events to your account's default event bus. CloudWatch Events rules in your account are triggered by these events arriving to your default event bus. For another account to send events to your account, that external account must have a CloudWatch Events rule with your account's default event bus as a target. To enable multiple AWS accounts to put events to your default event bus, run PutPermission once for each of these accounts. - */ - putPermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates the specified rule. Rules are enabled by default, or based on value of the state. You can disable a rule using DisableRule. When you create or update a rule, incoming events might not immediately start matching to new or updated rules. Please allow a short period of time for changes to take effect. A rule must contain at least an EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions self-trigger based on the given schedule. A rule can have both an EventPattern and a ScheduleExpression, in which case the rule triggers on matching events as well as on a schedule. Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match. - */ - putRule(params: CloudWatchEvents.Types.PutRuleRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.PutRuleResponse) => void): Request; - /** - * Creates or updates the specified rule. Rules are enabled by default, or based on value of the state. You can disable a rule using DisableRule. When you create or update a rule, incoming events might not immediately start matching to new or updated rules. Please allow a short period of time for changes to take effect. A rule must contain at least an EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions self-trigger based on the given schedule. A rule can have both an EventPattern and a ScheduleExpression, in which case the rule triggers on matching events as well as on a schedule. Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match. - */ - putRule(callback?: (err: AWSError, data: CloudWatchEvents.Types.PutRuleResponse) => void): Request; - /** - * Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for CloudWatch Events: EC2 instances AWS Lambda functions Streams in Amazon Kinesis Streams Delivery streams in Amazon Kinesis Firehose Amazon ECS tasks AWS Step Functions state machines Amazon SNS topics Amazon SQS queues Note that creating rules with built-in targets is supported only in the AWS Management Console. For some target types, PutTargets provides target-specific parameters. If the target is an Amazon Kinesis stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon CloudWatch Events needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, CloudWatch Events relies on resource-based policies. For EC2 instances, Amazon Kinesis streams, and AWS Step Functions state machines, CloudWatch Events relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon CloudWatch Events User Guide. If another AWS account is in the same region and has granted you permission (using PutPermission), you can set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn when you run PutTargets. For more information about enabling cross-account events, see PutPermission. Input, InputPath and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON form (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify Input, InputPath, or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Please allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. - */ - putTargets(params: CloudWatchEvents.Types.PutTargetsRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.PutTargetsResponse) => void): Request; - /** - * Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for CloudWatch Events: EC2 instances AWS Lambda functions Streams in Amazon Kinesis Streams Delivery streams in Amazon Kinesis Firehose Amazon ECS tasks AWS Step Functions state machines Amazon SNS topics Amazon SQS queues Note that creating rules with built-in targets is supported only in the AWS Management Console. For some target types, PutTargets provides target-specific parameters. If the target is an Amazon Kinesis stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon CloudWatch Events needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, CloudWatch Events relies on resource-based policies. For EC2 instances, Amazon Kinesis streams, and AWS Step Functions state machines, CloudWatch Events relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon CloudWatch Events User Guide. If another AWS account is in the same region and has granted you permission (using PutPermission), you can set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn when you run PutTargets. For more information about enabling cross-account events, see PutPermission. Input, InputPath and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON form (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify Input, InputPath, or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Please allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. - */ - putTargets(callback?: (err: AWSError, data: CloudWatchEvents.Types.PutTargetsResponse) => void): Request; - /** - * Revokes the permission of another AWS account to be able to put events to your default event bus. Specify the account to revoke by the StatementId value that you associated with the account when you granted it permission with PutPermission. You can find the StatementId by using DescribeEventBus. - */ - removePermission(params: CloudWatchEvents.Types.RemovePermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Revokes the permission of another AWS account to be able to put events to your default event bus. Specify the account to revoke by the StatementId value that you associated with the account when you granted it permission with PutPermission. You can find the StatementId by using DescribeEventBus. - */ - removePermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Please allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. - */ - removeTargets(params: CloudWatchEvents.Types.RemoveTargetsRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.RemoveTargetsResponse) => void): Request; - /** - * Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Please allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. - */ - removeTargets(callback?: (err: AWSError, data: CloudWatchEvents.Types.RemoveTargetsResponse) => void): Request; - /** - * Tests whether the specified event pattern matches the provided event. Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match. - */ - testEventPattern(params: CloudWatchEvents.Types.TestEventPatternRequest, callback?: (err: AWSError, data: CloudWatchEvents.Types.TestEventPatternResponse) => void): Request; - /** - * Tests whether the specified event pattern matches the provided event. Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match. - */ - testEventPattern(callback?: (err: AWSError, data: CloudWatchEvents.Types.TestEventPatternResponse) => void): Request; -} -declare namespace CloudWatchEvents { - export type Action = string; - export type Arn = string; - export type Boolean = boolean; - export interface DeleteRuleRequest { - /** - * The name of the rule. - */ - Name: RuleName; - } - export interface DescribeEventBusRequest { - } - export interface DescribeEventBusResponse { - /** - * The name of the event bus. Currently, this is always default. - */ - Name?: String; - /** - * The Amazon Resource Name (ARN) of the account permitted to write events to the current account. - */ - Arn?: String; - /** - * The policy that enables the external account to send events to your account. - */ - Policy?: String; - } - export interface DescribeRuleRequest { - /** - * The name of the rule. - */ - Name: RuleName; - } - export interface DescribeRuleResponse { - /** - * The name of the rule. - */ - Name?: RuleName; - /** - * The Amazon Resource Name (ARN) of the rule. - */ - Arn?: RuleArn; - /** - * The event pattern. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide. - */ - EventPattern?: EventPattern; - /** - * The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". - */ - ScheduleExpression?: ScheduleExpression; - /** - * Specifies whether the rule is enabled or disabled. - */ - State?: RuleState; - /** - * The description of the rule. - */ - Description?: RuleDescription; - /** - * The Amazon Resource Name (ARN) of the IAM role associated with the rule. - */ - RoleArn?: RoleArn; - } - export interface DisableRuleRequest { - /** - * The name of the rule. - */ - Name: RuleName; - } - export interface EcsParameters { - /** - * The ARN of the task definition to use if the event target is an Amazon ECS cluster. - */ - TaskDefinitionArn: Arn; - /** - * The number of tasks to create based on the TaskDefinition. The default is one. - */ - TaskCount?: LimitMin1; - } - export interface EnableRuleRequest { - /** - * The name of the rule. - */ - Name: RuleName; - } - export type ErrorCode = string; - export type ErrorMessage = string; - export type EventId = string; - export type EventPattern = string; - export type EventResource = string; - export type EventResourceList = EventResource[]; - export type EventTime = Date; - export interface InputTransformer { - /** - * Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a JSON path. You must use JSON dot notation, not bracket notation. - */ - InputPathsMap?: TransformerPaths; - /** - * Input template where you can use the values of the keys from InputPathsMap to customize the data sent to the target. - */ - InputTemplate: TransformerInput; - } - export type InputTransformerPathKey = string; - export type Integer = number; - export interface KinesisParameters { - /** - * The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide. - */ - PartitionKeyPath: TargetPartitionKeyPath; - } - export type LimitMax100 = number; - export type LimitMin1 = number; - export interface ListRuleNamesByTargetRequest { - /** - * The Amazon Resource Name (ARN) of the target resource. - */ - TargetArn: TargetArn; - /** - * The token returned by a previous call to retrieve the next set of results. - */ - NextToken?: NextToken; - /** - * The maximum number of results to return. - */ - Limit?: LimitMax100; - } - export interface ListRuleNamesByTargetResponse { - /** - * The names of the rules that can invoke the given target. - */ - RuleNames?: RuleNameList; - /** - * Indicates whether there are additional results to retrieve. If there are no more results, the value is null. - */ - NextToken?: NextToken; - } - export interface ListRulesRequest { - /** - * The prefix matching the rule name. - */ - NamePrefix?: RuleName; - /** - * The token returned by a previous call to retrieve the next set of results. - */ - NextToken?: NextToken; - /** - * The maximum number of results to return. - */ - Limit?: LimitMax100; - } - export interface ListRulesResponse { - /** - * The rules that match the specified criteria. - */ - Rules?: RuleResponseList; - /** - * Indicates whether there are additional results to retrieve. If there are no more results, the value is null. - */ - NextToken?: NextToken; - } - export interface ListTargetsByRuleRequest { - /** - * The name of the rule. - */ - Rule: RuleName; - /** - * The token returned by a previous call to retrieve the next set of results. - */ - NextToken?: NextToken; - /** - * The maximum number of results to return. - */ - Limit?: LimitMax100; - } - export interface ListTargetsByRuleResponse { - /** - * The targets assigned to the rule. - */ - Targets?: TargetList; - /** - * Indicates whether there are additional results to retrieve. If there are no more results, the value is null. - */ - NextToken?: NextToken; - } - export type NextToken = string; - export type Principal = string; - export interface PutEventsRequest { - /** - * The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on. - */ - Entries: PutEventsRequestEntryList; - } - export interface PutEventsRequestEntry { - /** - * The timestamp of the event, per RFC3339. If no timestamp is provided, the timestamp of the PutEvents call is used. - */ - Time?: EventTime; - /** - * The source of the event. - */ - Source?: String; - /** - * AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present. - */ - Resources?: EventResourceList; - /** - * Free-form string used to decide what fields to expect in the event detail. - */ - DetailType?: String; - /** - * In the JSON sense, an object containing fields, which may also contain nested subobjects. No constraints are imposed on its contents. - */ - Detail?: String; - } - export type PutEventsRequestEntryList = PutEventsRequestEntry[]; - export interface PutEventsResponse { - /** - * The number of failed entries. - */ - FailedEntryCount?: Integer; - /** - * The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry. - */ - Entries?: PutEventsResultEntryList; - } - export interface PutEventsResultEntry { - /** - * The ID of the event. - */ - EventId?: EventId; - /** - * The error code that indicates why the event submission failed. - */ - ErrorCode?: ErrorCode; - /** - * The error message that explains why the event submission failed. - */ - ErrorMessage?: ErrorMessage; - } - export type PutEventsResultEntryList = PutEventsResultEntry[]; - export interface PutPermissionRequest { - /** - * The action that you are enabling the other account to perform. Currently, this must be events:PutEvents. - */ - Action: Action; - /** - * The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify "*" to permit any account to put events to your default event bus. If you specify "*", avoid creating rules that may match undesirable events. To create more secure rules, make sure that the event pattern for each rule contains an account field with a specific account ID from which to receive events. Rules with an account field do not match any events sent from other accounts. - */ - Principal: Principal; - /** - * An identifier string for the external account that you are granting permissions to. If you later want to revoke the permission for this external account, specify this StatementId when you run RemovePermission. - */ - StatementId: StatementId; - } - export interface PutRuleRequest { - /** - * The name of the rule that you are creating or updating. - */ - Name: RuleName; - /** - * The scheduling expression. For example, "cron(0 20 * * ? *)" or "rate(5 minutes)". - */ - ScheduleExpression?: ScheduleExpression; - /** - * The event pattern. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide. - */ - EventPattern?: EventPattern; - /** - * Indicates whether the rule is enabled or disabled. - */ - State?: RuleState; - /** - * A description of the rule. - */ - Description?: RuleDescription; - /** - * The Amazon Resource Name (ARN) of the IAM role associated with the rule. - */ - RoleArn?: RoleArn; - } - export interface PutRuleResponse { - /** - * The Amazon Resource Name (ARN) of the rule. - */ - RuleArn?: RuleArn; - } - export interface PutTargetsRequest { - /** - * The name of the rule. - */ - Rule: RuleName; - /** - * The targets to update or add to the rule. - */ - Targets: TargetList; - } - export interface PutTargetsResponse { - /** - * The number of failed entries. - */ - FailedEntryCount?: Integer; - /** - * The failed target entries. - */ - FailedEntries?: PutTargetsResultEntryList; - } - export interface PutTargetsResultEntry { - /** - * The ID of the target. - */ - TargetId?: TargetId; - /** - * The error code that indicates why the target addition failed. If the value is ConcurrentModificationException, too many requests were made at the same time. - */ - ErrorCode?: ErrorCode; - /** - * The error message that explains why the target addition failed. - */ - ErrorMessage?: ErrorMessage; - } - export type PutTargetsResultEntryList = PutTargetsResultEntry[]; - export interface RemovePermissionRequest { - /** - * The statement ID corresponding to the account that is no longer allowed to put events to the default event bus. - */ - StatementId: StatementId; - } - export interface RemoveTargetsRequest { - /** - * The name of the rule. - */ - Rule: RuleName; - /** - * The IDs of the targets to remove from the rule. - */ - Ids: TargetIdList; - } - export interface RemoveTargetsResponse { - /** - * The number of failed entries. - */ - FailedEntryCount?: Integer; - /** - * The failed target entries. - */ - FailedEntries?: RemoveTargetsResultEntryList; - } - export interface RemoveTargetsResultEntry { - /** - * The ID of the target. - */ - TargetId?: TargetId; - /** - * The error code that indicates why the target removal failed. If the value is ConcurrentModificationException, too many requests were made at the same time. - */ - ErrorCode?: ErrorCode; - /** - * The error message that explains why the target removal failed. - */ - ErrorMessage?: ErrorMessage; - } - export type RemoveTargetsResultEntryList = RemoveTargetsResultEntry[]; - export type RoleArn = string; - export interface Rule { - /** - * The name of the rule. - */ - Name?: RuleName; - /** - * The Amazon Resource Name (ARN) of the rule. - */ - Arn?: RuleArn; - /** - * The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide. - */ - EventPattern?: EventPattern; - /** - * The state of the rule. - */ - State?: RuleState; - /** - * The description of the rule. - */ - Description?: RuleDescription; - /** - * The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". - */ - ScheduleExpression?: ScheduleExpression; - /** - * The Amazon Resource Name (ARN) of the role that is used for target invocation. - */ - RoleArn?: RoleArn; - } - export type RuleArn = string; - export type RuleDescription = string; - export type RuleName = string; - export type RuleNameList = RuleName[]; - export type RuleResponseList = Rule[]; - export type RuleState = "ENABLED"|"DISABLED"|string; - export interface RunCommandParameters { - /** - * Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag. - */ - RunCommandTargets: RunCommandTargets; - } - export interface RunCommandTarget { - /** - * Can be either tag: tag-key or InstanceIds. - */ - Key: RunCommandTargetKey; - /** - * If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs. - */ - Values: RunCommandTargetValues; - } - export type RunCommandTargetKey = string; - export type RunCommandTargetValue = string; - export type RunCommandTargetValues = RunCommandTargetValue[]; - export type RunCommandTargets = RunCommandTarget[]; - export type ScheduleExpression = string; - export type StatementId = string; - export type String = string; - export interface Target { - /** - * The ID of the target. - */ - Id: TargetId; - /** - * The Amazon Resource Name (ARN) of the target. - */ - Arn: TargetArn; - /** - * The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. If one rule triggers multiple targets, you can use a different IAM role for each target. - */ - RoleArn?: RoleArn; - /** - * Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. You must use JSON dot notation, not bracket notation. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format. - */ - Input?: TargetInput; - /** - * The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. You must use JSON dot notation, not bracket notation. For more information about JSON paths, see JSONPath. - */ - InputPath?: TargetInputPath; - /** - * Settings to enable you to provide custom input to a target based on certain event data. You can extract one or more key-value pairs from the event and then use that data to send customized input to the target. - */ - InputTransformer?: InputTransformer; - /** - * The custom parameter you can use to control shard assignment, when the target is an Amazon Kinesis stream. If you do not include this parameter, the default is to use the eventId as the partition key. - */ - KinesisParameters?: KinesisParameters; - /** - * Parameters used when you are using the rule to invoke Amazon EC2 Run Command. - */ - RunCommandParameters?: RunCommandParameters; - /** - * Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task. For more information about Amazon ECS tasks, see Task Definitions in the Amazon EC2 Container Service Developer Guide. - */ - EcsParameters?: EcsParameters; - } - export type TargetArn = string; - export type TargetId = string; - export type TargetIdList = TargetId[]; - export type TargetInput = string; - export type TargetInputPath = string; - export type TargetList = Target[]; - export type TargetPartitionKeyPath = string; - export interface TestEventPatternRequest { - /** - * The event pattern. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide. - */ - EventPattern: EventPattern; - /** - * The event, in JSON format, to test against the event pattern. - */ - Event: String; - } - export interface TestEventPatternResponse { - /** - * Indicates whether the event matches the event pattern. - */ - Result?: Boolean; - } - export type TransformerInput = string; - export type TransformerPaths = {[key: string]: TargetInputPath}; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-02-03"|"2015-10-07"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CloudWatchEvents client. - */ - export import Types = CloudWatchEvents; -} -export = CloudWatchEvents; diff --git a/src/node_modules/aws-sdk/clients/cloudwatchevents.js b/src/node_modules/aws-sdk/clients/cloudwatchevents.js deleted file mode 100644 index c0d5d1c..0000000 --- a/src/node_modules/aws-sdk/clients/cloudwatchevents.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cloudwatchevents'] = {}; -AWS.CloudWatchEvents = Service.defineService('cloudwatchevents', ['2014-02-03*', '2015-10-07']); -Object.defineProperty(apiLoader.services['cloudwatchevents'], '2015-10-07', { - get: function get() { - var model = require('../apis/events-2015-10-07.min.json'); - model.paginators = require('../apis/events-2015-10-07.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudWatchEvents; diff --git a/src/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts b/src/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts deleted file mode 100644 index 304834a..0000000 --- a/src/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +++ /dev/null @@ -1,1118 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CloudWatchLogs extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CloudWatchLogs.Types.ClientConfiguration) - config: Config & CloudWatchLogs.Types.ClientConfiguration; - /** - * Cancels the specified export task. The task must be in the PENDING or RUNNING state. - */ - cancelExportTask(params: CloudWatchLogs.Types.CancelExportTaskRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Cancels the specified export task. The task must be in the PENDING or RUNNING state. - */ - cancelExportTask(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket. This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use DescribeExportTasks to get the status of the export task. Each account can only have one active (RUNNING or PENDING) export task at a time. To cancel an export task, use CancelExportTask. You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate out log data for each export task, you can specify a prefix that will be used as the Amazon S3 key prefix for all exported objects. - */ - createExportTask(params: CloudWatchLogs.Types.CreateExportTaskRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.CreateExportTaskResponse) => void): Request; - /** - * Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket. This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use DescribeExportTasks to get the status of the export task. Each account can only have one active (RUNNING or PENDING) export task at a time. To cancel an export task, use CancelExportTask. You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate out log data for each export task, you can specify a prefix that will be used as the Amazon S3 key prefix for all exported objects. - */ - createExportTask(callback?: (err: AWSError, data: CloudWatchLogs.Types.CreateExportTaskResponse) => void): Request; - /** - * Creates a log group with the specified name. You can create up to 5000 log groups per account. You must use the following guidelines when naming a log group: Log group names must be unique within a region for an AWS account. Log group names can be between 1 and 512 characters long. Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period). - */ - createLogGroup(params: CloudWatchLogs.Types.CreateLogGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a log group with the specified name. You can create up to 5000 log groups per account. You must use the following guidelines when naming a log group: Log group names must be unique within a region for an AWS account. Log group names can be between 1 and 512 characters long. Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period). - */ - createLogGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a log stream for the specified log group. There is no limit on the number of log streams that you can create for a log group. You must use the following guidelines when naming a log stream: Log stream names must be unique within the log group. Log stream names can be between 1 and 512 characters long. The ':' (colon) and '*' (asterisk) characters are not allowed. - */ - createLogStream(params: CloudWatchLogs.Types.CreateLogStreamRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a log stream for the specified log group. There is no limit on the number of log streams that you can create for a log group. You must use the following guidelines when naming a log stream: Log stream names must be unique within the log group. Log stream names can be between 1 and 512 characters long. The ':' (colon) and '*' (asterisk) characters are not allowed. - */ - createLogStream(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified destination, and eventually disables all the subscription filters that publish to it. This operation does not delete the physical resource encapsulated by the destination. - */ - deleteDestination(params: CloudWatchLogs.Types.DeleteDestinationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified destination, and eventually disables all the subscription filters that publish to it. This operation does not delete the physical resource encapsulated by the destination. - */ - deleteDestination(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified log group and permanently deletes all the archived log events associated with the log group. - */ - deleteLogGroup(params: CloudWatchLogs.Types.DeleteLogGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified log group and permanently deletes all the archived log events associated with the log group. - */ - deleteLogGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified log stream and permanently deletes all the archived log events associated with the log stream. - */ - deleteLogStream(params: CloudWatchLogs.Types.DeleteLogStreamRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified log stream and permanently deletes all the archived log events associated with the log stream. - */ - deleteLogStream(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified metric filter. - */ - deleteMetricFilter(params: CloudWatchLogs.Types.DeleteMetricFilterRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified metric filter. - */ - deleteMetricFilter(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified retention policy. Log events do not expire if they belong to log groups without a retention policy. - */ - deleteRetentionPolicy(params: CloudWatchLogs.Types.DeleteRetentionPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified retention policy. Log events do not expire if they belong to log groups without a retention policy. - */ - deleteRetentionPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified subscription filter. - */ - deleteSubscriptionFilter(params: CloudWatchLogs.Types.DeleteSubscriptionFilterRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified subscription filter. - */ - deleteSubscriptionFilter(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Lists all your destinations. The results are ASCII-sorted by destination name. - */ - describeDestinations(params: CloudWatchLogs.Types.DescribeDestinationsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeDestinationsResponse) => void): Request; - /** - * Lists all your destinations. The results are ASCII-sorted by destination name. - */ - describeDestinations(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeDestinationsResponse) => void): Request; - /** - * Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status. - */ - describeExportTasks(params: CloudWatchLogs.Types.DescribeExportTasksRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeExportTasksResponse) => void): Request; - /** - * Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status. - */ - describeExportTasks(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeExportTasksResponse) => void): Request; - /** - * Lists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name. - */ - describeLogGroups(params: CloudWatchLogs.Types.DescribeLogGroupsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeLogGroupsResponse) => void): Request; - /** - * Lists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name. - */ - describeLogGroups(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeLogGroupsResponse) => void): Request; - /** - * Lists the log streams for the specified log group. You can list all the log streams or filter the results by prefix. You can also control how the results are ordered. This operation has a limit of five transactions per second, after which transactions are throttled. - */ - describeLogStreams(params: CloudWatchLogs.Types.DescribeLogStreamsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeLogStreamsResponse) => void): Request; - /** - * Lists the log streams for the specified log group. You can list all the log streams or filter the results by prefix. You can also control how the results are ordered. This operation has a limit of five transactions per second, after which transactions are throttled. - */ - describeLogStreams(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeLogStreamsResponse) => void): Request; - /** - * Lists the specified metric filters. You can list all the metric filters or filter the results by log name, prefix, metric name, and metric namespace. The results are ASCII-sorted by filter name. - */ - describeMetricFilters(params: CloudWatchLogs.Types.DescribeMetricFiltersRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeMetricFiltersResponse) => void): Request; - /** - * Lists the specified metric filters. You can list all the metric filters or filter the results by log name, prefix, metric name, and metric namespace. The results are ASCII-sorted by filter name. - */ - describeMetricFilters(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeMetricFiltersResponse) => void): Request; - /** - * Lists the subscription filters for the specified log group. You can list all the subscription filters or filter the results by prefix. The results are ASCII-sorted by filter name. - */ - describeSubscriptionFilters(params: CloudWatchLogs.Types.DescribeSubscriptionFiltersRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeSubscriptionFiltersResponse) => void): Request; - /** - * Lists the subscription filters for the specified log group. You can list all the subscription filters or filter the results by prefix. The results are ASCII-sorted by filter name. - */ - describeSubscriptionFilters(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeSubscriptionFiltersResponse) => void): Request; - /** - * Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream. By default, this operation returns as many log events as can fit in 1MB (up to 10,000 log events), or all the events found within the time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call. - */ - filterLogEvents(params: CloudWatchLogs.Types.FilterLogEventsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.FilterLogEventsResponse) => void): Request; - /** - * Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream. By default, this operation returns as many log events as can fit in 1MB (up to 10,000 log events), or all the events found within the time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call. - */ - filterLogEvents(callback?: (err: AWSError, data: CloudWatchLogs.Types.FilterLogEventsResponse) => void): Request; - /** - * Lists log events from the specified log stream. You can list all the log events or filter using a time range. By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). If the results include tokens, there are more log events available. You can get additional log events by specifying one of the tokens in a subsequent call. - */ - getLogEvents(params: CloudWatchLogs.Types.GetLogEventsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.GetLogEventsResponse) => void): Request; - /** - * Lists log events from the specified log stream. You can list all the log events or filter using a time range. By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). If the results include tokens, there are more log events available. You can get additional log events by specifying one of the tokens in a subsequent call. - */ - getLogEvents(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetLogEventsResponse) => void): Request; - /** - * Lists the tags for the specified log group. To add tags, use TagLogGroup. To remove tags, use UntagLogGroup. - */ - listTagsLogGroup(params: CloudWatchLogs.Types.ListTagsLogGroupRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.ListTagsLogGroupResponse) => void): Request; - /** - * Lists the tags for the specified log group. To add tags, use TagLogGroup. To remove tags, use UntagLogGroup. - */ - listTagsLogGroup(callback?: (err: AWSError, data: CloudWatchLogs.Types.ListTagsLogGroupResponse) => void): Request; - /** - * Creates or updates a destination. A destination encapsulates a physical resource (such as a Kinesis stream) and enables you to subscribe to a real-time stream of log events of a different account, ingested using PutLogEvents. Currently, the only supported physical resource is a Amazon Kinesis stream belonging to the same account as the destination. A destination controls what is written to its Amazon Kinesis stream through an access policy. By default, PutDestination does not set any access policy with the destination, which means a cross-account user cannot call PutSubscriptionFilter against this destination. To enable this, the destination owner must call PutDestinationPolicy after PutDestination. - */ - putDestination(params: CloudWatchLogs.Types.PutDestinationRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDestinationResponse) => void): Request; - /** - * Creates or updates a destination. A destination encapsulates a physical resource (such as a Kinesis stream) and enables you to subscribe to a real-time stream of log events of a different account, ingested using PutLogEvents. Currently, the only supported physical resource is a Amazon Kinesis stream belonging to the same account as the destination. A destination controls what is written to its Amazon Kinesis stream through an access policy. By default, PutDestination does not set any access policy with the destination, which means a cross-account user cannot call PutSubscriptionFilter against this destination. To enable this, the destination owner must call PutDestinationPolicy after PutDestination. - */ - putDestination(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDestinationResponse) => void): Request; - /** - * Creates or updates an access policy associated with an existing destination. An access policy is an IAM policy document that is used to authorize claims to register a subscription filter against a given destination. - */ - putDestinationPolicy(params: CloudWatchLogs.Types.PutDestinationPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates an access policy associated with an existing destination. An access policy is an IAM policy document that is used to authorize claims to register a subscription filter against a given destination. - */ - putDestinationPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Uploads a batch of log events to the specified log stream. You must include the sequence token obtained from the response of the previous call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token using DescribeLogStreams. The batch of events must satisfy the following constraints: The maximum batch size is 1,048,576 bytes, and this size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event. None of the log events in the batch can be more than 2 hours in the future. None of the log events in the batch can be older than 14 days or the retention period of the log group. The log events in the batch must be in chronological ordered by their timestamp (the time the event occurred, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC). The maximum number of log events in a batch is 10,000. A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails. - */ - putLogEvents(params: CloudWatchLogs.Types.PutLogEventsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.PutLogEventsResponse) => void): Request; - /** - * Uploads a batch of log events to the specified log stream. You must include the sequence token obtained from the response of the previous call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token using DescribeLogStreams. The batch of events must satisfy the following constraints: The maximum batch size is 1,048,576 bytes, and this size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event. None of the log events in the batch can be more than 2 hours in the future. None of the log events in the batch can be older than 14 days or the retention period of the log group. The log events in the batch must be in chronological ordered by their timestamp (the time the event occurred, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC). The maximum number of log events in a batch is 10,000. A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails. - */ - putLogEvents(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutLogEventsResponse) => void): Request; - /** - * Creates or updates a metric filter and associates it with the specified log group. Metric filters allow you to configure rules to extract metric data from log events ingested through PutLogEvents. The maximum number of metric filters that can be associated with a log group is 100. - */ - putMetricFilter(params: CloudWatchLogs.Types.PutMetricFilterRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates a metric filter and associates it with the specified log group. Metric filters allow you to configure rules to extract metric data from log events ingested through PutLogEvents. The maximum number of metric filters that can be associated with a log group is 100. - */ - putMetricFilter(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the retention of the specified log group. A retention policy allows you to configure the number of days you want to retain log events in the specified log group. - */ - putRetentionPolicy(params: CloudWatchLogs.Types.PutRetentionPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the retention of the specified log group. A retention policy allows you to configure the number of days you want to retain log events in the specified log group. - */ - putRetentionPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through PutLogEvents and have them delivered to a specific destination. Currently, the supported destinations are: An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery. A logical destination that belongs to a different account, for cross-account delivery. An Amazon Kinesis Firehose stream that belongs to the same account as the subscription filter, for same-account delivery. An AWS Lambda function that belongs to the same account as the subscription filter, for same-account delivery. There can only be one subscription filter associated with a log group. If you are updating an existing filter, you must specify the correct name in filterName. Otherwise, the call will fail because you cannot associate a second filter with a log group. - */ - putSubscriptionFilter(params: CloudWatchLogs.Types.PutSubscriptionFilterRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through PutLogEvents and have them delivered to a specific destination. Currently, the supported destinations are: An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery. A logical destination that belongs to a different account, for cross-account delivery. An Amazon Kinesis Firehose stream that belongs to the same account as the subscription filter, for same-account delivery. An AWS Lambda function that belongs to the same account as the subscription filter, for same-account delivery. There can only be one subscription filter associated with a log group. If you are updating an existing filter, you must specify the correct name in filterName. Otherwise, the call will fail because you cannot associate a second filter with a log group. - */ - putSubscriptionFilter(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or updates the specified tags for the specified log group. To list the tags for a log group, use ListTagsLogGroup. To remove tags, use UntagLogGroup. For more information about tags, see Tag Log Groups in Amazon CloudWatch Logs in the Amazon CloudWatch Logs User Guide. - */ - tagLogGroup(params: CloudWatchLogs.Types.TagLogGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or updates the specified tags for the specified log group. To list the tags for a log group, use ListTagsLogGroup. To remove tags, use UntagLogGroup. For more information about tags, see Tag Log Groups in Amazon CloudWatch Logs in the Amazon CloudWatch Logs User Guide. - */ - tagLogGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Tests the filter pattern of a metric filter against a sample of log event messages. You can use this operation to validate the correctness of a metric filter pattern. - */ - testMetricFilter(params: CloudWatchLogs.Types.TestMetricFilterRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.TestMetricFilterResponse) => void): Request; - /** - * Tests the filter pattern of a metric filter against a sample of log event messages. You can use this operation to validate the correctness of a metric filter pattern. - */ - testMetricFilter(callback?: (err: AWSError, data: CloudWatchLogs.Types.TestMetricFilterResponse) => void): Request; - /** - * Removes the specified tags from the specified log group. To list the tags for a log group, use ListTagsLogGroup. To add tags, use UntagLogGroup. - */ - untagLogGroup(params: CloudWatchLogs.Types.UntagLogGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified tags from the specified log group. To list the tags for a log group, use ListTagsLogGroup. To add tags, use UntagLogGroup. - */ - untagLogGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace CloudWatchLogs { - export type AccessPolicy = string; - export type Arn = string; - export interface CancelExportTaskRequest { - /** - * The ID of the export task. - */ - taskId: ExportTaskId; - } - export interface CreateExportTaskRequest { - /** - * The name of the export task. - */ - taskName?: ExportTaskName; - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied. - */ - logStreamNamePrefix?: LogStreamName; - /** - * The start time of the range for the request, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not exported. - */ - from: Timestamp; - /** - * The end time of the range for the request, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported. - */ - to: Timestamp; - /** - * The name of S3 bucket for the exported log data. The bucket must be in the same AWS region. - */ - destination: ExportDestinationBucket; - /** - * The prefix used as the start of the key for every object exported. If you don't specify a value, the default is exportedlogs. - */ - destinationPrefix?: ExportDestinationPrefix; - } - export interface CreateExportTaskResponse { - /** - * The ID of the export task. - */ - taskId?: ExportTaskId; - } - export interface CreateLogGroupRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The key-value pairs to use for the tags. - */ - tags?: Tags; - } - export interface CreateLogStreamRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The name of the log stream. - */ - logStreamName: LogStreamName; - } - export type Days = number; - export type DefaultValue = number; - export interface DeleteDestinationRequest { - /** - * The name of the destination. - */ - destinationName: DestinationName; - } - export interface DeleteLogGroupRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - } - export interface DeleteLogStreamRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The name of the log stream. - */ - logStreamName: LogStreamName; - } - export interface DeleteMetricFilterRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The name of the metric filter. - */ - filterName: FilterName; - } - export interface DeleteRetentionPolicyRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - } - export interface DeleteSubscriptionFilterRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The name of the subscription filter. - */ - filterName: FilterName; - } - export type Descending = boolean; - export interface DescribeDestinationsRequest { - /** - * The prefix to match. If you don't specify a value, no prefix filter is applied. - */ - DestinationNamePrefix?: DestinationName; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - nextToken?: NextToken; - /** - * The maximum number of items returned. If you don't specify a value, the default is up to 50 items. - */ - limit?: DescribeLimit; - } - export interface DescribeDestinationsResponse { - /** - * The destinations. - */ - destinations?: Destinations; - nextToken?: NextToken; - } - export interface DescribeExportTasksRequest { - /** - * The ID of the export task. Specifying a task ID filters the results to zero or one export tasks. - */ - taskId?: ExportTaskId; - /** - * The status code of the export task. Specifying a status code filters the results to zero or more export tasks. - */ - statusCode?: ExportTaskStatusCode; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - nextToken?: NextToken; - /** - * The maximum number of items returned. If you don't specify a value, the default is up to 50 items. - */ - limit?: DescribeLimit; - } - export interface DescribeExportTasksResponse { - /** - * The export tasks. - */ - exportTasks?: ExportTasks; - nextToken?: NextToken; - } - export type DescribeLimit = number; - export interface DescribeLogGroupsRequest { - /** - * The prefix to match. - */ - logGroupNamePrefix?: LogGroupName; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - nextToken?: NextToken; - /** - * The maximum number of items returned. If you don't specify a value, the default is up to 50 items. - */ - limit?: DescribeLimit; - } - export interface DescribeLogGroupsResponse { - /** - * The log groups. - */ - logGroups?: LogGroups; - nextToken?: NextToken; - } - export interface DescribeLogStreamsRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The prefix to match. You cannot specify this parameter if orderBy is LastEventTime. - */ - logStreamNamePrefix?: LogStreamName; - /** - * If the value is LogStreamName, the results are ordered by log stream name. If the value is LastEventTime, the results are ordered by the event time. The default value is LogStreamName. If you order the results by event time, you cannot specify the logStreamNamePrefix parameter. lastEventTimestamp represents the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. lastEventTimeStamp updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but may take longer in some rare situations. - */ - orderBy?: OrderBy; - /** - * If the value is true, results are returned in descending order. If the value is to false, results are returned in ascending order. The default value is false. - */ - descending?: Descending; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - nextToken?: NextToken; - /** - * The maximum number of items returned. If you don't specify a value, the default is up to 50 items. - */ - limit?: DescribeLimit; - } - export interface DescribeLogStreamsResponse { - /** - * The log streams. - */ - logStreams?: LogStreams; - nextToken?: NextToken; - } - export interface DescribeMetricFiltersRequest { - /** - * The name of the log group. - */ - logGroupName?: LogGroupName; - /** - * The prefix to match. - */ - filterNamePrefix?: FilterName; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - nextToken?: NextToken; - /** - * The maximum number of items returned. If you don't specify a value, the default is up to 50 items. - */ - limit?: DescribeLimit; - /** - * The name of the CloudWatch metric. - */ - metricName?: MetricName; - /** - * The namespace of the CloudWatch metric. - */ - metricNamespace?: MetricNamespace; - } - export interface DescribeMetricFiltersResponse { - /** - * The metric filters. - */ - metricFilters?: MetricFilters; - nextToken?: NextToken; - } - export interface DescribeSubscriptionFiltersRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The prefix to match. If you don't specify a value, no prefix filter is applied. - */ - filterNamePrefix?: FilterName; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - nextToken?: NextToken; - /** - * The maximum number of items returned. If you don't specify a value, the default is up to 50 items. - */ - limit?: DescribeLimit; - } - export interface DescribeSubscriptionFiltersResponse { - /** - * The subscription filters. - */ - subscriptionFilters?: SubscriptionFilters; - nextToken?: NextToken; - } - export interface Destination { - /** - * The name of the destination. - */ - destinationName?: DestinationName; - /** - * The Amazon Resource Name (ARN) of the physical target where the log events will be delivered (for example, a Kinesis stream). - */ - targetArn?: TargetArn; - /** - * A role for impersonation, used when delivering log events to the target. - */ - roleArn?: RoleArn; - /** - * An IAM policy document that governs which AWS accounts can create subscription filters against this destination. - */ - accessPolicy?: AccessPolicy; - /** - * The ARN of this destination. - */ - arn?: Arn; - /** - * The creation time of the destination, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - creationTime?: Timestamp; - } - export type DestinationArn = string; - export type DestinationName = string; - export type Destinations = Destination[]; - export type Distribution = "Random"|"ByLogStream"|string; - export type EventId = string; - export type EventMessage = string; - export type EventNumber = number; - export type EventsLimit = number; - export type ExportDestinationBucket = string; - export type ExportDestinationPrefix = string; - export interface ExportTask { - /** - * The ID of the export task. - */ - taskId?: ExportTaskId; - /** - * The name of the export task. - */ - taskName?: ExportTaskName; - /** - * The name of the log group from which logs data was exported. - */ - logGroupName?: LogGroupName; - /** - * The start time, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not exported. - */ - from?: Timestamp; - /** - * The end time, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported. - */ - to?: Timestamp; - /** - * The name of Amazon S3 bucket to which the log data was exported. - */ - destination?: ExportDestinationBucket; - /** - * The prefix that was used as the start of Amazon S3 key for every object exported. - */ - destinationPrefix?: ExportDestinationPrefix; - /** - * The status of the export task. - */ - status?: ExportTaskStatus; - /** - * Execution info about the export task. - */ - executionInfo?: ExportTaskExecutionInfo; - } - export interface ExportTaskExecutionInfo { - /** - * The creation time of the export task, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - creationTime?: Timestamp; - /** - * The completion time of the export task, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - completionTime?: Timestamp; - } - export type ExportTaskId = string; - export type ExportTaskName = string; - export interface ExportTaskStatus { - /** - * The status code of the export task. - */ - code?: ExportTaskStatusCode; - /** - * The status message related to the status code. - */ - message?: ExportTaskStatusMessage; - } - export type ExportTaskStatusCode = "CANCELLED"|"COMPLETED"|"FAILED"|"PENDING"|"PENDING_CANCEL"|"RUNNING"|string; - export type ExportTaskStatusMessage = string; - export type ExportTasks = ExportTask[]; - export type ExtractedValues = {[key: string]: Value}; - export type FilterCount = number; - export interface FilterLogEventsRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * Optional list of log stream names. - */ - logStreamNames?: InputLogStreamNames; - /** - * The start of the time range, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not returned. - */ - startTime?: Timestamp; - /** - * The end of the time range, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not returned. - */ - endTime?: Timestamp; - /** - * The filter pattern to use. If not provided, all the events are matched. - */ - filterPattern?: FilterPattern; - /** - * The token for the next set of events to return. (You received this token from a previous call.) - */ - nextToken?: NextToken; - /** - * The maximum number of events to return. The default is 10,000 events. - */ - limit?: EventsLimit; - /** - * If the value is true, the operation makes a best effort to provide responses that contain events from multiple log streams within the log group interleaved in a single response. If the value is false all the matched log events in the first log stream are searched first, then those in the next log stream, and so on. The default is false. - */ - interleaved?: Interleaved; - } - export interface FilterLogEventsResponse { - /** - * The matched events. - */ - events?: FilteredLogEvents; - /** - * Indicates which log streams have been searched and whether each has been searched completely. - */ - searchedLogStreams?: SearchedLogStreams; - /** - * The token to use when requesting the next set of items. The token expires after 24 hours. - */ - nextToken?: NextToken; - } - export type FilterName = string; - export type FilterPattern = string; - export interface FilteredLogEvent { - /** - * The name of the log stream this event belongs to. - */ - logStreamName?: LogStreamName; - /** - * The time the event occurred, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - timestamp?: Timestamp; - /** - * The data contained in the log event. - */ - message?: EventMessage; - /** - * The time the event was ingested, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - ingestionTime?: Timestamp; - /** - * The ID of the event. - */ - eventId?: EventId; - } - export type FilteredLogEvents = FilteredLogEvent[]; - export interface GetLogEventsRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The name of the log stream. - */ - logStreamName: LogStreamName; - /** - * The start of the time range, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not included. - */ - startTime?: Timestamp; - /** - * The end of the time range, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not included. - */ - endTime?: Timestamp; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - nextToken?: NextToken; - /** - * The maximum number of log events returned. If you don't specify a value, the maximum is as many log events as can fit in a response size of 1MB, up to 10,000 log events. - */ - limit?: EventsLimit; - /** - * If the value is true, the earliest log events are returned first. If the value is false, the latest log events are returned first. The default value is false. - */ - startFromHead?: StartFromHead; - } - export interface GetLogEventsResponse { - /** - * The events. - */ - events?: OutputLogEvents; - /** - * The token for the next set of items in the forward direction. The token expires after 24 hours. - */ - nextForwardToken?: NextToken; - /** - * The token for the next set of items in the backward direction. The token expires after 24 hours. - */ - nextBackwardToken?: NextToken; - } - export interface InputLogEvent { - /** - * The time the event occurred, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - timestamp: Timestamp; - /** - * The raw event message. - */ - message: EventMessage; - } - export type InputLogEvents = InputLogEvent[]; - export type InputLogStreamNames = LogStreamName[]; - export type Interleaved = boolean; - export interface ListTagsLogGroupRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - } - export interface ListTagsLogGroupResponse { - /** - * The tags. - */ - tags?: Tags; - } - export type LogEventIndex = number; - export interface LogGroup { - /** - * The name of the log group. - */ - logGroupName?: LogGroupName; - /** - * The creation time of the log group, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - creationTime?: Timestamp; - retentionInDays?: Days; - /** - * The number of metric filters. - */ - metricFilterCount?: FilterCount; - /** - * The Amazon Resource Name (ARN) of the log group. - */ - arn?: Arn; - /** - * The number of bytes stored. - */ - storedBytes?: StoredBytes; - } - export type LogGroupName = string; - export type LogGroups = LogGroup[]; - export interface LogStream { - /** - * The name of the log stream. - */ - logStreamName?: LogStreamName; - /** - * The creation time of the stream, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - creationTime?: Timestamp; - /** - * The time of the first event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - firstEventTimestamp?: Timestamp; - /** - * the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. lastEventTime updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but may take longer in some rare situations. - */ - lastEventTimestamp?: Timestamp; - /** - * The ingestion time, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - lastIngestionTime?: Timestamp; - /** - * The sequence token. - */ - uploadSequenceToken?: SequenceToken; - /** - * The Amazon Resource Name (ARN) of the log stream. - */ - arn?: Arn; - /** - * The number of bytes stored. - */ - storedBytes?: StoredBytes; - } - export type LogStreamName = string; - export type LogStreamSearchedCompletely = boolean; - export type LogStreams = LogStream[]; - export interface MetricFilter { - /** - * The name of the metric filter. - */ - filterName?: FilterName; - filterPattern?: FilterPattern; - /** - * The metric transformations. - */ - metricTransformations?: MetricTransformations; - /** - * The creation time of the metric filter, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - creationTime?: Timestamp; - /** - * The name of the log group. - */ - logGroupName?: LogGroupName; - } - export interface MetricFilterMatchRecord { - /** - * The event number. - */ - eventNumber?: EventNumber; - /** - * The raw event data. - */ - eventMessage?: EventMessage; - /** - * The values extracted from the event data by the filter. - */ - extractedValues?: ExtractedValues; - } - export type MetricFilterMatches = MetricFilterMatchRecord[]; - export type MetricFilters = MetricFilter[]; - export type MetricName = string; - export type MetricNamespace = string; - export interface MetricTransformation { - /** - * The name of the CloudWatch metric. - */ - metricName: MetricName; - /** - * The namespace of the CloudWatch metric. - */ - metricNamespace: MetricNamespace; - /** - * The value to publish to the CloudWatch metric when a filter pattern matches a log event. - */ - metricValue: MetricValue; - /** - * (Optional) The value to emit when a filter pattern does not match a log event. This value can be null. - */ - defaultValue?: DefaultValue; - } - export type MetricTransformations = MetricTransformation[]; - export type MetricValue = string; - export type NextToken = string; - export type OrderBy = "LogStreamName"|"LastEventTime"|string; - export interface OutputLogEvent { - /** - * The time the event occurred, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - timestamp?: Timestamp; - /** - * The data contained in the log event. - */ - message?: EventMessage; - /** - * The time the event was ingested, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - ingestionTime?: Timestamp; - } - export type OutputLogEvents = OutputLogEvent[]; - export interface PutDestinationPolicyRequest { - /** - * A name for an existing destination. - */ - destinationName: DestinationName; - /** - * An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination. - */ - accessPolicy: AccessPolicy; - } - export interface PutDestinationRequest { - /** - * A name for the destination. - */ - destinationName: DestinationName; - /** - * The ARN of an Amazon Kinesis stream to deliver matching log events to. - */ - targetArn: TargetArn; - /** - * The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon Kinesis PutRecord on the destination stream. - */ - roleArn: RoleArn; - } - export interface PutDestinationResponse { - /** - * The destination. - */ - destination?: Destination; - } - export interface PutLogEventsRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The name of the log stream. - */ - logStreamName: LogStreamName; - /** - * The log events. - */ - logEvents: InputLogEvents; - /** - * The sequence token. - */ - sequenceToken?: SequenceToken; - } - export interface PutLogEventsResponse { - /** - * The next sequence token. - */ - nextSequenceToken?: SequenceToken; - /** - * The rejected events. - */ - rejectedLogEventsInfo?: RejectedLogEventsInfo; - } - export interface PutMetricFilterRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * A name for the metric filter. - */ - filterName: FilterName; - /** - * A filter pattern for extracting metric data out of ingested log events. - */ - filterPattern: FilterPattern; - /** - * A collection of information needed to define how metric data gets emitted. - */ - metricTransformations: MetricTransformations; - } - export interface PutRetentionPolicyRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - retentionInDays: Days; - } - export interface PutSubscriptionFilterRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * A name for the subscription filter. If you are updating an existing filter, you must specify the correct name in filterName. Otherwise, the call will fail because you cannot associate a second filter with a log group. To find the name of the filter currently associated with a log group, use DescribeSubscriptionFilters. - */ - filterName: FilterName; - /** - * A filter pattern for subscribing to a filtered stream of log events. - */ - filterPattern: FilterPattern; - /** - * The ARN of the destination to deliver matching log events to. Currently, the supported destinations are: An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery. A logical destination (specified using an ARN) belonging to a different account, for cross-account delivery. An Amazon Kinesis Firehose stream belonging to the same account as the subscription filter, for same-account delivery. An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery. - */ - destinationArn: DestinationArn; - /** - * The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. - */ - roleArn?: RoleArn; - /** - * The method used to distribute log data to the destination, when the destination is an Amazon Kinesis stream. By default, log data is grouped by log stream. For a more even distribution, you can group log data randomly. - */ - distribution?: Distribution; - } - export interface RejectedLogEventsInfo { - /** - * The log events that are too new. - */ - tooNewLogEventStartIndex?: LogEventIndex; - /** - * The log events that are too old. - */ - tooOldLogEventEndIndex?: LogEventIndex; - /** - * The expired log events. - */ - expiredLogEventEndIndex?: LogEventIndex; - } - export type RoleArn = string; - export interface SearchedLogStream { - /** - * The name of the log stream. - */ - logStreamName?: LogStreamName; - /** - * Indicates whether all the events in this log stream were searched. - */ - searchedCompletely?: LogStreamSearchedCompletely; - } - export type SearchedLogStreams = SearchedLogStream[]; - export type SequenceToken = string; - export type StartFromHead = boolean; - export type StoredBytes = number; - export interface SubscriptionFilter { - /** - * The name of the subscription filter. - */ - filterName?: FilterName; - /** - * The name of the log group. - */ - logGroupName?: LogGroupName; - filterPattern?: FilterPattern; - /** - * The Amazon Resource Name (ARN) of the destination. - */ - destinationArn?: DestinationArn; - /** - * - */ - roleArn?: RoleArn; - /** - * The method used to distribute log data to the destination, when the destination is an Amazon Kinesis stream. - */ - distribution?: Distribution; - /** - * The creation time of the subscription filter, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - */ - creationTime?: Timestamp; - } - export type SubscriptionFilters = SubscriptionFilter[]; - export type TagKey = string; - export type TagList = TagKey[]; - export interface TagLogGroupRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The key-value pairs to use for the tags. - */ - tags: Tags; - } - export type TagValue = string; - export type Tags = {[key: string]: TagValue}; - export type TargetArn = string; - export type TestEventMessages = EventMessage[]; - export interface TestMetricFilterRequest { - filterPattern: FilterPattern; - /** - * The log event messages to test. - */ - logEventMessages: TestEventMessages; - } - export interface TestMetricFilterResponse { - /** - * The matched events. - */ - matches?: MetricFilterMatches; - } - export type Timestamp = number; - export type Token = string; - export interface UntagLogGroupRequest { - /** - * The name of the log group. - */ - logGroupName: LogGroupName; - /** - * The tag keys. The corresponding tags are removed from the log group. - */ - tags: TagList; - } - export type Value = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-03-28"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CloudWatchLogs client. - */ - export import Types = CloudWatchLogs; -} -export = CloudWatchLogs; diff --git a/src/node_modules/aws-sdk/clients/cloudwatchlogs.js b/src/node_modules/aws-sdk/clients/cloudwatchlogs.js deleted file mode 100644 index c02a7f2..0000000 --- a/src/node_modules/aws-sdk/clients/cloudwatchlogs.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cloudwatchlogs'] = {}; -AWS.CloudWatchLogs = Service.defineService('cloudwatchlogs', ['2014-03-28']); -Object.defineProperty(apiLoader.services['cloudwatchlogs'], '2014-03-28', { - get: function get() { - var model = require('../apis/logs-2014-03-28.min.json'); - model.paginators = require('../apis/logs-2014-03-28.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudWatchLogs; diff --git a/src/node_modules/aws-sdk/clients/codebuild.d.ts b/src/node_modules/aws-sdk/clients/codebuild.d.ts deleted file mode 100644 index 743ed39..0000000 --- a/src/node_modules/aws-sdk/clients/codebuild.d.ts +++ /dev/null @@ -1,710 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CodeBuild extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CodeBuild.Types.ClientConfiguration) - config: Config & CodeBuild.Types.ClientConfiguration; - /** - * Gets information about builds. - */ - batchGetBuilds(params: CodeBuild.Types.BatchGetBuildsInput, callback?: (err: AWSError, data: CodeBuild.Types.BatchGetBuildsOutput) => void): Request; - /** - * Gets information about builds. - */ - batchGetBuilds(callback?: (err: AWSError, data: CodeBuild.Types.BatchGetBuildsOutput) => void): Request; - /** - * Gets information about build projects. - */ - batchGetProjects(params: CodeBuild.Types.BatchGetProjectsInput, callback?: (err: AWSError, data: CodeBuild.Types.BatchGetProjectsOutput) => void): Request; - /** - * Gets information about build projects. - */ - batchGetProjects(callback?: (err: AWSError, data: CodeBuild.Types.BatchGetProjectsOutput) => void): Request; - /** - * Creates a build project. - */ - createProject(params: CodeBuild.Types.CreateProjectInput, callback?: (err: AWSError, data: CodeBuild.Types.CreateProjectOutput) => void): Request; - /** - * Creates a build project. - */ - createProject(callback?: (err: AWSError, data: CodeBuild.Types.CreateProjectOutput) => void): Request; - /** - * Deletes a build project. - */ - deleteProject(params: CodeBuild.Types.DeleteProjectInput, callback?: (err: AWSError, data: CodeBuild.Types.DeleteProjectOutput) => void): Request; - /** - * Deletes a build project. - */ - deleteProject(callback?: (err: AWSError, data: CodeBuild.Types.DeleteProjectOutput) => void): Request; - /** - * Gets a list of build IDs, with each build ID representing a single build. - */ - listBuilds(params: CodeBuild.Types.ListBuildsInput, callback?: (err: AWSError, data: CodeBuild.Types.ListBuildsOutput) => void): Request; - /** - * Gets a list of build IDs, with each build ID representing a single build. - */ - listBuilds(callback?: (err: AWSError, data: CodeBuild.Types.ListBuildsOutput) => void): Request; - /** - * Gets a list of build IDs for the specified build project, with each build ID representing a single build. - */ - listBuildsForProject(params: CodeBuild.Types.ListBuildsForProjectInput, callback?: (err: AWSError, data: CodeBuild.Types.ListBuildsForProjectOutput) => void): Request; - /** - * Gets a list of build IDs for the specified build project, with each build ID representing a single build. - */ - listBuildsForProject(callback?: (err: AWSError, data: CodeBuild.Types.ListBuildsForProjectOutput) => void): Request; - /** - * Gets information about Docker images that are managed by AWS CodeBuild. - */ - listCuratedEnvironmentImages(params: CodeBuild.Types.ListCuratedEnvironmentImagesInput, callback?: (err: AWSError, data: CodeBuild.Types.ListCuratedEnvironmentImagesOutput) => void): Request; - /** - * Gets information about Docker images that are managed by AWS CodeBuild. - */ - listCuratedEnvironmentImages(callback?: (err: AWSError, data: CodeBuild.Types.ListCuratedEnvironmentImagesOutput) => void): Request; - /** - * Gets a list of build project names, with each build project name representing a single build project. - */ - listProjects(params: CodeBuild.Types.ListProjectsInput, callback?: (err: AWSError, data: CodeBuild.Types.ListProjectsOutput) => void): Request; - /** - * Gets a list of build project names, with each build project name representing a single build project. - */ - listProjects(callback?: (err: AWSError, data: CodeBuild.Types.ListProjectsOutput) => void): Request; - /** - * Starts running a build. - */ - startBuild(params: CodeBuild.Types.StartBuildInput, callback?: (err: AWSError, data: CodeBuild.Types.StartBuildOutput) => void): Request; - /** - * Starts running a build. - */ - startBuild(callback?: (err: AWSError, data: CodeBuild.Types.StartBuildOutput) => void): Request; - /** - * Attempts to stop running a build. - */ - stopBuild(params: CodeBuild.Types.StopBuildInput, callback?: (err: AWSError, data: CodeBuild.Types.StopBuildOutput) => void): Request; - /** - * Attempts to stop running a build. - */ - stopBuild(callback?: (err: AWSError, data: CodeBuild.Types.StopBuildOutput) => void): Request; - /** - * Changes the settings of a build project. - */ - updateProject(params: CodeBuild.Types.UpdateProjectInput, callback?: (err: AWSError, data: CodeBuild.Types.UpdateProjectOutput) => void): Request; - /** - * Changes the settings of a build project. - */ - updateProject(callback?: (err: AWSError, data: CodeBuild.Types.UpdateProjectOutput) => void): Request; -} -declare namespace CodeBuild { - export type ArtifactNamespace = "NONE"|"BUILD_ID"|string; - export type ArtifactPackaging = "NONE"|"ZIP"|string; - export type ArtifactsType = "CODEPIPELINE"|"S3"|"NO_ARTIFACTS"|string; - export interface BatchGetBuildsInput { - /** - * The IDs of the builds. - */ - ids: BuildIds; - } - export interface BatchGetBuildsOutput { - /** - * Information about the requested builds. - */ - builds?: Builds; - /** - * The IDs of builds for which information could not be found. - */ - buildsNotFound?: BuildIds; - } - export interface BatchGetProjectsInput { - /** - * The names of the build projects. - */ - names: ProjectNames; - } - export interface BatchGetProjectsOutput { - /** - * Information about the requested build projects. - */ - projects?: Projects; - /** - * The names of build projects for which information could not be found. - */ - projectsNotFound?: ProjectNames; - } - export type Boolean = boolean; - export interface Build { - /** - * The unique ID for the build. - */ - id?: NonEmptyString; - /** - * The Amazon Resource Name (ARN) of the build. - */ - arn?: NonEmptyString; - /** - * When the build process started, expressed in Unix time format. - */ - startTime?: Timestamp; - /** - * When the build process ended, expressed in Unix time format. - */ - endTime?: Timestamp; - /** - * The current build phase. - */ - currentPhase?: String; - /** - * The current status of the build. Valid values include: FAILED: The build failed. FAULT: The build faulted. IN_PROGRESS: The build is still in progress. STOPPED: The build stopped. SUCCEEDED: The build succeeded. TIMED_OUT: The build timed out. - */ - buildStatus?: StatusType; - /** - * Any version identifier for the version of the source code to be built. - */ - sourceVersion?: NonEmptyString; - /** - * The name of the build project. - */ - projectName?: NonEmptyString; - /** - * Information about all previous build phases that are completed and information about any current build phase that is not yet complete. - */ - phases?: BuildPhases; - /** - * Information about the source code to be built. - */ - source?: ProjectSource; - /** - * Information about the output artifacts for the build. - */ - artifacts?: BuildArtifacts; - /** - * Information about the build environment for this build. - */ - environment?: ProjectEnvironment; - /** - * Information about the build's logs in Amazon CloudWatch Logs. - */ - logs?: LogsLocation; - /** - * How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not get marked as completed. - */ - timeoutInMinutes?: WrapperInt; - /** - * Whether the build has finished. True if completed; otherwise, false. - */ - buildComplete?: Boolean; - /** - * The entity that started the build. Valid values include: If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline). If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example MyUserName). If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin. - */ - initiator?: String; - } - export interface BuildArtifacts { - /** - * Information about the location of the build artifacts. - */ - location?: String; - /** - * The SHA-256 hash of the build artifact. You can use this hash along with a checksum tool to confirm both file integrity and authenticity. This value is available only if the build project's packaging value is set to ZIP. - */ - sha256sum?: String; - /** - * The MD5 hash of the build artifact. You can use this hash along with a checksum tool to confirm both file integrity and authenticity. This value is available only if the build project's packaging value is set to ZIP. - */ - md5sum?: String; - } - export type BuildIds = NonEmptyString[]; - export interface BuildPhase { - /** - * The name of the build phase. Valid values include: BUILD: Core build activities typically occur in this build phase. COMPLETED: The build has been completed. DOWNLOAD_SOURCE: Source code is being downloaded in this build phase. FINALIZING: The build process is completing in this build phase. INSTALL: Installation activities typically occur in this build phase. POST_BUILD: Post-build activities typically occur in this build phase. PRE_BUILD: Pre-build activities typically occur in this build phase. PROVISIONING: The build environment is being set up. SUBMITTED: The build has been submitted. UPLOAD_ARTIFACTS: Build output artifacts are being uploaded to the output location. - */ - phaseType?: BuildPhaseType; - /** - * The current status of the build phase. Valid values include: FAILED: The build phase failed. FAULT: The build phase faulted. IN_PROGRESS: The build phase is still in progress. STOPPED: The build phase stopped. SUCCEEDED: The build phase succeeded. TIMED_OUT: The build phase timed out. - */ - phaseStatus?: StatusType; - /** - * When the build phase started, expressed in Unix time format. - */ - startTime?: Timestamp; - /** - * When the build phase ended, expressed in Unix time format. - */ - endTime?: Timestamp; - /** - * How long, in seconds, between the starting and ending times of the build's phase. - */ - durationInSeconds?: WrapperLong; - /** - * Additional information about a build phase, especially to help troubleshoot a failed build. - */ - contexts?: PhaseContexts; - } - export type BuildPhaseType = "SUBMITTED"|"PROVISIONING"|"DOWNLOAD_SOURCE"|"INSTALL"|"PRE_BUILD"|"BUILD"|"POST_BUILD"|"UPLOAD_ARTIFACTS"|"FINALIZING"|"COMPLETED"|string; - export type BuildPhases = BuildPhase[]; - export type Builds = Build[]; - export type ComputeType = "BUILD_GENERAL1_SMALL"|"BUILD_GENERAL1_MEDIUM"|"BUILD_GENERAL1_LARGE"|string; - export interface CreateProjectInput { - /** - * The name of the build project. - */ - name: ProjectName; - /** - * A description that makes the build project easy to identify. - */ - description?: ProjectDescription; - /** - * Information about the build input source code for the build project. - */ - source: ProjectSource; - /** - * Information about the build output artifacts for the build project. - */ - artifacts: ProjectArtifacts; - /** - * Information about the build environment for the build project. - */ - environment: ProjectEnvironment; - /** - * The ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account. - */ - serviceRole?: NonEmptyString; - /** - * How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that has not been marked as completed. The default is 60 minutes. - */ - timeoutInMinutes?: TimeOut; - /** - * The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts. You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format alias/alias-name ). - */ - encryptionKey?: NonEmptyString; - /** - * A set of tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags. - */ - tags?: TagList; - } - export interface CreateProjectOutput { - /** - * Information about the build project that was created. - */ - project?: Project; - } - export interface DeleteProjectInput { - /** - * The name of the build project. - */ - name: NonEmptyString; - } - export interface DeleteProjectOutput { - } - export interface EnvironmentImage { - /** - * The name of the Docker image. - */ - name?: String; - /** - * The description of the Docker image. - */ - description?: String; - } - export type EnvironmentImages = EnvironmentImage[]; - export interface EnvironmentLanguage { - /** - * The programming language for the Docker images. - */ - language?: LanguageType; - /** - * The list of Docker images that are related by the specified programming language. - */ - images?: EnvironmentImages; - } - export type EnvironmentLanguages = EnvironmentLanguage[]; - export interface EnvironmentPlatform { - /** - * The platform's name. - */ - platform?: PlatformType; - /** - * The list of programming languages that are available for the specified platform. - */ - languages?: EnvironmentLanguages; - } - export type EnvironmentPlatforms = EnvironmentPlatform[]; - export type EnvironmentType = "LINUX_CONTAINER"|string; - export interface EnvironmentVariable { - /** - * The name or key of the environment variable. - */ - name: NonEmptyString; - /** - * The value of the environment variable. We strongly discourage using environment variables to store sensitive values, especially AWS secret key IDs and secret access keys. Environment variables can be displayed in plain text using tools such as the AWS CodeBuild console and the AWS Command Line Interface (AWS CLI). - */ - value: String; - } - export type EnvironmentVariables = EnvironmentVariable[]; - export type KeyInput = string; - export type LanguageType = "JAVA"|"PYTHON"|"NODE_JS"|"RUBY"|"GOLANG"|"DOCKER"|"ANDROID"|"BASE"|string; - export interface ListBuildsForProjectInput { - /** - * The name of the build project. - */ - projectName: NonEmptyString; - /** - * The order to list build IDs. Valid values include: ASCENDING: List the build IDs in ascending order by build ID. DESCENDING: List the build IDs in descending order by build ID. - */ - sortOrder?: SortOrderType; - /** - * During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned. - */ - nextToken?: String; - } - export interface ListBuildsForProjectOutput { - /** - * A list of build IDs for the specified build project, with each build ID representing a single build. - */ - ids?: BuildIds; - /** - * If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. - */ - nextToken?: String; - } - export interface ListBuildsInput { - /** - * The order to list build IDs. Valid values include: ASCENDING: List the build IDs in ascending order by build ID. DESCENDING: List the build IDs in descending order by build ID. - */ - sortOrder?: SortOrderType; - /** - * During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned. - */ - nextToken?: String; - } - export interface ListBuildsOutput { - /** - * A list of build IDs, with each build ID representing a single build. - */ - ids?: BuildIds; - /** - * If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. - */ - nextToken?: String; - } - export interface ListCuratedEnvironmentImagesInput { - } - export interface ListCuratedEnvironmentImagesOutput { - /** - * Information about supported platforms for Docker images that are managed by AWS CodeBuild. - */ - platforms?: EnvironmentPlatforms; - } - export interface ListProjectsInput { - /** - * The criterion to be used to list build project names. Valid values include: CREATED_TIME: List the build project names based on when each build project was created. LAST_MODIFIED_TIME: List the build project names based on when information about each build project was last changed. NAME: List the build project names based on each build project's name. Use sortOrder to specify in what order to list the build project names based on the preceding criteria. - */ - sortBy?: ProjectSortByType; - /** - * The order in which to list build projects. Valid values include: ASCENDING: List the build project names in ascending order. DESCENDING: List the build project names in descending order. Use sortBy to specify the criterion to be used to list build project names. - */ - sortOrder?: SortOrderType; - /** - * During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned. - */ - nextToken?: NonEmptyString; - } - export interface ListProjectsOutput { - /** - * If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. - */ - nextToken?: String; - /** - * The list of build project names, with each build project name representing a single build project. - */ - projects?: ProjectNames; - } - export interface LogsLocation { - /** - * The name of the Amazon CloudWatch Logs group for the build logs. - */ - groupName?: String; - /** - * The name of the Amazon CloudWatch Logs stream for the build logs. - */ - streamName?: String; - /** - * The URL to an individual build log in Amazon CloudWatch Logs. - */ - deepLink?: String; - } - export type NonEmptyString = string; - export interface PhaseContext { - /** - * The status code for the context of the build phase. - */ - statusCode?: String; - /** - * An explanation of the build phase's context. This explanation might include a command ID and an exit code. - */ - message?: String; - } - export type PhaseContexts = PhaseContext[]; - export type PlatformType = "DEBIAN"|"AMAZON_LINUX"|"UBUNTU"|string; - export interface Project { - /** - * The name of the build project. - */ - name?: ProjectName; - /** - * The Amazon Resource Name (ARN) of the build project. - */ - arn?: String; - /** - * A description that makes the build project easy to identify. - */ - description?: ProjectDescription; - /** - * Information about the build input source code for this build project. - */ - source?: ProjectSource; - /** - * Information about the build output artifacts for the build project. - */ - artifacts?: ProjectArtifacts; - /** - * Information about the build environment for this build project. - */ - environment?: ProjectEnvironment; - /** - * The ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account. - */ - serviceRole?: NonEmptyString; - /** - * How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes. - */ - timeoutInMinutes?: TimeOut; - /** - * The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts. This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, the CMK's alias (using the format alias/alias-name ). - */ - encryptionKey?: NonEmptyString; - /** - * The tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags. - */ - tags?: TagList; - /** - * When the build project was created, expressed in Unix time format. - */ - created?: Timestamp; - /** - * When the build project's settings were last modified, expressed in Unix time format. - */ - lastModified?: Timestamp; - } - export interface ProjectArtifacts { - /** - * The type of build output artifact. Valid values include: CODEPIPELINE: The build project will have build output generated through AWS CodePipeline. NO_ARTIFACTS: The build project will not produce any build output. S3: The build project will store build output in Amazon Simple Storage Service (Amazon S3). - */ - type: ArtifactsType; - /** - * Information about the build output artifact location, as follows: If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output locations instead of AWS CodeBuild. If type is set to NO_ARTIFACTS, then this value will be ignored if specified, because no build output will be produced. If type is set to S3, this is the name of the output bucket. - */ - location?: String; - /** - * Along with namespaceType and name, the pattern that AWS CodeBuild will use to name and store the output artifact, as follows: If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild. If type is set to NO_ARTIFACTS, then this value will be ignored if specified, because no build output will be produced. If type is set to S3, this is the path to the output artifact. If path is not specified, then path will not be used. For example, if path is set to MyArtifacts, namespaceType is set to NONE, and name is set to MyArtifact.zip, then the output artifact would be stored in the output bucket at MyArtifacts/MyArtifact.zip. - */ - path?: String; - /** - * Along with path and name, the pattern that AWS CodeBuild will use to determine the name and location to store the output artifact, as follows: If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild. If type is set to NO_ARTIFACTS, then this value will be ignored if specified, because no build output will be produced. If type is set to S3, then valid values include: BUILD_ID: Include the build ID in the location of the build output artifact. NONE: Do not include the build ID. This is the default if namespaceType is not specified. For example, if path is set to MyArtifacts, namespaceType is set to BUILD_ID, and name is set to MyArtifact.zip, then the output artifact would be stored in MyArtifacts/build-ID/MyArtifact.zip. - */ - namespaceType?: ArtifactNamespace; - /** - * Along with path and namespaceType, the pattern that AWS CodeBuild will use to name and store the output artifact, as follows: If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild. If type is set to NO_ARTIFACTS, then this value will be ignored if specified, because no build output will be produced. If type is set to S3, this is the name of the output artifact object. For example, if path is set to MyArtifacts, namespaceType is set to BUILD_ID, and name is set to MyArtifact.zip, then the output artifact would be stored in MyArtifacts/build-ID/MyArtifact.zip. - */ - name?: String; - /** - * The type of build output artifact to create, as follows: If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output artifacts instead of AWS CodeBuild. If type is set to NO_ARTIFACTS, then this value will be ignored if specified, because no build output will be produced. If type is set to S3, valid values include: NONE: AWS CodeBuild will create in the output bucket a folder containing the build output. This is the default if packaging is not specified. ZIP: AWS CodeBuild will create in the output bucket a ZIP file containing the build output. - */ - packaging?: ArtifactPackaging; - } - export type ProjectDescription = string; - export interface ProjectEnvironment { - /** - * The type of build environment to use for related builds. - */ - type: EnvironmentType; - /** - * The ID of the Docker image to use for this build project. - */ - image: NonEmptyString; - /** - * Information about the compute resources the build project will use. Available values include: BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds. - */ - computeType: ComputeType; - /** - * A set of environment variables to make available to builds for this build project. - */ - environmentVariables?: EnvironmentVariables; - /** - * If set to true, enables running the Docker daemon inside a Docker container; otherwise, false or not specified (the default). This value must be set to true only if this build project will be used to build Docker images, and the specified build environment image is not one provided by AWS CodeBuild with Docker support. Otherwise, all associated builds that attempt to interact with the Docker daemon will fail. Note that you must also start the Docker daemon so that your builds can interact with it as needed. One way to do this is to initialize the Docker daemon in the install phase of your build spec by running the following build commands. (Do not run the following build commands if the specified build environment image is provided by AWS CodeBuild with Docker support.) - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=vfs& - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done" - */ - privilegedMode?: WrapperBoolean; - } - export type ProjectName = string; - export type ProjectNames = NonEmptyString[]; - export type ProjectSortByType = "NAME"|"CREATED_TIME"|"LAST_MODIFIED_TIME"|string; - export interface ProjectSource { - /** - * The type of repository that contains the source code to be built. Valid values include: CODECOMMIT: The source code is in an AWS CodeCommit repository. CODEPIPELINE: The source code settings are specified in the source action of a pipeline in AWS CodePipeline. GITHUB: The source code is in a GitHub repository. S3: The source code is in an Amazon Simple Storage Service (Amazon S3) input bucket. - */ - type: SourceType; - /** - * Information about the location of the source code to be built. Valid values include: For source code settings that are specified in the source action of a pipeline in AWS CodePipeline, location should not be specified. If it is specified, AWS CodePipeline will ignore it. This is because AWS CodePipeline uses the settings in a pipeline's source action instead of this value. For source code in an AWS CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ). For source code in an Amazon Simple Storage Service (Amazon S3) input bucket, the path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip) For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec. Also, you must connect your AWS account to your GitHub account. To do this, use the AWS CodeBuild console to begin creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page that displays, for Organization access, choose Request access next to each repository you want to allow AWS CodeBuild to have access to. Then choose Authorize application. (After you have connected to your GitHub account, you do not need to finish creating the build project, and you may then leave the AWS CodeBuild console.) To instruct AWS CodeBuild to then use this connection, in the source object, set the auth object's type value to OAUTH. - */ - location?: String; - /** - * The build spec declaration to use for the builds in this build project. If this value is not specified, a build spec must be included along with the source code to be built. - */ - buildspec?: String; - /** - * Information about the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly (unless the build project's source type value is GITHUB). - */ - auth?: SourceAuth; - } - export type Projects = Project[]; - export type SortOrderType = "ASCENDING"|"DESCENDING"|string; - export interface SourceAuth { - /** - * The authorization type to use. The only valid value is OAUTH, which represents the OAuth authorization type. - */ - type: SourceAuthType; - /** - * The resource value that applies to the specified authorization type. - */ - resource?: String; - } - export type SourceAuthType = "OAUTH"|string; - export type SourceType = "CODECOMMIT"|"CODEPIPELINE"|"GITHUB"|"S3"|string; - export interface StartBuildInput { - /** - * The name of the build project to start running a build. - */ - projectName: NonEmptyString; - /** - * A version of the build input to be built, for this build only. If not specified, the latest version will be used. If specified, must be one of: For AWS CodeCommit or GitHub: the commit ID to use. For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use. - */ - sourceVersion?: String; - /** - * Build output artifact settings that override, for this build only, the latest ones already defined in the build project. - */ - artifactsOverride?: ProjectArtifacts; - /** - * A set of environment variables that overrides, for this build only, the latest ones already defined in the build project. - */ - environmentVariablesOverride?: EnvironmentVariables; - /** - * A build spec declaration that overrides, for this build only, the latest one already defined in the build project. - */ - buildspecOverride?: String; - /** - * The number of build timeout minutes, from 5 to 480 (8 hours), that overrides, for this build only, the latest setting already defined in the build project. - */ - timeoutInMinutesOverride?: TimeOut; - } - export interface StartBuildOutput { - /** - * Information about the build to be run. - */ - build?: Build; - } - export type StatusType = "SUCCEEDED"|"FAILED"|"FAULT"|"TIMED_OUT"|"IN_PROGRESS"|"STOPPED"|string; - export interface StopBuildInput { - /** - * The ID of the build. - */ - id: NonEmptyString; - } - export interface StopBuildOutput { - /** - * Information about the build. - */ - build?: Build; - } - export type String = string; - export interface Tag { - /** - * The tag's key. - */ - key?: KeyInput; - /** - * The tag's value. - */ - value?: ValueInput; - } - export type TagList = Tag[]; - export type TimeOut = number; - export type Timestamp = Date; - export interface UpdateProjectInput { - /** - * The name of the build project. You cannot change a build project's name. - */ - name: NonEmptyString; - /** - * A new or replacement description of the build project. - */ - description?: ProjectDescription; - /** - * Information to be changed about the build input source code for the build project. - */ - source?: ProjectSource; - /** - * Information to be changed about the build output artifacts for the build project. - */ - artifacts?: ProjectArtifacts; - /** - * Information to be changed about the build environment for the build project. - */ - environment?: ProjectEnvironment; - /** - * The replacement ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account. - */ - serviceRole?: NonEmptyString; - /** - * The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. - */ - timeoutInMinutes?: TimeOut; - /** - * The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts. You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format alias/alias-name ). - */ - encryptionKey?: NonEmptyString; - /** - * The replacement set of tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags. - */ - tags?: TagList; - } - export interface UpdateProjectOutput { - /** - * Information about the build project that was changed. - */ - project?: Project; - } - export type ValueInput = string; - export type WrapperBoolean = boolean; - export type WrapperInt = number; - export type WrapperLong = number; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-10-06"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CodeBuild client. - */ - export import Types = CodeBuild; -} -export = CodeBuild; diff --git a/src/node_modules/aws-sdk/clients/codebuild.js b/src/node_modules/aws-sdk/clients/codebuild.js deleted file mode 100644 index dbdf9ee..0000000 --- a/src/node_modules/aws-sdk/clients/codebuild.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['codebuild'] = {}; -AWS.CodeBuild = Service.defineService('codebuild', ['2016-10-06']); -Object.defineProperty(apiLoader.services['codebuild'], '2016-10-06', { - get: function get() { - var model = require('../apis/codebuild-2016-10-06.min.json'); - model.paginators = require('../apis/codebuild-2016-10-06.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeBuild; diff --git a/src/node_modules/aws-sdk/clients/codecommit.d.ts b/src/node_modules/aws-sdk/clients/codecommit.d.ts deleted file mode 100644 index 71d4dc3..0000000 --- a/src/node_modules/aws-sdk/clients/codecommit.d.ts +++ /dev/null @@ -1,656 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CodeCommit extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CodeCommit.Types.ClientConfiguration) - config: Config & CodeCommit.Types.ClientConfiguration; - /** - * Returns information about one or more repositories. The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page. - */ - batchGetRepositories(params: CodeCommit.Types.BatchGetRepositoriesInput, callback?: (err: AWSError, data: CodeCommit.Types.BatchGetRepositoriesOutput) => void): Request; - /** - * Returns information about one or more repositories. The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page. - */ - batchGetRepositories(callback?: (err: AWSError, data: CodeCommit.Types.BatchGetRepositoriesOutput) => void): Request; - /** - * Creates a new branch in a repository and points the branch to a commit. Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation. - */ - createBranch(params: CodeCommit.Types.CreateBranchInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a new branch in a repository and points the branch to a commit. Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation. - */ - createBranch(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a new, empty repository. - */ - createRepository(params: CodeCommit.Types.CreateRepositoryInput, callback?: (err: AWSError, data: CodeCommit.Types.CreateRepositoryOutput) => void): Request; - /** - * Creates a new, empty repository. - */ - createRepository(callback?: (err: AWSError, data: CodeCommit.Types.CreateRepositoryOutput) => void): Request; - /** - * Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned. Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail. - */ - deleteRepository(params: CodeCommit.Types.DeleteRepositoryInput, callback?: (err: AWSError, data: CodeCommit.Types.DeleteRepositoryOutput) => void): Request; - /** - * Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned. Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail. - */ - deleteRepository(callback?: (err: AWSError, data: CodeCommit.Types.DeleteRepositoryOutput) => void): Request; - /** - * Returns the base-64 encoded content of an individual blob within a repository. - */ - getBlob(params: CodeCommit.Types.GetBlobInput, callback?: (err: AWSError, data: CodeCommit.Types.GetBlobOutput) => void): Request; - /** - * Returns the base-64 encoded content of an individual blob within a repository. - */ - getBlob(callback?: (err: AWSError, data: CodeCommit.Types.GetBlobOutput) => void): Request; - /** - * Returns information about a repository branch, including its name and the last commit ID. - */ - getBranch(params: CodeCommit.Types.GetBranchInput, callback?: (err: AWSError, data: CodeCommit.Types.GetBranchOutput) => void): Request; - /** - * Returns information about a repository branch, including its name and the last commit ID. - */ - getBranch(callback?: (err: AWSError, data: CodeCommit.Types.GetBranchOutput) => void): Request; - /** - * Returns information about a commit, including commit message and committer information. - */ - getCommit(params: CodeCommit.Types.GetCommitInput, callback?: (err: AWSError, data: CodeCommit.Types.GetCommitOutput) => void): Request; - /** - * Returns information about a commit, including commit message and committer information. - */ - getCommit(callback?: (err: AWSError, data: CodeCommit.Types.GetCommitOutput) => void): Request; - /** - * Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID or other fully qualified reference). Results can be limited to a specified path. - */ - getDifferences(params: CodeCommit.Types.GetDifferencesInput, callback?: (err: AWSError, data: CodeCommit.Types.GetDifferencesOutput) => void): Request; - /** - * Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID or other fully qualified reference). Results can be limited to a specified path. - */ - getDifferences(callback?: (err: AWSError, data: CodeCommit.Types.GetDifferencesOutput) => void): Request; - /** - * Returns information about a repository. The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page. - */ - getRepository(params: CodeCommit.Types.GetRepositoryInput, callback?: (err: AWSError, data: CodeCommit.Types.GetRepositoryOutput) => void): Request; - /** - * Returns information about a repository. The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page. - */ - getRepository(callback?: (err: AWSError, data: CodeCommit.Types.GetRepositoryOutput) => void): Request; - /** - * Gets information about triggers configured for a repository. - */ - getRepositoryTriggers(params: CodeCommit.Types.GetRepositoryTriggersInput, callback?: (err: AWSError, data: CodeCommit.Types.GetRepositoryTriggersOutput) => void): Request; - /** - * Gets information about triggers configured for a repository. - */ - getRepositoryTriggers(callback?: (err: AWSError, data: CodeCommit.Types.GetRepositoryTriggersOutput) => void): Request; - /** - * Gets information about one or more branches in a repository. - */ - listBranches(params: CodeCommit.Types.ListBranchesInput, callback?: (err: AWSError, data: CodeCommit.Types.ListBranchesOutput) => void): Request; - /** - * Gets information about one or more branches in a repository. - */ - listBranches(callback?: (err: AWSError, data: CodeCommit.Types.ListBranchesOutput) => void): Request; - /** - * Gets information about one or more repositories. - */ - listRepositories(params: CodeCommit.Types.ListRepositoriesInput, callback?: (err: AWSError, data: CodeCommit.Types.ListRepositoriesOutput) => void): Request; - /** - * Gets information about one or more repositories. - */ - listRepositories(callback?: (err: AWSError, data: CodeCommit.Types.ListRepositoriesOutput) => void): Request; - /** - * Replaces all triggers for a repository. This can be used to create or delete triggers. - */ - putRepositoryTriggers(params: CodeCommit.Types.PutRepositoryTriggersInput, callback?: (err: AWSError, data: CodeCommit.Types.PutRepositoryTriggersOutput) => void): Request; - /** - * Replaces all triggers for a repository. This can be used to create or delete triggers. - */ - putRepositoryTriggers(callback?: (err: AWSError, data: CodeCommit.Types.PutRepositoryTriggersOutput) => void): Request; - /** - * Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated. - */ - testRepositoryTriggers(params: CodeCommit.Types.TestRepositoryTriggersInput, callback?: (err: AWSError, data: CodeCommit.Types.TestRepositoryTriggersOutput) => void): Request; - /** - * Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated. - */ - testRepositoryTriggers(callback?: (err: AWSError, data: CodeCommit.Types.TestRepositoryTriggersOutput) => void): Request; - /** - * Sets or changes the default branch name for the specified repository. If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change. - */ - updateDefaultBranch(params: CodeCommit.Types.UpdateDefaultBranchInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets or changes the default branch name for the specified repository. If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change. - */ - updateDefaultBranch(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets or changes the comment or description for a repository. The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page. - */ - updateRepositoryDescription(params: CodeCommit.Types.UpdateRepositoryDescriptionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets or changes the comment or description for a repository. The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page. - */ - updateRepositoryDescription(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide. - */ - updateRepositoryName(params: CodeCommit.Types.UpdateRepositoryNameInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide. - */ - updateRepositoryName(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace CodeCommit { - export type AccountId = string; - export type AdditionalData = string; - export type Arn = string; - export interface BatchGetRepositoriesInput { - /** - * The names of the repositories to get information about. - */ - repositoryNames: RepositoryNameList; - } - export interface BatchGetRepositoriesOutput { - /** - * A list of repositories returned by the batch get repositories operation. - */ - repositories?: RepositoryMetadataList; - /** - * Returns a list of repository names for which information could not be found. - */ - repositoriesNotFound?: RepositoryNotFoundList; - } - export interface BlobMetadata { - /** - * The full ID of the blob. - */ - blobId?: ObjectId; - /** - * The path to the blob and any associated file name, if any. - */ - path?: Path; - /** - * The file mode permissions of the blob. File mode permission codes include: 100644 indicates read/write 100755 indicates read/write/execute 160000 indicates a submodule 120000 indicates a symlink - */ - mode?: Mode; - } - export interface BranchInfo { - /** - * The name of the branch. - */ - branchName?: BranchName; - /** - * The ID of the last commit made to the branch. - */ - commitId?: CommitId; - } - export type BranchName = string; - export type BranchNameList = BranchName[]; - export type ChangeTypeEnum = "A"|"M"|"D"|string; - export type CloneUrlHttp = string; - export type CloneUrlSsh = string; - export interface Commit { - /** - * Tree information for the specified commit. - */ - treeId?: ObjectId; - /** - * The parent list for the specified commit. - */ - parents?: ParentList; - /** - * The commit message associated with the specified commit. - */ - message?: Message; - /** - * Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git. - */ - author?: UserInfo; - /** - * Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git. For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub. - */ - committer?: UserInfo; - /** - * Any additional data associated with the specified commit. - */ - additionalData?: AdditionalData; - } - export type CommitId = string; - export type CommitName = string; - export interface CreateBranchInput { - /** - * The name of the repository in which you want to create the new branch. - */ - repositoryName: RepositoryName; - /** - * The name of the new branch to create. - */ - branchName: BranchName; - /** - * The ID of the commit to point the new branch to. - */ - commitId: CommitId; - } - export interface CreateRepositoryInput { - /** - * The name of the new repository to be created. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide. The suffix ".git" is prohibited. - */ - repositoryName: RepositoryName; - /** - * A comment or description about the new repository. The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page. - */ - repositoryDescription?: RepositoryDescription; - } - export interface CreateRepositoryOutput { - /** - * Information about the newly created repository. - */ - repositoryMetadata?: RepositoryMetadata; - } - export type CreationDate = Date; - export type _Date = string; - export interface DeleteRepositoryInput { - /** - * The name of the repository to delete. - */ - repositoryName: RepositoryName; - } - export interface DeleteRepositoryOutput { - /** - * The ID of the repository that was deleted. - */ - repositoryId?: RepositoryId; - } - export interface Difference { - /** - * Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path. - */ - beforeBlob?: BlobMetadata; - /** - * Information about an afterBlob data type object, including the ID, the file mode permission code, and the path. - */ - afterBlob?: BlobMetadata; - /** - * Whether the change type of the difference is an addition (A), deletion (D), or modification (M). - */ - changeType?: ChangeTypeEnum; - } - export type DifferenceList = Difference[]; - export type Email = string; - export interface GetBlobInput { - /** - * The name of the repository that contains the blob. - */ - repositoryName: RepositoryName; - /** - * The ID of the blob, which is its SHA-1 pointer. - */ - blobId: ObjectId; - } - export interface GetBlobOutput { - /** - * The content of the blob, usually a file. - */ - content: blob; - } - export interface GetBranchInput { - /** - * The name of the repository that contains the branch for which you want to retrieve information. - */ - repositoryName?: RepositoryName; - /** - * The name of the branch for which you want to retrieve information. - */ - branchName?: BranchName; - } - export interface GetBranchOutput { - /** - * The name of the branch. - */ - branch?: BranchInfo; - } - export interface GetCommitInput { - /** - * The name of the repository to which the commit was made. - */ - repositoryName: RepositoryName; - /** - * The commit ID. - */ - commitId: ObjectId; - } - export interface GetCommitOutput { - /** - * A commit data type object that contains information about the specified commit. - */ - commit: Commit; - } - export interface GetDifferencesInput { - /** - * The name of the repository where you want to get differences. - */ - repositoryName: RepositoryName; - /** - * The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, the full commit ID. Optional. If not specified, all changes prior to the afterCommitSpecifier value will be shown. If you do not use beforeCommitSpecifier in your request, consider limiting the results with maxResults. - */ - beforeCommitSpecifier?: CommitName; - /** - * The branch, tag, HEAD, or other fully qualified reference used to identify a commit. - */ - afterCommitSpecifier: CommitName; - /** - * The file path in which to check for differences. Limits the results to this path. Can also be used to specify the previous name of a directory or folder. If beforePath and afterPath are not specified, differences will be shown for all paths. - */ - beforePath?: Path; - /** - * The file path in which to check differences. Limits the results to this path. Can also be used to specify the changed name of a directory or folder, if it has changed. If not specified, differences will be shown for all paths. - */ - afterPath?: Path; - /** - * A non-negative integer used to limit the number of returned results. - */ - MaxResults?: Limit; - /** - * An enumeration token that when provided in a request, returns the next batch of the results. - */ - NextToken?: NextToken; - } - export interface GetDifferencesOutput { - /** - * A differences data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M). - */ - differences?: DifferenceList; - /** - * An enumeration token that can be used in a request to return the next batch of the results. - */ - NextToken?: NextToken; - } - export interface GetRepositoryInput { - /** - * The name of the repository to get information about. - */ - repositoryName: RepositoryName; - } - export interface GetRepositoryOutput { - /** - * Information about the repository. - */ - repositoryMetadata?: RepositoryMetadata; - } - export interface GetRepositoryTriggersInput { - /** - * The name of the repository for which the trigger is configured. - */ - repositoryName: RepositoryName; - } - export interface GetRepositoryTriggersOutput { - /** - * The system-generated unique ID for the trigger. - */ - configurationId?: RepositoryTriggersConfigurationId; - /** - * The JSON block of configuration information for each trigger. - */ - triggers?: RepositoryTriggersList; - } - export type LastModifiedDate = Date; - export type Limit = number; - export interface ListBranchesInput { - /** - * The name of the repository that contains the branches. - */ - repositoryName: RepositoryName; - /** - * An enumeration token that allows the operation to batch the results. - */ - nextToken?: NextToken; - } - export interface ListBranchesOutput { - /** - * The list of branch names. - */ - branches?: BranchNameList; - /** - * An enumeration token that returns the batch of the results. - */ - nextToken?: NextToken; - } - export interface ListRepositoriesInput { - /** - * An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved. - */ - nextToken?: NextToken; - /** - * The criteria used to sort the results of a list repositories operation. - */ - sortBy?: SortByEnum; - /** - * The order in which to sort the results of a list repositories operation. - */ - order?: OrderEnum; - } - export interface ListRepositoriesOutput { - /** - * Lists the repositories called by the list repositories operation. - */ - repositories?: RepositoryNameIdPairList; - /** - * An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved. - */ - nextToken?: NextToken; - } - export type Message = string; - export type Mode = string; - export type Name = string; - export type NextToken = string; - export type ObjectId = string; - export type OrderEnum = "ascending"|"descending"|string; - export type ParentList = ObjectId[]; - export type Path = string; - export interface PutRepositoryTriggersInput { - /** - * The name of the repository where you want to create or update the trigger. - */ - repositoryName: RepositoryName; - /** - * The JSON block of configuration information for each trigger. - */ - triggers: RepositoryTriggersList; - } - export interface PutRepositoryTriggersOutput { - /** - * The system-generated unique ID for the create or update operation. - */ - configurationId?: RepositoryTriggersConfigurationId; - } - export type RepositoryDescription = string; - export type RepositoryId = string; - export interface RepositoryMetadata { - /** - * The ID of the AWS account associated with the repository. - */ - accountId?: AccountId; - /** - * The ID of the repository. - */ - repositoryId?: RepositoryId; - /** - * The repository's name. - */ - repositoryName?: RepositoryName; - /** - * A comment or description about the repository. - */ - repositoryDescription?: RepositoryDescription; - /** - * The repository's default branch name. - */ - defaultBranch?: BranchName; - /** - * The date and time the repository was last modified, in timestamp format. - */ - lastModifiedDate?: LastModifiedDate; - /** - * The date and time the repository was created, in timestamp format. - */ - creationDate?: CreationDate; - /** - * The URL to use for cloning the repository over HTTPS. - */ - cloneUrlHttp?: CloneUrlHttp; - /** - * The URL to use for cloning the repository over SSH. - */ - cloneUrlSsh?: CloneUrlSsh; - /** - * The Amazon Resource Name (ARN) of the repository. - */ - Arn?: Arn; - } - export type RepositoryMetadataList = RepositoryMetadata[]; - export type RepositoryName = string; - export interface RepositoryNameIdPair { - /** - * The name associated with the repository. - */ - repositoryName?: RepositoryName; - /** - * The ID associated with the repository. - */ - repositoryId?: RepositoryId; - } - export type RepositoryNameIdPairList = RepositoryNameIdPair[]; - export type RepositoryNameList = RepositoryName[]; - export type RepositoryNotFoundList = RepositoryName[]; - export interface RepositoryTrigger { - /** - * The name of the trigger. - */ - name: RepositoryTriggerName; - /** - * The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS). - */ - destinationArn: Arn; - /** - * Any custom data associated with the trigger that will be included in the information sent to the target of the trigger. - */ - customData?: RepositoryTriggerCustomData; - /** - * The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches. - */ - branches?: BranchNameList; - /** - * The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). The valid value "all" cannot be used with any other values. - */ - events: RepositoryTriggerEventList; - } - export type RepositoryTriggerCustomData = string; - export type RepositoryTriggerEventEnum = "all"|"updateReference"|"createReference"|"deleteReference"|string; - export type RepositoryTriggerEventList = RepositoryTriggerEventEnum[]; - export interface RepositoryTriggerExecutionFailure { - /** - * The name of the trigger that did not run. - */ - trigger?: RepositoryTriggerName; - /** - * Additional message information about the trigger that did not run. - */ - failureMessage?: RepositoryTriggerExecutionFailureMessage; - } - export type RepositoryTriggerExecutionFailureList = RepositoryTriggerExecutionFailure[]; - export type RepositoryTriggerExecutionFailureMessage = string; - export type RepositoryTriggerName = string; - export type RepositoryTriggerNameList = RepositoryTriggerName[]; - export type RepositoryTriggersConfigurationId = string; - export type RepositoryTriggersList = RepositoryTrigger[]; - export type SortByEnum = "repositoryName"|"lastModifiedDate"|string; - export interface TestRepositoryTriggersInput { - /** - * The name of the repository in which to test the triggers. - */ - repositoryName: RepositoryName; - /** - * The list of triggers to test. - */ - triggers: RepositoryTriggersList; - } - export interface TestRepositoryTriggersOutput { - /** - * The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas. - */ - successfulExecutions?: RepositoryTriggerNameList; - /** - * The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas. - */ - failedExecutions?: RepositoryTriggerExecutionFailureList; - } - export interface UpdateDefaultBranchInput { - /** - * The name of the repository to set or change the default branch for. - */ - repositoryName: RepositoryName; - /** - * The name of the branch to set as the default. - */ - defaultBranchName: BranchName; - } - export interface UpdateRepositoryDescriptionInput { - /** - * The name of the repository to set or change the comment or description for. - */ - repositoryName: RepositoryName; - /** - * The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters. - */ - repositoryDescription?: RepositoryDescription; - } - export interface UpdateRepositoryNameInput { - /** - * The existing name of the repository. - */ - oldName: RepositoryName; - /** - * The new name for the repository. - */ - newName: RepositoryName; - } - export interface UserInfo { - /** - * The name of the user who made the specified commit. - */ - name?: Name; - /** - * The email address associated with the user who made the commit, if any. - */ - email?: Email; - /** - * The date when the specified commit was pushed to the repository. - */ - date?: _Date; - } - export type blob = Buffer|Uint8Array|Blob|string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-04-13"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CodeCommit client. - */ - export import Types = CodeCommit; -} -export = CodeCommit; diff --git a/src/node_modules/aws-sdk/clients/codecommit.js b/src/node_modules/aws-sdk/clients/codecommit.js deleted file mode 100644 index a2e69b3..0000000 --- a/src/node_modules/aws-sdk/clients/codecommit.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['codecommit'] = {}; -AWS.CodeCommit = Service.defineService('codecommit', ['2015-04-13']); -Object.defineProperty(apiLoader.services['codecommit'], '2015-04-13', { - get: function get() { - var model = require('../apis/codecommit-2015-04-13.min.json'); - model.paginators = require('../apis/codecommit-2015-04-13.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeCommit; diff --git a/src/node_modules/aws-sdk/clients/codedeploy.d.ts b/src/node_modules/aws-sdk/clients/codedeploy.d.ts deleted file mode 100644 index e1c8024..0000000 --- a/src/node_modules/aws-sdk/clients/codedeploy.d.ts +++ /dev/null @@ -1,1802 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CodeDeploy extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CodeDeploy.Types.ClientConfiguration) - config: Config & CodeDeploy.Types.ClientConfiguration; - /** - * Adds tags to on-premises instances. - */ - addTagsToOnPremisesInstances(params: CodeDeploy.Types.AddTagsToOnPremisesInstancesInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds tags to on-premises instances. - */ - addTagsToOnPremisesInstances(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Gets information about one or more application revisions. - */ - batchGetApplicationRevisions(params: CodeDeploy.Types.BatchGetApplicationRevisionsInput, callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetApplicationRevisionsOutput) => void): Request; - /** - * Gets information about one or more application revisions. - */ - batchGetApplicationRevisions(callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetApplicationRevisionsOutput) => void): Request; - /** - * Gets information about one or more applications. - */ - batchGetApplications(params: CodeDeploy.Types.BatchGetApplicationsInput, callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetApplicationsOutput) => void): Request; - /** - * Gets information about one or more applications. - */ - batchGetApplications(callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetApplicationsOutput) => void): Request; - /** - * Gets information about one or more deployment groups. - */ - batchGetDeploymentGroups(params: CodeDeploy.Types.BatchGetDeploymentGroupsInput, callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentGroupsOutput) => void): Request; - /** - * Gets information about one or more deployment groups. - */ - batchGetDeploymentGroups(callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentGroupsOutput) => void): Request; - /** - * Gets information about one or more instance that are part of a deployment group. - */ - batchGetDeploymentInstances(params: CodeDeploy.Types.BatchGetDeploymentInstancesInput, callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentInstancesOutput) => void): Request; - /** - * Gets information about one or more instance that are part of a deployment group. - */ - batchGetDeploymentInstances(callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentInstancesOutput) => void): Request; - /** - * Gets information about one or more deployments. - */ - batchGetDeployments(params: CodeDeploy.Types.BatchGetDeploymentsInput, callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentsOutput) => void): Request; - /** - * Gets information about one or more deployments. - */ - batchGetDeployments(callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentsOutput) => void): Request; - /** - * Gets information about one or more on-premises instances. - */ - batchGetOnPremisesInstances(params: CodeDeploy.Types.BatchGetOnPremisesInstancesInput, callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetOnPremisesInstancesOutput) => void): Request; - /** - * Gets information about one or more on-premises instances. - */ - batchGetOnPremisesInstances(callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetOnPremisesInstancesOutput) => void): Request; - /** - * For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.) - */ - continueDeployment(params: CodeDeploy.Types.ContinueDeploymentInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.) - */ - continueDeployment(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates an application. - */ - createApplication(params: CodeDeploy.Types.CreateApplicationInput, callback?: (err: AWSError, data: CodeDeploy.Types.CreateApplicationOutput) => void): Request; - /** - * Creates an application. - */ - createApplication(callback?: (err: AWSError, data: CodeDeploy.Types.CreateApplicationOutput) => void): Request; - /** - * Deploys an application revision through the specified deployment group. - */ - createDeployment(params: CodeDeploy.Types.CreateDeploymentInput, callback?: (err: AWSError, data: CodeDeploy.Types.CreateDeploymentOutput) => void): Request; - /** - * Deploys an application revision through the specified deployment group. - */ - createDeployment(callback?: (err: AWSError, data: CodeDeploy.Types.CreateDeploymentOutput) => void): Request; - /** - * Creates a deployment configuration. - */ - createDeploymentConfig(params: CodeDeploy.Types.CreateDeploymentConfigInput, callback?: (err: AWSError, data: CodeDeploy.Types.CreateDeploymentConfigOutput) => void): Request; - /** - * Creates a deployment configuration. - */ - createDeploymentConfig(callback?: (err: AWSError, data: CodeDeploy.Types.CreateDeploymentConfigOutput) => void): Request; - /** - * Creates a deployment group to which application revisions will be deployed. - */ - createDeploymentGroup(params: CodeDeploy.Types.CreateDeploymentGroupInput, callback?: (err: AWSError, data: CodeDeploy.Types.CreateDeploymentGroupOutput) => void): Request; - /** - * Creates a deployment group to which application revisions will be deployed. - */ - createDeploymentGroup(callback?: (err: AWSError, data: CodeDeploy.Types.CreateDeploymentGroupOutput) => void): Request; - /** - * Deletes an application. - */ - deleteApplication(params: CodeDeploy.Types.DeleteApplicationInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an application. - */ - deleteApplication(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a deployment configuration. A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted. - */ - deleteDeploymentConfig(params: CodeDeploy.Types.DeleteDeploymentConfigInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a deployment configuration. A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted. - */ - deleteDeploymentConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a deployment group. - */ - deleteDeploymentGroup(params: CodeDeploy.Types.DeleteDeploymentGroupInput, callback?: (err: AWSError, data: CodeDeploy.Types.DeleteDeploymentGroupOutput) => void): Request; - /** - * Deletes a deployment group. - */ - deleteDeploymentGroup(callback?: (err: AWSError, data: CodeDeploy.Types.DeleteDeploymentGroupOutput) => void): Request; - /** - * Deregisters an on-premises instance. - */ - deregisterOnPremisesInstance(params: CodeDeploy.Types.DeregisterOnPremisesInstanceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters an on-premises instance. - */ - deregisterOnPremisesInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Gets information about an application. - */ - getApplication(params: CodeDeploy.Types.GetApplicationInput, callback?: (err: AWSError, data: CodeDeploy.Types.GetApplicationOutput) => void): Request; - /** - * Gets information about an application. - */ - getApplication(callback?: (err: AWSError, data: CodeDeploy.Types.GetApplicationOutput) => void): Request; - /** - * Gets information about an application revision. - */ - getApplicationRevision(params: CodeDeploy.Types.GetApplicationRevisionInput, callback?: (err: AWSError, data: CodeDeploy.Types.GetApplicationRevisionOutput) => void): Request; - /** - * Gets information about an application revision. - */ - getApplicationRevision(callback?: (err: AWSError, data: CodeDeploy.Types.GetApplicationRevisionOutput) => void): Request; - /** - * Gets information about a deployment. - */ - getDeployment(params: CodeDeploy.Types.GetDeploymentInput, callback?: (err: AWSError, data: CodeDeploy.Types.GetDeploymentOutput) => void): Request; - /** - * Gets information about a deployment. - */ - getDeployment(callback?: (err: AWSError, data: CodeDeploy.Types.GetDeploymentOutput) => void): Request; - /** - * Gets information about a deployment configuration. - */ - getDeploymentConfig(params: CodeDeploy.Types.GetDeploymentConfigInput, callback?: (err: AWSError, data: CodeDeploy.Types.GetDeploymentConfigOutput) => void): Request; - /** - * Gets information about a deployment configuration. - */ - getDeploymentConfig(callback?: (err: AWSError, data: CodeDeploy.Types.GetDeploymentConfigOutput) => void): Request; - /** - * Gets information about a deployment group. - */ - getDeploymentGroup(params: CodeDeploy.Types.GetDeploymentGroupInput, callback?: (err: AWSError, data: CodeDeploy.Types.GetDeploymentGroupOutput) => void): Request; - /** - * Gets information about a deployment group. - */ - getDeploymentGroup(callback?: (err: AWSError, data: CodeDeploy.Types.GetDeploymentGroupOutput) => void): Request; - /** - * Gets information about an instance as part of a deployment. - */ - getDeploymentInstance(params: CodeDeploy.Types.GetDeploymentInstanceInput, callback?: (err: AWSError, data: CodeDeploy.Types.GetDeploymentInstanceOutput) => void): Request; - /** - * Gets information about an instance as part of a deployment. - */ - getDeploymentInstance(callback?: (err: AWSError, data: CodeDeploy.Types.GetDeploymentInstanceOutput) => void): Request; - /** - * Gets information about an on-premises instance. - */ - getOnPremisesInstance(params: CodeDeploy.Types.GetOnPremisesInstanceInput, callback?: (err: AWSError, data: CodeDeploy.Types.GetOnPremisesInstanceOutput) => void): Request; - /** - * Gets information about an on-premises instance. - */ - getOnPremisesInstance(callback?: (err: AWSError, data: CodeDeploy.Types.GetOnPremisesInstanceOutput) => void): Request; - /** - * Lists information about revisions for an application. - */ - listApplicationRevisions(params: CodeDeploy.Types.ListApplicationRevisionsInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListApplicationRevisionsOutput) => void): Request; - /** - * Lists information about revisions for an application. - */ - listApplicationRevisions(callback?: (err: AWSError, data: CodeDeploy.Types.ListApplicationRevisionsOutput) => void): Request; - /** - * Lists the applications registered with the applicable IAM user or AWS account. - */ - listApplications(params: CodeDeploy.Types.ListApplicationsInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListApplicationsOutput) => void): Request; - /** - * Lists the applications registered with the applicable IAM user or AWS account. - */ - listApplications(callback?: (err: AWSError, data: CodeDeploy.Types.ListApplicationsOutput) => void): Request; - /** - * Lists the deployment configurations with the applicable IAM user or AWS account. - */ - listDeploymentConfigs(params: CodeDeploy.Types.ListDeploymentConfigsInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentConfigsOutput) => void): Request; - /** - * Lists the deployment configurations with the applicable IAM user or AWS account. - */ - listDeploymentConfigs(callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentConfigsOutput) => void): Request; - /** - * Lists the deployment groups for an application registered with the applicable IAM user or AWS account. - */ - listDeploymentGroups(params: CodeDeploy.Types.ListDeploymentGroupsInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentGroupsOutput) => void): Request; - /** - * Lists the deployment groups for an application registered with the applicable IAM user or AWS account. - */ - listDeploymentGroups(callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentGroupsOutput) => void): Request; - /** - * Lists the instance for a deployment associated with the applicable IAM user or AWS account. - */ - listDeploymentInstances(params: CodeDeploy.Types.ListDeploymentInstancesInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentInstancesOutput) => void): Request; - /** - * Lists the instance for a deployment associated with the applicable IAM user or AWS account. - */ - listDeploymentInstances(callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentInstancesOutput) => void): Request; - /** - * Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account. - */ - listDeployments(params: CodeDeploy.Types.ListDeploymentsInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentsOutput) => void): Request; - /** - * Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account. - */ - listDeployments(callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentsOutput) => void): Request; - /** - * Lists the names of stored connections to GitHub accounts. - */ - listGitHubAccountTokenNames(params: CodeDeploy.Types.ListGitHubAccountTokenNamesInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListGitHubAccountTokenNamesOutput) => void): Request; - /** - * Lists the names of stored connections to GitHub accounts. - */ - listGitHubAccountTokenNames(callback?: (err: AWSError, data: CodeDeploy.Types.ListGitHubAccountTokenNamesOutput) => void): Request; - /** - * Gets a list of names for one or more on-premises instances. Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter. - */ - listOnPremisesInstances(params: CodeDeploy.Types.ListOnPremisesInstancesInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListOnPremisesInstancesOutput) => void): Request; - /** - * Gets a list of names for one or more on-premises instances. Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter. - */ - listOnPremisesInstances(callback?: (err: AWSError, data: CodeDeploy.Types.ListOnPremisesInstancesOutput) => void): Request; - /** - * Registers with AWS CodeDeploy a revision for the specified application. - */ - registerApplicationRevision(params: CodeDeploy.Types.RegisterApplicationRevisionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers with AWS CodeDeploy a revision for the specified application. - */ - registerApplicationRevision(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers an on-premises instance. Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both. - */ - registerOnPremisesInstance(params: CodeDeploy.Types.RegisterOnPremisesInstanceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers an on-premises instance. Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both. - */ - registerOnPremisesInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes one or more tags from one or more on-premises instances. - */ - removeTagsFromOnPremisesInstances(params: CodeDeploy.Types.RemoveTagsFromOnPremisesInstancesInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes one or more tags from one or more on-premises instances. - */ - removeTagsFromOnPremisesInstances(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is completed. - */ - skipWaitTimeForInstanceTermination(params: CodeDeploy.Types.SkipWaitTimeForInstanceTerminationInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is completed. - */ - skipWaitTimeForInstanceTermination(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attempts to stop an ongoing deployment. - */ - stopDeployment(params: CodeDeploy.Types.StopDeploymentInput, callback?: (err: AWSError, data: CodeDeploy.Types.StopDeploymentOutput) => void): Request; - /** - * Attempts to stop an ongoing deployment. - */ - stopDeployment(callback?: (err: AWSError, data: CodeDeploy.Types.StopDeploymentOutput) => void): Request; - /** - * Changes the name of an application. - */ - updateApplication(params: CodeDeploy.Types.UpdateApplicationInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the name of an application. - */ - updateApplication(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes information about a deployment group. - */ - updateDeploymentGroup(params: CodeDeploy.Types.UpdateDeploymentGroupInput, callback?: (err: AWSError, data: CodeDeploy.Types.UpdateDeploymentGroupOutput) => void): Request; - /** - * Changes information about a deployment group. - */ - updateDeploymentGroup(callback?: (err: AWSError, data: CodeDeploy.Types.UpdateDeploymentGroupOutput) => void): Request; - /** - * Waits for the deploymentSuccessful state by periodically calling the underlying CodeDeploy.getDeploymentoperation every 15 seconds (at most 120 times). - */ - waitFor(state: "deploymentSuccessful", params: CodeDeploy.Types.GetDeploymentInput, callback?: (err: AWSError, data: CodeDeploy.Types.GetDeploymentOutput) => void): Request; - /** - * Waits for the deploymentSuccessful state by periodically calling the underlying CodeDeploy.getDeploymentoperation every 15 seconds (at most 120 times). - */ - waitFor(state: "deploymentSuccessful", callback?: (err: AWSError, data: CodeDeploy.Types.GetDeploymentOutput) => void): Request; -} -declare namespace CodeDeploy { - export interface AddTagsToOnPremisesInstancesInput { - /** - * The tag key-value pairs to add to the on-premises instances. Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed. - */ - tags: TagList; - /** - * The names of the on-premises instances to which to add tags. - */ - instanceNames: InstanceNameList; - } - export type AdditionalDeploymentStatusInfo = string; - export interface Alarm { - /** - * The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms. - */ - name?: AlarmName; - } - export interface AlarmConfiguration { - /** - * Indicates whether the alarm configuration is enabled. - */ - enabled?: Boolean; - /** - * Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false. true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch. false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch. - */ - ignorePollAlarmFailure?: Boolean; - /** - * A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group. - */ - alarms?: AlarmList; - } - export type AlarmList = Alarm[]; - export type AlarmName = string; - export type ApplicationId = string; - export interface ApplicationInfo { - /** - * The application ID. - */ - applicationId?: ApplicationId; - /** - * The application name. - */ - applicationName?: ApplicationName; - /** - * The time at which the application was created. - */ - createTime?: Timestamp; - /** - * True if the user has authenticated with GitHub for the specified application; otherwise, false. - */ - linkedToGitHub?: Boolean; - /** - * The name for a connection to a GitHub account. - */ - gitHubAccountName?: GitHubAccountTokenName; - } - export type ApplicationName = string; - export type ApplicationRevisionSortBy = "registerTime"|"firstUsedTime"|"lastUsedTime"|string; - export type ApplicationsInfoList = ApplicationInfo[]; - export type ApplicationsList = ApplicationName[]; - export interface AutoRollbackConfiguration { - /** - * Indicates whether a defined automatic rollback configuration is currently enabled. - */ - enabled?: Boolean; - /** - * The event type or types that trigger a rollback. - */ - events?: AutoRollbackEventsList; - } - export type AutoRollbackEvent = "DEPLOYMENT_FAILURE"|"DEPLOYMENT_STOP_ON_ALARM"|"DEPLOYMENT_STOP_ON_REQUEST"|string; - export type AutoRollbackEventsList = AutoRollbackEvent[]; - export interface AutoScalingGroup { - /** - * The Auto Scaling group name. - */ - name?: AutoScalingGroupName; - /** - * An Auto Scaling lifecycle event hook name. - */ - hook?: AutoScalingGroupHook; - } - export type AutoScalingGroupHook = string; - export type AutoScalingGroupList = AutoScalingGroup[]; - export type AutoScalingGroupName = string; - export type AutoScalingGroupNameList = AutoScalingGroupName[]; - export interface BatchGetApplicationRevisionsInput { - /** - * The name of an AWS CodeDeploy application about which to get revision information. - */ - applicationName: ApplicationName; - /** - * Information to get about the application revisions, including type and location. - */ - revisions: RevisionLocationList; - } - export interface BatchGetApplicationRevisionsOutput { - /** - * The name of the application that corresponds to the revisions. - */ - applicationName?: ApplicationName; - /** - * Information about errors that may have occurred during the API call. - */ - errorMessage?: ErrorMessage; - /** - * Additional information about the revisions, including the type and location. - */ - revisions?: RevisionInfoList; - } - export interface BatchGetApplicationsInput { - /** - * A list of application names separated by spaces. - */ - applicationNames?: ApplicationsList; - } - export interface BatchGetApplicationsOutput { - /** - * Information about the applications. - */ - applicationsInfo?: ApplicationsInfoList; - } - export interface BatchGetDeploymentGroupsInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - /** - * The deployment groups' names. - */ - deploymentGroupNames: DeploymentGroupsList; - } - export interface BatchGetDeploymentGroupsOutput { - /** - * Information about the deployment groups. - */ - deploymentGroupsInfo?: DeploymentGroupInfoList; - /** - * Information about errors that may have occurred during the API call. - */ - errorMessage?: ErrorMessage; - } - export interface BatchGetDeploymentInstancesInput { - /** - * The unique ID of a deployment. - */ - deploymentId: DeploymentId; - /** - * The unique IDs of instances in the deployment group. - */ - instanceIds: InstancesList; - } - export interface BatchGetDeploymentInstancesOutput { - /** - * Information about the instance. - */ - instancesSummary?: InstanceSummaryList; - /** - * Information about errors that may have occurred during the API call. - */ - errorMessage?: ErrorMessage; - } - export interface BatchGetDeploymentsInput { - /** - * A list of deployment IDs, separated by spaces. - */ - deploymentIds?: DeploymentsList; - } - export interface BatchGetDeploymentsOutput { - /** - * Information about the deployments. - */ - deploymentsInfo?: DeploymentsInfoList; - } - export interface BatchGetOnPremisesInstancesInput { - /** - * The names of the on-premises instances about which to get information. - */ - instanceNames?: InstanceNameList; - } - export interface BatchGetOnPremisesInstancesOutput { - /** - * Information about the on-premises instances. - */ - instanceInfos?: InstanceInfoList; - } - export interface BlueGreenDeploymentConfiguration { - /** - * Information about whether to terminate instances in the original fleet during a blue/green deployment. - */ - terminateBlueInstancesOnDeploymentSuccess?: BlueInstanceTerminationOption; - /** - * Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment. - */ - deploymentReadyOption?: DeploymentReadyOption; - /** - * Information about how instances are provisioned for a replacement environment in a blue/green deployment. - */ - greenFleetProvisioningOption?: GreenFleetProvisioningOption; - } - export interface BlueInstanceTerminationOption { - /** - * The action to take on instances in the original environment after a successful blue/green deployment. TERMINATE: Instances are terminated after a specified wait time. KEEP_ALIVE: Instances are left running after they are deregistered from the load balancer and removed from the deployment group. - */ - action?: InstanceAction; - /** - * The number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment. - */ - terminationWaitTimeInMinutes?: Duration; - } - export type Boolean = boolean; - export type BundleType = "tar"|"tgz"|"zip"|string; - export type CommitId = string; - export interface ContinueDeploymentInput { - /** - * The deployment ID of the blue/green deployment for which you want to start rerouting traffic to the replacement environment. - */ - deploymentId?: DeploymentId; - } - export interface CreateApplicationInput { - /** - * The name of the application. This name must be unique with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - } - export interface CreateApplicationOutput { - /** - * A unique application ID. - */ - applicationId?: ApplicationId; - } - export interface CreateDeploymentConfigInput { - /** - * The name of the deployment configuration to create. - */ - deploymentConfigName: DeploymentConfigName; - /** - * The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value. The type parameter takes either of the following values: HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value. FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment, AWS CodeDeploy converts the percentage to the equivalent number of instance and rounds up fractional instances. The value parameter takes an integer. For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT and a value of 95. - */ - minimumHealthyHosts?: MinimumHealthyHosts; - } - export interface CreateDeploymentConfigOutput { - /** - * A unique deployment configuration ID. - */ - deploymentConfigId?: DeploymentConfigId; - } - export interface CreateDeploymentGroupInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - /** - * The name of a new deployment group for the specified application. - */ - deploymentGroupName: DeploymentGroupName; - /** - * If specified, the deployment configuration name can be either one of the predefined configurations provided with AWS CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation. CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn't specified for the deployment or the deployment group. For more information about the predefined deployment configurations in AWS CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide. - */ - deploymentConfigName?: DeploymentConfigName; - /** - * The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of the specified tags. - */ - ec2TagFilters?: EC2TagFilterList; - /** - * The on-premises instance tags on which to filter. The deployment group will include on-premises instances with any of the specified tags. - */ - onPremisesInstanceTagFilters?: TagFilterList; - /** - * A list of associated Auto Scaling groups. - */ - autoScalingGroups?: AutoScalingGroupNameList; - /** - * A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services. - */ - serviceRoleArn: Role; - /** - * Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an AWS CodeDeploy Event in the AWS CodeDeploy User Guide. - */ - triggerConfigurations?: TriggerConfigList; - /** - * Information to add about Amazon CloudWatch alarms when the deployment group is created. - */ - alarmConfiguration?: AlarmConfiguration; - /** - * Configuration information for an automatic rollback that is added when a deployment group is created. - */ - autoRollbackConfiguration?: AutoRollbackConfiguration; - /** - * Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer. - */ - deploymentStyle?: DeploymentStyle; - /** - * Information about blue/green deployment options for a deployment group. - */ - blueGreenDeploymentConfiguration?: BlueGreenDeploymentConfiguration; - /** - * Information about the load balancer used in a deployment. - */ - loadBalancerInfo?: LoadBalancerInfo; - } - export interface CreateDeploymentGroupOutput { - /** - * A unique deployment group ID. - */ - deploymentGroupId?: DeploymentGroupId; - } - export interface CreateDeploymentInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - /** - * The name of the deployment group. - */ - deploymentGroupName?: DeploymentGroupName; - /** - * The type and location of the revision to deploy. - */ - revision?: RevisionLocation; - /** - * The name of a deployment configuration associated with the applicable IAM user or AWS account. If not specified, the value configured in the deployment group will be used as the default. If the deployment group does not have a deployment configuration associated with it, then CodeDeployDefault.OneAtATime will be used by default. - */ - deploymentConfigName?: DeploymentConfigName; - /** - * A comment about the deployment. - */ - description?: Description; - /** - * If set to true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event. If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to an instance, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed. - */ - ignoreApplicationStopFailures?: Boolean; - /** - * Information about the instances that will belong to the replacement environment in a blue/green deployment. - */ - targetInstances?: TargetInstances; - /** - * Configuration information for an automatic rollback that is added when a deployment is created. - */ - autoRollbackConfiguration?: AutoRollbackConfiguration; - /** - * Indicates whether to deploy to all instances or only to instances that are not running the latest application revision. - */ - updateOutdatedInstancesOnly?: Boolean; - /** - * Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment. The fileExistsBehavior parameter takes any of the following values: DISALLOW: The deployment fails. This is also the default behavior if no option is specified. OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance. RETAIN: The version of the file already on the instance is kept and used as part of the new deployment. - */ - fileExistsBehavior?: FileExistsBehavior; - } - export interface CreateDeploymentOutput { - /** - * A unique deployment ID. - */ - deploymentId?: DeploymentId; - } - export interface DeleteApplicationInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - } - export interface DeleteDeploymentConfigInput { - /** - * The name of a deployment configuration associated with the applicable IAM user or AWS account. - */ - deploymentConfigName: DeploymentConfigName; - } - export interface DeleteDeploymentGroupInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - /** - * The name of an existing deployment group for the specified application. - */ - deploymentGroupName: DeploymentGroupName; - } - export interface DeleteDeploymentGroupOutput { - /** - * If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. - */ - hooksNotCleanedUp?: AutoScalingGroupList; - } - export type DeploymentConfigId = string; - export interface DeploymentConfigInfo { - /** - * The deployment configuration ID. - */ - deploymentConfigId?: DeploymentConfigId; - /** - * The deployment configuration name. - */ - deploymentConfigName?: DeploymentConfigName; - /** - * Information about the number or percentage of minimum healthy instance. - */ - minimumHealthyHosts?: MinimumHealthyHosts; - /** - * The time at which the deployment configuration was created. - */ - createTime?: Timestamp; - } - export type DeploymentConfigName = string; - export type DeploymentConfigsList = DeploymentConfigName[]; - export type DeploymentCreator = "user"|"autoscaling"|"codeDeployRollback"|string; - export type DeploymentGroupId = string; - export interface DeploymentGroupInfo { - /** - * The application name. - */ - applicationName?: ApplicationName; - /** - * The deployment group ID. - */ - deploymentGroupId?: DeploymentGroupId; - /** - * The deployment group name. - */ - deploymentGroupName?: DeploymentGroupName; - /** - * The deployment configuration name. - */ - deploymentConfigName?: DeploymentConfigName; - /** - * The Amazon EC2 tags on which to filter. - */ - ec2TagFilters?: EC2TagFilterList; - /** - * The on-premises instance tags on which to filter. - */ - onPremisesInstanceTagFilters?: TagFilterList; - /** - * A list of associated Auto Scaling groups. - */ - autoScalingGroups?: AutoScalingGroupList; - /** - * A service role ARN. - */ - serviceRoleArn?: Role; - /** - * Information about the deployment group's target revision, including type and location. - */ - targetRevision?: RevisionLocation; - /** - * Information about triggers associated with the deployment group. - */ - triggerConfigurations?: TriggerConfigList; - /** - * A list of alarms associated with the deployment group. - */ - alarmConfiguration?: AlarmConfiguration; - /** - * Information about the automatic rollback configuration associated with the deployment group. - */ - autoRollbackConfiguration?: AutoRollbackConfiguration; - /** - * Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer. - */ - deploymentStyle?: DeploymentStyle; - /** - * Information about blue/green deployment options for a deployment group. - */ - blueGreenDeploymentConfiguration?: BlueGreenDeploymentConfiguration; - /** - * Information about the load balancer to use in a deployment. - */ - loadBalancerInfo?: LoadBalancerInfo; - /** - * Information about the most recent successful deployment to the deployment group. - */ - lastSuccessfulDeployment?: LastDeploymentInfo; - /** - * Information about the most recent attempted deployment to the deployment group. - */ - lastAttemptedDeployment?: LastDeploymentInfo; - } - export type DeploymentGroupInfoList = DeploymentGroupInfo[]; - export type DeploymentGroupName = string; - export type DeploymentGroupsList = DeploymentGroupName[]; - export type DeploymentId = string; - export interface DeploymentInfo { - /** - * The application name. - */ - applicationName?: ApplicationName; - /** - * The deployment group name. - */ - deploymentGroupName?: DeploymentGroupName; - /** - * The deployment configuration name. - */ - deploymentConfigName?: DeploymentConfigName; - /** - * The deployment ID. - */ - deploymentId?: DeploymentId; - /** - * Information about the application revision that was deployed to the deployment group before the most recent successful deployment. - */ - previousRevision?: RevisionLocation; - /** - * Information about the location of stored application artifacts and the service from which to retrieve them. - */ - revision?: RevisionLocation; - /** - * The current state of the deployment as a whole. - */ - status?: DeploymentStatus; - /** - * Information about any error associated with this deployment. - */ - errorInformation?: ErrorInformation; - /** - * A timestamp indicating when the deployment was created. - */ - createTime?: Timestamp; - /** - * A timestamp indicating when the deployment was deployed to the deployment group. In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process. - */ - startTime?: Timestamp; - /** - * A timestamp indicating when the deployment was complete. - */ - completeTime?: Timestamp; - /** - * A summary of the deployment status of the instances in the deployment. - */ - deploymentOverview?: DeploymentOverview; - /** - * A comment about the deployment. - */ - description?: Description; - /** - * The means by which the deployment was created: user: A user created the deployment. autoscaling: Auto Scaling created the deployment. codeDeployRollback: A rollback process created the deployment. - */ - creator?: DeploymentCreator; - /** - * If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event. If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed. - */ - ignoreApplicationStopFailures?: Boolean; - /** - * Information about the automatic rollback configuration associated with the deployment. - */ - autoRollbackConfiguration?: AutoRollbackConfiguration; - /** - * Indicates whether only instances that are not running the latest application revision are to be deployed to. - */ - updateOutdatedInstancesOnly?: Boolean; - /** - * Information about a deployment rollback. - */ - rollbackInfo?: RollbackInfo; - /** - * Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer. - */ - deploymentStyle?: DeploymentStyle; - /** - * Information about the instances that belong to the replacement environment in a blue/green deployment. - */ - targetInstances?: TargetInstances; - /** - * Indicates whether the wait period set for the termination of instances in the original environment has started. Status is 'false' if the KEEP_ALIVE option is specified; otherwise, 'true' as soon as the termination wait period starts. - */ - instanceTerminationWaitTimeStarted?: Boolean; - /** - * Information about blue/green deployment options for this deployment. - */ - blueGreenDeploymentConfiguration?: BlueGreenDeploymentConfiguration; - /** - * Information about the load balancer used in the deployment. - */ - loadBalancerInfo?: LoadBalancerInfo; - /** - * Provides information about the results of a deployment, such as whether instances in the original environment in a blue/green deployment were not terminated. - */ - additionalDeploymentStatusInfo?: AdditionalDeploymentStatusInfo; - /** - * Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment. DISALLOW: The deployment fails. This is also the default behavior if no option is specified. OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance. RETAIN: The version of the file already on the instance is kept and used as part of the new deployment. - */ - fileExistsBehavior?: FileExistsBehavior; - } - export type DeploymentOption = "WITH_TRAFFIC_CONTROL"|"WITHOUT_TRAFFIC_CONTROL"|string; - export interface DeploymentOverview { - /** - * The number of instances in the deployment in a pending state. - */ - Pending?: InstanceCount; - /** - * The number of instances in which the deployment is in progress. - */ - InProgress?: InstanceCount; - /** - * The number of instances in the deployment to which revisions have been successfully deployed. - */ - Succeeded?: InstanceCount; - /** - * The number of instances in the deployment in a failed state. - */ - Failed?: InstanceCount; - /** - * The number of instances in the deployment in a skipped state. - */ - Skipped?: InstanceCount; - /** - * The number of instances in a replacement environment ready to receive traffic in a blue/green deployment. - */ - Ready?: InstanceCount; - } - export type DeploymentReadyAction = "CONTINUE_DEPLOYMENT"|"STOP_DEPLOYMENT"|string; - export interface DeploymentReadyOption { - /** - * Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment. CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately after the new application revision is installed on the instances in the replacement environment. STOP_DEPLOYMENT: Do not register new instances with load balancer unless traffic is rerouted manually. If traffic is not rerouted manually before the end of the specified wait period, the deployment status is changed to Stopped. - */ - actionOnTimeout?: DeploymentReadyAction; - /** - * The number of minutes to wait before the status of a blue/green deployment changed to Stopped if rerouting is not started manually. Applies only to the STOP_DEPLOYMENT option for actionOnTimeout - */ - waitTimeInMinutes?: Duration; - } - export type DeploymentStatus = "Created"|"Queued"|"InProgress"|"Succeeded"|"Failed"|"Stopped"|"Ready"|string; - export type DeploymentStatusList = DeploymentStatus[]; - export interface DeploymentStyle { - /** - * Indicates whether to run an in-place deployment or a blue/green deployment. - */ - deploymentType?: DeploymentType; - /** - * Indicates whether to route deployment traffic behind a load balancer. - */ - deploymentOption?: DeploymentOption; - } - export type DeploymentType = "IN_PLACE"|"BLUE_GREEN"|string; - export type DeploymentsInfoList = DeploymentInfo[]; - export type DeploymentsList = DeploymentId[]; - export interface DeregisterOnPremisesInstanceInput { - /** - * The name of the on-premises instance to deregister. - */ - instanceName: InstanceName; - } - export type Description = string; - export interface Diagnostics { - /** - * The associated error code: Success: The specified script ran. ScriptMissing: The specified script was not found in the specified location. ScriptNotExecutable: The specified script is not a recognized executable file type. ScriptTimedOut: The specified script did not finish running in the specified time period. ScriptFailed: The specified script failed to run as expected. UnknownError: The specified script did not run for an unknown reason. - */ - errorCode?: LifecycleErrorCode; - /** - * The name of the script. - */ - scriptName?: ScriptName; - /** - * The message associated with the error. - */ - message?: LifecycleMessage; - /** - * The last portion of the diagnostic log. If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log. - */ - logTail?: LogTail; - } - export type Duration = number; - export interface EC2TagFilter { - /** - * The tag filter key. - */ - Key?: Key; - /** - * The tag filter value. - */ - Value?: Value; - /** - * The tag filter type: KEY_ONLY: Key only. VALUE_ONLY: Value only. KEY_AND_VALUE: Key and value. - */ - Type?: EC2TagFilterType; - } - export type EC2TagFilterList = EC2TagFilter[]; - export type EC2TagFilterType = "KEY_ONLY"|"VALUE_ONLY"|"KEY_AND_VALUE"|string; - export interface ELBInfo { - /** - * For blue/green deployments, the name of the load balancer that will be used to route traffic from original instances to replacement instances in a blue/green deployment. For in-place deployments, the name of the load balancer that instances are deregistered from so they are not serving traffic during a deployment, and then re-registered with after the deployment completes. - */ - name?: ELBName; - } - export type ELBInfoList = ELBInfo[]; - export type ELBName = string; - export type ETag = string; - export type ErrorCode = "DEPLOYMENT_GROUP_MISSING"|"APPLICATION_MISSING"|"REVISION_MISSING"|"IAM_ROLE_MISSING"|"IAM_ROLE_PERMISSIONS"|"NO_EC2_SUBSCRIPTION"|"OVER_MAX_INSTANCES"|"NO_INSTANCES"|"TIMEOUT"|"HEALTH_CONSTRAINTS_INVALID"|"HEALTH_CONSTRAINTS"|"INTERNAL_ERROR"|"THROTTLED"|"ALARM_ACTIVE"|"AGENT_ISSUE"|"AUTO_SCALING_IAM_ROLE_PERMISSIONS"|"AUTO_SCALING_CONFIGURATION"|"MANUAL_STOP"|string; - export interface ErrorInformation { - /** - * For information about additional error codes, see Error Codes for AWS CodeDeploy in the AWS CodeDeploy User Guide. The error code: APPLICATION_MISSING: The application was missing. This error code will most likely be raised if the application is deleted after the deployment is created but before it is started. DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code will most likely be raised if the deployment group is deleted after the deployment is created but before it is started. HEALTH_CONSTRAINTS: The deployment failed on too many instances to be successfully deployed within the instance health constraints specified. HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed within the instance health constraints specified. IAM_ROLE_MISSING: The service role cannot be accessed. IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions. INTERNAL_ERROR: There was an internal error. NO_EC2_SUBSCRIPTION: The calling account is not subscribed to the Amazon EC2 service. NO_INSTANCES: No instance were specified, or no instance can be found. OVER_MAX_INSTANCES: The maximum number of instance was exceeded. THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more AWS services. TIMEOUT: The deployment has timed out. REVISION_MISSING: The revision ID was missing. This error code will most likely be raised if the revision is deleted after the deployment is created but before it is started. - */ - code?: ErrorCode; - /** - * An accompanying error message. - */ - message?: ErrorMessage; - } - export type ErrorMessage = string; - export type FileExistsBehavior = "DISALLOW"|"OVERWRITE"|"RETAIN"|string; - export interface GenericRevisionInfo { - /** - * A comment about the revision. - */ - description?: Description; - /** - * The deployment groups for which this is the current target revision. - */ - deploymentGroups?: DeploymentGroupsList; - /** - * When the revision was first used by AWS CodeDeploy. - */ - firstUsedTime?: Timestamp; - /** - * When the revision was last used by AWS CodeDeploy. - */ - lastUsedTime?: Timestamp; - /** - * When the revision was registered with AWS CodeDeploy. - */ - registerTime?: Timestamp; - } - export interface GetApplicationInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - } - export interface GetApplicationOutput { - /** - * Information about the application. - */ - application?: ApplicationInfo; - } - export interface GetApplicationRevisionInput { - /** - * The name of the application that corresponds to the revision. - */ - applicationName: ApplicationName; - /** - * Information about the application revision to get, including type and location. - */ - revision: RevisionLocation; - } - export interface GetApplicationRevisionOutput { - /** - * The name of the application that corresponds to the revision. - */ - applicationName?: ApplicationName; - /** - * Additional information about the revision, including type and location. - */ - revision?: RevisionLocation; - /** - * General information about the revision. - */ - revisionInfo?: GenericRevisionInfo; - } - export interface GetDeploymentConfigInput { - /** - * The name of a deployment configuration associated with the applicable IAM user or AWS account. - */ - deploymentConfigName: DeploymentConfigName; - } - export interface GetDeploymentConfigOutput { - /** - * Information about the deployment configuration. - */ - deploymentConfigInfo?: DeploymentConfigInfo; - } - export interface GetDeploymentGroupInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - /** - * The name of an existing deployment group for the specified application. - */ - deploymentGroupName: DeploymentGroupName; - } - export interface GetDeploymentGroupOutput { - /** - * Information about the deployment group. - */ - deploymentGroupInfo?: DeploymentGroupInfo; - } - export interface GetDeploymentInput { - /** - * A deployment ID associated with the applicable IAM user or AWS account. - */ - deploymentId: DeploymentId; - } - export interface GetDeploymentInstanceInput { - /** - * The unique ID of a deployment. - */ - deploymentId: DeploymentId; - /** - * The unique ID of an instance in the deployment group. - */ - instanceId: InstanceId; - } - export interface GetDeploymentInstanceOutput { - /** - * Information about the instance. - */ - instanceSummary?: InstanceSummary; - } - export interface GetDeploymentOutput { - /** - * Information about the deployment. - */ - deploymentInfo?: DeploymentInfo; - } - export interface GetOnPremisesInstanceInput { - /** - * The name of the on-premises instance about which to get information. - */ - instanceName: InstanceName; - } - export interface GetOnPremisesInstanceOutput { - /** - * Information about the on-premises instance. - */ - instanceInfo?: InstanceInfo; - } - export type GitHubAccountTokenName = string; - export type GitHubAccountTokenNameList = GitHubAccountTokenName[]; - export interface GitHubLocation { - /** - * The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision. Specified as account/repository. - */ - repository?: Repository; - /** - * The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision. - */ - commitId?: CommitId; - } - export type GreenFleetProvisioningAction = "DISCOVER_EXISTING"|"COPY_AUTO_SCALING_GROUP"|string; - export interface GreenFleetProvisioningOption { - /** - * The method used to add instances to a replacement environment. DISCOVER_EXISTING: Use instances that already exist or will be created manually. COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group. - */ - action?: GreenFleetProvisioningAction; - } - export type IamSessionArn = string; - export type IamUserArn = string; - export type InstanceAction = "TERMINATE"|"KEEP_ALIVE"|string; - export type InstanceArn = string; - export type InstanceCount = number; - export type InstanceId = string; - export interface InstanceInfo { - /** - * The name of the on-premises instance. - */ - instanceName?: InstanceName; - /** - * The ARN of the IAM session associated with the on-premises instance. - */ - iamSessionArn?: IamSessionArn; - /** - * The IAM user ARN associated with the on-premises instance. - */ - iamUserArn?: IamUserArn; - /** - * The ARN of the on-premises instance. - */ - instanceArn?: InstanceArn; - /** - * The time at which the on-premises instance was registered. - */ - registerTime?: Timestamp; - /** - * If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered. - */ - deregisterTime?: Timestamp; - /** - * The tags currently associated with the on-premises instance. - */ - tags?: TagList; - } - export type InstanceInfoList = InstanceInfo[]; - export type InstanceName = string; - export type InstanceNameList = InstanceName[]; - export type InstanceStatus = "Pending"|"InProgress"|"Succeeded"|"Failed"|"Skipped"|"Unknown"|"Ready"|string; - export type InstanceStatusList = InstanceStatus[]; - export interface InstanceSummary { - /** - * The deployment ID. - */ - deploymentId?: DeploymentId; - /** - * The instance ID. - */ - instanceId?: InstanceId; - /** - * The deployment status for this instance: Pending: The deployment is pending for this instance. In Progress: The deployment is in progress for this instance. Succeeded: The deployment has succeeded for this instance. Failed: The deployment has failed for this instance. Skipped: The deployment has been skipped for this instance. Unknown: The deployment status is unknown for this instance. - */ - status?: InstanceStatus; - /** - * A timestamp indicating when the instance information was last updated. - */ - lastUpdatedAt?: Timestamp; - /** - * A list of lifecycle events for this instance. - */ - lifecycleEvents?: LifecycleEventList; - /** - * Information about which environment an instance belongs to in a blue/green deployment. BLUE: The instance is part of the original environment. GREEN: The instance is part of the replacement environment. - */ - instanceType?: InstanceType; - } - export type InstanceSummaryList = InstanceSummary[]; - export type InstanceType = "Blue"|"Green"|string; - export type InstanceTypeList = InstanceType[]; - export type InstancesList = InstanceId[]; - export type Key = string; - export interface LastDeploymentInfo { - /** - * The deployment ID. - */ - deploymentId?: DeploymentId; - /** - * The status of the most recent deployment. - */ - status?: DeploymentStatus; - /** - * A timestamp indicating when the most recent deployment to the deployment group completed. - */ - endTime?: Timestamp; - /** - * A timestamp indicating when the most recent deployment to the deployment group started. - */ - createTime?: Timestamp; - } - export type LifecycleErrorCode = "Success"|"ScriptMissing"|"ScriptNotExecutable"|"ScriptTimedOut"|"ScriptFailed"|"UnknownError"|string; - export interface LifecycleEvent { - /** - * The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService. - */ - lifecycleEventName?: LifecycleEventName; - /** - * Diagnostic information about the deployment lifecycle event. - */ - diagnostics?: Diagnostics; - /** - * A timestamp indicating when the deployment lifecycle event started. - */ - startTime?: Timestamp; - /** - * A timestamp indicating when the deployment lifecycle event ended. - */ - endTime?: Timestamp; - /** - * The deployment lifecycle event status: Pending: The deployment lifecycle event is pending. InProgress: The deployment lifecycle event is in progress. Succeeded: The deployment lifecycle event ran successfully. Failed: The deployment lifecycle event has failed. Skipped: The deployment lifecycle event has been skipped. Unknown: The deployment lifecycle event is unknown. - */ - status?: LifecycleEventStatus; - } - export type LifecycleEventList = LifecycleEvent[]; - export type LifecycleEventName = string; - export type LifecycleEventStatus = "Pending"|"InProgress"|"Succeeded"|"Failed"|"Skipped"|"Unknown"|string; - export type LifecycleMessage = string; - export interface ListApplicationRevisionsInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - /** - * The column name to use to sort the list results: registerTime: Sort by the time the revisions were registered with AWS CodeDeploy. firstUsedTime: Sort by the time the revisions were first used in a deployment. lastUsedTime: Sort by the time the revisions were last used in a deployment. If not specified or set to null, the results will be returned in an arbitrary order. - */ - sortBy?: ApplicationRevisionSortBy; - /** - * The order in which to sort the list results: ascending: ascending order. descending: descending order. If not specified, the results will be sorted in ascending order. If set to null, the results will be sorted in an arbitrary order. - */ - sortOrder?: SortOrder; - /** - * An Amazon S3 bucket name to limit the search for revisions. If set to null, all of the user's buckets will be searched. - */ - s3Bucket?: S3Bucket; - /** - * A key prefix for the set of Amazon S3 objects to limit the search for revisions. - */ - s3KeyPrefix?: S3Key; - /** - * Whether to list revisions based on whether the revision is the target revision of an deployment group: include: List revisions that are target revisions of a deployment group. exclude: Do not list revisions that are target revisions of a deployment group. ignore: List all revisions. - */ - deployed?: ListStateFilterAction; - /** - * An identifier returned from the previous list application revisions call. It can be used to return the next set of applications in the list. - */ - nextToken?: NextToken; - } - export interface ListApplicationRevisionsOutput { - /** - * A list of locations that contain the matching revisions. - */ - revisions?: RevisionLocationList; - /** - * If a large amount of information is returned, an identifier will also be returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list. - */ - nextToken?: NextToken; - } - export interface ListApplicationsInput { - /** - * An identifier returned from the previous list applications call. It can be used to return the next set of applications in the list. - */ - nextToken?: NextToken; - } - export interface ListApplicationsOutput { - /** - * A list of application names. - */ - applications?: ApplicationsList; - /** - * If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list applications call to return the next set of applications, will also be returned. in the list. - */ - nextToken?: NextToken; - } - export interface ListDeploymentConfigsInput { - /** - * An identifier returned from the previous list deployment configurations call. It can be used to return the next set of deployment configurations in the list. - */ - nextToken?: NextToken; - } - export interface ListDeploymentConfigsOutput { - /** - * A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime. - */ - deploymentConfigsList?: DeploymentConfigsList; - /** - * If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment configurations call to return the next set of deployment configurations in the list. - */ - nextToken?: NextToken; - } - export interface ListDeploymentGroupsInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - /** - * An identifier returned from the previous list deployment groups call. It can be used to return the next set of deployment groups in the list. - */ - nextToken?: NextToken; - } - export interface ListDeploymentGroupsOutput { - /** - * The application name. - */ - applicationName?: ApplicationName; - /** - * A list of corresponding deployment group names. - */ - deploymentGroups?: DeploymentGroupsList; - /** - * If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment groups call to return the next set of deployment groups in the list. - */ - nextToken?: NextToken; - } - export interface ListDeploymentInstancesInput { - /** - * The unique ID of a deployment. - */ - deploymentId: DeploymentId; - /** - * An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list. - */ - nextToken?: NextToken; - /** - * A subset of instances to list by status: Pending: Include those instance with pending deployments. InProgress: Include those instance where deployments are still in progress. Succeeded: Include those instances with successful deployments. Failed: Include those instance with failed deployments. Skipped: Include those instance with skipped deployments. Unknown: Include those instance with deployments in an unknown state. - */ - instanceStatusFilter?: InstanceStatusList; - /** - * The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in the replacement environment ("GREEN"), for which you want to view instance information. - */ - instanceTypeFilter?: InstanceTypeList; - } - export interface ListDeploymentInstancesOutput { - /** - * A list of instance IDs. - */ - instancesList?: InstancesList; - /** - * If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list. - */ - nextToken?: NextToken; - } - export interface ListDeploymentsInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName?: ApplicationName; - /** - * The name of an existing deployment group for the specified application. - */ - deploymentGroupName?: DeploymentGroupName; - /** - * A subset of deployments to list by status: Created: Include created deployments in the resulting list. Queued: Include queued deployments in the resulting list. In Progress: Include in-progress deployments in the resulting list. Succeeded: Include successful deployments in the resulting list. Failed: Include failed deployments in the resulting list. Stopped: Include stopped deployments in the resulting list. - */ - includeOnlyStatuses?: DeploymentStatusList; - /** - * A time range (start and end) for returning a subset of the list of deployments. - */ - createTimeRange?: TimeRange; - /** - * An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list. - */ - nextToken?: NextToken; - } - export interface ListDeploymentsOutput { - /** - * A list of deployment IDs. - */ - deployments?: DeploymentsList; - /** - * If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list. - */ - nextToken?: NextToken; - } - export interface ListGitHubAccountTokenNamesInput { - /** - * An identifier returned from the previous ListGitHubAccountTokenNames call. It can be used to return the next set of names in the list. - */ - nextToken?: NextToken; - } - export interface ListGitHubAccountTokenNamesOutput { - /** - * A list of names of connections to GitHub accounts. - */ - tokenNameList?: GitHubAccountTokenNameList; - /** - * If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent ListGitHubAccountTokenNames call to return the next set of names in the list. - */ - nextToken?: NextToken; - } - export interface ListOnPremisesInstancesInput { - /** - * The registration status of the on-premises instances: Deregistered: Include deregistered on-premises instances in the resulting list. Registered: Include registered on-premises instances in the resulting list. - */ - registrationStatus?: RegistrationStatus; - /** - * The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned. - */ - tagFilters?: TagFilterList; - /** - * An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list. - */ - nextToken?: NextToken; - } - export interface ListOnPremisesInstancesOutput { - /** - * The list of matching on-premises instance names. - */ - instanceNames?: InstanceNameList; - /** - * If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list on-premises instances call to return the next set of on-premises instances in the list. - */ - nextToken?: NextToken; - } - export type ListStateFilterAction = "include"|"exclude"|"ignore"|string; - export interface LoadBalancerInfo { - /** - * An array containing information about the load balancer in Elastic Load Balancing to use in a deployment. - */ - elbInfoList?: ELBInfoList; - } - export type LogTail = string; - export type Message = string; - export interface MinimumHealthyHosts { - /** - * The minimum healthy instance value. - */ - value?: MinimumHealthyHostsValue; - /** - * The minimum healthy instance type: HOST_COUNT: The minimum number of healthy instance as an absolute value. FLEET_PERCENT: The minimum number of healthy instance as a percentage of the total number of instance in the deployment. In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails. In a call to the get deployment configuration operation, CodeDeployDefault.OneAtATime will return a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy will try to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment still succeeds. For more information, see AWS CodeDeploy Instance Health in the AWS CodeDeploy User Guide. - */ - type?: MinimumHealthyHostsType; - } - export type MinimumHealthyHostsType = "HOST_COUNT"|"FLEET_PERCENT"|string; - export type MinimumHealthyHostsValue = number; - export type NextToken = string; - export type NullableBoolean = boolean; - export interface RegisterApplicationRevisionInput { - /** - * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account. - */ - applicationName: ApplicationName; - /** - * A comment about the revision. - */ - description?: Description; - /** - * Information about the application revision to register, including type and location. - */ - revision: RevisionLocation; - } - export interface RegisterOnPremisesInstanceInput { - /** - * The name of the on-premises instance to register. - */ - instanceName: InstanceName; - /** - * The ARN of the IAM session to associate with the on-premises instance. - */ - iamSessionArn?: IamSessionArn; - /** - * The ARN of the IAM user to associate with the on-premises instance. - */ - iamUserArn?: IamUserArn; - } - export type RegistrationStatus = "Registered"|"Deregistered"|string; - export interface RemoveTagsFromOnPremisesInstancesInput { - /** - * The tag key-value pairs to remove from the on-premises instances. - */ - tags: TagList; - /** - * The names of the on-premises instances from which to remove tags. - */ - instanceNames: InstanceNameList; - } - export type Repository = string; - export interface RevisionInfo { - /** - * Information about the location and type of an application revision. - */ - revisionLocation?: RevisionLocation; - /** - * Information about an application revision, including usage details and associated deployment groups. - */ - genericRevisionInfo?: GenericRevisionInfo; - } - export type RevisionInfoList = RevisionInfo[]; - export interface RevisionLocation { - /** - * The type of application revision: S3: An application revision stored in Amazon S3. GitHub: An application revision stored in GitHub. - */ - revisionType?: RevisionLocationType; - /** - * Information about the location of application artifacts stored in Amazon S3. - */ - s3Location?: S3Location; - /** - * Information about the location of application artifacts stored in GitHub. - */ - gitHubLocation?: GitHubLocation; - } - export type RevisionLocationList = RevisionLocation[]; - export type RevisionLocationType = "S3"|"GitHub"|string; - export type Role = string; - export interface RollbackInfo { - /** - * The ID of the deployment rollback. - */ - rollbackDeploymentId?: DeploymentId; - /** - * The deployment ID of the deployment that was underway and triggered a rollback deployment because it failed or was stopped. - */ - rollbackTriggeringDeploymentId?: DeploymentId; - /** - * Information describing the status of a deployment rollback; for example, whether the deployment can't be rolled back, is in progress, failed, or succeeded. - */ - rollbackMessage?: Description; - } - export type S3Bucket = string; - export type S3Key = string; - export interface S3Location { - /** - * The name of the Amazon S3 bucket where the application revision is stored. - */ - bucket?: S3Bucket; - /** - * The name of the Amazon S3 object that represents the bundled artifacts for the application revision. - */ - key?: S3Key; - /** - * The file type of the application revision. Must be one of the following: tar: A tar archive file. tgz: A compressed tar archive file. zip: A zip archive file. - */ - bundleType?: BundleType; - /** - * A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision. If the version is not specified, the system will use the most recent version by default. - */ - version?: VersionId; - /** - * The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision. If the ETag is not specified as an input parameter, ETag validation of the object will be skipped. - */ - eTag?: ETag; - } - export type ScriptName = string; - export interface SkipWaitTimeForInstanceTerminationInput { - /** - * The ID of the blue/green deployment for which you want to skip the instance termination wait time. - */ - deploymentId?: DeploymentId; - } - export type SortOrder = "ascending"|"descending"|string; - export interface StopDeploymentInput { - /** - * The unique ID of a deployment. - */ - deploymentId: DeploymentId; - /** - * Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision. - */ - autoRollbackEnabled?: NullableBoolean; - } - export interface StopDeploymentOutput { - /** - * The status of the stop deployment operation: Pending: The stop operation is pending. Succeeded: The stop operation was successful. - */ - status?: StopStatus; - /** - * An accompanying status message. - */ - statusMessage?: Message; - } - export type StopStatus = "Pending"|"Succeeded"|string; - export interface Tag { - /** - * The tag's key. - */ - Key?: Key; - /** - * The tag's value. - */ - Value?: Value; - } - export interface TagFilter { - /** - * The on-premises instance tag filter key. - */ - Key?: Key; - /** - * The on-premises instance tag filter value. - */ - Value?: Value; - /** - * The on-premises instance tag filter type: KEY_ONLY: Key only. VALUE_ONLY: Value only. KEY_AND_VALUE: Key and value. - */ - Type?: TagFilterType; - } - export type TagFilterList = TagFilter[]; - export type TagFilterType = "KEY_ONLY"|"VALUE_ONLY"|"KEY_AND_VALUE"|string; - export type TagList = Tag[]; - export interface TargetInstances { - /** - * The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. - */ - tagFilters?: EC2TagFilterList; - /** - * The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment. - */ - autoScalingGroups?: AutoScalingGroupNameList; - } - export interface TimeRange { - /** - * The start time of the time range. Specify null to leave the start time open-ended. - */ - start?: Timestamp; - /** - * The end time of the time range. Specify null to leave the end time open-ended. - */ - end?: Timestamp; - } - export type Timestamp = Date; - export interface TriggerConfig { - /** - * The name of the notification trigger. - */ - triggerName?: TriggerName; - /** - * The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent. - */ - triggerTargetArn?: TriggerTargetArn; - /** - * The event type or types for which notifications are triggered. - */ - triggerEvents?: TriggerEventTypeList; - } - export type TriggerConfigList = TriggerConfig[]; - export type TriggerEventType = "DeploymentStart"|"DeploymentSuccess"|"DeploymentFailure"|"DeploymentStop"|"DeploymentRollback"|"DeploymentReady"|"InstanceStart"|"InstanceSuccess"|"InstanceFailure"|"InstanceReady"|string; - export type TriggerEventTypeList = TriggerEventType[]; - export type TriggerName = string; - export type TriggerTargetArn = string; - export interface UpdateApplicationInput { - /** - * The current name of the application you want to change. - */ - applicationName?: ApplicationName; - /** - * The new name to give the application. - */ - newApplicationName?: ApplicationName; - } - export interface UpdateDeploymentGroupInput { - /** - * The application name corresponding to the deployment group to update. - */ - applicationName: ApplicationName; - /** - * The current name of the deployment group. - */ - currentDeploymentGroupName: DeploymentGroupName; - /** - * The new name of the deployment group, if you want to change it. - */ - newDeploymentGroupName?: DeploymentGroupName; - /** - * The replacement deployment configuration name to use, if you want to change it. - */ - deploymentConfigName?: DeploymentConfigName; - /** - * The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names. - */ - ec2TagFilters?: EC2TagFilterList; - /** - * The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names. - */ - onPremisesInstanceTagFilters?: TagFilterList; - /** - * The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them. To keep the Auto Scaling groups, enter their names. To remove Auto Scaling groups, do not enter any Auto Scaling group names. - */ - autoScalingGroups?: AutoScalingGroupNameList; - /** - * A replacement ARN for the service role, if you want to change it. - */ - serviceRoleArn?: Role; - /** - * Information about triggers to change when the deployment group is updated. For examples, see Modify Triggers in an AWS CodeDeploy Deployment Group in the AWS CodeDeploy User Guide. - */ - triggerConfigurations?: TriggerConfigList; - /** - * Information to add or change about Amazon CloudWatch alarms when the deployment group is updated. - */ - alarmConfiguration?: AlarmConfiguration; - /** - * Information for an automatic rollback configuration that is added or changed when a deployment group is updated. - */ - autoRollbackConfiguration?: AutoRollbackConfiguration; - /** - * Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer. - */ - deploymentStyle?: DeploymentStyle; - /** - * Information about blue/green deployment options for a deployment group. - */ - blueGreenDeploymentConfiguration?: BlueGreenDeploymentConfiguration; - /** - * Information about the load balancer used in a deployment. - */ - loadBalancerInfo?: LoadBalancerInfo; - } - export interface UpdateDeploymentGroupOutput { - /** - * If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the AWS account. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the AWS account. - */ - hooksNotCleanedUp?: AutoScalingGroupList; - } - export type Value = string; - export type VersionId = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-10-06"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CodeDeploy client. - */ - export import Types = CodeDeploy; -} -export = CodeDeploy; diff --git a/src/node_modules/aws-sdk/clients/codedeploy.js b/src/node_modules/aws-sdk/clients/codedeploy.js deleted file mode 100644 index 6adae60..0000000 --- a/src/node_modules/aws-sdk/clients/codedeploy.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['codedeploy'] = {}; -AWS.CodeDeploy = Service.defineService('codedeploy', ['2014-10-06']); -Object.defineProperty(apiLoader.services['codedeploy'], '2014-10-06', { - get: function get() { - var model = require('../apis/codedeploy-2014-10-06.min.json'); - model.paginators = require('../apis/codedeploy-2014-10-06.paginators.json').pagination; - model.waiters = require('../apis/codedeploy-2014-10-06.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeDeploy; diff --git a/src/node_modules/aws-sdk/clients/codepipeline.d.ts b/src/node_modules/aws-sdk/clients/codepipeline.d.ts deleted file mode 100644 index a349c0f..0000000 --- a/src/node_modules/aws-sdk/clients/codepipeline.d.ts +++ /dev/null @@ -1,1507 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CodePipeline extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CodePipeline.Types.ClientConfiguration) - config: Config & CodePipeline.Types.ClientConfiguration; - /** - * Returns information about a specified job and whether that job has been received by the job worker. Only used for custom actions. - */ - acknowledgeJob(params: CodePipeline.Types.AcknowledgeJobInput, callback?: (err: AWSError, data: CodePipeline.Types.AcknowledgeJobOutput) => void): Request; - /** - * Returns information about a specified job and whether that job has been received by the job worker. Only used for custom actions. - */ - acknowledgeJob(callback?: (err: AWSError, data: CodePipeline.Types.AcknowledgeJobOutput) => void): Request; - /** - * Confirms a job worker has received the specified job. Only used for partner actions. - */ - acknowledgeThirdPartyJob(params: CodePipeline.Types.AcknowledgeThirdPartyJobInput, callback?: (err: AWSError, data: CodePipeline.Types.AcknowledgeThirdPartyJobOutput) => void): Request; - /** - * Confirms a job worker has received the specified job. Only used for partner actions. - */ - acknowledgeThirdPartyJob(callback?: (err: AWSError, data: CodePipeline.Types.AcknowledgeThirdPartyJobOutput) => void): Request; - /** - * Creates a new custom action that can be used in all pipelines associated with the AWS account. Only used for custom actions. - */ - createCustomActionType(params: CodePipeline.Types.CreateCustomActionTypeInput, callback?: (err: AWSError, data: CodePipeline.Types.CreateCustomActionTypeOutput) => void): Request; - /** - * Creates a new custom action that can be used in all pipelines associated with the AWS account. Only used for custom actions. - */ - createCustomActionType(callback?: (err: AWSError, data: CodePipeline.Types.CreateCustomActionTypeOutput) => void): Request; - /** - * Creates a pipeline. - */ - createPipeline(params: CodePipeline.Types.CreatePipelineInput, callback?: (err: AWSError, data: CodePipeline.Types.CreatePipelineOutput) => void): Request; - /** - * Creates a pipeline. - */ - createPipeline(callback?: (err: AWSError, data: CodePipeline.Types.CreatePipelineOutput) => void): Request; - /** - * Marks a custom action as deleted. PollForJobs for the custom action will fail after the action is marked for deletion. Only used for custom actions. You cannot recreate a custom action after it has been deleted unless you increase the version number of the action. - */ - deleteCustomActionType(params: CodePipeline.Types.DeleteCustomActionTypeInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Marks a custom action as deleted. PollForJobs for the custom action will fail after the action is marked for deletion. Only used for custom actions. You cannot recreate a custom action after it has been deleted unless you increase the version number of the action. - */ - deleteCustomActionType(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified pipeline. - */ - deletePipeline(params: CodePipeline.Types.DeletePipelineInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified pipeline. - */ - deletePipeline(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline. - */ - disableStageTransition(params: CodePipeline.Types.DisableStageTransitionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline. - */ - disableStageTransition(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables artifacts in a pipeline to transition to a stage in a pipeline. - */ - enableStageTransition(params: CodePipeline.Types.EnableStageTransitionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables artifacts in a pipeline to transition to a stage in a pipeline. - */ - enableStageTransition(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Returns information about a job. Only used for custom actions. When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action. - */ - getJobDetails(params: CodePipeline.Types.GetJobDetailsInput, callback?: (err: AWSError, data: CodePipeline.Types.GetJobDetailsOutput) => void): Request; - /** - * Returns information about a job. Only used for custom actions. When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action. - */ - getJobDetails(callback?: (err: AWSError, data: CodePipeline.Types.GetJobDetailsOutput) => void): Request; - /** - * Returns the metadata, structure, stages, and actions of a pipeline. Can be used to return the entire structure of a pipeline in JSON format, which can then be modified and used to update the pipeline structure with UpdatePipeline. - */ - getPipeline(params: CodePipeline.Types.GetPipelineInput, callback?: (err: AWSError, data: CodePipeline.Types.GetPipelineOutput) => void): Request; - /** - * Returns the metadata, structure, stages, and actions of a pipeline. Can be used to return the entire structure of a pipeline in JSON format, which can then be modified and used to update the pipeline structure with UpdatePipeline. - */ - getPipeline(callback?: (err: AWSError, data: CodePipeline.Types.GetPipelineOutput) => void): Request; - /** - * Returns information about an execution of a pipeline, including details about artifacts, the pipeline execution ID, and the name, version, and status of the pipeline. - */ - getPipelineExecution(params: CodePipeline.Types.GetPipelineExecutionInput, callback?: (err: AWSError, data: CodePipeline.Types.GetPipelineExecutionOutput) => void): Request; - /** - * Returns information about an execution of a pipeline, including details about artifacts, the pipeline execution ID, and the name, version, and status of the pipeline. - */ - getPipelineExecution(callback?: (err: AWSError, data: CodePipeline.Types.GetPipelineExecutionOutput) => void): Request; - /** - * Returns information about the state of a pipeline, including the stages and actions. - */ - getPipelineState(params: CodePipeline.Types.GetPipelineStateInput, callback?: (err: AWSError, data: CodePipeline.Types.GetPipelineStateOutput) => void): Request; - /** - * Returns information about the state of a pipeline, including the stages and actions. - */ - getPipelineState(callback?: (err: AWSError, data: CodePipeline.Types.GetPipelineStateOutput) => void): Request; - /** - * Requests the details of a job for a third party action. Only used for partner actions. When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action. - */ - getThirdPartyJobDetails(params: CodePipeline.Types.GetThirdPartyJobDetailsInput, callback?: (err: AWSError, data: CodePipeline.Types.GetThirdPartyJobDetailsOutput) => void): Request; - /** - * Requests the details of a job for a third party action. Only used for partner actions. When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action. - */ - getThirdPartyJobDetails(callback?: (err: AWSError, data: CodePipeline.Types.GetThirdPartyJobDetailsOutput) => void): Request; - /** - * Gets a summary of all AWS CodePipeline action types associated with your account. - */ - listActionTypes(params: CodePipeline.Types.ListActionTypesInput, callback?: (err: AWSError, data: CodePipeline.Types.ListActionTypesOutput) => void): Request; - /** - * Gets a summary of all AWS CodePipeline action types associated with your account. - */ - listActionTypes(callback?: (err: AWSError, data: CodePipeline.Types.ListActionTypesOutput) => void): Request; - /** - * Gets a summary of the most recent executions for a pipeline. - */ - listPipelineExecutions(params: CodePipeline.Types.ListPipelineExecutionsInput, callback?: (err: AWSError, data: CodePipeline.Types.ListPipelineExecutionsOutput) => void): Request; - /** - * Gets a summary of the most recent executions for a pipeline. - */ - listPipelineExecutions(callback?: (err: AWSError, data: CodePipeline.Types.ListPipelineExecutionsOutput) => void): Request; - /** - * Gets a summary of all of the pipelines associated with your account. - */ - listPipelines(params: CodePipeline.Types.ListPipelinesInput, callback?: (err: AWSError, data: CodePipeline.Types.ListPipelinesOutput) => void): Request; - /** - * Gets a summary of all of the pipelines associated with your account. - */ - listPipelines(callback?: (err: AWSError, data: CodePipeline.Types.ListPipelinesOutput) => void): Request; - /** - * Returns information about any jobs for AWS CodePipeline to act upon. When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action. - */ - pollForJobs(params: CodePipeline.Types.PollForJobsInput, callback?: (err: AWSError, data: CodePipeline.Types.PollForJobsOutput) => void): Request; - /** - * Returns information about any jobs for AWS CodePipeline to act upon. When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action. - */ - pollForJobs(callback?: (err: AWSError, data: CodePipeline.Types.PollForJobsOutput) => void): Request; - /** - * Determines whether there are any third party jobs for a job worker to act on. Only used for partner actions. When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. - */ - pollForThirdPartyJobs(params: CodePipeline.Types.PollForThirdPartyJobsInput, callback?: (err: AWSError, data: CodePipeline.Types.PollForThirdPartyJobsOutput) => void): Request; - /** - * Determines whether there are any third party jobs for a job worker to act on. Only used for partner actions. When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. - */ - pollForThirdPartyJobs(callback?: (err: AWSError, data: CodePipeline.Types.PollForThirdPartyJobsOutput) => void): Request; - /** - * Provides information to AWS CodePipeline about new revisions to a source. - */ - putActionRevision(params: CodePipeline.Types.PutActionRevisionInput, callback?: (err: AWSError, data: CodePipeline.Types.PutActionRevisionOutput) => void): Request; - /** - * Provides information to AWS CodePipeline about new revisions to a source. - */ - putActionRevision(callback?: (err: AWSError, data: CodePipeline.Types.PutActionRevisionOutput) => void): Request; - /** - * Provides the response to a manual approval request to AWS CodePipeline. Valid responses include Approved and Rejected. - */ - putApprovalResult(params: CodePipeline.Types.PutApprovalResultInput, callback?: (err: AWSError, data: CodePipeline.Types.PutApprovalResultOutput) => void): Request; - /** - * Provides the response to a manual approval request to AWS CodePipeline. Valid responses include Approved and Rejected. - */ - putApprovalResult(callback?: (err: AWSError, data: CodePipeline.Types.PutApprovalResultOutput) => void): Request; - /** - * Represents the failure of a job as returned to the pipeline by a job worker. Only used for custom actions. - */ - putJobFailureResult(params: CodePipeline.Types.PutJobFailureResultInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents the failure of a job as returned to the pipeline by a job worker. Only used for custom actions. - */ - putJobFailureResult(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents the success of a job as returned to the pipeline by a job worker. Only used for custom actions. - */ - putJobSuccessResult(params: CodePipeline.Types.PutJobSuccessResultInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents the success of a job as returned to the pipeline by a job worker. Only used for custom actions. - */ - putJobSuccessResult(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents the failure of a third party job as returned to the pipeline by a job worker. Only used for partner actions. - */ - putThirdPartyJobFailureResult(params: CodePipeline.Types.PutThirdPartyJobFailureResultInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents the failure of a third party job as returned to the pipeline by a job worker. Only used for partner actions. - */ - putThirdPartyJobFailureResult(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents the success of a third party job as returned to the pipeline by a job worker. Only used for partner actions. - */ - putThirdPartyJobSuccessResult(params: CodePipeline.Types.PutThirdPartyJobSuccessResultInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Represents the success of a third party job as returned to the pipeline by a job worker. Only used for partner actions. - */ - putThirdPartyJobSuccessResult(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resumes the pipeline execution by retrying the last failed actions in a stage. - */ - retryStageExecution(params: CodePipeline.Types.RetryStageExecutionInput, callback?: (err: AWSError, data: CodePipeline.Types.RetryStageExecutionOutput) => void): Request; - /** - * Resumes the pipeline execution by retrying the last failed actions in a stage. - */ - retryStageExecution(callback?: (err: AWSError, data: CodePipeline.Types.RetryStageExecutionOutput) => void): Request; - /** - * Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location specified as part of the pipeline. - */ - startPipelineExecution(params: CodePipeline.Types.StartPipelineExecutionInput, callback?: (err: AWSError, data: CodePipeline.Types.StartPipelineExecutionOutput) => void): Request; - /** - * Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location specified as part of the pipeline. - */ - startPipelineExecution(callback?: (err: AWSError, data: CodePipeline.Types.StartPipelineExecutionOutput) => void): Request; - /** - * Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure in conjunction with UpdatePipeline to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by 1. - */ - updatePipeline(params: CodePipeline.Types.UpdatePipelineInput, callback?: (err: AWSError, data: CodePipeline.Types.UpdatePipelineOutput) => void): Request; - /** - * Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure in conjunction with UpdatePipeline to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by 1. - */ - updatePipeline(callback?: (err: AWSError, data: CodePipeline.Types.UpdatePipelineOutput) => void): Request; -} -declare namespace CodePipeline { - export interface AWSSessionCredentials { - /** - * The access key for the session. - */ - accessKeyId: AccessKeyId; - /** - * The secret access key for the session. - */ - secretAccessKey: SecretAccessKey; - /** - * The token for the session. - */ - sessionToken: SessionToken; - } - export type AccessKeyId = string; - export type AccountId = string; - export interface AcknowledgeJobInput { - /** - * The unique system-generated ID of the job for which you want to confirm receipt. - */ - jobId: JobId; - /** - * A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Get this number from the response of the PollForJobs request that returned this job. - */ - nonce: Nonce; - } - export interface AcknowledgeJobOutput { - /** - * Whether the job worker has received the specified job. - */ - status?: JobStatus; - } - export interface AcknowledgeThirdPartyJobInput { - /** - * The unique system-generated ID of the job. - */ - jobId: ThirdPartyJobId; - /** - * A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Get this number from the response to a GetThirdPartyJobDetails request. - */ - nonce: Nonce; - /** - * The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. - */ - clientToken: ClientToken; - } - export interface AcknowledgeThirdPartyJobOutput { - /** - * The status information for the third party job, if any. - */ - status?: JobStatus; - } - export type ActionCategory = "Source"|"Build"|"Deploy"|"Test"|"Invoke"|"Approval"|string; - export interface ActionConfiguration { - /** - * The configuration data for the action. - */ - configuration?: ActionConfigurationMap; - } - export type ActionConfigurationKey = string; - export type ActionConfigurationMap = {[key: string]: ActionConfigurationValue}; - export interface ActionConfigurationProperty { - /** - * The name of the action configuration property. - */ - name: ActionConfigurationKey; - /** - * Whether the configuration property is a required value. - */ - required: Boolean; - /** - * Whether the configuration property is a key. - */ - key: Boolean; - /** - * Whether the configuration property is secret. Secrets are hidden from all calls except for GetJobDetails, GetThirdPartyJobDetails, PollForJobs, and PollForThirdPartyJobs. When updating a pipeline, passing * * * * * without changing any other values of the action will preserve the prior value of the secret. - */ - secret: Boolean; - /** - * Indicates that the proprety will be used in conjunction with PollForJobs. When creating a custom action, an action can have up to one queryable property. If it has one, that property must be both required and not secret. If you create a pipeline with a custom action type, and that custom action contains a queryable property, the value for that configuration property is subject to additional restrictions. The value must be less than or equal to twenty (20) characters. The value can contain only alphanumeric characters, underscores, and hyphens. - */ - queryable?: Boolean; - /** - * The description of the action configuration property that will be displayed to users. - */ - description?: Description; - /** - * The type of the configuration property. - */ - type?: ActionConfigurationPropertyType; - } - export type ActionConfigurationPropertyList = ActionConfigurationProperty[]; - export type ActionConfigurationPropertyType = "String"|"Number"|"Boolean"|string; - export type ActionConfigurationQueryableValue = string; - export type ActionConfigurationValue = string; - export interface ActionContext { - /** - * The name of the action within the context of a job. - */ - name?: ActionName; - } - export interface ActionDeclaration { - /** - * The action declaration's name. - */ - name: ActionName; - /** - * The configuration information for the action type. - */ - actionTypeId: ActionTypeId; - /** - * The order in which actions are run. - */ - runOrder?: ActionRunOrder; - /** - * The action declaration's configuration. - */ - configuration?: ActionConfigurationMap; - /** - * The name or ID of the result of the action declaration, such as a test or build artifact. - */ - outputArtifacts?: OutputArtifactList; - /** - * The name or ID of the artifact consumed by the action, such as a test or build artifact. - */ - inputArtifacts?: InputArtifactList; - /** - * The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline. - */ - roleArn?: RoleArn; - } - export interface ActionExecution { - /** - * The status of the action, or for a completed action, the last status of the action. - */ - status?: ActionExecutionStatus; - /** - * A summary of the run of the action. - */ - summary?: ExecutionSummary; - /** - * The last status change of the action. - */ - lastStatusChange?: Timestamp; - /** - * The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState command and is used to validate that the approval request corresponding to this token is still valid. - */ - token?: ActionExecutionToken; - /** - * The ARN of the user who last changed the pipeline. - */ - lastUpdatedBy?: LastUpdatedBy; - /** - * The external ID of the run of the action. - */ - externalExecutionId?: ExecutionId; - /** - * The URL of a resource external to AWS that will be used when running the action, for example an external repository URL. - */ - externalExecutionUrl?: Url; - /** - * A percentage of completeness of the action as it runs. - */ - percentComplete?: Percentage; - /** - * The details of an error returned by a URL external to AWS. - */ - errorDetails?: ErrorDetails; - } - export type ActionExecutionStatus = "InProgress"|"Succeeded"|"Failed"|string; - export type ActionExecutionToken = string; - export type ActionName = string; - export type ActionOwner = "AWS"|"ThirdParty"|"Custom"|string; - export type ActionProvider = string; - export interface ActionRevision { - /** - * The system-generated unique ID that identifies the revision number of the action. - */ - revisionId: Revision; - /** - * The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp. - */ - revisionChangeId: RevisionChangeIdentifier; - /** - * The date and time when the most recent version of the action was created, in timestamp format. - */ - created: Timestamp; - } - export type ActionRunOrder = number; - export interface ActionState { - /** - * The name of the action. - */ - actionName?: ActionName; - /** - * Represents information about the version (or revision) of an action. - */ - currentRevision?: ActionRevision; - /** - * Represents information about the run of an action. - */ - latestExecution?: ActionExecution; - /** - * A URL link for more information about the state of the action, such as a deployment group details page. - */ - entityUrl?: Url; - /** - * A URL link for more information about the revision, such as a commit details page. - */ - revisionUrl?: Url; - } - export type ActionStateList = ActionState[]; - export interface ActionType { - /** - * Represents information about an action type. - */ - id: ActionTypeId; - /** - * The settings for the action type. - */ - settings?: ActionTypeSettings; - /** - * The configuration properties for the action type. - */ - actionConfigurationProperties?: ActionConfigurationPropertyList; - /** - * The details of the input artifact for the action, such as its commit ID. - */ - inputArtifactDetails: ArtifactDetails; - /** - * The details of the output artifact of the action, such as its commit ID. - */ - outputArtifactDetails: ArtifactDetails; - } - export interface ActionTypeId { - /** - * A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the values below. - */ - category: ActionCategory; - /** - * The creator of the action being called. - */ - owner: ActionOwner; - /** - * The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of AWS CodeDeploy, which would be specified as CodeDeploy. - */ - provider: ActionProvider; - /** - * A string that identifies the action type. - */ - version: Version; - } - export type ActionTypeList = ActionType[]; - export interface ActionTypeSettings { - /** - * The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service. - */ - thirdPartyConfigurationUrl?: Url; - /** - * The URL returned to the AWS CodePipeline console that provides a deep link to the resources of the external system, such as the configuration page for an AWS CodeDeploy deployment group. This link is provided as part of the action display within the pipeline. - */ - entityUrlTemplate?: UrlTemplate; - /** - * The URL returned to the AWS CodePipeline console that contains a link to the top-level landing page for the external system, such as console page for AWS CodeDeploy. This link is shown on the pipeline view page in the AWS CodePipeline console and provides a link to the execution entity of the external action. - */ - executionUrlTemplate?: UrlTemplate; - /** - * The URL returned to the AWS CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action. - */ - revisionUrlTemplate?: UrlTemplate; - } - export interface ApprovalResult { - /** - * The summary of the current status of the approval request. - */ - summary: ApprovalSummary; - /** - * The response submitted by a reviewer assigned to an approval action request. - */ - status: ApprovalStatus; - } - export type ApprovalStatus = "Approved"|"Rejected"|string; - export type ApprovalSummary = string; - export type ApprovalToken = string; - export interface Artifact { - /** - * The artifact's name. - */ - name?: ArtifactName; - /** - * The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3). - */ - revision?: Revision; - /** - * The location of an artifact. - */ - location?: ArtifactLocation; - } - export interface ArtifactDetails { - /** - * The minimum number of artifacts allowed for the action type. - */ - minimumCount: MinimumArtifactCount; - /** - * The maximum number of artifacts allowed for the action type. - */ - maximumCount: MaximumArtifactCount; - } - export type ArtifactList = Artifact[]; - export interface ArtifactLocation { - /** - * The type of artifact in the location. - */ - type?: ArtifactLocationType; - /** - * The Amazon S3 bucket that contains the artifact. - */ - s3Location?: S3ArtifactLocation; - } - export type ArtifactLocationType = "S3"|string; - export type ArtifactName = string; - export interface ArtifactRevision { - /** - * The name of an artifact. This name might be system-generated, such as "MyApp", or might be defined by the user when an action is created. - */ - name?: ArtifactName; - /** - * The revision ID of the artifact. - */ - revisionId?: Revision; - /** - * An additional identifier for a revision, such as a commit date or, for artifacts stored in Amazon S3 buckets, the ETag value. - */ - revisionChangeIdentifier?: RevisionChangeIdentifier; - /** - * Summary information about the most recent revision of the artifact. For GitHub and AWS CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a codepipeline-artifact-revision-summary key specified in the object metadata. - */ - revisionSummary?: RevisionSummary; - /** - * The date and time when the most recent revision of the artifact was created, in timestamp format. - */ - created?: Timestamp; - /** - * The commit ID for the artifact revision. For artifacts stored in GitHub or AWS CodeCommit repositories, the commit ID is linked to a commit details page. - */ - revisionUrl?: Url; - } - export type ArtifactRevisionList = ArtifactRevision[]; - export interface ArtifactStore { - /** - * The type of the artifact store, such as S3. - */ - type: ArtifactStoreType; - /** - * The Amazon S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder within the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any Amazon S3 bucket in the same AWS Region as the pipeline to store your pipeline artifacts. - */ - location: ArtifactStoreLocation; - /** - * The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used. - */ - encryptionKey?: EncryptionKey; - } - export type ArtifactStoreLocation = string; - export type ArtifactStoreType = "S3"|string; - export interface BlockerDeclaration { - /** - * Reserved for future use. - */ - name: BlockerName; - /** - * Reserved for future use. - */ - type: BlockerType; - } - export type BlockerName = string; - export type BlockerType = "Schedule"|string; - export type Boolean = boolean; - export type ClientId = string; - export type ClientToken = string; - export type Code = string; - export type ContinuationToken = string; - export interface CreateCustomActionTypeInput { - /** - * The category of the custom action, such as a build action or a test action. Although Source and Approval are listed as valid values, they are not currently functional. These values are reserved for future use. - */ - category: ActionCategory; - /** - * The provider of the service used in the custom action, such as AWS CodeDeploy. - */ - provider: ActionProvider; - /** - * The version identifier of the custom action. - */ - version: Version; - /** - * Returns information about the settings for an action type. - */ - settings?: ActionTypeSettings; - /** - * The configuration properties for the custom action. You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline. - */ - configurationProperties?: ActionConfigurationPropertyList; - /** - * The details of the input artifact for the action, such as its commit ID. - */ - inputArtifactDetails: ArtifactDetails; - /** - * The details of the output artifact of the action, such as its commit ID. - */ - outputArtifactDetails: ArtifactDetails; - } - export interface CreateCustomActionTypeOutput { - /** - * Returns information about the details of an action type. - */ - actionType: ActionType; - } - export interface CreatePipelineInput { - /** - * Represents the structure of actions and stages to be performed in the pipeline. - */ - pipeline: PipelineDeclaration; - } - export interface CreatePipelineOutput { - /** - * Represents the structure of actions and stages to be performed in the pipeline. - */ - pipeline?: PipelineDeclaration; - } - export interface CurrentRevision { - /** - * The revision ID of the current version of an artifact. - */ - revision: Revision; - /** - * The change identifier for the current revision. - */ - changeIdentifier: RevisionChangeIdentifier; - /** - * The date and time when the most recent revision of the artifact was created, in timestamp format. - */ - created?: Time; - /** - * The summary of the most recent revision of the artifact. - */ - revisionSummary?: RevisionSummary; - } - export interface DeleteCustomActionTypeInput { - /** - * The category of the custom action that you want to delete, such as source or deploy. - */ - category: ActionCategory; - /** - * The provider of the service used in the custom action, such as AWS CodeDeploy. - */ - provider: ActionProvider; - /** - * The version of the custom action to delete. - */ - version: Version; - } - export interface DeletePipelineInput { - /** - * The name of the pipeline to be deleted. - */ - name: PipelineName; - } - export type Description = string; - export interface DisableStageTransitionInput { - /** - * The name of the pipeline in which you want to disable the flow of artifacts from one stage to another. - */ - pipelineName: PipelineName; - /** - * The name of the stage where you want to disable the inbound or outbound transition of artifacts. - */ - stageName: StageName; - /** - * Specifies whether artifacts will be prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound). - */ - transitionType: StageTransitionType; - /** - * The reason given to the user why a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI. - */ - reason: DisabledReason; - } - export type DisabledReason = string; - export interface EnableStageTransitionInput { - /** - * The name of the pipeline in which you want to enable the flow of artifacts from one stage to another. - */ - pipelineName: PipelineName; - /** - * The name of the stage where you want to enable the transition of artifacts, either into the stage (inbound) or from that stage to the next stage (outbound). - */ - stageName: StageName; - /** - * Specifies whether artifacts will be allowed to enter the stage and be processed by the actions in that stage (inbound) or whether already-processed artifacts will be allowed to transition to the next stage (outbound). - */ - transitionType: StageTransitionType; - } - export type Enabled = boolean; - export interface EncryptionKey { - /** - * The ID used to identify the key. For an AWS KMS key, this is the key ID or key ARN. - */ - id: EncryptionKeyId; - /** - * The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'. - */ - type: EncryptionKeyType; - } - export type EncryptionKeyId = string; - export type EncryptionKeyType = "KMS"|string; - export interface ErrorDetails { - /** - * The system ID or error number code of the error. - */ - code?: Code; - /** - * The text of the error message. - */ - message?: Message; - } - export interface ExecutionDetails { - /** - * The summary of the current status of the actions. - */ - summary?: ExecutionSummary; - /** - * The system-generated unique ID of this action used to identify this job worker in any external systems, such as AWS CodeDeploy. - */ - externalExecutionId?: ExecutionId; - /** - * The percentage of work completed on the action, represented on a scale of zero to one hundred percent. - */ - percentComplete?: Percentage; - } - export type ExecutionId = string; - export type ExecutionSummary = string; - export interface FailureDetails { - /** - * The type of the failure. - */ - type: FailureType; - /** - * The message about the failure. - */ - message: Message; - /** - * The external ID of the run of the action that failed. - */ - externalExecutionId?: ExecutionId; - } - export type FailureType = "JobFailed"|"ConfigurationError"|"PermissionError"|"RevisionOutOfSync"|"RevisionUnavailable"|"SystemUnavailable"|string; - export interface GetJobDetailsInput { - /** - * The unique system-generated ID for the job. - */ - jobId: JobId; - } - export interface GetJobDetailsOutput { - /** - * The details of the job. If AWSSessionCredentials is used, a long-running job can call GetJobDetails again to obtain new credentials. - */ - jobDetails?: JobDetails; - } - export interface GetPipelineExecutionInput { - /** - * The name of the pipeline about which you want to get execution details. - */ - pipelineName: PipelineName; - /** - * The ID of the pipeline execution about which you want to get execution details. - */ - pipelineExecutionId: PipelineExecutionId; - } - export interface GetPipelineExecutionOutput { - /** - * Represents information about the execution of a pipeline. - */ - pipelineExecution?: PipelineExecution; - } - export interface GetPipelineInput { - /** - * The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account. - */ - name: PipelineName; - /** - * The version number of the pipeline. If you do not specify a version, defaults to the most current version. - */ - version?: PipelineVersion; - } - export interface GetPipelineOutput { - /** - * Represents the structure of actions and stages to be performed in the pipeline. - */ - pipeline?: PipelineDeclaration; - } - export interface GetPipelineStateInput { - /** - * The name of the pipeline about which you want to get information. - */ - name: PipelineName; - } - export interface GetPipelineStateOutput { - /** - * The name of the pipeline for which you want to get the state. - */ - pipelineName?: PipelineName; - /** - * The version number of the pipeline. A newly-created pipeline is always assigned a version number of 1. - */ - pipelineVersion?: PipelineVersion; - /** - * A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data. - */ - stageStates?: StageStateList; - /** - * The date and time the pipeline was created, in timestamp format. - */ - created?: Timestamp; - /** - * The date and time the pipeline was last updated, in timestamp format. - */ - updated?: Timestamp; - } - export interface GetThirdPartyJobDetailsInput { - /** - * The unique system-generated ID used for identifying the job. - */ - jobId: ThirdPartyJobId; - /** - * The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. - */ - clientToken: ClientToken; - } - export interface GetThirdPartyJobDetailsOutput { - /** - * The details of the job, including any protected values defined for the job. - */ - jobDetails?: ThirdPartyJobDetails; - } - export interface InputArtifact { - /** - * The name of the artifact to be worked on, for example, "My App". The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions. - */ - name: ArtifactName; - } - export type InputArtifactList = InputArtifact[]; - export interface Job { - /** - * The unique system-generated ID of the job. - */ - id?: JobId; - /** - * Additional data about a job. - */ - data?: JobData; - /** - * A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request. - */ - nonce?: Nonce; - /** - * The ID of the AWS account to use when performing the job. - */ - accountId?: AccountId; - } - export interface JobData { - /** - * Represents information about an action type. - */ - actionTypeId?: ActionTypeId; - /** - * Represents information about an action configuration. - */ - actionConfiguration?: ActionConfiguration; - /** - * Represents information about a pipeline to a job worker. - */ - pipelineContext?: PipelineContext; - /** - * The artifact supplied to the job. - */ - inputArtifacts?: ArtifactList; - /** - * The output of the job. - */ - outputArtifacts?: ArtifactList; - /** - * Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline. - */ - artifactCredentials?: AWSSessionCredentials; - /** - * A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously. - */ - continuationToken?: ContinuationToken; - /** - * Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. - */ - encryptionKey?: EncryptionKey; - } - export interface JobDetails { - /** - * The unique system-generated ID of the job. - */ - id?: JobId; - /** - * Represents additional information about a job required for a job worker to complete the job. - */ - data?: JobData; - /** - * The AWS account ID associated with the job. - */ - accountId?: AccountId; - } - export type JobId = string; - export type JobList = Job[]; - export type JobStatus = "Created"|"Queued"|"Dispatched"|"InProgress"|"TimedOut"|"Succeeded"|"Failed"|string; - export type LastChangedAt = Date; - export type LastChangedBy = string; - export type LastUpdatedBy = string; - export interface ListActionTypesInput { - /** - * Filters the list of action types to those created by a specified entity. - */ - actionOwnerFilter?: ActionOwner; - /** - * An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list. - */ - nextToken?: NextToken; - } - export interface ListActionTypesOutput { - /** - * Provides details of the action types. - */ - actionTypes: ActionTypeList; - /** - * If the amount of returned information is significantly large, an identifier is also returned which can be used in a subsequent list action types call to return the next set of action types in the list. - */ - nextToken?: NextToken; - } - export interface ListPipelineExecutionsInput { - /** - * The name of the pipeline for which you want to get execution summary information. - */ - pipelineName: PipelineName; - /** - * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. The available pipeline execution history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100. - */ - maxResults?: MaxResults; - /** - * The token that was returned from the previous list pipeline executions call, which can be used to return the next set of pipeline executions in the list. - */ - nextToken?: NextToken; - } - export interface ListPipelineExecutionsOutput { - /** - * A list of executions in the history of a pipeline. - */ - pipelineExecutionSummaries?: PipelineExecutionSummaryList; - /** - * A token that can be used in the next list pipeline executions call to return the next set of pipeline executions. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned. - */ - nextToken?: NextToken; - } - export interface ListPipelinesInput { - /** - * An identifier that was returned from the previous list pipelines call, which can be used to return the next set of pipelines in the list. - */ - nextToken?: NextToken; - } - export interface ListPipelinesOutput { - /** - * The list of pipelines. - */ - pipelines?: PipelineList; - /** - * If the amount of returned information is significantly large, an identifier is also returned which can be used in a subsequent list pipelines call to return the next set of pipelines in the list. - */ - nextToken?: NextToken; - } - export type MaxBatchSize = number; - export type MaxResults = number; - export type MaximumArtifactCount = number; - export type Message = string; - export type MinimumArtifactCount = number; - export type NextToken = string; - export type Nonce = string; - export interface OutputArtifact { - /** - * The name of the output of an artifact, such as "My App". The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions. Output artifact names must be unique within a pipeline. - */ - name: ArtifactName; - } - export type OutputArtifactList = OutputArtifact[]; - export type Percentage = number; - export interface PipelineContext { - /** - * The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account. - */ - pipelineName?: PipelineName; - /** - * The stage of the pipeline. - */ - stage?: StageContext; - /** - * - */ - action?: ActionContext; - } - export interface PipelineDeclaration { - /** - * The name of the action to be performed. - */ - name: PipelineName; - /** - * The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform actions with no actionRoleArn, or to use to assume roles for actions with an actionRoleArn. - */ - roleArn: RoleArn; - /** - * Represents the context of an action within the stage of a pipeline to a job worker. - */ - artifactStore: ArtifactStore; - /** - * The stage in which to perform the action. - */ - stages: PipelineStageDeclarationList; - /** - * The version number of the pipeline. A new pipeline always has a version number of 1. This number is automatically incremented when a pipeline is updated. - */ - version?: PipelineVersion; - } - export interface PipelineExecution { - /** - * The name of the pipeline that was executed. - */ - pipelineName?: PipelineName; - /** - * The version number of the pipeline that was executed. - */ - pipelineVersion?: PipelineVersion; - /** - * The ID of the pipeline execution. - */ - pipelineExecutionId?: PipelineExecutionId; - /** - * The status of the pipeline execution. InProgress: The pipeline execution is currently running. Succeeded: The pipeline execution completed successfully. Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution caught up and continued through the pipeline instead. Failed: The pipeline execution did not complete successfully. - */ - status?: PipelineExecutionStatus; - /** - * A list of ArtifactRevision objects included in a pipeline execution. - */ - artifactRevisions?: ArtifactRevisionList; - } - export type PipelineExecutionId = string; - export type PipelineExecutionStatus = "InProgress"|"Succeeded"|"Superseded"|"Failed"|string; - export interface PipelineExecutionSummary { - /** - * The ID of the pipeline execution. - */ - pipelineExecutionId?: PipelineExecutionId; - /** - * The status of the pipeline execution. InProgress: The pipeline execution is currently running. Succeeded: The pipeline execution completed successfully. Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution caught up and continued through the pipeline instead. Failed: The pipeline execution did not complete successfully. - */ - status?: PipelineExecutionStatus; - /** - * The date and time when the pipeline execution began, in timestamp format. - */ - startTime?: Timestamp; - /** - * The date and time of the last change to the pipeline execution, in timestamp format. - */ - lastUpdateTime?: Timestamp; - } - export type PipelineExecutionSummaryList = PipelineExecutionSummary[]; - export type PipelineList = PipelineSummary[]; - export type PipelineName = string; - export type PipelineStageDeclarationList = StageDeclaration[]; - export interface PipelineSummary { - /** - * The name of the pipeline. - */ - name?: PipelineName; - /** - * The version number of the pipeline. - */ - version?: PipelineVersion; - /** - * The date and time the pipeline was created, in timestamp format. - */ - created?: Timestamp; - /** - * The date and time of the last update to the pipeline, in timestamp format. - */ - updated?: Timestamp; - } - export type PipelineVersion = number; - export interface PollForJobsInput { - /** - * Represents information about an action type. - */ - actionTypeId: ActionTypeId; - /** - * The maximum number of jobs to return in a poll for jobs call. - */ - maxBatchSize?: MaxBatchSize; - /** - * A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value will be returned. - */ - queryParam?: QueryParamMap; - } - export interface PollForJobsOutput { - /** - * Information about the jobs to take action on. - */ - jobs?: JobList; - } - export interface PollForThirdPartyJobsInput { - /** - * Represents information about an action type. - */ - actionTypeId: ActionTypeId; - /** - * The maximum number of jobs to return in a poll for jobs call. - */ - maxBatchSize?: MaxBatchSize; - } - export interface PollForThirdPartyJobsOutput { - /** - * Information about the jobs to take action on. - */ - jobs?: ThirdPartyJobList; - } - export interface PutActionRevisionInput { - /** - * The name of the pipeline that will start processing the revision to the source. - */ - pipelineName: PipelineName; - /** - * The name of the stage that contains the action that will act upon the revision. - */ - stageName: StageName; - /** - * The name of the action that will process the revision. - */ - actionName: ActionName; - /** - * Represents information about the version (or revision) of an action. - */ - actionRevision: ActionRevision; - } - export interface PutActionRevisionOutput { - /** - * Indicates whether the artifact revision was previously used in an execution of the specified pipeline. - */ - newRevision?: Boolean; - /** - * The ID of the current workflow state of the pipeline. - */ - pipelineExecutionId?: PipelineExecutionId; - } - export interface PutApprovalResultInput { - /** - * The name of the pipeline that contains the action. - */ - pipelineName: PipelineName; - /** - * The name of the stage that contains the action. - */ - stageName: StageName; - /** - * The name of the action for which approval is requested. - */ - actionName: ActionName; - /** - * Represents information about the result of the approval request. - */ - result: ApprovalResult; - /** - * The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState action and is used to validate that the approval request corresponding to this token is still valid. - */ - token: ApprovalToken; - } - export interface PutApprovalResultOutput { - /** - * The timestamp showing when the approval or rejection was submitted. - */ - approvedAt?: Timestamp; - } - export interface PutJobFailureResultInput { - /** - * The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs. - */ - jobId: JobId; - /** - * The details about the failure of a job. - */ - failureDetails: FailureDetails; - } - export interface PutJobSuccessResultInput { - /** - * The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs. - */ - jobId: JobId; - /** - * The ID of the current revision of the artifact successfully worked upon by the job. - */ - currentRevision?: CurrentRevision; - /** - * A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied. - */ - continuationToken?: ContinuationToken; - /** - * The execution details of the successful job, such as the actions taken by the job worker. - */ - executionDetails?: ExecutionDetails; - } - export interface PutThirdPartyJobFailureResultInput { - /** - * The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs. - */ - jobId: ThirdPartyJobId; - /** - * The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. - */ - clientToken: ClientToken; - /** - * Represents information about failure details. - */ - failureDetails: FailureDetails; - } - export interface PutThirdPartyJobSuccessResultInput { - /** - * The ID of the job that successfully completed. This is the same ID returned from PollForThirdPartyJobs. - */ - jobId: ThirdPartyJobId; - /** - * The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. - */ - clientToken: ClientToken; - /** - * Represents information about a current revision. - */ - currentRevision?: CurrentRevision; - /** - * A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a partner action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the partner action. When the action is complete, no continuation token should be supplied. - */ - continuationToken?: ContinuationToken; - /** - * The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline. - */ - executionDetails?: ExecutionDetails; - } - export type QueryParamMap = {[key: string]: ActionConfigurationQueryableValue}; - export interface RetryStageExecutionInput { - /** - * The name of the pipeline that contains the failed stage. - */ - pipelineName: PipelineName; - /** - * The name of the failed stage to be retried. - */ - stageName: StageName; - /** - * The ID of the pipeline execution in the failed stage to be retried. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the failed stage - */ - pipelineExecutionId: PipelineExecutionId; - /** - * The scope of the retry attempt. Currently, the only supported value is FAILED_ACTIONS. - */ - retryMode: StageRetryMode; - } - export interface RetryStageExecutionOutput { - /** - * The ID of the current workflow execution in the failed stage. - */ - pipelineExecutionId?: PipelineExecutionId; - } - export type Revision = string; - export type RevisionChangeIdentifier = string; - export type RevisionSummary = string; - export type RoleArn = string; - export interface S3ArtifactLocation { - /** - * The name of the Amazon S3 bucket. - */ - bucketName: S3BucketName; - /** - * The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket. - */ - objectKey: S3ObjectKey; - } - export type S3BucketName = string; - export type S3ObjectKey = string; - export type SecretAccessKey = string; - export type SessionToken = string; - export type StageActionDeclarationList = ActionDeclaration[]; - export type StageBlockerDeclarationList = BlockerDeclaration[]; - export interface StageContext { - /** - * The name of the stage. - */ - name?: StageName; - } - export interface StageDeclaration { - /** - * The name of the stage. - */ - name: StageName; - /** - * Reserved for future use. - */ - blockers?: StageBlockerDeclarationList; - /** - * The actions included in a stage. - */ - actions: StageActionDeclarationList; - } - export interface StageExecution { - /** - * The ID of the pipeline execution associated with the stage. - */ - pipelineExecutionId: PipelineExecutionId; - /** - * The status of the stage, or for a completed stage, the last status of the stage. - */ - status: StageExecutionStatus; - } - export type StageExecutionStatus = "InProgress"|"Failed"|"Succeeded"|string; - export type StageName = string; - export type StageRetryMode = "FAILED_ACTIONS"|string; - export interface StageState { - /** - * The name of the stage. - */ - stageName?: StageName; - /** - * The state of the inbound transition, which is either enabled or disabled. - */ - inboundTransitionState?: TransitionState; - /** - * The state of the stage. - */ - actionStates?: ActionStateList; - /** - * Information about the latest execution in the stage, including its ID and status. - */ - latestExecution?: StageExecution; - } - export type StageStateList = StageState[]; - export type StageTransitionType = "Inbound"|"Outbound"|string; - export interface StartPipelineExecutionInput { - /** - * The name of the pipeline to start. - */ - name: PipelineName; - } - export interface StartPipelineExecutionOutput { - /** - * The unique system-generated ID of the pipeline execution that was started. - */ - pipelineExecutionId?: PipelineExecutionId; - } - export interface ThirdPartyJob { - /** - * The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. - */ - clientId?: ClientId; - /** - * The identifier used to identify the job in AWS CodePipeline. - */ - jobId?: JobId; - } - export interface ThirdPartyJobData { - /** - * Represents information about an action type. - */ - actionTypeId?: ActionTypeId; - /** - * Represents information about an action configuration. - */ - actionConfiguration?: ActionConfiguration; - /** - * Represents information about a pipeline to a job worker. - */ - pipelineContext?: PipelineContext; - /** - * The name of the artifact that will be worked upon by the action, if any. This name might be system-generated, such as "MyApp", or might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline. - */ - inputArtifacts?: ArtifactList; - /** - * The name of the artifact that will be the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or might be defined by the user when the action is created. - */ - outputArtifacts?: ArtifactList; - /** - * Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline. - */ - artifactCredentials?: AWSSessionCredentials; - /** - * A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously. - */ - continuationToken?: ContinuationToken; - /** - * The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an AWS Key Management Service (AWS KMS) key. This is optional and might not be present. - */ - encryptionKey?: EncryptionKey; - } - export interface ThirdPartyJobDetails { - /** - * The identifier used to identify the job details in AWS CodePipeline. - */ - id?: ThirdPartyJobId; - /** - * The data to be returned by the third party job worker. - */ - data?: ThirdPartyJobData; - /** - * A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeThirdPartyJob request. - */ - nonce?: Nonce; - } - export type ThirdPartyJobId = string; - export type ThirdPartyJobList = ThirdPartyJob[]; - export type Time = Date; - export type Timestamp = Date; - export interface TransitionState { - /** - * Whether the transition between stages is enabled (true) or disabled (false). - */ - enabled?: Enabled; - /** - * The ID of the user who last changed the transition state. - */ - lastChangedBy?: LastChangedBy; - /** - * The timestamp when the transition state was last changed. - */ - lastChangedAt?: LastChangedAt; - /** - * The user-specified reason why the transition between two stages of a pipeline was disabled. - */ - disabledReason?: DisabledReason; - } - export interface UpdatePipelineInput { - /** - * The name of the pipeline to be updated. - */ - pipeline: PipelineDeclaration; - } - export interface UpdatePipelineOutput { - /** - * The structure of the updated pipeline. - */ - pipeline?: PipelineDeclaration; - } - export type Url = string; - export type UrlTemplate = string; - export type Version = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-07-09"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CodePipeline client. - */ - export import Types = CodePipeline; -} -export = CodePipeline; diff --git a/src/node_modules/aws-sdk/clients/codepipeline.js b/src/node_modules/aws-sdk/clients/codepipeline.js deleted file mode 100644 index dbc7ead..0000000 --- a/src/node_modules/aws-sdk/clients/codepipeline.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['codepipeline'] = {}; -AWS.CodePipeline = Service.defineService('codepipeline', ['2015-07-09']); -Object.defineProperty(apiLoader.services['codepipeline'], '2015-07-09', { - get: function get() { - var model = require('../apis/codepipeline-2015-07-09.min.json'); - model.paginators = require('../apis/codepipeline-2015-07-09.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodePipeline; diff --git a/src/node_modules/aws-sdk/clients/codestar.d.ts b/src/node_modules/aws-sdk/clients/codestar.d.ts deleted file mode 100644 index fe6758c..0000000 --- a/src/node_modules/aws-sdk/clients/codestar.d.ts +++ /dev/null @@ -1,631 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CodeStar extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CodeStar.Types.ClientConfiguration) - config: Config & CodeStar.Types.ClientConfiguration; - /** - * Adds an IAM user to the team for an AWS CodeStar project. - */ - associateTeamMember(params: CodeStar.Types.AssociateTeamMemberRequest, callback?: (err: AWSError, data: CodeStar.Types.AssociateTeamMemberResult) => void): Request; - /** - * Adds an IAM user to the team for an AWS CodeStar project. - */ - associateTeamMember(callback?: (err: AWSError, data: CodeStar.Types.AssociateTeamMemberResult) => void): Request; - /** - * Reserved for future use. To create a project, use the AWS CodeStar console. - */ - createProject(params: CodeStar.Types.CreateProjectRequest, callback?: (err: AWSError, data: CodeStar.Types.CreateProjectResult) => void): Request; - /** - * Reserved for future use. To create a project, use the AWS CodeStar console. - */ - createProject(callback?: (err: AWSError, data: CodeStar.Types.CreateProjectResult) => void): Request; - /** - * Creates a profile for a user that includes user preferences, such as the display name and email address assocciated with the user, in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar. - */ - createUserProfile(params: CodeStar.Types.CreateUserProfileRequest, callback?: (err: AWSError, data: CodeStar.Types.CreateUserProfileResult) => void): Request; - /** - * Creates a profile for a user that includes user preferences, such as the display name and email address assocciated with the user, in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar. - */ - createUserProfile(callback?: (err: AWSError, data: CodeStar.Types.CreateUserProfileResult) => void): Request; - /** - * Deletes a project, including project resources. Does not delete users associated with the project, but does delete the IAM roles that allowed access to the project. - */ - deleteProject(params: CodeStar.Types.DeleteProjectRequest, callback?: (err: AWSError, data: CodeStar.Types.DeleteProjectResult) => void): Request; - /** - * Deletes a project, including project resources. Does not delete users associated with the project, but does delete the IAM roles that allowed access to the project. - */ - deleteProject(callback?: (err: AWSError, data: CodeStar.Types.DeleteProjectResult) => void): Request; - /** - * Deletes a user profile in AWS CodeStar, including all personal preference data associated with that profile, such as display name and email address. It does not delete the history of that user, for example the history of commits made by that user. - */ - deleteUserProfile(params: CodeStar.Types.DeleteUserProfileRequest, callback?: (err: AWSError, data: CodeStar.Types.DeleteUserProfileResult) => void): Request; - /** - * Deletes a user profile in AWS CodeStar, including all personal preference data associated with that profile, such as display name and email address. It does not delete the history of that user, for example the history of commits made by that user. - */ - deleteUserProfile(callback?: (err: AWSError, data: CodeStar.Types.DeleteUserProfileResult) => void): Request; - /** - * Describes a project and its resources. - */ - describeProject(params: CodeStar.Types.DescribeProjectRequest, callback?: (err: AWSError, data: CodeStar.Types.DescribeProjectResult) => void): Request; - /** - * Describes a project and its resources. - */ - describeProject(callback?: (err: AWSError, data: CodeStar.Types.DescribeProjectResult) => void): Request; - /** - * Describes a user in AWS CodeStar and the user attributes across all projects. - */ - describeUserProfile(params: CodeStar.Types.DescribeUserProfileRequest, callback?: (err: AWSError, data: CodeStar.Types.DescribeUserProfileResult) => void): Request; - /** - * Describes a user in AWS CodeStar and the user attributes across all projects. - */ - describeUserProfile(callback?: (err: AWSError, data: CodeStar.Types.DescribeUserProfileResult) => void): Request; - /** - * Removes a user from a project. Removing a user from a project also removes the IAM policies from that user that allowed access to the project and its resources. Disassociating a team member does not remove that user's profile from AWS CodeStar. It does not remove the user from IAM. - */ - disassociateTeamMember(params: CodeStar.Types.DisassociateTeamMemberRequest, callback?: (err: AWSError, data: CodeStar.Types.DisassociateTeamMemberResult) => void): Request; - /** - * Removes a user from a project. Removing a user from a project also removes the IAM policies from that user that allowed access to the project and its resources. Disassociating a team member does not remove that user's profile from AWS CodeStar. It does not remove the user from IAM. - */ - disassociateTeamMember(callback?: (err: AWSError, data: CodeStar.Types.DisassociateTeamMemberResult) => void): Request; - /** - * Lists all projects in AWS CodeStar associated with your AWS account. - */ - listProjects(params: CodeStar.Types.ListProjectsRequest, callback?: (err: AWSError, data: CodeStar.Types.ListProjectsResult) => void): Request; - /** - * Lists all projects in AWS CodeStar associated with your AWS account. - */ - listProjects(callback?: (err: AWSError, data: CodeStar.Types.ListProjectsResult) => void): Request; - /** - * Lists resources associated with a project in AWS CodeStar. - */ - listResources(params: CodeStar.Types.ListResourcesRequest, callback?: (err: AWSError, data: CodeStar.Types.ListResourcesResult) => void): Request; - /** - * Lists resources associated with a project in AWS CodeStar. - */ - listResources(callback?: (err: AWSError, data: CodeStar.Types.ListResourcesResult) => void): Request; - /** - * Lists all team members associated with a project. - */ - listTeamMembers(params: CodeStar.Types.ListTeamMembersRequest, callback?: (err: AWSError, data: CodeStar.Types.ListTeamMembersResult) => void): Request; - /** - * Lists all team members associated with a project. - */ - listTeamMembers(callback?: (err: AWSError, data: CodeStar.Types.ListTeamMembersResult) => void): Request; - /** - * Lists all the user profiles configured for your AWS account in AWS CodeStar. - */ - listUserProfiles(params: CodeStar.Types.ListUserProfilesRequest, callback?: (err: AWSError, data: CodeStar.Types.ListUserProfilesResult) => void): Request; - /** - * Lists all the user profiles configured for your AWS account in AWS CodeStar. - */ - listUserProfiles(callback?: (err: AWSError, data: CodeStar.Types.ListUserProfilesResult) => void): Request; - /** - * Updates a project in AWS CodeStar. - */ - updateProject(params: CodeStar.Types.UpdateProjectRequest, callback?: (err: AWSError, data: CodeStar.Types.UpdateProjectResult) => void): Request; - /** - * Updates a project in AWS CodeStar. - */ - updateProject(callback?: (err: AWSError, data: CodeStar.Types.UpdateProjectResult) => void): Request; - /** - * Updates a team member's attributes in an AWS CodeStar project. For example, you can change a team member's role in the project, or change whether they have remote access to project resources. - */ - updateTeamMember(params: CodeStar.Types.UpdateTeamMemberRequest, callback?: (err: AWSError, data: CodeStar.Types.UpdateTeamMemberResult) => void): Request; - /** - * Updates a team member's attributes in an AWS CodeStar project. For example, you can change a team member's role in the project, or change whether they have remote access to project resources. - */ - updateTeamMember(callback?: (err: AWSError, data: CodeStar.Types.UpdateTeamMemberResult) => void): Request; - /** - * Updates a user's profile in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar. - */ - updateUserProfile(params: CodeStar.Types.UpdateUserProfileRequest, callback?: (err: AWSError, data: CodeStar.Types.UpdateUserProfileResult) => void): Request; - /** - * Updates a user's profile in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar. - */ - updateUserProfile(callback?: (err: AWSError, data: CodeStar.Types.UpdateUserProfileResult) => void): Request; -} -declare namespace CodeStar { - export interface AssociateTeamMemberRequest { - /** - * The ID of the project to which you will add the IAM user. - */ - projectId: ProjectId; - /** - * A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request. - */ - clientRequestToken?: ClientRequestToken; - /** - * The Amazon Resource Name (ARN) for the IAM user you want to add to the DevHub project. - */ - userArn: UserArn; - /** - * The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project. - */ - projectRole: Role; - /** - * Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances. - */ - remoteAccessAllowed?: RemoteAccessAllowed; - } - export interface AssociateTeamMemberResult { - /** - * The user- or system-generated token from the initial request that can be used to repeat the request. - */ - clientRequestToken?: ClientRequestToken; - } - export type ClientRequestToken = string; - export interface CreateProjectRequest { - /** - * Reserved for future use. - */ - name: ProjectName; - /** - * Reserved for future use. - */ - id: ProjectId; - /** - * Reserved for future use. - */ - description?: ProjectDescription; - /** - * Reserved for future use. - */ - clientRequestToken?: ClientRequestToken; - } - export interface CreateProjectResult { - /** - * Reserved for future use. - */ - id: ProjectId; - /** - * Reserved for future use. - */ - arn: ProjectArn; - /** - * Reserved for future use. - */ - clientRequestToken?: ClientRequestToken; - /** - * Reserved for future use. - */ - projectTemplateId?: ProjectTemplateId; - } - export interface CreateUserProfileRequest { - /** - * The Amazon Resource Name (ARN) of the user in IAM. - */ - userArn: UserArn; - /** - * The name that will be displayed as the friendly name for the user in AWS CodeStar. - */ - displayName: UserProfileDisplayName; - /** - * The email address that will be displayed as part of the user's profile in AWS CodeStar. - */ - emailAddress: Email; - /** - * The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access. - */ - sshPublicKey?: SshPublicKey; - } - export interface CreateUserProfileResult { - /** - * The Amazon Resource Name (ARN) of the user in IAM. - */ - userArn: UserArn; - /** - * The name that is displayed as the friendly name for the user in AWS CodeStar. - */ - displayName?: UserProfileDisplayName; - /** - * The email address that is displayed as part of the user's profile in AWS CodeStar. - */ - emailAddress?: Email; - /** - * The SSH public key associated with the user in AWS CodeStar. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user remote access to those resources. - */ - sshPublicKey?: SshPublicKey; - /** - * The date the user profile was created, in timestamp format. - */ - createdTimestamp?: CreatedTimestamp; - /** - * The date the user profile was last modified, in timestamp format. - */ - lastModifiedTimestamp?: LastModifiedTimestamp; - } - export type CreatedTimestamp = Date; - export interface DeleteProjectRequest { - /** - * The ID of the project to be deleted in AWS CodeStar. - */ - id: ProjectId; - /** - * A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request. - */ - clientRequestToken?: ClientRequestToken; - /** - * Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases. - */ - deleteStack?: DeleteStack; - } - export interface DeleteProjectResult { - /** - * The ID of the primary stack in AWS CloudFormation that will be deleted as part of deleting the project and its resources. - */ - stackId?: StackId; - /** - * The Amazon Resource Name (ARN) of the deleted project. - */ - projectArn?: ProjectArn; - } - export type DeleteStack = boolean; - export interface DeleteUserProfileRequest { - /** - * The Amazon Resource Name (ARN) of the user to delete from AWS CodeStar. - */ - userArn: UserArn; - } - export interface DeleteUserProfileResult { - /** - * The Amazon Resource Name (ARN) of the user deleted from AWS CodeStar. - */ - userArn: UserArn; - } - export interface DescribeProjectRequest { - /** - * The ID of the project. - */ - id: ProjectId; - } - export interface DescribeProjectResult { - /** - * The display name for the project. - */ - name?: ProjectName; - /** - * The ID of the project. - */ - id?: ProjectId; - /** - * The Amazon Resource Name (ARN) for the project. - */ - arn?: ProjectArn; - /** - * The description of the project, if any. - */ - description?: ProjectDescription; - /** - * A user- or system-generated token that identifies the entity that requested project creation. - */ - clientRequestToken?: ClientRequestToken; - /** - * The date and time the project was created, in timestamp format. - */ - createdTimeStamp?: CreatedTimestamp; - /** - * The ID of the primary stack in AWS CloudFormation used to generate resources for the project. - */ - stackId?: StackId; - /** - * The ID for the AWS CodeStar project template used to create the project. - */ - projectTemplateId?: ProjectTemplateId; - } - export interface DescribeUserProfileRequest { - /** - * The Amazon Resource Name (ARN) of the user. - */ - userArn: UserArn; - } - export interface DescribeUserProfileResult { - /** - * The Amazon Resource Name (ARN) of the user. - */ - userArn: UserArn; - /** - * The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM"). - */ - displayName?: UserProfileDisplayName; - /** - * The email address for the user. Optional. - */ - emailAddress?: Email; - /** - * The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources. - */ - sshPublicKey?: SshPublicKey; - /** - * The date and time when the user profile was created in AWS CodeStar, in timestamp format. - */ - createdTimestamp: CreatedTimestamp; - /** - * The date and time when the user profile was last modified, in timestamp format. - */ - lastModifiedTimestamp: LastModifiedTimestamp; - } - export interface DisassociateTeamMemberRequest { - /** - * The ID of the AWS CodeStar project from which you want to remove a team member. - */ - projectId: ProjectId; - /** - * The Amazon Resource Name (ARN) of the IAM user or group whom you want to remove from the project. - */ - userArn: UserArn; - } - export interface DisassociateTeamMemberResult { - } - export type Email = string; - export type LastModifiedTimestamp = Date; - export interface ListProjectsRequest { - /** - * The continuation token to be used to return the next set of results, if the results cannot be returned in one response. - */ - nextToken?: PaginationToken; - /** - * The maximum amount of data that can be contained in a single set of results. - */ - maxResults?: MaxResults; - } - export interface ListProjectsResult { - /** - * A list of projects. - */ - projects: ProjectsList; - /** - * The continuation token to use when requesting the next set of results, if there are more results to be returned. - */ - nextToken?: PaginationToken; - } - export interface ListResourcesRequest { - /** - * The ID of the project. - */ - projectId: ProjectId; - /** - * The continuation token for the next set of results, if the results cannot be returned in one response. - */ - nextToken?: PaginationToken; - /** - * he maximum amount of data that can be contained in a single set of results. - */ - maxResults?: MaxResults; - } - export interface ListResourcesResult { - /** - * An array of resources associated with the project. - */ - resources?: ResourcesResult; - /** - * The continuation token to use when requesting the next set of results, if there are more results to be returned. - */ - nextToken?: PaginationToken; - } - export interface ListTeamMembersRequest { - /** - * The ID of the project for which you want to list team members. - */ - projectId: ProjectId; - /** - * The continuation token for the next set of results, if the results cannot be returned in one response. - */ - nextToken?: PaginationToken; - /** - * The maximum number of team members you want returned in a response. - */ - maxResults?: MaxResults; - } - export interface ListTeamMembersResult { - /** - * A list of team member objects for the project. - */ - teamMembers: TeamMemberResult; - /** - * The continuation token to use when requesting the next set of results, if there are more results to be returned. - */ - nextToken?: PaginationToken; - } - export interface ListUserProfilesRequest { - /** - * The continuation token for the next set of results, if the results cannot be returned in one response. - */ - nextToken?: PaginationToken; - /** - * The maximum number of results to return in a response. - */ - maxResults?: MaxResults; - } - export interface ListUserProfilesResult { - /** - * All the user profiles configured in AWS CodeStar for an AWS account. - */ - userProfiles: UserProfilesList; - /** - * The continuation token to use when requesting the next set of results, if there are more results to be returned. - */ - nextToken?: PaginationToken; - } - export type MaxResults = number; - export type PaginationToken = string; - export type ProjectArn = string; - export type ProjectDescription = string; - export type ProjectId = string; - export type ProjectName = string; - export interface ProjectSummary { - /** - * The ID of the project. - */ - projectId?: ProjectId; - /** - * The Amazon Resource Name (ARN) of the project. - */ - projectArn?: ProjectArn; - } - export type ProjectTemplateId = string; - export type ProjectsList = ProjectSummary[]; - export type RemoteAccessAllowed = boolean; - export interface Resource { - /** - * The Amazon Resource Name (ARN) of the resource. - */ - id: ResourceId; - } - export type ResourceId = string; - export type ResourcesResult = Resource[]; - export type Role = string; - export type SshPublicKey = string; - export type StackId = string; - export interface TeamMember { - /** - * The Amazon Resource Name (ARN) of the user in IAM. - */ - userArn: UserArn; - /** - * The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide. - */ - projectRole: Role; - /** - * Whether the user is allowed to remotely access project resources using an SSH public/private key pair. - */ - remoteAccessAllowed?: RemoteAccessAllowed; - } - export type TeamMemberResult = TeamMember[]; - export interface UpdateProjectRequest { - /** - * The ID of the project you want to update. - */ - id: ProjectId; - /** - * The name of the project you want to update. - */ - name?: ProjectName; - /** - * The description of the project, if any. - */ - description?: ProjectDescription; - } - export interface UpdateProjectResult { - } - export interface UpdateTeamMemberRequest { - /** - * The ID of the project. - */ - projectId: ProjectId; - /** - * The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes. - */ - userArn: UserArn; - /** - * The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide. - */ - projectRole?: Role; - /** - * Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources. - */ - remoteAccessAllowed?: RemoteAccessAllowed; - } - export interface UpdateTeamMemberResult { - /** - * The Amazon Resource Name (ARN) of the user whose team membership attributes were updated. - */ - userArn?: UserArn; - /** - * The project role granted to the user. - */ - projectRole?: Role; - /** - * Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. - */ - remoteAccessAllowed?: RemoteAccessAllowed; - } - export interface UpdateUserProfileRequest { - /** - * The name that will be displayed as the friendly name for the user in AWS CodeStar. - */ - userArn: UserArn; - /** - * The name that is displayed as the friendly name for the user in AWS CodeStar. - */ - displayName?: UserProfileDisplayName; - /** - * The email address that is displayed as part of the user's profile in AWS CodeStar. - */ - emailAddress?: Email; - /** - * The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access. - */ - sshPublicKey?: SshPublicKey; - } - export interface UpdateUserProfileResult { - /** - * The Amazon Resource Name (ARN) of the user in IAM. - */ - userArn: UserArn; - /** - * The name that is displayed as the friendly name for the user in AWS CodeStar. - */ - displayName?: UserProfileDisplayName; - /** - * The email address that is displayed as part of the user's profile in AWS CodeStar. - */ - emailAddress?: Email; - /** - * The SSH public key associated with the user in AWS CodeStar. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user remote access to those resources. - */ - sshPublicKey?: SshPublicKey; - /** - * The date the user profile was created, in timestamp format. - */ - createdTimestamp?: CreatedTimestamp; - /** - * The date the user profile was last modified, in timestamp format. - */ - lastModifiedTimestamp?: LastModifiedTimestamp; - } - export type UserArn = string; - export type UserProfileDisplayName = string; - export interface UserProfileSummary { - /** - * The Amazon Resource Name (ARN) of the user in IAM. - */ - userArn?: UserArn; - /** - * The display name of a user in AWS CodeStar. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM"). - */ - displayName?: UserProfileDisplayName; - /** - * The email address associated with the user. - */ - emailAddress?: Email; - /** - * The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access. - */ - sshPublicKey?: SshPublicKey; - } - export type UserProfilesList = UserProfileSummary[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2017-04-19"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CodeStar client. - */ - export import Types = CodeStar; -} -export = CodeStar; diff --git a/src/node_modules/aws-sdk/clients/codestar.js b/src/node_modules/aws-sdk/clients/codestar.js deleted file mode 100644 index 367d323..0000000 --- a/src/node_modules/aws-sdk/clients/codestar.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['codestar'] = {}; -AWS.CodeStar = Service.defineService('codestar', ['2017-04-19']); -Object.defineProperty(apiLoader.services['codestar'], '2017-04-19', { - get: function get() { - var model = require('../apis/codestar-2017-04-19.min.json'); - model.paginators = require('../apis/codestar-2017-04-19.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeStar; diff --git a/src/node_modules/aws-sdk/clients/cognitoidentity.d.ts b/src/node_modules/aws-sdk/clients/cognitoidentity.d.ts deleted file mode 100644 index f7716c4..0000000 --- a/src/node_modules/aws-sdk/clients/cognitoidentity.d.ts +++ /dev/null @@ -1,693 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CognitoIdentity extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CognitoIdentity.Types.ClientConfiguration) - config: Config & CognitoIdentity.Types.ClientConfiguration; - /** - * Creates a new identity pool. The identity pool is a store of user identity information that is specific to your AWS account. The limit on identity pools is 60 per account. The keys for SupportedLoginProviders are as follows: Facebook: graph.facebook.com Google: accounts.google.com Amazon: www.amazon.com Twitter: api.twitter.com Digits: www.digits.com You must use AWS Developer credentials to call this API. - */ - createIdentityPool(params: CognitoIdentity.Types.CreateIdentityPoolInput, callback?: (err: AWSError, data: CognitoIdentity.Types.IdentityPool) => void): Request; - /** - * Creates a new identity pool. The identity pool is a store of user identity information that is specific to your AWS account. The limit on identity pools is 60 per account. The keys for SupportedLoginProviders are as follows: Facebook: graph.facebook.com Google: accounts.google.com Amazon: www.amazon.com Twitter: api.twitter.com Digits: www.digits.com You must use AWS Developer credentials to call this API. - */ - createIdentityPool(callback?: (err: AWSError, data: CognitoIdentity.Types.IdentityPool) => void): Request; - /** - * Deletes identities from an identity pool. You can specify a list of 1-60 identities that you want to delete. You must use AWS Developer credentials to call this API. - */ - deleteIdentities(params: CognitoIdentity.Types.DeleteIdentitiesInput, callback?: (err: AWSError, data: CognitoIdentity.Types.DeleteIdentitiesResponse) => void): Request; - /** - * Deletes identities from an identity pool. You can specify a list of 1-60 identities that you want to delete. You must use AWS Developer credentials to call this API. - */ - deleteIdentities(callback?: (err: AWSError, data: CognitoIdentity.Types.DeleteIdentitiesResponse) => void): Request; - /** - * Deletes a user pool. Once a pool is deleted, users will not be able to authenticate with the pool. You must use AWS Developer credentials to call this API. - */ - deleteIdentityPool(params: CognitoIdentity.Types.DeleteIdentityPoolInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a user pool. Once a pool is deleted, users will not be able to authenticate with the pool. You must use AWS Developer credentials to call this API. - */ - deleteIdentityPool(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Returns metadata related to the given identity, including when the identity was created and any associated linked logins. You must use AWS Developer credentials to call this API. - */ - describeIdentity(params: CognitoIdentity.Types.DescribeIdentityInput, callback?: (err: AWSError, data: CognitoIdentity.Types.IdentityDescription) => void): Request; - /** - * Returns metadata related to the given identity, including when the identity was created and any associated linked logins. You must use AWS Developer credentials to call this API. - */ - describeIdentity(callback?: (err: AWSError, data: CognitoIdentity.Types.IdentityDescription) => void): Request; - /** - * Gets details about a particular identity pool, including the pool name, ID description, creation date, and current number of users. You must use AWS Developer credentials to call this API. - */ - describeIdentityPool(params: CognitoIdentity.Types.DescribeIdentityPoolInput, callback?: (err: AWSError, data: CognitoIdentity.Types.IdentityPool) => void): Request; - /** - * Gets details about a particular identity pool, including the pool name, ID description, creation date, and current number of users. You must use AWS Developer credentials to call this API. - */ - describeIdentityPool(callback?: (err: AWSError, data: CognitoIdentity.Types.IdentityPool) => void): Request; - /** - * Returns credentials for the provided identity ID. Any provided logins will be validated against supported login providers. If the token is for cognito-identity.amazonaws.com, it will be passed through to AWS Security Token Service with the appropriate role for the token. This is a public API. You do not need any credentials to call this API. - */ - getCredentialsForIdentity(params: CognitoIdentity.Types.GetCredentialsForIdentityInput, callback?: (err: AWSError, data: CognitoIdentity.Types.GetCredentialsForIdentityResponse) => void): Request; - /** - * Returns credentials for the provided identity ID. Any provided logins will be validated against supported login providers. If the token is for cognito-identity.amazonaws.com, it will be passed through to AWS Security Token Service with the appropriate role for the token. This is a public API. You do not need any credentials to call this API. - */ - getCredentialsForIdentity(callback?: (err: AWSError, data: CognitoIdentity.Types.GetCredentialsForIdentityResponse) => void): Request; - /** - * Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an implicit linked account. This is a public API. You do not need any credentials to call this API. - */ - getId(params: CognitoIdentity.Types.GetIdInput, callback?: (err: AWSError, data: CognitoIdentity.Types.GetIdResponse) => void): Request; - /** - * Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an implicit linked account. This is a public API. You do not need any credentials to call this API. - */ - getId(callback?: (err: AWSError, data: CognitoIdentity.Types.GetIdResponse) => void): Request; - /** - * Gets the roles for an identity pool. You must use AWS Developer credentials to call this API. - */ - getIdentityPoolRoles(params: CognitoIdentity.Types.GetIdentityPoolRolesInput, callback?: (err: AWSError, data: CognitoIdentity.Types.GetIdentityPoolRolesResponse) => void): Request; - /** - * Gets the roles for an identity pool. You must use AWS Developer credentials to call this API. - */ - getIdentityPoolRoles(callback?: (err: AWSError, data: CognitoIdentity.Types.GetIdentityPoolRolesResponse) => void): Request; - /** - * Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by GetId. You can optionally add additional logins for the identity. Supplying multiple logins creates an implicit link. The OpenId token is valid for 15 minutes. This is a public API. You do not need any credentials to call this API. - */ - getOpenIdToken(params: CognitoIdentity.Types.GetOpenIdTokenInput, callback?: (err: AWSError, data: CognitoIdentity.Types.GetOpenIdTokenResponse) => void): Request; - /** - * Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by GetId. You can optionally add additional logins for the identity. Supplying multiple logins creates an implicit link. The OpenId token is valid for 15 minutes. This is a public API. You do not need any credentials to call this API. - */ - getOpenIdToken(callback?: (err: AWSError, data: CognitoIdentity.Types.GetOpenIdTokenResponse) => void): Request; - /** - * Registers (or retrieves) a Cognito IdentityId and an OpenID Connect token for a user authenticated by your backend authentication process. Supplying multiple logins will create an implicit linked account. You can only specify one developer provider as part of the Logins map, which is linked to the identity pool. The developer provider is the "domain" by which Cognito will refer to your users. You can use GetOpenIdTokenForDeveloperIdentity to create a new identity and to link new logins (that is, user credentials issued by a public provider or developer provider) to an existing identity. When you want to create a new identity, the IdentityId should be null. When you want to associate a new login with an existing authenticated/unauthenticated identity, you can do so by providing the existing IdentityId. This API will create the identity in the specified IdentityPoolId. You must use AWS Developer credentials to call this API. - */ - getOpenIdTokenForDeveloperIdentity(params: CognitoIdentity.Types.GetOpenIdTokenForDeveloperIdentityInput, callback?: (err: AWSError, data: CognitoIdentity.Types.GetOpenIdTokenForDeveloperIdentityResponse) => void): Request; - /** - * Registers (or retrieves) a Cognito IdentityId and an OpenID Connect token for a user authenticated by your backend authentication process. Supplying multiple logins will create an implicit linked account. You can only specify one developer provider as part of the Logins map, which is linked to the identity pool. The developer provider is the "domain" by which Cognito will refer to your users. You can use GetOpenIdTokenForDeveloperIdentity to create a new identity and to link new logins (that is, user credentials issued by a public provider or developer provider) to an existing identity. When you want to create a new identity, the IdentityId should be null. When you want to associate a new login with an existing authenticated/unauthenticated identity, you can do so by providing the existing IdentityId. This API will create the identity in the specified IdentityPoolId. You must use AWS Developer credentials to call this API. - */ - getOpenIdTokenForDeveloperIdentity(callback?: (err: AWSError, data: CognitoIdentity.Types.GetOpenIdTokenForDeveloperIdentityResponse) => void): Request; - /** - * Lists the identities in a pool. You must use AWS Developer credentials to call this API. - */ - listIdentities(params: CognitoIdentity.Types.ListIdentitiesInput, callback?: (err: AWSError, data: CognitoIdentity.Types.ListIdentitiesResponse) => void): Request; - /** - * Lists the identities in a pool. You must use AWS Developer credentials to call this API. - */ - listIdentities(callback?: (err: AWSError, data: CognitoIdentity.Types.ListIdentitiesResponse) => void): Request; - /** - * Lists all of the Cognito identity pools registered for your account. You must use AWS Developer credentials to call this API. - */ - listIdentityPools(params: CognitoIdentity.Types.ListIdentityPoolsInput, callback?: (err: AWSError, data: CognitoIdentity.Types.ListIdentityPoolsResponse) => void): Request; - /** - * Lists all of the Cognito identity pools registered for your account. You must use AWS Developer credentials to call this API. - */ - listIdentityPools(callback?: (err: AWSError, data: CognitoIdentity.Types.ListIdentityPoolsResponse) => void): Request; - /** - * Retrieves the IdentityID associated with a DeveloperUserIdentifier or the list of DeveloperUserIdentifiers associated with an IdentityId for an existing identity. Either IdentityID or DeveloperUserIdentifier must not be null. If you supply only one of these values, the other value will be searched in the database and returned as a part of the response. If you supply both, DeveloperUserIdentifier will be matched against IdentityID. If the values are verified against the database, the response returns both values and is the same as the request. Otherwise a ResourceConflictException is thrown. You must use AWS Developer credentials to call this API. - */ - lookupDeveloperIdentity(params: CognitoIdentity.Types.LookupDeveloperIdentityInput, callback?: (err: AWSError, data: CognitoIdentity.Types.LookupDeveloperIdentityResponse) => void): Request; - /** - * Retrieves the IdentityID associated with a DeveloperUserIdentifier or the list of DeveloperUserIdentifiers associated with an IdentityId for an existing identity. Either IdentityID or DeveloperUserIdentifier must not be null. If you supply only one of these values, the other value will be searched in the database and returned as a part of the response. If you supply both, DeveloperUserIdentifier will be matched against IdentityID. If the values are verified against the database, the response returns both values and is the same as the request. Otherwise a ResourceConflictException is thrown. You must use AWS Developer credentials to call this API. - */ - lookupDeveloperIdentity(callback?: (err: AWSError, data: CognitoIdentity.Types.LookupDeveloperIdentityResponse) => void): Request; - /** - * Merges two users having different IdentityIds, existing in the same identity pool, and identified by the same developer provider. You can use this action to request that discrete users be merged and identified as a single user in the Cognito environment. Cognito associates the given source user (SourceUserIdentifier) with the IdentityId of the DestinationUserIdentifier. Only developer-authenticated users can be merged. If the users to be merged are associated with the same public provider, but as two different users, an exception will be thrown. You must use AWS Developer credentials to call this API. - */ - mergeDeveloperIdentities(params: CognitoIdentity.Types.MergeDeveloperIdentitiesInput, callback?: (err: AWSError, data: CognitoIdentity.Types.MergeDeveloperIdentitiesResponse) => void): Request; - /** - * Merges two users having different IdentityIds, existing in the same identity pool, and identified by the same developer provider. You can use this action to request that discrete users be merged and identified as a single user in the Cognito environment. Cognito associates the given source user (SourceUserIdentifier) with the IdentityId of the DestinationUserIdentifier. Only developer-authenticated users can be merged. If the users to be merged are associated with the same public provider, but as two different users, an exception will be thrown. You must use AWS Developer credentials to call this API. - */ - mergeDeveloperIdentities(callback?: (err: AWSError, data: CognitoIdentity.Types.MergeDeveloperIdentitiesResponse) => void): Request; - /** - * Sets the roles for an identity pool. These roles are used when making calls to GetCredentialsForIdentity action. You must use AWS Developer credentials to call this API. - */ - setIdentityPoolRoles(params: CognitoIdentity.Types.SetIdentityPoolRolesInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the roles for an identity pool. These roles are used when making calls to GetCredentialsForIdentity action. You must use AWS Developer credentials to call this API. - */ - setIdentityPoolRoles(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Unlinks a DeveloperUserIdentifier from an existing identity. Unlinked developer users will be considered new identities next time they are seen. If, for a given Cognito identity, you remove all federated identities as well as the developer user identifier, the Cognito identity becomes inaccessible. You must use AWS Developer credentials to call this API. - */ - unlinkDeveloperIdentity(params: CognitoIdentity.Types.UnlinkDeveloperIdentityInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Unlinks a DeveloperUserIdentifier from an existing identity. Unlinked developer users will be considered new identities next time they are seen. If, for a given Cognito identity, you remove all federated identities as well as the developer user identifier, the Cognito identity becomes inaccessible. You must use AWS Developer credentials to call this API. - */ - unlinkDeveloperIdentity(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Unlinks a federated identity from an existing account. Unlinked logins will be considered new identities next time they are seen. Removing the last linked login will make this identity inaccessible. This is a public API. You do not need any credentials to call this API. - */ - unlinkIdentity(params: CognitoIdentity.Types.UnlinkIdentityInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Unlinks a federated identity from an existing account. Unlinked logins will be considered new identities next time they are seen. Removing the last linked login will make this identity inaccessible. This is a public API. You do not need any credentials to call this API. - */ - unlinkIdentity(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a user pool. You must use AWS Developer credentials to call this API. - */ - updateIdentityPool(params: CognitoIdentity.Types.IdentityPool, callback?: (err: AWSError, data: CognitoIdentity.Types.IdentityPool) => void): Request; - /** - * Updates a user pool. You must use AWS Developer credentials to call this API. - */ - updateIdentityPool(callback?: (err: AWSError, data: CognitoIdentity.Types.IdentityPool) => void): Request; -} -declare namespace CognitoIdentity { - export type ARNString = string; - export type AccessKeyString = string; - export type AccountId = string; - export type AmbiguousRoleResolutionType = "AuthenticatedRole"|"Deny"|string; - export type ClaimName = string; - export type ClaimValue = string; - export interface CognitoIdentityProvider { - /** - * The provider name for an Amazon Cognito Identity User Pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789. - */ - ProviderName?: CognitoIdentityProviderName; - /** - * The client ID for the Amazon Cognito Identity User Pool. - */ - ClientId?: CognitoIdentityProviderClientId; - /** - * TRUE if server-side token validation is enabled for the identity provider’s token. - */ - ServerSideTokenCheck?: CognitoIdentityProviderTokenCheck; - } - export type CognitoIdentityProviderClientId = string; - export type CognitoIdentityProviderList = CognitoIdentityProvider[]; - export type CognitoIdentityProviderName = string; - export type CognitoIdentityProviderTokenCheck = boolean; - export interface CreateIdentityPoolInput { - /** - * A string that you provide. - */ - IdentityPoolName: IdentityPoolName; - /** - * TRUE if the identity pool supports unauthenticated logins. - */ - AllowUnauthenticatedIdentities: IdentityPoolUnauthenticated; - /** - * Optional key:value pairs mapping provider names to provider app IDs. - */ - SupportedLoginProviders?: IdentityProviders; - /** - * The "domain" by which Cognito will refer to your users. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the DeveloperProviderName, you can use letters as well as period (.), underscore (_), and dash (-). Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter. - */ - DeveloperProviderName?: DeveloperProviderName; - /** - * A list of OpendID Connect provider ARNs. - */ - OpenIdConnectProviderARNs?: OIDCProviderList; - /** - * An array of Amazon Cognito Identity user pools and their client IDs. - */ - CognitoIdentityProviders?: CognitoIdentityProviderList; - /** - * An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool. - */ - SamlProviderARNs?: SAMLProviderList; - } - export interface Credentials { - /** - * The Access Key portion of the credentials. - */ - AccessKeyId?: AccessKeyString; - /** - * The Secret Access Key portion of the credentials - */ - SecretKey?: SecretKeyString; - /** - * The Session Token portion of the credentials - */ - SessionToken?: SessionTokenString; - /** - * The date at which these credentials will expire. - */ - Expiration?: DateType; - } - export type DateType = Date; - export interface DeleteIdentitiesInput { - /** - * A list of 1-60 identities that you want to delete. - */ - IdentityIdsToDelete: IdentityIdList; - } - export interface DeleteIdentitiesResponse { - /** - * An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId. - */ - UnprocessedIdentityIds?: UnprocessedIdentityIdList; - } - export interface DeleteIdentityPoolInput { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - } - export interface DescribeIdentityInput { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId: IdentityId; - } - export interface DescribeIdentityPoolInput { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - } - export type DeveloperProviderName = string; - export type DeveloperUserIdentifier = string; - export type DeveloperUserIdentifierList = DeveloperUserIdentifier[]; - export type ErrorCode = "AccessDenied"|"InternalServerError"|string; - export interface GetCredentialsForIdentityInput { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId: IdentityId; - /** - * A set of optional name-value pairs that map provider names to provider tokens. - */ - Logins?: LoginsMap; - /** - * The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization. - */ - CustomRoleArn?: ARNString; - } - export interface GetCredentialsForIdentityResponse { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId?: IdentityId; - /** - * Credentials for the provided identity ID. - */ - Credentials?: Credentials; - } - export interface GetIdInput { - /** - * A standard AWS account ID (9+ digits). - */ - AccountId?: AccountId; - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - /** - * A set of optional name-value pairs that map provider names to provider tokens. The available provider names for Logins are as follows: Facebook: graph.facebook.com Amazon Cognito Identity Provider: cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789 Google: accounts.google.com Amazon: www.amazon.com Twitter: api.twitter.com Digits: www.digits.com - */ - Logins?: LoginsMap; - } - export interface GetIdResponse { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId?: IdentityId; - } - export interface GetIdentityPoolRolesInput { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - } - export interface GetIdentityPoolRolesResponse { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId?: IdentityPoolId; - /** - * The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported. - */ - Roles?: RolesMap; - /** - * How users for a specific identity provider are to mapped to roles. This is a String-to-RoleMapping object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id". - */ - RoleMappings?: RoleMappingMap; - } - export interface GetOpenIdTokenForDeveloperIdentityInput { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId?: IdentityId; - /** - * A set of optional name-value pairs that map provider names to provider tokens. Each name-value pair represents a user from a public provider or developer provider. If the user is from a developer provider, the name-value pair will follow the syntax "developer_provider_name": "developer_user_identifier". The developer provider is the "domain" by which Cognito will refer to your users; you provided this domain while creating/updating the identity pool. The developer user identifier is an identifier from your backend that uniquely identifies a user. When you create an identity pool, you can specify the supported logins. - */ - Logins: LoginsMap; - /** - * The expiration time of the token, in seconds. You can specify a custom expiration time for the token so that you can cache it. If you don't provide an expiration time, the token is valid for 15 minutes. You can exchange the token with Amazon STS for temporary AWS credentials, which are valid for a maximum of one hour. The maximum token duration you can set is 24 hours. You should take care in setting the expiration time for a token, as there are significant security implications: an attacker could use a leaked token to access your AWS resources for the token's duration. - */ - TokenDuration?: TokenDuration; - } - export interface GetOpenIdTokenForDeveloperIdentityResponse { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId?: IdentityId; - /** - * An OpenID token. - */ - Token?: OIDCToken; - } - export interface GetOpenIdTokenInput { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId: IdentityId; - /** - * A set of optional name-value pairs that map provider names to provider tokens. When using graph.facebook.com and www.amazon.com, supply the access_token returned from the provider's authflow. For accounts.google.com, an Amazon Cognito Identity Provider, or any other OpenId Connect provider, always include the id_token. - */ - Logins?: LoginsMap; - } - export interface GetOpenIdTokenResponse { - /** - * A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input. - */ - IdentityId?: IdentityId; - /** - * An OpenID token, valid for 15 minutes. - */ - Token?: OIDCToken; - } - export type HideDisabled = boolean; - export type IdentitiesList = IdentityDescription[]; - export interface IdentityDescription { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId?: IdentityId; - /** - * A set of optional name-value pairs that map provider names to provider tokens. - */ - Logins?: LoginsList; - /** - * Date on which the identity was created. - */ - CreationDate?: DateType; - /** - * Date on which the identity was last modified. - */ - LastModifiedDate?: DateType; - } - export type IdentityId = string; - export type IdentityIdList = IdentityId[]; - export interface IdentityPool { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - /** - * A string that you provide. - */ - IdentityPoolName: IdentityPoolName; - /** - * TRUE if the identity pool supports unauthenticated logins. - */ - AllowUnauthenticatedIdentities: IdentityPoolUnauthenticated; - /** - * Optional key:value pairs mapping provider names to provider app IDs. - */ - SupportedLoginProviders?: IdentityProviders; - /** - * The "domain" by which Cognito will refer to your users. - */ - DeveloperProviderName?: DeveloperProviderName; - /** - * A list of OpendID Connect provider ARNs. - */ - OpenIdConnectProviderARNs?: OIDCProviderList; - /** - * A list representing an Amazon Cognito Identity User Pool and its client ID. - */ - CognitoIdentityProviders?: CognitoIdentityProviderList; - /** - * An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool. - */ - SamlProviderARNs?: SAMLProviderList; - } - export type IdentityPoolId = string; - export type IdentityPoolName = string; - export interface IdentityPoolShortDescription { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId?: IdentityPoolId; - /** - * A string that you provide. - */ - IdentityPoolName?: IdentityPoolName; - } - export type IdentityPoolUnauthenticated = boolean; - export type IdentityPoolsList = IdentityPoolShortDescription[]; - export type IdentityProviderId = string; - export type IdentityProviderName = string; - export type IdentityProviderToken = string; - export type IdentityProviders = {[key: string]: IdentityProviderId}; - export interface ListIdentitiesInput { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - /** - * The maximum number of identities to return. - */ - MaxResults: QueryLimit; - /** - * A pagination token. - */ - NextToken?: PaginationKey; - /** - * An optional boolean parameter that allows you to hide disabled identities. If omitted, the ListIdentities API will include disabled identities in the response. - */ - HideDisabled?: HideDisabled; - } - export interface ListIdentitiesResponse { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId?: IdentityPoolId; - /** - * An object containing a set of identities and associated mappings. - */ - Identities?: IdentitiesList; - /** - * A pagination token. - */ - NextToken?: PaginationKey; - } - export interface ListIdentityPoolsInput { - /** - * The maximum number of identities to return. - */ - MaxResults: QueryLimit; - /** - * A pagination token. - */ - NextToken?: PaginationKey; - } - export interface ListIdentityPoolsResponse { - /** - * The identity pools returned by the ListIdentityPools action. - */ - IdentityPools?: IdentityPoolsList; - /** - * A pagination token. - */ - NextToken?: PaginationKey; - } - export type LoginsList = IdentityProviderName[]; - export type LoginsMap = {[key: string]: IdentityProviderToken}; - export interface LookupDeveloperIdentityInput { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId?: IdentityId; - /** - * A unique ID used by your backend authentication process to identify a user. Typically, a developer identity provider would issue many developer user identifiers, in keeping with the number of users. - */ - DeveloperUserIdentifier?: DeveloperUserIdentifier; - /** - * The maximum number of identities to return. - */ - MaxResults?: QueryLimit; - /** - * A pagination token. The first call you make will have NextToken set to null. After that the service will return NextToken values as needed. For example, let's say you make a request with MaxResults set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match. - */ - NextToken?: PaginationKey; - } - export interface LookupDeveloperIdentityResponse { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId?: IdentityId; - /** - * This is the list of developer user identifiers associated with an identity ID. Cognito supports the association of multiple developer user identifiers with an identity ID. - */ - DeveloperUserIdentifierList?: DeveloperUserIdentifierList; - /** - * A pagination token. The first call you make will have NextToken set to null. After that the service will return NextToken values as needed. For example, let's say you make a request with MaxResults set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match. - */ - NextToken?: PaginationKey; - } - export interface MappingRule { - /** - * The claim name that must be present in the token, for example, "isAdmin" or "paid". - */ - Claim: ClaimName; - /** - * The match condition that specifies how closely the claim value in the IdP token must match Value. - */ - MatchType: MappingRuleMatchType; - /** - * A brief string that the claim must match, for example, "paid" or "yes". - */ - Value: ClaimValue; - /** - * The role ARN. - */ - RoleARN: ARNString; - } - export type MappingRuleMatchType = "Equals"|"Contains"|"StartsWith"|"NotEqual"|string; - export type MappingRulesList = MappingRule[]; - export interface MergeDeveloperIdentitiesInput { - /** - * User identifier for the source user. The value should be a DeveloperUserIdentifier. - */ - SourceUserIdentifier: DeveloperUserIdentifier; - /** - * User identifier for the destination user. The value should be a DeveloperUserIdentifier. - */ - DestinationUserIdentifier: DeveloperUserIdentifier; - /** - * The "domain" by which Cognito will refer to your users. This is a (pseudo) domain name that you provide while creating an identity pool. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the DeveloperProviderName, you can use letters as well as period (.), underscore (_), and dash (-). - */ - DeveloperProviderName: DeveloperProviderName; - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - } - export interface MergeDeveloperIdentitiesResponse { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId?: IdentityId; - } - export type OIDCProviderList = ARNString[]; - export type OIDCToken = string; - export type PaginationKey = string; - export type QueryLimit = number; - export interface RoleMapping { - /** - * The role mapping type. Token will use cognito:roles and cognito:preferred_role claims from the Cognito identity provider token to map groups to roles. Rules will attempt to match claims from the token to map to a role. - */ - Type: RoleMappingType; - /** - * If you specify Token or Rules as the Type, AmbiguousRoleResolution is required. Specifies the action to be taken if either no rules match the claim value for the Rules type, or there is no cognito:preferred_role claim and there are multiple cognito:roles matches for the Token type. - */ - AmbiguousRoleResolution?: AmbiguousRoleResolutionType; - /** - * The rules to be used for mapping users to roles. If you specify Rules as the role mapping type, RulesConfiguration is required. - */ - RulesConfiguration?: RulesConfigurationType; - } - export type RoleMappingMap = {[key: string]: RoleMapping}; - export type RoleMappingType = "Token"|"Rules"|string; - export type RoleType = string; - export type RolesMap = {[key: string]: ARNString}; - export interface RulesConfigurationType { - /** - * An array of rules. You can specify up to 25 rules per identity provider. Rules are evaluated in order. The first one to match specifies the role. - */ - Rules: MappingRulesList; - } - export type SAMLProviderList = ARNString[]; - export type SecretKeyString = string; - export type SessionTokenString = string; - export interface SetIdentityPoolRolesInput { - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - /** - * The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN. - */ - Roles: RolesMap; - /** - * How users for a specific identity provider are to mapped to roles. This is a string to RoleMapping object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id". Up to 25 rules can be specified per identity provider. - */ - RoleMappings?: RoleMappingMap; - } - export type String = string; - export type TokenDuration = number; - export interface UnlinkDeveloperIdentityInput { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId: IdentityId; - /** - * An identity pool ID in the format REGION:GUID. - */ - IdentityPoolId: IdentityPoolId; - /** - * The "domain" by which Cognito will refer to your users. - */ - DeveloperProviderName: DeveloperProviderName; - /** - * A unique ID used by your backend authentication process to identify a user. - */ - DeveloperUserIdentifier: DeveloperUserIdentifier; - } - export interface UnlinkIdentityInput { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId: IdentityId; - /** - * A set of optional name-value pairs that map provider names to provider tokens. - */ - Logins: LoginsMap; - /** - * Provider names to unlink from this identity. - */ - LoginsToRemove: LoginsList; - } - export interface UnprocessedIdentityId { - /** - * A unique identifier in the format REGION:GUID. - */ - IdentityId?: IdentityId; - /** - * The error code indicating the type of error that occurred. - */ - ErrorCode?: ErrorCode; - } - export type UnprocessedIdentityIdList = UnprocessedIdentityId[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-06-30"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CognitoIdentity client. - */ - export import Types = CognitoIdentity; -} -export = CognitoIdentity; diff --git a/src/node_modules/aws-sdk/clients/cognitoidentity.js b/src/node_modules/aws-sdk/clients/cognitoidentity.js deleted file mode 100644 index 11dfdb1..0000000 --- a/src/node_modules/aws-sdk/clients/cognitoidentity.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cognitoidentity'] = {}; -AWS.CognitoIdentity = Service.defineService('cognitoidentity', ['2014-06-30']); -require('../lib/services/cognitoidentity'); -Object.defineProperty(apiLoader.services['cognitoidentity'], '2014-06-30', { - get: function get() { - var model = require('../apis/cognito-identity-2014-06-30.min.json'); - model.paginators = require('../apis/cognito-identity-2014-06-30.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CognitoIdentity; diff --git a/src/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts b/src/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts deleted file mode 100644 index 0d4628d..0000000 --- a/src/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +++ /dev/null @@ -1,3025 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CognitoIdentityServiceProvider extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CognitoIdentityServiceProvider.Types.ClientConfiguration) - config: Config & CognitoIdentityServiceProvider.Types.ClientConfiguration; - /** - * Adds additional user attributes to the user pool schema. - */ - addCustomAttributes(params: CognitoIdentityServiceProvider.Types.AddCustomAttributesRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AddCustomAttributesResponse) => void): Request; - /** - * Adds additional user attributes to the user pool schema. - */ - addCustomAttributes(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AddCustomAttributesResponse) => void): Request; - /** - * Adds the specified user to the specified group. Requires developer credentials. - */ - adminAddUserToGroup(params: CognitoIdentityServiceProvider.Types.AdminAddUserToGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds the specified user to the specified group. Requires developer credentials. - */ - adminAddUserToGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Confirms user registration as an admin without using a confirmation code. Works on any user. Requires developer credentials. - */ - adminConfirmSignUp(params: CognitoIdentityServiceProvider.Types.AdminConfirmSignUpRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminConfirmSignUpResponse) => void): Request; - /** - * Confirms user registration as an admin without using a confirmation code. Works on any user. Requires developer credentials. - */ - adminConfirmSignUp(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminConfirmSignUpResponse) => void): Request; - /** - * Creates a new user in the specified user pool and sends a welcome message via email or phone (SMS). This message is based on a template that you configured in your call to CreateUserPool or UpdateUserPool. This template includes your custom sign-up instructions and placeholders for user name and temporary password. Requires developer credentials. - */ - adminCreateUser(params: CognitoIdentityServiceProvider.Types.AdminCreateUserRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminCreateUserResponse) => void): Request; - /** - * Creates a new user in the specified user pool and sends a welcome message via email or phone (SMS). This message is based on a template that you configured in your call to CreateUserPool or UpdateUserPool. This template includes your custom sign-up instructions and placeholders for user name and temporary password. Requires developer credentials. - */ - adminCreateUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminCreateUserResponse) => void): Request; - /** - * Deletes a user as an administrator. Works on any user. Requires developer credentials. - */ - adminDeleteUser(params: CognitoIdentityServiceProvider.Types.AdminDeleteUserRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a user as an administrator. Works on any user. Requires developer credentials. - */ - adminDeleteUser(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the user attributes in a user pool as an administrator. Works on any user. Requires developer credentials. - */ - adminDeleteUserAttributes(params: CognitoIdentityServiceProvider.Types.AdminDeleteUserAttributesRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminDeleteUserAttributesResponse) => void): Request; - /** - * Deletes the user attributes in a user pool as an administrator. Works on any user. Requires developer credentials. - */ - adminDeleteUserAttributes(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminDeleteUserAttributesResponse) => void): Request; - /** - * Disables the specified user as an administrator. Works on any user. Requires developer credentials. - */ - adminDisableUser(params: CognitoIdentityServiceProvider.Types.AdminDisableUserRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminDisableUserResponse) => void): Request; - /** - * Disables the specified user as an administrator. Works on any user. Requires developer credentials. - */ - adminDisableUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminDisableUserResponse) => void): Request; - /** - * Enables the specified user as an administrator. Works on any user. Requires developer credentials. - */ - adminEnableUser(params: CognitoIdentityServiceProvider.Types.AdminEnableUserRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminEnableUserResponse) => void): Request; - /** - * Enables the specified user as an administrator. Works on any user. Requires developer credentials. - */ - adminEnableUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminEnableUserResponse) => void): Request; - /** - * Forgets the device, as an administrator. Requires developer credentials. - */ - adminForgetDevice(params: CognitoIdentityServiceProvider.Types.AdminForgetDeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Forgets the device, as an administrator. Requires developer credentials. - */ - adminForgetDevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Gets the device, as an administrator. Requires developer credentials. - */ - adminGetDevice(params: CognitoIdentityServiceProvider.Types.AdminGetDeviceRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminGetDeviceResponse) => void): Request; - /** - * Gets the device, as an administrator. Requires developer credentials. - */ - adminGetDevice(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminGetDeviceResponse) => void): Request; - /** - * Gets the specified user by user name in a user pool as an administrator. Works on any user. Requires developer credentials. - */ - adminGetUser(params: CognitoIdentityServiceProvider.Types.AdminGetUserRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminGetUserResponse) => void): Request; - /** - * Gets the specified user by user name in a user pool as an administrator. Works on any user. Requires developer credentials. - */ - adminGetUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminGetUserResponse) => void): Request; - /** - * Initiates the authentication flow, as an administrator. Requires developer credentials. - */ - adminInitiateAuth(params: CognitoIdentityServiceProvider.Types.AdminInitiateAuthRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminInitiateAuthResponse) => void): Request; - /** - * Initiates the authentication flow, as an administrator. Requires developer credentials. - */ - adminInitiateAuth(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminInitiateAuthResponse) => void): Request; - /** - * Lists devices, as an administrator. Requires developer credentials. - */ - adminListDevices(params: CognitoIdentityServiceProvider.Types.AdminListDevicesRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminListDevicesResponse) => void): Request; - /** - * Lists devices, as an administrator. Requires developer credentials. - */ - adminListDevices(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminListDevicesResponse) => void): Request; - /** - * Lists the groups that the user belongs to. Requires developer credentials. - */ - adminListGroupsForUser(params: CognitoIdentityServiceProvider.Types.AdminListGroupsForUserRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminListGroupsForUserResponse) => void): Request; - /** - * Lists the groups that the user belongs to. Requires developer credentials. - */ - adminListGroupsForUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminListGroupsForUserResponse) => void): Request; - /** - * Removes the specified user from the specified group. Requires developer credentials. - */ - adminRemoveUserFromGroup(params: CognitoIdentityServiceProvider.Types.AdminRemoveUserFromGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified user from the specified group. Requires developer credentials. - */ - adminRemoveUserFromGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resets the specified user's password in a user pool as an administrator. Works on any user. When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called, the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password. Requires developer credentials. - */ - adminResetUserPassword(params: CognitoIdentityServiceProvider.Types.AdminResetUserPasswordRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminResetUserPasswordResponse) => void): Request; - /** - * Resets the specified user's password in a user pool as an administrator. Works on any user. When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called, the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password. Requires developer credentials. - */ - adminResetUserPassword(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminResetUserPasswordResponse) => void): Request; - /** - * Responds to an authentication challenge, as an administrator. Requires developer credentials. - */ - adminRespondToAuthChallenge(params: CognitoIdentityServiceProvider.Types.AdminRespondToAuthChallengeRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminRespondToAuthChallengeResponse) => void): Request; - /** - * Responds to an authentication challenge, as an administrator. Requires developer credentials. - */ - adminRespondToAuthChallenge(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminRespondToAuthChallengeResponse) => void): Request; - /** - * Sets all the user settings for a specified user name. Works on any user. Requires developer credentials. - */ - adminSetUserSettings(params: CognitoIdentityServiceProvider.Types.AdminSetUserSettingsRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminSetUserSettingsResponse) => void): Request; - /** - * Sets all the user settings for a specified user name. Works on any user. Requires developer credentials. - */ - adminSetUserSettings(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminSetUserSettingsResponse) => void): Request; - /** - * Updates the device status as an administrator. Requires developer credentials. - */ - adminUpdateDeviceStatus(params: CognitoIdentityServiceProvider.Types.AdminUpdateDeviceStatusRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUpdateDeviceStatusResponse) => void): Request; - /** - * Updates the device status as an administrator. Requires developer credentials. - */ - adminUpdateDeviceStatus(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUpdateDeviceStatusResponse) => void): Request; - /** - * Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. For custom attributes, you must prepend the custom: prefix to the attribute name. In addition to updating user attributes, this API can also be used to mark phone and email as verified. Requires developer credentials. - */ - adminUpdateUserAttributes(params: CognitoIdentityServiceProvider.Types.AdminUpdateUserAttributesRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUpdateUserAttributesResponse) => void): Request; - /** - * Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. For custom attributes, you must prepend the custom: prefix to the attribute name. In addition to updating user attributes, this API can also be used to mark phone and email as verified. Requires developer credentials. - */ - adminUpdateUserAttributes(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUpdateUserAttributesResponse) => void): Request; - /** - * Signs out users from all devices, as an administrator. Requires developer credentials. - */ - adminUserGlobalSignOut(params: CognitoIdentityServiceProvider.Types.AdminUserGlobalSignOutRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUserGlobalSignOutResponse) => void): Request; - /** - * Signs out users from all devices, as an administrator. Requires developer credentials. - */ - adminUserGlobalSignOut(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUserGlobalSignOutResponse) => void): Request; - /** - * Changes the password for a specified user in a user pool. - */ - changePassword(params: CognitoIdentityServiceProvider.Types.ChangePasswordRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ChangePasswordResponse) => void): Request; - /** - * Changes the password for a specified user in a user pool. - */ - changePassword(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ChangePasswordResponse) => void): Request; - /** - * Confirms tracking of the device. This API call is the call that begins device tracking. - */ - confirmDevice(params: CognitoIdentityServiceProvider.Types.ConfirmDeviceRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ConfirmDeviceResponse) => void): Request; - /** - * Confirms tracking of the device. This API call is the call that begins device tracking. - */ - confirmDevice(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ConfirmDeviceResponse) => void): Request; - /** - * Allows a user to enter a confirmation code to reset a forgotten password. - */ - confirmForgotPassword(params: CognitoIdentityServiceProvider.Types.ConfirmForgotPasswordRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ConfirmForgotPasswordResponse) => void): Request; - /** - * Allows a user to enter a confirmation code to reset a forgotten password. - */ - confirmForgotPassword(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ConfirmForgotPasswordResponse) => void): Request; - /** - * Confirms registration of a user and handles the existing alias from a previous user. - */ - confirmSignUp(params: CognitoIdentityServiceProvider.Types.ConfirmSignUpRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ConfirmSignUpResponse) => void): Request; - /** - * Confirms registration of a user and handles the existing alias from a previous user. - */ - confirmSignUp(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ConfirmSignUpResponse) => void): Request; - /** - * Creates a new group in the specified user pool. Requires developer credentials. - */ - createGroup(params: CognitoIdentityServiceProvider.Types.CreateGroupRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateGroupResponse) => void): Request; - /** - * Creates a new group in the specified user pool. Requires developer credentials. - */ - createGroup(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateGroupResponse) => void): Request; - /** - * Creates an identity provider for a user pool. - */ - createIdentityProvider(params: CognitoIdentityServiceProvider.Types.CreateIdentityProviderRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateIdentityProviderResponse) => void): Request; - /** - * Creates an identity provider for a user pool. - */ - createIdentityProvider(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateIdentityProviderResponse) => void): Request; - /** - * Creates the user import job. - */ - createUserImportJob(params: CognitoIdentityServiceProvider.Types.CreateUserImportJobRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserImportJobResponse) => void): Request; - /** - * Creates the user import job. - */ - createUserImportJob(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserImportJobResponse) => void): Request; - /** - * Creates a new Amazon Cognito user pool and sets the password policy for the pool. - */ - createUserPool(params: CognitoIdentityServiceProvider.Types.CreateUserPoolRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolResponse) => void): Request; - /** - * Creates a new Amazon Cognito user pool and sets the password policy for the pool. - */ - createUserPool(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolResponse) => void): Request; - /** - * Creates the user pool client. - */ - createUserPoolClient(params: CognitoIdentityServiceProvider.Types.CreateUserPoolClientRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolClientResponse) => void): Request; - /** - * Creates the user pool client. - */ - createUserPoolClient(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolClientResponse) => void): Request; - /** - * Creates a new domain for a user pool. - */ - createUserPoolDomain(params: CognitoIdentityServiceProvider.Types.CreateUserPoolDomainRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolDomainResponse) => void): Request; - /** - * Creates a new domain for a user pool. - */ - createUserPoolDomain(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolDomainResponse) => void): Request; - /** - * Deletes a group. Currently only groups with no members can be deleted. Requires developer credentials. - */ - deleteGroup(params: CognitoIdentityServiceProvider.Types.DeleteGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a group. Currently only groups with no members can be deleted. Requires developer credentials. - */ - deleteGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an identity provider for a user pool. - */ - deleteIdentityProvider(params: CognitoIdentityServiceProvider.Types.DeleteIdentityProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an identity provider for a user pool. - */ - deleteIdentityProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Allows a user to delete one's self. - */ - deleteUser(params: CognitoIdentityServiceProvider.Types.DeleteUserRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Allows a user to delete one's self. - */ - deleteUser(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the attributes for a user. - */ - deleteUserAttributes(params: CognitoIdentityServiceProvider.Types.DeleteUserAttributesRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DeleteUserAttributesResponse) => void): Request; - /** - * Deletes the attributes for a user. - */ - deleteUserAttributes(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DeleteUserAttributesResponse) => void): Request; - /** - * Deletes the specified Amazon Cognito user pool. - */ - deleteUserPool(params: CognitoIdentityServiceProvider.Types.DeleteUserPoolRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified Amazon Cognito user pool. - */ - deleteUserPool(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Allows the developer to delete the user pool client. - */ - deleteUserPoolClient(params: CognitoIdentityServiceProvider.Types.DeleteUserPoolClientRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Allows the developer to delete the user pool client. - */ - deleteUserPoolClient(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a domain for a user pool. - */ - deleteUserPoolDomain(params: CognitoIdentityServiceProvider.Types.DeleteUserPoolDomainRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DeleteUserPoolDomainResponse) => void): Request; - /** - * Deletes a domain for a user pool. - */ - deleteUserPoolDomain(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DeleteUserPoolDomainResponse) => void): Request; - /** - * Gets information about a specific identity provider. - */ - describeIdentityProvider(params: CognitoIdentityServiceProvider.Types.DescribeIdentityProviderRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DescribeIdentityProviderResponse) => void): Request; - /** - * Gets information about a specific identity provider. - */ - describeIdentityProvider(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DescribeIdentityProviderResponse) => void): Request; - /** - * Describes the user import job. - */ - describeUserImportJob(params: CognitoIdentityServiceProvider.Types.DescribeUserImportJobRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DescribeUserImportJobResponse) => void): Request; - /** - * Describes the user import job. - */ - describeUserImportJob(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DescribeUserImportJobResponse) => void): Request; - /** - * Returns the configuration information and metadata of the specified user pool. - */ - describeUserPool(params: CognitoIdentityServiceProvider.Types.DescribeUserPoolRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DescribeUserPoolResponse) => void): Request; - /** - * Returns the configuration information and metadata of the specified user pool. - */ - describeUserPool(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DescribeUserPoolResponse) => void): Request; - /** - * Client method for returning the configuration information and metadata of the specified user pool client. - */ - describeUserPoolClient(params: CognitoIdentityServiceProvider.Types.DescribeUserPoolClientRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DescribeUserPoolClientResponse) => void): Request; - /** - * Client method for returning the configuration information and metadata of the specified user pool client. - */ - describeUserPoolClient(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DescribeUserPoolClientResponse) => void): Request; - /** - * Gets information about a domain. - */ - describeUserPoolDomain(params: CognitoIdentityServiceProvider.Types.DescribeUserPoolDomainRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DescribeUserPoolDomainResponse) => void): Request; - /** - * Gets information about a domain. - */ - describeUserPoolDomain(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.DescribeUserPoolDomainResponse) => void): Request; - /** - * Forgets the specified device. - */ - forgetDevice(params: CognitoIdentityServiceProvider.Types.ForgetDeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Forgets the specified device. - */ - forgetDevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username parameter, you can use the username or user alias. If a verified phone number exists for the user, the confirmation code is sent to the phone number. Otherwise, if a verified email exists, the confirmation code is sent to the email. If neither a verified phone number nor a verified email exists, InvalidParameterException is thrown. To use the confirmation code for resetting the password, call ConfirmForgotPassword. - */ - forgotPassword(params: CognitoIdentityServiceProvider.Types.ForgotPasswordRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ForgotPasswordResponse) => void): Request; - /** - * Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username parameter, you can use the username or user alias. If a verified phone number exists for the user, the confirmation code is sent to the phone number. Otherwise, if a verified email exists, the confirmation code is sent to the email. If neither a verified phone number nor a verified email exists, InvalidParameterException is thrown. To use the confirmation code for resetting the password, call ConfirmForgotPassword. - */ - forgotPassword(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ForgotPasswordResponse) => void): Request; - /** - * Gets the header information for the .csv file to be used as input for the user import job. - */ - getCSVHeader(params: CognitoIdentityServiceProvider.Types.GetCSVHeaderRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetCSVHeaderResponse) => void): Request; - /** - * Gets the header information for the .csv file to be used as input for the user import job. - */ - getCSVHeader(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetCSVHeaderResponse) => void): Request; - /** - * Gets the device. - */ - getDevice(params: CognitoIdentityServiceProvider.Types.GetDeviceRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetDeviceResponse) => void): Request; - /** - * Gets the device. - */ - getDevice(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetDeviceResponse) => void): Request; - /** - * Gets a group. Requires developer credentials. - */ - getGroup(params: CognitoIdentityServiceProvider.Types.GetGroupRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetGroupResponse) => void): Request; - /** - * Gets a group. Requires developer credentials. - */ - getGroup(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetGroupResponse) => void): Request; - /** - * Gets the specified identity provider. - */ - getIdentityProviderByIdentifier(params: CognitoIdentityServiceProvider.Types.GetIdentityProviderByIdentifierRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetIdentityProviderByIdentifierResponse) => void): Request; - /** - * Gets the specified identity provider. - */ - getIdentityProviderByIdentifier(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetIdentityProviderByIdentifierResponse) => void): Request; - /** - * Gets the user attributes and metadata for a user. - */ - getUser(params: CognitoIdentityServiceProvider.Types.GetUserRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetUserResponse) => void): Request; - /** - * Gets the user attributes and metadata for a user. - */ - getUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetUserResponse) => void): Request; - /** - * Gets the user attribute verification code for the specified attribute name. - */ - getUserAttributeVerificationCode(params: CognitoIdentityServiceProvider.Types.GetUserAttributeVerificationCodeRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetUserAttributeVerificationCodeResponse) => void): Request; - /** - * Gets the user attribute verification code for the specified attribute name. - */ - getUserAttributeVerificationCode(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetUserAttributeVerificationCodeResponse) => void): Request; - /** - * Signs out users from all devices. - */ - globalSignOut(params: CognitoIdentityServiceProvider.Types.GlobalSignOutRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GlobalSignOutResponse) => void): Request; - /** - * Signs out users from all devices. - */ - globalSignOut(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GlobalSignOutResponse) => void): Request; - /** - * Initiates the authentication flow. - */ - initiateAuth(params: CognitoIdentityServiceProvider.Types.InitiateAuthRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.InitiateAuthResponse) => void): Request; - /** - * Initiates the authentication flow. - */ - initiateAuth(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.InitiateAuthResponse) => void): Request; - /** - * Lists the devices. - */ - listDevices(params: CognitoIdentityServiceProvider.Types.ListDevicesRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListDevicesResponse) => void): Request; - /** - * Lists the devices. - */ - listDevices(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListDevicesResponse) => void): Request; - /** - * Lists the groups associated with a user pool. Requires developer credentials. - */ - listGroups(params: CognitoIdentityServiceProvider.Types.ListGroupsRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListGroupsResponse) => void): Request; - /** - * Lists the groups associated with a user pool. Requires developer credentials. - */ - listGroups(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListGroupsResponse) => void): Request; - /** - * Lists information about all identity providers for a user pool. - */ - listIdentityProviders(params: CognitoIdentityServiceProvider.Types.ListIdentityProvidersRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListIdentityProvidersResponse) => void): Request; - /** - * Lists information about all identity providers for a user pool. - */ - listIdentityProviders(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListIdentityProvidersResponse) => void): Request; - /** - * Lists the user import jobs. - */ - listUserImportJobs(params: CognitoIdentityServiceProvider.Types.ListUserImportJobsRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUserImportJobsResponse) => void): Request; - /** - * Lists the user import jobs. - */ - listUserImportJobs(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUserImportJobsResponse) => void): Request; - /** - * Lists the clients that have been created for the specified user pool. - */ - listUserPoolClients(params: CognitoIdentityServiceProvider.Types.ListUserPoolClientsRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUserPoolClientsResponse) => void): Request; - /** - * Lists the clients that have been created for the specified user pool. - */ - listUserPoolClients(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUserPoolClientsResponse) => void): Request; - /** - * Lists the user pools associated with an AWS account. - */ - listUserPools(params: CognitoIdentityServiceProvider.Types.ListUserPoolsRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUserPoolsResponse) => void): Request; - /** - * Lists the user pools associated with an AWS account. - */ - listUserPools(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUserPoolsResponse) => void): Request; - /** - * Lists the users in the Amazon Cognito user pool. - */ - listUsers(params: CognitoIdentityServiceProvider.Types.ListUsersRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUsersResponse) => void): Request; - /** - * Lists the users in the Amazon Cognito user pool. - */ - listUsers(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUsersResponse) => void): Request; - /** - * Lists the users in the specified group. Requires developer credentials. - */ - listUsersInGroup(params: CognitoIdentityServiceProvider.Types.ListUsersInGroupRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUsersInGroupResponse) => void): Request; - /** - * Lists the users in the specified group. Requires developer credentials. - */ - listUsersInGroup(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUsersInGroupResponse) => void): Request; - /** - * Resends the confirmation (for confirmation of registration) to a specific user in the user pool. - */ - resendConfirmationCode(params: CognitoIdentityServiceProvider.Types.ResendConfirmationCodeRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ResendConfirmationCodeResponse) => void): Request; - /** - * Resends the confirmation (for confirmation of registration) to a specific user in the user pool. - */ - resendConfirmationCode(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ResendConfirmationCodeResponse) => void): Request; - /** - * Responds to the authentication challenge. - */ - respondToAuthChallenge(params: CognitoIdentityServiceProvider.Types.RespondToAuthChallengeRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.RespondToAuthChallengeResponse) => void): Request; - /** - * Responds to the authentication challenge. - */ - respondToAuthChallenge(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.RespondToAuthChallengeResponse) => void): Request; - /** - * Sets the user settings like multi-factor authentication (MFA). If MFA is to be removed for a particular attribute pass the attribute with code delivery as null. If null list is passed, all MFA options are removed. - */ - setUserSettings(params: CognitoIdentityServiceProvider.Types.SetUserSettingsRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetUserSettingsResponse) => void): Request; - /** - * Sets the user settings like multi-factor authentication (MFA). If MFA is to be removed for a particular attribute pass the attribute with code delivery as null. If null list is passed, all MFA options are removed. - */ - setUserSettings(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetUserSettingsResponse) => void): Request; - /** - * Registers the user in the specified user pool and creates a user name, password, and user attributes. - */ - signUp(params: CognitoIdentityServiceProvider.Types.SignUpRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SignUpResponse) => void): Request; - /** - * Registers the user in the specified user pool and creates a user name, password, and user attributes. - */ - signUp(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SignUpResponse) => void): Request; - /** - * Starts the user import. - */ - startUserImportJob(params: CognitoIdentityServiceProvider.Types.StartUserImportJobRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.StartUserImportJobResponse) => void): Request; - /** - * Starts the user import. - */ - startUserImportJob(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.StartUserImportJobResponse) => void): Request; - /** - * Stops the user import job. - */ - stopUserImportJob(params: CognitoIdentityServiceProvider.Types.StopUserImportJobRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.StopUserImportJobResponse) => void): Request; - /** - * Stops the user import job. - */ - stopUserImportJob(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.StopUserImportJobResponse) => void): Request; - /** - * Updates the device status. - */ - updateDeviceStatus(params: CognitoIdentityServiceProvider.Types.UpdateDeviceStatusRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateDeviceStatusResponse) => void): Request; - /** - * Updates the device status. - */ - updateDeviceStatus(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateDeviceStatusResponse) => void): Request; - /** - * Updates the specified group with the specified attributes. Requires developer credentials. - */ - updateGroup(params: CognitoIdentityServiceProvider.Types.UpdateGroupRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateGroupResponse) => void): Request; - /** - * Updates the specified group with the specified attributes. Requires developer credentials. - */ - updateGroup(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateGroupResponse) => void): Request; - /** - * Updates identity provider information for a user pool. - */ - updateIdentityProvider(params: CognitoIdentityServiceProvider.Types.UpdateIdentityProviderRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateIdentityProviderResponse) => void): Request; - /** - * Updates identity provider information for a user pool. - */ - updateIdentityProvider(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateIdentityProviderResponse) => void): Request; - /** - * Allows a user to update a specific attribute (one at a time). - */ - updateUserAttributes(params: CognitoIdentityServiceProvider.Types.UpdateUserAttributesRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserAttributesResponse) => void): Request; - /** - * Allows a user to update a specific attribute (one at a time). - */ - updateUserAttributes(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserAttributesResponse) => void): Request; - /** - * Updates the specified user pool with the specified attributes. - */ - updateUserPool(params: CognitoIdentityServiceProvider.Types.UpdateUserPoolRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolResponse) => void): Request; - /** - * Updates the specified user pool with the specified attributes. - */ - updateUserPool(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolResponse) => void): Request; - /** - * Allows the developer to update the specified user pool client and password policy. - */ - updateUserPoolClient(params: CognitoIdentityServiceProvider.Types.UpdateUserPoolClientRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolClientResponse) => void): Request; - /** - * Allows the developer to update the specified user pool client and password policy. - */ - updateUserPoolClient(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolClientResponse) => void): Request; - /** - * Verifies the specified user attributes in the user pool. - */ - verifyUserAttribute(params: CognitoIdentityServiceProvider.Types.VerifyUserAttributeRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.VerifyUserAttributeResponse) => void): Request; - /** - * Verifies the specified user attributes in the user pool. - */ - verifyUserAttribute(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.VerifyUserAttributeResponse) => void): Request; -} -declare namespace CognitoIdentityServiceProvider { - export type AWSAccountIdType = string; - export interface AddCustomAttributesRequest { - /** - * The user pool ID for the user pool where you want to add custom attributes. - */ - UserPoolId: UserPoolIdType; - /** - * An array of custom attributes, such as Mutable and Name. - */ - CustomAttributes: CustomAttributesListType; - } - export interface AddCustomAttributesResponse { - } - export interface AdminAddUserToGroupRequest { - /** - * The user pool ID for the user pool. - */ - UserPoolId: UserPoolIdType; - /** - * The username for the user. - */ - Username: UsernameType; - /** - * The group name. - */ - GroupName: GroupNameType; - } - export interface AdminConfirmSignUpRequest { - /** - * The user pool ID for which you want to confirm user registration. - */ - UserPoolId: UserPoolIdType; - /** - * The user name for which you want to confirm user registration. - */ - Username: UsernameType; - } - export interface AdminConfirmSignUpResponse { - } - export interface AdminCreateUserConfigType { - /** - * Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app. - */ - AllowAdminCreateUserOnly?: BooleanType; - /** - * The user account expiration limit, in days, after which the account is no longer usable. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. The default value for this parameter is 7. - */ - UnusedAccountValidityDays?: AdminCreateUserUnusedAccountValidityDaysType; - /** - * The message template to be used for the welcome message to new users. - */ - InviteMessageTemplate?: MessageTemplateType; - } - export interface AdminCreateUserRequest { - /** - * The user pool ID for the user pool where the user will be created. - */ - UserPoolId: UserPoolIdType; - /** - * The username for the user. Must be unique within the user pool. Must be a UTF-8 string between 1 and 128 characters. After the user is created, the username cannot be changed. - */ - Username: UsernameType; - /** - * An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than Username. However, any attributes that you specify as required (in CreateUserPool or in the Attributes tab of the console) must be supplied either by you (in your call to AdminCreateUser) or by the user (when he or she signs up in response to your welcome message). For custom attributes, you must prepend the custom: prefix to the attribute name. To send a message inviting the user to sign up, you must specify the user's email address or phone number. This can be done in your call to AdminCreateUser or in the Users tab of the Amazon Cognito console for managing your user pools. In your call to AdminCreateUser, you can set the email_verified attribute to True, and you can set the phone_number_verified attribute to True. (You can also do this by calling AdminUpdateUserAttributes.) email: The email address of the user to whom the message that contains the code and username will be sent. Required if the email_verified attribute is set to True, or if "EMAIL" is specified in the DesiredDeliveryMediums parameter. phone_number: The phone number of the user to whom the message that contains the code and username will be sent. Required if the phone_number_verified attribute is set to True, or if "SMS" is specified in the DesiredDeliveryMediums parameter. - */ - UserAttributes?: AttributeListType; - /** - * The user's validation data. This is an array of name-value pairs that contain user attributes and attribute values that you can use for custom validation, such as restricting the types of user accounts that can be registered. For example, you might choose to allow or disallow user sign-up based on the user's domain. To configure custom validation, you must create a Pre Sign-up Lambda trigger for the user pool as described in the Amazon Cognito Developer Guide. The Lambda trigger receives the validation data and uses it in the validation process. The user's validation data is not persisted. - */ - ValidationData?: AttributeListType; - /** - * The user's temporary password. This password must conform to the password policy that you specified when you created the user pool. The temporary password is valid only once. To complete the Admin Create User flow, the user must enter the temporary password in the sign-in page along with a new password to be used in all future sign-ins. This parameter is not required. If you do not specify a value, Amazon Cognito generates one for you. The temporary password can only be used until the user account expiration limit that you specified when you created the user pool. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. - */ - TemporaryPassword?: PasswordType; - /** - * This parameter is only used if the phone_number_verified or email_verified attribute is set to True. Otherwise, it is ignored. If this parameter is set to True and the phone number or email address specified in the UserAttributes parameter already exists as an alias with a different user, the API call will migrate the alias from the previous user to the newly created user. The previous user will no longer be able to log in using that alias. If this parameter is set to False, the API throws an AliasExistsException error if the alias already exists. The default value is False. - */ - ForceAliasCreation?: ForceAliasCreation; - /** - * Set to "RESEND" to resend the invitation message to a user that already exists and reset the expiration limit on the user's account. Set to "SUPPRESS" to suppress sending the message. Only one value can be specified. - */ - MessageAction?: MessageActionType; - /** - * Specify "EMAIL" if email will be used to send the welcome message. Specify "SMS" if the phone number will be used. The default value is "SMS". More than one value can be specified. - */ - DesiredDeliveryMediums?: DeliveryMediumListType; - } - export interface AdminCreateUserResponse { - /** - * The user returned in the request to create a new user. - */ - User?: UserType; - } - export type AdminCreateUserUnusedAccountValidityDaysType = number; - export interface AdminDeleteUserAttributesRequest { - /** - * The user pool ID for the user pool where you want to delete user attributes. - */ - UserPoolId: UserPoolIdType; - /** - * The user name of the user from which you would like to delete attributes. - */ - Username: UsernameType; - /** - * An array of strings representing the user attribute names you wish to delete. For custom attributes, you must prepend the custom: prefix to the attribute name. - */ - UserAttributeNames: AttributeNameListType; - } - export interface AdminDeleteUserAttributesResponse { - } - export interface AdminDeleteUserRequest { - /** - * The user pool ID for the user pool where you want to delete the user. - */ - UserPoolId: UserPoolIdType; - /** - * The user name of the user you wish to delete. - */ - Username: UsernameType; - } - export interface AdminDisableUserRequest { - /** - * The user pool ID for the user pool where you want to disable the user. - */ - UserPoolId: UserPoolIdType; - /** - * The user name of the user you wish to disable. - */ - Username: UsernameType; - } - export interface AdminDisableUserResponse { - } - export interface AdminEnableUserRequest { - /** - * The user pool ID for the user pool where you want to enable the user. - */ - UserPoolId: UserPoolIdType; - /** - * The user name of the user you wish to enable. - */ - Username: UsernameType; - } - export interface AdminEnableUserResponse { - } - export interface AdminForgetDeviceRequest { - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The user name. - */ - Username: UsernameType; - /** - * The device key. - */ - DeviceKey: DeviceKeyType; - } - export interface AdminGetDeviceRequest { - /** - * The device key. - */ - DeviceKey: DeviceKeyType; - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The user name. - */ - Username: UsernameType; - } - export interface AdminGetDeviceResponse { - /** - * The device. - */ - Device: DeviceType; - } - export interface AdminGetUserRequest { - /** - * The user pool ID for the user pool where you want to get information about the user. - */ - UserPoolId: UserPoolIdType; - /** - * The user name of the user you wish to retrieve. - */ - Username: UsernameType; - } - export interface AdminGetUserResponse { - /** - * The user name of the user about whom you are receiving information. - */ - Username: UsernameType; - /** - * An array of name-value pairs representing user attributes. - */ - UserAttributes?: AttributeListType; - /** - * The date the user was created. - */ - UserCreateDate?: DateType; - /** - * The date the user was last modified. - */ - UserLastModifiedDate?: DateType; - /** - * Indicates that the status is enabled. - */ - Enabled?: BooleanType; - /** - * The user status. Can be one of the following: UNCONFIRMED - User has been created but not confirmed. CONFIRMED - User has been confirmed. ARCHIVED - User is no longer active. COMPROMISED - User is disabled due to a potential security threat. UNKNOWN - User status is not known. - */ - UserStatus?: UserStatusType; - /** - * Specifies the options for MFA (e.g., email or phone number). - */ - MFAOptions?: MFAOptionListType; - } - export interface AdminInitiateAuthRequest { - /** - * The ID of the Amazon Cognito user pool. - */ - UserPoolId: UserPoolIdType; - /** - * The app client ID. - */ - ClientId: ClientIdType; - /** - * The authentication flow for this call to execute. The API action will depend on this value. For example: REFRESH_TOKEN_AUTH will take in a valid refresh token and return new tokens. USER_SRP_AUTH will take in USERNAME and SRPA and return the SRP variables to be used for next challenge execution. Valid values include: USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP) protocol. REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token. CUSTOM_AUTH: Custom authentication flow. ADMIN_NO_SRP_AUTH: Non-SRP authentication flow; you can pass in the USERNAME and PASSWORD directly if the flow is enabled for calling the app client. - */ - AuthFlow: AuthFlowType; - /** - * The authentication parameters. These are inputs corresponding to the AuthFlow that you are invoking. The required values depend on the value of AuthFlow: For USER_SRP_AUTH: USERNAME (required), SRPA (required), SECRET_HASH (required if the app client is configured with a client secret), DEVICE_KEY For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: USERNAME (required), SECRET_HASH (required if the app client is configured with a client secret), REFRESH_TOKEN (required), DEVICE_KEY For ADMIN_NO_SRP_AUTH: USERNAME (required), SECRET_HASH (if app client is configured with client secret), PASSWORD (required), DEVICE_KEY For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is configured with client secret), DEVICE_KEY - */ - AuthParameters?: AuthParametersType; - /** - * This is a random key-value pair map which can contain any key and will be passed to your PreAuthentication Lambda trigger as-is. It can be used to implement additional validations around authentication. - */ - ClientMetadata?: ClientMetadataType; - } - export interface AdminInitiateAuthResponse { - /** - * The name of the challenge which you are responding to with this call. This is returned to you in the AdminInitiateAuth response if you need to pass another challenge. SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via SMS. PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations. CUSTOM_CHALLENGE: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued. DEVICE_SRP_AUTH: If device tracking was enabled on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device. DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices only. ADMIN_NO_SRP_AUTH: This is returned if you need to authenticate with USERNAME and PASSWORD directly. An app client must be enabled to use this flow. NEW_PASSWORD_REQUIRED: For users which are required to change their passwords after successful first login. This challenge should be passed with NEW_PASSWORD and any other required attributes. - */ - ChallengeName?: ChallengeNameType; - /** - * The session which should be passed both ways in challenge-response calls to the service. If AdminInitiateAuth or AdminRespondToAuthChallenge API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next AdminRespondToAuthChallenge API call. - */ - Session?: SessionType; - /** - * The challenge parameters. These are returned to you in the AdminInitiateAuth response if you need to pass another challenge. The responses in this parameter should be used to compute inputs to the next call (AdminRespondToAuthChallenge). All challenges require USERNAME and SECRET_HASH (if applicable). The value of the USER_IF_FOR_SRP attribute will be the user's actual username, not an alias (such as email address or phone number), even if you specified an alias in your call to AdminInitiateAuth. This is because, in the AdminRespondToAuthChallenge API ChallengeResponses, the USERNAME attribute cannot be an alias. - */ - ChallengeParameters?: ChallengeParametersType; - /** - * The result of the authentication response. This is only returned if the caller does not need to pass another challenge. If the caller does need to pass another challenge before it gets tokens, ChallengeName, ChallengeParameters, and Session are returned. - */ - AuthenticationResult?: AuthenticationResultType; - } - export interface AdminListDevicesRequest { - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The user name. - */ - Username: UsernameType; - /** - * The limit of the devices request. - */ - Limit?: QueryLimitType; - /** - * The pagination token. - */ - PaginationToken?: SearchPaginationTokenType; - } - export interface AdminListDevicesResponse { - /** - * The devices in the list of devices response. - */ - Devices?: DeviceListType; - /** - * The pagination token. - */ - PaginationToken?: SearchPaginationTokenType; - } - export interface AdminListGroupsForUserRequest { - /** - * The username for the user. - */ - Username: UsernameType; - /** - * The user pool ID for the user pool. - */ - UserPoolId: UserPoolIdType; - /** - * The limit of the request to list groups. - */ - Limit?: QueryLimitType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - NextToken?: PaginationKey; - } - export interface AdminListGroupsForUserResponse { - /** - * The groups that the user belongs to. - */ - Groups?: GroupListType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - NextToken?: PaginationKey; - } - export interface AdminRemoveUserFromGroupRequest { - /** - * The user pool ID for the user pool. - */ - UserPoolId: UserPoolIdType; - /** - * The username for the user. - */ - Username: UsernameType; - /** - * The group name. - */ - GroupName: GroupNameType; - } - export interface AdminResetUserPasswordRequest { - /** - * The user pool ID for the user pool where you want to reset the user's password. - */ - UserPoolId: UserPoolIdType; - /** - * The user name of the user whose password you wish to reset. - */ - Username: UsernameType; - } - export interface AdminResetUserPasswordResponse { - } - export interface AdminRespondToAuthChallengeRequest { - /** - * The ID of the Amazon Cognito user pool. - */ - UserPoolId: UserPoolIdType; - /** - * The app client ID. - */ - ClientId: ClientIdType; - /** - * The challenge name. For more information, see AdminInitiateAuth. - */ - ChallengeName: ChallengeNameType; - /** - * The challenge responses. These are inputs corresponding to the value of ChallengeName, for example: SMS_MFA: SMS_MFA_CODE, USERNAME, SECRET_HASH (if app client is configured with client secret). PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, TIMESTAMP, USERNAME, SECRET_HASH (if app client is configured with client secret). ADMIN_NO_SRP_AUTH: PASSWORD, USERNAME, SECRET_HASH (if app client is configured with client secret). NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, USERNAME, SECRET_HASH (if app client is configured with client secret). The value of the USERNAME attribute must be the user's actual username, not an alias (such as email address or phone number). To make this easier, the AdminInitiateAuth response includes the actual username value in the USERNAMEUSER_ID_FOR_SRP attribute, even if you specified an alias in your call to AdminInitiateAuth. - */ - ChallengeResponses?: ChallengeResponsesType; - /** - * The session which should be passed both ways in challenge-response calls to the service. If InitiateAuth or RespondToAuthChallenge API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. - */ - Session?: SessionType; - } - export interface AdminRespondToAuthChallengeResponse { - /** - * The name of the challenge. For more information, see AdminInitiateAuth. - */ - ChallengeName?: ChallengeNameType; - /** - * The session which should be passed both ways in challenge-response calls to the service. If the InitiateAuth or RespondToAuthChallenge API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. - */ - Session?: SessionType; - /** - * The challenge parameters. For more information, see AdminInitiateAuth. - */ - ChallengeParameters?: ChallengeParametersType; - /** - * The result returned by the server in response to the authentication request. - */ - AuthenticationResult?: AuthenticationResultType; - } - export interface AdminSetUserSettingsRequest { - /** - * The user pool ID for the user pool where you want to set the user's settings, such as MFA options. - */ - UserPoolId: UserPoolIdType; - /** - * The user name of the user for whom you wish to set user settings. - */ - Username: UsernameType; - /** - * Specifies the options for MFA (e.g., email or phone number). - */ - MFAOptions: MFAOptionListType; - } - export interface AdminSetUserSettingsResponse { - } - export interface AdminUpdateDeviceStatusRequest { - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The user name. - */ - Username: UsernameType; - /** - * The device key. - */ - DeviceKey: DeviceKeyType; - /** - * The status indicating whether a device has been remembered or not. - */ - DeviceRememberedStatus?: DeviceRememberedStatusType; - } - export interface AdminUpdateDeviceStatusResponse { - } - export interface AdminUpdateUserAttributesRequest { - /** - * The user pool ID for the user pool where you want to update user attributes. - */ - UserPoolId: UserPoolIdType; - /** - * The user name of the user for whom you want to update user attributes. - */ - Username: UsernameType; - /** - * An array of name-value pairs representing user attributes. For custom attributes, you must prepend the custom: prefix to the attribute name. - */ - UserAttributes: AttributeListType; - } - export interface AdminUpdateUserAttributesResponse { - } - export interface AdminUserGlobalSignOutRequest { - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The user name. - */ - Username: UsernameType; - } - export interface AdminUserGlobalSignOutResponse { - } - export type AliasAttributeType = "phone_number"|"email"|"preferred_username"|string; - export type AliasAttributesListType = AliasAttributeType[]; - export type ArnType = string; - export type AttributeDataType = "String"|"Number"|"DateTime"|"Boolean"|string; - export type AttributeListType = AttributeType[]; - export type AttributeMappingType = {[key: string]: StringType}; - export type AttributeNameListType = AttributeNameType[]; - export type AttributeNameType = string; - export interface AttributeType { - /** - * The name of the attribute. - */ - Name: AttributeNameType; - /** - * The value of the attribute. - */ - Value?: AttributeValueType; - } - export type AttributeValueType = string; - export type AuthFlowType = "USER_SRP_AUTH"|"REFRESH_TOKEN_AUTH"|"REFRESH_TOKEN"|"CUSTOM_AUTH"|"ADMIN_NO_SRP_AUTH"|string; - export type AuthParametersType = {[key: string]: StringType}; - export interface AuthenticationResultType { - /** - * The access token of the authentication result. - */ - AccessToken?: TokenModelType; - /** - * The expiration period of the authentication result. - */ - ExpiresIn?: IntegerType; - /** - * The token type of the authentication result. - */ - TokenType?: StringType; - /** - * The refresh token of the authentication result. - */ - RefreshToken?: TokenModelType; - /** - * The ID token of the authentication result. - */ - IdToken?: TokenModelType; - /** - * The new device metadata from an authentication result. - */ - NewDeviceMetadata?: NewDeviceMetadataType; - } - export type BooleanType = boolean; - export type CallbackURLsListType = RedirectUrlType[]; - export type ChallengeNameType = "SMS_MFA"|"PASSWORD_VERIFIER"|"CUSTOM_CHALLENGE"|"DEVICE_SRP_AUTH"|"DEVICE_PASSWORD_VERIFIER"|"ADMIN_NO_SRP_AUTH"|"NEW_PASSWORD_REQUIRED"|string; - export type ChallengeParametersType = {[key: string]: StringType}; - export type ChallengeResponsesType = {[key: string]: StringType}; - export interface ChangePasswordRequest { - /** - * The old password in the change password request. - */ - PreviousPassword: PasswordType; - /** - * The new password in the change password request. - */ - ProposedPassword: PasswordType; - /** - * The access token in the change password request. - */ - AccessToken: TokenModelType; - } - export interface ChangePasswordResponse { - } - export type ClientIdType = string; - export type ClientMetadataType = {[key: string]: StringType}; - export type ClientNameType = string; - export type ClientPermissionListType = ClientPermissionType[]; - export type ClientPermissionType = string; - export type ClientSecretType = string; - export type CodeDeliveryDetailsListType = CodeDeliveryDetailsType[]; - export interface CodeDeliveryDetailsType { - /** - * The destination for the code delivery details. - */ - Destination?: StringType; - /** - * The delivery medium (email message or phone number). - */ - DeliveryMedium?: DeliveryMediumType; - /** - * The name of the attribute in the code delivery details type. - */ - AttributeName?: AttributeNameType; - } - export type CompletionMessageType = string; - export interface ConfirmDeviceRequest { - /** - * The access token. - */ - AccessToken: TokenModelType; - /** - * The device key. - */ - DeviceKey: DeviceKeyType; - /** - * The configuration of the device secret verifier. - */ - DeviceSecretVerifierConfig?: DeviceSecretVerifierConfigType; - /** - * The device name. - */ - DeviceName?: DeviceNameType; - } - export interface ConfirmDeviceResponse { - /** - * Indicates whether the user confirmation is necessary to confirm the device response. - */ - UserConfirmationNecessary?: BooleanType; - } - export interface ConfirmForgotPasswordRequest { - /** - * The ID of the client associated with the user pool. - */ - ClientId: ClientIdType; - /** - * A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message. - */ - SecretHash?: SecretHashType; - /** - * The user name of the user for whom you want to enter a code to retrieve a forgotten password. - */ - Username: UsernameType; - /** - * The confirmation code sent by a user's request to retrieve a forgotten password. For more information, see ForgotPassword - */ - ConfirmationCode: ConfirmationCodeType; - /** - * The password sent by a user's request to retrieve a forgotten password. - */ - Password: PasswordType; - } - export interface ConfirmForgotPasswordResponse { - } - export interface ConfirmSignUpRequest { - /** - * The ID of the client associated with the user pool. - */ - ClientId: ClientIdType; - /** - * A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message. - */ - SecretHash?: SecretHashType; - /** - * The user name of the user whose registration you wish to confirm. - */ - Username: UsernameType; - /** - * The confirmation code sent by a user's request to confirm registration. - */ - ConfirmationCode: ConfirmationCodeType; - /** - * Boolean to be specified to force user confirmation irrespective of existing alias. By default set to False. If this parameter is set to True and the phone number/email used for sign up confirmation already exists as an alias with a different user, the API call will migrate the alias from the previous user to the newly created user being confirmed. If set to False, the API will throw an AliasExistsException error. - */ - ForceAliasCreation?: ForceAliasCreation; - } - export interface ConfirmSignUpResponse { - } - export type ConfirmationCodeType = string; - export interface CreateGroupRequest { - /** - * The name of the group. Must be unique. - */ - GroupName: GroupNameType; - /** - * The user pool ID for the user pool. - */ - UserPoolId: UserPoolIdType; - /** - * A string containing the description of the group. - */ - Description?: DescriptionType; - /** - * The role ARN for the group. - */ - RoleArn?: ArnType; - /** - * A nonnegative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool. Zero is the highest precedence value. Groups with lower Precedence values take precedence over groups with higher or null Precedence values. If a user belongs to two or more groups, it is the group with the lowest precedence value whose role ARN will be used in the cognito:roles and cognito:preferred_role claims in the user's tokens. Two groups can have the same Precedence value. If this happens, neither group takes precedence over the other. If two groups with the same Precedence have the same role ARN, that role is used in the cognito:preferred_role claim in tokens for users in each group. If the two groups have different role ARNs, the cognito:preferred_role claim is not set in users' tokens. The default Precedence value is null. - */ - Precedence?: PrecedenceType; - } - export interface CreateGroupResponse { - /** - * The group object for the group. - */ - Group?: GroupType; - } - export interface CreateIdentityProviderRequest { - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The identity provider name. - */ - ProviderName: ProviderNameType; - /** - * The identity provider type. - */ - ProviderType: IdentityProviderTypeType; - /** - * The identity provider details, such as MetadataURL and MetadataFile. - */ - ProviderDetails: ProviderDetailsType; - /** - * A mapping of identity provider attributes to standard and custom user pool attributes. - */ - AttributeMapping?: AttributeMappingType; - /** - * A list of identity provider identifiers. - */ - IdpIdentifiers?: IdpIdentifiersListType; - } - export interface CreateIdentityProviderResponse { - /** - * The newly created identity provider object. - */ - IdentityProvider: IdentityProviderType; - } - export interface CreateUserImportJobRequest { - /** - * The job name for the user import job. - */ - JobName: UserImportJobNameType; - /** - * The user pool ID for the user pool that the users are being imported into. - */ - UserPoolId: UserPoolIdType; - /** - * The role ARN for the Amazon CloudWatch Logging role for the user import job. - */ - CloudWatchLogsRoleArn: ArnType; - } - export interface CreateUserImportJobResponse { - /** - * The job object that represents the user import job. - */ - UserImportJob?: UserImportJobType; - } - export interface CreateUserPoolClientRequest { - /** - * The user pool ID for the user pool where you want to create a user pool client. - */ - UserPoolId: UserPoolIdType; - /** - * The client name for the user pool client you would like to create. - */ - ClientName: ClientNameType; - /** - * Boolean to specify whether you want to generate a secret for the user pool client being created. - */ - GenerateSecret?: GenerateSecret; - /** - * The time limit, in days, after which the refresh token is no longer valid and cannot be used. - */ - RefreshTokenValidity?: RefreshTokenValidityType; - /** - * The read attributes. - */ - ReadAttributes?: ClientPermissionListType; - /** - * The write attributes. - */ - WriteAttributes?: ClientPermissionListType; - /** - * The explicit authentication flows. - */ - ExplicitAuthFlows?: ExplicitAuthFlowsListType; - /** - * A list of provider names for the identity providers that are supported on this client. - */ - SupportedIdentityProviders?: SupportedIdentityProvidersListType; - /** - * A list of allowed callback URLs for the identity providers. - */ - CallbackURLs?: CallbackURLsListType; - /** - * A list of allowed logout URLs for the identity providers. - */ - LogoutURLs?: LogoutURLsListType; - /** - * The default redirect URI. Must be in the CallbackURLs list. - */ - DefaultRedirectURI?: RedirectUrlType; - /** - * Set to code to initiate a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the token endpoint. Set to token to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly. - */ - AllowedOAuthFlows?: OAuthFlowsType; - /** - * A list of allowed OAuth scopes. Currently supported values are "phone", "email", "openid", and "Cognito". - */ - AllowedOAuthScopes?: ScopeListType; - /** - * Set to True if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools. - */ - AllowedOAuthFlowsUserPoolClient?: BooleanType; - } - export interface CreateUserPoolClientResponse { - /** - * The user pool client that was just created. - */ - UserPoolClient?: UserPoolClientType; - } - export interface CreateUserPoolDomainRequest { - /** - * The domain string. - */ - Domain: DomainType; - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - } - export interface CreateUserPoolDomainResponse { - } - export interface CreateUserPoolRequest { - /** - * A string used to name the user pool. - */ - PoolName: UserPoolNameType; - /** - * The policies associated with the new user pool. - */ - Policies?: UserPoolPolicyType; - /** - * The Lambda trigger configuration information for the new user pool. - */ - LambdaConfig?: LambdaConfigType; - /** - * The attributes to be auto-verified. Possible values: email, phone_number. - */ - AutoVerifiedAttributes?: VerifiedAttributesListType; - /** - * Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username. - */ - AliasAttributes?: AliasAttributesListType; - /** - * A string representing the SMS verification message. - */ - SmsVerificationMessage?: SmsVerificationMessageType; - /** - * A string representing the email verification message. - */ - EmailVerificationMessage?: EmailVerificationMessageType; - /** - * A string representing the email verification subject. - */ - EmailVerificationSubject?: EmailVerificationSubjectType; - /** - * A string representing the SMS authentication message. - */ - SmsAuthenticationMessage?: SmsVerificationMessageType; - /** - * Specifies MFA configuration details. - */ - MfaConfiguration?: UserPoolMfaType; - /** - * The device configuration. - */ - DeviceConfiguration?: DeviceConfigurationType; - /** - * The email configuration. - */ - EmailConfiguration?: EmailConfigurationType; - /** - * The SMS configuration. - */ - SmsConfiguration?: SmsConfigurationType; - /** - * The cost allocation tags for the user pool. For more information, see Adding Cost Allocation Tags to Your User Pool - */ - UserPoolTags?: UserPoolTagsType; - /** - * The configuration for AdminCreateUser requests. - */ - AdminCreateUserConfig?: AdminCreateUserConfigType; - /** - * An array of schema attributes for the new user pool. These attributes can be standard or custom attributes. - */ - Schema?: SchemaAttributesListType; - } - export interface CreateUserPoolResponse { - /** - * A container for the user pool details. - */ - UserPool?: UserPoolType; - } - export type CustomAttributeNameType = string; - export type CustomAttributesListType = SchemaAttributeType[]; - export type DateType = Date; - export interface DeleteGroupRequest { - /** - * The name of the group. - */ - GroupName: GroupNameType; - /** - * The user pool ID for the user pool. - */ - UserPoolId: UserPoolIdType; - } - export interface DeleteIdentityProviderRequest { - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The identity provider name. - */ - ProviderName: ProviderNameType; - } - export interface DeleteUserAttributesRequest { - /** - * An array of strings representing the user attribute names you wish to delete. For custom attributes, you must prepend the custom: prefix to the attribute name. - */ - UserAttributeNames: AttributeNameListType; - /** - * The access token used in the request to delete user attributes. - */ - AccessToken: TokenModelType; - } - export interface DeleteUserAttributesResponse { - } - export interface DeleteUserPoolClientRequest { - /** - * The user pool ID for the user pool where you want to delete the client. - */ - UserPoolId: UserPoolIdType; - /** - * The ID of the client associated with the user pool. - */ - ClientId: ClientIdType; - } - export interface DeleteUserPoolDomainRequest { - /** - * The domain string. - */ - Domain: DomainType; - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - } - export interface DeleteUserPoolDomainResponse { - } - export interface DeleteUserPoolRequest { - /** - * The user pool ID for the user pool you want to delete. - */ - UserPoolId: UserPoolIdType; - } - export interface DeleteUserRequest { - /** - * The access token from a request to delete a user. - */ - AccessToken: TokenModelType; - } - export type DeliveryMediumListType = DeliveryMediumType[]; - export type DeliveryMediumType = "SMS"|"EMAIL"|string; - export interface DescribeIdentityProviderRequest { - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The identity provider name. - */ - ProviderName: ProviderNameType; - } - export interface DescribeIdentityProviderResponse { - /** - * The identity provider that was deleted. - */ - IdentityProvider: IdentityProviderType; - } - export interface DescribeUserImportJobRequest { - /** - * The user pool ID for the user pool that the users are being imported into. - */ - UserPoolId: UserPoolIdType; - /** - * The job ID for the user import job. - */ - JobId: UserImportJobIdType; - } - export interface DescribeUserImportJobResponse { - /** - * The job object that represents the user import job. - */ - UserImportJob?: UserImportJobType; - } - export interface DescribeUserPoolClientRequest { - /** - * The user pool ID for the user pool you want to describe. - */ - UserPoolId: UserPoolIdType; - /** - * The ID of the client associated with the user pool. - */ - ClientId: ClientIdType; - } - export interface DescribeUserPoolClientResponse { - /** - * The user pool client from a server response to describe the user pool client. - */ - UserPoolClient?: UserPoolClientType; - } - export interface DescribeUserPoolDomainRequest { - /** - * The domain string. - */ - Domain: DomainType; - } - export interface DescribeUserPoolDomainResponse { - /** - * A domain description object containing information about the domain. - */ - DomainDescription?: DomainDescriptionType; - } - export interface DescribeUserPoolRequest { - /** - * The user pool ID for the user pool you want to describe. - */ - UserPoolId: UserPoolIdType; - } - export interface DescribeUserPoolResponse { - /** - * The container of metadata returned by the server to describe the pool. - */ - UserPool?: UserPoolType; - } - export type DescriptionType = string; - export interface DeviceConfigurationType { - /** - * Indicates whether a challenge is required on a new device. Only applicable to a new device. - */ - ChallengeRequiredOnNewDevice?: BooleanType; - /** - * If true, a device is only remembered on user prompt. - */ - DeviceOnlyRememberedOnUserPrompt?: BooleanType; - } - export type DeviceKeyType = string; - export type DeviceListType = DeviceType[]; - export type DeviceNameType = string; - export type DeviceRememberedStatusType = "remembered"|"not_remembered"|string; - export interface DeviceSecretVerifierConfigType { - /** - * The password verifier. - */ - PasswordVerifier?: StringType; - /** - * The salt. - */ - Salt?: StringType; - } - export interface DeviceType { - /** - * The device key. - */ - DeviceKey?: DeviceKeyType; - /** - * The device attributes. - */ - DeviceAttributes?: AttributeListType; - /** - * The creation date of the device. - */ - DeviceCreateDate?: DateType; - /** - * The last modified date of the device. - */ - DeviceLastModifiedDate?: DateType; - /** - * The date in which the device was last authenticated. - */ - DeviceLastAuthenticatedDate?: DateType; - } - export interface DomainDescriptionType { - /** - * The user pool ID. - */ - UserPoolId?: UserPoolIdType; - /** - * The AWS account ID for the user pool owner. - */ - AWSAccountId?: AWSAccountIdType; - /** - * The domain string. - */ - Domain?: DomainType; - /** - * The S3 bucket where the static files for this domain are stored. - */ - S3Bucket?: S3BucketType; - /** - * The ARN of the CloudFront distribution. - */ - CloudFrontDistribution?: ArnType; - /** - * The app version. - */ - Version?: DomainVersionType; - /** - * The domain status. - */ - Status?: DomainStatusType; - } - export type DomainStatusType = "CREATING"|"DELETING"|"UPDATING"|"ACTIVE"|string; - export type DomainType = string; - export type DomainVersionType = string; - export type EmailAddressType = string; - export interface EmailConfigurationType { - /** - * The Amazon Resource Name (ARN) of the email source. - */ - SourceArn?: ArnType; - /** - * The REPLY-TO email address. - */ - ReplyToEmailAddress?: EmailAddressType; - } - export type EmailVerificationMessageType = string; - export type EmailVerificationSubjectType = string; - export type ExplicitAuthFlowsListType = ExplicitAuthFlowsType[]; - export type ExplicitAuthFlowsType = "ADMIN_NO_SRP_AUTH"|"CUSTOM_AUTH_FLOW_ONLY"|string; - export type ForceAliasCreation = boolean; - export interface ForgetDeviceRequest { - /** - * The access token for the forgotten device request. - */ - AccessToken?: TokenModelType; - /** - * The device key. - */ - DeviceKey: DeviceKeyType; - } - export interface ForgotPasswordRequest { - /** - * The ID of the client associated with the user pool. - */ - ClientId: ClientIdType; - /** - * A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message. - */ - SecretHash?: SecretHashType; - /** - * The user name of the user for whom you want to enter a code to reset a forgotten password. - */ - Username: UsernameType; - } - export interface ForgotPasswordResponse { - /** - * The code delivery details returned by the server in response to the request to reset a password. - */ - CodeDeliveryDetails?: CodeDeliveryDetailsType; - } - export type GenerateSecret = boolean; - export interface GetCSVHeaderRequest { - /** - * The user pool ID for the user pool that the users are to be imported into. - */ - UserPoolId: UserPoolIdType; - } - export interface GetCSVHeaderResponse { - /** - * The user pool ID for the user pool that the users are to be imported into. - */ - UserPoolId?: UserPoolIdType; - /** - * The header information for the .csv file for the user import job. - */ - CSVHeader?: ListOfStringTypes; - } - export interface GetDeviceRequest { - /** - * The device key. - */ - DeviceKey: DeviceKeyType; - /** - * The access token. - */ - AccessToken?: TokenModelType; - } - export interface GetDeviceResponse { - /** - * The device. - */ - Device: DeviceType; - } - export interface GetGroupRequest { - /** - * The name of the group. - */ - GroupName: GroupNameType; - /** - * The user pool ID for the user pool. - */ - UserPoolId: UserPoolIdType; - } - export interface GetGroupResponse { - /** - * The group object for the group. - */ - Group?: GroupType; - } - export interface GetIdentityProviderByIdentifierRequest { - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The identity provider ID. - */ - IdpIdentifier: IdpIdentifierType; - } - export interface GetIdentityProviderByIdentifierResponse { - /** - * The identity provider object. - */ - IdentityProvider: IdentityProviderType; - } - export interface GetUserAttributeVerificationCodeRequest { - /** - * The access token returned by the server response to get the user attribute verification code. - */ - AccessToken: TokenModelType; - /** - * The attribute name returned by the server response to get the user attribute verification code. - */ - AttributeName: AttributeNameType; - } - export interface GetUserAttributeVerificationCodeResponse { - /** - * The code delivery details returned by the server in response to the request to get the user attribute verification code. - */ - CodeDeliveryDetails?: CodeDeliveryDetailsType; - } - export interface GetUserRequest { - /** - * The access token returned by the server response to get information about the user. - */ - AccessToken: TokenModelType; - } - export interface GetUserResponse { - /** - * The user name of the user you wish to retrieve from the get user request. - */ - Username: UsernameType; - /** - * An array of name-value pairs representing user attributes. For custom attributes, you must prepend the custom: prefix to the attribute name. - */ - UserAttributes: AttributeListType; - /** - * Specifies the options for MFA (e.g., email or phone number). - */ - MFAOptions?: MFAOptionListType; - } - export interface GlobalSignOutRequest { - /** - * The access token. - */ - AccessToken: TokenModelType; - } - export interface GlobalSignOutResponse { - } - export type GroupListType = GroupType[]; - export type GroupNameType = string; - export interface GroupType { - /** - * The name of the group. - */ - GroupName?: GroupNameType; - /** - * The user pool ID for the user pool. - */ - UserPoolId?: UserPoolIdType; - /** - * A string containing the description of the group. - */ - Description?: DescriptionType; - /** - * The role ARN for the group. - */ - RoleArn?: ArnType; - /** - * A nonnegative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool. If a user belongs to two or more groups, it is the group with the highest precedence whose role ARN will be used in the cognito:roles and cognito:preferred_role claims in the user's tokens. Groups with higher Precedence values take precedence over groups with lower Precedence values or with null Precedence values. Two groups can have the same Precedence value. If this happens, neither group takes precedence over the other. If two groups with the same Precedence have the same role ARN, that role is used in the cognito:preferred_role claim in tokens for users in each group. If the two groups have different role ARNs, the cognito:preferred_role claim is not set in users' tokens. The default Precedence value is null. - */ - Precedence?: PrecedenceType; - /** - * The date the group was last modified. - */ - LastModifiedDate?: DateType; - /** - * The date the group was created. - */ - CreationDate?: DateType; - } - export interface IdentityProviderType { - /** - * The user pool ID. - */ - UserPoolId?: UserPoolIdType; - /** - * The identity provider name. - */ - ProviderName?: ProviderNameType; - /** - * The identity provider type. - */ - ProviderType?: IdentityProviderTypeType; - /** - * The identity provider details, such as MetadataURL and MetadataFile. - */ - ProviderDetails?: ProviderDetailsType; - /** - * A mapping of identity provider attributes to standard and custom user pool attributes. - */ - AttributeMapping?: AttributeMappingType; - /** - * A list of identity provider identifiers. - */ - IdpIdentifiers?: IdpIdentifiersListType; - /** - * The date the identity provider was last modified. - */ - LastModifiedDate?: DateType; - /** - * The date the identity provider was created. - */ - CreationDate?: DateType; - } - export type IdentityProviderTypeType = "SAML"|string; - export type IdpIdentifierType = string; - export type IdpIdentifiersListType = IdpIdentifierType[]; - export interface InitiateAuthRequest { - /** - * The authentication flow for this call to execute. The API action will depend on this value. For example: REFRESH_TOKEN_AUTH will take in a valid refresh token and return new tokens. USER_SRP_AUTH will take in USERNAME and SRPA and return the SRP variables to be used for next challenge execution. Valid values include: USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP) protocol. REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token. CUSTOM_AUTH: Custom authentication flow. ADMIN_NO_SRP_AUTH is not a valid value. - */ - AuthFlow: AuthFlowType; - /** - * The authentication parameters. These are inputs corresponding to the AuthFlow that you are invoking. The required values depend on the value of AuthFlow: For USER_SRP_AUTH: USERNAME (required), SRPA (required), SECRET_HASH (required if the app client is configured with a client secret), DEVICE_KEY For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: USERNAME (required), SECRET_HASH (required if the app client is configured with a client secret), REFRESH_TOKEN (required), DEVICE_KEY For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is configured with client secret), DEVICE_KEY - */ - AuthParameters?: AuthParametersType; - /** - * This is a random key-value pair map which can contain any key and will be passed to your PreAuthentication Lambda trigger as-is. It can be used to implement additional validations around authentication. - */ - ClientMetadata?: ClientMetadataType; - /** - * The app client ID. - */ - ClientId: ClientIdType; - } - export interface InitiateAuthResponse { - /** - * The name of the challenge which you are responding to with this call. This is returned to you in the AdminInitiateAuth response if you need to pass another challenge. Valid values include the following. Note that all of these challenges require USERNAME and SECRET_HASH (if applicable) in the parameters. SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via SMS. PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations. CUSTOM_CHALLENGE: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued. DEVICE_SRP_AUTH: If device tracking was enabled on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device. DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices only. NEW_PASSWORD_REQUIRED: For users which are required to change their passwords after successful first login. This challenge should be passed with NEW_PASSWORD and any other required attributes. - */ - ChallengeName?: ChallengeNameType; - /** - * The session which should be passed both ways in challenge-response calls to the service. If the InitiateAuth or RespondToAuthChallenge API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. - */ - Session?: SessionType; - /** - * The challenge parameters. These are returned to you in the InitiateAuth response if you need to pass another challenge. The responses in this parameter should be used to compute inputs to the next call (RespondToAuthChallenge). All challenges require USERNAME and SECRET_HASH (if applicable). - */ - ChallengeParameters?: ChallengeParametersType; - /** - * The result of the authentication response. This is only returned if the caller does not need to pass another challenge. If the caller does need to pass another challenge before it gets tokens, ChallengeName, ChallengeParameters, and Session are returned. - */ - AuthenticationResult?: AuthenticationResultType; - } - export type IntegerType = number; - export interface LambdaConfigType { - /** - * A pre-registration AWS Lambda trigger. - */ - PreSignUp?: ArnType; - /** - * A custom Message AWS Lambda trigger. - */ - CustomMessage?: ArnType; - /** - * A post-confirmation AWS Lambda trigger. - */ - PostConfirmation?: ArnType; - /** - * A pre-authentication AWS Lambda trigger. - */ - PreAuthentication?: ArnType; - /** - * A post-authentication AWS Lambda trigger. - */ - PostAuthentication?: ArnType; - /** - * Defines the authentication challenge. - */ - DefineAuthChallenge?: ArnType; - /** - * Creates an authentication challenge. - */ - CreateAuthChallenge?: ArnType; - /** - * Verifies the authentication challenge response. - */ - VerifyAuthChallengeResponse?: ArnType; - } - export interface ListDevicesRequest { - /** - * The access tokens for the request to list devices. - */ - AccessToken: TokenModelType; - /** - * The limit of the device request. - */ - Limit?: QueryLimitType; - /** - * The pagination token for the list request. - */ - PaginationToken?: SearchPaginationTokenType; - } - export interface ListDevicesResponse { - /** - * The devices returned in the list devices response. - */ - Devices?: DeviceListType; - /** - * The pagination token for the list device response. - */ - PaginationToken?: SearchPaginationTokenType; - } - export interface ListGroupsRequest { - /** - * The user pool ID for the user pool. - */ - UserPoolId: UserPoolIdType; - /** - * The limit of the request to list groups. - */ - Limit?: QueryLimitType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - NextToken?: PaginationKey; - } - export interface ListGroupsResponse { - /** - * The group objects for the groups. - */ - Groups?: GroupListType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - NextToken?: PaginationKey; - } - export interface ListIdentityProvidersRequest { - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The maximum number of identity providers to return. - */ - MaxResults?: ListProvidersLimitType; - /** - * A pagination token. - */ - NextToken?: PaginationKeyType; - } - export interface ListIdentityProvidersResponse { - /** - * A list of identity provider objects. - */ - Providers: ProvidersListType; - /** - * A pagination token. - */ - NextToken?: PaginationKeyType; - } - export type ListOfStringTypes = StringType[]; - export type ListProvidersLimitType = number; - export interface ListUserImportJobsRequest { - /** - * The user pool ID for the user pool that the users are being imported into. - */ - UserPoolId: UserPoolIdType; - /** - * The maximum number of import jobs you want the request to return. - */ - MaxResults: PoolQueryLimitType; - /** - * An identifier that was returned from the previous call to ListUserImportJobs, which can be used to return the next set of import jobs in the list. - */ - PaginationToken?: PaginationKeyType; - } - export interface ListUserImportJobsResponse { - /** - * The user import jobs. - */ - UserImportJobs?: UserImportJobsListType; - /** - * An identifier that can be used to return the next set of user import jobs in the list. - */ - PaginationToken?: PaginationKeyType; - } - export interface ListUserPoolClientsRequest { - /** - * The user pool ID for the user pool where you want to list user pool clients. - */ - UserPoolId: UserPoolIdType; - /** - * The maximum number of results you want the request to return when listing the user pool clients. - */ - MaxResults?: QueryLimit; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - NextToken?: PaginationKey; - } - export interface ListUserPoolClientsResponse { - /** - * The user pool clients in the response that lists user pool clients. - */ - UserPoolClients?: UserPoolClientListType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - NextToken?: PaginationKey; - } - export interface ListUserPoolsRequest { - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - NextToken?: PaginationKeyType; - /** - * The maximum number of results you want the request to return when listing the user pools. - */ - MaxResults: PoolQueryLimitType; - } - export interface ListUserPoolsResponse { - /** - * The user pools from the response to list users. - */ - UserPools?: UserPoolListType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - NextToken?: PaginationKeyType; - } - export interface ListUsersInGroupRequest { - /** - * The user pool ID for the user pool. - */ - UserPoolId: UserPoolIdType; - /** - * The name of the group. - */ - GroupName: GroupNameType; - /** - * The limit of the request to list users. - */ - Limit?: QueryLimitType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - NextToken?: PaginationKey; - } - export interface ListUsersInGroupResponse { - /** - * The users returned in the request to list users. - */ - Users?: UsersListType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - NextToken?: PaginationKey; - } - export interface ListUsersRequest { - /** - * The user pool ID for the user pool on which the search should be performed. - */ - UserPoolId: UserPoolIdType; - /** - * An array of strings, where each string is the name of a user attribute to be returned for each user in the search results. If the array is empty, all attributes are returned. - */ - AttributesToGet?: SearchedAttributeNamesListType; - /** - * Maximum number of users to be returned. - */ - Limit?: QueryLimitType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - PaginationToken?: SearchPaginationTokenType; - /** - * A filter string of the form "AttributeName Filter-Type "AttributeValue"". Quotation marks within the filter string must be escaped using the backslash (\) character. For example, "family_name = \"Reddy\"". AttributeName: The name of the attribute to search for. You can only search for one attribute at a time. Filter-Type: For an exact match, use =, for example, "given_name = \"Jon\"". For a prefix ("starts with") match, use ^=, for example, "given_name ^= \"Jon\"". AttributeValue: The attribute value that must be matched for each user. If the filter string is empty, ListUsers returns all users in the user pool. You can only search for the following standard attributes: username (case-sensitive) email phone_number name given_name family_name preferred_username cognito:user_status (called Enabled in the Console) (case-sensitive) status (case-insensitive) Custom attributes are not searchable. For more information, see Searching for Users Using the ListUsers API and Examples of Using the ListUsers API in the Amazon Cognito Developer Guide. - */ - Filter?: UserFilterType; - } - export interface ListUsersResponse { - /** - * The users returned in the request to list users. - */ - Users?: UsersListType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - PaginationToken?: SearchPaginationTokenType; - } - export type LogoutURLsListType = RedirectUrlType[]; - export type LongType = number; - export type MFAOptionListType = MFAOptionType[]; - export interface MFAOptionType { - /** - * The delivery medium (email message or SMS message) to send the MFA code. - */ - DeliveryMedium?: DeliveryMediumType; - /** - * The attribute name of the MFA option type. - */ - AttributeName?: AttributeNameType; - } - export type MessageActionType = "RESEND"|"SUPPRESS"|string; - export interface MessageTemplateType { - /** - * The message template for SMS messages. - */ - SMSMessage?: SmsVerificationMessageType; - /** - * The message template for email messages. - */ - EmailMessage?: EmailVerificationMessageType; - /** - * The subject line for email messages. - */ - EmailSubject?: EmailVerificationSubjectType; - } - export type MessageType = string; - export interface NewDeviceMetadataType { - /** - * The device key. - */ - DeviceKey?: DeviceKeyType; - /** - * The device group key. - */ - DeviceGroupKey?: StringType; - } - export interface NumberAttributeConstraintsType { - /** - * The minimum value of an attribute that is of the number data type. - */ - MinValue?: StringType; - /** - * The maximum value of an attribute that is of the number data type. - */ - MaxValue?: StringType; - } - export type OAuthFlowType = "code"|"implicit"|"client_credentials"|string; - export type OAuthFlowsType = OAuthFlowType[]; - export type PaginationKey = string; - export type PaginationKeyType = string; - export type PasswordPolicyMinLengthType = number; - export interface PasswordPolicyType { - /** - * The minimum length of the password policy that you have set. Cannot be less than 6. - */ - MinimumLength?: PasswordPolicyMinLengthType; - /** - * In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password. - */ - RequireUppercase?: BooleanType; - /** - * In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password. - */ - RequireLowercase?: BooleanType; - /** - * In the password policy that you have set, refers to whether you have required users to use at least one number in their password. - */ - RequireNumbers?: BooleanType; - /** - * In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password. - */ - RequireSymbols?: BooleanType; - } - export type PasswordType = string; - export type PoolQueryLimitType = number; - export type PreSignedUrlType = string; - export type PrecedenceType = number; - export interface ProviderDescription { - /** - * The identity provider name. - */ - ProviderName?: ProviderNameType; - /** - * The identity provider type. - */ - ProviderType?: IdentityProviderTypeType; - /** - * The date the provider was last modified. - */ - LastModifiedDate?: DateType; - /** - * The date the provider was added to the user pool. - */ - CreationDate?: DateType; - } - export type ProviderDetailsType = {[key: string]: StringType}; - export type ProviderNameType = string; - export type ProvidersListType = ProviderDescription[]; - export type QueryLimit = number; - export type QueryLimitType = number; - export type RedirectUrlType = string; - export type RefreshTokenValidityType = number; - export interface ResendConfirmationCodeRequest { - /** - * The ID of the client associated with the user pool. - */ - ClientId: ClientIdType; - /** - * A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message. - */ - SecretHash?: SecretHashType; - /** - * The user name of the user to whom you wish to resend a confirmation code. - */ - Username: UsernameType; - } - export interface ResendConfirmationCodeResponse { - /** - * The code delivery details returned by the server in response to the request to resend the confirmation code. - */ - CodeDeliveryDetails?: CodeDeliveryDetailsType; - } - export interface RespondToAuthChallengeRequest { - /** - * The app client ID. - */ - ClientId: ClientIdType; - /** - * The challenge name. For more information, see InitiateAuth. ADMIN_NO_SRP_AUTH is not a valid value. - */ - ChallengeName: ChallengeNameType; - /** - * The session which should be passed both ways in challenge-response calls to the service. If InitiateAuth or RespondToAuthChallenge API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. - */ - Session?: SessionType; - /** - * The challenge responses. These are inputs corresponding to the value of ChallengeName, for example: SMS_MFA: SMS_MFA_CODE, USERNAME, SECRET_HASH (if app client is configured with client secret). PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, TIMESTAMP, USERNAME, SECRET_HASH (if app client is configured with client secret). NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, USERNAME, SECRET_HASH (if app client is configured with client secret). - */ - ChallengeResponses?: ChallengeResponsesType; - } - export interface RespondToAuthChallengeResponse { - /** - * The challenge name. For more information, see InitiateAuth. - */ - ChallengeName?: ChallengeNameType; - /** - * The session which should be passed both ways in challenge-response calls to the service. If the InitiateAuth or RespondToAuthChallenge API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. - */ - Session?: SessionType; - /** - * The challenge parameters. For more information, see InitiateAuth. - */ - ChallengeParameters?: ChallengeParametersType; - /** - * The result returned by the server in response to the request to respond to the authentication challenge. - */ - AuthenticationResult?: AuthenticationResultType; - } - export type S3BucketType = string; - export interface SchemaAttributeType { - /** - * A schema attribute of the name type. - */ - Name?: CustomAttributeNameType; - /** - * The attribute data type. - */ - AttributeDataType?: AttributeDataType; - /** - * Specifies whether the attribute type is developer only. - */ - DeveloperOnlyAttribute?: BooleanType; - /** - * Specifies whether the attribute can be changed once it has been created. - */ - Mutable?: BooleanType; - /** - * Specifies whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail. - */ - Required?: BooleanType; - /** - * Specifies the constraints for an attribute of the number type. - */ - NumberAttributeConstraints?: NumberAttributeConstraintsType; - /** - * Specifies the constraints for an attribute of the string type. - */ - StringAttributeConstraints?: StringAttributeConstraintsType; - } - export type SchemaAttributesListType = SchemaAttributeType[]; - export type ScopeListType = ScopeType[]; - export type ScopeType = string; - export type SearchPaginationTokenType = string; - export type SearchedAttributeNamesListType = AttributeNameType[]; - export type SecretHashType = string; - export type SessionType = string; - export interface SetUserSettingsRequest { - /** - * The access token for the set user settings request. - */ - AccessToken: TokenModelType; - /** - * Specifies the options for MFA (e.g., email or phone number). - */ - MFAOptions: MFAOptionListType; - } - export interface SetUserSettingsResponse { - } - export interface SignUpRequest { - /** - * The ID of the client associated with the user pool. - */ - ClientId: ClientIdType; - /** - * A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message. - */ - SecretHash?: SecretHashType; - /** - * The user name of the user you wish to register. - */ - Username: UsernameType; - /** - * The password of the user you wish to register. - */ - Password: PasswordType; - /** - * An array of name-value pairs representing user attributes. For custom attributes, you must prepend the custom: prefix to the attribute name. - */ - UserAttributes?: AttributeListType; - /** - * The validation data in the request to register a user. - */ - ValidationData?: AttributeListType; - } - export interface SignUpResponse { - /** - * A response from the server indicating that a user registration has been confirmed. - */ - UserConfirmed: BooleanType; - /** - * The code delivery details returned by the server response to the user registration request. - */ - CodeDeliveryDetails?: CodeDeliveryDetailsType; - /** - * The UUID of the authenticated user. This is not the same as username. - */ - UserSub: StringType; - } - export interface SmsConfigurationType { - /** - * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller. - */ - SnsCallerArn: ArnType; - /** - * The external ID. - */ - ExternalId?: StringType; - } - export type SmsVerificationMessageType = string; - export interface StartUserImportJobRequest { - /** - * The user pool ID for the user pool that the users are being imported into. - */ - UserPoolId: UserPoolIdType; - /** - * The job ID for the user import job. - */ - JobId: UserImportJobIdType; - } - export interface StartUserImportJobResponse { - /** - * The job object that represents the user import job. - */ - UserImportJob?: UserImportJobType; - } - export type StatusType = "Enabled"|"Disabled"|string; - export interface StopUserImportJobRequest { - /** - * The user pool ID for the user pool that the users are being imported into. - */ - UserPoolId: UserPoolIdType; - /** - * The job ID for the user import job. - */ - JobId: UserImportJobIdType; - } - export interface StopUserImportJobResponse { - /** - * The job object that represents the user import job. - */ - UserImportJob?: UserImportJobType; - } - export interface StringAttributeConstraintsType { - /** - * The minimum length of an attribute value of the string type. - */ - MinLength?: StringType; - /** - * The maximum length of an attribute value of the string type. - */ - MaxLength?: StringType; - } - export type StringType = string; - export type SupportedIdentityProvidersListType = ProviderNameType[]; - export type TokenModelType = string; - export interface UpdateDeviceStatusRequest { - /** - * The access token. - */ - AccessToken: TokenModelType; - /** - * The device key. - */ - DeviceKey: DeviceKeyType; - /** - * The status of whether a device is remembered. - */ - DeviceRememberedStatus?: DeviceRememberedStatusType; - } - export interface UpdateDeviceStatusResponse { - } - export interface UpdateGroupRequest { - /** - * The name of the group. - */ - GroupName: GroupNameType; - /** - * The user pool ID for the user pool. - */ - UserPoolId: UserPoolIdType; - /** - * A string containing the new description of the group. - */ - Description?: DescriptionType; - /** - * The new role ARN for the group. This is used for setting the cognito:roles and cognito:preferred_role claims in the token. - */ - RoleArn?: ArnType; - /** - * The new precedence value for the group. For more information about this parameter, see CreateGroup. - */ - Precedence?: PrecedenceType; - } - export interface UpdateGroupResponse { - /** - * The group object for the group. - */ - Group?: GroupType; - } - export interface UpdateIdentityProviderRequest { - /** - * The user pool ID. - */ - UserPoolId: UserPoolIdType; - /** - * The identity provider name. - */ - ProviderName: ProviderNameType; - /** - * The identity provider details to be updated, such as MetadataURL and MetadataFile. - */ - ProviderDetails?: ProviderDetailsType; - /** - * The identity provider attribute mapping to be changed. - */ - AttributeMapping?: AttributeMappingType; - /** - * A list of identity provider identifiers. - */ - IdpIdentifiers?: IdpIdentifiersListType; - } - export interface UpdateIdentityProviderResponse { - /** - * The identity provider object. - */ - IdentityProvider: IdentityProviderType; - } - export interface UpdateUserAttributesRequest { - /** - * An array of name-value pairs representing user attributes. For custom attributes, you must prepend the custom: prefix to the attribute name. - */ - UserAttributes: AttributeListType; - /** - * The access token for the request to update user attributes. - */ - AccessToken: TokenModelType; - } - export interface UpdateUserAttributesResponse { - /** - * The code delivery details list from the server for the request to update user attributes. - */ - CodeDeliveryDetailsList?: CodeDeliveryDetailsListType; - } - export interface UpdateUserPoolClientRequest { - /** - * The user pool ID for the user pool where you want to update the user pool client. - */ - UserPoolId: UserPoolIdType; - /** - * The ID of the client associated with the user pool. - */ - ClientId: ClientIdType; - /** - * The client name from the update user pool client request. - */ - ClientName?: ClientNameType; - /** - * The time limit, in days, after which the refresh token is no longer valid and cannot be used. - */ - RefreshTokenValidity?: RefreshTokenValidityType; - /** - * The read-only attributes of the user pool. - */ - ReadAttributes?: ClientPermissionListType; - /** - * The writeable attributes of the user pool. - */ - WriteAttributes?: ClientPermissionListType; - /** - * Explicit authentication flows. - */ - ExplicitAuthFlows?: ExplicitAuthFlowsListType; - /** - * A list of provider names for the identity providers that are supported on this client. - */ - SupportedIdentityProviders?: SupportedIdentityProvidersListType; - /** - * A list of allowed callback URLs for the identity providers. - */ - CallbackURLs?: CallbackURLsListType; - /** - * A list ofallowed logout URLs for the identity providers. - */ - LogoutURLs?: LogoutURLsListType; - /** - * The default redirect URI. Must be in the CallbackURLs list. - */ - DefaultRedirectURI?: RedirectUrlType; - /** - * Set to code to initiate a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the token endpoint. Set to token to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly. - */ - AllowedOAuthFlows?: OAuthFlowsType; - /** - * A list of allowed OAuth scopes. Currently supported values are "phone", "email", "openid", and "Cognito". - */ - AllowedOAuthScopes?: ScopeListType; - /** - * Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools. - */ - AllowedOAuthFlowsUserPoolClient?: BooleanType; - } - export interface UpdateUserPoolClientResponse { - /** - * The user pool client value from the response from the server when an update user pool client request is made. - */ - UserPoolClient?: UserPoolClientType; - } - export interface UpdateUserPoolRequest { - /** - * The user pool ID for the user pool you want to update. - */ - UserPoolId: UserPoolIdType; - /** - * A container with the policies you wish to update in a user pool. - */ - Policies?: UserPoolPolicyType; - /** - * The AWS Lambda configuration information from the request to update the user pool. - */ - LambdaConfig?: LambdaConfigType; - /** - * The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools. - */ - AutoVerifiedAttributes?: VerifiedAttributesListType; - /** - * A container with information about the SMS verification message. - */ - SmsVerificationMessage?: SmsVerificationMessageType; - /** - * The contents of the email verification message. - */ - EmailVerificationMessage?: EmailVerificationMessageType; - /** - * The subject of the email verification message. - */ - EmailVerificationSubject?: EmailVerificationSubjectType; - /** - * The contents of the SMS authentication message. - */ - SmsAuthenticationMessage?: SmsVerificationMessageType; - /** - * Can be one of the following values: OFF - MFA tokens are not required and cannot be specified during user registration. ON - MFA tokens are required for all user registrations. You can only specify required when you are initially creating a user pool. OPTIONAL - Users have the option when registering to create an MFA token. - */ - MfaConfiguration?: UserPoolMfaType; - /** - * Device configuration. - */ - DeviceConfiguration?: DeviceConfigurationType; - /** - * Email configuration. - */ - EmailConfiguration?: EmailConfigurationType; - /** - * SMS configuration. - */ - SmsConfiguration?: SmsConfigurationType; - /** - * The cost allocation tags for the user pool. For more information, see Adding Cost Allocation Tags to Your User Pool - */ - UserPoolTags?: UserPoolTagsType; - /** - * The configuration for AdminCreateUser requests. - */ - AdminCreateUserConfig?: AdminCreateUserConfigType; - } - export interface UpdateUserPoolResponse { - } - export type UserFilterType = string; - export type UserImportJobIdType = string; - export type UserImportJobNameType = string; - export type UserImportJobStatusType = "Created"|"Pending"|"InProgress"|"Stopping"|"Expired"|"Stopped"|"Failed"|"Succeeded"|string; - export interface UserImportJobType { - /** - * The job name for the user import job. - */ - JobName?: UserImportJobNameType; - /** - * The job ID for the user import job. - */ - JobId?: UserImportJobIdType; - /** - * The user pool ID for the user pool that the users are being imported into. - */ - UserPoolId?: UserPoolIdType; - /** - * The pre-signed URL to be used to upload the .csv file. - */ - PreSignedUrl?: PreSignedUrlType; - /** - * The date the user import job was created. - */ - CreationDate?: DateType; - /** - * The date when the user import job was started. - */ - StartDate?: DateType; - /** - * The date when the user import job was completed. - */ - CompletionDate?: DateType; - /** - * The status of the user import job. One of the following: Created - The job was created but not started. Pending - A transition state. You have started the job, but it has not begun importing users yet. InProgress - The job has started, and users are being imported. Stopping - You have stopped the job, but the job has not stopped importing users yet. Stopped - You have stopped the job, and the job has stopped importing users. Succeeded - The job has completed successfully. Failed - The job has stopped due to an error. Expired - You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job cannot be started. - */ - Status?: UserImportJobStatusType; - /** - * The role ARN for the Amazon CloudWatch Logging role for the user import job. For more information, see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito Developer Guide. - */ - CloudWatchLogsRoleArn?: ArnType; - /** - * The number of users that were successfully imported. - */ - ImportedUsers?: LongType; - /** - * The number of users that were skipped. - */ - SkippedUsers?: LongType; - /** - * The number of users that could not be imported. - */ - FailedUsers?: LongType; - /** - * The message returned when the user import job is completed. - */ - CompletionMessage?: CompletionMessageType; - } - export type UserImportJobsListType = UserImportJobType[]; - export interface UserPoolClientDescription { - /** - * The ID of the client associated with the user pool. - */ - ClientId?: ClientIdType; - /** - * The user pool ID for the user pool where you want to describe the user pool client. - */ - UserPoolId?: UserPoolIdType; - /** - * The client name from the user pool client description. - */ - ClientName?: ClientNameType; - } - export type UserPoolClientListType = UserPoolClientDescription[]; - export interface UserPoolClientType { - /** - * The user pool ID for the user pool client. - */ - UserPoolId?: UserPoolIdType; - /** - * The client name from the user pool request of the client type. - */ - ClientName?: ClientNameType; - /** - * The ID of the client associated with the user pool. - */ - ClientId?: ClientIdType; - /** - * The client secret from the user pool request of the client type. - */ - ClientSecret?: ClientSecretType; - /** - * The date the user pool client was last modified. - */ - LastModifiedDate?: DateType; - /** - * The date the user pool client was created. - */ - CreationDate?: DateType; - /** - * The time limit, in days, after which the refresh token is no longer valid and cannot be used. - */ - RefreshTokenValidity?: RefreshTokenValidityType; - /** - * The Read-only attributes. - */ - ReadAttributes?: ClientPermissionListType; - /** - * The writeable attributes. - */ - WriteAttributes?: ClientPermissionListType; - /** - * The explicit authentication flows. - */ - ExplicitAuthFlows?: ExplicitAuthFlowsListType; - /** - * A list of provider names for the identity providers that are supported on this client. - */ - SupportedIdentityProviders?: SupportedIdentityProvidersListType; - /** - * A list of allowed callback URLs for the identity providers. - */ - CallbackURLs?: CallbackURLsListType; - /** - * A list ofallowed logout URLs for the identity providers. - */ - LogoutURLs?: LogoutURLsListType; - /** - * The default redirect URI. Must be in the CallbackURLs list. - */ - DefaultRedirectURI?: RedirectUrlType; - /** - * Set to code to initiate a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the token endpoint. Set to token to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly. - */ - AllowedOAuthFlows?: OAuthFlowsType; - /** - * A list of allowed OAuth scopes. Currently supported values are "phone", "email", "openid", and "Cognito". - */ - AllowedOAuthScopes?: ScopeListType; - /** - * Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools. - */ - AllowedOAuthFlowsUserPoolClient?: BooleanType; - } - export interface UserPoolDescriptionType { - /** - * The ID in a user pool description. - */ - Id?: UserPoolIdType; - /** - * The name in a user pool description. - */ - Name?: UserPoolNameType; - /** - * The AWS Lambda configuration information in a user pool description. - */ - LambdaConfig?: LambdaConfigType; - /** - * The user pool status in a user pool description. - */ - Status?: StatusType; - /** - * The date the user pool description was last modified. - */ - LastModifiedDate?: DateType; - /** - * The date the user pool description was created. - */ - CreationDate?: DateType; - } - export type UserPoolIdType = string; - export type UserPoolListType = UserPoolDescriptionType[]; - export type UserPoolMfaType = "OFF"|"ON"|"OPTIONAL"|string; - export type UserPoolNameType = string; - export interface UserPoolPolicyType { - /** - * A container for information about the user pool password policy. - */ - PasswordPolicy?: PasswordPolicyType; - } - export type UserPoolTagsType = {[key: string]: StringType}; - export interface UserPoolType { - /** - * The ID of the user pool. - */ - Id?: UserPoolIdType; - /** - * The name of the user pool. - */ - Name?: UserPoolNameType; - /** - * A container for the policies associated with a user pool. - */ - Policies?: UserPoolPolicyType; - /** - * A container for the AWS Lambda triggers associated with a user pool. - */ - LambdaConfig?: LambdaConfigType; - /** - * The status of a user pool. - */ - Status?: StatusType; - /** - * The date the user pool was last modified. - */ - LastModifiedDate?: DateType; - /** - * The date the user pool was created. - */ - CreationDate?: DateType; - /** - * A container with the schema attributes of a user pool. - */ - SchemaAttributes?: SchemaAttributesListType; - /** - * Specifies the attributes that are auto-verified in a user pool. - */ - AutoVerifiedAttributes?: VerifiedAttributesListType; - /** - * Specifies the attributes that are aliased in a user pool. - */ - AliasAttributes?: AliasAttributesListType; - /** - * The contents of the SMS verification message. - */ - SmsVerificationMessage?: SmsVerificationMessageType; - /** - * The contents of the email verification message. - */ - EmailVerificationMessage?: EmailVerificationMessageType; - /** - * The subject of the email verification message. - */ - EmailVerificationSubject?: EmailVerificationSubjectType; - /** - * The contents of the SMS authentication message. - */ - SmsAuthenticationMessage?: SmsVerificationMessageType; - /** - * Can be one of the following values: OFF - MFA tokens are not required and cannot be specified during user registration. ON - MFA tokens are required for all user registrations. You can only specify required when you are initially creating a user pool. OPTIONAL - Users have the option when registering to create an MFA token. - */ - MfaConfiguration?: UserPoolMfaType; - /** - * The device configuration. - */ - DeviceConfiguration?: DeviceConfigurationType; - /** - * A number estimating the size of the user pool. - */ - EstimatedNumberOfUsers?: IntegerType; - /** - * The email configuration. - */ - EmailConfiguration?: EmailConfigurationType; - /** - * The SMS configuration. - */ - SmsConfiguration?: SmsConfigurationType; - /** - * The cost allocation tags for the user pool. For more information, see Adding Cost Allocation Tags to Your User Pool - */ - UserPoolTags?: UserPoolTagsType; - /** - * The reason why the SMS configuration cannot send the messages to your users. - */ - SmsConfigurationFailure?: StringType; - /** - * The reason why the email configuration cannot send the messages to your users. - */ - EmailConfigurationFailure?: StringType; - /** - * The configuration for AdminCreateUser requests. - */ - AdminCreateUserConfig?: AdminCreateUserConfigType; - } - export type UserStatusType = "UNCONFIRMED"|"CONFIRMED"|"ARCHIVED"|"COMPROMISED"|"UNKNOWN"|"RESET_REQUIRED"|"FORCE_CHANGE_PASSWORD"|string; - export interface UserType { - /** - * The user name of the user you wish to describe. - */ - Username?: UsernameType; - /** - * A container with information about the user type attributes. - */ - Attributes?: AttributeListType; - /** - * The creation date of the user. - */ - UserCreateDate?: DateType; - /** - * The last modified date of the user. - */ - UserLastModifiedDate?: DateType; - /** - * Specifies whether the user is enabled. - */ - Enabled?: BooleanType; - /** - * The user status. Can be one of the following: UNCONFIRMED - User has been created but not confirmed. CONFIRMED - User has been confirmed. ARCHIVED - User is no longer active. COMPROMISED - User is disabled due to a potential security threat. UNKNOWN - User status is not known. - */ - UserStatus?: UserStatusType; - /** - * The MFA options for the user. - */ - MFAOptions?: MFAOptionListType; - } - export type UsernameType = string; - export type UsersListType = UserType[]; - export type VerifiedAttributeType = "phone_number"|"email"|string; - export type VerifiedAttributesListType = VerifiedAttributeType[]; - export interface VerifyUserAttributeRequest { - /** - * Represents the access token of the request to verify user attributes. - */ - AccessToken: TokenModelType; - /** - * The attribute name in the request to verify user attributes. - */ - AttributeName: AttributeNameType; - /** - * The verification code in the request to verify user attributes. - */ - Code: ConfirmationCodeType; - } - export interface VerifyUserAttributeResponse { - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-04-18"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CognitoIdentityServiceProvider client. - */ - export import Types = CognitoIdentityServiceProvider; -} -export = CognitoIdentityServiceProvider; diff --git a/src/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.js b/src/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.js deleted file mode 100644 index 41734bf..0000000 --- a/src/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cognitoidentityserviceprovider'] = {}; -AWS.CognitoIdentityServiceProvider = Service.defineService('cognitoidentityserviceprovider', ['2016-04-18']); -Object.defineProperty(apiLoader.services['cognitoidentityserviceprovider'], '2016-04-18', { - get: function get() { - var model = require('../apis/cognito-idp-2016-04-18.min.json'); - model.paginators = require('../apis/cognito-idp-2016-04-18.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CognitoIdentityServiceProvider; diff --git a/src/node_modules/aws-sdk/clients/cognitosync.d.ts b/src/node_modules/aws-sdk/clients/cognitosync.d.ts deleted file mode 100644 index 9e1218d..0000000 --- a/src/node_modules/aws-sdk/clients/cognitosync.d.ts +++ /dev/null @@ -1,748 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CognitoSync extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CognitoSync.Types.ClientConfiguration) - config: Config & CognitoSync.Types.ClientConfiguration; - /** - * Initiates a bulk publish of all existing datasets for an Identity Pool to the configured stream. Customers are limited to one successful bulk publish per 24 hours. Bulk publish is an asynchronous request, customers can see the status of the request via the GetBulkPublishDetails operation. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - bulkPublish(params: CognitoSync.Types.BulkPublishRequest, callback?: (err: AWSError, data: CognitoSync.Types.BulkPublishResponse) => void): Request; - /** - * Initiates a bulk publish of all existing datasets for an Identity Pool to the configured stream. Customers are limited to one successful bulk publish per 24 hours. Bulk publish is an asynchronous request, customers can see the status of the request via the GetBulkPublishDetails operation. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - bulkPublish(callback?: (err: AWSError, data: CognitoSync.Types.BulkPublishResponse) => void): Request; - /** - * Deletes the specific dataset. The dataset will be deleted permanently, and the action can't be undone. Datasets that this dataset was merged with will no longer report the merge. Any subsequent operation on this dataset will result in a ResourceNotFoundException. This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. - */ - deleteDataset(params: CognitoSync.Types.DeleteDatasetRequest, callback?: (err: AWSError, data: CognitoSync.Types.DeleteDatasetResponse) => void): Request; - /** - * Deletes the specific dataset. The dataset will be deleted permanently, and the action can't be undone. Datasets that this dataset was merged with will no longer report the merge. Any subsequent operation on this dataset will result in a ResourceNotFoundException. This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. - */ - deleteDataset(callback?: (err: AWSError, data: CognitoSync.Types.DeleteDatasetResponse) => void): Request; - /** - * Gets meta data about a dataset by identity and dataset name. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data. This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use Cognito Identity credentials to make this API call. - */ - describeDataset(params: CognitoSync.Types.DescribeDatasetRequest, callback?: (err: AWSError, data: CognitoSync.Types.DescribeDatasetResponse) => void): Request; - /** - * Gets meta data about a dataset by identity and dataset name. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data. This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use Cognito Identity credentials to make this API call. - */ - describeDataset(callback?: (err: AWSError, data: CognitoSync.Types.DescribeDatasetResponse) => void): Request; - /** - * Gets usage details (for example, data storage) about a particular identity pool. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - describeIdentityPoolUsage(params: CognitoSync.Types.DescribeIdentityPoolUsageRequest, callback?: (err: AWSError, data: CognitoSync.Types.DescribeIdentityPoolUsageResponse) => void): Request; - /** - * Gets usage details (for example, data storage) about a particular identity pool. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - describeIdentityPoolUsage(callback?: (err: AWSError, data: CognitoSync.Types.DescribeIdentityPoolUsageResponse) => void): Request; - /** - * Gets usage information for an identity, including number of datasets and data usage. This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. - */ - describeIdentityUsage(params: CognitoSync.Types.DescribeIdentityUsageRequest, callback?: (err: AWSError, data: CognitoSync.Types.DescribeIdentityUsageResponse) => void): Request; - /** - * Gets usage information for an identity, including number of datasets and data usage. This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. - */ - describeIdentityUsage(callback?: (err: AWSError, data: CognitoSync.Types.DescribeIdentityUsageResponse) => void): Request; - /** - * Get the status of the last BulkPublish operation for an identity pool. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - getBulkPublishDetails(params: CognitoSync.Types.GetBulkPublishDetailsRequest, callback?: (err: AWSError, data: CognitoSync.Types.GetBulkPublishDetailsResponse) => void): Request; - /** - * Get the status of the last BulkPublish operation for an identity pool. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - getBulkPublishDetails(callback?: (err: AWSError, data: CognitoSync.Types.GetBulkPublishDetailsResponse) => void): Request; - /** - * Gets the events and the corresponding Lambda functions associated with an identity pool. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - getCognitoEvents(params: CognitoSync.Types.GetCognitoEventsRequest, callback?: (err: AWSError, data: CognitoSync.Types.GetCognitoEventsResponse) => void): Request; - /** - * Gets the events and the corresponding Lambda functions associated with an identity pool. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - getCognitoEvents(callback?: (err: AWSError, data: CognitoSync.Types.GetCognitoEventsResponse) => void): Request; - /** - * Gets the configuration settings of an identity pool. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - getIdentityPoolConfiguration(params: CognitoSync.Types.GetIdentityPoolConfigurationRequest, callback?: (err: AWSError, data: CognitoSync.Types.GetIdentityPoolConfigurationResponse) => void): Request; - /** - * Gets the configuration settings of an identity pool. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - getIdentityPoolConfiguration(callback?: (err: AWSError, data: CognitoSync.Types.GetIdentityPoolConfigurationResponse) => void): Request; - /** - * Lists datasets for an identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data. ListDatasets can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use the Cognito Identity credentials to make this API call. - */ - listDatasets(params: CognitoSync.Types.ListDatasetsRequest, callback?: (err: AWSError, data: CognitoSync.Types.ListDatasetsResponse) => void): Request; - /** - * Lists datasets for an identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data. ListDatasets can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use the Cognito Identity credentials to make this API call. - */ - listDatasets(callback?: (err: AWSError, data: CognitoSync.Types.ListDatasetsResponse) => void): Request; - /** - * Gets a list of identity pools registered with Cognito. ListIdentityPoolUsage can only be called with developer credentials. You cannot make this API call with the temporary user credentials provided by Cognito Identity. - */ - listIdentityPoolUsage(params: CognitoSync.Types.ListIdentityPoolUsageRequest, callback?: (err: AWSError, data: CognitoSync.Types.ListIdentityPoolUsageResponse) => void): Request; - /** - * Gets a list of identity pools registered with Cognito. ListIdentityPoolUsage can only be called with developer credentials. You cannot make this API call with the temporary user credentials provided by Cognito Identity. - */ - listIdentityPoolUsage(callback?: (err: AWSError, data: CognitoSync.Types.ListIdentityPoolUsageResponse) => void): Request; - /** - * Gets paginated records, optionally changed after a particular sync count for a dataset and identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data. ListRecords can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use Cognito Identity credentials to make this API call. - */ - listRecords(params: CognitoSync.Types.ListRecordsRequest, callback?: (err: AWSError, data: CognitoSync.Types.ListRecordsResponse) => void): Request; - /** - * Gets paginated records, optionally changed after a particular sync count for a dataset and identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data. ListRecords can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use Cognito Identity credentials to make this API call. - */ - listRecords(callback?: (err: AWSError, data: CognitoSync.Types.ListRecordsResponse) => void): Request; - /** - * Registers a device to receive push sync notifications. This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials. - */ - registerDevice(params: CognitoSync.Types.RegisterDeviceRequest, callback?: (err: AWSError, data: CognitoSync.Types.RegisterDeviceResponse) => void): Request; - /** - * Registers a device to receive push sync notifications. This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials. - */ - registerDevice(callback?: (err: AWSError, data: CognitoSync.Types.RegisterDeviceResponse) => void): Request; - /** - * Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - setCognitoEvents(params: CognitoSync.Types.SetCognitoEventsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - setCognitoEvents(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the necessary configuration for push sync. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - setIdentityPoolConfiguration(params: CognitoSync.Types.SetIdentityPoolConfigurationRequest, callback?: (err: AWSError, data: CognitoSync.Types.SetIdentityPoolConfigurationResponse) => void): Request; - /** - * Sets the necessary configuration for push sync. This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity. - */ - setIdentityPoolConfiguration(callback?: (err: AWSError, data: CognitoSync.Types.SetIdentityPoolConfigurationResponse) => void): Request; - /** - * Subscribes to receive notifications when a dataset is modified by another device. This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials. - */ - subscribeToDataset(params: CognitoSync.Types.SubscribeToDatasetRequest, callback?: (err: AWSError, data: CognitoSync.Types.SubscribeToDatasetResponse) => void): Request; - /** - * Subscribes to receive notifications when a dataset is modified by another device. This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials. - */ - subscribeToDataset(callback?: (err: AWSError, data: CognitoSync.Types.SubscribeToDatasetResponse) => void): Request; - /** - * Unsubscribes from receiving notifications when a dataset is modified by another device. This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials. - */ - unsubscribeFromDataset(params: CognitoSync.Types.UnsubscribeFromDatasetRequest, callback?: (err: AWSError, data: CognitoSync.Types.UnsubscribeFromDatasetResponse) => void): Request; - /** - * Unsubscribes from receiving notifications when a dataset is modified by another device. This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials. - */ - unsubscribeFromDataset(callback?: (err: AWSError, data: CognitoSync.Types.UnsubscribeFromDatasetResponse) => void): Request; - /** - * Posts updates to records and adds and deletes records for a dataset and user. The sync count in the record patch is your last known sync count for that record. The server will reject an UpdateRecords request with a ResourceConflictException if you try to patch a record with a new value but a stale sync count. For example, if the sync count on the server is 5 for a key called highScore and you try and submit a new highScore with sync count of 4, the request will be rejected. To obtain the current sync count for a record, call ListRecords. On a successful update of the record, the response returns the new sync count for that record. You should present that sync count the next time you try to update that same record. When the record does not exist, specify the sync count as 0. This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. - */ - updateRecords(params: CognitoSync.Types.UpdateRecordsRequest, callback?: (err: AWSError, data: CognitoSync.Types.UpdateRecordsResponse) => void): Request; - /** - * Posts updates to records and adds and deletes records for a dataset and user. The sync count in the record patch is your last known sync count for that record. The server will reject an UpdateRecords request with a ResourceConflictException if you try to patch a record with a new value but a stale sync count. For example, if the sync count on the server is 5 for a key called highScore and you try and submit a new highScore with sync count of 4, the request will be rejected. To obtain the current sync count for a record, call ListRecords. On a successful update of the record, the response returns the new sync count for that record. You should present that sync count the next time you try to update that same record. When the record does not exist, specify the sync count as 0. This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. - */ - updateRecords(callback?: (err: AWSError, data: CognitoSync.Types.UpdateRecordsResponse) => void): Request; -} -declare namespace CognitoSync { - export type ApplicationArn = string; - export type ApplicationArnList = ApplicationArn[]; - export type AssumeRoleArn = string; - export type Boolean = boolean; - export interface BulkPublishRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId: IdentityPoolId; - } - export interface BulkPublishResponse { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId?: IdentityPoolId; - } - export type BulkPublishStatus = "NOT_STARTED"|"IN_PROGRESS"|"FAILED"|"SUCCEEDED"|string; - export type ClientContext = string; - export type CognitoEventType = string; - export interface CognitoStreams { - /** - * The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool. - */ - StreamName?: StreamName; - /** - * The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream. - */ - RoleArn?: AssumeRoleArn; - /** - * Status of the Cognito streams. Valid values are: ENABLED - Streaming of updates to identity pool is enabled. DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED. - */ - StreamingStatus?: StreamingStatus; - } - export interface Dataset { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityId?: IdentityId; - /** - * A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot). - */ - DatasetName?: DatasetName; - /** - * Date on which the dataset was created. - */ - CreationDate?: _Date; - /** - * Date when the dataset was last modified. - */ - LastModifiedDate?: _Date; - /** - * The device that made the last change to this dataset. - */ - LastModifiedBy?: String; - /** - * Total size in bytes of the records in this dataset. - */ - DataStorage?: Long; - /** - * Number of records in this dataset. - */ - NumRecords?: Long; - } - export type DatasetList = Dataset[]; - export type DatasetName = string; - export type _Date = Date; - export interface DeleteDatasetRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId: IdentityPoolId; - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityId: IdentityId; - /** - * A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot). - */ - DatasetName: DatasetName; - } - export interface DeleteDatasetResponse { - /** - * A collection of data for an identity pool. An identity pool can have multiple datasets. A dataset is per identity and can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs. - */ - Dataset?: Dataset; - } - export interface DescribeDatasetRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId: IdentityPoolId; - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityId: IdentityId; - /** - * A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot). - */ - DatasetName: DatasetName; - } - export interface DescribeDatasetResponse { - /** - * Meta data for a collection of data for an identity. An identity can have multiple datasets. A dataset can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs. - */ - Dataset?: Dataset; - } - export interface DescribeIdentityPoolUsageRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId: IdentityPoolId; - } - export interface DescribeIdentityPoolUsageResponse { - /** - * Information about the usage of the identity pool. - */ - IdentityPoolUsage?: IdentityPoolUsage; - } - export interface DescribeIdentityUsageRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId: IdentityPoolId; - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityId: IdentityId; - } - export interface DescribeIdentityUsageResponse { - /** - * Usage information for the identity. - */ - IdentityUsage?: IdentityUsage; - } - export type DeviceId = string; - export type Events = {[key: string]: LambdaFunctionArn}; - export type ExceptionMessage = string; - export interface GetBulkPublishDetailsRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId: IdentityPoolId; - } - export interface GetBulkPublishDetailsResponse { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId?: IdentityPoolId; - /** - * The date/time at which the last bulk publish was initiated. - */ - BulkPublishStartTime?: _Date; - /** - * If BulkPublishStatus is SUCCEEDED, the time the last bulk publish operation completed. - */ - BulkPublishCompleteTime?: _Date; - /** - * Status of the last bulk publish operation, valid values are: NOT_STARTED - No bulk publish has been requested for this identity pool IN_PROGRESS - Data is being published to the configured stream SUCCEEDED - All data for the identity pool has been published to the configured stream FAILED - Some portion of the data has failed to publish, check FailureMessage for the cause. - */ - BulkPublishStatus?: BulkPublishStatus; - /** - * If BulkPublishStatus is FAILED this field will contain the error message that caused the bulk publish to fail. - */ - FailureMessage?: String; - } - export interface GetCognitoEventsRequest { - /** - * The Cognito Identity Pool ID for the request - */ - IdentityPoolId: IdentityPoolId; - } - export interface GetCognitoEventsResponse { - /** - * The Cognito Events returned from the GetCognitoEvents request - */ - Events?: Events; - } - export interface GetIdentityPoolConfigurationRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This is the ID of the pool for which to return a configuration. - */ - IdentityPoolId: IdentityPoolId; - } - export interface GetIdentityPoolConfigurationResponse { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. - */ - IdentityPoolId?: IdentityPoolId; - /** - * Options to apply to this identity pool for push synchronization. - */ - PushSync?: PushSync; - /** - * Options to apply to this identity pool for Amazon Cognito streams. - */ - CognitoStreams?: CognitoStreams; - } - export type IdentityId = string; - export type IdentityPoolId = string; - export interface IdentityPoolUsage { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId?: IdentityPoolId; - /** - * Number of sync sessions for the identity pool. - */ - SyncSessionsCount?: Long; - /** - * Data storage information for the identity pool. - */ - DataStorage?: Long; - /** - * Date on which the identity pool was last modified. - */ - LastModifiedDate?: _Date; - } - export type IdentityPoolUsageList = IdentityPoolUsage[]; - export interface IdentityUsage { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityId?: IdentityId; - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId?: IdentityPoolId; - /** - * Date on which the identity was last modified. - */ - LastModifiedDate?: _Date; - /** - * Number of datasets for the identity. - */ - DatasetCount?: Integer; - /** - * Total data storage for this identity. - */ - DataStorage?: Long; - } - export type Integer = number; - export type IntegerString = number; - export type LambdaFunctionArn = string; - export interface ListDatasetsRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId: IdentityPoolId; - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityId: IdentityId; - /** - * A pagination token for obtaining the next page of results. - */ - NextToken?: String; - /** - * The maximum number of results to be returned. - */ - MaxResults?: IntegerString; - } - export interface ListDatasetsResponse { - /** - * A set of datasets. - */ - Datasets?: DatasetList; - /** - * Number of datasets returned. - */ - Count?: Integer; - /** - * A pagination token for obtaining the next page of results. - */ - NextToken?: String; - } - export interface ListIdentityPoolUsageRequest { - /** - * A pagination token for obtaining the next page of results. - */ - NextToken?: String; - /** - * The maximum number of results to be returned. - */ - MaxResults?: IntegerString; - } - export interface ListIdentityPoolUsageResponse { - /** - * Usage information for the identity pools. - */ - IdentityPoolUsages?: IdentityPoolUsageList; - /** - * The maximum number of results to be returned. - */ - MaxResults?: Integer; - /** - * Total number of identities for the identity pool. - */ - Count?: Integer; - /** - * A pagination token for obtaining the next page of results. - */ - NextToken?: String; - } - export interface ListRecordsRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId: IdentityPoolId; - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityId: IdentityId; - /** - * A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot). - */ - DatasetName: DatasetName; - /** - * The last server sync count for this record. - */ - LastSyncCount?: Long; - /** - * A pagination token for obtaining the next page of results. - */ - NextToken?: String; - /** - * The maximum number of results to be returned. - */ - MaxResults?: IntegerString; - /** - * A token containing a session ID, identity ID, and expiration. - */ - SyncSessionToken?: SyncSessionToken; - } - export interface ListRecordsResponse { - /** - * A list of all records. - */ - Records?: RecordList; - /** - * A pagination token for obtaining the next page of results. - */ - NextToken?: String; - /** - * Total number of records. - */ - Count?: Integer; - /** - * Server sync count for this dataset. - */ - DatasetSyncCount?: Long; - /** - * The user/device that made the last change to this record. - */ - LastModifiedBy?: String; - /** - * Names of merged datasets. - */ - MergedDatasetNames?: MergedDatasetNameList; - /** - * Indicates whether the dataset exists. - */ - DatasetExists?: Boolean; - /** - * A boolean value specifying whether to delete the dataset locally. - */ - DatasetDeletedAfterRequestedSyncCount?: Boolean; - /** - * A token containing a session ID, identity ID, and expiration. - */ - SyncSessionToken?: String; - } - export type Long = number; - export type MergedDatasetNameList = String[]; - export type Operation = "replace"|"remove"|string; - export type Platform = "APNS"|"APNS_SANDBOX"|"GCM"|"ADM"|string; - export interface PushSync { - /** - * List of SNS platform application ARNs that could be used by clients. - */ - ApplicationArns?: ApplicationArnList; - /** - * A role configured to allow Cognito to call SNS on behalf of the developer. - */ - RoleArn?: AssumeRoleArn; - } - export type PushToken = string; - export interface Record { - /** - * The key for the record. - */ - Key?: RecordKey; - /** - * The value for the record. - */ - Value?: RecordValue; - /** - * The server sync count for this record. - */ - SyncCount?: Long; - /** - * The date on which the record was last modified. - */ - LastModifiedDate?: _Date; - /** - * The user/device that made the last change to this record. - */ - LastModifiedBy?: String; - /** - * The last modified date of the client device. - */ - DeviceLastModifiedDate?: _Date; - } - export type RecordKey = string; - export type RecordList = Record[]; - export interface RecordPatch { - /** - * An operation, either replace or remove. - */ - Op: Operation; - /** - * The key associated with the record patch. - */ - Key: RecordKey; - /** - * The value associated with the record patch. - */ - Value?: RecordValue; - /** - * Last known server sync count for this record. Set to 0 if unknown. - */ - SyncCount: Long; - /** - * The last modified date of the client device. - */ - DeviceLastModifiedDate?: _Date; - } - export type RecordPatchList = RecordPatch[]; - export type RecordValue = string; - export interface RegisterDeviceRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to. - */ - IdentityPoolId: IdentityPoolId; - /** - * The unique ID for this identity. - */ - IdentityId: IdentityId; - /** - * The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX). - */ - Platform: Platform; - /** - * The push token. - */ - Token: PushToken; - } - export interface RegisterDeviceResponse { - /** - * The unique ID generated for this device by Cognito. - */ - DeviceId?: DeviceId; - } - export interface SetCognitoEventsRequest { - /** - * The Cognito Identity Pool to use when configuring Cognito Events - */ - IdentityPoolId: IdentityPoolId; - /** - * The events to configure - */ - Events: Events; - } - export interface SetIdentityPoolConfigurationRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This is the ID of the pool to modify. - */ - IdentityPoolId: IdentityPoolId; - /** - * Options to apply to this identity pool for push synchronization. - */ - PushSync?: PushSync; - /** - * Options to apply to this identity pool for Amazon Cognito streams. - */ - CognitoStreams?: CognitoStreams; - } - export interface SetIdentityPoolConfigurationResponse { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. - */ - IdentityPoolId?: IdentityPoolId; - /** - * Options to apply to this identity pool for push synchronization. - */ - PushSync?: PushSync; - /** - * Options to apply to this identity pool for Amazon Cognito streams. - */ - CognitoStreams?: CognitoStreams; - } - export type StreamName = string; - export type StreamingStatus = "ENABLED"|"DISABLED"|string; - export type String = string; - export interface SubscribeToDatasetRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which the identity belongs. - */ - IdentityPoolId: IdentityPoolId; - /** - * Unique ID for this identity. - */ - IdentityId: IdentityId; - /** - * The name of the dataset to subcribe to. - */ - DatasetName: DatasetName; - /** - * The unique ID generated for this device by Cognito. - */ - DeviceId: DeviceId; - } - export interface SubscribeToDatasetResponse { - } - export type SyncSessionToken = string; - export interface UnsubscribeFromDatasetRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which this identity belongs. - */ - IdentityPoolId: IdentityPoolId; - /** - * Unique ID for this identity. - */ - IdentityId: IdentityId; - /** - * The name of the dataset from which to unsubcribe. - */ - DatasetName: DatasetName; - /** - * The unique ID generated for this device by Cognito. - */ - DeviceId: DeviceId; - } - export interface UnsubscribeFromDatasetResponse { - } - export interface UpdateRecordsRequest { - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityPoolId: IdentityPoolId; - /** - * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. - */ - IdentityId: IdentityId; - /** - * A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot). - */ - DatasetName: DatasetName; - /** - * The unique ID generated for this device by Cognito. - */ - DeviceId?: DeviceId; - /** - * A list of patch operations. - */ - RecordPatches?: RecordPatchList; - /** - * The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity. - */ - SyncSessionToken: SyncSessionToken; - /** - * Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented. - */ - ClientContext?: ClientContext; - } - export interface UpdateRecordsResponse { - /** - * A list of records that have been updated. - */ - Records?: RecordList; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-06-30"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CognitoSync client. - */ - export import Types = CognitoSync; -} -export = CognitoSync; diff --git a/src/node_modules/aws-sdk/clients/cognitosync.js b/src/node_modules/aws-sdk/clients/cognitosync.js deleted file mode 100644 index 8e8e24d..0000000 --- a/src/node_modules/aws-sdk/clients/cognitosync.js +++ /dev/null @@ -1,17 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cognitosync'] = {}; -AWS.CognitoSync = Service.defineService('cognitosync', ['2014-06-30']); -Object.defineProperty(apiLoader.services['cognitosync'], '2014-06-30', { - get: function get() { - var model = require('../apis/cognito-sync-2014-06-30.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CognitoSync; diff --git a/src/node_modules/aws-sdk/clients/configservice.d.ts b/src/node_modules/aws-sdk/clients/configservice.d.ts deleted file mode 100644 index 4ac7c7c..0000000 --- a/src/node_modules/aws-sdk/clients/configservice.d.ts +++ /dev/null @@ -1,1238 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ConfigService extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ConfigService.Types.ClientConfiguration) - config: Config & ConfigService.Types.ClientConfiguration; - /** - * Deletes the specified AWS Config rule and all of its evaluation results. AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException. You can check the state of a rule by using the DescribeConfigRules request. - */ - deleteConfigRule(params: ConfigService.Types.DeleteConfigRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified AWS Config rule and all of its evaluation results. AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException. You can check the state of a rule by using the DescribeConfigRules request. - */ - deleteConfigRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the configuration recorder. After the configuration recorder is deleted, AWS Config will not record resource configuration changes until you create a new configuration recorder. This action does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistory action, but you will not be able to access this information in the AWS Config console until you create a new configuration recorder. - */ - deleteConfigurationRecorder(params: ConfigService.Types.DeleteConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the configuration recorder. After the configuration recorder is deleted, AWS Config will not record resource configuration changes until you create a new configuration recorder. This action does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistory action, but you will not be able to access this information in the AWS Config console until you create a new configuration recorder. - */ - deleteConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the delivery channel. Before you can delete the delivery channel, you must stop the configuration recorder by using the StopConfigurationRecorder action. - */ - deleteDeliveryChannel(params: ConfigService.Types.DeleteDeliveryChannelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the delivery channel. Before you can delete the delivery channel, you must stop the configuration recorder by using the StopConfigurationRecorder action. - */ - deleteDeliveryChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the evaluation results for the specified Config rule. You can specify one Config rule per request. After you delete the evaluation results, you can call the StartConfigRulesEvaluation API to start evaluating your AWS resources against the rule. - */ - deleteEvaluationResults(params: ConfigService.Types.DeleteEvaluationResultsRequest, callback?: (err: AWSError, data: ConfigService.Types.DeleteEvaluationResultsResponse) => void): Request; - /** - * Deletes the evaluation results for the specified Config rule. You can specify one Config rule per request. After you delete the evaluation results, you can call the StartConfigRulesEvaluation API to start evaluating your AWS resources against the rule. - */ - deleteEvaluationResults(callback?: (err: AWSError, data: ConfigService.Types.DeleteEvaluationResultsResponse) => void): Request; - /** - * Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends following notifications using an Amazon SNS topic that you have specified. Notification of starting the delivery. Notification of delivery completed, if the delivery was successfully completed. Notification of delivery failure, if the delivery failed to complete. - */ - deliverConfigSnapshot(params: ConfigService.Types.DeliverConfigSnapshotRequest, callback?: (err: AWSError, data: ConfigService.Types.DeliverConfigSnapshotResponse) => void): Request; - /** - * Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends following notifications using an Amazon SNS topic that you have specified. Notification of starting the delivery. Notification of delivery completed, if the delivery was successfully completed. Notification of delivery failure, if the delivery failed to complete. - */ - deliverConfigSnapshot(callback?: (err: AWSError, data: ConfigService.Types.DeliverConfigSnapshotResponse) => void): Request; - /** - * Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS resources that do not comply with the rule. A rule is compliant if all of the evaluated resources comply with it, and it is noncompliant if any of these resources do not comply. If AWS Config has no current evaluation results for the rule, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope. - */ - describeComplianceByConfigRule(params: ConfigService.Types.DescribeComplianceByConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByConfigRuleResponse) => void): Request; - /** - * Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS resources that do not comply with the rule. A rule is compliant if all of the evaluated resources comply with it, and it is noncompliant if any of these resources do not comply. If AWS Config has no current evaluation results for the rule, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope. - */ - describeComplianceByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByConfigRuleResponse) => void): Request; - /** - * Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with. A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules. If AWS Config has no current evaluation results for the resource, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions about the rules that evaluate the resource: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope. - */ - describeComplianceByResource(params: ConfigService.Types.DescribeComplianceByResourceRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByResourceResponse) => void): Request; - /** - * Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with. A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules. If AWS Config has no current evaluation results for the resource, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions about the rules that evaluate the resource: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope. - */ - describeComplianceByResource(callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByResourceResponse) => void): Request; - /** - * Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure. - */ - describeConfigRuleEvaluationStatus(params: ConfigService.Types.DescribeConfigRuleEvaluationStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRuleEvaluationStatusResponse) => void): Request; - /** - * Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure. - */ - describeConfigRuleEvaluationStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRuleEvaluationStatusResponse) => void): Request; - /** - * Returns details about your AWS Config rules. - */ - describeConfigRules(params: ConfigService.Types.DescribeConfigRulesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRulesResponse) => void): Request; - /** - * Returns details about your AWS Config rules. - */ - describeConfigRules(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRulesResponse) => void): Request; - /** - * Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorder associated with the account. Currently, you can specify only one configuration recorder per region in your account. - */ - describeConfigurationRecorderStatus(params: ConfigService.Types.DescribeConfigurationRecorderStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecorderStatusResponse) => void): Request; - /** - * Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorder associated with the account. Currently, you can specify only one configuration recorder per region in your account. - */ - describeConfigurationRecorderStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecorderStatusResponse) => void): Request; - /** - * Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account. - */ - describeConfigurationRecorders(params: ConfigService.Types.DescribeConfigurationRecordersRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecordersResponse) => void): Request; - /** - * Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account. - */ - describeConfigurationRecorders(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecordersResponse) => void): Request; - /** - * Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account. - */ - describeDeliveryChannelStatus(params: ConfigService.Types.DescribeDeliveryChannelStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelStatusResponse) => void): Request; - /** - * Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account. - */ - describeDeliveryChannelStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelStatusResponse) => void): Request; - /** - * Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account. - */ - describeDeliveryChannels(params: ConfigService.Types.DescribeDeliveryChannelsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelsResponse) => void): Request; - /** - * Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account. - */ - describeDeliveryChannels(callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelsResponse) => void): Request; - /** - * Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule. - */ - getComplianceDetailsByConfigRule(params: ConfigService.Types.GetComplianceDetailsByConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByConfigRuleResponse) => void): Request; - /** - * Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule. - */ - getComplianceDetailsByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByConfigRuleResponse) => void): Request; - /** - * Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule. - */ - getComplianceDetailsByResource(params: ConfigService.Types.GetComplianceDetailsByResourceRequest, callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByResourceResponse) => void): Request; - /** - * Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule. - */ - getComplianceDetailsByResource(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByResourceResponse) => void): Request; - /** - * Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each. - */ - getComplianceSummaryByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceSummaryByConfigRuleResponse) => void): Request; - /** - * Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100. - */ - getComplianceSummaryByResourceType(params: ConfigService.Types.GetComplianceSummaryByResourceTypeRequest, callback?: (err: AWSError, data: ConfigService.Types.GetComplianceSummaryByResourceTypeResponse) => void): Request; - /** - * Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100. - */ - getComplianceSummaryByResourceType(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceSummaryByResourceTypeResponse) => void): Request; - /** - * Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. The response is paginated, and by default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken. - */ - getResourceConfigHistory(params: ConfigService.Types.GetResourceConfigHistoryRequest, callback?: (err: AWSError, data: ConfigService.Types.GetResourceConfigHistoryResponse) => void): Request; - /** - * Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. The response is paginated, and by default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken. - */ - getResourceConfigHistory(callback?: (err: AWSError, data: ConfigService.Types.GetResourceConfigHistoryResponse) => void): Request; - /** - * Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name but not both in the same request. The response is paginated, and by default AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter. - */ - listDiscoveredResources(params: ConfigService.Types.ListDiscoveredResourcesRequest, callback?: (err: AWSError, data: ConfigService.Types.ListDiscoveredResourcesResponse) => void): Request; - /** - * Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name but not both in the same request. The response is paginated, and by default AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter. - */ - listDiscoveredResources(callback?: (err: AWSError, data: ConfigService.Types.ListDiscoveredResourcesResponse) => void): Request; - /** - * Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations. You can use this action for custom Config rules and AWS managed Config rules. A custom Config rule is a rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that AWS Config provides. If you are adding a new custom Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the PutConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for the SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object. If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier key. To reference AWS managed Config rule identifiers, see About AWS Managed Config Rules. For any new rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId. These values are generated by AWS Config for new rules. If you are updating a rule that you added previously, you can specify the rule by ConfigRuleName, ConfigRuleId, or ConfigRuleArn in the ConfigRule data type that you use in this request. The maximum number of rules that AWS Config supports is 50. For more information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide. For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide. - */ - putConfigRule(params: ConfigService.Types.PutConfigRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations. You can use this action for custom Config rules and AWS managed Config rules. A custom Config rule is a rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that AWS Config provides. If you are adding a new custom Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the PutConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for the SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object. If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier key. To reference AWS managed Config rule identifiers, see About AWS Managed Config Rules. For any new rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId. These values are generated by AWS Config for new rules. If you are updating a rule that you added previously, you can specify the rule by ConfigRuleName, ConfigRuleId, or ConfigRuleArn in the ConfigRule data type that you use in this request. The maximum number of rules that AWS Config supports is 50. For more information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide. For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide. - */ - putConfigRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a new configuration recorder to record the selected resource configurations. You can use this action to change the role roleARN and/or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role. Currently, you can specify only one configuration recorder per region in your account. If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types. - */ - putConfigurationRecorder(params: ConfigService.Types.PutConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a new configuration recorder to record the selected resource configurations. You can use this action to change the role roleARN and/or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role. Currently, you can specify only one configuration recorder per region in your account. If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types. - */ - putConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic. Before you can create a delivery channel, you must create a configuration recorder. You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed. You can have only one delivery channel per region in your account. - */ - putDeliveryChannel(params: ConfigService.Types.PutDeliveryChannelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic. Before you can create a delivery channel, you must create a configuration recorder. You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed. You can have only one delivery channel per region in your account. - */ - putDeliveryChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule. - */ - putEvaluations(params: ConfigService.Types.PutEvaluationsRequest, callback?: (err: AWSError, data: ConfigService.Types.PutEvaluationsResponse) => void): Request; - /** - * Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule. - */ - putEvaluations(callback?: (err: AWSError, data: ConfigService.Types.PutEvaluationsResponse) => void): Request; - /** - * Runs an on-demand evaluation for the specified Config rules against the last known configuration state of the resources. Use StartConfigRulesEvaluation when you want to test a rule that you updated is working as expected. StartConfigRulesEvaluation does not re-record the latest configuration state for your resources; it re-runs an evaluation against the last known state of your resources. You can specify up to 25 Config rules per request. An existing StartConfigRulesEvaluation call must complete for the specified rules before you can call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a ConfigRuleEvaluationStarted notification when the evaluation starts. You don't need to call the StartConfigRulesEvaluation API to run an evaluation for a new rule. When you create a new rule, AWS Config automatically evaluates your resources against the rule. The StartConfigRulesEvaluation API is useful if you want to run on-demand evaluations, such as the following example: You have a custom rule that evaluates your IAM resources every 24 hours. You update your Lambda function to add additional conditions to your rule. Instead of waiting for the next periodic evaluation, you call the StartConfigRulesEvaluation API. AWS Config invokes your Lambda function and evaluates your IAM resources. Your custom rule will still run periodic evaluations every 24 hours. - */ - startConfigRulesEvaluation(params: ConfigService.Types.StartConfigRulesEvaluationRequest, callback?: (err: AWSError, data: ConfigService.Types.StartConfigRulesEvaluationResponse) => void): Request; - /** - * Runs an on-demand evaluation for the specified Config rules against the last known configuration state of the resources. Use StartConfigRulesEvaluation when you want to test a rule that you updated is working as expected. StartConfigRulesEvaluation does not re-record the latest configuration state for your resources; it re-runs an evaluation against the last known state of your resources. You can specify up to 25 Config rules per request. An existing StartConfigRulesEvaluation call must complete for the specified rules before you can call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a ConfigRuleEvaluationStarted notification when the evaluation starts. You don't need to call the StartConfigRulesEvaluation API to run an evaluation for a new rule. When you create a new rule, AWS Config automatically evaluates your resources against the rule. The StartConfigRulesEvaluation API is useful if you want to run on-demand evaluations, such as the following example: You have a custom rule that evaluates your IAM resources every 24 hours. You update your Lambda function to add additional conditions to your rule. Instead of waiting for the next periodic evaluation, you call the StartConfigRulesEvaluation API. AWS Config invokes your Lambda function and evaluates your IAM resources. Your custom rule will still run periodic evaluations every 24 hours. - */ - startConfigRulesEvaluation(callback?: (err: AWSError, data: ConfigService.Types.StartConfigRulesEvaluationResponse) => void): Request; - /** - * Starts recording configurations of the AWS resources you have selected to record in your AWS account. You must have created at least one delivery channel to successfully start the configuration recorder. - */ - startConfigurationRecorder(params: ConfigService.Types.StartConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Starts recording configurations of the AWS resources you have selected to record in your AWS account. You must have created at least one delivery channel to successfully start the configuration recorder. - */ - startConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Stops recording configurations of the AWS resources you have selected to record in your AWS account. - */ - stopConfigurationRecorder(params: ConfigService.Types.StopConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Stops recording configurations of the AWS resources you have selected to record in your AWS account. - */ - stopConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace ConfigService { - export type ARN = string; - export type AccountId = string; - export type AllSupported = boolean; - export type AvailabilityZone = string; - export type AwsRegion = string; - export type Boolean = boolean; - export type ChannelName = string; - export type ChronologicalOrder = "Reverse"|"Forward"|string; - export interface Compliance { - /** - * Indicates whether an AWS resource or AWS Config rule is compliant. A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it is noncompliant if it does not comply with one or more of these rules. A rule is compliant if all of the resources that the rule evaluates comply with it, and it is noncompliant if any of these resources do not comply. AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the AWS resource or Config rule. For the Compliance data type, AWS Config supports only COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the NOT_APPLICABLE value for the Compliance data type. - */ - ComplianceType?: ComplianceType; - /** - * The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT, up to a maximum number. - */ - ComplianceContributorCount?: ComplianceContributorCount; - } - export interface ComplianceByConfigRule { - /** - * The name of the AWS Config rule. - */ - ConfigRuleName?: StringWithCharLimit64; - /** - * Indicates whether the AWS Config rule is compliant. - */ - Compliance?: Compliance; - } - export type ComplianceByConfigRules = ComplianceByConfigRule[]; - export interface ComplianceByResource { - /** - * The type of the AWS resource that was evaluated. - */ - ResourceType?: StringWithCharLimit256; - /** - * The ID of the AWS resource that was evaluated. - */ - ResourceId?: StringWithCharLimit256; - /** - * Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it. - */ - Compliance?: Compliance; - } - export type ComplianceByResources = ComplianceByResource[]; - export interface ComplianceContributorCount { - /** - * The number of AWS resources or AWS Config rules responsible for the current compliance of the item. - */ - CappedCount?: Integer; - /** - * Indicates whether the maximum count is reached. - */ - CapExceeded?: Boolean; - } - export type ComplianceResourceTypes = StringWithCharLimit256[]; - export type ComplianceSummariesByResourceType = ComplianceSummaryByResourceType[]; - export interface ComplianceSummary { - /** - * The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources. - */ - CompliantResourceCount?: ComplianceContributorCount; - /** - * The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources. - */ - NonCompliantResourceCount?: ComplianceContributorCount; - /** - * The time that AWS Config created the compliance summary. - */ - ComplianceSummaryTimestamp?: _Date; - } - export interface ComplianceSummaryByResourceType { - /** - * The type of AWS resource. - */ - ResourceType?: StringWithCharLimit256; - /** - * The number of AWS resources that are compliant or noncompliant, up to a maximum of 100 for each compliance. - */ - ComplianceSummary?: ComplianceSummary; - } - export type ComplianceType = "COMPLIANT"|"NON_COMPLIANT"|"NOT_APPLICABLE"|"INSUFFICIENT_DATA"|string; - export type ComplianceTypes = ComplianceType[]; - export interface ConfigExportDeliveryInfo { - /** - * Status of the last attempted delivery. - */ - lastStatus?: DeliveryStatus; - /** - * The error code from the last attempted delivery. - */ - lastErrorCode?: String; - /** - * The error message from the last attempted delivery. - */ - lastErrorMessage?: String; - /** - * The time of the last attempted delivery. - */ - lastAttemptTime?: _Date; - /** - * The time of the last successful delivery. - */ - lastSuccessfulTime?: _Date; - /** - * The time that the next delivery occurs. - */ - nextDeliveryTime?: _Date; - } - export interface ConfigRule { - /** - * The name that you assign to the AWS Config rule. The name is required if you are adding a new rule. - */ - ConfigRuleName?: StringWithCharLimit64; - /** - * The Amazon Resource Name (ARN) of the AWS Config rule. - */ - ConfigRuleArn?: String; - /** - * The ID of the AWS Config rule. - */ - ConfigRuleId?: String; - /** - * The description that you provide for the AWS Config rule. - */ - Description?: EmptiableStringWithCharLimit256; - /** - * Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes. - */ - Scope?: Scope; - /** - * Provides the rule owner (AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources. - */ - Source: Source; - /** - * A string in JSON format that is passed to the AWS Config rule Lambda function. - */ - InputParameters?: StringWithCharLimit1024; - /** - * The maximum frequency with which AWS Config runs evaluations for a rule. You can specify a value for MaximumExecutionFrequency when: You are using an AWS managed rule that is triggered at a periodic frequency. Your custom rule is triggered when AWS Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter. - */ - MaximumExecutionFrequency?: MaximumExecutionFrequency; - /** - * Indicates whether the AWS Config rule is active or is currently being deleted by AWS Config. It can also indicate the evaluation status for the Config rule. AWS Config sets the state of the rule to EVALUATING temporarily after you use the StartConfigRulesEvaluation request to evaluate your resources against the Config rule. AWS Config sets the state of the rule to DELETING_RESULTS temporarily after you use the DeleteEvaluationResults request to delete the current evaluation results for the Config rule. AWS Config sets the state of a rule to DELETING temporarily after you use the DeleteConfigRule request to delete the rule. After AWS Config deletes the rule, the rule and all of its evaluations are erased and are no longer available. - */ - ConfigRuleState?: ConfigRuleState; - } - export interface ConfigRuleEvaluationStatus { - /** - * The name of the AWS Config rule. - */ - ConfigRuleName?: StringWithCharLimit64; - /** - * The Amazon Resource Name (ARN) of the AWS Config rule. - */ - ConfigRuleArn?: String; - /** - * The ID of the AWS Config rule. - */ - ConfigRuleId?: String; - /** - * The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources. - */ - LastSuccessfulInvocationTime?: _Date; - /** - * The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources. - */ - LastFailedInvocationTime?: _Date; - /** - * The time that AWS Config last successfully evaluated your AWS resources against the rule. - */ - LastSuccessfulEvaluationTime?: _Date; - /** - * The time that AWS Config last failed to evaluate your AWS resources against the rule. - */ - LastFailedEvaluationTime?: _Date; - /** - * The time that you first activated the AWS Config rule. - */ - FirstActivatedTime?: _Date; - /** - * The error code that AWS Config returned when the rule last failed. - */ - LastErrorCode?: String; - /** - * The error message that AWS Config returned when the rule last failed. - */ - LastErrorMessage?: String; - /** - * Indicates whether AWS Config has evaluated your resources against the rule at least once. true - AWS Config has evaluated your AWS resources against the rule at least once. false - AWS Config has not once finished evaluating your AWS resources against the rule. - */ - FirstEvaluationStarted?: Boolean; - } - export type ConfigRuleEvaluationStatusList = ConfigRuleEvaluationStatus[]; - export type ConfigRuleNames = StringWithCharLimit64[]; - export type ConfigRuleState = "ACTIVE"|"DELETING"|"DELETING_RESULTS"|"EVALUATING"|string; - export type ConfigRules = ConfigRule[]; - export interface ConfigSnapshotDeliveryProperties { - /** - * The frequency with which AWS Config delivers configuration snapshots. - */ - deliveryFrequency?: MaximumExecutionFrequency; - } - export interface ConfigStreamDeliveryInfo { - /** - * Status of the last attempted delivery. Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable. - */ - lastStatus?: DeliveryStatus; - /** - * The error code from the last attempted delivery. - */ - lastErrorCode?: String; - /** - * The error message from the last attempted delivery. - */ - lastErrorMessage?: String; - /** - * The time from the last status change. - */ - lastStatusChangeTime?: _Date; - } - export type Configuration = string; - export interface ConfigurationItem { - /** - * The version number of the resource configuration. - */ - version?: Version; - /** - * The 12 digit AWS account ID associated with the resource. - */ - accountId?: AccountId; - /** - * The time when the configuration recording was initiated. - */ - configurationItemCaptureTime?: ConfigurationItemCaptureTime; - /** - * The configuration item status. - */ - configurationItemStatus?: ConfigurationItemStatus; - /** - * An identifier that indicates the ordering of the configuration items of a resource. - */ - configurationStateId?: ConfigurationStateId; - /** - * Unique MD5 hash that represents the configuration item's state. You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource. - */ - configurationItemMD5Hash?: ConfigurationItemMD5Hash; - /** - * The Amazon Resource Name (ARN) of the resource. - */ - arn?: ARN; - /** - * The type of AWS resource. - */ - resourceType?: ResourceType; - /** - * The ID of the resource (for example., sg-xxxxxx). - */ - resourceId?: ResourceId; - /** - * The custom name of the resource, if available. - */ - resourceName?: ResourceName; - /** - * The region where the resource resides. - */ - awsRegion?: AwsRegion; - /** - * The Availability Zone associated with the resource. - */ - availabilityZone?: AvailabilityZone; - /** - * The time stamp when the resource was created. - */ - resourceCreationTime?: ResourceCreationTime; - /** - * A mapping of key value tags associated with the resource. - */ - tags?: Tags; - /** - * A list of CloudTrail event IDs. A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What is AWS CloudTrail?. An empty field indicates that the current configuration was not initiated by any event. - */ - relatedEvents?: RelatedEventList; - /** - * A list of related AWS resources. - */ - relationships?: RelationshipList; - /** - * The description of the resource configuration. - */ - configuration?: Configuration; - /** - * Configuration attributes that AWS Config returns for certain resource types to supplement the information returned for the configuration parameter. - */ - supplementaryConfiguration?: SupplementaryConfiguration; - } - export type ConfigurationItemCaptureTime = Date; - export type ConfigurationItemList = ConfigurationItem[]; - export type ConfigurationItemMD5Hash = string; - export type ConfigurationItemStatus = "Ok"|"Failed"|"Discovered"|"Deleted"|string; - export interface ConfigurationRecorder { - /** - * The name of the recorder. By default, AWS Config automatically assigns the name "default" when creating the configuration recorder. You cannot change the assigned name. - */ - name?: RecorderName; - /** - * Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account. - */ - roleARN?: String; - /** - * Specifies the types of AWS resource for which AWS Config records configuration changes. - */ - recordingGroup?: RecordingGroup; - } - export type ConfigurationRecorderList = ConfigurationRecorder[]; - export type ConfigurationRecorderNameList = RecorderName[]; - export interface ConfigurationRecorderStatus { - /** - * The name of the configuration recorder. - */ - name?: String; - /** - * The time the recorder was last started. - */ - lastStartTime?: _Date; - /** - * The time the recorder was last stopped. - */ - lastStopTime?: _Date; - /** - * Specifies whether the recorder is currently recording or not. - */ - recording?: Boolean; - /** - * The last (previous) status of the recorder. - */ - lastStatus?: RecorderStatus; - /** - * The error code indicating that the recording failed. - */ - lastErrorCode?: String; - /** - * The message indicating that the recording failed due to an error. - */ - lastErrorMessage?: String; - /** - * The time when the status was last changed. - */ - lastStatusChangeTime?: _Date; - } - export type ConfigurationRecorderStatusList = ConfigurationRecorderStatus[]; - export type ConfigurationStateId = string; - export type _Date = Date; - export interface DeleteConfigRuleRequest { - /** - * The name of the AWS Config rule that you want to delete. - */ - ConfigRuleName: StringWithCharLimit64; - } - export interface DeleteConfigurationRecorderRequest { - /** - * The name of the configuration recorder to be deleted. You can retrieve the name of your configuration recorder by using the DescribeConfigurationRecorders action. - */ - ConfigurationRecorderName: RecorderName; - } - export interface DeleteDeliveryChannelRequest { - /** - * The name of the delivery channel to delete. - */ - DeliveryChannelName: ChannelName; - } - export interface DeleteEvaluationResultsRequest { - /** - * The name of the Config rule for which you want to delete the evaluation results. - */ - ConfigRuleName: StringWithCharLimit64; - } - export interface DeleteEvaluationResultsResponse { - } - export interface DeliverConfigSnapshotRequest { - /** - * The name of the delivery channel through which the snapshot is delivered. - */ - deliveryChannelName: ChannelName; - } - export interface DeliverConfigSnapshotResponse { - /** - * The ID of the snapshot that is being created. - */ - configSnapshotId?: String; - } - export interface DeliveryChannel { - /** - * The name of the delivery channel. By default, AWS Config assigns the name "default" when creating the delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action to delete your current delivery channel, and then you must use the PutDeliveryChannel command to create a delivery channel that has the desired name. - */ - name?: ChannelName; - /** - * The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files. If you specify a bucket that belongs to another AWS account, that bucket must have policies that grant access permissions to AWS Config. For more information, see Permissions for the Amazon S3 Bucket in the AWS Config Developer Guide. - */ - s3BucketName?: String; - /** - * The prefix for the specified Amazon S3 bucket. - */ - s3KeyPrefix?: String; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes. If you choose a topic from another account, the topic must have policies that grant access permissions to AWS Config. For more information, see Permissions for the Amazon SNS Topic in the AWS Config Developer Guide. - */ - snsTopicARN?: String; - /** - * The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket. - */ - configSnapshotDeliveryProperties?: ConfigSnapshotDeliveryProperties; - } - export type DeliveryChannelList = DeliveryChannel[]; - export type DeliveryChannelNameList = ChannelName[]; - export interface DeliveryChannelStatus { - /** - * The name of the delivery channel. - */ - name?: String; - /** - * A list containing the status of the delivery of the snapshot to the specified Amazon S3 bucket. - */ - configSnapshotDeliveryInfo?: ConfigExportDeliveryInfo; - /** - * A list that contains the status of the delivery of the configuration history to the specified Amazon S3 bucket. - */ - configHistoryDeliveryInfo?: ConfigExportDeliveryInfo; - /** - * A list containing the status of the delivery of the configuration stream notification to the specified Amazon SNS topic. - */ - configStreamDeliveryInfo?: ConfigStreamDeliveryInfo; - } - export type DeliveryChannelStatusList = DeliveryChannelStatus[]; - export type DeliveryStatus = "Success"|"Failure"|"Not_Applicable"|string; - export interface DescribeComplianceByConfigRuleRequest { - /** - * Specify one or more AWS Config rule names to filter the results by rule. - */ - ConfigRuleNames?: ConfigRuleNames; - /** - * Filters the results by compliance. The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA. - */ - ComplianceTypes?: ComplianceTypes; - /** - * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. - */ - NextToken?: String; - } - export interface DescribeComplianceByConfigRuleResponse { - /** - * Indicates whether each of the specified AWS Config rules is compliant. - */ - ComplianceByConfigRules?: ComplianceByConfigRules; - /** - * The string that you use in a subsequent request to get the next page of results in a paginated response. - */ - NextToken?: String; - } - export interface DescribeComplianceByResourceRequest { - /** - * The types of AWS resources for which you want compliance information; for example, AWS::EC2::Instance. For this action, you can specify that the resource type is an AWS account by specifying AWS::::Account. - */ - ResourceType?: StringWithCharLimit256; - /** - * The ID of the AWS resource for which you want compliance information. You can specify only one resource ID. If you specify a resource ID, you must also specify a type for ResourceType. - */ - ResourceId?: StringWithCharLimit256; - /** - * Filters the results by compliance. The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA. - */ - ComplianceTypes?: ComplianceTypes; - /** - * The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default. - */ - Limit?: Limit; - /** - * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. - */ - NextToken?: NextToken; - } - export interface DescribeComplianceByResourceResponse { - /** - * Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it. - */ - ComplianceByResources?: ComplianceByResources; - /** - * The string that you use in a subsequent request to get the next page of results in a paginated response. - */ - NextToken?: NextToken; - } - export interface DescribeConfigRuleEvaluationStatusRequest { - /** - * The name of the AWS managed Config rules for which you want status information. If you do not specify any names, AWS Config returns status information for all AWS managed Config rules that you use. - */ - ConfigRuleNames?: ConfigRuleNames; - /** - * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. - */ - NextToken?: String; - /** - * The number of rule evaluation results that you want returned. This parameter is required if the rule limit for your account is more than the default of 50 rules. For more information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide. - */ - Limit?: RuleLimit; - } - export interface DescribeConfigRuleEvaluationStatusResponse { - /** - * Status information about your AWS managed Config rules. - */ - ConfigRulesEvaluationStatus?: ConfigRuleEvaluationStatusList; - /** - * The string that you use in a subsequent request to get the next page of results in a paginated response. - */ - NextToken?: String; - } - export interface DescribeConfigRulesRequest { - /** - * The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules. - */ - ConfigRuleNames?: ConfigRuleNames; - /** - * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. - */ - NextToken?: String; - } - export interface DescribeConfigRulesResponse { - /** - * The details about your AWS Config rules. - */ - ConfigRules?: ConfigRules; - /** - * The string that you use in a subsequent request to get the next page of results in a paginated response. - */ - NextToken?: String; - } - export interface DescribeConfigurationRecorderStatusRequest { - /** - * The name(s) of the configuration recorder. If the name is not specified, the action returns the current status of all the configuration recorders associated with the account. - */ - ConfigurationRecorderNames?: ConfigurationRecorderNameList; - } - export interface DescribeConfigurationRecorderStatusResponse { - /** - * A list that contains status of the specified recorders. - */ - ConfigurationRecordersStatus?: ConfigurationRecorderStatusList; - } - export interface DescribeConfigurationRecordersRequest { - /** - * A list of configuration recorder names. - */ - ConfigurationRecorderNames?: ConfigurationRecorderNameList; - } - export interface DescribeConfigurationRecordersResponse { - /** - * A list that contains the descriptions of the specified configuration recorders. - */ - ConfigurationRecorders?: ConfigurationRecorderList; - } - export interface DescribeDeliveryChannelStatusRequest { - /** - * A list of delivery channel names. - */ - DeliveryChannelNames?: DeliveryChannelNameList; - } - export interface DescribeDeliveryChannelStatusResponse { - /** - * A list that contains the status of a specified delivery channel. - */ - DeliveryChannelsStatus?: DeliveryChannelStatusList; - } - export interface DescribeDeliveryChannelsRequest { - /** - * A list of delivery channel names. - */ - DeliveryChannelNames?: DeliveryChannelNameList; - } - export interface DescribeDeliveryChannelsResponse { - /** - * A list that contains the descriptions of the specified delivery channel. - */ - DeliveryChannels?: DeliveryChannelList; - } - export type EarlierTime = Date; - export type EmptiableStringWithCharLimit256 = string; - export interface Evaluation { - /** - * The type of AWS resource that was evaluated. - */ - ComplianceResourceType: StringWithCharLimit256; - /** - * The ID of the AWS resource that was evaluated. - */ - ComplianceResourceId: StringWithCharLimit256; - /** - * Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against. For the Evaluation data type, AWS Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for this data type. Similarly, AWS Config does not accept INSUFFICIENT_DATA as the value for ComplianceType from a PutEvaluations request. For example, an AWS Lambda function for a custom Config rule cannot pass an INSUFFICIENT_DATA value to AWS Config. - */ - ComplianceType: ComplianceType; - /** - * Supplementary information about how the evaluation determined the compliance. - */ - Annotation?: StringWithCharLimit256; - /** - * The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config triggered the evaluation at the frequency that you specified (for example, every 24 hours). - */ - OrderingTimestamp: OrderingTimestamp; - } - export interface EvaluationResult { - /** - * Uniquely identifies the evaluation result. - */ - EvaluationResultIdentifier?: EvaluationResultIdentifier; - /** - * Indicates whether the AWS resource complies with the AWS Config rule that evaluated it. For the EvaluationResult data type, AWS Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type. - */ - ComplianceType?: ComplianceType; - /** - * The time when AWS Config recorded the evaluation result. - */ - ResultRecordedTime?: _Date; - /** - * The time when the AWS Config rule evaluated the AWS resource. - */ - ConfigRuleInvokedTime?: _Date; - /** - * Supplementary information about how the evaluation determined the compliance. - */ - Annotation?: StringWithCharLimit256; - /** - * An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation. - */ - ResultToken?: String; - } - export interface EvaluationResultIdentifier { - /** - * Identifies an AWS Config rule used to evaluate an AWS resource, and provides the type and ID of the evaluated resource. - */ - EvaluationResultQualifier?: EvaluationResultQualifier; - /** - * The time of the event that triggered the evaluation of your AWS resources. The time can indicate when AWS Config delivered a configuration item change notification, or it can indicate when AWS Config delivered the configuration snapshot, depending on which event triggered the evaluation. - */ - OrderingTimestamp?: _Date; - } - export interface EvaluationResultQualifier { - /** - * The name of the AWS Config rule that was used in the evaluation. - */ - ConfigRuleName?: StringWithCharLimit64; - /** - * The type of AWS resource that was evaluated. - */ - ResourceType?: StringWithCharLimit256; - /** - * The ID of the evaluated AWS resource. - */ - ResourceId?: StringWithCharLimit256; - } - export type EvaluationResults = EvaluationResult[]; - export type Evaluations = Evaluation[]; - export type EventSource = "aws.config"|string; - export interface GetComplianceDetailsByConfigRuleRequest { - /** - * The name of the AWS Config rule for which you want compliance information. - */ - ConfigRuleName: StringWithCharLimit64; - /** - * Filters the results by compliance. The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE. - */ - ComplianceTypes?: ComplianceTypes; - /** - * The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default. - */ - Limit?: Limit; - /** - * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. - */ - NextToken?: NextToken; - } - export interface GetComplianceDetailsByConfigRuleResponse { - /** - * Indicates whether the AWS resource complies with the specified AWS Config rule. - */ - EvaluationResults?: EvaluationResults; - /** - * The string that you use in a subsequent request to get the next page of results in a paginated response. - */ - NextToken?: NextToken; - } - export interface GetComplianceDetailsByResourceRequest { - /** - * The type of the AWS resource for which you want compliance information. - */ - ResourceType: StringWithCharLimit256; - /** - * The ID of the AWS resource for which you want compliance information. - */ - ResourceId: StringWithCharLimit256; - /** - * Filters the results by compliance. The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE. - */ - ComplianceTypes?: ComplianceTypes; - /** - * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. - */ - NextToken?: String; - } - export interface GetComplianceDetailsByResourceResponse { - /** - * Indicates whether the specified AWS resource complies each AWS Config rule. - */ - EvaluationResults?: EvaluationResults; - /** - * The string that you use in a subsequent request to get the next page of results in a paginated response. - */ - NextToken?: String; - } - export interface GetComplianceSummaryByConfigRuleResponse { - /** - * The number of AWS Config rules that are compliant and the number that are noncompliant, up to a maximum of 25 for each. - */ - ComplianceSummary?: ComplianceSummary; - } - export interface GetComplianceSummaryByResourceTypeRequest { - /** - * Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type. For this request, you can specify an AWS resource type such as AWS::EC2::Instance, and you can specify that the resource type is an AWS account by specifying AWS::::Account. - */ - ResourceTypes?: ResourceTypes; - } - export interface GetComplianceSummaryByResourceTypeResponse { - /** - * The number of resources that are compliant and the number that are noncompliant. If one or more resource types were provided with the request, the numbers are returned for each resource type. The maximum number returned is 100. - */ - ComplianceSummariesByResourceType?: ComplianceSummariesByResourceType; - } - export interface GetResourceConfigHistoryRequest { - /** - * The resource type. - */ - resourceType: ResourceType; - /** - * The ID of the resource (for example., sg-xxxxxx). - */ - resourceId: ResourceId; - /** - * The time stamp that indicates a later time. If not specified, current time is taken. - */ - laterTime?: LaterTime; - /** - * The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start from when the first configuration item was recorded. - */ - earlierTime?: EarlierTime; - /** - * The chronological order for configuration items listed. By default the results are listed in reverse chronological order. - */ - chronologicalOrder?: ChronologicalOrder; - /** - * The maximum number of configuration items returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default. - */ - limit?: Limit; - /** - * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response. - */ - nextToken?: NextToken; - } - export interface GetResourceConfigHistoryResponse { - /** - * A list that contains the configuration history of one or more resources. - */ - configurationItems?: ConfigurationItemList; - /** - * The string that you use in a subsequent request to get the next page of results in a paginated response. - */ - nextToken?: NextToken; - } - export type IncludeGlobalResourceTypes = boolean; - export type Integer = number; - export type LaterTime = Date; - export type Limit = number; - export interface ListDiscoveredResourcesRequest { - /** - * The type of resources that you want AWS Config to list in the response. - */ - resourceType: ResourceType; - /** - * The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered. - */ - resourceIds?: ResourceIdList; - /** - * The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered. - */ - resourceName?: ResourceName; - /** - * The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default. - */ - limit?: Limit; - /** - * Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included. - */ - includeDeletedResources?: Boolean; - /** - * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response. - */ - nextToken?: NextToken; - } - export interface ListDiscoveredResourcesResponse { - /** - * The details that identify a resource that is discovered by AWS Config, including the resource type, ID, and (if available) the custom resource name. - */ - resourceIdentifiers?: ResourceIdentifierList; - /** - * The string that you use in a subsequent request to get the next page of results in a paginated response. - */ - nextToken?: NextToken; - } - export type MaximumExecutionFrequency = "One_Hour"|"Three_Hours"|"Six_Hours"|"Twelve_Hours"|"TwentyFour_Hours"|string; - export type MessageType = "ConfigurationItemChangeNotification"|"ConfigurationSnapshotDeliveryCompleted"|"ScheduledNotification"|"OversizedConfigurationItemChangeNotification"|string; - export type Name = string; - export type NextToken = string; - export type OrderingTimestamp = Date; - export type Owner = "CUSTOM_LAMBDA"|"AWS"|string; - export interface PutConfigRuleRequest { - /** - * The rule that you want to add to your account. - */ - ConfigRule: ConfigRule; - } - export interface PutConfigurationRecorderRequest { - /** - * The configuration recorder object that records each configuration change made to the resources. - */ - ConfigurationRecorder: ConfigurationRecorder; - } - export interface PutDeliveryChannelRequest { - /** - * The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket, and to an Amazon SNS topic. - */ - DeliveryChannel: DeliveryChannel; - } - export interface PutEvaluationsRequest { - /** - * The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function. - */ - Evaluations?: Evaluations; - /** - * An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation - */ - ResultToken: String; - /** - * Use this parameter to specify a test run for PutEvaluations. You can verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config. When TestMode is true, PutEvaluations doesn't require a valid value for the ResultToken parameter, but the value cannot be null. - */ - TestMode?: Boolean; - } - export interface PutEvaluationsResponse { - /** - * Requests that failed because of a client or server error. - */ - FailedEvaluations?: Evaluations; - } - export type RecorderName = string; - export type RecorderStatus = "Pending"|"Success"|"Failure"|string; - export interface RecordingGroup { - /** - * Specifies whether AWS Config records configuration changes for every supported type of regional resource. If you set this option to true, when AWS Config adds support for a new type of regional resource, it automatically starts recording resources of that type. If you set this option to true, you cannot enumerate a list of resourceTypes. - */ - allSupported?: AllSupported; - /** - * Specifies whether AWS Config includes all supported types of global resources (for example, IAM resources) with the resources that it records. Before you can set this option to true, you must set the allSupported option to true. If you set this option to true, when AWS Config adds support for a new type of global resource, it automatically starts recording resources of that type. The configuration details for any global resource are the same in all regions. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources. - */ - includeGlobalResourceTypes?: IncludeGlobalResourceTypes; - /** - * A comma-separated list that specifies the types of AWS resources for which AWS Config records configuration changes (for example, AWS::EC2::Instance or AWS::CloudTrail::Trail). Before you can set this option to true, you must set the allSupported option to false. If you set this option to true, when AWS Config adds support for a new type of resource, it will not record resources of that type unless you manually add that type to your recording group. For a list of valid resourceTypes values, see the resourceType Value column in Supported AWS Resource Types. - */ - resourceTypes?: ResourceTypeList; - } - export type ReevaluateConfigRuleNames = StringWithCharLimit64[]; - export type RelatedEvent = string; - export type RelatedEventList = RelatedEvent[]; - export interface Relationship { - /** - * The resource type of the related resource. - */ - resourceType?: ResourceType; - /** - * The ID of the related resource (for example, sg-xxxxxx). - */ - resourceId?: ResourceId; - /** - * The custom name of the related resource, if available. - */ - resourceName?: ResourceName; - /** - * The type of relationship with the related resource. - */ - relationshipName?: RelationshipName; - } - export type RelationshipList = Relationship[]; - export type RelationshipName = string; - export type ResourceCreationTime = Date; - export type ResourceDeletionTime = Date; - export type ResourceId = string; - export type ResourceIdList = ResourceId[]; - export interface ResourceIdentifier { - /** - * The type of resource. - */ - resourceType?: ResourceType; - /** - * The ID of the resource (for example., sg-xxxxxx). - */ - resourceId?: ResourceId; - /** - * The custom name of the resource (if available). - */ - resourceName?: ResourceName; - /** - * The time that the resource was deleted. - */ - resourceDeletionTime?: ResourceDeletionTime; - } - export type ResourceIdentifierList = ResourceIdentifier[]; - export type ResourceName = string; - export type ResourceType = "AWS::EC2::CustomerGateway"|"AWS::EC2::EIP"|"AWS::EC2::Host"|"AWS::EC2::Instance"|"AWS::EC2::InternetGateway"|"AWS::EC2::NetworkAcl"|"AWS::EC2::NetworkInterface"|"AWS::EC2::RouteTable"|"AWS::EC2::SecurityGroup"|"AWS::EC2::Subnet"|"AWS::CloudTrail::Trail"|"AWS::EC2::Volume"|"AWS::EC2::VPC"|"AWS::EC2::VPNConnection"|"AWS::EC2::VPNGateway"|"AWS::IAM::Group"|"AWS::IAM::Policy"|"AWS::IAM::Role"|"AWS::IAM::User"|"AWS::ACM::Certificate"|"AWS::RDS::DBInstance"|"AWS::RDS::DBSubnetGroup"|"AWS::RDS::DBSecurityGroup"|"AWS::RDS::DBSnapshot"|"AWS::RDS::EventSubscription"|"AWS::ElasticLoadBalancingV2::LoadBalancer"|"AWS::S3::Bucket"|"AWS::SSM::ManagedInstanceInventory"|"AWS::Redshift::Cluster"|"AWS::Redshift::ClusterSnapshot"|"AWS::Redshift::ClusterParameterGroup"|"AWS::Redshift::ClusterSecurityGroup"|"AWS::Redshift::ClusterSubnetGroup"|"AWS::Redshift::EventSubscription"|"AWS::CloudWatch::Alarm"|string; - export type ResourceTypeList = ResourceType[]; - export type ResourceTypes = StringWithCharLimit256[]; - export type RuleLimit = number; - export interface Scope { - /** - * The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ComplianceResourceId. - */ - ComplianceResourceTypes?: ComplianceResourceTypes; - /** - * The tag key that is applied to only those AWS resources that you want you want to trigger an evaluation for the rule. - */ - TagKey?: StringWithCharLimit128; - /** - * The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule. If you specify a value for TagValue, you must also specify a value for TagKey. - */ - TagValue?: StringWithCharLimit256; - /** - * The IDs of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes. - */ - ComplianceResourceId?: StringWithCharLimit256; - } - export interface Source { - /** - * Indicates whether AWS or the customer owns and manages the AWS Config rule. - */ - Owner: Owner; - /** - * For AWS Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Managed Config Rules. For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function, such as arn:aws:lambda:us-east-1:123456789012:function:custom_rule_name. - */ - SourceIdentifier: StringWithCharLimit256; - /** - * Provides the source and type of the event that causes AWS Config to evaluate your AWS resources. - */ - SourceDetails?: SourceDetails; - } - export interface SourceDetail { - /** - * The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources. - */ - EventSource?: EventSource; - /** - * The type of notification that triggers AWS Config to run an evaluation for a rule. You can specify the following notification types: ConfigurationItemChangeNotification - Triggers an evaluation when AWS Config delivers a configuration item as a result of a resource change. OversizedConfigurationItemChangeNotification - Triggers an evaluation when AWS Config delivers an oversized configuration item. AWS Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. ScheduledNotification - Triggers a periodic evaluation at the frequency specified for MaximumExecutionFrequency. ConfigurationSnapshotDeliveryCompleted - Triggers a periodic evaluation when AWS Config delivers a configuration snapshot. If you want your custom rule to be triggered by configuration changes, specify both ConfigurationItemChangeNotification and OversizedConfigurationItemChangeNotification. - */ - MessageType?: MessageType; - /** - * The frequency that you want AWS Config to run evaluations for a custom rule with a periodic trigger. If you specify a value for MaximumExecutionFrequency, then MessageType must use the ScheduledNotification value. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter. - */ - MaximumExecutionFrequency?: MaximumExecutionFrequency; - } - export type SourceDetails = SourceDetail[]; - export interface StartConfigRulesEvaluationRequest { - /** - * The list of names of Config rules that you want to run evaluations for. - */ - ConfigRuleNames?: ReevaluateConfigRuleNames; - } - export interface StartConfigRulesEvaluationResponse { - } - export interface StartConfigurationRecorderRequest { - /** - * The name of the recorder object that records each configuration change made to the resources. - */ - ConfigurationRecorderName: RecorderName; - } - export interface StopConfigurationRecorderRequest { - /** - * The name of the recorder object that records each configuration change made to the resources. - */ - ConfigurationRecorderName: RecorderName; - } - export type String = string; - export type StringWithCharLimit1024 = string; - export type StringWithCharLimit128 = string; - export type StringWithCharLimit256 = string; - export type StringWithCharLimit64 = string; - export type SupplementaryConfiguration = {[key: string]: SupplementaryConfigurationValue}; - export type SupplementaryConfigurationName = string; - export type SupplementaryConfigurationValue = string; - export type Tags = {[key: string]: Value}; - export type Value = string; - export type Version = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-11-12"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ConfigService client. - */ - export import Types = ConfigService; -} -export = ConfigService; diff --git a/src/node_modules/aws-sdk/clients/configservice.js b/src/node_modules/aws-sdk/clients/configservice.js deleted file mode 100644 index 049fec4..0000000 --- a/src/node_modules/aws-sdk/clients/configservice.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['configservice'] = {}; -AWS.ConfigService = Service.defineService('configservice', ['2014-11-12']); -Object.defineProperty(apiLoader.services['configservice'], '2014-11-12', { - get: function get() { - var model = require('../apis/config-2014-11-12.min.json'); - model.paginators = require('../apis/config-2014-11-12.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ConfigService; diff --git a/src/node_modules/aws-sdk/clients/cur.d.ts b/src/node_modules/aws-sdk/clients/cur.d.ts deleted file mode 100644 index 58e9cd2..0000000 --- a/src/node_modules/aws-sdk/clients/cur.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class CUR extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: CUR.Types.ClientConfiguration) - config: Config & CUR.Types.ClientConfiguration; - /** - * Delete a specified report definition - */ - deleteReportDefinition(params: CUR.Types.DeleteReportDefinitionRequest, callback?: (err: AWSError, data: CUR.Types.DeleteReportDefinitionResponse) => void): Request; - /** - * Delete a specified report definition - */ - deleteReportDefinition(callback?: (err: AWSError, data: CUR.Types.DeleteReportDefinitionResponse) => void): Request; - /** - * Describe a list of report definitions owned by the account - */ - describeReportDefinitions(params: CUR.Types.DescribeReportDefinitionsRequest, callback?: (err: AWSError, data: CUR.Types.DescribeReportDefinitionsResponse) => void): Request; - /** - * Describe a list of report definitions owned by the account - */ - describeReportDefinitions(callback?: (err: AWSError, data: CUR.Types.DescribeReportDefinitionsResponse) => void): Request; - /** - * Create a new report definition - */ - putReportDefinition(params: CUR.Types.PutReportDefinitionRequest, callback?: (err: AWSError, data: CUR.Types.PutReportDefinitionResponse) => void): Request; - /** - * Create a new report definition - */ - putReportDefinition(callback?: (err: AWSError, data: CUR.Types.PutReportDefinitionResponse) => void): Request; -} -declare namespace CUR { - export type AWSRegion = "us-east-1"|"us-west-1"|"us-west-2"|"eu-central-1"|"eu-west-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|string; - export type AdditionalArtifact = "REDSHIFT"|"QUICKSIGHT"|string; - export type AdditionalArtifactList = AdditionalArtifact[]; - export type CompressionFormat = "ZIP"|"GZIP"|string; - export interface DeleteReportDefinitionRequest { - ReportName?: ReportName; - } - export interface DeleteReportDefinitionResponse { - ResponseMessage?: DeleteResponseMessage; - } - export type DeleteResponseMessage = string; - export interface DescribeReportDefinitionsRequest { - MaxResults?: MaxResults; - NextToken?: GenericString; - } - export interface DescribeReportDefinitionsResponse { - ReportDefinitions?: ReportDefinitionList; - NextToken?: GenericString; - } - export type ErrorMessage = string; - export type GenericString = string; - export type MaxResults = number; - export interface PutReportDefinitionRequest { - ReportDefinition: ReportDefinition; - } - export interface PutReportDefinitionResponse { - } - export interface ReportDefinition { - ReportName: ReportName; - TimeUnit: TimeUnit; - Format: ReportFormat; - Compression: CompressionFormat; - AdditionalSchemaElements: SchemaElementList; - S3Bucket: S3Bucket; - S3Prefix: S3Prefix; - S3Region: AWSRegion; - AdditionalArtifacts?: AdditionalArtifactList; - } - export type ReportDefinitionList = ReportDefinition[]; - export type ReportFormat = "textORcsv"|string; - export type ReportName = string; - export type S3Bucket = string; - export type S3Prefix = string; - export type SchemaElement = "RESOURCES"|string; - export type SchemaElementList = SchemaElement[]; - export type TimeUnit = "HOURLY"|"DAILY"|string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2017-01-06"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the CUR client. - */ - export import Types = CUR; -} -export = CUR; diff --git a/src/node_modules/aws-sdk/clients/cur.js b/src/node_modules/aws-sdk/clients/cur.js deleted file mode 100644 index d482914..0000000 --- a/src/node_modules/aws-sdk/clients/cur.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['cur'] = {}; -AWS.CUR = Service.defineService('cur', ['2017-01-06']); -Object.defineProperty(apiLoader.services['cur'], '2017-01-06', { - get: function get() { - var model = require('../apis/cur-2017-01-06.min.json'); - model.paginators = require('../apis/cur-2017-01-06.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CUR; diff --git a/src/node_modules/aws-sdk/clients/datapipeline.d.ts b/src/node_modules/aws-sdk/clients/datapipeline.d.ts deleted file mode 100644 index 6ebdfcc..0000000 --- a/src/node_modules/aws-sdk/clients/datapipeline.d.ts +++ /dev/null @@ -1,770 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class DataPipeline extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: DataPipeline.Types.ClientConfiguration) - config: Config & DataPipeline.Types.ClientConfiguration; - /** - * Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation, activation fails. If you need to pause the pipeline to investigate an issue with a component, such as a data source or script, call DeactivatePipeline. To activate a finished pipeline, modify the end date for the pipeline and then activate it. - */ - activatePipeline(params: DataPipeline.Types.ActivatePipelineInput, callback?: (err: AWSError, data: DataPipeline.Types.ActivatePipelineOutput) => void): Request; - /** - * Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation, activation fails. If you need to pause the pipeline to investigate an issue with a component, such as a data source or script, call DeactivatePipeline. To activate a finished pipeline, modify the end date for the pipeline and then activate it. - */ - activatePipeline(callback?: (err: AWSError, data: DataPipeline.Types.ActivatePipelineOutput) => void): Request; - /** - * Adds or modifies tags for the specified pipeline. - */ - addTags(params: DataPipeline.Types.AddTagsInput, callback?: (err: AWSError, data: DataPipeline.Types.AddTagsOutput) => void): Request; - /** - * Adds or modifies tags for the specified pipeline. - */ - addTags(callback?: (err: AWSError, data: DataPipeline.Types.AddTagsOutput) => void): Request; - /** - * Creates a new, empty pipeline. Use PutPipelineDefinition to populate the pipeline. - */ - createPipeline(params: DataPipeline.Types.CreatePipelineInput, callback?: (err: AWSError, data: DataPipeline.Types.CreatePipelineOutput) => void): Request; - /** - * Creates a new, empty pipeline. Use PutPipelineDefinition to populate the pipeline. - */ - createPipeline(callback?: (err: AWSError, data: DataPipeline.Types.CreatePipelineOutput) => void): Request; - /** - * Deactivates the specified running pipeline. The pipeline is set to the DEACTIVATING state until the deactivation process completes. To resume a deactivated pipeline, use ActivatePipeline. By default, the pipeline resumes from the last completed execution. Optionally, you can specify the date and time to resume the pipeline. - */ - deactivatePipeline(params: DataPipeline.Types.DeactivatePipelineInput, callback?: (err: AWSError, data: DataPipeline.Types.DeactivatePipelineOutput) => void): Request; - /** - * Deactivates the specified running pipeline. The pipeline is set to the DEACTIVATING state until the deactivation process completes. To resume a deactivated pipeline, use ActivatePipeline. By default, the pipeline resumes from the last completed execution. Optionally, you can specify the date and time to resume the pipeline. - */ - deactivatePipeline(callback?: (err: AWSError, data: DataPipeline.Types.DeactivatePipelineOutput) => void): Request; - /** - * Deletes a pipeline, its pipeline definition, and its run history. AWS Data Pipeline attempts to cancel instances associated with the pipeline that are currently being processed by task runners. Deleting a pipeline cannot be undone. You cannot query or restore a deleted pipeline. To temporarily pause a pipeline instead of deleting it, call SetStatus with the status set to PAUSE on individual components. Components that are paused by SetStatus can be resumed. - */ - deletePipeline(params: DataPipeline.Types.DeletePipelineInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a pipeline, its pipeline definition, and its run history. AWS Data Pipeline attempts to cancel instances associated with the pipeline that are currently being processed by task runners. Deleting a pipeline cannot be undone. You cannot query or restore a deleted pipeline. To temporarily pause a pipeline instead of deleting it, call SetStatus with the status set to PAUSE on individual components. Components that are paused by SetStatus can be resumed. - */ - deletePipeline(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Gets the object definitions for a set of objects associated with the pipeline. Object definitions are composed of a set of fields that define the properties of the object. - */ - describeObjects(params: DataPipeline.Types.DescribeObjectsInput, callback?: (err: AWSError, data: DataPipeline.Types.DescribeObjectsOutput) => void): Request; - /** - * Gets the object definitions for a set of objects associated with the pipeline. Object definitions are composed of a set of fields that define the properties of the object. - */ - describeObjects(callback?: (err: AWSError, data: DataPipeline.Types.DescribeObjectsOutput) => void): Request; - /** - * Retrieves metadata about one or more pipelines. The information retrieved includes the name of the pipeline, the pipeline identifier, its current state, and the user account that owns the pipeline. Using account credentials, you can retrieve metadata about pipelines that you or your IAM users have created. If you are using an IAM user account, you can retrieve metadata about only those pipelines for which you have read permissions. To retrieve the full pipeline definition instead of metadata about the pipeline, call GetPipelineDefinition. - */ - describePipelines(params: DataPipeline.Types.DescribePipelinesInput, callback?: (err: AWSError, data: DataPipeline.Types.DescribePipelinesOutput) => void): Request; - /** - * Retrieves metadata about one or more pipelines. The information retrieved includes the name of the pipeline, the pipeline identifier, its current state, and the user account that owns the pipeline. Using account credentials, you can retrieve metadata about pipelines that you or your IAM users have created. If you are using an IAM user account, you can retrieve metadata about only those pipelines for which you have read permissions. To retrieve the full pipeline definition instead of metadata about the pipeline, call GetPipelineDefinition. - */ - describePipelines(callback?: (err: AWSError, data: DataPipeline.Types.DescribePipelinesOutput) => void): Request; - /** - * Task runners call EvaluateExpression to evaluate a string in the context of the specified object. For example, a task runner can evaluate SQL queries stored in Amazon S3. - */ - evaluateExpression(params: DataPipeline.Types.EvaluateExpressionInput, callback?: (err: AWSError, data: DataPipeline.Types.EvaluateExpressionOutput) => void): Request; - /** - * Task runners call EvaluateExpression to evaluate a string in the context of the specified object. For example, a task runner can evaluate SQL queries stored in Amazon S3. - */ - evaluateExpression(callback?: (err: AWSError, data: DataPipeline.Types.EvaluateExpressionOutput) => void): Request; - /** - * Gets the definition of the specified pipeline. You can call GetPipelineDefinition to retrieve the pipeline definition that you provided using PutPipelineDefinition. - */ - getPipelineDefinition(params: DataPipeline.Types.GetPipelineDefinitionInput, callback?: (err: AWSError, data: DataPipeline.Types.GetPipelineDefinitionOutput) => void): Request; - /** - * Gets the definition of the specified pipeline. You can call GetPipelineDefinition to retrieve the pipeline definition that you provided using PutPipelineDefinition. - */ - getPipelineDefinition(callback?: (err: AWSError, data: DataPipeline.Types.GetPipelineDefinitionOutput) => void): Request; - /** - * Lists the pipeline identifiers for all active pipelines that you have permission to access. - */ - listPipelines(params: DataPipeline.Types.ListPipelinesInput, callback?: (err: AWSError, data: DataPipeline.Types.ListPipelinesOutput) => void): Request; - /** - * Lists the pipeline identifiers for all active pipelines that you have permission to access. - */ - listPipelines(callback?: (err: AWSError, data: DataPipeline.Types.ListPipelinesOutput) => void): Request; - /** - * Task runners call PollForTask to receive a task to perform from AWS Data Pipeline. The task runner specifies which tasks it can perform by setting a value for the workerGroup parameter. The task returned can come from any of the pipelines that match the workerGroup value passed in by the task runner and that was launched using the IAM user credentials specified by the task runner. If tasks are ready in the work queue, PollForTask returns a response immediately. If no tasks are available in the queue, PollForTask uses long-polling and holds on to a poll connection for up to a 90 seconds, during which time the first newly scheduled task is handed to the task runner. To accomodate this, set the socket timeout in your task runner to 90 seconds. The task runner should not call PollForTask again on the same workerGroup until it receives a response, and this can take up to 90 seconds. - */ - pollForTask(params: DataPipeline.Types.PollForTaskInput, callback?: (err: AWSError, data: DataPipeline.Types.PollForTaskOutput) => void): Request; - /** - * Task runners call PollForTask to receive a task to perform from AWS Data Pipeline. The task runner specifies which tasks it can perform by setting a value for the workerGroup parameter. The task returned can come from any of the pipelines that match the workerGroup value passed in by the task runner and that was launched using the IAM user credentials specified by the task runner. If tasks are ready in the work queue, PollForTask returns a response immediately. If no tasks are available in the queue, PollForTask uses long-polling and holds on to a poll connection for up to a 90 seconds, during which time the first newly scheduled task is handed to the task runner. To accomodate this, set the socket timeout in your task runner to 90 seconds. The task runner should not call PollForTask again on the same workerGroup until it receives a response, and this can take up to 90 seconds. - */ - pollForTask(callback?: (err: AWSError, data: DataPipeline.Types.PollForTaskOutput) => void): Request; - /** - * Adds tasks, schedules, and preconditions to the specified pipeline. You can use PutPipelineDefinition to populate a new pipeline. PutPipelineDefinition also validates the configuration as it adds it to the pipeline. Changes to the pipeline are saved unless one of the following three validation errors exists in the pipeline. An object is missing a name or identifier field. A string or reference field is empty. The number of objects in the pipeline exceeds the maximum allowed objects. The pipeline is in a FINISHED state. Pipeline object definitions are passed to the PutPipelineDefinition action and returned by the GetPipelineDefinition action. - */ - putPipelineDefinition(params: DataPipeline.Types.PutPipelineDefinitionInput, callback?: (err: AWSError, data: DataPipeline.Types.PutPipelineDefinitionOutput) => void): Request; - /** - * Adds tasks, schedules, and preconditions to the specified pipeline. You can use PutPipelineDefinition to populate a new pipeline. PutPipelineDefinition also validates the configuration as it adds it to the pipeline. Changes to the pipeline are saved unless one of the following three validation errors exists in the pipeline. An object is missing a name or identifier field. A string or reference field is empty. The number of objects in the pipeline exceeds the maximum allowed objects. The pipeline is in a FINISHED state. Pipeline object definitions are passed to the PutPipelineDefinition action and returned by the GetPipelineDefinition action. - */ - putPipelineDefinition(callback?: (err: AWSError, data: DataPipeline.Types.PutPipelineDefinitionOutput) => void): Request; - /** - * Queries the specified pipeline for the names of objects that match the specified set of conditions. - */ - queryObjects(params: DataPipeline.Types.QueryObjectsInput, callback?: (err: AWSError, data: DataPipeline.Types.QueryObjectsOutput) => void): Request; - /** - * Queries the specified pipeline for the names of objects that match the specified set of conditions. - */ - queryObjects(callback?: (err: AWSError, data: DataPipeline.Types.QueryObjectsOutput) => void): Request; - /** - * Removes existing tags from the specified pipeline. - */ - removeTags(params: DataPipeline.Types.RemoveTagsInput, callback?: (err: AWSError, data: DataPipeline.Types.RemoveTagsOutput) => void): Request; - /** - * Removes existing tags from the specified pipeline. - */ - removeTags(callback?: (err: AWSError, data: DataPipeline.Types.RemoveTagsOutput) => void): Request; - /** - * Task runners call ReportTaskProgress when assigned a task to acknowledge that it has the task. If the web service does not receive this acknowledgement within 2 minutes, it assigns the task in a subsequent PollForTask call. After this initial acknowledgement, the task runner only needs to report progress every 15 minutes to maintain its ownership of the task. You can change this reporting time from 15 minutes by specifying a reportProgressTimeout field in your pipeline. If a task runner does not report its status after 5 minutes, AWS Data Pipeline assumes that the task runner is unable to process the task and reassigns the task in a subsequent response to PollForTask. Task runners should call ReportTaskProgress every 60 seconds. - */ - reportTaskProgress(params: DataPipeline.Types.ReportTaskProgressInput, callback?: (err: AWSError, data: DataPipeline.Types.ReportTaskProgressOutput) => void): Request; - /** - * Task runners call ReportTaskProgress when assigned a task to acknowledge that it has the task. If the web service does not receive this acknowledgement within 2 minutes, it assigns the task in a subsequent PollForTask call. After this initial acknowledgement, the task runner only needs to report progress every 15 minutes to maintain its ownership of the task. You can change this reporting time from 15 minutes by specifying a reportProgressTimeout field in your pipeline. If a task runner does not report its status after 5 minutes, AWS Data Pipeline assumes that the task runner is unable to process the task and reassigns the task in a subsequent response to PollForTask. Task runners should call ReportTaskProgress every 60 seconds. - */ - reportTaskProgress(callback?: (err: AWSError, data: DataPipeline.Types.ReportTaskProgressOutput) => void): Request; - /** - * Task runners call ReportTaskRunnerHeartbeat every 15 minutes to indicate that they are operational. If the AWS Data Pipeline Task Runner is launched on a resource managed by AWS Data Pipeline, the web service can use this call to detect when the task runner application has failed and restart a new instance. - */ - reportTaskRunnerHeartbeat(params: DataPipeline.Types.ReportTaskRunnerHeartbeatInput, callback?: (err: AWSError, data: DataPipeline.Types.ReportTaskRunnerHeartbeatOutput) => void): Request; - /** - * Task runners call ReportTaskRunnerHeartbeat every 15 minutes to indicate that they are operational. If the AWS Data Pipeline Task Runner is launched on a resource managed by AWS Data Pipeline, the web service can use this call to detect when the task runner application has failed and restart a new instance. - */ - reportTaskRunnerHeartbeat(callback?: (err: AWSError, data: DataPipeline.Types.ReportTaskRunnerHeartbeatOutput) => void): Request; - /** - * Requests that the status of the specified physical or logical pipeline objects be updated in the specified pipeline. This update might not occur immediately, but is eventually consistent. The status that can be set depends on the type of object (for example, DataNode or Activity). You cannot perform this operation on FINISHED pipelines and attempting to do so returns InvalidRequestException. - */ - setStatus(params: DataPipeline.Types.SetStatusInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Requests that the status of the specified physical or logical pipeline objects be updated in the specified pipeline. This update might not occur immediately, but is eventually consistent. The status that can be set depends on the type of object (for example, DataNode or Activity). You cannot perform this operation on FINISHED pipelines and attempting to do so returns InvalidRequestException. - */ - setStatus(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Task runners call SetTaskStatus to notify AWS Data Pipeline that a task is completed and provide information about the final status. A task runner makes this call regardless of whether the task was sucessful. A task runner does not need to call SetTaskStatus for tasks that are canceled by the web service during a call to ReportTaskProgress. - */ - setTaskStatus(params: DataPipeline.Types.SetTaskStatusInput, callback?: (err: AWSError, data: DataPipeline.Types.SetTaskStatusOutput) => void): Request; - /** - * Task runners call SetTaskStatus to notify AWS Data Pipeline that a task is completed and provide information about the final status. A task runner makes this call regardless of whether the task was sucessful. A task runner does not need to call SetTaskStatus for tasks that are canceled by the web service during a call to ReportTaskProgress. - */ - setTaskStatus(callback?: (err: AWSError, data: DataPipeline.Types.SetTaskStatusOutput) => void): Request; - /** - * Validates the specified pipeline definition to ensure that it is well formed and can be run without error. - */ - validatePipelineDefinition(params: DataPipeline.Types.ValidatePipelineDefinitionInput, callback?: (err: AWSError, data: DataPipeline.Types.ValidatePipelineDefinitionOutput) => void): Request; - /** - * Validates the specified pipeline definition to ensure that it is well formed and can be run without error. - */ - validatePipelineDefinition(callback?: (err: AWSError, data: DataPipeline.Types.ValidatePipelineDefinitionOutput) => void): Request; -} -declare namespace DataPipeline { - export interface ActivatePipelineInput { - /** - * The ID of the pipeline. - */ - pipelineId: id; - /** - * A list of parameter values to pass to the pipeline at activation. - */ - parameterValues?: ParameterValueList; - /** - * The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution. - */ - startTimestamp?: timestamp; - } - export interface ActivatePipelineOutput { - } - export interface AddTagsInput { - /** - * The ID of the pipeline. - */ - pipelineId: id; - /** - * The tags to add, as key/value pairs. - */ - tags: tagList; - } - export interface AddTagsOutput { - } - export interface CreatePipelineInput { - /** - * The name for the pipeline. You can use the same name for multiple pipelines associated with your AWS account, because AWS Data Pipeline assigns each pipeline a unique pipeline identifier. - */ - name: id; - /** - * A unique identifier. This identifier is not the same as the pipeline identifier assigned by AWS Data Pipeline. You are responsible for defining the format and ensuring the uniqueness of this identifier. You use this parameter to ensure idempotency during repeated calls to CreatePipeline. For example, if the first call to CreatePipeline does not succeed, you can pass in the same unique identifier and pipeline name combination on a subsequent call to CreatePipeline. CreatePipeline ensures that if a pipeline already exists with the same name and unique identifier, a new pipeline is not created. Instead, you'll receive the pipeline identifier from the previous attempt. The uniqueness of the name and unique identifier combination is scoped to the AWS account or IAM user credentials. - */ - uniqueId: id; - /** - * The description for the pipeline. - */ - description?: string; - /** - * A list of tags to associate with the pipeline at creation. Tags let you control access to pipelines. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide. - */ - tags?: tagList; - } - export interface CreatePipelineOutput { - /** - * The ID that AWS Data Pipeline assigns the newly created pipeline. For example, df-06372391ZG65EXAMPLE. - */ - pipelineId: id; - } - export interface DeactivatePipelineInput { - /** - * The ID of the pipeline. - */ - pipelineId: id; - /** - * Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects to CANCELED. If this value is false, the pipeline is deactivated after all running objects finish. - */ - cancelActive?: cancelActive; - } - export interface DeactivatePipelineOutput { - } - export interface DeletePipelineInput { - /** - * The ID of the pipeline. - */ - pipelineId: id; - } - export interface DescribeObjectsInput { - /** - * The ID of the pipeline that contains the object definitions. - */ - pipelineId: id; - /** - * The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects. - */ - objectIds: idList; - /** - * Indicates whether any expressions in the object should be evaluated when the object descriptions are returned. - */ - evaluateExpressions?: boolean; - /** - * The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call DescribeObjects with the marker value from the previous call to retrieve the next set of results. - */ - marker?: string; - } - export interface DescribeObjectsOutput { - /** - * An array of object definitions. - */ - pipelineObjects: PipelineObjectList; - /** - * The starting point for the next page of results. To view the next page of results, call DescribeObjects again with this marker value. If the value is null, there are no more results. - */ - marker?: string; - /** - * Indicates whether there are more results to return. - */ - hasMoreResults?: boolean; - } - export interface DescribePipelinesInput { - /** - * The IDs of the pipelines to describe. You can pass as many as 25 identifiers in a single call. To obtain pipeline IDs, call ListPipelines. - */ - pipelineIds: idList; - } - export interface DescribePipelinesOutput { - /** - * An array of descriptions for the specified pipelines. - */ - pipelineDescriptionList: PipelineDescriptionList; - } - export interface EvaluateExpressionInput { - /** - * The ID of the pipeline. - */ - pipelineId: id; - /** - * The ID of the object. - */ - objectId: id; - /** - * The expression to evaluate. - */ - expression: longString; - } - export interface EvaluateExpressionOutput { - /** - * The evaluated expression. - */ - evaluatedExpression: longString; - } - export interface Field { - /** - * The field identifier. - */ - key: fieldNameString; - /** - * The field value, expressed as a String. - */ - stringValue?: fieldStringValue; - /** - * The field value, expressed as the identifier of another object. - */ - refValue?: fieldNameString; - } - export interface GetPipelineDefinitionInput { - /** - * The ID of the pipeline. - */ - pipelineId: id; - /** - * The version of the pipeline definition to retrieve. Set this parameter to latest (default) to use the last definition saved to the pipeline or active to use the last definition that was activated. - */ - version?: string; - } - export interface GetPipelineDefinitionOutput { - /** - * The objects defined in the pipeline. - */ - pipelineObjects?: PipelineObjectList; - /** - * The parameter objects used in the pipeline definition. - */ - parameterObjects?: ParameterObjectList; - /** - * The parameter values used in the pipeline definition. - */ - parameterValues?: ParameterValueList; - } - export interface InstanceIdentity { - /** - * A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via the instance metadata service in the form of a JSON representation of an object. - */ - document?: string; - /** - * A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document. - */ - signature?: string; - } - export interface ListPipelinesInput { - /** - * The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call ListPipelines with the marker value from the previous call to retrieve the next set of results. - */ - marker?: string; - } - export interface ListPipelinesOutput { - /** - * The pipeline identifiers. If you require additional information about the pipelines, you can use these identifiers to call DescribePipelines and GetPipelineDefinition. - */ - pipelineIdList: pipelineList; - /** - * The starting point for the next page of results. To view the next page of results, call ListPipelinesOutput again with this marker value. If the value is null, there are no more results. - */ - marker?: string; - /** - * Indicates whether there are more results that can be obtained by a subsequent call. - */ - hasMoreResults?: boolean; - } - export interface Operator { - /** - * The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN). Equal reference (REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields: name @sphere parent @componentParent @instanceParent @status @scheduledStartTime @scheduledEndTime @actualStartTime @actualEndTime The comparison operators GE, LE, and BETWEEN act on the following fields: @scheduledStartTime @scheduledEndTime @actualStartTime @actualEndTime Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my". - */ - type?: OperatorType; - /** - * The value that the actual field value will be compared with. - */ - values?: stringList; - } - export type OperatorType = "EQ"|"REF_EQ"|"LE"|"GE"|"BETWEEN"|string; - export interface ParameterAttribute { - /** - * The field identifier. - */ - key: attributeNameString; - /** - * The field value, expressed as a String. - */ - stringValue: attributeValueString; - } - export type ParameterAttributeList = ParameterAttribute[]; - export interface ParameterObject { - /** - * The ID of the parameter object. - */ - id: fieldNameString; - /** - * The attributes of the parameter object. - */ - attributes: ParameterAttributeList; - } - export type ParameterObjectList = ParameterObject[]; - export interface ParameterValue { - /** - * The ID of the parameter value. - */ - id: fieldNameString; - /** - * The field value, expressed as a String. - */ - stringValue: fieldStringValue; - } - export type ParameterValueList = ParameterValue[]; - export interface PipelineDescription { - /** - * The pipeline identifier that was assigned by AWS Data Pipeline. This is a string of the form df-297EG78HU43EEXAMPLE. - */ - pipelineId: id; - /** - * The name of the pipeline. - */ - name: id; - /** - * A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState. - */ - fields: fieldList; - /** - * Description of the pipeline. - */ - description?: string; - /** - * A list of tags to associated with a pipeline. Tags let you control access to pipelines. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide. - */ - tags?: tagList; - } - export type PipelineDescriptionList = PipelineDescription[]; - export interface PipelineIdName { - /** - * The ID of the pipeline that was assigned by AWS Data Pipeline. This is a string of the form df-297EG78HU43EEXAMPLE. - */ - id?: id; - /** - * The name of the pipeline. - */ - name?: id; - } - export interface PipelineObject { - /** - * The ID of the object. - */ - id: id; - /** - * The name of the object. - */ - name: id; - /** - * Key-value pairs that define the properties of the object. - */ - fields: fieldList; - } - export type PipelineObjectList = PipelineObject[]; - export type PipelineObjectMap = {[key: string]: PipelineObject}; - export interface PollForTaskInput { - /** - * The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup in the call to PollForTask. There are no wildcard values permitted in workerGroup; the string must be an exact, case-sensitive, match. - */ - workerGroup: string; - /** - * The public DNS name of the calling task runner. - */ - hostname?: id; - /** - * Identity information for the EC2 instance that is hosting the task runner. You can get this value from the instance using http://169.254.169.254/latest/meta-data/instance-id. For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline. - */ - instanceIdentity?: InstanceIdentity; - } - export interface PollForTaskOutput { - /** - * The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object is taskId, which contains an identifier for the task being assigned. The calling task runner uses taskId in subsequent calls to ReportTaskProgress and SetTaskStatus. - */ - taskObject?: TaskObject; - } - export interface PutPipelineDefinitionInput { - /** - * The ID of the pipeline. - */ - pipelineId: id; - /** - * The objects that define the pipeline. These objects overwrite the existing pipeline definition. - */ - pipelineObjects: PipelineObjectList; - /** - * The parameter objects used with the pipeline. - */ - parameterObjects?: ParameterObjectList; - /** - * The parameter values used with the pipeline. - */ - parameterValues?: ParameterValueList; - } - export interface PutPipelineDefinitionOutput { - /** - * The validation errors that are associated with the objects defined in pipelineObjects. - */ - validationErrors?: ValidationErrors; - /** - * The validation warnings that are associated with the objects defined in pipelineObjects. - */ - validationWarnings?: ValidationWarnings; - /** - * Indicates whether there were validation errors, and the pipeline definition is stored but cannot be activated until you correct the pipeline and call PutPipelineDefinition to commit the corrected pipeline. - */ - errored: boolean; - } - export interface Query { - /** - * List of selectors that define the query. An object must satisfy all of the selectors to match the query. - */ - selectors?: SelectorList; - } - export interface QueryObjectsInput { - /** - * The ID of the pipeline. - */ - pipelineId: id; - /** - * The query that defines the objects to be returned. The Query object can contain a maximum of ten selectors. The conditions in the query are limited to top-level String fields in the object. These filters can be applied to components, instances, and attempts. - */ - query?: Query; - /** - * Indicates whether the query applies to components or instances. The possible values are: COMPONENT, INSTANCE, and ATTEMPT. - */ - sphere: string; - /** - * The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call QueryObjects with the marker value from the previous call to retrieve the next set of results. - */ - marker?: string; - /** - * The maximum number of object names that QueryObjects will return in a single call. The default value is 100. - */ - limit?: int; - } - export interface QueryObjectsOutput { - /** - * The identifiers that match the query selectors. - */ - ids?: idList; - /** - * The starting point for the next page of results. To view the next page of results, call QueryObjects again with this marker value. If the value is null, there are no more results. - */ - marker?: string; - /** - * Indicates whether there are more results that can be obtained by a subsequent call. - */ - hasMoreResults?: boolean; - } - export interface RemoveTagsInput { - /** - * The ID of the pipeline. - */ - pipelineId: id; - /** - * The keys of the tags to remove. - */ - tagKeys: stringList; - } - export interface RemoveTagsOutput { - } - export interface ReportTaskProgressInput { - /** - * The ID of the task assigned to the task runner. This value is provided in the response for PollForTask. - */ - taskId: taskId; - /** - * Key-value pairs that define the properties of the ReportTaskProgressInput object. - */ - fields?: fieldList; - } - export interface ReportTaskProgressOutput { - /** - * If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks. - */ - canceled: boolean; - } - export interface ReportTaskRunnerHeartbeatInput { - /** - * The ID of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner. - */ - taskrunnerId: id; - /** - * The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup. There are no wildcard values permitted in workerGroup; the string must be an exact, case-sensitive, match. - */ - workerGroup?: string; - /** - * The public DNS name of the task runner. - */ - hostname?: id; - } - export interface ReportTaskRunnerHeartbeatOutput { - /** - * Indicates whether the calling task runner should terminate. - */ - terminate: boolean; - } - export interface Selector { - /** - * The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails. - */ - fieldName?: string; - operator?: Operator; - } - export type SelectorList = Selector[]; - export interface SetStatusInput { - /** - * The ID of the pipeline that contains the objects. - */ - pipelineId: id; - /** - * The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types. - */ - objectIds: idList; - /** - * The status to be set on all the objects specified in objectIds. For components, use PAUSE or RESUME. For instances, use TRY_CANCEL, RERUN, or MARK_FINISHED. - */ - status: string; - } - export interface SetTaskStatusInput { - /** - * The ID of the task assigned to the task runner. This value is provided in the response for PollForTask. - */ - taskId: taskId; - /** - * If FINISHED, the task successfully completed. If FAILED, the task ended unsuccessfully. Preconditions use false. - */ - taskStatus: TaskStatus; - /** - * If an error occurred during the task, this value specifies the error code. This value is set on the physical attempt object. It is used to display error information to the user. It should not start with string "Service_" which is reserved by the system. - */ - errorId?: string; - /** - * If an error occurred during the task, this value specifies a text description of the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value. - */ - errorMessage?: errorMessage; - /** - * If an error occurred during the task, this value specifies the stack trace associated with the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value. - */ - errorStackTrace?: string; - } - export interface SetTaskStatusOutput { - } - export interface Tag { - /** - * The key name of a tag defined by a user. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide. - */ - key: tagKey; - /** - * The optional value portion of a tag defined by a user. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide. - */ - value: tagValue; - } - export interface TaskObject { - /** - * An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions. - */ - taskId?: taskId; - /** - * The ID of the pipeline that provided the task. - */ - pipelineId?: id; - /** - * The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted. - */ - attemptId?: id; - /** - * Connection information for the location where the task runner will publish the output of the task. - */ - objects?: PipelineObjectMap; - } - export type TaskStatus = "FINISHED"|"FAILED"|"FALSE"|string; - export interface ValidatePipelineDefinitionInput { - /** - * The ID of the pipeline. - */ - pipelineId: id; - /** - * The objects that define the pipeline changes to validate against the pipeline. - */ - pipelineObjects: PipelineObjectList; - /** - * The parameter objects used with the pipeline. - */ - parameterObjects?: ParameterObjectList; - /** - * The parameter values used with the pipeline. - */ - parameterValues?: ParameterValueList; - } - export interface ValidatePipelineDefinitionOutput { - /** - * Any validation errors that were found. - */ - validationErrors?: ValidationErrors; - /** - * Any validation warnings that were found. - */ - validationWarnings?: ValidationWarnings; - /** - * Indicates whether there were validation errors. - */ - errored: boolean; - } - export interface ValidationError { - /** - * The identifier of the object that contains the validation error. - */ - id?: id; - /** - * A description of the validation error. - */ - errors?: validationMessages; - } - export type ValidationErrors = ValidationError[]; - export interface ValidationWarning { - /** - * The identifier of the object that contains the validation warning. - */ - id?: id; - /** - * A description of the validation warning. - */ - warnings?: validationMessages; - } - export type ValidationWarnings = ValidationWarning[]; - export type attributeNameString = string; - export type attributeValueString = string; - export type cancelActive = boolean; - export type errorMessage = string; - export type fieldList = Field[]; - export type fieldNameString = string; - export type fieldStringValue = string; - export type id = string; - export type idList = id[]; - export type int = number; - export type longString = string; - export type pipelineList = PipelineIdName[]; - export type stringList = string[]; - export type tagKey = string; - export type tagList = Tag[]; - export type tagValue = string; - export type taskId = string; - export type timestamp = Date; - export type validationMessage = string; - export type validationMessages = validationMessage[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2012-10-29"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the DataPipeline client. - */ - export import Types = DataPipeline; -} -export = DataPipeline; diff --git a/src/node_modules/aws-sdk/clients/datapipeline.js b/src/node_modules/aws-sdk/clients/datapipeline.js deleted file mode 100644 index aa0a375..0000000 --- a/src/node_modules/aws-sdk/clients/datapipeline.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['datapipeline'] = {}; -AWS.DataPipeline = Service.defineService('datapipeline', ['2012-10-29']); -Object.defineProperty(apiLoader.services['datapipeline'], '2012-10-29', { - get: function get() { - var model = require('../apis/datapipeline-2012-10-29.min.json'); - model.paginators = require('../apis/datapipeline-2012-10-29.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DataPipeline; diff --git a/src/node_modules/aws-sdk/clients/dax.d.ts b/src/node_modules/aws-sdk/clients/dax.d.ts deleted file mode 100644 index 284f6db..0000000 --- a/src/node_modules/aws-sdk/clients/dax.d.ts +++ /dev/null @@ -1,964 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class DAX extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: DAX.Types.ClientConfiguration) - config: Config & DAX.Types.ClientConfiguration; - /** - * Creates a DAX cluster. All nodes in the cluster run the same DAX caching software. - */ - createCluster(params: DAX.Types.CreateClusterRequest, callback?: (err: AWSError, data: DAX.Types.CreateClusterResponse) => void): Request; - /** - * Creates a DAX cluster. All nodes in the cluster run the same DAX caching software. - */ - createCluster(callback?: (err: AWSError, data: DAX.Types.CreateClusterResponse) => void): Request; - /** - * Creates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster. - */ - createParameterGroup(params: DAX.Types.CreateParameterGroupRequest, callback?: (err: AWSError, data: DAX.Types.CreateParameterGroupResponse) => void): Request; - /** - * Creates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster. - */ - createParameterGroup(callback?: (err: AWSError, data: DAX.Types.CreateParameterGroupResponse) => void): Request; - /** - * Creates a new subnet group. - */ - createSubnetGroup(params: DAX.Types.CreateSubnetGroupRequest, callback?: (err: AWSError, data: DAX.Types.CreateSubnetGroupResponse) => void): Request; - /** - * Creates a new subnet group. - */ - createSubnetGroup(callback?: (err: AWSError, data: DAX.Types.CreateSubnetGroupResponse) => void): Request; - /** - * Removes one or more nodes from a DAX cluster. You cannot use DecreaseReplicationFactor to remove the last node in a DAX cluster. If you need to do this, use DeleteCluster instead. - */ - decreaseReplicationFactor(params: DAX.Types.DecreaseReplicationFactorRequest, callback?: (err: AWSError, data: DAX.Types.DecreaseReplicationFactorResponse) => void): Request; - /** - * Removes one or more nodes from a DAX cluster. You cannot use DecreaseReplicationFactor to remove the last node in a DAX cluster. If you need to do this, use DeleteCluster instead. - */ - decreaseReplicationFactor(callback?: (err: AWSError, data: DAX.Types.DecreaseReplicationFactorResponse) => void): Request; - /** - * Deletes a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins deleting the cluster; you cannot cancel or revert this action. - */ - deleteCluster(params: DAX.Types.DeleteClusterRequest, callback?: (err: AWSError, data: DAX.Types.DeleteClusterResponse) => void): Request; - /** - * Deletes a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins deleting the cluster; you cannot cancel or revert this action. - */ - deleteCluster(callback?: (err: AWSError, data: DAX.Types.DeleteClusterResponse) => void): Request; - /** - * Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters. - */ - deleteParameterGroup(params: DAX.Types.DeleteParameterGroupRequest, callback?: (err: AWSError, data: DAX.Types.DeleteParameterGroupResponse) => void): Request; - /** - * Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters. - */ - deleteParameterGroup(callback?: (err: AWSError, data: DAX.Types.DeleteParameterGroupResponse) => void): Request; - /** - * Deletes a subnet group. You cannot delete a subnet group if it is associated with any DAX clusters. - */ - deleteSubnetGroup(params: DAX.Types.DeleteSubnetGroupRequest, callback?: (err: AWSError, data: DAX.Types.DeleteSubnetGroupResponse) => void): Request; - /** - * Deletes a subnet group. You cannot delete a subnet group if it is associated with any DAX clusters. - */ - deleteSubnetGroup(callback?: (err: AWSError, data: DAX.Types.DeleteSubnetGroupResponse) => void): Request; - /** - * Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied. If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned. If the cluster is in the DELETING state, only cluster level information will be displayed. If nodes are currently being added to the DAX cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is available, the cluster is ready for use. If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is displayed. - */ - describeClusters(params: DAX.Types.DescribeClustersRequest, callback?: (err: AWSError, data: DAX.Types.DescribeClustersResponse) => void): Request; - /** - * Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied. If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned. If the cluster is in the DELETING state, only cluster level information will be displayed. If nodes are currently being added to the DAX cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is available, the cluster is ready for use. If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is displayed. - */ - describeClusters(callback?: (err: AWSError, data: DAX.Types.DescribeClustersResponse) => void): Request; - /** - * Returns the default system parameter information for the DAX caching software. - */ - describeDefaultParameters(params: DAX.Types.DescribeDefaultParametersRequest, callback?: (err: AWSError, data: DAX.Types.DescribeDefaultParametersResponse) => void): Request; - /** - * Returns the default system parameter information for the DAX caching software. - */ - describeDefaultParameters(callback?: (err: AWSError, data: DAX.Types.DescribeDefaultParametersResponse) => void): Request; - /** - * Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter. By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary. - */ - describeEvents(params: DAX.Types.DescribeEventsRequest, callback?: (err: AWSError, data: DAX.Types.DescribeEventsResponse) => void): Request; - /** - * Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter. By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary. - */ - describeEvents(callback?: (err: AWSError, data: DAX.Types.DescribeEventsResponse) => void): Request; - /** - * Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group. - */ - describeParameterGroups(params: DAX.Types.DescribeParameterGroupsRequest, callback?: (err: AWSError, data: DAX.Types.DescribeParameterGroupsResponse) => void): Request; - /** - * Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group. - */ - describeParameterGroups(callback?: (err: AWSError, data: DAX.Types.DescribeParameterGroupsResponse) => void): Request; - /** - * Returns the detailed parameter list for a particular parameter group. - */ - describeParameters(params: DAX.Types.DescribeParametersRequest, callback?: (err: AWSError, data: DAX.Types.DescribeParametersResponse) => void): Request; - /** - * Returns the detailed parameter list for a particular parameter group. - */ - describeParameters(callback?: (err: AWSError, data: DAX.Types.DescribeParametersResponse) => void): Request; - /** - * Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group. - */ - describeSubnetGroups(params: DAX.Types.DescribeSubnetGroupsRequest, callback?: (err: AWSError, data: DAX.Types.DescribeSubnetGroupsResponse) => void): Request; - /** - * Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group. - */ - describeSubnetGroups(callback?: (err: AWSError, data: DAX.Types.DescribeSubnetGroupsResponse) => void): Request; - /** - * Adds one or more nodes to a DAX cluster. - */ - increaseReplicationFactor(params: DAX.Types.IncreaseReplicationFactorRequest, callback?: (err: AWSError, data: DAX.Types.IncreaseReplicationFactorResponse) => void): Request; - /** - * Adds one or more nodes to a DAX cluster. - */ - increaseReplicationFactor(callback?: (err: AWSError, data: DAX.Types.IncreaseReplicationFactorResponse) => void): Request; - /** - * List all of the tags for a DAX cluster. You can call ListTags up to 10 times per second, per account. - */ - listTags(params: DAX.Types.ListTagsRequest, callback?: (err: AWSError, data: DAX.Types.ListTagsResponse) => void): Request; - /** - * List all of the tags for a DAX cluster. You can call ListTags up to 10 times per second, per account. - */ - listTags(callback?: (err: AWSError, data: DAX.Types.ListTagsResponse) => void): Request; - /** - * Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the node status is set to REBOOTING. - */ - rebootNode(params: DAX.Types.RebootNodeRequest, callback?: (err: AWSError, data: DAX.Types.RebootNodeResponse) => void): Request; - /** - * Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the node status is set to REBOOTING. - */ - rebootNode(callback?: (err: AWSError, data: DAX.Types.RebootNodeResponse) => void): Request; - /** - * Associates a set of tags with a DAX resource. You can call TagResource up to 5 times per second, per account. - */ - tagResource(params: DAX.Types.TagResourceRequest, callback?: (err: AWSError, data: DAX.Types.TagResourceResponse) => void): Request; - /** - * Associates a set of tags with a DAX resource. You can call TagResource up to 5 times per second, per account. - */ - tagResource(callback?: (err: AWSError, data: DAX.Types.TagResourceResponse) => void): Request; - /** - * Removes the association of tags from a DAX resource. You can call UntagResource up to 5 times per second, per account. - */ - untagResource(params: DAX.Types.UntagResourceRequest, callback?: (err: AWSError, data: DAX.Types.UntagResourceResponse) => void): Request; - /** - * Removes the association of tags from a DAX resource. You can call UntagResource up to 5 times per second, per account. - */ - untagResource(callback?: (err: AWSError, data: DAX.Types.UntagResourceResponse) => void): Request; - /** - * Modifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values. - */ - updateCluster(params: DAX.Types.UpdateClusterRequest, callback?: (err: AWSError, data: DAX.Types.UpdateClusterResponse) => void): Request; - /** - * Modifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values. - */ - updateCluster(callback?: (err: AWSError, data: DAX.Types.UpdateClusterResponse) => void): Request; - /** - * Modifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs. - */ - updateParameterGroup(params: DAX.Types.UpdateParameterGroupRequest, callback?: (err: AWSError, data: DAX.Types.UpdateParameterGroupResponse) => void): Request; - /** - * Modifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs. - */ - updateParameterGroup(callback?: (err: AWSError, data: DAX.Types.UpdateParameterGroupResponse) => void): Request; - /** - * Modifies an existing subnet group. - */ - updateSubnetGroup(params: DAX.Types.UpdateSubnetGroupRequest, callback?: (err: AWSError, data: DAX.Types.UpdateSubnetGroupResponse) => void): Request; - /** - * Modifies an existing subnet group. - */ - updateSubnetGroup(callback?: (err: AWSError, data: DAX.Types.UpdateSubnetGroupResponse) => void): Request; -} -declare namespace DAX { - export type AvailabilityZoneList = String[]; - export type AwsQueryErrorMessage = string; - export type ChangeType = "IMMEDIATE"|"REQUIRES_REBOOT"|string; - export interface Cluster { - /** - * The name of the DAX cluster. - */ - ClusterName?: String; - /** - * The description of the cluster. - */ - Description?: String; - /** - * The Amazon Resource Name (ARN) that uniquely identifies the cluster. - */ - ClusterArn?: String; - /** - * The total number of nodes in the cluster. - */ - TotalNodes?: IntegerOptional; - /** - * The number of nodes in the cluster that are active (i.e., capable of serving requests). - */ - ActiveNodes?: IntegerOptional; - /** - * The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.) - */ - NodeType?: String; - /** - * The current status of the cluster. - */ - Status?: String; - /** - * The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number. Client applications can specify this endpoint, rather than an individual node endpoint, and allow the DAX client software to intelligently route requests and responses to nodes in the DAX cluster. - */ - ClusterDiscoveryEndpoint?: Endpoint; - /** - * A list of nodes to be removed from the cluster. - */ - NodeIdsToRemove?: NodeIdentifierList; - /** - * A list of nodes that are currently in the cluster. - */ - Nodes?: NodeList; - /** - * A range of time when maintenance of DAX cluster software will be performed. For example: sun:01:00-sun:09:00. Cluster maintenance normally takes less than 30 minutes, and is performed automatically within the maintenance window. - */ - PreferredMaintenanceWindow?: String; - /** - * Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS). - */ - NotificationConfiguration?: NotificationConfiguration; - /** - * The subnet group where the DAX cluster is running. - */ - SubnetGroup?: String; - /** - * A list of security groups, and the status of each, for the nodes in the cluster. - */ - SecurityGroups?: SecurityGroupMembershipList; - /** - * A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf. - */ - IamRoleArn?: String; - /** - * The parameter group being used by nodes in the cluster. - */ - ParameterGroup?: ParameterGroupStatus; - } - export type ClusterList = Cluster[]; - export type ClusterNameList = String[]; - export interface CreateClusterRequest { - /** - * The cluster identifier. This parameter is stored as a lowercase string. Constraints: A name must contain from 1 to 20 alphanumeric characters or hyphens. The first character must be a letter. A name cannot end with a hyphen or contain two consecutive hyphens. - */ - ClusterName: String; - /** - * The compute and memory capacity of the nodes in the cluster. - */ - NodeType: String; - /** - * A description of the cluster. - */ - Description?: String; - /** - * The number of nodes in the DAX cluster. A replication factor of 1 will create a single-node cluster, without any read replicas. For additional fault tolerance, you can create a multiple node cluster with one or more read replicas. To do this, set ReplicationFactor to 2 or more. AWS recommends that you have at least two read replicas per cluster. - */ - ReplicationFactor: Integer; - /** - * The Availability Zones (AZs) in which the cluster nodes will be created. All nodes belonging to the cluster are placed in these Availability Zones. Use this parameter if you want to distribute the nodes across multiple AZs. - */ - AvailabilityZones?: AvailabilityZoneList; - /** - * The name of the subnet group to be used for the replication group. DAX clusters can only run in an Amazon VPC environment. All of the subnets that you specify in a subnet group must exist in the same VPC. - */ - SubnetGroupName?: String; - /** - * A list of security group IDs to be assigned to each node in the DAX cluster. (Each of the security group ID is system-generated.) If this parameter is not specified, DAX assigns the default VPC security group to each node. - */ - SecurityGroupIds?: SecurityGroupIdentifierList; - /** - * Specifies the weekly time range during which maintenance on the DAX cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: sun mon tue wed thu fri sat Example: sun:05:00-sun:09:00 If you don't specify a preferred maintenance window when you create or modify a cache cluster, DAX assigns a 60-minute maintenance window on a randomly selected day of the week. - */ - PreferredMaintenanceWindow?: String; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent. The Amazon SNS topic owner must be same as the DAX cluster owner. - */ - NotificationTopicArn?: String; - /** - * A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf. - */ - IamRoleArn: String; - /** - * The parameter group to be associated with the DAX cluster. - */ - ParameterGroupName?: String; - /** - * A set of tags to associate with the DAX cluster. - */ - Tags?: TagList; - } - export interface CreateClusterResponse { - /** - * A description of the DAX cluster that you have created. - */ - Cluster?: Cluster; - } - export interface CreateParameterGroupRequest { - /** - * The name of the parameter group to apply to all of the clusters in this replication group. - */ - ParameterGroupName: String; - /** - * A description of the parameter group. - */ - Description?: String; - } - export interface CreateParameterGroupResponse { - /** - * Represents the output of a CreateParameterGroup action. - */ - ParameterGroup?: ParameterGroup; - } - export interface CreateSubnetGroupRequest { - /** - * A name for the subnet group. This value is stored as a lowercase string. - */ - SubnetGroupName: String; - /** - * A description for the subnet group - */ - Description?: String; - /** - * A list of VPC subnet IDs for the subnet group. - */ - SubnetIds: SubnetIdentifierList; - } - export interface CreateSubnetGroupResponse { - /** - * Represents the output of a CreateSubnetGroup operation. - */ - SubnetGroup?: SubnetGroup; - } - export interface DecreaseReplicationFactorRequest { - /** - * The name of the DAX cluster from which you want to remove nodes. - */ - ClusterName: String; - /** - * The new number of nodes for the DAX cluster. - */ - NewReplicationFactor: Integer; - /** - * The Availability Zone(s) from which to remove nodes. - */ - AvailabilityZones?: AvailabilityZoneList; - /** - * The unique identifiers of the nodes to be removed from the cluster. - */ - NodeIdsToRemove?: NodeIdentifierList; - } - export interface DecreaseReplicationFactorResponse { - /** - * A description of the DAX cluster, after you have decreased its replication factor. - */ - Cluster?: Cluster; - } - export interface DeleteClusterRequest { - /** - * The name of the cluster to be deleted. - */ - ClusterName: String; - } - export interface DeleteClusterResponse { - /** - * A description of the DAX cluster that is being deleted. - */ - Cluster?: Cluster; - } - export interface DeleteParameterGroupRequest { - /** - * The name of the parameter group to delete. - */ - ParameterGroupName: String; - } - export interface DeleteParameterGroupResponse { - /** - * A user-specified message for this action (i.e., a reason for deleting the parameter group). - */ - DeletionMessage?: String; - } - export interface DeleteSubnetGroupRequest { - /** - * The name of the subnet group to delete. - */ - SubnetGroupName: String; - } - export interface DeleteSubnetGroupResponse { - /** - * A user-specified message for this action (i.e., a reason for deleting the subnet group). - */ - DeletionMessage?: String; - } - export interface DescribeClustersRequest { - /** - * The names of the DAX clusters being described. - */ - ClusterNames?: ClusterNameList; - /** - * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100. - */ - MaxResults?: IntegerOptional; - /** - * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults. - */ - NextToken?: String; - } - export interface DescribeClustersResponse { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - NextToken?: String; - /** - * The descriptions of your DAX clusters, in response to a DescribeClusters request. - */ - Clusters?: ClusterList; - } - export interface DescribeDefaultParametersRequest { - /** - * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100. - */ - MaxResults?: IntegerOptional; - /** - * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults. - */ - NextToken?: String; - } - export interface DescribeDefaultParametersResponse { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - NextToken?: String; - /** - * A list of parameters. Each element in the list represents one parameter. - */ - Parameters?: ParameterList; - } - export interface DescribeEventsRequest { - /** - * The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response. - */ - SourceName?: String; - /** - * The event source to retrieve events for. If no value is specified, all events are returned. - */ - SourceType?: SourceType; - /** - * The beginning of the time interval to retrieve events for, specified in ISO 8601 format. - */ - StartTime?: TStamp; - /** - * The end of the time interval for which to retrieve events, specified in ISO 8601 format. - */ - EndTime?: TStamp; - /** - * The number of minutes' worth of events to retrieve. - */ - Duration?: IntegerOptional; - /** - * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100. - */ - MaxResults?: IntegerOptional; - /** - * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults. - */ - NextToken?: String; - } - export interface DescribeEventsResponse { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - NextToken?: String; - /** - * An array of events. Each element in the array represents one event. - */ - Events?: EventList; - } - export interface DescribeParameterGroupsRequest { - /** - * The names of the parameter groups. - */ - ParameterGroupNames?: ParameterGroupNameList; - /** - * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100. - */ - MaxResults?: IntegerOptional; - /** - * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults. - */ - NextToken?: String; - } - export interface DescribeParameterGroupsResponse { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - NextToken?: String; - /** - * An array of parameter groups. Each element in the array represents one parameter group. - */ - ParameterGroups?: ParameterGroupList; - } - export interface DescribeParametersRequest { - /** - * The name of the parameter group. - */ - ParameterGroupName: String; - /** - * How the parameter is defined. For example, system denotes a system-defined parameter. - */ - Source?: String; - /** - * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100. - */ - MaxResults?: IntegerOptional; - /** - * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults. - */ - NextToken?: String; - } - export interface DescribeParametersResponse { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - NextToken?: String; - /** - * A list of parameters within a parameter group. Each element in the list represents one parameter. - */ - Parameters?: ParameterList; - } - export interface DescribeSubnetGroupsRequest { - /** - * The name of the subnet group. - */ - SubnetGroupNames?: SubnetGroupNameList; - /** - * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100. - */ - MaxResults?: IntegerOptional; - /** - * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults. - */ - NextToken?: String; - } - export interface DescribeSubnetGroupsResponse { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - NextToken?: String; - /** - * An array of subnet groups. Each element in the array represents a single subnet group. - */ - SubnetGroups?: SubnetGroupList; - } - export interface Endpoint { - /** - * The DNS hostname of the endpoint. - */ - Address?: String; - /** - * The port number that applications should use to connect to the endpoint. - */ - Port?: Integer; - } - export interface Event { - /** - * The source of the event. For example, if the event occurred at the node level, the source would be the node ID. - */ - SourceName?: String; - /** - * Specifies the origin of this event - a cluster, a parameter group, a node ID, etc. - */ - SourceType?: SourceType; - /** - * A user-defined message associated with the event. - */ - Message?: String; - /** - * The date and time when the event occurred. - */ - Date?: TStamp; - } - export type EventList = Event[]; - export interface IncreaseReplicationFactorRequest { - /** - * The name of the DAX cluster that will receive additional nodes. - */ - ClusterName: String; - /** - * The new number of nodes for the DAX cluster. - */ - NewReplicationFactor: Integer; - /** - * The Availability Zones (AZs) in which the cluster nodes will be created. All nodes belonging to the cluster are placed in these Availability Zones. Use this parameter if you want to distribute the nodes across multiple AZs. - */ - AvailabilityZones?: AvailabilityZoneList; - } - export interface IncreaseReplicationFactorResponse { - /** - * A description of the DAX cluster. with its new replication factor. - */ - Cluster?: Cluster; - } - export type Integer = number; - export type IntegerOptional = number; - export type IsModifiable = "TRUE"|"FALSE"|"CONDITIONAL"|string; - export type KeyList = String[]; - export interface ListTagsRequest { - /** - * The name of the DAX resource to which the tags belong. - */ - ResourceName: String; - /** - * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token. - */ - NextToken?: String; - } - export interface ListTagsResponse { - /** - * A list of tags currently associated with the DAX cluster. - */ - Tags?: TagList; - /** - * If this value is present, there are additional results to be displayed. To retrieve them, call ListTags again, with NextToken set to this value. - */ - NextToken?: String; - } - export interface Node { - /** - * A system-generated identifier for the node. - */ - NodeId?: String; - /** - * The endpoint for the node, consisting of a DNS name and a port number. Client applications can connect directly to a node endpoint, if desired (as an alternative to allowing DAX client software to intelligently route requests and responses to nodes in the DAX cluster. - */ - Endpoint?: Endpoint; - /** - * The date and time (in UNIX epoch format) when the node was launched. - */ - NodeCreateTime?: TStamp; - /** - * The Availability Zone (AZ) in which the node has been deployed. - */ - AvailabilityZone?: String; - /** - * The current status of the node. For example: available. - */ - NodeStatus?: String; - /** - * The status of the parameter group associated with this node. For example, in-sync. - */ - ParameterGroupStatus?: String; - } - export type NodeIdentifierList = String[]; - export type NodeList = Node[]; - export interface NodeTypeSpecificValue { - /** - * A node type to which the parameter value applies. - */ - NodeType?: String; - /** - * The parameter value for this node type. - */ - Value?: String; - } - export type NodeTypeSpecificValueList = NodeTypeSpecificValue[]; - export interface NotificationConfiguration { - /** - * The Amazon Resource Name (ARN) that identifies the topic. - */ - TopicArn?: String; - /** - * The current state of the topic. - */ - TopicStatus?: String; - } - export interface Parameter { - /** - * The name of the parameter. - */ - ParameterName?: String; - /** - * Determines whether the parameter can be applied to any nodes, or only nodes of a particular type. - */ - ParameterType?: ParameterType; - /** - * The value for the parameter. - */ - ParameterValue?: String; - /** - * A list of node types, and specific parameter values for each node. - */ - NodeTypeSpecificValues?: NodeTypeSpecificValueList; - /** - * A description of the parameter - */ - Description?: String; - /** - * How the parameter is defined. For example, system denotes a system-defined parameter. - */ - Source?: String; - /** - * The data type of the parameter. For example, integer: - */ - DataType?: String; - /** - * A range of values within which the parameter can be set. - */ - AllowedValues?: String; - /** - * Whether the customer is allowed to modify the parameter. - */ - IsModifiable?: IsModifiable; - /** - * The conditions under which changes to this parameter can be applied. For example, requires-reboot indicates that a new value for this parameter will only take effect if a node is rebooted. - */ - ChangeType?: ChangeType; - } - export interface ParameterGroup { - /** - * The name of the parameter group. - */ - ParameterGroupName?: String; - /** - * A description of the parameter group. - */ - Description?: String; - } - export type ParameterGroupList = ParameterGroup[]; - export type ParameterGroupNameList = String[]; - export interface ParameterGroupStatus { - /** - * The name of the parameter group. - */ - ParameterGroupName?: String; - /** - * The status of parameter updates. - */ - ParameterApplyStatus?: String; - /** - * The node IDs of one or more nodes to be rebooted. - */ - NodeIdsToReboot?: NodeIdentifierList; - } - export type ParameterList = Parameter[]; - export interface ParameterNameValue { - /** - * The name of the parameter. - */ - ParameterName?: String; - /** - * The value of the parameter. - */ - ParameterValue?: String; - } - export type ParameterNameValueList = ParameterNameValue[]; - export type ParameterType = "DEFAULT"|"NODE_TYPE_SPECIFIC"|string; - export interface RebootNodeRequest { - /** - * The name of the DAX cluster containing the node to be rebooted. - */ - ClusterName: String; - /** - * The system-assigned ID of the node to be rebooted. - */ - NodeId: String; - } - export interface RebootNodeResponse { - /** - * A description of the DAX cluster after a node has been rebooted. - */ - Cluster?: Cluster; - } - export type SecurityGroupIdentifierList = String[]; - export interface SecurityGroupMembership { - /** - * The unique ID for this security group. - */ - SecurityGroupIdentifier?: String; - /** - * The status of this security group. - */ - Status?: String; - } - export type SecurityGroupMembershipList = SecurityGroupMembership[]; - export type SourceType = "CLUSTER"|"PARAMETER_GROUP"|"SUBNET_GROUP"|string; - export type String = string; - export interface Subnet { - /** - * The system-assigned identifier for the subnet. - */ - SubnetIdentifier?: String; - /** - * The Availability Zone (AZ) for subnet subnet. - */ - SubnetAvailabilityZone?: String; - } - export interface SubnetGroup { - /** - * The name of the subnet group. - */ - SubnetGroupName?: String; - /** - * The description of the subnet group. - */ - Description?: String; - /** - * The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group. - */ - VpcId?: String; - /** - * A list of subnets associated with the subnet group. - */ - Subnets?: SubnetList; - } - export type SubnetGroupList = SubnetGroup[]; - export type SubnetGroupNameList = String[]; - export type SubnetIdentifierList = String[]; - export type SubnetList = Subnet[]; - export type TStamp = Date; - export interface Tag { - /** - * The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value. - */ - Key?: String; - /** - * The value of the tag. Tag values are case-sensitive and can be null. - */ - Value?: String; - } - export type TagList = Tag[]; - export interface TagResourceRequest { - /** - * The name of the DAX resource to which tags should be added. - */ - ResourceName: String; - /** - * The tags to be assigned to the DAX resource. - */ - Tags: TagList; - } - export interface TagResourceResponse { - /** - * The list of tags that are associated with the DAX resource. - */ - Tags?: TagList; - } - export interface UntagResourceRequest { - /** - * The name of the DAX resource from which the tags should be removed. - */ - ResourceName: String; - /** - * A list of tag keys. If the DAX cluster has any tags with these keys, then the tags are removed from the cluster. - */ - TagKeys: KeyList; - } - export interface UntagResourceResponse { - /** - * The tag keys that have been removed from the cluster. - */ - Tags?: TagList; - } - export interface UpdateClusterRequest { - /** - * The name of the DAX cluster to be modified. - */ - ClusterName: String; - /** - * A description of the changes being made to the cluster. - */ - Description?: String; - /** - * A range of time when maintenance of DAX cluster software will be performed. For example: sun:01:00-sun:09:00. Cluster maintenance normally takes less than 30 minutes, and is performed automatically within the maintenance window. - */ - PreferredMaintenanceWindow?: String; - /** - * The Amazon Resource Name (ARN) that identifies the topic. - */ - NotificationTopicArn?: String; - /** - * The current state of the topic. - */ - NotificationTopicStatus?: String; - /** - * The name of a parameter group for this cluster. - */ - ParameterGroupName?: String; - /** - * A list of user-specified security group IDs to be assigned to each node in the DAX cluster. If this parameter is not specified, DAX assigns the default VPC security group to each node. - */ - SecurityGroupIds?: SecurityGroupIdentifierList; - } - export interface UpdateClusterResponse { - /** - * A description of the DAX cluster, after it has been modified. - */ - Cluster?: Cluster; - } - export interface UpdateParameterGroupRequest { - /** - * The name of the parameter group. - */ - ParameterGroupName: String; - /** - * An array of name-value pairs for the parameters in the group. Each element in the array represents a single parameter. - */ - ParameterNameValues: ParameterNameValueList; - } - export interface UpdateParameterGroupResponse { - /** - * The parameter group that has been modified. - */ - ParameterGroup?: ParameterGroup; - } - export interface UpdateSubnetGroupRequest { - /** - * The name of the subnet group. - */ - SubnetGroupName: String; - /** - * A description of the subnet group. - */ - Description?: String; - /** - * A list of subnet IDs in the subnet group. - */ - SubnetIds?: SubnetIdentifierList; - } - export interface UpdateSubnetGroupResponse { - /** - * The subnet group that has been modified. - */ - SubnetGroup?: SubnetGroup; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2017-04-19"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the DAX client. - */ - export import Types = DAX; -} -export = DAX; diff --git a/src/node_modules/aws-sdk/clients/dax.js b/src/node_modules/aws-sdk/clients/dax.js deleted file mode 100644 index 6eb8266..0000000 --- a/src/node_modules/aws-sdk/clients/dax.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['dax'] = {}; -AWS.DAX = Service.defineService('dax', ['2017-04-19']); -Object.defineProperty(apiLoader.services['dax'], '2017-04-19', { - get: function get() { - var model = require('../apis/dax-2017-04-19.min.json'); - model.paginators = require('../apis/dax-2017-04-19.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DAX; diff --git a/src/node_modules/aws-sdk/clients/devicefarm.d.ts b/src/node_modules/aws-sdk/clients/devicefarm.d.ts deleted file mode 100644 index d2292cf..0000000 --- a/src/node_modules/aws-sdk/clients/devicefarm.d.ts +++ /dev/null @@ -1,2268 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class DeviceFarm extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: DeviceFarm.Types.ClientConfiguration) - config: Config & DeviceFarm.Types.ClientConfiguration; - /** - * Creates a device pool. - */ - createDevicePool(params: DeviceFarm.Types.CreateDevicePoolRequest, callback?: (err: AWSError, data: DeviceFarm.Types.CreateDevicePoolResult) => void): Request; - /** - * Creates a device pool. - */ - createDevicePool(callback?: (err: AWSError, data: DeviceFarm.Types.CreateDevicePoolResult) => void): Request; - /** - * Creates a network profile. - */ - createNetworkProfile(params: DeviceFarm.Types.CreateNetworkProfileRequest, callback?: (err: AWSError, data: DeviceFarm.Types.CreateNetworkProfileResult) => void): Request; - /** - * Creates a network profile. - */ - createNetworkProfile(callback?: (err: AWSError, data: DeviceFarm.Types.CreateNetworkProfileResult) => void): Request; - /** - * Creates a new project. - */ - createProject(params: DeviceFarm.Types.CreateProjectRequest, callback?: (err: AWSError, data: DeviceFarm.Types.CreateProjectResult) => void): Request; - /** - * Creates a new project. - */ - createProject(callback?: (err: AWSError, data: DeviceFarm.Types.CreateProjectResult) => void): Request; - /** - * Specifies and starts a remote access session. - */ - createRemoteAccessSession(params: DeviceFarm.Types.CreateRemoteAccessSessionRequest, callback?: (err: AWSError, data: DeviceFarm.Types.CreateRemoteAccessSessionResult) => void): Request; - /** - * Specifies and starts a remote access session. - */ - createRemoteAccessSession(callback?: (err: AWSError, data: DeviceFarm.Types.CreateRemoteAccessSessionResult) => void): Request; - /** - * Uploads an app or test scripts. - */ - createUpload(params: DeviceFarm.Types.CreateUploadRequest, callback?: (err: AWSError, data: DeviceFarm.Types.CreateUploadResult) => void): Request; - /** - * Uploads an app or test scripts. - */ - createUpload(callback?: (err: AWSError, data: DeviceFarm.Types.CreateUploadResult) => void): Request; - /** - * Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system. - */ - deleteDevicePool(params: DeviceFarm.Types.DeleteDevicePoolRequest, callback?: (err: AWSError, data: DeviceFarm.Types.DeleteDevicePoolResult) => void): Request; - /** - * Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system. - */ - deleteDevicePool(callback?: (err: AWSError, data: DeviceFarm.Types.DeleteDevicePoolResult) => void): Request; - /** - * Deletes a network profile. - */ - deleteNetworkProfile(params: DeviceFarm.Types.DeleteNetworkProfileRequest, callback?: (err: AWSError, data: DeviceFarm.Types.DeleteNetworkProfileResult) => void): Request; - /** - * Deletes a network profile. - */ - deleteNetworkProfile(callback?: (err: AWSError, data: DeviceFarm.Types.DeleteNetworkProfileResult) => void): Request; - /** - * Deletes an AWS Device Farm project, given the project ARN. Note Deleting this resource does not stop an in-progress run. - */ - deleteProject(params: DeviceFarm.Types.DeleteProjectRequest, callback?: (err: AWSError, data: DeviceFarm.Types.DeleteProjectResult) => void): Request; - /** - * Deletes an AWS Device Farm project, given the project ARN. Note Deleting this resource does not stop an in-progress run. - */ - deleteProject(callback?: (err: AWSError, data: DeviceFarm.Types.DeleteProjectResult) => void): Request; - /** - * Deletes a completed remote access session and its results. - */ - deleteRemoteAccessSession(params: DeviceFarm.Types.DeleteRemoteAccessSessionRequest, callback?: (err: AWSError, data: DeviceFarm.Types.DeleteRemoteAccessSessionResult) => void): Request; - /** - * Deletes a completed remote access session and its results. - */ - deleteRemoteAccessSession(callback?: (err: AWSError, data: DeviceFarm.Types.DeleteRemoteAccessSessionResult) => void): Request; - /** - * Deletes the run, given the run ARN. Note Deleting this resource does not stop an in-progress run. - */ - deleteRun(params: DeviceFarm.Types.DeleteRunRequest, callback?: (err: AWSError, data: DeviceFarm.Types.DeleteRunResult) => void): Request; - /** - * Deletes the run, given the run ARN. Note Deleting this resource does not stop an in-progress run. - */ - deleteRun(callback?: (err: AWSError, data: DeviceFarm.Types.DeleteRunResult) => void): Request; - /** - * Deletes an upload given the upload ARN. - */ - deleteUpload(params: DeviceFarm.Types.DeleteUploadRequest, callback?: (err: AWSError, data: DeviceFarm.Types.DeleteUploadResult) => void): Request; - /** - * Deletes an upload given the upload ARN. - */ - deleteUpload(callback?: (err: AWSError, data: DeviceFarm.Types.DeleteUploadResult) => void): Request; - /** - * Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account. - */ - getAccountSettings(params: DeviceFarm.Types.GetAccountSettingsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetAccountSettingsResult) => void): Request; - /** - * Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account. - */ - getAccountSettings(callback?: (err: AWSError, data: DeviceFarm.Types.GetAccountSettingsResult) => void): Request; - /** - * Gets information about a unique device type. - */ - getDevice(params: DeviceFarm.Types.GetDeviceRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetDeviceResult) => void): Request; - /** - * Gets information about a unique device type. - */ - getDevice(callback?: (err: AWSError, data: DeviceFarm.Types.GetDeviceResult) => void): Request; - /** - * Gets information about a device pool. - */ - getDevicePool(params: DeviceFarm.Types.GetDevicePoolRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetDevicePoolResult) => void): Request; - /** - * Gets information about a device pool. - */ - getDevicePool(callback?: (err: AWSError, data: DeviceFarm.Types.GetDevicePoolResult) => void): Request; - /** - * Gets information about compatibility with a device pool. - */ - getDevicePoolCompatibility(params: DeviceFarm.Types.GetDevicePoolCompatibilityRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetDevicePoolCompatibilityResult) => void): Request; - /** - * Gets information about compatibility with a device pool. - */ - getDevicePoolCompatibility(callback?: (err: AWSError, data: DeviceFarm.Types.GetDevicePoolCompatibilityResult) => void): Request; - /** - * Gets information about a job. - */ - getJob(params: DeviceFarm.Types.GetJobRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetJobResult) => void): Request; - /** - * Gets information about a job. - */ - getJob(callback?: (err: AWSError, data: DeviceFarm.Types.GetJobResult) => void): Request; - /** - * Returns information about a network profile. - */ - getNetworkProfile(params: DeviceFarm.Types.GetNetworkProfileRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetNetworkProfileResult) => void): Request; - /** - * Returns information about a network profile. - */ - getNetworkProfile(callback?: (err: AWSError, data: DeviceFarm.Types.GetNetworkProfileResult) => void): Request; - /** - * Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - getOfferingStatus(params: DeviceFarm.Types.GetOfferingStatusRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetOfferingStatusResult) => void): Request; - /** - * Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - getOfferingStatus(callback?: (err: AWSError, data: DeviceFarm.Types.GetOfferingStatusResult) => void): Request; - /** - * Gets information about a project. - */ - getProject(params: DeviceFarm.Types.GetProjectRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetProjectResult) => void): Request; - /** - * Gets information about a project. - */ - getProject(callback?: (err: AWSError, data: DeviceFarm.Types.GetProjectResult) => void): Request; - /** - * Returns a link to a currently running remote access session. - */ - getRemoteAccessSession(params: DeviceFarm.Types.GetRemoteAccessSessionRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetRemoteAccessSessionResult) => void): Request; - /** - * Returns a link to a currently running remote access session. - */ - getRemoteAccessSession(callback?: (err: AWSError, data: DeviceFarm.Types.GetRemoteAccessSessionResult) => void): Request; - /** - * Gets information about a run. - */ - getRun(params: DeviceFarm.Types.GetRunRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetRunResult) => void): Request; - /** - * Gets information about a run. - */ - getRun(callback?: (err: AWSError, data: DeviceFarm.Types.GetRunResult) => void): Request; - /** - * Gets information about a suite. - */ - getSuite(params: DeviceFarm.Types.GetSuiteRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetSuiteResult) => void): Request; - /** - * Gets information about a suite. - */ - getSuite(callback?: (err: AWSError, data: DeviceFarm.Types.GetSuiteResult) => void): Request; - /** - * Gets information about a test. - */ - getTest(params: DeviceFarm.Types.GetTestRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetTestResult) => void): Request; - /** - * Gets information about a test. - */ - getTest(callback?: (err: AWSError, data: DeviceFarm.Types.GetTestResult) => void): Request; - /** - * Gets information about an upload. - */ - getUpload(params: DeviceFarm.Types.GetUploadRequest, callback?: (err: AWSError, data: DeviceFarm.Types.GetUploadResult) => void): Request; - /** - * Gets information about an upload. - */ - getUpload(callback?: (err: AWSError, data: DeviceFarm.Types.GetUploadResult) => void): Request; - /** - * Installs an application to the device in a remote access session. For Android applications, the file must be in .apk format. For iOS applications, the file must be in .ipa format. - */ - installToRemoteAccessSession(params: DeviceFarm.Types.InstallToRemoteAccessSessionRequest, callback?: (err: AWSError, data: DeviceFarm.Types.InstallToRemoteAccessSessionResult) => void): Request; - /** - * Installs an application to the device in a remote access session. For Android applications, the file must be in .apk format. For iOS applications, the file must be in .ipa format. - */ - installToRemoteAccessSession(callback?: (err: AWSError, data: DeviceFarm.Types.InstallToRemoteAccessSessionResult) => void): Request; - /** - * Gets information about artifacts. - */ - listArtifacts(params: DeviceFarm.Types.ListArtifactsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListArtifactsResult) => void): Request; - /** - * Gets information about artifacts. - */ - listArtifacts(callback?: (err: AWSError, data: DeviceFarm.Types.ListArtifactsResult) => void): Request; - /** - * Gets information about device pools. - */ - listDevicePools(params: DeviceFarm.Types.ListDevicePoolsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListDevicePoolsResult) => void): Request; - /** - * Gets information about device pools. - */ - listDevicePools(callback?: (err: AWSError, data: DeviceFarm.Types.ListDevicePoolsResult) => void): Request; - /** - * Gets information about unique device types. - */ - listDevices(params: DeviceFarm.Types.ListDevicesRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListDevicesResult) => void): Request; - /** - * Gets information about unique device types. - */ - listDevices(callback?: (err: AWSError, data: DeviceFarm.Types.ListDevicesResult) => void): Request; - /** - * Gets information about jobs. - */ - listJobs(params: DeviceFarm.Types.ListJobsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListJobsResult) => void): Request; - /** - * Gets information about jobs. - */ - listJobs(callback?: (err: AWSError, data: DeviceFarm.Types.ListJobsResult) => void): Request; - /** - * Returns the list of available network profiles. - */ - listNetworkProfiles(params: DeviceFarm.Types.ListNetworkProfilesRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListNetworkProfilesResult) => void): Request; - /** - * Returns the list of available network profiles. - */ - listNetworkProfiles(callback?: (err: AWSError, data: DeviceFarm.Types.ListNetworkProfilesResult) => void): Request; - /** - * Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - listOfferingPromotions(params: DeviceFarm.Types.ListOfferingPromotionsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListOfferingPromotionsResult) => void): Request; - /** - * Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - listOfferingPromotions(callback?: (err: AWSError, data: DeviceFarm.Types.ListOfferingPromotionsResult) => void): Request; - /** - * Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - listOfferingTransactions(params: DeviceFarm.Types.ListOfferingTransactionsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListOfferingTransactionsResult) => void): Request; - /** - * Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - listOfferingTransactions(callback?: (err: AWSError, data: DeviceFarm.Types.ListOfferingTransactionsResult) => void): Request; - /** - * Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - listOfferings(params: DeviceFarm.Types.ListOfferingsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListOfferingsResult) => void): Request; - /** - * Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - listOfferings(callback?: (err: AWSError, data: DeviceFarm.Types.ListOfferingsResult) => void): Request; - /** - * Gets information about projects. - */ - listProjects(params: DeviceFarm.Types.ListProjectsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListProjectsResult) => void): Request; - /** - * Gets information about projects. - */ - listProjects(callback?: (err: AWSError, data: DeviceFarm.Types.ListProjectsResult) => void): Request; - /** - * Returns a list of all currently running remote access sessions. - */ - listRemoteAccessSessions(params: DeviceFarm.Types.ListRemoteAccessSessionsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListRemoteAccessSessionsResult) => void): Request; - /** - * Returns a list of all currently running remote access sessions. - */ - listRemoteAccessSessions(callback?: (err: AWSError, data: DeviceFarm.Types.ListRemoteAccessSessionsResult) => void): Request; - /** - * Gets information about runs, given an AWS Device Farm project ARN. - */ - listRuns(params: DeviceFarm.Types.ListRunsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListRunsResult) => void): Request; - /** - * Gets information about runs, given an AWS Device Farm project ARN. - */ - listRuns(callback?: (err: AWSError, data: DeviceFarm.Types.ListRunsResult) => void): Request; - /** - * Gets information about samples, given an AWS Device Farm project ARN - */ - listSamples(params: DeviceFarm.Types.ListSamplesRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListSamplesResult) => void): Request; - /** - * Gets information about samples, given an AWS Device Farm project ARN - */ - listSamples(callback?: (err: AWSError, data: DeviceFarm.Types.ListSamplesResult) => void): Request; - /** - * Gets information about suites. - */ - listSuites(params: DeviceFarm.Types.ListSuitesRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListSuitesResult) => void): Request; - /** - * Gets information about suites. - */ - listSuites(callback?: (err: AWSError, data: DeviceFarm.Types.ListSuitesResult) => void): Request; - /** - * Gets information about tests. - */ - listTests(params: DeviceFarm.Types.ListTestsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListTestsResult) => void): Request; - /** - * Gets information about tests. - */ - listTests(callback?: (err: AWSError, data: DeviceFarm.Types.ListTestsResult) => void): Request; - /** - * Gets information about unique problems. - */ - listUniqueProblems(params: DeviceFarm.Types.ListUniqueProblemsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListUniqueProblemsResult) => void): Request; - /** - * Gets information about unique problems. - */ - listUniqueProblems(callback?: (err: AWSError, data: DeviceFarm.Types.ListUniqueProblemsResult) => void): Request; - /** - * Gets information about uploads, given an AWS Device Farm project ARN. - */ - listUploads(params: DeviceFarm.Types.ListUploadsRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ListUploadsResult) => void): Request; - /** - * Gets information about uploads, given an AWS Device Farm project ARN. - */ - listUploads(callback?: (err: AWSError, data: DeviceFarm.Types.ListUploadsResult) => void): Request; - /** - * Immediately purchases offerings for an AWS account. Offerings renew with the latest total purchased quantity for an offering, unless the renewal was overridden. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - purchaseOffering(params: DeviceFarm.Types.PurchaseOfferingRequest, callback?: (err: AWSError, data: DeviceFarm.Types.PurchaseOfferingResult) => void): Request; - /** - * Immediately purchases offerings for an AWS account. Offerings renew with the latest total purchased quantity for an offering, unless the renewal was overridden. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - purchaseOffering(callback?: (err: AWSError, data: DeviceFarm.Types.PurchaseOfferingResult) => void): Request; - /** - * Explicitly sets the quantity of devices to renew for an offering, starting from the effectiveDate of the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - renewOffering(params: DeviceFarm.Types.RenewOfferingRequest, callback?: (err: AWSError, data: DeviceFarm.Types.RenewOfferingResult) => void): Request; - /** - * Explicitly sets the quantity of devices to renew for an offering, starting from the effectiveDate of the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation. - */ - renewOffering(callback?: (err: AWSError, data: DeviceFarm.Types.RenewOfferingResult) => void): Request; - /** - * Schedules a run. - */ - scheduleRun(params: DeviceFarm.Types.ScheduleRunRequest, callback?: (err: AWSError, data: DeviceFarm.Types.ScheduleRunResult) => void): Request; - /** - * Schedules a run. - */ - scheduleRun(callback?: (err: AWSError, data: DeviceFarm.Types.ScheduleRunResult) => void): Request; - /** - * Ends a specified remote access session. - */ - stopRemoteAccessSession(params: DeviceFarm.Types.StopRemoteAccessSessionRequest, callback?: (err: AWSError, data: DeviceFarm.Types.StopRemoteAccessSessionResult) => void): Request; - /** - * Ends a specified remote access session. - */ - stopRemoteAccessSession(callback?: (err: AWSError, data: DeviceFarm.Types.StopRemoteAccessSessionResult) => void): Request; - /** - * Initiates a stop request for the current test run. AWS Device Farm will immediately stop the run on devices where tests have not started executing, and you will not be billed for these devices. On devices where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on those devices. You will be billed for Setup, Teardown, and any tests that were in progress or already completed. - */ - stopRun(params: DeviceFarm.Types.StopRunRequest, callback?: (err: AWSError, data: DeviceFarm.Types.StopRunResult) => void): Request; - /** - * Initiates a stop request for the current test run. AWS Device Farm will immediately stop the run on devices where tests have not started executing, and you will not be billed for these devices. On devices where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on those devices. You will be billed for Setup, Teardown, and any tests that were in progress or already completed. - */ - stopRun(callback?: (err: AWSError, data: DeviceFarm.Types.StopRunResult) => void): Request; - /** - * Modifies the name, description, and rules in a device pool given the attributes and the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a whole (or not at all). - */ - updateDevicePool(params: DeviceFarm.Types.UpdateDevicePoolRequest, callback?: (err: AWSError, data: DeviceFarm.Types.UpdateDevicePoolResult) => void): Request; - /** - * Modifies the name, description, and rules in a device pool given the attributes and the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a whole (or not at all). - */ - updateDevicePool(callback?: (err: AWSError, data: DeviceFarm.Types.UpdateDevicePoolResult) => void): Request; - /** - * Updates the network profile with specific settings. - */ - updateNetworkProfile(params: DeviceFarm.Types.UpdateNetworkProfileRequest, callback?: (err: AWSError, data: DeviceFarm.Types.UpdateNetworkProfileResult) => void): Request; - /** - * Updates the network profile with specific settings. - */ - updateNetworkProfile(callback?: (err: AWSError, data: DeviceFarm.Types.UpdateNetworkProfileResult) => void): Request; - /** - * Modifies the specified project name, given the project ARN and a new name. - */ - updateProject(params: DeviceFarm.Types.UpdateProjectRequest, callback?: (err: AWSError, data: DeviceFarm.Types.UpdateProjectResult) => void): Request; - /** - * Modifies the specified project name, given the project ARN and a new name. - */ - updateProject(callback?: (err: AWSError, data: DeviceFarm.Types.UpdateProjectResult) => void): Request; -} -declare namespace DeviceFarm { - export type AWSAccountNumber = string; - export interface AccountSettings { - /** - * The AWS account number specified in the AccountSettings container. - */ - awsAccountNumber?: AWSAccountNumber; - /** - * Returns the unmetered devices you have purchased or want to purchase. - */ - unmeteredDevices?: PurchasedDevicesMap; - /** - * Returns the unmetered remote access devices you have purchased or want to purchase. - */ - unmeteredRemoteAccessDevices?: PurchasedDevicesMap; - /** - * The maximum number of minutes a test run will execute before it times out. - */ - maxJobTimeoutMinutes?: JobTimeoutMinutes; - /** - * Information about an AWS account's usage of free trial device minutes. - */ - trialMinutes?: TrialMinutes; - /** - * The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an offering-id:number pair, where the offering-id represents one of the IDs returned by the ListOfferings command. - */ - maxSlots?: MaxSlotMap; - /** - * The default number of minutes (at the account level) a test run will execute before it times out. Default value is 60 minutes. - */ - defaultJobTimeoutMinutes?: JobTimeoutMinutes; - } - export type AccountsCleanup = boolean; - export type AmazonResourceName = string; - export type AmazonResourceNames = AmazonResourceName[]; - export type AppPackagesCleanup = boolean; - export interface Artifact { - /** - * The artifact's ARN. - */ - arn?: AmazonResourceName; - /** - * The artifact's name. - */ - name?: Name; - /** - * The artifact's type. Allowed values include the following: UNKNOWN: An unknown type. SCREENSHOT: The screenshot type. DEVICE_LOG: The device log type. MESSAGE_LOG: The message log type. RESULT_LOG: The result log type. SERVICE_LOG: The service log type. WEBKIT_LOG: The web kit log type. INSTRUMENTATION_OUTPUT: The instrumentation type. EXERCISER_MONKEY_OUTPUT: For Android, the artifact (log) generated by an Android fuzz test. CALABASH_JSON_OUTPUT: The Calabash JSON output type. CALABASH_PRETTY_OUTPUT: The Calabash pretty output type. CALABASH_STANDARD_OUTPUT: The Calabash standard output type. CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type. AUTOMATION_OUTPUT: The automation output type. APPIUM_SERVER_OUTPUT: The Appium server output type. APPIUM_JAVA_OUTPUT: The Appium Java output type. APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type. APPIUM_PYTHON_OUTPUT: The Appium Python output type. APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type. EXPLORER_EVENT_LOG: The Explorer event log output type. EXPLORER_SUMMARY_LOG: The Explorer summary log output type. APPLICATION_CRASH_REPORT: The application crash report output type. XCTEST_LOG: The XCode test output type. - */ - type?: ArtifactType; - /** - * The artifact's file extension. - */ - extension?: String; - /** - * The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the artifact's file. - */ - url?: URL; - } - export type ArtifactCategory = "SCREENSHOT"|"FILE"|"LOG"|string; - export type ArtifactType = "UNKNOWN"|"SCREENSHOT"|"DEVICE_LOG"|"MESSAGE_LOG"|"VIDEO_LOG"|"RESULT_LOG"|"SERVICE_LOG"|"WEBKIT_LOG"|"INSTRUMENTATION_OUTPUT"|"EXERCISER_MONKEY_OUTPUT"|"CALABASH_JSON_OUTPUT"|"CALABASH_PRETTY_OUTPUT"|"CALABASH_STANDARD_OUTPUT"|"CALABASH_JAVA_XML_OUTPUT"|"AUTOMATION_OUTPUT"|"APPIUM_SERVER_OUTPUT"|"APPIUM_JAVA_OUTPUT"|"APPIUM_JAVA_XML_OUTPUT"|"APPIUM_PYTHON_OUTPUT"|"APPIUM_PYTHON_XML_OUTPUT"|"EXPLORER_EVENT_LOG"|"EXPLORER_SUMMARY_LOG"|"APPLICATION_CRASH_REPORT"|"XCTEST_LOG"|"VIDEO"|string; - export type Artifacts = Artifact[]; - export type BillingMethod = "METERED"|"UNMETERED"|string; - export type Boolean = boolean; - export interface CPU { - /** - * The CPU's frequency. - */ - frequency?: String; - /** - * The CPU's architecture, for example x86 or ARM. - */ - architecture?: String; - /** - * The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2 GHz CPU is expressed as 1200000000. - */ - clock?: Double; - } - export type ContentType = string; - export interface Counters { - /** - * The total number of entities. - */ - total?: Integer; - /** - * The number of passed entities. - */ - passed?: Integer; - /** - * The number of failed entities. - */ - failed?: Integer; - /** - * The number of warned entities. - */ - warned?: Integer; - /** - * The number of errored entities. - */ - errored?: Integer; - /** - * The number of stopped entities. - */ - stopped?: Integer; - /** - * The number of skipped entities. - */ - skipped?: Integer; - } - export interface CreateDevicePoolRequest { - /** - * The ARN of the project for the device pool. - */ - projectArn: AmazonResourceName; - /** - * The device pool's name. - */ - name: Name; - /** - * The device pool's description. - */ - description?: Message; - /** - * The device pool's rules. - */ - rules: Rules; - } - export interface CreateDevicePoolResult { - /** - * The newly created device pool. - */ - devicePool?: DevicePool; - } - export interface CreateNetworkProfileRequest { - /** - * The Amazon Resource Name (ARN) of the project for which you want to create a network profile. - */ - projectArn: AmazonResourceName; - /** - * The name you wish to specify for the new network profile. - */ - name: Name; - /** - * The description of the network profile. - */ - description?: Message; - /** - * The type of network profile you wish to create. Valid values are listed below. - */ - type?: NetworkProfileType; - /** - * The data throughput rate in bits per second, as an integer from 0 to 104857600. - */ - uplinkBandwidthBits?: Long; - /** - * The data throughput rate in bits per second, as an integer from 0 to 104857600. - */ - downlinkBandwidthBits?: Long; - /** - * Delay time for all packets to destination in milliseconds as an integer from 0 to 2000. - */ - uplinkDelayMs?: Long; - /** - * Delay time for all packets to destination in milliseconds as an integer from 0 to 2000. - */ - downlinkDelayMs?: Long; - /** - * Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000. - */ - uplinkJitterMs?: Long; - /** - * Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000. - */ - downlinkJitterMs?: Long; - /** - * Proportion of transmitted packets that fail to arrive from 0 to 100 percent. - */ - uplinkLossPercent?: PercentInteger; - /** - * Proportion of received packets that fail to arrive from 0 to 100 percent. - */ - downlinkLossPercent?: PercentInteger; - } - export interface CreateNetworkProfileResult { - /** - * The network profile that is returned by the create network profile request. - */ - networkProfile?: NetworkProfile; - } - export interface CreateProjectRequest { - /** - * The project's name. - */ - name: Name; - /** - * Sets the execution timeout value (in minutes) for a project. All test runs in this project will use the specified execution timeout value unless overridden when scheduling a run. - */ - defaultJobTimeoutMinutes?: JobTimeoutMinutes; - } - export interface CreateProjectResult { - /** - * The newly created project. - */ - project?: Project; - } - export interface CreateRemoteAccessSessionConfiguration { - /** - * Returns the billing method for purposes of configuring a remote access session. - */ - billingMethod?: BillingMethod; - } - export interface CreateRemoteAccessSessionRequest { - /** - * The Amazon Resource Name (ARN) of the project for which you want to create a remote access session. - */ - projectArn: AmazonResourceName; - /** - * The Amazon Resource Name (ARN) of the device for which you want to create a remote access session. - */ - deviceArn: AmazonResourceName; - /** - * The name of the remote access session that you wish to create. - */ - name?: Name; - /** - * The configuration information for the remote access session request. - */ - configuration?: CreateRemoteAccessSessionConfiguration; - } - export interface CreateRemoteAccessSessionResult { - /** - * A container that describes the remote access session when the request to create a remote access session is sent. - */ - remoteAccessSession?: RemoteAccessSession; - } - export interface CreateUploadRequest { - /** - * The ARN of the project for the upload. - */ - projectArn: AmazonResourceName; - /** - * The upload's file name. The name should not contain the '/' character. If uploading an iOS app, the file name needs to end with the .ipa extension. If uploading an Android app, the file name needs to end with the .apk extension. For all others, the file name must end with the .zip file extension. - */ - name: Name; - /** - * The upload's upload type. Must be one of the following values: ANDROID_APP: An Android upload. IOS_APP: An iOS upload. WEB_APP: A web appliction upload. EXTERNAL_DATA: An external data upload. APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload. APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload. APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload. APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload. APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload. APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload. CALABASH_TEST_PACKAGE: A Calabash test package upload. INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload. UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload. UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload. XCTEST_TEST_PACKAGE: An XCode test package upload. XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload. Note If you call CreateUpload with WEB_APP specified, AWS Device Farm throws an ArgumentException error. - */ - type: UploadType; - /** - * The upload's content type (for example, "application/octet-stream"). - */ - contentType?: ContentType; - } - export interface CreateUploadResult { - /** - * The newly created upload. - */ - upload?: Upload; - } - export type CurrencyCode = "USD"|string; - export type DateTime = Date; - export interface DeleteDevicePoolRequest { - /** - * Represents the Amazon Resource Name (ARN) of the Device Farm device pool you wish to delete. - */ - arn: AmazonResourceName; - } - export interface DeleteDevicePoolResult { - } - export interface DeleteNetworkProfileRequest { - /** - * The Amazon Resource Name (ARN) of the network profile you want to delete. - */ - arn: AmazonResourceName; - } - export interface DeleteNetworkProfileResult { - } - export interface DeleteProjectRequest { - /** - * Represents the Amazon Resource Name (ARN) of the Device Farm project you wish to delete. - */ - arn: AmazonResourceName; - } - export interface DeleteProjectResult { - } - export interface DeleteRemoteAccessSessionRequest { - /** - * The Amazon Resource Name (ARN) of the sesssion for which you want to delete remote access. - */ - arn: AmazonResourceName; - } - export interface DeleteRemoteAccessSessionResult { - } - export interface DeleteRunRequest { - /** - * The Amazon Resource Name (ARN) for the run you wish to delete. - */ - arn: AmazonResourceName; - } - export interface DeleteRunResult { - } - export interface DeleteUploadRequest { - /** - * Represents the Amazon Resource Name (ARN) of the Device Farm upload you wish to delete. - */ - arn: AmazonResourceName; - } - export interface DeleteUploadResult { - } - export interface Device { - /** - * The device's ARN. - */ - arn?: AmazonResourceName; - /** - * The device's display name. - */ - name?: Name; - /** - * The device's manufacturer name. - */ - manufacturer?: String; - /** - * The device's model name. - */ - model?: String; - /** - * The device's form factor. Allowed values include: PHONE: The phone form factor. TABLET: The tablet form factor. - */ - formFactor?: DeviceFormFactor; - /** - * The device's platform. Allowed values include: ANDROID: The Android platform. IOS: The iOS platform. - */ - platform?: DevicePlatform; - /** - * The device's operating system type. - */ - os?: String; - /** - * Information about the device's CPU. - */ - cpu?: CPU; - /** - * The resolution of the device. - */ - resolution?: Resolution; - /** - * The device's heap size, expressed in bytes. - */ - heapSize?: Long; - /** - * The device's total memory size, expressed in bytes. - */ - memory?: Long; - /** - * The device's image name. - */ - image?: String; - /** - * The device's carrier. - */ - carrier?: String; - /** - * The device's radio. - */ - radio?: String; - /** - * Specifies whether remote access has been enabled for the specified device. - */ - remoteAccessEnabled?: Boolean; - /** - * The type of fleet to which this device belongs. Possible values for fleet type are PRIVATE and PUBLIC. - */ - fleetType?: String; - /** - * The name of the fleet to which this device belongs. - */ - fleetName?: String; - } - export type DeviceAttribute = "ARN"|"PLATFORM"|"FORM_FACTOR"|"MANUFACTURER"|"REMOTE_ACCESS_ENABLED"|"APPIUM_VERSION"|string; - export type DeviceFormFactor = "PHONE"|"TABLET"|string; - export interface DeviceMinutes { - /** - * When specified, represents the total minutes used by the resource to run tests. - */ - total?: Double; - /** - * When specified, represents only the sum of metered minutes used by the resource to run tests. - */ - metered?: Double; - /** - * When specified, represents only the sum of unmetered minutes used by the resource to run tests. - */ - unmetered?: Double; - } - export type DevicePlatform = "ANDROID"|"IOS"|string; - export interface DevicePool { - /** - * The device pool's ARN. - */ - arn?: AmazonResourceName; - /** - * The device pool's name. - */ - name?: Name; - /** - * The device pool's description. - */ - description?: Message; - /** - * The device pool's type. Allowed values include: CURATED: A device pool that is created and managed by AWS Device Farm. PRIVATE: A device pool that is created and managed by the device pool developer. - */ - type?: DevicePoolType; - /** - * Information about the device pool's rules. - */ - rules?: Rules; - } - export interface DevicePoolCompatibilityResult { - /** - * The device (phone or tablet) that you wish to return information about. - */ - device?: Device; - /** - * Whether the result was compatible with the device pool. - */ - compatible?: Boolean; - /** - * Information about the compatibility. - */ - incompatibilityMessages?: IncompatibilityMessages; - } - export type DevicePoolCompatibilityResults = DevicePoolCompatibilityResult[]; - export type DevicePoolType = "CURATED"|"PRIVATE"|string; - export type DevicePools = DevicePool[]; - export type Devices = Device[]; - export type Double = number; - export interface ExecutionConfiguration { - /** - * The number of minutes a test run will execute before it times out. - */ - jobTimeoutMinutes?: JobTimeoutMinutes; - /** - * True if account cleanup is enabled at the beginning of the test; otherwise, false. - */ - accountsCleanup?: AccountsCleanup; - /** - * True if app package cleanup is enabled at the beginning of the test; otherwise, false. - */ - appPackagesCleanup?: AppPackagesCleanup; - } - export type ExecutionResult = "PENDING"|"PASSED"|"WARNED"|"FAILED"|"SKIPPED"|"ERRORED"|"STOPPED"|string; - export type ExecutionStatus = "PENDING"|"PENDING_CONCURRENCY"|"PENDING_DEVICE"|"PROCESSING"|"SCHEDULING"|"PREPARING"|"RUNNING"|"COMPLETED"|"STOPPING"|string; - export type Filter = string; - export interface GetAccountSettingsRequest { - } - export interface GetAccountSettingsResult { - /** - * The account settings. - */ - accountSettings?: AccountSettings; - } - export interface GetDevicePoolCompatibilityRequest { - /** - * The device pool's ARN. - */ - devicePoolArn: AmazonResourceName; - /** - * The ARN of the app that is associated with the specified device pool. - */ - appArn?: AmazonResourceName; - /** - * The test type for the specified device pool. Allowed values include the following: BUILTIN_FUZZ: The built-in fuzz type. BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time. APPIUM_JAVA_JUNIT: The Appium Java JUnit type. APPIUM_JAVA_TESTNG: The Appium Java TestNG type. APPIUM_PYTHON: The Appium Python type. APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps. APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps. APPIUM_WEB_PYTHON: The Appium Python type for Web apps. CALABASH: The Calabash type. INSTRUMENTATION: The Instrumentation type. UIAUTOMATION: The uiautomation type. UIAUTOMATOR: The uiautomator type. XCTEST: The XCode test type. XCTEST_UI: The XCode UI test type. - */ - testType?: TestType; - /** - * Information about the uploaded test to be run against the device pool. - */ - test?: ScheduleRunTest; - } - export interface GetDevicePoolCompatibilityResult { - /** - * Information about compatible devices. - */ - compatibleDevices?: DevicePoolCompatibilityResults; - /** - * Information about incompatible devices. - */ - incompatibleDevices?: DevicePoolCompatibilityResults; - } - export interface GetDevicePoolRequest { - /** - * The device pool's ARN. - */ - arn: AmazonResourceName; - } - export interface GetDevicePoolResult { - /** - * An object containing information about the requested device pool. - */ - devicePool?: DevicePool; - } - export interface GetDeviceRequest { - /** - * The device type's ARN. - */ - arn: AmazonResourceName; - } - export interface GetDeviceResult { - /** - * An object containing information about the requested device. - */ - device?: Device; - } - export interface GetJobRequest { - /** - * The job's ARN. - */ - arn: AmazonResourceName; - } - export interface GetJobResult { - /** - * An object containing information about the requested job. - */ - job?: Job; - } - export interface GetNetworkProfileRequest { - /** - * The Amazon Resource Name (ARN) of the network profile you want to return information about. - */ - arn: AmazonResourceName; - } - export interface GetNetworkProfileResult { - /** - * The network profile. - */ - networkProfile?: NetworkProfile; - } - export interface GetOfferingStatusRequest { - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface GetOfferingStatusResult { - /** - * When specified, gets the offering status for the current period. - */ - current?: OfferingStatusMap; - /** - * When specified, gets the offering status for the next period. - */ - nextPeriod?: OfferingStatusMap; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface GetProjectRequest { - /** - * The project's ARN. - */ - arn: AmazonResourceName; - } - export interface GetProjectResult { - /** - * The project you wish to get information about. - */ - project?: Project; - } - export interface GetRemoteAccessSessionRequest { - /** - * The Amazon Resource Name (ARN) of the remote access session about which you want to get session information. - */ - arn: AmazonResourceName; - } - export interface GetRemoteAccessSessionResult { - /** - * A container that lists detailed information about the remote access session. - */ - remoteAccessSession?: RemoteAccessSession; - } - export interface GetRunRequest { - /** - * The run's ARN. - */ - arn: AmazonResourceName; - } - export interface GetRunResult { - /** - * The run you wish to get results from. - */ - run?: Run; - } - export interface GetSuiteRequest { - /** - * The suite's ARN. - */ - arn: AmazonResourceName; - } - export interface GetSuiteResult { - /** - * A collection of one or more tests. - */ - suite?: Suite; - } - export interface GetTestRequest { - /** - * The test's ARN. - */ - arn: AmazonResourceName; - } - export interface GetTestResult { - /** - * A test condition that is evaluated. - */ - test?: Test; - } - export interface GetUploadRequest { - /** - * The upload's ARN. - */ - arn: AmazonResourceName; - } - export interface GetUploadResult { - /** - * An app or a set of one or more tests to upload or that have been uploaded. - */ - upload?: Upload; - } - export interface IncompatibilityMessage { - /** - * A message about the incompatibility. - */ - message?: Message; - /** - * The type of incompatibility. Allowed values include: ARN: The ARN. FORM_FACTOR: The form factor (for example, phone or tablet). MANUFACTURER: The manufacturer. PLATFORM: The platform (for example, Android or iOS). REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access. APPIUM_VERSION: The Appium version for the test. - */ - type?: DeviceAttribute; - } - export type IncompatibilityMessages = IncompatibilityMessage[]; - export interface InstallToRemoteAccessSessionRequest { - /** - * The Amazon Resource Name (ARN) of the remote access session about which you are requesting information. - */ - remoteAccessSessionArn: AmazonResourceName; - /** - * The Amazon Resource Name (ARN) of the app about which you are requesting information. - */ - appArn: AmazonResourceName; - } - export interface InstallToRemoteAccessSessionResult { - /** - * An app to upload or that has been uploaded. - */ - appUpload?: Upload; - } - export type Integer = number; - export interface Job { - /** - * The job's ARN. - */ - arn?: AmazonResourceName; - /** - * The job's name. - */ - name?: Name; - /** - * The job's type. Allowed values include the following: BUILTIN_FUZZ: The built-in fuzz type. BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time. APPIUM_JAVA_JUNIT: The Appium Java JUnit type. APPIUM_JAVA_TESTNG: The Appium Java TestNG type. APPIUM_PYTHON: The Appium Python type. APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps. APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps. APPIUM_WEB_PYTHON: The Appium Python type for Web apps. CALABASH: The Calabash type. INSTRUMENTATION: The Instrumentation type. UIAUTOMATION: The uiautomation type. UIAUTOMATOR: The uiautomator type. XCTEST: The XCode test type. XCTEST_UI: The XCode UI test type. - */ - type?: TestType; - /** - * When the job was created. - */ - created?: DateTime; - /** - * The job's status. Allowed values include: PENDING: A pending status. PENDING_CONCURRENCY: A pending concurrency status. PENDING_DEVICE: A pending device status. PROCESSING: A processing status. SCHEDULING: A scheduling status. PREPARING: A preparing status. RUNNING: A running status. COMPLETED: A completed status. STOPPING: A stopping status. - */ - status?: ExecutionStatus; - /** - * The job's result. Allowed values include: PENDING: A pending condition. PASSED: A passing condition. WARNED: A warning condition. FAILED: A failed condition. SKIPPED: A skipped condition. ERRORED: An error condition. STOPPED: A stopped condition. - */ - result?: ExecutionResult; - /** - * The job's start time. - */ - started?: DateTime; - /** - * The job's stop time. - */ - stopped?: DateTime; - /** - * The job's result counters. - */ - counters?: Counters; - /** - * A message about the job's result. - */ - message?: Message; - /** - * The device (phone or tablet). - */ - device?: Device; - /** - * Represents the total (metered or unmetered) minutes used by the job. - */ - deviceMinutes?: DeviceMinutes; - } - export type JobTimeoutMinutes = number; - export type Jobs = Job[]; - export interface ListArtifactsRequest { - /** - * The Run, Job, Suite, or Test ARN. - */ - arn: AmazonResourceName; - /** - * The artifacts' type. Allowed values include: FILE: The artifacts are files. LOG: The artifacts are logs. SCREENSHOT: The artifacts are screenshots. - */ - type: ArtifactCategory; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListArtifactsResult { - /** - * Information about the artifacts. - */ - artifacts?: Artifacts; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListDevicePoolsRequest { - /** - * The project ARN. - */ - arn: AmazonResourceName; - /** - * The device pools' type. Allowed values include: CURATED: A device pool that is created and managed by AWS Device Farm. PRIVATE: A device pool that is created and managed by the device pool developer. - */ - type?: DevicePoolType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListDevicePoolsResult { - /** - * Information about the device pools. - */ - devicePools?: DevicePools; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListDevicesRequest { - /** - * The Amazon Resource Name (ARN) of the project. - */ - arn?: AmazonResourceName; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListDevicesResult { - /** - * Information about the devices. - */ - devices?: Devices; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListJobsRequest { - /** - * The jobs' ARNs. - */ - arn: AmazonResourceName; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListJobsResult { - /** - * Information about the jobs. - */ - jobs?: Jobs; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListNetworkProfilesRequest { - /** - * The Amazon Resource Name (ARN) of the project for which you want to list network profiles. - */ - arn: AmazonResourceName; - /** - * The type of network profile you wish to return information about. Valid values are listed below. - */ - type?: NetworkProfileType; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListNetworkProfilesResult { - /** - * A list of the available network profiles. - */ - networkProfiles?: NetworkProfiles; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListOfferingPromotionsRequest { - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListOfferingPromotionsResult { - /** - * Information about the offering promotions. - */ - offeringPromotions?: OfferingPromotions; - /** - * An identifier to be used in the next call to this operation, to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListOfferingTransactionsRequest { - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListOfferingTransactionsResult { - /** - * The audit log of subscriptions you have purchased and modified through AWS Device Farm. - */ - offeringTransactions?: OfferingTransactions; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListOfferingsRequest { - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListOfferingsResult { - /** - * A value representing the list offering results. - */ - offerings?: Offerings; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListProjectsRequest { - /** - * Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device Farm returns a list of all projects for the AWS account. You can also specify a project ARN. - */ - arn?: AmazonResourceName; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListProjectsResult { - /** - * Information about the projects. - */ - projects?: Projects; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListRemoteAccessSessionsRequest { - /** - * The Amazon Resource Name (ARN) of the remote access session about which you are requesting information. - */ - arn: AmazonResourceName; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListRemoteAccessSessionsResult { - /** - * A container representing the metadata from the service about each remote access session you are requesting. - */ - remoteAccessSessions?: RemoteAccessSessions; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListRunsRequest { - /** - * The Amazon Resource Name (ARN) of the project for which you want to list runs. - */ - arn: AmazonResourceName; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListRunsResult { - /** - * Information about the runs. - */ - runs?: Runs; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListSamplesRequest { - /** - * The Amazon Resource Name (ARN) of the project for which you want to list samples. - */ - arn: AmazonResourceName; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListSamplesResult { - /** - * Information about the samples. - */ - samples?: Samples; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListSuitesRequest { - /** - * The suites' ARNs. - */ - arn: AmazonResourceName; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListSuitesResult { - /** - * Information about the suites. - */ - suites?: Suites; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListTestsRequest { - /** - * The tests' ARNs. - */ - arn: AmazonResourceName; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListTestsResult { - /** - * Information about the tests. - */ - tests?: Tests; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListUniqueProblemsRequest { - /** - * The unique problems' ARNs. - */ - arn: AmazonResourceName; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListUniqueProblemsResult { - /** - * Information about the unique problems. Allowed values include: PENDING: A pending condition. PASSED: A passing condition. WARNED: A warning condition. FAILED: A failed condition. SKIPPED: A skipped condition. ERRORED: An error condition. STOPPED: A stopped condition. - */ - uniqueProblems?: UniqueProblemsByExecutionResultMap; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListUploadsRequest { - /** - * The Amazon Resource Name (ARN) of the project for which you want to list uploads. - */ - arn: AmazonResourceName; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface ListUploadsResult { - /** - * Information about the uploads. - */ - uploads?: Uploads; - /** - * If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list. - */ - nextToken?: PaginationToken; - } - export interface Location { - /** - * The latitude. - */ - latitude: Double; - /** - * The longitude. - */ - longitude: Double; - } - export type Long = number; - export type MaxSlotMap = {[key: string]: Integer}; - export type Message = string; - export type Metadata = string; - export interface MonetaryAmount { - /** - * The numerical amount of an offering or transaction. - */ - amount?: Double; - /** - * The currency code of a monetary amount. For example, USD means "U.S. dollars." - */ - currencyCode?: CurrencyCode; - } - export type Name = string; - export interface NetworkProfile { - /** - * The Amazon Resource Name (ARN) of the network profile. - */ - arn?: AmazonResourceName; - /** - * The name of the network profile. - */ - name?: Name; - /** - * The description of the network profile. - */ - description?: Message; - /** - * The type of network profile. Valid values are listed below. - */ - type?: NetworkProfileType; - /** - * The data throughput rate in bits per second, as an integer from 0 to 104857600. - */ - uplinkBandwidthBits?: Long; - /** - * The data throughput rate in bits per second, as an integer from 0 to 104857600. - */ - downlinkBandwidthBits?: Long; - /** - * Delay time for all packets to destination in milliseconds as an integer from 0 to 2000. - */ - uplinkDelayMs?: Long; - /** - * Delay time for all packets to destination in milliseconds as an integer from 0 to 2000. - */ - downlinkDelayMs?: Long; - /** - * Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000. - */ - uplinkJitterMs?: Long; - /** - * Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000. - */ - downlinkJitterMs?: Long; - /** - * Proportion of transmitted packets that fail to arrive from 0 to 100 percent. - */ - uplinkLossPercent?: PercentInteger; - /** - * Proportion of received packets that fail to arrive from 0 to 100 percent. - */ - downlinkLossPercent?: PercentInteger; - } - export type NetworkProfileType = "CURATED"|"PRIVATE"|string; - export type NetworkProfiles = NetworkProfile[]; - export interface Offering { - /** - * The ID that corresponds to a device offering. - */ - id?: OfferingIdentifier; - /** - * A string describing the offering. - */ - description?: Message; - /** - * The type of offering (e.g., "RECURRING") for a device. - */ - type?: OfferingType; - /** - * The platform of the device (e.g., ANDROID or IOS). - */ - platform?: DevicePlatform; - /** - * Specifies whether there are recurring charges for the offering. - */ - recurringCharges?: RecurringCharges; - } - export type OfferingIdentifier = string; - export interface OfferingPromotion { - /** - * The ID of the offering promotion. - */ - id?: OfferingPromotionIdentifier; - /** - * A string describing the offering promotion. - */ - description?: Message; - } - export type OfferingPromotionIdentifier = string; - export type OfferingPromotions = OfferingPromotion[]; - export interface OfferingStatus { - /** - * The type specified for the offering status. - */ - type?: OfferingTransactionType; - /** - * Represents the metadata of an offering status. - */ - offering?: Offering; - /** - * The number of available devices in the offering. - */ - quantity?: Integer; - /** - * The date on which the offering is effective. - */ - effectiveOn?: DateTime; - } - export type OfferingStatusMap = {[key: string]: OfferingStatus}; - export interface OfferingTransaction { - /** - * The status of an offering transaction. - */ - offeringStatus?: OfferingStatus; - /** - * The transaction ID of the offering transaction. - */ - transactionId?: TransactionIdentifier; - /** - * The ID that corresponds to a device offering promotion. - */ - offeringPromotionId?: OfferingPromotionIdentifier; - /** - * The date on which an offering transaction was created. - */ - createdOn?: DateTime; - /** - * The cost of an offering transaction. - */ - cost?: MonetaryAmount; - } - export type OfferingTransactionType = "PURCHASE"|"RENEW"|"SYSTEM"|string; - export type OfferingTransactions = OfferingTransaction[]; - export type OfferingType = "RECURRING"|string; - export type Offerings = Offering[]; - export type PaginationToken = string; - export type PercentInteger = number; - export interface Problem { - /** - * Information about the associated run. - */ - run?: ProblemDetail; - /** - * Information about the associated job. - */ - job?: ProblemDetail; - /** - * Information about the associated suite. - */ - suite?: ProblemDetail; - /** - * Information about the associated test. - */ - test?: ProblemDetail; - /** - * Information about the associated device. - */ - device?: Device; - /** - * The problem's result. Allowed values include: PENDING: A pending condition. PASSED: A passing condition. WARNED: A warning condition. FAILED: A failed condition. SKIPPED: A skipped condition. ERRORED: An error condition. STOPPED: A stopped condition. - */ - result?: ExecutionResult; - /** - * A message about the problem's result. - */ - message?: Message; - } - export interface ProblemDetail { - /** - * The problem detail's ARN. - */ - arn?: AmazonResourceName; - /** - * The problem detail's name. - */ - name?: Name; - } - export type Problems = Problem[]; - export interface Project { - /** - * The project's ARN. - */ - arn?: AmazonResourceName; - /** - * The project's name. - */ - name?: Name; - /** - * The default number of minutes (at the project level) a test run will execute before it times out. Default value is 60 minutes. - */ - defaultJobTimeoutMinutes?: JobTimeoutMinutes; - /** - * When the project was created. - */ - created?: DateTime; - } - export type Projects = Project[]; - export interface PurchaseOfferingRequest { - /** - * The ID of the offering. - */ - offeringId?: OfferingIdentifier; - /** - * The number of device slots you wish to purchase in an offering request. - */ - quantity?: Integer; - /** - * The ID of the offering promotion to be applied to the purchase. - */ - offeringPromotionId?: OfferingPromotionIdentifier; - } - export interface PurchaseOfferingResult { - /** - * Represents the offering transaction for the purchase result. - */ - offeringTransaction?: OfferingTransaction; - } - export type PurchasedDevicesMap = {[key: string]: Integer}; - export interface Radios { - /** - * True if Wi-Fi is enabled at the beginning of the test; otherwise, false. - */ - wifi?: Boolean; - /** - * True if Bluetooth is enabled at the beginning of the test; otherwise, false. - */ - bluetooth?: Boolean; - /** - * True if NFC is enabled at the beginning of the test; otherwise, false. - */ - nfc?: Boolean; - /** - * True if GPS is enabled at the beginning of the test; otherwise, false. - */ - gps?: Boolean; - } - export interface RecurringCharge { - /** - * The cost of the recurring charge. - */ - cost?: MonetaryAmount; - /** - * The frequency in which charges will recur. - */ - frequency?: RecurringChargeFrequency; - } - export type RecurringChargeFrequency = "MONTHLY"|string; - export type RecurringCharges = RecurringCharge[]; - export interface RemoteAccessSession { - /** - * The Amazon Resource Name (ARN) of the remote access session. - */ - arn?: AmazonResourceName; - /** - * The name of the remote access session. - */ - name?: Name; - /** - * The date and time the remote access session was created. - */ - created?: DateTime; - /** - * The status of the remote access session. Can be any of the following: PENDING: A pending status. PENDING_CONCURRENCY: A pending concurrency status. PENDING_DEVICE: A pending device status. PROCESSING: A processing status. SCHEDULING: A scheduling status. PREPARING: A preparing status. RUNNING: A running status. COMPLETED: A completed status. STOPPING: A stopping status. - */ - status?: ExecutionStatus; - /** - * The result of the remote access session. Can be any of the following: PENDING: A pending condition. PASSED: A passing condition. WARNED: A warning condition. FAILED: A failed condition. SKIPPED: A skipped condition. ERRORED: An error condition. STOPPED: A stopped condition. - */ - result?: ExecutionResult; - /** - * A message about the remote access session. - */ - message?: Message; - /** - * The date and time the remote access session was started. - */ - started?: DateTime; - /** - * The date and time the remote access session was stopped. - */ - stopped?: DateTime; - /** - * The device (phone or tablet) used in the remote access session. - */ - device?: Device; - /** - * The billing method of the remote access session. Possible values include METERED or UNMETERED. For more information about metered devices, see AWS Device Farm terminology." - */ - billingMethod?: BillingMethod; - /** - * The number of minutes a device is used in a remote access sesssion (including setup and teardown minutes). - */ - deviceMinutes?: DeviceMinutes; - /** - * The endpoint for the remote access sesssion. - */ - endpoint?: String; - } - export type RemoteAccessSessions = RemoteAccessSession[]; - export interface RenewOfferingRequest { - /** - * The ID of a request to renew an offering. - */ - offeringId?: OfferingIdentifier; - /** - * The quantity requested in an offering renewal. - */ - quantity?: Integer; - } - export interface RenewOfferingResult { - /** - * Represents the status of the offering transaction for the renewal. - */ - offeringTransaction?: OfferingTransaction; - } - export interface Resolution { - /** - * The screen resolution's width, expressed in pixels. - */ - width?: Integer; - /** - * The screen resolution's height, expressed in pixels. - */ - height?: Integer; - } - export interface Rule { - /** - * The rule's stringified attribute. For example, specify the value as "\"abc\"". Allowed values include: ARN: The ARN. FORM_FACTOR: The form factor (for example, phone or tablet). MANUFACTURER: The manufacturer. PLATFORM: The platform (for example, Android or iOS). REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access. APPIUM_VERSION: The Appium version for the test. - */ - attribute?: DeviceAttribute; - /** - * The rule's operator. EQUALS: The equals operator. GREATER_THAN: The greater-than operator. IN: The in operator. LESS_THAN: The less-than operator. NOT_IN: The not-in operator. CONTAINS: The contains operator. - */ - operator?: RuleOperator; - /** - * The rule's value. - */ - value?: String; - } - export type RuleOperator = "EQUALS"|"LESS_THAN"|"GREATER_THAN"|"IN"|"NOT_IN"|"CONTAINS"|string; - export type Rules = Rule[]; - export interface Run { - /** - * The run's ARN. - */ - arn?: AmazonResourceName; - /** - * The run's name. - */ - name?: Name; - /** - * The run's type. Must be one of the following values: BUILTIN_FUZZ: The built-in fuzz type. BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time. APPIUM_JAVA_JUNIT: The Appium Java JUnit type. APPIUM_JAVA_TESTNG: The Appium Java TestNG type. APPIUM_PYTHON: The Appium Python type. APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps. APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps. APPIUM_WEB_PYTHON: The Appium Python type for Web apps. CALABASH: The Calabash type. INSTRUMENTATION: The Instrumentation type. UIAUTOMATION: The uiautomation type. UIAUTOMATOR: The uiautomator type. XCTEST: The XCode test type. XCTEST_UI: The XCode UI test type. - */ - type?: TestType; - /** - * The run's platform. Allowed values include: ANDROID: The Android platform. IOS: The iOS platform. - */ - platform?: DevicePlatform; - /** - * When the run was created. - */ - created?: DateTime; - /** - * The run's status. Allowed values include: PENDING: A pending status. PENDING_CONCURRENCY: A pending concurrency status. PENDING_DEVICE: A pending device status. PROCESSING: A processing status. SCHEDULING: A scheduling status. PREPARING: A preparing status. RUNNING: A running status. COMPLETED: A completed status. STOPPING: A stopping status. - */ - status?: ExecutionStatus; - /** - * The run's result. Allowed values include: PENDING: A pending condition. PASSED: A passing condition. WARNED: A warning condition. FAILED: A failed condition. SKIPPED: A skipped condition. ERRORED: An error condition. STOPPED: A stopped condition. - */ - result?: ExecutionResult; - /** - * The run's start time. - */ - started?: DateTime; - /** - * The run's stop time. - */ - stopped?: DateTime; - /** - * The run's result counters. - */ - counters?: Counters; - /** - * A message about the run's result. - */ - message?: Message; - /** - * The total number of jobs for the run. - */ - totalJobs?: Integer; - /** - * The total number of completed jobs. - */ - completedJobs?: Integer; - /** - * Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is metered. - */ - billingMethod?: BillingMethod; - /** - * Represents the total (metered or unmetered) minutes used by the test run. - */ - deviceMinutes?: DeviceMinutes; - /** - * The network profile being used for a test run. - */ - networkProfile?: NetworkProfile; - } - export type Runs = Run[]; - export interface Sample { - /** - * The sample's ARN. - */ - arn?: AmazonResourceName; - /** - * The sample's type. Must be one of the following values: CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage. MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes. NATIVE_AVG_DRAWTIME NATIVE_FPS NATIVE_FRAMES NATIVE_MAX_DRAWTIME NATIVE_MIN_DRAWTIME OPENGL_AVG_DRAWTIME OPENGL_FPS OPENGL_FRAMES OPENGL_MAX_DRAWTIME OPENGL_MIN_DRAWTIME RX RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process. THREADS: A threads sample type. This is expressed as the total number of threads per app process. TX TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process. - */ - type?: SampleType; - /** - * The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the sample's file. - */ - url?: URL; - } - export type SampleType = "CPU"|"MEMORY"|"THREADS"|"RX_RATE"|"TX_RATE"|"RX"|"TX"|"NATIVE_FRAMES"|"NATIVE_FPS"|"NATIVE_MIN_DRAWTIME"|"NATIVE_AVG_DRAWTIME"|"NATIVE_MAX_DRAWTIME"|"OPENGL_FRAMES"|"OPENGL_FPS"|"OPENGL_MIN_DRAWTIME"|"OPENGL_AVG_DRAWTIME"|"OPENGL_MAX_DRAWTIME"|string; - export type Samples = Sample[]; - export interface ScheduleRunConfiguration { - /** - * The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm will extract to external data for Android or the app's sandbox for iOS. - */ - extraDataPackageArn?: AmazonResourceName; - /** - * Reserved for internal use. - */ - networkProfileArn?: AmazonResourceName; - /** - * Information about the locale that is used for the run. - */ - locale?: String; - /** - * Information about the location that is used for the run. - */ - location?: Location; - /** - * Information about the radio states for the run. - */ - radios?: Radios; - /** - * A list of auxiliary apps for the run. - */ - auxiliaryApps?: AmazonResourceNames; - /** - * Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is metered. - */ - billingMethod?: BillingMethod; - } - export interface ScheduleRunRequest { - /** - * The ARN of the project for the run to be scheduled. - */ - projectArn: AmazonResourceName; - /** - * The ARN of the app to schedule a run. - */ - appArn?: AmazonResourceName; - /** - * The ARN of the device pool for the run to be scheduled. - */ - devicePoolArn: AmazonResourceName; - /** - * The name for the run to be scheduled. - */ - name?: Name; - /** - * Information about the test for the run to be scheduled. - */ - test: ScheduleRunTest; - /** - * Information about the settings for the run to be scheduled. - */ - configuration?: ScheduleRunConfiguration; - /** - * Specifies configuration information about a test run, such as the execution timeout (in minutes). - */ - executionConfiguration?: ExecutionConfiguration; - } - export interface ScheduleRunResult { - /** - * Information about the scheduled run. - */ - run?: Run; - } - export interface ScheduleRunTest { - /** - * The test's type. Must be one of the following values: BUILTIN_FUZZ: The built-in fuzz type. BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time. APPIUM_JAVA_JUNIT: The Appium Java JUnit type. APPIUM_JAVA_TESTNG: The Appium Java TestNG type. APPIUM_PYTHON: The Appium Python type. APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps. APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps. APPIUM_WEB_PYTHON: The Appium Python type for Web apps. CALABASH: The Calabash type. INSTRUMENTATION: The Instrumentation type. UIAUTOMATION: The uiautomation type. UIAUTOMATOR: The uiautomator type. XCTEST: The XCode test type. XCTEST_UI: The XCode UI test type. - */ - type: TestType; - /** - * The ARN of the uploaded test that will be run. - */ - testPackageArn?: AmazonResourceName; - /** - * The test's filter. - */ - filter?: Filter; - /** - * The test's parameters, such as the following test framework parameters and fixture settings: For Calabash tests: profile: A cucumber profile, for example, "my_profile_name". tags: You can limit execution to features or scenarios that have (or don't have) certain tags, for example, "@smoke" or "@smoke,~@wip". For Appium tests (all types): appium_version: The Appium version. Currently supported values are "1.4.16", "1.6.3", "latest", and "default". “latest” will run the latest Appium version supported by Device Farm (1.6.3). For “default”, Device Farm will choose a compatible version of Appium for the device. The current behavior is to run 1.4.16 on Android devices and iOS 9 and earlier, 1.6.3 for iOS 10 and later. This behavior is subject to change. For Fuzz tests (Android only): event_count: The number of events, between 1 and 10000, that the UI fuzz test should perform. throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should wait between events. seed: A seed to use for randomizing the UI fuzz test. Using the same seed value between tests ensures identical event sequences. For Explorer tests: username: A username to use if the Explorer encounters a login form. If not supplied, no username will be inserted. password: A password to use if the Explorer encounters a login form. If not supplied, no password will be inserted. For Instrumentation: filter: A test filter string. Examples: Running a single test case: "com.android.abc.Test1" Running a single test: "com.android.abc.Test1#smoke" Running multiple tests: "com.android.abc.Test1,com.android.abc.Test2" For XCTest and XCTestUI: filter: A test filter string. Examples: Running a single test class: "LoginTests" Running a multiple test classes: "LoginTests,SmokeTests" Running a single test: "LoginTests/testValid" Running multiple tests: "LoginTests/testValid,LoginTests/testInvalid" For UIAutomator: filter: A test filter string. Examples: Running a single test case: "com.android.abc.Test1" Running a single test: "com.android.abc.Test1#smoke" Running multiple tests: "com.android.abc.Test1,com.android.abc.Test2" - */ - parameters?: TestParameters; - } - export interface StopRemoteAccessSessionRequest { - /** - * The Amazon Resource Name (ARN) of the remote access session you wish to stop. - */ - arn: AmazonResourceName; - } - export interface StopRemoteAccessSessionResult { - /** - * A container representing the metadata from the service about the remote access session you are stopping. - */ - remoteAccessSession?: RemoteAccessSession; - } - export interface StopRunRequest { - /** - * Represents the Amazon Resource Name (ARN) of the Device Farm run you wish to stop. - */ - arn: AmazonResourceName; - } - export interface StopRunResult { - /** - * The run that was stopped. - */ - run?: Run; - } - export type String = string; - export interface Suite { - /** - * The suite's ARN. - */ - arn?: AmazonResourceName; - /** - * The suite's name. - */ - name?: Name; - /** - * The suite's type. Must be one of the following values: BUILTIN_FUZZ: The built-in fuzz type. BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time. APPIUM_JAVA_JUNIT: The Appium Java JUnit type. APPIUM_JAVA_TESTNG: The Appium Java TestNG type. APPIUM_PYTHON: The Appium Python type. APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps. APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps. APPIUM_WEB_PYTHON: The Appium Python type for Web apps. CALABASH: The Calabash type. INSTRUMENTATION: The Instrumentation type. UIAUTOMATION: The uiautomation type. UIAUTOMATOR: The uiautomator type. XCTEST: The XCode test type. XCTEST_UI: The XCode UI test type. - */ - type?: TestType; - /** - * When the suite was created. - */ - created?: DateTime; - /** - * The suite's status. Allowed values include: PENDING: A pending status. PENDING_CONCURRENCY: A pending concurrency status. PENDING_DEVICE: A pending device status. PROCESSING: A processing status. SCHEDULING: A scheduling status. PREPARING: A preparing status. RUNNING: A running status. COMPLETED: A completed status. STOPPING: A stopping status. - */ - status?: ExecutionStatus; - /** - * The suite's result. Allowed values include: PENDING: A pending condition. PASSED: A passing condition. WARNED: A warning condition. FAILED: A failed condition. SKIPPED: A skipped condition. ERRORED: An error condition. STOPPED: A stopped condition. - */ - result?: ExecutionResult; - /** - * The suite's start time. - */ - started?: DateTime; - /** - * The suite's stop time. - */ - stopped?: DateTime; - /** - * The suite's result counters. - */ - counters?: Counters; - /** - * A message about the suite's result. - */ - message?: Message; - /** - * Represents the total (metered or unmetered) minutes used by the test suite. - */ - deviceMinutes?: DeviceMinutes; - } - export type Suites = Suite[]; - export interface Test { - /** - * The test's ARN. - */ - arn?: AmazonResourceName; - /** - * The test's name. - */ - name?: Name; - /** - * The test's type. Must be one of the following values: BUILTIN_FUZZ: The built-in fuzz type. BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time. APPIUM_JAVA_JUNIT: The Appium Java JUnit type. APPIUM_JAVA_TESTNG: The Appium Java TestNG type. APPIUM_PYTHON: The Appium Python type. APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps. APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps. APPIUM_WEB_PYTHON: The Appium Python type for Web apps. CALABASH: The Calabash type. INSTRUMENTATION: The Instrumentation type. UIAUTOMATION: The uiautomation type. UIAUTOMATOR: The uiautomator type. XCTEST: The XCode test type. XCTEST_UI: The XCode UI test type. - */ - type?: TestType; - /** - * When the test was created. - */ - created?: DateTime; - /** - * The test's status. Allowed values include: PENDING: A pending status. PENDING_CONCURRENCY: A pending concurrency status. PENDING_DEVICE: A pending device status. PROCESSING: A processing status. SCHEDULING: A scheduling status. PREPARING: A preparing status. RUNNING: A running status. COMPLETED: A completed status. STOPPING: A stopping status. - */ - status?: ExecutionStatus; - /** - * The test's result. Allowed values include: PENDING: A pending condition. PASSED: A passing condition. WARNED: A warning condition. FAILED: A failed condition. SKIPPED: A skipped condition. ERRORED: An error condition. STOPPED: A stopped condition. - */ - result?: ExecutionResult; - /** - * The test's start time. - */ - started?: DateTime; - /** - * The test's stop time. - */ - stopped?: DateTime; - /** - * The test's result counters. - */ - counters?: Counters; - /** - * A message about the test's result. - */ - message?: Message; - /** - * Represents the total (metered or unmetered) minutes used by the test. - */ - deviceMinutes?: DeviceMinutes; - } - export type TestParameters = {[key: string]: String}; - export type TestType = "BUILTIN_FUZZ"|"BUILTIN_EXPLORER"|"APPIUM_JAVA_JUNIT"|"APPIUM_JAVA_TESTNG"|"APPIUM_PYTHON"|"APPIUM_WEB_JAVA_JUNIT"|"APPIUM_WEB_JAVA_TESTNG"|"APPIUM_WEB_PYTHON"|"CALABASH"|"INSTRUMENTATION"|"UIAUTOMATION"|"UIAUTOMATOR"|"XCTEST"|"XCTEST_UI"|string; - export type Tests = Test[]; - export type TransactionIdentifier = string; - export interface TrialMinutes { - /** - * The total number of free trial minutes that the account started with. - */ - total?: Double; - /** - * The number of free trial minutes remaining in the account. - */ - remaining?: Double; - } - export type URL = string; - export interface UniqueProblem { - /** - * A message about the unique problems' result. - */ - message?: Message; - /** - * Information about the problems. - */ - problems?: Problems; - } - export type UniqueProblems = UniqueProblem[]; - export type UniqueProblemsByExecutionResultMap = {[key: string]: UniqueProblems}; - export interface UpdateDevicePoolRequest { - /** - * The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update. - */ - arn: AmazonResourceName; - /** - * A string representing the name of the device pool you wish to update. - */ - name?: Name; - /** - * A description of the device pool you wish to update. - */ - description?: Message; - /** - * Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules. - */ - rules?: Rules; - } - export interface UpdateDevicePoolResult { - /** - * The device pool you just updated. - */ - devicePool?: DevicePool; - } - export interface UpdateNetworkProfileRequest { - /** - * The Amazon Resource Name (ARN) of the project that you wish to update network profile settings. - */ - arn: AmazonResourceName; - /** - * The name of the network profile about which you are returning information. - */ - name?: Name; - /** - * The descriptoin of the network profile about which you are returning information. - */ - description?: Message; - /** - * The type of network profile you wish to return information about. Valid values are listed below. - */ - type?: NetworkProfileType; - /** - * The data throughput rate in bits per second, as an integer from 0 to 104857600. - */ - uplinkBandwidthBits?: Long; - /** - * The data throughput rate in bits per second, as an integer from 0 to 104857600. - */ - downlinkBandwidthBits?: Long; - /** - * Delay time for all packets to destination in milliseconds as an integer from 0 to 2000. - */ - uplinkDelayMs?: Long; - /** - * Delay time for all packets to destination in milliseconds as an integer from 0 to 2000. - */ - downlinkDelayMs?: Long; - /** - * Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000. - */ - uplinkJitterMs?: Long; - /** - * Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000. - */ - downlinkJitterMs?: Long; - /** - * Proportion of transmitted packets that fail to arrive from 0 to 100 percent. - */ - uplinkLossPercent?: PercentInteger; - /** - * Proportion of received packets that fail to arrive from 0 to 100 percent. - */ - downlinkLossPercent?: PercentInteger; - } - export interface UpdateNetworkProfileResult { - /** - * A list of the available network profiles. - */ - networkProfile?: NetworkProfile; - } - export interface UpdateProjectRequest { - /** - * The Amazon Resource Name (ARN) of the project whose name you wish to update. - */ - arn: AmazonResourceName; - /** - * A string representing the new name of the project that you are updating. - */ - name?: Name; - /** - * The number of minutes a test run in the project will execute before it times out. - */ - defaultJobTimeoutMinutes?: JobTimeoutMinutes; - } - export interface UpdateProjectResult { - /** - * The project you wish to update. - */ - project?: Project; - } - export interface Upload { - /** - * The upload's ARN. - */ - arn?: AmazonResourceName; - /** - * The upload's file name. - */ - name?: Name; - /** - * When the upload was created. - */ - created?: DateTime; - /** - * The upload's type. Must be one of the following values: ANDROID_APP: An Android upload. IOS_APP: An iOS upload. WEB_APP: A web appliction upload. EXTERNAL_DATA: An external data upload. APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload. APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload. APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload. APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload. APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload. APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload. CALABASH_TEST_PACKAGE: A Calabash test package upload. INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload. UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload. UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload. XCTEST_TEST_PACKAGE: An XCode test package upload. XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload. - */ - type?: UploadType; - /** - * The upload's status. Must be one of the following values: FAILED: A failed status. INITIALIZED: An initialized status. PROCESSING: A processing status. SUCCEEDED: A succeeded status. - */ - status?: UploadStatus; - /** - * The pre-signed Amazon S3 URL that was used to store a file through a corresponding PUT request. - */ - url?: URL; - /** - * The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded. - */ - metadata?: Metadata; - /** - * The upload's content type (for example, "application/octet-stream"). - */ - contentType?: ContentType; - /** - * A message about the upload's result. - */ - message?: Message; - } - export type UploadStatus = "INITIALIZED"|"PROCESSING"|"SUCCEEDED"|"FAILED"|string; - export type UploadType = "ANDROID_APP"|"IOS_APP"|"WEB_APP"|"EXTERNAL_DATA"|"APPIUM_JAVA_JUNIT_TEST_PACKAGE"|"APPIUM_JAVA_TESTNG_TEST_PACKAGE"|"APPIUM_PYTHON_TEST_PACKAGE"|"APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE"|"APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE"|"APPIUM_WEB_PYTHON_TEST_PACKAGE"|"CALABASH_TEST_PACKAGE"|"INSTRUMENTATION_TEST_PACKAGE"|"UIAUTOMATION_TEST_PACKAGE"|"UIAUTOMATOR_TEST_PACKAGE"|"XCTEST_TEST_PACKAGE"|"XCTEST_UI_TEST_PACKAGE"|string; - export type Uploads = Upload[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-06-23"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the DeviceFarm client. - */ - export import Types = DeviceFarm; -} -export = DeviceFarm; diff --git a/src/node_modules/aws-sdk/clients/devicefarm.js b/src/node_modules/aws-sdk/clients/devicefarm.js deleted file mode 100644 index 4b4bc1a..0000000 --- a/src/node_modules/aws-sdk/clients/devicefarm.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['devicefarm'] = {}; -AWS.DeviceFarm = Service.defineService('devicefarm', ['2015-06-23']); -Object.defineProperty(apiLoader.services['devicefarm'], '2015-06-23', { - get: function get() { - var model = require('../apis/devicefarm-2015-06-23.min.json'); - model.paginators = require('../apis/devicefarm-2015-06-23.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DeviceFarm; diff --git a/src/node_modules/aws-sdk/clients/directconnect.d.ts b/src/node_modules/aws-sdk/clients/directconnect.d.ts deleted file mode 100644 index cc43a93..0000000 --- a/src/node_modules/aws-sdk/clients/directconnect.d.ts +++ /dev/null @@ -1,968 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class DirectConnect extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: DirectConnect.Types.ClientConfiguration) - config: Config & DirectConnect.Types.ClientConfiguration; - /** - * Deprecated in favor of AllocateHostedConnection. Creates a hosted connection on an interconnect. Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the given interconnect. This is intended for use by AWS Direct Connect partners only. - */ - allocateConnectionOnInterconnect(params: DirectConnect.Types.AllocateConnectionOnInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Deprecated in favor of AllocateHostedConnection. Creates a hosted connection on an interconnect. Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the given interconnect. This is intended for use by AWS Direct Connect partners only. - */ - allocateConnectionOnInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Creates a hosted connection on an interconnect or a link aggregation group (LAG). Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the given interconnect or LAG. This is intended for use by AWS Direct Connect partners only. - */ - allocateHostedConnection(params: DirectConnect.Types.AllocateHostedConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Creates a hosted connection on an interconnect or a link aggregation group (LAG). Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the given interconnect or LAG. This is intended for use by AWS Direct Connect partners only. - */ - allocateHostedConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Provisions a private virtual interface to be owned by another AWS customer. Virtual interfaces created using this action must be confirmed by the virtual interface owner by using the ConfirmPrivateVirtualInterface action. Until then, the virtual interface will be in 'Confirming' state, and will not be available for handling traffic. - */ - allocatePrivateVirtualInterface(params: DirectConnect.Types.AllocatePrivateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request; - /** - * Provisions a private virtual interface to be owned by another AWS customer. Virtual interfaces created using this action must be confirmed by the virtual interface owner by using the ConfirmPrivateVirtualInterface action. Until then, the virtual interface will be in 'Confirming' state, and will not be available for handling traffic. - */ - allocatePrivateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request; - /** - * Provisions a public virtual interface to be owned by a different customer. The owner of a connection calls this function to provision a public virtual interface which will be owned by another AWS customer. Virtual interfaces created using this function must be confirmed by the virtual interface owner by calling ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface will be in 'Confirming' state, and will not be available for handling traffic. When creating an IPv6 public virtual interface (addressFamily is 'ipv6'), the customer and amazon address fields should be left blank to use auto-assigned IPv6 space. Custom IPv6 Addresses are currently not supported. - */ - allocatePublicVirtualInterface(params: DirectConnect.Types.AllocatePublicVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request; - /** - * Provisions a public virtual interface to be owned by a different customer. The owner of a connection calls this function to provision a public virtual interface which will be owned by another AWS customer. Virtual interfaces created using this function must be confirmed by the virtual interface owner by calling ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface will be in 'Confirming' state, and will not be available for handling traffic. When creating an IPv6 public virtual interface (addressFamily is 'ipv6'), the customer and amazon address fields should be left blank to use auto-assigned IPv6 space. Custom IPv6 Addresses are currently not supported. - */ - allocatePublicVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request; - /** - * Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and re-established as a member of the LAG (connectivity to AWS will be interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. You can reassociate a connection that's currently associated with a different LAG; however, if removing the connection will cause the original LAG to fall below its setting for minimum number of operational connections, the request fails. Any virtual interfaces that are directly associated with the connection are automatically re-associated with the LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated with the original LAG. For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was originally associated with a different LAG, the hosted connections remain associated with the original LAG. - */ - associateConnectionWithLag(params: DirectConnect.Types.AssociateConnectionWithLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and re-established as a member of the LAG (connectivity to AWS will be interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. You can reassociate a connection that's currently associated with a different LAG; however, if removing the connection will cause the original LAG to fall below its setting for minimum number of operational connections, the request fails. Any virtual interfaces that are directly associated with the connection are automatically re-associated with the LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated with the original LAG. For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was originally associated with a different LAG, the hosted connections remain associated with the original LAG. - */ - associateConnectionWithLag(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, the operation fails. This action temporarily interrupts the hosted connection's connectivity to AWS as it is being migrated. This is intended for use by AWS Direct Connect partners only. - */ - associateHostedConnection(params: DirectConnect.Types.AssociateHostedConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, the operation fails. This action temporarily interrupts the hosted connection's connectivity to AWS as it is being migrated. This is intended for use by AWS Direct Connect partners only. - */ - associateHostedConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to AWS is temporarily interrupted as the virtual interface is being migrated. If the target connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, the operation fails. Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection. Hosted virtual interfaces (an interface for which the owner of the connection is not the owner of physical connection) can only be reassociated by the owner of the physical connection. - */ - associateVirtualInterface(params: DirectConnect.Types.AssociateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request; - /** - * Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to AWS is temporarily interrupted as the virtual interface is being migrated. If the target connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, the operation fails. Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection. Hosted virtual interfaces (an interface for which the owner of the connection is not the owner of physical connection) can only be reassociated by the owner of the physical connection. - */ - associateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request; - /** - * Confirm the creation of a hosted connection on an interconnect. Upon creation, the hosted connection is initially in the 'Ordering' state, and will remain in this state until the owner calls ConfirmConnection to confirm creation of the hosted connection. - */ - confirmConnection(params: DirectConnect.Types.ConfirmConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.ConfirmConnectionResponse) => void): Request; - /** - * Confirm the creation of a hosted connection on an interconnect. Upon creation, the hosted connection is initially in the 'Ordering' state, and will remain in this state until the owner calls ConfirmConnection to confirm creation of the hosted connection. - */ - confirmConnection(callback?: (err: AWSError, data: DirectConnect.Types.ConfirmConnectionResponse) => void): Request; - /** - * Accept ownership of a private virtual interface created by another customer. After the virtual interface owner calls this function, the virtual interface will be created and attached to the given virtual private gateway, and will be available for handling traffic. - */ - confirmPrivateVirtualInterface(params: DirectConnect.Types.ConfirmPrivateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPrivateVirtualInterfaceResponse) => void): Request; - /** - * Accept ownership of a private virtual interface created by another customer. After the virtual interface owner calls this function, the virtual interface will be created and attached to the given virtual private gateway, and will be available for handling traffic. - */ - confirmPrivateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPrivateVirtualInterfaceResponse) => void): Request; - /** - * Accept ownership of a public virtual interface created by another customer. After the virtual interface owner calls this function, the specified virtual interface will be created and made available for handling traffic. - */ - confirmPublicVirtualInterface(params: DirectConnect.Types.ConfirmPublicVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPublicVirtualInterfaceResponse) => void): Request; - /** - * Accept ownership of a public virtual interface created by another customer. After the virtual interface owner calls this function, the specified virtual interface will be created and made available for handling traffic. - */ - confirmPublicVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPublicVirtualInterfaceResponse) => void): Request; - /** - * Creates a new BGP peer on a specified virtual interface. The BGP peer cannot be in the same address family (IPv4/IPv6) of an existing BGP peer on the virtual interface. You must create a BGP peer for the corresponding address family in order to access AWS resources that also use that address family. When creating a IPv6 BGP peer, the Amazon address and customer address fields must be left blank. IPv6 addresses are automatically assigned from Amazon's pool of IPv6 addresses; you cannot specify custom IPv6 addresses. For a public virtual interface, the Autonomous System Number (ASN) must be private or already whitelisted for the virtual interface. - */ - createBGPPeer(params: DirectConnect.Types.CreateBGPPeerRequest, callback?: (err: AWSError, data: DirectConnect.Types.CreateBGPPeerResponse) => void): Request; - /** - * Creates a new BGP peer on a specified virtual interface. The BGP peer cannot be in the same address family (IPv4/IPv6) of an existing BGP peer on the virtual interface. You must create a BGP peer for the corresponding address family in order to access AWS resources that also use that address family. When creating a IPv6 BGP peer, the Amazon address and customer address fields must be left blank. IPv6 addresses are automatically assigned from Amazon's pool of IPv6 addresses; you cannot specify custom IPv6 addresses. For a public virtual interface, the Autonomous System Number (ASN) must be private or already whitelisted for the virtual interface. - */ - createBGPPeer(callback?: (err: AWSError, data: DirectConnect.Types.CreateBGPPeerResponse) => void): Request; - /** - * Creates a new connection between the customer network and a specific AWS Direct Connect location. A connection links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. An AWS Direct Connect location provides access to Amazon Web Services in the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in one region does not provide connectivity to other regions. You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new connection is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no connection will be created. - */ - createConnection(params: DirectConnect.Types.CreateConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Creates a new connection between the customer network and a specific AWS Direct Connect location. A connection links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. An AWS Direct Connect location provides access to Amazon Web Services in the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in one region does not provide connectivity to other regions. You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new connection is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no connection will be created. - */ - createConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Creates a new interconnect between a AWS Direct Connect partner's network and a specific AWS Direct Connect location. An interconnect is a connection which is capable of hosting other connections. The AWS Direct Connect partner can use an interconnect to provide sub-1Gbps AWS Direct Connect service to tier 2 customers who do not have their own connections. Like a standard connection, an interconnect links the AWS Direct Connect partner's network to an AWS Direct Connect location over a standard 1 Gbps or 10 Gbps Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect router. You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new interconnect is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect will be created. For each end customer, the AWS Direct Connect partner provisions a connection on their interconnect by calling AllocateConnectionOnInterconnect. The end customer can then connect to AWS resources by creating a virtual interface on their connection, using the VLAN assigned to them by the AWS Direct Connect partner. This is intended for use by AWS Direct Connect partners only. - */ - createInterconnect(params: DirectConnect.Types.CreateInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.Interconnect) => void): Request; - /** - * Creates a new interconnect between a AWS Direct Connect partner's network and a specific AWS Direct Connect location. An interconnect is a connection which is capable of hosting other connections. The AWS Direct Connect partner can use an interconnect to provide sub-1Gbps AWS Direct Connect service to tier 2 customers who do not have their own connections. Like a standard connection, an interconnect links the AWS Direct Connect partner's network to an AWS Direct Connect location over a standard 1 Gbps or 10 Gbps Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect router. You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new interconnect is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect will be created. For each end customer, the AWS Direct Connect partner provisions a connection on their interconnect by calling AllocateConnectionOnInterconnect. The end customer can then connect to AWS resources by creating a virtual interface on their connection, using the VLAN assigned to them by the AWS Direct Connect partner. This is intended for use by AWS Direct Connect partners only. - */ - createInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.Interconnect) => void): Request; - /** - * Creates a new link aggregation group (LAG) with the specified number of bundled physical connections between the customer network and a specific AWS Direct Connect location. A LAG is a logical interface that uses the Link Aggregation Control Protocol (LACP) to aggregate multiple 1 gigabit or 10 gigabit interfaces, allowing you to treat them as a single interface. All connections in a LAG must use the same bandwidth (for example, 10 Gbps), and must terminate at the same AWS Direct Connect endpoint. You can have up to 10 connections per LAG. Regardless of this limit, if you request more connections for the LAG than AWS Direct Connect can allocate on a single endpoint, no LAG is created. You can specify an existing physical connection or interconnect to include in the LAG (which counts towards the total number of connections). Doing so interrupts the current physical connection or hosted connections, and re-establishes them as a member of the LAG. The LAG will be created on the same AWS Direct Connect endpoint to which the connection terminates. Any virtual interfaces associated with the connection are automatically disassociated and re-associated with the LAG. The connection ID does not change. If the AWS account used to create a LAG is a registered AWS Direct Connect partner, the LAG is automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual interfaces cannot be directly configured. - */ - createLag(params: DirectConnect.Types.CreateLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request; - /** - * Creates a new link aggregation group (LAG) with the specified number of bundled physical connections between the customer network and a specific AWS Direct Connect location. A LAG is a logical interface that uses the Link Aggregation Control Protocol (LACP) to aggregate multiple 1 gigabit or 10 gigabit interfaces, allowing you to treat them as a single interface. All connections in a LAG must use the same bandwidth (for example, 10 Gbps), and must terminate at the same AWS Direct Connect endpoint. You can have up to 10 connections per LAG. Regardless of this limit, if you request more connections for the LAG than AWS Direct Connect can allocate on a single endpoint, no LAG is created. You can specify an existing physical connection or interconnect to include in the LAG (which counts towards the total number of connections). Doing so interrupts the current physical connection or hosted connections, and re-establishes them as a member of the LAG. The LAG will be created on the same AWS Direct Connect endpoint to which the connection terminates. Any virtual interfaces associated with the connection are automatically disassociated and re-associated with the LAG. The connection ID does not change. If the AWS account used to create a LAG is a registered AWS Direct Connect partner, the LAG is automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual interfaces cannot be directly configured. - */ - createLag(callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request; - /** - * Creates a new private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface supports sending traffic to a single virtual private cloud (VPC). - */ - createPrivateVirtualInterface(params: DirectConnect.Types.CreatePrivateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request; - /** - * Creates a new private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface supports sending traffic to a single virtual private cloud (VPC). - */ - createPrivateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request; - /** - * Creates a new public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A public virtual interface supports sending traffic to public services of AWS such as Amazon Simple Storage Service (Amazon S3). When creating an IPv6 public virtual interface (addressFamily is 'ipv6'), the customer and amazon address fields should be left blank to use auto-assigned IPv6 space. Custom IPv6 Addresses are currently not supported. - */ - createPublicVirtualInterface(params: DirectConnect.Types.CreatePublicVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request; - /** - * Creates a new public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A public virtual interface supports sending traffic to public services of AWS such as Amazon Simple Storage Service (Amazon S3). When creating an IPv6 public virtual interface (addressFamily is 'ipv6'), the customer and amazon address fields should be left blank to use auto-assigned IPv6 space. Custom IPv6 Addresses are currently not supported. - */ - createPublicVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request; - /** - * Deletes a BGP peer on the specified virtual interface that matches the specified customer address and ASN. You cannot delete the last BGP peer from a virtual interface. - */ - deleteBGPPeer(params: DirectConnect.Types.DeleteBGPPeerRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteBGPPeerResponse) => void): Request; - /** - * Deletes a BGP peer on the specified virtual interface that matches the specified customer address and ASN. You cannot delete the last BGP peer from a virtual interface. - */ - deleteBGPPeer(callback?: (err: AWSError, data: DirectConnect.Types.DeleteBGPPeerResponse) => void): Request; - /** - * Deletes the connection. Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. You need to cancel separately with the providers any services or charges for cross-connects or network circuits that connect you to the AWS Direct Connect location. - */ - deleteConnection(params: DirectConnect.Types.DeleteConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Deletes the connection. Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. You need to cancel separately with the providers any services or charges for cross-connects or network circuits that connect you to the AWS Direct Connect location. - */ - deleteConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Deletes the specified interconnect. This is intended for use by AWS Direct Connect partners only. - */ - deleteInterconnect(params: DirectConnect.Types.DeleteInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteInterconnectResponse) => void): Request; - /** - * Deletes the specified interconnect. This is intended for use by AWS Direct Connect partners only. - */ - deleteInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.DeleteInterconnectResponse) => void): Request; - /** - * Deletes a link aggregation group (LAG). You cannot delete a LAG if it has active virtual interfaces or hosted connections. - */ - deleteLag(params: DirectConnect.Types.DeleteLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request; - /** - * Deletes a link aggregation group (LAG). You cannot delete a LAG if it has active virtual interfaces or hosted connections. - */ - deleteLag(callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request; - /** - * Deletes a virtual interface. - */ - deleteVirtualInterface(params: DirectConnect.Types.DeleteVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteVirtualInterfaceResponse) => void): Request; - /** - * Deletes a virtual interface. - */ - deleteVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.DeleteVirtualInterfaceResponse) => void): Request; - /** - * Deprecated in favor of DescribeLoa. Returns the LOA-CFA for a Connection. The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that your APN partner or service provider uses when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect user guide. - */ - describeConnectionLoa(params: DirectConnect.Types.DescribeConnectionLoaRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeConnectionLoaResponse) => void): Request; - /** - * Deprecated in favor of DescribeLoa. Returns the LOA-CFA for a Connection. The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that your APN partner or service provider uses when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect user guide. - */ - describeConnectionLoa(callback?: (err: AWSError, data: DirectConnect.Types.DescribeConnectionLoaResponse) => void): Request; - /** - * Displays all connections in this region. If a connection ID is provided, the call returns only that particular connection. - */ - describeConnections(params: DirectConnect.Types.DescribeConnectionsRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request; - /** - * Displays all connections in this region. If a connection ID is provided, the call returns only that particular connection. - */ - describeConnections(callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request; - /** - * Deprecated in favor of DescribeHostedConnections. Returns a list of connections that have been provisioned on the given interconnect. This is intended for use by AWS Direct Connect partners only. - */ - describeConnectionsOnInterconnect(params: DirectConnect.Types.DescribeConnectionsOnInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request; - /** - * Deprecated in favor of DescribeHostedConnections. Returns a list of connections that have been provisioned on the given interconnect. This is intended for use by AWS Direct Connect partners only. - */ - describeConnectionsOnInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request; - /** - * Returns a list of hosted connections that have been provisioned on the given interconnect or link aggregation group (LAG). This is intended for use by AWS Direct Connect partners only. - */ - describeHostedConnections(params: DirectConnect.Types.DescribeHostedConnectionsRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request; - /** - * Returns a list of hosted connections that have been provisioned on the given interconnect or link aggregation group (LAG). This is intended for use by AWS Direct Connect partners only. - */ - describeHostedConnections(callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request; - /** - * Deprecated in favor of DescribeLoa. Returns the LOA-CFA for an Interconnect. The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect user guide. - */ - describeInterconnectLoa(params: DirectConnect.Types.DescribeInterconnectLoaRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeInterconnectLoaResponse) => void): Request; - /** - * Deprecated in favor of DescribeLoa. Returns the LOA-CFA for an Interconnect. The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect user guide. - */ - describeInterconnectLoa(callback?: (err: AWSError, data: DirectConnect.Types.DescribeInterconnectLoaResponse) => void): Request; - /** - * Returns a list of interconnects owned by the AWS account. If an interconnect ID is provided, it will only return this particular interconnect. - */ - describeInterconnects(params: DirectConnect.Types.DescribeInterconnectsRequest, callback?: (err: AWSError, data: DirectConnect.Types.Interconnects) => void): Request; - /** - * Returns a list of interconnects owned by the AWS account. If an interconnect ID is provided, it will only return this particular interconnect. - */ - describeInterconnects(callback?: (err: AWSError, data: DirectConnect.Types.Interconnects) => void): Request; - /** - * Describes the link aggregation groups (LAGs) in your account. If a LAG ID is provided, only information about the specified LAG is returned. - */ - describeLags(params: DirectConnect.Types.DescribeLagsRequest, callback?: (err: AWSError, data: DirectConnect.Types.Lags) => void): Request; - /** - * Describes the link aggregation groups (LAGs) in your account. If a LAG ID is provided, only information about the specified LAG is returned. - */ - describeLags(callback?: (err: AWSError, data: DirectConnect.Types.Lags) => void): Request; - /** - * Returns the LOA-CFA for a connection, interconnect, or link aggregation group (LAG). The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect user guide. - */ - describeLoa(params: DirectConnect.Types.DescribeLoaRequest, callback?: (err: AWSError, data: DirectConnect.Types.Loa) => void): Request; - /** - * Returns the LOA-CFA for a connection, interconnect, or link aggregation group (LAG). The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect user guide. - */ - describeLoa(callback?: (err: AWSError, data: DirectConnect.Types.Loa) => void): Request; - /** - * Returns the list of AWS Direct Connect locations in the current AWS region. These are the locations that may be selected when calling CreateConnection or CreateInterconnect. - */ - describeLocations(callback?: (err: AWSError, data: DirectConnect.Types.Locations) => void): Request; - /** - * Describes the tags associated with the specified Direct Connect resources. - */ - describeTags(params: DirectConnect.Types.DescribeTagsRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeTagsResponse) => void): Request; - /** - * Describes the tags associated with the specified Direct Connect resources. - */ - describeTags(callback?: (err: AWSError, data: DirectConnect.Types.DescribeTagsResponse) => void): Request; - /** - * Returns a list of virtual private gateways owned by the AWS account. You can create one or more AWS Direct Connect private virtual interfaces linking to a virtual private gateway. A virtual private gateway can be managed via Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action. - */ - describeVirtualGateways(callback?: (err: AWSError, data: DirectConnect.Types.VirtualGateways) => void): Request; - /** - * Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before you make the request are also returned. If you specify a connection ID, only the virtual interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single virtual interface is returned. A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer. - */ - describeVirtualInterfaces(params: DirectConnect.Types.DescribeVirtualInterfacesRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterfaces) => void): Request; - /** - * Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before you make the request are also returned. If you specify a connection ID, only the virtual interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single virtual interface is returned. A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer. - */ - describeVirtualInterfaces(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterfaces) => void): Request; - /** - * Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established as a standalone connection (the connection is not deleted; to delete the connection, use the DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain associated with the LAG. A disassociated connection owned by an AWS Direct Connect partner is automatically converted to an interconnect. If disassociating the connection will cause the LAG to fall below its setting for minimum number of operational connections, the request fails, except when it's the last member of the LAG. If all connections are disassociated, the LAG continues to exist as an empty LAG with no physical connections. - */ - disassociateConnectionFromLag(params: DirectConnect.Types.DisassociateConnectionFromLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established as a standalone connection (the connection is not deleted; to delete the connection, use the DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain associated with the LAG. A disassociated connection owned by an AWS Direct Connect partner is automatically converted to an interconnect. If disassociating the connection will cause the LAG to fall below its setting for minimum number of operational connections, the request fails, except when it's the last member of the LAG. If all connections are disassociated, the LAG continues to exist as an empty LAG with no physical connections. - */ - disassociateConnectionFromLag(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request; - /** - * Adds the specified tags to the specified Direct Connect resource. Each Direct Connect resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the Direct Connect resource, this action updates its value. - */ - tagResource(params: DirectConnect.Types.TagResourceRequest, callback?: (err: AWSError, data: DirectConnect.Types.TagResourceResponse) => void): Request; - /** - * Adds the specified tags to the specified Direct Connect resource. Each Direct Connect resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the Direct Connect resource, this action updates its value. - */ - tagResource(callback?: (err: AWSError, data: DirectConnect.Types.TagResourceResponse) => void): Request; - /** - * Removes one or more tags from the specified Direct Connect resource. - */ - untagResource(params: DirectConnect.Types.UntagResourceRequest, callback?: (err: AWSError, data: DirectConnect.Types.UntagResourceResponse) => void): Request; - /** - * Removes one or more tags from the specified Direct Connect resource. - */ - untagResource(callback?: (err: AWSError, data: DirectConnect.Types.UntagResourceResponse) => void): Request; - /** - * Updates the attributes of a link aggregation group (LAG). You can update the following attributes: The name of the LAG. The value for the minimum number of connections that must be operational for the LAG itself to be operational. When you create a LAG, the default value for the minimum number of operational connections is zero (0). If you update this value, and the number of operational connections falls below the specified value, the LAG will automatically go down to avoid overutilization of the remaining connections. Adjusting this value should be done with care as it could force the LAG down if the value is set higher than the current number of operational connections. - */ - updateLag(params: DirectConnect.Types.UpdateLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request; - /** - * Updates the attributes of a link aggregation group (LAG). You can update the following attributes: The name of the LAG. The value for the minimum number of connections that must be operational for the LAG itself to be operational. When you create a LAG, the default value for the minimum number of operational connections is zero (0). If you update this value, and the number of operational connections falls below the specified value, the LAG will automatically go down to avoid overutilization of the remaining connections. Adjusting this value should be done with care as it could force the LAG down if the value is set higher than the current number of operational connections. - */ - updateLag(callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request; -} -declare namespace DirectConnect { - export type ASN = number; - export type AddressFamily = "ipv4"|"ipv6"|string; - export interface AllocateConnectionOnInterconnectRequest { - /** - * Bandwidth of the connection. Example: "500Mbps" Default: None Values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps - */ - bandwidth: Bandwidth; - /** - * Name of the provisioned connection. Example: "500M Connection to AWS" Default: None - */ - connectionName: ConnectionName; - /** - * Numeric account Id of the customer for whom the connection will be provisioned. Example: 123443215678 Default: None - */ - ownerAccount: OwnerAccount; - /** - * ID of the interconnect on which the connection will be provisioned. Example: dxcon-456abc78 Default: None - */ - interconnectId: InterconnectId; - /** - * The dedicated VLAN provisioned to the connection. Example: 101 Default: None - */ - vlan: VLAN; - } - export interface AllocateHostedConnectionRequest { - /** - * The ID of the interconnect or LAG on which the connection will be provisioned. Example: dxcon-456abc78 or dxlag-abc123 Default: None - */ - connectionId: ConnectionId; - /** - * The numeric account ID of the customer for whom the connection will be provisioned. Example: 123443215678 Default: None - */ - ownerAccount: OwnerAccount; - /** - * The bandwidth of the connection. Example: 500Mbps Default: None Values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps - */ - bandwidth: Bandwidth; - /** - * The name of the provisioned connection. Example: "500M Connection to AWS" Default: None - */ - connectionName: ConnectionName; - /** - * The dedicated VLAN provisioned to the hosted connection. Example: 101 Default: None - */ - vlan: VLAN; - } - export interface AllocatePrivateVirtualInterfaceRequest { - /** - * The connection ID on which the private virtual interface is provisioned. Default: None - */ - connectionId: ConnectionId; - /** - * The AWS account that will own the new private virtual interface. Default: None - */ - ownerAccount: OwnerAccount; - /** - * Detailed information for the private virtual interface to be provisioned. Default: None - */ - newPrivateVirtualInterfaceAllocation: NewPrivateVirtualInterfaceAllocation; - } - export interface AllocatePublicVirtualInterfaceRequest { - /** - * The connection ID on which the public virtual interface is provisioned. Default: None - */ - connectionId: ConnectionId; - /** - * The AWS account that will own the new public virtual interface. Default: None - */ - ownerAccount: OwnerAccount; - /** - * Detailed information for the public virtual interface to be provisioned. Default: None - */ - newPublicVirtualInterfaceAllocation: NewPublicVirtualInterfaceAllocation; - } - export type AmazonAddress = string; - export interface AssociateConnectionWithLagRequest { - /** - * The ID of the connection. Example: dxcon-abc123 Default: None - */ - connectionId: ConnectionId; - /** - * The ID of the LAG with which to associate the connection. Example: dxlag-abc123 Default: None - */ - lagId: LagId; - } - export interface AssociateHostedConnectionRequest { - /** - * The ID of the hosted connection. Example: dxcon-abc123 Default: None - */ - connectionId: ConnectionId; - /** - * The ID of the interconnect or the LAG. Example: dxcon-abc123 or dxlag-abc123 Default: None - */ - parentConnectionId: ConnectionId; - } - export interface AssociateVirtualInterfaceRequest { - /** - * The ID of the virtual interface. Example: dxvif-123dfg56 Default: None - */ - virtualInterfaceId: VirtualInterfaceId; - /** - * The ID of the LAG or connection with which to associate the virtual interface. Example: dxlag-abc123 or dxcon-abc123 Default: None - */ - connectionId: ConnectionId; - } - export type AwsDevice = string; - export type BGPAuthKey = string; - export interface BGPPeer { - asn?: ASN; - authKey?: BGPAuthKey; - addressFamily?: AddressFamily; - amazonAddress?: AmazonAddress; - customerAddress?: CustomerAddress; - bgpPeerState?: BGPPeerState; - bgpStatus?: BGPStatus; - } - export type BGPPeerList = BGPPeer[]; - export type BGPPeerState = "verifying"|"pending"|"available"|"deleting"|"deleted"|string; - export type BGPStatus = "up"|"down"|string; - export type Bandwidth = string; - export type BooleanFlag = boolean; - export type CIDR = string; - export interface ConfirmConnectionRequest { - connectionId: ConnectionId; - } - export interface ConfirmConnectionResponse { - connectionState?: ConnectionState; - } - export interface ConfirmPrivateVirtualInterfaceRequest { - virtualInterfaceId: VirtualInterfaceId; - /** - * ID of the virtual private gateway that will be attached to the virtual interface. A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action. Default: None - */ - virtualGatewayId: VirtualGatewayId; - } - export interface ConfirmPrivateVirtualInterfaceResponse { - virtualInterfaceState?: VirtualInterfaceState; - } - export interface ConfirmPublicVirtualInterfaceRequest { - virtualInterfaceId: VirtualInterfaceId; - } - export interface ConfirmPublicVirtualInterfaceResponse { - virtualInterfaceState?: VirtualInterfaceState; - } - export interface Connection { - /** - * The AWS account that will own the new connection. - */ - ownerAccount?: OwnerAccount; - connectionId?: ConnectionId; - connectionName?: ConnectionName; - connectionState?: ConnectionState; - region?: Region; - location?: LocationCode; - /** - * Bandwidth of the connection. Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections) Default: None - */ - bandwidth?: Bandwidth; - vlan?: VLAN; - /** - * The name of the AWS Direct Connect service provider associated with the connection. - */ - partnerName?: PartnerName; - /** - * The time of the most recent call to DescribeLoa for this connection. - */ - loaIssueTime?: LoaIssueTime; - lagId?: LagId; - /** - * The Direct Connection endpoint which the physical connection terminates on. - */ - awsDevice?: AwsDevice; - } - export type ConnectionId = string; - export type ConnectionList = Connection[]; - export type ConnectionName = string; - export type ConnectionState = "ordering"|"requested"|"pending"|"available"|"down"|"deleting"|"deleted"|"rejected"|string; - export interface Connections { - /** - * A list of connections. - */ - connections?: ConnectionList; - } - export type Count = number; - export interface CreateBGPPeerRequest { - /** - * The ID of the virtual interface on which the BGP peer will be provisioned. Example: dxvif-456abc78 Default: None - */ - virtualInterfaceId?: VirtualInterfaceId; - /** - * Detailed information for the BGP peer to be created. Default: None - */ - newBGPPeer?: NewBGPPeer; - } - export interface CreateBGPPeerResponse { - virtualInterface?: VirtualInterface; - } - export interface CreateConnectionRequest { - location: LocationCode; - bandwidth: Bandwidth; - connectionName: ConnectionName; - lagId?: LagId; - } - export interface CreateInterconnectRequest { - /** - * The name of the interconnect. Example: "1G Interconnect to AWS" Default: None - */ - interconnectName: InterconnectName; - /** - * The port bandwidth Example: 1Gbps Default: None Available values: 1Gbps,10Gbps - */ - bandwidth: Bandwidth; - /** - * Where the interconnect is located Example: EqSV5 Default: None - */ - location: LocationCode; - lagId?: LagId; - } - export interface CreateLagRequest { - /** - * The number of physical connections initially provisioned and bundled by the LAG. Default: None - */ - numberOfConnections: Count; - /** - * The AWS Direct Connect location in which the LAG should be allocated. Example: EqSV5 Default: None - */ - location: LocationCode; - /** - * The bandwidth of the individual physical connections bundled by the LAG. Default: None Available values: 1Gbps, 10Gbps - */ - connectionsBandwidth: Bandwidth; - /** - * The name of the LAG. Example: "3x10G LAG to AWS" Default: None - */ - lagName: LagName; - /** - * The ID of an existing connection to migrate to the LAG. Default: None - */ - connectionId?: ConnectionId; - } - export interface CreatePrivateVirtualInterfaceRequest { - connectionId: ConnectionId; - /** - * Detailed information for the private virtual interface to be created. Default: None - */ - newPrivateVirtualInterface: NewPrivateVirtualInterface; - } - export interface CreatePublicVirtualInterfaceRequest { - connectionId: ConnectionId; - /** - * Detailed information for the public virtual interface to be created. Default: None - */ - newPublicVirtualInterface: NewPublicVirtualInterface; - } - export type CustomerAddress = string; - export interface DeleteBGPPeerRequest { - /** - * The ID of the virtual interface from which the BGP peer will be deleted. Example: dxvif-456abc78 Default: None - */ - virtualInterfaceId?: VirtualInterfaceId; - asn?: ASN; - customerAddress?: CustomerAddress; - } - export interface DeleteBGPPeerResponse { - virtualInterface?: VirtualInterface; - } - export interface DeleteConnectionRequest { - connectionId: ConnectionId; - } - export interface DeleteInterconnectRequest { - interconnectId: InterconnectId; - } - export interface DeleteInterconnectResponse { - interconnectState?: InterconnectState; - } - export interface DeleteLagRequest { - /** - * The ID of the LAG to delete. Example: dxlag-abc123 Default: None - */ - lagId: LagId; - } - export interface DeleteVirtualInterfaceRequest { - virtualInterfaceId: VirtualInterfaceId; - } - export interface DeleteVirtualInterfaceResponse { - virtualInterfaceState?: VirtualInterfaceState; - } - export interface DescribeConnectionLoaRequest { - connectionId: ConnectionId; - /** - * The name of the APN partner or service provider who establishes connectivity on your behalf. If you supply this parameter, the LOA-CFA lists the provider name alongside your company name as the requester of the cross connect. Default: None - */ - providerName?: ProviderName; - loaContentType?: LoaContentType; - } - export interface DescribeConnectionLoaResponse { - loa?: Loa; - } - export interface DescribeConnectionsOnInterconnectRequest { - /** - * ID of the interconnect on which a list of connection is provisioned. Example: dxcon-abc123 Default: None - */ - interconnectId: InterconnectId; - } - export interface DescribeConnectionsRequest { - connectionId?: ConnectionId; - } - export interface DescribeHostedConnectionsRequest { - /** - * The ID of the interconnect or LAG on which the hosted connections are provisioned. Example: dxcon-abc123 or dxlag-abc123 Default: None - */ - connectionId: ConnectionId; - } - export interface DescribeInterconnectLoaRequest { - interconnectId: InterconnectId; - /** - * The name of the service provider who establishes connectivity on your behalf. If you supply this parameter, the LOA-CFA lists the provider name alongside your company name as the requester of the cross connect. Default: None - */ - providerName?: ProviderName; - loaContentType?: LoaContentType; - } - export interface DescribeInterconnectLoaResponse { - loa?: Loa; - } - export interface DescribeInterconnectsRequest { - interconnectId?: InterconnectId; - } - export interface DescribeLagsRequest { - /** - * The ID of the LAG. Example: dxlag-abc123 Default: None - */ - lagId?: LagId; - } - export interface DescribeLoaRequest { - /** - * The ID of a connection, LAG, or interconnect for which to get the LOA-CFA information. Example: dxcon-abc123 or dxlag-abc123 Default: None - */ - connectionId: ConnectionId; - /** - * The name of the service provider who establishes connectivity on your behalf. If you supply this parameter, the LOA-CFA lists the provider name alongside your company name as the requester of the cross connect. Default: None - */ - providerName?: ProviderName; - /** - * A standard media type indicating the content type of the LOA-CFA document. Currently, the only supported value is "application/pdf". Default: application/pdf - */ - loaContentType?: LoaContentType; - } - export interface DescribeTagsRequest { - /** - * The Amazon Resource Names (ARNs) of the Direct Connect resources. - */ - resourceArns: ResourceArnList; - } - export interface DescribeTagsResponse { - /** - * Information about the tags. - */ - resourceTags?: ResourceTagList; - } - export interface DescribeVirtualInterfacesRequest { - connectionId?: ConnectionId; - virtualInterfaceId?: VirtualInterfaceId; - } - export interface DisassociateConnectionFromLagRequest { - /** - * The ID of the connection to disassociate from the LAG. Example: dxcon-abc123 Default: None - */ - connectionId: ConnectionId; - /** - * The ID of the LAG. Example: dxlag-abc123 Default: None - */ - lagId: LagId; - } - export type ErrorMessage = string; - export interface Interconnect { - interconnectId?: InterconnectId; - interconnectName?: InterconnectName; - interconnectState?: InterconnectState; - region?: Region; - location?: LocationCode; - bandwidth?: Bandwidth; - /** - * The time of the most recent call to DescribeInterconnectLoa for this Interconnect. - */ - loaIssueTime?: LoaIssueTime; - lagId?: LagId; - /** - * The Direct Connection endpoint which the physical connection terminates on. - */ - awsDevice?: AwsDevice; - } - export type InterconnectId = string; - export type InterconnectList = Interconnect[]; - export type InterconnectName = string; - export type InterconnectState = "requested"|"pending"|"available"|"down"|"deleting"|"deleted"|string; - export interface Interconnects { - /** - * A list of interconnects. - */ - interconnects?: InterconnectList; - } - export interface Lag { - /** - * The individual bandwidth of the physical connections bundled by the LAG. Available values: 1Gbps, 10Gbps - */ - connectionsBandwidth?: Bandwidth; - /** - * The number of physical connections bundled by the LAG, up to a maximum of 10. - */ - numberOfConnections?: Count; - lagId?: LagId; - /** - * The owner of the LAG. - */ - ownerAccount?: OwnerAccount; - /** - * The name of the LAG. - */ - lagName?: LagName; - lagState?: LagState; - location?: LocationCode; - region?: Region; - /** - * The minimum number of physical connections that must be operational for the LAG itself to be operational. If the number of operational connections drops below this setting, the LAG state changes to down. This value can help to ensure that a LAG is not overutilized if a significant number of its bundled connections go down. - */ - minimumLinks?: Count; - /** - * The AWS Direct Connection endpoint that hosts the LAG. - */ - awsDevice?: AwsDevice; - /** - * A list of connections bundled by this LAG. - */ - connections?: ConnectionList; - /** - * Indicates whether the LAG can host other connections. This is intended for use by AWS Direct Connect partners only. - */ - allowsHostedConnections?: BooleanFlag; - } - export type LagId = string; - export type LagList = Lag[]; - export type LagName = string; - export type LagState = "requested"|"pending"|"available"|"down"|"deleting"|"deleted"|string; - export interface Lags { - /** - * A list of LAGs. - */ - lags?: LagList; - } - export interface Loa { - loaContent?: LoaContent; - loaContentType?: LoaContentType; - } - export type LoaContent = Buffer|Uint8Array|Blob|string; - export type LoaContentType = "application/pdf"|string; - export type LoaIssueTime = Date; - export interface Location { - /** - * The code used to indicate the AWS Direct Connect location. - */ - locationCode?: LocationCode; - /** - * The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building. - */ - locationName?: LocationName; - } - export type LocationCode = string; - export type LocationList = Location[]; - export type LocationName = string; - export interface Locations { - /** - * A list of colocation hubs where network providers have equipment. Most regions have multiple locations available. - */ - locations?: LocationList; - } - export interface NewBGPPeer { - asn?: ASN; - authKey?: BGPAuthKey; - addressFamily?: AddressFamily; - amazonAddress?: AmazonAddress; - customerAddress?: CustomerAddress; - } - export interface NewPrivateVirtualInterface { - virtualInterfaceName: VirtualInterfaceName; - vlan: VLAN; - asn: ASN; - authKey?: BGPAuthKey; - amazonAddress?: AmazonAddress; - customerAddress?: CustomerAddress; - addressFamily?: AddressFamily; - virtualGatewayId: VirtualGatewayId; - } - export interface NewPrivateVirtualInterfaceAllocation { - virtualInterfaceName: VirtualInterfaceName; - vlan: VLAN; - asn: ASN; - authKey?: BGPAuthKey; - amazonAddress?: AmazonAddress; - addressFamily?: AddressFamily; - customerAddress?: CustomerAddress; - } - export interface NewPublicVirtualInterface { - virtualInterfaceName: VirtualInterfaceName; - vlan: VLAN; - asn: ASN; - authKey?: BGPAuthKey; - amazonAddress?: AmazonAddress; - customerAddress?: CustomerAddress; - addressFamily?: AddressFamily; - routeFilterPrefixes?: RouteFilterPrefixList; - } - export interface NewPublicVirtualInterfaceAllocation { - virtualInterfaceName: VirtualInterfaceName; - vlan: VLAN; - asn: ASN; - authKey?: BGPAuthKey; - amazonAddress?: AmazonAddress; - customerAddress?: CustomerAddress; - addressFamily?: AddressFamily; - routeFilterPrefixes?: RouteFilterPrefixList; - } - export type OwnerAccount = string; - export type PartnerName = string; - export type ProviderName = string; - export type Region = string; - export type ResourceArn = string; - export type ResourceArnList = ResourceArn[]; - export interface ResourceTag { - /** - * The Amazon Resource Name (ARN) of the Direct Connect resource. - */ - resourceArn?: ResourceArn; - /** - * The tags. - */ - tags?: TagList; - } - export type ResourceTagList = ResourceTag[]; - export interface RouteFilterPrefix { - /** - * CIDR notation for the advertised route. Multiple routes are separated by commas. IPv6 CIDRs must be at least a /64 or shorter Example: 10.10.10.0/24,10.10.11.0/24,2001:db8::/64 - */ - cidr?: CIDR; - } - export type RouteFilterPrefixList = RouteFilterPrefix[]; - export type RouterConfig = string; - export interface Tag { - /** - * The key of the tag. - */ - key: TagKey; - /** - * The value of the tag. - */ - value?: TagValue; - } - export type TagKey = string; - export type TagKeyList = TagKey[]; - export type TagList = Tag[]; - export interface TagResourceRequest { - /** - * The Amazon Resource Name (ARN) of the Direct Connect resource. Example: arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678gh - */ - resourceArn: ResourceArn; - /** - * The list of tags to add. - */ - tags: TagList; - } - export interface TagResourceResponse { - } - export type TagValue = string; - export interface UntagResourceRequest { - /** - * The Amazon Resource Name (ARN) of the Direct Connect resource. - */ - resourceArn: ResourceArn; - /** - * The list of tag keys to remove. - */ - tagKeys: TagKeyList; - } - export interface UntagResourceResponse { - } - export interface UpdateLagRequest { - /** - * The ID of the LAG to update. Example: dxlag-abc123 Default: None - */ - lagId: LagId; - /** - * The name for the LAG. Example: "3x10G LAG to AWS" Default: None - */ - lagName?: LagName; - /** - * The minimum number of physical connections that must be operational for the LAG itself to be operational. Default: None - */ - minimumLinks?: Count; - } - export type VLAN = number; - export interface VirtualGateway { - virtualGatewayId?: VirtualGatewayId; - virtualGatewayState?: VirtualGatewayState; - } - export type VirtualGatewayId = string; - export type VirtualGatewayList = VirtualGateway[]; - export type VirtualGatewayState = string; - export interface VirtualGateways { - /** - * A list of virtual private gateways. - */ - virtualGateways?: VirtualGatewayList; - } - export interface VirtualInterface { - /** - * The AWS account that will own the new virtual interface. - */ - ownerAccount?: OwnerAccount; - virtualInterfaceId?: VirtualInterfaceId; - location?: LocationCode; - connectionId?: ConnectionId; - virtualInterfaceType?: VirtualInterfaceType; - virtualInterfaceName?: VirtualInterfaceName; - vlan?: VLAN; - asn?: ASN; - authKey?: BGPAuthKey; - amazonAddress?: AmazonAddress; - customerAddress?: CustomerAddress; - addressFamily?: AddressFamily; - virtualInterfaceState?: VirtualInterfaceState; - /** - * Information for generating the customer router configuration. - */ - customerRouterConfig?: RouterConfig; - virtualGatewayId?: VirtualGatewayId; - routeFilterPrefixes?: RouteFilterPrefixList; - bgpPeers?: BGPPeerList; - } - export type VirtualInterfaceId = string; - export type VirtualInterfaceList = VirtualInterface[]; - export type VirtualInterfaceName = string; - export type VirtualInterfaceState = "confirming"|"verifying"|"pending"|"available"|"down"|"deleting"|"deleted"|"rejected"|string; - export type VirtualInterfaceType = string; - export interface VirtualInterfaces { - /** - * A list of virtual interfaces. - */ - virtualInterfaces?: VirtualInterfaceList; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2012-10-25"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the DirectConnect client. - */ - export import Types = DirectConnect; -} -export = DirectConnect; diff --git a/src/node_modules/aws-sdk/clients/directconnect.js b/src/node_modules/aws-sdk/clients/directconnect.js deleted file mode 100644 index f8e013f..0000000 --- a/src/node_modules/aws-sdk/clients/directconnect.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['directconnect'] = {}; -AWS.DirectConnect = Service.defineService('directconnect', ['2012-10-25']); -Object.defineProperty(apiLoader.services['directconnect'], '2012-10-25', { - get: function get() { - var model = require('../apis/directconnect-2012-10-25.min.json'); - model.paginators = require('../apis/directconnect-2012-10-25.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DirectConnect; diff --git a/src/node_modules/aws-sdk/clients/directoryservice.d.ts b/src/node_modules/aws-sdk/clients/directoryservice.d.ts deleted file mode 100644 index bfdf186..0000000 --- a/src/node_modules/aws-sdk/clients/directoryservice.d.ts +++ /dev/null @@ -1,1651 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class DirectoryService extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: DirectoryService.Types.ClientConfiguration) - config: Config & DirectoryService.Types.ClientConfiguration; - /** - * If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC. Before you call AddIpRoutes, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the AddIpRoutes operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. - */ - addIpRoutes(params: DirectoryService.Types.AddIpRoutesRequest, callback?: (err: AWSError, data: DirectoryService.Types.AddIpRoutesResult) => void): Request; - /** - * If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC. Before you call AddIpRoutes, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the AddIpRoutes operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. - */ - addIpRoutes(callback?: (err: AWSError, data: DirectoryService.Types.AddIpRoutesResult) => void): Request; - /** - * Adds or overwrites one or more tags for the specified directory. Each directory can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource. - */ - addTagsToResource(params: DirectoryService.Types.AddTagsToResourceRequest, callback?: (err: AWSError, data: DirectoryService.Types.AddTagsToResourceResult) => void): Request; - /** - * Adds or overwrites one or more tags for the specified directory. Each directory can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource. - */ - addTagsToResource(callback?: (err: AWSError, data: DirectoryService.Types.AddTagsToResourceResult) => void): Request; - /** - * Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled during any of the following states; Initializing, CreatingSnapshot, and UpdatingSchema. - */ - cancelSchemaExtension(params: DirectoryService.Types.CancelSchemaExtensionRequest, callback?: (err: AWSError, data: DirectoryService.Types.CancelSchemaExtensionResult) => void): Request; - /** - * Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled during any of the following states; Initializing, CreatingSnapshot, and UpdatingSchema. - */ - cancelSchemaExtension(callback?: (err: AWSError, data: DirectoryService.Types.CancelSchemaExtensionResult) => void): Request; - /** - * Creates an AD Connector to connect to an on-premises directory. Before you call ConnectDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. - */ - connectDirectory(params: DirectoryService.Types.ConnectDirectoryRequest, callback?: (err: AWSError, data: DirectoryService.Types.ConnectDirectoryResult) => void): Request; - /** - * Creates an AD Connector to connect to an on-premises directory. Before you call ConnectDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. - */ - connectDirectory(callback?: (err: AWSError, data: DirectoryService.Types.ConnectDirectoryResult) => void): Request; - /** - * Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as http://<alias>.awsapps.com. After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary. - */ - createAlias(params: DirectoryService.Types.CreateAliasRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateAliasResult) => void): Request; - /** - * Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as http://<alias>.awsapps.com. After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary. - */ - createAlias(callback?: (err: AWSError, data: DirectoryService.Types.CreateAliasResult) => void): Request; - /** - * Creates a computer account in the specified directory, and joins the computer to the directory. - */ - createComputer(params: DirectoryService.Types.CreateComputerRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateComputerResult) => void): Request; - /** - * Creates a computer account in the specified directory, and joins the computer to the directory. - */ - createComputer(callback?: (err: AWSError, data: DirectoryService.Types.CreateComputerResult) => void): Request; - /** - * Creates a conditional forwarder associated with your AWS directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain. - */ - createConditionalForwarder(params: DirectoryService.Types.CreateConditionalForwarderRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateConditionalForwarderResult) => void): Request; - /** - * Creates a conditional forwarder associated with your AWS directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain. - */ - createConditionalForwarder(callback?: (err: AWSError, data: DirectoryService.Types.CreateConditionalForwarderResult) => void): Request; - /** - * Creates a Simple AD directory. Before you call CreateDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. - */ - createDirectory(params: DirectoryService.Types.CreateDirectoryRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateDirectoryResult) => void): Request; - /** - * Creates a Simple AD directory. Before you call CreateDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. - */ - createDirectory(callback?: (err: AWSError, data: DirectoryService.Types.CreateDirectoryResult) => void): Request; - /** - * Creates a Microsoft AD in the AWS cloud. Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. - */ - createMicrosoftAD(params: DirectoryService.Types.CreateMicrosoftADRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateMicrosoftADResult) => void): Request; - /** - * Creates a Microsoft AD in the AWS cloud. Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. - */ - createMicrosoftAD(callback?: (err: AWSError, data: DirectoryService.Types.CreateMicrosoftADResult) => void): Request; - /** - * Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud. You cannot take snapshots of AD Connector directories. - */ - createSnapshot(params: DirectoryService.Types.CreateSnapshotRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateSnapshotResult) => void): Request; - /** - * Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud. You cannot take snapshots of AD Connector directories. - */ - createSnapshot(callback?: (err: AWSError, data: DirectoryService.Types.CreateSnapshotResult) => void): Request; - /** - * AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials. This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain. - */ - createTrust(params: DirectoryService.Types.CreateTrustRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateTrustResult) => void): Request; - /** - * AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials. This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain. - */ - createTrust(callback?: (err: AWSError, data: DirectoryService.Types.CreateTrustResult) => void): Request; - /** - * Deletes a conditional forwarder that has been set up for your AWS directory. - */ - deleteConditionalForwarder(params: DirectoryService.Types.DeleteConditionalForwarderRequest, callback?: (err: AWSError, data: DirectoryService.Types.DeleteConditionalForwarderResult) => void): Request; - /** - * Deletes a conditional forwarder that has been set up for your AWS directory. - */ - deleteConditionalForwarder(callback?: (err: AWSError, data: DirectoryService.Types.DeleteConditionalForwarderResult) => void): Request; - /** - * Deletes an AWS Directory Service directory. Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. - */ - deleteDirectory(params: DirectoryService.Types.DeleteDirectoryRequest, callback?: (err: AWSError, data: DirectoryService.Types.DeleteDirectoryResult) => void): Request; - /** - * Deletes an AWS Directory Service directory. Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. - */ - deleteDirectory(callback?: (err: AWSError, data: DirectoryService.Types.DeleteDirectoryResult) => void): Request; - /** - * Deletes a directory snapshot. - */ - deleteSnapshot(params: DirectoryService.Types.DeleteSnapshotRequest, callback?: (err: AWSError, data: DirectoryService.Types.DeleteSnapshotResult) => void): Request; - /** - * Deletes a directory snapshot. - */ - deleteSnapshot(callback?: (err: AWSError, data: DirectoryService.Types.DeleteSnapshotResult) => void): Request; - /** - * Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain. - */ - deleteTrust(params: DirectoryService.Types.DeleteTrustRequest, callback?: (err: AWSError, data: DirectoryService.Types.DeleteTrustResult) => void): Request; - /** - * Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain. - */ - deleteTrust(callback?: (err: AWSError, data: DirectoryService.Types.DeleteTrustResult) => void): Request; - /** - * Removes the specified directory as a publisher to the specified SNS topic. - */ - deregisterEventTopic(params: DirectoryService.Types.DeregisterEventTopicRequest, callback?: (err: AWSError, data: DirectoryService.Types.DeregisterEventTopicResult) => void): Request; - /** - * Removes the specified directory as a publisher to the specified SNS topic. - */ - deregisterEventTopic(callback?: (err: AWSError, data: DirectoryService.Types.DeregisterEventTopicResult) => void): Request; - /** - * Obtains information about the conditional forwarders for this account. If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID. - */ - describeConditionalForwarders(params: DirectoryService.Types.DescribeConditionalForwardersRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeConditionalForwardersResult) => void): Request; - /** - * Obtains information about the conditional forwarders for this account. If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID. - */ - describeConditionalForwarders(callback?: (err: AWSError, data: DirectoryService.Types.DescribeConditionalForwardersResult) => void): Request; - /** - * Obtains information about the directories that belong to this account. You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds parameter. Otherwise, all directories that belong to the current account are returned. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items. You can also specify a maximum number of return results with the Limit parameter. - */ - describeDirectories(params: DirectoryService.Types.DescribeDirectoriesRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeDirectoriesResult) => void): Request; - /** - * Obtains information about the directories that belong to this account. You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds parameter. Otherwise, all directories that belong to the current account are returned. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items. You can also specify a maximum number of return results with the Limit parameter. - */ - describeDirectories(callback?: (err: AWSError, data: DirectoryService.Types.DescribeDirectoriesResult) => void): Request; - /** - * Provides information about any domain controllers in your directory. - */ - describeDomainControllers(params: DirectoryService.Types.DescribeDomainControllersRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeDomainControllersResult) => void): Request; - /** - * Provides information about any domain controllers in your directory. - */ - describeDomainControllers(callback?: (err: AWSError, data: DirectoryService.Types.DescribeDomainControllersResult) => void): Request; - /** - * Obtains information about which SNS topics receive status messages from the specified directory. If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account. - */ - describeEventTopics(params: DirectoryService.Types.DescribeEventTopicsRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeEventTopicsResult) => void): Request; - /** - * Obtains information about which SNS topics receive status messages from the specified directory. If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account. - */ - describeEventTopics(callback?: (err: AWSError, data: DirectoryService.Types.DescribeEventTopicsResult) => void): Request; - /** - * Obtains information about the directory snapshots that belong to this account. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeSnapshots.NextToken member contains a token that you pass in the next call to DescribeSnapshots to retrieve the next set of items. You can also specify a maximum number of return results with the Limit parameter. - */ - describeSnapshots(params: DirectoryService.Types.DescribeSnapshotsRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeSnapshotsResult) => void): Request; - /** - * Obtains information about the directory snapshots that belong to this account. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeSnapshots.NextToken member contains a token that you pass in the next call to DescribeSnapshots to retrieve the next set of items. You can also specify a maximum number of return results with the Limit parameter. - */ - describeSnapshots(callback?: (err: AWSError, data: DirectoryService.Types.DescribeSnapshotsResult) => void): Request; - /** - * Obtains information about the trust relationships for this account. If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account. - */ - describeTrusts(params: DirectoryService.Types.DescribeTrustsRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeTrustsResult) => void): Request; - /** - * Obtains information about the trust relationships for this account. If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account. - */ - describeTrusts(callback?: (err: AWSError, data: DirectoryService.Types.DescribeTrustsResult) => void): Request; - /** - * Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory. - */ - disableRadius(params: DirectoryService.Types.DisableRadiusRequest, callback?: (err: AWSError, data: DirectoryService.Types.DisableRadiusResult) => void): Request; - /** - * Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory. - */ - disableRadius(callback?: (err: AWSError, data: DirectoryService.Types.DisableRadiusResult) => void): Request; - /** - * Disables single-sign on for a directory. - */ - disableSso(params: DirectoryService.Types.DisableSsoRequest, callback?: (err: AWSError, data: DirectoryService.Types.DisableSsoResult) => void): Request; - /** - * Disables single-sign on for a directory. - */ - disableSso(callback?: (err: AWSError, data: DirectoryService.Types.DisableSsoResult) => void): Request; - /** - * Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory. - */ - enableRadius(params: DirectoryService.Types.EnableRadiusRequest, callback?: (err: AWSError, data: DirectoryService.Types.EnableRadiusResult) => void): Request; - /** - * Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory. - */ - enableRadius(callback?: (err: AWSError, data: DirectoryService.Types.EnableRadiusResult) => void): Request; - /** - * Enables single sign-on for a directory. - */ - enableSso(params: DirectoryService.Types.EnableSsoRequest, callback?: (err: AWSError, data: DirectoryService.Types.EnableSsoResult) => void): Request; - /** - * Enables single sign-on for a directory. - */ - enableSso(callback?: (err: AWSError, data: DirectoryService.Types.EnableSsoResult) => void): Request; - /** - * Obtains directory limit information for the current region. - */ - getDirectoryLimits(params: DirectoryService.Types.GetDirectoryLimitsRequest, callback?: (err: AWSError, data: DirectoryService.Types.GetDirectoryLimitsResult) => void): Request; - /** - * Obtains directory limit information for the current region. - */ - getDirectoryLimits(callback?: (err: AWSError, data: DirectoryService.Types.GetDirectoryLimitsResult) => void): Request; - /** - * Obtains the manual snapshot limits for a directory. - */ - getSnapshotLimits(params: DirectoryService.Types.GetSnapshotLimitsRequest, callback?: (err: AWSError, data: DirectoryService.Types.GetSnapshotLimitsResult) => void): Request; - /** - * Obtains the manual snapshot limits for a directory. - */ - getSnapshotLimits(callback?: (err: AWSError, data: DirectoryService.Types.GetSnapshotLimitsResult) => void): Request; - /** - * Lists the address blocks that you have added to a directory. - */ - listIpRoutes(params: DirectoryService.Types.ListIpRoutesRequest, callback?: (err: AWSError, data: DirectoryService.Types.ListIpRoutesResult) => void): Request; - /** - * Lists the address blocks that you have added to a directory. - */ - listIpRoutes(callback?: (err: AWSError, data: DirectoryService.Types.ListIpRoutesResult) => void): Request; - /** - * Lists all schema extensions applied to a Microsoft AD Directory. - */ - listSchemaExtensions(params: DirectoryService.Types.ListSchemaExtensionsRequest, callback?: (err: AWSError, data: DirectoryService.Types.ListSchemaExtensionsResult) => void): Request; - /** - * Lists all schema extensions applied to a Microsoft AD Directory. - */ - listSchemaExtensions(callback?: (err: AWSError, data: DirectoryService.Types.ListSchemaExtensionsResult) => void): Request; - /** - * Lists all tags on a directory. - */ - listTagsForResource(params: DirectoryService.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: DirectoryService.Types.ListTagsForResourceResult) => void): Request; - /** - * Lists all tags on a directory. - */ - listTagsForResource(callback?: (err: AWSError, data: DirectoryService.Types.ListTagsForResourceResult) => void): Request; - /** - * Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status. - */ - registerEventTopic(params: DirectoryService.Types.RegisterEventTopicRequest, callback?: (err: AWSError, data: DirectoryService.Types.RegisterEventTopicResult) => void): Request; - /** - * Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status. - */ - registerEventTopic(callback?: (err: AWSError, data: DirectoryService.Types.RegisterEventTopicResult) => void): Request; - /** - * Removes IP address blocks from a directory. - */ - removeIpRoutes(params: DirectoryService.Types.RemoveIpRoutesRequest, callback?: (err: AWSError, data: DirectoryService.Types.RemoveIpRoutesResult) => void): Request; - /** - * Removes IP address blocks from a directory. - */ - removeIpRoutes(callback?: (err: AWSError, data: DirectoryService.Types.RemoveIpRoutesResult) => void): Request; - /** - * Removes tags from a directory. - */ - removeTagsFromResource(params: DirectoryService.Types.RemoveTagsFromResourceRequest, callback?: (err: AWSError, data: DirectoryService.Types.RemoveTagsFromResourceResult) => void): Request; - /** - * Removes tags from a directory. - */ - removeTagsFromResource(callback?: (err: AWSError, data: DirectoryService.Types.RemoveTagsFromResourceResult) => void): Request; - /** - * Restores a directory using an existing directory snapshot. When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten. This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to Active, the restore operation is complete. - */ - restoreFromSnapshot(params: DirectoryService.Types.RestoreFromSnapshotRequest, callback?: (err: AWSError, data: DirectoryService.Types.RestoreFromSnapshotResult) => void): Request; - /** - * Restores a directory using an existing directory snapshot. When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten. This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to Active, the restore operation is complete. - */ - restoreFromSnapshot(callback?: (err: AWSError, data: DirectoryService.Types.RestoreFromSnapshotResult) => void): Request; - /** - * Applies a schema extension to a Microsoft AD directory. - */ - startSchemaExtension(params: DirectoryService.Types.StartSchemaExtensionRequest, callback?: (err: AWSError, data: DirectoryService.Types.StartSchemaExtensionResult) => void): Request; - /** - * Applies a schema extension to a Microsoft AD directory. - */ - startSchemaExtension(callback?: (err: AWSError, data: DirectoryService.Types.StartSchemaExtensionResult) => void): Request; - /** - * Updates a conditional forwarder that has been set up for your AWS directory. - */ - updateConditionalForwarder(params: DirectoryService.Types.UpdateConditionalForwarderRequest, callback?: (err: AWSError, data: DirectoryService.Types.UpdateConditionalForwarderResult) => void): Request; - /** - * Updates a conditional forwarder that has been set up for your AWS directory. - */ - updateConditionalForwarder(callback?: (err: AWSError, data: DirectoryService.Types.UpdateConditionalForwarderResult) => void): Request; - /** - * Adds or removes domain controllers to or from the directory. Based on the difference between current value and new value (provided through this API call), domain controllers will be added or removed. It may take up to 45 minutes for any new domain controllers to become fully active once the requested number of domain controllers is updated. During this time, you cannot make another update request. - */ - updateNumberOfDomainControllers(params: DirectoryService.Types.UpdateNumberOfDomainControllersRequest, callback?: (err: AWSError, data: DirectoryService.Types.UpdateNumberOfDomainControllersResult) => void): Request; - /** - * Adds or removes domain controllers to or from the directory. Based on the difference between current value and new value (provided through this API call), domain controllers will be added or removed. It may take up to 45 minutes for any new domain controllers to become fully active once the requested number of domain controllers is updated. During this time, you cannot make another update request. - */ - updateNumberOfDomainControllers(callback?: (err: AWSError, data: DirectoryService.Types.UpdateNumberOfDomainControllersResult) => void): Request; - /** - * Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory. - */ - updateRadius(params: DirectoryService.Types.UpdateRadiusRequest, callback?: (err: AWSError, data: DirectoryService.Types.UpdateRadiusResult) => void): Request; - /** - * Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory. - */ - updateRadius(callback?: (err: AWSError, data: DirectoryService.Types.UpdateRadiusResult) => void): Request; - /** - * AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships. This action verifies a trust relationship between your Microsoft AD in the AWS cloud and an external domain. - */ - verifyTrust(params: DirectoryService.Types.VerifyTrustRequest, callback?: (err: AWSError, data: DirectoryService.Types.VerifyTrustResult) => void): Request; - /** - * AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships. This action verifies a trust relationship between your Microsoft AD in the AWS cloud and an external domain. - */ - verifyTrust(callback?: (err: AWSError, data: DirectoryService.Types.VerifyTrustResult) => void): Request; -} -declare namespace DirectoryService { - export type AccessUrl = string; - export interface AddIpRoutesRequest { - /** - * Identifier (ID) of the directory to which to add the address block. - */ - DirectoryId: DirectoryId; - /** - * IP address blocks, using CIDR format, of the traffic to route. This is often the IP address block of the DNS server used for your on-premises domain. - */ - IpRoutes: IpRoutes; - /** - * If set to true, updates the inbound and outbound rules of the security group that has the description: "AWS created security group for directory ID directory controllers." Following are the new rules: Inbound: Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0 Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0 Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0 Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0 Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0 Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source: 0.0.0.0/0 Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0 Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0 Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0 Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0 Outbound: Type: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0 These security rules impact an internal network interface that is not exposed publicly. - */ - UpdateSecurityGroupForDirectoryControllers?: UpdateSecurityGroupForDirectoryControllers; - } - export interface AddIpRoutesResult { - } - export interface AddTagsToResourceRequest { - /** - * Identifier (ID) for the directory to which to add the tag. - */ - ResourceId: ResourceId; - /** - * The tags to be assigned to the directory. - */ - Tags: Tags; - } - export interface AddTagsToResourceResult { - } - export type AddedDateTime = Date; - export type AliasName = string; - export interface Attribute { - /** - * The name of the attribute. - */ - Name?: AttributeName; - /** - * The value of the attribute. - */ - Value?: AttributeValue; - } - export type AttributeName = string; - export type AttributeValue = string; - export type Attributes = Attribute[]; - export type AvailabilityZone = string; - export type AvailabilityZones = AvailabilityZone[]; - export interface CancelSchemaExtensionRequest { - /** - * The identifier of the directory whose schema extension will be canceled. - */ - DirectoryId: DirectoryId; - /** - * The identifier of the schema extension that will be canceled. - */ - SchemaExtensionId: SchemaExtensionId; - } - export interface CancelSchemaExtensionResult { - } - export type CidrIp = string; - export type CidrIps = CidrIp[]; - export type CloudOnlyDirectoriesLimitReached = boolean; - export interface Computer { - /** - * The identifier of the computer. - */ - ComputerId?: SID; - /** - * The computer name. - */ - ComputerName?: ComputerName; - /** - * An array of Attribute objects containing the LDAP attributes that belong to the computer account. - */ - ComputerAttributes?: Attributes; - } - export type ComputerName = string; - export type ComputerPassword = string; - export interface ConditionalForwarder { - /** - * The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder. - */ - RemoteDomainName?: RemoteDomainName; - /** - * The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to. - */ - DnsIpAddrs?: DnsIpAddrs; - /** - * The replication scope of the conditional forwarder. The only allowed value is Domain, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory. - */ - ReplicationScope?: ReplicationScope; - } - export type ConditionalForwarders = ConditionalForwarder[]; - export interface ConnectDirectoryRequest { - /** - * The fully-qualified name of the on-premises directory, such as corp.example.com. - */ - Name: DirectoryName; - /** - * The NetBIOS name of the on-premises directory, such as CORP. - */ - ShortName?: DirectoryShortName; - /** - * The password for the on-premises user account. - */ - Password: ConnectPassword; - /** - * A textual description for the directory. - */ - Description?: Description; - /** - * The size of the directory. - */ - Size: DirectorySize; - /** - * A DirectoryConnectSettings object that contains additional information for the operation. - */ - ConnectSettings: DirectoryConnectSettings; - } - export interface ConnectDirectoryResult { - /** - * The identifier of the new directory. - */ - DirectoryId?: DirectoryId; - } - export type ConnectPassword = string; - export type ConnectedDirectoriesLimitReached = boolean; - export interface CreateAliasRequest { - /** - * The identifier of the directory for which to create the alias. - */ - DirectoryId: DirectoryId; - /** - * The requested alias. The alias must be unique amongst all aliases in AWS. This operation throws an EntityAlreadyExistsException error if the alias already exists. - */ - Alias: AliasName; - } - export interface CreateAliasResult { - /** - * The identifier of the directory. - */ - DirectoryId?: DirectoryId; - /** - * The alias for the directory. - */ - Alias?: AliasName; - } - export interface CreateComputerRequest { - /** - * The identifier of the directory in which to create the computer account. - */ - DirectoryId: DirectoryId; - /** - * The name of the computer account. - */ - ComputerName: ComputerName; - /** - * A one-time password that is used to join the computer to the directory. You should generate a random, strong password to use for this parameter. - */ - Password: ComputerPassword; - /** - * The fully-qualified distinguished name of the organizational unit to place the computer account in. - */ - OrganizationalUnitDistinguishedName?: OrganizationalUnitDN; - /** - * An array of Attribute objects that contain any LDAP attributes to apply to the computer account. - */ - ComputerAttributes?: Attributes; - } - export interface CreateComputerResult { - /** - * A Computer object that represents the computer account. - */ - Computer?: Computer; - } - export interface CreateConditionalForwarderRequest { - /** - * The directory ID of the AWS directory for which you are creating the conditional forwarder. - */ - DirectoryId: DirectoryId; - /** - * The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship. - */ - RemoteDomainName: RemoteDomainName; - /** - * The IP addresses of the remote DNS server associated with RemoteDomainName. - */ - DnsIpAddrs: DnsIpAddrs; - } - export interface CreateConditionalForwarderResult { - } - export interface CreateDirectoryRequest { - /** - * The fully qualified name for the directory, such as corp.example.com. - */ - Name: DirectoryName; - /** - * The short name of the directory, such as CORP. - */ - ShortName?: DirectoryShortName; - /** - * The password for the directory administrator. The directory creation process creates a directory administrator account with the username Administrator and this password. - */ - Password: Password; - /** - * A textual description for the directory. - */ - Description?: Description; - /** - * The size of the directory. - */ - Size: DirectorySize; - /** - * A DirectoryVpcSettings object that contains additional information for the operation. - */ - VpcSettings?: DirectoryVpcSettings; - } - export interface CreateDirectoryResult { - /** - * The identifier of the directory that was created. - */ - DirectoryId?: DirectoryId; - } - export interface CreateMicrosoftADRequest { - /** - * The fully qualified domain name for the directory, such as corp.example.com. This name will resolve inside your VPC only. It does not need to be publicly resolvable. - */ - Name: DirectoryName; - /** - * The NetBIOS name for your domain. A short identifier for your domain, such as CORP. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example, CORP for the directory DNS corp.example.com. - */ - ShortName?: DirectoryShortName; - /** - * The password for the default administrative user named Admin. - */ - Password: Password; - /** - * A textual description for the directory. This label will appear on the AWS console Directory Details page after the directory is created. - */ - Description?: Description; - /** - * Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation. - */ - VpcSettings: DirectoryVpcSettings; - } - export interface CreateMicrosoftADResult { - /** - * The identifier of the directory that was created. - */ - DirectoryId?: DirectoryId; - } - export type CreateSnapshotBeforeSchemaExtension = boolean; - export interface CreateSnapshotRequest { - /** - * The identifier of the directory of which to take a snapshot. - */ - DirectoryId: DirectoryId; - /** - * The descriptive name to apply to the snapshot. - */ - Name?: SnapshotName; - } - export interface CreateSnapshotResult { - /** - * The identifier of the snapshot that was created. - */ - SnapshotId?: SnapshotId; - } - export interface CreateTrustRequest { - /** - * The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship. - */ - DirectoryId: DirectoryId; - /** - * The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship. - */ - RemoteDomainName: RemoteDomainName; - /** - * The trust password. The must be the same password that was used when creating the trust relationship on the external domain. - */ - TrustPassword: TrustPassword; - /** - * The direction of the trust relationship. - */ - TrustDirection: TrustDirection; - /** - * The trust relationship type. - */ - TrustType?: TrustType; - /** - * The IP addresses of the remote DNS server associated with RemoteDomainName. - */ - ConditionalForwarderIpAddrs?: DnsIpAddrs; - } - export interface CreateTrustResult { - /** - * A unique identifier for the trust relationship that was created. - */ - TrustId?: TrustId; - } - export type CreatedDateTime = Date; - export type DeleteAssociatedConditionalForwarder = boolean; - export interface DeleteConditionalForwarderRequest { - /** - * The directory ID for which you are deleting the conditional forwarder. - */ - DirectoryId: DirectoryId; - /** - * The fully qualified domain name (FQDN) of the remote domain with which you are deleting the conditional forwarder. - */ - RemoteDomainName: RemoteDomainName; - } - export interface DeleteConditionalForwarderResult { - } - export interface DeleteDirectoryRequest { - /** - * The identifier of the directory to delete. - */ - DirectoryId: DirectoryId; - } - export interface DeleteDirectoryResult { - /** - * The directory identifier. - */ - DirectoryId?: DirectoryId; - } - export interface DeleteSnapshotRequest { - /** - * The identifier of the directory snapshot to be deleted. - */ - SnapshotId: SnapshotId; - } - export interface DeleteSnapshotResult { - /** - * The identifier of the directory snapshot that was deleted. - */ - SnapshotId?: SnapshotId; - } - export interface DeleteTrustRequest { - /** - * The Trust ID of the trust relationship to be deleted. - */ - TrustId: TrustId; - /** - * Delete a conditional forwarder as part of a DeleteTrustRequest. - */ - DeleteAssociatedConditionalForwarder?: DeleteAssociatedConditionalForwarder; - } - export interface DeleteTrustResult { - /** - * The Trust ID of the trust relationship that was deleted. - */ - TrustId?: TrustId; - } - export interface DeregisterEventTopicRequest { - /** - * The Directory ID to remove as a publisher. This directory will no longer send messages to the specified SNS topic. - */ - DirectoryId: DirectoryId; - /** - * The name of the SNS topic from which to remove the directory as a publisher. - */ - TopicName: TopicName; - } - export interface DeregisterEventTopicResult { - } - export interface DescribeConditionalForwardersRequest { - /** - * The directory ID for which to get the list of associated conditional forwarders. - */ - DirectoryId: DirectoryId; - /** - * The fully qualified domain names (FQDN) of the remote domains for which to get the list of associated conditional forwarders. If this member is null, all conditional forwarders are returned. - */ - RemoteDomainNames?: RemoteDomainNames; - } - export interface DescribeConditionalForwardersResult { - /** - * The list of conditional forwarders that have been created. - */ - ConditionalForwarders?: ConditionalForwarders; - } - export interface DescribeDirectoriesRequest { - /** - * A list of identifiers of the directories for which to obtain the information. If this member is null, all directories that belong to the current account are returned. An empty list results in an InvalidParameterException being thrown. - */ - DirectoryIds?: DirectoryIds; - /** - * The DescribeDirectoriesResult.NextToken value from a previous call to DescribeDirectories. Pass null if this is the first call. - */ - NextToken?: NextToken; - /** - * The maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation. - */ - Limit?: Limit; - } - export interface DescribeDirectoriesResult { - /** - * The list of DirectoryDescription objects that were retrieved. It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded. - */ - DirectoryDescriptions?: DirectoryDescriptions; - /** - * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeDirectories to retrieve the next set of items. - */ - NextToken?: NextToken; - } - export interface DescribeDomainControllersRequest { - /** - * Identifier of the directory for which to retrieve the domain controller information. - */ - DirectoryId: DirectoryId; - /** - * A list of identifiers for the domain controllers whose information will be provided. - */ - DomainControllerIds?: DomainControllerIds; - /** - * The DescribeDomainControllers.NextToken value from a previous call to DescribeDomainControllers. Pass null if this is the first call. - */ - NextToken?: NextToken; - /** - * The maximum number of items to return. - */ - Limit?: Limit; - } - export interface DescribeDomainControllersResult { - /** - * List of the DomainController objects that were retrieved. - */ - DomainControllers?: DomainControllers; - /** - * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeDomainControllers retrieve the next set of items. - */ - NextToken?: NextToken; - } - export interface DescribeEventTopicsRequest { - /** - * The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned. - */ - DirectoryId?: DirectoryId; - /** - * A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned. An empty list results in an InvalidParameterException being thrown. - */ - TopicNames?: TopicNames; - } - export interface DescribeEventTopicsResult { - /** - * A list of SNS topic names that receive status messages from the specified Directory ID. - */ - EventTopics?: EventTopics; - } - export interface DescribeSnapshotsRequest { - /** - * The identifier of the directory for which to retrieve snapshot information. - */ - DirectoryId?: DirectoryId; - /** - * A list of identifiers of the snapshots to obtain the information for. If this member is null or empty, all snapshots are returned using the Limit and NextToken members. - */ - SnapshotIds?: SnapshotIds; - /** - * The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots. Pass null if this is the first call. - */ - NextToken?: NextToken; - /** - * The maximum number of objects to return. - */ - Limit?: Limit; - } - export interface DescribeSnapshotsResult { - /** - * The list of Snapshot objects that were retrieved. It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded. - */ - Snapshots?: Snapshots; - /** - * If not null, more results are available. Pass this value in the NextToken member of a subsequent call to DescribeSnapshots. - */ - NextToken?: NextToken; - } - export interface DescribeTrustsRequest { - /** - * The Directory ID of the AWS directory that is a part of the requested trust relationship. - */ - DirectoryId?: DirectoryId; - /** - * A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned. An empty list results in an InvalidParameterException being thrown. - */ - TrustIds?: TrustIds; - /** - * The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call. - */ - NextToken?: NextToken; - /** - * The maximum number of objects to return. - */ - Limit?: Limit; - } - export interface DescribeTrustsResult { - /** - * The list of Trust objects that were retrieved. It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded. - */ - Trusts?: Trusts; - /** - * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeTrusts to retrieve the next set of items. - */ - NextToken?: NextToken; - } - export type Description = string; - export type DesiredNumberOfDomainControllers = number; - export interface DirectoryConnectSettings { - /** - * The identifier of the VPC in which the AD Connector is created. - */ - VpcId: VpcId; - /** - * A list of subnet identifiers in the VPC in which the AD Connector is created. - */ - SubnetIds: SubnetIds; - /** - * A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory. - */ - CustomerDnsIps: DnsIpAddrs; - /** - * The username of an account in the on-premises directory that is used to connect to the directory. This account must have the following privileges: Read users and groups Create computer objects Join computers to the domain - */ - CustomerUserName: UserName; - } - export interface DirectoryConnectSettingsDescription { - /** - * The identifier of the VPC that the AD Connector is in. - */ - VpcId?: VpcId; - /** - * A list of subnet identifiers in the VPC that the AD connector is in. - */ - SubnetIds?: SubnetIds; - /** - * The username of the service account in the on-premises directory. - */ - CustomerUserName?: UserName; - /** - * The security group identifier for the AD Connector directory. - */ - SecurityGroupId?: SecurityGroupId; - /** - * A list of the Availability Zones that the directory is in. - */ - AvailabilityZones?: AvailabilityZones; - /** - * The IP addresses of the AD Connector servers. - */ - ConnectIps?: IpAddrs; - } - export interface DirectoryDescription { - /** - * The directory identifier. - */ - DirectoryId?: DirectoryId; - /** - * The fully-qualified name of the directory. - */ - Name?: DirectoryName; - /** - * The short name of the directory. - */ - ShortName?: DirectoryShortName; - /** - * The directory size. - */ - Size?: DirectorySize; - /** - * The alias for the directory. If no alias has been created for the directory, the alias is the directory identifier, such as d-XXXXXXXXXX. - */ - Alias?: AliasName; - /** - * The access URL for the directory, such as http://<alias>.awsapps.com. If no alias has been created for the directory, <alias> is the directory identifier, such as d-XXXXXXXXXX. - */ - AccessUrl?: AccessUrl; - /** - * The textual description for the directory. - */ - Description?: Description; - /** - * The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these are the IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, these are the IP addresses of the DNS servers or domain controllers in the on-premises directory to which the AD Connector is connected. - */ - DnsIpAddrs?: DnsIpAddrs; - /** - * The current stage of the directory. - */ - Stage?: DirectoryStage; - /** - * Specifies when the directory was created. - */ - LaunchTime?: LaunchTime; - /** - * The date and time that the stage was last updated. - */ - StageLastUpdatedDateTime?: LastUpdatedDateTime; - /** - * The directory size. - */ - Type?: DirectoryType; - /** - * A DirectoryVpcSettingsDescription object that contains additional information about a directory. This member is only present if the directory is a Simple AD or Managed AD directory. - */ - VpcSettings?: DirectoryVpcSettingsDescription; - /** - * A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector directory. This member is only present if the directory is an AD Connector directory. - */ - ConnectSettings?: DirectoryConnectSettingsDescription; - /** - * A RadiusSettings object that contains information about the RADIUS server configured for this directory. - */ - RadiusSettings?: RadiusSettings; - /** - * The status of the RADIUS MFA server connection. - */ - RadiusStatus?: RadiusStatus; - /** - * Additional information about the directory stage. - */ - StageReason?: StageReason; - /** - * Indicates if single-sign on is enabled for the directory. For more information, see EnableSso and DisableSso. - */ - SsoEnabled?: SsoEnabled; - /** - * The desired number of domain controllers in the directory if the directory is Microsoft AD. - */ - DesiredNumberOfDomainControllers?: DesiredNumberOfDomainControllers; - } - export type DirectoryDescriptions = DirectoryDescription[]; - export type DirectoryId = string; - export type DirectoryIds = DirectoryId[]; - export interface DirectoryLimits { - /** - * The maximum number of cloud directories allowed in the region. - */ - CloudOnlyDirectoriesLimit?: Limit; - /** - * The current number of cloud directories in the region. - */ - CloudOnlyDirectoriesCurrentCount?: Limit; - /** - * Indicates if the cloud directory limit has been reached. - */ - CloudOnlyDirectoriesLimitReached?: CloudOnlyDirectoriesLimitReached; - /** - * The maximum number of Microsoft AD directories allowed in the region. - */ - CloudOnlyMicrosoftADLimit?: Limit; - /** - * The current number of Microsoft AD directories in the region. - */ - CloudOnlyMicrosoftADCurrentCount?: Limit; - /** - * Indicates if the Microsoft AD directory limit has been reached. - */ - CloudOnlyMicrosoftADLimitReached?: CloudOnlyDirectoriesLimitReached; - /** - * The maximum number of connected directories allowed in the region. - */ - ConnectedDirectoriesLimit?: Limit; - /** - * The current number of connected directories in the region. - */ - ConnectedDirectoriesCurrentCount?: Limit; - /** - * Indicates if the connected directory limit has been reached. - */ - ConnectedDirectoriesLimitReached?: ConnectedDirectoriesLimitReached; - } - export type DirectoryName = string; - export type DirectoryShortName = string; - export type DirectorySize = "Small"|"Large"|string; - export type DirectoryStage = "Requested"|"Creating"|"Created"|"Active"|"Inoperable"|"Impaired"|"Restoring"|"RestoreFailed"|"Deleting"|"Deleted"|"Failed"|string; - export type DirectoryType = "SimpleAD"|"ADConnector"|"MicrosoftAD"|string; - export interface DirectoryVpcSettings { - /** - * The identifier of the VPC in which to create the directory. - */ - VpcId: VpcId; - /** - * The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets. - */ - SubnetIds: SubnetIds; - } - export interface DirectoryVpcSettingsDescription { - /** - * The identifier of the VPC that the directory is in. - */ - VpcId?: VpcId; - /** - * The identifiers of the subnets for the directory servers. - */ - SubnetIds?: SubnetIds; - /** - * The security group identifier for the directory. If the directory was created before 8/1/2014, this is the identifier of the directory members security group that was created when the directory was created. If the directory was created after this date, this value is null. - */ - SecurityGroupId?: SecurityGroupId; - /** - * The list of Availability Zones that the directory is in. - */ - AvailabilityZones?: AvailabilityZones; - } - export interface DisableRadiusRequest { - /** - * The identifier of the directory for which to disable MFA. - */ - DirectoryId: DirectoryId; - } - export interface DisableRadiusResult { - } - export interface DisableSsoRequest { - /** - * The identifier of the directory for which to disable single-sign on. - */ - DirectoryId: DirectoryId; - /** - * The username of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. This account must have privileges to remove a service principal name. If the AD Connector service account does not have privileges to remove a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to disable single sign-on and are not stored by the service. The AD Connector service account is not changed. - */ - UserName?: UserName; - /** - * The password of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter. - */ - Password?: ConnectPassword; - } - export interface DisableSsoResult { - } - export type DnsIpAddrs = IpAddr[]; - export interface DomainController { - /** - * Identifier of the directory where the domain controller resides. - */ - DirectoryId?: DirectoryId; - /** - * Identifies a specific domain controller in the directory. - */ - DomainControllerId?: DomainControllerId; - /** - * The IP address of the domain controller. - */ - DnsIpAddr?: IpAddr; - /** - * The identifier of the VPC that contains the domain controller. - */ - VpcId?: VpcId; - /** - * Identifier of the subnet in the VPC that contains the domain controller. - */ - SubnetId?: SubnetId; - /** - * The Availability Zone where the domain controller is located. - */ - AvailabilityZone?: AvailabilityZone; - /** - * The status of the domain controller. - */ - Status?: DomainControllerStatus; - /** - * A description of the domain controller state. - */ - StatusReason?: DomainControllerStatusReason; - /** - * Specifies when the domain controller was created. - */ - LaunchTime?: LaunchTime; - /** - * The date and time that the status was last updated. - */ - StatusLastUpdatedDateTime?: LastUpdatedDateTime; - } - export type DomainControllerId = string; - export type DomainControllerIds = DomainControllerId[]; - export type DomainControllerStatus = "Creating"|"Active"|"Impaired"|"Restoring"|"Deleting"|"Deleted"|"Failed"|string; - export type DomainControllerStatusReason = string; - export type DomainControllers = DomainController[]; - export interface EnableRadiusRequest { - /** - * The identifier of the directory for which to enable MFA. - */ - DirectoryId: DirectoryId; - /** - * A RadiusSettings object that contains information about the RADIUS server. - */ - RadiusSettings: RadiusSettings; - } - export interface EnableRadiusResult { - } - export interface EnableSsoRequest { - /** - * The identifier of the directory for which to enable single-sign on. - */ - DirectoryId: DirectoryId; - /** - * The username of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. This account must have privileges to add a service principal name. If the AD Connector service account does not have privileges to add a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to enable single sign-on and are not stored by the service. The AD Connector service account is not changed. - */ - UserName?: UserName; - /** - * The password of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter. - */ - Password?: ConnectPassword; - } - export interface EnableSsoResult { - } - export type EndDateTime = Date; - export interface EventTopic { - /** - * The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic. - */ - DirectoryId?: DirectoryId; - /** - * The name of an AWS SNS topic the receives status messages from the directory. - */ - TopicName?: TopicName; - /** - * The SNS topic ARN (Amazon Resource Name). - */ - TopicArn?: TopicArn; - /** - * The date and time of when you associated your directory with the SNS topic. - */ - CreatedDateTime?: CreatedDateTime; - /** - * The topic registration status. - */ - Status?: TopicStatus; - } - export type EventTopics = EventTopic[]; - export type ExceptionMessage = string; - export interface GetDirectoryLimitsRequest { - } - export interface GetDirectoryLimitsResult { - /** - * A DirectoryLimits object that contains the directory limits for the current region. - */ - DirectoryLimits?: DirectoryLimits; - } - export interface GetSnapshotLimitsRequest { - /** - * Contains the identifier of the directory to obtain the limits for. - */ - DirectoryId: DirectoryId; - } - export interface GetSnapshotLimitsResult { - /** - * A SnapshotLimits object that contains the manual snapshot limits for the specified directory. - */ - SnapshotLimits?: SnapshotLimits; - } - export type IpAddr = string; - export type IpAddrs = IpAddr[]; - export interface IpRoute { - /** - * IP address block using CIDR format, for example 10.0.0.0/24. This is often the address block of the DNS server used for your on-premises domain. For a single IP address use a CIDR address block with /32. For example 10.0.0.0/32. - */ - CidrIp?: CidrIp; - /** - * Description of the address block. - */ - Description?: Description; - } - export interface IpRouteInfo { - /** - * Identifier (ID) of the directory associated with the IP addresses. - */ - DirectoryId?: DirectoryId; - /** - * IP address block in the IpRoute. - */ - CidrIp?: CidrIp; - /** - * The status of the IP address block. - */ - IpRouteStatusMsg?: IpRouteStatusMsg; - /** - * The date and time the address block was added to the directory. - */ - AddedDateTime?: AddedDateTime; - /** - * The reason for the IpRouteStatusMsg. - */ - IpRouteStatusReason?: IpRouteStatusReason; - /** - * Description of the IpRouteInfo. - */ - Description?: Description; - } - export type IpRouteStatusMsg = "Adding"|"Added"|"Removing"|"Removed"|"AddFailed"|"RemoveFailed"|string; - export type IpRouteStatusReason = string; - export type IpRoutes = IpRoute[]; - export type IpRoutesInfo = IpRouteInfo[]; - export type LastUpdatedDateTime = Date; - export type LaunchTime = Date; - export type LdifContent = string; - export type Limit = number; - export interface ListIpRoutesRequest { - /** - * Identifier (ID) of the directory for which you want to retrieve the IP addresses. - */ - DirectoryId: DirectoryId; - /** - * The ListIpRoutes.NextToken value from a previous call to ListIpRoutes. Pass null if this is the first call. - */ - NextToken?: NextToken; - /** - * Maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation. - */ - Limit?: Limit; - } - export interface ListIpRoutesResult { - /** - * A list of IpRoutes. - */ - IpRoutesInfo?: IpRoutesInfo; - /** - * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to ListIpRoutes to retrieve the next set of items. - */ - NextToken?: NextToken; - } - export interface ListSchemaExtensionsRequest { - /** - * The identifier of the directory from which to retrieve the schema extension information. - */ - DirectoryId: DirectoryId; - /** - * The ListSchemaExtensions.NextToken value from a previous call to ListSchemaExtensions. Pass null if this is the first call. - */ - NextToken?: NextToken; - /** - * The maximum number of items to return. - */ - Limit?: Limit; - } - export interface ListSchemaExtensionsResult { - /** - * Information about the schema extensions applied to the directory. - */ - SchemaExtensionsInfo?: SchemaExtensionsInfo; - /** - * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to ListSchemaExtensions to retrieve the next set of items. - */ - NextToken?: NextToken; - } - export interface ListTagsForResourceRequest { - /** - * Identifier (ID) of the directory for which you want to retrieve tags. - */ - ResourceId: ResourceId; - /** - * Reserved for future use. - */ - NextToken?: NextToken; - /** - * Reserved for future use. - */ - Limit?: Limit; - } - export interface ListTagsForResourceResult { - /** - * List of tags returned by the ListTagsForResource operation. - */ - Tags?: Tags; - /** - * Reserved for future use. - */ - NextToken?: NextToken; - } - export type ManualSnapshotsLimitReached = boolean; - export type NextToken = string; - export type OrganizationalUnitDN = string; - export type Password = string; - export type PortNumber = number; - export type RadiusAuthenticationProtocol = "PAP"|"CHAP"|"MS-CHAPv1"|"MS-CHAPv2"|string; - export type RadiusDisplayLabel = string; - export type RadiusRetries = number; - export interface RadiusSettings { - /** - * An array of strings that contains the IP addresses of the RADIUS server endpoints, or the IP addresses of your RADIUS server load balancer. - */ - RadiusServers?: Servers; - /** - * The port that your RADIUS server is using for communications. Your on-premises network must allow inbound traffic over this port from the AWS Directory Service servers. - */ - RadiusPort?: PortNumber; - /** - * The amount of time, in seconds, to wait for the RADIUS server to respond. - */ - RadiusTimeout?: RadiusTimeout; - /** - * The maximum number of times that communication with the RADIUS server is attempted. - */ - RadiusRetries?: RadiusRetries; - /** - * Not currently used. - */ - SharedSecret?: RadiusSharedSecret; - /** - * The protocol specified for your RADIUS endpoints. - */ - AuthenticationProtocol?: RadiusAuthenticationProtocol; - /** - * Not currently used. - */ - DisplayLabel?: RadiusDisplayLabel; - /** - * Not currently used. - */ - UseSameUsername?: UseSameUsername; - } - export type RadiusSharedSecret = string; - export type RadiusStatus = "Creating"|"Completed"|"Failed"|string; - export type RadiusTimeout = number; - export interface RegisterEventTopicRequest { - /** - * The Directory ID that will publish status messages to the SNS topic. - */ - DirectoryId: DirectoryId; - /** - * The SNS topic name to which the directory will publish status messages. This SNS topic must be in the same region as the specified Directory ID. - */ - TopicName: TopicName; - } - export interface RegisterEventTopicResult { - } - export type RemoteDomainName = string; - export type RemoteDomainNames = RemoteDomainName[]; - export interface RemoveIpRoutesRequest { - /** - * Identifier (ID) of the directory from which you want to remove the IP addresses. - */ - DirectoryId: DirectoryId; - /** - * IP address blocks that you want to remove. - */ - CidrIps: CidrIps; - } - export interface RemoveIpRoutesResult { - } - export interface RemoveTagsFromResourceRequest { - /** - * Identifier (ID) of the directory from which to remove the tag. - */ - ResourceId: ResourceId; - /** - * The tag key (name) of the tag to be removed. - */ - TagKeys: TagKeys; - } - export interface RemoveTagsFromResourceResult { - } - export type ReplicationScope = "Domain"|string; - export type RequestId = string; - export type ResourceId = string; - export interface RestoreFromSnapshotRequest { - /** - * The identifier of the snapshot to restore from. - */ - SnapshotId: SnapshotId; - } - export interface RestoreFromSnapshotResult { - } - export type SID = string; - export type SchemaExtensionId = string; - export interface SchemaExtensionInfo { - /** - * The identifier of the directory to which the schema extension is applied. - */ - DirectoryId?: DirectoryId; - /** - * The identifier of the schema extension. - */ - SchemaExtensionId?: SchemaExtensionId; - /** - * A description of the schema extension. - */ - Description?: Description; - /** - * The current status of the schema extension. - */ - SchemaExtensionStatus?: SchemaExtensionStatus; - /** - * The reason for the SchemaExtensionStatus. - */ - SchemaExtensionStatusReason?: SchemaExtensionStatusReason; - /** - * The date and time that the schema extension started being applied to the directory. - */ - StartDateTime?: StartDateTime; - /** - * The date and time that the schema extension was completed. - */ - EndDateTime?: EndDateTime; - } - export type SchemaExtensionStatus = "Initializing"|"CreatingSnapshot"|"UpdatingSchema"|"Replicating"|"CancelInProgress"|"RollbackInProgress"|"Cancelled"|"Failed"|"Completed"|string; - export type SchemaExtensionStatusReason = string; - export type SchemaExtensionsInfo = SchemaExtensionInfo[]; - export type SecurityGroupId = string; - export type Server = string; - export type Servers = Server[]; - export interface Snapshot { - /** - * The directory identifier. - */ - DirectoryId?: DirectoryId; - /** - * The snapshot identifier. - */ - SnapshotId?: SnapshotId; - /** - * The snapshot type. - */ - Type?: SnapshotType; - /** - * The descriptive name of the snapshot. - */ - Name?: SnapshotName; - /** - * The snapshot status. - */ - Status?: SnapshotStatus; - /** - * The date and time that the snapshot was taken. - */ - StartTime?: StartTime; - } - export type SnapshotId = string; - export type SnapshotIds = SnapshotId[]; - export interface SnapshotLimits { - /** - * The maximum number of manual snapshots allowed. - */ - ManualSnapshotsLimit?: Limit; - /** - * The current number of manual snapshots of the directory. - */ - ManualSnapshotsCurrentCount?: Limit; - /** - * Indicates if the manual snapshot limit has been reached. - */ - ManualSnapshotsLimitReached?: ManualSnapshotsLimitReached; - } - export type SnapshotName = string; - export type SnapshotStatus = "Creating"|"Completed"|"Failed"|string; - export type SnapshotType = "Auto"|"Manual"|string; - export type Snapshots = Snapshot[]; - export type SsoEnabled = boolean; - export type StageReason = string; - export type StartDateTime = Date; - export interface StartSchemaExtensionRequest { - /** - * The identifier of the directory for which the schema extension will be applied to. - */ - DirectoryId: DirectoryId; - /** - * If true, creates a snapshot of the directory before applying the schema extension. - */ - CreateSnapshotBeforeSchemaExtension: CreateSnapshotBeforeSchemaExtension; - /** - * The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with \n. See the example request below for more details. The file size can be no larger than 1MB. - */ - LdifContent: LdifContent; - /** - * A description of the schema extension. - */ - Description: Description; - } - export interface StartSchemaExtensionResult { - /** - * The identifier of the schema extension that will be applied. - */ - SchemaExtensionId?: SchemaExtensionId; - } - export type StartTime = Date; - export type StateLastUpdatedDateTime = Date; - export type SubnetId = string; - export type SubnetIds = SubnetId[]; - export interface Tag { - /** - * Required name of the tag. The string value can be Unicode characters and cannot be prefixed with "aws:". The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). - */ - Key: TagKey; - /** - * The optional value of the tag. The string value can be Unicode characters. The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). - */ - Value: TagValue; - } - export type TagKey = string; - export type TagKeys = TagKey[]; - export type TagValue = string; - export type Tags = Tag[]; - export type TopicArn = string; - export type TopicName = string; - export type TopicNames = TopicName[]; - export type TopicStatus = "Registered"|"Topic not found"|"Failed"|"Deleted"|string; - export interface Trust { - /** - * The Directory ID of the AWS directory involved in the trust relationship. - */ - DirectoryId?: DirectoryId; - /** - * The unique ID of the trust relationship. - */ - TrustId?: TrustId; - /** - * The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship. - */ - RemoteDomainName?: RemoteDomainName; - /** - * The trust relationship type. - */ - TrustType?: TrustType; - /** - * The trust relationship direction. - */ - TrustDirection?: TrustDirection; - /** - * The trust relationship state. - */ - TrustState?: TrustState; - /** - * The date and time that the trust relationship was created. - */ - CreatedDateTime?: CreatedDateTime; - /** - * The date and time that the trust relationship was last updated. - */ - LastUpdatedDateTime?: LastUpdatedDateTime; - /** - * The date and time that the TrustState was last updated. - */ - StateLastUpdatedDateTime?: StateLastUpdatedDateTime; - /** - * The reason for the TrustState. - */ - TrustStateReason?: TrustStateReason; - } - export type TrustDirection = "One-Way: Outgoing"|"One-Way: Incoming"|"Two-Way"|string; - export type TrustId = string; - export type TrustIds = TrustId[]; - export type TrustPassword = string; - export type TrustState = "Creating"|"Created"|"Verifying"|"VerifyFailed"|"Verified"|"Deleting"|"Deleted"|"Failed"|string; - export type TrustStateReason = string; - export type TrustType = "Forest"|string; - export type Trusts = Trust[]; - export interface UpdateConditionalForwarderRequest { - /** - * The directory ID of the AWS directory for which to update the conditional forwarder. - */ - DirectoryId: DirectoryId; - /** - * The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship. - */ - RemoteDomainName: RemoteDomainName; - /** - * The updated IP addresses of the remote DNS server associated with the conditional forwarder. - */ - DnsIpAddrs: DnsIpAddrs; - } - export interface UpdateConditionalForwarderResult { - } - export interface UpdateNumberOfDomainControllersRequest { - /** - * Identifier of the directory to which the domain controllers will be added or removed. - */ - DirectoryId: DirectoryId; - /** - * The number of domain controllers desired in the directory. - */ - DesiredNumber: DesiredNumberOfDomainControllers; - } - export interface UpdateNumberOfDomainControllersResult { - } - export interface UpdateRadiusRequest { - /** - * The identifier of the directory for which to update the RADIUS server information. - */ - DirectoryId: DirectoryId; - /** - * A RadiusSettings object that contains information about the RADIUS server. - */ - RadiusSettings: RadiusSettings; - } - export interface UpdateRadiusResult { - } - export type UpdateSecurityGroupForDirectoryControllers = boolean; - export type UseSameUsername = boolean; - export type UserName = string; - export interface VerifyTrustRequest { - /** - * The unique Trust ID of the trust relationship to verify. - */ - TrustId: TrustId; - } - export interface VerifyTrustResult { - /** - * The unique Trust ID of the trust relationship that was verified. - */ - TrustId?: TrustId; - } - export type VpcId = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-04-16"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the DirectoryService client. - */ - export import Types = DirectoryService; -} -export = DirectoryService; diff --git a/src/node_modules/aws-sdk/clients/directoryservice.js b/src/node_modules/aws-sdk/clients/directoryservice.js deleted file mode 100644 index 217b4a1..0000000 --- a/src/node_modules/aws-sdk/clients/directoryservice.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['directoryservice'] = {}; -AWS.DirectoryService = Service.defineService('directoryservice', ['2015-04-16']); -Object.defineProperty(apiLoader.services['directoryservice'], '2015-04-16', { - get: function get() { - var model = require('../apis/ds-2015-04-16.min.json'); - model.paginators = require('../apis/ds-2015-04-16.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DirectoryService; diff --git a/src/node_modules/aws-sdk/clients/discovery.d.ts b/src/node_modules/aws-sdk/clients/discovery.d.ts deleted file mode 100644 index 035ff73..0000000 --- a/src/node_modules/aws-sdk/clients/discovery.d.ts +++ /dev/null @@ -1,799 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Discovery extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Discovery.Types.ClientConfiguration) - config: Config & Discovery.Types.ClientConfiguration; - /** - * Associates one or more configuration items with an application. - */ - associateConfigurationItemsToApplication(params: Discovery.Types.AssociateConfigurationItemsToApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.AssociateConfigurationItemsToApplicationResponse) => void): Request; - /** - * Associates one or more configuration items with an application. - */ - associateConfigurationItemsToApplication(callback?: (err: AWSError, data: Discovery.Types.AssociateConfigurationItemsToApplicationResponse) => void): Request; - /** - * Creates an application with the given name and description. - */ - createApplication(params: Discovery.Types.CreateApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.CreateApplicationResponse) => void): Request; - /** - * Creates an application with the given name and description. - */ - createApplication(callback?: (err: AWSError, data: Discovery.Types.CreateApplicationResponse) => void): Request; - /** - * Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items. - */ - createTags(params: Discovery.Types.CreateTagsRequest, callback?: (err: AWSError, data: Discovery.Types.CreateTagsResponse) => void): Request; - /** - * Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items. - */ - createTags(callback?: (err: AWSError, data: Discovery.Types.CreateTagsResponse) => void): Request; - /** - * Deletes a list of applications and their associations with configuration items. - */ - deleteApplications(params: Discovery.Types.DeleteApplicationsRequest, callback?: (err: AWSError, data: Discovery.Types.DeleteApplicationsResponse) => void): Request; - /** - * Deletes a list of applications and their associations with configuration items. - */ - deleteApplications(callback?: (err: AWSError, data: Discovery.Types.DeleteApplicationsResponse) => void): Request; - /** - * Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items. - */ - deleteTags(params: Discovery.Types.DeleteTagsRequest, callback?: (err: AWSError, data: Discovery.Types.DeleteTagsResponse) => void): Request; - /** - * Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items. - */ - deleteTags(callback?: (err: AWSError, data: Discovery.Types.DeleteTagsResponse) => void): Request; - /** - * Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an ID. - */ - describeAgents(params: Discovery.Types.DescribeAgentsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeAgentsResponse) => void): Request; - /** - * Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an ID. - */ - describeAgents(callback?: (err: AWSError, data: Discovery.Types.DescribeAgentsResponse) => void): Request; - /** - * Retrieves attributes for a list of configuration item IDs. All of the supplied IDs must be for the same asset type (server, application, process, or connection). Output fields are specific to the asset type selected. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, and number of network cards. For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action. - */ - describeConfigurations(params: Discovery.Types.DescribeConfigurationsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeConfigurationsResponse) => void): Request; - /** - * Retrieves attributes for a list of configuration item IDs. All of the supplied IDs must be for the same asset type (server, application, process, or connection). Output fields are specific to the asset type selected. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, and number of network cards. For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action. - */ - describeConfigurations(callback?: (err: AWSError, data: Discovery.Types.DescribeConfigurationsResponse) => void): Request; - /** - * Deprecated. Use DescribeExportTasks instead. Retrieves the status of a given export process. You can retrieve status from a maximum of 100 processes. - */ - describeExportConfigurations(params: Discovery.Types.DescribeExportConfigurationsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeExportConfigurationsResponse) => void): Request; - /** - * Deprecated. Use DescribeExportTasks instead. Retrieves the status of a given export process. You can retrieve status from a maximum of 100 processes. - */ - describeExportConfigurations(callback?: (err: AWSError, data: Discovery.Types.DescribeExportConfigurationsResponse) => void): Request; - /** - * Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks. - */ - describeExportTasks(params: Discovery.Types.DescribeExportTasksRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeExportTasksResponse) => void): Request; - /** - * Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks. - */ - describeExportTasks(callback?: (err: AWSError, data: Discovery.Types.DescribeExportTasksResponse) => void): Request; - /** - * Retrieves a list of configuration items that are tagged with a specific tag. Or retrieves a list of all tags assigned to a specific configuration item. - */ - describeTags(params: Discovery.Types.DescribeTagsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeTagsResponse) => void): Request; - /** - * Retrieves a list of configuration items that are tagged with a specific tag. Or retrieves a list of all tags assigned to a specific configuration item. - */ - describeTags(callback?: (err: AWSError, data: Discovery.Types.DescribeTagsResponse) => void): Request; - /** - * Disassociates one or more configuration items from an application. - */ - disassociateConfigurationItemsFromApplication(params: Discovery.Types.DisassociateConfigurationItemsFromApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.DisassociateConfigurationItemsFromApplicationResponse) => void): Request; - /** - * Disassociates one or more configuration items from an application. - */ - disassociateConfigurationItemsFromApplication(callback?: (err: AWSError, data: Discovery.Types.DisassociateConfigurationItemsFromApplicationResponse) => void): Request; - /** - * Deprecated. Use StartExportTask instead. Exports all discovered configuration data to an Amazon S3 bucket or an application that enables you to view and evaluate the data. Data includes tags and tag associations, processes, connections, servers, and system performance. This API returns an export ID that you can query using the DescribeExportConfigurations API. The system imposes a limit of two configuration exports in six hours. - */ - exportConfigurations(callback?: (err: AWSError, data: Discovery.Types.ExportConfigurationsResponse) => void): Request; - /** - * Retrieves a short summary of discovered assets. - */ - getDiscoverySummary(params: Discovery.Types.GetDiscoverySummaryRequest, callback?: (err: AWSError, data: Discovery.Types.GetDiscoverySummaryResponse) => void): Request; - /** - * Retrieves a short summary of discovered assets. - */ - getDiscoverySummary(callback?: (err: AWSError, data: Discovery.Types.GetDiscoverySummaryResponse) => void): Request; - /** - * Retrieves a list of configuration items according to criteria that you specify in a filter. The filter criteria identifies the relationship requirements. - */ - listConfigurations(params: Discovery.Types.ListConfigurationsRequest, callback?: (err: AWSError, data: Discovery.Types.ListConfigurationsResponse) => void): Request; - /** - * Retrieves a list of configuration items according to criteria that you specify in a filter. The filter criteria identifies the relationship requirements. - */ - listConfigurations(callback?: (err: AWSError, data: Discovery.Types.ListConfigurationsResponse) => void): Request; - /** - * Retrieves a list of servers that are one network hop away from a specified server. - */ - listServerNeighbors(params: Discovery.Types.ListServerNeighborsRequest, callback?: (err: AWSError, data: Discovery.Types.ListServerNeighborsResponse) => void): Request; - /** - * Retrieves a list of servers that are one network hop away from a specified server. - */ - listServerNeighbors(callback?: (err: AWSError, data: Discovery.Types.ListServerNeighborsResponse) => void): Request; - /** - * Instructs the specified agents or connectors to start collecting data. - */ - startDataCollectionByAgentIds(params: Discovery.Types.StartDataCollectionByAgentIdsRequest, callback?: (err: AWSError, data: Discovery.Types.StartDataCollectionByAgentIdsResponse) => void): Request; - /** - * Instructs the specified agents or connectors to start collecting data. - */ - startDataCollectionByAgentIds(callback?: (err: AWSError, data: Discovery.Types.StartDataCollectionByAgentIdsResponse) => void): Request; - /** - * Export the configuration data about discovered configuration items and relationships to an S3 bucket in a specified format. - */ - startExportTask(params: Discovery.Types.StartExportTaskRequest, callback?: (err: AWSError, data: Discovery.Types.StartExportTaskResponse) => void): Request; - /** - * Export the configuration data about discovered configuration items and relationships to an S3 bucket in a specified format. - */ - startExportTask(callback?: (err: AWSError, data: Discovery.Types.StartExportTaskResponse) => void): Request; - /** - * Instructs the specified agents or connectors to stop collecting data. - */ - stopDataCollectionByAgentIds(params: Discovery.Types.StopDataCollectionByAgentIdsRequest, callback?: (err: AWSError, data: Discovery.Types.StopDataCollectionByAgentIdsResponse) => void): Request; - /** - * Instructs the specified agents or connectors to stop collecting data. - */ - stopDataCollectionByAgentIds(callback?: (err: AWSError, data: Discovery.Types.StopDataCollectionByAgentIdsResponse) => void): Request; - /** - * Updates metadata about an application. - */ - updateApplication(params: Discovery.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.UpdateApplicationResponse) => void): Request; - /** - * Updates metadata about an application. - */ - updateApplication(callback?: (err: AWSError, data: Discovery.Types.UpdateApplicationResponse) => void): Request; -} -declare namespace Discovery { - export interface AgentConfigurationStatus { - /** - * The agent/connector ID. - */ - agentId?: String; - /** - * Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent/connector receives this command the next time it polls for a new command. - */ - operationSucceeded?: Boolean; - /** - * A description of the operation performed. - */ - description?: String; - } - export type AgentConfigurationStatusList = AgentConfigurationStatus[]; - export type AgentId = string; - export type AgentIds = AgentId[]; - export interface AgentInfo { - /** - * The agent or connector ID. - */ - agentId?: AgentId; - /** - * The name of the host where the agent or connector resides. The host can be a server or virtual machine. - */ - hostName?: String; - /** - * Network details about the host where the agent or connector resides. - */ - agentNetworkInfoList?: AgentNetworkInfoList; - /** - * The ID of the connector. - */ - connectorId?: String; - /** - * The agent or connector version. - */ - version?: String; - /** - * The health of the agent or connector. - */ - health?: AgentStatus; - /** - * Time since agent or connector health was reported. - */ - lastHealthPingTime?: String; - /** - * Status of the collection process for an agent or connector. - */ - collectionStatus?: String; - /** - * Type of agent. - */ - agentType?: String; - /** - * Agent's first registration timestamp in UTC. - */ - registeredTime?: String; - } - export interface AgentNetworkInfo { - /** - * The IP address for the host where the agent/connector resides. - */ - ipAddress?: String; - /** - * The MAC address for the host where the agent/connector resides. - */ - macAddress?: String; - } - export type AgentNetworkInfoList = AgentNetworkInfo[]; - export type AgentStatus = "HEALTHY"|"UNHEALTHY"|"RUNNING"|"UNKNOWN"|"BLACKLISTED"|"SHUTDOWN"|string; - export type AgentsInfo = AgentInfo[]; - export type ApplicationId = string; - export type ApplicationIdsList = ApplicationId[]; - export interface AssociateConfigurationItemsToApplicationRequest { - /** - * The configuration ID of an application with which items are to be associated. - */ - applicationConfigurationId: ApplicationId; - /** - * The ID of each configuration item to be associated with an application. - */ - configurationIds: ConfigurationIdList; - } - export interface AssociateConfigurationItemsToApplicationResponse { - } - export type Boolean = boolean; - export type BoxedInteger = number; - export type Condition = string; - export type Configuration = {[key: string]: String}; - export type ConfigurationId = string; - export type ConfigurationIdList = ConfigurationId[]; - export type ConfigurationItemType = "SERVER"|"PROCESS"|"CONNECTION"|"APPLICATION"|string; - export interface ConfigurationTag { - /** - * A type of IT asset to tag. - */ - configurationType?: ConfigurationItemType; - /** - * The configuration ID for the item to tag. You can specify a list of keys and values. - */ - configurationId?: ConfigurationId; - /** - * A type of tag on which to filter. For example, serverType. - */ - key?: TagKey; - /** - * A value on which to filter. For example key = serverType and value = web server. - */ - value?: TagValue; - /** - * The time the configuration tag was created in Coordinated Universal Time (UTC). - */ - timeOfCreation?: TimeStamp; - } - export type ConfigurationTagSet = ConfigurationTag[]; - export type Configurations = Configuration[]; - export type ConfigurationsDownloadUrl = string; - export type ConfigurationsExportId = string; - export interface CreateApplicationRequest { - /** - * Name of the application to be created. - */ - name: String; - /** - * Description of the application to be created. - */ - description?: String; - } - export interface CreateApplicationResponse { - /** - * Configuration ID of an application to be created. - */ - configurationId?: String; - } - export interface CreateTagsRequest { - /** - * A list of configuration items that you want to tag. - */ - configurationIds: ConfigurationIdList; - /** - * Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example: {"key": "serverType", "value": "webServer"} - */ - tags: TagSet; - } - export interface CreateTagsResponse { - } - export interface CustomerAgentInfo { - /** - * Number of active discovery agents. - */ - activeAgents: Integer; - /** - * Number of healthy discovery agents - */ - healthyAgents: Integer; - /** - * Number of blacklisted discovery agents. - */ - blackListedAgents: Integer; - /** - * Number of discovery agents with status SHUTDOWN. - */ - shutdownAgents: Integer; - /** - * Number of unhealthy discovery agents. - */ - unhealthyAgents: Integer; - /** - * Total number of discovery agents. - */ - totalAgents: Integer; - /** - * Number of unknown discovery agents. - */ - unknownAgents: Integer; - } - export interface CustomerConnectorInfo { - /** - * Number of active discovery connectors. - */ - activeConnectors: Integer; - /** - * Number of healthy discovery connectors. - */ - healthyConnectors: Integer; - /** - * Number of blacklisted discovery connectors. - */ - blackListedConnectors: Integer; - /** - * Number of discovery connectors with status SHUTDOWN, - */ - shutdownConnectors: Integer; - /** - * Number of unhealthy discovery connectors. - */ - unhealthyConnectors: Integer; - /** - * Total number of discovery connectors. - */ - totalConnectors: Integer; - /** - * Number of unknown discovery connectors. - */ - unknownConnectors: Integer; - } - export interface DeleteApplicationsRequest { - /** - * Configuration ID of an application to be deleted. - */ - configurationIds: ApplicationIdsList; - } - export interface DeleteApplicationsResponse { - } - export interface DeleteTagsRequest { - /** - * A list of configuration items with tags that you want to delete. - */ - configurationIds: ConfigurationIdList; - /** - * Tags that you want to delete from one or more configuration items. Specify the tags that you want to delete in a key-value format. For example: {"key": "serverType", "value": "webServer"} - */ - tags?: TagSet; - } - export interface DeleteTagsResponse { - } - export interface DescribeAgentsRequest { - /** - * The agent or the Connector IDs for which you want information. If you specify no IDs, the system returns information about all agents/Connectors associated with your AWS user account. - */ - agentIds?: AgentIds; - /** - * You can filter the request using various logical operators and a key-value format. For example: {"key": "collectionStatus", "value": "STARTED"} - */ - filters?: Filters; - /** - * The total number of agents/Connectors to return in a single page of output. The maximum value is 100. - */ - maxResults?: Integer; - /** - * Token to retrieve the next set of results. For example, if you previously specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10. - */ - nextToken?: NextToken; - } - export interface DescribeAgentsResponse { - /** - * Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and the version number of each agent/Connector. - */ - agentsInfo?: AgentsInfo; - /** - * Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10. - */ - nextToken?: NextToken; - } - export type DescribeConfigurationsAttribute = {[key: string]: String}; - export type DescribeConfigurationsAttributes = DescribeConfigurationsAttribute[]; - export interface DescribeConfigurationsRequest { - /** - * One or more configuration IDs. - */ - configurationIds: ConfigurationIdList; - } - export interface DescribeConfigurationsResponse { - /** - * A key in the response map. The value is an array of data. - */ - configurations?: DescribeConfigurationsAttributes; - } - export interface DescribeExportConfigurationsRequest { - /** - * A unique identifier that you can use to query the export status. - */ - exportIds?: ExportIds; - /** - * The maximum number of results that you want to display as a part of the query. - */ - maxResults?: Integer; - /** - * A token to get the next set of results. For example, if you specify 100 IDs for DescribeExportConfigurationsRequest$exportIds but set DescribeExportConfigurationsRequest$maxResults to 10, you get results in a set of 10. Use the token in the query to get the next set of 10. - */ - nextToken?: NextToken; - } - export interface DescribeExportConfigurationsResponse { - /** - * Returns export details. When the status is complete, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file. - */ - exportsInfo?: ExportsInfo; - /** - * A token to get the next set of results. For example, if you specify 100 IDs for DescribeExportConfigurationsRequest$exportIds but set DescribeExportConfigurationsRequest$maxResults to 10, you get results in a set of 10. Use the token in the query to get the next set of 10. - */ - nextToken?: NextToken; - } - export interface DescribeExportTasksRequest { - /** - * One or more unique identifiers used to query the status of an export request. - */ - exportIds?: ExportIds; - /** - * The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element. - */ - maxResults?: Integer; - /** - * The nextToken value returned from a previous paginated DescribeExportTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. - */ - nextToken?: NextToken; - } - export interface DescribeExportTasksResponse { - /** - * Contains one or more sets of export request details. When the status of a request is SUCCEEDED, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file. - */ - exportsInfo?: ExportsInfo; - /** - * The nextToken value to include in a future DescribeExportTasks request. When the results of a DescribeExportTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: NextToken; - } - export interface DescribeTagsRequest { - /** - * You can filter the list using a key-value format. You can separate these items by using logical operators. Allowed filters include tagKey, tagValue, and configurationId. - */ - filters?: TagFilters; - /** - * The total number of items to return in a single page of output. The maximum value is 100. - */ - maxResults?: Integer; - /** - * A token to start the list. Use this token to get the next set of results. - */ - nextToken?: NextToken; - } - export interface DescribeTagsResponse { - /** - * Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item. - */ - tags?: ConfigurationTagSet; - /** - * The call returns a token. Use this token to get the next set of results. - */ - nextToken?: NextToken; - } - export interface DisassociateConfigurationItemsFromApplicationRequest { - /** - * Configuration ID of an application from which each item is disassociated. - */ - applicationConfigurationId: ApplicationId; - /** - * Configuration ID of each item to be disassociated from an application. - */ - configurationIds: ConfigurationIdList; - } - export interface DisassociateConfigurationItemsFromApplicationResponse { - } - export interface ExportConfigurationsResponse { - /** - * A unique identifier that you can use to query the export status. - */ - exportId?: ConfigurationsExportId; - } - export type ExportDataFormat = "CSV"|"GRAPHML"|string; - export type ExportDataFormats = ExportDataFormat[]; - export type ExportIds = ConfigurationsExportId[]; - export interface ExportInfo { - /** - * A unique identifier that you can use to query the export. - */ - exportId: ConfigurationsExportId; - /** - * The status of the configuration data export. The status can succeed, fail, or be in-progress. - */ - exportStatus: ExportStatus; - /** - * Helpful status messages for API callers. For example: Too many exports in the last 6 hours. Export in progress. Export was successful. - */ - statusMessage: ExportStatusMessage; - /** - * A URL for an Amazon S3 bucket where you can review the configuration data. The URL is displayed only if the export succeeded. - */ - configurationsDownloadUrl?: ConfigurationsDownloadUrl; - /** - * The time that the configuration data export was initiated. - */ - exportRequestTime: ExportRequestTime; - } - export type ExportRequestTime = Date; - export type ExportStatus = "FAILED"|"SUCCEEDED"|"IN_PROGRESS"|string; - export type ExportStatusMessage = string; - export type ExportsInfo = ExportInfo[]; - export interface Filter { - /** - * The name of the filter. - */ - name: String; - /** - * A string value on which to filter. For example, if you choose the destinationServer.osVersion filter name, you could specify Ubuntu for the value. - */ - values: FilterValues; - /** - * A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items. - */ - condition: Condition; - } - export type FilterName = string; - export type FilterValue = string; - export type FilterValues = FilterValue[]; - export type Filters = Filter[]; - export interface GetDiscoverySummaryRequest { - } - export interface GetDiscoverySummaryResponse { - /** - * The number of servers discovered. - */ - servers?: Long; - /** - * The number of applications discovered. - */ - applications?: Long; - /** - * The number of servers mapped to applications. - */ - serversMappedToApplications?: Long; - /** - * The number of servers mapped to tags. - */ - serversMappedtoTags?: Long; - /** - * Details about discovered agents, including agent status and health. - */ - agentSummary?: CustomerAgentInfo; - /** - * Details about discovered connectors, including connector status and health. - */ - connectorSummary?: CustomerConnectorInfo; - } - export type Integer = number; - export interface ListConfigurationsRequest { - /** - * A valid configuration identified by Application Discovery Service. - */ - configurationType: ConfigurationItemType; - /** - * You can filter the request using various logical operators and a key-value format. For example: {"key": "serverType", "value": "webServer"} For a complete list of filter options and guidance about using them with this action, see Querying Discovered Configuration Items. - */ - filters?: Filters; - /** - * The total number of items to return. The maximum value is 100. - */ - maxResults?: Integer; - /** - * Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10. - */ - nextToken?: NextToken; - /** - * Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action. - */ - orderBy?: OrderByList; - } - export interface ListConfigurationsResponse { - /** - * Returns configuration details, including the configuration ID, attribute names, and attribute values. - */ - configurations?: Configurations; - /** - * Token to retrieve the next set of results. For example, if your call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10. - */ - nextToken?: NextToken; - } - export interface ListServerNeighborsRequest { - /** - * Configuration ID of the server for which neighbors are being listed. - */ - configurationId: ConfigurationId; - /** - * Flag to indicate if port and protocol information is needed as part of the response. - */ - portInformationNeeded?: Boolean; - /** - * List of configuration IDs to test for one-hop-away. - */ - neighborConfigurationIds?: ConfigurationIdList; - /** - * Maximum number of results to return in a single page of output. - */ - maxResults?: Integer; - /** - * Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10. - */ - nextToken?: String; - } - export interface ListServerNeighborsResponse { - /** - * List of distinct servers that are one hop away from the given server. - */ - neighbors: NeighborDetailsList; - /** - * Token to retrieve the next set of results. For example, if you specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10. - */ - nextToken?: String; - /** - * Count of distinct servers that are one hop away from the given server. - */ - knownDependencyCount?: Long; - } - export type Long = number; - export type Message = string; - export interface NeighborConnectionDetail { - /** - * The ID of the server that opened the network connection. - */ - sourceServerId: ConfigurationId; - /** - * The ID of the server that accepted the network connection. - */ - destinationServerId: ConfigurationId; - /** - * The destination network port for the connection. - */ - destinationPort?: BoxedInteger; - /** - * The network protocol used for the connection. - */ - transportProtocol?: String; - /** - * The number of open network connections with the neighboring server. - */ - connectionsCount: Long; - } - export type NeighborDetailsList = NeighborConnectionDetail[]; - export type NextToken = string; - export interface OrderByElement { - /** - * The field on which to order. - */ - fieldName: String; - /** - * Ordering direction. - */ - sortOrder?: orderString; - } - export type OrderByList = OrderByElement[]; - export interface StartDataCollectionByAgentIdsRequest { - /** - * The IDs of the agents or connectors from which to start collecting data. If you send a request to an agent/connector ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents/connectors and you do not have permission to contact some of those agents/connectors, the system does not throw an exception. Instead, the system shows Failed in the Description field. - */ - agentIds: AgentIds; - } - export interface StartDataCollectionByAgentIdsResponse { - /** - * Information about agents or the connector that were instructed to start collecting data. Information includes the agent/connector ID, a description of the operation performed, and whether the agent/connector configuration was updated. - */ - agentsConfigurationStatus?: AgentConfigurationStatusList; - } - export interface StartExportTaskRequest { - /** - * The file format for the returned export data. Default value is CSV. - */ - exportDataFormat?: ExportDataFormats; - } - export interface StartExportTaskResponse { - /** - * A unique identifier used to query the status of an export request. - */ - exportId?: ConfigurationsExportId; - } - export interface StopDataCollectionByAgentIdsRequest { - /** - * The IDs of the agents or connectors from which to stop collecting data. - */ - agentIds: AgentIds; - } - export interface StopDataCollectionByAgentIdsResponse { - /** - * Information about the agents or connector that were instructed to stop collecting data. Information includes the agent/connector ID, a description of the operation performed, and whether the agent/connector configuration was updated. - */ - agentsConfigurationStatus?: AgentConfigurationStatusList; - } - export type String = string; - export interface Tag { - /** - * The type of tag on which to filter. - */ - key: TagKey; - /** - * A value for a tag key on which to filter. - */ - value: TagValue; - } - export interface TagFilter { - /** - * A name of the tag filter. - */ - name: FilterName; - /** - * Values for the tag filter. - */ - values: FilterValues; - } - export type TagFilters = TagFilter[]; - export type TagKey = string; - export type TagSet = Tag[]; - export type TagValue = string; - export type TimeStamp = Date; - export interface UpdateApplicationRequest { - /** - * Configuration ID of the application to be updated. - */ - configurationId: ApplicationId; - /** - * New name of the application to be updated. - */ - name?: String; - /** - * New description of the application to be updated. - */ - description?: String; - } - export interface UpdateApplicationResponse { - } - export type orderString = "ASC"|"DESC"|string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-11-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Discovery client. - */ - export import Types = Discovery; -} -export = Discovery; diff --git a/src/node_modules/aws-sdk/clients/discovery.js b/src/node_modules/aws-sdk/clients/discovery.js deleted file mode 100644 index 16c69d0..0000000 --- a/src/node_modules/aws-sdk/clients/discovery.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['discovery'] = {}; -AWS.Discovery = Service.defineService('discovery', ['2015-11-01']); -Object.defineProperty(apiLoader.services['discovery'], '2015-11-01', { - get: function get() { - var model = require('../apis/discovery-2015-11-01.min.json'); - model.paginators = require('../apis/discovery-2015-11-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Discovery; diff --git a/src/node_modules/aws-sdk/clients/dms.d.ts b/src/node_modules/aws-sdk/clients/dms.d.ts deleted file mode 100644 index 5da9bc1..0000000 --- a/src/node_modules/aws-sdk/clients/dms.d.ts +++ /dev/null @@ -1,2081 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class DMS extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: DMS.Types.ClientConfiguration) - config: Config & DMS.Types.ClientConfiguration; - /** - * Adds metadata tags to a DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS. - */ - addTagsToResource(params: DMS.Types.AddTagsToResourceMessage, callback?: (err: AWSError, data: DMS.Types.AddTagsToResourceResponse) => void): Request; - /** - * Adds metadata tags to a DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS. - */ - addTagsToResource(callback?: (err: AWSError, data: DMS.Types.AddTagsToResourceResponse) => void): Request; - /** - * Creates an endpoint using the provided settings. - */ - createEndpoint(params: DMS.Types.CreateEndpointMessage, callback?: (err: AWSError, data: DMS.Types.CreateEndpointResponse) => void): Request; - /** - * Creates an endpoint using the provided settings. - */ - createEndpoint(callback?: (err: AWSError, data: DMS.Types.CreateEndpointResponse) => void): Request; - /** - * Creates an AWS DMS event notification subscription. You can specify the type of source (SourceType) you want to be notified of, provide a list of AWS DMS source IDs (SourceIds) that triggers the events, and provide a list of event categories (EventCategories) for events you want to be notified of. If you specify both the SourceType and SourceIds, such as SourceType = replication-instance and SourceIdentifier = my-replinstance, you will be notified of all the replication instance events for the specified source. If you specify a SourceType but don't specify a SourceIdentifier, you receive notice of the events for that source type for all your AWS DMS sources. If you don't specify either SourceType nor SourceIdentifier, you will be notified of events generated from all AWS DMS sources belonging to your customer account. For more information about AWS DMS events, see Working with Events and Notifications in the AWS Database MIgration Service User Guide. - */ - createEventSubscription(params: DMS.Types.CreateEventSubscriptionMessage, callback?: (err: AWSError, data: DMS.Types.CreateEventSubscriptionResponse) => void): Request; - /** - * Creates an AWS DMS event notification subscription. You can specify the type of source (SourceType) you want to be notified of, provide a list of AWS DMS source IDs (SourceIds) that triggers the events, and provide a list of event categories (EventCategories) for events you want to be notified of. If you specify both the SourceType and SourceIds, such as SourceType = replication-instance and SourceIdentifier = my-replinstance, you will be notified of all the replication instance events for the specified source. If you specify a SourceType but don't specify a SourceIdentifier, you receive notice of the events for that source type for all your AWS DMS sources. If you don't specify either SourceType nor SourceIdentifier, you will be notified of events generated from all AWS DMS sources belonging to your customer account. For more information about AWS DMS events, see Working with Events and Notifications in the AWS Database MIgration Service User Guide. - */ - createEventSubscription(callback?: (err: AWSError, data: DMS.Types.CreateEventSubscriptionResponse) => void): Request; - /** - * Creates the replication instance using the specified parameters. - */ - createReplicationInstance(params: DMS.Types.CreateReplicationInstanceMessage, callback?: (err: AWSError, data: DMS.Types.CreateReplicationInstanceResponse) => void): Request; - /** - * Creates the replication instance using the specified parameters. - */ - createReplicationInstance(callback?: (err: AWSError, data: DMS.Types.CreateReplicationInstanceResponse) => void): Request; - /** - * Creates a replication subnet group given a list of the subnet IDs in a VPC. - */ - createReplicationSubnetGroup(params: DMS.Types.CreateReplicationSubnetGroupMessage, callback?: (err: AWSError, data: DMS.Types.CreateReplicationSubnetGroupResponse) => void): Request; - /** - * Creates a replication subnet group given a list of the subnet IDs in a VPC. - */ - createReplicationSubnetGroup(callback?: (err: AWSError, data: DMS.Types.CreateReplicationSubnetGroupResponse) => void): Request; - /** - * Creates a replication task using the specified parameters. - */ - createReplicationTask(params: DMS.Types.CreateReplicationTaskMessage, callback?: (err: AWSError, data: DMS.Types.CreateReplicationTaskResponse) => void): Request; - /** - * Creates a replication task using the specified parameters. - */ - createReplicationTask(callback?: (err: AWSError, data: DMS.Types.CreateReplicationTaskResponse) => void): Request; - /** - * Deletes the specified certificate. - */ - deleteCertificate(params: DMS.Types.DeleteCertificateMessage, callback?: (err: AWSError, data: DMS.Types.DeleteCertificateResponse) => void): Request; - /** - * Deletes the specified certificate. - */ - deleteCertificate(callback?: (err: AWSError, data: DMS.Types.DeleteCertificateResponse) => void): Request; - /** - * Deletes the specified endpoint. All tasks associated with the endpoint must be deleted before you can delete the endpoint. - */ - deleteEndpoint(params: DMS.Types.DeleteEndpointMessage, callback?: (err: AWSError, data: DMS.Types.DeleteEndpointResponse) => void): Request; - /** - * Deletes the specified endpoint. All tasks associated with the endpoint must be deleted before you can delete the endpoint. - */ - deleteEndpoint(callback?: (err: AWSError, data: DMS.Types.DeleteEndpointResponse) => void): Request; - /** - * Deletes an AWS DMS event subscription. - */ - deleteEventSubscription(params: DMS.Types.DeleteEventSubscriptionMessage, callback?: (err: AWSError, data: DMS.Types.DeleteEventSubscriptionResponse) => void): Request; - /** - * Deletes an AWS DMS event subscription. - */ - deleteEventSubscription(callback?: (err: AWSError, data: DMS.Types.DeleteEventSubscriptionResponse) => void): Request; - /** - * Deletes the specified replication instance. You must delete any migration tasks that are associated with the replication instance before you can delete it. - */ - deleteReplicationInstance(params: DMS.Types.DeleteReplicationInstanceMessage, callback?: (err: AWSError, data: DMS.Types.DeleteReplicationInstanceResponse) => void): Request; - /** - * Deletes the specified replication instance. You must delete any migration tasks that are associated with the replication instance before you can delete it. - */ - deleteReplicationInstance(callback?: (err: AWSError, data: DMS.Types.DeleteReplicationInstanceResponse) => void): Request; - /** - * Deletes a subnet group. - */ - deleteReplicationSubnetGroup(params: DMS.Types.DeleteReplicationSubnetGroupMessage, callback?: (err: AWSError, data: DMS.Types.DeleteReplicationSubnetGroupResponse) => void): Request; - /** - * Deletes a subnet group. - */ - deleteReplicationSubnetGroup(callback?: (err: AWSError, data: DMS.Types.DeleteReplicationSubnetGroupResponse) => void): Request; - /** - * Deletes the specified replication task. - */ - deleteReplicationTask(params: DMS.Types.DeleteReplicationTaskMessage, callback?: (err: AWSError, data: DMS.Types.DeleteReplicationTaskResponse) => void): Request; - /** - * Deletes the specified replication task. - */ - deleteReplicationTask(callback?: (err: AWSError, data: DMS.Types.DeleteReplicationTaskResponse) => void): Request; - /** - * Lists all of the AWS DMS attributes for a customer account. The attributes include AWS DMS quotas for the account, such as the number of replication instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value. This command does not take any parameters. - */ - describeAccountAttributes(params: DMS.Types.DescribeAccountAttributesMessage, callback?: (err: AWSError, data: DMS.Types.DescribeAccountAttributesResponse) => void): Request; - /** - * Lists all of the AWS DMS attributes for a customer account. The attributes include AWS DMS quotas for the account, such as the number of replication instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value. This command does not take any parameters. - */ - describeAccountAttributes(callback?: (err: AWSError, data: DMS.Types.DescribeAccountAttributesResponse) => void): Request; - /** - * Provides a description of the certificate. - */ - describeCertificates(params: DMS.Types.DescribeCertificatesMessage, callback?: (err: AWSError, data: DMS.Types.DescribeCertificatesResponse) => void): Request; - /** - * Provides a description of the certificate. - */ - describeCertificates(callback?: (err: AWSError, data: DMS.Types.DescribeCertificatesResponse) => void): Request; - /** - * Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint. - */ - describeConnections(params: DMS.Types.DescribeConnectionsMessage, callback?: (err: AWSError, data: DMS.Types.DescribeConnectionsResponse) => void): Request; - /** - * Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint. - */ - describeConnections(callback?: (err: AWSError, data: DMS.Types.DescribeConnectionsResponse) => void): Request; - /** - * Returns information about the type of endpoints available. - */ - describeEndpointTypes(params: DMS.Types.DescribeEndpointTypesMessage, callback?: (err: AWSError, data: DMS.Types.DescribeEndpointTypesResponse) => void): Request; - /** - * Returns information about the type of endpoints available. - */ - describeEndpointTypes(callback?: (err: AWSError, data: DMS.Types.DescribeEndpointTypesResponse) => void): Request; - /** - * Returns information about the endpoints for your account in the current region. - */ - describeEndpoints(params: DMS.Types.DescribeEndpointsMessage, callback?: (err: AWSError, data: DMS.Types.DescribeEndpointsResponse) => void): Request; - /** - * Returns information about the endpoints for your account in the current region. - */ - describeEndpoints(callback?: (err: AWSError, data: DMS.Types.DescribeEndpointsResponse) => void): Request; - /** - * Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the AWS Database Migration Service User Guide. - */ - describeEventCategories(params: DMS.Types.DescribeEventCategoriesMessage, callback?: (err: AWSError, data: DMS.Types.DescribeEventCategoriesResponse) => void): Request; - /** - * Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the AWS Database Migration Service User Guide. - */ - describeEventCategories(callback?: (err: AWSError, data: DMS.Types.DescribeEventCategoriesResponse) => void): Request; - /** - * Lists all the event subscriptions for a customer account. The description of a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status. If you specify SubscriptionName, this action lists the description for that subscription. - */ - describeEventSubscriptions(params: DMS.Types.DescribeEventSubscriptionsMessage, callback?: (err: AWSError, data: DMS.Types.DescribeEventSubscriptionsResponse) => void): Request; - /** - * Lists all the event subscriptions for a customer account. The description of a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status. If you specify SubscriptionName, this action lists the description for that subscription. - */ - describeEventSubscriptions(callback?: (err: AWSError, data: DMS.Types.DescribeEventSubscriptionsResponse) => void): Request; - /** - * Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on AWS DMS events, see Working with Events and Notifications . - */ - describeEvents(params: DMS.Types.DescribeEventsMessage, callback?: (err: AWSError, data: DMS.Types.DescribeEventsResponse) => void): Request; - /** - * Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on AWS DMS events, see Working with Events and Notifications . - */ - describeEvents(callback?: (err: AWSError, data: DMS.Types.DescribeEventsResponse) => void): Request; - /** - * Returns information about the replication instance types that can be created in the specified region. - */ - describeOrderableReplicationInstances(params: DMS.Types.DescribeOrderableReplicationInstancesMessage, callback?: (err: AWSError, data: DMS.Types.DescribeOrderableReplicationInstancesResponse) => void): Request; - /** - * Returns information about the replication instance types that can be created in the specified region. - */ - describeOrderableReplicationInstances(callback?: (err: AWSError, data: DMS.Types.DescribeOrderableReplicationInstancesResponse) => void): Request; - /** - * Returns the status of the RefreshSchemas operation. - */ - describeRefreshSchemasStatus(params: DMS.Types.DescribeRefreshSchemasStatusMessage, callback?: (err: AWSError, data: DMS.Types.DescribeRefreshSchemasStatusResponse) => void): Request; - /** - * Returns the status of the RefreshSchemas operation. - */ - describeRefreshSchemasStatus(callback?: (err: AWSError, data: DMS.Types.DescribeRefreshSchemasStatusResponse) => void): Request; - /** - * Returns information about replication instances for your account in the current region. - */ - describeReplicationInstances(params: DMS.Types.DescribeReplicationInstancesMessage, callback?: (err: AWSError, data: DMS.Types.DescribeReplicationInstancesResponse) => void): Request; - /** - * Returns information about replication instances for your account in the current region. - */ - describeReplicationInstances(callback?: (err: AWSError, data: DMS.Types.DescribeReplicationInstancesResponse) => void): Request; - /** - * Returns information about the replication subnet groups. - */ - describeReplicationSubnetGroups(params: DMS.Types.DescribeReplicationSubnetGroupsMessage, callback?: (err: AWSError, data: DMS.Types.DescribeReplicationSubnetGroupsResponse) => void): Request; - /** - * Returns information about the replication subnet groups. - */ - describeReplicationSubnetGroups(callback?: (err: AWSError, data: DMS.Types.DescribeReplicationSubnetGroupsResponse) => void): Request; - /** - * Returns information about replication tasks for your account in the current region. - */ - describeReplicationTasks(params: DMS.Types.DescribeReplicationTasksMessage, callback?: (err: AWSError, data: DMS.Types.DescribeReplicationTasksResponse) => void): Request; - /** - * Returns information about replication tasks for your account in the current region. - */ - describeReplicationTasks(callback?: (err: AWSError, data: DMS.Types.DescribeReplicationTasksResponse) => void): Request; - /** - * Returns information about the schema for the specified endpoint. - */ - describeSchemas(params: DMS.Types.DescribeSchemasMessage, callback?: (err: AWSError, data: DMS.Types.DescribeSchemasResponse) => void): Request; - /** - * Returns information about the schema for the specified endpoint. - */ - describeSchemas(callback?: (err: AWSError, data: DMS.Types.DescribeSchemasResponse) => void): Request; - /** - * Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted. - */ - describeTableStatistics(params: DMS.Types.DescribeTableStatisticsMessage, callback?: (err: AWSError, data: DMS.Types.DescribeTableStatisticsResponse) => void): Request; - /** - * Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted. - */ - describeTableStatistics(callback?: (err: AWSError, data: DMS.Types.DescribeTableStatisticsResponse) => void): Request; - /** - * Uploads the specified certificate. - */ - importCertificate(params: DMS.Types.ImportCertificateMessage, callback?: (err: AWSError, data: DMS.Types.ImportCertificateResponse) => void): Request; - /** - * Uploads the specified certificate. - */ - importCertificate(callback?: (err: AWSError, data: DMS.Types.ImportCertificateResponse) => void): Request; - /** - * Lists all tags for an AWS DMS resource. - */ - listTagsForResource(params: DMS.Types.ListTagsForResourceMessage, callback?: (err: AWSError, data: DMS.Types.ListTagsForResourceResponse) => void): Request; - /** - * Lists all tags for an AWS DMS resource. - */ - listTagsForResource(callback?: (err: AWSError, data: DMS.Types.ListTagsForResourceResponse) => void): Request; - /** - * Modifies the specified endpoint. - */ - modifyEndpoint(params: DMS.Types.ModifyEndpointMessage, callback?: (err: AWSError, data: DMS.Types.ModifyEndpointResponse) => void): Request; - /** - * Modifies the specified endpoint. - */ - modifyEndpoint(callback?: (err: AWSError, data: DMS.Types.ModifyEndpointResponse) => void): Request; - /** - * Modifies an existing AWS DMS event notification subscription. - */ - modifyEventSubscription(params: DMS.Types.ModifyEventSubscriptionMessage, callback?: (err: AWSError, data: DMS.Types.ModifyEventSubscriptionResponse) => void): Request; - /** - * Modifies an existing AWS DMS event notification subscription. - */ - modifyEventSubscription(callback?: (err: AWSError, data: DMS.Types.ModifyEventSubscriptionResponse) => void): Request; - /** - * Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request. Some settings are applied during the maintenance window. - */ - modifyReplicationInstance(params: DMS.Types.ModifyReplicationInstanceMessage, callback?: (err: AWSError, data: DMS.Types.ModifyReplicationInstanceResponse) => void): Request; - /** - * Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request. Some settings are applied during the maintenance window. - */ - modifyReplicationInstance(callback?: (err: AWSError, data: DMS.Types.ModifyReplicationInstanceResponse) => void): Request; - /** - * Modifies the settings for the specified replication subnet group. - */ - modifyReplicationSubnetGroup(params: DMS.Types.ModifyReplicationSubnetGroupMessage, callback?: (err: AWSError, data: DMS.Types.ModifyReplicationSubnetGroupResponse) => void): Request; - /** - * Modifies the settings for the specified replication subnet group. - */ - modifyReplicationSubnetGroup(callback?: (err: AWSError, data: DMS.Types.ModifyReplicationSubnetGroupResponse) => void): Request; - /** - * Modifies the specified replication task. You can't modify the task endpoints. The task must be stopped before you can modify it. For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks - */ - modifyReplicationTask(params: DMS.Types.ModifyReplicationTaskMessage, callback?: (err: AWSError, data: DMS.Types.ModifyReplicationTaskResponse) => void): Request; - /** - * Modifies the specified replication task. You can't modify the task endpoints. The task must be stopped before you can modify it. For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks - */ - modifyReplicationTask(callback?: (err: AWSError, data: DMS.Types.ModifyReplicationTaskResponse) => void): Request; - /** - * Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation. - */ - refreshSchemas(params: DMS.Types.RefreshSchemasMessage, callback?: (err: AWSError, data: DMS.Types.RefreshSchemasResponse) => void): Request; - /** - * Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation. - */ - refreshSchemas(callback?: (err: AWSError, data: DMS.Types.RefreshSchemasResponse) => void): Request; - /** - * Reloads the target database table with the source data. - */ - reloadTables(params: DMS.Types.ReloadTablesMessage, callback?: (err: AWSError, data: DMS.Types.ReloadTablesResponse) => void): Request; - /** - * Reloads the target database table with the source data. - */ - reloadTables(callback?: (err: AWSError, data: DMS.Types.ReloadTablesResponse) => void): Request; - /** - * Removes metadata tags from a DMS resource. - */ - removeTagsFromResource(params: DMS.Types.RemoveTagsFromResourceMessage, callback?: (err: AWSError, data: DMS.Types.RemoveTagsFromResourceResponse) => void): Request; - /** - * Removes metadata tags from a DMS resource. - */ - removeTagsFromResource(callback?: (err: AWSError, data: DMS.Types.RemoveTagsFromResourceResponse) => void): Request; - /** - * Starts the replication task. For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks - */ - startReplicationTask(params: DMS.Types.StartReplicationTaskMessage, callback?: (err: AWSError, data: DMS.Types.StartReplicationTaskResponse) => void): Request; - /** - * Starts the replication task. For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks - */ - startReplicationTask(callback?: (err: AWSError, data: DMS.Types.StartReplicationTaskResponse) => void): Request; - /** - * Stops the replication task. - */ - stopReplicationTask(params: DMS.Types.StopReplicationTaskMessage, callback?: (err: AWSError, data: DMS.Types.StopReplicationTaskResponse) => void): Request; - /** - * Stops the replication task. - */ - stopReplicationTask(callback?: (err: AWSError, data: DMS.Types.StopReplicationTaskResponse) => void): Request; - /** - * Tests the connection between the replication instance and the endpoint. - */ - testConnection(params: DMS.Types.TestConnectionMessage, callback?: (err: AWSError, data: DMS.Types.TestConnectionResponse) => void): Request; - /** - * Tests the connection between the replication instance and the endpoint. - */ - testConnection(callback?: (err: AWSError, data: DMS.Types.TestConnectionResponse) => void): Request; -} -declare namespace DMS { - export interface AccountQuota { - /** - * The name of the AWS DMS quota for this AWS account. - */ - AccountQuotaName?: String; - /** - * The amount currently used toward the quota maximum. - */ - Used?: Long; - /** - * The maximum allowed value for the quota. - */ - Max?: Long; - } - export type AccountQuotaList = AccountQuota[]; - export interface AddTagsToResourceMessage { - /** - * The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to. AWS DMS resources include a replication instance, endpoint, and a replication task. - */ - ResourceArn: String; - /** - * The tag to be assigned to the DMS resource. - */ - Tags: TagList; - } - export interface AddTagsToResourceResponse { - } - export type AuthMechanismValue = "default"|"mongodb_cr"|"scram_sha_1"|string; - export type AuthTypeValue = "no"|"password"|string; - export interface AvailabilityZone { - /** - * The name of the availability zone. - */ - Name?: String; - } - export type Boolean = boolean; - export type BooleanOptional = boolean; - export interface Certificate { - /** - * The customer-assigned name of the certificate. Valid characters are A-z and 0-9. - */ - CertificateIdentifier?: String; - /** - * The date that the certificate was created. - */ - CertificateCreationDate?: TStamp; - /** - * The contents of the .pem X.509 certificate file for the certificate. - */ - CertificatePem?: String; - /** - * The location of the imported Oracle Wallet certificate for use with SSL. - */ - CertificateWallet?: CertificateWallet; - /** - * The Amazon Resource Name (ARN) for the certificate. - */ - CertificateArn?: String; - /** - * The owner of the certificate. - */ - CertificateOwner?: String; - /** - * The beginning date that the certificate is valid. - */ - ValidFromDate?: TStamp; - /** - * The final date that the certificate is valid. - */ - ValidToDate?: TStamp; - /** - * The signing algorithm for the certificate. - */ - SigningAlgorithm?: String; - /** - * The key length of the cryptographic algorithm being used. - */ - KeyLength?: IntegerOptional; - } - export type CertificateList = Certificate[]; - export type CertificateWallet = Buffer|Uint8Array|Blob|string; - export type CompressionTypeValue = "none"|"gzip"|string; - export interface Connection { - /** - * The Amazon Resource Name (ARN) of the replication instance. - */ - ReplicationInstanceArn?: String; - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - EndpointArn?: String; - /** - * The connection status. - */ - Status?: String; - /** - * The error message when the connection last failed. - */ - LastFailureMessage?: String; - /** - * The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens. - */ - EndpointIdentifier?: String; - /** - * The replication instance identifier. This parameter is stored as a lowercase string. - */ - ReplicationInstanceIdentifier?: String; - } - export type ConnectionList = Connection[]; - export interface CreateEndpointMessage { - /** - * The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens. - */ - EndpointIdentifier: String; - /** - * The type of endpoint. - */ - EndpointType: ReplicationEndpointTypeValue; - /** - * The type of engine for the endpoint. Valid values, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER. - */ - EngineName: String; - /** - * The user name to be used to login to the endpoint database. - */ - Username?: String; - /** - * The password to be used to login to the endpoint database. - */ - Password?: SecretString; - /** - * The name of the server where the endpoint database resides. - */ - ServerName?: String; - /** - * The port used by the endpoint database. - */ - Port?: IntegerOptional; - /** - * The name of the endpoint database. - */ - DatabaseName?: String; - /** - * Additional attributes associated with the connection. - */ - ExtraConnectionAttributes?: String; - /** - * The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. - */ - KmsKeyId?: String; - /** - * Tags to be added to the endpoint. - */ - Tags?: TagList; - /** - * The Amazon Resource Number (ARN) for the certificate. - */ - CertificateArn?: String; - /** - * The SSL mode to use for the SSL connection. SSL mode can be one of four values: none, require, verify-ca, verify-full. The default value is none. - */ - SslMode?: DmsSslModeValue; - /** - * Settings in JSON format for the target Amazon DynamoDB endpoint. For more information about the available settings, see the Using Object Mapping to Migrate Data to DynamoDB section at Using an Amazon DynamoDB Database as a Target for AWS Database Migration Service. - */ - DynamoDbSettings?: DynamoDbSettings; - /** - * Settings in JSON format for the target S3 endpoint. For more information about the available settings, see the Extra Connection Attributes section at Using Amazon S3 as a Target for AWS Database Migration Service. - */ - S3Settings?: S3Settings; - /** - * Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the Configuration Properties When Using MongoDB as a Source for AWS Database Migration Service section at Using Amazon S3 as a Target for AWS Database Migration Service. - */ - MongoDbSettings?: MongoDbSettings; - } - export interface CreateEndpointResponse { - /** - * The endpoint that was created. - */ - Endpoint?: Endpoint; - } - export interface CreateEventSubscriptionMessage { - /** - * The name of the DMS event notification subscription. Constraints: The name must be less than 255 characters. - */ - SubscriptionName: String; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it. - */ - SnsTopicArn: String; - /** - * The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value is not specified, all events are returned. Valid values: replication-instance | migration-task - */ - SourceType?: String; - /** - * A list of event categories for a source type that you want to subscribe to. You can see a list of the categories for a given source type by calling the DescribeEventCategories action or in the topic Working with Events and Notifications in the AWS Database Migration Service User Guide. - */ - EventCategories?: EventCategoriesList; - /** - * The list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens. - */ - SourceIds?: SourceIdsList; - /** - * A Boolean value; set to true to activate the subscription, or set to false to create the subscription but not activate it. - */ - Enabled?: BooleanOptional; - /** - * A tag to be attached to the event subscription. - */ - Tags?: TagList; - } - export interface CreateEventSubscriptionResponse { - /** - * The event subscription that was created. - */ - EventSubscription?: EventSubscription; - } - export interface CreateReplicationInstanceMessage { - /** - * The replication instance identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: myrepinstance - */ - ReplicationInstanceIdentifier: String; - /** - * The amount of storage (in gigabytes) to be initially allocated for the replication instance. - */ - AllocatedStorage?: IntegerOptional; - /** - * The compute and memory capacity of the replication instance as specified by the replication instance class. Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge - */ - ReplicationInstanceClass: String; - /** - * Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * The EC2 Availability Zone that the replication instance will be created in. Default: A random, system-chosen Availability Zone in the endpoint's region. Example: us-east-1d - */ - AvailabilityZone?: String; - /** - * A subnet group to associate with the replication instance. - */ - ReplicationSubnetGroupIdentifier?: String; - /** - * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window. - */ - PreferredMaintenanceWindow?: String; - /** - * Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the Multi-AZ parameter is set to true. - */ - MultiAZ?: BooleanOptional; - /** - * The engine version number of the replication instance. - */ - EngineVersion?: String; - /** - * Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window. Default: true - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * Tags to be associated with the replication instance. - */ - Tags?: TagList; - /** - * The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. - */ - KmsKeyId?: String; - /** - * Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true. - */ - PubliclyAccessible?: BooleanOptional; - } - export interface CreateReplicationInstanceResponse { - /** - * The replication instance that was created. - */ - ReplicationInstance?: ReplicationInstance; - } - export interface CreateReplicationSubnetGroupMessage { - /** - * The name for the replication subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default". Example: mySubnetgroup - */ - ReplicationSubnetGroupIdentifier: String; - /** - * The description for the subnet group. - */ - ReplicationSubnetGroupDescription: String; - /** - * The EC2 subnet IDs for the subnet group. - */ - SubnetIds: SubnetIdentifierList; - /** - * The tag to be assigned to the subnet group. - */ - Tags?: TagList; - } - export interface CreateReplicationSubnetGroupResponse { - /** - * The replication subnet group that was created. - */ - ReplicationSubnetGroup?: ReplicationSubnetGroup; - } - export interface CreateReplicationTaskMessage { - /** - * The replication task identifier. Constraints: Must contain from 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. - */ - ReplicationTaskIdentifier: String; - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - SourceEndpointArn: String; - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - TargetEndpointArn: String; - /** - * The Amazon Resource Name (ARN) of the replication instance. - */ - ReplicationInstanceArn: String; - /** - * The migration type. - */ - MigrationType: MigrationTypeValue; - /** - * When using the AWS CLI or boto3, provide the path of the JSON file that contains the table mappings. Precede the path with "file://". When working with the DMS API, provide the JSON as the parameter value. For example, --table-mappings file://mappingfile.json - */ - TableMappings: String; - /** - * Settings for the task, such as target metadata settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks. - */ - ReplicationTaskSettings?: String; - /** - * The start time for the Change Data Capture (CDC) operation. - */ - CdcStartTime?: TStamp; - /** - * Tags to be added to the replication instance. - */ - Tags?: TagList; - } - export interface CreateReplicationTaskResponse { - /** - * The replication task that was created. - */ - ReplicationTask?: ReplicationTask; - } - export interface DeleteCertificateMessage { - /** - * The Amazon Resource Name (ARN) of the deleted certificate. - */ - CertificateArn: String; - } - export interface DeleteCertificateResponse { - /** - * The Secure Sockets Layer (SSL) certificate. - */ - Certificate?: Certificate; - } - export interface DeleteEndpointMessage { - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - EndpointArn: String; - } - export interface DeleteEndpointResponse { - /** - * The endpoint that was deleted. - */ - Endpoint?: Endpoint; - } - export interface DeleteEventSubscriptionMessage { - /** - * The name of the DMS event notification subscription to be deleted. - */ - SubscriptionName: String; - } - export interface DeleteEventSubscriptionResponse { - /** - * The event subscription that was deleted. - */ - EventSubscription?: EventSubscription; - } - export interface DeleteReplicationInstanceMessage { - /** - * The Amazon Resource Name (ARN) of the replication instance to be deleted. - */ - ReplicationInstanceArn: String; - } - export interface DeleteReplicationInstanceResponse { - /** - * The replication instance that was deleted. - */ - ReplicationInstance?: ReplicationInstance; - } - export interface DeleteReplicationSubnetGroupMessage { - /** - * The subnet group name of the replication instance. - */ - ReplicationSubnetGroupIdentifier: String; - } - export interface DeleteReplicationSubnetGroupResponse { - } - export interface DeleteReplicationTaskMessage { - /** - * The Amazon Resource Name (ARN) of the replication task to be deleted. - */ - ReplicationTaskArn: String; - } - export interface DeleteReplicationTaskResponse { - /** - * The deleted replication task. - */ - ReplicationTask?: ReplicationTask; - } - export interface DescribeAccountAttributesMessage { - } - export interface DescribeAccountAttributesResponse { - /** - * Account quota information. - */ - AccountQuotas?: AccountQuotaList; - } - export interface DescribeCertificatesMessage { - /** - * Filters applied to the certificate described in the form of key-value pairs. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 10 - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeCertificatesResponse { - /** - * The pagination token. - */ - Marker?: String; - /** - * The Secure Sockets Layer (SSL) certificates associated with the replication instance. - */ - Certificates?: CertificateList; - } - export interface DescribeConnectionsMessage { - /** - * The filters applied to the connection. Valid filter names: endpoint-arn | replication-instance-arn - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeConnectionsResponse { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A description of the connections. - */ - Connections?: ConnectionList; - } - export interface DescribeEndpointTypesMessage { - /** - * Filters applied to the describe action. Valid filter names: engine-name | endpoint-type - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeEndpointTypesResponse { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * The type of endpoints that are supported. - */ - SupportedEndpointTypes?: SupportedEndpointTypeList; - } - export interface DescribeEndpointsMessage { - /** - * Filters applied to the describe action. Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeEndpointsResponse { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * Endpoint description. - */ - Endpoints?: EndpointList; - } - export interface DescribeEventCategoriesMessage { - /** - * The type of AWS DMS resource that generates events. Valid values: replication-instance | migration-task - */ - SourceType?: String; - /** - * Filters applied to the action. - */ - Filters?: FilterList; - } - export interface DescribeEventCategoriesResponse { - /** - * A list of event categories. - */ - EventCategoryGroupList?: EventCategoryGroupList; - } - export interface DescribeEventSubscriptionsMessage { - /** - * The name of the AWS DMS event subscription to be described. - */ - SubscriptionName?: String; - /** - * Filters applied to the action. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeEventSubscriptionsResponse { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of event subscriptions. - */ - EventSubscriptionsList?: EventSubscriptionsList; - } - export interface DescribeEventsMessage { - /** - * The identifier of the event source. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It cannot end with a hyphen or contain two consecutive hyphens. - */ - SourceIdentifier?: String; - /** - * The type of AWS DMS resource that generates events. Valid values: replication-instance | migration-task - */ - SourceType?: SourceType; - /** - * The start time for the events to be listed. - */ - StartTime?: TStamp; - /** - * The end time for the events to be listed. - */ - EndTime?: TStamp; - /** - * The duration of the events to be listed. - */ - Duration?: IntegerOptional; - /** - * A list of event categories for a source type that you want to subscribe to. - */ - EventCategories?: EventCategoriesList; - /** - * Filters applied to the action. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeEventsResponse { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * The events described. - */ - Events?: EventList; - } - export interface DescribeOrderableReplicationInstancesMessage { - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeOrderableReplicationInstancesResponse { - /** - * The order-able replication instances available. - */ - OrderableReplicationInstances?: OrderableReplicationInstanceList; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeRefreshSchemasStatusMessage { - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - EndpointArn: String; - } - export interface DescribeRefreshSchemasStatusResponse { - /** - * The status of the schema. - */ - RefreshSchemasStatus?: RefreshSchemasStatus; - } - export interface DescribeReplicationInstancesMessage { - /** - * Filters applied to the describe action. Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeReplicationInstancesResponse { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * The replication instances described. - */ - ReplicationInstances?: ReplicationInstanceList; - } - export interface DescribeReplicationSubnetGroupsMessage { - /** - * Filters applied to the describe action. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeReplicationSubnetGroupsResponse { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A description of the replication subnet groups. - */ - ReplicationSubnetGroups?: ReplicationSubnetGroups; - } - export interface DescribeReplicationTasksMessage { - /** - * Filters applied to the describe action. Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeReplicationTasksResponse { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A description of the replication tasks. - */ - ReplicationTasks?: ReplicationTaskList; - } - export interface DescribeSchemasMessage { - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - EndpointArn: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeSchemasResponse { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * The described schema. - */ - Schemas?: SchemaList; - } - export interface DescribeTableStatisticsMessage { - /** - * The Amazon Resource Name (ARN) of the replication task. - */ - ReplicationTaskArn: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeTableStatisticsResponse { - /** - * The Amazon Resource Name (ARN) of the replication task. - */ - ReplicationTaskArn?: String; - /** - * The table statistics. - */ - TableStatistics?: TableStatisticsList; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export type DmsSslModeValue = "none"|"require"|"verify-ca"|"verify-full"|string; - export interface DynamoDbSettings { - /** - * The Amazon Resource Name (ARN) used by the service access IAM role. - */ - ServiceAccessRoleArn: String; - } - export interface Endpoint { - /** - * The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens. - */ - EndpointIdentifier?: String; - /** - * The type of endpoint. - */ - EndpointType?: ReplicationEndpointTypeValue; - /** - * The database engine name. Valid values, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER. - */ - EngineName?: String; - /** - * The user name used to connect to the endpoint. - */ - Username?: String; - /** - * The name of the server at the endpoint. - */ - ServerName?: String; - /** - * The port value used to access the endpoint. - */ - Port?: IntegerOptional; - /** - * The name of the database at the endpoint. - */ - DatabaseName?: String; - /** - * Additional connection attributes used to connect to the endpoint. - */ - ExtraConnectionAttributes?: String; - /** - * The status of the endpoint. - */ - Status?: String; - /** - * The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. - */ - KmsKeyId?: String; - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - EndpointArn?: String; - /** - * The Amazon Resource Name (ARN) used for SSL connection to the endpoint. - */ - CertificateArn?: String; - /** - * The SSL mode used to connect to the endpoint. SSL mode can be one of four values: none, require, verify-ca, verify-full. The default value is none. - */ - SslMode?: DmsSslModeValue; - /** - * Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account. - */ - ExternalId?: String; - /** - * The settings for the target DynamoDB database. For more information, see the DynamoDBSettings structure. - */ - DynamoDbSettings?: DynamoDbSettings; - /** - * The settings for the S3 target endpoint. For more information, see the S3Settings structure. - */ - S3Settings?: S3Settings; - /** - * The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings structure. - */ - MongoDbSettings?: MongoDbSettings; - } - export type EndpointList = Endpoint[]; - export interface Event { - /** - * The identifier of the event source. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens. Constraints:replication instance, endpoint, migration task - */ - SourceIdentifier?: String; - /** - * The type of AWS DMS resource that generates events. Valid values: replication-instance | endpoint | migration-task - */ - SourceType?: SourceType; - /** - * The event message. - */ - Message?: String; - /** - * The event categories available for the specified source type. - */ - EventCategories?: EventCategoriesList; - /** - * The date of the event. - */ - Date?: TStamp; - } - export type EventCategoriesList = String[]; - export interface EventCategoryGroup { - /** - * The type of AWS DMS resource that generates events. Valid values: replication-instance | replication-server | security-group | migration-task - */ - SourceType?: String; - /** - * A list of event categories for a SourceType that you want to subscribe to. - */ - EventCategories?: EventCategoriesList; - } - export type EventCategoryGroupList = EventCategoryGroup[]; - export type EventList = Event[]; - export interface EventSubscription { - /** - * The AWS customer account associated with the AWS DMS event notification subscription. - */ - CustomerAwsId?: String; - /** - * The AWS DMS event notification subscription Id. - */ - CustSubscriptionId?: String; - /** - * The topic ARN of the AWS DMS event notification subscription. - */ - SnsTopicArn?: String; - /** - * The status of the AWS DMS event notification subscription. Constraints: Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist The status "no-permission" indicates that AWS DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created. - */ - Status?: String; - /** - * The time the RDS event notification subscription was created. - */ - SubscriptionCreationTime?: String; - /** - * The type of AWS DMS resource that generates events. Valid values: replication-instance | replication-server | security-group | migration-task - */ - SourceType?: String; - /** - * A list of source Ids for the event subscription. - */ - SourceIdsList?: SourceIdsList; - /** - * A lists of event categories. - */ - EventCategoriesList?: EventCategoriesList; - /** - * Boolean value that indicates if the event subscription is enabled. - */ - Enabled?: Boolean; - } - export type EventSubscriptionsList = EventSubscription[]; - export type ExceptionMessage = string; - export interface Filter { - /** - * The name of the filter. - */ - Name: String; - /** - * The filter value. - */ - Values: FilterValueList; - } - export type FilterList = Filter[]; - export type FilterValueList = String[]; - export interface ImportCertificateMessage { - /** - * The customer-assigned name of the certificate. Valid characters are A-z and 0-9. - */ - CertificateIdentifier: String; - /** - * The contents of the .pem X.509 certificate file for the certificate. - */ - CertificatePem?: String; - /** - * The location of the imported Oracle Wallet certificate for use with SSL. - */ - CertificateWallet?: CertificateWallet; - /** - * The tags associated with the certificate. - */ - Tags?: TagList; - } - export interface ImportCertificateResponse { - /** - * The certificate to be uploaded. - */ - Certificate?: Certificate; - } - export type Integer = number; - export type IntegerOptional = number; - export type KeyList = String[]; - export interface ListTagsForResourceMessage { - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the AWS DMS resource. - */ - ResourceArn: String; - } - export interface ListTagsForResourceResponse { - /** - * A list of tags for the resource. - */ - TagList?: TagList; - } - export type Long = number; - export type MigrationTypeValue = "full-load"|"cdc"|"full-load-and-cdc"|string; - export interface ModifyEndpointMessage { - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - EndpointArn: String; - /** - * The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens. - */ - EndpointIdentifier?: String; - /** - * The type of endpoint. - */ - EndpointType?: ReplicationEndpointTypeValue; - /** - * The type of engine for the endpoint. Valid values, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, DYNAMODB, MONGODB, SYBASE, and SQLSERVER. - */ - EngineName?: String; - /** - * The user name to be used to login to the endpoint database. - */ - Username?: String; - /** - * The password to be used to login to the endpoint database. - */ - Password?: SecretString; - /** - * The name of the server where the endpoint database resides. - */ - ServerName?: String; - /** - * The port used by the endpoint database. - */ - Port?: IntegerOptional; - /** - * The name of the endpoint database. - */ - DatabaseName?: String; - /** - * Additional attributes associated with the connection. - */ - ExtraConnectionAttributes?: String; - /** - * The Amazon Resource Name (ARN) of the certificate used for SSL connection. - */ - CertificateArn?: String; - /** - * The SSL mode to be used. SSL mode can be one of four values: none, require, verify-ca, verify-full. The default value is none. - */ - SslMode?: DmsSslModeValue; - /** - * Settings in JSON format for the target Amazon DynamoDB endpoint. For more information about the available settings, see the Using Object Mapping to Migrate Data to DynamoDB section at Using an Amazon DynamoDB Database as a Target for AWS Database Migration Service. - */ - DynamoDbSettings?: DynamoDbSettings; - /** - * Settings in JSON format for the target S3 endpoint. For more information about the available settings, see the Extra Connection Attributes section at Using Amazon S3 as a Target for AWS Database Migration Service. - */ - S3Settings?: S3Settings; - /** - * Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the Configuration Properties When Using MongoDB as a Source for AWS Database Migration Service section at Using Amazon S3 as a Target for AWS Database Migration Service. - */ - MongoDbSettings?: MongoDbSettings; - } - export interface ModifyEndpointResponse { - /** - * The modified endpoint. - */ - Endpoint?: Endpoint; - } - export interface ModifyEventSubscriptionMessage { - /** - * The name of the AWS DMS event notification subscription to be modified. - */ - SubscriptionName: String; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it. - */ - SnsTopicArn?: String; - /** - * The type of AWS DMS resource that generates the events you want to subscribe to. Valid values: replication-instance | migration-task - */ - SourceType?: String; - /** - * A list of event categories for a source type that you want to subscribe to. Use the DescribeEventCategories action to see a list of event categories. - */ - EventCategories?: EventCategoriesList; - /** - * A Boolean value; set to true to activate the subscription. - */ - Enabled?: BooleanOptional; - } - export interface ModifyEventSubscriptionResponse { - /** - * The modified event subscription. - */ - EventSubscription?: EventSubscription; - } - export interface ModifyReplicationInstanceMessage { - /** - * The Amazon Resource Name (ARN) of the replication instance. - */ - ReplicationInstanceArn: String; - /** - * The amount of storage (in gigabytes) to be allocated for the replication instance. - */ - AllocatedStorage?: IntegerOptional; - /** - * Indicates whether the changes should be applied immediately or during the next maintenance window. - */ - ApplyImmediately?: Boolean; - /** - * The compute and memory capacity of the replication instance. Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge - */ - ReplicationInstanceClass?: String; - /** - * Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied. Default: Uses existing setting Format: ddd:hh24:mi-ddd:hh24:mi Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Must be at least 30 minutes - */ - PreferredMaintenanceWindow?: String; - /** - * Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the Multi-AZ parameter is set to true. - */ - MultiAZ?: BooleanOptional; - /** - * The engine version number of the replication instance. - */ - EngineVersion?: String; - /** - * Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible. Constraints: This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the replication instance's current version. - */ - AllowMajorVersionUpgrade?: Boolean; - /** - * Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window. Changing this parameter does not result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to true during the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version. - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * The replication instance identifier. This parameter is stored as a lowercase string. - */ - ReplicationInstanceIdentifier?: String; - } - export interface ModifyReplicationInstanceResponse { - /** - * The modified replication instance. - */ - ReplicationInstance?: ReplicationInstance; - } - export interface ModifyReplicationSubnetGroupMessage { - /** - * The name of the replication instance subnet group. - */ - ReplicationSubnetGroupIdentifier: String; - /** - * The description of the replication instance subnet group. - */ - ReplicationSubnetGroupDescription?: String; - /** - * A list of subnet IDs. - */ - SubnetIds: SubnetIdentifierList; - } - export interface ModifyReplicationSubnetGroupResponse { - /** - * The modified replication subnet group. - */ - ReplicationSubnetGroup?: ReplicationSubnetGroup; - } - export interface ModifyReplicationTaskMessage { - /** - * The Amazon Resource Name (ARN) of the replication task. - */ - ReplicationTaskArn: String; - /** - * The replication task identifier. Constraints: Must contain from 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. - */ - ReplicationTaskIdentifier?: String; - /** - * The migration type. Valid values: full-load | cdc | full-load-and-cdc - */ - MigrationType?: MigrationTypeValue; - /** - * When using the AWS CLI or boto3, provide the path of the JSON file that contains the table mappings. Precede the path with "file://". When working with the DMS API, provide the JSON as the parameter value. For example, --table-mappings file://mappingfile.json - */ - TableMappings?: String; - /** - * JSON file that contains settings for the task, such as target metadata settings. - */ - ReplicationTaskSettings?: String; - /** - * The start time for the Change Data Capture (CDC) operation. - */ - CdcStartTime?: TStamp; - } - export interface ModifyReplicationTaskResponse { - /** - * The replication task that was modified. - */ - ReplicationTask?: ReplicationTask; - } - export interface MongoDbSettings { - /** - * The user name you use to access the MongoDB source endpoint. - */ - Username?: String; - /** - * The password for the user account you use to access the MongoDB source endpoint. - */ - Password?: SecretString; - /** - * The name of the server on the MongoDB source endpoint. - */ - ServerName?: String; - /** - * The port value for the MongoDB source endpoint. - */ - Port?: IntegerOptional; - /** - * The database name on the MongoDB source endpoint. - */ - DatabaseName?: String; - /** - * The authentication type you use to access the MongoDB source endpoint. Valid values: NO, PASSWORD When NO is selected, user name and password parameters are not used and can be empty. - */ - AuthType?: AuthTypeValue; - /** - * The authentication mechanism you use to access the MongoDB source endpoint. Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1 DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, use SCRAM_SHA_1. This attribute is not used when authType=No. - */ - AuthMechanism?: AuthMechanismValue; - /** - * Specifies either document or table mode. Valid values: NONE, ONE Default value is NONE. Specify NONE to use document mode. Specify ONE to use table mode. - */ - NestingLevel?: NestingLevelValue; - /** - * Specifies the document ID. Use this attribute when NestingLevel is set to NONE. Default value is false. - */ - ExtractDocId?: String; - /** - * Indicates the number of documents to preview to determine the document organization. Use this attribute when NestingLevel is set to ONE. Must be a positive value greater than 0. Default value is 1000. - */ - DocsToInvestigate?: String; - /** - * The MongoDB database name. This attribute is not used when authType=NO. The default is admin. - */ - AuthSource?: String; - } - export type NestingLevelValue = "none"|"one"|string; - export interface OrderableReplicationInstance { - /** - * The version of the replication engine. - */ - EngineVersion?: String; - /** - * The compute and memory capacity of the replication instance. Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge - */ - ReplicationInstanceClass?: String; - /** - * The type of storage used by the replication instance. - */ - StorageType?: String; - /** - * The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. - */ - MinAllocatedStorage?: Integer; - /** - * The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. - */ - MaxAllocatedStorage?: Integer; - /** - * The default amount of storage (in gigabytes) that is allocated for the replication instance. - */ - DefaultAllocatedStorage?: Integer; - /** - * The amount of storage (in gigabytes) that is allocated for the replication instance. - */ - IncludedAllocatedStorage?: Integer; - } - export type OrderableReplicationInstanceList = OrderableReplicationInstance[]; - export interface RefreshSchemasMessage { - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - EndpointArn: String; - /** - * The Amazon Resource Name (ARN) of the replication instance. - */ - ReplicationInstanceArn: String; - } - export interface RefreshSchemasResponse { - /** - * The status of the refreshed schema. - */ - RefreshSchemasStatus?: RefreshSchemasStatus; - } - export interface RefreshSchemasStatus { - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - EndpointArn?: String; - /** - * The Amazon Resource Name (ARN) of the replication instance. - */ - ReplicationInstanceArn?: String; - /** - * The status of the schema. - */ - Status?: RefreshSchemasStatusTypeValue; - /** - * The date the schema was last refreshed. - */ - LastRefreshDate?: TStamp; - /** - * The last failure message for the schema. - */ - LastFailureMessage?: String; - } - export type RefreshSchemasStatusTypeValue = "successful"|"failed"|"refreshing"|string; - export interface ReloadTablesMessage { - /** - * The Amazon Resource Name (ARN) of the replication instance. - */ - ReplicationTaskArn: String; - /** - * The name and schema of the table to be reloaded. - */ - TablesToReload: TableListToReload; - } - export interface ReloadTablesResponse { - /** - * The Amazon Resource Name (ARN) of the replication task. - */ - ReplicationTaskArn?: String; - } - export interface RemoveTagsFromResourceMessage { - /** - * >The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be removed from. - */ - ResourceArn: String; - /** - * The tag key (name) of the tag to be removed. - */ - TagKeys: KeyList; - } - export interface RemoveTagsFromResourceResponse { - } - export type ReplicationEndpointTypeValue = "source"|"target"|string; - export interface ReplicationInstance { - /** - * The replication instance identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: myrepinstance - */ - ReplicationInstanceIdentifier?: String; - /** - * The compute and memory capacity of the replication instance. Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge - */ - ReplicationInstanceClass?: String; - /** - * The status of the replication instance. - */ - ReplicationInstanceStatus?: String; - /** - * The amount of storage (in gigabytes) that is allocated for the replication instance. - */ - AllocatedStorage?: Integer; - /** - * The time the replication instance was created. - */ - InstanceCreateTime?: TStamp; - /** - * The VPC security group for the instance. - */ - VpcSecurityGroups?: VpcSecurityGroupMembershipList; - /** - * The Availability Zone for the instance. - */ - AvailabilityZone?: String; - /** - * The subnet group for the replication instance. - */ - ReplicationSubnetGroup?: ReplicationSubnetGroup; - /** - * The maintenance window times for the replication instance. - */ - PreferredMaintenanceWindow?: String; - /** - * The pending modification values. - */ - PendingModifiedValues?: ReplicationPendingModifiedValues; - /** - * Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the Multi-AZ parameter is set to true. - */ - MultiAZ?: Boolean; - /** - * The engine version number of the replication instance. - */ - EngineVersion?: String; - /** - * Boolean value indicating if minor version upgrades will be automatically applied to the instance. - */ - AutoMinorVersionUpgrade?: Boolean; - /** - * The KMS key identifier that is used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. - */ - KmsKeyId?: String; - /** - * The Amazon Resource Name (ARN) of the replication instance. - */ - ReplicationInstanceArn?: String; - /** - * The public IP address of the replication instance. - */ - ReplicationInstancePublicIpAddress?: String; - /** - * The private IP address of the replication instance. - */ - ReplicationInstancePrivateIpAddress?: String; - /** - * The public IP address of the replication instance. - */ - ReplicationInstancePublicIpAddresses?: ReplicationInstancePublicIpAddressList; - /** - * The private IP address of the replication instance. - */ - ReplicationInstancePrivateIpAddresses?: ReplicationInstancePrivateIpAddressList; - /** - * Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true. - */ - PubliclyAccessible?: Boolean; - /** - * The availability zone of the standby replication instance in a Multi-AZ deployment. - */ - SecondaryAvailabilityZone?: String; - } - export type ReplicationInstanceList = ReplicationInstance[]; - export type ReplicationInstancePrivateIpAddressList = String[]; - export type ReplicationInstancePublicIpAddressList = String[]; - export interface ReplicationPendingModifiedValues { - /** - * The compute and memory capacity of the replication instance. Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge - */ - ReplicationInstanceClass?: String; - /** - * The amount of storage (in gigabytes) that is allocated for the replication instance. - */ - AllocatedStorage?: IntegerOptional; - /** - * Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the Multi-AZ parameter is set to true. - */ - MultiAZ?: BooleanOptional; - /** - * The engine version number of the replication instance. - */ - EngineVersion?: String; - } - export interface ReplicationSubnetGroup { - /** - * The identifier of the replication instance subnet group. - */ - ReplicationSubnetGroupIdentifier?: String; - /** - * The description of the replication subnet group. - */ - ReplicationSubnetGroupDescription?: String; - /** - * The ID of the VPC. - */ - VpcId?: String; - /** - * The status of the subnet group. - */ - SubnetGroupStatus?: String; - /** - * The subnets that are in the subnet group. - */ - Subnets?: SubnetList; - } - export type ReplicationSubnetGroups = ReplicationSubnetGroup[]; - export interface ReplicationTask { - /** - * The replication task identifier. Constraints: Must contain from 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. - */ - ReplicationTaskIdentifier?: String; - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - SourceEndpointArn?: String; - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - TargetEndpointArn?: String; - /** - * The Amazon Resource Name (ARN) of the replication instance. - */ - ReplicationInstanceArn?: String; - /** - * The type of migration. - */ - MigrationType?: MigrationTypeValue; - /** - * Table mappings specified in the task. - */ - TableMappings?: String; - /** - * The settings for the replication task. - */ - ReplicationTaskSettings?: String; - /** - * The status of the replication task. - */ - Status?: String; - /** - * The last error (failure) message generated for the replication instance. - */ - LastFailureMessage?: String; - /** - * The reason the replication task was stopped. - */ - StopReason?: String; - /** - * The date the replication task was created. - */ - ReplicationTaskCreationDate?: TStamp; - /** - * The date the replication task is scheduled to start. - */ - ReplicationTaskStartDate?: TStamp; - /** - * The Amazon Resource Name (ARN) of the replication task. - */ - ReplicationTaskArn?: String; - /** - * The statistics for the task, including elapsed time, tables loaded, and table errors. - */ - ReplicationTaskStats?: ReplicationTaskStats; - } - export type ReplicationTaskList = ReplicationTask[]; - export interface ReplicationTaskStats { - /** - * The percent complete for the full load migration task. - */ - FullLoadProgressPercent?: Integer; - /** - * The elapsed time of the task, in milliseconds. - */ - ElapsedTimeMillis?: Long; - /** - * The number of tables loaded for this task. - */ - TablesLoaded?: Integer; - /** - * The number of tables currently loading for this task. - */ - TablesLoading?: Integer; - /** - * The number of tables queued for this task. - */ - TablesQueued?: Integer; - /** - * The number of errors that have occurred during this task. - */ - TablesErrored?: Integer; - } - export interface S3Settings { - /** - * The Amazon Resource Name (ARN) used by the service access IAM role. - */ - ServiceAccessRoleArn?: String; - /** - * - */ - ExternalTableDefinition?: String; - /** - * The delimiter used to separate rows in the source files. The default is a carriage return (\n). - */ - CsvRowDelimiter?: String; - /** - * The delimiter used to separate columns in the source files. The default is a comma. - */ - CsvDelimiter?: String; - /** - * An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path <bucketFolder>/<schema_name>/<table_name>/. If this parameter is not specified, then the path used is <schema_name>/<table_name>/. - */ - BucketFolder?: String; - /** - * The name of the S3 bucket. - */ - BucketName?: String; - /** - * An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Set to NONE (the default) or do not use to leave the files uncompressed. - */ - CompressionType?: CompressionTypeValue; - } - export type SchemaList = String[]; - export type SecretString = string; - export type SourceIdsList = String[]; - export type SourceType = "replication-instance"|string; - export interface StartReplicationTaskMessage { - /** - * The Amazon Resource Number (ARN) of the replication task to be started. - */ - ReplicationTaskArn: String; - /** - * The type of replication task. - */ - StartReplicationTaskType: StartReplicationTaskTypeValue; - /** - * The start time for the Change Data Capture (CDC) operation. - */ - CdcStartTime?: TStamp; - } - export interface StartReplicationTaskResponse { - /** - * The replication task started. - */ - ReplicationTask?: ReplicationTask; - } - export type StartReplicationTaskTypeValue = "start-replication"|"resume-processing"|"reload-target"|string; - export interface StopReplicationTaskMessage { - /** - * The Amazon Resource Number(ARN) of the replication task to be stopped. - */ - ReplicationTaskArn: String; - } - export interface StopReplicationTaskResponse { - /** - * The replication task stopped. - */ - ReplicationTask?: ReplicationTask; - } - export type String = string; - export interface Subnet { - /** - * The subnet identifier. - */ - SubnetIdentifier?: String; - /** - * The Availability Zone of the subnet. - */ - SubnetAvailabilityZone?: AvailabilityZone; - /** - * The status of the subnet. - */ - SubnetStatus?: String; - } - export type SubnetIdentifierList = String[]; - export type SubnetList = Subnet[]; - export interface SupportedEndpointType { - /** - * The database engine name. Valid values, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER. - */ - EngineName?: String; - /** - * Indicates if Change Data Capture (CDC) is supported. - */ - SupportsCDC?: Boolean; - /** - * The type of endpoint. - */ - EndpointType?: ReplicationEndpointTypeValue; - } - export type SupportedEndpointTypeList = SupportedEndpointType[]; - export type TStamp = Date; - export type TableListToReload = TableToReload[]; - export interface TableStatistics { - /** - * The schema name. - */ - SchemaName?: String; - /** - * The name of the table. - */ - TableName?: String; - /** - * The number of insert actions performed on a table. - */ - Inserts?: Long; - /** - * The number of delete actions performed on a table. - */ - Deletes?: Long; - /** - * The number of update actions performed on a table. - */ - Updates?: Long; - /** - * The Data Definition Language (DDL) used to build and modify the structure of your tables. - */ - Ddls?: Long; - /** - * The number of rows added during the Full Load operation. - */ - FullLoadRows?: Long; - /** - * The number of rows that failed conditional checks during the Full Load operation (valid only for DynamoDB as a target migrations). - */ - FullLoadCondtnlChkFailedRows?: Long; - /** - * The number of rows that failed to load during the Full Load operation (valid only for DynamoDB as a target migrations). - */ - FullLoadErrorRows?: Long; - /** - * The last time the table was updated. - */ - LastUpdateTime?: TStamp; - /** - * The state of the table. - */ - TableState?: String; - } - export type TableStatisticsList = TableStatistics[]; - export interface TableToReload { - /** - * The schema name of the table to be reloaded. - */ - SchemaName?: String; - /** - * The table name of the table to be reloaded. - */ - TableName?: String; - } - export interface Tag { - /** - * A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and cannot be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). - */ - Key?: String; - /** - * A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and cannot be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). - */ - Value?: String; - } - export type TagList = Tag[]; - export interface TestConnectionMessage { - /** - * The Amazon Resource Name (ARN) of the replication instance. - */ - ReplicationInstanceArn: String; - /** - * The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. - */ - EndpointArn: String; - } - export interface TestConnectionResponse { - /** - * The connection tested. - */ - Connection?: Connection; - } - export type VpcSecurityGroupIdList = String[]; - export interface VpcSecurityGroupMembership { - /** - * The VPC security group Id. - */ - VpcSecurityGroupId?: String; - /** - * The status of the VPC security group. - */ - Status?: String; - } - export type VpcSecurityGroupMembershipList = VpcSecurityGroupMembership[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-01-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the DMS client. - */ - export import Types = DMS; -} -export = DMS; diff --git a/src/node_modules/aws-sdk/clients/dms.js b/src/node_modules/aws-sdk/clients/dms.js deleted file mode 100644 index ea40a38..0000000 --- a/src/node_modules/aws-sdk/clients/dms.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['dms'] = {}; -AWS.DMS = Service.defineService('dms', ['2016-01-01']); -Object.defineProperty(apiLoader.services['dms'], '2016-01-01', { - get: function get() { - var model = require('../apis/dms-2016-01-01.min.json'); - model.paginators = require('../apis/dms-2016-01-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DMS; diff --git a/src/node_modules/aws-sdk/clients/dynamodb.d.ts b/src/node_modules/aws-sdk/clients/dynamodb.d.ts deleted file mode 100644 index 1ba6345..0000000 --- a/src/node_modules/aws-sdk/clients/dynamodb.d.ts +++ /dev/null @@ -1,1384 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {DynamoDBCustomizations} from '../lib/services/dynamodb'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -import {DocumentClient as document_client} from '../lib/dynamodb/document_client'; -import {Converter as converter} from '../lib/dynamodb/converter'; -interface Blob {} -declare class DynamoDB extends DynamoDBCustomizations { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: DynamoDB.Types.ClientConfiguration) - config: Config & DynamoDB.Types.ClientConfiguration; - /** - * The BatchGetItem operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key. A single operation can retrieve up to 16 MB of data, which can contain as many as 100 items. BatchGetItem will return a partial result if the response size limit is exceeded, the table's provisioned throughput is exceeded, or an internal processing failure occurs. If a partial result is returned, the operation returns a value for UnprocessedKeys. You can use this value to retry the operation starting with the next item to get. If you request more than 100 items BatchGetItem will return a ValidationException with the message "Too many items requested for the BatchGetItem call". For example, if you ask to retrieve 100 items, but each individual item is 300 KB in size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns an appropriate UnprocessedKeys value so you can get the next page of results. If desired, your application can include its own logic to assemble the pages of results into one data set. If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchGetItem will return a ProvisionedThroughputExceededException. If at least one of the items is successfully processed, then BatchGetItem completes successfully, while returning the keys of the unread items in UnprocessedKeys. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. By default, BatchGetItem performs eventually consistent reads on every table in the request. If you want strongly consistent reads instead, you can set ConsistentRead to true for any or all tables. In order to minimize response latency, BatchGetItem retrieves items in parallel. When designing your application, keep in mind that DynamoDB does not return items in any particular order. To help parse the response by item, include the primary key values for the items in your request in the ProjectionExpression parameter. If a requested item does not exist, it is not returned in the result. Requests for nonexistent items consume the minimum read capacity units according to the type of read. For more information, see Capacity Units Calculations in the Amazon DynamoDB Developer Guide. - */ - batchGetItem(params: DynamoDB.Types.BatchGetItemInput, callback?: (err: AWSError, data: DynamoDB.Types.BatchGetItemOutput) => void): Request; - /** - * The BatchGetItem operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key. A single operation can retrieve up to 16 MB of data, which can contain as many as 100 items. BatchGetItem will return a partial result if the response size limit is exceeded, the table's provisioned throughput is exceeded, or an internal processing failure occurs. If a partial result is returned, the operation returns a value for UnprocessedKeys. You can use this value to retry the operation starting with the next item to get. If you request more than 100 items BatchGetItem will return a ValidationException with the message "Too many items requested for the BatchGetItem call". For example, if you ask to retrieve 100 items, but each individual item is 300 KB in size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns an appropriate UnprocessedKeys value so you can get the next page of results. If desired, your application can include its own logic to assemble the pages of results into one data set. If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchGetItem will return a ProvisionedThroughputExceededException. If at least one of the items is successfully processed, then BatchGetItem completes successfully, while returning the keys of the unread items in UnprocessedKeys. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. By default, BatchGetItem performs eventually consistent reads on every table in the request. If you want strongly consistent reads instead, you can set ConsistentRead to true for any or all tables. In order to minimize response latency, BatchGetItem retrieves items in parallel. When designing your application, keep in mind that DynamoDB does not return items in any particular order. To help parse the response by item, include the primary key values for the items in your request in the ProjectionExpression parameter. If a requested item does not exist, it is not returned in the result. Requests for nonexistent items consume the minimum read capacity units according to the type of read. For more information, see Capacity Units Calculations in the Amazon DynamoDB Developer Guide. - */ - batchGetItem(callback?: (err: AWSError, data: DynamoDB.Types.BatchGetItemOutput) => void): Request; - /** - * The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can write up to 16 MB of data, which can comprise as many as 25 put or delete requests. Individual items to be written can be as large as 400 KB. BatchWriteItem cannot update items. To update items, use the UpdateItem action. The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed. Note that if none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem will return a ProvisionedThroughputExceededException. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon Elastic MapReduce (EMR), or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response. If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application. Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit. If one or more of the following is true, DynamoDB rejects the entire batch write operation: One or more tables specified in the BatchWriteItem request does not exist. Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema. You try to perform multiple operations on the same item in the same BatchWriteItem request. For example, you cannot put and delete the same item in the same BatchWriteItem request. There are more than 25 requests in the batch. Any individual item in a batch exceeds 400 KB. The total request size exceeds 16 MB. - */ - batchWriteItem(params: DynamoDB.Types.BatchWriteItemInput, callback?: (err: AWSError, data: DynamoDB.Types.BatchWriteItemOutput) => void): Request; - /** - * The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can write up to 16 MB of data, which can comprise as many as 25 put or delete requests. Individual items to be written can be as large as 400 KB. BatchWriteItem cannot update items. To update items, use the UpdateItem action. The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed. Note that if none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem will return a ProvisionedThroughputExceededException. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon Elastic MapReduce (EMR), or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response. If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application. Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit. If one or more of the following is true, DynamoDB rejects the entire batch write operation: One or more tables specified in the BatchWriteItem request does not exist. Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema. You try to perform multiple operations on the same item in the same BatchWriteItem request. For example, you cannot put and delete the same item in the same BatchWriteItem request. There are more than 25 requests in the batch. Any individual item in a batch exceeds 400 KB. The total request size exceeds 16 MB. - */ - batchWriteItem(callback?: (err: AWSError, data: DynamoDB.Types.BatchWriteItemOutput) => void): Request; - /** - * The CreateTable operation adds a new table to your account. In an AWS account, table names must be unique within each region. That is, you can have two tables with same name if you create the tables in different regions. CreateTable is an asynchronous operation. Upon receiving a CreateTable request, DynamoDB immediately returns a response with a TableStatus of CREATING. After the table is created, DynamoDB sets the TableStatus to ACTIVE. You can perform read and write operations only on an ACTIVE table. You can optionally define secondary indexes on the new table, as part of the CreateTable operation. If you want to create multiple tables with secondary indexes on them, you must create the tables sequentially. Only one table with secondary indexes can be in the CREATING state at any given time. You can use the DescribeTable action to check the table status. - */ - createTable(params: DynamoDB.Types.CreateTableInput, callback?: (err: AWSError, data: DynamoDB.Types.CreateTableOutput) => void): Request; - /** - * The CreateTable operation adds a new table to your account. In an AWS account, table names must be unique within each region. That is, you can have two tables with same name if you create the tables in different regions. CreateTable is an asynchronous operation. Upon receiving a CreateTable request, DynamoDB immediately returns a response with a TableStatus of CREATING. After the table is created, DynamoDB sets the TableStatus to ACTIVE. You can perform read and write operations only on an ACTIVE table. You can optionally define secondary indexes on the new table, as part of the CreateTable operation. If you want to create multiple tables with secondary indexes on them, you must create the tables sequentially. Only one table with secondary indexes can be in the CREATING state at any given time. You can use the DescribeTable action to check the table status. - */ - createTable(callback?: (err: AWSError, data: DynamoDB.Types.CreateTableOutput) => void): Request; - /** - * Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value. In addition to deleting an item, you can also return the item's attribute values in the same operation, using the ReturnValues parameter. Unless you specify conditions, the DeleteItem is an idempotent operation; running it multiple times on the same item or attribute does not result in an error response. Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted. - */ - deleteItem(params: DynamoDB.Types.DeleteItemInput, callback?: (err: AWSError, data: DynamoDB.Types.DeleteItemOutput) => void): Request; - /** - * Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value. In addition to deleting an item, you can also return the item's attribute values in the same operation, using the ReturnValues parameter. Unless you specify conditions, the DeleteItem is an idempotent operation; running it multiple times on the same item or attribute does not result in an error response. Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted. - */ - deleteItem(callback?: (err: AWSError, data: DynamoDB.Types.DeleteItemOutput) => void): Request; - /** - * The DeleteTable operation deletes a table and all of its items. After a DeleteTable request, the specified table is in the DELETING state until DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is in CREATING or UPDATING states, then DynamoDB returns a ResourceInUseException. If the specified table does not exist, DynamoDB returns a ResourceNotFoundException. If table is already in the DELETING state, no error is returned. DynamoDB might continue to accept data read and write operations, such as GetItem and PutItem, on a table in the DELETING state until the table deletion is complete. When you delete a table, any indexes on that table are also deleted. If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes into the DISABLED state, and the stream is automatically deleted after 24 hours. Use the DescribeTable action to check the status of the table. - */ - deleteTable(params: DynamoDB.Types.DeleteTableInput, callback?: (err: AWSError, data: DynamoDB.Types.DeleteTableOutput) => void): Request; - /** - * The DeleteTable operation deletes a table and all of its items. After a DeleteTable request, the specified table is in the DELETING state until DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is in CREATING or UPDATING states, then DynamoDB returns a ResourceInUseException. If the specified table does not exist, DynamoDB returns a ResourceNotFoundException. If table is already in the DELETING state, no error is returned. DynamoDB might continue to accept data read and write operations, such as GetItem and PutItem, on a table in the DELETING state until the table deletion is complete. When you delete a table, any indexes on that table are also deleted. If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes into the DISABLED state, and the stream is automatically deleted after 24 hours. Use the DescribeTable action to check the status of the table. - */ - deleteTable(callback?: (err: AWSError, data: DynamoDB.Types.DeleteTableOutput) => void): Request; - /** - * Returns the current provisioned-capacity limits for your AWS account in a region, both for the region as a whole and for any one DynamoDB table that you create there. When you establish an AWS account, the account has initial limits on the maximum read capacity units and write capacity units that you can provision across all of your DynamoDB tables in a given region. Also, there are per-table limits that apply when you create a table there. For more information, see Limits page in the Amazon DynamoDB Developer Guide. Although you can increase these limits by filing a case at AWS Support Center, obtaining the increase is not instantaneous. The DescribeLimits action lets you write code to compare the capacity you are currently using to those limits imposed by your account so that you have enough time to apply for an increase before you hit a limit. For example, you could use one of the AWS SDKs to do the following: Call DescribeLimits for a particular region to obtain your current account limits on provisioned capacity there. Create a variable to hold the aggregate read capacity units provisioned for all your tables in that region, and one to hold the aggregate write capacity units. Zero them both. Call ListTables to obtain a list of all your DynamoDB tables. For each table name listed by ListTables, do the following: Call DescribeTable with the table name. Use the data returned by DescribeTable to add the read capacity units and write capacity units provisioned for the table itself to your variables. If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well. Report the account limits for that region returned by DescribeLimits, along with the total current provisioned capacity levels you have calculated. This will let you see whether you are getting close to your account-level limits. The per-table limits apply only when you are creating a new table. They restrict the sum of the provisioned capacity of the new table itself and all its global secondary indexes. For existing tables and their GSIs, DynamoDB will not let you increase provisioned capacity extremely rapidly, but the only upper limit that applies is that the aggregate provisioned capacity over all your tables and GSIs cannot exceed either of the per-account limits. DescribeLimits should only be called periodically. You can expect throttling errors if you call it more than once in a minute. The DescribeLimits Request element has no content. - */ - describeLimits(params: DynamoDB.Types.DescribeLimitsInput, callback?: (err: AWSError, data: DynamoDB.Types.DescribeLimitsOutput) => void): Request; - /** - * Returns the current provisioned-capacity limits for your AWS account in a region, both for the region as a whole and for any one DynamoDB table that you create there. When you establish an AWS account, the account has initial limits on the maximum read capacity units and write capacity units that you can provision across all of your DynamoDB tables in a given region. Also, there are per-table limits that apply when you create a table there. For more information, see Limits page in the Amazon DynamoDB Developer Guide. Although you can increase these limits by filing a case at AWS Support Center, obtaining the increase is not instantaneous. The DescribeLimits action lets you write code to compare the capacity you are currently using to those limits imposed by your account so that you have enough time to apply for an increase before you hit a limit. For example, you could use one of the AWS SDKs to do the following: Call DescribeLimits for a particular region to obtain your current account limits on provisioned capacity there. Create a variable to hold the aggregate read capacity units provisioned for all your tables in that region, and one to hold the aggregate write capacity units. Zero them both. Call ListTables to obtain a list of all your DynamoDB tables. For each table name listed by ListTables, do the following: Call DescribeTable with the table name. Use the data returned by DescribeTable to add the read capacity units and write capacity units provisioned for the table itself to your variables. If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well. Report the account limits for that region returned by DescribeLimits, along with the total current provisioned capacity levels you have calculated. This will let you see whether you are getting close to your account-level limits. The per-table limits apply only when you are creating a new table. They restrict the sum of the provisioned capacity of the new table itself and all its global secondary indexes. For existing tables and their GSIs, DynamoDB will not let you increase provisioned capacity extremely rapidly, but the only upper limit that applies is that the aggregate provisioned capacity over all your tables and GSIs cannot exceed either of the per-account limits. DescribeLimits should only be called periodically. You can expect throttling errors if you call it more than once in a minute. The DescribeLimits Request element has no content. - */ - describeLimits(callback?: (err: AWSError, data: DynamoDB.Types.DescribeLimitsOutput) => void): Request; - /** - * Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table. If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might return a ResourceNotFoundException. This is because DescribeTable uses an eventually consistent query, and the metadata for your table might not be available at that moment. Wait for a few seconds, and then try the DescribeTable request again. - */ - describeTable(params: DynamoDB.Types.DescribeTableInput, callback?: (err: AWSError, data: DynamoDB.Types.DescribeTableOutput) => void): Request; - /** - * Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table. If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might return a ResourceNotFoundException. This is because DescribeTable uses an eventually consistent query, and the metadata for your table might not be available at that moment. Wait for a few seconds, and then try the DescribeTable request again. - */ - describeTable(callback?: (err: AWSError, data: DynamoDB.Types.DescribeTableOutput) => void): Request; - /** - * Gives a description of the Time to Live (TTL) status on the specified table. - */ - describeTimeToLive(params: DynamoDB.Types.DescribeTimeToLiveInput, callback?: (err: AWSError, data: DynamoDB.Types.DescribeTimeToLiveOutput) => void): Request; - /** - * Gives a description of the Time to Live (TTL) status on the specified table. - */ - describeTimeToLive(callback?: (err: AWSError, data: DynamoDB.Types.DescribeTimeToLiveOutput) => void): Request; - /** - * The GetItem operation returns a set of attributes for the item with the given primary key. If there is no matching item, GetItem does not return any data and there will be no Item element in the response. GetItem provides an eventually consistent read by default. If your application requires a strongly consistent read, set ConsistentRead to true. Although a strongly consistent read might take more time than an eventually consistent read, it always returns the last updated value. - */ - getItem(params: DynamoDB.Types.GetItemInput, callback?: (err: AWSError, data: DynamoDB.Types.GetItemOutput) => void): Request; - /** - * The GetItem operation returns a set of attributes for the item with the given primary key. If there is no matching item, GetItem does not return any data and there will be no Item element in the response. GetItem provides an eventually consistent read by default. If your application requires a strongly consistent read, set ConsistentRead to true. Although a strongly consistent read might take more time than an eventually consistent read, it always returns the last updated value. - */ - getItem(callback?: (err: AWSError, data: DynamoDB.Types.GetItemOutput) => void): Request; - /** - * Returns an array of table names associated with the current account and endpoint. The output from ListTables is paginated, with each page returning a maximum of 100 table names. - */ - listTables(params: DynamoDB.Types.ListTablesInput, callback?: (err: AWSError, data: DynamoDB.Types.ListTablesOutput) => void): Request; - /** - * Returns an array of table names associated with the current account and endpoint. The output from ListTables is paginated, with each page returning a maximum of 100 table names. - */ - listTables(callback?: (err: AWSError, data: DynamoDB.Types.ListTablesOutput) => void): Request; - /** - * List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account. For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide. - */ - listTagsOfResource(params: DynamoDB.Types.ListTagsOfResourceInput, callback?: (err: AWSError, data: DynamoDB.Types.ListTagsOfResourceOutput) => void): Request; - /** - * List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account. For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide. - */ - listTagsOfResource(callback?: (err: AWSError, data: DynamoDB.Types.ListTagsOfResourceOutput) => void): Request; - /** - * Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. In addition to putting an item, you can also return the item's attribute values in the same operation, using the ReturnValues parameter. When you add an item, the primary key attribute(s) are the only required attributes. Attribute values cannot be null. String and Binary type attributes must have lengths greater than zero. Set type attributes cannot be empty. Requests with empty values will be rejected with a ValidationException exception. To prevent a new item from replacing an existing item, use a conditional expression that contains the attribute_not_exists function with the name of the attribute being used as the partition key for the table. Since every record must contain that attribute, the attribute_not_exists function will only succeed if no matching item exists. For more information about PutItem, see Working with Items in the Amazon DynamoDB Developer Guide. - */ - putItem(params: DynamoDB.Types.PutItemInput, callback?: (err: AWSError, data: DynamoDB.Types.PutItemOutput) => void): Request; - /** - * Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. In addition to putting an item, you can also return the item's attribute values in the same operation, using the ReturnValues parameter. When you add an item, the primary key attribute(s) are the only required attributes. Attribute values cannot be null. String and Binary type attributes must have lengths greater than zero. Set type attributes cannot be empty. Requests with empty values will be rejected with a ValidationException exception. To prevent a new item from replacing an existing item, use a conditional expression that contains the attribute_not_exists function with the name of the attribute being used as the partition key for the table. Since every record must contain that attribute, the attribute_not_exists function will only succeed if no matching item exists. For more information about PutItem, see Working with Items in the Amazon DynamoDB Developer Guide. - */ - putItem(callback?: (err: AWSError, data: DynamoDB.Types.PutItemOutput) => void): Request; - /** - * A Query operation uses the primary key of a table or a secondary index to directly access items from that table or index. Use the KeyConditionExpression parameter to provide a specific value for the partition key. The Query operation will return all of the items from the table or index with that partition key value. You can optionally narrow the scope of the Query operation by specifying a sort key value and a comparison operator in KeyConditionExpression. You can use the ScanIndexForward parameter to get results in forward or reverse order, by sort key. Queries that do not return results consume the minimum number of read capacity units for that type of read operation. If the total number of items meeting the query criteria exceeds the result set size limit of 1 MB, the query stops and results are returned to the user with the LastEvaluatedKey element to continue the query in a subsequent operation. Unlike a Scan operation, a Query operation never returns both an empty result set and a LastEvaluatedKey value. LastEvaluatedKey is only provided if you have used the Limit parameter, or if the result set exceeds 1 MB (prior to applying a filter). You can query a table, a local secondary index, or a global secondary index. For a query on a table or on a local secondary index, you can set the ConsistentRead parameter to true and obtain a strongly consistent result. Global secondary indexes support eventually consistent reads only, so do not specify ConsistentRead when querying a global secondary index. - */ - query(params: DynamoDB.Types.QueryInput, callback?: (err: AWSError, data: DynamoDB.Types.QueryOutput) => void): Request; - /** - * A Query operation uses the primary key of a table or a secondary index to directly access items from that table or index. Use the KeyConditionExpression parameter to provide a specific value for the partition key. The Query operation will return all of the items from the table or index with that partition key value. You can optionally narrow the scope of the Query operation by specifying a sort key value and a comparison operator in KeyConditionExpression. You can use the ScanIndexForward parameter to get results in forward or reverse order, by sort key. Queries that do not return results consume the minimum number of read capacity units for that type of read operation. If the total number of items meeting the query criteria exceeds the result set size limit of 1 MB, the query stops and results are returned to the user with the LastEvaluatedKey element to continue the query in a subsequent operation. Unlike a Scan operation, a Query operation never returns both an empty result set and a LastEvaluatedKey value. LastEvaluatedKey is only provided if you have used the Limit parameter, or if the result set exceeds 1 MB (prior to applying a filter). You can query a table, a local secondary index, or a global secondary index. For a query on a table or on a local secondary index, you can set the ConsistentRead parameter to true and obtain a strongly consistent result. Global secondary indexes support eventually consistent reads only, so do not specify ConsistentRead when querying a global secondary index. - */ - query(callback?: (err: AWSError, data: DynamoDB.Types.QueryOutput) => void): Request; - /** - * The Scan operation returns one or more items and item attributes by accessing every item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a FilterExpression operation. If the total number of scanned items exceeds the maximum data set size limit of 1 MB, the scan stops and results are returned to the user as a LastEvaluatedKey value to continue the scan in a subsequent operation. The results also include the number of items exceeding the limit. A scan can result in no table data meeting the filter criteria. By default, Scan operations proceed sequentially; however, for faster performance on a large table or secondary index, applications can request a parallel Scan operation by providing the Segment and TotalSegments parameters. For more information, see Parallel Scan in the Amazon DynamoDB Developer Guide. By default, Scan uses eventually consistent reads when accessing the data in a table; therefore, the result set might not include the changes to data in the table immediately before the operation began. If you need a consistent copy of the data, as of the time that the Scan begins, you can set the ConsistentRead parameter to true. - */ - scan(params: DynamoDB.Types.ScanInput, callback?: (err: AWSError, data: DynamoDB.Types.ScanOutput) => void): Request; - /** - * The Scan operation returns one or more items and item attributes by accessing every item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a FilterExpression operation. If the total number of scanned items exceeds the maximum data set size limit of 1 MB, the scan stops and results are returned to the user as a LastEvaluatedKey value to continue the scan in a subsequent operation. The results also include the number of items exceeding the limit. A scan can result in no table data meeting the filter criteria. By default, Scan operations proceed sequentially; however, for faster performance on a large table or secondary index, applications can request a parallel Scan operation by providing the Segment and TotalSegments parameters. For more information, see Parallel Scan in the Amazon DynamoDB Developer Guide. By default, Scan uses eventually consistent reads when accessing the data in a table; therefore, the result set might not include the changes to data in the table immediately before the operation began. If you need a consistent copy of the data, as of the time that the Scan begins, you can set the ConsistentRead parameter to true. - */ - scan(callback?: (err: AWSError, data: DynamoDB.Types.ScanOutput) => void): Request; - /** - * Associate a set of tags with an Amazon DynamoDB resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking. You can call TagResource up to 5 times per second, per account. For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide. - */ - tagResource(params: DynamoDB.Types.TagResourceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Associate a set of tags with an Amazon DynamoDB resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking. You can call TagResource up to 5 times per second, per account. For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide. - */ - tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the association of tags from an Amazon DynamoDB resource. You can call UntagResource up to 5 times per second, per account. For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide. - */ - untagResource(params: DynamoDB.Types.UntagResourceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the association of tags from an Amazon DynamoDB resource. You can call UntagResource up to 5 times per second, per account. For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide. - */ - untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values). You can also return the item's attribute values in the same UpdateItem operation using the ReturnValues parameter. - */ - updateItem(params: DynamoDB.Types.UpdateItemInput, callback?: (err: AWSError, data: DynamoDB.Types.UpdateItemOutput) => void): Request; - /** - * Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values). You can also return the item's attribute values in the same UpdateItem operation using the ReturnValues parameter. - */ - updateItem(callback?: (err: AWSError, data: DynamoDB.Types.UpdateItemOutput) => void): Request; - /** - * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Enable or disable Streams on the table. Remove a global secondary index from the table. Create a new global secondary index on the table. Once the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it is executing, the table status changes from ACTIVE to UPDATING. While it is UPDATING, you cannot issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete. - */ - updateTable(params: DynamoDB.Types.UpdateTableInput, callback?: (err: AWSError, data: DynamoDB.Types.UpdateTableOutput) => void): Request; - /** - * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Enable or disable Streams on the table. Remove a global secondary index from the table. Create a new global secondary index on the table. Once the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it is executing, the table status changes from ACTIVE to UPDATING. While it is UPDATING, you cannot issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete. - */ - updateTable(callback?: (err: AWSError, data: DynamoDB.Types.UpdateTableOutput) => void): Request; - /** - * Specify the lifetime of individual table items. The database automatically removes the item at the expiration of the item. The UpdateTimeToLive method will enable or disable TTL for the specified table. A successful UpdateTimeToLive call returns the current TimeToLiveSpecification; it may take up to one hour for the change to fully process. TTL compares the current time in epoch time format to the time stored in the TTL attribute of an item. If the epoch time value stored in the attribute is less than the current time, the item is marked as expired and subsequently deleted. The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1st, 1970 UTC. DynamoDB deletes expired items on a best-effort basis to ensure availability of throughput for other data operations. DynamoDB typically deletes expired items within two days of expiration. The exact duration within which an item gets deleted after expiration is specific to the nature of the workload. Items that have expired and not been deleted will still show up in reads, queries, and scans. As items are deleted, they are removed from any Local Secondary Index and Global Secondary Index immediately in the same eventually consistent way as a standard delete operation. For more information, see Time To Live in the Amazon DynamoDB Developer Guide. - */ - updateTimeToLive(params: DynamoDB.Types.UpdateTimeToLiveInput, callback?: (err: AWSError, data: DynamoDB.Types.UpdateTimeToLiveOutput) => void): Request; - /** - * Specify the lifetime of individual table items. The database automatically removes the item at the expiration of the item. The UpdateTimeToLive method will enable or disable TTL for the specified table. A successful UpdateTimeToLive call returns the current TimeToLiveSpecification; it may take up to one hour for the change to fully process. TTL compares the current time in epoch time format to the time stored in the TTL attribute of an item. If the epoch time value stored in the attribute is less than the current time, the item is marked as expired and subsequently deleted. The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1st, 1970 UTC. DynamoDB deletes expired items on a best-effort basis to ensure availability of throughput for other data operations. DynamoDB typically deletes expired items within two days of expiration. The exact duration within which an item gets deleted after expiration is specific to the nature of the workload. Items that have expired and not been deleted will still show up in reads, queries, and scans. As items are deleted, they are removed from any Local Secondary Index and Global Secondary Index immediately in the same eventually consistent way as a standard delete operation. For more information, see Time To Live in the Amazon DynamoDB Developer Guide. - */ - updateTimeToLive(callback?: (err: AWSError, data: DynamoDB.Types.UpdateTimeToLiveOutput) => void): Request; - /** - * Waits for the tableExists state by periodically calling the underlying DynamoDB.describeTableoperation every 20 seconds (at most 25 times). - */ - waitFor(state: "tableExists", params: DynamoDB.Types.DescribeTableInput, callback?: (err: AWSError, data: DynamoDB.Types.DescribeTableOutput) => void): Request; - /** - * Waits for the tableExists state by periodically calling the underlying DynamoDB.describeTableoperation every 20 seconds (at most 25 times). - */ - waitFor(state: "tableExists", callback?: (err: AWSError, data: DynamoDB.Types.DescribeTableOutput) => void): Request; - /** - * Waits for the tableNotExists state by periodically calling the underlying DynamoDB.describeTableoperation every 20 seconds (at most 25 times). - */ - waitFor(state: "tableNotExists", params: DynamoDB.Types.DescribeTableInput, callback?: (err: AWSError, data: DynamoDB.Types.DescribeTableOutput) => void): Request; - /** - * Waits for the tableNotExists state by periodically calling the underlying DynamoDB.describeTableoperation every 20 seconds (at most 25 times). - */ - waitFor(state: "tableNotExists", callback?: (err: AWSError, data: DynamoDB.Types.DescribeTableOutput) => void): Request; -} -declare namespace DynamoDB { - export import DocumentClient = document_client; - export import Converter = converter; -} -declare namespace DynamoDB { - export type AttributeAction = "ADD"|"PUT"|"DELETE"|string; - export interface AttributeDefinition { - /** - * A name for the attribute. - */ - AttributeName: KeySchemaAttributeName; - /** - * The data type for the attribute, where: S - the attribute is of type String N - the attribute is of type Number B - the attribute is of type Binary - */ - AttributeType: ScalarAttributeType; - } - export type AttributeDefinitions = AttributeDefinition[]; - export type AttributeMap = {[key: string]: AttributeValue}; - export type AttributeName = string; - export type AttributeNameList = AttributeName[]; - export type AttributeUpdates = {[key: string]: AttributeValueUpdate}; - export interface AttributeValue { - /** - * An attribute of type String. For example: "S": "Hello" - */ - S?: StringAttributeValue; - /** - * An attribute of type Number. For example: "N": "123.45" Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations. - */ - N?: NumberAttributeValue; - /** - * An attribute of type Binary. For example: "B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk" - */ - B?: BinaryAttributeValue; - /** - * An attribute of type String Set. For example: "SS": ["Giraffe", "Hippo" ,"Zebra"] - */ - SS?: StringSetAttributeValue; - /** - * An attribute of type Number Set. For example: "NS": ["42.2", "-19", "7.5", "3.14"] Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations. - */ - NS?: NumberSetAttributeValue; - /** - * An attribute of type Binary Set. For example: "BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="] - */ - BS?: BinarySetAttributeValue; - /** - * An attribute of type Map. For example: "M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}} - */ - M?: MapAttributeValue; - /** - * An attribute of type List. For example: "L": ["Cookies", "Coffee", 3.14159] - */ - L?: ListAttributeValue; - /** - * An attribute of type Null. For example: "NULL": true - */ - NULL?: NullAttributeValue; - /** - * An attribute of type Boolean. For example: "BOOL": true - */ - BOOL?: BooleanAttributeValue; - } - export type AttributeValueList = AttributeValue[]; - export interface AttributeValueUpdate { - /** - * Represents the data for an attribute. Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself. For more information, see Data TYpes in the Amazon DynamoDB Developer Guide. - */ - Value?: AttributeValue; - /** - * Specifies how to perform the update. Valid values are PUT (default), DELETE, and ADD. The behavior depends on whether the specified primary key already exists in the table. If an item with the specified Key is found in the table: PUT - Adds the specified attribute to the item. If the attribute already exists, it is replaced by the new value. DELETE - If no value is specified, the attribute and its value are removed from the item. The data type of the specified value must match the existing value's data type. If a set of values is specified, then those values are subtracted from the old set. For example, if the attribute value was the set [a,b,c] and the DELETE action specified [a,c], then the final attribute value would be [b]. Specifying an empty set is an error. ADD - If the attribute does not already exist, then the attribute and its values are added to the item. If the attribute does exist, then the behavior of ADD depends on the data type of the attribute: If the existing attribute is a number, and if Value is also a number, then the Value is mathematically added to the existing attribute. If Value is a negative number, then it is subtracted from the existing attribute. If you use ADD to increment or decrement a number value for an item that doesn't exist before the update, DynamoDB uses 0 as the initial value. In addition, if you use ADD to update an existing item, and intend to increment or decrement an attribute value which does not yet exist, DynamoDB uses 0 as the initial value. For example, suppose that the item you want to update does not yet have an attribute named itemcount, but you decide to ADD the number 3 to this attribute anyway, even though it currently does not exist. DynamoDB will create the itemcount attribute, set its initial value to 0, and finally add 3 to it. The result will be a new itemcount attribute in the item, with a value of 3. If the existing data type is a set, and if the Value is also a set, then the Value is added to the existing set. (This is a set operation, not mathematical addition.) For example, if the attribute value was the set [1,2], and the ADD action specified [3], then the final attribute value would be [1,2,3]. An error occurs if an Add action is specified for a set attribute and the attribute type specified does not match the existing set type. Both sets must have the same primitive data type. For example, if the existing data type is a set of strings, the Value must also be a set of strings. The same holds true for number sets and binary sets. This action is only valid for an existing attribute whose data type is number or is a set. Do not use ADD for any other data types. If no item with the specified Key is found: PUT - DynamoDB creates a new item with the specified primary key, and then adds the attribute. DELETE - Nothing happens; there is no attribute to delete. ADD - DynamoDB creates an item with the supplied primary key and number (or set of numbers) for the attribute value. The only data types allowed are number and number set; no other data types can be specified. - */ - Action?: AttributeAction; - } - export type Backfilling = boolean; - export interface BatchGetItemInput { - /** - * A map of one or more table names and, for each table, a map that describes one or more items to retrieve from that table. Each table name can be used only once per BatchGetItem request. Each element in the map of items to retrieve consists of the following: ConsistentRead - If true, a strongly consistent read is used; if false (the default), an eventually consistent read is used. ExpressionAttributeNames - One or more substitution tokens for attribute names in the ProjectionExpression parameter. The following are some use cases for using ExpressionAttributeNames: To access an attribute whose name conflicts with a DynamoDB reserved word. To create a placeholder for repeating occurrences of an attribute name in an expression. To prevent special characters in an attribute name from being misinterpreted in an expression. Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name: Percentile The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames: {"#P":"Percentile"} You could then use this substitution in an expression, as in this example: #P = :val Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime. For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. Keys - An array of primary key attribute values that define specific items in the table. For each primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide the partition key value. For a composite key, you must provide both the partition key value and the sort key value. ProjectionExpression - A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result. For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. AttributesToGet - This is a legacy parameter. Use ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer Guide. - */ - RequestItems: BatchGetRequestMap; - ReturnConsumedCapacity?: ReturnConsumedCapacity; - } - export interface BatchGetItemOutput { - /** - * A map of table name to a list of items. Each object in Responses consists of a table name, along with a map of attribute data consisting of the data type and attribute value. - */ - Responses?: BatchGetResponseMap; - /** - * A map of tables and their respective keys that were not processed with the current response. The UnprocessedKeys value is in the same form as RequestItems, so the value can be provided directly to a subsequent BatchGetItem operation. For more information, see RequestItems in the Request Parameters section. Each element consists of: Keys - An array of primary key attribute values that define specific items in the table. ProjectionExpression - One or more attributes to be retrieved from the table or index. By default, all attributes are returned. If a requested attribute is not found, it does not appear in the result. ConsistentRead - The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used. If there are no unprocessed keys remaining, the response contains an empty UnprocessedKeys map. - */ - UnprocessedKeys?: BatchGetRequestMap; - /** - * The read capacity units consumed by the entire BatchGetItem operation. Each element consists of: TableName - The table that consumed the provisioned throughput. CapacityUnits - The total number of capacity units consumed. - */ - ConsumedCapacity?: ConsumedCapacityMultiple; - } - export type BatchGetRequestMap = {[key: string]: KeysAndAttributes}; - export type BatchGetResponseMap = {[key: string]: ItemList}; - export interface BatchWriteItemInput { - /** - * A map of one or more table names and, for each table, a list of operations to be performed (DeleteRequest or PutRequest). Each element in the map consists of the following: DeleteRequest - Perform a DeleteItem operation on the specified item. The item to be deleted is identified by a Key subelement: Key - A map of primary key attribute values that uniquely identify the ! item. Each entry in this map consists of an attribute name and an attribute value. For each primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key. PutRequest - Perform a PutItem operation on the specified item. The item to be put is identified by an Item subelement: Item - A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. Attribute values must not be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests that contain empty values will be rejected with a ValidationException exception. If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition. - */ - RequestItems: BatchWriteItemRequestMap; - ReturnConsumedCapacity?: ReturnConsumedCapacity; - /** - * Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during the operation are returned in the response. If set to NONE (the default), no statistics are returned. - */ - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics; - } - export interface BatchWriteItemOutput { - /** - * A map of tables and requests against those tables that were not processed. The UnprocessedItems value is in the same form as RequestItems, so you can provide this value directly to a subsequent BatchGetItem operation. For more information, see RequestItems in the Request Parameters section. Each UnprocessedItems entry consists of a table name and, for that table, a list of operations to perform (DeleteRequest or PutRequest). DeleteRequest - Perform a DeleteItem operation on the specified item. The item to be deleted is identified by a Key subelement: Key - A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value. PutRequest - Perform a PutItem operation on the specified item. The item to be put is identified by an Item subelement: Item - A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. Attribute values must not be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests that contain empty values will be rejected with a ValidationException exception. If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition. If there are no unprocessed items remaining, the response contains an empty UnprocessedItems map. - */ - UnprocessedItems?: BatchWriteItemRequestMap; - /** - * A list of tables that were processed by BatchWriteItem and, for each table, information about any item collections that were affected by individual DeleteItem or PutItem operations. Each entry consists of the following subelements: ItemCollectionKey - The partition key value of the item collection. This is the same as the partition key value of the item. SizeEstimateRange - An estimate of item collection size, expressed in GB. This is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on the table. Use this estimate to measure whether a local secondary index is approaching its size limit. The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate. - */ - ItemCollectionMetrics?: ItemCollectionMetricsPerTable; - /** - * The capacity units consumed by the entire BatchWriteItem operation. Each element consists of: TableName - The table that consumed the provisioned throughput. CapacityUnits - The total number of capacity units consumed. - */ - ConsumedCapacity?: ConsumedCapacityMultiple; - } - export type BatchWriteItemRequestMap = {[key: string]: WriteRequests}; - export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; - export type BinarySetAttributeValue = BinaryAttributeValue[]; - export type BooleanAttributeValue = boolean; - export type BooleanObject = boolean; - export interface Capacity { - /** - * The total number of capacity units consumed on a table or an index. - */ - CapacityUnits?: ConsumedCapacityUnits; - } - export type ComparisonOperator = "EQ"|"NE"|"IN"|"LE"|"LT"|"GE"|"GT"|"BETWEEN"|"NOT_NULL"|"NULL"|"CONTAINS"|"NOT_CONTAINS"|"BEGINS_WITH"|string; - export interface Condition { - /** - * One or more values to evaluate against the supplied attribute. The number of values in the list depends on the ComparisonOperator being used. For type Number, value comparisons are numeric. String value comparisons for greater than, equals, or less than are based on ASCII character code values. For example, a is greater than A, and a is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters. For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values. - */ - AttributeValueList?: AttributeValueList; - /** - * A comparator for evaluating attributes. For example, equals, greater than, less than, etc. The following comparison operators are available: EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN The following are descriptions of each comparison operator. EQ : Equal. EQ is supported for all data types, including lists and maps. AttributeValueList can contain only one AttributeValue element of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not equal {"NS":["6", "2", "1"]}. NE : Not equal. NE is supported for all data types, including lists and maps. AttributeValueList can contain only one AttributeValue of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not equal {"NS":["6", "2", "1"]}. LE : Less than or equal. AttributeValueList can contain only one AttributeValue element of type String, Number, or Binary (not a set type). If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not compare to {"NS":["6", "2", "1"]}. LT : Less than. AttributeValueList can contain only one AttributeValue of type String, Number, or Binary (not a set type). If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not compare to {"NS":["6", "2", "1"]}. GE : Greater than or equal. AttributeValueList can contain only one AttributeValue element of type String, Number, or Binary (not a set type). If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not compare to {"NS":["6", "2", "1"]}. GT : Greater than. AttributeValueList can contain only one AttributeValue element of type String, Number, or Binary (not a set type). If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not compare to {"NS":["6", "2", "1"]}. NOT_NULL : The attribute exists. NOT_NULL is supported for all data types, including lists and maps. This operator tests for the existence of an attribute, not its data type. If the data type of attribute "a" is null, and you evaluate it using NOT_NULL, the result is a Boolean true. This result is because the attribute "a" exists; its data type is not relevant to the NOT_NULL comparison operator. NULL : The attribute does not exist. NULL is supported for all data types, including lists and maps. This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute "a" is null, and you evaluate it using NULL, the result is a Boolean false. This is because the attribute "a" exists; its data type is not relevant to the NULL comparison operator. CONTAINS : Checks for a subsequence, or value in a set. AttributeValueList can contain only one AttributeValue element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then the operator checks for a substring match. If the target attribute of the comparison is of type Binary, then the operator looks for a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("SS", "NS", or "BS"), then the operator evaluates to true if it finds an exact match with any member of the set. CONTAINS is supported for lists: When evaluating "a CONTAINS b", "a" can be a list; however, "b" cannot be a set, a map, or a list. NOT_CONTAINS : Checks for absence of a subsequence, or absence of a value in a set. AttributeValueList can contain only one AttributeValue element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is a String, then the operator checks for the absence of a substring match. If the target attribute of the comparison is Binary, then the operator checks for the absence of a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("SS", "NS", or "BS"), then the operator evaluates to true if it does not find an exact match with any member of the set. NOT_CONTAINS is supported for lists: When evaluating "a NOT CONTAINS b", "a" can be a list; however, "b" cannot be a set, a map, or a list. BEGINS_WITH : Checks for a prefix. AttributeValueList can contain only one AttributeValue of type String or Binary (not a Number or a set type). The target attribute of the comparison must be of type String or Binary (not a Number or a set type). IN : Checks for matching elements in a list. AttributeValueList can contain one or more AttributeValue elements of type String, Number, or Binary. These attributes are compared against an existing attribute of an item. If any elements of the input are equal to the item attribute, the expression evaluates to true. BETWEEN : Greater than or equal to the first value, and less than or equal to the second value. AttributeValueList must contain two AttributeValue elements of the same type, either String, Number, or Binary (not a set type). A target attribute matches if the target value is greater than, or equal to, the first element and less than, or equal to, the second element. If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not compare to {"N":"6"}. Also, {"N":"6"} does not compare to {"NS":["6", "2", "1"]} For usage examples of AttributeValueList and ComparisonOperator, see Legacy Conditional Parameters in the Amazon DynamoDB Developer Guide. - */ - ComparisonOperator: ComparisonOperator; - } - export type ConditionExpression = string; - export type ConditionalOperator = "AND"|"OR"|string; - export type ConsistentRead = boolean; - export interface ConsumedCapacity { - /** - * The name of the table that was affected by the operation. - */ - TableName?: TableName; - /** - * The total number of capacity units consumed by the operation. - */ - CapacityUnits?: ConsumedCapacityUnits; - /** - * The amount of throughput consumed on the table affected by the operation. - */ - Table?: Capacity; - /** - * The amount of throughput consumed on each local index affected by the operation. - */ - LocalSecondaryIndexes?: SecondaryIndexesCapacityMap; - /** - * The amount of throughput consumed on each global index affected by the operation. - */ - GlobalSecondaryIndexes?: SecondaryIndexesCapacityMap; - } - export type ConsumedCapacityMultiple = ConsumedCapacity[]; - export type ConsumedCapacityUnits = number; - export interface CreateGlobalSecondaryIndexAction { - /** - * The name of the global secondary index to be created. - */ - IndexName: IndexName; - /** - * The key schema for the global secondary index. - */ - KeySchema: KeySchema; - /** - * Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. - */ - Projection: Projection; - /** - * Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide. - */ - ProvisionedThroughput: ProvisionedThroughput; - } - export interface CreateTableInput { - /** - * An array of attributes that describe the key schema for the table and indexes. - */ - AttributeDefinitions: AttributeDefinitions; - /** - * The name of the table to create. - */ - TableName: TableName; - /** - * Specifies the attributes that make up the primary key for a table or an index. The attributes in KeySchema must also be defined in the AttributeDefinitions array. For more information, see Data Model in the Amazon DynamoDB Developer Guide. Each KeySchemaElement in the array is composed of: AttributeName - The name of this key attribute. KeyType - The role that the key attribute will assume: HASH - partition key RANGE - sort key The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. For a simple primary key (partition key), you must provide exactly one element with a KeyType of HASH. For a composite primary key (partition key and sort key), you must provide exactly two elements, in this order: The first element must have a KeyType of HASH, and the second element must have a KeyType of RANGE. For more information, see Specifying the Primary Key in the Amazon DynamoDB Developer Guide. - */ - KeySchema: KeySchema; - /** - * One or more local secondary indexes (the maximum is five) to be created on the table. Each index is scoped to a given partition key value. There is a 10 GB size limit per partition key value; otherwise, the size of a local secondary index is unconstrained. Each local secondary index in the array includes the following: IndexName - The name of the local secondary index. Must be unique only for this table. KeySchema - Specifies the key schema for the local secondary index. The key schema must begin with the same partition key as the table. Projection - Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of: ProjectionType - One of the following: KEYS_ONLY - Only the index and primary keys are projected into the index. INCLUDE - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes. ALL - All of the table attributes are projected into the index. NonKeyAttributes - A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. - */ - LocalSecondaryIndexes?: LocalSecondaryIndexList; - /** - * One or more global secondary indexes (the maximum is five) to be created on the table. Each global secondary index in the array includes the following: IndexName - The name of the global secondary index. Must be unique only for this table. KeySchema - Specifies the key schema for the global secondary index. Projection - Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of: ProjectionType - One of the following: KEYS_ONLY - Only the index and primary keys are projected into the index. INCLUDE - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes. ALL - All of the table attributes are projected into the index. NonKeyAttributes - A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. ProvisionedThroughput - The provisioned throughput settings for the global secondary index, consisting of read and write capacity units. - */ - GlobalSecondaryIndexes?: GlobalSecondaryIndexList; - /** - * Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation. For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide. - */ - ProvisionedThroughput: ProvisionedThroughput; - /** - * The settings for DynamoDB Streams on the table. These settings consist of: StreamEnabled - Indicates whether Streams is to be enabled (true) or disabled (false). StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values for StreamViewType are: KEYS_ONLY - Only the key attributes of the modified item are written to the stream. NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream. OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream. NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream. - */ - StreamSpecification?: StreamSpecification; - } - export interface CreateTableOutput { - /** - * Represents the properties of the table. - */ - TableDescription?: TableDescription; - } - export type _Date = Date; - export interface DeleteGlobalSecondaryIndexAction { - /** - * The name of the global secondary index to be deleted. - */ - IndexName: IndexName; - } - export interface DeleteItemInput { - /** - * The name of the table from which to delete the item. - */ - TableName: TableName; - /** - * A map of attribute names to AttributeValue objects, representing the primary key of the item to delete. For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key. - */ - Key: Key; - /** - * This is a legacy parameter. Use ConditionExpresssion instead. For more information, see Expected in the Amazon DynamoDB Developer Guide. - */ - Expected?: ExpectedAttributeMap; - /** - * This is a legacy parameter. Use ConditionExpression instead. For more information, see ConditionalOperator in the Amazon DynamoDB Developer Guide. - */ - ConditionalOperator?: ConditionalOperator; - /** - * Use ReturnValues if you want to get the item attributes as they appeared before they were deleted. For DeleteItem, the valid values are: NONE - If ReturnValues is not specified, or if its value is NONE, then nothing is returned. (This setting is the default for ReturnValues.) ALL_OLD - The content of the old item is returned. The ReturnValues parameter is used by several DynamoDB operations; however, DeleteItem does not recognize any values other than NONE or ALL_OLD. - */ - ReturnValues?: ReturnValue; - ReturnConsumedCapacity?: ReturnConsumedCapacity; - /** - * Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during the operation are returned in the response. If set to NONE (the default), no statistics are returned. - */ - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics; - /** - * A condition that must be satisfied in order for a conditional DeleteItem to succeed. An expression can contain any of the following: Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size These function names are case-sensitive. Comparison operators: = | <> | < | > | <= | >= | BETWEEN | IN Logical operators: AND | OR | NOT For more information on condition expressions, see Specifying Conditions in the Amazon DynamoDB Developer Guide. - */ - ConditionExpression?: ConditionExpression; - /** - * One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames: To access an attribute whose name conflicts with a DynamoDB reserved word. To create a placeholder for repeating occurrences of an attribute name in an expression. To prevent special characters in an attribute name from being misinterpreted in an expression. Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name: Percentile The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames: {"#P":"Percentile"} You could then use this substitution in an expression, as in this example: #P = :val Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime. For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeNames?: ExpressionAttributeNameMap; - /** - * One or more values that can be substituted in an expression. Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the ProductStatus attribute was one of the following: Available | Backordered | Discontinued You would first need to specify ExpressionAttributeValues as follows: { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} } You could then use these values in an expression, such as this: ProductStatus IN (:avail, :back, :disc) For more information on expression attribute values, see Specifying Conditions in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeValues?: ExpressionAttributeValueMap; - } - export interface DeleteItemOutput { - /** - * A map of attribute names to AttributeValue objects, representing the item as it appeared before the DeleteItem operation. This map appears in the response only if ReturnValues was specified as ALL_OLD in the request. - */ - Attributes?: AttributeMap; - /** - * The capacity units consumed by the DeleteItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide. - */ - ConsumedCapacity?: ConsumedCapacity; - /** - * Information about item collections, if any, that were affected by the DeleteItem operation. ItemCollectionMetrics is only returned if the ReturnItemCollectionMetrics parameter was specified. If the table does not have any local secondary indexes, this information is not returned in the response. Each ItemCollectionMetrics element consists of: ItemCollectionKey - The partition key value of the item collection. This is the same as the partition key value of the item itself. SizeEstimateRange - An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit. The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate. - */ - ItemCollectionMetrics?: ItemCollectionMetrics; - } - export interface DeleteRequest { - /** - * A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. - */ - Key: Key; - } - export interface DeleteTableInput { - /** - * The name of the table to delete. - */ - TableName: TableName; - } - export interface DeleteTableOutput { - /** - * Represents the properties of a table. - */ - TableDescription?: TableDescription; - } - export interface DescribeLimitsInput { - } - export interface DescribeLimitsOutput { - /** - * The maximum total read capacity units that your account allows you to provision across all of your tables in this region. - */ - AccountMaxReadCapacityUnits?: PositiveLongObject; - /** - * The maximum total write capacity units that your account allows you to provision across all of your tables in this region. - */ - AccountMaxWriteCapacityUnits?: PositiveLongObject; - /** - * The maximum read capacity units that your account allows you to provision for a new table that you are creating in this region, including the read capacity units provisioned for its global secondary indexes (GSIs). - */ - TableMaxReadCapacityUnits?: PositiveLongObject; - /** - * The maximum write capacity units that your account allows you to provision for a new table that you are creating in this region, including the write capacity units provisioned for its global secondary indexes (GSIs). - */ - TableMaxWriteCapacityUnits?: PositiveLongObject; - } - export interface DescribeTableInput { - /** - * The name of the table to describe. - */ - TableName: TableName; - } - export interface DescribeTableOutput { - /** - * The properties of the table. - */ - Table?: TableDescription; - } - export interface DescribeTimeToLiveInput { - /** - * The name of the table to be described. - */ - TableName: TableName; - } - export interface DescribeTimeToLiveOutput { - /** - * - */ - TimeToLiveDescription?: TimeToLiveDescription; - } - export type ErrorMessage = string; - export type ExpectedAttributeMap = {[key: string]: ExpectedAttributeValue}; - export interface ExpectedAttributeValue { - /** - * Represents the data for the expected attribute. Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself. For more information, see Data Types in the Amazon DynamoDB Developer Guide. - */ - Value?: AttributeValue; - /** - * Causes DynamoDB to evaluate the value before attempting a conditional operation: If Exists is true, DynamoDB will check to see if that attribute value already exists in the table. If it is found, then the operation succeeds. If it is not found, the operation fails with a ConditionalCheckFailedException. If Exists is false, DynamoDB assumes that the attribute value does not exist in the table. If in fact the value does not exist, then the assumption is valid and the operation succeeds. If the value is found, despite the assumption that it does not exist, the operation fails with a ConditionalCheckFailedException. The default setting for Exists is true. If you supply a Value all by itself, DynamoDB assumes the attribute exists: You don't have to set Exists to true, because it is implied. DynamoDB returns a ValidationException if: Exists is true but there is no Value to check. (You expect a value to exist, but don't specify what that value is.) Exists is false but you also provide a Value. (You cannot expect an attribute to have a value, while also expecting it not to exist.) - */ - Exists?: BooleanObject; - /** - * A comparator for evaluating attributes in the AttributeValueList. For example, equals, greater than, less than, etc. The following comparison operators are available: EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN The following are descriptions of each comparison operator. EQ : Equal. EQ is supported for all data types, including lists and maps. AttributeValueList can contain only one AttributeValue element of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not equal {"NS":["6", "2", "1"]}. NE : Not equal. NE is supported for all data types, including lists and maps. AttributeValueList can contain only one AttributeValue of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not equal {"NS":["6", "2", "1"]}. LE : Less than or equal. AttributeValueList can contain only one AttributeValue element of type String, Number, or Binary (not a set type). If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not compare to {"NS":["6", "2", "1"]}. LT : Less than. AttributeValueList can contain only one AttributeValue of type String, Number, or Binary (not a set type). If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not compare to {"NS":["6", "2", "1"]}. GE : Greater than or equal. AttributeValueList can contain only one AttributeValue element of type String, Number, or Binary (not a set type). If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not compare to {"NS":["6", "2", "1"]}. GT : Greater than. AttributeValueList can contain only one AttributeValue element of type String, Number, or Binary (not a set type). If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not equal {"N":"6"}. Also, {"N":"6"} does not compare to {"NS":["6", "2", "1"]}. NOT_NULL : The attribute exists. NOT_NULL is supported for all data types, including lists and maps. This operator tests for the existence of an attribute, not its data type. If the data type of attribute "a" is null, and you evaluate it using NOT_NULL, the result is a Boolean true. This result is because the attribute "a" exists; its data type is not relevant to the NOT_NULL comparison operator. NULL : The attribute does not exist. NULL is supported for all data types, including lists and maps. This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute "a" is null, and you evaluate it using NULL, the result is a Boolean false. This is because the attribute "a" exists; its data type is not relevant to the NULL comparison operator. CONTAINS : Checks for a subsequence, or value in a set. AttributeValueList can contain only one AttributeValue element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then the operator checks for a substring match. If the target attribute of the comparison is of type Binary, then the operator looks for a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("SS", "NS", or "BS"), then the operator evaluates to true if it finds an exact match with any member of the set. CONTAINS is supported for lists: When evaluating "a CONTAINS b", "a" can be a list; however, "b" cannot be a set, a map, or a list. NOT_CONTAINS : Checks for absence of a subsequence, or absence of a value in a set. AttributeValueList can contain only one AttributeValue element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is a String, then the operator checks for the absence of a substring match. If the target attribute of the comparison is Binary, then the operator checks for the absence of a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("SS", "NS", or "BS"), then the operator evaluates to true if it does not find an exact match with any member of the set. NOT_CONTAINS is supported for lists: When evaluating "a NOT CONTAINS b", "a" can be a list; however, "b" cannot be a set, a map, or a list. BEGINS_WITH : Checks for a prefix. AttributeValueList can contain only one AttributeValue of type String or Binary (not a Number or a set type). The target attribute of the comparison must be of type String or Binary (not a Number or a set type). IN : Checks for matching elements in a list. AttributeValueList can contain one or more AttributeValue elements of type String, Number, or Binary. These attributes are compared against an existing attribute of an item. If any elements of the input are equal to the item attribute, the expression evaluates to true. BETWEEN : Greater than or equal to the first value, and less than or equal to the second value. AttributeValueList must contain two AttributeValue elements of the same type, either String, Number, or Binary (not a set type). A target attribute matches if the target value is greater than, or equal to, the first element and less than, or equal to, the second element. If an item contains an AttributeValue element of a different type than the one provided in the request, the value does not match. For example, {"S":"6"} does not compare to {"N":"6"}. Also, {"N":"6"} does not compare to {"NS":["6", "2", "1"]} - */ - ComparisonOperator?: ComparisonOperator; - /** - * One or more values to evaluate against the supplied attribute. The number of values in the list depends on the ComparisonOperator being used. For type Number, value comparisons are numeric. String value comparisons for greater than, equals, or less than are based on ASCII character code values. For example, a is greater than A, and a is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters. For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values. For information on specifying data types in JSON, see JSON Data Format in the Amazon DynamoDB Developer Guide. - */ - AttributeValueList?: AttributeValueList; - } - export type ExpressionAttributeNameMap = {[key: string]: AttributeName}; - export type ExpressionAttributeNameVariable = string; - export type ExpressionAttributeValueMap = {[key: string]: AttributeValue}; - export type ExpressionAttributeValueVariable = string; - export type FilterConditionMap = {[key: string]: Condition}; - export interface GetItemInput { - /** - * The name of the table containing the requested item. - */ - TableName: TableName; - /** - * A map of attribute names to AttributeValue objects, representing the primary key of the item to retrieve. For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key. - */ - Key: Key; - /** - * This is a legacy parameter. Use ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer Guide. - */ - AttributesToGet?: AttributeNameList; - /** - * Determines the read consistency model: If set to true, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads. - */ - ConsistentRead?: ConsistentRead; - ReturnConsumedCapacity?: ReturnConsumedCapacity; - /** - * A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result. For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ProjectionExpression?: ProjectionExpression; - /** - * One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames: To access an attribute whose name conflicts with a DynamoDB reserved word. To create a placeholder for repeating occurrences of an attribute name in an expression. To prevent special characters in an attribute name from being misinterpreted in an expression. Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name: Percentile The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames: {"#P":"Percentile"} You could then use this substitution in an expression, as in this example: #P = :val Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime. For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeNames?: ExpressionAttributeNameMap; - } - export interface GetItemOutput { - /** - * A map of attribute names to AttributeValue objects, as specified by ProjectionExpression. - */ - Item?: AttributeMap; - /** - * The capacity units consumed by the GetItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide. - */ - ConsumedCapacity?: ConsumedCapacity; - } - export interface GlobalSecondaryIndex { - /** - * The name of the global secondary index. The name must be unique among all other indexes on this table. - */ - IndexName: IndexName; - /** - * The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types: HASH - partition key RANGE - sort key The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. - */ - KeySchema: KeySchema; - /** - * Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. - */ - Projection: Projection; - /** - * Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide. - */ - ProvisionedThroughput: ProvisionedThroughput; - } - export interface GlobalSecondaryIndexDescription { - /** - * The name of the global secondary index. - */ - IndexName?: IndexName; - /** - * The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types: HASH - partition key RANGE - sort key The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. - */ - KeySchema?: KeySchema; - /** - * Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. - */ - Projection?: Projection; - /** - * The current state of the global secondary index: CREATING - The index is being created. UPDATING - The index is being updated. DELETING - The index is being deleted. ACTIVE - The index is ready for use. - */ - IndexStatus?: IndexStatus; - /** - * Indicates whether the index is currently backfilling. Backfilling is the process of reading items from the table and determining whether they can be added to the index. (Not all items will qualify: For example, a partition key cannot have any duplicate values.) If an item can be added to the index, DynamoDB will do so. After all items have been processed, the backfilling operation is complete and Backfilling is false. For indexes that were created during a CreateTable operation, the Backfilling attribute does not appear in the DescribeTable output. - */ - Backfilling?: Backfilling; - /** - * Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide. - */ - ProvisionedThroughput?: ProvisionedThroughputDescription; - /** - * The total size of the specified index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value. - */ - IndexSizeBytes?: Long; - /** - * The number of items in the specified index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value. - */ - ItemCount?: Long; - /** - * The Amazon Resource Name (ARN) that uniquely identifies the index. - */ - IndexArn?: String; - } - export type GlobalSecondaryIndexDescriptionList = GlobalSecondaryIndexDescription[]; - export type GlobalSecondaryIndexList = GlobalSecondaryIndex[]; - export interface GlobalSecondaryIndexUpdate { - /** - * The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index. - */ - Update?: UpdateGlobalSecondaryIndexAction; - /** - * The parameters required for creating a global secondary index on an existing table: IndexName KeySchema AttributeDefinitions Projection ProvisionedThroughput - */ - Create?: CreateGlobalSecondaryIndexAction; - /** - * The name of an existing global secondary index to be removed. - */ - Delete?: DeleteGlobalSecondaryIndexAction; - } - export type GlobalSecondaryIndexUpdateList = GlobalSecondaryIndexUpdate[]; - export type IndexName = string; - export type IndexStatus = "CREATING"|"UPDATING"|"DELETING"|"ACTIVE"|string; - export type Integer = number; - export type ItemCollectionKeyAttributeMap = {[key: string]: AttributeValue}; - export interface ItemCollectionMetrics { - /** - * The partition key value of the item collection. This value is the same as the partition key value of the item. - */ - ItemCollectionKey?: ItemCollectionKeyAttributeMap; - /** - * An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit. The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate. - */ - SizeEstimateRangeGB?: ItemCollectionSizeEstimateRange; - } - export type ItemCollectionMetricsMultiple = ItemCollectionMetrics[]; - export type ItemCollectionMetricsPerTable = {[key: string]: ItemCollectionMetricsMultiple}; - export type ItemCollectionSizeEstimateBound = number; - export type ItemCollectionSizeEstimateRange = ItemCollectionSizeEstimateBound[]; - export type ItemList = AttributeMap[]; - export type Key = {[key: string]: AttributeValue}; - export type KeyConditions = {[key: string]: Condition}; - export type KeyExpression = string; - export type KeyList = Key[]; - export type KeySchema = KeySchemaElement[]; - export type KeySchemaAttributeName = string; - export interface KeySchemaElement { - /** - * The name of a key attribute. - */ - AttributeName: KeySchemaAttributeName; - /** - * The role that this key attribute will assume: HASH - partition key RANGE - sort key The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. - */ - KeyType: KeyType; - } - export type KeyType = "HASH"|"RANGE"|string; - export interface KeysAndAttributes { - /** - * The primary key attribute values that define the items and the attributes associated with the items. - */ - Keys: KeyList; - /** - * This is a legacy parameter. Use ProjectionExpression instead. For more information, see Legacy Conditional Parameters in the Amazon DynamoDB Developer Guide. - */ - AttributesToGet?: AttributeNameList; - /** - * The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used. - */ - ConsistentRead?: ConsistentRead; - /** - * A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the ProjectionExpression must be separated by commas. If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result. For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ProjectionExpression?: ProjectionExpression; - /** - * One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames: To access an attribute whose name conflicts with a DynamoDB reserved word. To create a placeholder for repeating occurrences of an attribute name in an expression. To prevent special characters in an attribute name from being misinterpreted in an expression. Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name: Percentile The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames: {"#P":"Percentile"} You could then use this substitution in an expression, as in this example: #P = :val Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime. For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeNames?: ExpressionAttributeNameMap; - } - export type ListAttributeValue = AttributeValue[]; - export interface ListTablesInput { - /** - * The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results. - */ - ExclusiveStartTableName?: TableName; - /** - * A maximum number of table names to return. If this parameter is not specified, the limit is 100. - */ - Limit?: ListTablesInputLimit; - } - export type ListTablesInputLimit = number; - export interface ListTablesOutput { - /** - * The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100. If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results. - */ - TableNames?: TableNameList; - /** - * The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned. If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved. - */ - LastEvaluatedTableName?: TableName; - } - export interface ListTagsOfResourceInput { - /** - * The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN). - */ - ResourceArn: ResourceArnString; - /** - * An optional string that, if supplied, must be copied from the output of a previous call to ListTagOfResource. When provided in this manner, this API fetches the next page of results. - */ - NextToken?: NextTokenString; - } - export interface ListTagsOfResourceOutput { - /** - * The tags currently associated with the Amazon DynamoDB resource. - */ - Tags?: TagList; - /** - * If this value is returned, there are additional results to be displayed. To retrieve them, call ListTagsOfResource again, with NextToken set to this value. - */ - NextToken?: NextTokenString; - } - export interface LocalSecondaryIndex { - /** - * The name of the local secondary index. The name must be unique among all other indexes on this table. - */ - IndexName: IndexName; - /** - * The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types: HASH - partition key RANGE - sort key The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. - */ - KeySchema: KeySchema; - /** - * Represents attributes that are copied (projected) from the table into the local secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. - */ - Projection: Projection; - } - export interface LocalSecondaryIndexDescription { - /** - * Represents the name of the local secondary index. - */ - IndexName?: IndexName; - /** - * The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types: HASH - partition key RANGE - sort key The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. - */ - KeySchema?: KeySchema; - /** - * Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. - */ - Projection?: Projection; - /** - * The total size of the specified index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value. - */ - IndexSizeBytes?: Long; - /** - * The number of items in the specified index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value. - */ - ItemCount?: Long; - /** - * The Amazon Resource Name (ARN) that uniquely identifies the index. - */ - IndexArn?: String; - } - export type LocalSecondaryIndexDescriptionList = LocalSecondaryIndexDescription[]; - export type LocalSecondaryIndexList = LocalSecondaryIndex[]; - export type Long = number; - export type MapAttributeValue = {[key: string]: AttributeValue}; - export type NextTokenString = string; - export type NonKeyAttributeName = string; - export type NonKeyAttributeNameList = NonKeyAttributeName[]; - export type NullAttributeValue = boolean; - export type NumberAttributeValue = string; - export type NumberSetAttributeValue = NumberAttributeValue[]; - export type PositiveIntegerObject = number; - export type PositiveLongObject = number; - export interface Projection { - /** - * The set of attributes that are projected into the index: KEYS_ONLY - Only the index and primary keys are projected into the index. INCLUDE - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes. ALL - All of the table attributes are projected into the index. - */ - ProjectionType?: ProjectionType; - /** - * Represents the non-key attribute names which will be projected into the index. For local secondary indexes, the total count of NonKeyAttributes summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. - */ - NonKeyAttributes?: NonKeyAttributeNameList; - } - export type ProjectionExpression = string; - export type ProjectionType = "ALL"|"KEYS_ONLY"|"INCLUDE"|string; - export interface ProvisionedThroughput { - /** - * The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide. - */ - ReadCapacityUnits: PositiveLongObject; - /** - * The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide. - */ - WriteCapacityUnits: PositiveLongObject; - } - export interface ProvisionedThroughputDescription { - /** - * The date and time of the last provisioned throughput increase for this table. - */ - LastIncreaseDateTime?: _Date; - /** - * The date and time of the last provisioned throughput decrease for this table. - */ - LastDecreaseDateTime?: _Date; - /** - * The number of provisioned throughput decreases for this table during this UTC calendar day. For current maximums on provisioned throughput decreases, see Limits in the Amazon DynamoDB Developer Guide. - */ - NumberOfDecreasesToday?: PositiveLongObject; - /** - * The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. Eventually consistent reads require less effort than strongly consistent reads, so a setting of 50 ReadCapacityUnits per second provides 100 eventually consistent ReadCapacityUnits per second. - */ - ReadCapacityUnits?: PositiveLongObject; - /** - * The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. - */ - WriteCapacityUnits?: PositiveLongObject; - } - export interface PutItemInput { - /** - * The name of the table to contain the item. - */ - TableName: TableName; - /** - * A map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item. You must provide all of the attributes for the primary key. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide both values for both the partition key and the sort key. If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition. For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer Guide. Each element in the Item map is an AttributeValue object. - */ - Item: PutItemInputAttributeMap; - /** - * This is a legacy parameter. Use ConditionExpresssion instead. For more information, see Expected in the Amazon DynamoDB Developer Guide. - */ - Expected?: ExpectedAttributeMap; - /** - * Use ReturnValues if you want to get the item attributes as they appeared before they were updated with the PutItem request. For PutItem, the valid values are: NONE - If ReturnValues is not specified, or if its value is NONE, then nothing is returned. (This setting is the default for ReturnValues.) ALL_OLD - If PutItem overwrote an attribute name-value pair, then the content of the old item is returned. The ReturnValues parameter is used by several DynamoDB operations; however, PutItem does not recognize any values other than NONE or ALL_OLD. - */ - ReturnValues?: ReturnValue; - ReturnConsumedCapacity?: ReturnConsumedCapacity; - /** - * Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during the operation are returned in the response. If set to NONE (the default), no statistics are returned. - */ - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics; - /** - * This is a legacy parameter. Use ConditionExpression instead. For more information, see ConditionalOperator in the Amazon DynamoDB Developer Guide. - */ - ConditionalOperator?: ConditionalOperator; - /** - * A condition that must be satisfied in order for a conditional PutItem operation to succeed. An expression can contain any of the following: Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size These function names are case-sensitive. Comparison operators: = | <> | < | > | <= | >= | BETWEEN | IN Logical operators: AND | OR | NOT For more information on condition expressions, see Specifying Conditions in the Amazon DynamoDB Developer Guide. - */ - ConditionExpression?: ConditionExpression; - /** - * One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames: To access an attribute whose name conflicts with a DynamoDB reserved word. To create a placeholder for repeating occurrences of an attribute name in an expression. To prevent special characters in an attribute name from being misinterpreted in an expression. Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name: Percentile The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames: {"#P":"Percentile"} You could then use this substitution in an expression, as in this example: #P = :val Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime. For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeNames?: ExpressionAttributeNameMap; - /** - * One or more values that can be substituted in an expression. Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the ProductStatus attribute was one of the following: Available | Backordered | Discontinued You would first need to specify ExpressionAttributeValues as follows: { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} } You could then use these values in an expression, such as this: ProductStatus IN (:avail, :back, :disc) For more information on expression attribute values, see Specifying Conditions in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeValues?: ExpressionAttributeValueMap; - } - export type PutItemInputAttributeMap = {[key: string]: AttributeValue}; - export interface PutItemOutput { - /** - * The attribute values as they appeared before the PutItem operation, but only if ReturnValues is specified as ALL_OLD in the request. Each element consists of an attribute name and an attribute value. - */ - Attributes?: AttributeMap; - /** - * The capacity units consumed by the PutItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide. - */ - ConsumedCapacity?: ConsumedCapacity; - /** - * Information about item collections, if any, that were affected by the PutItem operation. ItemCollectionMetrics is only returned if the ReturnItemCollectionMetrics parameter was specified. If the table does not have any local secondary indexes, this information is not returned in the response. Each ItemCollectionMetrics element consists of: ItemCollectionKey - The partition key value of the item collection. This is the same as the partition key value of the item itself. SizeEstimateRange - An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit. The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate. - */ - ItemCollectionMetrics?: ItemCollectionMetrics; - } - export interface PutRequest { - /** - * A map of attribute name to attribute values, representing the primary key of an item to be processed by PutItem. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item which are part of an index key schema for the table, their types must match the index key schema. - */ - Item: PutItemInputAttributeMap; - } - export interface QueryInput { - /** - * The name of the table containing the requested items. - */ - TableName: TableName; - /** - * The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that if you use the IndexName parameter, you must also provide TableName. - */ - IndexName?: IndexName; - /** - * The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index. ALL_ATTRIBUTES - Returns all of the item attributes from the specified table or index. If you query a local secondary index, then for each matching item in the index DynamoDB will fetch the entire item from the parent table. If the index is configured to project all item attributes, then all of the data can be obtained from the local secondary index, and no fetching is required. ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index. Retrieves all attributes that have been projected into the index. If the index is configured to project all attributes, this return value is equivalent to specifying ALL_ATTRIBUTES. COUNT - Returns the number of matching items, rather than the matching items themselves. SPECIFIC_ATTRIBUTES - Returns only the attributes listed in AttributesToGet. This return value is equivalent to specifying AttributesToGet without specifying any value for Select. If you query or scan a local secondary index and request only attributes that are projected into that index, the operation will read only the index and not the table. If any of the requested attributes are not projected into the local secondary index, DynamoDB will fetch each of these attributes from the parent table. This extra fetching incurs additional throughput cost and latency. If you query or scan a global secondary index, you can only request attributes that are projected into the index. Global secondary index queries cannot fetch attributes from the parent table. If neither Select nor AttributesToGet are specified, DynamoDB defaults to ALL_ATTRIBUTES when accessing a table, and ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot use both Select and AttributesToGet together in a single request, unless the value for Select is SPECIFIC_ATTRIBUTES. (This usage is equivalent to specifying AttributesToGet without any value for Select.) If you use the ProjectionExpression parameter, then the value for Select can only be SPECIFIC_ATTRIBUTES. Any other value for Select will return an error. - */ - Select?: Select; - /** - * This is a legacy parameter. Use ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer Guide. - */ - AttributesToGet?: AttributeNameList; - /** - * The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, and a key in LastEvaluatedKey to apply in a subsequent operation, so that you can pick up where you left off. Also, if the processed data set size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in LastEvaluatedKey to apply in a subsequent operation to continue the operation. For more information, see Query and Scan in the Amazon DynamoDB Developer Guide. - */ - Limit?: PositiveIntegerObject; - /** - * Determines the read consistency model: If set to true, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads. Strongly consistent reads are not supported on global secondary indexes. If you query a global secondary index with ConsistentRead set to true, you will receive a ValidationException. - */ - ConsistentRead?: ConsistentRead; - /** - * This is a legacy parameter. Use KeyConditionExpression instead. For more information, see KeyConditions in the Amazon DynamoDB Developer Guide. - */ - KeyConditions?: KeyConditions; - /** - * This is a legacy parameter. Use FilterExpression instead. For more information, see QueryFilter in the Amazon DynamoDB Developer Guide. - */ - QueryFilter?: FilterConditionMap; - /** - * This is a legacy parameter. Use FilterExpression instead. For more information, see ConditionalOperator in the Amazon DynamoDB Developer Guide. - */ - ConditionalOperator?: ConditionalOperator; - /** - * Specifies the order for index traversal: If true (default), the traversal is performed in ascending order; if false, the traversal is performed in descending order. Items with the same partition key value are stored in sorted order by sort key. If the sort key data type is Number, the results are stored in numeric order. For type String, the results are stored in order of ASCII character code values. For type Binary, DynamoDB treats each byte of the binary data as unsigned. If ScanIndexForward is true, DynamoDB returns the results in the order in which they are stored (by sort key value). This is the default behavior. If ScanIndexForward is false, DynamoDB reads the results in reverse order by sort key value, and then returns the results to the client. - */ - ScanIndexForward?: BooleanObject; - /** - * The primary key of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedKey in the previous operation. The data type for ExclusiveStartKey must be String, Number or Binary. No set data types are allowed. - */ - ExclusiveStartKey?: Key; - ReturnConsumedCapacity?: ReturnConsumedCapacity; - /** - * A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result. For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ProjectionExpression?: ProjectionExpression; - /** - * A string that contains conditions that DynamoDB applies after the Query operation, but before the data is returned to you. Items that do not satisfy the FilterExpression criteria are not returned. A FilterExpression does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key. A FilterExpression is applied after the items have already been read; the process of filtering does not consume any additional read capacity units. For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide. - */ - FilterExpression?: ConditionExpression; - /** - * The condition that specifies the key value(s) for items to be retrieved by the Query action. The condition must perform an equality test on a single partition key value. The condition can also perform one of several comparison tests on a single sort key value. Query can use KeyConditionExpression to retrieve one item with a given partition key value and sort key value, or several items that have the same partition key value but different sort key values. The partition key equality test is required, and must be specified in the following format: partitionKeyName = :partitionkeyval If you also want to provide a condition for the sort key, it must be combined using AND with the condition for the sort key. Following is an example, using the = comparison operator for the sort key: partitionKeyName = :partitionkeyval AND sortKeyName = :sortkeyval Valid comparisons for the sort key condition are as follows: sortKeyName = :sortkeyval - true if the sort key value is equal to :sortkeyval. sortKeyName < :sortkeyval - true if the sort key value is less than :sortkeyval. sortKeyName <= :sortkeyval - true if the sort key value is less than or equal to :sortkeyval. sortKeyName > :sortkeyval - true if the sort key value is greater than :sortkeyval. sortKeyName >= :sortkeyval - true if the sort key value is greater than or equal to :sortkeyval. sortKeyName BETWEEN :sortkeyval1 AND :sortkeyval2 - true if the sort key value is greater than or equal to :sortkeyval1, and less than or equal to :sortkeyval2. begins_with ( sortKeyName, :sortkeyval ) - true if the sort key value begins with a particular operand. (You cannot use this function with a sort key that is of type Number.) Note that the function name begins_with is case-sensitive. Use the ExpressionAttributeValues parameter to replace tokens such as :partitionval and :sortval with actual values at runtime. You can optionally use the ExpressionAttributeNames parameter to replace the names of the partition key and sort key with placeholder tokens. This option might be necessary if an attribute name conflicts with a DynamoDB reserved word. For example, the following KeyConditionExpression parameter causes an error because Size is a reserved word: Size = :myval To work around this, define a placeholder (such a #S) to represent the attribute name Size. KeyConditionExpression then is as follows: #S = :myval For a list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide. For more information on ExpressionAttributeNames and ExpressionAttributeValues, see Using Placeholders for Attribute Names and Values in the Amazon DynamoDB Developer Guide. - */ - KeyConditionExpression?: KeyExpression; - /** - * One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames: To access an attribute whose name conflicts with a DynamoDB reserved word. To create a placeholder for repeating occurrences of an attribute name in an expression. To prevent special characters in an attribute name from being misinterpreted in an expression. Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name: Percentile The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames: {"#P":"Percentile"} You could then use this substitution in an expression, as in this example: #P = :val Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime. For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeNames?: ExpressionAttributeNameMap; - /** - * One or more values that can be substituted in an expression. Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the ProductStatus attribute was one of the following: Available | Backordered | Discontinued You would first need to specify ExpressionAttributeValues as follows: { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} } You could then use these values in an expression, such as this: ProductStatus IN (:avail, :back, :disc) For more information on expression attribute values, see Specifying Conditions in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeValues?: ExpressionAttributeValueMap; - } - export interface QueryOutput { - /** - * An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute. - */ - Items?: ItemList; - /** - * The number of items in the response. If you used a QueryFilter in the request, then Count is the number of items returned after the filter was applied, and ScannedCount is the number of matching items before the filter was applied. If you did not use a filter in the request, then Count and ScannedCount are the same. - */ - Count?: Integer; - /** - * The number of items evaluated, before any QueryFilter is applied. A high ScannedCount value with few, or no, Count results indicates an inefficient Query operation. For more information, see Count and ScannedCount in the Amazon DynamoDB Developer Guide. If you did not use a filter in the request, then ScannedCount is the same as Count. - */ - ScannedCount?: Integer; - /** - * The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request. If LastEvaluatedKey is empty, then the "last page" of results has been processed and there is no more data to be retrieved. If LastEvaluatedKey is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedKey is empty. - */ - LastEvaluatedKey?: Key; - /** - * The capacity units consumed by the Query operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide. - */ - ConsumedCapacity?: ConsumedCapacity; - } - export type ResourceArnString = string; - export type ReturnConsumedCapacity = "INDEXES"|"TOTAL"|"NONE"|string; - export type ReturnItemCollectionMetrics = "SIZE"|"NONE"|string; - export type ReturnValue = "NONE"|"ALL_OLD"|"UPDATED_OLD"|"ALL_NEW"|"UPDATED_NEW"|string; - export type ScalarAttributeType = "S"|"N"|"B"|string; - export interface ScanInput { - /** - * The name of the table containing the requested items; or, if you provide IndexName, the name of the table to which that index belongs. - */ - TableName: TableName; - /** - * The name of a secondary index to scan. This index can be any local secondary index or global secondary index. Note that if you use the IndexName parameter, you must also provide TableName. - */ - IndexName?: IndexName; - /** - * This is a legacy parameter. Use ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer Guide. - */ - AttributesToGet?: AttributeNameList; - /** - * The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, and a key in LastEvaluatedKey to apply in a subsequent operation, so that you can pick up where you left off. Also, if the processed data set size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in LastEvaluatedKey to apply in a subsequent operation to continue the operation. For more information, see Query and Scan in the Amazon DynamoDB Developer Guide. - */ - Limit?: PositiveIntegerObject; - /** - * The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index. ALL_ATTRIBUTES - Returns all of the item attributes from the specified table or index. If you query a local secondary index, then for each matching item in the index DynamoDB will fetch the entire item from the parent table. If the index is configured to project all item attributes, then all of the data can be obtained from the local secondary index, and no fetching is required. ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index. Retrieves all attributes that have been projected into the index. If the index is configured to project all attributes, this return value is equivalent to specifying ALL_ATTRIBUTES. COUNT - Returns the number of matching items, rather than the matching items themselves. SPECIFIC_ATTRIBUTES - Returns only the attributes listed in AttributesToGet. This return value is equivalent to specifying AttributesToGet without specifying any value for Select. If you query or scan a local secondary index and request only attributes that are projected into that index, the operation will read only the index and not the table. If any of the requested attributes are not projected into the local secondary index, DynamoDB will fetch each of these attributes from the parent table. This extra fetching incurs additional throughput cost and latency. If you query or scan a global secondary index, you can only request attributes that are projected into the index. Global secondary index queries cannot fetch attributes from the parent table. If neither Select nor AttributesToGet are specified, DynamoDB defaults to ALL_ATTRIBUTES when accessing a table, and ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot use both Select and AttributesToGet together in a single request, unless the value for Select is SPECIFIC_ATTRIBUTES. (This usage is equivalent to specifying AttributesToGet without any value for Select.) If you use the ProjectionExpression parameter, then the value for Select can only be SPECIFIC_ATTRIBUTES. Any other value for Select will return an error. - */ - Select?: Select; - /** - * This is a legacy parameter. Use FilterExpression instead. For more information, see ScanFilter in the Amazon DynamoDB Developer Guide. - */ - ScanFilter?: FilterConditionMap; - /** - * This is a legacy parameter. Use FilterExpression instead. For more information, see ConditionalOperator in the Amazon DynamoDB Developer Guide. - */ - ConditionalOperator?: ConditionalOperator; - /** - * The primary key of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedKey in the previous operation. The data type for ExclusiveStartKey must be String, Number or Binary. No set data types are allowed. In a parallel scan, a Scan request that includes ExclusiveStartKey must specify the same segment whose previous Scan returned the corresponding value of LastEvaluatedKey. - */ - ExclusiveStartKey?: Key; - ReturnConsumedCapacity?: ReturnConsumedCapacity; - /** - * For a parallel Scan request, TotalSegments represents the total number of segments into which the Scan operation will be divided. The value of TotalSegments corresponds to the number of application workers that will perform the parallel scan. For example, if you want to use four application threads to scan a table or an index, specify a TotalSegments value of 4. The value for TotalSegments must be greater than or equal to 1, and less than or equal to 1000000. If you specify a TotalSegments value of 1, the Scan operation will be sequential rather than parallel. If you specify TotalSegments, you must also specify Segment. - */ - TotalSegments?: ScanTotalSegments; - /** - * For a parallel Scan request, Segment identifies an individual segment to be scanned by an application worker. Segment IDs are zero-based, so the first segment is always 0. For example, if you want to use four application threads to scan a table or an index, then the first thread specifies a Segment value of 0, the second thread specifies 1, and so on. The value of LastEvaluatedKey returned from a parallel Scan request must be used as ExclusiveStartKey with the same segment ID in a subsequent Scan operation. The value for Segment must be greater than or equal to 0, and less than the value provided for TotalSegments. If you provide Segment, you must also provide TotalSegments. - */ - Segment?: ScanSegment; - /** - * A string that identifies one or more attributes to retrieve from the specified table or index. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result. For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ProjectionExpression?: ProjectionExpression; - /** - * A string that contains conditions that DynamoDB applies after the Scan operation, but before the data is returned to you. Items that do not satisfy the FilterExpression criteria are not returned. A FilterExpression is applied after the items have already been read; the process of filtering does not consume any additional read capacity units. For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide. - */ - FilterExpression?: ConditionExpression; - /** - * One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames: To access an attribute whose name conflicts with a DynamoDB reserved word. To create a placeholder for repeating occurrences of an attribute name in an expression. To prevent special characters in an attribute name from being misinterpreted in an expression. Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name: Percentile The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames: {"#P":"Percentile"} You could then use this substitution in an expression, as in this example: #P = :val Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime. For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeNames?: ExpressionAttributeNameMap; - /** - * One or more values that can be substituted in an expression. Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the ProductStatus attribute was one of the following: Available | Backordered | Discontinued You would first need to specify ExpressionAttributeValues as follows: { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} } You could then use these values in an expression, such as this: ProductStatus IN (:avail, :back, :disc) For more information on expression attribute values, see Specifying Conditions in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeValues?: ExpressionAttributeValueMap; - /** - * A Boolean value that determines the read consistency model during the scan: If ConsistentRead is false, then the data returned from Scan might not contain the results from other recently completed write operations (PutItem, UpdateItem or DeleteItem). If ConsistentRead is true, then all of the write operations that completed before the Scan began are guaranteed to be contained in the Scan response. The default setting for ConsistentRead is false. The ConsistentRead parameter is not supported on global secondary indexes. If you scan a global secondary index with ConsistentRead set to true, you will receive a ValidationException. - */ - ConsistentRead?: ConsistentRead; - } - export interface ScanOutput { - /** - * An array of item attributes that match the scan criteria. Each element in this array consists of an attribute name and the value for that attribute. - */ - Items?: ItemList; - /** - * The number of items in the response. If you set ScanFilter in the request, then Count is the number of items returned after the filter was applied, and ScannedCount is the number of matching items before the filter was applied. If you did not use a filter in the request, then Count is the same as ScannedCount. - */ - Count?: Integer; - /** - * The number of items evaluated, before any ScanFilter is applied. A high ScannedCount value with few, or no, Count results indicates an inefficient Scan operation. For more information, see Count and ScannedCount in the Amazon DynamoDB Developer Guide. If you did not use a filter in the request, then ScannedCount is the same as Count. - */ - ScannedCount?: Integer; - /** - * The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request. If LastEvaluatedKey is empty, then the "last page" of results has been processed and there is no more data to be retrieved. If LastEvaluatedKey is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedKey is empty. - */ - LastEvaluatedKey?: Key; - /** - * The capacity units consumed by the Scan operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide. - */ - ConsumedCapacity?: ConsumedCapacity; - } - export type ScanSegment = number; - export type ScanTotalSegments = number; - export type SecondaryIndexesCapacityMap = {[key: string]: Capacity}; - export type Select = "ALL_ATTRIBUTES"|"ALL_PROJECTED_ATTRIBUTES"|"SPECIFIC_ATTRIBUTES"|"COUNT"|string; - export type StreamArn = string; - export type StreamEnabled = boolean; - export interface StreamSpecification { - /** - * Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table. - */ - StreamEnabled?: StreamEnabled; - /** - * When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are: KEYS_ONLY - Only the key attributes of the modified item are written to the stream. NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream. OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream. NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream. - */ - StreamViewType?: StreamViewType; - } - export type StreamViewType = "NEW_IMAGE"|"OLD_IMAGE"|"NEW_AND_OLD_IMAGES"|"KEYS_ONLY"|string; - export type String = string; - export type StringAttributeValue = string; - export type StringSetAttributeValue = StringAttributeValue[]; - export interface TableDescription { - /** - * An array of AttributeDefinition objects. Each of these objects describes one attribute in the table and index key schema. Each AttributeDefinition object in this array is composed of: AttributeName - The name of the attribute. AttributeType - The data type for the attribute. - */ - AttributeDefinitions?: AttributeDefinitions; - /** - * The name of the table. - */ - TableName?: TableName; - /** - * The primary key structure for the table. Each KeySchemaElement consists of: AttributeName - The name of the attribute. KeyType - The role of the attribute: HASH - partition key RANGE - sort key The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer Guide. - */ - KeySchema?: KeySchema; - /** - * The current state of the table: CREATING - The table is being created. UPDATING - The table is being updated. DELETING - The table is being deleted. ACTIVE - The table is ready for use. - */ - TableStatus?: TableStatus; - /** - * The date and time when the table was created, in UNIX epoch time format. - */ - CreationDateTime?: _Date; - /** - * The provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases. - */ - ProvisionedThroughput?: ProvisionedThroughputDescription; - /** - * The total size of the specified table, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value. - */ - TableSizeBytes?: Long; - /** - * The number of items in the specified table. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value. - */ - ItemCount?: Long; - /** - * The Amazon Resource Name (ARN) that uniquely identifies the table. - */ - TableArn?: String; - /** - * Represents one or more local secondary indexes on the table. Each index is scoped to a given partition key value. Tables with one or more local secondary indexes are subject to an item collection size limit, where the amount of data within a given item collection cannot exceed 10 GB. Each element is composed of: IndexName - The name of the local secondary index. KeySchema - Specifies the complete index key schema. The attribute names in the key schema must be between 1 and 255 characters (inclusive). The key schema must begin with the same partition key as the table. Projection - Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of: ProjectionType - One of the following: KEYS_ONLY - Only the index and primary keys are projected into the index. INCLUDE - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes. ALL - All of the table attributes are projected into the index. NonKeyAttributes - A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. IndexSizeBytes - Represents the total size of the index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value. ItemCount - Represents the number of items in the index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value. If the table is in the DELETING state, no information about indexes will be returned. - */ - LocalSecondaryIndexes?: LocalSecondaryIndexDescriptionList; - /** - * The global secondary indexes, if any, on the table. Each index is scoped to a given partition key value. Each element is composed of: Backfilling - If true, then the index is currently in the backfilling phase. Backfilling occurs only when a new global secondary index is added to the table; it is the process by which DynamoDB populates the new index with data from the table. (This attribute does not appear for indexes that were created during a CreateTable operation.) IndexName - The name of the global secondary index. IndexSizeBytes - The total size of the global secondary index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value. IndexStatus - The current status of the global secondary index: CREATING - The index is being created. UPDATING - The index is being updated. DELETING - The index is being deleted. ACTIVE - The index is ready for use. ItemCount - The number of items in the global secondary index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value. KeySchema - Specifies the complete index key schema. The attribute names in the key schema must be between 1 and 255 characters (inclusive). The key schema must begin with the same partition key as the table. Projection - Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of: ProjectionType - One of the following: KEYS_ONLY - Only the index and primary keys are projected into the index. INCLUDE - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes. ALL - All of the table attributes are projected into the index. NonKeyAttributes - A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. ProvisionedThroughput - The provisioned throughput settings for the global secondary index, consisting of read and write capacity units, along with data about increases and decreases. If the table is in the DELETING state, no information about indexes will be returned. - */ - GlobalSecondaryIndexes?: GlobalSecondaryIndexDescriptionList; - /** - * The current DynamoDB Streams configuration for the table. - */ - StreamSpecification?: StreamSpecification; - /** - * A timestamp, in ISO 8601 format, for this stream. Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique: the AWS customer ID. the table name. the StreamLabel. - */ - LatestStreamLabel?: String; - /** - * The Amazon Resource Name (ARN) that uniquely identifies the latest stream for this table. - */ - LatestStreamArn?: StreamArn; - } - export type TableName = string; - export type TableNameList = TableName[]; - export type TableStatus = "CREATING"|"UPDATING"|"DELETING"|"ACTIVE"|string; - export interface Tag { - /** - * The key of the tag.Tag keys are case sensitive. Each DynamoDB table can only have up to one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value. - */ - Key: TagKeyString; - /** - * The value of the tag. Tag values are case-sensitive and can be null. - */ - Value: TagValueString; - } - export type TagKeyList = TagKeyString[]; - export type TagKeyString = string; - export type TagList = Tag[]; - export interface TagResourceInput { - /** - * Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN). - */ - ResourceArn: ResourceArnString; - /** - * The tags to be assigned to the Amazon DynamoDB resource. - */ - Tags: TagList; - } - export type TagValueString = string; - export type TimeToLiveAttributeName = string; - export interface TimeToLiveDescription { - /** - * The Time to Live status for the table. - */ - TimeToLiveStatus?: TimeToLiveStatus; - /** - * The name of the Time to Live attribute for items in the table. - */ - AttributeName?: TimeToLiveAttributeName; - } - export type TimeToLiveEnabled = boolean; - export interface TimeToLiveSpecification { - /** - * Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table. - */ - Enabled: TimeToLiveEnabled; - /** - * The name of the Time to Live attribute used to store the expiration time for items in the table. - */ - AttributeName: TimeToLiveAttributeName; - } - export type TimeToLiveStatus = "ENABLING"|"DISABLING"|"ENABLED"|"DISABLED"|string; - export interface UntagResourceInput { - /** - * The Amazon DyanamoDB resource the tags will be removed from. This value is an Amazon Resource Name (ARN). - */ - ResourceArn: ResourceArnString; - /** - * A list of tag keys. Existing tags of the resource whose keys are members of this list will be removed from the Amazon DynamoDB resource. - */ - TagKeys: TagKeyList; - } - export type UpdateExpression = string; - export interface UpdateGlobalSecondaryIndexAction { - /** - * The name of the global secondary index to be updated. - */ - IndexName: IndexName; - /** - * Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide. - */ - ProvisionedThroughput: ProvisionedThroughput; - } - export interface UpdateItemInput { - /** - * The name of the table containing the item to update. - */ - TableName: TableName; - /** - * The primary key of the item to be updated. Each element consists of an attribute name and a value for that attribute. For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key. - */ - Key: Key; - /** - * This is a legacy parameter. Use UpdateExpression instead. For more information, see AttributeUpdates in the Amazon DynamoDB Developer Guide. - */ - AttributeUpdates?: AttributeUpdates; - /** - * This is a legacy parameter. Use ConditionExpresssion instead. For more information, see Expected in the Amazon DynamoDB Developer Guide. - */ - Expected?: ExpectedAttributeMap; - /** - * This is a legacy parameter. Use ConditionExpression instead. For more information, see ConditionalOperator in the Amazon DynamoDB Developer Guide. - */ - ConditionalOperator?: ConditionalOperator; - /** - * Use ReturnValues if you want to get the item attributes as they appeared either before or after they were updated. For UpdateItem, the valid values are: NONE - If ReturnValues is not specified, or if its value is NONE, then nothing is returned. (This setting is the default for ReturnValues.) ALL_OLD - Returns all of the attributes of the item, as they appeared before the UpdateItem operation. UPDATED_OLD - Returns only the updated attributes, as they appeared before the UpdateItem operation. ALL_NEW - Returns all of the attributes of the item, as they appear after the UpdateItem operation. UPDATED_NEW - Returns only the updated attributes, as they appear after the UpdateItem operation. There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No Read Capacity Units are consumed. Values returned are strongly consistent - */ - ReturnValues?: ReturnValue; - ReturnConsumedCapacity?: ReturnConsumedCapacity; - /** - * Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during the operation are returned in the response. If set to NONE (the default), no statistics are returned. - */ - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics; - /** - * An expression that defines one or more attributes to be updated, the action to be performed on them, and new value(s) for them. The following action values are available for UpdateExpression. SET - Adds one or more attributes and values to an item. If any of these attribute already exist, they are replaced by the new values. You can also use SET to add or subtract from an attribute that is of type Number. For example: SET myNum = myNum + :val SET supports the following functions: if_not_exists (path, operand) - if the item does not contain an attribute at the specified path, then if_not_exists evaluates to operand; otherwise, it evaluates to path. You can use this function to avoid overwriting an attribute that may already be present in the item. list_append (operand, operand) - evaluates to a list with a new element added to it. You can append the new element to the start or the end of the list by reversing the order of the operands. These function names are case-sensitive. REMOVE - Removes one or more attributes from an item. ADD - Adds the specified value to the item, if the attribute does not already exist. If the attribute does exist, then the behavior of ADD depends on the data type of the attribute: If the existing attribute is a number, and if Value is also a number, then Value is mathematically added to the existing attribute. If Value is a negative number, then it is subtracted from the existing attribute. If you use ADD to increment or decrement a number value for an item that doesn't exist before the update, DynamoDB uses 0 as the initial value. Similarly, if you use ADD for an existing item to increment or decrement an attribute value that doesn't exist before the update, DynamoDB uses 0 as the initial value. For example, suppose that the item you want to update doesn't have an attribute named itemcount, but you decide to ADD the number 3 to this attribute anyway. DynamoDB will create the itemcount attribute, set its initial value to 0, and finally add 3 to it. The result will be a new itemcount attribute in the item, with a value of 3. If the existing data type is a set and if Value is also a set, then Value is added to the existing set. For example, if the attribute value is the set [1,2], and the ADD action specified [3], then the final attribute value is [1,2,3]. An error occurs if an ADD action is specified for a set attribute and the attribute type specified does not match the existing set type. Both sets must have the same primitive data type. For example, if the existing data type is a set of strings, the Value must also be a set of strings. The ADD action only supports Number and set data types. In addition, ADD can only be used on top-level attributes, not nested attributes. DELETE - Deletes an element from a set. If a set of values is specified, then those values are subtracted from the old set. For example, if the attribute value was the set [a,b,c] and the DELETE action specifies [a,c], then the final attribute value is [b]. Specifying an empty set is an error. The DELETE action only supports set data types. In addition, DELETE can only be used on top-level attributes, not nested attributes. You can have many actions in a single expression, such as the following: SET a=:value1, b=:value2 DELETE :value3, :value4, :value5 For more information on update expressions, see Modifying Items and Attributes in the Amazon DynamoDB Developer Guide. - */ - UpdateExpression?: UpdateExpression; - /** - * A condition that must be satisfied in order for a conditional update to succeed. An expression can contain any of the following: Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size These function names are case-sensitive. Comparison operators: = | <> | < | > | <= | >= | BETWEEN | IN Logical operators: AND | OR | NOT For more information on condition expressions, see Specifying Conditions in the Amazon DynamoDB Developer Guide. - */ - ConditionExpression?: ConditionExpression; - /** - * One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames: To access an attribute whose name conflicts with a DynamoDB reserved word. To create a placeholder for repeating occurrences of an attribute name in an expression. To prevent special characters in an attribute name from being misinterpreted in an expression. Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name: Percentile The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames: {"#P":"Percentile"} You could then use this substitution in an expression, as in this example: #P = :val Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime. For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeNames?: ExpressionAttributeNameMap; - /** - * One or more values that can be substituted in an expression. Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the ProductStatus attribute was one of the following: Available | Backordered | Discontinued You would first need to specify ExpressionAttributeValues as follows: { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} } You could then use these values in an expression, such as this: ProductStatus IN (:avail, :back, :disc) For more information on expression attribute values, see Specifying Conditions in the Amazon DynamoDB Developer Guide. - */ - ExpressionAttributeValues?: ExpressionAttributeValueMap; - } - export interface UpdateItemOutput { - /** - * A map of attribute values as they appeared before the UpdateItem operation. This map only appears if ReturnValues was specified as something other than NONE in the request. Each element represents one attribute. - */ - Attributes?: AttributeMap; - /** - * The capacity units consumed by the UpdateItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide. - */ - ConsumedCapacity?: ConsumedCapacity; - /** - * Information about item collections, if any, that were affected by the UpdateItem operation. ItemCollectionMetrics is only returned if the ReturnItemCollectionMetrics parameter was specified. If the table does not have any local secondary indexes, this information is not returned in the response. Each ItemCollectionMetrics element consists of: ItemCollectionKey - The partition key value of the item collection. This is the same as the partition key value of the item itself. SizeEstimateRange - An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit. The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate. - */ - ItemCollectionMetrics?: ItemCollectionMetrics; - } - export interface UpdateTableInput { - /** - * An array of attributes that describe the key schema for the table and indexes. If you are adding a new global secondary index to the table, AttributeDefinitions must include the key element(s) of the new index. - */ - AttributeDefinitions?: AttributeDefinitions; - /** - * The name of the table to be updated. - */ - TableName: TableName; - /** - * The new provisioned throughput settings for the specified table or index. - */ - ProvisionedThroughput?: ProvisionedThroughput; - /** - * An array of one or more global secondary indexes for the table. For each index in the array, you can request one action: Create - add a new global secondary index to the table. Update - modify the provisioned throughput settings of an existing global secondary index. Delete - remove a global secondary index from the table. For more information, see Managing Global Secondary Indexes in the Amazon DynamoDB Developer Guide. - */ - GlobalSecondaryIndexUpdates?: GlobalSecondaryIndexUpdateList; - /** - * Represents the DynamoDB Streams configuration for the table. You will receive a ResourceInUseException if you attempt to enable a stream on a table that already has a stream, or if you attempt to disable a stream on a table which does not have a stream. - */ - StreamSpecification?: StreamSpecification; - } - export interface UpdateTableOutput { - /** - * Represents the properties of the table. - */ - TableDescription?: TableDescription; - } - export interface UpdateTimeToLiveInput { - /** - * The name of the table to be configured. - */ - TableName: TableName; - /** - * Represents the settings used to enable or disable Time to Live for the specified table. - */ - TimeToLiveSpecification: TimeToLiveSpecification; - } - export interface UpdateTimeToLiveOutput { - /** - * Represents the output of an UpdateTimeToLive operation. - */ - TimeToLiveSpecification?: TimeToLiveSpecification; - } - export interface WriteRequest { - /** - * A request to perform a PutItem operation. - */ - PutRequest?: PutRequest; - /** - * A request to perform a DeleteItem operation. - */ - DeleteRequest?: DeleteRequest; - } - export type WriteRequests = WriteRequest[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2011-12-05"|"2012-08-10"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the DynamoDB client. - */ - export import Types = DynamoDB; -} -export = DynamoDB; diff --git a/src/node_modules/aws-sdk/clients/dynamodb.js b/src/node_modules/aws-sdk/clients/dynamodb.js deleted file mode 100644 index 26c6fc5..0000000 --- a/src/node_modules/aws-sdk/clients/dynamodb.js +++ /dev/null @@ -1,30 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['dynamodb'] = {}; -AWS.DynamoDB = Service.defineService('dynamodb', ['2011-12-05', '2012-08-10']); -require('../lib/services/dynamodb'); -Object.defineProperty(apiLoader.services['dynamodb'], '2011-12-05', { - get: function get() { - var model = require('../apis/dynamodb-2011-12-05.min.json'); - model.paginators = require('../apis/dynamodb-2011-12-05.paginators.json').pagination; - model.waiters = require('../apis/dynamodb-2011-12-05.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['dynamodb'], '2012-08-10', { - get: function get() { - var model = require('../apis/dynamodb-2012-08-10.min.json'); - model.paginators = require('../apis/dynamodb-2012-08-10.paginators.json').pagination; - model.waiters = require('../apis/dynamodb-2012-08-10.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DynamoDB; diff --git a/src/node_modules/aws-sdk/clients/dynamodbstreams.d.ts b/src/node_modules/aws-sdk/clients/dynamodbstreams.d.ts deleted file mode 100644 index 6fc987e..0000000 --- a/src/node_modules/aws-sdk/clients/dynamodbstreams.d.ts +++ /dev/null @@ -1,382 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class DynamoDBStreams extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: DynamoDBStreams.Types.ClientConfiguration) - config: Config & DynamoDBStreams.Types.ClientConfiguration; - /** - * Returns information about a stream, including the current status of the stream, its Amazon Resource Name (ARN), the composition of its shards, and its corresponding DynamoDB table. You can call DescribeStream at a maximum rate of 10 times per second. Each shard in the stream has a SequenceNumberRange associated with it. If the SequenceNumberRange has a StartingSequenceNumber but no EndingSequenceNumber, then the shard is still open (able to receive more stream records). If both StartingSequenceNumber and EndingSequenceNumber are present, then that shard is closed and can no longer receive more data. - */ - describeStream(params: DynamoDBStreams.Types.DescribeStreamInput, callback?: (err: AWSError, data: DynamoDBStreams.Types.DescribeStreamOutput) => void): Request; - /** - * Returns information about a stream, including the current status of the stream, its Amazon Resource Name (ARN), the composition of its shards, and its corresponding DynamoDB table. You can call DescribeStream at a maximum rate of 10 times per second. Each shard in the stream has a SequenceNumberRange associated with it. If the SequenceNumberRange has a StartingSequenceNumber but no EndingSequenceNumber, then the shard is still open (able to receive more stream records). If both StartingSequenceNumber and EndingSequenceNumber are present, then that shard is closed and can no longer receive more data. - */ - describeStream(callback?: (err: AWSError, data: DynamoDBStreams.Types.DescribeStreamOutput) => void): Request; - /** - * Retrieves the stream records from a given shard. Specify a shard iterator using the ShardIterator parameter. The shard iterator specifies the position in the shard from which you want to start reading stream records sequentially. If there are no stream records available in the portion of the shard that the iterator points to, GetRecords returns an empty list. Note that it might take multiple calls to get to a portion of the shard that contains stream records. GetRecords can retrieve a maximum of 1 MB of data or 1000 stream records, whichever comes first. - */ - getRecords(params: DynamoDBStreams.Types.GetRecordsInput, callback?: (err: AWSError, data: DynamoDBStreams.Types.GetRecordsOutput) => void): Request; - /** - * Retrieves the stream records from a given shard. Specify a shard iterator using the ShardIterator parameter. The shard iterator specifies the position in the shard from which you want to start reading stream records sequentially. If there are no stream records available in the portion of the shard that the iterator points to, GetRecords returns an empty list. Note that it might take multiple calls to get to a portion of the shard that contains stream records. GetRecords can retrieve a maximum of 1 MB of data or 1000 stream records, whichever comes first. - */ - getRecords(callback?: (err: AWSError, data: DynamoDBStreams.Types.GetRecordsOutput) => void): Request; - /** - * Returns a shard iterator. A shard iterator provides information about how to retrieve the stream records from within a shard. Use the shard iterator in a subsequent GetRecords request to read the stream records from the shard. A shard iterator expires 15 minutes after it is returned to the requester. - */ - getShardIterator(params: DynamoDBStreams.Types.GetShardIteratorInput, callback?: (err: AWSError, data: DynamoDBStreams.Types.GetShardIteratorOutput) => void): Request; - /** - * Returns a shard iterator. A shard iterator provides information about how to retrieve the stream records from within a shard. Use the shard iterator in a subsequent GetRecords request to read the stream records from the shard. A shard iterator expires 15 minutes after it is returned to the requester. - */ - getShardIterator(callback?: (err: AWSError, data: DynamoDBStreams.Types.GetShardIteratorOutput) => void): Request; - /** - * Returns an array of stream ARNs associated with the current account and endpoint. If the TableName parameter is present, then ListStreams will return only the streams ARNs for that table. You can call ListStreams at a maximum rate of 5 times per second. - */ - listStreams(params: DynamoDBStreams.Types.ListStreamsInput, callback?: (err: AWSError, data: DynamoDBStreams.Types.ListStreamsOutput) => void): Request; - /** - * Returns an array of stream ARNs associated with the current account and endpoint. If the TableName parameter is present, then ListStreams will return only the streams ARNs for that table. You can call ListStreams at a maximum rate of 5 times per second. - */ - listStreams(callback?: (err: AWSError, data: DynamoDBStreams.Types.ListStreamsOutput) => void): Request; -} -declare namespace DynamoDBStreams { - export type AttributeMap = {[key: string]: AttributeValue}; - export type AttributeName = string; - export interface AttributeValue { - /** - * A String data type. - */ - S?: StringAttributeValue; - /** - * A Number data type. - */ - N?: NumberAttributeValue; - /** - * A Binary data type. - */ - B?: BinaryAttributeValue; - /** - * A String Set data type. - */ - SS?: StringSetAttributeValue; - /** - * A Number Set data type. - */ - NS?: NumberSetAttributeValue; - /** - * A Binary Set data type. - */ - BS?: BinarySetAttributeValue; - /** - * A Map data type. - */ - M?: MapAttributeValue; - /** - * A List data type. - */ - L?: ListAttributeValue; - /** - * A Null data type. - */ - NULL?: NullAttributeValue; - /** - * A Boolean data type. - */ - BOOL?: BooleanAttributeValue; - } - export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; - export type BinarySetAttributeValue = BinaryAttributeValue[]; - export type BooleanAttributeValue = boolean; - export type _Date = Date; - export interface DescribeStreamInput { - /** - * The Amazon Resource Name (ARN) for the stream. - */ - StreamArn: StreamArn; - /** - * The maximum number of shard objects to return. The upper limit is 100. - */ - Limit?: PositiveIntegerObject; - /** - * The shard ID of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedShardId in the previous operation. - */ - ExclusiveStartShardId?: ShardId; - } - export interface DescribeStreamOutput { - /** - * A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards. - */ - StreamDescription?: StreamDescription; - } - export type ErrorMessage = string; - export interface GetRecordsInput { - /** - * A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard. - */ - ShardIterator: ShardIterator; - /** - * The maximum number of records to return from the shard. The upper limit is 1000. - */ - Limit?: PositiveIntegerObject; - } - export interface GetRecordsOutput { - /** - * The stream records from the shard, which were retrieved using the shard iterator. - */ - Records?: RecordList; - /** - * The next position in the shard from which to start sequentially reading stream records. If set to null, the shard has been closed and the requested iterator will not return any more data. - */ - NextShardIterator?: ShardIterator; - } - export interface GetShardIteratorInput { - /** - * The Amazon Resource Name (ARN) for the stream. - */ - StreamArn: StreamArn; - /** - * The identifier of the shard. The iterator will be returned for this shard ID. - */ - ShardId: ShardId; - /** - * Determines how the shard iterator is used to start reading stream records from the shard: AT_SEQUENCE_NUMBER - Start reading exactly from the position denoted by a specific sequence number. AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number. TRIM_HORIZON - Start reading at the last (untrimmed) stream record, which is the oldest record in the shard. In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records whose age exceeds this limit are subject to removal (trimming) from the stream. LATEST - Start reading just after the most recent stream record in the shard, so that you always read the most recent data in the shard. - */ - ShardIteratorType: ShardIteratorType; - /** - * The sequence number of a stream record in the shard from which to start reading. - */ - SequenceNumber?: SequenceNumber; - } - export interface GetShardIteratorOutput { - /** - * The position in the shard from which to start reading stream records sequentially. A shard iterator specifies this position using the sequence number of a stream record in a shard. - */ - ShardIterator?: ShardIterator; - } - export interface Identity { - /** - * A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com". - */ - PrincipalId?: String; - /** - * The type of the identity. For Time To Live, the type is "Service". - */ - Type?: String; - } - export type KeySchema = KeySchemaElement[]; - export type KeySchemaAttributeName = string; - export interface KeySchemaElement { - /** - * The name of a key attribute. - */ - AttributeName: KeySchemaAttributeName; - /** - * The attribute data, consisting of the data type and the attribute value itself. - */ - KeyType: KeyType; - } - export type KeyType = "HASH"|"RANGE"|string; - export type ListAttributeValue = AttributeValue[]; - export interface ListStreamsInput { - /** - * If this parameter is provided, then only the streams associated with this table name are returned. - */ - TableName?: TableName; - /** - * The maximum number of streams to return. The upper limit is 100. - */ - Limit?: PositiveIntegerObject; - /** - * The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedStreamArn in the previous operation. - */ - ExclusiveStartStreamArn?: StreamArn; - } - export interface ListStreamsOutput { - /** - * A list of stream descriptors associated with the current account and endpoint. - */ - Streams?: StreamList; - /** - * The stream ARN of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request. If LastEvaluatedStreamArn is empty, then the "last page" of results has been processed and there is no more data to be retrieved. If LastEvaluatedStreamArn is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedStreamArn is empty. - */ - LastEvaluatedStreamArn?: StreamArn; - } - export type MapAttributeValue = {[key: string]: AttributeValue}; - export type NullAttributeValue = boolean; - export type NumberAttributeValue = string; - export type NumberSetAttributeValue = NumberAttributeValue[]; - export type OperationType = "INSERT"|"MODIFY"|"REMOVE"|string; - export type PositiveIntegerObject = number; - export type PositiveLongObject = number; - export interface Record { - /** - * A globally unique identifier for the event that was recorded in this stream record. - */ - eventID?: String; - /** - * The type of data modification that was performed on the DynamoDB table: INSERT - a new item was added to the table. MODIFY - one or more of an existing item's attributes were modified. REMOVE - the item was deleted from the table - */ - eventName?: OperationType; - /** - * The version number of the stream record format. This number is updated whenever the structure of Record is modified. Client applications must not assume that eventVersion will remain at a particular value, as this number is subject to change at any time. In general, eventVersion will only increase as the low-level DynamoDB Streams API evolves. - */ - eventVersion?: String; - /** - * The AWS service from which the stream record originated. For DynamoDB Streams, this is aws:dynamodb. - */ - eventSource?: String; - /** - * The region in which the GetRecords request was received. - */ - awsRegion?: String; - /** - * The main body of the stream record, containing all of the DynamoDB-specific fields. - */ - dynamodb?: StreamRecord; - /** - * Items that are deleted by the Time to Live process after expiration have the following fields: Records[].userIdentity.type "Service" Records[].userIdentity.principalId "dynamodb.amazonaws.com" - */ - userIdentity?: Identity; - } - export type RecordList = Record[]; - export type SequenceNumber = string; - export interface SequenceNumberRange { - /** - * The first sequence number. - */ - StartingSequenceNumber?: SequenceNumber; - /** - * The last sequence number. - */ - EndingSequenceNumber?: SequenceNumber; - } - export interface Shard { - /** - * The system-generated identifier for this shard. - */ - ShardId?: ShardId; - /** - * The range of possible sequence numbers for the shard. - */ - SequenceNumberRange?: SequenceNumberRange; - /** - * The shard ID of the current shard's parent. - */ - ParentShardId?: ShardId; - } - export type ShardDescriptionList = Shard[]; - export type ShardId = string; - export type ShardIterator = string; - export type ShardIteratorType = "TRIM_HORIZON"|"LATEST"|"AT_SEQUENCE_NUMBER"|"AFTER_SEQUENCE_NUMBER"|string; - export interface Stream { - /** - * The Amazon Resource Name (ARN) for the stream. - */ - StreamArn?: StreamArn; - /** - * The DynamoDB table with which the stream is associated. - */ - TableName?: TableName; - /** - * A timestamp, in ISO 8601 format, for this stream. Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique: the AWS customer ID. the table name the StreamLabel - */ - StreamLabel?: String; - } - export type StreamArn = string; - export interface StreamDescription { - /** - * The Amazon Resource Name (ARN) for the stream. - */ - StreamArn?: StreamArn; - /** - * A timestamp, in ISO 8601 format, for this stream. Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique: the AWS customer ID. the table name the StreamLabel - */ - StreamLabel?: String; - /** - * Indicates the current status of the stream: ENABLING - Streams is currently being enabled on the DynamoDB table. ENABLED - the stream is enabled. DISABLING - Streams is currently being disabled on the DynamoDB table. DISABLED - the stream is disabled. - */ - StreamStatus?: StreamStatus; - /** - * Indicates the format of the records within this stream: KEYS_ONLY - only the key attributes of items that were modified in the DynamoDB table. NEW_IMAGE - entire items from the table, as they appeared after they were modified. OLD_IMAGE - entire items from the table, as they appeared before they were modified. NEW_AND_OLD_IMAGES - both the new and the old images of the items from the table. - */ - StreamViewType?: StreamViewType; - /** - * The date and time when the request to create this stream was issued. - */ - CreationRequestDateTime?: _Date; - /** - * The DynamoDB table with which the stream is associated. - */ - TableName?: TableName; - /** - * The key attribute(s) of the stream's DynamoDB table. - */ - KeySchema?: KeySchema; - /** - * The shards that comprise the stream. - */ - Shards?: ShardDescriptionList; - /** - * The shard ID of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request. If LastEvaluatedShardId is empty, then the "last page" of results has been processed and there is currently no more data to be retrieved. If LastEvaluatedShardId is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedShardId is empty. - */ - LastEvaluatedShardId?: ShardId; - } - export type StreamList = Stream[]; - export interface StreamRecord { - /** - * The approximate date and time when the stream record was created, in UNIX epoch time format. - */ - ApproximateCreationDateTime?: _Date; - /** - * The primary key attribute(s) for the DynamoDB item that was modified. - */ - Keys?: AttributeMap; - /** - * The item in the DynamoDB table as it appeared after it was modified. - */ - NewImage?: AttributeMap; - /** - * The item in the DynamoDB table as it appeared before it was modified. - */ - OldImage?: AttributeMap; - /** - * The sequence number of the stream record. - */ - SequenceNumber?: SequenceNumber; - /** - * The size of the stream record, in bytes. - */ - SizeBytes?: PositiveLongObject; - /** - * The type of data from the modified DynamoDB item that was captured in this stream record: KEYS_ONLY - only the key attributes of the modified item. NEW_IMAGE - the entire item, as it appeared after it was modified. OLD_IMAGE - the entire item, as it appeared before it was modified. NEW_AND_OLD_IMAGES - both the new and the old item images of the item. - */ - StreamViewType?: StreamViewType; - } - export type StreamStatus = "ENABLING"|"ENABLED"|"DISABLING"|"DISABLED"|string; - export type StreamViewType = "NEW_IMAGE"|"OLD_IMAGE"|"NEW_AND_OLD_IMAGES"|"KEYS_ONLY"|string; - export type String = string; - export type StringAttributeValue = string; - export type StringSetAttributeValue = StringAttributeValue[]; - export type TableName = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2012-08-10"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the DynamoDBStreams client. - */ - export import Types = DynamoDBStreams; -} -export = DynamoDBStreams; diff --git a/src/node_modules/aws-sdk/clients/dynamodbstreams.js b/src/node_modules/aws-sdk/clients/dynamodbstreams.js deleted file mode 100644 index 1f53ca4..0000000 --- a/src/node_modules/aws-sdk/clients/dynamodbstreams.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['dynamodbstreams'] = {}; -AWS.DynamoDBStreams = Service.defineService('dynamodbstreams', ['2012-08-10']); -Object.defineProperty(apiLoader.services['dynamodbstreams'], '2012-08-10', { - get: function get() { - var model = require('../apis/streams.dynamodb-2012-08-10.min.json'); - model.paginators = require('../apis/streams.dynamodb-2012-08-10.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DynamoDBStreams; diff --git a/src/node_modules/aws-sdk/clients/ec2.d.ts b/src/node_modules/aws-sdk/clients/ec2.d.ts deleted file mode 100644 index 6049bc3..0000000 --- a/src/node_modules/aws-sdk/clients/ec2.d.ts +++ /dev/null @@ -1,12556 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class EC2 extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: EC2.Types.ClientConfiguration) - config: Config & EC2.Types.ClientConfiguration; - /** - * Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call. - */ - acceptReservedInstancesExchangeQuote(params: EC2.Types.AcceptReservedInstancesExchangeQuoteRequest, callback?: (err: AWSError, data: EC2.Types.AcceptReservedInstancesExchangeQuoteResult) => void): Request; - /** - * Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call. - */ - acceptReservedInstancesExchangeQuote(callback?: (err: AWSError, data: EC2.Types.AcceptReservedInstancesExchangeQuoteResult) => void): Request; - /** - * Accept a VPC peering connection request. To accept a request, the VPC peering connection must be in the pending-acceptance state, and you must be the owner of the peer VPC. Use DescribeVpcPeeringConnections to view your outstanding VPC peering connection requests. - */ - acceptVpcPeeringConnection(params: EC2.Types.AcceptVpcPeeringConnectionRequest, callback?: (err: AWSError, data: EC2.Types.AcceptVpcPeeringConnectionResult) => void): Request; - /** - * Accept a VPC peering connection request. To accept a request, the VPC peering connection must be in the pending-acceptance state, and you must be the owner of the peer VPC. Use DescribeVpcPeeringConnections to view your outstanding VPC peering connection requests. - */ - acceptVpcPeeringConnection(callback?: (err: AWSError, data: EC2.Types.AcceptVpcPeeringConnectionResult) => void): Request; - /** - * Acquires an Elastic IP address. An Elastic IP address is for use either in the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. - */ - allocateAddress(params: EC2.Types.AllocateAddressRequest, callback?: (err: AWSError, data: EC2.Types.AllocateAddressResult) => void): Request; - /** - * Acquires an Elastic IP address. An Elastic IP address is for use either in the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. - */ - allocateAddress(callback?: (err: AWSError, data: EC2.Types.AllocateAddressResult) => void): Request; - /** - * Allocates a Dedicated Host to your account. At minimum you need to specify the instance size type, Availability Zone, and quantity of hosts you want to allocate. - */ - allocateHosts(params: EC2.Types.AllocateHostsRequest, callback?: (err: AWSError, data: EC2.Types.AllocateHostsResult) => void): Request; - /** - * Allocates a Dedicated Host to your account. At minimum you need to specify the instance size type, Availability Zone, and quantity of hosts you want to allocate. - */ - allocateHosts(callback?: (err: AWSError, data: EC2.Types.AllocateHostsResult) => void): Request; - /** - * Assigns one or more IPv6 addresses to the specified network interface. You can specify one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses to be automatically assigned from within the subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the limit varies per instance type. For information, see IP Addresses Per Network Interface Per Instance Type in the Amazon Elastic Compute Cloud User Guide. - */ - assignIpv6Addresses(params: EC2.Types.AssignIpv6AddressesRequest, callback?: (err: AWSError, data: EC2.Types.AssignIpv6AddressesResult) => void): Request; - /** - * Assigns one or more IPv6 addresses to the specified network interface. You can specify one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses to be automatically assigned from within the subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the limit varies per instance type. For information, see IP Addresses Per Network Interface Per Instance Type in the Amazon Elastic Compute Cloud User Guide. - */ - assignIpv6Addresses(callback?: (err: AWSError, data: EC2.Types.AssignIpv6AddressesResult) => void): Request; - /** - * Assigns one or more secondary private IP addresses to the specified network interface. You can specify one or more specific secondary IP addresses, or you can specify the number of secondary IP addresses to be automatically assigned within the subnet's CIDR block range. The number of secondary IP addresses that you can assign to an instance varies by instance type. For information about instance types, see Instance Types in the Amazon Elastic Compute Cloud User Guide. For more information about Elastic IP addresses, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. AssignPrivateIpAddresses is available only in EC2-VPC. - */ - assignPrivateIpAddresses(params: EC2.Types.AssignPrivateIpAddressesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Assigns one or more secondary private IP addresses to the specified network interface. You can specify one or more specific secondary IP addresses, or you can specify the number of secondary IP addresses to be automatically assigned within the subnet's CIDR block range. The number of secondary IP addresses that you can assign to an instance varies by instance type. For information about instance types, see Instance Types in the Amazon Elastic Compute Cloud User Guide. For more information about Elastic IP addresses, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. AssignPrivateIpAddresses is available only in EC2-VPC. - */ - assignPrivateIpAddresses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Associates an Elastic IP address with an instance or a network interface. An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. [EC2-Classic, VPC in an EC2-VPC-only account] If the Elastic IP address is already associated with a different instance, it is disassociated from that instance and associated with the specified instance. If you associate an Elastic IP address with an instance that has an existing Elastic IP address, the existing address is disassociated from the instance, but remains allocated to your account. [VPC in an EC2-Classic account] If you don't specify a private IP address, the Elastic IP address is associated with the primary IP address. If the Elastic IP address is already associated with a different instance or a network interface, you get an error unless you allow reassociation. You cannot associate an Elastic IP address with an instance or network interface that has an existing Elastic IP address. This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error, and you may be charged for each time the Elastic IP address is remapped to the same instance. For more information, see the Elastic IP Addresses section of Amazon EC2 Pricing. - */ - associateAddress(params: EC2.Types.AssociateAddressRequest, callback?: (err: AWSError, data: EC2.Types.AssociateAddressResult) => void): Request; - /** - * Associates an Elastic IP address with an instance or a network interface. An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. [EC2-Classic, VPC in an EC2-VPC-only account] If the Elastic IP address is already associated with a different instance, it is disassociated from that instance and associated with the specified instance. If you associate an Elastic IP address with an instance that has an existing Elastic IP address, the existing address is disassociated from the instance, but remains allocated to your account. [VPC in an EC2-Classic account] If you don't specify a private IP address, the Elastic IP address is associated with the primary IP address. If the Elastic IP address is already associated with a different instance or a network interface, you get an error unless you allow reassociation. You cannot associate an Elastic IP address with an instance or network interface that has an existing Elastic IP address. This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error, and you may be charged for each time the Elastic IP address is remapped to the same instance. For more information, see the Elastic IP Addresses section of Amazon EC2 Pricing. - */ - associateAddress(callback?: (err: AWSError, data: EC2.Types.AssociateAddressResult) => void): Request; - /** - * Associates a set of DHCP options (that you've previously created) with the specified VPC, or associates no DHCP options with the VPC. After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. You don't need to restart or relaunch the instances. They automatically pick up the changes within a few hours, depending on how frequently the instance renews its DHCP lease. You can explicitly renew the lease using the operating system on the instance. For more information, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide. - */ - associateDhcpOptions(params: EC2.Types.AssociateDhcpOptionsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Associates a set of DHCP options (that you've previously created) with the specified VPC, or associates no DHCP options with the VPC. After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. You don't need to restart or relaunch the instances. They automatically pick up the changes within a few hours, depending on how frequently the instance renews its DHCP lease. You can explicitly renew the lease using the operating system on the instance. For more information, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide. - */ - associateDhcpOptions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Associates an IAM instance profile with a running or stopped instance. You cannot associate more than one IAM instance profile with an instance. - */ - associateIamInstanceProfile(params: EC2.Types.AssociateIamInstanceProfileRequest, callback?: (err: AWSError, data: EC2.Types.AssociateIamInstanceProfileResult) => void): Request; - /** - * Associates an IAM instance profile with a running or stopped instance. You cannot associate more than one IAM instance profile with an instance. - */ - associateIamInstanceProfile(callback?: (err: AWSError, data: EC2.Types.AssociateIamInstanceProfileResult) => void): Request; - /** - * Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. The action returns an association ID, which you need in order to disassociate the route table from the subnet later. A route table can be associated with multiple subnets. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - associateRouteTable(params: EC2.Types.AssociateRouteTableRequest, callback?: (err: AWSError, data: EC2.Types.AssociateRouteTableResult) => void): Request; - /** - * Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. The action returns an association ID, which you need in order to disassociate the route table from the subnet later. A route table can be associated with multiple subnets. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - associateRouteTable(callback?: (err: AWSError, data: EC2.Types.AssociateRouteTableResult) => void): Request; - /** - * Associates a CIDR block with your subnet. You can only associate a single IPv6 CIDR block with your subnet. An IPv6 CIDR block must have a prefix length of /64. - */ - associateSubnetCidrBlock(params: EC2.Types.AssociateSubnetCidrBlockRequest, callback?: (err: AWSError, data: EC2.Types.AssociateSubnetCidrBlockResult) => void): Request; - /** - * Associates a CIDR block with your subnet. You can only associate a single IPv6 CIDR block with your subnet. An IPv6 CIDR block must have a prefix length of /64. - */ - associateSubnetCidrBlock(callback?: (err: AWSError, data: EC2.Types.AssociateSubnetCidrBlockResult) => void): Request; - /** - * Associates a CIDR block with your VPC. You can only associate a single Amazon-provided IPv6 CIDR block with your VPC. The IPv6 CIDR block size is fixed at /56. - */ - associateVpcCidrBlock(params: EC2.Types.AssociateVpcCidrBlockRequest, callback?: (err: AWSError, data: EC2.Types.AssociateVpcCidrBlockResult) => void): Request; - /** - * Associates a CIDR block with your VPC. You can only associate a single Amazon-provided IPv6 CIDR block with your VPC. The IPv6 CIDR block size is fixed at /56. - */ - associateVpcCidrBlock(callback?: (err: AWSError, data: EC2.Types.AssociateVpcCidrBlockResult) => void): Request; - /** - * Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You can only link an instance that's in the running state. An instance is automatically unlinked from a VPC when it's stopped - you can link it to the VPC again when you restart it. After you've linked an instance, you cannot change the VPC security groups that are associated with it. To change the security groups, you must first unlink the instance, and then link it again. Linking your instance to a VPC is sometimes referred to as attaching your instance. - */ - attachClassicLinkVpc(params: EC2.Types.AttachClassicLinkVpcRequest, callback?: (err: AWSError, data: EC2.Types.AttachClassicLinkVpcResult) => void): Request; - /** - * Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You can only link an instance that's in the running state. An instance is automatically unlinked from a VPC when it's stopped - you can link it to the VPC again when you restart it. After you've linked an instance, you cannot change the VPC security groups that are associated with it. To change the security groups, you must first unlink the instance, and then link it again. Linking your instance to a VPC is sometimes referred to as attaching your instance. - */ - attachClassicLinkVpc(callback?: (err: AWSError, data: EC2.Types.AttachClassicLinkVpcResult) => void): Request; - /** - * Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, see the Amazon Virtual Private Cloud User Guide. - */ - attachInternetGateway(params: EC2.Types.AttachInternetGatewayRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, see the Amazon Virtual Private Cloud User Guide. - */ - attachInternetGateway(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches a network interface to an instance. - */ - attachNetworkInterface(params: EC2.Types.AttachNetworkInterfaceRequest, callback?: (err: AWSError, data: EC2.Types.AttachNetworkInterfaceResult) => void): Request; - /** - * Attaches a network interface to an instance. - */ - attachNetworkInterface(callback?: (err: AWSError, data: EC2.Types.AttachNetworkInterfaceResult) => void): Request; - /** - * Attaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name. Encrypted EBS volumes may only be attached to instances that support Amazon EBS encryption. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide. For a list of supported device names, see Attaching an EBS Volume to an Instance. Any device names that aren't reserved for instance store volumes can be used for EBS volumes. For more information, see Amazon EC2 Instance Store in the Amazon Elastic Compute Cloud User Guide. If a volume has an AWS Marketplace product code: The volume can be attached only to a stopped instance. AWS Marketplace product codes are copied from the volume to the instance. You must be subscribed to the product. The instance type and operating system of the instance must support the product. For example, you can't detach a volume from a Windows instance and attach it to a Linux instance. For an overview of the AWS Marketplace, see Introducing AWS Marketplace. For more information about EBS volumes, see Attaching Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide. - */ - attachVolume(params: EC2.Types.AttachVolumeRequest, callback?: (err: AWSError, data: EC2.Types.VolumeAttachment) => void): Request; - /** - * Attaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name. Encrypted EBS volumes may only be attached to instances that support Amazon EBS encryption. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide. For a list of supported device names, see Attaching an EBS Volume to an Instance. Any device names that aren't reserved for instance store volumes can be used for EBS volumes. For more information, see Amazon EC2 Instance Store in the Amazon Elastic Compute Cloud User Guide. If a volume has an AWS Marketplace product code: The volume can be attached only to a stopped instance. AWS Marketplace product codes are copied from the volume to the instance. You must be subscribed to the product. The instance type and operating system of the instance must support the product. For example, you can't detach a volume from a Windows instance and attach it to a Linux instance. For an overview of the AWS Marketplace, see Introducing AWS Marketplace. For more information about EBS volumes, see Attaching Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide. - */ - attachVolume(callback?: (err: AWSError, data: EC2.Types.VolumeAttachment) => void): Request; - /** - * Attaches a virtual private gateway to a VPC. You can attach one virtual private gateway to one VPC at a time. For more information, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - attachVpnGateway(params: EC2.Types.AttachVpnGatewayRequest, callback?: (err: AWSError, data: EC2.Types.AttachVpnGatewayResult) => void): Request; - /** - * Attaches a virtual private gateway to a VPC. You can attach one virtual private gateway to one VPC at a time. For more information, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - attachVpnGateway(callback?: (err: AWSError, data: EC2.Types.AttachVpnGatewayResult) => void): Request; - /** - * [EC2-VPC only] Adds one or more egress rules to a security group for use with a VPC. Specifically, this action permits instances to send traffic to one or more destination IPv4 or IPv6 CIDR address ranges, or to one or more destination security groups for the same VPC. This action doesn't apply to security groups for use in EC2-Classic. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide. For more information about security group limits, see Amazon VPC Limits. Each rule consists of the protocol (for example, TCP), plus either a CIDR range or a source group. For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 for the type or code to mean all types or all codes. Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur. - */ - authorizeSecurityGroupEgress(params: EC2.Types.AuthorizeSecurityGroupEgressRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * [EC2-VPC only] Adds one or more egress rules to a security group for use with a VPC. Specifically, this action permits instances to send traffic to one or more destination IPv4 or IPv6 CIDR address ranges, or to one or more destination security groups for the same VPC. This action doesn't apply to security groups for use in EC2-Classic. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide. For more information about security group limits, see Amazon VPC Limits. Each rule consists of the protocol (for example, TCP), plus either a CIDR range or a source group. For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 for the type or code to mean all types or all codes. Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur. - */ - authorizeSecurityGroupEgress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds one or more ingress rules to a security group. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur. [EC2-Classic] This action gives one or more IPv4 CIDR address ranges permission to access a security group in your account, or gives one or more security groups (called the source groups) permission to access a security group for your account. A source group can be for your own AWS account, or another. You can have up to 100 rules per group. [EC2-VPC] This action gives one or more IPv4 or IPv6 CIDR address ranges permission to access a security group in your VPC, or gives one or more other security groups (called the source groups) permission to access a security group for your VPC. The security groups must all be for the same VPC or a peer VPC in a VPC peering connection. For more information about VPC security group limits, see Amazon VPC Limits. - */ - authorizeSecurityGroupIngress(params: EC2.Types.AuthorizeSecurityGroupIngressRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds one or more ingress rules to a security group. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur. [EC2-Classic] This action gives one or more IPv4 CIDR address ranges permission to access a security group in your account, or gives one or more security groups (called the source groups) permission to access a security group for your account. A source group can be for your own AWS account, or another. You can have up to 100 rules per group. [EC2-VPC] This action gives one or more IPv4 or IPv6 CIDR address ranges permission to access a security group in your VPC, or gives one or more other security groups (called the source groups) permission to access a security group for your VPC. The security groups must all be for the same VPC or a peer VPC in a VPC peering connection. For more information about VPC security group limits, see Amazon VPC Limits. - */ - authorizeSecurityGroupIngress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Bundles an Amazon instance store-backed Windows instance. During bundling, only the root device volume (C:\) is bundled. Data on other instance store volumes is not preserved. This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS. For more information, see Creating an Instance Store-Backed Windows AMI. - */ - bundleInstance(params: EC2.Types.BundleInstanceRequest, callback?: (err: AWSError, data: EC2.Types.BundleInstanceResult) => void): Request; - /** - * Bundles an Amazon instance store-backed Windows instance. During bundling, only the root device volume (C:\) is bundled. Data on other instance store volumes is not preserved. This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS. For more information, see Creating an Instance Store-Backed Windows AMI. - */ - bundleInstance(callback?: (err: AWSError, data: EC2.Types.BundleInstanceResult) => void): Request; - /** - * Cancels a bundling operation for an instance store-backed Windows instance. - */ - cancelBundleTask(params: EC2.Types.CancelBundleTaskRequest, callback?: (err: AWSError, data: EC2.Types.CancelBundleTaskResult) => void): Request; - /** - * Cancels a bundling operation for an instance store-backed Windows instance. - */ - cancelBundleTask(callback?: (err: AWSError, data: EC2.Types.CancelBundleTaskResult) => void): Request; - /** - * Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is in the process of transferring the final disk image, the command fails and returns an exception. For more information, see Importing a Virtual Machine Using the Amazon EC2 CLI. - */ - cancelConversionTask(params: EC2.Types.CancelConversionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is in the process of transferring the final disk image, the command fails and returns an exception. For more information, see Importing a Virtual Machine Using the Amazon EC2 CLI. - */ - cancelConversionTask(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Cancels an active export task. The request removes all artifacts of the export, including any partially-created Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the command fails and returns an error. - */ - cancelExportTask(params: EC2.Types.CancelExportTaskRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Cancels an active export task. The request removes all artifacts of the export, including any partially-created Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the command fails and returns an error. - */ - cancelExportTask(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Cancels an in-process import virtual machine or import snapshot task. - */ - cancelImportTask(params: EC2.Types.CancelImportTaskRequest, callback?: (err: AWSError, data: EC2.Types.CancelImportTaskResult) => void): Request; - /** - * Cancels an in-process import virtual machine or import snapshot task. - */ - cancelImportTask(callback?: (err: AWSError, data: EC2.Types.CancelImportTaskResult) => void): Request; - /** - * Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace. For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide. - */ - cancelReservedInstancesListing(params: EC2.Types.CancelReservedInstancesListingRequest, callback?: (err: AWSError, data: EC2.Types.CancelReservedInstancesListingResult) => void): Request; - /** - * Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace. For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide. - */ - cancelReservedInstancesListing(callback?: (err: AWSError, data: EC2.Types.CancelReservedInstancesListingResult) => void): Request; - /** - * Cancels the specified Spot fleet requests. After you cancel a Spot fleet request, the Spot fleet launches no new Spot instances. You must specify whether the Spot fleet should also terminate its Spot instances. If you terminate the instances, the Spot fleet request enters the cancelled_terminating state. Otherwise, the Spot fleet request enters the cancelled_running state and the instances continue to run until they are interrupted or you terminate them manually. - */ - cancelSpotFleetRequests(params: EC2.Types.CancelSpotFleetRequestsRequest, callback?: (err: AWSError, data: EC2.Types.CancelSpotFleetRequestsResponse) => void): Request; - /** - * Cancels the specified Spot fleet requests. After you cancel a Spot fleet request, the Spot fleet launches no new Spot instances. You must specify whether the Spot fleet should also terminate its Spot instances. If you terminate the instances, the Spot fleet request enters the cancelled_terminating state. Otherwise, the Spot fleet request enters the cancelled_running state and the instances continue to run until they are interrupted or you terminate them manually. - */ - cancelSpotFleetRequests(callback?: (err: AWSError, data: EC2.Types.CancelSpotFleetRequestsResponse) => void): Request; - /** - * Cancels one or more Spot instance requests. Spot instances are instances that Amazon EC2 starts on your behalf when the bid price that you specify exceeds the current Spot price. Amazon EC2 periodically sets the Spot price based on available Spot instance capacity and current Spot instance requests. For more information, see Spot Instance Requests in the Amazon Elastic Compute Cloud User Guide. Canceling a Spot instance request does not terminate running Spot instances associated with the request. - */ - cancelSpotInstanceRequests(params: EC2.Types.CancelSpotInstanceRequestsRequest, callback?: (err: AWSError, data: EC2.Types.CancelSpotInstanceRequestsResult) => void): Request; - /** - * Cancels one or more Spot instance requests. Spot instances are instances that Amazon EC2 starts on your behalf when the bid price that you specify exceeds the current Spot price. Amazon EC2 periodically sets the Spot price based on available Spot instance capacity and current Spot instance requests. For more information, see Spot Instance Requests in the Amazon Elastic Compute Cloud User Guide. Canceling a Spot instance request does not terminate running Spot instances associated with the request. - */ - cancelSpotInstanceRequests(callback?: (err: AWSError, data: EC2.Types.CancelSpotInstanceRequestsResult) => void): Request; - /** - * Determines whether a product code is associated with an instance. This action can only be used by the owner of the product code. It is useful when a product code owner needs to verify whether another user's instance is eligible for support. - */ - confirmProductInstance(params: EC2.Types.ConfirmProductInstanceRequest, callback?: (err: AWSError, data: EC2.Types.ConfirmProductInstanceResult) => void): Request; - /** - * Determines whether a product code is associated with an instance. This action can only be used by the owner of the product code. It is useful when a product code owner needs to verify whether another user's instance is eligible for support. - */ - confirmProductInstance(callback?: (err: AWSError, data: EC2.Types.ConfirmProductInstanceResult) => void): Request; - /** - * Initiates the copy of an AMI from the specified source region to the current region. You specify the destination region by using its endpoint when making the request. For more information about the prerequisites and limits when copying an AMI, see Copying an AMI in the Amazon Elastic Compute Cloud User Guide. - */ - copyImage(params: EC2.Types.CopyImageRequest, callback?: (err: AWSError, data: EC2.Types.CopyImageResult) => void): Request; - /** - * Initiates the copy of an AMI from the specified source region to the current region. You specify the destination region by using its endpoint when making the request. For more information about the prerequisites and limits when copying an AMI, see Copying an AMI in the Amazon Elastic Compute Cloud User Guide. - */ - copyImage(callback?: (err: AWSError, data: EC2.Types.CopyImageResult) => void): Request; - /** - * Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy the snapshot within the same region or from one region to another. You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs). The snapshot is copied to the regional endpoint that you send the HTTP request to. Copies of encrypted EBS snapshots remain encrypted. Copies of unencrypted snapshots remain unencrypted, unless the Encrypted flag is specified during the snapshot copy operation. By default, encrypted snapshot copies use the default AWS Key Management Service (AWS KMS) customer master key (CMK); however, you can specify a non-default CMK with the KmsKeyId parameter. To copy an encrypted snapshot that has been shared from another account, you must have permissions for the CMK used to encrypt the snapshot. Snapshots created by the CopySnapshot action have an arbitrary volume ID that should not be used for any purpose. For more information, see Copying an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User Guide. - */ - copySnapshot(params: EC2.Types.CopySnapshotRequest, callback?: (err: AWSError, data: EC2.Types.CopySnapshotResult) => void): Request; - /** - * Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy the snapshot within the same region or from one region to another. You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs). The snapshot is copied to the regional endpoint that you send the HTTP request to. Copies of encrypted EBS snapshots remain encrypted. Copies of unencrypted snapshots remain unencrypted, unless the Encrypted flag is specified during the snapshot copy operation. By default, encrypted snapshot copies use the default AWS Key Management Service (AWS KMS) customer master key (CMK); however, you can specify a non-default CMK with the KmsKeyId parameter. To copy an encrypted snapshot that has been shared from another account, you must have permissions for the CMK used to encrypt the snapshot. Snapshots created by the CopySnapshot action have an arbitrary volume ID that should not be used for any purpose. For more information, see Copying an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User Guide. - */ - copySnapshot(callback?: (err: AWSError, data: EC2.Types.CopySnapshotResult) => void): Request; - /** - * Provides information to AWS about your VPN customer gateway device. The customer gateway is the appliance at your end of the VPN connection. (The device on the AWS side of the VPN connection is the virtual private gateway.) You must provide the Internet-routable IP address of the customer gateway's external interface. The IP address must be static and may be behind a device performing network address translation (NAT). For devices that use Border Gateway Protocol (BGP), you can also provide the device's BGP Autonomous System Number (ASN). You can use an existing ASN assigned to your network. If you don't have an ASN already, you can use a private ASN (in the 64512 - 65534 range). Amazon EC2 supports all 2-byte ASN numbers in the range of 1 - 65534, with the exception of 7224, which is reserved in the us-east-1 region, and 9059, which is reserved in the eu-west-1 region. For more information about VPN customer gateways, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. You cannot create more than one customer gateway with the same VPN type, IP address, and BGP ASN parameter values. If you run an identical request more than one time, the first request creates the customer gateway, and subsequent requests return information about the existing customer gateway. The subsequent requests do not create new customer gateway resources. - */ - createCustomerGateway(params: EC2.Types.CreateCustomerGatewayRequest, callback?: (err: AWSError, data: EC2.Types.CreateCustomerGatewayResult) => void): Request; - /** - * Provides information to AWS about your VPN customer gateway device. The customer gateway is the appliance at your end of the VPN connection. (The device on the AWS side of the VPN connection is the virtual private gateway.) You must provide the Internet-routable IP address of the customer gateway's external interface. The IP address must be static and may be behind a device performing network address translation (NAT). For devices that use Border Gateway Protocol (BGP), you can also provide the device's BGP Autonomous System Number (ASN). You can use an existing ASN assigned to your network. If you don't have an ASN already, you can use a private ASN (in the 64512 - 65534 range). Amazon EC2 supports all 2-byte ASN numbers in the range of 1 - 65534, with the exception of 7224, which is reserved in the us-east-1 region, and 9059, which is reserved in the eu-west-1 region. For more information about VPN customer gateways, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. You cannot create more than one customer gateway with the same VPN type, IP address, and BGP ASN parameter values. If you run an identical request more than one time, the first request creates the customer gateway, and subsequent requests return information about the existing customer gateway. The subsequent requests do not create new customer gateway resources. - */ - createCustomerGateway(callback?: (err: AWSError, data: EC2.Types.CreateCustomerGatewayResult) => void): Request; - /** - * Creates a set of DHCP options for your VPC. After creating the set, you must associate it with the VPC, causing all existing and new instances that you launch in the VPC to use this set of DHCP options. The following are the individual DHCP options you can specify. For more information about the options, see RFC 2132. domain-name-servers - The IP addresses of up to four domain name servers, or AmazonProvidedDNS. The default DHCP option set specifies AmazonProvidedDNS. If specifying more than one domain name server, specify the IP addresses in a single parameter, separated by commas. If you want your instance to receive a custom DNS hostname as specified in domain-name, you must set domain-name-servers to a custom DNS server. domain-name - If you're using AmazonProvidedDNS in us-east-1, specify ec2.internal. If you're using AmazonProvidedDNS in another region, specify region.compute.internal (for example, ap-northeast-1.compute.internal). Otherwise, specify a domain name (for example, MyCompany.com). This value is used to complete unqualified DNS hostnames. Important: Some Linux operating systems accept multiple domain names separated by spaces. However, Windows and other Linux operating systems treat the value as a single domain, which results in unexpected behavior. If your DHCP options set is associated with a VPC that has instances with multiple operating systems, specify only one domain name. ntp-servers - The IP addresses of up to four Network Time Protocol (NTP) servers. netbios-name-servers - The IP addresses of up to four NetBIOS name servers. netbios-node-type - The NetBIOS node type (1, 2, 4, or 8). We recommend that you specify 2 (broadcast and multicast are not currently supported). For more information about these node types, see RFC 2132. Your VPC automatically starts out with a set of DHCP options that includes only a DNS server that we provide (AmazonProvidedDNS). If you create a set of options, and if your VPC has an Internet gateway, make sure to set the domain-name-servers option either to AmazonProvidedDNS or to a domain name server of your choice. For more information about DHCP options, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide. - */ - createDhcpOptions(params: EC2.Types.CreateDhcpOptionsRequest, callback?: (err: AWSError, data: EC2.Types.CreateDhcpOptionsResult) => void): Request; - /** - * Creates a set of DHCP options for your VPC. After creating the set, you must associate it with the VPC, causing all existing and new instances that you launch in the VPC to use this set of DHCP options. The following are the individual DHCP options you can specify. For more information about the options, see RFC 2132. domain-name-servers - The IP addresses of up to four domain name servers, or AmazonProvidedDNS. The default DHCP option set specifies AmazonProvidedDNS. If specifying more than one domain name server, specify the IP addresses in a single parameter, separated by commas. If you want your instance to receive a custom DNS hostname as specified in domain-name, you must set domain-name-servers to a custom DNS server. domain-name - If you're using AmazonProvidedDNS in us-east-1, specify ec2.internal. If you're using AmazonProvidedDNS in another region, specify region.compute.internal (for example, ap-northeast-1.compute.internal). Otherwise, specify a domain name (for example, MyCompany.com). This value is used to complete unqualified DNS hostnames. Important: Some Linux operating systems accept multiple domain names separated by spaces. However, Windows and other Linux operating systems treat the value as a single domain, which results in unexpected behavior. If your DHCP options set is associated with a VPC that has instances with multiple operating systems, specify only one domain name. ntp-servers - The IP addresses of up to four Network Time Protocol (NTP) servers. netbios-name-servers - The IP addresses of up to four NetBIOS name servers. netbios-node-type - The NetBIOS node type (1, 2, 4, or 8). We recommend that you specify 2 (broadcast and multicast are not currently supported). For more information about these node types, see RFC 2132. Your VPC automatically starts out with a set of DHCP options that includes only a DNS server that we provide (AmazonProvidedDNS). If you create a set of options, and if your VPC has an Internet gateway, make sure to set the domain-name-servers option either to AmazonProvidedDNS or to a domain name server of your choice. For more information about DHCP options, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide. - */ - createDhcpOptions(callback?: (err: AWSError, data: EC2.Types.CreateDhcpOptionsResult) => void): Request; - /** - * [IPv6 only] Creates an egress-only Internet gateway for your VPC. An egress-only Internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the Internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance. - */ - createEgressOnlyInternetGateway(params: EC2.Types.CreateEgressOnlyInternetGatewayRequest, callback?: (err: AWSError, data: EC2.Types.CreateEgressOnlyInternetGatewayResult) => void): Request; - /** - * [IPv6 only] Creates an egress-only Internet gateway for your VPC. An egress-only Internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the Internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance. - */ - createEgressOnlyInternetGateway(callback?: (err: AWSError, data: EC2.Types.CreateEgressOnlyInternetGatewayResult) => void): Request; - /** - * Creates one or more flow logs to capture IP traffic for a specific network interface, subnet, or VPC. Flow logs are delivered to a specified log group in Amazon CloudWatch Logs. If you specify a VPC or subnet in the request, a log stream is created in CloudWatch Logs for each network interface in the subnet or VPC. Log streams can include information about accepted and rejected traffic to a network interface. You can view the data in your log streams using Amazon CloudWatch Logs. In your request, you must also specify an IAM role that has permission to publish logs to CloudWatch Logs. - */ - createFlowLogs(params: EC2.Types.CreateFlowLogsRequest, callback?: (err: AWSError, data: EC2.Types.CreateFlowLogsResult) => void): Request; - /** - * Creates one or more flow logs to capture IP traffic for a specific network interface, subnet, or VPC. Flow logs are delivered to a specified log group in Amazon CloudWatch Logs. If you specify a VPC or subnet in the request, a log stream is created in CloudWatch Logs for each network interface in the subnet or VPC. Log streams can include information about accepted and rejected traffic to a network interface. You can view the data in your log streams using Amazon CloudWatch Logs. In your request, you must also specify an IAM role that has permission to publish logs to CloudWatch Logs. - */ - createFlowLogs(callback?: (err: AWSError, data: EC2.Types.CreateFlowLogsResult) => void): Request; - /** - * Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP). The create operation is asynchronous. To verify that the AFI is ready for use, check the output logs. An AFI contains the FPGA bitstream that is ready to download to an FPGA. You can securely deploy an AFI on one or more FPGA-accelerated instances. For more information, see the AWS FPGA Hardware Development Kit. - */ - createFpgaImage(params: EC2.Types.CreateFpgaImageRequest, callback?: (err: AWSError, data: EC2.Types.CreateFpgaImageResult) => void): Request; - /** - * Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP). The create operation is asynchronous. To verify that the AFI is ready for use, check the output logs. An AFI contains the FPGA bitstream that is ready to download to an FPGA. You can securely deploy an AFI on one or more FPGA-accelerated instances. For more information, see the AWS FPGA Hardware Development Kit. - */ - createFpgaImage(callback?: (err: AWSError, data: EC2.Types.CreateFpgaImageResult) => void): Request; - /** - * Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped. If you customized your instance with instance store volumes or EBS volumes in addition to the root device volume, the new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, the instance automatically launches with those additional volumes. For more information, see Creating Amazon EBS-Backed Linux AMIs in the Amazon Elastic Compute Cloud User Guide. - */ - createImage(params: EC2.Types.CreateImageRequest, callback?: (err: AWSError, data: EC2.Types.CreateImageResult) => void): Request; - /** - * Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped. If you customized your instance with instance store volumes or EBS volumes in addition to the root device volume, the new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, the instance automatically launches with those additional volumes. For more information, see Creating Amazon EBS-Backed Linux AMIs in the Amazon Elastic Compute Cloud User Guide. - */ - createImage(callback?: (err: AWSError, data: EC2.Types.CreateImageResult) => void): Request; - /** - * Exports a running or stopped instance to an S3 bucket. For information about the supported operating systems, image formats, and known limitations for the types of instances you can export, see Exporting an Instance as a VM Using VM Import/Export in the VM Import/Export User Guide. - */ - createInstanceExportTask(params: EC2.Types.CreateInstanceExportTaskRequest, callback?: (err: AWSError, data: EC2.Types.CreateInstanceExportTaskResult) => void): Request; - /** - * Exports a running or stopped instance to an S3 bucket. For information about the supported operating systems, image formats, and known limitations for the types of instances you can export, see Exporting an Instance as a VM Using VM Import/Export in the VM Import/Export User Guide. - */ - createInstanceExportTask(callback?: (err: AWSError, data: EC2.Types.CreateInstanceExportTaskResult) => void): Request; - /** - * Creates an Internet gateway for use with a VPC. After creating the Internet gateway, you attach it to a VPC using AttachInternetGateway. For more information about your VPC and Internet gateway, see the Amazon Virtual Private Cloud User Guide. - */ - createInternetGateway(params: EC2.Types.CreateInternetGatewayRequest, callback?: (err: AWSError, data: EC2.Types.CreateInternetGatewayResult) => void): Request; - /** - * Creates an Internet gateway for use with a VPC. After creating the Internet gateway, you attach it to a VPC using AttachInternetGateway. For more information about your VPC and Internet gateway, see the Amazon Virtual Private Cloud User Guide. - */ - createInternetGateway(callback?: (err: AWSError, data: EC2.Types.CreateInternetGatewayResult) => void): Request; - /** - * Creates a 2048-bit RSA key pair with the specified name. Amazon EC2 stores the public key and displays the private key for you to save to a file. The private key is returned as an unencrypted PEM encoded PKCS#8 private key. If a key with the specified name already exists, Amazon EC2 returns an error. You can have up to five thousand key pairs per region. The key pair returned to you is available only in the region in which you create it. To create a key pair that is available in all regions, use ImportKeyPair. For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide. - */ - createKeyPair(params: EC2.Types.CreateKeyPairRequest, callback?: (err: AWSError, data: EC2.Types.KeyPair) => void): Request; - /** - * Creates a 2048-bit RSA key pair with the specified name. Amazon EC2 stores the public key and displays the private key for you to save to a file. The private key is returned as an unencrypted PEM encoded PKCS#8 private key. If a key with the specified name already exists, Amazon EC2 returns an error. You can have up to five thousand key pairs per region. The key pair returned to you is available only in the region in which you create it. To create a key pair that is available in all regions, use ImportKeyPair. For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide. - */ - createKeyPair(callback?: (err: AWSError, data: EC2.Types.KeyPair) => void): Request; - /** - * Creates a NAT gateway in the specified subnet. A NAT gateway can be used to enable instances in a private subnet to connect to the Internet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. For more information, see NAT Gateways in the Amazon Virtual Private Cloud User Guide. - */ - createNatGateway(params: EC2.Types.CreateNatGatewayRequest, callback?: (err: AWSError, data: EC2.Types.CreateNatGatewayResult) => void): Request; - /** - * Creates a NAT gateway in the specified subnet. A NAT gateway can be used to enable instances in a private subnet to connect to the Internet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. For more information, see NAT Gateways in the Amazon Virtual Private Cloud User Guide. - */ - createNatGateway(callback?: (err: AWSError, data: EC2.Types.CreateNatGatewayResult) => void): Request; - /** - * Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide. - */ - createNetworkAcl(params: EC2.Types.CreateNetworkAclRequest, callback?: (err: AWSError, data: EC2.Types.CreateNetworkAclResult) => void): Request; - /** - * Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide. - */ - createNetworkAcl(callback?: (err: AWSError, data: EC2.Types.CreateNetworkAclResult) => void): Request; - /** - * Creates an entry (a rule) in a network ACL with the specified rule number. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the ACL, we process the entries in the ACL according to the rule numbers, in ascending order. Each network ACL has a set of ingress rules and a separate set of egress rules. We recommend that you leave room between the rule numbers (for example, 100, 110, 120, ...), and not number them one right after the other (for example, 101, 102, 103, ...). This makes it easier to add a rule between existing ones without having to renumber the rules. After you add an entry, you can't modify it; you must either replace it, or create an entry and delete the old one. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide. - */ - createNetworkAclEntry(params: EC2.Types.CreateNetworkAclEntryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates an entry (a rule) in a network ACL with the specified rule number. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the ACL, we process the entries in the ACL according to the rule numbers, in ascending order. Each network ACL has a set of ingress rules and a separate set of egress rules. We recommend that you leave room between the rule numbers (for example, 100, 110, 120, ...), and not number them one right after the other (for example, 101, 102, 103, ...). This makes it easier to add a rule between existing ones without having to renumber the rules. After you add an entry, you can't modify it; you must either replace it, or create an entry and delete the old one. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide. - */ - createNetworkAclEntry(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a network interface in the specified subnet. For more information about network interfaces, see Elastic Network Interfaces in the Amazon Virtual Private Cloud User Guide. - */ - createNetworkInterface(params: EC2.Types.CreateNetworkInterfaceRequest, callback?: (err: AWSError, data: EC2.Types.CreateNetworkInterfaceResult) => void): Request; - /** - * Creates a network interface in the specified subnet. For more information about network interfaces, see Elastic Network Interfaces in the Amazon Virtual Private Cloud User Guide. - */ - createNetworkInterface(callback?: (err: AWSError, data: EC2.Types.CreateNetworkInterfaceResult) => void): Request; - /** - * Creates a placement group that you launch cluster instances into. You must give the group a name that's unique within the scope of your account. For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide. - */ - createPlacementGroup(params: EC2.Types.CreatePlacementGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a placement group that you launch cluster instances into. You must give the group a name that's unique within the scope of your account. For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide. - */ - createPlacementGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. To get a list of your Standard Reserved Instances, you can use the DescribeReservedInstances operation. Only Standard Reserved Instances with a capacity reservation can be sold in the Reserved Instance Marketplace. Convertible Reserved Instances and Standard Reserved Instances with a regional benefit cannot be sold. The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances. To sell your Standard Reserved Instances, you must first register as a seller in the Reserved Instance Marketplace. After completing the registration process, you can create a Reserved Instance Marketplace listing of some or all of your Standard Reserved Instances, and specify the upfront price to receive for them. Your Standard Reserved Instance listings then become available for purchase. To view the details of your Standard Reserved Instance listing, you can use the DescribeReservedInstancesListings operation. For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide. - */ - createReservedInstancesListing(params: EC2.Types.CreateReservedInstancesListingRequest, callback?: (err: AWSError, data: EC2.Types.CreateReservedInstancesListingResult) => void): Request; - /** - * Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. To get a list of your Standard Reserved Instances, you can use the DescribeReservedInstances operation. Only Standard Reserved Instances with a capacity reservation can be sold in the Reserved Instance Marketplace. Convertible Reserved Instances and Standard Reserved Instances with a regional benefit cannot be sold. The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances. To sell your Standard Reserved Instances, you must first register as a seller in the Reserved Instance Marketplace. After completing the registration process, you can create a Reserved Instance Marketplace listing of some or all of your Standard Reserved Instances, and specify the upfront price to receive for them. Your Standard Reserved Instance listings then become available for purchase. To view the details of your Standard Reserved Instance listing, you can use the DescribeReservedInstancesListings operation. For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide. - */ - createReservedInstancesListing(callback?: (err: AWSError, data: EC2.Types.CreateReservedInstancesListingResult) => void): Request; - /** - * Creates a route in a route table within a VPC. You must specify one of the following targets: Internet gateway or virtual private gateway, NAT instance, NAT gateway, VPC peering connection, network interface, or egress-only Internet gateway. When determining how to route traffic, we use the route with the most specific match. For example, traffic is destined for the IPv4 address 192.0.2.3, and the route table includes the following two IPv4 routes: 192.0.2.0/24 (goes to some target A) 192.0.2.0/28 (goes to some target B) Both routes apply to the traffic destined for 192.0.2.3. However, the second route in the list covers a smaller number of IP addresses and is therefore more specific, so we use that route to determine where to target the traffic. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - createRoute(params: EC2.Types.CreateRouteRequest, callback?: (err: AWSError, data: EC2.Types.CreateRouteResult) => void): Request; - /** - * Creates a route in a route table within a VPC. You must specify one of the following targets: Internet gateway or virtual private gateway, NAT instance, NAT gateway, VPC peering connection, network interface, or egress-only Internet gateway. When determining how to route traffic, we use the route with the most specific match. For example, traffic is destined for the IPv4 address 192.0.2.3, and the route table includes the following two IPv4 routes: 192.0.2.0/24 (goes to some target A) 192.0.2.0/28 (goes to some target B) Both routes apply to the traffic destined for 192.0.2.3. However, the second route in the list covers a smaller number of IP addresses and is therefore more specific, so we use that route to determine where to target the traffic. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - createRoute(callback?: (err: AWSError, data: EC2.Types.CreateRouteResult) => void): Request; - /** - * Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - createRouteTable(params: EC2.Types.CreateRouteTableRequest, callback?: (err: AWSError, data: EC2.Types.CreateRouteTableResult) => void): Request; - /** - * Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - createRouteTable(callback?: (err: AWSError, data: EC2.Types.CreateRouteTableResult) => void): Request; - /** - * Creates a security group. A security group is for use with instances either in the EC2-Classic platform or in a specific VPC. For more information, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide and Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide. EC2-Classic: You can have up to 500 security groups. EC2-VPC: You can create up to 500 security groups per VPC. When you create a security group, you specify a friendly name of your choice. You can have a security group for use in EC2-Classic with the same name as a security group for use in a VPC. However, you can't have two security groups for use in EC2-Classic with the same name or two security groups for use in a VPC with the same name. You have a default security group for use in EC2-Classic and a default security group for use in your VPC. If you don't specify a security group when you launch an instance, the instance is launched into the appropriate default security group. A default security group includes a default rule that grants instances unrestricted network access to each other. You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress. - */ - createSecurityGroup(params: EC2.Types.CreateSecurityGroupRequest, callback?: (err: AWSError, data: EC2.Types.CreateSecurityGroupResult) => void): Request; - /** - * Creates a security group. A security group is for use with instances either in the EC2-Classic platform or in a specific VPC. For more information, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide and Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide. EC2-Classic: You can have up to 500 security groups. EC2-VPC: You can create up to 500 security groups per VPC. When you create a security group, you specify a friendly name of your choice. You can have a security group for use in EC2-Classic with the same name as a security group for use in a VPC. However, you can't have two security groups for use in EC2-Classic with the same name or two security groups for use in a VPC with the same name. You have a default security group for use in EC2-Classic and a default security group for use in your VPC. If you don't specify a security group when you launch an instance, the instance is launched into the appropriate default security group. A default security group includes a default rule that grants instances unrestricted network access to each other. You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress. - */ - createSecurityGroup(callback?: (err: AWSError, data: EC2.Types.CreateSecurityGroupResult) => void): Request; - /** - * Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance. When a snapshot is created, any AWS Marketplace product codes that are associated with the source volume are propagated to the snapshot. You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your EBS volume at the time the snapshot command is issued; this may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the volume long enough to take a snapshot, your snapshot should be complete. However, if you cannot pause all file writes to the volume, you should unmount the volume from within the instance, issue the snapshot command, and then remount the volume to ensure a consistent and complete snapshot. You may remount and use your volume while the snapshot status is pending. To create a snapshot for EBS volumes that serve as root devices, you should stop the instance before taking the snapshot. Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes and any associated snapshots always remain protected. For more information, see Amazon Elastic Block Store and Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide. - */ - createSnapshot(params: EC2.Types.CreateSnapshotRequest, callback?: (err: AWSError, data: EC2.Types.Snapshot) => void): Request; - /** - * Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance. When a snapshot is created, any AWS Marketplace product codes that are associated with the source volume are propagated to the snapshot. You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your EBS volume at the time the snapshot command is issued; this may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the volume long enough to take a snapshot, your snapshot should be complete. However, if you cannot pause all file writes to the volume, you should unmount the volume from within the instance, issue the snapshot command, and then remount the volume to ensure a consistent and complete snapshot. You may remount and use your volume while the snapshot status is pending. To create a snapshot for EBS volumes that serve as root devices, you should stop the instance before taking the snapshot. Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes and any associated snapshots always remain protected. For more information, see Amazon Elastic Block Store and Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide. - */ - createSnapshot(callback?: (err: AWSError, data: EC2.Types.Snapshot) => void): Request; - /** - * Creates a data feed for Spot instances, enabling you to view Spot instance usage logs. You can create one data feed per AWS account. For more information, see Spot Instance Data Feed in the Amazon Elastic Compute Cloud User Guide. - */ - createSpotDatafeedSubscription(params: EC2.Types.CreateSpotDatafeedSubscriptionRequest, callback?: (err: AWSError, data: EC2.Types.CreateSpotDatafeedSubscriptionResult) => void): Request; - /** - * Creates a data feed for Spot instances, enabling you to view Spot instance usage logs. You can create one data feed per AWS account. For more information, see Spot Instance Data Feed in the Amazon Elastic Compute Cloud User Guide. - */ - createSpotDatafeedSubscription(callback?: (err: AWSError, data: EC2.Types.CreateSpotDatafeedSubscriptionResult) => void): Request; - /** - * Creates a subnet in an existing VPC. When you create each subnet, you provide the VPC ID and the CIDR block you want for the subnet. After you create a subnet, you can't change its CIDR block. The subnet's IPv4 CIDR block can be the same as the VPC's IPv4 CIDR block (assuming you want only a single subnet in the VPC), or a subset of the VPC's IPv4 CIDR block. If you create more than one subnet in a VPC, the subnets' CIDR blocks must not overlap. The smallest IPv4 subnet (and VPC) you can create uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16 netmask (65,536 IPv4 addresses). If you've associated an IPv6 CIDR block with your VPC, you can create a subnet with an IPv6 CIDR block that uses a /64 prefix length. AWS reserves both the first four and the last IPv4 address in each subnet's CIDR block. They're not available for use. If you add more than one subnet to a VPC, they're set up in a star topology with a logical router in the middle. If you launch an instance in a VPC using an Amazon EBS-backed AMI, the IP address doesn't change if you stop and restart the instance (unlike a similar instance launched outside a VPC, which gets a new IP address when restarted). It's therefore possible to have a subnet with no running instances (they're all stopped), but no remaining IP addresses available. For more information about subnets, see Your VPC and Subnets in the Amazon Virtual Private Cloud User Guide. - */ - createSubnet(params: EC2.Types.CreateSubnetRequest, callback?: (err: AWSError, data: EC2.Types.CreateSubnetResult) => void): Request; - /** - * Creates a subnet in an existing VPC. When you create each subnet, you provide the VPC ID and the CIDR block you want for the subnet. After you create a subnet, you can't change its CIDR block. The subnet's IPv4 CIDR block can be the same as the VPC's IPv4 CIDR block (assuming you want only a single subnet in the VPC), or a subset of the VPC's IPv4 CIDR block. If you create more than one subnet in a VPC, the subnets' CIDR blocks must not overlap. The smallest IPv4 subnet (and VPC) you can create uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16 netmask (65,536 IPv4 addresses). If you've associated an IPv6 CIDR block with your VPC, you can create a subnet with an IPv6 CIDR block that uses a /64 prefix length. AWS reserves both the first four and the last IPv4 address in each subnet's CIDR block. They're not available for use. If you add more than one subnet to a VPC, they're set up in a star topology with a logical router in the middle. If you launch an instance in a VPC using an Amazon EBS-backed AMI, the IP address doesn't change if you stop and restart the instance (unlike a similar instance launched outside a VPC, which gets a new IP address when restarted). It's therefore possible to have a subnet with no running instances (they're all stopped), but no remaining IP addresses available. For more information about subnets, see Your VPC and Subnets in the Amazon Virtual Private Cloud User Guide. - */ - createSubnet(callback?: (err: AWSError, data: EC2.Types.CreateSubnetResult) => void): Request; - /** - * Adds or overwrites one or more tags for the specified Amazon EC2 resource or resources. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource. For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide. For more information about creating IAM policies that control users' access to resources based on tags, see Supported Resource-Level Permissions for Amazon EC2 API Actions in the Amazon Elastic Compute Cloud User Guide. - */ - createTags(params: EC2.Types.CreateTagsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or overwrites one or more tags for the specified Amazon EC2 resource or resources. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource. For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide. For more information about creating IAM policies that control users' access to resources based on tags, see Supported Resource-Level Permissions for Amazon EC2 API Actions in the Amazon Elastic Compute Cloud User Guide. - */ - createTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates an EBS volume that can be attached to an instance in the same Availability Zone. The volume is created in the regional endpoint that you send the HTTP request to. For more information see Regions and Endpoints. You can create a new empty volume or restore a volume from an EBS snapshot. Any AWS Marketplace product codes from the snapshot are propagated to the volume. You can create encrypted volumes with the Encrypted parameter. Encrypted volumes may only be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are also automatically encrypted. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide. You can tag your volumes during creation. For more information, see Tagging Your Amazon EC2 Resources. For more information, see Creating an Amazon EBS Volume in the Amazon Elastic Compute Cloud User Guide. - */ - createVolume(params: EC2.Types.CreateVolumeRequest, callback?: (err: AWSError, data: EC2.Types.Volume) => void): Request; - /** - * Creates an EBS volume that can be attached to an instance in the same Availability Zone. The volume is created in the regional endpoint that you send the HTTP request to. For more information see Regions and Endpoints. You can create a new empty volume or restore a volume from an EBS snapshot. Any AWS Marketplace product codes from the snapshot are propagated to the volume. You can create encrypted volumes with the Encrypted parameter. Encrypted volumes may only be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are also automatically encrypted. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide. You can tag your volumes during creation. For more information, see Tagging Your Amazon EC2 Resources. For more information, see Creating an Amazon EBS Volume in the Amazon Elastic Compute Cloud User Guide. - */ - createVolume(callback?: (err: AWSError, data: EC2.Types.Volume) => void): Request; - /** - * Creates a VPC with the specified IPv4 CIDR block. The smallest VPC you can create uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16 netmask (65,536 IPv4 addresses). To help you decide how big to make your VPC, see Your VPC and Subnets in the Amazon Virtual Private Cloud User Guide. You can optionally request an Amazon-provided IPv6 CIDR block for the VPC. The IPv6 CIDR block uses a /56 prefix length, and is allocated from Amazon's pool of IPv6 addresses. You cannot choose the IPv6 range for your VPC. By default, each instance you launch in the VPC has the default DHCP options, which includes only a default DNS server that we provide (AmazonProvidedDNS). For more information about DHCP options, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide. You can specify the instance tenancy value for the VPC when you create it. You can't change this value for the VPC after you create it. For more information, see Dedicated Instances in the Amazon Elastic Compute Cloud User Guide. - */ - createVpc(params: EC2.Types.CreateVpcRequest, callback?: (err: AWSError, data: EC2.Types.CreateVpcResult) => void): Request; - /** - * Creates a VPC with the specified IPv4 CIDR block. The smallest VPC you can create uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16 netmask (65,536 IPv4 addresses). To help you decide how big to make your VPC, see Your VPC and Subnets in the Amazon Virtual Private Cloud User Guide. You can optionally request an Amazon-provided IPv6 CIDR block for the VPC. The IPv6 CIDR block uses a /56 prefix length, and is allocated from Amazon's pool of IPv6 addresses. You cannot choose the IPv6 range for your VPC. By default, each instance you launch in the VPC has the default DHCP options, which includes only a default DNS server that we provide (AmazonProvidedDNS). For more information about DHCP options, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide. You can specify the instance tenancy value for the VPC when you create it. You can't change this value for the VPC after you create it. For more information, see Dedicated Instances in the Amazon Elastic Compute Cloud User Guide. - */ - createVpc(callback?: (err: AWSError, data: EC2.Types.CreateVpcResult) => void): Request; - /** - * Creates a VPC endpoint for a specified AWS service. An endpoint enables you to create a private connection between your VPC and another AWS service in your account. You can specify an endpoint policy to attach to the endpoint that will control access to the service from your VPC. You can also specify the VPC route tables that use the endpoint. Use DescribeVpcEndpointServices to get a list of supported AWS services. - */ - createVpcEndpoint(params: EC2.Types.CreateVpcEndpointRequest, callback?: (err: AWSError, data: EC2.Types.CreateVpcEndpointResult) => void): Request; - /** - * Creates a VPC endpoint for a specified AWS service. An endpoint enables you to create a private connection between your VPC and another AWS service in your account. You can specify an endpoint policy to attach to the endpoint that will control access to the service from your VPC. You can also specify the VPC route tables that use the endpoint. Use DescribeVpcEndpointServices to get a list of supported AWS services. - */ - createVpcEndpoint(callback?: (err: AWSError, data: EC2.Types.CreateVpcEndpointResult) => void): Request; - /** - * Requests a VPC peering connection between two VPCs: a requester VPC that you own and a peer VPC with which to create the connection. The peer VPC can belong to another AWS account. The requester VPC and peer VPC cannot have overlapping CIDR blocks. The owner of the peer VPC must accept the peering request to activate the peering connection. The VPC peering connection request expires after 7 days, after which it cannot be accepted or rejected. If you try to create a VPC peering connection between VPCs that have overlapping CIDR blocks, the VPC peering connection status goes to failed. - */ - createVpcPeeringConnection(params: EC2.Types.CreateVpcPeeringConnectionRequest, callback?: (err: AWSError, data: EC2.Types.CreateVpcPeeringConnectionResult) => void): Request; - /** - * Requests a VPC peering connection between two VPCs: a requester VPC that you own and a peer VPC with which to create the connection. The peer VPC can belong to another AWS account. The requester VPC and peer VPC cannot have overlapping CIDR blocks. The owner of the peer VPC must accept the peering request to activate the peering connection. The VPC peering connection request expires after 7 days, after which it cannot be accepted or rejected. If you try to create a VPC peering connection between VPCs that have overlapping CIDR blocks, the VPC peering connection status goes to failed. - */ - createVpcPeeringConnection(callback?: (err: AWSError, data: EC2.Types.CreateVpcPeeringConnectionResult) => void): Request; - /** - * Creates a VPN connection between an existing virtual private gateway and a VPN customer gateway. The only supported connection type is ipsec.1. The response includes information that you need to give to your network administrator to configure your customer gateway. We strongly recommend that you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. If you decide to shut down your VPN connection for any reason and later create a new VPN connection, you must reconfigure your customer gateway with the new information returned from this call. This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error. For more information about VPN connections, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - createVpnConnection(params: EC2.Types.CreateVpnConnectionRequest, callback?: (err: AWSError, data: EC2.Types.CreateVpnConnectionResult) => void): Request; - /** - * Creates a VPN connection between an existing virtual private gateway and a VPN customer gateway. The only supported connection type is ipsec.1. The response includes information that you need to give to your network administrator to configure your customer gateway. We strongly recommend that you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. If you decide to shut down your VPN connection for any reason and later create a new VPN connection, you must reconfigure your customer gateway with the new information returned from this call. This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error. For more information about VPN connections, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - createVpnConnection(callback?: (err: AWSError, data: EC2.Types.CreateVpnConnectionResult) => void): Request; - /** - * Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway. For more information about VPN connections, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - createVpnConnectionRoute(params: EC2.Types.CreateVpnConnectionRouteRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway. For more information about VPN connections, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - createVpnConnectionRoute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself. For more information about virtual private gateways, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - createVpnGateway(params: EC2.Types.CreateVpnGatewayRequest, callback?: (err: AWSError, data: EC2.Types.CreateVpnGatewayResult) => void): Request; - /** - * Creates a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself. For more information about virtual private gateways, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - createVpnGateway(callback?: (err: AWSError, data: EC2.Types.CreateVpnGatewayResult) => void): Request; - /** - * Deletes the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway. - */ - deleteCustomerGateway(params: EC2.Types.DeleteCustomerGatewayRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway. - */ - deleteCustomerGateway(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified set of DHCP options. You must disassociate the set of DHCP options before you can delete it. You can disassociate the set of DHCP options by associating either a new set of options or the default set of options with the VPC. - */ - deleteDhcpOptions(params: EC2.Types.DeleteDhcpOptionsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified set of DHCP options. You must disassociate the set of DHCP options before you can delete it. You can disassociate the set of DHCP options by associating either a new set of options or the default set of options with the VPC. - */ - deleteDhcpOptions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an egress-only Internet gateway. - */ - deleteEgressOnlyInternetGateway(params: EC2.Types.DeleteEgressOnlyInternetGatewayRequest, callback?: (err: AWSError, data: EC2.Types.DeleteEgressOnlyInternetGatewayResult) => void): Request; - /** - * Deletes an egress-only Internet gateway. - */ - deleteEgressOnlyInternetGateway(callback?: (err: AWSError, data: EC2.Types.DeleteEgressOnlyInternetGatewayResult) => void): Request; - /** - * Deletes one or more flow logs. - */ - deleteFlowLogs(params: EC2.Types.DeleteFlowLogsRequest, callback?: (err: AWSError, data: EC2.Types.DeleteFlowLogsResult) => void): Request; - /** - * Deletes one or more flow logs. - */ - deleteFlowLogs(callback?: (err: AWSError, data: EC2.Types.DeleteFlowLogsResult) => void): Request; - /** - * Deletes the specified Internet gateway. You must detach the Internet gateway from the VPC before you can delete it. - */ - deleteInternetGateway(params: EC2.Types.DeleteInternetGatewayRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified Internet gateway. You must detach the Internet gateway from the VPC before you can delete it. - */ - deleteInternetGateway(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified key pair, by removing the public key from Amazon EC2. - */ - deleteKeyPair(params: EC2.Types.DeleteKeyPairRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified key pair, by removing the public key from Amazon EC2. - */ - deleteKeyPair(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified NAT gateway. Deleting a NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables. - */ - deleteNatGateway(params: EC2.Types.DeleteNatGatewayRequest, callback?: (err: AWSError, data: EC2.Types.DeleteNatGatewayResult) => void): Request; - /** - * Deletes the specified NAT gateway. Deleting a NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables. - */ - deleteNatGateway(callback?: (err: AWSError, data: EC2.Types.DeleteNatGatewayResult) => void): Request; - /** - * Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL. - */ - deleteNetworkAcl(params: EC2.Types.DeleteNetworkAclRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL. - */ - deleteNetworkAcl(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified ingress or egress entry (rule) from the specified network ACL. - */ - deleteNetworkAclEntry(params: EC2.Types.DeleteNetworkAclEntryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified ingress or egress entry (rule) from the specified network ACL. - */ - deleteNetworkAclEntry(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified network interface. You must detach the network interface before you can delete it. - */ - deleteNetworkInterface(params: EC2.Types.DeleteNetworkInterfaceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified network interface. You must detach the network interface before you can delete it. - */ - deleteNetworkInterface(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified placement group. You must terminate all instances in the placement group before you can delete the placement group. For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide. - */ - deletePlacementGroup(params: EC2.Types.DeletePlacementGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified placement group. You must terminate all instances in the placement group before you can delete the placement group. For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide. - */ - deletePlacementGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified route from the specified route table. - */ - deleteRoute(params: EC2.Types.DeleteRouteRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified route from the specified route table. - */ - deleteRoute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table. - */ - deleteRouteTable(params: EC2.Types.DeleteRouteTableRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table. - */ - deleteRouteTable(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a security group. If you attempt to delete a security group that is associated with an instance, or is referenced by another security group, the operation fails with InvalidGroup.InUse in EC2-Classic or DependencyViolation in EC2-VPC. - */ - deleteSecurityGroup(params: EC2.Types.DeleteSecurityGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a security group. If you attempt to delete a security group that is associated with an instance, or is referenced by another security group, the operation fails with InvalidGroup.InUse in EC2-Classic or DependencyViolation in EC2-VPC. - */ - deleteSecurityGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified snapshot. When you make periodic snapshots of a volume, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the volume. You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI. You must first de-register the AMI before you can delete the snapshot. For more information, see Deleting an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User Guide. - */ - deleteSnapshot(params: EC2.Types.DeleteSnapshotRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified snapshot. When you make periodic snapshots of a volume, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the volume. You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI. You must first de-register the AMI before you can delete the snapshot. For more information, see Deleting an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User Guide. - */ - deleteSnapshot(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the data feed for Spot instances. - */ - deleteSpotDatafeedSubscription(params: EC2.Types.DeleteSpotDatafeedSubscriptionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the data feed for Spot instances. - */ - deleteSpotDatafeedSubscription(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet. - */ - deleteSubnet(params: EC2.Types.DeleteSubnetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet. - */ - deleteSubnet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified set of tags from the specified set of resources. This call is designed to follow a DescribeTags request. For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide. - */ - deleteTags(params: EC2.Types.DeleteTagsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified set of tags from the specified set of resources. This call is designed to follow a DescribeTags request. For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide. - */ - deleteTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified EBS volume. The volume must be in the available state (not attached to an instance). The volume may remain in the deleting state for several minutes. For more information, see Deleting an Amazon EBS Volume in the Amazon Elastic Compute Cloud User Guide. - */ - deleteVolume(params: EC2.Types.DeleteVolumeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified EBS volume. The volume must be in the available state (not attached to an instance). The volume may remain in the deleting state for several minutes. For more information, see Deleting an Amazon EBS Volume in the Amazon Elastic Compute Cloud User Guide. - */ - deleteVolume(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on. - */ - deleteVpc(params: EC2.Types.DeleteVpcRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on. - */ - deleteVpc(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes one or more specified VPC endpoints. Deleting the endpoint also deletes the endpoint routes in the route tables that were associated with the endpoint. - */ - deleteVpcEndpoints(params: EC2.Types.DeleteVpcEndpointsRequest, callback?: (err: AWSError, data: EC2.Types.DeleteVpcEndpointsResult) => void): Request; - /** - * Deletes one or more specified VPC endpoints. Deleting the endpoint also deletes the endpoint routes in the route tables that were associated with the endpoint. - */ - deleteVpcEndpoints(callback?: (err: AWSError, data: EC2.Types.DeleteVpcEndpointsResult) => void): Request; - /** - * Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the peer VPC can delete the VPC peering connection if it's in the active state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance state. - */ - deleteVpcPeeringConnection(params: EC2.Types.DeleteVpcPeeringConnectionRequest, callback?: (err: AWSError, data: EC2.Types.DeleteVpcPeeringConnectionResult) => void): Request; - /** - * Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the peer VPC can delete the VPC peering connection if it's in the active state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance state. - */ - deleteVpcPeeringConnection(callback?: (err: AWSError, data: EC2.Types.DeleteVpcPeeringConnectionResult) => void): Request; - /** - * Deletes the specified VPN connection. If you're deleting the VPC and its associated components, we recommend that you detach the virtual private gateway from the VPC and delete the VPC before deleting the VPN connection. If you believe that the tunnel credentials for your VPN connection have been compromised, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or virtual private gateway. If you create a new VPN connection, you must reconfigure the customer gateway using the new configuration information returned with the new VPN connection ID. - */ - deleteVpnConnection(params: EC2.Types.DeleteVpnConnectionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified VPN connection. If you're deleting the VPC and its associated components, we recommend that you detach the virtual private gateway from the VPC and delete the VPC before deleting the VPN connection. If you believe that the tunnel credentials for your VPN connection have been compromised, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or virtual private gateway. If you create a new VPN connection, you must reconfigure the customer gateway using the new configuration information returned with the new VPN connection ID. - */ - deleteVpnConnection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway. - */ - deleteVpnConnectionRoute(params: EC2.Types.DeleteVpnConnectionRouteRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway. - */ - deleteVpnConnectionRoute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified virtual private gateway. We recommend that before you delete a virtual private gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the virtual private gateway if you plan to delete and recreate the VPN connection between your VPC and your network. - */ - deleteVpnGateway(params: EC2.Types.DeleteVpnGatewayRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified virtual private gateway. We recommend that before you delete a virtual private gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the virtual private gateway if you plan to delete and recreate the VPN connection between your VPC and your network. - */ - deleteVpnGateway(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances. This command does not delete the AMI. - */ - deregisterImage(params: EC2.Types.DeregisterImageRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances. This command does not delete the AMI. - */ - deregisterImage(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Describes attributes of your AWS account. The following are the supported account attributes: supported-platforms: Indicates whether your account can launch instances into EC2-Classic and EC2-VPC, or only into EC2-VPC. default-vpc: The ID of the default VPC for your account, or none. max-instances: The maximum number of On-Demand instances that you can run. vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface. max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-Classic. vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-VPC. - */ - describeAccountAttributes(params: EC2.Types.DescribeAccountAttributesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeAccountAttributesResult) => void): Request; - /** - * Describes attributes of your AWS account. The following are the supported account attributes: supported-platforms: Indicates whether your account can launch instances into EC2-Classic and EC2-VPC, or only into EC2-VPC. default-vpc: The ID of the default VPC for your account, or none. max-instances: The maximum number of On-Demand instances that you can run. vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface. max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-Classic. vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-VPC. - */ - describeAccountAttributes(callback?: (err: AWSError, data: EC2.Types.DescribeAccountAttributesResult) => void): Request; - /** - * Describes one or more of your Elastic IP addresses. An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. - */ - describeAddresses(params: EC2.Types.DescribeAddressesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeAddressesResult) => void): Request; - /** - * Describes one or more of your Elastic IP addresses. An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. - */ - describeAddresses(callback?: (err: AWSError, data: EC2.Types.DescribeAddressesResult) => void): Request; - /** - * Describes one or more of the Availability Zones that are available to you. The results include zones only for the region you're currently using. If there is an event impacting an Availability Zone, you can use this request to view the state and any provided message for that Availability Zone. For more information, see Regions and Availability Zones in the Amazon Elastic Compute Cloud User Guide. - */ - describeAvailabilityZones(params: EC2.Types.DescribeAvailabilityZonesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeAvailabilityZonesResult) => void): Request; - /** - * Describes one or more of the Availability Zones that are available to you. The results include zones only for the region you're currently using. If there is an event impacting an Availability Zone, you can use this request to view the state and any provided message for that Availability Zone. For more information, see Regions and Availability Zones in the Amazon Elastic Compute Cloud User Guide. - */ - describeAvailabilityZones(callback?: (err: AWSError, data: EC2.Types.DescribeAvailabilityZonesResult) => void): Request; - /** - * Describes one or more of your bundling tasks. Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage with the Amazon S3 bucket name and image manifest name you provided to the bundle task. - */ - describeBundleTasks(params: EC2.Types.DescribeBundleTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeBundleTasksResult) => void): Request; - /** - * Describes one or more of your bundling tasks. Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage with the Amazon S3 bucket name and image manifest name you provided to the bundle task. - */ - describeBundleTasks(callback?: (err: AWSError, data: EC2.Types.DescribeBundleTasksResult) => void): Request; - /** - * Describes one or more of your linked EC2-Classic instances. This request only returns information about EC2-Classic instances linked to a VPC through ClassicLink; you cannot use this request to return information about other instances. - */ - describeClassicLinkInstances(params: EC2.Types.DescribeClassicLinkInstancesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeClassicLinkInstancesResult) => void): Request; - /** - * Describes one or more of your linked EC2-Classic instances. This request only returns information about EC2-Classic instances linked to a VPC through ClassicLink; you cannot use this request to return information about other instances. - */ - describeClassicLinkInstances(callback?: (err: AWSError, data: EC2.Types.DescribeClassicLinkInstancesResult) => void): Request; - /** - * Describes one or more of your conversion tasks. For more information, see the VM Import/Export User Guide. For information about the import manifest referenced by this API action, see VM Import Manifest. - */ - describeConversionTasks(params: EC2.Types.DescribeConversionTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeConversionTasksResult) => void): Request; - /** - * Describes one or more of your conversion tasks. For more information, see the VM Import/Export User Guide. For information about the import manifest referenced by this API action, see VM Import Manifest. - */ - describeConversionTasks(callback?: (err: AWSError, data: EC2.Types.DescribeConversionTasksResult) => void): Request; - /** - * Describes one or more of your VPN customer gateways. For more information about VPN customer gateways, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - describeCustomerGateways(params: EC2.Types.DescribeCustomerGatewaysRequest, callback?: (err: AWSError, data: EC2.Types.DescribeCustomerGatewaysResult) => void): Request; - /** - * Describes one or more of your VPN customer gateways. For more information about VPN customer gateways, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - describeCustomerGateways(callback?: (err: AWSError, data: EC2.Types.DescribeCustomerGatewaysResult) => void): Request; - /** - * Describes one or more of your DHCP options sets. For more information about DHCP options sets, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide. - */ - describeDhcpOptions(params: EC2.Types.DescribeDhcpOptionsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeDhcpOptionsResult) => void): Request; - /** - * Describes one or more of your DHCP options sets. For more information about DHCP options sets, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide. - */ - describeDhcpOptions(callback?: (err: AWSError, data: EC2.Types.DescribeDhcpOptionsResult) => void): Request; - /** - * Describes one or more of your egress-only Internet gateways. - */ - describeEgressOnlyInternetGateways(params: EC2.Types.DescribeEgressOnlyInternetGatewaysRequest, callback?: (err: AWSError, data: EC2.Types.DescribeEgressOnlyInternetGatewaysResult) => void): Request; - /** - * Describes one or more of your egress-only Internet gateways. - */ - describeEgressOnlyInternetGateways(callback?: (err: AWSError, data: EC2.Types.DescribeEgressOnlyInternetGatewaysResult) => void): Request; - /** - * Describes one or more of your export tasks. - */ - describeExportTasks(params: EC2.Types.DescribeExportTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeExportTasksResult) => void): Request; - /** - * Describes one or more of your export tasks. - */ - describeExportTasks(callback?: (err: AWSError, data: EC2.Types.DescribeExportTasksResult) => void): Request; - /** - * Describes one or more flow logs. To view the information in your flow logs (the log streams for the network interfaces), you must use the CloudWatch Logs console or the CloudWatch Logs API. - */ - describeFlowLogs(params: EC2.Types.DescribeFlowLogsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeFlowLogsResult) => void): Request; - /** - * Describes one or more flow logs. To view the information in your flow logs (the log streams for the network interfaces), you must use the CloudWatch Logs console or the CloudWatch Logs API. - */ - describeFlowLogs(callback?: (err: AWSError, data: EC2.Types.DescribeFlowLogsResult) => void): Request; - /** - * Describes one or more available Amazon FPGA Images (AFIs). These include public AFIs, private AFIs that you own, and AFIs owned by other AWS accounts for which you have load permissions. - */ - describeFpgaImages(params: EC2.Types.DescribeFpgaImagesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeFpgaImagesResult) => void): Request; - /** - * Describes one or more available Amazon FPGA Images (AFIs). These include public AFIs, private AFIs that you own, and AFIs owned by other AWS accounts for which you have load permissions. - */ - describeFpgaImages(callback?: (err: AWSError, data: EC2.Types.DescribeFpgaImagesResult) => void): Request; - /** - * Describes the Dedicated Host Reservations that are available to purchase. The results describe all the Dedicated Host Reservation offerings, including offerings that may not match the instance family and region of your Dedicated Hosts. When purchasing an offering, ensure that the the instance family and region of the offering matches that of the Dedicated Host/s it will be associated with. For an overview of supported instance types, see Dedicated Hosts Overview in the Amazon Elastic Compute Cloud User Guide. - */ - describeHostReservationOfferings(params: EC2.Types.DescribeHostReservationOfferingsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeHostReservationOfferingsResult) => void): Request; - /** - * Describes the Dedicated Host Reservations that are available to purchase. The results describe all the Dedicated Host Reservation offerings, including offerings that may not match the instance family and region of your Dedicated Hosts. When purchasing an offering, ensure that the the instance family and region of the offering matches that of the Dedicated Host/s it will be associated with. For an overview of supported instance types, see Dedicated Hosts Overview in the Amazon Elastic Compute Cloud User Guide. - */ - describeHostReservationOfferings(callback?: (err: AWSError, data: EC2.Types.DescribeHostReservationOfferingsResult) => void): Request; - /** - * Describes Dedicated Host Reservations which are associated with Dedicated Hosts in your account. - */ - describeHostReservations(params: EC2.Types.DescribeHostReservationsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeHostReservationsResult) => void): Request; - /** - * Describes Dedicated Host Reservations which are associated with Dedicated Hosts in your account. - */ - describeHostReservations(callback?: (err: AWSError, data: EC2.Types.DescribeHostReservationsResult) => void): Request; - /** - * Describes one or more of your Dedicated Hosts. The results describe only the Dedicated Hosts in the region you're currently using. All listed instances consume capacity on your Dedicated Host. Dedicated Hosts that have recently been released will be listed with the state released. - */ - describeHosts(params: EC2.Types.DescribeHostsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeHostsResult) => void): Request; - /** - * Describes one or more of your Dedicated Hosts. The results describe only the Dedicated Hosts in the region you're currently using. All listed instances consume capacity on your Dedicated Host. Dedicated Hosts that have recently been released will be listed with the state released. - */ - describeHosts(callback?: (err: AWSError, data: EC2.Types.DescribeHostsResult) => void): Request; - /** - * Describes your IAM instance profile associations. - */ - describeIamInstanceProfileAssociations(params: EC2.Types.DescribeIamInstanceProfileAssociationsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeIamInstanceProfileAssociationsResult) => void): Request; - /** - * Describes your IAM instance profile associations. - */ - describeIamInstanceProfileAssociations(callback?: (err: AWSError, data: EC2.Types.DescribeIamInstanceProfileAssociationsResult) => void): Request; - /** - * Describes the ID format settings for your resources on a per-region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types. The following resource types support longer IDs: instance | reservation | snapshot | volume. These settings apply to the IAM user who makes the request; they do not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user, unless they explicitly override the settings by running the ModifyIdFormat command. Resources created with longer IDs are visible to all IAM users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type. - */ - describeIdFormat(params: EC2.Types.DescribeIdFormatRequest, callback?: (err: AWSError, data: EC2.Types.DescribeIdFormatResult) => void): Request; - /** - * Describes the ID format settings for your resources on a per-region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types. The following resource types support longer IDs: instance | reservation | snapshot | volume. These settings apply to the IAM user who makes the request; they do not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user, unless they explicitly override the settings by running the ModifyIdFormat command. Resources created with longer IDs are visible to all IAM users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type. - */ - describeIdFormat(callback?: (err: AWSError, data: EC2.Types.DescribeIdFormatResult) => void): Request; - /** - * Describes the ID format settings for resources for the specified IAM user, IAM role, or root user. For example, you can view the resource types that are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide. The following resource types support longer IDs: instance | reservation | snapshot | volume. These settings apply to the principal specified in the request. They do not apply to the principal that makes the request. - */ - describeIdentityIdFormat(params: EC2.Types.DescribeIdentityIdFormatRequest, callback?: (err: AWSError, data: EC2.Types.DescribeIdentityIdFormatResult) => void): Request; - /** - * Describes the ID format settings for resources for the specified IAM user, IAM role, or root user. For example, you can view the resource types that are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide. The following resource types support longer IDs: instance | reservation | snapshot | volume. These settings apply to the principal specified in the request. They do not apply to the principal that makes the request. - */ - describeIdentityIdFormat(callback?: (err: AWSError, data: EC2.Types.DescribeIdentityIdFormatResult) => void): Request; - /** - * Describes the specified attribute of the specified AMI. You can specify only one attribute at a time. - */ - describeImageAttribute(params: EC2.Types.DescribeImageAttributeRequest, callback?: (err: AWSError, data: EC2.Types.ImageAttribute) => void): Request; - /** - * Describes the specified attribute of the specified AMI. You can specify only one attribute at a time. - */ - describeImageAttribute(callback?: (err: AWSError, data: EC2.Types.ImageAttribute) => void): Request; - /** - * Describes one or more of the images (AMIs, AKIs, and ARIs) available to you. Images available to you include public images, private images that you own, and private images owned by other AWS accounts but for which you have explicit launch permissions. Deregistered images are included in the returned results for an unspecified interval after deregistration. - */ - describeImages(params: EC2.Types.DescribeImagesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeImagesResult) => void): Request; - /** - * Describes one or more of the images (AMIs, AKIs, and ARIs) available to you. Images available to you include public images, private images that you own, and private images owned by other AWS accounts but for which you have explicit launch permissions. Deregistered images are included in the returned results for an unspecified interval after deregistration. - */ - describeImages(callback?: (err: AWSError, data: EC2.Types.DescribeImagesResult) => void): Request; - /** - * Displays details about an import virtual machine or import snapshot tasks that are already created. - */ - describeImportImageTasks(params: EC2.Types.DescribeImportImageTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeImportImageTasksResult) => void): Request; - /** - * Displays details about an import virtual machine or import snapshot tasks that are already created. - */ - describeImportImageTasks(callback?: (err: AWSError, data: EC2.Types.DescribeImportImageTasksResult) => void): Request; - /** - * Describes your import snapshot tasks. - */ - describeImportSnapshotTasks(params: EC2.Types.DescribeImportSnapshotTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeImportSnapshotTasksResult) => void): Request; - /** - * Describes your import snapshot tasks. - */ - describeImportSnapshotTasks(callback?: (err: AWSError, data: EC2.Types.DescribeImportSnapshotTasksResult) => void): Request; - /** - * Describes the specified attribute of the specified instance. You can specify only one attribute at a time. Valid attribute values are: instanceType | kernel | ramdisk | userData | disableApiTermination | instanceInitiatedShutdownBehavior | rootDeviceName | blockDeviceMapping | productCodes | sourceDestCheck | groupSet | ebsOptimized | sriovNetSupport - */ - describeInstanceAttribute(params: EC2.Types.DescribeInstanceAttributeRequest, callback?: (err: AWSError, data: EC2.Types.InstanceAttribute) => void): Request; - /** - * Describes the specified attribute of the specified instance. You can specify only one attribute at a time. Valid attribute values are: instanceType | kernel | ramdisk | userData | disableApiTermination | instanceInitiatedShutdownBehavior | rootDeviceName | blockDeviceMapping | productCodes | sourceDestCheck | groupSet | ebsOptimized | sriovNetSupport - */ - describeInstanceAttribute(callback?: (err: AWSError, data: EC2.Types.InstanceAttribute) => void): Request; - /** - * Describes the status of one or more instances. By default, only running instances are described, unless specified otherwise. Instance status includes the following components: Status checks - Amazon EC2 performs status checks on running EC2 instances to identify hardware and software issues. For more information, see Status Checks for Your Instances and Troubleshooting Instances with Failed Status Checks in the Amazon Elastic Compute Cloud User Guide. Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or terminate) for your instances related to hardware issues, software updates, or system maintenance. For more information, see Scheduled Events for Your Instances in the Amazon Elastic Compute Cloud User Guide. Instance state - You can manage your instances from the moment you launch them through their termination. For more information, see Instance Lifecycle in the Amazon Elastic Compute Cloud User Guide. - */ - describeInstanceStatus(params: EC2.Types.DescribeInstanceStatusRequest, callback?: (err: AWSError, data: EC2.Types.DescribeInstanceStatusResult) => void): Request; - /** - * Describes the status of one or more instances. By default, only running instances are described, unless specified otherwise. Instance status includes the following components: Status checks - Amazon EC2 performs status checks on running EC2 instances to identify hardware and software issues. For more information, see Status Checks for Your Instances and Troubleshooting Instances with Failed Status Checks in the Amazon Elastic Compute Cloud User Guide. Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or terminate) for your instances related to hardware issues, software updates, or system maintenance. For more information, see Scheduled Events for Your Instances in the Amazon Elastic Compute Cloud User Guide. Instance state - You can manage your instances from the moment you launch them through their termination. For more information, see Instance Lifecycle in the Amazon Elastic Compute Cloud User Guide. - */ - describeInstanceStatus(callback?: (err: AWSError, data: EC2.Types.DescribeInstanceStatusResult) => void): Request; - /** - * Describes one or more of your instances. If you specify one or more instance IDs, Amazon EC2 returns information for those instances. If you do not specify instance IDs, Amazon EC2 returns information for all relevant instances. If you specify an instance ID that is not valid, an error is returned. If you specify an instance that you do not own, it is not included in the returned results. Recently terminated instances might appear in the returned results. This interval is usually less than one hour. If you describe instances in the rare case where an Availability Zone is experiencing a service disruption and you specify instance IDs that are in the affected zone, or do not specify any instance IDs at all, the call fails. If you describe instances and specify only instance IDs that are in an unaffected zone, the call works normally. - */ - describeInstances(params: EC2.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeInstancesResult) => void): Request; - /** - * Describes one or more of your instances. If you specify one or more instance IDs, Amazon EC2 returns information for those instances. If you do not specify instance IDs, Amazon EC2 returns information for all relevant instances. If you specify an instance ID that is not valid, an error is returned. If you specify an instance that you do not own, it is not included in the returned results. Recently terminated instances might appear in the returned results. This interval is usually less than one hour. If you describe instances in the rare case where an Availability Zone is experiencing a service disruption and you specify instance IDs that are in the affected zone, or do not specify any instance IDs at all, the call fails. If you describe instances and specify only instance IDs that are in an unaffected zone, the call works normally. - */ - describeInstances(callback?: (err: AWSError, data: EC2.Types.DescribeInstancesResult) => void): Request; - /** - * Describes one or more of your Internet gateways. - */ - describeInternetGateways(params: EC2.Types.DescribeInternetGatewaysRequest, callback?: (err: AWSError, data: EC2.Types.DescribeInternetGatewaysResult) => void): Request; - /** - * Describes one or more of your Internet gateways. - */ - describeInternetGateways(callback?: (err: AWSError, data: EC2.Types.DescribeInternetGatewaysResult) => void): Request; - /** - * Describes one or more of your key pairs. For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide. - */ - describeKeyPairs(params: EC2.Types.DescribeKeyPairsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeKeyPairsResult) => void): Request; - /** - * Describes one or more of your key pairs. For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide. - */ - describeKeyPairs(callback?: (err: AWSError, data: EC2.Types.DescribeKeyPairsResult) => void): Request; - /** - * Describes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account. - */ - describeMovingAddresses(params: EC2.Types.DescribeMovingAddressesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeMovingAddressesResult) => void): Request; - /** - * Describes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account. - */ - describeMovingAddresses(callback?: (err: AWSError, data: EC2.Types.DescribeMovingAddressesResult) => void): Request; - /** - * Describes one or more of the your NAT gateways. - */ - describeNatGateways(params: EC2.Types.DescribeNatGatewaysRequest, callback?: (err: AWSError, data: EC2.Types.DescribeNatGatewaysResult) => void): Request; - /** - * Describes one or more of the your NAT gateways. - */ - describeNatGateways(callback?: (err: AWSError, data: EC2.Types.DescribeNatGatewaysResult) => void): Request; - /** - * Describes one or more of your network ACLs. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide. - */ - describeNetworkAcls(params: EC2.Types.DescribeNetworkAclsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeNetworkAclsResult) => void): Request; - /** - * Describes one or more of your network ACLs. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide. - */ - describeNetworkAcls(callback?: (err: AWSError, data: EC2.Types.DescribeNetworkAclsResult) => void): Request; - /** - * Describes a network interface attribute. You can specify only one attribute at a time. - */ - describeNetworkInterfaceAttribute(params: EC2.Types.DescribeNetworkInterfaceAttributeRequest, callback?: (err: AWSError, data: EC2.Types.DescribeNetworkInterfaceAttributeResult) => void): Request; - /** - * Describes a network interface attribute. You can specify only one attribute at a time. - */ - describeNetworkInterfaceAttribute(callback?: (err: AWSError, data: EC2.Types.DescribeNetworkInterfaceAttributeResult) => void): Request; - /** - * Describes one or more of your network interfaces. - */ - describeNetworkInterfaces(params: EC2.Types.DescribeNetworkInterfacesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeNetworkInterfacesResult) => void): Request; - /** - * Describes one or more of your network interfaces. - */ - describeNetworkInterfaces(callback?: (err: AWSError, data: EC2.Types.DescribeNetworkInterfacesResult) => void): Request; - /** - * Describes one or more of your placement groups. For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide. - */ - describePlacementGroups(params: EC2.Types.DescribePlacementGroupsRequest, callback?: (err: AWSError, data: EC2.Types.DescribePlacementGroupsResult) => void): Request; - /** - * Describes one or more of your placement groups. For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide. - */ - describePlacementGroups(callback?: (err: AWSError, data: EC2.Types.DescribePlacementGroupsResult) => void): Request; - /** - * Describes available AWS services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service. A prefix list ID is required for creating an outbound security group rule that allows traffic from a VPC to access an AWS service through a VPC endpoint. - */ - describePrefixLists(params: EC2.Types.DescribePrefixListsRequest, callback?: (err: AWSError, data: EC2.Types.DescribePrefixListsResult) => void): Request; - /** - * Describes available AWS services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service. A prefix list ID is required for creating an outbound security group rule that allows traffic from a VPC to access an AWS service through a VPC endpoint. - */ - describePrefixLists(callback?: (err: AWSError, data: EC2.Types.DescribePrefixListsResult) => void): Request; - /** - * Describes one or more regions that are currently available to you. For a list of the regions supported by Amazon EC2, see Regions and Endpoints. - */ - describeRegions(params: EC2.Types.DescribeRegionsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeRegionsResult) => void): Request; - /** - * Describes one or more regions that are currently available to you. For a list of the regions supported by Amazon EC2, see Regions and Endpoints. - */ - describeRegions(callback?: (err: AWSError, data: EC2.Types.DescribeRegionsResult) => void): Request; - /** - * Describes one or more of the Reserved Instances that you purchased. For more information about Reserved Instances, see Reserved Instances in the Amazon Elastic Compute Cloud User Guide. - */ - describeReservedInstances(params: EC2.Types.DescribeReservedInstancesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeReservedInstancesResult) => void): Request; - /** - * Describes one or more of the Reserved Instances that you purchased. For more information about Reserved Instances, see Reserved Instances in the Amazon Elastic Compute Cloud User Guide. - */ - describeReservedInstances(callback?: (err: AWSError, data: EC2.Types.DescribeReservedInstancesResult) => void): Request; - /** - * Describes your account's Reserved Instance listings in the Reserved Instance Marketplace. The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances. As a seller, you choose to list some or all of your Reserved Instances, and you specify the upfront price to receive for them. Your Reserved Instances are then listed in the Reserved Instance Marketplace and are available for purchase. As a buyer, you specify the configuration of the Reserved Instance to purchase, and the Marketplace matches what you're searching for with what's available. The Marketplace first sells the lowest priced Reserved Instances to you, and continues to sell available Reserved Instance listings to you until your demand is met. You are charged based on the total price of all of the listings that you purchase. For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide. - */ - describeReservedInstancesListings(params: EC2.Types.DescribeReservedInstancesListingsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeReservedInstancesListingsResult) => void): Request; - /** - * Describes your account's Reserved Instance listings in the Reserved Instance Marketplace. The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances. As a seller, you choose to list some or all of your Reserved Instances, and you specify the upfront price to receive for them. Your Reserved Instances are then listed in the Reserved Instance Marketplace and are available for purchase. As a buyer, you specify the configuration of the Reserved Instance to purchase, and the Marketplace matches what you're searching for with what's available. The Marketplace first sells the lowest priced Reserved Instances to you, and continues to sell available Reserved Instance listings to you until your demand is met. You are charged based on the total price of all of the listings that you purchase. For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide. - */ - describeReservedInstancesListings(callback?: (err: AWSError, data: EC2.Types.DescribeReservedInstancesListingsResult) => void): Request; - /** - * Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned. For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide. - */ - describeReservedInstancesModifications(params: EC2.Types.DescribeReservedInstancesModificationsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeReservedInstancesModificationsResult) => void): Request; - /** - * Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned. For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide. - */ - describeReservedInstancesModifications(callback?: (err: AWSError, data: EC2.Types.DescribeReservedInstancesModificationsResult) => void): Request; - /** - * Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used. If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, they will be excluded from these results. This is to ensure that you do not purchase your own Reserved Instances. For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide. - */ - describeReservedInstancesOfferings(params: EC2.Types.DescribeReservedInstancesOfferingsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeReservedInstancesOfferingsResult) => void): Request; - /** - * Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used. If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, they will be excluded from these results. This is to ensure that you do not purchase your own Reserved Instances. For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide. - */ - describeReservedInstancesOfferings(callback?: (err: AWSError, data: EC2.Types.DescribeReservedInstancesOfferingsResult) => void): Request; - /** - * Describes one or more of your route tables. Each subnet in your VPC must be associated with a route table. If a subnet is not explicitly associated with any route table, it is implicitly associated with the main route table. This command does not return the subnet ID for implicit associations. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - describeRouteTables(params: EC2.Types.DescribeRouteTablesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeRouteTablesResult) => void): Request; - /** - * Describes one or more of your route tables. Each subnet in your VPC must be associated with a route table. If a subnet is not explicitly associated with any route table, it is implicitly associated with the main route table. This command does not return the subnet ID for implicit associations. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - describeRouteTables(callback?: (err: AWSError, data: EC2.Types.DescribeRouteTablesResult) => void): Request; - /** - * Finds available schedules that meet the specified criteria. You can search for an available schedule no more than 3 months in advance. You must meet the minimum required duration of 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours. After you find a schedule that meets your needs, call PurchaseScheduledInstances to purchase Scheduled Instances with that schedule. - */ - describeScheduledInstanceAvailability(params: EC2.Types.DescribeScheduledInstanceAvailabilityRequest, callback?: (err: AWSError, data: EC2.Types.DescribeScheduledInstanceAvailabilityResult) => void): Request; - /** - * Finds available schedules that meet the specified criteria. You can search for an available schedule no more than 3 months in advance. You must meet the minimum required duration of 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours. After you find a schedule that meets your needs, call PurchaseScheduledInstances to purchase Scheduled Instances with that schedule. - */ - describeScheduledInstanceAvailability(callback?: (err: AWSError, data: EC2.Types.DescribeScheduledInstanceAvailabilityResult) => void): Request; - /** - * Describes one or more of your Scheduled Instances. - */ - describeScheduledInstances(params: EC2.Types.DescribeScheduledInstancesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeScheduledInstancesResult) => void): Request; - /** - * Describes one or more of your Scheduled Instances. - */ - describeScheduledInstances(callback?: (err: AWSError, data: EC2.Types.DescribeScheduledInstancesResult) => void): Request; - /** - * [EC2-VPC only] Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request. - */ - describeSecurityGroupReferences(params: EC2.Types.DescribeSecurityGroupReferencesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSecurityGroupReferencesResult) => void): Request; - /** - * [EC2-VPC only] Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request. - */ - describeSecurityGroupReferences(callback?: (err: AWSError, data: EC2.Types.DescribeSecurityGroupReferencesResult) => void): Request; - /** - * Describes one or more of your security groups. A security group is for use with instances either in the EC2-Classic platform or in a specific VPC. For more information, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide and Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - describeSecurityGroups(params: EC2.Types.DescribeSecurityGroupsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSecurityGroupsResult) => void): Request; - /** - * Describes one or more of your security groups. A security group is for use with instances either in the EC2-Classic platform or in a specific VPC. For more information, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide and Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - describeSecurityGroups(callback?: (err: AWSError, data: EC2.Types.DescribeSecurityGroupsResult) => void): Request; - /** - * Describes the specified attribute of the specified snapshot. You can specify only one attribute at a time. For more information about EBS snapshots, see Amazon EBS Snapshots in the Amazon Elastic Compute Cloud User Guide. - */ - describeSnapshotAttribute(params: EC2.Types.DescribeSnapshotAttributeRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSnapshotAttributeResult) => void): Request; - /** - * Describes the specified attribute of the specified snapshot. You can specify only one attribute at a time. For more information about EBS snapshots, see Amazon EBS Snapshots in the Amazon Elastic Compute Cloud User Guide. - */ - describeSnapshotAttribute(callback?: (err: AWSError, data: EC2.Types.DescribeSnapshotAttributeResult) => void): Request; - /** - * Describes one or more of the EBS snapshots available to you. Available snapshots include public snapshots available for any AWS account to launch, private snapshots that you own, and private snapshots owned by another AWS account but for which you've been given explicit create volume permissions. The create volume permissions fall into the following categories: public: The owner of the snapshot granted create volume permissions for the snapshot to the all group. All AWS accounts have create volume permissions for these snapshots. explicit: The owner of the snapshot granted create volume permissions to a specific AWS account. implicit: An AWS account has implicit create volume permissions for all snapshots it owns. The list of snapshots returned can be modified by specifying snapshot IDs, snapshot owners, or AWS accounts with create volume permissions. If no options are specified, Amazon EC2 returns all snapshots for which you have create volume permissions. If you specify one or more snapshot IDs, only snapshots that have the specified IDs are returned. If you specify an invalid snapshot ID, an error is returned. If you specify a snapshot ID for which you do not have access, it is not included in the returned results. If you specify one or more snapshot owners using the OwnerIds option, only snapshots from the specified owners and for which you have access are returned. The results can include the AWS account IDs of the specified owners, amazon for snapshots owned by Amazon, or self for snapshots that you own. If you specify a list of restorable users, only snapshots with create snapshot permissions for those users are returned. You can specify AWS account IDs (if you own the snapshots), self for snapshots for which you own or have explicit permissions, or all for public snapshots. If you are describing a long list of snapshots, you can paginate the output to make the list more manageable. The MaxResults parameter sets the maximum number of results returned in a single page. If the list of results exceeds your MaxResults value, then that number of results is returned along with a NextToken value that can be passed to a subsequent DescribeSnapshots request to retrieve the remaining results. For more information about EBS snapshots, see Amazon EBS Snapshots in the Amazon Elastic Compute Cloud User Guide. - */ - describeSnapshots(params: EC2.Types.DescribeSnapshotsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSnapshotsResult) => void): Request; - /** - * Describes one or more of the EBS snapshots available to you. Available snapshots include public snapshots available for any AWS account to launch, private snapshots that you own, and private snapshots owned by another AWS account but for which you've been given explicit create volume permissions. The create volume permissions fall into the following categories: public: The owner of the snapshot granted create volume permissions for the snapshot to the all group. All AWS accounts have create volume permissions for these snapshots. explicit: The owner of the snapshot granted create volume permissions to a specific AWS account. implicit: An AWS account has implicit create volume permissions for all snapshots it owns. The list of snapshots returned can be modified by specifying snapshot IDs, snapshot owners, or AWS accounts with create volume permissions. If no options are specified, Amazon EC2 returns all snapshots for which you have create volume permissions. If you specify one or more snapshot IDs, only snapshots that have the specified IDs are returned. If you specify an invalid snapshot ID, an error is returned. If you specify a snapshot ID for which you do not have access, it is not included in the returned results. If you specify one or more snapshot owners using the OwnerIds option, only snapshots from the specified owners and for which you have access are returned. The results can include the AWS account IDs of the specified owners, amazon for snapshots owned by Amazon, or self for snapshots that you own. If you specify a list of restorable users, only snapshots with create snapshot permissions for those users are returned. You can specify AWS account IDs (if you own the snapshots), self for snapshots for which you own or have explicit permissions, or all for public snapshots. If you are describing a long list of snapshots, you can paginate the output to make the list more manageable. The MaxResults parameter sets the maximum number of results returned in a single page. If the list of results exceeds your MaxResults value, then that number of results is returned along with a NextToken value that can be passed to a subsequent DescribeSnapshots request to retrieve the remaining results. For more information about EBS snapshots, see Amazon EBS Snapshots in the Amazon Elastic Compute Cloud User Guide. - */ - describeSnapshots(callback?: (err: AWSError, data: EC2.Types.DescribeSnapshotsResult) => void): Request; - /** - * Describes the data feed for Spot instances. For more information, see Spot Instance Data Feed in the Amazon Elastic Compute Cloud User Guide. - */ - describeSpotDatafeedSubscription(params: EC2.Types.DescribeSpotDatafeedSubscriptionRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSpotDatafeedSubscriptionResult) => void): Request; - /** - * Describes the data feed for Spot instances. For more information, see Spot Instance Data Feed in the Amazon Elastic Compute Cloud User Guide. - */ - describeSpotDatafeedSubscription(callback?: (err: AWSError, data: EC2.Types.DescribeSpotDatafeedSubscriptionResult) => void): Request; - /** - * Describes the running instances for the specified Spot fleet. - */ - describeSpotFleetInstances(params: EC2.Types.DescribeSpotFleetInstancesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSpotFleetInstancesResponse) => void): Request; - /** - * Describes the running instances for the specified Spot fleet. - */ - describeSpotFleetInstances(callback?: (err: AWSError, data: EC2.Types.DescribeSpotFleetInstancesResponse) => void): Request; - /** - * Describes the events for the specified Spot fleet request during the specified time. Spot fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event. - */ - describeSpotFleetRequestHistory(params: EC2.Types.DescribeSpotFleetRequestHistoryRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSpotFleetRequestHistoryResponse) => void): Request; - /** - * Describes the events for the specified Spot fleet request during the specified time. Spot fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event. - */ - describeSpotFleetRequestHistory(callback?: (err: AWSError, data: EC2.Types.DescribeSpotFleetRequestHistoryResponse) => void): Request; - /** - * Describes your Spot fleet requests. Spot fleet requests are deleted 48 hours after they are canceled and their instances are terminated. - */ - describeSpotFleetRequests(params: EC2.Types.DescribeSpotFleetRequestsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSpotFleetRequestsResponse) => void): Request; - /** - * Describes your Spot fleet requests. Spot fleet requests are deleted 48 hours after they are canceled and their instances are terminated. - */ - describeSpotFleetRequests(callback?: (err: AWSError, data: EC2.Types.DescribeSpotFleetRequestsResponse) => void): Request; - /** - * Describes the Spot instance requests that belong to your account. Spot instances are instances that Amazon EC2 launches when the bid price that you specify exceeds the current Spot price. Amazon EC2 periodically sets the Spot price based on available Spot instance capacity and current Spot instance requests. For more information, see Spot Instance Requests in the Amazon Elastic Compute Cloud User Guide. You can use DescribeSpotInstanceRequests to find a running Spot instance by examining the response. If the status of the Spot instance is fulfilled, the instance ID appears in the response and contains the identifier of the instance. Alternatively, you can use DescribeInstances with a filter to look for instances where the instance lifecycle is spot. Spot instance requests are deleted 4 hours after they are canceled and their instances are terminated. - */ - describeSpotInstanceRequests(params: EC2.Types.DescribeSpotInstanceRequestsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSpotInstanceRequestsResult) => void): Request; - /** - * Describes the Spot instance requests that belong to your account. Spot instances are instances that Amazon EC2 launches when the bid price that you specify exceeds the current Spot price. Amazon EC2 periodically sets the Spot price based on available Spot instance capacity and current Spot instance requests. For more information, see Spot Instance Requests in the Amazon Elastic Compute Cloud User Guide. You can use DescribeSpotInstanceRequests to find a running Spot instance by examining the response. If the status of the Spot instance is fulfilled, the instance ID appears in the response and contains the identifier of the instance. Alternatively, you can use DescribeInstances with a filter to look for instances where the instance lifecycle is spot. Spot instance requests are deleted 4 hours after they are canceled and their instances are terminated. - */ - describeSpotInstanceRequests(callback?: (err: AWSError, data: EC2.Types.DescribeSpotInstanceRequestsResult) => void): Request; - /** - * Describes the Spot price history. For more information, see Spot Instance Pricing History in the Amazon Elastic Compute Cloud User Guide. When you specify a start and end time, this operation returns the prices of the instance types within the time range that you specified and the time when the price changed. The price is valid within the time period that you specified; the response merely indicates the last time that the price changed. - */ - describeSpotPriceHistory(params: EC2.Types.DescribeSpotPriceHistoryRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSpotPriceHistoryResult) => void): Request; - /** - * Describes the Spot price history. For more information, see Spot Instance Pricing History in the Amazon Elastic Compute Cloud User Guide. When you specify a start and end time, this operation returns the prices of the instance types within the time range that you specified and the time when the price changed. The price is valid within the time period that you specified; the response merely indicates the last time that the price changed. - */ - describeSpotPriceHistory(callback?: (err: AWSError, data: EC2.Types.DescribeSpotPriceHistoryResult) => void): Request; - /** - * [EC2-VPC only] Describes the stale security group rules for security groups in a specified VPC. Rules are stale when they reference a deleted security group in a peer VPC, or a security group in a peer VPC for which the VPC peering connection has been deleted. - */ - describeStaleSecurityGroups(params: EC2.Types.DescribeStaleSecurityGroupsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeStaleSecurityGroupsResult) => void): Request; - /** - * [EC2-VPC only] Describes the stale security group rules for security groups in a specified VPC. Rules are stale when they reference a deleted security group in a peer VPC, or a security group in a peer VPC for which the VPC peering connection has been deleted. - */ - describeStaleSecurityGroups(callback?: (err: AWSError, data: EC2.Types.DescribeStaleSecurityGroupsResult) => void): Request; - /** - * Describes one or more of your subnets. For more information about subnets, see Your VPC and Subnets in the Amazon Virtual Private Cloud User Guide. - */ - describeSubnets(params: EC2.Types.DescribeSubnetsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSubnetsResult) => void): Request; - /** - * Describes one or more of your subnets. For more information about subnets, see Your VPC and Subnets in the Amazon Virtual Private Cloud User Guide. - */ - describeSubnets(callback?: (err: AWSError, data: EC2.Types.DescribeSubnetsResult) => void): Request; - /** - * Describes one or more of the tags for your EC2 resources. For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide. - */ - describeTags(params: EC2.Types.DescribeTagsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeTagsResult) => void): Request; - /** - * Describes one or more of the tags for your EC2 resources. For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide. - */ - describeTags(callback?: (err: AWSError, data: EC2.Types.DescribeTagsResult) => void): Request; - /** - * Describes the specified attribute of the specified volume. You can specify only one attribute at a time. For more information about EBS volumes, see Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide. - */ - describeVolumeAttribute(params: EC2.Types.DescribeVolumeAttributeRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVolumeAttributeResult) => void): Request; - /** - * Describes the specified attribute of the specified volume. You can specify only one attribute at a time. For more information about EBS volumes, see Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide. - */ - describeVolumeAttribute(callback?: (err: AWSError, data: EC2.Types.DescribeVolumeAttributeResult) => void): Request; - /** - * Describes the status of the specified volumes. Volume status provides the result of the checks performed on your volumes to determine events that can impair the performance of your volumes. The performance of a volume can be affected if an issue occurs on the volume's underlying host. If the volume's underlying host experiences a power outage or system issue, after the system is restored, there could be data inconsistencies on the volume. Volume events notify you if this occurs. Volume actions notify you if any action needs to be taken in response to the event. The DescribeVolumeStatus operation provides the following information about the specified volumes: Status: Reflects the current status of the volume. The possible values are ok, impaired , warning, or insufficient-data. If all checks pass, the overall status of the volume is ok. If the check fails, the overall status is impaired. If the status is insufficient-data, then the checks may still be taking place on your volume at the time. We recommend that you retry the request. For more information on volume status, see Monitoring the Status of Your Volumes. Events: Reflect the cause of a volume status and may require you to take action. For example, if your volume returns an impaired status, then the volume event might be potential-data-inconsistency. This means that your volume has been affected by an issue with the underlying host, has all I/O operations disabled, and may have inconsistent data. Actions: Reflect the actions you may have to take in response to an event. For example, if the status of the volume is impaired and the volume event shows potential-data-inconsistency, then the action shows enable-volume-io. This means that you may want to enable the I/O operations for the volume by calling the EnableVolumeIO action and then check the volume for data consistency. Volume status is based on the volume status checks, and does not reflect the volume state. Therefore, volume status does not indicate volumes in the error state (for example, when a volume is incapable of accepting I/O.) - */ - describeVolumeStatus(params: EC2.Types.DescribeVolumeStatusRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVolumeStatusResult) => void): Request; - /** - * Describes the status of the specified volumes. Volume status provides the result of the checks performed on your volumes to determine events that can impair the performance of your volumes. The performance of a volume can be affected if an issue occurs on the volume's underlying host. If the volume's underlying host experiences a power outage or system issue, after the system is restored, there could be data inconsistencies on the volume. Volume events notify you if this occurs. Volume actions notify you if any action needs to be taken in response to the event. The DescribeVolumeStatus operation provides the following information about the specified volumes: Status: Reflects the current status of the volume. The possible values are ok, impaired , warning, or insufficient-data. If all checks pass, the overall status of the volume is ok. If the check fails, the overall status is impaired. If the status is insufficient-data, then the checks may still be taking place on your volume at the time. We recommend that you retry the request. For more information on volume status, see Monitoring the Status of Your Volumes. Events: Reflect the cause of a volume status and may require you to take action. For example, if your volume returns an impaired status, then the volume event might be potential-data-inconsistency. This means that your volume has been affected by an issue with the underlying host, has all I/O operations disabled, and may have inconsistent data. Actions: Reflect the actions you may have to take in response to an event. For example, if the status of the volume is impaired and the volume event shows potential-data-inconsistency, then the action shows enable-volume-io. This means that you may want to enable the I/O operations for the volume by calling the EnableVolumeIO action and then check the volume for data consistency. Volume status is based on the volume status checks, and does not reflect the volume state. Therefore, volume status does not indicate volumes in the error state (for example, when a volume is incapable of accepting I/O.) - */ - describeVolumeStatus(callback?: (err: AWSError, data: EC2.Types.DescribeVolumeStatusResult) => void): Request; - /** - * Describes the specified EBS volumes. If you are describing a long list of volumes, you can paginate the output to make the list more manageable. The MaxResults parameter sets the maximum number of results returned in a single page. If the list of results exceeds your MaxResults value, then that number of results is returned along with a NextToken value that can be passed to a subsequent DescribeVolumes request to retrieve the remaining results. For more information about EBS volumes, see Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide. - */ - describeVolumes(params: EC2.Types.DescribeVolumesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVolumesResult) => void): Request; - /** - * Describes the specified EBS volumes. If you are describing a long list of volumes, you can paginate the output to make the list more manageable. The MaxResults parameter sets the maximum number of results returned in a single page. If the list of results exceeds your MaxResults value, then that number of results is returned along with a NextToken value that can be passed to a subsequent DescribeVolumes request to retrieve the remaining results. For more information about EBS volumes, see Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide. - */ - describeVolumes(callback?: (err: AWSError, data: EC2.Types.DescribeVolumesResult) => void): Request; - /** - * Reports the current modification status of EBS volumes. Current-generation EBS volumes support modification of attributes including type, size, and (for io1 volumes) IOPS provisioning while either attached to or detached from an instance. Following an action from the API or the console to modify a volume, the status of the modification may be modifying, optimizing, completed, or failed. If a volume has never been modified, then certain elements of the returned VolumeModification objects are null. You can also use CloudWatch Events to check the status of a modification to an EBS volume. For information about CloudWatch Events, see the Amazon CloudWatch Events User Guide. For more information, see Monitoring Volume Modifications". - */ - describeVolumesModifications(params: EC2.Types.DescribeVolumesModificationsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVolumesModificationsResult) => void): Request; - /** - * Reports the current modification status of EBS volumes. Current-generation EBS volumes support modification of attributes including type, size, and (for io1 volumes) IOPS provisioning while either attached to or detached from an instance. Following an action from the API or the console to modify a volume, the status of the modification may be modifying, optimizing, completed, or failed. If a volume has never been modified, then certain elements of the returned VolumeModification objects are null. You can also use CloudWatch Events to check the status of a modification to an EBS volume. For information about CloudWatch Events, see the Amazon CloudWatch Events User Guide. For more information, see Monitoring Volume Modifications". - */ - describeVolumesModifications(callback?: (err: AWSError, data: EC2.Types.DescribeVolumesModificationsResult) => void): Request; - /** - * Describes the specified attribute of the specified VPC. You can specify only one attribute at a time. - */ - describeVpcAttribute(params: EC2.Types.DescribeVpcAttributeRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcAttributeResult) => void): Request; - /** - * Describes the specified attribute of the specified VPC. You can specify only one attribute at a time. - */ - describeVpcAttribute(callback?: (err: AWSError, data: EC2.Types.DescribeVpcAttributeResult) => void): Request; - /** - * Describes the ClassicLink status of one or more VPCs. - */ - describeVpcClassicLink(params: EC2.Types.DescribeVpcClassicLinkRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcClassicLinkResult) => void): Request; - /** - * Describes the ClassicLink status of one or more VPCs. - */ - describeVpcClassicLink(callback?: (err: AWSError, data: EC2.Types.DescribeVpcClassicLinkResult) => void): Request; - /** - * Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - describeVpcClassicLinkDnsSupport(params: EC2.Types.DescribeVpcClassicLinkDnsSupportRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcClassicLinkDnsSupportResult) => void): Request; - /** - * Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - describeVpcClassicLinkDnsSupport(callback?: (err: AWSError, data: EC2.Types.DescribeVpcClassicLinkDnsSupportResult) => void): Request; - /** - * Describes all supported AWS services that can be specified when creating a VPC endpoint. - */ - describeVpcEndpointServices(params: EC2.Types.DescribeVpcEndpointServicesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcEndpointServicesResult) => void): Request; - /** - * Describes all supported AWS services that can be specified when creating a VPC endpoint. - */ - describeVpcEndpointServices(callback?: (err: AWSError, data: EC2.Types.DescribeVpcEndpointServicesResult) => void): Request; - /** - * Describes one or more of your VPC endpoints. - */ - describeVpcEndpoints(params: EC2.Types.DescribeVpcEndpointsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcEndpointsResult) => void): Request; - /** - * Describes one or more of your VPC endpoints. - */ - describeVpcEndpoints(callback?: (err: AWSError, data: EC2.Types.DescribeVpcEndpointsResult) => void): Request; - /** - * Describes one or more of your VPC peering connections. - */ - describeVpcPeeringConnections(params: EC2.Types.DescribeVpcPeeringConnectionsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcPeeringConnectionsResult) => void): Request; - /** - * Describes one or more of your VPC peering connections. - */ - describeVpcPeeringConnections(callback?: (err: AWSError, data: EC2.Types.DescribeVpcPeeringConnectionsResult) => void): Request; - /** - * Describes one or more of your VPCs. - */ - describeVpcs(params: EC2.Types.DescribeVpcsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcsResult) => void): Request; - /** - * Describes one or more of your VPCs. - */ - describeVpcs(callback?: (err: AWSError, data: EC2.Types.DescribeVpcsResult) => void): Request; - /** - * Describes one or more of your VPN connections. For more information about VPN connections, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - describeVpnConnections(params: EC2.Types.DescribeVpnConnectionsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpnConnectionsResult) => void): Request; - /** - * Describes one or more of your VPN connections. For more information about VPN connections, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - describeVpnConnections(callback?: (err: AWSError, data: EC2.Types.DescribeVpnConnectionsResult) => void): Request; - /** - * Describes one or more of your virtual private gateways. For more information about virtual private gateways, see Adding an IPsec Hardware VPN to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - describeVpnGateways(params: EC2.Types.DescribeVpnGatewaysRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpnGatewaysResult) => void): Request; - /** - * Describes one or more of your virtual private gateways. For more information about virtual private gateways, see Adding an IPsec Hardware VPN to Your VPC in the Amazon Virtual Private Cloud User Guide. - */ - describeVpnGateways(callback?: (err: AWSError, data: EC2.Types.DescribeVpnGatewaysResult) => void): Request; - /** - * Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked, the VPC security groups are no longer associated with it. An instance is automatically unlinked from a VPC when it's stopped. - */ - detachClassicLinkVpc(params: EC2.Types.DetachClassicLinkVpcRequest, callback?: (err: AWSError, data: EC2.Types.DetachClassicLinkVpcResult) => void): Request; - /** - * Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked, the VPC security groups are no longer associated with it. An instance is automatically unlinked from a VPC when it's stopped. - */ - detachClassicLinkVpc(callback?: (err: AWSError, data: EC2.Types.DetachClassicLinkVpcResult) => void): Request; - /** - * Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with Elastic IP addresses or public IPv4 addresses. - */ - detachInternetGateway(params: EC2.Types.DetachInternetGatewayRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with Elastic IP addresses or public IPv4 addresses. - */ - detachInternetGateway(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Detaches a network interface from an instance. - */ - detachNetworkInterface(params: EC2.Types.DetachNetworkInterfaceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Detaches a network interface from an instance. - */ - detachNetworkInterface(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first. When a volume with an AWS Marketplace product code is detached from an instance, the product code is no longer associated with the instance. For more information, see Detaching an Amazon EBS Volume in the Amazon Elastic Compute Cloud User Guide. - */ - detachVolume(params: EC2.Types.DetachVolumeRequest, callback?: (err: AWSError, data: EC2.Types.VolumeAttachment) => void): Request; - /** - * Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first. When a volume with an AWS Marketplace product code is detached from an instance, the product code is no longer associated with the instance. For more information, see Detaching an Amazon EBS Volume in the Amazon Elastic Compute Cloud User Guide. - */ - detachVolume(callback?: (err: AWSError, data: EC2.Types.VolumeAttachment) => void): Request; - /** - * Detaches a virtual private gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a virtual private gateway has been completely detached from a VPC by describing the virtual private gateway (any attachments to the virtual private gateway are also described). You must wait for the attachment's state to switch to detached before you can delete the VPC or attach a different VPC to the virtual private gateway. - */ - detachVpnGateway(params: EC2.Types.DetachVpnGatewayRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Detaches a virtual private gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a virtual private gateway has been completely detached from a VPC by describing the virtual private gateway (any attachments to the virtual private gateway are also described). You must wait for the attachment's state to switch to detached before you can delete the VPC or attach a different VPC to the virtual private gateway. - */ - detachVpnGateway(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC. - */ - disableVgwRoutePropagation(params: EC2.Types.DisableVgwRoutePropagationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC. - */ - disableVgwRoutePropagation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it. - */ - disableVpcClassicLink(params: EC2.Types.DisableVpcClassicLinkRequest, callback?: (err: AWSError, data: EC2.Types.DisableVpcClassicLinkResult) => void): Request; - /** - * Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it. - */ - disableVpcClassicLink(callback?: (err: AWSError, data: EC2.Types.DisableVpcClassicLinkResult) => void): Request; - /** - * Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it's linked. For more information about ClassicLink, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - disableVpcClassicLinkDnsSupport(params: EC2.Types.DisableVpcClassicLinkDnsSupportRequest, callback?: (err: AWSError, data: EC2.Types.DisableVpcClassicLinkDnsSupportResult) => void): Request; - /** - * Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it's linked. For more information about ClassicLink, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - disableVpcClassicLinkDnsSupport(callback?: (err: AWSError, data: EC2.Types.DisableVpcClassicLinkDnsSupportResult) => void): Request; - /** - * Disassociates an Elastic IP address from the instance or network interface it's associated with. An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error. - */ - disassociateAddress(params: EC2.Types.DisassociateAddressRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disassociates an Elastic IP address from the instance or network interface it's associated with. An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error. - */ - disassociateAddress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disassociates an IAM instance profile from a running or stopped instance. Use DescribeIamInstanceProfileAssociations to get the association ID. - */ - disassociateIamInstanceProfile(params: EC2.Types.DisassociateIamInstanceProfileRequest, callback?: (err: AWSError, data: EC2.Types.DisassociateIamInstanceProfileResult) => void): Request; - /** - * Disassociates an IAM instance profile from a running or stopped instance. Use DescribeIamInstanceProfileAssociations to get the association ID. - */ - disassociateIamInstanceProfile(callback?: (err: AWSError, data: EC2.Types.DisassociateIamInstanceProfileResult) => void): Request; - /** - * Disassociates a subnet from a route table. After you perform this action, the subnet no longer uses the routes in the route table. Instead, it uses the routes in the VPC's main route table. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - disassociateRouteTable(params: EC2.Types.DisassociateRouteTableRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disassociates a subnet from a route table. After you perform this action, the subnet no longer uses the routes in the route table. Instead, it uses the routes in the VPC's main route table. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - disassociateRouteTable(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disassociates a CIDR block from a subnet. Currently, you can disassociate an IPv6 CIDR block only. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it. - */ - disassociateSubnetCidrBlock(params: EC2.Types.DisassociateSubnetCidrBlockRequest, callback?: (err: AWSError, data: EC2.Types.DisassociateSubnetCidrBlockResult) => void): Request; - /** - * Disassociates a CIDR block from a subnet. Currently, you can disassociate an IPv6 CIDR block only. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it. - */ - disassociateSubnetCidrBlock(callback?: (err: AWSError, data: EC2.Types.DisassociateSubnetCidrBlockResult) => void): Request; - /** - * Disassociates a CIDR block from a VPC. Currently, you can disassociate an IPv6 CIDR block only. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it. - */ - disassociateVpcCidrBlock(params: EC2.Types.DisassociateVpcCidrBlockRequest, callback?: (err: AWSError, data: EC2.Types.DisassociateVpcCidrBlockResult) => void): Request; - /** - * Disassociates a CIDR block from a VPC. Currently, you can disassociate an IPv6 CIDR block only. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it. - */ - disassociateVpcCidrBlock(callback?: (err: AWSError, data: EC2.Types.DisassociateVpcCidrBlockResult) => void): Request; - /** - * Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC. - */ - enableVgwRoutePropagation(params: EC2.Types.EnableVgwRoutePropagationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC. - */ - enableVgwRoutePropagation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent. - */ - enableVolumeIO(params: EC2.Types.EnableVolumeIORequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent. - */ - enableVolumeIO(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot enable your VPC for ClassicLink if any of your VPC's route tables have existing routes for address ranges within the 10.0.0.0/8 IP address range, excluding local routes for VPCs in the 10.0.0.0/16 and 10.1.0.0/16 IP address ranges. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - enableVpcClassicLink(params: EC2.Types.EnableVpcClassicLinkRequest, callback?: (err: AWSError, data: EC2.Types.EnableVpcClassicLinkResult) => void): Request; - /** - * Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot enable your VPC for ClassicLink if any of your VPC's route tables have existing routes for address ranges within the 10.0.0.0/8 IP address range, excluding local routes for VPCs in the 10.0.0.0/16 and 10.1.0.0/16 IP address ranges. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - enableVpcClassicLink(callback?: (err: AWSError, data: EC2.Types.EnableVpcClassicLinkResult) => void): Request; - /** - * Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information about ClassicLink, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - enableVpcClassicLinkDnsSupport(params: EC2.Types.EnableVpcClassicLinkDnsSupportRequest, callback?: (err: AWSError, data: EC2.Types.EnableVpcClassicLinkDnsSupportResult) => void): Request; - /** - * Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information about ClassicLink, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. - */ - enableVpcClassicLinkDnsSupport(callback?: (err: AWSError, data: EC2.Types.EnableVpcClassicLinkDnsSupportResult) => void): Request; - /** - * Gets the console output for the specified instance. Instances do not have a physical monitor through which you can view their console output. They also lack physical controls that allow you to power up, reboot, or shut them down. To allow these actions, we provide them through the Amazon EC2 API and command line interface. Instance console output is buffered and posted shortly after instance boot, reboot, and termination. Amazon EC2 preserves the most recent 64 KB output which is available for at least one hour after the most recent post. For Linux instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a computer. This output is buffered because the instance produces it and then posts it to a store where the instance's owner can retrieve it. For Windows instances, the instance console output includes output from the EC2Config service. - */ - getConsoleOutput(params: EC2.Types.GetConsoleOutputRequest, callback?: (err: AWSError, data: EC2.Types.GetConsoleOutputResult) => void): Request; - /** - * Gets the console output for the specified instance. Instances do not have a physical monitor through which you can view their console output. They also lack physical controls that allow you to power up, reboot, or shut them down. To allow these actions, we provide them through the Amazon EC2 API and command line interface. Instance console output is buffered and posted shortly after instance boot, reboot, and termination. Amazon EC2 preserves the most recent 64 KB output which is available for at least one hour after the most recent post. For Linux instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a computer. This output is buffered because the instance produces it and then posts it to a store where the instance's owner can retrieve it. For Windows instances, the instance console output includes output from the EC2Config service. - */ - getConsoleOutput(callback?: (err: AWSError, data: EC2.Types.GetConsoleOutputResult) => void): Request; - /** - * Retrieve a JPG-format screenshot of a running instance to help with troubleshooting. The returned content is Base64-encoded. - */ - getConsoleScreenshot(params: EC2.Types.GetConsoleScreenshotRequest, callback?: (err: AWSError, data: EC2.Types.GetConsoleScreenshotResult) => void): Request; - /** - * Retrieve a JPG-format screenshot of a running instance to help with troubleshooting. The returned content is Base64-encoded. - */ - getConsoleScreenshot(callback?: (err: AWSError, data: EC2.Types.GetConsoleScreenshotResult) => void): Request; - /** - * Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This is a preview of the PurchaseHostReservation action and does not result in the offering being purchased. - */ - getHostReservationPurchasePreview(params: EC2.Types.GetHostReservationPurchasePreviewRequest, callback?: (err: AWSError, data: EC2.Types.GetHostReservationPurchasePreviewResult) => void): Request; - /** - * Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This is a preview of the PurchaseHostReservation action and does not result in the offering being purchased. - */ - getHostReservationPurchasePreview(callback?: (err: AWSError, data: EC2.Types.GetHostReservationPurchasePreviewResult) => void): Request; - /** - * Retrieves the encrypted administrator password for an instance running Windows. The Windows password is generated at boot if the EC2Config service plugin, Ec2SetPassword, is enabled. This usually only happens the first time an AMI is launched, and then Ec2SetPassword is automatically disabled. The password is not generated for rebundled AMIs unless Ec2SetPassword is enabled before bundling. The password is encrypted using the key pair that you specified when you launched the instance. You must provide the corresponding key pair file. Password generation and encryption takes a few moments. We recommend that you wait up to 15 minutes after launching an instance before trying to retrieve the generated password. - */ - getPasswordData(params: EC2.Types.GetPasswordDataRequest, callback?: (err: AWSError, data: EC2.Types.GetPasswordDataResult) => void): Request; - /** - * Retrieves the encrypted administrator password for an instance running Windows. The Windows password is generated at boot if the EC2Config service plugin, Ec2SetPassword, is enabled. This usually only happens the first time an AMI is launched, and then Ec2SetPassword is automatically disabled. The password is not generated for rebundled AMIs unless Ec2SetPassword is enabled before bundling. The password is encrypted using the key pair that you specified when you launched the instance. You must provide the corresponding key pair file. Password generation and encryption takes a few moments. We recommend that you wait up to 15 minutes after launching an instance before trying to retrieve the generated password. - */ - getPasswordData(callback?: (err: AWSError, data: EC2.Types.GetPasswordDataResult) => void): Request; - /** - * Returns details about the values and term of your specified Convertible Reserved Instances. When a target configuration is specified, it returns information about whether the exchange is valid and can be performed. - */ - getReservedInstancesExchangeQuote(params: EC2.Types.GetReservedInstancesExchangeQuoteRequest, callback?: (err: AWSError, data: EC2.Types.GetReservedInstancesExchangeQuoteResult) => void): Request; - /** - * Returns details about the values and term of your specified Convertible Reserved Instances. When a target configuration is specified, it returns information about whether the exchange is valid and can be performed. - */ - getReservedInstancesExchangeQuote(callback?: (err: AWSError, data: EC2.Types.GetReservedInstancesExchangeQuoteResult) => void): Request; - /** - * Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI). For more information, see Importing a VM as an Image Using VM Import/Export in the VM Import/Export User Guide. - */ - importImage(params: EC2.Types.ImportImageRequest, callback?: (err: AWSError, data: EC2.Types.ImportImageResult) => void): Request; - /** - * Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI). For more information, see Importing a VM as an Image Using VM Import/Export in the VM Import/Export User Guide. - */ - importImage(callback?: (err: AWSError, data: EC2.Types.ImportImageResult) => void): Request; - /** - * Creates an import instance task using metadata from the specified disk image. ImportInstance only supports single-volume VMs. To import multi-volume VMs, use ImportImage. For more information, see Importing a Virtual Machine Using the Amazon EC2 CLI. For information about the import manifest referenced by this API action, see VM Import Manifest. - */ - importInstance(params: EC2.Types.ImportInstanceRequest, callback?: (err: AWSError, data: EC2.Types.ImportInstanceResult) => void): Request; - /** - * Creates an import instance task using metadata from the specified disk image. ImportInstance only supports single-volume VMs. To import multi-volume VMs, use ImportImage. For more information, see Importing a Virtual Machine Using the Amazon EC2 CLI. For information about the import manifest referenced by this API action, see VM Import Manifest. - */ - importInstance(callback?: (err: AWSError, data: EC2.Types.ImportInstanceResult) => void): Request; - /** - * Imports the public key from an RSA key pair that you created with a third-party tool. Compare this with CreateKeyPair, in which AWS creates the key pair and gives the keys to you (AWS keeps a copy of the public key). With ImportKeyPair, you create the key pair and give AWS just the public key. The private key is never transferred between you and AWS. For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide. - */ - importKeyPair(params: EC2.Types.ImportKeyPairRequest, callback?: (err: AWSError, data: EC2.Types.ImportKeyPairResult) => void): Request; - /** - * Imports the public key from an RSA key pair that you created with a third-party tool. Compare this with CreateKeyPair, in which AWS creates the key pair and gives the keys to you (AWS keeps a copy of the public key). With ImportKeyPair, you create the key pair and give AWS just the public key. The private key is never transferred between you and AWS. For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide. - */ - importKeyPair(callback?: (err: AWSError, data: EC2.Types.ImportKeyPairResult) => void): Request; - /** - * Imports a disk into an EBS snapshot. - */ - importSnapshot(params: EC2.Types.ImportSnapshotRequest, callback?: (err: AWSError, data: EC2.Types.ImportSnapshotResult) => void): Request; - /** - * Imports a disk into an EBS snapshot. - */ - importSnapshot(callback?: (err: AWSError, data: EC2.Types.ImportSnapshotResult) => void): Request; - /** - * Creates an import volume task using metadata from the specified disk image.For more information, see Importing Disks to Amazon EBS. For information about the import manifest referenced by this API action, see VM Import Manifest. - */ - importVolume(params: EC2.Types.ImportVolumeRequest, callback?: (err: AWSError, data: EC2.Types.ImportVolumeResult) => void): Request; - /** - * Creates an import volume task using metadata from the specified disk image.For more information, see Importing Disks to Amazon EBS. For information about the import manifest referenced by this API action, see VM Import Manifest. - */ - importVolume(callback?: (err: AWSError, data: EC2.Types.ImportVolumeResult) => void): Request; - /** - * Modify the auto-placement setting of a Dedicated Host. When auto-placement is enabled, AWS will place instances that you launch with a tenancy of host, but without targeting a specific host ID, onto any available Dedicated Host in your account which has auto-placement enabled. When auto-placement is disabled, you need to provide a host ID if you want the instance to launch onto a specific host. If no host ID is provided, the instance will be launched onto a suitable host which has auto-placement enabled. - */ - modifyHosts(params: EC2.Types.ModifyHostsRequest, callback?: (err: AWSError, data: EC2.Types.ModifyHostsResult) => void): Request; - /** - * Modify the auto-placement setting of a Dedicated Host. When auto-placement is enabled, AWS will place instances that you launch with a tenancy of host, but without targeting a specific host ID, onto any available Dedicated Host in your account which has auto-placement enabled. When auto-placement is disabled, you need to provide a host ID if you want the instance to launch onto a specific host. If no host ID is provided, the instance will be launched onto a suitable host which has auto-placement enabled. - */ - modifyHosts(callback?: (err: AWSError, data: EC2.Types.ModifyHostsResult) => void): Request; - /** - * Modifies the ID format for the specified resource on a per-region basis. You can specify that resources should receive longer IDs (17-character IDs) when they are created. The following resource types support longer IDs: instance | reservation | snapshot | volume. This setting applies to the IAM user who makes the request; it does not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user. If you're using this action as the root user, then these settings apply to the entire account, unless an IAM user explicitly overrides these settings for themselves. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide. Resources created with longer IDs are visible to all IAM roles and users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type. - */ - modifyIdFormat(params: EC2.Types.ModifyIdFormatRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the ID format for the specified resource on a per-region basis. You can specify that resources should receive longer IDs (17-character IDs) when they are created. The following resource types support longer IDs: instance | reservation | snapshot | volume. This setting applies to the IAM user who makes the request; it does not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user. If you're using this action as the root user, then these settings apply to the entire account, unless an IAM user explicitly overrides these settings for themselves. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide. Resources created with longer IDs are visible to all IAM roles and users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type. - */ - modifyIdFormat(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the ID format of a resource for a specified IAM user, IAM role, or the root user for an account; or all IAM users, IAM roles, and the root user for an account. You can specify that resources should receive longer IDs (17-character IDs) when they are created. The following resource types support longer IDs: instance | reservation | snapshot | volume. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide. This setting applies to the principal specified in the request; it does not apply to the principal that makes the request. Resources created with longer IDs are visible to all IAM roles and users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type. - */ - modifyIdentityIdFormat(params: EC2.Types.ModifyIdentityIdFormatRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the ID format of a resource for a specified IAM user, IAM role, or the root user for an account; or all IAM users, IAM roles, and the root user for an account. You can specify that resources should receive longer IDs (17-character IDs) when they are created. The following resource types support longer IDs: instance | reservation | snapshot | volume. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide. This setting applies to the principal specified in the request; it does not apply to the principal that makes the request. Resources created with longer IDs are visible to all IAM roles and users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type. - */ - modifyIdentityIdFormat(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time. AWS Marketplace product codes cannot be modified. Images with an AWS Marketplace product code cannot be made public. The SriovNetSupport enhanced networking attribute cannot be changed using this command. Instead, enable SriovNetSupport on an instance and create an AMI from the instance. This will result in an image with SriovNetSupport enabled. - */ - modifyImageAttribute(params: EC2.Types.ModifyImageAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time. AWS Marketplace product codes cannot be modified. Images with an AWS Marketplace product code cannot be made public. The SriovNetSupport enhanced networking attribute cannot be changed using this command. Instead, enable SriovNetSupport on an instance and create an AMI from the instance. This will result in an image with SriovNetSupport enabled. - */ - modifyImageAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the specified attribute of the specified instance. You can specify only one attribute at a time. To modify some attributes, the instance must be stopped. For more information, see Modifying Attributes of a Stopped Instance in the Amazon Elastic Compute Cloud User Guide. - */ - modifyInstanceAttribute(params: EC2.Types.ModifyInstanceAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the specified attribute of the specified instance. You can specify only one attribute at a time. To modify some attributes, the instance must be stopped. For more information, see Modifying Attributes of a Stopped Instance in the Amazon Elastic Compute Cloud User Guide. - */ - modifyInstanceAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Set the instance affinity value for a specific stopped instance and modify the instance tenancy setting. Instance affinity is disabled by default. When instance affinity is host and it is not associated with a specific Dedicated Host, the next time it is launched it will automatically be associated with the host it lands on. This relationship will persist if the instance is stopped/started, or rebooted. You can modify the host ID associated with a stopped instance. If a stopped instance has a new host ID association, the instance will target that host when restarted. You can modify the tenancy of a stopped instance with a tenancy of host or dedicated. Affinity, hostID, and tenancy are not required parameters, but at least one of them must be specified in the request. Affinity and tenancy can be modified in the same request, but tenancy can only be modified on instances that are stopped. - */ - modifyInstancePlacement(params: EC2.Types.ModifyInstancePlacementRequest, callback?: (err: AWSError, data: EC2.Types.ModifyInstancePlacementResult) => void): Request; - /** - * Set the instance affinity value for a specific stopped instance and modify the instance tenancy setting. Instance affinity is disabled by default. When instance affinity is host and it is not associated with a specific Dedicated Host, the next time it is launched it will automatically be associated with the host it lands on. This relationship will persist if the instance is stopped/started, or rebooted. You can modify the host ID associated with a stopped instance. If a stopped instance has a new host ID association, the instance will target that host when restarted. You can modify the tenancy of a stopped instance with a tenancy of host or dedicated. Affinity, hostID, and tenancy are not required parameters, but at least one of them must be specified in the request. Affinity and tenancy can be modified in the same request, but tenancy can only be modified on instances that are stopped. - */ - modifyInstancePlacement(callback?: (err: AWSError, data: EC2.Types.ModifyInstancePlacementResult) => void): Request; - /** - * Modifies the specified network interface attribute. You can specify only one attribute at a time. - */ - modifyNetworkInterfaceAttribute(params: EC2.Types.ModifyNetworkInterfaceAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the specified network interface attribute. You can specify only one attribute at a time. - */ - modifyNetworkInterfaceAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Standard Reserved Instances. The Reserved Instances to be modified must be identical, except for Availability Zone, network platform, and instance type. For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide. - */ - modifyReservedInstances(params: EC2.Types.ModifyReservedInstancesRequest, callback?: (err: AWSError, data: EC2.Types.ModifyReservedInstancesResult) => void): Request; - /** - * Modifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Standard Reserved Instances. The Reserved Instances to be modified must be identical, except for Availability Zone, network platform, and instance type. For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide. - */ - modifyReservedInstances(callback?: (err: AWSError, data: EC2.Types.ModifyReservedInstancesResult) => void): Request; - /** - * Adds or removes permission settings for the specified snapshot. You may add or remove specified AWS account IDs from a snapshot's list of create volume permissions, but you cannot do both in a single API call. If you need to both add and remove account IDs for a snapshot, you must use multiple API calls. Encrypted snapshots and snapshots with AWS Marketplace product codes cannot be made public. Snapshots encrypted with your default CMK cannot be shared with other accounts. For more information on modifying snapshot permissions, see Sharing Snapshots in the Amazon Elastic Compute Cloud User Guide. - */ - modifySnapshotAttribute(params: EC2.Types.ModifySnapshotAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or removes permission settings for the specified snapshot. You may add or remove specified AWS account IDs from a snapshot's list of create volume permissions, but you cannot do both in a single API call. If you need to both add and remove account IDs for a snapshot, you must use multiple API calls. Encrypted snapshots and snapshots with AWS Marketplace product codes cannot be made public. Snapshots encrypted with your default CMK cannot be shared with other accounts. For more information on modifying snapshot permissions, see Sharing Snapshots in the Amazon Elastic Compute Cloud User Guide. - */ - modifySnapshotAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the specified Spot fleet request. While the Spot fleet request is being modified, it is in the modifying state. To scale up your Spot fleet, increase its target capacity. The Spot fleet launches the additional Spot instances according to the allocation strategy for the Spot fleet request. If the allocation strategy is lowestPrice, the Spot fleet launches instances using the Spot pool with the lowest price. If the allocation strategy is diversified, the Spot fleet distributes the instances across the Spot pools. To scale down your Spot fleet, decrease its target capacity. First, the Spot fleet cancels any open bids that exceed the new target capacity. You can request that the Spot fleet terminate Spot instances until the size of the fleet no longer exceeds the new target capacity. If the allocation strategy is lowestPrice, the Spot fleet terminates the instances with the highest price per unit. If the allocation strategy is diversified, the Spot fleet terminates instances across the Spot pools. Alternatively, you can request that the Spot fleet keep the fleet at its current size, but not replace any Spot instances that are interrupted or that you terminate manually. - */ - modifySpotFleetRequest(params: EC2.Types.ModifySpotFleetRequestRequest, callback?: (err: AWSError, data: EC2.Types.ModifySpotFleetRequestResponse) => void): Request; - /** - * Modifies the specified Spot fleet request. While the Spot fleet request is being modified, it is in the modifying state. To scale up your Spot fleet, increase its target capacity. The Spot fleet launches the additional Spot instances according to the allocation strategy for the Spot fleet request. If the allocation strategy is lowestPrice, the Spot fleet launches instances using the Spot pool with the lowest price. If the allocation strategy is diversified, the Spot fleet distributes the instances across the Spot pools. To scale down your Spot fleet, decrease its target capacity. First, the Spot fleet cancels any open bids that exceed the new target capacity. You can request that the Spot fleet terminate Spot instances until the size of the fleet no longer exceeds the new target capacity. If the allocation strategy is lowestPrice, the Spot fleet terminates the instances with the highest price per unit. If the allocation strategy is diversified, the Spot fleet terminates instances across the Spot pools. Alternatively, you can request that the Spot fleet keep the fleet at its current size, but not replace any Spot instances that are interrupted or that you terminate manually. - */ - modifySpotFleetRequest(callback?: (err: AWSError, data: EC2.Types.ModifySpotFleetRequestResponse) => void): Request; - /** - * Modifies a subnet attribute. You can only modify one attribute at a time. - */ - modifySubnetAttribute(params: EC2.Types.ModifySubnetAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies a subnet attribute. You can only modify one attribute at a time. - */ - modifySubnetAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * You can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity. If your EBS volume is attached to a current-generation EC2 instance type, you may be able to apply these changes without stopping the instance or detaching the volume from it. For more information about modifying an EBS volume running Linux, see Modifying the Size, IOPS, or Type of an EBS Volume on Linux. For more information about modifying an EBS volume running Windows, see Modifying the Size, IOPS, or Type of an EBS Volume on Windows. When you complete a resize operation on your volume, you need to extend the volume's file-system size to take advantage of the new storage capacity. For information about extending a Linux file system, see Extending a Linux File System. For information about extending a Windows file system, see Extending a Windows File System. You can use CloudWatch Events to check the status of a modification to an EBS volume. For information about CloudWatch Events, see the Amazon CloudWatch Events User Guide. You can also track the status of a modification using the DescribeVolumesModifications API. For information about tracking status changes using either method, see Monitoring Volume Modifications. With previous-generation instance types, resizing an EBS volume may require detaching and reattaching the volume or stopping and restarting the instance. For more information about modifying an EBS volume running Linux, see Modifying the Size, IOPS, or Type of an EBS Volume on Linux. For more information about modifying an EBS volume running Windows, see Modifying the Size, IOPS, or Type of an EBS Volume on Windows. If you reach the maximum volume modification rate per volume limit, you will need to wait at least six hours before applying further modifications to the affected EBS volume. - */ - modifyVolume(params: EC2.Types.ModifyVolumeRequest, callback?: (err: AWSError, data: EC2.Types.ModifyVolumeResult) => void): Request; - /** - * You can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity. If your EBS volume is attached to a current-generation EC2 instance type, you may be able to apply these changes without stopping the instance or detaching the volume from it. For more information about modifying an EBS volume running Linux, see Modifying the Size, IOPS, or Type of an EBS Volume on Linux. For more information about modifying an EBS volume running Windows, see Modifying the Size, IOPS, or Type of an EBS Volume on Windows. When you complete a resize operation on your volume, you need to extend the volume's file-system size to take advantage of the new storage capacity. For information about extending a Linux file system, see Extending a Linux File System. For information about extending a Windows file system, see Extending a Windows File System. You can use CloudWatch Events to check the status of a modification to an EBS volume. For information about CloudWatch Events, see the Amazon CloudWatch Events User Guide. You can also track the status of a modification using the DescribeVolumesModifications API. For information about tracking status changes using either method, see Monitoring Volume Modifications. With previous-generation instance types, resizing an EBS volume may require detaching and reattaching the volume or stopping and restarting the instance. For more information about modifying an EBS volume running Linux, see Modifying the Size, IOPS, or Type of an EBS Volume on Linux. For more information about modifying an EBS volume running Windows, see Modifying the Size, IOPS, or Type of an EBS Volume on Windows. If you reach the maximum volume modification rate per volume limit, you will need to wait at least six hours before applying further modifications to the affected EBS volume. - */ - modifyVolume(callback?: (err: AWSError, data: EC2.Types.ModifyVolumeResult) => void): Request; - /** - * Modifies a volume attribute. By default, all I/O operations for the volume are suspended when the data on the volume is determined to be potentially inconsistent, to prevent undetectable, latent data corruption. The I/O access to the volume can be resumed by first enabling I/O access and then checking the data consistency on your volume. You can change the default behavior to resume I/O operations. We recommend that you change this only for boot volumes or for volumes that are stateless or disposable. - */ - modifyVolumeAttribute(params: EC2.Types.ModifyVolumeAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies a volume attribute. By default, all I/O operations for the volume are suspended when the data on the volume is determined to be potentially inconsistent, to prevent undetectable, latent data corruption. The I/O access to the volume can be resumed by first enabling I/O access and then checking the data consistency on your volume. You can change the default behavior to resume I/O operations. We recommend that you change this only for boot volumes or for volumes that are stateless or disposable. - */ - modifyVolumeAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the specified attribute of the specified VPC. - */ - modifyVpcAttribute(params: EC2.Types.ModifyVpcAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the specified attribute of the specified VPC. - */ - modifyVpcAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies attributes of a specified VPC endpoint. You can modify the policy associated with the endpoint, and you can add and remove route tables associated with the endpoint. - */ - modifyVpcEndpoint(params: EC2.Types.ModifyVpcEndpointRequest, callback?: (err: AWSError, data: EC2.Types.ModifyVpcEndpointResult) => void): Request; - /** - * Modifies attributes of a specified VPC endpoint. You can modify the policy associated with the endpoint, and you can add and remove route tables associated with the endpoint. - */ - modifyVpcEndpoint(callback?: (err: AWSError, data: EC2.Types.ModifyVpcEndpointResult) => void): Request; - /** - * Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following: Enable/disable communication over the peering connection between an EC2-Classic instance that's linked to your VPC (using ClassicLink) and instances in the peer VPC. Enable/disable communication over the peering connection between instances in your VPC and an EC2-Classic instance that's linked to the peer VPC. Enable/disable a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. If the peered VPCs are in different accounts, each owner must initiate a separate request to modify the peering connection options, depending on whether their VPC was the requester or accepter for the VPC peering connection. If the peered VPCs are in the same account, you can modify the requester and accepter options in the same request. To confirm which VPC is the accepter and requester for a VPC peering connection, use the DescribeVpcPeeringConnections command. - */ - modifyVpcPeeringConnectionOptions(params: EC2.Types.ModifyVpcPeeringConnectionOptionsRequest, callback?: (err: AWSError, data: EC2.Types.ModifyVpcPeeringConnectionOptionsResult) => void): Request; - /** - * Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following: Enable/disable communication over the peering connection between an EC2-Classic instance that's linked to your VPC (using ClassicLink) and instances in the peer VPC. Enable/disable communication over the peering connection between instances in your VPC and an EC2-Classic instance that's linked to the peer VPC. Enable/disable a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. If the peered VPCs are in different accounts, each owner must initiate a separate request to modify the peering connection options, depending on whether their VPC was the requester or accepter for the VPC peering connection. If the peered VPCs are in the same account, you can modify the requester and accepter options in the same request. To confirm which VPC is the accepter and requester for a VPC peering connection, use the DescribeVpcPeeringConnections command. - */ - modifyVpcPeeringConnectionOptions(callback?: (err: AWSError, data: EC2.Types.ModifyVpcPeeringConnectionOptionsResult) => void): Request; - /** - * Enables detailed monitoring for a running instance. Otherwise, basic monitoring is enabled. For more information, see Monitoring Your Instances and Volumes in the Amazon Elastic Compute Cloud User Guide. To disable detailed monitoring, see . - */ - monitorInstances(params: EC2.Types.MonitorInstancesRequest, callback?: (err: AWSError, data: EC2.Types.MonitorInstancesResult) => void): Request; - /** - * Enables detailed monitoring for a running instance. Otherwise, basic monitoring is enabled. For more information, see Monitoring Your Instances and Volumes in the Amazon Elastic Compute Cloud User Guide. To disable detailed monitoring, see . - */ - monitorInstances(callback?: (err: AWSError, data: EC2.Types.MonitorInstancesResult) => void): Request; - /** - * Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. The Elastic IP address must be allocated to your account for more than 24 hours, and it must not be associated with an instance. After the Elastic IP address is moved, it is no longer available for use in the EC2-Classic platform, unless you move it back using the RestoreAddressToClassic request. You cannot move an Elastic IP address that was originally allocated for use in the EC2-VPC platform to the EC2-Classic platform. - */ - moveAddressToVpc(params: EC2.Types.MoveAddressToVpcRequest, callback?: (err: AWSError, data: EC2.Types.MoveAddressToVpcResult) => void): Request; - /** - * Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. The Elastic IP address must be allocated to your account for more than 24 hours, and it must not be associated with an instance. After the Elastic IP address is moved, it is no longer available for use in the EC2-Classic platform, unless you move it back using the RestoreAddressToClassic request. You cannot move an Elastic IP address that was originally allocated for use in the EC2-VPC platform to the EC2-Classic platform. - */ - moveAddressToVpc(callback?: (err: AWSError, data: EC2.Types.MoveAddressToVpcResult) => void): Request; - /** - * Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account. - */ - purchaseHostReservation(params: EC2.Types.PurchaseHostReservationRequest, callback?: (err: AWSError, data: EC2.Types.PurchaseHostReservationResult) => void): Request; - /** - * Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account. - */ - purchaseHostReservation(callback?: (err: AWSError, data: EC2.Types.PurchaseHostReservationResult) => void): Request; - /** - * Purchases a Reserved Instance for use with your account. With Reserved Instances, you pay a lower hourly rate compared to On-Demand instance pricing. Use DescribeReservedInstancesOfferings to get a list of Reserved Instance offerings that match your specifications. After you've purchased a Reserved Instance, you can check for your new Reserved Instance with DescribeReservedInstances. For more information, see Reserved Instances and Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide. - */ - purchaseReservedInstancesOffering(params: EC2.Types.PurchaseReservedInstancesOfferingRequest, callback?: (err: AWSError, data: EC2.Types.PurchaseReservedInstancesOfferingResult) => void): Request; - /** - * Purchases a Reserved Instance for use with your account. With Reserved Instances, you pay a lower hourly rate compared to On-Demand instance pricing. Use DescribeReservedInstancesOfferings to get a list of Reserved Instance offerings that match your specifications. After you've purchased a Reserved Instance, you can check for your new Reserved Instance with DescribeReservedInstances. For more information, see Reserved Instances and Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide. - */ - purchaseReservedInstancesOffering(callback?: (err: AWSError, data: EC2.Types.PurchaseReservedInstancesOfferingResult) => void): Request; - /** - * Purchases one or more Scheduled Instances with the specified schedule. Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour for a one-year term. Before you can purchase a Scheduled Instance, you must call DescribeScheduledInstanceAvailability to check for available schedules and obtain a purchase token. After you purchase a Scheduled Instance, you must call RunScheduledInstances during each scheduled time period. After you purchase a Scheduled Instance, you can't cancel, modify, or resell your purchase. - */ - purchaseScheduledInstances(params: EC2.Types.PurchaseScheduledInstancesRequest, callback?: (err: AWSError, data: EC2.Types.PurchaseScheduledInstancesResult) => void): Request; - /** - * Purchases one or more Scheduled Instances with the specified schedule. Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour for a one-year term. Before you can purchase a Scheduled Instance, you must call DescribeScheduledInstanceAvailability to check for available schedules and obtain a purchase token. After you purchase a Scheduled Instance, you must call RunScheduledInstances during each scheduled time period. After you purchase a Scheduled Instance, you can't cancel, modify, or resell your purchase. - */ - purchaseScheduledInstances(callback?: (err: AWSError, data: EC2.Types.PurchaseScheduledInstancesResult) => void): Request; - /** - * Requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds if the instances are valid and belong to you. Requests to reboot terminated instances are ignored. If an instance does not cleanly shut down within four minutes, Amazon EC2 performs a hard reboot. For more information about troubleshooting, see Getting Console Output and Rebooting Instances in the Amazon Elastic Compute Cloud User Guide. - */ - rebootInstances(params: EC2.Types.RebootInstancesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds if the instances are valid and belong to you. Requests to reboot terminated instances are ignored. If an instance does not cleanly shut down within four minutes, Amazon EC2 performs a hard reboot. For more information about troubleshooting, see Getting Console Output and Rebooting Instances in the Amazon Elastic Compute Cloud User Guide. - */ - rebootInstances(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers an AMI. When you're creating an AMI, this is the final step you must complete before you can launch an instance from the AMI. For more information about creating AMIs, see Creating Your Own AMIs in the Amazon Elastic Compute Cloud User Guide. For Amazon EBS-backed instances, CreateImage creates and registers the AMI in a single request, so you don't have to register the AMI yourself. You can also use RegisterImage to create an Amazon EBS-backed Linux AMI from a snapshot of a root device volume. You specify the snapshot using the block device mapping. For more information, see Launching a Linux Instance from a Backup in the Amazon Elastic Compute Cloud User Guide. You can't register an image where a secondary (non-root) snapshot has AWS Marketplace product codes. Some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing product code associated with an AMI to verify the subscription status for package updates. Creating an AMI from an EBS snapshot does not maintain this billing code, and subsequent instances launched from such an AMI will not be able to connect to package update infrastructure. To create an AMI that must retain billing codes, see CreateImage. If needed, you can deregister an AMI at any time. Any modifications you make to an AMI backed by an instance store volume invalidates its registration. If you make changes to an image, deregister the previous image and register the new image. - */ - registerImage(params: EC2.Types.RegisterImageRequest, callback?: (err: AWSError, data: EC2.Types.RegisterImageResult) => void): Request; - /** - * Registers an AMI. When you're creating an AMI, this is the final step you must complete before you can launch an instance from the AMI. For more information about creating AMIs, see Creating Your Own AMIs in the Amazon Elastic Compute Cloud User Guide. For Amazon EBS-backed instances, CreateImage creates and registers the AMI in a single request, so you don't have to register the AMI yourself. You can also use RegisterImage to create an Amazon EBS-backed Linux AMI from a snapshot of a root device volume. You specify the snapshot using the block device mapping. For more information, see Launching a Linux Instance from a Backup in the Amazon Elastic Compute Cloud User Guide. You can't register an image where a secondary (non-root) snapshot has AWS Marketplace product codes. Some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing product code associated with an AMI to verify the subscription status for package updates. Creating an AMI from an EBS snapshot does not maintain this billing code, and subsequent instances launched from such an AMI will not be able to connect to package update infrastructure. To create an AMI that must retain billing codes, see CreateImage. If needed, you can deregister an AMI at any time. Any modifications you make to an AMI backed by an instance store volume invalidates its registration. If you make changes to an image, deregister the previous image and register the new image. - */ - registerImage(callback?: (err: AWSError, data: EC2.Types.RegisterImageResult) => void): Request; - /** - * Rejects a VPC peering connection request. The VPC peering connection must be in the pending-acceptance state. Use the DescribeVpcPeeringConnections request to view your outstanding VPC peering connection requests. To delete an active VPC peering connection, or to delete a VPC peering connection request that you initiated, use DeleteVpcPeeringConnection. - */ - rejectVpcPeeringConnection(params: EC2.Types.RejectVpcPeeringConnectionRequest, callback?: (err: AWSError, data: EC2.Types.RejectVpcPeeringConnectionResult) => void): Request; - /** - * Rejects a VPC peering connection request. The VPC peering connection must be in the pending-acceptance state. Use the DescribeVpcPeeringConnections request to view your outstanding VPC peering connection requests. To delete an active VPC peering connection, or to delete a VPC peering connection request that you initiated, use DeleteVpcPeeringConnection. - */ - rejectVpcPeeringConnection(callback?: (err: AWSError, data: EC2.Types.RejectVpcPeeringConnectionResult) => void): Request; - /** - * Releases the specified Elastic IP address. After releasing an Elastic IP address, it is released to the IP address pool and might be unavailable to you. Be sure to update your DNS records and any servers or devices that communicate with the address. If you attempt to release an Elastic IP address that you already released, you'll get an AuthFailure error if the address is already allocated to another AWS account. [EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it from any instance that it's associated with. To disassociate an Elastic IP address without releasing it, use DisassociateAddress. [Nondefault VPC] You must use DisassociateAddress to disassociate the Elastic IP address before you try to release it. Otherwise, Amazon EC2 returns an error (InvalidIPAddress.InUse). - */ - releaseAddress(params: EC2.Types.ReleaseAddressRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Releases the specified Elastic IP address. After releasing an Elastic IP address, it is released to the IP address pool and might be unavailable to you. Be sure to update your DNS records and any servers or devices that communicate with the address. If you attempt to release an Elastic IP address that you already released, you'll get an AuthFailure error if the address is already allocated to another AWS account. [EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it from any instance that it's associated with. To disassociate an Elastic IP address without releasing it, use DisassociateAddress. [Nondefault VPC] You must use DisassociateAddress to disassociate the Elastic IP address before you try to release it. Otherwise, Amazon EC2 returns an error (InvalidIPAddress.InUse). - */ - releaseAddress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * When you no longer want to use an On-Demand Dedicated Host it can be released. On-Demand billing is stopped and the host goes into released state. The host ID of Dedicated Hosts that have been released can no longer be specified in another request, e.g., ModifyHosts. You must stop or terminate all instances on a host before it can be released. When Dedicated Hosts are released, it make take some time for them to stop counting toward your limit and you may receive capacity errors when trying to allocate new Dedicated hosts. Try waiting a few minutes, and then try again. Released hosts will still appear in a DescribeHosts response. - */ - releaseHosts(params: EC2.Types.ReleaseHostsRequest, callback?: (err: AWSError, data: EC2.Types.ReleaseHostsResult) => void): Request; - /** - * When you no longer want to use an On-Demand Dedicated Host it can be released. On-Demand billing is stopped and the host goes into released state. The host ID of Dedicated Hosts that have been released can no longer be specified in another request, e.g., ModifyHosts. You must stop or terminate all instances on a host before it can be released. When Dedicated Hosts are released, it make take some time for them to stop counting toward your limit and you may receive capacity errors when trying to allocate new Dedicated hosts. Try waiting a few minutes, and then try again. Released hosts will still appear in a DescribeHosts response. - */ - releaseHosts(callback?: (err: AWSError, data: EC2.Types.ReleaseHostsResult) => void): Request; - /** - * Replaces an IAM instance profile for the specified running instance. You can use this action to change the IAM instance profile that's associated with an instance without having to disassociate the existing IAM instance profile first. Use DescribeIamInstanceProfileAssociations to get the association ID. - */ - replaceIamInstanceProfileAssociation(params: EC2.Types.ReplaceIamInstanceProfileAssociationRequest, callback?: (err: AWSError, data: EC2.Types.ReplaceIamInstanceProfileAssociationResult) => void): Request; - /** - * Replaces an IAM instance profile for the specified running instance. You can use this action to change the IAM instance profile that's associated with an instance without having to disassociate the existing IAM instance profile first. Use DescribeIamInstanceProfileAssociations to get the association ID. - */ - replaceIamInstanceProfileAssociation(callback?: (err: AWSError, data: EC2.Types.ReplaceIamInstanceProfileAssociationResult) => void): Request; - /** - * Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide. - */ - replaceNetworkAclAssociation(params: EC2.Types.ReplaceNetworkAclAssociationRequest, callback?: (err: AWSError, data: EC2.Types.ReplaceNetworkAclAssociationResult) => void): Request; - /** - * Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide. - */ - replaceNetworkAclAssociation(callback?: (err: AWSError, data: EC2.Types.ReplaceNetworkAclAssociationResult) => void): Request; - /** - * Replaces an entry (rule) in a network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide. - */ - replaceNetworkAclEntry(params: EC2.Types.ReplaceNetworkAclEntryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Replaces an entry (rule) in a network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide. - */ - replaceNetworkAclEntry(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Replaces an existing route within a route table in a VPC. You must provide only one of the following: Internet gateway or virtual private gateway, NAT instance, NAT gateway, VPC peering connection, network interface, or egress-only Internet gateway. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - replaceRoute(params: EC2.Types.ReplaceRouteRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Replaces an existing route within a route table in a VPC. You must provide only one of the following: Internet gateway or virtual private gateway, NAT instance, NAT gateway, VPC peering connection, network interface, or egress-only Internet gateway. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. - */ - replaceRoute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the route table associated with a given subnet in a VPC. After the operation completes, the subnet uses the routes in the new route table it's associated with. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. You can also use ReplaceRouteTableAssociation to change which table is the main route table in the VPC. You just specify the main route table's association ID and the route table to be the new main route table. - */ - replaceRouteTableAssociation(params: EC2.Types.ReplaceRouteTableAssociationRequest, callback?: (err: AWSError, data: EC2.Types.ReplaceRouteTableAssociationResult) => void): Request; - /** - * Changes the route table associated with a given subnet in a VPC. After the operation completes, the subnet uses the routes in the new route table it's associated with. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide. You can also use ReplaceRouteTableAssociation to change which table is the main route table in the VPC. You just specify the main route table's association ID and the route table to be the new main route table. - */ - replaceRouteTableAssociation(callback?: (err: AWSError, data: EC2.Types.ReplaceRouteTableAssociationResult) => void): Request; - /** - * Submits feedback about the status of an instance. The instance must be in the running state. If your experience with the instance differs from the instance status returned by DescribeInstanceStatus, use ReportInstanceStatus to report your experience with the instance. Amazon EC2 collects this information to improve the accuracy of status checks. Use of this action does not change the value returned by DescribeInstanceStatus. - */ - reportInstanceStatus(params: EC2.Types.ReportInstanceStatusRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Submits feedback about the status of an instance. The instance must be in the running state. If your experience with the instance differs from the instance status returned by DescribeInstanceStatus, use ReportInstanceStatus to report your experience with the instance. Amazon EC2 collects this information to improve the accuracy of status checks. Use of this action does not change the value returned by DescribeInstanceStatus. - */ - reportInstanceStatus(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a Spot fleet request. You can submit a single request that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet. By default, the Spot fleet requests Spot instances in the Spot pool where the price per unit is the lowest. Each launch specification can include its own instance weighting that reflects the value of the instance type to your application workload. Alternatively, you can specify that the Spot fleet distribute the target capacity across the Spot pools included in its launch specifications. By ensuring that the Spot instances in your Spot fleet are in different Spot pools, you can improve the availability of your fleet. For more information, see Spot Fleet Requests in the Amazon Elastic Compute Cloud User Guide. - */ - requestSpotFleet(params: EC2.Types.RequestSpotFleetRequest, callback?: (err: AWSError, data: EC2.Types.RequestSpotFleetResponse) => void): Request; - /** - * Creates a Spot fleet request. You can submit a single request that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet. By default, the Spot fleet requests Spot instances in the Spot pool where the price per unit is the lowest. Each launch specification can include its own instance weighting that reflects the value of the instance type to your application workload. Alternatively, you can specify that the Spot fleet distribute the target capacity across the Spot pools included in its launch specifications. By ensuring that the Spot instances in your Spot fleet are in different Spot pools, you can improve the availability of your fleet. For more information, see Spot Fleet Requests in the Amazon Elastic Compute Cloud User Guide. - */ - requestSpotFleet(callback?: (err: AWSError, data: EC2.Types.RequestSpotFleetResponse) => void): Request; - /** - * Creates a Spot instance request. Spot instances are instances that Amazon EC2 launches when the bid price that you specify exceeds the current Spot price. Amazon EC2 periodically sets the Spot price based on available Spot Instance capacity and current Spot instance requests. For more information, see Spot Instance Requests in the Amazon Elastic Compute Cloud User Guide. - */ - requestSpotInstances(params: EC2.Types.RequestSpotInstancesRequest, callback?: (err: AWSError, data: EC2.Types.RequestSpotInstancesResult) => void): Request; - /** - * Creates a Spot instance request. Spot instances are instances that Amazon EC2 launches when the bid price that you specify exceeds the current Spot price. Amazon EC2 periodically sets the Spot price based on available Spot Instance capacity and current Spot instance requests. For more information, see Spot Instance Requests in the Amazon Elastic Compute Cloud User Guide. - */ - requestSpotInstances(callback?: (err: AWSError, data: EC2.Types.RequestSpotInstancesResult) => void): Request; - /** - * Resets an attribute of an AMI to its default value. The productCodes attribute can't be reset. - */ - resetImageAttribute(params: EC2.Types.ResetImageAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resets an attribute of an AMI to its default value. The productCodes attribute can't be reset. - */ - resetImageAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resets an attribute of an instance to its default value. To reset the kernel or ramdisk, the instance must be in a stopped state. To reset the sourceDestCheck, the instance can be either running or stopped. The sourceDestCheck attribute controls whether source/destination checking is enabled. The default value is true, which means checking is enabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide. - */ - resetInstanceAttribute(params: EC2.Types.ResetInstanceAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resets an attribute of an instance to its default value. To reset the kernel or ramdisk, the instance must be in a stopped state. To reset the sourceDestCheck, the instance can be either running or stopped. The sourceDestCheck attribute controls whether source/destination checking is enabled. The default value is true, which means checking is enabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide. - */ - resetInstanceAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resets a network interface attribute. You can specify only one attribute at a time. - */ - resetNetworkInterfaceAttribute(params: EC2.Types.ResetNetworkInterfaceAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resets a network interface attribute. You can specify only one attribute at a time. - */ - resetNetworkInterfaceAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resets permission settings for the specified snapshot. For more information on modifying snapshot permissions, see Sharing Snapshots in the Amazon Elastic Compute Cloud User Guide. - */ - resetSnapshotAttribute(params: EC2.Types.ResetSnapshotAttributeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resets permission settings for the specified snapshot. For more information on modifying snapshot permissions, see Sharing Snapshots in the Amazon Elastic Compute Cloud User Guide. - */ - resetSnapshotAttribute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface. - */ - restoreAddressToClassic(params: EC2.Types.RestoreAddressToClassicRequest, callback?: (err: AWSError, data: EC2.Types.RestoreAddressToClassicResult) => void): Request; - /** - * Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface. - */ - restoreAddressToClassic(callback?: (err: AWSError, data: EC2.Types.RestoreAddressToClassicResult) => void): Request; - /** - * [EC2-VPC only] Removes one or more egress rules from a security group for EC2-VPC. This action doesn't apply to security groups for use in EC2-Classic. The values that you specify in the revoke request (for example, ports) must match the existing rule's values for the rule to be revoked. Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur. - */ - revokeSecurityGroupEgress(params: EC2.Types.RevokeSecurityGroupEgressRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * [EC2-VPC only] Removes one or more egress rules from a security group for EC2-VPC. This action doesn't apply to security groups for use in EC2-Classic. The values that you specify in the revoke request (for example, ports) must match the existing rule's values for the rule to be revoked. Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur. - */ - revokeSecurityGroupEgress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes one or more ingress rules from a security group. The values that you specify in the revoke request (for example, ports) must match the existing rule's values for the rule to be removed. Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur. - */ - revokeSecurityGroupIngress(params: EC2.Types.RevokeSecurityGroupIngressRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes one or more ingress rules from a security group. The values that you specify in the revoke request (for example, ports) must match the existing rule's values for the rule to be removed. Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur. - */ - revokeSecurityGroupIngress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Launches the specified number of instances using an AMI for which you have permissions. You can specify a number of options, or leave the default options. The following rules apply: [EC2-VPC] If you don't specify a subnet ID, we choose a default subnet from your default VPC for you. If you don't have a default VPC, you must specify a subnet ID in the request. [EC2-Classic] If don't specify an Availability Zone, we choose one for you. Some instance types must be launched into a VPC. If you do not have a default VPC, or if you do not specify a subnet ID, the request fails. For more information, see Instance Types Available Only in a VPC. [EC2-VPC] All instances have a network interface with a primary private IPv4 address. If you don't specify this address, we choose one from the IPv4 range of your subnet. Not all instance types support IPv6 addresses. For more information, see Instance Types. If you don't specify a security group ID, we use the default security group. For more information, see Security Groups. If any of the AMIs have a product code attached for which the user has not subscribed, the request fails. To ensure faster instance launches, break up large requests into smaller batches. For example, create 5 separate launch requests for 100 instances each instead of 1 launch request for 500 instances. An instance is ready for you to use when it's in the running state. You can check the state of your instance using DescribeInstances. You can tag instances and EBS volumes during launch, after launch, or both. For more information, see CreateTags and Tagging Your Amazon EC2 Resources. Linux instances have access to the public key of the key pair at boot. You can use this key to provide secure access to the instance. Amazon EC2 public images use this feature to provide secure access without passwords. For more information, see Key Pairs in the Amazon Elastic Compute Cloud User Guide. For troubleshooting, see What To Do If An Instance Immediately Terminates, and Troubleshooting Connecting to Your Instance in the Amazon Elastic Compute Cloud User Guide. - */ - runInstances(params: EC2.Types.RunInstancesRequest, callback?: (err: AWSError, data: EC2.Types.Reservation) => void): Request; - /** - * Launches the specified number of instances using an AMI for which you have permissions. You can specify a number of options, or leave the default options. The following rules apply: [EC2-VPC] If you don't specify a subnet ID, we choose a default subnet from your default VPC for you. If you don't have a default VPC, you must specify a subnet ID in the request. [EC2-Classic] If don't specify an Availability Zone, we choose one for you. Some instance types must be launched into a VPC. If you do not have a default VPC, or if you do not specify a subnet ID, the request fails. For more information, see Instance Types Available Only in a VPC. [EC2-VPC] All instances have a network interface with a primary private IPv4 address. If you don't specify this address, we choose one from the IPv4 range of your subnet. Not all instance types support IPv6 addresses. For more information, see Instance Types. If you don't specify a security group ID, we use the default security group. For more information, see Security Groups. If any of the AMIs have a product code attached for which the user has not subscribed, the request fails. To ensure faster instance launches, break up large requests into smaller batches. For example, create 5 separate launch requests for 100 instances each instead of 1 launch request for 500 instances. An instance is ready for you to use when it's in the running state. You can check the state of your instance using DescribeInstances. You can tag instances and EBS volumes during launch, after launch, or both. For more information, see CreateTags and Tagging Your Amazon EC2 Resources. Linux instances have access to the public key of the key pair at boot. You can use this key to provide secure access to the instance. Amazon EC2 public images use this feature to provide secure access without passwords. For more information, see Key Pairs in the Amazon Elastic Compute Cloud User Guide. For troubleshooting, see What To Do If An Instance Immediately Terminates, and Troubleshooting Connecting to Your Instance in the Amazon Elastic Compute Cloud User Guide. - */ - runInstances(callback?: (err: AWSError, data: EC2.Types.Reservation) => void): Request; - /** - * Launches the specified Scheduled Instances. Before you can launch a Scheduled Instance, you must purchase it and obtain an identifier using PurchaseScheduledInstances. You must launch a Scheduled Instance during its scheduled time period. You can't stop or reboot a Scheduled Instance, but you can terminate it as needed. If you terminate a Scheduled Instance before the current scheduled time period ends, you can launch it again after a few minutes. For more information, see Scheduled Instances in the Amazon Elastic Compute Cloud User Guide. - */ - runScheduledInstances(params: EC2.Types.RunScheduledInstancesRequest, callback?: (err: AWSError, data: EC2.Types.RunScheduledInstancesResult) => void): Request; - /** - * Launches the specified Scheduled Instances. Before you can launch a Scheduled Instance, you must purchase it and obtain an identifier using PurchaseScheduledInstances. You must launch a Scheduled Instance during its scheduled time period. You can't stop or reboot a Scheduled Instance, but you can terminate it as needed. If you terminate a Scheduled Instance before the current scheduled time period ends, you can launch it again after a few minutes. For more information, see Scheduled Instances in the Amazon Elastic Compute Cloud User Guide. - */ - runScheduledInstances(callback?: (err: AWSError, data: EC2.Types.RunScheduledInstancesResult) => void): Request; - /** - * Starts an Amazon EBS-backed AMI that you've previously stopped. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time. Each time you transition an instance from stopped to started, Amazon EC2 charges a full instance hour, even if transitions happen multiple times within a single hour. Before stopping an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM. Performing this operation on an instance that uses an instance store as its root device returns an error. For more information, see Stopping Instances in the Amazon Elastic Compute Cloud User Guide. - */ - startInstances(params: EC2.Types.StartInstancesRequest, callback?: (err: AWSError, data: EC2.Types.StartInstancesResult) => void): Request; - /** - * Starts an Amazon EBS-backed AMI that you've previously stopped. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time. Each time you transition an instance from stopped to started, Amazon EC2 charges a full instance hour, even if transitions happen multiple times within a single hour. Before stopping an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM. Performing this operation on an instance that uses an instance store as its root device returns an error. For more information, see Stopping Instances in the Amazon Elastic Compute Cloud User Guide. - */ - startInstances(callback?: (err: AWSError, data: EC2.Types.StartInstancesResult) => void): Request; - /** - * Stops an Amazon EBS-backed instance. We don't charge hourly usage for a stopped instance, or data transfer fees; however, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. Each time you transition an instance from stopped to started, Amazon EC2 charges a full instance hour, even if transitions happen multiple times within a single hour. You can't start or stop Spot instances, and you can't stop instance store-backed instances. When you stop an instance, we shut it down. You can restart your instance at any time. Before stopping an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM. Stopping an instance is different to rebooting or terminating it. For example, when you stop an instance, the root device and any other devices attached to the instance persist. When you terminate an instance, the root device and any other devices attached during the instance launch are automatically deleted. For more information about the differences between rebooting, stopping, and terminating instances, see Instance Lifecycle in the Amazon Elastic Compute Cloud User Guide. When you stop an instance, we attempt to shut it down forcibly after a short while. If your instance appears stuck in the stopping state after a period of time, there may be an issue with the underlying host computer. For more information, see Troubleshooting Stopping Your Instance in the Amazon Elastic Compute Cloud User Guide. - */ - stopInstances(params: EC2.Types.StopInstancesRequest, callback?: (err: AWSError, data: EC2.Types.StopInstancesResult) => void): Request; - /** - * Stops an Amazon EBS-backed instance. We don't charge hourly usage for a stopped instance, or data transfer fees; however, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. Each time you transition an instance from stopped to started, Amazon EC2 charges a full instance hour, even if transitions happen multiple times within a single hour. You can't start or stop Spot instances, and you can't stop instance store-backed instances. When you stop an instance, we shut it down. You can restart your instance at any time. Before stopping an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM. Stopping an instance is different to rebooting or terminating it. For example, when you stop an instance, the root device and any other devices attached to the instance persist. When you terminate an instance, the root device and any other devices attached during the instance launch are automatically deleted. For more information about the differences between rebooting, stopping, and terminating instances, see Instance Lifecycle in the Amazon Elastic Compute Cloud User Guide. When you stop an instance, we attempt to shut it down forcibly after a short while. If your instance appears stuck in the stopping state after a period of time, there may be an issue with the underlying host computer. For more information, see Troubleshooting Stopping Your Instance in the Amazon Elastic Compute Cloud User Guide. - */ - stopInstances(callback?: (err: AWSError, data: EC2.Types.StopInstancesResult) => void): Request; - /** - * Shuts down one or more instances. This operation is idempotent; if you terminate an instance more than once, each call succeeds. If you specify multiple instances and the request fails (for example, because of a single incorrect instance ID), none of the instances are terminated. Terminated instances remain visible after termination (for approximately one hour). By default, Amazon EC2 deletes all EBS volumes that were attached when the instance launched. Volumes attached after instance launch continue running. You can stop, start, and terminate EBS-backed instances. You can only terminate instance store-backed instances. What happens to an instance differs if you stop it or terminate it. For example, when you stop an instance, the root device and any other devices attached to the instance persist. When you terminate an instance, any attached EBS volumes with the DeleteOnTermination block device mapping parameter set to true are automatically deleted. For more information about the differences between stopping and terminating instances, see Instance Lifecycle in the Amazon Elastic Compute Cloud User Guide. For more information about troubleshooting, see Troubleshooting Terminating Your Instance in the Amazon Elastic Compute Cloud User Guide. - */ - terminateInstances(params: EC2.Types.TerminateInstancesRequest, callback?: (err: AWSError, data: EC2.Types.TerminateInstancesResult) => void): Request; - /** - * Shuts down one or more instances. This operation is idempotent; if you terminate an instance more than once, each call succeeds. If you specify multiple instances and the request fails (for example, because of a single incorrect instance ID), none of the instances are terminated. Terminated instances remain visible after termination (for approximately one hour). By default, Amazon EC2 deletes all EBS volumes that were attached when the instance launched. Volumes attached after instance launch continue running. You can stop, start, and terminate EBS-backed instances. You can only terminate instance store-backed instances. What happens to an instance differs if you stop it or terminate it. For example, when you stop an instance, the root device and any other devices attached to the instance persist. When you terminate an instance, any attached EBS volumes with the DeleteOnTermination block device mapping parameter set to true are automatically deleted. For more information about the differences between stopping and terminating instances, see Instance Lifecycle in the Amazon Elastic Compute Cloud User Guide. For more information about troubleshooting, see Troubleshooting Terminating Your Instance in the Amazon Elastic Compute Cloud User Guide. - */ - terminateInstances(callback?: (err: AWSError, data: EC2.Types.TerminateInstancesResult) => void): Request; - /** - * Unassigns one or more IPv6 addresses from a network interface. - */ - unassignIpv6Addresses(params: EC2.Types.UnassignIpv6AddressesRequest, callback?: (err: AWSError, data: EC2.Types.UnassignIpv6AddressesResult) => void): Request; - /** - * Unassigns one or more IPv6 addresses from a network interface. - */ - unassignIpv6Addresses(callback?: (err: AWSError, data: EC2.Types.UnassignIpv6AddressesResult) => void): Request; - /** - * Unassigns one or more secondary private IP addresses from a network interface. - */ - unassignPrivateIpAddresses(params: EC2.Types.UnassignPrivateIpAddressesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Unassigns one or more secondary private IP addresses from a network interface. - */ - unassignPrivateIpAddresses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables detailed monitoring for a running instance. For more information, see Monitoring Your Instances and Volumes in the Amazon Elastic Compute Cloud User Guide. - */ - unmonitorInstances(params: EC2.Types.UnmonitorInstancesRequest, callback?: (err: AWSError, data: EC2.Types.UnmonitorInstancesResult) => void): Request; - /** - * Disables detailed monitoring for a running instance. For more information, see Monitoring Your Instances and Volumes in the Amazon Elastic Compute Cloud User Guide. - */ - unmonitorInstances(callback?: (err: AWSError, data: EC2.Types.UnmonitorInstancesResult) => void): Request; - /** - * Waits for the instanceExists state by periodically calling the underlying EC2.describeInstancesoperation every 5 seconds (at most 40 times). - */ - waitFor(state: "instanceExists", params: EC2.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceExists state by periodically calling the underlying EC2.describeInstancesoperation every 5 seconds (at most 40 times). - */ - waitFor(state: "instanceExists", callback?: (err: AWSError, data: EC2.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the bundleTaskComplete state by periodically calling the underlying EC2.describeBundleTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "bundleTaskComplete", params: EC2.Types.DescribeBundleTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeBundleTasksResult) => void): Request; - /** - * Waits for the bundleTaskComplete state by periodically calling the underlying EC2.describeBundleTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "bundleTaskComplete", callback?: (err: AWSError, data: EC2.Types.DescribeBundleTasksResult) => void): Request; - /** - * Waits for the conversionTaskCancelled state by periodically calling the underlying EC2.describeConversionTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "conversionTaskCancelled", params: EC2.Types.DescribeConversionTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeConversionTasksResult) => void): Request; - /** - * Waits for the conversionTaskCancelled state by periodically calling the underlying EC2.describeConversionTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "conversionTaskCancelled", callback?: (err: AWSError, data: EC2.Types.DescribeConversionTasksResult) => void): Request; - /** - * Waits for the conversionTaskCompleted state by periodically calling the underlying EC2.describeConversionTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "conversionTaskCompleted", params: EC2.Types.DescribeConversionTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeConversionTasksResult) => void): Request; - /** - * Waits for the conversionTaskCompleted state by periodically calling the underlying EC2.describeConversionTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "conversionTaskCompleted", callback?: (err: AWSError, data: EC2.Types.DescribeConversionTasksResult) => void): Request; - /** - * Waits for the conversionTaskDeleted state by periodically calling the underlying EC2.describeConversionTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "conversionTaskDeleted", params: EC2.Types.DescribeConversionTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeConversionTasksResult) => void): Request; - /** - * Waits for the conversionTaskDeleted state by periodically calling the underlying EC2.describeConversionTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "conversionTaskDeleted", callback?: (err: AWSError, data: EC2.Types.DescribeConversionTasksResult) => void): Request; - /** - * Waits for the customerGatewayAvailable state by periodically calling the underlying EC2.describeCustomerGatewaysoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "customerGatewayAvailable", params: EC2.Types.DescribeCustomerGatewaysRequest, callback?: (err: AWSError, data: EC2.Types.DescribeCustomerGatewaysResult) => void): Request; - /** - * Waits for the customerGatewayAvailable state by periodically calling the underlying EC2.describeCustomerGatewaysoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "customerGatewayAvailable", callback?: (err: AWSError, data: EC2.Types.DescribeCustomerGatewaysResult) => void): Request; - /** - * Waits for the exportTaskCancelled state by periodically calling the underlying EC2.describeExportTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "exportTaskCancelled", params: EC2.Types.DescribeExportTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeExportTasksResult) => void): Request; - /** - * Waits for the exportTaskCancelled state by periodically calling the underlying EC2.describeExportTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "exportTaskCancelled", callback?: (err: AWSError, data: EC2.Types.DescribeExportTasksResult) => void): Request; - /** - * Waits for the exportTaskCompleted state by periodically calling the underlying EC2.describeExportTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "exportTaskCompleted", params: EC2.Types.DescribeExportTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeExportTasksResult) => void): Request; - /** - * Waits for the exportTaskCompleted state by periodically calling the underlying EC2.describeExportTasksoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "exportTaskCompleted", callback?: (err: AWSError, data: EC2.Types.DescribeExportTasksResult) => void): Request; - /** - * Waits for the imageExists state by periodically calling the underlying EC2.describeImagesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "imageExists", params: EC2.Types.DescribeImagesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeImagesResult) => void): Request; - /** - * Waits for the imageExists state by periodically calling the underlying EC2.describeImagesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "imageExists", callback?: (err: AWSError, data: EC2.Types.DescribeImagesResult) => void): Request; - /** - * Waits for the imageAvailable state by periodically calling the underlying EC2.describeImagesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "imageAvailable", params: EC2.Types.DescribeImagesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeImagesResult) => void): Request; - /** - * Waits for the imageAvailable state by periodically calling the underlying EC2.describeImagesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "imageAvailable", callback?: (err: AWSError, data: EC2.Types.DescribeImagesResult) => void): Request; - /** - * Waits for the instanceRunning state by periodically calling the underlying EC2.describeInstancesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceRunning", params: EC2.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceRunning state by periodically calling the underlying EC2.describeInstancesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceRunning", callback?: (err: AWSError, data: EC2.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceStatusOk state by periodically calling the underlying EC2.describeInstanceStatusoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceStatusOk", params: EC2.Types.DescribeInstanceStatusRequest, callback?: (err: AWSError, data: EC2.Types.DescribeInstanceStatusResult) => void): Request; - /** - * Waits for the instanceStatusOk state by periodically calling the underlying EC2.describeInstanceStatusoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceStatusOk", callback?: (err: AWSError, data: EC2.Types.DescribeInstanceStatusResult) => void): Request; - /** - * Waits for the instanceStopped state by periodically calling the underlying EC2.describeInstancesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceStopped", params: EC2.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceStopped state by periodically calling the underlying EC2.describeInstancesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceStopped", callback?: (err: AWSError, data: EC2.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceTerminated state by periodically calling the underlying EC2.describeInstancesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceTerminated", params: EC2.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceTerminated state by periodically calling the underlying EC2.describeInstancesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceTerminated", callback?: (err: AWSError, data: EC2.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the keyPairExists state by periodically calling the underlying EC2.describeKeyPairsoperation every 5 seconds (at most 6 times). - */ - waitFor(state: "keyPairExists", params: EC2.Types.DescribeKeyPairsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeKeyPairsResult) => void): Request; - /** - * Waits for the keyPairExists state by periodically calling the underlying EC2.describeKeyPairsoperation every 5 seconds (at most 6 times). - */ - waitFor(state: "keyPairExists", callback?: (err: AWSError, data: EC2.Types.DescribeKeyPairsResult) => void): Request; - /** - * Waits for the natGatewayAvailable state by periodically calling the underlying EC2.describeNatGatewaysoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "natGatewayAvailable", params: EC2.Types.DescribeNatGatewaysRequest, callback?: (err: AWSError, data: EC2.Types.DescribeNatGatewaysResult) => void): Request; - /** - * Waits for the natGatewayAvailable state by periodically calling the underlying EC2.describeNatGatewaysoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "natGatewayAvailable", callback?: (err: AWSError, data: EC2.Types.DescribeNatGatewaysResult) => void): Request; - /** - * Waits for the networkInterfaceAvailable state by periodically calling the underlying EC2.describeNetworkInterfacesoperation every 20 seconds (at most 10 times). - */ - waitFor(state: "networkInterfaceAvailable", params: EC2.Types.DescribeNetworkInterfacesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeNetworkInterfacesResult) => void): Request; - /** - * Waits for the networkInterfaceAvailable state by periodically calling the underlying EC2.describeNetworkInterfacesoperation every 20 seconds (at most 10 times). - */ - waitFor(state: "networkInterfaceAvailable", callback?: (err: AWSError, data: EC2.Types.DescribeNetworkInterfacesResult) => void): Request; - /** - * Waits for the passwordDataAvailable state by periodically calling the underlying EC2.getPasswordDataoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "passwordDataAvailable", params: EC2.Types.GetPasswordDataRequest, callback?: (err: AWSError, data: EC2.Types.GetPasswordDataResult) => void): Request; - /** - * Waits for the passwordDataAvailable state by periodically calling the underlying EC2.getPasswordDataoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "passwordDataAvailable", callback?: (err: AWSError, data: EC2.Types.GetPasswordDataResult) => void): Request; - /** - * Waits for the snapshotCompleted state by periodically calling the underlying EC2.describeSnapshotsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "snapshotCompleted", params: EC2.Types.DescribeSnapshotsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSnapshotsResult) => void): Request; - /** - * Waits for the snapshotCompleted state by periodically calling the underlying EC2.describeSnapshotsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "snapshotCompleted", callback?: (err: AWSError, data: EC2.Types.DescribeSnapshotsResult) => void): Request; - /** - * Waits for the spotInstanceRequestFulfilled state by periodically calling the underlying EC2.describeSpotInstanceRequestsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "spotInstanceRequestFulfilled", params: EC2.Types.DescribeSpotInstanceRequestsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSpotInstanceRequestsResult) => void): Request; - /** - * Waits for the spotInstanceRequestFulfilled state by periodically calling the underlying EC2.describeSpotInstanceRequestsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "spotInstanceRequestFulfilled", callback?: (err: AWSError, data: EC2.Types.DescribeSpotInstanceRequestsResult) => void): Request; - /** - * Waits for the subnetAvailable state by periodically calling the underlying EC2.describeSubnetsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "subnetAvailable", params: EC2.Types.DescribeSubnetsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeSubnetsResult) => void): Request; - /** - * Waits for the subnetAvailable state by periodically calling the underlying EC2.describeSubnetsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "subnetAvailable", callback?: (err: AWSError, data: EC2.Types.DescribeSubnetsResult) => void): Request; - /** - * Waits for the systemStatusOk state by periodically calling the underlying EC2.describeInstanceStatusoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "systemStatusOk", params: EC2.Types.DescribeInstanceStatusRequest, callback?: (err: AWSError, data: EC2.Types.DescribeInstanceStatusResult) => void): Request; - /** - * Waits for the systemStatusOk state by periodically calling the underlying EC2.describeInstanceStatusoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "systemStatusOk", callback?: (err: AWSError, data: EC2.Types.DescribeInstanceStatusResult) => void): Request; - /** - * Waits for the volumeAvailable state by periodically calling the underlying EC2.describeVolumesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "volumeAvailable", params: EC2.Types.DescribeVolumesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVolumesResult) => void): Request; - /** - * Waits for the volumeAvailable state by periodically calling the underlying EC2.describeVolumesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "volumeAvailable", callback?: (err: AWSError, data: EC2.Types.DescribeVolumesResult) => void): Request; - /** - * Waits for the volumeDeleted state by periodically calling the underlying EC2.describeVolumesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "volumeDeleted", params: EC2.Types.DescribeVolumesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVolumesResult) => void): Request; - /** - * Waits for the volumeDeleted state by periodically calling the underlying EC2.describeVolumesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "volumeDeleted", callback?: (err: AWSError, data: EC2.Types.DescribeVolumesResult) => void): Request; - /** - * Waits for the volumeInUse state by periodically calling the underlying EC2.describeVolumesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "volumeInUse", params: EC2.Types.DescribeVolumesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVolumesResult) => void): Request; - /** - * Waits for the volumeInUse state by periodically calling the underlying EC2.describeVolumesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "volumeInUse", callback?: (err: AWSError, data: EC2.Types.DescribeVolumesResult) => void): Request; - /** - * Waits for the vpcAvailable state by periodically calling the underlying EC2.describeVpcsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "vpcAvailable", params: EC2.Types.DescribeVpcsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcsResult) => void): Request; - /** - * Waits for the vpcAvailable state by periodically calling the underlying EC2.describeVpcsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "vpcAvailable", callback?: (err: AWSError, data: EC2.Types.DescribeVpcsResult) => void): Request; - /** - * Waits for the vpcExists state by periodically calling the underlying EC2.describeVpcsoperation every 1 seconds (at most 5 times). - */ - waitFor(state: "vpcExists", params: EC2.Types.DescribeVpcsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcsResult) => void): Request; - /** - * Waits for the vpcExists state by periodically calling the underlying EC2.describeVpcsoperation every 1 seconds (at most 5 times). - */ - waitFor(state: "vpcExists", callback?: (err: AWSError, data: EC2.Types.DescribeVpcsResult) => void): Request; - /** - * Waits for the vpnConnectionAvailable state by periodically calling the underlying EC2.describeVpnConnectionsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "vpnConnectionAvailable", params: EC2.Types.DescribeVpnConnectionsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpnConnectionsResult) => void): Request; - /** - * Waits for the vpnConnectionAvailable state by periodically calling the underlying EC2.describeVpnConnectionsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "vpnConnectionAvailable", callback?: (err: AWSError, data: EC2.Types.DescribeVpnConnectionsResult) => void): Request; - /** - * Waits for the vpnConnectionDeleted state by periodically calling the underlying EC2.describeVpnConnectionsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "vpnConnectionDeleted", params: EC2.Types.DescribeVpnConnectionsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpnConnectionsResult) => void): Request; - /** - * Waits for the vpnConnectionDeleted state by periodically calling the underlying EC2.describeVpnConnectionsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "vpnConnectionDeleted", callback?: (err: AWSError, data: EC2.Types.DescribeVpnConnectionsResult) => void): Request; - /** - * Waits for the vpcPeeringConnectionExists state by periodically calling the underlying EC2.describeVpcPeeringConnectionsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "vpcPeeringConnectionExists", params: EC2.Types.DescribeVpcPeeringConnectionsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcPeeringConnectionsResult) => void): Request; - /** - * Waits for the vpcPeeringConnectionExists state by periodically calling the underlying EC2.describeVpcPeeringConnectionsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "vpcPeeringConnectionExists", callback?: (err: AWSError, data: EC2.Types.DescribeVpcPeeringConnectionsResult) => void): Request; - /** - * Waits for the vpcPeeringConnectionDeleted state by periodically calling the underlying EC2.describeVpcPeeringConnectionsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "vpcPeeringConnectionDeleted", params: EC2.Types.DescribeVpcPeeringConnectionsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeVpcPeeringConnectionsResult) => void): Request; - /** - * Waits for the vpcPeeringConnectionDeleted state by periodically calling the underlying EC2.describeVpcPeeringConnectionsoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "vpcPeeringConnectionDeleted", callback?: (err: AWSError, data: EC2.Types.DescribeVpcPeeringConnectionsResult) => void): Request; -} -declare namespace EC2 { - export interface AcceptReservedInstancesExchangeQuoteRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or higher value. - */ - ReservedInstanceIds: ReservedInstanceIdSet; - /** - * The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange. - */ - TargetConfigurations?: TargetConfigurationRequestSet; - } - export interface AcceptReservedInstancesExchangeQuoteResult { - /** - * The ID of the successful exchange. - */ - ExchangeId?: String; - } - export interface AcceptVpcPeeringConnectionRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the VPC peering connection. - */ - VpcPeeringConnectionId?: String; - } - export interface AcceptVpcPeeringConnectionResult { - /** - * Information about the VPC peering connection. - */ - VpcPeeringConnection?: VpcPeeringConnection; - } - export interface AccountAttribute { - /** - * The name of the account attribute. - */ - AttributeName?: String; - /** - * One or more values for the account attribute. - */ - AttributeValues?: AccountAttributeValueList; - } - export type AccountAttributeList = AccountAttribute[]; - export type AccountAttributeName = "supported-platforms"|"default-vpc"|string; - export type AccountAttributeNameStringList = AccountAttributeName[]; - export interface AccountAttributeValue { - /** - * The value of the attribute. - */ - AttributeValue?: String; - } - export type AccountAttributeValueList = AccountAttributeValue[]; - export interface ActiveInstance { - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The instance type. - */ - InstanceType?: String; - /** - * The ID of the Spot instance request. - */ - SpotInstanceRequestId?: String; - /** - * The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy. - */ - InstanceHealth?: InstanceHealthStatus; - } - export type ActiveInstanceSet = ActiveInstance[]; - export type ActivityStatus = "error"|"pending_fulfillment"|"pending_termination"|"fulfilled"|string; - export interface Address { - /** - * The ID of the instance that the address is associated with (if any). - */ - InstanceId?: String; - /** - * The Elastic IP address. - */ - PublicIp?: String; - /** - * The ID representing the allocation of the address for use with EC2-VPC. - */ - AllocationId?: String; - /** - * The ID representing the association of the address with an instance in a VPC. - */ - AssociationId?: String; - /** - * Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc). - */ - Domain?: DomainType; - /** - * The ID of the network interface. - */ - NetworkInterfaceId?: String; - /** - * The ID of the AWS account that owns the network interface. - */ - NetworkInterfaceOwnerId?: String; - /** - * The private IP address associated with the Elastic IP address. - */ - PrivateIpAddress?: String; - } - export type AddressList = Address[]; - export type Affinity = "default"|"host"|string; - export interface AllocateAddressRequest { - /** - * Set to vpc to allocate the address for use with instances in a VPC. Default: The address is for use with instances in EC2-Classic. - */ - Domain?: DomainType; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface AllocateAddressResult { - /** - * The Elastic IP address. - */ - PublicIp?: String; - /** - * [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC. - */ - AllocationId?: String; - /** - * Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc). - */ - Domain?: DomainType; - } - export interface AllocateHostsRequest { - /** - * This is enabled by default. This property allows instances to be automatically placed onto available Dedicated Hosts, when you are launching instances without specifying a host ID. Default: Enabled - */ - AutoPlacement?: AutoPlacement; - /** - * The Availability Zone for the Dedicated Hosts. - */ - AvailabilityZone: String; - /** - * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide. - */ - ClientToken?: String; - /** - * Specify the instance type that you want your Dedicated Hosts to be configured for. When you specify the instance type, that is the only instance type that you can launch onto that host. - */ - InstanceType: String; - /** - * The number of Dedicated Hosts you want to allocate to your account with these parameters. - */ - Quantity: Integer; - } - export interface AllocateHostsResult { - /** - * The ID of the allocated Dedicated Host. This is used when you want to launch an instance onto a specific host. - */ - HostIds?: ResponseHostIdList; - } - export type AllocationIdList = String[]; - export type AllocationState = "available"|"under-assessment"|"permanent-failure"|"released"|"released-permanent-failure"|string; - export type AllocationStrategy = "lowestPrice"|"diversified"|string; - export type ArchitectureValues = "i386"|"x86_64"|string; - export interface AssignIpv6AddressesRequest { - /** - * The number of IPv6 addresses to assign to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses. - */ - Ipv6AddressCount?: Integer; - /** - * One or more specific IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses. - */ - Ipv6Addresses?: Ipv6AddressList; - /** - * The ID of the network interface. - */ - NetworkInterfaceId: String; - } - export interface AssignIpv6AddressesResult { - /** - * The IPv6 addresses assigned to the network interface. - */ - AssignedIpv6Addresses?: Ipv6AddressList; - /** - * The ID of the network interface. - */ - NetworkInterfaceId?: String; - } - export interface AssignPrivateIpAddressesRequest { - /** - * Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface. - */ - AllowReassignment?: Boolean; - /** - * The ID of the network interface. - */ - NetworkInterfaceId: String; - /** - * One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses. If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range. - */ - PrivateIpAddresses?: PrivateIpAddressStringList; - /** - * The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses. - */ - SecondaryPrivateIpAddressCount?: Integer; - } - export interface AssociateAddressRequest { - /** - * [EC2-VPC] The allocation ID. This is required for EC2-VPC. - */ - AllocationId?: String; - /** - * The ID of the instance. This is required for EC2-Classic. For EC2-VPC, you can specify either the instance ID or the network interface ID, but not both. The operation fails if you specify an instance ID unless exactly one network interface is attached. - */ - InstanceId?: String; - /** - * The Elastic IP address. This is required for EC2-Classic. - */ - PublicIp?: String; - /** - * [EC2-VPC] For a VPC in an EC2-Classic account, specify true to allow an Elastic IP address that is already associated with an instance or network interface to be reassociated with the specified instance or network interface. Otherwise, the operation fails. In a VPC in an EC2-VPC-only account, reassociation is automatic, therefore you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource. - */ - AllowReassociation?: Boolean; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * [EC2-VPC] The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID. - */ - NetworkInterfaceId?: String; - /** - * [EC2-VPC] The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address. - */ - PrivateIpAddress?: String; - } - export interface AssociateAddressResult { - /** - * [EC2-VPC] The ID that represents the association of the Elastic IP address with an instance. - */ - AssociationId?: String; - } - export interface AssociateDhcpOptionsRequest { - /** - * The ID of the DHCP options set, or default to associate no DHCP options with the VPC. - */ - DhcpOptionsId: String; - /** - * The ID of the VPC. - */ - VpcId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface AssociateIamInstanceProfileRequest { - /** - * The IAM instance profile. - */ - IamInstanceProfile: IamInstanceProfileSpecification; - /** - * The ID of the instance. - */ - InstanceId: String; - } - export interface AssociateIamInstanceProfileResult { - /** - * Information about the IAM instance profile association. - */ - IamInstanceProfileAssociation?: IamInstanceProfileAssociation; - } - export interface AssociateRouteTableRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the route table. - */ - RouteTableId: String; - /** - * The ID of the subnet. - */ - SubnetId: String; - } - export interface AssociateRouteTableResult { - /** - * The route table association ID (needed to disassociate the route table). - */ - AssociationId?: String; - } - export interface AssociateSubnetCidrBlockRequest { - /** - * The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix length. - */ - Ipv6CidrBlock: String; - /** - * The ID of your subnet. - */ - SubnetId: String; - } - export interface AssociateSubnetCidrBlockResult { - /** - * Information about the IPv6 CIDR block association. - */ - Ipv6CidrBlockAssociation?: SubnetIpv6CidrBlockAssociation; - /** - * The ID of the subnet. - */ - SubnetId?: String; - } - export interface AssociateVpcCidrBlockRequest { - /** - * Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block. - */ - AmazonProvidedIpv6CidrBlock?: Boolean; - /** - * The ID of the VPC. - */ - VpcId: String; - } - export interface AssociateVpcCidrBlockResult { - /** - * Information about the IPv6 CIDR block association. - */ - Ipv6CidrBlockAssociation?: VpcIpv6CidrBlockAssociation; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export type AssociationIdList = String[]; - export interface AttachClassicLinkVpcRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of one or more of the VPC's security groups. You cannot specify security groups from a different VPC. - */ - Groups: GroupIdStringList; - /** - * The ID of an EC2-Classic instance to link to the ClassicLink-enabled VPC. - */ - InstanceId: String; - /** - * The ID of a ClassicLink-enabled VPC. - */ - VpcId: String; - } - export interface AttachClassicLinkVpcResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - Return?: Boolean; - } - export interface AttachInternetGatewayRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the Internet gateway. - */ - InternetGatewayId: String; - /** - * The ID of the VPC. - */ - VpcId: String; - } - export interface AttachNetworkInterfaceRequest { - /** - * The index of the device for the network interface attachment. - */ - DeviceIndex: Integer; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the instance. - */ - InstanceId: String; - /** - * The ID of the network interface. - */ - NetworkInterfaceId: String; - } - export interface AttachNetworkInterfaceResult { - /** - * The ID of the network interface attachment. - */ - AttachmentId?: String; - } - export interface AttachVolumeRequest { - /** - * The device name to expose to the instance (for example, /dev/sdh or xvdh). - */ - Device: String; - /** - * The ID of the instance. - */ - InstanceId: String; - /** - * The ID of the EBS volume. The volume and instance must be within the same Availability Zone. - */ - VolumeId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface AttachVpnGatewayRequest { - /** - * The ID of the VPC. - */ - VpcId: String; - /** - * The ID of the virtual private gateway. - */ - VpnGatewayId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface AttachVpnGatewayResult { - /** - * Information about the attachment. - */ - VpcAttachment?: VpcAttachment; - } - export type AttachmentStatus = "attaching"|"attached"|"detaching"|"detached"|string; - export interface AttributeBooleanValue { - /** - * The attribute value. The valid values are true or false. - */ - Value?: Boolean; - } - export interface AttributeValue { - /** - * The attribute value. Note that the value is case-sensitive. - */ - Value?: String; - } - export interface AuthorizeSecurityGroupEgressRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the security group. - */ - GroupId: String; - /** - * A set of IP permissions. You can't specify a destination security group and a CIDR IP address range. - */ - IpPermissions?: IpPermissionList; - /** - * The CIDR IPv4 address range. We recommend that you specify the CIDR range in a set of IP permissions instead. - */ - CidrIp?: String; - /** - * The start of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you specify the port range in a set of IP permissions instead. - */ - FromPort?: Integer; - /** - * The IP protocol name or number. We recommend that you specify the protocol in a set of IP permissions instead. - */ - IpProtocol?: String; - /** - * The end of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you specify the port range in a set of IP permissions instead. - */ - ToPort?: Integer; - /** - * The name of a destination security group. To authorize outbound access to a destination security group, we recommend that you use a set of IP permissions instead. - */ - SourceSecurityGroupName?: String; - /** - * The AWS account number for a destination security group. To authorize outbound access to a destination security group, we recommend that you use a set of IP permissions instead. - */ - SourceSecurityGroupOwnerId?: String; - } - export interface AuthorizeSecurityGroupIngressRequest { - /** - * The CIDR IPv4 address range. You can't specify this parameter when specifying a source security group. - */ - CidrIp?: String; - /** - * The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. For the ICMP/ICMPv6 type number, use -1 to specify all types. - */ - FromPort?: Integer; - /** - * The ID of the security group. Required for a nondefault VPC. - */ - GroupId?: String; - /** - * [EC2-Classic, default VPC] The name of the security group. - */ - GroupName?: String; - /** - * A set of IP permissions. Can be used to specify multiple rules in a single command. - */ - IpPermissions?: IpPermissionList; - /** - * The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). (VPC only) Use -1 to specify all protocols. If you specify -1, or a protocol number other than tcp, udp, icmp, or 58 (ICMPv6), traffic on all ports is allowed, regardless of any ports you specify. For tcp, udp, and icmp, you must specify a port range. For protocol 58 (ICMPv6), you can optionally specify a port range; if you don't, traffic for all types and codes is allowed. - */ - IpProtocol?: String; - /** - * [EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead. For EC2-VPC, the source security group must be in the same VPC. - */ - SourceSecurityGroupName?: String; - /** - * [EC2-Classic] The AWS account number for the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead. - */ - SourceSecurityGroupOwnerId?: String; - /** - * The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code number. For the ICMP/ICMPv6 code number, use -1 to specify all codes. - */ - ToPort?: Integer; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export type AutoPlacement = "on"|"off"|string; - export interface AvailabilityZone { - /** - * The state of the Availability Zone. - */ - State?: AvailabilityZoneState; - /** - * Any messages about the Availability Zone. - */ - Messages?: AvailabilityZoneMessageList; - /** - * The name of the region. - */ - RegionName?: String; - /** - * The name of the Availability Zone. - */ - ZoneName?: String; - } - export type AvailabilityZoneList = AvailabilityZone[]; - export interface AvailabilityZoneMessage { - /** - * The message about the Availability Zone. - */ - Message?: String; - } - export type AvailabilityZoneMessageList = AvailabilityZoneMessage[]; - export type AvailabilityZoneState = "available"|"information"|"impaired"|"unavailable"|string; - export interface AvailableCapacity { - /** - * The total number of instances that the Dedicated Host supports. - */ - AvailableInstanceCapacity?: AvailableInstanceCapacityList; - /** - * The number of vCPUs available on the Dedicated Host. - */ - AvailableVCpus?: Integer; - } - export type AvailableInstanceCapacityList = InstanceCapacity[]; - export type BatchState = "submitted"|"active"|"cancelled"|"failed"|"cancelled_running"|"cancelled_terminating"|"modifying"|string; - export type BillingProductList = String[]; - export type _Blob = Buffer|Uint8Array|Blob|string; - export interface BlobAttributeValue { - Value?: _Blob; - } - export interface BlockDeviceMapping { - /** - * The device name exposed to the instance (for example, /dev/sdh or xvdh). - */ - DeviceName?: String; - /** - * The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1.The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume. Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI. - */ - VirtualName?: String; - /** - * Parameters used to automatically set up EBS volumes when the instance is launched. - */ - Ebs?: EbsBlockDevice; - /** - * Suppresses the specified device included in the block device mapping of the AMI. - */ - NoDevice?: String; - } - export type BlockDeviceMappingList = BlockDeviceMapping[]; - export type BlockDeviceMappingRequestList = BlockDeviceMapping[]; - export type Boolean = boolean; - export type BundleIdStringList = String[]; - export interface BundleInstanceRequest { - /** - * The ID of the instance to bundle. Type: String Default: None Required: Yes - */ - InstanceId: String; - /** - * The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error. - */ - Storage: Storage; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface BundleInstanceResult { - /** - * Information about the bundle task. - */ - BundleTask?: BundleTask; - } - export interface BundleTask { - /** - * The ID of the bundle task. - */ - BundleId?: String; - /** - * If the task fails, a description of the error. - */ - BundleTaskError?: BundleTaskError; - /** - * The ID of the instance associated with this bundle task. - */ - InstanceId?: String; - /** - * The level of task completion, as a percent (for example, 20%). - */ - Progress?: String; - /** - * The time this task started. - */ - StartTime?: DateTime; - /** - * The state of the task. - */ - State?: BundleTaskState; - /** - * The Amazon S3 storage locations. - */ - Storage?: Storage; - /** - * The time of the most recent update for the task. - */ - UpdateTime?: DateTime; - } - export interface BundleTaskError { - /** - * The error code. - */ - Code?: String; - /** - * The error message. - */ - Message?: String; - } - export type BundleTaskList = BundleTask[]; - export type BundleTaskState = "pending"|"waiting-for-shutdown"|"bundling"|"storing"|"cancelling"|"complete"|"failed"|string; - export type CancelBatchErrorCode = "fleetRequestIdDoesNotExist"|"fleetRequestIdMalformed"|"fleetRequestNotInCancellableState"|"unexpectedError"|string; - export interface CancelBundleTaskRequest { - /** - * The ID of the bundle task. - */ - BundleId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CancelBundleTaskResult { - /** - * Information about the bundle task. - */ - BundleTask?: BundleTask; - } - export interface CancelConversionRequest { - /** - * The ID of the conversion task. - */ - ConversionTaskId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The reason for canceling the conversion task. - */ - ReasonMessage?: String; - } - export interface CancelExportTaskRequest { - /** - * The ID of the export task. This is the ID returned by CreateInstanceExportTask. - */ - ExportTaskId: String; - } - export interface CancelImportTaskRequest { - /** - * The reason for canceling the task. - */ - CancelReason?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the import image or import snapshot task to be canceled. - */ - ImportTaskId?: String; - } - export interface CancelImportTaskResult { - /** - * The ID of the task being canceled. - */ - ImportTaskId?: String; - /** - * The current state of the task being canceled. - */ - PreviousState?: String; - /** - * The current state of the task being canceled. - */ - State?: String; - } - export interface CancelReservedInstancesListingRequest { - /** - * The ID of the Reserved Instance listing. - */ - ReservedInstancesListingId: String; - } - export interface CancelReservedInstancesListingResult { - /** - * The Reserved Instance listing. - */ - ReservedInstancesListings?: ReservedInstancesListingList; - } - export interface CancelSpotFleetRequestsError { - /** - * The error code. - */ - Code: CancelBatchErrorCode; - /** - * The description for the error code. - */ - Message: String; - } - export interface CancelSpotFleetRequestsErrorItem { - /** - * The error. - */ - Error: CancelSpotFleetRequestsError; - /** - * The ID of the Spot fleet request. - */ - SpotFleetRequestId: String; - } - export type CancelSpotFleetRequestsErrorSet = CancelSpotFleetRequestsErrorItem[]; - export interface CancelSpotFleetRequestsRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The IDs of the Spot fleet requests. - */ - SpotFleetRequestIds: ValueStringList; - /** - * Indicates whether to terminate instances for a Spot fleet request if it is canceled successfully. - */ - TerminateInstances: Boolean; - } - export interface CancelSpotFleetRequestsResponse { - /** - * Information about the Spot fleet requests that are successfully canceled. - */ - SuccessfulFleetRequests?: CancelSpotFleetRequestsSuccessSet; - /** - * Information about the Spot fleet requests that are not successfully canceled. - */ - UnsuccessfulFleetRequests?: CancelSpotFleetRequestsErrorSet; - } - export interface CancelSpotFleetRequestsSuccessItem { - /** - * The current state of the Spot fleet request. - */ - CurrentSpotFleetRequestState: BatchState; - /** - * The previous state of the Spot fleet request. - */ - PreviousSpotFleetRequestState: BatchState; - /** - * The ID of the Spot fleet request. - */ - SpotFleetRequestId: String; - } - export type CancelSpotFleetRequestsSuccessSet = CancelSpotFleetRequestsSuccessItem[]; - export type CancelSpotInstanceRequestState = "active"|"open"|"closed"|"cancelled"|"completed"|string; - export interface CancelSpotInstanceRequestsRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more Spot instance request IDs. - */ - SpotInstanceRequestIds: SpotInstanceRequestIdList; - } - export interface CancelSpotInstanceRequestsResult { - /** - * One or more Spot instance requests. - */ - CancelledSpotInstanceRequests?: CancelledSpotInstanceRequestList; - } - export interface CancelledSpotInstanceRequest { - /** - * The ID of the Spot instance request. - */ - SpotInstanceRequestId?: String; - /** - * The state of the Spot instance request. - */ - State?: CancelSpotInstanceRequestState; - } - export type CancelledSpotInstanceRequestList = CancelledSpotInstanceRequest[]; - export interface ClassicLinkDnsSupport { - /** - * Indicates whether ClassicLink DNS support is enabled for the VPC. - */ - ClassicLinkDnsSupported?: Boolean; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export type ClassicLinkDnsSupportList = ClassicLinkDnsSupport[]; - export interface ClassicLinkInstance { - /** - * A list of security groups. - */ - Groups?: GroupIdentifierList; - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * Any tags assigned to the instance. - */ - Tags?: TagList; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export type ClassicLinkInstanceList = ClassicLinkInstance[]; - export interface ClientData { - /** - * A user-defined comment about the disk upload. - */ - Comment?: String; - /** - * The time that the disk upload ends. - */ - UploadEnd?: DateTime; - /** - * The size of the uploaded disk image, in GiB. - */ - UploadSize?: Double; - /** - * The time that the disk upload starts. - */ - UploadStart?: DateTime; - } - export interface ConfirmProductInstanceRequest { - /** - * The ID of the instance. - */ - InstanceId: String; - /** - * The product code. This must be a product code that you own. - */ - ProductCode: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface ConfirmProductInstanceResult { - /** - * The AWS account ID of the instance owner. This is only present if the product code is attached to the instance. - */ - OwnerId?: String; - /** - * The return value of the request. Returns true if the specified product code is owned by the requester and associated with the specified instance. - */ - Return?: Boolean; - } - export type ContainerFormat = "ova"|string; - export type ConversionIdStringList = String[]; - export interface ConversionTask { - /** - * The ID of the conversion task. - */ - ConversionTaskId: String; - /** - * The time when the task expires. If the upload isn't complete before the expiration time, we automatically cancel the task. - */ - ExpirationTime?: String; - /** - * If the task is for importing an instance, this contains information about the import instance task. - */ - ImportInstance?: ImportInstanceTaskDetails; - /** - * If the task is for importing a volume, this contains information about the import volume task. - */ - ImportVolume?: ImportVolumeTaskDetails; - /** - * The state of the conversion task. - */ - State: ConversionTaskState; - /** - * The status message related to the conversion task. - */ - StatusMessage?: String; - /** - * Any tags assigned to the task. - */ - Tags?: TagList; - } - export type ConversionTaskState = "active"|"cancelling"|"cancelled"|"completed"|string; - export interface CopyImageRequest { - /** - * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide. - */ - ClientToken?: String; - /** - * A description for the new AMI in the destination region. - */ - Description?: String; - /** - * Specifies whether the destination snapshots of the copied image should be encrypted. The default CMK for EBS is used unless a non-default AWS Key Management Service (AWS KMS) CMK is specified with KmsKeyId. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide. - */ - Encrypted?: Boolean; - /** - * The full ARN of the AWS Key Management Service (AWS KMS) CMK to use when encrypting the snapshots of an image during a copy operation. This parameter is only required if you want to use a non-default CMK; if this parameter is not specified, the default CMK for EBS is used. The ARN contains the arn:aws:kms namespace, followed by the region of the CMK, the AWS account ID of the CMK owner, the key namespace, and then the CMK ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. The specified CMK must exist in the region that the snapshot is being copied to. If a KmsKeyId is specified, the Encrypted flag must also be set. - */ - KmsKeyId?: String; - /** - * The name of the new AMI in the destination region. - */ - Name: String; - /** - * The ID of the AMI to copy. - */ - SourceImageId: String; - /** - * The name of the region that contains the AMI to copy. - */ - SourceRegion: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CopyImageResult { - /** - * The ID of the new AMI. - */ - ImageId?: String; - } - export interface CopySnapshotRequest { - /** - * A description for the EBS snapshot. - */ - Description?: String; - /** - * The destination region to use in the PresignedUrl parameter of a snapshot copy operation. This parameter is only valid for specifying the destination region in a PresignedUrl parameter, where it is required. CopySnapshot sends the snapshot copy to the regional endpoint that you send the HTTP request to, such as ec2.us-east-1.amazonaws.com (in the AWS CLI, this is specified with the --region parameter or the default region in your AWS configuration file). - */ - DestinationRegion?: String; - /** - * Specifies whether the destination snapshot should be encrypted. You can encrypt a copy of an unencrypted snapshot using this flag, but you cannot use it to create an unencrypted copy from an encrypted snapshot. Your default CMK for EBS is used unless a non-default AWS Key Management Service (AWS KMS) CMK is specified with KmsKeyId. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide. - */ - Encrypted?: Boolean; - /** - * The full ARN of the AWS Key Management Service (AWS KMS) CMK to use when creating the snapshot copy. This parameter is only required if you want to use a non-default CMK; if this parameter is not specified, the default CMK for EBS is used. The ARN contains the arn:aws:kms namespace, followed by the region of the CMK, the AWS account ID of the CMK owner, the key namespace, and then the CMK ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. The specified CMK must exist in the region that the snapshot is being copied to. If a KmsKeyId is specified, the Encrypted flag must also be set. - */ - KmsKeyId?: String; - /** - * The pre-signed URL that facilitates copying an encrypted snapshot. This parameter is only required when copying an encrypted snapshot with the Amazon EC2 Query API; it is available as an optional parameter in all other cases. The PresignedUrl should use the snapshot source endpoint, the CopySnapshot action, and include the SourceRegion, SourceSnapshotId, and DestinationRegion parameters. The PresignedUrl must be signed using AWS Signature Version 4. Because EBS snapshots are stored in Amazon S3, the signing algorithm for this parameter uses the same logic that is described in Authenticating Requests by Using Query Parameters (AWS Signature Version 4) in the Amazon Simple Storage Service API Reference. An invalid or improperly signed PresignedUrl will cause the copy operation to fail asynchronously, and the snapshot will move to an error state. - */ - PresignedUrl?: String; - /** - * The ID of the region that contains the snapshot to be copied. - */ - SourceRegion: String; - /** - * The ID of the EBS snapshot to copy. - */ - SourceSnapshotId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CopySnapshotResult { - /** - * The ID of the new snapshot. - */ - SnapshotId?: String; - } - export interface CreateCustomerGatewayRequest { - /** - * For devices that support BGP, the customer gateway's BGP ASN. Default: 65000 - */ - BgpAsn: Integer; - /** - * The Internet-routable IP address for the customer gateway's outside interface. The address must be static. - */ - PublicIp: String; - /** - * The type of VPN connection that this customer gateway supports (ipsec.1). - */ - Type: GatewayType; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CreateCustomerGatewayResult { - /** - * Information about the customer gateway. - */ - CustomerGateway?: CustomerGateway; - } - export interface CreateDhcpOptionsRequest { - /** - * A DHCP configuration option. - */ - DhcpConfigurations: NewDhcpConfigurationList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CreateDhcpOptionsResult { - /** - * A set of DHCP options. - */ - DhcpOptions?: DhcpOptions; - } - export interface CreateEgressOnlyInternetGatewayRequest { - /** - * Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency. - */ - ClientToken?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the VPC for which to create the egress-only Internet gateway. - */ - VpcId: String; - } - export interface CreateEgressOnlyInternetGatewayResult { - /** - * Unique, case-sensitive identifier you provide to ensure the idempotency of the request. - */ - ClientToken?: String; - /** - * Information about the egress-only Internet gateway. - */ - EgressOnlyInternetGateway?: EgressOnlyInternetGateway; - } - export interface CreateFlowLogsRequest { - /** - * Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency. - */ - ClientToken?: String; - /** - * The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group. - */ - DeliverLogsPermissionArn: String; - /** - * The name of the CloudWatch log group. - */ - LogGroupName: String; - /** - * One or more subnet, network interface, or VPC IDs. Constraints: Maximum of 1000 resources - */ - ResourceIds: ValueStringList; - /** - * The type of resource on which to create the flow log. - */ - ResourceType: FlowLogsResourceType; - /** - * The type of traffic to log. - */ - TrafficType: TrafficType; - } - export interface CreateFlowLogsResult { - /** - * Unique, case-sensitive identifier you provide to ensure the idempotency of the request. - */ - ClientToken?: String; - /** - * The IDs of the flow logs. - */ - FlowLogIds?: ValueStringList; - /** - * Information about the flow logs that could not be created successfully. - */ - Unsuccessful?: UnsuccessfulItemSet; - } - export interface CreateFpgaImageRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The location of the encrypted design checkpoint in Amazon S3. The input must be a tarball. - */ - InputStorageLocation: StorageLocation; - /** - * The location in Amazon S3 for the output logs. - */ - LogsStorageLocation?: StorageLocation; - /** - * A description for the AFI. - */ - Description?: String; - /** - * A name for the AFI. - */ - Name?: String; - /** - * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency. - */ - ClientToken?: String; - } - export interface CreateFpgaImageResult { - /** - * The FPGA image identifier (AFI ID). - */ - FpgaImageId?: String; - /** - * The global FPGA image identifier (AGFI ID). - */ - FpgaImageGlobalId?: String; - } - export interface CreateImageRequest { - /** - * Information about one or more block device mappings. - */ - BlockDeviceMappings?: BlockDeviceMappingRequestList; - /** - * A description for the new image. - */ - Description?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the instance. - */ - InstanceId: String; - /** - * A name for the new image. Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_) - */ - Name: String; - /** - * By default, Amazon EC2 attempts to shut down and reboot the instance before creating the image. If the 'No Reboot' option is set, Amazon EC2 doesn't shut down the instance before creating the image. When this option is used, file system integrity on the created image can't be guaranteed. - */ - NoReboot?: Boolean; - } - export interface CreateImageResult { - /** - * The ID of the new AMI. - */ - ImageId?: String; - } - export interface CreateInstanceExportTaskRequest { - /** - * A description for the conversion task or the resource being exported. The maximum length is 255 bytes. - */ - Description?: String; - /** - * The format and location for an instance export task. - */ - ExportToS3Task?: ExportToS3TaskSpecification; - /** - * The ID of the instance. - */ - InstanceId: String; - /** - * The target virtualization environment. - */ - TargetEnvironment?: ExportEnvironment; - } - export interface CreateInstanceExportTaskResult { - /** - * Information about the instance export task. - */ - ExportTask?: ExportTask; - } - export interface CreateInternetGatewayRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CreateInternetGatewayResult { - /** - * Information about the Internet gateway. - */ - InternetGateway?: InternetGateway; - } - export interface CreateKeyPairRequest { - /** - * A unique name for the key pair. Constraints: Up to 255 ASCII characters - */ - KeyName: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CreateNatGatewayRequest { - /** - * The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it. - */ - AllocationId: String; - /** - * Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency. Constraint: Maximum 64 ASCII characters. - */ - ClientToken?: String; - /** - * The subnet in which to create the NAT gateway. - */ - SubnetId: String; - } - export interface CreateNatGatewayResult { - /** - * Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request. - */ - ClientToken?: String; - /** - * Information about the NAT gateway. - */ - NatGateway?: NatGateway; - } - export interface CreateNetworkAclEntryRequest { - /** - * The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24). - */ - CidrBlock?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet). - */ - Egress: Boolean; - /** - * ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying the ICMP protocol, or protocol 58 (ICMPv6) with an IPv6 CIDR block. - */ - IcmpTypeCode?: IcmpTypeCode; - /** - * The IPv6 network range to allow or deny, in CIDR notation (for example 2001:db8:1234:1a00::/64). - */ - Ipv6CidrBlock?: String; - /** - * The ID of the network ACL. - */ - NetworkAclId: String; - /** - * TCP or UDP protocols: The range of ports the rule applies to. - */ - PortRange?: PortRange; - /** - * The protocol. A value of -1 or all means all protocols. If you specify all, -1, or a protocol number other than tcp, udp, or icmp, traffic on all ports is allowed, regardless of any ports or ICMP types or codes you specify. If you specify protocol 58 (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol 58 (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code. - */ - Protocol: String; - /** - * Indicates whether to allow or deny the traffic that matches the rule. - */ - RuleAction: RuleAction; - /** - * The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number. Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use. - */ - RuleNumber: Integer; - } - export interface CreateNetworkAclRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the VPC. - */ - VpcId: String; - } - export interface CreateNetworkAclResult { - /** - * Information about the network ACL. - */ - NetworkAcl?: NetworkAcl; - } - export interface CreateNetworkInterfaceRequest { - /** - * A description for the network interface. - */ - Description?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The IDs of one or more security groups. - */ - Groups?: SecurityGroupIdStringList; - /** - * The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses. If your subnet has the AssignIpv6AddressOnCreation attribute set to true, you can specify 0 to override this setting. - */ - Ipv6AddressCount?: Integer; - /** - * One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses. - */ - Ipv6Addresses?: InstanceIpv6AddressList; - /** - * The primary private IPv4 address of the network interface. If you don't specify an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary). - */ - PrivateIpAddress?: String; - /** - * One or more private IPv4 addresses. - */ - PrivateIpAddresses?: PrivateIpAddressSpecificationList; - /** - * The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses. The number of IP addresses you can assign to a network interface varies by instance type. For more information, see IP Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User Guide. - */ - SecondaryPrivateIpAddressCount?: Integer; - /** - * The ID of the subnet to associate with the network interface. - */ - SubnetId: String; - } - export interface CreateNetworkInterfaceResult { - /** - * Information about the network interface. - */ - NetworkInterface?: NetworkInterface; - } - export interface CreatePlacementGroupRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * A name for the placement group. Constraints: Up to 255 ASCII characters - */ - GroupName: String; - /** - * The placement strategy. - */ - Strategy: PlacementStrategy; - } - export interface CreateReservedInstancesListingRequest { - /** - * Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency. - */ - ClientToken: String; - /** - * The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call. - */ - InstanceCount: Integer; - /** - * A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term. - */ - PriceSchedules: PriceScheduleSpecificationList; - /** - * The ID of the active Standard Reserved Instance. - */ - ReservedInstancesId: String; - } - export interface CreateReservedInstancesListingResult { - /** - * Information about the Standard Reserved Instance listing. - */ - ReservedInstancesListings?: ReservedInstancesListingList; - } - export interface CreateRouteRequest { - /** - * The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. - */ - DestinationCidrBlock?: String; - /** - * The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match. - */ - DestinationIpv6CidrBlock?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * [IPv6 traffic only] The ID of an egress-only Internet gateway. - */ - EgressOnlyInternetGatewayId?: String; - /** - * The ID of an Internet gateway or virtual private gateway attached to your VPC. - */ - GatewayId?: String; - /** - * The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached. - */ - InstanceId?: String; - /** - * [IPv4 traffic only] The ID of a NAT gateway. - */ - NatGatewayId?: String; - /** - * The ID of a network interface. - */ - NetworkInterfaceId?: String; - /** - * The ID of the route table for the route. - */ - RouteTableId: String; - /** - * The ID of a VPC peering connection. - */ - VpcPeeringConnectionId?: String; - } - export interface CreateRouteResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - Return?: Boolean; - } - export interface CreateRouteTableRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the VPC. - */ - VpcId: String; - } - export interface CreateRouteTableResult { - /** - * Information about the route table. - */ - RouteTable?: RouteTable; - } - export interface CreateSecurityGroupRequest { - /** - * A description for the security group. This is informational only. Constraints: Up to 255 characters in length Constraints for EC2-Classic: ASCII characters Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* - */ - Description: String; - /** - * The name of the security group. Constraints: Up to 255 characters in length Constraints for EC2-Classic: ASCII characters Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* - */ - GroupName: String; - /** - * [EC2-VPC] The ID of the VPC. Required for EC2-VPC. - */ - VpcId?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CreateSecurityGroupResult { - /** - * The ID of the security group. - */ - GroupId?: String; - } - export interface CreateSnapshotRequest { - /** - * A description for the snapshot. - */ - Description?: String; - /** - * The ID of the EBS volume. - */ - VolumeId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CreateSpotDatafeedSubscriptionRequest { - /** - * The Amazon S3 bucket in which to store the Spot instance data feed. - */ - Bucket: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * A prefix for the data feed file names. - */ - Prefix?: String; - } - export interface CreateSpotDatafeedSubscriptionResult { - /** - * The Spot instance data feed subscription. - */ - SpotDatafeedSubscription?: SpotDatafeedSubscription; - } - export interface CreateSubnetRequest { - /** - * The Availability Zone for the subnet. Default: AWS selects one for you. If you create more than one subnet in your VPC, we may not necessarily select a different zone for each subnet. - */ - AvailabilityZone?: String; - /** - * The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. - */ - CidrBlock: String; - /** - * The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length. - */ - Ipv6CidrBlock?: String; - /** - * The ID of the VPC. - */ - VpcId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CreateSubnetResult { - /** - * Information about the subnet. - */ - Subnet?: Subnet; - } - export interface CreateTagsRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The IDs of one or more resources to tag. For example, ami-1a2b3c4d. - */ - Resources: ResourceIdList; - /** - * One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string. - */ - Tags: TagList; - } - export interface CreateVolumePermission { - /** - * The specific group that is to be added or removed from a volume's list of create volume permissions. - */ - Group?: PermissionGroup; - /** - * The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions. - */ - UserId?: String; - } - export type CreateVolumePermissionList = CreateVolumePermission[]; - export interface CreateVolumePermissionModifications { - /** - * Adds a specific AWS account ID or group to a volume's list of create volume permissions. - */ - Add?: CreateVolumePermissionList; - /** - * Removes a specific AWS account ID or group from a volume's list of create volume permissions. - */ - Remove?: CreateVolumePermissionList; - } - export interface CreateVolumeRequest { - /** - * The Availability Zone in which to create the volume. Use DescribeAvailabilityZones to list the Availability Zones that are currently available to you. - */ - AvailabilityZone: String; - /** - * Specifies whether the volume should be encrypted. Encrypted Amazon EBS volumes may only be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. There is no way to create an encrypted volume from an unencrypted snapshot or vice versa. If your AMI uses encrypted volumes, you can only launch it on supported instance types. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide. - */ - Encrypted?: Boolean; - /** - * Only valid for Provisioned IOPS SSD volumes. The number of I/O operations per second (IOPS) to provision for the volume, with a maximum ratio of 50 IOPS/GiB. Constraint: Range is 100 to 20000 for Provisioned IOPS SSD volumes - */ - Iops?: Integer; - /** - * The full ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume. This parameter is only required if you want to use a non-default CMK; if this parameter is not specified, the default CMK for EBS is used. The ARN contains the arn:aws:kms namespace, followed by the region of the CMK, the AWS account ID of the CMK owner, the key namespace, and then the CMK ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If a KmsKeyId is specified, the Encrypted flag must also be set. - */ - KmsKeyId?: String; - /** - * The size of the volume, in GiBs. Constraints: 1-16384 for gp2, 4-16384 for io1, 500-16384 for st1, 500-16384 for sc1, and 1-1024 for standard. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size. Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size. - */ - Size?: Integer; - /** - * The snapshot from which to create the volume. - */ - SnapshotId?: String; - /** - * The volume type. This can be gp2 for General Purpose SSD, io1 for Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard for Magnetic volumes. Default: standard - */ - VolumeType?: VolumeType; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The tags to apply to the volume during creation. - */ - TagSpecifications?: TagSpecificationList; - } - export interface CreateVpcEndpointRequest { - /** - * Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency. - */ - ClientToken?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service. - */ - PolicyDocument?: String; - /** - * One or more route table IDs. - */ - RouteTableIds?: ValueStringList; - /** - * The AWS service name, in the form com.amazonaws.region.service . To get a list of available services, use the DescribeVpcEndpointServices request. - */ - ServiceName: String; - /** - * The ID of the VPC in which the endpoint will be used. - */ - VpcId: String; - } - export interface CreateVpcEndpointResult { - /** - * Unique, case-sensitive identifier you provide to ensure the idempotency of the request. - */ - ClientToken?: String; - /** - * Information about the endpoint. - */ - VpcEndpoint?: VpcEndpoint; - } - export interface CreateVpcPeeringConnectionRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The AWS account ID of the owner of the peer VPC. Default: Your AWS account ID - */ - PeerOwnerId?: String; - /** - * The ID of the VPC with which you are creating the VPC peering connection. - */ - PeerVpcId?: String; - /** - * The ID of the requester VPC. - */ - VpcId?: String; - } - export interface CreateVpcPeeringConnectionResult { - /** - * Information about the VPC peering connection. - */ - VpcPeeringConnection?: VpcPeeringConnection; - } - export interface CreateVpcRequest { - /** - * The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16. - */ - CidrBlock: String; - /** - * Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block. - */ - AmazonProvidedIpv6CidrBlock?: Boolean; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC. Important: The host value cannot be used with this parameter. Use the default or dedicated values only. Default: default - */ - InstanceTenancy?: Tenancy; - } - export interface CreateVpcResult { - /** - * Information about the VPC. - */ - Vpc?: Vpc; - } - export interface CreateVpnConnectionRequest { - /** - * The ID of the customer gateway. - */ - CustomerGatewayId: String; - /** - * The type of VPN connection (ipsec.1). - */ - Type: String; - /** - * The ID of the virtual private gateway. - */ - VpnGatewayId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Indicates whether the VPN connection requires static routes. If you are creating a VPN connection for a device that does not support BGP, you must specify true. Default: false - */ - Options?: VpnConnectionOptionsSpecification; - } - export interface CreateVpnConnectionResult { - /** - * Information about the VPN connection. - */ - VpnConnection?: VpnConnection; - } - export interface CreateVpnConnectionRouteRequest { - /** - * The CIDR block associated with the local subnet of the customer network. - */ - DestinationCidrBlock: String; - /** - * The ID of the VPN connection. - */ - VpnConnectionId: String; - } - export interface CreateVpnGatewayRequest { - /** - * The Availability Zone for the virtual private gateway. - */ - AvailabilityZone?: String; - /** - * The type of VPN connection this virtual private gateway supports. - */ - Type: GatewayType; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface CreateVpnGatewayResult { - /** - * Information about the virtual private gateway. - */ - VpnGateway?: VpnGateway; - } - export type CurrencyCodeValues = "USD"|string; - export interface CustomerGateway { - /** - * The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). - */ - BgpAsn?: String; - /** - * The ID of the customer gateway. - */ - CustomerGatewayId?: String; - /** - * The Internet-routable IP address of the customer gateway's outside interface. - */ - IpAddress?: String; - /** - * The current state of the customer gateway (pending | available | deleting | deleted). - */ - State?: String; - /** - * The type of VPN connection the customer gateway supports (ipsec.1). - */ - Type?: String; - /** - * Any tags assigned to the customer gateway. - */ - Tags?: TagList; - } - export type CustomerGatewayIdStringList = String[]; - export type CustomerGatewayList = CustomerGateway[]; - export type DatafeedSubscriptionState = "Active"|"Inactive"|string; - export type DateTime = Date; - export interface DeleteCustomerGatewayRequest { - /** - * The ID of the customer gateway. - */ - CustomerGatewayId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeleteDhcpOptionsRequest { - /** - * The ID of the DHCP options set. - */ - DhcpOptionsId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeleteEgressOnlyInternetGatewayRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the egress-only Internet gateway. - */ - EgressOnlyInternetGatewayId: EgressOnlyInternetGatewayId; - } - export interface DeleteEgressOnlyInternetGatewayResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - ReturnCode?: Boolean; - } - export interface DeleteFlowLogsRequest { - /** - * One or more flow log IDs. - */ - FlowLogIds: ValueStringList; - } - export interface DeleteFlowLogsResult { - /** - * Information about the flow logs that could not be deleted successfully. - */ - Unsuccessful?: UnsuccessfulItemSet; - } - export interface DeleteInternetGatewayRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the Internet gateway. - */ - InternetGatewayId: String; - } - export interface DeleteKeyPairRequest { - /** - * The name of the key pair. - */ - KeyName: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeleteNatGatewayRequest { - /** - * The ID of the NAT gateway. - */ - NatGatewayId: String; - } - export interface DeleteNatGatewayResult { - /** - * The ID of the NAT gateway. - */ - NatGatewayId?: String; - } - export interface DeleteNetworkAclEntryRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Indicates whether the rule is an egress rule. - */ - Egress: Boolean; - /** - * The ID of the network ACL. - */ - NetworkAclId: String; - /** - * The rule number of the entry to delete. - */ - RuleNumber: Integer; - } - export interface DeleteNetworkAclRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the network ACL. - */ - NetworkAclId: String; - } - export interface DeleteNetworkInterfaceRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the network interface. - */ - NetworkInterfaceId: String; - } - export interface DeletePlacementGroupRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The name of the placement group. - */ - GroupName: String; - } - export interface DeleteRouteRequest { - /** - * The IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly. - */ - DestinationCidrBlock?: String; - /** - * The IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly. - */ - DestinationIpv6CidrBlock?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the route table. - */ - RouteTableId: String; - } - export interface DeleteRouteTableRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the route table. - */ - RouteTableId: String; - } - export interface DeleteSecurityGroupRequest { - /** - * The ID of the security group. Required for a nondefault VPC. - */ - GroupId?: String; - /** - * [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID. - */ - GroupName?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeleteSnapshotRequest { - /** - * The ID of the EBS snapshot. - */ - SnapshotId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeleteSpotDatafeedSubscriptionRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeleteSubnetRequest { - /** - * The ID of the subnet. - */ - SubnetId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeleteTagsRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID. - */ - Resources: ResourceIdList; - /** - * One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an empty string. - */ - Tags?: TagList; - } - export interface DeleteVolumeRequest { - /** - * The ID of the volume. - */ - VolumeId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeleteVpcEndpointsRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more endpoint IDs. - */ - VpcEndpointIds: ValueStringList; - } - export interface DeleteVpcEndpointsResult { - /** - * Information about the endpoints that were not successfully deleted. - */ - Unsuccessful?: UnsuccessfulItemSet; - } - export interface DeleteVpcPeeringConnectionRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the VPC peering connection. - */ - VpcPeeringConnectionId: String; - } - export interface DeleteVpcPeeringConnectionResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - Return?: Boolean; - } - export interface DeleteVpcRequest { - /** - * The ID of the VPC. - */ - VpcId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeleteVpnConnectionRequest { - /** - * The ID of the VPN connection. - */ - VpnConnectionId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeleteVpnConnectionRouteRequest { - /** - * The CIDR block associated with the local subnet of the customer network. - */ - DestinationCidrBlock: String; - /** - * The ID of the VPN connection. - */ - VpnConnectionId: String; - } - export interface DeleteVpnGatewayRequest { - /** - * The ID of the virtual private gateway. - */ - VpnGatewayId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DeregisterImageRequest { - /** - * The ID of the AMI. - */ - ImageId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeAccountAttributesRequest { - /** - * One or more account attribute names. - */ - AttributeNames?: AccountAttributeNameStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeAccountAttributesResult { - /** - * Information about one or more account attributes. - */ - AccountAttributes?: AccountAttributeList; - } - export interface DescribeAddressesRequest { - /** - * One or more filters. Filter names and values are case-sensitive. allocation-id - [EC2-VPC] The allocation ID for the address. association-id - [EC2-VPC] The association ID for the address. domain - Indicates whether the address is for use in EC2-Classic (standard) or in a VPC (vpc). instance-id - The ID of the instance the address is associated with, if any. network-interface-id - [EC2-VPC] The ID of the network interface that the address is associated with, if any. network-interface-owner-id - The AWS account ID of the owner. private-ip-address - [EC2-VPC] The private IP address associated with the Elastic IP address. public-ip - The Elastic IP address. - */ - Filters?: FilterList; - /** - * [EC2-Classic] One or more Elastic IP addresses. Default: Describes all your Elastic IP addresses. - */ - PublicIps?: PublicIpStringList; - /** - * [EC2-VPC] One or more allocation IDs. Default: Describes all your Elastic IP addresses. - */ - AllocationIds?: AllocationIdList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeAddressesResult { - /** - * Information about one or more Elastic IP addresses. - */ - Addresses?: AddressList; - } - export interface DescribeAvailabilityZonesRequest { - /** - * One or more filters. message - Information about the Availability Zone. region-name - The name of the region for the Availability Zone (for example, us-east-1). state - The state of the Availability Zone (available | information | impaired | unavailable). zone-name - The name of the Availability Zone (for example, us-east-1a). - */ - Filters?: FilterList; - /** - * The names of one or more Availability Zones. - */ - ZoneNames?: ZoneNameStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeAvailabilityZonesResult { - /** - * Information about one or more Availability Zones. - */ - AvailabilityZones?: AvailabilityZoneList; - } - export interface DescribeBundleTasksRequest { - /** - * One or more bundle task IDs. Default: Describes all your bundle tasks. - */ - BundleIds?: BundleIdStringList; - /** - * One or more filters. bundle-id - The ID of the bundle task. error-code - If the task failed, the error code returned. error-message - If the task failed, the error message returned. instance-id - The ID of the instance. progress - The level of task completion, as a percentage (for example, 20%). s3-bucket - The Amazon S3 bucket to store the AMI. s3-prefix - The beginning of the AMI name. start-time - The time the task started (for example, 2013-09-15T17:15:20.000Z). state - The state of the task (pending | waiting-for-shutdown | bundling | storing | cancelling | complete | failed). update-time - The time of the most recent update for the task. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeBundleTasksResult { - /** - * Information about one or more bundle tasks. - */ - BundleTasks?: BundleTaskList; - } - export interface DescribeClassicLinkInstancesRequest { - /** - * One or more filters. group-id - The ID of a VPC security group that's associated with the instance. instance-id - The ID of the instance. tag:key=value - The key/value combination of a tag assigned to the resource. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. vpc-id - The ID of the VPC that the instance is linked to. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more instance IDs. Must be instances linked to a VPC through ClassicLink. - */ - InstanceIds?: InstanceIdStringList; - /** - * The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. You cannot specify this parameter and the instance IDs parameter in the same request. Constraint: If the value is greater than 1000, we return only 1000 items. - */ - MaxResults?: Integer; - /** - * The token to retrieve the next page of results. - */ - NextToken?: String; - } - export interface DescribeClassicLinkInstancesResult { - /** - * Information about one or more linked EC2-Classic instances. - */ - Instances?: ClassicLinkInstanceList; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export type DescribeConversionTaskList = ConversionTask[]; - export interface DescribeConversionTasksRequest { - /** - * One or more conversion task IDs. - */ - ConversionTaskIds?: ConversionIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeConversionTasksResult { - /** - * Information about the conversion tasks. - */ - ConversionTasks?: DescribeConversionTaskList; - } - export interface DescribeCustomerGatewaysRequest { - /** - * One or more customer gateway IDs. Default: Describes all your customer gateways. - */ - CustomerGatewayIds?: CustomerGatewayIdStringList; - /** - * One or more filters. bgp-asn - The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). customer-gateway-id - The ID of the customer gateway. ip-address - The IP address of the customer gateway's Internet-routable external interface. state - The state of the customer gateway (pending | available | deleting | deleted). type - The type of customer gateway. Currently, the only supported type is ipsec.1. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeCustomerGatewaysResult { - /** - * Information about one or more customer gateways. - */ - CustomerGateways?: CustomerGatewayList; - } - export interface DescribeDhcpOptionsRequest { - /** - * The IDs of one or more DHCP options sets. Default: Describes all your DHCP options sets. - */ - DhcpOptionsIds?: DhcpOptionsIdStringList; - /** - * One or more filters. dhcp-options-id - The ID of a set of DHCP options. key - The key for one of the options (for example, domain-name). value - The value for one of the options. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeDhcpOptionsResult { - /** - * Information about one or more DHCP options sets. - */ - DhcpOptions?: DhcpOptionsList; - } - export interface DescribeEgressOnlyInternetGatewaysRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more egress-only Internet gateway IDs. - */ - EgressOnlyInternetGatewayIds?: EgressOnlyInternetGatewayIdList; - /** - * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. - */ - MaxResults?: Integer; - /** - * The token to retrieve the next page of results. - */ - NextToken?: String; - } - export interface DescribeEgressOnlyInternetGatewaysResult { - /** - * Information about the egress-only Internet gateways. - */ - EgressOnlyInternetGateways?: EgressOnlyInternetGatewayList; - /** - * The token to use to retrieve the next page of results. - */ - NextToken?: String; - } - export interface DescribeExportTasksRequest { - /** - * One or more export task IDs. - */ - ExportTaskIds?: ExportTaskIdStringList; - } - export interface DescribeExportTasksResult { - /** - * Information about the export tasks. - */ - ExportTasks?: ExportTaskList; - } - export interface DescribeFlowLogsRequest { - /** - * One or more filters. deliver-log-status - The status of the logs delivery (SUCCESS | FAILED). flow-log-id - The ID of the flow log. log-group-name - The name of the log group. resource-id - The ID of the VPC, subnet, or network interface. traffic-type - The type of traffic (ACCEPT | REJECT | ALL) - */ - Filter?: FilterList; - /** - * One or more flow log IDs. - */ - FlowLogIds?: ValueStringList; - /** - * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. You cannot specify this parameter and the flow log IDs parameter in the same request. - */ - MaxResults?: Integer; - /** - * The token to retrieve the next page of results. - */ - NextToken?: String; - } - export interface DescribeFlowLogsResult { - /** - * Information about the flow logs. - */ - FlowLogs?: FlowLogSet; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeFpgaImagesRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more AFI IDs. - */ - FpgaImageIds?: FpgaImageIdList; - /** - * Filters the AFI by owner. Specify an AWS account ID, self (owner is the sender of the request), or an AWS owner alias (valid values are amazon | aws-marketplace). - */ - Owners?: OwnerStringList; - /** - * One or more filters. create-time - The creation time of the AFI. fpga-image-id - The FPGA image identifier (AFI ID). fpga-image-global-id - The global FPGA image identifier (AGFI ID). name - The name of the AFI. owner-id - The AWS account ID of the AFI owner. product-code - The product code. shell-version - The version of the AWS Shell that was used to create the bitstream. state - The state of the AFI (pending | failed | available | unavailable). tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. update-time - The time of the most recent update. - */ - Filters?: FilterList; - /** - * The token to retrieve the next page of results. - */ - NextToken?: NextToken; - /** - * The maximum number of results to return in a single call. - */ - MaxResults?: MaxResults; - } - export interface DescribeFpgaImagesResult { - /** - * Information about one or more FPGA images. - */ - FpgaImages?: FpgaImageList; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: NextToken; - } - export interface DescribeHostReservationOfferingsRequest { - /** - * One or more filters. instance-family - The instance family of the offering (e.g., m4). payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront). - */ - Filter?: FilterList; - /** - * This is the maximum duration of the reservation you'd like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years. - */ - MaxDuration?: Integer; - /** - * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500; if maxResults is given a larger value than 500, you will receive an error. - */ - MaxResults?: Integer; - /** - * This is the minimum duration of the reservation you'd like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year. - */ - MinDuration?: Integer; - /** - * The token to use to retrieve the next page of results. - */ - NextToken?: String; - /** - * The ID of the reservation offering. - */ - OfferingId?: String; - } - export interface DescribeHostReservationOfferingsResult { - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * Information about the offerings. - */ - OfferingSet?: HostOfferingSet; - } - export interface DescribeHostReservationsRequest { - /** - * One or more filters. instance-family - The instance family (e.g., m4). payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront). state - The state of the reservation (payment-pending | payment-failed | active | retired). - */ - Filter?: FilterList; - /** - * One or more host reservation IDs. - */ - HostReservationIdSet?: HostReservationIdSet; - /** - * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500; if maxResults is given a larger value than 500, you will receive an error. - */ - MaxResults?: Integer; - /** - * The token to use to retrieve the next page of results. - */ - NextToken?: String; - } - export interface DescribeHostReservationsResult { - /** - * Details about the reservation's configuration. - */ - HostReservationSet?: HostReservationSet; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeHostsRequest { - /** - * One or more filters. instance-type - The instance type size that the Dedicated Host is configured to support. auto-placement - Whether auto-placement is enabled or disabled (on | off). host-reservation-id - The ID of the reservation assigned to this host. client-token - The idempotency token you provided when you launched the instance state- The allocation state of the Dedicated Host (available | under-assessment | permanent-failure | released | released-permanent-failure). availability-zone - The Availability Zone of the host. - */ - Filter?: FilterList; - /** - * The IDs of the Dedicated Hosts. The IDs are used for targeted instance launches. - */ - HostIds?: RequestHostIdList; - /** - * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500; if maxResults is given a larger value than 500, you will receive an error. You cannot specify this parameter and the host IDs parameter in the same request. - */ - MaxResults?: Integer; - /** - * The token to retrieve the next page of results. - */ - NextToken?: String; - } - export interface DescribeHostsResult { - /** - * Information about the Dedicated Hosts. - */ - Hosts?: HostList; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeIamInstanceProfileAssociationsRequest { - /** - * One or more IAM instance profile associations. - */ - AssociationIds?: AssociationIdList; - /** - * One or more filters. instance-id - The ID of the instance. state - The state of the association (associating | associated | disassociating | disassociated). - */ - Filters?: FilterList; - /** - * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. - */ - MaxResults?: MaxResults; - /** - * The token to request the next page of results. - */ - NextToken?: NextToken; - } - export interface DescribeIamInstanceProfileAssociationsResult { - /** - * Information about one or more IAM instance profile associations. - */ - IamInstanceProfileAssociations?: IamInstanceProfileAssociationSet; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: NextToken; - } - export interface DescribeIdFormatRequest { - /** - * The type of resource: instance | reservation | snapshot | volume - */ - Resource?: String; - } - export interface DescribeIdFormatResult { - /** - * Information about the ID format for the resource. - */ - Statuses?: IdFormatList; - } - export interface DescribeIdentityIdFormatRequest { - /** - * The ARN of the principal, which can be an IAM role, IAM user, or the root user. - */ - PrincipalArn: String; - /** - * The type of resource: instance | reservation | snapshot | volume - */ - Resource?: String; - } - export interface DescribeIdentityIdFormatResult { - /** - * Information about the ID format for the resources. - */ - Statuses?: IdFormatList; - } - export interface DescribeImageAttributeRequest { - /** - * The AMI attribute. Note: Depending on your account privileges, the blockDeviceMapping attribute may return a Client.AuthFailure error. If this happens, use DescribeImages to get information about the block device mapping for the AMI. - */ - Attribute: ImageAttributeName; - /** - * The ID of the AMI. - */ - ImageId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeImagesRequest { - /** - * Scopes the images by users with explicit launch permissions. Specify an AWS account ID, self (the sender of the request), or all (public AMIs). - */ - ExecutableUsers?: ExecutableByStringList; - /** - * One or more filters. architecture - The image architecture (i386 | x86_64). block-device-mapping.delete-on-termination - A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination. block-device-mapping.device-name - The device name for the EBS volume (for example, /dev/sdh). block-device-mapping.snapshot-id - The ID of the snapshot used for the EBS volume. block-device-mapping.volume-size - The volume size of the EBS volume, in GiB. block-device-mapping.volume-type - The volume type of the EBS volume (gp2 | io1 | st1 | sc1 | standard). description - The description of the image (provided during image creation). ena-support - A Boolean that indicates whether enhanced networking with ENA is enabled. hypervisor - The hypervisor type (ovm | xen). image-id - The ID of the image. image-type - The image type (machine | kernel | ramdisk). is-public - A Boolean that indicates whether the image is public. kernel-id - The kernel ID. manifest-location - The location of the image manifest. name - The name of the AMI (provided during image creation). owner-alias - String value from an Amazon-maintained list (amazon | aws-marketplace | microsoft) of snapshot owners. Not to be confused with the user-configured AWS account alias, which is set from the IAM console. owner-id - The AWS account ID of the image owner. platform - The platform. To only list Windows-based AMIs, use windows. product-code - The product code. product-code.type - The type of the product code (devpay | marketplace). ramdisk-id - The RAM disk ID. root-device-name - The name of the root device volume (for example, /dev/sda1). root-device-type - The type of the root device volume (ebs | instance-store). state - The state of the image (available | pending | failed). state-reason-code - The reason code for the state change. state-reason-message - The message for the state change. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. virtualization-type - The virtualization type (paravirtual | hvm). - */ - Filters?: FilterList; - /** - * One or more image IDs. Default: Describes all images available to you. - */ - ImageIds?: ImageIdStringList; - /** - * Filters the images by the owner. Specify an AWS account ID, self (owner is the sender of the request), or an AWS owner alias (valid values are amazon | aws-marketplace | microsoft). Omitting this option returns all images for which you have launch permissions, regardless of ownership. - */ - Owners?: OwnerStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeImagesResult { - /** - * Information about one or more images. - */ - Images?: ImageList; - } - export interface DescribeImportImageTasksRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Filter tasks using the task-state filter and one of the following values: active, completed, deleting, deleted. - */ - Filters?: FilterList; - /** - * A list of import image task IDs. - */ - ImportTaskIds?: ImportTaskIdList; - /** - * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. - */ - MaxResults?: Integer; - /** - * A token that indicates the next page of results. - */ - NextToken?: String; - } - export interface DescribeImportImageTasksResult { - /** - * A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days. - */ - ImportImageTasks?: ImportImageTaskList; - /** - * The token to use to get the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeImportSnapshotTasksRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more filters. - */ - Filters?: FilterList; - /** - * A list of import snapshot task IDs. - */ - ImportTaskIds?: ImportTaskIdList; - /** - * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. - */ - MaxResults?: Integer; - /** - * A token that indicates the next page of results. - */ - NextToken?: String; - } - export interface DescribeImportSnapshotTasksResult { - /** - * A list of zero or more import snapshot tasks that are currently active or were completed or canceled in the previous 7 days. - */ - ImportSnapshotTasks?: ImportSnapshotTaskList; - /** - * The token to use to get the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeInstanceAttributeRequest { - /** - * The instance attribute. Note: The enaSupport attribute is not supported at this time. - */ - Attribute: InstanceAttributeName; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the instance. - */ - InstanceId: String; - } - export interface DescribeInstanceStatusRequest { - /** - * One or more filters. availability-zone - The Availability Zone of the instance. event.code - The code for the scheduled event (instance-reboot | system-reboot | system-maintenance | instance-retirement | instance-stop). event.description - A description of the event. event.not-after - The latest end time for the scheduled event (for example, 2014-09-15T17:15:20.000Z). event.not-before - The earliest start time for the scheduled event (for example, 2014-09-15T17:15:20.000Z). instance-state-code - The code for the instance state, as a 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented. The valid values are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped). instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped). instance-status.reachability - Filters on instance status where the name is reachability (passed | failed | initializing | insufficient-data). instance-status.status - The status of the instance (ok | impaired | initializing | insufficient-data | not-applicable). system-status.reachability - Filters on system status where the name is reachability (passed | failed | initializing | insufficient-data). system-status.status - The system status of the instance (ok | impaired | initializing | insufficient-data | not-applicable). - */ - Filters?: FilterList; - /** - * One or more instance IDs. Default: Describes all your instances. Constraints: Maximum 100 explicitly specified instance IDs. - */ - InstanceIds?: InstanceIdStringList; - /** - * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. This value can be between 5 and 1000. You cannot specify this parameter and the instance IDs parameter in the same call. - */ - MaxResults?: Integer; - /** - * The token to retrieve the next page of results. - */ - NextToken?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * When true, includes the health status for all instances. When false, includes the health status for running instances only. Default: false - */ - IncludeAllInstances?: Boolean; - } - export interface DescribeInstanceStatusResult { - /** - * One or more instance status descriptions. - */ - InstanceStatuses?: InstanceStatusList; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeInstancesRequest { - /** - * One or more filters. affinity - The affinity setting for an instance running on a Dedicated Host (default | host). architecture - The instance architecture (i386 | x86_64). availability-zone - The Availability Zone of the instance. block-device-mapping.attach-time - The attach time for an EBS volume mapped to the instance, for example, 2010-09-15T17:15:20.000Z. block-device-mapping.delete-on-termination - A Boolean that indicates whether the EBS volume is deleted on instance termination. block-device-mapping.device-name - The device name for the EBS volume (for example, /dev/sdh or xvdh). block-device-mapping.status - The status for the EBS volume (attaching | attached | detaching | detached). block-device-mapping.volume-id - The volume ID of the EBS volume. client-token - The idempotency token you provided when you launched the instance. dns-name - The public DNS name of the instance. group-id - The ID of the security group for the instance. EC2-Classic only. group-name - The name of the security group for the instance. EC2-Classic only. host-id - The ID of the Dedicated Host on which the instance is running, if applicable. hypervisor - The hypervisor type of the instance (ovm | xen). iam-instance-profile.arn - The instance profile associated with the instance. Specified as an ARN. image-id - The ID of the image used to launch the instance. instance-id - The ID of the instance. instance-lifecycle - Indicates whether this is a Spot Instance or a Scheduled Instance (spot | scheduled). instance-state-code - The state of the instance, as a 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped). instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped). instance-type - The type of instance (for example, t2.micro). instance.group-id - The ID of the security group for the instance. instance.group-name - The name of the security group for the instance. ip-address - The public IPv4 address of the instance. kernel-id - The kernel ID. key-name - The name of the key pair used when the instance was launched. launch-index - When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on). launch-time - The time when the instance was launched. monitoring-state - Indicates whether detailed monitoring is enabled (disabled | enabled). network-interface.addresses.private-ip-address - The private IPv4 address associated with the network interface. network-interface.addresses.primary - Specifies whether the IPv4 address of the network interface is the primary private IPv4 address. network-interface.addresses.association.public-ip - The ID of the association of an Elastic IP address (IPv4) with a network interface. network-interface.addresses.association.ip-owner-id - The owner ID of the private IPv4 address associated with the network interface. network-interface.association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface. network-interface.association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface. network-interface.association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface. network-interface.association.association-id - The association ID returned when the network interface was associated with an IPv4 address. network-interface.attachment.attachment-id - The ID of the interface attachment. network-interface.attachment.instance-id - The ID of the instance to which the network interface is attached. network-interface.attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached. network-interface.attachment.device-index - The device index to which the network interface is attached. network-interface.attachment.status - The status of the attachment (attaching | attached | detaching | detached). network-interface.attachment.attach-time - The time that the network interface was attached to an instance. network-interface.attachment.delete-on-termination - Specifies whether the attachment is deleted when an instance is terminated. network-interface.availability-zone - The Availability Zone for the network interface. network-interface.description - The description of the network interface. network-interface.group-id - The ID of a security group associated with the network interface. network-interface.group-name - The name of a security group associated with the network interface. network-interface.ipv6-addresses.ipv6-address - The IPv6 address associated with the network interface. network-interface.mac-address - The MAC address of the network interface. network-interface.network-interface-id - The ID of the network interface. network-interface.owner-id - The ID of the owner of the network interface. network-interface.private-dns-name - The private DNS name of the network interface. network-interface.requester-id - The requester ID for the network interface. network-interface.requester-managed - Indicates whether the network interface is being managed by AWS. network-interface.status - The status of the network interface (available) | in-use). network-interface.source-dest-check - Whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC. network-interface.subnet-id - The ID of the subnet for the network interface. network-interface.vpc-id - The ID of the VPC for the network interface. owner-id - The AWS account ID of the instance owner. placement-group-name - The name of the placement group for the instance. platform - The platform. Use windows if you have Windows instances; otherwise, leave blank. private-dns-name - The private IPv4 DNS name of the instance. private-ip-address - The private IPv4 address of the instance. product-code - The product code associated with the AMI used to launch the instance. product-code.type - The type of product code (devpay | marketplace). ramdisk-id - The RAM disk ID. reason - The reason for the current state of the instance (for example, shows "User Initiated [date]" when you stop or terminate the instance). Similar to the state-reason-code filter. requester-id - The ID of the entity that launched the instance on your behalf (for example, AWS Management Console, Auto Scaling, and so on). reservation-id - The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you'll get one reservation ID. If you launch ten instances using the same launch request, you'll also get one reservation ID. root-device-name - The name of the root device for the instance (for example, /dev/sda1 or /dev/xvda). root-device-type - The type of root device that the instance uses (ebs | instance-store). source-dest-check - Indicates whether the instance performs source/destination checking. A value of true means that checking is enabled, and false means checking is disabled. The value must be false for the instance to perform network address translation (NAT) in your VPC. spot-instance-request-id - The ID of the Spot instance request. state-reason-code - The reason code for the state change. state-reason-message - A message that describes the state change. subnet-id - The ID of the subnet for the instance. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. tenancy - The tenancy of an instance (dedicated | default | host). virtualization-type - The virtualization type of the instance (paravirtual | hvm). vpc-id - The ID of the VPC that the instance is running in. - */ - Filters?: FilterList; - /** - * One or more instance IDs. Default: Describes all your instances. - */ - InstanceIds?: InstanceIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. This value can be between 5 and 1000. You cannot specify this parameter and the instance IDs parameter or tag filters in the same call. - */ - MaxResults?: Integer; - /** - * The token to request the next page of results. - */ - NextToken?: String; - } - export interface DescribeInstancesResult { - /** - * Zero or more reservations. - */ - Reservations?: ReservationList; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeInternetGatewaysRequest { - /** - * One or more filters. attachment.state - The current state of the attachment between the gateway and the VPC (available). Present only if a VPC is attached. attachment.vpc-id - The ID of an attached VPC. internet-gateway-id - The ID of the Internet gateway. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more Internet gateway IDs. Default: Describes all your Internet gateways. - */ - InternetGatewayIds?: ValueStringList; - } - export interface DescribeInternetGatewaysResult { - /** - * Information about one or more Internet gateways. - */ - InternetGateways?: InternetGatewayList; - } - export interface DescribeKeyPairsRequest { - /** - * One or more filters. fingerprint - The fingerprint of the key pair. key-name - The name of the key pair. - */ - Filters?: FilterList; - /** - * One or more key pair names. Default: Describes all your key pairs. - */ - KeyNames?: KeyNameStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeKeyPairsResult { - /** - * Information about one or more key pairs. - */ - KeyPairs?: KeyPairList; - } - export interface DescribeMovingAddressesRequest { - /** - * One or more filters. moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic). - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value outside of this range, an error is returned. Default: If no value is provided, the default is 1000. - */ - MaxResults?: Integer; - /** - * The token to use to retrieve the next page of results. - */ - NextToken?: String; - /** - * One or more Elastic IP addresses. - */ - PublicIps?: ValueStringList; - } - export interface DescribeMovingAddressesResult { - /** - * The status for each Elastic IP address. - */ - MovingAddressStatuses?: MovingAddressStatusSet; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeNatGatewaysRequest { - /** - * One or more filters. nat-gateway-id - The ID of the NAT gateway. state - The state of the NAT gateway (pending | failed | available | deleting | deleted). subnet-id - The ID of the subnet in which the NAT gateway resides. vpc-id - The ID of the VPC in which the NAT gateway resides. - */ - Filter?: FilterList; - /** - * The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results. Constraint: If the value specified is greater than 1000, we return only 1000 items. - */ - MaxResults?: Integer; - /** - * One or more NAT gateway IDs. - */ - NatGatewayIds?: ValueStringList; - /** - * The token to retrieve the next page of results. - */ - NextToken?: String; - } - export interface DescribeNatGatewaysResult { - /** - * Information about the NAT gateways. - */ - NatGateways?: NatGatewayList; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeNetworkAclsRequest { - /** - * One or more filters. association.association-id - The ID of an association ID for the ACL. association.network-acl-id - The ID of the network ACL involved in the association. association.subnet-id - The ID of the subnet involved in the association. default - Indicates whether the ACL is the default network ACL for the VPC. entry.cidr - The IPv4 CIDR range specified in the entry. entry.egress - Indicates whether the entry applies to egress traffic. entry.icmp.code - The ICMP code specified in the entry, if any. entry.icmp.type - The ICMP type specified in the entry, if any. entry.ipv6-cidr - The IPv6 CIDR range specified in the entry. entry.port-range.from - The start of the port range specified in the entry. entry.port-range.to - The end of the port range specified in the entry. entry.protocol - The protocol specified in the entry (tcp | udp | icmp or a protocol number). entry.rule-action - Allows or denies the matching traffic (allow | deny). entry.rule-number - The number of an entry (in other words, rule) in the ACL's set of entries. network-acl-id - The ID of the network ACL. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. vpc-id - The ID of the VPC for the network ACL. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more network ACL IDs. Default: Describes all your network ACLs. - */ - NetworkAclIds?: ValueStringList; - } - export interface DescribeNetworkAclsResult { - /** - * Information about one or more network ACLs. - */ - NetworkAcls?: NetworkAclList; - } - export interface DescribeNetworkInterfaceAttributeRequest { - /** - * The attribute of the network interface. This parameter is required. - */ - Attribute?: NetworkInterfaceAttribute; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the network interface. - */ - NetworkInterfaceId: String; - } - export interface DescribeNetworkInterfaceAttributeResult { - /** - * The attachment (if any) of the network interface. - */ - Attachment?: NetworkInterfaceAttachment; - /** - * The description of the network interface. - */ - Description?: AttributeValue; - /** - * The security groups associated with the network interface. - */ - Groups?: GroupIdentifierList; - /** - * The ID of the network interface. - */ - NetworkInterfaceId?: String; - /** - * Indicates whether source/destination checking is enabled. - */ - SourceDestCheck?: AttributeBooleanValue; - } - export interface DescribeNetworkInterfacesRequest { - /** - * One or more filters. addresses.private-ip-address - The private IPv4 addresses associated with the network interface. addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface. addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4). addresses.association.owner-id - The owner ID of the addresses associated with the network interface. association.association-id - The association ID returned when the network interface was associated with an IPv4 address. association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface. association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface. association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface. association.public-dns-name - The public DNS name for the network interface (IPv4). attachment.attachment-id - The ID of the interface attachment. attachment.attach.time - The time that the network interface was attached to an instance. attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated. attachment.device-index - The device index to which the network interface is attached. attachment.instance-id - The ID of the instance to which the network interface is attached. attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached. attachment.nat-gateway-id - The ID of the NAT gateway to which the network interface is attached. attachment.status - The status of the attachment (attaching | attached | detaching | detached). availability-zone - The Availability Zone of the network interface. description - The description of the network interface. group-id - The ID of a security group associated with the network interface. group-name - The name of a security group associated with the network interface. ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface. mac-address - The MAC address of the network interface. network-interface-id - The ID of the network interface. owner-id - The AWS account ID of the network interface owner. private-ip-address - The private IPv4 address or addresses of the network interface. private-dns-name - The private DNS name of the network interface (IPv4). requester-id - The ID of the entity that launched the instance on your behalf (for example, AWS Management Console, Auto Scaling, and so on). requester-managed - Indicates whether the network interface is being managed by an AWS service (for example, AWS Management Console, Auto Scaling, and so on). source-desk-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC. status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use. subnet-id - The ID of the subnet for the network interface. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. vpc-id - The ID of the VPC for the network interface. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more network interface IDs. Default: Describes all your network interfaces. - */ - NetworkInterfaceIds?: NetworkInterfaceIdList; - } - export interface DescribeNetworkInterfacesResult { - /** - * Information about one or more network interfaces. - */ - NetworkInterfaces?: NetworkInterfaceList; - } - export interface DescribePlacementGroupsRequest { - /** - * One or more filters. group-name - The name of the placement group. state - The state of the placement group (pending | available | deleting | deleted). strategy - The strategy of the placement group (cluster). - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more placement group names. Default: Describes all your placement groups, or only those otherwise specified. - */ - GroupNames?: PlacementGroupStringList; - } - export interface DescribePlacementGroupsResult { - /** - * One or more placement groups. - */ - PlacementGroups?: PlacementGroupList; - } - export interface DescribePrefixListsRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more filters. prefix-list-id: The ID of a prefix list. prefix-list-name: The name of a prefix list. - */ - Filters?: FilterList; - /** - * The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results. Constraint: If the value specified is greater than 1000, we return only 1000 items. - */ - MaxResults?: Integer; - /** - * The token for the next set of items to return. (You received this token from a prior call.) - */ - NextToken?: String; - /** - * One or more prefix list IDs. - */ - PrefixListIds?: ValueStringList; - } - export interface DescribePrefixListsResult { - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: String; - /** - * All available prefix lists. - */ - PrefixLists?: PrefixListSet; - } - export interface DescribeRegionsRequest { - /** - * One or more filters. endpoint - The endpoint of the region (for example, ec2.us-east-1.amazonaws.com). region-name - The name of the region (for example, us-east-1). - */ - Filters?: FilterList; - /** - * The names of one or more regions. - */ - RegionNames?: RegionNameStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeRegionsResult { - /** - * Information about one or more regions. - */ - Regions?: RegionList; - } - export interface DescribeReservedInstancesListingsRequest { - /** - * One or more filters. reserved-instances-id - The ID of the Reserved Instances. reserved-instances-listing-id - The ID of the Reserved Instances listing. status - The status of the Reserved Instance listing (pending | active | cancelled | closed). status-message - The reason for the status. - */ - Filters?: FilterList; - /** - * One or more Reserved Instance IDs. - */ - ReservedInstancesId?: String; - /** - * One or more Reserved Instance listing IDs. - */ - ReservedInstancesListingId?: String; - } - export interface DescribeReservedInstancesListingsResult { - /** - * Information about the Reserved Instance listing. - */ - ReservedInstancesListings?: ReservedInstancesListingList; - } - export interface DescribeReservedInstancesModificationsRequest { - /** - * One or more filters. client-token - The idempotency token for the modification request. create-date - The time when the modification request was created. effective-date - The time when the modification becomes effective. modification-result.reserved-instances-id - The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification is fulfilled. modification-result.target-configuration.availability-zone - The Availability Zone for the new Reserved Instances. modification-result.target-configuration.instance-count - The number of new Reserved Instances. modification-result.target-configuration.instance-type - The instance type of the new Reserved Instances. modification-result.target-configuration.platform - The network platform of the new Reserved Instances (EC2-Classic | EC2-VPC). reserved-instances-id - The ID of the Reserved Instances modified. reserved-instances-modification-id - The ID of the modification request. status - The status of the Reserved Instances modification request (processing | fulfilled | failed). status-message - The reason for the status. update-date - The time when the modification request was last updated. - */ - Filters?: FilterList; - /** - * IDs for the submitted modification request. - */ - ReservedInstancesModificationIds?: ReservedInstancesModificationIdStringList; - /** - * The token to retrieve the next page of results. - */ - NextToken?: String; - } - export interface DescribeReservedInstancesModificationsResult { - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * The Reserved Instance modification information. - */ - ReservedInstancesModifications?: ReservedInstancesModificationList; - } - export interface DescribeReservedInstancesOfferingsRequest { - /** - * The Availability Zone in which the Reserved Instance can be used. - */ - AvailabilityZone?: String; - /** - * One or more filters. availability-zone - The Availability Zone where the Reserved Instance can be used. duration - The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000 | 94608000). fixed-price - The purchase price of the Reserved Instance (for example, 9800.0). instance-type - The instance type that is covered by the reservation. marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed. product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC)) reserved-instances-offering-id - The Reserved Instances offering ID. scope - The scope of the Reserved Instance (Availability Zone or Region). usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84). - */ - Filters?: FilterList; - /** - * Include Reserved Instance Marketplace offerings in the response. - */ - IncludeMarketplace?: Boolean; - /** - * The instance type that the reservation will cover (for example, m1.small). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide. - */ - InstanceType?: InstanceType; - /** - * The maximum duration (in seconds) to filter when searching for offerings. Default: 94608000 (3 years) - */ - MaxDuration?: Long; - /** - * The maximum number of instances to filter when searching for offerings. Default: 20 - */ - MaxInstanceCount?: Integer; - /** - * The minimum duration (in seconds) to filter when searching for offerings. Default: 2592000 (1 month) - */ - MinDuration?: Long; - /** - * The offering class of the Reserved Instance. Can be standard or convertible. - */ - OfferingClass?: OfferingClassType; - /** - * The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC. - */ - ProductDescription?: RIProductDescription; - /** - * One or more Reserved Instances offering IDs. - */ - ReservedInstancesOfferingIds?: ReservedInstancesOfferingIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances). Important: The host value cannot be used with this parameter. Use the default or dedicated values only. Default: default - */ - InstanceTenancy?: Tenancy; - /** - * The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. The maximum is 100. Default: 100 - */ - MaxResults?: Integer; - /** - * The token to retrieve the next page of results. - */ - NextToken?: String; - /** - * The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type. - */ - OfferingType?: OfferingTypeValues; - } - export interface DescribeReservedInstancesOfferingsResult { - /** - * A list of Reserved Instances offerings. - */ - ReservedInstancesOfferings?: ReservedInstancesOfferingList; - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeReservedInstancesRequest { - /** - * One or more filters. availability-zone - The Availability Zone where the Reserved Instance can be used. duration - The duration of the Reserved Instance (one year or three years), in seconds (31536000 | 94608000). end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z). fixed-price - The purchase price of the Reserved Instance (for example, 9800.0). instance-type - The instance type that is covered by the reservation. scope - The scope of the Reserved Instance (Region or Availability Zone). product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC)). reserved-instances-id - The ID of the Reserved Instance. start - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z). state - The state of the Reserved Instance (payment-pending | active | payment-failed | retired). tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84). - */ - Filters?: FilterList; - /** - * Describes whether the Reserved Instance is Standard or Convertible. - */ - OfferingClass?: OfferingClassType; - /** - * One or more Reserved Instance IDs. Default: Describes all your Reserved Instances, or only those otherwise specified. - */ - ReservedInstancesIds?: ReservedInstancesIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type. - */ - OfferingType?: OfferingTypeValues; - } - export interface DescribeReservedInstancesResult { - /** - * A list of Reserved Instances. - */ - ReservedInstances?: ReservedInstancesList; - } - export interface DescribeRouteTablesRequest { - /** - * One or more filters. association.route-table-association-id - The ID of an association ID for the route table. association.route-table-id - The ID of the route table involved in the association. association.subnet-id - The ID of the subnet involved in the association. association.main - Indicates whether the route table is the main route table for the VPC (true | false). Route tables that do not have an association ID are not returned in the response. route-table-id - The ID of the route table. route.destination-cidr-block - The IPv4 CIDR range specified in a route in the table. route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table. route.destination-prefix-list-id - The ID (prefix) of the AWS service specified in a route in the table. route.egress-only-internet-gateway-id - The ID of an egress-only Internet gateway specified in a route in the route table. route.gateway-id - The ID of a gateway specified in a route in the table. route.instance-id - The ID of an instance specified in a route in the table. route.nat-gateway-id - The ID of a NAT gateway. route.origin - Describes how the route was created. CreateRouteTable indicates that the route was automatically created when the route table was created; CreateRoute indicates that the route was manually added to the route table; EnableVgwRoutePropagation indicates that the route was propagated by route propagation. route.state - The state of a route in the route table (active | blackhole). The blackhole state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, the specified NAT instance has been terminated, and so on). route.vpc-peering-connection-id - The ID of a VPC peering connection specified in a route in the table. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. vpc-id - The ID of the VPC for the route table. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more route table IDs. Default: Describes all your route tables. - */ - RouteTableIds?: ValueStringList; - } - export interface DescribeRouteTablesResult { - /** - * Information about one or more route tables. - */ - RouteTables?: RouteTableList; - } - export interface DescribeScheduledInstanceAvailabilityRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more filters. availability-zone - The Availability Zone (for example, us-west-2a). instance-type - The instance type (for example, c4.large). network-platform - The network platform (EC2-Classic or EC2-VPC). platform - The platform (Linux/UNIX or Windows). - */ - Filters?: FilterList; - /** - * The time period for the first schedule to start. - */ - FirstSlotStartTimeRange: SlotDateTimeRangeRequest; - /** - * The maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 300. To retrieve the remaining results, make another call with the returned NextToken value. - */ - MaxResults?: Integer; - /** - * The maximum available duration, in hours. This value must be greater than MinSlotDurationInHours and less than 1,720. - */ - MaxSlotDurationInHours?: Integer; - /** - * The minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours. - */ - MinSlotDurationInHours?: Integer; - /** - * The token for the next set of results. - */ - NextToken?: String; - /** - * The schedule recurrence. - */ - Recurrence: ScheduledInstanceRecurrenceRequest; - } - export interface DescribeScheduledInstanceAvailabilityResult { - /** - * The token required to retrieve the next set of results. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * Information about the available Scheduled Instances. - */ - ScheduledInstanceAvailabilitySet?: ScheduledInstanceAvailabilitySet; - } - export interface DescribeScheduledInstancesRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more filters. availability-zone - The Availability Zone (for example, us-west-2a). instance-type - The instance type (for example, c4.large). network-platform - The network platform (EC2-Classic or EC2-VPC). platform - The platform (Linux/UNIX or Windows). - */ - Filters?: FilterList; - /** - * The maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 100. To retrieve the remaining results, make another call with the returned NextToken value. - */ - MaxResults?: Integer; - /** - * The token for the next set of results. - */ - NextToken?: String; - /** - * One or more Scheduled Instance IDs. - */ - ScheduledInstanceIds?: ScheduledInstanceIdRequestSet; - /** - * The time period for the first schedule to start. - */ - SlotStartTimeRange?: SlotStartTimeRangeRequest; - } - export interface DescribeScheduledInstancesResult { - /** - * The token required to retrieve the next set of results. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * Information about the Scheduled Instances. - */ - ScheduledInstanceSet?: ScheduledInstanceSet; - } - export interface DescribeSecurityGroupReferencesRequest { - /** - * Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more security group IDs in your account. - */ - GroupId: GroupIds; - } - export interface DescribeSecurityGroupReferencesResult { - /** - * Information about the VPCs with the referencing security groups. - */ - SecurityGroupReferenceSet?: SecurityGroupReferences; - } - export interface DescribeSecurityGroupsRequest { - /** - * One or more filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters. description - The description of the security group. egress.ip-permission.prefix-list-id - The ID (prefix) of the AWS service to which the security group allows access. group-id - The ID of the security group. group-name - The name of the security group. ip-permission.cidr - An IPv4 CIDR range that has been granted permission in a security group rule. ip-permission.from-port - The start of port range for the TCP and UDP protocols, or an ICMP type number. ip-permission.group-id - The ID of a security group that has been granted permission. ip-permission.group-name - The name of a security group that has been granted permission. ip-permission.ipv6-cidr - An IPv6 CIDR range that has been granted permission in a security group rule. ip-permission.protocol - The IP protocol for the permission (tcp | udp | icmp or a protocol number). ip-permission.to-port - The end of port range for the TCP and UDP protocols, or an ICMP code. ip-permission.user-id - The ID of an AWS account that has been granted permission. owner-id - The AWS account ID of the owner of the security group. tag-key - The key of a tag assigned to the security group. tag-value - The value of a tag assigned to the security group. vpc-id - The ID of the VPC specified when the security group was created. - */ - Filters?: FilterList; - /** - * One or more security group IDs. Required for security groups in a nondefault VPC. Default: Describes all your security groups. - */ - GroupIds?: GroupIdStringList; - /** - * [EC2-Classic and default VPC only] One or more security group names. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, use the group-name filter to describe security groups by name. Default: Describes all your security groups. - */ - GroupNames?: GroupNameStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeSecurityGroupsResult { - /** - * Information about one or more security groups. - */ - SecurityGroups?: SecurityGroupList; - } - export interface DescribeSnapshotAttributeRequest { - /** - * The snapshot attribute you would like to view. - */ - Attribute: SnapshotAttributeName; - /** - * The ID of the EBS snapshot. - */ - SnapshotId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeSnapshotAttributeResult { - /** - * A list of permissions for creating volumes from the snapshot. - */ - CreateVolumePermissions?: CreateVolumePermissionList; - /** - * A list of product codes. - */ - ProductCodes?: ProductCodeList; - /** - * The ID of the EBS snapshot. - */ - SnapshotId?: String; - } - export interface DescribeSnapshotsRequest { - /** - * One or more filters. description - A description of the snapshot. owner-alias - Value from an Amazon-maintained list (amazon | aws-marketplace | microsoft) of snapshot owners. Not to be confused with the user-configured AWS account alias, which is set from the IAM consolew. owner-id - The ID of the AWS account that owns the snapshot. progress - The progress of the snapshot, as a percentage (for example, 80%). snapshot-id - The snapshot ID. start-time - The time stamp when the snapshot was initiated. status - The status of the snapshot (pending | completed | error). tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. volume-id - The ID of the volume the snapshot is for. volume-size - The size of the volume, in GiB. - */ - Filters?: FilterList; - /** - * The maximum number of snapshot results returned by DescribeSnapshots in paginated output. When this parameter is used, DescribeSnapshots only returns MaxResults results in a single page along with a NextToken response element. The remaining results of the initial request can be seen by sending another DescribeSnapshots request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. If this parameter is not used, then DescribeSnapshots returns all results. You cannot specify this parameter and the snapshot IDs parameter in the same request. - */ - MaxResults?: Integer; - /** - * The NextToken value returned from a previous paginated DescribeSnapshots request where MaxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the NextToken value. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * Returns the snapshots owned by the specified owner. Multiple owners can be specified. - */ - OwnerIds?: OwnerStringList; - /** - * One or more AWS accounts IDs that can create volumes from the snapshot. - */ - RestorableByUserIds?: RestorableByStringList; - /** - * One or more snapshot IDs. Default: Describes snapshots for which you have launch permissions. - */ - SnapshotIds?: SnapshotIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeSnapshotsResult { - /** - * Information about the snapshots. - */ - Snapshots?: SnapshotList; - /** - * The NextToken value to include in a future DescribeSnapshots request. When the results of a DescribeSnapshots request exceed MaxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeSpotDatafeedSubscriptionRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeSpotDatafeedSubscriptionResult { - /** - * The Spot instance data feed subscription. - */ - SpotDatafeedSubscription?: SpotDatafeedSubscription; - } - export interface DescribeSpotFleetInstancesRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value. - */ - MaxResults?: Integer; - /** - * The token for the next set of results. - */ - NextToken?: String; - /** - * The ID of the Spot fleet request. - */ - SpotFleetRequestId: String; - } - export interface DescribeSpotFleetInstancesResponse { - /** - * The running instances. Note that this list is refreshed periodically and might be out of date. - */ - ActiveInstances: ActiveInstanceSet; - /** - * The token required to retrieve the next set of results. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * The ID of the Spot fleet request. - */ - SpotFleetRequestId: String; - } - export interface DescribeSpotFleetRequestHistoryRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The type of events to describe. By default, all events are described. - */ - EventType?: EventType; - /** - * The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value. - */ - MaxResults?: Integer; - /** - * The token for the next set of results. - */ - NextToken?: String; - /** - * The ID of the Spot fleet request. - */ - SpotFleetRequestId: String; - /** - * The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). - */ - StartTime: DateTime; - } - export interface DescribeSpotFleetRequestHistoryResponse { - /** - * Information about the events in the history of the Spot fleet request. - */ - HistoryRecords: HistoryRecords; - /** - * The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved. If nextToken indicates that there are more results, this value is not present. - */ - LastEvaluatedTime: DateTime; - /** - * The token required to retrieve the next set of results. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * The ID of the Spot fleet request. - */ - SpotFleetRequestId: String; - /** - * The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). - */ - StartTime: DateTime; - } - export interface DescribeSpotFleetRequestsRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value. - */ - MaxResults?: Integer; - /** - * The token for the next set of results. - */ - NextToken?: String; - /** - * The IDs of the Spot fleet requests. - */ - SpotFleetRequestIds?: ValueStringList; - } - export interface DescribeSpotFleetRequestsResponse { - /** - * The token required to retrieve the next set of results. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * Information about the configuration of your Spot fleet. - */ - SpotFleetRequestConfigs: SpotFleetRequestConfigSet; - } - export interface DescribeSpotInstanceRequestsRequest { - /** - * One or more filters. availability-zone-group - The Availability Zone group. create-time - The time stamp when the Spot instance request was created. fault-code - The fault code related to the request. fault-message - The fault message related to the request. instance-id - The ID of the instance that fulfilled the request. launch-group - The Spot instance launch group. launch.block-device-mapping.delete-on-termination - Indicates whether the Amazon EBS volume is deleted on instance termination. launch.block-device-mapping.device-name - The device name for the Amazon EBS volume (for example, /dev/sdh). launch.block-device-mapping.snapshot-id - The ID of the snapshot used for the Amazon EBS volume. launch.block-device-mapping.volume-size - The size of the Amazon EBS volume, in GiB. launch.block-device-mapping.volume-type - The type of the Amazon EBS volume: gp2 for General Purpose SSD, io1 for Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1for Cold HDD, or standard for Magnetic. launch.group-id - The security group for the instance. launch.image-id - The ID of the AMI. launch.instance-type - The type of instance (for example, m3.medium). launch.kernel-id - The kernel ID. launch.key-name - The name of the key pair the instance launched with. launch.monitoring-enabled - Whether monitoring is enabled for the Spot instance. launch.ramdisk-id - The RAM disk ID. network-interface.network-interface-id - The ID of the network interface. network-interface.device-index - The index of the device for the network interface attachment on the instance. network-interface.subnet-id - The ID of the subnet for the instance. network-interface.description - A description of the network interface. network-interface.private-ip-address - The primary private IP address of the network interface. network-interface.delete-on-termination - Indicates whether the network interface is deleted when the instance is terminated. network-interface.group-id - The ID of the security group associated with the network interface. network-interface.group-name - The name of the security group associated with the network interface. network-interface.addresses.primary - Indicates whether the IP address is the primary private IP address. product-description - The product description associated with the instance (Linux/UNIX | Windows). spot-instance-request-id - The Spot instance request ID. spot-price - The maximum hourly price for any Spot instance launched to fulfill the request. state - The state of the Spot instance request (open | active | closed | cancelled | failed). Spot bid status information can help you track your Amazon EC2 Spot instance requests. For more information, see Spot Bid Status in the Amazon Elastic Compute Cloud User Guide. status-code - The short code describing the most recent evaluation of your Spot instance request. status-message - The message explaining the status of the Spot instance request. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. type - The type of Spot instance request (one-time | persistent). launched-availability-zone - The Availability Zone in which the bid is launched. valid-from - The start date of the request. valid-until - The end date of the request. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more Spot instance request IDs. - */ - SpotInstanceRequestIds?: SpotInstanceRequestIdList; - } - export interface DescribeSpotInstanceRequestsResult { - /** - * One or more Spot instance requests. - */ - SpotInstanceRequests?: SpotInstanceRequestList; - } - export interface DescribeSpotPriceHistoryRequest { - /** - * One or more filters. availability-zone - The Availability Zone for which prices should be returned. instance-type - The type of instance (for example, m3.medium). product-description - The product description for the Spot price (Linux/UNIX | SUSE Linux | Windows | Linux/UNIX (Amazon VPC) | SUSE Linux (Amazon VPC) | Windows (Amazon VPC)). spot-price - The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported). timestamp - The timestamp of the Spot price history, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?). Greater than or less than comparison is not supported. - */ - Filters?: FilterList; - /** - * Filters the results by the specified Availability Zone. - */ - AvailabilityZone?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The date and time, up to the current date, from which to stop retrieving the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). - */ - EndTime?: DateTime; - /** - * Filters the results by the specified instance types. Note that T2 and HS1 instance types are not supported. - */ - InstanceTypes?: InstanceTypeList; - /** - * The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value. - */ - MaxResults?: Integer; - /** - * The token for the next set of results. - */ - NextToken?: String; - /** - * Filters the results by the specified basic product descriptions. - */ - ProductDescriptions?: ProductDescriptionList; - /** - * The date and time, up to the past 90 days, from which to start retrieving the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). - */ - StartTime?: DateTime; - } - export interface DescribeSpotPriceHistoryResult { - /** - * The token required to retrieve the next set of results. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * The historical Spot prices. - */ - SpotPriceHistory?: SpotPriceHistoryList; - } - export interface DescribeStaleSecurityGroupsRequest { - /** - * Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of items to return. (You received this token from a prior call.) - */ - NextToken?: NextToken; - /** - * The ID of the VPC. - */ - VpcId: String; - } - export interface DescribeStaleSecurityGroupsResult { - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: String; - /** - * Information about the stale security groups. - */ - StaleSecurityGroupSet?: StaleSecurityGroupSet; - } - export interface DescribeSubnetsRequest { - /** - * One or more filters. availabilityZone - The Availability Zone for the subnet. You can also use availability-zone as the filter name. available-ip-address-count - The number of IPv4 addresses in the subnet that are available. cidrBlock - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidr-block as the filter names. defaultForAz - Indicates whether this is the default subnet for the Availability Zone. You can also use default-for-az as the filter name. ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet. ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet. ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet. state - The state of the subnet (pending | available). subnet-id - The ID of the subnet. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. vpc-id - The ID of the VPC for the subnet. - */ - Filters?: FilterList; - /** - * One or more subnet IDs. Default: Describes all your subnets. - */ - SubnetIds?: SubnetIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeSubnetsResult { - /** - * Information about one or more subnets. - */ - Subnets?: SubnetList; - } - export interface DescribeTagsRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more filters. key - The tag key. resource-id - The resource ID. resource-type - The resource type (customer-gateway | dhcp-options | image | instance | internet-gateway | network-acl | network-interface | reserved-instances | route-table | security-group | snapshot | spot-instances-request | subnet | volume | vpc | vpn-connection | vpn-gateway). value - The tag value. - */ - Filters?: FilterList; - /** - * The maximum number of results to return in a single call. This value can be between 5 and 1000. To retrieve the remaining results, make another call with the returned NextToken value. - */ - MaxResults?: Integer; - /** - * The token to retrieve the next page of results. - */ - NextToken?: String; - } - export interface DescribeTagsResult { - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return.. - */ - NextToken?: String; - /** - * A list of tags. - */ - Tags?: TagDescriptionList; - } - export interface DescribeVolumeAttributeRequest { - /** - * The attribute of the volume. This parameter is required. - */ - Attribute?: VolumeAttributeName; - /** - * The ID of the volume. - */ - VolumeId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeVolumeAttributeResult { - /** - * The state of autoEnableIO attribute. - */ - AutoEnableIO?: AttributeBooleanValue; - /** - * A list of product codes. - */ - ProductCodes?: ProductCodeList; - /** - * The ID of the volume. - */ - VolumeId?: String; - } - export interface DescribeVolumeStatusRequest { - /** - * One or more filters. action.code - The action code for the event (for example, enable-volume-io). action.description - A description of the action. action.event-id - The event ID associated with the action. availability-zone - The Availability Zone of the instance. event.description - A description of the event. event.event-id - The event ID. event.event-type - The event type (for io-enabled: passed | failed; for io-performance: io-performance:degraded | io-performance:severely-degraded | io-performance:stalled). event.not-after - The latest end time for the event. event.not-before - The earliest start time for the event. volume-status.details-name - The cause for volume-status.status (io-enabled | io-performance). volume-status.details-status - The status of volume-status.details-name (for io-enabled: passed | failed; for io-performance: normal | degraded | severely-degraded | stalled). volume-status.status - The status of the volume (ok | impaired | warning | insufficient-data). - */ - Filters?: FilterList; - /** - * The maximum number of volume results returned by DescribeVolumeStatus in paginated output. When this parameter is used, the request only returns MaxResults results in a single page along with a NextToken response element. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. If this parameter is not used, then DescribeVolumeStatus returns all results. You cannot specify this parameter and the volume IDs parameter in the same request. - */ - MaxResults?: Integer; - /** - * The NextToken value to include in a future DescribeVolumeStatus request. When the results of the request exceed MaxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * One or more volume IDs. Default: Describes all your volumes. - */ - VolumeIds?: VolumeIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeVolumeStatusResult { - /** - * The token to use to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - /** - * A list of volumes. - */ - VolumeStatuses?: VolumeStatusList; - } - export interface DescribeVolumesModificationsRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more volume IDs for which in-progress modifications will be described. - */ - VolumeIds?: VolumeIdStringList; - /** - * One or more filters. Supported filters: volume-id, modification-state, target-size, target-iops, target-volume-type, original-size, original-iops, original-volume-type, start-time. - */ - Filters?: FilterList; - /** - * The nextToken value returned by a previous paginated request. - */ - NextToken?: String; - /** - * The maximum number of results (up to a limit of 500) to be returned in a paginated request. - */ - MaxResults?: Integer; - } - export interface DescribeVolumesModificationsResult { - /** - * A list of returned VolumeModification objects. - */ - VolumesModifications?: VolumeModificationList; - /** - * Token for pagination, null if there are no more results - */ - NextToken?: String; - } - export interface DescribeVolumesRequest { - /** - * One or more filters. attachment.attach-time - The time stamp when the attachment initiated. attachment.delete-on-termination - Whether the volume is deleted on instance termination. attachment.device - The device name that is exposed to the instance (for example, /dev/sda1). attachment.instance-id - The ID of the instance the volume is attached to. attachment.status - The attachment state (attaching | attached | detaching | detached). availability-zone - The Availability Zone in which the volume was created. create-time - The time stamp when the volume was created. encrypted - The encryption status of the volume. size - The size of the volume, in GiB. snapshot-id - The snapshot from which the volume was created. status - The status of the volume (creating | available | in-use | deleting | deleted | error). tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. volume-id - The volume ID. volume-type - The Amazon EBS volume type. This can be gp2 for General Purpose SSD, io1 for Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard for Magnetic volumes. - */ - Filters?: FilterList; - /** - * One or more volume IDs. - */ - VolumeIds?: VolumeIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The maximum number of volume results returned by DescribeVolumes in paginated output. When this parameter is used, DescribeVolumes only returns MaxResults results in a single page along with a NextToken response element. The remaining results of the initial request can be seen by sending another DescribeVolumes request with the returned NextToken value. This value can be between 5 and 500; if MaxResults is given a value larger than 500, only 500 results are returned. If this parameter is not used, then DescribeVolumes returns all results. You cannot specify this parameter and the volume IDs parameter in the same request. - */ - MaxResults?: Integer; - /** - * The NextToken value returned from a previous paginated DescribeVolumes request where MaxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the NextToken value. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeVolumesResult { - /** - * Information about the volumes. - */ - Volumes?: VolumeList; - /** - * The NextToken value to include in a future DescribeVolumes request. When the results of a DescribeVolumes request exceed MaxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - NextToken?: String; - } - export interface DescribeVpcAttributeRequest { - /** - * The VPC attribute. - */ - Attribute: VpcAttributeName; - /** - * The ID of the VPC. - */ - VpcId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeVpcAttributeResult { - /** - * The ID of the VPC. - */ - VpcId?: String; - /** - * Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not. - */ - EnableDnsHostnames?: AttributeBooleanValue; - /** - * Indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not. - */ - EnableDnsSupport?: AttributeBooleanValue; - } - export interface DescribeVpcClassicLinkDnsSupportRequest { - /** - * The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of items to return. (You received this token from a prior call.) - */ - NextToken?: NextToken; - /** - * One or more VPC IDs. - */ - VpcIds?: VpcClassicLinkIdList; - } - export interface DescribeVpcClassicLinkDnsSupportResult { - /** - * The token to use when requesting the next set of items. - */ - NextToken?: NextToken; - /** - * Information about the ClassicLink DNS support status of the VPCs. - */ - Vpcs?: ClassicLinkDnsSupportList; - } - export interface DescribeVpcClassicLinkRequest { - /** - * One or more filters. is-classic-link-enabled - Whether the VPC is enabled for ClassicLink (true | false). tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more VPCs for which you want to describe the ClassicLink status. - */ - VpcIds?: VpcClassicLinkIdList; - } - export interface DescribeVpcClassicLinkResult { - /** - * The ClassicLink status of one or more VPCs. - */ - Vpcs?: VpcClassicLinkList; - } - export interface DescribeVpcEndpointServicesRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results. Constraint: If the value is greater than 1000, we return only 1000 items. - */ - MaxResults?: Integer; - /** - * The token for the next set of items to return. (You received this token from a prior call.) - */ - NextToken?: String; - } - export interface DescribeVpcEndpointServicesResult { - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: String; - /** - * A list of supported AWS services. - */ - ServiceNames?: ValueStringList; - } - export interface DescribeVpcEndpointsRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more filters. service-name: The name of the AWS service. vpc-id: The ID of the VPC in which the endpoint resides. vpc-endpoint-id: The ID of the endpoint. vpc-endpoint-state: The state of the endpoint. (pending | available | deleting | deleted) - */ - Filters?: FilterList; - /** - * The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results. Constraint: If the value is greater than 1000, we return only 1000 items. - */ - MaxResults?: Integer; - /** - * The token for the next set of items to return. (You received this token from a prior call.) - */ - NextToken?: String; - /** - * One or more endpoint IDs. - */ - VpcEndpointIds?: ValueStringList; - } - export interface DescribeVpcEndpointsResult { - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: String; - /** - * Information about the endpoints. - */ - VpcEndpoints?: VpcEndpointSet; - } - export interface DescribeVpcPeeringConnectionsRequest { - /** - * One or more filters. accepter-vpc-info.cidr-block - The IPv4 CIDR block of the peer VPC. accepter-vpc-info.owner-id - The AWS account ID of the owner of the peer VPC. accepter-vpc-info.vpc-id - The ID of the peer VPC. expiration-time - The expiration date and time for the VPC peering connection. requester-vpc-info.cidr-block - The IPv4 CIDR block of the requester's VPC. requester-vpc-info.owner-id - The AWS account ID of the owner of the requester VPC. requester-vpc-info.vpc-id - The ID of the requester VPC. status-code - The status of the VPC peering connection (pending-acceptance | failed | expired | provisioning | active | deleted | rejected). status-message - A message that provides more information about the status of the VPC peering connection, if applicable. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. vpc-peering-connection-id - The ID of the VPC peering connection. - */ - Filters?: FilterList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more VPC peering connection IDs. Default: Describes all your VPC peering connections. - */ - VpcPeeringConnectionIds?: ValueStringList; - } - export interface DescribeVpcPeeringConnectionsResult { - /** - * Information about the VPC peering connections. - */ - VpcPeeringConnections?: VpcPeeringConnectionList; - } - export interface DescribeVpcsRequest { - /** - * One or more filters. cidr - The IPv4 CIDR block of the VPC. The CIDR block you specify must exactly match the VPC's CIDR block for information to be returned for the VPC. Must contain the slash followed by one or two digits (for example, /28). dhcp-options-id - The ID of a set of DHCP options. ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the VPC. ipv6-cidr-block-association.association-id - The association ID for an IPv6 CIDR block associated with the VPC. ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the VPC. isDefault - Indicates whether the VPC is the default VPC. state - The state of the VPC (pending | available). tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. vpc-id - The ID of the VPC. - */ - Filters?: FilterList; - /** - * One or more VPC IDs. Default: Describes all your VPCs. - */ - VpcIds?: VpcIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeVpcsResult { - /** - * Information about one or more VPCs. - */ - Vpcs?: VpcList; - } - export interface DescribeVpnConnectionsRequest { - /** - * One or more filters. customer-gateway-configuration - The configuration information for the customer gateway. customer-gateway-id - The ID of a customer gateway associated with the VPN connection. state - The state of the VPN connection (pending | available | deleting | deleted). option.static-routes-only - Indicates whether the connection has static routes only. Used for devices that do not support Border Gateway Protocol (BGP). route.destination-cidr-block - The destination CIDR block. This corresponds to the subnet used in a customer data center. bgp-asn - The BGP Autonomous System Number (ASN) associated with a BGP device. tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. type - The type of VPN connection. Currently the only supported type is ipsec.1. vpn-connection-id - The ID of the VPN connection. vpn-gateway-id - The ID of a virtual private gateway associated with the VPN connection. - */ - Filters?: FilterList; - /** - * One or more VPN connection IDs. Default: Describes your VPN connections. - */ - VpnConnectionIds?: VpnConnectionIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeVpnConnectionsResult { - /** - * Information about one or more VPN connections. - */ - VpnConnections?: VpnConnectionList; - } - export interface DescribeVpnGatewaysRequest { - /** - * One or more filters. attachment.state - The current state of the attachment between the gateway and the VPC (attaching | attached | detaching | detached). attachment.vpc-id - The ID of an attached VPC. availability-zone - The Availability Zone for the virtual private gateway (if applicable). state - The state of the virtual private gateway (pending | available | deleting | deleted). tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value. tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter. tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter. type - The type of virtual private gateway. Currently the only supported type is ipsec.1. vpn-gateway-id - The ID of the virtual private gateway. - */ - Filters?: FilterList; - /** - * One or more virtual private gateway IDs. Default: Describes all your virtual private gateways. - */ - VpnGatewayIds?: VpnGatewayIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DescribeVpnGatewaysResult { - /** - * Information about one or more virtual private gateways. - */ - VpnGateways?: VpnGatewayList; - } - export interface DetachClassicLinkVpcRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the instance to unlink from the VPC. - */ - InstanceId: String; - /** - * The ID of the VPC to which the instance is linked. - */ - VpcId: String; - } - export interface DetachClassicLinkVpcResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - Return?: Boolean; - } - export interface DetachInternetGatewayRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the Internet gateway. - */ - InternetGatewayId: String; - /** - * The ID of the VPC. - */ - VpcId: String; - } - export interface DetachNetworkInterfaceRequest { - /** - * The ID of the attachment. - */ - AttachmentId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Specifies whether to force a detachment. - */ - Force?: Boolean; - } - export interface DetachVolumeRequest { - /** - * The device name. - */ - Device?: String; - /** - * Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance won't have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures. - */ - Force?: Boolean; - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The ID of the volume. - */ - VolumeId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DetachVpnGatewayRequest { - /** - * The ID of the VPC. - */ - VpcId: String; - /** - * The ID of the virtual private gateway. - */ - VpnGatewayId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export type DeviceType = "ebs"|"instance-store"|string; - export interface DhcpConfiguration { - /** - * The name of a DHCP option. - */ - Key?: String; - /** - * One or more values for the DHCP option. - */ - Values?: DhcpConfigurationValueList; - } - export type DhcpConfigurationList = DhcpConfiguration[]; - export type DhcpConfigurationValueList = AttributeValue[]; - export interface DhcpOptions { - /** - * One or more DHCP options in the set. - */ - DhcpConfigurations?: DhcpConfigurationList; - /** - * The ID of the set of DHCP options. - */ - DhcpOptionsId?: String; - /** - * Any tags assigned to the DHCP options set. - */ - Tags?: TagList; - } - export type DhcpOptionsIdStringList = String[]; - export type DhcpOptionsList = DhcpOptions[]; - export interface DisableVgwRoutePropagationRequest { - /** - * The ID of the virtual private gateway. - */ - GatewayId: String; - /** - * The ID of the route table. - */ - RouteTableId: String; - } - export interface DisableVpcClassicLinkDnsSupportRequest { - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export interface DisableVpcClassicLinkDnsSupportResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - Return?: Boolean; - } - export interface DisableVpcClassicLinkRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the VPC. - */ - VpcId: String; - } - export interface DisableVpcClassicLinkResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - Return?: Boolean; - } - export interface DisassociateAddressRequest { - /** - * [EC2-VPC] The association ID. Required for EC2-VPC. - */ - AssociationId?: String; - /** - * [EC2-Classic] The Elastic IP address. Required for EC2-Classic. - */ - PublicIp?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DisassociateIamInstanceProfileRequest { - /** - * The ID of the IAM instance profile association. - */ - AssociationId: String; - } - export interface DisassociateIamInstanceProfileResult { - /** - * Information about the IAM instance profile association. - */ - IamInstanceProfileAssociation?: IamInstanceProfileAssociation; - } - export interface DisassociateRouteTableRequest { - /** - * The association ID representing the current association between the route table and subnet. - */ - AssociationId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface DisassociateSubnetCidrBlockRequest { - /** - * The association ID for the CIDR block. - */ - AssociationId: String; - } - export interface DisassociateSubnetCidrBlockResult { - /** - * Information about the IPv6 CIDR block association. - */ - Ipv6CidrBlockAssociation?: SubnetIpv6CidrBlockAssociation; - /** - * The ID of the subnet. - */ - SubnetId?: String; - } - export interface DisassociateVpcCidrBlockRequest { - /** - * The association ID for the CIDR block. - */ - AssociationId: String; - } - export interface DisassociateVpcCidrBlockResult { - /** - * Information about the IPv6 CIDR block association. - */ - Ipv6CidrBlockAssociation?: VpcIpv6CidrBlockAssociation; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export interface DiskImage { - /** - * A description of the disk image. - */ - Description?: String; - /** - * Information about the disk image. - */ - Image?: DiskImageDetail; - /** - * Information about the volume. - */ - Volume?: VolumeDetail; - } - export interface DiskImageDescription { - /** - * The checksum computed for the disk image. - */ - Checksum?: String; - /** - * The disk image format. - */ - Format: DiskImageFormat; - /** - * A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide. For information about the import manifest referenced by this API action, see VM Import Manifest. - */ - ImportManifestUrl: String; - /** - * The size of the disk image, in GiB. - */ - Size: Long; - } - export interface DiskImageDetail { - /** - * The size of the disk image, in GiB. - */ - Bytes: Long; - /** - * The disk image format. - */ - Format: DiskImageFormat; - /** - * A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide. For information about the import manifest referenced by this API action, see VM Import Manifest. - */ - ImportManifestUrl: String; - } - export type DiskImageFormat = "VMDK"|"RAW"|"VHD"|string; - export type DiskImageList = DiskImage[]; - export interface DiskImageVolumeDescription { - /** - * The volume identifier. - */ - Id: String; - /** - * The size of the volume, in GiB. - */ - Size?: Long; - } - export type DomainType = "vpc"|"standard"|string; - export type Double = number; - export interface EbsBlockDevice { - /** - * Indicates whether the EBS volume is encrypted. Encrypted Amazon EBS volumes may only be attached to instances that support Amazon EBS encryption. - */ - Encrypted?: Boolean; - /** - * Indicates whether the EBS volume is deleted on instance termination. - */ - DeleteOnTermination?: Boolean; - /** - * The number of I/O operations per second (IOPS) that the volume supports. For io1, this represents the number of IOPS that are provisioned for the volume. For gp2, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. For more information about General Purpose SSD baseline performance, I/O credits, and bursting, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide. Constraint: Range is 100-20000 IOPS for io1 volumes and 100-10000 IOPS for gp2 volumes. Condition: This parameter is required for requests to create io1 volumes; it is not used in requests to create gp2, st1, sc1, or standard volumes. - */ - Iops?: Integer; - /** - * The ID of the snapshot. - */ - SnapshotId?: String; - /** - * The size of the volume, in GiB. Constraints: 1-16384 for General Purpose SSD (gp2), 4-16384 for Provisioned IOPS SSD (io1), 500-16384 for Throughput Optimized HDD (st1), 500-16384 for Cold HDD (sc1), and 1-1024 for Magnetic (standard) volumes. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size. Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size. - */ - VolumeSize?: Integer; - /** - * The volume type: gp2, io1, st1, sc1, or standard. Default: standard - */ - VolumeType?: VolumeType; - } - export interface EbsInstanceBlockDevice { - /** - * The time stamp when the attachment initiated. - */ - AttachTime?: DateTime; - /** - * Indicates whether the volume is deleted on instance termination. - */ - DeleteOnTermination?: Boolean; - /** - * The attachment state. - */ - Status?: AttachmentStatus; - /** - * The ID of the EBS volume. - */ - VolumeId?: String; - } - export interface EbsInstanceBlockDeviceSpecification { - /** - * Indicates whether the volume is deleted on instance termination. - */ - DeleteOnTermination?: Boolean; - /** - * The ID of the EBS volume. - */ - VolumeId?: String; - } - export interface EgressOnlyInternetGateway { - /** - * Information about the attachment of the egress-only Internet gateway. - */ - Attachments?: InternetGatewayAttachmentList; - /** - * The ID of the egress-only Internet gateway. - */ - EgressOnlyInternetGatewayId?: EgressOnlyInternetGatewayId; - } - export type EgressOnlyInternetGatewayId = string; - export type EgressOnlyInternetGatewayIdList = EgressOnlyInternetGatewayId[]; - export type EgressOnlyInternetGatewayList = EgressOnlyInternetGateway[]; - export interface EnableVgwRoutePropagationRequest { - /** - * The ID of the virtual private gateway. - */ - GatewayId: String; - /** - * The ID of the route table. - */ - RouteTableId: String; - } - export interface EnableVolumeIORequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the volume. - */ - VolumeId: String; - } - export interface EnableVpcClassicLinkDnsSupportRequest { - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export interface EnableVpcClassicLinkDnsSupportResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - Return?: Boolean; - } - export interface EnableVpcClassicLinkRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the VPC. - */ - VpcId: String; - } - export interface EnableVpcClassicLinkResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - Return?: Boolean; - } - export type EventCode = "instance-reboot"|"system-reboot"|"system-maintenance"|"instance-retirement"|"instance-stop"|string; - export interface EventInformation { - /** - * The description of the event. - */ - EventDescription?: String; - /** - * The event. The following are the error events. iamFleetRoleInvalid - The Spot fleet did not have the required permissions either to launch or terminate an instance. launchSpecTemporarilyBlacklisted - The configuration is not valid and several attempts to launch instances have failed. For more information, see the description of the event. spotFleetRequestConfigurationInvalid - The configuration is not valid. For more information, see the description of the event. spotInstanceCountLimitExceeded - You've reached the limit on the number of Spot instances that you can launch. The following are the fleetRequestChange events. active - The Spot fleet has been validated and Amazon EC2 is attempting to maintain the target number of running Spot instances. cancelled - The Spot fleet is canceled and has no running Spot instances. The Spot fleet will be deleted two days after its instances were terminated. cancelled_running - The Spot fleet is canceled and will not launch additional Spot instances, but its existing Spot instances continue to run until they are interrupted or terminated. cancelled_terminating - The Spot fleet is canceled and its Spot instances are terminating. expired - The Spot fleet request has expired. A subsequent event indicates that the instances were terminated, if the request was created with TerminateInstancesWithExpiration set. modify_in_progress - A request to modify the Spot fleet request was accepted and is in progress. modify_successful - The Spot fleet request was modified. price_update - The bid price for a launch configuration was adjusted because it was too high. This change is permanent. submitted - The Spot fleet request is being evaluated and Amazon EC2 is preparing to launch the target number of Spot instances. The following are the instanceChange events. launched - A bid was fulfilled and a new instance was launched. terminated - An instance was terminated by the user. - */ - EventSubType?: String; - /** - * The ID of the instance. This information is available only for instanceChange events. - */ - InstanceId?: String; - } - export type EventType = "instanceChange"|"fleetRequestChange"|"error"|string; - export type ExcessCapacityTerminationPolicy = "noTermination"|"default"|string; - export type ExecutableByStringList = String[]; - export type ExportEnvironment = "citrix"|"vmware"|"microsoft"|string; - export interface ExportTask { - /** - * A description of the resource being exported. - */ - Description?: String; - /** - * The ID of the export task. - */ - ExportTaskId?: String; - /** - * Information about the export task. - */ - ExportToS3Task?: ExportToS3Task; - /** - * Information about the instance to export. - */ - InstanceExportDetails?: InstanceExportDetails; - /** - * The state of the export task. - */ - State?: ExportTaskState; - /** - * The status message related to the export task. - */ - StatusMessage?: String; - } - export type ExportTaskIdStringList = String[]; - export type ExportTaskList = ExportTask[]; - export type ExportTaskState = "active"|"cancelling"|"cancelled"|"completed"|string; - export interface ExportToS3Task { - /** - * The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported. - */ - ContainerFormat?: ContainerFormat; - /** - * The format for the exported image. - */ - DiskImageFormat?: DiskImageFormat; - /** - * The S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACP permissions to the AWS account vm-import-export@amazon.com. - */ - S3Bucket?: String; - /** - * The encryption key for your S3 bucket. - */ - S3Key?: String; - } - export interface ExportToS3TaskSpecification { - /** - * The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported. - */ - ContainerFormat?: ContainerFormat; - /** - * The format for the exported image. - */ - DiskImageFormat?: DiskImageFormat; - /** - * The S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACP permissions to the AWS account vm-import-export@amazon.com. - */ - S3Bucket?: String; - /** - * The image is written to a single object in the S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat. - */ - S3Prefix?: String; - } - export interface Filter { - /** - * The name of the filter. Filter names are case-sensitive. - */ - Name?: String; - /** - * One or more filter values. Filter values are case-sensitive. - */ - Values?: ValueStringList; - } - export type FilterList = Filter[]; - export type FleetType = "request"|"maintain"|string; - export type Float = number; - export interface FlowLog { - /** - * The date and time the flow log was created. - */ - CreationTime?: DateTime; - /** - * Information about the error that occurred. Rate limited indicates that CloudWatch logs throttling has been applied for one or more network interfaces, or that you've reached the limit on the number of CloudWatch Logs log groups that you can create. Access error indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. Unknown error indicates an internal error. - */ - DeliverLogsErrorMessage?: String; - /** - * The ARN of the IAM role that posts logs to CloudWatch Logs. - */ - DeliverLogsPermissionArn?: String; - /** - * The status of the logs delivery (SUCCESS | FAILED). - */ - DeliverLogsStatus?: String; - /** - * The flow log ID. - */ - FlowLogId?: String; - /** - * The status of the flow log (ACTIVE). - */ - FlowLogStatus?: String; - /** - * The name of the flow log group. - */ - LogGroupName?: String; - /** - * The ID of the resource on which the flow log was created. - */ - ResourceId?: String; - /** - * The type of traffic captured for the flow log. - */ - TrafficType?: TrafficType; - } - export type FlowLogSet = FlowLog[]; - export type FlowLogsResourceType = "VPC"|"Subnet"|"NetworkInterface"|string; - export interface FpgaImage { - /** - * The FPGA image identifier (AFI ID). - */ - FpgaImageId?: String; - /** - * The global FPGA image identifier (AGFI ID). - */ - FpgaImageGlobalId?: String; - /** - * The name of the AFI. - */ - Name?: String; - /** - * The description of the AFI. - */ - Description?: String; - /** - * The version of the AWS Shell that was used to create the bitstream. - */ - ShellVersion?: String; - /** - * Information about the PCI bus. - */ - PciId?: PciId; - /** - * Information about the state of the AFI. - */ - State?: FpgaImageState; - /** - * The date and time the AFI was created. - */ - CreateTime?: DateTime; - /** - * The time of the most recent update to the AFI. - */ - UpdateTime?: DateTime; - /** - * The AWS account ID of the AFI owner. - */ - OwnerId?: String; - /** - * The alias of the AFI owner. Possible values include self, amazon, and aws-marketplace. - */ - OwnerAlias?: String; - /** - * The product codes for the AFI. - */ - ProductCodes?: ProductCodeList; - /** - * Any tags assigned to the AFI. - */ - Tags?: TagList; - } - export type FpgaImageIdList = String[]; - export type FpgaImageList = FpgaImage[]; - export interface FpgaImageState { - /** - * The state. The following are the possible values: pending - AFI bitstream generation is in progress. available - The AFI is available for use. failed - AFI bitstream generation failed. unavailable - The AFI is no longer available for use. - */ - Code?: FpgaImageStateCode; - /** - * If the state is failed, this is the error message. - */ - Message?: String; - } - export type FpgaImageStateCode = "pending"|"failed"|"available"|"unavailable"|string; - export type GatewayType = "ipsec.1"|string; - export interface GetConsoleOutputRequest { - /** - * The ID of the instance. - */ - InstanceId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface GetConsoleOutputResult { - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The console output, Base64-encoded. If using a command line tool, the tool decodes the output for you. - */ - Output?: String; - /** - * The time the output was last updated. - */ - Timestamp?: DateTime; - } - export interface GetConsoleScreenshotRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the instance. - */ - InstanceId: String; - /** - * When set to true, acts as keystroke input and wakes up an instance that's in standby or "sleep" mode. - */ - WakeUp?: Boolean; - } - export interface GetConsoleScreenshotResult { - /** - * The data that comprises the image. - */ - ImageData?: String; - /** - * The ID of the instance. - */ - InstanceId?: String; - } - export interface GetHostReservationPurchasePreviewRequest { - /** - * The ID/s of the Dedicated Host/s that the reservation will be associated with. - */ - HostIdSet: RequestHostIdSet; - /** - * The offering ID of the reservation. - */ - OfferingId: String; - } - export interface GetHostReservationPurchasePreviewResult { - /** - * The currency in which the totalUpfrontPrice and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD. - */ - CurrencyCode?: CurrencyCodeValues; - /** - * The purchase information of the Dedicated Host Reservation and the Dedicated Hosts associated with it. - */ - Purchase?: PurchaseSet; - /** - * The potential total hourly price of the reservation per hour. - */ - TotalHourlyPrice?: String; - /** - * The potential total upfront price. This is billed immediately. - */ - TotalUpfrontPrice?: String; - } - export interface GetPasswordDataRequest { - /** - * The ID of the Windows instance. - */ - InstanceId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface GetPasswordDataResult { - /** - * The ID of the Windows instance. - */ - InstanceId?: String; - /** - * The password of the instance. - */ - PasswordData?: String; - /** - * The time the data was last updated. - */ - Timestamp?: DateTime; - } - export interface GetReservedInstancesExchangeQuoteRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The IDs of the Convertible Reserved Instances to exchange. - */ - ReservedInstanceIds: ReservedInstanceIdSet; - /** - * The configuration requirements of the Convertible Reserved Instances to exchange for your current Convertible Reserved Instances. - */ - TargetConfigurations?: TargetConfigurationRequestSet; - } - export interface GetReservedInstancesExchangeQuoteResult { - /** - * The currency of the transaction. - */ - CurrencyCode?: String; - /** - * If true, the exchange is valid. If false, the exchange cannot be completed. - */ - IsValidExchange?: Boolean; - /** - * The new end date of the reservation term. - */ - OutputReservedInstancesWillExpireAt?: DateTime; - /** - * The total true upfront charge for the exchange. - */ - PaymentDue?: String; - /** - * The cost associated with the Reserved Instance. - */ - ReservedInstanceValueRollup?: ReservationValue; - /** - * The configuration of your Convertible Reserved Instances. - */ - ReservedInstanceValueSet?: ReservedInstanceReservationValueSet; - /** - * The cost associated with the Reserved Instance. - */ - TargetConfigurationValueRollup?: ReservationValue; - /** - * The values of the target Convertible Reserved Instances. - */ - TargetConfigurationValueSet?: TargetReservationValueSet; - /** - * Describes the reason why the exchange cannot be completed. - */ - ValidationFailureReason?: String; - } - export type GroupIdStringList = String[]; - export interface GroupIdentifier { - /** - * The name of the security group. - */ - GroupName?: String; - /** - * The ID of the security group. - */ - GroupId?: String; - } - export type GroupIdentifierList = GroupIdentifier[]; - export type GroupIds = String[]; - export type GroupNameStringList = String[]; - export interface HistoryRecord { - /** - * Information about the event. - */ - EventInformation: EventInformation; - /** - * The event type. error - Indicates an error with the Spot fleet request. fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request. instanceChange - Indicates that an instance was launched or terminated. - */ - EventType: EventType; - /** - * The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). - */ - Timestamp: DateTime; - } - export type HistoryRecords = HistoryRecord[]; - export interface Host { - /** - * Whether auto-placement is on or off. - */ - AutoPlacement?: AutoPlacement; - /** - * The Availability Zone of the Dedicated Host. - */ - AvailabilityZone?: String; - /** - * The number of new instances that can be launched onto the Dedicated Host. - */ - AvailableCapacity?: AvailableCapacity; - /** - * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide. - */ - ClientToken?: String; - /** - * The ID of the Dedicated Host. - */ - HostId?: String; - /** - * The hardware specifications of the Dedicated Host. - */ - HostProperties?: HostProperties; - /** - * The reservation ID of the Dedicated Host. This returns a null response if the Dedicated Host doesn't have an associated reservation. - */ - HostReservationId?: String; - /** - * The IDs and instance type that are currently running on the Dedicated Host. - */ - Instances?: HostInstanceList; - /** - * The Dedicated Host's state. - */ - State?: AllocationState; - } - export interface HostInstance { - /** - * the IDs of instances that are running on the Dedicated Host. - */ - InstanceId?: String; - /** - * The instance type size (for example, m3.medium) of the running instance. - */ - InstanceType?: String; - } - export type HostInstanceList = HostInstance[]; - export type HostList = Host[]; - export interface HostOffering { - /** - * The currency of the offering. - */ - CurrencyCode?: CurrencyCodeValues; - /** - * The duration of the offering (in seconds). - */ - Duration?: Integer; - /** - * The hourly price of the offering. - */ - HourlyPrice?: String; - /** - * The instance family of the offering. - */ - InstanceFamily?: String; - /** - * The ID of the offering. - */ - OfferingId?: String; - /** - * The available payment option. - */ - PaymentOption?: PaymentOption; - /** - * The upfront price of the offering. Does not apply to No Upfront offerings. - */ - UpfrontPrice?: String; - } - export type HostOfferingSet = HostOffering[]; - export interface HostProperties { - /** - * The number of cores on the Dedicated Host. - */ - Cores?: Integer; - /** - * The instance type size that the Dedicated Host supports (for example, m3.medium). - */ - InstanceType?: String; - /** - * The number of sockets on the Dedicated Host. - */ - Sockets?: Integer; - /** - * The number of vCPUs on the Dedicated Host. - */ - TotalVCpus?: Integer; - } - export interface HostReservation { - /** - * The number of Dedicated Hosts the reservation is associated with. - */ - Count?: Integer; - /** - * The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD. - */ - CurrencyCode?: CurrencyCodeValues; - /** - * The length of the reservation's term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years). - */ - Duration?: Integer; - /** - * The date and time that the reservation ends. - */ - End?: DateTime; - /** - * The IDs of the Dedicated Hosts associated with the reservation. - */ - HostIdSet?: ResponseHostIdSet; - /** - * The ID of the reservation that specifies the associated Dedicated Hosts. - */ - HostReservationId?: String; - /** - * The hourly price of the reservation. - */ - HourlyPrice?: String; - /** - * The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation. - */ - InstanceFamily?: String; - /** - * The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it. - */ - OfferingId?: String; - /** - * The payment option selected for this reservation. - */ - PaymentOption?: PaymentOption; - /** - * The date and time that the reservation started. - */ - Start?: DateTime; - /** - * The state of the reservation. - */ - State?: ReservationState; - /** - * The upfront price of the reservation. - */ - UpfrontPrice?: String; - } - export type HostReservationIdSet = String[]; - export type HostReservationSet = HostReservation[]; - export type HostTenancy = "dedicated"|"host"|string; - export type HypervisorType = "ovm"|"xen"|string; - export interface IamInstanceProfile { - /** - * The Amazon Resource Name (ARN) of the instance profile. - */ - Arn?: String; - /** - * The ID of the instance profile. - */ - Id?: String; - } - export interface IamInstanceProfileAssociation { - /** - * The ID of the association. - */ - AssociationId?: String; - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The IAM instance profile. - */ - IamInstanceProfile?: IamInstanceProfile; - /** - * The state of the association. - */ - State?: IamInstanceProfileAssociationState; - /** - * The time the IAM instance profile was associated with the instance. - */ - Timestamp?: DateTime; - } - export type IamInstanceProfileAssociationSet = IamInstanceProfileAssociation[]; - export type IamInstanceProfileAssociationState = "associating"|"associated"|"disassociating"|"disassociated"|string; - export interface IamInstanceProfileSpecification { - /** - * The Amazon Resource Name (ARN) of the instance profile. - */ - Arn?: String; - /** - * The name of the instance profile. - */ - Name?: String; - } - export interface IcmpTypeCode { - /** - * The ICMP code. A value of -1 means all codes for the specified ICMP type. - */ - Code?: Integer; - /** - * The ICMP type. A value of -1 means all types. - */ - Type?: Integer; - } - export interface IdFormat { - /** - * The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned. - */ - Deadline?: DateTime; - /** - * The type of resource. - */ - Resource?: String; - /** - * Indicates whether longer IDs (17-character IDs) are enabled for the resource. - */ - UseLongIds?: Boolean; - } - export type IdFormatList = IdFormat[]; - export interface Image { - /** - * The architecture of the image. - */ - Architecture?: ArchitectureValues; - /** - * The date and time the image was created. - */ - CreationDate?: String; - /** - * The ID of the AMI. - */ - ImageId?: String; - /** - * The location of the AMI. - */ - ImageLocation?: String; - /** - * The type of image. - */ - ImageType?: ImageTypeValues; - /** - * Indicates whether the image has public launch permissions. The value is true if this image has public launch permissions or false if it has only implicit and explicit launch permissions. - */ - Public?: Boolean; - /** - * The kernel associated with the image, if any. Only applicable for machine images. - */ - KernelId?: String; - /** - * The AWS account ID of the image owner. - */ - OwnerId?: String; - /** - * The value is Windows for Windows AMIs; otherwise blank. - */ - Platform?: PlatformValues; - /** - * Any product codes associated with the AMI. - */ - ProductCodes?: ProductCodeList; - /** - * The RAM disk associated with the image, if any. Only applicable for machine images. - */ - RamdiskId?: String; - /** - * The current state of the AMI. If the state is available, the image is successfully registered and can be used to launch an instance. - */ - State?: ImageState; - /** - * Any block device mapping entries. - */ - BlockDeviceMappings?: BlockDeviceMappingList; - /** - * The description of the AMI that was provided during image creation. - */ - Description?: String; - /** - * Specifies whether enhanced networking with ENA is enabled. - */ - EnaSupport?: Boolean; - /** - * The hypervisor type of the image. - */ - Hypervisor?: HypervisorType; - /** - * The AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner. - */ - ImageOwnerAlias?: String; - /** - * The name of the AMI that was provided during image creation. - */ - Name?: String; - /** - * The device name of the root device (for example, /dev/sda1 or /dev/xvda). - */ - RootDeviceName?: String; - /** - * The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume. - */ - RootDeviceType?: DeviceType; - /** - * Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. - */ - SriovNetSupport?: String; - /** - * The reason for the state change. - */ - StateReason?: StateReason; - /** - * Any tags assigned to the image. - */ - Tags?: TagList; - /** - * The type of virtualization of the AMI. - */ - VirtualizationType?: VirtualizationType; - } - export interface ImageAttribute { - /** - * One or more block device mapping entries. - */ - BlockDeviceMappings?: BlockDeviceMappingList; - /** - * The ID of the AMI. - */ - ImageId?: String; - /** - * One or more launch permissions. - */ - LaunchPermissions?: LaunchPermissionList; - /** - * One or more product codes. - */ - ProductCodes?: ProductCodeList; - /** - * A description for the AMI. - */ - Description?: AttributeValue; - /** - * The kernel ID. - */ - KernelId?: AttributeValue; - /** - * The RAM disk ID. - */ - RamdiskId?: AttributeValue; - /** - * Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. - */ - SriovNetSupport?: AttributeValue; - } - export type ImageAttributeName = "description"|"kernel"|"ramdisk"|"launchPermission"|"productCodes"|"blockDeviceMapping"|"sriovNetSupport"|string; - export interface ImageDiskContainer { - /** - * The description of the disk image. - */ - Description?: String; - /** - * The block device mapping for the disk. - */ - DeviceName?: String; - /** - * The format of the disk image being imported. Valid values: RAW | VHD | VMDK | OVA - */ - Format?: String; - /** - * The ID of the EBS snapshot to be used for importing the snapshot. - */ - SnapshotId?: String; - /** - * The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..) - */ - Url?: String; - /** - * The S3 bucket for the disk image. - */ - UserBucket?: UserBucket; - } - export type ImageDiskContainerList = ImageDiskContainer[]; - export type ImageIdStringList = String[]; - export type ImageList = Image[]; - export type ImageState = "pending"|"available"|"invalid"|"deregistered"|"transient"|"failed"|"error"|string; - export type ImageTypeValues = "machine"|"kernel"|"ramdisk"|string; - export interface ImportImageRequest { - /** - * The architecture of the virtual machine. Valid values: i386 | x86_64 - */ - Architecture?: String; - /** - * The client-specific data. - */ - ClientData?: ClientData; - /** - * The token to enable idempotency for VM import requests. - */ - ClientToken?: String; - /** - * A description string for the import image task. - */ - Description?: String; - /** - * Information about the disk containers. - */ - DiskContainers?: ImageDiskContainerList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The target hypervisor platform. Valid values: xen - */ - Hypervisor?: String; - /** - * The license type to be used for the Amazon Machine Image (AMI) after importing. Note: You may only use BYOL if you have existing licenses with rights to use these licenses in a third party cloud like AWS. For more information, see Prerequisites in the VM Import/Export User Guide. Valid values: AWS | BYOL - */ - LicenseType?: String; - /** - * The operating system of the virtual machine. Valid values: Windows | Linux - */ - Platform?: String; - /** - * The name of the role to use when not using the default role, 'vmimport'. - */ - RoleName?: String; - } - export interface ImportImageResult { - /** - * The architecture of the virtual machine. - */ - Architecture?: String; - /** - * A description of the import task. - */ - Description?: String; - /** - * The target hypervisor of the import task. - */ - Hypervisor?: String; - /** - * The ID of the Amazon Machine Image (AMI) created by the import task. - */ - ImageId?: String; - /** - * The task ID of the import image task. - */ - ImportTaskId?: String; - /** - * The license type of the virtual machine. - */ - LicenseType?: String; - /** - * The operating system of the virtual machine. - */ - Platform?: String; - /** - * The progress of the task. - */ - Progress?: String; - /** - * Information about the snapshots. - */ - SnapshotDetails?: SnapshotDetailList; - /** - * A brief status of the task. - */ - Status?: String; - /** - * A detailed status message of the import task. - */ - StatusMessage?: String; - } - export interface ImportImageTask { - /** - * The architecture of the virtual machine. Valid values: i386 | x86_64 - */ - Architecture?: String; - /** - * A description of the import task. - */ - Description?: String; - /** - * The target hypervisor for the import task. Valid values: xen - */ - Hypervisor?: String; - /** - * The ID of the Amazon Machine Image (AMI) of the imported virtual machine. - */ - ImageId?: String; - /** - * The ID of the import image task. - */ - ImportTaskId?: String; - /** - * The license type of the virtual machine. - */ - LicenseType?: String; - /** - * The description string for the import image task. - */ - Platform?: String; - /** - * The percentage of progress of the import image task. - */ - Progress?: String; - /** - * Information about the snapshots. - */ - SnapshotDetails?: SnapshotDetailList; - /** - * A brief status for the import image task. - */ - Status?: String; - /** - * A descriptive status message for the import image task. - */ - StatusMessage?: String; - } - export type ImportImageTaskList = ImportImageTask[]; - export interface ImportInstanceLaunchSpecification { - /** - * Reserved. - */ - AdditionalInfo?: String; - /** - * The architecture of the instance. - */ - Architecture?: ArchitectureValues; - /** - * One or more security group IDs. - */ - GroupIds?: SecurityGroupIdStringList; - /** - * One or more security group names. - */ - GroupNames?: SecurityGroupStringList; - /** - * Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). - */ - InstanceInitiatedShutdownBehavior?: ShutdownBehavior; - /** - * The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide. - */ - InstanceType?: InstanceType; - /** - * Indicates whether monitoring is enabled. - */ - Monitoring?: Boolean; - /** - * The placement information for the instance. - */ - Placement?: Placement; - /** - * [EC2-VPC] An available IP address from the IP address range of the subnet. - */ - PrivateIpAddress?: String; - /** - * [EC2-VPC] The ID of the subnet in which to launch the instance. - */ - SubnetId?: String; - /** - * The user data to make available to the instance. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text. - */ - UserData?: UserData; - } - export interface ImportInstanceRequest { - /** - * A description for the instance being imported. - */ - Description?: String; - /** - * The disk image. - */ - DiskImages?: DiskImageList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The launch specification. - */ - LaunchSpecification?: ImportInstanceLaunchSpecification; - /** - * The instance operating system. - */ - Platform: PlatformValues; - } - export interface ImportInstanceResult { - /** - * Information about the conversion task. - */ - ConversionTask?: ConversionTask; - } - export interface ImportInstanceTaskDetails { - /** - * A description of the task. - */ - Description?: String; - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The instance operating system. - */ - Platform?: PlatformValues; - /** - * One or more volumes. - */ - Volumes: ImportInstanceVolumeDetailSet; - } - export interface ImportInstanceVolumeDetailItem { - /** - * The Availability Zone where the resulting instance will reside. - */ - AvailabilityZone: String; - /** - * The number of bytes converted so far. - */ - BytesConverted: Long; - /** - * A description of the task. - */ - Description?: String; - /** - * The image. - */ - Image: DiskImageDescription; - /** - * The status of the import of this particular disk image. - */ - Status: String; - /** - * The status information or errors related to the disk image. - */ - StatusMessage?: String; - /** - * The volume. - */ - Volume: DiskImageVolumeDescription; - } - export type ImportInstanceVolumeDetailSet = ImportInstanceVolumeDetailItem[]; - export interface ImportKeyPairRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * A unique name for the key pair. - */ - KeyName: String; - /** - * The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you. - */ - PublicKeyMaterial: _Blob; - } - export interface ImportKeyPairResult { - /** - * The MD5 public key fingerprint as specified in section 4 of RFC 4716. - */ - KeyFingerprint?: String; - /** - * The key pair name you provided. - */ - KeyName?: String; - } - export interface ImportSnapshotRequest { - /** - * The client-specific data. - */ - ClientData?: ClientData; - /** - * Token to enable idempotency for VM import requests. - */ - ClientToken?: String; - /** - * The description string for the import snapshot task. - */ - Description?: String; - /** - * Information about the disk container. - */ - DiskContainer?: SnapshotDiskContainer; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The name of the role to use when not using the default role, 'vmimport'. - */ - RoleName?: String; - } - export interface ImportSnapshotResult { - /** - * A description of the import snapshot task. - */ - Description?: String; - /** - * The ID of the import snapshot task. - */ - ImportTaskId?: String; - /** - * Information about the import snapshot task. - */ - SnapshotTaskDetail?: SnapshotTaskDetail; - } - export interface ImportSnapshotTask { - /** - * A description of the import snapshot task. - */ - Description?: String; - /** - * The ID of the import snapshot task. - */ - ImportTaskId?: String; - /** - * Describes an import snapshot task. - */ - SnapshotTaskDetail?: SnapshotTaskDetail; - } - export type ImportSnapshotTaskList = ImportSnapshotTask[]; - export type ImportTaskIdList = String[]; - export interface ImportVolumeRequest { - /** - * The Availability Zone for the resulting EBS volume. - */ - AvailabilityZone: String; - /** - * A description of the volume. - */ - Description?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The disk image. - */ - Image: DiskImageDetail; - /** - * The volume size. - */ - Volume: VolumeDetail; - } - export interface ImportVolumeResult { - /** - * Information about the conversion task. - */ - ConversionTask?: ConversionTask; - } - export interface ImportVolumeTaskDetails { - /** - * The Availability Zone where the resulting volume will reside. - */ - AvailabilityZone: String; - /** - * The number of bytes converted so far. - */ - BytesConverted: Long; - /** - * The description you provided when starting the import volume task. - */ - Description?: String; - /** - * The image. - */ - Image: DiskImageDescription; - /** - * The volume. - */ - Volume: DiskImageVolumeDescription; - } - export interface Instance { - /** - * The AMI launch index, which can be used to find this instance in the launch group. - */ - AmiLaunchIndex?: Integer; - /** - * The ID of the AMI used to launch the instance. - */ - ImageId?: String; - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The instance type. - */ - InstanceType?: InstanceType; - /** - * The kernel associated with this instance, if applicable. - */ - KernelId?: String; - /** - * The name of the key pair, if this instance was launched with an associated key pair. - */ - KeyName?: String; - /** - * The time the instance was launched. - */ - LaunchTime?: DateTime; - /** - * The monitoring for the instance. - */ - Monitoring?: Monitoring; - /** - * The location where the instance launched, if applicable. - */ - Placement?: Placement; - /** - * The value is Windows for Windows instances; otherwise blank. - */ - Platform?: PlatformValues; - /** - * (IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state. [EC2-VPC] The Amazon-provided DNS server will resolve Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate. - */ - PrivateDnsName?: String; - /** - * The private IPv4 address assigned to the instance. - */ - PrivateIpAddress?: String; - /** - * The product codes attached to this instance, if applicable. - */ - ProductCodes?: ProductCodeList; - /** - * (IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC. - */ - PublicDnsName?: String; - /** - * The public IPv4 address assigned to the instance, if applicable. - */ - PublicIpAddress?: String; - /** - * The RAM disk associated with this instance, if applicable. - */ - RamdiskId?: String; - /** - * The current state of the instance. - */ - State?: InstanceState; - /** - * The reason for the most recent state transition. This might be an empty string. - */ - StateTransitionReason?: String; - /** - * [EC2-VPC] The ID of the subnet in which the instance is running. - */ - SubnetId?: String; - /** - * [EC2-VPC] The ID of the VPC in which the instance is running. - */ - VpcId?: String; - /** - * The architecture of the image. - */ - Architecture?: ArchitectureValues; - /** - * Any block device mapping entries for the instance. - */ - BlockDeviceMappings?: InstanceBlockDeviceMappingList; - /** - * The idempotency token you provided when you launched the instance, if applicable. - */ - ClientToken?: String; - /** - * Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance. - */ - EbsOptimized?: Boolean; - /** - * Specifies whether enhanced networking with ENA is enabled. - */ - EnaSupport?: Boolean; - /** - * The hypervisor type of the instance. - */ - Hypervisor?: HypervisorType; - /** - * The IAM instance profile associated with the instance, if applicable. - */ - IamInstanceProfile?: IamInstanceProfile; - /** - * Indicates whether this is a Spot instance or a Scheduled Instance. - */ - InstanceLifecycle?: InstanceLifecycleType; - /** - * [EC2-VPC] One or more network interfaces for the instance. - */ - NetworkInterfaces?: InstanceNetworkInterfaceList; - /** - * The root device name (for example, /dev/sda1 or /dev/xvda). - */ - RootDeviceName?: String; - /** - * The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume. - */ - RootDeviceType?: DeviceType; - /** - * One or more security groups for the instance. - */ - SecurityGroups?: GroupIdentifierList; - /** - * Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide. - */ - SourceDestCheck?: Boolean; - /** - * If the request is a Spot instance request, the ID of the request. - */ - SpotInstanceRequestId?: String; - /** - * Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. - */ - SriovNetSupport?: String; - /** - * The reason for the most recent state transition. - */ - StateReason?: StateReason; - /** - * Any tags assigned to the instance. - */ - Tags?: TagList; - /** - * The virtualization type of the instance. - */ - VirtualizationType?: VirtualizationType; - } - export interface InstanceAttribute { - /** - * The security groups associated with the instance. - */ - Groups?: GroupIdentifierList; - /** - * The block device mapping of the instance. - */ - BlockDeviceMappings?: InstanceBlockDeviceMappingList; - /** - * If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can. - */ - DisableApiTermination?: AttributeBooleanValue; - /** - * Indicates whether enhanced networking with ENA is enabled. - */ - EnaSupport?: AttributeBooleanValue; - /** - * Indicates whether the instance is optimized for EBS I/O. - */ - EbsOptimized?: AttributeBooleanValue; - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). - */ - InstanceInitiatedShutdownBehavior?: AttributeValue; - /** - * The instance type. - */ - InstanceType?: AttributeValue; - /** - * The kernel ID. - */ - KernelId?: AttributeValue; - /** - * A list of product codes. - */ - ProductCodes?: ProductCodeList; - /** - * The RAM disk ID. - */ - RamdiskId?: AttributeValue; - /** - * The name of the root device (for example, /dev/sda1 or /dev/xvda). - */ - RootDeviceName?: AttributeValue; - /** - * Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. - */ - SourceDestCheck?: AttributeBooleanValue; - /** - * Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. - */ - SriovNetSupport?: AttributeValue; - /** - * The user data. - */ - UserData?: AttributeValue; - } - export type InstanceAttributeName = "instanceType"|"kernel"|"ramdisk"|"userData"|"disableApiTermination"|"instanceInitiatedShutdownBehavior"|"rootDeviceName"|"blockDeviceMapping"|"productCodes"|"sourceDestCheck"|"groupSet"|"ebsOptimized"|"sriovNetSupport"|"enaSupport"|string; - export interface InstanceBlockDeviceMapping { - /** - * The device name exposed to the instance (for example, /dev/sdh or xvdh). - */ - DeviceName?: String; - /** - * Parameters used to automatically set up EBS volumes when the instance is launched. - */ - Ebs?: EbsInstanceBlockDevice; - } - export type InstanceBlockDeviceMappingList = InstanceBlockDeviceMapping[]; - export interface InstanceBlockDeviceMappingSpecification { - /** - * The device name exposed to the instance (for example, /dev/sdh or xvdh). - */ - DeviceName?: String; - /** - * Parameters used to automatically set up EBS volumes when the instance is launched. - */ - Ebs?: EbsInstanceBlockDeviceSpecification; - /** - * suppress the specified device included in the block device mapping. - */ - NoDevice?: String; - /** - * The virtual device name. - */ - VirtualName?: String; - } - export type InstanceBlockDeviceMappingSpecificationList = InstanceBlockDeviceMappingSpecification[]; - export interface InstanceCapacity { - /** - * The number of instances that can still be launched onto the Dedicated Host. - */ - AvailableCapacity?: Integer; - /** - * The instance type size supported by the Dedicated Host. - */ - InstanceType?: String; - /** - * The total number of instances that can be launched onto the Dedicated Host. - */ - TotalCapacity?: Integer; - } - export interface InstanceCount { - /** - * The number of listed Reserved Instances in the state specified by the state. - */ - InstanceCount?: Integer; - /** - * The states of the listed Reserved Instances. - */ - State?: ListingState; - } - export type InstanceCountList = InstanceCount[]; - export interface InstanceExportDetails { - /** - * The ID of the resource being exported. - */ - InstanceId?: String; - /** - * The target virtualization environment. - */ - TargetEnvironment?: ExportEnvironment; - } - export type InstanceHealthStatus = "healthy"|"unhealthy"|string; - export type InstanceIdSet = String[]; - export type InstanceIdStringList = String[]; - export interface InstanceIpv6Address { - /** - * The IPv6 address. - */ - Ipv6Address?: String; - } - export type InstanceIpv6AddressList = InstanceIpv6Address[]; - export type InstanceLifecycleType = "spot"|"scheduled"|string; - export type InstanceList = Instance[]; - export interface InstanceMonitoring { - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The monitoring for the instance. - */ - Monitoring?: Monitoring; - } - export type InstanceMonitoringList = InstanceMonitoring[]; - export interface InstanceNetworkInterface { - /** - * The association information for an Elastic IPv4 associated with the network interface. - */ - Association?: InstanceNetworkInterfaceAssociation; - /** - * The network interface attachment. - */ - Attachment?: InstanceNetworkInterfaceAttachment; - /** - * The description. - */ - Description?: String; - /** - * One or more security groups. - */ - Groups?: GroupIdentifierList; - /** - * One or more IPv6 addresses associated with the network interface. - */ - Ipv6Addresses?: InstanceIpv6AddressList; - /** - * The MAC address. - */ - MacAddress?: String; - /** - * The ID of the network interface. - */ - NetworkInterfaceId?: String; - /** - * The ID of the AWS account that created the network interface. - */ - OwnerId?: String; - /** - * The private DNS name. - */ - PrivateDnsName?: String; - /** - * The IPv4 address of the network interface within the subnet. - */ - PrivateIpAddress?: String; - /** - * One or more private IPv4 addresses associated with the network interface. - */ - PrivateIpAddresses?: InstancePrivateIpAddressList; - /** - * Indicates whether to validate network traffic to or from this network interface. - */ - SourceDestCheck?: Boolean; - /** - * The status of the network interface. - */ - Status?: NetworkInterfaceStatus; - /** - * The ID of the subnet. - */ - SubnetId?: String; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export interface InstanceNetworkInterfaceAssociation { - /** - * The ID of the owner of the Elastic IP address. - */ - IpOwnerId?: String; - /** - * The public DNS name. - */ - PublicDnsName?: String; - /** - * The public IP address or Elastic IP address bound to the network interface. - */ - PublicIp?: String; - } - export interface InstanceNetworkInterfaceAttachment { - /** - * The time stamp when the attachment initiated. - */ - AttachTime?: DateTime; - /** - * The ID of the network interface attachment. - */ - AttachmentId?: String; - /** - * Indicates whether the network interface is deleted when the instance is terminated. - */ - DeleteOnTermination?: Boolean; - /** - * The index of the device on the instance for the network interface attachment. - */ - DeviceIndex?: Integer; - /** - * The attachment state. - */ - Status?: AttachmentStatus; - } - export type InstanceNetworkInterfaceList = InstanceNetworkInterface[]; - export interface InstanceNetworkInterfaceSpecification { - /** - * Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true. - */ - AssociatePublicIpAddress?: Boolean; - /** - * If set to true, the interface is deleted when the instance is terminated. You can specify true only if creating a new network interface when launching an instance. - */ - DeleteOnTermination?: Boolean; - /** - * The description of the network interface. Applies only if creating a network interface when launching an instance. - */ - Description?: String; - /** - * The index of the device on the instance for the network interface attachment. If you are specifying a network interface in a RunInstances request, you must provide the device index. - */ - DeviceIndex?: Integer; - /** - * The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance. - */ - Groups?: SecurityGroupIdStringList; - /** - * A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch. - */ - Ipv6AddressCount?: Integer; - /** - * One or more IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch. - */ - Ipv6Addresses?: InstanceIpv6AddressList; - /** - * The ID of the network interface. - */ - NetworkInterfaceId?: String; - /** - * The private IPv4 address of the network interface. Applies only if creating a network interface when launching an instance. You cannot specify this option if you're launching more than one instance in a RunInstances request. - */ - PrivateIpAddress?: String; - /** - * One or more private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a RunInstances request. - */ - PrivateIpAddresses?: PrivateIpAddressSpecificationList; - /** - * The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a RunInstances request. - */ - SecondaryPrivateIpAddressCount?: Integer; - /** - * The ID of the subnet associated with the network string. Applies only if creating a network interface when launching an instance. - */ - SubnetId?: String; - } - export type InstanceNetworkInterfaceSpecificationList = InstanceNetworkInterfaceSpecification[]; - export interface InstancePrivateIpAddress { - /** - * The association information for an Elastic IP address for the network interface. - */ - Association?: InstanceNetworkInterfaceAssociation; - /** - * Indicates whether this IPv4 address is the primary private IP address of the network interface. - */ - Primary?: Boolean; - /** - * The private IPv4 DNS name. - */ - PrivateDnsName?: String; - /** - * The private IPv4 address of the network interface. - */ - PrivateIpAddress?: String; - } - export type InstancePrivateIpAddressList = InstancePrivateIpAddress[]; - export interface InstanceState { - /** - * The low byte represents the state. The high byte is an opaque internal value and should be ignored. 0 : pending 16 : running 32 : shutting-down 48 : terminated 64 : stopping 80 : stopped - */ - Code?: Integer; - /** - * The current state of the instance. - */ - Name?: InstanceStateName; - } - export interface InstanceStateChange { - /** - * The current state of the instance. - */ - CurrentState?: InstanceState; - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The previous state of the instance. - */ - PreviousState?: InstanceState; - } - export type InstanceStateChangeList = InstanceStateChange[]; - export type InstanceStateName = "pending"|"running"|"shutting-down"|"terminated"|"stopping"|"stopped"|string; - export interface InstanceStatus { - /** - * The Availability Zone of the instance. - */ - AvailabilityZone?: String; - /** - * Any scheduled events associated with the instance. - */ - Events?: InstanceStatusEventList; - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The intended state of the instance. DescribeInstanceStatus requires that an instance be in the running state. - */ - InstanceState?: InstanceState; - /** - * Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability. - */ - InstanceStatus?: InstanceStatusSummary; - /** - * Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems. - */ - SystemStatus?: InstanceStatusSummary; - } - export interface InstanceStatusDetails { - /** - * The time when a status check failed. For an instance that was launched and impaired, this is the time when the instance was launched. - */ - ImpairedSince?: DateTime; - /** - * The type of instance status. - */ - Name?: StatusName; - /** - * The status. - */ - Status?: StatusType; - } - export type InstanceStatusDetailsList = InstanceStatusDetails[]; - export interface InstanceStatusEvent { - /** - * The event code. - */ - Code?: EventCode; - /** - * A description of the event. After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed]. - */ - Description?: String; - /** - * The latest scheduled end time for the event. - */ - NotAfter?: DateTime; - /** - * The earliest scheduled start time for the event. - */ - NotBefore?: DateTime; - } - export type InstanceStatusEventList = InstanceStatusEvent[]; - export type InstanceStatusList = InstanceStatus[]; - export interface InstanceStatusSummary { - /** - * The system instance health or application instance health. - */ - Details?: InstanceStatusDetailsList; - /** - * The status. - */ - Status?: SummaryStatus; - } - export type InstanceType = "t1.micro"|"t2.nano"|"t2.micro"|"t2.small"|"t2.medium"|"t2.large"|"t2.xlarge"|"t2.2xlarge"|"m1.small"|"m1.medium"|"m1.large"|"m1.xlarge"|"m3.medium"|"m3.large"|"m3.xlarge"|"m3.2xlarge"|"m4.large"|"m4.xlarge"|"m4.2xlarge"|"m4.4xlarge"|"m4.10xlarge"|"m4.16xlarge"|"m2.xlarge"|"m2.2xlarge"|"m2.4xlarge"|"cr1.8xlarge"|"r3.large"|"r3.xlarge"|"r3.2xlarge"|"r3.4xlarge"|"r3.8xlarge"|"r4.large"|"r4.xlarge"|"r4.2xlarge"|"r4.4xlarge"|"r4.8xlarge"|"r4.16xlarge"|"x1.16xlarge"|"x1.32xlarge"|"i2.xlarge"|"i2.2xlarge"|"i2.4xlarge"|"i2.8xlarge"|"i3.large"|"i3.xlarge"|"i3.2xlarge"|"i3.4xlarge"|"i3.8xlarge"|"i3.16xlarge"|"hi1.4xlarge"|"hs1.8xlarge"|"c1.medium"|"c1.xlarge"|"c3.large"|"c3.xlarge"|"c3.2xlarge"|"c3.4xlarge"|"c3.8xlarge"|"c4.large"|"c4.xlarge"|"c4.2xlarge"|"c4.4xlarge"|"c4.8xlarge"|"cc1.4xlarge"|"cc2.8xlarge"|"g2.2xlarge"|"g2.8xlarge"|"cg1.4xlarge"|"p2.xlarge"|"p2.8xlarge"|"p2.16xlarge"|"d2.xlarge"|"d2.2xlarge"|"d2.4xlarge"|"d2.8xlarge"|"f1.2xlarge"|"f1.16xlarge"|string; - export type InstanceTypeList = InstanceType[]; - export type Integer = number; - export interface InternetGateway { - /** - * Any VPCs attached to the Internet gateway. - */ - Attachments?: InternetGatewayAttachmentList; - /** - * The ID of the Internet gateway. - */ - InternetGatewayId?: String; - /** - * Any tags assigned to the Internet gateway. - */ - Tags?: TagList; - } - export interface InternetGatewayAttachment { - /** - * The current state of the attachment. - */ - State?: AttachmentStatus; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export type InternetGatewayAttachmentList = InternetGatewayAttachment[]; - export type InternetGatewayList = InternetGateway[]; - export interface IpPermission { - /** - * The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types. - */ - FromPort?: Integer; - /** - * The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). [EC2-VPC only] Use -1 to specify all protocols. When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or 58 (ICMPv6) allows traffic on all ports, regardless of any port range you specify. For tcp, udp, and icmp, you must specify a port range. For 58 (ICMPv6), you can optionally specify a port range; if you don't, traffic for all types and codes is allowed when authorizing rules. - */ - IpProtocol?: String; - /** - * One or more IPv4 ranges. - */ - IpRanges?: IpRangeList; - /** - * [EC2-VPC only] One or more IPv6 ranges. - */ - Ipv6Ranges?: Ipv6RangeList; - /** - * (Valid for AuthorizeSecurityGroupEgress, RevokeSecurityGroupEgress and DescribeSecurityGroups only) One or more prefix list IDs for an AWS service. In an AuthorizeSecurityGroupEgress request, this is the AWS service that you want to access through a VPC endpoint from instances associated with the security group. - */ - PrefixListIds?: PrefixListIdList; - /** - * The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes for the specified ICMP type. - */ - ToPort?: Integer; - /** - * One or more security group and AWS account ID pairs. - */ - UserIdGroupPairs?: UserIdGroupPairList; - } - export type IpPermissionList = IpPermission[]; - export interface IpRange { - /** - * The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix. - */ - CidrIp?: String; - } - export type IpRangeList = IpRange[]; - export type IpRanges = String[]; - export type Ipv6Address = string; - export type Ipv6AddressList = String[]; - export interface Ipv6CidrBlock { - /** - * The IPv6 CIDR block. - */ - Ipv6CidrBlock?: String; - } - export type Ipv6CidrBlockSet = Ipv6CidrBlock[]; - export interface Ipv6Range { - /** - * The IPv6 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv6 address, use the /128 prefix. - */ - CidrIpv6?: String; - } - export type Ipv6RangeList = Ipv6Range[]; - export type KeyNameStringList = String[]; - export interface KeyPair { - /** - * The SHA-1 digest of the DER encoded private key. - */ - KeyFingerprint?: String; - /** - * An unencrypted PEM encoded RSA private key. - */ - KeyMaterial?: String; - /** - * The name of the key pair. - */ - KeyName?: String; - } - export interface KeyPairInfo { - /** - * If you used CreateKeyPair to create the key pair, this is the SHA-1 digest of the DER encoded private key. If you used ImportKeyPair to provide AWS the public key, this is the MD5 public key fingerprint as specified in section 4 of RFC4716. - */ - KeyFingerprint?: String; - /** - * The name of the key pair. - */ - KeyName?: String; - } - export type KeyPairList = KeyPairInfo[]; - export interface LaunchPermission { - /** - * The name of the group. - */ - Group?: PermissionGroup; - /** - * The AWS account ID. - */ - UserId?: String; - } - export type LaunchPermissionList = LaunchPermission[]; - export interface LaunchPermissionModifications { - /** - * The AWS account ID to add to the list of launch permissions for the AMI. - */ - Add?: LaunchPermissionList; - /** - * The AWS account ID to remove from the list of launch permissions for the AMI. - */ - Remove?: LaunchPermissionList; - } - export interface LaunchSpecification { - /** - * The user data to make available to the instances. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text. - */ - UserData?: String; - /** - * One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups. - */ - SecurityGroups?: GroupIdentifierList; - /** - * Deprecated. - */ - AddressingType?: String; - /** - * One or more block device mapping entries. Although you can specify encrypted EBS volumes in this block device mapping for your Spot Instances, these volumes are not encrypted. - */ - BlockDeviceMappings?: BlockDeviceMappingList; - /** - * Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance. Default: false - */ - EbsOptimized?: Boolean; - /** - * The IAM instance profile. - */ - IamInstanceProfile?: IamInstanceProfileSpecification; - /** - * The ID of the AMI. - */ - ImageId?: String; - /** - * The instance type. - */ - InstanceType?: InstanceType; - /** - * The ID of the kernel. - */ - KernelId?: String; - /** - * The name of the key pair. - */ - KeyName?: String; - /** - * One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface. - */ - NetworkInterfaces?: InstanceNetworkInterfaceSpecificationList; - /** - * The placement information for the instance. - */ - Placement?: SpotPlacement; - /** - * The ID of the RAM disk. - */ - RamdiskId?: String; - /** - * The ID of the subnet in which to launch the instance. - */ - SubnetId?: String; - Monitoring?: RunInstancesMonitoringEnabled; - } - export type LaunchSpecsList = SpotFleetLaunchSpecification[]; - export type ListingState = "available"|"sold"|"cancelled"|"pending"|string; - export type ListingStatus = "active"|"pending"|"cancelled"|"closed"|string; - export type Long = number; - export type MaxResults = number; - export interface ModifyHostsRequest { - /** - * Specify whether to enable or disable auto-placement. - */ - AutoPlacement: AutoPlacement; - /** - * The host IDs of the Dedicated Hosts you want to modify. - */ - HostIds: RequestHostIdList; - } - export interface ModifyHostsResult { - /** - * The IDs of the Dedicated Hosts that were successfully modified. - */ - Successful?: ResponseHostIdList; - /** - * The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used. - */ - Unsuccessful?: UnsuccessfulItemList; - } - export interface ModifyIdFormatRequest { - /** - * The type of resource: instance | reservation | snapshot | volume - */ - Resource: String; - /** - * Indicate whether the resource should use longer IDs (17-character IDs). - */ - UseLongIds: Boolean; - } - export interface ModifyIdentityIdFormatRequest { - /** - * The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all to modify the ID format for all IAM users, IAM roles, and the root user of the account. - */ - PrincipalArn: String; - /** - * The type of resource: instance | reservation | snapshot | volume - */ - Resource: String; - /** - * Indicates whether the resource should use longer IDs (17-character IDs) - */ - UseLongIds: Boolean; - } - export interface ModifyImageAttributeRequest { - /** - * The name of the attribute to modify. - */ - Attribute?: String; - /** - * A description for the AMI. - */ - Description?: AttributeValue; - /** - * The ID of the AMI. - */ - ImageId: String; - /** - * A launch permission modification. - */ - LaunchPermission?: LaunchPermissionModifications; - /** - * The operation type. - */ - OperationType?: OperationType; - /** - * One or more product codes. After you add a product code to an AMI, it can't be removed. This is only valid when modifying the productCodes attribute. - */ - ProductCodes?: ProductCodeStringList; - /** - * One or more user groups. This is only valid when modifying the launchPermission attribute. - */ - UserGroups?: UserGroupStringList; - /** - * One or more AWS account IDs. This is only valid when modifying the launchPermission attribute. - */ - UserIds?: UserIdStringList; - /** - * The value of the attribute being modified. This is only valid when modifying the description attribute. - */ - Value?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface ModifyInstanceAttributeRequest { - /** - * Specifies whether source/destination checking is enabled. A value of true means that checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. - */ - SourceDestCheck?: AttributeBooleanValue; - /** - * The name of the attribute. - */ - Attribute?: InstanceAttributeName; - /** - * Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated. To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the Block Device Mapping when Launching an Instance in the Amazon Elastic Compute Cloud User Guide. - */ - BlockDeviceMappings?: InstanceBlockDeviceMappingSpecificationList; - /** - * If the value is true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this paramater for Spot Instances. - */ - DisableApiTermination?: AttributeBooleanValue; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Specifies whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance. - */ - EbsOptimized?: AttributeBooleanValue; - /** - * Set to true to enable enhanced networking with ENA for the instance. This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable. - */ - EnaSupport?: AttributeBooleanValue; - /** - * [EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name. - */ - Groups?: GroupIdStringList; - /** - * The ID of the instance. - */ - InstanceId: String; - /** - * Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). - */ - InstanceInitiatedShutdownBehavior?: AttributeValue; - /** - * Changes the instance type to the specified value. For more information, see Instance Types. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue. - */ - InstanceType?: AttributeValue; - /** - * Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB. - */ - Kernel?: AttributeValue; - /** - * Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB. - */ - Ramdisk?: AttributeValue; - /** - * Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the instance. There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time. This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable. - */ - SriovNetSupport?: AttributeValue; - /** - * Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text. - */ - UserData?: BlobAttributeValue; - /** - * A new value for the attribute. Use only with the kernel, ramdisk, userData, disableApiTermination, or instanceInitiatedShutdownBehavior attribute. - */ - Value?: String; - } - export interface ModifyInstancePlacementRequest { - /** - * The new affinity setting for the instance. - */ - Affinity?: Affinity; - /** - * The ID of the Dedicated Host that the instance will have affinity with. - */ - HostId?: String; - /** - * The ID of the instance that you are modifying. - */ - InstanceId: String; - /** - * The tenancy of the instance that you are modifying. - */ - Tenancy?: HostTenancy; - } - export interface ModifyInstancePlacementResult { - /** - * Is true if the request succeeds, and an error otherwise. - */ - Return?: Boolean; - } - export interface ModifyNetworkInterfaceAttributeRequest { - /** - * Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment. - */ - Attachment?: NetworkInterfaceAttachmentChanges; - /** - * A description for the network interface. - */ - Description?: AttributeValue; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name. - */ - Groups?: SecurityGroupIdStringList; - /** - * The ID of the network interface. - */ - NetworkInterfaceId: String; - /** - * Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide. - */ - SourceDestCheck?: AttributeBooleanValue; - } - export interface ModifyReservedInstancesRequest { - /** - * The IDs of the Reserved Instances to modify. - */ - ReservedInstancesIds: ReservedInstancesIdStringList; - /** - * A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency. - */ - ClientToken?: String; - /** - * The configuration settings for the Reserved Instances to modify. - */ - TargetConfigurations: ReservedInstancesConfigurationList; - } - export interface ModifyReservedInstancesResult { - /** - * The ID for the modification. - */ - ReservedInstancesModificationId?: String; - } - export interface ModifySnapshotAttributeRequest { - /** - * The snapshot attribute to modify. Only volume creation permissions may be modified at the customer level. - */ - Attribute?: SnapshotAttributeName; - /** - * A JSON representation of the snapshot attribute modification. - */ - CreateVolumePermission?: CreateVolumePermissionModifications; - /** - * The group to modify for the snapshot. - */ - GroupNames?: GroupNameStringList; - /** - * The type of operation to perform to the attribute. - */ - OperationType?: OperationType; - /** - * The ID of the snapshot. - */ - SnapshotId: String; - /** - * The account ID to modify for the snapshot. - */ - UserIds?: UserIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface ModifySpotFleetRequestRequest { - /** - * Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet. - */ - ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy; - /** - * The ID of the Spot fleet request. - */ - SpotFleetRequestId: String; - /** - * The size of the fleet. - */ - TargetCapacity?: Integer; - } - export interface ModifySpotFleetRequestResponse { - /** - * Is true if the request succeeds, and an error otherwise. - */ - Return?: Boolean; - } - export interface ModifySubnetAttributeRequest { - /** - * Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives an IPv6 address). If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an IPv6 address if it's created using version 2016-11-15 or later of the Amazon EC2 API. - */ - AssignIpv6AddressOnCreation?: AttributeBooleanValue; - /** - * Specify true to indicate that network interfaces created in the specified subnet should be assigned a public IPv4 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives a public IPv4 address). - */ - MapPublicIpOnLaunch?: AttributeBooleanValue; - /** - * The ID of the subnet. - */ - SubnetId: String; - } - export interface ModifyVolumeAttributeRequest { - /** - * Indicates whether the volume should be auto-enabled for I/O operations. - */ - AutoEnableIO?: AttributeBooleanValue; - /** - * The ID of the volume. - */ - VolumeId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface ModifyVolumeRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - VolumeId: String; - /** - * Target size in GiB of the volume to be modified. Target volume size must be greater than or equal to than the existing size of the volume. For information about available EBS volume sizes, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html. Default: If no size is specified, the existing size is retained. - */ - Size?: Integer; - /** - * Target EBS volume type of the volume to be modified The API does not support modifications for volume type standard. You also cannot change the type of a volume to standard. Default: If no type is specified, the existing type is retained. - */ - VolumeType?: VolumeType; - /** - * Target IOPS rate of the volume to be modified. Only valid for Provisioned IOPS SSD (io1) volumes. For more information about io1 IOPS configuration, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops. Default: If no IOPS value is specified, the existing value is retained. - */ - Iops?: Integer; - } - export interface ModifyVolumeResult { - /** - * A VolumeModification object. - */ - VolumeModification?: VolumeModification; - } - export interface ModifyVpcAttributeRequest { - /** - * Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support. - */ - EnableDnsHostnames?: AttributeBooleanValue; - /** - * Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. - */ - EnableDnsSupport?: AttributeBooleanValue; - /** - * The ID of the VPC. - */ - VpcId: String; - } - export interface ModifyVpcEndpointRequest { - /** - * One or more route tables IDs to associate with the endpoint. - */ - AddRouteTableIds?: ValueStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * A policy document to attach to the endpoint. The policy must be in valid JSON format. - */ - PolicyDocument?: String; - /** - * One or more route table IDs to disassociate from the endpoint. - */ - RemoveRouteTableIds?: ValueStringList; - /** - * Specify true to reset the policy document to the default policy. The default policy allows access to the service. - */ - ResetPolicy?: Boolean; - /** - * The ID of the endpoint. - */ - VpcEndpointId: String; - } - export interface ModifyVpcEndpointResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - Return?: Boolean; - } - export interface ModifyVpcPeeringConnectionOptionsRequest { - /** - * The VPC peering connection options for the accepter VPC. - */ - AccepterPeeringConnectionOptions?: PeeringConnectionOptionsRequest; - /** - * Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The VPC peering connection options for the requester VPC. - */ - RequesterPeeringConnectionOptions?: PeeringConnectionOptionsRequest; - /** - * The ID of the VPC peering connection. - */ - VpcPeeringConnectionId: String; - } - export interface ModifyVpcPeeringConnectionOptionsResult { - /** - * Information about the VPC peering connection options for the accepter VPC. - */ - AccepterPeeringConnectionOptions?: PeeringConnectionOptions; - /** - * Information about the VPC peering connection options for the requester VPC. - */ - RequesterPeeringConnectionOptions?: PeeringConnectionOptions; - } - export interface MonitorInstancesRequest { - /** - * One or more instance IDs. - */ - InstanceIds: InstanceIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface MonitorInstancesResult { - /** - * The monitoring information. - */ - InstanceMonitorings?: InstanceMonitoringList; - } - export interface Monitoring { - /** - * Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled. - */ - State?: MonitoringState; - } - export type MonitoringState = "disabled"|"disabling"|"enabled"|"pending"|string; - export interface MoveAddressToVpcRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The Elastic IP address. - */ - PublicIp: String; - } - export interface MoveAddressToVpcResult { - /** - * The allocation ID for the Elastic IP address. - */ - AllocationId?: String; - /** - * The status of the move of the IP address. - */ - Status?: Status; - } - export type MoveStatus = "movingToVpc"|"restoringToClassic"|string; - export interface MovingAddressStatus { - /** - * The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform. - */ - MoveStatus?: MoveStatus; - /** - * The Elastic IP address. - */ - PublicIp?: String; - } - export type MovingAddressStatusSet = MovingAddressStatus[]; - export interface NatGateway { - /** - * The date and time the NAT gateway was created. - */ - CreateTime?: DateTime; - /** - * The date and time the NAT gateway was deleted, if applicable. - */ - DeleteTime?: DateTime; - /** - * If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound) - */ - FailureCode?: String; - /** - * If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code. For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway" For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached" For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway" For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated" For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again." For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found." - */ - FailureMessage?: String; - /** - * Information about the IP addresses and network interface associated with the NAT gateway. - */ - NatGatewayAddresses?: NatGatewayAddressList; - /** - * The ID of the NAT gateway. - */ - NatGatewayId?: String; - /** - * Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center. - */ - ProvisionedBandwidth?: ProvisionedBandwidth; - /** - * The state of the NAT gateway. pending: The NAT gateway is being created and is not ready to process traffic. failed: The NAT gateway could not be created. Check the failureCode and failureMessage fields for the reason. available: The NAT gateway is able to process traffic. This status remains until you delete the NAT gateway, and does not indicate the health of the NAT gateway. deleting: The NAT gateway is in the process of being terminated and may still be processing traffic. deleted: The NAT gateway has been terminated and is no longer processing traffic. - */ - State?: NatGatewayState; - /** - * The ID of the subnet in which the NAT gateway is located. - */ - SubnetId?: String; - /** - * The ID of the VPC in which the NAT gateway is located. - */ - VpcId?: String; - } - export interface NatGatewayAddress { - /** - * The allocation ID of the Elastic IP address that's associated with the NAT gateway. - */ - AllocationId?: String; - /** - * The ID of the network interface associated with the NAT gateway. - */ - NetworkInterfaceId?: String; - /** - * The private IP address associated with the Elastic IP address. - */ - PrivateIp?: String; - /** - * The Elastic IP address associated with the NAT gateway. - */ - PublicIp?: String; - } - export type NatGatewayAddressList = NatGatewayAddress[]; - export type NatGatewayList = NatGateway[]; - export type NatGatewayState = "pending"|"failed"|"available"|"deleting"|"deleted"|string; - export interface NetworkAcl { - /** - * Any associations between the network ACL and one or more subnets - */ - Associations?: NetworkAclAssociationList; - /** - * One or more entries (rules) in the network ACL. - */ - Entries?: NetworkAclEntryList; - /** - * Indicates whether this is the default network ACL for the VPC. - */ - IsDefault?: Boolean; - /** - * The ID of the network ACL. - */ - NetworkAclId?: String; - /** - * Any tags assigned to the network ACL. - */ - Tags?: TagList; - /** - * The ID of the VPC for the network ACL. - */ - VpcId?: String; - } - export interface NetworkAclAssociation { - /** - * The ID of the association between a network ACL and a subnet. - */ - NetworkAclAssociationId?: String; - /** - * The ID of the network ACL. - */ - NetworkAclId?: String; - /** - * The ID of the subnet. - */ - SubnetId?: String; - } - export type NetworkAclAssociationList = NetworkAclAssociation[]; - export interface NetworkAclEntry { - /** - * The IPv4 network range to allow or deny, in CIDR notation. - */ - CidrBlock?: String; - /** - * Indicates whether the rule is an egress rule (applied to traffic leaving the subnet). - */ - Egress?: Boolean; - /** - * ICMP protocol: The ICMP type and code. - */ - IcmpTypeCode?: IcmpTypeCode; - /** - * The IPv6 network range to allow or deny, in CIDR notation. - */ - Ipv6CidrBlock?: String; - /** - * TCP or UDP protocols: The range of ports the rule applies to. - */ - PortRange?: PortRange; - /** - * The protocol. A value of -1 means all protocols. - */ - Protocol?: String; - /** - * Indicates whether to allow or deny the traffic that matches the rule. - */ - RuleAction?: RuleAction; - /** - * The rule number for the entry. ACL entries are processed in ascending order by rule number. - */ - RuleNumber?: Integer; - } - export type NetworkAclEntryList = NetworkAclEntry[]; - export type NetworkAclList = NetworkAcl[]; - export interface NetworkInterface { - /** - * The association information for an Elastic IP address (IPv4) associated with the network interface. - */ - Association?: NetworkInterfaceAssociation; - /** - * The network interface attachment. - */ - Attachment?: NetworkInterfaceAttachment; - /** - * The Availability Zone. - */ - AvailabilityZone?: String; - /** - * A description. - */ - Description?: String; - /** - * Any security groups for the network interface. - */ - Groups?: GroupIdentifierList; - /** - * The type of interface. - */ - InterfaceType?: NetworkInterfaceType; - /** - * The IPv6 addresses associated with the network interface. - */ - Ipv6Addresses?: NetworkInterfaceIpv6AddressesList; - /** - * The MAC address. - */ - MacAddress?: String; - /** - * The ID of the network interface. - */ - NetworkInterfaceId?: String; - /** - * The AWS account ID of the owner of the network interface. - */ - OwnerId?: String; - /** - * The private DNS name. - */ - PrivateDnsName?: String; - /** - * The IPv4 address of the network interface within the subnet. - */ - PrivateIpAddress?: String; - /** - * The private IPv4 addresses associated with the network interface. - */ - PrivateIpAddresses?: NetworkInterfacePrivateIpAddressList; - /** - * The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling). - */ - RequesterId?: String; - /** - * Indicates whether the network interface is being managed by AWS. - */ - RequesterManaged?: Boolean; - /** - * Indicates whether traffic to or from the instance is validated. - */ - SourceDestCheck?: Boolean; - /** - * The status of the network interface. - */ - Status?: NetworkInterfaceStatus; - /** - * The ID of the subnet. - */ - SubnetId?: String; - /** - * Any tags assigned to the network interface. - */ - TagSet?: TagList; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export interface NetworkInterfaceAssociation { - /** - * The allocation ID. - */ - AllocationId?: String; - /** - * The association ID. - */ - AssociationId?: String; - /** - * The ID of the Elastic IP address owner. - */ - IpOwnerId?: String; - /** - * The public DNS name. - */ - PublicDnsName?: String; - /** - * The address of the Elastic IP address bound to the network interface. - */ - PublicIp?: String; - } - export interface NetworkInterfaceAttachment { - /** - * The timestamp indicating when the attachment initiated. - */ - AttachTime?: DateTime; - /** - * The ID of the network interface attachment. - */ - AttachmentId?: String; - /** - * Indicates whether the network interface is deleted when the instance is terminated. - */ - DeleteOnTermination?: Boolean; - /** - * The device index of the network interface attachment on the instance. - */ - DeviceIndex?: Integer; - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The AWS account ID of the owner of the instance. - */ - InstanceOwnerId?: String; - /** - * The attachment state. - */ - Status?: AttachmentStatus; - } - export interface NetworkInterfaceAttachmentChanges { - /** - * The ID of the network interface attachment. - */ - AttachmentId?: String; - /** - * Indicates whether the network interface is deleted when the instance is terminated. - */ - DeleteOnTermination?: Boolean; - } - export type NetworkInterfaceAttribute = "description"|"groupSet"|"sourceDestCheck"|"attachment"|string; - export type NetworkInterfaceIdList = String[]; - export interface NetworkInterfaceIpv6Address { - /** - * The IPv6 address. - */ - Ipv6Address?: String; - } - export type NetworkInterfaceIpv6AddressesList = NetworkInterfaceIpv6Address[]; - export type NetworkInterfaceList = NetworkInterface[]; - export interface NetworkInterfacePrivateIpAddress { - /** - * The association information for an Elastic IP address (IPv4) associated with the network interface. - */ - Association?: NetworkInterfaceAssociation; - /** - * Indicates whether this IPv4 address is the primary private IPv4 address of the network interface. - */ - Primary?: Boolean; - /** - * The private DNS name. - */ - PrivateDnsName?: String; - /** - * The private IPv4 address. - */ - PrivateIpAddress?: String; - } - export type NetworkInterfacePrivateIpAddressList = NetworkInterfacePrivateIpAddress[]; - export type NetworkInterfaceStatus = "available"|"attaching"|"in-use"|"detaching"|string; - export type NetworkInterfaceType = "interface"|"natGateway"|string; - export interface NewDhcpConfiguration { - Key?: String; - Values?: ValueStringList; - } - export type NewDhcpConfigurationList = NewDhcpConfiguration[]; - export type NextToken = string; - export type OccurrenceDayRequestSet = Integer[]; - export type OccurrenceDaySet = Integer[]; - export type OfferingClassType = "standard"|"convertible"|string; - export type OfferingTypeValues = "Heavy Utilization"|"Medium Utilization"|"Light Utilization"|"No Upfront"|"Partial Upfront"|"All Upfront"|string; - export type OperationType = "add"|"remove"|string; - export type OwnerStringList = String[]; - export type PaymentOption = "AllUpfront"|"PartialUpfront"|"NoUpfront"|string; - export interface PciId { - /** - * The ID of the device. - */ - DeviceId?: String; - /** - * The ID of the vendor. - */ - VendorId?: String; - /** - * The ID of the subsystem. - */ - SubsystemId?: String; - /** - * The ID of the vendor for the subsystem. - */ - SubsystemVendorId?: String; - } - export interface PeeringConnectionOptions { - /** - * If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. - */ - AllowDnsResolutionFromRemoteVpc?: Boolean; - /** - * If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC. - */ - AllowEgressFromLocalClassicLinkToRemoteVpc?: Boolean; - /** - * If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink. - */ - AllowEgressFromLocalVpcToRemoteClassicLink?: Boolean; - } - export interface PeeringConnectionOptionsRequest { - /** - * If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. - */ - AllowDnsResolutionFromRemoteVpc?: Boolean; - /** - * If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC. - */ - AllowEgressFromLocalClassicLinkToRemoteVpc?: Boolean; - /** - * If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink. - */ - AllowEgressFromLocalVpcToRemoteClassicLink?: Boolean; - } - export type PermissionGroup = "all"|string; - export interface Placement { - /** - * The Availability Zone of the instance. - */ - AvailabilityZone?: String; - /** - * The affinity setting for the instance on the Dedicated Host. This parameter is not supported for the ImportInstance command. - */ - Affinity?: String; - /** - * The name of the placement group the instance is in (for cluster compute instances). - */ - GroupName?: String; - /** - * The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the ImportInstance command. - */ - HostId?: String; - /** - * The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for the ImportInstance command. - */ - Tenancy?: Tenancy; - /** - * Reserved for future use. - */ - SpreadDomain?: String; - } - export interface PlacementGroup { - /** - * The name of the placement group. - */ - GroupName?: String; - /** - * The state of the placement group. - */ - State?: PlacementGroupState; - /** - * The placement strategy. - */ - Strategy?: PlacementStrategy; - } - export type PlacementGroupList = PlacementGroup[]; - export type PlacementGroupState = "pending"|"available"|"deleting"|"deleted"|string; - export type PlacementGroupStringList = String[]; - export type PlacementStrategy = "cluster"|string; - export type PlatformValues = "Windows"|string; - export interface PortRange { - /** - * The first port in the range. - */ - From?: Integer; - /** - * The last port in the range. - */ - To?: Integer; - } - export interface PrefixList { - /** - * The IP address range of the AWS service. - */ - Cidrs?: ValueStringList; - /** - * The ID of the prefix. - */ - PrefixListId?: String; - /** - * The name of the prefix. - */ - PrefixListName?: String; - } - export interface PrefixListId { - /** - * The ID of the prefix. - */ - PrefixListId?: String; - } - export type PrefixListIdList = PrefixListId[]; - export type PrefixListIdSet = String[]; - export type PrefixListSet = PrefixList[]; - export interface PriceSchedule { - /** - * The current price schedule, as determined by the term remaining for the Reserved Instance in the listing. A specific price schedule is always in effect, but only one price schedule can be active at any time. Take, for example, a Reserved Instance listing that has five months remaining in its term. When you specify price schedules for five months and two months, this means that schedule 1, covering the first three months of the remaining term, will be active during months 5, 4, and 3. Then schedule 2, covering the last two months of the term, will be active for months 2 and 1. - */ - Active?: Boolean; - /** - * The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD. - */ - CurrencyCode?: CurrencyCodeValues; - /** - * The fixed price for the term. - */ - Price?: Double; - /** - * The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires. - */ - Term?: Long; - } - export type PriceScheduleList = PriceSchedule[]; - export interface PriceScheduleSpecification { - /** - * The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD. - */ - CurrencyCode?: CurrencyCodeValues; - /** - * The fixed price for the term. - */ - Price?: Double; - /** - * The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires. - */ - Term?: Long; - } - export type PriceScheduleSpecificationList = PriceScheduleSpecification[]; - export interface PricingDetail { - /** - * The number of reservations available for the price. - */ - Count?: Integer; - /** - * The price per instance. - */ - Price?: Double; - } - export type PricingDetailsList = PricingDetail[]; - export type PrivateIpAddressConfigSet = ScheduledInstancesPrivateIpAddressConfig[]; - export interface PrivateIpAddressSpecification { - /** - * Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary. - */ - Primary?: Boolean; - /** - * The private IPv4 addresses. - */ - PrivateIpAddress: String; - } - export type PrivateIpAddressSpecificationList = PrivateIpAddressSpecification[]; - export type PrivateIpAddressStringList = String[]; - export interface ProductCode { - /** - * The product code. - */ - ProductCodeId?: String; - /** - * The type of product code. - */ - ProductCodeType?: ProductCodeValues; - } - export type ProductCodeList = ProductCode[]; - export type ProductCodeStringList = String[]; - export type ProductCodeValues = "devpay"|"marketplace"|string; - export type ProductDescriptionList = String[]; - export interface PropagatingVgw { - /** - * The ID of the virtual private gateway (VGW). - */ - GatewayId?: String; - } - export type PropagatingVgwList = PropagatingVgw[]; - export interface ProvisionedBandwidth { - /** - * Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center. - */ - ProvisionTime?: DateTime; - /** - * Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center. - */ - Provisioned?: String; - /** - * Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center. - */ - RequestTime?: DateTime; - /** - * Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center. - */ - Requested?: String; - /** - * Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center. - */ - Status?: String; - } - export type PublicIpStringList = String[]; - export interface Purchase { - /** - * The currency in which the UpfrontPrice and HourlyPrice amounts are specified. At this time, the only supported currency is USD. - */ - CurrencyCode?: CurrencyCodeValues; - /** - * The duration of the reservation's term in seconds. - */ - Duration?: Integer; - /** - * The IDs of the Dedicated Hosts associated with the reservation. - */ - HostIdSet?: ResponseHostIdSet; - /** - * The ID of the reservation. - */ - HostReservationId?: String; - /** - * The hourly price of the reservation per hour. - */ - HourlyPrice?: String; - /** - * The instance family on the Dedicated Host that the reservation can be associated with. - */ - InstanceFamily?: String; - /** - * The payment option for the reservation. - */ - PaymentOption?: PaymentOption; - /** - * The upfront price of the reservation. - */ - UpfrontPrice?: String; - } - export interface PurchaseHostReservationRequest { - /** - * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide. - */ - ClientToken?: String; - /** - * The currency in which the totalUpfrontPrice, LimitPrice, and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD. - */ - CurrencyCode?: CurrencyCodeValues; - /** - * The ID/s of the Dedicated Host/s that the reservation will be associated with. - */ - HostIdSet: RequestHostIdSet; - /** - * The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request will fail. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00. - */ - LimitPrice?: String; - /** - * The ID of the offering. - */ - OfferingId: String; - } - export interface PurchaseHostReservationResult { - /** - * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide - */ - ClientToken?: String; - /** - * The currency in which the totalUpfrontPrice and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD. - */ - CurrencyCode?: CurrencyCodeValues; - /** - * Describes the details of the purchase. - */ - Purchase?: PurchaseSet; - /** - * The total hourly price of the reservation calculated per hour. - */ - TotalHourlyPrice?: String; - /** - * The total amount that will be charged to your account when you purchase the reservation. - */ - TotalUpfrontPrice?: String; - } - export interface PurchaseRequest { - /** - * The number of instances. - */ - InstanceCount: Integer; - /** - * The purchase token. - */ - PurchaseToken: String; - } - export type PurchaseRequestSet = PurchaseRequest[]; - export interface PurchaseReservedInstancesOfferingRequest { - /** - * The number of Reserved Instances to purchase. - */ - InstanceCount: Integer; - /** - * The ID of the Reserved Instance offering to purchase. - */ - ReservedInstancesOfferingId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices. - */ - LimitPrice?: ReservedInstanceLimitPrice; - } - export interface PurchaseReservedInstancesOfferingResult { - /** - * The IDs of the purchased Reserved Instances. - */ - ReservedInstancesId?: String; - } - export interface PurchaseScheduledInstancesRequest { - /** - * Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency. - */ - ClientToken?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * One or more purchase requests. - */ - PurchaseRequests: PurchaseRequestSet; - } - export interface PurchaseScheduledInstancesResult { - /** - * Information about the Scheduled Instances. - */ - ScheduledInstanceSet?: PurchasedScheduledInstanceSet; - } - export type PurchaseSet = Purchase[]; - export type PurchasedScheduledInstanceSet = ScheduledInstance[]; - export type RIProductDescription = "Linux/UNIX"|"Linux/UNIX (Amazon VPC)"|"Windows"|"Windows (Amazon VPC)"|string; - export type ReasonCodesList = ReportInstanceReasonCodes[]; - export interface RebootInstancesRequest { - /** - * One or more instance IDs. - */ - InstanceIds: InstanceIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface RecurringCharge { - /** - * The amount of the recurring charge. - */ - Amount?: Double; - /** - * The frequency of the recurring charge. - */ - Frequency?: RecurringChargeFrequency; - } - export type RecurringChargeFrequency = "Hourly"|string; - export type RecurringChargesList = RecurringCharge[]; - export interface Region { - /** - * The region service endpoint. - */ - Endpoint?: String; - /** - * The name of the region. - */ - RegionName?: String; - } - export type RegionList = Region[]; - export type RegionNameStringList = String[]; - export interface RegisterImageRequest { - /** - * The full path to your AMI manifest in Amazon S3 storage. - */ - ImageLocation?: String; - /** - * The architecture of the AMI. Default: For Amazon EBS-backed AMIs, i386. For instance store-backed AMIs, the architecture specified in the manifest file. - */ - Architecture?: ArchitectureValues; - /** - * One or more block device mapping entries. - */ - BlockDeviceMappings?: BlockDeviceMappingRequestList; - /** - * A description for your AMI. - */ - Description?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Set to true to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI. This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable. - */ - EnaSupport?: Boolean; - /** - * The ID of the kernel. - */ - KernelId?: String; - /** - * A name for your AMI. Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_) - */ - Name: String; - /** - * The billing product codes. Your account must be authorized to specify billing product codes. Otherwise, you can use the AWS Marketplace to bill for the use of an AMI. - */ - BillingProducts?: BillingProductList; - /** - * The ID of the RAM disk. - */ - RamdiskId?: String; - /** - * The name of the root device (for example, /dev/sda1, or /dev/xvda). - */ - RootDeviceName?: String; - /** - * Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI. There is no way to disable sriovNetSupport at this time. This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable. - */ - SriovNetSupport?: String; - /** - * The type of virtualization. Default: paravirtual - */ - VirtualizationType?: String; - } - export interface RegisterImageResult { - /** - * The ID of the newly registered AMI. - */ - ImageId?: String; - } - export interface RejectVpcPeeringConnectionRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the VPC peering connection. - */ - VpcPeeringConnectionId: String; - } - export interface RejectVpcPeeringConnectionResult { - /** - * Returns true if the request succeeds; otherwise, it returns an error. - */ - Return?: Boolean; - } - export interface ReleaseAddressRequest { - /** - * [EC2-VPC] The allocation ID. Required for EC2-VPC. - */ - AllocationId?: String; - /** - * [EC2-Classic] The Elastic IP address. Required for EC2-Classic. - */ - PublicIp?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface ReleaseHostsRequest { - /** - * The IDs of the Dedicated Hosts you want to release. - */ - HostIds: RequestHostIdList; - } - export interface ReleaseHostsResult { - /** - * The IDs of the Dedicated Hosts that were successfully released. - */ - Successful?: ResponseHostIdList; - /** - * The IDs of the Dedicated Hosts that could not be released, including an error message. - */ - Unsuccessful?: UnsuccessfulItemList; - } - export interface ReplaceIamInstanceProfileAssociationRequest { - /** - * The IAM instance profile. - */ - IamInstanceProfile: IamInstanceProfileSpecification; - /** - * The ID of the existing IAM instance profile association. - */ - AssociationId: String; - } - export interface ReplaceIamInstanceProfileAssociationResult { - /** - * Information about the IAM instance profile association. - */ - IamInstanceProfileAssociation?: IamInstanceProfileAssociation; - } - export interface ReplaceNetworkAclAssociationRequest { - /** - * The ID of the current association between the original network ACL and the subnet. - */ - AssociationId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the new network ACL to associate with the subnet. - */ - NetworkAclId: String; - } - export interface ReplaceNetworkAclAssociationResult { - /** - * The ID of the new association. - */ - NewAssociationId?: String; - } - export interface ReplaceNetworkAclEntryRequest { - /** - * The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24). - */ - CidrBlock?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Indicates whether to replace the egress rule. Default: If no value is specified, we replace the ingress rule. - */ - Egress: Boolean; - /** - * ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying the ICMP (1) protocol, or protocol 58 (ICMPv6) with an IPv6 CIDR block. - */ - IcmpTypeCode?: IcmpTypeCode; - /** - * The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64). - */ - Ipv6CidrBlock?: String; - /** - * The ID of the ACL. - */ - NetworkAclId: String; - /** - * TCP or UDP protocols: The range of ports the rule applies to. Required if specifying TCP (6) or UDP (17) for the protocol. - */ - PortRange?: PortRange; - /** - * The IP protocol. You can specify all or -1 to mean all protocols. If you specify all, -1, or a protocol number other than tcp, udp, or icmp, traffic on all ports is allowed, regardless of any ports or ICMP types or codes you specify. If you specify protocol 58 (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol 58 (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code. - */ - Protocol: String; - /** - * Indicates whether to allow or deny the traffic that matches the rule. - */ - RuleAction: RuleAction; - /** - * The rule number of the entry to replace. - */ - RuleNumber: Integer; - } - export interface ReplaceRouteRequest { - /** - * The IPv4 CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table. - */ - DestinationCidrBlock?: String; - /** - * The IPv6 CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table. - */ - DestinationIpv6CidrBlock?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * [IPv6 traffic only] The ID of an egress-only Internet gateway. - */ - EgressOnlyInternetGatewayId?: String; - /** - * The ID of an Internet gateway or virtual private gateway. - */ - GatewayId?: String; - /** - * The ID of a NAT instance in your VPC. - */ - InstanceId?: String; - /** - * [IPv4 traffic only] The ID of a NAT gateway. - */ - NatGatewayId?: String; - /** - * The ID of a network interface. - */ - NetworkInterfaceId?: String; - /** - * The ID of the route table. - */ - RouteTableId: String; - /** - * The ID of a VPC peering connection. - */ - VpcPeeringConnectionId?: String; - } - export interface ReplaceRouteTableAssociationRequest { - /** - * The association ID. - */ - AssociationId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the new route table to associate with the subnet. - */ - RouteTableId: String; - } - export interface ReplaceRouteTableAssociationResult { - /** - * The ID of the new association. - */ - NewAssociationId?: String; - } - export type ReportInstanceReasonCodes = "instance-stuck-in-state"|"unresponsive"|"not-accepting-credentials"|"password-not-available"|"performance-network"|"performance-instance-store"|"performance-ebs-volume"|"performance-other"|"other"|string; - export interface ReportInstanceStatusRequest { - /** - * Descriptive text about the health state of your instance. - */ - Description?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The time at which the reported instance health state ended. - */ - EndTime?: DateTime; - /** - * One or more instances. - */ - Instances: InstanceIdStringList; - /** - * One or more reason codes that describes the health state of your instance. instance-stuck-in-state: My instance is stuck in a state. unresponsive: My instance is unresponsive. not-accepting-credentials: My instance is not accepting my credentials. password-not-available: A password is not available for my instance. performance-network: My instance is experiencing performance problems which I believe are network related. performance-instance-store: My instance is experiencing performance problems which I believe are related to the instance stores. performance-ebs-volume: My instance is experiencing performance problems which I believe are related to an EBS volume. performance-other: My instance is experiencing performance problems. other: [explain using the description parameter] - */ - ReasonCodes: ReasonCodesList; - /** - * The time at which the reported instance health state began. - */ - StartTime?: DateTime; - /** - * The status of all instances listed. - */ - Status: ReportStatusType; - } - export type ReportStatusType = "ok"|"impaired"|string; - export type RequestHostIdList = String[]; - export type RequestHostIdSet = String[]; - export interface RequestSpotFleetRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The configuration for the Spot fleet request. - */ - SpotFleetRequestConfig: SpotFleetRequestConfigData; - } - export interface RequestSpotFleetResponse { - /** - * The ID of the Spot fleet request. - */ - SpotFleetRequestId: String; - } - export interface RequestSpotInstancesRequest { - /** - * The user-specified name for a logical grouping of bids. When you specify an Availability Zone group in a Spot Instance request, all Spot instances in the request are launched in the same Availability Zone. Instance proximity is maintained with this parameter, but the choice of Availability Zone is not. The group applies only to bids for Spot Instances of the same instance type. Any additional Spot instance requests that are specified with the same Availability Zone group name are launched in that same Availability Zone, as long as at least one instance from the group is still active. If there is no active instance running in the Availability Zone group that you specify for a new Spot instance request (all instances are terminated, the bid is expired, or the bid falls below current market), then Amazon EC2 launches the instance in any Availability Zone where the constraint can be met. Consequently, the subsequent set of Spot instances could be placed in a different zone from the original request, even if you specified the same Availability Zone group. Default: Instances are launched in any available Availability Zone. - */ - AvailabilityZoneGroup?: String; - /** - * The required duration for the Spot instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360). The duration period starts as soon as your Spot instance receives its instance ID. At the end of the duration period, Amazon EC2 marks the Spot instance for termination and provides a Spot instance termination notice, which gives the instance a two-minute warning before it terminates. Note that you can't specify an Availability Zone group or a launch group if you specify a duration. - */ - BlockDurationMinutes?: Integer; - /** - * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide. - */ - ClientToken?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The maximum number of Spot instances to launch. Default: 1 - */ - InstanceCount?: Integer; - /** - * The instance launch group. Launch groups are Spot instances that launch together and terminate together. Default: Instances are launched and terminated individually - */ - LaunchGroup?: String; - /** - * The launch specification. - */ - LaunchSpecification?: RequestSpotLaunchSpecification; - /** - * The maximum hourly price (bid) for any Spot instance launched to fulfill the request. - */ - SpotPrice: String; - /** - * The Spot instance request type. Default: one-time - */ - Type?: SpotInstanceType; - /** - * The start date of the request. If this is a one-time request, the request becomes active at this date and time and remains active until all instances launch, the request expires, or the request is canceled. If the request is persistent, the request becomes active at this date and time and remains active until it expires or is canceled. Default: The request is effective indefinitely. - */ - ValidFrom?: DateTime; - /** - * The end date of the request. If this is a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached. Default: The request is effective indefinitely. - */ - ValidUntil?: DateTime; - } - export interface RequestSpotInstancesResult { - /** - * One or more Spot instance requests. - */ - SpotInstanceRequests?: SpotInstanceRequestList; - } - export interface RequestSpotLaunchSpecification { - /** - * One or more security group IDs. - */ - SecurityGroupIds?: ValueStringList; - /** - * One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups. - */ - SecurityGroups?: ValueStringList; - /** - * Deprecated. - */ - AddressingType?: String; - /** - * One or more block device mapping entries. Although you can specify encrypted EBS volumes in this block device mapping for your Spot Instances, these volumes are not encrypted. - */ - BlockDeviceMappings?: BlockDeviceMappingList; - /** - * Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance. Default: false - */ - EbsOptimized?: Boolean; - /** - * The IAM instance profile. - */ - IamInstanceProfile?: IamInstanceProfileSpecification; - /** - * The ID of the AMI. - */ - ImageId?: String; - /** - * The instance type. - */ - InstanceType?: InstanceType; - /** - * The ID of the kernel. - */ - KernelId?: String; - /** - * The name of the key pair. - */ - KeyName?: String; - /** - * Indicates whether basic or detailed monitoring is enabled for the instance. Default: Disabled - */ - Monitoring?: RunInstancesMonitoringEnabled; - /** - * One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface. - */ - NetworkInterfaces?: InstanceNetworkInterfaceSpecificationList; - /** - * The placement information for the instance. - */ - Placement?: SpotPlacement; - /** - * The ID of the RAM disk. - */ - RamdiskId?: String; - /** - * The ID of the subnet in which to launch the instance. - */ - SubnetId?: String; - /** - * The user data to make available to the instances. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text. - */ - UserData?: String; - } - export interface Reservation { - /** - * [EC2-Classic only] One or more security groups. - */ - Groups?: GroupIdentifierList; - /** - * One or more instances. - */ - Instances?: InstanceList; - /** - * The ID of the AWS account that owns the reservation. - */ - OwnerId?: String; - /** - * The ID of the requester that launched the instances on your behalf (for example, AWS Management Console or Auto Scaling). - */ - RequesterId?: String; - /** - * The ID of the reservation. - */ - ReservationId?: String; - } - export type ReservationList = Reservation[]; - export type ReservationState = "payment-pending"|"payment-failed"|"active"|"retired"|string; - export interface ReservationValue { - /** - * The hourly rate of the reservation. - */ - HourlyPrice?: String; - /** - * The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining). - */ - RemainingTotalValue?: String; - /** - * The remaining upfront cost of the reservation. - */ - RemainingUpfrontValue?: String; - } - export type ReservedInstanceIdSet = String[]; - export interface ReservedInstanceLimitPrice { - /** - * Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price). - */ - Amount?: Double; - /** - * The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD. - */ - CurrencyCode?: CurrencyCodeValues; - } - export interface ReservedInstanceReservationValue { - /** - * The total value of the Convertible Reserved Instance that you are exchanging. - */ - ReservationValue?: ReservationValue; - /** - * The ID of the Convertible Reserved Instance that you are exchanging. - */ - ReservedInstanceId?: String; - } - export type ReservedInstanceReservationValueSet = ReservedInstanceReservationValue[]; - export type ReservedInstanceState = "payment-pending"|"active"|"payment-failed"|"retired"|string; - export interface ReservedInstances { - /** - * The Availability Zone in which the Reserved Instance can be used. - */ - AvailabilityZone?: String; - /** - * The duration of the Reserved Instance, in seconds. - */ - Duration?: Long; - /** - * The time when the Reserved Instance expires. - */ - End?: DateTime; - /** - * The purchase price of the Reserved Instance. - */ - FixedPrice?: Float; - /** - * The number of reservations purchased. - */ - InstanceCount?: Integer; - /** - * The instance type on which the Reserved Instance can be used. - */ - InstanceType?: InstanceType; - /** - * The Reserved Instance product platform description. - */ - ProductDescription?: RIProductDescription; - /** - * The ID of the Reserved Instance. - */ - ReservedInstancesId?: String; - /** - * The date and time the Reserved Instance started. - */ - Start?: DateTime; - /** - * The state of the Reserved Instance purchase. - */ - State?: ReservedInstanceState; - /** - * The usage price of the Reserved Instance, per hour. - */ - UsagePrice?: Float; - /** - * The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD. - */ - CurrencyCode?: CurrencyCodeValues; - /** - * The tenancy of the instance. - */ - InstanceTenancy?: Tenancy; - /** - * The offering class of the Reserved Instance. - */ - OfferingClass?: OfferingClassType; - /** - * The Reserved Instance offering type. - */ - OfferingType?: OfferingTypeValues; - /** - * The recurring charge tag assigned to the resource. - */ - RecurringCharges?: RecurringChargesList; - /** - * The scope of the Reserved Instance. - */ - Scope?: scope; - /** - * Any tags assigned to the resource. - */ - Tags?: TagList; - } - export interface ReservedInstancesConfiguration { - /** - * The Availability Zone for the modified Reserved Instances. - */ - AvailabilityZone?: String; - /** - * The number of modified Reserved Instances. - */ - InstanceCount?: Integer; - /** - * The instance type for the modified Reserved Instances. - */ - InstanceType?: InstanceType; - /** - * The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC. - */ - Platform?: String; - /** - * Whether the Reserved Instance is applied to instances in a region or instances in a specific Availability Zone. - */ - Scope?: scope; - } - export type ReservedInstancesConfigurationList = ReservedInstancesConfiguration[]; - export interface ReservedInstancesId { - /** - * The ID of the Reserved Instance. - */ - ReservedInstancesId?: String; - } - export type ReservedInstancesIdStringList = String[]; - export type ReservedInstancesList = ReservedInstances[]; - export interface ReservedInstancesListing { - /** - * A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency. - */ - ClientToken?: String; - /** - * The time the listing was created. - */ - CreateDate?: DateTime; - /** - * The number of instances in this state. - */ - InstanceCounts?: InstanceCountList; - /** - * The price of the Reserved Instance listing. - */ - PriceSchedules?: PriceScheduleList; - /** - * The ID of the Reserved Instance. - */ - ReservedInstancesId?: String; - /** - * The ID of the Reserved Instance listing. - */ - ReservedInstancesListingId?: String; - /** - * The status of the Reserved Instance listing. - */ - Status?: ListingStatus; - /** - * The reason for the current status of the Reserved Instance listing. The response can be blank. - */ - StatusMessage?: String; - /** - * Any tags assigned to the resource. - */ - Tags?: TagList; - /** - * The last modified timestamp of the listing. - */ - UpdateDate?: DateTime; - } - export type ReservedInstancesListingList = ReservedInstancesListing[]; - export interface ReservedInstancesModification { - /** - * A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency. - */ - ClientToken?: String; - /** - * The time when the modification request was created. - */ - CreateDate?: DateTime; - /** - * The time for the modification to become effective. - */ - EffectiveDate?: DateTime; - /** - * Contains target configurations along with their corresponding new Reserved Instance IDs. - */ - ModificationResults?: ReservedInstancesModificationResultList; - /** - * The IDs of one or more Reserved Instances. - */ - ReservedInstancesIds?: ReservedIntancesIds; - /** - * A unique ID for the Reserved Instance modification. - */ - ReservedInstancesModificationId?: String; - /** - * The status of the Reserved Instances modification request. - */ - Status?: String; - /** - * The reason for the status. - */ - StatusMessage?: String; - /** - * The time when the modification request was last updated. - */ - UpdateDate?: DateTime; - } - export type ReservedInstancesModificationIdStringList = String[]; - export type ReservedInstancesModificationList = ReservedInstancesModification[]; - export interface ReservedInstancesModificationResult { - /** - * The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled. - */ - ReservedInstancesId?: String; - /** - * The target Reserved Instances configurations supplied as part of the modification request. - */ - TargetConfiguration?: ReservedInstancesConfiguration; - } - export type ReservedInstancesModificationResultList = ReservedInstancesModificationResult[]; - export interface ReservedInstancesOffering { - /** - * The Availability Zone in which the Reserved Instance can be used. - */ - AvailabilityZone?: String; - /** - * The duration of the Reserved Instance, in seconds. - */ - Duration?: Long; - /** - * The purchase price of the Reserved Instance. - */ - FixedPrice?: Float; - /** - * The instance type on which the Reserved Instance can be used. - */ - InstanceType?: InstanceType; - /** - * The Reserved Instance product platform description. - */ - ProductDescription?: RIProductDescription; - /** - * The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made. - */ - ReservedInstancesOfferingId?: String; - /** - * The usage price of the Reserved Instance, per hour. - */ - UsagePrice?: Float; - /** - * The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD. - */ - CurrencyCode?: CurrencyCodeValues; - /** - * The tenancy of the instance. - */ - InstanceTenancy?: Tenancy; - /** - * Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true. - */ - Marketplace?: Boolean; - /** - * If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange. - */ - OfferingClass?: OfferingClassType; - /** - * The Reserved Instance offering type. - */ - OfferingType?: OfferingTypeValues; - /** - * The pricing details of the Reserved Instance offering. - */ - PricingDetails?: PricingDetailsList; - /** - * The recurring charge tag assigned to the resource. - */ - RecurringCharges?: RecurringChargesList; - /** - * Whether the Reserved Instance is applied to instances in a region or an Availability Zone. - */ - Scope?: scope; - } - export type ReservedInstancesOfferingIdStringList = String[]; - export type ReservedInstancesOfferingList = ReservedInstancesOffering[]; - export type ReservedIntancesIds = ReservedInstancesId[]; - export type ResetImageAttributeName = "launchPermission"|string; - export interface ResetImageAttributeRequest { - /** - * The attribute to reset (currently you can only reset the launch permission attribute). - */ - Attribute: ResetImageAttributeName; - /** - * The ID of the AMI. - */ - ImageId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface ResetInstanceAttributeRequest { - /** - * The attribute to reset. You can only reset the following attributes: kernel | ramdisk | sourceDestCheck. To change an instance attribute, use ModifyInstanceAttribute. - */ - Attribute: InstanceAttributeName; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the instance. - */ - InstanceId: String; - } - export interface ResetNetworkInterfaceAttributeRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the network interface. - */ - NetworkInterfaceId: String; - /** - * The source/destination checking attribute. Resets the value to true. - */ - SourceDestCheck?: String; - } - export interface ResetSnapshotAttributeRequest { - /** - * The attribute to reset. Currently, only the attribute for permission to create volumes can be reset. - */ - Attribute: SnapshotAttributeName; - /** - * The ID of the snapshot. - */ - SnapshotId: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export type ResourceIdList = String[]; - export type ResourceType = "customer-gateway"|"dhcp-options"|"image"|"instance"|"internet-gateway"|"network-acl"|"network-interface"|"reserved-instances"|"route-table"|"snapshot"|"spot-instances-request"|"subnet"|"security-group"|"volume"|"vpc"|"vpn-connection"|"vpn-gateway"|string; - export type ResponseHostIdList = String[]; - export type ResponseHostIdSet = String[]; - export type RestorableByStringList = String[]; - export interface RestoreAddressToClassicRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The Elastic IP address. - */ - PublicIp: String; - } - export interface RestoreAddressToClassicResult { - /** - * The Elastic IP address. - */ - PublicIp?: String; - /** - * The move status for the IP address. - */ - Status?: Status; - } - export interface RevokeSecurityGroupEgressRequest { - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The ID of the security group. - */ - GroupId: String; - /** - * A set of IP permissions. You can't specify a destination security group and a CIDR IP address range. - */ - IpPermissions?: IpPermissionList; - /** - * The CIDR IP address range. We recommend that you specify the CIDR range in a set of IP permissions instead. - */ - CidrIp?: String; - /** - * The start of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you specify the port range in a set of IP permissions instead. - */ - FromPort?: Integer; - /** - * The IP protocol name or number. We recommend that you specify the protocol in a set of IP permissions instead. - */ - IpProtocol?: String; - /** - * The end of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you specify the port range in a set of IP permissions instead. - */ - ToPort?: Integer; - /** - * The name of a destination security group. To revoke outbound access to a destination security group, we recommend that you use a set of IP permissions instead. - */ - SourceSecurityGroupName?: String; - /** - * The AWS account number for a destination security group. To revoke outbound access to a destination security group, we recommend that you use a set of IP permissions instead. - */ - SourceSecurityGroupOwnerId?: String; - } - export interface RevokeSecurityGroupIngressRequest { - /** - * The CIDR IP address range. You can't specify this parameter when specifying a source security group. - */ - CidrIp?: String; - /** - * The start of port range for the TCP and UDP protocols, or an ICMP type number. For the ICMP type number, use -1 to specify all ICMP types. - */ - FromPort?: Integer; - /** - * The ID of the security group. Required for a security group in a nondefault VPC. - */ - GroupId?: String; - /** - * [EC2-Classic, default VPC] The name of the security group. - */ - GroupName?: String; - /** - * A set of IP permissions. You can't specify a source security group and a CIDR IP address range. - */ - IpPermissions?: IpPermissionList; - /** - * The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). Use -1 to specify all. - */ - IpProtocol?: String; - /** - * [EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead. - */ - SourceSecurityGroupName?: String; - /** - * [EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead. - */ - SourceSecurityGroupOwnerId?: String; - /** - * The end of port range for the TCP and UDP protocols, or an ICMP code number. For the ICMP code number, use -1 to specify all ICMP codes for the ICMP type. - */ - ToPort?: Integer; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface Route { - /** - * The IPv4 CIDR block used for the destination match. - */ - DestinationCidrBlock?: String; - /** - * The IPv6 CIDR block used for the destination match. - */ - DestinationIpv6CidrBlock?: String; - /** - * The prefix of the AWS service. - */ - DestinationPrefixListId?: String; - /** - * The ID of the egress-only Internet gateway. - */ - EgressOnlyInternetGatewayId?: String; - /** - * The ID of a gateway attached to your VPC. - */ - GatewayId?: String; - /** - * The ID of a NAT instance in your VPC. - */ - InstanceId?: String; - /** - * The AWS account ID of the owner of the instance. - */ - InstanceOwnerId?: String; - /** - * The ID of a NAT gateway. - */ - NatGatewayId?: String; - /** - * The ID of the network interface. - */ - NetworkInterfaceId?: String; - /** - * Describes how the route was created. CreateRouteTable - The route was automatically created when the route table was created. CreateRoute - The route was manually added to the route table. EnableVgwRoutePropagation - The route was propagated by route propagation. - */ - Origin?: RouteOrigin; - /** - * The state of the route. The blackhole state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, or the specified NAT instance has been terminated). - */ - State?: RouteState; - /** - * The ID of the VPC peering connection. - */ - VpcPeeringConnectionId?: String; - } - export type RouteList = Route[]; - export type RouteOrigin = "CreateRouteTable"|"CreateRoute"|"EnableVgwRoutePropagation"|string; - export type RouteState = "active"|"blackhole"|string; - export interface RouteTable { - /** - * The associations between the route table and one or more subnets. - */ - Associations?: RouteTableAssociationList; - /** - * Any virtual private gateway (VGW) propagating routes. - */ - PropagatingVgws?: PropagatingVgwList; - /** - * The ID of the route table. - */ - RouteTableId?: String; - /** - * The routes in the route table. - */ - Routes?: RouteList; - /** - * Any tags assigned to the route table. - */ - Tags?: TagList; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export interface RouteTableAssociation { - /** - * Indicates whether this is the main route table. - */ - Main?: Boolean; - /** - * The ID of the association between a route table and a subnet. - */ - RouteTableAssociationId?: String; - /** - * The ID of the route table. - */ - RouteTableId?: String; - /** - * The ID of the subnet. A subnet ID is not returned for an implicit association. - */ - SubnetId?: String; - } - export type RouteTableAssociationList = RouteTableAssociation[]; - export type RouteTableList = RouteTable[]; - export type RuleAction = "allow"|"deny"|string; - export interface RunInstancesMonitoringEnabled { - /** - * Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled. - */ - Enabled: Boolean; - } - export interface RunInstancesRequest { - /** - * The block device mapping. Supplying both a snapshot ID and an encryption value as arguments for block-device mapping results in an error. This is because only blank volumes can be encrypted on start, and these are not created from a snapshot. If a snapshot is the basis for the volume, it contains data by definition and its encryption status cannot be changed using this action. - */ - BlockDeviceMappings?: BlockDeviceMappingRequestList; - /** - * The ID of the AMI, which you can get by calling DescribeImages. - */ - ImageId: String; - /** - * The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide. Default: m1.small - */ - InstanceType?: InstanceType; - /** - * [EC2-VPC] A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch. - */ - Ipv6AddressCount?: Integer; - /** - * [EC2-VPC] Specify one or more IPv6 addresses from the range of the subnet to associate with the primary network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch. - */ - Ipv6Addresses?: InstanceIpv6AddressList; - /** - * The ID of the kernel. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon Elastic Compute Cloud User Guide. - */ - KernelId?: String; - /** - * The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair. If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in. - */ - KeyName?: String; - /** - * The maximum number of instances to launch. If you specify more instances than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches the largest possible number of instances above MinCount. Constraints: Between 1 and the maximum number you're allowed for the specified instance type. For more information about the default limits, and how to request an increase, see How many instances can I run in Amazon EC2 in the Amazon EC2 FAQ. - */ - MaxCount: Integer; - /** - * The minimum number of instances to launch. If you specify a minimum that is more instances than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches no instances. Constraints: Between 1 and the maximum number you're allowed for the specified instance type. For more information about the default limits, and how to request an increase, see How many instances can I run in Amazon EC2 in the Amazon EC2 General FAQ. - */ - MinCount: Integer; - /** - * The monitoring for the instance. - */ - Monitoring?: RunInstancesMonitoringEnabled; - /** - * The placement for the instance. - */ - Placement?: Placement; - /** - * The ID of the RAM disk. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon Elastic Compute Cloud User Guide. - */ - RamdiskId?: String; - /** - * One or more security group IDs. You can create a security group using CreateSecurityGroup. Default: Amazon EC2 uses the default security group. - */ - SecurityGroupIds?: SecurityGroupIdStringList; - /** - * [EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. Default: Amazon EC2 uses the default security group. - */ - SecurityGroups?: SecurityGroupStringList; - /** - * [EC2-VPC] The ID of the subnet to launch the instance into. - */ - SubnetId?: String; - /** - * The user data to make available to the instance. For more information, see Running Commands on Your Linux Instance at Launch (Linux) and Adding User Data (Windows). If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text. - */ - UserData?: String; - /** - * Reserved. - */ - AdditionalInfo?: String; - /** - * Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency. Constraints: Maximum 64 ASCII characters - */ - ClientToken?: String; - /** - * If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute to false after launch, use ModifyInstanceAttribute. Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate, you can terminate the instance by running the shutdown command from the instance. Default: false - */ - DisableApiTermination?: Boolean; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance. Default: false - */ - EbsOptimized?: Boolean; - /** - * The IAM instance profile. - */ - IamInstanceProfile?: IamInstanceProfileSpecification; - /** - * Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). Default: stop - */ - InstanceInitiatedShutdownBehavior?: ShutdownBehavior; - /** - * One or more network interfaces. - */ - NetworkInterfaces?: InstanceNetworkInterfaceSpecificationList; - /** - * [EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet. Only one private IP address can be designated as primary. You can't specify this option if you've specified the option to designate a private IP address as the primary IP address in a network interface specification. You cannot specify this option if you're launching more than one instance in the request. - */ - PrivateIpAddress?: String; - /** - * The tags to apply to the resources during launch. You can tag instances and volumes. The specified tags are applied to all instances or volumes that are created during launch. - */ - TagSpecifications?: TagSpecificationList; - } - export interface RunScheduledInstancesRequest { - /** - * Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency. - */ - ClientToken?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * The number of instances. Default: 1 - */ - InstanceCount?: Integer; - /** - * The launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased. - */ - LaunchSpecification: ScheduledInstancesLaunchSpecification; - /** - * The Scheduled Instance ID. - */ - ScheduledInstanceId: String; - } - export interface RunScheduledInstancesResult { - /** - * The IDs of the newly launched instances. - */ - InstanceIdSet?: InstanceIdSet; - } - export interface S3Storage { - /** - * The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in Best Practices for Managing AWS Access Keys. - */ - AWSAccessKeyId?: String; - /** - * The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error. - */ - Bucket?: String; - /** - * The beginning of the file name of the AMI. - */ - Prefix?: String; - /** - * An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf. - */ - UploadPolicy?: _Blob; - /** - * The signature of the JSON document. - */ - UploadPolicySignature?: String; - } - export interface ScheduledInstance { - /** - * The Availability Zone. - */ - AvailabilityZone?: String; - /** - * The date when the Scheduled Instance was purchased. - */ - CreateDate?: DateTime; - /** - * The hourly price for a single instance. - */ - HourlyPrice?: String; - /** - * The number of instances. - */ - InstanceCount?: Integer; - /** - * The instance type. - */ - InstanceType?: String; - /** - * The network platform (EC2-Classic or EC2-VPC). - */ - NetworkPlatform?: String; - /** - * The time for the next schedule to start. - */ - NextSlotStartTime?: DateTime; - /** - * The platform (Linux/UNIX or Windows). - */ - Platform?: String; - /** - * The time that the previous schedule ended or will end. - */ - PreviousSlotEndTime?: DateTime; - /** - * The schedule recurrence. - */ - Recurrence?: ScheduledInstanceRecurrence; - /** - * The Scheduled Instance ID. - */ - ScheduledInstanceId?: String; - /** - * The number of hours in the schedule. - */ - SlotDurationInHours?: Integer; - /** - * The end date for the Scheduled Instance. - */ - TermEndDate?: DateTime; - /** - * The start date for the Scheduled Instance. - */ - TermStartDate?: DateTime; - /** - * The total number of hours for a single instance for the entire term. - */ - TotalScheduledInstanceHours?: Integer; - } - export interface ScheduledInstanceAvailability { - /** - * The Availability Zone. - */ - AvailabilityZone?: String; - /** - * The number of available instances. - */ - AvailableInstanceCount?: Integer; - /** - * The time period for the first schedule to start. - */ - FirstSlotStartTime?: DateTime; - /** - * The hourly price for a single instance. - */ - HourlyPrice?: String; - /** - * The instance type. You can specify one of the C3, C4, M4, or R3 instance types. - */ - InstanceType?: String; - /** - * The maximum term. The only possible value is 365 days. - */ - MaxTermDurationInDays?: Integer; - /** - * The minimum term. The only possible value is 365 days. - */ - MinTermDurationInDays?: Integer; - /** - * The network platform (EC2-Classic or EC2-VPC). - */ - NetworkPlatform?: String; - /** - * The platform (Linux/UNIX or Windows). - */ - Platform?: String; - /** - * The purchase token. This token expires in two hours. - */ - PurchaseToken?: String; - /** - * The schedule recurrence. - */ - Recurrence?: ScheduledInstanceRecurrence; - /** - * The number of hours in the schedule. - */ - SlotDurationInHours?: Integer; - /** - * The total number of hours for a single instance for the entire term. - */ - TotalScheduledInstanceHours?: Integer; - } - export type ScheduledInstanceAvailabilitySet = ScheduledInstanceAvailability[]; - export type ScheduledInstanceIdRequestSet = String[]; - export interface ScheduledInstanceRecurrence { - /** - * The frequency (Daily, Weekly, or Monthly). - */ - Frequency?: String; - /** - * The interval quantity. The interval unit depends on the value of frequency. For example, every 2 weeks or every 2 months. - */ - Interval?: Integer; - /** - * The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). - */ - OccurrenceDaySet?: OccurrenceDaySet; - /** - * Indicates whether the occurrence is relative to the end of the specified week or month. - */ - OccurrenceRelativeToEnd?: Boolean; - /** - * The unit for occurrenceDaySet (DayOfWeek or DayOfMonth). - */ - OccurrenceUnit?: String; - } - export interface ScheduledInstanceRecurrenceRequest { - /** - * The frequency (Daily, Weekly, or Monthly). - */ - Frequency?: String; - /** - * The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 weeks or every 2 months. - */ - Interval?: Integer; - /** - * The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day. - */ - OccurrenceDays?: OccurrenceDayRequestSet; - /** - * Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule. - */ - OccurrenceRelativeToEnd?: Boolean; - /** - * The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule. - */ - OccurrenceUnit?: String; - } - export type ScheduledInstanceSet = ScheduledInstance[]; - export interface ScheduledInstancesBlockDeviceMapping { - /** - * The device name exposed to the instance (for example, /dev/sdh or xvdh). - */ - DeviceName?: String; - /** - * Parameters used to set up EBS volumes automatically when the instance is launched. - */ - Ebs?: ScheduledInstancesEbs; - /** - * Suppresses the specified device included in the block device mapping of the AMI. - */ - NoDevice?: String; - /** - * The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with two available instance store volumes can specify mappings for ephemeral0 and ephemeral1.The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume. Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI. - */ - VirtualName?: String; - } - export type ScheduledInstancesBlockDeviceMappingSet = ScheduledInstancesBlockDeviceMapping[]; - export interface ScheduledInstancesEbs { - /** - * Indicates whether the volume is deleted on instance termination. - */ - DeleteOnTermination?: Boolean; - /** - * Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them. - */ - Encrypted?: Boolean; - /** - * The number of I/O operations per second (IOPS) that the volume supports. For io1 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. For more information about gp2 baseline performance, I/O credits, and bursting, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide. Constraint: Range is 100-20000 IOPS for io1 volumes and 100-10000 IOPS for gp2 volumes. Condition: This parameter is required for requests to create io1volumes; it is not used in requests to create gp2, st1, sc1, or standard volumes. - */ - Iops?: Integer; - /** - * The ID of the snapshot. - */ - SnapshotId?: String; - /** - * The size of the volume, in GiB. Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size. - */ - VolumeSize?: Integer; - /** - * The volume type. gp2 for General Purpose SSD, io1 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic. Default: standard - */ - VolumeType?: String; - } - export interface ScheduledInstancesIamInstanceProfile { - /** - * The Amazon Resource Name (ARN). - */ - Arn?: String; - /** - * The name. - */ - Name?: String; - } - export interface ScheduledInstancesIpv6Address { - /** - * The IPv6 address. - */ - Ipv6Address?: Ipv6Address; - } - export type ScheduledInstancesIpv6AddressList = ScheduledInstancesIpv6Address[]; - export interface ScheduledInstancesLaunchSpecification { - /** - * One or more block device mapping entries. - */ - BlockDeviceMappings?: ScheduledInstancesBlockDeviceMappingSet; - /** - * Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance. Default: false - */ - EbsOptimized?: Boolean; - /** - * The IAM instance profile. - */ - IamInstanceProfile?: ScheduledInstancesIamInstanceProfile; - /** - * The ID of the Amazon Machine Image (AMI). - */ - ImageId: String; - /** - * The instance type. - */ - InstanceType?: String; - /** - * The ID of the kernel. - */ - KernelId?: String; - /** - * The name of the key pair. - */ - KeyName?: String; - /** - * Enable or disable monitoring for the instances. - */ - Monitoring?: ScheduledInstancesMonitoring; - /** - * One or more network interfaces. - */ - NetworkInterfaces?: ScheduledInstancesNetworkInterfaceSet; - /** - * The placement information. - */ - Placement?: ScheduledInstancesPlacement; - /** - * The ID of the RAM disk. - */ - RamdiskId?: String; - /** - * The IDs of one or more security groups. - */ - SecurityGroupIds?: ScheduledInstancesSecurityGroupIdSet; - /** - * The ID of the subnet in which to launch the instances. - */ - SubnetId?: String; - /** - * The base64-encoded MIME user data. - */ - UserData?: String; - } - export interface ScheduledInstancesMonitoring { - /** - * Indicates whether monitoring is enabled. - */ - Enabled?: Boolean; - } - export interface ScheduledInstancesNetworkInterface { - /** - * Indicates whether to assign a public IPv4 address to instances launched in a VPC. The public IPv4 address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true. - */ - AssociatePublicIpAddress?: Boolean; - /** - * Indicates whether to delete the interface when the instance is terminated. - */ - DeleteOnTermination?: Boolean; - /** - * The description. - */ - Description?: String; - /** - * The index of the device for the network interface attachment. - */ - DeviceIndex?: Integer; - /** - * The IDs of one or more security groups. - */ - Groups?: ScheduledInstancesSecurityGroupIdSet; - /** - * The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range. - */ - Ipv6AddressCount?: Integer; - /** - * One or more specific IPv6 addresses from the subnet range. - */ - Ipv6Addresses?: ScheduledInstancesIpv6AddressList; - /** - * The ID of the network interface. - */ - NetworkInterfaceId?: String; - /** - * The IPv4 address of the network interface within the subnet. - */ - PrivateIpAddress?: String; - /** - * The private IPv4 addresses. - */ - PrivateIpAddressConfigs?: PrivateIpAddressConfigSet; - /** - * The number of secondary private IPv4 addresses. - */ - SecondaryPrivateIpAddressCount?: Integer; - /** - * The ID of the subnet. - */ - SubnetId?: String; - } - export type ScheduledInstancesNetworkInterfaceSet = ScheduledInstancesNetworkInterface[]; - export interface ScheduledInstancesPlacement { - /** - * The Availability Zone. - */ - AvailabilityZone?: String; - /** - * The name of the placement group. - */ - GroupName?: String; - } - export interface ScheduledInstancesPrivateIpAddressConfig { - /** - * Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address. - */ - Primary?: Boolean; - /** - * The IPv4 address. - */ - PrivateIpAddress?: String; - } - export type ScheduledInstancesSecurityGroupIdSet = String[]; - export interface SecurityGroup { - /** - * A description of the security group. - */ - Description?: String; - /** - * The name of the security group. - */ - GroupName?: String; - /** - * One or more inbound rules associated with the security group. - */ - IpPermissions?: IpPermissionList; - /** - * The AWS account ID of the owner of the security group. - */ - OwnerId?: String; - /** - * The ID of the security group. - */ - GroupId?: String; - /** - * [EC2-VPC] One or more outbound rules associated with the security group. - */ - IpPermissionsEgress?: IpPermissionList; - /** - * Any tags assigned to the security group. - */ - Tags?: TagList; - /** - * [EC2-VPC] The ID of the VPC for the security group. - */ - VpcId?: String; - } - export type SecurityGroupIdStringList = String[]; - export type SecurityGroupList = SecurityGroup[]; - export interface SecurityGroupReference { - /** - * The ID of your security group. - */ - GroupId: String; - /** - * The ID of the VPC with the referencing security group. - */ - ReferencingVpcId: String; - /** - * The ID of the VPC peering connection. - */ - VpcPeeringConnectionId?: String; - } - export type SecurityGroupReferences = SecurityGroupReference[]; - export type SecurityGroupStringList = String[]; - export type ShutdownBehavior = "stop"|"terminate"|string; - export interface SlotDateTimeRangeRequest { - /** - * The earliest date and time, in UTC, for the Scheduled Instance to start. - */ - EarliestTime: DateTime; - /** - * The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future. - */ - LatestTime: DateTime; - } - export interface SlotStartTimeRangeRequest { - /** - * The earliest date and time, in UTC, for the Scheduled Instance to start. - */ - EarliestTime?: DateTime; - /** - * The latest date and time, in UTC, for the Scheduled Instance to start. - */ - LatestTime?: DateTime; - } - export interface Snapshot { - /** - * The data encryption key identifier for the snapshot. This value is a unique identifier that corresponds to the data encryption key that was used to encrypt the original volume or snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, and vice versa, if snapshots share the same data encryption key identifier, then they belong to the same volume/snapshot lineage. This parameter is only returned by the DescribeSnapshots API operation. - */ - DataEncryptionKeyId?: String; - /** - * The description for the snapshot. - */ - Description?: String; - /** - * Indicates whether the snapshot is encrypted. - */ - Encrypted?: Boolean; - /** - * The full ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the volume encryption key for the parent volume. - */ - KmsKeyId?: String; - /** - * The AWS account ID of the EBS snapshot owner. - */ - OwnerId?: String; - /** - * The progress of the snapshot, as a percentage. - */ - Progress?: String; - /** - * The ID of the snapshot. Each snapshot receives a unique identifier when it is created. - */ - SnapshotId?: String; - /** - * The time stamp when the snapshot was initiated. - */ - StartTime?: DateTime; - /** - * The snapshot state. - */ - State?: SnapshotState; - /** - * Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper AWS Key Management Service (AWS KMS) permissions are not obtained) this field displays error state details to help you diagnose why the error occurred. This parameter is only returned by the DescribeSnapshots API operation. - */ - StateMessage?: String; - /** - * The ID of the volume that was used to create the snapshot. Snapshots created by the CopySnapshot action have an arbitrary volume ID that should not be used for any purpose. - */ - VolumeId?: String; - /** - * The size of the volume, in GiB. - */ - VolumeSize?: Integer; - /** - * Value from an Amazon-maintained list (amazon | aws-marketplace | microsoft) of snapshot owners. Not to be confused with the user-configured AWS account alias, which is set from the IAM console. - */ - OwnerAlias?: String; - /** - * Any tags assigned to the snapshot. - */ - Tags?: TagList; - } - export type SnapshotAttributeName = "productCodes"|"createVolumePermission"|string; - export interface SnapshotDetail { - /** - * A description for the snapshot. - */ - Description?: String; - /** - * The block device mapping for the snapshot. - */ - DeviceName?: String; - /** - * The size of the disk in the snapshot, in GiB. - */ - DiskImageSize?: Double; - /** - * The format of the disk image from which the snapshot is created. - */ - Format?: String; - /** - * The percentage of progress for the task. - */ - Progress?: String; - /** - * The snapshot ID of the disk being imported. - */ - SnapshotId?: String; - /** - * A brief status of the snapshot creation. - */ - Status?: String; - /** - * A detailed status message for the snapshot creation. - */ - StatusMessage?: String; - /** - * The URL used to access the disk image. - */ - Url?: String; - /** - * The S3 bucket for the disk image. - */ - UserBucket?: UserBucketDetails; - } - export type SnapshotDetailList = SnapshotDetail[]; - export interface SnapshotDiskContainer { - /** - * The description of the disk image being imported. - */ - Description?: String; - /** - * The format of the disk image being imported. Valid values: RAW | VHD | VMDK | OVA - */ - Format?: String; - /** - * The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..). - */ - Url?: String; - /** - * The S3 bucket for the disk image. - */ - UserBucket?: UserBucket; - } - export type SnapshotIdStringList = String[]; - export type SnapshotList = Snapshot[]; - export type SnapshotState = "pending"|"completed"|"error"|string; - export interface SnapshotTaskDetail { - /** - * The description of the snapshot. - */ - Description?: String; - /** - * The size of the disk in the snapshot, in GiB. - */ - DiskImageSize?: Double; - /** - * The format of the disk image from which the snapshot is created. - */ - Format?: String; - /** - * The percentage of completion for the import snapshot task. - */ - Progress?: String; - /** - * The snapshot ID of the disk being imported. - */ - SnapshotId?: String; - /** - * A brief status for the import snapshot task. - */ - Status?: String; - /** - * A detailed status message for the import snapshot task. - */ - StatusMessage?: String; - /** - * The URL of the disk image from which the snapshot is created. - */ - Url?: String; - /** - * The S3 bucket for the disk image. - */ - UserBucket?: UserBucketDetails; - } - export interface SpotDatafeedSubscription { - /** - * The Amazon S3 bucket where the Spot instance data feed is located. - */ - Bucket?: String; - /** - * The fault codes for the Spot instance request, if any. - */ - Fault?: SpotInstanceStateFault; - /** - * The AWS account ID of the account. - */ - OwnerId?: String; - /** - * The prefix that is prepended to data feed files. - */ - Prefix?: String; - /** - * The state of the Spot instance data feed subscription. - */ - State?: DatafeedSubscriptionState; - } - export interface SpotFleetLaunchSpecification { - /** - * One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups. - */ - SecurityGroups?: GroupIdentifierList; - /** - * Deprecated. - */ - AddressingType?: String; - /** - * One or more block device mapping entries. - */ - BlockDeviceMappings?: BlockDeviceMappingList; - /** - * Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance. Default: false - */ - EbsOptimized?: Boolean; - /** - * The IAM instance profile. - */ - IamInstanceProfile?: IamInstanceProfileSpecification; - /** - * The ID of the AMI. - */ - ImageId?: String; - /** - * The instance type. Note that T2 and HS1 instance types are not supported. - */ - InstanceType?: InstanceType; - /** - * The ID of the kernel. - */ - KernelId?: String; - /** - * The name of the key pair. - */ - KeyName?: String; - /** - * Enable or disable monitoring for the instances. - */ - Monitoring?: SpotFleetMonitoring; - /** - * One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface. - */ - NetworkInterfaces?: InstanceNetworkInterfaceSpecificationList; - /** - * The placement information. - */ - Placement?: SpotPlacement; - /** - * The ID of the RAM disk. - */ - RamdiskId?: String; - /** - * The bid price per unit hour for the specified instance type. If this value is not specified, the default is the Spot bid price specified for the fleet. To determine the bid price per unit hour, divide the Spot bid price by the value of WeightedCapacity. - */ - SpotPrice?: String; - /** - * The ID of the subnet in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-a61dafcf, subnet-65ea5f08". - */ - SubnetId?: String; - /** - * The user data to make available to the instances. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text. - */ - UserData?: String; - /** - * The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms (instances or a performance characteristic such as vCPUs, memory, or I/O). If the target capacity divided by this value is not a whole number, we round the number of instances to the next whole number. If this value is not specified, the default is 1. - */ - WeightedCapacity?: Double; - } - export interface SpotFleetMonitoring { - /** - * Enables monitoring for the instance. Default: false - */ - Enabled?: Boolean; - } - export interface SpotFleetRequestConfig { - /** - * The progress of the Spot fleet request. If there is an error, the status is error. After all bids are placed, the status is pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. If the size of the fleet is decreased, the status is pending_termination while Spot instances are terminating. - */ - ActivityStatus?: ActivityStatus; - /** - * The creation date and time of the request. - */ - CreateTime: DateTime; - /** - * Information about the configuration of the Spot fleet request. - */ - SpotFleetRequestConfig: SpotFleetRequestConfigData; - /** - * The ID of the Spot fleet request. - */ - SpotFleetRequestId: String; - /** - * The state of the Spot fleet request. - */ - SpotFleetRequestState: BatchState; - } - export interface SpotFleetRequestConfigData { - /** - * Indicates how to allocate the target capacity across the Spot pools specified by the Spot fleet request. The default is lowestPrice. - */ - AllocationStrategy?: AllocationStrategy; - /** - * A unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency. - */ - ClientToken?: String; - /** - * Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet. - */ - ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy; - /** - * The number of units fulfilled by this request compared to the set target capacity. - */ - FulfilledCapacity?: Double; - /** - * Grants the Spot fleet permission to terminate Spot instances on your behalf when you cancel its Spot fleet request using CancelSpotFleetRequests or when the Spot fleet request expires, if you set terminateInstancesWithExpiration. - */ - IamFleetRole: String; - /** - * Information about the launch specifications for the Spot fleet request. - */ - LaunchSpecifications: LaunchSpecsList; - /** - * The bid price per unit hour. - */ - SpotPrice: String; - /** - * The number of units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. - */ - TargetCapacity: Integer; - /** - * Indicates whether running Spot instances should be terminated when the Spot fleet request expires. - */ - TerminateInstancesWithExpiration?: Boolean; - /** - * The type of request. Indicates whether the fleet will only request the target capacity or also attempt to maintain it. When you request a certain target capacity, the fleet will only place the required bids. It will not attempt to replenish Spot instances if capacity is diminished, nor will it submit bids in alternative Spot pools if capacity is not available. When you want to maintain a certain target capacity, fleet will place the required bids to meet this target capacity. It will also automatically replenish any interrupted instances. Default: maintain. - */ - Type?: FleetType; - /** - * The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. - */ - ValidFrom?: DateTime; - /** - * The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. - */ - ValidUntil?: DateTime; - /** - * Indicates whether Spot fleet should replace unhealthy instances. - */ - ReplaceUnhealthyInstances?: Boolean; - } - export type SpotFleetRequestConfigSet = SpotFleetRequestConfig[]; - export interface SpotInstanceRequest { - /** - * If you specified a duration and your Spot instance request was fulfilled, this is the fixed hourly price in effect for the Spot instance while it runs. - */ - ActualBlockHourlyPrice?: String; - /** - * The Availability Zone group. If you specify the same Availability Zone group for all Spot instance requests, all Spot instances are launched in the same Availability Zone. - */ - AvailabilityZoneGroup?: String; - /** - * The duration for the Spot instance, in minutes. - */ - BlockDurationMinutes?: Integer; - /** - * The date and time when the Spot instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). - */ - CreateTime?: DateTime; - /** - * The fault codes for the Spot instance request, if any. - */ - Fault?: SpotInstanceStateFault; - /** - * The instance ID, if an instance has been launched to fulfill the Spot instance request. - */ - InstanceId?: String; - /** - * The instance launch group. Launch groups are Spot instances that launch together and terminate together. - */ - LaunchGroup?: String; - /** - * Additional information for launching instances. - */ - LaunchSpecification?: LaunchSpecification; - /** - * The Availability Zone in which the bid is launched. - */ - LaunchedAvailabilityZone?: String; - /** - * The product description associated with the Spot instance. - */ - ProductDescription?: RIProductDescription; - /** - * The ID of the Spot instance request. - */ - SpotInstanceRequestId?: String; - /** - * The maximum hourly price (bid) for the Spot instance launched to fulfill the request. - */ - SpotPrice?: String; - /** - * The state of the Spot instance request. Spot bid status information can help you track your Spot instance requests. For more information, see Spot Bid Status in the Amazon Elastic Compute Cloud User Guide. - */ - State?: SpotInstanceState; - /** - * The status code and status message describing the Spot instance request. - */ - Status?: SpotInstanceStatus; - /** - * Any tags assigned to the resource. - */ - Tags?: TagList; - /** - * The Spot instance request type. - */ - Type?: SpotInstanceType; - /** - * The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time. - */ - ValidFrom?: DateTime; - /** - * The end date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). If this is a one-time request, it remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date is reached. - */ - ValidUntil?: DateTime; - } - export type SpotInstanceRequestIdList = String[]; - export type SpotInstanceRequestList = SpotInstanceRequest[]; - export type SpotInstanceState = "open"|"active"|"closed"|"cancelled"|"failed"|string; - export interface SpotInstanceStateFault { - /** - * The reason code for the Spot instance state change. - */ - Code?: String; - /** - * The message for the Spot instance state change. - */ - Message?: String; - } - export interface SpotInstanceStatus { - /** - * The status code. For a list of status codes, see Spot Bid Status Codes in the Amazon Elastic Compute Cloud User Guide. - */ - Code?: String; - /** - * The description for the status code. - */ - Message?: String; - /** - * The date and time of the most recent status update, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). - */ - UpdateTime?: DateTime; - } - export type SpotInstanceType = "one-time"|"persistent"|string; - export interface SpotPlacement { - /** - * The Availability Zone. [Spot fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b". - */ - AvailabilityZone?: String; - /** - * The name of the placement group (for cluster instances). - */ - GroupName?: String; - /** - * The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot instances. - */ - Tenancy?: Tenancy; - } - export interface SpotPrice { - /** - * The Availability Zone. - */ - AvailabilityZone?: String; - /** - * The instance type. Note that T2 and HS1 instance types are not supported. - */ - InstanceType?: InstanceType; - /** - * A general description of the AMI. - */ - ProductDescription?: RIProductDescription; - /** - * The maximum price (bid) that you are willing to pay for a Spot instance. - */ - SpotPrice?: String; - /** - * The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). - */ - Timestamp?: DateTime; - } - export type SpotPriceHistoryList = SpotPrice[]; - export interface StaleIpPermission { - /** - * The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types. - */ - FromPort?: Integer; - /** - * The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers). - */ - IpProtocol?: String; - /** - * One or more IP ranges. Not applicable for stale security group rules. - */ - IpRanges?: IpRanges; - /** - * One or more prefix list IDs for an AWS service. Not applicable for stale security group rules. - */ - PrefixListIds?: PrefixListIdSet; - /** - * The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types. - */ - ToPort?: Integer; - /** - * One or more security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection. - */ - UserIdGroupPairs?: UserIdGroupPairSet; - } - export type StaleIpPermissionSet = StaleIpPermission[]; - export interface StaleSecurityGroup { - /** - * The description of the security group. - */ - Description?: String; - /** - * The ID of the security group. - */ - GroupId: String; - /** - * The name of the security group. - */ - GroupName?: String; - /** - * Information about the stale inbound rules in the security group. - */ - StaleIpPermissions?: StaleIpPermissionSet; - /** - * Information about the stale outbound rules in the security group. - */ - StaleIpPermissionsEgress?: StaleIpPermissionSet; - /** - * The ID of the VPC for the security group. - */ - VpcId?: String; - } - export type StaleSecurityGroupSet = StaleSecurityGroup[]; - export interface StartInstancesRequest { - /** - * One or more instance IDs. - */ - InstanceIds: InstanceIdStringList; - /** - * Reserved. - */ - AdditionalInfo?: String; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface StartInstancesResult { - /** - * Information about one or more started instances. - */ - StartingInstances?: InstanceStateChangeList; - } - export type State = "Pending"|"Available"|"Deleting"|"Deleted"|string; - export interface StateReason { - /** - * The reason code for the state change. - */ - Code?: String; - /** - * The message for the state change. Server.InsufficientInstanceCapacity: There was insufficient instance capacity to satisfy the launch request. Server.InternalError: An internal error occurred during instance launch, resulting in termination. Server.ScheduledStop: The instance was stopped due to a scheduled retirement. Server.SpotInstanceTermination: A Spot instance was terminated due to an increase in the market price. Client.InternalError: A client error caused the instance to terminate on launch. Client.InstanceInitiatedShutdown: The instance was shut down using the shutdown -h command from the instance. Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API. Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your limits. Client.InvalidSnapshot.NotFound: The specified snapshot was not found. - */ - Message?: String; - } - export type Status = "MoveInProgress"|"InVpc"|"InClassic"|string; - export type StatusName = "reachability"|string; - export type StatusType = "passed"|"failed"|"insufficient-data"|"initializing"|string; - export interface StopInstancesRequest { - /** - * One or more instance IDs. - */ - InstanceIds: InstanceIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - /** - * Forces the instances to stop. The instances do not have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures. This option is not recommended for Windows instances. Default: false - */ - Force?: Boolean; - } - export interface StopInstancesResult { - /** - * Information about one or more stopped instances. - */ - StoppingInstances?: InstanceStateChangeList; - } - export interface Storage { - /** - * An Amazon S3 storage location. - */ - S3?: S3Storage; - } - export interface StorageLocation { - /** - * The name of the S3 bucket. - */ - Bucket?: String; - /** - * The key. - */ - Key?: String; - } - export type String = string; - export interface Subnet { - /** - * The Availability Zone of the subnet. - */ - AvailabilityZone?: String; - /** - * The number of unused private IPv4 addresses in the subnet. Note that the IPv4 addresses for any stopped instances are considered unavailable. - */ - AvailableIpAddressCount?: Integer; - /** - * The IPv4 CIDR block assigned to the subnet. - */ - CidrBlock?: String; - /** - * Indicates whether this is the default subnet for the Availability Zone. - */ - DefaultForAz?: Boolean; - /** - * Indicates whether instances launched in this subnet receive a public IPv4 address. - */ - MapPublicIpOnLaunch?: Boolean; - /** - * The current state of the subnet. - */ - State?: SubnetState; - /** - * The ID of the subnet. - */ - SubnetId?: String; - /** - * The ID of the VPC the subnet is in. - */ - VpcId?: String; - /** - * Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives an IPv6 address. - */ - AssignIpv6AddressOnCreation?: Boolean; - /** - * Information about the IPv6 CIDR blocks associated with the subnet. - */ - Ipv6CidrBlockAssociationSet?: SubnetIpv6CidrBlockAssociationSet; - /** - * Any tags assigned to the subnet. - */ - Tags?: TagList; - } - export interface SubnetCidrBlockState { - /** - * The state of a CIDR block. - */ - State?: SubnetCidrBlockStateCode; - /** - * A message about the status of the CIDR block, if applicable. - */ - StatusMessage?: String; - } - export type SubnetCidrBlockStateCode = "associating"|"associated"|"disassociating"|"disassociated"|"failing"|"failed"|string; - export type SubnetIdStringList = String[]; - export interface SubnetIpv6CidrBlockAssociation { - /** - * The association ID for the CIDR block. - */ - AssociationId?: String; - /** - * The IPv6 CIDR block. - */ - Ipv6CidrBlock?: String; - /** - * Information about the state of the CIDR block. - */ - Ipv6CidrBlockState?: SubnetCidrBlockState; - } - export type SubnetIpv6CidrBlockAssociationSet = SubnetIpv6CidrBlockAssociation[]; - export type SubnetList = Subnet[]; - export type SubnetState = "pending"|"available"|string; - export type SummaryStatus = "ok"|"impaired"|"insufficient-data"|"not-applicable"|"initializing"|string; - export interface Tag { - /** - * The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws: - */ - Key?: String; - /** - * The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters. - */ - Value?: String; - } - export interface TagDescription { - /** - * The tag key. - */ - Key?: String; - /** - * The ID of the resource. For example, ami-1a2b3c4d. - */ - ResourceId?: String; - /** - * The resource type. - */ - ResourceType?: ResourceType; - /** - * The tag value. - */ - Value?: String; - } - export type TagDescriptionList = TagDescription[]; - export type TagList = Tag[]; - export interface TagSpecification { - /** - * The type of resource to tag. Currently, the resource types that support tagging on creation are instance and volume. - */ - ResourceType?: ResourceType; - /** - * The tags to apply to the resource. - */ - Tags?: TagList; - } - export type TagSpecificationList = TagSpecification[]; - export interface TargetConfiguration { - /** - * The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request - */ - InstanceCount?: Integer; - /** - * The ID of the Convertible Reserved Instance offering. - */ - OfferingId?: String; - } - export interface TargetConfigurationRequest { - /** - * The number of instances the Covertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request - */ - InstanceCount?: Integer; - /** - * The Convertible Reserved Instance offering ID. - */ - OfferingId: String; - } - export type TargetConfigurationRequestSet = TargetConfigurationRequest[]; - export interface TargetReservationValue { - /** - * The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of the list value, remaining upfront price, and additional upfront cost of the exchange. - */ - ReservationValue?: ReservationValue; - /** - * The configuration of the Convertible Reserved Instances that make up the exchange. - */ - TargetConfiguration?: TargetConfiguration; - } - export type TargetReservationValueSet = TargetReservationValue[]; - export type TelemetryStatus = "UP"|"DOWN"|string; - export type Tenancy = "default"|"dedicated"|"host"|string; - export interface TerminateInstancesRequest { - /** - * One or more instance IDs. Constraints: Up to 1000 instance IDs. We recommend breaking up this request into smaller batches. - */ - InstanceIds: InstanceIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface TerminateInstancesResult { - /** - * Information about one or more terminated instances. - */ - TerminatingInstances?: InstanceStateChangeList; - } - export type TrafficType = "ACCEPT"|"REJECT"|"ALL"|string; - export interface UnassignIpv6AddressesRequest { - /** - * The IPv6 addresses to unassign from the network interface. - */ - Ipv6Addresses: Ipv6AddressList; - /** - * The ID of the network interface. - */ - NetworkInterfaceId: String; - } - export interface UnassignIpv6AddressesResult { - /** - * The ID of the network interface. - */ - NetworkInterfaceId?: String; - /** - * The IPv6 addresses that have been unassigned from the network interface. - */ - UnassignedIpv6Addresses?: Ipv6AddressList; - } - export interface UnassignPrivateIpAddressesRequest { - /** - * The ID of the network interface. - */ - NetworkInterfaceId: String; - /** - * The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address. - */ - PrivateIpAddresses: PrivateIpAddressStringList; - } - export interface UnmonitorInstancesRequest { - /** - * One or more instance IDs. - */ - InstanceIds: InstanceIdStringList; - /** - * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. - */ - DryRun?: Boolean; - } - export interface UnmonitorInstancesResult { - /** - * The monitoring information. - */ - InstanceMonitorings?: InstanceMonitoringList; - } - export interface UnsuccessfulItem { - /** - * Information about the error. - */ - Error: UnsuccessfulItemError; - /** - * The ID of the resource. - */ - ResourceId?: String; - } - export interface UnsuccessfulItemError { - /** - * The error code. - */ - Code: String; - /** - * The error message accompanying the error code. - */ - Message: String; - } - export type UnsuccessfulItemList = UnsuccessfulItem[]; - export type UnsuccessfulItemSet = UnsuccessfulItem[]; - export interface UserBucket { - /** - * The name of the S3 bucket where the disk image is located. - */ - S3Bucket?: String; - /** - * The file name of the disk image. - */ - S3Key?: String; - } - export interface UserBucketDetails { - /** - * The S3 bucket from which the disk image was created. - */ - S3Bucket?: String; - /** - * The file name of the disk image. - */ - S3Key?: String; - } - export interface UserData { - /** - * The user data. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text. - */ - Data?: String; - } - export type UserGroupStringList = String[]; - export interface UserIdGroupPair { - /** - * The ID of the security group. - */ - GroupId?: String; - /** - * The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID. - */ - GroupName?: String; - /** - * The status of a VPC peering connection, if applicable. - */ - PeeringStatus?: String; - /** - * The ID of an AWS account. For a referenced security group in another VPC, the account ID of the referenced security group is returned. [EC2-Classic] Required when adding or removing rules that reference a security group in another AWS account. - */ - UserId?: String; - /** - * The ID of the VPC for the referenced security group, if applicable. - */ - VpcId?: String; - /** - * The ID of the VPC peering connection, if applicable. - */ - VpcPeeringConnectionId?: String; - } - export type UserIdGroupPairList = UserIdGroupPair[]; - export type UserIdGroupPairSet = UserIdGroupPair[]; - export type UserIdStringList = String[]; - export type ValueStringList = String[]; - export interface VgwTelemetry { - /** - * The number of accepted routes. - */ - AcceptedRouteCount?: Integer; - /** - * The date and time of the last change in status. - */ - LastStatusChange?: DateTime; - /** - * The Internet-routable IP address of the virtual private gateway's outside interface. - */ - OutsideIpAddress?: String; - /** - * The status of the VPN tunnel. - */ - Status?: TelemetryStatus; - /** - * If an error occurs, a description of the error. - */ - StatusMessage?: String; - } - export type VgwTelemetryList = VgwTelemetry[]; - export type VirtualizationType = "hvm"|"paravirtual"|string; - export interface Volume { - /** - * Information about the volume attachments. - */ - Attachments?: VolumeAttachmentList; - /** - * The Availability Zone for the volume. - */ - AvailabilityZone?: String; - /** - * The time stamp when volume creation was initiated. - */ - CreateTime?: DateTime; - /** - * Indicates whether the volume will be encrypted. - */ - Encrypted?: Boolean; - /** - * The full ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the volume encryption key for the volume. - */ - KmsKeyId?: String; - /** - * The size of the volume, in GiBs. - */ - Size?: Integer; - /** - * The snapshot from which the volume was created, if applicable. - */ - SnapshotId?: String; - /** - * The volume state. - */ - State?: VolumeState; - /** - * The ID of the volume. - */ - VolumeId?: String; - /** - * The number of I/O operations per second (IOPS) that the volume supports. For Provisioned IOPS SSD volumes, this represents the number of IOPS that are provisioned for the volume. For General Purpose SSD volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. For more information on General Purpose SSD baseline performance, I/O credits, and bursting, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide. Constraint: Range is 100-20000 IOPS for io1 volumes and 100-10000 IOPS for gp2 volumes. Condition: This parameter is required for requests to create io1 volumes; it is not used in requests to create gp2, st1, sc1, or standard volumes. - */ - Iops?: Integer; - /** - * Any tags assigned to the volume. - */ - Tags?: TagList; - /** - * The volume type. This can be gp2 for General Purpose SSD, io1 for Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard for Magnetic volumes. - */ - VolumeType?: VolumeType; - } - export interface VolumeAttachment { - /** - * The time stamp when the attachment initiated. - */ - AttachTime?: DateTime; - /** - * The device name. - */ - Device?: String; - /** - * The ID of the instance. - */ - InstanceId?: String; - /** - * The attachment state of the volume. - */ - State?: VolumeAttachmentState; - /** - * The ID of the volume. - */ - VolumeId?: String; - /** - * Indicates whether the EBS volume is deleted on instance termination. - */ - DeleteOnTermination?: Boolean; - } - export type VolumeAttachmentList = VolumeAttachment[]; - export type VolumeAttachmentState = "attaching"|"attached"|"detaching"|"detached"|string; - export type VolumeAttributeName = "autoEnableIO"|"productCodes"|string; - export interface VolumeDetail { - /** - * The size of the volume, in GiB. - */ - Size: Long; - } - export type VolumeIdStringList = String[]; - export type VolumeList = Volume[]; - export interface VolumeModification { - /** - * ID of the volume being modified. - */ - VolumeId?: String; - /** - * Current state of modification. Modification state is null for unmodified volumes. - */ - ModificationState?: VolumeModificationState; - /** - * Generic status message on modification progress or failure. - */ - StatusMessage?: String; - /** - * Target size of the volume being modified. - */ - TargetSize?: Integer; - /** - * Target IOPS rate of the volume being modified. - */ - TargetIops?: Integer; - /** - * Target EBS volume type of the volume being modified. - */ - TargetVolumeType?: VolumeType; - /** - * Original size of the volume being modified. - */ - OriginalSize?: Integer; - /** - * Original IOPS rate of the volume being modified. - */ - OriginalIops?: Integer; - /** - * Original EBS volume type of the volume being modified. - */ - OriginalVolumeType?: VolumeType; - /** - * Modification progress from 0 to 100%. - */ - Progress?: Long; - /** - * Modification start time - */ - StartTime?: DateTime; - /** - * Modification completion or failure time. - */ - EndTime?: DateTime; - } - export type VolumeModificationList = VolumeModification[]; - export type VolumeModificationState = "modifying"|"optimizing"|"completed"|"failed"|string; - export type VolumeState = "creating"|"available"|"in-use"|"deleting"|"deleted"|"error"|string; - export interface VolumeStatusAction { - /** - * The code identifying the operation, for example, enable-volume-io. - */ - Code?: String; - /** - * A description of the operation. - */ - Description?: String; - /** - * The ID of the event associated with this operation. - */ - EventId?: String; - /** - * The event type associated with this operation. - */ - EventType?: String; - } - export type VolumeStatusActionsList = VolumeStatusAction[]; - export interface VolumeStatusDetails { - /** - * The name of the volume status. - */ - Name?: VolumeStatusName; - /** - * The intended status of the volume status. - */ - Status?: String; - } - export type VolumeStatusDetailsList = VolumeStatusDetails[]; - export interface VolumeStatusEvent { - /** - * A description of the event. - */ - Description?: String; - /** - * The ID of this event. - */ - EventId?: String; - /** - * The type of this event. - */ - EventType?: String; - /** - * The latest end time of the event. - */ - NotAfter?: DateTime; - /** - * The earliest start time of the event. - */ - NotBefore?: DateTime; - } - export type VolumeStatusEventsList = VolumeStatusEvent[]; - export interface VolumeStatusInfo { - /** - * The details of the volume status. - */ - Details?: VolumeStatusDetailsList; - /** - * The status of the volume. - */ - Status?: VolumeStatusInfoStatus; - } - export type VolumeStatusInfoStatus = "ok"|"impaired"|"insufficient-data"|string; - export interface VolumeStatusItem { - /** - * The details of the operation. - */ - Actions?: VolumeStatusActionsList; - /** - * The Availability Zone of the volume. - */ - AvailabilityZone?: String; - /** - * A list of events associated with the volume. - */ - Events?: VolumeStatusEventsList; - /** - * The volume ID. - */ - VolumeId?: String; - /** - * The volume status. - */ - VolumeStatus?: VolumeStatusInfo; - } - export type VolumeStatusList = VolumeStatusItem[]; - export type VolumeStatusName = "io-enabled"|"io-performance"|string; - export type VolumeType = "standard"|"io1"|"gp2"|"sc1"|"st1"|string; - export interface Vpc { - /** - * The IPv4 CIDR block for the VPC. - */ - CidrBlock?: String; - /** - * The ID of the set of DHCP options you've associated with the VPC (or default if the default options are associated with the VPC). - */ - DhcpOptionsId?: String; - /** - * The current state of the VPC. - */ - State?: VpcState; - /** - * The ID of the VPC. - */ - VpcId?: String; - /** - * The allowed tenancy of instances launched into the VPC. - */ - InstanceTenancy?: Tenancy; - /** - * Information about the IPv6 CIDR blocks associated with the VPC. - */ - Ipv6CidrBlockAssociationSet?: VpcIpv6CidrBlockAssociationSet; - /** - * Indicates whether the VPC is the default VPC. - */ - IsDefault?: Boolean; - /** - * Any tags assigned to the VPC. - */ - Tags?: TagList; - } - export interface VpcAttachment { - /** - * The current state of the attachment. - */ - State?: AttachmentStatus; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export type VpcAttachmentList = VpcAttachment[]; - export type VpcAttributeName = "enableDnsSupport"|"enableDnsHostnames"|string; - export interface VpcCidrBlockState { - /** - * The state of the CIDR block. - */ - State?: VpcCidrBlockStateCode; - /** - * A message about the status of the CIDR block, if applicable. - */ - StatusMessage?: String; - } - export type VpcCidrBlockStateCode = "associating"|"associated"|"disassociating"|"disassociated"|"failing"|"failed"|string; - export interface VpcClassicLink { - /** - * Indicates whether the VPC is enabled for ClassicLink. - */ - ClassicLinkEnabled?: Boolean; - /** - * Any tags assigned to the VPC. - */ - Tags?: TagList; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export type VpcClassicLinkIdList = String[]; - export type VpcClassicLinkList = VpcClassicLink[]; - export interface VpcEndpoint { - /** - * The date and time the VPC endpoint was created. - */ - CreationTimestamp?: DateTime; - /** - * The policy document associated with the endpoint. - */ - PolicyDocument?: String; - /** - * One or more route tables associated with the endpoint. - */ - RouteTableIds?: ValueStringList; - /** - * The name of the AWS service to which the endpoint is associated. - */ - ServiceName?: String; - /** - * The state of the VPC endpoint. - */ - State?: State; - /** - * The ID of the VPC endpoint. - */ - VpcEndpointId?: String; - /** - * The ID of the VPC to which the endpoint is associated. - */ - VpcId?: String; - } - export type VpcEndpointSet = VpcEndpoint[]; - export type VpcIdStringList = String[]; - export interface VpcIpv6CidrBlockAssociation { - /** - * The association ID for the IPv6 CIDR block. - */ - AssociationId?: String; - /** - * The IPv6 CIDR block. - */ - Ipv6CidrBlock?: String; - /** - * Information about the state of the CIDR block. - */ - Ipv6CidrBlockState?: VpcCidrBlockState; - } - export type VpcIpv6CidrBlockAssociationSet = VpcIpv6CidrBlockAssociation[]; - export type VpcList = Vpc[]; - export interface VpcPeeringConnection { - /** - * Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection. - */ - AccepterVpcInfo?: VpcPeeringConnectionVpcInfo; - /** - * The time that an unaccepted VPC peering connection will expire. - */ - ExpirationTime?: DateTime; - /** - * Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection. - */ - RequesterVpcInfo?: VpcPeeringConnectionVpcInfo; - /** - * The status of the VPC peering connection. - */ - Status?: VpcPeeringConnectionStateReason; - /** - * Any tags assigned to the resource. - */ - Tags?: TagList; - /** - * The ID of the VPC peering connection. - */ - VpcPeeringConnectionId?: String; - } - export type VpcPeeringConnectionList = VpcPeeringConnection[]; - export interface VpcPeeringConnectionOptionsDescription { - /** - * Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC. - */ - AllowDnsResolutionFromRemoteVpc?: Boolean; - /** - * Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection. - */ - AllowEgressFromLocalClassicLinkToRemoteVpc?: Boolean; - /** - * Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection. - */ - AllowEgressFromLocalVpcToRemoteClassicLink?: Boolean; - } - export interface VpcPeeringConnectionStateReason { - /** - * The status of the VPC peering connection. - */ - Code?: VpcPeeringConnectionStateReasonCode; - /** - * A message that provides more information about the status, if applicable. - */ - Message?: String; - } - export type VpcPeeringConnectionStateReasonCode = "initiating-request"|"pending-acceptance"|"active"|"deleted"|"rejected"|"failed"|"expired"|"provisioning"|"deleting"|string; - export interface VpcPeeringConnectionVpcInfo { - /** - * The IPv4 CIDR block for the VPC. - */ - CidrBlock?: String; - /** - * The IPv6 CIDR block for the VPC. - */ - Ipv6CidrBlockSet?: Ipv6CidrBlockSet; - /** - * The AWS account ID of the VPC owner. - */ - OwnerId?: String; - /** - * Information about the VPC peering connection options for the accepter or requester VPC. - */ - PeeringOptions?: VpcPeeringConnectionOptionsDescription; - /** - * The ID of the VPC. - */ - VpcId?: String; - } - export type VpcState = "pending"|"available"|string; - export interface VpnConnection { - /** - * The configuration information for the VPN connection's customer gateway (in the native XML format). This element is always present in the CreateVpnConnection response; however, it's present in the DescribeVpnConnections response only if the VPN connection is in the pending or available state. - */ - CustomerGatewayConfiguration?: String; - /** - * The ID of the customer gateway at your end of the VPN connection. - */ - CustomerGatewayId?: String; - /** - * The current state of the VPN connection. - */ - State?: VpnState; - /** - * The type of VPN connection. - */ - Type?: GatewayType; - /** - * The ID of the VPN connection. - */ - VpnConnectionId?: String; - /** - * The ID of the virtual private gateway at the AWS side of the VPN connection. - */ - VpnGatewayId?: String; - /** - * The VPN connection options. - */ - Options?: VpnConnectionOptions; - /** - * The static routes associated with the VPN connection. - */ - Routes?: VpnStaticRouteList; - /** - * Any tags assigned to the VPN connection. - */ - Tags?: TagList; - /** - * Information about the VPN tunnel. - */ - VgwTelemetry?: VgwTelemetryList; - } - export type VpnConnectionIdStringList = String[]; - export type VpnConnectionList = VpnConnection[]; - export interface VpnConnectionOptions { - /** - * Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP. - */ - StaticRoutesOnly?: Boolean; - } - export interface VpnConnectionOptionsSpecification { - /** - * Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP. - */ - StaticRoutesOnly?: Boolean; - } - export interface VpnGateway { - /** - * The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned. - */ - AvailabilityZone?: String; - /** - * The current state of the virtual private gateway. - */ - State?: VpnState; - /** - * The type of VPN connection the virtual private gateway supports. - */ - Type?: GatewayType; - /** - * Any VPCs attached to the virtual private gateway. - */ - VpcAttachments?: VpcAttachmentList; - /** - * The ID of the virtual private gateway. - */ - VpnGatewayId?: String; - /** - * Any tags assigned to the virtual private gateway. - */ - Tags?: TagList; - } - export type VpnGatewayIdStringList = String[]; - export type VpnGatewayList = VpnGateway[]; - export type VpnState = "pending"|"available"|"deleting"|"deleted"|string; - export interface VpnStaticRoute { - /** - * The CIDR block associated with the local subnet of the customer data center. - */ - DestinationCidrBlock?: String; - /** - * Indicates how the routes were provided. - */ - Source?: VpnStaticRouteSource; - /** - * The current state of the static route. - */ - State?: VpnState; - } - export type VpnStaticRouteList = VpnStaticRoute[]; - export type VpnStaticRouteSource = "Static"|string; - export type ZoneNameStringList = String[]; - export type scope = "Availability Zone"|"Region"|string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2013-06-15"|"2013-10-15"|"2014-02-01"|"2014-05-01"|"2014-06-15"|"2014-09-01"|"2014-10-01"|"2015-03-01"|"2015-04-15"|"2015-10-01"|"2016-04-01"|"2016-09-15"|"2016-11-15"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the EC2 client. - */ - export import Types = EC2; -} -export = EC2; diff --git a/src/node_modules/aws-sdk/clients/ec2.js b/src/node_modules/aws-sdk/clients/ec2.js deleted file mode 100644 index e63d8e5..0000000 --- a/src/node_modules/aws-sdk/clients/ec2.js +++ /dev/null @@ -1,20 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['ec2'] = {}; -AWS.EC2 = Service.defineService('ec2', ['2013-06-15*', '2013-10-15*', '2014-02-01*', '2014-05-01*', '2014-06-15*', '2014-09-01*', '2014-10-01*', '2015-03-01*', '2015-04-15*', '2015-10-01*', '2016-04-01*', '2016-09-15*', '2016-11-15']); -require('../lib/services/ec2'); -Object.defineProperty(apiLoader.services['ec2'], '2016-11-15', { - get: function get() { - var model = require('../apis/ec2-2016-11-15.min.json'); - model.paginators = require('../apis/ec2-2016-11-15.paginators.json').pagination; - model.waiters = require('../apis/ec2-2016-11-15.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EC2; diff --git a/src/node_modules/aws-sdk/clients/ecr.d.ts b/src/node_modules/aws-sdk/clients/ecr.d.ts deleted file mode 100644 index 02a3ba6..0000000 --- a/src/node_modules/aws-sdk/clients/ecr.d.ts +++ /dev/null @@ -1,805 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ECR extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ECR.Types.ClientConfiguration) - config: Config & ECR.Types.ClientConfiguration; - /** - * Check the availability of multiple image layers in a specified registry and repository. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - batchCheckLayerAvailability(params: ECR.Types.BatchCheckLayerAvailabilityRequest, callback?: (err: AWSError, data: ECR.Types.BatchCheckLayerAvailabilityResponse) => void): Request; - /** - * Check the availability of multiple image layers in a specified registry and repository. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - batchCheckLayerAvailability(callback?: (err: AWSError, data: ECR.Types.BatchCheckLayerAvailabilityResponse) => void): Request; - /** - * Deletes a list of specified images within a specified repository. Images are specified with either imageTag or imageDigest. You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository. You can completely delete an image (and all of its tags) by specifying the image's digest in your request. - */ - batchDeleteImage(params: ECR.Types.BatchDeleteImageRequest, callback?: (err: AWSError, data: ECR.Types.BatchDeleteImageResponse) => void): Request; - /** - * Deletes a list of specified images within a specified repository. Images are specified with either imageTag or imageDigest. You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository. You can completely delete an image (and all of its tags) by specifying the image's digest in your request. - */ - batchDeleteImage(callback?: (err: AWSError, data: ECR.Types.BatchDeleteImageResponse) => void): Request; - /** - * Gets detailed information for specified images within a specified repository. Images are specified with either imageTag or imageDigest. - */ - batchGetImage(params: ECR.Types.BatchGetImageRequest, callback?: (err: AWSError, data: ECR.Types.BatchGetImageResponse) => void): Request; - /** - * Gets detailed information for specified images within a specified repository. Images are specified with either imageTag or imageDigest. - */ - batchGetImage(callback?: (err: AWSError, data: ECR.Types.BatchGetImageResponse) => void): Request; - /** - * Inform Amazon ECR that the image layer upload for a specified registry, repository name, and upload ID, has completed. You can optionally provide a sha256 digest of the image layer for data validation purposes. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - completeLayerUpload(params: ECR.Types.CompleteLayerUploadRequest, callback?: (err: AWSError, data: ECR.Types.CompleteLayerUploadResponse) => void): Request; - /** - * Inform Amazon ECR that the image layer upload for a specified registry, repository name, and upload ID, has completed. You can optionally provide a sha256 digest of the image layer for data validation purposes. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - completeLayerUpload(callback?: (err: AWSError, data: ECR.Types.CompleteLayerUploadResponse) => void): Request; - /** - * Creates an image repository. - */ - createRepository(params: ECR.Types.CreateRepositoryRequest, callback?: (err: AWSError, data: ECR.Types.CreateRepositoryResponse) => void): Request; - /** - * Creates an image repository. - */ - createRepository(callback?: (err: AWSError, data: ECR.Types.CreateRepositoryResponse) => void): Request; - /** - * Deletes an existing image repository. If a repository contains images, you must use the force option to delete it. - */ - deleteRepository(params: ECR.Types.DeleteRepositoryRequest, callback?: (err: AWSError, data: ECR.Types.DeleteRepositoryResponse) => void): Request; - /** - * Deletes an existing image repository. If a repository contains images, you must use the force option to delete it. - */ - deleteRepository(callback?: (err: AWSError, data: ECR.Types.DeleteRepositoryResponse) => void): Request; - /** - * Deletes the repository policy from a specified repository. - */ - deleteRepositoryPolicy(params: ECR.Types.DeleteRepositoryPolicyRequest, callback?: (err: AWSError, data: ECR.Types.DeleteRepositoryPolicyResponse) => void): Request; - /** - * Deletes the repository policy from a specified repository. - */ - deleteRepositoryPolicy(callback?: (err: AWSError, data: ECR.Types.DeleteRepositoryPolicyResponse) => void): Request; - /** - * Returns metadata about the images in a repository, including image size, image tags, and creation date. Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by DescribeImages. - */ - describeImages(params: ECR.Types.DescribeImagesRequest, callback?: (err: AWSError, data: ECR.Types.DescribeImagesResponse) => void): Request; - /** - * Returns metadata about the images in a repository, including image size, image tags, and creation date. Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by DescribeImages. - */ - describeImages(callback?: (err: AWSError, data: ECR.Types.DescribeImagesResponse) => void): Request; - /** - * Describes image repositories in a registry. - */ - describeRepositories(params: ECR.Types.DescribeRepositoriesRequest, callback?: (err: AWSError, data: ECR.Types.DescribeRepositoriesResponse) => void): Request; - /** - * Describes image repositories in a registry. - */ - describeRepositories(callback?: (err: AWSError, data: ECR.Types.DescribeRepositoriesResponse) => void): Request; - /** - * Retrieves a token that is valid for a specified registry for 12 hours. This command allows you to use the docker CLI to push and pull images with Amazon ECR. If you do not specify a registry, the default registry is assumed. The authorizationToken returned for each registry specified is a base64 encoded string that can be decoded and used in a docker login command to authenticate to a registry. The AWS CLI offers an aws ecr get-login command that simplifies the login process. - */ - getAuthorizationToken(params: ECR.Types.GetAuthorizationTokenRequest, callback?: (err: AWSError, data: ECR.Types.GetAuthorizationTokenResponse) => void): Request; - /** - * Retrieves a token that is valid for a specified registry for 12 hours. This command allows you to use the docker CLI to push and pull images with Amazon ECR. If you do not specify a registry, the default registry is assumed. The authorizationToken returned for each registry specified is a base64 encoded string that can be decoded and used in a docker login command to authenticate to a registry. The AWS CLI offers an aws ecr get-login command that simplifies the login process. - */ - getAuthorizationToken(callback?: (err: AWSError, data: ECR.Types.GetAuthorizationTokenResponse) => void): Request; - /** - * Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - getDownloadUrlForLayer(params: ECR.Types.GetDownloadUrlForLayerRequest, callback?: (err: AWSError, data: ECR.Types.GetDownloadUrlForLayerResponse) => void): Request; - /** - * Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - getDownloadUrlForLayer(callback?: (err: AWSError, data: ECR.Types.GetDownloadUrlForLayerResponse) => void): Request; - /** - * Retrieves the repository policy for a specified repository. - */ - getRepositoryPolicy(params: ECR.Types.GetRepositoryPolicyRequest, callback?: (err: AWSError, data: ECR.Types.GetRepositoryPolicyResponse) => void): Request; - /** - * Retrieves the repository policy for a specified repository. - */ - getRepositoryPolicy(callback?: (err: AWSError, data: ECR.Types.GetRepositoryPolicyResponse) => void): Request; - /** - * Notify Amazon ECR that you intend to upload an image layer. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - initiateLayerUpload(params: ECR.Types.InitiateLayerUploadRequest, callback?: (err: AWSError, data: ECR.Types.InitiateLayerUploadResponse) => void): Request; - /** - * Notify Amazon ECR that you intend to upload an image layer. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - initiateLayerUpload(callback?: (err: AWSError, data: ECR.Types.InitiateLayerUploadResponse) => void): Request; - /** - * Lists all the image IDs for a given repository. You can filter images based on whether or not they are tagged by setting the tagStatus parameter to TAGGED or UNTAGGED. For example, you can filter your results to return only UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them. Or, you can filter your results to return only TAGGED images to list all of the tags in your repository. - */ - listImages(params: ECR.Types.ListImagesRequest, callback?: (err: AWSError, data: ECR.Types.ListImagesResponse) => void): Request; - /** - * Lists all the image IDs for a given repository. You can filter images based on whether or not they are tagged by setting the tagStatus parameter to TAGGED or UNTAGGED. For example, you can filter your results to return only UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them. Or, you can filter your results to return only TAGGED images to list all of the tags in your repository. - */ - listImages(callback?: (err: AWSError, data: ECR.Types.ListImagesResponse) => void): Request; - /** - * Creates or updates the image manifest and tags associated with an image. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - putImage(params: ECR.Types.PutImageRequest, callback?: (err: AWSError, data: ECR.Types.PutImageResponse) => void): Request; - /** - * Creates or updates the image manifest and tags associated with an image. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - putImage(callback?: (err: AWSError, data: ECR.Types.PutImageResponse) => void): Request; - /** - * Applies a repository policy on a specified repository to control access permissions. - */ - setRepositoryPolicy(params: ECR.Types.SetRepositoryPolicyRequest, callback?: (err: AWSError, data: ECR.Types.SetRepositoryPolicyResponse) => void): Request; - /** - * Applies a repository policy on a specified repository to control access permissions. - */ - setRepositoryPolicy(callback?: (err: AWSError, data: ECR.Types.SetRepositoryPolicyResponse) => void): Request; - /** - * Uploads an image layer part to Amazon ECR. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - uploadLayerPart(params: ECR.Types.UploadLayerPartRequest, callback?: (err: AWSError, data: ECR.Types.UploadLayerPartResponse) => void): Request; - /** - * Uploads an image layer part to Amazon ECR. This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images. - */ - uploadLayerPart(callback?: (err: AWSError, data: ECR.Types.UploadLayerPartResponse) => void): Request; -} -declare namespace ECR { - export type Arn = string; - export interface AuthorizationData { - /** - * A base64-encoded string that contains authorization data for the specified Amazon ECR registry. When the string is decoded, it is presented in the format user:password for private registry authentication using docker login. - */ - authorizationToken?: Base64; - /** - * The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours. - */ - expiresAt?: ExpirationTimestamp; - /** - * The registry URL to use for this authorization token in a docker login command. The Amazon ECR registry URL format is https://aws_account_id.dkr.ecr.region.amazonaws.com. For example, https://012345678910.dkr.ecr.us-east-1.amazonaws.com.. - */ - proxyEndpoint?: ProxyEndpoint; - } - export type AuthorizationDataList = AuthorizationData[]; - export type Base64 = string; - export interface BatchCheckLayerAvailabilityRequest { - /** - * The AWS account ID associated with the registry that contains the image layers to check. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The name of the repository that is associated with the image layers to check. - */ - repositoryName: RepositoryName; - /** - * The digests of the image layers to check. - */ - layerDigests: BatchedOperationLayerDigestList; - } - export interface BatchCheckLayerAvailabilityResponse { - /** - * A list of image layer objects corresponding to the image layer references in the request. - */ - layers?: LayerList; - /** - * Any failures associated with the call. - */ - failures?: LayerFailureList; - } - export interface BatchDeleteImageRequest { - /** - * The AWS account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The repository that contains the image to delete. - */ - repositoryName: RepositoryName; - /** - * A list of image ID references that correspond to images to delete. The format of the imageIds reference is imageTag=tag or imageDigest=digest. - */ - imageIds: ImageIdentifierList; - } - export interface BatchDeleteImageResponse { - /** - * The image IDs of the deleted images. - */ - imageIds?: ImageIdentifierList; - /** - * Any failures associated with the call. - */ - failures?: ImageFailureList; - } - export interface BatchGetImageRequest { - /** - * The AWS account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The repository that contains the images to describe. - */ - repositoryName: RepositoryName; - /** - * A list of image ID references that correspond to images to describe. The format of the imageIds reference is imageTag=tag or imageDigest=digest. - */ - imageIds: ImageIdentifierList; - /** - * The accepted media types for the request. Valid values: application/vnd.docker.distribution.manifest.v1+json | application/vnd.docker.distribution.manifest.v2+json | application/vnd.oci.image.manifest.v1+json - */ - acceptedMediaTypes?: MediaTypeList; - } - export interface BatchGetImageResponse { - /** - * A list of image objects corresponding to the image references in the request. - */ - images?: ImageList; - /** - * Any failures associated with the call. - */ - failures?: ImageFailureList; - } - export type BatchedOperationLayerDigest = string; - export type BatchedOperationLayerDigestList = BatchedOperationLayerDigest[]; - export interface CompleteLayerUploadRequest { - /** - * The AWS account ID associated with the registry to which to upload layers. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The name of the repository to associate with the image layer. - */ - repositoryName: RepositoryName; - /** - * The upload ID from a previous InitiateLayerUpload operation to associate with the image layer. - */ - uploadId: UploadId; - /** - * The sha256 digest of the image layer. - */ - layerDigests: LayerDigestList; - } - export interface CompleteLayerUploadResponse { - /** - * The registry ID associated with the request. - */ - registryId?: RegistryId; - /** - * The repository name associated with the request. - */ - repositoryName?: RepositoryName; - /** - * The upload ID associated with the layer. - */ - uploadId?: UploadId; - /** - * The sha256 digest of the image layer. - */ - layerDigest?: LayerDigest; - } - export interface CreateRepositoryRequest { - /** - * The name to use for the repository. The repository name may be specified on its own (such as nginx-web-app) or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app). - */ - repositoryName: RepositoryName; - } - export interface CreateRepositoryResponse { - /** - * The repository that was created. - */ - repository?: Repository; - } - export type CreationTimestamp = Date; - export interface DeleteRepositoryPolicyRequest { - /** - * The AWS account ID associated with the registry that contains the repository policy to delete. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The name of the repository that is associated with the repository policy to delete. - */ - repositoryName: RepositoryName; - } - export interface DeleteRepositoryPolicyResponse { - /** - * The registry ID associated with the request. - */ - registryId?: RegistryId; - /** - * The repository name associated with the request. - */ - repositoryName?: RepositoryName; - /** - * The JSON repository policy that was deleted from the repository. - */ - policyText?: RepositoryPolicyText; - } - export interface DeleteRepositoryRequest { - /** - * The AWS account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The name of the repository to delete. - */ - repositoryName: RepositoryName; - /** - * Force the deletion of the repository if it contains images. - */ - force?: ForceFlag; - } - export interface DeleteRepositoryResponse { - /** - * The repository that was deleted. - */ - repository?: Repository; - } - export interface DescribeImagesFilter { - /** - * The tag status with which to filter your DescribeImages results. You can filter results based on whether they are TAGGED or UNTAGGED. - */ - tagStatus?: TagStatus; - } - export interface DescribeImagesRequest { - /** - * The AWS account ID associated with the registry that contains the repository in which to describe images. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described. - */ - repositoryName: RepositoryName; - /** - * The list of image IDs for the requested repository. - */ - imageIds?: ImageIdentifierList; - /** - * The nextToken value returned from a previous paginated DescribeImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. - */ - nextToken?: NextToken; - /** - * The maximum number of repository results returned by DescribeImages in paginated output. When this parameter is used, DescribeImages only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeImages request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeImages returns up to 100 results and a nextToken value, if applicable. - */ - maxResults?: MaxResults; - /** - * The filter key and value with which to filter your DescribeImages results. - */ - filter?: DescribeImagesFilter; - } - export interface DescribeImagesResponse { - /** - * A list of ImageDetail objects that contain data about the image. - */ - imageDetails?: ImageDetailList; - /** - * The nextToken value to include in a future DescribeImages request. When the results of a DescribeImages request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: NextToken; - } - export interface DescribeRepositoriesRequest { - /** - * The AWS account ID associated with the registry that contains the repositories to be described. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described. - */ - repositoryNames?: RepositoryNameList; - /** - * The nextToken value returned from a previous paginated DescribeRepositories request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: NextToken; - /** - * The maximum number of repository results returned by DescribeRepositories in paginated output. When this parameter is used, DescribeRepositories only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeRepositories request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeRepositories returns up to 100 results and a nextToken value, if applicable. - */ - maxResults?: MaxResults; - } - export interface DescribeRepositoriesResponse { - /** - * A list of repository objects corresponding to valid repositories. - */ - repositories?: RepositoryList; - /** - * The nextToken value to include in a future DescribeRepositories request. When the results of a DescribeRepositories request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: NextToken; - } - export type ExceptionMessage = string; - export type ExpirationTimestamp = Date; - export type ForceFlag = boolean; - export type GetAuthorizationTokenRegistryIdList = RegistryId[]; - export interface GetAuthorizationTokenRequest { - /** - * A list of AWS account IDs that are associated with the registries for which to get authorization tokens. If you do not specify a registry, the default registry is assumed. - */ - registryIds?: GetAuthorizationTokenRegistryIdList; - } - export interface GetAuthorizationTokenResponse { - /** - * A list of authorization token data objects that correspond to the registryIds values in the request. - */ - authorizationData?: AuthorizationDataList; - } - export interface GetDownloadUrlForLayerRequest { - /** - * The AWS account ID associated with the registry that contains the image layer to download. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The name of the repository that is associated with the image layer to download. - */ - repositoryName: RepositoryName; - /** - * The digest of the image layer to download. - */ - layerDigest: LayerDigest; - } - export interface GetDownloadUrlForLayerResponse { - /** - * The pre-signed Amazon S3 download URL for the requested layer. - */ - downloadUrl?: Url; - /** - * The digest of the image layer to download. - */ - layerDigest?: LayerDigest; - } - export interface GetRepositoryPolicyRequest { - /** - * The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The name of the repository whose policy you want to retrieve. - */ - repositoryName: RepositoryName; - } - export interface GetRepositoryPolicyResponse { - /** - * The registry ID associated with the request. - */ - registryId?: RegistryId; - /** - * The repository name associated with the request. - */ - repositoryName?: RepositoryName; - /** - * The JSON repository policy text associated with the repository. - */ - policyText?: RepositoryPolicyText; - } - export interface Image { - /** - * The AWS account ID associated with the registry containing the image. - */ - registryId?: RegistryId; - /** - * The name of the repository associated with the image. - */ - repositoryName?: RepositoryName; - /** - * An object containing the image tag and image digest associated with an image. - */ - imageId?: ImageIdentifier; - /** - * The image manifest associated with the image. - */ - imageManifest?: ImageManifest; - } - export interface ImageDetail { - /** - * The AWS account ID associated with the registry to which this image belongs. - */ - registryId?: RegistryId; - /** - * The name of the repository to which this image belongs. - */ - repositoryName?: RepositoryName; - /** - * The sha256 digest of the image manifest. - */ - imageDigest?: ImageDigest; - /** - * The list of tags associated with this image. - */ - imageTags?: ImageTagList; - /** - * The size, in bytes, of the image in the repository. Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by DescribeImages. - */ - imageSizeInBytes?: ImageSizeInBytes; - /** - * The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository. - */ - imagePushedAt?: PushTimestamp; - } - export type ImageDetailList = ImageDetail[]; - export type ImageDigest = string; - export interface ImageFailure { - /** - * The image ID associated with the failure. - */ - imageId?: ImageIdentifier; - /** - * The code associated with the failure. - */ - failureCode?: ImageFailureCode; - /** - * The reason for the failure. - */ - failureReason?: ImageFailureReason; - } - export type ImageFailureCode = "InvalidImageDigest"|"InvalidImageTag"|"ImageTagDoesNotMatchDigest"|"ImageNotFound"|"MissingDigestAndTag"|string; - export type ImageFailureList = ImageFailure[]; - export type ImageFailureReason = string; - export interface ImageIdentifier { - /** - * The sha256 digest of the image manifest. - */ - imageDigest?: ImageDigest; - /** - * The tag used for the image. - */ - imageTag?: ImageTag; - } - export type ImageIdentifierList = ImageIdentifier[]; - export type ImageList = Image[]; - export type ImageManifest = string; - export type ImageSizeInBytes = number; - export type ImageTag = string; - export type ImageTagList = ImageTag[]; - export interface InitiateLayerUploadRequest { - /** - * The AWS account ID associated with the registry that you intend to upload layers to. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The name of the repository that you intend to upload layers to. - */ - repositoryName: RepositoryName; - } - export interface InitiateLayerUploadResponse { - /** - * The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations. - */ - uploadId?: UploadId; - /** - * The size, in bytes, that Amazon ECR expects future layer part uploads to be. - */ - partSize?: PartSize; - } - export interface Layer { - /** - * The sha256 digest of the image layer. - */ - layerDigest?: LayerDigest; - /** - * The availability status of the image layer. - */ - layerAvailability?: LayerAvailability; - /** - * The size, in bytes, of the image layer. - */ - layerSize?: LayerSizeInBytes; - /** - * The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip or application/vnd.oci.image.layer.v1.tar+gzip. - */ - mediaType?: MediaType; - } - export type LayerAvailability = "AVAILABLE"|"UNAVAILABLE"|string; - export type LayerDigest = string; - export type LayerDigestList = LayerDigest[]; - export interface LayerFailure { - /** - * The layer digest associated with the failure. - */ - layerDigest?: BatchedOperationLayerDigest; - /** - * The failure code associated with the failure. - */ - failureCode?: LayerFailureCode; - /** - * The reason for the failure. - */ - failureReason?: LayerFailureReason; - } - export type LayerFailureCode = "InvalidLayerDigest"|"MissingLayerDigest"|string; - export type LayerFailureList = LayerFailure[]; - export type LayerFailureReason = string; - export type LayerList = Layer[]; - export type LayerPartBlob = Buffer|Uint8Array|Blob|string; - export type LayerSizeInBytes = number; - export interface ListImagesFilter { - /** - * The tag status with which to filter your ListImages results. You can filter results based on whether they are TAGGED or UNTAGGED. - */ - tagStatus?: TagStatus; - } - export interface ListImagesRequest { - /** - * The AWS account ID associated with the registry that contains the repository to list images in. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The repository whose image IDs are to be listed. - */ - repositoryName: RepositoryName; - /** - * The nextToken value returned from a previous paginated ListImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: NextToken; - /** - * The maximum number of image results returned by ListImages in paginated output. When this parameter is used, ListImages only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListImages request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListImages returns up to 100 results and a nextToken value, if applicable. - */ - maxResults?: MaxResults; - /** - * The filter key and value with which to filter your ListImages results. - */ - filter?: ListImagesFilter; - } - export interface ListImagesResponse { - /** - * The list of image IDs for the requested repository. - */ - imageIds?: ImageIdentifierList; - /** - * The nextToken value to include in a future ListImages request. When the results of a ListImages request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: NextToken; - } - export type MaxResults = number; - export type MediaType = string; - export type MediaTypeList = MediaType[]; - export type NextToken = string; - export type PartSize = number; - export type ProxyEndpoint = string; - export type PushTimestamp = Date; - export interface PutImageRequest { - /** - * The AWS account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The name of the repository in which to put the image. - */ - repositoryName: RepositoryName; - /** - * The image manifest corresponding to the image to be uploaded. - */ - imageManifest: ImageManifest; - /** - * The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or OCI formats. - */ - imageTag?: ImageTag; - } - export interface PutImageResponse { - /** - * Details of the image uploaded. - */ - image?: Image; - } - export type RegistryId = string; - export interface Repository { - /** - * The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, the AWS account ID of the repository owner, the repository namespace, and then the repository name. For example, arn:aws:ecr:region:012345678910:repository/test. - */ - repositoryArn?: Arn; - /** - * The AWS account ID associated with the registry that contains the repository. - */ - registryId?: RegistryId; - /** - * The name of the repository. - */ - repositoryName?: RepositoryName; - /** - * The URI for the repository. You can use this URI for Docker push and pull operations. - */ - repositoryUri?: Url; - /** - * The date and time, in JavaScript date/time format, when the repository was created. - */ - createdAt?: CreationTimestamp; - } - export type RepositoryList = Repository[]; - export type RepositoryName = string; - export type RepositoryNameList = RepositoryName[]; - export type RepositoryPolicyText = string; - export interface SetRepositoryPolicyRequest { - /** - * The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The name of the repository to receive the policy. - */ - repositoryName: RepositoryName; - /** - * The JSON repository policy text to apply to the repository. - */ - policyText: RepositoryPolicyText; - /** - * If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs. - */ - force?: ForceFlag; - } - export interface SetRepositoryPolicyResponse { - /** - * The registry ID associated with the request. - */ - registryId?: RegistryId; - /** - * The repository name associated with the request. - */ - repositoryName?: RepositoryName; - /** - * The JSON repository policy text applied to the repository. - */ - policyText?: RepositoryPolicyText; - } - export type TagStatus = "TAGGED"|"UNTAGGED"|string; - export type UploadId = string; - export interface UploadLayerPartRequest { - /** - * The AWS account ID associated with the registry that you are uploading layer parts to. If you do not specify a registry, the default registry is assumed. - */ - registryId?: RegistryId; - /** - * The name of the repository that you are uploading layer parts to. - */ - repositoryName: RepositoryName; - /** - * The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload. - */ - uploadId: UploadId; - /** - * The integer value of the first byte of the layer part. - */ - partFirstByte: PartSize; - /** - * The integer value of the last byte of the layer part. - */ - partLastByte: PartSize; - /** - * The base64-encoded layer part payload. - */ - layerPartBlob: LayerPartBlob; - } - export interface UploadLayerPartResponse { - /** - * The registry ID associated with the request. - */ - registryId?: RegistryId; - /** - * The repository name associated with the request. - */ - repositoryName?: RepositoryName; - /** - * The upload ID associated with the request. - */ - uploadId?: UploadId; - /** - * The integer value of the last byte received in the request. - */ - lastByteReceived?: PartSize; - } - export type Url = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-09-21"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ECR client. - */ - export import Types = ECR; -} -export = ECR; diff --git a/src/node_modules/aws-sdk/clients/ecr.js b/src/node_modules/aws-sdk/clients/ecr.js deleted file mode 100644 index 0c9d3a5..0000000 --- a/src/node_modules/aws-sdk/clients/ecr.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['ecr'] = {}; -AWS.ECR = Service.defineService('ecr', ['2015-09-21']); -Object.defineProperty(apiLoader.services['ecr'], '2015-09-21', { - get: function get() { - var model = require('../apis/ecr-2015-09-21.min.json'); - model.paginators = require('../apis/ecr-2015-09-21.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ECR; diff --git a/src/node_modules/aws-sdk/clients/ecs.d.ts b/src/node_modules/aws-sdk/clients/ecs.d.ts deleted file mode 100644 index f228792..0000000 --- a/src/node_modules/aws-sdk/clients/ecs.d.ts +++ /dev/null @@ -1,1850 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ECS extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ECS.Types.ClientConfiguration) - config: Config & ECS.Types.ClientConfiguration; - /** - * Creates a new Amazon ECS cluster. By default, your account receives a default cluster when you launch your first container instance. However, you can create your own cluster with a unique name with the CreateCluster action. - */ - createCluster(params: ECS.Types.CreateClusterRequest, callback?: (err: AWSError, data: ECS.Types.CreateClusterResponse) => void): Request; - /** - * Creates a new Amazon ECS cluster. By default, your account receives a default cluster when you launch your first container instance. However, you can create your own cluster with a unique name with the CreateCluster action. - */ - createCluster(callback?: (err: AWSError, data: ECS.Types.CreateClusterResponse) => void): Request; - /** - * Runs and maintains a desired number of tasks from a specified task definition. If the number of tasks running in a service drops below desiredCount, Amazon ECS spawns another copy of the task in the specified cluster. To update an existing service, see UpdateService. In addition to maintaining the desired count of tasks in your service, you can optionally run your service behind a load balancer. The load balancer distributes traffic across the tasks that are associated with the service. For more information, see Service Load Balancing in the Amazon EC2 Container Service Developer Guide. You can optionally specify a deployment configuration for your service. During a deployment (which is triggered by changing the task definition or the desired count of a service with an UpdateService operation), the service scheduler uses the minimumHealthyPercent and maximumPercent parameters to determine the deployment strategy. The minimumHealthyPercent represents a lower limit on the number of your service's tasks that must remain in the RUNNING state during a deployment, as a percentage of the desiredCount (rounded up to the nearest integer). This parameter enables you to deploy without using additional cluster capacity. For example, if your service has a desiredCount of four tasks and a minimumHealthyPercent of 50%, the scheduler can stop two existing tasks to free up cluster capacity before starting two new tasks. Tasks for services that do not use a load balancer are considered healthy if they are in the RUNNING state. Tasks for services that do use a load balancer are considered healthy if they are in the RUNNING state and the container instance they are hosted on is reported as healthy by the load balancer. The default value for minimumHealthyPercent is 50% in the console and 100% for the AWS CLI, the AWS SDKs, and the APIs. The maximumPercent parameter represents an upper limit on the number of your service's tasks that are allowed in the RUNNING or PENDING state during a deployment, as a percentage of the desiredCount (rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service has a desiredCount of four tasks and a maximumPercent value of 200%, the scheduler can start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default value for maximumPercent is 200%. When the service scheduler launches new tasks, it determines task placement in your cluster using the following logic: Determine which of the container instances in your cluster can support your service's task definition (for example, they have the required CPU, memory, ports, and container instance attributes). By default, the service scheduler attempts to balance tasks across Availability Zones in this manner (although you can choose a different placement strategy) with the placementStrategy parameter): Sort the valid container instances by the fewest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have zero, valid container instances in either zone B or C are considered optimal for placement. Place the new service task on a valid container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the fewest number of running tasks for this service. - */ - createService(params: ECS.Types.CreateServiceRequest, callback?: (err: AWSError, data: ECS.Types.CreateServiceResponse) => void): Request; - /** - * Runs and maintains a desired number of tasks from a specified task definition. If the number of tasks running in a service drops below desiredCount, Amazon ECS spawns another copy of the task in the specified cluster. To update an existing service, see UpdateService. In addition to maintaining the desired count of tasks in your service, you can optionally run your service behind a load balancer. The load balancer distributes traffic across the tasks that are associated with the service. For more information, see Service Load Balancing in the Amazon EC2 Container Service Developer Guide. You can optionally specify a deployment configuration for your service. During a deployment (which is triggered by changing the task definition or the desired count of a service with an UpdateService operation), the service scheduler uses the minimumHealthyPercent and maximumPercent parameters to determine the deployment strategy. The minimumHealthyPercent represents a lower limit on the number of your service's tasks that must remain in the RUNNING state during a deployment, as a percentage of the desiredCount (rounded up to the nearest integer). This parameter enables you to deploy without using additional cluster capacity. For example, if your service has a desiredCount of four tasks and a minimumHealthyPercent of 50%, the scheduler can stop two existing tasks to free up cluster capacity before starting two new tasks. Tasks for services that do not use a load balancer are considered healthy if they are in the RUNNING state. Tasks for services that do use a load balancer are considered healthy if they are in the RUNNING state and the container instance they are hosted on is reported as healthy by the load balancer. The default value for minimumHealthyPercent is 50% in the console and 100% for the AWS CLI, the AWS SDKs, and the APIs. The maximumPercent parameter represents an upper limit on the number of your service's tasks that are allowed in the RUNNING or PENDING state during a deployment, as a percentage of the desiredCount (rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service has a desiredCount of four tasks and a maximumPercent value of 200%, the scheduler can start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default value for maximumPercent is 200%. When the service scheduler launches new tasks, it determines task placement in your cluster using the following logic: Determine which of the container instances in your cluster can support your service's task definition (for example, they have the required CPU, memory, ports, and container instance attributes). By default, the service scheduler attempts to balance tasks across Availability Zones in this manner (although you can choose a different placement strategy) with the placementStrategy parameter): Sort the valid container instances by the fewest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have zero, valid container instances in either zone B or C are considered optimal for placement. Place the new service task on a valid container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the fewest number of running tasks for this service. - */ - createService(callback?: (err: AWSError, data: ECS.Types.CreateServiceResponse) => void): Request; - /** - * Deletes one or more custom attributes from an Amazon ECS resource. - */ - deleteAttributes(params: ECS.Types.DeleteAttributesRequest, callback?: (err: AWSError, data: ECS.Types.DeleteAttributesResponse) => void): Request; - /** - * Deletes one or more custom attributes from an Amazon ECS resource. - */ - deleteAttributes(callback?: (err: AWSError, data: ECS.Types.DeleteAttributesResponse) => void): Request; - /** - * Deletes the specified cluster. You must deregister all container instances from this cluster before you may delete it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance. - */ - deleteCluster(params: ECS.Types.DeleteClusterRequest, callback?: (err: AWSError, data: ECS.Types.DeleteClusterResponse) => void): Request; - /** - * Deletes the specified cluster. You must deregister all container instances from this cluster before you may delete it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance. - */ - deleteCluster(callback?: (err: AWSError, data: ECS.Types.DeleteClusterResponse) => void): Request; - /** - * Deletes a specified service within a cluster. You can delete a service if you have no running tasks in it and the desired task count is zero. If the service is actively maintaining tasks, you cannot delete it, and you must update the service to a desired task count of zero. For more information, see UpdateService. When you delete a service, if there are still running tasks that require cleanup, the service status moves from ACTIVE to DRAINING, and the service is no longer visible in the console or in ListServices API operations. After the tasks have stopped, then the service status moves from DRAINING to INACTIVE. Services in the DRAINING or INACTIVE status can still be viewed with DescribeServices API operations; however, in the future, INACTIVE services may be cleaned up and purged from Amazon ECS record keeping, and DescribeServices API operations on those services will return a ServiceNotFoundException error. - */ - deleteService(params: ECS.Types.DeleteServiceRequest, callback?: (err: AWSError, data: ECS.Types.DeleteServiceResponse) => void): Request; - /** - * Deletes a specified service within a cluster. You can delete a service if you have no running tasks in it and the desired task count is zero. If the service is actively maintaining tasks, you cannot delete it, and you must update the service to a desired task count of zero. For more information, see UpdateService. When you delete a service, if there are still running tasks that require cleanup, the service status moves from ACTIVE to DRAINING, and the service is no longer visible in the console or in ListServices API operations. After the tasks have stopped, then the service status moves from DRAINING to INACTIVE. Services in the DRAINING or INACTIVE status can still be viewed with DescribeServices API operations; however, in the future, INACTIVE services may be cleaned up and purged from Amazon ECS record keeping, and DescribeServices API operations on those services will return a ServiceNotFoundException error. - */ - deleteService(callback?: (err: AWSError, data: ECS.Types.DeleteServiceResponse) => void): Request; - /** - * Deregisters an Amazon ECS container instance from the specified cluster. This instance is no longer available to run tasks. If you intend to use the container instance for some other purpose after deregistration, you should stop all of the tasks running on the container instance before deregistration to avoid any orphaned tasks from consuming resources. Deregistering a container instance removes the instance from a cluster, but it does not terminate the EC2 instance; if you are finished using the instance, be sure to terminate it in the Amazon EC2 console to stop billing. If you terminate a running container instance, Amazon ECS automatically deregisters the instance from your cluster (stopped container instances or instances with disconnected agents are not automatically deregistered when terminated). - */ - deregisterContainerInstance(params: ECS.Types.DeregisterContainerInstanceRequest, callback?: (err: AWSError, data: ECS.Types.DeregisterContainerInstanceResponse) => void): Request; - /** - * Deregisters an Amazon ECS container instance from the specified cluster. This instance is no longer available to run tasks. If you intend to use the container instance for some other purpose after deregistration, you should stop all of the tasks running on the container instance before deregistration to avoid any orphaned tasks from consuming resources. Deregistering a container instance removes the instance from a cluster, but it does not terminate the EC2 instance; if you are finished using the instance, be sure to terminate it in the Amazon EC2 console to stop billing. If you terminate a running container instance, Amazon ECS automatically deregisters the instance from your cluster (stopped container instances or instances with disconnected agents are not automatically deregistered when terminated). - */ - deregisterContainerInstance(callback?: (err: AWSError, data: ECS.Types.DeregisterContainerInstanceResponse) => void): Request; - /** - * Deregisters the specified task definition by family and revision. Upon deregistration, the task definition is marked as INACTIVE. Existing tasks and services that reference an INACTIVE task definition continue to run without disruption. Existing services that reference an INACTIVE task definition can still scale up or down by modifying the service's desired count. You cannot use an INACTIVE task definition to run new tasks or create new services, and you cannot update an existing service to reference an INACTIVE task definition (although there may be up to a 10 minute window following deregistration where these restrictions have not yet taken effect). At this time, INACTIVE task definitions remain discoverable in your account indefinitely; however, this behavior is subject to change in the future, so you should not rely on INACTIVE task definitions persisting beyond the life cycle of any associated tasks and services. - */ - deregisterTaskDefinition(params: ECS.Types.DeregisterTaskDefinitionRequest, callback?: (err: AWSError, data: ECS.Types.DeregisterTaskDefinitionResponse) => void): Request; - /** - * Deregisters the specified task definition by family and revision. Upon deregistration, the task definition is marked as INACTIVE. Existing tasks and services that reference an INACTIVE task definition continue to run without disruption. Existing services that reference an INACTIVE task definition can still scale up or down by modifying the service's desired count. You cannot use an INACTIVE task definition to run new tasks or create new services, and you cannot update an existing service to reference an INACTIVE task definition (although there may be up to a 10 minute window following deregistration where these restrictions have not yet taken effect). At this time, INACTIVE task definitions remain discoverable in your account indefinitely; however, this behavior is subject to change in the future, so you should not rely on INACTIVE task definitions persisting beyond the life cycle of any associated tasks and services. - */ - deregisterTaskDefinition(callback?: (err: AWSError, data: ECS.Types.DeregisterTaskDefinitionResponse) => void): Request; - /** - * Describes one or more of your clusters. - */ - describeClusters(params: ECS.Types.DescribeClustersRequest, callback?: (err: AWSError, data: ECS.Types.DescribeClustersResponse) => void): Request; - /** - * Describes one or more of your clusters. - */ - describeClusters(callback?: (err: AWSError, data: ECS.Types.DescribeClustersResponse) => void): Request; - /** - * Describes Amazon EC2 Container Service container instances. Returns metadata about registered and remaining resources on each container instance requested. - */ - describeContainerInstances(params: ECS.Types.DescribeContainerInstancesRequest, callback?: (err: AWSError, data: ECS.Types.DescribeContainerInstancesResponse) => void): Request; - /** - * Describes Amazon EC2 Container Service container instances. Returns metadata about registered and remaining resources on each container instance requested. - */ - describeContainerInstances(callback?: (err: AWSError, data: ECS.Types.DescribeContainerInstancesResponse) => void): Request; - /** - * Describes the specified services running in your cluster. - */ - describeServices(params: ECS.Types.DescribeServicesRequest, callback?: (err: AWSError, data: ECS.Types.DescribeServicesResponse) => void): Request; - /** - * Describes the specified services running in your cluster. - */ - describeServices(callback?: (err: AWSError, data: ECS.Types.DescribeServicesResponse) => void): Request; - /** - * Describes a task definition. You can specify a family and revision to find information about a specific task definition, or you can simply specify the family to find the latest ACTIVE revision in that family. You can only describe INACTIVE task definitions while an active task or service references them. - */ - describeTaskDefinition(params: ECS.Types.DescribeTaskDefinitionRequest, callback?: (err: AWSError, data: ECS.Types.DescribeTaskDefinitionResponse) => void): Request; - /** - * Describes a task definition. You can specify a family and revision to find information about a specific task definition, or you can simply specify the family to find the latest ACTIVE revision in that family. You can only describe INACTIVE task definitions while an active task or service references them. - */ - describeTaskDefinition(callback?: (err: AWSError, data: ECS.Types.DescribeTaskDefinitionResponse) => void): Request; - /** - * Describes a specified task or tasks. - */ - describeTasks(params: ECS.Types.DescribeTasksRequest, callback?: (err: AWSError, data: ECS.Types.DescribeTasksResponse) => void): Request; - /** - * Describes a specified task or tasks. - */ - describeTasks(callback?: (err: AWSError, data: ECS.Types.DescribeTasksResponse) => void): Request; - /** - * This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. Returns an endpoint for the Amazon EC2 Container Service agent to poll for updates. - */ - discoverPollEndpoint(params: ECS.Types.DiscoverPollEndpointRequest, callback?: (err: AWSError, data: ECS.Types.DiscoverPollEndpointResponse) => void): Request; - /** - * This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. Returns an endpoint for the Amazon EC2 Container Service agent to poll for updates. - */ - discoverPollEndpoint(callback?: (err: AWSError, data: ECS.Types.DiscoverPollEndpointResponse) => void): Request; - /** - * Lists the attributes for Amazon ECS resources within a specified target type and cluster. When you specify a target type and cluster, ListAttributes returns a list of attribute objects, one for each attribute on each resource. You can filter the list of results to a single attribute name to only return results that have that name. You can also filter the results by attribute name and value, for example, to see which container instances in a cluster are running a Linux AMI (ecs.os-type=linux). - */ - listAttributes(params: ECS.Types.ListAttributesRequest, callback?: (err: AWSError, data: ECS.Types.ListAttributesResponse) => void): Request; - /** - * Lists the attributes for Amazon ECS resources within a specified target type and cluster. When you specify a target type and cluster, ListAttributes returns a list of attribute objects, one for each attribute on each resource. You can filter the list of results to a single attribute name to only return results that have that name. You can also filter the results by attribute name and value, for example, to see which container instances in a cluster are running a Linux AMI (ecs.os-type=linux). - */ - listAttributes(callback?: (err: AWSError, data: ECS.Types.ListAttributesResponse) => void): Request; - /** - * Returns a list of existing clusters. - */ - listClusters(params: ECS.Types.ListClustersRequest, callback?: (err: AWSError, data: ECS.Types.ListClustersResponse) => void): Request; - /** - * Returns a list of existing clusters. - */ - listClusters(callback?: (err: AWSError, data: ECS.Types.ListClustersResponse) => void): Request; - /** - * Returns a list of container instances in a specified cluster. You can filter the results of a ListContainerInstances operation with cluster query language statements inside the filter parameter. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide. - */ - listContainerInstances(params: ECS.Types.ListContainerInstancesRequest, callback?: (err: AWSError, data: ECS.Types.ListContainerInstancesResponse) => void): Request; - /** - * Returns a list of container instances in a specified cluster. You can filter the results of a ListContainerInstances operation with cluster query language statements inside the filter parameter. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide. - */ - listContainerInstances(callback?: (err: AWSError, data: ECS.Types.ListContainerInstancesResponse) => void): Request; - /** - * Lists the services that are running in a specified cluster. - */ - listServices(params: ECS.Types.ListServicesRequest, callback?: (err: AWSError, data: ECS.Types.ListServicesResponse) => void): Request; - /** - * Lists the services that are running in a specified cluster. - */ - listServices(callback?: (err: AWSError, data: ECS.Types.ListServicesResponse) => void): Request; - /** - * Returns a list of task definition families that are registered to your account (which may include task definition families that no longer have any ACTIVE task definition revisions). You can filter out task definition families that do not contain any ACTIVE task definition revisions by setting the status parameter to ACTIVE. You can also filter the results with the familyPrefix parameter. - */ - listTaskDefinitionFamilies(params: ECS.Types.ListTaskDefinitionFamiliesRequest, callback?: (err: AWSError, data: ECS.Types.ListTaskDefinitionFamiliesResponse) => void): Request; - /** - * Returns a list of task definition families that are registered to your account (which may include task definition families that no longer have any ACTIVE task definition revisions). You can filter out task definition families that do not contain any ACTIVE task definition revisions by setting the status parameter to ACTIVE. You can also filter the results with the familyPrefix parameter. - */ - listTaskDefinitionFamilies(callback?: (err: AWSError, data: ECS.Types.ListTaskDefinitionFamiliesResponse) => void): Request; - /** - * Returns a list of task definitions that are registered to your account. You can filter the results by family name with the familyPrefix parameter or by status with the status parameter. - */ - listTaskDefinitions(params: ECS.Types.ListTaskDefinitionsRequest, callback?: (err: AWSError, data: ECS.Types.ListTaskDefinitionsResponse) => void): Request; - /** - * Returns a list of task definitions that are registered to your account. You can filter the results by family name with the familyPrefix parameter or by status with the status parameter. - */ - listTaskDefinitions(callback?: (err: AWSError, data: ECS.Types.ListTaskDefinitionsResponse) => void): Request; - /** - * Returns a list of tasks for a specified cluster. You can filter the results by family name, by a particular container instance, or by the desired status of the task with the family, containerInstance, and desiredStatus parameters. Recently-stopped tasks might appear in the returned results. Currently, stopped tasks appear in the returned results for at least one hour. - */ - listTasks(params: ECS.Types.ListTasksRequest, callback?: (err: AWSError, data: ECS.Types.ListTasksResponse) => void): Request; - /** - * Returns a list of tasks for a specified cluster. You can filter the results by family name, by a particular container instance, or by the desired status of the task with the family, containerInstance, and desiredStatus parameters. Recently-stopped tasks might appear in the returned results. Currently, stopped tasks appear in the returned results for at least one hour. - */ - listTasks(callback?: (err: AWSError, data: ECS.Types.ListTasksResponse) => void): Request; - /** - * Create or update an attribute on an Amazon ECS resource. If the attribute does not exist, it is created. If the attribute exists, its value is replaced with the specified value. To delete an attribute, use DeleteAttributes. For more information, see Attributes in the Amazon EC2 Container Service Developer Guide. - */ - putAttributes(params: ECS.Types.PutAttributesRequest, callback?: (err: AWSError, data: ECS.Types.PutAttributesResponse) => void): Request; - /** - * Create or update an attribute on an Amazon ECS resource. If the attribute does not exist, it is created. If the attribute exists, its value is replaced with the specified value. To delete an attribute, use DeleteAttributes. For more information, see Attributes in the Amazon EC2 Container Service Developer Guide. - */ - putAttributes(callback?: (err: AWSError, data: ECS.Types.PutAttributesResponse) => void): Request; - /** - * This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. Registers an EC2 instance into the specified cluster. This instance becomes available to place containers on. - */ - registerContainerInstance(params: ECS.Types.RegisterContainerInstanceRequest, callback?: (err: AWSError, data: ECS.Types.RegisterContainerInstanceResponse) => void): Request; - /** - * This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. Registers an EC2 instance into the specified cluster. This instance becomes available to place containers on. - */ - registerContainerInstance(callback?: (err: AWSError, data: ECS.Types.RegisterContainerInstanceResponse) => void): Request; - /** - * Registers a new task definition from the supplied family and containerDefinitions. Optionally, you can add data volumes to your containers with the volumes parameter. For more information about task definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide. You can specify an IAM role for your task with the taskRoleArn parameter. When you specify an IAM role for a task, its containers can then use the latest versions of the AWS CLI or SDKs to make API requests to the AWS services that are specified in the IAM policy associated with the role. For more information, see IAM Roles for Tasks in the Amazon EC2 Container Service Developer Guide. You can specify a Docker networking mode for the containers in your task definition with the networkMode parameter. The available network modes correspond to those described in Network settings in the Docker run reference. - */ - registerTaskDefinition(params: ECS.Types.RegisterTaskDefinitionRequest, callback?: (err: AWSError, data: ECS.Types.RegisterTaskDefinitionResponse) => void): Request; - /** - * Registers a new task definition from the supplied family and containerDefinitions. Optionally, you can add data volumes to your containers with the volumes parameter. For more information about task definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide. You can specify an IAM role for your task with the taskRoleArn parameter. When you specify an IAM role for a task, its containers can then use the latest versions of the AWS CLI or SDKs to make API requests to the AWS services that are specified in the IAM policy associated with the role. For more information, see IAM Roles for Tasks in the Amazon EC2 Container Service Developer Guide. You can specify a Docker networking mode for the containers in your task definition with the networkMode parameter. The available network modes correspond to those described in Network settings in the Docker run reference. - */ - registerTaskDefinition(callback?: (err: AWSError, data: ECS.Types.RegisterTaskDefinitionResponse) => void): Request; - /** - * Starts a new task using the specified task definition. You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places tasks using placement constraints and placement strategies. For more information, see Scheduling Tasks in the Amazon EC2 Container Service Developer Guide. Alternatively, you can use StartTask to use your own scheduler or place tasks manually on specific container instances. - */ - runTask(params: ECS.Types.RunTaskRequest, callback?: (err: AWSError, data: ECS.Types.RunTaskResponse) => void): Request; - /** - * Starts a new task using the specified task definition. You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places tasks using placement constraints and placement strategies. For more information, see Scheduling Tasks in the Amazon EC2 Container Service Developer Guide. Alternatively, you can use StartTask to use your own scheduler or place tasks manually on specific container instances. - */ - runTask(callback?: (err: AWSError, data: ECS.Types.RunTaskResponse) => void): Request; - /** - * Starts a new task from the specified task definition on the specified container instance or instances. Alternatively, you can use RunTask to place tasks for you. For more information, see Scheduling Tasks in the Amazon EC2 Container Service Developer Guide. - */ - startTask(params: ECS.Types.StartTaskRequest, callback?: (err: AWSError, data: ECS.Types.StartTaskResponse) => void): Request; - /** - * Starts a new task from the specified task definition on the specified container instance or instances. Alternatively, you can use RunTask to place tasks for you. For more information, see Scheduling Tasks in the Amazon EC2 Container Service Developer Guide. - */ - startTask(callback?: (err: AWSError, data: ECS.Types.StartTaskResponse) => void): Request; - /** - * Stops a running task. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM and a default 30-second timeout, after which SIGKILL is sent and the containers are forcibly stopped. If the container handles the SIGTERM gracefully and exits within 30 seconds from receiving it, no SIGKILL is sent. The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon EC2 Container Service Developer Guide. - */ - stopTask(params: ECS.Types.StopTaskRequest, callback?: (err: AWSError, data: ECS.Types.StopTaskResponse) => void): Request; - /** - * Stops a running task. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM and a default 30-second timeout, after which SIGKILL is sent and the containers are forcibly stopped. If the container handles the SIGTERM gracefully and exits within 30 seconds from receiving it, no SIGKILL is sent. The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon EC2 Container Service Developer Guide. - */ - stopTask(callback?: (err: AWSError, data: ECS.Types.StopTaskResponse) => void): Request; - /** - * This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. Sent to acknowledge that a container changed states. - */ - submitContainerStateChange(params: ECS.Types.SubmitContainerStateChangeRequest, callback?: (err: AWSError, data: ECS.Types.SubmitContainerStateChangeResponse) => void): Request; - /** - * This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. Sent to acknowledge that a container changed states. - */ - submitContainerStateChange(callback?: (err: AWSError, data: ECS.Types.SubmitContainerStateChangeResponse) => void): Request; - /** - * This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. Sent to acknowledge that a task changed states. - */ - submitTaskStateChange(params: ECS.Types.SubmitTaskStateChangeRequest, callback?: (err: AWSError, data: ECS.Types.SubmitTaskStateChangeResponse) => void): Request; - /** - * This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. Sent to acknowledge that a task changed states. - */ - submitTaskStateChange(callback?: (err: AWSError, data: ECS.Types.SubmitTaskStateChangeResponse) => void): Request; - /** - * Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent does not interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system. UpdateContainerAgent requires the Amazon ECS-optimized AMI or Amazon Linux with the ecs-init service installed and running. For help updating the Amazon ECS container agent on other operating systems, see Manually Updating the Amazon ECS Container Agent in the Amazon EC2 Container Service Developer Guide. - */ - updateContainerAgent(params: ECS.Types.UpdateContainerAgentRequest, callback?: (err: AWSError, data: ECS.Types.UpdateContainerAgentResponse) => void): Request; - /** - * Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent does not interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system. UpdateContainerAgent requires the Amazon ECS-optimized AMI or Amazon Linux with the ecs-init service installed and running. For help updating the Amazon ECS container agent on other operating systems, see Manually Updating the Amazon ECS Container Agent in the Amazon EC2 Container Service Developer Guide. - */ - updateContainerAgent(callback?: (err: AWSError, data: ECS.Types.UpdateContainerAgentResponse) => void): Request; - /** - * Modifies the status of an Amazon ECS container instance. You can change the status of a container instance to DRAINING to manually remove an instance from a cluster, for example to perform system updates, update the Docker daemon, or scale down the cluster size. When you set a container instance to DRAINING, Amazon ECS prevents new tasks from being scheduled for placement on the container instance and replacement service tasks are started on other container instances in the cluster if the resources are available. Service tasks on the container instance that are in the PENDING state are stopped immediately. Service tasks on the container instance that are in the RUNNING state are stopped and replaced according the service's deployment configuration parameters, minimumHealthyPercent and maximumPercent. Note that you can change the deployment configuration of your service using UpdateService. If minimumHealthyPercent is below 100%, the scheduler can ignore desiredCount temporarily during task replacement. For example, desiredCount is four tasks, a minimum of 50% allows the scheduler to stop two existing tasks before starting two new tasks. If the minimum is 100%, the service scheduler can't remove existing tasks until the replacement tasks are considered healthy. Tasks for services that do not use a load balancer are considered healthy if they are in the RUNNING state. Tasks for services that use a load balancer are considered healthy if they are in the RUNNING state and the container instance they are hosted on is reported as healthy by the load balancer. The maximumPercent parameter represents an upper limit on the number of running tasks during task replacement, which enables you to define the replacement batch size. For example, if desiredCount of four tasks, a maximum of 200% starts four new tasks before stopping the four tasks to be drained (provided that the cluster resources required to do this are available). If the maximum is 100%, then replacement tasks can't start until the draining tasks have stopped. Any PENDING or RUNNING tasks that do not belong to a service are not affected; you must wait for them to finish or stop them manually. A container instance has completed draining when it has no more RUNNING tasks. You can verify this using ListTasks. When you set a container instance to ACTIVE, the Amazon ECS scheduler can begin scheduling tasks on the instance again. - */ - updateContainerInstancesState(params: ECS.Types.UpdateContainerInstancesStateRequest, callback?: (err: AWSError, data: ECS.Types.UpdateContainerInstancesStateResponse) => void): Request; - /** - * Modifies the status of an Amazon ECS container instance. You can change the status of a container instance to DRAINING to manually remove an instance from a cluster, for example to perform system updates, update the Docker daemon, or scale down the cluster size. When you set a container instance to DRAINING, Amazon ECS prevents new tasks from being scheduled for placement on the container instance and replacement service tasks are started on other container instances in the cluster if the resources are available. Service tasks on the container instance that are in the PENDING state are stopped immediately. Service tasks on the container instance that are in the RUNNING state are stopped and replaced according the service's deployment configuration parameters, minimumHealthyPercent and maximumPercent. Note that you can change the deployment configuration of your service using UpdateService. If minimumHealthyPercent is below 100%, the scheduler can ignore desiredCount temporarily during task replacement. For example, desiredCount is four tasks, a minimum of 50% allows the scheduler to stop two existing tasks before starting two new tasks. If the minimum is 100%, the service scheduler can't remove existing tasks until the replacement tasks are considered healthy. Tasks for services that do not use a load balancer are considered healthy if they are in the RUNNING state. Tasks for services that use a load balancer are considered healthy if they are in the RUNNING state and the container instance they are hosted on is reported as healthy by the load balancer. The maximumPercent parameter represents an upper limit on the number of running tasks during task replacement, which enables you to define the replacement batch size. For example, if desiredCount of four tasks, a maximum of 200% starts four new tasks before stopping the four tasks to be drained (provided that the cluster resources required to do this are available). If the maximum is 100%, then replacement tasks can't start until the draining tasks have stopped. Any PENDING or RUNNING tasks that do not belong to a service are not affected; you must wait for them to finish or stop them manually. A container instance has completed draining when it has no more RUNNING tasks. You can verify this using ListTasks. When you set a container instance to ACTIVE, the Amazon ECS scheduler can begin scheduling tasks on the instance again. - */ - updateContainerInstancesState(callback?: (err: AWSError, data: ECS.Types.UpdateContainerInstancesStateResponse) => void): Request; - /** - * Modifies the desired count, deployment configuration, or task definition used in a service. You can add to or subtract from the number of instantiations of a task definition in a service by specifying the cluster that the service is running in and a new desiredCount parameter. You can use UpdateService to modify your task definition and deploy a new version of your service. You can also update the deployment configuration of a service. When a deployment is triggered by updating the task definition of a service, the service scheduler uses the deployment configuration parameters, minimumHealthyPercent and maximumPercent, to determine the deployment strategy. If minimumHealthyPercent is below 100%, the scheduler can ignore desiredCount temporarily during a deployment. For example, if desiredCount is four tasks, a minimum of 50% allows the scheduler to stop two existing tasks before starting two new tasks. Tasks for services that do not use a load balancer are considered healthy if they are in the RUNNING state. Tasks for services that use a load balancer are considered healthy if they are in the RUNNING state and the container instance they are hosted on is reported as healthy by the load balancer. The maximumPercent parameter represents an upper limit on the number of running tasks during a deployment, which enables you to define the deployment batch size. For example, if desiredCount is four tasks, a maximum of 200% starts four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). When UpdateService stops a task during a deployment, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM and a 30-second timeout, after which SIGKILL is sent and the containers are forcibly stopped. If the container handles the SIGTERM gracefully and exits within 30 seconds from receiving it, no SIGKILL is sent. When the service scheduler launches new tasks, it determines task placement in your cluster with the following logic: Determine which of the container instances in your cluster can support your service's task definition (for example, they have the required CPU, memory, ports, and container instance attributes). By default, the service scheduler attempts to balance tasks across Availability Zones in this manner (although you can choose a different placement strategy): Sort the valid container instances by the fewest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have zero, valid container instances in either zone B or C are considered optimal for placement. Place the new service task on a valid container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the fewest number of running tasks for this service. When the service scheduler stops running tasks, it attempts to maintain balance across the Availability Zones in your cluster using the following logic: Sort the container instances by the largest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have two, container instances in either zone B or C are considered optimal for termination. Stop the task on a container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the largest number of running tasks for this service. - */ - updateService(params: ECS.Types.UpdateServiceRequest, callback?: (err: AWSError, data: ECS.Types.UpdateServiceResponse) => void): Request; - /** - * Modifies the desired count, deployment configuration, or task definition used in a service. You can add to or subtract from the number of instantiations of a task definition in a service by specifying the cluster that the service is running in and a new desiredCount parameter. You can use UpdateService to modify your task definition and deploy a new version of your service. You can also update the deployment configuration of a service. When a deployment is triggered by updating the task definition of a service, the service scheduler uses the deployment configuration parameters, minimumHealthyPercent and maximumPercent, to determine the deployment strategy. If minimumHealthyPercent is below 100%, the scheduler can ignore desiredCount temporarily during a deployment. For example, if desiredCount is four tasks, a minimum of 50% allows the scheduler to stop two existing tasks before starting two new tasks. Tasks for services that do not use a load balancer are considered healthy if they are in the RUNNING state. Tasks for services that use a load balancer are considered healthy if they are in the RUNNING state and the container instance they are hosted on is reported as healthy by the load balancer. The maximumPercent parameter represents an upper limit on the number of running tasks during a deployment, which enables you to define the deployment batch size. For example, if desiredCount is four tasks, a maximum of 200% starts four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). When UpdateService stops a task during a deployment, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM and a 30-second timeout, after which SIGKILL is sent and the containers are forcibly stopped. If the container handles the SIGTERM gracefully and exits within 30 seconds from receiving it, no SIGKILL is sent. When the service scheduler launches new tasks, it determines task placement in your cluster with the following logic: Determine which of the container instances in your cluster can support your service's task definition (for example, they have the required CPU, memory, ports, and container instance attributes). By default, the service scheduler attempts to balance tasks across Availability Zones in this manner (although you can choose a different placement strategy): Sort the valid container instances by the fewest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have zero, valid container instances in either zone B or C are considered optimal for placement. Place the new service task on a valid container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the fewest number of running tasks for this service. When the service scheduler stops running tasks, it attempts to maintain balance across the Availability Zones in your cluster using the following logic: Sort the container instances by the largest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have two, container instances in either zone B or C are considered optimal for termination. Stop the task on a container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the largest number of running tasks for this service. - */ - updateService(callback?: (err: AWSError, data: ECS.Types.UpdateServiceResponse) => void): Request; - /** - * Waits for the tasksRunning state by periodically calling the underlying ECS.describeTasksoperation every 6 seconds (at most 100 times). - */ - waitFor(state: "tasksRunning", params: ECS.Types.DescribeTasksRequest, callback?: (err: AWSError, data: ECS.Types.DescribeTasksResponse) => void): Request; - /** - * Waits for the tasksRunning state by periodically calling the underlying ECS.describeTasksoperation every 6 seconds (at most 100 times). - */ - waitFor(state: "tasksRunning", callback?: (err: AWSError, data: ECS.Types.DescribeTasksResponse) => void): Request; - /** - * Waits for the tasksStopped state by periodically calling the underlying ECS.describeTasksoperation every 6 seconds (at most 100 times). - */ - waitFor(state: "tasksStopped", params: ECS.Types.DescribeTasksRequest, callback?: (err: AWSError, data: ECS.Types.DescribeTasksResponse) => void): Request; - /** - * Waits for the tasksStopped state by periodically calling the underlying ECS.describeTasksoperation every 6 seconds (at most 100 times). - */ - waitFor(state: "tasksStopped", callback?: (err: AWSError, data: ECS.Types.DescribeTasksResponse) => void): Request; - /** - * Waits for the servicesStable state by periodically calling the underlying ECS.describeServicesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "servicesStable", params: ECS.Types.DescribeServicesRequest, callback?: (err: AWSError, data: ECS.Types.DescribeServicesResponse) => void): Request; - /** - * Waits for the servicesStable state by periodically calling the underlying ECS.describeServicesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "servicesStable", callback?: (err: AWSError, data: ECS.Types.DescribeServicesResponse) => void): Request; - /** - * Waits for the servicesInactive state by periodically calling the underlying ECS.describeServicesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "servicesInactive", params: ECS.Types.DescribeServicesRequest, callback?: (err: AWSError, data: ECS.Types.DescribeServicesResponse) => void): Request; - /** - * Waits for the servicesInactive state by periodically calling the underlying ECS.describeServicesoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "servicesInactive", callback?: (err: AWSError, data: ECS.Types.DescribeServicesResponse) => void): Request; -} -declare namespace ECS { - export type AgentUpdateStatus = "PENDING"|"STAGING"|"STAGED"|"UPDATING"|"UPDATED"|"FAILED"|string; - export interface Attribute { - /** - * The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, and periods are allowed. - */ - name: String; - /** - * The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are allowed. - */ - value?: String; - /** - * The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full Amazon Resource Name (ARN). - */ - targetType?: TargetType; - /** - * The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN). - */ - targetId?: String; - } - export type Attributes = Attribute[]; - export type Boolean = boolean; - export type BoxedBoolean = boolean; - export type BoxedInteger = number; - export interface Cluster { - /** - * The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the arn:aws:ecs namespace, followed by the region of the cluster, the AWS account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region:012345678910:cluster/test .. - */ - clusterArn?: String; - /** - * A user-generated string that you use to identify your cluster. - */ - clusterName?: String; - /** - * The status of the cluster. The valid values are ACTIVE or INACTIVE. ACTIVE indicates that you can register container instances with the cluster and the associated instances can accept tasks. - */ - status?: String; - /** - * The number of container instances registered into the cluster. - */ - registeredContainerInstancesCount?: Integer; - /** - * The number of tasks in the cluster that are in the RUNNING state. - */ - runningTasksCount?: Integer; - /** - * The number of tasks in the cluster that are in the PENDING state. - */ - pendingTasksCount?: Integer; - /** - * The number of services that are running on the cluster in an ACTIVE state. You can view these services with ListServices. - */ - activeServicesCount?: Integer; - } - export type Clusters = Cluster[]; - export interface Container { - /** - * The Amazon Resource Name (ARN) of the container. - */ - containerArn?: String; - /** - * The Amazon Resource Name (ARN) of the task. - */ - taskArn?: String; - /** - * The name of the container. - */ - name?: String; - /** - * The last known status of the container. - */ - lastStatus?: String; - /** - * The exit code returned from the container. - */ - exitCode?: BoxedInteger; - /** - * A short (255 max characters) human-readable string to provide additional details about a running or stopped container. - */ - reason?: String; - /** - * The network bindings associated with the container. - */ - networkBindings?: NetworkBindings; - } - export interface ContainerDefinition { - /** - * The name of a container. If you are linking multiple containers together in a task definition, the name of one container can be entered in the links of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This parameter maps to name in the Create a container section of the Docker Remote API and the --name option to docker run. - */ - name?: String; - /** - * The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with repository-url/image:tag . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run. Images in Amazon ECR repositories use the full registry and repository URI (for example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>). Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo). Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent). Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu). - */ - image?: String; - /** - * The number of cpu units reserved for the container. A container instance has 1,024 cpu units for every CPU core. This parameter specifies the minimum amount of CPU to reserve for a container, and containers share unallocated CPU units with other containers on the instance with the same ratio as their allocated amount. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run. You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the Amazon EC2 Instances detail page by 1,024. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units. The Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. For more information, see CPU share constraint in the Docker documentation. The minimum valid CPU share value that the Linux kernel allows is 2; however, the CPU parameter is not required, and you can use CPU values below 2 in your container definitions. For CPU values below 2 (including null), the behavior varies based on your Amazon ECS container agent version: Agent versions less than or equal to 1.1.0: Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to 2 CPU shares. Agent versions greater than or equal to 1.2.0: Null, zero, and CPU values of 1 are passed to Docker as 2. - */ - cpu?: Integer; - /** - * The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run. You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation. If you specify memoryReservation, then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used. The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers. - */ - memory?: BoxedInteger; - /** - * The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit; however, your container can consume more memory when it needs to, up to either the hard limit specified with the memory parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to MemoryReservation in the Create a container section of the Docker Remote API and the --memory-reservation option to docker run. You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation. If you specify memoryReservation, then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used. For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a memoryReservation of 128 MiB, and a memory hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed. - */ - memoryReservation?: BoxedInteger; - /** - * The link parameter allows containers to communicate with each other without the need for port mappings, using the name parameter and optionally, an alias for the link. This construct is analogous to name:alias in Docker links. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed for each name and alias. For more information on linking Docker containers, see https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/. This parameter maps to Links in the Create a container section of the Docker Remote API and the --link option to docker run. Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings. - */ - links?: StringList; - /** - * The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic. This parameter maps to PortBindings in the Create a container section of the Docker Remote API and the --publish option to docker run. If the network mode of a task definition is set to none, then you cannot specify port mappings. If the network mode of a task definition is set to host, then host ports must either be undefined or they must match the container port in the port mapping. After a task reaches the RUNNING status, manual and automatic host and container port assignments are visible in the Network Bindings section of a container description of a selected task in the Amazon ECS console, or the networkBindings section DescribeTasks responses. - */ - portMappings?: PortMappingList; - /** - * If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, then its failure does not affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that is composed of multiple containers, you should group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon EC2 Container Service Developer Guide. - */ - essential?: BoxedBoolean; - /** - * Early versions of the Amazon ECS container agent do not properly handle entryPoint parameters. If you have problems using entryPoint, update your container agent or enter your commands and arguments as command array items instead. The entry point that is passed to the container. This parameter maps to Entrypoint in the Create a container section of the Docker Remote API and the --entrypoint option to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint. - */ - entryPoint?: StringList; - /** - * The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#cmd. - */ - command?: StringList; - /** - * The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run. We do not recommend using plain text environment variables for sensitive information, such as credential data. - */ - environment?: EnvironmentVariables; - /** - * The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run. - */ - mountPoints?: MountPointList; - /** - * Data volumes to mount from another container. This parameter maps to VolumesFrom in the Create a container section of the Docker Remote API and the --volumes-from option to docker run. - */ - volumesFrom?: VolumeFromList; - /** - * The hostname to use for your container. This parameter maps to Hostname in the Create a container section of the Docker Remote API and the --hostname option to docker run. - */ - hostname?: String; - /** - * The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run. - */ - user?: String; - /** - * The working directory in which to run commands inside the container. This parameter maps to WorkingDir in the Create a container section of the Docker Remote API and the --workdir option to docker run. - */ - workingDirectory?: String; - /** - * When this parameter is true, networking is disabled within the container. This parameter maps to NetworkDisabled in the Create a container section of the Docker Remote API. - */ - disableNetworking?: BoxedBoolean; - /** - * When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run. - */ - privileged?: BoxedBoolean; - /** - * When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run. - */ - readonlyRootFilesystem?: BoxedBoolean; - /** - * A list of DNS servers that are presented to the container. This parameter maps to Dns in the Create a container section of the Docker Remote API and the --dns option to docker run. - */ - dnsServers?: StringList; - /** - * A list of DNS search domains that are presented to the container. This parameter maps to DnsSearch in the Create a container section of the Docker Remote API and the --dns-search option to docker run. - */ - dnsSearchDomains?: StringList; - /** - * A list of hostnames and IP address mappings to append to the /etc/hosts file on the container. This parameter maps to ExtraHosts in the Create a container section of the Docker Remote API and the --add-host option to docker run. - */ - extraHosts?: HostEntryList; - /** - * A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This parameter maps to SecurityOpt in the Create a container section of the Docker Remote API and the --security-opt option to docker run. The Amazon ECS container agent running on a container instance must register with the ECS_SELINUX_CAPABLE=true or ECS_APPARMOR_CAPABLE=true environment variables before containers placed on that instance can use these security options. For more information, see Amazon ECS Container Agent Configuration in the Amazon EC2 Container Service Developer Guide. - */ - dockerSecurityOptions?: StringList; - /** - * A key/value map of labels to add to the container. This parameter maps to Labels in the Create a container section of the Docker Remote API and the --label option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version" - */ - dockerLabels?: DockerLabelsMap; - /** - * A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run. Valid naming values are displayed in the Ulimit data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version" - */ - ulimits?: UlimitList; - /** - * The log configuration specification for the container. This parameter maps to LogConfig in the Create a container section of the Docker Remote API and the --log-driver option to docker run. By default, containers use the same logging driver that the Docker daemon uses; however the container may use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see Configure logging drivers in the Docker documentation. Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration data type). Additional log drivers may be available in future releases of the Amazon ECS container agent. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version" The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the ECS_AVAILABLE_LOGGING_DRIVERS environment variable before containers placed on that instance can use these log configuration options. For more information, see Amazon ECS Container Agent Configuration in the Amazon EC2 Container Service Developer Guide. - */ - logConfiguration?: LogConfiguration; - } - export type ContainerDefinitions = ContainerDefinition[]; - export interface ContainerInstance { - /** - * The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID . - */ - containerInstanceArn?: String; - /** - * The EC2 instance ID of the container instance. - */ - ec2InstanceId?: String; - /** - * The version counter for the container instance. Every time a container instance experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS container instance state with CloudWatch events, you can compare the version of a container instance reported by the Amazon ECS APIs with the version reported in CloudWatch events for the container instance (inside the detail object) to verify that the version in your event stream is current. - */ - version?: Long; - /** - * The version information for the Amazon ECS container agent and Docker daemon running on the container instance. - */ - versionInfo?: VersionInfo; - /** - * For most resource types, this parameter describes the remaining resources of the container instance that are available for new tasks. For port resource types, this parameter describes the ports that are reserved by the Amazon ECS container agent and any containers that have reserved port mappings; any port that is not specified here is available for new tasks. - */ - remainingResources?: Resources; - /** - * For most resource types, this parameter describes the registered resources on the container instance that are in use by current tasks. For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent when it registered the container instance with Amazon ECS. - */ - registeredResources?: Resources; - /** - * The status of the container instance. The valid values are ACTIVE, INACTIVE, or DRAINING. ACTIVE indicates that the container instance can accept tasks. DRAINING indicates that new tasks are not placed on the container instance and any service tasks running on the container instance are removed if possible. For more information, see Container Instance Draining in the Amazon EC2 Container Service Developer Guide. - */ - status?: String; - /** - * This parameter returns true if the agent is actually connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return false, and instances without a connected agent cannot accept placement requests. - */ - agentConnected?: Boolean; - /** - * The number of tasks on the container instance that are in the RUNNING status. - */ - runningTasksCount?: Integer; - /** - * The number of tasks on the container instance that are in the PENDING status. - */ - pendingTasksCount?: Integer; - /** - * The status of the most recent agent update. If an update has never been requested, this value is NULL. - */ - agentUpdateStatus?: AgentUpdateStatus; - /** - * The attributes set for the container instance, either by the Amazon ECS container agent at instance registration or manually with the PutAttributes operation. - */ - attributes?: Attributes; - /** - * The Unix timestamp for when the container instance was registered. - */ - registeredAt?: Timestamp; - } - export type ContainerInstanceStatus = "ACTIVE"|"DRAINING"|string; - export type ContainerInstances = ContainerInstance[]; - export interface ContainerOverride { - /** - * The name of the container that receives the override. This parameter is required if any override is specified. - */ - name?: String; - /** - * The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name. - */ - command?: StringList; - /** - * The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name. - */ - environment?: EnvironmentVariables; - /** - * The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name. - */ - cpu?: BoxedInteger; - /** - * The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name. - */ - memory?: BoxedInteger; - /** - * The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name. - */ - memoryReservation?: BoxedInteger; - } - export type ContainerOverrides = ContainerOverride[]; - export type Containers = Container[]; - export interface CreateClusterRequest { - /** - * The name of your cluster. If you do not specify a name for your cluster, you create a cluster named default. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. - */ - clusterName?: String; - } - export interface CreateClusterResponse { - /** - * The full description of your new cluster. - */ - cluster?: Cluster; - } - export interface CreateServiceRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster on which to run your service. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions. - */ - serviceName: String; - /** - * The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. - */ - taskDefinition: String; - /** - * A load balancer object representing the load balancer to use with your service. Currently, you are limited to one load balancer or target group per service. After you create a service, the load balancer name or target group ARN, container name, and container port specified in the service definition are immutable. For Elastic Load Balancing Classic load balancers, this object must contain the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer. When a task from this service is placed on a container instance, the container instance is registered with the load balancer specified here. For Elastic Load Balancing Application load balancers, this object must contain the load balancer target group ARN, the container name (as it appears in a container definition), and the container port to access from the load balancer. When a task from this service is placed on a container instance, the container instance and port combination is registered as a target in the target group specified here. - */ - loadBalancers?: LoadBalancers; - /** - * The number of instantiations of the specified task definition to place and keep running on your cluster. - */ - desiredCount: BoxedInteger; - /** - * Unique, case-sensitive identifier you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed. - */ - clientToken?: String; - /** - * The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service. If you specify the role parameter, you must also specify a load balancer object with the loadBalancers parameter. If your specified role has a path other than /, then you must either specify the full role ARN (this is recommended) or prefix the role name with the path. For example, if a role with the name bar has a path of /foo/ then you would specify /foo/bar as the role name. For more information, see Friendly Names and Paths in the IAM User Guide. - */ - role?: String; - /** - * Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks. - */ - deploymentConfiguration?: DeploymentConfiguration; - /** - * An array of placement constraint objects to use for tasks in your service. You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at run time). - */ - placementConstraints?: PlacementConstraints; - /** - * The placement strategy objects to use for tasks in your service. You can specify a maximum of 5 strategy rules per service. - */ - placementStrategy?: PlacementStrategies; - } - export interface CreateServiceResponse { - /** - * The full description of your service following the create call. - */ - service?: Service; - } - export interface DeleteAttributesRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The attributes to delete from your resource. You can specify up to 10 attributes per request. For custom attributes, specify the attribute name and target ID, but do not specify the value. If you specify the target ID using the short form, you must also specify the target type. - */ - attributes: Attributes; - } - export interface DeleteAttributesResponse { - /** - * A list of attribute objects that were successfully deleted from your resource. - */ - attributes?: Attributes; - } - export interface DeleteClusterRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster to delete. - */ - cluster: String; - } - export interface DeleteClusterResponse { - /** - * The full description of the deleted cluster. - */ - cluster?: Cluster; - } - export interface DeleteServiceRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The name of the service to delete. - */ - service: String; - } - export interface DeleteServiceResponse { - /** - * The full description of the deleted service. - */ - service?: Service; - } - export interface Deployment { - /** - * The ID of the deployment. - */ - id?: String; - /** - * The status of the deployment. Valid values are PRIMARY (for the most recent deployment), ACTIVE (for previous deployments that still have tasks running, but are being replaced with the PRIMARY deployment), and INACTIVE (for deployments that have been completely replaced). - */ - status?: String; - /** - * The most recent task definition that was specified for the service to use. - */ - taskDefinition?: String; - /** - * The most recent desired count of tasks that was specified for the service to deploy or maintain. - */ - desiredCount?: Integer; - /** - * The number of tasks in the deployment that are in the PENDING status. - */ - pendingCount?: Integer; - /** - * The number of tasks in the deployment that are in the RUNNING status. - */ - runningCount?: Integer; - /** - * The Unix timestamp for when the service was created. - */ - createdAt?: Timestamp; - /** - * The Unix timestamp for when the service was last updated. - */ - updatedAt?: Timestamp; - } - export interface DeploymentConfiguration { - /** - * The upper limit (as a percentage of the service's desiredCount) of the number of tasks that are allowed in the RUNNING or PENDING state in a service during a deployment. The maximum number of tasks during a deployment is the desiredCount multiplied by maximumPercent/100, rounded down to the nearest integer value. - */ - maximumPercent?: BoxedInteger; - /** - * The lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain in the RUNNING state in a service during a deployment. The minimum healthy tasks during a deployment is the desiredCount multiplied by minimumHealthyPercent/100, rounded up to the nearest integer value. - */ - minimumHealthyPercent?: BoxedInteger; - } - export type Deployments = Deployment[]; - export interface DeregisterContainerInstanceRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The container instance ID or full Amazon Resource Name (ARN) of the container instance to deregister. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID . - */ - containerInstance: String; - /** - * Forces the deregistration of the container instance. If you have tasks running on the container instance when you deregister it with the force option, these tasks remain running until you terminate the instance or the tasks stop through some other means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If an orphaned task on your container instance is part of an Amazon ECS service, then the service scheduler starts another copy of that task, on a different container instance if possible. Any containers in orphaned service tasks that are registered with a Classic load balancer or an Application load balancer target group are deregistered, and they will begin connection draining according to the settings on the load balancer or target group. - */ - force?: BoxedBoolean; - } - export interface DeregisterContainerInstanceResponse { - /** - * The container instance that was deregistered. - */ - containerInstance?: ContainerInstance; - } - export interface DeregisterTaskDefinitionRequest { - /** - * The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition to deregister. You must specify a revision. - */ - taskDefinition: String; - } - export interface DeregisterTaskDefinitionResponse { - /** - * The full description of the deregistered task. - */ - taskDefinition?: TaskDefinition; - } - export interface DescribeClustersRequest { - /** - * A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed. - */ - clusters?: StringList; - } - export interface DescribeClustersResponse { - /** - * The list of clusters. - */ - clusters?: Clusters; - /** - * Any failures associated with the call. - */ - failures?: Failures; - } - export interface DescribeContainerInstancesRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * A list of container instance IDs or full Amazon Resource Name (ARN) entries. - */ - containerInstances: StringList; - } - export interface DescribeContainerInstancesResponse { - /** - * The list of container instances. - */ - containerInstances?: ContainerInstances; - /** - * Any failures associated with the call. - */ - failures?: Failures; - } - export interface DescribeServicesRequest { - /** - * The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * A list of services to describe. You may specify up to 10 services to describe in a single operation. - */ - services: StringList; - } - export interface DescribeServicesResponse { - /** - * The list of services described. - */ - services?: Services; - /** - * Any failures associated with the call. - */ - failures?: Failures; - } - export interface DescribeTaskDefinitionRequest { - /** - * The family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe. - */ - taskDefinition: String; - } - export interface DescribeTaskDefinitionResponse { - /** - * The full task definition description. - */ - taskDefinition?: TaskDefinition; - } - export interface DescribeTasksRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * A list of up to 100 task IDs or full Amazon Resource Name (ARN) entries. - */ - tasks: StringList; - } - export interface DescribeTasksResponse { - /** - * The list of tasks. - */ - tasks?: Tasks; - /** - * Any failures associated with the call. - */ - failures?: Failures; - } - export type DesiredStatus = "RUNNING"|"PENDING"|"STOPPED"|string; - export interface DiscoverPollEndpointRequest { - /** - * The container instance ID or full Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID . - */ - containerInstance?: String; - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to. - */ - cluster?: String; - } - export interface DiscoverPollEndpointResponse { - /** - * The endpoint for the Amazon ECS agent to poll. - */ - endpoint?: String; - /** - * The telemetry endpoint for the Amazon ECS agent. - */ - telemetryEndpoint?: String; - } - export type DockerLabelsMap = {[key: string]: String}; - export type Double = number; - export type EnvironmentVariables = KeyValuePair[]; - export interface Failure { - /** - * The Amazon Resource Name (ARN) of the failed resource. - */ - arn?: String; - /** - * The reason for the failure. - */ - reason?: String; - } - export type Failures = Failure[]; - export interface HostEntry { - /** - * The hostname to use in the /etc/hosts entry. - */ - hostname: String; - /** - * The IP address to use in the /etc/hosts entry. - */ - ipAddress: String; - } - export type HostEntryList = HostEntry[]; - export interface HostVolumeProperties { - /** - * The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the host parameter contains a sourcePath file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the sourcePath value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. - */ - sourcePath?: String; - } - export type Integer = number; - export interface KeyValuePair { - /** - * The name of the key value pair. For environment variables, this is the name of the environment variable. - */ - name?: String; - /** - * The value of the key value pair. For environment variables, this is the value of the environment variable. - */ - value?: String; - } - export interface ListAttributesRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster to list attributes. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The type of the target with which to list attributes. - */ - targetType: TargetType; - /** - * The name of the attribute with which to filter the results. - */ - attributeName?: String; - /** - * The value of the attribute with which to filter results. You must also specify an attribute name to use this parameter. - */ - attributeValue?: String; - /** - * The nextToken value returned from a previous paginated ListAttributes request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - /** - * The maximum number of cluster results returned by ListAttributes in paginated output. When this parameter is used, ListAttributes only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListAttributes request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListAttributes returns up to 100 results and a nextToken value if applicable. - */ - maxResults?: BoxedInteger; - } - export interface ListAttributesResponse { - /** - * A list of attribute objects that meet the criteria of the request. - */ - attributes?: Attributes; - /** - * The nextToken value to include in a future ListAttributes request. When the results of a ListAttributes request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export interface ListClustersRequest { - /** - * The nextToken value returned from a previous paginated ListClusters request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - /** - * The maximum number of cluster results returned by ListClusters in paginated output. When this parameter is used, ListClusters only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListClusters request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListClusters returns up to 100 results and a nextToken value if applicable. - */ - maxResults?: BoxedInteger; - } - export interface ListClustersResponse { - /** - * The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account. - */ - clusterArns?: StringList; - /** - * The nextToken value to include in a future ListClusters request. When the results of a ListClusters request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export interface ListContainerInstancesRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * You can filter the results of a ListContainerInstances operation with cluster query language statements. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide. - */ - filter?: String; - /** - * The nextToken value returned from a previous paginated ListContainerInstances request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - /** - * The maximum number of container instance results returned by ListContainerInstances in paginated output. When this parameter is used, ListContainerInstances only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListContainerInstances request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListContainerInstances returns up to 100 results and a nextToken value if applicable. - */ - maxResults?: BoxedInteger; - /** - * Filters the container instances by status. For example, if you specify the DRAINING status, the results include only container instances that have been set to DRAINING using UpdateContainerInstancesState. If you do not specify this parameter, the default is to include container instances set to ACTIVE and DRAINING. - */ - status?: ContainerInstanceStatus; - } - export interface ListContainerInstancesResponse { - /** - * The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster. - */ - containerInstanceArns?: StringList; - /** - * The nextToken value to include in a future ListContainerInstances request. When the results of a ListContainerInstances request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export interface ListServicesRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The nextToken value returned from a previous paginated ListServices request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - /** - * The maximum number of container instance results returned by ListServices in paginated output. When this parameter is used, ListServices only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListServices request with the returned nextToken value. This value can be between 1 and 10. If this parameter is not used, then ListServices returns up to 10 results and a nextToken value if applicable. - */ - maxResults?: BoxedInteger; - } - export interface ListServicesResponse { - /** - * The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster. - */ - serviceArns?: StringList; - /** - * The nextToken value to include in a future ListServices request. When the results of a ListServices request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export interface ListTaskDefinitionFamiliesRequest { - /** - * The familyPrefix is a string that is used to filter the results of ListTaskDefinitionFamilies. If you specify a familyPrefix, only task definition family names that begin with the familyPrefix string are returned. - */ - familyPrefix?: String; - /** - * The task definition family status with which to filter the ListTaskDefinitionFamilies results. By default, both ACTIVE and INACTIVE task definition families are listed. If this parameter is set to ACTIVE, only task definition families that have an ACTIVE task definition revision are returned. If this parameter is set to INACTIVE, only task definition families that do not have any ACTIVE task definition revisions are returned. If you paginate the resulting output, be sure to keep the status value constant in each subsequent request. - */ - status?: TaskDefinitionFamilyStatus; - /** - * The nextToken value returned from a previous paginated ListTaskDefinitionFamilies request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - /** - * The maximum number of task definition family results returned by ListTaskDefinitionFamilies in paginated output. When this parameter is used, ListTaskDefinitions only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListTaskDefinitionFamilies request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListTaskDefinitionFamilies returns up to 100 results and a nextToken value if applicable. - */ - maxResults?: BoxedInteger; - } - export interface ListTaskDefinitionFamiliesResponse { - /** - * The list of task definition family names that match the ListTaskDefinitionFamilies request. - */ - families?: StringList; - /** - * The nextToken value to include in a future ListTaskDefinitionFamilies request. When the results of a ListTaskDefinitionFamilies request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export interface ListTaskDefinitionsRequest { - /** - * The full family name with which to filter the ListTaskDefinitions results. Specifying a familyPrefix limits the listed task definitions to task definition revisions that belong to that family. - */ - familyPrefix?: String; - /** - * The task definition status with which to filter the ListTaskDefinitions results. By default, only ACTIVE task definitions are listed. By setting this parameter to INACTIVE, you can view task definitions that are INACTIVE as long as an active task or service still references them. If you paginate the resulting output, be sure to keep the status value constant in each subsequent request. - */ - status?: TaskDefinitionStatus; - /** - * The order in which to sort the results. Valid values are ASC and DESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter to DESC reverses the sort order on family name and revision so that the newest task definitions in a family are listed first. - */ - sort?: SortOrder; - /** - * The nextToken value returned from a previous paginated ListTaskDefinitions request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - /** - * The maximum number of task definition results returned by ListTaskDefinitions in paginated output. When this parameter is used, ListTaskDefinitions only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListTaskDefinitions request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListTaskDefinitions returns up to 100 results and a nextToken value if applicable. - */ - maxResults?: BoxedInteger; - } - export interface ListTaskDefinitionsResponse { - /** - * The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions request. - */ - taskDefinitionArns?: StringList; - /** - * The nextToken value to include in a future ListTaskDefinitions request. When the results of a ListTaskDefinitions request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export interface ListTasksRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks to list. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The container instance ID or full Amazon Resource Name (ARN) of the container instance with which to filter the ListTasks results. Specifying a containerInstance limits the results to tasks that belong to that container instance. - */ - containerInstance?: String; - /** - * The name of the family with which to filter the ListTasks results. Specifying a family limits the results to tasks that belong to that family. - */ - family?: String; - /** - * The nextToken value returned from a previous paginated ListTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. - */ - nextToken?: String; - /** - * The maximum number of task results returned by ListTasks in paginated output. When this parameter is used, ListTasks only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListTasks request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListTasks returns up to 100 results and a nextToken value if applicable. - */ - maxResults?: BoxedInteger; - /** - * The startedBy value with which to filter the task results. Specifying a startedBy value limits the results to tasks that were started with that value. - */ - startedBy?: String; - /** - * The name of the service with which to filter the ListTasks results. Specifying a serviceName limits the results to tasks that belong to that service. - */ - serviceName?: String; - /** - * The task desired status with which to filter the ListTasks results. Specifying a desiredStatus of STOPPED limits the results to tasks that ECS has set the desired status to STOPPED, which can be useful for debugging tasks that are not starting properly or have died or finished. The default status filter is RUNNING, which shows tasks that ECS has set the desired status to RUNNING. Although you can filter results based on a desired status of PENDING, this will not return any results because ECS never sets the desired status of a task to that value (only a task's lastStatus may have a value of PENDING). - */ - desiredStatus?: DesiredStatus; - } - export interface ListTasksResponse { - /** - * The list of task Amazon Resource Name (ARN) entries for the ListTasks request. - */ - taskArns?: StringList; - /** - * The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. - */ - nextToken?: String; - } - export interface LoadBalancer { - /** - * The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a service. - */ - targetGroupArn?: String; - /** - * The name of a Classic load balancer. - */ - loadBalancerName?: String; - /** - * The name of the container (as it appears in a container definition) to associate with the load balancer. - */ - containerName?: String; - /** - * The port on the container to associate with the load balancer. This port must correspond to a containerPort in the service's task definition. Your container instances must allow ingress traffic on the hostPort of the port mapping. - */ - containerPort?: BoxedInteger; - } - export type LoadBalancers = LoadBalancer[]; - export interface LogConfiguration { - /** - * The log driver to use for the container. The valid values listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default. If you have a custom driver that is not listed above that you would like to work with the Amazon ECS container agent, you can fork the Amazon ECS container agent project that is available on GitHub and customize it to work with that driver. We encourage you to submit pull requests for changes that you would like to have included. However, Amazon Web Services does not currently provide support for running modified copies of this software. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version" - */ - logDriver: LogDriver; - /** - * The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version" - */ - options?: LogConfigurationOptionsMap; - } - export type LogConfigurationOptionsMap = {[key: string]: String}; - export type LogDriver = "json-file"|"syslog"|"journald"|"gelf"|"fluentd"|"awslogs"|"splunk"|string; - export type Long = number; - export interface MountPoint { - /** - * The name of the volume to mount. - */ - sourceVolume?: String; - /** - * The path on the container to mount the host volume at. - */ - containerPath?: String; - /** - * If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume. The default value is false. - */ - readOnly?: BoxedBoolean; - } - export type MountPointList = MountPoint[]; - export interface NetworkBinding { - /** - * The IP address that the container is bound to on the container instance. - */ - bindIP?: String; - /** - * The port number on the container that is be used with the network binding. - */ - containerPort?: BoxedInteger; - /** - * The port number on the host that is used with the network binding. - */ - hostPort?: BoxedInteger; - /** - * The protocol used for the network binding. - */ - protocol?: TransportProtocol; - } - export type NetworkBindings = NetworkBinding[]; - export type NetworkMode = "bridge"|"host"|"none"|string; - export interface PlacementConstraint { - /** - * The type of constraint. Use distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict selection to a group of valid candidates. Note that distinctInstance is not supported in task definitions. - */ - type?: PlacementConstraintType; - /** - * A cluster query language expression to apply to the constraint. Note you cannot specify an expression if the constraint type is distinctInstance. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide. - */ - expression?: String; - } - export type PlacementConstraintType = "distinctInstance"|"memberOf"|string; - export type PlacementConstraints = PlacementConstraint[]; - export type PlacementStrategies = PlacementStrategy[]; - export interface PlacementStrategy { - /** - * The type of placement strategy. The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task). - */ - type?: PlacementStrategyType; - /** - * The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used. - */ - field?: String; - } - export type PlacementStrategyType = "random"|"spread"|"binpack"|string; - export interface PortMapping { - /** - * The port number on the container that is bound to the user-specified or automatically assigned host port. If you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range (for more information, see hostPort). Port mappings that are automatically assigned in this way do not count toward the 100 reserved ports limit of a container instance. - */ - containerPort?: BoxedInteger; - /** - * The port number on the container instance to reserve for your container. You can specify a non-reserved host port for your container port mapping, or you can omit the hostPort (or set it to 0) while specifying a containerPort and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version. The default ephemeral port range for Docker version 1.6.0 and later is listed on the instance under /proc/sys/net/ipv4/ip_local_port_range; if this kernel parameter is unavailable, the default ephemeral port range of 49153 to 65535 is used. You should not attempt to specify a host port in the ephemeral port range as these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range. The default ephemeral port range of 49153 to 65535 will always be used for Docker versions prior to 1.6.0. The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent ports 51678 and 51679. Any host port that was previously specified in a running task is also reserved while the task is running (after a task stops, the host port is released).The current reserved ports are displayed in the remainingResources of DescribeContainerInstances output, and a container instance may have up to 100 reserved ports at a time, including the default reserved ports (automatically assigned ports do not count toward the 100 reserved ports limit). - */ - hostPort?: BoxedInteger; - /** - * The protocol used for the port mapping. Valid values are tcp and udp. The default is tcp. - */ - protocol?: TransportProtocol; - } - export type PortMappingList = PortMapping[]; - export interface PutAttributesRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call. - */ - attributes: Attributes; - } - export interface PutAttributesResponse { - /** - * The attributes applied to your resource. - */ - attributes?: Attributes; - } - export interface RegisterContainerInstanceRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The instance identity document for the EC2 instance to register. This document can be found by running the following command from the instance: curl http://169.254.169.254/latest/dynamic/instance-identity/document/ - */ - instanceIdentityDocument?: String; - /** - * The instance identity document signature for the EC2 instance to register. This signature can be found by running the following command from the instance: curl http://169.254.169.254/latest/dynamic/instance-identity/signature/ - */ - instanceIdentityDocumentSignature?: String; - /** - * The resources available on the instance. - */ - totalResources?: Resources; - /** - * The version information for the Amazon ECS container agent and Docker daemon running on the container instance. - */ - versionInfo?: VersionInfo; - /** - * The Amazon Resource Name (ARN) of the container instance (if it was previously registered). - */ - containerInstanceArn?: String; - /** - * The container instance attributes that this container instance supports. - */ - attributes?: Attributes; - } - export interface RegisterContainerInstanceResponse { - /** - * The container instance that was registered. - */ - containerInstance?: ContainerInstance; - } - export interface RegisterTaskDefinitionRequest { - /** - * You must specify a family for a task definition, which allows you to track multiple versions of the same task definition. The family is used as a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. - */ - family: String; - /** - * The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Roles for Tasks in the Amazon EC2 Container Service Developer Guide. - */ - taskRoleArn?: String; - /** - * The Docker networking mode to use for the containers in the task. The valid values are none, bridge, and host. The default Docker network mode is bridge. If the network mode is set to none, you cannot specify port mappings in your container definitions, and the task's containers do not have external connectivity. The host network mode offers the highest networking performance for containers because they use the host network stack instead of the virtualized network stack provided by the bridge mode; however, exposed container ports are mapped directly to the corresponding host port, so you cannot take advantage of dynamic host port mappings or run multiple instantiations of the same task on a single container instance if port mappings are used. For more information, see Network settings in the Docker run reference. - */ - networkMode?: NetworkMode; - /** - * A list of container definitions in JSON format that describe the different containers that make up your task. - */ - containerDefinitions: ContainerDefinitions; - /** - * A list of volume definitions in JSON format that containers in your task may use. - */ - volumes?: VolumeList; - /** - * An array of placement constraint objects to use for the task. You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at run time). - */ - placementConstraints?: TaskDefinitionPlacementConstraints; - } - export interface RegisterTaskDefinitionResponse { - /** - * The full description of the registered task definition. - */ - taskDefinition?: TaskDefinition; - } - export type RequiresAttributes = Attribute[]; - export interface Resource { - /** - * The name of the resource, such as cpu, memory, ports, or a user-defined resource. - */ - name?: String; - /** - * The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET. - */ - type?: String; - /** - * When the doubleValue type is set, the value of the resource must be a double precision floating-point type. - */ - doubleValue?: Double; - /** - * When the longValue type is set, the value of the resource must be an extended precision floating-point type. - */ - longValue?: Long; - /** - * When the integerValue type is set, the value of the resource must be an integer. - */ - integerValue?: Integer; - /** - * When the stringSetValue type is set, the value of the resource must be a string type. - */ - stringSetValue?: StringList; - } - export type Resources = Resource[]; - export interface RunTaskRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition to run. If a revision is not specified, the latest ACTIVE revision is used. - */ - taskDefinition: String; - /** - * A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it should receive. You can override the default command for a container (that is specified in the task definition or Docker image) with a command override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an environment override. A total of 8192 characters are allowed for overrides. This limit includes the JSON formatting characters of the override structure. - */ - overrides?: TaskOverride; - /** - * The number of instantiations of the specified task to place on your cluster. You can specify up to 10 tasks per call. - */ - count?: BoxedInteger; - /** - * An optional tag specified when a task is started. For example if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the startedBy parameter. You can then identify which tasks belong to that job by filtering the results of a ListTasks call with the startedBy value. Up to 36 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. If a task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it. - */ - startedBy?: String; - /** - * The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name). - */ - group?: String; - /** - * An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at run time). - */ - placementConstraints?: PlacementConstraints; - /** - * The placement strategy objects to use for the task. You can specify a maximum of 5 strategy rules per task. - */ - placementStrategy?: PlacementStrategies; - } - export interface RunTaskResponse { - /** - * A full description of the tasks that were run. Each task that was successfully placed on your cluster are described here. - */ - tasks?: Tasks; - /** - * Any failures associated with the call. - */ - failures?: Failures; - } - export interface Service { - /** - * The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service . - */ - serviceArn?: String; - /** - * The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions. - */ - serviceName?: String; - /** - * The Amazon Resource Name (ARN) of the cluster that hosts the service. - */ - clusterArn?: String; - /** - * A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer. - */ - loadBalancers?: LoadBalancers; - /** - * The status of the service. The valid values are ACTIVE, DRAINING, or INACTIVE. - */ - status?: String; - /** - * The desired number of instantiations of the task definition to keep running on the service. This value is specified when the service is created with CreateService, and it can be modified with UpdateService. - */ - desiredCount?: Integer; - /** - * The number of tasks in the cluster that are in the RUNNING state. - */ - runningCount?: Integer; - /** - * The number of tasks in the cluster that are in the PENDING state. - */ - pendingCount?: Integer; - /** - * The task definition to use for tasks in the service. This value is specified when the service is created with CreateService, and it can be modified with UpdateService. - */ - taskDefinition?: String; - /** - * Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks. - */ - deploymentConfiguration?: DeploymentConfiguration; - /** - * The current state of deployments for the service. - */ - deployments?: Deployments; - /** - * The Amazon Resource Name (ARN) of the IAM role associated with the service that allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer. - */ - roleArn?: String; - /** - * The event stream for your service. A maximum of 100 of the latest events are displayed. - */ - events?: ServiceEvents; - /** - * The Unix timestamp for when the service was created. - */ - createdAt?: Timestamp; - /** - * The placement constraints for the tasks in the service. - */ - placementConstraints?: PlacementConstraints; - /** - * The placement strategy that determines how tasks for the service are placed. - */ - placementStrategy?: PlacementStrategies; - } - export interface ServiceEvent { - /** - * The ID string of the event. - */ - id?: String; - /** - * The Unix timestamp for when the event was triggered. - */ - createdAt?: Timestamp; - /** - * The event message. - */ - message?: String; - } - export type ServiceEvents = ServiceEvent[]; - export type Services = Service[]; - export type SortOrder = "ASC"|"DESC"|string; - export interface StartTaskRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition to start. If a revision is not specified, the latest ACTIVE revision is used. - */ - taskDefinition: String; - /** - * A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it should receive. You can override the default command for a container (that is specified in the task definition or Docker image) with a command override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an environment override. A total of 8192 characters are allowed for overrides. This limit includes the JSON formatting characters of the override structure. - */ - overrides?: TaskOverride; - /** - * The container instance IDs or full Amazon Resource Name (ARN) entries for the container instances on which you would like to place your task. You can specify up to 10 container instances. - */ - containerInstances: StringList; - /** - * An optional tag specified when a task is started. For example if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the startedBy parameter. You can then identify which tasks belong to that job by filtering the results of a ListTasks call with the startedBy value. Up to 36 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. If a task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it. - */ - startedBy?: String; - /** - * The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name). - */ - group?: String; - } - export interface StartTaskResponse { - /** - * A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here. - */ - tasks?: Tasks; - /** - * Any failures associated with the call. - */ - failures?: Failures; - } - export interface StopTaskRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The task ID or full Amazon Resource Name (ARN) entry of the task to stop. - */ - task: String; - /** - * An optional message specified when a task is stopped. For example, if you are using a custom scheduler, you can use this parameter to specify the reason for stopping the task here, and the message will appear in subsequent DescribeTasks API operations on this task. Up to 255 characters are allowed in this message. - */ - reason?: String; - } - export interface StopTaskResponse { - /** - * The task that was stopped. - */ - task?: Task; - } - export type String = string; - export type StringList = String[]; - export interface SubmitContainerStateChangeRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container. - */ - cluster?: String; - /** - * The task ID or full Amazon Resource Name (ARN) of the task that hosts the container. - */ - task?: String; - /** - * The name of the container. - */ - containerName?: String; - /** - * The status of the state change request. - */ - status?: String; - /** - * The exit code returned for the state change request. - */ - exitCode?: BoxedInteger; - /** - * The reason for the state change request. - */ - reason?: String; - /** - * The network bindings of the container. - */ - networkBindings?: NetworkBindings; - } - export interface SubmitContainerStateChangeResponse { - /** - * Acknowledgement of the state change. - */ - acknowledgment?: String; - } - export interface SubmitTaskStateChangeRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task. - */ - cluster?: String; - /** - * The task ID or full Amazon Resource Name (ARN) of the task in the state change request. - */ - task?: String; - /** - * The status of the state change request. - */ - status?: String; - /** - * The reason for the state change request. - */ - reason?: String; - } - export interface SubmitTaskStateChangeResponse { - /** - * Acknowledgement of the state change. - */ - acknowledgment?: String; - } - export type TargetType = "container-instance"|string; - export interface Task { - /** - * The Amazon Resource Name (ARN) of the task. - */ - taskArn?: String; - /** - * The Amazon Resource Name (ARN) of the cluster that hosts the task. - */ - clusterArn?: String; - /** - * The Amazon Resource Name (ARN) of the task definition that creates the task. - */ - taskDefinitionArn?: String; - /** - * The Amazon Resource Name (ARN) of the container instances that host the task. - */ - containerInstanceArn?: String; - /** - * One or more container overrides. - */ - overrides?: TaskOverride; - /** - * The last known status of the task. - */ - lastStatus?: String; - /** - * The desired status of the task. - */ - desiredStatus?: String; - /** - * The containers associated with the task. - */ - containers?: Containers; - /** - * The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it. - */ - startedBy?: String; - /** - * The version counter for the task. Every time a task experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task state with CloudWatch events, you can compare the version of a task reported by the Amazon ECS APIs with the version reported in CloudWatch events for the task (inside the detail object) to verify that the version in your event stream is current. - */ - version?: Long; - /** - * The reason the task was stopped. - */ - stoppedReason?: String; - /** - * The Unix timestamp for when the task was created (the task entered the PENDING state). - */ - createdAt?: Timestamp; - /** - * The Unix timestamp for when the task was started (the task transitioned from the PENDING state to the RUNNING state). - */ - startedAt?: Timestamp; - /** - * The Unix timestamp for when the task was stopped (the task transitioned from the RUNNING state to the STOPPED state). - */ - stoppedAt?: Timestamp; - /** - * The name of the task group associated with the task. - */ - group?: String; - } - export interface TaskDefinition { - /** - * The full Amazon Resource Name (ARN) of the task definition. - */ - taskDefinitionArn?: String; - /** - * A list of container definitions in JSON format that describe the different containers that make up your task. For more information about container definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide. - */ - containerDefinitions?: ContainerDefinitions; - /** - * The family of your task definition, used as the definition name. - */ - family?: String; - /** - * The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. - */ - taskRoleArn?: String; - /** - * The Docker networking mode to use for the containers in the task. The valid values are none, bridge, and host. If the network mode is none, the containers do not have external connectivity. The default Docker network mode is bridge. The host network mode offers the highest networking performance for containers because it uses the host network stack instead of the virtualized network stack provided by the bridge mode. For more information, see Network settings in the Docker run reference. - */ - networkMode?: NetworkMode; - /** - * The revision of the task in a particular family. The revision is a version number of a task definition in a family. When you register a task definition for the first time, the revision is 1; each time you register a new revision of a task definition in the same family, the revision value always increases by one (even if you have deregistered previous revisions in this family). - */ - revision?: Integer; - /** - * The list of volumes in a task. For more information about volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide. - */ - volumes?: VolumeList; - /** - * The status of the task definition. - */ - status?: TaskDefinitionStatus; - /** - * The container instance attributes required by your task. - */ - requiresAttributes?: RequiresAttributes; - /** - * An array of placement constraint objects to use for tasks. - */ - placementConstraints?: TaskDefinitionPlacementConstraints; - } - export type TaskDefinitionFamilyStatus = "ACTIVE"|"INACTIVE"|"ALL"|string; - export interface TaskDefinitionPlacementConstraint { - /** - * The type of constraint. The DistinctInstance constraint ensures that each task in a particular group is running on a different container instance. The MemberOf constraint restricts selection to be from a group of valid candidates. - */ - type?: TaskDefinitionPlacementConstraintType; - /** - * A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide. - */ - expression?: String; - } - export type TaskDefinitionPlacementConstraintType = "memberOf"|string; - export type TaskDefinitionPlacementConstraints = TaskDefinitionPlacementConstraint[]; - export type TaskDefinitionStatus = "ACTIVE"|"INACTIVE"|string; - export interface TaskOverride { - /** - * One or more container overrides sent to a task. - */ - containerOverrides?: ContainerOverrides; - /** - * The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. - */ - taskRoleArn?: String; - } - export type Tasks = Task[]; - export type Timestamp = Date; - export type TransportProtocol = "tcp"|"udp"|string; - export interface Ulimit { - /** - * The type of the ulimit. - */ - name: UlimitName; - /** - * The soft limit for the ulimit type. - */ - softLimit: Integer; - /** - * The hard limit for the ulimit type. - */ - hardLimit: Integer; - } - export type UlimitList = Ulimit[]; - export type UlimitName = "core"|"cpu"|"data"|"fsize"|"locks"|"memlock"|"msgqueue"|"nice"|"nofile"|"nproc"|"rss"|"rtprio"|"rttime"|"sigpending"|"stack"|string; - export interface UpdateContainerAgentRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The container instance ID or full Amazon Resource Name (ARN) entries for the container instance on which you would like to update the Amazon ECS container agent. - */ - containerInstance: String; - } - export interface UpdateContainerAgentResponse { - /** - * The container instance for which the container agent was updated. - */ - containerInstance?: ContainerInstance; - } - export interface UpdateContainerInstancesStateRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * A list of container instance IDs or full Amazon Resource Name (ARN) entries. - */ - containerInstances: StringList; - /** - * The container instance state with which to update the container instance. - */ - status: ContainerInstanceStatus; - } - export interface UpdateContainerInstancesStateResponse { - /** - * The list of container instances. - */ - containerInstances?: ContainerInstances; - /** - * Any failures associated with the call. - */ - failures?: Failures; - } - export interface UpdateServiceRequest { - /** - * The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed. - */ - cluster?: String; - /** - * The name of the service to update. - */ - service: String; - /** - * The number of instantiations of the task to place and keep running in your service. - */ - desiredCount?: BoxedInteger; - /** - * The family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definition with UpdateService, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running. - */ - taskDefinition?: String; - /** - * Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks. - */ - deploymentConfiguration?: DeploymentConfiguration; - } - export interface UpdateServiceResponse { - /** - * The full description of your service following the update call. - */ - service?: Service; - } - export interface VersionInfo { - /** - * The version number of the Amazon ECS container agent. - */ - agentVersion?: String; - /** - * The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository. - */ - agentHash?: String; - /** - * The Docker version running on the container instance. - */ - dockerVersion?: String; - } - export interface Volume { - /** - * The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints. - */ - name?: String; - /** - * The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running. - */ - host?: HostVolumeProperties; - } - export interface VolumeFrom { - /** - * The name of another container within the same task definition to mount volumes from. - */ - sourceContainer?: String; - /** - * If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume. The default value is false. - */ - readOnly?: BoxedBoolean; - } - export type VolumeFromList = VolumeFrom[]; - export type VolumeList = Volume[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-11-13"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ECS client. - */ - export import Types = ECS; -} -export = ECS; diff --git a/src/node_modules/aws-sdk/clients/ecs.js b/src/node_modules/aws-sdk/clients/ecs.js deleted file mode 100644 index da1be08..0000000 --- a/src/node_modules/aws-sdk/clients/ecs.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['ecs'] = {}; -AWS.ECS = Service.defineService('ecs', ['2014-11-13']); -Object.defineProperty(apiLoader.services['ecs'], '2014-11-13', { - get: function get() { - var model = require('../apis/ecs-2014-11-13.min.json'); - model.paginators = require('../apis/ecs-2014-11-13.paginators.json').pagination; - model.waiters = require('../apis/ecs-2014-11-13.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ECS; diff --git a/src/node_modules/aws-sdk/clients/efs.d.ts b/src/node_modules/aws-sdk/clients/efs.d.ts deleted file mode 100644 index e101908..0000000 --- a/src/node_modules/aws-sdk/clients/efs.d.ts +++ /dev/null @@ -1,406 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class EFS extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: EFS.Types.ClientConfiguration) - config: Config & EFS.Types.ClientConfiguration; - /** - * Creates a new, empty file system. The operation requires a creation token in the request that Amazon EFS uses to ensure idempotent creation (calling the operation with same creation token has no effect). If a file system does not currently exist that is owned by the caller's AWS account with the specified creation token, this operation does the following: Creates a new, empty file system. The file system will have an Amazon EFS assigned ID, and an initial lifecycle state creating. Returns with the description of the created file system. Otherwise, this operation returns a FileSystemAlreadyExists error with the ID of the existing file system. For basic use cases, you can use a randomly generated UUID for the creation token. The idempotent operation allows you to retry a CreateFileSystem call without risk of creating an extra file system. This can happen when an initial call fails in a way that leaves it uncertain whether or not a file system was actually created. An example might be that a transport level timeout occurred or your connection was reset. As long as you use the same creation token, if the initial call had succeeded in creating a file system, the client can learn of its existence from the FileSystemAlreadyExists error. The CreateFileSystem call returns while the file system's lifecycle state is still creating. You can check the file system creation status by calling the DescribeFileSystems operation, which among other things returns the file system state. This operation also takes an optional PerformanceMode parameter that you choose for your file system. We recommend generalPurpose performance mode for most file systems. File systems using the maxIO performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can't be changed after the file system has been created. For more information, see Amazon EFS: Performance Modes. After the file system is fully created, Amazon EFS sets its lifecycle state to available, at which point you can create one or more mount targets for the file system in your VPC. For more information, see CreateMountTarget. You mount your Amazon EFS file system on an EC2 instances in your VPC via the mount target. For more information, see Amazon EFS: How it Works. This operation requires permissions for the elasticfilesystem:CreateFileSystem action. - */ - createFileSystem(params: EFS.Types.CreateFileSystemRequest, callback?: (err: AWSError, data: EFS.Types.FileSystemDescription) => void): Request; - /** - * Creates a new, empty file system. The operation requires a creation token in the request that Amazon EFS uses to ensure idempotent creation (calling the operation with same creation token has no effect). If a file system does not currently exist that is owned by the caller's AWS account with the specified creation token, this operation does the following: Creates a new, empty file system. The file system will have an Amazon EFS assigned ID, and an initial lifecycle state creating. Returns with the description of the created file system. Otherwise, this operation returns a FileSystemAlreadyExists error with the ID of the existing file system. For basic use cases, you can use a randomly generated UUID for the creation token. The idempotent operation allows you to retry a CreateFileSystem call without risk of creating an extra file system. This can happen when an initial call fails in a way that leaves it uncertain whether or not a file system was actually created. An example might be that a transport level timeout occurred or your connection was reset. As long as you use the same creation token, if the initial call had succeeded in creating a file system, the client can learn of its existence from the FileSystemAlreadyExists error. The CreateFileSystem call returns while the file system's lifecycle state is still creating. You can check the file system creation status by calling the DescribeFileSystems operation, which among other things returns the file system state. This operation also takes an optional PerformanceMode parameter that you choose for your file system. We recommend generalPurpose performance mode for most file systems. File systems using the maxIO performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can't be changed after the file system has been created. For more information, see Amazon EFS: Performance Modes. After the file system is fully created, Amazon EFS sets its lifecycle state to available, at which point you can create one or more mount targets for the file system in your VPC. For more information, see CreateMountTarget. You mount your Amazon EFS file system on an EC2 instances in your VPC via the mount target. For more information, see Amazon EFS: How it Works. This operation requires permissions for the elasticfilesystem:CreateFileSystem action. - */ - createFileSystem(callback?: (err: AWSError, data: EFS.Types.FileSystemDescription) => void): Request; - /** - * Creates a mount target for a file system. You can then mount the file system on EC2 instances via the mount target. You can create one mount target in each Availability Zone in your VPC. All EC2 instances in a VPC within a given Availability Zone share a single mount target for a given file system. If you have multiple subnets in an Availability Zone, you create a mount target in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target in order to access their file system. For more information, see Amazon EFS: How it Works. In the request, you also specify a file system ID for which you are creating the mount target and the file system's lifecycle state must be available. For more information, see DescribeFileSystems. In the request, you also provide a subnet ID, which determines the following: VPC in which Amazon EFS creates the mount target Availability Zone in which Amazon EFS creates the mount target IP address range from which Amazon EFS selects the IP address of the mount target (if you don't specify an IP address in the request) After creating the mount target, Amazon EFS returns a response that includes, a MountTargetId and an IpAddress. You use this IP address when mounting the file system in an EC2 instance. You can also use the mount target's DNS name when mounting the file system. The EC2 instance on which you mount the file system via the mount target can resolve the mount target's DNS name to its IP address. For more information, see How it Works: Implementation Overview. Note that you can create mount targets for a file system in only one VPC, and there can be only one mount target per Availability Zone. That is, if the file system already has one or more mount targets created for it, the subnet specified in the request to add another mount target must meet the following requirements: Must belong to the same VPC as the subnets of the existing mount targets Must not be in the same Availability Zone as any of the subnets of the existing mount targets If the request satisfies the requirements, Amazon EFS does the following: Creates a new mount target in the specified subnet. Also creates a new network interface in the subnet as follows: If the request provides an IpAddress, Amazon EFS assigns that IP address to the network interface. Otherwise, Amazon EFS assigns a free address in the subnet (in the same way that the Amazon EC2 CreateNetworkInterface call does when a request does not specify a primary private IP address). If the request provides SecurityGroups, this network interface is associated with those security groups. Otherwise, it belongs to the default security group for the subnet's VPC. Assigns the description Mount target fsmt-id for file system fs-id where fsmt-id is the mount target ID, and fs-id is the FileSystemId. Sets the requesterManaged property of the network interface to true, and the requesterId value to EFS. Each Amazon EFS mount target has one corresponding requester-managed EC2 network interface. After the network interface is created, Amazon EFS sets the NetworkInterfaceId field in the mount target's description to the network interface ID, and the IpAddress field to its address. If network interface creation fails, the entire CreateMountTarget operation fails. The CreateMountTarget call returns only after creating the network interface, but while the mount target state is still creating, you can check the mount target creation status by calling the DescribeMountTargets operation, which among other things returns the mount target state. We recommend you create a mount target in each of the Availability Zones. There are cost considerations for using a file system in an Availability Zone through a mount target created in another Availability Zone. For more information, see Amazon EFS. In addition, by always using a mount target local to the instance's Availability Zone, you eliminate a partial failure scenario. If the Availability Zone in which your mount target is created goes down, then you won't be able to access your file system through that mount target. This operation requires permissions for the following action on the file system: elasticfilesystem:CreateMountTarget This operation also requires permissions for the following Amazon EC2 actions: ec2:DescribeSubnets ec2:DescribeNetworkInterfaces ec2:CreateNetworkInterface - */ - createMountTarget(params: EFS.Types.CreateMountTargetRequest, callback?: (err: AWSError, data: EFS.Types.MountTargetDescription) => void): Request; - /** - * Creates a mount target for a file system. You can then mount the file system on EC2 instances via the mount target. You can create one mount target in each Availability Zone in your VPC. All EC2 instances in a VPC within a given Availability Zone share a single mount target for a given file system. If you have multiple subnets in an Availability Zone, you create a mount target in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target in order to access their file system. For more information, see Amazon EFS: How it Works. In the request, you also specify a file system ID for which you are creating the mount target and the file system's lifecycle state must be available. For more information, see DescribeFileSystems. In the request, you also provide a subnet ID, which determines the following: VPC in which Amazon EFS creates the mount target Availability Zone in which Amazon EFS creates the mount target IP address range from which Amazon EFS selects the IP address of the mount target (if you don't specify an IP address in the request) After creating the mount target, Amazon EFS returns a response that includes, a MountTargetId and an IpAddress. You use this IP address when mounting the file system in an EC2 instance. You can also use the mount target's DNS name when mounting the file system. The EC2 instance on which you mount the file system via the mount target can resolve the mount target's DNS name to its IP address. For more information, see How it Works: Implementation Overview. Note that you can create mount targets for a file system in only one VPC, and there can be only one mount target per Availability Zone. That is, if the file system already has one or more mount targets created for it, the subnet specified in the request to add another mount target must meet the following requirements: Must belong to the same VPC as the subnets of the existing mount targets Must not be in the same Availability Zone as any of the subnets of the existing mount targets If the request satisfies the requirements, Amazon EFS does the following: Creates a new mount target in the specified subnet. Also creates a new network interface in the subnet as follows: If the request provides an IpAddress, Amazon EFS assigns that IP address to the network interface. Otherwise, Amazon EFS assigns a free address in the subnet (in the same way that the Amazon EC2 CreateNetworkInterface call does when a request does not specify a primary private IP address). If the request provides SecurityGroups, this network interface is associated with those security groups. Otherwise, it belongs to the default security group for the subnet's VPC. Assigns the description Mount target fsmt-id for file system fs-id where fsmt-id is the mount target ID, and fs-id is the FileSystemId. Sets the requesterManaged property of the network interface to true, and the requesterId value to EFS. Each Amazon EFS mount target has one corresponding requester-managed EC2 network interface. After the network interface is created, Amazon EFS sets the NetworkInterfaceId field in the mount target's description to the network interface ID, and the IpAddress field to its address. If network interface creation fails, the entire CreateMountTarget operation fails. The CreateMountTarget call returns only after creating the network interface, but while the mount target state is still creating, you can check the mount target creation status by calling the DescribeMountTargets operation, which among other things returns the mount target state. We recommend you create a mount target in each of the Availability Zones. There are cost considerations for using a file system in an Availability Zone through a mount target created in another Availability Zone. For more information, see Amazon EFS. In addition, by always using a mount target local to the instance's Availability Zone, you eliminate a partial failure scenario. If the Availability Zone in which your mount target is created goes down, then you won't be able to access your file system through that mount target. This operation requires permissions for the following action on the file system: elasticfilesystem:CreateMountTarget This operation also requires permissions for the following Amazon EC2 actions: ec2:DescribeSubnets ec2:DescribeNetworkInterfaces ec2:CreateNetworkInterface - */ - createMountTarget(callback?: (err: AWSError, data: EFS.Types.MountTargetDescription) => void): Request; - /** - * Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If a tag key specified in the request already exists on the file system, this operation overwrites its value with the value provided in the request. If you add the Name tag to your file system, Amazon EFS returns it in the response to the DescribeFileSystems operation. This operation requires permission for the elasticfilesystem:CreateTags action. - */ - createTags(params: EFS.Types.CreateTagsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If a tag key specified in the request already exists on the file system, this operation overwrites its value with the value provided in the request. If you add the Name tag to your file system, Amazon EFS returns it in the response to the DescribeFileSystems operation. This operation requires permission for the elasticfilesystem:CreateTags action. - */ - createTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a file system, permanently severing access to its contents. Upon return, the file system no longer exists and you can't access any contents of the deleted file system. You can't delete a file system that is in use. That is, if the file system has any mount targets, you must first delete them. For more information, see DescribeMountTargets and DeleteMountTarget. The DeleteFileSystem call returns while the file system state is still deleting. You can check the file system deletion status by calling the DescribeFileSystems operation, which returns a list of file systems in your account. If you pass file system ID or creation token for the deleted file system, the DescribeFileSystems returns a 404 FileSystemNotFound error. This operation requires permissions for the elasticfilesystem:DeleteFileSystem action. - */ - deleteFileSystem(params: EFS.Types.DeleteFileSystemRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a file system, permanently severing access to its contents. Upon return, the file system no longer exists and you can't access any contents of the deleted file system. You can't delete a file system that is in use. That is, if the file system has any mount targets, you must first delete them. For more information, see DescribeMountTargets and DeleteMountTarget. The DeleteFileSystem call returns while the file system state is still deleting. You can check the file system deletion status by calling the DescribeFileSystems operation, which returns a list of file systems in your account. If you pass file system ID or creation token for the deleted file system, the DescribeFileSystems returns a 404 FileSystemNotFound error. This operation requires permissions for the elasticfilesystem:DeleteFileSystem action. - */ - deleteFileSystem(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified mount target. This operation forcibly breaks any mounts of the file system via the mount target that is being deleted, which might disrupt instances or applications using those mounts. To avoid applications getting cut off abruptly, you might consider unmounting any mounts of the mount target, if feasible. The operation also deletes the associated network interface. Uncommitted writes may be lost, but breaking a mount target using this operation does not corrupt the file system itself. The file system you created remains. You can mount an EC2 instance in your VPC via another mount target. This operation requires permissions for the following action on the file system: elasticfilesystem:DeleteMountTarget The DeleteMountTarget call returns while the mount target state is still deleting. You can check the mount target deletion by calling the DescribeMountTargets operation, which returns a list of mount target descriptions for the given file system. The operation also requires permissions for the following Amazon EC2 action on the mount target's network interface: ec2:DeleteNetworkInterface - */ - deleteMountTarget(params: EFS.Types.DeleteMountTargetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified mount target. This operation forcibly breaks any mounts of the file system via the mount target that is being deleted, which might disrupt instances or applications using those mounts. To avoid applications getting cut off abruptly, you might consider unmounting any mounts of the mount target, if feasible. The operation also deletes the associated network interface. Uncommitted writes may be lost, but breaking a mount target using this operation does not corrupt the file system itself. The file system you created remains. You can mount an EC2 instance in your VPC via another mount target. This operation requires permissions for the following action on the file system: elasticfilesystem:DeleteMountTarget The DeleteMountTarget call returns while the mount target state is still deleting. You can check the mount target deletion by calling the DescribeMountTargets operation, which returns a list of mount target descriptions for the given file system. The operation also requires permissions for the following Amazon EC2 action on the mount target's network interface: ec2:DeleteNetworkInterface - */ - deleteMountTarget(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified tags from a file system. If the DeleteTags request includes a tag key that does not exist, Amazon EFS ignores it and doesn't cause an error. For more information about tags and related restrictions, see Tag Restrictions in the AWS Billing and Cost Management User Guide. This operation requires permissions for the elasticfilesystem:DeleteTags action. - */ - deleteTags(params: EFS.Types.DeleteTagsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified tags from a file system. If the DeleteTags request includes a tag key that does not exist, Amazon EFS ignores it and doesn't cause an error. For more information about tags and related restrictions, see Tag Restrictions in the AWS Billing and Cost Management User Guide. This operation requires permissions for the elasticfilesystem:DeleteTags action. - */ - deleteTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Returns the description of a specific Amazon EFS file system if either the file system CreationToken or the FileSystemId is provided. Otherwise, it returns descriptions of all file systems owned by the caller's AWS account in the AWS Region of the endpoint that you're calling. When retrieving all file system descriptions, you can optionally specify the MaxItems parameter to limit the number of descriptions in a response. If more file system descriptions remain, Amazon EFS returns a NextMarker, an opaque token, in the response. In this case, you should send a subsequent request with the Marker request parameter set to the value of NextMarker. To retrieve a list of your file system descriptions, this operation is used in an iterative process, where DescribeFileSystems is called first without the Marker and then the operation continues to call it with the Marker parameter set to the value of the NextMarker from the previous response until the response has no NextMarker. The implementation may return fewer than MaxItems file system descriptions while still including a NextMarker value. The order of file systems returned in the response of one DescribeFileSystems call and the order of file systems returned across the responses of a multi-call iteration is unspecified. This operation requires permissions for the elasticfilesystem:DescribeFileSystems action. - */ - describeFileSystems(params: EFS.Types.DescribeFileSystemsRequest, callback?: (err: AWSError, data: EFS.Types.DescribeFileSystemsResponse) => void): Request; - /** - * Returns the description of a specific Amazon EFS file system if either the file system CreationToken or the FileSystemId is provided. Otherwise, it returns descriptions of all file systems owned by the caller's AWS account in the AWS Region of the endpoint that you're calling. When retrieving all file system descriptions, you can optionally specify the MaxItems parameter to limit the number of descriptions in a response. If more file system descriptions remain, Amazon EFS returns a NextMarker, an opaque token, in the response. In this case, you should send a subsequent request with the Marker request parameter set to the value of NextMarker. To retrieve a list of your file system descriptions, this operation is used in an iterative process, where DescribeFileSystems is called first without the Marker and then the operation continues to call it with the Marker parameter set to the value of the NextMarker from the previous response until the response has no NextMarker. The implementation may return fewer than MaxItems file system descriptions while still including a NextMarker value. The order of file systems returned in the response of one DescribeFileSystems call and the order of file systems returned across the responses of a multi-call iteration is unspecified. This operation requires permissions for the elasticfilesystem:DescribeFileSystems action. - */ - describeFileSystems(callback?: (err: AWSError, data: EFS.Types.DescribeFileSystemsResponse) => void): Request; - /** - * Returns the security groups currently in effect for a mount target. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not deleted. This operation requires permissions for the following actions: elasticfilesystem:DescribeMountTargetSecurityGroups action on the mount target's file system. ec2:DescribeNetworkInterfaceAttribute action on the mount target's network interface. - */ - describeMountTargetSecurityGroups(params: EFS.Types.DescribeMountTargetSecurityGroupsRequest, callback?: (err: AWSError, data: EFS.Types.DescribeMountTargetSecurityGroupsResponse) => void): Request; - /** - * Returns the security groups currently in effect for a mount target. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not deleted. This operation requires permissions for the following actions: elasticfilesystem:DescribeMountTargetSecurityGroups action on the mount target's file system. ec2:DescribeNetworkInterfaceAttribute action on the mount target's network interface. - */ - describeMountTargetSecurityGroups(callback?: (err: AWSError, data: EFS.Types.DescribeMountTargetSecurityGroupsResponse) => void): Request; - /** - * Returns the descriptions of all the current mount targets, or a specific mount target, for a file system. When requesting all of the current mount targets, the order of mount targets returned in the response is unspecified. This operation requires permissions for the elasticfilesystem:DescribeMountTargets action, on either the file system ID that you specify in FileSystemId, or on the file system of the mount target that you specify in MountTargetId. - */ - describeMountTargets(params: EFS.Types.DescribeMountTargetsRequest, callback?: (err: AWSError, data: EFS.Types.DescribeMountTargetsResponse) => void): Request; - /** - * Returns the descriptions of all the current mount targets, or a specific mount target, for a file system. When requesting all of the current mount targets, the order of mount targets returned in the response is unspecified. This operation requires permissions for the elasticfilesystem:DescribeMountTargets action, on either the file system ID that you specify in FileSystemId, or on the file system of the mount target that you specify in MountTargetId. - */ - describeMountTargets(callback?: (err: AWSError, data: EFS.Types.DescribeMountTargetsResponse) => void): Request; - /** - * Returns the tags associated with a file system. The order of tags returned in the response of one DescribeTags call and the order of tags returned across the responses of a multi-call iteration (when using pagination) is unspecified. This operation requires permissions for the elasticfilesystem:DescribeTags action. - */ - describeTags(params: EFS.Types.DescribeTagsRequest, callback?: (err: AWSError, data: EFS.Types.DescribeTagsResponse) => void): Request; - /** - * Returns the tags associated with a file system. The order of tags returned in the response of one DescribeTags call and the order of tags returned across the responses of a multi-call iteration (when using pagination) is unspecified. This operation requires permissions for the elasticfilesystem:DescribeTags action. - */ - describeTags(callback?: (err: AWSError, data: EFS.Types.DescribeTagsResponse) => void): Request; - /** - * Modifies the set of security groups in effect for a mount target. When you create a mount target, Amazon EFS also creates a new network interface. For more information, see CreateMountTarget. This operation replaces the security groups in effect for the network interface associated with a mount target, with the SecurityGroups provided in the request. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not deleted. The operation requires permissions for the following actions: elasticfilesystem:ModifyMountTargetSecurityGroups action on the mount target's file system. ec2:ModifyNetworkInterfaceAttribute action on the mount target's network interface. - */ - modifyMountTargetSecurityGroups(params: EFS.Types.ModifyMountTargetSecurityGroupsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the set of security groups in effect for a mount target. When you create a mount target, Amazon EFS also creates a new network interface. For more information, see CreateMountTarget. This operation replaces the security groups in effect for the network interface associated with a mount target, with the SecurityGroups provided in the request. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not deleted. The operation requires permissions for the following actions: elasticfilesystem:ModifyMountTargetSecurityGroups action on the mount target's file system. ec2:ModifyNetworkInterfaceAttribute action on the mount target's network interface. - */ - modifyMountTargetSecurityGroups(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace EFS { - export type AwsAccountId = string; - export interface CreateFileSystemRequest { - /** - * String of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent creation. - */ - CreationToken: CreationToken; - /** - * The PerformanceMode of the file system. We recommend generalPurpose performance mode for most file systems. File systems using the maxIO performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. This can't be changed after the file system has been created. - */ - PerformanceMode?: PerformanceMode; - } - export interface CreateMountTargetRequest { - /** - * ID of the file system for which to create the mount target. - */ - FileSystemId: FileSystemId; - /** - * ID of the subnet to add the mount target in. - */ - SubnetId: SubnetId; - /** - * Valid IPv4 address within the address range of the specified subnet. - */ - IpAddress?: IpAddress; - /** - * Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified. - */ - SecurityGroups?: SecurityGroups; - } - export interface CreateTagsRequest { - /** - * ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system. - */ - FileSystemId: FileSystemId; - /** - * Array of Tag objects to add. Each Tag object is a key-value pair. - */ - Tags: Tags; - } - export type CreationToken = string; - export interface DeleteFileSystemRequest { - /** - * ID of the file system you want to delete. - */ - FileSystemId: FileSystemId; - } - export interface DeleteMountTargetRequest { - /** - * ID of the mount target to delete (String). - */ - MountTargetId: MountTargetId; - } - export interface DeleteTagsRequest { - /** - * ID of the file system whose tags you want to delete (String). - */ - FileSystemId: FileSystemId; - /** - * List of tag keys to delete. - */ - TagKeys: TagKeys; - } - export interface DescribeFileSystemsRequest { - /** - * (Optional) Specifies the maximum number of file systems to return in the response (integer). This parameter value must be greater than 0. The number of items that Amazon EFS returns is the minimum of the MaxItems parameter specified in the request and the service's internal maximum number of items per page. - */ - MaxItems?: MaxItems; - /** - * (Optional) Opaque pagination token returned from a previous DescribeFileSystems operation (String). If present, specifies to continue the list from where the returning call had left off. - */ - Marker?: Marker; - /** - * (Optional) Restricts the list to the file system with this creation token (String). You specify a creation token when you create an Amazon EFS file system. - */ - CreationToken?: CreationToken; - /** - * (Optional) ID of the file system whose description you want to retrieve (String). - */ - FileSystemId?: FileSystemId; - } - export interface DescribeFileSystemsResponse { - /** - * Present if provided by caller in the request (String). - */ - Marker?: Marker; - /** - * Array of file system descriptions. - */ - FileSystems?: FileSystemDescriptions; - /** - * Present if there are more file systems than returned in the response (String). You can use the NextMarker in the subsequent request to fetch the descriptions. - */ - NextMarker?: Marker; - } - export interface DescribeMountTargetSecurityGroupsRequest { - /** - * ID of the mount target whose security groups you want to retrieve. - */ - MountTargetId: MountTargetId; - } - export interface DescribeMountTargetSecurityGroupsResponse { - /** - * Array of security groups. - */ - SecurityGroups: SecurityGroups; - } - export interface DescribeMountTargetsRequest { - /** - * (Optional) Maximum number of mount targets to return in the response. It must be an integer with a value greater than zero. - */ - MaxItems?: MaxItems; - /** - * (Optional) Opaque pagination token returned from a previous DescribeMountTargets operation (String). If present, it specifies to continue the list from where the previous returning call left off. - */ - Marker?: Marker; - /** - * (Optional) ID of the file system whose mount targets you want to list (String). It must be included in your request if MountTargetId is not included. - */ - FileSystemId?: FileSystemId; - /** - * (Optional) ID of the mount target that you want to have described (String). It must be included in your request if FileSystemId is not included. - */ - MountTargetId?: MountTargetId; - } - export interface DescribeMountTargetsResponse { - /** - * If the request included the Marker, the response returns that value in this field. - */ - Marker?: Marker; - /** - * Returns the file system's mount targets as an array of MountTargetDescription objects. - */ - MountTargets?: MountTargetDescriptions; - /** - * If a value is present, there are more mount targets to return. In a subsequent request, you can provide Marker in your request with this value to retrieve the next set of mount targets. - */ - NextMarker?: Marker; - } - export interface DescribeTagsRequest { - /** - * (Optional) Maximum number of file system tags to return in the response. It must be an integer with a value greater than zero. - */ - MaxItems?: MaxItems; - /** - * (Optional) Opaque pagination token returned from a previous DescribeTags operation (String). If present, it specifies to continue the list from where the previous call left off. - */ - Marker?: Marker; - /** - * ID of the file system whose tag set you want to retrieve. - */ - FileSystemId: FileSystemId; - } - export interface DescribeTagsResponse { - /** - * If the request included a Marker, the response returns that value in this field. - */ - Marker?: Marker; - /** - * Returns tags associated with the file system as an array of Tag objects. - */ - Tags: Tags; - /** - * If a value is present, there are more tags to return. In a subsequent request, you can provide the value of NextMarker as the value of the Marker parameter in your next request to retrieve the next set of tags. - */ - NextMarker?: Marker; - } - export type ErrorCode = string; - export type ErrorMessage = string; - export interface FileSystemDescription { - /** - * AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner. - */ - OwnerId: AwsAccountId; - /** - * Opaque string specified in the request. - */ - CreationToken: CreationToken; - /** - * ID of the file system, assigned by Amazon EFS. - */ - FileSystemId: FileSystemId; - /** - * Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). - */ - CreationTime: Timestamp; - /** - * Lifecycle phase of the file system. - */ - LifeCycleState: LifeCycleState; - /** - * You can add tags to a file system, including a Name tag. For more information, see CreateTags. If the file system has a Name tag, Amazon EFS returns the value in this field. - */ - Name?: TagValue; - /** - * Current number of mount targets that the file system has. For more information, see CreateMountTarget. - */ - NumberOfMountTargets: MountTargetCount; - /** - * Latest known metered size (in bytes) of data stored in the file system, in bytes, in its Value field, and the time at which that size was determined in its Timestamp field. The Timestamp value is the integer number of seconds since 1970-01-01T00:00:00Z. Note that the value does not represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value will represent actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not the exact size the file system was at any instant in time. - */ - SizeInBytes: FileSystemSize; - /** - * The PerformanceMode of the file system. - */ - PerformanceMode: PerformanceMode; - } - export type FileSystemDescriptions = FileSystemDescription[]; - export type FileSystemId = string; - export interface FileSystemSize { - /** - * Latest known metered size (in bytes) of data stored in the file system. - */ - Value: FileSystemSizeValue; - /** - * Time at which the size of data, returned in the Value field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z. - */ - Timestamp?: Timestamp; - } - export type FileSystemSizeValue = number; - export type IpAddress = string; - export type LifeCycleState = "creating"|"available"|"deleting"|"deleted"|string; - export type Marker = string; - export type MaxItems = number; - export interface ModifyMountTargetSecurityGroupsRequest { - /** - * ID of the mount target whose security groups you want to modify. - */ - MountTargetId: MountTargetId; - /** - * Array of up to five VPC security group IDs. - */ - SecurityGroups?: SecurityGroups; - } - export type MountTargetCount = number; - export interface MountTargetDescription { - /** - * AWS account ID that owns the resource. - */ - OwnerId?: AwsAccountId; - /** - * System-assigned mount target ID. - */ - MountTargetId: MountTargetId; - /** - * ID of the file system for which the mount target is intended. - */ - FileSystemId: FileSystemId; - /** - * ID of the mount target's subnet. - */ - SubnetId: SubnetId; - /** - * Lifecycle state of the mount target. - */ - LifeCycleState: LifeCycleState; - /** - * Address at which the file system may be mounted via the mount target. - */ - IpAddress?: IpAddress; - /** - * ID of the network interface that Amazon EFS created when it created the mount target. - */ - NetworkInterfaceId?: NetworkInterfaceId; - } - export type MountTargetDescriptions = MountTargetDescription[]; - export type MountTargetId = string; - export type NetworkInterfaceId = string; - export type PerformanceMode = "generalPurpose"|"maxIO"|string; - export type SecurityGroup = string; - export type SecurityGroups = SecurityGroup[]; - export type SubnetId = string; - export interface Tag { - /** - * Tag key (String). The key can't start with aws:. - */ - Key: TagKey; - /** - * Value of the tag key. - */ - Value: TagValue; - } - export type TagKey = string; - export type TagKeys = TagKey[]; - export type TagValue = string; - export type Tags = Tag[]; - export type Timestamp = Date; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-02-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the EFS client. - */ - export import Types = EFS; -} -export = EFS; diff --git a/src/node_modules/aws-sdk/clients/efs.js b/src/node_modules/aws-sdk/clients/efs.js deleted file mode 100644 index b094ac6..0000000 --- a/src/node_modules/aws-sdk/clients/efs.js +++ /dev/null @@ -1,17 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['efs'] = {}; -AWS.EFS = Service.defineService('efs', ['2015-02-01']); -Object.defineProperty(apiLoader.services['efs'], '2015-02-01', { - get: function get() { - var model = require('../apis/elasticfilesystem-2015-02-01.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EFS; diff --git a/src/node_modules/aws-sdk/clients/elasticache.d.ts b/src/node_modules/aws-sdk/clients/elasticache.d.ts deleted file mode 100644 index 10393bc..0000000 --- a/src/node_modules/aws-sdk/clients/elasticache.d.ts +++ /dev/null @@ -1,2239 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ElastiCache extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ElastiCache.Types.ClientConfiguration) - config: Config & ElastiCache.Types.ClientConfiguration; - /** - * Adds up to 50 cost allocation tags to the named resource. A cost allocation tag is a key-value pair where the key and value are case-sensitive. You can use cost allocation tags to categorize and track your AWS costs. When you apply tags to your ElastiCache resources, AWS generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags in Amazon ElastiCache in the ElastiCache User Guide. - */ - addTagsToResource(params: ElastiCache.Types.AddTagsToResourceMessage, callback?: (err: AWSError, data: ElastiCache.Types.TagListMessage) => void): Request; - /** - * Adds up to 50 cost allocation tags to the named resource. A cost allocation tag is a key-value pair where the key and value are case-sensitive. You can use cost allocation tags to categorize and track your AWS costs. When you apply tags to your ElastiCache resources, AWS generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags in Amazon ElastiCache in the ElastiCache User Guide. - */ - addTagsToResource(callback?: (err: AWSError, data: ElastiCache.Types.TagListMessage) => void): Request; - /** - * Allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization mechanism. You cannot authorize ingress from an Amazon EC2 security group in one region to an ElastiCache cluster in another region. - */ - authorizeCacheSecurityGroupIngress(params: ElastiCache.Types.AuthorizeCacheSecurityGroupIngressMessage, callback?: (err: AWSError, data: ElastiCache.Types.AuthorizeCacheSecurityGroupIngressResult) => void): Request; - /** - * Allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization mechanism. You cannot authorize ingress from an Amazon EC2 security group in one region to an ElastiCache cluster in another region. - */ - authorizeCacheSecurityGroupIngress(callback?: (err: AWSError, data: ElastiCache.Types.AuthorizeCacheSecurityGroupIngressResult) => void): Request; - /** - * Makes a copy of an existing snapshot. This operation is valid for Redis only. Users or groups that have permissions to use the CopySnapshot operation can create their own Amazon S3 buckets and copy snapshots to it. To control access to your snapshots, use an IAM policy to control who has the ability to use the CopySnapshot operation. For more information about using IAM to control the use of ElastiCache operations, see Exporting Snapshots and Authentication & Access Control. You could receive the following error messages. Error Messages Error Message: The S3 bucket %s is outside of the region. Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide. Error Message: The S3 bucket %s does not exist. Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide. Error Message: The S3 bucket %s is not owned by the authenticated user. Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide. Error Message: The authenticated user does not have sufficient permissions to perform the desired activity. Solution: Contact your system administrator to get the needed permissions. Error Message: The S3 bucket %s already contains an object with key %s. Solution: Give the TargetSnapshotName a new and unique value. If exporting a snapshot, you could alternatively create a new Amazon S3 bucket and use this same value for TargetSnapshotName. Error Message: ElastiCache has not been granted READ permissions %s on the S3 Bucket. Solution: Add List and Read permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide. Error Message: ElastiCache has not been granted WRITE permissions %s on the S3 Bucket. Solution: Add Upload/Delete permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide. Error Message: ElastiCache has not been granted READ_ACP permissions %s on the S3 Bucket. Solution: Add View Permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide. - */ - copySnapshot(params: ElastiCache.Types.CopySnapshotMessage, callback?: (err: AWSError, data: ElastiCache.Types.CopySnapshotResult) => void): Request; - /** - * Makes a copy of an existing snapshot. This operation is valid for Redis only. Users or groups that have permissions to use the CopySnapshot operation can create their own Amazon S3 buckets and copy snapshots to it. To control access to your snapshots, use an IAM policy to control who has the ability to use the CopySnapshot operation. For more information about using IAM to control the use of ElastiCache operations, see Exporting Snapshots and Authentication & Access Control. You could receive the following error messages. Error Messages Error Message: The S3 bucket %s is outside of the region. Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide. Error Message: The S3 bucket %s does not exist. Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide. Error Message: The S3 bucket %s is not owned by the authenticated user. Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide. Error Message: The authenticated user does not have sufficient permissions to perform the desired activity. Solution: Contact your system administrator to get the needed permissions. Error Message: The S3 bucket %s already contains an object with key %s. Solution: Give the TargetSnapshotName a new and unique value. If exporting a snapshot, you could alternatively create a new Amazon S3 bucket and use this same value for TargetSnapshotName. Error Message: ElastiCache has not been granted READ permissions %s on the S3 Bucket. Solution: Add List and Read permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide. Error Message: ElastiCache has not been granted WRITE permissions %s on the S3 Bucket. Solution: Add Upload/Delete permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide. Error Message: ElastiCache has not been granted READ_ACP permissions %s on the S3 Bucket. Solution: Add View Permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide. - */ - copySnapshot(callback?: (err: AWSError, data: ElastiCache.Types.CopySnapshotResult) => void): Request; - /** - * Creates a cache cluster. All nodes in the cache cluster run the same protocol-compliant cache engine software, either Memcached or Redis. Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups. - */ - createCacheCluster(params: ElastiCache.Types.CreateCacheClusterMessage, callback?: (err: AWSError, data: ElastiCache.Types.CreateCacheClusterResult) => void): Request; - /** - * Creates a cache cluster. All nodes in the cache cluster run the same protocol-compliant cache engine software, either Memcached or Redis. Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups. - */ - createCacheCluster(callback?: (err: AWSError, data: ElastiCache.Types.CreateCacheClusterResult) => void): Request; - /** - * Creates a new Amazon ElastiCache cache parameter group. An ElastiCache cache parameter group is a collection of parameters and their values that are applied to all of the nodes in any cache cluster or replication group using the CacheParameterGroup. A newly created CacheParameterGroup is an exact duplicate of the default parameter group for the CacheParameterGroupFamily. To customize the newly created CacheParameterGroup you can change the values of specific parameters. For more information, see: ModifyCacheParameterGroup in the ElastiCache API Reference. Parameters and Parameter Groups in the ElastiCache User Guide. - */ - createCacheParameterGroup(params: ElastiCache.Types.CreateCacheParameterGroupMessage, callback?: (err: AWSError, data: ElastiCache.Types.CreateCacheParameterGroupResult) => void): Request; - /** - * Creates a new Amazon ElastiCache cache parameter group. An ElastiCache cache parameter group is a collection of parameters and their values that are applied to all of the nodes in any cache cluster or replication group using the CacheParameterGroup. A newly created CacheParameterGroup is an exact duplicate of the default parameter group for the CacheParameterGroupFamily. To customize the newly created CacheParameterGroup you can change the values of specific parameters. For more information, see: ModifyCacheParameterGroup in the ElastiCache API Reference. Parameters and Parameter Groups in the ElastiCache User Guide. - */ - createCacheParameterGroup(callback?: (err: AWSError, data: ElastiCache.Types.CreateCacheParameterGroupResult) => void): Request; - /** - * Creates a new cache security group. Use a cache security group to control access to one or more cache clusters. Cache security groups are only used when you are creating a cache cluster outside of an Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cache cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup. - */ - createCacheSecurityGroup(params: ElastiCache.Types.CreateCacheSecurityGroupMessage, callback?: (err: AWSError, data: ElastiCache.Types.CreateCacheSecurityGroupResult) => void): Request; - /** - * Creates a new cache security group. Use a cache security group to control access to one or more cache clusters. Cache security groups are only used when you are creating a cache cluster outside of an Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cache cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup. - */ - createCacheSecurityGroup(callback?: (err: AWSError, data: ElastiCache.Types.CreateCacheSecurityGroupResult) => void): Request; - /** - * Creates a new cache subnet group. Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC). - */ - createCacheSubnetGroup(params: ElastiCache.Types.CreateCacheSubnetGroupMessage, callback?: (err: AWSError, data: ElastiCache.Types.CreateCacheSubnetGroupResult) => void): Request; - /** - * Creates a new cache subnet group. Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC). - */ - createCacheSubnetGroup(callback?: (err: AWSError, data: ElastiCache.Types.CreateCacheSubnetGroupResult) => void): Request; - /** - * Creates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication group. A Redis (cluster mode disabled) replication group is a collection of cache clusters, where one of the cache clusters is a read/write primary and the others are read-only replicas. Writes to the primary are asynchronously propagated to the replicas. A Redis (cluster mode enabled) replication group is a collection of 1 to 15 node groups (shards). Each node group (shard) has one read/write primary node and up to 5 read-only replica nodes. Writes to the primary are asynchronously propagated to the replicas. Redis (cluster mode enabled) replication groups partition the data across node groups (shards). When a Redis (cluster mode disabled) replication group has been successfully created, you can add one or more read replicas to it, up to a total of 5 read replicas. You cannot alter a Redis (cluster mode enabled) replication group after it has been created. However, if you need to increase or decrease the number of node groups (console: shards), you can avail yourself of ElastiCache for Redis' enhanced backup and restore. For more information, see Restoring From a Backup with Cluster Resizing in the ElastiCache User Guide. This operation is valid for Redis only. - */ - createReplicationGroup(params: ElastiCache.Types.CreateReplicationGroupMessage, callback?: (err: AWSError, data: ElastiCache.Types.CreateReplicationGroupResult) => void): Request; - /** - * Creates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication group. A Redis (cluster mode disabled) replication group is a collection of cache clusters, where one of the cache clusters is a read/write primary and the others are read-only replicas. Writes to the primary are asynchronously propagated to the replicas. A Redis (cluster mode enabled) replication group is a collection of 1 to 15 node groups (shards). Each node group (shard) has one read/write primary node and up to 5 read-only replica nodes. Writes to the primary are asynchronously propagated to the replicas. Redis (cluster mode enabled) replication groups partition the data across node groups (shards). When a Redis (cluster mode disabled) replication group has been successfully created, you can add one or more read replicas to it, up to a total of 5 read replicas. You cannot alter a Redis (cluster mode enabled) replication group after it has been created. However, if you need to increase or decrease the number of node groups (console: shards), you can avail yourself of ElastiCache for Redis' enhanced backup and restore. For more information, see Restoring From a Backup with Cluster Resizing in the ElastiCache User Guide. This operation is valid for Redis only. - */ - createReplicationGroup(callback?: (err: AWSError, data: ElastiCache.Types.CreateReplicationGroupResult) => void): Request; - /** - * Creates a copy of an entire cache cluster or replication group at a specific moment in time. This operation is valid for Redis only. - */ - createSnapshot(params: ElastiCache.Types.CreateSnapshotMessage, callback?: (err: AWSError, data: ElastiCache.Types.CreateSnapshotResult) => void): Request; - /** - * Creates a copy of an entire cache cluster or replication group at a specific moment in time. This operation is valid for Redis only. - */ - createSnapshot(callback?: (err: AWSError, data: ElastiCache.Types.CreateSnapshotResult) => void): Request; - /** - * Deletes a previously provisioned cache cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this operation. This operation cannot be used to delete a cache cluster that is the last read replica of a replication group or node group (shard) that has Multi-AZ mode enabled or a cache cluster from a Redis (cluster mode enabled) replication group. Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups. - */ - deleteCacheCluster(params: ElastiCache.Types.DeleteCacheClusterMessage, callback?: (err: AWSError, data: ElastiCache.Types.DeleteCacheClusterResult) => void): Request; - /** - * Deletes a previously provisioned cache cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this operation. This operation cannot be used to delete a cache cluster that is the last read replica of a replication group or node group (shard) that has Multi-AZ mode enabled or a cache cluster from a Redis (cluster mode enabled) replication group. Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups. - */ - deleteCacheCluster(callback?: (err: AWSError, data: ElastiCache.Types.DeleteCacheClusterResult) => void): Request; - /** - * Deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters. - */ - deleteCacheParameterGroup(params: ElastiCache.Types.DeleteCacheParameterGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters. - */ - deleteCacheParameterGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a cache security group. You cannot delete a cache security group if it is associated with any cache clusters. - */ - deleteCacheSecurityGroup(params: ElastiCache.Types.DeleteCacheSecurityGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a cache security group. You cannot delete a cache security group if it is associated with any cache clusters. - */ - deleteCacheSecurityGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a cache subnet group. You cannot delete a cache subnet group if it is associated with any cache clusters. - */ - deleteCacheSubnetGroup(params: ElastiCache.Types.DeleteCacheSubnetGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a cache subnet group. You cannot delete a cache subnet group if it is associated with any cache clusters. - */ - deleteCacheSubnetGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an existing replication group. By default, this operation deletes the entire replication group, including the primary/primaries and all of the read replicas. If the replication group has only one primary, you can optionally delete only the read replicas, while retaining the primary by setting RetainPrimaryCluster=true. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation. This operation is valid for Redis only. - */ - deleteReplicationGroup(params: ElastiCache.Types.DeleteReplicationGroupMessage, callback?: (err: AWSError, data: ElastiCache.Types.DeleteReplicationGroupResult) => void): Request; - /** - * Deletes an existing replication group. By default, this operation deletes the entire replication group, including the primary/primaries and all of the read replicas. If the replication group has only one primary, you can optionally delete only the read replicas, while retaining the primary by setting RetainPrimaryCluster=true. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation. This operation is valid for Redis only. - */ - deleteReplicationGroup(callback?: (err: AWSError, data: ElastiCache.Types.DeleteReplicationGroupResult) => void): Request; - /** - * Deletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation. This operation is valid for Redis only. - */ - deleteSnapshot(params: ElastiCache.Types.DeleteSnapshotMessage, callback?: (err: AWSError, data: ElastiCache.Types.DeleteSnapshotResult) => void): Request; - /** - * Deletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation. This operation is valid for Redis only. - */ - deleteSnapshot(callback?: (err: AWSError, data: ElastiCache.Types.DeleteSnapshotResult) => void): Request; - /** - * Returns information about all provisioned cache clusters if no cache cluster identifier is specified, or about a specific cache cluster if a cache cluster identifier is supplied. By default, abbreviated information about the cache clusters is returned. You can use the optional ShowCacheNodeInfo flag to retrieve detailed information about the cache nodes associated with the cache clusters. These details include the DNS address and port for the cache node endpoint. If the cluster is in the creating state, only cluster-level information is displayed until all of the nodes are successfully provisioned. If the cluster is in the deleting state, only cluster-level information is displayed. If cache nodes are currently being added to the cache cluster, node endpoint information and creation time for the additional nodes are not displayed until they are completely provisioned. When the cache cluster state is available, the cluster is ready for use. If cache nodes are currently being removed from the cache cluster, no endpoint information for the removed nodes is displayed. - */ - describeCacheClusters(params: ElastiCache.Types.DescribeCacheClustersMessage, callback?: (err: AWSError, data: ElastiCache.Types.CacheClusterMessage) => void): Request; - /** - * Returns information about all provisioned cache clusters if no cache cluster identifier is specified, or about a specific cache cluster if a cache cluster identifier is supplied. By default, abbreviated information about the cache clusters is returned. You can use the optional ShowCacheNodeInfo flag to retrieve detailed information about the cache nodes associated with the cache clusters. These details include the DNS address and port for the cache node endpoint. If the cluster is in the creating state, only cluster-level information is displayed until all of the nodes are successfully provisioned. If the cluster is in the deleting state, only cluster-level information is displayed. If cache nodes are currently being added to the cache cluster, node endpoint information and creation time for the additional nodes are not displayed until they are completely provisioned. When the cache cluster state is available, the cluster is ready for use. If cache nodes are currently being removed from the cache cluster, no endpoint information for the removed nodes is displayed. - */ - describeCacheClusters(callback?: (err: AWSError, data: ElastiCache.Types.CacheClusterMessage) => void): Request; - /** - * Returns a list of the available cache engines and their versions. - */ - describeCacheEngineVersions(params: ElastiCache.Types.DescribeCacheEngineVersionsMessage, callback?: (err: AWSError, data: ElastiCache.Types.CacheEngineVersionMessage) => void): Request; - /** - * Returns a list of the available cache engines and their versions. - */ - describeCacheEngineVersions(callback?: (err: AWSError, data: ElastiCache.Types.CacheEngineVersionMessage) => void): Request; - /** - * Returns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list contains only the descriptions for that group. - */ - describeCacheParameterGroups(params: ElastiCache.Types.DescribeCacheParameterGroupsMessage, callback?: (err: AWSError, data: ElastiCache.Types.CacheParameterGroupsMessage) => void): Request; - /** - * Returns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list contains only the descriptions for that group. - */ - describeCacheParameterGroups(callback?: (err: AWSError, data: ElastiCache.Types.CacheParameterGroupsMessage) => void): Request; - /** - * Returns the detailed parameter list for a particular cache parameter group. - */ - describeCacheParameters(params: ElastiCache.Types.DescribeCacheParametersMessage, callback?: (err: AWSError, data: ElastiCache.Types.CacheParameterGroupDetails) => void): Request; - /** - * Returns the detailed parameter list for a particular cache parameter group. - */ - describeCacheParameters(callback?: (err: AWSError, data: ElastiCache.Types.CacheParameterGroupDetails) => void): Request; - /** - * Returns a list of cache security group descriptions. If a cache security group name is specified, the list contains only the description of that group. - */ - describeCacheSecurityGroups(params: ElastiCache.Types.DescribeCacheSecurityGroupsMessage, callback?: (err: AWSError, data: ElastiCache.Types.CacheSecurityGroupMessage) => void): Request; - /** - * Returns a list of cache security group descriptions. If a cache security group name is specified, the list contains only the description of that group. - */ - describeCacheSecurityGroups(callback?: (err: AWSError, data: ElastiCache.Types.CacheSecurityGroupMessage) => void): Request; - /** - * Returns a list of cache subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group. - */ - describeCacheSubnetGroups(params: ElastiCache.Types.DescribeCacheSubnetGroupsMessage, callback?: (err: AWSError, data: ElastiCache.Types.CacheSubnetGroupMessage) => void): Request; - /** - * Returns a list of cache subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group. - */ - describeCacheSubnetGroups(callback?: (err: AWSError, data: ElastiCache.Types.CacheSubnetGroupMessage) => void): Request; - /** - * Returns the default engine and system parameter information for the specified cache engine. - */ - describeEngineDefaultParameters(params: ElastiCache.Types.DescribeEngineDefaultParametersMessage, callback?: (err: AWSError, data: ElastiCache.Types.DescribeEngineDefaultParametersResult) => void): Request; - /** - * Returns the default engine and system parameter information for the specified cache engine. - */ - describeEngineDefaultParameters(callback?: (err: AWSError, data: ElastiCache.Types.DescribeEngineDefaultParametersResult) => void): Request; - /** - * Returns events related to cache clusters, cache security groups, and cache parameter groups. You can obtain events specific to a particular cache cluster, cache security group, or cache parameter group by providing the name as a parameter. By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary. - */ - describeEvents(params: ElastiCache.Types.DescribeEventsMessage, callback?: (err: AWSError, data: ElastiCache.Types.EventsMessage) => void): Request; - /** - * Returns events related to cache clusters, cache security groups, and cache parameter groups. You can obtain events specific to a particular cache cluster, cache security group, or cache parameter group by providing the name as a parameter. By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary. - */ - describeEvents(callback?: (err: AWSError, data: ElastiCache.Types.EventsMessage) => void): Request; - /** - * Returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups. This operation is valid for Redis only. - */ - describeReplicationGroups(params: ElastiCache.Types.DescribeReplicationGroupsMessage, callback?: (err: AWSError, data: ElastiCache.Types.ReplicationGroupMessage) => void): Request; - /** - * Returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups. This operation is valid for Redis only. - */ - describeReplicationGroups(callback?: (err: AWSError, data: ElastiCache.Types.ReplicationGroupMessage) => void): Request; - /** - * Returns information about reserved cache nodes for this account, or about a specified reserved cache node. - */ - describeReservedCacheNodes(params: ElastiCache.Types.DescribeReservedCacheNodesMessage, callback?: (err: AWSError, data: ElastiCache.Types.ReservedCacheNodeMessage) => void): Request; - /** - * Returns information about reserved cache nodes for this account, or about a specified reserved cache node. - */ - describeReservedCacheNodes(callback?: (err: AWSError, data: ElastiCache.Types.ReservedCacheNodeMessage) => void): Request; - /** - * Lists available reserved cache node offerings. - */ - describeReservedCacheNodesOfferings(params: ElastiCache.Types.DescribeReservedCacheNodesOfferingsMessage, callback?: (err: AWSError, data: ElastiCache.Types.ReservedCacheNodesOfferingMessage) => void): Request; - /** - * Lists available reserved cache node offerings. - */ - describeReservedCacheNodesOfferings(callback?: (err: AWSError, data: ElastiCache.Types.ReservedCacheNodesOfferingMessage) => void): Request; - /** - * Returns information about cache cluster or replication group snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cache cluster. This operation is valid for Redis only. - */ - describeSnapshots(params: ElastiCache.Types.DescribeSnapshotsMessage, callback?: (err: AWSError, data: ElastiCache.Types.DescribeSnapshotsListMessage) => void): Request; - /** - * Returns information about cache cluster or replication group snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cache cluster. This operation is valid for Redis only. - */ - describeSnapshots(callback?: (err: AWSError, data: ElastiCache.Types.DescribeSnapshotsListMessage) => void): Request; - /** - * Lists all available node types that you can scale your Redis cluster's or replication group's current node type up to. When you use the ModifyCacheCluster or ModifyReplicationGroup operations to scale up your cluster or replication group, the value of the CacheNodeType parameter must be one of the node types returned by this operation. - */ - listAllowedNodeTypeModifications(params: ElastiCache.Types.ListAllowedNodeTypeModificationsMessage, callback?: (err: AWSError, data: ElastiCache.Types.AllowedNodeTypeModificationsMessage) => void): Request; - /** - * Lists all available node types that you can scale your Redis cluster's or replication group's current node type up to. When you use the ModifyCacheCluster or ModifyReplicationGroup operations to scale up your cluster or replication group, the value of the CacheNodeType parameter must be one of the node types returned by this operation. - */ - listAllowedNodeTypeModifications(callback?: (err: AWSError, data: ElastiCache.Types.AllowedNodeTypeModificationsMessage) => void): Request; - /** - * Lists all cost allocation tags currently on the named resource. A cost allocation tag is a key-value pair where the key is case-sensitive and the value is optional. You can use cost allocation tags to categorize and track your AWS costs. You can have a maximum of 50 cost allocation tags on an ElastiCache resource. For more information, see Using Cost Allocation Tags in Amazon ElastiCache. - */ - listTagsForResource(params: ElastiCache.Types.ListTagsForResourceMessage, callback?: (err: AWSError, data: ElastiCache.Types.TagListMessage) => void): Request; - /** - * Lists all cost allocation tags currently on the named resource. A cost allocation tag is a key-value pair where the key is case-sensitive and the value is optional. You can use cost allocation tags to categorize and track your AWS costs. You can have a maximum of 50 cost allocation tags on an ElastiCache resource. For more information, see Using Cost Allocation Tags in Amazon ElastiCache. - */ - listTagsForResource(callback?: (err: AWSError, data: ElastiCache.Types.TagListMessage) => void): Request; - /** - * Modifies the settings for a cache cluster. You can use this operation to change one or more cluster configuration parameters by specifying the parameters and the new values. - */ - modifyCacheCluster(params: ElastiCache.Types.ModifyCacheClusterMessage, callback?: (err: AWSError, data: ElastiCache.Types.ModifyCacheClusterResult) => void): Request; - /** - * Modifies the settings for a cache cluster. You can use this operation to change one or more cluster configuration parameters by specifying the parameters and the new values. - */ - modifyCacheCluster(callback?: (err: AWSError, data: ElastiCache.Types.ModifyCacheClusterResult) => void): Request; - /** - * Modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs. - */ - modifyCacheParameterGroup(params: ElastiCache.Types.ModifyCacheParameterGroupMessage, callback?: (err: AWSError, data: ElastiCache.Types.CacheParameterGroupNameMessage) => void): Request; - /** - * Modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs. - */ - modifyCacheParameterGroup(callback?: (err: AWSError, data: ElastiCache.Types.CacheParameterGroupNameMessage) => void): Request; - /** - * Modifies an existing cache subnet group. - */ - modifyCacheSubnetGroup(params: ElastiCache.Types.ModifyCacheSubnetGroupMessage, callback?: (err: AWSError, data: ElastiCache.Types.ModifyCacheSubnetGroupResult) => void): Request; - /** - * Modifies an existing cache subnet group. - */ - modifyCacheSubnetGroup(callback?: (err: AWSError, data: ElastiCache.Types.ModifyCacheSubnetGroupResult) => void): Request; - /** - * Modifies the settings for a replication group. Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups. This operation is valid for Redis only. - */ - modifyReplicationGroup(params: ElastiCache.Types.ModifyReplicationGroupMessage, callback?: (err: AWSError, data: ElastiCache.Types.ModifyReplicationGroupResult) => void): Request; - /** - * Modifies the settings for a replication group. Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups. This operation is valid for Redis only. - */ - modifyReplicationGroup(callback?: (err: AWSError, data: ElastiCache.Types.ModifyReplicationGroupResult) => void): Request; - /** - * Allows you to purchase a reserved cache node offering. - */ - purchaseReservedCacheNodesOffering(params: ElastiCache.Types.PurchaseReservedCacheNodesOfferingMessage, callback?: (err: AWSError, data: ElastiCache.Types.PurchaseReservedCacheNodesOfferingResult) => void): Request; - /** - * Allows you to purchase a reserved cache node offering. - */ - purchaseReservedCacheNodesOffering(callback?: (err: AWSError, data: ElastiCache.Types.PurchaseReservedCacheNodesOfferingResult) => void): Request; - /** - * Reboots some, or all, of the cache nodes within a provisioned cache cluster. This operation applies any modified cache parameter groups to the cache cluster. The reboot operation takes place as soon as possible, and results in a momentary outage to the cache cluster. During the reboot, the cache cluster status is set to REBOOTING. The reboot causes the contents of the cache (for each cache node being rebooted) to be lost. When the reboot is complete, a cache cluster event is created. - */ - rebootCacheCluster(params: ElastiCache.Types.RebootCacheClusterMessage, callback?: (err: AWSError, data: ElastiCache.Types.RebootCacheClusterResult) => void): Request; - /** - * Reboots some, or all, of the cache nodes within a provisioned cache cluster. This operation applies any modified cache parameter groups to the cache cluster. The reboot operation takes place as soon as possible, and results in a momentary outage to the cache cluster. During the reboot, the cache cluster status is set to REBOOTING. The reboot causes the contents of the cache (for each cache node being rebooted) to be lost. When the reboot is complete, a cache cluster event is created. - */ - rebootCacheCluster(callback?: (err: AWSError, data: ElastiCache.Types.RebootCacheClusterResult) => void): Request; - /** - * Removes the tags identified by the TagKeys list from the named resource. - */ - removeTagsFromResource(params: ElastiCache.Types.RemoveTagsFromResourceMessage, callback?: (err: AWSError, data: ElastiCache.Types.TagListMessage) => void): Request; - /** - * Removes the tags identified by the TagKeys list from the named resource. - */ - removeTagsFromResource(callback?: (err: AWSError, data: ElastiCache.Types.TagListMessage) => void): Request; - /** - * Modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters. - */ - resetCacheParameterGroup(params: ElastiCache.Types.ResetCacheParameterGroupMessage, callback?: (err: AWSError, data: ElastiCache.Types.CacheParameterGroupNameMessage) => void): Request; - /** - * Modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters. - */ - resetCacheParameterGroup(callback?: (err: AWSError, data: ElastiCache.Types.CacheParameterGroupNameMessage) => void): Request; - /** - * Revokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized. - */ - revokeCacheSecurityGroupIngress(params: ElastiCache.Types.RevokeCacheSecurityGroupIngressMessage, callback?: (err: AWSError, data: ElastiCache.Types.RevokeCacheSecurityGroupIngressResult) => void): Request; - /** - * Revokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized. - */ - revokeCacheSecurityGroupIngress(callback?: (err: AWSError, data: ElastiCache.Types.RevokeCacheSecurityGroupIngressResult) => void): Request; - /** - * Represents the input of a TestFailover operation which test automatic failover on a specified node group (called shard in the console) in a replication group (called cluster in the console). Note the following A customer can use this operation to test automatic failover on up to 5 shards (called node groups in the ElastiCache API and AWS CLI) in any rolling 24-hour period. If calling this operation on shards in different clusters (called replication groups in the API and CLI), the calls can be made concurrently. If calling this operation multiple times on different shards in the same Redis (cluster mode enabled) replication group, the first node replacement must complete before a subsequent call can be made. To determine whether the node replacement is complete you can check Events using the Amazon ElastiCache console, the AWS CLI, or the ElastiCache API. Look for the following automatic failover related events, listed here in order of occurrance: Replication group message: Test Failover API called for node group <node-group-id> Cache cluster message: Failover from master node <primary-node-id> to replica node <node-id> completed Replication group message: Failover from master node <primary-node-id> to replica node <node-id> completed Cache cluster message: Recovering cache nodes <node-id> Cache cluster message: Finished recovery for cache nodes <node-id> For more information see: Viewing ElastiCache Events in the ElastiCache User Guide DescribeEvents in the ElastiCache API Reference Also see, Testing Multi-AZ with Automatic Failover in the ElastiCache User Guide. - */ - testFailover(params: ElastiCache.Types.TestFailoverMessage, callback?: (err: AWSError, data: ElastiCache.Types.TestFailoverResult) => void): Request; - /** - * Represents the input of a TestFailover operation which test automatic failover on a specified node group (called shard in the console) in a replication group (called cluster in the console). Note the following A customer can use this operation to test automatic failover on up to 5 shards (called node groups in the ElastiCache API and AWS CLI) in any rolling 24-hour period. If calling this operation on shards in different clusters (called replication groups in the API and CLI), the calls can be made concurrently. If calling this operation multiple times on different shards in the same Redis (cluster mode enabled) replication group, the first node replacement must complete before a subsequent call can be made. To determine whether the node replacement is complete you can check Events using the Amazon ElastiCache console, the AWS CLI, or the ElastiCache API. Look for the following automatic failover related events, listed here in order of occurrance: Replication group message: Test Failover API called for node group <node-group-id> Cache cluster message: Failover from master node <primary-node-id> to replica node <node-id> completed Replication group message: Failover from master node <primary-node-id> to replica node <node-id> completed Cache cluster message: Recovering cache nodes <node-id> Cache cluster message: Finished recovery for cache nodes <node-id> For more information see: Viewing ElastiCache Events in the ElastiCache User Guide DescribeEvents in the ElastiCache API Reference Also see, Testing Multi-AZ with Automatic Failover in the ElastiCache User Guide. - */ - testFailover(callback?: (err: AWSError, data: ElastiCache.Types.TestFailoverResult) => void): Request; - /** - * Waits for the cacheClusterAvailable state by periodically calling the underlying ElastiCache.describeCacheClustersoperation every 15 seconds (at most 40 times). Wait until ElastiCache cluster is available. - */ - waitFor(state: "cacheClusterAvailable", params: ElastiCache.Types.DescribeCacheClustersMessage, callback?: (err: AWSError, data: ElastiCache.Types.CacheClusterMessage) => void): Request; - /** - * Waits for the cacheClusterAvailable state by periodically calling the underlying ElastiCache.describeCacheClustersoperation every 15 seconds (at most 40 times). Wait until ElastiCache cluster is available. - */ - waitFor(state: "cacheClusterAvailable", callback?: (err: AWSError, data: ElastiCache.Types.CacheClusterMessage) => void): Request; - /** - * Waits for the cacheClusterDeleted state by periodically calling the underlying ElastiCache.describeCacheClustersoperation every 15 seconds (at most 40 times). Wait until ElastiCache cluster is deleted. - */ - waitFor(state: "cacheClusterDeleted", params: ElastiCache.Types.DescribeCacheClustersMessage, callback?: (err: AWSError, data: ElastiCache.Types.CacheClusterMessage) => void): Request; - /** - * Waits for the cacheClusterDeleted state by periodically calling the underlying ElastiCache.describeCacheClustersoperation every 15 seconds (at most 40 times). Wait until ElastiCache cluster is deleted. - */ - waitFor(state: "cacheClusterDeleted", callback?: (err: AWSError, data: ElastiCache.Types.CacheClusterMessage) => void): Request; - /** - * Waits for the replicationGroupAvailable state by periodically calling the underlying ElastiCache.describeReplicationGroupsoperation every 15 seconds (at most 40 times). Wait until ElastiCache replication group is available. - */ - waitFor(state: "replicationGroupAvailable", params: ElastiCache.Types.DescribeReplicationGroupsMessage, callback?: (err: AWSError, data: ElastiCache.Types.ReplicationGroupMessage) => void): Request; - /** - * Waits for the replicationGroupAvailable state by periodically calling the underlying ElastiCache.describeReplicationGroupsoperation every 15 seconds (at most 40 times). Wait until ElastiCache replication group is available. - */ - waitFor(state: "replicationGroupAvailable", callback?: (err: AWSError, data: ElastiCache.Types.ReplicationGroupMessage) => void): Request; - /** - * Waits for the replicationGroupDeleted state by periodically calling the underlying ElastiCache.describeReplicationGroupsoperation every 15 seconds (at most 40 times). Wait until ElastiCache replication group is deleted. - */ - waitFor(state: "replicationGroupDeleted", params: ElastiCache.Types.DescribeReplicationGroupsMessage, callback?: (err: AWSError, data: ElastiCache.Types.ReplicationGroupMessage) => void): Request; - /** - * Waits for the replicationGroupDeleted state by periodically calling the underlying ElastiCache.describeReplicationGroupsoperation every 15 seconds (at most 40 times). Wait until ElastiCache replication group is deleted. - */ - waitFor(state: "replicationGroupDeleted", callback?: (err: AWSError, data: ElastiCache.Types.ReplicationGroupMessage) => void): Request; -} -declare namespace ElastiCache { - export type AZMode = "single-az"|"cross-az"|string; - export interface AddTagsToResourceMessage { - /** - * The Amazon Resource Name (ARN) of the resource to which the tags are to be added, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - ResourceName: String; - /** - * A list of cost allocation tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value. - */ - Tags: TagList; - } - export interface AllowedNodeTypeModificationsMessage { - /** - * A string list, each element of which specifies a cache node type which you can use to scale your cache cluster or replication group. When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter. - */ - ScaleUpModifications?: NodeTypeList; - } - export interface AuthorizeCacheSecurityGroupIngressMessage { - /** - * The cache security group that allows network ingress. - */ - CacheSecurityGroupName: String; - /** - * The Amazon EC2 security group to be authorized for ingress to the cache security group. - */ - EC2SecurityGroupName: String; - /** - * The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter. - */ - EC2SecurityGroupOwnerId: String; - } - export interface AuthorizeCacheSecurityGroupIngressResult { - CacheSecurityGroup?: CacheSecurityGroup; - } - export type AutomaticFailoverStatus = "enabled"|"disabled"|"enabling"|"disabling"|string; - export interface AvailabilityZone { - /** - * The name of the Availability Zone. - */ - Name?: String; - } - export type AvailabilityZonesList = String[]; - export type AwsQueryErrorMessage = string; - export type Boolean = boolean; - export type BooleanOptional = boolean; - export interface CacheCluster { - /** - * The user-supplied identifier of the cache cluster. This identifier is a unique key that identifies a cache cluster. - */ - CacheClusterId?: String; - /** - * Represents a Memcached cluster endpoint which, if Automatic Discovery is enabled on the cluster, can be used by an application to connect to any node in the cluster. The configuration endpoint will always have .cfg in it. Example: mem-3.9dvc4r.cfg.usw2.cache.amazonaws.com:11211 - */ - ConfigurationEndpoint?: Endpoint; - /** - * The URL of the web page where you can download the latest ElastiCache client library. - */ - ClientDownloadLandingPage?: String; - /** - * The name of the compute and memory capacity node type for the cache cluster. Valid node types are as follows: General purpose: Current generation: cache.t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge, cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge Previous generation: cache.t1.micro, cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge Compute optimized: cache.c1.xlarge Memory optimized: Current generation: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Previous generation: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge Notes: All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 instances. Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances. For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis. - */ - CacheNodeType?: String; - /** - * The name of the cache engine (memcached or redis) to be used for this cache cluster. - */ - Engine?: String; - /** - * The version of the cache engine that is used in this cache cluster. - */ - EngineVersion?: String; - /** - * The current state of this cache cluster, one of the following values: available, creating, deleted, deleting, incompatible-network, modifying, rebooting cache cluster nodes, restore-failed, or snapshotting. - */ - CacheClusterStatus?: String; - /** - * The number of cache nodes in the cache cluster. For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20. - */ - NumCacheNodes?: IntegerOptional; - /** - * The name of the Availability Zone in which the cache cluster is located or "Multiple" if the cache nodes are located in different Availability Zones. - */ - PreferredAvailabilityZone?: String; - /** - * The date and time when the cache cluster was created. - */ - CacheClusterCreateTime?: TStamp; - /** - * Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: sun mon tue wed thu fri sat Example: sun:23:00-mon:01:30 - */ - PreferredMaintenanceWindow?: String; - PendingModifiedValues?: PendingModifiedValues; - NotificationConfiguration?: NotificationConfiguration; - /** - * A list of cache security group elements, composed of name and status sub-elements. - */ - CacheSecurityGroups?: CacheSecurityGroupMembershipList; - CacheParameterGroup?: CacheParameterGroupStatus; - /** - * The name of the cache subnet group associated with the cache cluster. - */ - CacheSubnetGroupName?: String; - /** - * A list of cache nodes that are members of the cache cluster. - */ - CacheNodes?: CacheNodeList; - /** - * This parameter is currently disabled. - */ - AutoMinorVersionUpgrade?: Boolean; - /** - * A list of VPC Security Groups associated with the cache cluster. - */ - SecurityGroups?: SecurityGroupMembershipList; - /** - * The replication group to which this cache cluster belongs. If this field is empty, the cache cluster is not associated with any replication group. - */ - ReplicationGroupId?: String; - /** - * The number of days for which ElastiCache retains automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - */ - SnapshotRetentionLimit?: IntegerOptional; - /** - * The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your cache cluster. Example: 05:00-09:00 - */ - SnapshotWindow?: String; - } - export type CacheClusterList = CacheCluster[]; - export interface CacheClusterMessage { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * A list of cache clusters. Each item in the list contains detailed information about one cache cluster. - */ - CacheClusters?: CacheClusterList; - } - export interface CacheEngineVersion { - /** - * The name of the cache engine. - */ - Engine?: String; - /** - * The version number of the cache engine. - */ - EngineVersion?: String; - /** - * The name of the cache parameter group family associated with this cache engine. Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2 - */ - CacheParameterGroupFamily?: String; - /** - * The description of the cache engine. - */ - CacheEngineDescription?: String; - /** - * The description of the cache engine version. - */ - CacheEngineVersionDescription?: String; - } - export type CacheEngineVersionList = CacheEngineVersion[]; - export interface CacheEngineVersionMessage { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * A list of cache engine version details. Each element in the list contains detailed information about one cache engine version. - */ - CacheEngineVersions?: CacheEngineVersionList; - } - export interface CacheNode { - /** - * The cache node identifier. A node ID is a numeric identifier (0001, 0002, etc.). The combination of cluster ID and node ID uniquely identifies every cache node used in a customer's AWS account. - */ - CacheNodeId?: String; - /** - * The current state of this cache node. - */ - CacheNodeStatus?: String; - /** - * The date and time when the cache node was created. - */ - CacheNodeCreateTime?: TStamp; - /** - * The hostname for connecting to this cache node. - */ - Endpoint?: Endpoint; - /** - * The status of the parameter group applied to this cache node. - */ - ParameterGroupStatus?: String; - /** - * The ID of the primary node to which this read replica node is synchronized. If this field is empty, this node is not associated with a primary cache cluster. - */ - SourceCacheNodeId?: String; - /** - * The Availability Zone where this node was created and now resides. - */ - CustomerAvailabilityZone?: String; - } - export type CacheNodeIdsList = String[]; - export type CacheNodeList = CacheNode[]; - export interface CacheNodeTypeSpecificParameter { - /** - * The name of the parameter. - */ - ParameterName?: String; - /** - * A description of the parameter. - */ - Description?: String; - /** - * The source of the parameter value. - */ - Source?: String; - /** - * The valid data type for the parameter. - */ - DataType?: String; - /** - * The valid range of values for the parameter. - */ - AllowedValues?: String; - /** - * Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed. - */ - IsModifiable?: Boolean; - /** - * The earliest cache engine version to which the parameter can apply. - */ - MinimumEngineVersion?: String; - /** - * A list of cache node types and their corresponding values for this parameter. - */ - CacheNodeTypeSpecificValues?: CacheNodeTypeSpecificValueList; - /** - * Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window's reboot. For more information, see Rebooting a Cluster. - */ - ChangeType?: ChangeType; - } - export type CacheNodeTypeSpecificParametersList = CacheNodeTypeSpecificParameter[]; - export interface CacheNodeTypeSpecificValue { - /** - * The cache node type for which this value applies. - */ - CacheNodeType?: String; - /** - * The value for the cache node type. - */ - Value?: String; - } - export type CacheNodeTypeSpecificValueList = CacheNodeTypeSpecificValue[]; - export interface CacheParameterGroup { - /** - * The name of the cache parameter group. - */ - CacheParameterGroupName?: String; - /** - * The name of the cache parameter group family that this cache parameter group is compatible with. Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2 - */ - CacheParameterGroupFamily?: String; - /** - * The description for this cache parameter group. - */ - Description?: String; - } - export interface CacheParameterGroupDetails { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * A list of Parameter instances. - */ - Parameters?: ParametersList; - /** - * A list of parameters specific to a particular cache node type. Each element in the list contains detailed information about one parameter. - */ - CacheNodeTypeSpecificParameters?: CacheNodeTypeSpecificParametersList; - } - export type CacheParameterGroupList = CacheParameterGroup[]; - export interface CacheParameterGroupNameMessage { - /** - * The name of the cache parameter group. - */ - CacheParameterGroupName?: String; - } - export interface CacheParameterGroupStatus { - /** - * The name of the cache parameter group. - */ - CacheParameterGroupName?: String; - /** - * The status of parameter updates. - */ - ParameterApplyStatus?: String; - /** - * A list of the cache node IDs which need to be rebooted for parameter changes to be applied. A node ID is a numeric identifier (0001, 0002, etc.). - */ - CacheNodeIdsToReboot?: CacheNodeIdsList; - } - export interface CacheParameterGroupsMessage { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group. - */ - CacheParameterGroups?: CacheParameterGroupList; - } - export interface CacheSecurityGroup { - /** - * The AWS account ID of the cache security group owner. - */ - OwnerId?: String; - /** - * The name of the cache security group. - */ - CacheSecurityGroupName?: String; - /** - * The description of the cache security group. - */ - Description?: String; - /** - * A list of Amazon EC2 security groups that are associated with this cache security group. - */ - EC2SecurityGroups?: EC2SecurityGroupList; - } - export interface CacheSecurityGroupMembership { - /** - * The name of the cache security group. - */ - CacheSecurityGroupName?: String; - /** - * The membership status in the cache security group. The status changes when a cache security group is modified, or when the cache security groups assigned to a cache cluster are modified. - */ - Status?: String; - } - export type CacheSecurityGroupMembershipList = CacheSecurityGroupMembership[]; - export interface CacheSecurityGroupMessage { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * A list of cache security groups. Each element in the list contains detailed information about one group. - */ - CacheSecurityGroups?: CacheSecurityGroups; - } - export type CacheSecurityGroupNameList = String[]; - export type CacheSecurityGroups = CacheSecurityGroup[]; - export interface CacheSubnetGroup { - /** - * The name of the cache subnet group. - */ - CacheSubnetGroupName?: String; - /** - * The description of the cache subnet group. - */ - CacheSubnetGroupDescription?: String; - /** - * The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group. - */ - VpcId?: String; - /** - * A list of subnets associated with the cache subnet group. - */ - Subnets?: SubnetList; - } - export interface CacheSubnetGroupMessage { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * A list of cache subnet groups. Each element in the list contains detailed information about one group. - */ - CacheSubnetGroups?: CacheSubnetGroups; - } - export type CacheSubnetGroups = CacheSubnetGroup[]; - export type ChangeType = "immediate"|"requires-reboot"|string; - export type ClusterIdList = String[]; - export interface CopySnapshotMessage { - /** - * The name of an existing snapshot from which to make a copy. - */ - SourceSnapshotName: String; - /** - * A name for the snapshot copy. ElastiCache does not permit overwriting a snapshot, therefore this name must be unique within its context - ElastiCache or an Amazon S3 bucket if exporting. - */ - TargetSnapshotName: String; - /** - * The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a snapshot for external access. When using this parameter to export a snapshot, be sure Amazon ElastiCache has the needed permissions to this S3 bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the Amazon ElastiCache User Guide. For more information, see Exporting a Snapshot in the Amazon ElastiCache User Guide. - */ - TargetBucket?: String; - } - export interface CopySnapshotResult { - Snapshot?: Snapshot; - } - export interface CreateCacheClusterMessage { - /** - * The node group (shard) identifier. This parameter is stored as a lowercase string. Constraints: A name must contain from 1 to 20 alphanumeric characters or hyphens. The first character must be a letter. A name cannot end with a hyphen or contain two consecutive hyphens. - */ - CacheClusterId: String; - /** - * Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups. The ID of the replication group to which this cache cluster should belong. If this parameter is specified, the cache cluster is added to the specified replication group as a read replica; otherwise, the cache cluster is a standalone primary that is not part of any replication group. If the specified replication group is Multi-AZ enabled and the Availability Zone is not specified, the cache cluster is created in Availability Zones that provide the best spread of read replicas across Availability Zones. This parameter is only valid if the Engine parameter is redis. - */ - ReplicationGroupId?: String; - /** - * Specifies whether the nodes in this Memcached cluster are created in a single Availability Zone or created across multiple Availability Zones in the cluster's region. This parameter is only supported for Memcached cache clusters. If the AZMode and PreferredAvailabilityZones are not specified, ElastiCache assumes single-az mode. - */ - AZMode?: AZMode; - /** - * The EC2 Availability Zone in which the cache cluster is created. All nodes belonging to this Memcached cache cluster are placed in the preferred Availability Zone. If you want to create your nodes across multiple Availability Zones, use PreferredAvailabilityZones. Default: System chosen Availability Zone. - */ - PreferredAvailabilityZone?: String; - /** - * A list of the Availability Zones in which cache nodes are created. The order of the zones in the list is not important. This option is only supported on Memcached. If you are creating your cache cluster in an Amazon VPC (recommended) you can only locate nodes in Availability Zones that are associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of NumCacheNodes. If you want all the nodes in the same Availability Zone, use PreferredAvailabilityZone instead, or repeat the Availability Zone multiple times in the list. Default: System chosen Availability Zones. - */ - PreferredAvailabilityZones?: PreferredAvailabilityZoneList; - /** - * The initial number of cache nodes that the cache cluster has. For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20. If you need more than 20 nodes for your Memcached cluster, please fill out the ElastiCache Limit Increase Request form at http://aws.amazon.com/contact-us/elasticache-node-limit-request/. - */ - NumCacheNodes?: IntegerOptional; - /** - * The compute and memory capacity of the nodes in the node group (shard). Valid node types are as follows: General purpose: Current generation: cache.t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge, cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge Previous generation: cache.t1.micro, cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge Compute optimized: cache.c1.xlarge Memory optimized: Current generation: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Previous generation: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge Notes: All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 instances. Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances. For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis. - */ - CacheNodeType?: String; - /** - * The name of the cache engine to be used for this cache cluster. Valid values for this parameter are: memcached | redis - */ - Engine?: String; - /** - * The version number of the cache engine to be used for this cache cluster. To view the supported cache engine versions, use the DescribeCacheEngineVersions operation. Important: You can upgrade to a newer engine version (see Selecting a Cache Engine and Version), but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cache cluster or replication group and create it anew with the earlier engine version. - */ - EngineVersion?: String; - /** - * The name of the parameter group to associate with this cache cluster. If this argument is omitted, the default parameter group for the specified engine is used. You cannot use any parameter group which has cluster-enabled='yes' when creating a cluster. - */ - CacheParameterGroupName?: String; - /** - * The name of the subnet group to be used for the cache cluster. Use this parameter only when you are creating a cache cluster in an Amazon Virtual Private Cloud (Amazon VPC). If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see Subnets and Subnet Groups. - */ - CacheSubnetGroupName?: String; - /** - * A list of security group names to associate with this cache cluster. Use this parameter only when you are creating a cache cluster outside of an Amazon Virtual Private Cloud (Amazon VPC). - */ - CacheSecurityGroupNames?: CacheSecurityGroupNameList; - /** - * One or more VPC security groups associated with the cache cluster. Use this parameter only when you are creating a cache cluster in an Amazon Virtual Private Cloud (Amazon VPC). - */ - SecurityGroupIds?: SecurityGroupIdsList; - /** - * A list of cost allocation tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value. - */ - Tags?: TagList; - /** - * A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3. The snapshot file is used to populate the node group (shard). The Amazon S3 object name in the ARN cannot contain any commas. This parameter is only valid if the Engine parameter is redis. Example of an Amazon S3 ARN: arn:aws:s3:::my_bucket/snapshot1.rdb - */ - SnapshotArns?: SnapshotArnsList; - /** - * The name of a Redis snapshot from which to restore data into the new node group (shard). The snapshot status changes to restoring while the new node group (shard) is being created. This parameter is only valid if the Engine parameter is redis. - */ - SnapshotName?: String; - /** - * Specifies the weekly time range during which maintenance on the cache cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: sun mon tue wed thu fri sat Example: sun:23:00-mon:01:30 - */ - PreferredMaintenanceWindow?: String; - /** - * The port number on which each of the cache nodes accepts connections. - */ - Port?: IntegerOptional; - /** - * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent. The Amazon SNS topic owner must be the same as the cache cluster owner. - */ - NotificationTopicArn?: String; - /** - * This parameter is currently disabled. - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot taken today is retained for 5 days before being deleted. This parameter is only valid if the Engine parameter is redis. Default: 0 (i.e., automatic backups are disabled for this cache cluster). - */ - SnapshotRetentionLimit?: IntegerOptional; - /** - * The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). Example: 05:00-09:00 If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range. Note: This parameter is only valid if the Engine parameter is redis. - */ - SnapshotWindow?: String; - /** - * Reserved parameter. The password used to access a password protected server. Password constraints: Must be only printable ASCII characters. Must be at least 16 characters and no more than 128 characters in length. Cannot contain any of the following characters: '/', '"', or "@". For more information, see AUTH password at Redis. - */ - AuthToken?: String; - } - export interface CreateCacheClusterResult { - CacheCluster?: CacheCluster; - } - export interface CreateCacheParameterGroupMessage { - /** - * A user-specified name for the cache parameter group. - */ - CacheParameterGroupName: String; - /** - * The name of the cache parameter group family that the cache parameter group can be used with. Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2 - */ - CacheParameterGroupFamily: String; - /** - * A user-specified description for the cache parameter group. - */ - Description: String; - } - export interface CreateCacheParameterGroupResult { - CacheParameterGroup?: CacheParameterGroup; - } - export interface CreateCacheSecurityGroupMessage { - /** - * A name for the cache security group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default". Example: mysecuritygroup - */ - CacheSecurityGroupName: String; - /** - * A description for the cache security group. - */ - Description: String; - } - export interface CreateCacheSecurityGroupResult { - CacheSecurityGroup?: CacheSecurityGroup; - } - export interface CreateCacheSubnetGroupMessage { - /** - * A name for the cache subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Example: mysubnetgroup - */ - CacheSubnetGroupName: String; - /** - * A description for the cache subnet group. - */ - CacheSubnetGroupDescription: String; - /** - * A list of VPC subnet IDs for the cache subnet group. - */ - SubnetIds: SubnetIdentifierList; - } - export interface CreateCacheSubnetGroupResult { - CacheSubnetGroup?: CacheSubnetGroup; - } - export interface CreateReplicationGroupMessage { - /** - * The replication group identifier. This parameter is stored as a lowercase string. Constraints: A name must contain from 1 to 20 alphanumeric characters or hyphens. The first character must be a letter. A name cannot end with a hyphen or contain two consecutive hyphens. - */ - ReplicationGroupId: String; - /** - * A user-created description for the replication group. - */ - ReplicationGroupDescription: String; - /** - * The identifier of the cache cluster that serves as the primary for this replication group. This cache cluster must already exist and have a status of available. This parameter is not required if NumCacheClusters, NumNodeGroups, or ReplicasPerNodeGroup is specified. - */ - PrimaryClusterId?: String; - /** - * Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. If true, Multi-AZ is enabled for this replication group. If false, Multi-AZ is disabled for this replication group. AutomaticFailoverEnabled must be enabled for Redis (cluster mode enabled) replication groups. Default: false ElastiCache Multi-AZ replication groups is not supported on: Redis versions earlier than 2.8.6. Redis (cluster mode disabled): T1 and T2 node types. Redis (cluster mode enabled): T2 node types. - */ - AutomaticFailoverEnabled?: BooleanOptional; - /** - * The number of clusters this replication group initially has. This parameter is not used if there is more than one node group (shard). You should use ReplicasPerNodeGroup instead. If AutomaticFailoverEnabled is true, the value of this parameter must be at least 2. If AutomaticFailoverEnabled is false you can omit this parameter (it will default to 1), or you can explicitly set it to a value between 2 and 6. The maximum permitted value for NumCacheClusters is 6 (primary plus 5 replicas). - */ - NumCacheClusters?: IntegerOptional; - /** - * A list of EC2 Availability Zones in which the replication group's cache clusters are created. The order of the Availability Zones in the list is the order in which clusters are allocated. The primary cluster is created in the first AZ in the list. This parameter is not used if there is more than one node group (shard). You should use NodeGroupConfiguration instead. If you are creating your replication group in an Amazon VPC (recommended), you can only locate cache clusters in Availability Zones associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of NumCacheClusters. Default: system chosen Availability Zones. - */ - PreferredCacheClusterAZs?: AvailabilityZonesList; - /** - * An optional parameter that specifies the number of node groups (shards) for this Redis (cluster mode enabled) replication group. For Redis (cluster mode disabled) either omit this parameter or set it to 1. Default: 1 - */ - NumNodeGroups?: IntegerOptional; - /** - * An optional parameter that specifies the number of replica nodes in each node group (shard). Valid values are 0 to 5. - */ - ReplicasPerNodeGroup?: IntegerOptional; - /** - * A list of node group (shard) configuration options. Each node group (shard) configuration has the following: Slots, PrimaryAvailabilityZone, ReplicaAvailabilityZones, ReplicaCount. If you're creating a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication group, you can use this parameter to individually configure each node group (shard), or you can omit this parameter. - */ - NodeGroupConfiguration?: NodeGroupConfigurationList; - /** - * The compute and memory capacity of the nodes in the node group (shard). Valid node types are as follows: General purpose: Current generation: cache.t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge, cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge Previous generation: cache.t1.micro, cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge Compute optimized: cache.c1.xlarge Memory optimized: Current generation: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Previous generation: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge Notes: All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 instances. Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances. For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis. - */ - CacheNodeType?: String; - /** - * The name of the cache engine to be used for the cache clusters in this replication group. - */ - Engine?: String; - /** - * The version number of the cache engine to be used for the cache clusters in this replication group. To view the supported cache engine versions, use the DescribeCacheEngineVersions operation. Important: You can upgrade to a newer engine version (see Selecting a Cache Engine and Version) in the ElastiCache User Guide, but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cache cluster or replication group and create it anew with the earlier engine version. - */ - EngineVersion?: String; - /** - * The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used. If you are running Redis version 3.2.4 or later, only one node group (shard), and want to use a default parameter group, we recommend that you specify the parameter group by name. To create a Redis (cluster mode disabled) replication group, use CacheParameterGroupName=default.redis3.2. To create a Redis (cluster mode enabled) replication group, use CacheParameterGroupName=default.redis3.2.cluster.on. - */ - CacheParameterGroupName?: String; - /** - * The name of the cache subnet group to be used for the replication group. If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see Subnets and Subnet Groups. - */ - CacheSubnetGroupName?: String; - /** - * A list of cache security group names to associate with this replication group. - */ - CacheSecurityGroupNames?: CacheSecurityGroupNameList; - /** - * One or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in an Amazon Virtual Private Cloud (Amazon VPC). - */ - SecurityGroupIds?: SecurityGroupIdsList; - /** - * A list of cost allocation tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value. - */ - Tags?: TagList; - /** - * A list of Amazon Resource Names (ARN) that uniquely identify the Redis RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new replication group. The Amazon S3 object name in the ARN cannot contain any commas. The new replication group will have the number of node groups (console: shards) specified by the parameter NumNodeGroups or the number of node groups configured by NodeGroupConfiguration regardless of the number of ARNs specified here. This parameter is only valid if the Engine parameter is redis. Example of an Amazon S3 ARN: arn:aws:s3:::my_bucket/snapshot1.rdb - */ - SnapshotArns?: SnapshotArnsList; - /** - * The name of a snapshot from which to restore data into the new replication group. The snapshot status changes to restoring while the new replication group is being created. This parameter is only valid if the Engine parameter is redis. - */ - SnapshotName?: String; - /** - * Specifies the weekly time range during which maintenance on the cache cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: sun mon tue wed thu fri sat Example: sun:23:00-mon:01:30 - */ - PreferredMaintenanceWindow?: String; - /** - * The port number on which each member of the replication group accepts connections. - */ - Port?: IntegerOptional; - /** - * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent. The Amazon SNS topic owner must be the same as the cache cluster owner. - */ - NotificationTopicArn?: String; - /** - * This parameter is currently disabled. - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted. This parameter is only valid if the Engine parameter is redis. Default: 0 (i.e., automatic backups are disabled for this cache cluster). - */ - SnapshotRetentionLimit?: IntegerOptional; - /** - * The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). Example: 05:00-09:00 If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range. This parameter is only valid if the Engine parameter is redis. - */ - SnapshotWindow?: String; - /** - * Reserved parameter. The password used to access a password protected server. Password constraints: Must be only printable ASCII characters. Must be at least 16 characters and no more than 128 characters in length. Cannot contain any of the following characters: '/', '"', or "@". For more information, see AUTH password at Redis. - */ - AuthToken?: String; - } - export interface CreateReplicationGroupResult { - ReplicationGroup?: ReplicationGroup; - } - export interface CreateSnapshotMessage { - /** - * The identifier of an existing replication group. The snapshot is created from this replication group. - */ - ReplicationGroupId?: String; - /** - * The identifier of an existing cache cluster. The snapshot is created from this cache cluster. - */ - CacheClusterId?: String; - /** - * A name for the snapshot being created. - */ - SnapshotName: String; - } - export interface CreateSnapshotResult { - Snapshot?: Snapshot; - } - export interface DeleteCacheClusterMessage { - /** - * The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive. - */ - CacheClusterId: String; - /** - * The user-supplied name of a final cache cluster snapshot. This is the unique name that identifies the snapshot. ElastiCache creates the snapshot, and then deletes the cache cluster immediately afterward. - */ - FinalSnapshotIdentifier?: String; - } - export interface DeleteCacheClusterResult { - CacheCluster?: CacheCluster; - } - export interface DeleteCacheParameterGroupMessage { - /** - * The name of the cache parameter group to delete. The specified cache security group must not be associated with any cache clusters. - */ - CacheParameterGroupName: String; - } - export interface DeleteCacheSecurityGroupMessage { - /** - * The name of the cache security group to delete. You cannot delete the default security group. - */ - CacheSecurityGroupName: String; - } - export interface DeleteCacheSubnetGroupMessage { - /** - * The name of the cache subnet group to delete. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. - */ - CacheSubnetGroupName: String; - } - export interface DeleteReplicationGroupMessage { - /** - * The identifier for the cluster to be deleted. This parameter is not case sensitive. - */ - ReplicationGroupId: String; - /** - * If set to true, all of the read replicas are deleted, but the primary node is retained. - */ - RetainPrimaryCluster?: BooleanOptional; - /** - * The name of a final node group (shard) snapshot. ElastiCache creates the snapshot from the primary node in the cluster, rather than one of the replicas; this is to ensure that it captures the freshest data. After the final snapshot is taken, the replication group is immediately deleted. - */ - FinalSnapshotIdentifier?: String; - } - export interface DeleteReplicationGroupResult { - ReplicationGroup?: ReplicationGroup; - } - export interface DeleteSnapshotMessage { - /** - * The name of the snapshot to be deleted. - */ - SnapshotName: String; - } - export interface DeleteSnapshotResult { - Snapshot?: Snapshot; - } - export interface DescribeCacheClustersMessage { - /** - * The user-supplied cluster identifier. If this parameter is specified, only information about that specific cache cluster is returned. This parameter isn't case sensitive. - */ - CacheClusterId?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes. - */ - ShowCacheNodeInfo?: BooleanOptional; - /** - * An optional flag that can be included in the DescribeCacheCluster request to show only nodes (API/CLI: clusters) that are not members of a replication group. In practice, this mean Memcached and single node Redis clusters. - */ - ShowCacheClustersNotInReplicationGroups?: BooleanOptional; - } - export interface DescribeCacheEngineVersionsMessage { - /** - * The cache engine to return. Valid values: memcached | redis - */ - Engine?: String; - /** - * The cache engine version to return. Example: 1.4.14 - */ - EngineVersion?: String; - /** - * The name of a specific cache parameter group family to return details for. Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2 Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - CacheParameterGroupFamily?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned. - */ - DefaultOnly?: Boolean; - } - export interface DescribeCacheParameterGroupsMessage { - /** - * The name of a specific cache parameter group to return details for. - */ - CacheParameterGroupName?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeCacheParametersMessage { - /** - * The name of a specific cache parameter group to return details for. - */ - CacheParameterGroupName: String; - /** - * The parameter types to return. Valid values: user | system | engine-default - */ - Source?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeCacheSecurityGroupsMessage { - /** - * The name of the cache security group to return details for. - */ - CacheSecurityGroupName?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeCacheSubnetGroupsMessage { - /** - * The name of the cache subnet group to return details for. - */ - CacheSubnetGroupName?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeEngineDefaultParametersMessage { - /** - * The name of the cache parameter group family. Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2 - */ - CacheParameterGroupFamily: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeEngineDefaultParametersResult { - EngineDefaults?: EngineDefaults; - } - export interface DescribeEventsMessage { - /** - * The identifier of the event source for which events are returned. If not specified, all sources are included in the response. - */ - SourceIdentifier?: String; - /** - * The event source to retrieve events for. If no value is specified, all events are returned. - */ - SourceType?: SourceType; - /** - * The beginning of the time interval to retrieve events for, specified in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z - */ - StartTime?: TStamp; - /** - * The end of the time interval for which to retrieve events, specified in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z - */ - EndTime?: TStamp; - /** - * The number of minutes worth of events to retrieve. - */ - Duration?: IntegerOptional; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeReplicationGroupsMessage { - /** - * The identifier for the replication group to be described. This parameter is not case sensitive. If you do not specify this parameter, information about all replication groups is returned. - */ - ReplicationGroupId?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeReservedCacheNodesMessage { - /** - * The reserved cache node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID. - */ - ReservedCacheNodeId?: String; - /** - * The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier. - */ - ReservedCacheNodesOfferingId?: String; - /** - * The cache node type filter value. Use this parameter to show only those reservations matching the specified cache node type. Valid node types are as follows: General purpose: Current generation: cache.t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge, cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge Previous generation: cache.t1.micro, cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge Compute optimized: cache.c1.xlarge Memory optimized: Current generation: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Previous generation: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge Notes: All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 instances. Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances. For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis. - */ - CacheNodeType?: String; - /** - * The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration. Valid Values: 1 | 3 | 31536000 | 94608000 - */ - Duration?: String; - /** - * The product description filter value. Use this parameter to show only those reservations matching the specified product description. - */ - ProductDescription?: String; - /** - * The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "Light Utilization"|"Medium Utilization"|"Heavy Utilization" - */ - OfferingType?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeReservedCacheNodesOfferingsMessage { - /** - * The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706 - */ - ReservedCacheNodesOfferingId?: String; - /** - * The cache node type filter value. Use this parameter to show only the available offerings matching the specified cache node type. Valid node types are as follows: General purpose: Current generation: cache.t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge, cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge Previous generation: cache.t1.micro, cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge Compute optimized: cache.c1.xlarge Memory optimized: Current generation: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Previous generation: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge Notes: All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 instances. Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances. For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis. - */ - CacheNodeType?: String; - /** - * Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a given duration. Valid Values: 1 | 3 | 31536000 | 94608000 - */ - Duration?: String; - /** - * The product description filter value. Use this parameter to show only the available offerings matching the specified product description. - */ - ProductDescription?: String; - /** - * The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid Values: "Light Utilization"|"Medium Utilization"|"Heavy Utilization" - */ - OfferingType?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: minimum 20; maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeSnapshotsListMessage { - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of snapshots. Each item in the list contains detailed information about one snapshot. - */ - Snapshots?: SnapshotList; - } - export interface DescribeSnapshotsMessage { - /** - * A user-supplied replication group identifier. If this parameter is specified, only snapshots associated with that specific replication group are described. - */ - ReplicationGroupId?: String; - /** - * A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cache cluster are described. - */ - CacheClusterId?: String; - /** - * A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described. - */ - SnapshotName?: String; - /** - * If set to system, the output shows snapshots that were automatically created by ElastiCache. If set to user the output shows snapshots that were manually created. If omitted, the output shows both automatically and manually created snapshots. - */ - SnapshotSource?: String; - /** - * An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved. Default: 50 Constraints: minimum 20; maximum 50. - */ - MaxRecords?: IntegerOptional; - /** - * A Boolean value which if true, the node group (shard) configuration is included in the snapshot description. - */ - ShowNodeGroupConfig?: BooleanOptional; - } - export type Double = number; - export interface EC2SecurityGroup { - /** - * The status of the Amazon EC2 security group. - */ - Status?: String; - /** - * The name of the Amazon EC2 security group. - */ - EC2SecurityGroupName?: String; - /** - * The AWS account ID of the Amazon EC2 security group owner. - */ - EC2SecurityGroupOwnerId?: String; - } - export type EC2SecurityGroupList = EC2SecurityGroup[]; - export interface Endpoint { - /** - * The DNS hostname of the cache node. - */ - Address?: String; - /** - * The port number that the cache engine is listening on. - */ - Port?: Integer; - } - export interface EngineDefaults { - /** - * Specifies the name of the cache parameter group family to which the engine default parameters apply. Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2 - */ - CacheParameterGroupFamily?: String; - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * Contains a list of engine default parameters. - */ - Parameters?: ParametersList; - /** - * A list of parameters specific to a particular cache node type. Each element in the list contains detailed information about one parameter. - */ - CacheNodeTypeSpecificParameters?: CacheNodeTypeSpecificParametersList; - } - export interface Event { - /** - * The identifier for the source of the event. For example, if the event occurred at the cache cluster level, the identifier would be the name of the cache cluster. - */ - SourceIdentifier?: String; - /** - * Specifies the origin of this event - a cache cluster, a parameter group, a security group, etc. - */ - SourceType?: SourceType; - /** - * The text of the event. - */ - Message?: String; - /** - * The date and time when the event occurred. - */ - Date?: TStamp; - } - export type EventList = Event[]; - export interface EventsMessage { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * A list of events. Each element in the list contains detailed information about one event. - */ - Events?: EventList; - } - export type Integer = number; - export type IntegerOptional = number; - export type KeyList = String[]; - export interface ListAllowedNodeTypeModificationsMessage { - /** - * The name of the cache cluster you want to scale up to a larger node instanced type. ElastiCache uses the cluster id to identify the current node type of this cluster and from that to create a list of node types you can scale up to. You must provide a value for either the CacheClusterId or the ReplicationGroupId. - */ - CacheClusterId?: String; - /** - * The name of the replication group want to scale up to a larger node type. ElastiCache uses the replication group id to identify the current node type being used by this replication group, and from that to create a list of node types you can scale up to. You must provide a value for either the CacheClusterId or the ReplicationGroupId. - */ - ReplicationGroupId?: String; - } - export interface ListTagsForResourceMessage { - /** - * The Amazon Resource Name (ARN) of the resource for which you want the list of tags, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - ResourceName: String; - } - export interface ModifyCacheClusterMessage { - /** - * The cache cluster identifier. This value is stored as a lowercase string. - */ - CacheClusterId: String; - /** - * The number of cache nodes that the cache cluster should have. If the value for NumCacheNodes is greater than the sum of the number of current cache nodes and the number of cache nodes pending creation (which may be zero), more nodes are added. If the value is less than the number of existing cache nodes, nodes are removed. If the value is equal to the number of current cache nodes, any pending add or remove requests are canceled. If you are removing cache nodes, you must use the CacheNodeIdsToRemove parameter to provide the IDs of the specific cache nodes to remove. For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20. Adding or removing Memcached cache nodes can be applied immediately or as a pending operation (see ApplyImmediately). A pending operation to modify the number of cache nodes in a cluster during its maintenance window, whether by adding or removing nodes in accordance with the scale out architecture, is not queued. The customer's latest request to add or remove nodes to the cluster overrides any previous pending operations to modify the number of cache nodes in the cluster. For example, a request to remove 2 nodes would override a previous pending operation to remove 3 nodes. Similarly, a request to add 2 nodes would override a previous pending operation to remove 3 nodes and vice versa. As Memcached cache nodes may now be provisioned in different Availability Zones with flexible cache node placement, a request to add nodes does not automatically override a previous pending operation to add nodes. The customer can modify the previous pending operation to add more nodes or explicitly cancel the pending request and retry the new request. To cancel pending operations to modify the number of cache nodes in a cluster, use the ModifyCacheCluster request and set NumCacheNodes equal to the number of cache nodes currently in the cache cluster. - */ - NumCacheNodes?: IntegerOptional; - /** - * A list of cache node IDs to be removed. A node ID is a numeric identifier (0001, 0002, etc.). This parameter is only valid when NumCacheNodes is less than the existing number of cache nodes. The number of cache node IDs supplied in this parameter must match the difference between the existing number of cache nodes in the cluster or pending cache nodes, whichever is greater, and the value of NumCacheNodes in the request. For example: If you have 3 active cache nodes, 7 pending cache nodes, and the number of cache nodes in this ModifyCacheCluser call is 5, you must list 2 (7 - 5) cache node IDs to remove. - */ - CacheNodeIdsToRemove?: CacheNodeIdsList; - /** - * Specifies whether the new nodes in this Memcached cache cluster are all created in a single Availability Zone or created across multiple Availability Zones. Valid values: single-az | cross-az. This option is only supported for Memcached cache clusters. You cannot specify single-az if the Memcached cache cluster already has cache nodes in different Availability Zones. If cross-az is specified, existing Memcached nodes remain in their current Availability Zone. Only newly created nodes are located in different Availability Zones. For instructions on how to move existing Memcached nodes to different Availability Zones, see the Availability Zone Considerations section of Cache Node Considerations for Memcached. - */ - AZMode?: AZMode; - /** - * The list of Availability Zones where the new Memcached cache nodes are created. This parameter is only valid when NumCacheNodes in the request is greater than the sum of the number of active cache nodes and the number of cache nodes pending creation (which may be zero). The number of Availability Zones supplied in this list must match the cache nodes being added in this request. This option is only supported on Memcached clusters. Scenarios: Scenario 1: You have 3 active nodes and wish to add 2 nodes. Specify NumCacheNodes=5 (3 + 2) and optionally specify two Availability Zones for the two new nodes. Scenario 2: You have 3 active nodes and 2 nodes pending creation (from the scenario 1 call) and want to add 1 more node. Specify NumCacheNodes=6 ((3 + 2) + 1) and optionally specify an Availability Zone for the new node. Scenario 3: You want to cancel all pending operations. Specify NumCacheNodes=3 to cancel all pending operations. The Availability Zone placement of nodes pending creation cannot be modified. If you wish to cancel any nodes pending creation, add 0 nodes by setting NumCacheNodes to the number of current nodes. If cross-az is specified, existing Memcached nodes remain in their current Availability Zone. Only newly created nodes can be located in different Availability Zones. For guidance on how to move existing Memcached nodes to different Availability Zones, see the Availability Zone Considerations section of Cache Node Considerations for Memcached. Impact of new add/remove requests upon pending requests Scenario-1 Pending Action: Delete New Request: Delete Result: The new delete, pending or immediate, replaces the pending delete. Scenario-2 Pending Action: Delete New Request: Create Result: The new create, pending or immediate, replaces the pending delete. Scenario-3 Pending Action: Create New Request: Delete Result: The new delete, pending or immediate, replaces the pending create. Scenario-4 Pending Action: Create New Request: Create Result: The new create is added to the pending create. Important: If the new create request is Apply Immediately - Yes, all creates are performed immediately. If the new create request is Apply Immediately - No, all creates are pending. - */ - NewAvailabilityZones?: PreferredAvailabilityZoneList; - /** - * A list of cache security group names to authorize on this cache cluster. This change is asynchronously applied as soon as possible. You can use this parameter only with clusters that are created outside of an Amazon Virtual Private Cloud (Amazon VPC). Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default". - */ - CacheSecurityGroupNames?: CacheSecurityGroupNameList; - /** - * Specifies the VPC Security Groups associated with the cache cluster. This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (Amazon VPC). - */ - SecurityGroupIds?: SecurityGroupIdsList; - /** - * Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: sun mon tue wed thu fri sat Example: sun:23:00-mon:01:30 - */ - PreferredMaintenanceWindow?: String; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications are sent. The Amazon SNS topic owner must be same as the cache cluster owner. - */ - NotificationTopicArn?: String; - /** - * The name of the cache parameter group to apply to this cache cluster. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request. - */ - CacheParameterGroupName?: String; - /** - * The status of the Amazon SNS notification topic. Notifications are sent only if the status is active. Valid values: active | inactive - */ - NotificationTopicStatus?: String; - /** - * If true, this parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible, regardless of the PreferredMaintenanceWindow setting for the cache cluster. If false, changes to the cache cluster are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first. If you perform a ModifyCacheCluster before a pending modification is applied, the pending modification is replaced by the newer modification. Valid values: true | false Default: false - */ - ApplyImmediately?: Boolean; - /** - * The upgraded version of the cache engine to be run on the cache nodes. Important: You can upgrade to a newer engine version (see Selecting a Cache Engine and Version), but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cache cluster and create it anew with the earlier engine version. - */ - EngineVersion?: String; - /** - * This parameter is currently disabled. - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * The number of days for which ElastiCache retains automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - */ - SnapshotRetentionLimit?: IntegerOptional; - /** - * The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your cache cluster. - */ - SnapshotWindow?: String; - /** - * A valid cache node type that you want to scale this cache cluster up to. - */ - CacheNodeType?: String; - } - export interface ModifyCacheClusterResult { - CacheCluster?: CacheCluster; - } - export interface ModifyCacheParameterGroupMessage { - /** - * The name of the cache parameter group to modify. - */ - CacheParameterGroupName: String; - /** - * An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request. - */ - ParameterNameValues: ParameterNameValueList; - } - export interface ModifyCacheSubnetGroupMessage { - /** - * The name for the cache subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Example: mysubnetgroup - */ - CacheSubnetGroupName: String; - /** - * A description of the cache subnet group. - */ - CacheSubnetGroupDescription?: String; - /** - * The EC2 subnet IDs for the cache subnet group. - */ - SubnetIds?: SubnetIdentifierList; - } - export interface ModifyCacheSubnetGroupResult { - CacheSubnetGroup?: CacheSubnetGroup; - } - export interface ModifyReplicationGroupMessage { - /** - * The identifier of the replication group to modify. - */ - ReplicationGroupId: String; - /** - * A description for the replication group. Maximum length is 255 characters. - */ - ReplicationGroupDescription?: String; - /** - * For replication groups with a single primary, if this parameter is specified, ElastiCache promotes the specified cluster in the specified replication group to the primary role. The nodes of all other clusters in the replication group are read replicas. - */ - PrimaryClusterId?: String; - /** - * The cache cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Redis (cluster mode enabled) replication groups. - */ - SnapshottingClusterId?: String; - /** - * Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure. Valid values: true | false ElastiCache Multi-AZ replication groups are not supported on: Redis versions earlier than 2.8.6. Redis (cluster mode disabled):T1 and T2 cache node types. Redis (cluster mode enabled): T1 node types. - */ - AutomaticFailoverEnabled?: BooleanOptional; - /** - * A list of cache security group names to authorize for the clusters in this replication group. This change is asynchronously applied as soon as possible. This parameter can be used only with replication group containing cache clusters running outside of an Amazon Virtual Private Cloud (Amazon VPC). Constraints: Must contain no more than 255 alphanumeric characters. Must not be Default. - */ - CacheSecurityGroupNames?: CacheSecurityGroupNameList; - /** - * Specifies the VPC Security Groups associated with the cache clusters in the replication group. This parameter can be used only with replication group containing cache clusters running in an Amazon Virtual Private Cloud (Amazon VPC). - */ - SecurityGroupIds?: SecurityGroupIdsList; - /** - * Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: sun mon tue wed thu fri sat Example: sun:23:00-mon:01:30 - */ - PreferredMaintenanceWindow?: String; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications are sent. The Amazon SNS topic owner must be same as the replication group owner. - */ - NotificationTopicArn?: String; - /** - * The name of the cache parameter group to apply to all of the clusters in this replication group. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request. - */ - CacheParameterGroupName?: String; - /** - * The status of the Amazon SNS notification topic for the replication group. Notifications are sent only if the status is active. Valid values: active | inactive - */ - NotificationTopicStatus?: String; - /** - * If true, this parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible, regardless of the PreferredMaintenanceWindow setting for the replication group. If false, changes to the nodes in the replication group are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first. Valid values: true | false Default: false - */ - ApplyImmediately?: Boolean; - /** - * The upgraded version of the cache engine to be run on the cache clusters in the replication group. Important: You can upgrade to a newer engine version (see Selecting a Cache Engine and Version), but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing replication group and create it anew with the earlier engine version. - */ - EngineVersion?: String; - /** - * This parameter is currently disabled. - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * The number of days for which ElastiCache retains automatic node group (shard) snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted. Important If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - */ - SnapshotRetentionLimit?: IntegerOptional; - /** - * The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of the node group (shard) specified by SnapshottingClusterId. Example: 05:00-09:00 If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range. - */ - SnapshotWindow?: String; - /** - * A valid cache node type that you want to scale this replication group to. - */ - CacheNodeType?: String; - /** - * The name of the Node Group (called shard in the console). - */ - NodeGroupId?: String; - } - export interface ModifyReplicationGroupResult { - ReplicationGroup?: ReplicationGroup; - } - export interface NodeGroup { - /** - * The identifier for the node group (shard). A Redis (cluster mode disabled) replication group contains only 1 node group; therefore, the node group ID is 0001. A Redis (cluster mode enabled) replication group contains 1 to 15 node groups numbered 0001 to 0015. - */ - NodeGroupId?: String; - /** - * The current state of this replication group - creating, available, etc. - */ - Status?: String; - /** - * The endpoint of the primary node in this node group (shard). - */ - PrimaryEndpoint?: Endpoint; - /** - * The keyspace for this node group (shard). - */ - Slots?: String; - /** - * A list containing information about individual nodes within the node group (shard). - */ - NodeGroupMembers?: NodeGroupMemberList; - } - export interface NodeGroupConfiguration { - /** - * A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey. Example: "0-3999" - */ - Slots?: String; - /** - * The number of read replica nodes in this node group (shard). - */ - ReplicaCount?: IntegerOptional; - /** - * The Availability Zone where the primary node of this node group (shard) is launched. - */ - PrimaryAvailabilityZone?: String; - /** - * A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount or ReplicasPerNodeGroup if not specified. - */ - ReplicaAvailabilityZones?: AvailabilityZonesList; - } - export type NodeGroupConfigurationList = NodeGroupConfiguration[]; - export type NodeGroupList = NodeGroup[]; - export interface NodeGroupMember { - /** - * The ID of the cache cluster to which the node belongs. - */ - CacheClusterId?: String; - /** - * The ID of the node within its cache cluster. A node ID is a numeric identifier (0001, 0002, etc.). - */ - CacheNodeId?: String; - ReadEndpoint?: Endpoint; - /** - * The name of the Availability Zone in which the node is located. - */ - PreferredAvailabilityZone?: String; - /** - * The role that is currently assigned to the node - primary or replica. - */ - CurrentRole?: String; - } - export type NodeGroupMemberList = NodeGroupMember[]; - export interface NodeSnapshot { - /** - * A unique identifier for the source cache cluster. - */ - CacheClusterId?: String; - /** - * A unique identifier for the source node group (shard). - */ - NodeGroupId?: String; - /** - * The cache node identifier for the node in the source cache cluster. - */ - CacheNodeId?: String; - /** - * The configuration for the source node group (shard). - */ - NodeGroupConfiguration?: NodeGroupConfiguration; - /** - * The size of the cache on the source cache node. - */ - CacheSize?: String; - /** - * The date and time when the cache node was created in the source cache cluster. - */ - CacheNodeCreateTime?: TStamp; - /** - * The date and time when the source node's metadata and cache data set was obtained for the snapshot. - */ - SnapshotCreateTime?: TStamp; - } - export type NodeSnapshotList = NodeSnapshot[]; - export type NodeTypeList = String[]; - export interface NotificationConfiguration { - /** - * The Amazon Resource Name (ARN) that identifies the topic. - */ - TopicArn?: String; - /** - * The current state of the topic. - */ - TopicStatus?: String; - } - export interface Parameter { - /** - * The name of the parameter. - */ - ParameterName?: String; - /** - * The value of the parameter. - */ - ParameterValue?: String; - /** - * A description of the parameter. - */ - Description?: String; - /** - * The source of the parameter. - */ - Source?: String; - /** - * The valid data type for the parameter. - */ - DataType?: String; - /** - * The valid range of values for the parameter. - */ - AllowedValues?: String; - /** - * Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed. - */ - IsModifiable?: Boolean; - /** - * The earliest cache engine version to which the parameter can apply. - */ - MinimumEngineVersion?: String; - /** - * Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window's reboot. For more information, see Rebooting a Cluster. - */ - ChangeType?: ChangeType; - } - export interface ParameterNameValue { - /** - * The name of the parameter. - */ - ParameterName?: String; - /** - * The value of the parameter. - */ - ParameterValue?: String; - } - export type ParameterNameValueList = ParameterNameValue[]; - export type ParametersList = Parameter[]; - export type PendingAutomaticFailoverStatus = "enabled"|"disabled"|string; - export interface PendingModifiedValues { - /** - * The new number of cache nodes for the cache cluster. For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20. - */ - NumCacheNodes?: IntegerOptional; - /** - * A list of cache node IDs that are being removed (or will be removed) from the cache cluster. A node ID is a numeric identifier (0001, 0002, etc.). - */ - CacheNodeIdsToRemove?: CacheNodeIdsList; - /** - * The new cache engine version that the cache cluster runs. - */ - EngineVersion?: String; - /** - * The cache node type that this cache cluster or replication group is scaled to. - */ - CacheNodeType?: String; - } - export type PreferredAvailabilityZoneList = String[]; - export interface PurchaseReservedCacheNodesOfferingMessage { - /** - * The ID of the reserved cache node offering to purchase. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706 - */ - ReservedCacheNodesOfferingId: String; - /** - * A customer-specified identifier to track this reservation. The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation. Example: myreservationID - */ - ReservedCacheNodeId?: String; - /** - * The number of cache node instances to reserve. Default: 1 - */ - CacheNodeCount?: IntegerOptional; - } - export interface PurchaseReservedCacheNodesOfferingResult { - ReservedCacheNode?: ReservedCacheNode; - } - export interface RebootCacheClusterMessage { - /** - * The cache cluster identifier. This parameter is stored as a lowercase string. - */ - CacheClusterId: String; - /** - * A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs. - */ - CacheNodeIdsToReboot: CacheNodeIdsList; - } - export interface RebootCacheClusterResult { - CacheCluster?: CacheCluster; - } - export interface RecurringCharge { - /** - * The monetary amount of the recurring charge. - */ - RecurringChargeAmount?: Double; - /** - * The frequency of the recurring charge. - */ - RecurringChargeFrequency?: String; - } - export type RecurringChargeList = RecurringCharge[]; - export interface RemoveTagsFromResourceMessage { - /** - * The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - ResourceName: String; - /** - * A list of TagKeys identifying the tags you want removed from the named resource. - */ - TagKeys: KeyList; - } - export interface ReplicationGroup { - /** - * The identifier for the replication group. - */ - ReplicationGroupId?: String; - /** - * The description of the replication group. - */ - Description?: String; - /** - * The current state of this replication group - creating, available, modifying, deleting, create-failed, snapshotting. - */ - Status?: String; - /** - * A group of settings to be applied to the replication group, either immediately or during the next maintenance window. - */ - PendingModifiedValues?: ReplicationGroupPendingModifiedValues; - /** - * The names of all the cache clusters that are part of this replication group. - */ - MemberClusters?: ClusterIdList; - /** - * A single element list with information about the nodes in the replication group. - */ - NodeGroups?: NodeGroupList; - /** - * The cache cluster ID that is used as the daily snapshot source for the replication group. - */ - SnapshottingClusterId?: String; - /** - * Indicates the status of Multi-AZ for this replication group. ElastiCache Multi-AZ replication groups are not supported on: Redis versions earlier than 2.8.6. Redis (cluster mode disabled):T1 and T2 cache node types. Redis (cluster mode enabled): T1 node types. - */ - AutomaticFailover?: AutomaticFailoverStatus; - /** - * The configuration endpoint for this replicaiton group. Use the configuration endpoint to connect to this replication group. - */ - ConfigurationEndpoint?: Endpoint; - /** - * The number of days for which ElastiCache retains automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - */ - SnapshotRetentionLimit?: IntegerOptional; - /** - * The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). Example: 05:00-09:00 If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range. Note: This parameter is only valid if the Engine parameter is redis. - */ - SnapshotWindow?: String; - /** - * A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups). Valid values: true | false - */ - ClusterEnabled?: BooleanOptional; - /** - * The name of the compute and memory capacity node type for each node in the replication group. - */ - CacheNodeType?: String; - } - export type ReplicationGroupList = ReplicationGroup[]; - export interface ReplicationGroupMessage { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * A list of replication groups. Each item in the list contains detailed information about one replication group. - */ - ReplicationGroups?: ReplicationGroupList; - } - export interface ReplicationGroupPendingModifiedValues { - /** - * The primary cluster ID that is applied immediately (if --apply-immediately was specified), or during the next maintenance window. - */ - PrimaryClusterId?: String; - /** - * Indicates the status of Multi-AZ for this Redis replication group. ElastiCache Multi-AZ replication groups are not supported on: Redis versions earlier than 2.8.6. Redis (cluster mode disabled):T1 and T2 cache node types. Redis (cluster mode enabled): T1 node types. - */ - AutomaticFailoverStatus?: PendingAutomaticFailoverStatus; - } - export interface ReservedCacheNode { - /** - * The unique identifier for the reservation. - */ - ReservedCacheNodeId?: String; - /** - * The offering identifier. - */ - ReservedCacheNodesOfferingId?: String; - /** - * The cache node type for the reserved cache nodes. Valid node types are as follows: General purpose: Current generation: cache.t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge, cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge Previous generation: cache.t1.micro, cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge Compute optimized: cache.c1.xlarge Memory optimized: Current generation: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Previous generation: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge Notes: All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 instances. Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances. For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis. - */ - CacheNodeType?: String; - /** - * The time the reservation started. - */ - StartTime?: TStamp; - /** - * The duration of the reservation in seconds. - */ - Duration?: Integer; - /** - * The fixed price charged for this reserved cache node. - */ - FixedPrice?: Double; - /** - * The hourly price charged for this reserved cache node. - */ - UsagePrice?: Double; - /** - * The number of cache nodes that have been reserved. - */ - CacheNodeCount?: Integer; - /** - * The description of the reserved cache node. - */ - ProductDescription?: String; - /** - * The offering type of this reserved cache node. - */ - OfferingType?: String; - /** - * The state of the reserved cache node. - */ - State?: String; - /** - * The recurring price charged to run this reserved cache node. - */ - RecurringCharges?: RecurringChargeList; - } - export type ReservedCacheNodeList = ReservedCacheNode[]; - export interface ReservedCacheNodeMessage { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * A list of reserved cache nodes. Each element in the list contains detailed information about one node. - */ - ReservedCacheNodes?: ReservedCacheNodeList; - } - export interface ReservedCacheNodesOffering { - /** - * A unique identifier for the reserved cache node offering. - */ - ReservedCacheNodesOfferingId?: String; - /** - * The cache node type for the reserved cache node. Valid node types are as follows: General purpose: Current generation: cache.t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge, cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge Previous generation: cache.t1.micro, cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge Compute optimized: cache.c1.xlarge Memory optimized: Current generation: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Previous generation: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge Notes: All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 instances. Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances. For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis. - */ - CacheNodeType?: String; - /** - * The duration of the offering. in seconds. - */ - Duration?: Integer; - /** - * The fixed price charged for this offering. - */ - FixedPrice?: Double; - /** - * The hourly price charged for this offering. - */ - UsagePrice?: Double; - /** - * The cache engine used by the offering. - */ - ProductDescription?: String; - /** - * The offering type. - */ - OfferingType?: String; - /** - * The recurring price charged to run this reserved cache node. - */ - RecurringCharges?: RecurringChargeList; - } - export type ReservedCacheNodesOfferingList = ReservedCacheNodesOffering[]; - export interface ReservedCacheNodesOfferingMessage { - /** - * Provides an identifier to allow retrieval of paginated results. - */ - Marker?: String; - /** - * A list of reserved cache node offerings. Each element in the list contains detailed information about one offering. - */ - ReservedCacheNodesOfferings?: ReservedCacheNodesOfferingList; - } - export interface ResetCacheParameterGroupMessage { - /** - * The name of the cache parameter group to reset. - */ - CacheParameterGroupName: String; - /** - * If true, all parameters in the cache parameter group are reset to their default values. If false, only the parameters listed by ParameterNameValues are reset to their default values. Valid values: true | false - */ - ResetAllParameters?: Boolean; - /** - * An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset. - */ - ParameterNameValues?: ParameterNameValueList; - } - export interface RevokeCacheSecurityGroupIngressMessage { - /** - * The name of the cache security group to revoke ingress from. - */ - CacheSecurityGroupName: String; - /** - * The name of the Amazon EC2 security group to revoke access from. - */ - EC2SecurityGroupName: String; - /** - * The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter. - */ - EC2SecurityGroupOwnerId: String; - } - export interface RevokeCacheSecurityGroupIngressResult { - CacheSecurityGroup?: CacheSecurityGroup; - } - export type SecurityGroupIdsList = String[]; - export interface SecurityGroupMembership { - /** - * The identifier of the cache security group. - */ - SecurityGroupId?: String; - /** - * The status of the cache security group membership. The status changes whenever a cache security group is modified, or when the cache security groups assigned to a cache cluster are modified. - */ - Status?: String; - } - export type SecurityGroupMembershipList = SecurityGroupMembership[]; - export interface Snapshot { - /** - * The name of a snapshot. For an automatic snapshot, the name is system-generated. For a manual snapshot, this is the user-provided name. - */ - SnapshotName?: String; - /** - * The unique identifier of the source replication group. - */ - ReplicationGroupId?: String; - /** - * A description of the source replication group. - */ - ReplicationGroupDescription?: String; - /** - * The user-supplied identifier of the source cache cluster. - */ - CacheClusterId?: String; - /** - * The status of the snapshot. Valid values: creating | available | restoring | copying | deleting. - */ - SnapshotStatus?: String; - /** - * Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual). - */ - SnapshotSource?: String; - /** - * The name of the compute and memory capacity node type for the source cache cluster. Valid node types are as follows: General purpose: Current generation: cache.t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge, cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge Previous generation: cache.t1.micro, cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge Compute optimized: cache.c1.xlarge Memory optimized: Current generation: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Previous generation: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge Notes: All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 instances. Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances. For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis. - */ - CacheNodeType?: String; - /** - * The name of the cache engine (memcached or redis) used by the source cache cluster. - */ - Engine?: String; - /** - * The version of the cache engine version that is used by the source cache cluster. - */ - EngineVersion?: String; - /** - * The number of cache nodes in the source cache cluster. For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20. - */ - NumCacheNodes?: IntegerOptional; - /** - * The name of the Availability Zone in which the source cache cluster is located. - */ - PreferredAvailabilityZone?: String; - /** - * The date and time when the source cache cluster was created. - */ - CacheClusterCreateTime?: TStamp; - /** - * Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: sun mon tue wed thu fri sat Example: sun:23:00-mon:01:30 - */ - PreferredMaintenanceWindow?: String; - /** - * The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications. - */ - TopicArn?: String; - /** - * The port number used by each cache nodes in the source cache cluster. - */ - Port?: IntegerOptional; - /** - * The cache parameter group that is associated with the source cache cluster. - */ - CacheParameterGroupName?: String; - /** - * The name of the cache subnet group associated with the source cache cluster. - */ - CacheSubnetGroupName?: String; - /** - * The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster. - */ - VpcId?: String; - /** - * This parameter is currently disabled. - */ - AutoMinorVersionUpgrade?: Boolean; - /** - * For an automatic snapshot, the number of days for which ElastiCache retains the snapshot before deleting it. For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot operation. Important If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - */ - SnapshotRetentionLimit?: IntegerOptional; - /** - * The daily time range during which ElastiCache takes daily snapshots of the source cache cluster. - */ - SnapshotWindow?: String; - /** - * The number of node groups (shards) in this snapshot. When restoring from a snapshot, the number of node groups (shards) in the snapshot and in the restored replication group must be the same. - */ - NumNodeGroups?: IntegerOptional; - /** - * Indicates the status of Multi-AZ for the source replication group. ElastiCache Multi-AZ replication groups are not supported on: Redis versions earlier than 2.8.6. Redis (cluster mode disabled):T1 and T2 cache node types. Redis (cluster mode enabled): T1 node types. - */ - AutomaticFailover?: AutomaticFailoverStatus; - /** - * A list of the cache nodes in the source cache cluster. - */ - NodeSnapshots?: NodeSnapshotList; - } - export type SnapshotArnsList = String[]; - export type SnapshotList = Snapshot[]; - export type SourceType = "cache-cluster"|"cache-parameter-group"|"cache-security-group"|"cache-subnet-group"|"replication-group"|string; - export type String = string; - export interface Subnet { - /** - * The unique identifier for the subnet. - */ - SubnetIdentifier?: String; - /** - * The Availability Zone associated with the subnet. - */ - SubnetAvailabilityZone?: AvailabilityZone; - } - export type SubnetIdentifierList = String[]; - export type SubnetList = Subnet[]; - export type TStamp = Date; - export interface Tag { - /** - * The key for the tag. May not be null. - */ - Key?: String; - /** - * The tag's value. May be null. - */ - Value?: String; - } - export type TagList = Tag[]; - export interface TagListMessage { - /** - * A list of cost allocation tags as key-value pairs. - */ - TagList?: TagList; - } - export interface TestFailoverMessage { - /** - * The name of the replication group (console: cluster) whose automatic failover is being tested by this operation. - */ - ReplicationGroupId: String; - /** - * The name of the node group (called shard in the console) in this replication group on which automatic failover is to be tested. You may test automatic failover on up to 5 node groups in any rolling 24-hour period. - */ - NodeGroupId: String; - } - export interface TestFailoverResult { - ReplicationGroup?: ReplicationGroup; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2012-11-15"|"2014-03-24"|"2014-07-15"|"2014-09-30"|"2015-02-02"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ElastiCache client. - */ - export import Types = ElastiCache; -} -export = ElastiCache; diff --git a/src/node_modules/aws-sdk/clients/elasticache.js b/src/node_modules/aws-sdk/clients/elasticache.js deleted file mode 100644 index 4420db7..0000000 --- a/src/node_modules/aws-sdk/clients/elasticache.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['elasticache'] = {}; -AWS.ElastiCache = Service.defineService('elasticache', ['2012-11-15*', '2014-03-24*', '2014-07-15*', '2014-09-30*', '2015-02-02']); -Object.defineProperty(apiLoader.services['elasticache'], '2015-02-02', { - get: function get() { - var model = require('../apis/elasticache-2015-02-02.min.json'); - model.paginators = require('../apis/elasticache-2015-02-02.paginators.json').pagination; - model.waiters = require('../apis/elasticache-2015-02-02.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ElastiCache; diff --git a/src/node_modules/aws-sdk/clients/elasticbeanstalk.d.ts b/src/node_modules/aws-sdk/clients/elasticbeanstalk.d.ts deleted file mode 100644 index e3b40d3..0000000 --- a/src/node_modules/aws-sdk/clients/elasticbeanstalk.d.ts +++ /dev/null @@ -1,2446 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ElasticBeanstalk extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ElasticBeanstalk.Types.ClientConfiguration) - config: Config & ElasticBeanstalk.Types.ClientConfiguration; - /** - * Cancels in-progress environment configuration update or application version deployment. - */ - abortEnvironmentUpdate(params: ElasticBeanstalk.Types.AbortEnvironmentUpdateMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Cancels in-progress environment configuration update or application version deployment. - */ - abortEnvironmentUpdate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Applies a scheduled managed action immediately. A managed action can be applied only if its status is Scheduled. Get the status and action ID of a managed action with DescribeEnvironmentManagedActions. - */ - applyEnvironmentManagedAction(params: ElasticBeanstalk.Types.ApplyEnvironmentManagedActionRequest, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplyEnvironmentManagedActionResult) => void): Request; - /** - * Applies a scheduled managed action immediately. A managed action can be applied only if its status is Scheduled. Get the status and action ID of a managed action with DescribeEnvironmentManagedActions. - */ - applyEnvironmentManagedAction(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplyEnvironmentManagedActionResult) => void): Request; - /** - * Checks if the specified CNAME is available. - */ - checkDNSAvailability(params: ElasticBeanstalk.Types.CheckDNSAvailabilityMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.CheckDNSAvailabilityResultMessage) => void): Request; - /** - * Checks if the specified CNAME is available. - */ - checkDNSAvailability(callback?: (err: AWSError, data: ElasticBeanstalk.Types.CheckDNSAvailabilityResultMessage) => void): Request; - /** - * Create or update a group of environments that each run a separate component of a single application. Takes a list of version labels that specify application source bundles for each of the environments to create or update. The name of each environment and other required information must be included in the source bundles in an environment manifest named env.yaml. See Compose Environments for details. - */ - composeEnvironments(params: ElasticBeanstalk.Types.ComposeEnvironmentsMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentDescriptionsMessage) => void): Request; - /** - * Create or update a group of environments that each run a separate component of a single application. Takes a list of version labels that specify application source bundles for each of the environments to create or update. The name of each environment and other required information must be included in the source bundles in an environment manifest named env.yaml. See Compose Environments for details. - */ - composeEnvironments(callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentDescriptionsMessage) => void): Request; - /** - * Creates an application that has one configuration template named default and no application versions. - */ - createApplication(params: ElasticBeanstalk.Types.CreateApplicationMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationDescriptionMessage) => void): Request; - /** - * Creates an application that has one configuration template named default and no application versions. - */ - createApplication(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationDescriptionMessage) => void): Request; - /** - * Creates an application version for the specified application. You can create an application version from a source bundle in Amazon S3, a commit in AWS CodeCommit, or the output of an AWS CodeBuild build as follows: Specify a commit in an AWS CodeCommit repository with SourceBuildInformation. Specify a build in an AWS CodeBuild with SourceBuildInformation and BuildConfiguration. Specify a source bundle in S3 with SourceBundle Omit both SourceBuildInformation and SourceBundle to use the default sample application. Once you create an application version with a specified Amazon S3 bucket and key location, you cannot change that Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an environment from the application version. - */ - createApplicationVersion(params: ElasticBeanstalk.Types.CreateApplicationVersionMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationVersionDescriptionMessage) => void): Request; - /** - * Creates an application version for the specified application. You can create an application version from a source bundle in Amazon S3, a commit in AWS CodeCommit, or the output of an AWS CodeBuild build as follows: Specify a commit in an AWS CodeCommit repository with SourceBuildInformation. Specify a build in an AWS CodeBuild with SourceBuildInformation and BuildConfiguration. Specify a source bundle in S3 with SourceBundle Omit both SourceBuildInformation and SourceBundle to use the default sample application. Once you create an application version with a specified Amazon S3 bucket and key location, you cannot change that Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an environment from the application version. - */ - createApplicationVersion(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationVersionDescriptionMessage) => void): Request; - /** - * Creates a configuration template. Templates are associated with a specific application and are used to deploy different versions of the application with the same configuration settings. Related Topics DescribeConfigurationOptions DescribeConfigurationSettings ListAvailableSolutionStacks - */ - createConfigurationTemplate(params: ElasticBeanstalk.Types.CreateConfigurationTemplateMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ConfigurationSettingsDescription) => void): Request; - /** - * Creates a configuration template. Templates are associated with a specific application and are used to deploy different versions of the application with the same configuration settings. Related Topics DescribeConfigurationOptions DescribeConfigurationSettings ListAvailableSolutionStacks - */ - createConfigurationTemplate(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ConfigurationSettingsDescription) => void): Request; - /** - * Launches an environment for the specified application using the specified configuration. - */ - createEnvironment(params: ElasticBeanstalk.Types.CreateEnvironmentMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentDescription) => void): Request; - /** - * Launches an environment for the specified application using the specified configuration. - */ - createEnvironment(callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentDescription) => void): Request; - /** - * Create a new version of your custom platform. - */ - createPlatformVersion(params: ElasticBeanstalk.Types.CreatePlatformVersionRequest, callback?: (err: AWSError, data: ElasticBeanstalk.Types.CreatePlatformVersionResult) => void): Request; - /** - * Create a new version of your custom platform. - */ - createPlatformVersion(callback?: (err: AWSError, data: ElasticBeanstalk.Types.CreatePlatformVersionResult) => void): Request; - /** - * Creates the Amazon S3 storage location for the account. This location is used to store user log files. - */ - createStorageLocation(callback?: (err: AWSError, data: ElasticBeanstalk.Types.CreateStorageLocationResultMessage) => void): Request; - /** - * Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket. You cannot delete an application that has a running environment. - */ - deleteApplication(params: ElasticBeanstalk.Types.DeleteApplicationMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket. You cannot delete an application that has a running environment. - */ - deleteApplication(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified version from the specified application. You cannot delete an application version that is associated with a running environment. - */ - deleteApplicationVersion(params: ElasticBeanstalk.Types.DeleteApplicationVersionMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified version from the specified application. You cannot delete an application version that is associated with a running environment. - */ - deleteApplicationVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified configuration template. When you launch an environment using a configuration template, the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running environment. - */ - deleteConfigurationTemplate(params: ElasticBeanstalk.Types.DeleteConfigurationTemplateMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified configuration template. When you launch an environment using a configuration template, the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running environment. - */ - deleteConfigurationTemplate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the draft configuration associated with the running environment. Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update fails. The DeploymentStatus for the draft configuration indicates whether the deployment is in process or has failed. The draft configuration remains in existence until it is deleted with this action. - */ - deleteEnvironmentConfiguration(params: ElasticBeanstalk.Types.DeleteEnvironmentConfigurationMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the draft configuration associated with the running environment. Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update fails. The DeploymentStatus for the draft configuration indicates whether the deployment is in process or has failed. The draft configuration remains in existence until it is deleted with this action. - */ - deleteEnvironmentConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified version of a custom platform. - */ - deletePlatformVersion(params: ElasticBeanstalk.Types.DeletePlatformVersionRequest, callback?: (err: AWSError, data: ElasticBeanstalk.Types.DeletePlatformVersionResult) => void): Request; - /** - * Deletes the specified version of a custom platform. - */ - deletePlatformVersion(callback?: (err: AWSError, data: ElasticBeanstalk.Types.DeletePlatformVersionResult) => void): Request; - /** - * Retrieve a list of application versions. - */ - describeApplicationVersions(params: ElasticBeanstalk.Types.DescribeApplicationVersionsMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationVersionDescriptionsMessage) => void): Request; - /** - * Retrieve a list of application versions. - */ - describeApplicationVersions(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationVersionDescriptionsMessage) => void): Request; - /** - * Returns the descriptions of existing applications. - */ - describeApplications(params: ElasticBeanstalk.Types.DescribeApplicationsMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationDescriptionsMessage) => void): Request; - /** - * Returns the descriptions of existing applications. - */ - describeApplications(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationDescriptionsMessage) => void): Request; - /** - * Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed. - */ - describeConfigurationOptions(params: ElasticBeanstalk.Types.DescribeConfigurationOptionsMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ConfigurationOptionsDescription) => void): Request; - /** - * Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed. - */ - describeConfigurationOptions(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ConfigurationOptionsDescription) => void): Request; - /** - * Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment. When describing the settings for the configuration set associated with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other is a draft configuration of an environment that is either in the process of deployment or that failed to deploy. Related Topics DeleteEnvironmentConfiguration - */ - describeConfigurationSettings(params: ElasticBeanstalk.Types.DescribeConfigurationSettingsMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ConfigurationSettingsDescriptions) => void): Request; - /** - * Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment. When describing the settings for the configuration set associated with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other is a draft configuration of an environment that is either in the process of deployment or that failed to deploy. Related Topics DeleteEnvironmentConfiguration - */ - describeConfigurationSettings(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ConfigurationSettingsDescriptions) => void): Request; - /** - * Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health. - */ - describeEnvironmentHealth(params: ElasticBeanstalk.Types.DescribeEnvironmentHealthRequest, callback?: (err: AWSError, data: ElasticBeanstalk.Types.DescribeEnvironmentHealthResult) => void): Request; - /** - * Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health. - */ - describeEnvironmentHealth(callback?: (err: AWSError, data: ElasticBeanstalk.Types.DescribeEnvironmentHealthResult) => void): Request; - /** - * Lists an environment's completed and failed managed actions. - */ - describeEnvironmentManagedActionHistory(params: ElasticBeanstalk.Types.DescribeEnvironmentManagedActionHistoryRequest, callback?: (err: AWSError, data: ElasticBeanstalk.Types.DescribeEnvironmentManagedActionHistoryResult) => void): Request; - /** - * Lists an environment's completed and failed managed actions. - */ - describeEnvironmentManagedActionHistory(callback?: (err: AWSError, data: ElasticBeanstalk.Types.DescribeEnvironmentManagedActionHistoryResult) => void): Request; - /** - * Lists an environment's upcoming and in-progress managed actions. - */ - describeEnvironmentManagedActions(params: ElasticBeanstalk.Types.DescribeEnvironmentManagedActionsRequest, callback?: (err: AWSError, data: ElasticBeanstalk.Types.DescribeEnvironmentManagedActionsResult) => void): Request; - /** - * Lists an environment's upcoming and in-progress managed actions. - */ - describeEnvironmentManagedActions(callback?: (err: AWSError, data: ElasticBeanstalk.Types.DescribeEnvironmentManagedActionsResult) => void): Request; - /** - * Returns AWS resources for this environment. - */ - describeEnvironmentResources(params: ElasticBeanstalk.Types.DescribeEnvironmentResourcesMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentResourceDescriptionsMessage) => void): Request; - /** - * Returns AWS resources for this environment. - */ - describeEnvironmentResources(callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentResourceDescriptionsMessage) => void): Request; - /** - * Returns descriptions for existing environments. - */ - describeEnvironments(params: ElasticBeanstalk.Types.DescribeEnvironmentsMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentDescriptionsMessage) => void): Request; - /** - * Returns descriptions for existing environments. - */ - describeEnvironments(callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentDescriptionsMessage) => void): Request; - /** - * Returns list of event descriptions matching criteria up to the last 6 weeks. This action returns the most recent 1,000 events from the specified NextToken. - */ - describeEvents(params: ElasticBeanstalk.Types.DescribeEventsMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.EventDescriptionsMessage) => void): Request; - /** - * Returns list of event descriptions matching criteria up to the last 6 weeks. This action returns the most recent 1,000 events from the specified NextToken. - */ - describeEvents(callback?: (err: AWSError, data: ElasticBeanstalk.Types.EventDescriptionsMessage) => void): Request; - /** - * Retrives detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting. - */ - describeInstancesHealth(params: ElasticBeanstalk.Types.DescribeInstancesHealthRequest, callback?: (err: AWSError, data: ElasticBeanstalk.Types.DescribeInstancesHealthResult) => void): Request; - /** - * Retrives detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting. - */ - describeInstancesHealth(callback?: (err: AWSError, data: ElasticBeanstalk.Types.DescribeInstancesHealthResult) => void): Request; - /** - * Describes the version of the platform. - */ - describePlatformVersion(params: ElasticBeanstalk.Types.DescribePlatformVersionRequest, callback?: (err: AWSError, data: ElasticBeanstalk.Types.DescribePlatformVersionResult) => void): Request; - /** - * Describes the version of the platform. - */ - describePlatformVersion(callback?: (err: AWSError, data: ElasticBeanstalk.Types.DescribePlatformVersionResult) => void): Request; - /** - * Returns a list of the available solution stack names, with the public version first and then in reverse chronological order. - */ - listAvailableSolutionStacks(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ListAvailableSolutionStacksResultMessage) => void): Request; - /** - * Lists the available platforms. - */ - listPlatformVersions(params: ElasticBeanstalk.Types.ListPlatformVersionsRequest, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ListPlatformVersionsResult) => void): Request; - /** - * Lists the available platforms. - */ - listPlatformVersions(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ListPlatformVersionsResult) => void): Request; - /** - * Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart. - */ - rebuildEnvironment(params: ElasticBeanstalk.Types.RebuildEnvironmentMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart. - */ - rebuildEnvironment(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Initiates a request to compile the specified type of information of the deployed environment. Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in your environment. Setting the InfoType to bundle compresses the application server log files for every Amazon EC2 instance into a .zip file. Legacy and .NET containers do not support bundle logs. Use RetrieveEnvironmentInfo to obtain the set of logs. Related Topics RetrieveEnvironmentInfo - */ - requestEnvironmentInfo(params: ElasticBeanstalk.Types.RequestEnvironmentInfoMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Initiates a request to compile the specified type of information of the deployed environment. Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in your environment. Setting the InfoType to bundle compresses the application server log files for every Amazon EC2 instance into a .zip file. Legacy and .NET containers do not support bundle logs. Use RetrieveEnvironmentInfo to obtain the set of logs. Related Topics RetrieveEnvironmentInfo - */ - requestEnvironmentInfo(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Causes the environment to restart the application container server running on each Amazon EC2 instance. - */ - restartAppServer(params: ElasticBeanstalk.Types.RestartAppServerMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Causes the environment to restart the application container server running on each Amazon EC2 instance. - */ - restartAppServer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Retrieves the compiled information from a RequestEnvironmentInfo request. Related Topics RequestEnvironmentInfo - */ - retrieveEnvironmentInfo(params: ElasticBeanstalk.Types.RetrieveEnvironmentInfoMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.RetrieveEnvironmentInfoResultMessage) => void): Request; - /** - * Retrieves the compiled information from a RequestEnvironmentInfo request. Related Topics RequestEnvironmentInfo - */ - retrieveEnvironmentInfo(callback?: (err: AWSError, data: ElasticBeanstalk.Types.RetrieveEnvironmentInfoResultMessage) => void): Request; - /** - * Swaps the CNAMEs of two environments. - */ - swapEnvironmentCNAMEs(params: ElasticBeanstalk.Types.SwapEnvironmentCNAMEsMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Swaps the CNAMEs of two environments. - */ - swapEnvironmentCNAMEs(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Terminates the specified environment. - */ - terminateEnvironment(params: ElasticBeanstalk.Types.TerminateEnvironmentMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentDescription) => void): Request; - /** - * Terminates the specified environment. - */ - terminateEnvironment(callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentDescription) => void): Request; - /** - * Updates the specified application to have the specified properties. If a property (for example, description) is not provided, the value remains unchanged. To clear these properties, specify an empty string. - */ - updateApplication(params: ElasticBeanstalk.Types.UpdateApplicationMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationDescriptionMessage) => void): Request; - /** - * Updates the specified application to have the specified properties. If a property (for example, description) is not provided, the value remains unchanged. To clear these properties, specify an empty string. - */ - updateApplication(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationDescriptionMessage) => void): Request; - /** - * Modifies lifecycle settings for an application. - */ - updateApplicationResourceLifecycle(params: ElasticBeanstalk.Types.UpdateApplicationResourceLifecycleMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationResourceLifecycleDescriptionMessage) => void): Request; - /** - * Modifies lifecycle settings for an application. - */ - updateApplicationResourceLifecycle(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationResourceLifecycleDescriptionMessage) => void): Request; - /** - * Updates the specified application version to have the specified properties. If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string. - */ - updateApplicationVersion(params: ElasticBeanstalk.Types.UpdateApplicationVersionMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationVersionDescriptionMessage) => void): Request; - /** - * Updates the specified application version to have the specified properties. If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string. - */ - updateApplicationVersion(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ApplicationVersionDescriptionMessage) => void): Request; - /** - * Updates the specified configuration template to have the specified properties or configuration option values. If a property (for example, ApplicationName) is not provided, its value remains unchanged. To clear such properties, specify an empty string. Related Topics DescribeConfigurationOptions - */ - updateConfigurationTemplate(params: ElasticBeanstalk.Types.UpdateConfigurationTemplateMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ConfigurationSettingsDescription) => void): Request; - /** - * Updates the specified configuration template to have the specified properties or configuration option values. If a property (for example, ApplicationName) is not provided, its value remains unchanged. To clear such properties, specify an empty string. Related Topics DescribeConfigurationOptions - */ - updateConfigurationTemplate(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ConfigurationSettingsDescription) => void): Request; - /** - * Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment. Attempting to update both the release and configuration is not allowed and AWS Elastic Beanstalk returns an InvalidParameterCombination error. When updating the configuration settings to a new template or individual settings, a draft configuration is created and DescribeConfigurationSettings for this environment returns two setting descriptions with different DeploymentStatus values. - */ - updateEnvironment(params: ElasticBeanstalk.Types.UpdateEnvironmentMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentDescription) => void): Request; - /** - * Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment. Attempting to update both the release and configuration is not allowed and AWS Elastic Beanstalk returns an InvalidParameterCombination error. When updating the configuration settings to a new template or individual settings, a draft configuration is created and DescribeConfigurationSettings for this environment returns two setting descriptions with different DeploymentStatus values. - */ - updateEnvironment(callback?: (err: AWSError, data: ElasticBeanstalk.Types.EnvironmentDescription) => void): Request; - /** - * Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid. This action returns a list of messages indicating any errors or warnings associated with the selection of option values. - */ - validateConfigurationSettings(params: ElasticBeanstalk.Types.ValidateConfigurationSettingsMessage, callback?: (err: AWSError, data: ElasticBeanstalk.Types.ConfigurationSettingsValidationMessages) => void): Request; - /** - * Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid. This action returns a list of messages indicating any errors or warnings associated with the selection of option values. - */ - validateConfigurationSettings(callback?: (err: AWSError, data: ElasticBeanstalk.Types.ConfigurationSettingsValidationMessages) => void): Request; -} -declare namespace ElasticBeanstalk { - export type ARN = string; - export interface AbortEnvironmentUpdateMessage { - /** - * This specifies the ID of the environment with the in-progress update that you want to cancel. - */ - EnvironmentId?: EnvironmentId; - /** - * This specifies the name of the environment with the in-progress update that you want to cancel. - */ - EnvironmentName?: EnvironmentName; - } - export type AbortableOperationInProgress = boolean; - export type ActionHistoryStatus = "Completed"|"Failed"|"Unknown"|string; - export type ActionStatus = "Scheduled"|"Pending"|"Running"|"Unknown"|string; - export type ActionType = "InstanceRefresh"|"PlatformUpdate"|"Unknown"|string; - export interface ApplicationDescription { - /** - * The name of the application. - */ - ApplicationName?: ApplicationName; - /** - * User-defined description of the application. - */ - Description?: Description; - /** - * The date when the application was created. - */ - DateCreated?: CreationDate; - /** - * The date when the application was last modified. - */ - DateUpdated?: UpdateDate; - /** - * The names of the versions for this application. - */ - Versions?: VersionLabelsList; - /** - * The names of the configuration templates associated with this application. - */ - ConfigurationTemplates?: ConfigurationTemplateNamesList; - /** - * The lifecycle settings for the application. - */ - ResourceLifecycleConfig?: ApplicationResourceLifecycleConfig; - } - export type ApplicationDescriptionList = ApplicationDescription[]; - export interface ApplicationDescriptionMessage { - /** - * The ApplicationDescription of the application. - */ - Application?: ApplicationDescription; - } - export interface ApplicationDescriptionsMessage { - /** - * This parameter contains a list of ApplicationDescription. - */ - Applications?: ApplicationDescriptionList; - } - export interface ApplicationMetrics { - /** - * The amount of time that the metrics cover (usually 10 seconds). For example, you might have 5 requests (request_count) within the most recent time slice of 10 seconds (duration). - */ - Duration?: NullableInteger; - /** - * Average number of requests handled by the web server per second over the last 10 seconds. - */ - RequestCount?: RequestCount; - /** - * Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. - */ - StatusCodes?: StatusCodes; - /** - * Represents the average latency for the slowest X percent of requests over the last 10 seconds. Latencies are in seconds with one millisecond resolution. - */ - Latency?: Latency; - } - export type ApplicationName = string; - export type ApplicationNamesList = ApplicationName[]; - export interface ApplicationResourceLifecycleConfig { - /** - * The ARN of an IAM service role that Elastic Beanstalk has permission to assume. - */ - ServiceRole?: String; - /** - * The application version lifecycle configuration. - */ - VersionLifecycleConfig?: ApplicationVersionLifecycleConfig; - } - export interface ApplicationResourceLifecycleDescriptionMessage { - /** - * The name of the application. - */ - ApplicationName?: ApplicationName; - /** - * The lifecycle configuration. - */ - ResourceLifecycleConfig?: ApplicationResourceLifecycleConfig; - } - export interface ApplicationVersionDescription { - /** - * The name of the application to which the application version belongs. - */ - ApplicationName?: ApplicationName; - /** - * The description of the application version. - */ - Description?: Description; - /** - * A unique identifier for the application version. - */ - VersionLabel?: VersionLabel; - /** - * If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version. - */ - SourceBuildInformation?: SourceBuildInformation; - /** - * Reference to the artifact from the AWS CodeBuild build. - */ - BuildArn?: String; - /** - * The storage location of the application version's source bundle in Amazon S3. - */ - SourceBundle?: S3Location; - /** - * The creation date of the application version. - */ - DateCreated?: CreationDate; - /** - * The last modified date of the application version. - */ - DateUpdated?: UpdateDate; - /** - * The processing status of the application version. - */ - Status?: ApplicationVersionStatus; - } - export type ApplicationVersionDescriptionList = ApplicationVersionDescription[]; - export interface ApplicationVersionDescriptionMessage { - /** - * The ApplicationVersionDescription of the application version. - */ - ApplicationVersion?: ApplicationVersionDescription; - } - export interface ApplicationVersionDescriptionsMessage { - /** - * List of ApplicationVersionDescription objects sorted in order of creation. - */ - ApplicationVersions?: ApplicationVersionDescriptionList; - /** - * For a paginated request, the token that you can pass in a subsequent request to get the next page. - */ - NextToken?: Token; - } - export interface ApplicationVersionLifecycleConfig { - /** - * Specify a max count rule to restrict the number of application versions that are retained for an application. - */ - MaxCountRule?: MaxCountRule; - /** - * Specify a max age rule to restrict the length of time that application versions are retained for an application. - */ - MaxAgeRule?: MaxAgeRule; - } - export type ApplicationVersionProccess = boolean; - export type ApplicationVersionStatus = "Processed"|"Unprocessed"|"Failed"|"Processing"|"Building"|string; - export interface ApplyEnvironmentManagedActionRequest { - /** - * The name of the target environment. - */ - EnvironmentName?: String; - /** - * The environment ID of the target environment. - */ - EnvironmentId?: String; - /** - * The action ID of the scheduled managed action to execute. - */ - ActionId: String; - } - export interface ApplyEnvironmentManagedActionResult { - /** - * The action ID of the managed action. - */ - ActionId?: String; - /** - * A description of the managed action. - */ - ActionDescription?: String; - /** - * The type of managed action. - */ - ActionType?: ActionType; - /** - * The status of the managed action. - */ - Status?: String; - } - export type AutoCreateApplication = boolean; - export interface AutoScalingGroup { - /** - * The name of the AutoScalingGroup . - */ - Name?: ResourceId; - } - export type AutoScalingGroupList = AutoScalingGroup[]; - export type AvailableSolutionStackDetailsList = SolutionStackDescription[]; - export type AvailableSolutionStackNamesList = SolutionStackName[]; - export type BoxedBoolean = boolean; - export type BoxedInt = number; - export interface BuildConfiguration { - /** - * The name of the artifact of the CodeBuild build. If provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label-artifact-name.zip. If not provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label.zip. - */ - ArtifactName?: String; - /** - * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account. - */ - CodeBuildServiceRole: NonEmptyString; - /** - * Information about the compute resources the build project will use. BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds - */ - ComputeType?: ComputeType; - /** - * The ID of the Docker image to use for this build project. - */ - Image: NonEmptyString; - /** - * How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes. - */ - TimeoutInMinutes?: BoxedInt; - } - export interface Builder { - /** - * The ARN of the builder. - */ - ARN?: ARN; - } - export interface CPUUtilization { - /** - * Percentage of time that the CPU has spent in the User state over the last 10 seconds. - */ - User?: NullableDouble; - /** - * Percentage of time that the CPU has spent in the Nice state over the last 10 seconds. - */ - Nice?: NullableDouble; - /** - * Percentage of time that the CPU has spent in the System state over the last 10 seconds. - */ - System?: NullableDouble; - /** - * Percentage of time that the CPU has spent in the Idle state over the last 10 seconds. - */ - Idle?: NullableDouble; - /** - * Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds. - */ - IOWait?: NullableDouble; - /** - * Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds. - */ - IRQ?: NullableDouble; - /** - * Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds. - */ - SoftIRQ?: NullableDouble; - } - export type Cause = string; - export type Causes = Cause[]; - export interface CheckDNSAvailabilityMessage { - /** - * The prefix used when this CNAME is reserved. - */ - CNAMEPrefix: DNSCnamePrefix; - } - export interface CheckDNSAvailabilityResultMessage { - /** - * Indicates if the specified CNAME is available: true : The CNAME is available. false : The CNAME is not available. - */ - Available?: CnameAvailability; - /** - * The fully qualified CNAME to reserve when CreateEnvironment is called with the provided prefix. - */ - FullyQualifiedCNAME?: DNSCname; - } - export type CnameAvailability = boolean; - export interface ComposeEnvironmentsMessage { - /** - * The name of the application to which the specified source bundles belong. - */ - ApplicationName?: ApplicationName; - /** - * The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details. - */ - GroupName?: GroupName; - /** - * A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create. - */ - VersionLabels?: VersionLabels; - } - export type ComputeType = "BUILD_GENERAL1_SMALL"|"BUILD_GENERAL1_MEDIUM"|"BUILD_GENERAL1_LARGE"|string; - export type ConfigurationDeploymentStatus = "deployed"|"pending"|"failed"|string; - export type ConfigurationOptionDefaultValue = string; - export interface ConfigurationOptionDescription { - /** - * A unique namespace identifying the option's associated AWS resource. - */ - Namespace?: OptionNamespace; - /** - * The name of the configuration option. - */ - Name?: ConfigurationOptionName; - /** - * The default value for this configuration option. - */ - DefaultValue?: ConfigurationOptionDefaultValue; - /** - * An indication of which action is required if the value for this configuration option changes: NoInterruption : There is no interruption to the environment or application availability. RestartEnvironment : The environment is entirely restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process. RestartApplicationServer : The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted. - */ - ChangeSeverity?: ConfigurationOptionSeverity; - /** - * An indication of whether the user defined this configuration option: true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings. false : This configuration was not defined by the user. Constraint: You can remove only UserDefined options from a configuration. Valid Values: true | false - */ - UserDefined?: UserDefinedOption; - /** - * An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints. List : Values for this option are multiple selections from the possible values. Boolean : Values for this option are either true or false . Json : Values for this option are a JSON representation of a ConfigDocument. - */ - ValueType?: ConfigurationOptionValueType; - /** - * If specified, values for the configuration option are selected from this list. - */ - ValueOptions?: ConfigurationOptionPossibleValues; - /** - * If specified, the configuration option must be a numeric value greater than this value. - */ - MinValue?: OptionRestrictionMinValue; - /** - * If specified, the configuration option must be a numeric value less than this value. - */ - MaxValue?: OptionRestrictionMaxValue; - /** - * If specified, the configuration option must be a string value no longer than this value. - */ - MaxLength?: OptionRestrictionMaxLength; - /** - * If specified, the configuration option must be a string value that satisfies this regular expression. - */ - Regex?: OptionRestrictionRegex; - } - export type ConfigurationOptionDescriptionsList = ConfigurationOptionDescription[]; - export type ConfigurationOptionName = string; - export type ConfigurationOptionPossibleValue = string; - export type ConfigurationOptionPossibleValues = ConfigurationOptionPossibleValue[]; - export interface ConfigurationOptionSetting { - /** - * A unique resource name for a time-based scaling configuration option. - */ - ResourceName?: ResourceName; - /** - * A unique namespace identifying the option's associated AWS resource. - */ - Namespace?: OptionNamespace; - /** - * The name of the configuration option. - */ - OptionName?: ConfigurationOptionName; - /** - * The current value for the configuration option. - */ - Value?: ConfigurationOptionValue; - } - export type ConfigurationOptionSettingsList = ConfigurationOptionSetting[]; - export type ConfigurationOptionSeverity = string; - export type ConfigurationOptionValue = string; - export type ConfigurationOptionValueType = "Scalar"|"List"|string; - export interface ConfigurationOptionsDescription { - /** - * The name of the solution stack these configuration options belong to. - */ - SolutionStackName?: SolutionStackName; - /** - * The ARN of the custom platform. - */ - PlatformArn?: PlatformArn; - /** - * A list of ConfigurationOptionDescription. - */ - Options?: ConfigurationOptionDescriptionsList; - } - export interface ConfigurationSettingsDescription { - /** - * The name of the solution stack this configuration set uses. - */ - SolutionStackName?: SolutionStackName; - /** - * The ARN of the custom platform. - */ - PlatformArn?: PlatformArn; - /** - * The name of the application associated with this configuration set. - */ - ApplicationName?: ApplicationName; - /** - * If not null, the name of the configuration template for this configuration set. - */ - TemplateName?: ConfigurationTemplateName; - /** - * Describes this configuration set. - */ - Description?: Description; - /** - * If not null, the name of the environment for this configuration set. - */ - EnvironmentName?: EnvironmentName; - /** - * If this configuration set is associated with an environment, the DeploymentStatus parameter indicates the deployment status of this configuration set: null: This configuration is not associated with a running environment. pending: This is a draft configuration that is not deployed to the associated environment but is in the process of deploying. deployed: This is the configuration that is currently deployed to the associated running environment. failed: This is a draft configuration that failed to successfully deploy. - */ - DeploymentStatus?: ConfigurationDeploymentStatus; - /** - * The date (in UTC time) when this configuration set was created. - */ - DateCreated?: CreationDate; - /** - * The date (in UTC time) when this configuration set was last modified. - */ - DateUpdated?: UpdateDate; - /** - * A list of the configuration options and their values in this configuration set. - */ - OptionSettings?: ConfigurationOptionSettingsList; - } - export type ConfigurationSettingsDescriptionList = ConfigurationSettingsDescription[]; - export interface ConfigurationSettingsDescriptions { - /** - * A list of ConfigurationSettingsDescription. - */ - ConfigurationSettings?: ConfigurationSettingsDescriptionList; - } - export interface ConfigurationSettingsValidationMessages { - /** - * A list of ValidationMessage. - */ - Messages?: ValidationMessagesList; - } - export type ConfigurationTemplateName = string; - export type ConfigurationTemplateNamesList = ConfigurationTemplateName[]; - export interface CreateApplicationMessage { - /** - * The name of the application. Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error. - */ - ApplicationName: ApplicationName; - /** - * Describes the application. - */ - Description?: Description; - /** - * Specify an application resource lifecycle configuration to prevent your application from accumulating too many versions. - */ - ResourceLifecycleConfig?: ApplicationResourceLifecycleConfig; - } - export interface CreateApplicationVersionMessage { - /** - * The name of the application. If no application is found with this name, and AutoCreateApplication is false, returns an InvalidParameterValue error. - */ - ApplicationName: ApplicationName; - /** - * A label identifying this version. Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an InvalidParameterValue error. - */ - VersionLabel: VersionLabel; - /** - * Describes this version. - */ - Description?: Description; - /** - * Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version. - */ - SourceBuildInformation?: SourceBuildInformation; - /** - * The Amazon S3 bucket and key that identify the location of the source bundle for this version. The Amazon S3 bucket must be in the same region as the environment. Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with SourceBuildInformation), but not both. If neither SourceBundle nor SourceBuildInformation are provided, Elastic Beanstalk uses a sample application. - */ - SourceBundle?: S3Location; - /** - * Settings for an AWS CodeBuild build. - */ - BuildConfiguration?: BuildConfiguration; - /** - * Set to true to create an application with the specified name if it doesn't already exist. - */ - AutoCreateApplication?: AutoCreateApplication; - /** - * Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment. - */ - Process?: ApplicationVersionProccess; - } - export interface CreateConfigurationTemplateMessage { - /** - * The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error. - */ - ApplicationName: ApplicationName; - /** - * The name of the configuration template. Constraint: This name must be unique per application. Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error. - */ - TemplateName: ConfigurationTemplateName; - /** - * The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values. Use ListAvailableSolutionStacks to obtain a list of available solution stacks. A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an InvalidParameterValue error. If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template. - */ - SolutionStackName?: SolutionStackName; - /** - * The ARN of the custome platform. - */ - PlatformArn?: PlatformArn; - /** - * If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration. Values specified in the OptionSettings parameter of this call overrides any values obtained from the SourceConfiguration. If no configuration template is found, returns an InvalidParameterValue error. Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an InvalidParameterCombination error. - */ - SourceConfiguration?: SourceConfiguration; - /** - * The ID of the environment used with this configuration template. - */ - EnvironmentId?: EnvironmentId; - /** - * Describes this configuration. - */ - Description?: Description; - /** - * If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template. - */ - OptionSettings?: ConfigurationOptionSettingsList; - } - export interface CreateEnvironmentMessage { - /** - * The name of the application that contains the version to be deployed. If no application is found with this name, CreateEnvironment returns an InvalidParameterValue error. - */ - ApplicationName: ApplicationName; - /** - * A unique name for the deployment environment. Used in the application URL. Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens. It cannot start or end with a hyphen. This name must be unique in your account. If the specified name already exists, AWS Elastic Beanstalk returns an InvalidParameterValue error. Default: If the CNAME parameter is not specified, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application. - */ - EnvironmentName?: EnvironmentName; - /** - * The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name parameter. See Environment Manifest (env.yaml) for details. - */ - GroupName?: GroupName; - /** - * Describes this environment. - */ - Description?: Description; - /** - * If specified, the environment attempts to use this value as the prefix for the CNAME. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name. - */ - CNAMEPrefix?: DNSCnamePrefix; - /** - * This specifies the tier to use for creating this environment. - */ - Tier?: EnvironmentTier; - /** - * This specifies the tags applied to resources in the environment. - */ - Tags?: Tags; - /** - * The name of the application version to deploy. If the specified application has no associated application versions, AWS Elastic Beanstalk UpdateEnvironment returns an InvalidParameterValue error. Default: If not specified, AWS Elastic Beanstalk attempts to launch the sample application in the container. - */ - VersionLabel?: VersionLabel; - /** - * The name of the configuration template to use in deployment. If no configuration template is found with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error. - */ - TemplateName?: ConfigurationTemplateName; - /** - * This is an alternative to specifying a template name. If specified, AWS Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack. - */ - SolutionStackName?: SolutionStackName; - /** - * The ARN of the custom platform. - */ - PlatformArn?: PlatformArn; - /** - * If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the configuration template. - */ - OptionSettings?: ConfigurationOptionSettingsList; - /** - * A list of custom user-defined configuration options to remove from the configuration set for this new environment. - */ - OptionsToRemove?: OptionsSpecifierList; - } - export interface CreatePlatformVersionRequest { - /** - * The name of your custom platform. - */ - PlatformName: PlatformName; - /** - * The number, such as 1.0.2, for the new platform version. - */ - PlatformVersion: PlatformVersion; - /** - * The location of the platform definition archive in Amazon S3. - */ - PlatformDefinitionBundle: S3Location; - /** - * The name of the builder environment. - */ - EnvironmentName?: EnvironmentName; - /** - * The configuration option settings to apply to the builder environment. - */ - OptionSettings?: ConfigurationOptionSettingsList; - } - export interface CreatePlatformVersionResult { - /** - * Detailed information about the new version of the custom platform. - */ - PlatformSummary?: PlatformSummary; - /** - * The builder used to create the custom platform. - */ - Builder?: Builder; - } - export interface CreateStorageLocationResultMessage { - /** - * The name of the Amazon S3 bucket created. - */ - S3Bucket?: S3Bucket; - } - export type CreationDate = Date; - export interface CustomAmi { - /** - * The type of virtualization used to create the custom AMI. - */ - VirtualizationType?: VirtualizationType; - /** - * THe ID of the image used to create the custom AMI. - */ - ImageId?: ImageId; - } - export type CustomAmiList = CustomAmi[]; - export type DNSCname = string; - export type DNSCnamePrefix = string; - export interface DeleteApplicationMessage { - /** - * The name of the application to delete. - */ - ApplicationName: ApplicationName; - /** - * When set to true, running environments will be terminated before deleting the application. - */ - TerminateEnvByForce?: TerminateEnvForce; - } - export interface DeleteApplicationVersionMessage { - /** - * The name of the application to which the version belongs. - */ - ApplicationName: ApplicationName; - /** - * The label of the version to delete. - */ - VersionLabel: VersionLabel; - /** - * Set to true to delete the source bundle from your storage bucket. Otherwise, the application version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3. - */ - DeleteSourceBundle?: DeleteSourceBundle; - } - export interface DeleteConfigurationTemplateMessage { - /** - * The name of the application to delete the configuration template from. - */ - ApplicationName: ApplicationName; - /** - * The name of the configuration template to delete. - */ - TemplateName: ConfigurationTemplateName; - } - export interface DeleteEnvironmentConfigurationMessage { - /** - * The name of the application the environment is associated with. - */ - ApplicationName: ApplicationName; - /** - * The name of the environment to delete the draft configuration from. - */ - EnvironmentName: EnvironmentName; - } - export interface DeletePlatformVersionRequest { - /** - * The ARN of the version of the custom platform. - */ - PlatformArn?: PlatformArn; - } - export interface DeletePlatformVersionResult { - /** - * Detailed information about the version of the custom platform. - */ - PlatformSummary?: PlatformSummary; - } - export type DeleteSourceBundle = boolean; - export interface Deployment { - /** - * The version label of the application version in the deployment. - */ - VersionLabel?: String; - /** - * The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings. - */ - DeploymentId?: NullableLong; - /** - * The status of the deployment: In Progress : The deployment is in progress. Deployed : The deployment succeeded. Failed : The deployment failed. - */ - Status?: String; - /** - * For in-progress deployments, the time that the deloyment started. For completed deployments, the time that the deployment ended. - */ - DeploymentTime?: DeploymentTimestamp; - } - export type DeploymentTimestamp = Date; - export interface DescribeApplicationVersionsMessage { - /** - * Specify an application name to show only application versions for that application. - */ - ApplicationName?: ApplicationName; - /** - * Specify a version label to show a specific application version. - */ - VersionLabels?: VersionLabelsList; - /** - * Specify a maximum number of application versions to paginate in the request. - */ - MaxRecords?: MaxRecords; - /** - * Specify a next token to retrieve the next page in a paginated request. - */ - NextToken?: Token; - } - export interface DescribeApplicationsMessage { - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include those with the specified names. - */ - ApplicationNames?: ApplicationNamesList; - } - export interface DescribeConfigurationOptionsMessage { - /** - * The name of the application associated with the configuration template or environment. Only needed if you want to describe the configuration options associated with either the configuration template or environment. - */ - ApplicationName?: ApplicationName; - /** - * The name of the configuration template whose configuration options you want to describe. - */ - TemplateName?: ConfigurationTemplateName; - /** - * The name of the environment whose configuration options you want to describe. - */ - EnvironmentName?: EnvironmentName; - /** - * The name of the solution stack whose configuration options you want to describe. - */ - SolutionStackName?: SolutionStackName; - /** - * The ARN of the custom platform. - */ - PlatformArn?: PlatformArn; - /** - * If specified, restricts the descriptions to only the specified options. - */ - Options?: OptionsSpecifierList; - } - export interface DescribeConfigurationSettingsMessage { - /** - * The application for the environment or configuration template. - */ - ApplicationName: ApplicationName; - /** - * The name of the configuration template to describe. Conditional: You must specify either this parameter or an EnvironmentName, but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination error. If you do not specify either, AWS Elastic Beanstalk returns a MissingRequiredParameter error. - */ - TemplateName?: ConfigurationTemplateName; - /** - * The name of the environment to describe. Condition: You must specify either this or a TemplateName, but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination error. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentName?: EnvironmentName; - } - export interface DescribeEnvironmentHealthRequest { - /** - * Specify the environment by name. You must specify either this or an EnvironmentName, or both. - */ - EnvironmentName?: EnvironmentName; - /** - * Specify the environment by ID. You must specify either this or an EnvironmentName, or both. - */ - EnvironmentId?: EnvironmentId; - /** - * Specify the response elements to return. To retrieve all attributes, set to All. If no attribute names are specified, returns the name of the environment. - */ - AttributeNames?: EnvironmentHealthAttributes; - } - export interface DescribeEnvironmentHealthResult { - /** - * The environment's name. - */ - EnvironmentName?: EnvironmentName; - /** - * The health status of the environment. For example, Ok. - */ - HealthStatus?: String; - /** - * The environment's operational status. Ready, Launching, Updating, Terminating, or Terminated. - */ - Status?: EnvironmentHealth; - /** - * The health color of the environment. - */ - Color?: String; - /** - * Descriptions of the data that contributed to the environment's current health status. - */ - Causes?: Causes; - /** - * Application request metrics for the environment. - */ - ApplicationMetrics?: ApplicationMetrics; - /** - * Summary health information for the instances in the environment. - */ - InstancesHealth?: InstanceHealthSummary; - /** - * The date and time that the health information was retrieved. - */ - RefreshedAt?: RefreshedAt; - } - export interface DescribeEnvironmentManagedActionHistoryRequest { - /** - * The environment ID of the target environment. - */ - EnvironmentId?: EnvironmentId; - /** - * The name of the target environment. - */ - EnvironmentName?: EnvironmentName; - /** - * The pagination token returned by a previous request. - */ - NextToken?: String; - /** - * The maximum number of items to return for a single request. - */ - MaxItems?: Integer; - } - export interface DescribeEnvironmentManagedActionHistoryResult { - /** - * A list of completed and failed managed actions. - */ - ManagedActionHistoryItems?: ManagedActionHistoryItems; - /** - * A pagination token that you pass to DescribeEnvironmentManagedActionHistory to get the next page of results. - */ - NextToken?: String; - } - export interface DescribeEnvironmentManagedActionsRequest { - /** - * The name of the target environment. - */ - EnvironmentName?: String; - /** - * The environment ID of the target environment. - */ - EnvironmentId?: String; - /** - * To show only actions with a particular status, specify a status. - */ - Status?: ActionStatus; - } - export interface DescribeEnvironmentManagedActionsResult { - /** - * A list of upcoming and in-progress managed actions. - */ - ManagedActions?: ManagedActions; - } - export interface DescribeEnvironmentResourcesMessage { - /** - * The ID of the environment to retrieve AWS resource usage data. Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentId?: EnvironmentId; - /** - * The name of the environment to retrieve AWS resource usage data. Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentName?: EnvironmentName; - } - export interface DescribeEnvironmentsMessage { - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application. - */ - ApplicationName?: ApplicationName; - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version. - */ - VersionLabel?: VersionLabel; - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs. - */ - EnvironmentIds?: EnvironmentIdList; - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names. - */ - EnvironmentNames?: EnvironmentNamesList; - /** - * Indicates whether to include deleted environments: true: Environments that have been deleted after IncludedDeletedBackTo are displayed. false: Do not include deleted environments. - */ - IncludeDeleted?: IncludeDeleted; - /** - * If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed. - */ - IncludedDeletedBackTo?: IncludeDeletedBackTo; - } - export interface DescribeEventsMessage { - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application. - */ - ApplicationName?: ApplicationName; - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version. - */ - VersionLabel?: VersionLabel; - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration. - */ - TemplateName?: ConfigurationTemplateName; - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment. - */ - EnvironmentId?: EnvironmentId; - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment. - */ - EnvironmentName?: EnvironmentName; - /** - * The ARN of the version of the custom platform. - */ - PlatformArn?: PlatformArn; - /** - * If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID. - */ - RequestId?: RequestId; - /** - * If specified, limits the events returned from this call to include only those with the specified severity or higher. - */ - Severity?: EventSeverity; - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time. - */ - StartTime?: TimeFilterStart; - /** - * If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime. - */ - EndTime?: TimeFilterEnd; - /** - * Specifies the maximum number of events that can be returned, beginning with the most recent event. - */ - MaxRecords?: MaxRecords; - /** - * Pagination token. If specified, the events return the next batch of results. - */ - NextToken?: Token; - } - export interface DescribeInstancesHealthRequest { - /** - * Specify the AWS Elastic Beanstalk environment by name. - */ - EnvironmentName?: EnvironmentName; - /** - * Specify the AWS Elastic Beanstalk environment by ID. - */ - EnvironmentId?: EnvironmentId; - /** - * Specifies the response elements you wish to receive. To retrieve all attributes, set to All. If no attribute names are specified, returns a list of instances. - */ - AttributeNames?: InstancesHealthAttributes; - /** - * Specify the pagination token returned by a previous call. - */ - NextToken?: NextToken; - } - export interface DescribeInstancesHealthResult { - /** - * Detailed health information about each instance. - */ - InstanceHealthList?: InstanceHealthList; - /** - * The date and time that the health information was retrieved. - */ - RefreshedAt?: RefreshedAt; - /** - * Pagination token for the next page of results, if available. - */ - NextToken?: NextToken; - } - export interface DescribePlatformVersionRequest { - /** - * The ARN of the version of the platform. - */ - PlatformArn?: PlatformArn; - } - export interface DescribePlatformVersionResult { - /** - * Detailed information about the version of the platform. - */ - PlatformDescription?: PlatformDescription; - } - export type Description = string; - export type Ec2InstanceId = string; - export type EndpointURL = string; - export interface EnvironmentDescription { - /** - * The name of this environment. - */ - EnvironmentName?: EnvironmentName; - /** - * The ID of this environment. - */ - EnvironmentId?: EnvironmentId; - /** - * The name of the application associated with this environment. - */ - ApplicationName?: ApplicationName; - /** - * The application version deployed in this environment. - */ - VersionLabel?: VersionLabel; - /** - * The name of the SolutionStack deployed with this environment. - */ - SolutionStackName?: SolutionStackName; - /** - * The ARN of the custom platform. - */ - PlatformArn?: PlatformArn; - /** - * The name of the configuration template used to originally launch this environment. - */ - TemplateName?: ConfigurationTemplateName; - /** - * Describes this environment. - */ - Description?: Description; - /** - * For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance. - */ - EndpointURL?: EndpointURL; - /** - * The URL to the CNAME for this environment. - */ - CNAME?: DNSCname; - /** - * The creation date for this environment. - */ - DateCreated?: CreationDate; - /** - * The last modified date for this environment. - */ - DateUpdated?: UpdateDate; - /** - * The current operational status of the environment: Launching: Environment is in the process of initial deployment. Updating: Environment is in the process of updating its configuration settings or application version. Ready: Environment is available to have an action performed on it, such as update or terminate. Terminating: Environment is in the shut-down process. Terminated: Environment is not running. - */ - Status?: EnvironmentStatus; - /** - * Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel. true: There is an update in progress. false: There are no updates currently in progress. - */ - AbortableOperationInProgress?: AbortableOperationInProgress; - /** - * Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment: Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment. Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment. Green: Indicates the environment is healthy and fully functional. Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or RestartEnvironement request. Default: Grey - */ - Health?: EnvironmentHealth; - /** - * Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses. - */ - HealthStatus?: EnvironmentHealthStatus; - /** - * The description of the AWS resources used by this environment. - */ - Resources?: EnvironmentResourcesDescription; - /** - * Describes the current tier of this environment. - */ - Tier?: EnvironmentTier; - /** - * A list of links to other environments in the same group. - */ - EnvironmentLinks?: EnvironmentLinks; - } - export type EnvironmentDescriptionsList = EnvironmentDescription[]; - export interface EnvironmentDescriptionsMessage { - /** - * Returns an EnvironmentDescription list. - */ - Environments?: EnvironmentDescriptionsList; - } - export type EnvironmentHealth = "Green"|"Yellow"|"Red"|"Grey"|string; - export type EnvironmentHealthAttribute = "Status"|"Color"|"Causes"|"ApplicationMetrics"|"InstancesHealth"|"All"|"HealthStatus"|"RefreshedAt"|string; - export type EnvironmentHealthAttributes = EnvironmentHealthAttribute[]; - export type EnvironmentHealthStatus = "NoData"|"Unknown"|"Pending"|"Ok"|"Info"|"Warning"|"Degraded"|"Severe"|string; - export type EnvironmentId = string; - export type EnvironmentIdList = EnvironmentId[]; - export interface EnvironmentInfoDescription { - /** - * The type of information retrieved. - */ - InfoType?: EnvironmentInfoType; - /** - * The Amazon EC2 Instance ID for this information. - */ - Ec2InstanceId?: Ec2InstanceId; - /** - * The time stamp when this information was retrieved. - */ - SampleTimestamp?: SampleTimestamp; - /** - * The retrieved information. - */ - Message?: Message; - } - export type EnvironmentInfoDescriptionList = EnvironmentInfoDescription[]; - export type EnvironmentInfoType = "tail"|"bundle"|string; - export interface EnvironmentLink { - /** - * The name of the link. - */ - LinkName?: String; - /** - * The name of the linked environment (the dependency). - */ - EnvironmentName?: String; - } - export type EnvironmentLinks = EnvironmentLink[]; - export type EnvironmentName = string; - export type EnvironmentNamesList = EnvironmentName[]; - export interface EnvironmentResourceDescription { - /** - * The name of the environment. - */ - EnvironmentName?: EnvironmentName; - /** - * The AutoScalingGroups used by this environment. - */ - AutoScalingGroups?: AutoScalingGroupList; - /** - * The Amazon EC2 instances used by this environment. - */ - Instances?: InstanceList; - /** - * The Auto Scaling launch configurations in use by this environment. - */ - LaunchConfigurations?: LaunchConfigurationList; - /** - * The LoadBalancers in use by this environment. - */ - LoadBalancers?: LoadBalancerList; - /** - * The AutoScaling triggers in use by this environment. - */ - Triggers?: TriggerList; - /** - * The queues used by this environment. - */ - Queues?: QueueList; - } - export interface EnvironmentResourceDescriptionsMessage { - /** - * A list of EnvironmentResourceDescription. - */ - EnvironmentResources?: EnvironmentResourceDescription; - } - export interface EnvironmentResourcesDescription { - /** - * Describes the LoadBalancer. - */ - LoadBalancer?: LoadBalancerDescription; - } - export type EnvironmentStatus = "Launching"|"Updating"|"Ready"|"Terminating"|"Terminated"|string; - export interface EnvironmentTier { - /** - * The name of this environment tier. - */ - Name?: String; - /** - * The type of this environment tier. - */ - Type?: String; - /** - * The version of this environment tier. - */ - Version?: String; - } - export type EventDate = Date; - export interface EventDescription { - /** - * The date when the event occurred. - */ - EventDate?: EventDate; - /** - * The event message. - */ - Message?: EventMessage; - /** - * The application associated with the event. - */ - ApplicationName?: ApplicationName; - /** - * The release label for the application version associated with this event. - */ - VersionLabel?: VersionLabel; - /** - * The name of the configuration associated with this event. - */ - TemplateName?: ConfigurationTemplateName; - /** - * The name of the environment associated with this event. - */ - EnvironmentName?: EnvironmentName; - /** - * The ARN of the custom platform. - */ - PlatformArn?: PlatformArn; - /** - * The web service request ID for the activity of this event. - */ - RequestId?: RequestId; - /** - * The severity level of this event. - */ - Severity?: EventSeverity; - } - export type EventDescriptionList = EventDescription[]; - export interface EventDescriptionsMessage { - /** - * A list of EventDescription. - */ - Events?: EventDescriptionList; - /** - * If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events. - */ - NextToken?: Token; - } - export type EventMessage = string; - export type EventSeverity = "TRACE"|"DEBUG"|"INFO"|"WARN"|"ERROR"|"FATAL"|string; - export type ExceptionMessage = string; - export type FailureType = "UpdateCancelled"|"CancellationFailed"|"RollbackFailed"|"RollbackSuccessful"|"InternalFailure"|"InvalidEnvironmentState"|"PermissionsError"|string; - export type FileTypeExtension = string; - export type ForceTerminate = boolean; - export type GroupName = string; - export type ImageId = string; - export type IncludeDeleted = boolean; - export type IncludeDeletedBackTo = Date; - export interface Instance { - /** - * The ID of the Amazon EC2 instance. - */ - Id?: ResourceId; - } - export type InstanceHealthList = SingleInstanceHealth[]; - export interface InstanceHealthSummary { - /** - * Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance. - */ - NoData?: NullableInteger; - /** - * Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance. - */ - Unknown?: NullableInteger; - /** - * Grey. An operation is in progress on an instance within the command timeout. - */ - Pending?: NullableInteger; - /** - * Green. An instance is passing health checks and the health agent is not reporting any problems. - */ - Ok?: NullableInteger; - /** - * Green. An operation is in progress on an instance. - */ - Info?: NullableInteger; - /** - * Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment. - */ - Warning?: NullableInteger; - /** - * Red. The health agent is reporting a high number of request failures or other issues for an instance or environment. - */ - Degraded?: NullableInteger; - /** - * Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment. - */ - Severe?: NullableInteger; - } - export type InstanceId = string; - export type InstanceList = Instance[]; - export type InstancesHealthAttribute = "HealthStatus"|"Color"|"Causes"|"ApplicationMetrics"|"RefreshedAt"|"LaunchedAt"|"System"|"Deployment"|"AvailabilityZone"|"InstanceType"|"All"|string; - export type InstancesHealthAttributes = InstancesHealthAttribute[]; - export type Integer = number; - export interface Latency { - /** - * The average latency for the slowest 0.1 percent of requests over the last 10 seconds. - */ - P999?: NullableDouble; - /** - * The average latency for the slowest 1 percent of requests over the last 10 seconds. - */ - P99?: NullableDouble; - /** - * The average latency for the slowest 5 percent of requests over the last 10 seconds. - */ - P95?: NullableDouble; - /** - * The average latency for the slowest 10 percent of requests over the last 10 seconds. - */ - P90?: NullableDouble; - /** - * The average latency for the slowest 15 percent of requests over the last 10 seconds. - */ - P85?: NullableDouble; - /** - * The average latency for the slowest 25 percent of requests over the last 10 seconds. - */ - P75?: NullableDouble; - /** - * The average latency for the slowest 50 percent of requests over the last 10 seconds. - */ - P50?: NullableDouble; - /** - * The average latency for the slowest 90 percent of requests over the last 10 seconds. - */ - P10?: NullableDouble; - } - export interface LaunchConfiguration { - /** - * The name of the launch configuration. - */ - Name?: ResourceId; - } - export type LaunchConfigurationList = LaunchConfiguration[]; - export type LaunchedAt = Date; - export interface ListAvailableSolutionStacksResultMessage { - /** - * A list of available solution stacks. - */ - SolutionStacks?: AvailableSolutionStackNamesList; - /** - * A list of available solution stacks and their SolutionStackDescription. - */ - SolutionStackDetails?: AvailableSolutionStackDetailsList; - } - export interface ListPlatformVersionsRequest { - /** - * List only the platforms where the platform member value relates to one of the supplied values. - */ - Filters?: PlatformFilters; - /** - * The maximum number of platform values returned in one call. - */ - MaxRecords?: PlatformMaxRecords; - /** - * The starting index into the remaining list of platforms. Use the NextToken value from a previous ListPlatformVersion call. - */ - NextToken?: Token; - } - export interface ListPlatformVersionsResult { - /** - * Detailed information about the platforms. - */ - PlatformSummaryList?: PlatformSummaryList; - /** - * The starting index into the remaining list of platforms. if this value is not null, you can use it in a subsequent ListPlatformVersion call. - */ - NextToken?: Token; - } - export interface Listener { - /** - * The protocol that is used by the Listener. - */ - Protocol?: String; - /** - * The port that is used by the Listener. - */ - Port?: Integer; - } - export type LoadAverage = LoadAverageValue[]; - export type LoadAverageValue = number; - export interface LoadBalancer { - /** - * The name of the LoadBalancer. - */ - Name?: ResourceId; - } - export interface LoadBalancerDescription { - /** - * The name of the LoadBalancer. - */ - LoadBalancerName?: String; - /** - * The domain name of the LoadBalancer. - */ - Domain?: String; - /** - * A list of Listeners used by the LoadBalancer. - */ - Listeners?: LoadBalancerListenersDescription; - } - export type LoadBalancerList = LoadBalancer[]; - export type LoadBalancerListenersDescription = Listener[]; - export type Maintainer = string; - export interface ManagedAction { - /** - * A unique identifier for the managed action. - */ - ActionId?: String; - /** - * A description of the managed action. - */ - ActionDescription?: String; - /** - * The type of managed action. - */ - ActionType?: ActionType; - /** - * The status of the managed action. If the action is Scheduled, you can apply it immediately with ApplyEnvironmentManagedAction. - */ - Status?: ActionStatus; - /** - * The start time of the maintenance window in which the managed action will execute. - */ - WindowStartTime?: Timestamp; - } - export interface ManagedActionHistoryItem { - /** - * A unique identifier for the managed action. - */ - ActionId?: String; - /** - * The type of the managed action. - */ - ActionType?: ActionType; - /** - * A description of the managed action. - */ - ActionDescription?: String; - /** - * If the action failed, the type of failure. - */ - FailureType?: FailureType; - /** - * The status of the action. - */ - Status?: ActionHistoryStatus; - /** - * If the action failed, a description of the failure. - */ - FailureDescription?: String; - /** - * The date and time that the action started executing. - */ - ExecutedTime?: Timestamp; - /** - * The date and time that the action finished executing. - */ - FinishedTime?: Timestamp; - } - export type ManagedActionHistoryItems = ManagedActionHistoryItem[]; - export type ManagedActions = ManagedAction[]; - export interface MaxAgeRule { - /** - * Specify true to apply the rule, or false to disable it. - */ - Enabled: BoxedBoolean; - /** - * Specify the number of days to retain an application versions. - */ - MaxAgeInDays?: BoxedInt; - /** - * Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version. - */ - DeleteSourceFromS3?: BoxedBoolean; - } - export interface MaxCountRule { - /** - * Specify true to apply the rule, or false to disable it. - */ - Enabled: BoxedBoolean; - /** - * Specify the maximum number of application versions to retain. - */ - MaxCount?: BoxedInt; - /** - * Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version. - */ - DeleteSourceFromS3?: BoxedBoolean; - } - export type MaxRecords = number; - export type Message = string; - export type NextToken = string; - export type NonEmptyString = string; - export type NullableDouble = number; - export type NullableInteger = number; - export type NullableLong = number; - export type OperatingSystemName = string; - export type OperatingSystemVersion = string; - export type OptionNamespace = string; - export type OptionRestrictionMaxLength = number; - export type OptionRestrictionMaxValue = number; - export type OptionRestrictionMinValue = number; - export interface OptionRestrictionRegex { - /** - * The regular expression pattern that a string configuration option value with this restriction must match. - */ - Pattern?: RegexPattern; - /** - * A unique name representing this regular expression. - */ - Label?: RegexLabel; - } - export interface OptionSpecification { - /** - * A unique resource name for a time-based scaling configuration option. - */ - ResourceName?: ResourceName; - /** - * A unique namespace identifying the option's associated AWS resource. - */ - Namespace?: OptionNamespace; - /** - * The name of the configuration option. - */ - OptionName?: ConfigurationOptionName; - } - export type OptionsSpecifierList = OptionSpecification[]; - export type PlatformArn = string; - export type PlatformCategory = string; - export interface PlatformDescription { - /** - * The ARN of the platform. - */ - PlatformArn?: PlatformArn; - /** - * The AWS account ID of the person who created the platform. - */ - PlatformOwner?: PlatformOwner; - /** - * The name of the platform. - */ - PlatformName?: PlatformName; - /** - * The version of the platform. - */ - PlatformVersion?: PlatformVersion; - /** - * The name of the solution stack used by the platform. - */ - SolutionStackName?: SolutionStackName; - /** - * The status of the platform. - */ - PlatformStatus?: PlatformStatus; - /** - * The date when the platform was created. - */ - DateCreated?: CreationDate; - /** - * The date when the platform was last updated. - */ - DateUpdated?: UpdateDate; - /** - * The category of the platform. - */ - PlatformCategory?: PlatformCategory; - /** - * The description of the platform. - */ - Description?: Description; - /** - * Information about the maintainer of the platform. - */ - Maintainer?: Maintainer; - /** - * The operating system used by the platform. - */ - OperatingSystemName?: OperatingSystemName; - /** - * The version of the operating system used by the platform. - */ - OperatingSystemVersion?: OperatingSystemVersion; - /** - * The programming languages supported by the platform. - */ - ProgrammingLanguages?: PlatformProgrammingLanguages; - /** - * The frameworks supported by the platform. - */ - Frameworks?: PlatformFrameworks; - /** - * The custom AMIs supported by the platform. - */ - CustomAmiList?: CustomAmiList; - /** - * The tiers supported by the platform. - */ - SupportedTierList?: SupportedTierList; - /** - * The additions supported by the platform. - */ - SupportedAddonList?: SupportedAddonList; - } - export interface PlatformFilter { - /** - * The custom platform attribute to which the filter values are applied. Valid Values: PlatformName | PlatformVersion | PlatformStatus | PlatformOwner - */ - Type?: PlatformFilterType; - /** - * The operator to apply to the Type with each of the Values. Valid Values: = (equal to) | != (not equal to) | < (less than) | <= (less than or equal to) | > (greater than) | >= (greater than or equal to) | contains | begins_with | ends_with - */ - Operator?: PlatformFilterOperator; - /** - * The list of values applied to the custom platform attribute. - */ - Values?: PlatformFilterValueList; - } - export type PlatformFilterOperator = string; - export type PlatformFilterType = string; - export type PlatformFilterValue = string; - export type PlatformFilterValueList = PlatformFilterValue[]; - export type PlatformFilters = PlatformFilter[]; - export interface PlatformFramework { - /** - * The name of the framework. - */ - Name?: String; - /** - * The version of the framework. - */ - Version?: String; - } - export type PlatformFrameworks = PlatformFramework[]; - export type PlatformMaxRecords = number; - export type PlatformName = string; - export type PlatformOwner = string; - export interface PlatformProgrammingLanguage { - /** - * The name of the programming language. - */ - Name?: String; - /** - * The version of the programming language. - */ - Version?: String; - } - export type PlatformProgrammingLanguages = PlatformProgrammingLanguage[]; - export type PlatformStatus = "Creating"|"Failed"|"Ready"|"Deleting"|"Deleted"|string; - export interface PlatformSummary { - /** - * The ARN of the platform. - */ - PlatformArn?: PlatformArn; - /** - * The AWS account ID of the person who created the platform. - */ - PlatformOwner?: PlatformOwner; - /** - * The status of the platform. You can create an environment from the platform once it is ready. - */ - PlatformStatus?: PlatformStatus; - /** - * The category of platform. - */ - PlatformCategory?: PlatformCategory; - /** - * The operating system used by the platform. - */ - OperatingSystemName?: OperatingSystemName; - /** - * The version of the operating system used by the platform. - */ - OperatingSystemVersion?: OperatingSystemVersion; - /** - * The tiers in which the platform runs. - */ - SupportedTierList?: SupportedTierList; - /** - * The additions associated with the platform. - */ - SupportedAddonList?: SupportedAddonList; - } - export type PlatformSummaryList = PlatformSummary[]; - export type PlatformVersion = string; - export interface Queue { - /** - * The name of the queue. - */ - Name?: String; - /** - * The URL of the queue. - */ - URL?: String; - } - export type QueueList = Queue[]; - export interface RebuildEnvironmentMessage { - /** - * The ID of the environment to rebuild. Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentId?: EnvironmentId; - /** - * The name of the environment to rebuild. Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentName?: EnvironmentName; - } - export type RefreshedAt = Date; - export type RegexLabel = string; - export type RegexPattern = string; - export type RequestCount = number; - export interface RequestEnvironmentInfoMessage { - /** - * The ID of the environment of the requested data. If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error. Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentId?: EnvironmentId; - /** - * The name of the environment of the requested data. If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error. Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentName?: EnvironmentName; - /** - * The type of information to request. - */ - InfoType: EnvironmentInfoType; - } - export type RequestId = string; - export type ResourceId = string; - export type ResourceName = string; - export interface RestartAppServerMessage { - /** - * The ID of the environment to restart the server for. Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentId?: EnvironmentId; - /** - * The name of the environment to restart the server for. Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentName?: EnvironmentName; - } - export interface RetrieveEnvironmentInfoMessage { - /** - * The ID of the data's environment. If no such environment is found, returns an InvalidParameterValue error. Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentId?: EnvironmentId; - /** - * The name of the data's environment. If no such environment is found, returns an InvalidParameterValue error. Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentName?: EnvironmentName; - /** - * The type of information to retrieve. - */ - InfoType: EnvironmentInfoType; - } - export interface RetrieveEnvironmentInfoResultMessage { - /** - * The EnvironmentInfoDescription of the environment. - */ - EnvironmentInfo?: EnvironmentInfoDescriptionList; - } - export type S3Bucket = string; - export type S3Key = string; - export interface S3Location { - /** - * The Amazon S3 bucket where the data is located. - */ - S3Bucket?: S3Bucket; - /** - * The Amazon S3 key where the data is located. - */ - S3Key?: S3Key; - } - export type SampleTimestamp = Date; - export interface SingleInstanceHealth { - /** - * The ID of the Amazon EC2 instance. - */ - InstanceId?: InstanceId; - /** - * Returns the health status of the specified instance. For more information, see Health Colors and Statuses. - */ - HealthStatus?: String; - /** - * Represents the color indicator that gives you information about the health of the EC2 instance. For more information, see Health Colors and Statuses. - */ - Color?: String; - /** - * Represents the causes, which provide more information about the current health status. - */ - Causes?: Causes; - /** - * The time at which the EC2 instance was launched. - */ - LaunchedAt?: LaunchedAt; - /** - * Request metrics from your application. - */ - ApplicationMetrics?: ApplicationMetrics; - /** - * Operating system metrics from the instance. - */ - System?: SystemStatus; - /** - * Information about the most recent deployment to an instance. - */ - Deployment?: Deployment; - /** - * The availability zone in which the instance runs. - */ - AvailabilityZone?: String; - /** - * The instance's type. - */ - InstanceType?: String; - } - export interface SolutionStackDescription { - /** - * The name of the solution stack. - */ - SolutionStackName?: SolutionStackName; - /** - * The permitted file types allowed for a solution stack. - */ - PermittedFileTypes?: SolutionStackFileTypeList; - } - export type SolutionStackFileTypeList = FileTypeExtension[]; - export type SolutionStackName = string; - export interface SourceBuildInformation { - /** - * The type of repository. Git Zip - */ - SourceType: SourceType; - /** - * Location where the repository is stored. CodeCommit S3 - */ - SourceRepository: SourceRepository; - /** - * The location of the source code, as a formatted string, depending on the value of SourceRepository For CodeCommit, the format is the repository name and commit ID, separated by a forward slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a. For S3, the format is the S3 bucket name and object key, separated by a forward slash. For example, my-s3-bucket/Folders/my-source-file. - */ - SourceLocation: SourceLocation; - } - export interface SourceConfiguration { - /** - * The name of the application associated with the configuration. - */ - ApplicationName?: ApplicationName; - /** - * The name of the configuration template. - */ - TemplateName?: ConfigurationTemplateName; - } - export type SourceLocation = string; - export type SourceRepository = "CodeCommit"|"S3"|string; - export type SourceType = "Git"|"Zip"|string; - export interface StatusCodes { - /** - * The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code. - */ - Status2xx?: NullableInteger; - /** - * The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code. - */ - Status3xx?: NullableInteger; - /** - * The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code. - */ - Status4xx?: NullableInteger; - /** - * The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code. - */ - Status5xx?: NullableInteger; - } - export type String = string; - export type SupportedAddon = string; - export type SupportedAddonList = SupportedAddon[]; - export type SupportedTier = string; - export type SupportedTierList = SupportedTier[]; - export interface SwapEnvironmentCNAMEsMessage { - /** - * The ID of the source environment. Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentId, you must specify the DestinationEnvironmentId. - */ - SourceEnvironmentId?: EnvironmentId; - /** - * The name of the source environment. Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentName, you must specify the DestinationEnvironmentName. - */ - SourceEnvironmentName?: EnvironmentName; - /** - * The ID of the destination environment. Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentId with the DestinationEnvironmentId. - */ - DestinationEnvironmentId?: EnvironmentId; - /** - * The name of the destination environment. Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentName with the DestinationEnvironmentName. - */ - DestinationEnvironmentName?: EnvironmentName; - } - export interface SystemStatus { - /** - * CPU utilization metrics for the instance. - */ - CPUUtilization?: CPUUtilization; - /** - * Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics. - */ - LoadAverage?: LoadAverage; - } - export interface Tag { - /** - * The key of the tag. - */ - Key?: TagKey; - /** - * The value of the tag. - */ - Value?: TagValue; - } - export type TagKey = string; - export type TagValue = string; - export type Tags = Tag[]; - export type TerminateEnvForce = boolean; - export interface TerminateEnvironmentMessage { - /** - * The ID of the environment to terminate. Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentId?: EnvironmentId; - /** - * The name of the environment to terminate. Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentName?: EnvironmentName; - /** - * Indicates whether the associated AWS resources should shut down when the environment is terminated: true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated. false: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate. For more information, see the AWS Elastic Beanstalk User Guide. Default: true Valid Values: true | false - */ - TerminateResources?: TerminateEnvironmentResources; - /** - * Terminates the target environment even if another environment in the same group is dependent on it. - */ - ForceTerminate?: ForceTerminate; - } - export type TerminateEnvironmentResources = boolean; - export type TimeFilterEnd = Date; - export type TimeFilterStart = Date; - export type Timestamp = Date; - export type Token = string; - export interface Trigger { - /** - * The name of the trigger. - */ - Name?: ResourceId; - } - export type TriggerList = Trigger[]; - export interface UpdateApplicationMessage { - /** - * The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error. - */ - ApplicationName: ApplicationName; - /** - * A new description for the application. Default: If not specified, AWS Elastic Beanstalk does not update the description. - */ - Description?: Description; - } - export interface UpdateApplicationResourceLifecycleMessage { - /** - * The name of the application. - */ - ApplicationName: ApplicationName; - /** - * The lifecycle configuration. - */ - ResourceLifecycleConfig: ApplicationResourceLifecycleConfig; - } - export interface UpdateApplicationVersionMessage { - /** - * The name of the application associated with this version. If no application is found with this name, UpdateApplication returns an InvalidParameterValue error. - */ - ApplicationName: ApplicationName; - /** - * The name of the version to update. If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error. - */ - VersionLabel: VersionLabel; - /** - * A new description for this version. - */ - Description?: Description; - } - export interface UpdateConfigurationTemplateMessage { - /** - * The name of the application associated with the configuration template to update. If no application is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error. - */ - ApplicationName: ApplicationName; - /** - * The name of the configuration template to update. If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error. - */ - TemplateName: ConfigurationTemplateName; - /** - * A new description for the configuration. - */ - Description?: Description; - /** - * A list of configuration option settings to update with the new specified option value. - */ - OptionSettings?: ConfigurationOptionSettingsList; - /** - * A list of configuration options to remove from the configuration set. Constraint: You can remove only UserDefined configuration options. - */ - OptionsToRemove?: OptionsSpecifierList; - } - export type UpdateDate = Date; - export interface UpdateEnvironmentMessage { - /** - * The name of the application with which the environment is associated. - */ - ApplicationName?: ApplicationName; - /** - * The ID of the environment to update. If no environment with this ID exists, AWS Elastic Beanstalk returns an InvalidParameterValue error. Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentId?: EnvironmentId; - /** - * The name of the environment to update. If no environment with this name exists, AWS Elastic Beanstalk returns an InvalidParameterValue error. Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - */ - EnvironmentName?: EnvironmentName; - /** - * The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name or environment ID parameters. See Environment Manifest (env.yaml) for details. - */ - GroupName?: GroupName; - /** - * If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment. - */ - Description?: Description; - /** - * This specifies the tier to use to update the environment. Condition: At this time, if you change the tier version, name, or type, AWS Elastic Beanstalk returns InvalidParameterValue error. - */ - Tier?: EnvironmentTier; - /** - * If this parameter is specified, AWS Elastic Beanstalk deploys the named application version to the environment. If no such application version is found, returns an InvalidParameterValue error. - */ - VersionLabel?: VersionLabel; - /** - * If this parameter is specified, AWS Elastic Beanstalk deploys this configuration template to the environment. If no such configuration template is found, AWS Elastic Beanstalk returns an InvalidParameterValue error. - */ - TemplateName?: ConfigurationTemplateName; - /** - * This specifies the platform version that the environment will run after the environment is updated. - */ - SolutionStackName?: SolutionStackName; - /** - * The ARN of the platform, if used. - */ - PlatformArn?: PlatformArn; - /** - * If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and sets the specified configuration options to the requested value. - */ - OptionSettings?: ConfigurationOptionSettingsList; - /** - * A list of custom user-defined configuration options to remove from the configuration set for this environment. - */ - OptionsToRemove?: OptionsSpecifierList; - } - export type UserDefinedOption = boolean; - export interface ValidateConfigurationSettingsMessage { - /** - * The name of the application that the configuration template or environment belongs to. - */ - ApplicationName: ApplicationName; - /** - * The name of the configuration template to validate the settings against. Condition: You cannot specify both this and an environment name. - */ - TemplateName?: ConfigurationTemplateName; - /** - * The name of the environment to validate the settings against. Condition: You cannot specify both this and a configuration template name. - */ - EnvironmentName?: EnvironmentName; - /** - * A list of the options and desired values to evaluate. - */ - OptionSettings: ConfigurationOptionSettingsList; - } - export interface ValidationMessage { - /** - * A message describing the error or warning. - */ - Message?: ValidationMessageString; - /** - * An indication of the severity of this message: error: This message indicates that this is not a valid setting for an option. warning: This message is providing information you should take into account. - */ - Severity?: ValidationSeverity; - /** - * The namespace to which the option belongs. - */ - Namespace?: OptionNamespace; - /** - * The name of the option. - */ - OptionName?: ConfigurationOptionName; - } - export type ValidationMessageString = string; - export type ValidationMessagesList = ValidationMessage[]; - export type ValidationSeverity = "error"|"warning"|string; - export type VersionLabel = string; - export type VersionLabels = VersionLabel[]; - export type VersionLabelsList = VersionLabel[]; - export type VirtualizationType = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2010-12-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ElasticBeanstalk client. - */ - export import Types = ElasticBeanstalk; -} -export = ElasticBeanstalk; diff --git a/src/node_modules/aws-sdk/clients/elasticbeanstalk.js b/src/node_modules/aws-sdk/clients/elasticbeanstalk.js deleted file mode 100644 index ea1938d..0000000 --- a/src/node_modules/aws-sdk/clients/elasticbeanstalk.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['elasticbeanstalk'] = {}; -AWS.ElasticBeanstalk = Service.defineService('elasticbeanstalk', ['2010-12-01']); -Object.defineProperty(apiLoader.services['elasticbeanstalk'], '2010-12-01', { - get: function get() { - var model = require('../apis/elasticbeanstalk-2010-12-01.min.json'); - model.paginators = require('../apis/elasticbeanstalk-2010-12-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ElasticBeanstalk; diff --git a/src/node_modules/aws-sdk/clients/elastictranscoder.d.ts b/src/node_modules/aws-sdk/clients/elastictranscoder.d.ts deleted file mode 100644 index f4bb307..0000000 --- a/src/node_modules/aws-sdk/clients/elastictranscoder.d.ts +++ /dev/null @@ -1,1485 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ElasticTranscoder extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ElasticTranscoder.Types.ClientConfiguration) - config: Config & ElasticTranscoder.Types.ClientConfiguration; - /** - * The CancelJob operation cancels an unfinished job. You can only cancel a job that has a status of Submitted. To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline. - */ - cancelJob(params: ElasticTranscoder.Types.CancelJobRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.CancelJobResponse) => void): Request; - /** - * The CancelJob operation cancels an unfinished job. You can only cancel a job that has a status of Submitted. To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline. - */ - cancelJob(callback?: (err: AWSError, data: ElasticTranscoder.Types.CancelJobResponse) => void): Request; - /** - * When you create a job, Elastic Transcoder returns JSON data that includes the values that you specified plus information about the job that is created. If you have specified more than one output for your jobs (for example, one output for the Kindle Fire and another output for the Apple iPhone 4s), you currently must use the Elastic Transcoder API to list the jobs (as opposed to the AWS Console). - */ - createJob(params: ElasticTranscoder.Types.CreateJobRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.CreateJobResponse) => void): Request; - /** - * When you create a job, Elastic Transcoder returns JSON data that includes the values that you specified plus information about the job that is created. If you have specified more than one output for your jobs (for example, one output for the Kindle Fire and another output for the Apple iPhone 4s), you currently must use the Elastic Transcoder API to list the jobs (as opposed to the AWS Console). - */ - createJob(callback?: (err: AWSError, data: ElasticTranscoder.Types.CreateJobResponse) => void): Request; - /** - * The CreatePipeline operation creates a pipeline with settings that you specify. - */ - createPipeline(params: ElasticTranscoder.Types.CreatePipelineRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.CreatePipelineResponse) => void): Request; - /** - * The CreatePipeline operation creates a pipeline with settings that you specify. - */ - createPipeline(callback?: (err: AWSError, data: ElasticTranscoder.Types.CreatePipelineResponse) => void): Request; - /** - * The CreatePreset operation creates a preset with settings that you specify. Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (ValidationException) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces. Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services. - */ - createPreset(params: ElasticTranscoder.Types.CreatePresetRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.CreatePresetResponse) => void): Request; - /** - * The CreatePreset operation creates a preset with settings that you specify. Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (ValidationException) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces. Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services. - */ - createPreset(callback?: (err: AWSError, data: ElasticTranscoder.Types.CreatePresetResponse) => void): Request; - /** - * The DeletePipeline operation removes a pipeline. You can only delete a pipeline that has never been used or that is not currently in use (doesn't contain any active jobs). If the pipeline is currently in use, DeletePipeline returns an error. - */ - deletePipeline(params: ElasticTranscoder.Types.DeletePipelineRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.DeletePipelineResponse) => void): Request; - /** - * The DeletePipeline operation removes a pipeline. You can only delete a pipeline that has never been used or that is not currently in use (doesn't contain any active jobs). If the pipeline is currently in use, DeletePipeline returns an error. - */ - deletePipeline(callback?: (err: AWSError, data: ElasticTranscoder.Types.DeletePipelineResponse) => void): Request; - /** - * The DeletePreset operation removes a preset that you've added in an AWS region. You can't delete the default presets that are included with Elastic Transcoder. - */ - deletePreset(params: ElasticTranscoder.Types.DeletePresetRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.DeletePresetResponse) => void): Request; - /** - * The DeletePreset operation removes a preset that you've added in an AWS region. You can't delete the default presets that are included with Elastic Transcoder. - */ - deletePreset(callback?: (err: AWSError, data: ElasticTranscoder.Types.DeletePresetResponse) => void): Request; - /** - * The ListJobsByPipeline operation gets a list of the jobs currently in a pipeline. Elastic Transcoder returns all of the jobs currently in the specified pipeline. The response body contains one element for each job that satisfies the search criteria. - */ - listJobsByPipeline(params: ElasticTranscoder.Types.ListJobsByPipelineRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.ListJobsByPipelineResponse) => void): Request; - /** - * The ListJobsByPipeline operation gets a list of the jobs currently in a pipeline. Elastic Transcoder returns all of the jobs currently in the specified pipeline. The response body contains one element for each job that satisfies the search criteria. - */ - listJobsByPipeline(callback?: (err: AWSError, data: ElasticTranscoder.Types.ListJobsByPipelineResponse) => void): Request; - /** - * The ListJobsByStatus operation gets a list of jobs that have a specified status. The response body contains one element for each job that satisfies the search criteria. - */ - listJobsByStatus(params: ElasticTranscoder.Types.ListJobsByStatusRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.ListJobsByStatusResponse) => void): Request; - /** - * The ListJobsByStatus operation gets a list of jobs that have a specified status. The response body contains one element for each job that satisfies the search criteria. - */ - listJobsByStatus(callback?: (err: AWSError, data: ElasticTranscoder.Types.ListJobsByStatusResponse) => void): Request; - /** - * The ListPipelines operation gets a list of the pipelines associated with the current AWS account. - */ - listPipelines(params: ElasticTranscoder.Types.ListPipelinesRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.ListPipelinesResponse) => void): Request; - /** - * The ListPipelines operation gets a list of the pipelines associated with the current AWS account. - */ - listPipelines(callback?: (err: AWSError, data: ElasticTranscoder.Types.ListPipelinesResponse) => void): Request; - /** - * The ListPresets operation gets a list of the default presets included with Elastic Transcoder and the presets that you've added in an AWS region. - */ - listPresets(params: ElasticTranscoder.Types.ListPresetsRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.ListPresetsResponse) => void): Request; - /** - * The ListPresets operation gets a list of the default presets included with Elastic Transcoder and the presets that you've added in an AWS region. - */ - listPresets(callback?: (err: AWSError, data: ElasticTranscoder.Types.ListPresetsResponse) => void): Request; - /** - * The ReadJob operation returns detailed information about a job. - */ - readJob(params: ElasticTranscoder.Types.ReadJobRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.ReadJobResponse) => void): Request; - /** - * The ReadJob operation returns detailed information about a job. - */ - readJob(callback?: (err: AWSError, data: ElasticTranscoder.Types.ReadJobResponse) => void): Request; - /** - * The ReadPipeline operation gets detailed information about a pipeline. - */ - readPipeline(params: ElasticTranscoder.Types.ReadPipelineRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.ReadPipelineResponse) => void): Request; - /** - * The ReadPipeline operation gets detailed information about a pipeline. - */ - readPipeline(callback?: (err: AWSError, data: ElasticTranscoder.Types.ReadPipelineResponse) => void): Request; - /** - * The ReadPreset operation gets detailed information about a preset. - */ - readPreset(params: ElasticTranscoder.Types.ReadPresetRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.ReadPresetResponse) => void): Request; - /** - * The ReadPreset operation gets detailed information about a preset. - */ - readPreset(callback?: (err: AWSError, data: ElasticTranscoder.Types.ReadPresetResponse) => void): Request; - /** - * The TestRole operation tests the IAM role used to create the pipeline. The TestRole action lets you determine whether the IAM role you are using has sufficient permissions to let Elastic Transcoder perform tasks associated with the transcoding process. The action attempts to assume the specified IAM role, checks read access to the input and output buckets, and tries to send a test notification to Amazon SNS topics that you specify. - */ - testRole(params: ElasticTranscoder.Types.TestRoleRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.TestRoleResponse) => void): Request; - /** - * The TestRole operation tests the IAM role used to create the pipeline. The TestRole action lets you determine whether the IAM role you are using has sufficient permissions to let Elastic Transcoder perform tasks associated with the transcoding process. The action attempts to assume the specified IAM role, checks read access to the input and output buckets, and tries to send a test notification to Amazon SNS topics that you specify. - */ - testRole(callback?: (err: AWSError, data: ElasticTranscoder.Types.TestRoleResponse) => void): Request; - /** - * Use the UpdatePipeline operation to update settings for a pipeline. When you change pipeline settings, your changes take effect immediately. Jobs that you have already submitted and that Elastic Transcoder has not started to process are affected in addition to jobs that you submit after you change settings. - */ - updatePipeline(params: ElasticTranscoder.Types.UpdatePipelineRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.UpdatePipelineResponse) => void): Request; - /** - * Use the UpdatePipeline operation to update settings for a pipeline. When you change pipeline settings, your changes take effect immediately. Jobs that you have already submitted and that Elastic Transcoder has not started to process are affected in addition to jobs that you submit after you change settings. - */ - updatePipeline(callback?: (err: AWSError, data: ElasticTranscoder.Types.UpdatePipelineResponse) => void): Request; - /** - * With the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline. When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request. - */ - updatePipelineNotifications(params: ElasticTranscoder.Types.UpdatePipelineNotificationsRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.UpdatePipelineNotificationsResponse) => void): Request; - /** - * With the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline. When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request. - */ - updatePipelineNotifications(callback?: (err: AWSError, data: ElasticTranscoder.Types.UpdatePipelineNotificationsResponse) => void): Request; - /** - * The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs. Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a CancelJob request. - */ - updatePipelineStatus(params: ElasticTranscoder.Types.UpdatePipelineStatusRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.UpdatePipelineStatusResponse) => void): Request; - /** - * The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs. Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a CancelJob request. - */ - updatePipelineStatus(callback?: (err: AWSError, data: ElasticTranscoder.Types.UpdatePipelineStatusResponse) => void): Request; - /** - * Waits for the jobComplete state by periodically calling the underlying ElasticTranscoder.readJoboperation every 30 seconds (at most 120 times). - */ - waitFor(state: "jobComplete", params: ElasticTranscoder.Types.ReadJobRequest, callback?: (err: AWSError, data: ElasticTranscoder.Types.ReadJobResponse) => void): Request; - /** - * Waits for the jobComplete state by periodically calling the underlying ElasticTranscoder.readJoboperation every 30 seconds (at most 120 times). - */ - waitFor(state: "jobComplete", callback?: (err: AWSError, data: ElasticTranscoder.Types.ReadJobResponse) => void): Request; -} -declare namespace ElasticTranscoder { - export type AccessControl = string; - export type AccessControls = AccessControl[]; - export interface Artwork { - /** - * The name of the file to be used as album art. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by PipelineId; the InputBucket object in that pipeline identifies the bucket. If the file name includes a prefix, for example, cooking/pie.jpg, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error. - */ - InputKey?: WatermarkKey; - /** - * The maximum width of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive. - */ - MaxWidth?: DigitsOrAuto; - /** - * The maximum height of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive. - */ - MaxHeight?: DigitsOrAuto; - /** - * Specify one of the following values to control scaling of the output album art: Fit: Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value. Fill: Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth or MaxHeight and matches or exceeds the other value. Elastic Transcoder centers the output art and then crops it in the dimension (if any) that exceeds the maximum value. Stretch: Elastic Transcoder stretches the output art to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the input art and the output art are different, the output art will be distorted. Keep: Elastic Transcoder does not scale the output art. If either dimension of the input art exceeds the values that you specified for MaxWidth and MaxHeight, Elastic Transcoder crops the output art. ShrinkToFit: Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the art up. ShrinkToFill Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale the art up. - */ - SizingPolicy?: SizingPolicy; - /** - * When you set PaddingPolicy to Pad, Elastic Transcoder may add white bars to the top and bottom and/or left and right sides of the output album art to make the total size of the output art match the values that you specified for MaxWidth and MaxHeight. - */ - PaddingPolicy?: PaddingPolicy; - /** - * The format of album art, if any. Valid formats are .jpg and .png. - */ - AlbumArtFormat?: JpgOrPng; - /** - * The encryption settings, if any, that you want Elastic Transcoder to apply to your artwork. - */ - Encryption?: Encryption; - } - export type Artworks = Artwork[]; - export type Ascending = string; - export type AspectRatio = string; - export type AudioBitDepth = string; - export type AudioBitOrder = string; - export type AudioBitRate = string; - export type AudioChannels = string; - export type AudioCodec = string; - export interface AudioCodecOptions { - /** - * You can only choose an audio profile when you specify AAC for the value of Audio:Codec. Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles: auto: If you specify auto, Elastic Transcoder selects the profile based on the bit rate selected for the output file. AAC-LC: The most common AAC profile. Use for bit rates larger than 64 kbps. HE-AAC: Not supported on some older players and devices. Use for bit rates between 40 and 80 kbps. HE-AACv2: Not supported on some players and devices. Use for bit rates less than 48 kbps. All outputs in a Smooth playlist must have the same value for Profile. If you created any presets before AAC profiles were added, Elastic Transcoder automatically updated your presets to use AAC-LC. You can change the value as required. - */ - Profile?: AudioCodecProfile; - /** - * You can only choose an audio bit depth when you specify flac or pcm for the value of Audio:Codec. The bit depth of a sample is how many bits of information are included in the audio samples. The higher the bit depth, the better the audio, but the larger the file. Valid values are 16 and 24. The most common bit depth is 24. - */ - BitDepth?: AudioBitDepth; - /** - * You can only choose an audio bit order when you specify pcm for the value of Audio:Codec. The order the bits of a PCM sample are stored in. The supported value is LittleEndian. - */ - BitOrder?: AudioBitOrder; - /** - * You can only choose whether an audio sample is signed when you specify pcm for the value of Audio:Codec. Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. - */ - Signed?: AudioSigned; - } - export type AudioCodecProfile = string; - export type AudioPackingMode = string; - export interface AudioParameters { - /** - * The audio codec for the output file. Valid values include aac, flac, mp2, mp3, pcm, and vorbis. - */ - Codec?: AudioCodec; - /** - * The sample rate of the audio stream in the output file, in Hertz. Valid values include: auto, 22050, 32000, 44100, 48000, 96000 If you specify auto, Elastic Transcoder automatically detects the sample rate. - */ - SampleRate?: AudioSampleRate; - /** - * The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive. - */ - BitRate?: AudioBitRate; - /** - * The number of audio channels in the output file. The following values are valid: auto, 0, 1, 2 One channel carries the information played by a single speaker. For example, a stereo track with two channels sends one channel to the left speaker, and the other channel to the right speaker. The output channels are organized into tracks. If you want Elastic Transcoder to automatically detect the number of audio channels in the input file and use that value for the output file, select auto. The output of a specific channel value and inputs are as follows: auto channel specified, with any input: Pass through up to eight input channels. 0 channels specified, with any input: Audio omitted from the output. 1 channel specified, with at least one input channel: Mono sound. 2 channels specified, with any input: Two identical mono channels or stereo. For more information about tracks, see Audio:AudioPackingMode. For more information about how Elastic Transcoder organizes channels and tracks, see Audio:AudioPackingMode. - */ - Channels?: AudioChannels; - /** - * The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack. The following values are valid: SingleTrack, OneChannelPerTrack, and OneChannelPerTrackWithMosTo8Tracks When you specify SingleTrack, Elastic Transcoder creates a single track for your output. The track can have up to eight channels. Use SingleTrack for all non-mxf containers. The outputs of SingleTrack for a specific channel value and inputs are as follows: 0 channels with any input: Audio omitted from the output 1, 2, or auto channels with no audio input: Audio omitted from the output 1 channel with any input with audio: One track with one channel, downmixed if necessary 2 channels with one track with one channel: One track with two identical channels 2 or auto channels with two tracks with one channel each: One track with two channels 2 or auto channels with one track with two channels: One track with two channels 2 channels with one track with multiple channels: One track with two channels auto channels with one track with one channel: One track with one channel auto channels with one track with multiple channels: One track with multiple channels When you specify OneChannelPerTrack, Elastic Transcoder creates a new track for every channel in your output. Your output can have up to eight single-channel tracks. The outputs of OneChannelPerTrack for a specific channel value and inputs are as follows: 0 channels with any input: Audio omitted from the output 1, 2, or auto channels with no audio input: Audio omitted from the output 1 channel with any input with audio: One track with one channel, downmixed if necessary 2 channels with one track with one channel: Two tracks with one identical channel each 2 or auto channels with two tracks with one channel each: Two tracks with one channel each 2 or auto channels with one track with two channels: Two tracks with one channel each 2 channels with one track with multiple channels: Two tracks with one channel each auto channels with one track with one channel: One track with one channel auto channels with one track with multiple channels: Up to eight tracks with one channel each When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic Transcoder creates eight single-channel tracks for your output. All tracks that do not contain audio data from an input channel are MOS, or Mit Out Sound, tracks. The outputs of OneChannelPerTrackWithMosTo8Tracks for a specific channel value and inputs are as follows: 0 channels with any input: Audio omitted from the output 1, 2, or auto channels with no audio input: Audio omitted from the output 1 channel with any input with audio: One track with one channel, downmixed if necessary, plus six MOS tracks 2 channels with one track with one channel: Two tracks with one identical channel each, plus six MOS tracks 2 or auto channels with two tracks with one channel each: Two tracks with one channel each, plus six MOS tracks 2 or auto channels with one track with two channels: Two tracks with one channel each, plus six MOS tracks 2 channels with one track with multiple channels: Two tracks with one channel each, plus six MOS tracks auto channels with one track with one channel: One track with one channel, plus seven MOS tracks auto channels with one track with multiple channels: Up to eight tracks with one channel each, plus MOS tracks until there are eight tracks in all - */ - AudioPackingMode?: AudioPackingMode; - /** - * If you specified AAC for Audio:Codec, this is the AAC compression profile to use. Valid values include: auto, AAC-LC, HE-AAC, HE-AACv2 If you specify auto, Elastic Transcoder chooses a profile based on the bit rate of the output file. - */ - CodecOptions?: AudioCodecOptions; - } - export type AudioSampleRate = string; - export type AudioSigned = string; - export type Base64EncodedString = string; - export type BucketName = string; - export interface CancelJobRequest { - /** - * The identifier of the job that you want to cancel. To get a list of the jobs (including their jobId) that have a status of Submitted, use the ListJobsByStatus API action. - */ - Id: Id; - } - export interface CancelJobResponse { - } - export interface CaptionFormat { - /** - * The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this output. Valid Embedded Caption Formats: for FLAC: None For MP3: None For MP4: mov-text For MPEG-TS: None For ogg: None For webm: None Valid Sidecar Caption Formats: Elastic Transcoder supports dfxp (first div element only), scc, srt, and webvtt. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. For FMP4: dfxp Non-FMP4 outputs: All sidecar types fmp4 captions have an extension of .ismt - */ - Format?: CaptionFormatFormat; - /** - * The prefix for caption filenames, in the form description-{language}, where: description is a description of the video. {language} is a literal value that Elastic Transcoder replaces with the two- or three-letter code for the language of the caption in the output file names. If you don't include {language} in the file name pattern, Elastic Transcoder automatically appends "{language}" to the value that you specify for the description. In addition, Elastic Transcoder automatically appends the count to the end of the segment files. For example, suppose you're transcoding into srt format. When you enter "Sydney-{language}-sunrise", and the language of the captions is English (en), the name of the first caption file is be Sydney-en-sunrise00000.srt. - */ - Pattern?: CaptionFormatPattern; - /** - * The encryption settings, if any, that you want Elastic Transcoder to apply to your caption formats. - */ - Encryption?: Encryption; - } - export type CaptionFormatFormat = string; - export type CaptionFormatPattern = string; - export type CaptionFormats = CaptionFormat[]; - export type CaptionMergePolicy = string; - export interface CaptionSource { - /** - * The name of the sidecar caption file that you want Elastic Transcoder to include in the output file. - */ - Key?: LongKey; - /** - * A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of: 2-character ISO 639-1 code 3-character ISO 639-2 code For more information on ISO language codes and language names, see the List of ISO 639-1 codes. - */ - Language?: Key; - /** - * For clip generation or captions that do not start at the same time as the associated video file, the TimeOffset tells Elastic Transcoder how much of the video to encode before including captions. Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss. - */ - TimeOffset?: TimeOffset; - /** - * The label of the caption shown in the player when choosing a language. We recommend that you put the caption language name here, in the language of the captions. - */ - Label?: Name; - /** - * The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources. - */ - Encryption?: Encryption; - } - export type CaptionSources = CaptionSource[]; - export interface Captions { - /** - * A policy that determines how Elastic Transcoder handles the existence of multiple captions. MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language. MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files. Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources. MergePolicy cannot be null. - */ - MergePolicy?: CaptionMergePolicy; - /** - * Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank. - */ - CaptionSources?: CaptionSources; - /** - * The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error. - */ - CaptionFormats?: CaptionFormats; - } - export interface Clip { - /** - * Settings that determine when a clip begins and how long it lasts. - */ - TimeSpan?: TimeSpan; - } - export type CodecOption = string; - export type CodecOptions = {[key: string]: CodecOption}; - export type Composition = Clip[]; - export interface CreateJobOutput { - /** - * The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails. - */ - Key?: Key; - /** - * Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files. If you don't want Elastic Transcoder to create thumbnails, specify "". If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence: {count} (Required): If you want to create thumbnails, you must include {count} in the ThumbnailPattern object. Wherever you specify {count}, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file. If you specify a literal value and/or {resolution} but you omit {count}, Elastic Transcoder returns a validation error and does not create the job. Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern object. For example, you can include them as a file name prefix or as a delimiter between {resolution} and {count}. {resolution} (Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution} in the ThumbnailPattern object. When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID value of CreateJobOutput. Elastic Transcoder also appends the applicable file name extension. - */ - ThumbnailPattern?: ThumbnailPattern; - /** - * The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail. - */ - ThumbnailEncryption?: Encryption; - /** - * The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: auto, 0, 90, 180, 270. The value auto generally works only if the file that you're transcoding contains rotation metadata. - */ - Rotate?: Rotate; - /** - * The Id of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding. - */ - PresetId?: Id; - /** - * (Outputs in Fragmented MP4 or MPEG-TS format only. If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment in seconds. For HLSv3 format playlists, each media segment is stored in a separate .ts file. For HLSv4 and Smooth playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration, though individual segments might be shorter or longer. The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration, the duration of the last segment is the remainder of total length/SegmentDuration. Elastic Transcoder creates an output-specific playlist for each output HLS output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys of the associated playlist. - */ - SegmentDuration?: FloatString; - /** - * Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output. - */ - Watermarks?: JobWatermarks; - /** - * Information about the album art that you want Elastic Transcoder to add to the file during transcoding. You can specify up to twenty album artworks for each output. Settings for each artwork must be defined in the job for the current output. - */ - AlbumArt?: JobAlbumArt; - /** - * You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null. - */ - Composition?: Composition; - /** - * You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions: Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file. Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text Valid outputs include: mov-text Elastic Transcoder supports a maximum of one embedded format per output. Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file. Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt Valid outputs include: dfxp (first div element only), scc, srt, and webvtt. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process. To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array. For more information on embedded files, see the Subtitles Wikipedia page. For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages. - */ - Captions?: Captions; - /** - * You can specify encryption settings for any output files that you want to use for a transcoding job. This includes the output file and any watermarks, thumbnails, album art, or captions that you want to use. You must specify encryption settings for each file individually. - */ - Encryption?: Encryption; - } - export type CreateJobOutputs = CreateJobOutput[]; - export interface CreateJobPlaylist { - /** - * The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique. Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions. - */ - Name?: Filename; - /** - * The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth. - */ - Format?: PlaylistFormat; - /** - * For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object. If your output is not HLS or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix and Outputs:Key: OutputKeyPrefixOutputs:Key If your output is HLSv3 and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8, and a series of .ts files that include a five-digit sequential counter beginning with 00000: OutputKeyPrefixOutputs:Key.m3u8 OutputKeyPrefixOutputs:Key00000.ts If your output is HLSv4, has a segment duration set, and is included in an HLSv4 playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8: OutputKeyPrefixOutputs:Key_v4.m3u8 OutputKeyPrefixOutputs:Key_iframe.m3u8 OutputKeyPrefixOutputs:Key.ts Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions. If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs. - */ - OutputKeys?: OutputKeys; - /** - * The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist. - */ - HlsContentProtection?: HlsContentProtection; - /** - * The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist. - */ - PlayReadyDrm?: PlayReadyDrm; - } - export type CreateJobPlaylists = CreateJobPlaylist[]; - export interface CreateJobRequest { - /** - * The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files. - */ - PipelineId: Id; - /** - * A section of the request body that provides information about the file that is being transcoded. - */ - Input?: JobInput; - /** - * A section of the request body that provides information about the files that are being transcoded. - */ - Inputs?: JobInputs; - /** - * A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the Outputs syntax instead of the Output syntax. - */ - Output?: CreateJobOutput; - /** - * A section of the request body that provides information about the transcoded (target) files. We recommend that you use the Outputs syntax instead of the Output syntax. - */ - Outputs?: CreateJobOutputs; - /** - * The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. - */ - OutputKeyPrefix?: Key; - /** - * If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create. The maximum number of master playlists in a job is 30. - */ - Playlists?: CreateJobPlaylists; - /** - * User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value pairs, and you can add up to 10 key/value pairs per job. Elastic Transcoder does not guarantee that key/value pairs are returned in the same order in which you specify them. - */ - UserMetadata?: UserMetadata; - } - export interface CreateJobResponse { - /** - * A section of the response body that provides information about the job that is created. - */ - Job?: Job; - } - export interface CreatePipelineRequest { - /** - * The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced. Constraints: Maximum 40 characters. - */ - Name: Name; - /** - * The Amazon S3 bucket in which you saved the media files that you want to transcode. - */ - InputBucket: BucketName; - /** - * The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. (Use this, or use ContentConfig:Bucket plus ThumbnailConfig:Bucket.) Specify this value when all of the following are true: You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket. You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists. You do not want to specify the permissions that Elastic Transcoder grants to the files. When Elastic Transcoder saves files in OutputBucket, it grants full control over the files only to the AWS account that owns the role that is specified by Role. You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class. If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket and specify values for ContentConfig and ThumbnailConfig instead. - */ - OutputBucket?: BucketName; - /** - * The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline. - */ - Role: Role; - /** - * The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline. If you use either S3 or S3-AWS-KMS as your Encryption:Mode, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an Encryption:Mode of AES-PKCS7, AES-CTR, or AES-GCM. - */ - AwsKmsKeyArn?: KeyArn; - /** - * The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic. For more information, see Create a Topic in the Amazon Simple Notification Service Developer Guide. Completed: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic. Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic. Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic. - */ - Notifications?: Notifications; - /** - * The optional ContentConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists: which bucket to use, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files. If you specify values for ContentConfig, you must also specify values for ThumbnailConfig. If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket object. Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Permissions (Optional): The Permissions object specifies which users you want to have access to transcoded files and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups. Grantee Type: Specify the type of value that appears in the Grantee object: Canonical: The value in the Grantee object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. For more information about canonical user IDs, see Access Control List (ACL) Overview in the Amazon Simple Storage Service Developer Guide. For more information about using CloudFront origin access identities to require that users use CloudFront URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content. A canonical user ID is not the same as an AWS account number. Email: The value in the Grantee object is the registered email address of an AWS account. Group: The value in the Grantee object is one of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery. Grantee: The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group Access: The permission that you want to give to the AWS user that you specified in Grantee. Permissions are granted on the files that Elastic Transcoder adds to the bucket, including playlists and video files. Valid values include: READ: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket. StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket. - */ - ContentConfig?: PipelineOutputConfig; - /** - * The ThumbnailConfig object specifies several values, including the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files. If you specify values for ContentConfig, you must also specify values for ThumbnailConfig even if you don't want to create thumbnails. If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket object. Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Permissions (Optional): The Permissions object specifies which users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups. GranteeType: Specify the type of value that appears in the Grantee object: Canonical: The value in the Grantee object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number. Email: The value in the Grantee object is the registered email address of an AWS account. Group: The value in the Grantee object is one of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery. Grantee: The AWS user or group that you want to have access to thumbnail files. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group. Access: The permission that you want to give to the AWS user that you specified in Grantee. Permissions are granted on the thumbnail files that Elastic Transcoder adds to the bucket. Valid values include: READ: The grantee can read the thumbnails and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket. - */ - ThumbnailConfig?: PipelineOutputConfig; - } - export interface CreatePipelineResponse { - /** - * A section of the response body that provides information about the pipeline that is created. - */ - Pipeline?: Pipeline; - /** - * Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline. Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges. - */ - Warnings?: Warnings; - } - export interface CreatePresetRequest { - /** - * The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced. - */ - Name: Name; - /** - * A description of the preset. - */ - Description?: Description; - /** - * The container type for the output file. Valid values include flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm. - */ - Container: PresetContainer; - /** - * A section of the request body that specifies the video parameters. - */ - Video?: VideoParameters; - /** - * A section of the request body that specifies the audio parameters. - */ - Audio?: AudioParameters; - /** - * A section of the request body that specifies the thumbnail parameters, if any. - */ - Thumbnails?: Thumbnails; - } - export interface CreatePresetResponse { - /** - * A section of the response body that provides information about the preset that is created. - */ - Preset?: Preset; - /** - * If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output. - */ - Warning?: String; - } - export interface DeletePipelineRequest { - /** - * The identifier of the pipeline that you want to delete. - */ - Id: Id; - } - export interface DeletePipelineResponse { - } - export interface DeletePresetRequest { - /** - * The identifier of the preset for which you want to get detailed information. - */ - Id: Id; - } - export interface DeletePresetResponse { - } - export type Description = string; - export interface DetectedProperties { - /** - * The detected width of the input file, in pixels. - */ - Width?: NullableInteger; - /** - * The detected height of the input file, in pixels. - */ - Height?: NullableInteger; - /** - * The detected frame rate of the input file, in frames per second. - */ - FrameRate?: FloatString; - /** - * The detected file size of the input file, in bytes. - */ - FileSize?: NullableLong; - /** - * The detected duration of the input file, in milliseconds. - */ - DurationMillis?: NullableLong; - } - export type Digits = string; - export type DigitsOrAuto = string; - export interface Encryption { - /** - * The specific server-side encryption mode that you want Elastic Transcoder to use when decrypting your input files or encrypting your output files. Elastic Transcoder supports the following options: S3: Amazon S3 creates and manages the keys used for encrypting your files. S3-AWS-KMS: Amazon S3 calls the Amazon Key Management Service, which creates and manages the keys that are used for encrypting your files. If you specify S3-AWS-KMS and you don't want to use the default key, you must add the AWS-KMS key that you want to use to your pipeline. AES-CBC-PKCS7: A padded cipher-block mode of operation originally used for HLS files. AES-CTR: AES Counter Mode. AES-GCM: AES Galois Counter Mode, a mode of operation that is an authenticated encryption format, meaning that a file, key, or initialization vector that has been tampered with fails the decryption process. For all three AES options, you must provide the following settings, which must be base64-encoded: Key Key MD5 Initialization Vector For the AES modes, your private encryption keys and your unencrypted data are never stored by AWS; therefore, it is important that you safely manage your encryption keys. If you lose them, you won't be able to unencrypt your data. - */ - Mode?: EncryptionMode; - /** - * The data encryption key that you want Elastic Transcoder to use to encrypt your output file, or that was used to encrypt your input file. The key must be base64-encoded and it must be one of the following bit lengths before being base64-encoded: 128, 192, or 256. The key must also be encrypted by using the Amazon Key Management Service. - */ - Key?: Base64EncodedString; - /** - * The MD5 digest of the key that you used to encrypt your input file, or that you want Elastic Transcoder to use to encrypt your output file. Elastic Transcoder uses the key digest as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded. - */ - KeyMd5?: Base64EncodedString; - /** - * The series of random bits created by a random bit generator, unique for every encryption operation, that you used to encrypt your input files or that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded. - */ - InitializationVector?: ZeroTo255String; - } - export type EncryptionMode = string; - export type ExceptionMessages = String[]; - export type Filename = string; - export type FixedGOP = string; - export type FloatString = string; - export type FrameRate = string; - export type Grantee = string; - export type GranteeType = string; - export interface HlsContentProtection { - /** - * The content protection method for your output. The only valid value is: aes-128. This value is written into the method attribute of the EXT-X-KEY metadata tag in the output playlist. - */ - Method?: HlsContentProtectionMethod; - /** - * If you want Elastic Transcoder to generate a key for you, leave this field blank. If you choose to supply your own key, you must encrypt the key by using AWS KMS. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded: 128, 192, or 256. - */ - Key?: Base64EncodedString; - /** - * If Elastic Transcoder is generating your key for you, you must leave this field blank. The MD5 digest of the key that you want Elastic Transcoder to use to encrypt your output file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64- encoded. - */ - KeyMd5?: Base64EncodedString; - /** - * If Elastic Transcoder is generating your key for you, you must leave this field blank. The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded. - */ - InitializationVector?: ZeroTo255String; - /** - * The location of the license key required to decrypt your HLS playlist. The URL must be an absolute path, and is referenced in the URI attribute of the EXT-X-KEY metadata tag in the playlist file. - */ - LicenseAcquisitionUrl?: ZeroTo512String; - /** - * Specify whether you want Elastic Transcoder to write your HLS license key to an Amazon S3 bucket. If you choose WithVariantPlaylists, LicenseAcquisitionUrl must be left blank and Elastic Transcoder writes your data key into the same bucket as the associated playlist. - */ - KeyStoragePolicy?: KeyStoragePolicy; - } - export type HlsContentProtectionMethod = string; - export type HorizontalAlign = string; - export type Id = string; - export interface InputCaptions { - /** - * A policy that determines how Elastic Transcoder handles the existence of multiple captions. MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language. MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files. Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources. MergePolicy cannot be null. - */ - MergePolicy?: CaptionMergePolicy; - /** - * Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank. - */ - CaptionSources?: CaptionSources; - } - export type Interlaced = string; - export interface Job { - /** - * The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job. - */ - Id?: Id; - /** - * The Amazon Resource Name (ARN) for the job. - */ - Arn?: String; - /** - * The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files. - */ - PipelineId?: Id; - /** - * A section of the request or response body that provides information about the file that is being transcoded. - */ - Input?: JobInput; - /** - * Information about the files that you're transcoding. If you specified multiple files for this job, Elastic Transcoder stitches the files together to make one output. - */ - Inputs?: JobInputs; - /** - * If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object. Outputs recommended instead. A section of the request or response body that provides information about the transcoded (target) file. - */ - Output?: JobOutput; - /** - * Information about the output files. We recommend that you use the Outputs syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the Outputs and Output syntaxes in the same request. You can create a maximum of 30 outputs per job. If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job. - */ - Outputs?: JobOutputs; - /** - * The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the OutputKeyPrefix. - */ - OutputKeyPrefix?: Key; - /** - * Outputs in Fragmented MP4 or MPEG-TS format only. If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create. The maximum number of master playlists in a job is 30. - */ - Playlists?: Playlists; - /** - * The status of the job: Submitted, Progressing, Complete, Canceled, or Error. - */ - Status?: JobStatus; - /** - * User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value pairs, and you can add up to 10 key/value pairs per job. Elastic Transcoder does not guarantee that key/value pairs are returned in the same order in which you specify them. Metadata keys and values must use characters from the following list: 0-9 A-Z and a-z Space The following symbols: _.:/=+-%@ - */ - UserMetadata?: UserMetadata; - /** - * Details about the timing of a job. - */ - Timing?: Timing; - } - export interface JobAlbumArt { - /** - * A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files. Replace: The specified album art replaces any existing album art. Prepend: The specified album art is placed in front of any existing album art. Append: The specified album art is placed after any existing album art. Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file. - */ - MergePolicy?: MergePolicy; - /** - * The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png - */ - Artwork?: Artworks; - } - export type JobContainer = string; - export interface JobInput { - /** - * The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from. If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error. - */ - Key?: LongKey; - /** - * The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto. If you want to specify the frame rate for the input file, enter one of the following values: 10, 15, 23.97, 24, 25, 29.97, 30, 60 If you specify a value other than auto, Elastic Transcoder disables automatic detection of the frame rate. - */ - FrameRate?: FrameRate; - /** - * This value must be auto, which causes Elastic Transcoder to automatically detect the resolution of the input file. - */ - Resolution?: Resolution; - /** - * The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one of the following values: 1:1, 4:3, 3:2, 16:9 If you specify a value other than auto, Elastic Transcoder disables automatic detection of the aspect ratio. - */ - AspectRatio?: AspectRatio; - /** - * Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter one of the following values: true, false If you specify a value other than auto, Elastic Transcoder disables automatic detection of interlacing. - */ - Interlaced?: Interlaced; - /** - * The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify auto. If you want to specify the container type for the input file, enter one of the following values: 3gp, aac, asf, avi, divx, flv, m4a, mkv, mov, mp3, mp4, mpeg, mpeg-ps, mpeg-ts, mxf, ogg, vob, wav, webm - */ - Container?: JobContainer; - /** - * The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file. - */ - Encryption?: Encryption; - /** - * Settings for clipping an input. Each input can have different clip settings. - */ - TimeSpan?: TimeSpan; - /** - * You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions: Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file. Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text Valid outputs include: mov-text Elastic Transcoder supports a maximum of one embedded format per output. Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file. Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt Valid outputs include: dfxp (first div element only), scc, srt, and webvtt. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process. To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array. For more information on embedded files, see the Subtitles Wikipedia page. For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages. - */ - InputCaptions?: InputCaptions; - /** - * The detected properties of the input file. - */ - DetectedProperties?: DetectedProperties; - } - export type JobInputs = JobInput[]; - export interface JobOutput { - /** - * A sequential counter, starting with 1, that identifies an output among the outputs from the current job. In the Output syntax, this value is always 1. - */ - Id?: String; - /** - * The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID. - */ - Key?: Key; - /** - * Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files. If you don't want Elastic Transcoder to create thumbnails, specify "". If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence: {count} (Required): If you want to create thumbnails, you must include {count} in the ThumbnailPattern object. Wherever you specify {count}, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file. If you specify a literal value and/or {resolution} but you omit {count}, Elastic Transcoder returns a validation error and does not create the job. Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern object. For example, you can include them as a file name prefix or as a delimiter between {resolution} and {count}. {resolution} (Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution} in the ThumbnailPattern object. When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID value of CreateJobOutput. Elastic Transcoder also appends the applicable file name extension. - */ - ThumbnailPattern?: ThumbnailPattern; - /** - * The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail. - */ - ThumbnailEncryption?: Encryption; - /** - * The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: auto, 0, 90, 180, 270 The value auto generally works only if the file that you're transcoding contains rotation metadata. - */ - Rotate?: Rotate; - /** - * The value of the Id object for the preset that you want to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding. To use a preset that you created, specify the preset ID that Elastic Transcoder returned in the response when you created the preset. You can also use the Elastic Transcoder system presets, which you can get with ListPresets. - */ - PresetId?: Id; - /** - * (Outputs in Fragmented MP4 or MPEG-TS format only. If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment in seconds. For HLSv3 format playlists, each media segment is stored in a separate .ts file. For HLSv4, MPEG-DASH, and Smooth playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration, though individual segments might be shorter or longer. The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration, the duration of the last segment is the remainder of total length/SegmentDuration. Elastic Transcoder creates an output-specific playlist for each output HLS output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys of the associated playlist. - */ - SegmentDuration?: FloatString; - /** - * The status of one output in a job. If you specified only one output for the job, Outputs:Status is always the same as Job:Status. If you specified more than one output: Job:Status and Outputs:Status for all of the outputs is Submitted until Elastic Transcoder starts to process the first output. When Elastic Transcoder starts to process the first output, Outputs:Status for that output and Job:Status both change to Progressing. For each output, the value of Outputs:Status remains Submitted until Elastic Transcoder starts to process the output. Job:Status remains Progressing until all of the outputs reach a terminal status, either Complete or Error. When all of the outputs reach a terminal status, Job:Status changes to Complete only if Outputs:Status for all of the outputs is Complete. If Outputs:Status for one or more outputs is Error, the terminal status for Job:Status is also Error. The value of Status is one of the following: Submitted, Progressing, Complete, Canceled, or Error. - */ - Status?: JobStatus; - /** - * Information that further explains Status. - */ - StatusDetail?: Description; - /** - * Duration of the output file, in seconds. - */ - Duration?: NullableLong; - /** - * Specifies the width of the output file in pixels. - */ - Width?: NullableInteger; - /** - * Height of the output file, in pixels. - */ - Height?: NullableInteger; - /** - * Frame rate of the output file, in frames per second. - */ - FrameRate?: FloatString; - /** - * File size of the output file, in bytes. - */ - FileSize?: NullableLong; - /** - * Duration of the output file, in milliseconds. - */ - DurationMillis?: NullableLong; - /** - * Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset that you specify in Preset for the current output. Watermarks are added to the output video in the sequence in which you list them in the job output—the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add covers the first one, the third one covers the second, and the fourth one covers the third. - */ - Watermarks?: JobWatermarks; - /** - * The album art to be associated with the output file, if any. - */ - AlbumArt?: JobAlbumArt; - /** - * You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null. - */ - Composition?: Composition; - /** - * You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions: Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file. Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text Valid outputs include: mov-text Elastic Transcoder supports a maximum of one embedded format per output. Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file. Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt Valid outputs include: dfxp (first div element only), scc, srt, and webvtt. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process. To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array. For more information on embedded files, see the Subtitles Wikipedia page. For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages. - */ - Captions?: Captions; - /** - * The encryption settings, if any, that you want Elastic Transcoder to apply to your output files. If you choose to use encryption, you must specify a mode to use. If you choose not to use encryption, Elastic Transcoder writes an unencrypted file to your Amazon S3 bucket. - */ - Encryption?: Encryption; - /** - * If Elastic Transcoder used a preset with a ColorSpaceConversionMode to transcode the output file, the AppliedColorSpaceConversion parameter shows the conversion used. If no ColorSpaceConversionMode was defined in the preset, this parameter is not be included in the job response. - */ - AppliedColorSpaceConversion?: String; - } - export type JobOutputs = JobOutput[]; - export type JobStatus = string; - export interface JobWatermark { - /** - * The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use. - */ - PresetWatermarkId?: PresetWatermarkId; - /** - * The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by Pipeline; the Input Bucket object in that pipeline identifies the bucket. If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error. - */ - InputKey?: WatermarkKey; - /** - * The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks. - */ - Encryption?: Encryption; - } - export type JobWatermarks = JobWatermark[]; - export type Jobs = Job[]; - export type JpgOrPng = string; - export type Key = string; - export type KeyArn = string; - export type KeyIdGuid = string; - export type KeyStoragePolicy = string; - export type KeyframesMaxDist = string; - export interface ListJobsByPipelineRequest { - /** - * The ID of the pipeline for which you want to get job information. - */ - PipelineId: Id; - /** - * To list jobs in chronological order by the date and time that they were submitted, enter true. To list jobs in reverse chronological order, enter false. - */ - Ascending?: Ascending; - /** - * When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results. - */ - PageToken?: Id; - } - export interface ListJobsByPipelineResponse { - /** - * An array of Job objects that are in the specified pipeline. - */ - Jobs?: Jobs; - /** - * A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken is null. - */ - NextPageToken?: Id; - } - export interface ListJobsByStatusRequest { - /** - * To get information about all of the jobs associated with the current AWS account that have a given status, specify the following status: Submitted, Progressing, Complete, Canceled, or Error. - */ - Status: JobStatus; - /** - * To list jobs in chronological order by the date and time that they were submitted, enter true. To list jobs in reverse chronological order, enter false. - */ - Ascending?: Ascending; - /** - * When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results. - */ - PageToken?: Id; - } - export interface ListJobsByStatusResponse { - /** - * An array of Job objects that have the specified status. - */ - Jobs?: Jobs; - /** - * A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken is null. - */ - NextPageToken?: Id; - } - export interface ListPipelinesRequest { - /** - * To list pipelines in chronological order by the date and time that they were created, enter true. To list pipelines in reverse chronological order, enter false. - */ - Ascending?: Ascending; - /** - * When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results. - */ - PageToken?: Id; - } - export interface ListPipelinesResponse { - /** - * An array of Pipeline objects. - */ - Pipelines?: Pipelines; - /** - * A value that you use to access the second and subsequent pages of results, if any. When the pipelines fit on one page or when you've reached the last page of results, the value of NextPageToken is null. - */ - NextPageToken?: Id; - } - export interface ListPresetsRequest { - /** - * To list presets in chronological order by the date and time that they were created, enter true. To list presets in reverse chronological order, enter false. - */ - Ascending?: Ascending; - /** - * When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results. - */ - PageToken?: Id; - } - export interface ListPresetsResponse { - /** - * An array of Preset objects. - */ - Presets?: Presets; - /** - * A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of NextPageToken is null. - */ - NextPageToken?: Id; - } - export type LongKey = string; - export type MaxFrameRate = string; - export type MergePolicy = string; - export type Name = string; - export type NonEmptyBase64EncodedString = string; - export interface Notifications { - /** - * The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job. - */ - Progressing?: SnsTopic; - /** - * The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job. - */ - Completed?: SnsTopic; - /** - * The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. - */ - Warning?: SnsTopic; - /** - * The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. - */ - Error?: SnsTopic; - } - export type NullableInteger = number; - export type NullableLong = number; - export type OneTo512String = string; - export type Opacity = string; - export type OutputKeys = Key[]; - export type PaddingPolicy = string; - export interface Permission { - /** - * The type of value that appears in the Grantee object: Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number. Email: The registered email address of an AWS account. Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery. - */ - GranteeType?: GranteeType; - /** - * The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group. - */ - Grantee?: Grantee; - /** - * The permission that you want to give to the AWS user that is listed in Grantee. Valid values include: READ: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. - */ - Access?: AccessControls; - } - export type Permissions = Permission[]; - export interface Pipeline { - /** - * The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset. - */ - Id?: Id; - /** - * The Amazon Resource Name (ARN) for the pipeline. - */ - Arn?: String; - /** - * The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced. Constraints: Maximum 40 characters - */ - Name?: Name; - /** - * The current status of the pipeline: Active: The pipeline is processing jobs. Paused: The pipeline is not currently processing jobs. - */ - Status?: PipelineStatus; - /** - * The Amazon S3 bucket from which Elastic Transcoder gets media files for transcoding and the graphics files, if any, that you want to use for watermarks. - */ - InputBucket?: BucketName; - /** - * The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files, thumbnails, and playlists. Either you specify this value, or you specify both ContentConfig and ThumbnailConfig. - */ - OutputBucket?: BucketName; - /** - * The IAM Amazon Resource Name (ARN) for the role that Elastic Transcoder uses to transcode jobs for this pipeline. - */ - Role?: Role; - /** - * The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline. If you use either S3 or S3-AWS-KMS as your Encryption:Mode, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an Encryption:Mode of AES-PKCS7, AES-CTR, or AES-GCM. - */ - AwsKmsKeyArn?: KeyArn; - /** - * The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. Progressing (optional): The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job. Completed (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job. Warning (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. Error (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. - */ - Notifications?: Notifications; - /** - * Information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Either you specify both ContentConfig and ThumbnailConfig, or you specify OutputBucket. Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Permissions: A list of the users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access that you want them to have. GranteeType: The type of value that appears in the Grantee object: Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. Email: The registered email address of an AWS account. Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery. Grantee: The AWS user or group that you want to have access to transcoded files and playlists. Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include: READ: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket. StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket. - */ - ContentConfig?: PipelineOutputConfig; - /** - * Information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Either you specify both ContentConfig and ThumbnailConfig, or you specify OutputBucket. Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Permissions: A list of the users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access that you want them to have. GranteeType: The type of value that appears in the Grantee object: Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number. Email: The registered email address of an AWS account. Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery. Grantee: The AWS user or group that you want to have access to thumbnail files. Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include: READ: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket. - */ - ThumbnailConfig?: PipelineOutputConfig; - } - export interface PipelineOutputConfig { - /** - * The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. Specify this value when all of the following are true: You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket. You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists. You do not want to specify the permissions that Elastic Transcoder grants to the files. You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class. If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket and specify values for ContentConfig and ThumbnailConfig instead. - */ - Bucket?: BucketName; - /** - * The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket. - */ - StorageClass?: StorageClass; - /** - * Optional. The Permissions object specifies which users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups. If you include Permissions, Elastic Transcoder grants only the permissions that you specify. It does not grant full permissions to the owner of the role specified by Role. If you want that user to have full control, you must explicitly grant full control to the user. If you omit Permissions, Elastic Transcoder grants full control over the transcoded files and playlists to the owner of the role specified by Role, and grants no other permissions to any other user or group. - */ - Permissions?: Permissions; - } - export type PipelineStatus = string; - export type Pipelines = Pipeline[]; - export type PixelsOrPercent = string; - export interface PlayReadyDrm { - /** - * The type of DRM, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist. - */ - Format?: PlayReadyDrmFormatString; - /** - * The DRM key for your file, provided by your DRM license provider. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded: 128, 192, or 256. The key must also be encrypted by using AWS KMS. - */ - Key?: NonEmptyBase64EncodedString; - /** - * The MD5 digest of the key used for DRM on your file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded. - */ - KeyMd5?: NonEmptyBase64EncodedString; - /** - * The ID for your DRM key, so that your DRM license provider knows which key to provide. The key ID must be provided in big endian, and Elastic Transcoder converts it to little endian before inserting it into the PlayReady DRM headers. If you are unsure whether your license server provides your key ID in big or little endian, check with your DRM provider. - */ - KeyId?: KeyIdGuid; - /** - * The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your files. The initialization vector must be base64-encoded, and it must be exactly 8 bytes long before being base64-encoded. If no initialization vector is provided, Elastic Transcoder generates one for you. - */ - InitializationVector?: ZeroTo255String; - /** - * The location of the license key required to play DRM content. The URL must be an absolute path, and is referenced by the PlayReady header. The PlayReady header is referenced in the protection header of the client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks like this: https://www.example.com/exampleKey/ - */ - LicenseAcquisitionUrl?: OneTo512String; - } - export type PlayReadyDrmFormatString = string; - export interface Playlist { - /** - * The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique. Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions. - */ - Name?: Filename; - /** - * The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth. - */ - Format?: PlaylistFormat; - /** - * For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object. If your output is not HLS or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix and Outputs:Key: OutputKeyPrefixOutputs:Key If your output is HLSv3 and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8, and a series of .ts files that include a five-digit sequential counter beginning with 00000: OutputKeyPrefixOutputs:Key.m3u8 OutputKeyPrefixOutputs:Key00000.ts If your output is HLSv4, has a segment duration set, and is included in an HLSv4 playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8: OutputKeyPrefixOutputs:Key_v4.m3u8 OutputKeyPrefixOutputs:Key_iframe.m3u8 OutputKeyPrefixOutputs:Key.ts Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions. If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs. - */ - OutputKeys?: OutputKeys; - /** - * The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist. - */ - HlsContentProtection?: HlsContentProtection; - /** - * The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist. - */ - PlayReadyDrm?: PlayReadyDrm; - /** - * The status of the job with which the playlist is associated. - */ - Status?: JobStatus; - /** - * Information that further explains the status. - */ - StatusDetail?: Description; - } - export type PlaylistFormat = string; - export type Playlists = Playlist[]; - export interface Preset { - /** - * Identifier for the new preset. You use this value to get settings for the preset or to delete it. - */ - Id?: Id; - /** - * The Amazon Resource Name (ARN) for the preset. - */ - Arn?: String; - /** - * The name of the preset. - */ - Name?: Name; - /** - * A description of the preset. - */ - Description?: Description; - /** - * The container type for the output file. Valid values include flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm. - */ - Container?: PresetContainer; - /** - * A section of the response body that provides information about the audio preset values. - */ - Audio?: AudioParameters; - /** - * A section of the response body that provides information about the video preset values. - */ - Video?: VideoParameters; - /** - * A section of the response body that provides information about the thumbnail preset values, if any. - */ - Thumbnails?: Thumbnails; - /** - * Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom). - */ - Type?: PresetType; - } - export type PresetContainer = string; - export type PresetType = string; - export interface PresetWatermark { - /** - * A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long. - */ - Id?: PresetWatermarkId; - /** - * The maximum width of the watermark in one of the following formats: number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of MaxWidth. integer percentage (%): The range of valid values is 0 to 100. Use the value of Target to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the calculation. If you specify the value in pixels, it must be less than or equal to the value of MaxWidth. - */ - MaxWidth?: PixelsOrPercent; - /** - * The maximum height of the watermark in one of the following formats: number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of MaxHeight. integer percentage (%): The range of valid values is 0 to 100. Use the value of Target to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the calculation. If you specify the value in pixels, it must be less than or equal to the value of MaxHeight. - */ - MaxHeight?: PixelsOrPercent; - /** - * A value that controls scaling of the watermark: Fit: Elastic Transcoder scales the watermark so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value. Stretch: Elastic Transcoder stretches the watermark to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the watermark and the values of MaxWidth and MaxHeight are different, the watermark will be distorted. ShrinkToFit: Elastic Transcoder scales the watermark down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the watermark up. - */ - SizingPolicy?: WatermarkSizingPolicy; - /** - * The horizontal position of the watermark unless you specify a non-zero value for HorizontalOffset: Left: The left edge of the watermark is aligned with the left border of the video. Right: The right edge of the watermark is aligned with the right border of the video. Center: The watermark is centered between the left and right borders. - */ - HorizontalAlign?: HorizontalAlign; - /** - * The amount by which you want the horizontal position of the watermark to be offset from the position specified by HorizontalAlign: number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth. integer percentage (%): The range of valid values is 0 to 100. For example, if you specify Left for HorizontalAlign and 5px for HorizontalOffset, the left side of the watermark appears 5 pixels from the left border of the output video. HorizontalOffset is only valid when the value of HorizontalAlign is Left or Right. If you specify an offset that causes the watermark to extend beyond the left or right border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped. Use the value of Target to specify whether you want to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation. - */ - HorizontalOffset?: PixelsOrPercent; - /** - * The vertical position of the watermark unless you specify a non-zero value for VerticalOffset: Top: The top edge of the watermark is aligned with the top border of the video. Bottom: The bottom edge of the watermark is aligned with the bottom border of the video. Center: The watermark is centered between the top and bottom borders. - */ - VerticalAlign?: VerticalAlign; - /** - * VerticalOffset The amount by which you want the vertical position of the watermark to be offset from the position specified by VerticalAlign: number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxHeight. integer percentage (%): The range of valid values is 0 to 100. For example, if you specify Top for VerticalAlign and 5px for VerticalOffset, the top of the watermark appears 5 pixels from the top border of the output video. VerticalOffset is only valid when the value of VerticalAlign is Top or Bottom. If you specify an offset that causes the watermark to extend beyond the top or bottom border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped. Use the value of Target to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation. - */ - VerticalOffset?: PixelsOrPercent; - /** - * A percentage that indicates how much you want a watermark to obscure the video in the location where it appears. Valid values are 0 (the watermark is invisible) to 100 (the watermark completely obscures the video in the specified location). The datatype of Opacity is float. Elastic Transcoder supports transparent .png graphics. If you use a transparent .png, the transparent portion of the video appears as if you had specified a value of 0 for Opacity. The .jpg file format doesn't support transparency. - */ - Opacity?: Opacity; - /** - * A value that determines how Elastic Transcoder interprets values that you specified for HorizontalOffset, VerticalOffset, MaxWidth, and MaxHeight: Content: HorizontalOffset and VerticalOffset values are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any. In addition, MaxWidth and MaxHeight, if specified as a percentage, are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any. Frame: HorizontalOffset and VerticalOffset values are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any. In addition, MaxWidth and MaxHeight, if specified as a percentage, are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any. - */ - Target?: Target; - } - export type PresetWatermarkId = string; - export type PresetWatermarks = PresetWatermark[]; - export type Presets = Preset[]; - export interface ReadJobRequest { - /** - * The identifier of the job for which you want to get detailed information. - */ - Id: Id; - } - export interface ReadJobResponse { - /** - * A section of the response body that provides information about the job. - */ - Job?: Job; - } - export interface ReadPipelineRequest { - /** - * The identifier of the pipeline to read. - */ - Id: Id; - } - export interface ReadPipelineResponse { - /** - * A section of the response body that provides information about the pipeline. - */ - Pipeline?: Pipeline; - /** - * Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline. Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges. - */ - Warnings?: Warnings; - } - export interface ReadPresetRequest { - /** - * The identifier of the preset for which you want to get detailed information. - */ - Id: Id; - } - export interface ReadPresetResponse { - /** - * A section of the response body that provides information about the preset. - */ - Preset?: Preset; - } - export type Resolution = string; - export type Role = string; - export type Rotate = string; - export type SizingPolicy = string; - export type SnsTopic = string; - export type SnsTopics = SnsTopic[]; - export type StorageClass = string; - export type String = string; - export type Success = string; - export type Target = string; - export interface TestRoleRequest { - /** - * The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test. - */ - Role: Role; - /** - * The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket. - */ - InputBucket: BucketName; - /** - * The Amazon S3 bucket that Elastic Transcoder writes transcoded media files to. The action attempts to read from this bucket. - */ - OutputBucket: BucketName; - /** - * The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to. - */ - Topics: SnsTopics; - } - export interface TestRoleResponse { - /** - * If the operation is successful, this value is true; otherwise, the value is false. - */ - Success?: Success; - /** - * If the Success element contains false, this value is an array of one or more error messages that were generated during the test process. - */ - Messages?: ExceptionMessages; - } - export type ThumbnailPattern = string; - export type ThumbnailResolution = string; - export interface Thumbnails { - /** - * The format of thumbnails, if any. Valid values are jpg and png. You specify whether you want Elastic Transcoder to create thumbnails when you create a job. - */ - Format?: JpgOrPng; - /** - * The approximate number of seconds between thumbnails. Specify an integer value. - */ - Interval?: Digits; - /** - * To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together. The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object. - */ - Resolution?: ThumbnailResolution; - /** - * To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together. The aspect ratio of thumbnails. Valid values include: auto, 1:1, 4:3, 3:2, 16:9 If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file. - */ - AspectRatio?: AspectRatio; - /** - * The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096. - */ - MaxWidth?: DigitsOrAuto; - /** - * The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072. - */ - MaxHeight?: DigitsOrAuto; - /** - * Specify one of the following values to control scaling of thumbnails: Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value. Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value. Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted. Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails. ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up. ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up. - */ - SizingPolicy?: SizingPolicy; - /** - * When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings. - */ - PaddingPolicy?: PaddingPolicy; - } - export type Time = string; - export type TimeOffset = string; - export interface TimeSpan { - /** - * The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file. - */ - StartTime?: Time; - /** - * The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file. If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message. - */ - Duration?: Time; - } - export interface Timing { - /** - * The time the job was submitted to Elastic Transcoder, in epoch milliseconds. - */ - SubmitTimeMillis?: NullableLong; - /** - * The time the job began transcoding, in epoch milliseconds. - */ - StartTimeMillis?: NullableLong; - /** - * The time the job finished transcoding, in epoch milliseconds. - */ - FinishTimeMillis?: NullableLong; - } - export interface UpdatePipelineNotificationsRequest { - /** - * The identifier of the pipeline for which you want to change notification settings. - */ - Id: Id; - /** - * The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic. Completed: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic. Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic. Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic. - */ - Notifications: Notifications; - } - export interface UpdatePipelineNotificationsResponse { - /** - * A section of the response body that provides information about the pipeline associated with this notification. - */ - Pipeline?: Pipeline; - } - export interface UpdatePipelineRequest { - /** - * The ID of the pipeline that you want to update. - */ - Id: Id; - /** - * The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced. Constraints: Maximum 40 characters - */ - Name?: Name; - /** - * The Amazon S3 bucket in which you saved the media files that you want to transcode and the graphics that you want to use as watermarks. - */ - InputBucket?: BucketName; - /** - * The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to transcode jobs for this pipeline. - */ - Role?: Role; - /** - * The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline. If you use either S3 or S3-AWS-KMS as your Encryption:Mode, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an Encryption:Mode of AES-PKCS7, AES-CTR, or AES-GCM. - */ - AwsKmsKeyArn?: KeyArn; - /** - * The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic. Completed: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic. Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic. Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic. - */ - Notifications?: Notifications; - /** - * The optional ContentConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists: which bucket to use, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files. If you specify values for ContentConfig, you must also specify values for ThumbnailConfig. If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket object. Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Permissions (Optional): The Permissions object specifies which users you want to have access to transcoded files and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups. Grantee Type: Specify the type of value that appears in the Grantee object: Canonical: The value in the Grantee object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. For more information about canonical user IDs, see Access Control List (ACL) Overview in the Amazon Simple Storage Service Developer Guide. For more information about using CloudFront origin access identities to require that users use CloudFront URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content. A canonical user ID is not the same as an AWS account number. Email: The value in the Grantee object is the registered email address of an AWS account. Group: The value in the Grantee object is one of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery. Grantee: The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group Access: The permission that you want to give to the AWS user that you specified in Grantee. Permissions are granted on the files that Elastic Transcoder adds to the bucket, including playlists and video files. Valid values include: READ: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket. StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket. - */ - ContentConfig?: PipelineOutputConfig; - /** - * The ThumbnailConfig object specifies several values, including the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files. If you specify values for ContentConfig, you must also specify values for ThumbnailConfig even if you don't want to create thumbnails. If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket object. Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Permissions (Optional): The Permissions object specifies which users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups. GranteeType: Specify the type of value that appears in the Grantee object: Canonical: The value in the Grantee object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number. Email: The value in the Grantee object is the registered email address of an AWS account. Group: The value in the Grantee object is one of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery. Grantee: The AWS user or group that you want to have access to thumbnail files. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group. Access: The permission that you want to give to the AWS user that you specified in Grantee. Permissions are granted on the thumbnail files that Elastic Transcoder adds to the bucket. Valid values include: READ: The grantee can read the thumbnails and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket. - */ - ThumbnailConfig?: PipelineOutputConfig; - } - export interface UpdatePipelineResponse { - /** - * The pipeline updated by this UpdatePipelineResponse call. - */ - Pipeline?: Pipeline; - /** - * Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline. Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges. - */ - Warnings?: Warnings; - } - export interface UpdatePipelineStatusRequest { - /** - * The identifier of the pipeline to update. - */ - Id: Id; - /** - * The desired status of the pipeline: Active: The pipeline is processing jobs. Paused: The pipeline is not currently processing jobs. - */ - Status: PipelineStatus; - } - export interface UpdatePipelineStatusResponse { - /** - * A section of the response body that provides information about the pipeline. - */ - Pipeline?: Pipeline; - } - export type UserMetadata = {[key: string]: String}; - export type VerticalAlign = string; - export type VideoBitRate = string; - export type VideoCodec = string; - export interface VideoParameters { - /** - * The video codec for the output file. Valid values include gif, H.264, mpeg2, vp8, and vp9. You can only specify vp8 and vp9 when the container type is webm, gif when the container type is gif, and mpeg2 when the container type is mpg. - */ - Codec?: VideoCodec; - /** - * Profile (H.264/VP8/VP9 Only) The H.264 profile that you want to use for the output file. Elastic Transcoder supports the following profiles: baseline: The profile most commonly used for videoconferencing and for mobile applications. main: The profile used for standard-definition digital TV broadcasts. high: The profile used for high-definition digital TV broadcasts and for Blu-ray discs. Level (H.264 Only) The H.264 level that you want to use for the output file. Elastic Transcoder supports the following levels: 1, 1b, 1.1, 1.2, 1.3, 2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1 MaxReferenceFrames (H.264 Only) Applicable only when the value of Video:Codec is H.264. The maximum number of previously decoded frames to use as a reference for decoding future frames. Valid values are integers 0 through 16, but we recommend that you not use a value greater than the following: Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16) where Width in pixels and Height in pixels represent either MaxWidth and MaxHeight, or Resolution. Maximum decoded picture buffer in macroblocks depends on the value of the Level object. See the list below. (A macroblock is a block of pixels measuring 16x16.) 1 - 396 1b - 396 1.1 - 900 1.2 - 2376 1.3 - 2376 2 - 2376 2.1 - 4752 2.2 - 8100 3 - 8100 3.1 - 18000 3.2 - 20480 4 - 32768 4.1 - 32768 MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only) The maximum number of bits per second in a video buffer; the size of the buffer is specified by BufferSize. Specify a value between 16 and 62,500. You can reduce the bandwidth required to stream a video by reducing the maximum bit rate, but this also reduces the quality of the video. BufferSize (Optional, H.264/MPEG2/VP8/VP9 only) The maximum number of bits in any x seconds of the output video. This window is commonly 10 seconds, the standard segment duration when you're using FMP4 or MPEG-TS for the container type of the output video. Specify an integer greater than 0. If you specify MaxBitRate and omit BufferSize, Elastic Transcoder sets BufferSize to 10 times the value of MaxBitRate. InterlacedMode (Optional, H.264/MPEG2 Only) The interlace mode for the output video. Interlaced video is used to double the perceived frame rate for a video by interlacing two fields (one field on every other line, the other field on the other lines) so that the human eye registers multiple pictures per frame. Interlacing reduces the bandwidth required for transmitting a video, but can result in blurred images and flickering. Valid values include Progressive (no interlacing, top to bottom), TopFirst (top field first), BottomFirst (bottom field first), and Auto. If InterlaceMode is not specified, Elastic Transcoder uses Progressive for the output. If Auto is specified, Elastic Transcoder interlaces the output. ColorSpaceConversionMode (Optional, H.264/MPEG2 Only) The color space conversion Elastic Transcoder applies to the output video. Color spaces are the algorithms used by the computer to store information about how to render color. Bt.601 is the standard for standard definition video, while Bt.709 is the standard for high definition video. Valid values include None, Bt709toBt601, Bt601toBt709, and Auto. If you chose Auto for ColorSpaceConversionMode and your output is interlaced, your frame rate is one of 23.97, 24, 25, 29.97, 50, or 60, your SegmentDuration is null, and you are using one of the resolution changes from the list below, Elastic Transcoder applies the following color space conversions: Standard to HD, 720x480 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709 Standard to HD, 720x576 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709 HD to Standard, 1920x1080 to 720x480 - Elastic Transcoder applies Bt709ToBt601 HD to Standard, 1920x1080 to 720x576 - Elastic Transcoder applies Bt709ToBt601 Elastic Transcoder may change the behavior of the ColorspaceConversionMode Auto mode in the future. All outputs in a playlist must use the same ColorSpaceConversionMode. If you do not specify a ColorSpaceConversionMode, Elastic Transcoder does not change the color space of a file. If you are unsure what ColorSpaceConversionMode was applied to your output file, you can check the AppliedColorSpaceConversion parameter included in your job response. If your job does not have an AppliedColorSpaceConversion in its response, no ColorSpaceConversionMode was applied. ChromaSubsampling The sampling pattern for the chroma (color) channels of the output video. Valid values include yuv420p and yuv422p. yuv420p samples the chroma information of every other horizontal and every other vertical line, yuv422p samples the color information of every horizontal line and every other vertical line. LoopCount (Gif Only) The number of times you want the output gif to loop. Valid values include Infinite and integers between 0 and 100, inclusive. - */ - CodecOptions?: CodecOptions; - /** - * Applicable only when the value of Video:Codec is one of H.264, MPEG2, or VP8. The maximum number of frames between key frames. Key frames are fully encoded frames; the frames between key frames are encoded based, in part, on the content of the key frames. The value is an integer formatted as a string; valid values are between 1 (every frame is a key frame) and 100000, inclusive. A higher value results in higher compression but may also discernibly decrease video quality. For Smooth outputs, the FrameRate must have a constant ratio to the KeyframesMaxDist. This allows Smooth playlists to switch between different quality levels while the file is being played. For example, an input file can have a FrameRate of 30 with a KeyframesMaxDist of 90. The output file then needs to have a ratio of 1:3. Valid outputs would have FrameRate of 30, 25, and 10, and KeyframesMaxDist of 90, 75, and 30, respectively. Alternately, this can be achieved by setting FrameRate to auto and having the same values for MaxFrameRate and KeyframesMaxDist. - */ - KeyframesMaxDist?: KeyframesMaxDist; - /** - * Applicable only when the value of Video:Codec is one of H.264, MPEG2, or VP8. Whether to use a fixed value for FixedGOP. Valid values are true and false: true: Elastic Transcoder uses the value of KeyframesMaxDist for the distance between key frames (the number of frames in a group of pictures, or GOP). false: The distance between key frames can vary. FixedGOP must be set to true for fmp4 containers. - */ - FixedGOP?: FixedGOP; - /** - * The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of Level and Profile. If you specify auto, Elastic Transcoder uses the detected bit rate of the input source. If you specify a value other than auto, we recommend that you specify a value less than or equal to the maximum H.264-compliant value listed for your level and profile: Level - Maximum video bit rate in kilobits/second (baseline and main Profile) : maximum video bit rate in kilobits/second (high Profile) 1 - 64 : 80 1b - 128 : 160 1.1 - 192 : 240 1.2 - 384 : 480 1.3 - 768 : 960 2 - 2000 : 2500 3 - 10000 : 12500 3.1 - 14000 : 17500 3.2 - 20000 : 25000 4 - 20000 : 25000 4.1 - 50000 : 62500 - */ - BitRate?: VideoBitRate; - /** - * The frames per second for the video stream in the output file. Valid values include: auto, 10, 15, 23.97, 24, 25, 29.97, 30, 60 If you specify auto, Elastic Transcoder uses the detected frame rate of the input source. If you specify a frame rate, we recommend that you perform the following calculation: Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels) where: width in pixels and height in pixels represent the Resolution of the output video. maximum recommended decoding speed in Luma samples/second is less than or equal to the maximum value listed in the following table, based on the value that you specified for Level. The maximum recommended decoding speed in Luma samples/second for each level is described in the following list (Level - Decoding speed): 1 - 380160 1b - 380160 1.1 - 76800 1.2 - 1536000 1.3 - 3041280 2 - 3041280 2.1 - 5068800 2.2 - 5184000 3 - 10368000 3.1 - 27648000 3.2 - 55296000 4 - 62914560 4.1 - 62914560 - */ - FrameRate?: FrameRate; - /** - * If you specify auto for FrameRate, Elastic Transcoder uses the frame rate of the input video for the frame rate of the output video. Specify the maximum frame rate that you want Elastic Transcoder to use when the frame rate of the input video is greater than the desired maximum frame rate of the output video. Valid values include: 10, 15, 23.97, 24, 25, 29.97, 30, 60. - */ - MaxFrameRate?: MaxFrameRate; - /** - * To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy, and DisplayAspectRatio instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together. The width and height of the video in the output file, in pixels. Valid values are auto and width x height: auto: Elastic Transcoder attempts to preserve the width and height of the input file, subject to the following rules. width x height : The width and height of the output video in pixels. Note the following about specifying the width and height: The width must be an even integer between 128 and 4096, inclusive. The height must be an even integer between 96 and 3072, inclusive. If you specify a resolution that is less than the resolution of the input file, Elastic Transcoder rescales the output file to the lower resolution. If you specify a resolution that is greater than the resolution of the input file, Elastic Transcoder rescales the output to the higher resolution. We recommend that you specify a resolution for which the product of width and height is less than or equal to the applicable value in the following list (List - Max width x height value): 1 - 25344 1b - 25344 1.1 - 101376 1.2 - 101376 1.3 - 101376 2 - 101376 2.1 - 202752 2.2 - 404720 3 - 404720 3.1 - 921600 3.2 - 1310720 4 - 2097152 4.1 - 2097152 - */ - Resolution?: Resolution; - /** - * To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy, and DisplayAspectRatio instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together. The display aspect ratio of the video in the output file. Valid values include: auto, 1:1, 4:3, 3:2, 16:9 If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the input file. If you specify an aspect ratio for the output file that differs from aspect ratio of the input file, Elastic Transcoder adds pillarboxing (black bars on the sides) or letterboxing (black bars on the top and bottom) to maintain the aspect ratio of the active region of the video. - */ - AspectRatio?: AspectRatio; - /** - * The maximum width of the output video in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 128 and 4096. - */ - MaxWidth?: DigitsOrAuto; - /** - * The maximum height of the output video in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 96 and 3072. - */ - MaxHeight?: DigitsOrAuto; - /** - * The value that Elastic Transcoder adds to the metadata in the output file. - */ - DisplayAspectRatio?: AspectRatio; - /** - * Specify one of the following values to control scaling of the output video: Fit: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value. Fill: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth or MaxHeight and matches or exceeds the other value. Elastic Transcoder centers the output video and then crops it in the dimension (if any) that exceeds the maximum value. Stretch: Elastic Transcoder stretches the output video to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the input video and the output video are different, the output video will be distorted. Keep: Elastic Transcoder does not scale the output video. If either dimension of the input video exceeds the values that you specified for MaxWidth and MaxHeight, Elastic Transcoder crops the output video. ShrinkToFit: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the video up. ShrinkToFill: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale the video up. - */ - SizingPolicy?: SizingPolicy; - /** - * When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of the output video to make the total size of the output video match the values that you specified for MaxWidth and MaxHeight. - */ - PaddingPolicy?: PaddingPolicy; - /** - * Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset. You can specify settings for up to four watermarks. Watermarks appear in the specified size and location, and with the specified opacity for the duration of the transcoded video. Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency. When you create a job that uses this preset, you specify the .png or .jpg graphics that you want Elastic Transcoder to include in the transcoded videos. You can specify fewer graphics in the job than you specify watermark settings in the preset, which allows you to use the same preset for up to four watermarks that have different dimensions. - */ - Watermarks?: PresetWatermarks; - } - export interface Warning { - /** - * The code of the cross-regional warning. - */ - Code?: String; - /** - * The message explaining what resources are in a different region from the pipeline. AWS KMS keys must be in the same region as the pipeline. - */ - Message?: String; - } - export type Warnings = Warning[]; - export type WatermarkKey = string; - export type WatermarkSizingPolicy = string; - export type ZeroTo255String = string; - export type ZeroTo512String = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2012-09-25"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ElasticTranscoder client. - */ - export import Types = ElasticTranscoder; -} -export = ElasticTranscoder; diff --git a/src/node_modules/aws-sdk/clients/elastictranscoder.js b/src/node_modules/aws-sdk/clients/elastictranscoder.js deleted file mode 100644 index c67fc75..0000000 --- a/src/node_modules/aws-sdk/clients/elastictranscoder.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['elastictranscoder'] = {}; -AWS.ElasticTranscoder = Service.defineService('elastictranscoder', ['2012-09-25']); -Object.defineProperty(apiLoader.services['elastictranscoder'], '2012-09-25', { - get: function get() { - var model = require('../apis/elastictranscoder-2012-09-25.min.json'); - model.paginators = require('../apis/elastictranscoder-2012-09-25.paginators.json').pagination; - model.waiters = require('../apis/elastictranscoder-2012-09-25.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ElasticTranscoder; diff --git a/src/node_modules/aws-sdk/clients/elb.d.ts b/src/node_modules/aws-sdk/clients/elb.d.ts deleted file mode 100644 index 2554931..0000000 --- a/src/node_modules/aws-sdk/clients/elb.d.ts +++ /dev/null @@ -1,1203 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ELB extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ELB.Types.ClientConfiguration) - config: Config & ELB.Types.ClientConfiguration; - /** - * Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the load balancer, AddTags updates its value. For more information, see Tag Your Classic Load Balancer in the Classic Load Balancer Guide. - */ - addTags(params: ELB.Types.AddTagsInput, callback?: (err: AWSError, data: ELB.Types.AddTagsOutput) => void): Request; - /** - * Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the load balancer, AddTags updates its value. For more information, see Tag Your Classic Load Balancer in the Classic Load Balancer Guide. - */ - addTags(callback?: (err: AWSError, data: ELB.Types.AddTagsOutput) => void): Request; - /** - * Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups. For more information, see Security Groups for Load Balancers in a VPC in the Classic Load Balancer Guide. - */ - applySecurityGroupsToLoadBalancer(params: ELB.Types.ApplySecurityGroupsToLoadBalancerInput, callback?: (err: AWSError, data: ELB.Types.ApplySecurityGroupsToLoadBalancerOutput) => void): Request; - /** - * Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups. For more information, see Security Groups for Load Balancers in a VPC in the Classic Load Balancer Guide. - */ - applySecurityGroupsToLoadBalancer(callback?: (err: AWSError, data: ELB.Types.ApplySecurityGroupsToLoadBalancerOutput) => void): Request; - /** - * Adds one or more subnets to the set of configured subnets for the specified load balancer. The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancer Guide. - */ - attachLoadBalancerToSubnets(params: ELB.Types.AttachLoadBalancerToSubnetsInput, callback?: (err: AWSError, data: ELB.Types.AttachLoadBalancerToSubnetsOutput) => void): Request; - /** - * Adds one or more subnets to the set of configured subnets for the specified load balancer. The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancer Guide. - */ - attachLoadBalancerToSubnets(callback?: (err: AWSError, data: ELB.Types.AttachLoadBalancerToSubnetsOutput) => void): Request; - /** - * Specifies the health check settings to use when evaluating the health state of your EC2 instances. For more information, see Configure Health Checks for Your Load Balancer in the Classic Load Balancer Guide. - */ - configureHealthCheck(params: ELB.Types.ConfigureHealthCheckInput, callback?: (err: AWSError, data: ELB.Types.ConfigureHealthCheckOutput) => void): Request; - /** - * Specifies the health check settings to use when evaluating the health state of your EC2 instances. For more information, see Configure Health Checks for Your Load Balancer in the Classic Load Balancer Guide. - */ - configureHealthCheck(callback?: (err: AWSError, data: ELB.Types.ConfigureHealthCheckOutput) => void): Request; - /** - * Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners. This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load Balancing cookie, AWSELB, follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only inserts a new stickiness cookie when the application response includes a new application cookie. If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued. For more information, see Application-Controlled Session Stickiness in the Classic Load Balancer Guide. - */ - createAppCookieStickinessPolicy(params: ELB.Types.CreateAppCookieStickinessPolicyInput, callback?: (err: AWSError, data: ELB.Types.CreateAppCookieStickinessPolicyOutput) => void): Request; - /** - * Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners. This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load Balancing cookie, AWSELB, follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only inserts a new stickiness cookie when the application response includes a new application cookie. If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued. For more information, see Application-Controlled Session Stickiness in the Classic Load Balancer Guide. - */ - createAppCookieStickinessPolicy(callback?: (err: AWSError, data: ELB.Types.CreateAppCookieStickinessPolicyOutput) => void): Request; - /** - * Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners. When a load balancer implements this policy, the load balancer uses a special cookie to track the instance for each request. When the load balancer receives a request, it first checks to see if this cookie is present in the request. If so, the load balancer sends the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based on the existing load-balancing algorithm. A cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is based on the cookie expiration time, which is specified in the policy configuration. For more information, see Duration-Based Session Stickiness in the Classic Load Balancer Guide. - */ - createLBCookieStickinessPolicy(params: ELB.Types.CreateLBCookieStickinessPolicyInput, callback?: (err: AWSError, data: ELB.Types.CreateLBCookieStickinessPolicyOutput) => void): Request; - /** - * Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners. When a load balancer implements this policy, the load balancer uses a special cookie to track the instance for each request. When the load balancer receives a request, it first checks to see if this cookie is present in the request. If so, the load balancer sends the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based on the existing load-balancing algorithm. A cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is based on the cookie expiration time, which is specified in the policy configuration. For more information, see Duration-Based Session Stickiness in the Classic Load Balancer Guide. - */ - createLBCookieStickinessPolicy(callback?: (err: AWSError, data: ELB.Types.CreateLBCookieStickinessPolicyOutput) => void): Request; - /** - * Creates a Classic Load Balancer. You can add listeners, security groups, subnets, and tags when you create your load balancer, or you can add them later using CreateLoadBalancerListeners, ApplySecurityGroupsToLoadBalancer, AttachLoadBalancerToSubnets, and AddTags. To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer. You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancer Guide. - */ - createLoadBalancer(params: ELB.Types.CreateAccessPointInput, callback?: (err: AWSError, data: ELB.Types.CreateAccessPointOutput) => void): Request; - /** - * Creates a Classic Load Balancer. You can add listeners, security groups, subnets, and tags when you create your load balancer, or you can add them later using CreateLoadBalancerListeners, ApplySecurityGroupsToLoadBalancer, AttachLoadBalancerToSubnets, and AddTags. To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer. You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancer Guide. - */ - createLoadBalancer(callback?: (err: AWSError, data: ELB.Types.CreateAccessPointOutput) => void): Request; - /** - * Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener. For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancer Guide. - */ - createLoadBalancerListeners(params: ELB.Types.CreateLoadBalancerListenerInput, callback?: (err: AWSError, data: ELB.Types.CreateLoadBalancerListenerOutput) => void): Request; - /** - * Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener. For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancer Guide. - */ - createLoadBalancerListeners(callback?: (err: AWSError, data: ELB.Types.CreateLoadBalancerListenerOutput) => void): Request; - /** - * Creates a policy with the specified attributes for the specified load balancer. Policies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type. - */ - createLoadBalancerPolicy(params: ELB.Types.CreateLoadBalancerPolicyInput, callback?: (err: AWSError, data: ELB.Types.CreateLoadBalancerPolicyOutput) => void): Request; - /** - * Creates a policy with the specified attributes for the specified load balancer. Policies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type. - */ - createLoadBalancerPolicy(callback?: (err: AWSError, data: ELB.Types.CreateLoadBalancerPolicyOutput) => void): Request; - /** - * Deletes the specified load balancer. If you are attempting to recreate a load balancer, you must reconfigure all settings. The DNS name associated with a deleted load balancer are no longer usable. The name and associated DNS record of the deleted load balancer no longer exist and traffic sent to any of its IP addresses is no longer delivered to your instances. If the load balancer does not exist or has already been deleted, the call to DeleteLoadBalancer still succeeds. - */ - deleteLoadBalancer(params: ELB.Types.DeleteAccessPointInput, callback?: (err: AWSError, data: ELB.Types.DeleteAccessPointOutput) => void): Request; - /** - * Deletes the specified load balancer. If you are attempting to recreate a load balancer, you must reconfigure all settings. The DNS name associated with a deleted load balancer are no longer usable. The name and associated DNS record of the deleted load balancer no longer exist and traffic sent to any of its IP addresses is no longer delivered to your instances. If the load balancer does not exist or has already been deleted, the call to DeleteLoadBalancer still succeeds. - */ - deleteLoadBalancer(callback?: (err: AWSError, data: ELB.Types.DeleteAccessPointOutput) => void): Request; - /** - * Deletes the specified listeners from the specified load balancer. - */ - deleteLoadBalancerListeners(params: ELB.Types.DeleteLoadBalancerListenerInput, callback?: (err: AWSError, data: ELB.Types.DeleteLoadBalancerListenerOutput) => void): Request; - /** - * Deletes the specified listeners from the specified load balancer. - */ - deleteLoadBalancerListeners(callback?: (err: AWSError, data: ELB.Types.DeleteLoadBalancerListenerOutput) => void): Request; - /** - * Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners. - */ - deleteLoadBalancerPolicy(params: ELB.Types.DeleteLoadBalancerPolicyInput, callback?: (err: AWSError, data: ELB.Types.DeleteLoadBalancerPolicyOutput) => void): Request; - /** - * Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners. - */ - deleteLoadBalancerPolicy(callback?: (err: AWSError, data: ELB.Types.DeleteLoadBalancerPolicyOutput) => void): Request; - /** - * Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer. You can use DescribeLoadBalancers to verify that the instance is deregistered from the load balancer. For more information, see Register or De-Register EC2 Instances in the Classic Load Balancer Guide. - */ - deregisterInstancesFromLoadBalancer(params: ELB.Types.DeregisterEndPointsInput, callback?: (err: AWSError, data: ELB.Types.DeregisterEndPointsOutput) => void): Request; - /** - * Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer. You can use DescribeLoadBalancers to verify that the instance is deregistered from the load balancer. For more information, see Register or De-Register EC2 Instances in the Classic Load Balancer Guide. - */ - deregisterInstancesFromLoadBalancer(callback?: (err: AWSError, data: ELB.Types.DeregisterEndPointsOutput) => void): Request; - /** - * Describes the current Elastic Load Balancing resource limits for your AWS account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancer Guide. - */ - describeAccountLimits(params: ELB.Types.DescribeAccountLimitsInput, callback?: (err: AWSError, data: ELB.Types.DescribeAccountLimitsOutput) => void): Request; - /** - * Describes the current Elastic Load Balancing resource limits for your AWS account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancer Guide. - */ - describeAccountLimits(callback?: (err: AWSError, data: ELB.Types.DescribeAccountLimitsOutput) => void): Request; - /** - * Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned. - */ - describeInstanceHealth(params: ELB.Types.DescribeEndPointStateInput, callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request; - /** - * Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned. - */ - describeInstanceHealth(callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request; - /** - * Describes the attributes for the specified load balancer. - */ - describeLoadBalancerAttributes(params: ELB.Types.DescribeLoadBalancerAttributesInput, callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerAttributesOutput) => void): Request; - /** - * Describes the attributes for the specified load balancer. - */ - describeLoadBalancerAttributes(callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerAttributesOutput) => void): Request; - /** - * Describes the specified policies. If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix. - */ - describeLoadBalancerPolicies(params: ELB.Types.DescribeLoadBalancerPoliciesInput, callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerPoliciesOutput) => void): Request; - /** - * Describes the specified policies. If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix. - */ - describeLoadBalancerPolicies(callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerPoliciesOutput) => void): Request; - /** - * Describes the specified load balancer policy types or all load balancer policy types. The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances. You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy. - */ - describeLoadBalancerPolicyTypes(params: ELB.Types.DescribeLoadBalancerPolicyTypesInput, callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerPolicyTypesOutput) => void): Request; - /** - * Describes the specified load balancer policy types or all load balancer policy types. The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances. You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy. - */ - describeLoadBalancerPolicyTypes(callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerPolicyTypesOutput) => void): Request; - /** - * Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers. - */ - describeLoadBalancers(params: ELB.Types.DescribeAccessPointsInput, callback?: (err: AWSError, data: ELB.Types.DescribeAccessPointsOutput) => void): Request; - /** - * Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers. - */ - describeLoadBalancers(callback?: (err: AWSError, data: ELB.Types.DescribeAccessPointsOutput) => void): Request; - /** - * Describes the tags associated with the specified load balancers. - */ - describeTags(params: ELB.Types.DescribeTagsInput, callback?: (err: AWSError, data: ELB.Types.DescribeTagsOutput) => void): Request; - /** - * Describes the tags associated with the specified load balancers. - */ - describeTags(callback?: (err: AWSError, data: ELB.Types.DescribeTagsOutput) => void): Request; - /** - * Removes the specified subnets from the set of configured subnets for the load balancer. After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state. Then, the load balancer balances the traffic among the remaining routable subnets. - */ - detachLoadBalancerFromSubnets(params: ELB.Types.DetachLoadBalancerFromSubnetsInput, callback?: (err: AWSError, data: ELB.Types.DetachLoadBalancerFromSubnetsOutput) => void): Request; - /** - * Removes the specified subnets from the set of configured subnets for the load balancer. After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state. Then, the load balancer balances the traffic among the remaining routable subnets. - */ - detachLoadBalancerFromSubnets(callback?: (err: AWSError, data: ELB.Types.DetachLoadBalancerFromSubnetsOutput) => void): Request; - /** - * Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer. There must be at least one Availability Zone registered with a load balancer at all times. After an Availability Zone is removed, all instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state. Then, the load balancer attempts to equally balance the traffic among its remaining Availability Zones. For more information, see Add or Remove Availability Zones in the Classic Load Balancer Guide. - */ - disableAvailabilityZonesForLoadBalancer(params: ELB.Types.RemoveAvailabilityZonesInput, callback?: (err: AWSError, data: ELB.Types.RemoveAvailabilityZonesOutput) => void): Request; - /** - * Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer. There must be at least one Availability Zone registered with a load balancer at all times. After an Availability Zone is removed, all instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state. Then, the load balancer attempts to equally balance the traffic among its remaining Availability Zones. For more information, see Add or Remove Availability Zones in the Classic Load Balancer Guide. - */ - disableAvailabilityZonesForLoadBalancer(callback?: (err: AWSError, data: ELB.Types.RemoveAvailabilityZonesOutput) => void): Request; - /** - * Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer. The load balancer evenly distributes requests across all its registered Availability Zones that contain instances. For more information, see Add or Remove Availability Zones in the Classic Load Balancer Guide. - */ - enableAvailabilityZonesForLoadBalancer(params: ELB.Types.AddAvailabilityZonesInput, callback?: (err: AWSError, data: ELB.Types.AddAvailabilityZonesOutput) => void): Request; - /** - * Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer. The load balancer evenly distributes requests across all its registered Availability Zones that contain instances. For more information, see Add or Remove Availability Zones in the Classic Load Balancer Guide. - */ - enableAvailabilityZonesForLoadBalancer(callback?: (err: AWSError, data: ELB.Types.AddAvailabilityZonesOutput) => void): Request; - /** - * Modifies the attributes of the specified load balancer. You can modify the load balancer attributes, such as AccessLogs, ConnectionDraining, and CrossZoneLoadBalancing by either enabling or disabling them. Or, you can modify the load balancer attribute ConnectionSettings by specifying an idle connection timeout value for your load balancer. For more information, see the following in the Classic Load Balancer Guide: Cross-Zone Load Balancing Connection Draining Access Logs Idle Connection Timeout - */ - modifyLoadBalancerAttributes(params: ELB.Types.ModifyLoadBalancerAttributesInput, callback?: (err: AWSError, data: ELB.Types.ModifyLoadBalancerAttributesOutput) => void): Request; - /** - * Modifies the attributes of the specified load balancer. You can modify the load balancer attributes, such as AccessLogs, ConnectionDraining, and CrossZoneLoadBalancing by either enabling or disabling them. Or, you can modify the load balancer attribute ConnectionSettings by specifying an idle connection timeout value for your load balancer. For more information, see the following in the Classic Load Balancer Guide: Cross-Zone Load Balancing Connection Draining Access Logs Idle Connection Timeout - */ - modifyLoadBalancerAttributes(callback?: (err: AWSError, data: ELB.Types.ModifyLoadBalancerAttributesOutput) => void): Request; - /** - * Adds the specified instances to the specified load balancer. The instance must be a running instance in the same network as the load balancer (EC2-Classic or the same VPC). If you have EC2-Classic instances and a load balancer in a VPC with ClassicLink enabled, you can link the EC2-Classic instances to that VPC and then register the linked EC2-Classic instances with the load balancer in the VPC. Note that RegisterInstanceWithLoadBalancer completes when the request has been registered. Instance registration takes a little time to complete. To check the state of the registered instances, use DescribeLoadBalancers or DescribeInstanceHealth. After the instance is registered, it starts receiving traffic and requests from the load balancer. Any instance that is not in one of the Availability Zones registered for the load balancer is moved to the OutOfService state. If an Availability Zone is added to the load balancer later, any instances registered with the load balancer move to the InService state. To deregister instances from a load balancer, use DeregisterInstancesFromLoadBalancer. For more information, see Register or De-Register EC2 Instances in the Classic Load Balancer Guide. - */ - registerInstancesWithLoadBalancer(params: ELB.Types.RegisterEndPointsInput, callback?: (err: AWSError, data: ELB.Types.RegisterEndPointsOutput) => void): Request; - /** - * Adds the specified instances to the specified load balancer. The instance must be a running instance in the same network as the load balancer (EC2-Classic or the same VPC). If you have EC2-Classic instances and a load balancer in a VPC with ClassicLink enabled, you can link the EC2-Classic instances to that VPC and then register the linked EC2-Classic instances with the load balancer in the VPC. Note that RegisterInstanceWithLoadBalancer completes when the request has been registered. Instance registration takes a little time to complete. To check the state of the registered instances, use DescribeLoadBalancers or DescribeInstanceHealth. After the instance is registered, it starts receiving traffic and requests from the load balancer. Any instance that is not in one of the Availability Zones registered for the load balancer is moved to the OutOfService state. If an Availability Zone is added to the load balancer later, any instances registered with the load balancer move to the InService state. To deregister instances from a load balancer, use DeregisterInstancesFromLoadBalancer. For more information, see Register or De-Register EC2 Instances in the Classic Load Balancer Guide. - */ - registerInstancesWithLoadBalancer(callback?: (err: AWSError, data: ELB.Types.RegisterEndPointsOutput) => void): Request; - /** - * Removes one or more tags from the specified load balancer. - */ - removeTags(params: ELB.Types.RemoveTagsInput, callback?: (err: AWSError, data: ELB.Types.RemoveTagsOutput) => void): Request; - /** - * Removes one or more tags from the specified load balancer. - */ - removeTags(callback?: (err: AWSError, data: ELB.Types.RemoveTagsOutput) => void): Request; - /** - * Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate that was used on the same load balancer and port. For more information about updating your SSL certificate, see Replace the SSL Certificate for Your Load Balancer in the Classic Load Balancer Guide. - */ - setLoadBalancerListenerSSLCertificate(params: ELB.Types.SetLoadBalancerListenerSSLCertificateInput, callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerListenerSSLCertificateOutput) => void): Request; - /** - * Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate that was used on the same load balancer and port. For more information about updating your SSL certificate, see Replace the SSL Certificate for Your Load Balancer in the Classic Load Balancer Guide. - */ - setLoadBalancerListenerSSLCertificate(callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerListenerSSLCertificateOutput) => void): Request; - /** - * Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies. Each time you use SetLoadBalancerPoliciesForBackendServer to enable the policies, use the PolicyNames parameter to list the policies that you want to enable. You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy is associated with the EC2 instance. For more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication in the Classic Load Balancer Guide. For more information about Proxy Protocol, see Configure Proxy Protocol Support in the Classic Load Balancer Guide. - */ - setLoadBalancerPoliciesForBackendServer(params: ELB.Types.SetLoadBalancerPoliciesForBackendServerInput, callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerPoliciesForBackendServerOutput) => void): Request; - /** - * Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies. Each time you use SetLoadBalancerPoliciesForBackendServer to enable the policies, use the PolicyNames parameter to list the policies that you want to enable. You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy is associated with the EC2 instance. For more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication in the Classic Load Balancer Guide. For more information about Proxy Protocol, see Configure Proxy Protocol Support in the Classic Load Balancer Guide. - */ - setLoadBalancerPoliciesForBackendServer(callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerPoliciesForBackendServerOutput) => void): Request; - /** - * Replaces the current set of policies for the specified load balancer port with the specified set of policies. To enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer. For more information about setting policies, see Update the SSL Negotiation Configuration, Duration-Based Session Stickiness, and Application-Controlled Session Stickiness in the Classic Load Balancer Guide. - */ - setLoadBalancerPoliciesOfListener(params: ELB.Types.SetLoadBalancerPoliciesOfListenerInput, callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerPoliciesOfListenerOutput) => void): Request; - /** - * Replaces the current set of policies for the specified load balancer port with the specified set of policies. To enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer. For more information about setting policies, see Update the SSL Negotiation Configuration, Duration-Based Session Stickiness, and Application-Controlled Session Stickiness in the Classic Load Balancer Guide. - */ - setLoadBalancerPoliciesOfListener(callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerPoliciesOfListenerOutput) => void): Request; - /** - * Waits for the instanceDeregistered state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceDeregistered", params: ELB.Types.DescribeEndPointStateInput, callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request; - /** - * Waits for the instanceDeregistered state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceDeregistered", callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request; - /** - * Waits for the anyInstanceInService state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "anyInstanceInService", params: ELB.Types.DescribeEndPointStateInput, callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request; - /** - * Waits for the anyInstanceInService state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "anyInstanceInService", callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request; - /** - * Waits for the instanceInService state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceInService", params: ELB.Types.DescribeEndPointStateInput, callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request; - /** - * Waits for the instanceInService state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "instanceInService", callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request; -} -declare namespace ELB { - export interface AccessLog { - /** - * Specifies whether access logs are enabled for the load balancer. - */ - Enabled: AccessLogEnabled; - /** - * The name of the Amazon S3 bucket where the access logs are stored. - */ - S3BucketName?: S3BucketName; - /** - * The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes. Default: 60 minutes - */ - EmitInterval?: AccessLogInterval; - /** - * The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod. If the prefix is not provided, the log is placed at the root level of the bucket. - */ - S3BucketPrefix?: AccessLogPrefix; - } - export type AccessLogEnabled = boolean; - export type AccessLogInterval = number; - export type AccessLogPrefix = string; - export type AccessPointName = string; - export type AccessPointPort = number; - export interface AddAvailabilityZonesInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The Availability Zones. These must be in the same region as the load balancer. - */ - AvailabilityZones: AvailabilityZones; - } - export interface AddAvailabilityZonesOutput { - /** - * The updated list of Availability Zones for the load balancer. - */ - AvailabilityZones?: AvailabilityZones; - } - export interface AddTagsInput { - /** - * The name of the load balancer. You can specify one load balancer only. - */ - LoadBalancerNames: LoadBalancerNames; - /** - * The tags. - */ - Tags: TagList; - } - export interface AddTagsOutput { - } - export interface AdditionalAttribute { - /** - * This parameter is reserved. - */ - Key?: AdditionalAttributeKey; - /** - * This parameter is reserved. - */ - Value?: AdditionalAttributeValue; - } - export type AdditionalAttributeKey = string; - export type AdditionalAttributeValue = string; - export type AdditionalAttributes = AdditionalAttribute[]; - export type AppCookieStickinessPolicies = AppCookieStickinessPolicy[]; - export interface AppCookieStickinessPolicy { - /** - * The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer. - */ - PolicyName?: PolicyName; - /** - * The name of the application cookie used for stickiness. - */ - CookieName?: CookieName; - } - export interface ApplySecurityGroupsToLoadBalancerInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group. - */ - SecurityGroups: SecurityGroups; - } - export interface ApplySecurityGroupsToLoadBalancerOutput { - /** - * The IDs of the security groups associated with the load balancer. - */ - SecurityGroups?: SecurityGroups; - } - export interface AttachLoadBalancerToSubnetsInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The IDs of the subnets to add. You can add only one subnet per Availability Zone. - */ - Subnets: Subnets; - } - export interface AttachLoadBalancerToSubnetsOutput { - /** - * The IDs of the subnets attached to the load balancer. - */ - Subnets?: Subnets; - } - export type AttributeName = string; - export type AttributeType = string; - export type AttributeValue = string; - export type AvailabilityZone = string; - export type AvailabilityZones = AvailabilityZone[]; - export interface BackendServerDescription { - /** - * The port on which the EC2 instance is listening. - */ - InstancePort?: InstancePort; - /** - * The names of the policies enabled for the EC2 instance. - */ - PolicyNames?: PolicyNames; - } - export type BackendServerDescriptions = BackendServerDescription[]; - export type Cardinality = string; - export interface ConfigureHealthCheckInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The configuration information. - */ - HealthCheck: HealthCheck; - } - export interface ConfigureHealthCheckOutput { - /** - * The updated health check. - */ - HealthCheck?: HealthCheck; - } - export interface ConnectionDraining { - /** - * Specifies whether connection draining is enabled for the load balancer. - */ - Enabled: ConnectionDrainingEnabled; - /** - * The maximum time, in seconds, to keep the existing connections open before deregistering the instances. - */ - Timeout?: ConnectionDrainingTimeout; - } - export type ConnectionDrainingEnabled = boolean; - export type ConnectionDrainingTimeout = number; - export interface ConnectionSettings { - /** - * The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer. - */ - IdleTimeout: IdleTimeout; - } - export type CookieExpirationPeriod = number; - export type CookieName = string; - export interface CreateAccessPointInput { - /** - * The name of the load balancer. This name must be unique within your set of load balancers for the region, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen. - */ - LoadBalancerName: AccessPointName; - /** - * The listeners. For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancer Guide. - */ - Listeners: Listeners; - /** - * One or more Availability Zones from the same region as the load balancer. You must specify at least one Availability Zone. You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer. - */ - AvailabilityZones?: AvailabilityZones; - /** - * The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones. - */ - Subnets?: Subnets; - /** - * The IDs of the security groups to assign to the load balancer. - */ - SecurityGroups?: SecurityGroups; - /** - * The type of a load balancer. Valid only for load balancers in a VPC. By default, Elastic Load Balancing creates an Internet-facing load balancer with a DNS name that resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Load Balancer Scheme in the Elastic Load Balancing User Guide. Specify internal to create a load balancer with a DNS name that resolves to private IP addresses. - */ - Scheme?: LoadBalancerScheme; - /** - * A list of tags to assign to the load balancer. For more information about tagging your load balancer, see Tag Your Classic Load Balancer in the Classic Load Balancer Guide. - */ - Tags?: TagList; - } - export interface CreateAccessPointOutput { - /** - * The DNS name of the load balancer. - */ - DNSName?: DNSName; - } - export interface CreateAppCookieStickinessPolicyInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer. - */ - PolicyName: PolicyName; - /** - * The name of the application cookie used for stickiness. - */ - CookieName: CookieName; - } - export interface CreateAppCookieStickinessPolicyOutput { - } - export interface CreateLBCookieStickinessPolicyInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer. - */ - PolicyName: PolicyName; - /** - * The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session. - */ - CookieExpirationPeriod?: CookieExpirationPeriod; - } - export interface CreateLBCookieStickinessPolicyOutput { - } - export interface CreateLoadBalancerListenerInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The listeners. - */ - Listeners: Listeners; - } - export interface CreateLoadBalancerListenerOutput { - } - export interface CreateLoadBalancerPolicyInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer. - */ - PolicyName: PolicyName; - /** - * The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes. - */ - PolicyTypeName: PolicyTypeName; - /** - * The policy attributes. - */ - PolicyAttributes?: PolicyAttributes; - } - export interface CreateLoadBalancerPolicyOutput { - } - export type CreatedTime = Date; - export interface CrossZoneLoadBalancing { - /** - * Specifies whether cross-zone load balancing is enabled for the load balancer. - */ - Enabled: CrossZoneLoadBalancingEnabled; - } - export type CrossZoneLoadBalancingEnabled = boolean; - export type DNSName = string; - export type DefaultValue = string; - export interface DeleteAccessPointInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - } - export interface DeleteAccessPointOutput { - } - export interface DeleteLoadBalancerListenerInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The client port numbers of the listeners. - */ - LoadBalancerPorts: Ports; - } - export interface DeleteLoadBalancerListenerOutput { - } - export interface DeleteLoadBalancerPolicyInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The name of the policy. - */ - PolicyName: PolicyName; - } - export interface DeleteLoadBalancerPolicyOutput { - } - export interface DeregisterEndPointsInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The IDs of the instances. - */ - Instances: Instances; - } - export interface DeregisterEndPointsOutput { - /** - * The remaining instances registered with the load balancer. - */ - Instances?: Instances; - } - export interface DescribeAccessPointsInput { - /** - * The names of the load balancers. - */ - LoadBalancerNames?: LoadBalancerNames; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: Marker; - /** - * The maximum number of results to return with this call (a number from 1 to 400). The default is 400. - */ - PageSize?: PageSize; - } - export interface DescribeAccessPointsOutput { - /** - * Information about the load balancers. - */ - LoadBalancerDescriptions?: LoadBalancerDescriptions; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - NextMarker?: Marker; - } - export interface DescribeAccountLimitsInput { - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: Marker; - /** - * The maximum number of results to return with this call. - */ - PageSize?: PageSize; - } - export interface DescribeAccountLimitsOutput { - /** - * Information about the limits. - */ - Limits?: Limits; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - NextMarker?: Marker; - } - export interface DescribeEndPointStateInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The IDs of the instances. - */ - Instances?: Instances; - } - export interface DescribeEndPointStateOutput { - /** - * Information about the health of the instances. - */ - InstanceStates?: InstanceStates; - } - export interface DescribeLoadBalancerAttributesInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - } - export interface DescribeLoadBalancerAttributesOutput { - /** - * Information about the load balancer attributes. - */ - LoadBalancerAttributes?: LoadBalancerAttributes; - } - export interface DescribeLoadBalancerPoliciesInput { - /** - * The name of the load balancer. - */ - LoadBalancerName?: AccessPointName; - /** - * The names of the policies. - */ - PolicyNames?: PolicyNames; - } - export interface DescribeLoadBalancerPoliciesOutput { - /** - * Information about the policies. - */ - PolicyDescriptions?: PolicyDescriptions; - } - export interface DescribeLoadBalancerPolicyTypesInput { - /** - * The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing. - */ - PolicyTypeNames?: PolicyTypeNames; - } - export interface DescribeLoadBalancerPolicyTypesOutput { - /** - * Information about the policy types. - */ - PolicyTypeDescriptions?: PolicyTypeDescriptions; - } - export interface DescribeTagsInput { - /** - * The names of the load balancers. - */ - LoadBalancerNames: LoadBalancerNamesMax20; - } - export interface DescribeTagsOutput { - /** - * Information about the tags. - */ - TagDescriptions?: TagDescriptions; - } - export type Description = string; - export interface DetachLoadBalancerFromSubnetsInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The IDs of the subnets. - */ - Subnets: Subnets; - } - export interface DetachLoadBalancerFromSubnetsOutput { - /** - * The IDs of the remaining subnets for the load balancer. - */ - Subnets?: Subnets; - } - export type EndPointPort = number; - export interface HealthCheck { - /** - * The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535. TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy. SSL is also specified as SSL: port pair, for example, SSL:5000. For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy. The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less. - */ - Target: HealthCheckTarget; - /** - * The approximate interval, in seconds, between health checks of an individual instance. - */ - Interval: HealthCheckInterval; - /** - * The amount of time, in seconds, during which no response means a failed health check. This value must be less than the Interval value. - */ - Timeout: HealthCheckTimeout; - /** - * The number of consecutive health check failures required before moving the instance to the Unhealthy state. - */ - UnhealthyThreshold: UnhealthyThreshold; - /** - * The number of consecutive health checks successes required before moving the instance to the Healthy state. - */ - HealthyThreshold: HealthyThreshold; - } - export type HealthCheckInterval = number; - export type HealthCheckTarget = string; - export type HealthCheckTimeout = number; - export type HealthyThreshold = number; - export type IdleTimeout = number; - export interface Instance { - /** - * The instance ID. - */ - InstanceId?: InstanceId; - } - export type InstanceId = string; - export type InstancePort = number; - export interface InstanceState { - /** - * The ID of the instance. - */ - InstanceId?: InstanceId; - /** - * The current state of the instance. Valid values: InService | OutOfService | Unknown - */ - State?: State; - /** - * Information about the cause of OutOfService instances. Specifically, whether the cause is Elastic Load Balancing or the instance. Valid values: ELB | Instance | N/A - */ - ReasonCode?: ReasonCode; - /** - * A description of the instance state. This string can contain one or more of the following messages. N/A A transient error occurred. Please try again later. Instance has failed at least the UnhealthyThreshold number of health checks consecutively. Instance has not passed the configured HealthyThreshold number of health checks consecutively. Instance registration is still in progress. Instance is in the EC2 Availability Zone for which LoadBalancer is not configured to route traffic to. Instance is not currently registered with the LoadBalancer. Instance deregistration currently in progress. Disable Availability Zone is currently in progress. Instance is in pending state. Instance is in stopped state. Instance is in terminated state. - */ - Description?: Description; - } - export type InstanceStates = InstanceState[]; - export type Instances = Instance[]; - export type LBCookieStickinessPolicies = LBCookieStickinessPolicy[]; - export interface LBCookieStickinessPolicy { - /** - * The name of the policy. This name must be unique within the set of policies for this load balancer. - */ - PolicyName?: PolicyName; - /** - * The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session. - */ - CookieExpirationPeriod?: CookieExpirationPeriod; - } - export interface Limit { - /** - * The name of the limit. The possible values are: classic-listeners classic-load-balancers - */ - Name?: Name; - /** - * The maximum value of the limit. - */ - Max?: Max; - } - export type Limits = Limit[]; - export interface Listener { - /** - * The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL. - */ - Protocol: Protocol; - /** - * The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535. - */ - LoadBalancerPort: AccessPointPort; - /** - * The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL. If the front-end protocol is HTTP, HTTPS, TCP, or SSL, InstanceProtocol must be at the same protocol. If there is another listener with the same InstancePort whose InstanceProtocol is secure, (HTTPS or SSL), the listener's InstanceProtocol must also be secure. If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol must be HTTP or TCP. - */ - InstanceProtocol?: Protocol; - /** - * The port on which the instance is listening. - */ - InstancePort: InstancePort; - /** - * The Amazon Resource Name (ARN) of the server certificate. - */ - SSLCertificateId?: SSLCertificateId; - } - export interface ListenerDescription { - /** - * The listener. - */ - Listener?: Listener; - /** - * The policies. If there are no policies enabled, the list is empty. - */ - PolicyNames?: PolicyNames; - } - export type ListenerDescriptions = ListenerDescription[]; - export type Listeners = Listener[]; - export interface LoadBalancerAttributes { - /** - * If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones. For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancer Guide. - */ - CrossZoneLoadBalancing?: CrossZoneLoadBalancing; - /** - * If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify. For more information, see Enable Access Logs in the Classic Load Balancer Guide. - */ - AccessLog?: AccessLog; - /** - * If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance. For more information, see Configure Connection Draining in the Classic Load Balancer Guide. - */ - ConnectionDraining?: ConnectionDraining; - /** - * If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration. By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancer Guide. - */ - ConnectionSettings?: ConnectionSettings; - /** - * This parameter is reserved. - */ - AdditionalAttributes?: AdditionalAttributes; - } - export interface LoadBalancerDescription { - /** - * The name of the load balancer. - */ - LoadBalancerName?: AccessPointName; - /** - * The DNS name of the load balancer. - */ - DNSName?: DNSName; - /** - * The DNS name of the load balancer. For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide. - */ - CanonicalHostedZoneName?: DNSName; - /** - * The ID of the Amazon Route 53 hosted zone for the load balancer. - */ - CanonicalHostedZoneNameID?: DNSName; - /** - * The listeners for the load balancer. - */ - ListenerDescriptions?: ListenerDescriptions; - /** - * The policies defined for the load balancer. - */ - Policies?: Policies; - /** - * Information about your EC2 instances. - */ - BackendServerDescriptions?: BackendServerDescriptions; - /** - * The Availability Zones for the load balancer. - */ - AvailabilityZones?: AvailabilityZones; - /** - * The IDs of the subnets for the load balancer. - */ - Subnets?: Subnets; - /** - * The ID of the VPC for the load balancer. - */ - VPCId?: VPCId; - /** - * The IDs of the instances for the load balancer. - */ - Instances?: Instances; - /** - * Information about the health checks conducted on the load balancer. - */ - HealthCheck?: HealthCheck; - /** - * The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - */ - SourceSecurityGroup?: SourceSecurityGroup; - /** - * The security groups for the load balancer. Valid only for load balancers in a VPC. - */ - SecurityGroups?: SecurityGroups; - /** - * The date and time the load balancer was created. - */ - CreatedTime?: CreatedTime; - /** - * The type of load balancer. Valid only for load balancers in a VPC. If Scheme is internet-facing, the load balancer has a public DNS name that resolves to a public IP address. If Scheme is internal, the load balancer has a public DNS name that resolves to a private IP address. - */ - Scheme?: LoadBalancerScheme; - } - export type LoadBalancerDescriptions = LoadBalancerDescription[]; - export type LoadBalancerNames = AccessPointName[]; - export type LoadBalancerNamesMax20 = AccessPointName[]; - export type LoadBalancerScheme = string; - export type Marker = string; - export type Max = string; - export interface ModifyLoadBalancerAttributesInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The attributes for the load balancer. - */ - LoadBalancerAttributes: LoadBalancerAttributes; - } - export interface ModifyLoadBalancerAttributesOutput { - /** - * The name of the load balancer. - */ - LoadBalancerName?: AccessPointName; - /** - * Information about the load balancer attributes. - */ - LoadBalancerAttributes?: LoadBalancerAttributes; - } - export type Name = string; - export type PageSize = number; - export interface Policies { - /** - * The stickiness policies created using CreateAppCookieStickinessPolicy. - */ - AppCookieStickinessPolicies?: AppCookieStickinessPolicies; - /** - * The stickiness policies created using CreateLBCookieStickinessPolicy. - */ - LBCookieStickinessPolicies?: LBCookieStickinessPolicies; - /** - * The policies other than the stickiness policies. - */ - OtherPolicies?: PolicyNames; - } - export interface PolicyAttribute { - /** - * The name of the attribute. - */ - AttributeName?: AttributeName; - /** - * The value of the attribute. - */ - AttributeValue?: AttributeValue; - } - export interface PolicyAttributeDescription { - /** - * The name of the attribute. - */ - AttributeName?: AttributeName; - /** - * The value of the attribute. - */ - AttributeValue?: AttributeValue; - } - export type PolicyAttributeDescriptions = PolicyAttributeDescription[]; - export interface PolicyAttributeTypeDescription { - /** - * The name of the attribute. - */ - AttributeName?: AttributeName; - /** - * The type of the attribute. For example, Boolean or Integer. - */ - AttributeType?: AttributeType; - /** - * A description of the attribute. - */ - Description?: Description; - /** - * The default value of the attribute, if applicable. - */ - DefaultValue?: DefaultValue; - /** - * The cardinality of the attribute. Valid values: ONE(1) : Single value required ZERO_OR_ONE(0..1) : Up to one value is allowed ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed ONE_OR_MORE(1..*0) : Required. Multiple values are allowed - */ - Cardinality?: Cardinality; - } - export type PolicyAttributeTypeDescriptions = PolicyAttributeTypeDescription[]; - export type PolicyAttributes = PolicyAttribute[]; - export interface PolicyDescription { - /** - * The name of the policy. - */ - PolicyName?: PolicyName; - /** - * The name of the policy type. - */ - PolicyTypeName?: PolicyTypeName; - /** - * The policy attributes. - */ - PolicyAttributeDescriptions?: PolicyAttributeDescriptions; - } - export type PolicyDescriptions = PolicyDescription[]; - export type PolicyName = string; - export type PolicyNames = PolicyName[]; - export interface PolicyTypeDescription { - /** - * The name of the policy type. - */ - PolicyTypeName?: PolicyTypeName; - /** - * A description of the policy type. - */ - Description?: Description; - /** - * The description of the policy attributes associated with the policies defined by Elastic Load Balancing. - */ - PolicyAttributeTypeDescriptions?: PolicyAttributeTypeDescriptions; - } - export type PolicyTypeDescriptions = PolicyTypeDescription[]; - export type PolicyTypeName = string; - export type PolicyTypeNames = PolicyTypeName[]; - export type Ports = AccessPointPort[]; - export type Protocol = string; - export type ReasonCode = string; - export interface RegisterEndPointsInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The IDs of the instances. - */ - Instances: Instances; - } - export interface RegisterEndPointsOutput { - /** - * The updated list of instances for the load balancer. - */ - Instances?: Instances; - } - export interface RemoveAvailabilityZonesInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The Availability Zones. - */ - AvailabilityZones: AvailabilityZones; - } - export interface RemoveAvailabilityZonesOutput { - /** - * The remaining Availability Zones for the load balancer. - */ - AvailabilityZones?: AvailabilityZones; - } - export interface RemoveTagsInput { - /** - * The name of the load balancer. You can specify a maximum of one load balancer name. - */ - LoadBalancerNames: LoadBalancerNames; - /** - * The list of tag keys to remove. - */ - Tags: TagKeyList; - } - export interface RemoveTagsOutput { - } - export type S3BucketName = string; - export type SSLCertificateId = string; - export type SecurityGroupId = string; - export type SecurityGroupName = string; - export type SecurityGroupOwnerAlias = string; - export type SecurityGroups = SecurityGroupId[]; - export interface SetLoadBalancerListenerSSLCertificateInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The port that uses the specified SSL certificate. - */ - LoadBalancerPort: AccessPointPort; - /** - * The Amazon Resource Name (ARN) of the SSL certificate. - */ - SSLCertificateId: SSLCertificateId; - } - export interface SetLoadBalancerListenerSSLCertificateOutput { - } - export interface SetLoadBalancerPoliciesForBackendServerInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The port number associated with the EC2 instance. - */ - InstancePort: EndPointPort; - /** - * The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance. - */ - PolicyNames: PolicyNames; - } - export interface SetLoadBalancerPoliciesForBackendServerOutput { - } - export interface SetLoadBalancerPoliciesOfListenerInput { - /** - * The name of the load balancer. - */ - LoadBalancerName: AccessPointName; - /** - * The external port of the load balancer. - */ - LoadBalancerPort: AccessPointPort; - /** - * The names of the policies. This list must include all policies to be enabled. If you omit a policy that is currently enabled, it is disabled. If the list is empty, all current policies are disabled. - */ - PolicyNames: PolicyNames; - } - export interface SetLoadBalancerPoliciesOfListenerOutput { - } - export interface SourceSecurityGroup { - /** - * The owner of the security group. - */ - OwnerAlias?: SecurityGroupOwnerAlias; - /** - * The name of the security group. - */ - GroupName?: SecurityGroupName; - } - export type State = string; - export type SubnetId = string; - export type Subnets = SubnetId[]; - export interface Tag { - /** - * The key of the tag. - */ - Key: TagKey; - /** - * The value of the tag. - */ - Value?: TagValue; - } - export interface TagDescription { - /** - * The name of the load balancer. - */ - LoadBalancerName?: AccessPointName; - /** - * The tags. - */ - Tags?: TagList; - } - export type TagDescriptions = TagDescription[]; - export type TagKey = string; - export type TagKeyList = TagKeyOnly[]; - export interface TagKeyOnly { - /** - * The name of the key. - */ - Key?: TagKey; - } - export type TagList = Tag[]; - export type TagValue = string; - export type UnhealthyThreshold = number; - export type VPCId = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2012-06-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ELB client. - */ - export import Types = ELB; -} -export = ELB; diff --git a/src/node_modules/aws-sdk/clients/elb.js b/src/node_modules/aws-sdk/clients/elb.js deleted file mode 100644 index 059ec9f..0000000 --- a/src/node_modules/aws-sdk/clients/elb.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['elb'] = {}; -AWS.ELB = Service.defineService('elb', ['2012-06-01']); -Object.defineProperty(apiLoader.services['elb'], '2012-06-01', { - get: function get() { - var model = require('../apis/elasticloadbalancing-2012-06-01.min.json'); - model.paginators = require('../apis/elasticloadbalancing-2012-06-01.paginators.json').pagination; - model.waiters = require('../apis/elasticloadbalancing-2012-06-01.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ELB; diff --git a/src/node_modules/aws-sdk/clients/elbv2.d.ts b/src/node_modules/aws-sdk/clients/elbv2.d.ts deleted file mode 100644 index b867b45..0000000 --- a/src/node_modules/aws-sdk/clients/elbv2.d.ts +++ /dev/null @@ -1,1345 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ELBv2 extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ELBv2.Types.ClientConfiguration) - config: Config & ELBv2.Types.ClientConfiguration; - /** - * Adds the specified tags to the specified resource. You can tag your Application Load Balancers and your target groups. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, AddTags updates its value. To list the current tags for your resources, use DescribeTags. To remove tags from your resources, use RemoveTags. - */ - addTags(params: ELBv2.Types.AddTagsInput, callback?: (err: AWSError, data: ELBv2.Types.AddTagsOutput) => void): Request; - /** - * Adds the specified tags to the specified resource. You can tag your Application Load Balancers and your target groups. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, AddTags updates its value. To list the current tags for your resources, use DescribeTags. To remove tags from your resources, use RemoveTags. - */ - addTags(callback?: (err: AWSError, data: ELBv2.Types.AddTagsOutput) => void): Request; - /** - * Creates a listener for the specified Application Load Balancer. You can create up to 10 listeners per load balancer. To update a listener, use ModifyListener. When you are finished with a listener, you can delete it using DeleteListener. If you are finished with both the listener and the load balancer, you can delete them both using DeleteLoadBalancer. For more information, see Listeners for Your Application Load Balancers in the Application Load Balancers Guide. - */ - createListener(params: ELBv2.Types.CreateListenerInput, callback?: (err: AWSError, data: ELBv2.Types.CreateListenerOutput) => void): Request; - /** - * Creates a listener for the specified Application Load Balancer. You can create up to 10 listeners per load balancer. To update a listener, use ModifyListener. When you are finished with a listener, you can delete it using DeleteListener. If you are finished with both the listener and the load balancer, you can delete them both using DeleteLoadBalancer. For more information, see Listeners for Your Application Load Balancers in the Application Load Balancers Guide. - */ - createListener(callback?: (err: AWSError, data: ELBv2.Types.CreateListenerOutput) => void): Request; - /** - * Creates an Application Load Balancer. When you create a load balancer, you can specify security groups, subnets, IP address type, and tags. Otherwise, you could do so later using SetSecurityGroups, SetSubnets, SetIpAddressType, and AddTags. To create listeners for your load balancer, use CreateListener. To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer. You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Limits for Your Application Load Balancer in the Application Load Balancers Guide. For more information, see Application Load Balancers in the Application Load Balancers Guide. - */ - createLoadBalancer(params: ELBv2.Types.CreateLoadBalancerInput, callback?: (err: AWSError, data: ELBv2.Types.CreateLoadBalancerOutput) => void): Request; - /** - * Creates an Application Load Balancer. When you create a load balancer, you can specify security groups, subnets, IP address type, and tags. Otherwise, you could do so later using SetSecurityGroups, SetSubnets, SetIpAddressType, and AddTags. To create listeners for your load balancer, use CreateListener. To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer. You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Limits for Your Application Load Balancer in the Application Load Balancers Guide. For more information, see Application Load Balancers in the Application Load Balancers Guide. - */ - createLoadBalancer(callback?: (err: AWSError, data: ELBv2.Types.CreateLoadBalancerOutput) => void): Request; - /** - * Creates a rule for the specified listener. Each rule can have one action and one condition. Rules are evaluated in priority order, from the lowest value to the highest value. When the condition for a rule is met, the specified action is taken. If no conditions are met, the default action for the default rule is taken. For more information, see Listener Rules in the Application Load Balancers Guide. To view your current rules, use DescribeRules. To update a rule, use ModifyRule. To set the priorities of your rules, use SetRulePriorities. To delete a rule, use DeleteRule. - */ - createRule(params: ELBv2.Types.CreateRuleInput, callback?: (err: AWSError, data: ELBv2.Types.CreateRuleOutput) => void): Request; - /** - * Creates a rule for the specified listener. Each rule can have one action and one condition. Rules are evaluated in priority order, from the lowest value to the highest value. When the condition for a rule is met, the specified action is taken. If no conditions are met, the default action for the default rule is taken. For more information, see Listener Rules in the Application Load Balancers Guide. To view your current rules, use DescribeRules. To update a rule, use ModifyRule. To set the priorities of your rules, use SetRulePriorities. To delete a rule, use DeleteRule. - */ - createRule(callback?: (err: AWSError, data: ELBv2.Types.CreateRuleOutput) => void): Request; - /** - * Creates a target group. To register targets with the target group, use RegisterTargets. To update the health check settings for the target group, use ModifyTargetGroup. To monitor the health of targets in the target group, use DescribeTargetHealth. To route traffic to the targets in a target group, specify the target group in an action using CreateListener or CreateRule. To delete a target group, use DeleteTargetGroup. For more information, see Target Groups for Your Application Load Balancers in the Application Load Balancers Guide. - */ - createTargetGroup(params: ELBv2.Types.CreateTargetGroupInput, callback?: (err: AWSError, data: ELBv2.Types.CreateTargetGroupOutput) => void): Request; - /** - * Creates a target group. To register targets with the target group, use RegisterTargets. To update the health check settings for the target group, use ModifyTargetGroup. To monitor the health of targets in the target group, use DescribeTargetHealth. To route traffic to the targets in a target group, specify the target group in an action using CreateListener or CreateRule. To delete a target group, use DeleteTargetGroup. For more information, see Target Groups for Your Application Load Balancers in the Application Load Balancers Guide. - */ - createTargetGroup(callback?: (err: AWSError, data: ELBv2.Types.CreateTargetGroupOutput) => void): Request; - /** - * Deletes the specified listener. Alternatively, your listener is deleted when you delete the load balancer it is attached to using DeleteLoadBalancer. - */ - deleteListener(params: ELBv2.Types.DeleteListenerInput, callback?: (err: AWSError, data: ELBv2.Types.DeleteListenerOutput) => void): Request; - /** - * Deletes the specified listener. Alternatively, your listener is deleted when you delete the load balancer it is attached to using DeleteLoadBalancer. - */ - deleteListener(callback?: (err: AWSError, data: ELBv2.Types.DeleteListenerOutput) => void): Request; - /** - * Deletes the specified Application Load Balancer and its attached listeners. You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds. Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them. - */ - deleteLoadBalancer(params: ELBv2.Types.DeleteLoadBalancerInput, callback?: (err: AWSError, data: ELBv2.Types.DeleteLoadBalancerOutput) => void): Request; - /** - * Deletes the specified Application Load Balancer and its attached listeners. You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds. Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them. - */ - deleteLoadBalancer(callback?: (err: AWSError, data: ELBv2.Types.DeleteLoadBalancerOutput) => void): Request; - /** - * Deletes the specified rule. - */ - deleteRule(params: ELBv2.Types.DeleteRuleInput, callback?: (err: AWSError, data: ELBv2.Types.DeleteRuleOutput) => void): Request; - /** - * Deletes the specified rule. - */ - deleteRule(callback?: (err: AWSError, data: ELBv2.Types.DeleteRuleOutput) => void): Request; - /** - * Deletes the specified target group. You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks. - */ - deleteTargetGroup(params: ELBv2.Types.DeleteTargetGroupInput, callback?: (err: AWSError, data: ELBv2.Types.DeleteTargetGroupOutput) => void): Request; - /** - * Deletes the specified target group. You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks. - */ - deleteTargetGroup(callback?: (err: AWSError, data: ELBv2.Types.DeleteTargetGroupOutput) => void): Request; - /** - * Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer. - */ - deregisterTargets(params: ELBv2.Types.DeregisterTargetsInput, callback?: (err: AWSError, data: ELBv2.Types.DeregisterTargetsOutput) => void): Request; - /** - * Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer. - */ - deregisterTargets(callback?: (err: AWSError, data: ELBv2.Types.DeregisterTargetsOutput) => void): Request; - /** - * Describes the current Elastic Load Balancing resource limits for your AWS account. For more information, see Limits for Your Application Load Balancer in the Application Load Balancer Guide. - */ - describeAccountLimits(params: ELBv2.Types.DescribeAccountLimitsInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeAccountLimitsOutput) => void): Request; - /** - * Describes the current Elastic Load Balancing resource limits for your AWS account. For more information, see Limits for Your Application Load Balancer in the Application Load Balancer Guide. - */ - describeAccountLimits(callback?: (err: AWSError, data: ELBv2.Types.DescribeAccountLimitsOutput) => void): Request; - /** - * Describes the specified listeners or the listeners for the specified Application Load Balancer. You must specify either a load balancer or one or more listeners. - */ - describeListeners(params: ELBv2.Types.DescribeListenersInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeListenersOutput) => void): Request; - /** - * Describes the specified listeners or the listeners for the specified Application Load Balancer. You must specify either a load balancer or one or more listeners. - */ - describeListeners(callback?: (err: AWSError, data: ELBv2.Types.DescribeListenersOutput) => void): Request; - /** - * Describes the attributes for the specified Application Load Balancer. - */ - describeLoadBalancerAttributes(params: ELBv2.Types.DescribeLoadBalancerAttributesInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancerAttributesOutput) => void): Request; - /** - * Describes the attributes for the specified Application Load Balancer. - */ - describeLoadBalancerAttributes(callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancerAttributesOutput) => void): Request; - /** - * Describes the specified Application Load Balancers or all of your Application Load Balancers. To describe the listeners for a load balancer, use DescribeListeners. To describe the attributes for a load balancer, use DescribeLoadBalancerAttributes. - */ - describeLoadBalancers(params: ELBv2.Types.DescribeLoadBalancersInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancersOutput) => void): Request; - /** - * Describes the specified Application Load Balancers or all of your Application Load Balancers. To describe the listeners for a load balancer, use DescribeListeners. To describe the attributes for a load balancer, use DescribeLoadBalancerAttributes. - */ - describeLoadBalancers(callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancersOutput) => void): Request; - /** - * Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules. - */ - describeRules(params: ELBv2.Types.DescribeRulesInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeRulesOutput) => void): Request; - /** - * Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules. - */ - describeRules(callback?: (err: AWSError, data: ELBv2.Types.DescribeRulesOutput) => void): Request; - /** - * Describes the specified policies or all policies used for SSL negotiation. For more information, see Security Policies in the Application Load Balancers Guide. - */ - describeSSLPolicies(params: ELBv2.Types.DescribeSSLPoliciesInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeSSLPoliciesOutput) => void): Request; - /** - * Describes the specified policies or all policies used for SSL negotiation. For more information, see Security Policies in the Application Load Balancers Guide. - */ - describeSSLPolicies(callback?: (err: AWSError, data: ELBv2.Types.DescribeSSLPoliciesOutput) => void): Request; - /** - * Describes the tags for the specified resources. You can describe the tags for one or more Application Load Balancers and target groups. - */ - describeTags(params: ELBv2.Types.DescribeTagsInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeTagsOutput) => void): Request; - /** - * Describes the tags for the specified resources. You can describe the tags for one or more Application Load Balancers and target groups. - */ - describeTags(callback?: (err: AWSError, data: ELBv2.Types.DescribeTagsOutput) => void): Request; - /** - * Describes the attributes for the specified target group. - */ - describeTargetGroupAttributes(params: ELBv2.Types.DescribeTargetGroupAttributesInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeTargetGroupAttributesOutput) => void): Request; - /** - * Describes the attributes for the specified target group. - */ - describeTargetGroupAttributes(callback?: (err: AWSError, data: ELBv2.Types.DescribeTargetGroupAttributesOutput) => void): Request; - /** - * Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups. To describe the targets for a target group, use DescribeTargetHealth. To describe the attributes of a target group, use DescribeTargetGroupAttributes. - */ - describeTargetGroups(params: ELBv2.Types.DescribeTargetGroupsInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeTargetGroupsOutput) => void): Request; - /** - * Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups. To describe the targets for a target group, use DescribeTargetHealth. To describe the attributes of a target group, use DescribeTargetGroupAttributes. - */ - describeTargetGroups(callback?: (err: AWSError, data: ELBv2.Types.DescribeTargetGroupsOutput) => void): Request; - /** - * Describes the health of the specified targets or all of your targets. - */ - describeTargetHealth(params: ELBv2.Types.DescribeTargetHealthInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeTargetHealthOutput) => void): Request; - /** - * Describes the health of the specified targets or all of your targets. - */ - describeTargetHealth(callback?: (err: AWSError, data: ELBv2.Types.DescribeTargetHealthOutput) => void): Request; - /** - * Modifies the specified properties of the specified listener. Any properties that you do not specify retain their current values. However, changing the protocol from HTTPS to HTTP removes the security policy and SSL certificate properties. If you change the protocol from HTTP to HTTPS, you must add the security policy and server certificate. - */ - modifyListener(params: ELBv2.Types.ModifyListenerInput, callback?: (err: AWSError, data: ELBv2.Types.ModifyListenerOutput) => void): Request; - /** - * Modifies the specified properties of the specified listener. Any properties that you do not specify retain their current values. However, changing the protocol from HTTPS to HTTP removes the security policy and SSL certificate properties. If you change the protocol from HTTP to HTTPS, you must add the security policy and server certificate. - */ - modifyListener(callback?: (err: AWSError, data: ELBv2.Types.ModifyListenerOutput) => void): Request; - /** - * Modifies the specified attributes of the specified Application Load Balancer. If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values. - */ - modifyLoadBalancerAttributes(params: ELBv2.Types.ModifyLoadBalancerAttributesInput, callback?: (err: AWSError, data: ELBv2.Types.ModifyLoadBalancerAttributesOutput) => void): Request; - /** - * Modifies the specified attributes of the specified Application Load Balancer. If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values. - */ - modifyLoadBalancerAttributes(callback?: (err: AWSError, data: ELBv2.Types.ModifyLoadBalancerAttributesOutput) => void): Request; - /** - * Modifies the specified rule. Any existing properties that you do not modify retain their current values. To modify the default action, use ModifyListener. - */ - modifyRule(params: ELBv2.Types.ModifyRuleInput, callback?: (err: AWSError, data: ELBv2.Types.ModifyRuleOutput) => void): Request; - /** - * Modifies the specified rule. Any existing properties that you do not modify retain their current values. To modify the default action, use ModifyListener. - */ - modifyRule(callback?: (err: AWSError, data: ELBv2.Types.ModifyRuleOutput) => void): Request; - /** - * Modifies the health checks used when evaluating the health state of the targets in the specified target group. To monitor the health of the targets, use DescribeTargetHealth. - */ - modifyTargetGroup(params: ELBv2.Types.ModifyTargetGroupInput, callback?: (err: AWSError, data: ELBv2.Types.ModifyTargetGroupOutput) => void): Request; - /** - * Modifies the health checks used when evaluating the health state of the targets in the specified target group. To monitor the health of the targets, use DescribeTargetHealth. - */ - modifyTargetGroup(callback?: (err: AWSError, data: ELBv2.Types.ModifyTargetGroupOutput) => void): Request; - /** - * Modifies the specified attributes of the specified target group. - */ - modifyTargetGroupAttributes(params: ELBv2.Types.ModifyTargetGroupAttributesInput, callback?: (err: AWSError, data: ELBv2.Types.ModifyTargetGroupAttributesOutput) => void): Request; - /** - * Modifies the specified attributes of the specified target group. - */ - modifyTargetGroupAttributes(callback?: (err: AWSError, data: ELBv2.Types.ModifyTargetGroupAttributesOutput) => void): Request; - /** - * Registers the specified targets with the specified target group. By default, the load balancer routes requests to registered targets using the protocol and port number for the target group. Alternatively, you can override the port for a target when you register it. The target must be in the virtual private cloud (VPC) that you specified for the target group. If the target is an EC2 instance, it must be in the running state when you register it. To remove a target from a target group, use DeregisterTargets. - */ - registerTargets(params: ELBv2.Types.RegisterTargetsInput, callback?: (err: AWSError, data: ELBv2.Types.RegisterTargetsOutput) => void): Request; - /** - * Registers the specified targets with the specified target group. By default, the load balancer routes requests to registered targets using the protocol and port number for the target group. Alternatively, you can override the port for a target when you register it. The target must be in the virtual private cloud (VPC) that you specified for the target group. If the target is an EC2 instance, it must be in the running state when you register it. To remove a target from a target group, use DeregisterTargets. - */ - registerTargets(callback?: (err: AWSError, data: ELBv2.Types.RegisterTargetsOutput) => void): Request; - /** - * Removes the specified tags from the specified resource. To list the current tags for your resources, use DescribeTags. - */ - removeTags(params: ELBv2.Types.RemoveTagsInput, callback?: (err: AWSError, data: ELBv2.Types.RemoveTagsOutput) => void): Request; - /** - * Removes the specified tags from the specified resource. To list the current tags for your resources, use DescribeTags. - */ - removeTags(callback?: (err: AWSError, data: ELBv2.Types.RemoveTagsOutput) => void): Request; - /** - * Sets the type of IP addresses used by the subnets of the specified Application Load Balancer. - */ - setIpAddressType(params: ELBv2.Types.SetIpAddressTypeInput, callback?: (err: AWSError, data: ELBv2.Types.SetIpAddressTypeOutput) => void): Request; - /** - * Sets the type of IP addresses used by the subnets of the specified Application Load Balancer. - */ - setIpAddressType(callback?: (err: AWSError, data: ELBv2.Types.SetIpAddressTypeOutput) => void): Request; - /** - * Sets the priorities of the specified rules. You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority. - */ - setRulePriorities(params: ELBv2.Types.SetRulePrioritiesInput, callback?: (err: AWSError, data: ELBv2.Types.SetRulePrioritiesOutput) => void): Request; - /** - * Sets the priorities of the specified rules. You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority. - */ - setRulePriorities(callback?: (err: AWSError, data: ELBv2.Types.SetRulePrioritiesOutput) => void): Request; - /** - * Associates the specified security groups with the specified load balancer. The specified security groups override the previously associated security groups. - */ - setSecurityGroups(params: ELBv2.Types.SetSecurityGroupsInput, callback?: (err: AWSError, data: ELBv2.Types.SetSecurityGroupsOutput) => void): Request; - /** - * Associates the specified security groups with the specified load balancer. The specified security groups override the previously associated security groups. - */ - setSecurityGroups(callback?: (err: AWSError, data: ELBv2.Types.SetSecurityGroupsOutput) => void): Request; - /** - * Enables the Availability Zone for the specified subnets for the specified load balancer. The specified subnets replace the previously enabled subnets. - */ - setSubnets(params: ELBv2.Types.SetSubnetsInput, callback?: (err: AWSError, data: ELBv2.Types.SetSubnetsOutput) => void): Request; - /** - * Enables the Availability Zone for the specified subnets for the specified load balancer. The specified subnets replace the previously enabled subnets. - */ - setSubnets(callback?: (err: AWSError, data: ELBv2.Types.SetSubnetsOutput) => void): Request; - /** - * Waits for the loadBalancerExists state by periodically calling the underlying ELBv2.describeLoadBalancersoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "loadBalancerExists", params: ELBv2.Types.DescribeLoadBalancersInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancersOutput) => void): Request; - /** - * Waits for the loadBalancerExists state by periodically calling the underlying ELBv2.describeLoadBalancersoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "loadBalancerExists", callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancersOutput) => void): Request; - /** - * Waits for the loadBalancerAvailable state by periodically calling the underlying ELBv2.describeLoadBalancersoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "loadBalancerAvailable", params: ELBv2.Types.DescribeLoadBalancersInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancersOutput) => void): Request; - /** - * Waits for the loadBalancerAvailable state by periodically calling the underlying ELBv2.describeLoadBalancersoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "loadBalancerAvailable", callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancersOutput) => void): Request; - /** - * Waits for the loadBalancersDeleted state by periodically calling the underlying ELBv2.describeLoadBalancersoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "loadBalancersDeleted", params: ELBv2.Types.DescribeLoadBalancersInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancersOutput) => void): Request; - /** - * Waits for the loadBalancersDeleted state by periodically calling the underlying ELBv2.describeLoadBalancersoperation every 15 seconds (at most 40 times). - */ - waitFor(state: "loadBalancersDeleted", callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancersOutput) => void): Request; -} -declare namespace ELBv2 { - export interface Action { - /** - * The type of action. - */ - Type: ActionTypeEnum; - /** - * The Amazon Resource Name (ARN) of the target group. - */ - TargetGroupArn: TargetGroupArn; - } - export type ActionTypeEnum = "forward"|string; - export type Actions = Action[]; - export interface AddTagsInput { - /** - * The Amazon Resource Name (ARN) of the resource. - */ - ResourceArns: ResourceArns; - /** - * The tags. Each resource can have a maximum of 10 tags. - */ - Tags: TagList; - } - export interface AddTagsOutput { - } - export interface AvailabilityZone { - /** - * The name of the Availability Zone. - */ - ZoneName?: ZoneName; - /** - * The ID of the subnet. - */ - SubnetId?: SubnetId; - } - export type AvailabilityZones = AvailabilityZone[]; - export type CanonicalHostedZoneId = string; - export interface Certificate { - /** - * The Amazon Resource Name (ARN) of the certificate. - */ - CertificateArn?: CertificateArn; - } - export type CertificateArn = string; - export type CertificateList = Certificate[]; - export interface Cipher { - /** - * The name of the cipher. - */ - Name?: CipherName; - /** - * The priority of the cipher. - */ - Priority?: CipherPriority; - } - export type CipherName = string; - export type CipherPriority = number; - export type Ciphers = Cipher[]; - export type ConditionFieldName = string; - export interface CreateListenerInput { - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn: LoadBalancerArn; - /** - * The protocol for connections from clients to the load balancer. - */ - Protocol: ProtocolEnum; - /** - * The port on which the load balancer is listening. - */ - Port: Port; - /** - * The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy. - */ - SslPolicy?: SslPolicyName; - /** - * The SSL server certificate. You must provide exactly one certificate if the protocol is HTTPS. - */ - Certificates?: CertificateList; - /** - * The default action for the listener. - */ - DefaultActions: Actions; - } - export interface CreateListenerOutput { - /** - * Information about the listener. - */ - Listeners?: Listeners; - } - export interface CreateLoadBalancerInput { - /** - * The name of the load balancer. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. - */ - Name: LoadBalancerName; - /** - * The IDs of the subnets to attach to the load balancer. You can specify only one subnet per Availability Zone. You must specify subnets from at least two Availability Zones. - */ - Subnets: Subnets; - /** - * The IDs of the security groups to assign to the load balancer. - */ - SecurityGroups?: SecurityGroups; - /** - * The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer. - */ - Scheme?: LoadBalancerSchemeEnum; - /** - * One or more tags to assign to the load balancer. - */ - Tags?: TagList; - /** - * The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use ipv4. - */ - IpAddressType?: IpAddressType; - } - export interface CreateLoadBalancerOutput { - /** - * Information about the load balancer. - */ - LoadBalancers?: LoadBalancers; - } - export interface CreateRuleInput { - /** - * The Amazon Resource Name (ARN) of the listener. - */ - ListenerArn: ListenerArn; - /** - * A condition. Each condition specifies a field name and a single value. If the field name is host-header, you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters. A-Z, a-z, 0-9 - . * (matches 0 or more characters) ? (matches exactly 1 character) If the field name is path-pattern, you can specify a single path pattern. A path pattern is case sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters. A-Z, a-z, 0-9 _ - . $ / ~ " ' @ : + & (using &amp;) * (matches 0 or more characters) ? (matches exactly 1 character) - */ - Conditions: RuleConditionList; - /** - * The priority for the rule. A listener can't have multiple rules with the same priority. - */ - Priority: RulePriority; - /** - * An action. Each action has the type forward and specifies a target group. - */ - Actions: Actions; - } - export interface CreateRuleOutput { - /** - * Information about the rule. - */ - Rules?: Rules; - } - export interface CreateTargetGroupInput { - /** - * The name of the target group. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. - */ - Name: TargetGroupName; - /** - * The protocol to use for routing traffic to the targets. - */ - Protocol: ProtocolEnum; - /** - * The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. - */ - Port: Port; - /** - * The identifier of the virtual private cloud (VPC). - */ - VpcId: VpcId; - /** - * The protocol the load balancer uses when performing health checks on targets. The default is the HTTP protocol. - */ - HealthCheckProtocol?: ProtocolEnum; - /** - * The port the load balancer uses when performing health checks on targets. The default is traffic-port, which indicates the port on which each target receives traffic from the load balancer. - */ - HealthCheckPort?: HealthCheckPort; - /** - * The ping path that is the destination on the targets for health checks. The default is /. - */ - HealthCheckPath?: Path; - /** - * The approximate amount of time, in seconds, between health checks of an individual target. The default is 30 seconds. - */ - HealthCheckIntervalSeconds?: HealthCheckIntervalSeconds; - /** - * The amount of time, in seconds, during which no response from a target means a failed health check. The default is 5 seconds. - */ - HealthCheckTimeoutSeconds?: HealthCheckTimeoutSeconds; - /** - * The number of consecutive health checks successes required before considering an unhealthy target healthy. The default is 5. - */ - HealthyThresholdCount?: HealthCheckThresholdCount; - /** - * The number of consecutive health check failures required before considering a target unhealthy. The default is 2. - */ - UnhealthyThresholdCount?: HealthCheckThresholdCount; - /** - * The HTTP codes to use when checking for a successful response from a target. The default is 200. - */ - Matcher?: Matcher; - } - export interface CreateTargetGroupOutput { - /** - * Information about the target group. - */ - TargetGroups?: TargetGroups; - } - export type CreatedTime = Date; - export type DNSName = string; - export interface DeleteListenerInput { - /** - * The Amazon Resource Name (ARN) of the listener. - */ - ListenerArn: ListenerArn; - } - export interface DeleteListenerOutput { - } - export interface DeleteLoadBalancerInput { - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn: LoadBalancerArn; - } - export interface DeleteLoadBalancerOutput { - } - export interface DeleteRuleInput { - /** - * The Amazon Resource Name (ARN) of the rule. - */ - RuleArn: RuleArn; - } - export interface DeleteRuleOutput { - } - export interface DeleteTargetGroupInput { - /** - * The Amazon Resource Name (ARN) of the target group. - */ - TargetGroupArn: TargetGroupArn; - } - export interface DeleteTargetGroupOutput { - } - export interface DeregisterTargetsInput { - /** - * The Amazon Resource Name (ARN) of the target group. - */ - TargetGroupArn: TargetGroupArn; - /** - * The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it. - */ - Targets: TargetDescriptions; - } - export interface DeregisterTargetsOutput { - } - export interface DescribeAccountLimitsInput { - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: Marker; - /** - * The maximum number of results to return with this call. - */ - PageSize?: PageSize; - } - export interface DescribeAccountLimitsOutput { - /** - * Information about the limits. - */ - Limits?: Limits; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - NextMarker?: Marker; - } - export interface DescribeListenersInput { - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn?: LoadBalancerArn; - /** - * The Amazon Resource Names (ARN) of the listeners. - */ - ListenerArns?: ListenerArns; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: Marker; - /** - * The maximum number of results to return with this call. - */ - PageSize?: PageSize; - } - export interface DescribeListenersOutput { - /** - * Information about the listeners. - */ - Listeners?: Listeners; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - NextMarker?: Marker; - } - export interface DescribeLoadBalancerAttributesInput { - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn: LoadBalancerArn; - } - export interface DescribeLoadBalancerAttributesOutput { - /** - * Information about the load balancer attributes. - */ - Attributes?: LoadBalancerAttributes; - } - export interface DescribeLoadBalancersInput { - /** - * The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a single call. - */ - LoadBalancerArns?: LoadBalancerArns; - /** - * The names of the load balancers. - */ - Names?: LoadBalancerNames; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: Marker; - /** - * The maximum number of results to return with this call. - */ - PageSize?: PageSize; - } - export interface DescribeLoadBalancersOutput { - /** - * Information about the load balancers. - */ - LoadBalancers?: LoadBalancers; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - NextMarker?: Marker; - } - export interface DescribeRulesInput { - /** - * The Amazon Resource Name (ARN) of the listener. - */ - ListenerArn?: ListenerArn; - /** - * The Amazon Resource Names (ARN) of the rules. - */ - RuleArns?: RuleArns; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: Marker; - /** - * The maximum number of results to return with this call. - */ - PageSize?: PageSize; - } - export interface DescribeRulesOutput { - /** - * Information about the rules. - */ - Rules?: Rules; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - NextMarker?: Marker; - } - export interface DescribeSSLPoliciesInput { - /** - * The names of the policies. - */ - Names?: SslPolicyNames; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: Marker; - /** - * The maximum number of results to return with this call. - */ - PageSize?: PageSize; - } - export interface DescribeSSLPoliciesOutput { - /** - * Information about the policies. - */ - SslPolicies?: SslPolicies; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - NextMarker?: Marker; - } - export interface DescribeTagsInput { - /** - * The Amazon Resource Names (ARN) of the resources. - */ - ResourceArns: ResourceArns; - } - export interface DescribeTagsOutput { - /** - * Information about the tags. - */ - TagDescriptions?: TagDescriptions; - } - export interface DescribeTargetGroupAttributesInput { - /** - * The Amazon Resource Name (ARN) of the target group. - */ - TargetGroupArn: TargetGroupArn; - } - export interface DescribeTargetGroupAttributesOutput { - /** - * Information about the target group attributes - */ - Attributes?: TargetGroupAttributes; - } - export interface DescribeTargetGroupsInput { - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn?: LoadBalancerArn; - /** - * The Amazon Resource Names (ARN) of the target groups. - */ - TargetGroupArns?: TargetGroupArns; - /** - * The names of the target groups. - */ - Names?: TargetGroupNames; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: Marker; - /** - * The maximum number of results to return with this call. - */ - PageSize?: PageSize; - } - export interface DescribeTargetGroupsOutput { - /** - * Information about the target groups. - */ - TargetGroups?: TargetGroups; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - NextMarker?: Marker; - } - export interface DescribeTargetHealthInput { - /** - * The Amazon Resource Name (ARN) of the target group. - */ - TargetGroupArn: TargetGroupArn; - /** - * The targets. - */ - Targets?: TargetDescriptions; - } - export interface DescribeTargetHealthOutput { - /** - * Information about the health of the targets. - */ - TargetHealthDescriptions?: TargetHealthDescriptions; - } - export type Description = string; - export type HealthCheckIntervalSeconds = number; - export type HealthCheckPort = string; - export type HealthCheckThresholdCount = number; - export type HealthCheckTimeoutSeconds = number; - export type HttpCode = string; - export type IpAddressType = "ipv4"|"dualstack"|string; - export type IsDefault = boolean; - export interface Limit { - /** - * The name of the limit. The possible values are: application-load-balancers listeners-per-application-load-balancer rules-per-application-load-balancer target-groups targets-per-application-load-balancer - */ - Name?: Name; - /** - * The maximum value of the limit. - */ - Max?: Max; - } - export type Limits = Limit[]; - export type ListOfString = StringValue[]; - export interface Listener { - /** - * The Amazon Resource Name (ARN) of the listener. - */ - ListenerArn?: ListenerArn; - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn?: LoadBalancerArn; - /** - * The port on which the load balancer is listening. - */ - Port?: Port; - /** - * The protocol for connections from clients to the load balancer. - */ - Protocol?: ProtocolEnum; - /** - * The SSL server certificate. You must provide a certificate if the protocol is HTTPS. - */ - Certificates?: CertificateList; - /** - * The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy. - */ - SslPolicy?: SslPolicyName; - /** - * The default actions for the listener. - */ - DefaultActions?: Actions; - } - export type ListenerArn = string; - export type ListenerArns = ListenerArn[]; - export type Listeners = Listener[]; - export interface LoadBalancer { - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn?: LoadBalancerArn; - /** - * The public DNS name of the load balancer. - */ - DNSName?: DNSName; - /** - * The ID of the Amazon Route 53 hosted zone associated with the load balancer. - */ - CanonicalHostedZoneId?: CanonicalHostedZoneId; - /** - * The date and time the load balancer was created. - */ - CreatedTime?: CreatedTime; - /** - * The name of the load balancer. - */ - LoadBalancerName?: LoadBalancerName; - /** - * The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer. - */ - Scheme?: LoadBalancerSchemeEnum; - /** - * The ID of the VPC for the load balancer. - */ - VpcId?: VpcId; - /** - * The state of the load balancer. - */ - State?: LoadBalancerState; - /** - * The type of load balancer. - */ - Type?: LoadBalancerTypeEnum; - /** - * The Availability Zones for the load balancer. - */ - AvailabilityZones?: AvailabilityZones; - /** - * The IDs of the security groups for the load balancer. - */ - SecurityGroups?: SecurityGroups; - /** - * The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). - */ - IpAddressType?: IpAddressType; - } - export type LoadBalancerArn = string; - export type LoadBalancerArns = LoadBalancerArn[]; - export interface LoadBalancerAttribute { - /** - * The name of the attribute. access_logs.s3.enabled - Indicates whether access logs stored in Amazon S3 are enabled. The value is true or false. access_logs.s3.bucket - The name of the S3 bucket for the access logs. This attribute is required if access logs in Amazon S3 are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permission to write to the bucket. access_logs.s3.prefix - The prefix for the location in the S3 bucket. If you don't specify a prefix, the access logs are stored in the root of the bucket. deletion_protection.enabled - Indicates whether deletion protection is enabled. The value is true or false. idle_timeout.timeout_seconds - The idle timeout value, in seconds. The valid range is 1-3600. The default is 60 seconds. - */ - Key?: LoadBalancerAttributeKey; - /** - * The value of the attribute. - */ - Value?: LoadBalancerAttributeValue; - } - export type LoadBalancerAttributeKey = string; - export type LoadBalancerAttributeValue = string; - export type LoadBalancerAttributes = LoadBalancerAttribute[]; - export type LoadBalancerName = string; - export type LoadBalancerNames = LoadBalancerName[]; - export type LoadBalancerSchemeEnum = "internet-facing"|"internal"|string; - export interface LoadBalancerState { - /** - * The state code. The initial state of the load balancer is provisioning. After the load balancer is fully set up and ready to route traffic, its state is active. If the load balancer could not be set up, its state is failed. - */ - Code?: LoadBalancerStateEnum; - /** - * A description of the state. - */ - Reason?: StateReason; - } - export type LoadBalancerStateEnum = "active"|"provisioning"|"failed"|string; - export type LoadBalancerTypeEnum = "application"|string; - export type LoadBalancers = LoadBalancer[]; - export type Marker = string; - export interface Matcher { - /** - * The HTTP codes. You can specify values between 200 and 499. The default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299"). - */ - HttpCode: HttpCode; - } - export type Max = string; - export interface ModifyListenerInput { - /** - * The Amazon Resource Name (ARN) of the listener. - */ - ListenerArn: ListenerArn; - /** - * The port for connections from clients to the load balancer. - */ - Port?: Port; - /** - * The protocol for connections from clients to the load balancer. - */ - Protocol?: ProtocolEnum; - /** - * The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide. - */ - SslPolicy?: SslPolicyName; - /** - * The SSL server certificate. - */ - Certificates?: CertificateList; - /** - * The default actions. - */ - DefaultActions?: Actions; - } - export interface ModifyListenerOutput { - /** - * Information about the modified listeners. - */ - Listeners?: Listeners; - } - export interface ModifyLoadBalancerAttributesInput { - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn: LoadBalancerArn; - /** - * The load balancer attributes. - */ - Attributes: LoadBalancerAttributes; - } - export interface ModifyLoadBalancerAttributesOutput { - /** - * Information about the load balancer attributes. - */ - Attributes?: LoadBalancerAttributes; - } - export interface ModifyRuleInput { - /** - * The Amazon Resource Name (ARN) of the rule. - */ - RuleArn: RuleArn; - /** - * The conditions. - */ - Conditions?: RuleConditionList; - /** - * The actions. - */ - Actions?: Actions; - } - export interface ModifyRuleOutput { - /** - * Information about the rule. - */ - Rules?: Rules; - } - export interface ModifyTargetGroupAttributesInput { - /** - * The Amazon Resource Name (ARN) of the target group. - */ - TargetGroupArn: TargetGroupArn; - /** - * The attributes. - */ - Attributes: TargetGroupAttributes; - } - export interface ModifyTargetGroupAttributesOutput { - /** - * Information about the attributes. - */ - Attributes?: TargetGroupAttributes; - } - export interface ModifyTargetGroupInput { - /** - * The Amazon Resource Name (ARN) of the target group. - */ - TargetGroupArn: TargetGroupArn; - /** - * The protocol to use to connect with the target. - */ - HealthCheckProtocol?: ProtocolEnum; - /** - * The port to use to connect with the target. - */ - HealthCheckPort?: HealthCheckPort; - /** - * The ping path that is the destination for the health check request. - */ - HealthCheckPath?: Path; - /** - * The approximate amount of time, in seconds, between health checks of an individual target. - */ - HealthCheckIntervalSeconds?: HealthCheckIntervalSeconds; - /** - * The amount of time, in seconds, during which no response means a failed health check. - */ - HealthCheckTimeoutSeconds?: HealthCheckTimeoutSeconds; - /** - * The number of consecutive health checks successes required before considering an unhealthy target healthy. - */ - HealthyThresholdCount?: HealthCheckThresholdCount; - /** - * The number of consecutive health check failures required before considering the target unhealthy. - */ - UnhealthyThresholdCount?: HealthCheckThresholdCount; - /** - * The HTTP codes to use when checking for a successful response from a target. - */ - Matcher?: Matcher; - } - export interface ModifyTargetGroupOutput { - /** - * Information about the target group. - */ - TargetGroups?: TargetGroups; - } - export type Name = string; - export type PageSize = number; - export type Path = string; - export type Port = number; - export type ProtocolEnum = "HTTP"|"HTTPS"|string; - export interface RegisterTargetsInput { - /** - * The Amazon Resource Name (ARN) of the target group. - */ - TargetGroupArn: TargetGroupArn; - /** - * The targets. The default port for a target is the port for the target group. You can specify a port override. If a target is already registered, you can register it again using a different port. - */ - Targets: TargetDescriptions; - } - export interface RegisterTargetsOutput { - } - export interface RemoveTagsInput { - /** - * The Amazon Resource Name (ARN) of the resource. - */ - ResourceArns: ResourceArns; - /** - * The tag keys for the tags to remove. - */ - TagKeys: TagKeys; - } - export interface RemoveTagsOutput { - } - export type ResourceArn = string; - export type ResourceArns = ResourceArn[]; - export interface Rule { - /** - * The Amazon Resource Name (ARN) of the rule. - */ - RuleArn?: RuleArn; - /** - * The priority. - */ - Priority?: String; - /** - * The conditions. - */ - Conditions?: RuleConditionList; - /** - * The actions. - */ - Actions?: Actions; - /** - * Indicates whether this is the default rule. - */ - IsDefault?: IsDefault; - } - export type RuleArn = string; - export type RuleArns = RuleArn[]; - export interface RuleCondition { - /** - * The name of the field. The possible values are host-header and path-pattern. - */ - Field?: ConditionFieldName; - /** - * The condition value. If the field name is host-header, you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters. A-Z, a-z, 0-9 - . * (matches 0 or more characters) ? (matches exactly 1 character) If the field name is path-pattern, you can specify a single path pattern (for example, /img/*). A path pattern is case sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that you can include up to three wildcard characters. A-Z, a-z, 0-9 _ - . $ / ~ " ' @ : + & (using &amp;) * (matches 0 or more characters) ? (matches exactly 1 character) - */ - Values?: ListOfString; - } - export type RuleConditionList = RuleCondition[]; - export type RulePriority = number; - export type RulePriorityList = RulePriorityPair[]; - export interface RulePriorityPair { - /** - * The Amazon Resource Name (ARN) of the rule. - */ - RuleArn?: RuleArn; - /** - * The rule priority. - */ - Priority?: RulePriority; - } - export type Rules = Rule[]; - export type SecurityGroupId = string; - export type SecurityGroups = SecurityGroupId[]; - export interface SetIpAddressTypeInput { - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn: LoadBalancerArn; - /** - * The IP address type. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use ipv4. - */ - IpAddressType: IpAddressType; - } - export interface SetIpAddressTypeOutput { - /** - * The IP address type. - */ - IpAddressType?: IpAddressType; - } - export interface SetRulePrioritiesInput { - /** - * The rule priorities. - */ - RulePriorities: RulePriorityList; - } - export interface SetRulePrioritiesOutput { - /** - * Information about the rules. - */ - Rules?: Rules; - } - export interface SetSecurityGroupsInput { - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn: LoadBalancerArn; - /** - * The IDs of the security groups. - */ - SecurityGroups: SecurityGroups; - } - export interface SetSecurityGroupsOutput { - /** - * The IDs of the security groups associated with the load balancer. - */ - SecurityGroupIds?: SecurityGroups; - } - export interface SetSubnetsInput { - /** - * The Amazon Resource Name (ARN) of the load balancer. - */ - LoadBalancerArn: LoadBalancerArn; - /** - * The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone. - */ - Subnets: Subnets; - } - export interface SetSubnetsOutput { - /** - * Information about the subnet and Availability Zone. - */ - AvailabilityZones?: AvailabilityZones; - } - export type SslPolicies = SslPolicy[]; - export interface SslPolicy { - /** - * The protocols. - */ - SslProtocols?: SslProtocols; - /** - * The ciphers. - */ - Ciphers?: Ciphers; - /** - * The name of the policy. - */ - Name?: SslPolicyName; - } - export type SslPolicyName = string; - export type SslPolicyNames = SslPolicyName[]; - export type SslProtocol = string; - export type SslProtocols = SslProtocol[]; - export type StateReason = string; - export type String = string; - export type StringValue = string; - export type SubnetId = string; - export type Subnets = SubnetId[]; - export interface Tag { - /** - * The key of the tag. - */ - Key: TagKey; - /** - * The value of the tag. - */ - Value?: TagValue; - } - export interface TagDescription { - /** - * The Amazon Resource Name (ARN) of the resource. - */ - ResourceArn?: ResourceArn; - /** - * Information about the tags. - */ - Tags?: TagList; - } - export type TagDescriptions = TagDescription[]; - export type TagKey = string; - export type TagKeys = TagKey[]; - export type TagList = Tag[]; - export type TagValue = string; - export interface TargetDescription { - /** - * The ID of the target. - */ - Id: TargetId; - /** - * The port on which the target is listening. - */ - Port?: Port; - } - export type TargetDescriptions = TargetDescription[]; - export interface TargetGroup { - /** - * The Amazon Resource Name (ARN) of the target group. - */ - TargetGroupArn?: TargetGroupArn; - /** - * The name of the target group. - */ - TargetGroupName?: TargetGroupName; - /** - * The protocol to use for routing traffic to the targets. - */ - Protocol?: ProtocolEnum; - /** - * The port on which the targets are listening. - */ - Port?: Port; - /** - * The ID of the VPC for the targets. - */ - VpcId?: VpcId; - /** - * The protocol to use to connect with the target. - */ - HealthCheckProtocol?: ProtocolEnum; - /** - * The port to use to connect with the target. - */ - HealthCheckPort?: HealthCheckPort; - /** - * The approximate amount of time, in seconds, between health checks of an individual target. - */ - HealthCheckIntervalSeconds?: HealthCheckIntervalSeconds; - /** - * The amount of time, in seconds, during which no response means a failed health check. - */ - HealthCheckTimeoutSeconds?: HealthCheckTimeoutSeconds; - /** - * The number of consecutive health checks successes required before considering an unhealthy target healthy. - */ - HealthyThresholdCount?: HealthCheckThresholdCount; - /** - * The number of consecutive health check failures required before considering the target unhealthy. - */ - UnhealthyThresholdCount?: HealthCheckThresholdCount; - /** - * The destination for the health check request. - */ - HealthCheckPath?: Path; - /** - * The HTTP codes to use when checking for a successful response from a target. - */ - Matcher?: Matcher; - /** - * The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group. - */ - LoadBalancerArns?: LoadBalancerArns; - } - export type TargetGroupArn = string; - export type TargetGroupArns = TargetGroupArn[]; - export interface TargetGroupAttribute { - /** - * The name of the attribute. deregistration_delay.timeout_seconds - The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds. stickiness.enabled - Indicates whether sticky sessions are enabled. The value is true or false. stickiness.type - The type of sticky sessions. The possible value is lb_cookie. stickiness.lb_cookie.duration_seconds - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). - */ - Key?: TargetGroupAttributeKey; - /** - * The value of the attribute. - */ - Value?: TargetGroupAttributeValue; - } - export type TargetGroupAttributeKey = string; - export type TargetGroupAttributeValue = string; - export type TargetGroupAttributes = TargetGroupAttribute[]; - export type TargetGroupName = string; - export type TargetGroupNames = TargetGroupName[]; - export type TargetGroups = TargetGroup[]; - export interface TargetHealth { - /** - * The state of the target. - */ - State?: TargetHealthStateEnum; - /** - * The reason code. If the target state is healthy, a reason code is not provided. If the target state is initial, the reason code can be one of the following values: Elb.RegistrationInProgress - The target is in the process of being registered with the load balancer. Elb.InitialHealthChecking - The load balancer is still sending the target the minimum number of health checks required to determine its health status. If the target state is unhealthy, the reason code can be one of the following values: Target.ResponseCodeMismatch - The health checks did not return an expected HTTP code. Target.Timeout - The health check requests timed out. Target.FailedHealthChecks - The health checks failed because the connection to the target timed out, the target response was malformed, or the target failed the health check for an unknown reason. Elb.InternalError - The health checks failed due to an internal error. If the target state is unused, the reason code can be one of the following values: Target.NotRegistered - The target is not registered with the target group. Target.NotInUse - The target group is not used by any load balancer or the target is in an Availability Zone that is not enabled for its load balancer. Target.InvalidState - The target is in the stopped or terminated state. If the target state is draining, the reason code can be the following value: Target.DeregistrationInProgress - The target is in the process of being deregistered and the deregistration delay period has not expired. - */ - Reason?: TargetHealthReasonEnum; - /** - * A description of the target health that provides additional details. If the state is healthy, a description is not provided. - */ - Description?: Description; - } - export interface TargetHealthDescription { - /** - * The description of the target. - */ - Target?: TargetDescription; - /** - * The port to use to connect with the target. - */ - HealthCheckPort?: HealthCheckPort; - /** - * The health information for the target. - */ - TargetHealth?: TargetHealth; - } - export type TargetHealthDescriptions = TargetHealthDescription[]; - export type TargetHealthReasonEnum = "Elb.RegistrationInProgress"|"Elb.InitialHealthChecking"|"Target.ResponseCodeMismatch"|"Target.Timeout"|"Target.FailedHealthChecks"|"Target.NotRegistered"|"Target.NotInUse"|"Target.DeregistrationInProgress"|"Target.InvalidState"|"Elb.InternalError"|string; - export type TargetHealthStateEnum = "initial"|"healthy"|"unhealthy"|"unused"|"draining"|string; - export type TargetId = string; - export type VpcId = string; - export type ZoneName = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-12-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ELBv2 client. - */ - export import Types = ELBv2; -} -export = ELBv2; diff --git a/src/node_modules/aws-sdk/clients/elbv2.js b/src/node_modules/aws-sdk/clients/elbv2.js deleted file mode 100644 index 497234f..0000000 --- a/src/node_modules/aws-sdk/clients/elbv2.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['elbv2'] = {}; -AWS.ELBv2 = Service.defineService('elbv2', ['2015-12-01']); -Object.defineProperty(apiLoader.services['elbv2'], '2015-12-01', { - get: function get() { - var model = require('../apis/elasticloadbalancingv2-2015-12-01.min.json'); - model.paginators = require('../apis/elasticloadbalancingv2-2015-12-01.paginators.json').pagination; - model.waiters = require('../apis/elasticloadbalancingv2-2015-12-01.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ELBv2; diff --git a/src/node_modules/aws-sdk/clients/emr.d.ts b/src/node_modules/aws-sdk/clients/emr.d.ts deleted file mode 100644 index 9064f45..0000000 --- a/src/node_modules/aws-sdk/clients/emr.d.ts +++ /dev/null @@ -1,2336 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class EMR extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: EMR.Types.ClientConfiguration) - config: Config & EMR.Types.ClientConfiguration; - /** - * Adds an instance fleet to a running cluster. The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x. - */ - addInstanceFleet(params: EMR.Types.AddInstanceFleetInput, callback?: (err: AWSError, data: EMR.Types.AddInstanceFleetOutput) => void): Request; - /** - * Adds an instance fleet to a running cluster. The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x. - */ - addInstanceFleet(callback?: (err: AWSError, data: EMR.Types.AddInstanceFleetOutput) => void): Request; - /** - * Adds one or more instance groups to a running cluster. - */ - addInstanceGroups(params: EMR.Types.AddInstanceGroupsInput, callback?: (err: AWSError, data: EMR.Types.AddInstanceGroupsOutput) => void): Request; - /** - * Adds one or more instance groups to a running cluster. - */ - addInstanceGroups(callback?: (err: AWSError, data: EMR.Types.AddInstanceGroupsOutput) => void): Request; - /** - * AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using SSH to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, see Add More than 256 Steps to a Cluster in the Amazon EMR Management Guide. A step specifies the location of a JAR file stored either on the master node of the cluster or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step. Amazon EMR executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully. You can only add steps to a cluster that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING. - */ - addJobFlowSteps(params: EMR.Types.AddJobFlowStepsInput, callback?: (err: AWSError, data: EMR.Types.AddJobFlowStepsOutput) => void): Request; - /** - * AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using SSH to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, see Add More than 256 Steps to a Cluster in the Amazon EMR Management Guide. A step specifies the location of a JAR file stored either on the master node of the cluster or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step. Amazon EMR executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully. You can only add steps to a cluster that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING. - */ - addJobFlowSteps(callback?: (err: AWSError, data: EMR.Types.AddJobFlowStepsOutput) => void): Request; - /** - * Adds tags to an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMR Resources. - */ - addTags(params: EMR.Types.AddTagsInput, callback?: (err: AWSError, data: EMR.Types.AddTagsOutput) => void): Request; - /** - * Adds tags to an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMR Resources. - */ - addTags(callback?: (err: AWSError, data: EMR.Types.AddTagsOutput) => void): Request; - /** - * Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee a step will be canceled, even if the request is successfully submitted. You can only cancel steps that are in a PENDING state. - */ - cancelSteps(params: EMR.Types.CancelStepsInput, callback?: (err: AWSError, data: EMR.Types.CancelStepsOutput) => void): Request; - /** - * Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee a step will be canceled, even if the request is successfully submitted. You can only cancel steps that are in a PENDING state. - */ - cancelSteps(callback?: (err: AWSError, data: EMR.Types.CancelStepsOutput) => void): Request; - /** - * Creates a security configuration, which is stored in the service and can be specified when a cluster is created. - */ - createSecurityConfiguration(params: EMR.Types.CreateSecurityConfigurationInput, callback?: (err: AWSError, data: EMR.Types.CreateSecurityConfigurationOutput) => void): Request; - /** - * Creates a security configuration, which is stored in the service and can be specified when a cluster is created. - */ - createSecurityConfiguration(callback?: (err: AWSError, data: EMR.Types.CreateSecurityConfigurationOutput) => void): Request; - /** - * Deletes a security configuration. - */ - deleteSecurityConfiguration(params: EMR.Types.DeleteSecurityConfigurationInput, callback?: (err: AWSError, data: EMR.Types.DeleteSecurityConfigurationOutput) => void): Request; - /** - * Deletes a security configuration. - */ - deleteSecurityConfiguration(callback?: (err: AWSError, data: EMR.Types.DeleteSecurityConfigurationOutput) => void): Request; - /** - * Provides cluster-level details including status, hardware and software configuration, VPC settings, and so on. For information about the cluster steps, see ListSteps. - */ - describeCluster(params: EMR.Types.DescribeClusterInput, callback?: (err: AWSError, data: EMR.Types.DescribeClusterOutput) => void): Request; - /** - * Provides cluster-level details including status, hardware and software configuration, VPC settings, and so on. For information about the cluster steps, see ListSteps. - */ - describeCluster(callback?: (err: AWSError, data: EMR.Types.DescribeClusterOutput) => void): Request; - /** - * This API is deprecated and will eventually be removed. We recommend you use ListClusters, DescribeCluster, ListSteps, ListInstanceGroups and ListBootstrapActions instead. DescribeJobFlows returns a list of job flows that match all of the supplied parameters. The parameters can include a list of job flow IDs, job flow states, and restrictions on job flow creation date and time. Regardless of supplied parameters, only job flows created within the last two months are returned. If no parameters are supplied, then job flows matching either of the following criteria are returned: Job flows created and completed in the last two weeks Job flows created within the last two months that are in one of the following states: RUNNING, WAITING, SHUTTING_DOWN, STARTING Amazon EMR can return a maximum of 512 job flow descriptions. - */ - describeJobFlows(params: EMR.Types.DescribeJobFlowsInput, callback?: (err: AWSError, data: EMR.Types.DescribeJobFlowsOutput) => void): Request; - /** - * This API is deprecated and will eventually be removed. We recommend you use ListClusters, DescribeCluster, ListSteps, ListInstanceGroups and ListBootstrapActions instead. DescribeJobFlows returns a list of job flows that match all of the supplied parameters. The parameters can include a list of job flow IDs, job flow states, and restrictions on job flow creation date and time. Regardless of supplied parameters, only job flows created within the last two months are returned. If no parameters are supplied, then job flows matching either of the following criteria are returned: Job flows created and completed in the last two weeks Job flows created within the last two months that are in one of the following states: RUNNING, WAITING, SHUTTING_DOWN, STARTING Amazon EMR can return a maximum of 512 job flow descriptions. - */ - describeJobFlows(callback?: (err: AWSError, data: EMR.Types.DescribeJobFlowsOutput) => void): Request; - /** - * Provides the details of a security configuration by returning the configuration JSON. - */ - describeSecurityConfiguration(params: EMR.Types.DescribeSecurityConfigurationInput, callback?: (err: AWSError, data: EMR.Types.DescribeSecurityConfigurationOutput) => void): Request; - /** - * Provides the details of a security configuration by returning the configuration JSON. - */ - describeSecurityConfiguration(callback?: (err: AWSError, data: EMR.Types.DescribeSecurityConfigurationOutput) => void): Request; - /** - * Provides more detail about the cluster step. - */ - describeStep(params: EMR.Types.DescribeStepInput, callback?: (err: AWSError, data: EMR.Types.DescribeStepOutput) => void): Request; - /** - * Provides more detail about the cluster step. - */ - describeStep(callback?: (err: AWSError, data: EMR.Types.DescribeStepOutput) => void): Request; - /** - * Provides information about the bootstrap actions associated with a cluster. - */ - listBootstrapActions(params: EMR.Types.ListBootstrapActionsInput, callback?: (err: AWSError, data: EMR.Types.ListBootstrapActionsOutput) => void): Request; - /** - * Provides information about the bootstrap actions associated with a cluster. - */ - listBootstrapActions(callback?: (err: AWSError, data: EMR.Types.ListBootstrapActionsOutput) => void): Request; - /** - * Provides the status of all clusters visible to this AWS account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls. - */ - listClusters(params: EMR.Types.ListClustersInput, callback?: (err: AWSError, data: EMR.Types.ListClustersOutput) => void): Request; - /** - * Provides the status of all clusters visible to this AWS account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls. - */ - listClusters(callback?: (err: AWSError, data: EMR.Types.ListClustersOutput) => void): Request; - /** - * Lists all available details about the instance fleets in a cluster. The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. - */ - listInstanceFleets(params: EMR.Types.ListInstanceFleetsInput, callback?: (err: AWSError, data: EMR.Types.ListInstanceFleetsOutput) => void): Request; - /** - * Lists all available details about the instance fleets in a cluster. The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. - */ - listInstanceFleets(callback?: (err: AWSError, data: EMR.Types.ListInstanceFleetsOutput) => void): Request; - /** - * Provides all available details about the instance groups in a cluster. - */ - listInstanceGroups(params: EMR.Types.ListInstanceGroupsInput, callback?: (err: AWSError, data: EMR.Types.ListInstanceGroupsOutput) => void): Request; - /** - * Provides all available details about the instance groups in a cluster. - */ - listInstanceGroups(callback?: (err: AWSError, data: EMR.Types.ListInstanceGroupsOutput) => void): Request; - /** - * Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. For example, this operation indicates when the EC2 instances reach the Ready state, when instances become available to Amazon EMR to use for jobs, and the IP addresses for cluster instances, etc. - */ - listInstances(params: EMR.Types.ListInstancesInput, callback?: (err: AWSError, data: EMR.Types.ListInstancesOutput) => void): Request; - /** - * Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. For example, this operation indicates when the EC2 instances reach the Ready state, when instances become available to Amazon EMR to use for jobs, and the IP addresses for cluster instances, etc. - */ - listInstances(callback?: (err: AWSError, data: EMR.Types.ListInstancesOutput) => void): Request; - /** - * Lists all the security configurations visible to this account, providing their creation dates and times, and their names. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListSecurityConfigurations calls. - */ - listSecurityConfigurations(params: EMR.Types.ListSecurityConfigurationsInput, callback?: (err: AWSError, data: EMR.Types.ListSecurityConfigurationsOutput) => void): Request; - /** - * Lists all the security configurations visible to this account, providing their creation dates and times, and their names. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListSecurityConfigurations calls. - */ - listSecurityConfigurations(callback?: (err: AWSError, data: EMR.Types.ListSecurityConfigurationsOutput) => void): Request; - /** - * Provides a list of steps for the cluster in reverse order unless you specify stepIds with the request. - */ - listSteps(params: EMR.Types.ListStepsInput, callback?: (err: AWSError, data: EMR.Types.ListStepsOutput) => void): Request; - /** - * Provides a list of steps for the cluster in reverse order unless you specify stepIds with the request. - */ - listSteps(callback?: (err: AWSError, data: EMR.Types.ListStepsOutput) => void): Request; - /** - * Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID. The call either succeeds or fails atomically. The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. - */ - modifyInstanceFleet(params: EMR.Types.ModifyInstanceFleetInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID. The call either succeeds or fails atomically. The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. - */ - modifyInstanceFleet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically. - */ - modifyInstanceGroups(params: EMR.Types.ModifyInstanceGroupsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically. - */ - modifyInstanceGroups(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. - */ - putAutoScalingPolicy(params: EMR.Types.PutAutoScalingPolicyInput, callback?: (err: AWSError, data: EMR.Types.PutAutoScalingPolicyOutput) => void): Request; - /** - * Creates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. - */ - putAutoScalingPolicy(callback?: (err: AWSError, data: EMR.Types.PutAutoScalingPolicyOutput) => void): Request; - /** - * Removes an automatic scaling policy from a specified instance group within an EMR cluster. - */ - removeAutoScalingPolicy(params: EMR.Types.RemoveAutoScalingPolicyInput, callback?: (err: AWSError, data: EMR.Types.RemoveAutoScalingPolicyOutput) => void): Request; - /** - * Removes an automatic scaling policy from a specified instance group within an EMR cluster. - */ - removeAutoScalingPolicy(callback?: (err: AWSError, data: EMR.Types.RemoveAutoScalingPolicyOutput) => void): Request; - /** - * Removes tags from an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMR Resources. The following example removes the stack tag with value Prod from a cluster: - */ - removeTags(params: EMR.Types.RemoveTagsInput, callback?: (err: AWSError, data: EMR.Types.RemoveTagsOutput) => void): Request; - /** - * Removes tags from an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMR Resources. The following example removes the stack tag with value Prod from a cluster: - */ - removeTags(callback?: (err: AWSError, data: EMR.Types.RemoveTagsOutput) => void): Request; - /** - * RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the steps specified. After the steps complete, the cluster stops and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the cluster transitions to the WAITING state rather than shutting down after the steps have completed. For additional protection, you can set the JobFlowInstancesConfig TerminationProtected parameter to TRUE to lock the cluster and prevent it from being terminated by API call, user intervention, or in the event of a job flow error. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, see Add More than 256 Steps to a Cluster in the Amazon EMR Management Guide. For long running clusters, we recommend that you periodically store your results. The instance fleets configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. The RunJobFlow request can contain InstanceFleets parameters or InstanceGroups parameters, but not both. - */ - runJobFlow(params: EMR.Types.RunJobFlowInput, callback?: (err: AWSError, data: EMR.Types.RunJobFlowOutput) => void): Request; - /** - * RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the steps specified. After the steps complete, the cluster stops and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the cluster transitions to the WAITING state rather than shutting down after the steps have completed. For additional protection, you can set the JobFlowInstancesConfig TerminationProtected parameter to TRUE to lock the cluster and prevent it from being terminated by API call, user intervention, or in the event of a job flow error. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, see Add More than 256 Steps to a Cluster in the Amazon EMR Management Guide. For long running clusters, we recommend that you periodically store your results. The instance fleets configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. The RunJobFlow request can contain InstanceFleets parameters or InstanceGroups parameters, but not both. - */ - runJobFlow(callback?: (err: AWSError, data: EMR.Types.RunJobFlowOutput) => void): Request; - /** - * SetTerminationProtection locks a cluster (job flow) so the EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a cluster is similar to calling the Amazon EC2 DisableAPITermination API on all EC2 instances in a cluster. SetTerminationProtection is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage. To terminate a cluster that has been locked by setting SetTerminationProtection to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false. For more information, seeManaging Cluster Termination in the Amazon EMR Management Guide. - */ - setTerminationProtection(params: EMR.Types.SetTerminationProtectionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * SetTerminationProtection locks a cluster (job flow) so the EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a cluster is similar to calling the Amazon EC2 DisableAPITermination API on all EC2 instances in a cluster. SetTerminationProtection is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage. To terminate a cluster that has been locked by setting SetTerminationProtection to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false. For more information, seeManaging Cluster Termination in the Amazon EMR Management Guide. - */ - setTerminationProtection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specified clusters (job flows). This action works on running clusters. You can also set the visibility of a cluster when you launch it using the VisibleToAllUsers parameter of RunJobFlow. The SetVisibleToAllUsers action can be called only by an IAM user who created the cluster or the AWS account that owns the cluster. - */ - setVisibleToAllUsers(params: EMR.Types.SetVisibleToAllUsersInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specified clusters (job flows). This action works on running clusters. You can also set the visibility of a cluster when you launch it using the VisibleToAllUsers parameter of RunJobFlow. The SetVisibleToAllUsers action can be called only by an IAM user who created the cluster or the AWS account that owns the cluster. - */ - setVisibleToAllUsers(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created. The maximum number of clusters allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5 minutes for the cluster to completely terminate and release allocated resources, such as Amazon EC2 instances. - */ - terminateJobFlows(params: EMR.Types.TerminateJobFlowsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created. The maximum number of clusters allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5 minutes for the cluster to completely terminate and release allocated resources, such as Amazon EC2 instances. - */ - terminateJobFlows(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Waits for the clusterRunning state by periodically calling the underlying EMR.describeClusteroperation every 30 seconds (at most 60 times). - */ - waitFor(state: "clusterRunning", params: EMR.Types.DescribeClusterInput, callback?: (err: AWSError, data: EMR.Types.DescribeClusterOutput) => void): Request; - /** - * Waits for the clusterRunning state by periodically calling the underlying EMR.describeClusteroperation every 30 seconds (at most 60 times). - */ - waitFor(state: "clusterRunning", callback?: (err: AWSError, data: EMR.Types.DescribeClusterOutput) => void): Request; - /** - * Waits for the stepComplete state by periodically calling the underlying EMR.describeStepoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "stepComplete", params: EMR.Types.DescribeStepInput, callback?: (err: AWSError, data: EMR.Types.DescribeStepOutput) => void): Request; - /** - * Waits for the stepComplete state by periodically calling the underlying EMR.describeStepoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "stepComplete", callback?: (err: AWSError, data: EMR.Types.DescribeStepOutput) => void): Request; - /** - * Waits for the clusterTerminated state by periodically calling the underlying EMR.describeClusteroperation every 30 seconds (at most 60 times). - */ - waitFor(state: "clusterTerminated", params: EMR.Types.DescribeClusterInput, callback?: (err: AWSError, data: EMR.Types.DescribeClusterOutput) => void): Request; - /** - * Waits for the clusterTerminated state by periodically calling the underlying EMR.describeClusteroperation every 30 seconds (at most 60 times). - */ - waitFor(state: "clusterTerminated", callback?: (err: AWSError, data: EMR.Types.DescribeClusterOutput) => void): Request; -} -declare namespace EMR { - export type ActionOnFailure = "TERMINATE_JOB_FLOW"|"TERMINATE_CLUSTER"|"CANCEL_AND_WAIT"|"CONTINUE"|string; - export interface AddInstanceFleetInput { - /** - * The unique identifier of the cluster. - */ - ClusterId: XmlStringMaxLen256; - /** - * Specifies the configuration of the instance fleet. - */ - InstanceFleet: InstanceFleetConfig; - } - export interface AddInstanceFleetOutput { - /** - * The unique identifier of the cluster. - */ - ClusterId?: XmlStringMaxLen256; - /** - * The unique identifier of the instance fleet. - */ - InstanceFleetId?: InstanceFleetId; - } - export interface AddInstanceGroupsInput { - /** - * Instance groups to add. - */ - InstanceGroups: InstanceGroupConfigList; - /** - * Job flow in which to add the instance groups. - */ - JobFlowId: XmlStringMaxLen256; - } - export interface AddInstanceGroupsOutput { - /** - * The job flow ID in which the instance groups are added. - */ - JobFlowId?: XmlStringMaxLen256; - /** - * Instance group IDs of the newly created instance groups. - */ - InstanceGroupIds?: InstanceGroupIdsList; - } - export interface AddJobFlowStepsInput { - /** - * A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters. - */ - JobFlowId: XmlStringMaxLen256; - /** - * A list of StepConfig to be executed by the job flow. - */ - Steps: StepConfigList; - } - export interface AddJobFlowStepsOutput { - /** - * The identifiers of the list of steps added to the job flow. - */ - StepIds?: StepIdsList; - } - export interface AddTagsInput { - /** - * The Amazon EMR resource identifier to which tags will be added. This value must be a cluster identifier. - */ - ResourceId: ResourceId; - /** - * A list of tags to associate with a cluster and propagate to EC2 instances. Tags are user-defined key/value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters. - */ - Tags: TagList; - } - export interface AddTagsOutput { - } - export type AdjustmentType = "CHANGE_IN_CAPACITY"|"PERCENT_CHANGE_IN_CAPACITY"|"EXACT_CAPACITY"|string; - export interface Application { - /** - * The name of the application. - */ - Name?: String; - /** - * The version of the application. - */ - Version?: String; - /** - * Arguments for Amazon EMR to pass to the application. - */ - Args?: StringList; - /** - * This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes. - */ - AdditionalInfo?: StringMap; - } - export type ApplicationList = Application[]; - export interface AutoScalingPolicy { - /** - * The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits. - */ - Constraints: ScalingConstraints; - /** - * The scale-in and scale-out rules that comprise the automatic scaling policy. - */ - Rules: ScalingRuleList; - } - export interface AutoScalingPolicyDescription { - /** - * The status of an automatic scaling policy. - */ - Status?: AutoScalingPolicyStatus; - /** - * The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits. - */ - Constraints?: ScalingConstraints; - /** - * The scale-in and scale-out rules that comprise the automatic scaling policy. - */ - Rules?: ScalingRuleList; - } - export type AutoScalingPolicyState = "PENDING"|"ATTACHING"|"ATTACHED"|"DETACHING"|"DETACHED"|"FAILED"|string; - export interface AutoScalingPolicyStateChangeReason { - /** - * The code indicating the reason for the change in status.USER_REQUEST indicates that the scaling policy status was changed by a user. PROVISION_FAILURE indicates that the status change was because the policy failed to provision. CLEANUP_FAILURE indicates an error. - */ - Code?: AutoScalingPolicyStateChangeReasonCode; - /** - * A friendly, more verbose message that accompanies an automatic scaling policy state change. - */ - Message?: String; - } - export type AutoScalingPolicyStateChangeReasonCode = "USER_REQUEST"|"PROVISION_FAILURE"|"CLEANUP_FAILURE"|string; - export interface AutoScalingPolicyStatus { - /** - * Indicates the status of the automatic scaling policy. - */ - State?: AutoScalingPolicyState; - /** - * The reason for a change in status. - */ - StateChangeReason?: AutoScalingPolicyStateChangeReason; - } - export type Boolean = boolean; - export type BooleanObject = boolean; - export interface BootstrapActionConfig { - /** - * The name of the bootstrap action. - */ - Name: XmlStringMaxLen256; - /** - * The script run by the bootstrap action. - */ - ScriptBootstrapAction: ScriptBootstrapActionConfig; - } - export type BootstrapActionConfigList = BootstrapActionConfig[]; - export interface BootstrapActionDetail { - /** - * A description of the bootstrap action. - */ - BootstrapActionConfig?: BootstrapActionConfig; - } - export type BootstrapActionDetailList = BootstrapActionDetail[]; - export interface CancelStepsInfo { - /** - * The encrypted StepId of a step. - */ - StepId?: StepId; - /** - * The status of a CancelSteps Request. The value may be SUBMITTED or FAILED. - */ - Status?: CancelStepsRequestStatus; - /** - * The reason for the failure if the CancelSteps request fails. - */ - Reason?: String; - } - export type CancelStepsInfoList = CancelStepsInfo[]; - export interface CancelStepsInput { - /** - * The ClusterID for which specified steps will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs. - */ - ClusterId?: XmlStringMaxLen256; - /** - * The list of StepIDs to cancel. Use ListSteps to get steps and their states for the specified cluster. - */ - StepIds?: StepIdsList; - } - export interface CancelStepsOutput { - /** - * A list of CancelStepsInfo, which shows the status of specified cancel requests for each StepID specified. - */ - CancelStepsInfoList?: CancelStepsInfoList; - } - export type CancelStepsRequestStatus = "SUBMITTED"|"FAILED"|string; - export interface CloudWatchAlarmDefinition { - /** - * Determines how the metric specified by MetricName is compared to the value specified by Threshold. - */ - ComparisonOperator: ComparisonOperator; - /** - * The number of periods, expressed in seconds using Period, during which the alarm condition must exist before the alarm triggers automatic scaling activity. The default value is 1. - */ - EvaluationPeriods?: Integer; - /** - * The name of the CloudWatch metric that is watched to determine an alarm condition. - */ - MetricName: String; - /** - * The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce. - */ - Namespace?: String; - /** - * The period, in seconds, over which the statistic is applied. EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify 300. - */ - Period: Integer; - /** - * The statistic to apply to the metric associated with the alarm. The default is AVERAGE. - */ - Statistic?: Statistic; - /** - * The value against which the specified statistic is compared. - */ - Threshold: NonNegativeDouble; - /** - * The unit of measure associated with the CloudWatch metric being watched. The value specified for Unit must correspond to the units specified in the CloudWatch metric. - */ - Unit?: Unit; - /** - * A CloudWatch metric dimension. - */ - Dimensions?: MetricDimensionList; - } - export interface Cluster { - /** - * The unique identifier for the cluster. - */ - Id?: ClusterId; - /** - * The name of the cluster. - */ - Name?: String; - /** - * The current status details about the cluster. - */ - Status?: ClusterStatus; - /** - * Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on. - */ - Ec2InstanceAttributes?: Ec2InstanceAttributes; - /** - * The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration. - */ - InstanceCollectionType?: InstanceCollectionType; - /** - * The path to the Amazon S3 location where logs for this cluster are stored. - */ - LogUri?: String; - /** - * The AMI version requested for this cluster. - */ - RequestedAmiVersion?: String; - /** - * The AMI version running on this cluster. - */ - RunningAmiVersion?: String; - /** - * The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use amiVersion instead instead of ReleaseLabel. - */ - ReleaseLabel?: String; - /** - * Specifies whether the cluster should terminate after completing all steps. - */ - AutoTerminate?: Boolean; - /** - * Indicates whether Amazon EMR will lock the cluster to prevent the EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error. - */ - TerminationProtected?: Boolean; - /** - * Indicates whether the cluster is visible to all IAM users of the AWS account associated with the cluster. If this value is set to true, all IAM users of that AWS account can view and manage the cluster if they have the proper policy permissions set. If this value is false, only the IAM user that created the cluster can view and manage it. This value can be changed using the SetVisibleToAllUsers action. - */ - VisibleToAllUsers?: Boolean; - /** - * The applications installed on this cluster. - */ - Applications?: ApplicationList; - /** - * A list of tags associated with a cluster. - */ - Tags?: TagList; - /** - * The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf. - */ - ServiceRole?: String; - /** - * An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate. - */ - NormalizedInstanceHours?: Integer; - /** - * The public DNS name of the master EC2 instance. - */ - MasterPublicDnsName?: String; - /** - * Amazon EMR releases 4.x or later. The list of Configurations supplied to the EMR cluster. - */ - Configurations?: ConfigurationList; - /** - * The name of the security configuration applied to the cluster. - */ - SecurityConfiguration?: XmlString; - /** - * An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group. - */ - AutoScalingRole?: XmlString; - /** - * The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0. - */ - ScaleDownBehavior?: ScaleDownBehavior; - } - export type ClusterId = string; - export type ClusterState = "STARTING"|"BOOTSTRAPPING"|"RUNNING"|"WAITING"|"TERMINATING"|"TERMINATED"|"TERMINATED_WITH_ERRORS"|string; - export interface ClusterStateChangeReason { - /** - * The programmatic code for the state change reason. - */ - Code?: ClusterStateChangeReasonCode; - /** - * The descriptive message for the state change reason. - */ - Message?: String; - } - export type ClusterStateChangeReasonCode = "INTERNAL_ERROR"|"VALIDATION_ERROR"|"INSTANCE_FAILURE"|"BOOTSTRAP_FAILURE"|"USER_REQUEST"|"STEP_FAILURE"|"ALL_STEPS_COMPLETED"|string; - export type ClusterStateList = ClusterState[]; - export interface ClusterStatus { - /** - * The current state of the cluster. - */ - State?: ClusterState; - /** - * The reason for the cluster status change. - */ - StateChangeReason?: ClusterStateChangeReason; - /** - * A timeline that represents the status of a cluster over the lifetime of the cluster. - */ - Timeline?: ClusterTimeline; - } - export interface ClusterSummary { - /** - * The unique identifier for the cluster. - */ - Id?: ClusterId; - /** - * The name of the cluster. - */ - Name?: String; - /** - * The details about the current status of the cluster. - */ - Status?: ClusterStatus; - /** - * An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate. - */ - NormalizedInstanceHours?: Integer; - } - export type ClusterSummaryList = ClusterSummary[]; - export interface ClusterTimeline { - /** - * The creation date and time of the cluster. - */ - CreationDateTime?: _Date; - /** - * The date and time when the cluster was ready to execute steps. - */ - ReadyDateTime?: _Date; - /** - * The date and time when the cluster was terminated. - */ - EndDateTime?: _Date; - } - export interface Command { - /** - * The name of the command. - */ - Name?: String; - /** - * The Amazon S3 location of the command script. - */ - ScriptPath?: String; - /** - * Arguments for Amazon EMR to pass to the command for execution. - */ - Args?: StringList; - } - export type CommandList = Command[]; - export type ComparisonOperator = "GREATER_THAN_OR_EQUAL"|"GREATER_THAN"|"LESS_THAN"|"LESS_THAN_OR_EQUAL"|string; - export interface Configuration { - /** - * The classification within a configuration. - */ - Classification?: String; - /** - * A list of additional configurations to apply within a configuration object. - */ - Configurations?: ConfigurationList; - /** - * A set of properties specified within a configuration classification. - */ - Properties?: StringMap; - } - export type ConfigurationList = Configuration[]; - export interface CreateSecurityConfigurationInput { - /** - * The name of the security configuration. - */ - Name: XmlString; - /** - * The security configuration details in JSON format. - */ - SecurityConfiguration: String; - } - export interface CreateSecurityConfigurationOutput { - /** - * The name of the security configuration. - */ - Name: XmlString; - /** - * The date and time the security configuration was created. - */ - CreationDateTime: _Date; - } - export type _Date = Date; - export interface DeleteSecurityConfigurationInput { - /** - * The name of the security configuration. - */ - Name: XmlString; - } - export interface DeleteSecurityConfigurationOutput { - } - export interface DescribeClusterInput { - /** - * The identifier of the cluster to describe. - */ - ClusterId: ClusterId; - } - export interface DescribeClusterOutput { - /** - * This output contains the details for the requested cluster. - */ - Cluster?: Cluster; - } - export interface DescribeJobFlowsInput { - /** - * Return only job flows created after this date and time. - */ - CreatedAfter?: _Date; - /** - * Return only job flows created before this date and time. - */ - CreatedBefore?: _Date; - /** - * Return only job flows whose job flow ID is contained in this list. - */ - JobFlowIds?: XmlStringList; - /** - * Return only job flows whose state is contained in this list. - */ - JobFlowStates?: JobFlowExecutionStateList; - } - export interface DescribeJobFlowsOutput { - /** - * A list of job flows matching the parameters supplied. - */ - JobFlows?: JobFlowDetailList; - } - export interface DescribeSecurityConfigurationInput { - /** - * The name of the security configuration. - */ - Name: XmlString; - } - export interface DescribeSecurityConfigurationOutput { - /** - * The name of the security configuration. - */ - Name?: XmlString; - /** - * The security configuration details in JSON format. - */ - SecurityConfiguration?: String; - /** - * The date and time the security configuration was created - */ - CreationDateTime?: _Date; - } - export interface DescribeStepInput { - /** - * The identifier of the cluster with steps to describe. - */ - ClusterId: ClusterId; - /** - * The identifier of the step to describe. - */ - StepId: StepId; - } - export interface DescribeStepOutput { - /** - * The step details for the requested step identifier. - */ - Step?: Step; - } - export type EC2InstanceIdsList = InstanceId[]; - export type EC2InstanceIdsToTerminateList = InstanceId[]; - export interface EbsBlockDevice { - /** - * EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster. - */ - VolumeSpecification?: VolumeSpecification; - /** - * The device name that is exposed to the instance, such as /dev/sdh. - */ - Device?: String; - } - export interface EbsBlockDeviceConfig { - /** - * EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster. - */ - VolumeSpecification: VolumeSpecification; - /** - * Number of EBS volumes with a specific volume configuration that will be associated with every instance in the instance group - */ - VolumesPerInstance?: Integer; - } - export type EbsBlockDeviceConfigList = EbsBlockDeviceConfig[]; - export type EbsBlockDeviceList = EbsBlockDevice[]; - export interface EbsConfiguration { - /** - * An array of Amazon EBS volume specifications attached to a cluster instance. - */ - EbsBlockDeviceConfigs?: EbsBlockDeviceConfigList; - /** - * Indicates whether an Amazon EBS volume is EBS-optimized. - */ - EbsOptimized?: BooleanObject; - } - export interface EbsVolume { - /** - * The device name that is exposed to the instance, such as /dev/sdh. - */ - Device?: String; - /** - * The volume identifier of the EBS volume. - */ - VolumeId?: String; - } - export type EbsVolumeList = EbsVolume[]; - export interface Ec2InstanceAttributes { - /** - * The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as a user named "hadoop". - */ - Ec2KeyName?: String; - /** - * To launch the cluster in Amazon VPC, set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value, the cluster is launched in the normal AWS cloud, outside of a VPC. Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus, you cannot specify the cc1.4xlarge instance type for nodes of a cluster launched in a VPC. - */ - Ec2SubnetId?: String; - /** - * Applies to clusters configured with the instance fleets option. Specifies the unique identifier of one or more Amazon EC2 subnets in which to launch EC2 cluster instances. Amazon EMR chooses the EC2 subnet with the best performance and cost characteristics from among the list of RequestedEc2SubnetIds and launches all cluster instances within that subnet. If this value is not specified, and the account supports EC2-Classic networks, the cluster launches instances in the EC2-Classic network and uses Requested - */ - RequestedEc2SubnetIds?: XmlStringMaxLen256List; - /** - * The Availability Zone in which the cluster will run. - */ - Ec2AvailabilityZone?: String; - /** - * Applies to clusters configured with the The list of availability zones to choose from. The service will choose the availability zone with the best mix of available capacity and lowest cost to launch the cluster. If you do not specify this value, the cluster is launched in any availability zone that the customer account has access to. - */ - RequestedEc2AvailabilityZones?: XmlStringMaxLen256List; - /** - * The IAM role that was specified when the cluster was launched. The EC2 instances of the cluster assume this role. - */ - IamInstanceProfile?: String; - /** - * The identifier of the Amazon EC2 security group for the master node. - */ - EmrManagedMasterSecurityGroup?: String; - /** - * The identifier of the Amazon EC2 security group for the slave nodes. - */ - EmrManagedSlaveSecurityGroup?: String; - /** - * The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets. - */ - ServiceAccessSecurityGroup?: String; - /** - * A list of additional Amazon EC2 security group IDs for the master node. - */ - AdditionalMasterSecurityGroups?: StringList; - /** - * A list of additional Amazon EC2 security group IDs for the slave nodes. - */ - AdditionalSlaveSecurityGroups?: StringList; - } - export type ErrorCode = string; - export type ErrorMessage = string; - export interface FailureDetails { - /** - * The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason. - */ - Reason?: String; - /** - * The descriptive message including the error the EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure. - */ - Message?: String; - /** - * The path to the log file where the step failure root cause was originally recorded. - */ - LogFile?: String; - } - export interface HadoopJarStepConfig { - /** - * A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function. - */ - Properties?: KeyValueList; - /** - * A path to a JAR file run during the step. - */ - Jar: XmlString; - /** - * The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file. - */ - MainClass?: XmlString; - /** - * A list of command line arguments passed to the JAR file's main function when executed. - */ - Args?: XmlStringList; - } - export interface HadoopStepConfig { - /** - * The path to the JAR file that runs during the step. - */ - Jar?: String; - /** - * The list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function. - */ - Properties?: StringMap; - /** - * The name of the main class in the specified Java file. If not specified, the JAR file should specify a main class in its manifest file. - */ - MainClass?: String; - /** - * The list of command line arguments to pass to the JAR file's main function for execution. - */ - Args?: StringList; - } - export interface Instance { - /** - * The unique identifier for the instance in Amazon EMR. - */ - Id?: InstanceId; - /** - * The unique identifier of the instance in Amazon EC2. - */ - Ec2InstanceId?: InstanceId; - /** - * The public DNS name of the instance. - */ - PublicDnsName?: String; - /** - * The public IP address of the instance. - */ - PublicIpAddress?: String; - /** - * The private DNS name of the instance. - */ - PrivateDnsName?: String; - /** - * The private IP address of the instance. - */ - PrivateIpAddress?: String; - /** - * The current status of the instance. - */ - Status?: InstanceStatus; - /** - * The identifier of the instance group to which this instance belongs. - */ - InstanceGroupId?: String; - /** - * The unique identifier of the instance fleet to which an EC2 instance belongs. - */ - InstanceFleetId?: InstanceFleetId; - /** - * The instance purchasing option. Valid values are ON_DEMAND or SPOT. - */ - Market?: MarketType; - /** - * The EC2 instance type, for example m3.xlarge. - */ - InstanceType?: InstanceType; - /** - * The list of EBS volumes that are attached to this instance. - */ - EbsVolumes?: EbsVolumeList; - } - export type InstanceCollectionType = "INSTANCE_FLEET"|"INSTANCE_GROUP"|string; - export interface InstanceFleet { - /** - * The unique identifier of the instance fleet. - */ - Id?: InstanceFleetId; - /** - * A friendly name for the instance fleet. - */ - Name?: XmlStringMaxLen256; - /** - * The current status of the instance fleet. - */ - Status?: InstanceFleetStatus; - /** - * The node type that the instance fleet hosts. Valid values are MASTER, CORE, or TASK. - */ - InstanceFleetType?: InstanceFleetType; - /** - * The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedOnDemandCapacity to determine the Spot capacity units that have been provisioned for the instance fleet. If not specified or set to 0, only Spot instances are provisioned for the instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1. - */ - TargetOnDemandCapacity?: WholeNumber; - /** - * The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedSpotCapacity to determine the Spot capacity units that have been provisioned for the instance fleet. If not specified or set to 0, only On-Demand instances are provisioned for the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1. - */ - TargetSpotCapacity?: WholeNumber; - /** - * The number of On-Demand units that have been provisioned for the instance fleet to fulfill TargetOnDemandCapacity. This provisioned capacity might be less than or greater than TargetOnDemandCapacity. - */ - ProvisionedOnDemandCapacity?: WholeNumber; - /** - * The number of Spot units that have been provisioned for this instance fleet to fulfill TargetSpotCapacity. This provisioned capacity might be less than or greater than TargetSpotCapacity. - */ - ProvisionedSpotCapacity?: WholeNumber; - /** - * The specification for the instance types that comprise an instance fleet. Up to five unique instance specifications may be defined for each instance fleet. - */ - InstanceTypeSpecifications?: InstanceTypeSpecificationList; - /** - * Describes the launch specification for an instance fleet. - */ - LaunchSpecifications?: InstanceFleetProvisioningSpecifications; - } - export interface InstanceFleetConfig { - /** - * The friendly name of the instance fleet. - */ - Name?: XmlStringMaxLen256; - /** - * The node type that the instance fleet hosts. Valid values are MASTER,CORE,and TASK. - */ - InstanceFleetType: InstanceFleetType; - /** - * The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. If not specified or set to 0, only Spot instances are provisioned for the instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1. - */ - TargetOnDemandCapacity?: WholeNumber; - /** - * The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. If not specified or set to 0, only On-Demand instances are provisioned for the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1. - */ - TargetSpotCapacity?: WholeNumber; - /** - * The instance type configurations that define the EC2 instances in the instance fleet. - */ - InstanceTypeConfigs?: InstanceTypeConfigList; - /** - * The launch specification for the instance fleet. - */ - LaunchSpecifications?: InstanceFleetProvisioningSpecifications; - } - export type InstanceFleetConfigList = InstanceFleetConfig[]; - export type InstanceFleetId = string; - export type InstanceFleetList = InstanceFleet[]; - export interface InstanceFleetModifyConfig { - /** - * A unique identifier for the instance fleet. - */ - InstanceFleetId: InstanceFleetId; - /** - * The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity. - */ - TargetOnDemandCapacity?: WholeNumber; - /** - * The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity. - */ - TargetSpotCapacity?: WholeNumber; - } - export interface InstanceFleetProvisioningSpecifications { - /** - * The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior. - */ - SpotSpecification: SpotProvisioningSpecification; - } - export type InstanceFleetState = "PROVISIONING"|"BOOTSTRAPPING"|"RUNNING"|"RESIZING"|"SUSPENDED"|"TERMINATING"|"TERMINATED"|string; - export interface InstanceFleetStateChangeReason { - /** - * A code corresponding to the reason the state change occurred. - */ - Code?: InstanceFleetStateChangeReasonCode; - /** - * An explanatory message. - */ - Message?: String; - } - export type InstanceFleetStateChangeReasonCode = "INTERNAL_ERROR"|"VALIDATION_ERROR"|"INSTANCE_FAILURE"|"CLUSTER_TERMINATED"|string; - export interface InstanceFleetStatus { - /** - * A code representing the instance fleet status. - */ - State?: InstanceFleetState; - /** - * Provides status change reason details for the instance fleet. - */ - StateChangeReason?: InstanceFleetStateChangeReason; - /** - * Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination. - */ - Timeline?: InstanceFleetTimeline; - } - export interface InstanceFleetTimeline { - /** - * The time and date the instance fleet was created. - */ - CreationDateTime?: _Date; - /** - * The time and date the instance fleet was ready to run jobs. - */ - ReadyDateTime?: _Date; - /** - * The time and date the instance fleet terminated. - */ - EndDateTime?: _Date; - } - export type InstanceFleetType = "MASTER"|"CORE"|"TASK"|string; - export interface InstanceGroup { - /** - * The identifier of the instance group. - */ - Id?: InstanceGroupId; - /** - * The name of the instance group. - */ - Name?: String; - /** - * The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT. - */ - Market?: MarketType; - /** - * The type of the instance group. Valid values are MASTER, CORE or TASK. - */ - InstanceGroupType?: InstanceGroupType; - /** - * The bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD. - */ - BidPrice?: String; - /** - * The EC2 instance type for all instances in the instance group. - */ - InstanceType?: InstanceType; - /** - * The target number of instances for the instance group. - */ - RequestedInstanceCount?: Integer; - /** - * The number of instances currently running in this instance group. - */ - RunningInstanceCount?: Integer; - /** - * The current status of the instance group. - */ - Status?: InstanceGroupStatus; - /** - * Amazon EMR releases 4.x or later. The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task). - */ - Configurations?: ConfigurationList; - /** - * The EBS block devices that are mapped to this instance group. - */ - EbsBlockDevices?: EbsBlockDeviceList; - /** - * If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O. - */ - EbsOptimized?: BooleanObject; - /** - * Policy for customizing shrink operations. - */ - ShrinkPolicy?: ShrinkPolicy; - /** - * An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy. - */ - AutoScalingPolicy?: AutoScalingPolicyDescription; - } - export interface InstanceGroupConfig { - /** - * Friendly name given to the instance group. - */ - Name?: XmlStringMaxLen256; - /** - * Market type of the EC2 instances used to create a cluster node. - */ - Market?: MarketType; - /** - * The role of the instance group in the cluster. - */ - InstanceRole: InstanceRoleType; - /** - * Bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD. - */ - BidPrice?: XmlStringMaxLen256; - /** - * The EC2 instance type for all instances in the instance group. - */ - InstanceType: InstanceType; - /** - * Target number of instances for the instance group. - */ - InstanceCount: Integer; - /** - * Amazon EMR releases 4.x or later. The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task). - */ - Configurations?: ConfigurationList; - /** - * EBS configurations that will be attached to each EC2 instance in the instance group. - */ - EbsConfiguration?: EbsConfiguration; - /** - * An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy. - */ - AutoScalingPolicy?: AutoScalingPolicy; - } - export type InstanceGroupConfigList = InstanceGroupConfig[]; - export interface InstanceGroupDetail { - /** - * Unique identifier for the instance group. - */ - InstanceGroupId?: XmlStringMaxLen256; - /** - * Friendly name for the instance group. - */ - Name?: XmlStringMaxLen256; - /** - * Market type of the EC2 instances used to create a cluster node. - */ - Market: MarketType; - /** - * Instance group role in the cluster - */ - InstanceRole: InstanceRoleType; - /** - * Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD. - */ - BidPrice?: XmlStringMaxLen256; - /** - * EC2 instance type. - */ - InstanceType: InstanceType; - /** - * Target number of instances to run in the instance group. - */ - InstanceRequestCount: Integer; - /** - * Actual count of running instances. - */ - InstanceRunningCount: Integer; - /** - * State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED. - */ - State: InstanceGroupState; - /** - * Details regarding the state of the instance group. - */ - LastStateChangeReason?: XmlString; - /** - * The date/time the instance group was created. - */ - CreationDateTime: _Date; - /** - * The date/time the instance group was started. - */ - StartDateTime?: _Date; - /** - * The date/time the instance group was available to the cluster. - */ - ReadyDateTime?: _Date; - /** - * The date/time the instance group was terminated. - */ - EndDateTime?: _Date; - } - export type InstanceGroupDetailList = InstanceGroupDetail[]; - export type InstanceGroupId = string; - export type InstanceGroupIdsList = XmlStringMaxLen256[]; - export type InstanceGroupList = InstanceGroup[]; - export interface InstanceGroupModifyConfig { - /** - * Unique ID of the instance group to expand or shrink. - */ - InstanceGroupId: XmlStringMaxLen256; - /** - * Target size for the instance group. - */ - InstanceCount?: Integer; - /** - * The EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size. - */ - EC2InstanceIdsToTerminate?: EC2InstanceIdsToTerminateList; - /** - * Policy for customizing shrink operations. - */ - ShrinkPolicy?: ShrinkPolicy; - } - export type InstanceGroupModifyConfigList = InstanceGroupModifyConfig[]; - export type InstanceGroupState = "PROVISIONING"|"BOOTSTRAPPING"|"RUNNING"|"RESIZING"|"SUSPENDED"|"TERMINATING"|"TERMINATED"|"ARRESTED"|"SHUTTING_DOWN"|"ENDED"|string; - export interface InstanceGroupStateChangeReason { - /** - * The programmable code for the state change reason. - */ - Code?: InstanceGroupStateChangeReasonCode; - /** - * The status change reason description. - */ - Message?: String; - } - export type InstanceGroupStateChangeReasonCode = "INTERNAL_ERROR"|"VALIDATION_ERROR"|"INSTANCE_FAILURE"|"CLUSTER_TERMINATED"|string; - export interface InstanceGroupStatus { - /** - * The current state of the instance group. - */ - State?: InstanceGroupState; - /** - * The status change reason details for the instance group. - */ - StateChangeReason?: InstanceGroupStateChangeReason; - /** - * The timeline of the instance group status over time. - */ - Timeline?: InstanceGroupTimeline; - } - export interface InstanceGroupTimeline { - /** - * The creation date and time of the instance group. - */ - CreationDateTime?: _Date; - /** - * The date and time when the instance group became ready to perform tasks. - */ - ReadyDateTime?: _Date; - /** - * The date and time when the instance group terminated. - */ - EndDateTime?: _Date; - } - export type InstanceGroupType = "MASTER"|"CORE"|"TASK"|string; - export type InstanceGroupTypeList = InstanceGroupType[]; - export type InstanceId = string; - export type InstanceList = Instance[]; - export interface InstanceResizePolicy { - /** - * Specific list of instances to be terminated when shrinking an instance group. - */ - InstancesToTerminate?: EC2InstanceIdsList; - /** - * Specific list of instances to be protected when shrinking an instance group. - */ - InstancesToProtect?: EC2InstanceIdsList; - /** - * Decommissioning timeout override for the specific list of instances to be terminated. - */ - InstanceTerminationTimeout?: Integer; - } - export type InstanceRoleType = "MASTER"|"CORE"|"TASK"|string; - export type InstanceState = "AWAITING_FULFILLMENT"|"PROVISIONING"|"BOOTSTRAPPING"|"RUNNING"|"TERMINATED"|string; - export interface InstanceStateChangeReason { - /** - * The programmable code for the state change reason. - */ - Code?: InstanceStateChangeReasonCode; - /** - * The status change reason description. - */ - Message?: String; - } - export type InstanceStateChangeReasonCode = "INTERNAL_ERROR"|"VALIDATION_ERROR"|"INSTANCE_FAILURE"|"BOOTSTRAP_FAILURE"|"CLUSTER_TERMINATED"|string; - export type InstanceStateList = InstanceState[]; - export interface InstanceStatus { - /** - * The current state of the instance. - */ - State?: InstanceState; - /** - * The details of the status change reason for the instance. - */ - StateChangeReason?: InstanceStateChangeReason; - /** - * The timeline of the instance status over time. - */ - Timeline?: InstanceTimeline; - } - export interface InstanceTimeline { - /** - * The creation date and time of the instance. - */ - CreationDateTime?: _Date; - /** - * The date and time when the instance was ready to perform tasks. - */ - ReadyDateTime?: _Date; - /** - * The date and time when the instance was terminated. - */ - EndDateTime?: _Date; - } - export type InstanceType = string; - export interface InstanceTypeConfig { - /** - * An EC2 instance type, such as m3.xlarge. - */ - InstanceType: InstanceType; - /** - * The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and must be greater than 0 for core and task instance fleets. - */ - WeightedCapacity?: WholeNumber; - /** - * The bid price for each EC2 Spot instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%. - */ - BidPrice?: XmlStringMaxLen256; - /** - * The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by InstanceType. Expressed as a number between 0 and 1000 (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%. - */ - BidPriceAsPercentageOfOnDemandPrice?: NonNegativeDouble; - /** - * The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by InstanceType. - */ - EbsConfiguration?: EbsConfiguration; - /** - * A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster. - */ - Configurations?: ConfigurationList; - } - export type InstanceTypeConfigList = InstanceTypeConfig[]; - export interface InstanceTypeSpecification { - /** - * The EC2 instance type, for example m3.xlarge. - */ - InstanceType?: InstanceType; - /** - * The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1. - */ - WeightedCapacity?: WholeNumber; - /** - * The bid price for each EC2 Spot instance type as defined by InstanceType. Expressed in USD. - */ - BidPrice?: XmlStringMaxLen256; - /** - * The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%). - */ - BidPriceAsPercentageOfOnDemandPrice?: NonNegativeDouble; - /** - * A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR. - */ - Configurations?: ConfigurationList; - /** - * The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by InstanceType. - */ - EbsBlockDevices?: EbsBlockDeviceList; - /** - * Evaluates to TRUE when the specified InstanceType is EBS-optimized. - */ - EbsOptimized?: BooleanObject; - } - export type InstanceTypeSpecificationList = InstanceTypeSpecification[]; - export type Integer = number; - export interface JobFlowDetail { - /** - * The job flow identifier. - */ - JobFlowId: XmlStringMaxLen256; - /** - * The name of the job flow. - */ - Name: XmlStringMaxLen256; - /** - * The location in Amazon S3 where log files for the job are stored. - */ - LogUri?: XmlString; - /** - * The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently supported by Amazon EMR, see AMI Versions Supported in EMR in the Amazon EMR Developer Guide. - */ - AmiVersion?: XmlStringMaxLen256; - /** - * Describes the execution status of the job flow. - */ - ExecutionStatusDetail: JobFlowExecutionStatusDetail; - /** - * Describes the Amazon EC2 instances of the job flow. - */ - Instances: JobFlowInstancesDetail; - /** - * A list of steps run by the job flow. - */ - Steps?: StepDetailList; - /** - * A list of the bootstrap actions run by the job flow. - */ - BootstrapActions?: BootstrapActionDetailList; - /** - * A list of strings set by third party software when the job flow is launched. If you are not using third party software to manage the job flow this value is empty. - */ - SupportedProducts?: SupportedProductsList; - /** - * Specifies whether the cluster is visible to all IAM users of the AWS account associated with the cluster. If this value is set to true, all IAM users of that AWS account can view and (if they have the proper policy permissions set) manage the cluster. If it is set to false, only the IAM user that created the cluster can view and manage it. This value can be changed using the SetVisibleToAllUsers action. - */ - VisibleToAllUsers?: Boolean; - /** - * The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role. - */ - JobFlowRole?: XmlString; - /** - * The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf. - */ - ServiceRole?: XmlString; - /** - * An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate EC2 instances in an instance group. - */ - AutoScalingRole?: XmlString; - /** - * The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0. - */ - ScaleDownBehavior?: ScaleDownBehavior; - } - export type JobFlowDetailList = JobFlowDetail[]; - export type JobFlowExecutionState = "STARTING"|"BOOTSTRAPPING"|"RUNNING"|"WAITING"|"SHUTTING_DOWN"|"TERMINATED"|"COMPLETED"|"FAILED"|string; - export type JobFlowExecutionStateList = JobFlowExecutionState[]; - export interface JobFlowExecutionStatusDetail { - /** - * The state of the job flow. - */ - State: JobFlowExecutionState; - /** - * The creation date and time of the job flow. - */ - CreationDateTime: _Date; - /** - * The start date and time of the job flow. - */ - StartDateTime?: _Date; - /** - * The date and time when the job flow was ready to start running bootstrap actions. - */ - ReadyDateTime?: _Date; - /** - * The completion date and time of the job flow. - */ - EndDateTime?: _Date; - /** - * Description of the job flow last changed state. - */ - LastStateChangeReason?: XmlString; - } - export interface JobFlowInstancesConfig { - /** - * The EC2 instance type of the master node. - */ - MasterInstanceType?: InstanceType; - /** - * The EC2 instance type of the slave nodes. - */ - SlaveInstanceType?: InstanceType; - /** - * The number of EC2 instances in the cluster. - */ - InstanceCount?: Integer; - /** - * Configuration for the instance groups in a cluster. - */ - InstanceGroups?: InstanceGroupConfigList; - /** - * The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration. - */ - InstanceFleets?: InstanceFleetConfigList; - /** - * The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop." - */ - Ec2KeyName?: XmlStringMaxLen256; - /** - * The Availability Zone in which the cluster runs. - */ - Placement?: PlacementType; - /** - * Specifies whether the cluster should remain available after completing all steps. - */ - KeepJobFlowAliveWhenNoSteps?: Boolean; - /** - * Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error. - */ - TerminationProtected?: Boolean; - /** - * The Hadoop version for the cluster. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205" (deprecated), "1.0.3", "2.2.0", or "2.4.0". If you do not set this value, the default of 0.18 is used, unless the AmiVersion parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used. - */ - HadoopVersion?: XmlStringMaxLen256; - /** - * Applies to clusters that use the uniform instance group configuration. To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value, the cluster launches in the normal Amazon Web Services cloud, outside of an Amazon VPC, if the account launching the cluster supports EC2 Classic networks in the region where the cluster launches. Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC. - */ - Ec2SubnetId?: XmlStringMaxLen256; - /** - * Applies to clusters that use the instance fleet configuration. When multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet. The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. - */ - Ec2SubnetIds?: XmlStringMaxLen256List; - /** - * The identifier of the Amazon EC2 security group for the master node. - */ - EmrManagedMasterSecurityGroup?: XmlStringMaxLen256; - /** - * The identifier of the Amazon EC2 security group for the slave nodes. - */ - EmrManagedSlaveSecurityGroup?: XmlStringMaxLen256; - /** - * The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets. - */ - ServiceAccessSecurityGroup?: XmlStringMaxLen256; - /** - * A list of additional Amazon EC2 security group IDs for the master node. - */ - AdditionalMasterSecurityGroups?: SecurityGroupsList; - /** - * A list of additional Amazon EC2 security group IDs for the slave nodes. - */ - AdditionalSlaveSecurityGroups?: SecurityGroupsList; - } - export interface JobFlowInstancesDetail { - /** - * The Amazon EC2 master node instance type. - */ - MasterInstanceType: InstanceType; - /** - * The DNS name of the master node. - */ - MasterPublicDnsName?: XmlString; - /** - * The Amazon EC2 instance identifier of the master node. - */ - MasterInstanceId?: XmlString; - /** - * The Amazon EC2 slave node instance type. - */ - SlaveInstanceType: InstanceType; - /** - * The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and slave node. If the value is greater than 1, one instance is the master node and all others are slave nodes. - */ - InstanceCount: Integer; - /** - * Details about the instance groups in a cluster. - */ - InstanceGroups?: InstanceGroupDetailList; - /** - * An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour that an m1.small runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate. - */ - NormalizedInstanceHours?: Integer; - /** - * The name of an Amazon EC2 key pair that can be used to ssh to the master node. - */ - Ec2KeyName?: XmlStringMaxLen256; - /** - * For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched. - */ - Ec2SubnetId?: XmlStringMaxLen256; - /** - * The Amazon EC2 Availability Zone for the cluster. - */ - Placement?: PlacementType; - /** - * Specifies whether the cluster should remain available after completing all steps. - */ - KeepJobFlowAliveWhenNoSteps?: Boolean; - /** - * Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error. - */ - TerminationProtected?: Boolean; - /** - * The Hadoop version for the cluster. - */ - HadoopVersion?: XmlStringMaxLen256; - } - export interface KeyValue { - /** - * The unique identifier of a key value pair. - */ - Key?: XmlString; - /** - * The value part of the identified key. - */ - Value?: XmlString; - } - export type KeyValueList = KeyValue[]; - export interface ListBootstrapActionsInput { - /** - * The cluster identifier for the bootstrap actions to list. - */ - ClusterId: ClusterId; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListBootstrapActionsOutput { - /** - * The bootstrap actions associated with the cluster. - */ - BootstrapActions?: CommandList; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListClustersInput { - /** - * The creation date and time beginning value filter for listing clusters. - */ - CreatedAfter?: _Date; - /** - * The creation date and time end value filter for listing clusters. - */ - CreatedBefore?: _Date; - /** - * The cluster state filters to apply when listing clusters. - */ - ClusterStates?: ClusterStateList; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListClustersOutput { - /** - * The list of clusters for the account based on the given filters. - */ - Clusters?: ClusterSummaryList; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListInstanceFleetsInput { - /** - * The unique identifier of the cluster. - */ - ClusterId: ClusterId; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListInstanceFleetsOutput { - /** - * The list of instance fleets for the cluster and given filters. - */ - InstanceFleets?: InstanceFleetList; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListInstanceGroupsInput { - /** - * The identifier of the cluster for which to list the instance groups. - */ - ClusterId: ClusterId; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListInstanceGroupsOutput { - /** - * The list of instance groups for the cluster and given filters. - */ - InstanceGroups?: InstanceGroupList; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListInstancesInput { - /** - * The identifier of the cluster for which to list the instances. - */ - ClusterId: ClusterId; - /** - * The identifier of the instance group for which to list the instances. - */ - InstanceGroupId?: InstanceGroupId; - /** - * The type of instance group for which to list the instances. - */ - InstanceGroupTypes?: InstanceGroupTypeList; - /** - * The unique identifier of the instance fleet. - */ - InstanceFleetId?: InstanceFleetId; - /** - * The node type of the instance fleet. For example MASTER, CORE, or TASK. - */ - InstanceFleetType?: InstanceFleetType; - /** - * A list of instance states that will filter the instances returned with this request. - */ - InstanceStates?: InstanceStateList; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListInstancesOutput { - /** - * The list of instances for the cluster and given filters. - */ - Instances?: InstanceList; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListSecurityConfigurationsInput { - /** - * The pagination token that indicates the set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListSecurityConfigurationsOutput { - /** - * The creation date and time, and name, of each security configuration. - */ - SecurityConfigurations?: SecurityConfigurationList; - /** - * A pagination token that indicates the next set of results to retrieve. Include the marker in the next ListSecurityConfiguration call to retrieve the next page of results, if required. - */ - Marker?: Marker; - } - export interface ListStepsInput { - /** - * The identifier of the cluster for which to list the steps. - */ - ClusterId: ClusterId; - /** - * The filter to limit the step list based on certain states. - */ - StepStates?: StepStateList; - /** - * The filter to limit the step list based on the identifier of the steps. - */ - StepIds?: XmlStringList; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export interface ListStepsOutput { - /** - * The filtered list of steps for the cluster. - */ - Steps?: StepSummaryList; - /** - * The pagination token that indicates the next set of results to retrieve. - */ - Marker?: Marker; - } - export type Marker = string; - export type MarketType = "ON_DEMAND"|"SPOT"|string; - export interface MetricDimension { - /** - * The dimension name. - */ - Key?: String; - /** - * The dimension value. - */ - Value?: String; - } - export type MetricDimensionList = MetricDimension[]; - export interface ModifyInstanceFleetInput { - /** - * The unique identifier of the cluster. - */ - ClusterId: ClusterId; - /** - * The unique identifier of the instance fleet. - */ - InstanceFleet: InstanceFleetModifyConfig; - } - export interface ModifyInstanceGroupsInput { - /** - * The ID of the cluster to which the instance group belongs. - */ - ClusterId?: ClusterId; - /** - * Instance groups to change. - */ - InstanceGroups?: InstanceGroupModifyConfigList; - } - export type NewSupportedProductsList = SupportedProductConfig[]; - export type NonNegativeDouble = number; - export interface PlacementType { - /** - * The Amazon EC2 Availability Zone for the cluster. AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets. - */ - AvailabilityZone?: XmlString; - /** - * When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone. AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups. The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. - */ - AvailabilityZones?: XmlStringMaxLen256List; - } - export interface PutAutoScalingPolicyInput { - /** - * Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster. - */ - ClusterId: ClusterId; - /** - * Specifies the ID of the instance group to which the automatic scaling policy is applied. - */ - InstanceGroupId: InstanceGroupId; - /** - * Specifies the definition of the automatic scaling policy. - */ - AutoScalingPolicy: AutoScalingPolicy; - } - export interface PutAutoScalingPolicyOutput { - /** - * Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster. - */ - ClusterId?: ClusterId; - /** - * Specifies the ID of the instance group to which the scaling policy is applied. - */ - InstanceGroupId?: InstanceGroupId; - /** - * The automatic scaling policy definition. - */ - AutoScalingPolicy?: AutoScalingPolicyDescription; - } - export interface RemoveAutoScalingPolicyInput { - /** - * Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster. - */ - ClusterId: ClusterId; - /** - * Specifies the ID of the instance group to which the scaling policy is applied. - */ - InstanceGroupId: InstanceGroupId; - } - export interface RemoveAutoScalingPolicyOutput { - } - export interface RemoveTagsInput { - /** - * The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier. - */ - ResourceId: ResourceId; - /** - * A list of tag keys to remove from a resource. - */ - TagKeys: StringList; - } - export interface RemoveTagsOutput { - } - export type ResourceId = string; - export interface RunJobFlowInput { - /** - * The name of the job flow. - */ - Name: XmlStringMaxLen256; - /** - * The location in Amazon S3 to write the log files of the job flow. If a value is not provided, logs are not created. - */ - LogUri?: XmlString; - /** - * A JSON string for selecting additional features. - */ - AdditionalInfo?: XmlString; - /** - * For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use ReleaseLabel. The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values are valid: The version number of the AMI to use, for example, "2.0." If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports both Hadoop 0.18 and 0.20) you can use the JobFlowInstancesConfig HadoopVersion parameter to modify the version of Hadoop from the defaults shown above. For details about the AMI versions currently supported by Amazon Elastic MapReduce, see AMI Versions Supported in Elastic MapReduce in the Amazon Elastic MapReduce Developer Guide. Previously, the EMR AMI version API parameter options allowed you to use latest for the latest AMI version rather than specify a numerical value. Some regions no longer support this deprecated option as they only have a newer release label version of EMR, which requires you to specify an EMR release label release (EMR 4.x or later). - */ - AmiVersion?: XmlStringMaxLen256; - /** - * Amazon EMR releases 4.x or later. The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use amiVersion instead instead of ReleaseLabel. - */ - ReleaseLabel?: XmlStringMaxLen256; - /** - * A specification of the number and type of Amazon EC2 instances. - */ - Instances: JobFlowInstancesConfig; - /** - * A list of steps to run. - */ - Steps?: StepConfigList; - /** - * A list of bootstrap actions to run before Hadoop starts on the cluster nodes. - */ - BootstrapActions?: BootstrapActionConfigList; - /** - * For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use Applications. A list of strings that indicates third-party software to use. For more information, see Use Third Party Applications with Amazon EMR. Currently supported values are: "mapr-m3" - launch the job flow using MapR M3 Edition. "mapr-m5" - launch the job flow using MapR M5 Edition. - */ - SupportedProducts?: SupportedProductsList; - /** - * For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use Applications. A list of strings that indicates third-party software to use with the job flow that accepts a user argument list. EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action arguments. For more information, see "Launch a Job Flow on the MapR Distribution for Hadoop" in the Amazon EMR Developer Guide. Supported values are: "mapr-m3" - launch the cluster using MapR M3 Edition. "mapr-m5" - launch the cluster using MapR M5 Edition. "mapr" with the user arguments specifying "--edition,m3" or "--edition,m5" - launch the job flow using MapR M3 or M5 Edition respectively. "mapr-m7" - launch the cluster using MapR M7 Edition. "hunk" - launch the cluster with the Hunk Big Data Analtics Platform. "hue"- launch the cluster with Hue installed. "spark" - launch the cluster with Apache Spark installed. "ganglia" - launch the cluster with the Ganglia Monitoring System installed. - */ - NewSupportedProducts?: NewSupportedProductsList; - /** - * Amazon EMR releases 4.x or later. A list of applications for the cluster. Valid values are: "Hadoop", "Hive", "Mahout", "Pig", and "Spark." They are case insensitive. - */ - Applications?: ApplicationList; - /** - * Amazon EMR releases 4.x or later. The list of configurations supplied for the EMR cluster you are creating. - */ - Configurations?: ConfigurationList; - /** - * Whether the cluster is visible to all IAM users of the AWS account associated with the cluster. If this value is set to true, all IAM users of that AWS account can view and (if they have the proper policy permissions set) manage the cluster. If it is set to false, only the IAM user that created the cluster can view and manage it. - */ - VisibleToAllUsers?: Boolean; - /** - * Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. The default role is EMR_EC2_DefaultRole. In order to use the default role, you must have already created it using the CLI or console. - */ - JobFlowRole?: XmlString; - /** - * The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf. - */ - ServiceRole?: XmlString; - /** - * A list of tags to associate with a cluster and propagate to Amazon EC2 instances. - */ - Tags?: TagList; - /** - * The name of a security configuration to apply to the cluster. - */ - SecurityConfiguration?: XmlString; - /** - * An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group. - */ - AutoScalingRole?: XmlString; - /** - * Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0. - */ - ScaleDownBehavior?: ScaleDownBehavior; - } - export interface RunJobFlowOutput { - /** - * An unique identifier for the job flow. - */ - JobFlowId?: XmlStringMaxLen256; - } - export type ScaleDownBehavior = "TERMINATE_AT_INSTANCE_HOUR"|"TERMINATE_AT_TASK_COMPLETION"|string; - export interface ScalingAction { - /** - * Not available for instance groups. Instance groups use the market type specified for the group. - */ - Market?: MarketType; - /** - * The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment. - */ - SimpleScalingPolicyConfiguration: SimpleScalingPolicyConfiguration; - } - export interface ScalingConstraints { - /** - * The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary. - */ - MinCapacity: Integer; - /** - * The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary. - */ - MaxCapacity: Integer; - } - export interface ScalingRule { - /** - * The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy. - */ - Name: String; - /** - * A friendly, more verbose description of the automatic scaling rule. - */ - Description?: String; - /** - * The conditions that trigger an automatic scaling activity. - */ - Action: ScalingAction; - /** - * The CloudWatch alarm definition that determines when automatic scaling activity is triggered. - */ - Trigger: ScalingTrigger; - } - export type ScalingRuleList = ScalingRule[]; - export interface ScalingTrigger { - /** - * The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins. - */ - CloudWatchAlarmDefinition: CloudWatchAlarmDefinition; - } - export interface ScriptBootstrapActionConfig { - /** - * Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system. - */ - Path: XmlString; - /** - * A list of command line arguments to pass to the bootstrap action script. - */ - Args?: XmlStringList; - } - export type SecurityConfigurationList = SecurityConfigurationSummary[]; - export interface SecurityConfigurationSummary { - /** - * The name of the security configuration. - */ - Name?: XmlString; - /** - * The date and time the security configuration was created. - */ - CreationDateTime?: _Date; - } - export type SecurityGroupsList = XmlStringMaxLen256[]; - export interface SetTerminationProtectionInput { - /** - * A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows . - */ - JobFlowIds: XmlStringList; - /** - * A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error. - */ - TerminationProtected: Boolean; - } - export interface SetVisibleToAllUsersInput { - /** - * Identifiers of the job flows to receive the new visibility setting. - */ - JobFlowIds: XmlStringList; - /** - * Whether the specified clusters are visible to all IAM users of the AWS account associated with the cluster. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the clusters. If it is set to False, only the IAM user that created a cluster can view and manage it. - */ - VisibleToAllUsers: Boolean; - } - export interface ShrinkPolicy { - /** - * The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout. - */ - DecommissionTimeout?: Integer; - /** - * Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group. - */ - InstanceResizePolicy?: InstanceResizePolicy; - } - export interface SimpleScalingPolicyConfiguration { - /** - * The way in which EC2 instances are added (if ScalingAdjustment is a positive number) or terminated (if ScalingAdjustment is a negative number) each time the scaling activity is triggered. CHANGE_IN_CAPACITY is the default. CHANGE_IN_CAPACITY indicates that the EC2 instance count increments or decrements by ScalingAdjustment, which should be expressed as an integer. PERCENT_CHANGE_IN_CAPACITY indicates the instance count increments or decrements by the percentage specified by ScalingAdjustment, which should be expressed as a decimal. For example, 0.20 indicates an increase in 20% increments of cluster capacity. EXACT_CAPACITY indicates the scaling activity results in an instance group with the number of EC2 instances specified by ScalingAdjustment, which should be expressed as a positive integer. - */ - AdjustmentType?: AdjustmentType; - /** - * The amount by which to scale in or scale out, based on the specified AdjustmentType. A positive value adds to the instance group's EC2 instance count while a negative number removes instances. If AdjustmentType is set to EXACT_CAPACITY, the number should only be a positive integer. If AdjustmentType is set to PERCENT_CHANGE_IN_CAPACITY, the value should express the percentage as a decimal. For example, -0.20 indicates a decrease in 20% increments of cluster capacity. - */ - ScalingAdjustment: Integer; - /** - * The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. The default value is 0. - */ - CoolDown?: Integer; - } - export interface SpotProvisioningSpecification { - /** - * The spot provisioning timeout period in minutes. If Spot instances are not provisioned within this time period, the TimeOutAction is taken. Minimum value is 5 and maximum value is 1440. The timeout applies only during initial provisioning, when the cluster is first created. - */ - TimeoutDurationMinutes: WholeNumber; - /** - * The action to take when TargetSpotCapacity has not been fulfilled when the TimeoutDurationMinutes has expired. Spot instances are not uprovisioned within the Spot provisioining timeout. Valid values are TERMINATE_CLUSTER and SWITCH_TO_ON_DEMAND to fulfill the remaining capacity. - */ - TimeoutAction: SpotProvisioningTimeoutAction; - /** - * The defined duration for Spot instances (also known as Spot blocks) in minutes. When specified, the Spot instance does not terminate before the defined duration expires, and defined duration pricing for Spot instances applies. Valid values are 60, 120, 180, 240, 300, or 360. The duration period starts as soon as a Spot instance receives its instance ID. At the end of the duration, Amazon EC2 marks the Spot instance for termination and provides a Spot instance termination notice, which gives the instance a two-minute warning before it terminates. - */ - BlockDurationMinutes?: WholeNumber; - } - export type SpotProvisioningTimeoutAction = "SWITCH_TO_ON_DEMAND"|"TERMINATE_CLUSTER"|string; - export type Statistic = "SAMPLE_COUNT"|"AVERAGE"|"SUM"|"MINIMUM"|"MAXIMUM"|string; - export interface Step { - /** - * The identifier of the cluster step. - */ - Id?: StepId; - /** - * The name of the cluster step. - */ - Name?: String; - /** - * The Hadoop job configuration of the cluster step. - */ - Config?: HadoopStepConfig; - /** - * This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. - */ - ActionOnFailure?: ActionOnFailure; - /** - * The current execution status details of the cluster step. - */ - Status?: StepStatus; - } - export interface StepConfig { - /** - * The name of the step. - */ - Name: XmlStringMaxLen256; - /** - * The action to take if the step fails. - */ - ActionOnFailure?: ActionOnFailure; - /** - * The JAR file used for the step. - */ - HadoopJarStep: HadoopJarStepConfig; - } - export type StepConfigList = StepConfig[]; - export interface StepDetail { - /** - * The step configuration. - */ - StepConfig: StepConfig; - /** - * The description of the step status. - */ - ExecutionStatusDetail: StepExecutionStatusDetail; - } - export type StepDetailList = StepDetail[]; - export type StepExecutionState = "PENDING"|"RUNNING"|"CONTINUE"|"COMPLETED"|"CANCELLED"|"FAILED"|"INTERRUPTED"|string; - export interface StepExecutionStatusDetail { - /** - * The state of the step. - */ - State: StepExecutionState; - /** - * The creation date and time of the step. - */ - CreationDateTime: _Date; - /** - * The start date and time of the step. - */ - StartDateTime?: _Date; - /** - * The completion date and time of the step. - */ - EndDateTime?: _Date; - /** - * A description of the step's current state. - */ - LastStateChangeReason?: XmlString; - } - export type StepId = string; - export type StepIdsList = XmlStringMaxLen256[]; - export type StepState = "PENDING"|"CANCEL_PENDING"|"RUNNING"|"COMPLETED"|"CANCELLED"|"FAILED"|"INTERRUPTED"|string; - export interface StepStateChangeReason { - /** - * The programmable code for the state change reason. Note: Currently, the service provides no code for the state change. - */ - Code?: StepStateChangeReasonCode; - /** - * The descriptive message for the state change reason. - */ - Message?: String; - } - export type StepStateChangeReasonCode = "NONE"|string; - export type StepStateList = StepState[]; - export interface StepStatus { - /** - * The execution state of the cluster step. - */ - State?: StepState; - /** - * The reason for the step execution status change. - */ - StateChangeReason?: StepStateChangeReason; - /** - * The details for the step failure including reason, message, and log file path where the root cause was identified. - */ - FailureDetails?: FailureDetails; - /** - * The timeline of the cluster step status over time. - */ - Timeline?: StepTimeline; - } - export interface StepSummary { - /** - * The identifier of the cluster step. - */ - Id?: StepId; - /** - * The name of the cluster step. - */ - Name?: String; - /** - * The Hadoop job configuration of the cluster step. - */ - Config?: HadoopStepConfig; - /** - * This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. - */ - ActionOnFailure?: ActionOnFailure; - /** - * The current execution status details of the cluster step. - */ - Status?: StepStatus; - } - export type StepSummaryList = StepSummary[]; - export interface StepTimeline { - /** - * The date and time when the cluster step was created. - */ - CreationDateTime?: _Date; - /** - * The date and time when the cluster step execution started. - */ - StartDateTime?: _Date; - /** - * The date and time when the cluster step execution completed or failed. - */ - EndDateTime?: _Date; - } - export type String = string; - export type StringList = String[]; - export type StringMap = {[key: string]: String}; - export interface SupportedProductConfig { - /** - * The name of the product configuration. - */ - Name?: XmlStringMaxLen256; - /** - * The list of user-supplied arguments. - */ - Args?: XmlStringList; - } - export type SupportedProductsList = XmlStringMaxLen256[]; - export interface Tag { - /** - * A user-defined key, which is the minimum required information for a valid tag. For more information, see Tagging Amazon EMR Resources. - */ - Key?: String; - /** - * A user-defined value, which is optional in a tag. For more information, see Tagging Amazon EMR Resources. - */ - Value?: String; - } - export type TagList = Tag[]; - export interface TerminateJobFlowsInput { - /** - * A list of job flows to be shutdown. - */ - JobFlowIds: XmlStringList; - } - export type Unit = "NONE"|"SECONDS"|"MICRO_SECONDS"|"MILLI_SECONDS"|"BYTES"|"KILO_BYTES"|"MEGA_BYTES"|"GIGA_BYTES"|"TERA_BYTES"|"BITS"|"KILO_BITS"|"MEGA_BITS"|"GIGA_BITS"|"TERA_BITS"|"PERCENT"|"COUNT"|"BYTES_PER_SECOND"|"KILO_BYTES_PER_SECOND"|"MEGA_BYTES_PER_SECOND"|"GIGA_BYTES_PER_SECOND"|"TERA_BYTES_PER_SECOND"|"BITS_PER_SECOND"|"KILO_BITS_PER_SECOND"|"MEGA_BITS_PER_SECOND"|"GIGA_BITS_PER_SECOND"|"TERA_BITS_PER_SECOND"|"COUNT_PER_SECOND"|string; - export interface VolumeSpecification { - /** - * The volume type. Volume types supported are gp2, io1, standard. - */ - VolumeType: String; - /** - * The number of I/O operations per second (IOPS) that the volume supports. - */ - Iops?: Integer; - /** - * The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10. - */ - SizeInGB: Integer; - } - export type WholeNumber = number; - export type XmlString = string; - export type XmlStringList = XmlString[]; - export type XmlStringMaxLen256 = string; - export type XmlStringMaxLen256List = XmlStringMaxLen256[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2009-03-31"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the EMR client. - */ - export import Types = EMR; -} -export = EMR; diff --git a/src/node_modules/aws-sdk/clients/emr.js b/src/node_modules/aws-sdk/clients/emr.js deleted file mode 100644 index 82d69f1..0000000 --- a/src/node_modules/aws-sdk/clients/emr.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['emr'] = {}; -AWS.EMR = Service.defineService('emr', ['2009-03-31']); -Object.defineProperty(apiLoader.services['emr'], '2009-03-31', { - get: function get() { - var model = require('../apis/elasticmapreduce-2009-03-31.min.json'); - model.paginators = require('../apis/elasticmapreduce-2009-03-31.paginators.json').pagination; - model.waiters = require('../apis/elasticmapreduce-2009-03-31.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EMR; diff --git a/src/node_modules/aws-sdk/clients/es.d.ts b/src/node_modules/aws-sdk/clients/es.d.ts deleted file mode 100644 index 6af0144..0000000 --- a/src/node_modules/aws-sdk/clients/es.d.ts +++ /dev/null @@ -1,652 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ES extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ES.Types.ClientConfiguration) - config: Config & ES.Types.ClientConfiguration; - /** - * Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information. - */ - addTags(params: ES.Types.AddTagsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information. - */ - addTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide. - */ - createElasticsearchDomain(params: ES.Types.CreateElasticsearchDomainRequest, callback?: (err: AWSError, data: ES.Types.CreateElasticsearchDomainResponse) => void): Request; - /** - * Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide. - */ - createElasticsearchDomain(callback?: (err: AWSError, data: ES.Types.CreateElasticsearchDomainResponse) => void): Request; - /** - * Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered. - */ - deleteElasticsearchDomain(params: ES.Types.DeleteElasticsearchDomainRequest, callback?: (err: AWSError, data: ES.Types.DeleteElasticsearchDomainResponse) => void): Request; - /** - * Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered. - */ - deleteElasticsearchDomain(callback?: (err: AWSError, data: ES.Types.DeleteElasticsearchDomainResponse) => void): Request; - /** - * Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN. - */ - describeElasticsearchDomain(params: ES.Types.DescribeElasticsearchDomainRequest, callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainResponse) => void): Request; - /** - * Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN. - */ - describeElasticsearchDomain(callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainResponse) => void): Request; - /** - * Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options. - */ - describeElasticsearchDomainConfig(params: ES.Types.DescribeElasticsearchDomainConfigRequest, callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainConfigResponse) => void): Request; - /** - * Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options. - */ - describeElasticsearchDomainConfig(callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainConfigResponse) => void): Request; - /** - * Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN. - */ - describeElasticsearchDomains(params: ES.Types.DescribeElasticsearchDomainsRequest, callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainsResponse) => void): Request; - /** - * Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN. - */ - describeElasticsearchDomains(callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainsResponse) => void): Request; - /** - * Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain, specify the DomainName to know what Limits are supported for modifying. - */ - describeElasticsearchInstanceTypeLimits(params: ES.Types.DescribeElasticsearchInstanceTypeLimitsRequest, callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchInstanceTypeLimitsResponse) => void): Request; - /** - * Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain, specify the DomainName to know what Limits are supported for modifying. - */ - describeElasticsearchInstanceTypeLimits(callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchInstanceTypeLimitsResponse) => void): Request; - /** - * Returns the name of all Elasticsearch domains owned by the current user's account. - */ - listDomainNames(callback?: (err: AWSError, data: ES.Types.ListDomainNamesResponse) => void): Request; - /** - * List all Elasticsearch instance types that are supported for given ElasticsearchVersion - */ - listElasticsearchInstanceTypes(params: ES.Types.ListElasticsearchInstanceTypesRequest, callback?: (err: AWSError, data: ES.Types.ListElasticsearchInstanceTypesResponse) => void): Request; - /** - * List all Elasticsearch instance types that are supported for given ElasticsearchVersion - */ - listElasticsearchInstanceTypes(callback?: (err: AWSError, data: ES.Types.ListElasticsearchInstanceTypesResponse) => void): Request; - /** - * List all supported Elasticsearch versions - */ - listElasticsearchVersions(params: ES.Types.ListElasticsearchVersionsRequest, callback?: (err: AWSError, data: ES.Types.ListElasticsearchVersionsResponse) => void): Request; - /** - * List all supported Elasticsearch versions - */ - listElasticsearchVersions(callback?: (err: AWSError, data: ES.Types.ListElasticsearchVersionsResponse) => void): Request; - /** - * Returns all tags for the given Elasticsearch domain. - */ - listTags(params: ES.Types.ListTagsRequest, callback?: (err: AWSError, data: ES.Types.ListTagsResponse) => void): Request; - /** - * Returns all tags for the given Elasticsearch domain. - */ - listTags(callback?: (err: AWSError, data: ES.Types.ListTagsResponse) => void): Request; - /** - * Removes the specified set of tags from the specified Elasticsearch domain. - */ - removeTags(params: ES.Types.RemoveTagsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified set of tags from the specified Elasticsearch domain. - */ - removeTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances. - */ - updateElasticsearchDomainConfig(params: ES.Types.UpdateElasticsearchDomainConfigRequest, callback?: (err: AWSError, data: ES.Types.UpdateElasticsearchDomainConfigResponse) => void): Request; - /** - * Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances. - */ - updateElasticsearchDomainConfig(callback?: (err: AWSError, data: ES.Types.UpdateElasticsearchDomainConfigResponse) => void): Request; -} -declare namespace ES { - export type ARN = string; - export interface AccessPoliciesStatus { - /** - * The access policy configured for the Elasticsearch domain. Access policies may be resource-based, IP-based, or IAM-based. See Configuring Access Policiesfor more information. - */ - Options: PolicyDocument; - /** - * The status of the access policy for the Elasticsearch domain. See OptionStatus for the status information that's included. - */ - Status: OptionStatus; - } - export interface AddTagsRequest { - /** - * Specify the ARN for which you want to add the tags. - */ - ARN: ARN; - /** - * List of Tag that need to be added for the Elasticsearch domain. - */ - TagList: TagList; - } - export interface AdditionalLimit { - /** - * Name of Additional Limit is specific to a given InstanceType and for each of it's InstanceRole etc. Attributes and their details: MaximumNumberOfDataNodesSupported This attribute will be present in Master node only to specify how much data nodes upto which given ESPartitionInstanceType can support as master node. MaximumNumberOfDataNodesWithoutMasterNode This attribute will be present in Data node only to specify how much data nodes of given ESPartitionInstanceType upto which you don't need any master nodes to govern them. - */ - LimitName?: LimitName; - /** - * Value for given AdditionalLimit$LimitName . - */ - LimitValues?: LimitValueList; - } - export type AdditionalLimitList = AdditionalLimit[]; - export type AdvancedOptions = {[key: string]: String}; - export interface AdvancedOptionsStatus { - /** - * Specifies the status of advanced options for the specified Elasticsearch domain. - */ - Options: AdvancedOptions; - /** - * Specifies the status of OptionStatus for advanced options for the specified Elasticsearch domain. - */ - Status: OptionStatus; - } - export type Boolean = boolean; - export interface CreateElasticsearchDomainRequest { - /** - * The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). - */ - DomainName: DomainName; - /** - * String of format X.Y to specify version for the Elasticsearch domain eg. "1.5" or "2.3". For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide. - */ - ElasticsearchVersion?: ElasticsearchVersionString; - /** - * Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster. - */ - ElasticsearchClusterConfig?: ElasticsearchClusterConfig; - /** - * Options to enable, disable and specify the type and size of EBS storage volumes. - */ - EBSOptions?: EBSOptions; - /** - * IAM access policy as a JSON-formatted string. - */ - AccessPolicies?: PolicyDocument; - /** - * Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours. - */ - SnapshotOptions?: SnapshotOptions; - /** - * Option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options for more information. - */ - AdvancedOptions?: AdvancedOptions; - } - export interface CreateElasticsearchDomainResponse { - /** - * The status of the newly created Elasticsearch domain. - */ - DomainStatus?: ElasticsearchDomainStatus; - } - export interface DeleteElasticsearchDomainRequest { - /** - * The name of the Elasticsearch domain that you want to permanently delete. - */ - DomainName: DomainName; - } - export interface DeleteElasticsearchDomainResponse { - /** - * The status of the Elasticsearch domain being deleted. - */ - DomainStatus?: ElasticsearchDomainStatus; - } - export interface DescribeElasticsearchDomainConfigRequest { - /** - * The Elasticsearch domain that you want to get information about. - */ - DomainName: DomainName; - } - export interface DescribeElasticsearchDomainConfigResponse { - /** - * The configuration information of the domain requested in the DescribeElasticsearchDomainConfig request. - */ - DomainConfig: ElasticsearchDomainConfig; - } - export interface DescribeElasticsearchDomainRequest { - /** - * The name of the Elasticsearch domain for which you want information. - */ - DomainName: DomainName; - } - export interface DescribeElasticsearchDomainResponse { - /** - * The current status of the Elasticsearch domain. - */ - DomainStatus: ElasticsearchDomainStatus; - } - export interface DescribeElasticsearchDomainsRequest { - /** - * The Elasticsearch domains for which you want information. - */ - DomainNames: DomainNameList; - } - export interface DescribeElasticsearchDomainsResponse { - /** - * The status of the domains requested in the DescribeElasticsearchDomains request. - */ - DomainStatusList: ElasticsearchDomainStatusList; - } - export interface DescribeElasticsearchInstanceTypeLimitsRequest { - /** - * DomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for Elasticsearch Limits for existing domain. - */ - DomainName?: DomainName; - /** - * The instance type for an Elasticsearch cluster for which Elasticsearch Limits are needed. - */ - InstanceType: ESPartitionInstanceType; - /** - * Version of Elasticsearch for which Limits are needed. - */ - ElasticsearchVersion: ElasticsearchVersionString; - } - export interface DescribeElasticsearchInstanceTypeLimitsResponse { - LimitsByRole?: LimitsByRole; - } - export type DomainId = string; - export interface DomainInfo { - /** - * Specifies the DomainName. - */ - DomainName?: DomainName; - } - export type DomainInfoList = DomainInfo[]; - export type DomainName = string; - export type DomainNameList = DomainName[]; - export interface EBSOptions { - /** - * Specifies whether EBS-based storage is enabled. - */ - EBSEnabled?: Boolean; - /** - * Specifies the volume type for EBS-based storage. - */ - VolumeType?: VolumeType; - /** - * Integer to specify the size of an EBS volume. - */ - VolumeSize?: IntegerClass; - /** - * Specifies the IOPD for a Provisioned IOPS EBS volume (SSD). - */ - Iops?: IntegerClass; - } - export interface EBSOptionsStatus { - /** - * Specifies the EBS options for the specified Elasticsearch domain. - */ - Options: EBSOptions; - /** - * Specifies the status of the EBS options for the specified Elasticsearch domain. - */ - Status: OptionStatus; - } - export type ESPartitionInstanceType = "m3.medium.elasticsearch"|"m3.large.elasticsearch"|"m3.xlarge.elasticsearch"|"m3.2xlarge.elasticsearch"|"m4.large.elasticsearch"|"m4.xlarge.elasticsearch"|"m4.2xlarge.elasticsearch"|"m4.4xlarge.elasticsearch"|"m4.10xlarge.elasticsearch"|"t2.micro.elasticsearch"|"t2.small.elasticsearch"|"t2.medium.elasticsearch"|"r3.large.elasticsearch"|"r3.xlarge.elasticsearch"|"r3.2xlarge.elasticsearch"|"r3.4xlarge.elasticsearch"|"r3.8xlarge.elasticsearch"|"i2.xlarge.elasticsearch"|"i2.2xlarge.elasticsearch"|"d2.xlarge.elasticsearch"|"d2.2xlarge.elasticsearch"|"d2.4xlarge.elasticsearch"|"d2.8xlarge.elasticsearch"|"c4.large.elasticsearch"|"c4.xlarge.elasticsearch"|"c4.2xlarge.elasticsearch"|"c4.4xlarge.elasticsearch"|"c4.8xlarge.elasticsearch"|"r4.large.elasticsearch"|"r4.xlarge.elasticsearch"|"r4.2xlarge.elasticsearch"|"r4.4xlarge.elasticsearch"|"r4.8xlarge.elasticsearch"|"r4.16xlarge.elasticsearch"|string; - export interface ElasticsearchClusterConfig { - /** - * The instance type for an Elasticsearch cluster. - */ - InstanceType?: ESPartitionInstanceType; - /** - * The number of instances in the specified domain cluster. - */ - InstanceCount?: IntegerClass; - /** - * A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information. - */ - DedicatedMasterEnabled?: Boolean; - /** - * A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information. - */ - ZoneAwarenessEnabled?: Boolean; - /** - * The instance type for a dedicated master node. - */ - DedicatedMasterType?: ESPartitionInstanceType; - /** - * Total number of dedicated master nodes, active and on standby, for the cluster. - */ - DedicatedMasterCount?: IntegerClass; - } - export interface ElasticsearchClusterConfigStatus { - /** - * Specifies the cluster configuration for the specified Elasticsearch domain. - */ - Options: ElasticsearchClusterConfig; - /** - * Specifies the status of the configuration for the specified Elasticsearch domain. - */ - Status: OptionStatus; - } - export interface ElasticsearchDomainConfig { - /** - * String of format X.Y to specify version for the Elasticsearch domain. - */ - ElasticsearchVersion?: ElasticsearchVersionStatus; - /** - * Specifies the ElasticsearchClusterConfig for the Elasticsearch domain. - */ - ElasticsearchClusterConfig?: ElasticsearchClusterConfigStatus; - /** - * Specifies the EBSOptions for the Elasticsearch domain. - */ - EBSOptions?: EBSOptionsStatus; - /** - * IAM access policy as a JSON-formatted string. - */ - AccessPolicies?: AccessPoliciesStatus; - /** - * Specifies the SnapshotOptions for the Elasticsearch domain. - */ - SnapshotOptions?: SnapshotOptionsStatus; - /** - * Specifies the AdvancedOptions for the domain. See Configuring Advanced Options for more information. - */ - AdvancedOptions?: AdvancedOptionsStatus; - } - export interface ElasticsearchDomainStatus { - /** - * The unique identifier for the specified Elasticsearch domain. - */ - DomainId: DomainId; - /** - * The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). - */ - DomainName: DomainName; - /** - * The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information. - */ - ARN: ARN; - /** - * The domain creation status. True if the creation of an Elasticsearch domain is complete. False if domain creation is still in progress. - */ - Created?: Boolean; - /** - * The domain deletion status. True if a delete request has been received for the domain but resource cleanup is still in progress. False if the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned. - */ - Deleted?: Boolean; - /** - * The Elasticsearch domain endpoint that you use to submit index and search requests. - */ - Endpoint?: ServiceUrl; - /** - * The status of the Elasticsearch domain configuration. True if Amazon Elasticsearch Service is processing configuration changes. False if the configuration is active. - */ - Processing?: Boolean; - ElasticsearchVersion?: ElasticsearchVersionString; - /** - * The type and number of instances in the domain cluster. - */ - ElasticsearchClusterConfig: ElasticsearchClusterConfig; - /** - * The EBSOptions for the specified domain. See Configuring EBS-based Storage for more information. - */ - EBSOptions?: EBSOptions; - /** - * IAM access policy as a JSON-formatted string. - */ - AccessPolicies?: PolicyDocument; - /** - * Specifies the status of the SnapshotOptions - */ - SnapshotOptions?: SnapshotOptions; - /** - * Specifies the status of the AdvancedOptions - */ - AdvancedOptions?: AdvancedOptions; - } - export type ElasticsearchDomainStatusList = ElasticsearchDomainStatus[]; - export type ElasticsearchInstanceTypeList = ESPartitionInstanceType[]; - export type ElasticsearchVersionList = ElasticsearchVersionString[]; - export interface ElasticsearchVersionStatus { - /** - * Specifies the Elasticsearch version for the specified Elasticsearch domain. - */ - Options: ElasticsearchVersionString; - /** - * Specifies the status of the Elasticsearch version options for the specified Elasticsearch domain. - */ - Status: OptionStatus; - } - export type ElasticsearchVersionString = string; - export type ErrorMessage = string; - export interface InstanceCountLimits { - MinimumInstanceCount?: MinimumInstanceCount; - MaximumInstanceCount?: MaximumInstanceCount; - } - export interface InstanceLimits { - InstanceCountLimits?: InstanceCountLimits; - } - export type InstanceRole = string; - export type IntegerClass = number; - export type LimitName = string; - export type LimitValue = string; - export type LimitValueList = LimitValue[]; - export interface Limits { - /** - * StorageType represents the list of storage related types and attributes that are available for given InstanceType. - */ - StorageTypes?: StorageTypeList; - InstanceLimits?: InstanceLimits; - /** - * List of additional limits that are specific to a given InstanceType and for each of it's InstanceRole . - */ - AdditionalLimits?: AdditionalLimitList; - } - export type LimitsByRole = {[key: string]: Limits}; - export interface ListDomainNamesResponse { - /** - * List of Elasticsearch domain names. - */ - DomainNames?: DomainInfoList; - } - export interface ListElasticsearchInstanceTypesRequest { - /** - * Version of Elasticsearch for which list of supported elasticsearch instance types are needed. - */ - ElasticsearchVersion: ElasticsearchVersionString; - /** - * DomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for list of available Elasticsearch instance types when modifying existing domain. - */ - DomainName?: DomainName; - /** - * Set this value to limit the number of results returned. Value provided must be greater than 30 else it wont be honored. - */ - MaxResults?: MaxResults; - /** - * NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination. - */ - NextToken?: NextToken; - } - export interface ListElasticsearchInstanceTypesResponse { - /** - * List of instance types supported by Amazon Elasticsearch service for given ElasticsearchVersion - */ - ElasticsearchInstanceTypes?: ElasticsearchInstanceTypeList; - /** - * In case if there are more results available NextToken would be present, make further request to the same API with received NextToken to paginate remaining results. - */ - NextToken?: NextToken; - } - export interface ListElasticsearchVersionsRequest { - /** - * Set this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored. - */ - MaxResults?: MaxResults; - NextToken?: NextToken; - } - export interface ListElasticsearchVersionsResponse { - ElasticsearchVersions?: ElasticsearchVersionList; - NextToken?: NextToken; - } - export interface ListTagsRequest { - /** - * Specify the ARN for the Elasticsearch domain to which the tags are attached that you want to view. - */ - ARN: ARN; - } - export interface ListTagsResponse { - /** - * List of Tag for the requested Elasticsearch domain. - */ - TagList?: TagList; - } - export type MaxResults = number; - export type MaximumInstanceCount = number; - export type MinimumInstanceCount = number; - export type NextToken = string; - export type OptionState = "RequiresIndexDocuments"|"Processing"|"Active"|string; - export interface OptionStatus { - /** - * Timestamp which tells the creation date for the entity. - */ - CreationDate: UpdateTimestamp; - /** - * Timestamp which tells the last updated time for the entity. - */ - UpdateDate: UpdateTimestamp; - /** - * Specifies the latest version for the entity. - */ - UpdateVersion?: UIntValue; - /** - * Provides the OptionState for the Elasticsearch domain. - */ - State: OptionState; - /** - * Indicates whether the Elasticsearch domain is being deleted. - */ - PendingDeletion?: Boolean; - } - export type PolicyDocument = string; - export interface RemoveTagsRequest { - /** - * Specifies the ARN for the Elasticsearch domain from which you want to delete the specified tags. - */ - ARN: ARN; - /** - * Specifies the TagKey list which you want to remove from the Elasticsearch domain. - */ - TagKeys: StringList; - } - export type ServiceUrl = string; - export interface SnapshotOptions { - /** - * Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours. - */ - AutomatedSnapshotStartHour?: IntegerClass; - } - export interface SnapshotOptionsStatus { - /** - * Specifies the daily snapshot options specified for the Elasticsearch domain. - */ - Options: SnapshotOptions; - /** - * Specifies the status of a daily automated snapshot. - */ - Status: OptionStatus; - } - export type StorageSubTypeName = string; - export interface StorageType { - StorageTypeName?: StorageTypeName; - StorageSubTypeName?: StorageSubTypeName; - /** - * List of limits that are applicable for given storage type. - */ - StorageTypeLimits?: StorageTypeLimitList; - } - export interface StorageTypeLimit { - /** - * Name of storage limits that are applicable for given storage type. If StorageType is ebs, following storage options are applicable MinimumVolumeSize Minimum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable. MaximumVolumeSize Maximum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable. MaximumIops Maximum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable. MinimumIops Minimum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable. - */ - LimitName?: LimitName; - /** - * Values for the StorageTypeLimit$LimitName . - */ - LimitValues?: LimitValueList; - } - export type StorageTypeLimitList = StorageTypeLimit[]; - export type StorageTypeList = StorageType[]; - export type StorageTypeName = string; - export type String = string; - export type StringList = String[]; - export interface Tag { - /** - * Specifies the TagKey, the name of the tag. Tag keys must be unique for the Elasticsearch domain to which they are attached. - */ - Key: TagKey; - /** - * Specifies the TagValue, the value assigned to the corresponding tag key. Tag values can be null and do not have to be unique in a tag set. For example, you can have a key value pair in a tag set of project : Trinity and cost-center : Trinity - */ - Value: TagValue; - } - export type TagKey = string; - export type TagList = Tag[]; - export type TagValue = string; - export type UIntValue = number; - export interface UpdateElasticsearchDomainConfigRequest { - /** - * The name of the Elasticsearch domain that you are updating. - */ - DomainName: DomainName; - /** - * The type and number of instances to instantiate for the domain cluster. - */ - ElasticsearchClusterConfig?: ElasticsearchClusterConfig; - /** - * Specify the type and size of the EBS volume that you want to use. - */ - EBSOptions?: EBSOptions; - /** - * Option to set the time, in UTC format, for the daily automated snapshot. Default value is 0 hours. - */ - SnapshotOptions?: SnapshotOptions; - /** - * Modifies the advanced option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options for more information. - */ - AdvancedOptions?: AdvancedOptions; - /** - * IAM access policy as a JSON-formatted string. - */ - AccessPolicies?: PolicyDocument; - } - export interface UpdateElasticsearchDomainConfigResponse { - /** - * The status of the updated Elasticsearch domain. - */ - DomainConfig: ElasticsearchDomainConfig; - } - export type UpdateTimestamp = Date; - export type VolumeType = "standard"|"gp2"|"io1"|string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-01-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ES client. - */ - export import Types = ES; -} -export = ES; diff --git a/src/node_modules/aws-sdk/clients/es.js b/src/node_modules/aws-sdk/clients/es.js deleted file mode 100644 index 7124a96..0000000 --- a/src/node_modules/aws-sdk/clients/es.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['es'] = {}; -AWS.ES = Service.defineService('es', ['2015-01-01']); -Object.defineProperty(apiLoader.services['es'], '2015-01-01', { - get: function get() { - var model = require('../apis/es-2015-01-01.min.json'); - model.paginators = require('../apis/es-2015-01-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ES; diff --git a/src/node_modules/aws-sdk/clients/firehose.d.ts b/src/node_modules/aws-sdk/clients/firehose.d.ts deleted file mode 100644 index 643488b..0000000 --- a/src/node_modules/aws-sdk/clients/firehose.d.ts +++ /dev/null @@ -1,948 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Firehose extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Firehose.Types.ClientConfiguration) - config: Config & Firehose.Types.ClientConfiguration; - /** - * Creates a delivery stream. By default, you can create up to 20 delivery streams per region. This is an asynchronous operation that immediately returns. The initial status of the delivery stream is CREATING. After the delivery stream is created, its status is ACTIVE and it now accepts data. Attempts to send data to a delivery stream that is not in the ACTIVE state cause an exception. To check the state of a delivery stream, use DescribeDeliveryStream. A delivery stream is configured with a single destination: Amazon S3, Amazon Elasticsearch Service, or Amazon Redshift. You must specify only one of the following destination configuration parameters: ExtendedS3DestinationConfiguration, S3DestinationConfiguration, ElasticsearchDestinationConfiguration, or RedshiftDestinationConfiguration. When you specify S3DestinationConfiguration, you can also provide the following optional values: BufferingHints, EncryptionConfiguration, and CompressionFormat. By default, if no BufferingHints value is provided, Firehose buffers data up to 5 MB or for 5 minutes, whichever condition is satisfied first. Note that BufferingHints is a hint, so there are some cases where the service cannot adhere to these conditions strictly; for example, record boundaries are such that the size is a little over or under the configured buffering size. By default, no encryption is performed. We strongly recommend that you enable encryption to ensure secure data storage in Amazon S3. A few notes about Amazon Redshift as a destination: An Amazon Redshift destination requires an S3 bucket as intermediate location, as Firehose first delivers data to S3 and then uses COPY syntax to load data into an Amazon Redshift table. This is specified in the RedshiftDestinationConfiguration.S3Configuration parameter. The compression formats SNAPPY or ZIP cannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon Redshift COPY operation that reads from the S3 bucket doesn't support these compression formats. We strongly recommend that you use the user name and password you provide exclusively with Firehose, and that the permissions for the account are restricted for Amazon Redshift INSERT permissions. Firehose assumes the IAM role that is configured as part of the destination. The role should allow the Firehose principal to assume the role, and the role should have permissions that allows the service to deliver the data. For more information, see Amazon S3 Bucket Access in the Amazon Kinesis Firehose Developer Guide. - */ - createDeliveryStream(params: Firehose.Types.CreateDeliveryStreamInput, callback?: (err: AWSError, data: Firehose.Types.CreateDeliveryStreamOutput) => void): Request; - /** - * Creates a delivery stream. By default, you can create up to 20 delivery streams per region. This is an asynchronous operation that immediately returns. The initial status of the delivery stream is CREATING. After the delivery stream is created, its status is ACTIVE and it now accepts data. Attempts to send data to a delivery stream that is not in the ACTIVE state cause an exception. To check the state of a delivery stream, use DescribeDeliveryStream. A delivery stream is configured with a single destination: Amazon S3, Amazon Elasticsearch Service, or Amazon Redshift. You must specify only one of the following destination configuration parameters: ExtendedS3DestinationConfiguration, S3DestinationConfiguration, ElasticsearchDestinationConfiguration, or RedshiftDestinationConfiguration. When you specify S3DestinationConfiguration, you can also provide the following optional values: BufferingHints, EncryptionConfiguration, and CompressionFormat. By default, if no BufferingHints value is provided, Firehose buffers data up to 5 MB or for 5 minutes, whichever condition is satisfied first. Note that BufferingHints is a hint, so there are some cases where the service cannot adhere to these conditions strictly; for example, record boundaries are such that the size is a little over or under the configured buffering size. By default, no encryption is performed. We strongly recommend that you enable encryption to ensure secure data storage in Amazon S3. A few notes about Amazon Redshift as a destination: An Amazon Redshift destination requires an S3 bucket as intermediate location, as Firehose first delivers data to S3 and then uses COPY syntax to load data into an Amazon Redshift table. This is specified in the RedshiftDestinationConfiguration.S3Configuration parameter. The compression formats SNAPPY or ZIP cannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon Redshift COPY operation that reads from the S3 bucket doesn't support these compression formats. We strongly recommend that you use the user name and password you provide exclusively with Firehose, and that the permissions for the account are restricted for Amazon Redshift INSERT permissions. Firehose assumes the IAM role that is configured as part of the destination. The role should allow the Firehose principal to assume the role, and the role should have permissions that allows the service to deliver the data. For more information, see Amazon S3 Bucket Access in the Amazon Kinesis Firehose Developer Guide. - */ - createDeliveryStream(callback?: (err: AWSError, data: Firehose.Types.CreateDeliveryStreamOutput) => void): Request; - /** - * Deletes a delivery stream and its data. You can delete a delivery stream only if it is in ACTIVE or DELETING state, and not in the CREATING state. While the deletion request is in process, the delivery stream is in the DELETING state. To check the state of a delivery stream, use DescribeDeliveryStream. While the delivery stream is DELETING state, the service may continue to accept the records, but the service doesn't make any guarantees with respect to delivering the data. Therefore, as a best practice, you should first stop any applications that are sending records before deleting a delivery stream. - */ - deleteDeliveryStream(params: Firehose.Types.DeleteDeliveryStreamInput, callback?: (err: AWSError, data: Firehose.Types.DeleteDeliveryStreamOutput) => void): Request; - /** - * Deletes a delivery stream and its data. You can delete a delivery stream only if it is in ACTIVE or DELETING state, and not in the CREATING state. While the deletion request is in process, the delivery stream is in the DELETING state. To check the state of a delivery stream, use DescribeDeliveryStream. While the delivery stream is DELETING state, the service may continue to accept the records, but the service doesn't make any guarantees with respect to delivering the data. Therefore, as a best practice, you should first stop any applications that are sending records before deleting a delivery stream. - */ - deleteDeliveryStream(callback?: (err: AWSError, data: Firehose.Types.DeleteDeliveryStreamOutput) => void): Request; - /** - * Describes the specified delivery stream and gets the status. For example, after your delivery stream is created, call DescribeDeliveryStream to see if the delivery stream is ACTIVE and therefore ready for data to be sent to it. - */ - describeDeliveryStream(params: Firehose.Types.DescribeDeliveryStreamInput, callback?: (err: AWSError, data: Firehose.Types.DescribeDeliveryStreamOutput) => void): Request; - /** - * Describes the specified delivery stream and gets the status. For example, after your delivery stream is created, call DescribeDeliveryStream to see if the delivery stream is ACTIVE and therefore ready for data to be sent to it. - */ - describeDeliveryStream(callback?: (err: AWSError, data: Firehose.Types.DescribeDeliveryStreamOutput) => void): Request; - /** - * Lists your delivery streams. The number of delivery streams might be too large to return using a single call to ListDeliveryStreams. You can limit the number of delivery streams returned, using the Limit parameter. To determine whether there are more delivery streams to list, check the value of HasMoreDeliveryStreams in the output. If there are more delivery streams to list, you can request them by specifying the name of the last delivery stream returned in the call in the ExclusiveStartDeliveryStreamName parameter of a subsequent call. - */ - listDeliveryStreams(params: Firehose.Types.ListDeliveryStreamsInput, callback?: (err: AWSError, data: Firehose.Types.ListDeliveryStreamsOutput) => void): Request; - /** - * Lists your delivery streams. The number of delivery streams might be too large to return using a single call to ListDeliveryStreams. You can limit the number of delivery streams returned, using the Limit parameter. To determine whether there are more delivery streams to list, check the value of HasMoreDeliveryStreams in the output. If there are more delivery streams to list, you can request them by specifying the name of the last delivery stream returned in the call in the ExclusiveStartDeliveryStreamName parameter of a subsequent call. - */ - listDeliveryStreams(callback?: (err: AWSError, data: Firehose.Types.ListDeliveryStreamsOutput) => void): Request; - /** - * Writes a single data record into an Amazon Kinesis Firehose delivery stream. To write multiple data records into a delivery stream, use PutRecordBatch. Applications using these operations are referred to as producers. By default, each delivery stream can take in up to 2,000 transactions per second, 5,000 records per second, or 5 MB per second. Note that if you use PutRecord and PutRecordBatch, the limits are an aggregate across these two operations for each delivery stream. For more information about limits and how to request an increase, see Amazon Kinesis Firehose Limits. You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KB in size, and any kind of data, for example, a segment from a log file, geographic location data, web site clickstream data, etc. Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n) or some other character unique within the data. This allows the consumer application(s) to parse individual data items when reading the data from the destination. The PutRecord operation returns a RecordId, which is a unique string assigned to each record. Producer applications can use this ID for purposes such as auditability and investigation. If the PutRecord operation throws a ServiceUnavailableException, back off and retry. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream. Data records sent to Firehose are stored for 24 hours from the time they are added to a delivery stream as it attempts to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available. - */ - putRecord(params: Firehose.Types.PutRecordInput, callback?: (err: AWSError, data: Firehose.Types.PutRecordOutput) => void): Request; - /** - * Writes a single data record into an Amazon Kinesis Firehose delivery stream. To write multiple data records into a delivery stream, use PutRecordBatch. Applications using these operations are referred to as producers. By default, each delivery stream can take in up to 2,000 transactions per second, 5,000 records per second, or 5 MB per second. Note that if you use PutRecord and PutRecordBatch, the limits are an aggregate across these two operations for each delivery stream. For more information about limits and how to request an increase, see Amazon Kinesis Firehose Limits. You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KB in size, and any kind of data, for example, a segment from a log file, geographic location data, web site clickstream data, etc. Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n) or some other character unique within the data. This allows the consumer application(s) to parse individual data items when reading the data from the destination. The PutRecord operation returns a RecordId, which is a unique string assigned to each record. Producer applications can use this ID for purposes such as auditability and investigation. If the PutRecord operation throws a ServiceUnavailableException, back off and retry. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream. Data records sent to Firehose are stored for 24 hours from the time they are added to a delivery stream as it attempts to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available. - */ - putRecord(callback?: (err: AWSError, data: Firehose.Types.PutRecordOutput) => void): Request; - /** - * Writes multiple data records into a delivery stream in a single call, which can achieve higher throughput per producer than when writing single records. To write single data records into a delivery stream, use PutRecord. Applications using these operations are referred to as producers. By default, each delivery stream can take in up to 2,000 transactions per second, 5,000 records per second, or 5 MB per second. Note that if you use PutRecord and PutRecordBatch, the limits are an aggregate across these two operations for each delivery stream. For more information about limits, see Amazon Kinesis Firehose Limits. Each PutRecordBatch request supports up to 500 records. Each record in the request can be as large as 1,000 KB (before 64-bit encoding), up to a limit of 4 MB for the entire request. These limits cannot be changed. You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KB in size, and any kind of data, for example, a segment from a log file, geographic location data, web site clickstream data, and so on. Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n) or some other character unique within the data. This allows the consumer application(s) to parse individual data items when reading the data from the destination. The PutRecordBatch response includes a count of failed records, FailedPutCount, and an array of responses, RequestResponses. Each entry in the RequestResponses array provides additional information about the processed record, and directly correlates with a record in the request array using the same ordering, from the top to the bottom. The response array always includes the same number of records as the request array. RequestResponses includes both successfully and unsuccessfully processed records. Firehose attempts to process all records in each PutRecordBatch request. A single record failure does not stop the processing of subsequent records. A successfully processed record includes a RecordId value, which is unique for the record. An unsuccessfully processed record includes ErrorCode and ErrorMessage values. ErrorCode reflects the type of error, and is one of the following values: ServiceUnavailable or InternalFailure. ErrorMessage provides more detailed information about the error. If there is an internal server error or a timeout, the write might have completed or it might have failed. If FailedPutCount is greater than 0, retry the request, resending only those records that might have failed processing. This minimizes the possible duplicate records and also reduces the total bytes sent (and corresponding charges). We recommend that you handle any duplicates at the destination. If PutRecordBatch throws ServiceUnavailableException, back off and retry. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream. Data records sent to Firehose are stored for 24 hours from the time they are added to a delivery stream as it attempts to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available. - */ - putRecordBatch(params: Firehose.Types.PutRecordBatchInput, callback?: (err: AWSError, data: Firehose.Types.PutRecordBatchOutput) => void): Request; - /** - * Writes multiple data records into a delivery stream in a single call, which can achieve higher throughput per producer than when writing single records. To write single data records into a delivery stream, use PutRecord. Applications using these operations are referred to as producers. By default, each delivery stream can take in up to 2,000 transactions per second, 5,000 records per second, or 5 MB per second. Note that if you use PutRecord and PutRecordBatch, the limits are an aggregate across these two operations for each delivery stream. For more information about limits, see Amazon Kinesis Firehose Limits. Each PutRecordBatch request supports up to 500 records. Each record in the request can be as large as 1,000 KB (before 64-bit encoding), up to a limit of 4 MB for the entire request. These limits cannot be changed. You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KB in size, and any kind of data, for example, a segment from a log file, geographic location data, web site clickstream data, and so on. Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n) or some other character unique within the data. This allows the consumer application(s) to parse individual data items when reading the data from the destination. The PutRecordBatch response includes a count of failed records, FailedPutCount, and an array of responses, RequestResponses. Each entry in the RequestResponses array provides additional information about the processed record, and directly correlates with a record in the request array using the same ordering, from the top to the bottom. The response array always includes the same number of records as the request array. RequestResponses includes both successfully and unsuccessfully processed records. Firehose attempts to process all records in each PutRecordBatch request. A single record failure does not stop the processing of subsequent records. A successfully processed record includes a RecordId value, which is unique for the record. An unsuccessfully processed record includes ErrorCode and ErrorMessage values. ErrorCode reflects the type of error, and is one of the following values: ServiceUnavailable or InternalFailure. ErrorMessage provides more detailed information about the error. If there is an internal server error or a timeout, the write might have completed or it might have failed. If FailedPutCount is greater than 0, retry the request, resending only those records that might have failed processing. This minimizes the possible duplicate records and also reduces the total bytes sent (and corresponding charges). We recommend that you handle any duplicates at the destination. If PutRecordBatch throws ServiceUnavailableException, back off and retry. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream. Data records sent to Firehose are stored for 24 hours from the time they are added to a delivery stream as it attempts to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available. - */ - putRecordBatch(callback?: (err: AWSError, data: Firehose.Types.PutRecordBatchOutput) => void): Request; - /** - * Updates the specified destination of the specified delivery stream. You can use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target delivery stream remains active while the configurations are updated, so data writes to the delivery stream can continue during this process. The updated configurations are usually effective within a few minutes. Note that switching between Amazon ES and other services is not supported. For an Amazon ES destination, you can only update to another Amazon ES destination. If the destination type is the same, Firehose merges the configuration parameters specified with the destination configuration that already exists on the delivery stream. If any of the parameters are not specified in the call, the existing values are retained. For example, in the Amazon S3 destination, if EncryptionConfiguration is not specified then the existing EncryptionConfiguration is maintained on the destination. If the destination type is not the same, for example, changing the destination from Amazon S3 to Amazon Redshift, Firehose does not merge any parameters. In this case, all parameters must be specified. Firehose uses CurrentDeliveryStreamVersionId to avoid race conditions and conflicting merges. This is a required field, and the service updates the configuration only if the existing configuration has a version ID that matches. After the update is applied successfully, the version ID is updated, and can be retrieved using DescribeDeliveryStream. You should use the new version ID to set CurrentDeliveryStreamVersionId in the next call. - */ - updateDestination(params: Firehose.Types.UpdateDestinationInput, callback?: (err: AWSError, data: Firehose.Types.UpdateDestinationOutput) => void): Request; - /** - * Updates the specified destination of the specified delivery stream. You can use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target delivery stream remains active while the configurations are updated, so data writes to the delivery stream can continue during this process. The updated configurations are usually effective within a few minutes. Note that switching between Amazon ES and other services is not supported. For an Amazon ES destination, you can only update to another Amazon ES destination. If the destination type is the same, Firehose merges the configuration parameters specified with the destination configuration that already exists on the delivery stream. If any of the parameters are not specified in the call, the existing values are retained. For example, in the Amazon S3 destination, if EncryptionConfiguration is not specified then the existing EncryptionConfiguration is maintained on the destination. If the destination type is not the same, for example, changing the destination from Amazon S3 to Amazon Redshift, Firehose does not merge any parameters. In this case, all parameters must be specified. Firehose uses CurrentDeliveryStreamVersionId to avoid race conditions and conflicting merges. This is a required field, and the service updates the configuration only if the existing configuration has a version ID that matches. After the update is applied successfully, the version ID is updated, and can be retrieved using DescribeDeliveryStream. You should use the new version ID to set CurrentDeliveryStreamVersionId in the next call. - */ - updateDestination(callback?: (err: AWSError, data: Firehose.Types.UpdateDestinationOutput) => void): Request; -} -declare namespace Firehose { - export type AWSKMSKeyARN = string; - export type BooleanObject = boolean; - export type BucketARN = string; - export interface BufferingHints { - /** - * Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5. We recommend setting this parameter to a value greater than the amount of data you typically ingest into the delivery stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher. - */ - SizeInMBs?: SizeInMBs; - /** - * Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300. - */ - IntervalInSeconds?: IntervalInSeconds; - } - export interface CloudWatchLoggingOptions { - /** - * Enables or disables CloudWatch logging. - */ - Enabled?: BooleanObject; - /** - * The CloudWatch group name for logging. This value is required if CloudWatch logging is enabled. - */ - LogGroupName?: LogGroupName; - /** - * The CloudWatch log stream name for logging. This value is required if CloudWatch logging is enabled. - */ - LogStreamName?: LogStreamName; - } - export type ClusterJDBCURL = string; - export type CompressionFormat = "UNCOMPRESSED"|"GZIP"|"ZIP"|"Snappy"|string; - export interface CopyCommand { - /** - * The name of the target table. The table must already exist in the database. - */ - DataTableName: DataTableName; - /** - * A comma-separated list of column names. - */ - DataTableColumns?: DataTableColumns; - /** - * Optional parameters to use with the Amazon Redshift COPY command. For more information, see the "Optional Parameters" section of Amazon Redshift COPY command. Some possible examples that would apply to Firehose are as follows: delimiter '\t' lzop; - fields are delimited with "\t" (TAB character) and compressed using lzop. delimiter '| - fields are delimited with "|" (this is the default delimiter). delimiter '|' escape - the delimiter should be escaped. fixedwidth 'venueid:3,venuename:25,venuecity:12,venuestate:2,venueseats:6' - fields are fixed width in the source, with each width specified after every column in the table. JSON 's3://mybucket/jsonpaths.txt' - data is in JSON format, and the path specified is the format of the data. For more examples, see Amazon Redshift COPY command examples. - */ - CopyOptions?: CopyOptions; - } - export type CopyOptions = string; - export interface CreateDeliveryStreamInput { - /** - * The name of the delivery stream. This name must be unique per AWS account in the same region. You can have multiple delivery streams with the same name if they are in different accounts or different regions. - */ - DeliveryStreamName: DeliveryStreamName; - /** - * [Deprecated] The destination in Amazon S3. You can specify only one destination. - */ - S3DestinationConfiguration?: S3DestinationConfiguration; - /** - * The destination in Amazon S3. You can specify only one destination. - */ - ExtendedS3DestinationConfiguration?: ExtendedS3DestinationConfiguration; - /** - * The destination in Amazon Redshift. You can specify only one destination. - */ - RedshiftDestinationConfiguration?: RedshiftDestinationConfiguration; - /** - * The destination in Amazon ES. You can specify only one destination. - */ - ElasticsearchDestinationConfiguration?: ElasticsearchDestinationConfiguration; - } - export interface CreateDeliveryStreamOutput { - /** - * The ARN of the delivery stream. - */ - DeliveryStreamARN?: DeliveryStreamARN; - } - export type Data = Buffer|Uint8Array|Blob|string; - export type DataTableColumns = string; - export type DataTableName = string; - export interface DeleteDeliveryStreamInput { - /** - * The name of the delivery stream. - */ - DeliveryStreamName: DeliveryStreamName; - } - export interface DeleteDeliveryStreamOutput { - } - export type DeliveryStreamARN = string; - export interface DeliveryStreamDescription { - /** - * The name of the delivery stream. - */ - DeliveryStreamName: DeliveryStreamName; - /** - * The Amazon Resource Name (ARN) of the delivery stream. - */ - DeliveryStreamARN: DeliveryStreamARN; - /** - * The status of the delivery stream. - */ - DeliveryStreamStatus: DeliveryStreamStatus; - /** - * Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID is required when updating the destination. This is so that the service knows it is applying the changes to the correct version of the delivery stream. - */ - VersionId: DeliveryStreamVersionId; - /** - * The date and time that the delivery stream was created. - */ - CreateTimestamp?: Timestamp; - /** - * The date and time that the delivery stream was last updated. - */ - LastUpdateTimestamp?: Timestamp; - /** - * The destinations. - */ - Destinations: DestinationDescriptionList; - /** - * Indicates whether there are more destinations available to list. - */ - HasMoreDestinations: BooleanObject; - } - export type DeliveryStreamName = string; - export type DeliveryStreamNameList = DeliveryStreamName[]; - export type DeliveryStreamStatus = "CREATING"|"DELETING"|"ACTIVE"|string; - export type DeliveryStreamVersionId = string; - export interface DescribeDeliveryStreamInput { - /** - * The name of the delivery stream. - */ - DeliveryStreamName: DeliveryStreamName; - /** - * The limit on the number of destinations to return. Currently, you can have one destination per delivery stream. - */ - Limit?: DescribeDeliveryStreamInputLimit; - /** - * The ID of the destination to start returning the destination information. Currently Firehose supports one destination per delivery stream. - */ - ExclusiveStartDestinationId?: DestinationId; - } - export type DescribeDeliveryStreamInputLimit = number; - export interface DescribeDeliveryStreamOutput { - /** - * Information about the delivery stream. - */ - DeliveryStreamDescription: DeliveryStreamDescription; - } - export interface DestinationDescription { - /** - * The ID of the destination. - */ - DestinationId: DestinationId; - /** - * [Deprecated] The destination in Amazon S3. - */ - S3DestinationDescription?: S3DestinationDescription; - /** - * The destination in Amazon S3. - */ - ExtendedS3DestinationDescription?: ExtendedS3DestinationDescription; - /** - * The destination in Amazon Redshift. - */ - RedshiftDestinationDescription?: RedshiftDestinationDescription; - /** - * The destination in Amazon ES. - */ - ElasticsearchDestinationDescription?: ElasticsearchDestinationDescription; - } - export type DestinationDescriptionList = DestinationDescription[]; - export type DestinationId = string; - export interface ElasticsearchBufferingHints { - /** - * Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes). - */ - IntervalInSeconds?: ElasticsearchBufferingIntervalInSeconds; - /** - * Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5. We recommend setting this parameter to a value greater than the amount of data you typically ingest into the delivery stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher. - */ - SizeInMBs?: ElasticsearchBufferingSizeInMBs; - } - export type ElasticsearchBufferingIntervalInSeconds = number; - export type ElasticsearchBufferingSizeInMBs = number; - export interface ElasticsearchDestinationConfiguration { - /** - * The ARN of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Amazon S3 Bucket Access. - */ - RoleARN: RoleARN; - /** - * The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeElasticsearchDomain, DescribeElasticsearchDomains, and DescribeElasticsearchDomainConfig after assuming the role specified in RoleARN. - */ - DomainARN: ElasticsearchDomainARN; - /** - * The Elasticsearch index name. - */ - IndexName: ElasticsearchIndexName; - /** - * The Elasticsearch type name. - */ - TypeName: ElasticsearchTypeName; - /** - * The Elasticsearch index rotation period. Index rotation appends a timestamp to the IndexName to facilitate expiration of old data. For more information, see Index Rotation for Amazon Elasticsearch Service Destination. The default value is OneDay. - */ - IndexRotationPeriod?: ElasticsearchIndexRotationPeriod; - /** - * The buffering options. If no value is specified, the default values for ElasticsearchBufferingHints are used. - */ - BufferingHints?: ElasticsearchBufferingHints; - /** - * The retry behavior in the event that Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes). - */ - RetryOptions?: ElasticsearchRetryOptions; - /** - * Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with elasticsearch-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with elasticsearch-failed/ appended to the prefix. For more information, see Amazon S3 Backup for Amazon Elasticsearch Service Destination. Default value is FailedDocumentsOnly. - */ - S3BackupMode?: ElasticsearchS3BackupMode; - /** - * The configuration for the intermediate Amazon S3 location from which Amazon ES obtains data. - */ - S3Configuration: S3DestinationConfiguration; - /** - * The data processing configuration. - */ - ProcessingConfiguration?: ProcessingConfiguration; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - } - export interface ElasticsearchDestinationDescription { - /** - * The ARN of the AWS credentials. - */ - RoleARN?: RoleARN; - /** - * The ARN of the Amazon ES domain. - */ - DomainARN?: ElasticsearchDomainARN; - /** - * The Elasticsearch index name. - */ - IndexName?: ElasticsearchIndexName; - /** - * The Elasticsearch type name. - */ - TypeName?: ElasticsearchTypeName; - /** - * The Elasticsearch index rotation period - */ - IndexRotationPeriod?: ElasticsearchIndexRotationPeriod; - /** - * The buffering options. - */ - BufferingHints?: ElasticsearchBufferingHints; - /** - * The Amazon ES retry options. - */ - RetryOptions?: ElasticsearchRetryOptions; - /** - * The Amazon S3 backup mode. - */ - S3BackupMode?: ElasticsearchS3BackupMode; - /** - * The Amazon S3 destination. - */ - S3DestinationDescription?: S3DestinationDescription; - /** - * The data processing configuration. - */ - ProcessingConfiguration?: ProcessingConfiguration; - /** - * The CloudWatch logging options. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - } - export interface ElasticsearchDestinationUpdate { - /** - * The ARN of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Amazon S3 Bucket Access. - */ - RoleARN?: RoleARN; - /** - * The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeElasticsearchDomain, DescribeElasticsearchDomains, and DescribeElasticsearchDomainConfig after assuming the IAM role specified in RoleARN. - */ - DomainARN?: ElasticsearchDomainARN; - /** - * The Elasticsearch index name. - */ - IndexName?: ElasticsearchIndexName; - /** - * The Elasticsearch type name. - */ - TypeName?: ElasticsearchTypeName; - /** - * The Elasticsearch index rotation period. Index rotation appends a timestamp to IndexName to facilitate the expiration of old data. For more information, see Index Rotation for Amazon Elasticsearch Service Destination. Default value is OneDay. - */ - IndexRotationPeriod?: ElasticsearchIndexRotationPeriod; - /** - * The buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used. - */ - BufferingHints?: ElasticsearchBufferingHints; - /** - * The retry behavior in the event that Firehose is unable to deliver documents to Amazon ES. Default value is 300 (5 minutes). - */ - RetryOptions?: ElasticsearchRetryOptions; - /** - * The Amazon S3 destination. - */ - S3Update?: S3DestinationUpdate; - /** - * The data processing configuration. - */ - ProcessingConfiguration?: ProcessingConfiguration; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - } - export type ElasticsearchDomainARN = string; - export type ElasticsearchIndexName = string; - export type ElasticsearchIndexRotationPeriod = "NoRotation"|"OneHour"|"OneDay"|"OneWeek"|"OneMonth"|string; - export type ElasticsearchRetryDurationInSeconds = number; - export interface ElasticsearchRetryOptions { - /** - * After an initial failure to deliver to Amazon ES, the total amount of time during which Firehose re-attempts delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries. - */ - DurationInSeconds?: ElasticsearchRetryDurationInSeconds; - } - export type ElasticsearchS3BackupMode = "FailedDocumentsOnly"|"AllDocuments"|string; - export type ElasticsearchTypeName = string; - export interface EncryptionConfiguration { - /** - * Specifically override existing encryption information to ensure no encryption is used. - */ - NoEncryptionConfig?: NoEncryptionConfig; - /** - * The encryption key. - */ - KMSEncryptionConfig?: KMSEncryptionConfig; - } - export type ErrorCode = string; - export type ErrorMessage = string; - export interface ExtendedS3DestinationConfiguration { - /** - * The ARN of the AWS credentials. - */ - RoleARN: RoleARN; - /** - * The ARN of the S3 bucket. - */ - BucketARN: BucketARN; - /** - * The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide. - */ - Prefix?: Prefix; - /** - * The buffering option. - */ - BufferingHints?: BufferingHints; - /** - * The compression format. If no value is specified, the default is UNCOMPRESSED. - */ - CompressionFormat?: CompressionFormat; - /** - * The encryption configuration. If no value is specified, the default is no encryption. - */ - EncryptionConfiguration?: EncryptionConfiguration; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - /** - * The data processing configuration. - */ - ProcessingConfiguration?: ProcessingConfiguration; - /** - * The Amazon S3 backup mode. - */ - S3BackupMode?: S3BackupMode; - /** - * The configuration for backup in Amazon S3. - */ - S3BackupConfiguration?: S3DestinationConfiguration; - } - export interface ExtendedS3DestinationDescription { - /** - * The ARN of the AWS credentials. - */ - RoleARN: RoleARN; - /** - * The ARN of the S3 bucket. - */ - BucketARN: BucketARN; - /** - * The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide. - */ - Prefix?: Prefix; - /** - * The buffering option. - */ - BufferingHints: BufferingHints; - /** - * The compression format. If no value is specified, the default is UNCOMPRESSED. - */ - CompressionFormat: CompressionFormat; - /** - * The encryption configuration. If no value is specified, the default is no encryption. - */ - EncryptionConfiguration: EncryptionConfiguration; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - /** - * The data processing configuration. - */ - ProcessingConfiguration?: ProcessingConfiguration; - /** - * The Amazon S3 backup mode. - */ - S3BackupMode?: S3BackupMode; - /** - * The configuration for backup in Amazon S3. - */ - S3BackupDescription?: S3DestinationDescription; - } - export interface ExtendedS3DestinationUpdate { - /** - * The ARN of the AWS credentials. - */ - RoleARN?: RoleARN; - /** - * The ARN of the S3 bucket. - */ - BucketARN?: BucketARN; - /** - * The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide. - */ - Prefix?: Prefix; - /** - * The buffering option. - */ - BufferingHints?: BufferingHints; - /** - * The compression format. If no value is specified, the default is UNCOMPRESSED. - */ - CompressionFormat?: CompressionFormat; - /** - * The encryption configuration. If no value is specified, the default is no encryption. - */ - EncryptionConfiguration?: EncryptionConfiguration; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - /** - * The data processing configuration. - */ - ProcessingConfiguration?: ProcessingConfiguration; - /** - * Enables or disables Amazon S3 backup mode. - */ - S3BackupMode?: S3BackupMode; - /** - * The Amazon S3 destination for backup. - */ - S3BackupUpdate?: S3DestinationUpdate; - } - export type IntervalInSeconds = number; - export interface KMSEncryptionConfig { - /** - * The ARN of the encryption key. Must belong to the same region as the destination Amazon S3 bucket. - */ - AWSKMSKeyARN: AWSKMSKeyARN; - } - export interface ListDeliveryStreamsInput { - /** - * The maximum number of delivery streams to list. - */ - Limit?: ListDeliveryStreamsInputLimit; - /** - * The name of the delivery stream to start the list with. - */ - ExclusiveStartDeliveryStreamName?: DeliveryStreamName; - } - export type ListDeliveryStreamsInputLimit = number; - export interface ListDeliveryStreamsOutput { - /** - * The names of the delivery streams. - */ - DeliveryStreamNames: DeliveryStreamNameList; - /** - * Indicates whether there are more delivery streams available to list. - */ - HasMoreDeliveryStreams: BooleanObject; - } - export type LogGroupName = string; - export type LogStreamName = string; - export type NoEncryptionConfig = "NoEncryption"|string; - export type NonNegativeIntegerObject = number; - export type Password = string; - export type Prefix = string; - export interface ProcessingConfiguration { - /** - * Enables or disables data processing. - */ - Enabled?: BooleanObject; - /** - * The data processors. - */ - Processors?: ProcessorList; - } - export interface Processor { - /** - * The type of processor. - */ - Type: ProcessorType; - /** - * The processor parameters. - */ - Parameters?: ProcessorParameterList; - } - export type ProcessorList = Processor[]; - export interface ProcessorParameter { - /** - * The name of the parameter. - */ - ParameterName: ProcessorParameterName; - /** - * The parameter value. - */ - ParameterValue: ProcessorParameterValue; - } - export type ProcessorParameterList = ProcessorParameter[]; - export type ProcessorParameterName = "LambdaArn"|"NumberOfRetries"|string; - export type ProcessorParameterValue = string; - export type ProcessorType = "Lambda"|string; - export interface PutRecordBatchInput { - /** - * The name of the delivery stream. - */ - DeliveryStreamName: DeliveryStreamName; - /** - * One or more records. - */ - Records: PutRecordBatchRequestEntryList; - } - export interface PutRecordBatchOutput { - /** - * The number of records that might have failed processing. - */ - FailedPutCount: NonNegativeIntegerObject; - /** - * The results array. For each record, the index of the response element is the same as the index used in the request array. - */ - RequestResponses: PutRecordBatchResponseEntryList; - } - export type PutRecordBatchRequestEntryList = Record[]; - export interface PutRecordBatchResponseEntry { - /** - * The ID of the record. - */ - RecordId?: PutResponseRecordId; - /** - * The error code for an individual record result. - */ - ErrorCode?: ErrorCode; - /** - * The error message for an individual record result. - */ - ErrorMessage?: ErrorMessage; - } - export type PutRecordBatchResponseEntryList = PutRecordBatchResponseEntry[]; - export interface PutRecordInput { - /** - * The name of the delivery stream. - */ - DeliveryStreamName: DeliveryStreamName; - /** - * The record. - */ - Record: Record; - } - export interface PutRecordOutput { - /** - * The ID of the record. - */ - RecordId: PutResponseRecordId; - } - export type PutResponseRecordId = string; - export interface Record { - /** - * The data blob, which is base64-encoded when the blob is serialized. The maximum size of the data blob, before base64-encoding, is 1,000 KB. - */ - Data: Data; - } - export interface RedshiftDestinationConfiguration { - /** - * The ARN of the AWS credentials. - */ - RoleARN: RoleARN; - /** - * The database connection string. - */ - ClusterJDBCURL: ClusterJDBCURL; - /** - * The COPY command. - */ - CopyCommand: CopyCommand; - /** - * The name of the user. - */ - Username: Username; - /** - * The user password. - */ - Password: Password; - /** - * The retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes). - */ - RetryOptions?: RedshiftRetryOptions; - /** - * The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream. The compression formats SNAPPY or ZIP cannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon Redshift COPY operation that reads from the S3 bucket doesn't support these compression formats. - */ - S3Configuration: S3DestinationConfiguration; - /** - * The data processing configuration. - */ - ProcessingConfiguration?: ProcessingConfiguration; - /** - * The Amazon S3 backup mode. - */ - S3BackupMode?: RedshiftS3BackupMode; - /** - * The configuration for backup in Amazon S3. - */ - S3BackupConfiguration?: S3DestinationConfiguration; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - } - export interface RedshiftDestinationDescription { - /** - * The ARN of the AWS credentials. - */ - RoleARN: RoleARN; - /** - * The database connection string. - */ - ClusterJDBCURL: ClusterJDBCURL; - /** - * The COPY command. - */ - CopyCommand: CopyCommand; - /** - * The name of the user. - */ - Username: Username; - /** - * The retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes). - */ - RetryOptions?: RedshiftRetryOptions; - /** - * The Amazon S3 destination. - */ - S3DestinationDescription: S3DestinationDescription; - /** - * The data processing configuration. - */ - ProcessingConfiguration?: ProcessingConfiguration; - /** - * The Amazon S3 backup mode. - */ - S3BackupMode?: RedshiftS3BackupMode; - /** - * The configuration for backup in Amazon S3. - */ - S3BackupDescription?: S3DestinationDescription; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - } - export interface RedshiftDestinationUpdate { - /** - * The ARN of the AWS credentials. - */ - RoleARN?: RoleARN; - /** - * The database connection string. - */ - ClusterJDBCURL?: ClusterJDBCURL; - /** - * The COPY command. - */ - CopyCommand?: CopyCommand; - /** - * The name of the user. - */ - Username?: Username; - /** - * The user password. - */ - Password?: Password; - /** - * The retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes). - */ - RetryOptions?: RedshiftRetryOptions; - /** - * The Amazon S3 destination. The compression formats SNAPPY or ZIP cannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon Redshift COPY operation that reads from the S3 bucket doesn't support these compression formats. - */ - S3Update?: S3DestinationUpdate; - /** - * The data processing configuration. - */ - ProcessingConfiguration?: ProcessingConfiguration; - /** - * The Amazon S3 backup mode. - */ - S3BackupMode?: RedshiftS3BackupMode; - /** - * The Amazon S3 destination for backup. - */ - S3BackupUpdate?: S3DestinationUpdate; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - } - export type RedshiftRetryDurationInSeconds = number; - export interface RedshiftRetryOptions { - /** - * The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. - */ - DurationInSeconds?: RedshiftRetryDurationInSeconds; - } - export type RedshiftS3BackupMode = "Disabled"|"Enabled"|string; - export type RoleARN = string; - export type S3BackupMode = "Disabled"|"Enabled"|string; - export interface S3DestinationConfiguration { - /** - * The ARN of the AWS credentials. - */ - RoleARN: RoleARN; - /** - * The ARN of the S3 bucket. - */ - BucketARN: BucketARN; - /** - * The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide. - */ - Prefix?: Prefix; - /** - * The buffering option. If no value is specified, BufferingHints object default values are used. - */ - BufferingHints?: BufferingHints; - /** - * The compression format. If no value is specified, the default is UNCOMPRESSED. The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket. - */ - CompressionFormat?: CompressionFormat; - /** - * The encryption configuration. If no value is specified, the default is no encryption. - */ - EncryptionConfiguration?: EncryptionConfiguration; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - } - export interface S3DestinationDescription { - /** - * The ARN of the AWS credentials. - */ - RoleARN: RoleARN; - /** - * The ARN of the S3 bucket. - */ - BucketARN: BucketARN; - /** - * The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide. - */ - Prefix?: Prefix; - /** - * The buffering option. If no value is specified, BufferingHints object default values are used. - */ - BufferingHints: BufferingHints; - /** - * The compression format. If no value is specified, the default is UNCOMPRESSED. - */ - CompressionFormat: CompressionFormat; - /** - * The encryption configuration. If no value is specified, the default is no encryption. - */ - EncryptionConfiguration: EncryptionConfiguration; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - } - export interface S3DestinationUpdate { - /** - * The ARN of the AWS credentials. - */ - RoleARN?: RoleARN; - /** - * The ARN of the S3 bucket. - */ - BucketARN?: BucketARN; - /** - * The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide. - */ - Prefix?: Prefix; - /** - * The buffering option. If no value is specified, BufferingHints object default values are used. - */ - BufferingHints?: BufferingHints; - /** - * The compression format. If no value is specified, the default is UNCOMPRESSED. The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket. - */ - CompressionFormat?: CompressionFormat; - /** - * The encryption configuration. If no value is specified, the default is no encryption. - */ - EncryptionConfiguration?: EncryptionConfiguration; - /** - * The CloudWatch logging options for your delivery stream. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - } - export type SizeInMBs = number; - export type Timestamp = Date; - export interface UpdateDestinationInput { - /** - * The name of the delivery stream. - */ - DeliveryStreamName: DeliveryStreamName; - /** - * Obtain this value from the VersionId result of DeliveryStreamDescription. This value is required, and helps the service to perform conditional operations. For example, if there is a interleaving update and this value is null, then the update destination fails. After the update is successful, the VersionId value is updated. The service then performs a merge of the old configuration with the new configuration. - */ - CurrentDeliveryStreamVersionId: DeliveryStreamVersionId; - /** - * The ID of the destination. - */ - DestinationId: DestinationId; - /** - * [Deprecated] Describes an update for a destination in Amazon S3. - */ - S3DestinationUpdate?: S3DestinationUpdate; - /** - * Describes an update for a destination in Amazon S3. - */ - ExtendedS3DestinationUpdate?: ExtendedS3DestinationUpdate; - /** - * Describes an update for a destination in Amazon Redshift. - */ - RedshiftDestinationUpdate?: RedshiftDestinationUpdate; - /** - * Describes an update for a destination in Amazon ES. - */ - ElasticsearchDestinationUpdate?: ElasticsearchDestinationUpdate; - } - export interface UpdateDestinationOutput { - } - export type Username = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-08-04"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Firehose client. - */ - export import Types = Firehose; -} -export = Firehose; diff --git a/src/node_modules/aws-sdk/clients/firehose.js b/src/node_modules/aws-sdk/clients/firehose.js deleted file mode 100644 index 2327a61..0000000 --- a/src/node_modules/aws-sdk/clients/firehose.js +++ /dev/null @@ -1,17 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['firehose'] = {}; -AWS.Firehose = Service.defineService('firehose', ['2015-08-04']); -Object.defineProperty(apiLoader.services['firehose'], '2015-08-04', { - get: function get() { - var model = require('../apis/firehose-2015-08-04.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Firehose; diff --git a/src/node_modules/aws-sdk/clients/gamelift.d.ts b/src/node_modules/aws-sdk/clients/gamelift.d.ts deleted file mode 100644 index ed7c888..0000000 --- a/src/node_modules/aws-sdk/clients/gamelift.d.ts +++ /dev/null @@ -1,2212 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class GameLift extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: GameLift.Types.ClientConfiguration) - config: Config & GameLift.Types.ClientConfiguration; - /** - * Creates an alias for a fleet. In most situations, you can use an alias ID in place of a fleet ID. By using a fleet alias instead of a specific fleet ID, you can switch gameplay and players to a new fleet without changing your game client or other game components. For example, for games in production, using an alias allows you to seamlessly redirect your player base to a new game server update. Amazon GameLift supports two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias is used to display messaging or link to a URL instead of routing players to an active fleet. For example, you might use a terminal alias when a game version is no longer supported and you want to direct players to an upgrade site. To create a fleet alias, specify an alias name, routing strategy, and optional description. Each simple alias can point to only one fleet, but a fleet can have multiple aliases. If successful, a new alias record is returned, including an alias ID, which you can reference when creating a game session. You can reassign an alias to another fleet by calling UpdateAlias. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - createAlias(params: GameLift.Types.CreateAliasInput, callback?: (err: AWSError, data: GameLift.Types.CreateAliasOutput) => void): Request; - /** - * Creates an alias for a fleet. In most situations, you can use an alias ID in place of a fleet ID. By using a fleet alias instead of a specific fleet ID, you can switch gameplay and players to a new fleet without changing your game client or other game components. For example, for games in production, using an alias allows you to seamlessly redirect your player base to a new game server update. Amazon GameLift supports two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias is used to display messaging or link to a URL instead of routing players to an active fleet. For example, you might use a terminal alias when a game version is no longer supported and you want to direct players to an upgrade site. To create a fleet alias, specify an alias name, routing strategy, and optional description. Each simple alias can point to only one fleet, but a fleet can have multiple aliases. If successful, a new alias record is returned, including an alias ID, which you can reference when creating a game session. You can reassign an alias to another fleet by calling UpdateAlias. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - createAlias(callback?: (err: AWSError, data: GameLift.Types.CreateAliasOutput) => void): Request; - /** - * Creates a new Amazon GameLift build from a set of game server binary files stored in an Amazon Simple Storage Service (Amazon S3) location. To use this API call, create a .zip file containing all of the files for the build and store it in an Amazon S3 bucket under your AWS account. For help on packaging your build files and creating a build, see Uploading Your Game to Amazon GameLift. Use this API action ONLY if you are storing your game build files in an Amazon S3 bucket. To create a build using files stored locally, use the CLI command upload-build , which uploads the build files from a file location you specify. To create a new build using CreateBuild, identify the storage location and operating system of your game build. You also have the option of specifying a build name and version. If successful, this action creates a new build record with an unique build ID and in INITIALIZED status. Use the API call DescribeBuild to check the status of your build. A build must be in READY status before it can be used to create fleets to host your game. Build-related operations include: CreateBuild ListBuilds DescribeBuild UpdateBuild DeleteBuild - */ - createBuild(params: GameLift.Types.CreateBuildInput, callback?: (err: AWSError, data: GameLift.Types.CreateBuildOutput) => void): Request; - /** - * Creates a new Amazon GameLift build from a set of game server binary files stored in an Amazon Simple Storage Service (Amazon S3) location. To use this API call, create a .zip file containing all of the files for the build and store it in an Amazon S3 bucket under your AWS account. For help on packaging your build files and creating a build, see Uploading Your Game to Amazon GameLift. Use this API action ONLY if you are storing your game build files in an Amazon S3 bucket. To create a build using files stored locally, use the CLI command upload-build , which uploads the build files from a file location you specify. To create a new build using CreateBuild, identify the storage location and operating system of your game build. You also have the option of specifying a build name and version. If successful, this action creates a new build record with an unique build ID and in INITIALIZED status. Use the API call DescribeBuild to check the status of your build. A build must be in READY status before it can be used to create fleets to host your game. Build-related operations include: CreateBuild ListBuilds DescribeBuild UpdateBuild DeleteBuild - */ - createBuild(callback?: (err: AWSError, data: GameLift.Types.CreateBuildOutput) => void): Request; - /** - * Creates a new fleet to run your game servers. A fleet is a set of Amazon Elastic Compute Cloud (Amazon EC2) instances, each of which can run multiple server processes to host game sessions. You configure a fleet to create instances with certain hardware specifications (see Amazon EC2 Instance Types for more information), and deploy a specified game build to each instance. A newly created fleet passes through several statuses; once it reaches the ACTIVE status, it can begin hosting game sessions. To create a new fleet, you must specify the following: (1) fleet name, (2) build ID of an uploaded game build, (3) an EC2 instance type, and (4) a run-time configuration that describes which server processes to run on each instance in the fleet. (Although the run-time configuration is not a required parameter, the fleet cannot be successfully activated without it.) You can also configure the new fleet with the following settings: Fleet description Access permissions for inbound traffic Fleetwide game session protection Resource creation limit If you use Amazon CloudWatch for metrics, you can add the new fleet to a metric group. This allows you to view aggregated metrics for a set of fleets. Once you specify a metric group, the new fleet's metrics are included in the metric group's data. If the CreateFleet call is successful, Amazon GameLift performs the following tasks: Creates a fleet record and sets the status to NEW (followed by other statuses as the fleet is activated). Sets the fleet's target capacity to 1 (desired instances), which causes Amazon GameLift to start one new EC2 instance. Starts launching server processes on the instance. If the fleet is configured to run multiple server processes per instance, Amazon GameLift staggers each launch by a few seconds. Begins writing events to the fleet event log, which can be accessed in the Amazon GameLift console. Sets the fleet's status to ACTIVE as soon as one server process in the fleet is ready to host a game session. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - createFleet(params: GameLift.Types.CreateFleetInput, callback?: (err: AWSError, data: GameLift.Types.CreateFleetOutput) => void): Request; - /** - * Creates a new fleet to run your game servers. A fleet is a set of Amazon Elastic Compute Cloud (Amazon EC2) instances, each of which can run multiple server processes to host game sessions. You configure a fleet to create instances with certain hardware specifications (see Amazon EC2 Instance Types for more information), and deploy a specified game build to each instance. A newly created fleet passes through several statuses; once it reaches the ACTIVE status, it can begin hosting game sessions. To create a new fleet, you must specify the following: (1) fleet name, (2) build ID of an uploaded game build, (3) an EC2 instance type, and (4) a run-time configuration that describes which server processes to run on each instance in the fleet. (Although the run-time configuration is not a required parameter, the fleet cannot be successfully activated without it.) You can also configure the new fleet with the following settings: Fleet description Access permissions for inbound traffic Fleetwide game session protection Resource creation limit If you use Amazon CloudWatch for metrics, you can add the new fleet to a metric group. This allows you to view aggregated metrics for a set of fleets. Once you specify a metric group, the new fleet's metrics are included in the metric group's data. If the CreateFleet call is successful, Amazon GameLift performs the following tasks: Creates a fleet record and sets the status to NEW (followed by other statuses as the fleet is activated). Sets the fleet's target capacity to 1 (desired instances), which causes Amazon GameLift to start one new EC2 instance. Starts launching server processes on the instance. If the fleet is configured to run multiple server processes per instance, Amazon GameLift staggers each launch by a few seconds. Begins writing events to the fleet event log, which can be accessed in the Amazon GameLift console. Sets the fleet's status to ACTIVE as soon as one server process in the fleet is ready to host a game session. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - createFleet(callback?: (err: AWSError, data: GameLift.Types.CreateFleetOutput) => void): Request; - /** - * Creates a multiplayer game session for players. This action creates a game session record and assigns an available server process in the specified fleet to host the game session. A fleet must have an ACTIVE status before a game session can be created in it. To create a game session, specify either fleet ID or alias ID and indicate a maximum number of players to allow in the game session. You can also provide a name and game-specific properties for this game session. If successful, a GameSession object is returned containing game session properties, including a game session ID with the custom string you provided. Idempotency tokens. You can add a token that uniquely identifies game session requests. This is useful for ensuring that game session requests are idempotent. Multiple requests with the same idempotency token are processed only once; subsequent requests return the original result. All response values are the same with the exception of game session status, which may change. Resource creation limits. If you are creating a game session on a fleet with a resource creation limit policy in force, then you must specify a creator ID. Without this ID, Amazon GameLift has no way to evaluate the policy for this new game session request. By default, newly created game sessions allow new players to join. Use UpdateGameSession to change the game session's player session creation policy. Available in Amazon GameLift Local. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - createGameSession(params: GameLift.Types.CreateGameSessionInput, callback?: (err: AWSError, data: GameLift.Types.CreateGameSessionOutput) => void): Request; - /** - * Creates a multiplayer game session for players. This action creates a game session record and assigns an available server process in the specified fleet to host the game session. A fleet must have an ACTIVE status before a game session can be created in it. To create a game session, specify either fleet ID or alias ID and indicate a maximum number of players to allow in the game session. You can also provide a name and game-specific properties for this game session. If successful, a GameSession object is returned containing game session properties, including a game session ID with the custom string you provided. Idempotency tokens. You can add a token that uniquely identifies game session requests. This is useful for ensuring that game session requests are idempotent. Multiple requests with the same idempotency token are processed only once; subsequent requests return the original result. All response values are the same with the exception of game session status, which may change. Resource creation limits. If you are creating a game session on a fleet with a resource creation limit policy in force, then you must specify a creator ID. Without this ID, Amazon GameLift has no way to evaluate the policy for this new game session request. By default, newly created game sessions allow new players to join. Use UpdateGameSession to change the game session's player session creation policy. Available in Amazon GameLift Local. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - createGameSession(callback?: (err: AWSError, data: GameLift.Types.CreateGameSessionOutput) => void): Request; - /** - * Establishes a new queue for processing requests to place new game sessions. A queue identifies where new game sessions can be hosted -- by specifying a list of destinations (fleets or aliases) -- and how long requests can wait in the queue before timing out. You can set up a queue to try to place game sessions on fleets in multiple regions. To add placement requests to a queue, call StartGameSessionPlacement and reference the queue name. Destination order. When processing a request for a game session, Amazon GameLift tries each destination in order until it finds one with available resources to host the new game session. A queue's default order is determined by how destinations are listed. The default order is overridden when a game session placement request provides player latency information. Player latency information enables Amazon GameLift to prioritize destinations where players report the lowest average latency, as a result placing the new game session where the majority of players will have the best possible gameplay experience. Player latency policies. For placement requests containing player latency information, use player latency policies to protect individual players from very high latencies. With a latency cap, even when a destination can deliver a low latency for most players, the game is not placed where any individual player is reporting latency higher than a policy's maximum. A queue can have multiple latency policies, which are enforced consecutively starting with the policy with the lowest latency cap. Use multiple policies to gradually relax latency controls; for example, you might set a policy with a low latency cap for the first 60 seconds, a second policy with a higher cap for the next 60 seconds, etc. To create a new queue, provide a name, timeout value, a list of destinations and, if desired, a set of latency policies. If successful, a new queue object is returned. Queue-related operations include: CreateGameSessionQueue DescribeGameSessionQueues UpdateGameSessionQueue DeleteGameSessionQueue - */ - createGameSessionQueue(params: GameLift.Types.CreateGameSessionQueueInput, callback?: (err: AWSError, data: GameLift.Types.CreateGameSessionQueueOutput) => void): Request; - /** - * Establishes a new queue for processing requests to place new game sessions. A queue identifies where new game sessions can be hosted -- by specifying a list of destinations (fleets or aliases) -- and how long requests can wait in the queue before timing out. You can set up a queue to try to place game sessions on fleets in multiple regions. To add placement requests to a queue, call StartGameSessionPlacement and reference the queue name. Destination order. When processing a request for a game session, Amazon GameLift tries each destination in order until it finds one with available resources to host the new game session. A queue's default order is determined by how destinations are listed. The default order is overridden when a game session placement request provides player latency information. Player latency information enables Amazon GameLift to prioritize destinations where players report the lowest average latency, as a result placing the new game session where the majority of players will have the best possible gameplay experience. Player latency policies. For placement requests containing player latency information, use player latency policies to protect individual players from very high latencies. With a latency cap, even when a destination can deliver a low latency for most players, the game is not placed where any individual player is reporting latency higher than a policy's maximum. A queue can have multiple latency policies, which are enforced consecutively starting with the policy with the lowest latency cap. Use multiple policies to gradually relax latency controls; for example, you might set a policy with a low latency cap for the first 60 seconds, a second policy with a higher cap for the next 60 seconds, etc. To create a new queue, provide a name, timeout value, a list of destinations and, if desired, a set of latency policies. If successful, a new queue object is returned. Queue-related operations include: CreateGameSessionQueue DescribeGameSessionQueues UpdateGameSessionQueue DeleteGameSessionQueue - */ - createGameSessionQueue(callback?: (err: AWSError, data: GameLift.Types.CreateGameSessionQueueOutput) => void): Request; - /** - * Adds a player to a game session and creates a player session record. Before a player can be added, a game session must have an ACTIVE status, have a creation policy of ALLOW_ALL, and have an open player slot. To add a group of players to a game session, use CreatePlayerSessions. To create a player session, specify a game session ID, player ID, and optionally a string of player data. If successful, the player is added to the game session and a new PlayerSession object is returned. Player sessions cannot be updated. Available in Amazon GameLift Local. Player-session-related operations include: CreatePlayerSession CreatePlayerSessions DescribePlayerSessions Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - createPlayerSession(params: GameLift.Types.CreatePlayerSessionInput, callback?: (err: AWSError, data: GameLift.Types.CreatePlayerSessionOutput) => void): Request; - /** - * Adds a player to a game session and creates a player session record. Before a player can be added, a game session must have an ACTIVE status, have a creation policy of ALLOW_ALL, and have an open player slot. To add a group of players to a game session, use CreatePlayerSessions. To create a player session, specify a game session ID, player ID, and optionally a string of player data. If successful, the player is added to the game session and a new PlayerSession object is returned. Player sessions cannot be updated. Available in Amazon GameLift Local. Player-session-related operations include: CreatePlayerSession CreatePlayerSessions DescribePlayerSessions Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - createPlayerSession(callback?: (err: AWSError, data: GameLift.Types.CreatePlayerSessionOutput) => void): Request; - /** - * Adds a group of players to a game session. This action is useful with a team matching feature. Before players can be added, a game session must have an ACTIVE status, have a creation policy of ALLOW_ALL, and have an open player slot. To add a single player to a game session, use CreatePlayerSession. To create player sessions, specify a game session ID, a list of player IDs, and optionally a set of player data strings. If successful, the players are added to the game session and a set of new PlayerSession objects is returned. Player sessions cannot be updated. Available in Amazon GameLift Local. Player-session-related operations include: CreatePlayerSession CreatePlayerSessions DescribePlayerSessions Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - createPlayerSessions(params: GameLift.Types.CreatePlayerSessionsInput, callback?: (err: AWSError, data: GameLift.Types.CreatePlayerSessionsOutput) => void): Request; - /** - * Adds a group of players to a game session. This action is useful with a team matching feature. Before players can be added, a game session must have an ACTIVE status, have a creation policy of ALLOW_ALL, and have an open player slot. To add a single player to a game session, use CreatePlayerSession. To create player sessions, specify a game session ID, a list of player IDs, and optionally a set of player data strings. If successful, the players are added to the game session and a set of new PlayerSession objects is returned. Player sessions cannot be updated. Available in Amazon GameLift Local. Player-session-related operations include: CreatePlayerSession CreatePlayerSessions DescribePlayerSessions Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - createPlayerSessions(callback?: (err: AWSError, data: GameLift.Types.CreatePlayerSessionsOutput) => void): Request; - /** - * Deletes an alias. This action removes all record of the alias. Game clients attempting to access a server process using the deleted alias receive an error. To delete an alias, specify the alias ID to be deleted. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - deleteAlias(params: GameLift.Types.DeleteAliasInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an alias. This action removes all record of the alias. Game clients attempting to access a server process using the deleted alias receive an error. To delete an alias, specify the alias ID to be deleted. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - deleteAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a build. This action permanently deletes the build record and any uploaded build files. To delete a build, specify its ID. Deleting a build does not affect the status of any active fleets using the build, but you can no longer create new fleets with the deleted build. Build-related operations include: CreateBuild ListBuilds DescribeBuild UpdateBuild DeleteBuild - */ - deleteBuild(params: GameLift.Types.DeleteBuildInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a build. This action permanently deletes the build record and any uploaded build files. To delete a build, specify its ID. Deleting a build does not affect the status of any active fleets using the build, but you can no longer create new fleets with the deleted build. Build-related operations include: CreateBuild ListBuilds DescribeBuild UpdateBuild DeleteBuild - */ - deleteBuild(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes everything related to a fleet. Before deleting a fleet, you must set the fleet's desired capacity to zero. See UpdateFleetCapacity. This action removes the fleet's resources and the fleet record. Once a fleet is deleted, you can no longer use that fleet. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - deleteFleet(params: GameLift.Types.DeleteFleetInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes everything related to a fleet. Before deleting a fleet, you must set the fleet's desired capacity to zero. See UpdateFleetCapacity. This action removes the fleet's resources and the fleet record. Once a fleet is deleted, you can no longer use that fleet. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - deleteFleet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a game session queue. This action means that any StartGameSessionPlacement requests that reference this queue will fail. To delete a queue, specify the queue name. Queue-related operations include: CreateGameSessionQueue DescribeGameSessionQueues UpdateGameSessionQueue DeleteGameSessionQueue - */ - deleteGameSessionQueue(params: GameLift.Types.DeleteGameSessionQueueInput, callback?: (err: AWSError, data: GameLift.Types.DeleteGameSessionQueueOutput) => void): Request; - /** - * Deletes a game session queue. This action means that any StartGameSessionPlacement requests that reference this queue will fail. To delete a queue, specify the queue name. Queue-related operations include: CreateGameSessionQueue DescribeGameSessionQueues UpdateGameSessionQueue DeleteGameSessionQueue - */ - deleteGameSessionQueue(callback?: (err: AWSError, data: GameLift.Types.DeleteGameSessionQueueOutput) => void): Request; - /** - * Deletes a fleet scaling policy. This action means that the policy is no longer in force and removes all record of it. To delete a scaling policy, specify both the scaling policy name and the fleet ID it is associated with. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - deleteScalingPolicy(params: GameLift.Types.DeleteScalingPolicyInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a fleet scaling policy. This action means that the policy is no longer in force and removes all record of it. To delete a scaling policy, specify both the scaling policy name and the fleet ID it is associated with. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - deleteScalingPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Retrieves properties for an alias. This operation returns all alias metadata and settings. To get an alias's target fleet ID only, use ResolveAlias. To get alias properties, specify the alias ID. If successful, the requested alias record is returned. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - describeAlias(params: GameLift.Types.DescribeAliasInput, callback?: (err: AWSError, data: GameLift.Types.DescribeAliasOutput) => void): Request; - /** - * Retrieves properties for an alias. This operation returns all alias metadata and settings. To get an alias's target fleet ID only, use ResolveAlias. To get alias properties, specify the alias ID. If successful, the requested alias record is returned. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - describeAlias(callback?: (err: AWSError, data: GameLift.Types.DescribeAliasOutput) => void): Request; - /** - * Retrieves properties for a build. To get a build record, specify a build ID. If successful, an object containing the build properties is returned. Build-related operations include: CreateBuild ListBuilds DescribeBuild UpdateBuild DeleteBuild - */ - describeBuild(params: GameLift.Types.DescribeBuildInput, callback?: (err: AWSError, data: GameLift.Types.DescribeBuildOutput) => void): Request; - /** - * Retrieves properties for a build. To get a build record, specify a build ID. If successful, an object containing the build properties is returned. Build-related operations include: CreateBuild ListBuilds DescribeBuild UpdateBuild DeleteBuild - */ - describeBuild(callback?: (err: AWSError, data: GameLift.Types.DescribeBuildOutput) => void): Request; - /** - * Retrieves the following information for the specified EC2 instance type: maximum number of instances allowed per AWS account (service limit) current usage level for the AWS account Service limits vary depending on region. Available regions for Amazon GameLift can be found in the AWS Management Console for Amazon GameLift (see the drop-down list in the upper right corner). Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeEC2InstanceLimits(params: GameLift.Types.DescribeEC2InstanceLimitsInput, callback?: (err: AWSError, data: GameLift.Types.DescribeEC2InstanceLimitsOutput) => void): Request; - /** - * Retrieves the following information for the specified EC2 instance type: maximum number of instances allowed per AWS account (service limit) current usage level for the AWS account Service limits vary depending on region. Available regions for Amazon GameLift can be found in the AWS Management Console for Amazon GameLift (see the drop-down list in the upper right corner). Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeEC2InstanceLimits(callback?: (err: AWSError, data: GameLift.Types.DescribeEC2InstanceLimitsOutput) => void): Request; - /** - * Retrieves fleet properties, including metadata, status, and configuration, for one or more fleets. You can request attributes for all fleets, or specify a list of one or more fleet IDs. When requesting multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a FleetAttributes object is returned for each requested fleet ID. When specifying a list of fleet IDs, attribute objects are returned only for fleets that currently exist. Some API actions may limit the number of fleet IDs allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeFleetAttributes(params: GameLift.Types.DescribeFleetAttributesInput, callback?: (err: AWSError, data: GameLift.Types.DescribeFleetAttributesOutput) => void): Request; - /** - * Retrieves fleet properties, including metadata, status, and configuration, for one or more fleets. You can request attributes for all fleets, or specify a list of one or more fleet IDs. When requesting multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a FleetAttributes object is returned for each requested fleet ID. When specifying a list of fleet IDs, attribute objects are returned only for fleets that currently exist. Some API actions may limit the number of fleet IDs allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeFleetAttributes(callback?: (err: AWSError, data: GameLift.Types.DescribeFleetAttributesOutput) => void): Request; - /** - * Retrieves the current status of fleet capacity for one or more fleets. This information includes the number of instances that have been requested for the fleet and the number currently active. You can request capacity for all fleets, or specify a list of one or more fleet IDs. When requesting multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a FleetCapacity object is returned for each requested fleet ID. When specifying a list of fleet IDs, attribute objects are returned only for fleets that currently exist. Some API actions may limit the number of fleet IDs allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeFleetCapacity(params: GameLift.Types.DescribeFleetCapacityInput, callback?: (err: AWSError, data: GameLift.Types.DescribeFleetCapacityOutput) => void): Request; - /** - * Retrieves the current status of fleet capacity for one or more fleets. This information includes the number of instances that have been requested for the fleet and the number currently active. You can request capacity for all fleets, or specify a list of one or more fleet IDs. When requesting multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a FleetCapacity object is returned for each requested fleet ID. When specifying a list of fleet IDs, attribute objects are returned only for fleets that currently exist. Some API actions may limit the number of fleet IDs allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeFleetCapacity(callback?: (err: AWSError, data: GameLift.Types.DescribeFleetCapacityOutput) => void): Request; - /** - * Retrieves entries from the specified fleet's event log. You can specify a time range to limit the result set. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a collection of event log entries matching the request are returned. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeFleetEvents(params: GameLift.Types.DescribeFleetEventsInput, callback?: (err: AWSError, data: GameLift.Types.DescribeFleetEventsOutput) => void): Request; - /** - * Retrieves entries from the specified fleet's event log. You can specify a time range to limit the result set. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a collection of event log entries matching the request are returned. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeFleetEvents(callback?: (err: AWSError, data: GameLift.Types.DescribeFleetEventsOutput) => void): Request; - /** - * Retrieves the inbound connection permissions for a fleet. Connection permissions include a range of IP addresses and port settings that incoming traffic can use to access server processes in the fleet. To get a fleet's inbound connection permissions, specify a fleet ID. If successful, a collection of IpPermission objects is returned for the requested fleet ID. If the requested fleet has been deleted, the result set is empty. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeFleetPortSettings(params: GameLift.Types.DescribeFleetPortSettingsInput, callback?: (err: AWSError, data: GameLift.Types.DescribeFleetPortSettingsOutput) => void): Request; - /** - * Retrieves the inbound connection permissions for a fleet. Connection permissions include a range of IP addresses and port settings that incoming traffic can use to access server processes in the fleet. To get a fleet's inbound connection permissions, specify a fleet ID. If successful, a collection of IpPermission objects is returned for the requested fleet ID. If the requested fleet has been deleted, the result set is empty. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeFleetPortSettings(callback?: (err: AWSError, data: GameLift.Types.DescribeFleetPortSettingsOutput) => void): Request; - /** - * Retrieves utilization statistics for one or more fleets. You can request utilization data for all fleets, or specify a list of one or more fleet IDs. When requesting multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a FleetUtilization object is returned for each requested fleet ID. When specifying a list of fleet IDs, utilization objects are returned only for fleets that currently exist. Some API actions may limit the number of fleet IDs allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeFleetUtilization(params: GameLift.Types.DescribeFleetUtilizationInput, callback?: (err: AWSError, data: GameLift.Types.DescribeFleetUtilizationOutput) => void): Request; - /** - * Retrieves utilization statistics for one or more fleets. You can request utilization data for all fleets, or specify a list of one or more fleet IDs. When requesting multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a FleetUtilization object is returned for each requested fleet ID. When specifying a list of fleet IDs, utilization objects are returned only for fleets that currently exist. Some API actions may limit the number of fleet IDs allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeFleetUtilization(callback?: (err: AWSError, data: GameLift.Types.DescribeFleetUtilizationOutput) => void): Request; - /** - * Retrieves properties, including the protection policy in force, for one or more game sessions. This action can be used in several ways: (1) provide a GameSessionId or GameSessionArn to request details for a specific game session; (2) provide either a FleetId or an AliasId to request properties for all game sessions running on a fleet. To get game session record(s), specify just one of the following: game session ID, fleet ID, or alias ID. You can filter this request by game session status. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a GameSessionDetail object is returned for each session matching the request. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - describeGameSessionDetails(params: GameLift.Types.DescribeGameSessionDetailsInput, callback?: (err: AWSError, data: GameLift.Types.DescribeGameSessionDetailsOutput) => void): Request; - /** - * Retrieves properties, including the protection policy in force, for one or more game sessions. This action can be used in several ways: (1) provide a GameSessionId or GameSessionArn to request details for a specific game session; (2) provide either a FleetId or an AliasId to request properties for all game sessions running on a fleet. To get game session record(s), specify just one of the following: game session ID, fleet ID, or alias ID. You can filter this request by game session status. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a GameSessionDetail object is returned for each session matching the request. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - describeGameSessionDetails(callback?: (err: AWSError, data: GameLift.Types.DescribeGameSessionDetailsOutput) => void): Request; - /** - * Retrieves properties and current status of a game session placement request. To get game session placement details, specify the placement ID. If successful, a GameSessionPlacement object is returned. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - describeGameSessionPlacement(params: GameLift.Types.DescribeGameSessionPlacementInput, callback?: (err: AWSError, data: GameLift.Types.DescribeGameSessionPlacementOutput) => void): Request; - /** - * Retrieves properties and current status of a game session placement request. To get game session placement details, specify the placement ID. If successful, a GameSessionPlacement object is returned. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - describeGameSessionPlacement(callback?: (err: AWSError, data: GameLift.Types.DescribeGameSessionPlacementOutput) => void): Request; - /** - * Retrieves the properties for one or more game session queues. When requesting multiple queues, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a GameSessionQueue object is returned for each requested queue. When specifying a list of queues, objects are returned only for queues that currently exist in the region. Queue-related operations include: CreateGameSessionQueue DescribeGameSessionQueues UpdateGameSessionQueue DeleteGameSessionQueue - */ - describeGameSessionQueues(params: GameLift.Types.DescribeGameSessionQueuesInput, callback?: (err: AWSError, data: GameLift.Types.DescribeGameSessionQueuesOutput) => void): Request; - /** - * Retrieves the properties for one or more game session queues. When requesting multiple queues, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a GameSessionQueue object is returned for each requested queue. When specifying a list of queues, objects are returned only for queues that currently exist in the region. Queue-related operations include: CreateGameSessionQueue DescribeGameSessionQueues UpdateGameSessionQueue DeleteGameSessionQueue - */ - describeGameSessionQueues(callback?: (err: AWSError, data: GameLift.Types.DescribeGameSessionQueuesOutput) => void): Request; - /** - * Retrieves a set of one or more game sessions. Request a specific game session or request all game sessions on a fleet. Alternatively, use SearchGameSessions to request a set of active game sessions that are filtered by certain criteria. To retrieve protection policy settings for game sessions, use DescribeGameSessionDetails. To get game sessions, specify one of the following: game session ID, fleet ID, or alias ID. You can filter this request by game session status. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a GameSession object is returned for each game session matching the request. Available in Amazon GameLift Local. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - describeGameSessions(params: GameLift.Types.DescribeGameSessionsInput, callback?: (err: AWSError, data: GameLift.Types.DescribeGameSessionsOutput) => void): Request; - /** - * Retrieves a set of one or more game sessions. Request a specific game session or request all game sessions on a fleet. Alternatively, use SearchGameSessions to request a set of active game sessions that are filtered by certain criteria. To retrieve protection policy settings for game sessions, use DescribeGameSessionDetails. To get game sessions, specify one of the following: game session ID, fleet ID, or alias ID. You can filter this request by game session status. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a GameSession object is returned for each game session matching the request. Available in Amazon GameLift Local. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - describeGameSessions(callback?: (err: AWSError, data: GameLift.Types.DescribeGameSessionsOutput) => void): Request; - /** - * Retrieves information about a fleet's instances, including instance IDs. Use this action to get details on all instances in the fleet or get details on one specific instance. To get a specific instance, specify fleet ID and instance ID. To get all instances in a fleet, specify a fleet ID only. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, an Instance object is returned for each result. - */ - describeInstances(params: GameLift.Types.DescribeInstancesInput, callback?: (err: AWSError, data: GameLift.Types.DescribeInstancesOutput) => void): Request; - /** - * Retrieves information about a fleet's instances, including instance IDs. Use this action to get details on all instances in the fleet or get details on one specific instance. To get a specific instance, specify fleet ID and instance ID. To get all instances in a fleet, specify a fleet ID only. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, an Instance object is returned for each result. - */ - describeInstances(callback?: (err: AWSError, data: GameLift.Types.DescribeInstancesOutput) => void): Request; - /** - * Retrieves properties for one or more player sessions. This action can be used in several ways: (1) provide a PlayerSessionId to request properties for a specific player session; (2) provide a GameSessionId to request properties for all player sessions in the specified game session; (3) provide a PlayerId to request properties for all player sessions of a specified player. To get game session record(s), specify only one of the following: a player session ID, a game session ID, or a player ID. You can filter this request by player session status. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a PlayerSession object is returned for each session matching the request. Available in Amazon GameLift Local. Player-session-related operations include: CreatePlayerSession CreatePlayerSessions DescribePlayerSessions Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - describePlayerSessions(params: GameLift.Types.DescribePlayerSessionsInput, callback?: (err: AWSError, data: GameLift.Types.DescribePlayerSessionsOutput) => void): Request; - /** - * Retrieves properties for one or more player sessions. This action can be used in several ways: (1) provide a PlayerSessionId to request properties for a specific player session; (2) provide a GameSessionId to request properties for all player sessions in the specified game session; (3) provide a PlayerId to request properties for all player sessions of a specified player. To get game session record(s), specify only one of the following: a player session ID, a game session ID, or a player ID. You can filter this request by player session status. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a PlayerSession object is returned for each session matching the request. Available in Amazon GameLift Local. Player-session-related operations include: CreatePlayerSession CreatePlayerSessions DescribePlayerSessions Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - describePlayerSessions(callback?: (err: AWSError, data: GameLift.Types.DescribePlayerSessionsOutput) => void): Request; - /** - * Retrieves the current run-time configuration for the specified fleet. The run-time configuration tells Amazon GameLift how to launch server processes on instances in the fleet. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeRuntimeConfiguration(params: GameLift.Types.DescribeRuntimeConfigurationInput, callback?: (err: AWSError, data: GameLift.Types.DescribeRuntimeConfigurationOutput) => void): Request; - /** - * Retrieves the current run-time configuration for the specified fleet. The run-time configuration tells Amazon GameLift how to launch server processes on instances in the fleet. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeRuntimeConfiguration(callback?: (err: AWSError, data: GameLift.Types.DescribeRuntimeConfigurationOutput) => void): Request; - /** - * Retrieves all scaling policies applied to a fleet. To get a fleet's scaling policies, specify the fleet ID. You can filter this request by policy status, such as to retrieve only active scaling policies. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, set of ScalingPolicy objects is returned for the fleet. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeScalingPolicies(params: GameLift.Types.DescribeScalingPoliciesInput, callback?: (err: AWSError, data: GameLift.Types.DescribeScalingPoliciesOutput) => void): Request; - /** - * Retrieves all scaling policies applied to a fleet. To get a fleet's scaling policies, specify the fleet ID. You can filter this request by policy status, such as to retrieve only active scaling policies. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, set of ScalingPolicy objects is returned for the fleet. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - describeScalingPolicies(callback?: (err: AWSError, data: GameLift.Types.DescribeScalingPoliciesOutput) => void): Request; - /** - * Retrieves the location of stored game session logs for a specified game session. When a game session is terminated, Amazon GameLift automatically stores the logs in Amazon S3. Use this URL to download the logs. See the AWS Service Limits page for maximum log file sizes. Log files that exceed this limit are not saved. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - getGameSessionLogUrl(params: GameLift.Types.GetGameSessionLogUrlInput, callback?: (err: AWSError, data: GameLift.Types.GetGameSessionLogUrlOutput) => void): Request; - /** - * Retrieves the location of stored game session logs for a specified game session. When a game session is terminated, Amazon GameLift automatically stores the logs in Amazon S3. Use this URL to download the logs. See the AWS Service Limits page for maximum log file sizes. Log files that exceed this limit are not saved. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - getGameSessionLogUrl(callback?: (err: AWSError, data: GameLift.Types.GetGameSessionLogUrlOutput) => void): Request; - /** - * Requests remote access to a fleet instance. Remote access is useful for debugging, gathering benchmarking data, or watching activity in real time. Access requires credentials that match the operating system of the instance. For a Windows instance, Amazon GameLift returns a user name and password as strings for use with a Windows Remote Desktop client. For a Linux instance, Amazon GameLift returns a user name and RSA private key, also as strings, for use with an SSH client. The private key must be saved in the proper format to a .pem file before using. If you're making this request using the AWS CLI, saving the secret can be handled as part of the GetInstanceAccess request. (See the example later in this topic). For more information on remote access, see Remotely Accessing an Instance. To request access to a specific instance, specify the IDs of the instance and the fleet it belongs to. If successful, an InstanceAccess object is returned containing the instance's IP address and a set of credentials. - */ - getInstanceAccess(params: GameLift.Types.GetInstanceAccessInput, callback?: (err: AWSError, data: GameLift.Types.GetInstanceAccessOutput) => void): Request; - /** - * Requests remote access to a fleet instance. Remote access is useful for debugging, gathering benchmarking data, or watching activity in real time. Access requires credentials that match the operating system of the instance. For a Windows instance, Amazon GameLift returns a user name and password as strings for use with a Windows Remote Desktop client. For a Linux instance, Amazon GameLift returns a user name and RSA private key, also as strings, for use with an SSH client. The private key must be saved in the proper format to a .pem file before using. If you're making this request using the AWS CLI, saving the secret can be handled as part of the GetInstanceAccess request. (See the example later in this topic). For more information on remote access, see Remotely Accessing an Instance. To request access to a specific instance, specify the IDs of the instance and the fleet it belongs to. If successful, an InstanceAccess object is returned containing the instance's IP address and a set of credentials. - */ - getInstanceAccess(callback?: (err: AWSError, data: GameLift.Types.GetInstanceAccessOutput) => void): Request; - /** - * Retrieves all aliases for this AWS account. You can filter the result set by alias name and/or routing strategy type. Use the pagination parameters to retrieve results in sequential pages. Returned aliases are not listed in any particular order. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - listAliases(params: GameLift.Types.ListAliasesInput, callback?: (err: AWSError, data: GameLift.Types.ListAliasesOutput) => void): Request; - /** - * Retrieves all aliases for this AWS account. You can filter the result set by alias name and/or routing strategy type. Use the pagination parameters to retrieve results in sequential pages. Returned aliases are not listed in any particular order. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - listAliases(callback?: (err: AWSError, data: GameLift.Types.ListAliasesOutput) => void): Request; - /** - * Retrieves build records for all builds associated with the AWS account in use. You can limit results to builds that are in a specific status by using the Status parameter. Use the pagination parameters to retrieve results in a set of sequential pages. Build records are not listed in any particular order. Build-related operations include: CreateBuild ListBuilds DescribeBuild UpdateBuild DeleteBuild - */ - listBuilds(params: GameLift.Types.ListBuildsInput, callback?: (err: AWSError, data: GameLift.Types.ListBuildsOutput) => void): Request; - /** - * Retrieves build records for all builds associated with the AWS account in use. You can limit results to builds that are in a specific status by using the Status parameter. Use the pagination parameters to retrieve results in a set of sequential pages. Build records are not listed in any particular order. Build-related operations include: CreateBuild ListBuilds DescribeBuild UpdateBuild DeleteBuild - */ - listBuilds(callback?: (err: AWSError, data: GameLift.Types.ListBuildsOutput) => void): Request; - /** - * Retrieves a collection of fleet records for this AWS account. You can filter the result set by build ID. Use the pagination parameters to retrieve results in sequential pages. Fleet records are not listed in any particular order. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - listFleets(params: GameLift.Types.ListFleetsInput, callback?: (err: AWSError, data: GameLift.Types.ListFleetsOutput) => void): Request; - /** - * Retrieves a collection of fleet records for this AWS account. You can filter the result set by build ID. Use the pagination parameters to retrieve results in sequential pages. Fleet records are not listed in any particular order. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - listFleets(callback?: (err: AWSError, data: GameLift.Types.ListFleetsOutput) => void): Request; - /** - * Creates or updates a scaling policy for a fleet. An active scaling policy prompts Amazon GameLift to track a certain metric for a fleet and automatically change the fleet's capacity in specific circumstances. Each scaling policy contains one rule statement. Fleets can have multiple scaling policies in force simultaneously. A scaling policy rule statement has the following structure: If [MetricName] is [ComparisonOperator] [Threshold] for [EvaluationPeriods] minutes, then [ScalingAdjustmentType] to/by [ScalingAdjustment]. For example, this policy: "If the number of idle instances exceeds 20 for more than 15 minutes, then reduce the fleet capacity by 10 instances" could be implemented as the following rule statement: If [IdleInstances] is [GreaterThanOrEqualToThreshold] [20] for [15] minutes, then [ChangeInCapacity] by [-10]. To create or update a scaling policy, specify a unique combination of name and fleet ID, and set the rule values. All parameters for this action are required. If successful, the policy name is returned. Scaling policies cannot be suspended or made inactive. To stop enforcing a scaling policy, call DeleteScalingPolicy. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - putScalingPolicy(params: GameLift.Types.PutScalingPolicyInput, callback?: (err: AWSError, data: GameLift.Types.PutScalingPolicyOutput) => void): Request; - /** - * Creates or updates a scaling policy for a fleet. An active scaling policy prompts Amazon GameLift to track a certain metric for a fleet and automatically change the fleet's capacity in specific circumstances. Each scaling policy contains one rule statement. Fleets can have multiple scaling policies in force simultaneously. A scaling policy rule statement has the following structure: If [MetricName] is [ComparisonOperator] [Threshold] for [EvaluationPeriods] minutes, then [ScalingAdjustmentType] to/by [ScalingAdjustment]. For example, this policy: "If the number of idle instances exceeds 20 for more than 15 minutes, then reduce the fleet capacity by 10 instances" could be implemented as the following rule statement: If [IdleInstances] is [GreaterThanOrEqualToThreshold] [20] for [15] minutes, then [ChangeInCapacity] by [-10]. To create or update a scaling policy, specify a unique combination of name and fleet ID, and set the rule values. All parameters for this action are required. If successful, the policy name is returned. Scaling policies cannot be suspended or made inactive. To stop enforcing a scaling policy, call DeleteScalingPolicy. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - putScalingPolicy(callback?: (err: AWSError, data: GameLift.Types.PutScalingPolicyOutput) => void): Request; - /** - * This API call is not currently in use. Retrieves a fresh set of upload credentials and the assigned Amazon S3 storage location for a specific build. Valid credentials are required to upload your game build files to Amazon S3. - */ - requestUploadCredentials(params: GameLift.Types.RequestUploadCredentialsInput, callback?: (err: AWSError, data: GameLift.Types.RequestUploadCredentialsOutput) => void): Request; - /** - * This API call is not currently in use. Retrieves a fresh set of upload credentials and the assigned Amazon S3 storage location for a specific build. Valid credentials are required to upload your game build files to Amazon S3. - */ - requestUploadCredentials(callback?: (err: AWSError, data: GameLift.Types.RequestUploadCredentialsOutput) => void): Request; - /** - * Retrieves the fleet ID that a specified alias is currently pointing to. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - resolveAlias(params: GameLift.Types.ResolveAliasInput, callback?: (err: AWSError, data: GameLift.Types.ResolveAliasOutput) => void): Request; - /** - * Retrieves the fleet ID that a specified alias is currently pointing to. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - resolveAlias(callback?: (err: AWSError, data: GameLift.Types.ResolveAliasOutput) => void): Request; - /** - * Retrieves a set of game sessions that match a set of search criteria and sorts them in a specified order. A game session search is limited to a single fleet. Search results include only game sessions that are in ACTIVE status. If you need to retrieve game sessions with a status other than active, use DescribeGameSessions. If you need to retrieve the protection policy for each game session, use DescribeGameSessionDetails. You can search or sort by the following game session attributes: gameSessionId -- Unique identifier for the game session. You can use either a GameSessionId or GameSessionArn value. gameSessionName -- Name assigned to a game session. This value is set when requesting a new game session with CreateGameSession or updating with UpdateGameSession. Game session names do not need to be unique to a game session. creationTimeMillis -- Value indicating when a game session was created. It is expressed in Unix time as milliseconds. playerSessionCount -- Number of players currently connected to a game session. This value changes rapidly as players join the session or drop out. maximumSessions -- Maximum number of player sessions allowed for a game session. This value is set when requesting a new game session with CreateGameSession or updating with UpdateGameSession. hasAvailablePlayerSessions -- Boolean value indicating whether a game session has reached its maximum number of players. When searching with this attribute, the search value must be true or false. It is highly recommended that all search requests include this filter attribute to optimize search performance and return only sessions that players can join. To search or sort, specify either a fleet ID or an alias ID, and provide a search filter expression, a sort expression, or both. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a collection of GameSession objects matching the request is returned. Returned values for playerSessionCount and hasAvailablePlayerSessions change quickly as players join sessions and others drop out. Results should be considered a snapshot in time. Be sure to refresh search results often, and handle sessions that fill up before a player can join. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - searchGameSessions(params: GameLift.Types.SearchGameSessionsInput, callback?: (err: AWSError, data: GameLift.Types.SearchGameSessionsOutput) => void): Request; - /** - * Retrieves a set of game sessions that match a set of search criteria and sorts them in a specified order. A game session search is limited to a single fleet. Search results include only game sessions that are in ACTIVE status. If you need to retrieve game sessions with a status other than active, use DescribeGameSessions. If you need to retrieve the protection policy for each game session, use DescribeGameSessionDetails. You can search or sort by the following game session attributes: gameSessionId -- Unique identifier for the game session. You can use either a GameSessionId or GameSessionArn value. gameSessionName -- Name assigned to a game session. This value is set when requesting a new game session with CreateGameSession or updating with UpdateGameSession. Game session names do not need to be unique to a game session. creationTimeMillis -- Value indicating when a game session was created. It is expressed in Unix time as milliseconds. playerSessionCount -- Number of players currently connected to a game session. This value changes rapidly as players join the session or drop out. maximumSessions -- Maximum number of player sessions allowed for a game session. This value is set when requesting a new game session with CreateGameSession or updating with UpdateGameSession. hasAvailablePlayerSessions -- Boolean value indicating whether a game session has reached its maximum number of players. When searching with this attribute, the search value must be true or false. It is highly recommended that all search requests include this filter attribute to optimize search performance and return only sessions that players can join. To search or sort, specify either a fleet ID or an alias ID, and provide a search filter expression, a sort expression, or both. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a collection of GameSession objects matching the request is returned. Returned values for playerSessionCount and hasAvailablePlayerSessions change quickly as players join sessions and others drop out. Results should be considered a snapshot in time. Be sure to refresh search results often, and handle sessions that fill up before a player can join. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - searchGameSessions(callback?: (err: AWSError, data: GameLift.Types.SearchGameSessionsOutput) => void): Request; - /** - * Places a request for a new game session in a queue (see CreateGameSessionQueue). When processing a placement request, Amazon GameLift searches for available resources on the queue's destinations, scanning each until it finds resources or the placement request times out. A game session placement request can also request player sessions. When a new game session is successfully created, Amazon GameLift creates a player session for each player included in the request. When placing a game session, by default Amazon GameLift tries each fleet in the order they are listed in the queue configuration. Ideally, a queue's destinations are listed in preference order. Alternatively, when requesting a game session with players, you can also provide latency data for each player in relevant regions. Latency data indicates the performance lag a player experiences when connected to a fleet in the region. Amazon GameLift uses latency data to reorder the list of destinations to place the game session in a region with minimal lag. If latency data is provided for multiple players, Amazon GameLift calculates each region's average lag for all players and reorders to get the best game play across all players. To place a new game session request, specify the following: The queue name and a set of game session properties and settings A unique ID (such as a UUID) for the placement. You use this ID to track the status of the placement request (Optional) A set of IDs and player data for each player you want to join to the new game session Latency data for all players (if you want to optimize game play for the players) If successful, a new game session placement is created. To track the status of a placement request, call DescribeGameSessionPlacement and check the request's status. If the status is Fulfilled, a new game session has been created and a game session ARN and region are referenced. If the placement request times out, you can resubmit the request or retry it with a different queue. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - startGameSessionPlacement(params: GameLift.Types.StartGameSessionPlacementInput, callback?: (err: AWSError, data: GameLift.Types.StartGameSessionPlacementOutput) => void): Request; - /** - * Places a request for a new game session in a queue (see CreateGameSessionQueue). When processing a placement request, Amazon GameLift searches for available resources on the queue's destinations, scanning each until it finds resources or the placement request times out. A game session placement request can also request player sessions. When a new game session is successfully created, Amazon GameLift creates a player session for each player included in the request. When placing a game session, by default Amazon GameLift tries each fleet in the order they are listed in the queue configuration. Ideally, a queue's destinations are listed in preference order. Alternatively, when requesting a game session with players, you can also provide latency data for each player in relevant regions. Latency data indicates the performance lag a player experiences when connected to a fleet in the region. Amazon GameLift uses latency data to reorder the list of destinations to place the game session in a region with minimal lag. If latency data is provided for multiple players, Amazon GameLift calculates each region's average lag for all players and reorders to get the best game play across all players. To place a new game session request, specify the following: The queue name and a set of game session properties and settings A unique ID (such as a UUID) for the placement. You use this ID to track the status of the placement request (Optional) A set of IDs and player data for each player you want to join to the new game session Latency data for all players (if you want to optimize game play for the players) If successful, a new game session placement is created. To track the status of a placement request, call DescribeGameSessionPlacement and check the request's status. If the status is Fulfilled, a new game session has been created and a game session ARN and region are referenced. If the placement request times out, you can resubmit the request or retry it with a different queue. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - startGameSessionPlacement(callback?: (err: AWSError, data: GameLift.Types.StartGameSessionPlacementOutput) => void): Request; - /** - * Cancels a game session placement that is in Pending status. To stop a placement, provide the placement ID values. If successful, the placement is moved to Cancelled status. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - stopGameSessionPlacement(params: GameLift.Types.StopGameSessionPlacementInput, callback?: (err: AWSError, data: GameLift.Types.StopGameSessionPlacementOutput) => void): Request; - /** - * Cancels a game session placement that is in Pending status. To stop a placement, provide the placement ID values. If successful, the placement is moved to Cancelled status. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - stopGameSessionPlacement(callback?: (err: AWSError, data: GameLift.Types.StopGameSessionPlacementOutput) => void): Request; - /** - * Updates properties for an alias. To update properties, specify the alias ID to be updated and provide the information to be changed. To reassign an alias to another fleet, provide an updated routing strategy. If successful, the updated alias record is returned. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - updateAlias(params: GameLift.Types.UpdateAliasInput, callback?: (err: AWSError, data: GameLift.Types.UpdateAliasOutput) => void): Request; - /** - * Updates properties for an alias. To update properties, specify the alias ID to be updated and provide the information to be changed. To reassign an alias to another fleet, provide an updated routing strategy. If successful, the updated alias record is returned. Alias-related operations include: CreateAlias ListAliases DescribeAlias UpdateAlias DeleteAlias ResolveAlias - */ - updateAlias(callback?: (err: AWSError, data: GameLift.Types.UpdateAliasOutput) => void): Request; - /** - * Updates metadata in a build record, including the build name and version. To update the metadata, specify the build ID to update and provide the new values. If successful, a build object containing the updated metadata is returned. Build-related operations include: CreateBuild ListBuilds DescribeBuild UpdateBuild DeleteBuild - */ - updateBuild(params: GameLift.Types.UpdateBuildInput, callback?: (err: AWSError, data: GameLift.Types.UpdateBuildOutput) => void): Request; - /** - * Updates metadata in a build record, including the build name and version. To update the metadata, specify the build ID to update and provide the new values. If successful, a build object containing the updated metadata is returned. Build-related operations include: CreateBuild ListBuilds DescribeBuild UpdateBuild DeleteBuild - */ - updateBuild(callback?: (err: AWSError, data: GameLift.Types.UpdateBuildOutput) => void): Request; - /** - * Updates fleet properties, including name and description, for a fleet. To update metadata, specify the fleet ID and the property values that you want to change. If successful, the fleet ID for the updated fleet is returned. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - updateFleetAttributes(params: GameLift.Types.UpdateFleetAttributesInput, callback?: (err: AWSError, data: GameLift.Types.UpdateFleetAttributesOutput) => void): Request; - /** - * Updates fleet properties, including name and description, for a fleet. To update metadata, specify the fleet ID and the property values that you want to change. If successful, the fleet ID for the updated fleet is returned. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - updateFleetAttributes(callback?: (err: AWSError, data: GameLift.Types.UpdateFleetAttributesOutput) => void): Request; - /** - * Updates capacity settings for a fleet. Use this action to specify the number of EC2 instances (hosts) that you want this fleet to contain. Before calling this action, you may want to call DescribeEC2InstanceLimits to get the maximum capacity based on the fleet's EC2 instance type. If you're using autoscaling (see PutScalingPolicy), you may want to specify a minimum and/or maximum capacity. If you don't provide these, autoscaling can set capacity anywhere between zero and the service limits. To update fleet capacity, specify the fleet ID and the number of instances you want the fleet to host. If successful, Amazon GameLift starts or terminates instances so that the fleet's active instance count matches the desired instance count. You can view a fleet's current capacity information by calling DescribeFleetCapacity. If the desired instance count is higher than the instance type's limit, the "Limit Exceeded" exception occurs. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - updateFleetCapacity(params: GameLift.Types.UpdateFleetCapacityInput, callback?: (err: AWSError, data: GameLift.Types.UpdateFleetCapacityOutput) => void): Request; - /** - * Updates capacity settings for a fleet. Use this action to specify the number of EC2 instances (hosts) that you want this fleet to contain. Before calling this action, you may want to call DescribeEC2InstanceLimits to get the maximum capacity based on the fleet's EC2 instance type. If you're using autoscaling (see PutScalingPolicy), you may want to specify a minimum and/or maximum capacity. If you don't provide these, autoscaling can set capacity anywhere between zero and the service limits. To update fleet capacity, specify the fleet ID and the number of instances you want the fleet to host. If successful, Amazon GameLift starts or terminates instances so that the fleet's active instance count matches the desired instance count. You can view a fleet's current capacity information by calling DescribeFleetCapacity. If the desired instance count is higher than the instance type's limit, the "Limit Exceeded" exception occurs. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - updateFleetCapacity(callback?: (err: AWSError, data: GameLift.Types.UpdateFleetCapacityOutput) => void): Request; - /** - * Updates port settings for a fleet. To update settings, specify the fleet ID to be updated and list the permissions you want to update. List the permissions you want to add in InboundPermissionAuthorizations, and permissions you want to remove in InboundPermissionRevocations. Permissions to be removed must match existing fleet permissions. If successful, the fleet ID for the updated fleet is returned. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - updateFleetPortSettings(params: GameLift.Types.UpdateFleetPortSettingsInput, callback?: (err: AWSError, data: GameLift.Types.UpdateFleetPortSettingsOutput) => void): Request; - /** - * Updates port settings for a fleet. To update settings, specify the fleet ID to be updated and list the permissions you want to update. List the permissions you want to add in InboundPermissionAuthorizations, and permissions you want to remove in InboundPermissionRevocations. Permissions to be removed must match existing fleet permissions. If successful, the fleet ID for the updated fleet is returned. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - updateFleetPortSettings(callback?: (err: AWSError, data: GameLift.Types.UpdateFleetPortSettingsOutput) => void): Request; - /** - * Updates game session properties. This includes the session name, maximum player count, protection policy, which controls whether or not an active game session can be terminated during a scale-down event, and the player session creation policy, which controls whether or not new players can join the session. To update a game session, specify the game session ID and the values you want to change. If successful, an updated GameSession object is returned. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - updateGameSession(params: GameLift.Types.UpdateGameSessionInput, callback?: (err: AWSError, data: GameLift.Types.UpdateGameSessionOutput) => void): Request; - /** - * Updates game session properties. This includes the session name, maximum player count, protection policy, which controls whether or not an active game session can be terminated during a scale-down event, and the player session creation policy, which controls whether or not new players can join the session. To update a game session, specify the game session ID and the values you want to change. If successful, an updated GameSession object is returned. Game-session-related operations include: CreateGameSession DescribeGameSessions DescribeGameSessionDetails SearchGameSessions UpdateGameSession GetGameSessionLogUrl Game session placements StartGameSessionPlacement DescribeGameSessionPlacement StopGameSessionPlacement - */ - updateGameSession(callback?: (err: AWSError, data: GameLift.Types.UpdateGameSessionOutput) => void): Request; - /** - * Updates settings for a game session queue, which determines how new game session requests in the queue are processed. To update settings, specify the queue name to be updated and provide the new settings. When updating destinations, provide a complete list of destinations. Queue-related operations include: CreateGameSessionQueue DescribeGameSessionQueues UpdateGameSessionQueue DeleteGameSessionQueue - */ - updateGameSessionQueue(params: GameLift.Types.UpdateGameSessionQueueInput, callback?: (err: AWSError, data: GameLift.Types.UpdateGameSessionQueueOutput) => void): Request; - /** - * Updates settings for a game session queue, which determines how new game session requests in the queue are processed. To update settings, specify the queue name to be updated and provide the new settings. When updating destinations, provide a complete list of destinations. Queue-related operations include: CreateGameSessionQueue DescribeGameSessionQueues UpdateGameSessionQueue DeleteGameSessionQueue - */ - updateGameSessionQueue(callback?: (err: AWSError, data: GameLift.Types.UpdateGameSessionQueueOutput) => void): Request; - /** - * Updates the current run-time configuration for the specified fleet, which tells Amazon GameLift how to launch server processes on instances in the fleet. You can update a fleet's run-time configuration at any time after the fleet is created; it does not need to be in an ACTIVE status. To update run-time configuration, specify the fleet ID and provide a RuntimeConfiguration object with the updated collection of server process configurations. Each instance in a Amazon GameLift fleet checks regularly for an updated run-time configuration and changes how it launches server processes to comply with the latest version. Existing server processes are not affected by the update; they continue to run until they end, while Amazon GameLift simply adds new server processes to fit the current run-time configuration. As a result, the run-time configuration changes are applied gradually as existing processes shut down and new processes are launched in Amazon GameLift's normal process recycling activity. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - updateRuntimeConfiguration(params: GameLift.Types.UpdateRuntimeConfigurationInput, callback?: (err: AWSError, data: GameLift.Types.UpdateRuntimeConfigurationOutput) => void): Request; - /** - * Updates the current run-time configuration for the specified fleet, which tells Amazon GameLift how to launch server processes on instances in the fleet. You can update a fleet's run-time configuration at any time after the fleet is created; it does not need to be in an ACTIVE status. To update run-time configuration, specify the fleet ID and provide a RuntimeConfiguration object with the updated collection of server process configurations. Each instance in a Amazon GameLift fleet checks regularly for an updated run-time configuration and changes how it launches server processes to comply with the latest version. Existing server processes are not affected by the update; they continue to run until they end, while Amazon GameLift simply adds new server processes to fit the current run-time configuration. As a result, the run-time configuration changes are applied gradually as existing processes shut down and new processes are launched in Amazon GameLift's normal process recycling activity. Fleet-related operations include: CreateFleet ListFleets Describe fleets: DescribeFleetAttributes DescribeFleetPortSettings DescribeFleetUtilization DescribeRuntimeConfiguration DescribeFleetEvents Update fleets: UpdateFleetAttributes UpdateFleetCapacity UpdateFleetPortSettings UpdateRuntimeConfiguration Manage fleet capacity: DescribeFleetCapacity UpdateFleetCapacity PutScalingPolicy (automatic scaling) DescribeScalingPolicies (automatic scaling) DeleteScalingPolicy (automatic scaling) DescribeEC2InstanceLimits DeleteFleet - */ - updateRuntimeConfiguration(callback?: (err: AWSError, data: GameLift.Types.UpdateRuntimeConfigurationOutput) => void): Request; -} -declare namespace GameLift { - export interface Alias { - /** - * Unique identifier for an alias; alias IDs are unique within a region. - */ - AliasId?: AliasId; - /** - * Descriptive label that is associated with an alias. Alias names do not need to be unique. - */ - Name?: NonBlankAndLengthConstraintString; - /** - * Unique identifier for an alias; alias ARNs are unique across all regions. - */ - AliasArn?: ArnStringModel; - /** - * Human-readable description of an alias. - */ - Description?: FreeText; - /** - * Alias configuration for the alias, including routing type and settings. - */ - RoutingStrategy?: RoutingStrategy; - /** - * Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - CreationTime?: Timestamp; - /** - * Time stamp indicating when this data object was last modified. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - LastUpdatedTime?: Timestamp; - } - export type AliasId = string; - export type AliasList = Alias[]; - export type ArnStringModel = string; - export interface AwsCredentials { - /** - * Access key for an AWS account. - */ - AccessKeyId?: NonEmptyString; - /** - * Secret key for an AWS account. - */ - SecretAccessKey?: NonEmptyString; - /** - * Token specific to a build ID. - */ - SessionToken?: NonEmptyString; - } - export interface Build { - /** - * Unique identifier for a build. - */ - BuildId?: BuildId; - /** - * Descriptive label that is associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild. - */ - Name?: FreeText; - /** - * Version that is associated with this build. Version strings do not need to be unique. This value can be set using CreateBuild or UpdateBuild. - */ - Version?: FreeText; - /** - * Current status of the build. Possible build statuses include the following: INITIALIZED – A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value. READY – The game build has been successfully uploaded. You can now create new fleets for this build. FAILED – The game build upload failed. You cannot create new fleets for this build. - */ - Status?: BuildStatus; - /** - * File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED, this value is 0. - */ - SizeOnDisk?: PositiveLong; - /** - * Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build. - */ - OperatingSystem?: OperatingSystem; - /** - * Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - CreationTime?: Timestamp; - } - export type BuildId = string; - export type BuildList = Build[]; - export type BuildStatus = "INITIALIZED"|"READY"|"FAILED"|string; - export type ComparisonOperatorType = "GreaterThanOrEqualToThreshold"|"GreaterThanThreshold"|"LessThanThreshold"|"LessThanOrEqualToThreshold"|string; - export interface CreateAliasInput { - /** - * Descriptive label that is associated with an alias. Alias names do not need to be unique. - */ - Name: NonBlankAndLengthConstraintString; - /** - * Human-readable description of an alias. - */ - Description?: NonZeroAndMaxString; - /** - * Object that specifies the fleet and routing type to use for the alias. - */ - RoutingStrategy: RoutingStrategy; - } - export interface CreateAliasOutput { - /** - * Object that describes the newly created alias record. - */ - Alias?: Alias; - } - export interface CreateBuildInput { - /** - * Descriptive label that is associated with a build. Build names do not need to be unique. You can use UpdateBuild to change this value later. - */ - Name?: NonZeroAndMaxString; - /** - * Version that is associated with this build. Version strings do not need to be unique. You can use UpdateBuild to change this value later. - */ - Version?: NonZeroAndMaxString; - /** - * Amazon S3 location of the game build files to be uploaded. The S3 bucket must be owned by the same AWS account that you're using to manage Amazon GameLift. It also must in the same region that you want to create a new build in. Before calling CreateBuild with this location, you must allow Amazon GameLift to access your Amazon S3 bucket (see Create a Build with Files in Amazon S3). - */ - StorageLocation?: S3Location; - /** - * Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build. If your game build contains multiple executables, they all must run on the same operating system. - */ - OperatingSystem?: OperatingSystem; - } - export interface CreateBuildOutput { - /** - * The newly created build record, including a unique build ID and status. - */ - Build?: Build; - /** - * This element is not currently in use. - */ - UploadCredentials?: AwsCredentials; - /** - * Amazon S3 location specified in the request. - */ - StorageLocation?: S3Location; - } - export interface CreateFleetInput { - /** - * Descriptive label that is associated with a fleet. Fleet names do not need to be unique. - */ - Name: NonZeroAndMaxString; - /** - * Human-readable description of a fleet. - */ - Description?: NonZeroAndMaxString; - /** - * Unique identifier for a build to be deployed on the new fleet. The build must have been successfully uploaded to Amazon GameLift and be in a READY status. This fleet setting cannot be changed once the fleet is created. - */ - BuildId: BuildId; - /** - * This parameter is no longer used. Instead, specify a server launch path using the RuntimeConfiguration parameter. (Requests that specify a server launch path and launch parameters instead of a run-time configuration will continue to work.) - */ - ServerLaunchPath?: NonZeroAndMaxString; - /** - * This parameter is no longer used. Instead, specify server launch parameters in the RuntimeConfiguration parameter. (Requests that specify a server launch path and launch parameters instead of a run-time configuration will continue to work.) - */ - ServerLaunchParameters?: NonZeroAndMaxString; - /** - * This parameter is no longer used. Instead, to specify where Amazon GameLift should store log files once a server process shuts down, use the Amazon GameLift server API ProcessReady() and specify one or more directory paths in logParameters. See more information in the Server API Reference. - */ - LogPaths?: StringList; - /** - * Name of an EC2 instance type that is supported in Amazon GameLift. A fleet instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. Amazon GameLift supports the following EC2 instance types. See Amazon EC2 Instance Types for detailed descriptions. - */ - EC2InstanceType: EC2InstanceType; - /** - * Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. If no inbound permissions are set, including both IP address range and port range, the server processes in the fleet cannot accept connections. You can specify one or more sets of permissions for a fleet. - */ - EC2InboundPermissions?: IpPermissionsList; - /** - * Game session protection policy to apply to all instances in this fleet. If this parameter is not set, instances in this fleet default to no protection. You can change a fleet's protection policy using UpdateFleetAttributes, but this change will only affect sessions created after the policy change. You can also set protection for individual instances using UpdateGameSession. NoProtection – The game session can be terminated during a scale-down event. FullProtection – If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event. - */ - NewGameSessionProtectionPolicy?: ProtectionPolicy; - /** - * Instructions for launching server processes on each instance in the fleet. The run-time configuration for a fleet has a collection of server process configurations, one for each type of server process to run on an instance. A server process configuration specifies the location of the server executable, launch parameters, and the number of concurrent processes with that configuration to maintain on each instance. A CreateFleet request must include a run-time configuration with at least one server process configuration; otherwise the request fails with an invalid request exception. (This parameter replaces the parameters ServerLaunchPath and ServerLaunchParameters; requests that contain values for these parameters instead of a run-time configuration will continue to work.) - */ - RuntimeConfiguration?: RuntimeConfiguration; - /** - * Policy that limits the number of game sessions an individual player can create over a span of time for this fleet. - */ - ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy; - /** - * Names of metric groups to add this fleet to. Use an existing metric group name to add this fleet to the group. Or use a new name to create a new metric group. A fleet can only be included in one metric group at a time. - */ - MetricGroups?: MetricGroupList; - } - export interface CreateFleetOutput { - /** - * Properties for the newly created fleet. - */ - FleetAttributes?: FleetAttributes; - } - export interface CreateGameSessionInput { - /** - * Unique identifier for a fleet to create a game session in. Each request must reference either a fleet ID or alias ID, but not both. - */ - FleetId?: FleetId; - /** - * Unique identifier for an alias associated with the fleet to create a game session in. Each request must reference either a fleet ID or alias ID, but not both. - */ - AliasId?: AliasId; - /** - * Maximum number of players that can be connected simultaneously to the game session. - */ - MaximumPlayerSessionCount: WholeNumber; - /** - * Descriptive label that is associated with a game session. Session names do not need to be unique. - */ - Name?: NonZeroAndMaxString; - /** - * Set of developer-defined properties for a game session. These properties are passed to the server process hosting the game session. - */ - GameProperties?: GamePropertyList; - /** - * Unique identifier for a player or entity creating the game session. This ID is used to enforce a resource protection policy (if one exists) that limits the number of concurrent active game sessions one player can have. - */ - CreatorId?: NonZeroAndMaxString; - /** - * This parameter is no longer preferred. Please use IdempotencyToken instead. Custom string that uniquely identifies a request for a new game session. Maximum token length is 48 characters. If provided, this string is included in the new game session's ID. (A game session ID has the following format: arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>.) - */ - GameSessionId?: IdStringModel; - /** - * Custom string that uniquely identifies a request for a new game session. Maximum token length is 48 characters. If provided, this string is included in the new game session's ID. (A game session ID has the following format: arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>.) - */ - IdempotencyToken?: IdStringModel; - } - export interface CreateGameSessionOutput { - /** - * Object that describes the newly created game session record. - */ - GameSession?: GameSession; - } - export interface CreateGameSessionQueueInput { - /** - * Descriptive label that is associated with queue. Queue names must be unique within each region. - */ - Name: GameSessionQueueName; - /** - * Maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a TIMED_OUT status. - */ - TimeoutInSeconds?: WholeNumber; - /** - * Collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, it is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. A player latency policy must set a value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail. - */ - PlayerLatencyPolicies?: PlayerLatencyPolicyList; - /** - * List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order. - */ - Destinations?: GameSessionQueueDestinationList; - } - export interface CreateGameSessionQueueOutput { - /** - * Object that describes the newly created game session queue. - */ - GameSessionQueue?: GameSessionQueue; - } - export interface CreatePlayerSessionInput { - /** - * Unique identifier for the game session to add a player to. - */ - GameSessionId: ArnStringModel; - /** - * Unique identifier for a player. Player IDs are developer-defined. - */ - PlayerId: NonZeroAndMaxString; - /** - * Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. - */ - PlayerData?: PlayerData; - } - export interface CreatePlayerSessionOutput { - /** - * Object that describes the newly created player session record. - */ - PlayerSession?: PlayerSession; - } - export interface CreatePlayerSessionsInput { - /** - * Unique identifier for the game session to add players to. - */ - GameSessionId: ArnStringModel; - /** - * List of unique identifiers for the players to be added. - */ - PlayerIds: PlayerIdList; - /** - * Map of string pairs, each specifying a player ID and a set of developer-defined information related to the player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. Player data strings for player IDs not included in the PlayerIds parameter are ignored. - */ - PlayerDataMap?: PlayerDataMap; - } - export interface CreatePlayerSessionsOutput { - /** - * Collection of player session objects created for the added players. - */ - PlayerSessions?: PlayerSessionList; - } - export interface DeleteAliasInput { - /** - * Unique identifier for a fleet alias. Specify the alias you want to delete. - */ - AliasId: AliasId; - } - export interface DeleteBuildInput { - /** - * Unique identifier for a build to delete. - */ - BuildId: BuildId; - } - export interface DeleteFleetInput { - /** - * Unique identifier for a fleet to be deleted. - */ - FleetId: FleetId; - } - export interface DeleteGameSessionQueueInput { - /** - * Descriptive label that is associated with queue. Queue names must be unique within each region. - */ - Name: GameSessionQueueName; - } - export interface DeleteGameSessionQueueOutput { - } - export interface DeleteScalingPolicyInput { - /** - * Descriptive label that is associated with a scaling policy. Policy names do not need to be unique. - */ - Name: NonZeroAndMaxString; - /** - * Unique identifier for a fleet to be deleted. - */ - FleetId: FleetId; - } - export interface DescribeAliasInput { - /** - * Unique identifier for a fleet alias. Specify the alias you want to retrieve. - */ - AliasId: AliasId; - } - export interface DescribeAliasOutput { - /** - * Object that contains the requested alias. - */ - Alias?: Alias; - } - export interface DescribeBuildInput { - /** - * Unique identifier for a build to retrieve properties for. - */ - BuildId: BuildId; - } - export interface DescribeBuildOutput { - /** - * Set of properties describing the requested build. - */ - Build?: Build; - } - export interface DescribeEC2InstanceLimitsInput { - /** - * Name of an EC2 instance type that is supported in Amazon GameLift. A fleet instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. Amazon GameLift supports the following EC2 instance types. See Amazon EC2 Instance Types for detailed descriptions. Leave this parameter blank to retrieve limits for all types. - */ - EC2InstanceType?: EC2InstanceType; - } - export interface DescribeEC2InstanceLimitsOutput { - /** - * Object that contains the maximum number of instances for the specified instance type. - */ - EC2InstanceLimits?: EC2InstanceLimitList; - } - export interface DescribeFleetAttributesInput { - /** - * Unique identifier for a fleet(s) to retrieve attributes for. To request attributes for all fleets, leave this parameter empty. - */ - FleetIds?: FleetIdList; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeFleetAttributesOutput { - /** - * Collection of objects containing attribute metadata for each requested fleet ID. - */ - FleetAttributes?: FleetAttributesList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeFleetCapacityInput { - /** - * Unique identifier for a fleet(s) to retrieve capacity information for. To request capacity information for all fleets, leave this parameter empty. - */ - FleetIds?: FleetIdList; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeFleetCapacityOutput { - /** - * Collection of objects containing capacity information for each requested fleet ID. Leave this parameter empty to retrieve capacity information for all fleets. - */ - FleetCapacity?: FleetCapacityList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeFleetEventsInput { - /** - * Unique identifier for a fleet to get event logs for. - */ - FleetId: FleetId; - /** - * Earliest date to retrieve event logs for. If no start time is specified, this call returns entries starting from when the fleet was created to the specified end time. Format is a number expressed in Unix time as milliseconds (ex: "1469498468.057"). - */ - StartTime?: Timestamp; - /** - * Most recent date to retrieve event logs for. If no end time is specified, this call returns entries from the specified start time up to the present. Format is a number expressed in Unix time as milliseconds (ex: "1469498468.057"). - */ - EndTime?: Timestamp; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeFleetEventsOutput { - /** - * Collection of objects containing event log entries for the specified fleet. - */ - Events?: EventList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeFleetPortSettingsInput { - /** - * Unique identifier for a fleet to retrieve port settings for. - */ - FleetId: FleetId; - } - export interface DescribeFleetPortSettingsOutput { - /** - * Object that contains port settings for the requested fleet ID. - */ - InboundPermissions?: IpPermissionsList; - } - export interface DescribeFleetUtilizationInput { - /** - * Unique identifier for a fleet(s) to retrieve utilization data for. To request utilization data for all fleets, leave this parameter empty. - */ - FleetIds?: FleetIdList; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeFleetUtilizationOutput { - /** - * Collection of objects containing utilization information for each requested fleet ID. - */ - FleetUtilization?: FleetUtilizationList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeGameSessionDetailsInput { - /** - * Unique identifier for a fleet to retrieve all game sessions active on the fleet. - */ - FleetId?: FleetId; - /** - * Unique identifier for the game session to retrieve. - */ - GameSessionId?: ArnStringModel; - /** - * Unique identifier for an alias associated with the fleet to retrieve all game sessions for. - */ - AliasId?: AliasId; - /** - * Game session status to filter results on. Possible game session statuses include ACTIVE, TERMINATED, ACTIVATING and TERMINATING (the last two are transitory). - */ - StatusFilter?: NonZeroAndMaxString; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeGameSessionDetailsOutput { - /** - * Collection of objects containing game session properties and the protection policy currently in force for each session matching the request. - */ - GameSessionDetails?: GameSessionDetailList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeGameSessionPlacementInput { - /** - * Unique identifier for a game session placement to retrieve. - */ - PlacementId: IdStringModel; - } - export interface DescribeGameSessionPlacementOutput { - /** - * Object that describes the requested game session placement. - */ - GameSessionPlacement?: GameSessionPlacement; - } - export interface DescribeGameSessionQueuesInput { - /** - * List of queue names to retrieve information for. To request settings for all queues, leave this parameter empty. - */ - Names?: GameSessionQueueNameList; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeGameSessionQueuesOutput { - /** - * Collection of objects that describes the requested game session queues. - */ - GameSessionQueues?: GameSessionQueueList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeGameSessionsInput { - /** - * Unique identifier for a fleet to retrieve all game sessions for. - */ - FleetId?: FleetId; - /** - * Unique identifier for the game session to retrieve. You can use either a GameSessionId or GameSessionArn value. - */ - GameSessionId?: ArnStringModel; - /** - * Unique identifier for an alias associated with the fleet to retrieve all game sessions for. - */ - AliasId?: AliasId; - /** - * Game session status to filter results on. Possible game session statuses include ACTIVE, TERMINATED, ACTIVATING, and TERMINATING (the last two are transitory). - */ - StatusFilter?: NonZeroAndMaxString; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeGameSessionsOutput { - /** - * Collection of objects containing game session properties for each session matching the request. - */ - GameSessions?: GameSessionList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeInstancesInput { - /** - * Unique identifier for a fleet to retrieve instance information for. - */ - FleetId: FleetId; - /** - * Unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all instances in the fleet. - */ - InstanceId?: InstanceId; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeInstancesOutput { - /** - * Collection of objects containing properties for each instance returned. - */ - Instances?: InstanceList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribePlayerSessionsInput { - /** - * Unique identifier for the game session to retrieve player sessions for. - */ - GameSessionId?: ArnStringModel; - /** - * Unique identifier for a player to retrieve player sessions for. - */ - PlayerId?: NonZeroAndMaxString; - /** - * Unique identifier for a player session to retrieve. - */ - PlayerSessionId?: PlayerSessionId; - /** - * Player session status to filter results on. Possible player session statuses include the following: RESERVED – The player session request has been received, but the player has not yet connected to the server process and/or been validated. ACTIVE – The player has been validated by the server process and is currently connected. COMPLETED – The player connection has been dropped. TIMEDOUT – A player session request was received, but the player did not connect and/or was not validated within the time-out limit (60 seconds). - */ - PlayerSessionStatusFilter?: NonZeroAndMaxString; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. If a player session ID is specified, this parameter is ignored. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. If a player session ID is specified, this parameter is ignored. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribePlayerSessionsOutput { - /** - * Collection of objects containing properties for each player session that matches the request. - */ - PlayerSessions?: PlayerSessionList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeRuntimeConfigurationInput { - /** - * Unique identifier for a fleet to get the run-time configuration for. - */ - FleetId: FleetId; - } - export interface DescribeRuntimeConfigurationOutput { - /** - * Instructions describing how server processes should be launched and maintained on each instance in the fleet. - */ - RuntimeConfiguration?: RuntimeConfiguration; - } - export interface DescribeScalingPoliciesInput { - /** - * Unique identifier for a fleet to retrieve scaling policies for. - */ - FleetId: FleetId; - /** - * Scaling policy status to filter results on. A scaling policy is only in force when in an ACTIVE status. ACTIVE – The scaling policy is currently in force. UPDATEREQUESTED – A request to update the scaling policy has been received. UPDATING – A change is being made to the scaling policy. DELETEREQUESTED – A request to delete the scaling policy has been received. DELETING – The scaling policy is being deleted. DELETED – The scaling policy has been deleted. ERROR – An error occurred in creating the policy. It should be removed and recreated. - */ - StatusFilter?: ScalingStatusType; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DescribeScalingPoliciesOutput { - /** - * Collection of objects containing the scaling policies matching the request. - */ - ScalingPolicies?: ScalingPolicyList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface DesiredPlayerSession { - /** - * Unique identifier for a player to associate with the player session. - */ - PlayerId?: NonZeroAndMaxString; - /** - * Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. - */ - PlayerData?: PlayerData; - } - export type DesiredPlayerSessionList = DesiredPlayerSession[]; - export type Double = number; - export interface EC2InstanceCounts { - /** - * Ideal number of active instances in the fleet. - */ - DESIRED?: WholeNumber; - /** - * Minimum value allowed for the fleet's instance count. - */ - MINIMUM?: WholeNumber; - /** - * Maximum value allowed for the fleet's instance count. - */ - MAXIMUM?: WholeNumber; - /** - * Number of instances in the fleet that are starting but not yet active. - */ - PENDING?: WholeNumber; - /** - * Actual number of active instances in the fleet. - */ - ACTIVE?: WholeNumber; - /** - * Number of active instances in the fleet that are not currently hosting a game session. - */ - IDLE?: WholeNumber; - /** - * Number of instances in the fleet that are no longer active but haven't yet been terminated. - */ - TERMINATING?: WholeNumber; - } - export interface EC2InstanceLimit { - /** - * Name of an EC2 instance type that is supported in Amazon GameLift. A fleet instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. Amazon GameLift supports the following EC2 instance types. See Amazon EC2 Instance Types for detailed descriptions. - */ - EC2InstanceType?: EC2InstanceType; - /** - * Number of instances of the specified type that are currently in use by this AWS account. - */ - CurrentInstances?: WholeNumber; - /** - * Number of instances allowed. - */ - InstanceLimit?: WholeNumber; - } - export type EC2InstanceLimitList = EC2InstanceLimit[]; - export type EC2InstanceType = "t2.micro"|"t2.small"|"t2.medium"|"t2.large"|"c3.large"|"c3.xlarge"|"c3.2xlarge"|"c3.4xlarge"|"c3.8xlarge"|"c4.large"|"c4.xlarge"|"c4.2xlarge"|"c4.4xlarge"|"c4.8xlarge"|"r3.large"|"r3.xlarge"|"r3.2xlarge"|"r3.4xlarge"|"r3.8xlarge"|"m3.medium"|"m3.large"|"m3.xlarge"|"m3.2xlarge"|"m4.large"|"m4.xlarge"|"m4.2xlarge"|"m4.4xlarge"|"m4.10xlarge"|string; - export interface Event { - /** - * Unique identifier for a fleet event. - */ - EventId?: NonZeroAndMaxString; - /** - * Unique identifier for an event resource, such as a fleet ID. - */ - ResourceId?: NonZeroAndMaxString; - /** - * Type of event being logged. The following events are currently in use: General events: GENERIC_EVENT – An unspecified event has occurred. Fleet creation events: FLEET_CREATED – A fleet record was successfully created with a status of NEW. Event messaging includes the fleet ID. FLEET_STATE_DOWNLOADING – Fleet status changed from NEW to DOWNLOADING. The compressed build has started downloading to a fleet instance for installation. FLEET_BINARY_DOWNLOAD_FAILED – The build failed to download to the fleet instance. FLEET_CREATION_EXTRACTING_BUILD – The game server build was successfully downloaded to an instance, and the build files are now being extracted from the uploaded build and saved to an instance. Failure at this stage prevents a fleet from moving to ACTIVE status. Logs for this stage display a list of the files that are extracted and saved on the instance. Access the logs by using the URL in PreSignedLogUrl). FLEET_CREATION_RUNNING_INSTALLER – The game server build files were successfully extracted, and the Amazon GameLift is now running the build's install script (if one is included). Failure in this stage prevents a fleet from moving to ACTIVE status. Logs for this stage list the installation steps and whether or not the install completed sucessfully. Access the logs by using the URL in PreSignedLogUrl). FLEET_CREATION_VALIDATING_RUNTIME_CONFIG – The build process was successful, and the Amazon GameLift is now verifying that the game server launch path(s), which are specified in the fleet's run-time configuration, exist. If any listed launch path exists, Amazon GameLift tries to launch a game server process and waits for the process to report ready. Failures in this stage prevent a fleet from moving to ACTIVE status. Logs for this stage list the launch paths in the run-time configuration and indicate whether each is found. Access the logs by using the URL in PreSignedLogUrl). Once the game server is launched, failures and crashes are logged; these logs can be downloaded from the Amazon GameLift console. FLEET_STATE_VALIDATING – Fleet status changed from DOWNLOADING to VALIDATING. FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND – Validation of the run-time validation failed because the executable specified in a launch path does not exist on the instance. FLEET_STATE_BUILDING – Fleet status changed from VALIDATING to BUILDING. FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE – Validation of the runtime validation failed because the executable specified in a launch path failed to run on the fleet instance. FLEET_STATE_ACTIVATING – Fleet status changed from BUILDING to ACTIVATING. FLEET_ACTIVATION_FAILED - The fleet failed to successfully complete one of the steps in the fleet activation process. This event code indicates that the game build was successfully downloaded to a fleet instance, built, and validated, but was not able to start a server process. A possible reason for failure is that the game server is not reporting "process ready" to the Amazon GameLift service. FLEET_STATE_ACTIVE – The fleet's status changed from ACTIVATING to ACTIVE. The fleet is now ready to host game sessions. Other fleet events: FLEET_SCALING_EVENT – A change was made to the fleet's capacity settings (desired instances, minimum/maximum scaling limits). Event messaging includes the new capacity settings. FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED – A change was made to the fleet's game session protection policy setting. Event messaging includes both the old and new policy setting. FLEET_DELETED – A request to delete a fleet was initiated. - */ - EventCode?: EventCode; - /** - * Additional information related to the event. - */ - Message?: NonEmptyString; - /** - * Time stamp indicating when this event occurred. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - EventTime?: Timestamp; - /** - * Location of stored logs with additional detail related to the event, useful for debugging issues. The URL is valid for 15 minutes. Fleet creation logs can also be accessed through the Amazon GameLift console. - */ - PreSignedLogUrl?: NonZeroAndMaxString; - } - export type EventCode = "GENERIC_EVENT"|"FLEET_CREATED"|"FLEET_DELETED"|"FLEET_SCALING_EVENT"|"FLEET_STATE_DOWNLOADING"|"FLEET_STATE_VALIDATING"|"FLEET_STATE_BUILDING"|"FLEET_STATE_ACTIVATING"|"FLEET_STATE_ACTIVE"|"FLEET_STATE_ERROR"|"FLEET_INITIALIZATION_FAILED"|"FLEET_BINARY_DOWNLOAD_FAILED"|"FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND"|"FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE"|"FLEET_VALIDATION_TIMED_OUT"|"FLEET_ACTIVATION_FAILED"|"FLEET_ACTIVATION_FAILED_NO_INSTANCES"|"FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED"|"SERVER_PROCESS_INVALID_PATH"|"SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT"|"SERVER_PROCESS_PROCESS_READY_TIMEOUT"|"SERVER_PROCESS_CRASHED"|"SERVER_PROCESS_TERMINATED_UNHEALTHY"|"SERVER_PROCESS_FORCE_TERMINATED"|"SERVER_PROCESS_PROCESS_EXIT_TIMEOUT"|"GAME_SESSION_ACTIVATION_TIMEOUT"|"FLEET_CREATION_EXTRACTING_BUILD"|"FLEET_CREATION_RUNNING_INSTALLER"|"FLEET_CREATION_VALIDATING_RUNTIME_CONFIG"|string; - export type EventList = Event[]; - export interface FleetAttributes { - /** - * Unique identifier for a fleet. - */ - FleetId?: FleetId; - /** - * Identifier for a fleet that is unique across all regions. - */ - FleetArn?: ArnStringModel; - /** - * Human-readable description of the fleet. - */ - Description?: NonZeroAndMaxString; - /** - * Descriptive label that is associated with a fleet. Fleet names do not need to be unique. - */ - Name?: NonZeroAndMaxString; - /** - * Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - CreationTime?: Timestamp; - /** - * Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - TerminationTime?: Timestamp; - /** - * Current status of the fleet. Possible fleet statuses include the following: NEW – A new fleet has been defined and desired instances is set to 1. DOWNLOADING/VALIDATING/BUILDING/ACTIVATING – Amazon GameLift is setting up the new fleet, creating new instances with the game build and starting server processes. ACTIVE – Hosts can now accept game sessions. ERROR – An error occurred when downloading, validating, building, or activating the fleet. DELETING – Hosts are responding to a delete fleet request. TERMINATED – The fleet no longer exists. - */ - Status?: FleetStatus; - /** - * Unique identifier for a build. - */ - BuildId?: BuildId; - /** - * Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch paths for fleets created after this date are specified in the fleet's RuntimeConfiguration. - */ - ServerLaunchPath?: NonZeroAndMaxString; - /** - * Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch parameters for fleets created after this date are specified in the fleet's RuntimeConfiguration. - */ - ServerLaunchParameters?: NonZeroAndMaxString; - /** - * Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift automatically uploads logs that are stored on each instance at C:\game\logs (for Windows) or /local/game/logs (for Linux). Use the Amazon GameLift console to access stored logs. - */ - LogPaths?: StringList; - /** - * Type of game session protection to set for all new instances started in the fleet. NoProtection – The game session can be terminated during a scale-down event. FullProtection – If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event. - */ - NewGameSessionProtectionPolicy?: ProtectionPolicy; - /** - * Operating system of the fleet's computing resources. A fleet's operating system depends on the OS specified for the build that is deployed on this fleet. - */ - OperatingSystem?: OperatingSystem; - /** - * Fleet policy to limit the number of game sessions an individual player can create over a span of time. - */ - ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy; - /** - * Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an individual fleet or aggregated metrics for fleets that are in a fleet metric group. A fleet can be included in only one metric group at a time. - */ - MetricGroups?: MetricGroupList; - } - export type FleetAttributesList = FleetAttributes[]; - export interface FleetCapacity { - /** - * Unique identifier for a fleet. - */ - FleetId?: FleetId; - /** - * Name of an EC2 instance type that is supported in Amazon GameLift. A fleet instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. Amazon GameLift supports the following EC2 instance types. See Amazon EC2 Instance Types for detailed descriptions. - */ - InstanceType?: EC2InstanceType; - /** - * Current status of fleet capacity. - */ - InstanceCounts?: EC2InstanceCounts; - } - export type FleetCapacityList = FleetCapacity[]; - export type FleetId = string; - export type FleetIdList = FleetId[]; - export type FleetStatus = "NEW"|"DOWNLOADING"|"VALIDATING"|"BUILDING"|"ACTIVATING"|"ACTIVE"|"DELETING"|"ERROR"|"TERMINATED"|string; - export interface FleetUtilization { - /** - * Unique identifier for a fleet. - */ - FleetId?: FleetId; - /** - * Number of server processes in an ACTIVE status currently running across all instances in the fleet - */ - ActiveServerProcessCount?: WholeNumber; - /** - * Number of active game sessions currently being hosted on all instances in the fleet. - */ - ActiveGameSessionCount?: WholeNumber; - /** - * Number of active player sessions currently being hosted on all instances in the fleet. - */ - CurrentPlayerSessionCount?: WholeNumber; - /** - * Maximum players allowed across all game sessions currently being hosted on all instances in the fleet. - */ - MaximumPlayerSessionCount?: WholeNumber; - } - export type FleetUtilizationList = FleetUtilization[]; - export type Float = number; - export type FreeText = string; - export interface GameProperty { - /** - * TBD - */ - Key: GamePropertyKey; - /** - * TBD - */ - Value: GamePropertyValue; - } - export type GamePropertyKey = string; - export type GamePropertyList = GameProperty[]; - export type GamePropertyValue = string; - export interface GameSession { - /** - * Unique identifier for the game session. A game session ID has the following format: arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>. - */ - GameSessionId?: NonZeroAndMaxString; - /** - * Descriptive label that is associated with a game session. Session names do not need to be unique. - */ - Name?: NonZeroAndMaxString; - /** - * Unique identifier for a fleet the game session is running on. - */ - FleetId?: FleetId; - /** - * Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - CreationTime?: Timestamp; - /** - * Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - TerminationTime?: Timestamp; - /** - * Number of players currently in the game session. - */ - CurrentPlayerSessionCount?: WholeNumber; - /** - * Maximum number of players that can be connected simultaneously to the game session. - */ - MaximumPlayerSessionCount?: WholeNumber; - /** - * Current status of the game session. A game session must have an ACTIVE status to have player sessions. - */ - Status?: GameSessionStatus; - /** - * Set of developer-defined properties for a game session. These properties are passed to the server process hosting the game session. - */ - GameProperties?: GamePropertyList; - /** - * IP address of the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. - */ - IpAddress?: IpAddress; - /** - * Port number for the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. - */ - Port?: PortNumber; - /** - * Indicates whether or not the game session is accepting new players. - */ - PlayerSessionCreationPolicy?: PlayerSessionCreationPolicy; - /** - * Unique identifier for a player. This ID is used to enforce a resource protection policy (if one exists), that limits the number of game sessions a player can create. - */ - CreatorId?: NonZeroAndMaxString; - } - export type GameSessionActivationTimeoutSeconds = number; - export interface GameSessionDetail { - /** - * Object that describes a game session. - */ - GameSession?: GameSession; - /** - * Current status of protection for the game session. NoProtection – The game session can be terminated during a scale-down event. FullProtection – If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event. - */ - ProtectionPolicy?: ProtectionPolicy; - } - export type GameSessionDetailList = GameSessionDetail[]; - export type GameSessionList = GameSession[]; - export interface GameSessionPlacement { - /** - * Unique identifier for a game session placement. - */ - PlacementId?: IdStringModel; - /** - * Descriptive label that is associated with queue. Queue names must be unique within each region. - */ - GameSessionQueueName?: GameSessionQueueName; - /** - * Current status of the game session placement request. PENDING – The placement request is currently in the queue waiting to be processed. FULFILLED – A new game session and player sessions (if requested) have been successfully created. Values for GameSessionArn and GameSessionRegion are available. CANCELLED – The placement request was canceled with a call to StopGameSessionPlacement. TIMED_OUT – A new game session was not successfully created before the time limit expired. You can resubmit the placement request as needed. - */ - Status?: GameSessionPlacementState; - /** - * Set of developer-defined properties for a game session. These properties are passed to the server process hosting the game session. - */ - GameProperties?: GamePropertyList; - /** - * Maximum number of players that can be connected simultaneously to the game session. - */ - MaximumPlayerSessionCount?: WholeNumber; - /** - * Descriptive label that is associated with a game session. Session names do not need to be unique. - */ - GameSessionName?: NonZeroAndMaxString; - /** - * Unique identifier for the game session. This value is set once the new game session is placed (placement status is Fulfilled). - */ - GameSessionId?: NonZeroAndMaxString; - /** - * Identifier for the game session created by this placement request. This value is set once the new game session is placed (placement status is Fulfilled). This identifier is unique across all regions. You can use this value as a GameSessionId value as needed. - */ - GameSessionArn?: NonZeroAndMaxString; - /** - * Name of the region where the game session created by this placement request is running. This value is set once the new game session is placed (placement status is Fulfilled). - */ - GameSessionRegion?: NonZeroAndMaxString; - /** - * Set of values, expressed in milliseconds, indicating the amount of latency that players are experiencing when connected to AWS regions. - */ - PlayerLatencies?: PlayerLatencyList; - /** - * Time stamp indicating when this request was placed in the queue. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - StartTime?: Timestamp; - /** - * Time stamp indicating when this request was completed, canceled, or timed out. - */ - EndTime?: Timestamp; - /** - * IP address of the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. This value is set once the new game session is placed (placement status is Fulfilled). - */ - IpAddress?: IpAddress; - /** - * Port number for the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. This value is set once the new game session is placed (placement status is Fulfilled). - */ - Port?: PortNumber; - /** - * Collection of information on player sessions created in response to the game session placement request. These player sessions are created only once a new game session is successfully placed (placement status is Fulfilled). This information includes the player ID (as provided in the placement request) and the corresponding player session ID. Retrieve full player sessions by calling DescribePlayerSessions with the player session ID. - */ - PlacedPlayerSessions?: PlacedPlayerSessionList; - } - export type GameSessionPlacementState = "PENDING"|"FULFILLED"|"CANCELLED"|"TIMED_OUT"|string; - export interface GameSessionQueue { - /** - * Descriptive label that is associated with queue. Queue names must be unique within each region. - */ - Name?: GameSessionQueueName; - /** - * Amazon Resource Name (ARN) that is assigned to a game session queue and uniquely identifies it. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. - */ - GameSessionQueueArn?: ArnStringModel; - /** - * Maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a TIMED_OUT status. - */ - TimeoutInSeconds?: WholeNumber; - /** - * Collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, it is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. - */ - PlayerLatencyPolicies?: PlayerLatencyPolicyList; - /** - * List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order. - */ - Destinations?: GameSessionQueueDestinationList; - } - export interface GameSessionQueueDestination { - /** - * Amazon Resource Name (ARN) assigned to fleet or fleet alias. ARNs, which include a fleet ID or alias ID and a region name, provide a unique identifier across all regions. - */ - DestinationArn?: ArnStringModel; - } - export type GameSessionQueueDestinationList = GameSessionQueueDestination[]; - export type GameSessionQueueList = GameSessionQueue[]; - export type GameSessionQueueName = string; - export type GameSessionQueueNameList = GameSessionQueueName[]; - export type GameSessionStatus = "ACTIVE"|"ACTIVATING"|"TERMINATED"|"TERMINATING"|"ERROR"|string; - export interface GetGameSessionLogUrlInput { - /** - * Unique identifier for the game session to get logs for. - */ - GameSessionId: ArnStringModel; - } - export interface GetGameSessionLogUrlOutput { - /** - * Location of the requested game session logs, available for download. - */ - PreSignedUrl?: NonZeroAndMaxString; - } - export interface GetInstanceAccessInput { - /** - * Unique identifier for a fleet that contains the instance you want access to. The fleet can be in any of the following statuses: ACTIVATING, ACTIVE, or ERROR. Fleets with an ERROR status may be accessible for a short time before they are deleted. - */ - FleetId: FleetId; - /** - * Unique identifier for an instance you want to get access to. You can access an instance in any status. - */ - InstanceId: InstanceId; - } - export interface GetInstanceAccessOutput { - /** - * Object that contains connection information for a fleet instance, including IP address and access credentials. - */ - InstanceAccess?: InstanceAccess; - } - export type IdStringModel = string; - export interface Instance { - /** - * Unique identifier for a fleet that the instance is in. - */ - FleetId?: FleetId; - /** - * Unique identifier for an instance. - */ - InstanceId?: InstanceId; - /** - * IP address assigned to the instance. - */ - IpAddress?: IpAddress; - /** - * Operating system that is running on this instance. - */ - OperatingSystem?: OperatingSystem; - /** - * EC2 instance type that defines the computing resources of this instance. - */ - Type?: EC2InstanceType; - /** - * Current status of the instance. Possible statuses include the following: PENDING – The instance is in the process of being created and launching server processes as defined in the fleet's run-time configuration. ACTIVE – The instance has been successfully created and at least one server process has successfully launched and reported back to Amazon GameLift that it is ready to host a game session. The instance is now considered ready to host game sessions. TERMINATING – The instance is in the process of shutting down. This may happen to reduce capacity during a scaling down event or to recycle resources in the event of a problem. - */ - Status?: InstanceStatus; - /** - * Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - CreationTime?: Timestamp; - } - export interface InstanceAccess { - /** - * Unique identifier for a fleet containing the instance being accessed. - */ - FleetId?: FleetId; - /** - * Unique identifier for an instance being accessed. - */ - InstanceId?: InstanceId; - /** - * IP address assigned to the instance. - */ - IpAddress?: IpAddress; - /** - * Operating system that is running on the instance. - */ - OperatingSystem?: OperatingSystem; - /** - * Credentials required to access the instance. - */ - Credentials?: InstanceCredentials; - } - export interface InstanceCredentials { - /** - * User login string. - */ - UserName?: NonEmptyString; - /** - * Secret string. For Windows instances, the secret is a password for use with Windows Remote Desktop. For Linux instances, it is a private key (which must be saved as a .pem file) for use with SSH. - */ - Secret?: NonEmptyString; - } - export type InstanceId = string; - export type InstanceList = Instance[]; - export type InstanceStatus = "PENDING"|"ACTIVE"|"TERMINATING"|string; - export type Integer = number; - export type IpAddress = string; - export interface IpPermission { - /** - * Starting value for a range of allowed port numbers. - */ - FromPort: PortNumber; - /** - * Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort. - */ - ToPort: PortNumber; - /** - * Range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "000.000.000.000/[subnet mask]" or optionally the shortened version "0.0.0.0/[subnet mask]". - */ - IpRange: NonBlankString; - /** - * Network communication protocol used by the fleet. - */ - Protocol: IpProtocol; - } - export type IpPermissionsList = IpPermission[]; - export type IpProtocol = "TCP"|"UDP"|string; - export interface ListAliasesInput { - /** - * Type of routing to filter results on. Use this parameter to retrieve only aliases of a certain type. To retrieve all aliases, leave this parameter empty. Possible routing types include the following: SIMPLE – The alias resolves to one specific fleet. Use this type when routing to active fleets. TERMINAL – The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded. - */ - RoutingStrategyType?: RoutingStrategyType; - /** - * Descriptive label that is associated with an alias. Alias names do not need to be unique. - */ - Name?: NonEmptyString; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. - */ - NextToken?: NonEmptyString; - } - export interface ListAliasesOutput { - /** - * Collection of alias records that match the list request. - */ - Aliases?: AliasList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonEmptyString; - } - export interface ListBuildsInput { - /** - * Build status to filter results by. To retrieve all builds, leave this parameter empty. Possible build statuses include the following: INITIALIZED – A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value. READY – The game build has been successfully uploaded. You can now create new fleets for this build. FAILED – The game build upload failed. You cannot create new fleets for this build. - */ - Status?: BuildStatus; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. - */ - NextToken?: NonEmptyString; - } - export interface ListBuildsOutput { - /** - * Collection of build records that match the request. - */ - Builds?: BuildList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonEmptyString; - } - export interface ListFleetsInput { - /** - * Unique identifier for a build to return fleets for. Use this parameter to return only fleets using the specified build. To retrieve all fleets, leave this parameter empty. - */ - BuildId?: BuildId; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. - */ - NextToken?: NonZeroAndMaxString; - } - export interface ListFleetsOutput { - /** - * Set of fleet IDs matching the list request. You can retrieve additional information about all returned fleets by passing this result set to a call to DescribeFleetAttributes, DescribeFleetCapacity, or DescribeFleetUtilization. - */ - FleetIds?: FleetIdList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export type MaxConcurrentGameSessionActivations = number; - export type MetricGroup = string; - export type MetricGroupList = MetricGroup[]; - export type MetricName = "ActivatingGameSessions"|"ActiveGameSessions"|"ActiveInstances"|"AvailableGameSessions"|"AvailablePlayerSessions"|"CurrentPlayerSessions"|"IdleInstances"|"PercentAvailableGameSessions"|"PercentIdleInstances"|"QueueDepth"|"WaitTime"|string; - export type NonBlankAndLengthConstraintString = string; - export type NonBlankString = string; - export type NonEmptyString = string; - export type NonZeroAndMaxString = string; - export type OperatingSystem = "WINDOWS_2012"|"AMAZON_LINUX"|string; - export interface PlacedPlayerSession { - /** - * Unique identifier for a player that is associated with this player session. - */ - PlayerId?: NonZeroAndMaxString; - /** - * Unique identifier for a player session. - */ - PlayerSessionId?: PlayerSessionId; - } - export type PlacedPlayerSessionList = PlacedPlayerSession[]; - export type PlayerData = string; - export type PlayerDataMap = {[key: string]: PlayerData}; - export type PlayerIdList = NonZeroAndMaxString[]; - export interface PlayerLatency { - /** - * Unique identifier for a player associated with the latency data. - */ - PlayerId?: NonZeroAndMaxString; - /** - * Name of the region that is associated with the latency value. - */ - RegionIdentifier?: NonZeroAndMaxString; - /** - * Amount of time that represents the time lag experienced by the player when connected to the specified region. - */ - LatencyInMilliseconds?: Float; - } - export type PlayerLatencyList = PlayerLatency[]; - export interface PlayerLatencyPolicy { - /** - * The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property. - */ - MaximumIndividualPlayerLatencyMilliseconds?: WholeNumber; - /** - * The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out. - */ - PolicyDurationSeconds?: WholeNumber; - } - export type PlayerLatencyPolicyList = PlayerLatencyPolicy[]; - export interface PlayerSession { - /** - * Unique identifier for a player session. - */ - PlayerSessionId?: PlayerSessionId; - /** - * Unique identifier for a player that is associated with this player session. - */ - PlayerId?: NonZeroAndMaxString; - /** - * Unique identifier for the game session that the player session is connected to. - */ - GameSessionId?: NonZeroAndMaxString; - /** - * Unique identifier for a fleet that the player's game session is running on. - */ - FleetId?: FleetId; - /** - * Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - CreationTime?: Timestamp; - /** - * Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). - */ - TerminationTime?: Timestamp; - /** - * Current status of the player session. Possible player session statuses include the following: RESERVED – The player session request has been received, but the player has not yet connected to the server process and/or been validated. ACTIVE – The player has been validated by the server process and is currently connected. COMPLETED – The player connection has been dropped. TIMEDOUT – A player session request was received, but the player did not connect and/or was not validated within the time-out limit (60 seconds). - */ - Status?: PlayerSessionStatus; - /** - * IP address of the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. - */ - IpAddress?: IpAddress; - /** - * Port number for the game session. To connect to a Amazon GameLift server process, an app needs both the IP address and port number. - */ - Port?: PortNumber; - /** - * Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. - */ - PlayerData?: PlayerData; - } - export type PlayerSessionCreationPolicy = "ACCEPT_ALL"|"DENY_ALL"|string; - export type PlayerSessionId = string; - export type PlayerSessionList = PlayerSession[]; - export type PlayerSessionStatus = "RESERVED"|"ACTIVE"|"COMPLETED"|"TIMEDOUT"|string; - export type PortNumber = number; - export type PositiveInteger = number; - export type PositiveLong = number; - export type ProtectionPolicy = "NoProtection"|"FullProtection"|string; - export interface PutScalingPolicyInput { - /** - * Descriptive label that is associated with a scaling policy. Policy names do not need to be unique. A fleet can have only one scaling policy with the same name. - */ - Name: NonZeroAndMaxString; - /** - * Unique identifier for a fleet to apply this policy to. - */ - FleetId: FleetId; - /** - * Amount of adjustment to make, based on the scaling adjustment type. - */ - ScalingAdjustment: Integer; - /** - * Type of adjustment to make to a fleet's instance count (see FleetCapacity): ChangeInCapacity – add (or subtract) the scaling adjustment value from the current instance count. Positive values scale up while negative values scale down. ExactCapacity – set the instance count to the scaling adjustment value. PercentChangeInCapacity – increase or reduce the current instance count by the scaling adjustment, read as a percentage. Positive values scale up while negative values scale down; for example, a value of "-10" scales the fleet down by 10%. - */ - ScalingAdjustmentType: ScalingAdjustmentType; - /** - * Metric value used to trigger a scaling event. - */ - Threshold: Double; - /** - * Comparison operator to use when measuring the metric against the threshold value. - */ - ComparisonOperator: ComparisonOperatorType; - /** - * Length of time (in minutes) the metric must be at or beyond the threshold before a scaling event is triggered. - */ - EvaluationPeriods: PositiveInteger; - /** - * Name of the Amazon GameLift-defined metric that is used to trigger an adjustment. ActivatingGameSessions – number of game sessions in the process of being created (game session status = ACTIVATING). ActiveGameSessions – number of game sessions currently running (game session status = ACTIVE). CurrentPlayerSessions – number of active or reserved player sessions (player session status = ACTIVE or RESERVED). AvailablePlayerSessions – number of player session slots currently available in active game sessions across the fleet, calculated by subtracting a game session's current player session count from its maximum player session count. This number includes game sessions that are not currently accepting players (game session PlayerSessionCreationPolicy = DENY_ALL). ActiveInstances – number of instances currently running a game session. IdleInstances – number of instances not currently running a game session. - */ - MetricName: MetricName; - } - export interface PutScalingPolicyOutput { - /** - * Descriptive label that is associated with a scaling policy. Policy names do not need to be unique. - */ - Name?: NonZeroAndMaxString; - } - export interface RequestUploadCredentialsInput { - /** - * Unique identifier for a build to get credentials for. - */ - BuildId: BuildId; - } - export interface RequestUploadCredentialsOutput { - /** - * AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. - */ - UploadCredentials?: AwsCredentials; - /** - * Amazon S3 path and key, identifying where the game build files are stored. - */ - StorageLocation?: S3Location; - } - export interface ResolveAliasInput { - /** - * Unique identifier for the alias you want to resolve. - */ - AliasId: AliasId; - } - export interface ResolveAliasOutput { - /** - * Fleet identifier that is associated with the requested alias. - */ - FleetId?: FleetId; - } - export interface ResourceCreationLimitPolicy { - /** - * Maximum number of game sessions that an individual can create during the policy period. - */ - NewGameSessionsPerCreator?: WholeNumber; - /** - * Time span used in evaluating the resource creation limit policy. - */ - PolicyPeriodInMinutes?: WholeNumber; - } - export interface RoutingStrategy { - /** - * Type of routing strategy. Possible routing types include the following: SIMPLE – The alias resolves to one specific fleet. Use this type when routing to active fleets. TERMINAL – The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded. - */ - Type?: RoutingStrategyType; - /** - * Unique identifier for a fleet that the alias points to. - */ - FleetId?: FleetId; - /** - * Message text to be used with a terminal routing strategy. - */ - Message?: FreeText; - } - export type RoutingStrategyType = "SIMPLE"|"TERMINAL"|string; - export interface RuntimeConfiguration { - /** - * Collection of server process configurations that describe which server processes to run on each instance in a fleet. - */ - ServerProcesses?: ServerProcessList; - /** - * Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously. This setting limits the amount of instance resources that can be used for new game activations at any one time. - */ - MaxConcurrentGameSessionActivations?: MaxConcurrentGameSessionActivations; - /** - * Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING. If the game session is not active before the timeout, activation is terminated and the game session status is changed to TERMINATED. - */ - GameSessionActivationTimeoutSeconds?: GameSessionActivationTimeoutSeconds; - } - export interface S3Location { - /** - * Amazon S3 bucket identifier. This is the name of your S3 bucket. - */ - Bucket?: NonEmptyString; - /** - * Name of the zip file containing your build files. - */ - Key?: NonEmptyString; - /** - * Amazon Resource Name (ARN) for the access role that allows Amazon GameLift to access your S3 bucket. - */ - RoleArn?: NonEmptyString; - } - export type ScalingAdjustmentType = "ChangeInCapacity"|"ExactCapacity"|"PercentChangeInCapacity"|string; - export interface ScalingPolicy { - /** - * Unique identifier for a fleet that is associated with this scaling policy. - */ - FleetId?: FleetId; - /** - * Descriptive label that is associated with a scaling policy. Policy names do not need to be unique. - */ - Name?: NonZeroAndMaxString; - /** - * Current status of the scaling policy. The scaling policy is only in force when in an ACTIVE status. ACTIVE – The scaling policy is currently in force. UPDATE_REQUESTED – A request to update the scaling policy has been received. UPDATING – A change is being made to the scaling policy. DELETE_REQUESTED – A request to delete the scaling policy has been received. DELETING – The scaling policy is being deleted. DELETED – The scaling policy has been deleted. ERROR – An error occurred in creating the policy. It should be removed and recreated. - */ - Status?: ScalingStatusType; - /** - * Amount of adjustment to make, based on the scaling adjustment type. - */ - ScalingAdjustment?: Integer; - /** - * Type of adjustment to make to a fleet's instance count (see FleetCapacity): ChangeInCapacity – add (or subtract) the scaling adjustment value from the current instance count. Positive values scale up while negative values scale down. ExactCapacity – set the instance count to the scaling adjustment value. PercentChangeInCapacity – increase or reduce the current instance count by the scaling adjustment, read as a percentage. Positive values scale up while negative values scale down. - */ - ScalingAdjustmentType?: ScalingAdjustmentType; - /** - * Comparison operator to use when measuring a metric against the threshold value. - */ - ComparisonOperator?: ComparisonOperatorType; - /** - * Metric value used to trigger a scaling event. - */ - Threshold?: Double; - /** - * Length of time (in minutes) the metric must be at or beyond the threshold before a scaling event is triggered. - */ - EvaluationPeriods?: PositiveInteger; - /** - * Name of the Amazon GameLift-defined metric that is used to trigger an adjustment. ActivatingGameSessions – number of game sessions in the process of being created (game session status = ACTIVATING). ActiveGameSessions – number of game sessions currently running (game session status = ACTIVE). CurrentPlayerSessions – number of active or reserved player sessions (player session status = ACTIVE or RESERVED). AvailablePlayerSessions – number of player session slots currently available in active game sessions across the fleet, calculated by subtracting a game session's current player session count from its maximum player session count. This number does include game sessions that are not currently accepting players (game session PlayerSessionCreationPolicy = DENY_ALL). ActiveInstances – number of instances currently running a game session. IdleInstances – number of instances not currently running a game session. - */ - MetricName?: MetricName; - } - export type ScalingPolicyList = ScalingPolicy[]; - export type ScalingStatusType = "ACTIVE"|"UPDATE_REQUESTED"|"UPDATING"|"DELETE_REQUESTED"|"DELETING"|"DELETED"|"ERROR"|string; - export interface SearchGameSessionsInput { - /** - * Unique identifier for a fleet to search for active game sessions. Each request must reference either a fleet ID or alias ID, but not both. - */ - FleetId?: FleetId; - /** - * Unique identifier for an alias associated with the fleet to search for active game sessions. Each request must reference either a fleet ID or alias ID, but not both. - */ - AliasId?: AliasId; - /** - * String containing the search criteria for the session search. If no filter expression is included, the request returns results for all game sessions in the fleet that are in ACTIVE status. A filter expression can contain one or multiple conditions. Each condition consists of the following: Operand -- Name of a game session attribute. Valid values are gameSessionName, gameSessionId, creationTimeMillis, playerSessionCount, maximumSessions, hasAvailablePlayerSessions. Comparator -- Valid comparators are: =, <>, <, >, <=, >=. Value -- Value to be searched for. Values can be numbers, boolean values (true/false) or strings. String values are case sensitive, enclosed in single quotes. Special characters must be escaped. Boolean and string values can only be used with the comparators = and <>. For example, the following filter expression searches on gameSessionName: "FilterExpression": "gameSessionName = 'Matt\\'s Awesome Game 1'". To chain multiple conditions in a single expression, use the logical keywords AND, OR, and NOT and parentheses as needed. For example: x AND y AND NOT z, NOT (x OR y). Session search evaluates conditions from left to right using the following precedence rules: =, <>, <, >, <=, >= Parentheses NOT AND OR For example, this filter expression retrieves game sessions hosting at least ten players that have an open player slot: "maximumSessions>=10 AND hasAvailablePlayerSessions=true". - */ - FilterExpression?: NonZeroAndMaxString; - /** - * Instructions on how to sort the search results. If no sort expression is included, the request returns results in random order. A sort expression consists of the following elements: Operand -- Name of a game session attribute. Valid values are gameSessionName, gameSessionId, creationTimeMillis, playerSessionCount, maximumSessions, hasAvailablePlayerSessions. Order -- Valid sort orders are ASC (ascending) and DESC (descending). For example, this sort expression returns the oldest active sessions first: "SortExpression": "creationTimeMillis ASC". Results with a null value for the sort operand are returned at the end of the list. - */ - SortExpression?: NonZeroAndMaxString; - /** - * Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. The maximum number of results returned is 20, even if this value is not set or is set higher than 20. - */ - Limit?: PositiveInteger; - /** - * Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. - */ - NextToken?: NonZeroAndMaxString; - } - export interface SearchGameSessionsOutput { - /** - * Collection of objects containing game session properties for each session matching the request. - */ - GameSessions?: GameSessionList; - /** - * Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list. - */ - NextToken?: NonZeroAndMaxString; - } - export interface ServerProcess { - /** - * Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances C:\game, and for Linux instances /local/game. A Windows game build with an executable file located at MyGame\latest\server.exe must have a launch path of "C:\game\MyGame\latest\server.exe". A Linux game build with an executable file located at MyGame/latest/server.exe must have a launch path of "/local/game/MyGame/latest/server.exe". - */ - LaunchPath: NonZeroAndMaxString; - /** - * Optional list of parameters to pass to the server executable on launch. - */ - Parameters?: NonZeroAndMaxString; - /** - * Number of server processes using this configuration to run concurrently on an instance. - */ - ConcurrentExecutions: PositiveInteger; - } - export type ServerProcessList = ServerProcess[]; - export interface StartGameSessionPlacementInput { - /** - * Unique identifier to assign to the new game session placement. This value is developer-defined. The value must be unique across all regions and cannot be reused unless you are resubmitting a canceled or timed-out placement request. - */ - PlacementId: IdStringModel; - /** - * Name of the queue to use to place the new game session. - */ - GameSessionQueueName: GameSessionQueueName; - /** - * Set of developer-defined properties for a game session. These properties are passed to the server process hosting the game session. - */ - GameProperties?: GamePropertyList; - /** - * Maximum number of players that can be connected simultaneously to the game session. - */ - MaximumPlayerSessionCount: WholeNumber; - /** - * Descriptive label that is associated with a game session. Session names do not need to be unique. - */ - GameSessionName?: NonZeroAndMaxString; - /** - * Set of values, expressed in milliseconds, indicating the amount of latency that players are experiencing when connected to AWS regions. This information is used to try to place the new game session where it can offer the best possible gameplay experience for the players. - */ - PlayerLatencies?: PlayerLatencyList; - /** - * Set of information on each player to create a player session for. - */ - DesiredPlayerSessions?: DesiredPlayerSessionList; - } - export interface StartGameSessionPlacementOutput { - /** - * Object that describes the newly created game session placement. This object includes all the information provided in the request, as well as start/end time stamps and placement status. - */ - GameSessionPlacement?: GameSessionPlacement; - } - export interface StopGameSessionPlacementInput { - /** - * Unique identifier for a game session placement to cancel. - */ - PlacementId: IdStringModel; - } - export interface StopGameSessionPlacementOutput { - /** - * Object that describes the canceled game session placement, with Cancelled status and an end time stamp. - */ - GameSessionPlacement?: GameSessionPlacement; - } - export type StringList = NonZeroAndMaxString[]; - export type Timestamp = Date; - export interface UpdateAliasInput { - /** - * Unique identifier for a fleet alias. Specify the alias you want to update. - */ - AliasId: AliasId; - /** - * Descriptive label that is associated with an alias. Alias names do not need to be unique. - */ - Name?: NonBlankAndLengthConstraintString; - /** - * Human-readable description of an alias. - */ - Description?: NonZeroAndMaxString; - /** - * Object that specifies the fleet and routing type to use for the alias. - */ - RoutingStrategy?: RoutingStrategy; - } - export interface UpdateAliasOutput { - /** - * Object that contains the updated alias configuration. - */ - Alias?: Alias; - } - export interface UpdateBuildInput { - /** - * Unique identifier for a build to update. - */ - BuildId: BuildId; - /** - * Descriptive label that is associated with a build. Build names do not need to be unique. - */ - Name?: NonZeroAndMaxString; - /** - * Version that is associated with this build. Version strings do not need to be unique. - */ - Version?: NonZeroAndMaxString; - } - export interface UpdateBuildOutput { - /** - * Object that contains the updated build record. - */ - Build?: Build; - } - export interface UpdateFleetAttributesInput { - /** - * Unique identifier for a fleet to update attribute metadata for. - */ - FleetId: FleetId; - /** - * Descriptive label that is associated with a fleet. Fleet names do not need to be unique. - */ - Name?: NonZeroAndMaxString; - /** - * Human-readable description of a fleet. - */ - Description?: NonZeroAndMaxString; - /** - * Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession. NoProtection – The game session can be terminated during a scale-down event. FullProtection – If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event. - */ - NewGameSessionProtectionPolicy?: ProtectionPolicy; - /** - * Policy that limits the number of game sessions an individual player can create over a span of time. - */ - ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy; - /** - * Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is to aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group. Or use a new name to create a new metric group. A fleet can only be included in one metric group at a time. - */ - MetricGroups?: MetricGroupList; - } - export interface UpdateFleetAttributesOutput { - /** - * Unique identifier for a fleet that was updated. - */ - FleetId?: FleetId; - } - export interface UpdateFleetCapacityInput { - /** - * Unique identifier for a fleet to update capacity for. - */ - FleetId: FleetId; - /** - * Number of EC2 instances you want this fleet to host. - */ - DesiredInstances?: WholeNumber; - /** - * Minimum value allowed for the fleet's instance count. Default if not set is 0. - */ - MinSize?: WholeNumber; - /** - * Maximum value allowed for the fleet's instance count. Default if not set is 1. - */ - MaxSize?: WholeNumber; - } - export interface UpdateFleetCapacityOutput { - /** - * Unique identifier for a fleet that was updated. - */ - FleetId?: FleetId; - } - export interface UpdateFleetPortSettingsInput { - /** - * Unique identifier for a fleet to update port settings for. - */ - FleetId: FleetId; - /** - * Collection of port settings to be added to the fleet record. - */ - InboundPermissionAuthorizations?: IpPermissionsList; - /** - * Collection of port settings to be removed from the fleet record. - */ - InboundPermissionRevocations?: IpPermissionsList; - } - export interface UpdateFleetPortSettingsOutput { - /** - * Unique identifier for a fleet that was updated. - */ - FleetId?: FleetId; - } - export interface UpdateGameSessionInput { - /** - * Unique identifier for the game session to update. - */ - GameSessionId: ArnStringModel; - /** - * Maximum number of players that can be connected simultaneously to the game session. - */ - MaximumPlayerSessionCount?: WholeNumber; - /** - * Descriptive label that is associated with a game session. Session names do not need to be unique. - */ - Name?: NonZeroAndMaxString; - /** - * Policy determining whether or not the game session accepts new players. - */ - PlayerSessionCreationPolicy?: PlayerSessionCreationPolicy; - /** - * Game session protection policy to apply to this game session only. NoProtection – The game session can be terminated during a scale-down event. FullProtection – If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event. - */ - ProtectionPolicy?: ProtectionPolicy; - } - export interface UpdateGameSessionOutput { - /** - * Object that contains the updated game session metadata. - */ - GameSession?: GameSession; - } - export interface UpdateGameSessionQueueInput { - /** - * Descriptive label that is associated with queue. Queue names must be unique within each region. - */ - Name: GameSessionQueueName; - /** - * Maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a TIMED_OUT status. - */ - TimeoutInSeconds?: WholeNumber; - /** - * Collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, it is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. When updating policies, provide a complete collection of policies. - */ - PlayerLatencyPolicies?: PlayerLatencyPolicyList; - /** - * List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order. When updating this list, provide a complete list of destinations. - */ - Destinations?: GameSessionQueueDestinationList; - } - export interface UpdateGameSessionQueueOutput { - /** - * Object that describes the newly updated game session queue. - */ - GameSessionQueue?: GameSessionQueue; - } - export interface UpdateRuntimeConfigurationInput { - /** - * Unique identifier for a fleet to update run-time configuration for. - */ - FleetId: FleetId; - /** - * Instructions for launching server processes on each instance in the fleet. The run-time configuration for a fleet has a collection of server process configurations, one for each type of server process to run on an instance. A server process configuration specifies the location of the server executable, launch parameters, and the number of concurrent processes with that configuration to maintain on each instance. - */ - RuntimeConfiguration: RuntimeConfiguration; - } - export interface UpdateRuntimeConfigurationOutput { - /** - * The run-time configuration currently in force. If the update was successful, this object matches the one in the request. - */ - RuntimeConfiguration?: RuntimeConfiguration; - } - export type WholeNumber = number; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-10-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the GameLift client. - */ - export import Types = GameLift; -} -export = GameLift; diff --git a/src/node_modules/aws-sdk/clients/gamelift.js b/src/node_modules/aws-sdk/clients/gamelift.js deleted file mode 100644 index 556d1b6..0000000 --- a/src/node_modules/aws-sdk/clients/gamelift.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['gamelift'] = {}; -AWS.GameLift = Service.defineService('gamelift', ['2015-10-01']); -Object.defineProperty(apiLoader.services['gamelift'], '2015-10-01', { - get: function get() { - var model = require('../apis/gamelift-2015-10-01.min.json'); - model.paginators = require('../apis/gamelift-2015-10-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.GameLift; diff --git a/src/node_modules/aws-sdk/clients/glacier.d.ts b/src/node_modules/aws-sdk/clients/glacier.d.ts deleted file mode 100644 index 1a7dbf2..0000000 --- a/src/node_modules/aws-sdk/clients/glacier.d.ts +++ /dev/null @@ -1,1239 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {GlacierCustomizations} from '../lib/services/glacier'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Glacier extends GlacierCustomizations { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Glacier.Types.ClientConfiguration) - config: Config & Glacier.Types.ClientConfiguration; - /** - * This operation aborts a multipart upload identified by the upload ID. After the Abort Multipart Upload request succeeds, you cannot upload any more parts to the multipart upload or complete the multipart upload. Aborting a completed upload fails. However, aborting an already-aborted upload will succeed, for a short time. For more information about uploading a part and completing a multipart upload, see UploadMultipartPart and CompleteMultipartUpload. This operation is idempotent. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Working with Archives in Amazon Glacier and Abort Multipart Upload in the Amazon Glacier Developer Guide. - */ - abortMultipartUpload(params: Glacier.Types.AbortMultipartUploadInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation aborts a multipart upload identified by the upload ID. After the Abort Multipart Upload request succeeds, you cannot upload any more parts to the multipart upload or complete the multipart upload. Aborting a completed upload fails. However, aborting an already-aborted upload will succeed, for a short time. For more information about uploading a part and completing a multipart upload, see UploadMultipartPart and CompleteMultipartUpload. This operation is idempotent. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Working with Archives in Amazon Glacier and Abort Multipart Upload in the Amazon Glacier Developer Guide. - */ - abortMultipartUpload(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation aborts the vault locking process if the vault lock is not in the Locked state. If the vault lock is in the Locked state when this operation is requested, the operation returns an AccessDeniedException error. Aborting the vault locking process removes the vault lock policy from the specified vault. A vault lock is put into the InProgress state by calling InitiateVaultLock. A vault lock is put into the Locked state by calling CompleteVaultLock. You can get the state of a vault lock by calling GetVaultLock. For more information about the vault locking process, see Amazon Glacier Vault Lock. For more information about vault lock policies, see Amazon Glacier Access Control with Vault Lock Policies. This operation is idempotent. You can successfully invoke this operation multiple times, if the vault lock is in the InProgress state or if there is no policy associated with the vault. - */ - abortVaultLock(params: Glacier.Types.AbortVaultLockInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation aborts the vault locking process if the vault lock is not in the Locked state. If the vault lock is in the Locked state when this operation is requested, the operation returns an AccessDeniedException error. Aborting the vault locking process removes the vault lock policy from the specified vault. A vault lock is put into the InProgress state by calling InitiateVaultLock. A vault lock is put into the Locked state by calling CompleteVaultLock. You can get the state of a vault lock by calling GetVaultLock. For more information about the vault locking process, see Amazon Glacier Vault Lock. For more information about vault lock policies, see Amazon Glacier Access Control with Vault Lock Policies. This operation is idempotent. You can successfully invoke this operation multiple times, if the vault lock is in the InProgress state or if there is no policy associated with the vault. - */ - abortVaultLock(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation adds the specified tags to a vault. Each tag is composed of a key and a value. Each vault can have up to 10 tags. If your request would cause the tag limit for the vault to be exceeded, the operation throws the LimitExceededException error. If a tag already exists on the vault under a specified key, the existing key value will be overwritten. For more information about tags, see Tagging Amazon Glacier Resources. - */ - addTagsToVault(params: Glacier.Types.AddTagsToVaultInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation adds the specified tags to a vault. Each tag is composed of a key and a value. Each vault can have up to 10 tags. If your request would cause the tag limit for the vault to be exceeded, the operation throws the LimitExceededException error. If a tag already exists on the vault under a specified key, the existing key value will be overwritten. For more information about tags, see Tagging Amazon Glacier Resources. - */ - addTagsToVault(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * You call this operation to inform Amazon Glacier that all the archive parts have been uploaded and that Amazon Glacier can now assemble the archive from the uploaded parts. After assembling and saving the archive to the vault, Amazon Glacier returns the URI path of the newly created archive resource. Using the URI path, you can then access the archive. After you upload an archive, you should save the archive ID returned to retrieve the archive at a later point. You can also get the vault inventory to obtain a list of archive IDs in a vault. For more information, see InitiateJob. In the request, you must include the computed SHA256 tree hash of the entire archive you have uploaded. For information about computing a SHA256 tree hash, see Computing Checksums. On the server side, Amazon Glacier also constructs the SHA256 tree hash of the assembled archive. If the values match, Amazon Glacier saves the archive to the vault; otherwise, it returns an error, and the operation fails. The ListParts operation returns a list of parts uploaded for a specific multipart upload. It includes checksum information for each uploaded part that can be used to debug a bad checksum issue. Additionally, Amazon Glacier also checks for any missing content ranges when assembling the archive, if missing content ranges are found, Amazon Glacier returns an error and the operation fails. Complete Multipart Upload is an idempotent operation. After your first successful complete multipart upload, if you call the operation again within a short period, the operation will succeed and return the same archive ID. This is useful in the event you experience a network issue that causes an aborted connection or receive a 500 server error, in which case you can repeat your Complete Multipart Upload request and get the same archive ID without creating duplicate archives. Note, however, that after the multipart upload completes, you cannot call the List Parts operation and the multipart upload will not appear in List Multipart Uploads response, even if idempotent complete is possible. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Uploading Large Archives in Parts (Multipart Upload) and Complete Multipart Upload in the Amazon Glacier Developer Guide. - */ - completeMultipartUpload(params: Glacier.Types.CompleteMultipartUploadInput, callback?: (err: AWSError, data: Glacier.Types.ArchiveCreationOutput) => void): Request; - /** - * You call this operation to inform Amazon Glacier that all the archive parts have been uploaded and that Amazon Glacier can now assemble the archive from the uploaded parts. After assembling and saving the archive to the vault, Amazon Glacier returns the URI path of the newly created archive resource. Using the URI path, you can then access the archive. After you upload an archive, you should save the archive ID returned to retrieve the archive at a later point. You can also get the vault inventory to obtain a list of archive IDs in a vault. For more information, see InitiateJob. In the request, you must include the computed SHA256 tree hash of the entire archive you have uploaded. For information about computing a SHA256 tree hash, see Computing Checksums. On the server side, Amazon Glacier also constructs the SHA256 tree hash of the assembled archive. If the values match, Amazon Glacier saves the archive to the vault; otherwise, it returns an error, and the operation fails. The ListParts operation returns a list of parts uploaded for a specific multipart upload. It includes checksum information for each uploaded part that can be used to debug a bad checksum issue. Additionally, Amazon Glacier also checks for any missing content ranges when assembling the archive, if missing content ranges are found, Amazon Glacier returns an error and the operation fails. Complete Multipart Upload is an idempotent operation. After your first successful complete multipart upload, if you call the operation again within a short period, the operation will succeed and return the same archive ID. This is useful in the event you experience a network issue that causes an aborted connection or receive a 500 server error, in which case you can repeat your Complete Multipart Upload request and get the same archive ID without creating duplicate archives. Note, however, that after the multipart upload completes, you cannot call the List Parts operation and the multipart upload will not appear in List Multipart Uploads response, even if idempotent complete is possible. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Uploading Large Archives in Parts (Multipart Upload) and Complete Multipart Upload in the Amazon Glacier Developer Guide. - */ - completeMultipartUpload(callback?: (err: AWSError, data: Glacier.Types.ArchiveCreationOutput) => void): Request; - /** - * This operation completes the vault locking process by transitioning the vault lock from the InProgress state to the Locked state, which causes the vault lock policy to become unchangeable. A vault lock is put into the InProgress state by calling InitiateVaultLock. You can obtain the state of the vault lock by calling GetVaultLock. For more information about the vault locking process, Amazon Glacier Vault Lock. This operation is idempotent. This request is always successful if the vault lock is in the Locked state and the provided lock ID matches the lock ID originally used to lock the vault. If an invalid lock ID is passed in the request when the vault lock is in the Locked state, the operation returns an AccessDeniedException error. If an invalid lock ID is passed in the request when the vault lock is in the InProgress state, the operation throws an InvalidParameter error. - */ - completeVaultLock(params: Glacier.Types.CompleteVaultLockInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation completes the vault locking process by transitioning the vault lock from the InProgress state to the Locked state, which causes the vault lock policy to become unchangeable. A vault lock is put into the InProgress state by calling InitiateVaultLock. You can obtain the state of the vault lock by calling GetVaultLock. For more information about the vault locking process, Amazon Glacier Vault Lock. This operation is idempotent. This request is always successful if the vault lock is in the Locked state and the provided lock ID matches the lock ID originally used to lock the vault. If an invalid lock ID is passed in the request when the vault lock is in the Locked state, the operation returns an AccessDeniedException error. If an invalid lock ID is passed in the request when the vault lock is in the InProgress state, the operation throws an InvalidParameter error. - */ - completeVaultLock(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation creates a new vault with the specified name. The name of the vault must be unique within a region for an AWS account. You can create up to 1,000 vaults per account. If you need to create more vaults, contact Amazon Glacier. You must use the following guidelines when naming a vault. Names can be between 1 and 255 characters long. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), and '.' (period). This operation is idempotent. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Creating a Vault in Amazon Glacier and Create Vault in the Amazon Glacier Developer Guide. - */ - createVault(params: Glacier.Types.CreateVaultInput, callback?: (err: AWSError, data: Glacier.Types.CreateVaultOutput) => void): Request; - /** - * This operation creates a new vault with the specified name. The name of the vault must be unique within a region for an AWS account. You can create up to 1,000 vaults per account. If you need to create more vaults, contact Amazon Glacier. You must use the following guidelines when naming a vault. Names can be between 1 and 255 characters long. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), and '.' (period). This operation is idempotent. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Creating a Vault in Amazon Glacier and Create Vault in the Amazon Glacier Developer Guide. - */ - createVault(callback?: (err: AWSError, data: Glacier.Types.CreateVaultOutput) => void): Request; - /** - * This operation deletes an archive from a vault. Subsequent requests to initiate a retrieval of this archive will fail. Archive retrievals that are in progress for this archive ID may or may not succeed according to the following scenarios: If the archive retrieval job is actively preparing the data for download when Amazon Glacier receives the delete archive request, the archival retrieval operation might fail. If the archive retrieval job has successfully prepared the archive for download when Amazon Glacier receives the delete archive request, you will be able to download the output. This operation is idempotent. Attempting to delete an already-deleted archive does not result in an error. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Deleting an Archive in Amazon Glacier and Delete Archive in the Amazon Glacier Developer Guide. - */ - deleteArchive(params: Glacier.Types.DeleteArchiveInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation deletes an archive from a vault. Subsequent requests to initiate a retrieval of this archive will fail. Archive retrievals that are in progress for this archive ID may or may not succeed according to the following scenarios: If the archive retrieval job is actively preparing the data for download when Amazon Glacier receives the delete archive request, the archival retrieval operation might fail. If the archive retrieval job has successfully prepared the archive for download when Amazon Glacier receives the delete archive request, you will be able to download the output. This operation is idempotent. Attempting to delete an already-deleted archive does not result in an error. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Deleting an Archive in Amazon Glacier and Delete Archive in the Amazon Glacier Developer Guide. - */ - deleteArchive(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation deletes a vault. Amazon Glacier will delete a vault only if there are no archives in the vault as of the last inventory and there have been no writes to the vault since the last inventory. If either of these conditions is not satisfied, the vault deletion fails (that is, the vault is not removed) and Amazon Glacier returns an error. You can use DescribeVault to return the number of archives in a vault, and you can use Initiate a Job (POST jobs) to initiate a new inventory retrieval for a vault. The inventory contains the archive IDs you use to delete archives using Delete Archive (DELETE archive). This operation is idempotent. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Deleting a Vault in Amazon Glacier and Delete Vault in the Amazon Glacier Developer Guide. - */ - deleteVault(params: Glacier.Types.DeleteVaultInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation deletes a vault. Amazon Glacier will delete a vault only if there are no archives in the vault as of the last inventory and there have been no writes to the vault since the last inventory. If either of these conditions is not satisfied, the vault deletion fails (that is, the vault is not removed) and Amazon Glacier returns an error. You can use DescribeVault to return the number of archives in a vault, and you can use Initiate a Job (POST jobs) to initiate a new inventory retrieval for a vault. The inventory contains the archive IDs you use to delete archives using Delete Archive (DELETE archive). This operation is idempotent. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Deleting a Vault in Amazon Glacier and Delete Vault in the Amazon Glacier Developer Guide. - */ - deleteVault(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation deletes the access policy associated with the specified vault. The operation is eventually consistent; that is, it might take some time for Amazon Glacier to completely remove the access policy, and you might still see the effect of the policy for a short time after you send the delete request. This operation is idempotent. You can invoke delete multiple times, even if there is no policy associated with the vault. For more information about vault access policies, see Amazon Glacier Access Control with Vault Access Policies. - */ - deleteVaultAccessPolicy(params: Glacier.Types.DeleteVaultAccessPolicyInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation deletes the access policy associated with the specified vault. The operation is eventually consistent; that is, it might take some time for Amazon Glacier to completely remove the access policy, and you might still see the effect of the policy for a short time after you send the delete request. This operation is idempotent. You can invoke delete multiple times, even if there is no policy associated with the vault. For more information about vault access policies, see Amazon Glacier Access Control with Vault Access Policies. - */ - deleteVaultAccessPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation deletes the notification configuration set for a vault. The operation is eventually consistent; that is, it might take some time for Amazon Glacier to completely disable the notifications and you might still receive some notifications for a short time after you send the delete request. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Configuring Vault Notifications in Amazon Glacier and Delete Vault Notification Configuration in the Amazon Glacier Developer Guide. - */ - deleteVaultNotifications(params: Glacier.Types.DeleteVaultNotificationsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation deletes the notification configuration set for a vault. The operation is eventually consistent; that is, it might take some time for Amazon Glacier to completely disable the notifications and you might still receive some notifications for a short time after you send the delete request. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Configuring Vault Notifications in Amazon Glacier and Delete Vault Notification Configuration in the Amazon Glacier Developer Guide. - */ - deleteVaultNotifications(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation returns information about a job you previously initiated, including the job initiation date, the user who initiated the job, the job status code/message and the Amazon SNS topic to notify after Amazon Glacier completes the job. For more information about initiating a job, see InitiateJob. This operation enables you to check the status of your job. However, it is strongly recommended that you set up an Amazon SNS topic and specify it in your initiate job request so that Amazon Glacier can notify the topic after it completes the job. A job ID will not expire for at least 24 hours after Amazon Glacier completes the job. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For information about the underlying REST API, see Working with Archives in Amazon Glacier in the Amazon Glacier Developer Guide. - */ - describeJob(params: Glacier.Types.DescribeJobInput, callback?: (err: AWSError, data: Glacier.Types.GlacierJobDescription) => void): Request; - /** - * This operation returns information about a job you previously initiated, including the job initiation date, the user who initiated the job, the job status code/message and the Amazon SNS topic to notify after Amazon Glacier completes the job. For more information about initiating a job, see InitiateJob. This operation enables you to check the status of your job. However, it is strongly recommended that you set up an Amazon SNS topic and specify it in your initiate job request so that Amazon Glacier can notify the topic after it completes the job. A job ID will not expire for at least 24 hours after Amazon Glacier completes the job. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For information about the underlying REST API, see Working with Archives in Amazon Glacier in the Amazon Glacier Developer Guide. - */ - describeJob(callback?: (err: AWSError, data: Glacier.Types.GlacierJobDescription) => void): Request; - /** - * This operation returns information about a vault, including the vault's Amazon Resource Name (ARN), the date the vault was created, the number of archives it contains, and the total size of all the archives in the vault. The number of archives and their total size are as of the last inventory generation. This means that if you add or remove an archive from a vault, and then immediately use Describe Vault, the change in contents will not be immediately reflected. If you want to retrieve the latest inventory of the vault, use InitiateJob. Amazon Glacier generates vault inventories approximately daily. For more information, see Downloading a Vault Inventory in Amazon Glacier. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Retrieving Vault Metadata in Amazon Glacier and Describe Vault in the Amazon Glacier Developer Guide. - */ - describeVault(params: Glacier.Types.DescribeVaultInput, callback?: (err: AWSError, data: Glacier.Types.DescribeVaultOutput) => void): Request; - /** - * This operation returns information about a vault, including the vault's Amazon Resource Name (ARN), the date the vault was created, the number of archives it contains, and the total size of all the archives in the vault. The number of archives and their total size are as of the last inventory generation. This means that if you add or remove an archive from a vault, and then immediately use Describe Vault, the change in contents will not be immediately reflected. If you want to retrieve the latest inventory of the vault, use InitiateJob. Amazon Glacier generates vault inventories approximately daily. For more information, see Downloading a Vault Inventory in Amazon Glacier. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Retrieving Vault Metadata in Amazon Glacier and Describe Vault in the Amazon Glacier Developer Guide. - */ - describeVault(callback?: (err: AWSError, data: Glacier.Types.DescribeVaultOutput) => void): Request; - /** - * This operation returns the current data retrieval policy for the account and region specified in the GET request. For more information about data retrieval policies, see Amazon Glacier Data Retrieval Policies. - */ - getDataRetrievalPolicy(params: Glacier.Types.GetDataRetrievalPolicyInput, callback?: (err: AWSError, data: Glacier.Types.GetDataRetrievalPolicyOutput) => void): Request; - /** - * This operation returns the current data retrieval policy for the account and region specified in the GET request. For more information about data retrieval policies, see Amazon Glacier Data Retrieval Policies. - */ - getDataRetrievalPolicy(callback?: (err: AWSError, data: Glacier.Types.GetDataRetrievalPolicyOutput) => void): Request; - /** - * This operation downloads the output of the job you initiated using InitiateJob. Depending on the job type you specified when you initiated the job, the output will be either the content of an archive or a vault inventory. You can download all the job output or download a portion of the output by specifying a byte range. In the case of an archive retrieval job, depending on the byte range you specify, Amazon Glacier returns the checksum for the portion of the data. You can compute the checksum on the client and verify that the values match to ensure the portion you downloaded is the correct data. A job ID will not expire for at least 24 hours after Amazon Glacier completes the job. That a byte range. For both archive and inventory retrieval jobs, you should verify the downloaded size against the size returned in the headers from the Get Job Output response. For archive retrieval jobs, you should also verify that the size is what you expected. If you download a portion of the output, the expected size is based on the range of bytes you specified. For example, if you specify a range of bytes=0-1048575, you should verify your download size is 1,048,576 bytes. If you download an entire archive, the expected size is the size of the archive when you uploaded it to Amazon Glacier The expected size is also returned in the headers from the Get Job Output response. In the case of an archive retrieval job, depending on the byte range you specify, Amazon Glacier returns the checksum for the portion of the data. To ensure the portion you downloaded is the correct data, compute the checksum on the client, verify that the values match, and verify that the size is what you expected. A job ID does not expire for at least 24 hours after Amazon Glacier completes the job. That is, you can download the job output within the 24 hours period after Amazon Glacier completes the job. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and the underlying REST API, see Downloading a Vault Inventory, Downloading an Archive, and Get Job Output - */ - getJobOutput(params: Glacier.Types.GetJobOutputInput, callback?: (err: AWSError, data: Glacier.Types.GetJobOutputOutput) => void): Request; - /** - * This operation downloads the output of the job you initiated using InitiateJob. Depending on the job type you specified when you initiated the job, the output will be either the content of an archive or a vault inventory. You can download all the job output or download a portion of the output by specifying a byte range. In the case of an archive retrieval job, depending on the byte range you specify, Amazon Glacier returns the checksum for the portion of the data. You can compute the checksum on the client and verify that the values match to ensure the portion you downloaded is the correct data. A job ID will not expire for at least 24 hours after Amazon Glacier completes the job. That a byte range. For both archive and inventory retrieval jobs, you should verify the downloaded size against the size returned in the headers from the Get Job Output response. For archive retrieval jobs, you should also verify that the size is what you expected. If you download a portion of the output, the expected size is based on the range of bytes you specified. For example, if you specify a range of bytes=0-1048575, you should verify your download size is 1,048,576 bytes. If you download an entire archive, the expected size is the size of the archive when you uploaded it to Amazon Glacier The expected size is also returned in the headers from the Get Job Output response. In the case of an archive retrieval job, depending on the byte range you specify, Amazon Glacier returns the checksum for the portion of the data. To ensure the portion you downloaded is the correct data, compute the checksum on the client, verify that the values match, and verify that the size is what you expected. A job ID does not expire for at least 24 hours after Amazon Glacier completes the job. That is, you can download the job output within the 24 hours period after Amazon Glacier completes the job. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and the underlying REST API, see Downloading a Vault Inventory, Downloading an Archive, and Get Job Output - */ - getJobOutput(callback?: (err: AWSError, data: Glacier.Types.GetJobOutputOutput) => void): Request; - /** - * This operation retrieves the access-policy subresource set on the vault; for more information on setting this subresource, see Set Vault Access Policy (PUT access-policy). If there is no access policy set on the vault, the operation returns a 404 Not found error. For more information about vault access policies, see Amazon Glacier Access Control with Vault Access Policies. - */ - getVaultAccessPolicy(params: Glacier.Types.GetVaultAccessPolicyInput, callback?: (err: AWSError, data: Glacier.Types.GetVaultAccessPolicyOutput) => void): Request; - /** - * This operation retrieves the access-policy subresource set on the vault; for more information on setting this subresource, see Set Vault Access Policy (PUT access-policy). If there is no access policy set on the vault, the operation returns a 404 Not found error. For more information about vault access policies, see Amazon Glacier Access Control with Vault Access Policies. - */ - getVaultAccessPolicy(callback?: (err: AWSError, data: Glacier.Types.GetVaultAccessPolicyOutput) => void): Request; - /** - * This operation retrieves the following attributes from the lock-policy subresource set on the specified vault: The vault lock policy set on the vault. The state of the vault lock, which is either InProgess or Locked. When the lock ID expires. The lock ID is used to complete the vault locking process. When the vault lock was initiated and put into the InProgress state. A vault lock is put into the InProgress state by calling InitiateVaultLock. A vault lock is put into the Locked state by calling CompleteVaultLock. You can abort the vault locking process by calling AbortVaultLock. For more information about the vault locking process, Amazon Glacier Vault Lock. If there is no vault lock policy set on the vault, the operation returns a 404 Not found error. For more information about vault lock policies, Amazon Glacier Access Control with Vault Lock Policies. - */ - getVaultLock(params: Glacier.Types.GetVaultLockInput, callback?: (err: AWSError, data: Glacier.Types.GetVaultLockOutput) => void): Request; - /** - * This operation retrieves the following attributes from the lock-policy subresource set on the specified vault: The vault lock policy set on the vault. The state of the vault lock, which is either InProgess or Locked. When the lock ID expires. The lock ID is used to complete the vault locking process. When the vault lock was initiated and put into the InProgress state. A vault lock is put into the InProgress state by calling InitiateVaultLock. A vault lock is put into the Locked state by calling CompleteVaultLock. You can abort the vault locking process by calling AbortVaultLock. For more information about the vault locking process, Amazon Glacier Vault Lock. If there is no vault lock policy set on the vault, the operation returns a 404 Not found error. For more information about vault lock policies, Amazon Glacier Access Control with Vault Lock Policies. - */ - getVaultLock(callback?: (err: AWSError, data: Glacier.Types.GetVaultLockOutput) => void): Request; - /** - * This operation retrieves the notification-configuration subresource of the specified vault. For information about setting a notification configuration on a vault, see SetVaultNotifications. If a notification configuration for a vault is not set, the operation returns a 404 Not Found error. For more information about vault notifications, see Configuring Vault Notifications in Amazon Glacier. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Configuring Vault Notifications in Amazon Glacier and Get Vault Notification Configuration in the Amazon Glacier Developer Guide. - */ - getVaultNotifications(params: Glacier.Types.GetVaultNotificationsInput, callback?: (err: AWSError, data: Glacier.Types.GetVaultNotificationsOutput) => void): Request; - /** - * This operation retrieves the notification-configuration subresource of the specified vault. For information about setting a notification configuration on a vault, see SetVaultNotifications. If a notification configuration for a vault is not set, the operation returns a 404 Not Found error. For more information about vault notifications, see Configuring Vault Notifications in Amazon Glacier. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Configuring Vault Notifications in Amazon Glacier and Get Vault Notification Configuration in the Amazon Glacier Developer Guide. - */ - getVaultNotifications(callback?: (err: AWSError, data: Glacier.Types.GetVaultNotificationsOutput) => void): Request; - /** - * This operation initiates a job of the specified type. In this release, you can initiate a job to retrieve either an archive or a vault inventory (a list of archives in a vault). Retrieving data from Amazon Glacier is a two-step process: Initiate a retrieval job. A data retrieval policy can cause your initiate retrieval job request to fail with a PolicyEnforcedException exception. For more information about data retrieval policies, see Amazon Glacier Data Retrieval Policies. For more information about the PolicyEnforcedException exception, see Error Responses. After the job completes, download the bytes. The retrieval request is executed asynchronously. When you initiate a retrieval job, Amazon Glacier creates a job and returns a job ID in the response. When Amazon Glacier completes the job, you can get the job output (archive or inventory data). For information about getting job output, see GetJobOutput operation. The job must complete before you can get its output. To determine when a job is complete, you have the following options: Use Amazon SNS Notification You can specify an Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Glacier can post a notification after the job is completed. You can specify an SNS topic per job request. The notification is sent only after Amazon Glacier completes the job. In addition to specifying an SNS topic per job request, you can configure vault notifications for a vault so that job notifications are always sent. For more information, see SetVaultNotifications. Get job details You can make a DescribeJob request to obtain job status information while a job is in progress. However, it is more efficient to use an Amazon SNS notification to determine when a job is complete. The information you get via notification is same that you get by calling DescribeJob. If for a specific event, you add both the notification configuration on the vault and also specify an SNS topic in your initiate job request, Amazon Glacier sends both notifications. For more information, see SetVaultNotifications. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). About the Vault Inventory Amazon Glacier prepares an inventory for each vault periodically, every 24 hours. When you initiate a job for a vault inventory, Amazon Glacier returns the last inventory for the vault. The inventory data you get might be up to a day or two days old. Also, the initiate inventory job might take some time to complete before you can download the vault inventory. So you do not want to retrieve a vault inventory for each vault operation. However, in some scenarios, you might find the vault inventory useful. For example, when you upload an archive, you can provide an archive description but not an archive name. Amazon Glacier provides you a unique archive ID, an opaque string of characters. So, you might maintain your own database that maps archive names to their corresponding Amazon Glacier assigned archive IDs. You might find the vault inventory useful in the event you need to reconcile information in your database with the actual vault inventory. Range Inventory Retrieval You can limit the number of inventory items retrieved by filtering on the archive creation date or by setting a limit. Filtering by Archive Creation Date You can retrieve inventory items for archives created between StartDate and EndDate by specifying values for these parameters in the InitiateJob request. Archives created on or after the StartDate and before the EndDate will be returned. If you only provide the StartDate without the EndDate, you will retrieve the inventory for all archives created on or after the StartDate. If you only provide the EndDate without the StartDate, you will get back the inventory for all archives created before the EndDate. Limiting Inventory Items per Retrieval You can limit the number of inventory items returned by setting the Limit parameter in the InitiateJob request. The inventory job output will contain inventory items up to the specified Limit. If there are more inventory items available, the result is paginated. After a job is complete you can use the DescribeJob operation to get a marker that you use in a subsequent InitiateJob request. The marker will indicate the starting point to retrieve the next set of inventory items. You can page through your entire inventory by repeatedly making InitiateJob requests with the marker from the previous DescribeJob output, until you get a marker from DescribeJob that returns null, indicating that there are no more inventory items available. You can use the Limit parameter together with the date range parameters. About Ranged Archive Retrieval You can initiate an archive retrieval for the whole archive or a range of the archive. In the case of ranged archive retrieval, you specify a byte range to return or the whole archive. The range specified must be megabyte (MB) aligned, that is the range start value must be divisible by 1 MB and range end value plus 1 must be divisible by 1 MB or equal the end of the archive. If the ranged archive retrieval is not megabyte aligned, this operation returns a 400 response. Furthermore, to ensure you get checksum values for data you download using Get Job Output API, the range must be tree hash aligned. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and the underlying REST API, see Initiate a Job and Downloading a Vault Inventory Expedited and Bulk Archive Retrievals When retrieving an archive, you can specify one of the following options in the Tier field of the request body: Standard The default type of retrieval, which allows access to any of your archives within several hours. Standard retrievals typically complete within 3–5 hours. Bulk Amazon Glacier’s lowest-cost retrieval option, which enables you to retrieve large amounts of data inexpensively in a day. Bulk retrieval requests typically complete within 5–12 hours. Expedited Amazon Glacier’s option for the fastest retrievals. Archives requested using the expedited retrievals typically become accessible within 1–5 minutes. For more information about expedited and bulk retrievals, see Retrieving Amazon Glacier Archives. - */ - initiateJob(params: Glacier.Types.InitiateJobInput, callback?: (err: AWSError, data: Glacier.Types.InitiateJobOutput) => void): Request; - /** - * This operation initiates a job of the specified type. In this release, you can initiate a job to retrieve either an archive or a vault inventory (a list of archives in a vault). Retrieving data from Amazon Glacier is a two-step process: Initiate a retrieval job. A data retrieval policy can cause your initiate retrieval job request to fail with a PolicyEnforcedException exception. For more information about data retrieval policies, see Amazon Glacier Data Retrieval Policies. For more information about the PolicyEnforcedException exception, see Error Responses. After the job completes, download the bytes. The retrieval request is executed asynchronously. When you initiate a retrieval job, Amazon Glacier creates a job and returns a job ID in the response. When Amazon Glacier completes the job, you can get the job output (archive or inventory data). For information about getting job output, see GetJobOutput operation. The job must complete before you can get its output. To determine when a job is complete, you have the following options: Use Amazon SNS Notification You can specify an Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Glacier can post a notification after the job is completed. You can specify an SNS topic per job request. The notification is sent only after Amazon Glacier completes the job. In addition to specifying an SNS topic per job request, you can configure vault notifications for a vault so that job notifications are always sent. For more information, see SetVaultNotifications. Get job details You can make a DescribeJob request to obtain job status information while a job is in progress. However, it is more efficient to use an Amazon SNS notification to determine when a job is complete. The information you get via notification is same that you get by calling DescribeJob. If for a specific event, you add both the notification configuration on the vault and also specify an SNS topic in your initiate job request, Amazon Glacier sends both notifications. For more information, see SetVaultNotifications. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). About the Vault Inventory Amazon Glacier prepares an inventory for each vault periodically, every 24 hours. When you initiate a job for a vault inventory, Amazon Glacier returns the last inventory for the vault. The inventory data you get might be up to a day or two days old. Also, the initiate inventory job might take some time to complete before you can download the vault inventory. So you do not want to retrieve a vault inventory for each vault operation. However, in some scenarios, you might find the vault inventory useful. For example, when you upload an archive, you can provide an archive description but not an archive name. Amazon Glacier provides you a unique archive ID, an opaque string of characters. So, you might maintain your own database that maps archive names to their corresponding Amazon Glacier assigned archive IDs. You might find the vault inventory useful in the event you need to reconcile information in your database with the actual vault inventory. Range Inventory Retrieval You can limit the number of inventory items retrieved by filtering on the archive creation date or by setting a limit. Filtering by Archive Creation Date You can retrieve inventory items for archives created between StartDate and EndDate by specifying values for these parameters in the InitiateJob request. Archives created on or after the StartDate and before the EndDate will be returned. If you only provide the StartDate without the EndDate, you will retrieve the inventory for all archives created on or after the StartDate. If you only provide the EndDate without the StartDate, you will get back the inventory for all archives created before the EndDate. Limiting Inventory Items per Retrieval You can limit the number of inventory items returned by setting the Limit parameter in the InitiateJob request. The inventory job output will contain inventory items up to the specified Limit. If there are more inventory items available, the result is paginated. After a job is complete you can use the DescribeJob operation to get a marker that you use in a subsequent InitiateJob request. The marker will indicate the starting point to retrieve the next set of inventory items. You can page through your entire inventory by repeatedly making InitiateJob requests with the marker from the previous DescribeJob output, until you get a marker from DescribeJob that returns null, indicating that there are no more inventory items available. You can use the Limit parameter together with the date range parameters. About Ranged Archive Retrieval You can initiate an archive retrieval for the whole archive or a range of the archive. In the case of ranged archive retrieval, you specify a byte range to return or the whole archive. The range specified must be megabyte (MB) aligned, that is the range start value must be divisible by 1 MB and range end value plus 1 must be divisible by 1 MB or equal the end of the archive. If the ranged archive retrieval is not megabyte aligned, this operation returns a 400 response. Furthermore, to ensure you get checksum values for data you download using Get Job Output API, the range must be tree hash aligned. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and the underlying REST API, see Initiate a Job and Downloading a Vault Inventory Expedited and Bulk Archive Retrievals When retrieving an archive, you can specify one of the following options in the Tier field of the request body: Standard The default type of retrieval, which allows access to any of your archives within several hours. Standard retrievals typically complete within 3–5 hours. Bulk Amazon Glacier’s lowest-cost retrieval option, which enables you to retrieve large amounts of data inexpensively in a day. Bulk retrieval requests typically complete within 5–12 hours. Expedited Amazon Glacier’s option for the fastest retrievals. Archives requested using the expedited retrievals typically become accessible within 1–5 minutes. For more information about expedited and bulk retrievals, see Retrieving Amazon Glacier Archives. - */ - initiateJob(callback?: (err: AWSError, data: Glacier.Types.InitiateJobOutput) => void): Request; - /** - * This operation initiates a multipart upload. Amazon Glacier creates a multipart upload resource and returns its ID in the response. The multipart upload ID is used in subsequent requests to upload parts of an archive (see UploadMultipartPart). When you initiate a multipart upload, you specify the part size in number of bytes. The part size must be a megabyte (1024 KB) multiplied by a power of 2-for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB. Every part you upload to this resource (see UploadMultipartPart), except the last one, must have the same size. The last one can be the same size or smaller. For example, suppose you want to upload a 16.2 MB file. If you initiate the multipart upload with a part size of 4 MB, you will upload four parts of 4 MB each and one part of 0.2 MB. You don't need to know the size of the archive when you start a multipart upload because Amazon Glacier does not require you to specify the overall archive size. After you complete the multipart upload, Amazon Glacier removes the multipart upload resource referenced by the ID. Amazon Glacier also removes the multipart upload resource if you cancel the multipart upload or it may be removed if there is no activity for a period of 24 hours. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Uploading Large Archives in Parts (Multipart Upload) and Initiate Multipart Upload in the Amazon Glacier Developer Guide. - */ - initiateMultipartUpload(params: Glacier.Types.InitiateMultipartUploadInput, callback?: (err: AWSError, data: Glacier.Types.InitiateMultipartUploadOutput) => void): Request; - /** - * This operation initiates a multipart upload. Amazon Glacier creates a multipart upload resource and returns its ID in the response. The multipart upload ID is used in subsequent requests to upload parts of an archive (see UploadMultipartPart). When you initiate a multipart upload, you specify the part size in number of bytes. The part size must be a megabyte (1024 KB) multiplied by a power of 2-for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB. Every part you upload to this resource (see UploadMultipartPart), except the last one, must have the same size. The last one can be the same size or smaller. For example, suppose you want to upload a 16.2 MB file. If you initiate the multipart upload with a part size of 4 MB, you will upload four parts of 4 MB each and one part of 0.2 MB. You don't need to know the size of the archive when you start a multipart upload because Amazon Glacier does not require you to specify the overall archive size. After you complete the multipart upload, Amazon Glacier removes the multipart upload resource referenced by the ID. Amazon Glacier also removes the multipart upload resource if you cancel the multipart upload or it may be removed if there is no activity for a period of 24 hours. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Uploading Large Archives in Parts (Multipart Upload) and Initiate Multipart Upload in the Amazon Glacier Developer Guide. - */ - initiateMultipartUpload(callback?: (err: AWSError, data: Glacier.Types.InitiateMultipartUploadOutput) => void): Request; - /** - * This operation initiates the vault locking process by doing the following: Installing a vault lock policy on the specified vault. Setting the lock state of vault lock to InProgress. Returning a lock ID, which is used to complete the vault locking process. You can set one vault lock policy for each vault and this policy can be up to 20 KB in size. For more information about vault lock policies, see Amazon Glacier Access Control with Vault Lock Policies. You must complete the vault locking process within 24 hours after the vault lock enters the InProgress state. After the 24 hour window ends, the lock ID expires, the vault automatically exits the InProgress state, and the vault lock policy is removed from the vault. You call CompleteVaultLock to complete the vault locking process by setting the state of the vault lock to Locked. After a vault lock is in the Locked state, you cannot initiate a new vault lock for the vault. You can abort the vault locking process by calling AbortVaultLock. You can get the state of the vault lock by calling GetVaultLock. For more information about the vault locking process, Amazon Glacier Vault Lock. If this operation is called when the vault lock is in the InProgress state, the operation returns an AccessDeniedException error. When the vault lock is in the InProgress state you must call AbortVaultLock before you can initiate a new vault lock policy. - */ - initiateVaultLock(params: Glacier.Types.InitiateVaultLockInput, callback?: (err: AWSError, data: Glacier.Types.InitiateVaultLockOutput) => void): Request; - /** - * This operation initiates the vault locking process by doing the following: Installing a vault lock policy on the specified vault. Setting the lock state of vault lock to InProgress. Returning a lock ID, which is used to complete the vault locking process. You can set one vault lock policy for each vault and this policy can be up to 20 KB in size. For more information about vault lock policies, see Amazon Glacier Access Control with Vault Lock Policies. You must complete the vault locking process within 24 hours after the vault lock enters the InProgress state. After the 24 hour window ends, the lock ID expires, the vault automatically exits the InProgress state, and the vault lock policy is removed from the vault. You call CompleteVaultLock to complete the vault locking process by setting the state of the vault lock to Locked. After a vault lock is in the Locked state, you cannot initiate a new vault lock for the vault. You can abort the vault locking process by calling AbortVaultLock. You can get the state of the vault lock by calling GetVaultLock. For more information about the vault locking process, Amazon Glacier Vault Lock. If this operation is called when the vault lock is in the InProgress state, the operation returns an AccessDeniedException error. When the vault lock is in the InProgress state you must call AbortVaultLock before you can initiate a new vault lock policy. - */ - initiateVaultLock(callback?: (err: AWSError, data: Glacier.Types.InitiateVaultLockOutput) => void): Request; - /** - * This operation lists jobs for a vault, including jobs that are in-progress and jobs that have recently finished. Amazon Glacier retains recently completed jobs for a period before deleting them; however, it eventually removes completed jobs. The output of completed jobs can be retrieved. Retaining completed jobs for a period of time after they have completed enables you to get a job output in the event you miss the job completion notification or your first attempt to download it fails. For example, suppose you start an archive retrieval job to download an archive. After the job completes, you start to download the archive but encounter a network error. In this scenario, you can retry and download the archive while the job exists. To retrieve an archive or retrieve a vault inventory from Amazon Glacier, you first initiate a job, and after the job completes, you download the data. For an archive retrieval, the output is the archive data. For an inventory retrieval, it is the inventory list. The List Job operation returns a list of these jobs sorted by job initiation time. The List Jobs operation supports pagination. You should always check the response Marker field. If there are no more jobs to list, the Marker field is set to null. If there are more jobs to list, the Marker field is set to a non-null value, which you can use to continue the pagination of the list. To return a list of jobs that begins at a specific job, set the marker request parameter to the Marker value for that job that you obtained from a previous List Jobs request. You can set a maximum limit for the number of jobs returned in the response by specifying the limit parameter in the request. The default limit is 1000. The number of jobs returned might be fewer than the limit, but the number of returned jobs never exceeds the limit. Additionally, you can filter the jobs list returned by specifying the optional statuscode parameter or completed parameter, or both. Using the statuscode parameter, you can specify to return only jobs that match either the InProgress, Succeeded, or Failed status. Using the completed parameter, you can specify to return only jobs that were completed (true) or jobs that were not completed (false). For the underlying REST API, see List Jobs. - */ - listJobs(params: Glacier.Types.ListJobsInput, callback?: (err: AWSError, data: Glacier.Types.ListJobsOutput) => void): Request; - /** - * This operation lists jobs for a vault, including jobs that are in-progress and jobs that have recently finished. Amazon Glacier retains recently completed jobs for a period before deleting them; however, it eventually removes completed jobs. The output of completed jobs can be retrieved. Retaining completed jobs for a period of time after they have completed enables you to get a job output in the event you miss the job completion notification or your first attempt to download it fails. For example, suppose you start an archive retrieval job to download an archive. After the job completes, you start to download the archive but encounter a network error. In this scenario, you can retry and download the archive while the job exists. To retrieve an archive or retrieve a vault inventory from Amazon Glacier, you first initiate a job, and after the job completes, you download the data. For an archive retrieval, the output is the archive data. For an inventory retrieval, it is the inventory list. The List Job operation returns a list of these jobs sorted by job initiation time. The List Jobs operation supports pagination. You should always check the response Marker field. If there are no more jobs to list, the Marker field is set to null. If there are more jobs to list, the Marker field is set to a non-null value, which you can use to continue the pagination of the list. To return a list of jobs that begins at a specific job, set the marker request parameter to the Marker value for that job that you obtained from a previous List Jobs request. You can set a maximum limit for the number of jobs returned in the response by specifying the limit parameter in the request. The default limit is 1000. The number of jobs returned might be fewer than the limit, but the number of returned jobs never exceeds the limit. Additionally, you can filter the jobs list returned by specifying the optional statuscode parameter or completed parameter, or both. Using the statuscode parameter, you can specify to return only jobs that match either the InProgress, Succeeded, or Failed status. Using the completed parameter, you can specify to return only jobs that were completed (true) or jobs that were not completed (false). For the underlying REST API, see List Jobs. - */ - listJobs(callback?: (err: AWSError, data: Glacier.Types.ListJobsOutput) => void): Request; - /** - * This operation lists in-progress multipart uploads for the specified vault. An in-progress multipart upload is a multipart upload that has been initiated by an InitiateMultipartUpload request, but has not yet been completed or aborted. The list returned in the List Multipart Upload response has no guaranteed order. The List Multipart Uploads operation supports pagination. By default, this operation returns up to 1,000 multipart uploads in the response. You should always check the response for a marker at which to continue the list; if there are no more items the marker is null. To return a list of multipart uploads that begins at a specific upload, set the marker request parameter to the value you obtained from a previous List Multipart Upload request. You can also limit the number of uploads returned in the response by specifying the limit parameter in the request. Note the difference between this operation and listing parts (ListParts). The List Multipart Uploads operation lists all multipart uploads for a vault and does not require a multipart upload ID. The List Parts operation requires a multipart upload ID since parts are associated with a single upload. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and the underlying REST API, see Working with Archives in Amazon Glacier and List Multipart Uploads in the Amazon Glacier Developer Guide. - */ - listMultipartUploads(params: Glacier.Types.ListMultipartUploadsInput, callback?: (err: AWSError, data: Glacier.Types.ListMultipartUploadsOutput) => void): Request; - /** - * This operation lists in-progress multipart uploads for the specified vault. An in-progress multipart upload is a multipart upload that has been initiated by an InitiateMultipartUpload request, but has not yet been completed or aborted. The list returned in the List Multipart Upload response has no guaranteed order. The List Multipart Uploads operation supports pagination. By default, this operation returns up to 1,000 multipart uploads in the response. You should always check the response for a marker at which to continue the list; if there are no more items the marker is null. To return a list of multipart uploads that begins at a specific upload, set the marker request parameter to the value you obtained from a previous List Multipart Upload request. You can also limit the number of uploads returned in the response by specifying the limit parameter in the request. Note the difference between this operation and listing parts (ListParts). The List Multipart Uploads operation lists all multipart uploads for a vault and does not require a multipart upload ID. The List Parts operation requires a multipart upload ID since parts are associated with a single upload. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and the underlying REST API, see Working with Archives in Amazon Glacier and List Multipart Uploads in the Amazon Glacier Developer Guide. - */ - listMultipartUploads(callback?: (err: AWSError, data: Glacier.Types.ListMultipartUploadsOutput) => void): Request; - /** - * This operation lists the parts of an archive that have been uploaded in a specific multipart upload. You can make this request at any time during an in-progress multipart upload before you complete the upload (see CompleteMultipartUpload. List Parts returns an error for completed uploads. The list returned in the List Parts response is sorted by part range. The List Parts operation supports pagination. By default, this operation returns up to 1,000 uploaded parts in the response. You should always check the response for a marker at which to continue the list; if there are no more items the marker is null. To return a list of parts that begins at a specific part, set the marker request parameter to the value you obtained from a previous List Parts request. You can also limit the number of parts returned in the response by specifying the limit parameter in the request. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and the underlying REST API, see Working with Archives in Amazon Glacier and List Parts in the Amazon Glacier Developer Guide. - */ - listParts(params: Glacier.Types.ListPartsInput, callback?: (err: AWSError, data: Glacier.Types.ListPartsOutput) => void): Request; - /** - * This operation lists the parts of an archive that have been uploaded in a specific multipart upload. You can make this request at any time during an in-progress multipart upload before you complete the upload (see CompleteMultipartUpload. List Parts returns an error for completed uploads. The list returned in the List Parts response is sorted by part range. The List Parts operation supports pagination. By default, this operation returns up to 1,000 uploaded parts in the response. You should always check the response for a marker at which to continue the list; if there are no more items the marker is null. To return a list of parts that begins at a specific part, set the marker request parameter to the value you obtained from a previous List Parts request. You can also limit the number of parts returned in the response by specifying the limit parameter in the request. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and the underlying REST API, see Working with Archives in Amazon Glacier and List Parts in the Amazon Glacier Developer Guide. - */ - listParts(callback?: (err: AWSError, data: Glacier.Types.ListPartsOutput) => void): Request; - /** - * This operation lists the provisioned capacity for the specified AWS account. - */ - listProvisionedCapacity(params: Glacier.Types.ListProvisionedCapacityInput, callback?: (err: AWSError, data: Glacier.Types.ListProvisionedCapacityOutput) => void): Request; - /** - * This operation lists the provisioned capacity for the specified AWS account. - */ - listProvisionedCapacity(callback?: (err: AWSError, data: Glacier.Types.ListProvisionedCapacityOutput) => void): Request; - /** - * This operation lists all the tags attached to a vault. The operation returns an empty map if there are no tags. For more information about tags, see Tagging Amazon Glacier Resources. - */ - listTagsForVault(params: Glacier.Types.ListTagsForVaultInput, callback?: (err: AWSError, data: Glacier.Types.ListTagsForVaultOutput) => void): Request; - /** - * This operation lists all the tags attached to a vault. The operation returns an empty map if there are no tags. For more information about tags, see Tagging Amazon Glacier Resources. - */ - listTagsForVault(callback?: (err: AWSError, data: Glacier.Types.ListTagsForVaultOutput) => void): Request; - /** - * This operation lists all vaults owned by the calling user's account. The list returned in the response is ASCII-sorted by vault name. By default, this operation returns up to 1,000 items. If there are more vaults to list, the response marker field contains the vault Amazon Resource Name (ARN) at which to continue the list with a new List Vaults request; otherwise, the marker field is null. To return a list of vaults that begins at a specific vault, set the marker request parameter to the vault ARN you obtained from a previous List Vaults request. You can also limit the number of vaults returned in the response by specifying the limit parameter in the request. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Retrieving Vault Metadata in Amazon Glacier and List Vaults in the Amazon Glacier Developer Guide. - */ - listVaults(params: Glacier.Types.ListVaultsInput, callback?: (err: AWSError, data: Glacier.Types.ListVaultsOutput) => void): Request; - /** - * This operation lists all vaults owned by the calling user's account. The list returned in the response is ASCII-sorted by vault name. By default, this operation returns up to 1,000 items. If there are more vaults to list, the response marker field contains the vault Amazon Resource Name (ARN) at which to continue the list with a new List Vaults request; otherwise, the marker field is null. To return a list of vaults that begins at a specific vault, set the marker request parameter to the vault ARN you obtained from a previous List Vaults request. You can also limit the number of vaults returned in the response by specifying the limit parameter in the request. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Retrieving Vault Metadata in Amazon Glacier and List Vaults in the Amazon Glacier Developer Guide. - */ - listVaults(callback?: (err: AWSError, data: Glacier.Types.ListVaultsOutput) => void): Request; - /** - * This operation purchases a provisioned capacity unit for an AWS account. - */ - purchaseProvisionedCapacity(params: Glacier.Types.PurchaseProvisionedCapacityInput, callback?: (err: AWSError, data: Glacier.Types.PurchaseProvisionedCapacityOutput) => void): Request; - /** - * This operation purchases a provisioned capacity unit for an AWS account. - */ - purchaseProvisionedCapacity(callback?: (err: AWSError, data: Glacier.Types.PurchaseProvisionedCapacityOutput) => void): Request; - /** - * This operation removes one or more tags from the set of tags attached to a vault. For more information about tags, see Tagging Amazon Glacier Resources. This operation is idempotent. The operation will be successful, even if there are no tags attached to the vault. - */ - removeTagsFromVault(params: Glacier.Types.RemoveTagsFromVaultInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation removes one or more tags from the set of tags attached to a vault. For more information about tags, see Tagging Amazon Glacier Resources. This operation is idempotent. The operation will be successful, even if there are no tags attached to the vault. - */ - removeTagsFromVault(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation sets and then enacts a data retrieval policy in the region specified in the PUT request. You can set one policy per region for an AWS account. The policy is enacted within a few minutes of a successful PUT operation. The set policy operation does not affect retrieval jobs that were in progress before the policy was enacted. For more information about data retrieval policies, see Amazon Glacier Data Retrieval Policies. - */ - setDataRetrievalPolicy(params: Glacier.Types.SetDataRetrievalPolicyInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation sets and then enacts a data retrieval policy in the region specified in the PUT request. You can set one policy per region for an AWS account. The policy is enacted within a few minutes of a successful PUT operation. The set policy operation does not affect retrieval jobs that were in progress before the policy was enacted. For more information about data retrieval policies, see Amazon Glacier Data Retrieval Policies. - */ - setDataRetrievalPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation configures an access policy for a vault and will overwrite an existing policy. To configure a vault access policy, send a PUT request to the access-policy subresource of the vault. An access policy is specific to a vault and is also called a vault subresource. You can set one access policy per vault and the policy can be up to 20 KB in size. For more information about vault access policies, see Amazon Glacier Access Control with Vault Access Policies. - */ - setVaultAccessPolicy(params: Glacier.Types.SetVaultAccessPolicyInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation configures an access policy for a vault and will overwrite an existing policy. To configure a vault access policy, send a PUT request to the access-policy subresource of the vault. An access policy is specific to a vault and is also called a vault subresource. You can set one access policy per vault and the policy can be up to 20 KB in size. For more information about vault access policies, see Amazon Glacier Access Control with Vault Access Policies. - */ - setVaultAccessPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation configures notifications that will be sent when specific events happen to a vault. By default, you don't get any notifications. To configure vault notifications, send a PUT request to the notification-configuration subresource of the vault. The request should include a JSON document that provides an Amazon SNS topic and specific events for which you want Amazon Glacier to send notifications to the topic. Amazon SNS topics must grant permission to the vault to be allowed to publish notifications to the topic. You can configure a vault to publish a notification for the following vault events: ArchiveRetrievalCompleted This event occurs when a job that was initiated for an archive retrieval is completed (InitiateJob). The status of the completed job can be "Succeeded" or "Failed". The notification sent to the SNS topic is the same output as returned from DescribeJob. InventoryRetrievalCompleted This event occurs when a job that was initiated for an inventory retrieval is completed (InitiateJob). The status of the completed job can be "Succeeded" or "Failed". The notification sent to the SNS topic is the same output as returned from DescribeJob. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Configuring Vault Notifications in Amazon Glacier and Set Vault Notification Configuration in the Amazon Glacier Developer Guide. - */ - setVaultNotifications(params: Glacier.Types.SetVaultNotificationsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation configures notifications that will be sent when specific events happen to a vault. By default, you don't get any notifications. To configure vault notifications, send a PUT request to the notification-configuration subresource of the vault. The request should include a JSON document that provides an Amazon SNS topic and specific events for which you want Amazon Glacier to send notifications to the topic. Amazon SNS topics must grant permission to the vault to be allowed to publish notifications to the topic. You can configure a vault to publish a notification for the following vault events: ArchiveRetrievalCompleted This event occurs when a job that was initiated for an archive retrieval is completed (InitiateJob). The status of the completed job can be "Succeeded" or "Failed". The notification sent to the SNS topic is the same output as returned from DescribeJob. InventoryRetrievalCompleted This event occurs when a job that was initiated for an inventory retrieval is completed (InitiateJob). The status of the completed job can be "Succeeded" or "Failed". The notification sent to the SNS topic is the same output as returned from DescribeJob. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Configuring Vault Notifications in Amazon Glacier and Set Vault Notification Configuration in the Amazon Glacier Developer Guide. - */ - setVaultNotifications(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation adds an archive to a vault. This is a synchronous operation, and for a successful upload, your data is durably persisted. Amazon Glacier returns the archive ID in the x-amz-archive-id header of the response. You must use the archive ID to access your data in Amazon Glacier. After you upload an archive, you should save the archive ID returned so that you can retrieve or delete the archive later. Besides saving the archive ID, you can also index it and give it a friendly name to allow for better searching. You can also use the optional archive description field to specify how the archive is referred to in an external index of archives, such as you might create in Amazon DynamoDB. You can also get the vault inventory to obtain a list of archive IDs in a vault. For more information, see InitiateJob. You must provide a SHA256 tree hash of the data you are uploading. For information about computing a SHA256 tree hash, see Computing Checksums. You can optionally specify an archive description of up to 1,024 printable ASCII characters. You can get the archive description when you either retrieve the archive or get the vault inventory. For more information, see InitiateJob. Amazon Glacier does not interpret the description in any way. An archive description does not need to be unique. You cannot use the description to retrieve or sort the archive list. Archives are immutable. After you upload an archive, you cannot edit the archive or its description. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Uploading an Archive in Amazon Glacier and Upload Archive in the Amazon Glacier Developer Guide. - */ - uploadArchive(params: Glacier.Types.UploadArchiveInput, callback?: (err: AWSError, data: Glacier.Types.ArchiveCreationOutput) => void): Request; - /** - * This operation adds an archive to a vault. This is a synchronous operation, and for a successful upload, your data is durably persisted. Amazon Glacier returns the archive ID in the x-amz-archive-id header of the response. You must use the archive ID to access your data in Amazon Glacier. After you upload an archive, you should save the archive ID returned so that you can retrieve or delete the archive later. Besides saving the archive ID, you can also index it and give it a friendly name to allow for better searching. You can also use the optional archive description field to specify how the archive is referred to in an external index of archives, such as you might create in Amazon DynamoDB. You can also get the vault inventory to obtain a list of archive IDs in a vault. For more information, see InitiateJob. You must provide a SHA256 tree hash of the data you are uploading. For information about computing a SHA256 tree hash, see Computing Checksums. You can optionally specify an archive description of up to 1,024 printable ASCII characters. You can get the archive description when you either retrieve the archive or get the vault inventory. For more information, see InitiateJob. Amazon Glacier does not interpret the description in any way. An archive description does not need to be unique. You cannot use the description to retrieve or sort the archive list. Archives are immutable. After you upload an archive, you cannot edit the archive or its description. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Uploading an Archive in Amazon Glacier and Upload Archive in the Amazon Glacier Developer Guide. - */ - uploadArchive(callback?: (err: AWSError, data: Glacier.Types.ArchiveCreationOutput) => void): Request; - /** - * This operation uploads a part of an archive. You can upload archive parts in any order. You can also upload them in parallel. You can upload up to 10,000 parts for a multipart upload. Amazon Glacier rejects your upload part request if any of the following conditions is true: SHA256 tree hash does not matchTo ensure that part data is not corrupted in transmission, you compute a SHA256 tree hash of the part and include it in your request. Upon receiving the part data, Amazon Glacier also computes a SHA256 tree hash. If these hash values don't match, the operation fails. For information about computing a SHA256 tree hash, see Computing Checksums. Part size does not matchThe size of each part except the last must match the size specified in the corresponding InitiateMultipartUpload request. The size of the last part must be the same size as, or smaller than, the specified size. If you upload a part whose size is smaller than the part size you specified in your initiate multipart upload request and that part is not the last part, then the upload part request will succeed. However, the subsequent Complete Multipart Upload request will fail. Range does not alignThe byte range value in the request does not align with the part size specified in the corresponding initiate request. For example, if you specify a part size of 4194304 bytes (4 MB), then 0 to 4194303 bytes (4 MB - 1) and 4194304 (4 MB) to 8388607 (8 MB - 1) are valid part ranges. However, if you set a range value of 2 MB to 6 MB, the range does not align with the part size and the upload will fail. This operation is idempotent. If you upload the same part multiple times, the data included in the most recent request overwrites the previously uploaded data. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Uploading Large Archives in Parts (Multipart Upload) and Upload Part in the Amazon Glacier Developer Guide. - */ - uploadMultipartPart(params: Glacier.Types.UploadMultipartPartInput, callback?: (err: AWSError, data: Glacier.Types.UploadMultipartPartOutput) => void): Request; - /** - * This operation uploads a part of an archive. You can upload archive parts in any order. You can also upload them in parallel. You can upload up to 10,000 parts for a multipart upload. Amazon Glacier rejects your upload part request if any of the following conditions is true: SHA256 tree hash does not matchTo ensure that part data is not corrupted in transmission, you compute a SHA256 tree hash of the part and include it in your request. Upon receiving the part data, Amazon Glacier also computes a SHA256 tree hash. If these hash values don't match, the operation fails. For information about computing a SHA256 tree hash, see Computing Checksums. Part size does not matchThe size of each part except the last must match the size specified in the corresponding InitiateMultipartUpload request. The size of the last part must be the same size as, or smaller than, the specified size. If you upload a part whose size is smaller than the part size you specified in your initiate multipart upload request and that part is not the last part, then the upload part request will succeed. However, the subsequent Complete Multipart Upload request will fail. Range does not alignThe byte range value in the request does not align with the part size specified in the corresponding initiate request. For example, if you specify a part size of 4194304 bytes (4 MB), then 0 to 4194303 bytes (4 MB - 1) and 4194304 (4 MB) to 8388607 (8 MB - 1) are valid part ranges. However, if you set a range value of 2 MB to 6 MB, the range does not align with the part size and the upload will fail. This operation is idempotent. If you upload the same part multiple times, the data included in the most recent request overwrites the previously uploaded data. An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM). For conceptual information and underlying REST API, see Uploading Large Archives in Parts (Multipart Upload) and Upload Part in the Amazon Glacier Developer Guide. - */ - uploadMultipartPart(callback?: (err: AWSError, data: Glacier.Types.UploadMultipartPartOutput) => void): Request; - /** - * Waits for the vaultExists state by periodically calling the underlying Glacier.describeVaultoperation every 3 seconds (at most 15 times). - */ - waitFor(state: "vaultExists", params: Glacier.Types.DescribeVaultInput, callback?: (err: AWSError, data: Glacier.Types.DescribeVaultOutput) => void): Request; - /** - * Waits for the vaultExists state by periodically calling the underlying Glacier.describeVaultoperation every 3 seconds (at most 15 times). - */ - waitFor(state: "vaultExists", callback?: (err: AWSError, data: Glacier.Types.DescribeVaultOutput) => void): Request; - /** - * Waits for the vaultNotExists state by periodically calling the underlying Glacier.describeVaultoperation every 3 seconds (at most 15 times). - */ - waitFor(state: "vaultNotExists", params: Glacier.Types.DescribeVaultInput, callback?: (err: AWSError, data: Glacier.Types.DescribeVaultOutput) => void): Request; - /** - * Waits for the vaultNotExists state by periodically calling the underlying Glacier.describeVaultoperation every 3 seconds (at most 15 times). - */ - waitFor(state: "vaultNotExists", callback?: (err: AWSError, data: Glacier.Types.DescribeVaultOutput) => void): Request; -} -declare namespace Glacier { - export interface AbortMultipartUploadInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The upload ID of the multipart upload to delete. - */ - uploadId: string; - } - export interface AbortVaultLockInput { - /** - * The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - } - export type ActionCode = "ArchiveRetrieval"|"InventoryRetrieval"|string; - export interface AddTagsToVaultInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The tags to add to the vault. Each tag is composed of a key and a value. The value can be an empty string. - */ - Tags?: TagMap; - } - export interface ArchiveCreationOutput { - /** - * The relative URI path of the newly added archive resource. - */ - location?: string; - /** - * The checksum of the archive computed by Amazon Glacier. - */ - checksum?: string; - /** - * The ID of the archive. This value is also included as part of the location. - */ - archiveId?: string; - } - export interface CompleteMultipartUploadInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The upload ID of the multipart upload. - */ - uploadId: string; - /** - * The total size, in bytes, of the entire archive. This value should be the sum of all the sizes of the individual parts that you uploaded. - */ - archiveSize?: string; - /** - * The SHA256 tree hash of the entire archive. It is the tree hash of SHA256 tree hash of the individual parts. If the value you specify in the request does not match the SHA256 tree hash of the final assembled archive as computed by Amazon Glacier, Amazon Glacier returns an error and the request fails. - */ - checksum?: string; - } - export interface CompleteVaultLockInput { - /** - * The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The lockId value is the lock ID obtained from a InitiateVaultLock request. - */ - lockId: string; - } - export interface CreateVaultInput { - /** - * The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - } - export interface CreateVaultOutput { - /** - * The URI of the vault that was created. - */ - location?: string; - } - export interface DataRetrievalPolicy { - /** - * The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field. - */ - Rules?: DataRetrievalRulesList; - } - export interface DataRetrievalRule { - /** - * The type of data retrieval policy to set. Valid values: BytesPerHour|FreeTier|None - */ - Strategy?: string; - /** - * The maximum number of bytes that can be retrieved in an hour. This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field. - */ - BytesPerHour?: NullableLong; - } - export type DataRetrievalRulesList = DataRetrievalRule[]; - export type DateTime = string; - export interface DeleteArchiveInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The ID of the archive to delete. - */ - archiveId: string; - } - export interface DeleteVaultAccessPolicyInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - } - export interface DeleteVaultInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - } - export interface DeleteVaultNotificationsInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - } - export interface DescribeJobInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The ID of the job to describe. - */ - jobId: string; - } - export interface DescribeVaultInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - } - export interface DescribeVaultOutput { - /** - * The Amazon Resource Name (ARN) of the vault. - */ - VaultARN?: string; - /** - * The name of the vault. - */ - VaultName?: string; - /** - * The Universal Coordinated Time (UTC) date when the vault was created. This value should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z. - */ - CreationDate?: string; - /** - * The Universal Coordinated Time (UTC) date when Amazon Glacier completed the last vault inventory. This value should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z. - */ - LastInventoryDate?: string; - /** - * The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example if you just created the vault. - */ - NumberOfArchives?: long; - /** - * Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example if you just created the vault. - */ - SizeInBytes?: long; - } - export interface GetDataRetrievalPolicyInput { - /** - * The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - } - export interface GetDataRetrievalPolicyOutput { - /** - * Contains the returned data retrieval policy in JSON format. - */ - Policy?: DataRetrievalPolicy; - } - export interface GetJobOutputInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The job ID whose data is downloaded. - */ - jobId: string; - /** - * The range of bytes to retrieve from the output. For example, if you want to download the first 1,048,576 bytes, specify the range as bytes=0-1048575. By default, this operation downloads the entire output. If the job output is large, then you can use a range to retrieve a portion of the output. This allows you to download the entire output in smaller chunks of bytes. For example, suppose you have 1 GB of job output you want to download and you decide to download 128 MB chunks of data at a time, which is a total of eight Get Job Output requests. You use the following process to download the job output: Download a 128 MB chunk of output by specifying the appropriate byte range. Verify that all 128 MB of data was received. Along with the data, the response includes a SHA256 tree hash of the payload. You compute the checksum of the payload on the client and compare it with the checksum you received in the response to ensure you received all the expected data. Repeat steps 1 and 2 for all the eight 128 MB chunks of output data, each time specifying the appropriate byte range. After downloading all the parts of the job output, you have a list of eight checksum values. Compute the tree hash of these values to find the checksum of the entire output. Using the DescribeJob API, obtain job information of the job that provided you the output. The response includes the checksum of the entire archive stored in Amazon Glacier. You compare this value with the checksum you computed to ensure you have downloaded the entire archive content with no errors. - */ - range?: string; - } - export interface GetJobOutputOutput { - /** - * The job data, either archive data or inventory data. - */ - body?: Stream; - /** - * The checksum of the data in the response. This header is returned only when retrieving the output for an archive retrieval job. Furthermore, this header appears only under the following conditions: You get the entire range of the archive. You request a range to return of the archive that starts and ends on a multiple of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as a response header. You request a range of the archive to return that starts on a multiple of 1 MB and goes to the end of the archive. For example, if you have a 3.1 MB archive and you specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is returned as a response header. - */ - checksum?: string; - /** - * The HTTP response code for a job output request. The value depends on whether a range was specified in the request. - */ - status?: httpstatus; - /** - * The range of bytes returned by Amazon Glacier. If only partial output is downloaded, the response provides the range of bytes Amazon Glacier returned. For example, bytes 0-1048575/8388608 returns the first 1 MB from 8 MB. - */ - contentRange?: string; - /** - * Indicates the range units accepted. For more information, see RFC2616. - */ - acceptRanges?: string; - /** - * The Content-Type depends on whether the job output is an archive or a vault inventory. For archive data, the Content-Type is application/octet-stream. For vault inventory, if you requested CSV format when you initiated the job, the Content-Type is text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type is application/json. - */ - contentType?: string; - /** - * The description of an archive. - */ - archiveDescription?: string; - } - export interface GetVaultAccessPolicyInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - } - export interface GetVaultAccessPolicyOutput { - /** - * Contains the returned vault access policy as a JSON string. - */ - policy?: VaultAccessPolicy; - } - export interface GetVaultLockInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - } - export interface GetVaultLockOutput { - /** - * The vault lock policy as a JSON string, which uses "\" as an escape character. - */ - Policy?: string; - /** - * The state of the vault lock. InProgress or Locked. - */ - State?: string; - /** - * The UTC date and time at which the lock ID expires. This value can be null if the vault lock is in a Locked state. - */ - ExpirationDate?: string; - /** - * The UTC date and time at which the vault lock was put into the InProgress state. - */ - CreationDate?: string; - } - export interface GetVaultNotificationsInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - } - export interface GetVaultNotificationsOutput { - /** - * Returns the notification configuration set on the vault. - */ - vaultNotificationConfig?: VaultNotificationConfig; - } - export interface GlacierJobDescription { - /** - * An opaque string that identifies an Amazon Glacier job. - */ - JobId?: string; - /** - * The job description you provided when you initiated the job. - */ - JobDescription?: string; - /** - * The job type. It is either ArchiveRetrieval or InventoryRetrieval. - */ - Action?: ActionCode; - /** - * For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null. - */ - ArchiveId?: string; - /** - * The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested. - */ - VaultARN?: string; - /** - * The UTC date when the job was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z". - */ - CreationDate?: string; - /** - * The job status. When a job is completed, you get the job's output. - */ - Completed?: boolean; - /** - * The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job. - */ - StatusCode?: StatusCode; - /** - * A friendly message that describes the job status. - */ - StatusMessage?: string; - /** - * For an ArchiveRetrieval job, this is the size in bytes of the archive being requested for download. For the InventoryRetrieval job, the value is null. - */ - ArchiveSizeInBytes?: Size; - /** - * For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. For the ArchiveRetrieval job, the value is null. - */ - InventorySizeInBytes?: Size; - /** - * An Amazon Simple Notification Service (Amazon SNS) topic that receives notification. - */ - SNSTopic?: string; - /** - * The UTC time that the archive retrieval request completed. While the job is in progress, the value will be null. - */ - CompletionDate?: string; - /** - * For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null. The SHA256 tree hash value for the requested range of an archive. If the Initiate a Job request for an archive specified a tree-hash aligned range, then this field returns a value. For the specific case when the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value. This field is null in the following situations: Archive retrieval jobs that specify a range that is not tree-hash aligned. Archival jobs that specify a range that is equal to the whole archive and the job status is InProgress. Inventory jobs. - */ - SHA256TreeHash?: string; - /** - * The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval jobs, this field is null. - */ - ArchiveSHA256TreeHash?: string; - /** - * The retrieved byte range for archive retrieval jobs in the form "StartByteValue-EndByteValue" If no range was specified in the archive retrieval, then the whole archive is retrieved and StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval jobs this field is null. - */ - RetrievalByteRange?: string; - /** - * The retrieval option to use for the archive retrieval. Valid values are Expedited, Standard, or Bulk. Standard is the default. - */ - Tier?: string; - /** - * Parameters used for range inventory retrieval. - */ - InventoryRetrievalParameters?: InventoryRetrievalJobDescription; - } - export interface InitiateJobInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * Provides options for specifying job information. - */ - jobParameters?: JobParameters; - } - export interface InitiateJobOutput { - /** - * The relative URI path of the job. - */ - location?: string; - /** - * The ID of the job. - */ - jobId?: string; - } - export interface InitiateMultipartUploadInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The archive description that you are uploading in parts. The part size must be a megabyte (1024 KB) multiplied by a power of 2, for example 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB). - */ - archiveDescription?: string; - /** - * The size of each part except the last, in bytes. The last part can be smaller than this part size. - */ - partSize?: string; - } - export interface InitiateMultipartUploadOutput { - /** - * The relative URI path of the multipart upload ID Amazon Glacier created. - */ - location?: string; - /** - * The ID of the multipart upload. This value is also included as part of the location. - */ - uploadId?: string; - } - export interface InitiateVaultLockInput { - /** - * The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The vault lock policy as a JSON string, which uses "\" as an escape character. - */ - policy?: VaultLockPolicy; - } - export interface InitiateVaultLockOutput { - /** - * The lock ID, which is used to complete the vault locking process. - */ - lockId?: string; - } - export interface InventoryRetrievalJobDescription { - /** - * The output format for the vault inventory list, which is set by the InitiateJob request when initiating a job to retrieve a vault inventory. Valid values are CSV and JSON. - */ - Format?: string; - /** - * The start of the date range in Universal Coordinated Time (UTC) for vault inventory retrieval that includes archives created on or after this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z. - */ - StartDate?: DateTime; - /** - * The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z. - */ - EndDate?: DateTime; - /** - * The maximum number of inventory items returned per vault inventory retrieval request. This limit is set when initiating the job with the a InitiateJob request. - */ - Limit?: string; - /** - * An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is null. For more information, see Range Inventory Retrieval. - */ - Marker?: string; - } - export interface InventoryRetrievalJobInput { - /** - * The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z. - */ - StartDate?: string; - /** - * The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z. - */ - EndDate?: string; - /** - * Specifies the maximum number of inventory items returned per vault inventory retrieval request. Valid values are greater than or equal to 1. - */ - Limit?: string; - /** - * An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is null. - */ - Marker?: string; - } - export type JobList = GlacierJobDescription[]; - export interface JobParameters { - /** - * When initiating a job to retrieve a vault inventory, you can optionally add this parameter to your request to specify the output format. If you are initiating an inventory job and do not specify a Format field, JSON is the default format. Valid values are "CSV" and "JSON". - */ - Format?: string; - /** - * The job type. You can initiate a job to retrieve an archive or get an inventory of a vault. Valid values are "archive-retrieval" and "inventory-retrieval". - */ - Type?: string; - /** - * The ID of the archive that you want to retrieve. This field is required only if Type is set to archive-retrieval. An error occurs if you specify this request parameter for an inventory retrieval job request. - */ - ArchiveId?: string; - /** - * The optional description for the job. The description must be less than or equal to 1,024 bytes. The allowable characters are 7-bit ASCII without control codes-specifically, ASCII values 32-126 decimal or 0x20-0x7E hexadecimal. - */ - Description?: string; - /** - * The Amazon SNS topic ARN to which Amazon Glacier sends a notification when the job is completed and the output is ready for you to download. The specified topic publishes the notification to its subscribers. The SNS topic must exist. - */ - SNSTopic?: string; - /** - * The byte range to retrieve for an archive retrieval. in the form "StartByteValue-EndByteValue" If not specified, the whole archive is retrieved. If specified, the byte range must be megabyte (1024*1024) aligned which means that StartByteValue must be divisible by 1 MB and EndByteValue plus 1 must be divisible by 1 MB or be the end of the archive specified as the archive byte size value minus 1. If RetrievalByteRange is not megabyte aligned, this operation returns a 400 response. An error occurs if you specify this field for an inventory retrieval job request. - */ - RetrievalByteRange?: string; - /** - * The retrieval option to use for the archive retrieval. Valid values are Expedited, Standard, or Bulk. Standard is the default. - */ - Tier?: string; - /** - * Input parameters used for range inventory retrieval. - */ - InventoryRetrievalParameters?: InventoryRetrievalJobInput; - } - export interface ListJobsInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The maximum number of jobs to be returned. The default limit is 1000. The number of jobs returned might be fewer than the specified limit, but the number of returned jobs never exceeds the limit. - */ - limit?: string; - /** - * An opaque string used for pagination. This value specifies the job at which the listing of jobs should begin. Get the marker value from a previous List Jobs response. You only need to include the marker if you are continuing the pagination of results started in a previous List Jobs request. - */ - marker?: string; - /** - * The type of job status to return. You can specify the following values: InProgress, Succeeded, or Failed. - */ - statuscode?: string; - /** - * The state of the jobs to return. You can specify true or false. - */ - completed?: string; - } - export interface ListJobsOutput { - /** - * A list of job objects. Each job object contains metadata describing the job. - */ - JobList?: JobList; - /** - * An opaque string used for pagination that specifies the job at which the listing of jobs should begin. You get the marker value from a previous List Jobs response. You only need to include the marker if you are continuing the pagination of the results started in a previous List Jobs request. - */ - Marker?: string; - } - export interface ListMultipartUploadsInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * An opaque string used for pagination. This value specifies the upload at which the listing of uploads should begin. Get the marker value from a previous List Uploads response. You need only include the marker if you are continuing the pagination of results started in a previous List Uploads request. - */ - marker?: string; - /** - * Specifies the maximum number of uploads returned in the response body. If this value is not specified, the List Uploads operation returns up to 1,000 uploads. - */ - limit?: string; - } - export interface ListMultipartUploadsOutput { - /** - * A list of in-progress multipart uploads. - */ - UploadsList?: UploadsList; - /** - * An opaque string that represents where to continue pagination of the results. You use the marker in a new List Multipart Uploads request to obtain more uploads in the list. If there are no more uploads, this value is null. - */ - Marker?: string; - } - export interface ListPartsInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The upload ID of the multipart upload. - */ - uploadId: string; - /** - * An opaque string used for pagination. This value specifies the part at which the listing of parts should begin. Get the marker value from the response of a previous List Parts response. You need only include the marker if you are continuing the pagination of results started in a previous List Parts request. - */ - marker?: string; - /** - * The maximum number of parts to be returned. The default limit is 1000. The number of parts returned might be fewer than the specified limit, but the number of returned parts never exceeds the limit. - */ - limit?: string; - } - export interface ListPartsOutput { - /** - * The ID of the upload to which the parts are associated. - */ - MultipartUploadId?: string; - /** - * The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated. - */ - VaultARN?: string; - /** - * The description of the archive that was specified in the Initiate Multipart Upload request. - */ - ArchiveDescription?: string; - /** - * The part size in bytes. This is the same value that you specified in the Initiate Multipart Upload request. - */ - PartSizeInBytes?: long; - /** - * The UTC time at which the multipart upload was initiated. - */ - CreationDate?: string; - /** - * A list of the part sizes of the multipart upload. Each object in the array contains a RangeBytes and sha256-tree-hash name/value pair. - */ - Parts?: PartList; - /** - * An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is null. - */ - Marker?: string; - } - export interface ListProvisionedCapacityInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, don't include any hyphens ('-') in the ID. - */ - accountId: string; - } - export interface ListProvisionedCapacityOutput { - /** - * The response body contains the following JSON fields. - */ - ProvisionedCapacityList?: ProvisionedCapacityList; - } - export interface ListTagsForVaultInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - } - export interface ListTagsForVaultOutput { - /** - * The tags attached to the vault. Each tag is composed of a key and a value. - */ - Tags?: TagMap; - } - export interface ListVaultsInput { - /** - * The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * A string used for pagination. The marker specifies the vault ARN after which the listing of vaults should begin. - */ - marker?: string; - /** - * The maximum number of vaults to be returned. The default limit is 1000. The number of vaults returned might be fewer than the specified limit, but the number of returned vaults never exceeds the limit. - */ - limit?: string; - } - export interface ListVaultsOutput { - /** - * List of vaults. - */ - VaultList?: VaultList; - /** - * The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list. - */ - Marker?: string; - } - export type NotificationEventList = string[]; - export type NullableLong = number; - export type PartList = PartListElement[]; - export interface PartListElement { - /** - * The byte range of a part, inclusive of the upper value of the range. - */ - RangeInBytes?: string; - /** - * The SHA256 tree hash value that Amazon Glacier calculated for the part. This field is never null. - */ - SHA256TreeHash?: string; - } - export interface ProvisionedCapacityDescription { - /** - * The ID that identifies the provisioned capacity unit. - */ - CapacityId?: string; - /** - * The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC). - */ - StartDate?: string; - /** - * The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC). - */ - ExpirationDate?: string; - } - export type ProvisionedCapacityList = ProvisionedCapacityDescription[]; - export interface PurchaseProvisionedCapacityInput { - /** - * The AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, don't include any hyphens ('-') in the ID. - */ - accountId: string; - } - export interface PurchaseProvisionedCapacityOutput { - /** - * The ID that identifies the provisioned capacity unit. - */ - capacityId?: string; - } - export interface RemoveTagsFromVaultInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * A list of tag keys. Each corresponding tag is removed from the vault. - */ - TagKeys?: TagKeyList; - } - export interface SetDataRetrievalPolicyInput { - /** - * The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The data retrieval policy in JSON format. - */ - Policy?: DataRetrievalPolicy; - } - export interface SetVaultAccessPolicyInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The vault access policy as a JSON string. - */ - policy?: VaultAccessPolicy; - } - export interface SetVaultNotificationsInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * Provides options for specifying notification configuration. - */ - vaultNotificationConfig?: VaultNotificationConfig; - } - export type Size = number; - export type StatusCode = "InProgress"|"Succeeded"|"Failed"|string; - export type Stream = Buffer|Uint8Array|Blob|string; - export type TagKey = string; - export type TagKeyList = string[]; - export type TagMap = {[key: string]: TagValue}; - export type TagValue = string; - export interface UploadArchiveInput { - /** - * The name of the vault. - */ - vaultName: string; - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The optional description of the archive you are uploading. - */ - archiveDescription?: string; - /** - * The SHA256 tree hash of the data being uploaded. - */ - checksum?: string; - /** - * The data to upload. - */ - body?: Stream; - } - export interface UploadListElement { - /** - * The ID of a multipart upload. - */ - MultipartUploadId?: string; - /** - * The Amazon Resource Name (ARN) of the vault that contains the archive. - */ - VaultARN?: string; - /** - * The description of the archive that was specified in the Initiate Multipart Upload request. - */ - ArchiveDescription?: string; - /** - * The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size. - */ - PartSizeInBytes?: long; - /** - * The UTC time at which the multipart upload was initiated. - */ - CreationDate?: string; - } - export interface UploadMultipartPartInput { - /** - * The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID. - */ - accountId: string; - /** - * The name of the vault. - */ - vaultName: string; - /** - * The upload ID of the multipart upload. - */ - uploadId: string; - /** - * The SHA256 tree hash of the data being uploaded. - */ - checksum?: string; - /** - * Identifies the range of bytes in the assembled archive that will be uploaded in this part. Amazon Glacier uses this information to assemble the archive in the proper sequence. The format of this header follows RFC 2616. An example header is Content-Range:bytes 0-4194303/*. - */ - range?: string; - /** - * The data to upload. - */ - body?: Stream; - } - export interface UploadMultipartPartOutput { - /** - * The SHA256 tree hash that Amazon Glacier computed for the uploaded part. - */ - checksum?: string; - } - export type UploadsList = UploadListElement[]; - export interface VaultAccessPolicy { - /** - * The vault access policy. - */ - Policy?: string; - } - export type VaultList = DescribeVaultOutput[]; - export interface VaultLockPolicy { - /** - * The vault lock policy. - */ - Policy?: string; - } - export interface VaultNotificationConfig { - /** - * The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN). - */ - SNSTopic?: string; - /** - * A list of one or more events for which Amazon Glacier will send a notification to the specified Amazon SNS topic. - */ - Events?: NotificationEventList; - } - export type httpstatus = number; - export type long = number; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2012-06-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Glacier client. - */ - export import Types = Glacier; -} -export = Glacier; diff --git a/src/node_modules/aws-sdk/clients/glacier.js b/src/node_modules/aws-sdk/clients/glacier.js deleted file mode 100644 index 6255b69..0000000 --- a/src/node_modules/aws-sdk/clients/glacier.js +++ /dev/null @@ -1,20 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['glacier'] = {}; -AWS.Glacier = Service.defineService('glacier', ['2012-06-01']); -require('../lib/services/glacier'); -Object.defineProperty(apiLoader.services['glacier'], '2012-06-01', { - get: function get() { - var model = require('../apis/glacier-2012-06-01.min.json'); - model.paginators = require('../apis/glacier-2012-06-01.paginators.json').pagination; - model.waiters = require('../apis/glacier-2012-06-01.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Glacier; diff --git a/src/node_modules/aws-sdk/clients/greengrass.d.ts b/src/node_modules/aws-sdk/clients/greengrass.d.ts deleted file mode 100644 index 9e17c30..0000000 --- a/src/node_modules/aws-sdk/clients/greengrass.d.ts +++ /dev/null @@ -1,2469 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Greengrass extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Greengrass.Types.ClientConfiguration) - config: Config & Greengrass.Types.ClientConfiguration; - /** - * Associates a role with a group. The role will be used by the AWS Greengrass core in order to access AWS cloud services. The role's permissions will allow Greengrass core Lambda functions to perform actions against the cloud. - */ - associateRoleToGroup(params: Greengrass.Types.AssociateRoleToGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.AssociateRoleToGroupResponse) => void): Request; - /** - * Associates a role with a group. The role will be used by the AWS Greengrass core in order to access AWS cloud services. The role's permissions will allow Greengrass core Lambda functions to perform actions against the cloud. - */ - associateRoleToGroup(callback?: (err: AWSError, data: Greengrass.Types.AssociateRoleToGroupResponse) => void): Request; - /** - * Associates a role which is used by AWS Greengrass. AWS Greengrass uses the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. It needs to have minimum permissions in policy ``AWSGreengrassResourceAccessRolePolicy`` - */ - associateServiceRoleToAccount(params: Greengrass.Types.AssociateServiceRoleToAccountRequest, callback?: (err: AWSError, data: Greengrass.Types.AssociateServiceRoleToAccountResponse) => void): Request; - /** - * Associates a role which is used by AWS Greengrass. AWS Greengrass uses the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. It needs to have minimum permissions in policy ``AWSGreengrassResourceAccessRolePolicy`` - */ - associateServiceRoleToAccount(callback?: (err: AWSError, data: Greengrass.Types.AssociateServiceRoleToAccountResponse) => void): Request; - /** - * Creates a core definition. You may optionally provide the initial version of the core definition or use ''CreateCoreDefinitionVersion'' at a later time. AWS Greengrass Groups must each contain exactly 1 AWS Greengrass Core. - */ - createCoreDefinition(params: Greengrass.Types.CreateCoreDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateCoreDefinitionResponse) => void): Request; - /** - * Creates a core definition. You may optionally provide the initial version of the core definition or use ''CreateCoreDefinitionVersion'' at a later time. AWS Greengrass Groups must each contain exactly 1 AWS Greengrass Core. - */ - createCoreDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateCoreDefinitionResponse) => void): Request; - /** - * Creates a version of a core definition that has already been defined. AWS Greengrass Groups must each contain exactly 1 AWS Greengrass Core. - */ - createCoreDefinitionVersion(params: Greengrass.Types.CreateCoreDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateCoreDefinitionVersionResponse) => void): Request; - /** - * Creates a version of a core definition that has already been defined. AWS Greengrass Groups must each contain exactly 1 AWS Greengrass Core. - */ - createCoreDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateCoreDefinitionVersionResponse) => void): Request; - /** - * Creates a deployment. - */ - createDeployment(params: Greengrass.Types.CreateDeploymentRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateDeploymentResponse) => void): Request; - /** - * Creates a deployment. - */ - createDeployment(callback?: (err: AWSError, data: Greengrass.Types.CreateDeploymentResponse) => void): Request; - /** - * Creates a device definition. You may optinally provide the initial version of the device definition or use ``CreateDeviceDefinitionVersion`` at a later time. - */ - createDeviceDefinition(params: Greengrass.Types.CreateDeviceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateDeviceDefinitionResponse) => void): Request; - /** - * Creates a device definition. You may optinally provide the initial version of the device definition or use ``CreateDeviceDefinitionVersion`` at a later time. - */ - createDeviceDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateDeviceDefinitionResponse) => void): Request; - /** - * Creates a version of a device definition that has already been defined. - */ - createDeviceDefinitionVersion(params: Greengrass.Types.CreateDeviceDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateDeviceDefinitionVersionResponse) => void): Request; - /** - * Creates a version of a device definition that has already been defined. - */ - createDeviceDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateDeviceDefinitionVersionResponse) => void): Request; - /** - * Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ``CreateFunctionDefinitionVersion`` later. - */ - createFunctionDefinition(params: Greengrass.Types.CreateFunctionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateFunctionDefinitionResponse) => void): Request; - /** - * Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ``CreateFunctionDefinitionVersion`` later. - */ - createFunctionDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateFunctionDefinitionResponse) => void): Request; - /** - * Create a version of a Lambda function definition that has already been defined. - */ - createFunctionDefinitionVersion(params: Greengrass.Types.CreateFunctionDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateFunctionDefinitionVersionResponse) => void): Request; - /** - * Create a version of a Lambda function definition that has already been defined. - */ - createFunctionDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateFunctionDefinitionVersionResponse) => void): Request; - /** - * Creates a group. You may optionally provide the initial version of the group or use ''CreateGroupVersion'' at a later time. - */ - createGroup(params: Greengrass.Types.CreateGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateGroupResponse) => void): Request; - /** - * Creates a group. You may optionally provide the initial version of the group or use ''CreateGroupVersion'' at a later time. - */ - createGroup(callback?: (err: AWSError, data: Greengrass.Types.CreateGroupResponse) => void): Request; - /** - * Creates a CA for the group. If a CA already exists, it will rotate the existing CA. - */ - createGroupCertificateAuthority(params: Greengrass.Types.CreateGroupCertificateAuthorityRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateGroupCertificateAuthorityResponse) => void): Request; - /** - * Creates a CA for the group. If a CA already exists, it will rotate the existing CA. - */ - createGroupCertificateAuthority(callback?: (err: AWSError, data: Greengrass.Types.CreateGroupCertificateAuthorityResponse) => void): Request; - /** - * Creates a version of a group which has already been defined. - */ - createGroupVersion(params: Greengrass.Types.CreateGroupVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateGroupVersionResponse) => void): Request; - /** - * Creates a version of a group which has already been defined. - */ - createGroupVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateGroupVersionResponse) => void): Request; - /** - * Creates a logger definition. You may optionally provide the initial version of the logger definition or use ``CreateLoggerDefinitionVersion`` at a later time. - */ - createLoggerDefinition(params: Greengrass.Types.CreateLoggerDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateLoggerDefinitionResponse) => void): Request; - /** - * Creates a logger definition. You may optionally provide the initial version of the logger definition or use ``CreateLoggerDefinitionVersion`` at a later time. - */ - createLoggerDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateLoggerDefinitionResponse) => void): Request; - /** - * Creates a version of a logger definition that has already been defined. - */ - createLoggerDefinitionVersion(params: Greengrass.Types.CreateLoggerDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateLoggerDefinitionVersionResponse) => void): Request; - /** - * Creates a version of a logger definition that has already been defined. - */ - createLoggerDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateLoggerDefinitionVersionResponse) => void): Request; - /** - * Creates a subscription definition. You may optionally provide the initial version of the subscription definition or use ``CreateSubscriptionDefinitionVersion`` at a later time. - */ - createSubscriptionDefinition(params: Greengrass.Types.CreateSubscriptionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateSubscriptionDefinitionResponse) => void): Request; - /** - * Creates a subscription definition. You may optionally provide the initial version of the subscription definition or use ``CreateSubscriptionDefinitionVersion`` at a later time. - */ - createSubscriptionDefinition(callback?: (err: AWSError, data: Greengrass.Types.CreateSubscriptionDefinitionResponse) => void): Request; - /** - * Creates a version of a subscription definition which has already been defined. - */ - createSubscriptionDefinitionVersion(params: Greengrass.Types.CreateSubscriptionDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.CreateSubscriptionDefinitionVersionResponse) => void): Request; - /** - * Creates a version of a subscription definition which has already been defined. - */ - createSubscriptionDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.CreateSubscriptionDefinitionVersionResponse) => void): Request; - /** - * Deletes a core definition. The core definition must not have been used in a deployment. - */ - deleteCoreDefinition(params: Greengrass.Types.DeleteCoreDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteCoreDefinitionResponse) => void): Request; - /** - * Deletes a core definition. The core definition must not have been used in a deployment. - */ - deleteCoreDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteCoreDefinitionResponse) => void): Request; - /** - * Deletes a device definition. The device definition must not have been used in a deployment. - */ - deleteDeviceDefinition(params: Greengrass.Types.DeleteDeviceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteDeviceDefinitionResponse) => void): Request; - /** - * Deletes a device definition. The device definition must not have been used in a deployment. - */ - deleteDeviceDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteDeviceDefinitionResponse) => void): Request; - /** - * Deletes a Lambda function definition. The Lambda function definition must not have been used in a deployment. - */ - deleteFunctionDefinition(params: Greengrass.Types.DeleteFunctionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteFunctionDefinitionResponse) => void): Request; - /** - * Deletes a Lambda function definition. The Lambda function definition must not have been used in a deployment. - */ - deleteFunctionDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteFunctionDefinitionResponse) => void): Request; - /** - * Deletes a group. The group must not have been used in deployment. - */ - deleteGroup(params: Greengrass.Types.DeleteGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteGroupResponse) => void): Request; - /** - * Deletes a group. The group must not have been used in deployment. - */ - deleteGroup(callback?: (err: AWSError, data: Greengrass.Types.DeleteGroupResponse) => void): Request; - /** - * Deletes a logger definition. The logger definition must not have been used in a deployment. - */ - deleteLoggerDefinition(params: Greengrass.Types.DeleteLoggerDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteLoggerDefinitionResponse) => void): Request; - /** - * Deletes a logger definition. The logger definition must not have been used in a deployment. - */ - deleteLoggerDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteLoggerDefinitionResponse) => void): Request; - /** - * Deletes a subscription definition. The subscription definition must not have been used in a deployment. - */ - deleteSubscriptionDefinition(params: Greengrass.Types.DeleteSubscriptionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.DeleteSubscriptionDefinitionResponse) => void): Request; - /** - * Deletes a subscription definition. The subscription definition must not have been used in a deployment. - */ - deleteSubscriptionDefinition(callback?: (err: AWSError, data: Greengrass.Types.DeleteSubscriptionDefinitionResponse) => void): Request; - /** - * Disassociates the role from a group. - */ - disassociateRoleFromGroup(params: Greengrass.Types.DisassociateRoleFromGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.DisassociateRoleFromGroupResponse) => void): Request; - /** - * Disassociates the role from a group. - */ - disassociateRoleFromGroup(callback?: (err: AWSError, data: Greengrass.Types.DisassociateRoleFromGroupResponse) => void): Request; - /** - * Disassociates the service role from the account. Without a service role, deployments will not work. - */ - disassociateServiceRoleFromAccount(params: Greengrass.Types.DisassociateServiceRoleFromAccountRequest, callback?: (err: AWSError, data: Greengrass.Types.DisassociateServiceRoleFromAccountResponse) => void): Request; - /** - * Disassociates the service role from the account. Without a service role, deployments will not work. - */ - disassociateServiceRoleFromAccount(callback?: (err: AWSError, data: Greengrass.Types.DisassociateServiceRoleFromAccountResponse) => void): Request; - /** - * Retrieves the role associated with a particular group. - */ - getAssociatedRole(params: Greengrass.Types.GetAssociatedRoleRequest, callback?: (err: AWSError, data: Greengrass.Types.GetAssociatedRoleResponse) => void): Request; - /** - * Retrieves the role associated with a particular group. - */ - getAssociatedRole(callback?: (err: AWSError, data: Greengrass.Types.GetAssociatedRoleResponse) => void): Request; - /** - * Retrieves the connectivity information for a core. - */ - getConnectivityInfo(params: Greengrass.Types.GetConnectivityInfoRequest, callback?: (err: AWSError, data: Greengrass.Types.GetConnectivityInfoResponse) => void): Request; - /** - * Retrieves the connectivity information for a core. - */ - getConnectivityInfo(callback?: (err: AWSError, data: Greengrass.Types.GetConnectivityInfoResponse) => void): Request; - /** - * Retrieves information about a core definition version. - */ - getCoreDefinition(params: Greengrass.Types.GetCoreDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetCoreDefinitionResponse) => void): Request; - /** - * Retrieves information about a core definition version. - */ - getCoreDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetCoreDefinitionResponse) => void): Request; - /** - * Retrieves information about a core definition version. - */ - getCoreDefinitionVersion(params: Greengrass.Types.GetCoreDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetCoreDefinitionVersionResponse) => void): Request; - /** - * Retrieves information about a core definition version. - */ - getCoreDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetCoreDefinitionVersionResponse) => void): Request; - /** - * Returns the status of a deployment. - */ - getDeploymentStatus(params: Greengrass.Types.GetDeploymentStatusRequest, callback?: (err: AWSError, data: Greengrass.Types.GetDeploymentStatusResponse) => void): Request; - /** - * Returns the status of a deployment. - */ - getDeploymentStatus(callback?: (err: AWSError, data: Greengrass.Types.GetDeploymentStatusResponse) => void): Request; - /** - * Retrieves information about a device definition. - */ - getDeviceDefinition(params: Greengrass.Types.GetDeviceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetDeviceDefinitionResponse) => void): Request; - /** - * Retrieves information about a device definition. - */ - getDeviceDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetDeviceDefinitionResponse) => void): Request; - /** - * Retrieves information about a device definition version. - */ - getDeviceDefinitionVersion(params: Greengrass.Types.GetDeviceDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetDeviceDefinitionVersionResponse) => void): Request; - /** - * Retrieves information about a device definition version. - */ - getDeviceDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetDeviceDefinitionVersionResponse) => void): Request; - /** - * Retrieves information about a Lambda function definition, such as its creation time and latest version. - */ - getFunctionDefinition(params: Greengrass.Types.GetFunctionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetFunctionDefinitionResponse) => void): Request; - /** - * Retrieves information about a Lambda function definition, such as its creation time and latest version. - */ - getFunctionDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetFunctionDefinitionResponse) => void): Request; - /** - * Retrieves information about a Lambda function definition version, such as which Lambda functions are included in the version and their configurations. - */ - getFunctionDefinitionVersion(params: Greengrass.Types.GetFunctionDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetFunctionDefinitionVersionResponse) => void): Request; - /** - * Retrieves information about a Lambda function definition version, such as which Lambda functions are included in the version and their configurations. - */ - getFunctionDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetFunctionDefinitionVersionResponse) => void): Request; - /** - * Retrieves information about a group. - */ - getGroup(params: Greengrass.Types.GetGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.GetGroupResponse) => void): Request; - /** - * Retrieves information about a group. - */ - getGroup(callback?: (err: AWSError, data: Greengrass.Types.GetGroupResponse) => void): Request; - /** - * Retreives the CA associated with a group. Returns the public key of the CA. - */ - getGroupCertificateAuthority(params: Greengrass.Types.GetGroupCertificateAuthorityRequest, callback?: (err: AWSError, data: Greengrass.Types.GetGroupCertificateAuthorityResponse) => void): Request; - /** - * Retreives the CA associated with a group. Returns the public key of the CA. - */ - getGroupCertificateAuthority(callback?: (err: AWSError, data: Greengrass.Types.GetGroupCertificateAuthorityResponse) => void): Request; - /** - * Retrieves the current configuration for the CA used by the group. - */ - getGroupCertificateConfiguration(params: Greengrass.Types.GetGroupCertificateConfigurationRequest, callback?: (err: AWSError, data: Greengrass.Types.GetGroupCertificateConfigurationResponse) => void): Request; - /** - * Retrieves the current configuration for the CA used by the group. - */ - getGroupCertificateConfiguration(callback?: (err: AWSError, data: Greengrass.Types.GetGroupCertificateConfigurationResponse) => void): Request; - /** - * Retrieves information about a group version. - */ - getGroupVersion(params: Greengrass.Types.GetGroupVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetGroupVersionResponse) => void): Request; - /** - * Retrieves information about a group version. - */ - getGroupVersion(callback?: (err: AWSError, data: Greengrass.Types.GetGroupVersionResponse) => void): Request; - /** - * Retrieves information about a logger definition. - */ - getLoggerDefinition(params: Greengrass.Types.GetLoggerDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetLoggerDefinitionResponse) => void): Request; - /** - * Retrieves information about a logger definition. - */ - getLoggerDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetLoggerDefinitionResponse) => void): Request; - /** - * Retrieves information about a logger definition version. - */ - getLoggerDefinitionVersion(params: Greengrass.Types.GetLoggerDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetLoggerDefinitionVersionResponse) => void): Request; - /** - * Retrieves information about a logger definition version. - */ - getLoggerDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetLoggerDefinitionVersionResponse) => void): Request; - /** - * Retrieves the service role that is attached to the account. - */ - getServiceRoleForAccount(params: Greengrass.Types.GetServiceRoleForAccountRequest, callback?: (err: AWSError, data: Greengrass.Types.GetServiceRoleForAccountResponse) => void): Request; - /** - * Retrieves the service role that is attached to the account. - */ - getServiceRoleForAccount(callback?: (err: AWSError, data: Greengrass.Types.GetServiceRoleForAccountResponse) => void): Request; - /** - * Retrieves information about a subscription definition. - */ - getSubscriptionDefinition(params: Greengrass.Types.GetSubscriptionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetSubscriptionDefinitionResponse) => void): Request; - /** - * Retrieves information about a subscription definition. - */ - getSubscriptionDefinition(callback?: (err: AWSError, data: Greengrass.Types.GetSubscriptionDefinitionResponse) => void): Request; - /** - * Retrieves information about a subscription definition version. - */ - getSubscriptionDefinitionVersion(params: Greengrass.Types.GetSubscriptionDefinitionVersionRequest, callback?: (err: AWSError, data: Greengrass.Types.GetSubscriptionDefinitionVersionResponse) => void): Request; - /** - * Retrieves information about a subscription definition version. - */ - getSubscriptionDefinitionVersion(callback?: (err: AWSError, data: Greengrass.Types.GetSubscriptionDefinitionVersionResponse) => void): Request; - /** - * Lists versions of a core definition. - */ - listCoreDefinitionVersions(params: Greengrass.Types.ListCoreDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListCoreDefinitionVersionsResponse) => void): Request; - /** - * Lists versions of a core definition. - */ - listCoreDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListCoreDefinitionVersionsResponse) => void): Request; - /** - * Retrieves a list of core definitions. - */ - listCoreDefinitions(params: Greengrass.Types.ListCoreDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListCoreDefinitionsResponse) => void): Request; - /** - * Retrieves a list of core definitions. - */ - listCoreDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListCoreDefinitionsResponse) => void): Request; - /** - * Returns a history of deployments for the group. - */ - listDeployments(params: Greengrass.Types.ListDeploymentsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListDeploymentsResponse) => void): Request; - /** - * Returns a history of deployments for the group. - */ - listDeployments(callback?: (err: AWSError, data: Greengrass.Types.ListDeploymentsResponse) => void): Request; - /** - * Lists the versions of a device definition. - */ - listDeviceDefinitionVersions(params: Greengrass.Types.ListDeviceDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListDeviceDefinitionVersionsResponse) => void): Request; - /** - * Lists the versions of a device definition. - */ - listDeviceDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListDeviceDefinitionVersionsResponse) => void): Request; - /** - * Retrieves a list of device definitions. - */ - listDeviceDefinitions(params: Greengrass.Types.ListDeviceDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListDeviceDefinitionsResponse) => void): Request; - /** - * Retrieves a list of device definitions. - */ - listDeviceDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListDeviceDefinitionsResponse) => void): Request; - /** - * Lists the versions of a Lambda function definition. - */ - listFunctionDefinitionVersions(params: Greengrass.Types.ListFunctionDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListFunctionDefinitionVersionsResponse) => void): Request; - /** - * Lists the versions of a Lambda function definition. - */ - listFunctionDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListFunctionDefinitionVersionsResponse) => void): Request; - /** - * Retrieves a list of Lambda function definitions. - */ - listFunctionDefinitions(params: Greengrass.Types.ListFunctionDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListFunctionDefinitionsResponse) => void): Request; - /** - * Retrieves a list of Lambda function definitions. - */ - listFunctionDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListFunctionDefinitionsResponse) => void): Request; - /** - * Retrieves the current CAs for a group. - */ - listGroupCertificateAuthorities(params: Greengrass.Types.ListGroupCertificateAuthoritiesRequest, callback?: (err: AWSError, data: Greengrass.Types.ListGroupCertificateAuthoritiesResponse) => void): Request; - /** - * Retrieves the current CAs for a group. - */ - listGroupCertificateAuthorities(callback?: (err: AWSError, data: Greengrass.Types.ListGroupCertificateAuthoritiesResponse) => void): Request; - /** - * List the versions of a group. - */ - listGroupVersions(params: Greengrass.Types.ListGroupVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListGroupVersionsResponse) => void): Request; - /** - * List the versions of a group. - */ - listGroupVersions(callback?: (err: AWSError, data: Greengrass.Types.ListGroupVersionsResponse) => void): Request; - /** - * Retrieves a list of groups. - */ - listGroups(params: Greengrass.Types.ListGroupsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListGroupsResponse) => void): Request; - /** - * Retrieves a list of groups. - */ - listGroups(callback?: (err: AWSError, data: Greengrass.Types.ListGroupsResponse) => void): Request; - /** - * Lists the versions of a logger definition. - */ - listLoggerDefinitionVersions(params: Greengrass.Types.ListLoggerDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListLoggerDefinitionVersionsResponse) => void): Request; - /** - * Lists the versions of a logger definition. - */ - listLoggerDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListLoggerDefinitionVersionsResponse) => void): Request; - /** - * Retrieves a list of logger definitions. - */ - listLoggerDefinitions(params: Greengrass.Types.ListLoggerDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListLoggerDefinitionsResponse) => void): Request; - /** - * Retrieves a list of logger definitions. - */ - listLoggerDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListLoggerDefinitionsResponse) => void): Request; - /** - * Lists the versions of a subscription definition. - */ - listSubscriptionDefinitionVersions(params: Greengrass.Types.ListSubscriptionDefinitionVersionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListSubscriptionDefinitionVersionsResponse) => void): Request; - /** - * Lists the versions of a subscription definition. - */ - listSubscriptionDefinitionVersions(callback?: (err: AWSError, data: Greengrass.Types.ListSubscriptionDefinitionVersionsResponse) => void): Request; - /** - * Retrieves a list of subscription definitions. - */ - listSubscriptionDefinitions(params: Greengrass.Types.ListSubscriptionDefinitionsRequest, callback?: (err: AWSError, data: Greengrass.Types.ListSubscriptionDefinitionsResponse) => void): Request; - /** - * Retrieves a list of subscription definitions. - */ - listSubscriptionDefinitions(callback?: (err: AWSError, data: Greengrass.Types.ListSubscriptionDefinitionsResponse) => void): Request; - /** - * Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it. - */ - updateConnectivityInfo(params: Greengrass.Types.UpdateConnectivityInfoRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateConnectivityInfoResponse) => void): Request; - /** - * Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it. - */ - updateConnectivityInfo(callback?: (err: AWSError, data: Greengrass.Types.UpdateConnectivityInfoResponse) => void): Request; - /** - * Updates a core definition. - */ - updateCoreDefinition(params: Greengrass.Types.UpdateCoreDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateCoreDefinitionResponse) => void): Request; - /** - * Updates a core definition. - */ - updateCoreDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateCoreDefinitionResponse) => void): Request; - /** - * Updates a device definition. - */ - updateDeviceDefinition(params: Greengrass.Types.UpdateDeviceDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateDeviceDefinitionResponse) => void): Request; - /** - * Updates a device definition. - */ - updateDeviceDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateDeviceDefinitionResponse) => void): Request; - /** - * Updates a Lambda function definition. - */ - updateFunctionDefinition(params: Greengrass.Types.UpdateFunctionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateFunctionDefinitionResponse) => void): Request; - /** - * Updates a Lambda function definition. - */ - updateFunctionDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateFunctionDefinitionResponse) => void): Request; - /** - * Updates a group. - */ - updateGroup(params: Greengrass.Types.UpdateGroupRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateGroupResponse) => void): Request; - /** - * Updates a group. - */ - updateGroup(callback?: (err: AWSError, data: Greengrass.Types.UpdateGroupResponse) => void): Request; - /** - * Updates the Cert expiry time for a group. - */ - updateGroupCertificateConfiguration(params: Greengrass.Types.UpdateGroupCertificateConfigurationRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateGroupCertificateConfigurationResponse) => void): Request; - /** - * Updates the Cert expiry time for a group. - */ - updateGroupCertificateConfiguration(callback?: (err: AWSError, data: Greengrass.Types.UpdateGroupCertificateConfigurationResponse) => void): Request; - /** - * Updates a logger definition. - */ - updateLoggerDefinition(params: Greengrass.Types.UpdateLoggerDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateLoggerDefinitionResponse) => void): Request; - /** - * Updates a logger definition. - */ - updateLoggerDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateLoggerDefinitionResponse) => void): Request; - /** - * Updates a subscription definition. - */ - updateSubscriptionDefinition(params: Greengrass.Types.UpdateSubscriptionDefinitionRequest, callback?: (err: AWSError, data: Greengrass.Types.UpdateSubscriptionDefinitionResponse) => void): Request; - /** - * Updates a subscription definition. - */ - updateSubscriptionDefinition(callback?: (err: AWSError, data: Greengrass.Types.UpdateSubscriptionDefinitionResponse) => void): Request; -} -declare namespace Greengrass { - export interface AssociateRoleToGroupRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - /** - * Role arn you wish to associate with this group. - */ - RoleArn?: __string; - } - export interface AssociateRoleToGroupResponse { - /** - * Time the role arn was associated to your group. - */ - AssociatedAt?: __string; - } - export interface AssociateServiceRoleToAccountRequest { - /** - * Role arn you wish to associate with this account. - */ - RoleArn?: __string; - } - export interface AssociateServiceRoleToAccountResponse { - /** - * Time when the service role was associated to the account. - */ - AssociatedAt?: __string; - } - export interface ConnectivityInfo { - /** - * Endpoint for the GGC. Can be an IP address or DNS. - */ - HostAddress?: __string; - /** - * Element Id for this entry in the list. - */ - Id?: __string; - /** - * Metadata for this endpoint. - */ - Metadata?: __string; - /** - * Port of the GGC. Usually 8883. - */ - PortNumber?: __integer; - } - export interface Core { - /** - * Certificate arn of the core. - */ - CertificateArn?: __string; - /** - * Element Id for this entry in the list. - */ - Id?: __string; - /** - * If true, the local shadow value automatically syncs with the cloud's shadow state. - */ - SyncShadow?: __boolean; - /** - * Thing arn of the core. - */ - ThingArn?: __string; - } - export interface CoreDefinitionVersion { - /** - * Cores in the definition version. - */ - Cores?: ListOfCore; - } - export interface CreateCoreDefinitionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * Information on the initial version - */ - InitialVersion?: CoreDefinitionVersion; - /** - * name of the core definition - */ - Name?: __string; - } - export interface CreateCoreDefinitionResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface CreateCoreDefinitionVersionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * core definition Id - */ - CoreDefinitionId: __string; - /** - * Cores in the definition version. - */ - Cores?: ListOfCore; - } - export interface CreateCoreDefinitionVersionResponse { - /** - * Arn of the version. - */ - Arn?: __string; - /** - * Timestamp of when the version was created. - */ - CreationTimestamp?: __string; - /** - * Id of the resource container. - */ - Id?: __string; - /** - * Unique Id of a version. - */ - Version?: __string; - } - export interface CreateDeploymentRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * Id of the deployment if you wish to redeploy a previous deployment. - */ - DeploymentId?: __string; - /** - * Type of deployment - */ - DeploymentType?: DeploymentType; - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - /** - * Group Version you wish to deploy. - */ - GroupVersionId?: __string; - } - export interface CreateDeploymentResponse { - /** - * Arn of the deployment. - */ - DeploymentArn?: __string; - /** - * Id of the deployment. - */ - DeploymentId?: __string; - } - export interface CreateDeviceDefinitionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * Information on the initial version - */ - InitialVersion?: DeviceDefinitionVersion; - /** - * name of the device definition - */ - Name?: __string; - } - export interface CreateDeviceDefinitionResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface CreateDeviceDefinitionVersionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * device definition Id - */ - DeviceDefinitionId: __string; - /** - * Devices in the definition version. - */ - Devices?: ListOfDevice; - } - export interface CreateDeviceDefinitionVersionResponse { - /** - * Arn of the version. - */ - Arn?: __string; - /** - * Timestamp of when the version was created. - */ - CreationTimestamp?: __string; - /** - * Id of the resource container. - */ - Id?: __string; - /** - * Unique Id of a version. - */ - Version?: __string; - } - export interface CreateFunctionDefinitionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * Information on the initial version - */ - InitialVersion?: FunctionDefinitionVersion; - /** - * name of the function definition - */ - Name?: __string; - } - export interface CreateFunctionDefinitionResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface CreateFunctionDefinitionVersionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * the unique Id of the lambda definition - */ - FunctionDefinitionId: __string; - /** - * Lambda functions in this function definition version. - */ - Functions?: ListOfFunction; - } - export interface CreateFunctionDefinitionVersionResponse { - /** - * Arn of the version. - */ - Arn?: __string; - /** - * Timestamp of when the version was created. - */ - CreationTimestamp?: __string; - /** - * Id of the resource container. - */ - Id?: __string; - /** - * Unique Id of a version. - */ - Version?: __string; - } - export interface CreateGroupCertificateAuthorityRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - } - export interface CreateGroupCertificateAuthorityResponse { - /** - * Arn of the group certificate authority. - */ - GroupCertificateAuthorityArn?: __string; - } - export interface CreateGroupRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * Information on the initial version - */ - InitialVersion?: GroupVersion; - /** - * name of the group - */ - Name?: __string; - } - export interface CreateGroupResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface CreateGroupVersionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * Core definition version arn for this group. - */ - CoreDefinitionVersionArn?: __string; - /** - * Device definition version arn for this group. - */ - DeviceDefinitionVersionArn?: __string; - /** - * Function definition version arn for this group. - */ - FunctionDefinitionVersionArn?: __string; - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - /** - * Logger definitionv ersion arn for this group. - */ - LoggerDefinitionVersionArn?: __string; - /** - * Subscription definition version arn for this group. - */ - SubscriptionDefinitionVersionArn?: __string; - } - export interface CreateGroupVersionResponse { - /** - * Arn of the version. - */ - Arn?: __string; - /** - * Timestamp of when the version was created. - */ - CreationTimestamp?: __string; - /** - * Id of the resource container. - */ - Id?: __string; - /** - * Unique Id of a version. - */ - Version?: __string; - } - export interface CreateLoggerDefinitionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * Information on the initial version - */ - InitialVersion?: LoggerDefinitionVersion; - /** - * name of the logger definition - */ - Name?: __string; - } - export interface CreateLoggerDefinitionResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface CreateLoggerDefinitionVersionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * logger definition Id - */ - LoggerDefinitionId: __string; - /** - * List of loggers. - */ - Loggers?: ListOfLogger; - } - export interface CreateLoggerDefinitionVersionResponse { - /** - * Arn of the version. - */ - Arn?: __string; - /** - * Timestamp of when the version was created. - */ - CreationTimestamp?: __string; - /** - * Id of the resource container. - */ - Id?: __string; - /** - * Unique Id of a version. - */ - Version?: __string; - } - export interface CreateSubscriptionDefinitionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * Information on the initial version - */ - InitialVersion?: SubscriptionDefinitionVersion; - /** - * name of the subscription definition - */ - Name?: __string; - } - export interface CreateSubscriptionDefinitionResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface CreateSubscriptionDefinitionVersionRequest { - /** - * The client token used to request idempotent operations. - */ - AmznClientToken?: __string; - /** - * subscription definition Id - */ - SubscriptionDefinitionId: __string; - /** - * Subscriptions in the version. - */ - Subscriptions?: ListOfSubscription; - } - export interface CreateSubscriptionDefinitionVersionResponse { - /** - * Arn of the version. - */ - Arn?: __string; - /** - * Timestamp of when the version was created. - */ - CreationTimestamp?: __string; - /** - * Id of the resource container. - */ - Id?: __string; - /** - * Unique Id of a version. - */ - Version?: __string; - } - export interface DefinitionInformation { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface DeleteCoreDefinitionRequest { - /** - * core definition Id - */ - CoreDefinitionId: __string; - } - export interface DeleteCoreDefinitionResponse { - } - export interface DeleteDeviceDefinitionRequest { - /** - * device definition Id - */ - DeviceDefinitionId: __string; - } - export interface DeleteDeviceDefinitionResponse { - } - export interface DeleteFunctionDefinitionRequest { - /** - * the unique Id of the lambda definition - */ - FunctionDefinitionId: __string; - } - export interface DeleteFunctionDefinitionResponse { - } - export interface DeleteGroupRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - } - export interface DeleteGroupResponse { - } - export interface DeleteLoggerDefinitionRequest { - /** - * logger definition Id - */ - LoggerDefinitionId: __string; - } - export interface DeleteLoggerDefinitionResponse { - } - export interface DeleteSubscriptionDefinitionRequest { - /** - * subscription definition Id - */ - SubscriptionDefinitionId: __string; - } - export interface DeleteSubscriptionDefinitionResponse { - } - export interface Deployment { - /** - * Timestamp when the deployment was created. - */ - CreatedAt?: __string; - /** - * Arn of the deployment. - */ - DeploymentArn?: __string; - /** - * Id of the deployment. - */ - DeploymentId?: __string; - /** - * Arn of the group for this deployment. - */ - GroupArn?: __string; - } - export type DeploymentType = "NewDeployment"|"Redeployment"|string; - export type Deployments = Deployment[]; - export interface Device { - /** - * Certificate arn of the device. - */ - CertificateArn?: __string; - /** - * Element Id for this entry in the list. - */ - Id?: __string; - /** - * If true, the local shadow value automatically syncs with the cloud's shadow state. - */ - SyncShadow?: __boolean; - /** - * Thing arn of the device. - */ - ThingArn?: __string; - } - export interface DeviceDefinitionVersion { - /** - * Devices in the definition version. - */ - Devices?: ListOfDevice; - } - export interface DisassociateRoleFromGroupRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - } - export interface DisassociateRoleFromGroupResponse { - /** - * Time when the role was disassociated from the group. - */ - DisassociatedAt?: __string; - } - export interface DisassociateServiceRoleFromAccountRequest { - } - export interface DisassociateServiceRoleFromAccountResponse { - /** - * Time when the service role was disassociated from the account. - */ - DisassociatedAt?: __string; - } - export interface Empty { - } - export interface ErrorDetail { - /** - * Detailed Error Code - */ - DetailedErrorCode?: __string; - /** - * Detailed Error Message - */ - DetailedErrorMessage?: __string; - } - export type ErrorDetails = ErrorDetail[]; - export interface Function { - /** - * Arn of the Lambda function. - */ - FunctionArn?: __string; - /** - * Configuration of the function - */ - FunctionConfiguration?: FunctionConfiguration; - /** - * Id of the function in this version. - */ - Id?: __string; - } - export interface FunctionConfiguration { - /** - * Environment of the function configuration - */ - Environment?: FunctionConfigurationEnvironment; - /** - * Execution Arguments - */ - ExecArgs?: __string; - /** - * Executable - */ - Executable?: __string; - /** - * The memory size, in KB, you configured for the function. - */ - MemorySize?: __integer; - /** - * Whether the function is pinned or not. Pinned means the function is long-lived and starts when the core starts. - */ - Pinned?: __boolean; - /** - * The function execution time at which Lambda should terminate the function. This timeout still applies to pinned lambdas for each request. - */ - Timeout?: __integer; - } - export interface FunctionConfigurationEnvironment { - /** - * Environment variables for the lambda function. - */ - Variables?: MapOf__string; - } - export interface FunctionDefinitionVersion { - /** - * Lambda functions in this function definition version. - */ - Functions?: ListOfFunction; - } - export interface GeneralError { - /** - * Error Details - */ - ErrorDetails?: ErrorDetails; - /** - * Message - */ - Message?: __string; - } - export interface GetAssociatedRoleRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - } - export interface GetAssociatedRoleResponse { - /** - * Time when the role was associated for the group. - */ - AssociatedAt?: __string; - /** - * Arn of the role that is associated with the group. - */ - RoleArn?: __string; - } - export interface GetConnectivityInfoRequest { - /** - * Thing Name - */ - ThingName: __string; - } - export interface GetConnectivityInfoResponse { - /** - * Connectivity info array - */ - ConnectivityInfo?: ListOfConnectivityInfo; - /** - * Response Text - */ - Message?: __string; - } - export interface GetCoreDefinitionRequest { - /** - * core definition Id - */ - CoreDefinitionId: __string; - } - export interface GetCoreDefinitionResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface GetCoreDefinitionVersionRequest { - /** - * core definition Id - */ - CoreDefinitionId: __string; - /** - * core definition version Id - */ - CoreDefinitionVersionId: __string; - } - export interface GetCoreDefinitionVersionResponse { - /** - * Arn of the core definition version. - */ - Arn?: __string; - /** - * Timestamp of when the core definition version was created. - */ - CreationTimestamp?: __string; - /** - * Information on definition - */ - Definition?: CoreDefinitionVersion; - /** - * Id of the core definition the version belongs to. - */ - Id?: __string; - /** - * Version of the core definition version. - */ - Version?: __string; - } - export interface GetDeploymentStatusRequest { - /** - * the deployment Id - */ - DeploymentId: __string; - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - } - export interface GetDeploymentStatusResponse { - /** - * Status of the deployment. - */ - DeploymentStatus?: __string; - /** - * Error Message - */ - ErrorMessage?: __string; - /** - * Last time the deployment status was updated. - */ - UpdatedAt?: __string; - } - export interface GetDeviceDefinitionRequest { - /** - * device definition Id - */ - DeviceDefinitionId: __string; - } - export interface GetDeviceDefinitionResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface GetDeviceDefinitionVersionRequest { - /** - * device definition Id - */ - DeviceDefinitionId: __string; - /** - * device definition version Id - */ - DeviceDefinitionVersionId: __string; - } - export interface GetDeviceDefinitionVersionResponse { - /** - * Arn of the device definition version. - */ - Arn?: __string; - /** - * Timestamp of when the device definition version was created. - */ - CreationTimestamp?: __string; - /** - * Device definition version - */ - Definition?: DeviceDefinitionVersion; - /** - * Id of the device definition the version belongs to. - */ - Id?: __string; - /** - * Version of the device definition version. - */ - Version?: __string; - } - export interface GetFunctionDefinitionRequest { - /** - * the unique Id of the lambda definition - */ - FunctionDefinitionId: __string; - } - export interface GetFunctionDefinitionResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface GetFunctionDefinitionVersionRequest { - /** - * the unique Id of the lambda definition - */ - FunctionDefinitionId: __string; - /** - * Function definition version Id - */ - FunctionDefinitionVersionId: __string; - } - export interface GetFunctionDefinitionVersionResponse { - /** - * Arn of the function definition version. - */ - Arn?: __string; - /** - * Timestamp when the funtion definition version was created. - */ - CreationTimestamp?: __string; - Definition?: FunctionDefinitionVersion; - /** - * Id of the function definition the version belongs to. - */ - Id?: __string; - /** - * Version of the function definition version. - */ - Version?: __string; - } - export interface GetGroupCertificateAuthorityRequest { - /** - * certificate authority Id - */ - CertificateAuthorityId: __string; - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - } - export interface GetGroupCertificateAuthorityResponse { - /** - * Arn of the certificate authority for the group. - */ - GroupCertificateAuthorityArn?: __string; - /** - * Id of the certificate authority for the group. - */ - GroupCertificateAuthorityId?: __string; - /** - * PEM encoded certificate for the group. - */ - PemEncodedCertificate?: __string; - } - export interface GetGroupCertificateConfigurationRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - } - export interface GetGroupCertificateConfigurationResponse { - /** - * Amount of time when the certificate authority expires in milliseconds. - */ - CertificateAuthorityExpiryInMilliseconds?: __string; - /** - * Amount of time when the certificate expires in milliseconds. - */ - CertificateExpiryInMilliseconds?: __string; - /** - * Id of the group the certificate configuration belongs to. - */ - GroupId?: __string; - } - export interface GetGroupRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - } - export interface GetGroupResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface GetGroupVersionRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - /** - * Group version Id - */ - GroupVersionId: __string; - } - export interface GetGroupVersionResponse { - /** - * Arn of the group version. - */ - Arn?: __string; - /** - * Timestamp when the group version was created. - */ - CreationTimestamp?: __string; - /** - * Information on the definition - */ - Definition?: GroupVersion; - /** - * Id of the group version. - */ - Id?: __string; - /** - * Unique Id for a version of the Group. - */ - Version?: __string; - } - export interface GetLoggerDefinitionRequest { - /** - * logger definition Id - */ - LoggerDefinitionId: __string; - } - export interface GetLoggerDefinitionResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface GetLoggerDefinitionVersionRequest { - /** - * logger definition Id - */ - LoggerDefinitionId: __string; - /** - * logger definition version Id - */ - LoggerDefinitionVersionId: __string; - } - export interface GetLoggerDefinitionVersionResponse { - /** - * Arn of the logger definition version. - */ - Arn?: __string; - /** - * Timestamp of when the logger definition version was created. - */ - CreationTimestamp?: __string; - /** - * Information on definition - */ - Definition?: LoggerDefinitionVersion; - /** - * Id of the logger definition the version belongs to. - */ - Id?: __string; - /** - * Version of the logger definition version. - */ - Version?: __string; - } - export interface GetServiceRoleForAccountRequest { - } - export interface GetServiceRoleForAccountResponse { - /** - * Time when the service role was associated to the account. - */ - AssociatedAt?: __string; - /** - * Role arn which is associated to the account. - */ - RoleArn?: __string; - } - export interface GetSubscriptionDefinitionRequest { - /** - * subscription definition Id - */ - SubscriptionDefinitionId: __string; - } - export interface GetSubscriptionDefinitionResponse { - /** - * Arn of the definition. - */ - Arn?: __string; - /** - * Timestamp of when the definition was created. - */ - CreationTimestamp?: __string; - /** - * Id of the definition. - */ - Id?: __string; - /** - * Last updated timestamp of the definition. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the definition. - */ - LatestVersion?: __string; - /** - * Latest version arn of the definition. - */ - LatestVersionArn?: __string; - /** - * Name of the definition. - */ - Name?: __string; - } - export interface GetSubscriptionDefinitionVersionRequest { - /** - * subscription definition Id - */ - SubscriptionDefinitionId: __string; - /** - * subscription definition version Id - */ - SubscriptionDefinitionVersionId: __string; - } - export interface GetSubscriptionDefinitionVersionResponse { - /** - * Arn of the subscription definition version. - */ - Arn?: __string; - /** - * Timestamp of when the subscription definition version was created. - */ - CreationTimestamp?: __string; - /** - * Information on the definition - */ - Definition?: SubscriptionDefinitionVersion; - /** - * Id of the subscription definition the version belongs to. - */ - Id?: __string; - /** - * Version of the subscription definition version. - */ - Version?: __string; - } - export interface GroupCertificateAuthorityProperties { - /** - * Arn of the certificate authority for the group. - */ - GroupCertificateAuthorityArn?: __string; - /** - * Id of the certificate authority for the group. - */ - GroupCertificateAuthorityId?: __string; - } - export interface GroupCertificateConfiguration { - /** - * Amount of time when the certificate authority expires in milliseconds. - */ - CertificateAuthorityExpiryInMilliseconds?: __string; - /** - * Amount of time when the certificate expires in milliseconds. - */ - CertificateExpiryInMilliseconds?: __string; - /** - * Id of the group the certificate configuration belongs to. - */ - GroupId?: __string; - } - export interface GroupInformation { - /** - * Arn of a group. - */ - Arn?: __string; - /** - * Timestamp of when the group was created. - */ - CreationTimestamp?: __string; - /** - * Id of a group. - */ - Id?: __string; - /** - * Last updated timestamp of the group. - */ - LastUpdatedTimestamp?: __string; - /** - * Last version of the group. - */ - LatestVersion?: __string; - /** - * Latest version arn of the group. - */ - LatestVersionArn?: __string; - /** - * Name of a group. - */ - Name?: __string; - } - export interface GroupVersion { - /** - * Core definition version arn for this group. - */ - CoreDefinitionVersionArn?: __string; - /** - * Device definition version arn for this group. - */ - DeviceDefinitionVersionArn?: __string; - /** - * Function definition version arn for this group. - */ - FunctionDefinitionVersionArn?: __string; - /** - * Logger definitionv ersion arn for this group. - */ - LoggerDefinitionVersionArn?: __string; - /** - * Subscription definition version arn for this group. - */ - SubscriptionDefinitionVersionArn?: __string; - } - export interface ListCoreDefinitionVersionsRequest { - /** - * core definition Id - */ - CoreDefinitionId: __string; - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListCoreDefinitionVersionsResponse { - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - /** - * Versions - */ - Versions?: ListOfVersionInformation; - } - export interface ListCoreDefinitionsRequest { - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListCoreDefinitionsResponse { - /** - * Definitions - */ - Definitions?: ListOfDefinitionInformation; - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - } - export interface ListDefinitionsResponse { - /** - * Definitions - */ - Definitions?: ListOfDefinitionInformation; - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - } - export interface ListDeploymentsRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListDeploymentsResponse { - /** - * Information on deployments - */ - Deployments?: Deployments; - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - } - export interface ListDeviceDefinitionVersionsRequest { - /** - * device definition Id - */ - DeviceDefinitionId: __string; - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListDeviceDefinitionVersionsResponse { - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - /** - * Versions - */ - Versions?: ListOfVersionInformation; - } - export interface ListDeviceDefinitionsRequest { - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListDeviceDefinitionsResponse { - /** - * Definitions - */ - Definitions?: ListOfDefinitionInformation; - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - } - export interface ListFunctionDefinitionVersionsRequest { - /** - * the unique Id of the lambda definition - */ - FunctionDefinitionId: __string; - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListFunctionDefinitionVersionsResponse { - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - /** - * Versions - */ - Versions?: ListOfVersionInformation; - } - export interface ListFunctionDefinitionsRequest { - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListFunctionDefinitionsResponse { - /** - * Definitions - */ - Definitions?: ListOfDefinitionInformation; - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - } - export interface ListGroupCertificateAuthoritiesRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - } - export interface ListGroupCertificateAuthoritiesResponse { - /** - * List of certificate authorities associated with the group. - */ - GroupCertificateAuthorities?: ListOfGroupCertificateAuthorityProperties; - } - export interface ListGroupVersionsRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListGroupVersionsResponse { - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - /** - * Versions - */ - Versions?: ListOfVersionInformation; - } - export interface ListGroupsRequest { - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListGroupsResponse { - /** - * Groups - */ - Groups?: ListOfGroupInformation; - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - } - export interface ListLoggerDefinitionVersionsRequest { - /** - * logger definition Id - */ - LoggerDefinitionId: __string; - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListLoggerDefinitionVersionsResponse { - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - /** - * Versions - */ - Versions?: ListOfVersionInformation; - } - export interface ListLoggerDefinitionsRequest { - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListLoggerDefinitionsResponse { - /** - * Definitions - */ - Definitions?: ListOfDefinitionInformation; - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - } - export type ListOfConnectivityInfo = ConnectivityInfo[]; - export type ListOfCore = Core[]; - export type ListOfDefinitionInformation = DefinitionInformation[]; - export type ListOfDevice = Device[]; - export type ListOfFunction = Function[]; - export type ListOfGroupCertificateAuthorityProperties = GroupCertificateAuthorityProperties[]; - export type ListOfGroupInformation = GroupInformation[]; - export type ListOfLogger = Logger[]; - export type ListOfSubscription = Subscription[]; - export type ListOfVersionInformation = VersionInformation[]; - export interface ListSubscriptionDefinitionVersionsRequest { - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - /** - * subscription definition Id - */ - SubscriptionDefinitionId: __string; - } - export interface ListSubscriptionDefinitionVersionsResponse { - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - /** - * Versions - */ - Versions?: ListOfVersionInformation; - } - export interface ListSubscriptionDefinitionsRequest { - /** - * Specifies the maximum number of list results to be returned in this page - */ - MaxResults?: __string; - /** - * Specifies the pagination token used when iterating through a paginated request - */ - NextToken?: __string; - } - export interface ListSubscriptionDefinitionsResponse { - /** - * Definitions - */ - Definitions?: ListOfDefinitionInformation; - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - } - export interface ListVersionsResponse { - /** - * The token for the next set of results, or ''null'' if there are no additional results. - */ - NextToken?: __string; - /** - * Versions - */ - Versions?: ListOfVersionInformation; - } - export interface Logger { - /** - * The component that will be subject to logs - */ - Component?: LoggerComponent; - /** - * Element Id for this entry in the list. - */ - Id?: __string; - /** - * The level of the logs - */ - Level?: LoggerLevel; - /** - * Amount of hardware space, in KB, to use if file system is used for logging purposes. - */ - Space?: __integer; - /** - * The type which will be use for log output - */ - Type?: LoggerType; - } - export type LoggerComponent = "GreengrassSystem"|"Lambda"|string; - export interface LoggerDefinitionVersion { - /** - * List of loggers. - */ - Loggers?: ListOfLogger; - } - export type LoggerLevel = "DEBUG"|"INFO"|"WARN"|"ERROR"|"FATAL"|string; - export type LoggerType = "FileSystem"|"AWSCloudWatch"|string; - export type MapOf__string = {[key: string]: __string}; - export interface Subscription { - /** - * Element Id for this entry in the list. - */ - Id?: __string; - /** - * Source of the subscription. Can be a thing arn, lambda arn or word 'cloud' - */ - Source?: __string; - /** - * Subject of the message. - */ - Subject?: __string; - /** - * Where the message is sent to. Can be a thing arn, lambda arn or word 'cloud'. - */ - Target?: __string; - } - export interface SubscriptionDefinitionVersion { - /** - * Subscriptions in the version. - */ - Subscriptions?: ListOfSubscription; - } - export interface UpdateConnectivityInfoRequest { - /** - * Connectivity info array - */ - ConnectivityInfo?: ListOfConnectivityInfo; - /** - * Thing Name - */ - ThingName: __string; - } - export interface UpdateConnectivityInfoResponse { - /** - * Response Text - */ - Message?: __string; - /** - * New Version - */ - Version?: __string; - } - export interface UpdateCoreDefinitionRequest { - /** - * core definition Id - */ - CoreDefinitionId: __string; - /** - * name of the definition - */ - Name?: __string; - } - export interface UpdateCoreDefinitionResponse { - } - export interface UpdateDeviceDefinitionRequest { - /** - * device definition Id - */ - DeviceDefinitionId: __string; - /** - * name of the definition - */ - Name?: __string; - } - export interface UpdateDeviceDefinitionResponse { - } - export interface UpdateFunctionDefinitionRequest { - /** - * the unique Id of the lambda definition - */ - FunctionDefinitionId: __string; - /** - * name of the definition - */ - Name?: __string; - } - export interface UpdateFunctionDefinitionResponse { - } - export interface UpdateGroupCertificateConfigurationRequest { - /** - * Amount of time when the certificate expires in milliseconds. - */ - CertificateExpiryInMilliseconds?: __string; - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - } - export interface UpdateGroupCertificateConfigurationResponse { - /** - * Amount of time when the certificate authority expires in milliseconds. - */ - CertificateAuthorityExpiryInMilliseconds?: __string; - /** - * Amount of time when the certificate expires in milliseconds. - */ - CertificateExpiryInMilliseconds?: __string; - /** - * Id of the group the certificate configuration belongs to. - */ - GroupId?: __string; - } - export interface UpdateGroupRequest { - /** - * The unique Id of the AWS Greengrass Group - */ - GroupId: __string; - /** - * name of the definition - */ - Name?: __string; - } - export interface UpdateGroupResponse { - } - export interface UpdateLoggerDefinitionRequest { - /** - * logger definition Id - */ - LoggerDefinitionId: __string; - /** - * name of the definition - */ - Name?: __string; - } - export interface UpdateLoggerDefinitionResponse { - } - export interface UpdateSubscriptionDefinitionRequest { - /** - * name of the definition - */ - Name?: __string; - /** - * subscription definition Id - */ - SubscriptionDefinitionId: __string; - } - export interface UpdateSubscriptionDefinitionResponse { - } - export interface VersionInformation { - /** - * Arn of the version. - */ - Arn?: __string; - /** - * Timestamp of when the version was created. - */ - CreationTimestamp?: __string; - /** - * Id of the resource container. - */ - Id?: __string; - /** - * Unique Id of a version. - */ - Version?: __string; - } - export type __boolean = boolean; - export type __double = number; - export type __integer = number; - export type __string = string; - export type __timestamp = Date; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2017-06-07"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Greengrass client. - */ - export import Types = Greengrass; -} -export = Greengrass; diff --git a/src/node_modules/aws-sdk/clients/greengrass.js b/src/node_modules/aws-sdk/clients/greengrass.js deleted file mode 100644 index 90e969c..0000000 --- a/src/node_modules/aws-sdk/clients/greengrass.js +++ /dev/null @@ -1,17 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['greengrass'] = {}; -AWS.Greengrass = Service.defineService('greengrass', ['2017-06-07']); -Object.defineProperty(apiLoader.services['greengrass'], '2017-06-07', { - get: function get() { - var model = require('../apis/greengrass-2017-06-07.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Greengrass; diff --git a/src/node_modules/aws-sdk/clients/health.d.ts b/src/node_modules/aws-sdk/clients/health.d.ts deleted file mode 100644 index 8a86cd4..0000000 --- a/src/node_modules/aws-sdk/clients/health.d.ts +++ /dev/null @@ -1,516 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Health extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Health.Types.ClientConfiguration) - config: Config & Health.Types.ClientConfiguration; - /** - * Returns a list of entities that have been affected by the specified events, based on the specified filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the AWS service. Events that have impact beyond that of the affected entities, or where the extent of impact is unknown, include at least one entity indicating this. At least one event ARN is required. Results are sorted by the lastUpdatedTime of the entity, starting with the most recent. - */ - describeAffectedEntities(params: Health.Types.DescribeAffectedEntitiesRequest, callback?: (err: AWSError, data: Health.Types.DescribeAffectedEntitiesResponse) => void): Request; - /** - * Returns a list of entities that have been affected by the specified events, based on the specified filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the AWS service. Events that have impact beyond that of the affected entities, or where the extent of impact is unknown, include at least one entity indicating this. At least one event ARN is required. Results are sorted by the lastUpdatedTime of the entity, starting with the most recent. - */ - describeAffectedEntities(callback?: (err: AWSError, data: Health.Types.DescribeAffectedEntitiesResponse) => void): Request; - /** - * Returns the number of entities that are affected by each of the specified events. If no events are specified, the counts of all affected entities are returned. - */ - describeEntityAggregates(params: Health.Types.DescribeEntityAggregatesRequest, callback?: (err: AWSError, data: Health.Types.DescribeEntityAggregatesResponse) => void): Request; - /** - * Returns the number of entities that are affected by each of the specified events. If no events are specified, the counts of all affected entities are returned. - */ - describeEntityAggregates(callback?: (err: AWSError, data: Health.Types.DescribeEntityAggregatesResponse) => void): Request; - /** - * Returns the number of events of each event type (issue, scheduled change, and account notification). If no filter is specified, the counts of all events in each category are returned. - */ - describeEventAggregates(params: Health.Types.DescribeEventAggregatesRequest, callback?: (err: AWSError, data: Health.Types.DescribeEventAggregatesResponse) => void): Request; - /** - * Returns the number of events of each event type (issue, scheduled change, and account notification). If no filter is specified, the counts of all events in each category are returned. - */ - describeEventAggregates(callback?: (err: AWSError, data: Health.Types.DescribeEventAggregatesResponse) => void): Request; - /** - * Returns detailed information about one or more specified events. Information includes standard event data (region, service, etc., as returned by DescribeEvents), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included; to retrieve those, use the DescribeAffectedEntities operation. If a specified event cannot be retrieved, an error message is returned for that event. - */ - describeEventDetails(params: Health.Types.DescribeEventDetailsRequest, callback?: (err: AWSError, data: Health.Types.DescribeEventDetailsResponse) => void): Request; - /** - * Returns detailed information about one or more specified events. Information includes standard event data (region, service, etc., as returned by DescribeEvents), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included; to retrieve those, use the DescribeAffectedEntities operation. If a specified event cannot be retrieved, an error message is returned for that event. - */ - describeEventDetails(callback?: (err: AWSError, data: Health.Types.DescribeEventDetailsResponse) => void): Request; - /** - * Returns the event types that meet the specified filter criteria. If no filter criteria are specified, all event types are returned, in no particular order. - */ - describeEventTypes(params: Health.Types.DescribeEventTypesRequest, callback?: (err: AWSError, data: Health.Types.DescribeEventTypesResponse) => void): Request; - /** - * Returns the event types that meet the specified filter criteria. If no filter criteria are specified, all event types are returned, in no particular order. - */ - describeEventTypes(callback?: (err: AWSError, data: Health.Types.DescribeEventTypesResponse) => void): Request; - /** - * Returns information about events that meet the specified filter criteria. Events are returned in a summary form and do not include the detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the DescribeEventDetails and DescribeAffectedEntities operations. If no filter criteria are specified, all events are returned. Results are sorted by lastModifiedTime, starting with the most recent. - */ - describeEvents(params: Health.Types.DescribeEventsRequest, callback?: (err: AWSError, data: Health.Types.DescribeEventsResponse) => void): Request; - /** - * Returns information about events that meet the specified filter criteria. Events are returned in a summary form and do not include the detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the DescribeEventDetails and DescribeAffectedEntities operations. If no filter criteria are specified, all events are returned. Results are sorted by lastModifiedTime, starting with the most recent. - */ - describeEvents(callback?: (err: AWSError, data: Health.Types.DescribeEventsResponse) => void): Request; -} -declare namespace Health { - export interface AffectedEntity { - /** - * The unique identifier for the entity. Format: arn:aws:health:entity-region:aws-account:entity/entity-id . Example: arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K - */ - entityArn?: entityArn; - /** - * The unique identifier for the event. Format: arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331 - */ - eventArn?: eventArn; - /** - * The ID of the affected entity. - */ - entityValue?: entityValue; - /** - * The 12-digit AWS account number that contains the affected entity. - */ - awsAccountId?: accountId; - /** - * The most recent time that the entity was updated. - */ - lastUpdatedTime?: timestamp; - /** - * The most recent status of the entity affected by the event. The possible values are IMPAIRED, UNIMPAIRED, and UNKNOWN. - */ - statusCode?: entityStatusCode; - /** - * A map of entity tags attached to the affected entity. - */ - tags?: tagSet; - } - export interface DateTimeRange { - /** - * The starting date and time of a time range. - */ - from?: timestamp; - /** - * The ending date and time of a time range. - */ - to?: timestamp; - } - export interface DescribeAffectedEntitiesRequest { - /** - * Values to narrow the results returned. At least one event ARN is required. - */ - filter: EntityFilter; - /** - * The locale (language) to return information in. English (en) is the default and the only supported value at this time. - */ - locale?: locale; - /** - * If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. - */ - nextToken?: nextToken; - /** - * The maximum number of items to return in one batch, between 10 and 100, inclusive. - */ - maxResults?: maxResults; - } - export interface DescribeAffectedEntitiesResponse { - /** - * The entities that match the filter criteria. - */ - entities?: EntityList; - /** - * If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. - */ - nextToken?: nextToken; - } - export interface DescribeEntityAggregatesRequest { - /** - * A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz" - */ - eventArns?: EventArnsList; - } - export interface DescribeEntityAggregatesResponse { - /** - * The number of entities that are affected by each of the specified events. - */ - entityAggregates?: EntityAggregateList; - } - export interface DescribeEventAggregatesRequest { - /** - * Values to narrow the results returned. - */ - filter?: EventFilter; - /** - * The only currently supported value is eventTypeCategory. - */ - aggregateField: eventAggregateField; - /** - * The maximum number of items to return in one batch, between 10 and 100, inclusive. - */ - maxResults?: maxResults; - /** - * If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. - */ - nextToken?: nextToken; - } - export interface DescribeEventAggregatesResponse { - /** - * The number of events in each category that meet the optional filter criteria. - */ - eventAggregates?: EventAggregateList; - /** - * If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. - */ - nextToken?: nextToken; - } - export type DescribeEventDetailsFailedSet = EventDetailsErrorItem[]; - export interface DescribeEventDetailsRequest { - /** - * A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz" - */ - eventArns: eventArnList; - /** - * The locale (language) to return information in. English (en) is the default and the only supported value at this time. - */ - locale?: locale; - } - export interface DescribeEventDetailsResponse { - /** - * Information about the events that could be retrieved. - */ - successfulSet?: DescribeEventDetailsSuccessfulSet; - /** - * Error messages for any events that could not be retrieved. - */ - failedSet?: DescribeEventDetailsFailedSet; - } - export type DescribeEventDetailsSuccessfulSet = EventDetails[]; - export interface DescribeEventTypesRequest { - /** - * Values to narrow the results returned. - */ - filter?: EventTypeFilter; - /** - * The locale (language) to return information in. English (en) is the default and the only supported value at this time. - */ - locale?: locale; - /** - * If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. - */ - nextToken?: nextToken; - /** - * The maximum number of items to return in one batch, between 10 and 100, inclusive. - */ - maxResults?: maxResults; - } - export interface DescribeEventTypesResponse { - /** - * A list of event types that match the filter criteria. Event types have a category (issue, accountNotification, or scheduledChange), a service (for example, EC2, RDS, DATAPIPELINE, BILLING), and a code (in the format AWS_SERVICE_DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT). - */ - eventTypes?: EventTypeList; - /** - * If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. - */ - nextToken?: nextToken; - } - export interface DescribeEventsRequest { - /** - * Values to narrow the results returned. - */ - filter?: EventFilter; - /** - * If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. - */ - nextToken?: nextToken; - /** - * The maximum number of items to return in one batch, between 10 and 100, inclusive. - */ - maxResults?: maxResults; - /** - * The locale (language) to return information in. English (en) is the default and the only supported value at this time. - */ - locale?: locale; - } - export interface DescribeEventsResponse { - /** - * The events that match the specified filter criteria. - */ - events?: EventList; - /** - * If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. - */ - nextToken?: nextToken; - } - export interface EntityAggregate { - /** - * The unique identifier for the event. Format: arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331 - */ - eventArn?: eventArn; - /** - * The number entities that match the criteria for the specified events. - */ - count?: count; - } - export type EntityAggregateList = EntityAggregate[]; - export interface EntityFilter { - /** - * A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz" - */ - eventArns: eventArnList; - /** - * A list of entity ARNs (unique identifiers). - */ - entityArns?: entityArnList; - /** - * A list of IDs for affected entities. - */ - entityValues?: entityValueList; - /** - * A list of the most recent dates and times that the entity was updated. - */ - lastUpdatedTimes?: dateTimeRangeList; - /** - * A map of entity tags attached to the affected entity. - */ - tags?: tagFilter; - /** - * A list of entity status codes (IMPAIRED, UNIMPAIRED, or UNKNOWN). - */ - statusCodes?: entityStatusCodeList; - } - export type EntityList = AffectedEntity[]; - export interface Event { - /** - * The unique identifier for the event. Format: arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331 - */ - arn?: eventArn; - /** - * The AWS service that is affected by the event. For example, EC2, RDS. - */ - service?: service; - /** - * The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT. - */ - eventTypeCode?: eventTypeCode; - /** - * The - */ - eventTypeCategory?: eventTypeCategory; - /** - * The AWS region name of the event. - */ - region?: region; - /** - * The AWS Availability Zone of the event. For example, us-east-1a. - */ - availabilityZone?: availabilityZone; - /** - * The date and time that the event began. - */ - startTime?: timestamp; - /** - * The date and time that the event ended. - */ - endTime?: timestamp; - /** - * The most recent date and time that the event was updated. - */ - lastUpdatedTime?: timestamp; - /** - * The most recent status of the event. Possible values are open, closed, and upcoming. - */ - statusCode?: eventStatusCode; - } - export interface EventAggregate { - /** - * The issue type for the associated count. - */ - aggregateValue?: aggregateValue; - /** - * The number of events of the associated issue type. - */ - count?: count; - } - export type EventAggregateList = EventAggregate[]; - export type EventArnsList = eventArn[]; - export interface EventDescription { - /** - * The most recent description of the event. - */ - latestDescription?: eventDescription; - } - export interface EventDetails { - /** - * Summary information about the event. - */ - event?: Event; - /** - * The most recent description of the event. - */ - eventDescription?: EventDescription; - /** - * Additional metadata about the event. - */ - eventMetadata?: eventMetadata; - } - export interface EventDetailsErrorItem { - /** - * The unique identifier for the event. Format: arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331 - */ - eventArn?: eventArn; - /** - * The name of the error. - */ - errorName?: string; - /** - * A message that describes the error. - */ - errorMessage?: string; - } - export interface EventFilter { - /** - * A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz" - */ - eventArns?: eventArnList; - /** - * A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED" - */ - eventTypeCodes?: eventTypeList; - /** - * The AWS services associated with the event. For example, EC2, RDS. - */ - services?: serviceList; - /** - * A list of AWS regions. - */ - regions?: regionList; - /** - * A list of AWS availability zones. - */ - availabilityZones?: availabilityZones; - /** - * A list of dates and times that the event began. - */ - startTimes?: dateTimeRangeList; - /** - * A list of dates and times that the event ended. - */ - endTimes?: dateTimeRangeList; - /** - * A list of dates and times that the event was last updated. - */ - lastUpdatedTimes?: dateTimeRangeList; - /** - * A list of entity ARNs (unique identifiers). - */ - entityArns?: entityArnList; - /** - * A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e). - */ - entityValues?: entityValueList; - /** - * A list of event type category codes (issue, scheduledChange, or accountNotification). - */ - eventTypeCategories?: eventTypeCategoryList; - /** - * A map of entity tags attached to the affected entity. - */ - tags?: tagFilter; - /** - * A list of event status codes. - */ - eventStatusCodes?: eventStatusCodeList; - } - export type EventList = Event[]; - export interface EventType { - /** - * The AWS service that is affected by the event. For example, EC2, RDS. - */ - service?: service; - /** - * The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT. - */ - code?: eventTypeCode; - /** - * A list of event type category codes (issue, scheduledChange, or accountNotification). - */ - category?: eventTypeCategory; - } - export type EventTypeCategoryList = eventTypeCategory[]; - export type EventTypeCodeList = eventTypeCode[]; - export interface EventTypeFilter { - /** - * A list of event type codes. - */ - eventTypeCodes?: EventTypeCodeList; - /** - * The AWS services associated with the event. For example, EC2, RDS. - */ - services?: serviceList; - /** - * A list of event type category codes (issue, scheduledChange, or accountNotification). - */ - eventTypeCategories?: EventTypeCategoryList; - } - export type EventTypeList = EventType[]; - export type accountId = string; - export type aggregateValue = string; - export type availabilityZone = string; - export type availabilityZones = availabilityZone[]; - export type count = number; - export type dateTimeRangeList = DateTimeRange[]; - export type entityArn = string; - export type entityArnList = entityArn[]; - export type entityStatusCode = "IMPAIRED"|"UNIMPAIRED"|"UNKNOWN"|string; - export type entityStatusCodeList = entityStatusCode[]; - export type entityValue = string; - export type entityValueList = entityValue[]; - export type eventAggregateField = "eventTypeCategory"|string; - export type eventArn = string; - export type eventArnList = eventArn[]; - export type eventDescription = string; - export type eventMetadata = {[key: string]: metadataValue}; - export type eventStatusCode = "open"|"closed"|"upcoming"|string; - export type eventStatusCodeList = eventStatusCode[]; - export type eventType = string; - export type eventTypeCategory = "issue"|"accountNotification"|"scheduledChange"|string; - export type eventTypeCategoryList = eventTypeCategory[]; - export type eventTypeCode = string; - export type eventTypeList = eventType[]; - export type locale = string; - export type maxResults = number; - export type metadataKey = string; - export type metadataValue = string; - export type nextToken = string; - export type region = string; - export type regionList = region[]; - export type service = string; - export type serviceList = service[]; - export type tagFilter = tagSet[]; - export type tagKey = string; - export type tagSet = {[key: string]: tagValue}; - export type tagValue = string; - export type timestamp = Date; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-08-04"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Health client. - */ - export import Types = Health; -} -export = Health; diff --git a/src/node_modules/aws-sdk/clients/health.js b/src/node_modules/aws-sdk/clients/health.js deleted file mode 100644 index dc4de9f..0000000 --- a/src/node_modules/aws-sdk/clients/health.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['health'] = {}; -AWS.Health = Service.defineService('health', ['2016-08-04']); -Object.defineProperty(apiLoader.services['health'], '2016-08-04', { - get: function get() { - var model = require('../apis/health-2016-08-04.min.json'); - model.paginators = require('../apis/health-2016-08-04.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Health; diff --git a/src/node_modules/aws-sdk/clients/iam.d.ts b/src/node_modules/aws-sdk/clients/iam.d.ts deleted file mode 100644 index d71e215..0000000 --- a/src/node_modules/aws-sdk/clients/iam.d.ts +++ /dev/null @@ -1,3946 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class IAM extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: IAM.Types.ClientConfiguration) - config: Config & IAM.Types.ClientConfiguration; - /** - * Adds a new client ID (also known as audience) to the list of client IDs already registered for the specified IAM OpenID Connect (OIDC) provider resource. This action is idempotent; it does not fail or return an error if you add an existing client ID to the provider. - */ - addClientIDToOpenIDConnectProvider(params: IAM.Types.AddClientIDToOpenIDConnectProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds a new client ID (also known as audience) to the list of client IDs already registered for the specified IAM OpenID Connect (OIDC) provider resource. This action is idempotent; it does not fail or return an error if you add an existing client ID to the provider. - */ - addClientIDToOpenIDConnectProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds the specified IAM role to the specified instance profile. An instance profile can contain only one role, and this limit cannot be increased. The caller of this API must be granted the PassRole permission on the IAM role by a permission policy. For more information about roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles. - */ - addRoleToInstanceProfile(params: IAM.Types.AddRoleToInstanceProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds the specified IAM role to the specified instance profile. An instance profile can contain only one role, and this limit cannot be increased. The caller of this API must be granted the PassRole permission on the IAM role by a permission policy. For more information about roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles. - */ - addRoleToInstanceProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds the specified user to the specified group. - */ - addUserToGroup(params: IAM.Types.AddUserToGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds the specified user to the specified group. - */ - addUserToGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches the specified managed policy to the specified IAM group. You use this API to attach a managed policy to a group. To embed an inline policy in a group, use PutGroupPolicy. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - attachGroupPolicy(params: IAM.Types.AttachGroupPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches the specified managed policy to the specified IAM group. You use this API to attach a managed policy to a group. To embed an inline policy in a group, use PutGroupPolicy. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - attachGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches the specified managed policy to the specified IAM role. When you attach a managed policy to a role, the managed policy becomes part of the role's permission (access) policy. You cannot use a managed policy as the role's trust policy. The role's trust policy is created at the same time as the role, using CreateRole. You can update a role's trust policy using UpdateAssumeRolePolicy. Use this API to attach a managed policy to a role. To embed an inline policy in a role, use PutRolePolicy. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - attachRolePolicy(params: IAM.Types.AttachRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches the specified managed policy to the specified IAM role. When you attach a managed policy to a role, the managed policy becomes part of the role's permission (access) policy. You cannot use a managed policy as the role's trust policy. The role's trust policy is created at the same time as the role, using CreateRole. You can update a role's trust policy using UpdateAssumeRolePolicy. Use this API to attach a managed policy to a role. To embed an inline policy in a role, use PutRolePolicy. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - attachRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches the specified managed policy to the specified user. You use this API to attach a managed policy to a user. To embed an inline policy in a user, use PutUserPolicy. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - attachUserPolicy(params: IAM.Types.AttachUserPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches the specified managed policy to the specified user. You use this API to attach a managed policy to a user. To embed an inline policy in a user, use PutUserPolicy. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - attachUserPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the password of the IAM user who is calling this action. The root account password is not affected by this action. To change the password for a different user, see UpdateLoginProfile. For more information about modifying passwords, see Managing Passwords in the IAM User Guide. - */ - changePassword(params: IAM.Types.ChangePasswordRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the password of the IAM user who is calling this action. The root account password is not affected by this action. To change the password for a different user, see UpdateLoginProfile. For more information about modifying passwords, see Managing Passwords in the IAM User Guide. - */ - changePassword(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a new AWS secret access key and corresponding AWS access key ID for the specified user. The default status for new keys is Active. If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. For information about limits on the number of keys you can create, see Limitations on IAM Entities in the IAM User Guide. To ensure the security of your AWS account, the secret access key is accessible only during key and user creation. You must save the key (for example, in a text file) if you want to be able to access it again. If a secret key is lost, you can delete the access keys for the associated user and then create new keys. - */ - createAccessKey(params: IAM.Types.CreateAccessKeyRequest, callback?: (err: AWSError, data: IAM.Types.CreateAccessKeyResponse) => void): Request; - /** - * Creates a new AWS secret access key and corresponding AWS access key ID for the specified user. The default status for new keys is Active. If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. For information about limits on the number of keys you can create, see Limitations on IAM Entities in the IAM User Guide. To ensure the security of your AWS account, the secret access key is accessible only during key and user creation. You must save the key (for example, in a text file) if you want to be able to access it again. If a secret key is lost, you can delete the access keys for the associated user and then create new keys. - */ - createAccessKey(callback?: (err: AWSError, data: IAM.Types.CreateAccessKeyResponse) => void): Request; - /** - * Creates an alias for your AWS account. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in the IAM User Guide. - */ - createAccountAlias(params: IAM.Types.CreateAccountAliasRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates an alias for your AWS account. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in the IAM User Guide. - */ - createAccountAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a new group. For information about the number of groups you can create, see Limitations on IAM Entities in the IAM User Guide. - */ - createGroup(params: IAM.Types.CreateGroupRequest, callback?: (err: AWSError, data: IAM.Types.CreateGroupResponse) => void): Request; - /** - * Creates a new group. For information about the number of groups you can create, see Limitations on IAM Entities in the IAM User Guide. - */ - createGroup(callback?: (err: AWSError, data: IAM.Types.CreateGroupResponse) => void): Request; - /** - * Creates a new instance profile. For information about instance profiles, go to About Instance Profiles. For information about the number of instance profiles you can create, see Limitations on IAM Entities in the IAM User Guide. - */ - createInstanceProfile(params: IAM.Types.CreateInstanceProfileRequest, callback?: (err: AWSError, data: IAM.Types.CreateInstanceProfileResponse) => void): Request; - /** - * Creates a new instance profile. For information about instance profiles, go to About Instance Profiles. For information about the number of instance profiles you can create, see Limitations on IAM Entities in the IAM User Guide. - */ - createInstanceProfile(callback?: (err: AWSError, data: IAM.Types.CreateInstanceProfileResponse) => void): Request; - /** - * Creates a password for the specified user, giving the user the ability to access AWS services through the AWS Management Console. For more information about managing passwords, see Managing Passwords in the IAM User Guide. - */ - createLoginProfile(params: IAM.Types.CreateLoginProfileRequest, callback?: (err: AWSError, data: IAM.Types.CreateLoginProfileResponse) => void): Request; - /** - * Creates a password for the specified user, giving the user the ability to access AWS services through the AWS Management Console. For more information about managing passwords, see Managing Passwords in the IAM User Guide. - */ - createLoginProfile(callback?: (err: AWSError, data: IAM.Types.CreateLoginProfileResponse) => void): Request; - /** - * Creates an IAM entity to describe an identity provider (IdP) that supports OpenID Connect (OIDC). The OIDC provider that you create with this operation can be used as a principal in a role's trust policy to establish a trust relationship between AWS and the OIDC provider. When you create the IAM OIDC provider, you specify the URL of the OIDC identity provider (IdP) to trust, a list of client IDs (also known as audiences) that identify the application or applications that are allowed to authenticate using the OIDC provider, and a list of thumbprints of the server certificate(s) that the IdP uses. You get all of this information from the OIDC IdP that you want to use for access to AWS. Because trust for the OIDC provider is ultimately derived from the IAM provider that this action creates, it is a best practice to limit access to the CreateOpenIDConnectProvider action to highly-privileged users. - */ - createOpenIDConnectProvider(params: IAM.Types.CreateOpenIDConnectProviderRequest, callback?: (err: AWSError, data: IAM.Types.CreateOpenIDConnectProviderResponse) => void): Request; - /** - * Creates an IAM entity to describe an identity provider (IdP) that supports OpenID Connect (OIDC). The OIDC provider that you create with this operation can be used as a principal in a role's trust policy to establish a trust relationship between AWS and the OIDC provider. When you create the IAM OIDC provider, you specify the URL of the OIDC identity provider (IdP) to trust, a list of client IDs (also known as audiences) that identify the application or applications that are allowed to authenticate using the OIDC provider, and a list of thumbprints of the server certificate(s) that the IdP uses. You get all of this information from the OIDC IdP that you want to use for access to AWS. Because trust for the OIDC provider is ultimately derived from the IAM provider that this action creates, it is a best practice to limit access to the CreateOpenIDConnectProvider action to highly-privileged users. - */ - createOpenIDConnectProvider(callback?: (err: AWSError, data: IAM.Types.CreateOpenIDConnectProviderResponse) => void): Request; - /** - * Creates a new managed policy for your AWS account. This operation creates a policy version with a version identifier of v1 and sets v1 as the policy's default version. For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide. For more information about managed policies in general, see Managed Policies and Inline Policies in the IAM User Guide. - */ - createPolicy(params: IAM.Types.CreatePolicyRequest, callback?: (err: AWSError, data: IAM.Types.CreatePolicyResponse) => void): Request; - /** - * Creates a new managed policy for your AWS account. This operation creates a policy version with a version identifier of v1 and sets v1 as the policy's default version. For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide. For more information about managed policies in general, see Managed Policies and Inline Policies in the IAM User Guide. - */ - createPolicy(callback?: (err: AWSError, data: IAM.Types.CreatePolicyResponse) => void): Request; - /** - * Creates a new version of the specified managed policy. To update a managed policy, you create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must delete an existing version using DeletePolicyVersion before you create a new version. Optionally, you can set the new version as the policy's default version. The default version is the version that is in effect for the IAM users, groups, and roles to which the policy is attached. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide. - */ - createPolicyVersion(params: IAM.Types.CreatePolicyVersionRequest, callback?: (err: AWSError, data: IAM.Types.CreatePolicyVersionResponse) => void): Request; - /** - * Creates a new version of the specified managed policy. To update a managed policy, you create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must delete an existing version using DeletePolicyVersion before you create a new version. Optionally, you can set the new version as the policy's default version. The default version is the version that is in effect for the IAM users, groups, and roles to which the policy is attached. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide. - */ - createPolicyVersion(callback?: (err: AWSError, data: IAM.Types.CreatePolicyVersionResponse) => void): Request; - /** - * Creates a new role for your AWS account. For more information about roles, go to Working with Roles. For information about limitations on role names and the number of roles you can create, go to Limitations on IAM Entities in the IAM User Guide. - */ - createRole(params: IAM.Types.CreateRoleRequest, callback?: (err: AWSError, data: IAM.Types.CreateRoleResponse) => void): Request; - /** - * Creates a new role for your AWS account. For more information about roles, go to Working with Roles. For information about limitations on role names and the number of roles you can create, go to Limitations on IAM Entities in the IAM User Guide. - */ - createRole(callback?: (err: AWSError, data: IAM.Types.CreateRoleResponse) => void): Request; - /** - * Creates an IAM resource that describes an identity provider (IdP) that supports SAML 2.0. The SAML provider resource that you create with this operation can be used as a principal in an IAM role's trust policy to enable federated users who sign-in using the SAML IdP to assume the role. You can create an IAM role that supports Web-based single sign-on (SSO) to the AWS Management Console or one that supports API access to AWS. When you create the SAML provider resource, you upload an a SAML metadata document that you get from your IdP and that includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that the IdP sends. You must generate the metadata document using the identity management software that is used as your organization's IdP. This operation requires Signature Version 4. For more information, see Enabling SAML 2.0 Federated Users to Access the AWS Management Console and About SAML 2.0-based Federation in the IAM User Guide. - */ - createSAMLProvider(params: IAM.Types.CreateSAMLProviderRequest, callback?: (err: AWSError, data: IAM.Types.CreateSAMLProviderResponse) => void): Request; - /** - * Creates an IAM resource that describes an identity provider (IdP) that supports SAML 2.0. The SAML provider resource that you create with this operation can be used as a principal in an IAM role's trust policy to enable federated users who sign-in using the SAML IdP to assume the role. You can create an IAM role that supports Web-based single sign-on (SSO) to the AWS Management Console or one that supports API access to AWS. When you create the SAML provider resource, you upload an a SAML metadata document that you get from your IdP and that includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that the IdP sends. You must generate the metadata document using the identity management software that is used as your organization's IdP. This operation requires Signature Version 4. For more information, see Enabling SAML 2.0 Federated Users to Access the AWS Management Console and About SAML 2.0-based Federation in the IAM User Guide. - */ - createSAMLProvider(callback?: (err: AWSError, data: IAM.Types.CreateSAMLProviderResponse) => void): Request; - /** - * Creates an IAM role that is linked to a specific AWS service. The service controls the attached policies and when the role can be deleted. This helps ensure that the service is not broken by an unexpectedly changed or deleted role, which could put your AWS resources into an unknown state. Allowing the service to control the role helps improve service stability and proper cleanup when a service and its role are no longer needed. The name of the role is autogenerated by combining the string that you specify for the AWSServiceName parameter with the string that you specify for the CustomSuffix parameter. The resulting name must be unique in your account or the request fails. To attach a policy to this service-linked role, you must make the request using the AWS service that depends on this role. - */ - createServiceLinkedRole(params: IAM.Types.CreateServiceLinkedRoleRequest, callback?: (err: AWSError, data: IAM.Types.CreateServiceLinkedRoleResponse) => void): Request; - /** - * Creates an IAM role that is linked to a specific AWS service. The service controls the attached policies and when the role can be deleted. This helps ensure that the service is not broken by an unexpectedly changed or deleted role, which could put your AWS resources into an unknown state. Allowing the service to control the role helps improve service stability and proper cleanup when a service and its role are no longer needed. The name of the role is autogenerated by combining the string that you specify for the AWSServiceName parameter with the string that you specify for the CustomSuffix parameter. The resulting name must be unique in your account or the request fails. To attach a policy to this service-linked role, you must make the request using the AWS service that depends on this role. - */ - createServiceLinkedRole(callback?: (err: AWSError, data: IAM.Types.CreateServiceLinkedRoleResponse) => void): Request; - /** - * Generates a set of credentials consisting of a user name and password that can be used to access the service specified in the request. These credentials are generated by IAM, and can be used only for the specified service. You can have a maximum of two sets of service-specific credentials for each supported service per user. The only supported service at this time is AWS CodeCommit. You can reset the password to a new service-generated value by calling ResetServiceSpecificCredential. For more information about service-specific credentials, see Using IAM with AWS CodeCommit: Git Credentials, SSH Keys, and AWS Access Keys in the IAM User Guide. - */ - createServiceSpecificCredential(params: IAM.Types.CreateServiceSpecificCredentialRequest, callback?: (err: AWSError, data: IAM.Types.CreateServiceSpecificCredentialResponse) => void): Request; - /** - * Generates a set of credentials consisting of a user name and password that can be used to access the service specified in the request. These credentials are generated by IAM, and can be used only for the specified service. You can have a maximum of two sets of service-specific credentials for each supported service per user. The only supported service at this time is AWS CodeCommit. You can reset the password to a new service-generated value by calling ResetServiceSpecificCredential. For more information about service-specific credentials, see Using IAM with AWS CodeCommit: Git Credentials, SSH Keys, and AWS Access Keys in the IAM User Guide. - */ - createServiceSpecificCredential(callback?: (err: AWSError, data: IAM.Types.CreateServiceSpecificCredentialResponse) => void): Request; - /** - * Creates a new IAM user for your AWS account. For information about limitations on the number of IAM users you can create, see Limitations on IAM Entities in the IAM User Guide. - */ - createUser(params: IAM.Types.CreateUserRequest, callback?: (err: AWSError, data: IAM.Types.CreateUserResponse) => void): Request; - /** - * Creates a new IAM user for your AWS account. For information about limitations on the number of IAM users you can create, see Limitations on IAM Entities in the IAM User Guide. - */ - createUser(callback?: (err: AWSError, data: IAM.Types.CreateUserResponse) => void): Request; - /** - * Creates a new virtual MFA device for the AWS account. After creating the virtual MFA, use EnableMFADevice to attach the MFA device to an IAM user. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide. For information about limits on the number of MFA devices you can create, see Limitations on Entities in the IAM User Guide. The seed information contained in the QR code and the Base32 string should be treated like any other secret access information, such as your AWS access keys or your passwords. After you provision your virtual device, you should ensure that the information is destroyed following secure procedures. - */ - createVirtualMFADevice(params: IAM.Types.CreateVirtualMFADeviceRequest, callback?: (err: AWSError, data: IAM.Types.CreateVirtualMFADeviceResponse) => void): Request; - /** - * Creates a new virtual MFA device for the AWS account. After creating the virtual MFA, use EnableMFADevice to attach the MFA device to an IAM user. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide. For information about limits on the number of MFA devices you can create, see Limitations on Entities in the IAM User Guide. The seed information contained in the QR code and the Base32 string should be treated like any other secret access information, such as your AWS access keys or your passwords. After you provision your virtual device, you should ensure that the information is destroyed following secure procedures. - */ - createVirtualMFADevice(callback?: (err: AWSError, data: IAM.Types.CreateVirtualMFADeviceResponse) => void): Request; - /** - * Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide. - */ - deactivateMFADevice(params: IAM.Types.DeactivateMFADeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide. - */ - deactivateMFADevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the access key pair associated with the specified IAM user. If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. - */ - deleteAccessKey(params: IAM.Types.DeleteAccessKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the access key pair associated with the specified IAM user. If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. - */ - deleteAccessKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified AWS account alias. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in the IAM User Guide. - */ - deleteAccountAlias(params: IAM.Types.DeleteAccountAliasRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified AWS account alias. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in the IAM User Guide. - */ - deleteAccountAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the password policy for the AWS account. There are no parameters. - */ - deleteAccountPasswordPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified IAM group. The group must not contain any users or have any attached policies. - */ - deleteGroup(params: IAM.Types.DeleteGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified IAM group. The group must not contain any users or have any attached policies. - */ - deleteGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified inline policy that is embedded in the specified IAM group. A group can also have managed policies attached to it. To detach a managed policy from a group, use DetachGroupPolicy. For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide. - */ - deleteGroupPolicy(params: IAM.Types.DeleteGroupPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified inline policy that is embedded in the specified IAM group. A group can also have managed policies attached to it. To detach a managed policy from a group, use DetachGroupPolicy. For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide. - */ - deleteGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified instance profile. The instance profile must not have an associated role. Make sure you do not have any Amazon EC2 instances running with the instance profile you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance. For more information about instance profiles, go to About Instance Profiles. - */ - deleteInstanceProfile(params: IAM.Types.DeleteInstanceProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified instance profile. The instance profile must not have an associated role. Make sure you do not have any Amazon EC2 instances running with the instance profile you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance. For more information about instance profiles, go to About Instance Profiles. - */ - deleteInstanceProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the password for the specified IAM user, which terminates the user's ability to access AWS services through the AWS Management Console. Deleting a user's password does not prevent a user from accessing AWS through the command line interface or the API. To prevent all user access you must also either make any access keys inactive or delete them. For more information about making keys inactive or deleting them, see UpdateAccessKey and DeleteAccessKey. - */ - deleteLoginProfile(params: IAM.Types.DeleteLoginProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the password for the specified IAM user, which terminates the user's ability to access AWS services through the AWS Management Console. Deleting a user's password does not prevent a user from accessing AWS through the command line interface or the API. To prevent all user access you must also either make any access keys inactive or delete them. For more information about making keys inactive or deleting them, see UpdateAccessKey and DeleteAccessKey. - */ - deleteLoginProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an OpenID Connect identity provider (IdP) resource object in IAM. Deleting an IAM OIDC provider resource does not update any roles that reference the provider as a principal in their trust policies. Any attempt to assume a role that references a deleted provider fails. This action is idempotent; it does not fail or return an error if you call the action for a provider that does not exist. - */ - deleteOpenIDConnectProvider(params: IAM.Types.DeleteOpenIDConnectProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an OpenID Connect identity provider (IdP) resource object in IAM. Deleting an IAM OIDC provider resource does not update any roles that reference the provider as a principal in their trust policies. Any attempt to assume a role that references a deleted provider fails. This action is idempotent; it does not fail or return an error if you call the action for a provider that does not exist. - */ - deleteOpenIDConnectProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified managed policy. Before you can delete a managed policy, you must first detach the policy from all users, groups, and roles that it is attached to, and you must delete all of the policy's versions. The following steps describe the process for deleting a managed policy: Detach the policy from all users, groups, and roles that the policy is attached to, using the DetachUserPolicy, DetachGroupPolicy, or DetachRolePolicy APIs. To list all the users, groups, and roles that a policy is attached to, use ListEntitiesForPolicy. Delete all versions of the policy using DeletePolicyVersion. To list the policy's versions, use ListPolicyVersions. You cannot use DeletePolicyVersion to delete the version that is marked as the default version. You delete the policy's default version in the next step of the process. Delete the policy (this automatically deletes the policy's default version) using this API. For information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - deletePolicy(params: IAM.Types.DeletePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified managed policy. Before you can delete a managed policy, you must first detach the policy from all users, groups, and roles that it is attached to, and you must delete all of the policy's versions. The following steps describe the process for deleting a managed policy: Detach the policy from all users, groups, and roles that the policy is attached to, using the DetachUserPolicy, DetachGroupPolicy, or DetachRolePolicy APIs. To list all the users, groups, and roles that a policy is attached to, use ListEntitiesForPolicy. Delete all versions of the policy using DeletePolicyVersion. To list the policy's versions, use ListPolicyVersions. You cannot use DeletePolicyVersion to delete the version that is marked as the default version. You delete the policy's default version in the next step of the process. Delete the policy (this automatically deletes the policy's default version) using this API. For information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - deletePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified version from the specified managed policy. You cannot delete the default version from a policy using this API. To delete the default version from a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions. For information about versions for managed policies, see Versioning for Managed Policies in the IAM User Guide. - */ - deletePolicyVersion(params: IAM.Types.DeletePolicyVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified version from the specified managed policy. You cannot delete the default version from a policy using this API. To delete the default version from a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions. For information about versions for managed policies, see Versioning for Managed Policies in the IAM User Guide. - */ - deletePolicyVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified role. The role must not have any policies attached. For more information about roles, go to Working with Roles. Make sure you do not have any Amazon EC2 instances running with the role you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance. - */ - deleteRole(params: IAM.Types.DeleteRoleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified role. The role must not have any policies attached. For more information about roles, go to Working with Roles. Make sure you do not have any Amazon EC2 instances running with the role you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance. - */ - deleteRole(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified inline policy that is embedded in the specified IAM role. A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide. - */ - deleteRolePolicy(params: IAM.Types.DeleteRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified inline policy that is embedded in the specified IAM role. A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide. - */ - deleteRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a SAML provider resource in IAM. Deleting the provider resource from IAM does not update any roles that reference the SAML provider resource's ARN as a principal in their trust policies. Any attempt to assume a role that references a non-existent provider resource ARN fails. This operation requires Signature Version 4. - */ - deleteSAMLProvider(params: IAM.Types.DeleteSAMLProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a SAML provider resource in IAM. Deleting the provider resource from IAM does not update any roles that reference the SAML provider resource's ARN as a principal in their trust policies. Any attempt to assume a role that references a non-existent provider resource ARN fails. This operation requires Signature Version 4. - */ - deleteSAMLProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified SSH public key. The SSH public key deleted by this action is used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide. - */ - deleteSSHPublicKey(params: IAM.Types.DeleteSSHPublicKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified SSH public key. The SSH public key deleted by this action is used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide. - */ - deleteSSHPublicKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified server certificate. For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide. If you are using a server certificate with Elastic Load Balancing, deleting the certificate could have implications for your application. If Elastic Load Balancing doesn't detect the deletion of bound certificates, it may continue to use the certificates. This could cause Elastic Load Balancing to stop accepting traffic. We recommend that you remove the reference to the certificate from Elastic Load Balancing before using this command to delete the certificate. For more information, go to DeleteLoadBalancerListeners in the Elastic Load Balancing API Reference. - */ - deleteServerCertificate(params: IAM.Types.DeleteServerCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified server certificate. For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide. If you are using a server certificate with Elastic Load Balancing, deleting the certificate could have implications for your application. If Elastic Load Balancing doesn't detect the deletion of bound certificates, it may continue to use the certificates. This could cause Elastic Load Balancing to stop accepting traffic. We recommend that you remove the reference to the certificate from Elastic Load Balancing before using this command to delete the certificate. For more information, go to DeleteLoadBalancerListeners in the Elastic Load Balancing API Reference. - */ - deleteServerCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified service-specific credential. - */ - deleteServiceSpecificCredential(params: IAM.Types.DeleteServiceSpecificCredentialRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified service-specific credential. - */ - deleteServiceSpecificCredential(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a signing certificate associated with the specified IAM user. If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated IAM users. - */ - deleteSigningCertificate(params: IAM.Types.DeleteSigningCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a signing certificate associated with the specified IAM user. If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated IAM users. - */ - deleteSigningCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified IAM user. The user must not belong to any groups or have any access keys, signing certificates, or attached policies. - */ - deleteUser(params: IAM.Types.DeleteUserRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified IAM user. The user must not belong to any groups or have any access keys, signing certificates, or attached policies. - */ - deleteUser(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified inline policy that is embedded in the specified IAM user. A user can also have managed policies attached to it. To detach a managed policy from a user, use DetachUserPolicy. For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide. - */ - deleteUserPolicy(params: IAM.Types.DeleteUserPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified inline policy that is embedded in the specified IAM user. A user can also have managed policies attached to it. To detach a managed policy from a user, use DetachUserPolicy. For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide. - */ - deleteUserPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a virtual MFA device. You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see DeactivateMFADevice. - */ - deleteVirtualMFADevice(params: IAM.Types.DeleteVirtualMFADeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a virtual MFA device. You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see DeactivateMFADevice. - */ - deleteVirtualMFADevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified managed policy from the specified IAM group. A group can also have inline policies embedded with it. To delete an inline policy, use the DeleteGroupPolicy API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - detachGroupPolicy(params: IAM.Types.DetachGroupPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified managed policy from the specified IAM group. A group can also have inline policies embedded with it. To delete an inline policy, use the DeleteGroupPolicy API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - detachGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified managed policy from the specified role. A role can also have inline policies embedded with it. To delete an inline policy, use the DeleteRolePolicy API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - detachRolePolicy(params: IAM.Types.DetachRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified managed policy from the specified role. A role can also have inline policies embedded with it. To delete an inline policy, use the DeleteRolePolicy API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - detachRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified managed policy from the specified user. A user can also have inline policies embedded with it. To delete an inline policy, use the DeleteUserPolicy API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - detachUserPolicy(params: IAM.Types.DetachUserPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified managed policy from the specified user. A user can also have inline policies embedded with it. To delete an inline policy, use the DeleteUserPolicy API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - detachUserPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device is required for every subsequent login by the IAM user associated with the device. - */ - enableMFADevice(params: IAM.Types.EnableMFADeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device is required for every subsequent login by the IAM user associated with the device. - */ - enableMFADevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Generates a credential report for the AWS account. For more information about the credential report, see Getting Credential Reports in the IAM User Guide. - */ - generateCredentialReport(callback?: (err: AWSError, data: IAM.Types.GenerateCredentialReportResponse) => void): Request; - /** - * Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the AWS service and region that were specified in the last request made with that key. - */ - getAccessKeyLastUsed(params: IAM.Types.GetAccessKeyLastUsedRequest, callback?: (err: AWSError, data: IAM.Types.GetAccessKeyLastUsedResponse) => void): Request; - /** - * Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the AWS service and region that were specified in the last request made with that key. - */ - getAccessKeyLastUsed(callback?: (err: AWSError, data: IAM.Types.GetAccessKeyLastUsedResponse) => void): Request; - /** - * Retrieves information about all IAM users, groups, roles, and policies in your AWS account, including their relationships to one another. Use this API to obtain a snapshot of the configuration of IAM permissions (users, groups, roles, and policies) in your account. You can optionally filter the results using the Filter parameter. You can paginate the results using the MaxItems and Marker parameters. - */ - getAccountAuthorizationDetails(params: IAM.Types.GetAccountAuthorizationDetailsRequest, callback?: (err: AWSError, data: IAM.Types.GetAccountAuthorizationDetailsResponse) => void): Request; - /** - * Retrieves information about all IAM users, groups, roles, and policies in your AWS account, including their relationships to one another. Use this API to obtain a snapshot of the configuration of IAM permissions (users, groups, roles, and policies) in your account. You can optionally filter the results using the Filter parameter. You can paginate the results using the MaxItems and Marker parameters. - */ - getAccountAuthorizationDetails(callback?: (err: AWSError, data: IAM.Types.GetAccountAuthorizationDetailsResponse) => void): Request; - /** - * Retrieves the password policy for the AWS account. For more information about using a password policy, go to Managing an IAM Password Policy. - */ - getAccountPasswordPolicy(callback?: (err: AWSError, data: IAM.Types.GetAccountPasswordPolicyResponse) => void): Request; - /** - * Retrieves information about IAM entity usage and IAM quotas in the AWS account. For information about limitations on IAM entities, see Limitations on IAM Entities in the IAM User Guide. - */ - getAccountSummary(callback?: (err: AWSError, data: IAM.Types.GetAccountSummaryResponse) => void): Request; - /** - * Gets a list of all of the context keys referenced in the input policies. The policies are supplied as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role, use GetContextKeysForPrincipalPolicy. Context keys are variables maintained by AWS and its services that provide details about the context of an API query request, and can be evaluated by testing against a value specified in an IAM policy. Use GetContextKeysForCustomPolicy to understand what key names and values you must supply when you call SimulateCustomPolicy. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request. - */ - getContextKeysForCustomPolicy(params: IAM.Types.GetContextKeysForCustomPolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetContextKeysForPolicyResponse) => void): Request; - /** - * Gets a list of all of the context keys referenced in the input policies. The policies are supplied as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role, use GetContextKeysForPrincipalPolicy. Context keys are variables maintained by AWS and its services that provide details about the context of an API query request, and can be evaluated by testing against a value specified in an IAM policy. Use GetContextKeysForCustomPolicy to understand what key names and values you must supply when you call SimulateCustomPolicy. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request. - */ - getContextKeysForCustomPolicy(callback?: (err: AWSError, data: IAM.Types.GetContextKeysForPolicyResponse) => void): Request; - /** - * Gets a list of all of the context keys referenced in all of the IAM policies attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the policies attached to groups that the user is a member of. You can optionally include a list of one or more additional policies, specified as strings. If you want to include only a list of policies by string, use GetContextKeysForCustomPolicy instead. Note: This API discloses information about the permissions granted to other users. If you do not want users to see other user's permissions, then consider allowing them to use GetContextKeysForCustomPolicy instead. Context keys are variables maintained by AWS and its services that provide details about the context of an API query request, and can be evaluated by testing against a value in an IAM policy. Use GetContextKeysForPrincipalPolicy to understand what key names and values you must supply when you call SimulatePrincipalPolicy. - */ - getContextKeysForPrincipalPolicy(params: IAM.Types.GetContextKeysForPrincipalPolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetContextKeysForPolicyResponse) => void): Request; - /** - * Gets a list of all of the context keys referenced in all of the IAM policies attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the policies attached to groups that the user is a member of. You can optionally include a list of one or more additional policies, specified as strings. If you want to include only a list of policies by string, use GetContextKeysForCustomPolicy instead. Note: This API discloses information about the permissions granted to other users. If you do not want users to see other user's permissions, then consider allowing them to use GetContextKeysForCustomPolicy instead. Context keys are variables maintained by AWS and its services that provide details about the context of an API query request, and can be evaluated by testing against a value in an IAM policy. Use GetContextKeysForPrincipalPolicy to understand what key names and values you must supply when you call SimulatePrincipalPolicy. - */ - getContextKeysForPrincipalPolicy(callback?: (err: AWSError, data: IAM.Types.GetContextKeysForPolicyResponse) => void): Request; - /** - * Retrieves a credential report for the AWS account. For more information about the credential report, see Getting Credential Reports in the IAM User Guide. - */ - getCredentialReport(callback?: (err: AWSError, data: IAM.Types.GetCredentialReportResponse) => void): Request; - /** - * Returns a list of IAM users that are in the specified IAM group. You can paginate the results using the MaxItems and Marker parameters. - */ - getGroup(params: IAM.Types.GetGroupRequest, callback?: (err: AWSError, data: IAM.Types.GetGroupResponse) => void): Request; - /** - * Returns a list of IAM users that are in the specified IAM group. You can paginate the results using the MaxItems and Marker parameters. - */ - getGroup(callback?: (err: AWSError, data: IAM.Types.GetGroupResponse) => void): Request; - /** - * Retrieves the specified inline policy document that is embedded in the specified IAM group. Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM group can also have managed policies attached to it. To retrieve a managed policy document that is attached to a group, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - getGroupPolicy(params: IAM.Types.GetGroupPolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetGroupPolicyResponse) => void): Request; - /** - * Retrieves the specified inline policy document that is embedded in the specified IAM group. Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM group can also have managed policies attached to it. To retrieve a managed policy document that is attached to a group, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - getGroupPolicy(callback?: (err: AWSError, data: IAM.Types.GetGroupPolicyResponse) => void): Request; - /** - * Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, see About Instance Profiles in the IAM User Guide. - */ - getInstanceProfile(params: IAM.Types.GetInstanceProfileRequest, callback?: (err: AWSError, data: IAM.Types.GetInstanceProfileResponse) => void): Request; - /** - * Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, see About Instance Profiles in the IAM User Guide. - */ - getInstanceProfile(callback?: (err: AWSError, data: IAM.Types.GetInstanceProfileResponse) => void): Request; - /** - * Retrieves the user name and password-creation date for the specified IAM user. If the user has not been assigned a password, the action returns a 404 (NoSuchEntity) error. - */ - getLoginProfile(params: IAM.Types.GetLoginProfileRequest, callback?: (err: AWSError, data: IAM.Types.GetLoginProfileResponse) => void): Request; - /** - * Retrieves the user name and password-creation date for the specified IAM user. If the user has not been assigned a password, the action returns a 404 (NoSuchEntity) error. - */ - getLoginProfile(callback?: (err: AWSError, data: IAM.Types.GetLoginProfileResponse) => void): Request; - /** - * Returns information about the specified OpenID Connect (OIDC) provider resource object in IAM. - */ - getOpenIDConnectProvider(params: IAM.Types.GetOpenIDConnectProviderRequest, callback?: (err: AWSError, data: IAM.Types.GetOpenIDConnectProviderResponse) => void): Request; - /** - * Returns information about the specified OpenID Connect (OIDC) provider resource object in IAM. - */ - getOpenIDConnectProvider(callback?: (err: AWSError, data: IAM.Types.GetOpenIDConnectProviderResponse) => void): Request; - /** - * Retrieves information about the specified managed policy, including the policy's default version and the total number of IAM users, groups, and roles to which the policy is attached. To retrieve the list of the specific users, groups, and roles that the policy is attached to, use the ListEntitiesForPolicy API. This API returns metadata about the policy. To retrieve the actual policy document for a specific version of the policy, use GetPolicyVersion. This API retrieves information about managed policies. To retrieve information about an inline policy that is embedded with an IAM user, group, or role, use the GetUserPolicy, GetGroupPolicy, or GetRolePolicy API. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - getPolicy(params: IAM.Types.GetPolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetPolicyResponse) => void): Request; - /** - * Retrieves information about the specified managed policy, including the policy's default version and the total number of IAM users, groups, and roles to which the policy is attached. To retrieve the list of the specific users, groups, and roles that the policy is attached to, use the ListEntitiesForPolicy API. This API returns metadata about the policy. To retrieve the actual policy document for a specific version of the policy, use GetPolicyVersion. This API retrieves information about managed policies. To retrieve information about an inline policy that is embedded with an IAM user, group, or role, use the GetUserPolicy, GetGroupPolicy, or GetRolePolicy API. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - getPolicy(callback?: (err: AWSError, data: IAM.Types.GetPolicyResponse) => void): Request; - /** - * Retrieves information about the specified version of the specified managed policy, including the policy document. Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. To list the available versions for a policy, use ListPolicyVersions. This API retrieves information about managed policies. To retrieve information about an inline policy that is embedded in a user, group, or role, use the GetUserPolicy, GetGroupPolicy, or GetRolePolicy API. For more information about the types of policies, see Managed Policies and Inline Policies in the IAM User Guide. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide. - */ - getPolicyVersion(params: IAM.Types.GetPolicyVersionRequest, callback?: (err: AWSError, data: IAM.Types.GetPolicyVersionResponse) => void): Request; - /** - * Retrieves information about the specified version of the specified managed policy, including the policy document. Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. To list the available versions for a policy, use ListPolicyVersions. This API retrieves information about managed policies. To retrieve information about an inline policy that is embedded in a user, group, or role, use the GetUserPolicy, GetGroupPolicy, or GetRolePolicy API. For more information about the types of policies, see Managed Policies and Inline Policies in the IAM User Guide. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide. - */ - getPolicyVersion(callback?: (err: AWSError, data: IAM.Types.GetPolicyVersionResponse) => void): Request; - /** - * Retrieves information about the specified role, including the role's path, GUID, ARN, and the role's trust policy that grants permission to assume the role. For more information about roles, see Working with Roles. Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. - */ - getRole(params: IAM.Types.GetRoleRequest, callback?: (err: AWSError, data: IAM.Types.GetRoleResponse) => void): Request; - /** - * Retrieves information about the specified role, including the role's path, GUID, ARN, and the role's trust policy that grants permission to assume the role. For more information about roles, see Working with Roles. Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. - */ - getRole(callback?: (err: AWSError, data: IAM.Types.GetRoleResponse) => void): Request; - /** - * Retrieves the specified inline policy document that is embedded with the specified IAM role. Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM role can also have managed policies attached to it. To retrieve a managed policy document that is attached to a role, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. For more information about roles, see Using Roles to Delegate Permissions and Federate Identities. - */ - getRolePolicy(params: IAM.Types.GetRolePolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetRolePolicyResponse) => void): Request; - /** - * Retrieves the specified inline policy document that is embedded with the specified IAM role. Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM role can also have managed policies attached to it. To retrieve a managed policy document that is attached to a role, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. For more information about roles, see Using Roles to Delegate Permissions and Federate Identities. - */ - getRolePolicy(callback?: (err: AWSError, data: IAM.Types.GetRolePolicyResponse) => void): Request; - /** - * Returns the SAML provider metadocument that was uploaded when the IAM SAML provider resource object was created or updated. This operation requires Signature Version 4. - */ - getSAMLProvider(params: IAM.Types.GetSAMLProviderRequest, callback?: (err: AWSError, data: IAM.Types.GetSAMLProviderResponse) => void): Request; - /** - * Returns the SAML provider metadocument that was uploaded when the IAM SAML provider resource object was created or updated. This operation requires Signature Version 4. - */ - getSAMLProvider(callback?: (err: AWSError, data: IAM.Types.GetSAMLProviderResponse) => void): Request; - /** - * Retrieves the specified SSH public key, including metadata about the key. The SSH public key retrieved by this action is used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide. - */ - getSSHPublicKey(params: IAM.Types.GetSSHPublicKeyRequest, callback?: (err: AWSError, data: IAM.Types.GetSSHPublicKeyResponse) => void): Request; - /** - * Retrieves the specified SSH public key, including metadata about the key. The SSH public key retrieved by this action is used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide. - */ - getSSHPublicKey(callback?: (err: AWSError, data: IAM.Types.GetSSHPublicKeyResponse) => void): Request; - /** - * Retrieves information about the specified server certificate stored in IAM. For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide. - */ - getServerCertificate(params: IAM.Types.GetServerCertificateRequest, callback?: (err: AWSError, data: IAM.Types.GetServerCertificateResponse) => void): Request; - /** - * Retrieves information about the specified server certificate stored in IAM. For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide. - */ - getServerCertificate(callback?: (err: AWSError, data: IAM.Types.GetServerCertificateResponse) => void): Request; - /** - * Retrieves information about the specified IAM user, including the user's creation date, path, unique ID, and ARN. If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID used to sign the request to this API. - */ - getUser(params: IAM.Types.GetUserRequest, callback?: (err: AWSError, data: IAM.Types.GetUserResponse) => void): Request; - /** - * Retrieves information about the specified IAM user, including the user's creation date, path, unique ID, and ARN. If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID used to sign the request to this API. - */ - getUser(callback?: (err: AWSError, data: IAM.Types.GetUserResponse) => void): Request; - /** - * Retrieves the specified inline policy document that is embedded in the specified IAM user. Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM user can also have managed policies attached to it. To retrieve a managed policy document that is attached to a user, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - getUserPolicy(params: IAM.Types.GetUserPolicyRequest, callback?: (err: AWSError, data: IAM.Types.GetUserPolicyResponse) => void): Request; - /** - * Retrieves the specified inline policy document that is embedded in the specified IAM user. Policies returned by this API are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality. An IAM user can also have managed policies attached to it. To retrieve a managed policy document that is attached to a user, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - getUserPolicy(callback?: (err: AWSError, data: IAM.Types.GetUserPolicyResponse) => void): Request; - /** - * Returns information about the access key IDs associated with the specified IAM user. If there are none, the action returns an empty list. Although each user is limited to a small number of keys, you can still paginate the results using the MaxItems and Marker parameters. If the UserName field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. To ensure the security of your AWS account, the secret access key is accessible only during key and user creation. - */ - listAccessKeys(params: IAM.Types.ListAccessKeysRequest, callback?: (err: AWSError, data: IAM.Types.ListAccessKeysResponse) => void): Request; - /** - * Returns information about the access key IDs associated with the specified IAM user. If there are none, the action returns an empty list. Although each user is limited to a small number of keys, you can still paginate the results using the MaxItems and Marker parameters. If the UserName field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. To ensure the security of your AWS account, the secret access key is accessible only during key and user creation. - */ - listAccessKeys(callback?: (err: AWSError, data: IAM.Types.ListAccessKeysResponse) => void): Request; - /** - * Lists the account alias associated with the AWS account (Note: you can have only one). For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in the IAM User Guide. - */ - listAccountAliases(params: IAM.Types.ListAccountAliasesRequest, callback?: (err: AWSError, data: IAM.Types.ListAccountAliasesResponse) => void): Request; - /** - * Lists the account alias associated with the AWS account (Note: you can have only one). For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in the IAM User Guide. - */ - listAccountAliases(callback?: (err: AWSError, data: IAM.Types.ListAccountAliasesResponse) => void): Request; - /** - * Lists all managed policies that are attached to the specified IAM group. An IAM group can also have inline policies embedded with it. To list the inline policies for a group, use the ListGroupPolicies API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the action returns an empty list. - */ - listAttachedGroupPolicies(params: IAM.Types.ListAttachedGroupPoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListAttachedGroupPoliciesResponse) => void): Request; - /** - * Lists all managed policies that are attached to the specified IAM group. An IAM group can also have inline policies embedded with it. To list the inline policies for a group, use the ListGroupPolicies API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the action returns an empty list. - */ - listAttachedGroupPolicies(callback?: (err: AWSError, data: IAM.Types.ListAttachedGroupPoliciesResponse) => void): Request; - /** - * Lists all managed policies that are attached to the specified IAM role. An IAM role can also have inline policies embedded with it. To list the inline policies for a role, use the ListRolePolicies API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified role (or none that match the specified path prefix), the action returns an empty list. - */ - listAttachedRolePolicies(params: IAM.Types.ListAttachedRolePoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListAttachedRolePoliciesResponse) => void): Request; - /** - * Lists all managed policies that are attached to the specified IAM role. An IAM role can also have inline policies embedded with it. To list the inline policies for a role, use the ListRolePolicies API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified role (or none that match the specified path prefix), the action returns an empty list. - */ - listAttachedRolePolicies(callback?: (err: AWSError, data: IAM.Types.ListAttachedRolePoliciesResponse) => void): Request; - /** - * Lists all managed policies that are attached to the specified IAM user. An IAM user can also have inline policies embedded with it. To list the inline policies for a user, use the ListUserPolicies API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the action returns an empty list. - */ - listAttachedUserPolicies(params: IAM.Types.ListAttachedUserPoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListAttachedUserPoliciesResponse) => void): Request; - /** - * Lists all managed policies that are attached to the specified IAM user. An IAM user can also have inline policies embedded with it. To list the inline policies for a user, use the ListUserPolicies API. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. You can use the PathPrefix parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the action returns an empty list. - */ - listAttachedUserPolicies(callback?: (err: AWSError, data: IAM.Types.ListAttachedUserPoliciesResponse) => void): Request; - /** - * Lists all IAM users, groups, and roles that the specified managed policy is attached to. You can use the optional EntityFilter parameter to limit the results to a particular type of entity (users, groups, or roles). For example, to list only the roles that are attached to the specified policy, set EntityFilter to Role. You can paginate the results using the MaxItems and Marker parameters. - */ - listEntitiesForPolicy(params: IAM.Types.ListEntitiesForPolicyRequest, callback?: (err: AWSError, data: IAM.Types.ListEntitiesForPolicyResponse) => void): Request; - /** - * Lists all IAM users, groups, and roles that the specified managed policy is attached to. You can use the optional EntityFilter parameter to limit the results to a particular type of entity (users, groups, or roles). For example, to list only the roles that are attached to the specified policy, set EntityFilter to Role. You can paginate the results using the MaxItems and Marker parameters. - */ - listEntitiesForPolicy(callback?: (err: AWSError, data: IAM.Types.ListEntitiesForPolicyResponse) => void): Request; - /** - * Lists the names of the inline policies that are embedded in the specified IAM group. An IAM group can also have managed policies attached to it. To list the managed policies that are attached to a group, use ListAttachedGroupPolicies. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified group, the action returns an empty list. - */ - listGroupPolicies(params: IAM.Types.ListGroupPoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListGroupPoliciesResponse) => void): Request; - /** - * Lists the names of the inline policies that are embedded in the specified IAM group. An IAM group can also have managed policies attached to it. To list the managed policies that are attached to a group, use ListAttachedGroupPolicies. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified group, the action returns an empty list. - */ - listGroupPolicies(callback?: (err: AWSError, data: IAM.Types.ListGroupPoliciesResponse) => void): Request; - /** - * Lists the IAM groups that have the specified path prefix. You can paginate the results using the MaxItems and Marker parameters. - */ - listGroups(params: IAM.Types.ListGroupsRequest, callback?: (err: AWSError, data: IAM.Types.ListGroupsResponse) => void): Request; - /** - * Lists the IAM groups that have the specified path prefix. You can paginate the results using the MaxItems and Marker parameters. - */ - listGroups(callback?: (err: AWSError, data: IAM.Types.ListGroupsResponse) => void): Request; - /** - * Lists the IAM groups that the specified IAM user belongs to. You can paginate the results using the MaxItems and Marker parameters. - */ - listGroupsForUser(params: IAM.Types.ListGroupsForUserRequest, callback?: (err: AWSError, data: IAM.Types.ListGroupsForUserResponse) => void): Request; - /** - * Lists the IAM groups that the specified IAM user belongs to. You can paginate the results using the MaxItems and Marker parameters. - */ - listGroupsForUser(callback?: (err: AWSError, data: IAM.Types.ListGroupsForUserResponse) => void): Request; - /** - * Lists the instance profiles that have the specified path prefix. If there are none, the action returns an empty list. For more information about instance profiles, go to About Instance Profiles. You can paginate the results using the MaxItems and Marker parameters. - */ - listInstanceProfiles(params: IAM.Types.ListInstanceProfilesRequest, callback?: (err: AWSError, data: IAM.Types.ListInstanceProfilesResponse) => void): Request; - /** - * Lists the instance profiles that have the specified path prefix. If there are none, the action returns an empty list. For more information about instance profiles, go to About Instance Profiles. You can paginate the results using the MaxItems and Marker parameters. - */ - listInstanceProfiles(callback?: (err: AWSError, data: IAM.Types.ListInstanceProfilesResponse) => void): Request; - /** - * Lists the instance profiles that have the specified associated IAM role. If there are none, the action returns an empty list. For more information about instance profiles, go to About Instance Profiles. You can paginate the results using the MaxItems and Marker parameters. - */ - listInstanceProfilesForRole(params: IAM.Types.ListInstanceProfilesForRoleRequest, callback?: (err: AWSError, data: IAM.Types.ListInstanceProfilesForRoleResponse) => void): Request; - /** - * Lists the instance profiles that have the specified associated IAM role. If there are none, the action returns an empty list. For more information about instance profiles, go to About Instance Profiles. You can paginate the results using the MaxItems and Marker parameters. - */ - listInstanceProfilesForRole(callback?: (err: AWSError, data: IAM.Types.ListInstanceProfilesForRoleResponse) => void): Request; - /** - * Lists the MFA devices for an IAM user. If the request includes a IAM user name, then this action lists all the MFA devices associated with the specified user. If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request for this API. You can paginate the results using the MaxItems and Marker parameters. - */ - listMFADevices(params: IAM.Types.ListMFADevicesRequest, callback?: (err: AWSError, data: IAM.Types.ListMFADevicesResponse) => void): Request; - /** - * Lists the MFA devices for an IAM user. If the request includes a IAM user name, then this action lists all the MFA devices associated with the specified user. If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request for this API. You can paginate the results using the MaxItems and Marker parameters. - */ - listMFADevices(callback?: (err: AWSError, data: IAM.Types.ListMFADevicesResponse) => void): Request; - /** - * Lists information about the IAM OpenID Connect (OIDC) provider resource objects defined in the AWS account. - */ - listOpenIDConnectProviders(params: IAM.Types.ListOpenIDConnectProvidersRequest, callback?: (err: AWSError, data: IAM.Types.ListOpenIDConnectProvidersResponse) => void): Request; - /** - * Lists information about the IAM OpenID Connect (OIDC) provider resource objects defined in the AWS account. - */ - listOpenIDConnectProviders(callback?: (err: AWSError, data: IAM.Types.ListOpenIDConnectProvidersResponse) => void): Request; - /** - * Lists all the managed policies that are available in your AWS account, including your own customer-defined managed policies and all AWS managed policies. You can filter the list of policies that is returned using the optional OnlyAttached, Scope, and PathPrefix parameters. For example, to list only the customer managed policies in your AWS account, set Scope to Local. To list only AWS managed policies, set Scope to AWS. You can paginate the results using the MaxItems and Marker parameters. For more information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - listPolicies(params: IAM.Types.ListPoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListPoliciesResponse) => void): Request; - /** - * Lists all the managed policies that are available in your AWS account, including your own customer-defined managed policies and all AWS managed policies. You can filter the list of policies that is returned using the optional OnlyAttached, Scope, and PathPrefix parameters. For example, to list only the customer managed policies in your AWS account, set Scope to Local. To list only AWS managed policies, set Scope to AWS. You can paginate the results using the MaxItems and Marker parameters. For more information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - listPolicies(callback?: (err: AWSError, data: IAM.Types.ListPoliciesResponse) => void): Request; - /** - * Lists information about the versions of the specified managed policy, including the version that is currently set as the policy's default version. For more information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - listPolicyVersions(params: IAM.Types.ListPolicyVersionsRequest, callback?: (err: AWSError, data: IAM.Types.ListPolicyVersionsResponse) => void): Request; - /** - * Lists information about the versions of the specified managed policy, including the version that is currently set as the policy's default version. For more information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - listPolicyVersions(callback?: (err: AWSError, data: IAM.Types.ListPolicyVersionsResponse) => void): Request; - /** - * Lists the names of the inline policies that are embedded in the specified IAM role. An IAM role can also have managed policies attached to it. To list the managed policies that are attached to a role, use ListAttachedRolePolicies. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified role, the action returns an empty list. - */ - listRolePolicies(params: IAM.Types.ListRolePoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListRolePoliciesResponse) => void): Request; - /** - * Lists the names of the inline policies that are embedded in the specified IAM role. An IAM role can also have managed policies attached to it. To list the managed policies that are attached to a role, use ListAttachedRolePolicies. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified role, the action returns an empty list. - */ - listRolePolicies(callback?: (err: AWSError, data: IAM.Types.ListRolePoliciesResponse) => void): Request; - /** - * Lists the IAM roles that have the specified path prefix. If there are none, the action returns an empty list. For more information about roles, go to Working with Roles. You can paginate the results using the MaxItems and Marker parameters. - */ - listRoles(params: IAM.Types.ListRolesRequest, callback?: (err: AWSError, data: IAM.Types.ListRolesResponse) => void): Request; - /** - * Lists the IAM roles that have the specified path prefix. If there are none, the action returns an empty list. For more information about roles, go to Working with Roles. You can paginate the results using the MaxItems and Marker parameters. - */ - listRoles(callback?: (err: AWSError, data: IAM.Types.ListRolesResponse) => void): Request; - /** - * Lists the SAML provider resource objects defined in IAM in the account. This operation requires Signature Version 4. - */ - listSAMLProviders(params: IAM.Types.ListSAMLProvidersRequest, callback?: (err: AWSError, data: IAM.Types.ListSAMLProvidersResponse) => void): Request; - /** - * Lists the SAML provider resource objects defined in IAM in the account. This operation requires Signature Version 4. - */ - listSAMLProviders(callback?: (err: AWSError, data: IAM.Types.ListSAMLProvidersResponse) => void): Request; - /** - * Returns information about the SSH public keys associated with the specified IAM user. If there are none, the action returns an empty list. The SSH public keys returned by this action are used only for authenticating the IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide. Although each user is limited to a small number of keys, you can still paginate the results using the MaxItems and Marker parameters. - */ - listSSHPublicKeys(params: IAM.Types.ListSSHPublicKeysRequest, callback?: (err: AWSError, data: IAM.Types.ListSSHPublicKeysResponse) => void): Request; - /** - * Returns information about the SSH public keys associated with the specified IAM user. If there are none, the action returns an empty list. The SSH public keys returned by this action are used only for authenticating the IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide. Although each user is limited to a small number of keys, you can still paginate the results using the MaxItems and Marker parameters. - */ - listSSHPublicKeys(callback?: (err: AWSError, data: IAM.Types.ListSSHPublicKeysResponse) => void): Request; - /** - * Lists the server certificates stored in IAM that have the specified path prefix. If none exist, the action returns an empty list. You can paginate the results using the MaxItems and Marker parameters. For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide. - */ - listServerCertificates(params: IAM.Types.ListServerCertificatesRequest, callback?: (err: AWSError, data: IAM.Types.ListServerCertificatesResponse) => void): Request; - /** - * Lists the server certificates stored in IAM that have the specified path prefix. If none exist, the action returns an empty list. You can paginate the results using the MaxItems and Marker parameters. For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide. - */ - listServerCertificates(callback?: (err: AWSError, data: IAM.Types.ListServerCertificatesResponse) => void): Request; - /** - * Returns information about the service-specific credentials associated with the specified IAM user. If there are none, the action returns an empty list. The service-specific credentials returned by this action are used only for authenticating the IAM user to a specific service. For more information about using service-specific credentials to authenticate to an AWS service, see Set Up service-specific credentials in the AWS CodeCommit User Guide. - */ - listServiceSpecificCredentials(params: IAM.Types.ListServiceSpecificCredentialsRequest, callback?: (err: AWSError, data: IAM.Types.ListServiceSpecificCredentialsResponse) => void): Request; - /** - * Returns information about the service-specific credentials associated with the specified IAM user. If there are none, the action returns an empty list. The service-specific credentials returned by this action are used only for authenticating the IAM user to a specific service. For more information about using service-specific credentials to authenticate to an AWS service, see Set Up service-specific credentials in the AWS CodeCommit User Guide. - */ - listServiceSpecificCredentials(callback?: (err: AWSError, data: IAM.Types.ListServiceSpecificCredentialsResponse) => void): Request; - /** - * Returns information about the signing certificates associated with the specified IAM user. If there are none, the action returns an empty list. Although each user is limited to a small number of signing certificates, you can still paginate the results using the MaxItems and Marker parameters. If the UserName field is not specified, the user name is determined implicitly based on the AWS access key ID used to sign the request for this API. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. - */ - listSigningCertificates(params: IAM.Types.ListSigningCertificatesRequest, callback?: (err: AWSError, data: IAM.Types.ListSigningCertificatesResponse) => void): Request; - /** - * Returns information about the signing certificates associated with the specified IAM user. If there are none, the action returns an empty list. Although each user is limited to a small number of signing certificates, you can still paginate the results using the MaxItems and Marker parameters. If the UserName field is not specified, the user name is determined implicitly based on the AWS access key ID used to sign the request for this API. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. - */ - listSigningCertificates(callback?: (err: AWSError, data: IAM.Types.ListSigningCertificatesResponse) => void): Request; - /** - * Lists the names of the inline policies embedded in the specified IAM user. An IAM user can also have managed policies attached to it. To list the managed policies that are attached to a user, use ListAttachedUserPolicies. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified user, the action returns an empty list. - */ - listUserPolicies(params: IAM.Types.ListUserPoliciesRequest, callback?: (err: AWSError, data: IAM.Types.ListUserPoliciesResponse) => void): Request; - /** - * Lists the names of the inline policies embedded in the specified IAM user. An IAM user can also have managed policies attached to it. To list the managed policies that are attached to a user, use ListAttachedUserPolicies. For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide. You can paginate the results using the MaxItems and Marker parameters. If there are no inline policies embedded with the specified user, the action returns an empty list. - */ - listUserPolicies(callback?: (err: AWSError, data: IAM.Types.ListUserPoliciesResponse) => void): Request; - /** - * Lists the IAM users that have the specified path prefix. If no path prefix is specified, the action returns all users in the AWS account. If there are none, the action returns an empty list. You can paginate the results using the MaxItems and Marker parameters. - */ - listUsers(params: IAM.Types.ListUsersRequest, callback?: (err: AWSError, data: IAM.Types.ListUsersResponse) => void): Request; - /** - * Lists the IAM users that have the specified path prefix. If no path prefix is specified, the action returns all users in the AWS account. If there are none, the action returns an empty list. You can paginate the results using the MaxItems and Marker parameters. - */ - listUsers(callback?: (err: AWSError, data: IAM.Types.ListUsersResponse) => void): Request; - /** - * Lists the virtual MFA devices defined in the AWS account by assignment status. If you do not specify an assignment status, the action returns a list of all virtual MFA devices. Assignment status can be Assigned, Unassigned, or Any. You can paginate the results using the MaxItems and Marker parameters. - */ - listVirtualMFADevices(params: IAM.Types.ListVirtualMFADevicesRequest, callback?: (err: AWSError, data: IAM.Types.ListVirtualMFADevicesResponse) => void): Request; - /** - * Lists the virtual MFA devices defined in the AWS account by assignment status. If you do not specify an assignment status, the action returns a list of all virtual MFA devices. Assignment status can be Assigned, Unassigned, or Any. You can paginate the results using the MaxItems and Marker parameters. - */ - listVirtualMFADevices(callback?: (err: AWSError, data: IAM.Types.ListVirtualMFADevicesResponse) => void): Request; - /** - * Adds or updates an inline policy document that is embedded in the specified IAM group. A user can also have managed policies attached to it. To attach a managed policy to a group, use AttachGroupPolicy. To create a new managed policy, use CreatePolicy. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. For information about limits on the number of inline policies that you can embed in a group, see Limitations on IAM Entities in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For general information about using the Query API with IAM, go to Making Query Requests in the IAM User Guide. - */ - putGroupPolicy(params: IAM.Types.PutGroupPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or updates an inline policy document that is embedded in the specified IAM group. A user can also have managed policies attached to it. To attach a managed policy to a group, use AttachGroupPolicy. To create a new managed policy, use CreatePolicy. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. For information about limits on the number of inline policies that you can embed in a group, see Limitations on IAM Entities in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For general information about using the Query API with IAM, go to Making Query Requests in the IAM User Guide. - */ - putGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using CreateRole. You can update a role's trust policy using UpdateAssumeRolePolicy. For more information about IAM roles, go to Using Roles to Delegate Permissions and Federate Identities. A role can also have a managed policy attached to it. To attach a managed policy to a role, use AttachRolePolicy. To create a new managed policy, use CreatePolicy. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. For information about limits on the number of inline policies that you can embed with a role, see Limitations on IAM Entities in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutRolePolicy. For general information about using the Query API with IAM, go to Making Query Requests in the IAM User Guide. - */ - putRolePolicy(params: IAM.Types.PutRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using CreateRole. You can update a role's trust policy using UpdateAssumeRolePolicy. For more information about IAM roles, go to Using Roles to Delegate Permissions and Federate Identities. A role can also have a managed policy attached to it. To attach a managed policy to a role, use AttachRolePolicy. To create a new managed policy, use CreatePolicy. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. For information about limits on the number of inline policies that you can embed with a role, see Limitations on IAM Entities in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutRolePolicy. For general information about using the Query API with IAM, go to Making Query Requests in the IAM User Guide. - */ - putRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or updates an inline policy document that is embedded in the specified IAM user. An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use AttachUserPolicy. To create a new managed policy, use CreatePolicy. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. For information about limits on the number of inline policies that you can embed in a user, see Limitations on IAM Entities in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutUserPolicy. For general information about using the Query API with IAM, go to Making Query Requests in the IAM User Guide. - */ - putUserPolicy(params: IAM.Types.PutUserPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or updates an inline policy document that is embedded in the specified IAM user. An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use AttachUserPolicy. To create a new managed policy, use CreatePolicy. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide. For information about limits on the number of inline policies that you can embed in a user, see Limitations on IAM Entities in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutUserPolicy. For general information about using the Query API with IAM, go to Making Query Requests in the IAM User Guide. - */ - putUserPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified client ID (also known as audience) from the list of client IDs registered for the specified IAM OpenID Connect (OIDC) provider resource object. This action is idempotent; it does not fail or return an error if you try to remove a client ID that does not exist. - */ - removeClientIDFromOpenIDConnectProvider(params: IAM.Types.RemoveClientIDFromOpenIDConnectProviderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified client ID (also known as audience) from the list of client IDs registered for the specified IAM OpenID Connect (OIDC) provider resource object. This action is idempotent; it does not fail or return an error if you try to remove a client ID that does not exist. - */ - removeClientIDFromOpenIDConnectProvider(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified IAM role from the specified EC2 instance profile. Make sure you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role from an instance profile that is associated with a running instance might break any applications running on the instance. For more information about IAM roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles. - */ - removeRoleFromInstanceProfile(params: IAM.Types.RemoveRoleFromInstanceProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified IAM role from the specified EC2 instance profile. Make sure you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role from an instance profile that is associated with a running instance might break any applications running on the instance. For more information about IAM roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles. - */ - removeRoleFromInstanceProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified user from the specified group. - */ - removeUserFromGroup(params: IAM.Types.RemoveUserFromGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified user from the specified group. - */ - removeUserFromGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Resets the password for a service-specific credential. The new password is AWS generated and cryptographically strong. It cannot be configured by the user. Resetting the password immediately invalidates the previous password associated with this user. - */ - resetServiceSpecificCredential(params: IAM.Types.ResetServiceSpecificCredentialRequest, callback?: (err: AWSError, data: IAM.Types.ResetServiceSpecificCredentialResponse) => void): Request; - /** - * Resets the password for a service-specific credential. The new password is AWS generated and cryptographically strong. It cannot be configured by the user. Resetting the password immediately invalidates the previous password associated with this user. - */ - resetServiceSpecificCredential(callback?: (err: AWSError, data: IAM.Types.ResetServiceSpecificCredentialResponse) => void): Request; - /** - * Synchronizes the specified MFA device with its IAM resource object on the AWS servers. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide. - */ - resyncMFADevice(params: IAM.Types.ResyncMFADeviceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Synchronizes the specified MFA device with its IAM resource object on the AWS servers. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide. - */ - resyncMFADevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the policy is attached to, use the ListEntitiesForPolicy API. For information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - setDefaultPolicyVersion(params: IAM.Types.SetDefaultPolicyVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the policy is attached to, use the ListEntitiesForPolicy API. For information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide. - */ - setDefaultPolicyVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Simulate how a set of IAM policies and optionally a resource-based policy works with a list of API actions and AWS resources to determine the policies' effective permissions. The policies are provided as strings. The simulation does not perform the API actions; it only checks the authorization to determine if the simulated policies allow or deny the actions. If you want to simulate existing policies attached to an IAM user, group, or role, use SimulatePrincipalPolicy instead. Context keys are variables maintained by AWS and its services that provide details about the context of an API query request. You can use the Condition element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use GetContextKeysForCustomPolicy. If the output is long, you can use MaxItems and Marker parameters to paginate the results. - */ - simulateCustomPolicy(params: IAM.Types.SimulateCustomPolicyRequest, callback?: (err: AWSError, data: IAM.Types.SimulatePolicyResponse) => void): Request; - /** - * Simulate how a set of IAM policies and optionally a resource-based policy works with a list of API actions and AWS resources to determine the policies' effective permissions. The policies are provided as strings. The simulation does not perform the API actions; it only checks the authorization to determine if the simulated policies allow or deny the actions. If you want to simulate existing policies attached to an IAM user, group, or role, use SimulatePrincipalPolicy instead. Context keys are variables maintained by AWS and its services that provide details about the context of an API query request. You can use the Condition element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use GetContextKeysForCustomPolicy. If the output is long, you can use MaxItems and Marker parameters to paginate the results. - */ - simulateCustomPolicy(callback?: (err: AWSError, data: IAM.Types.SimulatePolicyResponse) => void): Request; - /** - * Simulate how a set of IAM policies attached to an IAM entity works with a list of API actions and AWS resources to determine the policies' effective permissions. The entity can be an IAM user, group, or role. If you specify a user, then the simulation also includes all of the policies that are attached to groups that the user belongs to . You can optionally include a list of one or more additional policies specified as strings to include in the simulation. If you want to simulate only policies specified as strings, use SimulateCustomPolicy instead. You can also optionally include one resource-based policy to be evaluated with each of the resources included in the simulation. The simulation does not perform the API actions, it only checks the authorization to determine if the simulated policies allow or deny the actions. Note: This API discloses information about the permissions granted to other users. If you do not want users to see other user's permissions, then consider allowing them to use SimulateCustomPolicy instead. Context keys are variables maintained by AWS and its services that provide details about the context of an API query request. You can use the Condition element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use GetContextKeysForPrincipalPolicy. If the output is long, you can use the MaxItems and Marker parameters to paginate the results. - */ - simulatePrincipalPolicy(params: IAM.Types.SimulatePrincipalPolicyRequest, callback?: (err: AWSError, data: IAM.Types.SimulatePolicyResponse) => void): Request; - /** - * Simulate how a set of IAM policies attached to an IAM entity works with a list of API actions and AWS resources to determine the policies' effective permissions. The entity can be an IAM user, group, or role. If you specify a user, then the simulation also includes all of the policies that are attached to groups that the user belongs to . You can optionally include a list of one or more additional policies specified as strings to include in the simulation. If you want to simulate only policies specified as strings, use SimulateCustomPolicy instead. You can also optionally include one resource-based policy to be evaluated with each of the resources included in the simulation. The simulation does not perform the API actions, it only checks the authorization to determine if the simulated policies allow or deny the actions. Note: This API discloses information about the permissions granted to other users. If you do not want users to see other user's permissions, then consider allowing them to use SimulateCustomPolicy instead. Context keys are variables maintained by AWS and its services that provide details about the context of an API query request. You can use the Condition element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use GetContextKeysForPrincipalPolicy. If the output is long, you can use the MaxItems and Marker parameters to paginate the results. - */ - simulatePrincipalPolicy(callback?: (err: AWSError, data: IAM.Types.SimulatePolicyResponse) => void): Request; - /** - * Changes the status of the specified access key from Active to Inactive, or vice versa. This action can be used to disable a user's key as part of a key rotation work flow. If the UserName field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. For information about rotating keys, see Managing Keys and Certificates in the IAM User Guide. - */ - updateAccessKey(params: IAM.Types.UpdateAccessKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the status of the specified access key from Active to Inactive, or vice versa. This action can be used to disable a user's key as part of a key rotation work flow. If the UserName field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. For information about rotating keys, see Managing Keys and Certificates in the IAM User Guide. - */ - updateAccessKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the password policy settings for the AWS account. This action does not support partial updates. No parameters are required, but if you do not specify a parameter, that parameter's value reverts to its default value. See the Request Parameters section for each parameter's default value. For more information about using a password policy, see Managing an IAM Password Policy in the IAM User Guide. - */ - updateAccountPasswordPolicy(params: IAM.Types.UpdateAccountPasswordPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the password policy settings for the AWS account. This action does not support partial updates. No parameters are required, but if you do not specify a parameter, that parameter's value reverts to its default value. See the Request Parameters section for each parameter's default value. For more information about using a password policy, see Managing an IAM Password Policy in the IAM User Guide. - */ - updateAccountPasswordPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, go to Using Roles to Delegate Permissions and Federate Identities. - */ - updateAssumeRolePolicy(params: IAM.Types.UpdateAssumeRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, go to Using Roles to Delegate Permissions and Federate Identities. - */ - updateAssumeRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the name and/or the path of the specified IAM group. You should understand the implications of changing a group's path or name. For more information, see Renaming Users and Groups in the IAM User Guide. To change an IAM group name the requester must have appropriate permissions on both the source object and the target object. For example, to change "Managers" to "MGRs", the entity making the request must have permission on both "Managers" and "MGRs", or must have permission on all (*). For more information about permissions, see Permissions and Policies. - */ - updateGroup(params: IAM.Types.UpdateGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the name and/or the path of the specified IAM group. You should understand the implications of changing a group's path or name. For more information, see Renaming Users and Groups in the IAM User Guide. To change an IAM group name the requester must have appropriate permissions on both the source object and the target object. For example, to change "Managers" to "MGRs", the entity making the request must have permission on both "Managers" and "MGRs", or must have permission on all (*). For more information about permissions, see Permissions and Policies. - */ - updateGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the password for the specified IAM user. IAM users can change their own passwords by calling ChangePassword. For more information about modifying passwords, see Managing Passwords in the IAM User Guide. - */ - updateLoginProfile(params: IAM.Types.UpdateLoginProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the password for the specified IAM user. IAM users can change their own passwords by calling ChangePassword. For more information about modifying passwords, see Managing Passwords in the IAM User Guide. - */ - updateLoginProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Replaces the existing list of server certificate thumbprints associated with an OpenID Connect (OIDC) provider resource object with a new list of thumbprints. The list that you pass with this action completely replaces the existing list of thumbprints. (The lists are not merged.) Typically, you need to update a thumbprint only when the identity provider's certificate changes, which occurs rarely. However, if the provider's certificate does change, any attempt to assume an IAM role that specifies the OIDC provider as a principal fails until the certificate thumbprint is updated. Because trust for the OIDC provider is ultimately derived from the provider's certificate and is validated by the thumbprint, it is a best practice to limit access to the UpdateOpenIDConnectProviderThumbprint action to highly-privileged users. - */ - updateOpenIDConnectProviderThumbprint(params: IAM.Types.UpdateOpenIDConnectProviderThumbprintRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Replaces the existing list of server certificate thumbprints associated with an OpenID Connect (OIDC) provider resource object with a new list of thumbprints. The list that you pass with this action completely replaces the existing list of thumbprints. (The lists are not merged.) Typically, you need to update a thumbprint only when the identity provider's certificate changes, which occurs rarely. However, if the provider's certificate does change, any attempt to assume an IAM role that specifies the OIDC provider as a principal fails until the certificate thumbprint is updated. Because trust for the OIDC provider is ultimately derived from the provider's certificate and is validated by the thumbprint, it is a best practice to limit access to the UpdateOpenIDConnectProviderThumbprint action to highly-privileged users. - */ - updateOpenIDConnectProviderThumbprint(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the description of a role. - */ - updateRoleDescription(params: IAM.Types.UpdateRoleDescriptionRequest, callback?: (err: AWSError, data: IAM.Types.UpdateRoleDescriptionResponse) => void): Request; - /** - * Modifies the description of a role. - */ - updateRoleDescription(callback?: (err: AWSError, data: IAM.Types.UpdateRoleDescriptionResponse) => void): Request; - /** - * Updates the metadata document for an existing SAML provider resource object. This operation requires Signature Version 4. - */ - updateSAMLProvider(params: IAM.Types.UpdateSAMLProviderRequest, callback?: (err: AWSError, data: IAM.Types.UpdateSAMLProviderResponse) => void): Request; - /** - * Updates the metadata document for an existing SAML provider resource object. This operation requires Signature Version 4. - */ - updateSAMLProvider(callback?: (err: AWSError, data: IAM.Types.UpdateSAMLProviderResponse) => void): Request; - /** - * Sets the status of an IAM user's SSH public key to active or inactive. SSH public keys that are inactive cannot be used for authentication. This action can be used to disable a user's SSH public key as part of a key rotation work flow. The SSH public key affected by this action is used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide. - */ - updateSSHPublicKey(params: IAM.Types.UpdateSSHPublicKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the status of an IAM user's SSH public key to active or inactive. SSH public keys that are inactive cannot be used for authentication. This action can be used to disable a user's SSH public key as part of a key rotation work flow. The SSH public key affected by this action is used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide. - */ - updateSSHPublicKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the name and/or the path of the specified server certificate stored in IAM. For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide. You should understand the implications of changing a server certificate's path or name. For more information, see Renaming a Server Certificate in the IAM User Guide. To change a server certificate name the requester must have appropriate permissions on both the source object and the target object. For example, to change the name from "ProductionCert" to "ProdCert", the entity making the request must have permission on "ProductionCert" and "ProdCert", or must have permission on all (*). For more information about permissions, see Access Management in the IAM User Guide. - */ - updateServerCertificate(params: IAM.Types.UpdateServerCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the name and/or the path of the specified server certificate stored in IAM. For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide. You should understand the implications of changing a server certificate's path or name. For more information, see Renaming a Server Certificate in the IAM User Guide. To change a server certificate name the requester must have appropriate permissions on both the source object and the target object. For example, to change the name from "ProductionCert" to "ProdCert", the entity making the request must have permission on "ProductionCert" and "ProdCert", or must have permission on all (*). For more information about permissions, see Access Management in the IAM User Guide. - */ - updateServerCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the status of a service-specific credential to Active or Inactive. Service-specific credentials that are inactive cannot be used for authentication to the service. This action can be used to disable a user’s service-specific credential as part of a credential rotation work flow. - */ - updateServiceSpecificCredential(params: IAM.Types.UpdateServiceSpecificCredentialRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the status of a service-specific credential to Active or Inactive. Service-specific credentials that are inactive cannot be used for authentication to the service. This action can be used to disable a user’s service-specific credential as part of a credential rotation work flow. - */ - updateServiceSpecificCredential(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the status of the specified user signing certificate from active to disabled, or vice versa. This action can be used to disable an IAM user's signing certificate as part of a certificate rotation work flow. If the UserName field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. - */ - updateSigningCertificate(params: IAM.Types.UpdateSigningCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the status of the specified user signing certificate from active to disabled, or vice versa. This action can be used to disable an IAM user's signing certificate as part of a certificate rotation work flow. If the UserName field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. - */ - updateSigningCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the name and/or the path of the specified IAM user. You should understand the implications of changing an IAM user's path or name. For more information, see Renaming an IAM User and Renaming an IAM Group in the IAM User Guide. To change a user name the requester must have appropriate permissions on both the source object and the target object. For example, to change Bob to Robert, the entity making the request must have permission on Bob and Robert, or must have permission on all (*). For more information about permissions, see Permissions and Policies. - */ - updateUser(params: IAM.Types.UpdateUserRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the name and/or the path of the specified IAM user. You should understand the implications of changing an IAM user's path or name. For more information, see Renaming an IAM User and Renaming an IAM Group in the IAM User Guide. To change a user name the requester must have appropriate permissions on both the source object and the target object. For example, to change Bob to Robert, the entity making the request must have permission on Bob and Robert, or must have permission on all (*). For more information about permissions, see Permissions and Policies. - */ - updateUser(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Uploads an SSH public key and associates it with the specified IAM user. The SSH public key uploaded by this action can be used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide. - */ - uploadSSHPublicKey(params: IAM.Types.UploadSSHPublicKeyRequest, callback?: (err: AWSError, data: IAM.Types.UploadSSHPublicKeyResponse) => void): Request; - /** - * Uploads an SSH public key and associates it with the specified IAM user. The SSH public key uploaded by this action can be used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide. - */ - uploadSSHPublicKey(callback?: (err: AWSError, data: IAM.Types.UploadSSHPublicKeyResponse) => void): Request; - /** - * Uploads a server certificate entity for the AWS account. The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded. We recommend that you use AWS Certificate Manager to provision, manage, and deploy your server certificates. With ACM you can request a certificate, deploy it to AWS resources, and let ACM handle certificate renewals for you. Certificates provided by ACM are free. For more information about using ACM, see the AWS Certificate Manager User Guide. For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide. For information about the number of server certificates you can upload, see Limitations on IAM Entities and Objects in the IAM User Guide. Because the body of the public key certificate, private key, and the certificate chain can be large, you should use POST rather than GET when calling UploadServerCertificate. For information about setting up signatures and authorization through the API, go to Signing AWS API Requests in the AWS General Reference. For general information about using the Query API with IAM, go to Calling the API by Making HTTP Query Requests in the IAM User Guide. - */ - uploadServerCertificate(params: IAM.Types.UploadServerCertificateRequest, callback?: (err: AWSError, data: IAM.Types.UploadServerCertificateResponse) => void): Request; - /** - * Uploads a server certificate entity for the AWS account. The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded. We recommend that you use AWS Certificate Manager to provision, manage, and deploy your server certificates. With ACM you can request a certificate, deploy it to AWS resources, and let ACM handle certificate renewals for you. Certificates provided by ACM are free. For more information about using ACM, see the AWS Certificate Manager User Guide. For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide. For information about the number of server certificates you can upload, see Limitations on IAM Entities and Objects in the IAM User Guide. Because the body of the public key certificate, private key, and the certificate chain can be large, you should use POST rather than GET when calling UploadServerCertificate. For information about setting up signatures and authorization through the API, go to Signing AWS API Requests in the AWS General Reference. For general information about using the Query API with IAM, go to Calling the API by Making HTTP Query Requests in the IAM User Guide. - */ - uploadServerCertificate(callback?: (err: AWSError, data: IAM.Types.UploadServerCertificateResponse) => void): Request; - /** - * Uploads an X.509 signing certificate and associates it with the specified IAM user. Some AWS services use X.509 signing certificates to validate requests that are signed with a corresponding private key. When you upload the certificate, its default status is Active. If the UserName field is not specified, the IAM user name is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. Because the body of a X.509 certificate can be large, you should use POST rather than GET when calling UploadSigningCertificate. For information about setting up signatures and authorization through the API, go to Signing AWS API Requests in the AWS General Reference. For general information about using the Query API with IAM, go to Making Query Requests in the IAM User Guide. - */ - uploadSigningCertificate(params: IAM.Types.UploadSigningCertificateRequest, callback?: (err: AWSError, data: IAM.Types.UploadSigningCertificateResponse) => void): Request; - /** - * Uploads an X.509 signing certificate and associates it with the specified IAM user. Some AWS services use X.509 signing certificates to validate requests that are signed with a corresponding private key. When you upload the certificate, its default status is Active. If the UserName field is not specified, the IAM user name is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. Because the body of a X.509 certificate can be large, you should use POST rather than GET when calling UploadSigningCertificate. For information about setting up signatures and authorization through the API, go to Signing AWS API Requests in the AWS General Reference. For general information about using the Query API with IAM, go to Making Query Requests in the IAM User Guide. - */ - uploadSigningCertificate(callback?: (err: AWSError, data: IAM.Types.UploadSigningCertificateResponse) => void): Request; - /** - * Waits for the instanceProfileExists state by periodically calling the underlying IAM.getInstanceProfileoperation every 1 seconds (at most 40 times). - */ - waitFor(state: "instanceProfileExists", params: IAM.Types.GetInstanceProfileRequest, callback?: (err: AWSError, data: IAM.Types.GetInstanceProfileResponse) => void): Request; - /** - * Waits for the instanceProfileExists state by periodically calling the underlying IAM.getInstanceProfileoperation every 1 seconds (at most 40 times). - */ - waitFor(state: "instanceProfileExists", callback?: (err: AWSError, data: IAM.Types.GetInstanceProfileResponse) => void): Request; - /** - * Waits for the userExists state by periodically calling the underlying IAM.getUseroperation every 1 seconds (at most 20 times). - */ - waitFor(state: "userExists", params: IAM.Types.GetUserRequest, callback?: (err: AWSError, data: IAM.Types.GetUserResponse) => void): Request; - /** - * Waits for the userExists state by periodically calling the underlying IAM.getUseroperation every 1 seconds (at most 20 times). - */ - waitFor(state: "userExists", callback?: (err: AWSError, data: IAM.Types.GetUserResponse) => void): Request; -} -declare namespace IAM { - export interface AccessKey { - /** - * The name of the IAM user that the access key is associated with. - */ - UserName: userNameType; - /** - * The ID for this access key. - */ - AccessKeyId: accessKeyIdType; - /** - * The status of the access key. Active means the key is valid for API calls, while Inactive means it is not. - */ - Status: statusType; - /** - * The secret key used to sign requests. - */ - SecretAccessKey: accessKeySecretType; - /** - * The date when the access key was created. - */ - CreateDate?: dateType; - } - export interface AccessKeyLastUsed { - /** - * The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null when: The user does not have an access key. An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015. There is no sign-in data associated with the user - */ - LastUsedDate: dateType; - /** - * The name of the AWS service with which this access key was most recently used. This field displays "N/A" when: The user does not have an access key. An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015. There is no sign-in data associated with the user - */ - ServiceName: stringType; - /** - * The AWS region where this access key was most recently used. This field is displays "N/A" when: The user does not have an access key. An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015. There is no sign-in data associated with the user For more information about AWS regions, see Regions and Endpoints in the Amazon Web Services General Reference. - */ - Region: stringType; - } - export interface AccessKeyMetadata { - /** - * The name of the IAM user that the key is associated with. - */ - UserName?: userNameType; - /** - * The ID for this access key. - */ - AccessKeyId?: accessKeyIdType; - /** - * The status of the access key. Active means the key is valid for API calls; Inactive means it is not. - */ - Status?: statusType; - /** - * The date when the access key was created. - */ - CreateDate?: dateType; - } - export type ActionNameListType = ActionNameType[]; - export type ActionNameType = string; - export interface AddClientIDToOpenIDConnectProviderRequest { - /** - * The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider resource to add the client ID to. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders action. - */ - OpenIDConnectProviderArn: arnType; - /** - * The client ID (also known as audience) to add to the IAM OpenID Connect provider resource. - */ - ClientID: clientIDType; - } - export interface AddRoleToInstanceProfileRequest { - /** - * The name of the instance profile to update. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - InstanceProfileName: instanceProfileNameType; - /** - * The name of the role to add. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - } - export interface AddUserToGroupRequest { - /** - * The name of the group to update. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * The name of the user to add. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - } - export interface AttachGroupPolicyRequest { - /** - * The name (friendly name, not ARN) of the group to attach the policy to. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * The Amazon Resource Name (ARN) of the IAM policy you want to attach. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - } - export interface AttachRolePolicyRequest { - /** - * The name (friendly name, not ARN) of the role to attach the policy to. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - /** - * The Amazon Resource Name (ARN) of the IAM policy you want to attach. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - } - export interface AttachUserPolicyRequest { - /** - * The name (friendly name, not ARN) of the IAM user to attach the policy to. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - /** - * The Amazon Resource Name (ARN) of the IAM policy you want to attach. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - } - export interface AttachedPolicy { - /** - * The friendly name of the attached policy. - */ - PolicyName?: policyNameType; - PolicyArn?: arnType; - } - export type BootstrapDatum = Buffer|Uint8Array|Blob|string; - export interface ChangePasswordRequest { - /** - * The IAM user's current password. - */ - OldPassword: passwordType; - /** - * The new password. The new password must conform to the AWS account's password policy, if one exists. The regex pattern used to validate this parameter is a string of characters consisting of almost any printable ASCII character from the space (\u0020) through the end of the ASCII character range (\u00FF). You can also include the tab (\u0009), line feed (\u000A), and carriage return (\u000D) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool. - */ - NewPassword: passwordType; - } - export type ColumnNumber = number; - export interface ContextEntry { - /** - * The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId. - */ - ContextKeyName?: ContextKeyNameType; - /** - * The value (or values, if the condition context key supports multiple values) to provide to the simulation for use when the key is referenced by a Condition element in an input policy. - */ - ContextKeyValues?: ContextKeyValueListType; - /** - * The data type of the value (or values) specified in the ContextKeyValues parameter. - */ - ContextKeyType?: ContextKeyTypeEnum; - } - export type ContextEntryListType = ContextEntry[]; - export type ContextKeyNameType = string; - export type ContextKeyNamesResultListType = ContextKeyNameType[]; - export type ContextKeyTypeEnum = "string"|"stringList"|"numeric"|"numericList"|"boolean"|"booleanList"|"ip"|"ipList"|"binary"|"binaryList"|"date"|"dateList"|string; - export type ContextKeyValueListType = ContextKeyValueType[]; - export type ContextKeyValueType = string; - export interface CreateAccessKeyRequest { - /** - * The name of the IAM user that the new key will belong to. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: existingUserNameType; - } - export interface CreateAccessKeyResponse { - /** - * A structure with details about the access key. - */ - AccessKey: AccessKey; - } - export interface CreateAccountAliasRequest { - /** - * The account alias to create. This parameter allows (per its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row. - */ - AccountAlias: accountAliasType; - } - export interface CreateGroupRequest { - /** - * The path to the group. For more information about paths, see IAM Identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - Path?: pathType; - /** - * The name of the group to create. Do not include the path in this value. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-. The group name must be unique within the account. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". - */ - GroupName: groupNameType; - } - export interface CreateGroupResponse { - /** - * A structure containing details about the new group. - */ - Group: Group; - } - export interface CreateInstanceProfileRequest { - /** - * The name of the instance profile to create. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - InstanceProfileName: instanceProfileNameType; - /** - * The path to the instance profile. For more information about paths, see IAM Identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - Path?: pathType; - } - export interface CreateInstanceProfileResponse { - /** - * A structure containing details about the new instance profile. - */ - InstanceProfile: InstanceProfile; - } - export interface CreateLoginProfileRequest { - /** - * The name of the IAM user to create a password for. The user must already exist. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - /** - * The new password for the user. The regex pattern used to validate this parameter is a string of characters consisting of almost any printable ASCII character from the space (\u0020) through the end of the ASCII character range (\u00FF). You can also include the tab (\u0009), line feed (\u000A), and carriage return (\u000D) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool. - */ - Password: passwordType; - /** - * Specifies whether the user is required to set a new password on next sign-in. - */ - PasswordResetRequired?: booleanType; - } - export interface CreateLoginProfileResponse { - /** - * A structure containing the user name and password create date. - */ - LoginProfile: LoginProfile; - } - export interface CreateOpenIDConnectProviderRequest { - /** - * The URL of the identity provider. The URL must begin with "https://" and should correspond to the iss claim in the provider's OpenID Connect ID tokens. Per the OIDC standard, path components are allowed but query parameters are not. Typically the URL consists of only a host name, like "https://server.example.org" or "https://example.com". You cannot register the same provider multiple times in a single AWS account. If you try to submit a URL that has already been used for an OpenID Connect provider in the AWS account, you will get an error. - */ - Url: OpenIDConnectProviderUrlType; - /** - * A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that's sent as the client_id parameter on OAuth requests.) You can register multiple client IDs with the same provider. For example, you might have multiple applications that use the same OIDC provider. You cannot register more than 100 client IDs with a single IAM OIDC provider. There is no defined format for a client ID. The CreateOpenIDConnectProviderRequest action accepts client IDs up to 255 characters long. - */ - ClientIDList?: clientIDListType; - /** - * A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider's server certificate(s). Typically this list includes only one entry. However, IAM lets you have up to five thumbprints for an OIDC provider. This lets you maintain multiple thumbprints if the identity provider is rotating certificates. The server certificate thumbprint is the hex-encoded SHA-1 hash value of the X.509 certificate used by the domain where the OpenID Connect provider makes its keys available. It is always a 40-character string. You must provide at least one thumbprint when creating an IAM OIDC provider. For example, if the OIDC provider is server.example.com and the provider stores its keys at "https://keys.server.example.com/openid-connect", the thumbprint string would be the hex-encoded SHA-1 hash value of the certificate used by https://keys.server.example.com. For more information about obtaining the OIDC provider's thumbprint, see Obtaining the Thumbprint for an OpenID Connect Provider in the IAM User Guide. - */ - ThumbprintList: thumbprintListType; - } - export interface CreateOpenIDConnectProviderResponse { - /** - * The Amazon Resource Name (ARN) of the new IAM OpenID Connect provider that is created. For more information, see OpenIDConnectProviderListEntry. - */ - OpenIDConnectProviderArn?: arnType; - } - export interface CreatePolicyRequest { - /** - * The friendly name of the policy. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - PolicyName: policyNameType; - /** - * The path for the policy. For more information about paths, see IAM Identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - Path?: policyPathType; - /** - * The JSON policy document that you want to use as the content for the new policy. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PolicyDocument: policyDocumentType; - /** - * A friendly description of the policy. Typically used to store information about the permissions defined in the policy. For example, "Grants access to production DynamoDB tables." The policy description is immutable. After a value is assigned, it cannot be changed. - */ - Description?: policyDescriptionType; - } - export interface CreatePolicyResponse { - /** - * A structure containing details about the new policy. - */ - Policy?: Policy; - } - export interface CreatePolicyVersionRequest { - /** - * The Amazon Resource Name (ARN) of the IAM policy to which you want to add a new version. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - /** - * The JSON policy document that you want to use as the content for this new version of the policy. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PolicyDocument: policyDocumentType; - /** - * Specifies whether to set this version as the policy's default version. When this parameter is true, the new policy version becomes the operative version; that is, the version that is in effect for the IAM users, groups, and roles that the policy is attached to. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide. - */ - SetAsDefault?: booleanType; - } - export interface CreatePolicyVersionResponse { - /** - * A structure containing details about the new policy version. - */ - PolicyVersion?: PolicyVersion; - } - export interface CreateRoleRequest { - /** - * The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - Path?: pathType; - /** - * The name of the role to create. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- Role names are not distinguished by case. For example, you cannot create roles named both "PRODROLE" and "prodrole". - */ - RoleName: roleNameType; - /** - * The trust relationship policy document that grants an entity permission to assume the role. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - AssumeRolePolicyDocument: policyDocumentType; - /** - * A customer-provided description of the role. - */ - Description?: roleDescriptionType; - } - export interface CreateRoleResponse { - /** - * A structure containing details about the new role. - */ - Role: Role; - } - export interface CreateSAMLProviderRequest { - /** - * An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. For more information, see About SAML 2.0-based Federation in the IAM User Guide - */ - SAMLMetadataDocument: SAMLMetadataDocumentType; - /** - * The name of the provider to create. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - Name: SAMLProviderNameType; - } - export interface CreateSAMLProviderResponse { - /** - * The Amazon Resource Name (ARN) of the new SAML provider resource in IAM. - */ - SAMLProviderArn?: arnType; - } - export interface CreateServiceLinkedRoleRequest { - /** - * The AWS service to which this role is attached. You use a string similar to a URL but without the http:// in front. For example: elasticbeanstalk.amazonaws.com - */ - AWSServiceName: groupNameType; - /** - * The description of the role. - */ - Description?: roleDescriptionType; - /** - * A string that you provide, which is combined with the service name to form the complete role name. If you make multiple requests for the same service, then you must supply a different CustomSuffix for each request. Otherwise the request fails with a duplicate role name error. For example, you could add -1 or -debug to the suffix. - */ - CustomSuffix?: customSuffixType; - } - export interface CreateServiceLinkedRoleResponse { - /** - * A Role object that contains details about the newly created role. - */ - Role?: Role; - } - export interface CreateServiceSpecificCredentialRequest { - /** - * The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - /** - * The name of the AWS service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials. - */ - ServiceName: serviceName; - } - export interface CreateServiceSpecificCredentialResponse { - /** - * A structure that contains information about the newly created service-specific credential. This is the only time that the password for this credential set is available. It cannot be recovered later. Instead, you will have to reset the password with ResetServiceSpecificCredential. - */ - ServiceSpecificCredential?: ServiceSpecificCredential; - } - export interface CreateUserRequest { - /** - * The path for the user name. For more information about paths, see IAM Identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - Path?: pathType; - /** - * The name of the user to create. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". - */ - UserName: userNameType; - } - export interface CreateUserResponse { - /** - * A structure with details about the new IAM user. - */ - User?: User; - } - export interface CreateVirtualMFADeviceRequest { - /** - * The path for the virtual MFA device. For more information about paths, see IAM Identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - Path?: pathType; - /** - * The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - VirtualMFADeviceName: virtualMFADeviceName; - } - export interface CreateVirtualMFADeviceResponse { - /** - * A structure containing details about the new virtual MFA device. - */ - VirtualMFADevice: VirtualMFADevice; - } - export interface DeactivateMFADeviceRequest { - /** - * The name of the user whose MFA device you want to deactivate. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - /** - * The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/- - */ - SerialNumber: serialNumberType; - } - export interface DeleteAccessKeyRequest { - /** - * The name of the user whose access key pair you want to delete. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: existingUserNameType; - /** - * The access key ID for the access key ID and secret access key you want to delete. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit. - */ - AccessKeyId: accessKeyIdType; - } - export interface DeleteAccountAliasRequest { - /** - * The name of the account alias to delete. This parameter allows (per its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row. - */ - AccountAlias: accountAliasType; - } - export interface DeleteGroupPolicyRequest { - /** - * The name (friendly name, not ARN) identifying the group that the policy is embedded in. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * The name identifying the policy document to delete. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - PolicyName: policyNameType; - } - export interface DeleteGroupRequest { - /** - * The name of the IAM group to delete. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - } - export interface DeleteInstanceProfileRequest { - /** - * The name of the instance profile to delete. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - InstanceProfileName: instanceProfileNameType; - } - export interface DeleteLoginProfileRequest { - /** - * The name of the user whose password you want to delete. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - } - export interface DeleteOpenIDConnectProviderRequest { - /** - * The Amazon Resource Name (ARN) of the IAM OpenID Connect provider resource object to delete. You can get a list of OpenID Connect provider resource ARNs by using the ListOpenIDConnectProviders action. - */ - OpenIDConnectProviderArn: arnType; - } - export interface DeletePolicyRequest { - /** - * The Amazon Resource Name (ARN) of the IAM policy you want to delete. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - } - export interface DeletePolicyVersionRequest { - /** - * The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - /** - * The policy version to delete. This parameter allows (per its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide. - */ - VersionId: policyVersionIdType; - } - export interface DeleteRolePolicyRequest { - /** - * The name (friendly name, not ARN) identifying the role that the policy is embedded in. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - /** - * The name of the inline policy to delete from the specified IAM role. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - PolicyName: policyNameType; - } - export interface DeleteRoleRequest { - /** - * The name of the role to delete. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - } - export interface DeleteSAMLProviderRequest { - /** - * The Amazon Resource Name (ARN) of the SAML provider to delete. - */ - SAMLProviderArn: arnType; - } - export interface DeleteSSHPublicKeyRequest { - /** - * The name of the IAM user associated with the SSH public key. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - /** - * The unique identifier for the SSH public key. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit. - */ - SSHPublicKeyId: publicKeyIdType; - } - export interface DeleteServerCertificateRequest { - /** - * The name of the server certificate you want to delete. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - ServerCertificateName: serverCertificateNameType; - } - export interface DeleteServiceSpecificCredentialRequest { - /** - * The name of the IAM user associated with the service-specific credential. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: userNameType; - /** - * The unique identifier of the service-specific credential. You can get this value by calling ListServiceSpecificCredentials. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit. - */ - ServiceSpecificCredentialId: serviceSpecificCredentialId; - } - export interface DeleteSigningCertificateRequest { - /** - * The name of the user the signing certificate belongs to. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: existingUserNameType; - /** - * The ID of the signing certificate to delete. The format of this parameter, as described by its regex pattern, is a string of characters that can be upper- or lower-cased letters or digits. - */ - CertificateId: certificateIdType; - } - export interface DeleteUserPolicyRequest { - /** - * The name (friendly name, not ARN) identifying the user that the policy is embedded in. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - /** - * The name identifying the policy document to delete. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - PolicyName: policyNameType; - } - export interface DeleteUserRequest { - /** - * The name of the user to delete. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - } - export interface DeleteVirtualMFADeviceRequest { - /** - * The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/- - */ - SerialNumber: serialNumberType; - } - export interface DetachGroupPolicyRequest { - /** - * The name (friendly name, not ARN) of the IAM group to detach the policy from. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * The Amazon Resource Name (ARN) of the IAM policy you want to detach. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - } - export interface DetachRolePolicyRequest { - /** - * The name (friendly name, not ARN) of the IAM role to detach the policy from. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - /** - * The Amazon Resource Name (ARN) of the IAM policy you want to detach. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - } - export interface DetachUserPolicyRequest { - /** - * The name (friendly name, not ARN) of the IAM user to detach the policy from. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - /** - * The Amazon Resource Name (ARN) of the IAM policy you want to detach. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - } - export interface EnableMFADeviceRequest { - /** - * The name of the IAM user for whom you want to enable the MFA device. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - /** - * The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/- - */ - SerialNumber: serialNumberType; - /** - * An authentication code emitted by the device. The format for this parameter is a string of 6 digits. Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device. - */ - AuthenticationCode1: authenticationCodeType; - /** - * A subsequent authentication code emitted by the device. The format for this parameter is a string of 6 digits. Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device. - */ - AuthenticationCode2: authenticationCodeType; - } - export type EntityType = "User"|"Role"|"Group"|"LocalManagedPolicy"|"AWSManagedPolicy"|string; - export type EvalDecisionDetailsType = {[key: string]: PolicyEvaluationDecisionType}; - export type EvalDecisionSourceType = string; - export interface EvaluationResult { - /** - * The name of the API action tested on the indicated resource. - */ - EvalActionName: ActionNameType; - /** - * The ARN of the resource that the indicated API action was tested on. - */ - EvalResourceName?: ResourceNameType; - /** - * The result of the simulation. - */ - EvalDecision: PolicyEvaluationDecisionType; - /** - * A list of the statements in the input policies that determine the result for this scenario. Remember that even if multiple statements allow the action on the resource, if only one statement denies that action, then the explicit deny overrides any allow, and the deny statement is the only entry included in the result. - */ - MatchedStatements?: StatementListType; - /** - * A list of context keys that are required by the included input policies but that were not provided by one of the input parameters. This list is used when the resource in a simulation is "*", either explicitly, or when the ResourceArns parameter blank. If you include a list of resources, then any missing context values are instead included under the ResourceSpecificResults section. To discover the context keys used by a set of policies, you can call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy. - */ - MissingContextValues?: ContextKeyNamesResultListType; - /** - * A structure that details how AWS Organizations and its service control policies affect the results of the simulation. Only applies if the simulated user's account is part of an organization. - */ - OrganizationsDecisionDetail?: OrganizationsDecisionDetail; - /** - * Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access. See How IAM Roles Differ from Resource-based Policies - */ - EvalDecisionDetails?: EvalDecisionDetailsType; - /** - * The individual results of the simulation of the API action specified in EvalActionName on each resource. - */ - ResourceSpecificResults?: ResourceSpecificResultListType; - } - export type EvaluationResultsListType = EvaluationResult[]; - export interface GenerateCredentialReportResponse { - /** - * Information about the state of the credential report. - */ - State?: ReportStateType; - /** - * Information about the credential report. - */ - Description?: ReportStateDescriptionType; - } - export interface GetAccessKeyLastUsedRequest { - /** - * The identifier of an access key. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit. - */ - AccessKeyId: accessKeyIdType; - } - export interface GetAccessKeyLastUsedResponse { - /** - * The name of the AWS IAM user that owns this access key. - */ - UserName?: existingUserNameType; - /** - * Contains information about the last time the access key was used. - */ - AccessKeyLastUsed?: AccessKeyLastUsed; - } - export interface GetAccountAuthorizationDetailsRequest { - /** - * A list of entity types used to filter the results. Only the entities that match the types you specify are included in the output. Use the value LocalManagedPolicy to include customer managed policies. The format for this parameter is a comma-separated (if more than one) list of strings. Each string value in the list must be one of the valid values listed below. - */ - Filter?: entityListType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - } - export interface GetAccountAuthorizationDetailsResponse { - /** - * A list containing information about IAM users. - */ - UserDetailList?: userDetailListType; - /** - * A list containing information about IAM groups. - */ - GroupDetailList?: groupDetailListType; - /** - * A list containing information about IAM roles. - */ - RoleDetailList?: roleDetailListType; - /** - * A list containing information about managed policies. - */ - Policies?: ManagedPolicyDetailListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface GetAccountPasswordPolicyResponse { - /** - * A structure that contains details about the account's password policy. - */ - PasswordPolicy: PasswordPolicy; - } - export interface GetAccountSummaryResponse { - /** - * A set of key value pairs containing information about IAM entity usage and IAM quotas. - */ - SummaryMap?: summaryMapType; - } - export interface GetContextKeysForCustomPolicyRequest { - /** - * A list of policies for which you want the list of context keys referenced in those policies. Each document is specified as a string containing the complete, valid JSON text of an IAM policy. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PolicyInputList: SimulationPolicyListType; - } - export interface GetContextKeysForPolicyResponse { - /** - * The list of context keys that are referenced in the input policies. - */ - ContextKeyNames?: ContextKeyNamesResultListType; - } - export interface GetContextKeysForPrincipalPolicyRequest { - /** - * The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies attached to the user as well as to all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicySourceArn: arnType; - /** - * An optional list of additional policies for which you want the list of context keys that are referenced. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PolicyInputList?: SimulationPolicyListType; - } - export interface GetCredentialReportResponse { - /** - * Contains the credential report. The report is Base64-encoded. - */ - Content?: ReportContentType; - /** - * The format (MIME type) of the credential report. - */ - ReportFormat?: ReportFormatType; - /** - * The date and time when the credential report was created, in ISO 8601 date-time format. - */ - GeneratedTime?: dateType; - } - export interface GetGroupPolicyRequest { - /** - * The name of the group the policy is associated with. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * The name of the policy document to get. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - PolicyName: policyNameType; - } - export interface GetGroupPolicyResponse { - /** - * The group the policy is associated with. - */ - GroupName: groupNameType; - /** - * The name of the policy. - */ - PolicyName: policyNameType; - /** - * The policy document. - */ - PolicyDocument: policyDocumentType; - } - export interface GetGroupRequest { - /** - * The name of the group. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface GetGroupResponse { - /** - * A structure that contains details about the group. - */ - Group: Group; - /** - * A list of users in the group. - */ - Users: userListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface GetInstanceProfileRequest { - /** - * The name of the instance profile to get information about. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - InstanceProfileName: instanceProfileNameType; - } - export interface GetInstanceProfileResponse { - /** - * A structure containing details about the instance profile. - */ - InstanceProfile: InstanceProfile; - } - export interface GetLoginProfileRequest { - /** - * The name of the user whose login profile you want to retrieve. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - } - export interface GetLoginProfileResponse { - /** - * A structure containing the user name and password create date for the user. - */ - LoginProfile: LoginProfile; - } - export interface GetOpenIDConnectProviderRequest { - /** - * The Amazon Resource Name (ARN) of the OIDC provider resource object in IAM to get information for. You can get a list of OIDC provider resource ARNs by using the ListOpenIDConnectProviders action. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - OpenIDConnectProviderArn: arnType; - } - export interface GetOpenIDConnectProviderResponse { - /** - * The URL that the IAM OIDC provider resource object is associated with. For more information, see CreateOpenIDConnectProvider. - */ - Url?: OpenIDConnectProviderUrlType; - /** - * A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider. - */ - ClientIDList?: clientIDListType; - /** - * A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider. - */ - ThumbprintList?: thumbprintListType; - /** - * The date and time when the IAM OIDC provider resource object was created in the AWS account. - */ - CreateDate?: dateType; - } - export interface GetPolicyRequest { - /** - * The Amazon Resource Name (ARN) of the managed policy that you want information about. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - } - export interface GetPolicyResponse { - /** - * A structure containing details about the policy. - */ - Policy?: Policy; - } - export interface GetPolicyVersionRequest { - /** - * The Amazon Resource Name (ARN) of the managed policy that you want information about. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - /** - * Identifies the policy version to retrieve. This parameter allows (per its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits. - */ - VersionId: policyVersionIdType; - } - export interface GetPolicyVersionResponse { - /** - * A structure containing details about the policy version. - */ - PolicyVersion?: PolicyVersion; - } - export interface GetRolePolicyRequest { - /** - * The name of the role associated with the policy. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - /** - * The name of the policy document to get. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - PolicyName: policyNameType; - } - export interface GetRolePolicyResponse { - /** - * The role the policy is associated with. - */ - RoleName: roleNameType; - /** - * The name of the policy. - */ - PolicyName: policyNameType; - /** - * The policy document. - */ - PolicyDocument: policyDocumentType; - } - export interface GetRoleRequest { - /** - * The name of the IAM role to get information about. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - } - export interface GetRoleResponse { - /** - * A structure containing details about the IAM role. - */ - Role: Role; - } - export interface GetSAMLProviderRequest { - /** - * The Amazon Resource Name (ARN) of the SAML provider resource object in IAM to get information about. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - SAMLProviderArn: arnType; - } - export interface GetSAMLProviderResponse { - /** - * The XML metadata document that includes information about an identity provider. - */ - SAMLMetadataDocument?: SAMLMetadataDocumentType; - /** - * The date and time when the SAML provider was created. - */ - CreateDate?: dateType; - /** - * The expiration date and time for the SAML provider. - */ - ValidUntil?: dateType; - } - export interface GetSSHPublicKeyRequest { - /** - * The name of the IAM user associated with the SSH public key. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - /** - * The unique identifier for the SSH public key. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit. - */ - SSHPublicKeyId: publicKeyIdType; - /** - * Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use SSH. To retrieve the public key in PEM format, use PEM. - */ - Encoding: encodingType; - } - export interface GetSSHPublicKeyResponse { - /** - * A structure containing details about the SSH public key. - */ - SSHPublicKey?: SSHPublicKey; - } - export interface GetServerCertificateRequest { - /** - * The name of the server certificate you want to retrieve information about. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - ServerCertificateName: serverCertificateNameType; - } - export interface GetServerCertificateResponse { - /** - * A structure containing details about the server certificate. - */ - ServerCertificate: ServerCertificate; - } - export interface GetUserPolicyRequest { - /** - * The name of the user who the policy is associated with. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - /** - * The name of the policy document to get. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - PolicyName: policyNameType; - } - export interface GetUserPolicyResponse { - /** - * The user the policy is associated with. - */ - UserName: existingUserNameType; - /** - * The name of the policy. - */ - PolicyName: policyNameType; - /** - * The policy document. - */ - PolicyDocument: policyDocumentType; - } - export interface GetUserRequest { - /** - * The name of the user to get information about. This parameter is optional. If it is not included, it defaults to the user making the request. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: existingUserNameType; - } - export interface GetUserResponse { - /** - * A structure containing details about the IAM user. - */ - User: User; - } - export interface Group { - /** - * The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide. - */ - Path: pathType; - /** - * The friendly name that identifies the group. - */ - GroupName: groupNameType; - /** - * The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide. - */ - GroupId: idType; - /** - * The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide. - */ - Arn: arnType; - /** - * The date and time, in ISO 8601 date-time format, when the group was created. - */ - CreateDate: dateType; - } - export interface GroupDetail { - /** - * The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide. - */ - Path?: pathType; - /** - * The friendly name that identifies the group. - */ - GroupName?: groupNameType; - /** - * The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide. - */ - GroupId?: idType; - Arn?: arnType; - /** - * The date and time, in ISO 8601 date-time format, when the group was created. - */ - CreateDate?: dateType; - /** - * A list of the inline policies embedded in the group. - */ - GroupPolicyList?: policyDetailListType; - /** - * A list of the managed policies attached to the group. - */ - AttachedManagedPolicies?: attachedPoliciesListType; - } - export interface InstanceProfile { - /** - * The path to the instance profile. For more information about paths, see IAM Identifiers in the Using IAM guide. - */ - Path: pathType; - /** - * The name identifying the instance profile. - */ - InstanceProfileName: instanceProfileNameType; - /** - * The stable and unique string identifying the instance profile. For more information about IDs, see IAM Identifiers in the Using IAM guide. - */ - InstanceProfileId: idType; - /** - * The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide. - */ - Arn: arnType; - /** - * The date when the instance profile was created. - */ - CreateDate: dateType; - /** - * The role associated with the instance profile. - */ - Roles: roleListType; - } - export type LineNumber = number; - export interface ListAccessKeysRequest { - /** - * The name of the user. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: existingUserNameType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListAccessKeysResponse { - /** - * A list of objects containing metadata about the access keys. - */ - AccessKeyMetadata: accessKeyMetadataListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListAccountAliasesRequest { - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListAccountAliasesResponse { - /** - * A list of aliases associated with the account. AWS supports only one alias per account. - */ - AccountAliases: accountAliasListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListAttachedGroupPoliciesRequest { - /** - * The name (friendly name, not ARN) of the group to list attached policies for. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all policies. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - PathPrefix?: policyPathType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListAttachedGroupPoliciesResponse { - /** - * A list of the attached policies. - */ - AttachedPolicies?: attachedPoliciesListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListAttachedRolePoliciesRequest { - /** - * The name (friendly name, not ARN) of the role to list attached policies for. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - /** - * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all policies. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - PathPrefix?: policyPathType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListAttachedRolePoliciesResponse { - /** - * A list of the attached policies. - */ - AttachedPolicies?: attachedPoliciesListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListAttachedUserPoliciesRequest { - /** - * The name (friendly name, not ARN) of the user to list attached policies for. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - /** - * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all policies. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - PathPrefix?: policyPathType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListAttachedUserPoliciesResponse { - /** - * A list of the attached policies. - */ - AttachedPolicies?: attachedPoliciesListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListEntitiesForPolicyRequest { - /** - * The Amazon Resource Name (ARN) of the IAM policy for which you want the versions. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - /** - * The entity type to use for filtering the results. For example, when EntityFilter is Role, only the roles that are attached to the specified policy are returned. This parameter is optional. If it is not included, all attached entities (users, groups, and roles) are returned. The argument for this parameter must be one of the valid values listed below. - */ - EntityFilter?: EntityType; - /** - * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all entities. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - PathPrefix?: pathType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListEntitiesForPolicyResponse { - /** - * A list of IAM groups that the policy is attached to. - */ - PolicyGroups?: PolicyGroupListType; - /** - * A list of IAM users that the policy is attached to. - */ - PolicyUsers?: PolicyUserListType; - /** - * A list of IAM roles that the policy is attached to. - */ - PolicyRoles?: PolicyRoleListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListGroupPoliciesRequest { - /** - * The name of the group to list policies for. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListGroupPoliciesResponse { - /** - * A list of policy names. - */ - PolicyNames: policyNameListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListGroupsForUserRequest { - /** - * The name of the user to list groups for. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListGroupsForUserResponse { - /** - * A list of groups. - */ - Groups: groupListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListGroupsRequest { - /** - * The path prefix for filtering the results. For example, the prefix /division_abc/subdivision_xyz/ gets all groups whose path starts with /division_abc/subdivision_xyz/. This parameter is optional. If it is not included, it defaults to a slash (/), listing all groups. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - PathPrefix?: pathPrefixType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListGroupsResponse { - /** - * A list of groups. - */ - Groups: groupListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListInstanceProfilesForRoleRequest { - /** - * The name of the role to list instance profiles for. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListInstanceProfilesForRoleResponse { - /** - * A list of instance profiles. - */ - InstanceProfiles: instanceProfileListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListInstanceProfilesRequest { - /** - * The path prefix for filtering the results. For example, the prefix /application_abc/component_xyz/ gets all instance profiles whose path starts with /application_abc/component_xyz/. This parameter is optional. If it is not included, it defaults to a slash (/), listing all instance profiles. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - PathPrefix?: pathPrefixType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListInstanceProfilesResponse { - /** - * A list of instance profiles. - */ - InstanceProfiles: instanceProfileListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListMFADevicesRequest { - /** - * The name of the user whose MFA devices you want to list. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: existingUserNameType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListMFADevicesResponse { - /** - * A list of MFA devices. - */ - MFADevices: mfaDeviceListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListOpenIDConnectProvidersRequest { - } - export interface ListOpenIDConnectProvidersResponse { - /** - * The list of IAM OIDC provider resource objects defined in the AWS account. - */ - OpenIDConnectProviderList?: OpenIDConnectProviderListType; - } - export interface ListPoliciesRequest { - /** - * The scope to use for filtering the results. To list only AWS managed policies, set Scope to AWS. To list only the customer managed policies in your AWS account, set Scope to Local. This parameter is optional. If it is not included, or if it is set to All, all policies are returned. - */ - Scope?: policyScopeType; - /** - * A flag to filter the results to only the attached policies. When OnlyAttached is true, the returned list contains only the policies that are attached to an IAM user, group, or role. When OnlyAttached is false, or when the parameter is not included, all policies are returned. - */ - OnlyAttached?: booleanType; - /** - * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a slash (/), listing all policies. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - PathPrefix?: policyPathType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListPoliciesResponse { - /** - * A list of policies. - */ - Policies?: policyListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListPolicyVersionsRequest { - /** - * The Amazon Resource Name (ARN) of the IAM policy for which you want the versions. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListPolicyVersionsResponse { - /** - * A list of policy versions. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide. - */ - Versions?: policyDocumentVersionListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListRolePoliciesRequest { - /** - * The name of the role to list policies for. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListRolePoliciesResponse { - /** - * A list of policy names. - */ - PolicyNames: policyNameListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListRolesRequest { - /** - * The path prefix for filtering the results. For example, the prefix /application_abc/component_xyz/ gets all roles whose path starts with /application_abc/component_xyz/. This parameter is optional. If it is not included, it defaults to a slash (/), listing all roles. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - PathPrefix?: pathPrefixType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListRolesResponse { - /** - * A list of roles. - */ - Roles: roleListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListSAMLProvidersRequest { - } - export interface ListSAMLProvidersResponse { - /** - * The list of SAML provider resource objects defined in IAM for this AWS account. - */ - SAMLProviderList?: SAMLProviderListType; - } - export interface ListSSHPublicKeysRequest { - /** - * The name of the IAM user to list SSH public keys for. If none is specified, the UserName field is determined implicitly based on the AWS access key used to sign the request. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: userNameType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListSSHPublicKeysResponse { - /** - * A list of the SSH public keys assigned to IAM user. - */ - SSHPublicKeys?: SSHPublicKeyListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListServerCertificatesRequest { - /** - * The path prefix for filtering the results. For example: /company/servercerts would get all server certificates for which the path starts with /company/servercerts. This parameter is optional. If it is not included, it defaults to a slash (/), listing all server certificates. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - PathPrefix?: pathPrefixType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListServerCertificatesResponse { - /** - * A list of server certificates. - */ - ServerCertificateMetadataList: serverCertificateMetadataListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListServiceSpecificCredentialsRequest { - /** - * The name of the user whose service-specific credentials you want information about. If this value is not specified then the operation assumes the user whose credentials are used to call the operation. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: userNameType; - /** - * Filters the returned results to only those for the specified AWS service. If not specified, then AWS returns service-specific credentials for all services. - */ - ServiceName?: serviceName; - } - export interface ListServiceSpecificCredentialsResponse { - /** - * A list of structures that each contain details about a service-specific credential. - */ - ServiceSpecificCredentials?: ServiceSpecificCredentialsListType; - } - export interface ListSigningCertificatesRequest { - /** - * The name of the IAM user whose signing certificates you want to examine. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: existingUserNameType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListSigningCertificatesResponse { - /** - * A list of the user's signing certificate information. - */ - Certificates: certificateListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListUserPoliciesRequest { - /** - * The name of the user to list policies for. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListUserPoliciesResponse { - /** - * A list of policy names. - */ - PolicyNames: policyNameListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListUsersRequest { - /** - * The path prefix for filtering the results. For example: /division_abc/subdivision_xyz/, which would get all user names whose path starts with /division_abc/subdivision_xyz/. This parameter is optional. If it is not included, it defaults to a slash (/), listing all user names. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - PathPrefix?: pathPrefixType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListUsersResponse { - /** - * A list of users. - */ - Users: userListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface ListVirtualMFADevicesRequest { - /** - * The status (Unassigned or Assigned) of the devices to list. If you do not specify an AssignmentStatus, the action defaults to Any which lists both assigned and unassigned virtual MFA devices. - */ - AssignmentStatus?: assignmentStatusType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - } - export interface ListVirtualMFADevicesResponse { - /** - * The list of virtual MFA devices in the current account that match the AssignmentStatus value that was passed in the request. - */ - VirtualMFADevices: virtualMFADeviceListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface LoginProfile { - /** - * The name of the user, which can be used for signing in to the AWS Management Console. - */ - UserName: userNameType; - /** - * The date when the password for the user was created. - */ - CreateDate: dateType; - /** - * Specifies whether the user is required to set a new password on next sign-in. - */ - PasswordResetRequired?: booleanType; - } - export interface MFADevice { - /** - * The user with whom the MFA device is associated. - */ - UserName: userNameType; - /** - * The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. - */ - SerialNumber: serialNumberType; - /** - * The date when the MFA device was enabled for the user. - */ - EnableDate: dateType; - } - export interface ManagedPolicyDetail { - /** - * The friendly name (not ARN) identifying the policy. - */ - PolicyName?: policyNameType; - /** - * The stable and unique string identifying the policy. For more information about IDs, see IAM Identifiers in the Using IAM guide. - */ - PolicyId?: idType; - Arn?: arnType; - /** - * The path to the policy. For more information about paths, see IAM Identifiers in the Using IAM guide. - */ - Path?: policyPathType; - /** - * The identifier for the version of the policy that is set as the default (operative) version. For more information about policy versions, see Versioning for Managed Policies in the Using IAM guide. - */ - DefaultVersionId?: policyVersionIdType; - /** - * The number of principal entities (users, groups, and roles) that the policy is attached to. - */ - AttachmentCount?: attachmentCountType; - /** - * Specifies whether the policy can be attached to an IAM user, group, or role. - */ - IsAttachable?: booleanType; - /** - * A friendly description of the policy. - */ - Description?: policyDescriptionType; - /** - * The date and time, in ISO 8601 date-time format, when the policy was created. - */ - CreateDate?: dateType; - /** - * The date and time, in ISO 8601 date-time format, when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created. - */ - UpdateDate?: dateType; - /** - * A list containing information about the versions of the policy. - */ - PolicyVersionList?: policyDocumentVersionListType; - } - export type ManagedPolicyDetailListType = ManagedPolicyDetail[]; - export interface OpenIDConnectProviderListEntry { - Arn?: arnType; - } - export type OpenIDConnectProviderListType = OpenIDConnectProviderListEntry[]; - export type OpenIDConnectProviderUrlType = string; - export interface OrganizationsDecisionDetail { - /** - * Specifies whether the simulated action is allowed by the AWS Organizations service control policies that impact the simulated user's account. - */ - AllowedByOrganizations?: booleanType; - } - export interface PasswordPolicy { - /** - * Minimum length to require for IAM user passwords. - */ - MinimumPasswordLength?: minimumPasswordLengthType; - /** - * Specifies whether to require symbols for IAM user passwords. - */ - RequireSymbols?: booleanType; - /** - * Specifies whether to require numbers for IAM user passwords. - */ - RequireNumbers?: booleanType; - /** - * Specifies whether to require uppercase characters for IAM user passwords. - */ - RequireUppercaseCharacters?: booleanType; - /** - * Specifies whether to require lowercase characters for IAM user passwords. - */ - RequireLowercaseCharacters?: booleanType; - /** - * Specifies whether IAM users are allowed to change their own password. - */ - AllowUsersToChangePassword?: booleanType; - /** - * Indicates whether passwords in the account expire. Returns true if MaxPasswordAge is contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present. - */ - ExpirePasswords?: booleanType; - /** - * The number of days that an IAM user password is valid. - */ - MaxPasswordAge?: maxPasswordAgeType; - /** - * Specifies the number of previous passwords that IAM users are prevented from reusing. - */ - PasswordReusePrevention?: passwordReusePreventionType; - /** - * Specifies whether IAM users are prevented from setting a new password after their password has expired. - */ - HardExpiry?: booleanObjectType; - } - export interface Policy { - /** - * The friendly name (not ARN) identifying the policy. - */ - PolicyName?: policyNameType; - /** - * The stable and unique string identifying the policy. For more information about IDs, see IAM Identifiers in the Using IAM guide. - */ - PolicyId?: idType; - Arn?: arnType; - /** - * The path to the policy. For more information about paths, see IAM Identifiers in the Using IAM guide. - */ - Path?: policyPathType; - /** - * The identifier for the version of the policy that is set as the default version. - */ - DefaultVersionId?: policyVersionIdType; - /** - * The number of entities (users, groups, and roles) that the policy is attached to. - */ - AttachmentCount?: attachmentCountType; - /** - * Specifies whether the policy can be attached to an IAM user, group, or role. - */ - IsAttachable?: booleanType; - /** - * A friendly description of the policy. This element is included in the response to the GetPolicy operation. It is not included in the response to the ListPolicies operation. - */ - Description?: policyDescriptionType; - /** - * The date and time, in ISO 8601 date-time format, when the policy was created. - */ - CreateDate?: dateType; - /** - * The date and time, in ISO 8601 date-time format, when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created. - */ - UpdateDate?: dateType; - } - export interface PolicyDetail { - /** - * The name of the policy. - */ - PolicyName?: policyNameType; - /** - * The policy document. - */ - PolicyDocument?: policyDocumentType; - } - export type PolicyEvaluationDecisionType = "allowed"|"explicitDeny"|"implicitDeny"|string; - export interface PolicyGroup { - /** - * The name (friendly name, not ARN) identifying the group. - */ - GroupName?: groupNameType; - /** - * The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide. - */ - GroupId?: idType; - } - export type PolicyGroupListType = PolicyGroup[]; - export type PolicyIdentifierType = string; - export interface PolicyRole { - /** - * The name (friendly name, not ARN) identifying the role. - */ - RoleName?: roleNameType; - /** - * The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the IAM User Guide. - */ - RoleId?: idType; - } - export type PolicyRoleListType = PolicyRole[]; - export type PolicySourceType = "user"|"group"|"role"|"aws-managed"|"user-managed"|"resource"|"none"|string; - export interface PolicyUser { - /** - * The name (friendly name, not ARN) identifying the user. - */ - UserName?: userNameType; - /** - * The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide. - */ - UserId?: idType; - } - export type PolicyUserListType = PolicyUser[]; - export interface PolicyVersion { - /** - * The policy document. The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations. - */ - Document?: policyDocumentType; - /** - * The identifier for the policy version. Policy version identifiers always begin with v (always lowercase). When a policy is created, the first policy version is v1. - */ - VersionId?: policyVersionIdType; - /** - * Specifies whether the policy version is set as the policy's default version. - */ - IsDefaultVersion?: booleanType; - /** - * The date and time, in ISO 8601 date-time format, when the policy version was created. - */ - CreateDate?: dateType; - } - export interface Position { - /** - * The line containing the specified position in the document. - */ - Line?: LineNumber; - /** - * The column in the line containing the specified position in the document. - */ - Column?: ColumnNumber; - } - export interface PutGroupPolicyRequest { - /** - * The name of the group to associate the policy with. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * The name of the policy document. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - PolicyName: policyNameType; - /** - * The policy document. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PolicyDocument: policyDocumentType; - } - export interface PutRolePolicyRequest { - /** - * The name of the role to associate the policy with. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - /** - * The name of the policy document. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - PolicyName: policyNameType; - /** - * The policy document. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PolicyDocument: policyDocumentType; - } - export interface PutUserPolicyRequest { - /** - * The name of the user to associate the policy with. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - /** - * The name of the policy document. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - PolicyName: policyNameType; - /** - * The policy document. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PolicyDocument: policyDocumentType; - } - export interface RemoveClientIDFromOpenIDConnectProviderRequest { - /** - * The Amazon Resource Name (ARN) of the IAM OIDC provider resource to remove the client ID from. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders action. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - OpenIDConnectProviderArn: arnType; - /** - * The client ID (also known as audience) to remove from the IAM OIDC provider resource. For more information about client IDs, see CreateOpenIDConnectProvider. - */ - ClientID: clientIDType; - } - export interface RemoveRoleFromInstanceProfileRequest { - /** - * The name of the instance profile to update. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - InstanceProfileName: instanceProfileNameType; - /** - * The name of the role to remove. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - } - export interface RemoveUserFromGroupRequest { - /** - * The name of the group to update. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * The name of the user to remove. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - } - export type ReportContentType = Buffer|Uint8Array|Blob|string; - export type ReportFormatType = "text/csv"|string; - export type ReportStateDescriptionType = string; - export type ReportStateType = "STARTED"|"INPROGRESS"|"COMPLETE"|string; - export interface ResetServiceSpecificCredentialRequest { - /** - * The name of the IAM user associated with the service-specific credential. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: userNameType; - /** - * The unique identifier of the service-specific credential. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit. - */ - ServiceSpecificCredentialId: serviceSpecificCredentialId; - } - export interface ResetServiceSpecificCredentialResponse { - /** - * A structure with details about the updated service-specific credential, including the new password. This is the only time that you can access the password. You cannot recover the password later, but you can reset it again. - */ - ServiceSpecificCredential?: ServiceSpecificCredential; - } - export type ResourceHandlingOptionType = string; - export type ResourceNameListType = ResourceNameType[]; - export type ResourceNameType = string; - export interface ResourceSpecificResult { - /** - * The name of the simulated resource, in Amazon Resource Name (ARN) format. - */ - EvalResourceName: ResourceNameType; - /** - * The result of the simulation of the simulated API action on the resource specified in EvalResourceName. - */ - EvalResourceDecision: PolicyEvaluationDecisionType; - /** - * A list of the statements in the input policies that determine the result for this part of the simulation. Remember that even if multiple statements allow the action on the resource, if any statement denies that action, then the explicit deny overrides any allow, and the deny statement is the only entry included in the result. - */ - MatchedStatements?: StatementListType; - /** - * A list of context keys that are required by the included input policies but that were not provided by one of the input parameters. This list is used when a list of ARNs is included in the ResourceArns parameter instead of "*". If you do not specify individual resources, by setting ResourceArns to "*" or by not including the ResourceArns parameter, then any missing context values are instead included under the EvaluationResults section. To discover the context keys used by a set of policies, you can call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy. - */ - MissingContextValues?: ContextKeyNamesResultListType; - /** - * Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access. - */ - EvalDecisionDetails?: EvalDecisionDetailsType; - } - export type ResourceSpecificResultListType = ResourceSpecificResult[]; - export interface ResyncMFADeviceRequest { - /** - * The name of the user whose MFA device you want to resynchronize. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - /** - * Serial number that uniquely identifies the MFA device. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - SerialNumber: serialNumberType; - /** - * An authentication code emitted by the device. The format for this parameter is a sequence of six digits. - */ - AuthenticationCode1: authenticationCodeType; - /** - * A subsequent authentication code emitted by the device. The format for this parameter is a sequence of six digits. - */ - AuthenticationCode2: authenticationCodeType; - } - export interface Role { - /** - * The path to the role. For more information about paths, see IAM Identifiers in the Using IAM guide. - */ - Path: pathType; - /** - * The friendly name that identifies the role. - */ - RoleName: roleNameType; - /** - * The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the Using IAM guide. - */ - RoleId: idType; - /** - * The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide. - */ - Arn: arnType; - /** - * The date and time, in ISO 8601 date-time format, when the role was created. - */ - CreateDate: dateType; - /** - * The policy that grants an entity permission to assume the role. - */ - AssumeRolePolicyDocument?: policyDocumentType; - /** - * A description of the role that you provide. - */ - Description?: roleDescriptionType; - } - export interface RoleDetail { - /** - * The path to the role. For more information about paths, see IAM Identifiers in the Using IAM guide. - */ - Path?: pathType; - /** - * The friendly name that identifies the role. - */ - RoleName?: roleNameType; - /** - * The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the Using IAM guide. - */ - RoleId?: idType; - Arn?: arnType; - /** - * The date and time, in ISO 8601 date-time format, when the role was created. - */ - CreateDate?: dateType; - /** - * The trust policy that grants permission to assume the role. - */ - AssumeRolePolicyDocument?: policyDocumentType; - /** - * A list of instance profiles that contain this role. - */ - InstanceProfileList?: instanceProfileListType; - /** - * A list of inline policies embedded in the role. These policies are the role's access (permissions) policies. - */ - RolePolicyList?: policyDetailListType; - /** - * A list of managed policies attached to the role. These policies are the role's access (permissions) policies. - */ - AttachedManagedPolicies?: attachedPoliciesListType; - } - export type SAMLMetadataDocumentType = string; - export interface SAMLProviderListEntry { - /** - * The Amazon Resource Name (ARN) of the SAML provider. - */ - Arn?: arnType; - /** - * The expiration date and time for the SAML provider. - */ - ValidUntil?: dateType; - /** - * The date and time when the SAML provider was created. - */ - CreateDate?: dateType; - } - export type SAMLProviderListType = SAMLProviderListEntry[]; - export type SAMLProviderNameType = string; - export interface SSHPublicKey { - /** - * The name of the IAM user associated with the SSH public key. - */ - UserName: userNameType; - /** - * The unique identifier for the SSH public key. - */ - SSHPublicKeyId: publicKeyIdType; - /** - * The MD5 message digest of the SSH public key. - */ - Fingerprint: publicKeyFingerprintType; - /** - * The SSH public key. - */ - SSHPublicKeyBody: publicKeyMaterialType; - /** - * The status of the SSH public key. Active means the key can be used for authentication with an AWS CodeCommit repository. Inactive means the key cannot be used. - */ - Status: statusType; - /** - * The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded. - */ - UploadDate?: dateType; - } - export type SSHPublicKeyListType = SSHPublicKeyMetadata[]; - export interface SSHPublicKeyMetadata { - /** - * The name of the IAM user associated with the SSH public key. - */ - UserName: userNameType; - /** - * The unique identifier for the SSH public key. - */ - SSHPublicKeyId: publicKeyIdType; - /** - * The status of the SSH public key. Active means the key can be used for authentication with an AWS CodeCommit repository. Inactive means the key cannot be used. - */ - Status: statusType; - /** - * The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded. - */ - UploadDate: dateType; - } - export interface ServerCertificate { - /** - * The meta information of the server certificate, such as its name, path, ID, and ARN. - */ - ServerCertificateMetadata: ServerCertificateMetadata; - /** - * The contents of the public key certificate. - */ - CertificateBody: certificateBodyType; - /** - * The contents of the public key certificate chain. - */ - CertificateChain?: certificateChainType; - } - export interface ServerCertificateMetadata { - /** - * The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide. - */ - Path: pathType; - /** - * The name that identifies the server certificate. - */ - ServerCertificateName: serverCertificateNameType; - /** - * The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide. - */ - ServerCertificateId: idType; - /** - * The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide. - */ - Arn: arnType; - /** - * The date when the server certificate was uploaded. - */ - UploadDate?: dateType; - /** - * The date on which the certificate is set to expire. - */ - Expiration?: dateType; - } - export interface ServiceSpecificCredential { - /** - * The date and time, in ISO 8601 date-time format, when the service-specific credential were created. - */ - CreateDate: dateType; - /** - * The name of the service associated with the service-specific credential. - */ - ServiceName: serviceName; - /** - * The generated user name for the service-specific credential. This value is generated by combining the IAM user's name combined with the ID number of the AWS account, as in jane-at-123456789012, for example. This value cannot be configured by the user. - */ - ServiceUserName: serviceUserName; - /** - * The generated password for the service-specific credential. - */ - ServicePassword: servicePassword; - /** - * The unique identifier for the service-specific credential. - */ - ServiceSpecificCredentialId: serviceSpecificCredentialId; - /** - * The name of the IAM user associated with the service-specific credential. - */ - UserName: userNameType; - /** - * The status of the service-specific credential. Active means the key is valid for API calls, while Inactive means it is not. - */ - Status: statusType; - } - export interface ServiceSpecificCredentialMetadata { - /** - * The name of the IAM user associated with the service-specific credential. - */ - UserName: userNameType; - /** - * The status of the service-specific credential. Active means the key is valid for API calls, while Inactive means it is not. - */ - Status: statusType; - /** - * The generated user name for the service-specific credential. - */ - ServiceUserName: serviceUserName; - /** - * The date and time, in ISO 8601 date-time format, when the service-specific credential were created. - */ - CreateDate: dateType; - /** - * The unique identifier for the service-specific credential. - */ - ServiceSpecificCredentialId: serviceSpecificCredentialId; - /** - * The name of the service associated with the service-specific credential. - */ - ServiceName: serviceName; - } - export type ServiceSpecificCredentialsListType = ServiceSpecificCredentialMetadata[]; - export interface SetDefaultPolicyVersionRequest { - /** - * The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicyArn: arnType; - /** - * The version of the policy to set as the default (operative) version. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide. - */ - VersionId: policyVersionIdType; - } - export interface SigningCertificate { - /** - * The name of the user the signing certificate is associated with. - */ - UserName: userNameType; - /** - * The ID for the signing certificate. - */ - CertificateId: certificateIdType; - /** - * The contents of the signing certificate. - */ - CertificateBody: certificateBodyType; - /** - * The status of the signing certificate. Active means the key is valid for API calls, while Inactive means it is not. - */ - Status: statusType; - /** - * The date when the signing certificate was uploaded. - */ - UploadDate?: dateType; - } - export interface SimulateCustomPolicyRequest { - /** - * A list of policy documents to include in the simulation. Each document is specified as a string containing the complete, valid JSON text of an IAM policy. Do not include any resource-based policies in this parameter. Any resource-based policy must be submitted with the ResourcePolicy parameter. The policies cannot be "scope-down" policies, such as you could include in a call to GetFederationToken or one of the AssumeRole APIs to restrict what a user can do while using the temporary credentials. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PolicyInputList: SimulationPolicyListType; - /** - * A list of names of API actions to evaluate in the simulation. Each action is evaluated against each resource. Each action must include the service identifier, such as iam:CreateUser. - */ - ActionNames: ActionNameListType; - /** - * A list of ARNs of AWS resources to include in the simulation. If this parameter is not provided then the value defaults to * (all resources). Each API in the ActionNames parameter is evaluated for each resource in this list. The simulation determines the access result (allowed or denied) of each combination and reports it in the response. The simulation does not automatically retrieve policies for the specified resources. If you want to include a resource policy in the simulation, then you must include the policy as a string in the ResourcePolicy parameter. If you include a ResourcePolicy, then it must be applicable to all of the resources included in the simulation or you receive an invalid input error. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - ResourceArns?: ResourceNameListType; - /** - * A resource-based policy to include in the simulation provided as a string. Each resource in the simulation is treated as if it had this policy attached. You can include only one resource-based policy in a simulation. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - ResourcePolicy?: policyDocumentType; - /** - * An AWS account ID that specifies the owner of any simulated resource that does not identify its owner in the resource ARN, such as an S3 bucket or object. If ResourceOwner is specified, it is also used as the account owner of any ResourcePolicy included in the simulation. If the ResourceOwner parameter is not specified, then the owner of the resources and the resource policy defaults to the account of the identity provided in CallerArn. This parameter is required only if you specify a resource-based policy and account that owns the resource is different from the account that owns the simulated calling user CallerArn. - */ - ResourceOwner?: ResourceNameType; - /** - * The ARN of the IAM user that you want to use as the simulated caller of the APIs. CallerArn is required if you include a ResourcePolicy so that the policy's Principal element has a value to use in evaluating the policy. You can specify only the ARN of an IAM user. You cannot specify the ARN of an assumed role, federated user, or a service principal. - */ - CallerArn?: ResourceNameType; - /** - * A list of context keys and corresponding values for the simulation to use. Whenever a context key is evaluated in one of the simulated IAM permission policies, the corresponding value is supplied. - */ - ContextEntries?: ContextEntryListType; - /** - * Specifies the type of simulation to run. Different APIs that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation. Each of the EC2 scenarios requires that you specify instance, image, and security-group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the EC2 scenario includes VPC, then you must supply the network-interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the EC2 scenario options, see Supported Platforms in the AWS EC2 User Guide. EC2-Classic-InstanceStore instance, image, security-group EC2-Classic-EBS instance, image, security-group, volume EC2-VPC-InstanceStore instance, image, security-group, network-interface EC2-VPC-InstanceStore-Subnet instance, image, security-group, network-interface, subnet EC2-VPC-EBS instance, image, security-group, network-interface, volume EC2-VPC-EBS-Subnet instance, image, security-group, network-interface, subnet, volume - */ - ResourceHandlingOption?: ResourceHandlingOptionType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - } - export interface SimulatePolicyResponse { - /** - * The results of the simulation. - */ - EvaluationResults?: EvaluationResultsListType; - /** - * A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results. - */ - IsTruncated?: booleanType; - /** - * When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. - */ - Marker?: markerType; - } - export interface SimulatePrincipalPolicyRequest { - /** - * The Amazon Resource Name (ARN) of a user, group, or role whose policies you want to include in the simulation. If you specify a user, group, or role, the simulation includes all policies that are associated with that entity. If you specify a user, the simulation also includes all policies that are attached to any groups the user belongs to. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - PolicySourceArn: arnType; - /** - * An optional list of additional policy documents to include in the simulation. Each document is specified as a string containing the complete, valid JSON text of an IAM policy. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PolicyInputList?: SimulationPolicyListType; - /** - * A list of names of API actions to evaluate in the simulation. Each action is evaluated for each resource. Each action must include the service identifier, such as iam:CreateUser. - */ - ActionNames: ActionNameListType; - /** - * A list of ARNs of AWS resources to include in the simulation. If this parameter is not provided then the value defaults to * (all resources). Each API in the ActionNames parameter is evaluated for each resource in this list. The simulation determines the access result (allowed or denied) of each combination and reports it in the response. The simulation does not automatically retrieve policies for the specified resources. If you want to include a resource policy in the simulation, then you must include the policy as a string in the ResourcePolicy parameter. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - ResourceArns?: ResourceNameListType; - /** - * A resource-based policy to include in the simulation provided as a string. Each resource in the simulation is treated as if it had this policy attached. You can include only one resource-based policy in a simulation. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - ResourcePolicy?: policyDocumentType; - /** - * An AWS account ID that specifies the owner of any simulated resource that does not identify its owner in the resource ARN, such as an S3 bucket or object. If ResourceOwner is specified, it is also used as the account owner of any ResourcePolicy included in the simulation. If the ResourceOwner parameter is not specified, then the owner of the resources and the resource policy defaults to the account of the identity provided in CallerArn. This parameter is required only if you specify a resource-based policy and account that owns the resource is different from the account that owns the simulated calling user CallerArn. - */ - ResourceOwner?: ResourceNameType; - /** - * The ARN of the IAM user that you want to specify as the simulated caller of the APIs. If you do not specify a CallerArn, it defaults to the ARN of the user that you specify in PolicySourceArn, if you specified a user. If you include both a PolicySourceArn (for example, arn:aws:iam::123456789012:user/David) and a CallerArn (for example, arn:aws:iam::123456789012:user/Bob), the result is that you simulate calling the APIs as Bob, as if Bob had David's policies. You can specify only the ARN of an IAM user. You cannot specify the ARN of an assumed role, federated user, or a service principal. CallerArn is required if you include a ResourcePolicy and the PolicySourceArn is not the ARN for an IAM user. This is required so that the resource-based policy's Principal element has a value to use in evaluating the policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - CallerArn?: ResourceNameType; - /** - * A list of context keys and corresponding values for the simulation to use. Whenever a context key is evaluated in one of the simulated IAM permission policies, the corresponding value is supplied. - */ - ContextEntries?: ContextEntryListType; - /** - * Specifies the type of simulation to run. Different APIs that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation. Each of the EC2 scenarios requires that you specify instance, image, and security-group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the EC2 scenario includes VPC, then you must supply the network-interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the EC2 scenario options, see Supported Platforms in the AWS EC2 User Guide. EC2-Classic-InstanceStore instance, image, security-group EC2-Classic-EBS instance, image, security-group, volume EC2-VPC-InstanceStore instance, image, security-group, network-interface EC2-VPC-InstanceStore-Subnet instance, image, security-group, network-interface, subnet EC2-VPC-EBS instance, image, security-group, network-interface, volume EC2-VPC-EBS-Subnet instance, image, security-group, network-interface, subnet, volume - */ - ResourceHandlingOption?: ResourceHandlingOptionType; - /** - * (Optional) Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true and Marker contains a value to include in the subsequent call that tells the service where to continue from. - */ - MaxItems?: maxItemsType; - /** - * Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start. - */ - Marker?: markerType; - } - export type SimulationPolicyListType = policyDocumentType[]; - export interface Statement { - /** - * The identifier of the policy that was provided as an input. - */ - SourcePolicyId?: PolicyIdentifierType; - /** - * The type of the policy. - */ - SourcePolicyType?: PolicySourceType; - /** - * The row and column of the beginning of the Statement in an IAM policy. - */ - StartPosition?: Position; - /** - * The row and column of the end of a Statement in an IAM policy. - */ - EndPosition?: Position; - } - export type StatementListType = Statement[]; - export interface UpdateAccessKeyRequest { - /** - * The name of the user whose key you want to update. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: existingUserNameType; - /** - * The access key ID of the secret access key you want to update. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit. - */ - AccessKeyId: accessKeyIdType; - /** - * The status you want to assign to the secret access key. Active means the key can be used for API calls to AWS, while Inactive means the key cannot be used. - */ - Status: statusType; - } - export interface UpdateAccountPasswordPolicyRequest { - /** - * The minimum number of characters allowed in an IAM user password. Default value: 6 - */ - MinimumPasswordLength?: minimumPasswordLengthType; - /** - * Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters: ! @ # $ % ^ &amp; * ( ) _ + - = [ ] { } | ' Default value: false - */ - RequireSymbols?: booleanType; - /** - * Specifies whether IAM user passwords must contain at least one numeric character (0 to 9). Default value: false - */ - RequireNumbers?: booleanType; - /** - * Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). Default value: false - */ - RequireUppercaseCharacters?: booleanType; - /** - * Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). Default value: false - */ - RequireLowercaseCharacters?: booleanType; - /** - * Allows all IAM users in your account to use the AWS Management Console to change their own passwords. For more information, see Letting IAM Users Change Their Own Passwords in the IAM User Guide. Default value: false - */ - AllowUsersToChangePassword?: booleanType; - /** - * The number of days that an IAM user password is valid. The default value of 0 means IAM user passwords never expire. Default value: 0 - */ - MaxPasswordAge?: maxPasswordAgeType; - /** - * Specifies the number of previous passwords that IAM users are prevented from reusing. The default value of 0 means IAM users are not prevented from reusing previous passwords. Default value: 0 - */ - PasswordReusePrevention?: passwordReusePreventionType; - /** - * Prevents IAM users from setting a new password after their password has expired. Default value: false - */ - HardExpiry?: booleanObjectType; - } - export interface UpdateAssumeRolePolicyRequest { - /** - * The name of the role to update with the new policy. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- - */ - RoleName: roleNameType; - /** - * The policy that grants an entity permission to assume the role. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PolicyDocument: policyDocumentType; - } - export interface UpdateGroupRequest { - /** - * Name of the IAM group to update. If you're changing the name of the group, this is the original name. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - GroupName: groupNameType; - /** - * New path for the IAM group. Only include this if changing the group's path. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - NewPath?: pathType; - /** - * New name for the IAM group. Only include this if changing the group's name. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - NewGroupName?: groupNameType; - } - export interface UpdateLoginProfileRequest { - /** - * The name of the user whose password you want to update. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - /** - * The new password for the specified IAM user. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see UpdateAccountPasswordPolicy. - */ - Password?: passwordType; - /** - * Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in. - */ - PasswordResetRequired?: booleanObjectType; - } - export interface UpdateOpenIDConnectProviderThumbprintRequest { - /** - * The Amazon Resource Name (ARN) of the IAM OIDC provider resource object for which you want to update the thumbprint. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders action. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - OpenIDConnectProviderArn: arnType; - /** - * A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see CreateOpenIDConnectProvider. - */ - ThumbprintList: thumbprintListType; - } - export interface UpdateRoleDescriptionRequest { - /** - * The name of the role that you want to modify. - */ - RoleName: roleNameType; - /** - * The new description that you want to apply to the specified role. - */ - Description: roleDescriptionType; - } - export interface UpdateRoleDescriptionResponse { - /** - * A structure that contains details about the modified role. - */ - Role?: Role; - } - export interface UpdateSAMLProviderRequest { - /** - * An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. - */ - SAMLMetadataDocument: SAMLMetadataDocumentType; - /** - * The Amazon Resource Name (ARN) of the SAML provider to update. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - SAMLProviderArn: arnType; - } - export interface UpdateSAMLProviderResponse { - /** - * The Amazon Resource Name (ARN) of the SAML provider that was updated. - */ - SAMLProviderArn?: arnType; - } - export interface UpdateSSHPublicKeyRequest { - /** - * The name of the IAM user associated with the SSH public key. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - /** - * The unique identifier for the SSH public key. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit. - */ - SSHPublicKeyId: publicKeyIdType; - /** - * The status to assign to the SSH public key. Active means the key can be used for authentication with an AWS CodeCommit repository. Inactive means the key cannot be used. - */ - Status: statusType; - } - export interface UpdateServerCertificateRequest { - /** - * The name of the server certificate that you want to update. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - ServerCertificateName: serverCertificateNameType; - /** - * The new path for the server certificate. Include this only if you are updating the server certificate's path. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - NewPath?: pathType; - /** - * The new name for the server certificate. Include this only if you are updating the server certificate's name. The name of the certificate cannot contain any spaces. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - NewServerCertificateName?: serverCertificateNameType; - } - export interface UpdateServiceSpecificCredentialRequest { - /** - * The name of the IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: userNameType; - /** - * The unique identifier of the service-specific credential. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit. - */ - ServiceSpecificCredentialId: serviceSpecificCredentialId; - /** - * The status to be assigned to the service-specific credential. - */ - Status: statusType; - } - export interface UpdateSigningCertificateRequest { - /** - * The name of the IAM user the signing certificate belongs to. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: existingUserNameType; - /** - * The ID of the signing certificate you want to update. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit. - */ - CertificateId: certificateIdType; - /** - * The status you want to assign to the certificate. Active means the certificate can be used for API calls to AWS, while Inactive means the certificate cannot be used. - */ - Status: statusType; - } - export interface UpdateUserRequest { - /** - * Name of the user to update. If you're changing the name of the user, this is the original user name. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: existingUserNameType; - /** - * New path for the IAM user. Include this parameter only if you're changing the user's path. This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. - */ - NewPath?: pathType; - /** - * New name for the user. Include this parameter only if you're changing the user's name. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - NewUserName?: userNameType; - } - export interface UploadSSHPublicKeyRequest { - /** - * The name of the IAM user to associate the SSH public key with. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName: userNameType; - /** - * The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - SSHPublicKeyBody: publicKeyMaterialType; - } - export interface UploadSSHPublicKeyResponse { - /** - * Contains information about the SSH public key. - */ - SSHPublicKey?: SSHPublicKey; - } - export interface UploadServerCertificateRequest { - /** - * The path for the server certificate. For more information about paths, see IAM Identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This paramater allows (per its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. If you are uploading a server certificate specifically for use with Amazon CloudFront distributions, you must specify a path using the --path option. The path must begin with /cloudfront and must include a trailing slash (for example, /cloudfront/test/). - */ - Path?: pathType; - /** - * The name for the server certificate. Do not include the path in this value. The name of the certificate cannot contain any spaces. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - ServerCertificateName: serverCertificateNameType; - /** - * The contents of the public key certificate in PEM-encoded format. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - CertificateBody: certificateBodyType; - /** - * The contents of the private key in PEM-encoded format. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - PrivateKey: privateKeyType; - /** - * The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - CertificateChain?: certificateChainType; - } - export interface UploadServerCertificateResponse { - /** - * The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key. - */ - ServerCertificateMetadata?: ServerCertificateMetadata; - } - export interface UploadSigningCertificateRequest { - /** - * The name of the user the signing certificate is for. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@- - */ - UserName?: existingUserNameType; - /** - * The contents of the signing certificate. The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). - */ - CertificateBody: certificateBodyType; - } - export interface UploadSigningCertificateResponse { - /** - * Information about the certificate. - */ - Certificate: SigningCertificate; - } - export interface User { - /** - * The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide. - */ - Path: pathType; - /** - * The friendly name identifying the user. - */ - UserName: userNameType; - /** - * The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide. - */ - UserId: idType; - /** - * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the Using IAM guide. - */ - Arn: arnType; - /** - * The date and time, in ISO 8601 date-time format, when the user was created. - */ - CreateDate: dateType; - /** - * The date and time, in ISO 8601 date-time format, when the user's password was last used to sign in to an AWS website. For a list of AWS websites that capture a user's last sign-in time, see the Credential Reports topic in the Using IAM guide. If a password is used more than once in a five-minute span, only the first use is returned in this field. This field is null (not present) when: The user does not have a password The password exists but has never been used (at least not since IAM started tracking this information on October 20th, 2014 there is no sign-in data associated with the user This value is returned only in the GetUser and ListUsers actions. - */ - PasswordLastUsed?: dateType; - } - export interface UserDetail { - /** - * The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide. - */ - Path?: pathType; - /** - * The friendly name identifying the user. - */ - UserName?: userNameType; - /** - * The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide. - */ - UserId?: idType; - Arn?: arnType; - /** - * The date and time, in ISO 8601 date-time format, when the user was created. - */ - CreateDate?: dateType; - /** - * A list of the inline policies embedded in the user. - */ - UserPolicyList?: policyDetailListType; - /** - * A list of IAM groups that the user is in. - */ - GroupList?: groupNameListType; - /** - * A list of the managed policies attached to the user. - */ - AttachedManagedPolicies?: attachedPoliciesListType; - } - export interface VirtualMFADevice { - /** - * The serial number associated with VirtualMFADevice. - */ - SerialNumber: serialNumberType; - /** - * The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded. - */ - Base32StringSeed?: BootstrapDatum; - /** - * A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in Base32 format. The Base32String value is Base64-encoded. - */ - QRCodePNG?: BootstrapDatum; - /** - * The IAM user associated with this virtual MFA device. - */ - User?: User; - /** - * The date and time on which the virtual MFA device was enabled. - */ - EnableDate?: dateType; - } - export type accessKeyIdType = string; - export type accessKeyMetadataListType = AccessKeyMetadata[]; - export type accessKeySecretType = string; - export type accountAliasListType = accountAliasType[]; - export type accountAliasType = string; - export type arnType = string; - export type assignmentStatusType = "Assigned"|"Unassigned"|"Any"|string; - export type attachedPoliciesListType = AttachedPolicy[]; - export type attachmentCountType = number; - export type authenticationCodeType = string; - export type booleanObjectType = boolean; - export type booleanType = boolean; - export type certificateBodyType = string; - export type certificateChainType = string; - export type certificateIdType = string; - export type certificateListType = SigningCertificate[]; - export type clientIDListType = clientIDType[]; - export type clientIDType = string; - export type credentialReportExpiredExceptionMessage = string; - export type credentialReportNotPresentExceptionMessage = string; - export type credentialReportNotReadyExceptionMessage = string; - export type customSuffixType = string; - export type dateType = Date; - export type deleteConflictMessage = string; - export type duplicateCertificateMessage = string; - export type duplicateSSHPublicKeyMessage = string; - export type encodingType = "SSH"|"PEM"|string; - export type entityAlreadyExistsMessage = string; - export type entityListType = EntityType[]; - export type entityTemporarilyUnmodifiableMessage = string; - export type existingUserNameType = string; - export type groupDetailListType = GroupDetail[]; - export type groupListType = Group[]; - export type groupNameListType = groupNameType[]; - export type groupNameType = string; - export type idType = string; - export type instanceProfileListType = InstanceProfile[]; - export type instanceProfileNameType = string; - export type invalidAuthenticationCodeMessage = string; - export type invalidCertificateMessage = string; - export type invalidInputMessage = string; - export type invalidPublicKeyMessage = string; - export type invalidUserTypeMessage = string; - export type keyPairMismatchMessage = string; - export type limitExceededMessage = string; - export type malformedCertificateMessage = string; - export type malformedPolicyDocumentMessage = string; - export type markerType = string; - export type maxItemsType = number; - export type maxPasswordAgeType = number; - export type mfaDeviceListType = MFADevice[]; - export type minimumPasswordLengthType = number; - export type noSuchEntityMessage = string; - export type passwordPolicyViolationMessage = string; - export type passwordReusePreventionType = number; - export type passwordType = string; - export type pathPrefixType = string; - export type pathType = string; - export type policyDescriptionType = string; - export type policyDetailListType = PolicyDetail[]; - export type policyDocumentType = string; - export type policyDocumentVersionListType = PolicyVersion[]; - export type policyEvaluationErrorMessage = string; - export type policyListType = Policy[]; - export type policyNameListType = policyNameType[]; - export type policyNameType = string; - export type policyPathType = string; - export type policyScopeType = "All"|"AWS"|"Local"|string; - export type policyVersionIdType = string; - export type privateKeyType = string; - export type publicKeyFingerprintType = string; - export type publicKeyIdType = string; - export type publicKeyMaterialType = string; - export type roleDescriptionType = string; - export type roleDetailListType = RoleDetail[]; - export type roleListType = Role[]; - export type roleNameType = string; - export type serialNumberType = string; - export type serverCertificateMetadataListType = ServerCertificateMetadata[]; - export type serverCertificateNameType = string; - export type serviceFailureExceptionMessage = string; - export type serviceName = string; - export type serviceNotSupportedMessage = string; - export type servicePassword = string; - export type serviceSpecificCredentialId = string; - export type serviceUserName = string; - export type statusType = "Active"|"Inactive"|string; - export type stringType = string; - export type summaryKeyType = "Users"|"UsersQuota"|"Groups"|"GroupsQuota"|"ServerCertificates"|"ServerCertificatesQuota"|"UserPolicySizeQuota"|"GroupPolicySizeQuota"|"GroupsPerUserQuota"|"SigningCertificatesPerUserQuota"|"AccessKeysPerUserQuota"|"MFADevices"|"MFADevicesInUse"|"AccountMFAEnabled"|"AccountAccessKeysPresent"|"AccountSigningCertificatesPresent"|"AttachedPoliciesPerGroupQuota"|"AttachedPoliciesPerRoleQuota"|"AttachedPoliciesPerUserQuota"|"Policies"|"PoliciesQuota"|"PolicySizeQuota"|"PolicyVersionsInUse"|"PolicyVersionsInUseQuota"|"VersionsPerPolicyQuota"|string; - export type summaryMapType = {[key: string]: summaryValueType}; - export type summaryValueType = number; - export type thumbprintListType = thumbprintType[]; - export type thumbprintType = string; - export type unmodifiableEntityMessage = string; - export type unrecognizedPublicKeyEncodingMessage = string; - export type userDetailListType = UserDetail[]; - export type userListType = User[]; - export type userNameType = string; - export type virtualMFADeviceListType = VirtualMFADevice[]; - export type virtualMFADeviceName = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2010-05-08"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the IAM client. - */ - export import Types = IAM; -} -export = IAM; diff --git a/src/node_modules/aws-sdk/clients/iam.js b/src/node_modules/aws-sdk/clients/iam.js deleted file mode 100644 index d5614ca..0000000 --- a/src/node_modules/aws-sdk/clients/iam.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['iam'] = {}; -AWS.IAM = Service.defineService('iam', ['2010-05-08']); -Object.defineProperty(apiLoader.services['iam'], '2010-05-08', { - get: function get() { - var model = require('../apis/iam-2010-05-08.min.json'); - model.paginators = require('../apis/iam-2010-05-08.paginators.json').pagination; - model.waiters = require('../apis/iam-2010-05-08.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IAM; diff --git a/src/node_modules/aws-sdk/clients/importexport.d.ts b/src/node_modules/aws-sdk/clients/importexport.d.ts deleted file mode 100644 index cdbd641..0000000 --- a/src/node_modules/aws-sdk/clients/importexport.d.ts +++ /dev/null @@ -1,215 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ImportExport extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ImportExport.Types.ClientConfiguration) - config: Config & ImportExport.Types.ClientConfiguration; - /** - * This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete. - */ - cancelJob(params: ImportExport.Types.CancelJobInput, callback?: (err: AWSError, data: ImportExport.Types.CancelJobOutput) => void): Request; - /** - * This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete. - */ - cancelJob(callback?: (err: AWSError, data: ImportExport.Types.CancelJobOutput) => void): Request; - /** - * This operation initiates the process of scheduling an upload or download of your data. You include in the request a manifest that describes the data transfer specifics. The response to the request includes a job ID, which you can use in other operations, a signature that you use to identify your storage device, and the address where you should ship your storage device. - */ - createJob(params: ImportExport.Types.CreateJobInput, callback?: (err: AWSError, data: ImportExport.Types.CreateJobOutput) => void): Request; - /** - * This operation initiates the process of scheduling an upload or download of your data. You include in the request a manifest that describes the data transfer specifics. The response to the request includes a job ID, which you can use in other operations, a signature that you use to identify your storage device, and the address where you should ship your storage device. - */ - createJob(callback?: (err: AWSError, data: ImportExport.Types.CreateJobOutput) => void): Request; - /** - * This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing. - */ - getShippingLabel(params: ImportExport.Types.GetShippingLabelInput, callback?: (err: AWSError, data: ImportExport.Types.GetShippingLabelOutput) => void): Request; - /** - * This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing. - */ - getShippingLabel(callback?: (err: AWSError, data: ImportExport.Types.GetShippingLabelOutput) => void): Request; - /** - * This operation returns information about a job, including where the job is in the processing pipeline, the status of the results, and the signature value associated with the job. You can only return information about jobs you own. - */ - getStatus(params: ImportExport.Types.GetStatusInput, callback?: (err: AWSError, data: ImportExport.Types.GetStatusOutput) => void): Request; - /** - * This operation returns information about a job, including where the job is in the processing pipeline, the status of the results, and the signature value associated with the job. You can only return information about jobs you own. - */ - getStatus(callback?: (err: AWSError, data: ImportExport.Types.GetStatusOutput) => void): Request; - /** - * This operation returns the jobs associated with the requester. AWS Import/Export lists the jobs in reverse chronological order based on the date of creation. For example if Job Test1 was created 2009Dec30 and Test2 was created 2010Feb05, the ListJobs operation would return Test2 followed by Test1. - */ - listJobs(params: ImportExport.Types.ListJobsInput, callback?: (err: AWSError, data: ImportExport.Types.ListJobsOutput) => void): Request; - /** - * This operation returns the jobs associated with the requester. AWS Import/Export lists the jobs in reverse chronological order based on the date of creation. For example if Job Test1 was created 2009Dec30 and Test2 was created 2010Feb05, the ListJobs operation would return Test2 followed by Test1. - */ - listJobs(callback?: (err: AWSError, data: ImportExport.Types.ListJobsOutput) => void): Request; - /** - * You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. The manifest file attached to this request replaces the original manifest file. You can only use the operation after a CreateJob request but before the data transfer starts and you can only use it on jobs you own. - */ - updateJob(params: ImportExport.Types.UpdateJobInput, callback?: (err: AWSError, data: ImportExport.Types.UpdateJobOutput) => void): Request; - /** - * You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. The manifest file attached to this request replaces the original manifest file. You can only use the operation after a CreateJob request but before the data transfer starts and you can only use it on jobs you own. - */ - updateJob(callback?: (err: AWSError, data: ImportExport.Types.UpdateJobOutput) => void): Request; -} -declare namespace ImportExport { - export type APIVersion = string; - export interface Artifact { - Description?: Description; - URL?: URL; - } - export type ArtifactList = Artifact[]; - export interface CancelJobInput { - JobId: JobId; - APIVersion?: APIVersion; - } - export interface CancelJobOutput { - Success?: Success; - } - export type Carrier = string; - export interface CreateJobInput { - JobType: JobType; - Manifest: Manifest; - ManifestAddendum?: ManifestAddendum; - ValidateOnly: ValidateOnly; - APIVersion?: APIVersion; - } - export interface CreateJobOutput { - JobId?: JobId; - JobType?: JobType; - Signature?: Signature; - SignatureFileContents?: SignatureFileContents; - WarningMessage?: WarningMessage; - ArtifactList?: ArtifactList; - } - export type CreationDate = Date; - export type CurrentManifest = string; - export type Description = string; - export type ErrorCount = number; - export type ErrorMessage = string; - export type GenericString = string; - export interface GetShippingLabelInput { - jobIds: JobIdList; - name?: name; - company?: company; - phoneNumber?: phoneNumber; - country?: country; - stateOrProvince?: stateOrProvince; - city?: city; - postalCode?: postalCode; - street1?: street1; - street2?: street2; - street3?: street3; - APIVersion?: APIVersion; - } - export interface GetShippingLabelOutput { - ShippingLabelURL?: GenericString; - Warning?: GenericString; - } - export interface GetStatusInput { - JobId: JobId; - APIVersion?: APIVersion; - } - export interface GetStatusOutput { - JobId?: JobId; - JobType?: JobType; - LocationCode?: LocationCode; - LocationMessage?: LocationMessage; - ProgressCode?: ProgressCode; - ProgressMessage?: ProgressMessage; - Carrier?: Carrier; - TrackingNumber?: TrackingNumber; - LogBucket?: LogBucket; - LogKey?: LogKey; - ErrorCount?: ErrorCount; - Signature?: Signature; - SignatureFileContents?: Signature; - CurrentManifest?: CurrentManifest; - CreationDate?: CreationDate; - ArtifactList?: ArtifactList; - } - export type IsCanceled = boolean; - export type IsTruncated = boolean; - export interface Job { - JobId?: JobId; - CreationDate?: CreationDate; - IsCanceled?: IsCanceled; - JobType?: JobType; - } - export type JobId = string; - export type JobIdList = GenericString[]; - export type JobType = "Import"|"Export"|string; - export type JobsList = Job[]; - export interface ListJobsInput { - MaxJobs?: MaxJobs; - Marker?: Marker; - APIVersion?: APIVersion; - } - export interface ListJobsOutput { - Jobs?: JobsList; - IsTruncated?: IsTruncated; - } - export type LocationCode = string; - export type LocationMessage = string; - export type LogBucket = string; - export type LogKey = string; - export type Manifest = string; - export type ManifestAddendum = string; - export type Marker = string; - export type MaxJobs = number; - export type ProgressCode = string; - export type ProgressMessage = string; - export type Signature = string; - export type SignatureFileContents = string; - export type Success = boolean; - export type TrackingNumber = string; - export type URL = string; - export interface UpdateJobInput { - JobId: JobId; - Manifest: Manifest; - JobType: JobType; - ValidateOnly: ValidateOnly; - APIVersion?: APIVersion; - } - export interface UpdateJobOutput { - Success?: Success; - WarningMessage?: WarningMessage; - ArtifactList?: ArtifactList; - } - export type ValidateOnly = boolean; - export type WarningMessage = string; - export type city = string; - export type company = string; - export type country = string; - export type name = string; - export type phoneNumber = string; - export type postalCode = string; - export type stateOrProvince = string; - export type street1 = string; - export type street2 = string; - export type street3 = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2010-06-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ImportExport client. - */ - export import Types = ImportExport; -} -export = ImportExport; diff --git a/src/node_modules/aws-sdk/clients/importexport.js b/src/node_modules/aws-sdk/clients/importexport.js deleted file mode 100644 index 0a77d55..0000000 --- a/src/node_modules/aws-sdk/clients/importexport.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['importexport'] = {}; -AWS.ImportExport = Service.defineService('importexport', ['2010-06-01']); -Object.defineProperty(apiLoader.services['importexport'], '2010-06-01', { - get: function get() { - var model = require('../apis/importexport-2010-06-01.min.json'); - model.paginators = require('../apis/importexport-2010-06-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ImportExport; diff --git a/src/node_modules/aws-sdk/clients/inspector.d.ts b/src/node_modules/aws-sdk/clients/inspector.d.ts deleted file mode 100644 index 9fe6a0f..0000000 --- a/src/node_modules/aws-sdk/clients/inspector.d.ts +++ /dev/null @@ -1,1478 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Inspector extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Inspector.Types.ClientConfiguration) - config: Config & Inspector.Types.ClientConfiguration; - /** - * Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings. - */ - addAttributesToFindings(params: Inspector.Types.AddAttributesToFindingsRequest, callback?: (err: AWSError, data: Inspector.Types.AddAttributesToFindingsResponse) => void): Request; - /** - * Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings. - */ - addAttributesToFindings(callback?: (err: AWSError, data: Inspector.Types.AddAttributesToFindingsResponse) => void): Request; - /** - * Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector Assessment Targets. - */ - createAssessmentTarget(params: Inspector.Types.CreateAssessmentTargetRequest, callback?: (err: AWSError, data: Inspector.Types.CreateAssessmentTargetResponse) => void): Request; - /** - * Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector Assessment Targets. - */ - createAssessmentTarget(callback?: (err: AWSError, data: Inspector.Types.CreateAssessmentTargetResponse) => void): Request; - /** - * Creates an assessment template for the assessment target that is specified by the ARN of the assessment target. - */ - createAssessmentTemplate(params: Inspector.Types.CreateAssessmentTemplateRequest, callback?: (err: AWSError, data: Inspector.Types.CreateAssessmentTemplateResponse) => void): Request; - /** - * Creates an assessment template for the assessment target that is specified by the ARN of the assessment target. - */ - createAssessmentTemplate(callback?: (err: AWSError, data: Inspector.Types.CreateAssessmentTemplateResponse) => void): Request; - /** - * Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget. - */ - createResourceGroup(params: Inspector.Types.CreateResourceGroupRequest, callback?: (err: AWSError, data: Inspector.Types.CreateResourceGroupResponse) => void): Request; - /** - * Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget. - */ - createResourceGroup(callback?: (err: AWSError, data: Inspector.Types.CreateResourceGroupResponse) => void): Request; - /** - * Deletes the assessment run that is specified by the ARN of the assessment run. - */ - deleteAssessmentRun(params: Inspector.Types.DeleteAssessmentRunRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the assessment run that is specified by the ARN of the assessment run. - */ - deleteAssessmentRun(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the assessment target that is specified by the ARN of the assessment target. - */ - deleteAssessmentTarget(params: Inspector.Types.DeleteAssessmentTargetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the assessment target that is specified by the ARN of the assessment target. - */ - deleteAssessmentTarget(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the assessment template that is specified by the ARN of the assessment template. - */ - deleteAssessmentTemplate(params: Inspector.Types.DeleteAssessmentTemplateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the assessment template that is specified by the ARN of the assessment template. - */ - deleteAssessmentTemplate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Describes the assessment runs that are specified by the ARNs of the assessment runs. - */ - describeAssessmentRuns(params: Inspector.Types.DescribeAssessmentRunsRequest, callback?: (err: AWSError, data: Inspector.Types.DescribeAssessmentRunsResponse) => void): Request; - /** - * Describes the assessment runs that are specified by the ARNs of the assessment runs. - */ - describeAssessmentRuns(callback?: (err: AWSError, data: Inspector.Types.DescribeAssessmentRunsResponse) => void): Request; - /** - * Describes the assessment targets that are specified by the ARNs of the assessment targets. - */ - describeAssessmentTargets(params: Inspector.Types.DescribeAssessmentTargetsRequest, callback?: (err: AWSError, data: Inspector.Types.DescribeAssessmentTargetsResponse) => void): Request; - /** - * Describes the assessment targets that are specified by the ARNs of the assessment targets. - */ - describeAssessmentTargets(callback?: (err: AWSError, data: Inspector.Types.DescribeAssessmentTargetsResponse) => void): Request; - /** - * Describes the assessment templates that are specified by the ARNs of the assessment templates. - */ - describeAssessmentTemplates(params: Inspector.Types.DescribeAssessmentTemplatesRequest, callback?: (err: AWSError, data: Inspector.Types.DescribeAssessmentTemplatesResponse) => void): Request; - /** - * Describes the assessment templates that are specified by the ARNs of the assessment templates. - */ - describeAssessmentTemplates(callback?: (err: AWSError, data: Inspector.Types.DescribeAssessmentTemplatesResponse) => void): Request; - /** - * Describes the IAM role that enables Amazon Inspector to access your AWS account. - */ - describeCrossAccountAccessRole(callback?: (err: AWSError, data: Inspector.Types.DescribeCrossAccountAccessRoleResponse) => void): Request; - /** - * Describes the findings that are specified by the ARNs of the findings. - */ - describeFindings(params: Inspector.Types.DescribeFindingsRequest, callback?: (err: AWSError, data: Inspector.Types.DescribeFindingsResponse) => void): Request; - /** - * Describes the findings that are specified by the ARNs of the findings. - */ - describeFindings(callback?: (err: AWSError, data: Inspector.Types.DescribeFindingsResponse) => void): Request; - /** - * Describes the resource groups that are specified by the ARNs of the resource groups. - */ - describeResourceGroups(params: Inspector.Types.DescribeResourceGroupsRequest, callback?: (err: AWSError, data: Inspector.Types.DescribeResourceGroupsResponse) => void): Request; - /** - * Describes the resource groups that are specified by the ARNs of the resource groups. - */ - describeResourceGroups(callback?: (err: AWSError, data: Inspector.Types.DescribeResourceGroupsResponse) => void): Request; - /** - * Describes the rules packages that are specified by the ARNs of the rules packages. - */ - describeRulesPackages(params: Inspector.Types.DescribeRulesPackagesRequest, callback?: (err: AWSError, data: Inspector.Types.DescribeRulesPackagesResponse) => void): Request; - /** - * Describes the rules packages that are specified by the ARNs of the rules packages. - */ - describeRulesPackages(callback?: (err: AWSError, data: Inspector.Types.DescribeRulesPackagesResponse) => void): Request; - /** - * Produces an assessment report that includes detailed and comprehensive results of a specified assessment run. - */ - getAssessmentReport(params: Inspector.Types.GetAssessmentReportRequest, callback?: (err: AWSError, data: Inspector.Types.GetAssessmentReportResponse) => void): Request; - /** - * Produces an assessment report that includes detailed and comprehensive results of a specified assessment run. - */ - getAssessmentReport(callback?: (err: AWSError, data: Inspector.Types.GetAssessmentReportResponse) => void): Request; - /** - * Information about the data that is collected for the specified assessment run. - */ - getTelemetryMetadata(params: Inspector.Types.GetTelemetryMetadataRequest, callback?: (err: AWSError, data: Inspector.Types.GetTelemetryMetadataResponse) => void): Request; - /** - * Information about the data that is collected for the specified assessment run. - */ - getTelemetryMetadata(callback?: (err: AWSError, data: Inspector.Types.GetTelemetryMetadataResponse) => void): Request; - /** - * Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs. - */ - listAssessmentRunAgents(params: Inspector.Types.ListAssessmentRunAgentsRequest, callback?: (err: AWSError, data: Inspector.Types.ListAssessmentRunAgentsResponse) => void): Request; - /** - * Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs. - */ - listAssessmentRunAgents(callback?: (err: AWSError, data: Inspector.Types.ListAssessmentRunAgentsResponse) => void): Request; - /** - * Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates. - */ - listAssessmentRuns(params: Inspector.Types.ListAssessmentRunsRequest, callback?: (err: AWSError, data: Inspector.Types.ListAssessmentRunsResponse) => void): Request; - /** - * Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates. - */ - listAssessmentRuns(callback?: (err: AWSError, data: Inspector.Types.ListAssessmentRunsResponse) => void): Request; - /** - * Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets. - */ - listAssessmentTargets(params: Inspector.Types.ListAssessmentTargetsRequest, callback?: (err: AWSError, data: Inspector.Types.ListAssessmentTargetsResponse) => void): Request; - /** - * Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets. - */ - listAssessmentTargets(callback?: (err: AWSError, data: Inspector.Types.ListAssessmentTargetsResponse) => void): Request; - /** - * Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets. - */ - listAssessmentTemplates(params: Inspector.Types.ListAssessmentTemplatesRequest, callback?: (err: AWSError, data: Inspector.Types.ListAssessmentTemplatesResponse) => void): Request; - /** - * Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets. - */ - listAssessmentTemplates(callback?: (err: AWSError, data: Inspector.Types.ListAssessmentTemplatesResponse) => void): Request; - /** - * Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent. - */ - listEventSubscriptions(params: Inspector.Types.ListEventSubscriptionsRequest, callback?: (err: AWSError, data: Inspector.Types.ListEventSubscriptionsResponse) => void): Request; - /** - * Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent. - */ - listEventSubscriptions(callback?: (err: AWSError, data: Inspector.Types.ListEventSubscriptionsResponse) => void): Request; - /** - * Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs. - */ - listFindings(params: Inspector.Types.ListFindingsRequest, callback?: (err: AWSError, data: Inspector.Types.ListFindingsResponse) => void): Request; - /** - * Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs. - */ - listFindings(callback?: (err: AWSError, data: Inspector.Types.ListFindingsResponse) => void): Request; - /** - * Lists all available Amazon Inspector rules packages. - */ - listRulesPackages(params: Inspector.Types.ListRulesPackagesRequest, callback?: (err: AWSError, data: Inspector.Types.ListRulesPackagesResponse) => void): Request; - /** - * Lists all available Amazon Inspector rules packages. - */ - listRulesPackages(callback?: (err: AWSError, data: Inspector.Types.ListRulesPackagesResponse) => void): Request; - /** - * Lists all tags associated with an assessment template. - */ - listTagsForResource(params: Inspector.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Inspector.Types.ListTagsForResourceResponse) => void): Request; - /** - * Lists all tags associated with an assessment template. - */ - listTagsForResource(callback?: (err: AWSError, data: Inspector.Types.ListTagsForResourceResponse) => void): Request; - /** - * Previews the agents installed on the EC2 instances that are part of the specified assessment target. - */ - previewAgents(params: Inspector.Types.PreviewAgentsRequest, callback?: (err: AWSError, data: Inspector.Types.PreviewAgentsResponse) => void): Request; - /** - * Previews the agents installed on the EC2 instances that are part of the specified assessment target. - */ - previewAgents(callback?: (err: AWSError, data: Inspector.Types.PreviewAgentsResponse) => void): Request; - /** - * Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action. - */ - registerCrossAccountAccessRole(params: Inspector.Types.RegisterCrossAccountAccessRoleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action. - */ - registerCrossAccountAccessRole(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists. - */ - removeAttributesFromFindings(params: Inspector.Types.RemoveAttributesFromFindingsRequest, callback?: (err: AWSError, data: Inspector.Types.RemoveAttributesFromFindingsResponse) => void): Request; - /** - * Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists. - */ - removeAttributesFromFindings(callback?: (err: AWSError, data: Inspector.Types.RemoveAttributesFromFindingsResponse) => void): Request; - /** - * Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template. - */ - setTagsForResource(params: Inspector.Types.SetTagsForResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template. - */ - setTagsForResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account. - */ - startAssessmentRun(params: Inspector.Types.StartAssessmentRunRequest, callback?: (err: AWSError, data: Inspector.Types.StartAssessmentRunResponse) => void): Request; - /** - * Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account. - */ - startAssessmentRun(callback?: (err: AWSError, data: Inspector.Types.StartAssessmentRunResponse) => void): Request; - /** - * Stops the assessment run that is specified by the ARN of the assessment run. - */ - stopAssessmentRun(params: Inspector.Types.StopAssessmentRunRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Stops the assessment run that is specified by the ARN of the assessment run. - */ - stopAssessmentRun(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic. - */ - subscribeToEvent(params: Inspector.Types.SubscribeToEventRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic. - */ - subscribeToEvent(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic. - */ - unsubscribeFromEvent(params: Inspector.Types.UnsubscribeFromEventRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic. - */ - unsubscribeFromEvent(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the assessment target that is specified by the ARN of the assessment target. - */ - updateAssessmentTarget(params: Inspector.Types.UpdateAssessmentTargetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the assessment target that is specified by the ARN of the assessment target. - */ - updateAssessmentTarget(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace Inspector { - export type AccessDeniedErrorCode = "ACCESS_DENIED_TO_ASSESSMENT_TARGET"|"ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE"|"ACCESS_DENIED_TO_ASSESSMENT_RUN"|"ACCESS_DENIED_TO_FINDING"|"ACCESS_DENIED_TO_RESOURCE_GROUP"|"ACCESS_DENIED_TO_RULES_PACKAGE"|"ACCESS_DENIED_TO_SNS_TOPIC"|"ACCESS_DENIED_TO_IAM_ROLE"|string; - export interface AddAttributesToFindingsRequest { - /** - * The ARNs that specify the findings that you want to assign attributes to. - */ - findingArns: AddRemoveAttributesFindingArnList; - /** - * The array of attributes that you want to assign to specified findings. - */ - attributes: UserAttributeList; - } - export interface AddAttributesToFindingsResponse { - /** - * Attribute details that cannot be described. An error code is provided for each failed item. - */ - failedItems: FailedItems; - } - export type AddRemoveAttributesFindingArnList = Arn[]; - export interface AgentAlreadyRunningAssessment { - /** - * ID of the agent that is running on an EC2 instance that is already participating in another started assessment run. - */ - agentId: AgentId; - /** - * The ARN of the assessment run that has already been started. - */ - assessmentRunArn: Arn; - } - export type AgentAlreadyRunningAssessmentList = AgentAlreadyRunningAssessment[]; - export interface AgentFilter { - /** - * The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY. - */ - agentHealths: AgentHealthList; - /** - * The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN. - */ - agentHealthCodes: AgentHealthCodeList; - } - export type AgentHealth = "HEALTHY"|"UNHEALTHY"|string; - export type AgentHealthCode = "IDLE"|"RUNNING"|"SHUTDOWN"|"UNHEALTHY"|"THROTTLED"|"UNKNOWN"|string; - export type AgentHealthCodeList = AgentHealthCode[]; - export type AgentHealthList = AgentHealth[]; - export type AgentId = string; - export type AgentIdList = AgentId[]; - export interface AgentPreview { - /** - * The ID of the EC2 instance where the agent is installed. - */ - agentId: AgentId; - /** - * The Auto Scaling group for the EC2 instance where the agent is installed. - */ - autoScalingGroup?: AutoScalingGroup; - } - export type AgentPreviewList = AgentPreview[]; - export type AmiId = string; - export type Arn = string; - export type AssessmentRulesPackageArnList = Arn[]; - export interface AssessmentRun { - /** - * The ARN of the assessment run. - */ - arn: Arn; - /** - * The auto-generated name for the assessment run. - */ - name: AssessmentRunName; - /** - * The ARN of the assessment template that is associated with the assessment run. - */ - assessmentTemplateArn: Arn; - /** - * The state of the assessment run. - */ - state: AssessmentRunState; - /** - * The duration of the assessment run. - */ - durationInSeconds: AssessmentRunDuration; - /** - * The rules packages selected for the assessment run. - */ - rulesPackageArns: AssessmentRulesPackageArnList; - /** - * The user-defined attributes that are assigned to every generated finding. - */ - userAttributesForFindings: UserAttributeList; - /** - * The time when StartAssessmentRun was called. - */ - createdAt: Timestamp; - /** - * The time when StartAssessmentRun was called. - */ - startedAt?: Timestamp; - /** - * The assessment run completion time that corresponds to the rules packages evaluation completion time or failure. - */ - completedAt?: Timestamp; - /** - * The last time when the assessment run's state changed. - */ - stateChangedAt: Timestamp; - /** - * A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed. - */ - dataCollected: Bool; - /** - * A list of the assessment run state changes. - */ - stateChanges: AssessmentRunStateChangeList; - /** - * A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once. - */ - notifications: AssessmentRunNotificationList; - /** - * Provides a total count of generated findings per severity. - */ - findingCounts: AssessmentRunFindingCounts; - } - export interface AssessmentRunAgent { - /** - * The AWS account of the EC2 instance where the agent is installed. - */ - agentId: AgentId; - /** - * The ARN of the assessment run that is associated with the agent. - */ - assessmentRunArn: Arn; - /** - * The current health state of the agent. - */ - agentHealth: AgentHealth; - /** - * The detailed health state of the agent. - */ - agentHealthCode: AgentHealthCode; - /** - * The description for the agent health code. - */ - agentHealthDetails?: Message; - /** - * The Auto Scaling group of the EC2 instance that is specified by the agent ID. - */ - autoScalingGroup?: AutoScalingGroup; - /** - * The Amazon Inspector application data metrics that are collected by the agent. - */ - telemetryMetadata: TelemetryMetadataList; - } - export type AssessmentRunAgentList = AssessmentRunAgent[]; - export type AssessmentRunDuration = number; - export interface AssessmentRunFilter { - /** - * For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type. - */ - namePattern?: NamePattern; - /** - * For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type. - */ - states?: AssessmentRunStateList; - /** - * For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type. - */ - durationRange?: DurationRange; - /** - * For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type. - */ - rulesPackageArns?: FilterRulesPackageArnList; - /** - * For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type. - */ - startTimeRange?: TimestampRange; - /** - * For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type. - */ - completionTimeRange?: TimestampRange; - /** - * For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type. - */ - stateChangeTimeRange?: TimestampRange; - } - export type AssessmentRunFindingCounts = {[key: string]: FindingCount}; - export type AssessmentRunInProgressArnList = Arn[]; - export type AssessmentRunList = AssessmentRun[]; - export type AssessmentRunName = string; - export interface AssessmentRunNotification { - /** - * The date of the notification. - */ - date: Timestamp; - /** - * The event for which a notification is sent. - */ - event: InspectorEvent; - /** - * The message included in the notification. - */ - message?: Message; - /** - * The Boolean value that specifies whether the notification represents an error. - */ - error: Bool; - /** - * The SNS topic to which the SNS notification is sent. - */ - snsTopicArn?: Arn; - /** - * The status code of the SNS notification. - */ - snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode; - } - export type AssessmentRunNotificationList = AssessmentRunNotification[]; - export type AssessmentRunNotificationSnsStatusCode = "SUCCESS"|"TOPIC_DOES_NOT_EXIST"|"ACCESS_DENIED"|"INTERNAL_ERROR"|string; - export type AssessmentRunState = "CREATED"|"START_DATA_COLLECTION_PENDING"|"START_DATA_COLLECTION_IN_PROGRESS"|"COLLECTING_DATA"|"STOP_DATA_COLLECTION_PENDING"|"DATA_COLLECTED"|"START_EVALUATING_RULES_PENDING"|"EVALUATING_RULES"|"FAILED"|"ERROR"|"COMPLETED"|"COMPLETED_WITH_ERRORS"|string; - export interface AssessmentRunStateChange { - /** - * The last time the assessment run state changed. - */ - stateChangedAt: Timestamp; - /** - * The assessment run state. - */ - state: AssessmentRunState; - } - export type AssessmentRunStateChangeList = AssessmentRunStateChange[]; - export type AssessmentRunStateList = AssessmentRunState[]; - export interface AssessmentTarget { - /** - * The ARN that specifies the Amazon Inspector assessment target. - */ - arn: Arn; - /** - * The name of the Amazon Inspector assessment target. - */ - name: AssessmentTargetName; - /** - * The ARN that specifies the resource group that is associated with the assessment target. - */ - resourceGroupArn: Arn; - /** - * The time at which the assessment target is created. - */ - createdAt: Timestamp; - /** - * The time at which UpdateAssessmentTarget is called. - */ - updatedAt: Timestamp; - } - export interface AssessmentTargetFilter { - /** - * For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTargetName property of the AssessmentTarget data type. - */ - assessmentTargetNamePattern?: NamePattern; - } - export type AssessmentTargetList = AssessmentTarget[]; - export type AssessmentTargetName = string; - export interface AssessmentTemplate { - /** - * The ARN of the assessment template. - */ - arn: Arn; - /** - * The name of the assessment template. - */ - name: AssessmentTemplateName; - /** - * The ARN of the assessment target that corresponds to this assessment template. - */ - assessmentTargetArn: Arn; - /** - * The duration in seconds specified for this assessment tempate. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day). - */ - durationInSeconds: AssessmentRunDuration; - /** - * The rules packages that are specified for this assessment template. - */ - rulesPackageArns: AssessmentTemplateRulesPackageArnList; - /** - * The user-defined attributes that are assigned to every generated finding from the assessment run that uses this assessment template. - */ - userAttributesForFindings: UserAttributeList; - /** - * The time at which the assessment template is created. - */ - createdAt: Timestamp; - } - export interface AssessmentTemplateFilter { - /** - * For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type. - */ - namePattern?: NamePattern; - /** - * For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate data type. - */ - durationRange?: DurationRange; - /** - * For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type. - */ - rulesPackageArns?: FilterRulesPackageArnList; - } - export type AssessmentTemplateList = AssessmentTemplate[]; - export type AssessmentTemplateName = string; - export type AssessmentTemplateRulesPackageArnList = Arn[]; - export interface AssetAttributes { - /** - * The schema version of this data type. - */ - schemaVersion: NumericVersion; - /** - * The ID of the agent that is installed on the EC2 instance where the finding is generated. - */ - agentId?: AgentId; - /** - * The Auto Scaling group of the EC2 instance where the finding is generated. - */ - autoScalingGroup?: AutoScalingGroup; - /** - * The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated. - */ - amiId?: AmiId; - /** - * The hostname of the EC2 instance where the finding is generated. - */ - hostname?: Hostname; - /** - * The list of IP v4 addresses of the EC2 instance where the finding is generated. - */ - ipv4Addresses?: Ipv4AddressList; - } - export type AssetType = "ec2-instance"|string; - export interface Attribute { - /** - * The attribute key. - */ - key: AttributeKey; - /** - * The value assigned to the attribute key. - */ - value?: AttributeValue; - } - export type AttributeKey = string; - export type AttributeList = Attribute[]; - export type AttributeValue = string; - export type AutoScalingGroup = string; - export type AutoScalingGroupList = AutoScalingGroup[]; - export type BatchDescribeArnList = Arn[]; - export type Bool = boolean; - export interface CreateAssessmentTargetRequest { - /** - * The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account. - */ - assessmentTargetName: AssessmentTargetName; - /** - * The ARN that specifies the resource group that is used to create the assessment target. - */ - resourceGroupArn: Arn; - } - export interface CreateAssessmentTargetResponse { - /** - * The ARN that specifies the assessment target that is created. - */ - assessmentTargetArn: Arn; - } - export interface CreateAssessmentTemplateRequest { - /** - * The ARN that specifies the assessment target for which you want to create the assessment template. - */ - assessmentTargetArn: Arn; - /** - * The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique. - */ - assessmentTemplateName: AssessmentTemplateName; - /** - * The duration of the assessment run in seconds. The default value is 3600 seconds (one hour). - */ - durationInSeconds: AssessmentRunDuration; - /** - * The ARNs that specify the rules packages that you want to attach to the assessment template. - */ - rulesPackageArns: AssessmentTemplateRulesPackageArnList; - /** - * The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. - */ - userAttributesForFindings?: UserAttributeList; - } - export interface CreateAssessmentTemplateResponse { - /** - * The ARN that specifies the assessment template that is created. - */ - assessmentTemplateArn: Arn; - } - export interface CreateResourceGroupRequest { - /** - * A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'. For example,'[{"key":"Name","values":["TestEC2Instance"]}]'. - */ - resourceGroupTags: ResourceGroupTags; - } - export interface CreateResourceGroupResponse { - /** - * The ARN that specifies the resource group that is created. - */ - resourceGroupArn: Arn; - } - export interface DeleteAssessmentRunRequest { - /** - * The ARN that specifies the assessment run that you want to delete. - */ - assessmentRunArn: Arn; - } - export interface DeleteAssessmentTargetRequest { - /** - * The ARN that specifies the assessment target that you want to delete. - */ - assessmentTargetArn: Arn; - } - export interface DeleteAssessmentTemplateRequest { - /** - * The ARN that specifies the assessment template that you want to delete. - */ - assessmentTemplateArn: Arn; - } - export interface DescribeAssessmentRunsRequest { - /** - * The ARN that specifies the assessment run that you want to describe. - */ - assessmentRunArns: BatchDescribeArnList; - } - export interface DescribeAssessmentRunsResponse { - /** - * Information about the assessment run. - */ - assessmentRuns: AssessmentRunList; - /** - * Assessment run details that cannot be described. An error code is provided for each failed item. - */ - failedItems: FailedItems; - } - export interface DescribeAssessmentTargetsRequest { - /** - * The ARNs that specifies the assessment targets that you want to describe. - */ - assessmentTargetArns: BatchDescribeArnList; - } - export interface DescribeAssessmentTargetsResponse { - /** - * Information about the assessment targets. - */ - assessmentTargets: AssessmentTargetList; - /** - * Assessment target details that cannot be described. An error code is provided for each failed item. - */ - failedItems: FailedItems; - } - export interface DescribeAssessmentTemplatesRequest { - assessmentTemplateArns: BatchDescribeArnList; - } - export interface DescribeAssessmentTemplatesResponse { - /** - * Information about the assessment templates. - */ - assessmentTemplates: AssessmentTemplateList; - /** - * Assessment template details that cannot be described. An error code is provided for each failed item. - */ - failedItems: FailedItems; - } - export interface DescribeCrossAccountAccessRoleResponse { - /** - * The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account. - */ - roleArn: Arn; - /** - * A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account. - */ - valid: Bool; - /** - * The date when the cross-account access role was registered. - */ - registeredAt: Timestamp; - } - export interface DescribeFindingsRequest { - /** - * The ARN that specifies the finding that you want to describe. - */ - findingArns: BatchDescribeArnList; - /** - * The locale into which you want to translate a finding description, recommendation, and the short description that identifies the finding. - */ - locale?: Locale; - } - export interface DescribeFindingsResponse { - /** - * Information about the finding. - */ - findings: FindingList; - /** - * Finding details that cannot be described. An error code is provided for each failed item. - */ - failedItems: FailedItems; - } - export interface DescribeResourceGroupsRequest { - /** - * The ARN that specifies the resource group that you want to describe. - */ - resourceGroupArns: BatchDescribeArnList; - } - export interface DescribeResourceGroupsResponse { - /** - * Information about a resource group. - */ - resourceGroups: ResourceGroupList; - /** - * Resource group details that cannot be described. An error code is provided for each failed item. - */ - failedItems: FailedItems; - } - export interface DescribeRulesPackagesRequest { - /** - * The ARN that specifies the rules package that you want to describe. - */ - rulesPackageArns: BatchDescribeArnList; - /** - * The locale that you want to translate a rules package description into. - */ - locale?: Locale; - } - export interface DescribeRulesPackagesResponse { - /** - * Information about the rules package. - */ - rulesPackages: RulesPackageList; - /** - * Rules package details that cannot be described. An error code is provided for each failed item. - */ - failedItems: FailedItems; - } - export interface DurationRange { - /** - * The minimum value of the duration range. Must be greater than zero. - */ - minSeconds?: AssessmentRunDuration; - /** - * The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week). - */ - maxSeconds?: AssessmentRunDuration; - } - export type ErrorMessage = string; - export interface EventSubscription { - /** - * The event for which Amazon Simple Notification Service (SNS) notifications are sent. - */ - event: InspectorEvent; - /** - * The time at which SubscribeToEvent is called. - */ - subscribedAt: Timestamp; - } - export type EventSubscriptionList = EventSubscription[]; - export interface FailedItemDetails { - /** - * The status code of a failed item. - */ - failureCode: FailedItemErrorCode; - /** - * Indicates whether you can immediately retry a request for this item for a specified resource. - */ - retryable: Bool; - } - export type FailedItemErrorCode = "INVALID_ARN"|"DUPLICATE_ARN"|"ITEM_DOES_NOT_EXIST"|"ACCESS_DENIED"|"LIMIT_EXCEEDED"|"INTERNAL_ERROR"|string; - export type FailedItems = {[key: string]: FailedItemDetails}; - export type FilterRulesPackageArnList = Arn[]; - export interface Finding { - /** - * The ARN that specifies the finding. - */ - arn: Arn; - /** - * The schema version of this data type. - */ - schemaVersion?: NumericVersion; - /** - * The data element is set to "Inspector". - */ - service?: ServiceName; - /** - * This data type is used in the Finding data type. - */ - serviceAttributes?: InspectorServiceAttributes; - /** - * The type of the host from which the finding is generated. - */ - assetType?: AssetType; - /** - * A collection of attributes of the host from which the finding is generated. - */ - assetAttributes?: AssetAttributes; - /** - * The ID of the finding. - */ - id?: FindingId; - /** - * The name of the finding. - */ - title?: Text; - /** - * The description of the finding. - */ - description?: Text; - /** - * The recommendation for the finding. - */ - recommendation?: Text; - /** - * The finding severity. Values can be set to High, Medium, Low, and Informational. - */ - severity?: Severity; - /** - * The numeric value of the finding severity. - */ - numericSeverity?: NumericSeverity; - /** - * This data element is currently not used. - */ - confidence?: IocConfidence; - /** - * This data element is currently not used. - */ - indicatorOfCompromise?: Bool; - /** - * The system-defined attributes for the finding. - */ - attributes: AttributeList; - /** - * The user-defined attributes that are assigned to the finding. - */ - userAttributes: UserAttributeList; - /** - * The time when the finding was generated. - */ - createdAt: Timestamp; - /** - * The time when AddAttributesToFindings is called. - */ - updatedAt: Timestamp; - } - export type FindingCount = number; - export interface FindingFilter { - /** - * For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type. - */ - agentIds?: AgentIdList; - /** - * For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type. - */ - autoScalingGroups?: AutoScalingGroupList; - /** - * For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type. - */ - ruleNames?: RuleNameList; - /** - * For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type. - */ - severities?: SeverityList; - /** - * For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type. - */ - rulesPackageArns?: FilterRulesPackageArnList; - /** - * For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type. - */ - attributes?: AttributeList; - /** - * For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type. - */ - userAttributes?: AttributeList; - /** - * The time range during which the finding is generated. - */ - creationTimeRange?: TimestampRange; - } - export type FindingId = string; - export type FindingList = Finding[]; - export interface GetAssessmentReportRequest { - /** - * The ARN that specifies the assessment run for which you want to generate a report. - */ - assessmentRunArn: Arn; - /** - * Specifies the file format (html or pdf) of the assessment report that you want to generate. - */ - reportFileFormat: ReportFileFormat; - /** - * Specifies the type of the assessment report that you want to generate. There are two types of assessment reports: a finding report and a full report. For more information, see Assessment Reports. - */ - reportType: ReportType; - } - export interface GetAssessmentReportResponse { - /** - * Specifies the status of the request to generate an assessment report. - */ - status: ReportStatus; - /** - * Specifies the URL where you can find the generated assessment report. This parameter is only returned if the report is successfully generated. - */ - url?: Url; - } - export interface GetTelemetryMetadataRequest { - /** - * The ARN that specifies the assessment run that has the telemetry data that you want to obtain. - */ - assessmentRunArn: Arn; - } - export interface GetTelemetryMetadataResponse { - /** - * Telemetry details. - */ - telemetryMetadata: TelemetryMetadataList; - } - export type Hostname = string; - export type InspectorEvent = "ASSESSMENT_RUN_STARTED"|"ASSESSMENT_RUN_COMPLETED"|"ASSESSMENT_RUN_STATE_CHANGED"|"FINDING_REPORTED"|"OTHER"|string; - export interface InspectorServiceAttributes { - /** - * The schema version of this data type. - */ - schemaVersion: NumericVersion; - /** - * The ARN of the assessment run during which the finding is generated. - */ - assessmentRunArn?: Arn; - /** - * The ARN of the rules package that is used to generate the finding. - */ - rulesPackageArn?: Arn; - } - export type InvalidCrossAccountRoleErrorCode = "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP"|"ROLE_DOES_NOT_HAVE_CORRECT_POLICY"|string; - export type InvalidInputErrorCode = "INVALID_ASSESSMENT_TARGET_ARN"|"INVALID_ASSESSMENT_TEMPLATE_ARN"|"INVALID_ASSESSMENT_RUN_ARN"|"INVALID_FINDING_ARN"|"INVALID_RESOURCE_GROUP_ARN"|"INVALID_RULES_PACKAGE_ARN"|"INVALID_RESOURCE_ARN"|"INVALID_SNS_TOPIC_ARN"|"INVALID_IAM_ROLE_ARN"|"INVALID_ASSESSMENT_TARGET_NAME"|"INVALID_ASSESSMENT_TARGET_NAME_PATTERN"|"INVALID_ASSESSMENT_TEMPLATE_NAME"|"INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN"|"INVALID_ASSESSMENT_TEMPLATE_DURATION"|"INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE"|"INVALID_ASSESSMENT_RUN_DURATION_RANGE"|"INVALID_ASSESSMENT_RUN_START_TIME_RANGE"|"INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE"|"INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE"|"INVALID_ASSESSMENT_RUN_STATE"|"INVALID_TAG"|"INVALID_TAG_KEY"|"INVALID_TAG_VALUE"|"INVALID_RESOURCE_GROUP_TAG_KEY"|"INVALID_RESOURCE_GROUP_TAG_VALUE"|"INVALID_ATTRIBUTE"|"INVALID_USER_ATTRIBUTE"|"INVALID_USER_ATTRIBUTE_KEY"|"INVALID_USER_ATTRIBUTE_VALUE"|"INVALID_PAGINATION_TOKEN"|"INVALID_MAX_RESULTS"|"INVALID_AGENT_ID"|"INVALID_AUTO_SCALING_GROUP"|"INVALID_RULE_NAME"|"INVALID_SEVERITY"|"INVALID_LOCALE"|"INVALID_EVENT"|"ASSESSMENT_TARGET_NAME_ALREADY_TAKEN"|"ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN"|"INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS"|"INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS"|"INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS"|"INVALID_NUMBER_OF_FINDING_ARNS"|"INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS"|"INVALID_NUMBER_OF_RULES_PACKAGE_ARNS"|"INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES"|"INVALID_NUMBER_OF_TAGS"|"INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS"|"INVALID_NUMBER_OF_ATTRIBUTES"|"INVALID_NUMBER_OF_USER_ATTRIBUTES"|"INVALID_NUMBER_OF_AGENT_IDS"|"INVALID_NUMBER_OF_AUTO_SCALING_GROUPS"|"INVALID_NUMBER_OF_RULE_NAMES"|"INVALID_NUMBER_OF_SEVERITIES"|string; - export type IocConfidence = number; - export type Ipv4Address = string; - export type Ipv4AddressList = Ipv4Address[]; - export type LimitExceededErrorCode = "ASSESSMENT_TARGET_LIMIT_EXCEEDED"|"ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED"|"ASSESSMENT_RUN_LIMIT_EXCEEDED"|"RESOURCE_GROUP_LIMIT_EXCEEDED"|"EVENT_SUBSCRIPTION_LIMIT_EXCEEDED"|string; - export interface ListAssessmentRunAgentsRequest { - /** - * The ARN that specifies the assessment run whose agents you want to list. - */ - assessmentRunArn: Arn; - /** - * You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. - */ - filter?: AgentFilter; - /** - * You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRunAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. - */ - nextToken?: PaginationToken; - /** - * You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 10. The maximum value is 500. - */ - maxResults?: ListMaxResults; - } - export interface ListAssessmentRunAgentsResponse { - /** - * A list of ARNs that specifies the agents returned by the action. - */ - assessmentRunAgents: AssessmentRunAgentList; - /** - * When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. - */ - nextToken?: PaginationToken; - } - export interface ListAssessmentRunsRequest { - /** - * The ARNs that specify the assessment templates whose assessment runs you want to list. - */ - assessmentTemplateArns?: ListParentArnList; - /** - * You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. - */ - filter?: AssessmentRunFilter; - /** - * You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRuns action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. - */ - nextToken?: PaginationToken; - /** - * You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 10. The maximum value is 500. - */ - maxResults?: ListMaxResults; - } - export interface ListAssessmentRunsResponse { - /** - * A list of ARNs that specifies the assessment runs that are returned by the action. - */ - assessmentRunArns: ListReturnedArnList; - /** - * When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. - */ - nextToken?: PaginationToken; - } - export interface ListAssessmentTargetsRequest { - /** - * You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. - */ - filter?: AssessmentTargetFilter; - /** - * You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTargets action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. - */ - nextToken?: PaginationToken; - /** - * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. - */ - maxResults?: ListMaxResults; - } - export interface ListAssessmentTargetsResponse { - /** - * A list of ARNs that specifies the assessment targets that are returned by the action. - */ - assessmentTargetArns: ListReturnedArnList; - /** - * When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. - */ - nextToken?: PaginationToken; - } - export interface ListAssessmentTemplatesRequest { - /** - * A list of ARNs that specifies the assessment targets whose assessment templates you want to list. - */ - assessmentTargetArns?: ListParentArnList; - /** - * You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. - */ - filter?: AssessmentTemplateFilter; - /** - * You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. - */ - nextToken?: PaginationToken; - /** - * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. - */ - maxResults?: ListMaxResults; - } - export interface ListAssessmentTemplatesResponse { - /** - * A list of ARNs that specifies the assessment templates returned by the action. - */ - assessmentTemplateArns: ListReturnedArnList; - /** - * When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. - */ - nextToken?: PaginationToken; - } - export type ListEventSubscriptionsMaxResults = number; - export interface ListEventSubscriptionsRequest { - /** - * The ARN of the assessment template for which you want to list the existing event subscriptions. - */ - resourceArn?: Arn; - /** - * You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListEventSubscriptions action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. - */ - nextToken?: PaginationToken; - /** - * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. - */ - maxResults?: ListEventSubscriptionsMaxResults; - } - export interface ListEventSubscriptionsResponse { - /** - * Details of the returned event subscriptions. - */ - subscriptions: SubscriptionList; - /** - * When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. - */ - nextToken?: PaginationToken; - } - export interface ListFindingsRequest { - /** - * The ARNs of the assessment runs that generate the findings that you want to list. - */ - assessmentRunArns?: ListParentArnList; - /** - * You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. - */ - filter?: FindingFilter; - /** - * You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. - */ - nextToken?: PaginationToken; - /** - * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. - */ - maxResults?: ListMaxResults; - } - export interface ListFindingsResponse { - /** - * A list of ARNs that specifies the findings returned by the action. - */ - findingArns: ListReturnedArnList; - /** - * When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. - */ - nextToken?: PaginationToken; - } - export type ListMaxResults = number; - export type ListParentArnList = Arn[]; - export type ListReturnedArnList = Arn[]; - export interface ListRulesPackagesRequest { - /** - * You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListRulesPackages action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. - */ - nextToken?: PaginationToken; - /** - * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. - */ - maxResults?: ListMaxResults; - } - export interface ListRulesPackagesResponse { - /** - * The list of ARNs that specifies the rules packages returned by the action. - */ - rulesPackageArns: ListReturnedArnList; - /** - * When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. - */ - nextToken?: PaginationToken; - } - export interface ListTagsForResourceRequest { - /** - * The ARN that specifies the assessment template whose tags you want to list. - */ - resourceArn: Arn; - } - export interface ListTagsForResourceResponse { - /** - * A collection of key and value pairs. - */ - tags: TagList; - } - export type Locale = "EN_US"|string; - export type Long = number; - export type Message = string; - export type MessageType = string; - export type NamePattern = string; - export type NoSuchEntityErrorCode = "ASSESSMENT_TARGET_DOES_NOT_EXIST"|"ASSESSMENT_TEMPLATE_DOES_NOT_EXIST"|"ASSESSMENT_RUN_DOES_NOT_EXIST"|"FINDING_DOES_NOT_EXIST"|"RESOURCE_GROUP_DOES_NOT_EXIST"|"RULES_PACKAGE_DOES_NOT_EXIST"|"SNS_TOPIC_DOES_NOT_EXIST"|"IAM_ROLE_DOES_NOT_EXIST"|string; - export type NumericSeverity = number; - export type NumericVersion = number; - export type PaginationToken = string; - export type PreviewAgentsMaxResults = number; - export interface PreviewAgentsRequest { - /** - * The ARN of the assessment target whose agents you want to preview. - */ - previewAgentsArn: Arn; - /** - * You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. - */ - nextToken?: PaginationToken; - /** - * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. - */ - maxResults?: PreviewAgentsMaxResults; - } - export interface PreviewAgentsResponse { - /** - * The resulting list of agents. - */ - agentPreviews: AgentPreviewList; - /** - * When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. - */ - nextToken?: PaginationToken; - } - export type ProviderName = string; - export interface RegisterCrossAccountAccessRoleRequest { - /** - * The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances during the assessment run or when you call the PreviewAgents action. - */ - roleArn: Arn; - } - export interface RemoveAttributesFromFindingsRequest { - /** - * The ARNs that specify the findings that you want to remove attributes from. - */ - findingArns: AddRemoveAttributesFindingArnList; - /** - * The array of attribute keys that you want to remove from specified findings. - */ - attributeKeys: UserAttributeKeyList; - } - export interface RemoveAttributesFromFindingsResponse { - /** - * Attributes details that cannot be described. An error code is provided for each failed item. - */ - failedItems: FailedItems; - } - export type ReportFileFormat = "HTML"|"PDF"|string; - export type ReportStatus = "WORK_IN_PROGRESS"|"FAILED"|"COMPLETED"|string; - export type ReportType = "FINDING"|"FULL"|string; - export interface ResourceGroup { - /** - * The ARN of the resource group. - */ - arn: Arn; - /** - * The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action. - */ - tags: ResourceGroupTags; - /** - * The time at which resource group is created. - */ - createdAt: Timestamp; - } - export type ResourceGroupList = ResourceGroup[]; - export interface ResourceGroupTag { - /** - * A tag key. - */ - key: TagKey; - /** - * The value assigned to a tag key. - */ - value?: TagValue; - } - export type ResourceGroupTags = ResourceGroupTag[]; - export type RuleName = string; - export type RuleNameList = RuleName[]; - export interface RulesPackage { - /** - * The ARN of the rules package. - */ - arn: Arn; - /** - * The name of the rules package. - */ - name: RulesPackageName; - /** - * The version ID of the rules package. - */ - version: Version; - /** - * The provider of the rules package. - */ - provider: ProviderName; - /** - * The description of the rules package. - */ - description?: Text; - } - export type RulesPackageList = RulesPackage[]; - export type RulesPackageName = string; - export type ServiceName = string; - export interface SetTagsForResourceRequest { - /** - * The ARN of the assessment template that you want to set tags to. - */ - resourceArn: Arn; - /** - * A collection of key and value pairs that you want to set to the assessment template. - */ - tags?: TagList; - } - export type Severity = "Low"|"Medium"|"High"|"Informational"|"Undefined"|string; - export type SeverityList = Severity[]; - export interface StartAssessmentRunRequest { - /** - * The ARN of the assessment template of the assessment run that you want to start. - */ - assessmentTemplateArn: Arn; - /** - * You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run. - */ - assessmentRunName?: AssessmentRunName; - } - export interface StartAssessmentRunResponse { - /** - * The ARN of the assessment run that has been started. - */ - assessmentRunArn: Arn; - } - export interface StopAssessmentRunRequest { - /** - * The ARN of the assessment run that you want to stop. - */ - assessmentRunArn: Arn; - } - export interface SubscribeToEventRequest { - /** - * The ARN of the assessment template that is used during the event for which you want to receive SNS notifications. - */ - resourceArn: Arn; - /** - * The event for which you want to receive SNS notifications. - */ - event: InspectorEvent; - /** - * The ARN of the SNS topic to which the SNS notifications are sent. - */ - topicArn: Arn; - } - export interface Subscription { - /** - * The ARN of the assessment template that is used during the event for which the SNS notification is sent. - */ - resourceArn: Arn; - /** - * The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent. - */ - topicArn: Arn; - /** - * The list of existing event subscriptions. - */ - eventSubscriptions: EventSubscriptionList; - } - export type SubscriptionList = Subscription[]; - export interface Tag { - /** - * A tag key. - */ - key: TagKey; - /** - * A value assigned to a tag key. - */ - value?: TagValue; - } - export type TagKey = string; - export type TagList = Tag[]; - export type TagValue = string; - export interface TelemetryMetadata { - /** - * A specific type of behavioral data that is collected by the agent. - */ - messageType: MessageType; - /** - * The count of messages that the agent sends to the Amazon Inspector service. - */ - count: Long; - /** - * The data size of messages that the agent sends to the Amazon Inspector service. - */ - dataSize?: Long; - } - export type TelemetryMetadataList = TelemetryMetadata[]; - export type Text = string; - export type Timestamp = Date; - export interface TimestampRange { - /** - * The minimum value of the timestamp range. - */ - beginDate?: Timestamp; - /** - * The maximum value of the timestamp range. - */ - endDate?: Timestamp; - } - export interface UnsubscribeFromEventRequest { - /** - * The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications. - */ - resourceArn: Arn; - /** - * The event for which you want to stop receiving SNS notifications. - */ - event: InspectorEvent; - /** - * The ARN of the SNS topic to which SNS notifications are sent. - */ - topicArn: Arn; - } - export interface UpdateAssessmentTargetRequest { - /** - * The ARN of the assessment target that you want to update. - */ - assessmentTargetArn: Arn; - /** - * The name of the assessment target that you want to update. - */ - assessmentTargetName: AssessmentTargetName; - /** - * The ARN of the resource group that is used to specify the new resource group to associate with the assessment target. - */ - resourceGroupArn: Arn; - } - export type Url = string; - export type UserAttributeKeyList = AttributeKey[]; - export type UserAttributeList = Attribute[]; - export type Version = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-08-18"|"2016-02-16"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Inspector client. - */ - export import Types = Inspector; -} -export = Inspector; diff --git a/src/node_modules/aws-sdk/clients/inspector.js b/src/node_modules/aws-sdk/clients/inspector.js deleted file mode 100644 index a0f5378..0000000 --- a/src/node_modules/aws-sdk/clients/inspector.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['inspector'] = {}; -AWS.Inspector = Service.defineService('inspector', ['2015-08-18*', '2016-02-16']); -Object.defineProperty(apiLoader.services['inspector'], '2016-02-16', { - get: function get() { - var model = require('../apis/inspector-2016-02-16.min.json'); - model.paginators = require('../apis/inspector-2016-02-16.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Inspector; diff --git a/src/node_modules/aws-sdk/clients/iot.d.ts b/src/node_modules/aws-sdk/clients/iot.d.ts deleted file mode 100644 index 93297c9..0000000 --- a/src/node_modules/aws-sdk/clients/iot.d.ts +++ /dev/null @@ -1,2163 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Iot extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Iot.Types.ClientConfiguration) - config: Config & Iot.Types.ClientConfiguration; - /** - * Accepts a pending certificate transfer. The default state of the certificate is INACTIVE. To check for pending certificate transfers, call ListCertificates to enumerate your certificates. - */ - acceptCertificateTransfer(params: Iot.Types.AcceptCertificateTransferRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Accepts a pending certificate transfer. The default state of the certificate is INACTIVE. To check for pending certificate transfers, call ListCertificates to enumerate your certificates. - */ - acceptCertificateTransfer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches the specified policy to the specified principal (certificate or other credential). - */ - attachPrincipalPolicy(params: Iot.Types.AttachPrincipalPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches the specified policy to the specified principal (certificate or other credential). - */ - attachPrincipalPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches the specified principal to the specified thing. - */ - attachThingPrincipal(params: Iot.Types.AttachThingPrincipalRequest, callback?: (err: AWSError, data: Iot.Types.AttachThingPrincipalResponse) => void): Request; - /** - * Attaches the specified principal to the specified thing. - */ - attachThingPrincipal(callback?: (err: AWSError, data: Iot.Types.AttachThingPrincipalResponse) => void): Request; - /** - * Cancels a pending transfer for the specified certificate. Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled. After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE. - */ - cancelCertificateTransfer(params: Iot.Types.CancelCertificateTransferRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Cancels a pending transfer for the specified certificate. Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled. After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE. - */ - cancelCertificateTransfer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates an X.509 certificate using the specified certificate signing request. Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. Note: Reusing the same certificate signing request (CSR) results in a distinct certificate. You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. Assuming a set of CSRs are located inside of the directory my-csr-directory: On Linux and OS X, the command is: $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{} This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR. The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process: $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{} On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is: > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_} On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is: > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path" - */ - createCertificateFromCsr(params: Iot.Types.CreateCertificateFromCsrRequest, callback?: (err: AWSError, data: Iot.Types.CreateCertificateFromCsrResponse) => void): Request; - /** - * Creates an X.509 certificate using the specified certificate signing request. Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. Note: Reusing the same certificate signing request (CSR) results in a distinct certificate. You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. Assuming a set of CSRs are located inside of the directory my-csr-directory: On Linux and OS X, the command is: $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{} This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR. The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process: $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{} On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is: > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_} On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is: > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path" - */ - createCertificateFromCsr(callback?: (err: AWSError, data: Iot.Types.CreateCertificateFromCsrResponse) => void): Request; - /** - * Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location. - */ - createKeysAndCertificate(params: Iot.Types.CreateKeysAndCertificateRequest, callback?: (err: AWSError, data: Iot.Types.CreateKeysAndCertificateResponse) => void): Request; - /** - * Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location. - */ - createKeysAndCertificate(callback?: (err: AWSError, data: Iot.Types.CreateKeysAndCertificateResponse) => void): Request; - /** - * Creates an AWS IoT policy. The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version. - */ - createPolicy(params: Iot.Types.CreatePolicyRequest, callback?: (err: AWSError, data: Iot.Types.CreatePolicyResponse) => void): Request; - /** - * Creates an AWS IoT policy. The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version. - */ - createPolicy(callback?: (err: AWSError, data: Iot.Types.CreatePolicyResponse) => void): Request; - /** - * Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one. Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached). - */ - createPolicyVersion(params: Iot.Types.CreatePolicyVersionRequest, callback?: (err: AWSError, data: Iot.Types.CreatePolicyVersionResponse) => void): Request; - /** - * Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one. Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached). - */ - createPolicyVersion(callback?: (err: AWSError, data: Iot.Types.CreatePolicyVersionResponse) => void): Request; - /** - * Creates a thing record in the thing registry. - */ - createThing(params: Iot.Types.CreateThingRequest, callback?: (err: AWSError, data: Iot.Types.CreateThingResponse) => void): Request; - /** - * Creates a thing record in the thing registry. - */ - createThing(callback?: (err: AWSError, data: Iot.Types.CreateThingResponse) => void): Request; - /** - * Creates a new thing type. - */ - createThingType(params: Iot.Types.CreateThingTypeRequest, callback?: (err: AWSError, data: Iot.Types.CreateThingTypeResponse) => void): Request; - /** - * Creates a new thing type. - */ - createThingType(callback?: (err: AWSError, data: Iot.Types.CreateThingTypeResponse) => void): Request; - /** - * Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule. - */ - createTopicRule(params: Iot.Types.CreateTopicRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule. - */ - createTopicRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a registered CA certificate. - */ - deleteCACertificate(params: Iot.Types.DeleteCACertificateRequest, callback?: (err: AWSError, data: Iot.Types.DeleteCACertificateResponse) => void): Request; - /** - * Deletes a registered CA certificate. - */ - deleteCACertificate(callback?: (err: AWSError, data: Iot.Types.DeleteCACertificateResponse) => void): Request; - /** - * Deletes the specified certificate. A certificate cannot be deleted if it has a policy attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status. - */ - deleteCertificate(params: Iot.Types.DeleteCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified certificate. A certificate cannot be deleted if it has a policy attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status. - */ - deleteCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified policy. A policy cannot be deleted if it has non-default versions or it is attached to any certificate. To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy. When a policy is deleted using DeletePolicy, its default version is deleted with it. - */ - deletePolicy(params: Iot.Types.DeletePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified policy. A policy cannot be deleted if it has non-default versions or it is attached to any certificate. To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy. When a policy is deleted using DeletePolicy, its default version is deleted with it. - */ - deletePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions. - */ - deletePolicyVersion(params: Iot.Types.DeletePolicyVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions. - */ - deletePolicyVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a CA certificate registration code. - */ - deleteRegistrationCode(params: Iot.Types.DeleteRegistrationCodeRequest, callback?: (err: AWSError, data: Iot.Types.DeleteRegistrationCodeResponse) => void): Request; - /** - * Deletes a CA certificate registration code. - */ - deleteRegistrationCode(callback?: (err: AWSError, data: Iot.Types.DeleteRegistrationCodeResponse) => void): Request; - /** - * Deletes the specified thing. - */ - deleteThing(params: Iot.Types.DeleteThingRequest, callback?: (err: AWSError, data: Iot.Types.DeleteThingResponse) => void): Request; - /** - * Deletes the specified thing. - */ - deleteThing(callback?: (err: AWSError, data: Iot.Types.DeleteThingResponse) => void): Request; - /** - * Deletes the specified thing type . You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type. - */ - deleteThingType(params: Iot.Types.DeleteThingTypeRequest, callback?: (err: AWSError, data: Iot.Types.DeleteThingTypeResponse) => void): Request; - /** - * Deletes the specified thing type . You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type. - */ - deleteThingType(callback?: (err: AWSError, data: Iot.Types.DeleteThingTypeResponse) => void): Request; - /** - * Deletes the specified rule. - */ - deleteTopicRule(params: Iot.Types.DeleteTopicRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified rule. - */ - deleteTopicRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deprecates a thing type. You can not associate new things with deprecated thing type. - */ - deprecateThingType(params: Iot.Types.DeprecateThingTypeRequest, callback?: (err: AWSError, data: Iot.Types.DeprecateThingTypeResponse) => void): Request; - /** - * Deprecates a thing type. You can not associate new things with deprecated thing type. - */ - deprecateThingType(callback?: (err: AWSError, data: Iot.Types.DeprecateThingTypeResponse) => void): Request; - /** - * Describes a registered CA certificate. - */ - describeCACertificate(params: Iot.Types.DescribeCACertificateRequest, callback?: (err: AWSError, data: Iot.Types.DescribeCACertificateResponse) => void): Request; - /** - * Describes a registered CA certificate. - */ - describeCACertificate(callback?: (err: AWSError, data: Iot.Types.DescribeCACertificateResponse) => void): Request; - /** - * Gets information about the specified certificate. - */ - describeCertificate(params: Iot.Types.DescribeCertificateRequest, callback?: (err: AWSError, data: Iot.Types.DescribeCertificateResponse) => void): Request; - /** - * Gets information about the specified certificate. - */ - describeCertificate(callback?: (err: AWSError, data: Iot.Types.DescribeCertificateResponse) => void): Request; - /** - * Returns a unique endpoint specific to the AWS account making the call. - */ - describeEndpoint(params: Iot.Types.DescribeEndpointRequest, callback?: (err: AWSError, data: Iot.Types.DescribeEndpointResponse) => void): Request; - /** - * Returns a unique endpoint specific to the AWS account making the call. - */ - describeEndpoint(callback?: (err: AWSError, data: Iot.Types.DescribeEndpointResponse) => void): Request; - /** - * Gets information about the specified thing. - */ - describeThing(params: Iot.Types.DescribeThingRequest, callback?: (err: AWSError, data: Iot.Types.DescribeThingResponse) => void): Request; - /** - * Gets information about the specified thing. - */ - describeThing(callback?: (err: AWSError, data: Iot.Types.DescribeThingResponse) => void): Request; - /** - * Gets information about the specified thing type. - */ - describeThingType(params: Iot.Types.DescribeThingTypeRequest, callback?: (err: AWSError, data: Iot.Types.DescribeThingTypeResponse) => void): Request; - /** - * Gets information about the specified thing type. - */ - describeThingType(callback?: (err: AWSError, data: Iot.Types.DescribeThingTypeResponse) => void): Request; - /** - * Removes the specified policy from the specified certificate. - */ - detachPrincipalPolicy(params: Iot.Types.DetachPrincipalPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified policy from the specified certificate. - */ - detachPrincipalPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Detaches the specified principal from the specified thing. - */ - detachThingPrincipal(params: Iot.Types.DetachThingPrincipalRequest, callback?: (err: AWSError, data: Iot.Types.DetachThingPrincipalResponse) => void): Request; - /** - * Detaches the specified principal from the specified thing. - */ - detachThingPrincipal(callback?: (err: AWSError, data: Iot.Types.DetachThingPrincipalResponse) => void): Request; - /** - * Disables the specified rule. - */ - disableTopicRule(params: Iot.Types.DisableTopicRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables the specified rule. - */ - disableTopicRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables the specified rule. - */ - enableTopicRule(params: Iot.Types.EnableTopicRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables the specified rule. - */ - enableTopicRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Gets the logging options. - */ - getLoggingOptions(params: Iot.Types.GetLoggingOptionsRequest, callback?: (err: AWSError, data: Iot.Types.GetLoggingOptionsResponse) => void): Request; - /** - * Gets the logging options. - */ - getLoggingOptions(callback?: (err: AWSError, data: Iot.Types.GetLoggingOptionsResponse) => void): Request; - /** - * Gets information about the specified policy with the policy document of the default version. - */ - getPolicy(params: Iot.Types.GetPolicyRequest, callback?: (err: AWSError, data: Iot.Types.GetPolicyResponse) => void): Request; - /** - * Gets information about the specified policy with the policy document of the default version. - */ - getPolicy(callback?: (err: AWSError, data: Iot.Types.GetPolicyResponse) => void): Request; - /** - * Gets information about the specified policy version. - */ - getPolicyVersion(params: Iot.Types.GetPolicyVersionRequest, callback?: (err: AWSError, data: Iot.Types.GetPolicyVersionResponse) => void): Request; - /** - * Gets information about the specified policy version. - */ - getPolicyVersion(callback?: (err: AWSError, data: Iot.Types.GetPolicyVersionResponse) => void): Request; - /** - * Gets a registration code used to register a CA certificate with AWS IoT. - */ - getRegistrationCode(params: Iot.Types.GetRegistrationCodeRequest, callback?: (err: AWSError, data: Iot.Types.GetRegistrationCodeResponse) => void): Request; - /** - * Gets a registration code used to register a CA certificate with AWS IoT. - */ - getRegistrationCode(callback?: (err: AWSError, data: Iot.Types.GetRegistrationCodeResponse) => void): Request; - /** - * Gets information about the specified rule. - */ - getTopicRule(params: Iot.Types.GetTopicRuleRequest, callback?: (err: AWSError, data: Iot.Types.GetTopicRuleResponse) => void): Request; - /** - * Gets information about the specified rule. - */ - getTopicRule(callback?: (err: AWSError, data: Iot.Types.GetTopicRuleResponse) => void): Request; - /** - * Lists the CA certificates registered for your AWS account. The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results. - */ - listCACertificates(params: Iot.Types.ListCACertificatesRequest, callback?: (err: AWSError, data: Iot.Types.ListCACertificatesResponse) => void): Request; - /** - * Lists the CA certificates registered for your AWS account. The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results. - */ - listCACertificates(callback?: (err: AWSError, data: Iot.Types.ListCACertificatesResponse) => void): Request; - /** - * Lists the certificates registered in your AWS account. The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results. - */ - listCertificates(params: Iot.Types.ListCertificatesRequest, callback?: (err: AWSError, data: Iot.Types.ListCertificatesResponse) => void): Request; - /** - * Lists the certificates registered in your AWS account. The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results. - */ - listCertificates(callback?: (err: AWSError, data: Iot.Types.ListCertificatesResponse) => void): Request; - /** - * List the device certificates signed by the specified CA certificate. - */ - listCertificatesByCA(params: Iot.Types.ListCertificatesByCARequest, callback?: (err: AWSError, data: Iot.Types.ListCertificatesByCAResponse) => void): Request; - /** - * List the device certificates signed by the specified CA certificate. - */ - listCertificatesByCA(callback?: (err: AWSError, data: Iot.Types.ListCertificatesByCAResponse) => void): Request; - /** - * Lists certificates that are being transfered but not yet accepted. - */ - listOutgoingCertificates(params: Iot.Types.ListOutgoingCertificatesRequest, callback?: (err: AWSError, data: Iot.Types.ListOutgoingCertificatesResponse) => void): Request; - /** - * Lists certificates that are being transfered but not yet accepted. - */ - listOutgoingCertificates(callback?: (err: AWSError, data: Iot.Types.ListOutgoingCertificatesResponse) => void): Request; - /** - * Lists your policies. - */ - listPolicies(params: Iot.Types.ListPoliciesRequest, callback?: (err: AWSError, data: Iot.Types.ListPoliciesResponse) => void): Request; - /** - * Lists your policies. - */ - listPolicies(callback?: (err: AWSError, data: Iot.Types.ListPoliciesResponse) => void): Request; - /** - * Lists the principals associated with the specified policy. - */ - listPolicyPrincipals(params: Iot.Types.ListPolicyPrincipalsRequest, callback?: (err: AWSError, data: Iot.Types.ListPolicyPrincipalsResponse) => void): Request; - /** - * Lists the principals associated with the specified policy. - */ - listPolicyPrincipals(callback?: (err: AWSError, data: Iot.Types.ListPolicyPrincipalsResponse) => void): Request; - /** - * Lists the versions of the specified policy and identifies the default version. - */ - listPolicyVersions(params: Iot.Types.ListPolicyVersionsRequest, callback?: (err: AWSError, data: Iot.Types.ListPolicyVersionsResponse) => void): Request; - /** - * Lists the versions of the specified policy and identifies the default version. - */ - listPolicyVersions(callback?: (err: AWSError, data: Iot.Types.ListPolicyVersionsResponse) => void): Request; - /** - * Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format. - */ - listPrincipalPolicies(params: Iot.Types.ListPrincipalPoliciesRequest, callback?: (err: AWSError, data: Iot.Types.ListPrincipalPoliciesResponse) => void): Request; - /** - * Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format. - */ - listPrincipalPolicies(callback?: (err: AWSError, data: Iot.Types.ListPrincipalPoliciesResponse) => void): Request; - /** - * Lists the things associated with the specified principal. - */ - listPrincipalThings(params: Iot.Types.ListPrincipalThingsRequest, callback?: (err: AWSError, data: Iot.Types.ListPrincipalThingsResponse) => void): Request; - /** - * Lists the things associated with the specified principal. - */ - listPrincipalThings(callback?: (err: AWSError, data: Iot.Types.ListPrincipalThingsResponse) => void): Request; - /** - * Lists the principals associated with the specified thing. - */ - listThingPrincipals(params: Iot.Types.ListThingPrincipalsRequest, callback?: (err: AWSError, data: Iot.Types.ListThingPrincipalsResponse) => void): Request; - /** - * Lists the principals associated with the specified thing. - */ - listThingPrincipals(callback?: (err: AWSError, data: Iot.Types.ListThingPrincipalsResponse) => void): Request; - /** - * Lists the existing thing types. - */ - listThingTypes(params: Iot.Types.ListThingTypesRequest, callback?: (err: AWSError, data: Iot.Types.ListThingTypesResponse) => void): Request; - /** - * Lists the existing thing types. - */ - listThingTypes(callback?: (err: AWSError, data: Iot.Types.ListThingTypesResponse) => void): Request; - /** - * Lists your things. Use the attributeName and attributeValue parameters to filter your things. For example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in the registry that contain an attribute Color with the value Red. - */ - listThings(params: Iot.Types.ListThingsRequest, callback?: (err: AWSError, data: Iot.Types.ListThingsResponse) => void): Request; - /** - * Lists your things. Use the attributeName and attributeValue parameters to filter your things. For example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in the registry that contain an attribute Color with the value Red. - */ - listThings(callback?: (err: AWSError, data: Iot.Types.ListThingsResponse) => void): Request; - /** - * Lists the rules for the specific topic. - */ - listTopicRules(params: Iot.Types.ListTopicRulesRequest, callback?: (err: AWSError, data: Iot.Types.ListTopicRulesResponse) => void): Request; - /** - * Lists the rules for the specific topic. - */ - listTopicRules(callback?: (err: AWSError, data: Iot.Types.ListTopicRulesResponse) => void): Request; - /** - * Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API. - */ - registerCACertificate(params: Iot.Types.RegisterCACertificateRequest, callback?: (err: AWSError, data: Iot.Types.RegisterCACertificateResponse) => void): Request; - /** - * Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API. - */ - registerCACertificate(callback?: (err: AWSError, data: Iot.Types.RegisterCACertificateResponse) => void): Request; - /** - * Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered. - */ - registerCertificate(params: Iot.Types.RegisterCertificateRequest, callback?: (err: AWSError, data: Iot.Types.RegisterCertificateResponse) => void): Request; - /** - * Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered. - */ - registerCertificate(callback?: (err: AWSError, data: Iot.Types.RegisterCertificateResponse) => void): Request; - /** - * Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE. To check for pending certificate transfers, call ListCertificates to enumerate your certificates. This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state. - */ - rejectCertificateTransfer(params: Iot.Types.RejectCertificateTransferRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE. To check for pending certificate transfers, call ListCertificates to enumerate your certificates. This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state. - */ - rejectCertificateTransfer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Replaces the specified rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule. - */ - replaceTopicRule(params: Iot.Types.ReplaceTopicRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Replaces the specified rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule. - */ - replaceTopicRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API. - */ - setDefaultPolicyVersion(params: Iot.Types.SetDefaultPolicyVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API. - */ - setDefaultPolicyVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the logging options. - */ - setLoggingOptions(params: Iot.Types.SetLoggingOptionsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the logging options. - */ - setLoggingOptions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Transfers the specified certificate to the specified AWS account. You can cancel the transfer until it is acknowledged by the recipient. No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target. The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it. The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them. - */ - transferCertificate(params: Iot.Types.TransferCertificateRequest, callback?: (err: AWSError, data: Iot.Types.TransferCertificateResponse) => void): Request; - /** - * Transfers the specified certificate to the specified AWS account. You can cancel the transfer until it is acknowledged by the recipient. No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target. The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it. The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them. - */ - transferCertificate(callback?: (err: AWSError, data: Iot.Types.TransferCertificateResponse) => void): Request; - /** - * Updates a registered CA certificate. - */ - updateCACertificate(params: Iot.Types.UpdateCACertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a registered CA certificate. - */ - updateCACertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the status of the specified certificate. This operation is idempotent. Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect currently connected devices, but these devices will be unable to reconnect. The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate. - */ - updateCertificate(params: Iot.Types.UpdateCertificateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the status of the specified certificate. This operation is idempotent. Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect currently connected devices, but these devices will be unable to reconnect. The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate. - */ - updateCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the data for a thing. - */ - updateThing(params: Iot.Types.UpdateThingRequest, callback?: (err: AWSError, data: Iot.Types.UpdateThingResponse) => void): Request; - /** - * Updates the data for a thing. - */ - updateThing(callback?: (err: AWSError, data: Iot.Types.UpdateThingResponse) => void): Request; -} -declare namespace Iot { - export interface AcceptCertificateTransferRequest { - /** - * The ID of the certificate. - */ - certificateId: CertificateId; - /** - * Specifies whether the certificate is active. - */ - setAsActive?: SetAsActive; - } - export interface Action { - /** - * Write to a DynamoDB table. - */ - dynamoDB?: DynamoDBAction; - /** - * Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column. - */ - dynamoDBv2?: DynamoDBv2Action; - /** - * Invoke a Lambda function. - */ - lambda?: LambdaAction; - /** - * Publish to an Amazon SNS topic. - */ - sns?: SnsAction; - /** - * Publish to an Amazon SQS queue. - */ - sqs?: SqsAction; - /** - * Write data to an Amazon Kinesis stream. - */ - kinesis?: KinesisAction; - /** - * Publish to another MQTT topic. - */ - republish?: RepublishAction; - /** - * Write to an Amazon S3 bucket. - */ - s3?: S3Action; - /** - * Write to an Amazon Kinesis Firehose stream. - */ - firehose?: FirehoseAction; - /** - * Capture a CloudWatch metric. - */ - cloudwatchMetric?: CloudwatchMetricAction; - /** - * Change the state of a CloudWatch alarm. - */ - cloudwatchAlarm?: CloudwatchAlarmAction; - /** - * Write data to an Amazon Elasticsearch Service domain. - */ - elasticsearch?: ElasticsearchAction; - /** - * Send a message to a Salesforce IoT Cloud Input Stream. - */ - salesforce?: SalesforceAction; - } - export type ActionList = Action[]; - export type AlarmName = string; - export type AllowAutoRegistration = boolean; - export type AscendingOrder = boolean; - export interface AttachPrincipalPolicyRequest { - /** - * The policy name. - */ - policyName: PolicyName; - /** - * The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID. - */ - principal: Principal; - } - export interface AttachThingPrincipalRequest { - /** - * The name of the thing. - */ - thingName: ThingName; - /** - * The principal, such as a certificate or other credential. - */ - principal: Principal; - } - export interface AttachThingPrincipalResponse { - } - export type AttributeName = string; - export interface AttributePayload { - /** - * A JSON string containing up to three key-value pair in JSON format. For example: {\"attributes\":{\"string1\":\"string2\"}} - */ - attributes?: Attributes; - /** - * Specifies whether the list of attributes provided in the AttributePayload is merged with the attributes stored in the registry, instead of overwriting them. To remove an attribute, call UpdateThing with an empty attribute value. The merge attribute is only valid when calling UpdateThing. - */ - merge?: Flag; - } - export type AttributeValue = string; - export type Attributes = {[key: string]: AttributeValue}; - export type AutoRegistrationStatus = "ENABLE"|"DISABLE"|string; - export type AwsAccountId = string; - export type AwsArn = string; - export type AwsIotSqlVersion = string; - export type Boolean = boolean; - export type BucketName = string; - export interface CACertificate { - /** - * The ARN of the CA certificate. - */ - certificateArn?: CertificateArn; - /** - * The ID of the CA certificate. - */ - certificateId?: CertificateId; - /** - * The status of the CA certificate. The status value REGISTER_INACTIVE is deprecated and should not be used. - */ - status?: CACertificateStatus; - /** - * The date the CA certificate was created. - */ - creationDate?: DateType; - } - export interface CACertificateDescription { - /** - * The CA certificate ARN. - */ - certificateArn?: CertificateArn; - /** - * The CA certificate ID. - */ - certificateId?: CertificateId; - /** - * The status of a CA certificate. - */ - status?: CACertificateStatus; - /** - * The CA certificate data, in PEM format. - */ - certificatePem?: CertificatePem; - /** - * The owner of the CA certificate. - */ - ownedBy?: AwsAccountId; - /** - * The date the CA certificate was created. - */ - creationDate?: DateType; - /** - * Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE" - */ - autoRegistrationStatus?: AutoRegistrationStatus; - } - export type CACertificateStatus = "ACTIVE"|"INACTIVE"|string; - export type CACertificates = CACertificate[]; - export interface CancelCertificateTransferRequest { - /** - * The ID of the certificate. - */ - certificateId: CertificateId; - } - export type CannedAccessControlList = "private"|"public-read"|"public-read-write"|"aws-exec-read"|"authenticated-read"|"bucket-owner-read"|"bucket-owner-full-control"|"log-delivery-write"|string; - export interface Certificate { - /** - * The ARN of the certificate. - */ - certificateArn?: CertificateArn; - /** - * The ID of the certificate. - */ - certificateId?: CertificateId; - /** - * The status of the certificate. The status value REGISTER_INACTIVE is deprecated and should not be used. - */ - status?: CertificateStatus; - /** - * The date and time the certificate was created. - */ - creationDate?: DateType; - } - export type CertificateArn = string; - export interface CertificateDescription { - /** - * The ARN of the certificate. - */ - certificateArn?: CertificateArn; - /** - * The ID of the certificate. - */ - certificateId?: CertificateId; - /** - * The certificate ID of the CA certificate used to sign this certificate. - */ - caCertificateId?: CertificateId; - /** - * The status of the certificate. - */ - status?: CertificateStatus; - /** - * The certificate data, in PEM format. - */ - certificatePem?: CertificatePem; - /** - * The ID of the AWS account that owns the certificate. - */ - ownedBy?: AwsAccountId; - /** - * The ID of the AWS account of the previous owner of the certificate. - */ - previousOwnedBy?: AwsAccountId; - /** - * The date and time the certificate was created. - */ - creationDate?: DateType; - /** - * The date and time the certificate was last modified. - */ - lastModifiedDate?: DateType; - /** - * The transfer data. - */ - transferData?: TransferData; - } - export type CertificateId = string; - export type CertificatePem = string; - export type CertificateSigningRequest = string; - export type CertificateStatus = "ACTIVE"|"INACTIVE"|"REVOKED"|"PENDING_TRANSFER"|"REGISTER_INACTIVE"|"PENDING_ACTIVATION"|string; - export type Certificates = Certificate[]; - export type ClientId = string; - export interface CloudwatchAlarmAction { - /** - * The IAM role that allows access to the CloudWatch alarm. - */ - roleArn: AwsArn; - /** - * The CloudWatch alarm name. - */ - alarmName: AlarmName; - /** - * The reason for the alarm change. - */ - stateReason: StateReason; - /** - * The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. - */ - stateValue: StateValue; - } - export interface CloudwatchMetricAction { - /** - * The IAM role that allows access to the CloudWatch metric. - */ - roleArn: AwsArn; - /** - * The CloudWatch metric namespace name. - */ - metricNamespace: MetricNamespace; - /** - * The CloudWatch metric name. - */ - metricName: MetricName; - /** - * The CloudWatch metric value. - */ - metricValue: MetricValue; - /** - * The metric unit supported by CloudWatch. - */ - metricUnit: MetricUnit; - /** - * An optional Unix timestamp. - */ - metricTimestamp?: MetricTimestamp; - } - export interface CreateCertificateFromCsrRequest { - /** - * The certificate signing request (CSR). - */ - certificateSigningRequest: CertificateSigningRequest; - /** - * Specifies whether the certificate is active. - */ - setAsActive?: SetAsActive; - } - export interface CreateCertificateFromCsrResponse { - /** - * The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a principal for policy operations. - */ - certificateArn?: CertificateArn; - /** - * The ID of the certificate. Certificate management operations only take a certificateId. - */ - certificateId?: CertificateId; - /** - * The certificate data, in PEM format. - */ - certificatePem?: CertificatePem; - } - export interface CreateKeysAndCertificateRequest { - /** - * Specifies whether the certificate is active. - */ - setAsActive?: SetAsActive; - } - export interface CreateKeysAndCertificateResponse { - /** - * The ARN of the certificate. - */ - certificateArn?: CertificateArn; - /** - * The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate). - */ - certificateId?: CertificateId; - /** - * The certificate data, in PEM format. - */ - certificatePem?: CertificatePem; - /** - * The generated key pair. - */ - keyPair?: KeyPair; - } - export interface CreatePolicyRequest { - /** - * The policy name. - */ - policyName: PolicyName; - /** - * The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace. - */ - policyDocument: PolicyDocument; - } - export interface CreatePolicyResponse { - /** - * The policy name. - */ - policyName?: PolicyName; - /** - * The policy ARN. - */ - policyArn?: PolicyArn; - /** - * The JSON document that describes the policy. - */ - policyDocument?: PolicyDocument; - /** - * The policy version ID. - */ - policyVersionId?: PolicyVersionId; - } - export interface CreatePolicyVersionRequest { - /** - * The policy name. - */ - policyName: PolicyName; - /** - * The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespaces - */ - policyDocument: PolicyDocument; - /** - * Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached). - */ - setAsDefault?: SetAsDefault; - } - export interface CreatePolicyVersionResponse { - /** - * The policy ARN. - */ - policyArn?: PolicyArn; - /** - * The JSON document that describes the policy. - */ - policyDocument?: PolicyDocument; - /** - * The policy version ID. - */ - policyVersionId?: PolicyVersionId; - /** - * Specifies whether the policy version is the default. - */ - isDefaultVersion?: IsDefaultVersion; - } - export interface CreateThingRequest { - /** - * The name of the thing to create. - */ - thingName: ThingName; - /** - * The name of the thing type associated with the new thing. - */ - thingTypeName?: ThingTypeName; - /** - * The attribute payload, which consists of up to three name/value pairs in a JSON document. For example: {\"attributes\":{\"string1\":\"string2\"}} - */ - attributePayload?: AttributePayload; - } - export interface CreateThingResponse { - /** - * The name of the new thing. - */ - thingName?: ThingName; - /** - * The ARN of the new thing. - */ - thingArn?: ThingArn; - } - export interface CreateThingTypeRequest { - /** - * The name of the thing type. - */ - thingTypeName: ThingTypeName; - /** - * The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names. - */ - thingTypeProperties?: ThingTypeProperties; - } - export interface CreateThingTypeResponse { - /** - * The name of the thing type. - */ - thingTypeName?: ThingTypeName; - /** - * The Amazon Resource Name (ARN) of the thing type. - */ - thingTypeArn?: ThingTypeArn; - } - export interface CreateTopicRuleRequest { - /** - * The name of the rule. - */ - ruleName: RuleName; - /** - * The rule payload. - */ - topicRulePayload: TopicRulePayload; - } - export type CreatedAtDate = Date; - export type CreationDate = Date; - export type DateType = Date; - export interface DeleteCACertificateRequest { - /** - * The ID of the certificate to delete. - */ - certificateId: CertificateId; - } - export interface DeleteCACertificateResponse { - } - export interface DeleteCertificateRequest { - /** - * The ID of the certificate. - */ - certificateId: CertificateId; - } - export interface DeletePolicyRequest { - /** - * The name of the policy to delete. - */ - policyName: PolicyName; - } - export interface DeletePolicyVersionRequest { - /** - * The name of the policy. - */ - policyName: PolicyName; - /** - * The policy version ID. - */ - policyVersionId: PolicyVersionId; - } - export interface DeleteRegistrationCodeRequest { - } - export interface DeleteRegistrationCodeResponse { - } - export interface DeleteThingRequest { - /** - * The name of the thing to delete. - */ - thingName: ThingName; - /** - * The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the DeleteThing request is rejected with a VersionConflictException. - */ - expectedVersion?: OptionalVersion; - } - export interface DeleteThingResponse { - } - export interface DeleteThingTypeRequest { - /** - * The name of the thing type. - */ - thingTypeName: ThingTypeName; - } - export interface DeleteThingTypeResponse { - } - export interface DeleteTopicRuleRequest { - /** - * The name of the rule. - */ - ruleName: RuleName; - } - export type DeliveryStreamName = string; - export interface DeprecateThingTypeRequest { - /** - * The name of the thing type to deprecate. - */ - thingTypeName: ThingTypeName; - /** - * Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things. - */ - undoDeprecate?: UndoDeprecate; - } - export interface DeprecateThingTypeResponse { - } - export type DeprecationDate = Date; - export interface DescribeCACertificateRequest { - /** - * The CA certificate identifier. - */ - certificateId: CertificateId; - } - export interface DescribeCACertificateResponse { - /** - * The CA certificate description. - */ - certificateDescription?: CACertificateDescription; - } - export interface DescribeCertificateRequest { - /** - * The ID of the certificate. - */ - certificateId: CertificateId; - } - export interface DescribeCertificateResponse { - /** - * The description of the certificate. - */ - certificateDescription?: CertificateDescription; - } - export interface DescribeEndpointRequest { - } - export interface DescribeEndpointResponse { - /** - * The endpoint. The format of the endpoint is as follows: identifier.iot.region.amazonaws.com. - */ - endpointAddress?: EndpointAddress; - } - export interface DescribeThingRequest { - /** - * The name of the thing. - */ - thingName: ThingName; - } - export interface DescribeThingResponse { - /** - * The default client ID. - */ - defaultClientId?: ClientId; - /** - * The name of the thing. - */ - thingName?: ThingName; - /** - * The thing type name. - */ - thingTypeName?: ThingTypeName; - /** - * The thing attributes. - */ - attributes?: Attributes; - /** - * The current version of the thing record in the registry. To avoid unintentional changes to the information in the registry, you can pass the version information in the expectedVersion parameter of the UpdateThing and DeleteThing calls. - */ - version?: Version; - } - export interface DescribeThingTypeRequest { - /** - * The name of the thing type. - */ - thingTypeName: ThingTypeName; - } - export interface DescribeThingTypeResponse { - /** - * The name of the thing type. - */ - thingTypeName?: ThingTypeName; - /** - * The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names. - */ - thingTypeProperties?: ThingTypeProperties; - /** - * The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated. - */ - thingTypeMetadata?: ThingTypeMetadata; - } - export type Description = string; - export interface DetachPrincipalPolicyRequest { - /** - * The name of the policy to detach. - */ - policyName: PolicyName; - /** - * The principal. If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID. - */ - principal: Principal; - } - export interface DetachThingPrincipalRequest { - /** - * The name of the thing. - */ - thingName: ThingName; - /** - * If the principal is a certificate, this value must be ARN of the certificate. If the principal is an Amazon Cognito identity, this value must be the ID of the Amazon Cognito identity. - */ - principal: Principal; - } - export interface DetachThingPrincipalResponse { - } - export interface DisableTopicRuleRequest { - /** - * The name of the rule to disable. - */ - ruleName: RuleName; - } - export interface DynamoDBAction { - /** - * The name of the DynamoDB table. - */ - tableName: TableName; - /** - * The ARN of the IAM role that grants access to the DynamoDB table. - */ - roleArn: AwsArn; - /** - * The type of operation to be performed. This follows the substitution template, so it can be ${operation}, but the substitution must result in one of the following: INSERT, UPDATE, or DELETE. - */ - operation?: DynamoOperation; - /** - * The hash key name. - */ - hashKeyField: HashKeyField; - /** - * The hash key value. - */ - hashKeyValue: HashKeyValue; - /** - * The hash key type. Valid values are "STRING" or "NUMBER" - */ - hashKeyType?: DynamoKeyType; - /** - * The range key name. - */ - rangeKeyField?: RangeKeyField; - /** - * The range key value. - */ - rangeKeyValue?: RangeKeyValue; - /** - * The range key type. Valid values are "STRING" or "NUMBER" - */ - rangeKeyType?: DynamoKeyType; - /** - * The action payload. This name can be customized. - */ - payloadField?: PayloadField; - } - export interface DynamoDBv2Action { - /** - * The ARN of the IAM role that grants access to the DynamoDB table. - */ - roleArn?: AwsArn; - /** - * Specifies the DynamoDB table to which the message data will be written. For example: { "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } } Each attribute in the message payload will be written to a separate column in the DynamoDB database. - */ - putItem?: PutItemInput; - } - export type DynamoKeyType = "STRING"|"NUMBER"|string; - export type DynamoOperation = string; - export interface ElasticsearchAction { - /** - * The IAM role ARN that has access to Elasticsearch. - */ - roleArn: AwsArn; - /** - * The endpoint of your Elasticsearch domain. - */ - endpoint: ElasticsearchEndpoint; - /** - * The Elasticsearch index where you want to store your data. - */ - index: ElasticsearchIndex; - /** - * The type of document you are storing. - */ - type: ElasticsearchType; - /** - * The unique identifier for the document you are storing. - */ - id: ElasticsearchId; - } - export type ElasticsearchEndpoint = string; - export type ElasticsearchId = string; - export type ElasticsearchIndex = string; - export type ElasticsearchType = string; - export interface EnableTopicRuleRequest { - /** - * The name of the topic rule to enable. - */ - ruleName: RuleName; - } - export type EndpointAddress = string; - export interface FirehoseAction { - /** - * The IAM role that grants access to the Amazon Kinesis Firehost stream. - */ - roleArn: AwsArn; - /** - * The delivery stream name. - */ - deliveryStreamName: DeliveryStreamName; - /** - * A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma). - */ - separator?: FirehoseSeparator; - } - export type FirehoseSeparator = string; - export type Flag = boolean; - export type FunctionArn = string; - export interface GetLoggingOptionsRequest { - } - export interface GetLoggingOptionsResponse { - /** - * The ARN of the IAM role that grants access. - */ - roleArn?: AwsArn; - /** - * The logging level. - */ - logLevel?: LogLevel; - } - export interface GetPolicyRequest { - /** - * The name of the policy. - */ - policyName: PolicyName; - } - export interface GetPolicyResponse { - /** - * The policy name. - */ - policyName?: PolicyName; - /** - * The policy ARN. - */ - policyArn?: PolicyArn; - /** - * The JSON document that describes the policy. - */ - policyDocument?: PolicyDocument; - /** - * The default policy version ID. - */ - defaultVersionId?: PolicyVersionId; - } - export interface GetPolicyVersionRequest { - /** - * The name of the policy. - */ - policyName: PolicyName; - /** - * The policy version ID. - */ - policyVersionId: PolicyVersionId; - } - export interface GetPolicyVersionResponse { - /** - * The policy ARN. - */ - policyArn?: PolicyArn; - /** - * The policy name. - */ - policyName?: PolicyName; - /** - * The JSON document that describes the policy. - */ - policyDocument?: PolicyDocument; - /** - * The policy version ID. - */ - policyVersionId?: PolicyVersionId; - /** - * Specifies whether the policy version is the default. - */ - isDefaultVersion?: IsDefaultVersion; - } - export interface GetRegistrationCodeRequest { - } - export interface GetRegistrationCodeResponse { - /** - * The CA certificate registration code. - */ - registrationCode?: RegistrationCode; - } - export interface GetTopicRuleRequest { - /** - * The name of the rule. - */ - ruleName: RuleName; - } - export interface GetTopicRuleResponse { - /** - * The rule ARN. - */ - ruleArn?: RuleArn; - /** - * The rule. - */ - rule?: TopicRule; - } - export type HashKeyField = string; - export type HashKeyValue = string; - export type IsDefaultVersion = boolean; - export type IsDisabled = boolean; - export type Key = string; - export interface KeyPair { - /** - * The public key. - */ - PublicKey?: PublicKey; - /** - * The private key. - */ - PrivateKey?: PrivateKey; - } - export interface KinesisAction { - /** - * The ARN of the IAM role that grants access to the Amazon Kinesis stream. - */ - roleArn: AwsArn; - /** - * The name of the Amazon Kinesis stream. - */ - streamName: StreamName; - /** - * The partition key. - */ - partitionKey?: PartitionKey; - } - export interface LambdaAction { - /** - * The ARN of the Lambda function. - */ - functionArn: FunctionArn; - } - export interface ListCACertificatesRequest { - /** - * The result page size. - */ - pageSize?: PageSize; - /** - * The marker for the next set of results. - */ - marker?: Marker; - /** - * Determines the order of the results. - */ - ascendingOrder?: AscendingOrder; - } - export interface ListCACertificatesResponse { - /** - * The CA certificates registered in your AWS account. - */ - certificates?: CACertificates; - /** - * The current position within the list of CA certificates. - */ - nextMarker?: Marker; - } - export interface ListCertificatesByCARequest { - /** - * The ID of the CA certificate. This operation will list all registered device certificate that were signed by this CA certificate. - */ - caCertificateId: CertificateId; - /** - * The result page size. - */ - pageSize?: PageSize; - /** - * The marker for the next set of results. - */ - marker?: Marker; - /** - * Specifies the order for results. If True, the results are returned in ascending order, based on the creation date. - */ - ascendingOrder?: AscendingOrder; - } - export interface ListCertificatesByCAResponse { - /** - * The device certificates signed by the specified CA certificate. - */ - certificates?: Certificates; - /** - * The marker for the next set of results, or null if there are no additional results. - */ - nextMarker?: Marker; - } - export interface ListCertificatesRequest { - /** - * The result page size. - */ - pageSize?: PageSize; - /** - * The marker for the next set of results. - */ - marker?: Marker; - /** - * Specifies the order for results. If True, the results are returned in ascending order, based on the creation date. - */ - ascendingOrder?: AscendingOrder; - } - export interface ListCertificatesResponse { - /** - * The descriptions of the certificates. - */ - certificates?: Certificates; - /** - * The marker for the next set of results, or null if there are no additional results. - */ - nextMarker?: Marker; - } - export interface ListOutgoingCertificatesRequest { - /** - * The result page size. - */ - pageSize?: PageSize; - /** - * The marker for the next set of results. - */ - marker?: Marker; - /** - * Specifies the order for results. If True, the results are returned in ascending order, based on the creation date. - */ - ascendingOrder?: AscendingOrder; - } - export interface ListOutgoingCertificatesResponse { - /** - * The certificates that are being transfered but not yet accepted. - */ - outgoingCertificates?: OutgoingCertificates; - /** - * The marker for the next set of results. - */ - nextMarker?: Marker; - } - export interface ListPoliciesRequest { - /** - * The marker for the next set of results. - */ - marker?: Marker; - /** - * The result page size. - */ - pageSize?: PageSize; - /** - * Specifies the order for results. If true, the results are returned in ascending creation order. - */ - ascendingOrder?: AscendingOrder; - } - export interface ListPoliciesResponse { - /** - * The descriptions of the policies. - */ - policies?: Policies; - /** - * The marker for the next set of results, or null if there are no additional results. - */ - nextMarker?: Marker; - } - export interface ListPolicyPrincipalsRequest { - /** - * The policy name. - */ - policyName: PolicyName; - /** - * The marker for the next set of results. - */ - marker?: Marker; - /** - * The result page size. - */ - pageSize?: PageSize; - /** - * Specifies the order for results. If true, the results are returned in ascending creation order. - */ - ascendingOrder?: AscendingOrder; - } - export interface ListPolicyPrincipalsResponse { - /** - * The descriptions of the principals. - */ - principals?: Principals; - /** - * The marker for the next set of results, or null if there are no additional results. - */ - nextMarker?: Marker; - } - export interface ListPolicyVersionsRequest { - /** - * The policy name. - */ - policyName: PolicyName; - } - export interface ListPolicyVersionsResponse { - /** - * The policy versions. - */ - policyVersions?: PolicyVersions; - } - export interface ListPrincipalPoliciesRequest { - /** - * The principal. - */ - principal: Principal; - /** - * The marker for the next set of results. - */ - marker?: Marker; - /** - * The result page size. - */ - pageSize?: PageSize; - /** - * Specifies the order for results. If true, results are returned in ascending creation order. - */ - ascendingOrder?: AscendingOrder; - } - export interface ListPrincipalPoliciesResponse { - /** - * The policies. - */ - policies?: Policies; - /** - * The marker for the next set of results, or null if there are no additional results. - */ - nextMarker?: Marker; - } - export interface ListPrincipalThingsRequest { - /** - * The token for the next set of results, or null if there are no additional results. - */ - nextToken?: NextToken; - /** - * The maximum number of results to return in this operation. - */ - maxResults?: RegistryMaxResults; - /** - * The principal. - */ - principal: Principal; - } - export interface ListPrincipalThingsResponse { - /** - * The things. - */ - things?: ThingNameList; - /** - * The token for the next set of results, or null if there are no additional results. - */ - nextToken?: NextToken; - } - export interface ListThingPrincipalsRequest { - /** - * The name of the thing. - */ - thingName: ThingName; - } - export interface ListThingPrincipalsResponse { - /** - * The principals associated with the thing. - */ - principals?: Principals; - } - export interface ListThingTypesRequest { - /** - * The token for the next set of results, or null if there are no additional results. - */ - nextToken?: NextToken; - /** - * The maximum number of results to return in this operation. - */ - maxResults?: RegistryMaxResults; - /** - * The name of the thing type. - */ - thingTypeName?: ThingTypeName; - } - export interface ListThingTypesResponse { - /** - * The thing types. - */ - thingTypes?: ThingTypeList; - /** - * The token for the next set of results, or null if there are no additional results. - */ - nextToken?: NextToken; - } - export interface ListThingsRequest { - /** - * The token for the next set of results, or null if there are no additional results. - */ - nextToken?: NextToken; - /** - * The maximum number of results to return in this operation. - */ - maxResults?: RegistryMaxResults; - /** - * The attribute name used to search for things. - */ - attributeName?: AttributeName; - /** - * The attribute value used to search for things. - */ - attributeValue?: AttributeValue; - /** - * The name of the thing type used to search for things. - */ - thingTypeName?: ThingTypeName; - } - export interface ListThingsResponse { - /** - * The things. - */ - things?: ThingAttributeList; - /** - * The token for the next set of results, or null if there are no additional results. - */ - nextToken?: NextToken; - } - export interface ListTopicRulesRequest { - /** - * The topic. - */ - topic?: Topic; - /** - * The maximum number of results to return. - */ - maxResults?: MaxResults; - /** - * A token used to retrieve the next value. - */ - nextToken?: NextToken; - /** - * Specifies whether the rule is disabled. - */ - ruleDisabled?: IsDisabled; - } - export interface ListTopicRulesResponse { - /** - * The rules. - */ - rules?: TopicRuleList; - /** - * A token used to retrieve the next value. - */ - nextToken?: NextToken; - } - export type LogLevel = "DEBUG"|"INFO"|"ERROR"|"WARN"|"DISABLED"|string; - export interface LoggingOptionsPayload { - /** - * The ARN of the IAM role that grants access. - */ - roleArn: AwsArn; - /** - * The logging level. - */ - logLevel?: LogLevel; - } - export type Marker = string; - export type MaxResults = number; - export type Message = string; - export type MessageFormat = "RAW"|"JSON"|string; - export type MetricName = string; - export type MetricNamespace = string; - export type MetricTimestamp = string; - export type MetricUnit = string; - export type MetricValue = string; - export type NextToken = string; - export type OptionalVersion = number; - export interface OutgoingCertificate { - /** - * The certificate ARN. - */ - certificateArn?: CertificateArn; - /** - * The certificate ID. - */ - certificateId?: CertificateId; - /** - * The AWS account to which the transfer was made. - */ - transferredTo?: AwsAccountId; - /** - * The date the transfer was initiated. - */ - transferDate?: DateType; - /** - * The transfer message. - */ - transferMessage?: Message; - /** - * The certificate creation date. - */ - creationDate?: DateType; - } - export type OutgoingCertificates = OutgoingCertificate[]; - export type PageSize = number; - export type PartitionKey = string; - export type PayloadField = string; - export type Policies = Policy[]; - export interface Policy { - /** - * The policy name. - */ - policyName?: PolicyName; - /** - * The policy ARN. - */ - policyArn?: PolicyArn; - } - export type PolicyArn = string; - export type PolicyDocument = string; - export type PolicyName = string; - export interface PolicyVersion { - /** - * The policy version ID. - */ - versionId?: PolicyVersionId; - /** - * Specifies whether the policy version is the default. - */ - isDefaultVersion?: IsDefaultVersion; - /** - * The date and time the policy was created. - */ - createDate?: DateType; - } - export type PolicyVersionId = string; - export type PolicyVersions = PolicyVersion[]; - export type Principal = string; - export type PrincipalArn = string; - export type Principals = PrincipalArn[]; - export type PrivateKey = string; - export type PublicKey = string; - export interface PutItemInput { - /** - * The table where the message data will be written - */ - tableName: TableName; - } - export type QueueUrl = string; - export type RangeKeyField = string; - export type RangeKeyValue = string; - export interface RegisterCACertificateRequest { - /** - * The CA certificate. - */ - caCertificate: CertificatePem; - /** - * The private key verification certificate. - */ - verificationCertificate: CertificatePem; - /** - * A boolean value that specifies if the CA certificate is set to active. - */ - setAsActive?: SetAsActive; - /** - * Allows this CA certificate to be used for auto registration of device certificates. - */ - allowAutoRegistration?: AllowAutoRegistration; - } - export interface RegisterCACertificateResponse { - /** - * The CA certificate ARN. - */ - certificateArn?: CertificateArn; - /** - * The CA certificate identifier. - */ - certificateId?: CertificateId; - } - export interface RegisterCertificateRequest { - /** - * The certificate data, in PEM format. - */ - certificatePem: CertificatePem; - /** - * The CA certificate used to sign the device certificate being registered. - */ - caCertificatePem?: CertificatePem; - /** - * A boolean value that specifies if the CA certificate is set to active. - */ - setAsActive?: SetAsActiveFlag; - /** - * The status of the register certificate request. - */ - status?: CertificateStatus; - } - export interface RegisterCertificateResponse { - /** - * The certificate ARN. - */ - certificateArn?: CertificateArn; - /** - * The certificate identifier. - */ - certificateId?: CertificateId; - } - export type RegistrationCode = string; - export type RegistryMaxResults = number; - export interface RejectCertificateTransferRequest { - /** - * The ID of the certificate. - */ - certificateId: CertificateId; - /** - * The reason the certificate transfer was rejected. - */ - rejectReason?: Message; - } - export type RemoveThingType = boolean; - export interface ReplaceTopicRuleRequest { - /** - * The name of the rule. - */ - ruleName: RuleName; - /** - * The rule payload. - */ - topicRulePayload: TopicRulePayload; - } - export interface RepublishAction { - /** - * The ARN of the IAM role that grants access. - */ - roleArn: AwsArn; - /** - * The name of the MQTT topic. - */ - topic: TopicPattern; - } - export type RuleArn = string; - export type RuleName = string; - export interface S3Action { - /** - * The ARN of the IAM role that grants access. - */ - roleArn: AwsArn; - /** - * The Amazon S3 bucket. - */ - bucketName: BucketName; - /** - * The object key. - */ - key: Key; - /** - * The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs. - */ - cannedAcl?: CannedAccessControlList; - } - export type SQL = string; - export interface SalesforceAction { - /** - * The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - */ - token: SalesforceToken; - /** - * The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - */ - url: SalesforceEndpoint; - } - export type SalesforceEndpoint = string; - export type SalesforceToken = string; - export type SearchableAttributes = AttributeName[]; - export type SetAsActive = boolean; - export type SetAsActiveFlag = boolean; - export type SetAsDefault = boolean; - export interface SetDefaultPolicyVersionRequest { - /** - * The policy name. - */ - policyName: PolicyName; - /** - * The policy version ID. - */ - policyVersionId: PolicyVersionId; - } - export interface SetLoggingOptionsRequest { - /** - * The logging options payload. - */ - loggingOptionsPayload: LoggingOptionsPayload; - } - export interface SnsAction { - /** - * The ARN of the SNS topic. - */ - targetArn: AwsArn; - /** - * The ARN of the IAM role that grants access. - */ - roleArn: AwsArn; - /** - * The message format of the message to publish. Optional. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see http://docs.aws.amazon.com/sns/latest/dg/json-formats.html refer to their official documentation. - */ - messageFormat?: MessageFormat; - } - export interface SqsAction { - /** - * The ARN of the IAM role that grants access. - */ - roleArn: AwsArn; - /** - * The URL of the Amazon SQS queue. - */ - queueUrl: QueueUrl; - /** - * Specifies whether to use Base64 encoding. - */ - useBase64?: UseBase64; - } - export type StateReason = string; - export type StateValue = string; - export type StreamName = string; - export type TableName = string; - export type ThingArn = string; - export interface ThingAttribute { - /** - * The name of the thing. - */ - thingName?: ThingName; - /** - * The name of the thing type, if the thing has been associated with a type. - */ - thingTypeName?: ThingTypeName; - /** - * A list of thing attributes which are name-value pairs. - */ - attributes?: Attributes; - /** - * The version of the thing record in the registry. - */ - version?: Version; - } - export type ThingAttributeList = ThingAttribute[]; - export type ThingName = string; - export type ThingNameList = ThingName[]; - export type ThingTypeArn = string; - export interface ThingTypeDefinition { - /** - * The name of the thing type. - */ - thingTypeName?: ThingTypeName; - /** - * The ThingTypeProperties for the thing type. - */ - thingTypeProperties?: ThingTypeProperties; - /** - * The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated. - */ - thingTypeMetadata?: ThingTypeMetadata; - } - export type ThingTypeDescription = string; - export type ThingTypeList = ThingTypeDefinition[]; - export interface ThingTypeMetadata { - /** - * Whether the thing type is deprecated. If true, no new things could be associated with this type. - */ - deprecated?: Boolean; - /** - * The date and time when the thing type was deprecated. - */ - deprecationDate?: DeprecationDate; - /** - * The date and time when the thing type was created. - */ - creationDate?: CreationDate; - } - export type ThingTypeName = string; - export interface ThingTypeProperties { - /** - * The description of the thing type. - */ - thingTypeDescription?: ThingTypeDescription; - /** - * A list of searchable thing attribute names. - */ - searchableAttributes?: SearchableAttributes; - } - export type Topic = string; - export type TopicPattern = string; - export interface TopicRule { - /** - * The name of the rule. - */ - ruleName?: RuleName; - /** - * The SQL statement used to query the topic. When using a SQL query with multiple lines, be sure to escape the newline characters. - */ - sql?: SQL; - /** - * The description of the rule. - */ - description?: Description; - /** - * The date and time the rule was created. - */ - createdAt?: CreatedAtDate; - /** - * The actions associated with the rule. - */ - actions?: ActionList; - /** - * Specifies whether the rule is disabled. - */ - ruleDisabled?: IsDisabled; - /** - * The version of the SQL rules engine to use when evaluating the rule. - */ - awsIotSqlVersion?: AwsIotSqlVersion; - } - export type TopicRuleList = TopicRuleListItem[]; - export interface TopicRuleListItem { - /** - * The rule ARN. - */ - ruleArn?: RuleArn; - /** - * The name of the rule. - */ - ruleName?: RuleName; - /** - * The pattern for the topic names that apply. - */ - topicPattern?: TopicPattern; - /** - * The date and time the rule was created. - */ - createdAt?: CreatedAtDate; - /** - * Specifies whether the rule is disabled. - */ - ruleDisabled?: IsDisabled; - } - export interface TopicRulePayload { - /** - * The SQL statement used to query the topic. For more information, see AWS IoT SQL Reference in the AWS IoT Developer Guide. - */ - sql: SQL; - /** - * The description of the rule. - */ - description?: Description; - /** - * The actions associated with the rule. - */ - actions: ActionList; - /** - * Specifies whether the rule is disabled. - */ - ruleDisabled?: IsDisabled; - /** - * The version of the SQL rules engine to use when evaluating the rule. - */ - awsIotSqlVersion?: AwsIotSqlVersion; - } - export interface TransferCertificateRequest { - /** - * The ID of the certificate. - */ - certificateId: CertificateId; - /** - * The AWS account. - */ - targetAwsAccount: AwsAccountId; - /** - * The transfer message. - */ - transferMessage?: Message; - } - export interface TransferCertificateResponse { - /** - * The ARN of the certificate. - */ - transferredCertificateArn?: CertificateArn; - } - export interface TransferData { - /** - * The transfer message. - */ - transferMessage?: Message; - /** - * The reason why the transfer was rejected. - */ - rejectReason?: Message; - /** - * The date the transfer took place. - */ - transferDate?: DateType; - /** - * The date the transfer was accepted. - */ - acceptDate?: DateType; - /** - * The date the transfer was rejected. - */ - rejectDate?: DateType; - } - export type UndoDeprecate = boolean; - export interface UpdateCACertificateRequest { - /** - * The CA certificate identifier. - */ - certificateId: CertificateId; - /** - * The updated status of the CA certificate. Note: The status value REGISTER_INACTIVE is deprecated and should not be used. - */ - newStatus?: CACertificateStatus; - /** - * The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE". - */ - newAutoRegistrationStatus?: AutoRegistrationStatus; - } - export interface UpdateCertificateRequest { - /** - * The ID of the certificate. - */ - certificateId: CertificateId; - /** - * The new status. Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use. Note: The status value REGISTER_INACTIVE is deprecated and should not be used. - */ - newStatus: CertificateStatus; - } - export interface UpdateThingRequest { - /** - * The name of the thing to update. - */ - thingName: ThingName; - /** - * The name of the thing type. - */ - thingTypeName?: ThingTypeName; - /** - * A list of thing attributes, a JSON string containing name-value pairs. For example: {\"attributes\":{\"name1\":\"value2\"}} This data is used to add new attributes or update existing attributes. - */ - attributePayload?: AttributePayload; - /** - * The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the UpdateThing request is rejected with a VersionConflictException. - */ - expectedVersion?: OptionalVersion; - /** - * Remove a thing type association. If true, the assocation is removed. - */ - removeThingType?: RemoveThingType; - } - export interface UpdateThingResponse { - } - export type UseBase64 = boolean; - export type Version = number; - export type errorMessage = string; - export type resourceArn = string; - export type resourceId = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-05-28"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Iot client. - */ - export import Types = Iot; -} -export = Iot; diff --git a/src/node_modules/aws-sdk/clients/iot.js b/src/node_modules/aws-sdk/clients/iot.js deleted file mode 100644 index 7007a47..0000000 --- a/src/node_modules/aws-sdk/clients/iot.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['iot'] = {}; -AWS.Iot = Service.defineService('iot', ['2015-05-28']); -Object.defineProperty(apiLoader.services['iot'], '2015-05-28', { - get: function get() { - var model = require('../apis/iot-2015-05-28.min.json'); - model.paginators = require('../apis/iot-2015-05-28.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Iot; diff --git a/src/node_modules/aws-sdk/clients/iotdata.d.ts b/src/node_modules/aws-sdk/clients/iotdata.d.ts deleted file mode 100644 index 8d921ae..0000000 --- a/src/node_modules/aws-sdk/clients/iotdata.d.ts +++ /dev/null @@ -1,125 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class IotData extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: IotData.Types.ClientConfiguration) - config: Config & IotData.Types.ClientConfiguration; - /** - * Deletes the thing shadow for the specified thing. For more information, see DeleteThingShadow in the AWS IoT Developer Guide. - */ - deleteThingShadow(params: IotData.Types.DeleteThingShadowRequest, callback?: (err: AWSError, data: IotData.Types.DeleteThingShadowResponse) => void): Request; - /** - * Deletes the thing shadow for the specified thing. For more information, see DeleteThingShadow in the AWS IoT Developer Guide. - */ - deleteThingShadow(callback?: (err: AWSError, data: IotData.Types.DeleteThingShadowResponse) => void): Request; - /** - * Gets the thing shadow for the specified thing. For more information, see GetThingShadow in the AWS IoT Developer Guide. - */ - getThingShadow(params: IotData.Types.GetThingShadowRequest, callback?: (err: AWSError, data: IotData.Types.GetThingShadowResponse) => void): Request; - /** - * Gets the thing shadow for the specified thing. For more information, see GetThingShadow in the AWS IoT Developer Guide. - */ - getThingShadow(callback?: (err: AWSError, data: IotData.Types.GetThingShadowResponse) => void): Request; - /** - * Publishes state information. For more information, see HTTP Protocol in the AWS IoT Developer Guide. - */ - publish(params: IotData.Types.PublishRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Publishes state information. For more information, see HTTP Protocol in the AWS IoT Developer Guide. - */ - publish(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the thing shadow for the specified thing. For more information, see UpdateThingShadow in the AWS IoT Developer Guide. - */ - updateThingShadow(params: IotData.Types.UpdateThingShadowRequest, callback?: (err: AWSError, data: IotData.Types.UpdateThingShadowResponse) => void): Request; - /** - * Updates the thing shadow for the specified thing. For more information, see UpdateThingShadow in the AWS IoT Developer Guide. - */ - updateThingShadow(callback?: (err: AWSError, data: IotData.Types.UpdateThingShadowResponse) => void): Request; -} -declare namespace IotData { - export interface DeleteThingShadowRequest { - /** - * The name of the thing. - */ - thingName: ThingName; - } - export interface DeleteThingShadowResponse { - /** - * The state information, in JSON format. - */ - payload: JsonDocument; - } - export type ErrorMessage = string; - export interface GetThingShadowRequest { - /** - * The name of the thing. - */ - thingName: ThingName; - } - export interface GetThingShadowResponse { - /** - * The state information, in JSON format. - */ - payload?: JsonDocument; - } - export type JsonDocument = Buffer|Uint8Array|Blob|string; - export type Payload = Buffer|Uint8Array|Blob|string; - export interface PublishRequest { - /** - * The name of the MQTT topic. - */ - topic: Topic; - /** - * The Quality of Service (QoS) level. - */ - qos?: Qos; - /** - * The state information, in JSON format. - */ - payload?: Payload; - } - export type Qos = number; - export type ThingName = string; - export type Topic = string; - export interface UpdateThingShadowRequest { - /** - * The name of the thing. - */ - thingName: ThingName; - /** - * The state information, in JSON format. - */ - payload: JsonDocument; - } - export interface UpdateThingShadowResponse { - /** - * The state information, in JSON format. - */ - payload?: JsonDocument; - } - export type errorMessage = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-05-28"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the IotData client. - */ - export import Types = IotData; -} -export = IotData; diff --git a/src/node_modules/aws-sdk/clients/iotdata.js b/src/node_modules/aws-sdk/clients/iotdata.js deleted file mode 100644 index fca5f56..0000000 --- a/src/node_modules/aws-sdk/clients/iotdata.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['iotdata'] = {}; -AWS.IotData = Service.defineService('iotdata', ['2015-05-28']); -require('../lib/services/iotdata'); -Object.defineProperty(apiLoader.services['iotdata'], '2015-05-28', { - get: function get() { - var model = require('../apis/iot-data-2015-05-28.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IotData; diff --git a/src/node_modules/aws-sdk/clients/kinesis.d.ts b/src/node_modules/aws-sdk/clients/kinesis.d.ts deleted file mode 100644 index 02821c9..0000000 --- a/src/node_modules/aws-sdk/clients/kinesis.d.ts +++ /dev/null @@ -1,769 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Kinesis extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Kinesis.Types.ClientConfiguration) - config: Config & Kinesis.Types.ClientConfiguration; - /** - * Adds or updates tags for the specified Amazon Kinesis stream. Each stream can have up to 10 tags. If tags have already been assigned to the stream, AddTagsToStream overwrites any existing tags that correspond to the specified tag keys. - */ - addTagsToStream(params: Kinesis.Types.AddTagsToStreamInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or updates tags for the specified Amazon Kinesis stream. Each stream can have up to 10 tags. If tags have already been assigned to the stream, AddTagsToStream overwrites any existing tags that correspond to the specified tag keys. - */ - addTagsToStream(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates an Amazon Kinesis stream. A stream captures and transports data records that are continuously emitted from different data sources or producers. Scale-out within a stream is explicitly supported by means of shards, which are uniquely identified groups of data records in a stream. You specify and control the number of shards that a stream is composed of. Each shard can support reads up to 5 transactions per second, up to a maximum data read total of 2 MB per second. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MB per second. You can add shards to a stream if the amount of data input increases and you can remove shards if the amount of data input decreases. The stream name identifies the stream. The name is scoped to the AWS account used by the application. It is also scoped by region. That is, two streams in two different accounts can have the same name, and two streams in the same account, but in two different regions, can have the same name. CreateStream is an asynchronous operation. Upon receiving a CreateStream request, Amazon Kinesis immediately returns and sets the stream status to CREATING. After the stream is created, Amazon Kinesis sets the stream status to ACTIVE. You should perform read and write operations only on an ACTIVE stream. You receive a LimitExceededException when making a CreateStream request if you try to do one of the following: Have more than five streams in the CREATING state at any point in time. Create more shards than are authorized for your account. For the default shard limit for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase this limit, contact AWS Support. You can use DescribeStream to check the stream status, which is returned in StreamStatus. CreateStream has a limit of 5 transactions per second per account. - */ - createStream(params: Kinesis.Types.CreateStreamInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates an Amazon Kinesis stream. A stream captures and transports data records that are continuously emitted from different data sources or producers. Scale-out within a stream is explicitly supported by means of shards, which are uniquely identified groups of data records in a stream. You specify and control the number of shards that a stream is composed of. Each shard can support reads up to 5 transactions per second, up to a maximum data read total of 2 MB per second. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MB per second. You can add shards to a stream if the amount of data input increases and you can remove shards if the amount of data input decreases. The stream name identifies the stream. The name is scoped to the AWS account used by the application. It is also scoped by region. That is, two streams in two different accounts can have the same name, and two streams in the same account, but in two different regions, can have the same name. CreateStream is an asynchronous operation. Upon receiving a CreateStream request, Amazon Kinesis immediately returns and sets the stream status to CREATING. After the stream is created, Amazon Kinesis sets the stream status to ACTIVE. You should perform read and write operations only on an ACTIVE stream. You receive a LimitExceededException when making a CreateStream request if you try to do one of the following: Have more than five streams in the CREATING state at any point in time. Create more shards than are authorized for your account. For the default shard limit for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase this limit, contact AWS Support. You can use DescribeStream to check the stream status, which is returned in StreamStatus. CreateStream has a limit of 5 transactions per second per account. - */ - createStream(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Decreases the Amazon Kinesis stream's retention period, which is the length of time data records are accessible after they are added to the stream. The minimum value of a stream's retention period is 24 hours. This operation may result in lost data. For example, if the stream's retention period is 48 hours and is decreased to 24 hours, any data already in the stream that is older than 24 hours is inaccessible. - */ - decreaseStreamRetentionPeriod(params: Kinesis.Types.DecreaseStreamRetentionPeriodInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Decreases the Amazon Kinesis stream's retention period, which is the length of time data records are accessible after they are added to the stream. The minimum value of a stream's retention period is 24 hours. This operation may result in lost data. For example, if the stream's retention period is 48 hours and is decreased to 24 hours, any data already in the stream that is older than 24 hours is inaccessible. - */ - decreaseStreamRetentionPeriod(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an Amazon Kinesis stream and all its shards and data. You must shut down any applications that are operating on the stream before you delete the stream. If an application attempts to operate on a deleted stream, it will receive the exception ResourceNotFoundException. If the stream is in the ACTIVE state, you can delete it. After a DeleteStream request, the specified stream is in the DELETING state until Amazon Kinesis completes the deletion. Note: Amazon Kinesis might continue to accept data read and write operations, such as PutRecord, PutRecords, and GetRecords, on a stream in the DELETING state until the stream deletion is complete. When you delete a stream, any shards in that stream are also deleted, and any tags are dissociated from the stream. You can use the DescribeStream operation to check the state of the stream, which is returned in StreamStatus. DeleteStream has a limit of 5 transactions per second per account. - */ - deleteStream(params: Kinesis.Types.DeleteStreamInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an Amazon Kinesis stream and all its shards and data. You must shut down any applications that are operating on the stream before you delete the stream. If an application attempts to operate on a deleted stream, it will receive the exception ResourceNotFoundException. If the stream is in the ACTIVE state, you can delete it. After a DeleteStream request, the specified stream is in the DELETING state until Amazon Kinesis completes the deletion. Note: Amazon Kinesis might continue to accept data read and write operations, such as PutRecord, PutRecords, and GetRecords, on a stream in the DELETING state until the stream deletion is complete. When you delete a stream, any shards in that stream are also deleted, and any tags are dissociated from the stream. You can use the DescribeStream operation to check the state of the stream, which is returned in StreamStatus. DeleteStream has a limit of 5 transactions per second per account. - */ - deleteStream(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Describes the shard limits and usage for the account. If you update your account limits, the old limits might be returned for a few minutes. This operation has a limit of 1 transaction per second per account. - */ - describeLimits(params: Kinesis.Types.DescribeLimitsInput, callback?: (err: AWSError, data: Kinesis.Types.DescribeLimitsOutput) => void): Request; - /** - * Describes the shard limits and usage for the account. If you update your account limits, the old limits might be returned for a few minutes. This operation has a limit of 1 transaction per second per account. - */ - describeLimits(callback?: (err: AWSError, data: Kinesis.Types.DescribeLimitsOutput) => void): Request; - /** - * Describes the specified Amazon Kinesis stream. The information returned includes the stream name, Amazon Resource Name (ARN), creation time, enhanced metric configuration, and shard map. The shard map is an array of shard objects. For each shard object, there is the hash key and sequence number ranges that the shard spans, and the IDs of any earlier shards that played in a role in creating the shard. Every record ingested in the stream is identified by a sequence number, which is assigned when the record is put into the stream. You can limit the number of shards returned by each call. For more information, see Retrieving Shards from a Stream in the Amazon Kinesis Streams Developer Guide. There are no guarantees about the chronological order shards returned. To process shards in chronological order, use the ID of the parent shard to track the lineage to the oldest shard. This operation has a limit of 10 transactions per second per account. - */ - describeStream(params: Kinesis.Types.DescribeStreamInput, callback?: (err: AWSError, data: Kinesis.Types.DescribeStreamOutput) => void): Request; - /** - * Describes the specified Amazon Kinesis stream. The information returned includes the stream name, Amazon Resource Name (ARN), creation time, enhanced metric configuration, and shard map. The shard map is an array of shard objects. For each shard object, there is the hash key and sequence number ranges that the shard spans, and the IDs of any earlier shards that played in a role in creating the shard. Every record ingested in the stream is identified by a sequence number, which is assigned when the record is put into the stream. You can limit the number of shards returned by each call. For more information, see Retrieving Shards from a Stream in the Amazon Kinesis Streams Developer Guide. There are no guarantees about the chronological order shards returned. To process shards in chronological order, use the ID of the parent shard to track the lineage to the oldest shard. This operation has a limit of 10 transactions per second per account. - */ - describeStream(callback?: (err: AWSError, data: Kinesis.Types.DescribeStreamOutput) => void): Request; - /** - * Disables enhanced monitoring. - */ - disableEnhancedMonitoring(params: Kinesis.Types.DisableEnhancedMonitoringInput, callback?: (err: AWSError, data: Kinesis.Types.EnhancedMonitoringOutput) => void): Request; - /** - * Disables enhanced monitoring. - */ - disableEnhancedMonitoring(callback?: (err: AWSError, data: Kinesis.Types.EnhancedMonitoringOutput) => void): Request; - /** - * Enables enhanced Amazon Kinesis stream monitoring for shard-level metrics. - */ - enableEnhancedMonitoring(params: Kinesis.Types.EnableEnhancedMonitoringInput, callback?: (err: AWSError, data: Kinesis.Types.EnhancedMonitoringOutput) => void): Request; - /** - * Enables enhanced Amazon Kinesis stream monitoring for shard-level metrics. - */ - enableEnhancedMonitoring(callback?: (err: AWSError, data: Kinesis.Types.EnhancedMonitoringOutput) => void): Request; - /** - * Gets data records from an Amazon Kinesis stream's shard. Specify a shard iterator using the ShardIterator parameter. The shard iterator specifies the position in the shard from which you want to start reading data records sequentially. If there are no records available in the portion of the shard that the iterator points to, GetRecords returns an empty list. Note that it might take multiple calls to get to a portion of the shard that contains records. You can scale by provisioning multiple shards per stream while considering service limits (for more information, see Streams Limits in the Amazon Kinesis Streams Developer Guide). Your application should have one thread per shard, each reading continuously from its stream. To read from a stream continually, call GetRecords in a loop. Use GetShardIterator to get the shard iterator to specify in the first GetRecords call. GetRecords returns a new shard iterator in NextShardIterator. Specify the shard iterator returned in NextShardIterator in subsequent calls to GetRecords. Note that if the shard has been closed, the shard iterator can't return more data and GetRecords returns null in NextShardIterator. You can terminate the loop when the shard is closed, or when the shard iterator reaches the record with the sequence number or other attribute that marks it as the last record to process. Each data record can be up to 1 MB in size, and each shard can read up to 2 MB per second. You can ensure that your calls don't exceed the maximum supported size or throughput by using the Limit parameter to specify the maximum number of records that GetRecords can return. Consider your average record size when determining this limit. The size of the data returned by GetRecords varies depending on the utilization of the shard. The maximum size of data that GetRecords can return is 10 MB. If a call returns this amount of data, subsequent calls made within the next 5 seconds throw ProvisionedThroughputExceededException. If there is insufficient provisioned throughput on the shard, subsequent calls made within the next 1 second throw ProvisionedThroughputExceededException. Note that GetRecords won't return any data when it throws an exception. For this reason, we recommend that you wait one second between calls to GetRecords; however, it's possible that the application will get exceptions for longer than 1 second. To detect whether the application is falling behind in processing, you can use the MillisBehindLatest response attribute. You can also monitor the stream using CloudWatch metrics and other mechanisms (see Monitoring in the Amazon Kinesis Streams Developer Guide). Each Amazon Kinesis record includes a value, ApproximateArrivalTimestamp, that is set when a stream successfully receives and stores a record. This is commonly referred to as a server-side timestamp, whereas a client-side timestamp is set when a data producer creates or sends the record to a stream (a data producer is any data source putting data records into a stream, for example with PutRecords). The timestamp has millisecond precision. There are no guarantees about the timestamp accuracy, or that the timestamp is always increasing. For example, records in a shard or across a stream might have timestamps that are out of order. - */ - getRecords(params: Kinesis.Types.GetRecordsInput, callback?: (err: AWSError, data: Kinesis.Types.GetRecordsOutput) => void): Request; - /** - * Gets data records from an Amazon Kinesis stream's shard. Specify a shard iterator using the ShardIterator parameter. The shard iterator specifies the position in the shard from which you want to start reading data records sequentially. If there are no records available in the portion of the shard that the iterator points to, GetRecords returns an empty list. Note that it might take multiple calls to get to a portion of the shard that contains records. You can scale by provisioning multiple shards per stream while considering service limits (for more information, see Streams Limits in the Amazon Kinesis Streams Developer Guide). Your application should have one thread per shard, each reading continuously from its stream. To read from a stream continually, call GetRecords in a loop. Use GetShardIterator to get the shard iterator to specify in the first GetRecords call. GetRecords returns a new shard iterator in NextShardIterator. Specify the shard iterator returned in NextShardIterator in subsequent calls to GetRecords. Note that if the shard has been closed, the shard iterator can't return more data and GetRecords returns null in NextShardIterator. You can terminate the loop when the shard is closed, or when the shard iterator reaches the record with the sequence number or other attribute that marks it as the last record to process. Each data record can be up to 1 MB in size, and each shard can read up to 2 MB per second. You can ensure that your calls don't exceed the maximum supported size or throughput by using the Limit parameter to specify the maximum number of records that GetRecords can return. Consider your average record size when determining this limit. The size of the data returned by GetRecords varies depending on the utilization of the shard. The maximum size of data that GetRecords can return is 10 MB. If a call returns this amount of data, subsequent calls made within the next 5 seconds throw ProvisionedThroughputExceededException. If there is insufficient provisioned throughput on the shard, subsequent calls made within the next 1 second throw ProvisionedThroughputExceededException. Note that GetRecords won't return any data when it throws an exception. For this reason, we recommend that you wait one second between calls to GetRecords; however, it's possible that the application will get exceptions for longer than 1 second. To detect whether the application is falling behind in processing, you can use the MillisBehindLatest response attribute. You can also monitor the stream using CloudWatch metrics and other mechanisms (see Monitoring in the Amazon Kinesis Streams Developer Guide). Each Amazon Kinesis record includes a value, ApproximateArrivalTimestamp, that is set when a stream successfully receives and stores a record. This is commonly referred to as a server-side timestamp, whereas a client-side timestamp is set when a data producer creates or sends the record to a stream (a data producer is any data source putting data records into a stream, for example with PutRecords). The timestamp has millisecond precision. There are no guarantees about the timestamp accuracy, or that the timestamp is always increasing. For example, records in a shard or across a stream might have timestamps that are out of order. - */ - getRecords(callback?: (err: AWSError, data: Kinesis.Types.GetRecordsOutput) => void): Request; - /** - * Gets an Amazon Kinesis shard iterator. A shard iterator expires five minutes after it is returned to the requester. A shard iterator specifies the shard position from which to start reading data records sequentially. The position is specified using the sequence number of a data record in a shard. A sequence number is the identifier associated with every record ingested in the stream, and is assigned when a record is put into the stream. Each stream has one or more shards. You must specify the shard iterator type. For example, you can set the ShardIteratorType parameter to read exactly from the position denoted by a specific sequence number by using the AT_SEQUENCE_NUMBER shard iterator type, or right after the sequence number by using the AFTER_SEQUENCE_NUMBER shard iterator type, using sequence numbers returned by earlier calls to PutRecord, PutRecords, GetRecords, or DescribeStream. In the request, you can specify the shard iterator type AT_TIMESTAMP to read records from an arbitrary point in time, TRIM_HORIZON to cause ShardIterator to point to the last untrimmed record in the shard in the system (the oldest data record in the shard), or LATEST so that you always read the most recent data in the shard. When you read repeatedly from a stream, use a GetShardIterator request to get the first shard iterator for use in your first GetRecords request and for subsequent reads use the shard iterator returned by the GetRecords request in NextShardIterator. A new shard iterator is returned by every GetRecords request in NextShardIterator, which you use in the ShardIterator parameter of the next GetRecords request. If a GetShardIterator request is made too often, you receive a ProvisionedThroughputExceededException. For more information about throughput limits, see GetRecords, and Streams Limits in the Amazon Kinesis Streams Developer Guide. If the shard is closed, GetShardIterator returns a valid iterator for the last sequence number of the shard. Note that a shard can be closed as a result of using SplitShard or MergeShards. GetShardIterator has a limit of 5 transactions per second per account per open shard. - */ - getShardIterator(params: Kinesis.Types.GetShardIteratorInput, callback?: (err: AWSError, data: Kinesis.Types.GetShardIteratorOutput) => void): Request; - /** - * Gets an Amazon Kinesis shard iterator. A shard iterator expires five minutes after it is returned to the requester. A shard iterator specifies the shard position from which to start reading data records sequentially. The position is specified using the sequence number of a data record in a shard. A sequence number is the identifier associated with every record ingested in the stream, and is assigned when a record is put into the stream. Each stream has one or more shards. You must specify the shard iterator type. For example, you can set the ShardIteratorType parameter to read exactly from the position denoted by a specific sequence number by using the AT_SEQUENCE_NUMBER shard iterator type, or right after the sequence number by using the AFTER_SEQUENCE_NUMBER shard iterator type, using sequence numbers returned by earlier calls to PutRecord, PutRecords, GetRecords, or DescribeStream. In the request, you can specify the shard iterator type AT_TIMESTAMP to read records from an arbitrary point in time, TRIM_HORIZON to cause ShardIterator to point to the last untrimmed record in the shard in the system (the oldest data record in the shard), or LATEST so that you always read the most recent data in the shard. When you read repeatedly from a stream, use a GetShardIterator request to get the first shard iterator for use in your first GetRecords request and for subsequent reads use the shard iterator returned by the GetRecords request in NextShardIterator. A new shard iterator is returned by every GetRecords request in NextShardIterator, which you use in the ShardIterator parameter of the next GetRecords request. If a GetShardIterator request is made too often, you receive a ProvisionedThroughputExceededException. For more information about throughput limits, see GetRecords, and Streams Limits in the Amazon Kinesis Streams Developer Guide. If the shard is closed, GetShardIterator returns a valid iterator for the last sequence number of the shard. Note that a shard can be closed as a result of using SplitShard or MergeShards. GetShardIterator has a limit of 5 transactions per second per account per open shard. - */ - getShardIterator(callback?: (err: AWSError, data: Kinesis.Types.GetShardIteratorOutput) => void): Request; - /** - * Increases the Amazon Kinesis stream's retention period, which is the length of time data records are accessible after they are added to the stream. The maximum value of a stream's retention period is 168 hours (7 days). Upon choosing a longer stream retention period, this operation will increase the time period records are accessible that have not yet expired. However, it will not make previous data that has expired (older than the stream's previous retention period) accessible after the operation has been called. For example, if a stream's retention period is set to 24 hours and is increased to 168 hours, any data that is older than 24 hours will remain inaccessible to consumer applications. - */ - increaseStreamRetentionPeriod(params: Kinesis.Types.IncreaseStreamRetentionPeriodInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Increases the Amazon Kinesis stream's retention period, which is the length of time data records are accessible after they are added to the stream. The maximum value of a stream's retention period is 168 hours (7 days). Upon choosing a longer stream retention period, this operation will increase the time period records are accessible that have not yet expired. However, it will not make previous data that has expired (older than the stream's previous retention period) accessible after the operation has been called. For example, if a stream's retention period is set to 24 hours and is increased to 168 hours, any data that is older than 24 hours will remain inaccessible to consumer applications. - */ - increaseStreamRetentionPeriod(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Lists your Amazon Kinesis streams. The number of streams may be too large to return from a single call to ListStreams. You can limit the number of returned streams using the Limit parameter. If you do not specify a value for the Limit parameter, Amazon Kinesis uses the default limit, which is currently 10. You can detect if there are more streams available to list by using the HasMoreStreams flag from the returned output. If there are more streams available, you can request more streams by using the name of the last stream returned by the ListStreams request in the ExclusiveStartStreamName parameter in a subsequent request to ListStreams. The group of stream names returned by the subsequent request is then added to the list. You can continue this process until all the stream names have been collected in the list. ListStreams has a limit of 5 transactions per second per account. - */ - listStreams(params: Kinesis.Types.ListStreamsInput, callback?: (err: AWSError, data: Kinesis.Types.ListStreamsOutput) => void): Request; - /** - * Lists your Amazon Kinesis streams. The number of streams may be too large to return from a single call to ListStreams. You can limit the number of returned streams using the Limit parameter. If you do not specify a value for the Limit parameter, Amazon Kinesis uses the default limit, which is currently 10. You can detect if there are more streams available to list by using the HasMoreStreams flag from the returned output. If there are more streams available, you can request more streams by using the name of the last stream returned by the ListStreams request in the ExclusiveStartStreamName parameter in a subsequent request to ListStreams. The group of stream names returned by the subsequent request is then added to the list. You can continue this process until all the stream names have been collected in the list. ListStreams has a limit of 5 transactions per second per account. - */ - listStreams(callback?: (err: AWSError, data: Kinesis.Types.ListStreamsOutput) => void): Request; - /** - * Lists the tags for the specified Amazon Kinesis stream. - */ - listTagsForStream(params: Kinesis.Types.ListTagsForStreamInput, callback?: (err: AWSError, data: Kinesis.Types.ListTagsForStreamOutput) => void): Request; - /** - * Lists the tags for the specified Amazon Kinesis stream. - */ - listTagsForStream(callback?: (err: AWSError, data: Kinesis.Types.ListTagsForStreamOutput) => void): Request; - /** - * Merges two adjacent shards in an Amazon Kinesis stream and combines them into a single shard to reduce the stream's capacity to ingest and transport data. Two shards are considered adjacent if the union of the hash key ranges for the two shards form a contiguous set with no gaps. For example, if you have two shards, one with a hash key range of 276...381 and the other with a hash key range of 382...454, then you could merge these two shards into a single shard that would have a hash key range of 276...454. After the merge, the single child shard receives data for all hash key values covered by the two parent shards. MergeShards is called when there is a need to reduce the overall capacity of a stream because of excess capacity that is not being used. You must specify the shard to be merged and the adjacent shard for a stream. For more information about merging shards, see Merge Two Shards in the Amazon Kinesis Streams Developer Guide. If the stream is in the ACTIVE state, you can call MergeShards. If a stream is in the CREATING, UPDATING, or DELETING state, MergeShards returns a ResourceInUseException. If the specified stream does not exist, MergeShards returns a ResourceNotFoundException. You can use DescribeStream to check the state of the stream, which is returned in StreamStatus. MergeShards is an asynchronous operation. Upon receiving a MergeShards request, Amazon Kinesis immediately returns a response and sets the StreamStatus to UPDATING. After the operation is completed, Amazon Kinesis sets the StreamStatus to ACTIVE. Read and write operations continue to work while the stream is in the UPDATING state. You use DescribeStream to determine the shard IDs that are specified in the MergeShards request. If you try to operate on too many streams in parallel using CreateStream, DeleteStream, MergeShards or SplitShard, you will receive a LimitExceededException. MergeShards has limit of 5 transactions per second per account. - */ - mergeShards(params: Kinesis.Types.MergeShardsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Merges two adjacent shards in an Amazon Kinesis stream and combines them into a single shard to reduce the stream's capacity to ingest and transport data. Two shards are considered adjacent if the union of the hash key ranges for the two shards form a contiguous set with no gaps. For example, if you have two shards, one with a hash key range of 276...381 and the other with a hash key range of 382...454, then you could merge these two shards into a single shard that would have a hash key range of 276...454. After the merge, the single child shard receives data for all hash key values covered by the two parent shards. MergeShards is called when there is a need to reduce the overall capacity of a stream because of excess capacity that is not being used. You must specify the shard to be merged and the adjacent shard for a stream. For more information about merging shards, see Merge Two Shards in the Amazon Kinesis Streams Developer Guide. If the stream is in the ACTIVE state, you can call MergeShards. If a stream is in the CREATING, UPDATING, or DELETING state, MergeShards returns a ResourceInUseException. If the specified stream does not exist, MergeShards returns a ResourceNotFoundException. You can use DescribeStream to check the state of the stream, which is returned in StreamStatus. MergeShards is an asynchronous operation. Upon receiving a MergeShards request, Amazon Kinesis immediately returns a response and sets the StreamStatus to UPDATING. After the operation is completed, Amazon Kinesis sets the StreamStatus to ACTIVE. Read and write operations continue to work while the stream is in the UPDATING state. You use DescribeStream to determine the shard IDs that are specified in the MergeShards request. If you try to operate on too many streams in parallel using CreateStream, DeleteStream, MergeShards or SplitShard, you will receive a LimitExceededException. MergeShards has limit of 5 transactions per second per account. - */ - mergeShards(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Writes a single data record into an Amazon Kinesis stream. Call PutRecord to send data into the stream for real-time ingestion and subsequent processing, one record at a time. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MB per second. You must specify the name of the stream that captures, stores, and transports the data; a partition key; and the data blob itself. The data blob can be any type of data; for example, a segment from a log file, geographic/location data, website clickstream data, and so on. The partition key is used by Amazon Kinesis to distribute data across shards. Amazon Kinesis segregates the data records that belong to a stream into multiple shards, using the partition key associated with each data record to determine which shard a given data record belongs to. Partition keys are Unicode strings, with a maximum length limit of 256 characters for each key. An MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards using the hash key ranges of the shards. You can override hashing the partition key to determine the shard by explicitly specifying a hash value using the ExplicitHashKey parameter. For more information, see Adding Data to a Stream in the Amazon Kinesis Streams Developer Guide. PutRecord returns the shard ID of where the data record was placed and the sequence number that was assigned to the data record. Sequence numbers increase over time and are specific to a shard within a stream, not across all shards within a stream. To guarantee strictly increasing ordering, write serially to a shard and use the SequenceNumberForOrdering parameter. For more information, see Adding Data to a Stream in the Amazon Kinesis Streams Developer Guide. If a PutRecord request cannot be processed because of insufficient provisioned throughput on the shard involved in the request, PutRecord throws ProvisionedThroughputExceededException. By default, data records are accessible for 24 hours from the time that they are added to a stream. You can use IncreaseStreamRetentionPeriod or DecreaseStreamRetentionPeriod to modify this retention period. - */ - putRecord(params: Kinesis.Types.PutRecordInput, callback?: (err: AWSError, data: Kinesis.Types.PutRecordOutput) => void): Request; - /** - * Writes a single data record into an Amazon Kinesis stream. Call PutRecord to send data into the stream for real-time ingestion and subsequent processing, one record at a time. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MB per second. You must specify the name of the stream that captures, stores, and transports the data; a partition key; and the data blob itself. The data blob can be any type of data; for example, a segment from a log file, geographic/location data, website clickstream data, and so on. The partition key is used by Amazon Kinesis to distribute data across shards. Amazon Kinesis segregates the data records that belong to a stream into multiple shards, using the partition key associated with each data record to determine which shard a given data record belongs to. Partition keys are Unicode strings, with a maximum length limit of 256 characters for each key. An MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards using the hash key ranges of the shards. You can override hashing the partition key to determine the shard by explicitly specifying a hash value using the ExplicitHashKey parameter. For more information, see Adding Data to a Stream in the Amazon Kinesis Streams Developer Guide. PutRecord returns the shard ID of where the data record was placed and the sequence number that was assigned to the data record. Sequence numbers increase over time and are specific to a shard within a stream, not across all shards within a stream. To guarantee strictly increasing ordering, write serially to a shard and use the SequenceNumberForOrdering parameter. For more information, see Adding Data to a Stream in the Amazon Kinesis Streams Developer Guide. If a PutRecord request cannot be processed because of insufficient provisioned throughput on the shard involved in the request, PutRecord throws ProvisionedThroughputExceededException. By default, data records are accessible for 24 hours from the time that they are added to a stream. You can use IncreaseStreamRetentionPeriod or DecreaseStreamRetentionPeriod to modify this retention period. - */ - putRecord(callback?: (err: AWSError, data: Kinesis.Types.PutRecordOutput) => void): Request; - /** - * Writes multiple data records into an Amazon Kinesis stream in a single call (also referred to as a PutRecords request). Use this operation to send data into the stream for data ingestion and processing. Each PutRecords request can support up to 500 records. Each record in the request can be as large as 1 MB, up to a limit of 5 MB for the entire request, including partition keys. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MB per second. You must specify the name of the stream that captures, stores, and transports the data; and an array of request Records, with each record in the array requiring a partition key and data blob. The record size limit applies to the total size of the partition key and data blob. The data blob can be any type of data; for example, a segment from a log file, geographic/location data, website clickstream data, and so on. The partition key is used by Amazon Kinesis as input to a hash function that maps the partition key and associated data to a specific shard. An MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream. For more information, see Adding Data to a Stream in the Amazon Kinesis Streams Developer Guide. Each record in the Records array may include an optional parameter, ExplicitHashKey, which overrides the partition key to shard mapping. This parameter allows a data producer to determine explicitly the shard where the record is stored. For more information, see Adding Multiple Records with PutRecords in the Amazon Kinesis Streams Developer Guide. The PutRecords response includes an array of response Records. Each record in the response array directly correlates with a record in the request array using natural ordering, from the top to the bottom of the request and response. The response Records array always includes the same number of records as the request array. The response Records array includes both successfully and unsuccessfully processed records. Amazon Kinesis attempts to process all records in each PutRecords request. A single record failure does not stop the processing of subsequent records. A successfully-processed record includes ShardId and SequenceNumber values. The ShardId parameter identifies the shard in the stream where the record is stored. The SequenceNumber parameter is an identifier assigned to the put record, unique to all records in the stream. An unsuccessfully-processed record includes ErrorCode and ErrorMessage values. ErrorCode reflects the type of error and can be one of the following values: ProvisionedThroughputExceededException or InternalFailure. ErrorMessage provides more detailed information about the ProvisionedThroughputExceededException exception including the account ID, stream name, and shard ID of the record that was throttled. For more information about partially successful responses, see Adding Multiple Records with PutRecords in the Amazon Kinesis Streams Developer Guide. By default, data records are accessible for 24 hours from the time that they are added to a stream. You can use IncreaseStreamRetentionPeriod or DecreaseStreamRetentionPeriod to modify this retention period. - */ - putRecords(params: Kinesis.Types.PutRecordsInput, callback?: (err: AWSError, data: Kinesis.Types.PutRecordsOutput) => void): Request; - /** - * Writes multiple data records into an Amazon Kinesis stream in a single call (also referred to as a PutRecords request). Use this operation to send data into the stream for data ingestion and processing. Each PutRecords request can support up to 500 records. Each record in the request can be as large as 1 MB, up to a limit of 5 MB for the entire request, including partition keys. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MB per second. You must specify the name of the stream that captures, stores, and transports the data; and an array of request Records, with each record in the array requiring a partition key and data blob. The record size limit applies to the total size of the partition key and data blob. The data blob can be any type of data; for example, a segment from a log file, geographic/location data, website clickstream data, and so on. The partition key is used by Amazon Kinesis as input to a hash function that maps the partition key and associated data to a specific shard. An MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream. For more information, see Adding Data to a Stream in the Amazon Kinesis Streams Developer Guide. Each record in the Records array may include an optional parameter, ExplicitHashKey, which overrides the partition key to shard mapping. This parameter allows a data producer to determine explicitly the shard where the record is stored. For more information, see Adding Multiple Records with PutRecords in the Amazon Kinesis Streams Developer Guide. The PutRecords response includes an array of response Records. Each record in the response array directly correlates with a record in the request array using natural ordering, from the top to the bottom of the request and response. The response Records array always includes the same number of records as the request array. The response Records array includes both successfully and unsuccessfully processed records. Amazon Kinesis attempts to process all records in each PutRecords request. A single record failure does not stop the processing of subsequent records. A successfully-processed record includes ShardId and SequenceNumber values. The ShardId parameter identifies the shard in the stream where the record is stored. The SequenceNumber parameter is an identifier assigned to the put record, unique to all records in the stream. An unsuccessfully-processed record includes ErrorCode and ErrorMessage values. ErrorCode reflects the type of error and can be one of the following values: ProvisionedThroughputExceededException or InternalFailure. ErrorMessage provides more detailed information about the ProvisionedThroughputExceededException exception including the account ID, stream name, and shard ID of the record that was throttled. For more information about partially successful responses, see Adding Multiple Records with PutRecords in the Amazon Kinesis Streams Developer Guide. By default, data records are accessible for 24 hours from the time that they are added to a stream. You can use IncreaseStreamRetentionPeriod or DecreaseStreamRetentionPeriod to modify this retention period. - */ - putRecords(callback?: (err: AWSError, data: Kinesis.Types.PutRecordsOutput) => void): Request; - /** - * Removes tags from the specified Amazon Kinesis stream. Removed tags are deleted and cannot be recovered after this operation successfully completes. If you specify a tag that does not exist, it is ignored. - */ - removeTagsFromStream(params: Kinesis.Types.RemoveTagsFromStreamInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes tags from the specified Amazon Kinesis stream. Removed tags are deleted and cannot be recovered after this operation successfully completes. If you specify a tag that does not exist, it is ignored. - */ - removeTagsFromStream(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Splits a shard into two new shards in the Amazon Kinesis stream to increase the stream's capacity to ingest and transport data. SplitShard is called when there is a need to increase the overall capacity of a stream because of an expected increase in the volume of data records being ingested. You can also use SplitShard when a shard appears to be approaching its maximum utilization; for example, the producers sending data into the specific shard are suddenly sending more than previously anticipated. You can also call SplitShard to increase stream capacity, so that more Amazon Kinesis applications can simultaneously read data from the stream for real-time processing. You must specify the shard to be split and the new hash key, which is the position in the shard where the shard gets split in two. In many cases, the new hash key might simply be the average of the beginning and ending hash key, but it can be any hash key value in the range being mapped into the shard. For more information about splitting shards, see Split a Shard in the Amazon Kinesis Streams Developer Guide. You can use DescribeStream to determine the shard ID and hash key values for the ShardToSplit and NewStartingHashKey parameters that are specified in the SplitShard request. SplitShard is an asynchronous operation. Upon receiving a SplitShard request, Amazon Kinesis immediately returns a response and sets the stream status to UPDATING. After the operation is completed, Amazon Kinesis sets the stream status to ACTIVE. Read and write operations continue to work while the stream is in the UPDATING state. You can use DescribeStream to check the status of the stream, which is returned in StreamStatus. If the stream is in the ACTIVE state, you can call SplitShard. If a stream is in CREATING or UPDATING or DELETING states, DescribeStream returns a ResourceInUseException. If the specified stream does not exist, DescribeStream returns a ResourceNotFoundException. If you try to create more shards than are authorized for your account, you receive a LimitExceededException. For the default shard limit for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase this limit, contact AWS Support. If you try to operate on too many streams simultaneously using CreateStream, DeleteStream, MergeShards, and/or SplitShard, you receive a LimitExceededException. SplitShard has limit of 5 transactions per second per account. - */ - splitShard(params: Kinesis.Types.SplitShardInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Splits a shard into two new shards in the Amazon Kinesis stream to increase the stream's capacity to ingest and transport data. SplitShard is called when there is a need to increase the overall capacity of a stream because of an expected increase in the volume of data records being ingested. You can also use SplitShard when a shard appears to be approaching its maximum utilization; for example, the producers sending data into the specific shard are suddenly sending more than previously anticipated. You can also call SplitShard to increase stream capacity, so that more Amazon Kinesis applications can simultaneously read data from the stream for real-time processing. You must specify the shard to be split and the new hash key, which is the position in the shard where the shard gets split in two. In many cases, the new hash key might simply be the average of the beginning and ending hash key, but it can be any hash key value in the range being mapped into the shard. For more information about splitting shards, see Split a Shard in the Amazon Kinesis Streams Developer Guide. You can use DescribeStream to determine the shard ID and hash key values for the ShardToSplit and NewStartingHashKey parameters that are specified in the SplitShard request. SplitShard is an asynchronous operation. Upon receiving a SplitShard request, Amazon Kinesis immediately returns a response and sets the stream status to UPDATING. After the operation is completed, Amazon Kinesis sets the stream status to ACTIVE. Read and write operations continue to work while the stream is in the UPDATING state. You can use DescribeStream to check the status of the stream, which is returned in StreamStatus. If the stream is in the ACTIVE state, you can call SplitShard. If a stream is in CREATING or UPDATING or DELETING states, DescribeStream returns a ResourceInUseException. If the specified stream does not exist, DescribeStream returns a ResourceNotFoundException. If you try to create more shards than are authorized for your account, you receive a LimitExceededException. For the default shard limit for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase this limit, contact AWS Support. If you try to operate on too many streams simultaneously using CreateStream, DeleteStream, MergeShards, and/or SplitShard, you receive a LimitExceededException. SplitShard has limit of 5 transactions per second per account. - */ - splitShard(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables or updates server-side encryption using an AWS KMS key for a specified stream. Starting encryption is an asynchronous operation. Upon receiving the request, Amazon Kinesis returns immediately and sets the status of the stream to UPDATING. After the update is complete, Amazon Kinesis sets the status of the stream back to ACTIVE. Updating or applying encryption normally takes a few seconds to complete but it can take minutes. You can continue to read and write data to your stream while its status is UPDATING. Once the status of the stream is ACTIVE, records written to the stream will begin to be encrypted. API Limits: You can successfully apply a new AWS KMS key for server-side encryption 25 times in a rolling 24 hour period. Note: It can take up to 5 seconds after the stream is in an ACTIVE status before all records written to the stream are encrypted. After you’ve enabled encryption, you can verify encryption was applied by inspecting the API response from PutRecord or PutRecords. - */ - startStreamEncryption(params: Kinesis.Types.StartStreamEncryptionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables or updates server-side encryption using an AWS KMS key for a specified stream. Starting encryption is an asynchronous operation. Upon receiving the request, Amazon Kinesis returns immediately and sets the status of the stream to UPDATING. After the update is complete, Amazon Kinesis sets the status of the stream back to ACTIVE. Updating or applying encryption normally takes a few seconds to complete but it can take minutes. You can continue to read and write data to your stream while its status is UPDATING. Once the status of the stream is ACTIVE, records written to the stream will begin to be encrypted. API Limits: You can successfully apply a new AWS KMS key for server-side encryption 25 times in a rolling 24 hour period. Note: It can take up to 5 seconds after the stream is in an ACTIVE status before all records written to the stream are encrypted. After you’ve enabled encryption, you can verify encryption was applied by inspecting the API response from PutRecord or PutRecords. - */ - startStreamEncryption(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables server-side encryption for a specified stream. Stopping encryption is an asynchronous operation. Upon receiving the request, Amazon Kinesis returns immediately and sets the status of the stream to UPDATING. After the update is complete, Amazon Kinesis sets the status of the stream back to ACTIVE. Stopping encryption normally takes a few seconds to complete but it can take minutes. You can continue to read and write data to your stream while its status is UPDATING. Once the status of the stream is ACTIVE records written to the stream will no longer be encrypted by the Amazon Kinesis Streams service. API Limits: You can successfully disable server-side encryption 25 times in a rolling 24 hour period. Note: It can take up to 5 seconds after the stream is in an ACTIVE status before all records written to the stream are no longer subject to encryption. After you’ve disabled encryption, you can verify encryption was not applied by inspecting the API response from PutRecord or PutRecords. - */ - stopStreamEncryption(params: Kinesis.Types.StopStreamEncryptionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables server-side encryption for a specified stream. Stopping encryption is an asynchronous operation. Upon receiving the request, Amazon Kinesis returns immediately and sets the status of the stream to UPDATING. After the update is complete, Amazon Kinesis sets the status of the stream back to ACTIVE. Stopping encryption normally takes a few seconds to complete but it can take minutes. You can continue to read and write data to your stream while its status is UPDATING. Once the status of the stream is ACTIVE records written to the stream will no longer be encrypted by the Amazon Kinesis Streams service. API Limits: You can successfully disable server-side encryption 25 times in a rolling 24 hour period. Note: It can take up to 5 seconds after the stream is in an ACTIVE status before all records written to the stream are no longer subject to encryption. After you’ve disabled encryption, you can verify encryption was not applied by inspecting the API response from PutRecord or PutRecords. - */ - stopStreamEncryption(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the shard count of the specified stream to the specified number of shards. Updating the shard count is an asynchronous operation. Upon receiving the request, Amazon Kinesis returns immediately and sets the status of the stream to UPDATING. After the update is complete, Amazon Kinesis sets the status of the stream back to ACTIVE. Depending on the size of the stream, the scaling action could take a few minutes to complete. You can continue to read and write data to your stream while its status is UPDATING. To update the shard count, Amazon Kinesis performs splits or merges on individual shards. This can cause short-lived shards to be created, in addition to the final shards. We recommend that you double or halve the shard count, as this results in the fewest number of splits or merges. This operation has the following limits, which are per region per account unless otherwise noted: scale more than twice per rolling 24 hour period scale up above double your current shard count scale down below half your current shard count scale up above 200 shards in a stream scale a stream with more than 200 shards down unless the result is less than 200 shards scale up above the shard limits for your account For the default limits for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase a limit, contact AWS Support. - */ - updateShardCount(params: Kinesis.Types.UpdateShardCountInput, callback?: (err: AWSError, data: Kinesis.Types.UpdateShardCountOutput) => void): Request; - /** - * Updates the shard count of the specified stream to the specified number of shards. Updating the shard count is an asynchronous operation. Upon receiving the request, Amazon Kinesis returns immediately and sets the status of the stream to UPDATING. After the update is complete, Amazon Kinesis sets the status of the stream back to ACTIVE. Depending on the size of the stream, the scaling action could take a few minutes to complete. You can continue to read and write data to your stream while its status is UPDATING. To update the shard count, Amazon Kinesis performs splits or merges on individual shards. This can cause short-lived shards to be created, in addition to the final shards. We recommend that you double or halve the shard count, as this results in the fewest number of splits or merges. This operation has the following limits, which are per region per account unless otherwise noted: scale more than twice per rolling 24 hour period scale up above double your current shard count scale down below half your current shard count scale up above 200 shards in a stream scale a stream with more than 200 shards down unless the result is less than 200 shards scale up above the shard limits for your account For the default limits for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase a limit, contact AWS Support. - */ - updateShardCount(callback?: (err: AWSError, data: Kinesis.Types.UpdateShardCountOutput) => void): Request; - /** - * Waits for the streamExists state by periodically calling the underlying Kinesis.describeStreamoperation every 10 seconds (at most 18 times). - */ - waitFor(state: "streamExists", params: Kinesis.Types.DescribeStreamInput, callback?: (err: AWSError, data: Kinesis.Types.DescribeStreamOutput) => void): Request; - /** - * Waits for the streamExists state by periodically calling the underlying Kinesis.describeStreamoperation every 10 seconds (at most 18 times). - */ - waitFor(state: "streamExists", callback?: (err: AWSError, data: Kinesis.Types.DescribeStreamOutput) => void): Request; - /** - * Waits for the streamNotExists state by periodically calling the underlying Kinesis.describeStreamoperation every 10 seconds (at most 18 times). - */ - waitFor(state: "streamNotExists", params: Kinesis.Types.DescribeStreamInput, callback?: (err: AWSError, data: Kinesis.Types.DescribeStreamOutput) => void): Request; - /** - * Waits for the streamNotExists state by periodically calling the underlying Kinesis.describeStreamoperation every 10 seconds (at most 18 times). - */ - waitFor(state: "streamNotExists", callback?: (err: AWSError, data: Kinesis.Types.DescribeStreamOutput) => void): Request; -} -declare namespace Kinesis { - export interface AddTagsToStreamInput { - /** - * The name of the stream. - */ - StreamName: StreamName; - /** - * The set of key-value pairs to use to create the tags. - */ - Tags: TagMap; - } - export type BooleanObject = boolean; - export interface CreateStreamInput { - /** - * A name to identify the stream. The stream name is scoped to the AWS account used by the application that creates the stream. It is also scoped by region. That is, two streams in two different AWS accounts can have the same name, and two streams in the same AWS account but in two different regions can have the same name. - */ - StreamName: StreamName; - /** - * The number of shards that the stream will use. The throughput of the stream is a function of the number of shards; more shards are required for greater provisioned throughput. DefaultShardLimit; - */ - ShardCount: PositiveIntegerObject; - } - export type Data = Buffer|Uint8Array|Blob|string; - export interface DecreaseStreamRetentionPeriodInput { - /** - * The name of the stream to modify. - */ - StreamName: StreamName; - /** - * The new retention period of the stream, in hours. Must be less than the current retention period. - */ - RetentionPeriodHours: PositiveIntegerObject; - } - export interface DeleteStreamInput { - /** - * The name of the stream to delete. - */ - StreamName: StreamName; - } - export interface DescribeLimitsInput { - } - export interface DescribeLimitsOutput { - /** - * The maximum number of shards. - */ - ShardLimit: ShardCountObject; - /** - * The number of open shards. - */ - OpenShardCount: ShardCountObject; - } - export interface DescribeStreamInput { - /** - * The name of the stream to describe. - */ - StreamName: StreamName; - /** - * The maximum number of shards to return in a single call. The default value is 100. If you specify a value greater than 100, at most 100 shards are returned. - */ - Limit?: DescribeStreamInputLimit; - /** - * The shard ID of the shard to start with. - */ - ExclusiveStartShardId?: ShardId; - } - export type DescribeStreamInputLimit = number; - export interface DescribeStreamOutput { - /** - * The current status of the stream, the stream ARN, an array of shard objects that comprise the stream, and whether there are more shards available. - */ - StreamDescription: StreamDescription; - } - export interface DisableEnhancedMonitoringInput { - /** - * The name of the Amazon Kinesis stream for which to disable enhanced monitoring. - */ - StreamName: StreamName; - /** - * List of shard-level metrics to disable. The following are the valid shard-level metrics. The value "ALL" disables every metric. IncomingBytes IncomingRecords OutgoingBytes OutgoingRecords WriteProvisionedThroughputExceeded ReadProvisionedThroughputExceeded IteratorAgeMilliseconds ALL For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide. - */ - ShardLevelMetrics: MetricsNameList; - } - export interface EnableEnhancedMonitoringInput { - /** - * The name of the stream for which to enable enhanced monitoring. - */ - StreamName: StreamName; - /** - * List of shard-level metrics to enable. The following are the valid shard-level metrics. The value "ALL" enables every metric. IncomingBytes IncomingRecords OutgoingBytes OutgoingRecords WriteProvisionedThroughputExceeded ReadProvisionedThroughputExceeded IteratorAgeMilliseconds ALL For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide. - */ - ShardLevelMetrics: MetricsNameList; - } - export type EncryptionType = "NONE"|"KMS"|string; - export interface EnhancedMetrics { - /** - * List of shard-level metrics. The following are the valid shard-level metrics. The value "ALL" enhances every metric. IncomingBytes IncomingRecords OutgoingBytes OutgoingRecords WriteProvisionedThroughputExceeded ReadProvisionedThroughputExceeded IteratorAgeMilliseconds ALL For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide. - */ - ShardLevelMetrics?: MetricsNameList; - } - export type EnhancedMonitoringList = EnhancedMetrics[]; - export interface EnhancedMonitoringOutput { - /** - * The name of the Amazon Kinesis stream. - */ - StreamName?: StreamName; - /** - * Represents the current state of the metrics that are in the enhanced state before the operation. - */ - CurrentShardLevelMetrics?: MetricsNameList; - /** - * Represents the list of all the metrics that would be in the enhanced state after the operation. - */ - DesiredShardLevelMetrics?: MetricsNameList; - } - export type ErrorCode = string; - export type ErrorMessage = string; - export interface GetRecordsInput { - /** - * The position in the shard from which you want to start sequentially reading data records. A shard iterator specifies this position using the sequence number of a data record in the shard. - */ - ShardIterator: ShardIterator; - /** - * The maximum number of records to return. Specify a value of up to 10,000. If you specify a value that is greater than 10,000, GetRecords throws InvalidArgumentException. - */ - Limit?: GetRecordsInputLimit; - } - export type GetRecordsInputLimit = number; - export interface GetRecordsOutput { - /** - * The data records retrieved from the shard. - */ - Records: RecordList; - /** - * The next position in the shard from which to start sequentially reading data records. If set to null, the shard has been closed and the requested iterator will not return any more data. - */ - NextShardIterator?: ShardIterator; - /** - * The number of milliseconds the GetRecords response is from the tip of the stream, indicating how far behind current time the consumer is. A value of zero indicates record processing is caught up, and there are no new records to process at this moment. - */ - MillisBehindLatest?: MillisBehindLatest; - } - export interface GetShardIteratorInput { - /** - * The name of the Amazon Kinesis stream. - */ - StreamName: StreamName; - /** - * The shard ID of the Amazon Kinesis shard to get the iterator for. - */ - ShardId: ShardId; - /** - * Determines how the shard iterator is used to start reading data records from the shard. The following are the valid Amazon Kinesis shard iterator types: AT_SEQUENCE_NUMBER - Start reading from the position denoted by a specific sequence number, provided in the value StartingSequenceNumber. AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number, provided in the value StartingSequenceNumber. AT_TIMESTAMP - Start reading from the position denoted by a specific timestamp, provided in the value Timestamp. TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard. LATEST - Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard. - */ - ShardIteratorType: ShardIteratorType; - /** - * The sequence number of the data record in the shard from which to start reading. Used with shard iterator type AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER. - */ - StartingSequenceNumber?: SequenceNumber; - /** - * The timestamp of the data record from which to start reading. Used with shard iterator type AT_TIMESTAMP. A timestamp is the Unix epoch date with precision in milliseconds. For example, 2016-04-04T19:58:46.480-00:00 or 1459799926.480. If a record with this exact timestamp does not exist, the iterator returned is for the next (later) record. If the timestamp is older than the current trim horizon, the iterator returned is for the oldest untrimmed data record (TRIM_HORIZON). - */ - Timestamp?: Timestamp; - } - export interface GetShardIteratorOutput { - /** - * The position in the shard from which to start reading data records sequentially. A shard iterator specifies this position using the sequence number of a data record in a shard. - */ - ShardIterator?: ShardIterator; - } - export type HashKey = string; - export interface HashKeyRange { - /** - * The starting hash key of the hash key range. - */ - StartingHashKey: HashKey; - /** - * The ending hash key of the hash key range. - */ - EndingHashKey: HashKey; - } - export interface IncreaseStreamRetentionPeriodInput { - /** - * The name of the stream to modify. - */ - StreamName: StreamName; - /** - * The new retention period of the stream, in hours. Must be more than the current retention period. - */ - RetentionPeriodHours: PositiveIntegerObject; - } - export type KeyId = string; - export interface ListStreamsInput { - /** - * The maximum number of streams to list. - */ - Limit?: ListStreamsInputLimit; - /** - * The name of the stream to start the list with. - */ - ExclusiveStartStreamName?: StreamName; - } - export type ListStreamsInputLimit = number; - export interface ListStreamsOutput { - /** - * The names of the streams that are associated with the AWS account making the ListStreams request. - */ - StreamNames: StreamNameList; - /** - * If set to true, there are more streams available to list. - */ - HasMoreStreams: BooleanObject; - } - export interface ListTagsForStreamInput { - /** - * The name of the stream. - */ - StreamName: StreamName; - /** - * The key to use as the starting point for the list of tags. If this parameter is set, ListTagsForStream gets all tags that occur after ExclusiveStartTagKey. - */ - ExclusiveStartTagKey?: TagKey; - /** - * The number of tags to return. If this number is less than the total number of tags associated with the stream, HasMoreTags is set to true. To list additional tags, set ExclusiveStartTagKey to the last key in the response. - */ - Limit?: ListTagsForStreamInputLimit; - } - export type ListTagsForStreamInputLimit = number; - export interface ListTagsForStreamOutput { - /** - * A list of tags associated with StreamName, starting with the first tag after ExclusiveStartTagKey and up to the specified Limit. - */ - Tags: TagList; - /** - * If set to true, more tags are available. To request additional tags, set ExclusiveStartTagKey to the key of the last tag returned. - */ - HasMoreTags: BooleanObject; - } - export interface MergeShardsInput { - /** - * The name of the stream for the merge. - */ - StreamName: StreamName; - /** - * The shard ID of the shard to combine with the adjacent shard for the merge. - */ - ShardToMerge: ShardId; - /** - * The shard ID of the adjacent shard for the merge. - */ - AdjacentShardToMerge: ShardId; - } - export type MetricsName = "IncomingBytes"|"IncomingRecords"|"OutgoingBytes"|"OutgoingRecords"|"WriteProvisionedThroughputExceeded"|"ReadProvisionedThroughputExceeded"|"IteratorAgeMilliseconds"|"ALL"|string; - export type MetricsNameList = MetricsName[]; - export type MillisBehindLatest = number; - export type PartitionKey = string; - export type PositiveIntegerObject = number; - export interface PutRecordInput { - /** - * The name of the stream to put the data record into. - */ - StreamName: StreamName; - /** - * The data blob to put into the record, which is base64-encoded when the blob is serialized. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MB). - */ - Data: Data; - /** - * Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 characters for each key. Amazon Kinesis uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream. - */ - PartitionKey: PartitionKey; - /** - * The hash value used to explicitly determine the shard the data record is assigned to by overriding the partition key hash. - */ - ExplicitHashKey?: HashKey; - /** - * Guarantees strictly increasing sequence numbers, for puts from the same client and to the same partition key. Usage: set the SequenceNumberForOrdering of record n to the sequence number of record n-1 (as returned in the result when putting record n-1). If this parameter is not set, records will be coarsely ordered based on arrival time. - */ - SequenceNumberForOrdering?: SequenceNumber; - } - export interface PutRecordOutput { - /** - * The shard ID of the shard where the data record was placed. - */ - ShardId: ShardId; - /** - * The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream. - */ - SequenceNumber: SequenceNumber; - /** - * The encryption type to use on the record. This parameter can be one of the following values: NONE: Do not encrypt the records in the stream. KMS: Use server-side encryption on the records in the stream using a customer-managed KMS key. - */ - EncryptionType?: EncryptionType; - } - export interface PutRecordsInput { - /** - * The records associated with the request. - */ - Records: PutRecordsRequestEntryList; - /** - * The stream name associated with the request. - */ - StreamName: StreamName; - } - export interface PutRecordsOutput { - /** - * The number of unsuccessfully processed records in a PutRecords request. - */ - FailedRecordCount?: PositiveIntegerObject; - /** - * An array of successfully and unsuccessfully processed record results, correlated with the request by natural ordering. A record that is successfully added to a stream includes SequenceNumber and ShardId in the result. A record that fails to be added to a stream includes ErrorCode and ErrorMessage in the result. - */ - Records: PutRecordsResultEntryList; - /** - * The encryption type used on the records. This parameter can be one of the following values: NONE: Do not encrypt the records. KMS: Use server-side encryption on the records using a customer-managed KMS key. - */ - EncryptionType?: EncryptionType; - } - export interface PutRecordsRequestEntry { - /** - * The data blob to put into the record, which is base64-encoded when the blob is serialized. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MB). - */ - Data: Data; - /** - * The hash value used to determine explicitly the shard that the data record is assigned to by overriding the partition key hash. - */ - ExplicitHashKey?: HashKey; - /** - * Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 characters for each key. Amazon Kinesis uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream. - */ - PartitionKey: PartitionKey; - } - export type PutRecordsRequestEntryList = PutRecordsRequestEntry[]; - export interface PutRecordsResultEntry { - /** - * The sequence number for an individual record result. - */ - SequenceNumber?: SequenceNumber; - /** - * The shard ID for an individual record result. - */ - ShardId?: ShardId; - /** - * The error code for an individual record result. ErrorCodes can be either ProvisionedThroughputExceededException or InternalFailure. - */ - ErrorCode?: ErrorCode; - /** - * The error message for an individual record result. An ErrorCode value of ProvisionedThroughputExceededException has an error message that includes the account ID, stream name, and shard ID. An ErrorCode value of InternalFailure has the error message "Internal Service Failure". - */ - ErrorMessage?: ErrorMessage; - } - export type PutRecordsResultEntryList = PutRecordsResultEntry[]; - export interface Record { - /** - * The unique identifier of the record within its shard. - */ - SequenceNumber: SequenceNumber; - /** - * The approximate time that the record was inserted into the stream. - */ - ApproximateArrivalTimestamp?: Timestamp; - /** - * The data blob. The data in the blob is both opaque and immutable to the Amazon Kinesis service, which does not inspect, interpret, or change the data in the blob in any way. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MB). - */ - Data: Data; - /** - * Identifies which shard in the stream the data record is assigned to. - */ - PartitionKey: PartitionKey; - /** - * The encryption type used on the record. This parameter can be one of the following values: NONE: Do not encrypt the records in the stream. KMS: Use server-side encryption on the records in the stream using a customer-managed KMS key. - */ - EncryptionType?: EncryptionType; - } - export type RecordList = Record[]; - export interface RemoveTagsFromStreamInput { - /** - * The name of the stream. - */ - StreamName: StreamName; - /** - * A list of tag keys. Each corresponding tag is removed from the stream. - */ - TagKeys: TagKeyList; - } - export type ScalingType = "UNIFORM_SCALING"|string; - export type SequenceNumber = string; - export interface SequenceNumberRange { - /** - * The starting sequence number for the range. - */ - StartingSequenceNumber: SequenceNumber; - /** - * The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null. - */ - EndingSequenceNumber?: SequenceNumber; - } - export interface Shard { - /** - * The unique identifier of the shard within the stream. - */ - ShardId: ShardId; - /** - * The shard ID of the shard's parent. - */ - ParentShardId?: ShardId; - /** - * The shard ID of the shard adjacent to the shard's parent. - */ - AdjacentParentShardId?: ShardId; - /** - * The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers. - */ - HashKeyRange: HashKeyRange; - /** - * The range of possible sequence numbers for the shard. - */ - SequenceNumberRange: SequenceNumberRange; - } - export type ShardCountObject = number; - export type ShardId = string; - export type ShardIterator = string; - export type ShardIteratorType = "AT_SEQUENCE_NUMBER"|"AFTER_SEQUENCE_NUMBER"|"TRIM_HORIZON"|"LATEST"|"AT_TIMESTAMP"|string; - export type ShardList = Shard[]; - export interface SplitShardInput { - /** - * The name of the stream for the shard split. - */ - StreamName: StreamName; - /** - * The shard ID of the shard to split. - */ - ShardToSplit: ShardId; - /** - * A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey must be in the range of hash keys being mapped into the shard. The NewStartingHashKey hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard. - */ - NewStartingHashKey: HashKey; - } - export interface StartStreamEncryptionInput { - /** - * The name of the stream for which to start encrypting records. - */ - StreamName: StreamName; - /** - * The encryption type to use. This parameter can be one of the following values: NONE: Not valid for this operation. An InvalidOperationException will be thrown. KMS: Use server-side encryption on the records in the stream using a customer-managed KMS key. - */ - EncryptionType: EncryptionType; - /** - * The GUID for the customer-managed KMS key to use for encryption. You can also use a Kinesis-owned master key by specifying the alias aws/kinesis. - */ - KeyId: KeyId; - } - export interface StopStreamEncryptionInput { - /** - * The name of the stream on which to stop encrypting records. - */ - StreamName: StreamName; - /** - * The encryption type. This parameter can be one of the following values: NONE: Not valid for this operation. An InvalidOperationException will be thrown. KMS: Use server-side encryption on the records in the stream using a customer-managed KMS key. - */ - EncryptionType: EncryptionType; - /** - * The GUID for the customer-managed key that was used for encryption. - */ - KeyId: KeyId; - } - export type StreamARN = string; - export interface StreamDescription { - /** - * The name of the stream being described. - */ - StreamName: StreamName; - /** - * The Amazon Resource Name (ARN) for the stream being described. - */ - StreamARN: StreamARN; - /** - * The current status of the stream being described. The stream status is one of the following states: CREATING - The stream is being created. Amazon Kinesis immediately returns and sets StreamStatus to CREATING. DELETING - The stream is being deleted. The specified stream is in the DELETING state until Amazon Kinesis completes the deletion. ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream. UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state. - */ - StreamStatus: StreamStatus; - /** - * The shards that comprise the stream. - */ - Shards: ShardList; - /** - * If set to true, more shards in the stream are available to describe. - */ - HasMoreShards: BooleanObject; - /** - * The current retention period, in hours. - */ - RetentionPeriodHours: PositiveIntegerObject; - /** - * The approximate time that the stream was created. - */ - StreamCreationTimestamp: Timestamp; - /** - * Represents the current enhanced monitoring settings of the stream. - */ - EnhancedMonitoring: EnhancedMonitoringList; - /** - * The server-side encryption type used on the stream. This parameter can be one of the following values: NONE: Do not encrypt the records in the stream. KMS: Use server-side encryption on the records in the stream using a customer-managed KMS key. - */ - EncryptionType?: EncryptionType; - /** - * The GUID for the customer-managed KMS key used for encryption on the stream. - */ - KeyId?: KeyId; - } - export type StreamName = string; - export type StreamNameList = StreamName[]; - export type StreamStatus = "CREATING"|"DELETING"|"ACTIVE"|"UPDATING"|string; - export interface Tag { - /** - * A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @ - */ - Key: TagKey; - /** - * An optional string, typically used to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @ - */ - Value?: TagValue; - } - export type TagKey = string; - export type TagKeyList = TagKey[]; - export type TagList = Tag[]; - export type TagMap = {[key: string]: TagValue}; - export type TagValue = string; - export type Timestamp = Date; - export interface UpdateShardCountInput { - /** - * The name of the stream. - */ - StreamName: StreamName; - /** - * The new number of shards. - */ - TargetShardCount: PositiveIntegerObject; - /** - * The scaling type. Uniform scaling creates shards of equal size. - */ - ScalingType: ScalingType; - } - export interface UpdateShardCountOutput { - /** - * The name of the stream. - */ - StreamName?: StreamName; - /** - * The current number of shards. - */ - CurrentShardCount?: PositiveIntegerObject; - /** - * The updated number of shards. - */ - TargetShardCount?: PositiveIntegerObject; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2013-12-02"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Kinesis client. - */ - export import Types = Kinesis; -} -export = Kinesis; diff --git a/src/node_modules/aws-sdk/clients/kinesis.js b/src/node_modules/aws-sdk/clients/kinesis.js deleted file mode 100644 index 8cb6bc6..0000000 --- a/src/node_modules/aws-sdk/clients/kinesis.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['kinesis'] = {}; -AWS.Kinesis = Service.defineService('kinesis', ['2013-12-02']); -Object.defineProperty(apiLoader.services['kinesis'], '2013-12-02', { - get: function get() { - var model = require('../apis/kinesis-2013-12-02.min.json'); - model.paginators = require('../apis/kinesis-2013-12-02.paginators.json').pagination; - model.waiters = require('../apis/kinesis-2013-12-02.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Kinesis; diff --git a/src/node_modules/aws-sdk/clients/kinesisanalytics.d.ts b/src/node_modules/aws-sdk/clients/kinesisanalytics.d.ts deleted file mode 100644 index 04e8066..0000000 --- a/src/node_modules/aws-sdk/clients/kinesisanalytics.d.ts +++ /dev/null @@ -1,1019 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class KinesisAnalytics extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: KinesisAnalytics.Types.ClientConfiguration) - config: Config & KinesisAnalytics.Types.ClientConfiguration; - /** - * Adds a CloudWatch log stream to monitor application configuration errors. For more information about using CloudWatch log streams with Amazon Kinesis Analytics applications, see Monitoring Configuration Errors. - */ - addApplicationCloudWatchLoggingOption(params: KinesisAnalytics.Types.AddApplicationCloudWatchLoggingOptionRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationCloudWatchLoggingOptionResponse) => void): Request; - /** - * Adds a CloudWatch log stream to monitor application configuration errors. For more information about using CloudWatch log streams with Amazon Kinesis Analytics applications, see Monitoring Configuration Errors. - */ - addApplicationCloudWatchLoggingOption(callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationCloudWatchLoggingOptionResponse) => void): Request; - /** - * Adds a streaming source to your Amazon Kinesis application. For conceptual information, see Configuring Application Input. You can add a streaming source either when you create an application or you can use this operation to add a streaming source after you create an application. For more information, see CreateApplication. Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version. This operation requires permissions to perform the kinesisanalytics:AddApplicationInput action. - */ - addApplicationInput(params: KinesisAnalytics.Types.AddApplicationInputRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationInputResponse) => void): Request; - /** - * Adds a streaming source to your Amazon Kinesis application. For conceptual information, see Configuring Application Input. You can add a streaming source either when you create an application or you can use this operation to add a streaming source after you create an application. For more information, see CreateApplication. Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version. This operation requires permissions to perform the kinesisanalytics:AddApplicationInput action. - */ - addApplicationInput(callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationInputResponse) => void): Request; - /** - * Adds an external destination to your Amazon Kinesis Analytics application. If you want Amazon Kinesis Analytics to deliver data from an in-application stream within your application to an external destination (such as an Amazon Kinesis stream or a Firehose delivery stream), you add the relevant configuration to your application using this operation. You can configure one or more outputs for your application. Each output configuration maps an in-application stream and an external destination. You can use one of the output configurations to deliver data from your in-application error stream to an external destination so that you can analyze the errors. For conceptual information, see Understanding Application Output (Destination). Note that any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version. For the limits on the number of application inputs and outputs you can configure, see Limits. This operation requires permissions to perform the kinesisanalytics:AddApplicationOutput action. - */ - addApplicationOutput(params: KinesisAnalytics.Types.AddApplicationOutputRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationOutputResponse) => void): Request; - /** - * Adds an external destination to your Amazon Kinesis Analytics application. If you want Amazon Kinesis Analytics to deliver data from an in-application stream within your application to an external destination (such as an Amazon Kinesis stream or a Firehose delivery stream), you add the relevant configuration to your application using this operation. You can configure one or more outputs for your application. Each output configuration maps an in-application stream and an external destination. You can use one of the output configurations to deliver data from your in-application error stream to an external destination so that you can analyze the errors. For conceptual information, see Understanding Application Output (Destination). Note that any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version. For the limits on the number of application inputs and outputs you can configure, see Limits. This operation requires permissions to perform the kinesisanalytics:AddApplicationOutput action. - */ - addApplicationOutput(callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationOutputResponse) => void): Request; - /** - * Adds a reference data source to an existing application. Amazon Kinesis Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in Amazon S3 object maps to columns in the resulting in-application table. For conceptual information, see Configuring Application Input. For the limits on data sources you can add to your application, see Limits. This operation requires permissions to perform the kinesisanalytics:AddApplicationOutput action. - */ - addApplicationReferenceDataSource(params: KinesisAnalytics.Types.AddApplicationReferenceDataSourceRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationReferenceDataSourceResponse) => void): Request; - /** - * Adds a reference data source to an existing application. Amazon Kinesis Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in Amazon S3 object maps to columns in the resulting in-application table. For conceptual information, see Configuring Application Input. For the limits on data sources you can add to your application, see Limits. This operation requires permissions to perform the kinesisanalytics:AddApplicationOutput action. - */ - addApplicationReferenceDataSource(callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationReferenceDataSourceResponse) => void): Request; - /** - * Creates an Amazon Kinesis Analytics application. You can configure each application with one streaming source as input, application code to process the input, and up to five streaming destinations where you want Amazon Kinesis Analytics to write the output data from your application. For an overview, see How it Works. In the input configuration, you map the streaming source to an in-application stream, which you can think of as a constantly updating table. In the mapping, you must provide a schema for the in-application stream and map each data column in the in-application stream to a data element in the streaming source. Your application code is one or more SQL statements that read input data, transform it, and generate output. Your application code can create one or more SQL artifacts like SQL streams or pumps. In the output configuration, you can configure the application to write data from in-application streams created in your applications to up to five streaming destinations. To read data from your source stream or write data to destination streams, Amazon Kinesis Analytics needs your permissions. You grant these permissions by creating IAM roles. This operation requires permissions to perform the kinesisanalytics:CreateApplication action. For introductory exercises to create an Amazon Kinesis Analytics application, see Getting Started. - */ - createApplication(params: KinesisAnalytics.Types.CreateApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.CreateApplicationResponse) => void): Request; - /** - * Creates an Amazon Kinesis Analytics application. You can configure each application with one streaming source as input, application code to process the input, and up to five streaming destinations where you want Amazon Kinesis Analytics to write the output data from your application. For an overview, see How it Works. In the input configuration, you map the streaming source to an in-application stream, which you can think of as a constantly updating table. In the mapping, you must provide a schema for the in-application stream and map each data column in the in-application stream to a data element in the streaming source. Your application code is one or more SQL statements that read input data, transform it, and generate output. Your application code can create one or more SQL artifacts like SQL streams or pumps. In the output configuration, you can configure the application to write data from in-application streams created in your applications to up to five streaming destinations. To read data from your source stream or write data to destination streams, Amazon Kinesis Analytics needs your permissions. You grant these permissions by creating IAM roles. This operation requires permissions to perform the kinesisanalytics:CreateApplication action. For introductory exercises to create an Amazon Kinesis Analytics application, see Getting Started. - */ - createApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.CreateApplicationResponse) => void): Request; - /** - * Deletes the specified application. Amazon Kinesis Analytics halts application execution and deletes the application, including any application artifacts (such as in-application streams, reference table, and application code). This operation requires permissions to perform the kinesisanalytics:DeleteApplication action. - */ - deleteApplication(params: KinesisAnalytics.Types.DeleteApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationResponse) => void): Request; - /** - * Deletes the specified application. Amazon Kinesis Analytics halts application execution and deletes the application, including any application artifacts (such as in-application streams, reference table, and application code). This operation requires permissions to perform the kinesisanalytics:DeleteApplication action. - */ - deleteApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationResponse) => void): Request; - /** - * Deletes a CloudWatch log stream from an application. For more information about using CloudWatch log streams with Amazon Kinesis Analytics applications, see Monitoring Configuration Errors. - */ - deleteApplicationCloudWatchLoggingOption(params: KinesisAnalytics.Types.DeleteApplicationCloudWatchLoggingOptionRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationCloudWatchLoggingOptionResponse) => void): Request; - /** - * Deletes a CloudWatch log stream from an application. For more information about using CloudWatch log streams with Amazon Kinesis Analytics applications, see Monitoring Configuration Errors. - */ - deleteApplicationCloudWatchLoggingOption(callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationCloudWatchLoggingOptionResponse) => void): Request; - /** - * Deletes output destination configuration from your application configuration. Amazon Kinesis Analytics will no longer write data from the corresponding in-application stream to the external output destination. This operation requires permissions to perform the kinesisanalytics:DeleteApplicationOutput action. - */ - deleteApplicationOutput(params: KinesisAnalytics.Types.DeleteApplicationOutputRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationOutputResponse) => void): Request; - /** - * Deletes output destination configuration from your application configuration. Amazon Kinesis Analytics will no longer write data from the corresponding in-application stream to the external output destination. This operation requires permissions to perform the kinesisanalytics:DeleteApplicationOutput action. - */ - deleteApplicationOutput(callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationOutputResponse) => void): Request; - /** - * Deletes a reference data source configuration from the specified application configuration. If the application is running, Amazon Kinesis Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation. This operation requires permissions to perform the kinesisanalytics.DeleteApplicationReferenceDataSource action. - */ - deleteApplicationReferenceDataSource(params: KinesisAnalytics.Types.DeleteApplicationReferenceDataSourceRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationReferenceDataSourceResponse) => void): Request; - /** - * Deletes a reference data source configuration from the specified application configuration. If the application is running, Amazon Kinesis Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation. This operation requires permissions to perform the kinesisanalytics.DeleteApplicationReferenceDataSource action. - */ - deleteApplicationReferenceDataSource(callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationReferenceDataSourceResponse) => void): Request; - /** - * Returns information about a specific Amazon Kinesis Analytics application. If you want to retrieve a list of all applications in your account, use the ListApplications operation. This operation requires permissions to perform the kinesisanalytics:DescribeApplication action. You can use DescribeApplication to get the current application versionId, which you need to call other operations such as Update. - */ - describeApplication(params: KinesisAnalytics.Types.DescribeApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DescribeApplicationResponse) => void): Request; - /** - * Returns information about a specific Amazon Kinesis Analytics application. If you want to retrieve a list of all applications in your account, use the ListApplications operation. This operation requires permissions to perform the kinesisanalytics:DescribeApplication action. You can use DescribeApplication to get the current application versionId, which you need to call other operations such as Update. - */ - describeApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.DescribeApplicationResponse) => void): Request; - /** - * Infers a schema by evaluating sample records on the specified streaming source (Amazon Kinesis stream or Amazon Kinesis Firehose delivery stream). In the response, the operation returns the inferred schema and also the sample records that the operation used to infer the schema. You can use the inferred schema when configuring a streaming source for your application. For conceptual information, see Configuring Application Input. Note that when you create an application using the Amazon Kinesis Analytics console, the console uses this operation to infer a schema and show it in the console user interface. This operation requires permissions to perform the kinesisanalytics:DiscoverInputSchema action. - */ - discoverInputSchema(params: KinesisAnalytics.Types.DiscoverInputSchemaRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DiscoverInputSchemaResponse) => void): Request; - /** - * Infers a schema by evaluating sample records on the specified streaming source (Amazon Kinesis stream or Amazon Kinesis Firehose delivery stream). In the response, the operation returns the inferred schema and also the sample records that the operation used to infer the schema. You can use the inferred schema when configuring a streaming source for your application. For conceptual information, see Configuring Application Input. Note that when you create an application using the Amazon Kinesis Analytics console, the console uses this operation to infer a schema and show it in the console user interface. This operation requires permissions to perform the kinesisanalytics:DiscoverInputSchema action. - */ - discoverInputSchema(callback?: (err: AWSError, data: KinesisAnalytics.Types.DiscoverInputSchemaResponse) => void): Request; - /** - * Returns a list of Amazon Kinesis Analytics applications in your account. For each application, the response includes the application name, Amazon Resource Name (ARN), and status. If the response returns the HasMoreApplications value as true, you can send another request by adding the ExclusiveStartApplicationName in the request body, and set the value of this to the last application name from the previous response. If you want detailed information about a specific application, use DescribeApplication. This operation requires permissions to perform the kinesisanalytics:ListApplications action. - */ - listApplications(params: KinesisAnalytics.Types.ListApplicationsRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.ListApplicationsResponse) => void): Request; - /** - * Returns a list of Amazon Kinesis Analytics applications in your account. For each application, the response includes the application name, Amazon Resource Name (ARN), and status. If the response returns the HasMoreApplications value as true, you can send another request by adding the ExclusiveStartApplicationName in the request body, and set the value of this to the last application name from the previous response. If you want detailed information about a specific application, use DescribeApplication. This operation requires permissions to perform the kinesisanalytics:ListApplications action. - */ - listApplications(callback?: (err: AWSError, data: KinesisAnalytics.Types.ListApplicationsResponse) => void): Request; - /** - * Starts the specified Amazon Kinesis Analytics application. After creating an application, you must exclusively call this operation to start your application. After the application starts, it begins consuming the input data, processes it, and writes the output to the configured destination. The application status must be READY for you to start an application. You can get the application status in the console or using the DescribeApplication operation. After you start the application, you can stop the application from processing the input by calling the StopApplication operation. This operation requires permissions to perform the kinesisanalytics:StartApplication action. - */ - startApplication(params: KinesisAnalytics.Types.StartApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.StartApplicationResponse) => void): Request; - /** - * Starts the specified Amazon Kinesis Analytics application. After creating an application, you must exclusively call this operation to start your application. After the application starts, it begins consuming the input data, processes it, and writes the output to the configured destination. The application status must be READY for you to start an application. You can get the application status in the console or using the DescribeApplication operation. After you start the application, you can stop the application from processing the input by calling the StopApplication operation. This operation requires permissions to perform the kinesisanalytics:StartApplication action. - */ - startApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.StartApplicationResponse) => void): Request; - /** - * Stops the application from processing input data. You can stop an application only if it is in the running state. You can use the DescribeApplication operation to find the application state. After the application is stopped, Amazon Kinesis Analytics stops reading data from the input, the application stops processing data, and there is no output written to the destination. This operation requires permissions to perform the kinesisanalytics:StopApplication action. - */ - stopApplication(params: KinesisAnalytics.Types.StopApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.StopApplicationResponse) => void): Request; - /** - * Stops the application from processing input data. You can stop an application only if it is in the running state. You can use the DescribeApplication operation to find the application state. After the application is stopped, Amazon Kinesis Analytics stops reading data from the input, the application stops processing data, and there is no output written to the destination. This operation requires permissions to perform the kinesisanalytics:StopApplication action. - */ - stopApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.StopApplicationResponse) => void): Request; - /** - * Updates an existing Amazon Kinesis Analytics application. Using this API, you can update application code, input configuration, and output configuration. Note that Amazon Kinesis Analytics updates the CurrentApplicationVersionId each time you update your application. This operation requires permission for the kinesisanalytics:UpdateApplication action. - */ - updateApplication(params: KinesisAnalytics.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.UpdateApplicationResponse) => void): Request; - /** - * Updates an existing Amazon Kinesis Analytics application. Using this API, you can update application code, input configuration, and output configuration. Note that Amazon Kinesis Analytics updates the CurrentApplicationVersionId each time you update your application. This operation requires permission for the kinesisanalytics:UpdateApplication action. - */ - updateApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.UpdateApplicationResponse) => void): Request; -} -declare namespace KinesisAnalytics { - export interface AddApplicationCloudWatchLoggingOptionRequest { - /** - * The Amazon Kinesis Analytics application name. - */ - ApplicationName: ApplicationName; - /** - * The version ID of the Amazon Kinesis Analytics application. - */ - CurrentApplicationVersionId: ApplicationVersionId; - /** - * Provide the CloudWatch log stream ARN and the IAM role ARN. Note: To write application messages to CloudWatch, the IAM role used must have the PutLogEvents policy action enabled. - */ - CloudWatchLoggingOption: CloudWatchLoggingOption; - } - export interface AddApplicationCloudWatchLoggingOptionResponse { - } - export interface AddApplicationInputRequest { - /** - * Name of your existing Amazon Kinesis Analytics application to which you want to add the streaming source. - */ - ApplicationName: ApplicationName; - /** - * Current version of your Amazon Kinesis Analytics application. You can use the DescribeApplication operation to find the current application version. - */ - CurrentApplicationVersionId: ApplicationVersionId; - /** - * - */ - Input: Input; - } - export interface AddApplicationInputResponse { - } - export interface AddApplicationOutputRequest { - /** - * Name of the application to which you want to add the output configuration. - */ - ApplicationName: ApplicationName; - /** - * Version of the application to which you want add the output configuration. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. - */ - CurrentApplicationVersionId: ApplicationVersionId; - /** - * An array of objects, each describing one output configuration. In the output configuration, you specify the name of an in-application stream, a destination (that is, an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream), and record the formation to use when writing to the destination. - */ - Output: Output; - } - export interface AddApplicationOutputResponse { - } - export interface AddApplicationReferenceDataSourceRequest { - /** - * Name of an existing application. - */ - ApplicationName: ApplicationName; - /** - * Version of the application for which you are adding the reference data source. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. - */ - CurrentApplicationVersionId: ApplicationVersionId; - /** - * The reference data source can be an object in your Amazon S3 bucket. Amazon Kinesis Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created. You must also provide an IAM role with the necessary permissions that Amazon Kinesis Analytics can assume to read the object from your S3 bucket on your behalf. - */ - ReferenceDataSource: ReferenceDataSource; - } - export interface AddApplicationReferenceDataSourceResponse { - } - export type ApplicationCode = string; - export type ApplicationDescription = string; - export interface ApplicationDetail { - /** - * Name of the application. - */ - ApplicationName: ApplicationName; - /** - * Description of the application. - */ - ApplicationDescription?: ApplicationDescription; - /** - * ARN of the application. - */ - ApplicationARN: ResourceARN; - /** - * Status of the application. - */ - ApplicationStatus: ApplicationStatus; - /** - * Timestamp when the application version was created. - */ - CreateTimestamp?: Timestamp; - /** - * Timestamp when the application was last updated. - */ - LastUpdateTimestamp?: Timestamp; - /** - * Describes the application input configuration. For more information, see Configuring Application Input. - */ - InputDescriptions?: InputDescriptions; - /** - * Describes the application output configuration. For more information, see Configuring Application Output. - */ - OutputDescriptions?: OutputDescriptions; - /** - * Describes reference data sources configured for the application. For more information, see Configuring Application Input. - */ - ReferenceDataSourceDescriptions?: ReferenceDataSourceDescriptions; - /** - * Describes the CloudWatch log streams configured to receive application messages. For more information about using CloudWatch log streams with Amazon Kinesis Analytics applications, see Monitoring Configuration Errors. - */ - CloudWatchLoggingOptionDescriptions?: CloudWatchLoggingOptionDescriptions; - /** - * Returns the application code that you provided to perform data analysis on any of the in-application streams in your application. - */ - ApplicationCode?: ApplicationCode; - /** - * Provides the current application version. - */ - ApplicationVersionId: ApplicationVersionId; - } - export type ApplicationName = string; - export type ApplicationStatus = "DELETING"|"STARTING"|"STOPPING"|"READY"|"RUNNING"|"UPDATING"|string; - export type ApplicationSummaries = ApplicationSummary[]; - export interface ApplicationSummary { - /** - * Name of the application. - */ - ApplicationName: ApplicationName; - /** - * ARN of the application. - */ - ApplicationARN: ResourceARN; - /** - * Status of the application. - */ - ApplicationStatus: ApplicationStatus; - } - export interface ApplicationUpdate { - /** - * Describes application input configuration updates. - */ - InputUpdates?: InputUpdates; - /** - * Describes application code updates. - */ - ApplicationCodeUpdate?: ApplicationCode; - /** - * Describes application output configuration updates. - */ - OutputUpdates?: OutputUpdates; - /** - * Describes application reference data source updates. - */ - ReferenceDataSourceUpdates?: ReferenceDataSourceUpdates; - /** - * Describes application CloudWatch logging option updates. - */ - CloudWatchLoggingOptionUpdates?: CloudWatchLoggingOptionUpdates; - } - export type ApplicationVersionId = number; - export type BooleanObject = boolean; - export type BucketARN = string; - export interface CSVMappingParameters { - /** - * Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter. - */ - RecordRowDelimiter: RecordRowDelimiter; - /** - * Column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter. - */ - RecordColumnDelimiter: RecordColumnDelimiter; - } - export interface CloudWatchLoggingOption { - /** - * ARN of the CloudWatch log to receive application messages. - */ - LogStreamARN: LogStreamARN; - /** - * IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role used must have the PutLogEvents policy action enabled. - */ - RoleARN: RoleARN; - } - export interface CloudWatchLoggingOptionDescription { - /** - * ID of the CloudWatch logging option description. - */ - CloudWatchLoggingOptionId?: Id; - /** - * ARN of the CloudWatch log to receive application messages. - */ - LogStreamARN: LogStreamARN; - /** - * IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role used must have the PutLogEvents policy action enabled. - */ - RoleARN: RoleARN; - } - export type CloudWatchLoggingOptionDescriptions = CloudWatchLoggingOptionDescription[]; - export interface CloudWatchLoggingOptionUpdate { - /** - * ID of the CloudWatch logging option to update - */ - CloudWatchLoggingOptionId: Id; - /** - * ARN of the CloudWatch log to receive application messages. - */ - LogStreamARNUpdate?: LogStreamARN; - /** - * IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role used must have the PutLogEvents policy action enabled. - */ - RoleARNUpdate?: RoleARN; - } - export type CloudWatchLoggingOptionUpdates = CloudWatchLoggingOptionUpdate[]; - export type CloudWatchLoggingOptions = CloudWatchLoggingOption[]; - export interface CreateApplicationRequest { - /** - * Name of your Amazon Kinesis Analytics application (for example, sample-app). - */ - ApplicationName: ApplicationName; - /** - * Summary description of the application. - */ - ApplicationDescription?: ApplicationDescription; - /** - * Use this parameter to configure the application input. You can configure your application to receive input from a single streaming source. In this configuration, you map this streaming source to an in-application stream that is created. Your application code can then query the in-application stream like a table (you can think of it as a constantly updating table). For the streaming source, you provide its Amazon Resource Name (ARN) and format of data on the stream (for example, JSON, CSV, etc). You also must provide an IAM role that Amazon Kinesis Analytics can assume to read this stream on your behalf. To create the in-application stream, you need to specify a schema to transform your data into a schematized version used in SQL. In the schema, you provide the necessary mapping of the data elements in the streaming source to record columns in the in-app stream. - */ - Inputs?: Inputs; - /** - * You can configure application output to write data from any of the in-application streams to up to five destinations. These destinations can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, or both. In the configuration, you specify the in-application stream name, the destination stream Amazon Resource Name (ARN), and the format to use when writing data. You must also provide an IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. In the output configuration, you also provide the output stream Amazon Resource Name (ARN) and the format of data in the stream (for example, JSON, CSV). You also must provide an IAM role that Amazon Kinesis Analytics can assume to write to this stream on your behalf. - */ - Outputs?: Outputs; - /** - * Use this parameter to configure a CloudWatch log stream to monitor application configuration errors. For more information, see Monitoring Configuration Errors. - */ - CloudWatchLoggingOptions?: CloudWatchLoggingOptions; - /** - * One or more SQL statements that read input data, transform it, and generate output. For example, you can write a SQL statement that reads data from one in-application stream, generates a running average of the number of advertisement clicks by vendor, and insert resulting rows in another in-application stream using pumps. For more inforamtion about the typical pattern, see Application Code. You can provide such series of SQL statements, where output of one statement can be used as the input for the next statement. You store intermediate results by creating in-application streams and pumps. Note that the application code must create the streams with names specified in the Outputs. For example, if your Outputs defines output streams named ExampleOutputStream1 and ExampleOutputStream2, then your application code must create these streams. - */ - ApplicationCode?: ApplicationCode; - } - export interface CreateApplicationResponse { - /** - * In response to your CreateApplication request, Amazon Kinesis Analytics returns a response with a summary of the application it created, including the application Amazon Resource Name (ARN), name, and status. - */ - ApplicationSummary: ApplicationSummary; - } - export interface DeleteApplicationCloudWatchLoggingOptionRequest { - /** - * The Amazon Kinesis Analytics application name. - */ - ApplicationName: ApplicationName; - /** - * The version ID of the Amazon Kinesis Analytics application. - */ - CurrentApplicationVersionId: ApplicationVersionId; - /** - * The CloudWatchLoggingOptionId of the CloudWatch logging option to delete. You can use the DescribeApplication operation to get the CloudWatchLoggingOptionId. - */ - CloudWatchLoggingOptionId: Id; - } - export interface DeleteApplicationCloudWatchLoggingOptionResponse { - } - export interface DeleteApplicationOutputRequest { - /** - * Amazon Kinesis Analytics application name. - */ - ApplicationName: ApplicationName; - /** - * Amazon Kinesis Analytics application version. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. - */ - CurrentApplicationVersionId: ApplicationVersionId; - /** - * The ID of the configuration to delete. Each output configuration that is added to the application, either when the application is created or later using the AddApplicationOutput operation, has a unique ID. You need to provide the ID to uniquely identify the output configuration that you want to delete from the application configuration. You can use the DescribeApplication operation to get the specific OutputId. - */ - OutputId: Id; - } - export interface DeleteApplicationOutputResponse { - } - export interface DeleteApplicationReferenceDataSourceRequest { - /** - * Name of an existing application. - */ - ApplicationName: ApplicationName; - /** - * Version of the application. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. - */ - CurrentApplicationVersionId: ApplicationVersionId; - /** - * ID of the reference data source. When you add a reference data source to your application using the AddApplicationReferenceDataSource, Amazon Kinesis Analytics assigns an ID. You can use the DescribeApplication operation to get the reference ID. - */ - ReferenceId: Id; - } - export interface DeleteApplicationReferenceDataSourceResponse { - } - export interface DeleteApplicationRequest { - /** - * Name of the Amazon Kinesis Analytics application to delete. - */ - ApplicationName: ApplicationName; - /** - * You can use the DescribeApplication operation to get this value. - */ - CreateTimestamp: Timestamp; - } - export interface DeleteApplicationResponse { - } - export interface DescribeApplicationRequest { - /** - * Name of the application. - */ - ApplicationName: ApplicationName; - } - export interface DescribeApplicationResponse { - /** - * Provides a description of the application, such as the application Amazon Resource Name (ARN), status, latest version, and input and output configuration details. - */ - ApplicationDetail: ApplicationDetail; - } - export interface DestinationSchema { - /** - * Specifies the format of the records on the output stream. - */ - RecordFormatType?: RecordFormatType; - } - export interface DiscoverInputSchemaRequest { - /** - * Amazon Resource Name (ARN) of the streaming source. - */ - ResourceARN: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. - */ - RoleARN: RoleARN; - /** - * Point at which you want Amazon Kinesis Analytics to start reading records from the specified streaming source discovery purposes. - */ - InputStartingPositionConfiguration: InputStartingPositionConfiguration; - } - export interface DiscoverInputSchemaResponse { - /** - * Schema inferred from the streaming source. It identifies the format of the data in the streaming source and how each data element maps to corresponding columns in the in-application stream that you can create. - */ - InputSchema?: SourceSchema; - /** - * An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row). - */ - ParsedInputRecords?: ParsedInputRecords; - /** - * Raw stream data that was sampled to infer the schema. - */ - RawInputRecords?: RawInputRecords; - } - export type ErrorMessage = string; - export type FileKey = string; - export type Id = string; - export type InAppStreamName = string; - export type InAppStreamNames = InAppStreamName[]; - export type InAppTableName = string; - export interface Input { - /** - * Name prefix to use when creating in-application stream. Suppose you specify a prefix "MyInApplicationStream". Amazon Kinesis Analytics will then create one or more (as per the InputParallelism count you specified) in-application streams with names "MyInApplicationStream_001", "MyInApplicationStream_002" and so on. - */ - NamePrefix: InAppStreamName; - /** - * If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf. - */ - KinesisStreamsInput?: KinesisStreamsInput; - /** - * If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the Firehose delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf. - */ - KinesisFirehoseInput?: KinesisFirehoseInput; - /** - * Describes the number of in-application streams to create. Data from your source will be routed to these in-application input streams. (see Configuring Application Input. - */ - InputParallelism?: InputParallelism; - /** - * Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created. Also used to describe the format of the reference data source. - */ - InputSchema: SourceSchema; - } - export interface InputConfiguration { - /** - * Input source ID. You can get this ID by calling the DescribeApplication operation. - */ - Id: Id; - /** - * Point at which you want the application to start processing records from the streaming source. - */ - InputStartingPositionConfiguration: InputStartingPositionConfiguration; - } - export type InputConfigurations = InputConfiguration[]; - export interface InputDescription { - /** - * Input ID associated with the application input. This is the ID that Amazon Kinesis Analytics assigns to each input configuration you add to your application. - */ - InputId?: Id; - /** - * In-application name prefix. - */ - NamePrefix?: InAppStreamName; - /** - * Returns the in-application stream names that are mapped to the stream source. - */ - InAppStreamNames?: InAppStreamNames; - /** - * If an Amazon Kinesis stream is configured as streaming source, provides Amazon Kinesis stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf. - */ - KinesisStreamsInputDescription?: KinesisStreamsInputDescription; - /** - * If an Amazon Kinesis Firehose delivery stream is configured as a streaming source, provides the Firehose delivery stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf. - */ - KinesisFirehoseInputDescription?: KinesisFirehoseInputDescription; - InputSchema?: SourceSchema; - /** - * Describes the configured parallelism (number of in-application streams mapped to the streaming source). - */ - InputParallelism?: InputParallelism; - /** - * Point at which the application is configured to read from the input stream. - */ - InputStartingPositionConfiguration?: InputStartingPositionConfiguration; - } - export type InputDescriptions = InputDescription[]; - export interface InputParallelism { - /** - * Number of in-application streams to create. For more information, see Limits. - */ - Count?: InputParallelismCount; - } - export type InputParallelismCount = number; - export interface InputParallelismUpdate { - /** - * Number of in-application streams to create for the specified streaming source. - */ - CountUpdate?: InputParallelismCount; - } - export interface InputSchemaUpdate { - /** - * Specifies the format of the records on the streaming source. - */ - RecordFormatUpdate?: RecordFormat; - /** - * Specifies the encoding of the records in the streaming source. For example, UTF-8. - */ - RecordEncodingUpdate?: RecordEncoding; - /** - * A list of RecordColumn objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream. - */ - RecordColumnUpdates?: RecordColumns; - } - export type InputStartingPosition = "NOW"|"TRIM_HORIZON"|"LAST_STOPPED_POINT"|string; - export interface InputStartingPositionConfiguration { - /** - * The starting position on the stream. NOW - Start reading just after the most recent record in the stream, start at the request timestamp that the customer issued. TRIM_HORIZON - Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Firehose delivery stream. LAST_STOPPED_POINT - Resume reading from where the application last stopped reading. - */ - InputStartingPosition?: InputStartingPosition; - } - export interface InputUpdate { - /** - * Input ID of the application input to be updated. - */ - InputId: Id; - /** - * Name prefix for in-application streams that Amazon Kinesis Analytics creates for the specific streaming source. - */ - NamePrefixUpdate?: InAppStreamName; - /** - * If a Amazon Kinesis stream is the streaming source to be updated, provides an updated stream ARN and IAM role ARN. - */ - KinesisStreamsInputUpdate?: KinesisStreamsInputUpdate; - /** - * If an Amazon Kinesis Firehose delivery stream is the streaming source to be updated, provides an updated stream Amazon Resource Name (ARN) and IAM role ARN. - */ - KinesisFirehoseInputUpdate?: KinesisFirehoseInputUpdate; - /** - * Describes the data format on the streaming source, and how record elements on the streaming source map to columns of the in-application stream that is created. - */ - InputSchemaUpdate?: InputSchemaUpdate; - /** - * Describes the parallelism updates (the number in-application streams Amazon Kinesis Analytics creates for the specific streaming source). - */ - InputParallelismUpdate?: InputParallelismUpdate; - } - export type InputUpdates = InputUpdate[]; - export type Inputs = Input[]; - export interface JSONMappingParameters { - /** - * Path to the top-level parent that contains the records. For example, consider the following JSON record: In the RecordRowPath, "$" refers to the root and path "$.vehicle.Model" refers to the specific "Model" key in the JSON. - */ - RecordRowPath: RecordRowPath; - } - export interface KinesisFirehoseInput { - /** - * ARN of the input Firehose delivery stream. - */ - ResourceARN: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to make sure the role has necessary permissions to access the stream. - */ - RoleARN: RoleARN; - } - export interface KinesisFirehoseInputDescription { - /** - * Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream. - */ - ResourceARN?: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics assumes to access the stream. - */ - RoleARN?: RoleARN; - } - export interface KinesisFirehoseInputUpdate { - /** - * ARN of the input Amazon Kinesis Firehose delivery stream to read. - */ - ResourceARNUpdate?: ResourceARN; - /** - * Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant necessary permissions to this role. - */ - RoleARNUpdate?: RoleARN; - } - export interface KinesisFirehoseOutput { - /** - * ARN of the destination Amazon Kinesis Firehose delivery stream to write to. - */ - ResourceARN: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. You need to grant the necessary permissions to this role. - */ - RoleARN: RoleARN; - } - export interface KinesisFirehoseOutputDescription { - /** - * Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream. - */ - ResourceARN?: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream. - */ - RoleARN?: RoleARN; - } - export interface KinesisFirehoseOutputUpdate { - /** - * Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to write to. - */ - ResourceARNUpdate?: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant necessary permissions to this role. - */ - RoleARNUpdate?: RoleARN; - } - export interface KinesisStreamsInput { - /** - * ARN of the input Amazon Kinesis stream to read. - */ - ResourceARN: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role. - */ - RoleARN: RoleARN; - } - export interface KinesisStreamsInputDescription { - /** - * Amazon Resource Name (ARN) of the Amazon Kinesis stream. - */ - ResourceARN?: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream. - */ - RoleARN?: RoleARN; - } - export interface KinesisStreamsInputUpdate { - /** - * Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read. - */ - ResourceARNUpdate?: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role. - */ - RoleARNUpdate?: RoleARN; - } - export interface KinesisStreamsOutput { - /** - * ARN of the destination Amazon Kinesis stream to write to. - */ - ResourceARN: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. You need to grant the necessary permissions to this role. - */ - RoleARN: RoleARN; - } - export interface KinesisStreamsOutputDescription { - /** - * Amazon Resource Name (ARN) of the Amazon Kinesis stream. - */ - ResourceARN?: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream. - */ - RoleARN?: RoleARN; - } - export interface KinesisStreamsOutputUpdate { - /** - * Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to write the output. - */ - ResourceARNUpdate?: ResourceARN; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role. - */ - RoleARNUpdate?: RoleARN; - } - export type ListApplicationsInputLimit = number; - export interface ListApplicationsRequest { - /** - * Maximum number of applications to list. - */ - Limit?: ListApplicationsInputLimit; - /** - * Name of the application to start the list with. When using pagination to retrieve the list, you don't need to specify this parameter in the first request. However, in subsequent requests, you add the last application name from the previous response to get the next page of applications. - */ - ExclusiveStartApplicationName?: ApplicationName; - } - export interface ListApplicationsResponse { - /** - * List of ApplicationSummary objects. - */ - ApplicationSummaries: ApplicationSummaries; - /** - * Returns true if there are more applications to retrieve. - */ - HasMoreApplications: BooleanObject; - } - export type LogStreamARN = string; - export interface MappingParameters { - /** - * Provides additional mapping information when JSON is the record format on the streaming source. - */ - JSONMappingParameters?: JSONMappingParameters; - /** - * Provides additional mapping information when the record format uses delimiters (for example, CSV). - */ - CSVMappingParameters?: CSVMappingParameters; - } - export interface Output { - /** - * Name of the in-application stream. - */ - Name: InAppStreamName; - /** - * Identifies an Amazon Kinesis stream as the destination. - */ - KinesisStreamsOutput?: KinesisStreamsOutput; - /** - * Identifies an Amazon Kinesis Firehose delivery stream as the destination. - */ - KinesisFirehoseOutput?: KinesisFirehoseOutput; - DestinationSchema: DestinationSchema; - } - export interface OutputDescription { - /** - * A unique identifier for the output configuration. - */ - OutputId?: Id; - /** - * Name of the in-application stream configured as output. - */ - Name?: InAppStreamName; - /** - * Describes Amazon Kinesis stream configured as the destination where output is written. - */ - KinesisStreamsOutputDescription?: KinesisStreamsOutputDescription; - /** - * Describes the Amazon Kinesis Firehose delivery stream configured as the destination where output is written. - */ - KinesisFirehoseOutputDescription?: KinesisFirehoseOutputDescription; - /** - * Data format used for writing data to the destination. - */ - DestinationSchema?: DestinationSchema; - } - export type OutputDescriptions = OutputDescription[]; - export interface OutputUpdate { - /** - * Identifies the specific output configuration that you want to update. - */ - OutputId: Id; - /** - * If you want to specify a different in-application stream for this output configuration, use this field to specify the new in-application stream name. - */ - NameUpdate?: InAppStreamName; - /** - * Describes an Amazon Kinesis stream as the destination for the output. - */ - KinesisStreamsOutputUpdate?: KinesisStreamsOutputUpdate; - /** - * Describes a Amazon Kinesis Firehose delivery stream as the destination for the output. - */ - KinesisFirehoseOutputUpdate?: KinesisFirehoseOutputUpdate; - DestinationSchemaUpdate?: DestinationSchema; - } - export type OutputUpdates = OutputUpdate[]; - export type Outputs = Output[]; - export type ParsedInputRecord = ParsedInputRecordField[]; - export type ParsedInputRecordField = string; - export type ParsedInputRecords = ParsedInputRecord[]; - export type RawInputRecord = string; - export type RawInputRecords = RawInputRecord[]; - export interface RecordColumn { - /** - * Name of the column created in the in-application input stream or reference table. - */ - Name: RecordColumnName; - /** - * Reference to the data element in the streaming input of the reference data source. - */ - Mapping?: RecordColumnMapping; - /** - * Type of column created in the in-application input stream or reference table. - */ - SqlType: RecordColumnSqlType; - } - export type RecordColumnDelimiter = string; - export type RecordColumnMapping = string; - export type RecordColumnName = string; - export type RecordColumnSqlType = string; - export type RecordColumns = RecordColumn[]; - export type RecordEncoding = string; - export interface RecordFormat { - /** - * The type of record format. - */ - RecordFormatType: RecordFormatType; - MappingParameters?: MappingParameters; - } - export type RecordFormatType = "JSON"|"CSV"|string; - export type RecordRowDelimiter = string; - export type RecordRowPath = string; - export interface ReferenceDataSource { - /** - * Name of the in-application table to create. - */ - TableName: InAppTableName; - S3ReferenceDataSource?: S3ReferenceDataSource; - ReferenceSchema: SourceSchema; - } - export interface ReferenceDataSourceDescription { - /** - * ID of the reference data source. This is the ID that Amazon Kinesis Analytics assigns when you add the reference data source to your application using the AddApplicationReferenceDataSource operation. - */ - ReferenceId: Id; - /** - * The in-application table name created by the specific reference data source configuration. - */ - TableName: InAppTableName; - /** - * Provides the S3 bucket name, the object key name that contains the reference data. It also provides the Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application reference table. - */ - S3ReferenceDataSourceDescription: S3ReferenceDataSourceDescription; - ReferenceSchema?: SourceSchema; - } - export type ReferenceDataSourceDescriptions = ReferenceDataSourceDescription[]; - export interface ReferenceDataSourceUpdate { - /** - * ID of the reference data source being updated. You can use the DescribeApplication operation to get this value. - */ - ReferenceId: Id; - /** - * In-application table name that is created by this update. - */ - TableNameUpdate?: InAppTableName; - /** - * Describes the S3 bucket name, object key name, and IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object on your behalf and populate the in-application reference table. - */ - S3ReferenceDataSourceUpdate?: S3ReferenceDataSourceUpdate; - ReferenceSchemaUpdate?: SourceSchema; - } - export type ReferenceDataSourceUpdates = ReferenceDataSourceUpdate[]; - export type ResourceARN = string; - export type RoleARN = string; - export interface S3ReferenceDataSource { - /** - * Amazon Resource Name (ARN) of the S3 bucket. - */ - BucketARN: BucketARN; - /** - * Object key name containing reference data. - */ - FileKey: FileKey; - /** - * ARN of the IAM role that the service can assume to read data on your behalf. This role must have permission for the s3:GetObject action on the object and trust policy that allows Amazon Kinesis Analytics service principal to assume this role. - */ - ReferenceRoleARN: RoleARN; - } - export interface S3ReferenceDataSourceDescription { - /** - * Amazon Resource Name (ARN) of the S3 bucket. - */ - BucketARN: BucketARN; - /** - * Amazon S3 object key name. - */ - FileKey: FileKey; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table. - */ - ReferenceRoleARN: RoleARN; - } - export interface S3ReferenceDataSourceUpdate { - /** - * Amazon Resource Name (ARN) of the S3 bucket. - */ - BucketARNUpdate?: BucketARN; - /** - * Object key name. - */ - FileKeyUpdate?: FileKey; - /** - * ARN of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application. - */ - ReferenceRoleARNUpdate?: RoleARN; - } - export interface SourceSchema { - /** - * Specifies the format of the records on the streaming source. - */ - RecordFormat: RecordFormat; - /** - * Specifies the encoding of the records in the streaming source. For example, UTF-8. - */ - RecordEncoding?: RecordEncoding; - /** - * A list of RecordColumn objects. - */ - RecordColumns: RecordColumns; - } - export interface StartApplicationRequest { - /** - * Name of the application. - */ - ApplicationName: ApplicationName; - /** - * Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts reading the streaming source associated with the input. You can also specify where in the streaming source you want Amazon Kinesis Analytics to start reading. - */ - InputConfigurations: InputConfigurations; - } - export interface StartApplicationResponse { - } - export interface StopApplicationRequest { - /** - * Name of the running application to stop. - */ - ApplicationName: ApplicationName; - } - export interface StopApplicationResponse { - } - export type Timestamp = Date; - export interface UpdateApplicationRequest { - /** - * Name of the Amazon Kinesis Analytics application to update. - */ - ApplicationName: ApplicationName; - /** - * The current application version ID. You can use the DescribeApplication operation to get this value. - */ - CurrentApplicationVersionId: ApplicationVersionId; - /** - * Describes application updates. - */ - ApplicationUpdate: ApplicationUpdate; - } - export interface UpdateApplicationResponse { - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-08-14"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the KinesisAnalytics client. - */ - export import Types = KinesisAnalytics; -} -export = KinesisAnalytics; diff --git a/src/node_modules/aws-sdk/clients/kinesisanalytics.js b/src/node_modules/aws-sdk/clients/kinesisanalytics.js deleted file mode 100644 index b06b44e..0000000 --- a/src/node_modules/aws-sdk/clients/kinesisanalytics.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['kinesisanalytics'] = {}; -AWS.KinesisAnalytics = Service.defineService('kinesisanalytics', ['2015-08-14']); -Object.defineProperty(apiLoader.services['kinesisanalytics'], '2015-08-14', { - get: function get() { - var model = require('../apis/kinesisanalytics-2015-08-14.min.json'); - model.paginators = require('../apis/kinesisanalytics-2015-08-14.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KinesisAnalytics; diff --git a/src/node_modules/aws-sdk/clients/kms.d.ts b/src/node_modules/aws-sdk/clients/kms.d.ts deleted file mode 100644 index 08ef338..0000000 --- a/src/node_modules/aws-sdk/clients/kms.d.ts +++ /dev/null @@ -1,1136 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class KMS extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: KMS.Types.ClientConfiguration) - config: Config & KMS.Types.ClientConfiguration; - /** - * Cancels the deletion of a customer master key (CMK). When this operation is successful, the CMK is set to the Disabled state. To enable a CMK, use EnableKey. For more information about scheduling and canceling deletion of a CMK, see Deleting Customer Master Keys in the AWS Key Management Service Developer Guide. - */ - cancelKeyDeletion(params: KMS.Types.CancelKeyDeletionRequest, callback?: (err: AWSError, data: KMS.Types.CancelKeyDeletionResponse) => void): Request; - /** - * Cancels the deletion of a customer master key (CMK). When this operation is successful, the CMK is set to the Disabled state. To enable a CMK, use EnableKey. For more information about scheduling and canceling deletion of a CMK, see Deleting Customer Master Keys in the AWS Key Management Service Developer Guide. - */ - cancelKeyDeletion(callback?: (err: AWSError, data: KMS.Types.CancelKeyDeletionResponse) => void): Request; - /** - * Creates a display name for a customer master key. An alias can be used to identify a key and should be unique. The console enforces a one-to-one mapping between the alias and a key. An alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). An alias must start with the word "alias" followed by a forward slash (alias/). An alias that begins with "aws" after the forward slash (alias/aws...) is reserved by Amazon Web Services (AWS). The alias and the key it is mapped to must be in the same AWS account and the same region. To map an alias to a different key, call UpdateAlias. - */ - createAlias(params: KMS.Types.CreateAliasRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a display name for a customer master key. An alias can be used to identify a key and should be unique. The console enforces a one-to-one mapping between the alias and a key. An alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). An alias must start with the word "alias" followed by a forward slash (alias/). An alias that begins with "aws" after the forward slash (alias/aws...) is reserved by Amazon Web Services (AWS). The alias and the key it is mapped to must be in the same AWS account and the same region. To map an alias to a different key, call UpdateAlias. - */ - createAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds a grant to a key to specify who can use the key and under what conditions. Grants are alternate permission mechanisms to key policies. For more information about grants, see Grants in the AWS Key Management Service Developer Guide. - */ - createGrant(params: KMS.Types.CreateGrantRequest, callback?: (err: AWSError, data: KMS.Types.CreateGrantResponse) => void): Request; - /** - * Adds a grant to a key to specify who can use the key and under what conditions. Grants are alternate permission mechanisms to key policies. For more information about grants, see Grants in the AWS Key Management Service Developer Guide. - */ - createGrant(callback?: (err: AWSError, data: KMS.Types.CreateGrantResponse) => void): Request; - /** - * Creates a customer master key (CMK). You can use a CMK to encrypt small amounts of data (4 KiB or less) directly, but CMKs are more commonly used to encrypt data encryption keys (DEKs), which are used to encrypt raw data. For more information about DEKs and the difference between CMKs and DEKs, see the following: The GenerateDataKey operation AWS Key Management Service Concepts in the AWS Key Management Service Developer Guide - */ - createKey(params: KMS.Types.CreateKeyRequest, callback?: (err: AWSError, data: KMS.Types.CreateKeyResponse) => void): Request; - /** - * Creates a customer master key (CMK). You can use a CMK to encrypt small amounts of data (4 KiB or less) directly, but CMKs are more commonly used to encrypt data encryption keys (DEKs), which are used to encrypt raw data. For more information about DEKs and the difference between CMKs and DEKs, see the following: The GenerateDataKey operation AWS Key Management Service Concepts in the AWS Key Management Service Developer Guide - */ - createKey(callback?: (err: AWSError, data: KMS.Types.CreateKeyResponse) => void): Request; - /** - * Decrypts ciphertext. Ciphertext is plaintext that has been previously encrypted by using any of the following functions: GenerateDataKey GenerateDataKeyWithoutPlaintext Encrypt Note that if a caller has been granted access permissions to all keys (through, for example, IAM user policies that grant Decrypt permission on all resources), then ciphertext encrypted by using keys in other accounts where the key grants access to the caller can be decrypted. To remedy this, we recommend that you do not grant Decrypt access in an IAM user policy. Instead grant Decrypt access only in key policies. If you must grant Decrypt access in an IAM user policy, you should scope the resource to specific keys or to specific trusted accounts. - */ - decrypt(params: KMS.Types.DecryptRequest, callback?: (err: AWSError, data: KMS.Types.DecryptResponse) => void): Request; - /** - * Decrypts ciphertext. Ciphertext is plaintext that has been previously encrypted by using any of the following functions: GenerateDataKey GenerateDataKeyWithoutPlaintext Encrypt Note that if a caller has been granted access permissions to all keys (through, for example, IAM user policies that grant Decrypt permission on all resources), then ciphertext encrypted by using keys in other accounts where the key grants access to the caller can be decrypted. To remedy this, we recommend that you do not grant Decrypt access in an IAM user policy. Instead grant Decrypt access only in key policies. If you must grant Decrypt access in an IAM user policy, you should scope the resource to specific keys or to specific trusted accounts. - */ - decrypt(callback?: (err: AWSError, data: KMS.Types.DecryptResponse) => void): Request; - /** - * Deletes the specified alias. To map an alias to a different key, call UpdateAlias. - */ - deleteAlias(params: KMS.Types.DeleteAliasRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified alias. To map an alias to a different key, call UpdateAlias. - */ - deleteAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes key material that you previously imported and makes the specified customer master key (CMK) unusable. For more information about importing key material into AWS KMS, see Importing Key Material in the AWS Key Management Service Developer Guide. When the specified CMK is in the PendingDeletion state, this operation does not change the CMK's state. Otherwise, it changes the CMK's state to PendingImport. After you delete key material, you can use ImportKeyMaterial to reimport the same key material into the CMK. - */ - deleteImportedKeyMaterial(params: KMS.Types.DeleteImportedKeyMaterialRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes key material that you previously imported and makes the specified customer master key (CMK) unusable. For more information about importing key material into AWS KMS, see Importing Key Material in the AWS Key Management Service Developer Guide. When the specified CMK is in the PendingDeletion state, this operation does not change the CMK's state. Otherwise, it changes the CMK's state to PendingImport. After you delete key material, you can use ImportKeyMaterial to reimport the same key material into the CMK. - */ - deleteImportedKeyMaterial(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Provides detailed information about the specified customer master key. - */ - describeKey(params: KMS.Types.DescribeKeyRequest, callback?: (err: AWSError, data: KMS.Types.DescribeKeyResponse) => void): Request; - /** - * Provides detailed information about the specified customer master key. - */ - describeKey(callback?: (err: AWSError, data: KMS.Types.DescribeKeyResponse) => void): Request; - /** - * Sets the state of a customer master key (CMK) to disabled, thereby preventing its use for cryptographic operations. For more information about how key state affects the use of a CMK, see How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide. - */ - disableKey(params: KMS.Types.DisableKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the state of a customer master key (CMK) to disabled, thereby preventing its use for cryptographic operations. For more information about how key state affects the use of a CMK, see How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide. - */ - disableKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables rotation of the specified key. - */ - disableKeyRotation(params: KMS.Types.DisableKeyRotationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables rotation of the specified key. - */ - disableKeyRotation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Marks a key as enabled, thereby permitting its use. - */ - enableKey(params: KMS.Types.EnableKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Marks a key as enabled, thereby permitting its use. - */ - enableKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables rotation of the specified customer master key. - */ - enableKeyRotation(params: KMS.Types.EnableKeyRotationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables rotation of the specified customer master key. - */ - enableKeyRotation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Encrypts plaintext into ciphertext by using a customer master key. The Encrypt function has two primary use cases: You can encrypt up to 4 KB of arbitrary data such as an RSA key, a database password, or other sensitive customer information. If you are moving encrypted data from one region to another, you can use this API to encrypt in the new region the plaintext data key that was used to encrypt the data in the original region. This provides you with an encrypted copy of the data key that can be decrypted in the new region and used there to decrypt the encrypted data. Unless you are moving encrypted data from one region to another, you don't use this function to encrypt a generated data key within a region. You retrieve data keys already encrypted by calling the GenerateDataKey or GenerateDataKeyWithoutPlaintext function. Data keys don't need to be encrypted again by calling Encrypt. If you want to encrypt data locally in your application, you can use the GenerateDataKey function to return a plaintext data encryption key and a copy of the key encrypted under the customer master key (CMK) of your choosing. - */ - encrypt(params: KMS.Types.EncryptRequest, callback?: (err: AWSError, data: KMS.Types.EncryptResponse) => void): Request; - /** - * Encrypts plaintext into ciphertext by using a customer master key. The Encrypt function has two primary use cases: You can encrypt up to 4 KB of arbitrary data such as an RSA key, a database password, or other sensitive customer information. If you are moving encrypted data from one region to another, you can use this API to encrypt in the new region the plaintext data key that was used to encrypt the data in the original region. This provides you with an encrypted copy of the data key that can be decrypted in the new region and used there to decrypt the encrypted data. Unless you are moving encrypted data from one region to another, you don't use this function to encrypt a generated data key within a region. You retrieve data keys already encrypted by calling the GenerateDataKey or GenerateDataKeyWithoutPlaintext function. Data keys don't need to be encrypted again by calling Encrypt. If you want to encrypt data locally in your application, you can use the GenerateDataKey function to return a plaintext data encryption key and a copy of the key encrypted under the customer master key (CMK) of your choosing. - */ - encrypt(callback?: (err: AWSError, data: KMS.Types.EncryptResponse) => void): Request; - /** - * Returns a data encryption key that you can use in your application to encrypt data locally. You must specify the customer master key (CMK) under which to generate the data key. You must also specify the length of the data key using either the KeySpec or NumberOfBytes field. You must specify one field or the other, but not both. For common key lengths (128-bit and 256-bit symmetric keys), we recommend that you use KeySpec. This operation returns a plaintext copy of the data key in the Plaintext field of the response, and an encrypted copy of the data key in the CiphertextBlob field. The data key is encrypted under the CMK specified in the KeyId field of the request. We recommend that you use the following pattern to encrypt data locally in your application: Use this operation (GenerateDataKey) to retrieve a data encryption key. Use the plaintext data encryption key (returned in the Plaintext field of the response) to encrypt data locally, then erase the plaintext data key from memory. Store the encrypted data key (returned in the CiphertextBlob field of the response) alongside the locally encrypted data. To decrypt data locally: Use the Decrypt operation to decrypt the encrypted data key into a plaintext copy of the data key. Use the plaintext data key to decrypt data locally, then erase the plaintext data key from memory. To return only an encrypted copy of the data key, use GenerateDataKeyWithoutPlaintext. To return a random byte string that is cryptographically secure, use GenerateRandom. If you use the optional EncryptionContext field, you must store at least enough information to be able to reconstruct the full encryption context when you later send the ciphertext to the Decrypt operation. It is a good practice to choose an encryption context that you can reconstruct on the fly to better secure the ciphertext. For more information, see Encryption Context in the AWS Key Management Service Developer Guide. - */ - generateDataKey(params: KMS.Types.GenerateDataKeyRequest, callback?: (err: AWSError, data: KMS.Types.GenerateDataKeyResponse) => void): Request; - /** - * Returns a data encryption key that you can use in your application to encrypt data locally. You must specify the customer master key (CMK) under which to generate the data key. You must also specify the length of the data key using either the KeySpec or NumberOfBytes field. You must specify one field or the other, but not both. For common key lengths (128-bit and 256-bit symmetric keys), we recommend that you use KeySpec. This operation returns a plaintext copy of the data key in the Plaintext field of the response, and an encrypted copy of the data key in the CiphertextBlob field. The data key is encrypted under the CMK specified in the KeyId field of the request. We recommend that you use the following pattern to encrypt data locally in your application: Use this operation (GenerateDataKey) to retrieve a data encryption key. Use the plaintext data encryption key (returned in the Plaintext field of the response) to encrypt data locally, then erase the plaintext data key from memory. Store the encrypted data key (returned in the CiphertextBlob field of the response) alongside the locally encrypted data. To decrypt data locally: Use the Decrypt operation to decrypt the encrypted data key into a plaintext copy of the data key. Use the plaintext data key to decrypt data locally, then erase the plaintext data key from memory. To return only an encrypted copy of the data key, use GenerateDataKeyWithoutPlaintext. To return a random byte string that is cryptographically secure, use GenerateRandom. If you use the optional EncryptionContext field, you must store at least enough information to be able to reconstruct the full encryption context when you later send the ciphertext to the Decrypt operation. It is a good practice to choose an encryption context that you can reconstruct on the fly to better secure the ciphertext. For more information, see Encryption Context in the AWS Key Management Service Developer Guide. - */ - generateDataKey(callback?: (err: AWSError, data: KMS.Types.GenerateDataKeyResponse) => void): Request; - /** - * Returns a data encryption key encrypted under a customer master key (CMK). This operation is identical to GenerateDataKey but returns only the encrypted copy of the data key. This operation is useful in a system that has multiple components with different degrees of trust. For example, consider a system that stores encrypted data in containers. Each container stores the encrypted data and an encrypted copy of the data key. One component of the system, called the control plane, creates new containers. When it creates a new container, it uses this operation (GenerateDataKeyWithoutPlaintext) to get an encrypted data key and then stores it in the container. Later, a different component of the system, called the data plane, puts encrypted data into the containers. To do this, it passes the encrypted data key to the Decrypt operation, then uses the returned plaintext data key to encrypt data, and finally stores the encrypted data in the container. In this system, the control plane never sees the plaintext data key. - */ - generateDataKeyWithoutPlaintext(params: KMS.Types.GenerateDataKeyWithoutPlaintextRequest, callback?: (err: AWSError, data: KMS.Types.GenerateDataKeyWithoutPlaintextResponse) => void): Request; - /** - * Returns a data encryption key encrypted under a customer master key (CMK). This operation is identical to GenerateDataKey but returns only the encrypted copy of the data key. This operation is useful in a system that has multiple components with different degrees of trust. For example, consider a system that stores encrypted data in containers. Each container stores the encrypted data and an encrypted copy of the data key. One component of the system, called the control plane, creates new containers. When it creates a new container, it uses this operation (GenerateDataKeyWithoutPlaintext) to get an encrypted data key and then stores it in the container. Later, a different component of the system, called the data plane, puts encrypted data into the containers. To do this, it passes the encrypted data key to the Decrypt operation, then uses the returned plaintext data key to encrypt data, and finally stores the encrypted data in the container. In this system, the control plane never sees the plaintext data key. - */ - generateDataKeyWithoutPlaintext(callback?: (err: AWSError, data: KMS.Types.GenerateDataKeyWithoutPlaintextResponse) => void): Request; - /** - * Returns a random byte string that is cryptographically secure. For more information about entropy and random number generation, see the AWS Key Management Service Cryptographic Details whitepaper. - */ - generateRandom(params: KMS.Types.GenerateRandomRequest, callback?: (err: AWSError, data: KMS.Types.GenerateRandomResponse) => void): Request; - /** - * Returns a random byte string that is cryptographically secure. For more information about entropy and random number generation, see the AWS Key Management Service Cryptographic Details whitepaper. - */ - generateRandom(callback?: (err: AWSError, data: KMS.Types.GenerateRandomResponse) => void): Request; - /** - * Retrieves a policy attached to the specified key. - */ - getKeyPolicy(params: KMS.Types.GetKeyPolicyRequest, callback?: (err: AWSError, data: KMS.Types.GetKeyPolicyResponse) => void): Request; - /** - * Retrieves a policy attached to the specified key. - */ - getKeyPolicy(callback?: (err: AWSError, data: KMS.Types.GetKeyPolicyResponse) => void): Request; - /** - * Retrieves a Boolean value that indicates whether key rotation is enabled for the specified key. - */ - getKeyRotationStatus(params: KMS.Types.GetKeyRotationStatusRequest, callback?: (err: AWSError, data: KMS.Types.GetKeyRotationStatusResponse) => void): Request; - /** - * Retrieves a Boolean value that indicates whether key rotation is enabled for the specified key. - */ - getKeyRotationStatus(callback?: (err: AWSError, data: KMS.Types.GetKeyRotationStatusResponse) => void): Request; - /** - * Returns the items you need in order to import key material into AWS KMS from your existing key management infrastructure. For more information about importing key material into AWS KMS, see Importing Key Material in the AWS Key Management Service Developer Guide. You must specify the key ID of the customer master key (CMK) into which you will import key material. This CMK's Origin must be EXTERNAL. You must also specify the wrapping algorithm and type of wrapping key (public key) that you will use to encrypt the key material. This operation returns a public key and an import token. Use the public key to encrypt the key material. Store the import token to send with a subsequent ImportKeyMaterial request. The public key and import token from the same response must be used together. These items are valid for 24 hours, after which they cannot be used for a subsequent ImportKeyMaterial request. To retrieve new ones, send another GetParametersForImport request. - */ - getParametersForImport(params: KMS.Types.GetParametersForImportRequest, callback?: (err: AWSError, data: KMS.Types.GetParametersForImportResponse) => void): Request; - /** - * Returns the items you need in order to import key material into AWS KMS from your existing key management infrastructure. For more information about importing key material into AWS KMS, see Importing Key Material in the AWS Key Management Service Developer Guide. You must specify the key ID of the customer master key (CMK) into which you will import key material. This CMK's Origin must be EXTERNAL. You must also specify the wrapping algorithm and type of wrapping key (public key) that you will use to encrypt the key material. This operation returns a public key and an import token. Use the public key to encrypt the key material. Store the import token to send with a subsequent ImportKeyMaterial request. The public key and import token from the same response must be used together. These items are valid for 24 hours, after which they cannot be used for a subsequent ImportKeyMaterial request. To retrieve new ones, send another GetParametersForImport request. - */ - getParametersForImport(callback?: (err: AWSError, data: KMS.Types.GetParametersForImportResponse) => void): Request; - /** - * Imports key material into an AWS KMS customer master key (CMK) from your existing key management infrastructure. For more information about importing key material into AWS KMS, see Importing Key Material in the AWS Key Management Service Developer Guide. You must specify the key ID of the CMK to import the key material into. This CMK's Origin must be EXTERNAL. You must also send an import token and the encrypted key material. Send the import token that you received in the same GetParametersForImport response that contained the public key that you used to encrypt the key material. You must also specify whether the key material expires and if so, when. When the key material expires, AWS KMS deletes the key material and the CMK becomes unusable. To use the CMK again, you can reimport the same key material. If you set an expiration date, you can change it only by reimporting the same key material and specifying a new expiration date. When this operation is successful, the specified CMK's key state changes to Enabled, and you can use the CMK. After you successfully import key material into a CMK, you can reimport the same key material into that CMK, but you cannot import different key material. - */ - importKeyMaterial(params: KMS.Types.ImportKeyMaterialRequest, callback?: (err: AWSError, data: KMS.Types.ImportKeyMaterialResponse) => void): Request; - /** - * Imports key material into an AWS KMS customer master key (CMK) from your existing key management infrastructure. For more information about importing key material into AWS KMS, see Importing Key Material in the AWS Key Management Service Developer Guide. You must specify the key ID of the CMK to import the key material into. This CMK's Origin must be EXTERNAL. You must also send an import token and the encrypted key material. Send the import token that you received in the same GetParametersForImport response that contained the public key that you used to encrypt the key material. You must also specify whether the key material expires and if so, when. When the key material expires, AWS KMS deletes the key material and the CMK becomes unusable. To use the CMK again, you can reimport the same key material. If you set an expiration date, you can change it only by reimporting the same key material and specifying a new expiration date. When this operation is successful, the specified CMK's key state changes to Enabled, and you can use the CMK. After you successfully import key material into a CMK, you can reimport the same key material into that CMK, but you cannot import different key material. - */ - importKeyMaterial(callback?: (err: AWSError, data: KMS.Types.ImportKeyMaterialResponse) => void): Request; - /** - * Lists all of the key aliases in the account. - */ - listAliases(params: KMS.Types.ListAliasesRequest, callback?: (err: AWSError, data: KMS.Types.ListAliasesResponse) => void): Request; - /** - * Lists all of the key aliases in the account. - */ - listAliases(callback?: (err: AWSError, data: KMS.Types.ListAliasesResponse) => void): Request; - /** - * List the grants for a specified key. - */ - listGrants(params: KMS.Types.ListGrantsRequest, callback?: (err: AWSError, data: KMS.Types.ListGrantsResponse) => void): Request; - /** - * List the grants for a specified key. - */ - listGrants(callback?: (err: AWSError, data: KMS.Types.ListGrantsResponse) => void): Request; - /** - * Retrieves a list of policies attached to a key. - */ - listKeyPolicies(params: KMS.Types.ListKeyPoliciesRequest, callback?: (err: AWSError, data: KMS.Types.ListKeyPoliciesResponse) => void): Request; - /** - * Retrieves a list of policies attached to a key. - */ - listKeyPolicies(callback?: (err: AWSError, data: KMS.Types.ListKeyPoliciesResponse) => void): Request; - /** - * Lists the customer master keys. - */ - listKeys(params: KMS.Types.ListKeysRequest, callback?: (err: AWSError, data: KMS.Types.ListKeysResponse) => void): Request; - /** - * Lists the customer master keys. - */ - listKeys(callback?: (err: AWSError, data: KMS.Types.ListKeysResponse) => void): Request; - /** - * Returns a list of all tags for the specified customer master key (CMK). - */ - listResourceTags(params: KMS.Types.ListResourceTagsRequest, callback?: (err: AWSError, data: KMS.Types.ListResourceTagsResponse) => void): Request; - /** - * Returns a list of all tags for the specified customer master key (CMK). - */ - listResourceTags(callback?: (err: AWSError, data: KMS.Types.ListResourceTagsResponse) => void): Request; - /** - * Returns a list of all grants for which the grant's RetiringPrincipal matches the one specified. A typical use is to list all grants that you are able to retire. To retire a grant, use RetireGrant. - */ - listRetirableGrants(params: KMS.Types.ListRetirableGrantsRequest, callback?: (err: AWSError, data: KMS.Types.ListGrantsResponse) => void): Request; - /** - * Returns a list of all grants for which the grant's RetiringPrincipal matches the one specified. A typical use is to list all grants that you are able to retire. To retire a grant, use RetireGrant. - */ - listRetirableGrants(callback?: (err: AWSError, data: KMS.Types.ListGrantsResponse) => void): Request; - /** - * Attaches a key policy to the specified customer master key (CMK). For more information about key policies, see Key Policies in the AWS Key Management Service Developer Guide. - */ - putKeyPolicy(params: KMS.Types.PutKeyPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches a key policy to the specified customer master key (CMK). For more information about key policies, see Key Policies in the AWS Key Management Service Developer Guide. - */ - putKeyPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Encrypts data on the server side with a new customer master key (CMK) without exposing the plaintext of the data on the client side. The data is first decrypted and then reencrypted. You can also use this operation to change the encryption context of a ciphertext. Unlike other operations, ReEncrypt is authorized twice, once as ReEncryptFrom on the source CMK and once as ReEncryptTo on the destination CMK. We recommend that you include the "kms:ReEncrypt*" permission in your key policies to permit reencryption from or to the CMK. This permission is automatically included in the key policy when you create a CMK through the console, but you must include it manually when you create a CMK programmatically or when you set a key policy with the PutKeyPolicy operation. - */ - reEncrypt(params: KMS.Types.ReEncryptRequest, callback?: (err: AWSError, data: KMS.Types.ReEncryptResponse) => void): Request; - /** - * Encrypts data on the server side with a new customer master key (CMK) without exposing the plaintext of the data on the client side. The data is first decrypted and then reencrypted. You can also use this operation to change the encryption context of a ciphertext. Unlike other operations, ReEncrypt is authorized twice, once as ReEncryptFrom on the source CMK and once as ReEncryptTo on the destination CMK. We recommend that you include the "kms:ReEncrypt*" permission in your key policies to permit reencryption from or to the CMK. This permission is automatically included in the key policy when you create a CMK through the console, but you must include it manually when you create a CMK programmatically or when you set a key policy with the PutKeyPolicy operation. - */ - reEncrypt(callback?: (err: AWSError, data: KMS.Types.ReEncryptResponse) => void): Request; - /** - * Retires a grant. To clean up, you can retire a grant when you're done using it. You should revoke a grant when you intend to actively deny operations that depend on it. The following are permitted to call this API: The AWS account (root user) under which the grant was created The RetiringPrincipal, if present in the grant The GranteePrincipal, if RetireGrant is an operation specified in the grant You must identify the grant to retire by its grant token or by a combination of the grant ID and the Amazon Resource Name (ARN) of the customer master key (CMK). A grant token is a unique variable-length base64-encoded string. A grant ID is a 64 character unique identifier of a grant. The CreateGrant operation returns both. - */ - retireGrant(params: KMS.Types.RetireGrantRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Retires a grant. To clean up, you can retire a grant when you're done using it. You should revoke a grant when you intend to actively deny operations that depend on it. The following are permitted to call this API: The AWS account (root user) under which the grant was created The RetiringPrincipal, if present in the grant The GranteePrincipal, if RetireGrant is an operation specified in the grant You must identify the grant to retire by its grant token or by a combination of the grant ID and the Amazon Resource Name (ARN) of the customer master key (CMK). A grant token is a unique variable-length base64-encoded string. A grant ID is a 64 character unique identifier of a grant. The CreateGrant operation returns both. - */ - retireGrant(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Revokes a grant. You can revoke a grant to actively deny operations that depend on it. - */ - revokeGrant(params: KMS.Types.RevokeGrantRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Revokes a grant. You can revoke a grant to actively deny operations that depend on it. - */ - revokeGrant(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Schedules the deletion of a customer master key (CMK). You may provide a waiting period, specified in days, before deletion occurs. If you do not provide a waiting period, the default period of 30 days is used. When this operation is successful, the state of the CMK changes to PendingDeletion. Before the waiting period ends, you can use CancelKeyDeletion to cancel the deletion of the CMK. After the waiting period ends, AWS KMS deletes the CMK and all AWS KMS data associated with it, including all aliases that refer to it. Deleting a CMK is a destructive and potentially dangerous operation. When a CMK is deleted, all data that was encrypted under the CMK is rendered unrecoverable. To restrict the use of a CMK without deleting it, use DisableKey. For more information about scheduling a CMK for deletion, see Deleting Customer Master Keys in the AWS Key Management Service Developer Guide. - */ - scheduleKeyDeletion(params: KMS.Types.ScheduleKeyDeletionRequest, callback?: (err: AWSError, data: KMS.Types.ScheduleKeyDeletionResponse) => void): Request; - /** - * Schedules the deletion of a customer master key (CMK). You may provide a waiting period, specified in days, before deletion occurs. If you do not provide a waiting period, the default period of 30 days is used. When this operation is successful, the state of the CMK changes to PendingDeletion. Before the waiting period ends, you can use CancelKeyDeletion to cancel the deletion of the CMK. After the waiting period ends, AWS KMS deletes the CMK and all AWS KMS data associated with it, including all aliases that refer to it. Deleting a CMK is a destructive and potentially dangerous operation. When a CMK is deleted, all data that was encrypted under the CMK is rendered unrecoverable. To restrict the use of a CMK without deleting it, use DisableKey. For more information about scheduling a CMK for deletion, see Deleting Customer Master Keys in the AWS Key Management Service Developer Guide. - */ - scheduleKeyDeletion(callback?: (err: AWSError, data: KMS.Types.ScheduleKeyDeletionResponse) => void): Request; - /** - * Adds or overwrites one or more tags for the specified customer master key (CMK). Each tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings. You cannot use the same tag key more than once per CMK. For example, consider a CMK with one tag whose tag key is Purpose and tag value is Test. If you send a TagResource request for this CMK with a tag key of Purpose and a tag value of Prod, it does not create a second tag. Instead, the original tag is overwritten with the new tag value. - */ - tagResource(params: KMS.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds or overwrites one or more tags for the specified customer master key (CMK). Each tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings. You cannot use the same tag key more than once per CMK. For example, consider a CMK with one tag whose tag key is Purpose and tag value is Test. If you send a TagResource request for this CMK with a tag key of Purpose and a tag value of Prod, it does not create a second tag. Instead, the original tag is overwritten with the new tag value. - */ - tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified tag or tags from the specified customer master key (CMK). To remove a tag, you specify the tag key for each tag to remove. You do not specify the tag value. To overwrite the tag value for an existing tag, use TagResource. - */ - untagResource(params: KMS.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified tag or tags from the specified customer master key (CMK). To remove a tag, you specify the tag key for each tag to remove. You do not specify the tag value. To overwrite the tag value for an existing tag, use TagResource. - */ - untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates an alias to map it to a different key. An alias is not a property of a key. Therefore, an alias can be mapped to and unmapped from an existing key without changing the properties of the key. An alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). An alias must start with the word "alias" followed by a forward slash (alias/). An alias that begins with "aws" after the forward slash (alias/aws...) is reserved by Amazon Web Services (AWS). The alias and the key it is mapped to must be in the same AWS account and the same region. - */ - updateAlias(params: KMS.Types.UpdateAliasRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates an alias to map it to a different key. An alias is not a property of a key. Therefore, an alias can be mapped to and unmapped from an existing key without changing the properties of the key. An alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). An alias must start with the word "alias" followed by a forward slash (alias/). An alias that begins with "aws" after the forward slash (alias/aws...) is reserved by Amazon Web Services (AWS). The alias and the key it is mapped to must be in the same AWS account and the same region. - */ - updateAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the description of a customer master key (CMK). - */ - updateKeyDescription(params: KMS.Types.UpdateKeyDescriptionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the description of a customer master key (CMK). - */ - updateKeyDescription(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace KMS { - export type AWSAccountIdType = string; - export type AlgorithmSpec = "RSAES_PKCS1_V1_5"|"RSAES_OAEP_SHA_1"|"RSAES_OAEP_SHA_256"|string; - export type AliasList = AliasListEntry[]; - export interface AliasListEntry { - /** - * String that contains the alias. - */ - AliasName?: AliasNameType; - /** - * String that contains the key ARN. - */ - AliasArn?: ArnType; - /** - * String that contains the key identifier referred to by the alias. - */ - TargetKeyId?: KeyIdType; - } - export type AliasNameType = string; - export type ArnType = string; - export type BooleanType = boolean; - export interface CancelKeyDeletionRequest { - /** - * The unique identifier for the customer master key (CMK) for which to cancel deletion. To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey. - */ - KeyId: KeyIdType; - } - export interface CancelKeyDeletionResponse { - /** - * The unique identifier of the master key for which deletion is canceled. - */ - KeyId?: KeyIdType; - } - export type CiphertextType = Buffer|Uint8Array|Blob|string; - export interface CreateAliasRequest { - /** - * String that contains the display name. The name must start with the word "alias" followed by a forward slash (alias/). Aliases that begin with "alias/AWS" are reserved. - */ - AliasName: AliasNameType; - /** - * An identifier of the key for which you are creating the alias. This value cannot be another alias but can be a globally unique identifier or a fully specified ARN to a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 - */ - TargetKeyId: KeyIdType; - } - export interface CreateGrantRequest { - /** - * The unique identifier for the customer master key (CMK) that the grant applies to. To specify this value, use the globally unique key ID or the Amazon Resource Name (ARN) of the key. Examples: Globally unique key ID: 12345678-1234-1234-1234-123456789012 Key ARN: arn:aws:kms:us-west-2:123456789012:key/12345678-1234-1234-1234-123456789012 - */ - KeyId: KeyIdType; - /** - * The principal that is given permission to perform the operations that the grant permits. To specify the principal, use the Amazon Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS accounts (root), IAM users, IAM roles, federated users, and assumed role users. For examples of the ARN syntax to use for specifying a principal, see AWS Identity and Access Management (IAM) in the Example ARNs section of the AWS General Reference. - */ - GranteePrincipal: PrincipalIdType; - /** - * The principal that is given permission to retire the grant by using RetireGrant operation. To specify the principal, use the Amazon Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS accounts (root), IAM users, federated users, and assumed role users. For examples of the ARN syntax to use for specifying a principal, see AWS Identity and Access Management (IAM) in the Example ARNs section of the AWS General Reference. - */ - RetiringPrincipal?: PrincipalIdType; - /** - * A list of operations that the grant permits. - */ - Operations?: GrantOperationList; - /** - * A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see Encryption Context in the AWS Key Management Service Developer Guide. - */ - Constraints?: GrantConstraints; - /** - * A list of grant tokens. For more information, see Grant Tokens in the AWS Key Management Service Developer Guide. - */ - GrantTokens?: GrantTokenList; - /** - * A friendly name for identifying the grant. Use this value to prevent unintended creation of duplicate grants when retrying this request. When this value is absent, all CreateGrant requests result in a new grant with a unique GrantId even if all the supplied parameters are identical. This can result in unintended duplicates when you retry the CreateGrant request. When this value is present, you can retry a CreateGrant request with identical parameters; if the grant already exists, the original GrantId is returned without creating a new grant. Note that the returned grant token is unique with every CreateGrant request, even when a duplicate GrantId is returned. All grant tokens obtained in this way can be used interchangeably. - */ - Name?: GrantNameType; - } - export interface CreateGrantResponse { - /** - * The grant token. For more information, see Grant Tokens in the AWS Key Management Service Developer Guide. - */ - GrantToken?: GrantTokenType; - /** - * The unique identifier for the grant. You can use the GrantId in a subsequent RetireGrant or RevokeGrant operation. - */ - GrantId?: GrantIdType; - } - export interface CreateKeyRequest { - /** - * The key policy to attach to the CMK. If you specify a policy and do not set BypassPolicyLockoutSafetyCheck to true, the policy must meet the following criteria: It must allow the principal that is making the CreateKey request to make a subsequent PutKeyPolicy request on the CMK. This reduces the likelihood that the CMK becomes unmanageable. For more information, refer to the scenario in the Default Key Policy section in the AWS Key Management Service Developer Guide. The principals that are specified in the key policy must exist and be visible to AWS KMS. When you create a new AWS principal (for example, an IAM user or role), you might need to enforce a delay before specifying the new principal in a key policy because the new principal might not immediately be visible to AWS KMS. For more information, see Changes that I make are not always immediately visible in the IAM User Guide. If you do not specify a policy, AWS KMS attaches a default key policy to the CMK. For more information, see Default Key Policy in the AWS Key Management Service Developer Guide. The policy size limit is 32 KiB (32768 bytes). - */ - Policy?: PolicyType; - /** - * A description of the CMK. Use a description that helps you decide whether the CMK is appropriate for a task. - */ - Description?: DescriptionType; - /** - * The intended use of the CMK. You can use CMKs only for symmetric encryption and decryption. - */ - KeyUsage?: KeyUsageType; - /** - * The source of the CMK's key material. The default is AWS_KMS, which means AWS KMS creates the key material. When this parameter is set to EXTERNAL, the request creates a CMK without key material so that you can import key material from your existing key management infrastructure. For more information about importing key material into AWS KMS, see Importing Key Material in the AWS Key Management Service Developer Guide. The CMK's Origin is immutable and is set when the CMK is created. - */ - Origin?: OriginType; - /** - * A flag to indicate whether to bypass the key policy lockout safety check. Setting this value to true increases the likelihood that the CMK becomes unmanageable. Do not set this value to true indiscriminately. For more information, refer to the scenario in the Default Key Policy section in the AWS Key Management Service Developer Guide. Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the CMK. The default value is false. - */ - BypassPolicyLockoutSafetyCheck?: BooleanType; - /** - * One or more tags. Each tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings. Use this parameter to tag the CMK when it is created. Alternately, you can omit this parameter and instead tag the CMK after it is created using TagResource. - */ - Tags?: TagList; - } - export interface CreateKeyResponse { - /** - * Metadata associated with the CMK. - */ - KeyMetadata?: KeyMetadata; - } - export type DataKeySpec = "AES_256"|"AES_128"|string; - export type DateType = Date; - export interface DecryptRequest { - /** - * Ciphertext to be decrypted. The blob includes metadata. - */ - CiphertextBlob: CiphertextType; - /** - * The encryption context. If this was specified in the Encrypt function, it must be specified here or the decryption operation will fail. For more information, see Encryption Context. - */ - EncryptionContext?: EncryptionContextType; - /** - * A list of grant tokens. For more information, see Grant Tokens in the AWS Key Management Service Developer Guide. - */ - GrantTokens?: GrantTokenList; - } - export interface DecryptResponse { - /** - * ARN of the key used to perform the decryption. This value is returned if no errors are encountered during the operation. - */ - KeyId?: KeyIdType; - /** - * Decrypted plaintext data. This value may not be returned if the customer master key is not available or if you didn't have permission to use it. - */ - Plaintext?: PlaintextType; - } - export interface DeleteAliasRequest { - /** - * The alias to be deleted. The name must start with the word "alias" followed by a forward slash (alias/). Aliases that begin with "alias/AWS" are reserved. - */ - AliasName: AliasNameType; - } - export interface DeleteImportedKeyMaterialRequest { - /** - * The identifier of the CMK whose key material to delete. The CMK's Origin must be EXTERNAL. A valid identifier is the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - */ - KeyId: KeyIdType; - } - export interface DescribeKeyRequest { - /** - * A unique identifier for the customer master key. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/". Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 Alias Name Example - alias/MyAliasName - */ - KeyId: KeyIdType; - /** - * A list of grant tokens. For more information, see Grant Tokens in the AWS Key Management Service Developer Guide. - */ - GrantTokens?: GrantTokenList; - } - export interface DescribeKeyResponse { - /** - * Metadata associated with the key. - */ - KeyMetadata?: KeyMetadata; - } - export type DescriptionType = string; - export interface DisableKeyRequest { - /** - * A unique identifier for the CMK. Use the CMK's unique identifier or its Amazon Resource Name (ARN). For example: Unique ID: 1234abcd-12ab-34cd-56ef-1234567890ab ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - */ - KeyId: KeyIdType; - } - export interface DisableKeyRotationRequest { - /** - * A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 - */ - KeyId: KeyIdType; - } - export interface EnableKeyRequest { - /** - * A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 - */ - KeyId: KeyIdType; - } - export interface EnableKeyRotationRequest { - /** - * A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 - */ - KeyId: KeyIdType; - } - export interface EncryptRequest { - /** - * A unique identifier for the customer master key. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/". Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 Alias Name Example - alias/MyAliasName - */ - KeyId: KeyIdType; - /** - * Data to be encrypted. - */ - Plaintext: PlaintextType; - /** - * Name-value pair that specifies the encryption context to be used for authenticated encryption. If used here, the same value must be supplied to the Decrypt API or decryption will fail. For more information, see Encryption Context. - */ - EncryptionContext?: EncryptionContextType; - /** - * A list of grant tokens. For more information, see Grant Tokens in the AWS Key Management Service Developer Guide. - */ - GrantTokens?: GrantTokenList; - } - export interface EncryptResponse { - /** - * The encrypted plaintext. If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded. - */ - CiphertextBlob?: CiphertextType; - /** - * The ID of the key used during encryption. - */ - KeyId?: KeyIdType; - } - export type EncryptionContextKey = string; - export type EncryptionContextType = {[key: string]: EncryptionContextValue}; - export type EncryptionContextValue = string; - export type ErrorMessageType = string; - export type ExpirationModelType = "KEY_MATERIAL_EXPIRES"|"KEY_MATERIAL_DOES_NOT_EXPIRE"|string; - export interface GenerateDataKeyRequest { - /** - * The identifier of the CMK under which to generate and encrypt the data encryption key. A valid identifier is the unique key ID or the Amazon Resource Name (ARN) of the CMK, or the alias name or ARN of an alias that refers to the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab CMK ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab Alias name: alias/ExampleAlias Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias - */ - KeyId: KeyIdType; - /** - * A set of key-value pairs that represents additional authenticated data. For more information, see Encryption Context in the AWS Key Management Service Developer Guide. - */ - EncryptionContext?: EncryptionContextType; - /** - * The length of the data encryption key in bytes. For example, use the value 64 to generate a 512-bit data key (64 bytes is 512 bits). For common key lengths (128-bit and 256-bit symmetric keys), we recommend that you use the KeySpec field instead of this one. - */ - NumberOfBytes?: NumberOfBytesType; - /** - * The length of the data encryption key. Use AES_128 to generate a 128-bit symmetric key, or AES_256 to generate a 256-bit symmetric key. - */ - KeySpec?: DataKeySpec; - /** - * A list of grant tokens. For more information, see Grant Tokens in the AWS Key Management Service Developer Guide. - */ - GrantTokens?: GrantTokenList; - } - export interface GenerateDataKeyResponse { - /** - * The encrypted data encryption key. - */ - CiphertextBlob?: CiphertextType; - /** - * The data encryption key. Use this data key for local encryption and decryption, then remove it from memory as soon as possible. - */ - Plaintext?: PlaintextType; - /** - * The identifier of the CMK under which the data encryption key was generated and encrypted. - */ - KeyId?: KeyIdType; - } - export interface GenerateDataKeyWithoutPlaintextRequest { - /** - * The identifier of the CMK under which to generate and encrypt the data encryption key. A valid identifier is the unique key ID or the Amazon Resource Name (ARN) of the CMK, or the alias name or ARN of an alias that refers to the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab CMK ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab Alias name: alias/ExampleAlias Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias - */ - KeyId: KeyIdType; - /** - * A set of key-value pairs that represents additional authenticated data. For more information, see Encryption Context in the AWS Key Management Service Developer Guide. - */ - EncryptionContext?: EncryptionContextType; - /** - * The length of the data encryption key. Use AES_128 to generate a 128-bit symmetric key, or AES_256 to generate a 256-bit symmetric key. - */ - KeySpec?: DataKeySpec; - /** - * The length of the data encryption key in bytes. For example, use the value 64 to generate a 512-bit data key (64 bytes is 512 bits). For common key lengths (128-bit and 256-bit symmetric keys), we recommend that you use the KeySpec field instead of this one. - */ - NumberOfBytes?: NumberOfBytesType; - /** - * A list of grant tokens. For more information, see Grant Tokens in the AWS Key Management Service Developer Guide. - */ - GrantTokens?: GrantTokenList; - } - export interface GenerateDataKeyWithoutPlaintextResponse { - /** - * The encrypted data encryption key. - */ - CiphertextBlob?: CiphertextType; - /** - * The identifier of the CMK under which the data encryption key was generated and encrypted. - */ - KeyId?: KeyIdType; - } - export interface GenerateRandomRequest { - /** - * The length of the byte string. - */ - NumberOfBytes?: NumberOfBytesType; - } - export interface GenerateRandomResponse { - /** - * The random byte string. - */ - Plaintext?: PlaintextType; - } - export interface GetKeyPolicyRequest { - /** - * A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 - */ - KeyId: KeyIdType; - /** - * String that contains the name of the policy. Currently, this must be "default". Policy names can be discovered by calling ListKeyPolicies. - */ - PolicyName: PolicyNameType; - } - export interface GetKeyPolicyResponse { - /** - * A policy document in JSON format. - */ - Policy?: PolicyType; - } - export interface GetKeyRotationStatusRequest { - /** - * A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 - */ - KeyId: KeyIdType; - } - export interface GetKeyRotationStatusResponse { - /** - * A Boolean value that specifies whether key rotation is enabled. - */ - KeyRotationEnabled?: BooleanType; - } - export interface GetParametersForImportRequest { - /** - * The identifier of the CMK into which you will import key material. The CMK's Origin must be EXTERNAL. A valid identifier is the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - */ - KeyId: KeyIdType; - /** - * The algorithm you will use to encrypt the key material before importing it with ImportKeyMaterial. For more information, see Encrypt the Key Material in the AWS Key Management Service Developer Guide. - */ - WrappingAlgorithm: AlgorithmSpec; - /** - * The type of wrapping key (public key) to return in the response. Only 2048-bit RSA public keys are supported. - */ - WrappingKeySpec: WrappingKeySpec; - } - export interface GetParametersForImportResponse { - /** - * The identifier of the CMK to use in a subsequent ImportKeyMaterial request. This is the same CMK specified in the GetParametersForImport request. - */ - KeyId?: KeyIdType; - /** - * The import token to send in a subsequent ImportKeyMaterial request. - */ - ImportToken?: CiphertextType; - /** - * The public key to use to encrypt the key material before importing it with ImportKeyMaterial. - */ - PublicKey?: PlaintextType; - /** - * The time at which the import token and public key are no longer valid. After this time, you cannot use them to make an ImportKeyMaterial request and you must send another GetParametersForImport request to retrieve new ones. - */ - ParametersValidTo?: DateType; - } - export interface GrantConstraints { - /** - * A list of key-value pairs, all of which must be present in the encryption context of certain subsequent operations that the grant allows. When certain subsequent operations allowed by the grant include encryption context that matches this list or is a superset of this list, the grant allows the operation. Otherwise, the grant does not allow the operation. - */ - EncryptionContextSubset?: EncryptionContextType; - /** - * A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows. When certain subsequent operations allowed by the grant include encryption context that matches this list, the grant allows the operation. Otherwise, the grant does not allow the operation. - */ - EncryptionContextEquals?: EncryptionContextType; - } - export type GrantIdType = string; - export type GrantList = GrantListEntry[]; - export interface GrantListEntry { - /** - * The unique identifier for the customer master key (CMK) to which the grant applies. - */ - KeyId?: KeyIdType; - /** - * The unique identifier for the grant. - */ - GrantId?: GrantIdType; - /** - * The friendly name that identifies the grant. If a name was provided in the CreateGrant request, that name is returned. Otherwise this value is null. - */ - Name?: GrantNameType; - /** - * The date and time when the grant was created. - */ - CreationDate?: DateType; - /** - * The principal that receives the grant's permissions. - */ - GranteePrincipal?: PrincipalIdType; - /** - * The principal that can retire the grant. - */ - RetiringPrincipal?: PrincipalIdType; - /** - * The AWS account under which the grant was issued. - */ - IssuingAccount?: PrincipalIdType; - /** - * The list of operations permitted by the grant. - */ - Operations?: GrantOperationList; - /** - * A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows. - */ - Constraints?: GrantConstraints; - } - export type GrantNameType = string; - export type GrantOperation = "Decrypt"|"Encrypt"|"GenerateDataKey"|"GenerateDataKeyWithoutPlaintext"|"ReEncryptFrom"|"ReEncryptTo"|"CreateGrant"|"RetireGrant"|"DescribeKey"|string; - export type GrantOperationList = GrantOperation[]; - export type GrantTokenList = GrantTokenType[]; - export type GrantTokenType = string; - export interface ImportKeyMaterialRequest { - /** - * The identifier of the CMK to import the key material into. The CMK's Origin must be EXTERNAL. A valid identifier is the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - */ - KeyId: KeyIdType; - /** - * The import token that you received in the response to a previous GetParametersForImport request. It must be from the same response that contained the public key that you used to encrypt the key material. - */ - ImportToken: CiphertextType; - /** - * The encrypted key material to import. It must be encrypted with the public key that you received in the response to a previous GetParametersForImport request, using the wrapping algorithm that you specified in that request. - */ - EncryptedKeyMaterial: CiphertextType; - /** - * The time at which the imported key material expires. When the key material expires, AWS KMS deletes the key material and the CMK becomes unusable. You must omit this parameter when the ExpirationModel parameter is set to KEY_MATERIAL_DOES_NOT_EXPIRE. Otherwise it is required. - */ - ValidTo?: DateType; - /** - * Specifies whether the key material expires. The default is KEY_MATERIAL_EXPIRES, in which case you must include the ValidTo parameter. When this parameter is set to KEY_MATERIAL_DOES_NOT_EXPIRE, you must omit the ValidTo parameter. - */ - ExpirationModel?: ExpirationModelType; - } - export interface ImportKeyMaterialResponse { - } - export type KeyIdType = string; - export type KeyList = KeyListEntry[]; - export interface KeyListEntry { - /** - * Unique identifier of the key. - */ - KeyId?: KeyIdType; - /** - * ARN of the key. - */ - KeyArn?: ArnType; - } - export type KeyManagerType = "AWS"|"CUSTOMER"|string; - export interface KeyMetadata { - /** - * The twelve-digit account ID of the AWS account that owns the CMK. - */ - AWSAccountId?: AWSAccountIdType; - /** - * The globally unique identifier for the CMK. - */ - KeyId: KeyIdType; - /** - * The Amazon Resource Name (ARN) of the CMK. For examples, see AWS Key Management Service (AWS KMS) in the Example ARNs section of the AWS General Reference. - */ - Arn?: ArnType; - /** - * The date and time when the CMK was created. - */ - CreationDate?: DateType; - /** - * Specifies whether the CMK is enabled. When KeyState is Enabled this value is true, otherwise it is false. - */ - Enabled?: BooleanType; - /** - * The description of the CMK. - */ - Description?: DescriptionType; - /** - * The cryptographic operations for which you can use the CMK. Currently the only allowed value is ENCRYPT_DECRYPT, which means you can use the CMK for the Encrypt and Decrypt operations. - */ - KeyUsage?: KeyUsageType; - /** - * The state of the CMK. For more information about how key state affects the use of a CMK, see How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide. - */ - KeyState?: KeyState; - /** - * The date and time after which AWS KMS deletes the CMK. This value is present only when KeyState is PendingDeletion, otherwise this value is omitted. - */ - DeletionDate?: DateType; - /** - * The time at which the imported key material expires. When the key material expires, AWS KMS deletes the key material and the CMK becomes unusable. This value is present only for CMKs whose Origin is EXTERNAL and whose ExpirationModel is KEY_MATERIAL_EXPIRES, otherwise this value is omitted. - */ - ValidTo?: DateType; - /** - * The source of the CMK's key material. When this value is AWS_KMS, AWS KMS created the key material. When this value is EXTERNAL, the key material was imported from your existing key management infrastructure or the CMK lacks key material. - */ - Origin?: OriginType; - /** - * Specifies whether the CMK's key material expires. This value is present only when Origin is EXTERNAL, otherwise this value is omitted. - */ - ExpirationModel?: ExpirationModelType; - /** - * The CMK's manager. CMKs are either customer-managed or AWS-managed. For more information about the difference, see Customer Master Keys in the AWS Key Management Service Developer Guide. - */ - KeyManager?: KeyManagerType; - } - export type KeyState = "Enabled"|"Disabled"|"PendingDeletion"|"PendingImport"|string; - export type KeyUsageType = "ENCRYPT_DECRYPT"|string; - export type LimitType = number; - export interface ListAliasesRequest { - /** - * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS does not return more than the specified number of items, but it might return fewer. This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50. - */ - Limit?: LimitType; - /** - * Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker from the truncated response you just received. - */ - Marker?: MarkerType; - } - export interface ListAliasesResponse { - /** - * A list of key aliases in the user's account. - */ - Aliases?: AliasList; - /** - * When Truncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent request. - */ - NextMarker?: MarkerType; - /** - * A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To retrieve more items, pass the value of the NextMarker element in this response to the Marker parameter in a subsequent request. - */ - Truncated?: BooleanType; - } - export interface ListGrantsRequest { - /** - * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS does not return more than the specified number of items, but it might return fewer. This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50. - */ - Limit?: LimitType; - /** - * Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker from the truncated response you just received. - */ - Marker?: MarkerType; - /** - * A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 - */ - KeyId: KeyIdType; - } - export interface ListGrantsResponse { - /** - * A list of grants. - */ - Grants?: GrantList; - /** - * When Truncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent request. - */ - NextMarker?: MarkerType; - /** - * A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To retrieve more items, pass the value of the NextMarker element in this response to the Marker parameter in a subsequent request. - */ - Truncated?: BooleanType; - } - export interface ListKeyPoliciesRequest { - /** - * A unique identifier for the customer master key (CMK). You can use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - */ - KeyId: KeyIdType; - /** - * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS does not return more than the specified number of items, but it might return fewer. This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not include a value, it defaults to 100. Currently only 1 policy can be attached to a key. - */ - Limit?: LimitType; - /** - * Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker from the truncated response you just received. - */ - Marker?: MarkerType; - } - export interface ListKeyPoliciesResponse { - /** - * A list of policy names. Currently, there is only one policy and it is named "Default". - */ - PolicyNames?: PolicyNameList; - /** - * When Truncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent request. - */ - NextMarker?: MarkerType; - /** - * A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To retrieve more items, pass the value of the NextMarker element in this response to the Marker parameter in a subsequent request. - */ - Truncated?: BooleanType; - } - export interface ListKeysRequest { - /** - * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS does not return more than the specified number of items, but it might return fewer. This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not include a value, it defaults to 100. - */ - Limit?: LimitType; - /** - * Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker from the truncated response you just received. - */ - Marker?: MarkerType; - } - export interface ListKeysResponse { - /** - * A list of keys. - */ - Keys?: KeyList; - /** - * When Truncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent request. - */ - NextMarker?: MarkerType; - /** - * A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To retrieve more items, pass the value of the NextMarker element in this response to the Marker parameter in a subsequent request. - */ - Truncated?: BooleanType; - } - export interface ListResourceTagsRequest { - /** - * A unique identifier for the CMK whose tags you are listing. You can use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - */ - KeyId: KeyIdType; - /** - * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS does not return more than the specified number of items, but it might return fewer. This value is optional. If you include a value, it must be between 1 and 50, inclusive. If you do not include a value, it defaults to 50. - */ - Limit?: LimitType; - /** - * Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker from the truncated response you just received. Do not attempt to construct this value. Use only the value of NextMarker from the truncated response you just received. - */ - Marker?: MarkerType; - } - export interface ListResourceTagsResponse { - /** - * A list of tags. Each tag consists of a tag key and a tag value. - */ - Tags?: TagList; - /** - * When Truncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent request. Do not assume or infer any information from this value. - */ - NextMarker?: MarkerType; - /** - * A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To retrieve more items, pass the value of the NextMarker element in this response to the Marker parameter in a subsequent request. - */ - Truncated?: BooleanType; - } - export interface ListRetirableGrantsRequest { - /** - * Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS does not return more than the specified number of items, but it might return fewer. This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50. - */ - Limit?: LimitType; - /** - * Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker from the truncated response you just received. - */ - Marker?: MarkerType; - /** - * The retiring principal for which to list grants. To specify the retiring principal, use the Amazon Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS accounts (root), IAM users, federated users, and assumed role users. For examples of the ARN syntax for specifying a principal, see AWS Identity and Access Management (IAM) in the Example ARNs section of the Amazon Web Services General Reference. - */ - RetiringPrincipal: PrincipalIdType; - } - export type MarkerType = string; - export type NumberOfBytesType = number; - export type OriginType = "AWS_KMS"|"EXTERNAL"|string; - export type PendingWindowInDaysType = number; - export type PlaintextType = Buffer|Uint8Array|Blob|string; - export type PolicyNameList = PolicyNameType[]; - export type PolicyNameType = string; - export type PolicyType = string; - export type PrincipalIdType = string; - export interface PutKeyPolicyRequest { - /** - * A unique identifier for the CMK. Use the CMK's unique identifier or its Amazon Resource Name (ARN). For example: Unique ID: 1234abcd-12ab-34cd-56ef-1234567890ab ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - */ - KeyId: KeyIdType; - /** - * The name of the key policy. This value must be default. - */ - PolicyName: PolicyNameType; - /** - * The key policy to attach to the CMK. If you do not set BypassPolicyLockoutSafetyCheck to true, the policy must meet the following criteria: It must allow the principal that is making the PutKeyPolicy request to make a subsequent PutKeyPolicy request on the CMK. This reduces the likelihood that the CMK becomes unmanageable. For more information, refer to the scenario in the Default Key Policy section in the AWS Key Management Service Developer Guide. The principals that are specified in the key policy must exist and be visible to AWS KMS. When you create a new AWS principal (for example, an IAM user or role), you might need to enforce a delay before specifying the new principal in a key policy because the new principal might not immediately be visible to AWS KMS. For more information, see Changes that I make are not always immediately visible in the IAM User Guide. The policy size limit is 32 KiB (32768 bytes). - */ - Policy: PolicyType; - /** - * A flag to indicate whether to bypass the key policy lockout safety check. Setting this value to true increases the likelihood that the CMK becomes unmanageable. Do not set this value to true indiscriminately. For more information, refer to the scenario in the Default Key Policy section in the AWS Key Management Service Developer Guide. Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the CMK. The default value is false. - */ - BypassPolicyLockoutSafetyCheck?: BooleanType; - } - export interface ReEncryptRequest { - /** - * Ciphertext of the data to reencrypt. - */ - CiphertextBlob: CiphertextType; - /** - * Encryption context used to encrypt and decrypt the data specified in the CiphertextBlob parameter. - */ - SourceEncryptionContext?: EncryptionContextType; - /** - * A unique identifier for the CMK to use to reencrypt the data. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/". Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 Alias Name Example - alias/MyAliasName - */ - DestinationKeyId: KeyIdType; - /** - * Encryption context to use when the data is reencrypted. - */ - DestinationEncryptionContext?: EncryptionContextType; - /** - * A list of grant tokens. For more information, see Grant Tokens in the AWS Key Management Service Developer Guide. - */ - GrantTokens?: GrantTokenList; - } - export interface ReEncryptResponse { - /** - * The reencrypted data. - */ - CiphertextBlob?: CiphertextType; - /** - * Unique identifier of the CMK used to originally encrypt the data. - */ - SourceKeyId?: KeyIdType; - /** - * Unique identifier of the CMK used to reencrypt the data. - */ - KeyId?: KeyIdType; - } - export interface RetireGrantRequest { - /** - * Token that identifies the grant to be retired. - */ - GrantToken?: GrantTokenType; - /** - * The Amazon Resource Name of the CMK associated with the grant. Example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab - */ - KeyId?: KeyIdType; - /** - * Unique identifier of the grant to retire. The grant ID is returned in the response to a CreateGrant operation. Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123 - */ - GrantId?: GrantIdType; - } - export interface RevokeGrantRequest { - /** - * A unique identifier for the customer master key associated with the grant. This value can be a globally unique identifier or the fully specified ARN to a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 - */ - KeyId: KeyIdType; - /** - * Identifier of the grant to be revoked. - */ - GrantId: GrantIdType; - } - export interface ScheduleKeyDeletionRequest { - /** - * The unique identifier for the customer master key (CMK) to delete. To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey. - */ - KeyId: KeyIdType; - /** - * The waiting period, specified in number of days. After the waiting period ends, AWS KMS deletes the customer master key (CMK). This value is optional. If you include a value, it must be between 7 and 30, inclusive. If you do not include a value, it defaults to 30. - */ - PendingWindowInDays?: PendingWindowInDaysType; - } - export interface ScheduleKeyDeletionResponse { - /** - * The unique identifier of the customer master key (CMK) for which deletion is scheduled. - */ - KeyId?: KeyIdType; - /** - * The date and time after which AWS KMS deletes the customer master key (CMK). - */ - DeletionDate?: DateType; - } - export interface Tag { - /** - * The key of the tag. - */ - TagKey: TagKeyType; - /** - * The value of the tag. - */ - TagValue: TagValueType; - } - export type TagKeyList = TagKeyType[]; - export type TagKeyType = string; - export type TagList = Tag[]; - export interface TagResourceRequest { - /** - * A unique identifier for the CMK you are tagging. You can use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - */ - KeyId: KeyIdType; - /** - * One or more tags. Each tag consists of a tag key and a tag value. - */ - Tags: TagList; - } - export type TagValueType = string; - export interface UntagResourceRequest { - /** - * A unique identifier for the CMK from which you are removing tags. You can use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples: Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - */ - KeyId: KeyIdType; - /** - * One or more tag keys. Specify only the tag keys, not the tag values. - */ - TagKeys: TagKeyList; - } - export interface UpdateAliasRequest { - /** - * String that contains the name of the alias to be modified. The name must start with the word "alias" followed by a forward slash (alias/). Aliases that begin with "alias/aws" are reserved. - */ - AliasName: AliasNameType; - /** - * Unique identifier of the customer master key to be mapped to the alias. This value can be a globally unique identifier or the fully specified ARN of a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 You can call ListAliases to verify that the alias is mapped to the correct TargetKeyId. - */ - TargetKeyId: KeyIdType; - } - export interface UpdateKeyDescriptionRequest { - /** - * A unique identifier for the CMK. This value can be a globally unique identifier or the fully specified ARN to a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 - */ - KeyId: KeyIdType; - /** - * New description for the CMK. - */ - Description: DescriptionType; - } - export type WrappingKeySpec = "RSA_2048"|string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-11-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the KMS client. - */ - export import Types = KMS; -} -export = KMS; diff --git a/src/node_modules/aws-sdk/clients/kms.js b/src/node_modules/aws-sdk/clients/kms.js deleted file mode 100644 index d2c192b..0000000 --- a/src/node_modules/aws-sdk/clients/kms.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['kms'] = {}; -AWS.KMS = Service.defineService('kms', ['2014-11-01']); -Object.defineProperty(apiLoader.services['kms'], '2014-11-01', { - get: function get() { - var model = require('../apis/kms-2014-11-01.min.json'); - model.paginators = require('../apis/kms-2014-11-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KMS; diff --git a/src/node_modules/aws-sdk/clients/lambda.d.ts b/src/node_modules/aws-sdk/clients/lambda.d.ts deleted file mode 100644 index 5560c5e..0000000 --- a/src/node_modules/aws-sdk/clients/lambda.d.ts +++ /dev/null @@ -1,1122 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Lambda extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Lambda.Types.ClientConfiguration) - config: Config & Lambda.Types.ClientConfiguration; - /** - * Adds a permission to the resource policy associated with the specified AWS Lambda function. You use resource policies to grant permissions to event sources that use push model. In a push model, event sources (such as Amazon S3 and custom applications) invoke your Lambda function. Each permission you add to the resource policy allows an event source, permission to invoke the Lambda function. For information about the push model, see AWS Lambda: How it Works. If you are using versioning, the permissions you add are specific to the Lambda function version or alias you specify in the AddPermission request via the Qualifier parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:AddPermission action. - */ - addPermission(params: Lambda.Types.AddPermissionRequest, callback?: (err: AWSError, data: Lambda.Types.AddPermissionResponse) => void): Request; - /** - * Adds a permission to the resource policy associated with the specified AWS Lambda function. You use resource policies to grant permissions to event sources that use push model. In a push model, event sources (such as Amazon S3 and custom applications) invoke your Lambda function. Each permission you add to the resource policy allows an event source, permission to invoke the Lambda function. For information about the push model, see AWS Lambda: How it Works. If you are using versioning, the permissions you add are specific to the Lambda function version or alias you specify in the AddPermission request via the Qualifier parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:AddPermission action. - */ - addPermission(callback?: (err: AWSError, data: Lambda.Types.AddPermissionResponse) => void): Request; - /** - * Creates an alias that points to the specified Lambda function version. For more information, see Introduction to AWS Lambda Aliases. Alias names are unique for a given function. This requires permission for the lambda:CreateAlias action. - */ - createAlias(params: Lambda.Types.CreateAliasRequest, callback?: (err: AWSError, data: Lambda.Types.AliasConfiguration) => void): Request; - /** - * Creates an alias that points to the specified Lambda function version. For more information, see Introduction to AWS Lambda Aliases. Alias names are unique for a given function. This requires permission for the lambda:CreateAlias action. - */ - createAlias(callback?: (err: AWSError, data: Lambda.Types.AliasConfiguration) => void): Request; - /** - * Identifies a stream as an event source for a Lambda function. It can be either an Amazon Kinesis stream or an Amazon DynamoDB stream. AWS Lambda invokes the specified function when records are posted to the stream. This association between a stream source and a Lambda function is called the event source mapping. This event source mapping is relevant only in the AWS Lambda pull model, where AWS Lambda invokes the function. For more information, see AWS Lambda: How it Works in the AWS Lambda Developer Guide. You provide mapping information (for example, which stream to read from and which Lambda function to invoke) in the request body. Each event source, such as an Amazon Kinesis or a DynamoDB stream, can be associated with multiple AWS Lambda function. A given Lambda function can be associated with multiple AWS event sources. If you are using versioning, you can specify a specific function version or an alias via the function name parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:CreateEventSourceMapping action. - */ - createEventSourceMapping(params: Lambda.Types.CreateEventSourceMappingRequest, callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; - /** - * Identifies a stream as an event source for a Lambda function. It can be either an Amazon Kinesis stream or an Amazon DynamoDB stream. AWS Lambda invokes the specified function when records are posted to the stream. This association between a stream source and a Lambda function is called the event source mapping. This event source mapping is relevant only in the AWS Lambda pull model, where AWS Lambda invokes the function. For more information, see AWS Lambda: How it Works in the AWS Lambda Developer Guide. You provide mapping information (for example, which stream to read from and which Lambda function to invoke) in the request body. Each event source, such as an Amazon Kinesis or a DynamoDB stream, can be associated with multiple AWS Lambda function. A given Lambda function can be associated with multiple AWS event sources. If you are using versioning, you can specify a specific function version or an alias via the function name parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:CreateEventSourceMapping action. - */ - createEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; - /** - * Creates a new Lambda function. The function metadata is created from the request parameters, and the code for the function is provided by a .zip file in the request body. If the function name already exists, the operation will fail. Note that the function name is case-sensitive. If you are using versioning, you can also publish a version of the Lambda function you are creating using the Publish parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:CreateFunction action. - */ - createFunction(params: Lambda.Types.CreateFunctionRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; - /** - * Creates a new Lambda function. The function metadata is created from the request parameters, and the code for the function is provided by a .zip file in the request body. If the function name already exists, the operation will fail. Note that the function name is case-sensitive. If you are using versioning, you can also publish a version of the Lambda function you are creating using the Publish parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:CreateFunction action. - */ - createFunction(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; - /** - * Deletes the specified Lambda function alias. For more information, see Introduction to AWS Lambda Aliases. This requires permission for the lambda:DeleteAlias action. - */ - deleteAlias(params: Lambda.Types.DeleteAliasRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified Lambda function alias. For more information, see Introduction to AWS Lambda Aliases. This requires permission for the lambda:DeleteAlias action. - */ - deleteAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes an event source mapping. This means AWS Lambda will no longer invoke the function for events in the associated source. This operation requires permission for the lambda:DeleteEventSourceMapping action. - */ - deleteEventSourceMapping(params: Lambda.Types.DeleteEventSourceMappingRequest, callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; - /** - * Removes an event source mapping. This means AWS Lambda will no longer invoke the function for events in the associated source. This operation requires permission for the lambda:DeleteEventSourceMapping action. - */ - deleteEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; - /** - * Deletes the specified Lambda function code and configuration. If you are using the versioning feature and you don't specify a function version in your DeleteFunction request, AWS Lambda will delete the function, including all its versions, and any aliases pointing to the function versions. To delete a specific function version, you must provide the function version via the Qualifier parameter. For information about function versioning, see AWS Lambda Function Versioning and Aliases. When you delete a function the associated resource policy is also deleted. You will need to delete the event source mappings explicitly. This operation requires permission for the lambda:DeleteFunction action. - */ - deleteFunction(params: Lambda.Types.DeleteFunctionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified Lambda function code and configuration. If you are using the versioning feature and you don't specify a function version in your DeleteFunction request, AWS Lambda will delete the function, including all its versions, and any aliases pointing to the function versions. To delete a specific function version, you must provide the function version via the Qualifier parameter. For information about function versioning, see AWS Lambda Function Versioning and Aliases. When you delete a function the associated resource policy is also deleted. You will need to delete the event source mappings explicitly. This operation requires permission for the lambda:DeleteFunction action. - */ - deleteFunction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Returns a customer's account settings. You can use this operation to retrieve Lambda limits information, such as code size and concurrency limits. For more information about limits, see AWS Lambda Limits. You can also retrieve resource usage statistics, such as code storage usage and function count. - */ - getAccountSettings(params: Lambda.Types.GetAccountSettingsRequest, callback?: (err: AWSError, data: Lambda.Types.GetAccountSettingsResponse) => void): Request; - /** - * Returns a customer's account settings. You can use this operation to retrieve Lambda limits information, such as code size and concurrency limits. For more information about limits, see AWS Lambda Limits. You can also retrieve resource usage statistics, such as code storage usage and function count. - */ - getAccountSettings(callback?: (err: AWSError, data: Lambda.Types.GetAccountSettingsResponse) => void): Request; - /** - * Returns the specified alias information such as the alias ARN, description, and function version it is pointing to. For more information, see Introduction to AWS Lambda Aliases. This requires permission for the lambda:GetAlias action. - */ - getAlias(params: Lambda.Types.GetAliasRequest, callback?: (err: AWSError, data: Lambda.Types.AliasConfiguration) => void): Request; - /** - * Returns the specified alias information such as the alias ARN, description, and function version it is pointing to. For more information, see Introduction to AWS Lambda Aliases. This requires permission for the lambda:GetAlias action. - */ - getAlias(callback?: (err: AWSError, data: Lambda.Types.AliasConfiguration) => void): Request; - /** - * Returns configuration information for the specified event source mapping (see CreateEventSourceMapping). This operation requires permission for the lambda:GetEventSourceMapping action. - */ - getEventSourceMapping(params: Lambda.Types.GetEventSourceMappingRequest, callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; - /** - * Returns configuration information for the specified event source mapping (see CreateEventSourceMapping). This operation requires permission for the lambda:GetEventSourceMapping action. - */ - getEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; - /** - * Returns the configuration information of the Lambda function and a presigned URL link to the .zip file you uploaded with CreateFunction so you can download the .zip file. Note that the URL is valid for up to 10 minutes. The configuration information is the same information you provided as parameters when uploading the function. Using the optional Qualifier parameter, you can specify a specific function version for which you want this information. If you don't specify this parameter, the API uses unqualified function ARN which return information about the $LATEST version of the Lambda function. For more information, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:GetFunction action. - */ - getFunction(params: Lambda.Types.GetFunctionRequest, callback?: (err: AWSError, data: Lambda.Types.GetFunctionResponse) => void): Request; - /** - * Returns the configuration information of the Lambda function and a presigned URL link to the .zip file you uploaded with CreateFunction so you can download the .zip file. Note that the URL is valid for up to 10 minutes. The configuration information is the same information you provided as parameters when uploading the function. Using the optional Qualifier parameter, you can specify a specific function version for which you want this information. If you don't specify this parameter, the API uses unqualified function ARN which return information about the $LATEST version of the Lambda function. For more information, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:GetFunction action. - */ - getFunction(callback?: (err: AWSError, data: Lambda.Types.GetFunctionResponse) => void): Request; - /** - * Returns the configuration information of the Lambda function. This the same information you provided as parameters when uploading the function by using CreateFunction. If you are using the versioning feature, you can retrieve this information for a specific function version by using the optional Qualifier parameter and specifying the function version or alias that points to it. If you don't provide it, the API returns information about the $LATEST version of the function. For more information about versioning, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:GetFunctionConfiguration operation. - */ - getFunctionConfiguration(params: Lambda.Types.GetFunctionConfigurationRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; - /** - * Returns the configuration information of the Lambda function. This the same information you provided as parameters when uploading the function by using CreateFunction. If you are using the versioning feature, you can retrieve this information for a specific function version by using the optional Qualifier parameter and specifying the function version or alias that points to it. If you don't provide it, the API returns information about the $LATEST version of the function. For more information about versioning, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:GetFunctionConfiguration operation. - */ - getFunctionConfiguration(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; - /** - * Returns the resource policy associated with the specified Lambda function. If you are using the versioning feature, you can get the resource policy associated with the specific Lambda function version or alias by specifying the version or alias name using the Qualifier parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases. You need permission for the lambda:GetPolicy action. - */ - getPolicy(params: Lambda.Types.GetPolicyRequest, callback?: (err: AWSError, data: Lambda.Types.GetPolicyResponse) => void): Request; - /** - * Returns the resource policy associated with the specified Lambda function. If you are using the versioning feature, you can get the resource policy associated with the specific Lambda function version or alias by specifying the version or alias name using the Qualifier parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases. You need permission for the lambda:GetPolicy action. - */ - getPolicy(callback?: (err: AWSError, data: Lambda.Types.GetPolicyResponse) => void): Request; - /** - * Invokes a specific Lambda function. For an example, see Create the Lambda Function and Test It Manually. If you are using the versioning feature, you can invoke the specific function version by providing function version or alias name that is pointing to the function version using the Qualifier parameter in the request. If you don't provide the Qualifier parameter, the $LATEST version of the Lambda function is invoked. Invocations occur at least once in response to an event and functions must be idempotent to handle this. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:InvokeFunction action. - */ - invoke(params: Lambda.Types.InvocationRequest, callback?: (err: AWSError, data: Lambda.Types.InvocationResponse) => void): Request; - /** - * Invokes a specific Lambda function. For an example, see Create the Lambda Function and Test It Manually. If you are using the versioning feature, you can invoke the specific function version by providing function version or alias name that is pointing to the function version using the Qualifier parameter in the request. If you don't provide the Qualifier parameter, the $LATEST version of the Lambda function is invoked. Invocations occur at least once in response to an event and functions must be idempotent to handle this. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:InvokeFunction action. - */ - invoke(callback?: (err: AWSError, data: Lambda.Types.InvocationResponse) => void): Request; - /** - * This API is deprecated. We recommend you use Invoke API (see Invoke). Submits an invocation request to AWS Lambda. Upon receiving the request, Lambda executes the specified function asynchronously. To see the logs generated by the Lambda function execution, see the CloudWatch Logs console. This operation requires permission for the lambda:InvokeFunction action. - */ - invokeAsync(params: Lambda.Types.InvokeAsyncRequest, callback?: (err: AWSError, data: Lambda.Types.InvokeAsyncResponse) => void): Request; - /** - * This API is deprecated. We recommend you use Invoke API (see Invoke). Submits an invocation request to AWS Lambda. Upon receiving the request, Lambda executes the specified function asynchronously. To see the logs generated by the Lambda function execution, see the CloudWatch Logs console. This operation requires permission for the lambda:InvokeFunction action. - */ - invokeAsync(callback?: (err: AWSError, data: Lambda.Types.InvokeAsyncResponse) => void): Request; - /** - * Returns list of aliases created for a Lambda function. For each alias, the response includes information such as the alias ARN, description, alias name, and the function version to which it points. For more information, see Introduction to AWS Lambda Aliases. This requires permission for the lambda:ListAliases action. - */ - listAliases(params: Lambda.Types.ListAliasesRequest, callback?: (err: AWSError, data: Lambda.Types.ListAliasesResponse) => void): Request; - /** - * Returns list of aliases created for a Lambda function. For each alias, the response includes information such as the alias ARN, description, alias name, and the function version to which it points. For more information, see Introduction to AWS Lambda Aliases. This requires permission for the lambda:ListAliases action. - */ - listAliases(callback?: (err: AWSError, data: Lambda.Types.ListAliasesResponse) => void): Request; - /** - * Returns a list of event source mappings you created using the CreateEventSourceMapping (see CreateEventSourceMapping). For each mapping, the API returns configuration information. You can optionally specify filters to retrieve specific event source mappings. If you are using the versioning feature, you can get list of event source mappings for a specific Lambda function version or an alias as described in the FunctionName parameter. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:ListEventSourceMappings action. - */ - listEventSourceMappings(params: Lambda.Types.ListEventSourceMappingsRequest, callback?: (err: AWSError, data: Lambda.Types.ListEventSourceMappingsResponse) => void): Request; - /** - * Returns a list of event source mappings you created using the CreateEventSourceMapping (see CreateEventSourceMapping). For each mapping, the API returns configuration information. You can optionally specify filters to retrieve specific event source mappings. If you are using the versioning feature, you can get list of event source mappings for a specific Lambda function version or an alias as described in the FunctionName parameter. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:ListEventSourceMappings action. - */ - listEventSourceMappings(callback?: (err: AWSError, data: Lambda.Types.ListEventSourceMappingsResponse) => void): Request; - /** - * Returns a list of your Lambda functions. For each function, the response includes the function configuration information. You must use GetFunction to retrieve the code for your function. This operation requires permission for the lambda:ListFunctions action. If you are using versioning feature, the response returns list of $LATEST versions of your functions. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. - */ - listFunctions(params: Lambda.Types.ListFunctionsRequest, callback?: (err: AWSError, data: Lambda.Types.ListFunctionsResponse) => void): Request; - /** - * Returns a list of your Lambda functions. For each function, the response includes the function configuration information. You must use GetFunction to retrieve the code for your function. This operation requires permission for the lambda:ListFunctions action. If you are using versioning feature, the response returns list of $LATEST versions of your functions. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. - */ - listFunctions(callback?: (err: AWSError, data: Lambda.Types.ListFunctionsResponse) => void): Request; - /** - * Returns a list of tags assigned to a function when supplied the function ARN (Amazon Resource Name). - */ - listTags(params: Lambda.Types.ListTagsRequest, callback?: (err: AWSError, data: Lambda.Types.ListTagsResponse) => void): Request; - /** - * Returns a list of tags assigned to a function when supplied the function ARN (Amazon Resource Name). - */ - listTags(callback?: (err: AWSError, data: Lambda.Types.ListTagsResponse) => void): Request; - /** - * List all versions of a function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. - */ - listVersionsByFunction(params: Lambda.Types.ListVersionsByFunctionRequest, callback?: (err: AWSError, data: Lambda.Types.ListVersionsByFunctionResponse) => void): Request; - /** - * List all versions of a function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. - */ - listVersionsByFunction(callback?: (err: AWSError, data: Lambda.Types.ListVersionsByFunctionResponse) => void): Request; - /** - * Publishes a version of your function from the current snapshot of $LATEST. That is, AWS Lambda takes a snapshot of the function code and configuration information from $LATEST and publishes a new version. The code and configuration cannot be modified after publication. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. - */ - publishVersion(params: Lambda.Types.PublishVersionRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; - /** - * Publishes a version of your function from the current snapshot of $LATEST. That is, AWS Lambda takes a snapshot of the function code and configuration information from $LATEST and publishes a new version. The code and configuration cannot be modified after publication. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. - */ - publishVersion(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; - /** - * You can remove individual permissions from an resource policy associated with a Lambda function by providing a statement ID that you provided when you added the permission. If you are using versioning, the permissions you remove are specific to the Lambda function version or alias you specify in the AddPermission request via the Qualifier parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases. Note that removal of a permission will cause an active event source to lose permission to the function. You need permission for the lambda:RemovePermission action. - */ - removePermission(params: Lambda.Types.RemovePermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * You can remove individual permissions from an resource policy associated with a Lambda function by providing a statement ID that you provided when you added the permission. If you are using versioning, the permissions you remove are specific to the Lambda function version or alias you specify in the AddPermission request via the Qualifier parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases. Note that removal of a permission will cause an active event source to lose permission to the function. You need permission for the lambda:RemovePermission action. - */ - removePermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a list of tags (key-value pairs) on the Lambda function. Requires the Lambda function ARN (Amazon Resource Name). If a key is specified without a value, Lambda creates a tag with the specified key and a value of null. - */ - tagResource(params: Lambda.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a list of tags (key-value pairs) on the Lambda function. Requires the Lambda function ARN (Amazon Resource Name). If a key is specified without a value, Lambda creates a tag with the specified key and a value of null. - */ - tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes tags from a Lambda function. Requires the function ARN (Amazon Resource Name). - */ - untagResource(params: Lambda.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes tags from a Lambda function. Requires the function ARN (Amazon Resource Name). - */ - untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Using this API you can update the function version to which the alias points and the alias description. For more information, see Introduction to AWS Lambda Aliases. This requires permission for the lambda:UpdateAlias action. - */ - updateAlias(params: Lambda.Types.UpdateAliasRequest, callback?: (err: AWSError, data: Lambda.Types.AliasConfiguration) => void): Request; - /** - * Using this API you can update the function version to which the alias points and the alias description. For more information, see Introduction to AWS Lambda Aliases. This requires permission for the lambda:UpdateAlias action. - */ - updateAlias(callback?: (err: AWSError, data: Lambda.Types.AliasConfiguration) => void): Request; - /** - * You can update an event source mapping. This is useful if you want to change the parameters of the existing mapping without losing your position in the stream. You can change which function will receive the stream records, but to change the stream itself, you must create a new mapping. If you are using the versioning feature, you can update the event source mapping to map to a specific Lambda function version or alias as described in the FunctionName parameter. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. If you disable the event source mapping, AWS Lambda stops polling. If you enable again, it will resume polling from the time it had stopped polling, so you don't lose processing of any records. However, if you delete event source mapping and create it again, it will reset. This operation requires permission for the lambda:UpdateEventSourceMapping action. - */ - updateEventSourceMapping(params: Lambda.Types.UpdateEventSourceMappingRequest, callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; - /** - * You can update an event source mapping. This is useful if you want to change the parameters of the existing mapping without losing your position in the stream. You can change which function will receive the stream records, but to change the stream itself, you must create a new mapping. If you are using the versioning feature, you can update the event source mapping to map to a specific Lambda function version or alias as described in the FunctionName parameter. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. If you disable the event source mapping, AWS Lambda stops polling. If you enable again, it will resume polling from the time it had stopped polling, so you don't lose processing of any records. However, if you delete event source mapping and create it again, it will reset. This operation requires permission for the lambda:UpdateEventSourceMapping action. - */ - updateEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; - /** - * Updates the code for the specified Lambda function. This operation must only be used on an existing Lambda function and cannot be used to update the function configuration. If you are using the versioning feature, note this API will always update the $LATEST version of your Lambda function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:UpdateFunctionCode action. - */ - updateFunctionCode(params: Lambda.Types.UpdateFunctionCodeRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; - /** - * Updates the code for the specified Lambda function. This operation must only be used on an existing Lambda function and cannot be used to update the function configuration. If you are using the versioning feature, note this API will always update the $LATEST version of your Lambda function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:UpdateFunctionCode action. - */ - updateFunctionCode(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; - /** - * Updates the configuration parameters for the specified Lambda function by using the values provided in the request. You provide only the parameters you want to change. This operation must only be used on an existing Lambda function and cannot be used to update the function's code. If you are using the versioning feature, note this API will always update the $LATEST version of your Lambda function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:UpdateFunctionConfiguration action. - */ - updateFunctionConfiguration(params: Lambda.Types.UpdateFunctionConfigurationRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; - /** - * Updates the configuration parameters for the specified Lambda function by using the values provided in the request. You provide only the parameters you want to change. This operation must only be used on an existing Lambda function and cannot be used to update the function's code. If you are using the versioning feature, note this API will always update the $LATEST version of your Lambda function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases. This operation requires permission for the lambda:UpdateFunctionConfiguration action. - */ - updateFunctionConfiguration(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; -} -declare namespace Lambda { - export interface AccountLimit { - /** - * Maximum size, in bytes, of a code package you can upload per region. The default size is 75 GB. - */ - TotalCodeSize?: Long; - /** - * Size, in bytes, of code/dependencies that you can zip into a deployment package (uncompressed zip/jar size) for uploading. The default limit is 250 MB. - */ - CodeSizeUnzipped?: Long; - /** - * Size, in bytes, of a single zipped code/dependencies package you can upload for your Lambda function(.zip/.jar file). Try using Amazon S3 for uploading larger files. Default limit is 50 MB. - */ - CodeSizeZipped?: Long; - /** - * Number of simultaneous executions of your function per region. For more information or to request a limit increase for concurrent executions, see Lambda Function Concurrent Executions. The default limit is 100. - */ - ConcurrentExecutions?: Integer; - } - export interface AccountUsage { - /** - * Total size, in bytes, of the account's deployment packages per region. - */ - TotalCodeSize?: Long; - /** - * The number of your account's existing functions per region. - */ - FunctionCount?: Long; - } - export type Action = string; - export interface AddPermissionRequest { - /** - * Name of the Lambda function whose resource policy you are updating by adding a new permission. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * A unique statement identifier. - */ - StatementId: StatementId; - /** - * The AWS Lambda action you want to allow in this statement. Each Lambda action is a string starting with lambda: followed by the API name . For example, lambda:CreateFunction. You can use wildcard (lambda:*) to grant permission for all AWS Lambda actions. - */ - Action: Action; - /** - * The principal who is getting this permission. It can be Amazon S3 service Principal (s3.amazonaws.com) if you want Amazon S3 to invoke the function, an AWS account ID if you are granting cross-account permission, or any valid AWS service principal such as sns.amazonaws.com. For example, you might want to allow a custom application in another AWS account to push events to AWS Lambda by invoking your function. - */ - Principal: Principal; - /** - * This is optional; however, when granting permission to invoke your function, you should specify this field with the Amazon Resource Name (ARN) as its value. This ensures that only events generated from the specified source can invoke the function. If you add a permission without providing the source ARN, any AWS account that creates a mapping to your function ARN can send events to invoke your Lambda function. - */ - SourceArn?: Arn; - /** - * This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner. For example, if the SourceArn identifies a bucket, then this is the bucket owner's account ID. You can use this additional condition to ensure the bucket you specify is owned by a specific account (it is possible the bucket owner deleted the bucket and some other AWS account created the bucket). You can also use this condition to specify all sources (that is, you don't specify the SourceArn) owned by a specific account. - */ - SourceAccount?: SourceOwner; - /** - * A unique token that must be supplied by the principal invoking the function. This is currently only used for Alexa Smart Home functions. - */ - EventSourceToken?: EventSourceToken; - /** - * You can use this optional query parameter to describe a qualified ARN using a function version or an alias name. The permission will then apply to the specific qualified ARN. For example, if you specify function version 2 as the qualifier, then permission applies only when request is made using qualified function ARN: arn:aws:lambda:aws-region:acct-id:function:function-name:2 If you specify an alias name, for example PROD, then the permission is valid only for requests made using the alias ARN: arn:aws:lambda:aws-region:acct-id:function:function-name:PROD If the qualifier is not specified, the permission is valid only when requests is made using unqualified function ARN. arn:aws:lambda:aws-region:acct-id:function:function-name - */ - Qualifier?: Qualifier; - } - export interface AddPermissionResponse { - /** - * The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON. - */ - Statement?: String; - } - export type Alias = string; - export interface AliasConfiguration { - /** - * Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called BETA that points to a helloworld function version, the ARN is arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA. - */ - AliasArn?: FunctionArn; - /** - * Alias name. - */ - Name?: Alias; - /** - * Function version to which the alias points. - */ - FunctionVersion?: Version; - /** - * Alias description. - */ - Description?: Description; - } - export type AliasList = AliasConfiguration[]; - export type Arn = string; - export type BatchSize = number; - export type _Blob = Buffer|Uint8Array|Blob|string; - export type BlobStream = Buffer|Uint8Array|Blob|string; - export type Boolean = boolean; - export interface CreateAliasRequest { - /** - * Name of the Lambda function for which you want to create an alias. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * Name for the alias you are creating. - */ - Name: Alias; - /** - * Lambda function version for which you are creating the alias. - */ - FunctionVersion: Version; - /** - * Description of the alias. - */ - Description?: Description; - } - export interface CreateEventSourceMappingRequest { - /** - * The Amazon Resource Name (ARN) of the Amazon Kinesis or the Amazon DynamoDB stream that is the event source. Any record added to this stream could cause AWS Lambda to invoke your Lambda function, it depends on the BatchSize. AWS Lambda POSTs the Amazon Kinesis event, containing records, to your Lambda function as JSON. - */ - EventSourceArn: Arn; - /** - * The Lambda function to invoke when AWS Lambda detects an event on the stream. You can specify the function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * Indicates whether AWS Lambda should begin polling the event source. By default, Enabled is true. - */ - Enabled?: Enabled; - /** - * The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records. The default is 100 records. - */ - BatchSize?: BatchSize; - /** - * The position in the stream where AWS Lambda should start reading. Valid only for Kinesis streams. For more information, see ShardIteratorType in the Amazon Kinesis API Reference. - */ - StartingPosition: EventSourcePosition; - /** - * The timestamp of the data record from which to start reading. Used with shard iterator type AT_TIMESTAMP. If a record with this exact timestamp does not exist, the iterator returned is for the next (later) record. If the timestamp is older than the current trim horizon, the iterator returned is for the oldest untrimmed data record (TRIM_HORIZON). Valid only for Kinesis streams. - */ - StartingPositionTimestamp?: _Date; - } - export interface CreateFunctionRequest { - /** - * The name you want to assign to the function you are uploading. The function names appear in the console and are returned in the ListFunctions API. Function names are used to specify functions to other AWS Lambda API operations, such as Invoke. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * The runtime environment for the Lambda function you are uploading. To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parmaeter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime. - */ - Runtime: Runtime; - /** - * The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. For more information, see AWS Lambda: How it Works. - */ - Role: RoleArn; - /** - * The function within your code that Lambda calls to begin execution. For Node.js, it is the module-name.export value in your function. For Java, it can be package.class-name::handler or package.class-name. For more information, see Lambda Function Handler (Java). - */ - Handler: Handler; - /** - * The code for the Lambda function. - */ - Code: FunctionCode; - /** - * A short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit. - */ - Description?: Description; - /** - * The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds. - */ - Timeout?: Timeout; - /** - * The amount of memory, in MB, your Lambda function is given. Lambda uses this memory size to infer the amount of CPU and memory allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB. - */ - MemorySize?: MemorySize; - /** - * This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as an atomic operation. - */ - Publish?: Boolean; - /** - * If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID. - */ - VpcConfig?: VpcConfig; - /** - * The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic. - */ - DeadLetterConfig?: DeadLetterConfig; - Environment?: Environment; - /** - * The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If not provided, AWS Lambda will use a default service key. - */ - KMSKeyArn?: KMSKeyArn; - /** - * The parent object that contains your function's tracing settings. - */ - TracingConfig?: TracingConfig; - /** - * The list of tags (key-value pairs) assigned to the new function. - */ - Tags?: Tags; - } - export type _Date = Date; - export interface DeadLetterConfig { - /** - * The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ). - */ - TargetArn?: ResourceArn; - } - export interface DeleteAliasRequest { - /** - * The Lambda function name for which the alias is created. Deleting an alias does not delete the function version to which it is pointing. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * Name of the alias to delete. - */ - Name: Alias; - } - export interface DeleteEventSourceMappingRequest { - /** - * The event source mapping ID. - */ - UUID: String; - } - export interface DeleteFunctionRequest { - /** - * The Lambda function to delete. You can specify the function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * Using this optional parameter you can specify a function version (but not the $LATEST version) to direct AWS Lambda to delete a specific function version. If the function version has one or more aliases pointing to it, you will get an error because you cannot have aliases pointing to it. You can delete any function version but not the $LATEST, that is, you cannot specify $LATEST as the value of this parameter. The $LATEST version can be deleted only when you want to delete all the function versions and aliases. You can only specify a function version, not an alias name, using this parameter. You cannot delete a function version using its alias. If you don't specify this parameter, AWS Lambda will delete the function, including all of its versions and aliases. - */ - Qualifier?: Qualifier; - } - export type Description = string; - export type Enabled = boolean; - export interface Environment { - /** - * The key-value pairs that represent your environment's configuration settings. - */ - Variables?: EnvironmentVariables; - } - export interface EnvironmentError { - /** - * The error code returned by the environment error object. - */ - ErrorCode?: String; - /** - * The message returned by the environment error object. - */ - Message?: SensitiveString; - } - export interface EnvironmentResponse { - /** - * The key-value pairs returned that represent your environment's configuration settings or error information. - */ - Variables?: EnvironmentVariables; - Error?: EnvironmentError; - } - export type EnvironmentVariableName = string; - export type EnvironmentVariableValue = string; - export type EnvironmentVariables = {[key: string]: EnvironmentVariableValue}; - export interface EventSourceMappingConfiguration { - /** - * The AWS Lambda assigned opaque identifier for the mapping. - */ - UUID?: String; - /** - * The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records. - */ - BatchSize?: BatchSize; - /** - * The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events. - */ - EventSourceArn?: Arn; - /** - * The Lambda function to invoke when AWS Lambda detects an event on the stream. - */ - FunctionArn?: FunctionArn; - /** - * The UTC time string indicating the last time the event mapping was updated. - */ - LastModified?: _Date; - /** - * The result of the last AWS Lambda invocation of your Lambda function. - */ - LastProcessingResult?: String; - /** - * The state of the event source mapping. It can be Creating, Enabled, Disabled, Enabling, Disabling, Updating, or Deleting. - */ - State?: String; - /** - * The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition. - */ - StateTransitionReason?: String; - } - export type EventSourceMappingsList = EventSourceMappingConfiguration[]; - export type EventSourcePosition = "TRIM_HORIZON"|"LATEST"|"AT_TIMESTAMP"|string; - export type EventSourceToken = string; - export type FunctionArn = string; - export interface FunctionCode { - /** - * The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, see Execution Permissions in the AWS Lambda Developer Guide. - */ - ZipFile?: _Blob; - /** - * Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS region where you are creating the Lambda function. - */ - S3Bucket?: S3Bucket; - /** - * The Amazon S3 object (the deployment package) key name you want to upload. - */ - S3Key?: S3Key; - /** - * The Amazon S3 object (the deployment package) version you want to upload. - */ - S3ObjectVersion?: S3ObjectVersion; - } - export interface FunctionCodeLocation { - /** - * The repository from which you can download the function. - */ - RepositoryType?: String; - /** - * The presigned URL you can use to download the function's .zip file that you previously uploaded. The URL is valid for up to 10 minutes. - */ - Location?: String; - } - export interface FunctionConfiguration { - /** - * The name of the function. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName?: FunctionName; - /** - * The Amazon Resource Name (ARN) assigned to the function. - */ - FunctionArn?: FunctionArn; - /** - * The runtime environment for the Lambda function. - */ - Runtime?: Runtime; - /** - * The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. - */ - Role?: RoleArn; - /** - * The function Lambda calls to begin executing your function. - */ - Handler?: Handler; - /** - * The size, in bytes, of the function .zip file you uploaded. - */ - CodeSize?: Long; - /** - * The user-provided description. - */ - Description?: Description; - /** - * The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds. - */ - Timeout?: Timeout; - /** - * The memory size, in MB, you configured for the function. Must be a multiple of 64 MB. - */ - MemorySize?: MemorySize; - /** - * The time stamp of the last time you updated the function. The time stamp is conveyed as a string complying with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more information, see Date and Time Formats. - */ - LastModified?: Timestamp; - /** - * It is the SHA256 hash of your function deployment package. - */ - CodeSha256?: String; - /** - * The version of the Lambda function. - */ - Version?: Version; - /** - * VPC configuration associated with your Lambda function. - */ - VpcConfig?: VpcConfigResponse; - /** - * The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic. - */ - DeadLetterConfig?: DeadLetterConfig; - /** - * The parent object that contains your environment's configuration settings. - */ - Environment?: EnvironmentResponse; - /** - * The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key. - */ - KMSKeyArn?: KMSKeyArn; - /** - * The parent object that contains your function's tracing settings. - */ - TracingConfig?: TracingConfigResponse; - } - export type FunctionList = FunctionConfiguration[]; - export type FunctionName = string; - export interface GetAccountSettingsRequest { - } - export interface GetAccountSettingsResponse { - AccountLimit?: AccountLimit; - AccountUsage?: AccountUsage; - } - export interface GetAliasRequest { - /** - * Function name for which the alias is created. An alias is a subresource that exists only in the context of an existing Lambda function so you must specify the function name. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * Name of the alias for which you want to retrieve information. - */ - Name: Alias; - } - export interface GetEventSourceMappingRequest { - /** - * The AWS Lambda assigned ID of the event source mapping. - */ - UUID: String; - } - export interface GetFunctionConfigurationRequest { - /** - * The name of the Lambda function for which you want to retrieve the configuration information. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * Using this optional parameter you can specify a function version or an alias name. If you specify function version, the API uses qualified function ARN and returns information about the specific function version. If you specify an alias name, the API uses the alias ARN and returns information about the function version to which the alias points. If you don't specify this parameter, the API uses unqualified function ARN, and returns information about the $LATEST function version. - */ - Qualifier?: Qualifier; - } - export interface GetFunctionRequest { - /** - * The Lambda function name. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * Using this optional parameter to specify a function version or an alias name. If you specify function version, the API uses qualified function ARN for the request and returns information about the specific Lambda function version. If you specify an alias name, the API uses the alias ARN and returns information about the function version to which the alias points. If you don't provide this parameter, the API uses unqualified function ARN and returns information about the $LATEST version of the Lambda function. - */ - Qualifier?: Qualifier; - } - export interface GetFunctionResponse { - Configuration?: FunctionConfiguration; - Code?: FunctionCodeLocation; - /** - * Returns the list of tags associated with the function. - */ - Tags?: Tags; - } - export interface GetPolicyRequest { - /** - * Function name whose resource policy you want to retrieve. You can specify the function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * You can specify this optional query parameter to specify a function version or an alias name in which case this API will return all permissions associated with the specific qualified ARN. If you don't provide this parameter, the API will return permissions that apply to the unqualified function ARN. - */ - Qualifier?: Qualifier; - } - export interface GetPolicyResponse { - /** - * The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON. - */ - Policy?: String; - } - export type Handler = string; - export type HttpStatus = number; - export type Integer = number; - export interface InvocationRequest { - /** - * The Lambda function name. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * By default, the Invoke API assumes RequestResponse invocation type. You can optionally request asynchronous execution by specifying Event as the InvocationType. You can also use this parameter to request AWS Lambda to not execute the function but do some verification, such as if the caller is authorized to invoke the function and if the inputs are valid. You request this by specifying DryRun as the InvocationType. This is useful in a cross-account scenario when you want to verify access to a function without running it. - */ - InvocationType?: InvocationType; - /** - * You can set this optional parameter to Tail in the request only if you specify the InvocationType parameter with value RequestResponse. In this case, AWS Lambda returns the base64-encoded last 4 KB of log data produced by your Lambda function in the x-amz-log-result header. - */ - LogType?: LogType; - /** - * Using the ClientContext you can pass client-specific information to the Lambda function you are invoking. You can then process the client information in your Lambda function as you choose through the context variable. For an example of a ClientContext JSON, see PutEvents in the Amazon Mobile Analytics API Reference and User Guide. The ClientContext JSON must be base64-encoded. - */ - ClientContext?: String; - /** - * JSON that you want to provide to your Lambda function as input. - */ - Payload?: _Blob; - /** - * You can use this optional parameter to specify a Lambda function version or alias name. If you specify a function version, the API uses the qualified function ARN to invoke a specific Lambda function. If you specify an alias name, the API uses the alias ARN to invoke the Lambda function version to which the alias points. If you don't provide this parameter, then the API uses unqualified function ARN which results in invocation of the $LATEST version. - */ - Qualifier?: Qualifier; - } - export interface InvocationResponse { - /** - * The HTTP status code will be in the 200 range for successful request. For the RequestResponse invocation type this status code will be 200. For the Event invocation type this status code will be 202. For the DryRun invocation type the status code will be 204. - */ - StatusCode?: Integer; - /** - * Indicates whether an error occurred while executing the Lambda function. If an error occurred this field will have one of two values; Handled or Unhandled. Handled errors are errors that are reported by the function while the Unhandled errors are those detected and reported by AWS Lambda. Unhandled errors include out of memory errors and function timeouts. For information about how to report an Handled error, see Programming Model. - */ - FunctionError?: String; - /** - * It is the base64-encoded logs for the Lambda function invocation. This is present only if the invocation type is RequestResponse and the logs were requested. - */ - LogResult?: String; - /** - * It is the JSON representation of the object returned by the Lambda function. This is present only if the invocation type is RequestResponse. In the event of a function error this field contains a message describing the error. For the Handled errors the Lambda function will report this message. For Unhandled errors AWS Lambda reports the message. - */ - Payload?: _Blob; - } - export type InvocationType = "Event"|"RequestResponse"|"DryRun"|string; - export interface InvokeAsyncRequest { - /** - * The Lambda function name. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * JSON that you want to provide to your Lambda function as input. - */ - InvokeArgs: BlobStream; - } - export interface InvokeAsyncResponse { - /** - * It will be 202 upon success. - */ - Status?: HttpStatus; - } - export type KMSKeyArn = string; - export interface ListAliasesRequest { - /** - * Lambda function name for which the alias is created. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * If you specify this optional parameter, the API returns only the aliases that are pointing to the specific Lambda function version, otherwise the API returns all of the aliases created for the Lambda function. - */ - FunctionVersion?: Version; - /** - * Optional string. An opaque pagination token returned from a previous ListAliases operation. If present, indicates where to continue the listing. - */ - Marker?: String; - /** - * Optional integer. Specifies the maximum number of aliases to return in response. This parameter value must be greater than 0. - */ - MaxItems?: MaxListItems; - } - export interface ListAliasesResponse { - /** - * A string, present if there are more aliases. - */ - NextMarker?: String; - /** - * A list of aliases. - */ - Aliases?: AliasList; - } - export interface ListEventSourceMappingsRequest { - /** - * The Amazon Resource Name (ARN) of the Amazon Kinesis stream. (This parameter is optional.) - */ - EventSourceArn?: Arn; - /** - * The name of the Lambda function. You can specify the function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName?: FunctionName; - /** - * Optional string. An opaque pagination token returned from a previous ListEventSourceMappings operation. If present, specifies to continue the list from where the returning call left off. - */ - Marker?: String; - /** - * Optional integer. Specifies the maximum number of event sources to return in response. This value must be greater than 0. - */ - MaxItems?: MaxListItems; - } - export interface ListEventSourceMappingsResponse { - /** - * A string, present if there are more event source mappings. - */ - NextMarker?: String; - /** - * An array of EventSourceMappingConfiguration objects. - */ - EventSourceMappings?: EventSourceMappingsList; - } - export interface ListFunctionsRequest { - /** - * Optional string. An opaque pagination token returned from a previous ListFunctions operation. If present, indicates where to continue the listing. - */ - Marker?: String; - /** - * Optional integer. Specifies the maximum number of AWS Lambda functions to return in response. This parameter value must be greater than 0. - */ - MaxItems?: MaxListItems; - } - export interface ListFunctionsResponse { - /** - * A string, present if there are more functions. - */ - NextMarker?: String; - /** - * A list of Lambda functions. - */ - Functions?: FunctionList; - } - export interface ListTagsRequest { - /** - * The ARN (Amazon Resource Name) of the function. - */ - Resource: FunctionArn; - } - export interface ListTagsResponse { - /** - * The list of tags assigned to the function. - */ - Tags?: Tags; - } - export interface ListVersionsByFunctionRequest { - /** - * Function name whose versions to list. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * Optional string. An opaque pagination token returned from a previous ListVersionsByFunction operation. If present, indicates where to continue the listing. - */ - Marker?: String; - /** - * Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0. - */ - MaxItems?: MaxListItems; - } - export interface ListVersionsByFunctionResponse { - /** - * A string, present if there are more function versions. - */ - NextMarker?: String; - /** - * A list of Lambda function versions. - */ - Versions?: FunctionList; - } - export type LogType = "None"|"Tail"|string; - export type Long = number; - export type MaxListItems = number; - export type MemorySize = number; - export type Principal = string; - export interface PublishVersionRequest { - /** - * The Lambda function name. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * The SHA256 hash of the deployment package you want to publish. This provides validation on the code you are publishing. If you provide this parameter value must match the SHA256 of the $LATEST version for the publication to succeed. - */ - CodeSha256?: String; - /** - * The description for the version you are publishing. If not provided, AWS Lambda copies the description from the $LATEST version. - */ - Description?: Description; - } - export type Qualifier = string; - export interface RemovePermissionRequest { - /** - * Lambda function whose resource policy you want to remove a permission from. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * Statement ID of the permission to remove. - */ - StatementId: StatementId; - /** - * You can specify this optional parameter to remove permission associated with a specific function version or function alias. If you don't specify this parameter, the API removes permission associated with the unqualified function ARN. - */ - Qualifier?: Qualifier; - } - export type ResourceArn = string; - export type RoleArn = string; - export type Runtime = "nodejs"|"nodejs4.3"|"nodejs6.10"|"java8"|"python2.7"|"python3.6"|"dotnetcore1.0"|"nodejs4.3-edge"|string; - export type S3Bucket = string; - export type S3Key = string; - export type S3ObjectVersion = string; - export type SecurityGroupId = string; - export type SecurityGroupIds = SecurityGroupId[]; - export type SensitiveString = string; - export type SourceOwner = string; - export type StatementId = string; - export type String = string; - export type SubnetId = string; - export type SubnetIds = SubnetId[]; - export type TagKey = string; - export type TagKeyList = TagKey[]; - export interface TagResourceRequest { - /** - * The ARN (Amazon Resource Name) of the Lambda function. - */ - Resource: FunctionArn; - /** - * The list of tags (key-value pairs) you are assigning to the Lambda function. - */ - Tags: Tags; - } - export type TagValue = string; - export type Tags = {[key: string]: TagValue}; - export type ThrottleReason = "ConcurrentInvocationLimitExceeded"|"FunctionInvocationRateLimitExceeded"|"CallerRateLimitExceeded"|string; - export type Timeout = number; - export type Timestamp = string; - export interface TracingConfig { - /** - * Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision. - */ - Mode?: TracingMode; - } - export interface TracingConfigResponse { - /** - * The tracing mode associated with your Lambda function. - */ - Mode?: TracingMode; - } - export type TracingMode = "Active"|"PassThrough"|string; - export interface UntagResourceRequest { - /** - * The ARN (Amazon Resource Name) of the function. - */ - Resource: FunctionArn; - /** - * The list of tag keys to be deleted from the function. - */ - TagKeys: TagKeyList; - } - export interface UpdateAliasRequest { - /** - * The function name for which the alias is created. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * The alias name. - */ - Name: Alias; - /** - * Using this parameter you can change the Lambda function version to which the alias points. - */ - FunctionVersion?: Version; - /** - * You can change the description of the alias using this parameter. - */ - Description?: Description; - } - export interface UpdateEventSourceMappingRequest { - /** - * The event source mapping identifier. - */ - UUID: String; - /** - * The Lambda function to which you want the stream records sent. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length. - */ - FunctionName?: FunctionName; - /** - * Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream. - */ - Enabled?: Enabled; - /** - * The maximum number of stream records that can be sent to your Lambda function for a single invocation. - */ - BatchSize?: BatchSize; - } - export interface UpdateFunctionCodeRequest { - /** - * The existing Lambda function name whose code you want to replace. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. - */ - FunctionName: FunctionName; - /** - * The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, see Execution Permissions in the AWS Lambda Developer Guide. - */ - ZipFile?: _Blob; - /** - * Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS Region where you are creating the Lambda function. - */ - S3Bucket?: S3Bucket; - /** - * The Amazon S3 object (the deployment package) key name you want to upload. - */ - S3Key?: S3Key; - /** - * The Amazon S3 object (the deployment package) version you want to upload. - */ - S3ObjectVersion?: S3ObjectVersion; - /** - * This boolean parameter can be used to request AWS Lambda to update the Lambda function and publish a version as an atomic operation. - */ - Publish?: Boolean; - /** - * This boolean parameter can be used to test your request to AWS Lambda to update the Lambda function and publish a version as an atomic operation. It will do all necessary computation and validation of your code but will not upload it or a publish a version. Each time this operation is invoked, the CodeSha256 hash value the provided code will also be computed and returned in the response. - */ - DryRun?: Boolean; - } - export interface UpdateFunctionConfigurationRequest { - /** - * The name of the Lambda function. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length. - */ - FunctionName: FunctionName; - /** - * The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function. - */ - Role?: RoleArn; - /** - * The function that Lambda calls to begin executing your function. For Node.js, it is the module-name.export value in your function. - */ - Handler?: Handler; - /** - * A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit. - */ - Description?: Description; - /** - * The function execution time at which AWS Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds. - */ - Timeout?: Timeout; - /** - * The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB. - */ - MemorySize?: MemorySize; - VpcConfig?: VpcConfig; - /** - * The parent object that contains your environment's configuration settings. - */ - Environment?: Environment; - /** - * The runtime environment for the Lambda function. To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter value error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime. - */ - Runtime?: Runtime; - /** - * The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic. - */ - DeadLetterConfig?: DeadLetterConfig; - /** - * The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If you elect to use the AWS Lambda default service key, pass in an empty string ("") for this parameter. - */ - KMSKeyArn?: KMSKeyArn; - /** - * The parent object that contains your function's tracing settings. - */ - TracingConfig?: TracingConfig; - } - export type Version = string; - export interface VpcConfig { - /** - * A list of one or more subnet IDs in your VPC. - */ - SubnetIds?: SubnetIds; - /** - * A list of one or more security groups IDs in your VPC. - */ - SecurityGroupIds?: SecurityGroupIds; - } - export interface VpcConfigResponse { - /** - * A list of subnet IDs associated with the Lambda function. - */ - SubnetIds?: SubnetIds; - /** - * A list of security group IDs associated with the Lambda function. - */ - SecurityGroupIds?: SecurityGroupIds; - /** - * The VPC ID associated with you Lambda function. - */ - VpcId?: VpcId; - } - export type VpcId = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-11-11"|"2015-03-31"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Lambda client. - */ - export import Types = Lambda; -} -export = Lambda; diff --git a/src/node_modules/aws-sdk/clients/lambda.js b/src/node_modules/aws-sdk/clients/lambda.js deleted file mode 100644 index 3001aba..0000000 --- a/src/node_modules/aws-sdk/clients/lambda.js +++ /dev/null @@ -1,28 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['lambda'] = {}; -AWS.Lambda = Service.defineService('lambda', ['2014-11-11', '2015-03-31']); -require('../lib/services/lambda'); -Object.defineProperty(apiLoader.services['lambda'], '2014-11-11', { - get: function get() { - var model = require('../apis/lambda-2014-11-11.min.json'); - model.paginators = require('../apis/lambda-2014-11-11.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['lambda'], '2015-03-31', { - get: function get() { - var model = require('../apis/lambda-2015-03-31.min.json'); - model.paginators = require('../apis/lambda-2015-03-31.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Lambda; diff --git a/src/node_modules/aws-sdk/clients/lexmodelbuildingservice.d.ts b/src/node_modules/aws-sdk/clients/lexmodelbuildingservice.d.ts deleted file mode 100644 index c6b3758..0000000 --- a/src/node_modules/aws-sdk/clients/lexmodelbuildingservice.d.ts +++ /dev/null @@ -1,1829 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class LexModelBuildingService extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: LexModelBuildingService.Types.ClientConfiguration) - config: Config & LexModelBuildingService.Types.ClientConfiguration; - /** - * Creates a new version of the bot based on the $LATEST version. If the $LATEST version of this resource hasn't changed since you created the last version, Amazon Lex doesn't create a new version. It returns the last created version. You can update only the $LATEST version of the bot. You can't update the numbered versions that you create with the CreateBotVersion operation. When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro. This operation requires permission for the lex:CreateBotVersion action. - */ - createBotVersion(params: LexModelBuildingService.Types.CreateBotVersionRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.CreateBotVersionResponse) => void): Request; - /** - * Creates a new version of the bot based on the $LATEST version. If the $LATEST version of this resource hasn't changed since you created the last version, Amazon Lex doesn't create a new version. It returns the last created version. You can update only the $LATEST version of the bot. You can't update the numbered versions that you create with the CreateBotVersion operation. When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro. This operation requires permission for the lex:CreateBotVersion action. - */ - createBotVersion(callback?: (err: AWSError, data: LexModelBuildingService.Types.CreateBotVersionResponse) => void): Request; - /** - * Creates a new version of an intent based on the $LATEST version of the intent. If the $LATEST version of this intent hasn't changed since you last updated it, Amazon Lex doesn't create a new version. It returns the last version you created. You can update only the $LATEST version of the intent. You can't update the numbered versions that you create with the CreateIntentVersion operation. When you create a version of an intent, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro. This operation requires permissions to perform the lex:CreateIntentVersion action. - */ - createIntentVersion(params: LexModelBuildingService.Types.CreateIntentVersionRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.CreateIntentVersionResponse) => void): Request; - /** - * Creates a new version of an intent based on the $LATEST version of the intent. If the $LATEST version of this intent hasn't changed since you last updated it, Amazon Lex doesn't create a new version. It returns the last version you created. You can update only the $LATEST version of the intent. You can't update the numbered versions that you create with the CreateIntentVersion operation. When you create a version of an intent, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro. This operation requires permissions to perform the lex:CreateIntentVersion action. - */ - createIntentVersion(callback?: (err: AWSError, data: LexModelBuildingService.Types.CreateIntentVersionResponse) => void): Request; - /** - * Creates a new version of a slot type based on the $LATEST version of the specified slot type. If the $LATEST version of this resource has not changed since the last version that you created, Amazon Lex doesn't create a new version. It returns the last version that you created. You can update only the $LATEST version of a slot type. You can't update the numbered versions that you create with the CreateSlotTypeVersion operation. When you create a version of a slot type, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro. This operation requires permissions for the lex:CreateSlotTypeVersion action. - */ - createSlotTypeVersion(params: LexModelBuildingService.Types.CreateSlotTypeVersionRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.CreateSlotTypeVersionResponse) => void): Request; - /** - * Creates a new version of a slot type based on the $LATEST version of the specified slot type. If the $LATEST version of this resource has not changed since the last version that you created, Amazon Lex doesn't create a new version. It returns the last version that you created. You can update only the $LATEST version of a slot type. You can't update the numbered versions that you create with the CreateSlotTypeVersion operation. When you create a version of a slot type, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro. This operation requires permissions for the lex:CreateSlotTypeVersion action. - */ - createSlotTypeVersion(callback?: (err: AWSError, data: LexModelBuildingService.Types.CreateSlotTypeVersionResponse) => void): Request; - /** - * Deletes all versions of the bot, including the $LATEST version. To delete a specific version of the bot, use the operation. If a bot has an alias, you can't delete it. Instead, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the alias that refers to the bot. To remove the reference to the bot, delete the alias. If you get the same exception again, delete the referring alias until the DeleteBot operation is successful. This operation requires permissions for the lex:DeleteBot action. - */ - deleteBot(params: LexModelBuildingService.Types.DeleteBotRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes all versions of the bot, including the $LATEST version. To delete a specific version of the bot, use the operation. If a bot has an alias, you can't delete it. Instead, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the alias that refers to the bot. To remove the reference to the bot, delete the alias. If you get the same exception again, delete the referring alias until the DeleteBot operation is successful. This operation requires permissions for the lex:DeleteBot action. - */ - deleteBot(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an alias for the specified bot. You can't delete an alias that is used in the association between a bot and a messaging channel. If an alias is used in a channel association, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the channel association that refers to the bot. You can remove the reference to the alias by deleting the channel association. If you get the same exception again, delete the referring association until the DeleteBotAlias operation is successful. - */ - deleteBotAlias(params: LexModelBuildingService.Types.DeleteBotAliasRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an alias for the specified bot. You can't delete an alias that is used in the association between a bot and a messaging channel. If an alias is used in a channel association, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the channel association that refers to the bot. You can remove the reference to the alias by deleting the channel association. If you get the same exception again, delete the referring association until the DeleteBotAlias operation is successful. - */ - deleteBotAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the association between an Amazon Lex bot and a messaging platform. This operation requires permission for the lex:DeleteBotChannelAssociation action. - */ - deleteBotChannelAssociation(params: LexModelBuildingService.Types.DeleteBotChannelAssociationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the association between an Amazon Lex bot and a messaging platform. This operation requires permission for the lex:DeleteBotChannelAssociation action. - */ - deleteBotChannelAssociation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specific version of a bot. To delete all versions of a bot, use the operation. This operation requires permissions for the lex:DeleteBotVersion action. - */ - deleteBotVersion(params: LexModelBuildingService.Types.DeleteBotVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specific version of a bot. To delete all versions of a bot, use the operation. This operation requires permissions for the lex:DeleteBotVersion action. - */ - deleteBotVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes all versions of the intent, including the $LATEST version. To delete a specific version of the intent, use the operation. You can delete a version of an intent only if it is not referenced. To delete an intent that is referred to in one or more bots (see how-it-works), you must remove those references first. If you get the ResourceInUseException exception, it provides an example reference that shows where the intent is referenced. To remove the reference to the intent, either update the bot or delete it. If you get the same exception when you attempt to delete the intent again, repeat until the intent has no references and the call to DeleteIntent is successful. This operation requires permission for the lex:DeleteIntent action. - */ - deleteIntent(params: LexModelBuildingService.Types.DeleteIntentRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes all versions of the intent, including the $LATEST version. To delete a specific version of the intent, use the operation. You can delete a version of an intent only if it is not referenced. To delete an intent that is referred to in one or more bots (see how-it-works), you must remove those references first. If you get the ResourceInUseException exception, it provides an example reference that shows where the intent is referenced. To remove the reference to the intent, either update the bot or delete it. If you get the same exception when you attempt to delete the intent again, repeat until the intent has no references and the call to DeleteIntent is successful. This operation requires permission for the lex:DeleteIntent action. - */ - deleteIntent(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specific version of an intent. To delete all versions of a intent, use the operation. This operation requires permissions for the lex:DeleteIntentVersion action. - */ - deleteIntentVersion(params: LexModelBuildingService.Types.DeleteIntentVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specific version of an intent. To delete all versions of a intent, use the operation. This operation requires permissions for the lex:DeleteIntentVersion action. - */ - deleteIntentVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes all versions of the slot type, including the $LATEST version. To delete a specific version of the slot type, use the operation. You can delete a version of a slot type only if it is not referenced. To delete a slot type that is referred to in one or more intents, you must remove those references first. If you get the ResourceInUseException exception, the exception provides an example reference that shows the intent where the slot type is referenced. To remove the reference to the slot type, either update the intent or delete it. If you get the same exception when you attempt to delete the slot type again, repeat until the slot type has no references and the DeleteSlotType call is successful. This operation requires permission for the lex:DeleteSlotType action. - */ - deleteSlotType(params: LexModelBuildingService.Types.DeleteSlotTypeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes all versions of the slot type, including the $LATEST version. To delete a specific version of the slot type, use the operation. You can delete a version of a slot type only if it is not referenced. To delete a slot type that is referred to in one or more intents, you must remove those references first. If you get the ResourceInUseException exception, the exception provides an example reference that shows the intent where the slot type is referenced. To remove the reference to the slot type, either update the intent or delete it. If you get the same exception when you attempt to delete the slot type again, repeat until the slot type has no references and the DeleteSlotType call is successful. This operation requires permission for the lex:DeleteSlotType action. - */ - deleteSlotType(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specific version of a slot type. To delete all versions of a slot type, use the operation. This operation requires permissions for the lex:DeleteSlotTypeVersion action. - */ - deleteSlotTypeVersion(params: LexModelBuildingService.Types.DeleteSlotTypeVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specific version of a slot type. To delete all versions of a slot type, use the operation. This operation requires permissions for the lex:DeleteSlotTypeVersion action. - */ - deleteSlotTypeVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes stored utterances. Amazon Lex stores the utterances that users send to your bot unless the childDirected field in the bot is set to true. Utterances are stored for 15 days for use with the operation, and then stored indefinately for use in improving the ability of your bot to respond to user input. Use the DeleteStoredUtterances operation to manually delete stored utterances for a specific user. This operation requires permissions for the lex:DeleteUtterances action. - */ - deleteUtterances(params: LexModelBuildingService.Types.DeleteUtterancesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes stored utterances. Amazon Lex stores the utterances that users send to your bot unless the childDirected field in the bot is set to true. Utterances are stored for 15 days for use with the operation, and then stored indefinately for use in improving the ability of your bot to respond to user input. Use the DeleteStoredUtterances operation to manually delete stored utterances for a specific user. This operation requires permissions for the lex:DeleteUtterances action. - */ - deleteUtterances(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Returns metadata information for a specific bot. You must provide the bot name and the bot version or alias. The GetBot operation requires permissions for the lex:GetBot action. - */ - getBot(params: LexModelBuildingService.Types.GetBotRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotResponse) => void): Request; - /** - * Returns metadata information for a specific bot. You must provide the bot name and the bot version or alias. The GetBot operation requires permissions for the lex:GetBot action. - */ - getBot(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotResponse) => void): Request; - /** - * Returns information about an Amazon Lex bot alias. For more information about aliases, see versioning-aliases. This operation requires permissions for the lex:GetBotAlias action. - */ - getBotAlias(params: LexModelBuildingService.Types.GetBotAliasRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotAliasResponse) => void): Request; - /** - * Returns information about an Amazon Lex bot alias. For more information about aliases, see versioning-aliases. This operation requires permissions for the lex:GetBotAlias action. - */ - getBotAlias(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotAliasResponse) => void): Request; - /** - * Returns a list of aliases for a specified Amazon Lex bot. This operation requires permissions for the lex:GetBotAliases action. - */ - getBotAliases(params: LexModelBuildingService.Types.GetBotAliasesRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotAliasesResponse) => void): Request; - /** - * Returns a list of aliases for a specified Amazon Lex bot. This operation requires permissions for the lex:GetBotAliases action. - */ - getBotAliases(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotAliasesResponse) => void): Request; - /** - * Returns information about the association between an Amazon Lex bot and a messaging platform. This operation requires permissions for the lex:GetBotChannelAssociation action. - */ - getBotChannelAssociation(params: LexModelBuildingService.Types.GetBotChannelAssociationRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotChannelAssociationResponse) => void): Request; - /** - * Returns information about the association between an Amazon Lex bot and a messaging platform. This operation requires permissions for the lex:GetBotChannelAssociation action. - */ - getBotChannelAssociation(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotChannelAssociationResponse) => void): Request; - /** - * Returns a list of all of the channels associated with the specified bot. The GetBotChannelAssociations operation requires permissions for the lex:GetBotChannelAssociations action. - */ - getBotChannelAssociations(params: LexModelBuildingService.Types.GetBotChannelAssociationsRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotChannelAssociationsResponse) => void): Request; - /** - * Returns a list of all of the channels associated with the specified bot. The GetBotChannelAssociations operation requires permissions for the lex:GetBotChannelAssociations action. - */ - getBotChannelAssociations(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotChannelAssociationsResponse) => void): Request; - /** - * Gets information about all of the versions of a bot. The GetBotVersions operation returns a BotMetadata object for each version of a bot. For example, if a bot has three numbered versions, the GetBotVersions operation returns four BotMetadata objects in the response, one for each numbered version and one for the $LATEST version. The GetBotVersions operation always returns at least one version, the $LATEST version. This operation requires permissions for the lex:GetBotVersions action. - */ - getBotVersions(params: LexModelBuildingService.Types.GetBotVersionsRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotVersionsResponse) => void): Request; - /** - * Gets information about all of the versions of a bot. The GetBotVersions operation returns a BotMetadata object for each version of a bot. For example, if a bot has three numbered versions, the GetBotVersions operation returns four BotMetadata objects in the response, one for each numbered version and one for the $LATEST version. The GetBotVersions operation always returns at least one version, the $LATEST version. This operation requires permissions for the lex:GetBotVersions action. - */ - getBotVersions(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotVersionsResponse) => void): Request; - /** - * Returns bot information as follows: If you provide the nameContains field, the response includes information for the $LATEST version of all bots whose name contains the specified string. If you don't specify the nameContains field, the operation returns information about the $LATEST version of all of your bots. This operation requires permission for the lex:GetBots action. - */ - getBots(params: LexModelBuildingService.Types.GetBotsRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotsResponse) => void): Request; - /** - * Returns bot information as follows: If you provide the nameContains field, the response includes information for the $LATEST version of all bots whose name contains the specified string. If you don't specify the nameContains field, the operation returns information about the $LATEST version of all of your bots. This operation requires permission for the lex:GetBots action. - */ - getBots(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBotsResponse) => void): Request; - /** - * Returns information about a built-in intent. This operation requires permission for the lex:GetBuiltinIntent action. - */ - getBuiltinIntent(params: LexModelBuildingService.Types.GetBuiltinIntentRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBuiltinIntentResponse) => void): Request; - /** - * Returns information about a built-in intent. This operation requires permission for the lex:GetBuiltinIntent action. - */ - getBuiltinIntent(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBuiltinIntentResponse) => void): Request; - /** - * Gets a list of built-in intents that meet the specified criteria. This operation requires permission for the lex:GetBuiltinIntents action. - */ - getBuiltinIntents(params: LexModelBuildingService.Types.GetBuiltinIntentsRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBuiltinIntentsResponse) => void): Request; - /** - * Gets a list of built-in intents that meet the specified criteria. This operation requires permission for the lex:GetBuiltinIntents action. - */ - getBuiltinIntents(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBuiltinIntentsResponse) => void): Request; - /** - * Gets a list of built-in slot types that meet the specified criteria. For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit. This operation requires permission for the lex:GetBuiltInSlotTypes action. - */ - getBuiltinSlotTypes(params: LexModelBuildingService.Types.GetBuiltinSlotTypesRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBuiltinSlotTypesResponse) => void): Request; - /** - * Gets a list of built-in slot types that meet the specified criteria. For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit. This operation requires permission for the lex:GetBuiltInSlotTypes action. - */ - getBuiltinSlotTypes(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetBuiltinSlotTypesResponse) => void): Request; - /** - * Returns information about an intent. In addition to the intent name, you must specify the intent version. This operation requires permissions to perform the lex:GetIntent action. - */ - getIntent(params: LexModelBuildingService.Types.GetIntentRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetIntentResponse) => void): Request; - /** - * Returns information about an intent. In addition to the intent name, you must specify the intent version. This operation requires permissions to perform the lex:GetIntent action. - */ - getIntent(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetIntentResponse) => void): Request; - /** - * Gets information about all of the versions of an intent. The GetIntentVersions operation returns an IntentMetadata object for each version of an intent. For example, if an intent has three numbered versions, the GetIntentVersions operation returns four IntentMetadata objects in the response, one for each numbered version and one for the $LATEST version. The GetIntentVersions operation always returns at least one version, the $LATEST version. This operation requires permissions for the lex:GetIntentVersions action. - */ - getIntentVersions(params: LexModelBuildingService.Types.GetIntentVersionsRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetIntentVersionsResponse) => void): Request; - /** - * Gets information about all of the versions of an intent. The GetIntentVersions operation returns an IntentMetadata object for each version of an intent. For example, if an intent has three numbered versions, the GetIntentVersions operation returns four IntentMetadata objects in the response, one for each numbered version and one for the $LATEST version. The GetIntentVersions operation always returns at least one version, the $LATEST version. This operation requires permissions for the lex:GetIntentVersions action. - */ - getIntentVersions(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetIntentVersionsResponse) => void): Request; - /** - * Returns intent information as follows: If you specify the nameContains field, returns the $LATEST version of all intents that contain the specified string. If you don't specify the nameContains field, returns information about the $LATEST version of all intents. The operation requires permission for the lex:GetIntents action. - */ - getIntents(params: LexModelBuildingService.Types.GetIntentsRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetIntentsResponse) => void): Request; - /** - * Returns intent information as follows: If you specify the nameContains field, returns the $LATEST version of all intents that contain the specified string. If you don't specify the nameContains field, returns information about the $LATEST version of all intents. The operation requires permission for the lex:GetIntents action. - */ - getIntents(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetIntentsResponse) => void): Request; - /** - * Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version. This operation requires permissions for the lex:GetSlotType action. - */ - getSlotType(params: LexModelBuildingService.Types.GetSlotTypeRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetSlotTypeResponse) => void): Request; - /** - * Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version. This operation requires permissions for the lex:GetSlotType action. - */ - getSlotType(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetSlotTypeResponse) => void): Request; - /** - * Gets information about all versions of a slot type. The GetSlotTypeVersions operation returns a SlotTypeMetadata object for each version of a slot type. For example, if a slot type has three numbered versions, the GetSlotTypeVersions operation returns four SlotTypeMetadata objects in the response, one for each numbered version and one for the $LATEST version. The GetSlotTypeVersions operation always returns at least one version, the $LATEST version. This operation requires permissions for the lex:GetSlotTypeVersions action. - */ - getSlotTypeVersions(params: LexModelBuildingService.Types.GetSlotTypeVersionsRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetSlotTypeVersionsResponse) => void): Request; - /** - * Gets information about all versions of a slot type. The GetSlotTypeVersions operation returns a SlotTypeMetadata object for each version of a slot type. For example, if a slot type has three numbered versions, the GetSlotTypeVersions operation returns four SlotTypeMetadata objects in the response, one for each numbered version and one for the $LATEST version. The GetSlotTypeVersions operation always returns at least one version, the $LATEST version. This operation requires permissions for the lex:GetSlotTypeVersions action. - */ - getSlotTypeVersions(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetSlotTypeVersionsResponse) => void): Request; - /** - * Returns slot type information as follows: If you specify the nameContains field, returns the $LATEST version of all slot types that contain the specified string. If you don't specify the nameContains field, returns information about the $LATEST version of all slot types. The operation requires permission for the lex:GetSlotTypes action. - */ - getSlotTypes(params: LexModelBuildingService.Types.GetSlotTypesRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetSlotTypesResponse) => void): Request; - /** - * Returns slot type information as follows: If you specify the nameContains field, returns the $LATEST version of all slot types that contain the specified string. If you don't specify the nameContains field, returns information about the $LATEST version of all slot types. The operation requires permission for the lex:GetSlotTypes action. - */ - getSlotTypes(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetSlotTypesResponse) => void): Request; - /** - * Use the GetUtterancesView operation to get information about the utterances that your users have made to your bot. You can use this list to tune the utterances that your bot responds to. For example, say that you have created a bot to order flowers. After your users have used your bot for a while, use the GetUtterancesView operation to see the requests that they have made and whether they have been successful. You might find that the utterance "I want flowers" is not being recognized. You could add this utterance to the OrderFlowers intent so that your bot recognizes that utterance. After you publish a new version of a bot, you can get information about the old version and the new so that you can compare the performance across the two versions. Data is available for the last 15 days. You can request information for up to 5 versions in each request. The response contains information about a maximum of 100 utterances for each version. If the bot's childDirected field is set to true, utterances for the bot are not stored and cannot be retrieved with the GetUtterancesView operation. For more information, see . This operation requires permissions for the lex:GetUtterancesView action. - */ - getUtterancesView(params: LexModelBuildingService.Types.GetUtterancesViewRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.GetUtterancesViewResponse) => void): Request; - /** - * Use the GetUtterancesView operation to get information about the utterances that your users have made to your bot. You can use this list to tune the utterances that your bot responds to. For example, say that you have created a bot to order flowers. After your users have used your bot for a while, use the GetUtterancesView operation to see the requests that they have made and whether they have been successful. You might find that the utterance "I want flowers" is not being recognized. You could add this utterance to the OrderFlowers intent so that your bot recognizes that utterance. After you publish a new version of a bot, you can get information about the old version and the new so that you can compare the performance across the two versions. Data is available for the last 15 days. You can request information for up to 5 versions in each request. The response contains information about a maximum of 100 utterances for each version. If the bot's childDirected field is set to true, utterances for the bot are not stored and cannot be retrieved with the GetUtterancesView operation. For more information, see . This operation requires permissions for the lex:GetUtterancesView action. - */ - getUtterancesView(callback?: (err: AWSError, data: LexModelBuildingService.Types.GetUtterancesViewResponse) => void): Request; - /** - * Creates an Amazon Lex conversational bot or replaces an existing bot. When you create or update a bot you only required to specify a name. You can use this to add intents later, or to remove intents from an existing bot. When you create a bot with a name only, the bot is created or updated but Amazon Lex returns the response FAILED. You can build the bot after you add one or more intents. For more information about Amazon Lex bots, see how-it-works. If you specify the name of an existing bot, the fields in the request replace the existing values in the $LATEST version of the bot. Amazon Lex removes any fields that you don't provide values for in the request, except for the idleTTLInSeconds and privacySettings fields, which are set to their default values. If you don't specify values for required fields, Amazon Lex throws an exception. This operation requires permissions for the lex:PutBot action. For more information, see auth-and-access-control. - */ - putBot(params: LexModelBuildingService.Types.PutBotRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.PutBotResponse) => void): Request; - /** - * Creates an Amazon Lex conversational bot or replaces an existing bot. When you create or update a bot you only required to specify a name. You can use this to add intents later, or to remove intents from an existing bot. When you create a bot with a name only, the bot is created or updated but Amazon Lex returns the response FAILED. You can build the bot after you add one or more intents. For more information about Amazon Lex bots, see how-it-works. If you specify the name of an existing bot, the fields in the request replace the existing values in the $LATEST version of the bot. Amazon Lex removes any fields that you don't provide values for in the request, except for the idleTTLInSeconds and privacySettings fields, which are set to their default values. If you don't specify values for required fields, Amazon Lex throws an exception. This operation requires permissions for the lex:PutBot action. For more information, see auth-and-access-control. - */ - putBot(callback?: (err: AWSError, data: LexModelBuildingService.Types.PutBotResponse) => void): Request; - /** - * Creates an alias for the specified version of the bot or replaces an alias for the specified bot. To change the version of the bot that the alias points to, replace the alias. For more information about aliases, see versioning-aliases. This operation requires permissions for the lex:PutBotAlias action. - */ - putBotAlias(params: LexModelBuildingService.Types.PutBotAliasRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.PutBotAliasResponse) => void): Request; - /** - * Creates an alias for the specified version of the bot or replaces an alias for the specified bot. To change the version of the bot that the alias points to, replace the alias. For more information about aliases, see versioning-aliases. This operation requires permissions for the lex:PutBotAlias action. - */ - putBotAlias(callback?: (err: AWSError, data: LexModelBuildingService.Types.PutBotAliasResponse) => void): Request; - /** - * Creates an intent or replaces an existing intent. To define the interaction between the user and your bot, you use one or more intents. For a pizza ordering bot, for example, you would create an OrderPizza intent. To create an intent or replace an existing intent, you must provide the following: Intent name. For example, OrderPizza. Sample utterances. For example, "Can I order a pizza, please." and "I want to order a pizza." Information to be gathered. You specify slot types for the information that your bot will request from the user. You can specify standard slot types, such as a date or a time, or custom slot types such as the size and crust of a pizza. How the intent will be fulfilled. You can provide a Lambda function or configure the intent to return the intent information to the client application. If you use a Lambda function, when all of the intent information is available, Amazon Lex invokes your Lambda function. If you configure your intent to return the intent information to the client application. You can specify other optional information in the request, such as: A confirmation prompt to ask the user to confirm an intent. For example, "Shall I order your pizza?" A conclusion statement to send to the user after the intent has been fulfilled. For example, "I placed your pizza order." A follow-up prompt that asks the user for additional activity. For example, asking "Do you want to order a drink with your pizza?" If you specify an existing intent name to update the intent, Amazon Lex replaces the values in the $LATEST version of the slot type with the values in the request. Amazon Lex removes fields that you don't provide in the request. If you don't specify the required fields, Amazon Lex throws an exception. For more information, see how-it-works. This operation requires permissions for the lex:PutIntent action. - */ - putIntent(params: LexModelBuildingService.Types.PutIntentRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.PutIntentResponse) => void): Request; - /** - * Creates an intent or replaces an existing intent. To define the interaction between the user and your bot, you use one or more intents. For a pizza ordering bot, for example, you would create an OrderPizza intent. To create an intent or replace an existing intent, you must provide the following: Intent name. For example, OrderPizza. Sample utterances. For example, "Can I order a pizza, please." and "I want to order a pizza." Information to be gathered. You specify slot types for the information that your bot will request from the user. You can specify standard slot types, such as a date or a time, or custom slot types such as the size and crust of a pizza. How the intent will be fulfilled. You can provide a Lambda function or configure the intent to return the intent information to the client application. If you use a Lambda function, when all of the intent information is available, Amazon Lex invokes your Lambda function. If you configure your intent to return the intent information to the client application. You can specify other optional information in the request, such as: A confirmation prompt to ask the user to confirm an intent. For example, "Shall I order your pizza?" A conclusion statement to send to the user after the intent has been fulfilled. For example, "I placed your pizza order." A follow-up prompt that asks the user for additional activity. For example, asking "Do you want to order a drink with your pizza?" If you specify an existing intent name to update the intent, Amazon Lex replaces the values in the $LATEST version of the slot type with the values in the request. Amazon Lex removes fields that you don't provide in the request. If you don't specify the required fields, Amazon Lex throws an exception. For more information, see how-it-works. This operation requires permissions for the lex:PutIntent action. - */ - putIntent(callback?: (err: AWSError, data: LexModelBuildingService.Types.PutIntentResponse) => void): Request; - /** - * Creates a custom slot type or replaces an existing custom slot type. To create a custom slot type, specify a name for the slot type and a set of enumeration values, which are the values that a slot of this type can assume. For more information, see how-it-works. If you specify the name of an existing slot type, the fields in the request replace the existing values in the $LATEST version of the slot type. Amazon Lex removes the fields that you don't provide in the request. If you don't specify required fields, Amazon Lex throws an exception. This operation requires permissions for the lex:PutSlotType action. - */ - putSlotType(params: LexModelBuildingService.Types.PutSlotTypeRequest, callback?: (err: AWSError, data: LexModelBuildingService.Types.PutSlotTypeResponse) => void): Request; - /** - * Creates a custom slot type or replaces an existing custom slot type. To create a custom slot type, specify a name for the slot type and a set of enumeration values, which are the values that a slot of this type can assume. For more information, see how-it-works. If you specify the name of an existing slot type, the fields in the request replace the existing values in the $LATEST version of the slot type. Amazon Lex removes the fields that you don't provide in the request. If you don't specify required fields, Amazon Lex throws an exception. This operation requires permissions for the lex:PutSlotType action. - */ - putSlotType(callback?: (err: AWSError, data: LexModelBuildingService.Types.PutSlotTypeResponse) => void): Request; -} -declare namespace LexModelBuildingService { - export type AliasName = string; - export type AliasNameOrListAll = string; - export type Boolean = boolean; - export interface BotAliasMetadata { - /** - * The name of the bot alias. - */ - name?: AliasName; - /** - * A description of the bot alias. - */ - description?: Description; - /** - * The version of the Amazon Lex bot to which the alias points. - */ - botVersion?: Version; - /** - * The name of the bot to which the alias points. - */ - botName?: BotName; - /** - * The date that the bot alias was updated. When you create a resource, the creation date and last updated date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the bot alias was created. - */ - createdDate?: Timestamp; - /** - * Checksum of the bot alias. - */ - checksum?: String; - } - export type BotAliasMetadataList = BotAliasMetadata[]; - export interface BotChannelAssociation { - /** - * The name of the association between the bot and the channel. - */ - name?: BotChannelName; - /** - * A text description of the association you are creating. - */ - description?: Description; - /** - * An alias pointing to the specific version of the Amazon Lex bot to which this association is being made. - */ - botAlias?: AliasName; - /** - * The name of the Amazon Lex bot to which this association is being made. Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio. - */ - botName?: BotName; - /** - * The date that the association between the Amazon Lex bot and the channel was created. - */ - createdDate?: Timestamp; - /** - * Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform. - */ - type?: ChannelType; - /** - * Provides information necessary to communicate with the messaging platform. - */ - botConfiguration?: ChannelConfigurationMap; - } - export type BotChannelAssociationList = BotChannelAssociation[]; - export type BotChannelName = string; - export interface BotMetadata { - /** - * The name of the bot. - */ - name?: BotName; - /** - * A description of the bot. - */ - description?: Description; - /** - * The status of the bot. - */ - status?: Status; - /** - * The date that the bot was updated. When you create a bot, the creation date and last updated date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the bot was created. - */ - createdDate?: Timestamp; - /** - * The version of the bot. For a new bot, the version is always $LATEST. - */ - version?: Version; - } - export type BotMetadataList = BotMetadata[]; - export type BotName = string; - export type BotVersions = Version[]; - export interface BuiltinIntentMetadata { - /** - * A unique identifier for the built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit. - */ - signature?: BuiltinIntentSignature; - /** - * A list of identifiers for the locales that the intent supports. - */ - supportedLocales?: LocaleList; - } - export type BuiltinIntentMetadataList = BuiltinIntentMetadata[]; - export type BuiltinIntentSignature = string; - export interface BuiltinIntentSlot { - /** - * A list of the slots defined for the intent. - */ - name?: String; - } - export type BuiltinIntentSlotList = BuiltinIntentSlot[]; - export interface BuiltinSlotTypeMetadata { - /** - * A unique identifier for the built-in slot type. To find the signature for a slot type, see Slot Type Reference in the Alexa Skills Kit. - */ - signature?: BuiltinSlotTypeSignature; - /** - * A list of target locales for the slot. - */ - supportedLocales?: LocaleList; - } - export type BuiltinSlotTypeMetadataList = BuiltinSlotTypeMetadata[]; - export type BuiltinSlotTypeSignature = string; - export type ChannelConfigurationMap = {[key: string]: String}; - export type ChannelType = "Facebook"|"Slack"|"Twilio-Sms"|string; - export interface CodeHook { - /** - * The Amazon Resource Name (ARN) of the Lambda function. - */ - uri: LambdaARN; - /** - * The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see using-lambda. - */ - messageVersion: MessageVersion; - } - export type ContentString = string; - export type ContentType = "PlainText"|"SSML"|string; - export type Count = number; - export interface CreateBotVersionRequest { - /** - * The name of the bot that you want to create a new version of. The name is case sensitive. - */ - name: BotName; - /** - * Identifies a specific revision of the $LATEST version of the bot. If you specify a checksum and the $LATEST version of the bot has a different checksum, a PreconditionFailedException exception is returned and Amazon Lex doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version. - */ - checksum?: String; - } - export interface CreateBotVersionResponse { - /** - * The name of the bot. - */ - name?: BotName; - /** - * A description of the bot. - */ - description?: Description; - /** - * An array of Intent objects. For more information, see . - */ - intents?: IntentList; - /** - * The message that Amazon Lex uses when it doesn't understand the user's request. For more information, see . - */ - clarificationPrompt?: Prompt; - /** - * The message that Amazon Lex uses to abort a conversation. For more information, see . - */ - abortStatement?: Statement; - /** - * When you send a request to create or update a bot, Amazon Lex sets the status response element to BUILDING. After Amazon Lex builds the bot, it sets status to READY. If Amazon Lex can't build the bot, it sets status to FAILED. Amazon Lex returns the reason for the failure in the failureReason response element. - */ - status?: Status; - /** - * If status is FAILED, Amazon Lex provides the reason that it failed to build the bot. - */ - failureReason?: String; - /** - * The date when the $LATEST version of this bot was updated. - */ - lastUpdatedDate?: Timestamp; - /** - * The date when the bot version was created. - */ - createdDate?: Timestamp; - /** - * The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, see . - */ - idleSessionTTLInSeconds?: SessionTTL; - /** - * The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the user. - */ - voiceId?: String; - /** - * Checksum identifying the version of the bot that was created. - */ - checksum?: String; - /** - * The version of the bot. - */ - version?: Version; - /** - * Specifies the target locale for the bot. - */ - locale?: Locale; - /** - * For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying true or false in the childDirected field. By specifying true in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifying false in the childDirected field, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the childDirected field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ. - */ - childDirected?: Boolean; - } - export interface CreateIntentVersionRequest { - /** - * The name of the intent that you want to create a new version of. The name is case sensitive. - */ - name: IntentName; - /** - * Checksum of the $LATEST version of the intent that should be used to create the new version. If you specify a checksum and the $LATEST version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version. - */ - checksum?: String; - } - export interface CreateIntentVersionResponse { - /** - * The name of the intent. - */ - name?: IntentName; - /** - * A description of the intent. - */ - description?: Description; - /** - * An array of slot types that defines the information required to fulfill the intent. - */ - slots?: SlotList; - /** - * An array of sample utterances configured for the intent. - */ - sampleUtterances?: IntentUtteranceList; - /** - * If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it. - */ - confirmationPrompt?: Prompt; - /** - * If the user answers "no" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. - */ - rejectionStatement?: Statement; - /** - * If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. - */ - followUpPrompt?: FollowUpPrompt; - /** - * After the Lambda function specified in the fulfillmentActivity field fulfills the intent, Amazon Lex conveys this statement to the user. - */ - conclusionStatement?: Statement; - /** - * If defined, Amazon Lex invokes this Lambda function for each user input. - */ - dialogCodeHook?: CodeHook; - /** - * Describes how the intent is fulfilled. - */ - fulfillmentActivity?: FulfillmentActivity; - /** - * A unique identifier for a built-in intent. - */ - parentIntentSignature?: BuiltinIntentSignature; - /** - * The date that the intent was updated. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the intent was created. - */ - createdDate?: Timestamp; - /** - * The version number assigned to the new version of the intent. - */ - version?: Version; - /** - * Checksum of the intent version created. - */ - checksum?: String; - } - export interface CreateSlotTypeVersionRequest { - /** - * The name of the slot type that you want to create a new version for. The name is case sensitive. - */ - name: SlotTypeName; - /** - * Checksum for the $LATEST version of the slot type that you want to publish. If you specify a checksum and the $LATEST version of the slot type has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish the new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version. - */ - checksum?: String; - } - export interface CreateSlotTypeVersionResponse { - /** - * The name of the slot type. - */ - name?: SlotTypeName; - /** - * A description of the slot type. - */ - description?: Description; - /** - * A list of EnumerationValue objects that defines the values that the slot type can take. - */ - enumerationValues?: EnumerationValues; - /** - * The date that the slot type was updated. When you create a resource, the creation date and last update date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the slot type was created. - */ - createdDate?: Timestamp; - /** - * The version assigned to the new slot type version. - */ - version?: Version; - /** - * Checksum of the $LATEST version of the slot type. - */ - checksum?: String; - } - export type CustomOrBuiltinSlotTypeName = string; - export interface DeleteBotAliasRequest { - /** - * The name of the alias to delete. The name is case sensitive. - */ - name: AliasName; - /** - * The name of the bot that the alias points to. - */ - botName: BotName; - } - export interface DeleteBotChannelAssociationRequest { - /** - * The name of the association. The name is case sensitive. - */ - name: BotChannelName; - /** - * The name of the Amazon Lex bot. - */ - botName: BotName; - /** - * An alias that points to the specific version of the Amazon Lex bot to which this association is being made. - */ - botAlias: AliasName; - } - export interface DeleteBotRequest { - /** - * The name of the bot. The name is case sensitive. - */ - name: BotName; - } - export interface DeleteBotVersionRequest { - /** - * The name of the bot. - */ - name: BotName; - /** - * The version of the bot to delete. You cannot delete the $LATEST version of the bot. To delete the $LATEST version, use the operation. - */ - version: NumericalVersion; - } - export interface DeleteIntentRequest { - /** - * The name of the intent. The name is case sensitive. - */ - name: IntentName; - } - export interface DeleteIntentVersionRequest { - /** - * The name of the intent. - */ - name: IntentName; - /** - * The version of the intent to delete. You cannot delete the $LATEST version of the intent. To delete the $LATEST version, use the operation. - */ - version: NumericalVersion; - } - export interface DeleteSlotTypeRequest { - /** - * The name of the slot type. The name is case sensitive. - */ - name: SlotTypeName; - } - export interface DeleteSlotTypeVersionRequest { - /** - * The name of the slot type. - */ - name: SlotTypeName; - /** - * The version of the slot type to delete. You cannot delete the $LATEST version of the slot type. To delete the $LATEST version, use the operation. - */ - version: NumericalVersion; - } - export interface DeleteUtterancesRequest { - /** - * The name of the bot that stored the utterances. - */ - botName: BotName; - /** - * The unique identifier for the user that made the utterances. This is the user ID that was sent in the or operation request that contained the utterance. - */ - userId: UserId; - } - export type Description = string; - export interface EnumerationValue { - /** - * The value of the slot type. - */ - value: Value; - } - export type EnumerationValues = EnumerationValue[]; - export interface FollowUpPrompt { - /** - * Obtains information from the user. - */ - prompt: Prompt; - /** - * If the user answers "no" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. - */ - rejectionStatement: Statement; - } - export interface FulfillmentActivity { - /** - * How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application. - */ - type: FulfillmentActivityType; - /** - * A description of the Lambda function that is run to fulfill the intent. - */ - codeHook?: CodeHook; - } - export type FulfillmentActivityType = "ReturnIntent"|"CodeHook"|string; - export interface GetBotAliasRequest { - /** - * The name of the bot alias. The name is case sensitive. - */ - name: AliasName; - /** - * The name of the bot. - */ - botName: BotName; - } - export interface GetBotAliasResponse { - /** - * The name of the bot alias. - */ - name?: AliasName; - /** - * A description of the bot alias. - */ - description?: Description; - /** - * The version of the bot that the alias points to. - */ - botVersion?: Version; - /** - * The name of the bot that the alias points to. - */ - botName?: BotName; - /** - * The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the bot alias was created. - */ - createdDate?: Timestamp; - /** - * Checksum of the bot alias. - */ - checksum?: String; - } - export interface GetBotAliasesRequest { - /** - * The name of the bot. - */ - botName: BotName; - /** - * A pagination token for fetching the next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request. - */ - nextToken?: NextToken; - /** - * The maximum number of aliases to return in the response. The default is 50. . - */ - maxResults?: MaxResults; - /** - * Substring to match in bot alias names. An alias will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." - */ - nameContains?: AliasName; - } - export interface GetBotAliasesResponse { - /** - * An array of BotAliasMetadata objects, each describing a bot alias. - */ - BotAliases?: BotAliasMetadataList; - /** - * A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request. - */ - nextToken?: NextToken; - } - export interface GetBotChannelAssociationRequest { - /** - * The name of the association between the bot and the channel. The name is case sensitive. - */ - name: BotChannelName; - /** - * The name of the Amazon Lex bot. - */ - botName: BotName; - /** - * An alias pointing to the specific version of the Amazon Lex bot to which this association is being made. - */ - botAlias: AliasName; - } - export interface GetBotChannelAssociationResponse { - /** - * The name of the association between the bot and the channel. - */ - name?: BotChannelName; - /** - * A description of the association between the bot and the channel. - */ - description?: Description; - /** - * An alias pointing to the specific version of the Amazon Lex bot to which this association is being made. - */ - botAlias?: AliasName; - /** - * The name of the Amazon Lex bot. - */ - botName?: BotName; - /** - * The date that the association between the bot and the channel was created. - */ - createdDate?: Timestamp; - /** - * The type of the messaging platform. - */ - type?: ChannelType; - /** - * Provides information that the messaging platform needs to communicate with the Amazon Lex bot. - */ - botConfiguration?: ChannelConfigurationMap; - } - export interface GetBotChannelAssociationsRequest { - /** - * The name of the Amazon Lex bot in the association. - */ - botName: BotName; - /** - * An alias pointing to the specific version of the Amazon Lex bot to which this association is being made. - */ - botAlias: AliasNameOrListAll; - /** - * A pagination token for fetching the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request. - */ - nextToken?: NextToken; - /** - * The maximum number of associations to return in the response. The default is 50. - */ - maxResults?: MaxResults; - /** - * Substring to match in channel association names. An association will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To return all bot channel associations, use a hyphen ("-") as the nameContains parameter. - */ - nameContains?: BotChannelName; - } - export interface GetBotChannelAssociationsResponse { - /** - * An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel. - */ - botChannelAssociations?: BotChannelAssociationList; - /** - * A pagination token that fetches the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request. - */ - nextToken?: NextToken; - } - export interface GetBotRequest { - /** - * The name of the bot. The name is case sensitive. - */ - name: BotName; - /** - * The version or alias of the bot. - */ - versionOrAlias: String; - } - export interface GetBotResponse { - /** - * The name of the bot. - */ - name?: BotName; - /** - * A description of the bot. - */ - description?: Description; - /** - * An array of intent objects. For more information, see . - */ - intents?: IntentList; - /** - * The message Amazon Lex uses when it doesn't understand the user's request. For more information, see . - */ - clarificationPrompt?: Prompt; - /** - * The message that Amazon Lex returns when the user elects to end the conversation without completing it. For more information, see . - */ - abortStatement?: Statement; - /** - * The status of the bot. If the bot is ready to run, the status is READY. If there was a problem with building the bot, the status is FAILED and the failureReason explains why the bot did not build. If the bot was saved but not built, the status is NOT BUILT. - */ - status?: Status; - /** - * If status is FAILED, Amazon Lex explains why it failed to build the bot. - */ - failureReason?: String; - /** - * The date that the bot was updated. When you create a resource, the creation date and last updated date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the bot was created. - */ - createdDate?: Timestamp; - /** - * The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, see . - */ - idleSessionTTLInSeconds?: SessionTTL; - /** - * The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see . - */ - voiceId?: String; - /** - * Checksum of the bot used to identify a specific revision of the bot's $LATEST version. - */ - checksum?: String; - /** - * The version of the bot. For a new bot, the version is always $LATEST. - */ - version?: Version; - /** - * The target locale for the bot. - */ - locale?: Locale; - /** - * For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying true or false in the childDirected field. By specifying true in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifying false in the childDirected field, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the childDirected field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ. - */ - childDirected?: Boolean; - } - export interface GetBotVersionsRequest { - /** - * The name of the bot for which versions should be returned. - */ - name: BotName; - /** - * A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request. - */ - nextToken?: NextToken; - /** - * The maximum number of bot versions to return in the response. The default is 10. - */ - maxResults?: MaxResults; - } - export interface GetBotVersionsResponse { - /** - * An array of BotMetadata objects, one for each numbered version of the bot plus one for the $LATEST version. - */ - bots?: BotMetadataList; - /** - * A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request. - */ - nextToken?: NextToken; - } - export interface GetBotsRequest { - /** - * A pagination token that fetches the next page of bots. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of bots, specify the pagination token in the next request. - */ - nextToken?: NextToken; - /** - * The maximum number of bots to return in the response that the request will return. The default is 10. - */ - maxResults?: MaxResults; - /** - * Substring to match in bot names. A bot will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." - */ - nameContains?: BotName; - } - export interface GetBotsResponse { - /** - * An array of botMetadata objects, with one entry for each bot. - */ - bots?: BotMetadataList; - /** - * If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of bots. - */ - nextToken?: NextToken; - } - export interface GetBuiltinIntentRequest { - /** - * The unique identifier for a built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit. - */ - signature: BuiltinIntentSignature; - } - export interface GetBuiltinIntentResponse { - /** - * The unique identifier for a built-in intent. - */ - signature?: BuiltinIntentSignature; - /** - * A list of locales that the intent supports. - */ - supportedLocales?: LocaleList; - /** - * An array of BuiltinIntentSlot objects, one entry for each slot type in the intent. - */ - slots?: BuiltinIntentSlotList; - } - export interface GetBuiltinIntentsRequest { - /** - * A list of locales that the intent supports. - */ - locale?: Locale; - /** - * Substring to match in built-in intent signatures. An intent will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit. - */ - signatureContains?: String; - /** - * A pagination token that fetches the next page of intents. If this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, use the pagination token in the next request. - */ - nextToken?: NextToken; - /** - * The maximum number of intents to return in the response. The default is 10. - */ - maxResults?: MaxResults; - } - export interface GetBuiltinIntentsResponse { - /** - * An array of builtinIntentMetadata objects, one for each intent in the response. - */ - intents?: BuiltinIntentMetadataList; - /** - * A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request. - */ - nextToken?: NextToken; - } - export interface GetBuiltinSlotTypesRequest { - /** - * A list of locales that the slot type supports. - */ - locale?: Locale; - /** - * Substring to match in built-in slot type signatures. A slot type will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." - */ - signatureContains?: String; - /** - * A pagination token that fetches the next page of slot types. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of slot types, specify the pagination token in the next request. - */ - nextToken?: NextToken; - /** - * The maximum number of slot types to return in the response. The default is 10. - */ - maxResults?: MaxResults; - } - export interface GetBuiltinSlotTypesResponse { - /** - * An array of BuiltInSlotTypeMetadata objects, one entry for each slot type returned. - */ - slotTypes?: BuiltinSlotTypeMetadataList; - /** - * If the response is truncated, the response includes a pagination token that you can use in your next request to fetch the next page of slot types. - */ - nextToken?: NextToken; - } - export interface GetIntentRequest { - /** - * The name of the intent. The name is case sensitive. - */ - name: IntentName; - /** - * The version of the intent. - */ - version: Version; - } - export interface GetIntentResponse { - /** - * The name of the intent. - */ - name?: IntentName; - /** - * A description of the intent. - */ - description?: Description; - /** - * An array of intent slots configured for the intent. - */ - slots?: SlotList; - /** - * An array of sample utterances configured for the intent. - */ - sampleUtterances?: IntentUtteranceList; - /** - * If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see . - */ - confirmationPrompt?: Prompt; - /** - * If the user answers "no" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. - */ - rejectionStatement?: Statement; - /** - * If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see . - */ - followUpPrompt?: FollowUpPrompt; - /** - * After the Lambda function specified in the fulfillmentActivity element fulfills the intent, Amazon Lex conveys this statement to the user. - */ - conclusionStatement?: Statement; - /** - * If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see . - */ - dialogCodeHook?: CodeHook; - /** - * Describes how the intent is fulfilled. For more information, see . - */ - fulfillmentActivity?: FulfillmentActivity; - /** - * A unique identifier for a built-in intent. - */ - parentIntentSignature?: BuiltinIntentSignature; - /** - * The date that the intent was updated. When you create a resource, the creation date and the last updated date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the intent was created. - */ - createdDate?: Timestamp; - /** - * The version of the intent. - */ - version?: Version; - /** - * Checksum of the intent. - */ - checksum?: String; - } - export interface GetIntentVersionsRequest { - /** - * The name of the intent for which versions should be returned. - */ - name: IntentName; - /** - * A pagination token for fetching the next page of intent versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request. - */ - nextToken?: NextToken; - /** - * The maximum number of intent versions to return in the response. The default is 10. - */ - maxResults?: MaxResults; - } - export interface GetIntentVersionsResponse { - /** - * An array of IntentMetadata objects, one for each numbered version of the intent plus one for the $LATEST version. - */ - intents?: IntentMetadataList; - /** - * A pagination token for fetching the next page of intent versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request. - */ - nextToken?: NextToken; - } - export interface GetIntentsRequest { - /** - * A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request. - */ - nextToken?: NextToken; - /** - * The maximum number of intents to return in the response. The default is 10. - */ - maxResults?: MaxResults; - /** - * Substring to match in intent names. An intent will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." - */ - nameContains?: IntentName; - } - export interface GetIntentsResponse { - /** - * An array of Intent objects. For more information, see . - */ - intents?: IntentMetadataList; - /** - * If the response is truncated, the response includes a pagination token that you can specify in your next request to fetch the next page of intents. - */ - nextToken?: NextToken; - } - export interface GetSlotTypeRequest { - /** - * The name of the slot type. The name is case sensitive. - */ - name: SlotTypeName; - /** - * The version of the slot type. - */ - version: Version; - } - export interface GetSlotTypeResponse { - /** - * The name of the slot type. - */ - name?: SlotTypeName; - /** - * A description of the slot type. - */ - description?: Description; - /** - * A list of EnumerationValue objects that defines the values that the slot type can take. - */ - enumerationValues?: EnumerationValues; - /** - * The date that the slot type was updated. When you create a resource, the creation date and last update date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the slot type was created. - */ - createdDate?: Timestamp; - /** - * The version of the slot type. - */ - version?: Version; - /** - * Checksum of the $LATEST version of the slot type. - */ - checksum?: String; - } - export interface GetSlotTypeVersionsRequest { - /** - * The name of the slot type for which versions should be returned. - */ - name: SlotTypeName; - /** - * A pagination token for fetching the next page of slot type versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request. - */ - nextToken?: NextToken; - /** - * The maximum number of slot type versions to return in the response. The default is 10. - */ - maxResults?: MaxResults; - } - export interface GetSlotTypeVersionsResponse { - /** - * An array of SlotTypeMetadata objects, one for each numbered version of the slot type plus one for the $LATEST version. - */ - slotTypes?: SlotTypeMetadataList; - /** - * A pagination token for fetching the next page of slot type versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request. - */ - nextToken?: NextToken; - } - export interface GetSlotTypesRequest { - /** - * A pagination token that fetches the next page of slot types. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch next page of slot types, specify the pagination token in the next request. - */ - nextToken?: NextToken; - /** - * The maximum number of slot types to return in the response. The default is 10. - */ - maxResults?: MaxResults; - /** - * Substring to match in slot type names. A slot type will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." - */ - nameContains?: SlotTypeName; - } - export interface GetSlotTypesResponse { - /** - * An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description. - */ - slotTypes?: SlotTypeMetadataList; - /** - * If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of slot types. - */ - nextToken?: NextToken; - } - export interface GetUtterancesViewRequest { - /** - * The name of the bot for which utterance information should be returned. - */ - botName: BotName; - /** - * An array of bot versions for which utterance information should be returned. The limit is 5 versions per request. - */ - botVersions: BotVersions; - /** - * To return utterances that were recognized and handled, useDetected. To return utterances that were not recognized, use Missed. - */ - statusType: StatusType; - } - export interface GetUtterancesViewResponse { - /** - * The name of the bot for which utterance information was returned. - */ - botName?: BotName; - /** - * An array of objects, each containing a list of objects describing the utterances that were processed by your bot. The response contains a maximum of 100 UtteranceData objects for each version. - */ - utterances?: ListsOfUtterances; - } - export interface Intent { - /** - * The name of the intent. - */ - intentName: IntentName; - /** - * The version of the intent. - */ - intentVersion: Version; - } - export type IntentList = Intent[]; - export interface IntentMetadata { - /** - * The name of the intent. - */ - name?: IntentName; - /** - * A description of the intent. - */ - description?: Description; - /** - * The date that the intent was updated. When you create an intent, the creation date and last updated date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the intent was created. - */ - createdDate?: Timestamp; - /** - * The version of the intent. - */ - version?: Version; - } - export type IntentMetadataList = IntentMetadata[]; - export type IntentName = string; - export type IntentUtteranceList = Utterance[]; - export type LambdaARN = string; - export type ListOfUtterance = UtteranceData[]; - export type ListsOfUtterances = UtteranceList[]; - export type Locale = "en-US"|string; - export type LocaleList = Locale[]; - export type MaxResults = number; - export interface Message { - /** - * The content type of the message string. - */ - contentType: ContentType; - /** - * The text of the message. - */ - content: ContentString; - } - export type MessageList = Message[]; - export type MessageVersion = string; - export type Name = string; - export type NextToken = string; - export type NumericalVersion = string; - export type Priority = number; - export type ProcessBehavior = "SAVE"|"BUILD"|string; - export interface Prompt { - /** - * An array of objects, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). - */ - messages: MessageList; - /** - * The number of times to prompt the user for information. - */ - maxAttempts: PromptMaxAttempts; - /** - * A response card. Amazon Lex uses this prompt at runtime, in the PostText API response. It substitutes session attributes and slot values for placeholders in the response card. For more information, see ex-resp-card. - */ - responseCard?: ResponseCard; - } - export type PromptMaxAttempts = number; - export interface PutBotAliasRequest { - /** - * The name of the alias. The name is not case sensitive. - */ - name: AliasName; - /** - * A description of the alias. - */ - description?: Description; - /** - * The version of the bot. - */ - botVersion: Version; - /** - * The name of the bot. - */ - botName: BotName; - /** - * Identifies a specific revision of the $LATEST version. When you create a new bot alias, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception. When you want to update a bot alias, set the checksum field to the checksum of the most recent revision of the $LATEST version. If you don't specify the checksum field, or if the checksum does not match the $LATEST version, you get a PreconditionFailedException exception. - */ - checksum?: String; - } - export interface PutBotAliasResponse { - /** - * The name of the alias. - */ - name?: AliasName; - /** - * A description of the alias. - */ - description?: Description; - /** - * The version of the bot that the alias points to. - */ - botVersion?: Version; - /** - * The name of the bot that the alias points to. - */ - botName?: BotName; - /** - * The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the bot alias was created. - */ - createdDate?: Timestamp; - /** - * The checksum for the current version of the alias. - */ - checksum?: String; - } - export interface PutBotRequest { - /** - * The name of the bot. The name is not case sensitive. - */ - name: BotName; - /** - * A description of the bot. - */ - description?: Description; - /** - * An array of Intent objects. Each intent represents a command that a user can express. For example, a pizza ordering bot might support an OrderPizza intent. For more information, see how-it-works. - */ - intents?: IntentList; - /** - * When Amazon Lex doesn't understand the user's intent, it uses one of these messages to get clarification. For example, "Sorry, I didn't understand. Please repeat." Amazon Lex repeats the clarification prompt the number of times specified in maxAttempts. If Amazon Lex still can't understand, it sends the message specified in abortStatement. - */ - clarificationPrompt?: Prompt; - /** - * When Amazon Lex can't understand the user's input in context, it tries to elicit the information a few times. After that, Amazon Lex sends the message defined in abortStatement to the user, and then aborts the conversation. To set the number of retries, use the valueElicitationPrompt field for the slot type. For example, in a pizza ordering bot, Amazon Lex might ask a user "What type of crust would you like?" If the user's response is not one of the expected responses (for example, "thin crust, "deep dish," etc.), Amazon Lex tries to elicit a correct response a few more times. For example, in a pizza ordering application, OrderPizza might be one of the intents. This intent might require the CrustType slot. You specify the valueElicitationPrompt field when you create the CrustType slot. - */ - abortStatement?: Statement; - /** - * The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. A user interaction session remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout. For example, suppose that a user chooses the OrderPizza intent, but gets sidetracked halfway through placing an order. If the user doesn't complete the order within the specified time, Amazon Lex discards the slot information that it gathered, and the user must start over. If you don't include the idleSessionTTLInSeconds element in a PutBot operation request, Amazon Lex uses the default value. This is also true if the request replaces an existing bot. The default is 300 seconds (5 minutes). - */ - idleSessionTTLInSeconds?: SessionTTL; - /** - * The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see Voice in the Amazon Polly Developer Guide. - */ - voiceId?: String; - /** - * Identifies a specific revision of the $LATEST version. When you create a new bot, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception. When you want to update a bot, set the checksum field to the checksum of the most recent revision of the $LATEST version. If you don't specify the checksum field, or if the checksum does not match the $LATEST version, you get a PreconditionFailedException exception. - */ - checksum?: String; - /** - * If you set the processBehavior element to Build, Amazon Lex builds the bot so that it can be run. If you set the element to SaveAmazon Lex saves the bot, but doesn't build it. If you don't specify this value, the default value is Save. - */ - processBehavior?: ProcessBehavior; - /** - * Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. The default is en-US. - */ - locale: Locale; - /** - * For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying true or false in the childDirected field. By specifying true in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifying false in the childDirected field, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the childDirected field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ. - */ - childDirected: Boolean; - } - export interface PutBotResponse { - /** - * The name of the bot. - */ - name?: BotName; - /** - * A description of the bot. - */ - description?: Description; - /** - * An array of Intent objects. For more information, see . - */ - intents?: IntentList; - /** - * The prompts that Amazon Lex uses when it doesn't understand the user's intent. For more information, see . - */ - clarificationPrompt?: Prompt; - /** - * The message that Amazon Lex uses to abort a conversation. For more information, see . - */ - abortStatement?: Statement; - /** - * When you send a request to create a bot with processBehavior set to BUILD, Amazon Lex sets the status response element to BUILDING. After Amazon Lex builds the bot, it sets status to READY. If Amazon Lex can't build the bot, Amazon Lex sets status to FAILED. Amazon Lex returns the reason for the failure in the failureReason response element. When you set processBehaviorto SAVE, Amazon Lex sets the status code to NOT BUILT. - */ - status?: Status; - /** - * If status is FAILED, Amazon Lex provides the reason that it failed to build the bot. - */ - failureReason?: String; - /** - * The date that the bot was updated. When you create a resource, the creation date and last updated date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the bot was created. - */ - createdDate?: Timestamp; - /** - * The maximum length of time that Amazon Lex retains the data gathered in a conversation. For more information, see . - */ - idleSessionTTLInSeconds?: SessionTTL; - /** - * The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see . - */ - voiceId?: String; - /** - * Checksum of the bot that you created. - */ - checksum?: String; - /** - * The version of the bot. For a new bot, the version is always $LATEST. - */ - version?: Version; - /** - * The target locale for the bot. - */ - locale?: Locale; - /** - * For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying true or false in the childDirected field. By specifying true in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifying false in the childDirected field, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the childDirected field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ. - */ - childDirected?: Boolean; - } - export interface PutIntentRequest { - /** - * The name of the intent. The name is not case sensitive. The name can't match a built-in intent name, or a built-in intent name with "AMAZON." removed. For example, because there is a built-in intent called AMAZON.HelpIntent, you can't create a custom intent called HelpIntent. For a list of built-in intents, see Standard Built-in Intents in the Alexa Skills Kit. - */ - name: IntentName; - /** - * A description of the intent. - */ - description?: Description; - /** - * An array of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. For more information, see <xref linkend="how-it-works"/>. - */ - slots?: SlotList; - /** - * An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. - */ - sampleUtterances?: IntentUtteranceList; - /** - * Prompts the user to confirm the intent. This question should have a yes or no answer. Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. For example, with the OrderPizza intent, you might want to confirm that the order is correct before placing it. For other intents, such as intents that simply respond to user questions, you might not need to ask the user for confirmation before providing the information. You you must provide both the rejectionStatement and the confirmationPrompt, or neither. - */ - confirmationPrompt?: Prompt; - /** - * When the user answers "no" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejectionStatement and the confirmationPrompt, or neither. - */ - rejectionStatement?: Statement; - /** - * A user prompt for additional activity after an intent is fulfilled. For example, after the OrderPizza intent is fulfilled (your Lambda function placed an order with a pizzeria), you might prompt the user to find if they want to order a drink (assuming that you have defined an OrderDrink intent in your bot). The followUpPrompt and conclusionStatement are mutually exclusive. You can specify only one. For example, your bot may not solicit both the following: Follow up prompt - "$session.FirstName, your pizza order has been placed. Would you like to order a drink or a dessert?" Conclusion statement - "$session.FirstName, your pizza order has been placed." - */ - followUpPrompt?: FollowUpPrompt; - /** - * The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillmentActivity. If you return the intent to the client application, you can't specify this element. The followUpPrompt and conclusionStatement are mutually exclusive. You can specify only one. - */ - conclusionStatement?: Statement; - /** - * Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. For example, suppose your bot determines that the user is John. Your Lambda function might retrieve John's information from a backend database and prepopulate some of the values. For example, if you find that John is gluten intolerant, you might set the corresponding intent slot, GlutenIntolerant, to true. You might find John's phone number and set the corresponding session attribute. - */ - dialogCodeHook?: CodeHook; - /** - * Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillmentActivity defines how the bot places an order with a local pizza store. You might configure Amazon Lex to return all of the intent information to the client application, or direct it to invoke a Lambda function that can process the intent (for example, place an order with a pizzeria). - */ - fulfillmentActivity?: FulfillmentActivity; - /** - * A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit. - */ - parentIntentSignature?: BuiltinIntentSignature; - /** - * Identifies a specific revision of the $LATEST version. When you create a new intent, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception. When you want to update a intent, set the checksum field to the checksum of the most recent revision of the $LATEST version. If you don't specify the checksum field, or if the checksum does not match the $LATEST version, you get a PreconditionFailedException exception. - */ - checksum?: String; - } - export interface PutIntentResponse { - /** - * The name of the intent. - */ - name?: IntentName; - /** - * A description of the intent. - */ - description?: Description; - /** - * An array of intent slots that are configured for the intent. - */ - slots?: SlotList; - /** - * An array of sample utterances that are configured for the intent. - */ - sampleUtterances?: IntentUtteranceList; - /** - * If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it. - */ - confirmationPrompt?: Prompt; - /** - * If the user answers "no" to the question defined in confirmationPrompt Amazon Lex responds with this statement to acknowledge that the intent was canceled. - */ - rejectionStatement?: Statement; - /** - * If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. - */ - followUpPrompt?: FollowUpPrompt; - /** - * After the Lambda function specified in thefulfillmentActivityintent fulfills the intent, Amazon Lex conveys this statement to the user. - */ - conclusionStatement?: Statement; - /** - * If defined in the intent, Amazon Lex invokes this Lambda function for each user input. - */ - dialogCodeHook?: CodeHook; - /** - * If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides all of the information required by the intent. - */ - fulfillmentActivity?: FulfillmentActivity; - /** - * A unique identifier for the built-in intent that this intent is based on. - */ - parentIntentSignature?: BuiltinIntentSignature; - /** - * The date that the intent was updated. When you create a resource, the creation date and last update dates are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the intent was created. - */ - createdDate?: Timestamp; - /** - * The version of the intent. For a new intent, the version is always $LATEST. - */ - version?: Version; - /** - * Checksum of the $LATESTversion of the intent created or updated. - */ - checksum?: String; - } - export interface PutSlotTypeRequest { - /** - * The name of the slot type. The name is not case sensitive. The name can't match a built-in slot type name, or a built-in slot type name with "AMAZON." removed. For example, because there is a built-in slot type called AMAZON.DATE, you can't create a custom slot type called DATE. For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit. - */ - name: SlotTypeName; - /** - * A description of the slot type. - */ - description?: Description; - /** - * A list of EnumerationValue objects that defines the values that the slot type can take. - */ - enumerationValues?: EnumerationValues; - /** - * Identifies a specific revision of the $LATEST version. When you create a new slot type, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception. When you want to update a slot type, set the checksum field to the checksum of the most recent revision of the $LATEST version. If you don't specify the checksum field, or if the checksum does not match the $LATEST version, you get a PreconditionFailedException exception. - */ - checksum?: String; - } - export interface PutSlotTypeResponse { - /** - * The name of the slot type. - */ - name?: SlotTypeName; - /** - * A description of the slot type. - */ - description?: Description; - /** - * A list of EnumerationValue objects that defines the values that the slot type can take. - */ - enumerationValues?: EnumerationValues; - /** - * The date that the slot type was updated. When you create a slot type, the creation date and last update date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the slot type was created. - */ - createdDate?: Timestamp; - /** - * The version of the slot type. For a new slot type, the version is always $LATEST. - */ - version?: Version; - /** - * Checksum of the $LATEST version of the slot type. - */ - checksum?: String; - } - export type ReferenceType = "Intent"|"Bot"|"BotAlias"|"BotChannel"|string; - export interface ResourceReference { - /** - * The name of the resource that is using the resource that you are trying to delete. - */ - name?: Name; - /** - * The version of the resource that is using the resource that you are trying to delete. - */ - version?: Version; - } - export type ResponseCard = string; - export type SessionTTL = number; - export interface Slot { - /** - * The name of the slot. - */ - name: SlotName; - /** - * A description of the slot. - */ - description?: Description; - /** - * Specifies whether the slot is required or optional. - */ - slotConstraint: SlotConstraint; - /** - * The type of the slot, either a custom slot type that you defined or one of the built-in slot types. - */ - slotType?: CustomOrBuiltinSlotTypeName; - /** - * The version of the slot type. - */ - slotTypeVersion?: Version; - /** - * The prompt that Amazon Lex uses to elicit the slot value from the user. - */ - valueElicitationPrompt?: Prompt; - /** - * Directs Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits values is arbitrary. - */ - priority?: Priority; - /** - * If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. - */ - sampleUtterances?: SlotUtteranceList; - /** - * A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply. - */ - responseCard?: ResponseCard; - } - export type SlotConstraint = "Required"|"Optional"|string; - export type SlotList = Slot[]; - export type SlotName = string; - export interface SlotTypeMetadata { - /** - * The name of the slot type. - */ - name?: SlotTypeName; - /** - * A description of the slot type. - */ - description?: Description; - /** - * The date that the slot type was updated. When you create a resource, the creation date and last updated date are the same. - */ - lastUpdatedDate?: Timestamp; - /** - * The date that the slot type was created. - */ - createdDate?: Timestamp; - /** - * The version of the slot type. - */ - version?: Version; - } - export type SlotTypeMetadataList = SlotTypeMetadata[]; - export type SlotTypeName = string; - export type SlotUtteranceList = Utterance[]; - export interface Statement { - /** - * A collection of message objects. - */ - messages: MessageList; - /** - * At runtime, if the client is using the API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card. - */ - responseCard?: ResponseCard; - } - export type Status = "BUILDING"|"READY"|"FAILED"|"NOT_BUILT"|string; - export type StatusType = "Detected"|"Missed"|string; - export type String = string; - export type Timestamp = Date; - export type UserId = string; - export type Utterance = string; - export interface UtteranceData { - /** - * The text that was entered by the user or the text representation of an audio clip. - */ - utteranceString?: UtteranceString; - /** - * The number of times that the utterance was processed. - */ - count?: Count; - /** - * The total number of individuals that used the utterance. - */ - distinctUsers?: Count; - /** - * The date that the utterance was first recorded. - */ - firstUtteredDate?: Timestamp; - /** - * The date that the utterance was last recorded. - */ - lastUtteredDate?: Timestamp; - } - export interface UtteranceList { - /** - * The version of the bot that processed the list. - */ - botVersion?: Version; - /** - * One or more objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100. - */ - utterances?: ListOfUtterance; - } - export type UtteranceString = string; - export type Value = string; - export type Version = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2017-04-19"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the LexModelBuildingService client. - */ - export import Types = LexModelBuildingService; -} -export = LexModelBuildingService; diff --git a/src/node_modules/aws-sdk/clients/lexmodelbuildingservice.js b/src/node_modules/aws-sdk/clients/lexmodelbuildingservice.js deleted file mode 100644 index f75f822..0000000 --- a/src/node_modules/aws-sdk/clients/lexmodelbuildingservice.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['lexmodelbuildingservice'] = {}; -AWS.LexModelBuildingService = Service.defineService('lexmodelbuildingservice', ['2017-04-19']); -Object.defineProperty(apiLoader.services['lexmodelbuildingservice'], '2017-04-19', { - get: function get() { - var model = require('../apis/lex-models-2017-04-19.min.json'); - model.paginators = require('../apis/lex-models-2017-04-19.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LexModelBuildingService; diff --git a/src/node_modules/aws-sdk/clients/lexruntime.d.ts b/src/node_modules/aws-sdk/clients/lexruntime.d.ts deleted file mode 100644 index db031bb..0000000 --- a/src/node_modules/aws-sdk/clients/lexruntime.d.ts +++ /dev/null @@ -1,233 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class LexRuntime extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: LexRuntime.Types.ClientConfiguration) - config: Config & LexRuntime.Types.ClientConfiguration; - /** - * Sends user input (text or speech) to Amazon Lex. Clients use this API to send requests to Amazon Lex at runtime. Amazon Lex interprets the user input using the machine learning model that it built for the bot. In response, Amazon Lex returns the next message to convey to the user. Consider the following example messages: For a user input "I would like a pizza," Amazon Lex might return a response with a message eliciting slot data (for example, PizzaSize): "What size pizza would you like?". After the user provides all of the pizza order information, Amazon Lex might return a response with a message to get user confirmation: "Order the pizza?". After the user replies "Yes" to the confirmation prompt, Amazon Lex might return a conclusion statement: "Thank you, your cheese pizza has been ordered.". Not all Amazon Lex messages require a response from the user. For example, conclusion statements do not require a response. Some messages require only a yes or no response. In addition to the message, Amazon Lex provides additional context about the message in the response that you can use to enhance client behavior, such as displaying the appropriate client user interface. Consider the following examples: If the message is to elicit slot data, Amazon Lex returns the following context information: x-amz-lex-dialog-state header set to ElicitSlot x-amz-lex-intent-name header set to the intent name in the current context x-amz-lex-slot-to-elicit header set to the slot name for which the message is eliciting information x-amz-lex-slots header set to a map of slots configured for the intent with their current values If the message is a confirmation prompt, the x-amz-lex-dialog-state header is set to Confirmation and the x-amz-lex-slot-to-elicit header is omitted. If the message is a clarification prompt configured for the intent, indicating that the user intent is not understood, the x-amz-dialog-state header is set to ElicitIntent and the x-amz-slot-to-elicit header is omitted. In addition, Amazon Lex also returns your application-specific sessionAttributes. For more information, see Managing Conversation Context. - */ - postContent(params: LexRuntime.Types.PostContentRequest, callback?: (err: AWSError, data: LexRuntime.Types.PostContentResponse) => void): Request; - /** - * Sends user input (text or speech) to Amazon Lex. Clients use this API to send requests to Amazon Lex at runtime. Amazon Lex interprets the user input using the machine learning model that it built for the bot. In response, Amazon Lex returns the next message to convey to the user. Consider the following example messages: For a user input "I would like a pizza," Amazon Lex might return a response with a message eliciting slot data (for example, PizzaSize): "What size pizza would you like?". After the user provides all of the pizza order information, Amazon Lex might return a response with a message to get user confirmation: "Order the pizza?". After the user replies "Yes" to the confirmation prompt, Amazon Lex might return a conclusion statement: "Thank you, your cheese pizza has been ordered.". Not all Amazon Lex messages require a response from the user. For example, conclusion statements do not require a response. Some messages require only a yes or no response. In addition to the message, Amazon Lex provides additional context about the message in the response that you can use to enhance client behavior, such as displaying the appropriate client user interface. Consider the following examples: If the message is to elicit slot data, Amazon Lex returns the following context information: x-amz-lex-dialog-state header set to ElicitSlot x-amz-lex-intent-name header set to the intent name in the current context x-amz-lex-slot-to-elicit header set to the slot name for which the message is eliciting information x-amz-lex-slots header set to a map of slots configured for the intent with their current values If the message is a confirmation prompt, the x-amz-lex-dialog-state header is set to Confirmation and the x-amz-lex-slot-to-elicit header is omitted. If the message is a clarification prompt configured for the intent, indicating that the user intent is not understood, the x-amz-dialog-state header is set to ElicitIntent and the x-amz-slot-to-elicit header is omitted. In addition, Amazon Lex also returns your application-specific sessionAttributes. For more information, see Managing Conversation Context. - */ - postContent(callback?: (err: AWSError, data: LexRuntime.Types.PostContentResponse) => void): Request; - /** - * Sends user input (text-only) to Amazon Lex. Client applications can use this API to send requests to Amazon Lex at runtime. Amazon Lex then interprets the user input using the machine learning model it built for the bot. In response, Amazon Lex returns the next message to convey to the user an optional responseCard to display. Consider the following example messages: For a user input "I would like a pizza", Amazon Lex might return a response with a message eliciting slot data (for example, PizzaSize): "What size pizza would you like?" After the user provides all of the pizza order information, Amazon Lex might return a response with a message to obtain user confirmation "Proceed with the pizza order?". After the user replies to a confirmation prompt with a "yes", Amazon Lex might return a conclusion statement: "Thank you, your cheese pizza has been ordered.". Not all Amazon Lex messages require a user response. For example, a conclusion statement does not require a response. Some messages require only a "yes" or "no" user response. In addition to the message, Amazon Lex provides additional context about the message in the response that you might use to enhance client behavior, for example, to display the appropriate client user interface. These are the slotToElicit, dialogState, intentName, and slots fields in the response. Consider the following examples: If the message is to elicit slot data, Amazon Lex returns the following context information: dialogState set to ElicitSlot intentName set to the intent name in the current context slotToElicit set to the slot name for which the message is eliciting information slots set to a map of slots, configured for the intent, with currently known values If the message is a confirmation prompt, the dialogState is set to ConfirmIntent and SlotToElicit is set to null. If the message is a clarification prompt (configured for the intent) that indicates that user intent is not understood, the dialogState is set to ElicitIntent and slotToElicit is set to null. In addition, Amazon Lex also returns your application-specific sessionAttributes. For more information, see Managing Conversation Context. - */ - postText(params: LexRuntime.Types.PostTextRequest, callback?: (err: AWSError, data: LexRuntime.Types.PostTextResponse) => void): Request; - /** - * Sends user input (text-only) to Amazon Lex. Client applications can use this API to send requests to Amazon Lex at runtime. Amazon Lex then interprets the user input using the machine learning model it built for the bot. In response, Amazon Lex returns the next message to convey to the user an optional responseCard to display. Consider the following example messages: For a user input "I would like a pizza", Amazon Lex might return a response with a message eliciting slot data (for example, PizzaSize): "What size pizza would you like?" After the user provides all of the pizza order information, Amazon Lex might return a response with a message to obtain user confirmation "Proceed with the pizza order?". After the user replies to a confirmation prompt with a "yes", Amazon Lex might return a conclusion statement: "Thank you, your cheese pizza has been ordered.". Not all Amazon Lex messages require a user response. For example, a conclusion statement does not require a response. Some messages require only a "yes" or "no" user response. In addition to the message, Amazon Lex provides additional context about the message in the response that you might use to enhance client behavior, for example, to display the appropriate client user interface. These are the slotToElicit, dialogState, intentName, and slots fields in the response. Consider the following examples: If the message is to elicit slot data, Amazon Lex returns the following context information: dialogState set to ElicitSlot intentName set to the intent name in the current context slotToElicit set to the slot name for which the message is eliciting information slots set to a map of slots, configured for the intent, with currently known values If the message is a confirmation prompt, the dialogState is set to ConfirmIntent and SlotToElicit is set to null. If the message is a clarification prompt (configured for the intent) that indicates that user intent is not understood, the dialogState is set to ElicitIntent and slotToElicit is set to null. In addition, Amazon Lex also returns your application-specific sessionAttributes. For more information, see Managing Conversation Context. - */ - postText(callback?: (err: AWSError, data: LexRuntime.Types.PostTextResponse) => void): Request; -} -declare namespace LexRuntime { - export type Accept = string; - export type BlobStream = Buffer|Uint8Array|Blob|string; - export type BotAlias = string; - export type BotName = string; - export interface Button { - /** - * Text that is visible to the user on the button. - */ - text: ButtonTextStringWithLength; - /** - * The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City." - */ - value: ButtonValueStringWithLength; - } - export type ButtonTextStringWithLength = string; - export type ButtonValueStringWithLength = string; - export type ContentType = "application/vnd.amazonaws.card.generic"|string; - export type DialogState = "ElicitIntent"|"ConfirmIntent"|"ElicitSlot"|"Fulfilled"|"ReadyForFulfillment"|"Failed"|string; - export type ErrorMessage = string; - export interface GenericAttachment { - /** - * The title of the option. - */ - title?: StringWithLength; - /** - * The subtitle shown below the title. - */ - subTitle?: StringWithLength; - /** - * The URL of an attachment to the response card. - */ - attachmentLinkUrl?: StringUrlWithLength; - /** - * The URL of an image that is displayed to the user. - */ - imageUrl?: StringUrlWithLength; - /** - * The list of options to show to the user. - */ - buttons?: listOfButtons; - } - export type HttpContentType = string; - export type IntentName = string; - export interface PostContentRequest { - /** - * Name of the Amazon Lex bot. - */ - botName: BotName; - /** - * Alias of the Amazon Lex bot. - */ - botAlias: BotAlias; - /** - * ID of the client application user. Typically, each of your application users should have a unique ID. The application developer decides the user IDs. At runtime, each request must include the user ID. Note the following considerations: If you want a user to start conversation on one device and continue the conversation on another device, you might choose a user-specific identifier, such as the user's login, or Amazon Cognito user ID (assuming your application is using Amazon Cognito). If you want the same user to be able to have two independent conversations on two different devices, you might choose device-specific identifier, such as device ID, or some globally unique identifier. - */ - userId: UserId; - /** - * You pass this value in the x-amz-lex-session-attributes HTTP header. The value must be map (keys and values must be strings) that is JSON serialized and then base64 encoded. A session represents dialog between a user and Amazon Lex. At runtime, a client application can pass contextual information, in the request to Amazon Lex. For example, You might use session attributes to track the requestID of user requests. In Getting Started Exercise 1, the example bot uses the price session attribute to maintain the price of flowers ordered (for example, "price":25). The code hook (Lambda function) sets this attribute based on the type of flowers ordered. For more information, see Review the Details of Information Flow. In the BookTrip bot exercise, the bot uses the currentReservation session attribute to maintains the slot data during the in-progress conversation to book a hotel or book a car. For more information, see Details of Information Flow. Amazon Lex passes these session attributes to the Lambda functions configured for the intent In the your Lambda function, you can use the session attributes for initialization and customization (prompts). Some examples are: Initialization - In a pizza ordering bot, if you pass user location (for example, "Location : 111 Maple Street"), then your Lambda function might use this information to determine the closest pizzeria to place the order (and perhaps set the storeAddress slot value as well). Personalized prompts - For example, you can configure prompts to refer to the user by name (for example, "Hey [firstName], what toppings would you like?"). You can pass the user's name as a session attribute ("firstName": "Joe") so that Amazon Lex can substitute the placeholder to provide a personalized prompt to the user ("Hey Joe, what toppings would you like?"). Amazon Lex does not persist session attributes. If you configured a code hook for the intent, Amazon Lex passes the incoming session attributes to the Lambda function. The Lambda function must return these session attributes if you want Amazon Lex to return them to the client. If there is no code hook configured for the intent Amazon Lex simply returns the session attributes to the client application. - */ - sessionAttributes?: String; - /** - * You pass this values as the Content-Type HTTP header. Indicates the audio format or text. The header value must start with one of the following prefixes: PCM format audio/l16; rate=16000; channels=1 audio/x-l16; sample-rate=16000; channel-count=1 Opus format audio/x-cbr-opus-with-preamble; preamble-size=0; bit-rate=1; frame-size-milliseconds=1.1 Text format text/plain; charset=utf-8 - */ - contentType: HttpContentType; - /** - * You pass this value as the Accept HTTP header. The message Amazon Lex returns in the response can be either text or speech based on the Accept HTTP header value in the request. If the value is text/plain; charset=utf-8, Amazon Lex returns text in the response. If the value begins with audio/, Amazon Lex returns speech in the response. Amazon Lex uses Amazon Polly to generate the speech (using the configuration you specified in the Accept header). For example, if you specify audio/mpeg as the value, Amazon Lex returns speech in the MPEG format. The following are the accepted values: audio/mpeg audio/ogg audio/pcm text/plain; charset=utf-8 audio/* (defaults to mpeg) - */ - accept?: Accept; - /** - * User input in PCM or Opus audio format or text format as described in the Content-Type HTTP header. - */ - inputStream: BlobStream; - } - export interface PostContentResponse { - /** - * Content type as specified in the Accept HTTP header in the request. - */ - contentType?: HttpContentType; - /** - * Current user intent that Amazon Lex is aware of. - */ - intentName?: IntentName; - /** - * Map of zero or more intent slots (name/value pairs) Amazon Lex detected from the user input during the conversation. - */ - slots?: String; - /** - * Map of key/value pairs representing the session-specific context information. - */ - sessionAttributes?: String; - /** - * Message to convey to the user. It can come from the bot's configuration or a code hook (Lambda function). If the current intent is not configured with a code hook or if the code hook returned Delegate as the dialogAction.type in its response, then Amazon Lex decides the next course of action and selects an appropriate message from the bot configuration based on the current user interaction context. For example, if Amazon Lex is not able to understand the user input, it uses a clarification prompt message (For more information, see the Error Handling section in the Amazon Lex console). Another example: if the intent requires confirmation before fulfillment, then Amazon Lex uses the confirmation prompt message in the intent configuration. If the code hook returns a message, Amazon Lex passes it as-is in its response to the client. - */ - message?: Text; - /** - * Identifies the current state of the user interaction. Amazon Lex returns one of the following values as dialogState. The client can optionally use this information to customize the user interface. ElicitIntent – Amazon Lex wants to elicit the user's intent. Consider the following examples: For example, a user might utter an intent ("I want to order a pizza"). If Amazon Lex cannot infer the user intent from this utterance, it will return this dialog state. ConfirmIntent – Amazon Lex is expecting a "yes" or "no" response. For example, Amazon Lex wants user confirmation before fulfilling an intent. Instead of a simple "yes" or "no" response, a user might respond with additional information. For example, "yes, but make it a thick crust pizza" or "no, I want to order a drink." Amazon Lex can process such additional information (in these examples, update the crust type slot or change the intent from OrderPizza to OrderDrink). ElicitSlot – Amazon Lex is expecting the value of a slot for the current intent. For example, suppose that in the response Amazon Lex sends this message: "What size pizza would you like?". A user might reply with the slot value (e.g., "medium"). The user might also provide additional information in the response (e.g., "medium thick crust pizza"). Amazon Lex can process such additional information appropriately. Fulfilled – Conveys that the Lambda function has successfully fulfilled the intent. ReadyForFulfillment – Conveys that the client has to fullfill the request. Failed – Conveys that the conversation with the user failed. This can happen for various reasons, including that the user does not provide an appropriate response to prompts from the service (you can configure how many times Amazon Lex can prompt a user for specific information), or if the Lambda function fails to fulfill the intent. - */ - dialogState?: DialogState; - /** - * If the dialogState value is ElicitSlot, returns the name of the slot for which Amazon Lex is eliciting a value. - */ - slotToElicit?: String; - /** - * Transcript of the voice input to the operation. - */ - inputTranscript?: String; - /** - * The prompt (or statement) to convey to the user. This is based on the bot configuration and context. For example, if Amazon Lex did not understand the user intent, it sends the clarificationPrompt configured for the bot. If the intent requires confirmation before taking the fulfillment action, it sends the confirmationPrompt. Another example: Suppose that the Lambda function successfully fulfilled the intent, and sent a message to convey to the user. Then Amazon Lex sends that message in the response. - */ - audioStream?: BlobStream; - } - export interface PostTextRequest { - /** - * The name of the Amazon Lex bot. - */ - botName: BotName; - /** - * The alias of the Amazon Lex bot. - */ - botAlias: BotAlias; - /** - * The ID of the client application user. The application developer decides the user IDs. At runtime, each request must include the user ID. Typically, each of your application users should have a unique ID. Note the following considerations: If you want a user to start a conversation on one device and continue the conversation on another device, you might choose a user-specific identifier, such as a login or Amazon Cognito user ID (assuming your application is using Amazon Cognito). If you want the same user to be able to have two independent conversations on two different devices, you might choose a device-specific identifier, such as device ID, or some globally unique identifier. - */ - userId: UserId; - /** - * By using session attributes, a client application can pass contextual information in the request to Amazon Lex For example, In Getting Started Exercise 1, the example bot uses the price session attribute to maintain the price of the flowers ordered (for example, "Price":25). The code hook (the Lambda function) sets this attribute based on the type of flowers ordered. For more information, see Review the Details of Information Flow. In the BookTrip bot exercise, the bot uses the currentReservation session attribute to maintain slot data during the in-progress conversation to book a hotel or book a car. For more information, see Details of Information Flow. You might use the session attributes (key, value pairs) to track the requestID of user requests. Amazon Lex simply passes these session attributes to the Lambda functions configured for the intent. In your Lambda function, you can also use the session attributes for initialization and customization (prompts and response cards). Some examples are: Initialization - In a pizza ordering bot, if you can pass the user location as a session attribute (for example, "Location" : "111 Maple street"), then your Lambda function might use this information to determine the closest pizzeria to place the order (perhaps to set the storeAddress slot value). Personalize prompts - For example, you can configure prompts to refer to the user name. (For example, "Hey [FirstName], what toppings would you like?"). You can pass the user name as a session attribute ("FirstName" : "Joe") so that Amazon Lex can substitute the placeholder to provide a personalize prompt to the user ("Hey Joe, what toppings would you like?"). Amazon Lex does not persist session attributes. If you configure a code hook for the intent, Amazon Lex passes the incoming session attributes to the Lambda function. If you want Amazon Lex to return these session attributes back to the client, the Lambda function must return them. If there is no code hook configured for the intent, Amazon Lex simply returns the session attributes back to the client application. - */ - sessionAttributes?: StringMap; - /** - * The text that the user entered (Amazon Lex interprets this text). - */ - inputText: Text; - } - export interface PostTextResponse { - /** - * The current user intent that Amazon Lex is aware of. - */ - intentName?: IntentName; - /** - * The intent slots (name/value pairs) that Amazon Lex detected so far from the user input in the conversation. - */ - slots?: StringMap; - /** - * A map of key-value pairs representing the session-specific context information. - */ - sessionAttributes?: StringMap; - /** - * A message to convey to the user. It can come from the bot's configuration or a code hook (Lambda function). If the current intent is not configured with a code hook or the code hook returned Delegate as the dialogAction.type in its response, then Amazon Lex decides the next course of action and selects an appropriate message from the bot configuration based on the current user interaction context. For example, if Amazon Lex is not able to understand the user input, it uses a clarification prompt message (for more information, see the Error Handling section in the Amazon Lex console). Another example: if the intent requires confirmation before fulfillment, then Amazon Lex uses the confirmation prompt message in the intent configuration. If the code hook returns a message, Amazon Lex passes it as-is in its response to the client. - */ - message?: Text; - /** - * Identifies the current state of the user interaction. Amazon Lex returns one of the following values as dialogState. The client can optionally use this information to customize the user interface. ElicitIntent – Amazon Lex wants to elicit user intent. For example, a user might utter an intent ("I want to order a pizza"). If Amazon Lex cannot infer the user intent from this utterance, it will return this dialogState. ConfirmIntent – Amazon Lex is expecting a "yes" or "no" response. For example, Amazon Lex wants user confirmation before fulfilling an intent. Instead of a simple "yes" or "no," a user might respond with additional information. For example, "yes, but make it thick crust pizza" or "no, I want to order a drink". Amazon Lex can process such additional information (in these examples, update the crust type slot value, or change intent from OrderPizza to OrderDrink). ElicitSlot – Amazon Lex is expecting a slot value for the current intent. For example, suppose that in the response Amazon Lex sends this message: "What size pizza would you like?". A user might reply with the slot value (e.g., "medium"). The user might also provide additional information in the response (e.g., "medium thick crust pizza"). Amazon Lex can process such additional information appropriately. Fulfilled – Conveys that the Lambda function configured for the intent has successfully fulfilled the intent. ReadyForFulfillment – Conveys that the client has to fulfill the intent. Failed – Conveys that the conversation with the user failed. This can happen for various reasons including that the user did not provide an appropriate response to prompts from the service (you can configure how many times Amazon Lex can prompt a user for specific information), or the Lambda function failed to fulfill the intent. - */ - dialogState?: DialogState; - /** - * If the dialogState value is ElicitSlot, returns the name of the slot for which Amazon Lex is eliciting a value. - */ - slotToElicit?: String; - /** - * Represents the options that the user has to respond to the current prompt. Response Card can come from the bot configuration (in the Amazon Lex console, choose the settings button next to a slot) or from a code hook (Lambda function). - */ - responseCard?: ResponseCard; - } - export interface ResponseCard { - /** - * The version of the response card format. - */ - version?: String; - /** - * The content type of the response. - */ - contentType?: ContentType; - /** - * An array of attachment objects representing options. - */ - genericAttachments?: genericAttachmentList; - } - export type String = string; - export type StringMap = {[key: string]: String}; - export type StringUrlWithLength = string; - export type StringWithLength = string; - export type Text = string; - export type UserId = string; - export type genericAttachmentList = GenericAttachment[]; - export type listOfButtons = Button[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-11-28"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the LexRuntime client. - */ - export import Types = LexRuntime; -} -export = LexRuntime; diff --git a/src/node_modules/aws-sdk/clients/lexruntime.js b/src/node_modules/aws-sdk/clients/lexruntime.js deleted file mode 100644 index a9c8aa4..0000000 --- a/src/node_modules/aws-sdk/clients/lexruntime.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['lexruntime'] = {}; -AWS.LexRuntime = Service.defineService('lexruntime', ['2016-11-28']); -Object.defineProperty(apiLoader.services['lexruntime'], '2016-11-28', { - get: function get() { - var model = require('../apis/runtime.lex-2016-11-28.min.json'); - model.paginators = require('../apis/runtime.lex-2016-11-28.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LexRuntime; diff --git a/src/node_modules/aws-sdk/clients/lightsail.d.ts b/src/node_modules/aws-sdk/clients/lightsail.d.ts deleted file mode 100644 index 33e47ee..0000000 --- a/src/node_modules/aws-sdk/clients/lightsail.d.ts +++ /dev/null @@ -1,1860 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Lightsail extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Lightsail.Types.ClientConfiguration) - config: Config & Lightsail.Types.ClientConfiguration; - /** - * Allocates a static IP address. - */ - allocateStaticIp(params: Lightsail.Types.AllocateStaticIpRequest, callback?: (err: AWSError, data: Lightsail.Types.AllocateStaticIpResult) => void): Request; - /** - * Allocates a static IP address. - */ - allocateStaticIp(callback?: (err: AWSError, data: Lightsail.Types.AllocateStaticIpResult) => void): Request; - /** - * Attaches a static IP address to a specific Amazon Lightsail instance. - */ - attachStaticIp(params: Lightsail.Types.AttachStaticIpRequest, callback?: (err: AWSError, data: Lightsail.Types.AttachStaticIpResult) => void): Request; - /** - * Attaches a static IP address to a specific Amazon Lightsail instance. - */ - attachStaticIp(callback?: (err: AWSError, data: Lightsail.Types.AttachStaticIpResult) => void): Request; - /** - * Closes the public ports on a specific Amazon Lightsail instance. - */ - closeInstancePublicPorts(params: Lightsail.Types.CloseInstancePublicPortsRequest, callback?: (err: AWSError, data: Lightsail.Types.CloseInstancePublicPortsResult) => void): Request; - /** - * Closes the public ports on a specific Amazon Lightsail instance. - */ - closeInstancePublicPorts(callback?: (err: AWSError, data: Lightsail.Types.CloseInstancePublicPortsResult) => void): Request; - /** - * Creates a domain resource for the specified domain (e.g., example.com). - */ - createDomain(params: Lightsail.Types.CreateDomainRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateDomainResult) => void): Request; - /** - * Creates a domain resource for the specified domain (e.g., example.com). - */ - createDomain(callback?: (err: AWSError, data: Lightsail.Types.CreateDomainResult) => void): Request; - /** - * Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record. - */ - createDomainEntry(params: Lightsail.Types.CreateDomainEntryRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateDomainEntryResult) => void): Request; - /** - * Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record. - */ - createDomainEntry(callback?: (err: AWSError, data: Lightsail.Types.CreateDomainEntryResult) => void): Request; - /** - * Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot. - */ - createInstanceSnapshot(params: Lightsail.Types.CreateInstanceSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateInstanceSnapshotResult) => void): Request; - /** - * Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot. - */ - createInstanceSnapshot(callback?: (err: AWSError, data: Lightsail.Types.CreateInstanceSnapshotResult) => void): Request; - /** - * Creates one or more Amazon Lightsail virtual private servers, or instances. - */ - createInstances(params: Lightsail.Types.CreateInstancesRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateInstancesResult) => void): Request; - /** - * Creates one or more Amazon Lightsail virtual private servers, or instances. - */ - createInstances(callback?: (err: AWSError, data: Lightsail.Types.CreateInstancesResult) => void): Request; - /** - * Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration. - */ - createInstancesFromSnapshot(params: Lightsail.Types.CreateInstancesFromSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateInstancesFromSnapshotResult) => void): Request; - /** - * Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration. - */ - createInstancesFromSnapshot(callback?: (err: AWSError, data: Lightsail.Types.CreateInstancesFromSnapshotResult) => void): Request; - /** - * Creates sn SSH key pair. - */ - createKeyPair(params: Lightsail.Types.CreateKeyPairRequest, callback?: (err: AWSError, data: Lightsail.Types.CreateKeyPairResult) => void): Request; - /** - * Creates sn SSH key pair. - */ - createKeyPair(callback?: (err: AWSError, data: Lightsail.Types.CreateKeyPairResult) => void): Request; - /** - * Deletes the specified domain recordset and all of its domain records. - */ - deleteDomain(params: Lightsail.Types.DeleteDomainRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteDomainResult) => void): Request; - /** - * Deletes the specified domain recordset and all of its domain records. - */ - deleteDomain(callback?: (err: AWSError, data: Lightsail.Types.DeleteDomainResult) => void): Request; - /** - * Deletes a specific domain entry. - */ - deleteDomainEntry(params: Lightsail.Types.DeleteDomainEntryRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteDomainEntryResult) => void): Request; - /** - * Deletes a specific domain entry. - */ - deleteDomainEntry(callback?: (err: AWSError, data: Lightsail.Types.DeleteDomainEntryResult) => void): Request; - /** - * Deletes a specific Amazon Lightsail virtual private server, or instance. - */ - deleteInstance(params: Lightsail.Types.DeleteInstanceRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteInstanceResult) => void): Request; - /** - * Deletes a specific Amazon Lightsail virtual private server, or instance. - */ - deleteInstance(callback?: (err: AWSError, data: Lightsail.Types.DeleteInstanceResult) => void): Request; - /** - * Deletes a specific snapshot of a virtual private server (or instance). - */ - deleteInstanceSnapshot(params: Lightsail.Types.DeleteInstanceSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteInstanceSnapshotResult) => void): Request; - /** - * Deletes a specific snapshot of a virtual private server (or instance). - */ - deleteInstanceSnapshot(callback?: (err: AWSError, data: Lightsail.Types.DeleteInstanceSnapshotResult) => void): Request; - /** - * Deletes a specific SSH key pair. - */ - deleteKeyPair(params: Lightsail.Types.DeleteKeyPairRequest, callback?: (err: AWSError, data: Lightsail.Types.DeleteKeyPairResult) => void): Request; - /** - * Deletes a specific SSH key pair. - */ - deleteKeyPair(callback?: (err: AWSError, data: Lightsail.Types.DeleteKeyPairResult) => void): Request; - /** - * Detaches a static IP from the Amazon Lightsail instance to which it is attached. - */ - detachStaticIp(params: Lightsail.Types.DetachStaticIpRequest, callback?: (err: AWSError, data: Lightsail.Types.DetachStaticIpResult) => void): Request; - /** - * Detaches a static IP from the Amazon Lightsail instance to which it is attached. - */ - detachStaticIp(callback?: (err: AWSError, data: Lightsail.Types.DetachStaticIpResult) => void): Request; - /** - * Downloads the default SSH key pair from the user's account. - */ - downloadDefaultKeyPair(params: Lightsail.Types.DownloadDefaultKeyPairRequest, callback?: (err: AWSError, data: Lightsail.Types.DownloadDefaultKeyPairResult) => void): Request; - /** - * Downloads the default SSH key pair from the user's account. - */ - downloadDefaultKeyPair(callback?: (err: AWSError, data: Lightsail.Types.DownloadDefaultKeyPairResult) => void): Request; - /** - * Returns the names of all active (not deleted) resources. - */ - getActiveNames(params: Lightsail.Types.GetActiveNamesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetActiveNamesResult) => void): Request; - /** - * Returns the names of all active (not deleted) resources. - */ - getActiveNames(callback?: (err: AWSError, data: Lightsail.Types.GetActiveNamesResult) => void): Request; - /** - * Returns the list of available instance images, or blueprints. You can use a blueprint to create a new virtual private server already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose. - */ - getBlueprints(params: Lightsail.Types.GetBlueprintsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetBlueprintsResult) => void): Request; - /** - * Returns the list of available instance images, or blueprints. You can use a blueprint to create a new virtual private server already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose. - */ - getBlueprints(callback?: (err: AWSError, data: Lightsail.Types.GetBlueprintsResult) => void): Request; - /** - * Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance). - */ - getBundles(params: Lightsail.Types.GetBundlesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetBundlesResult) => void): Request; - /** - * Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance). - */ - getBundles(callback?: (err: AWSError, data: Lightsail.Types.GetBundlesResult) => void): Request; - /** - * Returns information about a specific domain recordset. - */ - getDomain(params: Lightsail.Types.GetDomainRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDomainResult) => void): Request; - /** - * Returns information about a specific domain recordset. - */ - getDomain(callback?: (err: AWSError, data: Lightsail.Types.GetDomainResult) => void): Request; - /** - * Returns a list of all domains in the user's account. - */ - getDomains(params: Lightsail.Types.GetDomainsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetDomainsResult) => void): Request; - /** - * Returns a list of all domains in the user's account. - */ - getDomains(callback?: (err: AWSError, data: Lightsail.Types.GetDomainsResult) => void): Request; - /** - * Returns information about a specific Amazon Lightsail instance, which is a virtual private server. - */ - getInstance(params: Lightsail.Types.GetInstanceRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceResult) => void): Request; - /** - * Returns information about a specific Amazon Lightsail instance, which is a virtual private server. - */ - getInstance(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceResult) => void): Request; - /** - * Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance. - */ - getInstanceAccessDetails(params: Lightsail.Types.GetInstanceAccessDetailsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceAccessDetailsResult) => void): Request; - /** - * Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance. - */ - getInstanceAccessDetails(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceAccessDetailsResult) => void): Request; - /** - * Returns the data points for the specified Amazon Lightsail instance metric, given an instance name. - */ - getInstanceMetricData(params: Lightsail.Types.GetInstanceMetricDataRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceMetricDataResult) => void): Request; - /** - * Returns the data points for the specified Amazon Lightsail instance metric, given an instance name. - */ - getInstanceMetricData(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceMetricDataResult) => void): Request; - /** - * Returns the port states for a specific virtual private server, or instance. - */ - getInstancePortStates(params: Lightsail.Types.GetInstancePortStatesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstancePortStatesResult) => void): Request; - /** - * Returns the port states for a specific virtual private server, or instance. - */ - getInstancePortStates(callback?: (err: AWSError, data: Lightsail.Types.GetInstancePortStatesResult) => void): Request; - /** - * Returns information about a specific instance snapshot. - */ - getInstanceSnapshot(params: Lightsail.Types.GetInstanceSnapshotRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceSnapshotResult) => void): Request; - /** - * Returns information about a specific instance snapshot. - */ - getInstanceSnapshot(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceSnapshotResult) => void): Request; - /** - * Returns all instance snapshots for the user's account. - */ - getInstanceSnapshots(params: Lightsail.Types.GetInstanceSnapshotsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceSnapshotsResult) => void): Request; - /** - * Returns all instance snapshots for the user's account. - */ - getInstanceSnapshots(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceSnapshotsResult) => void): Request; - /** - * Returns the state of a specific instance. Works on one instance at a time. - */ - getInstanceState(params: Lightsail.Types.GetInstanceStateRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstanceStateResult) => void): Request; - /** - * Returns the state of a specific instance. Works on one instance at a time. - */ - getInstanceState(callback?: (err: AWSError, data: Lightsail.Types.GetInstanceStateResult) => void): Request; - /** - * Returns information about all Amazon Lightsail virtual private servers, or instances. - */ - getInstances(params: Lightsail.Types.GetInstancesRequest, callback?: (err: AWSError, data: Lightsail.Types.GetInstancesResult) => void): Request; - /** - * Returns information about all Amazon Lightsail virtual private servers, or instances. - */ - getInstances(callback?: (err: AWSError, data: Lightsail.Types.GetInstancesResult) => void): Request; - /** - * Returns information about a specific key pair. - */ - getKeyPair(params: Lightsail.Types.GetKeyPairRequest, callback?: (err: AWSError, data: Lightsail.Types.GetKeyPairResult) => void): Request; - /** - * Returns information about a specific key pair. - */ - getKeyPair(callback?: (err: AWSError, data: Lightsail.Types.GetKeyPairResult) => void): Request; - /** - * Returns information about all key pairs in the user's account. - */ - getKeyPairs(params: Lightsail.Types.GetKeyPairsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetKeyPairsResult) => void): Request; - /** - * Returns information about all key pairs in the user's account. - */ - getKeyPairs(callback?: (err: AWSError, data: Lightsail.Types.GetKeyPairsResult) => void): Request; - /** - * Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on. - */ - getOperation(params: Lightsail.Types.GetOperationRequest, callback?: (err: AWSError, data: Lightsail.Types.GetOperationResult) => void): Request; - /** - * Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on. - */ - getOperation(callback?: (err: AWSError, data: Lightsail.Types.GetOperationResult) => void): Request; - /** - * Returns information about all operations. Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request. - */ - getOperations(params: Lightsail.Types.GetOperationsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetOperationsResult) => void): Request; - /** - * Returns information about all operations. Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request. - */ - getOperations(callback?: (err: AWSError, data: Lightsail.Types.GetOperationsResult) => void): Request; - /** - * Gets operations for a specific resource (e.g., an instance or a static IP). - */ - getOperationsForResource(params: Lightsail.Types.GetOperationsForResourceRequest, callback?: (err: AWSError, data: Lightsail.Types.GetOperationsForResourceResult) => void): Request; - /** - * Gets operations for a specific resource (e.g., an instance or a static IP). - */ - getOperationsForResource(callback?: (err: AWSError, data: Lightsail.Types.GetOperationsForResourceResult) => void): Request; - /** - * Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the availability zones in a region. - */ - getRegions(params: Lightsail.Types.GetRegionsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetRegionsResult) => void): Request; - /** - * Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the availability zones in a region. - */ - getRegions(callback?: (err: AWSError, data: Lightsail.Types.GetRegionsResult) => void): Request; - /** - * Returns information about a specific static IP. - */ - getStaticIp(params: Lightsail.Types.GetStaticIpRequest, callback?: (err: AWSError, data: Lightsail.Types.GetStaticIpResult) => void): Request; - /** - * Returns information about a specific static IP. - */ - getStaticIp(callback?: (err: AWSError, data: Lightsail.Types.GetStaticIpResult) => void): Request; - /** - * Returns information about all static IPs in the user's account. - */ - getStaticIps(params: Lightsail.Types.GetStaticIpsRequest, callback?: (err: AWSError, data: Lightsail.Types.GetStaticIpsResult) => void): Request; - /** - * Returns information about all static IPs in the user's account. - */ - getStaticIps(callback?: (err: AWSError, data: Lightsail.Types.GetStaticIpsResult) => void): Request; - /** - * Imports a public SSH key from a specific key pair. - */ - importKeyPair(params: Lightsail.Types.ImportKeyPairRequest, callback?: (err: AWSError, data: Lightsail.Types.ImportKeyPairResult) => void): Request; - /** - * Imports a public SSH key from a specific key pair. - */ - importKeyPair(callback?: (err: AWSError, data: Lightsail.Types.ImportKeyPairResult) => void): Request; - /** - * Returns a Boolean value indicating whether your Lightsail VPC is peered. - */ - isVpcPeered(params: Lightsail.Types.IsVpcPeeredRequest, callback?: (err: AWSError, data: Lightsail.Types.IsVpcPeeredResult) => void): Request; - /** - * Returns a Boolean value indicating whether your Lightsail VPC is peered. - */ - isVpcPeered(callback?: (err: AWSError, data: Lightsail.Types.IsVpcPeeredResult) => void): Request; - /** - * Adds public ports to an Amazon Lightsail instance. - */ - openInstancePublicPorts(params: Lightsail.Types.OpenInstancePublicPortsRequest, callback?: (err: AWSError, data: Lightsail.Types.OpenInstancePublicPortsResult) => void): Request; - /** - * Adds public ports to an Amazon Lightsail instance. - */ - openInstancePublicPorts(callback?: (err: AWSError, data: Lightsail.Types.OpenInstancePublicPortsResult) => void): Request; - /** - * Tries to peer the Lightsail VPC with the user's default VPC. - */ - peerVpc(params: Lightsail.Types.PeerVpcRequest, callback?: (err: AWSError, data: Lightsail.Types.PeerVpcResult) => void): Request; - /** - * Tries to peer the Lightsail VPC with the user's default VPC. - */ - peerVpc(callback?: (err: AWSError, data: Lightsail.Types.PeerVpcResult) => void): Request; - /** - * Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request. - */ - putInstancePublicPorts(params: Lightsail.Types.PutInstancePublicPortsRequest, callback?: (err: AWSError, data: Lightsail.Types.PutInstancePublicPortsResult) => void): Request; - /** - * Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request. - */ - putInstancePublicPorts(callback?: (err: AWSError, data: Lightsail.Types.PutInstancePublicPortsResult) => void): Request; - /** - * Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance. - */ - rebootInstance(params: Lightsail.Types.RebootInstanceRequest, callback?: (err: AWSError, data: Lightsail.Types.RebootInstanceResult) => void): Request; - /** - * Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance. - */ - rebootInstance(callback?: (err: AWSError, data: Lightsail.Types.RebootInstanceResult) => void): Request; - /** - * Deletes a specific static IP from your account. - */ - releaseStaticIp(params: Lightsail.Types.ReleaseStaticIpRequest, callback?: (err: AWSError, data: Lightsail.Types.ReleaseStaticIpResult) => void): Request; - /** - * Deletes a specific static IP from your account. - */ - releaseStaticIp(callback?: (err: AWSError, data: Lightsail.Types.ReleaseStaticIpResult) => void): Request; - /** - * Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation. - */ - startInstance(params: Lightsail.Types.StartInstanceRequest, callback?: (err: AWSError, data: Lightsail.Types.StartInstanceResult) => void): Request; - /** - * Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation. - */ - startInstance(callback?: (err: AWSError, data: Lightsail.Types.StartInstanceResult) => void): Request; - /** - * Stops a specific Amazon Lightsail instance that is currently running. - */ - stopInstance(params: Lightsail.Types.StopInstanceRequest, callback?: (err: AWSError, data: Lightsail.Types.StopInstanceResult) => void): Request; - /** - * Stops a specific Amazon Lightsail instance that is currently running. - */ - stopInstance(callback?: (err: AWSError, data: Lightsail.Types.StopInstanceResult) => void): Request; - /** - * Attempts to unpeer the Lightsail VPC from the user's default VPC. - */ - unpeerVpc(params: Lightsail.Types.UnpeerVpcRequest, callback?: (err: AWSError, data: Lightsail.Types.UnpeerVpcResult) => void): Request; - /** - * Attempts to unpeer the Lightsail VPC from the user's default VPC. - */ - unpeerVpc(callback?: (err: AWSError, data: Lightsail.Types.UnpeerVpcResult) => void): Request; - /** - * Updates a domain recordset after it is created. - */ - updateDomainEntry(params: Lightsail.Types.UpdateDomainEntryRequest, callback?: (err: AWSError, data: Lightsail.Types.UpdateDomainEntryResult) => void): Request; - /** - * Updates a domain recordset after it is created. - */ - updateDomainEntry(callback?: (err: AWSError, data: Lightsail.Types.UpdateDomainEntryResult) => void): Request; -} -declare namespace Lightsail { - export type AccessDirection = "inbound"|"outbound"|string; - export interface AllocateStaticIpRequest { - /** - * The name of the static IP address. - */ - staticIpName: ResourceName; - } - export interface AllocateStaticIpResult { - /** - * An array of key-value pairs containing information about the static IP address you allocated. - */ - operations?: OperationList; - } - export interface AttachStaticIpRequest { - /** - * The name of the static IP. - */ - staticIpName: ResourceName; - /** - * The instance name to which you want to attach the static IP address. - */ - instanceName: ResourceName; - } - export interface AttachStaticIpResult { - /** - * An array of key-value pairs containing information about your API operations. - */ - operations?: OperationList; - } - export interface AvailabilityZone { - /** - * The name of the Availability Zone. The format is us-east-1a (case-sensitive). - */ - zoneName?: NonEmptyString; - /** - * The state of the Availability Zone. - */ - state?: NonEmptyString; - } - export type AvailabilityZoneList = AvailabilityZone[]; - export type Base64 = string; - export interface Blueprint { - /** - * The ID for the virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). - */ - blueprintId?: NonEmptyString; - /** - * The friendly name of the blueprint (e.g., Amazon Linux). - */ - name?: ResourceName; - /** - * The group name of the blueprint (e.g., amazon-linux). - */ - group?: NonEmptyString; - /** - * The type of the blueprint (e.g., os or app). - */ - type?: BlueprintType; - /** - * The description of the blueprint. - */ - description?: string; - /** - * A Boolean value indicating whether the blueprint is active. When you update your blueprints, you will inactivate old blueprints and keep the most recent versions active. - */ - isActive?: boolean; - /** - * The minimum machine size required to run this blueprint. 0 indicates that the blueprint runs on all instances. - */ - minPower?: integer; - /** - * The version number of the operating system, application, or stack (e.g., 2016.03.0). - */ - version?: string; - /** - * The version code. - */ - versionCode?: string; - /** - * The product URL to learn more about the image or blueprint. - */ - productUrl?: string; - /** - * The end-user license agreement URL for the image or blueprint. - */ - licenseUrl?: string; - } - export type BlueprintList = Blueprint[]; - export type BlueprintType = "os"|"app"|string; - export interface Bundle { - /** - * The price in US dollars (e.g., 5.0). - */ - price?: float; - /** - * The number of vCPUs included in the bundle (e.g., 2). - */ - cpuCount?: integer; - /** - * The size of the SSD (e.g., 30). - */ - diskSizeInGb?: integer; - /** - * The bundle ID (e.g., micro_1_0). - */ - bundleId?: NonEmptyString; - /** - * The Amazon EC2 instance type (e.g., t2.micro). - */ - instanceType?: string; - /** - * A Boolean value indicating whether the bundle is active. - */ - isActive?: boolean; - /** - * A friendly name for the bundle (e.g., Micro). - */ - name?: string; - /** - * The power of the bundle (e.g., 500). - */ - power?: integer; - /** - * The amount of RAM in GB (e.g., 2.0). - */ - ramSizeInGb?: float; - /** - * The data transfer rate per month in GB (e.g., 2000). - */ - transferPerMonthInGb?: integer; - } - export type BundleList = Bundle[]; - export interface CloseInstancePublicPortsRequest { - /** - * Information about the public port you are trying to close. - */ - portInfo: PortInfo; - /** - * The name of the instance on which you're attempting to close the public ports. - */ - instanceName: ResourceName; - } - export interface CloseInstancePublicPortsResult { - /** - * An array of key-value pairs that contains information about the operation. - */ - operation?: Operation; - } - export interface CreateDomainEntryRequest { - /** - * The domain name (e.g., example.com) for which you want to create the domain entry. - */ - domainName: DomainName; - /** - * An array of key-value pairs containing information about the domain entry request. - */ - domainEntry: DomainEntry; - } - export interface CreateDomainEntryResult { - /** - * An array of key-value pairs containing information about the operation. - */ - operation?: Operation; - } - export interface CreateDomainRequest { - /** - * The domain name to manage (e.g., example.com). You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain. - */ - domainName: DomainName; - } - export interface CreateDomainResult { - /** - * An array of key-value pairs containing information about the domain resource you created. - */ - operation?: Operation; - } - export interface CreateInstanceSnapshotRequest { - /** - * The name for your new snapshot. - */ - instanceSnapshotName: ResourceName; - /** - * The Lightsail instance on which to base your snapshot. - */ - instanceName: ResourceName; - } - export interface CreateInstanceSnapshotResult { - /** - * An array of key-value pairs containing information about the results of your create instances snapshot request. - */ - operations?: OperationList; - } - export interface CreateInstancesFromSnapshotRequest { - /** - * The names for your new instances. - */ - instanceNames: StringList; - /** - * The Availability Zone where you want to create your instances. Use the following formatting: us-east-1a (case sensitive). You can get a list of availability zones by using the get regions operation. Be sure to add the include availability zones parameter to your request. - */ - availabilityZone: string; - /** - * The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots. - */ - instanceSnapshotName: ResourceName; - /** - * The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0). - */ - bundleId: NonEmptyString; - /** - * You can create a launch script that configures a server with additional user data. For example, apt-get –y update. Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide. - */ - userData?: string; - /** - * The name for your key pair. - */ - keyPairName?: ResourceName; - } - export interface CreateInstancesFromSnapshotResult { - /** - * An array of key-value pairs containing information about the results of your create instances from snapshot request. - */ - operations?: OperationList; - } - export interface CreateInstancesRequest { - /** - * The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"] - */ - instanceNames: StringList; - /** - * The Availability Zone in which to create your instance. Use the following format: us-east-1a (case sensitive). You can get a list of availability zones by using the get regions operation. Be sure to add the include availability zones parameter to your request. - */ - availabilityZone: string; - /** - * (Deprecated) The name for your custom image. In releases prior to June 12, 2017, this parameter was ignored by the API. It is now deprecated. - */ - customImageName?: ResourceName; - /** - * The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints). - */ - blueprintId: NonEmptyString; - /** - * The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0). - */ - bundleId: NonEmptyString; - /** - * A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get –y update. Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide. - */ - userData?: string; - /** - * The name of your key pair. - */ - keyPairName?: ResourceName; - } - export interface CreateInstancesResult { - /** - * An array of key-value pairs containing information about the results of your create instances request. - */ - operations?: OperationList; - } - export interface CreateKeyPairRequest { - /** - * The name for your new key pair. - */ - keyPairName: ResourceName; - } - export interface CreateKeyPairResult { - /** - * An array of key-value pairs containing information about the new key pair you just created. - */ - keyPair?: KeyPair; - /** - * A base64-encoded public key of the ssh-rsa type. - */ - publicKeyBase64?: Base64; - /** - * A base64-encoded RSA private key. - */ - privateKeyBase64?: Base64; - /** - * An array of key-value pairs containing information about the results of your create key pair request. - */ - operation?: Operation; - } - export interface DeleteDomainEntryRequest { - /** - * The name of the domain entry to delete. - */ - domainName: DomainName; - /** - * An array of key-value pairs containing information about your domain entries. - */ - domainEntry: DomainEntry; - } - export interface DeleteDomainEntryResult { - /** - * An array of key-value pairs containing information about the results of your delete domain entry request. - */ - operation?: Operation; - } - export interface DeleteDomainRequest { - /** - * The specific domain name to delete. - */ - domainName: DomainName; - } - export interface DeleteDomainResult { - /** - * An array of key-value pairs containing information about the results of your delete domain request. - */ - operation?: Operation; - } - export interface DeleteInstanceRequest { - /** - * The name of the instance to delete. - */ - instanceName: ResourceName; - } - export interface DeleteInstanceResult { - /** - * An array of key-value pairs containing information about the results of your delete instance request. - */ - operations?: OperationList; - } - export interface DeleteInstanceSnapshotRequest { - /** - * The name of the snapshot to delete. - */ - instanceSnapshotName: ResourceName; - } - export interface DeleteInstanceSnapshotResult { - /** - * An array of key-value pairs containing information about the results of your delete instance snapshot request. - */ - operations?: OperationList; - } - export interface DeleteKeyPairRequest { - /** - * The name of the key pair to delete. - */ - keyPairName: ResourceName; - } - export interface DeleteKeyPairResult { - /** - * An array of key-value pairs containing information about the results of your delete key pair request. - */ - operation?: Operation; - } - export interface DetachStaticIpRequest { - /** - * The name of the static IP to detach from the instance. - */ - staticIpName: ResourceName; - } - export interface DetachStaticIpResult { - /** - * An array of key-value pairs containing information about the results of your detach static IP request. - */ - operations?: OperationList; - } - export interface Disk { - /** - * The name of the disk. - */ - name?: ResourceName; - /** - * The Amazon Resource Name (ARN) of the disk. - */ - arn?: NonEmptyString; - /** - * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily. - */ - supportCode?: string; - /** - * The date when the disk was created. - */ - createdAt?: IsoDate; - /** - * The region and Availability Zone where the disk is located. - */ - location?: ResourceLocation; - /** - * The resource type of the disk. - */ - resourceType?: ResourceType; - /** - * The size of the disk in GB. - */ - sizeInGb?: integer; - /** - * The number of GB in use by the disk. - */ - gbInUse?: integer; - /** - * A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it). - */ - isSystemDisk?: boolean; - /** - * The input/output operations per second (IOPS) of the disk. - */ - iops?: integer; - /** - * The disk path. - */ - path?: string; - /** - * The resources to which the disk is attached. - */ - attachedTo?: string; - /** - * A Boolean value indicating whether the disk is attached. - */ - isAttached?: boolean; - /** - * The attachment state of the disk. - */ - attachmentState?: string; - } - export type DiskList = Disk[]; - export interface Domain { - /** - * The name of the domain. - */ - name?: ResourceName; - /** - * The Amazon Resource Name (ARN) of the domain recordset (e.g., arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE). - */ - arn?: NonEmptyString; - /** - * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily. - */ - supportCode?: string; - /** - * The date when the domain recordset was created. - */ - createdAt?: IsoDate; - /** - * The AWS Region and Availability Zones where the domain recordset was created. - */ - location?: ResourceLocation; - /** - * The resource type. - */ - resourceType?: ResourceType; - /** - * An array of key-value pairs containing information about the domain entries. - */ - domainEntries?: DomainEntryList; - } - export interface DomainEntry { - /** - * The ID of the domain recordset entry. - */ - id?: NonEmptyString; - /** - * The name of the domain. - */ - name?: DomainName; - /** - * The target AWS name server (e.g., ns-111.awsdns-22.com.). - */ - target?: string; - /** - * The type of domain entry (e.g., SOA or NS). - */ - type?: DomainEntryType; - /** - * The options for the domain entry. - */ - options?: DomainEntryOptions; - } - export type DomainEntryList = DomainEntry[]; - export type DomainEntryOptions = {[key: string]: string}; - export type DomainEntryOptionsKeys = string; - export type DomainEntryType = string; - export type DomainList = Domain[]; - export type DomainName = string; - export interface DownloadDefaultKeyPairRequest { - } - export interface DownloadDefaultKeyPairResult { - /** - * A base64-encoded public key of the ssh-rsa type. - */ - publicKeyBase64?: Base64; - /** - * A base64-encoded RSA private key. - */ - privateKeyBase64?: Base64; - } - export interface GetActiveNamesRequest { - /** - * A token used for paginating results from your get active names request. - */ - pageToken?: string; - } - export interface GetActiveNamesResult { - /** - * The list of active names returned by the get active names request. - */ - activeNames?: StringList; - /** - * A token used for advancing to the next page of results from your get active names request. - */ - nextPageToken?: string; - } - export interface GetBlueprintsRequest { - /** - * A Boolean value indicating whether to include inactive results in your request. - */ - includeInactive?: boolean; - /** - * A token used for advancing to the next page of results from your get blueprints request. - */ - pageToken?: string; - } - export interface GetBlueprintsResult { - /** - * An array of key-value pairs that contains information about the available blueprints. - */ - blueprints?: BlueprintList; - /** - * A token used for advancing to the next page of results from your get blueprints request. - */ - nextPageToken?: string; - } - export interface GetBundlesRequest { - /** - * A Boolean value that indicates whether to include inactive bundle results in your request. - */ - includeInactive?: boolean; - /** - * A token used for advancing to the next page of results from your get bundles request. - */ - pageToken?: string; - } - export interface GetBundlesResult { - /** - * An array of key-value pairs that contains information about the available bundles. - */ - bundles?: BundleList; - /** - * A token used for advancing to the next page of results from your get active names request. - */ - nextPageToken?: string; - } - export interface GetDomainRequest { - /** - * The domain name for which your want to return information about. - */ - domainName: DomainName; - } - export interface GetDomainResult { - /** - * An array of key-value pairs containing information about your get domain request. - */ - domain?: Domain; - } - export interface GetDomainsRequest { - /** - * A token used for advancing to the next page of results from your get domains request. - */ - pageToken?: string; - } - export interface GetDomainsResult { - /** - * An array of key-value pairs containing information about each of the domain entries in the user's account. - */ - domains?: DomainList; - /** - * A token used for advancing to the next page of results from your get active names request. - */ - nextPageToken?: string; - } - export interface GetInstanceAccessDetailsRequest { - /** - * The name of the instance to access. - */ - instanceName: ResourceName; - /** - * The protocol to use to connect to your instance. Defaults to ssh. - */ - protocol?: InstanceAccessProtocol; - } - export interface GetInstanceAccessDetailsResult { - /** - * An array of key-value pairs containing information about a get instance access request. - */ - accessDetails?: InstanceAccessDetails; - } - export interface GetInstanceMetricDataRequest { - /** - * The name of the instance for which you want to get metrics data. - */ - instanceName: ResourceName; - /** - * The metric name to get data about. - */ - metricName: InstanceMetricName; - /** - * The time period for which you are requesting data. - */ - period: MetricPeriod; - /** - * The start time of the time period. - */ - startTime: timestamp; - /** - * The end time of the time period. - */ - endTime: timestamp; - /** - * The unit. The list of valid values is below. - */ - unit: MetricUnit; - /** - * The instance statistics. - */ - statistics: MetricStatisticList; - } - export interface GetInstanceMetricDataResult { - /** - * The metric name to return data for. - */ - metricName?: InstanceMetricName; - /** - * An array of key-value pairs containing information about the results of your get instance metric data request. - */ - metricData?: MetricDatapointList; - } - export interface GetInstancePortStatesRequest { - /** - * The name of the instance. - */ - instanceName: ResourceName; - } - export interface GetInstancePortStatesResult { - /** - * Information about the port states resulting from your request. - */ - portStates?: InstancePortStateList; - } - export interface GetInstanceRequest { - /** - * The name of the instance. - */ - instanceName: ResourceName; - } - export interface GetInstanceResult { - /** - * An array of key-value pairs containing information about the specified instance. - */ - instance?: Instance; - } - export interface GetInstanceSnapshotRequest { - /** - * The name of the snapshot for which you are requesting information. - */ - instanceSnapshotName: ResourceName; - } - export interface GetInstanceSnapshotResult { - /** - * An array of key-value pairs containing information about the results of your get instance snapshot request. - */ - instanceSnapshot?: InstanceSnapshot; - } - export interface GetInstanceSnapshotsRequest { - /** - * A token used for advancing to the next page of results from your get instance snapshots request. - */ - pageToken?: string; - } - export interface GetInstanceSnapshotsResult { - /** - * An array of key-value pairs containing information about the results of your get instance snapshots request. - */ - instanceSnapshots?: InstanceSnapshotList; - /** - * A token used for advancing to the next page of results from your get instance snapshots request. - */ - nextPageToken?: string; - } - export interface GetInstanceStateRequest { - /** - * The name of the instance to get state information about. - */ - instanceName: ResourceName; - } - export interface GetInstanceStateResult { - /** - * The state of the instance. - */ - state?: InstanceState; - } - export interface GetInstancesRequest { - /** - * A token used for advancing to the next page of results from your get instances request. - */ - pageToken?: string; - } - export interface GetInstancesResult { - /** - * An array of key-value pairs containing information about your instances. - */ - instances?: InstanceList; - /** - * A token used for advancing to the next page of results from your get instances request. - */ - nextPageToken?: string; - } - export interface GetKeyPairRequest { - /** - * The name of the key pair for which you are requesting information. - */ - keyPairName: ResourceName; - } - export interface GetKeyPairResult { - /** - * An array of key-value pairs containing information about the key pair. - */ - keyPair?: KeyPair; - } - export interface GetKeyPairsRequest { - /** - * A token used for advancing to the next page of results from your get key pairs request. - */ - pageToken?: string; - } - export interface GetKeyPairsResult { - /** - * An array of key-value pairs containing information about the key pairs. - */ - keyPairs?: KeyPairList; - /** - * A token used for advancing to the next page of results from your get key pairs request. - */ - nextPageToken?: string; - } - export interface GetOperationRequest { - /** - * A GUID used to identify the operation. - */ - operationId: NonEmptyString; - } - export interface GetOperationResult { - /** - * An array of key-value pairs containing information about the results of your get operation request. - */ - operation?: Operation; - } - export interface GetOperationsForResourceRequest { - /** - * The name of the resource for which you are requesting information. - */ - resourceName: ResourceName; - /** - * A token used for advancing to the next page of results from your get operations for resource request. - */ - pageToken?: string; - } - export interface GetOperationsForResourceResult { - /** - * An array of key-value pairs containing information about the results of your get operations for resource request. - */ - operations?: OperationList; - /** - * (Deprecated) Returns the number of pages of results that remain. In releases prior to June 12, 2017, this parameter returned null by the API. It is now deprecated, and the API returns the nextPageToken parameter instead. - */ - nextPageCount?: string; - /** - * An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. - */ - nextPageToken?: string; - } - export interface GetOperationsRequest { - /** - * A token used for advancing to the next page of results from your get operations request. - */ - pageToken?: string; - } - export interface GetOperationsResult { - /** - * An array of key-value pairs containing information about the results of your get operations request. - */ - operations?: OperationList; - /** - * A token used for advancing to the next page of results from your get operations request. - */ - nextPageToken?: string; - } - export interface GetRegionsRequest { - /** - * A Boolean value indicating whether to also include Availability Zones in your get regions request. Availability Zones are indicated with a letter: e.g., us-east-1a. - */ - includeAvailabilityZones?: boolean; - } - export interface GetRegionsResult { - /** - * An array of key-value pairs containing information about your get regions request. - */ - regions?: RegionList; - } - export interface GetStaticIpRequest { - /** - * The name of the static IP in Lightsail. - */ - staticIpName: ResourceName; - } - export interface GetStaticIpResult { - /** - * An array of key-value pairs containing information about the requested static IP. - */ - staticIp?: StaticIp; - } - export interface GetStaticIpsRequest { - /** - * A token used for advancing to the next page of results from your get static IPs request. - */ - pageToken?: string; - } - export interface GetStaticIpsResult { - /** - * An array of key-value pairs containing information about your get static IPs request. - */ - staticIps?: StaticIpList; - /** - * A token used for advancing to the next page of results from your get static IPs request. - */ - nextPageToken?: string; - } - export interface ImportKeyPairRequest { - /** - * The name of the key pair for which you want to import the public key. - */ - keyPairName: ResourceName; - /** - * A base64-encoded public key of the ssh-rsa type. - */ - publicKeyBase64: Base64; - } - export interface ImportKeyPairResult { - /** - * An array of key-value pairs containing information about the request operation. - */ - operation?: Operation; - } - export interface Instance { - /** - * The name the user gave the instance (e.g., Amazon_Linux-1GB-Virginia-1). - */ - name?: ResourceName; - /** - * The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-1:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE). - */ - arn?: NonEmptyString; - /** - * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily. - */ - supportCode?: string; - /** - * The timestamp when the instance was created (e.g., 1479734909.17). - */ - createdAt?: IsoDate; - /** - * The region name and availability zone where the instance is located. - */ - location?: ResourceLocation; - /** - * The type of resource (usually Instance). - */ - resourceType?: ResourceType; - /** - * The blueprint ID (e.g., os_amlinux_2016_03). - */ - blueprintId?: NonEmptyString; - /** - * The friendly name of the blueprint (e.g., Amazon Linux). - */ - blueprintName?: NonEmptyString; - /** - * The bundle for the instance (e.g., micro_1_0). - */ - bundleId?: NonEmptyString; - /** - * A Boolean value indicating whether this instance has a static IP assigned to it. - */ - isStaticIp?: boolean; - /** - * The private IP address of the instance. - */ - privateIpAddress?: IpAddress; - /** - * The public IP address of the instance. - */ - publicIpAddress?: IpAddress; - /** - * The IPv6 address of the instance. - */ - ipv6Address?: IpV6Address; - /** - * The size of the vCPU and the amount of RAM for the instance. - */ - hardware?: InstanceHardware; - /** - * Information about the public ports and monthly data transfer rates for the instance. - */ - networking?: InstanceNetworking; - /** - * The status code and the state (e.g., running) for the instance. - */ - state?: InstanceState; - /** - * The user name for connecting to the instance (e.g., ec2-user). - */ - username?: NonEmptyString; - /** - * The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair). - */ - sshKeyName?: ResourceName; - } - export interface InstanceAccessDetails { - /** - * For SSH access, the public key to use when accessing your instance For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey-cert.pub. - */ - certKey?: string; - /** - * For SSH access, the date on which the temporary keys expire. - */ - expiresAt?: IsoDate; - /** - * The public IP address of the Amazon Lightsail instance. - */ - ipAddress?: IpAddress; - /** - * For RDP access, the temporary password of the Amazon EC2 instance. - */ - password?: string; - /** - * For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey). - */ - privateKey?: string; - /** - * The protocol for these Amazon Lightsail instance access details. - */ - protocol?: InstanceAccessProtocol; - /** - * The name of this Amazon Lightsail instance. - */ - instanceName?: ResourceName; - /** - * The user name to use when logging in to the Amazon Lightsail instance. - */ - username?: string; - } - export type InstanceAccessProtocol = "ssh"|"rdp"|string; - export interface InstanceHardware { - /** - * The number of vCPUs the instance has. - */ - cpuCount?: integer; - /** - * The disks attached to the instance. - */ - disks?: DiskList; - /** - * The amount of RAM in GB on the instance (e.g., 1.0). - */ - ramSizeInGb?: float; - } - export type InstanceList = Instance[]; - export type InstanceMetricName = "CPUUtilization"|"NetworkIn"|"NetworkOut"|"StatusCheckFailed"|"StatusCheckFailed_Instance"|"StatusCheckFailed_System"|string; - export interface InstanceNetworking { - /** - * The amount of data in GB allocated for monthly data transfers. - */ - monthlyTransfer?: MonthlyTransfer; - /** - * An array of key-value pairs containing information about the ports on the instance. - */ - ports?: InstancePortInfoList; - } - export interface InstancePortInfo { - /** - * The first port in the range. - */ - fromPort?: Port; - /** - * The last port in the range. - */ - toPort?: Port; - /** - * The protocol being used. Can be one of the following. tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of streamed data between applications running on hosts communicating by an IP network. If you have an application that doesn't require reliable data stream service, use UDP instead. all - All transport layer protocol types. For more general information, see Transport layer on Wikipedia. udp - With User Datagram Protocol (UDP), computer applications can send messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior communications are not required to set up transmission channels or data paths. Applications that don't require reliable data stream service can use UDP, which provides a connectionless datagram service that emphasizes reduced latency over reliability. If you do require reliable data stream service, use TCP instead. - */ - protocol?: NetworkProtocol; - /** - * The location from which access is allowed (e.g., Anywhere (0.0.0.0/0)). - */ - accessFrom?: string; - /** - * The type of access (Public or Private). - */ - accessType?: PortAccessType; - /** - * The common name. - */ - commonName?: string; - /** - * The access direction (inbound or outbound). - */ - accessDirection?: AccessDirection; - } - export type InstancePortInfoList = InstancePortInfo[]; - export interface InstancePortState { - /** - * The first port in the range. - */ - fromPort?: Port; - /** - * The last port in the range. - */ - toPort?: Port; - /** - * The protocol being used. Can be one of the following. tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of streamed data between applications running on hosts communicating by an IP network. If you have an application that doesn't require reliable data stream service, use UDP instead. all - All transport layer protocol types. For more general information, see Transport layer on Wikipedia. udp - With User Datagram Protocol (UDP), computer applications can send messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior communications are not required to set up transmission channels or data paths. Applications that don't require reliable data stream service can use UDP, which provides a connectionless datagram service that emphasizes reduced latency over reliability. If you do require reliable data stream service, use TCP instead. - */ - protocol?: NetworkProtocol; - /** - * Specifies whether the instance port is open or closed. - */ - state?: PortState; - } - export type InstancePortStateList = InstancePortState[]; - export interface InstanceSnapshot { - /** - * The name of the snapshot. - */ - name?: ResourceName; - /** - * The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-1:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE). - */ - arn?: NonEmptyString; - /** - * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily. - */ - supportCode?: string; - /** - * The timestamp when the snapshot was created (e.g., 1479907467.024). - */ - createdAt?: IsoDate; - /** - * The region name and availability zone where you created the snapshot. - */ - location?: ResourceLocation; - /** - * The type of resource (usually InstanceSnapshot). - */ - resourceType?: ResourceType; - /** - * The state the snapshot is in. - */ - state?: InstanceSnapshotState; - /** - * The progress of the snapshot. - */ - progress?: string; - /** - * The instance from which the snapshot was created. - */ - fromInstanceName?: ResourceName; - /** - * The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., arn:aws:lightsail:us-east-1:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE). - */ - fromInstanceArn?: NonEmptyString; - /** - * The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). A blueprint is a virtual private server (or instance) image used to create instances quickly. - */ - fromBlueprintId?: string; - /** - * The bundle ID from which you created the snapshot (e.g., micro_1_0). - */ - fromBundleId?: string; - /** - * The size in GB of the SSD. - */ - sizeInGb?: integer; - } - export type InstanceSnapshotList = InstanceSnapshot[]; - export type InstanceSnapshotState = "pending"|"error"|"available"|string; - export interface InstanceState { - /** - * The status code for the instance. - */ - code?: integer; - /** - * The state of the instance (e.g., running or pending). - */ - name?: string; - } - export type IpAddress = string; - export type IpV6Address = string; - export interface IsVpcPeeredRequest { - } - export interface IsVpcPeeredResult { - /** - * Returns true if the Lightsail VPC is peered; otherwise, false. - */ - isPeered?: boolean; - } - export type IsoDate = Date; - export interface KeyPair { - /** - * The friendly name of the SSH key pair. - */ - name?: ResourceName; - /** - * The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-1:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE). - */ - arn?: NonEmptyString; - /** - * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily. - */ - supportCode?: string; - /** - * The timestamp when the key pair was created (e.g., 1479816991.349). - */ - createdAt?: IsoDate; - /** - * The region name and Availability Zone where the key pair was created. - */ - location?: ResourceLocation; - /** - * The resource type (usually KeyPair). - */ - resourceType?: ResourceType; - /** - * The RSA fingerprint of the key pair. - */ - fingerprint?: Base64; - } - export type KeyPairList = KeyPair[]; - export interface MetricDatapoint { - /** - * The average. - */ - average?: double; - /** - * The maximum. - */ - maximum?: double; - /** - * The minimum. - */ - minimum?: double; - /** - * The sample count. - */ - sampleCount?: double; - /** - * The sum. - */ - sum?: double; - /** - * The timestamp (e.g., 1479816991.349). - */ - timestamp?: timestamp; - /** - * The unit. - */ - unit?: MetricUnit; - } - export type MetricDatapointList = MetricDatapoint[]; - export type MetricPeriod = number; - export type MetricStatistic = "Minimum"|"Maximum"|"Sum"|"Average"|"SampleCount"|string; - export type MetricStatisticList = MetricStatistic[]; - export type MetricUnit = "Seconds"|"Microseconds"|"Milliseconds"|"Bytes"|"Kilobytes"|"Megabytes"|"Gigabytes"|"Terabytes"|"Bits"|"Kilobits"|"Megabits"|"Gigabits"|"Terabits"|"Percent"|"Count"|"Bytes/Second"|"Kilobytes/Second"|"Megabytes/Second"|"Gigabytes/Second"|"Terabytes/Second"|"Bits/Second"|"Kilobits/Second"|"Megabits/Second"|"Gigabits/Second"|"Terabits/Second"|"Count/Second"|"None"|string; - export interface MonthlyTransfer { - /** - * The amount allocated per month (in GB). - */ - gbPerMonthAllocated?: integer; - } - export type NetworkProtocol = "tcp"|"all"|"udp"|string; - export type NonEmptyString = string; - export interface OpenInstancePublicPortsRequest { - /** - * An array of key-value pairs containing information about the port mappings. - */ - portInfo: PortInfo; - /** - * The name of the instance for which you want to open the public ports. - */ - instanceName: ResourceName; - } - export interface OpenInstancePublicPortsResult { - /** - * An array of key-value pairs containing information about the request operation. - */ - operation?: Operation; - } - export interface Operation { - /** - * The ID of the operation. - */ - id?: NonEmptyString; - /** - * The resource name. - */ - resourceName?: ResourceName; - /** - * The resource type. - */ - resourceType?: ResourceType; - /** - * The timestamp when the operation was initialized (e.g., 1479816991.349). - */ - createdAt?: IsoDate; - /** - * The region and Availability Zone. - */ - location?: ResourceLocation; - /** - * A Boolean value indicating whether the operation is terminal. - */ - isTerminal?: boolean; - /** - * Details about the operation (e.g., Debian-1GB-Virginia-1). - */ - operationDetails?: string; - /** - * The type of operation. - */ - operationType?: OperationType; - /** - * The status of the operation. - */ - status?: OperationStatus; - /** - * The timestamp when the status was changed (e.g., 1479816991.349). - */ - statusChangedAt?: IsoDate; - /** - * The error code. - */ - errorCode?: string; - /** - * The error details. - */ - errorDetails?: string; - } - export type OperationList = Operation[]; - export type OperationStatus = "NotStarted"|"Started"|"Failed"|"Completed"|string; - export type OperationType = "DeleteInstance"|"CreateInstance"|"StopInstance"|"StartInstance"|"RebootInstance"|"OpenInstancePublicPorts"|"PutInstancePublicPorts"|"CloseInstancePublicPorts"|"AllocateStaticIp"|"ReleaseStaticIp"|"AttachStaticIp"|"DetachStaticIp"|"UpdateDomainEntry"|"DeleteDomainEntry"|"CreateDomain"|"DeleteDomain"|"CreateInstanceSnapshot"|"DeleteInstanceSnapshot"|"CreateInstancesFromSnapshot"|string; - export interface PeerVpcRequest { - } - export interface PeerVpcResult { - /** - * An array of key-value pairs containing information about the request operation. - */ - operation?: Operation; - } - export type Port = number; - export type PortAccessType = "Public"|"Private"|string; - export interface PortInfo { - /** - * The first port in the range. - */ - fromPort?: Port; - /** - * The last port in the range. - */ - toPort?: Port; - /** - * The protocol. - */ - protocol?: NetworkProtocol; - } - export type PortInfoList = PortInfo[]; - export type PortState = "open"|"closed"|string; - export interface PutInstancePublicPortsRequest { - /** - * Specifies information about the public port(s). - */ - portInfos: PortInfoList; - /** - * The Lightsail instance name of the public port(s) you are setting. - */ - instanceName: ResourceName; - } - export interface PutInstancePublicPortsResult { - /** - * Describes metadata about the operation you just executed. - */ - operation?: Operation; - } - export interface RebootInstanceRequest { - /** - * The name of the instance to reboot. - */ - instanceName: ResourceName; - } - export interface RebootInstanceResult { - /** - * An array of key-value pairs containing information about the request operation. - */ - operations?: OperationList; - } - export interface Region { - /** - * The continent code (e.g., NA, meaning North America). - */ - continentCode?: string; - /** - * The description of the AWS Region (e.g., This region is recommended to serve users in the eastern United States and eastern Canada). - */ - description?: string; - /** - * The display name (e.g., Virginia). - */ - displayName?: string; - /** - * The region name (e.g., us-east-1). - */ - name?: RegionName; - /** - * The Availability Zones. Follows the format us-east-1a (case-sensitive). - */ - availabilityZones?: AvailabilityZoneList; - } - export type RegionList = Region[]; - export type RegionName = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"eu-west-1"|"eu-central-1"|"ap-south-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"ap-northeast-2"|string; - export interface ReleaseStaticIpRequest { - /** - * The name of the static IP to delete. - */ - staticIpName: ResourceName; - } - export interface ReleaseStaticIpResult { - /** - * An array of key-value pairs containing information about the request operation. - */ - operations?: OperationList; - } - export interface ResourceLocation { - /** - * The Availability Zone. Follows the format us-east-1a (case-sensitive). - */ - availabilityZone?: string; - /** - * The AWS Region name. - */ - regionName?: RegionName; - } - export type ResourceName = string; - export type ResourceType = "Instance"|"StaticIp"|"KeyPair"|"InstanceSnapshot"|"Domain"|"PeeredVpc"|string; - export interface StartInstanceRequest { - /** - * The name of the instance (a virtual private server) to start. - */ - instanceName: ResourceName; - } - export interface StartInstanceResult { - /** - * An array of key-value pairs containing information about the request operation. - */ - operations?: OperationList; - } - export interface StaticIp { - /** - * The name of the static IP (e.g., StaticIP-Virginia-EXAMPLE). - */ - name?: ResourceName; - /** - * The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE). - */ - arn?: NonEmptyString; - /** - * The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily. - */ - supportCode?: string; - /** - * The timestamp when the static IP was created (e.g., 1479735304.222). - */ - createdAt?: IsoDate; - /** - * The region and Availability Zone where the static IP was created. - */ - location?: ResourceLocation; - /** - * The resource type (usually StaticIp). - */ - resourceType?: ResourceType; - /** - * The static IP address. - */ - ipAddress?: IpAddress; - /** - * The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Virginia-1). - */ - attachedTo?: ResourceName; - /** - * A Boolean value indicating whether the static IP is attached. - */ - isAttached?: boolean; - } - export type StaticIpList = StaticIp[]; - export interface StopInstanceRequest { - /** - * The name of the instance (a virtual private server) to stop. - */ - instanceName: ResourceName; - } - export interface StopInstanceResult { - /** - * An array of key-value pairs containing information about the request operation. - */ - operations?: OperationList; - } - export type StringList = string[]; - export interface UnpeerVpcRequest { - } - export interface UnpeerVpcResult { - /** - * An array of key-value pairs containing information about the request operation. - */ - operation?: Operation; - } - export interface UpdateDomainEntryRequest { - /** - * The name of the domain recordset to update. - */ - domainName: DomainName; - /** - * An array of key-value pairs containing information about the domain entry. - */ - domainEntry: DomainEntry; - } - export interface UpdateDomainEntryResult { - /** - * An array of key-value pairs containing information about the request operation. - */ - operations?: OperationList; - } - export type double = number; - export type float = number; - export type integer = number; - export type timestamp = Date; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-11-28"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Lightsail client. - */ - export import Types = Lightsail; -} -export = Lightsail; diff --git a/src/node_modules/aws-sdk/clients/lightsail.js b/src/node_modules/aws-sdk/clients/lightsail.js deleted file mode 100644 index 16743f1..0000000 --- a/src/node_modules/aws-sdk/clients/lightsail.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['lightsail'] = {}; -AWS.Lightsail = Service.defineService('lightsail', ['2016-11-28']); -Object.defineProperty(apiLoader.services['lightsail'], '2016-11-28', { - get: function get() { - var model = require('../apis/lightsail-2016-11-28.min.json'); - model.paginators = require('../apis/lightsail-2016-11-28.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Lightsail; diff --git a/src/node_modules/aws-sdk/clients/machinelearning.d.ts b/src/node_modules/aws-sdk/clients/machinelearning.d.ts deleted file mode 100644 index 5bed74e..0000000 --- a/src/node_modules/aws-sdk/clients/machinelearning.d.ts +++ /dev/null @@ -1,1708 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class MachineLearning extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: MachineLearning.Types.ClientConfiguration) - config: Config & MachineLearning.Types.ClientConfiguration; - /** - * Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key and an optional value. If you add a tag using a key that is already associated with the ML object, AddTags updates the tag's value. - */ - addTags(params: MachineLearning.Types.AddTagsInput, callback?: (err: AWSError, data: MachineLearning.Types.AddTagsOutput) => void): Request; - /** - * Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key and an optional value. If you add a tag using a key that is already associated with the ML object, AddTags updates the tag's value. - */ - addTags(callback?: (err: AWSError, data: MachineLearning.Types.AddTagsOutput) => void): Request; - /** - * Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a DataSource. This operation creates a new BatchPrediction, and uses an MLModel and the data files referenced by the DataSource as information sources. CreateBatchPrediction is an asynchronous operation. In response to CreateBatchPrediction, Amazon Machine Learning (Amazon ML) immediately returns and sets the BatchPrediction status to PENDING. After the BatchPrediction completes, Amazon ML sets the status to COMPLETED. You can poll for status updates by using the GetBatchPrediction operation and checking the Status parameter of the result. After the COMPLETED status appears, the results are available in the location specified by the OutputUri parameter. - */ - createBatchPrediction(params: MachineLearning.Types.CreateBatchPredictionInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateBatchPredictionOutput) => void): Request; - /** - * Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a DataSource. This operation creates a new BatchPrediction, and uses an MLModel and the data files referenced by the DataSource as information sources. CreateBatchPrediction is an asynchronous operation. In response to CreateBatchPrediction, Amazon Machine Learning (Amazon ML) immediately returns and sets the BatchPrediction status to PENDING. After the BatchPrediction completes, Amazon ML sets the status to COMPLETED. You can poll for status updates by using the GetBatchPrediction operation and checking the Status parameter of the result. After the COMPLETED status appears, the results are available in the location specified by the OutputUri parameter. - */ - createBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.CreateBatchPredictionOutput) => void): Request; - /** - * Creates a DataSource object from an Amazon Relational Database Service (Amazon RDS). A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromRDS is an asynchronous operation. In response to CreateDataSourceFromRDS, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used only to perform >CreateMLModel>, CreateEvaluation, or CreateBatchPrediction operations. If Amazon ML cannot accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response. - */ - createDataSourceFromRDS(params: MachineLearning.Types.CreateDataSourceFromRDSInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRDSOutput) => void): Request; - /** - * Creates a DataSource object from an Amazon Relational Database Service (Amazon RDS). A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromRDS is an asynchronous operation. In response to CreateDataSourceFromRDS, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used only to perform >CreateMLModel>, CreateEvaluation, or CreateBatchPrediction operations. If Amazon ML cannot accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response. - */ - createDataSourceFromRDS(callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRDSOutput) => void): Request; - /** - * Creates a DataSource from a database hosted on an Amazon Redshift cluster. A DataSource references data that can be used to perform either CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromRedshift is an asynchronous operation. In response to CreateDataSourceFromRedshift, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in COMPLETED or PENDING states can be used to perform only CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response. The observations should be contained in the database hosted on an Amazon Redshift cluster and should be specified by a SelectSqlQuery query. Amazon ML executes an Unload command in Amazon Redshift to transfer the result set of the SelectSqlQuery query to S3StagingLocation. After the DataSource has been created, it's ready for use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also requires a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions. You can't change an existing datasource, but you can copy and modify the settings from an existing Amazon Redshift datasource to create a new datasource. To do so, call GetDataSource for an existing datasource and copy the values to a CreateDataSource call. Change the settings that you want to change and make sure that all required fields have the appropriate values. - */ - createDataSourceFromRedshift(params: MachineLearning.Types.CreateDataSourceFromRedshiftInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRedshiftOutput) => void): Request; - /** - * Creates a DataSource from a database hosted on an Amazon Redshift cluster. A DataSource references data that can be used to perform either CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromRedshift is an asynchronous operation. In response to CreateDataSourceFromRedshift, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in COMPLETED or PENDING states can be used to perform only CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response. The observations should be contained in the database hosted on an Amazon Redshift cluster and should be specified by a SelectSqlQuery query. Amazon ML executes an Unload command in Amazon Redshift to transfer the result set of the SelectSqlQuery query to S3StagingLocation. After the DataSource has been created, it's ready for use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also requires a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions. You can't change an existing datasource, but you can copy and modify the settings from an existing Amazon Redshift datasource to create a new datasource. To do so, call GetDataSource for an existing datasource and copy the values to a CreateDataSource call. Change the settings that you want to change and make sure that all required fields have the appropriate values. - */ - createDataSourceFromRedshift(callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRedshiftOutput) => void): Request; - /** - * Creates a DataSource object. A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromS3 is an asynchronous operation. In response to CreateDataSourceFromS3, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource has been created and is ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used to perform only CreateMLModel, CreateEvaluation or CreateBatchPrediction operations. If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response. The observation data used in a DataSource should be ready to use; that is, it should have a consistent structure, and missing data values should be kept to a minimum. The observation data must reside in one or more .csv files in an Amazon Simple Storage Service (Amazon S3) location, along with a schema that describes the data items by name and type. The same schema must be used for all of the data files referenced by the DataSource. After the DataSource has been created, it's ready to use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also needs a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions. - */ - createDataSourceFromS3(params: MachineLearning.Types.CreateDataSourceFromS3Input, callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromS3Output) => void): Request; - /** - * Creates a DataSource object. A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromS3 is an asynchronous operation. In response to CreateDataSourceFromS3, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource has been created and is ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used to perform only CreateMLModel, CreateEvaluation or CreateBatchPrediction operations. If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response. The observation data used in a DataSource should be ready to use; that is, it should have a consistent structure, and missing data values should be kept to a minimum. The observation data must reside in one or more .csv files in an Amazon Simple Storage Service (Amazon S3) location, along with a schema that describes the data items by name and type. The same schema must be used for all of the data files referenced by the DataSource. After the DataSource has been created, it's ready to use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also needs a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions. - */ - createDataSourceFromS3(callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromS3Output) => void): Request; - /** - * Creates a new Evaluation of an MLModel. An MLModel is evaluated on a set of observations associated to a DataSource. Like a DataSource for an MLModel, the DataSource for an Evaluation contains values for the Target Variable. The Evaluation compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective the MLModel functions on the test data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding MLModelType: BINARY, REGRESSION or MULTICLASS. CreateEvaluation is an asynchronous operation. In response to CreateEvaluation, Amazon Machine Learning (Amazon ML) immediately returns and sets the evaluation status to PENDING. After the Evaluation is created and ready for use, Amazon ML sets the status to COMPLETED. You can use the GetEvaluation operation to check progress of the evaluation during the creation operation. - */ - createEvaluation(params: MachineLearning.Types.CreateEvaluationInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateEvaluationOutput) => void): Request; - /** - * Creates a new Evaluation of an MLModel. An MLModel is evaluated on a set of observations associated to a DataSource. Like a DataSource for an MLModel, the DataSource for an Evaluation contains values for the Target Variable. The Evaluation compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective the MLModel functions on the test data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding MLModelType: BINARY, REGRESSION or MULTICLASS. CreateEvaluation is an asynchronous operation. In response to CreateEvaluation, Amazon Machine Learning (Amazon ML) immediately returns and sets the evaluation status to PENDING. After the Evaluation is created and ready for use, Amazon ML sets the status to COMPLETED. You can use the GetEvaluation operation to check progress of the evaluation during the creation operation. - */ - createEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.CreateEvaluationOutput) => void): Request; - /** - * Creates a new MLModel using the DataSource and the recipe as information sources. An MLModel is nearly immutable. Users can update only the MLModelName and the ScoreThreshold in an MLModel without creating a new MLModel. CreateMLModel is an asynchronous operation. In response to CreateMLModel, Amazon Machine Learning (Amazon ML) immediately returns and sets the MLModel status to PENDING. After the MLModel has been created and ready is for use, Amazon ML sets the status to COMPLETED. You can use the GetMLModel operation to check the progress of the MLModel during the creation operation. CreateMLModel requires a DataSource with computed statistics, which can be created by setting ComputeStatistics to true in CreateDataSourceFromRDS, CreateDataSourceFromS3, or CreateDataSourceFromRedshift operations. - */ - createMLModel(params: MachineLearning.Types.CreateMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateMLModelOutput) => void): Request; - /** - * Creates a new MLModel using the DataSource and the recipe as information sources. An MLModel is nearly immutable. Users can update only the MLModelName and the ScoreThreshold in an MLModel without creating a new MLModel. CreateMLModel is an asynchronous operation. In response to CreateMLModel, Amazon Machine Learning (Amazon ML) immediately returns and sets the MLModel status to PENDING. After the MLModel has been created and ready is for use, Amazon ML sets the status to COMPLETED. You can use the GetMLModel operation to check the progress of the MLModel during the creation operation. CreateMLModel requires a DataSource with computed statistics, which can be created by setting ComputeStatistics to true in CreateDataSourceFromRDS, CreateDataSourceFromS3, or CreateDataSourceFromRedshift operations. - */ - createMLModel(callback?: (err: AWSError, data: MachineLearning.Types.CreateMLModelOutput) => void): Request; - /** - * Creates a real-time endpoint for the MLModel. The endpoint contains the URI of the MLModel; that is, the location to send real-time prediction requests for the specified MLModel. - */ - createRealtimeEndpoint(params: MachineLearning.Types.CreateRealtimeEndpointInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateRealtimeEndpointOutput) => void): Request; - /** - * Creates a real-time endpoint for the MLModel. The endpoint contains the URI of the MLModel; that is, the location to send real-time prediction requests for the specified MLModel. - */ - createRealtimeEndpoint(callback?: (err: AWSError, data: MachineLearning.Types.CreateRealtimeEndpointOutput) => void): Request; - /** - * Assigns the DELETED status to a BatchPrediction, rendering it unusable. After using the DeleteBatchPrediction operation, you can use the GetBatchPrediction operation to verify that the status of the BatchPrediction changed to DELETED. Caution: The result of the DeleteBatchPrediction operation is irreversible. - */ - deleteBatchPrediction(params: MachineLearning.Types.DeleteBatchPredictionInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteBatchPredictionOutput) => void): Request; - /** - * Assigns the DELETED status to a BatchPrediction, rendering it unusable. After using the DeleteBatchPrediction operation, you can use the GetBatchPrediction operation to verify that the status of the BatchPrediction changed to DELETED. Caution: The result of the DeleteBatchPrediction operation is irreversible. - */ - deleteBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.DeleteBatchPredictionOutput) => void): Request; - /** - * Assigns the DELETED status to a DataSource, rendering it unusable. After using the DeleteDataSource operation, you can use the GetDataSource operation to verify that the status of the DataSource changed to DELETED. Caution: The results of the DeleteDataSource operation are irreversible. - */ - deleteDataSource(params: MachineLearning.Types.DeleteDataSourceInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteDataSourceOutput) => void): Request; - /** - * Assigns the DELETED status to a DataSource, rendering it unusable. After using the DeleteDataSource operation, you can use the GetDataSource operation to verify that the status of the DataSource changed to DELETED. Caution: The results of the DeleteDataSource operation are irreversible. - */ - deleteDataSource(callback?: (err: AWSError, data: MachineLearning.Types.DeleteDataSourceOutput) => void): Request; - /** - * Assigns the DELETED status to an Evaluation, rendering it unusable. After invoking the DeleteEvaluation operation, you can use the GetEvaluation operation to verify that the status of the Evaluation changed to DELETED. Caution The results of the DeleteEvaluation operation are irreversible. - */ - deleteEvaluation(params: MachineLearning.Types.DeleteEvaluationInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteEvaluationOutput) => void): Request; - /** - * Assigns the DELETED status to an Evaluation, rendering it unusable. After invoking the DeleteEvaluation operation, you can use the GetEvaluation operation to verify that the status of the Evaluation changed to DELETED. Caution The results of the DeleteEvaluation operation are irreversible. - */ - deleteEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.DeleteEvaluationOutput) => void): Request; - /** - * Assigns the DELETED status to an MLModel, rendering it unusable. After using the DeleteMLModel operation, you can use the GetMLModel operation to verify that the status of the MLModel changed to DELETED. Caution: The result of the DeleteMLModel operation is irreversible. - */ - deleteMLModel(params: MachineLearning.Types.DeleteMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteMLModelOutput) => void): Request; - /** - * Assigns the DELETED status to an MLModel, rendering it unusable. After using the DeleteMLModel operation, you can use the GetMLModel operation to verify that the status of the MLModel changed to DELETED. Caution: The result of the DeleteMLModel operation is irreversible. - */ - deleteMLModel(callback?: (err: AWSError, data: MachineLearning.Types.DeleteMLModelOutput) => void): Request; - /** - * Deletes a real time endpoint of an MLModel. - */ - deleteRealtimeEndpoint(params: MachineLearning.Types.DeleteRealtimeEndpointInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteRealtimeEndpointOutput) => void): Request; - /** - * Deletes a real time endpoint of an MLModel. - */ - deleteRealtimeEndpoint(callback?: (err: AWSError, data: MachineLearning.Types.DeleteRealtimeEndpointOutput) => void): Request; - /** - * Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags. If you specify a tag that doesn't exist, Amazon ML ignores it. - */ - deleteTags(params: MachineLearning.Types.DeleteTagsInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteTagsOutput) => void): Request; - /** - * Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags. If you specify a tag that doesn't exist, Amazon ML ignores it. - */ - deleteTags(callback?: (err: AWSError, data: MachineLearning.Types.DeleteTagsOutput) => void): Request; - /** - * Returns a list of BatchPrediction operations that match the search criteria in the request. - */ - describeBatchPredictions(params: MachineLearning.Types.DescribeBatchPredictionsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeBatchPredictionsOutput) => void): Request; - /** - * Returns a list of BatchPrediction operations that match the search criteria in the request. - */ - describeBatchPredictions(callback?: (err: AWSError, data: MachineLearning.Types.DescribeBatchPredictionsOutput) => void): Request; - /** - * Returns a list of DataSource that match the search criteria in the request. - */ - describeDataSources(params: MachineLearning.Types.DescribeDataSourcesInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeDataSourcesOutput) => void): Request; - /** - * Returns a list of DataSource that match the search criteria in the request. - */ - describeDataSources(callback?: (err: AWSError, data: MachineLearning.Types.DescribeDataSourcesOutput) => void): Request; - /** - * Returns a list of DescribeEvaluations that match the search criteria in the request. - */ - describeEvaluations(params: MachineLearning.Types.DescribeEvaluationsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeEvaluationsOutput) => void): Request; - /** - * Returns a list of DescribeEvaluations that match the search criteria in the request. - */ - describeEvaluations(callback?: (err: AWSError, data: MachineLearning.Types.DescribeEvaluationsOutput) => void): Request; - /** - * Returns a list of MLModel that match the search criteria in the request. - */ - describeMLModels(params: MachineLearning.Types.DescribeMLModelsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeMLModelsOutput) => void): Request; - /** - * Returns a list of MLModel that match the search criteria in the request. - */ - describeMLModels(callback?: (err: AWSError, data: MachineLearning.Types.DescribeMLModelsOutput) => void): Request; - /** - * Describes one or more of the tags for your Amazon ML object. - */ - describeTags(params: MachineLearning.Types.DescribeTagsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeTagsOutput) => void): Request; - /** - * Describes one or more of the tags for your Amazon ML object. - */ - describeTags(callback?: (err: AWSError, data: MachineLearning.Types.DescribeTagsOutput) => void): Request; - /** - * Returns a BatchPrediction that includes detailed metadata, status, and data file information for a Batch Prediction request. - */ - getBatchPrediction(params: MachineLearning.Types.GetBatchPredictionInput, callback?: (err: AWSError, data: MachineLearning.Types.GetBatchPredictionOutput) => void): Request; - /** - * Returns a BatchPrediction that includes detailed metadata, status, and data file information for a Batch Prediction request. - */ - getBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.GetBatchPredictionOutput) => void): Request; - /** - * Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource. GetDataSource provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format. - */ - getDataSource(params: MachineLearning.Types.GetDataSourceInput, callback?: (err: AWSError, data: MachineLearning.Types.GetDataSourceOutput) => void): Request; - /** - * Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource. GetDataSource provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format. - */ - getDataSource(callback?: (err: AWSError, data: MachineLearning.Types.GetDataSourceOutput) => void): Request; - /** - * Returns an Evaluation that includes metadata as well as the current status of the Evaluation. - */ - getEvaluation(params: MachineLearning.Types.GetEvaluationInput, callback?: (err: AWSError, data: MachineLearning.Types.GetEvaluationOutput) => void): Request; - /** - * Returns an Evaluation that includes metadata as well as the current status of the Evaluation. - */ - getEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.GetEvaluationOutput) => void): Request; - /** - * Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel. GetMLModel provides results in normal or verbose format. - */ - getMLModel(params: MachineLearning.Types.GetMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.GetMLModelOutput) => void): Request; - /** - * Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel. GetMLModel provides results in normal or verbose format. - */ - getMLModel(callback?: (err: AWSError, data: MachineLearning.Types.GetMLModelOutput) => void): Request; - /** - * Generates a prediction for the observation using the specified ML Model. Note Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested. - */ - predict(params: MachineLearning.Types.PredictInput, callback?: (err: AWSError, data: MachineLearning.Types.PredictOutput) => void): Request; - /** - * Generates a prediction for the observation using the specified ML Model. Note Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested. - */ - predict(callback?: (err: AWSError, data: MachineLearning.Types.PredictOutput) => void): Request; - /** - * Updates the BatchPredictionName of a BatchPrediction. You can use the GetBatchPrediction operation to view the contents of the updated data element. - */ - updateBatchPrediction(params: MachineLearning.Types.UpdateBatchPredictionInput, callback?: (err: AWSError, data: MachineLearning.Types.UpdateBatchPredictionOutput) => void): Request; - /** - * Updates the BatchPredictionName of a BatchPrediction. You can use the GetBatchPrediction operation to view the contents of the updated data element. - */ - updateBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.UpdateBatchPredictionOutput) => void): Request; - /** - * Updates the DataSourceName of a DataSource. You can use the GetDataSource operation to view the contents of the updated data element. - */ - updateDataSource(params: MachineLearning.Types.UpdateDataSourceInput, callback?: (err: AWSError, data: MachineLearning.Types.UpdateDataSourceOutput) => void): Request; - /** - * Updates the DataSourceName of a DataSource. You can use the GetDataSource operation to view the contents of the updated data element. - */ - updateDataSource(callback?: (err: AWSError, data: MachineLearning.Types.UpdateDataSourceOutput) => void): Request; - /** - * Updates the EvaluationName of an Evaluation. You can use the GetEvaluation operation to view the contents of the updated data element. - */ - updateEvaluation(params: MachineLearning.Types.UpdateEvaluationInput, callback?: (err: AWSError, data: MachineLearning.Types.UpdateEvaluationOutput) => void): Request; - /** - * Updates the EvaluationName of an Evaluation. You can use the GetEvaluation operation to view the contents of the updated data element. - */ - updateEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.UpdateEvaluationOutput) => void): Request; - /** - * Updates the MLModelName and the ScoreThreshold of an MLModel. You can use the GetMLModel operation to view the contents of the updated data element. - */ - updateMLModel(params: MachineLearning.Types.UpdateMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.UpdateMLModelOutput) => void): Request; - /** - * Updates the MLModelName and the ScoreThreshold of an MLModel. You can use the GetMLModel operation to view the contents of the updated data element. - */ - updateMLModel(callback?: (err: AWSError, data: MachineLearning.Types.UpdateMLModelOutput) => void): Request; - /** - * Waits for the dataSourceAvailable state by periodically calling the underlying MachineLearning.describeDataSourcesoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "dataSourceAvailable", params: MachineLearning.Types.DescribeDataSourcesInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeDataSourcesOutput) => void): Request; - /** - * Waits for the dataSourceAvailable state by periodically calling the underlying MachineLearning.describeDataSourcesoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "dataSourceAvailable", callback?: (err: AWSError, data: MachineLearning.Types.DescribeDataSourcesOutput) => void): Request; - /** - * Waits for the mLModelAvailable state by periodically calling the underlying MachineLearning.describeMLModelsoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "mLModelAvailable", params: MachineLearning.Types.DescribeMLModelsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeMLModelsOutput) => void): Request; - /** - * Waits for the mLModelAvailable state by periodically calling the underlying MachineLearning.describeMLModelsoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "mLModelAvailable", callback?: (err: AWSError, data: MachineLearning.Types.DescribeMLModelsOutput) => void): Request; - /** - * Waits for the evaluationAvailable state by periodically calling the underlying MachineLearning.describeEvaluationsoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "evaluationAvailable", params: MachineLearning.Types.DescribeEvaluationsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeEvaluationsOutput) => void): Request; - /** - * Waits for the evaluationAvailable state by periodically calling the underlying MachineLearning.describeEvaluationsoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "evaluationAvailable", callback?: (err: AWSError, data: MachineLearning.Types.DescribeEvaluationsOutput) => void): Request; - /** - * Waits for the batchPredictionAvailable state by periodically calling the underlying MachineLearning.describeBatchPredictionsoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "batchPredictionAvailable", params: MachineLearning.Types.DescribeBatchPredictionsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeBatchPredictionsOutput) => void): Request; - /** - * Waits for the batchPredictionAvailable state by periodically calling the underlying MachineLearning.describeBatchPredictionsoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "batchPredictionAvailable", callback?: (err: AWSError, data: MachineLearning.Types.DescribeBatchPredictionsOutput) => void): Request; -} -declare namespace MachineLearning { - export interface AddTagsInput { - /** - * The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML creates a tag with the specified key and a value of null. - */ - Tags: TagList; - /** - * The ID of the ML object to tag. For example, exampleModelId. - */ - ResourceId: EntityId; - /** - * The type of the ML object to tag. - */ - ResourceType: TaggableResourceType; - } - export interface AddTagsOutput { - /** - * The ID of the ML object that was tagged. - */ - ResourceId?: EntityId; - /** - * The type of the ML object that was tagged. - */ - ResourceType?: TaggableResourceType; - } - export type Algorithm = "sgd"|string; - export type AwsUserArn = string; - export interface BatchPrediction { - /** - * The ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request. - */ - BatchPredictionId?: EntityId; - /** - * The ID of the MLModel that generated predictions for the BatchPrediction request. - */ - MLModelId?: EntityId; - /** - * The ID of the DataSource that points to the group of observations to predict. - */ - BatchPredictionDataSourceId?: EntityId; - /** - * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3). - */ - InputDataLocationS3?: S3Url; - /** - * The AWS user account that invoked the BatchPrediction. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account. - */ - CreatedByIamUser?: AwsUserArn; - /** - * The time that the BatchPrediction was created. The time is expressed in epoch time. - */ - CreatedAt?: EpochTime; - /** - * The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time. - */ - LastUpdatedAt?: EpochTime; - /** - * A user-supplied name or description of the BatchPrediction. - */ - Name?: EntityName; - /** - * The status of the BatchPrediction. This element can have one of the following values: PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a batch of observations. INPROGRESS - The process is underway. FAILED - The request to perform a batch prediction did not run to completion. It is not usable. COMPLETED - The batch prediction process completed successfully. DELETED - The BatchPrediction is marked as deleted. It is not usable. - */ - Status?: EntityStatus; - /** - * The location of an Amazon S3 bucket or directory to receive the operation results. The following substrings are not allowed in the s3 key portion of the outputURI field: ':', '//', '/./', '/../'. - */ - OutputUri?: S3Url; - /** - * A description of the most recent details about processing the batch prediction request. - */ - Message?: Message; - ComputeTime?: LongType; - FinishedAt?: EpochTime; - StartedAt?: EpochTime; - TotalRecordCount?: LongType; - InvalidRecordCount?: LongType; - } - export type BatchPredictionFilterVariable = "CreatedAt"|"LastUpdatedAt"|"Status"|"Name"|"IAMUser"|"MLModelId"|"DataSourceId"|"DataURI"|string; - export type BatchPredictions = BatchPrediction[]; - export type ComparatorValue = string; - export type ComputeStatistics = boolean; - export interface CreateBatchPredictionInput { - /** - * A user-supplied ID that uniquely identifies the BatchPrediction. - */ - BatchPredictionId: EntityId; - /** - * A user-supplied name or description of the BatchPrediction. BatchPredictionName can only use the UTF-8 character set. - */ - BatchPredictionName?: EntityName; - /** - * The ID of the MLModel that will generate predictions for the group of observations. - */ - MLModelId: EntityId; - /** - * The ID of the DataSource that points to the group of observations to predict. - */ - BatchPredictionDataSourceId: EntityId; - /** - * The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to store the batch prediction results. The following substrings are not allowed in the s3 key portion of the outputURI field: ':', '//', '/./', '/../'. Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the Amazon Machine Learning Developer Guide. - */ - OutputUri: S3Url; - } - export interface CreateBatchPredictionOutput { - /** - * A user-supplied ID that uniquely identifies the BatchPrediction. This value is identical to the value of the BatchPredictionId in the request. - */ - BatchPredictionId?: EntityId; - } - export interface CreateDataSourceFromRDSInput { - /** - * A user-supplied ID that uniquely identifies the DataSource. Typically, an Amazon Resource Number (ARN) becomes the ID for a DataSource. - */ - DataSourceId: EntityId; - /** - * A user-supplied name or description of the DataSource. - */ - DataSourceName?: EntityName; - /** - * The data specification of an Amazon RDS DataSource: DatabaseInformation - DatabaseName - The name of the Amazon RDS database. InstanceIdentifier - A unique identifier for the Amazon RDS database instance. DatabaseCredentials - AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon RDS database. ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an EC2 instance to carry out the copy task from Amazon RDS to Amazon Simple Storage Service (Amazon S3). For more information, see Role templates for data pipelines. ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines. SecurityInfo - The security information to use to access an RDS DB instance. You need to set up appropriate ingress rules for the security entity IDs provided to allow access to the Amazon RDS instance. Specify a [SubnetId, SecurityGroupIds] pair for a VPC-based RDS DB instance. SelectSqlQuery - A query that is used to retrieve the observation data for the Datasource. S3StagingLocation - The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using SelectSqlQuery is stored in this location. DataSchemaUri - The Amazon S3 location of the DataSchema. DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified. DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the Datasource. Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}" - */ - RDSData: RDSDataSpec; - /** - * The role that Amazon ML assumes on behalf of the user to create and activate a data pipeline in the user's account and copy data using the SelectSqlQuery query from Amazon RDS to Amazon S3. - */ - RoleARN: RoleARN; - /** - * The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training. - */ - ComputeStatistics?: ComputeStatistics; - } - export interface CreateDataSourceFromRDSOutput { - /** - * A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the DataSourceID in the request. - */ - DataSourceId?: EntityId; - } - export interface CreateDataSourceFromRedshiftInput { - /** - * A user-supplied ID that uniquely identifies the DataSource. - */ - DataSourceId: EntityId; - /** - * A user-supplied name or description of the DataSource. - */ - DataSourceName?: EntityName; - /** - * The data specification of an Amazon Redshift DataSource: DatabaseInformation - DatabaseName - The name of the Amazon Redshift database. ClusterIdentifier - The unique ID for the Amazon Redshift cluster. DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon Redshift database. SelectSqlQuery - The query that is used to retrieve the observation data for the Datasource. S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Redshift using the SelectSqlQuery query is stored in this location. DataSchemaUri - The Amazon S3 location of the DataSchema. DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified. DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the DataSource. Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}" - */ - DataSpec: RedshiftDataSpec; - /** - * A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following: A security group to allow Amazon ML to execute the SelectSqlQuery query on an Amazon Redshift cluster An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the S3StagingLocation - */ - RoleARN: RoleARN; - /** - * The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training. - */ - ComputeStatistics?: ComputeStatistics; - } - export interface CreateDataSourceFromRedshiftOutput { - /** - * A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the DataSourceID in the request. - */ - DataSourceId?: EntityId; - } - export interface CreateDataSourceFromS3Input { - /** - * A user-supplied identifier that uniquely identifies the DataSource. - */ - DataSourceId: EntityId; - /** - * A user-supplied name or description of the DataSource. - */ - DataSourceName?: EntityName; - /** - * The data specification of a DataSource: DataLocationS3 - The Amazon S3 location of the observation data. DataSchemaLocationS3 - The Amazon S3 location of the DataSchema. DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified. DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the Datasource. Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}" - */ - DataSpec: S3DataSpec; - /** - * The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training. - */ - ComputeStatistics?: ComputeStatistics; - } - export interface CreateDataSourceFromS3Output { - /** - * A user-supplied ID that uniquely identifies the DataSource. This value should be identical to the value of the DataSourceID in the request. - */ - DataSourceId?: EntityId; - } - export interface CreateEvaluationInput { - /** - * A user-supplied ID that uniquely identifies the Evaluation. - */ - EvaluationId: EntityId; - /** - * A user-supplied name or description of the Evaluation. - */ - EvaluationName?: EntityName; - /** - * The ID of the MLModel to evaluate. The schema used in creating the MLModel must match the schema of the DataSource used in the Evaluation. - */ - MLModelId: EntityId; - /** - * The ID of the DataSource for the evaluation. The schema of the DataSource must match the schema used to create the MLModel. - */ - EvaluationDataSourceId: EntityId; - } - export interface CreateEvaluationOutput { - /** - * The user-supplied ID that uniquely identifies the Evaluation. This value should be identical to the value of the EvaluationId in the request. - */ - EvaluationId?: EntityId; - } - export interface CreateMLModelInput { - /** - * A user-supplied ID that uniquely identifies the MLModel. - */ - MLModelId: EntityId; - /** - * A user-supplied name or description of the MLModel. - */ - MLModelName?: EntityName; - /** - * The category of supervised learning that this MLModel will address. Choose from the following types: Choose REGRESSION if the MLModel will be used to predict a numeric value. Choose BINARY if the MLModel result has two possible values. Choose MULTICLASS if the MLModel result has a limited number of values. For more information, see the Amazon Machine Learning Developer Guide. - */ - MLModelType: MLModelType; - /** - * A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs. The following is the current set of training parameters: sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance. The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432. sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10. sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none. We strongly recommend that you shuffle your data. sgd.l1RegularizationAmount - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly. sgd.l2RegularizationAmount - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly. - */ - Parameters?: TrainingParameters; - /** - * The DataSource that points to the training data. - */ - TrainingDataSourceId: EntityId; - /** - * The data recipe for creating the MLModel. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default. - */ - Recipe?: Recipe; - /** - * The Amazon Simple Storage Service (Amazon S3) location and file name that contains the MLModel recipe. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default. - */ - RecipeUri?: S3Url; - } - export interface CreateMLModelOutput { - /** - * A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request. - */ - MLModelId?: EntityId; - } - export interface CreateRealtimeEndpointInput { - /** - * The ID assigned to the MLModel during creation. - */ - MLModelId: EntityId; - } - export interface CreateRealtimeEndpointOutput { - /** - * A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request. - */ - MLModelId?: EntityId; - /** - * The endpoint information of the MLModel - */ - RealtimeEndpointInfo?: RealtimeEndpointInfo; - } - export type DataRearrangement = string; - export type DataSchema = string; - export interface DataSource { - /** - * The ID that is assigned to the DataSource during creation. - */ - DataSourceId?: EntityId; - /** - * The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a DataSource. - */ - DataLocationS3?: S3Url; - /** - * A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created. - */ - DataRearrangement?: DataRearrangement; - /** - * The AWS user account from which the DataSource was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account. - */ - CreatedByIamUser?: AwsUserArn; - /** - * The time that the DataSource was created. The time is expressed in epoch time. - */ - CreatedAt?: EpochTime; - /** - * The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time. - */ - LastUpdatedAt?: EpochTime; - /** - * The total number of observations contained in the data files that the DataSource references. - */ - DataSizeInBytes?: LongType; - /** - * The number of data files referenced by the DataSource. - */ - NumberOfFiles?: LongType; - /** - * A user-supplied name or description of the DataSource. - */ - Name?: EntityName; - /** - * The current status of the DataSource. This element can have one of the following values: PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create a DataSource. INPROGRESS - The creation process is underway. FAILED - The request to create a DataSource did not run to completion. It is not usable. COMPLETED - The creation process completed successfully. DELETED - The DataSource is marked as deleted. It is not usable. - */ - Status?: EntityStatus; - /** - * A description of the most recent details about creating the DataSource. - */ - Message?: Message; - RedshiftMetadata?: RedshiftMetadata; - RDSMetadata?: RDSMetadata; - RoleARN?: RoleARN; - /** - * The parameter is true if statistics need to be generated from the observation data. - */ - ComputeStatistics?: ComputeStatistics; - ComputeTime?: LongType; - FinishedAt?: EpochTime; - StartedAt?: EpochTime; - } - export type DataSourceFilterVariable = "CreatedAt"|"LastUpdatedAt"|"Status"|"Name"|"DataLocationS3"|"IAMUser"|string; - export type DataSources = DataSource[]; - export interface DeleteBatchPredictionInput { - /** - * A user-supplied ID that uniquely identifies the BatchPrediction. - */ - BatchPredictionId: EntityId; - } - export interface DeleteBatchPredictionOutput { - /** - * A user-supplied ID that uniquely identifies the BatchPrediction. This value should be identical to the value of the BatchPredictionID in the request. - */ - BatchPredictionId?: EntityId; - } - export interface DeleteDataSourceInput { - /** - * A user-supplied ID that uniquely identifies the DataSource. - */ - DataSourceId: EntityId; - } - export interface DeleteDataSourceOutput { - /** - * A user-supplied ID that uniquely identifies the DataSource. This value should be identical to the value of the DataSourceID in the request. - */ - DataSourceId?: EntityId; - } - export interface DeleteEvaluationInput { - /** - * A user-supplied ID that uniquely identifies the Evaluation to delete. - */ - EvaluationId: EntityId; - } - export interface DeleteEvaluationOutput { - /** - * A user-supplied ID that uniquely identifies the Evaluation. This value should be identical to the value of the EvaluationId in the request. - */ - EvaluationId?: EntityId; - } - export interface DeleteMLModelInput { - /** - * A user-supplied ID that uniquely identifies the MLModel. - */ - MLModelId: EntityId; - } - export interface DeleteMLModelOutput { - /** - * A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelID in the request. - */ - MLModelId?: EntityId; - } - export interface DeleteRealtimeEndpointInput { - /** - * The ID assigned to the MLModel during creation. - */ - MLModelId: EntityId; - } - export interface DeleteRealtimeEndpointOutput { - /** - * A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request. - */ - MLModelId?: EntityId; - /** - * The endpoint information of the MLModel - */ - RealtimeEndpointInfo?: RealtimeEndpointInfo; - } - export interface DeleteTagsInput { - /** - * One or more tags to delete. - */ - TagKeys: TagKeyList; - /** - * The ID of the tagged ML object. For example, exampleModelId. - */ - ResourceId: EntityId; - /** - * The type of the tagged ML object. - */ - ResourceType: TaggableResourceType; - } - export interface DeleteTagsOutput { - /** - * The ID of the ML object from which tags were deleted. - */ - ResourceId?: EntityId; - /** - * The type of the ML object from which tags were deleted. - */ - ResourceType?: TaggableResourceType; - } - export interface DescribeBatchPredictionsInput { - /** - * Use one of the following variables to filter a list of BatchPrediction: CreatedAt - Sets the search criteria to the BatchPrediction creation date. Status - Sets the search criteria to the BatchPrediction status. Name - Sets the search criteria to the contents of the BatchPrediction Name. IAMUser - Sets the search criteria to the user account that invoked the BatchPrediction creation. MLModelId - Sets the search criteria to the MLModel used in the BatchPrediction. DataSourceId - Sets the search criteria to the DataSource used in the BatchPrediction. DataURI - Sets the search criteria to the data file(s) used in the BatchPrediction. The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory. - */ - FilterVariable?: BatchPredictionFilterVariable; - /** - * The equal to operator. The BatchPrediction results will have FilterVariable values that exactly match the value specified with EQ. - */ - EQ?: ComparatorValue; - /** - * The greater than operator. The BatchPrediction results will have FilterVariable values that are greater than the value specified with GT. - */ - GT?: ComparatorValue; - /** - * The less than operator. The BatchPrediction results will have FilterVariable values that are less than the value specified with LT. - */ - LT?: ComparatorValue; - /** - * The greater than or equal to operator. The BatchPrediction results will have FilterVariable values that are greater than or equal to the value specified with GE. - */ - GE?: ComparatorValue; - /** - * The less than or equal to operator. The BatchPrediction results will have FilterVariable values that are less than or equal to the value specified with LE. - */ - LE?: ComparatorValue; - /** - * The not equal to operator. The BatchPrediction results will have FilterVariable values not equal to the value specified with NE. - */ - NE?: ComparatorValue; - /** - * A string that is found at the beginning of a variable, such as Name or Id. For example, a Batch Prediction operation could have the Name 2014-09-09-HolidayGiftMailer. To search for this BatchPrediction, select Name for the FilterVariable and any of the following strings for the Prefix: 2014-09 2014-09-09 2014-09-09-Holiday - */ - Prefix?: ComparatorValue; - /** - * A two-value parameter that determines the sequence of the resulting list of MLModels. asc - Arranges the list in ascending order (A-Z, 0-9). dsc - Arranges the list in descending order (Z-A, 9-0). Results are sorted by FilterVariable. - */ - SortOrder?: SortOrder; - /** - * An ID of the page in the paginated results. - */ - NextToken?: StringType; - /** - * The number of pages of information to include in the result. The range of acceptable values is 1 through 100. The default value is 100. - */ - Limit?: PageLimit; - } - export interface DescribeBatchPredictionsOutput { - /** - * A list of BatchPrediction objects that meet the search criteria. - */ - Results?: BatchPredictions; - /** - * The ID of the next page in the paginated results that indicates at least one more page follows. - */ - NextToken?: StringType; - } - export interface DescribeDataSourcesInput { - /** - * Use one of the following variables to filter a list of DataSource: CreatedAt - Sets the search criteria to DataSource creation dates. Status - Sets the search criteria to DataSource statuses. Name - Sets the search criteria to the contents of DataSource Name. DataUri - Sets the search criteria to the URI of data files used to create the DataSource. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory. IAMUser - Sets the search criteria to the user account that invoked the DataSource creation. - */ - FilterVariable?: DataSourceFilterVariable; - /** - * The equal to operator. The DataSource results will have FilterVariable values that exactly match the value specified with EQ. - */ - EQ?: ComparatorValue; - /** - * The greater than operator. The DataSource results will have FilterVariable values that are greater than the value specified with GT. - */ - GT?: ComparatorValue; - /** - * The less than operator. The DataSource results will have FilterVariable values that are less than the value specified with LT. - */ - LT?: ComparatorValue; - /** - * The greater than or equal to operator. The DataSource results will have FilterVariable values that are greater than or equal to the value specified with GE. - */ - GE?: ComparatorValue; - /** - * The less than or equal to operator. The DataSource results will have FilterVariable values that are less than or equal to the value specified with LE. - */ - LE?: ComparatorValue; - /** - * The not equal to operator. The DataSource results will have FilterVariable values not equal to the value specified with NE. - */ - NE?: ComparatorValue; - /** - * A string that is found at the beginning of a variable, such as Name or Id. For example, a DataSource could have the Name 2014-09-09-HolidayGiftMailer. To search for this DataSource, select Name for the FilterVariable and any of the following strings for the Prefix: 2014-09 2014-09-09 2014-09-09-Holiday - */ - Prefix?: ComparatorValue; - /** - * A two-value parameter that determines the sequence of the resulting list of DataSource. asc - Arranges the list in ascending order (A-Z, 0-9). dsc - Arranges the list in descending order (Z-A, 9-0). Results are sorted by FilterVariable. - */ - SortOrder?: SortOrder; - /** - * The ID of the page in the paginated results. - */ - NextToken?: StringType; - /** - * The maximum number of DataSource to include in the result. - */ - Limit?: PageLimit; - } - export interface DescribeDataSourcesOutput { - /** - * A list of DataSource that meet the search criteria. - */ - Results?: DataSources; - /** - * An ID of the next page in the paginated results that indicates at least one more page follows. - */ - NextToken?: StringType; - } - export interface DescribeEvaluationsInput { - /** - * Use one of the following variable to filter a list of Evaluation objects: CreatedAt - Sets the search criteria to the Evaluation creation date. Status - Sets the search criteria to the Evaluation status. Name - Sets the search criteria to the contents of Evaluation Name. IAMUser - Sets the search criteria to the user account that invoked an Evaluation. MLModelId - Sets the search criteria to the MLModel that was evaluated. DataSourceId - Sets the search criteria to the DataSource used in Evaluation. DataUri - Sets the search criteria to the data file(s) used in Evaluation. The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory. - */ - FilterVariable?: EvaluationFilterVariable; - /** - * The equal to operator. The Evaluation results will have FilterVariable values that exactly match the value specified with EQ. - */ - EQ?: ComparatorValue; - /** - * The greater than operator. The Evaluation results will have FilterVariable values that are greater than the value specified with GT. - */ - GT?: ComparatorValue; - /** - * The less than operator. The Evaluation results will have FilterVariable values that are less than the value specified with LT. - */ - LT?: ComparatorValue; - /** - * The greater than or equal to operator. The Evaluation results will have FilterVariable values that are greater than or equal to the value specified with GE. - */ - GE?: ComparatorValue; - /** - * The less than or equal to operator. The Evaluation results will have FilterVariable values that are less than or equal to the value specified with LE. - */ - LE?: ComparatorValue; - /** - * The not equal to operator. The Evaluation results will have FilterVariable values not equal to the value specified with NE. - */ - NE?: ComparatorValue; - /** - * A string that is found at the beginning of a variable, such as Name or Id. For example, an Evaluation could have the Name 2014-09-09-HolidayGiftMailer. To search for this Evaluation, select Name for the FilterVariable and any of the following strings for the Prefix: 2014-09 2014-09-09 2014-09-09-Holiday - */ - Prefix?: ComparatorValue; - /** - * A two-value parameter that determines the sequence of the resulting list of Evaluation. asc - Arranges the list in ascending order (A-Z, 0-9). dsc - Arranges the list in descending order (Z-A, 9-0). Results are sorted by FilterVariable. - */ - SortOrder?: SortOrder; - /** - * The ID of the page in the paginated results. - */ - NextToken?: StringType; - /** - * The maximum number of Evaluation to include in the result. - */ - Limit?: PageLimit; - } - export interface DescribeEvaluationsOutput { - /** - * A list of Evaluation that meet the search criteria. - */ - Results?: Evaluations; - /** - * The ID of the next page in the paginated results that indicates at least one more page follows. - */ - NextToken?: StringType; - } - export interface DescribeMLModelsInput { - /** - * Use one of the following variables to filter a list of MLModel: CreatedAt - Sets the search criteria to MLModel creation date. Status - Sets the search criteria to MLModel status. Name - Sets the search criteria to the contents of MLModel Name. IAMUser - Sets the search criteria to the user account that invoked the MLModel creation. TrainingDataSourceId - Sets the search criteria to the DataSource used to train one or more MLModel. RealtimeEndpointStatus - Sets the search criteria to the MLModel real-time endpoint status. MLModelType - Sets the search criteria to MLModel type: binary, regression, or multi-class. Algorithm - Sets the search criteria to the algorithm that the MLModel uses. TrainingDataURI - Sets the search criteria to the data file(s) used in training a MLModel. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory. - */ - FilterVariable?: MLModelFilterVariable; - /** - * The equal to operator. The MLModel results will have FilterVariable values that exactly match the value specified with EQ. - */ - EQ?: ComparatorValue; - /** - * The greater than operator. The MLModel results will have FilterVariable values that are greater than the value specified with GT. - */ - GT?: ComparatorValue; - /** - * The less than operator. The MLModel results will have FilterVariable values that are less than the value specified with LT. - */ - LT?: ComparatorValue; - /** - * The greater than or equal to operator. The MLModel results will have FilterVariable values that are greater than or equal to the value specified with GE. - */ - GE?: ComparatorValue; - /** - * The less than or equal to operator. The MLModel results will have FilterVariable values that are less than or equal to the value specified with LE. - */ - LE?: ComparatorValue; - /** - * The not equal to operator. The MLModel results will have FilterVariable values not equal to the value specified with NE. - */ - NE?: ComparatorValue; - /** - * A string that is found at the beginning of a variable, such as Name or Id. For example, an MLModel could have the Name 2014-09-09-HolidayGiftMailer. To search for this MLModel, select Name for the FilterVariable and any of the following strings for the Prefix: 2014-09 2014-09-09 2014-09-09-Holiday - */ - Prefix?: ComparatorValue; - /** - * A two-value parameter that determines the sequence of the resulting list of MLModel. asc - Arranges the list in ascending order (A-Z, 0-9). dsc - Arranges the list in descending order (Z-A, 9-0). Results are sorted by FilterVariable. - */ - SortOrder?: SortOrder; - /** - * The ID of the page in the paginated results. - */ - NextToken?: StringType; - /** - * The number of pages of information to include in the result. The range of acceptable values is 1 through 100. The default value is 100. - */ - Limit?: PageLimit; - } - export interface DescribeMLModelsOutput { - /** - * A list of MLModel that meet the search criteria. - */ - Results?: MLModels; - /** - * The ID of the next page in the paginated results that indicates at least one more page follows. - */ - NextToken?: StringType; - } - export interface DescribeTagsInput { - /** - * The ID of the ML object. For example, exampleModelId. - */ - ResourceId: EntityId; - /** - * The type of the ML object. - */ - ResourceType: TaggableResourceType; - } - export interface DescribeTagsOutput { - /** - * The ID of the tagged ML object. - */ - ResourceId?: EntityId; - /** - * The type of the tagged ML object. - */ - ResourceType?: TaggableResourceType; - /** - * A list of tags associated with the ML object. - */ - Tags?: TagList; - } - export type DetailsAttributes = "PredictiveModelType"|"Algorithm"|string; - export type DetailsMap = {[key: string]: DetailsValue}; - export type DetailsValue = string; - export type EDPPipelineId = string; - export type EDPResourceRole = string; - export type EDPSecurityGroupId = string; - export type EDPSecurityGroupIds = EDPSecurityGroupId[]; - export type EDPServiceRole = string; - export type EDPSubnetId = string; - export type EntityId = string; - export type EntityName = string; - export type EntityStatus = "PENDING"|"INPROGRESS"|"FAILED"|"COMPLETED"|"DELETED"|string; - export type EpochTime = Date; - export type ErrorCode = number; - export type ErrorMessage = string; - export interface Evaluation { - /** - * The ID that is assigned to the Evaluation at creation. - */ - EvaluationId?: EntityId; - /** - * The ID of the MLModel that is the focus of the evaluation. - */ - MLModelId?: EntityId; - /** - * The ID of the DataSource that is used to evaluate the MLModel. - */ - EvaluationDataSourceId?: EntityId; - /** - * The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation. - */ - InputDataLocationS3?: S3Url; - /** - * The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account. - */ - CreatedByIamUser?: AwsUserArn; - /** - * The time that the Evaluation was created. The time is expressed in epoch time. - */ - CreatedAt?: EpochTime; - /** - * The time of the most recent edit to the Evaluation. The time is expressed in epoch time. - */ - LastUpdatedAt?: EpochTime; - /** - * A user-supplied name or description of the Evaluation. - */ - Name?: EntityName; - /** - * The status of the evaluation. This element can have one of the following values: PENDING - Amazon Machine Learning (Amazon ML) submitted a request to evaluate an MLModel. INPROGRESS - The evaluation is underway. FAILED - The request to evaluate an MLModel did not run to completion. It is not usable. COMPLETED - The evaluation process completed successfully. DELETED - The Evaluation is marked as deleted. It is not usable. - */ - Status?: EntityStatus; - /** - * Measurements of how well the MLModel performed, using observations referenced by the DataSource. One of the following metrics is returned, based on the type of the MLModel: BinaryAUC: A binary MLModel uses the Area Under the Curve (AUC) technique to measure performance. RegressionRMSE: A regression MLModel uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable. MulticlassAvgFScore: A multiclass MLModel uses the F1 score technique to measure performance. For more information about performance metrics, please see the Amazon Machine Learning Developer Guide. - */ - PerformanceMetrics?: PerformanceMetrics; - /** - * A description of the most recent details about evaluating the MLModel. - */ - Message?: Message; - ComputeTime?: LongType; - FinishedAt?: EpochTime; - StartedAt?: EpochTime; - } - export type EvaluationFilterVariable = "CreatedAt"|"LastUpdatedAt"|"Status"|"Name"|"IAMUser"|"MLModelId"|"DataSourceId"|"DataURI"|string; - export type Evaluations = Evaluation[]; - export interface GetBatchPredictionInput { - /** - * An ID assigned to the BatchPrediction at creation. - */ - BatchPredictionId: EntityId; - } - export interface GetBatchPredictionOutput { - /** - * An ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request. - */ - BatchPredictionId?: EntityId; - /** - * The ID of the MLModel that generated predictions for the BatchPrediction request. - */ - MLModelId?: EntityId; - /** - * The ID of the DataSource that was used to create the BatchPrediction. - */ - BatchPredictionDataSourceId?: EntityId; - /** - * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3). - */ - InputDataLocationS3?: S3Url; - /** - * The AWS user account that invoked the BatchPrediction. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account. - */ - CreatedByIamUser?: AwsUserArn; - /** - * The time when the BatchPrediction was created. The time is expressed in epoch time. - */ - CreatedAt?: EpochTime; - /** - * The time of the most recent edit to BatchPrediction. The time is expressed in epoch time. - */ - LastUpdatedAt?: EpochTime; - /** - * A user-supplied name or description of the BatchPrediction. - */ - Name?: EntityName; - /** - * The status of the BatchPrediction, which can be one of the following values: PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions. INPROGRESS - The batch predictions are in progress. FAILED - The request to perform a batch prediction did not run to completion. It is not usable. COMPLETED - The batch prediction process completed successfully. DELETED - The BatchPrediction is marked as deleted. It is not usable. - */ - Status?: EntityStatus; - /** - * The location of an Amazon S3 bucket or directory to receive the operation results. - */ - OutputUri?: S3Url; - /** - * A link to the file that contains logs of the CreateBatchPrediction operation. - */ - LogUri?: PresignedS3Url; - /** - * A description of the most recent details about processing the batch prediction request. - */ - Message?: Message; - /** - * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the BatchPrediction, normalized and scaled on computation resources. ComputeTime is only available if the BatchPrediction is in the COMPLETED state. - */ - ComputeTime?: LongType; - /** - * The epoch time when Amazon Machine Learning marked the BatchPrediction as COMPLETED or FAILED. FinishedAt is only available when the BatchPrediction is in the COMPLETED or FAILED state. - */ - FinishedAt?: EpochTime; - /** - * The epoch time when Amazon Machine Learning marked the BatchPrediction as INPROGRESS. StartedAt isn't available if the BatchPrediction is in the PENDING state. - */ - StartedAt?: EpochTime; - /** - * The number of total records that Amazon Machine Learning saw while processing the BatchPrediction. - */ - TotalRecordCount?: LongType; - /** - * The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction. - */ - InvalidRecordCount?: LongType; - } - export interface GetDataSourceInput { - /** - * The ID assigned to the DataSource at creation. - */ - DataSourceId: EntityId; - /** - * Specifies whether the GetDataSource operation should return DataSourceSchema. If true, DataSourceSchema is returned. If false, DataSourceSchema is not returned. - */ - Verbose?: Verbose; - } - export interface GetDataSourceOutput { - /** - * The ID assigned to the DataSource at creation. This value should be identical to the value of the DataSourceId in the request. - */ - DataSourceId?: EntityId; - /** - * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3). - */ - DataLocationS3?: S3Url; - /** - * A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created. - */ - DataRearrangement?: DataRearrangement; - /** - * The AWS user account from which the DataSource was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account. - */ - CreatedByIamUser?: AwsUserArn; - /** - * The time that the DataSource was created. The time is expressed in epoch time. - */ - CreatedAt?: EpochTime; - /** - * The time of the most recent edit to the DataSource. The time is expressed in epoch time. - */ - LastUpdatedAt?: EpochTime; - /** - * The total size of observations in the data files. - */ - DataSizeInBytes?: LongType; - /** - * The number of data files referenced by the DataSource. - */ - NumberOfFiles?: LongType; - /** - * A user-supplied name or description of the DataSource. - */ - Name?: EntityName; - /** - * The current status of the DataSource. This element can have one of the following values: PENDING - Amazon ML submitted a request to create a DataSource. INPROGRESS - The creation process is underway. FAILED - The request to create a DataSource did not run to completion. It is not usable. COMPLETED - The creation process completed successfully. DELETED - The DataSource is marked as deleted. It is not usable. - */ - Status?: EntityStatus; - /** - * A link to the file containing logs of CreateDataSourceFrom* operations. - */ - LogUri?: PresignedS3Url; - /** - * The user-supplied description of the most recent details about creating the DataSource. - */ - Message?: Message; - RedshiftMetadata?: RedshiftMetadata; - RDSMetadata?: RDSMetadata; - RoleARN?: RoleARN; - /** - * The parameter is true if statistics need to be generated from the observation data. - */ - ComputeStatistics?: ComputeStatistics; - /** - * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the DataSource, normalized and scaled on computation resources. ComputeTime is only available if the DataSource is in the COMPLETED state and the ComputeStatistics is set to true. - */ - ComputeTime?: LongType; - /** - * The epoch time when Amazon Machine Learning marked the DataSource as COMPLETED or FAILED. FinishedAt is only available when the DataSource is in the COMPLETED or FAILED state. - */ - FinishedAt?: EpochTime; - /** - * The epoch time when Amazon Machine Learning marked the DataSource as INPROGRESS. StartedAt isn't available if the DataSource is in the PENDING state. - */ - StartedAt?: EpochTime; - /** - * The schema used by all of the data files of this DataSource. Note This parameter is provided as part of the verbose format. - */ - DataSourceSchema?: DataSchema; - } - export interface GetEvaluationInput { - /** - * The ID of the Evaluation to retrieve. The evaluation of each MLModel is recorded and cataloged. The ID provides the means to access the information. - */ - EvaluationId: EntityId; - } - export interface GetEvaluationOutput { - /** - * The evaluation ID which is same as the EvaluationId in the request. - */ - EvaluationId?: EntityId; - /** - * The ID of the MLModel that was the focus of the evaluation. - */ - MLModelId?: EntityId; - /** - * The DataSource used for this evaluation. - */ - EvaluationDataSourceId?: EntityId; - /** - * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3). - */ - InputDataLocationS3?: S3Url; - /** - * The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account. - */ - CreatedByIamUser?: AwsUserArn; - /** - * The time that the Evaluation was created. The time is expressed in epoch time. - */ - CreatedAt?: EpochTime; - /** - * The time of the most recent edit to the Evaluation. The time is expressed in epoch time. - */ - LastUpdatedAt?: EpochTime; - /** - * A user-supplied name or description of the Evaluation. - */ - Name?: EntityName; - /** - * The status of the evaluation. This element can have one of the following values: PENDING - Amazon Machine Language (Amazon ML) submitted a request to evaluate an MLModel. INPROGRESS - The evaluation is underway. FAILED - The request to evaluate an MLModel did not run to completion. It is not usable. COMPLETED - The evaluation process completed successfully. DELETED - The Evaluation is marked as deleted. It is not usable. - */ - Status?: EntityStatus; - /** - * Measurements of how well the MLModel performed using observations referenced by the DataSource. One of the following metric is returned based on the type of the MLModel: BinaryAUC: A binary MLModel uses the Area Under the Curve (AUC) technique to measure performance. RegressionRMSE: A regression MLModel uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable. MulticlassAvgFScore: A multiclass MLModel uses the F1 score technique to measure performance. For more information about performance metrics, please see the Amazon Machine Learning Developer Guide. - */ - PerformanceMetrics?: PerformanceMetrics; - /** - * A link to the file that contains logs of the CreateEvaluation operation. - */ - LogUri?: PresignedS3Url; - /** - * A description of the most recent details about evaluating the MLModel. - */ - Message?: Message; - /** - * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the Evaluation, normalized and scaled on computation resources. ComputeTime is only available if the Evaluation is in the COMPLETED state. - */ - ComputeTime?: LongType; - /** - * The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED or FAILED. FinishedAt is only available when the Evaluation is in the COMPLETED or FAILED state. - */ - FinishedAt?: EpochTime; - /** - * The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS. StartedAt isn't available if the Evaluation is in the PENDING state. - */ - StartedAt?: EpochTime; - } - export interface GetMLModelInput { - /** - * The ID assigned to the MLModel at creation. - */ - MLModelId: EntityId; - /** - * Specifies whether the GetMLModel operation should return Recipe. If true, Recipe is returned. If false, Recipe is not returned. - */ - Verbose?: Verbose; - } - export interface GetMLModelOutput { - /** - * The MLModel ID, which is same as the MLModelId in the request. - */ - MLModelId?: EntityId; - /** - * The ID of the training DataSource. - */ - TrainingDataSourceId?: EntityId; - /** - * The AWS user account from which the MLModel was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account. - */ - CreatedByIamUser?: AwsUserArn; - /** - * The time that the MLModel was created. The time is expressed in epoch time. - */ - CreatedAt?: EpochTime; - /** - * The time of the most recent edit to the MLModel. The time is expressed in epoch time. - */ - LastUpdatedAt?: EpochTime; - /** - * A user-supplied name or description of the MLModel. - */ - Name?: MLModelName; - /** - * The current status of the MLModel. This element can have one of the following values: PENDING - Amazon Machine Learning (Amazon ML) submitted a request to describe a MLModel. INPROGRESS - The request is processing. FAILED - The request did not run to completion. The ML model isn't usable. COMPLETED - The request completed successfully. DELETED - The MLModel is marked as deleted. It isn't usable. - */ - Status?: EntityStatus; - SizeInBytes?: LongType; - /** - * The current endpoint of the MLModel - */ - EndpointInfo?: RealtimeEndpointInfo; - /** - * A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs. The following is the current set of training parameters: sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance. The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432. sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10. sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none. We strongly recommend that you shuffle your data. sgd.l1RegularizationAmount - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly. sgd.l2RegularizationAmount - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly. - */ - TrainingParameters?: TrainingParameters; - /** - * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3). - */ - InputDataLocationS3?: S3Url; - /** - * Identifies the MLModel category. The following are the available types: REGRESSION -- Produces a numeric result. For example, "What price should a house be listed at?" BINARY -- Produces one of two possible results. For example, "Is this an e-commerce website?" MULTICLASS -- Produces one of several possible results. For example, "Is this a HIGH, LOW or MEDIUM risk trade?" - */ - MLModelType?: MLModelType; - /** - * The scoring threshold is used in binary classification MLModel models. It marks the boundary between a positive prediction and a negative prediction. Output values greater than or equal to the threshold receive a positive result from the MLModel, such as true. Output values less than the threshold receive a negative response from the MLModel, such as false. - */ - ScoreThreshold?: ScoreThreshold; - /** - * The time of the most recent edit to the ScoreThreshold. The time is expressed in epoch time. - */ - ScoreThresholdLastUpdatedAt?: EpochTime; - /** - * A link to the file that contains logs of the CreateMLModel operation. - */ - LogUri?: PresignedS3Url; - /** - * A description of the most recent details about accessing the MLModel. - */ - Message?: Message; - /** - * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the MLModel, normalized and scaled on computation resources. ComputeTime is only available if the MLModel is in the COMPLETED state. - */ - ComputeTime?: LongType; - /** - * The epoch time when Amazon Machine Learning marked the MLModel as COMPLETED or FAILED. FinishedAt is only available when the MLModel is in the COMPLETED or FAILED state. - */ - FinishedAt?: EpochTime; - /** - * The epoch time when Amazon Machine Learning marked the MLModel as INPROGRESS. StartedAt isn't available if the MLModel is in the PENDING state. - */ - StartedAt?: EpochTime; - /** - * The recipe to use when training the MLModel. The Recipe provides detailed information about the observation data to use during training, and manipulations to perform on the observation data during training. Note This parameter is provided as part of the verbose format. - */ - Recipe?: Recipe; - /** - * The schema used by all of the data files referenced by the DataSource. Note This parameter is provided as part of the verbose format. - */ - Schema?: DataSchema; - } - export type IntegerType = number; - export type Label = string; - export type LongType = number; - export interface MLModel { - /** - * The ID assigned to the MLModel at creation. - */ - MLModelId?: EntityId; - /** - * The ID of the training DataSource. The CreateMLModel operation uses the TrainingDataSourceId. - */ - TrainingDataSourceId?: EntityId; - /** - * The AWS user account from which the MLModel was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account. - */ - CreatedByIamUser?: AwsUserArn; - /** - * The time that the MLModel was created. The time is expressed in epoch time. - */ - CreatedAt?: EpochTime; - /** - * The time of the most recent edit to the MLModel. The time is expressed in epoch time. - */ - LastUpdatedAt?: EpochTime; - /** - * A user-supplied name or description of the MLModel. - */ - Name?: MLModelName; - /** - * The current status of an MLModel. This element can have one of the following values: PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create an MLModel. INPROGRESS - The creation process is underway. FAILED - The request to create an MLModel didn't run to completion. The model isn't usable. COMPLETED - The creation process completed successfully. DELETED - The MLModel is marked as deleted. It isn't usable. - */ - Status?: EntityStatus; - SizeInBytes?: LongType; - /** - * The current endpoint of the MLModel. - */ - EndpointInfo?: RealtimeEndpointInfo; - /** - * A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs. The following is the current set of training parameters: sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance. The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432. sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10. sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none. sgd.l1RegularizationAmount - The coefficient regularization L1 norm, which controls overfitting the data by penalizing large coefficients. This parameter tends to drive coefficients to zero, resulting in sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly. sgd.l2RegularizationAmount - The coefficient regularization L2 norm, which controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly. - */ - TrainingParameters?: TrainingParameters; - /** - * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3). - */ - InputDataLocationS3?: S3Url; - /** - * The algorithm used to train the MLModel. The following algorithm is supported: SGD -- Stochastic gradient descent. The goal of SGD is to minimize the gradient of the loss function. - */ - Algorithm?: Algorithm; - /** - * Identifies the MLModel category. The following are the available types: REGRESSION - Produces a numeric result. For example, "What price should a house be listed at?" BINARY - Produces one of two possible results. For example, "Is this a child-friendly web site?". MULTICLASS - Produces one of several possible results. For example, "Is this a HIGH-, LOW-, or MEDIUM-risk trade?". - */ - MLModelType?: MLModelType; - ScoreThreshold?: ScoreThreshold; - /** - * The time of the most recent edit to the ScoreThreshold. The time is expressed in epoch time. - */ - ScoreThresholdLastUpdatedAt?: EpochTime; - /** - * A description of the most recent details about accessing the MLModel. - */ - Message?: Message; - ComputeTime?: LongType; - FinishedAt?: EpochTime; - StartedAt?: EpochTime; - } - export type MLModelFilterVariable = "CreatedAt"|"LastUpdatedAt"|"Status"|"Name"|"IAMUser"|"TrainingDataSourceId"|"RealtimeEndpointStatus"|"MLModelType"|"Algorithm"|"TrainingDataURI"|string; - export type MLModelName = string; - export type MLModelType = "REGRESSION"|"BINARY"|"MULTICLASS"|string; - export type MLModels = MLModel[]; - export type Message = string; - export type PageLimit = number; - export interface PerformanceMetrics { - Properties?: PerformanceMetricsProperties; - } - export type PerformanceMetricsProperties = {[key: string]: PerformanceMetricsPropertyValue}; - export type PerformanceMetricsPropertyKey = string; - export type PerformanceMetricsPropertyValue = string; - export interface PredictInput { - /** - * A unique identifier of the MLModel. - */ - MLModelId: EntityId; - Record: Record; - PredictEndpoint: VipURL; - } - export interface PredictOutput { - Prediction?: Prediction; - } - export interface Prediction { - /** - * The prediction label for either a BINARY or MULTICLASS MLModel. - */ - predictedLabel?: Label; - /** - * The prediction value for REGRESSION MLModel. - */ - predictedValue?: floatLabel; - predictedScores?: ScoreValuePerLabelMap; - details?: DetailsMap; - } - export type PresignedS3Url = string; - export interface RDSDataSpec { - /** - * Describes the DatabaseName and InstanceIdentifier of an Amazon RDS database. - */ - DatabaseInformation: RDSDatabase; - /** - * The query that is used to retrieve the observation data for the DataSource. - */ - SelectSqlQuery: RDSSelectSqlQuery; - /** - * The AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon RDS database. - */ - DatabaseCredentials: RDSDatabaseCredentials; - /** - * The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using SelectSqlQuery is stored in this location. - */ - S3StagingLocation: S3Url; - /** - * A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource. There are multiple parameters that control what data is used to create a datasource: percentBegin Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. percentEnd Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. complement The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: {"splitting":{"percentBegin":0, "percentEnd":25}} Datasource for training: {"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}} strategy To change how Amazon ML splits the data for a datasource, use the strategy parameter. The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data. The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}} To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}} - */ - DataRearrangement?: DataRearrangement; - /** - * A JSON string that represents the schema for an Amazon RDS DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource. A DataSchema is not required if you specify a DataSchemaUri Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema. { "version": "1.0", "recordAnnotationFieldName": "F1", "recordWeightFieldName": "F2", "targetFieldName": "F3", "dataFormat": "CSV", "dataFileContainsHeader": true, "attributes": [ { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ], "excludedVariableNames": [ "F6" ] } - */ - DataSchema?: DataSchema; - /** - * The Amazon S3 location of the DataSchema. - */ - DataSchemaUri?: S3Url; - /** - * The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. For more information, see Role templates for data pipelines. - */ - ResourceRole: EDPResourceRole; - /** - * The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines. - */ - ServiceRole: EDPServiceRole; - /** - * The subnet ID to be used to access a VPC-based RDS DB instance. This attribute is used by Data Pipeline to carry out the copy task from Amazon RDS to Amazon S3. - */ - SubnetId: EDPSubnetId; - /** - * The security group IDs to be used to access a VPC-based RDS DB instance. Ensure that there are appropriate ingress rules set up to allow access to the RDS DB instance. This attribute is used by Data Pipeline to carry out the copy operation from Amazon RDS to an Amazon S3 task. - */ - SecurityGroupIds: EDPSecurityGroupIds; - } - export interface RDSDatabase { - /** - * The ID of an RDS DB instance. - */ - InstanceIdentifier: RDSInstanceIdentifier; - DatabaseName: RDSDatabaseName; - } - export interface RDSDatabaseCredentials { - Username: RDSDatabaseUsername; - Password: RDSDatabasePassword; - } - export type RDSDatabaseName = string; - export type RDSDatabasePassword = string; - export type RDSDatabaseUsername = string; - export type RDSInstanceIdentifier = string; - export interface RDSMetadata { - /** - * The database details required to connect to an Amazon RDS. - */ - Database?: RDSDatabase; - DatabaseUserName?: RDSDatabaseUsername; - /** - * The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if Verbose is true in GetDataSourceInput. - */ - SelectSqlQuery?: RDSSelectSqlQuery; - /** - * The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines. - */ - ResourceRole?: EDPResourceRole; - /** - * The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines. - */ - ServiceRole?: EDPServiceRole; - /** - * The ID of the Data Pipeline instance that is used to carry to copy data from Amazon RDS to Amazon S3. You can use the ID to find details about the instance in the Data Pipeline console. - */ - DataPipelineId?: EDPPipelineId; - } - export type RDSSelectSqlQuery = string; - export interface RealtimeEndpointInfo { - /** - * The maximum processing rate for the real-time endpoint for MLModel, measured in incoming requests per second. - */ - PeakRequestsPerSecond?: IntegerType; - /** - * The time that the request to create the real-time endpoint for the MLModel was received. The time is expressed in epoch time. - */ - CreatedAt?: EpochTime; - /** - * The URI that specifies where to send real-time prediction requests for the MLModel. Note The application must wait until the real-time endpoint is ready before using this URI. - */ - EndpointUrl?: VipURL; - /** - * The current status of the real-time endpoint for the MLModel. This element can have one of the following values: NONE - Endpoint does not exist or was previously deleted. READY - Endpoint is ready to be used for real-time predictions. UPDATING - Updating/creating the endpoint. - */ - EndpointStatus?: RealtimeEndpointStatus; - } - export type RealtimeEndpointStatus = "NONE"|"READY"|"UPDATING"|"FAILED"|string; - export type Recipe = string; - export type Record = {[key: string]: VariableValue}; - export type RedshiftClusterIdentifier = string; - export interface RedshiftDataSpec { - /** - * Describes the DatabaseName and ClusterIdentifier for an Amazon Redshift DataSource. - */ - DatabaseInformation: RedshiftDatabase; - /** - * Describes the SQL Query to execute on an Amazon Redshift database for an Amazon Redshift DataSource. - */ - SelectSqlQuery: RedshiftSelectSqlQuery; - /** - * Describes AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon Redshift database. - */ - DatabaseCredentials: RedshiftDatabaseCredentials; - /** - * Describes an Amazon S3 location to store the result set of the SelectSqlQuery query. - */ - S3StagingLocation: S3Url; - /** - * A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource. There are multiple parameters that control what data is used to create a datasource: percentBegin Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. percentEnd Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. complement The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: {"splitting":{"percentBegin":0, "percentEnd":25}} Datasource for training: {"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}} strategy To change how Amazon ML splits the data for a datasource, use the strategy parameter. The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data. The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}} To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}} - */ - DataRearrangement?: DataRearrangement; - /** - * A JSON string that represents the schema for an Amazon Redshift DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource. A DataSchema is not required if you specify a DataSchemaUri. Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema. { "version": "1.0", "recordAnnotationFieldName": "F1", "recordWeightFieldName": "F2", "targetFieldName": "F3", "dataFormat": "CSV", "dataFileContainsHeader": true, "attributes": [ { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ], "excludedVariableNames": [ "F6" ] } - */ - DataSchema?: DataSchema; - /** - * Describes the schema location for an Amazon Redshift DataSource. - */ - DataSchemaUri?: S3Url; - } - export interface RedshiftDatabase { - DatabaseName: RedshiftDatabaseName; - ClusterIdentifier: RedshiftClusterIdentifier; - } - export interface RedshiftDatabaseCredentials { - Username: RedshiftDatabaseUsername; - Password: RedshiftDatabasePassword; - } - export type RedshiftDatabaseName = string; - export type RedshiftDatabasePassword = string; - export type RedshiftDatabaseUsername = string; - export interface RedshiftMetadata { - RedshiftDatabase?: RedshiftDatabase; - DatabaseUserName?: RedshiftDatabaseUsername; - /** - * The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if Verbose is true in GetDataSourceInput. - */ - SelectSqlQuery?: RedshiftSelectSqlQuery; - } - export type RedshiftSelectSqlQuery = string; - export type RoleARN = string; - export interface S3DataSpec { - /** - * The location of the data file(s) used by a DataSource. The URI specifies a data file or an Amazon Simple Storage Service (Amazon S3) directory or bucket containing data files. - */ - DataLocationS3: S3Url; - /** - * A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource. There are multiple parameters that control what data is used to create a datasource: percentBegin Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. percentEnd Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. complement The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: {"splitting":{"percentBegin":0, "percentEnd":25}} Datasource for training: {"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}} strategy To change how Amazon ML splits the data for a datasource, use the strategy parameter. The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data. The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}} To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}} - */ - DataRearrangement?: DataRearrangement; - /** - * A JSON string that represents the schema for an Amazon S3 DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource. You must provide either the DataSchema or the DataSchemaLocationS3. Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema. { "version": "1.0", "recordAnnotationFieldName": "F1", "recordWeightFieldName": "F2", "targetFieldName": "F3", "dataFormat": "CSV", "dataFileContainsHeader": true, "attributes": [ { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ], "excludedVariableNames": [ "F6" ] } - */ - DataSchema?: DataSchema; - /** - * Describes the schema location in Amazon S3. You must provide either the DataSchema or the DataSchemaLocationS3. - */ - DataSchemaLocationS3?: S3Url; - } - export type S3Url = string; - export type ScoreThreshold = number; - export type ScoreValue = number; - export type ScoreValuePerLabelMap = {[key: string]: ScoreValue}; - export type SortOrder = "asc"|"dsc"|string; - export type StringType = string; - export interface Tag { - /** - * A unique identifier for the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @. - */ - Key?: TagKey; - /** - * An optional string, typically used to describe or define the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @. - */ - Value?: TagValue; - } - export type TagKey = string; - export type TagKeyList = TagKey[]; - export type TagList = Tag[]; - export type TagValue = string; - export type TaggableResourceType = "BatchPrediction"|"DataSource"|"Evaluation"|"MLModel"|string; - export type TrainingParameters = {[key: string]: StringType}; - export interface UpdateBatchPredictionInput { - /** - * The ID assigned to the BatchPrediction during creation. - */ - BatchPredictionId: EntityId; - /** - * A new user-supplied name or description of the BatchPrediction. - */ - BatchPredictionName: EntityName; - } - export interface UpdateBatchPredictionOutput { - /** - * The ID assigned to the BatchPrediction during creation. This value should be identical to the value of the BatchPredictionId in the request. - */ - BatchPredictionId?: EntityId; - } - export interface UpdateDataSourceInput { - /** - * The ID assigned to the DataSource during creation. - */ - DataSourceId: EntityId; - /** - * A new user-supplied name or description of the DataSource that will replace the current description. - */ - DataSourceName: EntityName; - } - export interface UpdateDataSourceOutput { - /** - * The ID assigned to the DataSource during creation. This value should be identical to the value of the DataSourceID in the request. - */ - DataSourceId?: EntityId; - } - export interface UpdateEvaluationInput { - /** - * The ID assigned to the Evaluation during creation. - */ - EvaluationId: EntityId; - /** - * A new user-supplied name or description of the Evaluation that will replace the current content. - */ - EvaluationName: EntityName; - } - export interface UpdateEvaluationOutput { - /** - * The ID assigned to the Evaluation during creation. This value should be identical to the value of the Evaluation in the request. - */ - EvaluationId?: EntityId; - } - export interface UpdateMLModelInput { - /** - * The ID assigned to the MLModel during creation. - */ - MLModelId: EntityId; - /** - * A user-supplied name or description of the MLModel. - */ - MLModelName?: EntityName; - /** - * The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction. Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false. - */ - ScoreThreshold?: ScoreThreshold; - } - export interface UpdateMLModelOutput { - /** - * The ID assigned to the MLModel during creation. This value should be identical to the value of the MLModelID in the request. - */ - MLModelId?: EntityId; - } - export type VariableName = string; - export type VariableValue = string; - export type Verbose = boolean; - export type VipURL = string; - export type floatLabel = number; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-12-12"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the MachineLearning client. - */ - export import Types = MachineLearning; -} -export = MachineLearning; diff --git a/src/node_modules/aws-sdk/clients/machinelearning.js b/src/node_modules/aws-sdk/clients/machinelearning.js deleted file mode 100644 index 01a4924..0000000 --- a/src/node_modules/aws-sdk/clients/machinelearning.js +++ /dev/null @@ -1,20 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['machinelearning'] = {}; -AWS.MachineLearning = Service.defineService('machinelearning', ['2014-12-12']); -require('../lib/services/machinelearning'); -Object.defineProperty(apiLoader.services['machinelearning'], '2014-12-12', { - get: function get() { - var model = require('../apis/machinelearning-2014-12-12.min.json'); - model.paginators = require('../apis/machinelearning-2014-12-12.paginators.json').pagination; - model.waiters = require('../apis/machinelearning-2014-12-12.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MachineLearning; diff --git a/src/node_modules/aws-sdk/clients/marketplacecommerceanalytics.d.ts b/src/node_modules/aws-sdk/clients/marketplacecommerceanalytics.d.ts deleted file mode 100644 index 648c7f1..0000000 --- a/src/node_modules/aws-sdk/clients/marketplacecommerceanalytics.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class MarketplaceCommerceAnalytics extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: MarketplaceCommerceAnalytics.Types.ClientConfiguration) - config: Config & MarketplaceCommerceAnalytics.Types.ClientConfiguration; - /** - * Given a data set type and data set publication date, asynchronously publishes the requested data set to the specified S3 bucket and notifies the specified SNS topic once the data is available. Returns a unique request identifier that can be used to correlate requests with notifications from the SNS topic. Data sets will be published in comma-separated values (CSV) format with the file name {data_set_type}_YYYY-MM-DD.csv. If a file with the same name already exists (e.g. if the same data set is requested twice), the original file will be overwritten by the new file. Requires a Role with an attached permissions policy providing Allow permissions for the following actions: s3:PutObject, s3:GetBucketLocation, sns:GetTopicAttributes, sns:Publish, iam:GetRolePolicy. - */ - generateDataSet(params: MarketplaceCommerceAnalytics.Types.GenerateDataSetRequest, callback?: (err: AWSError, data: MarketplaceCommerceAnalytics.Types.GenerateDataSetResult) => void): Request; - /** - * Given a data set type and data set publication date, asynchronously publishes the requested data set to the specified S3 bucket and notifies the specified SNS topic once the data is available. Returns a unique request identifier that can be used to correlate requests with notifications from the SNS topic. Data sets will be published in comma-separated values (CSV) format with the file name {data_set_type}_YYYY-MM-DD.csv. If a file with the same name already exists (e.g. if the same data set is requested twice), the original file will be overwritten by the new file. Requires a Role with an attached permissions policy providing Allow permissions for the following actions: s3:PutObject, s3:GetBucketLocation, sns:GetTopicAttributes, sns:Publish, iam:GetRolePolicy. - */ - generateDataSet(callback?: (err: AWSError, data: MarketplaceCommerceAnalytics.Types.GenerateDataSetResult) => void): Request; - /** - * Given a data set type and a from date, asynchronously publishes the requested customer support data to the specified S3 bucket and notifies the specified SNS topic once the data is available. Returns a unique request identifier that can be used to correlate requests with notifications from the SNS topic. Data sets will be published in comma-separated values (CSV) format with the file name {data_set_type}_YYYY-MM-DD'T'HH-mm-ss'Z'.csv. If a file with the same name already exists (e.g. if the same data set is requested twice), the original file will be overwritten by the new file. Requires a Role with an attached permissions policy providing Allow permissions for the following actions: s3:PutObject, s3:GetBucketLocation, sns:GetTopicAttributes, sns:Publish, iam:GetRolePolicy. - */ - startSupportDataExport(params: MarketplaceCommerceAnalytics.Types.StartSupportDataExportRequest, callback?: (err: AWSError, data: MarketplaceCommerceAnalytics.Types.StartSupportDataExportResult) => void): Request; - /** - * Given a data set type and a from date, asynchronously publishes the requested customer support data to the specified S3 bucket and notifies the specified SNS topic once the data is available. Returns a unique request identifier that can be used to correlate requests with notifications from the SNS topic. Data sets will be published in comma-separated values (CSV) format with the file name {data_set_type}_YYYY-MM-DD'T'HH-mm-ss'Z'.csv. If a file with the same name already exists (e.g. if the same data set is requested twice), the original file will be overwritten by the new file. Requires a Role with an attached permissions policy providing Allow permissions for the following actions: s3:PutObject, s3:GetBucketLocation, sns:GetTopicAttributes, sns:Publish, iam:GetRolePolicy. - */ - startSupportDataExport(callback?: (err: AWSError, data: MarketplaceCommerceAnalytics.Types.StartSupportDataExportResult) => void): Request; -} -declare namespace MarketplaceCommerceAnalytics { - export type CustomerDefinedValues = {[key: string]: OptionalValue}; - export type DataSetPublicationDate = Date; - export type DataSetRequestId = string; - export type DataSetType = "customer_subscriber_hourly_monthly_subscriptions"|"customer_subscriber_annual_subscriptions"|"daily_business_usage_by_instance_type"|"daily_business_fees"|"daily_business_free_trial_conversions"|"daily_business_new_instances"|"daily_business_new_product_subscribers"|"daily_business_canceled_product_subscribers"|"monthly_revenue_billing_and_revenue_data"|"monthly_revenue_annual_subscriptions"|"disbursed_amount_by_product"|"disbursed_amount_by_product_with_uncollected_funds"|"disbursed_amount_by_instance_hours"|"disbursed_amount_by_customer_geo"|"disbursed_amount_by_age_of_uncollected_funds"|"disbursed_amount_by_age_of_disbursed_funds"|"customer_profile_by_industry"|"customer_profile_by_revenue"|"customer_profile_by_geography"|"sales_compensation_billed_revenue"|"us_sales_and_use_tax_records"|string; - export type DestinationS3BucketName = string; - export type DestinationS3Prefix = string; - export type ExceptionMessage = string; - export type FromDate = Date; - export interface GenerateDataSetRequest { - /** - * The desired data set type. customer_subscriber_hourly_monthly_subscriptions - Available daily by 5:00 PM Pacific Time since 2014-07-21. customer_subscriber_annual_subscriptions - Available daily by 5:00 PM Pacific Time since 2014-07-21. daily_business_usage_by_instance_type - Available daily by 5:00 PM Pacific Time since 2015-01-26. daily_business_fees - Available daily by 5:00 PM Pacific Time since 2015-01-26. daily_business_free_trial_conversions - Available daily by 5:00 PM Pacific Time since 2015-01-26. daily_business_new_instances - Available daily by 5:00 PM Pacific Time since 2015-01-26. daily_business_new_product_subscribers - Available daily by 5:00 PM Pacific Time since 2015-01-26. daily_business_canceled_product_subscribers - Available daily by 5:00 PM Pacific Time since 2015-01-26. monthly_revenue_billing_and_revenue_data - Available monthly on the 4th day of the month by 5:00 PM Pacific Time since 2015-02. monthly_revenue_annual_subscriptions - Available monthly on the 4th day of the month by 5:00 PM Pacific Time since 2015-02. disbursed_amount_by_product - Available every 30 days by 5:00 PM Pacific Time since 2015-01-26. disbursed_amount_by_product_with_uncollected_funds -This data set is only available from 2012-04-19 until 2015-01-25. After 2015-01-25, this data set was split into three data sets: disbursed_amount_by_product, disbursed_amount_by_age_of_uncollected_funds, and disbursed_amount_by_age_of_disbursed_funds. disbursed_amount_by_instance_hours - Available every 30 days by 5:00 PM Pacific Time since 2012-09-04. disbursed_amount_by_customer_geo - Available every 30 days by 5:00 PM Pacific Time since 2012-04-19. disbursed_amount_by_age_of_uncollected_funds - Available every 30 days by 5:00 PM Pacific Time since 2015-01-26. disbursed_amount_by_age_of_disbursed_funds - Available every 30 days by 5:00 PM Pacific Time since 2015-01-26. customer_profile_by_industry - Available daily by 5:00 PM Pacific Time from 2015-10-01 to 2017-06-29. After 2017-06-29 this data set will no longer be published. customer_profile_by_revenue - Available daily by 5:00 PM Pacific Time from 2015-10-01 to 2017-06-29. After 2017-06-29 this data set will no longer be published. customer_profile_by_geography - Available daily by 5:00 PM Pacific Time from 2015-10-01 to 2017-06-29. After 2017-06-29 this data set will no longer be published. sales_compensation_billed_revenue - Available monthly on the 4th day of the month by 5:00 PM Pacific Time since 2016-12. us_sales_and_use_tax_records - Available monthly on the 15th day of the month by 5:00 PM Pacific Time since 2017-02-15. - */ - dataSetType: DataSetType; - /** - * The date a data set was published. For daily data sets, provide a date with day-level granularity for the desired day. For weekly data sets, provide a date with day-level granularity within the desired week (the day value will be ignored). For monthly data sets, provide a date with month-level granularity for the desired month (the day value will be ignored). - */ - dataSetPublicationDate: DataSetPublicationDate; - /** - * The Amazon Resource Name (ARN) of the Role with an attached permissions policy to interact with the provided AWS services. - */ - roleNameArn: RoleNameArn; - /** - * The name (friendly name, not ARN) of the destination S3 bucket. - */ - destinationS3BucketName: DestinationS3BucketName; - /** - * (Optional) The desired S3 prefix for the published data set, similar to a directory path in standard file systems. For example, if given the bucket name "mybucket" and the prefix "myprefix/mydatasets", the output file "outputfile" would be published to "s3://mybucket/myprefix/mydatasets/outputfile". If the prefix directory structure does not exist, it will be created. If no prefix is provided, the data set will be published to the S3 bucket root. - */ - destinationS3Prefix?: DestinationS3Prefix; - /** - * Amazon Resource Name (ARN) for the SNS Topic that will be notified when the data set has been published or if an error has occurred. - */ - snsTopicArn: SnsTopicArn; - /** - * (Optional) Key-value pairs which will be returned, unmodified, in the Amazon SNS notification message and the data set metadata file. These key-value pairs can be used to correlated responses with tracking information from other systems. - */ - customerDefinedValues?: CustomerDefinedValues; - } - export interface GenerateDataSetResult { - /** - * A unique identifier representing a specific request to the GenerateDataSet operation. This identifier can be used to correlate a request with notifications from the SNS topic. - */ - dataSetRequestId?: DataSetRequestId; - } - export type OptionalKey = string; - export type OptionalValue = string; - export type RoleNameArn = string; - export type SnsTopicArn = string; - export interface StartSupportDataExportRequest { - /** - * Specifies the data set type to be written to the output csv file. The data set types customer_support_contacts_data and test_customer_support_contacts_data both result in a csv file containing the following fields: Product Id, Product Code, Customer Guid, Subscription Guid, Subscription Start Date, Organization, AWS Account Id, Given Name, Surname, Telephone Number, Email, Title, Country Code, ZIP Code, Operation Type, and Operation Time. customer_support_contacts_data Customer support contact data. The data set will contain all changes (Creates, Updates, and Deletes) to customer support contact data from the date specified in the from_date parameter. test_customer_support_contacts_data An example data set containing static test data in the same format as customer_support_contacts_data - */ - dataSetType: SupportDataSetType; - /** - * The start date from which to retrieve the data set in UTC. This parameter only affects the customer_support_contacts_data data set type. - */ - fromDate: FromDate; - /** - * The Amazon Resource Name (ARN) of the Role with an attached permissions policy to interact with the provided AWS services. - */ - roleNameArn: RoleNameArn; - /** - * The name (friendly name, not ARN) of the destination S3 bucket. - */ - destinationS3BucketName: DestinationS3BucketName; - /** - * (Optional) The desired S3 prefix for the published data set, similar to a directory path in standard file systems. For example, if given the bucket name "mybucket" and the prefix "myprefix/mydatasets", the output file "outputfile" would be published to "s3://mybucket/myprefix/mydatasets/outputfile". If the prefix directory structure does not exist, it will be created. If no prefix is provided, the data set will be published to the S3 bucket root. - */ - destinationS3Prefix?: DestinationS3Prefix; - /** - * Amazon Resource Name (ARN) for the SNS Topic that will be notified when the data set has been published or if an error has occurred. - */ - snsTopicArn: SnsTopicArn; - /** - * (Optional) Key-value pairs which will be returned, unmodified, in the Amazon SNS notification message and the data set metadata file. - */ - customerDefinedValues?: CustomerDefinedValues; - } - export interface StartSupportDataExportResult { - /** - * A unique identifier representing a specific request to the StartSupportDataExport operation. This identifier can be used to correlate a request with notifications from the SNS topic. - */ - dataSetRequestId?: DataSetRequestId; - } - export type SupportDataSetType = "customer_support_contacts_data"|"test_customer_support_contacts_data"|string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-07-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the MarketplaceCommerceAnalytics client. - */ - export import Types = MarketplaceCommerceAnalytics; -} -export = MarketplaceCommerceAnalytics; diff --git a/src/node_modules/aws-sdk/clients/marketplacecommerceanalytics.js b/src/node_modules/aws-sdk/clients/marketplacecommerceanalytics.js deleted file mode 100644 index 5ec8027..0000000 --- a/src/node_modules/aws-sdk/clients/marketplacecommerceanalytics.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['marketplacecommerceanalytics'] = {}; -AWS.MarketplaceCommerceAnalytics = Service.defineService('marketplacecommerceanalytics', ['2015-07-01']); -Object.defineProperty(apiLoader.services['marketplacecommerceanalytics'], '2015-07-01', { - get: function get() { - var model = require('../apis/marketplacecommerceanalytics-2015-07-01.min.json'); - model.paginators = require('../apis/marketplacecommerceanalytics-2015-07-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceCommerceAnalytics; diff --git a/src/node_modules/aws-sdk/clients/marketplaceentitlementservice.d.ts b/src/node_modules/aws-sdk/clients/marketplaceentitlementservice.d.ts deleted file mode 100644 index 17ce0ac..0000000 --- a/src/node_modules/aws-sdk/clients/marketplaceentitlementservice.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class MarketplaceEntitlementService extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: MarketplaceEntitlementService.Types.ClientConfiguration) - config: Config & MarketplaceEntitlementService.Types.ClientConfiguration; - /** - * GetEntitlements retrieves entitlement values for a given product. The results can be filtered based on customer identifier or product dimensions. - */ - getEntitlements(params: MarketplaceEntitlementService.Types.GetEntitlementsRequest, callback?: (err: AWSError, data: MarketplaceEntitlementService.Types.GetEntitlementsResult) => void): Request; - /** - * GetEntitlements retrieves entitlement values for a given product. The results can be filtered based on customer identifier or product dimensions. - */ - getEntitlements(callback?: (err: AWSError, data: MarketplaceEntitlementService.Types.GetEntitlementsResult) => void): Request; -} -declare namespace MarketplaceEntitlementService { - export type Boolean = boolean; - export type Double = number; - export interface Entitlement { - /** - * The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created. - */ - ProductCode?: ProductCode; - /** - * The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace. - */ - Dimension?: NonEmptyString; - /** - * The customer identifier is a handle to each unique customer in an application. Customer identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering Service. - */ - CustomerIdentifier?: NonEmptyString; - /** - * The EntitlementValue represents the amount of capacity that the customer is entitled to for the product. - */ - Value?: EntitlementValue; - /** - * The expiration date represents the minimum date through which this entitlement is expected to remain valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the customer will renew or cancel their contract. Customers who are opting to renew their contract will still have entitlements with an expiration date. - */ - ExpirationDate?: Timestamp; - } - export type EntitlementList = Entitlement[]; - export interface EntitlementValue { - /** - * The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set. - */ - IntegerValue?: Integer; - /** - * The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set. - */ - DoubleValue?: Double; - /** - * The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set. - */ - BooleanValue?: Boolean; - /** - * The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set. - */ - StringValue?: String; - } - export type ErrorMessage = string; - export type FilterValue = string; - export type FilterValueList = FilterValue[]; - export type GetEntitlementFilterName = "CUSTOMER_IDENTIFIER"|"DIMENSION"|string; - export type GetEntitlementFilters = {[key: string]: FilterValueList}; - export interface GetEntitlementsRequest { - /** - * Product code is used to uniquely identify a product in AWS Marketplace. The product code will be provided by AWS Marketplace when the product listing is created. - */ - ProductCode: ProductCode; - /** - * Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are unioned for each value in the value list, and then intersected for each filter key. - */ - Filter?: GetEntitlementFilters; - /** - * For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult. - */ - NextToken?: NonEmptyString; - /** - * The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the NextToken field in subsequent calls to GetEntitlements. - */ - MaxResults?: Integer; - } - export interface GetEntitlementsResult { - /** - * The set of entitlements found through the GetEntitlements operation. If the result contains an empty set of entitlements, NextToken might still be present and should be used. - */ - Entitlements?: EntitlementList; - /** - * For paginated results, use NextToken in subsequent calls to GetEntitlements. If the result contains an empty set of entitlements, NextToken might still be present and should be used. - */ - NextToken?: NonEmptyString; - } - export type Integer = number; - export type NonEmptyString = string; - export type ProductCode = string; - export type String = string; - export type Timestamp = Date; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2017-01-11"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the MarketplaceEntitlementService client. - */ - export import Types = MarketplaceEntitlementService; -} -export = MarketplaceEntitlementService; diff --git a/src/node_modules/aws-sdk/clients/marketplaceentitlementservice.js b/src/node_modules/aws-sdk/clients/marketplaceentitlementservice.js deleted file mode 100644 index 604a40c..0000000 --- a/src/node_modules/aws-sdk/clients/marketplaceentitlementservice.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['marketplaceentitlementservice'] = {}; -AWS.MarketplaceEntitlementService = Service.defineService('marketplaceentitlementservice', ['2017-01-11']); -Object.defineProperty(apiLoader.services['marketplaceentitlementservice'], '2017-01-11', { - get: function get() { - var model = require('../apis/entitlement.marketplace-2017-01-11.min.json'); - model.paginators = require('../apis/entitlement.marketplace-2017-01-11.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceEntitlementService; diff --git a/src/node_modules/aws-sdk/clients/marketplacemetering.d.ts b/src/node_modules/aws-sdk/clients/marketplacemetering.d.ts deleted file mode 100644 index c49f10d..0000000 --- a/src/node_modules/aws-sdk/clients/marketplacemetering.d.ts +++ /dev/null @@ -1,161 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class MarketplaceMetering extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: MarketplaceMetering.Types.ClientConfiguration) - config: Config & MarketplaceMetering.Types.ClientConfiguration; - /** - * BatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a set of customers. For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records. Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage. BatchMeterUsage can process up to 25 UsageRecords at a time. - */ - batchMeterUsage(params: MarketplaceMetering.Types.BatchMeterUsageRequest, callback?: (err: AWSError, data: MarketplaceMetering.Types.BatchMeterUsageResult) => void): Request; - /** - * BatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a set of customers. For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records. Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage. BatchMeterUsage can process up to 25 UsageRecords at a time. - */ - batchMeterUsage(callback?: (err: AWSError, data: MarketplaceMetering.Types.BatchMeterUsageResult) => void): Request; - /** - * API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID. MeterUsage is authenticated on the buyer's AWS account, generally when running from an EC2 instance on the AWS Marketplace. - */ - meterUsage(params: MarketplaceMetering.Types.MeterUsageRequest, callback?: (err: AWSError, data: MarketplaceMetering.Types.MeterUsageResult) => void): Request; - /** - * API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID. MeterUsage is authenticated on the buyer's AWS account, generally when running from an EC2 instance on the AWS Marketplace. - */ - meterUsage(callback?: (err: AWSError, data: MarketplaceMetering.Types.MeterUsageResult) => void): Request; - /** - * ResolveCustomer is called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a CustomerIdentifier and product code. - */ - resolveCustomer(params: MarketplaceMetering.Types.ResolveCustomerRequest, callback?: (err: AWSError, data: MarketplaceMetering.Types.ResolveCustomerResult) => void): Request; - /** - * ResolveCustomer is called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a CustomerIdentifier and product code. - */ - resolveCustomer(callback?: (err: AWSError, data: MarketplaceMetering.Types.ResolveCustomerResult) => void): Request; -} -declare namespace MarketplaceMetering { - export interface BatchMeterUsageRequest { - /** - * The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time. - */ - UsageRecords: UsageRecordList; - /** - * Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product. - */ - ProductCode: ProductCode; - } - export interface BatchMeterUsageResult { - /** - * Contains all UsageRecords processed by BatchMeterUsage. These records were either honored by AWS Marketplace Metering Service or were invalid. - */ - Results?: UsageRecordResultList; - /** - * Contains all UsageRecords that were not processed by BatchMeterUsage. This is a list of UsageRecords. You can retry the failed request by making another BatchMeterUsage call with this list as input in the BatchMeterUsageRequest. - */ - UnprocessedRecords?: UsageRecordList; - } - export type Boolean = boolean; - export type CustomerIdentifier = string; - export interface MeterUsageRequest { - /** - * Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product. - */ - ProductCode: ProductCode; - /** - * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored. - */ - Timestamp: Timestamp; - /** - * It will be one of the fcp dimension name provided during the publishing of the product. - */ - UsageDimension: UsageDimension; - /** - * Consumption value for the hour. - */ - UsageQuantity: UsageQuantity; - /** - * Checks whether you have the permissions required for the action, but does not make the request. If you have the permissions, the request returns DryRunOperation; otherwise, it returns UnauthorizedException. - */ - DryRun: Boolean; - } - export interface MeterUsageResult { - MeteringRecordId?: String; - } - export type NonEmptyString = string; - export type ProductCode = string; - export interface ResolveCustomerRequest { - /** - * When a buyer visits your website during the registration process, the buyer submits a registration token through the browser. The registration token is resolved to obtain a CustomerIdentifier and product code. - */ - RegistrationToken: NonEmptyString; - } - export interface ResolveCustomerResult { - /** - * The CustomerIdentifier is used to identify an individual customer in your application. Calls to BatchMeterUsage require CustomerIdentifiers for each UsageRecord. - */ - CustomerIdentifier?: CustomerIdentifier; - /** - * The product code is returned to confirm that the buyer is registering for your product. Subsequent BatchMeterUsage calls should be made using this product code. - */ - ProductCode?: ProductCode; - } - export type String = string; - export type Timestamp = Date; - export type UsageDimension = string; - export type UsageQuantity = number; - export interface UsageRecord { - /** - * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored. Your application can meter usage for up to one hour in the past. - */ - Timestamp: Timestamp; - /** - * The CustomerIdentifier is obtained through the ResolveCustomer operation and represents an individual buyer in your application. - */ - CustomerIdentifier: CustomerIdentifier; - /** - * During the process of registering a product on AWS Marketplace, up to eight dimensions are specified. These represent different units of value in your application. - */ - Dimension: UsageDimension; - /** - * The quantity of usage consumed by the customer for the given dimension and time. - */ - Quantity: UsageQuantity; - } - export type UsageRecordList = UsageRecord[]; - export interface UsageRecordResult { - /** - * The UsageRecord that was part of the BatchMeterUsage request. - */ - UsageRecord?: UsageRecord; - /** - * The MeteringRecordId is a unique identifier for this metering event. - */ - MeteringRecordId?: String; - /** - * The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage. Success- The UsageRecord was accepted and honored by BatchMeterUsage. CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product. DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity. - */ - Status?: UsageRecordResultStatus; - } - export type UsageRecordResultList = UsageRecordResult[]; - export type UsageRecordResultStatus = "Success"|"CustomerNotSubscribed"|"DuplicateRecord"|string; - export type errorMessage = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-01-14"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the MarketplaceMetering client. - */ - export import Types = MarketplaceMetering; -} -export = MarketplaceMetering; diff --git a/src/node_modules/aws-sdk/clients/marketplacemetering.js b/src/node_modules/aws-sdk/clients/marketplacemetering.js deleted file mode 100644 index b3630ab..0000000 --- a/src/node_modules/aws-sdk/clients/marketplacemetering.js +++ /dev/null @@ -1,17 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['marketplacemetering'] = {}; -AWS.MarketplaceMetering = Service.defineService('marketplacemetering', ['2016-01-14']); -Object.defineProperty(apiLoader.services['marketplacemetering'], '2016-01-14', { - get: function get() { - var model = require('../apis/meteringmarketplace-2016-01-14.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceMetering; diff --git a/src/node_modules/aws-sdk/clients/mobileanalytics.d.ts b/src/node_modules/aws-sdk/clients/mobileanalytics.d.ts deleted file mode 100644 index b935e4c..0000000 --- a/src/node_modules/aws-sdk/clients/mobileanalytics.d.ts +++ /dev/null @@ -1,108 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class MobileAnalytics extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: MobileAnalytics.Types.ClientConfiguration) - config: Config & MobileAnalytics.Types.ClientConfiguration; - /** - * The PutEvents operation records one or more events. You can have up to 1,500 unique custom events per app, any combination of up to 40 attributes and metrics per custom event, and any number of attribute or metric values. - */ - putEvents(params: MobileAnalytics.Types.PutEventsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * The PutEvents operation records one or more events. You can have up to 1,500 unique custom events per app, any combination of up to 40 attributes and metrics per custom event, and any number of attribute or metric values. - */ - putEvents(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace MobileAnalytics { - export type Double = number; - export interface Event { - /** - * A name signifying an event that occurred in your app. This is used for grouping and aggregating like events together for reporting purposes. - */ - eventType: String50Chars; - /** - * The time the event occurred in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z - */ - timestamp: ISO8601Timestamp; - /** - * The session the event occured within. - */ - session?: Session; - /** - * The version of the event. - */ - version?: String10Chars; - /** - * A collection of key-value pairs that give additional context to the event. The key-value pairs are specified by the developer. This collection can be empty or the attribute object can be omitted. - */ - attributes?: MapOfStringToString; - /** - * A collection of key-value pairs that gives additional, measurable context to the event. The key-value pairs are specified by the developer. This collection can be empty or the attribute object can be omitted. - */ - metrics?: MapOfStringToNumber; - } - export type EventListDefinition = Event[]; - export type ISO8601Timestamp = string; - export type Long = number; - export type MapOfStringToNumber = {[key: string]: Double}; - export type MapOfStringToString = {[key: string]: String0to1000Chars}; - export interface PutEventsInput { - /** - * An array of Event JSON objects - */ - events: EventListDefinition; - /** - * The client context including the client ID, app title, app version and package name. - */ - clientContext: String; - /** - * The encoding used for the client context. - */ - clientContextEncoding?: String; - } - export interface Session { - /** - * A unique identifier for the session - */ - id?: String50Chars; - /** - * The duration of the session. - */ - duration?: Long; - /** - * The time the event started in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z - */ - startTimestamp?: ISO8601Timestamp; - /** - * The time the event terminated in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z - */ - stopTimestamp?: ISO8601Timestamp; - } - export type String = string; - export type String0to1000Chars = string; - export type String10Chars = string; - export type String50Chars = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-06-05"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the MobileAnalytics client. - */ - export import Types = MobileAnalytics; -} -export = MobileAnalytics; diff --git a/src/node_modules/aws-sdk/clients/mobileanalytics.js b/src/node_modules/aws-sdk/clients/mobileanalytics.js deleted file mode 100644 index d1d066c..0000000 --- a/src/node_modules/aws-sdk/clients/mobileanalytics.js +++ /dev/null @@ -1,17 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['mobileanalytics'] = {}; -AWS.MobileAnalytics = Service.defineService('mobileanalytics', ['2014-06-05']); -Object.defineProperty(apiLoader.services['mobileanalytics'], '2014-06-05', { - get: function get() { - var model = require('../apis/mobileanalytics-2014-06-05.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MobileAnalytics; diff --git a/src/node_modules/aws-sdk/clients/mturk.d.ts b/src/node_modules/aws-sdk/clients/mturk.d.ts deleted file mode 100644 index 0e7d55e..0000000 --- a/src/node_modules/aws-sdk/clients/mturk.d.ts +++ /dev/null @@ -1,1684 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class MTurk extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: MTurk.Types.ClientConfiguration) - config: Config & MTurk.Types.ClientConfiguration; - /** - * The AcceptQualificationRequest operation approves a Worker's request for a Qualification. Only the owner of the Qualification type can grant a Qualification request for that type. A successful request for the AcceptQualificationRequest operation returns with no errors and an empty body. - */ - acceptQualificationRequest(params: MTurk.Types.AcceptQualificationRequestRequest, callback?: (err: AWSError, data: MTurk.Types.AcceptQualificationRequestResponse) => void): Request; - /** - * The AcceptQualificationRequest operation approves a Worker's request for a Qualification. Only the owner of the Qualification type can grant a Qualification request for that type. A successful request for the AcceptQualificationRequest operation returns with no errors and an empty body. - */ - acceptQualificationRequest(callback?: (err: AWSError, data: MTurk.Types.AcceptQualificationRequestResponse) => void): Request; - /** - * The ApproveAssignment operation approves the results of a completed assignment. Approving an assignment initiates two payments from the Requester's Amazon.com account The Worker who submitted the results is paid the reward specified in the HIT. Amazon Mechanical Turk fees are debited. If the Requester's account does not have adequate funds for these payments, the call to ApproveAssignment returns an exception, and the approval is not processed. You can include an optional feedback message with the approval, which the Worker can see in the Status section of the web site. You can also call this operation for assignments that were previous rejected and approve them by explicitly overriding the previous rejection. This only works on rejected assignments that were submitted within the previous 30 days and only if the assignment's related HIT has not been deleted. - */ - approveAssignment(params: MTurk.Types.ApproveAssignmentRequest, callback?: (err: AWSError, data: MTurk.Types.ApproveAssignmentResponse) => void): Request; - /** - * The ApproveAssignment operation approves the results of a completed assignment. Approving an assignment initiates two payments from the Requester's Amazon.com account The Worker who submitted the results is paid the reward specified in the HIT. Amazon Mechanical Turk fees are debited. If the Requester's account does not have adequate funds for these payments, the call to ApproveAssignment returns an exception, and the approval is not processed. You can include an optional feedback message with the approval, which the Worker can see in the Status section of the web site. You can also call this operation for assignments that were previous rejected and approve them by explicitly overriding the previous rejection. This only works on rejected assignments that were submitted within the previous 30 days and only if the assignment's related HIT has not been deleted. - */ - approveAssignment(callback?: (err: AWSError, data: MTurk.Types.ApproveAssignmentResponse) => void): Request; - /** - * The AssociateQualificationWithWorker operation gives a Worker a Qualification. AssociateQualificationWithWorker does not require that the Worker submit a Qualification request. It gives the Qualification directly to the Worker. You can only assign a Qualification of a Qualification type that you created (using the CreateQualificationType operation). Note: AssociateQualificationWithWorker does not affect any pending Qualification requests for the Qualification by the Worker. If you assign a Qualification to a Worker, then later grant a Qualification request made by the Worker, the granting of the request may modify the Qualification score. To resolve a pending Qualification request without affecting the Qualification the Worker already has, reject the request with the RejectQualificationRequest operation. - */ - associateQualificationWithWorker(params: MTurk.Types.AssociateQualificationWithWorkerRequest, callback?: (err: AWSError, data: MTurk.Types.AssociateQualificationWithWorkerResponse) => void): Request; - /** - * The AssociateQualificationWithWorker operation gives a Worker a Qualification. AssociateQualificationWithWorker does not require that the Worker submit a Qualification request. It gives the Qualification directly to the Worker. You can only assign a Qualification of a Qualification type that you created (using the CreateQualificationType operation). Note: AssociateQualificationWithWorker does not affect any pending Qualification requests for the Qualification by the Worker. If you assign a Qualification to a Worker, then later grant a Qualification request made by the Worker, the granting of the request may modify the Qualification score. To resolve a pending Qualification request without affecting the Qualification the Worker already has, reject the request with the RejectQualificationRequest operation. - */ - associateQualificationWithWorker(callback?: (err: AWSError, data: MTurk.Types.AssociateQualificationWithWorkerResponse) => void): Request; - /** - * The CreateAdditionalAssignmentsForHIT operation increases the maximum number of assignments of an existing HIT. To extend the maximum number of assignments, specify the number of additional assignments. HITs created with fewer than 10 assignments cannot be extended to have 10 or more assignments. Attempting to add assignments in a way that brings the total number of assignments for a HIT from fewer than 10 assignments to 10 or more assignments will result in an AWS.MechanicalTurk.InvalidMaximumAssignmentsIncrease exception. HITs that were created before July 22, 2015 cannot be extended. Attempting to extend HITs that were created before July 22, 2015 will result in an AWS.MechanicalTurk.HITTooOldForExtension exception. - */ - createAdditionalAssignmentsForHIT(params: MTurk.Types.CreateAdditionalAssignmentsForHITRequest, callback?: (err: AWSError, data: MTurk.Types.CreateAdditionalAssignmentsForHITResponse) => void): Request; - /** - * The CreateAdditionalAssignmentsForHIT operation increases the maximum number of assignments of an existing HIT. To extend the maximum number of assignments, specify the number of additional assignments. HITs created with fewer than 10 assignments cannot be extended to have 10 or more assignments. Attempting to add assignments in a way that brings the total number of assignments for a HIT from fewer than 10 assignments to 10 or more assignments will result in an AWS.MechanicalTurk.InvalidMaximumAssignmentsIncrease exception. HITs that were created before July 22, 2015 cannot be extended. Attempting to extend HITs that were created before July 22, 2015 will result in an AWS.MechanicalTurk.HITTooOldForExtension exception. - */ - createAdditionalAssignmentsForHIT(callback?: (err: AWSError, data: MTurk.Types.CreateAdditionalAssignmentsForHITResponse) => void): Request; - /** - * The CreateHIT operation creates a new Human Intelligence Task (HIT). The new HIT is made available for Workers to find and accept on the Amazon Mechanical Turk website. This operation allows you to specify a new HIT by passing in values for the properties of the HIT, such as its title, reward amount and number of assignments. When you pass these values to CreateHIT, a new HIT is created for you, with a new HITTypeID. The HITTypeID can be used to create additional HITs in the future without needing to specify common parameters such as the title, description and reward amount each time. An alternative way to create HITs is to first generate a HITTypeID using the CreateHITType operation and then call the CreateHITWithHITType operation. This is the recommended best practice for Requesters who are creating large numbers of HITs. CreateHIT also supports several ways to provide question data: by providing a value for the Question parameter that fully specifies the contents of the HIT, or by providing a HitLayoutId and associated HitLayoutParameters. If a HIT is created with 10 or more maximum assignments, there is an additional fee. For more information, see Amazon Mechanical Turk Pricing. - */ - createHIT(params: MTurk.Types.CreateHITRequest, callback?: (err: AWSError, data: MTurk.Types.CreateHITResponse) => void): Request; - /** - * The CreateHIT operation creates a new Human Intelligence Task (HIT). The new HIT is made available for Workers to find and accept on the Amazon Mechanical Turk website. This operation allows you to specify a new HIT by passing in values for the properties of the HIT, such as its title, reward amount and number of assignments. When you pass these values to CreateHIT, a new HIT is created for you, with a new HITTypeID. The HITTypeID can be used to create additional HITs in the future without needing to specify common parameters such as the title, description and reward amount each time. An alternative way to create HITs is to first generate a HITTypeID using the CreateHITType operation and then call the CreateHITWithHITType operation. This is the recommended best practice for Requesters who are creating large numbers of HITs. CreateHIT also supports several ways to provide question data: by providing a value for the Question parameter that fully specifies the contents of the HIT, or by providing a HitLayoutId and associated HitLayoutParameters. If a HIT is created with 10 or more maximum assignments, there is an additional fee. For more information, see Amazon Mechanical Turk Pricing. - */ - createHIT(callback?: (err: AWSError, data: MTurk.Types.CreateHITResponse) => void): Request; - /** - * The CreateHITType operation creates a new HIT type. This operation allows you to define a standard set of HIT properties to use when creating HITs. If you register a HIT type with values that match an existing HIT type, the HIT type ID of the existing type will be returned. - */ - createHITType(params: MTurk.Types.CreateHITTypeRequest, callback?: (err: AWSError, data: MTurk.Types.CreateHITTypeResponse) => void): Request; - /** - * The CreateHITType operation creates a new HIT type. This operation allows you to define a standard set of HIT properties to use when creating HITs. If you register a HIT type with values that match an existing HIT type, the HIT type ID of the existing type will be returned. - */ - createHITType(callback?: (err: AWSError, data: MTurk.Types.CreateHITTypeResponse) => void): Request; - /** - * The CreateHITWithHITType operation creates a new Human Intelligence Task (HIT) using an existing HITTypeID generated by the CreateHITType operation. This is an alternative way to create HITs from the CreateHIT operation. This is the recommended best practice for Requesters who are creating large numbers of HITs. CreateHITWithHITType also supports several ways to provide question data: by providing a value for the Question parameter that fully specifies the contents of the HIT, or by providing a HitLayoutId and associated HitLayoutParameters. If a HIT is created with 10 or more maximum assignments, there is an additional fee. For more information, see Amazon Mechanical Turk Pricing. - */ - createHITWithHITType(params: MTurk.Types.CreateHITWithHITTypeRequest, callback?: (err: AWSError, data: MTurk.Types.CreateHITWithHITTypeResponse) => void): Request; - /** - * The CreateHITWithHITType operation creates a new Human Intelligence Task (HIT) using an existing HITTypeID generated by the CreateHITType operation. This is an alternative way to create HITs from the CreateHIT operation. This is the recommended best practice for Requesters who are creating large numbers of HITs. CreateHITWithHITType also supports several ways to provide question data: by providing a value for the Question parameter that fully specifies the contents of the HIT, or by providing a HitLayoutId and associated HitLayoutParameters. If a HIT is created with 10 or more maximum assignments, there is an additional fee. For more information, see Amazon Mechanical Turk Pricing. - */ - createHITWithHITType(callback?: (err: AWSError, data: MTurk.Types.CreateHITWithHITTypeResponse) => void): Request; - /** - * The CreateQualificationType operation creates a new Qualification type, which is represented by a QualificationType data structure. - */ - createQualificationType(params: MTurk.Types.CreateQualificationTypeRequest, callback?: (err: AWSError, data: MTurk.Types.CreateQualificationTypeResponse) => void): Request; - /** - * The CreateQualificationType operation creates a new Qualification type, which is represented by a QualificationType data structure. - */ - createQualificationType(callback?: (err: AWSError, data: MTurk.Types.CreateQualificationTypeResponse) => void): Request; - /** - * The CreateWorkerBlock operation allows you to prevent a Worker from working on your HITs. For example, you can block a Worker who is producing poor quality work. You can block up to 100,000 Workers. - */ - createWorkerBlock(params: MTurk.Types.CreateWorkerBlockRequest, callback?: (err: AWSError, data: MTurk.Types.CreateWorkerBlockResponse) => void): Request; - /** - * The CreateWorkerBlock operation allows you to prevent a Worker from working on your HITs. For example, you can block a Worker who is producing poor quality work. You can block up to 100,000 Workers. - */ - createWorkerBlock(callback?: (err: AWSError, data: MTurk.Types.CreateWorkerBlockResponse) => void): Request; - /** - * The DeleteHIT operation is used to delete HIT that is no longer needed. Only the Requester who created the HIT can delete it. You can only dispose of HITs that are in the Reviewable state, with all of their submitted assignments already either approved or rejected. If you call the DeleteHIT operation on a HIT that is not in the Reviewable state (for example, that has not expired, or still has active assignments), or on a HIT that is Reviewable but without all of its submitted assignments already approved or rejected, the service will return an error. HITs are automatically disposed of after 120 days. After you dispose of a HIT, you can no longer approve the HIT's rejected assignments. Disposed HITs are not returned in results for the ListHITs operation. Disposing HITs can improve the performance of operations such as ListReviewableHITs and ListHITs. - */ - deleteHIT(params: MTurk.Types.DeleteHITRequest, callback?: (err: AWSError, data: MTurk.Types.DeleteHITResponse) => void): Request; - /** - * The DeleteHIT operation is used to delete HIT that is no longer needed. Only the Requester who created the HIT can delete it. You can only dispose of HITs that are in the Reviewable state, with all of their submitted assignments already either approved or rejected. If you call the DeleteHIT operation on a HIT that is not in the Reviewable state (for example, that has not expired, or still has active assignments), or on a HIT that is Reviewable but without all of its submitted assignments already approved or rejected, the service will return an error. HITs are automatically disposed of after 120 days. After you dispose of a HIT, you can no longer approve the HIT's rejected assignments. Disposed HITs are not returned in results for the ListHITs operation. Disposing HITs can improve the performance of operations such as ListReviewableHITs and ListHITs. - */ - deleteHIT(callback?: (err: AWSError, data: MTurk.Types.DeleteHITResponse) => void): Request; - /** - * The DeleteQualificationType deletes a Qualification type and deletes any HIT types that are associated with the Qualification type. This operation does not revoke Qualifications already assigned to Workers because the Qualifications might be needed for active HITs. If there are any pending requests for the Qualification type, Amazon Mechanical Turk rejects those requests. After you delete a Qualification type, you can no longer use it to create HITs or HIT types. DeleteQualificationType must wait for all the HITs that use the deleted Qualification type to be deleted before completing. It may take up to 48 hours before DeleteQualificationType completes and the unique name of the Qualification type is available for reuse with CreateQualificationType. - */ - deleteQualificationType(params: MTurk.Types.DeleteQualificationTypeRequest, callback?: (err: AWSError, data: MTurk.Types.DeleteQualificationTypeResponse) => void): Request; - /** - * The DeleteQualificationType deletes a Qualification type and deletes any HIT types that are associated with the Qualification type. This operation does not revoke Qualifications already assigned to Workers because the Qualifications might be needed for active HITs. If there are any pending requests for the Qualification type, Amazon Mechanical Turk rejects those requests. After you delete a Qualification type, you can no longer use it to create HITs or HIT types. DeleteQualificationType must wait for all the HITs that use the deleted Qualification type to be deleted before completing. It may take up to 48 hours before DeleteQualificationType completes and the unique name of the Qualification type is available for reuse with CreateQualificationType. - */ - deleteQualificationType(callback?: (err: AWSError, data: MTurk.Types.DeleteQualificationTypeResponse) => void): Request; - /** - * The DeleteWorkerBlock operation allows you to reinstate a blocked Worker to work on your HITs. This operation reverses the effects of the CreateWorkerBlock operation. You need the Worker ID to use this operation. If the Worker ID is missing or invalid, this operation fails and returns the message “WorkerId is invalid.” If the specified Worker is not blocked, this operation returns successfully. - */ - deleteWorkerBlock(params: MTurk.Types.DeleteWorkerBlockRequest, callback?: (err: AWSError, data: MTurk.Types.DeleteWorkerBlockResponse) => void): Request; - /** - * The DeleteWorkerBlock operation allows you to reinstate a blocked Worker to work on your HITs. This operation reverses the effects of the CreateWorkerBlock operation. You need the Worker ID to use this operation. If the Worker ID is missing or invalid, this operation fails and returns the message “WorkerId is invalid.” If the specified Worker is not blocked, this operation returns successfully. - */ - deleteWorkerBlock(callback?: (err: AWSError, data: MTurk.Types.DeleteWorkerBlockResponse) => void): Request; - /** - * The DisassociateQualificationFromWorker revokes a previously granted Qualification from a user. You can provide a text message explaining why the Qualification was revoked. The user who had the Qualification can see this message. - */ - disassociateQualificationFromWorker(params: MTurk.Types.DisassociateQualificationFromWorkerRequest, callback?: (err: AWSError, data: MTurk.Types.DisassociateQualificationFromWorkerResponse) => void): Request; - /** - * The DisassociateQualificationFromWorker revokes a previously granted Qualification from a user. You can provide a text message explaining why the Qualification was revoked. The user who had the Qualification can see this message. - */ - disassociateQualificationFromWorker(callback?: (err: AWSError, data: MTurk.Types.DisassociateQualificationFromWorkerResponse) => void): Request; - /** - * The GetAccountBalance operation retrieves the amount of money in your Amazon Mechanical Turk account. - */ - getAccountBalance(params: MTurk.Types.GetAccountBalanceRequest, callback?: (err: AWSError, data: MTurk.Types.GetAccountBalanceResponse) => void): Request; - /** - * The GetAccountBalance operation retrieves the amount of money in your Amazon Mechanical Turk account. - */ - getAccountBalance(callback?: (err: AWSError, data: MTurk.Types.GetAccountBalanceResponse) => void): Request; - /** - * The GetAssignment operation retrieves the details of the specified Assignment. - */ - getAssignment(params: MTurk.Types.GetAssignmentRequest, callback?: (err: AWSError, data: MTurk.Types.GetAssignmentResponse) => void): Request; - /** - * The GetAssignment operation retrieves the details of the specified Assignment. - */ - getAssignment(callback?: (err: AWSError, data: MTurk.Types.GetAssignmentResponse) => void): Request; - /** - * The GetFileUploadURL operation generates and returns a temporary URL. You use the temporary URL to retrieve a file uploaded by a Worker as an answer to a FileUploadAnswer question for a HIT. The temporary URL is generated the instant the GetFileUploadURL operation is called, and is valid for 60 seconds. You can get a temporary file upload URL any time until the HIT is disposed. After the HIT is disposed, any uploaded files are deleted, and cannot be retrieved. - */ - getFileUploadURL(params: MTurk.Types.GetFileUploadURLRequest, callback?: (err: AWSError, data: MTurk.Types.GetFileUploadURLResponse) => void): Request; - /** - * The GetFileUploadURL operation generates and returns a temporary URL. You use the temporary URL to retrieve a file uploaded by a Worker as an answer to a FileUploadAnswer question for a HIT. The temporary URL is generated the instant the GetFileUploadURL operation is called, and is valid for 60 seconds. You can get a temporary file upload URL any time until the HIT is disposed. After the HIT is disposed, any uploaded files are deleted, and cannot be retrieved. - */ - getFileUploadURL(callback?: (err: AWSError, data: MTurk.Types.GetFileUploadURLResponse) => void): Request; - /** - * The GetHIT operation retrieves the details of the specified HIT. - */ - getHIT(params: MTurk.Types.GetHITRequest, callback?: (err: AWSError, data: MTurk.Types.GetHITResponse) => void): Request; - /** - * The GetHIT operation retrieves the details of the specified HIT. - */ - getHIT(callback?: (err: AWSError, data: MTurk.Types.GetHITResponse) => void): Request; - /** - * The GetQualificationScore operation returns the value of a Worker's Qualification for a given Qualification type. To get a Worker's Qualification, you must know the Worker's ID. The Worker's ID is included in the assignment data returned by the ListAssignmentsForHIT operation. Only the owner of a Qualification type can query the value of a Worker's Qualification of that type. - */ - getQualificationScore(params: MTurk.Types.GetQualificationScoreRequest, callback?: (err: AWSError, data: MTurk.Types.GetQualificationScoreResponse) => void): Request; - /** - * The GetQualificationScore operation returns the value of a Worker's Qualification for a given Qualification type. To get a Worker's Qualification, you must know the Worker's ID. The Worker's ID is included in the assignment data returned by the ListAssignmentsForHIT operation. Only the owner of a Qualification type can query the value of a Worker's Qualification of that type. - */ - getQualificationScore(callback?: (err: AWSError, data: MTurk.Types.GetQualificationScoreResponse) => void): Request; - /** - * The GetQualificationTypeoperation retrieves information about a Qualification type using its ID. - */ - getQualificationType(params: MTurk.Types.GetQualificationTypeRequest, callback?: (err: AWSError, data: MTurk.Types.GetQualificationTypeResponse) => void): Request; - /** - * The GetQualificationTypeoperation retrieves information about a Qualification type using its ID. - */ - getQualificationType(callback?: (err: AWSError, data: MTurk.Types.GetQualificationTypeResponse) => void): Request; - /** - * The ListAssignmentsForHIT operation retrieves completed assignments for a HIT. You can use this operation to retrieve the results for a HIT. You can get assignments for a HIT at any time, even if the HIT is not yet Reviewable. If a HIT requested multiple assignments, and has received some results but has not yet become Reviewable, you can still retrieve the partial results with this operation. Use the AssignmentStatus parameter to control which set of assignments for a HIT are returned. The ListAssignmentsForHIT operation can return submitted assignments awaiting approval, or it can return assignments that have already been approved or rejected. You can set AssignmentStatus=Approved,Rejected to get assignments that have already been approved and rejected together in one result set. Only the Requester who created the HIT can retrieve the assignments for that HIT. Results are sorted and divided into numbered pages and the operation returns a single page of results. You can use the parameters of the operation to control sorting and pagination. - */ - listAssignmentsForHIT(params: MTurk.Types.ListAssignmentsForHITRequest, callback?: (err: AWSError, data: MTurk.Types.ListAssignmentsForHITResponse) => void): Request; - /** - * The ListAssignmentsForHIT operation retrieves completed assignments for a HIT. You can use this operation to retrieve the results for a HIT. You can get assignments for a HIT at any time, even if the HIT is not yet Reviewable. If a HIT requested multiple assignments, and has received some results but has not yet become Reviewable, you can still retrieve the partial results with this operation. Use the AssignmentStatus parameter to control which set of assignments for a HIT are returned. The ListAssignmentsForHIT operation can return submitted assignments awaiting approval, or it can return assignments that have already been approved or rejected. You can set AssignmentStatus=Approved,Rejected to get assignments that have already been approved and rejected together in one result set. Only the Requester who created the HIT can retrieve the assignments for that HIT. Results are sorted and divided into numbered pages and the operation returns a single page of results. You can use the parameters of the operation to control sorting and pagination. - */ - listAssignmentsForHIT(callback?: (err: AWSError, data: MTurk.Types.ListAssignmentsForHITResponse) => void): Request; - /** - * The ListBonusPayments operation retrieves the amounts of bonuses you have paid to Workers for a given HIT or assignment. - */ - listBonusPayments(params: MTurk.Types.ListBonusPaymentsRequest, callback?: (err: AWSError, data: MTurk.Types.ListBonusPaymentsResponse) => void): Request; - /** - * The ListBonusPayments operation retrieves the amounts of bonuses you have paid to Workers for a given HIT or assignment. - */ - listBonusPayments(callback?: (err: AWSError, data: MTurk.Types.ListBonusPaymentsResponse) => void): Request; - /** - * The ListHITs operation returns all of a Requester's HITs. The operation returns HITs of any status, except for HITs that have been deleted of with the DeleteHIT operation or that have been auto-deleted. - */ - listHITs(params: MTurk.Types.ListHITsRequest, callback?: (err: AWSError, data: MTurk.Types.ListHITsResponse) => void): Request; - /** - * The ListHITs operation returns all of a Requester's HITs. The operation returns HITs of any status, except for HITs that have been deleted of with the DeleteHIT operation or that have been auto-deleted. - */ - listHITs(callback?: (err: AWSError, data: MTurk.Types.ListHITsResponse) => void): Request; - /** - * The ListHITsForQualificationType operation returns the HITs that use the given Qualification type for a Qualification requirement. The operation returns HITs of any status, except for HITs that have been deleted with the DeleteHIT operation or that have been auto-deleted. - */ - listHITsForQualificationType(params: MTurk.Types.ListHITsForQualificationTypeRequest, callback?: (err: AWSError, data: MTurk.Types.ListHITsForQualificationTypeResponse) => void): Request; - /** - * The ListHITsForQualificationType operation returns the HITs that use the given Qualification type for a Qualification requirement. The operation returns HITs of any status, except for HITs that have been deleted with the DeleteHIT operation or that have been auto-deleted. - */ - listHITsForQualificationType(callback?: (err: AWSError, data: MTurk.Types.ListHITsForQualificationTypeResponse) => void): Request; - /** - * The ListQualificationRequests operation retrieves requests for Qualifications of a particular Qualification type. The owner of the Qualification type calls this operation to poll for pending requests, and accepts them using the AcceptQualification operation. - */ - listQualificationRequests(params: MTurk.Types.ListQualificationRequestsRequest, callback?: (err: AWSError, data: MTurk.Types.ListQualificationRequestsResponse) => void): Request; - /** - * The ListQualificationRequests operation retrieves requests for Qualifications of a particular Qualification type. The owner of the Qualification type calls this operation to poll for pending requests, and accepts them using the AcceptQualification operation. - */ - listQualificationRequests(callback?: (err: AWSError, data: MTurk.Types.ListQualificationRequestsResponse) => void): Request; - /** - * The ListQualificationRequests operation retrieves requests for Qualifications of a particular Qualification type. The owner of the Qualification type calls this operation to poll for pending requests, and accepts them using the AcceptQualification operation. - */ - listQualificationTypes(params: MTurk.Types.ListQualificationTypesRequest, callback?: (err: AWSError, data: MTurk.Types.ListQualificationTypesResponse) => void): Request; - /** - * The ListQualificationRequests operation retrieves requests for Qualifications of a particular Qualification type. The owner of the Qualification type calls this operation to poll for pending requests, and accepts them using the AcceptQualification operation. - */ - listQualificationTypes(callback?: (err: AWSError, data: MTurk.Types.ListQualificationTypesResponse) => void): Request; - /** - * The ListReviewPolicyResultsForHIT operation retrieves the computed results and the actions taken in the course of executing your Review Policies for a given HIT. For information about how to specify Review Policies when you call CreateHIT, see Review Policies. The ListReviewPolicyResultsForHIT operation can return results for both Assignment-level and HIT-level review results. - */ - listReviewPolicyResultsForHIT(params: MTurk.Types.ListReviewPolicyResultsForHITRequest, callback?: (err: AWSError, data: MTurk.Types.ListReviewPolicyResultsForHITResponse) => void): Request; - /** - * The ListReviewPolicyResultsForHIT operation retrieves the computed results and the actions taken in the course of executing your Review Policies for a given HIT. For information about how to specify Review Policies when you call CreateHIT, see Review Policies. The ListReviewPolicyResultsForHIT operation can return results for both Assignment-level and HIT-level review results. - */ - listReviewPolicyResultsForHIT(callback?: (err: AWSError, data: MTurk.Types.ListReviewPolicyResultsForHITResponse) => void): Request; - /** - * The ListReviewableHITs operation retrieves the HITs with Status equal to Reviewable or Status equal to Reviewing that belong to the Requester calling the operation. - */ - listReviewableHITs(params: MTurk.Types.ListReviewableHITsRequest, callback?: (err: AWSError, data: MTurk.Types.ListReviewableHITsResponse) => void): Request; - /** - * The ListReviewableHITs operation retrieves the HITs with Status equal to Reviewable or Status equal to Reviewing that belong to the Requester calling the operation. - */ - listReviewableHITs(callback?: (err: AWSError, data: MTurk.Types.ListReviewableHITsResponse) => void): Request; - /** - * The ListWorkersBlocks operation retrieves a list of Workers who are blocked from working on your HITs. - */ - listWorkerBlocks(params: MTurk.Types.ListWorkerBlocksRequest, callback?: (err: AWSError, data: MTurk.Types.ListWorkerBlocksResponse) => void): Request; - /** - * The ListWorkersBlocks operation retrieves a list of Workers who are blocked from working on your HITs. - */ - listWorkerBlocks(callback?: (err: AWSError, data: MTurk.Types.ListWorkerBlocksResponse) => void): Request; - /** - * The ListWorkersWithQualificationType operation returns all of the Workers that have been associated with a given Qualification type. - */ - listWorkersWithQualificationType(params: MTurk.Types.ListWorkersWithQualificationTypeRequest, callback?: (err: AWSError, data: MTurk.Types.ListWorkersWithQualificationTypeResponse) => void): Request; - /** - * The ListWorkersWithQualificationType operation returns all of the Workers that have been associated with a given Qualification type. - */ - listWorkersWithQualificationType(callback?: (err: AWSError, data: MTurk.Types.ListWorkersWithQualificationTypeResponse) => void): Request; - /** - * The NotifyWorkers operation sends an email to one or more Workers that you specify with the Worker ID. You can specify up to 100 Worker IDs to send the same message with a single call to the NotifyWorkers operation. The NotifyWorkers operation will send a notification email to a Worker only if you have previously approved or rejected work from the Worker. - */ - notifyWorkers(params: MTurk.Types.NotifyWorkersRequest, callback?: (err: AWSError, data: MTurk.Types.NotifyWorkersResponse) => void): Request; - /** - * The NotifyWorkers operation sends an email to one or more Workers that you specify with the Worker ID. You can specify up to 100 Worker IDs to send the same message with a single call to the NotifyWorkers operation. The NotifyWorkers operation will send a notification email to a Worker only if you have previously approved or rejected work from the Worker. - */ - notifyWorkers(callback?: (err: AWSError, data: MTurk.Types.NotifyWorkersResponse) => void): Request; - /** - * The RejectAssignment operation rejects the results of a completed assignment. You can include an optional feedback message with the rejection, which the Worker can see in the Status section of the web site. When you include a feedback message with the rejection, it helps the Worker understand why the assignment was rejected, and can improve the quality of the results the Worker submits in the future. Only the Requester who created the HIT can reject an assignment for the HIT. - */ - rejectAssignment(params: MTurk.Types.RejectAssignmentRequest, callback?: (err: AWSError, data: MTurk.Types.RejectAssignmentResponse) => void): Request; - /** - * The RejectAssignment operation rejects the results of a completed assignment. You can include an optional feedback message with the rejection, which the Worker can see in the Status section of the web site. When you include a feedback message with the rejection, it helps the Worker understand why the assignment was rejected, and can improve the quality of the results the Worker submits in the future. Only the Requester who created the HIT can reject an assignment for the HIT. - */ - rejectAssignment(callback?: (err: AWSError, data: MTurk.Types.RejectAssignmentResponse) => void): Request; - /** - * The RejectQualificationRequest operation rejects a user's request for a Qualification. You can provide a text message explaining why the request was rejected. The Worker who made the request can see this message. - */ - rejectQualificationRequest(params: MTurk.Types.RejectQualificationRequestRequest, callback?: (err: AWSError, data: MTurk.Types.RejectQualificationRequestResponse) => void): Request; - /** - * The RejectQualificationRequest operation rejects a user's request for a Qualification. You can provide a text message explaining why the request was rejected. The Worker who made the request can see this message. - */ - rejectQualificationRequest(callback?: (err: AWSError, data: MTurk.Types.RejectQualificationRequestResponse) => void): Request; - /** - * The SendBonus operation issues a payment of money from your account to a Worker. This payment happens separately from the reward you pay to the Worker when you approve the Worker's assignment. The SendBonus operation requires the Worker's ID and the assignment ID as parameters to initiate payment of the bonus. You must include a message that explains the reason for the bonus payment, as the Worker may not be expecting the payment. Amazon Mechanical Turk collects a fee for bonus payments, similar to the HIT listing fee. This operation fails if your account does not have enough funds to pay for both the bonus and the fees. - */ - sendBonus(params: MTurk.Types.SendBonusRequest, callback?: (err: AWSError, data: MTurk.Types.SendBonusResponse) => void): Request; - /** - * The SendBonus operation issues a payment of money from your account to a Worker. This payment happens separately from the reward you pay to the Worker when you approve the Worker's assignment. The SendBonus operation requires the Worker's ID and the assignment ID as parameters to initiate payment of the bonus. You must include a message that explains the reason for the bonus payment, as the Worker may not be expecting the payment. Amazon Mechanical Turk collects a fee for bonus payments, similar to the HIT listing fee. This operation fails if your account does not have enough funds to pay for both the bonus and the fees. - */ - sendBonus(callback?: (err: AWSError, data: MTurk.Types.SendBonusResponse) => void): Request; - /** - * The SendTestEventNotification operation causes Amazon Mechanical Turk to send a notification message as if a HIT event occurred, according to the provided notification specification. This allows you to test notifications without setting up notifications for a real HIT type and trying to trigger them using the website. When you call this operation, the service attempts to send the test notification immediately. - */ - sendTestEventNotification(params: MTurk.Types.SendTestEventNotificationRequest, callback?: (err: AWSError, data: MTurk.Types.SendTestEventNotificationResponse) => void): Request; - /** - * The SendTestEventNotification operation causes Amazon Mechanical Turk to send a notification message as if a HIT event occurred, according to the provided notification specification. This allows you to test notifications without setting up notifications for a real HIT type and trying to trigger them using the website. When you call this operation, the service attempts to send the test notification immediately. - */ - sendTestEventNotification(callback?: (err: AWSError, data: MTurk.Types.SendTestEventNotificationResponse) => void): Request; - /** - * The UpdateExpirationForHIT operation allows you update the expiration time of a HIT. If you update it to a time in the past, the HIT will be immediately expired. - */ - updateExpirationForHIT(params: MTurk.Types.UpdateExpirationForHITRequest, callback?: (err: AWSError, data: MTurk.Types.UpdateExpirationForHITResponse) => void): Request; - /** - * The UpdateExpirationForHIT operation allows you update the expiration time of a HIT. If you update it to a time in the past, the HIT will be immediately expired. - */ - updateExpirationForHIT(callback?: (err: AWSError, data: MTurk.Types.UpdateExpirationForHITResponse) => void): Request; - /** - * The UpdateHITReviewStatus operation updates the status of a HIT. If the status is Reviewable, this operation can update the status to Reviewing, or it can revert a Reviewing HIT back to the Reviewable status. - */ - updateHITReviewStatus(params: MTurk.Types.UpdateHITReviewStatusRequest, callback?: (err: AWSError, data: MTurk.Types.UpdateHITReviewStatusResponse) => void): Request; - /** - * The UpdateHITReviewStatus operation updates the status of a HIT. If the status is Reviewable, this operation can update the status to Reviewing, or it can revert a Reviewing HIT back to the Reviewable status. - */ - updateHITReviewStatus(callback?: (err: AWSError, data: MTurk.Types.UpdateHITReviewStatusResponse) => void): Request; - /** - * The UpdateHITTypeOfHIT operation allows you to change the HITType properties of a HIT. This operation disassociates the HIT from its old HITType properties and associates it with the new HITType properties. The HIT takes on the properties of the new HITType in place of the old ones. - */ - updateHITTypeOfHIT(params: MTurk.Types.UpdateHITTypeOfHITRequest, callback?: (err: AWSError, data: MTurk.Types.UpdateHITTypeOfHITResponse) => void): Request; - /** - * The UpdateHITTypeOfHIT operation allows you to change the HITType properties of a HIT. This operation disassociates the HIT from its old HITType properties and associates it with the new HITType properties. The HIT takes on the properties of the new HITType in place of the old ones. - */ - updateHITTypeOfHIT(callback?: (err: AWSError, data: MTurk.Types.UpdateHITTypeOfHITResponse) => void): Request; - /** - * The UpdateNotificationSettings operation creates, updates, disables or re-enables notifications for a HIT type. If you call the UpdateNotificationSettings operation for a HIT type that already has a notification specification, the operation replaces the old specification with a new one. You can call the UpdateNotificationSettings operation to enable or disable notifications for the HIT type, without having to modify the notification specification itself by providing updates to the Active status without specifying a new notification specification. To change the Active status of a HIT type's notifications, the HIT type must already have a notification specification, or one must be provided in the same call to UpdateNotificationSettings. - */ - updateNotificationSettings(params: MTurk.Types.UpdateNotificationSettingsRequest, callback?: (err: AWSError, data: MTurk.Types.UpdateNotificationSettingsResponse) => void): Request; - /** - * The UpdateNotificationSettings operation creates, updates, disables or re-enables notifications for a HIT type. If you call the UpdateNotificationSettings operation for a HIT type that already has a notification specification, the operation replaces the old specification with a new one. You can call the UpdateNotificationSettings operation to enable or disable notifications for the HIT type, without having to modify the notification specification itself by providing updates to the Active status without specifying a new notification specification. To change the Active status of a HIT type's notifications, the HIT type must already have a notification specification, or one must be provided in the same call to UpdateNotificationSettings. - */ - updateNotificationSettings(callback?: (err: AWSError, data: MTurk.Types.UpdateNotificationSettingsResponse) => void): Request; - /** - * The UpdateQualificationType operation modifies the attributes of an existing Qualification type, which is represented by a QualificationType data structure. Only the owner of a Qualification type can modify its attributes. Most attributes of a Qualification type can be changed after the type has been created. However, the Name and Keywords fields cannot be modified. The RetryDelayInSeconds parameter can be modified or added to change the delay or to enable retries, but RetryDelayInSeconds cannot be used to disable retries. You can use this operation to update the test for a Qualification type. The test is updated based on the values specified for the Test, TestDurationInSeconds and AnswerKey parameters. All three parameters specify the updated test. If you are updating the test for a type, you must specify the Test and TestDurationInSeconds parameters. The AnswerKey parameter is optional; omitting it specifies that the updated test does not have an answer key. If you omit the Test parameter, the test for the Qualification type is unchanged. There is no way to remove a test from a Qualification type that has one. If the type already has a test, you cannot update it to be AutoGranted. If the Qualification type does not have a test and one is provided by an update, the type will henceforth have a test. If you want to update the test duration or answer key for an existing test without changing the questions, you must specify a Test parameter with the original questions, along with the updated values. If you provide an updated Test but no AnswerKey, the new test will not have an answer key. Requests for such Qualifications must be granted manually. You can also update the AutoGranted and AutoGrantedValue attributes of the Qualification type. - */ - updateQualificationType(params: MTurk.Types.UpdateQualificationTypeRequest, callback?: (err: AWSError, data: MTurk.Types.UpdateQualificationTypeResponse) => void): Request; - /** - * The UpdateQualificationType operation modifies the attributes of an existing Qualification type, which is represented by a QualificationType data structure. Only the owner of a Qualification type can modify its attributes. Most attributes of a Qualification type can be changed after the type has been created. However, the Name and Keywords fields cannot be modified. The RetryDelayInSeconds parameter can be modified or added to change the delay or to enable retries, but RetryDelayInSeconds cannot be used to disable retries. You can use this operation to update the test for a Qualification type. The test is updated based on the values specified for the Test, TestDurationInSeconds and AnswerKey parameters. All three parameters specify the updated test. If you are updating the test for a type, you must specify the Test and TestDurationInSeconds parameters. The AnswerKey parameter is optional; omitting it specifies that the updated test does not have an answer key. If you omit the Test parameter, the test for the Qualification type is unchanged. There is no way to remove a test from a Qualification type that has one. If the type already has a test, you cannot update it to be AutoGranted. If the Qualification type does not have a test and one is provided by an update, the type will henceforth have a test. If you want to update the test duration or answer key for an existing test without changing the questions, you must specify a Test parameter with the original questions, along with the updated values. If you provide an updated Test but no AnswerKey, the new test will not have an answer key. Requests for such Qualifications must be granted manually. You can also update the AutoGranted and AutoGrantedValue attributes of the Qualification type. - */ - updateQualificationType(callback?: (err: AWSError, data: MTurk.Types.UpdateQualificationTypeResponse) => void): Request; -} -declare namespace MTurk { - export interface AcceptQualificationRequestRequest { - /** - * The ID of the Qualification request, as returned by the GetQualificationRequests operation. - */ - QualificationRequestId: String; - /** - * The value of the Qualification. You can omit this value if you are using the presence or absence of the Qualification as the basis for a HIT requirement. - */ - IntegerValue?: Integer; - } - export interface AcceptQualificationRequestResponse { - } - export interface ApproveAssignmentRequest { - /** - * The ID of the assignment. The assignment must correspond to a HIT created by the Requester. - */ - AssignmentId: EntityId; - /** - * A message for the Worker, which the Worker can see in the Status section of the web site. - */ - RequesterFeedback?: String; - /** - * A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to False. - */ - OverrideRejection?: Boolean; - } - export interface ApproveAssignmentResponse { - } - export interface Assignment { - /** - * A unique identifier for the assignment. - */ - AssignmentId?: EntityId; - /** - * The ID of the Worker who accepted the HIT. - */ - WorkerId?: CustomerId; - /** - * The ID of the HIT. - */ - HITId?: EntityId; - /** - * The status of the assignment. - */ - AssignmentStatus?: AssignmentStatus; - /** - * If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results. - */ - AutoApprovalTime?: Timestamp; - /** - * The date and time the Worker accepted the assignment. - */ - AcceptTime?: Timestamp; - /** - * If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results. - */ - SubmitTime?: Timestamp; - /** - * If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results. - */ - ApprovalTime?: Timestamp; - /** - * If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results. - */ - RejectionTime?: Timestamp; - /** - * The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT. - */ - Deadline?: Timestamp; - /** - * The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty. - */ - Answer?: String; - /** - * The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback. - */ - RequesterFeedback?: String; - } - export type AssignmentList = Assignment[]; - export type AssignmentStatus = "Submitted"|"Approved"|"Rejected"|string; - export type AssignmentStatusList = AssignmentStatus[]; - export interface AssociateQualificationWithWorkerRequest { - /** - * The ID of the Qualification type to use for the assigned Qualification. - */ - QualificationTypeId: EntityId; - /** - * The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests. - */ - WorkerId: CustomerId; - /** - * The value of the Qualification to assign. - */ - IntegerValue?: Integer; - /** - * Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default. - */ - SendNotification?: Boolean; - } - export interface AssociateQualificationWithWorkerResponse { - } - export interface BonusPayment { - /** - * The ID of the Worker to whom the bonus was paid. - */ - WorkerId?: CustomerId; - BonusAmount?: NumericValue; - /** - * The ID of the assignment associated with this bonus payment. - */ - AssignmentId?: EntityId; - /** - * The Reason text given when the bonus was granted, if any. - */ - Reason?: String; - /** - * The date and time of when the bonus was granted. - */ - GrantTime?: Timestamp; - } - export type BonusPaymentList = BonusPayment[]; - export type Boolean = boolean; - export type Comparator = "LessThan"|"LessThanOrEqualTo"|"GreaterThan"|"GreaterThanOrEqualTo"|"EqualTo"|"NotEqualTo"|"Exists"|"DoesNotExist"|"In"|"NotIn"|string; - export type CountryParameters = string; - export interface CreateAdditionalAssignmentsForHITRequest { - /** - * The ID of the HIT to extend. - */ - HITId: EntityId; - /** - * The number of additional assignments to request for this HIT. - */ - NumberOfAdditionalAssignments?: Integer; - /** - * A unique identifier for this request, which allows you to retry the call on error without extending the HIT multiple times. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the extend HIT already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID. - */ - UniqueRequestToken?: IdempotencyToken; - } - export interface CreateAdditionalAssignmentsForHITResponse { - } - export interface CreateHITRequest { - /** - * The number of times the HIT can be accepted and completed before the HIT becomes unavailable. - */ - MaxAssignments?: Integer; - /** - * The number of seconds after an assignment for the HIT has been submitted, after which the assignment is considered Approved automatically unless the Requester explicitly rejects it. - */ - AutoApprovalDelayInSeconds?: Long; - /** - * An amount of time, in seconds, after which the HIT is no longer available for users to accept. After the lifetime of the HIT elapses, the HIT no longer appears in HIT searches, even if not all of the assignments for the HIT have been accepted. - */ - LifetimeInSeconds: Long; - /** - * The amount of time, in seconds, that a Worker has to complete the HIT after accepting it. If a Worker does not complete the assignment within the specified duration, the assignment is considered abandoned. If the HIT is still active (that is, its lifetime has not elapsed), the assignment becomes available for other users to find and accept. - */ - AssignmentDurationInSeconds: Long; - /** - * The amount of money the Requester will pay a Worker for successfully completing the HIT. - */ - Reward: NumericValue; - /** - * The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT title appears in search results, and everywhere the HIT is mentioned. - */ - Title: String; - /** - * One or more words or phrases that describe the HIT, separated by commas. These words are used in searches to find HITs. - */ - Keywords?: String; - /** - * A general description of the HIT. A description includes detailed information about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded view of search results, and in the HIT and assignment screens. A good description gives the user enough information to evaluate the HIT before accepting it. - */ - Description: String; - /** - * The data the person completing the HIT uses to produce the results. Constraints: Must be a QuestionForm data structure, an ExternalQuestion data structure, or an HTMLQuestion data structure. The XML question data must not be larger than 64 kilobytes (65,535 bytes) in size, including whitespace. Either a Question parameter or a HITLayoutId parameter must be provided. - */ - Question?: String; - /** - * An arbitrary data field. The RequesterAnnotation parameter lets your application attach arbitrary data to the HIT for tracking purposes. For example, this parameter could be an identifier internal to the Requester's application that corresponds with the HIT. The RequesterAnnotation parameter for a HIT is only visible to the Requester who created the HIT. It is not shown to the Worker, or any other Requester. The RequesterAnnotation parameter may be different for each HIT you submit. It does not affect how your HITs are grouped. - */ - RequesterAnnotation?: String; - /** - * A condition that a Worker's Qualifications must meet before the Worker is allowed to accept and complete the HIT. - */ - QualificationRequirements?: QualificationRequirementList; - /** - * A unique identifier for this request which allows you to retry the call on error without creating duplicate HITs. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the HIT already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return a AWS.MechanicalTurk.HitAlreadyExists error with a message containing the HITId. Note: It is your responsibility to ensure uniqueness of the token. The unique token expires after 24 hours. Subsequent calls using the same UniqueRequestToken made after the 24 hour limit could create duplicate HITs. - */ - UniqueRequestToken?: IdempotencyToken; - /** - * The Assignment-level Review Policy applies to the assignments under the HIT. You can specify for Mechanical Turk to take various actions based on the policy. - */ - AssignmentReviewPolicy?: ReviewPolicy; - /** - * The HIT-level Review Policy applies to the HIT. You can specify for Mechanical Turk to take various actions based on the policy. - */ - HITReviewPolicy?: ReviewPolicy; - /** - * The HITLayoutId allows you to use a pre-existing HIT design with placeholder values and create an additional HIT by providing those values as HITLayoutParameters. Constraints: Either a Question parameter or a HITLayoutId parameter must be provided. - */ - HITLayoutId?: EntityId; - /** - * If the HITLayoutId is provided, any placeholder values must be filled in with values using the HITLayoutParameter structure. For more information, see HITLayout. - */ - HITLayoutParameters?: HITLayoutParameterList; - } - export interface CreateHITResponse { - /** - * Contains the newly created HIT data. For a description of the HIT data structure as it appears in responses, see the HIT Data Structure documentation. - */ - HIT?: HIT; - } - export interface CreateHITTypeRequest { - /** - * The number of seconds after an assignment for the HIT has been submitted, after which the assignment is considered Approved automatically unless the Requester explicitly rejects it. - */ - AutoApprovalDelayInSeconds?: Long; - /** - * The amount of time, in seconds, that a Worker has to complete the HIT after accepting it. If a Worker does not complete the assignment within the specified duration, the assignment is considered abandoned. If the HIT is still active (that is, its lifetime has not elapsed), the assignment becomes available for other users to find and accept. - */ - AssignmentDurationInSeconds: Long; - /** - * The amount of money the Requester will pay a Worker for successfully completing the HIT. - */ - Reward: NumericValue; - /** - * The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT title appears in search results, and everywhere the HIT is mentioned. - */ - Title: String; - /** - * One or more words or phrases that describe the HIT, separated by commas. These words are used in searches to find HITs. - */ - Keywords?: String; - /** - * A general description of the HIT. A description includes detailed information about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded view of search results, and in the HIT and assignment screens. A good description gives the user enough information to evaluate the HIT before accepting it. - */ - Description: String; - /** - * A condition that a Worker's Qualifications must meet before the Worker is allowed to accept and complete the HIT. - */ - QualificationRequirements?: QualificationRequirementList; - } - export interface CreateHITTypeResponse { - /** - * The ID of the newly registered HIT type. - */ - HITTypeId?: EntityId; - } - export interface CreateHITWithHITTypeRequest { - /** - * The HIT type ID you want to create this HIT with. - */ - HITTypeId: EntityId; - /** - * The number of times the HIT can be accepted and completed before the HIT becomes unavailable. - */ - MaxAssignments?: Integer; - /** - * An amount of time, in seconds, after which the HIT is no longer available for users to accept. After the lifetime of the HIT elapses, the HIT no longer appears in HIT searches, even if not all of the assignments for the HIT have been accepted. - */ - LifetimeInSeconds: Long; - /** - * The data the person completing the HIT uses to produce the results. Constraints: Must be a QuestionForm data structure, an ExternalQuestion data structure, or an HTMLQuestion data structure. The XML question data must not be larger than 64 kilobytes (65,535 bytes) in size, including whitespace. Either a Question parameter or a HITLayoutId parameter must be provided. - */ - Question?: String; - /** - * An arbitrary data field. The RequesterAnnotation parameter lets your application attach arbitrary data to the HIT for tracking purposes. For example, this parameter could be an identifier internal to the Requester's application that corresponds with the HIT. The RequesterAnnotation parameter for a HIT is only visible to the Requester who created the HIT. It is not shown to the Worker, or any other Requester. The RequesterAnnotation parameter may be different for each HIT you submit. It does not affect how your HITs are grouped. - */ - RequesterAnnotation?: String; - /** - * A unique identifier for this request which allows you to retry the call on error without creating duplicate HITs. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the HIT already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return a AWS.MechanicalTurk.HitAlreadyExists error with a message containing the HITId. Note: It is your responsibility to ensure uniqueness of the token. The unique token expires after 24 hours. Subsequent calls using the same UniqueRequestToken made after the 24 hour limit could create duplicate HITs. - */ - UniqueRequestToken?: IdempotencyToken; - /** - * The Assignment-level Review Policy applies to the assignments under the HIT. You can specify for Mechanical Turk to take various actions based on the policy. - */ - AssignmentReviewPolicy?: ReviewPolicy; - /** - * The HIT-level Review Policy applies to the HIT. You can specify for Mechanical Turk to take various actions based on the policy. - */ - HITReviewPolicy?: ReviewPolicy; - /** - * The HITLayoutId allows you to use a pre-existing HIT design with placeholder values and create an additional HIT by providing those values as HITLayoutParameters. Constraints: Either a Question parameter or a HITLayoutId parameter must be provided. - */ - HITLayoutId?: EntityId; - /** - * If the HITLayoutId is provided, any placeholder values must be filled in with values using the HITLayoutParameter structure. For more information, see HITLayout. - */ - HITLayoutParameters?: HITLayoutParameterList; - } - export interface CreateHITWithHITTypeResponse { - /** - * Contains the newly created HIT data. For a description of the HIT data structure as it appears in responses, see the HIT Data Structure documentation. - */ - HIT?: HIT; - } - export interface CreateQualificationTypeRequest { - /** - * The name you give to the Qualification type. The type name is used to represent the Qualification to Workers, and to find the type using a Qualification type search. It must be unique across all of your Qualification types. - */ - Name: String; - /** - * One or more words or phrases that describe the Qualification type, separated by commas. The keywords of a type make the type easier to find during a search. - */ - Keywords?: String; - /** - * A long description for the Qualification type. On the Amazon Mechanical Turk website, the long description is displayed when a Worker examines a Qualification type. - */ - Description: String; - /** - * The initial status of the Qualification type. Constraints: Valid values are: Active | Inactive - */ - QualificationTypeStatus: QualificationTypeStatus; - /** - * The number of seconds that a Worker must wait after requesting a Qualification of the Qualification type before the worker can retry the Qualification request. Constraints: None. If not specified, retries are disabled and Workers can request a Qualification of this type only once, even if the Worker has not been granted the Qualification. It is not possible to disable retries for a Qualification type after it has been created with retries enabled. If you want to disable retries, you must delete existing retry-enabled Qualification type and then create a new Qualification type with retries disabled. - */ - RetryDelayInSeconds?: Long; - /** - * The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, TestDurationInSeconds must also be specified. Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true. Constraints: None. If not specified, the Worker may request the Qualification without answering any questions. - */ - Test?: String; - /** - * The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure. Constraints: Must not be longer than 65535 bytes. Constraints: None. If not specified, you must process Qualification requests manually. - */ - AnswerKey?: String; - /** - * The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification. - */ - TestDurationInSeconds?: Long; - /** - * Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test. Constraints: If the Test parameter is specified, this parameter cannot be true. - */ - AutoGranted?: Boolean; - /** - * The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true. - */ - AutoGrantedValue?: Integer; - } - export interface CreateQualificationTypeResponse { - /** - * The created Qualification type, returned as a QualificationType data structure. - */ - QualificationType?: QualificationType; - } - export interface CreateWorkerBlockRequest { - /** - * The ID of the Worker to block. - */ - WorkerId: CustomerId; - /** - * A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your Workers. The Worker does not see this message. - */ - Reason: String; - } - export interface CreateWorkerBlockResponse { - } - export type CustomerId = string; - export type CustomerIdList = CustomerId[]; - export interface DeleteHITRequest { - /** - * The ID of the HIT to be deleted. - */ - HITId: EntityId; - } - export interface DeleteHITResponse { - } - export interface DeleteQualificationTypeRequest { - /** - * The ID of the QualificationType to dispose. - */ - QualificationTypeId: EntityId; - } - export interface DeleteQualificationTypeResponse { - } - export interface DeleteWorkerBlockRequest { - /** - * The ID of the Worker to unblock. - */ - WorkerId: CustomerId; - /** - * A message that explains the reason for unblocking the Worker. The Worker does not see this message. - */ - Reason?: String; - } - export interface DeleteWorkerBlockResponse { - } - export interface DisassociateQualificationFromWorkerRequest { - /** - * The ID of the Worker who possesses the Qualification to be revoked. - */ - WorkerId: CustomerId; - /** - * The ID of the Qualification type of the Qualification to be revoked. - */ - QualificationTypeId: EntityId; - /** - * A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message. - */ - Reason?: String; - } - export interface DisassociateQualificationFromWorkerResponse { - } - export type EntityId = string; - export type EventType = "AssignmentAccepted"|"AssignmentAbandoned"|"AssignmentReturned"|"AssignmentSubmitted"|"AssignmentRejected"|"AssignmentApproved"|"HITCreated"|"HITExpired"|"HITReviewable"|"HITExtended"|"HITDisposed"|"Ping"|string; - export type EventTypeList = EventType[]; - export type ExceptionMessage = string; - export interface GetAccountBalanceRequest { - } - export interface GetAccountBalanceResponse { - AvailableBalance?: NumericValue; - OnHoldBalance?: NumericValue; - } - export interface GetAssignmentRequest { - /** - * The ID of the Assignment to be retrieved. - */ - AssignmentId: EntityId; - } - export interface GetAssignmentResponse { - /** - * The assignment. The response includes one Assignment element. - */ - Assignment?: Assignment; - /** - * The HIT associated with this assignment. The response includes one HIT element. - */ - HIT?: HIT; - } - export interface GetFileUploadURLRequest { - /** - * The ID of the assignment that contains the question with a FileUploadAnswer. - */ - AssignmentId: EntityId; - /** - * The identifier of the question with a FileUploadAnswer, as specified in the QuestionForm of the HIT. - */ - QuestionIdentifier: String; - } - export interface GetFileUploadURLResponse { - /** - * A temporary URL for the file that the Worker uploaded for the answer. - */ - FileUploadURL?: String; - } - export interface GetHITRequest { - /** - * The ID of the HIT to be retrieved. - */ - HITId: EntityId; - } - export interface GetHITResponse { - /** - * Contains the requested HIT data. - */ - HIT?: HIT; - } - export interface GetQualificationScoreRequest { - /** - * The ID of the QualificationType. - */ - QualificationTypeId: EntityId; - /** - * The ID of the Worker whose Qualification is being updated. - */ - WorkerId: CustomerId; - } - export interface GetQualificationScoreResponse { - /** - * The Qualification data structure of the Qualification assigned to a user, including the Qualification type and the value (score). - */ - Qualification?: Qualification; - } - export interface GetQualificationTypeRequest { - /** - * The ID of the QualificationType. - */ - QualificationTypeId: EntityId; - } - export interface GetQualificationTypeResponse { - /** - * The returned Qualification Type - */ - QualificationType?: QualificationType; - } - export interface HIT { - /** - * A unique identifier for the HIT. - */ - HITId?: EntityId; - /** - * The ID of the HIT type of this HIT - */ - HITTypeId?: EntityId; - /** - * The ID of the HIT Group of this HIT. - */ - HITGroupId?: EntityId; - /** - * The ID of the HIT Layout of this HIT. - */ - HITLayoutId?: EntityId; - /** - * The date and time the HIT was created. - */ - CreationTime?: Timestamp; - /** - * The title of the HIT. - */ - Title?: String; - /** - * A general description of the HIT. - */ - Description?: String; - /** - * The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure. - */ - Question?: String; - /** - * One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results. - */ - Keywords?: String; - /** - * The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed. - */ - HITStatus?: HITStatus; - /** - * The number of times the HIT can be accepted and completed before the HIT becomes unavailable. - */ - MaxAssignments?: Integer; - Reward?: NumericValue; - /** - * The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid. - */ - AutoApprovalDelayInSeconds?: Long; - /** - * The date and time the HIT expires. - */ - Expiration?: Timestamp; - /** - * The length of time, in seconds, that a Worker has to complete the HIT after accepting it. - */ - AssignmentDurationInSeconds?: Long; - /** - * An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT. - */ - RequesterAnnotation?: String; - /** - * A condition that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met by a Worker's Qualifications for the Worker to accept the HIT. - */ - QualificationRequirements?: QualificationRequirementList; - /** - * Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate. - */ - HITReviewStatus?: HITReviewStatus; - /** - * The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned. - */ - NumberOfAssignmentsPending?: Integer; - /** - * The number of assignments for this HIT that are available for Workers to accept. - */ - NumberOfAssignmentsAvailable?: Integer; - /** - * The number of assignments for this HIT that have been approved or rejected. - */ - NumberOfAssignmentsCompleted?: Integer; - } - export interface HITLayoutParameter { - /** - * The name of the parameter in the HITLayout. - */ - Name?: String; - /** - * The value substituted for the parameter referenced in the HITLayout. - */ - Value?: String; - } - export type HITLayoutParameterList = HITLayoutParameter[]; - export type HITList = HIT[]; - export type HITReviewStatus = "NotReviewed"|"MarkedForReview"|"ReviewedAppropriate"|"ReviewedInappropriate"|string; - export type HITStatus = "Assignable"|"Unassignable"|"Reviewable"|"Reviewing"|"Disposed"|string; - export type IdempotencyToken = string; - export type Integer = number; - export type IntegerList = Integer[]; - export interface ListAssignmentsForHITRequest { - /** - * The ID of the HIT. - */ - HITId: EntityId; - /** - * Pagination token - */ - NextToken?: PaginationToken; - MaxResults?: ResultSize; - /** - * The status of the assignments to return: Submitted | Approved | Rejected - */ - AssignmentStatuses?: AssignmentStatusList; - } - export interface ListAssignmentsForHITResponse { - NextToken?: PaginationToken; - /** - * The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call. - */ - NumResults?: Integer; - /** - * The collection of Assignment data structures returned by this call. - */ - Assignments?: AssignmentList; - } - export interface ListBonusPaymentsRequest { - /** - * The ID of the HIT associated with the bonus payments to retrieve. If not specified, all bonus payments for all assignments for the given HIT are returned. Either the HITId parameter or the AssignmentId parameter must be specified - */ - HITId?: EntityId; - /** - * The ID of the assignment associated with the bonus payments to retrieve. If specified, only bonus payments for the given assignment are returned. Either the HITId parameter or the AssignmentId parameter must be specified - */ - AssignmentId?: EntityId; - /** - * Pagination token - */ - NextToken?: PaginationToken; - MaxResults?: ResultSize; - } - export interface ListBonusPaymentsResponse { - /** - * The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus payments being returned by this call. - */ - NumResults?: Integer; - NextToken?: PaginationToken; - /** - * A successful request to the ListBonusPayments operation returns a list of BonusPayment objects. - */ - BonusPayments?: BonusPaymentList; - } - export interface ListHITsForQualificationTypeRequest { - /** - * The ID of the Qualification type to use when querying HITs. - */ - QualificationTypeId: EntityId; - /** - * Pagination Token - */ - NextToken?: PaginationToken; - /** - * Limit the number of results returned. - */ - MaxResults?: ResultSize; - } - export interface ListHITsForQualificationTypeResponse { - NextToken?: PaginationToken; - /** - * The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call. - */ - NumResults?: Integer; - /** - * The list of HIT elements returned by the query. - */ - HITs?: HITList; - } - export interface ListHITsRequest { - /** - * Pagination token - */ - NextToken?: PaginationToken; - MaxResults?: ResultSize; - } - export interface ListHITsResponse { - NextToken?: PaginationToken; - /** - * The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call. - */ - NumResults?: Integer; - /** - * The list of HIT elements returned by the query. - */ - HITs?: HITList; - } - export interface ListQualificationRequestsRequest { - /** - * The ID of the QualificationType. - */ - QualificationTypeId?: EntityId; - NextToken?: PaginationToken; - /** - * The maximum number of results to return in a single call. - */ - MaxResults?: ResultSize; - } - export interface ListQualificationRequestsResponse { - /** - * The number of Qualification requests on this page in the filtered results list, equivalent to the number of Qualification requests being returned by this call. - */ - NumResults?: Integer; - NextToken?: PaginationToken; - /** - * The Qualification request. The response includes one QualificationRequest element for each Qualification request returned by the query. - */ - QualificationRequests?: QualificationRequestList; - } - export interface ListQualificationTypesRequest { - /** - * A text query against all of the searchable attributes of Qualification types. - */ - Query?: String; - /** - * Specifies that only Qualification types that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test, are returned as results of the search. Some Qualification types, such as those assigned automatically by the system, cannot be requested directly by users. If false, all Qualification types, including those managed by the system, are considered. Valid values are True | False. - */ - MustBeRequestable: Boolean; - /** - * Specifies that only Qualification types that the Requester created are returned. If false, the operation returns all Qualification types. - */ - MustBeOwnedByCaller?: Boolean; - NextToken?: PaginationToken; - /** - * The maximum number of results to return in a single call. - */ - MaxResults?: ResultSize; - } - export interface ListQualificationTypesResponse { - /** - * The number of Qualification types on this page in the filtered results list, equivalent to the number of types this operation returns. - */ - NumResults?: Integer; - NextToken?: PaginationToken; - /** - * The list of QualificationType elements returned by the query. - */ - QualificationTypes?: QualificationTypeList; - } - export interface ListReviewPolicyResultsForHITRequest { - /** - * The unique identifier of the HIT to retrieve review results for. - */ - HITId: EntityId; - /** - * The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies. - */ - PolicyLevels?: ReviewPolicyLevelList; - /** - * Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their outcomes. - */ - RetrieveActions?: Boolean; - /** - * Specify if the operation should retrieve a list of the results computed by the Review Policies. - */ - RetrieveResults?: Boolean; - /** - * Pagination token - */ - NextToken?: PaginationToken; - /** - * Limit the number of results returned. - */ - MaxResults?: ResultSize; - } - export interface ListReviewPolicyResultsForHITResponse { - /** - * The HITId of the HIT for which results have been returned. - */ - HITId?: EntityId; - /** - * The name of the Assignment-level Review Policy. This contains only the PolicyName element. - */ - AssignmentReviewPolicy?: ReviewPolicy; - /** - * The name of the HIT-level Review Policy. This contains only the PolicyName element. - */ - HITReviewPolicy?: ReviewPolicy; - /** - * Contains both ReviewResult and ReviewAction elements for an Assignment. - */ - AssignmentReviewReport?: ReviewReport; - /** - * Contains both ReviewResult and ReviewAction elements for a particular HIT. - */ - HITReviewReport?: ReviewReport; - NextToken?: PaginationToken; - } - export interface ListReviewableHITsRequest { - /** - * The ID of the HIT type of the HITs to consider for the query. If not specified, all HITs for the Reviewer are considered - */ - HITTypeId?: EntityId; - /** - * Can be either Reviewable or Reviewing. Reviewable is the default value. - */ - Status?: ReviewableHITStatus; - /** - * Pagination Token - */ - NextToken?: PaginationToken; - /** - * Limit the number of results returned. - */ - MaxResults?: ResultSize; - } - export interface ListReviewableHITsResponse { - NextToken?: PaginationToken; - /** - * The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call. - */ - NumResults?: Integer; - /** - * The list of HIT elements returned by the query. - */ - HITs?: HITList; - } - export interface ListWorkerBlocksRequest { - /** - * Pagination token - */ - NextToken?: PaginationToken; - MaxResults?: ResultSize; - } - export interface ListWorkerBlocksResponse { - NextToken?: PaginationToken; - /** - * The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call. - */ - NumResults?: Integer; - /** - * The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking. - */ - WorkerBlocks?: WorkerBlockList; - } - export interface ListWorkersWithQualificationTypeRequest { - /** - * The ID of the Qualification type of the Qualifications to return. - */ - QualificationTypeId: EntityId; - /** - * The status of the Qualifications to return. Can be Granted | Revoked. - */ - Status?: QualificationStatus; - /** - * Pagination Token - */ - NextToken?: PaginationToken; - /** - * Limit the number of results returned. - */ - MaxResults?: ResultSize; - } - export interface ListWorkersWithQualificationTypeResponse { - NextToken?: PaginationToken; - /** - * The number of Qualifications on this page in the filtered results list, equivalent to the number of Qualifications being returned by this call. - */ - NumResults?: Integer; - /** - * The list of Qualification elements returned by this call. - */ - Qualifications?: QualificationList; - } - export interface Locale { - /** - * The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America. - */ - Country: CountryParameters; - /** - * The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington. - */ - Subdivision?: CountryParameters; - } - export type LocaleList = Locale[]; - export type Long = number; - export interface NotificationSpecification { - /** - * The destination for notification messages. or email notifications (if Transport is Email), this is an email address. For Amazon Simple Queue Service (Amazon SQS) notifications (if Transport is SQS), this is the URL for your Amazon SQS queue. - */ - Destination: String; - /** - * The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS. - */ - Transport: NotificationTransport; - /** - * The version of the Notification API to use. Valid value is 2006-05-05. - */ - Version?: String; - /** - * The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted | AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the SendTestEventNotification operation. - */ - EventTypes?: EventTypeList; - } - export type NotificationTransport = "Email"|"SQS"|string; - export type NotifyWorkersFailureCode = "SoftFailure"|"HardFailure"|string; - export interface NotifyWorkersFailureStatus { - /** - * Encoded value for the failure type. - */ - NotifyWorkersFailureCode?: NotifyWorkersFailureCode; - /** - * A message detailing the reason the Worker could not be notified. - */ - NotifyWorkersFailureMessage?: String; - /** - * The ID of the Worker. - */ - WorkerId?: CustomerId; - } - export type NotifyWorkersFailureStatusList = NotifyWorkersFailureStatus[]; - export interface NotifyWorkersRequest { - /** - * The subject line of the email message to send. Can include up to 200 characters. - */ - Subject: String; - /** - * The text of the email message to send. Can include up to 4,096 characters - */ - MessageText: String; - /** - * A list of Worker IDs you wish to notify. You can notify upto 100 Workers at a time. - */ - WorkerIds: CustomerIdList; - } - export interface NotifyWorkersResponse { - /** - * When MTurk sends notifications to the list of Workers, it returns back any failures it encounters in this list of NotifyWorkersFailureStatus objects. - */ - NotifyWorkersFailureStatuses?: NotifyWorkersFailureStatusList; - } - export type NumericValue = string; - export type PaginationToken = string; - export interface ParameterMapEntry { - /** - * The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy. - */ - Key?: String; - /** - * The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly. - */ - Values?: StringList; - } - export type ParameterMapEntryList = ParameterMapEntry[]; - export interface PolicyParameter { - /** - * Name of the parameter from the list of Review Polices. - */ - Key?: String; - /** - * The list of values of the Parameter - */ - Values?: StringList; - /** - * List of ParameterMapEntry objects. - */ - MapEntries?: ParameterMapEntryList; - } - export type PolicyParameterList = PolicyParameter[]; - export interface Qualification { - /** - * The ID of the Qualification type for the Qualification. - */ - QualificationTypeId?: EntityId; - /** - * The ID of the Worker who possesses the Qualification. - */ - WorkerId?: CustomerId; - /** - * The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation. - */ - GrantTime?: Timestamp; - /** - * The value (score) of the Qualification, if the Qualification has an integer value. - */ - IntegerValue?: Integer; - LocaleValue?: Locale; - /** - * The status of the Qualification. Valid values are Granted | Revoked. - */ - Status?: QualificationStatus; - } - export type QualificationList = Qualification[]; - export interface QualificationRequest { - /** - * The ID of the Qualification request, a unique identifier generated when the request was submitted. - */ - QualificationRequestId?: String; - /** - * The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation. - */ - QualificationTypeId?: EntityId; - /** - * The ID of the Worker requesting the Qualification. - */ - WorkerId?: CustomerId; - /** - * The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification. - */ - Test?: String; - /** - * The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty. - */ - Answer?: String; - /** - * The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test. - */ - SubmitTime?: Timestamp; - } - export type QualificationRequestList = QualificationRequest[]; - export interface QualificationRequirement { - /** - * The ID of the Qualification type for the requirement. - */ - QualificationTypeId: String; - /** - * The kind of comparison to make against a Qualification's value. You can compare a Qualification's value to an IntegerValue to see if it is LessThan, LessThanOrEqualTo, GreaterThan, GreaterThanOrEqualTo, EqualTo, or NotEqualTo the IntegerValue. You can compare it to a LocaleValue to see if it is EqualTo, or NotEqualTo the LocaleValue. You can check to see if the value is In or NotIn a set of IntegerValue or LocaleValue values. Lastly, a Qualification requirement can also test if a Qualification Exists or DoesNotExist in the user's profile, regardless of its value. - */ - Comparator: Comparator; - /** - * The integer value to compare against the Qualification's value. IntegerValue must not be present if Comparator is Exists or DoesNotExist. IntegerValue can only be used if the Qualification type has an integer value; it cannot be used with the Worker_Locale QualificationType ID. When performing a set comparison by using the In or the NotIn comparator, you can use up to 15 IntegerValue elements in a QualificationRequirement data structure. - */ - IntegerValues?: IntegerList; - /** - * The locale value to compare against the Qualification's value. The local value must be a valid ISO 3166 country code or supports ISO 3166-2 subdivisions. LocaleValue can only be used with a Worker_Locale QualificationType ID. LocaleValue can only be used with the EqualTo, NotEqualTo, In, and NotIn comparators. You must only use a single LocaleValue element when using the EqualTo or NotEqualTo comparators. When performing a set comparison by using the In or the NotIn comparator, you can use up to 30 LocaleValue elements in a QualificationRequirement data structure. - */ - LocaleValues?: LocaleList; - /** - * If true, the question data for the HIT will not be shown when a Worker whose Qualifications do not meet this requirement tries to preview the HIT. That is, a Worker's Qualifications must meet all of the requirements for which RequiredToPreview is true in order to preview the HIT. If a Worker meets all of the requirements where RequiredToPreview is true (or if there are no such requirements), but does not meet all of the requirements for the HIT, the Worker will be allowed to preview the HIT's question data, but will not be allowed to accept and complete the HIT. The default is false. - */ - RequiredToPreview?: Boolean; - } - export type QualificationRequirementList = QualificationRequirement[]; - export type QualificationStatus = "Granted"|"Revoked"|string; - export interface QualificationType { - /** - * A unique identifier for the Qualification type. A Qualification type is given a Qualification type ID when you call the CreateQualificationType operation. - */ - QualificationTypeId?: EntityId; - /** - * The date and time the Qualification type was created. - */ - CreationTime?: Timestamp; - /** - * The name of the Qualification type. The type name is used to identify the type, and to find the type using a Qualification type search. - */ - Name?: String; - /** - * A long description for the Qualification type. - */ - Description?: String; - /** - * One or more words or phrases that describe theQualification type, separated by commas. The Keywords make the type easier to find using a search. - */ - Keywords?: String; - /** - * The status of the Qualification type. A Qualification type's status determines if users can apply to receive a Qualification of this type, and if HITs can be created with requirements based on this type. Valid values are Active | Inactive. - */ - QualificationTypeStatus?: QualificationTypeStatus; - /** - * The questions for a Qualification test associated with this Qualification type that a user can take to obtain a Qualification of this type. This parameter must be specified if AnswerKey is present. A Qualification type cannot have both a specified Test parameter and an AutoGranted value of true. - */ - Test?: String; - /** - * The amount of time, in seconds, given to a Worker to complete the Qualification test, beginning from the time the Worker requests the Qualification. - */ - TestDurationInSeconds?: Long; - /** - * The answers to the Qualification test specified in the Test parameter. - */ - AnswerKey?: String; - /** - * The amount of time, in seconds, Workers must wait after taking the Qualification test before they can take it again. Workers can take a Qualification test multiple times if they were not granted the Qualification from a previous attempt, or if the test offers a gradient score and they want a better score. If not specified, retries are disabled and Workers can request a Qualification only once. - */ - RetryDelayInSeconds?: Long; - /** - * Specifies whether the Qualification type is one that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test. This value is False for Qualifications assigned automatically by the system. Valid values are True | False. - */ - IsRequestable?: Boolean; - /** - * Specifies that requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test. Valid values are True | False. - */ - AutoGranted?: Boolean; - /** - * The Qualification integer value to use for automatically granted Qualifications, if AutoGranted is true. This is 1 by default. - */ - AutoGrantedValue?: Integer; - } - export type QualificationTypeList = QualificationType[]; - export type QualificationTypeStatus = "Active"|"Inactive"|string; - export interface RejectAssignmentRequest { - /** - * The ID of the assignment. The assignment must correspond to a HIT created by the Requester. - */ - AssignmentId: EntityId; - /** - * A message for the Worker, which the Worker can see in the Status section of the web site. - */ - RequesterFeedback?: String; - } - export interface RejectAssignmentResponse { - } - export interface RejectQualificationRequestRequest { - /** - * The ID of the Qualification request, as returned by the ListQualificationRequests operation. - */ - QualificationRequestId: String; - /** - * A text message explaining why the request was rejected, to be shown to the Worker who made the request. - */ - Reason?: String; - } - export interface RejectQualificationRequestResponse { - } - export type ResultSize = number; - export interface ReviewActionDetail { - /** - * The unique identifier for the action. - */ - ActionId?: EntityId; - /** - * The nature of the action itself. The Review Policy is responsible for examining the HIT and Assignments, emitting results, and deciding which other actions will be necessary. - */ - ActionName?: String; - /** - * The specific HITId or AssignmentID targeted by the action. - */ - TargetId?: EntityId; - /** - * The type of object in TargetId. - */ - TargetType?: String; - /** - * The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED. - */ - Status?: ReviewActionStatus; - /** - * The date when the action was completed. - */ - CompleteTime?: Timestamp; - /** - * A description of the outcome of the review. - */ - Result?: String; - /** - * Present only when the Results have a FAILED Status. - */ - ErrorCode?: String; - } - export type ReviewActionDetailList = ReviewActionDetail[]; - export type ReviewActionStatus = "Intended"|"Succeeded"|"Failed"|"Cancelled"|string; - export interface ReviewPolicy { - /** - * Name of a Review Policy: SimplePlurality/2011-09-01 or ScoreMyKnownAnswers/2011-09-01 - */ - PolicyName?: String; - /** - * Name of the parameter from the Review policy. - */ - Parameters?: PolicyParameterList; - } - export type ReviewPolicyLevel = "Assignment"|"HIT"|string; - export type ReviewPolicyLevelList = ReviewPolicyLevel[]; - export interface ReviewReport { - /** - * A list of ReviewResults objects for each action specified in the Review Policy. - */ - ReviewResults?: ReviewResultDetailList; - /** - * A list of ReviewAction objects for each action specified in the Review Policy. - */ - ReviewActions?: ReviewActionDetailList; - } - export interface ReviewResultDetail { - /** - * A unique identifier of the Review action result. - */ - ActionId?: EntityId; - /** - * The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself. - */ - SubjectId?: EntityId; - /** - * The type of the object from the SubjectId field. - */ - SubjectType?: String; - /** - * Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT. - */ - QuestionId?: EntityId; - /** - * Key identifies the particular piece of reviewed information. - */ - Key?: String; - /** - * The values of Key provided by the review policies you have selected. - */ - Value?: String; - } - export type ReviewResultDetailList = ReviewResultDetail[]; - export type ReviewableHITStatus = "Reviewable"|"Reviewing"|string; - export interface SendBonusRequest { - /** - * The ID of the Worker being paid the bonus. - */ - WorkerId: CustomerId; - /** - * The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes. - */ - BonusAmount: NumericValue; - /** - * The ID of the assignment for which this bonus is paid. - */ - AssignmentId: EntityId; - /** - * A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message. - */ - Reason?: String; - /** - * A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID. - */ - UniqueRequestToken?: IdempotencyToken; - } - export interface SendBonusResponse { - } - export interface SendTestEventNotificationRequest { - /** - * The notification specification to test. This value is identical to the value you would provide to the UpdateNotificationSettings operation when you establish the notification specification for a HIT type. - */ - Notification: NotificationSpecification; - /** - * The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event. - */ - TestEventType: EventType; - } - export interface SendTestEventNotificationResponse { - } - export type String = string; - export type StringList = String[]; - export type Timestamp = Date; - export type TurkErrorCode = string; - export interface UpdateExpirationForHITRequest { - /** - * The HIT to update. - */ - HITId: EntityId; - /** - * The date and time at which you want the HIT to expire - */ - ExpireAt?: Timestamp; - } - export interface UpdateExpirationForHITResponse { - } - export interface UpdateHITReviewStatusRequest { - /** - * The ID of the HIT to update. - */ - HITId: EntityId; - /** - * Specifies how to update the HIT status. Default is False. Setting this to false will only transition a HIT from Reviewable to Reviewing Setting this to true will only transition a HIT from Reviewing to Reviewable - */ - Revert?: Boolean; - } - export interface UpdateHITReviewStatusResponse { - } - export interface UpdateHITTypeOfHITRequest { - /** - * The HIT to update. - */ - HITId: EntityId; - /** - * The ID of the new HIT type. - */ - HITTypeId: EntityId; - } - export interface UpdateHITTypeOfHITResponse { - } - export interface UpdateNotificationSettingsRequest { - /** - * The ID of the HIT type whose notification specification is being updated. - */ - HITTypeId: EntityId; - /** - * The notification specification for the HIT type. - */ - Notification?: NotificationSpecification; - /** - * Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. You must specify either the Notification parameter or the Active parameter for the call to UpdateNotificationSettings to succeed. - */ - Active?: Boolean; - } - export interface UpdateNotificationSettingsResponse { - } - export interface UpdateQualificationTypeRequest { - /** - * The ID of the Qualification type to update. - */ - QualificationTypeId: EntityId; - /** - * The new description of the Qualification type. - */ - Description?: String; - /** - * The new status of the Qualification type - Active | Inactive - */ - QualificationTypeStatus?: QualificationTypeStatus; - /** - * The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, TestDurationInSeconds must also be specified. Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true. Constraints: None. If not specified, the Worker may request the Qualification without answering any questions. - */ - Test?: String; - /** - * The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure. - */ - AnswerKey?: String; - /** - * The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification. - */ - TestDurationInSeconds?: Long; - /** - * The amount of time, in seconds, that Workers must wait after requesting a Qualification of the specified Qualification type before they can retry the Qualification request. It is not possible to disable retries for a Qualification type after it has been created with retries enabled. If you want to disable retries, you must dispose of the existing retry-enabled Qualification type using DisposeQualificationType and then create a new Qualification type with retries disabled using CreateQualificationType. - */ - RetryDelayInSeconds?: Long; - /** - * Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test. Constraints: If the Test parameter is specified, this parameter cannot be true. - */ - AutoGranted?: Boolean; - /** - * The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true. - */ - AutoGrantedValue?: Integer; - } - export interface UpdateQualificationTypeResponse { - /** - * Contains a QualificationType data structure. - */ - QualificationType?: QualificationType; - } - export interface WorkerBlock { - /** - * The ID of the Worker who accepted the HIT. - */ - WorkerId?: CustomerId; - /** - * A message explaining the reason the Worker was blocked. - */ - Reason?: String; - } - export type WorkerBlockList = WorkerBlock[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2017-01-17"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the MTurk client. - */ - export import Types = MTurk; -} -export = MTurk; diff --git a/src/node_modules/aws-sdk/clients/mturk.js b/src/node_modules/aws-sdk/clients/mturk.js deleted file mode 100644 index 8516f43..0000000 --- a/src/node_modules/aws-sdk/clients/mturk.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['mturk'] = {}; -AWS.MTurk = Service.defineService('mturk', ['2017-01-17']); -Object.defineProperty(apiLoader.services['mturk'], '2017-01-17', { - get: function get() { - var model = require('../apis/mturk-requester-2017-01-17.min.json'); - model.paginators = require('../apis/mturk-requester-2017-01-17.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MTurk; diff --git a/src/node_modules/aws-sdk/clients/opsworks.d.ts b/src/node_modules/aws-sdk/clients/opsworks.d.ts deleted file mode 100644 index 60ebf5e..0000000 --- a/src/node_modules/aws-sdk/clients/opsworks.d.ts +++ /dev/null @@ -1,3513 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class OpsWorks extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: OpsWorks.Types.ClientConfiguration) - config: Config & OpsWorks.Types.ClientConfiguration; - /** - * Assign a registered instance to a layer. You can assign registered on-premises instances to any layer type. You can assign registered Amazon EC2 instances only to custom layers. You cannot use this action with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an AWS Identity and Access Management (IAM) user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - assignInstance(params: OpsWorks.Types.AssignInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Assign a registered instance to a layer. You can assign registered on-premises instances to any layer type. You can assign registered Amazon EC2 instances only to custom layers. You cannot use this action with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an AWS Identity and Access Management (IAM) user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - assignInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - assignVolume(params: OpsWorks.Types.AssignVolumeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - assignVolume(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - associateElasticIp(params: OpsWorks.Types.AssociateElasticIpRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - associateElasticIp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks. For more information, see Elastic Load Balancing. You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - attachElasticLoadBalancer(params: OpsWorks.Types.AttachElasticLoadBalancerRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks. For more information, see Elastic Load Balancing. You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - attachElasticLoadBalancer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a clone of a specified stack. For more information, see Clone a Stack. By default, all parameters are set to the values used by the parent stack. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - cloneStack(params: OpsWorks.Types.CloneStackRequest, callback?: (err: AWSError, data: OpsWorks.Types.CloneStackResult) => void): Request; - /** - * Creates a clone of a specified stack. For more information, see Clone a Stack. By default, all parameters are set to the values used by the parent stack. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - cloneStack(callback?: (err: AWSError, data: OpsWorks.Types.CloneStackResult) => void): Request; - /** - * Creates an app for a specified stack. For more information, see Creating Apps. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createApp(params: OpsWorks.Types.CreateAppRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateAppResult) => void): Request; - /** - * Creates an app for a specified stack. For more information, see Creating Apps. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createApp(callback?: (err: AWSError, data: OpsWorks.Types.CreateAppResult) => void): Request; - /** - * Runs deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands. Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createDeployment(params: OpsWorks.Types.CreateDeploymentRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateDeploymentResult) => void): Request; - /** - * Runs deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands. Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createDeployment(callback?: (err: AWSError, data: OpsWorks.Types.CreateDeploymentResult) => void): Request; - /** - * Creates an instance in a specified stack. For more information, see Adding an Instance to a Layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createInstance(params: OpsWorks.Types.CreateInstanceRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateInstanceResult) => void): Request; - /** - * Creates an instance in a specified stack. For more information, see Adding an Instance to a Layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createInstance(callback?: (err: AWSError, data: OpsWorks.Types.CreateInstanceResult) => void): Request; - /** - * Creates a layer. For more information, see How to Create a Layer. You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createLayer(params: OpsWorks.Types.CreateLayerRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateLayerResult) => void): Request; - /** - * Creates a layer. For more information, see How to Create a Layer. You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createLayer(callback?: (err: AWSError, data: OpsWorks.Types.CreateLayerResult) => void): Request; - /** - * Creates a new stack. For more information, see Create a New Stack. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createStack(params: OpsWorks.Types.CreateStackRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateStackResult) => void): Request; - /** - * Creates a new stack. For more information, see Create a New Stack. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createStack(callback?: (err: AWSError, data: OpsWorks.Types.CreateStackResult) => void): Request; - /** - * Creates a new user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createUserProfile(params: OpsWorks.Types.CreateUserProfileRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateUserProfileResult) => void): Request; - /** - * Creates a new user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - createUserProfile(callback?: (err: AWSError, data: OpsWorks.Types.CreateUserProfileResult) => void): Request; - /** - * Deletes a specified app. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deleteApp(params: OpsWorks.Types.DeleteAppRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified app. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deleteApp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it. For more information, see Deleting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deleteInstance(params: OpsWorks.Types.DeleteInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it. For more information, see Deleting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deleteInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deleteLayer(params: OpsWorks.Types.DeleteLayerRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deleteLayer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deleteStack(params: OpsWorks.Types.DeleteStackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deleteStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deleteUserProfile(params: OpsWorks.Types.DeleteUserProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deleteUserProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters a specified Amazon ECS cluster from a stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html. - */ - deregisterEcsCluster(params: OpsWorks.Types.DeregisterEcsClusterRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters a specified Amazon ECS cluster from a stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html. - */ - deregisterEcsCluster(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters a specified Elastic IP address. The address can then be registered by another stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deregisterElasticIp(params: OpsWorks.Types.DeregisterElasticIpRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters a specified Elastic IP address. The address can then be registered by another stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deregisterElasticIp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action can not be used with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deregisterInstance(params: OpsWorks.Types.DeregisterInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action can not be used with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deregisterInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters an Amazon RDS instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deregisterRdsDbInstance(params: OpsWorks.Types.DeregisterRdsDbInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters an Amazon RDS instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deregisterRdsDbInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deregisterVolume(params: OpsWorks.Types.DeregisterVolumeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - deregisterVolume(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Describes the available AWS OpsWorks Stacks agent versions. You must specify a stack ID or a configuration manager. DescribeAgentVersions returns a list of available agent versions for the specified stack or configuration manager. - */ - describeAgentVersions(params: OpsWorks.Types.DescribeAgentVersionsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeAgentVersionsResult) => void): Request; - /** - * Describes the available AWS OpsWorks Stacks agent versions. You must specify a stack ID or a configuration manager. DescribeAgentVersions returns a list of available agent versions for the specified stack or configuration manager. - */ - describeAgentVersions(callback?: (err: AWSError, data: OpsWorks.Types.DescribeAgentVersionsResult) => void): Request; - /** - * Requests a description of a specified set of apps. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeApps(params: OpsWorks.Types.DescribeAppsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeAppsResult) => void): Request; - /** - * Requests a description of a specified set of apps. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeApps(callback?: (err: AWSError, data: OpsWorks.Types.DescribeAppsResult) => void): Request; - /** - * Describes the results of specified commands. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeCommands(params: OpsWorks.Types.DescribeCommandsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeCommandsResult) => void): Request; - /** - * Describes the results of specified commands. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeCommands(callback?: (err: AWSError, data: OpsWorks.Types.DescribeCommandsResult) => void): Request; - /** - * Requests a description of a specified set of deployments. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeDeployments(params: OpsWorks.Types.DescribeDeploymentsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeDeploymentsResult) => void): Request; - /** - * Requests a description of a specified set of deployments. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeDeployments(callback?: (err: AWSError, data: OpsWorks.Types.DescribeDeploymentsResult) => void): Request; - /** - * Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the MaxResults and NextToken parameters to paginate the response. However, AWS OpsWorks Stacks currently supports only one cluster per layer, so the result set has a maximum of one element. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information on user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter. - */ - describeEcsClusters(params: OpsWorks.Types.DescribeEcsClustersRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeEcsClustersResult) => void): Request; - /** - * Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the MaxResults and NextToken parameters to paginate the response. However, AWS OpsWorks Stacks currently supports only one cluster per layer, so the result set has a maximum of one element. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information on user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter. - */ - describeEcsClusters(callback?: (err: AWSError, data: OpsWorks.Types.DescribeEcsClustersResult) => void): Request; - /** - * Describes Elastic IP addresses. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeElasticIps(params: OpsWorks.Types.DescribeElasticIpsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeElasticIpsResult) => void): Request; - /** - * Describes Elastic IP addresses. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeElasticIps(callback?: (err: AWSError, data: OpsWorks.Types.DescribeElasticIpsResult) => void): Request; - /** - * Describes a stack's Elastic Load Balancing instances. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeElasticLoadBalancers(params: OpsWorks.Types.DescribeElasticLoadBalancersRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeElasticLoadBalancersResult) => void): Request; - /** - * Describes a stack's Elastic Load Balancing instances. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeElasticLoadBalancers(callback?: (err: AWSError, data: OpsWorks.Types.DescribeElasticLoadBalancersResult) => void): Request; - /** - * Requests a description of a set of instances. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeInstances(params: OpsWorks.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request; - /** - * Requests a description of a set of instances. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeInstances(callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request; - /** - * Requests a description of one or more layers in a specified stack. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeLayers(params: OpsWorks.Types.DescribeLayersRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeLayersResult) => void): Request; - /** - * Requests a description of one or more layers in a specified stack. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeLayers(callback?: (err: AWSError, data: OpsWorks.Types.DescribeLayersResult) => void): Request; - /** - * Describes load-based auto scaling configurations for specified layers. You must specify at least one of the parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeLoadBasedAutoScaling(params: OpsWorks.Types.DescribeLoadBasedAutoScalingRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeLoadBasedAutoScalingResult) => void): Request; - /** - * Describes load-based auto scaling configurations for specified layers. You must specify at least one of the parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeLoadBasedAutoScaling(callback?: (err: AWSError, data: OpsWorks.Types.DescribeLoadBasedAutoScalingResult) => void): Request; - /** - * Describes a user's SSH information. Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeMyUserProfile(callback?: (err: AWSError, data: OpsWorks.Types.DescribeMyUserProfileResult) => void): Request; - /** - * Describes the permissions for a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describePermissions(params: OpsWorks.Types.DescribePermissionsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribePermissionsResult) => void): Request; - /** - * Describes the permissions for a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describePermissions(callback?: (err: AWSError, data: OpsWorks.Types.DescribePermissionsResult) => void): Request; - /** - * Describe an instance's RAID arrays. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeRaidArrays(params: OpsWorks.Types.DescribeRaidArraysRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeRaidArraysResult) => void): Request; - /** - * Describe an instance's RAID arrays. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeRaidArrays(callback?: (err: AWSError, data: OpsWorks.Types.DescribeRaidArraysResult) => void): Request; - /** - * Describes Amazon RDS instances. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter. - */ - describeRdsDbInstances(params: OpsWorks.Types.DescribeRdsDbInstancesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeRdsDbInstancesResult) => void): Request; - /** - * Describes Amazon RDS instances. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter. - */ - describeRdsDbInstances(callback?: (err: AWSError, data: OpsWorks.Types.DescribeRdsDbInstancesResult) => void): Request; - /** - * Describes AWS OpsWorks Stacks service errors. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter. - */ - describeServiceErrors(params: OpsWorks.Types.DescribeServiceErrorsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeServiceErrorsResult) => void): Request; - /** - * Describes AWS OpsWorks Stacks service errors. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter. - */ - describeServiceErrors(callback?: (err: AWSError, data: OpsWorks.Types.DescribeServiceErrorsResult) => void): Request; - /** - * Requests a description of a stack's provisioning parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeStackProvisioningParameters(params: OpsWorks.Types.DescribeStackProvisioningParametersRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeStackProvisioningParametersResult) => void): Request; - /** - * Requests a description of a stack's provisioning parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeStackProvisioningParameters(callback?: (err: AWSError, data: OpsWorks.Types.DescribeStackProvisioningParametersResult) => void): Request; - /** - * Describes the number of layers and apps in a specified stack, and the number of instances in each state, such as running_setup or online. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeStackSummary(params: OpsWorks.Types.DescribeStackSummaryRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeStackSummaryResult) => void): Request; - /** - * Describes the number of layers and apps in a specified stack, and the number of instances in each state, such as running_setup or online. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeStackSummary(callback?: (err: AWSError, data: OpsWorks.Types.DescribeStackSummaryResult) => void): Request; - /** - * Requests a description of one or more stacks. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeStacks(params: OpsWorks.Types.DescribeStacksRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeStacksResult) => void): Request; - /** - * Requests a description of one or more stacks. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeStacks(callback?: (err: AWSError, data: OpsWorks.Types.DescribeStacksResult) => void): Request; - /** - * Describes time-based auto scaling configurations for specified instances. You must specify at least one of the parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeTimeBasedAutoScaling(params: OpsWorks.Types.DescribeTimeBasedAutoScalingRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeTimeBasedAutoScalingResult) => void): Request; - /** - * Describes time-based auto scaling configurations for specified instances. You must specify at least one of the parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeTimeBasedAutoScaling(callback?: (err: AWSError, data: OpsWorks.Types.DescribeTimeBasedAutoScalingResult) => void): Request; - /** - * Describe specified users. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeUserProfiles(params: OpsWorks.Types.DescribeUserProfilesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeUserProfilesResult) => void): Request; - /** - * Describe specified users. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeUserProfiles(callback?: (err: AWSError, data: OpsWorks.Types.DescribeUserProfilesResult) => void): Request; - /** - * Describes an instance's Amazon EBS volumes. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeVolumes(params: OpsWorks.Types.DescribeVolumesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeVolumesResult) => void): Request; - /** - * Describes an instance's Amazon EBS volumes. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - describeVolumes(callback?: (err: AWSError, data: OpsWorks.Types.DescribeVolumesResult) => void): Request; - /** - * Detaches a specified Elastic Load Balancing instance from its layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - detachElasticLoadBalancer(params: OpsWorks.Types.DetachElasticLoadBalancerRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Detaches a specified Elastic Load Balancing instance from its layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - detachElasticLoadBalancer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disassociates an Elastic IP address from its instance. The address remains registered with the stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - disassociateElasticIp(params: OpsWorks.Types.DisassociateElasticIpRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disassociates an Elastic IP address from its instance. The address remains registered with the stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - disassociateElasticIp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Gets a generated host name for the specified layer, based on the current host name theme. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - getHostnameSuggestion(params: OpsWorks.Types.GetHostnameSuggestionRequest, callback?: (err: AWSError, data: OpsWorks.Types.GetHostnameSuggestionResult) => void): Request; - /** - * Gets a generated host name for the specified layer, based on the current host name theme. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - getHostnameSuggestion(callback?: (err: AWSError, data: OpsWorks.Types.GetHostnameSuggestionResult) => void): Request; - /** - * This action can be used only with Windows stacks. Grants RDP access to a Windows instance for a specified time period. - */ - grantAccess(params: OpsWorks.Types.GrantAccessRequest, callback?: (err: AWSError, data: OpsWorks.Types.GrantAccessResult) => void): Request; - /** - * This action can be used only with Windows stacks. Grants RDP access to a Windows instance for a specified time period. - */ - grantAccess(callback?: (err: AWSError, data: OpsWorks.Types.GrantAccessResult) => void): Request; - /** - * Returns a list of tags that are applied to the specified stack or layer. - */ - listTags(params: OpsWorks.Types.ListTagsRequest, callback?: (err: AWSError, data: OpsWorks.Types.ListTagsResult) => void): Request; - /** - * Returns a list of tags that are applied to the specified stack or layer. - */ - listTags(callback?: (err: AWSError, data: OpsWorks.Types.ListTagsResult) => void): Request; - /** - * Reboots a specified instance. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - rebootInstance(params: OpsWorks.Types.RebootInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Reboots a specified instance. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - rebootInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster can be registered with only one stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - registerEcsCluster(params: OpsWorks.Types.RegisterEcsClusterRequest, callback?: (err: AWSError, data: OpsWorks.Types.RegisterEcsClusterResult) => void): Request; - /** - * Registers a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster can be registered with only one stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - registerEcsCluster(callback?: (err: AWSError, data: OpsWorks.Types.RegisterEcsClusterResult) => void): Request; - /** - * Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - registerElasticIp(params: OpsWorks.Types.RegisterElasticIpRequest, callback?: (err: AWSError, data: OpsWorks.Types.RegisterElasticIpResult) => void): Request; - /** - * Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - registerElasticIp(callback?: (err: AWSError, data: OpsWorks.Types.RegisterElasticIpResult) => void): Request; - /** - * Registers instances that were created outside of AWS OpsWorks Stacks with a specified stack. We do not recommend using this action to register instances. The complete registration operation includes two tasks: installing the AWS OpsWorks Stacks agent on the instance, and registering the instance with the stack. RegisterInstance handles only the second step. You should instead use the AWS CLI register command, which performs the entire registration operation. For more information, see Registering an Instance with an AWS OpsWorks Stacks Stack. Registered instances have the same requirements as instances that are created by using the CreateInstance API. For example, registered instances must be running a supported Linux-based operating system, and they must have a supported instance type. For more information about requirements for instances that you want to register, see Preparing the Instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - registerInstance(params: OpsWorks.Types.RegisterInstanceRequest, callback?: (err: AWSError, data: OpsWorks.Types.RegisterInstanceResult) => void): Request; - /** - * Registers instances that were created outside of AWS OpsWorks Stacks with a specified stack. We do not recommend using this action to register instances. The complete registration operation includes two tasks: installing the AWS OpsWorks Stacks agent on the instance, and registering the instance with the stack. RegisterInstance handles only the second step. You should instead use the AWS CLI register command, which performs the entire registration operation. For more information, see Registering an Instance with an AWS OpsWorks Stacks Stack. Registered instances have the same requirements as instances that are created by using the CreateInstance API. For example, registered instances must be running a supported Linux-based operating system, and they must have a supported instance type. For more information about requirements for instances that you want to register, see Preparing the Instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - registerInstance(callback?: (err: AWSError, data: OpsWorks.Types.RegisterInstanceResult) => void): Request; - /** - * Registers an Amazon RDS instance with a stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - registerRdsDbInstance(params: OpsWorks.Types.RegisterRdsDbInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers an Amazon RDS instance with a stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - registerRdsDbInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - registerVolume(params: OpsWorks.Types.RegisterVolumeRequest, callback?: (err: AWSError, data: OpsWorks.Types.RegisterVolumeResult) => void): Request; - /** - * Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - registerVolume(callback?: (err: AWSError, data: OpsWorks.Types.RegisterVolumeResult) => void): Request; - /** - * Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances. To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - setLoadBasedAutoScaling(params: OpsWorks.Types.SetLoadBasedAutoScalingRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances. To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - setLoadBasedAutoScaling(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Specifies a user's permissions. For more information, see Security and Permissions. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - setPermission(params: OpsWorks.Types.SetPermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Specifies a user's permissions. For more information, see Security and Permissions. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - setPermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - setTimeBasedAutoScaling(params: OpsWorks.Types.SetTimeBasedAutoScalingRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - setTimeBasedAutoScaling(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Starts a specified instance. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - startInstance(params: OpsWorks.Types.StartInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Starts a specified instance. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - startInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Starts a stack's instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - startStack(params: OpsWorks.Types.StartStackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Starts a stack's instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - startStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - stopInstance(params: OpsWorks.Types.StopInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - stopInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Stops a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - stopStack(params: OpsWorks.Types.StopStackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Stops a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - stopStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Apply cost-allocation tags to a specified stack or layer in AWS OpsWorks Stacks. For more information about how tagging works, see Tags in the AWS OpsWorks User Guide. - */ - tagResource(params: OpsWorks.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Apply cost-allocation tags to a specified stack or layer in AWS OpsWorks Stacks. For more information about how tagging works, see Tags in the AWS OpsWorks User Guide. - */ - tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Unassigns a registered instance from all of it's layers. The instance remains in the stack as an unassigned instance and can be assigned to another layer, as needed. You cannot use this action with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - unassignInstance(params: OpsWorks.Types.UnassignInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Unassigns a registered instance from all of it's layers. The instance remains in the stack as an unassigned instance and can be assigned to another layer, as needed. You cannot use this action with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - unassignInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - unassignVolume(params: OpsWorks.Types.UnassignVolumeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - unassignVolume(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes tags from a specified stack or layer. - */ - untagResource(params: OpsWorks.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes tags from a specified stack or layer. - */ - untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a specified app. Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateApp(params: OpsWorks.Types.UpdateAppRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a specified app. Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateApp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a registered Elastic IP address's name. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateElasticIp(params: OpsWorks.Types.UpdateElasticIpRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a registered Elastic IP address's name. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateElasticIp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a specified instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateInstance(params: OpsWorks.Types.UpdateInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a specified instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a specified layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateLayer(params: OpsWorks.Types.UpdateLayerRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a specified layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateLayer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a user's SSH public key. Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateMyUserProfile(params: OpsWorks.Types.UpdateMyUserProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a user's SSH public key. Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateMyUserProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates an Amazon RDS instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateRdsDbInstance(params: OpsWorks.Types.UpdateRdsDbInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates an Amazon RDS instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateRdsDbInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateStack(params: OpsWorks.Types.UpdateStackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a specified user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateUserProfile(params: OpsWorks.Types.UpdateUserProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates a specified user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateUserProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateVolume(params: OpsWorks.Types.UpdateVolumeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions. - */ - updateVolume(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Waits for the appExists state by periodically calling the underlying OpsWorks.describeAppsoperation every 1 seconds (at most 40 times). - */ - waitFor(state: "appExists", params: OpsWorks.Types.DescribeAppsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeAppsResult) => void): Request; - /** - * Waits for the appExists state by periodically calling the underlying OpsWorks.describeAppsoperation every 1 seconds (at most 40 times). - */ - waitFor(state: "appExists", callback?: (err: AWSError, data: OpsWorks.Types.DescribeAppsResult) => void): Request; - /** - * Waits for the deploymentSuccessful state by periodically calling the underlying OpsWorks.describeDeploymentsoperation every 15 seconds (at most 40 times). Wait until a deployment has completed successfully - */ - waitFor(state: "deploymentSuccessful", params: OpsWorks.Types.DescribeDeploymentsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeDeploymentsResult) => void): Request; - /** - * Waits for the deploymentSuccessful state by periodically calling the underlying OpsWorks.describeDeploymentsoperation every 15 seconds (at most 40 times). Wait until a deployment has completed successfully - */ - waitFor(state: "deploymentSuccessful", callback?: (err: AWSError, data: OpsWorks.Types.DescribeDeploymentsResult) => void): Request; - /** - * Waits for the instanceOnline state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is online. - */ - waitFor(state: "instanceOnline", params: OpsWorks.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceOnline state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is online. - */ - waitFor(state: "instanceOnline", callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceRegistered state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is registered. - */ - waitFor(state: "instanceRegistered", params: OpsWorks.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceRegistered state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is registered. - */ - waitFor(state: "instanceRegistered", callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceStopped state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is stopped. - */ - waitFor(state: "instanceStopped", params: OpsWorks.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceStopped state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is stopped. - */ - waitFor(state: "instanceStopped", callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceTerminated state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is terminated. - */ - waitFor(state: "instanceTerminated", params: OpsWorks.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request; - /** - * Waits for the instanceTerminated state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is terminated. - */ - waitFor(state: "instanceTerminated", callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request; -} -declare namespace OpsWorks { - export interface AgentVersion { - /** - * The agent version. - */ - Version?: String; - /** - * The configuration manager. - */ - ConfigurationManager?: StackConfigurationManager; - } - export type AgentVersions = AgentVersion[]; - export interface App { - /** - * The app ID. - */ - AppId?: String; - /** - * The app stack ID. - */ - StackId?: String; - /** - * The app's short name. - */ - Shortname?: String; - /** - * The app name. - */ - Name?: String; - /** - * A description of the app. - */ - Description?: String; - /** - * The app's data sources. - */ - DataSources?: DataSources; - /** - * The app type. - */ - Type?: AppType; - /** - * A Source object that describes the app repository. - */ - AppSource?: Source; - /** - * The app vhost settings with multiple domains separated by commas. For example: 'www.example.com, example.com' - */ - Domains?: Strings; - /** - * Whether to enable SSL for the app. - */ - EnableSsl?: Boolean; - /** - * An SslConfiguration object with the SSL configuration. - */ - SslConfiguration?: SslConfiguration; - /** - * The stack attributes. - */ - Attributes?: AppAttributes; - /** - * When the app was created. - */ - CreatedAt?: String; - /** - * An array of EnvironmentVariable objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances. For more information, see Environment Variables. There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variable names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 10KB)" message. - */ - Environment?: EnvironmentVariables; - } - export type AppAttributes = {[key: string]: String}; - export type AppAttributesKeys = "DocumentRoot"|"RailsEnv"|"AutoBundleOnDeploy"|"AwsFlowRubySettings"|string; - export type AppType = "aws-flow-ruby"|"java"|"rails"|"php"|"nodejs"|"static"|"other"|string; - export type Apps = App[]; - export type Architecture = "x86_64"|"i386"|string; - export interface AssignInstanceRequest { - /** - * The instance ID. - */ - InstanceId: String; - /** - * The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer. - */ - LayerIds: Strings; - } - export interface AssignVolumeRequest { - /** - * The volume ID. - */ - VolumeId: String; - /** - * The instance ID. - */ - InstanceId?: String; - } - export interface AssociateElasticIpRequest { - /** - * The Elastic IP address. - */ - ElasticIp: String; - /** - * The instance ID. - */ - InstanceId?: String; - } - export interface AttachElasticLoadBalancerRequest { - /** - * The Elastic Load Balancing instance's name. - */ - ElasticLoadBalancerName: String; - /** - * The ID of the layer that the Elastic Load Balancing instance is to be attached to. - */ - LayerId: String; - } - export interface AutoScalingThresholds { - /** - * The number of instances to add or remove when the load exceeds a threshold. - */ - InstanceCount?: Integer; - /** - * The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed. - */ - ThresholdsWaitTime?: Minute; - /** - * The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events. For example, AWS OpsWorks Stacks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. IgnoreMetricsTime allows you to direct AWS OpsWorks Stacks to suppress scaling events long enough to get the new instances online. - */ - IgnoreMetricsTime?: Minute; - /** - * The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold. - */ - CpuThreshold?: Double; - /** - * The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold. - */ - MemoryThreshold?: Double; - /** - * The load threshold. A value of -1 disables the threshold. For more information about how load is computed, see Load (computing). - */ - LoadThreshold?: Double; - /** - * Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack. To use custom alarms, you must update your service role to allow cloudwatch:DescribeAlarms. You can either have AWS OpsWorks Stacks update the role for you when you first use this feature or you can edit the role manually. For more information, see Allowing AWS OpsWorks Stacks to Act on Your Behalf. - */ - Alarms?: Strings; - } - export type AutoScalingType = "load"|"timer"|string; - export interface BlockDeviceMapping { - /** - * The device name that is exposed to the instance, such as /dev/sdh. For the root device, you can use the explicit device name or you can set this parameter to ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name. - */ - DeviceName?: String; - /** - * Suppresses the specified device included in the AMI's block device mapping. - */ - NoDevice?: String; - /** - * The virtual device name. For more information, see BlockDeviceMapping. - */ - VirtualName?: String; - /** - * An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched. - */ - Ebs?: EbsBlockDevice; - } - export type BlockDeviceMappings = BlockDeviceMapping[]; - export type Boolean = boolean; - export interface ChefConfiguration { - /** - * Whether to enable Berkshelf. - */ - ManageBerkshelf?: Boolean; - /** - * The Berkshelf version. - */ - BerkshelfVersion?: String; - } - export interface CloneStackRequest { - /** - * The source stack ID. - */ - SourceStackId: String; - /** - * The cloned stack name. - */ - Name?: String; - /** - * The cloned stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints. - */ - Region?: String; - /** - * The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All instances are launched into this VPC, and you cannot change the ID later. If your account supports EC2 Classic, the default value is no VPC. If your account does not support EC2 Classic, the default value is the default VPC for the specified region. If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively. If you specify a nondefault VPC ID, note the following: It must belong to a VPC in your account that is in the specified region. You must specify a value for DefaultSubnetId. For more information on how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information on default VPC and EC2 Classic, see Supported Platforms. - */ - VpcId?: String; - /** - * A list of stack attributes and values as key/value pairs to be added to the cloned stack. - */ - Attributes?: StackAttributes; - /** - * The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers. You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly. - */ - ServiceRoleArn: String; - /** - * The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers. - */ - DefaultInstanceProfileArn?: String; - /** - * The stack's operating system, which must be set to one of the following. A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03. A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS. CentOS Linux 7 Red Hat Enterprise Linux 7 Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web. A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs. The default option is the parent stack's operating system. For more information on the supported operating systems, see AWS OpsWorks Stacks Operating Systems. You can specify a different Linux operating system for the cloned stack, but you cannot change from Linux to Windows or Windows to Linux. - */ - DefaultOs?: String; - /** - * The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are: Baked_Goods Clouds Europe_Cities Fruits Greek_Deities Legendary_creatures_from_Japan Planets_and_Moons Roman_Deities Scottish_Islands US_Cities Wild_Cats To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme. - */ - HostnameTheme?: String; - /** - * The cloned stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description. - */ - DefaultAvailabilityZone?: String; - /** - * The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description. - */ - DefaultSubnetId?: String; - /** - * A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes - */ - CustomJson?: String; - /** - * The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12. - */ - ConfigurationManager?: StackConfigurationManager; - /** - * A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack. - */ - ChefConfiguration?: ChefConfiguration; - /** - * Whether to use custom cookbooks. - */ - UseCustomCookbooks?: Boolean; - /** - * Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers. AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With UseOpsworksSecurityGroups you can instead provide your own custom security groups. UseOpsworksSecurityGroups has the following settings: True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it but you cannot delete the built-in security group. False - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate Amazon Elastic Compute Cloud (Amazon EC2) security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings. For more information, see Create a New Stack. - */ - UseOpsworksSecurityGroups?: Boolean; - CustomCookbooksSource?: Source; - /** - * A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance. - */ - DefaultSshKeyName?: String; - /** - * Whether to clone the source stack's permissions. - */ - ClonePermissions?: Boolean; - /** - * A list of source stack app IDs to be included in the cloned stack. - */ - CloneAppIds?: Strings; - /** - * The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device. - */ - DefaultRootDeviceType?: RootDeviceType; - /** - * The default AWS OpsWorks Stacks agent version. You have the following options: Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available. Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances. The default setting is LATEST. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2. You can also specify an agent version when you create or update an instance, which overrides the stack's default setting. - */ - AgentVersion?: String; - } - export interface CloneStackResult { - /** - * The cloned stack ID. - */ - StackId?: String; - } - export interface CloudWatchLogsConfiguration { - /** - * Whether CloudWatch Logs is enabled for a layer. - */ - Enabled?: Boolean; - /** - * A list of configuration options for CloudWatch Logs. - */ - LogStreams?: CloudWatchLogsLogStreams; - } - export type CloudWatchLogsEncoding = "ascii"|"big5"|"big5hkscs"|"cp037"|"cp424"|"cp437"|"cp500"|"cp720"|"cp737"|"cp775"|"cp850"|"cp852"|"cp855"|"cp856"|"cp857"|"cp858"|"cp860"|"cp861"|"cp862"|"cp863"|"cp864"|"cp865"|"cp866"|"cp869"|"cp874"|"cp875"|"cp932"|"cp949"|"cp950"|"cp1006"|"cp1026"|"cp1140"|"cp1250"|"cp1251"|"cp1252"|"cp1253"|"cp1254"|"cp1255"|"cp1256"|"cp1257"|"cp1258"|"euc_jp"|"euc_jis_2004"|"euc_jisx0213"|"euc_kr"|"gb2312"|"gbk"|"gb18030"|"hz"|"iso2022_jp"|"iso2022_jp_1"|"iso2022_jp_2"|"iso2022_jp_2004"|"iso2022_jp_3"|"iso2022_jp_ext"|"iso2022_kr"|"latin_1"|"iso8859_2"|"iso8859_3"|"iso8859_4"|"iso8859_5"|"iso8859_6"|"iso8859_7"|"iso8859_8"|"iso8859_9"|"iso8859_10"|"iso8859_13"|"iso8859_14"|"iso8859_15"|"iso8859_16"|"johab"|"koi8_r"|"koi8_u"|"mac_cyrillic"|"mac_greek"|"mac_iceland"|"mac_latin2"|"mac_roman"|"mac_turkish"|"ptcp154"|"shift_jis"|"shift_jis_2004"|"shift_jisx0213"|"utf_32"|"utf_32_be"|"utf_32_le"|"utf_16"|"utf_16_be"|"utf_16_le"|"utf_7"|"utf_8"|"utf_8_sig"|string; - export type CloudWatchLogsInitialPosition = "start_of_file"|"end_of_file"|string; - export interface CloudWatchLogsLogStream { - /** - * Specifies the destination log group. A log group is created automatically if it doesn't already exist. Log group names can be between 1 and 512 characters long. Allowed characters include a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period). - */ - LogGroupName?: String; - /** - * Specifies how the time stamp is extracted from logs. For more information, see the CloudWatch Logs Agent Reference. - */ - DatetimeFormat?: String; - /** - * Specifies the time zone of log event time stamps. - */ - TimeZone?: CloudWatchLogsTimeZone; - /** - * Specifies log files that you want to push to CloudWatch Logs. File can point to a specific file or multiple files (by using wild card characters such as /var/log/system.log*). Only the latest file is pushed to CloudWatch Logs, based on file modification time. We recommend that you use wild card characters to specify a series of files of the same type, such as access_log.2014-06-01-01, access_log.2014-06-01-02, and so on by using a pattern like access_log.*. Don't use a wildcard to match multiple file types, such as access_log_80 and access_log_443. To specify multiple, different file types, add another log stream entry to the configuration file, so that each log file type is stored in a different log group. Zipped files are not supported. - */ - File?: String; - /** - * Specifies the range of lines for identifying a file. The valid values are one number, or two dash-delimited numbers, such as '1', '2-5'. The default value is '1', meaning the first line is used to calculate the fingerprint. Fingerprint lines are not sent to CloudWatch Logs unless all specified lines are available. - */ - FileFingerprintLines?: String; - /** - * Specifies the pattern for identifying the start of a log message. - */ - MultiLineStartPattern?: String; - /** - * Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file. This setting is only used if there is no state persisted for that log stream. - */ - InitialPosition?: CloudWatchLogsInitialPosition; - /** - * Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8. Encodings supported by Python codecs.decode() can be used here. - */ - Encoding?: CloudWatchLogsEncoding; - /** - * Specifies the time duration for the batching of log events. The minimum value is 5000ms and default value is 5000ms. - */ - BufferDuration?: Integer; - /** - * Specifies the max number of log events in a batch, up to 10000. The default value is 1000. - */ - BatchCount?: Integer; - /** - * Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes. This size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event. - */ - BatchSize?: Integer; - } - export type CloudWatchLogsLogStreams = CloudWatchLogsLogStream[]; - export type CloudWatchLogsTimeZone = "LOCAL"|"UTC"|string; - export interface Command { - /** - * The command ID. - */ - CommandId?: String; - /** - * The ID of the instance where the command was executed. - */ - InstanceId?: String; - /** - * The command deployment ID. - */ - DeploymentId?: String; - /** - * Date and time when the command was run. - */ - CreatedAt?: DateTime; - /** - * Date and time when the command was acknowledged. - */ - AcknowledgedAt?: DateTime; - /** - * Date when the command completed. - */ - CompletedAt?: DateTime; - /** - * The command status: failed successful skipped pending - */ - Status?: String; - /** - * The command exit code. - */ - ExitCode?: Integer; - /** - * The URL of the command log. - */ - LogUrl?: String; - /** - * The command type: configure deploy execute_recipes install_dependencies restart rollback setup start stop undeploy update_custom_cookbooks update_dependencies - */ - Type?: String; - } - export type Commands = Command[]; - export interface CreateAppRequest { - /** - * The stack ID. - */ - StackId: String; - /** - * The app's short name. - */ - Shortname?: String; - /** - * The app name. - */ - Name: String; - /** - * A description of the app. - */ - Description?: String; - /** - * The app's data source. - */ - DataSources?: DataSources; - /** - * The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks Stacks deploys an application to those instances that are members of the corresponding layer. If your app isn't one of the standard types, or you prefer to implement your own Deploy recipes, specify other. - */ - Type: AppType; - /** - * A Source object that specifies the app repository. - */ - AppSource?: Source; - /** - * The app virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com' - */ - Domains?: Strings; - /** - * Whether to enable SSL for the app. - */ - EnableSsl?: Boolean; - /** - * An SslConfiguration object with the SSL configuration. - */ - SslConfiguration?: SslConfiguration; - /** - * One or more user-defined key/value pairs to be added to the stack attributes. - */ - Attributes?: AppAttributes; - /** - * An array of EnvironmentVariable objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instance. For more information, see Environment Variables. There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)." This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version. - */ - Environment?: EnvironmentVariables; - } - export interface CreateAppResult { - /** - * The app ID. - */ - AppId?: String; - } - export interface CreateDeploymentRequest { - /** - * The stack ID. - */ - StackId: String; - /** - * The app ID. This parameter is required for app deployments, but not for other deployment commands. - */ - AppId?: String; - /** - * The instance IDs for the deployment targets. - */ - InstanceIds?: Strings; - /** - * The layer IDs for the deployment targets. - */ - LayerIds?: Strings; - /** - * A DeploymentCommand object that specifies the deployment command and any associated arguments. - */ - Command: DeploymentCommand; - /** - * A user-defined comment. - */ - Comment?: String; - /** - * A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes. - */ - CustomJson?: String; - } - export interface CreateDeploymentResult { - /** - * The deployment ID, which can be used with other requests to identify the deployment. - */ - DeploymentId?: String; - } - export interface CreateInstanceRequest { - /** - * The stack ID. - */ - StackId: String; - /** - * An array that contains the instance's layer IDs. - */ - LayerIds: Strings; - /** - * The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table. - */ - InstanceType: String; - /** - * For load-based or time-based instances, the type. Windows stacks can use only time-based instances. - */ - AutoScalingType?: AutoScalingType; - /** - * The instance host name. - */ - Hostname?: String; - /** - * The instance's operating system, which must be set to one of the following. A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03. A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS. CentOS Linux 7 Red Hat Enterprise Linux 7 A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web. A custom AMI: Custom. For more information on the supported operating systems, see AWS OpsWorks Stacks Operating Systems. The default option is the current Amazon Linux version. If you set this parameter to Custom, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. Block device mappings are not supported if the value is Custom. For more information on the supported operating systems, see Operating SystemsFor more information on how to use custom AMIs with AWS OpsWorks Stacks, see Using Custom AMIs. - */ - Os?: String; - /** - * A custom AMI ID to be used to create the instance. The AMI should be based on one of the supported operating systems. For more information, see Using Custom AMIs. If you specify a custom AMI, you must set Os to Custom. - */ - AmiId?: String; - /** - * The instance's Amazon EC2 key-pair name. - */ - SshKeyName?: String; - /** - * The instance Availability Zone. For more information, see Regions and Endpoints. - */ - AvailabilityZone?: String; - /** - * The instance's virtualization type, paravirtual or hvm. - */ - VirtualizationType?: String; - /** - * The ID of the instance's subnet. If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct AWS OpsWorks Stacks to launch the instance in a different subnet. - */ - SubnetId?: String; - /** - * The instance architecture. The default option is x86_64. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types. - */ - Architecture?: Architecture; - /** - * The instance root device type. For more information, see Storage for the Root Device. - */ - RootDeviceType?: RootDeviceType; - /** - * An array of BlockDeviceMapping objects that specify the instance's block devices. For more information, see Block Device Mapping. Note that block device mappings are not supported for custom AMIs. - */ - BlockDeviceMappings?: BlockDeviceMappings; - /** - * Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true to ensure that your instances have the latest security updates. - */ - InstallUpdatesOnBoot?: Boolean; - /** - * Whether to create an Amazon EBS-optimized instance. - */ - EbsOptimized?: Boolean; - /** - * The default AWS OpsWorks Stacks agent version. You have the following options: INHERIT - Use the stack's default agent version setting. version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance. The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2. - */ - AgentVersion?: String; - /** - * The instance's tenancy option. The default option is no tenancy, or if the instance is running in a VPC, inherit tenancy settings from the VPC. The following are valid values for this parameter: dedicated, default, or host. Because there are costs associated with changes in tenancy options, we recommend that you research tenancy options before choosing them for your instances. For more information about dedicated hosts, see Dedicated Hosts Overview and Amazon EC2 Dedicated Hosts. For more information about dedicated instances, see Dedicated Instances and Amazon EC2 Dedicated Instances. - */ - Tenancy?: String; - } - export interface CreateInstanceResult { - /** - * The instance ID. - */ - InstanceId?: String; - } - export interface CreateLayerRequest { - /** - * The layer stack ID. - */ - StackId: String; - /** - * The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. Built-in layers are not available in Chef 12 stacks. - */ - Type: LayerType; - /** - * The layer name, which is used by the console. - */ - Name: String; - /** - * For custom layers only, use this parameter to specify the layer's short name, which is used internally by AWS OpsWorks Stacks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters, which are limited to the alphanumeric characters, '-', '_', and '.'. The built-in layers' short names are defined by AWS OpsWorks Stacks. For more information, see the Layer Reference. - */ - Shortname: String; - /** - * One or more user-defined key-value pairs to be added to the stack attributes. To create a cluster layer, set the EcsClusterArn attribute to the cluster's ARN. - */ - Attributes?: LayerAttributes; - /** - * Specifies CloudWatch Logs configuration options for the layer. For more information, see CloudWatchLogsLogStream. - */ - CloudWatchLogsConfiguration?: CloudWatchLogsConfiguration; - /** - * The ARN of an IAM profile to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers. - */ - CustomInstanceProfileArn?: String; - /** - * A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on the layer's instances. For more information, see Using Custom JSON. This feature is supported as of version 1.7.42 of the AWS CLI. - */ - CustomJson?: String; - /** - * An array containing the layer custom security group IDs. - */ - CustomSecurityGroupIds?: Strings; - /** - * An array of Package objects that describes the layer packages. - */ - Packages?: Strings; - /** - * A VolumeConfigurations object that describes the layer's Amazon EBS volumes. - */ - VolumeConfigurations?: VolumeConfigurations; - /** - * Whether to disable auto healing for the layer. - */ - EnableAutoHealing?: Boolean; - /** - * Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer. - */ - AutoAssignElasticIps?: Boolean; - /** - * For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer. - */ - AutoAssignPublicIps?: Boolean; - /** - * A LayerCustomRecipes object that specifies the layer custom recipes. - */ - CustomRecipes?: Recipes; - /** - * Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. To ensure that your instances have the latest security updates, we strongly recommend using the default value of true. - */ - InstallUpdatesOnBoot?: Boolean; - /** - * Whether to use Amazon EBS-optimized instances. - */ - UseEbsOptimizedInstances?: Boolean; - /** - * A LifeCycleEventConfiguration object that you can use to configure the Shutdown event to specify an execution timeout and enable or disable Elastic Load Balancer connection draining. - */ - LifecycleEventConfiguration?: LifecycleEventConfiguration; - } - export interface CreateLayerResult { - /** - * The layer ID. - */ - LayerId?: String; - } - export interface CreateStackRequest { - /** - * The stack name. - */ - Name: String; - /** - * The stack's AWS region, such as "ap-south-1". For more information about Amazon regions, see Regions and Endpoints. - */ - Region: String; - /** - * The ID of the VPC that the stack is to be launched into. The VPC must be in the stack's region. All instances are launched into this VPC. You cannot change the ID later. If your account supports EC2-Classic, the default value is no VPC. If your account does not support EC2-Classic, the default value is the default VPC for the specified region. If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively. If you specify a nondefault VPC ID, note the following: It must belong to a VPC in your account that is in the specified region. You must specify a value for DefaultSubnetId. For more information on how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information on default VPC and EC2-Classic, see Supported Platforms. - */ - VpcId?: String; - /** - * One or more user-defined key-value pairs to be added to the stack attributes. - */ - Attributes?: StackAttributes; - /** - * The stack's AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. For more information about IAM ARNs, see Using Identifiers. - */ - ServiceRoleArn: String; - /** - * The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers. - */ - DefaultInstanceProfileArn: String; - /** - * The stack's default operating system, which is installed on every instance unless you specify a different operating system when you create the instance. You can specify one of the following. A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03. A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS. CentOS Linux 7 Red Hat Enterprise Linux 7 A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web. A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information, see Using Custom AMIs. The default option is the current Amazon Linux version. For more information on the supported operating systems, see AWS OpsWorks Stacks Operating Systems. - */ - DefaultOs?: String; - /** - * The stack's host name theme, with spaces replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are: Baked_Goods Clouds Europe_Cities Fruits Greek_Deities Legendary_creatures_from_Japan Planets_and_Moons Roman_Deities Scottish_Islands US_Cities Wild_Cats To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme. - */ - HostnameTheme?: String; - /** - * The stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description. - */ - DefaultAvailabilityZone?: String; - /** - * The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description. - */ - DefaultSubnetId?: String; - /** - * A string that contains user-defined, custom JSON. It can be used to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes. - */ - CustomJson?: String; - /** - * The configuration manager. When you create a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 11.4. - */ - ConfigurationManager?: StackConfigurationManager; - /** - * A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack. - */ - ChefConfiguration?: ChefConfiguration; - /** - * Whether the stack uses custom cookbooks. - */ - UseCustomCookbooks?: Boolean; - /** - * Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers. AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With UseOpsworksSecurityGroups you can instead provide your own custom security groups. UseOpsworksSecurityGroups has the following settings: True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it, but you cannot delete the built-in security group. False - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate EC2 security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings. For more information, see Create a New Stack. - */ - UseOpsworksSecurityGroups?: Boolean; - CustomCookbooksSource?: Source; - /** - * A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance. - */ - DefaultSshKeyName?: String; - /** - * The default root device type. This value is the default for all instances in the stack, but you can override it when you create an instance. The default option is instance-store. For more information, see Storage for the Root Device. - */ - DefaultRootDeviceType?: RootDeviceType; - /** - * The default AWS OpsWorks Stacks agent version. You have the following options: Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available. Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances. The default setting is the most recent release of the agent. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2. You can also specify an agent version when you create or update an instance, which overrides the stack's default setting. - */ - AgentVersion?: String; - } - export interface CreateStackResult { - /** - * The stack ID, which is an opaque string that you use to identify the stack when performing actions such as DescribeStacks. - */ - StackId?: String; - } - export interface CreateUserProfileRequest { - /** - * The user's IAM ARN; this can also be a federated user's ARN. - */ - IamUserArn: String; - /** - * The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name. - */ - SshUsername?: String; - /** - * The user's public SSH key. - */ - SshPublicKey?: String; - /** - * Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key. - */ - AllowSelfManagement?: Boolean; - } - export interface CreateUserProfileResult { - /** - * The user's IAM ARN. - */ - IamUserArn?: String; - } - export type DailyAutoScalingSchedule = {[key: string]: Switch}; - export interface DataSource { - /** - * The data source's type, AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, or RdsDbInstance. - */ - Type?: String; - /** - * The data source's ARN. - */ - Arn?: String; - /** - * The database name. - */ - DatabaseName?: String; - } - export type DataSources = DataSource[]; - export type DateTime = string; - export interface DeleteAppRequest { - /** - * The app ID. - */ - AppId: String; - } - export interface DeleteInstanceRequest { - /** - * The instance ID. - */ - InstanceId: String; - /** - * Whether to delete the instance Elastic IP address. - */ - DeleteElasticIp?: Boolean; - /** - * Whether to delete the instance's Amazon EBS volumes. - */ - DeleteVolumes?: Boolean; - } - export interface DeleteLayerRequest { - /** - * The layer ID. - */ - LayerId: String; - } - export interface DeleteStackRequest { - /** - * The stack ID. - */ - StackId: String; - } - export interface DeleteUserProfileRequest { - /** - * The user's IAM ARN. This can also be a federated user's ARN. - */ - IamUserArn: String; - } - export interface Deployment { - /** - * The deployment ID. - */ - DeploymentId?: String; - /** - * The stack ID. - */ - StackId?: String; - /** - * The app ID. - */ - AppId?: String; - /** - * Date when the deployment was created. - */ - CreatedAt?: DateTime; - /** - * Date when the deployment completed. - */ - CompletedAt?: DateTime; - /** - * The deployment duration. - */ - Duration?: Integer; - /** - * The user's IAM ARN. - */ - IamUserArn?: String; - /** - * A user-defined comment. - */ - Comment?: String; - Command?: DeploymentCommand; - /** - * The deployment status: running successful failed - */ - Status?: String; - /** - * A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes. - */ - CustomJson?: String; - /** - * The IDs of the target instances. - */ - InstanceIds?: Strings; - } - export interface DeploymentCommand { - /** - * Specifies the operation. You can specify only one command. For stacks, the following commands are available: execute_recipes: Execute one or more recipes. To specify the recipes, set an Args parameter named recipes to the list of recipes to be executed. For example, to execute phpapp::appsetup, set Args to {"recipes":["phpapp::appsetup"]}. install_dependencies: Install the stack's dependencies. update_custom_cookbooks: Update the stack's custom cookbooks. update_dependencies: Update the stack's dependencies. The update_dependencies and install_dependencies commands are supported only for Linux instances. You can run the commands successfully on Windows instances, but they do nothing. For apps, the following commands are available: deploy: Deploy an app. Ruby on Rails apps have an optional Args parameter named migrate. Set Args to {"migrate":["true"]} to migrate the database. The default setting is {"migrate":["false"]}. rollback Roll the app back to the previous version. When you update an app, AWS OpsWorks Stacks stores the previous version, up to a maximum of five versions. You can use this command to roll an app back as many as four versions. start: Start the app's web or application server. stop: Stop the app's web or application server. restart: Restart the app's web or application server. undeploy: Undeploy the app. - */ - Name: DeploymentCommandName; - /** - * The arguments of those commands that take arguments. It should be set to a JSON object with the following format: {"arg_name1" : ["value1", "value2", ...], "arg_name2" : ["value1", "value2", ...], ...} The update_dependencies command takes two arguments: upgrade_os_to - Specifies the desired Amazon Linux version for instances whose OS you want to upgrade, such as Amazon Linux 2016.09. You must also set the allow_reboot argument to true. allow_reboot - Specifies whether to allow AWS OpsWorks Stacks to reboot the instances if necessary, after installing the updates. This argument can be set to either true or false. The default value is false. For example, to upgrade an instance to Amazon Linux 2016.09, set Args to the following. { "upgrade_os_to":["Amazon Linux 2016.09"], "allow_reboot":["true"] } - */ - Args?: DeploymentCommandArgs; - } - export type DeploymentCommandArgs = {[key: string]: Strings}; - export type DeploymentCommandName = "install_dependencies"|"update_dependencies"|"update_custom_cookbooks"|"execute_recipes"|"configure"|"setup"|"deploy"|"rollback"|"start"|"stop"|"restart"|"undeploy"|string; - export type Deployments = Deployment[]; - export interface DeregisterEcsClusterRequest { - /** - * The cluster's ARN. - */ - EcsClusterArn: String; - } - export interface DeregisterElasticIpRequest { - /** - * The Elastic IP address. - */ - ElasticIp: String; - } - export interface DeregisterInstanceRequest { - /** - * The instance ID. - */ - InstanceId: String; - } - export interface DeregisterRdsDbInstanceRequest { - /** - * The Amazon RDS instance's ARN. - */ - RdsDbInstanceArn: String; - } - export interface DeregisterVolumeRequest { - /** - * The AWS OpsWorks Stacks volume ID, which is the GUID that AWS OpsWorks Stacks assigned to the instance when you registered the volume with the stack, not the Amazon EC2 volume ID. - */ - VolumeId: String; - } - export interface DescribeAgentVersionsRequest { - /** - * The stack ID. - */ - StackId?: String; - /** - * The configuration manager. - */ - ConfigurationManager?: StackConfigurationManager; - } - export interface DescribeAgentVersionsResult { - /** - * The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console. - */ - AgentVersions?: AgentVersions; - } - export interface DescribeAppsRequest { - /** - * The app stack ID. If you use this parameter, DescribeApps returns a description of the apps in the specified stack. - */ - StackId?: String; - /** - * An array of app IDs for the apps to be described. If you use this parameter, DescribeApps returns a description of the specified apps. Otherwise, it returns a description of every app. - */ - AppIds?: Strings; - } - export interface DescribeAppsResult { - /** - * An array of App objects that describe the specified apps. - */ - Apps?: Apps; - } - export interface DescribeCommandsRequest { - /** - * The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment. - */ - DeploymentId?: String; - /** - * The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance. - */ - InstanceId?: String; - /** - * An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command. - */ - CommandIds?: Strings; - } - export interface DescribeCommandsResult { - /** - * An array of Command objects that describe each of the specified commands. - */ - Commands?: Commands; - } - export interface DescribeDeploymentsRequest { - /** - * The stack ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified stack. - */ - StackId?: String; - /** - * The app ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified app. - */ - AppId?: String; - /** - * An array of deployment IDs to be described. If you include this parameter, DescribeDeployments returns a description of the specified deployments. Otherwise, it returns a description of every deployment. - */ - DeploymentIds?: Strings; - } - export interface DescribeDeploymentsResult { - /** - * An array of Deployment objects that describe the deployments. - */ - Deployments?: Deployments; - } - export interface DescribeEcsClustersRequest { - /** - * A list of ARNs, one for each cluster to be described. - */ - EcsClusterArns?: Strings; - /** - * A stack ID. DescribeEcsClusters returns a description of the cluster that is registered with the stack. - */ - StackId?: String; - /** - * If the previous paginated request did not return all of the remaining results, the response object'sNextToken parameter value is set to a token. To retrieve the next set of results, call DescribeEcsClusters again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null. - */ - NextToken?: String; - /** - * To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results. - */ - MaxResults?: Integer; - } - export interface DescribeEcsClustersResult { - /** - * A list of EcsCluster objects containing the cluster descriptions. - */ - EcsClusters?: EcsClusters; - /** - * If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's NextToken parameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set to null. - */ - NextToken?: String; - } - export interface DescribeElasticIpsRequest { - /** - * The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance. - */ - InstanceId?: String; - /** - * A stack ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses that are registered with the specified stack. - */ - StackId?: String; - /** - * An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address. - */ - Ips?: Strings; - } - export interface DescribeElasticIpsResult { - /** - * An ElasticIps object that describes the specified Elastic IP addresses. - */ - ElasticIps?: ElasticIps; - } - export interface DescribeElasticLoadBalancersRequest { - /** - * A stack ID. The action describes the stack's Elastic Load Balancing instances. - */ - StackId?: String; - /** - * A list of layer IDs. The action describes the Elastic Load Balancing instances for the specified layers. - */ - LayerIds?: Strings; - } - export interface DescribeElasticLoadBalancersResult { - /** - * A list of ElasticLoadBalancer objects that describe the specified Elastic Load Balancing instances. - */ - ElasticLoadBalancers?: ElasticLoadBalancers; - } - export interface DescribeInstancesRequest { - /** - * A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack. - */ - StackId?: String; - /** - * A layer ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified layer. - */ - LayerId?: String; - /** - * An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance. - */ - InstanceIds?: Strings; - } - export interface DescribeInstancesResult { - /** - * An array of Instance objects that describe the instances. - */ - Instances?: Instances; - } - export interface DescribeLayersRequest { - /** - * The stack ID. - */ - StackId?: String; - /** - * An array of layer IDs that specify the layers to be described. If you omit this parameter, DescribeLayers returns a description of every layer in the specified stack. - */ - LayerIds?: Strings; - } - export interface DescribeLayersResult { - /** - * An array of Layer objects that describe the layers. - */ - Layers?: Layers; - } - export interface DescribeLoadBasedAutoScalingRequest { - /** - * An array of layer IDs. - */ - LayerIds: Strings; - } - export interface DescribeLoadBasedAutoScalingResult { - /** - * An array of LoadBasedAutoScalingConfiguration objects that describe each layer's configuration. - */ - LoadBasedAutoScalingConfigurations?: LoadBasedAutoScalingConfigurations; - } - export interface DescribeMyUserProfileResult { - /** - * A UserProfile object that describes the user's SSH information. - */ - UserProfile?: SelfUserProfile; - } - export interface DescribePermissionsRequest { - /** - * The user's IAM ARN. This can also be a federated user's ARN. For more information about IAM ARNs, see Using Identifiers. - */ - IamUserArn?: String; - /** - * The stack ID. - */ - StackId?: String; - } - export interface DescribePermissionsResult { - /** - * An array of Permission objects that describe the stack permissions. If the request object contains only a stack ID, the array contains a Permission object with permissions for each of the stack IAM ARNs. If the request object contains only an IAM ARN, the array contains a Permission object with permissions for each of the user's stack IDs. If the request contains a stack ID and an IAM ARN, the array contains a single Permission object with permissions for the specified stack and IAM ARN. - */ - Permissions?: Permissions; - } - export interface DescribeRaidArraysRequest { - /** - * The instance ID. If you use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays associated with the specified instance. - */ - InstanceId?: String; - /** - * The stack ID. - */ - StackId?: String; - /** - * An array of RAID array IDs. If you use this parameter, DescribeRaidArrays returns descriptions of the specified arrays. Otherwise, it returns a description of every array. - */ - RaidArrayIds?: Strings; - } - export interface DescribeRaidArraysResult { - /** - * A RaidArrays object that describes the specified RAID arrays. - */ - RaidArrays?: RaidArrays; - } - export interface DescribeRdsDbInstancesRequest { - /** - * The stack ID that the instances are registered with. The operation returns descriptions of all registered Amazon RDS instances. - */ - StackId: String; - /** - * An array containing the ARNs of the instances to be described. - */ - RdsDbInstanceArns?: Strings; - } - export interface DescribeRdsDbInstancesResult { - /** - * An a array of RdsDbInstance objects that describe the instances. - */ - RdsDbInstances?: RdsDbInstances; - } - export interface DescribeServiceErrorsRequest { - /** - * The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack. - */ - StackId?: String; - /** - * The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance. - */ - InstanceId?: String; - /** - * An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error. - */ - ServiceErrorIds?: Strings; - } - export interface DescribeServiceErrorsResult { - /** - * An array of ServiceError objects that describe the specified service errors. - */ - ServiceErrors?: ServiceErrors; - } - export interface DescribeStackProvisioningParametersRequest { - /** - * The stack ID - */ - StackId: String; - } - export interface DescribeStackProvisioningParametersResult { - /** - * The AWS OpsWorks Stacks agent installer's URL. - */ - AgentInstallerUrl?: String; - /** - * An embedded object that contains the provisioning parameters. - */ - Parameters?: Parameters; - } - export interface DescribeStackSummaryRequest { - /** - * The stack ID. - */ - StackId: String; - } - export interface DescribeStackSummaryResult { - /** - * A StackSummary object that contains the results. - */ - StackSummary?: StackSummary; - } - export interface DescribeStacksRequest { - /** - * An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack. - */ - StackIds?: Strings; - } - export interface DescribeStacksResult { - /** - * An array of Stack objects that describe the stacks. - */ - Stacks?: Stacks; - } - export interface DescribeTimeBasedAutoScalingRequest { - /** - * An array of instance IDs. - */ - InstanceIds: Strings; - } - export interface DescribeTimeBasedAutoScalingResult { - /** - * An array of TimeBasedAutoScalingConfiguration objects that describe the configuration for the specified instances. - */ - TimeBasedAutoScalingConfigurations?: TimeBasedAutoScalingConfigurations; - } - export interface DescribeUserProfilesRequest { - /** - * An array of IAM or federated user ARNs that identify the users to be described. - */ - IamUserArns?: Strings; - } - export interface DescribeUserProfilesResult { - /** - * A Users object that describes the specified users. - */ - UserProfiles?: UserProfiles; - } - export interface DescribeVolumesRequest { - /** - * The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance. - */ - InstanceId?: String; - /** - * A stack ID. The action describes the stack's registered Amazon EBS volumes. - */ - StackId?: String; - /** - * The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified RAID array. - */ - RaidArrayId?: String; - /** - * Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume. - */ - VolumeIds?: Strings; - } - export interface DescribeVolumesResult { - /** - * An array of volume IDs. - */ - Volumes?: Volumes; - } - export interface DetachElasticLoadBalancerRequest { - /** - * The Elastic Load Balancing instance's name. - */ - ElasticLoadBalancerName: String; - /** - * The ID of the layer that the Elastic Load Balancing instance is attached to. - */ - LayerId: String; - } - export interface DisassociateElasticIpRequest { - /** - * The Elastic IP address. - */ - ElasticIp: String; - } - export type Double = number; - export interface EbsBlockDevice { - /** - * The snapshot ID. - */ - SnapshotId?: String; - /** - * The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice. - */ - Iops?: Integer; - /** - * The volume size, in GiB. For more information, see EbsBlockDevice. - */ - VolumeSize?: Integer; - /** - * The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes. - */ - VolumeType?: VolumeType; - /** - * Whether the volume is deleted on instance termination. - */ - DeleteOnTermination?: Boolean; - } - export interface EcsCluster { - /** - * The cluster's ARN. - */ - EcsClusterArn?: String; - /** - * The cluster name. - */ - EcsClusterName?: String; - /** - * The stack ID. - */ - StackId?: String; - /** - * The time and date that the cluster was registered with the stack. - */ - RegisteredAt?: DateTime; - } - export type EcsClusters = EcsCluster[]; - export interface ElasticIp { - /** - * The IP address. - */ - Ip?: String; - /** - * The name. - */ - Name?: String; - /** - * The domain. - */ - Domain?: String; - /** - * The AWS region. For more information, see Regions and Endpoints. - */ - Region?: String; - /** - * The ID of the instance that the address is attached to. - */ - InstanceId?: String; - } - export type ElasticIps = ElasticIp[]; - export interface ElasticLoadBalancer { - /** - * The Elastic Load Balancing instance's name. - */ - ElasticLoadBalancerName?: String; - /** - * The instance's AWS region. - */ - Region?: String; - /** - * The instance's public DNS name. - */ - DnsName?: String; - /** - * The ID of the stack that the instance is associated with. - */ - StackId?: String; - /** - * The ID of the layer that the instance is attached to. - */ - LayerId?: String; - /** - * The VPC ID. - */ - VpcId?: String; - /** - * A list of Availability Zones. - */ - AvailabilityZones?: Strings; - /** - * A list of subnet IDs, if the stack is running in a VPC. - */ - SubnetIds?: Strings; - /** - * A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for. - */ - Ec2InstanceIds?: Strings; - } - export type ElasticLoadBalancers = ElasticLoadBalancer[]; - export interface EnvironmentVariable { - /** - * (Required) The environment variable's name, which can consist of up to 64 characters and must be specified. The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore. - */ - Key: String; - /** - * (Optional) The environment variable's value, which can be left empty. If you specify a value, it can contain up to 256 characters, which must all be printable. - */ - Value: String; - /** - * (Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set Secure to true. DescribeApps then returns *****FILTERED***** instead of the actual value. The default value for Secure is false. - */ - Secure?: Boolean; - } - export type EnvironmentVariables = EnvironmentVariable[]; - export interface GetHostnameSuggestionRequest { - /** - * The layer ID. - */ - LayerId: String; - } - export interface GetHostnameSuggestionResult { - /** - * The layer ID. - */ - LayerId?: String; - /** - * The generated host name. - */ - Hostname?: String; - } - export interface GrantAccessRequest { - /** - * The instance's AWS OpsWorks Stacks ID. - */ - InstanceId: String; - /** - * The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out. - */ - ValidForInMinutes?: ValidForInMinutes; - } - export interface GrantAccessResult { - /** - * A TemporaryCredential object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection. - */ - TemporaryCredential?: TemporaryCredential; - } - export type Hour = string; - export interface Instance { - /** - * The agent version. This parameter is set to INHERIT if the instance inherits the default stack setting or to a a version number for a fixed agent version. - */ - AgentVersion?: String; - /** - * A custom AMI ID to be used to create the instance. For more information, see Instances - */ - AmiId?: String; - /** - * The instance architecture: "i386" or "x86_64". - */ - Architecture?: Architecture; - Arn?: String; - /** - * For load-based or time-based instances, the type. - */ - AutoScalingType?: AutoScalingType; - /** - * The instance Availability Zone. For more information, see Regions and Endpoints. - */ - AvailabilityZone?: String; - /** - * An array of BlockDeviceMapping objects that specify the instance's block device mappings. - */ - BlockDeviceMappings?: BlockDeviceMappings; - /** - * The time that the instance was created. - */ - CreatedAt?: DateTime; - /** - * Whether this is an Amazon EBS-optimized instance. - */ - EbsOptimized?: Boolean; - /** - * The ID of the associated Amazon EC2 instance. - */ - Ec2InstanceId?: String; - /** - * For container instances, the Amazon ECS cluster's ARN. - */ - EcsClusterArn?: String; - /** - * For container instances, the instance's ARN. - */ - EcsContainerInstanceArn?: String; - /** - * The instance Elastic IP address . - */ - ElasticIp?: String; - /** - * The instance host name. - */ - Hostname?: String; - /** - * For registered instances, the infrastructure class: ec2 or on-premises. - */ - InfrastructureClass?: String; - /** - * Whether to install operating system and package updates when the instance boots. The default value is true. If this value is set to false, you must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates. - */ - InstallUpdatesOnBoot?: Boolean; - /** - * The instance ID. - */ - InstanceId?: String; - /** - * The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers. - */ - InstanceProfileArn?: String; - /** - * The instance type, such as t2.micro. - */ - InstanceType?: String; - /** - * The ID of the last service error. For more information, call DescribeServiceErrors. - */ - LastServiceErrorId?: String; - /** - * An array containing the instance layer IDs. - */ - LayerIds?: Strings; - /** - * The instance's operating system. - */ - Os?: String; - /** - * The instance's platform. - */ - Platform?: String; - /** - * The instance's private DNS name. - */ - PrivateDns?: String; - /** - * The instance's private IP address. - */ - PrivateIp?: String; - /** - * The instance public DNS name. - */ - PublicDns?: String; - /** - * The instance public IP address. - */ - PublicIp?: String; - /** - * For registered instances, who performed the registration. - */ - RegisteredBy?: String; - /** - * The instance's reported AWS OpsWorks Stacks agent version. - */ - ReportedAgentVersion?: String; - /** - * For registered instances, the reported operating system. - */ - ReportedOs?: ReportedOs; - /** - * The instance's root device type. For more information, see Storage for the Root Device. - */ - RootDeviceType?: RootDeviceType; - /** - * The root device volume ID. - */ - RootDeviceVolumeId?: String; - /** - * An array containing the instance security group IDs. - */ - SecurityGroupIds?: Strings; - /** - * The SSH key's Deep Security Agent (DSA) fingerprint. - */ - SshHostDsaKeyFingerprint?: String; - /** - * The SSH key's RSA fingerprint. - */ - SshHostRsaKeyFingerprint?: String; - /** - * The instance's Amazon EC2 key-pair name. - */ - SshKeyName?: String; - /** - * The stack ID. - */ - StackId?: String; - /** - * The instance status: booting connection_lost online pending rebooting requested running_setup setup_failed shutting_down start_failed stop_failed stopped stopping terminated terminating - */ - Status?: String; - /** - * The instance's subnet ID; applicable only if the stack is running in a VPC. - */ - SubnetId?: String; - /** - * The instance's tenancy option, such as dedicated or host. - */ - Tenancy?: String; - /** - * The instance's virtualization type: paravirtual or hvm. - */ - VirtualizationType?: VirtualizationType; - } - export interface InstanceIdentity { - /** - * A JSON document that contains the metadata. - */ - Document?: String; - /** - * A signature that can be used to verify the document's accuracy and authenticity. - */ - Signature?: String; - } - export type Instances = Instance[]; - export interface InstancesCount { - /** - * The number of instances in the Assigning state. - */ - Assigning?: Integer; - /** - * The number of instances with booting status. - */ - Booting?: Integer; - /** - * The number of instances with connection_lost status. - */ - ConnectionLost?: Integer; - /** - * The number of instances in the Deregistering state. - */ - Deregistering?: Integer; - /** - * The number of instances with online status. - */ - Online?: Integer; - /** - * The number of instances with pending status. - */ - Pending?: Integer; - /** - * The number of instances with rebooting status. - */ - Rebooting?: Integer; - /** - * The number of instances in the Registered state. - */ - Registered?: Integer; - /** - * The number of instances in the Registering state. - */ - Registering?: Integer; - /** - * The number of instances with requested status. - */ - Requested?: Integer; - /** - * The number of instances with running_setup status. - */ - RunningSetup?: Integer; - /** - * The number of instances with setup_failed status. - */ - SetupFailed?: Integer; - /** - * The number of instances with shutting_down status. - */ - ShuttingDown?: Integer; - /** - * The number of instances with start_failed status. - */ - StartFailed?: Integer; - /** - * The number of instances with stopped status. - */ - Stopped?: Integer; - /** - * The number of instances with stopping status. - */ - Stopping?: Integer; - /** - * The number of instances with terminated status. - */ - Terminated?: Integer; - /** - * The number of instances with terminating status. - */ - Terminating?: Integer; - /** - * The number of instances in the Unassigning state. - */ - Unassigning?: Integer; - } - export type Integer = number; - export interface Layer { - Arn?: String; - /** - * The layer stack ID. - */ - StackId?: String; - /** - * The layer ID. - */ - LayerId?: String; - /** - * The layer type. - */ - Type?: LayerType; - /** - * The layer name. - */ - Name?: String; - /** - * The layer short name. - */ - Shortname?: String; - /** - * The layer attributes. For the HaproxyStatsPassword, MysqlRootPassword, and GangliaPassword attributes, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn attribute is set to the cluster's ARN. - */ - Attributes?: LayerAttributes; - /** - * The Amazon CloudWatch Logs configuration settings for the layer. - */ - CloudWatchLogsConfiguration?: CloudWatchLogsConfiguration; - /** - * The ARN of the default IAM profile to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers. - */ - CustomInstanceProfileArn?: String; - /** - * A JSON formatted string containing the layer's custom stack configuration and deployment attributes. - */ - CustomJson?: String; - /** - * An array containing the layer's custom security group IDs. - */ - CustomSecurityGroupIds?: Strings; - /** - * An array containing the layer's security group names. - */ - DefaultSecurityGroupNames?: Strings; - /** - * An array of Package objects that describe the layer's packages. - */ - Packages?: Strings; - /** - * A VolumeConfigurations object that describes the layer's Amazon EBS volumes. - */ - VolumeConfigurations?: VolumeConfigurations; - /** - * Whether auto healing is disabled for the layer. - */ - EnableAutoHealing?: Boolean; - /** - * Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer. - */ - AutoAssignElasticIps?: Boolean; - /** - * For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer. - */ - AutoAssignPublicIps?: Boolean; - DefaultRecipes?: Recipes; - /** - * A LayerCustomRecipes object that specifies the layer's custom recipes. - */ - CustomRecipes?: Recipes; - /** - * Date when the layer was created. - */ - CreatedAt?: DateTime; - /** - * Whether to install operating system and package updates when the instance boots. The default value is true. If this value is set to false, you must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates. - */ - InstallUpdatesOnBoot?: Boolean; - /** - * Whether the layer uses Amazon EBS-optimized instances. - */ - UseEbsOptimizedInstances?: Boolean; - /** - * A LifeCycleEventConfiguration object that specifies the Shutdown event configuration. - */ - LifecycleEventConfiguration?: LifecycleEventConfiguration; - } - export type LayerAttributes = {[key: string]: String}; - export type LayerAttributesKeys = "EcsClusterArn"|"EnableHaproxyStats"|"HaproxyStatsUrl"|"HaproxyStatsUser"|"HaproxyStatsPassword"|"HaproxyHealthCheckUrl"|"HaproxyHealthCheckMethod"|"MysqlRootPassword"|"MysqlRootPasswordUbiquitous"|"GangliaUrl"|"GangliaUser"|"GangliaPassword"|"MemcachedMemory"|"NodejsVersion"|"RubyVersion"|"RubygemsVersion"|"ManageBundler"|"BundlerVersion"|"RailsStack"|"PassengerVersion"|"Jvm"|"JvmVersion"|"JvmOptions"|"JavaAppServer"|"JavaAppServerVersion"|string; - export type LayerType = "aws-flow-ruby"|"ecs-cluster"|"java-app"|"lb"|"web"|"php-app"|"rails-app"|"nodejs-app"|"memcached"|"db-master"|"monitoring-master"|"custom"|string; - export type Layers = Layer[]; - export interface LifecycleEventConfiguration { - /** - * A ShutdownEventConfiguration object that specifies the Shutdown event configuration. - */ - Shutdown?: ShutdownEventConfiguration; - } - export interface ListTagsRequest { - /** - * The stack or layer's Amazon Resource Number (ARN). - */ - ResourceArn: ResourceArn; - /** - * Do not use. A validation exception occurs if you add a MaxResults parameter to a ListTagsRequest call. - */ - MaxResults?: MaxResults; - /** - * Do not use. A validation exception occurs if you add a NextToken parameter to a ListTagsRequest call. - */ - NextToken?: NextToken; - } - export interface ListTagsResult { - /** - * A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer. - */ - Tags?: Tags; - /** - * If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's NextToken parameter to get the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set to null. - */ - NextToken?: NextToken; - } - export interface LoadBasedAutoScalingConfiguration { - /** - * The layer ID. - */ - LayerId?: String; - /** - * Whether load-based auto scaling is enabled for the layer. - */ - Enable?: Boolean; - /** - * An AutoScalingThresholds object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances. - */ - UpScaling?: AutoScalingThresholds; - /** - * An AutoScalingThresholds object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances. - */ - DownScaling?: AutoScalingThresholds; - } - export type LoadBasedAutoScalingConfigurations = LoadBasedAutoScalingConfiguration[]; - export type MaxResults = number; - export type Minute = number; - export type NextToken = string; - export type Parameters = {[key: string]: String}; - export interface Permission { - /** - * A stack ID. - */ - StackId?: String; - /** - * The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers. - */ - IamUserArn?: String; - /** - * Whether the user can use SSH. - */ - AllowSsh?: Boolean; - /** - * Whether the user can use sudo. - */ - AllowSudo?: Boolean; - /** - * The user's permission level, which must be the following: deny show deploy manage iam_only For more information on the permissions associated with these levels, see Managing User Permissions - */ - Level?: String; - } - export type Permissions = Permission[]; - export interface RaidArray { - /** - * The array ID. - */ - RaidArrayId?: String; - /** - * The instance ID. - */ - InstanceId?: String; - /** - * The array name. - */ - Name?: String; - /** - * The RAID level. - */ - RaidLevel?: Integer; - /** - * The number of disks in the array. - */ - NumberOfDisks?: Integer; - /** - * The array's size. - */ - Size?: Integer; - /** - * The array's Linux device. For example /dev/mdadm0. - */ - Device?: String; - /** - * The array's mount point. - */ - MountPoint?: String; - /** - * The array's Availability Zone. For more information, see Regions and Endpoints. - */ - AvailabilityZone?: String; - /** - * When the RAID array was created. - */ - CreatedAt?: DateTime; - /** - * The stack ID. - */ - StackId?: String; - /** - * The volume type, standard or PIOPS. - */ - VolumeType?: String; - /** - * For PIOPS volumes, the IOPS per disk. - */ - Iops?: Integer; - } - export type RaidArrays = RaidArray[]; - export interface RdsDbInstance { - /** - * The instance's ARN. - */ - RdsDbInstanceArn?: String; - /** - * The DB instance identifier. - */ - DbInstanceIdentifier?: String; - /** - * The master user name. - */ - DbUser?: String; - /** - * AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value. - */ - DbPassword?: String; - /** - * The instance's AWS region. - */ - Region?: String; - /** - * The instance's address. - */ - Address?: String; - /** - * The instance's database engine. - */ - Engine?: String; - /** - * The ID of the stack with which the instance is registered. - */ - StackId?: String; - /** - * Set to true if AWS OpsWorks Stacks is unable to discover the Amazon RDS instance. AWS OpsWorks Stacks attempts to discover the instance only once. If this value is set to true, you must deregister the instance, and then register it again. - */ - MissingOnRds?: Boolean; - } - export type RdsDbInstances = RdsDbInstance[]; - export interface RebootInstanceRequest { - /** - * The instance ID. - */ - InstanceId: String; - } - export interface Recipes { - /** - * An array of custom recipe names to be run following a setup event. - */ - Setup?: Strings; - /** - * An array of custom recipe names to be run following a configure event. - */ - Configure?: Strings; - /** - * An array of custom recipe names to be run following a deploy event. - */ - Deploy?: Strings; - /** - * An array of custom recipe names to be run following a undeploy event. - */ - Undeploy?: Strings; - /** - * An array of custom recipe names to be run following a shutdown event. - */ - Shutdown?: Strings; - } - export interface RegisterEcsClusterRequest { - /** - * The cluster's ARN. - */ - EcsClusterArn: String; - /** - * The stack ID. - */ - StackId: String; - } - export interface RegisterEcsClusterResult { - /** - * The cluster's ARN. - */ - EcsClusterArn?: String; - } - export interface RegisterElasticIpRequest { - /** - * The Elastic IP address. - */ - ElasticIp: String; - /** - * The stack ID. - */ - StackId: String; - } - export interface RegisterElasticIpResult { - /** - * The Elastic IP address. - */ - ElasticIp?: String; - } - export interface RegisterInstanceRequest { - /** - * The ID of the stack that the instance is to be registered with. - */ - StackId: String; - /** - * The instance's hostname. - */ - Hostname?: String; - /** - * The instance's public IP address. - */ - PublicIp?: String; - /** - * The instance's private IP address. - */ - PrivateIp?: String; - /** - * The instances public RSA key. This key is used to encrypt communication between the instance and the service. - */ - RsaPublicKey?: String; - /** - * The instances public RSA key fingerprint. - */ - RsaPublicKeyFingerprint?: String; - /** - * An InstanceIdentity object that contains the instance's identity. - */ - InstanceIdentity?: InstanceIdentity; - } - export interface RegisterInstanceResult { - /** - * The registered instance's AWS OpsWorks Stacks ID. - */ - InstanceId?: String; - } - export interface RegisterRdsDbInstanceRequest { - /** - * The stack ID. - */ - StackId: String; - /** - * The Amazon RDS instance's ARN. - */ - RdsDbInstanceArn: String; - /** - * The database's master user name. - */ - DbUser: String; - /** - * The database password. - */ - DbPassword: String; - } - export interface RegisterVolumeRequest { - /** - * The Amazon EBS volume ID. - */ - Ec2VolumeId?: String; - /** - * The stack ID. - */ - StackId: String; - } - export interface RegisterVolumeResult { - /** - * The volume ID. - */ - VolumeId?: String; - } - export interface ReportedOs { - /** - * The operating system family. - */ - Family?: String; - /** - * The operating system name. - */ - Name?: String; - /** - * The operating system version. - */ - Version?: String; - } - export type ResourceArn = string; - export type RootDeviceType = "ebs"|"instance-store"|string; - export interface SelfUserProfile { - /** - * The user's IAM ARN. - */ - IamUserArn?: String; - /** - * The user's name. - */ - Name?: String; - /** - * The user's SSH user name. - */ - SshUsername?: String; - /** - * The user's SSH public key. - */ - SshPublicKey?: String; - } - export interface ServiceError { - /** - * The error ID. - */ - ServiceErrorId?: String; - /** - * The stack ID. - */ - StackId?: String; - /** - * The instance ID. - */ - InstanceId?: String; - /** - * The error type. - */ - Type?: String; - /** - * A message that describes the error. - */ - Message?: String; - /** - * When the error occurred. - */ - CreatedAt?: DateTime; - } - export type ServiceErrors = ServiceError[]; - export interface SetLoadBasedAutoScalingRequest { - /** - * The layer ID. - */ - LayerId: String; - /** - * Enables load-based auto scaling for the layer. - */ - Enable?: Boolean; - /** - * An AutoScalingThresholds object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of instances. - */ - UpScaling?: AutoScalingThresholds; - /** - * An AutoScalingThresholds object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number of instances. - */ - DownScaling?: AutoScalingThresholds; - } - export interface SetPermissionRequest { - /** - * The stack ID. - */ - StackId: String; - /** - * The user's IAM ARN. This can also be a federated user's ARN. - */ - IamUserArn: String; - /** - * The user is allowed to use SSH to communicate with the instance. - */ - AllowSsh?: Boolean; - /** - * The user is allowed to use sudo to elevate privileges. - */ - AllowSudo?: Boolean; - /** - * The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level. deny show deploy manage iam_only For more information on the permissions associated with these levels, see Managing User Permissions. - */ - Level?: String; - } - export interface SetTimeBasedAutoScalingRequest { - /** - * The instance ID. - */ - InstanceId: String; - /** - * An AutoScalingSchedule with the instance schedule. - */ - AutoScalingSchedule?: WeeklyAutoScalingSchedule; - } - export interface ShutdownEventConfiguration { - /** - * The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance. - */ - ExecutionTimeout?: Integer; - /** - * Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining - */ - DelayUntilElbConnectionsDrained?: Boolean; - } - export interface Source { - /** - * The repository type. - */ - Type?: SourceType; - /** - * The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz. - */ - Url?: String; - /** - * This parameter depends on the repository type. For Amazon S3 bundles, set Username to the appropriate IAM access key ID. For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name. - */ - Username?: String; - /** - * When included in a request, the parameter depends on the repository type. For Amazon S3 bundles, set Password to the appropriate IAM secret access key. For HTTP bundles and Subversion repositories, set Password to the password. For more information on how to safely handle IAM credentials, see http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html. In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value. - */ - Password?: String; - /** - * In requests, the repository's SSH key. In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value. - */ - SshKey?: String; - /** - * The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed. - */ - Revision?: String; - } - export type SourceType = "git"|"svn"|"archive"|"s3"|string; - export interface SslConfiguration { - /** - * The contents of the certificate's domain.crt file. - */ - Certificate: String; - /** - * The private key; the contents of the certificate's domain.kex file. - */ - PrivateKey: String; - /** - * Optional. Can be used to specify an intermediate certificate authority key or client authentication. - */ - Chain?: String; - } - export interface Stack { - /** - * The stack ID. - */ - StackId?: String; - /** - * The stack name. - */ - Name?: String; - /** - * The stack's ARN. - */ - Arn?: String; - /** - * The stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints. - */ - Region?: String; - /** - * The VPC ID; applicable only if the stack is running in a VPC. - */ - VpcId?: String; - /** - * The stack's attributes. - */ - Attributes?: StackAttributes; - /** - * The stack AWS Identity and Access Management (IAM) role. - */ - ServiceRoleArn?: String; - /** - * The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers. - */ - DefaultInstanceProfileArn?: String; - /** - * The stack's default operating system. - */ - DefaultOs?: String; - /** - * The stack host name theme, with spaces replaced by underscores. - */ - HostnameTheme?: String; - /** - * The stack's default Availability Zone. For more information, see Regions and Endpoints. - */ - DefaultAvailabilityZone?: String; - /** - * The default subnet ID; applicable only if the stack is running in a VPC. - */ - DefaultSubnetId?: String; - /** - * A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes. You can use custom JSON to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes. - */ - CustomJson?: String; - /** - * The configuration manager. - */ - ConfigurationManager?: StackConfigurationManager; - /** - * A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version. For more information, see Create a New Stack. - */ - ChefConfiguration?: ChefConfiguration; - /** - * Whether the stack uses custom cookbooks. - */ - UseCustomCookbooks?: Boolean; - /** - * Whether the stack automatically associates the AWS OpsWorks Stacks built-in security groups with the stack's layers. - */ - UseOpsworksSecurityGroups?: Boolean; - CustomCookbooksSource?: Source; - /** - * A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance. - */ - DefaultSshKeyName?: String; - /** - * The date when the stack was created. - */ - CreatedAt?: DateTime; - /** - * The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device. - */ - DefaultRootDeviceType?: RootDeviceType; - /** - * The agent version. This parameter is set to LATEST for auto-update. or a version number for a fixed agent version. - */ - AgentVersion?: String; - } - export type StackAttributes = {[key: string]: String}; - export type StackAttributesKeys = "Color"|string; - export interface StackConfigurationManager { - /** - * The name. This parameter must be set to "Chef". - */ - Name?: String; - /** - * The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is 11.4. - */ - Version?: String; - } - export interface StackSummary { - /** - * The stack ID. - */ - StackId?: String; - /** - * The stack name. - */ - Name?: String; - /** - * The stack's ARN. - */ - Arn?: String; - /** - * The number of layers. - */ - LayersCount?: Integer; - /** - * The number of apps. - */ - AppsCount?: Integer; - /** - * An InstancesCount object with the number of instances in each status. - */ - InstancesCount?: InstancesCount; - } - export type Stacks = Stack[]; - export interface StartInstanceRequest { - /** - * The instance ID. - */ - InstanceId: String; - } - export interface StartStackRequest { - /** - * The stack ID. - */ - StackId: String; - } - export interface StopInstanceRequest { - /** - * The instance ID. - */ - InstanceId: String; - } - export interface StopStackRequest { - /** - * The stack ID. - */ - StackId: String; - } - export type String = string; - export type Strings = String[]; - export type Switch = string; - export type TagKey = string; - export type TagKeys = TagKey[]; - export interface TagResourceRequest { - /** - * The stack or layer's Amazon Resource Number (ARN). - */ - ResourceArn: ResourceArn; - /** - * A map that contains tag keys and tag values that are attached to a stack or layer. The key cannot be empty. The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : / The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : / Leading and trailing white spaces are trimmed from both the key and value. A maximum of 40 tags is allowed for any resource. - */ - Tags: Tags; - } - export type TagValue = string; - export type Tags = {[key: string]: TagValue}; - export interface TemporaryCredential { - /** - * The user name. - */ - Username?: String; - /** - * The password. - */ - Password?: String; - /** - * The length of time (in minutes) that the grant is valid. When the grant expires, at the end of this period, the user will no longer be able to use the credentials to log in. If they are logged in at the time, they will be automatically logged out. - */ - ValidForInMinutes?: Integer; - /** - * The instance's AWS OpsWorks Stacks ID. - */ - InstanceId?: String; - } - export interface TimeBasedAutoScalingConfiguration { - /** - * The instance ID. - */ - InstanceId?: String; - /** - * A WeeklyAutoScalingSchedule object with the instance schedule. - */ - AutoScalingSchedule?: WeeklyAutoScalingSchedule; - } - export type TimeBasedAutoScalingConfigurations = TimeBasedAutoScalingConfiguration[]; - export interface UnassignInstanceRequest { - /** - * The instance ID. - */ - InstanceId: String; - } - export interface UnassignVolumeRequest { - /** - * The volume ID. - */ - VolumeId: String; - } - export interface UntagResourceRequest { - /** - * The stack or layer's Amazon Resource Number (ARN). - */ - ResourceArn: ResourceArn; - /** - * A list of the keys of tags to be removed from a stack or layer. - */ - TagKeys: TagKeys; - } - export interface UpdateAppRequest { - /** - * The app ID. - */ - AppId: String; - /** - * The app name. - */ - Name?: String; - /** - * A description of the app. - */ - Description?: String; - /** - * The app's data sources. - */ - DataSources?: DataSources; - /** - * The app type. - */ - Type?: AppType; - /** - * A Source object that specifies the app repository. - */ - AppSource?: Source; - /** - * The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com' - */ - Domains?: Strings; - /** - * Whether SSL is enabled for the app. - */ - EnableSsl?: Boolean; - /** - * An SslConfiguration object with the SSL configuration. - */ - SslConfiguration?: SslConfiguration; - /** - * One or more user-defined key/value pairs to be added to the stack attributes. - */ - Attributes?: AppAttributes; - /** - * An array of EnvironmentVariable objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances.For more information, see Environment Variables. There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)." This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version. - */ - Environment?: EnvironmentVariables; - } - export interface UpdateElasticIpRequest { - /** - * The address. - */ - ElasticIp: String; - /** - * The new name. - */ - Name?: String; - } - export interface UpdateInstanceRequest { - /** - * The instance ID. - */ - InstanceId: String; - /** - * The instance's layer IDs. - */ - LayerIds?: Strings; - /** - * The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table. - */ - InstanceType?: String; - /** - * For load-based or time-based instances, the type. Windows stacks can use only time-based instances. - */ - AutoScalingType?: AutoScalingType; - /** - * The instance host name. - */ - Hostname?: String; - /** - * The instance's operating system, which must be set to one of the following. You cannot update an instance that is using a custom AMI. A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03. A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS. CentOS Linux 7 Red Hat Enterprise Linux 7 A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web. For more information on the supported operating systems, see AWS OpsWorks Stacks Operating Systems. The default option is the current Amazon Linux version. If you set this parameter to Custom, you must use the AmiId parameter to specify the custom AMI that you want to use. For more information on the supported operating systems, see Operating Systems. For more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs. You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux. - */ - Os?: String; - /** - * The ID of the AMI that was used to create the instance. The value of this parameter must be the same AMI ID that the instance is already using. You cannot apply a new AMI to an instance by running UpdateInstance. UpdateInstance does not work on instances that are using custom AMIs. - */ - AmiId?: String; - /** - * The instance's Amazon EC2 key name. - */ - SshKeyName?: String; - /** - * The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types. - */ - Architecture?: Architecture; - /** - * Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates. - */ - InstallUpdatesOnBoot?: Boolean; - /** - * This property cannot be updated. - */ - EbsOptimized?: Boolean; - /** - * The default AWS OpsWorks Stacks agent version. You have the following options: INHERIT - Use the stack's default agent version setting. version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, you must edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance. The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2. - */ - AgentVersion?: String; - } - export interface UpdateLayerRequest { - /** - * The layer ID. - */ - LayerId: String; - /** - * The layer name, which is used by the console. - */ - Name?: String; - /** - * For custom layers only, use this parameter to specify the layer's short name, which is used internally by AWS OpsWorks Stacks and by Chef. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters and must be in the following format: /\A[a-z0-9\-\_\.]+\Z/. The built-in layers' short names are defined by AWS OpsWorks Stacks. For more information, see the Layer Reference - */ - Shortname?: String; - /** - * One or more user-defined key/value pairs to be added to the stack attributes. - */ - Attributes?: LayerAttributes; - /** - * Specifies CloudWatch Logs configuration options for the layer. For more information, see CloudWatchLogsLogStream. - */ - CloudWatchLogsConfiguration?: CloudWatchLogsConfiguration; - /** - * The ARN of an IAM profile to be used for all of the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers. - */ - CustomInstanceProfileArn?: String; - /** - * A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on the layer's instances. For more information, see Using Custom JSON. - */ - CustomJson?: String; - /** - * An array containing the layer's custom security group IDs. - */ - CustomSecurityGroupIds?: Strings; - /** - * An array of Package objects that describe the layer's packages. - */ - Packages?: Strings; - /** - * A VolumeConfigurations object that describes the layer's Amazon EBS volumes. - */ - VolumeConfigurations?: VolumeConfigurations; - /** - * Whether to disable auto healing for the layer. - */ - EnableAutoHealing?: Boolean; - /** - * Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer. - */ - AutoAssignElasticIps?: Boolean; - /** - * For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer. - */ - AutoAssignPublicIps?: Boolean; - /** - * A LayerCustomRecipes object that specifies the layer's custom recipes. - */ - CustomRecipes?: Recipes; - /** - * Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates. - */ - InstallUpdatesOnBoot?: Boolean; - /** - * Whether to use Amazon EBS-optimized instances. - */ - UseEbsOptimizedInstances?: Boolean; - /** - * - */ - LifecycleEventConfiguration?: LifecycleEventConfiguration; - } - export interface UpdateMyUserProfileRequest { - /** - * The user's SSH public key. - */ - SshPublicKey?: String; - } - export interface UpdateRdsDbInstanceRequest { - /** - * The Amazon RDS instance's ARN. - */ - RdsDbInstanceArn: String; - /** - * The master user name. - */ - DbUser?: String; - /** - * The database password. - */ - DbPassword?: String; - } - export interface UpdateStackRequest { - /** - * The stack ID. - */ - StackId: String; - /** - * The stack's new name. - */ - Name?: String; - /** - * One or more user-defined key-value pairs to be added to the stack attributes. - */ - Attributes?: StackAttributes; - /** - * Do not use this parameter. You cannot update a stack's service role. - */ - ServiceRoleArn?: String; - /** - * The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers. - */ - DefaultInstanceProfileArn?: String; - /** - * The stack's operating system, which must be set to one of the following: A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03. A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS. CentOS Linux 7 Red Hat Enterprise Linux 7 A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web. A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs. The default option is the stack's current operating system. For more information on the supported operating systems, see AWS OpsWorks Stacks Operating Systems. - */ - DefaultOs?: String; - /** - * The stack's new host name theme, with spaces replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are: Baked_Goods Clouds Europe_Cities Fruits Greek_Deities Legendary_creatures_from_Japan Planets_and_Moons Roman_Deities Scottish_Islands US_Cities Wild_Cats To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme. - */ - HostnameTheme?: String; - /** - * The stack's default Availability Zone, which must be in the stack's region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see CreateStack. - */ - DefaultAvailabilityZone?: String; - /** - * The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description. - */ - DefaultSubnetId?: String; - /** - * A string that contains user-defined, custom JSON. It can be used to override the corresponding default stack configuration JSON values or to pass data to recipes. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes. - */ - CustomJson?: String; - /** - * The configuration manager. When you update a stack, we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 11.4. - */ - ConfigurationManager?: StackConfigurationManager; - /** - * A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack. - */ - ChefConfiguration?: ChefConfiguration; - /** - * Whether the stack uses custom cookbooks. - */ - UseCustomCookbooks?: Boolean; - CustomCookbooksSource?: Source; - /** - * A default Amazon EC2 key-pair name. The default value is none. If you specify a key-pair name, AWS OpsWorks Stacks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance. - */ - DefaultSshKeyName?: String; - /** - * The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device. - */ - DefaultRootDeviceType?: RootDeviceType; - /** - * Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers. AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. UseOpsworksSecurityGroups allows you to provide your own custom security groups instead of using the built-in groups. UseOpsworksSecurityGroups has the following settings: True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it, but you cannot delete the built-in security group. False - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate EC2 security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on. Custom security groups are required only for those layers that need custom settings. For more information, see Create a New Stack. - */ - UseOpsworksSecurityGroups?: Boolean; - /** - * The default AWS OpsWorks Stacks agent version. You have the following options: Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available. Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances. The default setting is LATEST. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2. You can also specify an agent version when you create or update an instance, which overrides the stack's default setting. - */ - AgentVersion?: String; - } - export interface UpdateUserProfileRequest { - /** - * The user IAM ARN. This can also be a federated user's ARN. - */ - IamUserArn: String; - /** - * The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name. - */ - SshUsername?: String; - /** - * The user's new SSH public key. - */ - SshPublicKey?: String; - /** - * Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions. - */ - AllowSelfManagement?: Boolean; - } - export interface UpdateVolumeRequest { - /** - * The volume ID. - */ - VolumeId: String; - /** - * The new name. - */ - Name?: String; - /** - * The new mount point. - */ - MountPoint?: String; - } - export interface UserProfile { - /** - * The user's IAM ARN. - */ - IamUserArn?: String; - /** - * The user's name. - */ - Name?: String; - /** - * The user's SSH user name. - */ - SshUsername?: String; - /** - * The user's SSH public key. - */ - SshPublicKey?: String; - /** - * Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions. - */ - AllowSelfManagement?: Boolean; - } - export type UserProfiles = UserProfile[]; - export type ValidForInMinutes = number; - export type VirtualizationType = "paravirtual"|"hvm"|string; - export interface Volume { - /** - * The volume ID. - */ - VolumeId?: String; - /** - * The Amazon EC2 volume ID. - */ - Ec2VolumeId?: String; - /** - * The volume name. - */ - Name?: String; - /** - * The RAID array ID. - */ - RaidArrayId?: String; - /** - * The instance ID. - */ - InstanceId?: String; - /** - * The value returned by DescribeVolumes. - */ - Status?: String; - /** - * The volume size. - */ - Size?: Integer; - /** - * The device name. - */ - Device?: String; - /** - * The volume mount point. For example, "/mnt/disk1". - */ - MountPoint?: String; - /** - * The AWS region. For more information about AWS regions, see Regions and Endpoints. - */ - Region?: String; - /** - * The volume Availability Zone. For more information, see Regions and Endpoints. - */ - AvailabilityZone?: String; - /** - * The volume type, standard or PIOPS. - */ - VolumeType?: String; - /** - * For PIOPS volumes, the IOPS per disk. - */ - Iops?: Integer; - } - export interface VolumeConfiguration { - /** - * The volume mount point. For example "/dev/sdh". - */ - MountPoint: String; - /** - * The volume RAID level. - */ - RaidLevel?: Integer; - /** - * The number of disks in the volume. - */ - NumberOfDisks: Integer; - /** - * The volume size. - */ - Size: Integer; - /** - * The volume type: standard - Magnetic io1 - Provisioned IOPS (SSD) gp2 - General Purpose (SSD) - */ - VolumeType?: String; - /** - * For PIOPS volumes, the IOPS per disk. - */ - Iops?: Integer; - } - export type VolumeConfigurations = VolumeConfiguration[]; - export type VolumeType = "gp2"|"io1"|"standard"|string; - export type Volumes = Volume[]; - export interface WeeklyAutoScalingSchedule { - /** - * The schedule for Monday. - */ - Monday?: DailyAutoScalingSchedule; - /** - * The schedule for Tuesday. - */ - Tuesday?: DailyAutoScalingSchedule; - /** - * The schedule for Wednesday. - */ - Wednesday?: DailyAutoScalingSchedule; - /** - * The schedule for Thursday. - */ - Thursday?: DailyAutoScalingSchedule; - /** - * The schedule for Friday. - */ - Friday?: DailyAutoScalingSchedule; - /** - * The schedule for Saturday. - */ - Saturday?: DailyAutoScalingSchedule; - /** - * The schedule for Sunday. - */ - Sunday?: DailyAutoScalingSchedule; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2013-02-18"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the OpsWorks client. - */ - export import Types = OpsWorks; -} -export = OpsWorks; diff --git a/src/node_modules/aws-sdk/clients/opsworks.js b/src/node_modules/aws-sdk/clients/opsworks.js deleted file mode 100644 index d3e235a..0000000 --- a/src/node_modules/aws-sdk/clients/opsworks.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['opsworks'] = {}; -AWS.OpsWorks = Service.defineService('opsworks', ['2013-02-18']); -Object.defineProperty(apiLoader.services['opsworks'], '2013-02-18', { - get: function get() { - var model = require('../apis/opsworks-2013-02-18.min.json'); - model.paginators = require('../apis/opsworks-2013-02-18.paginators.json').pagination; - model.waiters = require('../apis/opsworks-2013-02-18.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.OpsWorks; diff --git a/src/node_modules/aws-sdk/clients/opsworkscm.d.ts b/src/node_modules/aws-sdk/clients/opsworkscm.d.ts deleted file mode 100644 index f0655b9..0000000 --- a/src/node_modules/aws-sdk/clients/opsworkscm.d.ts +++ /dev/null @@ -1,735 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class OpsWorksCM extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: OpsWorksCM.Types.ClientConfiguration) - config: Config & OpsWorksCM.Types.ClientConfiguration; - /** - * Associates a new node with the Chef server. This command is an alternative to knife bootstrap. For more information about how to disassociate a node, see DisassociateNode. A node can can only be associated with servers that are in a HEALTHY state. Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. The AssociateNode API call can be integrated into Auto Scaling configurations, AWS Cloudformation templates, or the user data of a server's instance. Example: aws opsworks-cm associate-node --server-name MyServer --node-name MyManagedNode --engine-attributes "Name=MyOrganization,Value=default" "Name=Chef_node_public_key,Value=Public_key_contents" - */ - associateNode(params: OpsWorksCM.Types.AssociateNodeRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.AssociateNodeResponse) => void): Request; - /** - * Associates a new node with the Chef server. This command is an alternative to knife bootstrap. For more information about how to disassociate a node, see DisassociateNode. A node can can only be associated with servers that are in a HEALTHY state. Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. The AssociateNode API call can be integrated into Auto Scaling configurations, AWS Cloudformation templates, or the user data of a server's instance. Example: aws opsworks-cm associate-node --server-name MyServer --node-name MyManagedNode --engine-attributes "Name=MyOrganization,Value=default" "Name=Chef_node_public_key,Value=Public_key_contents" - */ - associateNode(callback?: (err: AWSError, data: OpsWorksCM.Types.AssociateNodeResponse) => void): Request; - /** - * Creates an application-level backup of a server. While the server is in the BACKING_UP state, the server cannot be changed, and no additional backup can be created. Backups can be created for servers in RUNNING, HEALTHY, and UNHEALTHY states. By default, you can create a maximum of 50 manual backups. This operation is asynchronous. A LimitExceededException is thrown when the maximum number of manual backups is reached. An InvalidStateException is thrown when the server is not in any of the following states: RUNNING, HEALTHY, or UNHEALTHY. A ResourceNotFoundException is thrown when the server is not found. A ValidationException is thrown when parameters of the request are not valid. - */ - createBackup(params: OpsWorksCM.Types.CreateBackupRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.CreateBackupResponse) => void): Request; - /** - * Creates an application-level backup of a server. While the server is in the BACKING_UP state, the server cannot be changed, and no additional backup can be created. Backups can be created for servers in RUNNING, HEALTHY, and UNHEALTHY states. By default, you can create a maximum of 50 manual backups. This operation is asynchronous. A LimitExceededException is thrown when the maximum number of manual backups is reached. An InvalidStateException is thrown when the server is not in any of the following states: RUNNING, HEALTHY, or UNHEALTHY. A ResourceNotFoundException is thrown when the server is not found. A ValidationException is thrown when parameters of the request are not valid. - */ - createBackup(callback?: (err: AWSError, data: OpsWorksCM.Types.CreateBackupResponse) => void): Request; - /** - * Creates and immedately starts a new server. The server is ready to use when it is in the HEALTHY state. By default, you can create a maximum of 10 servers. This operation is asynchronous. A LimitExceededException is thrown when you have created the maximum number of servers (10). A ResourceAlreadyExistsException is thrown when a server with the same name already exists in the account. A ResourceNotFoundException is thrown when you specify a backup ID that is not valid or is for a backup that does not exist. A ValidationException is thrown when parameters of the request are not valid. If you do not specify a security group by adding the SecurityGroupIds parameter, AWS OpsWorks creates a new security group. The default security group opens the Chef server to the world on TCP port 443. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22. By default, the Chef Server is accessible from any IP address. We recommend that you update your security group rules to allow access from known IP addresses and address ranges only. To edit security group rules, open Security Groups in the navigation pane of the EC2 management console. - */ - createServer(params: OpsWorksCM.Types.CreateServerRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.CreateServerResponse) => void): Request; - /** - * Creates and immedately starts a new server. The server is ready to use when it is in the HEALTHY state. By default, you can create a maximum of 10 servers. This operation is asynchronous. A LimitExceededException is thrown when you have created the maximum number of servers (10). A ResourceAlreadyExistsException is thrown when a server with the same name already exists in the account. A ResourceNotFoundException is thrown when you specify a backup ID that is not valid or is for a backup that does not exist. A ValidationException is thrown when parameters of the request are not valid. If you do not specify a security group by adding the SecurityGroupIds parameter, AWS OpsWorks creates a new security group. The default security group opens the Chef server to the world on TCP port 443. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22. By default, the Chef Server is accessible from any IP address. We recommend that you update your security group rules to allow access from known IP addresses and address ranges only. To edit security group rules, open Security Groups in the navigation pane of the EC2 management console. - */ - createServer(callback?: (err: AWSError, data: OpsWorksCM.Types.CreateServerResponse) => void): Request; - /** - * Deletes a backup. You can delete both manual and automated backups. This operation is asynchronous. An InvalidStateException is thrown when a backup deletion is already in progress. A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is thrown when parameters of the request are not valid. - */ - deleteBackup(params: OpsWorksCM.Types.DeleteBackupRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.DeleteBackupResponse) => void): Request; - /** - * Deletes a backup. You can delete both manual and automated backups. This operation is asynchronous. An InvalidStateException is thrown when a backup deletion is already in progress. A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is thrown when parameters of the request are not valid. - */ - deleteBackup(callback?: (err: AWSError, data: OpsWorksCM.Types.DeleteBackupResponse) => void): Request; - /** - * Deletes the server and the underlying AWS CloudFormation stack (including the server's EC2 instance). When you run this command, the server state is updated to DELETING. After the server is deleted, it is no longer returned by DescribeServer requests. If the AWS CloudFormation stack cannot be deleted, the server cannot be deleted. This operation is asynchronous. An InvalidStateException is thrown when a server deletion is already in progress. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - deleteServer(params: OpsWorksCM.Types.DeleteServerRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.DeleteServerResponse) => void): Request; - /** - * Deletes the server and the underlying AWS CloudFormation stack (including the server's EC2 instance). When you run this command, the server state is updated to DELETING. After the server is deleted, it is no longer returned by DescribeServer requests. If the AWS CloudFormation stack cannot be deleted, the server cannot be deleted. This operation is asynchronous. An InvalidStateException is thrown when a server deletion is already in progress. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - deleteServer(callback?: (err: AWSError, data: OpsWorksCM.Types.DeleteServerResponse) => void): Request; - /** - * Describes your account attributes, and creates requests to increase limits before they are reached or exceeded. This operation is synchronous. - */ - describeAccountAttributes(params: OpsWorksCM.Types.DescribeAccountAttributesRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.DescribeAccountAttributesResponse) => void): Request; - /** - * Describes your account attributes, and creates requests to increase limits before they are reached or exceeded. This operation is synchronous. - */ - describeAccountAttributes(callback?: (err: AWSError, data: OpsWorksCM.Types.DescribeAccountAttributesResponse) => void): Request; - /** - * Describes backups. The results are ordered by time, with newest backups first. If you do not specify a BackupId or ServerName, the command returns all backups. This operation is synchronous. A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - describeBackups(params: OpsWorksCM.Types.DescribeBackupsRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.DescribeBackupsResponse) => void): Request; - /** - * Describes backups. The results are ordered by time, with newest backups first. If you do not specify a BackupId or ServerName, the command returns all backups. This operation is synchronous. A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - describeBackups(callback?: (err: AWSError, data: OpsWorksCM.Types.DescribeBackupsResponse) => void): Request; - /** - * Describes events for a specified server. Results are ordered by time, with newest events first. This operation is synchronous. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - describeEvents(params: OpsWorksCM.Types.DescribeEventsRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.DescribeEventsResponse) => void): Request; - /** - * Describes events for a specified server. Results are ordered by time, with newest events first. This operation is synchronous. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - describeEvents(callback?: (err: AWSError, data: OpsWorksCM.Types.DescribeEventsResponse) => void): Request; - /** - * Returns the current status of an existing association or disassociation request. A ResourceNotFoundException is thrown when no recent association or disassociation request with the specified token is found, or when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - describeNodeAssociationStatus(params: OpsWorksCM.Types.DescribeNodeAssociationStatusRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.DescribeNodeAssociationStatusResponse) => void): Request; - /** - * Returns the current status of an existing association or disassociation request. A ResourceNotFoundException is thrown when no recent association or disassociation request with the specified token is found, or when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - describeNodeAssociationStatus(callback?: (err: AWSError, data: OpsWorksCM.Types.DescribeNodeAssociationStatusResponse) => void): Request; - /** - * Lists all configuration management servers that are identified with your account. Only the stored results from Amazon DynamoDB are returned. AWS OpsWorks for Chef Automate does not query other services. This operation is synchronous. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - describeServers(params: OpsWorksCM.Types.DescribeServersRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.DescribeServersResponse) => void): Request; - /** - * Lists all configuration management servers that are identified with your account. Only the stored results from Amazon DynamoDB are returned. AWS OpsWorks for Chef Automate does not query other services. This operation is synchronous. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - describeServers(callback?: (err: AWSError, data: OpsWorksCM.Types.DescribeServersResponse) => void): Request; - /** - * Disassociates a node from a Chef server, and removes the node from the Chef server's managed nodes. After a node is disassociated, the node key pair is no longer valid for accessing the Chef API. For more information about how to associate a node, see AssociateNode. A node can can only be disassociated from a server that is in a HEALTHY state. Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - disassociateNode(params: OpsWorksCM.Types.DisassociateNodeRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.DisassociateNodeResponse) => void): Request; - /** - * Disassociates a node from a Chef server, and removes the node from the Chef server's managed nodes. After a node is disassociated, the node key pair is no longer valid for accessing the Chef API. For more information about how to associate a node, see AssociateNode. A node can can only be disassociated from a server that is in a HEALTHY state. Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - disassociateNode(callback?: (err: AWSError, data: OpsWorksCM.Types.DisassociateNodeResponse) => void): Request; - /** - * Restores a backup to a server that is in a CONNECTION_LOST, HEALTHY, RUNNING, UNHEALTHY, or TERMINATED state. When you run RestoreServer, the server's EC2 instance is deleted, and a new EC2 instance is configured. RestoreServer maintains the existing server endpoint, so configuration management of the server's client devices (nodes) should continue to work. This operation is asynchronous. An InvalidStateException is thrown when the server is not in a valid state. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - restoreServer(params: OpsWorksCM.Types.RestoreServerRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.RestoreServerResponse) => void): Request; - /** - * Restores a backup to a server that is in a CONNECTION_LOST, HEALTHY, RUNNING, UNHEALTHY, or TERMINATED state. When you run RestoreServer, the server's EC2 instance is deleted, and a new EC2 instance is configured. RestoreServer maintains the existing server endpoint, so configuration management of the server's client devices (nodes) should continue to work. This operation is asynchronous. An InvalidStateException is thrown when the server is not in a valid state. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - restoreServer(callback?: (err: AWSError, data: OpsWorksCM.Types.RestoreServerResponse) => void): Request; - /** - * Manually starts server maintenance. This command can be useful if an earlier maintenance attempt failed, and the underlying cause of maintenance failure has been resolved. The server is in an UNDER_MAINTENANCE state while maintenance is in progress. Maintenance can only be started on servers in HEALTHY and UNHEALTHY states. Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - startMaintenance(params: OpsWorksCM.Types.StartMaintenanceRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.StartMaintenanceResponse) => void): Request; - /** - * Manually starts server maintenance. This command can be useful if an earlier maintenance attempt failed, and the underlying cause of maintenance failure has been resolved. The server is in an UNDER_MAINTENANCE state while maintenance is in progress. Maintenance can only be started on servers in HEALTHY and UNHEALTHY states. Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - startMaintenance(callback?: (err: AWSError, data: OpsWorksCM.Types.StartMaintenanceResponse) => void): Request; - /** - * Updates settings for a server. This operation is synchronous. - */ - updateServer(params: OpsWorksCM.Types.UpdateServerRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.UpdateServerResponse) => void): Request; - /** - * Updates settings for a server. This operation is synchronous. - */ - updateServer(callback?: (err: AWSError, data: OpsWorksCM.Types.UpdateServerResponse) => void): Request; - /** - * Updates engine-specific attributes on a specified server. The server enters the MODIFYING state when this operation is in progress. Only one update can occur at a time. You can use this command to reset the Chef server's private key (CHEF_PIVOTAL_KEY). This operation is asynchronous. This operation can only be called for servers in HEALTHY or UNHEALTHY states. Otherwise, an InvalidStateException is raised. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - updateServerEngineAttributes(params: OpsWorksCM.Types.UpdateServerEngineAttributesRequest, callback?: (err: AWSError, data: OpsWorksCM.Types.UpdateServerEngineAttributesResponse) => void): Request; - /** - * Updates engine-specific attributes on a specified server. The server enters the MODIFYING state when this operation is in progress. Only one update can occur at a time. You can use this command to reset the Chef server's private key (CHEF_PIVOTAL_KEY). This operation is asynchronous. This operation can only be called for servers in HEALTHY or UNHEALTHY states. Otherwise, an InvalidStateException is raised. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. - */ - updateServerEngineAttributes(callback?: (err: AWSError, data: OpsWorksCM.Types.UpdateServerEngineAttributesResponse) => void): Request; -} -declare namespace OpsWorksCM { - export interface AccountAttribute { - /** - * The attribute name. The following are supported attribute names. ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers. ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved. - */ - Name?: String; - /** - * The maximum allowed value. - */ - Maximum?: Integer; - /** - * The current usage, such as the current number of servers that are associated with the account. - */ - Used?: Integer; - } - export type AccountAttributes = AccountAttribute[]; - export interface AssociateNodeRequest { - /** - * The name of the server with which to associate the node. - */ - ServerName: ServerName; - /** - * The name of the Chef client node. - */ - NodeName: NodeName; - /** - * Engine attributes used for associating the node. Attributes accepted in a AssociateNode request: CHEF_ORGANIZATION: The Chef organization with which the node is associated. By default only one organization named default can exist. CHEF_NODE_PUBLIC_KEY: A PEM-formatted public key. This key is required for the chef-client agent to access the Chef API. - */ - EngineAttributes: EngineAttributes; - } - export interface AssociateNodeResponse { - /** - * Contains a token which can be passed to the DescribeNodeAssociationStatus API call to get the status of the association request. - */ - NodeAssociationStatusToken?: NodeAssociationStatusToken; - } - export type AttributeName = string; - export type AttributeValue = string; - export interface Backup { - /** - * The ARN of the backup. - */ - BackupArn?: String; - /** - * The generated ID of the backup. Example: myServerName-yyyyMMddHHmmssSSS - */ - BackupId?: BackupId; - /** - * The backup type. Valid values are automated or manual. - */ - BackupType?: BackupType; - /** - * The time stamp when the backup was created in the database. Example: 2016-07-29T13:38:47.520Z - */ - CreatedAt?: Timestamp; - /** - * A user-provided description for a manual backup. This field is empty for automated backups. - */ - Description?: String; - /** - * The engine type that is obtained from the server when the backup is created. - */ - Engine?: String; - /** - * The engine model that is obtained from the server when the backup is created. - */ - EngineModel?: String; - /** - * The engine version that is obtained from the server when the backup is created. - */ - EngineVersion?: String; - /** - * The EC2 instance profile ARN that is obtained from the server when the backup is created. Because this value is stored, you are not required to provide the InstanceProfileArn again if you restore a backup. - */ - InstanceProfileArn?: String; - /** - * The instance type that is obtained from the server when the backup is created. - */ - InstanceType?: String; - /** - * The key pair that is obtained from the server when the backup is created. - */ - KeyPair?: String; - /** - * The preferred backup period that is obtained from the server when the backup is created. - */ - PreferredBackupWindow?: TimeWindowDefinition; - /** - * The preferred maintenance period that is obtained from the server when the backup is created. - */ - PreferredMaintenanceWindow?: TimeWindowDefinition; - /** - * This field is deprecated and is no longer used. - */ - S3DataSize?: Integer; - /** - * This field is deprecated and is no longer used. - */ - S3DataUrl?: String; - /** - * The Amazon S3 URL of the backup's log file. - */ - S3LogUrl?: String; - /** - * The security group IDs that are obtained from the server when the backup is created. - */ - SecurityGroupIds?: Strings; - /** - * The name of the server from which the backup was made. - */ - ServerName?: ServerName; - /** - * The service role ARN that is obtained from the server when the backup is created. - */ - ServiceRoleArn?: String; - /** - * The status of a backup while in progress. - */ - Status?: BackupStatus; - /** - * An informational message about backup status. - */ - StatusDescription?: String; - /** - * The subnet IDs that are obtained from the server when the backup is created. - */ - SubnetIds?: Strings; - /** - * The version of AWS OpsWorks for Chef Automate-specific tools that is obtained from the server when the backup is created. - */ - ToolsVersion?: String; - /** - * The IAM user ARN of the requester for manual backups. This field is empty for automated backups. - */ - UserArn?: String; - } - export type BackupId = string; - export type BackupRetentionCountDefinition = number; - export type BackupStatus = "IN_PROGRESS"|"OK"|"FAILED"|"DELETING"|string; - export type BackupType = "AUTOMATED"|"MANUAL"|string; - export type Backups = Backup[]; - export type Boolean = boolean; - export interface CreateBackupRequest { - /** - * The name of the server that you want to back up. - */ - ServerName: ServerName; - /** - * A user-defined description of the backup. - */ - Description?: String; - } - export interface CreateBackupResponse { - /** - * Backup created by request. - */ - Backup?: Backup; - } - export interface CreateServerRequest { - /** - * Associate a public IP address with a server that you are launching. Valid values are true or false. The default value is true. - */ - AssociatePublicIpAddress?: Boolean; - /** - * Enable or disable scheduled backups. Valid values are true or false. The default value is true. - */ - DisableAutomatedBackup?: Boolean; - /** - * The configuration management engine to use. Valid values include Chef. - */ - Engine?: String; - /** - * The engine model, or option. Valid values include Single. - */ - EngineModel?: String; - /** - * The major release version of the engine that you want to use. Values depend on the engine that you choose. - */ - EngineVersion?: String; - /** - * Optional engine attributes on a specified server. Attributes accepted in a createServer request: CHEF_PIVOTAL_KEY: A base64-encoded RSA private key that is not stored by AWS OpsWorks for Chef. This private key is required to access the Chef API. When no CHEF_PIVOTAL_KEY is set, one is generated and returned in the response. CHEF_DELIVERY_ADMIN_PASSWORD: The password for the administrative user in the Chef Automate GUI. The password length is a minimum of eight characters, and a maximum of 32. The password can contain letters, numbers, and special characters (!/@#$%^&+=_). The password must contain at least one lower case letter, one upper case letter, one number, and one special character. When no CHEF_DELIVERY_ADMIN_PASSWORD is set, one is generated and returned in the response. - */ - EngineAttributes?: EngineAttributes; - /** - * The number of automated backups that you want to keep. Whenever a new backup is created, AWS OpsWorks for Chef Automate deletes the oldest backups if this number is exceeded. The default value is 1. - */ - BackupRetentionCount?: BackupRetentionCountDefinition; - /** - * The name of the server. The server name must be unique within your AWS account, within each region. Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters. - */ - ServerName: ServerName; - /** - * The ARN of the instance profile that your Amazon EC2 instances use. Although the AWS OpsWorks console typically creates the instance profile for you, if you are using API commands instead, run the service-role-creation.yaml AWS CloudFormation template, located at https://s3.amazonaws.com/opsworks-cm-us-east-1-prod-default-assets/misc/opsworks-cm-roles.yaml. This template creates a CloudFormation stack that includes the instance profile you need. - */ - InstanceProfileArn: InstanceProfileArn; - /** - * The Amazon EC2 instance type to use. Valid values must be specified in the following format: ^([cm][34]|t2).* For example, m4.large. Valid values are t2.medium, m4.large, or m4.2xlarge. - */ - InstanceType: String; - /** - * The Amazon EC2 key pair to set for the instance. This parameter is optional; if desired, you may specify this parameter to connect to your instances by using SSH. - */ - KeyPair?: KeyPair; - /** - * The start time for a one-hour period each week during which AWS OpsWorks for Chef Automate performs maintenance on the instance. Valid values must be specified in the following format: DDD:HH:MM. The specified time is in coordinated universal time (UTC). The default value is a random one-hour period on Tuesday, Wednesday, or Friday. See TimeWindowDefinition for more information. Example: Mon:08:00, which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.) - */ - PreferredMaintenanceWindow?: TimeWindowDefinition; - /** - * The start time for a one-hour period during which AWS OpsWorks for Chef Automate backs up application-level data on your server if automated backups are enabled. Valid values must be specified in one of the following formats: HH:MM for daily backups DDD:HH:MM for weekly backups The specified time is in coordinated universal time (UTC). The default value is a random, daily start time. Example: 08:00, which represents a daily start time of 08:00 UTC. Example: Mon:08:00, which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.) - */ - PreferredBackupWindow?: TimeWindowDefinition; - /** - * A list of security group IDs to attach to the Amazon EC2 instance. If you add this parameter, the specified security groups must be within the VPC that is specified by SubnetIds. If you do not specify this parameter, AWS OpsWorks for Chef Automate creates one new security group that uses TCP ports 22 and 443, open to 0.0.0.0/0 (everyone). - */ - SecurityGroupIds?: Strings; - /** - * The service role that the AWS OpsWorks for Chef Automate service backend uses to work with your account. Although the AWS OpsWorks management console typically creates the service role for you, if you are using the AWS CLI or API commands, run the service-role-creation.yaml AWS CloudFormation template, located at https://s3.amazonaws.com/opsworks-stuff/latest/service-role-creation.yaml. This template creates a CloudFormation stack that includes the service role that you need. - */ - ServiceRoleArn: ServiceRoleArn; - /** - * The IDs of subnets in which to launch the server EC2 instance. Amazon EC2-Classic customers: This field is required. All servers must run within a VPC. The VPC must have "Auto Assign Public IP" enabled. EC2-VPC customers: This field is optional. If you do not specify subnet IDs, your EC2 instances are created in a default subnet that is selected by Amazon EC2. If you specify subnet IDs, the VPC must have "Auto Assign Public IP" enabled. For more information about supported Amazon EC2 platforms, see Supported Platforms. - */ - SubnetIds?: Strings; - /** - * If you specify this field, AWS OpsWorks for Chef Automate creates the server by using the backup represented by BackupId. - */ - BackupId?: BackupId; - } - export interface CreateServerResponse { - /** - * The server that is created by the request. - */ - Server?: Server; - } - export interface DeleteBackupRequest { - /** - * The ID of the backup to delete. Run the DescribeBackups command to get a list of backup IDs. Backup IDs are in the format ServerName-yyyyMMddHHmmssSSS. - */ - BackupId: BackupId; - } - export interface DeleteBackupResponse { - } - export interface DeleteServerRequest { - /** - * The ID of the server to delete. - */ - ServerName: ServerName; - } - export interface DeleteServerResponse { - } - export interface DescribeAccountAttributesRequest { - } - export interface DescribeAccountAttributesResponse { - /** - * The attributes that are currently set for the account. - */ - Attributes?: AccountAttributes; - } - export interface DescribeBackupsRequest { - /** - * Describes a single backup. - */ - BackupId?: BackupId; - /** - * Returns backups for the server with the specified ServerName. - */ - ServerName?: ServerName; - /** - * NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call DescribeBackups again, and assign the token from the previous results as the value of the nextToken parameter. If there are no more results, the response object's nextToken parameter value is null. Setting a nextToken value that was not returned in your previous results causes an InvalidNextTokenException to occur. - */ - NextToken?: NextToken; - /** - * To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results. - */ - MaxResults?: MaxResults; - } - export interface DescribeBackupsResponse { - /** - * Contains the response to a DescribeBackups request. - */ - Backups?: Backups; - /** - * NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call DescribeBackups again, and assign the token from the previous results as the value of the nextToken parameter. If there are no more results, the response object's nextToken parameter value is null. Setting a nextToken value that was not returned in your previous results causes an InvalidNextTokenException to occur. - */ - NextToken?: String; - } - export interface DescribeEventsRequest { - /** - * The name of the server for which you want to view events. - */ - ServerName: ServerName; - /** - * NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call DescribeEvents again, and assign the token from the previous results as the value of the nextToken parameter. If there are no more results, the response object's nextToken parameter value is null. Setting a nextToken value that was not returned in your previous results causes an InvalidNextTokenException to occur. - */ - NextToken?: NextToken; - /** - * To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results. - */ - MaxResults?: MaxResults; - } - export interface DescribeEventsResponse { - /** - * Contains the response to a DescribeEvents request. - */ - ServerEvents?: ServerEvents; - /** - * NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call DescribeEvents again, and assign the token from the previous results as the value of the nextToken parameter. If there are no more results, the response object's nextToken parameter value is null. Setting a nextToken value that was not returned in your previous results causes an InvalidNextTokenException to occur. - */ - NextToken?: String; - } - export interface DescribeNodeAssociationStatusRequest { - NodeAssociationStatusToken: NodeAssociationStatusToken; - /** - * The name of the server from which to disassociate the node. - */ - ServerName: ServerName; - } - export interface DescribeNodeAssociationStatusResponse { - /** - * The status of the association or disassociation request. Possible values: SUCCESS: The association or disassociation succeeded. FAILED: The association or disassociation failed. IN_PROGRESS: The association or disassociation is still in progress. - */ - NodeAssociationStatus?: NodeAssociationStatus; - } - export interface DescribeServersRequest { - /** - * Describes the server with the specified ServerName. - */ - ServerName?: ServerName; - /** - * NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call DescribeServers again, and assign the token from the previous results as the value of the nextToken parameter. If there are no more results, the response object's nextToken parameter value is null. Setting a nextToken value that was not returned in your previous results causes an InvalidNextTokenException to occur. - */ - NextToken?: NextToken; - /** - * To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results. - */ - MaxResults?: MaxResults; - } - export interface DescribeServersResponse { - /** - * Contains the response to a DescribeServers request. - */ - Servers?: Servers; - /** - * NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call DescribeServers again, and assign the token from the previous results as the value of the nextToken parameter. If there are no more results, the response object's nextToken parameter value is null. Setting a nextToken value that was not returned in your previous results causes an InvalidNextTokenException to occur. - */ - NextToken?: String; - } - export interface DisassociateNodeRequest { - /** - * The name of the server from which to disassociate the node. - */ - ServerName: ServerName; - /** - * The name of the Chef client node. - */ - NodeName: NodeName; - /** - * Engine attributes used for disassociating the node. Attributes accepted in a DisassociateNode request: CHEF_ORGANIZATION: The Chef organization with which the node was associated. By default only one organization named default can exist. - */ - EngineAttributes?: EngineAttributes; - } - export interface DisassociateNodeResponse { - /** - * Contains a token which can be passed to the DescribeNodeAssociationStatus API call to get the status of the disassociation request. - */ - NodeAssociationStatusToken?: NodeAssociationStatusToken; - } - export interface EngineAttribute { - /** - * The name of the engine attribute. - */ - Name?: EngineAttributeName; - /** - * The value of the engine attribute. - */ - Value?: EngineAttributeValue; - } - export type EngineAttributeName = string; - export type EngineAttributeValue = string; - export type EngineAttributes = EngineAttribute[]; - export type InstanceProfileArn = string; - export type Integer = number; - export type KeyPair = string; - export type MaintenanceStatus = "SUCCESS"|"FAILED"|string; - export type MaxResults = number; - export type NextToken = string; - export type NodeAssociationStatus = "SUCCESS"|"FAILED"|"IN_PROGRESS"|string; - export type NodeAssociationStatusToken = string; - export type NodeName = string; - export interface RestoreServerRequest { - /** - * The ID of the backup that you want to use to restore a server. - */ - BackupId: BackupId; - /** - * The name of the server that you want to restore. - */ - ServerName: ServerName; - /** - * The type of the instance to create. Valid values must be specified in the following format: ^([cm][34]|t2).* For example, m4.large. Valid values are t2.medium, m4.large, and m4.2xlarge. If you do not specify this parameter, RestoreServer uses the instance type from the specified backup. - */ - InstanceType?: String; - /** - * The name of the key pair to set on the new EC2 instance. This can be helpful if the administrator no longer has the SSH key. - */ - KeyPair?: KeyPair; - } - export interface RestoreServerResponse { - } - export interface Server { - /** - * Associate a public IP address with a server that you are launching. - */ - AssociatePublicIpAddress?: Boolean; - /** - * The number of automated backups to keep. - */ - BackupRetentionCount?: Integer; - /** - * The name of the server. - */ - ServerName?: String; - /** - * Time stamp of server creation. Example 2016-07-29T13:38:47.520Z - */ - CreatedAt?: Timestamp; - /** - * The ARN of the CloudFormation stack that was used to create the server. - */ - CloudFormationStackArn?: String; - /** - * Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount. - */ - DisableAutomatedBackup?: Boolean; - /** - * A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io - */ - Endpoint?: String; - /** - * The engine type of the server. The valid value in this release is Chef. - */ - Engine?: String; - /** - * The engine model of the server. The valid value in this release is Single. - */ - EngineModel?: String; - /** - * The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks for Chef Automate; they are returned only as part of the result of createServer(). Attributes returned in a createServer response: CHEF_PIVOTAL_KEY: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef Automate. This private key is required to access the Chef API. CHEF_STARTER_KIT: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents. From this directory, you can run Knife commands. - */ - EngineAttributes?: EngineAttributes; - /** - * The engine version of the server. Because Chef is the engine available in this release, the valid value for EngineVersion is 12. - */ - EngineVersion?: String; - /** - * The instance profile ARN of the server. - */ - InstanceProfileArn?: String; - /** - * The instance type for the server, as specified in the CloudFormation stack. This might not be the same instance type that is shown in the EC2 console. - */ - InstanceType?: String; - /** - * The key pair associated with the server. - */ - KeyPair?: String; - /** - * The status of the most recent server maintenance run. Shows SUCCESS or FAILED. - */ - MaintenanceStatus?: MaintenanceStatus; - /** - * The preferred maintenance period specified for the server. - */ - PreferredMaintenanceWindow?: TimeWindowDefinition; - /** - * The preferred backup period specified for the server. - */ - PreferredBackupWindow?: TimeWindowDefinition; - /** - * The security group IDs for the server, as specified in the CloudFormation stack. These might not be the same security groups that are shown in the EC2 console. - */ - SecurityGroupIds?: Strings; - /** - * The service role ARN used to create the server. - */ - ServiceRoleArn?: String; - /** - * The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state. - */ - Status?: ServerStatus; - /** - * Depending on the server status, this field has either a human-readable message (such as a create or backup error), or an escaped block of JSON (used for health check results). - */ - StatusReason?: String; - /** - * The subnet IDs specified in a CreateServer request. - */ - SubnetIds?: Strings; - /** - * The ARN of the server. - */ - ServerArn?: String; - } - export interface ServerEvent { - /** - * The time when the event occurred. - */ - CreatedAt?: Timestamp; - /** - * The name of the server on or for which the event occurred. - */ - ServerName?: String; - /** - * A human-readable informational or status message. - */ - Message?: String; - /** - * The Amazon S3 URL of the event's log file. - */ - LogUrl?: String; - } - export type ServerEvents = ServerEvent[]; - export type ServerName = string; - export type ServerStatus = "BACKING_UP"|"CONNECTION_LOST"|"CREATING"|"DELETING"|"MODIFYING"|"FAILED"|"HEALTHY"|"RUNNING"|"RESTORING"|"SETUP"|"UNDER_MAINTENANCE"|"UNHEALTHY"|"TERMINATED"|string; - export type Servers = Server[]; - export type ServiceRoleArn = string; - export interface StartMaintenanceRequest { - /** - * The name of the server on which to run maintenance. - */ - ServerName: ServerName; - } - export interface StartMaintenanceResponse { - /** - * Contains the response to a StartMaintenance request. - */ - Server?: Server; - } - export type String = string; - export type Strings = String[]; - export type TimeWindowDefinition = string; - export type Timestamp = Date; - export interface UpdateServerEngineAttributesRequest { - /** - * The name of the server to update. - */ - ServerName: ServerName; - /** - * The name of the engine attribute to update. - */ - AttributeName: AttributeName; - /** - * The value to set for the attribute. - */ - AttributeValue?: AttributeValue; - } - export interface UpdateServerEngineAttributesResponse { - /** - * Contains the response to an UpdateServerEngineAttributes request. - */ - Server?: Server; - } - export interface UpdateServerRequest { - /** - * Setting DisableAutomatedBackup to true disables automated or scheduled backups. Automated backups are enabled by default. - */ - DisableAutomatedBackup?: Boolean; - /** - * Sets the number of automated backups that you want to keep. - */ - BackupRetentionCount?: Integer; - /** - * The name of the server to update. - */ - ServerName: ServerName; - PreferredMaintenanceWindow?: TimeWindowDefinition; - PreferredBackupWindow?: TimeWindowDefinition; - } - export interface UpdateServerResponse { - /** - * Contains the response to a UpdateServer request. - */ - Server?: Server; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-11-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the OpsWorksCM client. - */ - export import Types = OpsWorksCM; -} -export = OpsWorksCM; diff --git a/src/node_modules/aws-sdk/clients/opsworkscm.js b/src/node_modules/aws-sdk/clients/opsworkscm.js deleted file mode 100644 index 03a2f0f..0000000 --- a/src/node_modules/aws-sdk/clients/opsworkscm.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['opsworkscm'] = {}; -AWS.OpsWorksCM = Service.defineService('opsworkscm', ['2016-11-01']); -Object.defineProperty(apiLoader.services['opsworkscm'], '2016-11-01', { - get: function get() { - var model = require('../apis/opsworkscm-2016-11-01.min.json'); - model.paginators = require('../apis/opsworkscm-2016-11-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.OpsWorksCM; diff --git a/src/node_modules/aws-sdk/clients/organizations.d.ts b/src/node_modules/aws-sdk/clients/organizations.d.ts deleted file mode 100644 index 040a2f3..0000000 --- a/src/node_modules/aws-sdk/clients/organizations.d.ts +++ /dev/null @@ -1,1286 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Organizations extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Organizations.Types.ClientConfiguration) - config: Config & Organizations.Types.ClientConfiguration; - /** - * Sends a response to the originator of a handshake agreeing to the action proposed by the handshake request. This operation can be called only by the following principals when they also have the relevant IAM permissions: Invitation to join or Approve all features request handshakes: only a principal from the member account. Enable all features final confirmation handshake: only a principal from the master account. For more information about invitations, see Inviting an AWS Account to Join Your Organization in the AWS Organizations User Guide. For more information about requests to enable all features in the organization, see Enabling All Features in Your Organization in the AWS Organizations User Guide. After you accept a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that it is deleted. - */ - acceptHandshake(params: Organizations.Types.AcceptHandshakeRequest, callback?: (err: AWSError, data: Organizations.Types.AcceptHandshakeResponse) => void): Request; - /** - * Sends a response to the originator of a handshake agreeing to the action proposed by the handshake request. This operation can be called only by the following principals when they also have the relevant IAM permissions: Invitation to join or Approve all features request handshakes: only a principal from the member account. Enable all features final confirmation handshake: only a principal from the master account. For more information about invitations, see Inviting an AWS Account to Join Your Organization in the AWS Organizations User Guide. For more information about requests to enable all features in the organization, see Enabling All Features in Your Organization in the AWS Organizations User Guide. After you accept a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that it is deleted. - */ - acceptHandshake(callback?: (err: AWSError, data: Organizations.Types.AcceptHandshakeResponse) => void): Request; - /** - * Attaches a policy to a root, an organizational unit, or an individual account. How the policy affects accounts depends on the type of policy: Service control policy (SCP) - An SCP specifies what permissions can be delegated to users in affected member accounts. The scope of influence for a policy depends on what you attach the policy to: If you attach an SCP to a root, it affects all accounts in the organization. If you attach an SCP to an OU, it affects all accounts in that OU and in any child OUs. If you attach the policy directly to an account, then it affects only that account. SCPs essentially are permission "filters". When you attach one SCP to a higher level root or OU, and you also attach a different SCP to a child OU or to an account, the child policy can further restrict only the permissions that pass through the parent filter and are available to the child. An SCP that is attached to a child cannot grant a permission that is not already granted by the parent. For example, imagine that the parent SCP allows permissions A, B, C, D, and E. The child SCP allows C, D, E, F, and G. The result is that the accounts affected by the child SCP are allowed to use only C, D, and E. They cannot use A or B because they were filtered out by the child OU. They also cannot use F and G because they were filtered out by the parent OU. They cannot be granted back by the child SCP; child SCPs can only filter the permissions they receive from the parent SCP. AWS Organizations attaches a default SCP named "FullAWSAccess to every root, OU, and account. This default SCP allows all services and actions, enabling any new child OU or account to inherit the permissions of the parent root or OU. If you detach the default policy, you must replace it with a policy that specifies the permissions that you want to allow in that OU or account. For more information about how Organizations policies permissions work, see Using Service Control Policies in the AWS Organizations User Guide. This operation can be called only from the organization's master account. - */ - attachPolicy(params: Organizations.Types.AttachPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Attaches a policy to a root, an organizational unit, or an individual account. How the policy affects accounts depends on the type of policy: Service control policy (SCP) - An SCP specifies what permissions can be delegated to users in affected member accounts. The scope of influence for a policy depends on what you attach the policy to: If you attach an SCP to a root, it affects all accounts in the organization. If you attach an SCP to an OU, it affects all accounts in that OU and in any child OUs. If you attach the policy directly to an account, then it affects only that account. SCPs essentially are permission "filters". When you attach one SCP to a higher level root or OU, and you also attach a different SCP to a child OU or to an account, the child policy can further restrict only the permissions that pass through the parent filter and are available to the child. An SCP that is attached to a child cannot grant a permission that is not already granted by the parent. For example, imagine that the parent SCP allows permissions A, B, C, D, and E. The child SCP allows C, D, E, F, and G. The result is that the accounts affected by the child SCP are allowed to use only C, D, and E. They cannot use A or B because they were filtered out by the child OU. They also cannot use F and G because they were filtered out by the parent OU. They cannot be granted back by the child SCP; child SCPs can only filter the permissions they receive from the parent SCP. AWS Organizations attaches a default SCP named "FullAWSAccess to every root, OU, and account. This default SCP allows all services and actions, enabling any new child OU or account to inherit the permissions of the parent root or OU. If you detach the default policy, you must replace it with a policy that specifies the permissions that you want to allow in that OU or account. For more information about how Organizations policies permissions work, see Using Service Control Policies in the AWS Organizations User Guide. This operation can be called only from the organization's master account. - */ - attachPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Cancels a handshake. Canceling a handshake sets the handshake state to CANCELED. This operation can be called only from the account that originated the handshake. The recipient of the handshake can't cancel it, but can use DeclineHandshake instead. After a handshake is canceled, the recipient can no longer respond to that handshake. After you cancel a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that it is deleted. - */ - cancelHandshake(params: Organizations.Types.CancelHandshakeRequest, callback?: (err: AWSError, data: Organizations.Types.CancelHandshakeResponse) => void): Request; - /** - * Cancels a handshake. Canceling a handshake sets the handshake state to CANCELED. This operation can be called only from the account that originated the handshake. The recipient of the handshake can't cancel it, but can use DeclineHandshake instead. After a handshake is canceled, the recipient can no longer respond to that handshake. After you cancel a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that it is deleted. - */ - cancelHandshake(callback?: (err: AWSError, data: Organizations.Types.CancelHandshakeResponse) => void): Request; - /** - * Creates an AWS account that is automatically a member of the organization whose credentials made the request. This is an asynchronous request that AWS performs in the background. If you want to check the status of the request later, you need the OperationId response element from this operation to provide as a parameter to the DescribeCreateAccountStatus operation. AWS Organizations preconfigures the new member account with a role (named OrganizationAccountAccessRole by default) that grants administrator permissions to the new account. Principals in the master account can assume the role. AWS Organizations clones the company name and address information for the new account from the organization's master account. For more information about creating accounts, see Creating an AWS Account in Your Organization in the AWS Organizations User Guide. You cannot remove accounts that are created with this operation from an organization. That also means that you cannot delete an organization that contains an account that is created with this operation. When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable this, then only the account root user can access billing information. For information about how to disable this for an account, see Granting Access to Your Billing Information and Tools. This operation can be called only from the organization's master account. - */ - createAccount(params: Organizations.Types.CreateAccountRequest, callback?: (err: AWSError, data: Organizations.Types.CreateAccountResponse) => void): Request; - /** - * Creates an AWS account that is automatically a member of the organization whose credentials made the request. This is an asynchronous request that AWS performs in the background. If you want to check the status of the request later, you need the OperationId response element from this operation to provide as a parameter to the DescribeCreateAccountStatus operation. AWS Organizations preconfigures the new member account with a role (named OrganizationAccountAccessRole by default) that grants administrator permissions to the new account. Principals in the master account can assume the role. AWS Organizations clones the company name and address information for the new account from the organization's master account. For more information about creating accounts, see Creating an AWS Account in Your Organization in the AWS Organizations User Guide. You cannot remove accounts that are created with this operation from an organization. That also means that you cannot delete an organization that contains an account that is created with this operation. When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable this, then only the account root user can access billing information. For information about how to disable this for an account, see Granting Access to Your Billing Information and Tools. This operation can be called only from the organization's master account. - */ - createAccount(callback?: (err: AWSError, data: Organizations.Types.CreateAccountResponse) => void): Request; - /** - * Creates an AWS organization. The account whose user is calling the CreateOrganization operation automatically becomes the master account of the new organization. This operation must be called using credentials from the account that is to become the new organization's master account. The principal must also have the relevant IAM permissions. By default (or if you set the FeatureSet parameter to ALL), the new organization is created with all features enabled and service control policies automatically enabled in the root. If you instead choose to create the organization supporting only the consolidated billing features by setting the FeatureSet parameter to CONSOLIDATED_BILLING", then no policy types are enabled by default and you cannot use organization policies. - */ - createOrganization(params: Organizations.Types.CreateOrganizationRequest, callback?: (err: AWSError, data: Organizations.Types.CreateOrganizationResponse) => void): Request; - /** - * Creates an AWS organization. The account whose user is calling the CreateOrganization operation automatically becomes the master account of the new organization. This operation must be called using credentials from the account that is to become the new organization's master account. The principal must also have the relevant IAM permissions. By default (or if you set the FeatureSet parameter to ALL), the new organization is created with all features enabled and service control policies automatically enabled in the root. If you instead choose to create the organization supporting only the consolidated billing features by setting the FeatureSet parameter to CONSOLIDATED_BILLING", then no policy types are enabled by default and you cannot use organization policies. - */ - createOrganization(callback?: (err: AWSError, data: Organizations.Types.CreateOrganizationResponse) => void): Request; - /** - * Creates an organizational unit (OU) within a root or parent OU. An OU is a container for accounts that enables you to organize your accounts to apply policies according to your business requirements. The number of levels deep that you can nest OUs is dependent upon the policy types enabled for that root. For service control policies, the limit is five. For more information about OUs, see Managing Organizational Units in the AWS Organizations User Guide. This operation can be called only from the organization's master account. - */ - createOrganizationalUnit(params: Organizations.Types.CreateOrganizationalUnitRequest, callback?: (err: AWSError, data: Organizations.Types.CreateOrganizationalUnitResponse) => void): Request; - /** - * Creates an organizational unit (OU) within a root or parent OU. An OU is a container for accounts that enables you to organize your accounts to apply policies according to your business requirements. The number of levels deep that you can nest OUs is dependent upon the policy types enabled for that root. For service control policies, the limit is five. For more information about OUs, see Managing Organizational Units in the AWS Organizations User Guide. This operation can be called only from the organization's master account. - */ - createOrganizationalUnit(callback?: (err: AWSError, data: Organizations.Types.CreateOrganizationalUnitResponse) => void): Request; - /** - * Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account. For more information about policies and their use, see Managing Organization Policies. This operation can be called only from the organization's master account. - */ - createPolicy(params: Organizations.Types.CreatePolicyRequest, callback?: (err: AWSError, data: Organizations.Types.CreatePolicyResponse) => void): Request; - /** - * Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account. For more information about policies and their use, see Managing Organization Policies. This operation can be called only from the organization's master account. - */ - createPolicy(callback?: (err: AWSError, data: Organizations.Types.CreatePolicyResponse) => void): Request; - /** - * Declines a handshake request. This sets the handshake state to DECLINED and effectively deactivates the request. This operation can be called only from the account that received the handshake. The originator of the handshake can use CancelHandshake instead. The originator can't reactivate a declined request, but can re-initiate the process with a new handshake request. After you decline a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that it is deleted. - */ - declineHandshake(params: Organizations.Types.DeclineHandshakeRequest, callback?: (err: AWSError, data: Organizations.Types.DeclineHandshakeResponse) => void): Request; - /** - * Declines a handshake request. This sets the handshake state to DECLINED and effectively deactivates the request. This operation can be called only from the account that received the handshake. The originator of the handshake can use CancelHandshake instead. The originator can't reactivate a declined request, but can re-initiate the process with a new handshake request. After you decline a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that it is deleted. - */ - declineHandshake(callback?: (err: AWSError, data: Organizations.Types.DeclineHandshakeResponse) => void): Request; - /** - * Deletes the organization. You can delete an organization only by using credentials from the master account. The organization must be empty of member accounts, OUs, and policies. If you create any accounts using Organizations operations or the Organizations console, you can't remove those accounts from the organization, which means that you can't delete the organization. - */ - deleteOrganization(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an organizational unit from a root or another OU. You must first remove all accounts and child OUs from the OU that you want to delete. This operation can be called only from the organization's master account. - */ - deleteOrganizationalUnit(params: Organizations.Types.DeleteOrganizationalUnitRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an organizational unit from a root or another OU. You must first remove all accounts and child OUs from the OU that you want to delete. This operation can be called only from the organization's master account. - */ - deleteOrganizationalUnit(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified policy from your organization. Before you perform this operation, you must first detach the policy from all OUs, roots, and accounts. This operation can be called only from the organization's master account. - */ - deletePolicy(params: Organizations.Types.DeletePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified policy from your organization. Before you perform this operation, you must first detach the policy from all OUs, roots, and accounts. This operation can be called only from the organization's master account. - */ - deletePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Retrieves Organizations-related information about the specified account. This operation can be called only from the organization's master account. - */ - describeAccount(params: Organizations.Types.DescribeAccountRequest, callback?: (err: AWSError, data: Organizations.Types.DescribeAccountResponse) => void): Request; - /** - * Retrieves Organizations-related information about the specified account. This operation can be called only from the organization's master account. - */ - describeAccount(callback?: (err: AWSError, data: Organizations.Types.DescribeAccountResponse) => void): Request; - /** - * Retrieves the current status of an asynchronous request to create an account. This operation can be called only from the organization's master account. - */ - describeCreateAccountStatus(params: Organizations.Types.DescribeCreateAccountStatusRequest, callback?: (err: AWSError, data: Organizations.Types.DescribeCreateAccountStatusResponse) => void): Request; - /** - * Retrieves the current status of an asynchronous request to create an account. This operation can be called only from the organization's master account. - */ - describeCreateAccountStatus(callback?: (err: AWSError, data: Organizations.Types.DescribeCreateAccountStatusResponse) => void): Request; - /** - * Retrieves information about a previously requested handshake. The handshake ID comes from the response to the original InviteAccountToOrganization operation that generated the handshake. You can access handshakes that are ACCEPTED, DECLINED, or CANCELED for only 30 days after they change to that state. They are then deleted and no longer accessible. This operation can be called from any account in the organization. - */ - describeHandshake(params: Organizations.Types.DescribeHandshakeRequest, callback?: (err: AWSError, data: Organizations.Types.DescribeHandshakeResponse) => void): Request; - /** - * Retrieves information about a previously requested handshake. The handshake ID comes from the response to the original InviteAccountToOrganization operation that generated the handshake. You can access handshakes that are ACCEPTED, DECLINED, or CANCELED for only 30 days after they change to that state. They are then deleted and no longer accessible. This operation can be called from any account in the organization. - */ - describeHandshake(callback?: (err: AWSError, data: Organizations.Types.DescribeHandshakeResponse) => void): Request; - /** - * Retrieves information about the organization that the user's account belongs to. This operation can be called from any account in the organization. - */ - describeOrganization(callback?: (err: AWSError, data: Organizations.Types.DescribeOrganizationResponse) => void): Request; - /** - * Retrieves information about an organizational unit (OU). This operation can be called only from the organization's master account. - */ - describeOrganizationalUnit(params: Organizations.Types.DescribeOrganizationalUnitRequest, callback?: (err: AWSError, data: Organizations.Types.DescribeOrganizationalUnitResponse) => void): Request; - /** - * Retrieves information about an organizational unit (OU). This operation can be called only from the organization's master account. - */ - describeOrganizationalUnit(callback?: (err: AWSError, data: Organizations.Types.DescribeOrganizationalUnitResponse) => void): Request; - /** - * Retrieves information about a policy. This operation can be called only from the organization's master account. - */ - describePolicy(params: Organizations.Types.DescribePolicyRequest, callback?: (err: AWSError, data: Organizations.Types.DescribePolicyResponse) => void): Request; - /** - * Retrieves information about a policy. This operation can be called only from the organization's master account. - */ - describePolicy(callback?: (err: AWSError, data: Organizations.Types.DescribePolicyResponse) => void): Request; - /** - * Detaches a policy from a target root, organizational unit, or account. If the policy being detached is a service control policy (SCP), the changes to permissions for IAM users and roles in affected accounts are immediate. Note: Every root, OU, and account must have at least one SCP attached. If you want to replace the default FullAWSAccess policy with one that limits the permissions that can be delegated, then you must attach the replacement policy before you can remove the default one. This is the authorization strategy of whitelisting. If you instead attach a second SCP and leave the FullAWSAccess SCP still attached, and specify "Effect": "Deny" in the second SCP to override the "Effect": "Allow" in the FullAWSAccess policy (or any other attached SCP), then you are using the authorization strategy of blacklisting. This operation can be called only from the organization's master account. - */ - detachPolicy(params: Organizations.Types.DetachPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Detaches a policy from a target root, organizational unit, or account. If the policy being detached is a service control policy (SCP), the changes to permissions for IAM users and roles in affected accounts are immediate. Note: Every root, OU, and account must have at least one SCP attached. If you want to replace the default FullAWSAccess policy with one that limits the permissions that can be delegated, then you must attach the replacement policy before you can remove the default one. This is the authorization strategy of whitelisting. If you instead attach a second SCP and leave the FullAWSAccess SCP still attached, and specify "Effect": "Deny" in the second SCP to override the "Effect": "Allow" in the FullAWSAccess policy (or any other attached SCP), then you are using the authorization strategy of blacklisting. This operation can be called only from the organization's master account. - */ - detachPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disables an organizational control policy type in a root. A poicy of a certain type can be attached to entities in a root only if that type is enabled in the root. After you perform this operation, you no longer can attach policies of the specified type to that root or to any OU or account in that root. You can undo this by using the EnablePolicyType operation. This operation can be called only from the organization's master account. - */ - disablePolicyType(params: Organizations.Types.DisablePolicyTypeRequest, callback?: (err: AWSError, data: Organizations.Types.DisablePolicyTypeResponse) => void): Request; - /** - * Disables an organizational control policy type in a root. A poicy of a certain type can be attached to entities in a root only if that type is enabled in the root. After you perform this operation, you no longer can attach policies of the specified type to that root or to any OU or account in that root. You can undo this by using the EnablePolicyType operation. This operation can be called only from the organization's master account. - */ - disablePolicyType(callback?: (err: AWSError, data: Organizations.Types.DisablePolicyTypeResponse) => void): Request; - /** - * Enables all features in an organization. This enables the use of organization policies that can restrict the services and actions that can be called in each account. Until you enable all features, you have access only to consolidated billing, and you can't use any of the advanced account administration features that AWS Organizations supports. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide. This operation is required only for organizations that were created explicitly with only the consolidated billing features enabled, or that were migrated from a Consolidated Billing account family to Organizations. Calling this operation sends a handshake to every invited account in the organization. The feature set change can be finalized and the additional features enabled only after all administrators in the invited accounts approve the change by accepting the handshake. After all invited member accounts accept the handshake, you finalize the feature set change by accepting the handshake that contains "Action": "ENABLE_ALL_FEATURES". This completes the change. After you enable all features in your organization, the master account in the organization can apply policies on all member accounts. These policies can restrict what users and even administrators in those accounts can do. The master account can apply policies that prevent accounts from leaving the organization. Ensure that your account administrators are aware of this. This operation can be called only from the organization's master account. - */ - enableAllFeatures(params: Organizations.Types.EnableAllFeaturesRequest, callback?: (err: AWSError, data: Organizations.Types.EnableAllFeaturesResponse) => void): Request; - /** - * Enables all features in an organization. This enables the use of organization policies that can restrict the services and actions that can be called in each account. Until you enable all features, you have access only to consolidated billing, and you can't use any of the advanced account administration features that AWS Organizations supports. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide. This operation is required only for organizations that were created explicitly with only the consolidated billing features enabled, or that were migrated from a Consolidated Billing account family to Organizations. Calling this operation sends a handshake to every invited account in the organization. The feature set change can be finalized and the additional features enabled only after all administrators in the invited accounts approve the change by accepting the handshake. After all invited member accounts accept the handshake, you finalize the feature set change by accepting the handshake that contains "Action": "ENABLE_ALL_FEATURES". This completes the change. After you enable all features in your organization, the master account in the organization can apply policies on all member accounts. These policies can restrict what users and even administrators in those accounts can do. The master account can apply policies that prevent accounts from leaving the organization. Ensure that your account administrators are aware of this. This operation can be called only from the organization's master account. - */ - enableAllFeatures(callback?: (err: AWSError, data: Organizations.Types.EnableAllFeaturesResponse) => void): Request; - /** - * Enables a policy type in a root. After you enable a policy type in a root, you can attach policies of that type to the root, any OU, or account in that root. You can undo this by using the DisablePolicyType operation. This operation can be called only from the organization's master account. - */ - enablePolicyType(params: Organizations.Types.EnablePolicyTypeRequest, callback?: (err: AWSError, data: Organizations.Types.EnablePolicyTypeResponse) => void): Request; - /** - * Enables a policy type in a root. After you enable a policy type in a root, you can attach policies of that type to the root, any OU, or account in that root. You can undo this by using the DisablePolicyType operation. This operation can be called only from the organization's master account. - */ - enablePolicyType(callback?: (err: AWSError, data: Organizations.Types.EnablePolicyTypeResponse) => void): Request; - /** - * Sends an invitation to another account to join your organization as a member account. Organizations sends email on your behalf to the email address that is associated with the other account's owner. The invitation is implemented as a Handshake whose details are in the response. You can invite AWS accounts only from the same reseller as the master account. For example, if your organization's master account was created by Amazon Internet Services Pvt. Ltd (AISPL), an AWS reseller in India, then you can only invite other AISPL accounts to your organization. You can't combine accounts from AISPL and AWS. For more information, see Consolidated Billing in India. This operation can be called only from the organization's master account. - */ - inviteAccountToOrganization(params: Organizations.Types.InviteAccountToOrganizationRequest, callback?: (err: AWSError, data: Organizations.Types.InviteAccountToOrganizationResponse) => void): Request; - /** - * Sends an invitation to another account to join your organization as a member account. Organizations sends email on your behalf to the email address that is associated with the other account's owner. The invitation is implemented as a Handshake whose details are in the response. You can invite AWS accounts only from the same reseller as the master account. For example, if your organization's master account was created by Amazon Internet Services Pvt. Ltd (AISPL), an AWS reseller in India, then you can only invite other AISPL accounts to your organization. You can't combine accounts from AISPL and AWS. For more information, see Consolidated Billing in India. This operation can be called only from the organization's master account. - */ - inviteAccountToOrganization(callback?: (err: AWSError, data: Organizations.Types.InviteAccountToOrganizationResponse) => void): Request; - /** - * Removes a member account from its parent organization. This version of the operation is performed by the account that wants to leave. To remove a member account as a user in the master account, use RemoveAccountFromOrganization instead. This operation can be called only from a member account in the organization. The master account in an organization with all features enabled can set service control policies (SCPs) that can restrict what administrators of member accounts can do, including preventing them from successfully calling LeaveOrganization and leaving the organization. If you created the account using the AWS Organizations console, the Organizations API, or the Organizations CLI commands, then you cannot remove the account. You can leave an organization only after you enable IAM user access to billing in your account. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide. - */ - leaveOrganization(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Lists all the accounts in the organization. To request only the accounts in a root or OU, use the ListAccountsForParent operation instead. This operation can be called only from the organization's master account. - */ - listAccounts(params: Organizations.Types.ListAccountsRequest, callback?: (err: AWSError, data: Organizations.Types.ListAccountsResponse) => void): Request; - /** - * Lists all the accounts in the organization. To request only the accounts in a root or OU, use the ListAccountsForParent operation instead. This operation can be called only from the organization's master account. - */ - listAccounts(callback?: (err: AWSError, data: Organizations.Types.ListAccountsResponse) => void): Request; - /** - * Lists the accounts in an organization that are contained by the specified target root or organizational unit (OU). If you specify the root, you get a list of all the accounts that are not in any OU. If you specify an OU, you get a list of all the accounts in only that OU, and not in any child OUs. To get a list of all accounts in the organization, use the ListAccounts operation. - */ - listAccountsForParent(params: Organizations.Types.ListAccountsForParentRequest, callback?: (err: AWSError, data: Organizations.Types.ListAccountsForParentResponse) => void): Request; - /** - * Lists the accounts in an organization that are contained by the specified target root or organizational unit (OU). If you specify the root, you get a list of all the accounts that are not in any OU. If you specify an OU, you get a list of all the accounts in only that OU, and not in any child OUs. To get a list of all accounts in the organization, use the ListAccounts operation. - */ - listAccountsForParent(callback?: (err: AWSError, data: Organizations.Types.ListAccountsForParentResponse) => void): Request; - /** - * Lists all of the OUs or accounts that are contained in the specified parent OU or root. This operation, along with ListParents enables you to traverse the tree structure that makes up this root. - */ - listChildren(params: Organizations.Types.ListChildrenRequest, callback?: (err: AWSError, data: Organizations.Types.ListChildrenResponse) => void): Request; - /** - * Lists all of the OUs or accounts that are contained in the specified parent OU or root. This operation, along with ListParents enables you to traverse the tree structure that makes up this root. - */ - listChildren(callback?: (err: AWSError, data: Organizations.Types.ListChildrenResponse) => void): Request; - /** - * Lists the account creation requests that match the specified status that is currently being tracked for the organization. This operation can be called only from the organization's master account. - */ - listCreateAccountStatus(params: Organizations.Types.ListCreateAccountStatusRequest, callback?: (err: AWSError, data: Organizations.Types.ListCreateAccountStatusResponse) => void): Request; - /** - * Lists the account creation requests that match the specified status that is currently being tracked for the organization. This operation can be called only from the organization's master account. - */ - listCreateAccountStatus(callback?: (err: AWSError, data: Organizations.Types.ListCreateAccountStatusResponse) => void): Request; - /** - * Lists the current handshakes that are associated with the account of the requesting user. Handshakes that are ACCEPTED, DECLINED, or CANCELED appear in the results of this API for only 30 days after changing to that state. After that they are deleted and no longer accessible. This operation can be called from any account in the organization. - */ - listHandshakesForAccount(params: Organizations.Types.ListHandshakesForAccountRequest, callback?: (err: AWSError, data: Organizations.Types.ListHandshakesForAccountResponse) => void): Request; - /** - * Lists the current handshakes that are associated with the account of the requesting user. Handshakes that are ACCEPTED, DECLINED, or CANCELED appear in the results of this API for only 30 days after changing to that state. After that they are deleted and no longer accessible. This operation can be called from any account in the organization. - */ - listHandshakesForAccount(callback?: (err: AWSError, data: Organizations.Types.ListHandshakesForAccountResponse) => void): Request; - /** - * Lists the handshakes that are associated with the organization that the requesting user is part of. The ListHandshakesForOrganization operation returns a list of handshake structures. Each structure contains details and status about a handshake. Handshakes that are ACCEPTED, DECLINED, or CANCELED appear in the results of this API for only 30 days after changing to that state. After that they are deleted and no longer accessible. This operation can be called only from the organization's master account. - */ - listHandshakesForOrganization(params: Organizations.Types.ListHandshakesForOrganizationRequest, callback?: (err: AWSError, data: Organizations.Types.ListHandshakesForOrganizationResponse) => void): Request; - /** - * Lists the handshakes that are associated with the organization that the requesting user is part of. The ListHandshakesForOrganization operation returns a list of handshake structures. Each structure contains details and status about a handshake. Handshakes that are ACCEPTED, DECLINED, or CANCELED appear in the results of this API for only 30 days after changing to that state. After that they are deleted and no longer accessible. This operation can be called only from the organization's master account. - */ - listHandshakesForOrganization(callback?: (err: AWSError, data: Organizations.Types.ListHandshakesForOrganizationResponse) => void): Request; - /** - * Lists the organizational units (OUs) in a parent organizational unit or root. This operation can be called only from the organization's master account. - */ - listOrganizationalUnitsForParent(params: Organizations.Types.ListOrganizationalUnitsForParentRequest, callback?: (err: AWSError, data: Organizations.Types.ListOrganizationalUnitsForParentResponse) => void): Request; - /** - * Lists the organizational units (OUs) in a parent organizational unit or root. This operation can be called only from the organization's master account. - */ - listOrganizationalUnitsForParent(callback?: (err: AWSError, data: Organizations.Types.ListOrganizationalUnitsForParentResponse) => void): Request; - /** - * Lists the root or organizational units (OUs) that serve as the immediate parent of the specified child OU or account. This operation, along with ListChildren enables you to traverse the tree structure that makes up this root. This operation can be called only from the organization's master account. In the current release, a child can have only a single parent. - */ - listParents(params: Organizations.Types.ListParentsRequest, callback?: (err: AWSError, data: Organizations.Types.ListParentsResponse) => void): Request; - /** - * Lists the root or organizational units (OUs) that serve as the immediate parent of the specified child OU or account. This operation, along with ListChildren enables you to traverse the tree structure that makes up this root. This operation can be called only from the organization's master account. In the current release, a child can have only a single parent. - */ - listParents(callback?: (err: AWSError, data: Organizations.Types.ListParentsResponse) => void): Request; - /** - * Retrieves the list of all policies in an organization of a specified type. This operation can be called only from the organization's master account. - */ - listPolicies(params: Organizations.Types.ListPoliciesRequest, callback?: (err: AWSError, data: Organizations.Types.ListPoliciesResponse) => void): Request; - /** - * Retrieves the list of all policies in an organization of a specified type. This operation can be called only from the organization's master account. - */ - listPolicies(callback?: (err: AWSError, data: Organizations.Types.ListPoliciesResponse) => void): Request; - /** - * Lists the policies that are directly attached to the specified target root, organizational unit (OU), or account. You must specify the policy type that you want included in the returned list. This operation can be called only from the organization's master account. - */ - listPoliciesForTarget(params: Organizations.Types.ListPoliciesForTargetRequest, callback?: (err: AWSError, data: Organizations.Types.ListPoliciesForTargetResponse) => void): Request; - /** - * Lists the policies that are directly attached to the specified target root, organizational unit (OU), or account. You must specify the policy type that you want included in the returned list. This operation can be called only from the organization's master account. - */ - listPoliciesForTarget(callback?: (err: AWSError, data: Organizations.Types.ListPoliciesForTargetResponse) => void): Request; - /** - * Lists the roots that are defined in the current organization. This operation can be called only from the organization's master account. - */ - listRoots(params: Organizations.Types.ListRootsRequest, callback?: (err: AWSError, data: Organizations.Types.ListRootsResponse) => void): Request; - /** - * Lists the roots that are defined in the current organization. This operation can be called only from the organization's master account. - */ - listRoots(callback?: (err: AWSError, data: Organizations.Types.ListRootsResponse) => void): Request; - /** - * Lists all the roots, OUs, and accounts to which the specified policy is attached. This operation can be called only from the organization's master account. - */ - listTargetsForPolicy(params: Organizations.Types.ListTargetsForPolicyRequest, callback?: (err: AWSError, data: Organizations.Types.ListTargetsForPolicyResponse) => void): Request; - /** - * Lists all the roots, OUs, and accounts to which the specified policy is attached. This operation can be called only from the organization's master account. - */ - listTargetsForPolicy(callback?: (err: AWSError, data: Organizations.Types.ListTargetsForPolicyResponse) => void): Request; - /** - * Moves an account from its current source parent root or OU to the specified destination parent root or OU. This operation can be called only from the organization's master account. - */ - moveAccount(params: Organizations.Types.MoveAccountRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Moves an account from its current source parent root or OU to the specified destination parent root or OU. This operation can be called only from the organization's master account. - */ - moveAccount(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified account from the organization. The removed account becomes a stand-alone account that is not a member of any organization. It is no longer subject to any policies and is responsible for its own bill payments. The organization's master account is no longer charged for any expenses accrued by the member account after it is removed from the organization. This operation can be called only from the organization's master account. Member accounts can remove themselves with LeaveOrganization instead. You can remove only accounts that were created outside your organization and invited to join. If you created the account using the AWS Organizations console, the Organizations API, or the Organizations CLI commands, then you cannot remove the account. You can remove a member account only after you enable IAM user access to billing in the member account. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide. - */ - removeAccountFromOrganization(params: Organizations.Types.RemoveAccountFromOrganizationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the specified account from the organization. The removed account becomes a stand-alone account that is not a member of any organization. It is no longer subject to any policies and is responsible for its own bill payments. The organization's master account is no longer charged for any expenses accrued by the member account after it is removed from the organization. This operation can be called only from the organization's master account. Member accounts can remove themselves with LeaveOrganization instead. You can remove only accounts that were created outside your organization and invited to join. If you created the account using the AWS Organizations console, the Organizations API, or the Organizations CLI commands, then you cannot remove the account. You can remove a member account only after you enable IAM user access to billing in the member account. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide. - */ - removeAccountFromOrganization(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Renames the specified organizational unit (OU). The ID and ARN do not change. The child OUs and accounts remain in place, and any attached policies of the OU remain attached. This operation can be called only from the organization's master account. - */ - updateOrganizationalUnit(params: Organizations.Types.UpdateOrganizationalUnitRequest, callback?: (err: AWSError, data: Organizations.Types.UpdateOrganizationalUnitResponse) => void): Request; - /** - * Renames the specified organizational unit (OU). The ID and ARN do not change. The child OUs and accounts remain in place, and any attached policies of the OU remain attached. This operation can be called only from the organization's master account. - */ - updateOrganizationalUnit(callback?: (err: AWSError, data: Organizations.Types.UpdateOrganizationalUnitResponse) => void): Request; - /** - * Updates an existing policy with a new name, description, or content. If any parameter is not supplied, that value remains unchanged. Note that you cannot change a policy's type. This operation can be called only from the organization's master account. - */ - updatePolicy(params: Organizations.Types.UpdatePolicyRequest, callback?: (err: AWSError, data: Organizations.Types.UpdatePolicyResponse) => void): Request; - /** - * Updates an existing policy with a new name, description, or content. If any parameter is not supplied, that value remains unchanged. Note that you cannot change a policy's type. This operation can be called only from the organization's master account. - */ - updatePolicy(callback?: (err: AWSError, data: Organizations.Types.UpdatePolicyResponse) => void): Request; -} -declare namespace Organizations { - export interface AcceptHandshakeRequest { - /** - * The unique identifier (ID) of the handshake that you want to accept. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits. - */ - HandshakeId: HandshakeId; - } - export interface AcceptHandshakeResponse { - /** - * A structure that contains details about the accepted handshake. - */ - Handshake?: Handshake; - } - export interface Account { - /** - * The unique identifier (ID) of the account. The regex pattern for an account ID string requires exactly 12 digits. - */ - Id?: AccountId; - /** - * The Amazon Resource Name (ARN) of the account. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide. - */ - Arn?: AccountArn; - /** - * The email address associated with the AWS account. The regex pattern for this parameter is a string of characters that represents a standard Internet email address. - */ - Email?: Email; - /** - * The friendly name of the account. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range. - */ - Name?: AccountName; - /** - * The status of the account in the organization. - */ - Status?: AccountStatus; - /** - * The method by which the account joined the organization. - */ - JoinedMethod?: AccountJoinedMethod; - /** - * The date the account became a part of the organization. - */ - JoinedTimestamp?: Timestamp; - } - export type AccountArn = string; - export type AccountId = string; - export type AccountJoinedMethod = "INVITED"|"CREATED"|string; - export type AccountName = string; - export type AccountStatus = "ACTIVE"|"SUSPENDED"|string; - export type Accounts = Account[]; - export type ActionType = "INVITE"|"ENABLE_ALL_FEATURES"|"APPROVE_ALL_FEATURES"|string; - export interface AttachPolicyRequest { - /** - * The unique identifier (ID) of the policy that you want to attach to the target. You can get the ID for the policy by calling the ListPolicies operation. The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits. - */ - PolicyId: PolicyId; - /** - * The unique identifier (ID) of the root, OU, or account that you want to attach the policy to. You can get the ID by calling the ListRoots, ListOrganizationalUnitsForParent, or ListAccounts operations. The regex pattern for a target ID string requires one of the following: Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits. Account: a string that consists of exactly 12 digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - TargetId: PolicyTargetId; - } - export type AwsManagedPolicy = boolean; - export interface CancelHandshakeRequest { - /** - * The unique identifier (ID) of the handshake that you want to cancel. You can get the ID from the ListHandshakesForOrganization operation. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits. - */ - HandshakeId: HandshakeId; - } - export interface CancelHandshakeResponse { - /** - * A structure that contains details about the handshake that you canceled. - */ - Handshake?: Handshake; - } - export interface Child { - /** - * The unique identifier (ID) of this child entity. The regex pattern for a child ID string requires one of the following: Account: a string that consists of exactly 12 digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that contains the OU) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - Id?: ChildId; - /** - * The type of this child entity. - */ - Type?: ChildType; - } - export type ChildId = string; - export type ChildType = "ACCOUNT"|"ORGANIZATIONAL_UNIT"|string; - export type Children = Child[]; - export type ConstraintViolationExceptionReason = "ACCOUNT_NUMBER_LIMIT_EXCEEDED"|"HANDSHAKE_RATE_LIMIT_EXCEEDED"|"OU_NUMBER_LIMIT_EXCEEDED"|"OU_DEPTH_LIMIT_EXCEEDED"|"POLICY_NUMBER_LIMIT_EXCEEDED"|"MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED"|"MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED"|"ACCOUNT_CANNOT_LEAVE_ORGANIZATION"|"ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA"|"ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION"|"MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED"|"MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED"|"ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED"|"MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE"|string; - export type CreateAccountFailureReason = "ACCOUNT_LIMIT_EXCEEDED"|"EMAIL_ALREADY_EXISTS"|"INVALID_ADDRESS"|"INVALID_EMAIL"|"INTERNAL_FAILURE"|string; - export interface CreateAccountRequest { - /** - * The email address of the owner to assign to the new member account. This email address must not already be associated with another AWS account. - */ - Email: Email; - /** - * The friendly name of the member account. - */ - AccountName: AccountName; - /** - * (Optional) The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the master account, allowing users in the master account to assume the role, as permitted by the master account administrator. The role has administrator permissions in the new member account. If you do not specify this parameter, the role name defaults to OrganizationAccountAccessRole. For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide, and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide. The regex pattern that is used to validate this parameter is a string of characters that can consist of uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.@- - */ - RoleName?: RoleName; - /** - * If set to ALLOW, the new account enables IAM users to access account billing information if they have the required permissions. If set to DENY, then only the root user of the new account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide. If you do not specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account. - */ - IamUserAccessToBilling?: IAMUserAccessToBilling; - } - export type CreateAccountRequestId = string; - export interface CreateAccountResponse { - /** - * A structure that contains details about the request to create an account. This response structure might not be fully populated when you first receive it because account creation is an asynchronous process. You can pass the returned CreateAccountStatus ID as a parameter to DescribeCreateAccountStatus to get status about the progress of the request at later times. - */ - CreateAccountStatus?: CreateAccountStatus; - } - export type CreateAccountState = "IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string; - export type CreateAccountStates = CreateAccountState[]; - export interface CreateAccountStatus { - /** - * The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account. The regex pattern for an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits. - */ - Id?: CreateAccountRequestId; - /** - * The account name given to the account when it was created. - */ - AccountName?: AccountName; - /** - * The status of the request. - */ - State?: CreateAccountState; - /** - * The date and time that the request was made for the account creation. - */ - RequestedTimestamp?: Timestamp; - /** - * The date and time that the account was created and the request completed. - */ - CompletedTimestamp?: Timestamp; - /** - * If the account was created successfully, the unique identifier (ID) of the new account. The regex pattern for an account ID string requires exactly 12 digits. - */ - AccountId?: AccountId; - /** - * If the request failed, a description of the reason for the failure. ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization. EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists. INVALID_ADDRESS: The account could not be created because the address you provided is not valid. INVALID_EMAIL: The account could not be created because the email address you provided is not valid. INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support. - */ - FailureReason?: CreateAccountFailureReason; - } - export type CreateAccountStatuses = CreateAccountStatus[]; - export interface CreateOrganizationRequest { - /** - * Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality. CONSOLIDATED_BILLING: All member accounts have their bills consolidated to and paid by the master account. For more information, see Consolidated Billing in the AWS Organizations User Guide. ALL: In addition to all the features supported by the consolidated billing feature set, the master account can also apply any type of policy to any member account in the organization. For more information, see All features in the AWS Organizations User Guide. - */ - FeatureSet?: OrganizationFeatureSet; - } - export interface CreateOrganizationResponse { - /** - * A structure that contains details about the newly created organization. - */ - Organization?: Organization; - } - export interface CreateOrganizationalUnitRequest { - /** - * The unique identifier (ID) of the parent root or OU in which you want to create the new OU. The regex pattern for a parent ID string requires one of the following: Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - ParentId: ParentId; - /** - * The friendly name to assign to the new OU. - */ - Name: OrganizationalUnitName; - } - export interface CreateOrganizationalUnitResponse { - /** - * A structure that contains details about the newly created OU. - */ - OrganizationalUnit?: OrganizationalUnit; - } - export interface CreatePolicyRequest { - /** - * The policy content to add to the new policy. For example, if you create a service control policy (SCP), this string must be JSON text that specifies the permissions that admins in attached accounts can delegate to their users, groups, and roles. For more information about the SCP syntax, see Service Control Policy Syntax in the AWS Organizations User Guide. - */ - Content: PolicyContent; - /** - * An optional description to assign to the policy. - */ - Description: PolicyDescription; - /** - * The friendly name to assign to the policy. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range. - */ - Name: PolicyName; - /** - * The type of policy to create. In the current release, the only type of policy that you can create is a service control policy (SCP). - */ - Type: PolicyType; - } - export interface CreatePolicyResponse { - /** - * A structure that contains details about the newly created policy. - */ - Policy?: Policy; - } - export interface DeclineHandshakeRequest { - /** - * The unique identifier (ID) of the handshake that you want to decline. You can get the ID from the ListHandshakesForAccount operation. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits. - */ - HandshakeId: HandshakeId; - } - export interface DeclineHandshakeResponse { - /** - * A structure that contains details about the declined handshake. The state is updated to show the value DECLINED. - */ - Handshake?: Handshake; - } - export interface DeleteOrganizationalUnitRequest { - /** - * The unique identifier (ID) of the organizational unit that you want to delete. You can get the ID from the ListOrganizationalUnitsForParent operation. The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that contains the OU) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - OrganizationalUnitId: OrganizationalUnitId; - } - export interface DeletePolicyRequest { - /** - * The unique identifier (ID) of the policy that you want to delete. You can get the ID from the ListPolicies or ListPoliciesForTarget operations. The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits. - */ - PolicyId: PolicyId; - } - export interface DescribeAccountRequest { - /** - * The unique identifier (ID) of the AWS account that you want information about. You can get the ID from the ListAccounts or ListAccountsForParent operations. The regex pattern for an account ID string requires exactly 12 digits. - */ - AccountId: AccountId; - } - export interface DescribeAccountResponse { - /** - * A structure that contains information about the requested account. - */ - Account?: Account; - } - export interface DescribeCreateAccountStatusRequest { - /** - * Specifies the operationId that uniquely identifies the request. You can get the ID from the response to an earlier CreateAccount request, or from the ListCreateAccountStatus operation. The regex pattern for an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits. - */ - CreateAccountRequestId: CreateAccountRequestId; - } - export interface DescribeCreateAccountStatusResponse { - /** - * A structure that contains the current status of an account creation request. - */ - CreateAccountStatus?: CreateAccountStatus; - } - export interface DescribeHandshakeRequest { - /** - * The unique identifier (ID) of the handshake that you want information about. You can get the ID from the original call to InviteAccountToOrganization, or from a call to ListHandshakesForAccount or ListHandshakesForOrganization. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits. - */ - HandshakeId: HandshakeId; - } - export interface DescribeHandshakeResponse { - /** - * A structure that contains information about the specified handshake. - */ - Handshake?: Handshake; - } - export interface DescribeOrganizationResponse { - /** - * A structure that contains information about the organization. - */ - Organization?: Organization; - } - export interface DescribeOrganizationalUnitRequest { - /** - * The unique identifier (ID) of the organizational unit that you want details about. You can get the ID from the ListOrganizationalUnitsForParent operation. The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that contains the OU) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - OrganizationalUnitId: OrganizationalUnitId; - } - export interface DescribeOrganizationalUnitResponse { - /** - * A structure that contains details about the specified OU. - */ - OrganizationalUnit?: OrganizationalUnit; - } - export interface DescribePolicyRequest { - /** - * The unique identifier (ID) of the policy that you want details about. You can get the ID from the ListPolicies or ListPoliciesForTarget operations. The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits. - */ - PolicyId: PolicyId; - } - export interface DescribePolicyResponse { - /** - * A structure that contains details about the specified policy. - */ - Policy?: Policy; - } - export interface DetachPolicyRequest { - /** - * The unique identifier (ID) of the policy you want to detach. You can get the ID from the ListPolicies or ListPoliciesForTarget operations. The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits. - */ - PolicyId: PolicyId; - /** - * The unique identifier (ID) of the root, OU, or account from which you want to detach the policy. You can get the ID from the ListRoots, ListOrganizationalUnitsForParent, or ListAccounts operations. The regex pattern for a target ID string requires one of the following: Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits. Account: a string that consists of exactly 12 digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - TargetId: PolicyTargetId; - } - export interface DisablePolicyTypeRequest { - /** - * The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from the ListPolicies operation. The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits. - */ - RootId: RootId; - /** - * The policy type that you want to disable in this root. - */ - PolicyType: PolicyType; - } - export interface DisablePolicyTypeResponse { - /** - * A structure that shows the root with the updated list of enabled policy types. - */ - Root?: Root; - } - export type Email = string; - export interface EnableAllFeaturesRequest { - } - export interface EnableAllFeaturesResponse { - /** - * A structure that contains details about the handshake created to support this request to enable all features in the organization. - */ - Handshake?: Handshake; - } - export interface EnablePolicyTypeRequest { - /** - * The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the ListRoots operation. The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits. - */ - RootId: RootId; - /** - * The policy type that you want to enable. - */ - PolicyType: PolicyType; - } - export interface EnablePolicyTypeResponse { - /** - * A structure that shows the root with the updated list of enabled policy types. - */ - Root?: Root; - } - export type ExceptionMessage = string; - export type ExceptionType = string; - export type GenericArn = string; - export interface Handshake { - /** - * The unique identifier (ID) of a handshake. The originating account creates the ID when it initiates the handshake. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits. - */ - Id?: HandshakeId; - /** - * The Amazon Resource Name (ARN) of a handshake. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide. - */ - Arn?: HandshakeArn; - /** - * Information about the two accounts that are participating in the handshake. - */ - Parties?: HandshakeParties; - /** - * The current state of the handshake. Use the state to trace the flow of the handshake through the process from its creation to its acceptance. The meaning of each of the valid values is as follows: REQUESTED: This handshake was sent to multiple recipients (applicable to only some handshake types) and not all recipients have responded yet. The request stays in this state until all recipients respond. OPEN: This handshake was sent to multiple recipients (applicable to only some policy types) and all recipients have responded, allowing the originator to complete the handshake action. CANCELED: This handshake is no longer active because it was canceled by the originating account. ACCEPTED: This handshake is complete because it has been accepted by the recipient. DECLINED: This handshake is no longer active because it was declined by the recipient account. EXPIRED: This handshake is no longer active because the originator did not receive a response of any kind from the recipient before the expiration time (15 days). - */ - State?: HandshakeState; - /** - * The date and time that the handshake request was made. - */ - RequestedTimestamp?: Timestamp; - /** - * The date and time that the handshake expires. If the recipient of the handshake request fails to respond before the specified date and time, the handshake becomes inactive and is no longer valid. - */ - ExpirationTimestamp?: Timestamp; - /** - * The type of handshake, indicating what action occurs when the recipient accepts the handshake. - */ - Action?: ActionType; - /** - * Additional information that is needed to process the handshake. - */ - Resources?: HandshakeResources; - } - export type HandshakeArn = string; - export type HandshakeConstraintViolationExceptionReason = "ACCOUNT_NUMBER_LIMIT_EXCEEDED"|"HANDSHAKE_RATE_LIMIT_EXCEEDED"|"ALREADY_IN_AN_ORGANIZATION"|"ORGANIZATION_ALREADY_HAS_ALL_FEATURES"|"INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES"|"PAYMENT_INSTRUMENT_REQUIRED"|"ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD"|"ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED"|string; - export interface HandshakeFilter { - /** - * Specifies the type of handshake action. If you specify ActionType, you cannot also specify ParentHandshakeId. - */ - ActionType?: ActionType; - /** - * Specifies the parent handshake. Only used for handshake types that are a child of another type. If you specify ParentHandshakeId, you cannot also specify ActionType. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits. - */ - ParentHandshakeId?: HandshakeId; - } - export type HandshakeId = string; - export type HandshakeNotes = string; - export type HandshakeParties = HandshakeParty[]; - export interface HandshakeParty { - /** - * The unique identifier (ID) for the party. The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits. - */ - Id?: HandshakePartyId; - /** - * The type of party. - */ - Type?: HandshakePartyType; - } - export type HandshakePartyId = string; - export type HandshakePartyType = "ACCOUNT"|"ORGANIZATION"|"EMAIL"|string; - export interface HandshakeResource { - /** - * The information that is passed to the other party in the handshake. The format of the value string must match the requirements of the specified type. - */ - Value?: HandshakeResourceValue; - /** - * The type of information being passed, specifying how the value is to be interpreted by the other party: ACCOUNT - Specifies an AWS account ID number. ORGANIZATION - Specifies an organization ID number. EMAIL - Specifies the email address that is associated with the account that receives the handshake. OWNER_EMAIL - Specifies the email address associated with the master account. Included as information about an organization. OWNER_NAME - Specifies the name associated with the master account. Included as information about an organization. NOTES - Additional text provided by the handshake initiator and intended for the recipient to read. - */ - Type?: HandshakeResourceType; - /** - * When needed, contains an additional array of HandshakeResource objects. - */ - Resources?: HandshakeResources; - } - export type HandshakeResourceType = "ACCOUNT"|"ORGANIZATION"|"ORGANIZATION_FEATURE_SET"|"EMAIL"|"MASTER_EMAIL"|"MASTER_NAME"|"NOTES"|"PARENT_HANDSHAKE"|string; - export type HandshakeResourceValue = string; - export type HandshakeResources = HandshakeResource[]; - export type HandshakeState = "REQUESTED"|"OPEN"|"CANCELED"|"ACCEPTED"|"DECLINED"|"EXPIRED"|string; - export type Handshakes = Handshake[]; - export type IAMUserAccessToBilling = "ALLOW"|"DENY"|string; - export type InvalidInputExceptionReason = "INVALID_PARTY_TYPE_TARGET"|"INVALID_SYNTAX_ORGANIZATION_ARN"|"INVALID_SYNTAX_POLICY_ID"|"INVALID_ENUM"|"INVALID_LIST_MEMBER"|"MAX_LENGTH_EXCEEDED"|"MAX_VALUE_EXCEEDED"|"MIN_LENGTH_EXCEEDED"|"MIN_VALUE_EXCEEDED"|"IMMUTABLE_POLICY"|"INVALID_PATTERN"|"INVALID_PATTERN_TARGET_ID"|"INPUT_REQUIRED"|"INVALID_NEXT_TOKEN"|"MAX_LIMIT_EXCEEDED_FILTER"|"MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS"|"INVALID_FULL_NAME_TARGET"|string; - export interface InviteAccountToOrganizationRequest { - /** - * The identifier (ID) of the AWS account that you want to invite to join your organization. This is a JSON object that contains the following elements: { "Type": "ACCOUNT", "Id": "< account id number >" } If you use the AWS CLI, you can submit this as a single string, similar to the following example: --target id=123456789012,type=ACCOUNT If you specify "Type": "ACCOUNT", then you must provide the AWS account ID number as the Id. If you specify "Type": "EMAIL", then you must specify the email address that is associated with the account. --target id=bill@example.com,type=EMAIL - */ - Target: HandshakeParty; - /** - * Additional information that you want to include in the generated email to the recipient account owner. - */ - Notes?: HandshakeNotes; - } - export interface InviteAccountToOrganizationResponse { - /** - * A structure that contains details about the handshake that is created to support this invitation request. - */ - Handshake?: Handshake; - } - export interface ListAccountsForParentRequest { - /** - * The unique identifier (ID) for the parent root or organization unit (OU) whose accounts you want to list. - */ - ParentId: ParentId; - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListAccountsForParentResponse { - /** - * A list of the accounts in the specified root or OU. - */ - Accounts?: Accounts; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListAccountsRequest { - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListAccountsResponse { - /** - * A list of objects in the organization. - */ - Accounts?: Accounts; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListChildrenRequest { - /** - * The unique identifier (ID) for the parent root or OU whose children you want to list. The regex pattern for a parent ID string requires one of the following: Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - ParentId: ParentId; - /** - * Filters the output to include only the specified child type. - */ - ChildType: ChildType; - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListChildrenResponse { - /** - * The list of children of the specified parent container. - */ - Children?: Children; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListCreateAccountStatusRequest { - /** - * A list of one or more states that you want included in the response. If this parameter is not present, then all requests are included in the response. - */ - States?: CreateAccountStates; - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListCreateAccountStatusResponse { - /** - * A list of objects with details about the requests. Certain elements, such as the accountId number, are present in the output only after the account has been successfully created. - */ - CreateAccountStatuses?: CreateAccountStatuses; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListHandshakesForAccountRequest { - /** - * Filters the handshakes that you want included in the response. The default is all types. Use the ActionType element to limit the output to only a specified type, such as INVITE, ENABLE-FULL-CONTROL, or APPROVE-FULL-CONTROL. Alternatively, for the ENABLE-FULL-CONTROL handshake that generates a separate child handshake for each member account, you can specify ParentHandshakeId to see only the handshakes that were generated by that parent request. - */ - Filter?: HandshakeFilter; - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListHandshakesForAccountResponse { - /** - * A list of Handshake objects with details about each of the handshakes that is associated with the specified account. - */ - Handshakes?: Handshakes; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListHandshakesForOrganizationRequest { - /** - * A filter of the handshakes that you want included in the response. The default is all types. Use the ActionType element to limit the output to only a specified type, such as INVITE, ENABLE-ALL-FEATURES, or APPROVE-ALL-FEATURES. Alternatively, for the ENABLE-ALL-FEATURES handshake that generates a separate child handshake for each member account, you can specify the ParentHandshakeId to see only the handshakes that were generated by that parent request. - */ - Filter?: HandshakeFilter; - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListHandshakesForOrganizationResponse { - /** - * A list of Handshake objects with details about each of the handshakes that are associated with an organization. - */ - Handshakes?: Handshakes; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListOrganizationalUnitsForParentRequest { - /** - * The unique identifier (ID) of the root or OU whose child OUs you want to list. The regex pattern for a parent ID string requires one of the following: Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - ParentId: ParentId; - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListOrganizationalUnitsForParentResponse { - /** - * A list of the OUs in the specified root or parent OU. - */ - OrganizationalUnits?: OrganizationalUnits; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListParentsRequest { - /** - * The unique identifier (ID) of the OU or account whose parent containers you want to list. Do not specify a root. The regex pattern for a child ID string requires one of the following: Account: a string that consists of exactly 12 digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that contains the OU) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - ChildId: ChildId; - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListParentsResponse { - /** - * A list of parents for the specified child account or OU. - */ - Parents?: Parents; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListPoliciesForTargetRequest { - /** - * The unique identifier (ID) of the root, organizational unit, or account whose policies you want to list. The regex pattern for a target ID string requires one of the following: Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits. Account: a string that consists of exactly 12 digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - TargetId: PolicyTargetId; - /** - * The type of policy that you want to include in the returned list. - */ - Filter: PolicyType; - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListPoliciesForTargetResponse { - /** - * The list of policies that match the criteria in the request. - */ - Policies?: Policies; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListPoliciesRequest { - /** - * Specifies the type of policy that you want to include in the response. - */ - Filter: PolicyType; - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListPoliciesResponse { - /** - * A list of policies that match the filter criteria in the request. The output list does not include the policy contents. To see the content for a policy, see DescribePolicy. - */ - Policies?: Policies; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListRootsRequest { - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListRootsResponse { - /** - * A list of roots that are defined in an organization. - */ - Roots?: Roots; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export interface ListTargetsForPolicyRequest { - /** - * The unique identifier (ID) of the policy for which you want to know its attachments. The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits. - */ - PolicyId: PolicyId; - /** - * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. - */ - NextToken?: NextToken; - /** - * (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. - */ - MaxResults?: MaxResults; - } - export interface ListTargetsForPolicyResponse { - /** - * A list of structures, each of which contains details about one of the entities to which the specified policy is attached. - */ - Targets?: PolicyTargets; - /** - * If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. - */ - NextToken?: NextToken; - } - export type MaxResults = number; - export interface MoveAccountRequest { - /** - * The unique identifier (ID) of the account that you want to move. The regex pattern for an account ID string requires exactly 12 digits. - */ - AccountId: AccountId; - /** - * The unique identifier (ID) of the root or organizational unit that you want to move the account from. The regex pattern for a parent ID string requires one of the following: Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - SourceParentId: ParentId; - /** - * The unique identifier (ID) of the root or organizational unit that you want to move the account to. The regex pattern for a parent ID string requires one of the following: Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - DestinationParentId: ParentId; - } - export type NextToken = string; - export interface Organization { - /** - * The unique identifier (ID) of an organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits. - */ - Id?: OrganizationId; - /** - * The Amazon Resource Name (ARN) of an organization. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide. - */ - Arn?: OrganizationArn; - /** - * Specifies the functionality that currently is available to the organization. If set to "ALL", then all features are enabled and policies can be applied to accounts in the organization. If set to "CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide. - */ - FeatureSet?: OrganizationFeatureSet; - /** - * The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide. - */ - MasterAccountArn?: AccountArn; - /** - * The unique identifier (ID) of the master account of an organization. The regex pattern for an account ID string requires exactly 12 digits. - */ - MasterAccountId?: AccountId; - /** - * The email address that is associated with the AWS account that is designated as the master account for the organization. - */ - MasterAccountEmail?: Email; - /** - * A list of policy types that are enabled for this organization. For example, if your organization has all features enabled, then service control policies (SCPs) are included in the list. - */ - AvailablePolicyTypes?: PolicyTypes; - } - export type OrganizationArn = string; - export type OrganizationFeatureSet = "ALL"|"CONSOLIDATED_BILLING"|string; - export type OrganizationId = string; - export interface OrganizationalUnit { - /** - * The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that contains the OU) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - Id?: OrganizationalUnitId; - /** - * The Amazon Resource Name (ARN) of this OU. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide. - */ - Arn?: OrganizationalUnitArn; - /** - * The friendly name of this OU. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range. - */ - Name?: OrganizationalUnitName; - } - export type OrganizationalUnitArn = string; - export type OrganizationalUnitId = string; - export type OrganizationalUnitName = string; - export type OrganizationalUnits = OrganizationalUnit[]; - export interface Parent { - /** - * The unique identifier (ID) of the parent entity. The regex pattern for a parent ID string requires one of the following: Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - Id?: ParentId; - /** - * The type of the parent entity. - */ - Type?: ParentType; - } - export type ParentId = string; - export type ParentType = "ROOT"|"ORGANIZATIONAL_UNIT"|string; - export type Parents = Parent[]; - export type Policies = PolicySummary[]; - export interface Policy { - /** - * A structure that contains additional details about the policy. - */ - PolicySummary?: PolicySummary; - /** - * The text content of the policy. - */ - Content?: PolicyContent; - } - export type PolicyArn = string; - export type PolicyContent = string; - export type PolicyDescription = string; - export type PolicyId = string; - export type PolicyName = string; - export interface PolicySummary { - /** - * The unique identifier (ID) of the policy. The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits. - */ - Id?: PolicyId; - /** - * The Amazon Resource Name (ARN) of the policy. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide. - */ - Arn?: PolicyArn; - /** - * The friendly name of the policy. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range. - */ - Name?: PolicyName; - /** - * The description of the policy. - */ - Description?: PolicyDescription; - /** - * The type of policy. - */ - Type?: PolicyType; - /** - * A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it. - */ - AwsManaged?: AwsManagedPolicy; - } - export type PolicyTargetId = string; - export interface PolicyTargetSummary { - /** - * The unique identifier (ID) of the policy target. The regex pattern for a target ID string requires one of the following: Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits. Account: a string that consists of exactly 12 digits. Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - TargetId?: PolicyTargetId; - /** - * The Amazon Resource Name (ARN) of the policy target. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide. - */ - Arn?: GenericArn; - /** - * The friendly name of the policy target. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range. - */ - Name?: TargetName; - /** - * The type of the policy target. - */ - Type?: TargetType; - } - export type PolicyTargets = PolicyTargetSummary[]; - export type PolicyType = "SERVICE_CONTROL_POLICY"|string; - export type PolicyTypeStatus = "ENABLED"|"PENDING_ENABLE"|"PENDING_DISABLE"|string; - export interface PolicyTypeSummary { - /** - * The name of the policy type. - */ - Type?: PolicyType; - /** - * The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root. - */ - Status?: PolicyTypeStatus; - } - export type PolicyTypes = PolicyTypeSummary[]; - export interface RemoveAccountFromOrganizationRequest { - /** - * The unique identifier (ID) of the member account that you want to remove from the organization. The regex pattern for an account ID string requires exactly 12 digits. - */ - AccountId: AccountId; - } - export type RoleName = string; - export interface Root { - /** - * The unique identifier (ID) for the root. The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits. - */ - Id?: RootId; - /** - * The Amazon Resource Name (ARN) of the root. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide. - */ - Arn?: RootArn; - /** - * The friendly name of the root. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range. - */ - Name?: RootName; - /** - * The types of policies that are currently enabled for the root and therefore can be attached to the root or to its OUs or accounts. - */ - PolicyTypes?: PolicyTypes; - } - export type RootArn = string; - export type RootId = string; - export type RootName = string; - export type Roots = Root[]; - export type TargetName = string; - export type TargetType = "ACCOUNT"|"ORGANIZATIONAL_UNIT"|"ROOT"|string; - export type Timestamp = Date; - export interface UpdateOrganizationalUnitRequest { - /** - * The unique identifier (ID) of the OU that you want to rename. You can get the ID from the ListOrganizationalUnitsForParent operation. The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that contains the OU) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits. - */ - OrganizationalUnitId: OrganizationalUnitId; - /** - * The new name that you want to assign to the OU. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range. - */ - Name?: OrganizationalUnitName; - } - export interface UpdateOrganizationalUnitResponse { - /** - * A structure that contains the details about the specified OU, including its new name. - */ - OrganizationalUnit?: OrganizationalUnit; - } - export interface UpdatePolicyRequest { - /** - * The unique identifier (ID) of the policy that you want to update. The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits. - */ - PolicyId: PolicyId; - /** - * If provided, the new name for the policy. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range. - */ - Name?: PolicyName; - /** - * If provided, the new description for the policy. - */ - Description?: PolicyDescription; - /** - * If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide. - */ - Content?: PolicyContent; - } - export interface UpdatePolicyResponse { - /** - * A structure that contains details about the updated policy, showing the requested changes. - */ - Policy?: Policy; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-11-28"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Organizations client. - */ - export import Types = Organizations; -} -export = Organizations; diff --git a/src/node_modules/aws-sdk/clients/organizations.js b/src/node_modules/aws-sdk/clients/organizations.js deleted file mode 100644 index 129491b..0000000 --- a/src/node_modules/aws-sdk/clients/organizations.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['organizations'] = {}; -AWS.Organizations = Service.defineService('organizations', ['2016-11-28']); -Object.defineProperty(apiLoader.services['organizations'], '2016-11-28', { - get: function get() { - var model = require('../apis/organizations-2016-11-28.min.json'); - model.paginators = require('../apis/organizations-2016-11-28.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Organizations; diff --git a/src/node_modules/aws-sdk/clients/pinpoint.d.ts b/src/node_modules/aws-sdk/clients/pinpoint.d.ts deleted file mode 100644 index e9f5847..0000000 --- a/src/node_modules/aws-sdk/clients/pinpoint.d.ts +++ /dev/null @@ -1,2380 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Pinpoint extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Pinpoint.Types.ClientConfiguration) - config: Config & Pinpoint.Types.ClientConfiguration; - /** - * Creates or updates a campaign. - */ - createCampaign(params: Pinpoint.Types.CreateCampaignRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateCampaignResponse) => void): Request; - /** - * Creates or updates a campaign. - */ - createCampaign(callback?: (err: AWSError, data: Pinpoint.Types.CreateCampaignResponse) => void): Request; - /** - * Creates or updates an import job. - */ - createImportJob(params: Pinpoint.Types.CreateImportJobRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateImportJobResponse) => void): Request; - /** - * Creates or updates an import job. - */ - createImportJob(callback?: (err: AWSError, data: Pinpoint.Types.CreateImportJobResponse) => void): Request; - /** - * Used to create or update a segment. - */ - createSegment(params: Pinpoint.Types.CreateSegmentRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateSegmentResponse) => void): Request; - /** - * Used to create or update a segment. - */ - createSegment(callback?: (err: AWSError, data: Pinpoint.Types.CreateSegmentResponse) => void): Request; - /** - * Deletes the APNs channel for an app. - */ - deleteApnsChannel(params: Pinpoint.Types.DeleteApnsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsChannelResponse) => void): Request; - /** - * Deletes the APNs channel for an app. - */ - deleteApnsChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsChannelResponse) => void): Request; - /** - * Delete an APNS sandbox channel - */ - deleteApnsSandboxChannel(params: Pinpoint.Types.DeleteApnsSandboxChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsSandboxChannelResponse) => void): Request; - /** - * Delete an APNS sandbox channel - */ - deleteApnsSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsSandboxChannelResponse) => void): Request; - /** - * Deletes a campaign. - */ - deleteCampaign(params: Pinpoint.Types.DeleteCampaignRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteCampaignResponse) => void): Request; - /** - * Deletes a campaign. - */ - deleteCampaign(callback?: (err: AWSError, data: Pinpoint.Types.DeleteCampaignResponse) => void): Request; - /** - * Delete an email channel - */ - deleteEmailChannel(params: Pinpoint.Types.DeleteEmailChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteEmailChannelResponse) => void): Request; - /** - * Delete an email channel - */ - deleteEmailChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteEmailChannelResponse) => void): Request; - /** - * Deletes the event stream for an app. - */ - deleteEventStream(params: Pinpoint.Types.DeleteEventStreamRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteEventStreamResponse) => void): Request; - /** - * Deletes the event stream for an app. - */ - deleteEventStream(callback?: (err: AWSError, data: Pinpoint.Types.DeleteEventStreamResponse) => void): Request; - /** - * Deletes the GCM channel for an app. - */ - deleteGcmChannel(params: Pinpoint.Types.DeleteGcmChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteGcmChannelResponse) => void): Request; - /** - * Deletes the GCM channel for an app. - */ - deleteGcmChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteGcmChannelResponse) => void): Request; - /** - * Deletes a segment. - */ - deleteSegment(params: Pinpoint.Types.DeleteSegmentRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteSegmentResponse) => void): Request; - /** - * Deletes a segment. - */ - deleteSegment(callback?: (err: AWSError, data: Pinpoint.Types.DeleteSegmentResponse) => void): Request; - /** - * Delete an SMS channel - */ - deleteSmsChannel(params: Pinpoint.Types.DeleteSmsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteSmsChannelResponse) => void): Request; - /** - * Delete an SMS channel - */ - deleteSmsChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteSmsChannelResponse) => void): Request; - /** - * Returns information about the APNs channel for an app. - */ - getApnsChannel(params: Pinpoint.Types.GetApnsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetApnsChannelResponse) => void): Request; - /** - * Returns information about the APNs channel for an app. - */ - getApnsChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetApnsChannelResponse) => void): Request; - /** - * Get an APNS sandbox channel - */ - getApnsSandboxChannel(params: Pinpoint.Types.GetApnsSandboxChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetApnsSandboxChannelResponse) => void): Request; - /** - * Get an APNS sandbox channel - */ - getApnsSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetApnsSandboxChannelResponse) => void): Request; - /** - * Used to request the settings for an app. - */ - getApplicationSettings(params: Pinpoint.Types.GetApplicationSettingsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetApplicationSettingsResponse) => void): Request; - /** - * Used to request the settings for an app. - */ - getApplicationSettings(callback?: (err: AWSError, data: Pinpoint.Types.GetApplicationSettingsResponse) => void): Request; - /** - * Returns information about a campaign. - */ - getCampaign(params: Pinpoint.Types.GetCampaignRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignResponse) => void): Request; - /** - * Returns information about a campaign. - */ - getCampaign(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignResponse) => void): Request; - /** - * Returns information about the activity performed by a campaign. - */ - getCampaignActivities(params: Pinpoint.Types.GetCampaignActivitiesRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignActivitiesResponse) => void): Request; - /** - * Returns information about the activity performed by a campaign. - */ - getCampaignActivities(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignActivitiesResponse) => void): Request; - /** - * Returns information about a specific version of a campaign. - */ - getCampaignVersion(params: Pinpoint.Types.GetCampaignVersionRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignVersionResponse) => void): Request; - /** - * Returns information about a specific version of a campaign. - */ - getCampaignVersion(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignVersionResponse) => void): Request; - /** - * Returns information about your campaign versions. - */ - getCampaignVersions(params: Pinpoint.Types.GetCampaignVersionsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignVersionsResponse) => void): Request; - /** - * Returns information about your campaign versions. - */ - getCampaignVersions(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignVersionsResponse) => void): Request; - /** - * Returns information about your campaigns. - */ - getCampaigns(params: Pinpoint.Types.GetCampaignsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignsResponse) => void): Request; - /** - * Returns information about your campaigns. - */ - getCampaigns(callback?: (err: AWSError, data: Pinpoint.Types.GetCampaignsResponse) => void): Request; - /** - * Get an email channel - */ - getEmailChannel(params: Pinpoint.Types.GetEmailChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetEmailChannelResponse) => void): Request; - /** - * Get an email channel - */ - getEmailChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetEmailChannelResponse) => void): Request; - /** - * Returns information about an endpoint. - */ - getEndpoint(params: Pinpoint.Types.GetEndpointRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetEndpointResponse) => void): Request; - /** - * Returns information about an endpoint. - */ - getEndpoint(callback?: (err: AWSError, data: Pinpoint.Types.GetEndpointResponse) => void): Request; - /** - * Returns the event stream for an app. - */ - getEventStream(params: Pinpoint.Types.GetEventStreamRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetEventStreamResponse) => void): Request; - /** - * Returns the event stream for an app. - */ - getEventStream(callback?: (err: AWSError, data: Pinpoint.Types.GetEventStreamResponse) => void): Request; - /** - * Returns information about the GCM channel for an app. - */ - getGcmChannel(params: Pinpoint.Types.GetGcmChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetGcmChannelResponse) => void): Request; - /** - * Returns information about the GCM channel for an app. - */ - getGcmChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetGcmChannelResponse) => void): Request; - /** - * Returns information about an import job. - */ - getImportJob(params: Pinpoint.Types.GetImportJobRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetImportJobResponse) => void): Request; - /** - * Returns information about an import job. - */ - getImportJob(callback?: (err: AWSError, data: Pinpoint.Types.GetImportJobResponse) => void): Request; - /** - * Returns information about your import jobs. - */ - getImportJobs(params: Pinpoint.Types.GetImportJobsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetImportJobsResponse) => void): Request; - /** - * Returns information about your import jobs. - */ - getImportJobs(callback?: (err: AWSError, data: Pinpoint.Types.GetImportJobsResponse) => void): Request; - /** - * Returns information about a segment. - */ - getSegment(params: Pinpoint.Types.GetSegmentRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentResponse) => void): Request; - /** - * Returns information about a segment. - */ - getSegment(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentResponse) => void): Request; - /** - * Returns a list of import jobs for a specific segment. - */ - getSegmentImportJobs(params: Pinpoint.Types.GetSegmentImportJobsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentImportJobsResponse) => void): Request; - /** - * Returns a list of import jobs for a specific segment. - */ - getSegmentImportJobs(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentImportJobsResponse) => void): Request; - /** - * Returns information about a segment version. - */ - getSegmentVersion(params: Pinpoint.Types.GetSegmentVersionRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentVersionResponse) => void): Request; - /** - * Returns information about a segment version. - */ - getSegmentVersion(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentVersionResponse) => void): Request; - /** - * Returns information about your segment versions. - */ - getSegmentVersions(params: Pinpoint.Types.GetSegmentVersionsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentVersionsResponse) => void): Request; - /** - * Returns information about your segment versions. - */ - getSegmentVersions(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentVersionsResponse) => void): Request; - /** - * Used to get information about your segments. - */ - getSegments(params: Pinpoint.Types.GetSegmentsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentsResponse) => void): Request; - /** - * Used to get information about your segments. - */ - getSegments(callback?: (err: AWSError, data: Pinpoint.Types.GetSegmentsResponse) => void): Request; - /** - * Get an SMS channel - */ - getSmsChannel(params: Pinpoint.Types.GetSmsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetSmsChannelResponse) => void): Request; - /** - * Get an SMS channel - */ - getSmsChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetSmsChannelResponse) => void): Request; - /** - * Use to create or update the event stream for an app. - */ - putEventStream(params: Pinpoint.Types.PutEventStreamRequest, callback?: (err: AWSError, data: Pinpoint.Types.PutEventStreamResponse) => void): Request; - /** - * Use to create or update the event stream for an app. - */ - putEventStream(callback?: (err: AWSError, data: Pinpoint.Types.PutEventStreamResponse) => void): Request; - /** - * Send a batch of messages - */ - sendMessages(params: Pinpoint.Types.SendMessagesRequest, callback?: (err: AWSError, data: Pinpoint.Types.SendMessagesResponse) => void): Request; - /** - * Send a batch of messages - */ - sendMessages(callback?: (err: AWSError, data: Pinpoint.Types.SendMessagesResponse) => void): Request; - /** - * Use to update the APNs channel for an app. - */ - updateApnsChannel(params: Pinpoint.Types.UpdateApnsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsChannelResponse) => void): Request; - /** - * Use to update the APNs channel for an app. - */ - updateApnsChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsChannelResponse) => void): Request; - /** - * Update an APNS sandbox channel - */ - updateApnsSandboxChannel(params: Pinpoint.Types.UpdateApnsSandboxChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsSandboxChannelResponse) => void): Request; - /** - * Update an APNS sandbox channel - */ - updateApnsSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateApnsSandboxChannelResponse) => void): Request; - /** - * Used to update the settings for an app. - */ - updateApplicationSettings(params: Pinpoint.Types.UpdateApplicationSettingsRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateApplicationSettingsResponse) => void): Request; - /** - * Used to update the settings for an app. - */ - updateApplicationSettings(callback?: (err: AWSError, data: Pinpoint.Types.UpdateApplicationSettingsResponse) => void): Request; - /** - * Use to update a campaign. - */ - updateCampaign(params: Pinpoint.Types.UpdateCampaignRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateCampaignResponse) => void): Request; - /** - * Use to update a campaign. - */ - updateCampaign(callback?: (err: AWSError, data: Pinpoint.Types.UpdateCampaignResponse) => void): Request; - /** - * Update an email channel - */ - updateEmailChannel(params: Pinpoint.Types.UpdateEmailChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateEmailChannelResponse) => void): Request; - /** - * Update an email channel - */ - updateEmailChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateEmailChannelResponse) => void): Request; - /** - * Use to update an endpoint. - */ - updateEndpoint(params: Pinpoint.Types.UpdateEndpointRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateEndpointResponse) => void): Request; - /** - * Use to update an endpoint. - */ - updateEndpoint(callback?: (err: AWSError, data: Pinpoint.Types.UpdateEndpointResponse) => void): Request; - /** - * Use to update a batch of endpoints. - */ - updateEndpointsBatch(params: Pinpoint.Types.UpdateEndpointsBatchRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateEndpointsBatchResponse) => void): Request; - /** - * Use to update a batch of endpoints. - */ - updateEndpointsBatch(callback?: (err: AWSError, data: Pinpoint.Types.UpdateEndpointsBatchResponse) => void): Request; - /** - * Use to update the GCM channel for an app. - */ - updateGcmChannel(params: Pinpoint.Types.UpdateGcmChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateGcmChannelResponse) => void): Request; - /** - * Use to update the GCM channel for an app. - */ - updateGcmChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateGcmChannelResponse) => void): Request; - /** - * Use to update a segment. - */ - updateSegment(params: Pinpoint.Types.UpdateSegmentRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateSegmentResponse) => void): Request; - /** - * Use to update a segment. - */ - updateSegment(callback?: (err: AWSError, data: Pinpoint.Types.UpdateSegmentResponse) => void): Request; - /** - * Update an SMS channel - */ - updateSmsChannel(params: Pinpoint.Types.UpdateSmsChannelRequest, callback?: (err: AWSError, data: Pinpoint.Types.UpdateSmsChannelResponse) => void): Request; - /** - * Update an SMS channel - */ - updateSmsChannel(callback?: (err: AWSError, data: Pinpoint.Types.UpdateSmsChannelResponse) => void): Request; -} -declare namespace Pinpoint { - export interface APNSChannelRequest { - /** - * The distribution certificate from Apple. - */ - Certificate?: __string; - /** - * If the channel is enabled for sending messages. - */ - Enabled?: __boolean; - /** - * The certificate private key. - */ - PrivateKey?: __string; - } - export interface APNSChannelResponse { - /** - * The ID of the application to which the channel applies. - */ - ApplicationId?: __string; - /** - * When was this segment created - */ - CreationDate?: __string; - /** - * If the channel is enabled for sending messages. - */ - Enabled?: __boolean; - /** - * Channel ID. Not used, only for backwards compatibility. - */ - Id?: __string; - /** - * Is this channel archived - */ - IsArchived?: __boolean; - /** - * Who last updated this entry - */ - LastModifiedBy?: __string; - /** - * Last date this was updated - */ - LastModifiedDate?: __string; - /** - * The platform type. Will be APNS. - */ - Platform?: __string; - /** - * Version of channel - */ - Version?: __integer; - } - export interface APNSMessage { - /** - * The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action. DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app. URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify. Possible values include: OPEN_APP | DEEP_LINK | URL - */ - Action?: Action; - /** - * Include this key when you want the system to modify the badge of your app icon. If this key is not included in the dictionary, the badge is not changed. To remove the badge, set the value of this key to 0. - */ - Badge?: __integer; - /** - * The message body of the notification, the email body or the text message. - */ - Body?: __string; - /** - * Provide this key with a string value that represents the notification's type. This value corresponds to the value in the identifier property of one of your app's registered categories. - */ - Category?: __string; - /** - * The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object - */ - Data?: MapOf__string; - /** - * The URL that points to a video used in the push notification. - */ - MediaUrl?: __string; - /** - * The Raw JSON formatted string to be used as the payload. This value overrides the message. - */ - RawContent?: __string; - /** - * Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases. - */ - SilentPush?: __boolean; - /** - * Include this key when you want the system to play a sound. The value of this key is the name of a sound file in your app's main bundle or in the Library/Sounds folder of your app's data container. If the sound file cannot be found, or if you specify defaultfor the value, the system plays the default alert sound. - */ - Sound?: __string; - /** - * Default message substitutions. Can be overridden by individual address substitutions. - */ - Substitutions?: MapOfListOf__string; - /** - * Provide this key with a string value that represents the app-specific identifier for grouping notifications. If you provide a Notification Content app extension, you can use this value to group your notifications together. - */ - ThreadId?: __string; - /** - * The message title that displays above the message on the user's device. - */ - Title?: __string; - /** - * The URL to open in the user's mobile browser. Used if the value for Action is URL. - */ - Url?: __string; - } - export interface APNSSandboxChannelRequest { - /** - * The distribution certificate from Apple. - */ - Certificate?: __string; - /** - * If the channel is enabled for sending messages. - */ - Enabled?: __boolean; - /** - * The certificate private key. - */ - PrivateKey?: __string; - } - export interface APNSSandboxChannelResponse { - /** - * Application id - */ - ApplicationId?: __string; - /** - * When was this segment created - */ - CreationDate?: __string; - /** - * If the channel is enabled for sending messages. - */ - Enabled?: __boolean; - /** - * Channel ID. Not used, only for backwards compatibility. - */ - Id?: __string; - /** - * Is this channel archived - */ - IsArchived?: __boolean; - /** - * Who last updated this entry - */ - LastModifiedBy?: __string; - /** - * Last date this was updated - */ - LastModifiedDate?: __string; - /** - * The platform type. Will be APNS. - */ - Platform?: __string; - /** - * Version of channel - */ - Version?: __integer; - } - export type Action = "OPEN_APP"|"DEEP_LINK"|"URL"|string; - export interface ActivitiesResponse { - /** - * List of campaign activities - */ - Item?: ListOfActivityResponse; - } - export interface ActivityResponse { - /** - * The ID of the application to which the campaign applies. - */ - ApplicationId?: __string; - /** - * The ID of the campaign to which the activity applies. - */ - CampaignId?: __string; - /** - * The actual time the activity was marked CANCELLED or COMPLETED. Provided in ISO 8601 format. - */ - End?: __string; - /** - * The unique activity ID. - */ - Id?: __string; - /** - * Indicates whether the activity succeeded. - -Valid values: SUCCESS, FAIL - */ - Result?: __string; - /** - * The scheduled start time for the activity in ISO 8601 format. - */ - ScheduledStart?: __string; - /** - * The actual start time of the activity in ISO 8601 format. - */ - Start?: __string; - /** - * The state of the activity. - -Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETED - */ - State?: __string; - /** - * The total number of endpoints to which the campaign successfully delivered messages. - */ - SuccessfulEndpointCount?: __integer; - /** - * The total number of timezones completed. - */ - TimezonesCompletedCount?: __integer; - /** - * The total number of unique timezones present in the segment. - */ - TimezonesTotalCount?: __integer; - /** - * The total number of endpoints to which the campaign attempts to deliver messages. - */ - TotalEndpointCount?: __integer; - /** - * The ID of a variation of the campaign used for A/B testing. - */ - TreatmentId?: __string; - } - export interface AddressConfiguration { - /** - * Body override. If specified will override default body. - */ - BodyOverride?: __string; - /** - * Type of channel of this address - */ - ChannelType?: ChannelType; - /** - * A map of custom attributes to attributes to be attached to the message for this address. This payload is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes. - */ - Context?: MapOf__string; - /** - * The Raw JSON formatted string to be used as the payload. This value overrides the message. - */ - RawContent?: __string; - /** - * A map of substitution values for the message to be merged with the DefaultMessage's substitutions. Substitutions on this map take precedence over the all other substitutions. - */ - Substitutions?: MapOfListOf__string; - /** - * Title override. If specified will override default title if applicable. - */ - TitleOverride?: __string; - } - export interface ApplicationSettingsResource { - /** - * The unique ID for the application. - */ - ApplicationId?: __string; - /** - * The date that the settings were last updated in ISO 8601 format. - */ - LastModifiedDate?: __string; - /** - * The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own. - */ - Limits?: CampaignLimits; - /** - * The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own. - */ - QuietTime?: QuietTime; - } - export interface AttributeDimension { - /** - * The type of dimension: -INCLUSIVE - Endpoints that match the criteria are included in the segment. -EXCLUSIVE - Endpoints that match the criteria are excluded from the segment. - */ - AttributeType?: AttributeType; - /** - * The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type. - */ - Values?: ListOf__string; - } - export type AttributeType = "INCLUSIVE"|"EXCLUSIVE"|string; - export interface CampaignEmailMessage { - /** - * The email text body. - */ - Body?: __string; - /** - * The email html body. - */ - HtmlBody?: __string; - /** - * The email title (Or subject). - */ - Title?: __string; - } - export interface CampaignLimits { - /** - * The maximum number of messages that the campaign can send daily. - */ - Daily?: __integer; - /** - * The maximum total number of messages that the campaign can send. - */ - Total?: __integer; - } - export interface CampaignResponse { - /** - * Treatments that are defined in addition to the default treatment. - */ - AdditionalTreatments?: ListOfTreatmentResource; - /** - * The ID of the application to which the campaign applies. - */ - ApplicationId?: __string; - /** - * The date the campaign was created in ISO 8601 format. - */ - CreationDate?: __string; - /** - * The status of the campaign's default treatment. Only present for A/B test campaigns. - */ - DefaultState?: CampaignState; - /** - * A description of the campaign. - */ - Description?: __string; - /** - * The allocated percentage of end users who will not receive messages from this campaign. - */ - HoldoutPercent?: __integer; - /** - * The unique campaign ID. - */ - Id?: __string; - /** - * Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false. - */ - IsPaused?: __boolean; - /** - * The date the campaign was last updated in ISO 8601 format. - */ - LastModifiedDate?: __string; - /** - * The campaign limits settings. - */ - Limits?: CampaignLimits; - /** - * The message configuration settings. - */ - MessageConfiguration?: MessageConfiguration; - /** - * The custom name of the campaign. - */ - Name?: __string; - /** - * The campaign schedule. - */ - Schedule?: Schedule; - /** - * The ID of the segment to which the campaign sends messages. - */ - SegmentId?: __string; - /** - * The version of the segment to which the campaign sends messages. - */ - SegmentVersion?: __integer; - /** - * The campaign status. - -An A/B test campaign will have a status of COMPLETED only when all treatments have a status of COMPLETED. - */ - State?: CampaignState; - /** - * A custom description for the treatment. - */ - TreatmentDescription?: __string; - /** - * The custom name of a variation of the campaign used for A/B testing. - */ - TreatmentName?: __string; - /** - * The campaign version number. - */ - Version?: __integer; - } - export interface CampaignSmsMessage { - /** - * The SMS text body. - */ - Body?: __string; - /** - * Is this is a transactional SMS message, otherwise a promotional message. - */ - MessageType?: MessageType; - /** - * Sender ID of sent message. - */ - SenderId?: __string; - } - export interface CampaignState { - /** - * The status of the campaign, or the status of a treatment that belongs to an A/B test campaign. - -Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSED - */ - CampaignStatus?: CampaignStatus; - } - export type CampaignStatus = "SCHEDULED"|"EXECUTING"|"PENDING_NEXT_RUN"|"COMPLETED"|"PAUSED"|string; - export interface CampaignsResponse { - /** - * A list of campaigns. - */ - Item?: ListOfCampaignResponse; - /** - * The string that you use in a subsequent request to get the next page of results in a paginated response. - */ - NextToken?: __string; - } - export type ChannelType = "GCM"|"APNS"|"APNS_SANDBOX"|"ADM"|"SMS"|"EMAIL"|string; - export interface CreateCampaignRequest { - ApplicationId: __string; - WriteCampaignRequest: WriteCampaignRequest; - } - export interface CreateCampaignResponse { - CampaignResponse: CampaignResponse; - } - export interface CreateImportJobRequest { - ApplicationId: __string; - ImportJobRequest: ImportJobRequest; - } - export interface CreateImportJobResponse { - ImportJobResponse: ImportJobResponse; - } - export interface CreateSegmentRequest { - ApplicationId: __string; - WriteSegmentRequest: WriteSegmentRequest; - } - export interface CreateSegmentResponse { - SegmentResponse: SegmentResponse; - } - export interface DefaultMessage { - /** - * The message body of the notification, the email body or the text message. - */ - Body?: __string; - /** - * Default message substitutions. Can be overridden by individual address substitutions. - */ - Substitutions?: MapOfListOf__string; - } - export interface DefaultPushNotificationMessage { - /** - * The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action. DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app. URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify. Possible values include: OPEN_APP | DEEP_LINK | URL - */ - Action?: Action; - /** - * The message body of the notification, the email body or the text message. - */ - Body?: __string; - /** - * The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object - */ - Data?: MapOf__string; - /** - * Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases. - */ - SilentPush?: __boolean; - /** - * Default message substitutions. Can be overridden by individual address substitutions. - */ - Substitutions?: MapOfListOf__string; - /** - * The message title that displays above the message on the user's device. - */ - Title?: __string; - /** - * The URL to open in the user's mobile browser. Used if the value for Action is URL. - */ - Url?: __string; - } - export interface DeleteApnsChannelRequest { - ApplicationId: __string; - } - export interface DeleteApnsChannelResponse { - APNSChannelResponse: APNSChannelResponse; - } - export interface DeleteApnsSandboxChannelRequest { - ApplicationId: __string; - } - export interface DeleteApnsSandboxChannelResponse { - APNSSandboxChannelResponse: APNSSandboxChannelResponse; - } - export interface DeleteCampaignRequest { - ApplicationId: __string; - CampaignId: __string; - } - export interface DeleteCampaignResponse { - CampaignResponse: CampaignResponse; - } - export interface DeleteEmailChannelRequest { - ApplicationId: __string; - } - export interface DeleteEmailChannelResponse { - EmailChannelResponse: EmailChannelResponse; - } - export interface DeleteEventStreamRequest { - /** - * ApplicationId - */ - ApplicationId: __string; - } - export interface DeleteEventStreamResponse { - EventStream: EventStream; - } - export interface DeleteGcmChannelRequest { - ApplicationId: __string; - } - export interface DeleteGcmChannelResponse { - GCMChannelResponse: GCMChannelResponse; - } - export interface DeleteSegmentRequest { - ApplicationId: __string; - SegmentId: __string; - } - export interface DeleteSegmentResponse { - SegmentResponse: SegmentResponse; - } - export interface DeleteSmsChannelRequest { - ApplicationId: __string; - } - export interface DeleteSmsChannelResponse { - SMSChannelResponse: SMSChannelResponse; - } - export type DeliveryStatus = "SUCCESSFUL"|"THROTTLED"|"TEMPORARY_FAILURE"|"PERMANENT_FAILURE"|string; - export type DimensionType = "INCLUSIVE"|"EXCLUSIVE"|string; - export interface DirectMessageConfiguration { - /** - * The message to APNS channels. Overrides the default push notification message. - */ - APNSMessage?: APNSMessage; - /** - * The default message for all channels. - */ - DefaultMessage?: DefaultMessage; - /** - * The default push notification message for all push channels. - */ - DefaultPushNotificationMessage?: DefaultPushNotificationMessage; - /** - * The message to GCM channels. Overrides the default push notification message. - */ - GCMMessage?: GCMMessage; - /** - * The message to SMS channels. Overrides the default message. - */ - SMSMessage?: SMSMessage; - } - export type Duration = "HR_24"|"DAY_7"|"DAY_14"|"DAY_30"|string; - export interface EmailChannelRequest { - /** - * If the channel is enabled for sending messages. - */ - Enabled?: __boolean; - /** - * The email address used to send emails from. - */ - FromAddress?: __string; - /** - * The ARN of an identity verified with SES. - */ - Identity?: __string; - /** - * The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service - */ - RoleArn?: __string; - } - export interface EmailChannelResponse { - /** - * Application id - */ - ApplicationId?: __string; - /** - * The date that the settings were last updated in ISO 8601 format. - */ - CreationDate?: __string; - /** - * If the channel is enabled for sending messages. - */ - Enabled?: __boolean; - /** - * The email address used to send emails from. - */ - FromAddress?: __string; - /** - * Channel ID. Not used, only for backwards compatibility. - */ - Id?: __string; - /** - * The ARN of an identity verified with SES. - */ - Identity?: __string; - /** - * Is this channel archived - */ - IsArchived?: __boolean; - /** - * Who last updated this entry - */ - LastModifiedBy?: __string; - /** - * Last date this was updated - */ - LastModifiedDate?: __string; - /** - * Platform type. Will be "EMAIL" - */ - Platform?: __string; - /** - * The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service - */ - RoleArn?: __string; - /** - * Version of channel - */ - Version?: __integer; - } - export interface EndpointBatchItem { - /** - * The address or token of the endpoint as provided by your push provider (e.g. DeviceToken or RegistrationId). - */ - Address?: __string; - /** - * Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment. - */ - Attributes?: MapOfListOf__string; - /** - * The channel type. - -Valid values: APNS, GCM - */ - ChannelType?: ChannelType; - /** - * The endpoint demographic attributes. - */ - Demographic?: EndpointDemographic; - /** - * The last time the endpoint was updated. Provided in ISO 8601 format. - */ - EffectiveDate?: __string; - /** - * The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated. - */ - EndpointStatus?: __string; - /** - * The unique Id for the Endpoint in the batch. - */ - Id?: __string; - /** - * The endpoint location attributes. - */ - Location?: EndpointLocation; - /** - * Custom metrics that your app reports to Amazon Pinpoint. - */ - Metrics?: MapOf__double; - /** - * Indicates whether a user has opted out of receiving messages with one of the following values: - -ALL – User receives all messages. -NONE – User receives no messages. - */ - OptOut?: __string; - /** - * The unique ID for the most recent request to update the endpoint. - */ - RequestId?: __string; - /** - * Custom user-specific attributes that your app reports to Amazon Pinpoint. - */ - User?: EndpointUser; - } - export interface EndpointBatchRequest { - /** - * List of items to update. Maximum 100 items - */ - Item?: ListOfEndpointBatchItem; - } - export interface EndpointDemographic { - /** - * The version of the application associated with the endpoint. - */ - AppVersion?: __string; - /** - * The endpoint locale in the following format: The ISO 639-1 alpha-2 code, followed by an underscore, followed by an ISO 3166-1 alpha-2 value. - - */ - Locale?: __string; - /** - * The endpoint make, such as such as Apple or Samsung. - */ - Make?: __string; - /** - * The endpoint model, such as iPhone. - */ - Model?: __string; - /** - * The endpoint model version. - */ - ModelVersion?: __string; - /** - * The endpoint platform, such as ios or android. - */ - Platform?: __string; - /** - * The endpoint platform version. - */ - PlatformVersion?: __string; - /** - * The timezone of the endpoint. Specified as a tz database value, such as Americas/Los_Angeles. - */ - Timezone?: __string; - } - export interface EndpointLocation { - /** - * The city where the endpoint is located. - */ - City?: __string; - /** - * Country according to ISO 3166-1 Alpha-2 codes. For example, US. - */ - Country?: __string; - /** - * The latitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile). - */ - Latitude?: __double; - /** - * The longitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile). - */ - Longitude?: __double; - /** - * The postal code or zip code of the endpoint. - */ - PostalCode?: __string; - /** - * The region of the endpoint location. For example, corresponds to a state in US. - */ - Region?: __string; - } - export interface EndpointRequest { - /** - * The address or token of the endpoint as provided by your push provider (e.g. DeviceToken or RegistrationId). - */ - Address?: __string; - /** - * Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment. - */ - Attributes?: MapOfListOf__string; - /** - * The channel type. - -Valid values: APNS, GCM - */ - ChannelType?: ChannelType; - /** - * The endpoint demographic attributes. - */ - Demographic?: EndpointDemographic; - /** - * The last time the endpoint was updated. Provided in ISO 8601 format. - */ - EffectiveDate?: __string; - /** - * The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated. - */ - EndpointStatus?: __string; - /** - * The endpoint location attributes. - */ - Location?: EndpointLocation; - /** - * Custom metrics that your app reports to Amazon Pinpoint. - */ - Metrics?: MapOf__double; - /** - * Indicates whether a user has opted out of receiving messages with one of the following values: - -ALL – User receives all messages. -NONE – User receives no messages. - */ - OptOut?: __string; - /** - * The unique ID for the most recent request to update the endpoint. - */ - RequestId?: __string; - /** - * Custom user-specific attributes that your app reports to Amazon Pinpoint. - */ - User?: EndpointUser; - } - export interface EndpointResponse { - /** - * The address or token of the endpoint as provided by your push provider (e.g. DeviceToken or RegistrationId). - */ - Address?: __string; - /** - * The ID of the application associated with the endpoint. - */ - ApplicationId?: __string; - /** - * Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment. - */ - Attributes?: MapOfListOf__string; - /** - * The channel type. - -Valid values: APNS, GCM - */ - ChannelType?: ChannelType; - /** - * A number from 0 - 99 that represents the cohort the endpoint is assigned to. Endpoints are grouped into cohorts randomly, and each cohort contains approximately 1 percent of the endpoints for an app. Amazon Pinpoint assigns cohorts to the holdout or treatment allocations for a campaign. - */ - CohortId?: __string; - /** - * The last time the endpoint was created. Provided in ISO 8601 format. - */ - CreationDate?: __string; - /** - * The endpoint demographic attributes. - */ - Demographic?: EndpointDemographic; - /** - * The last time the endpoint was updated. Provided in ISO 8601 format. - */ - EffectiveDate?: __string; - /** - * The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated. - */ - EndpointStatus?: __string; - /** - * The unique ID that you assigned to the endpoint. The ID should be a globally unique identifier (GUID) to ensure that it is unique compared to all other endpoints for the application. - */ - Id?: __string; - /** - * The endpoint location attributes. - */ - Location?: EndpointLocation; - /** - * Custom metrics that your app reports to Amazon Pinpoint. - */ - Metrics?: MapOf__double; - /** - * Indicates whether a user has opted out of receiving messages with one of the following values: - -ALL – User receives all messages. -NONE – User receives no messages. - */ - OptOut?: __string; - /** - * The unique ID for the most recent request to update the endpoint. - */ - RequestId?: __string; - /** - * Custom user-specific attributes that your app reports to Amazon Pinpoint. - */ - User?: EndpointUser; - /** - * The ShardId of endpoint - */ - ShardId?: __string; - } - export interface EndpointUser { - /** - * Custom attributes specific to the user. - */ - UserAttributes?: MapOfListOf__string; - /** - * The unique ID of the user. - */ - UserId?: __string; - } - export interface EventStream { - /** - * The ID of the application from which events should be published. - */ - ApplicationId?: __string; - /** - * The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. - Firehose ARN: arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME - Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAME - */ - DestinationStreamArn?: __string; - /** - * The external ID assigned the IAM role that authorizes Amazon Pinpoint to publish to the stream. - */ - ExternalId?: __string; - /** - * The date the event stream was last updated in ISO 8601 format. - */ - LastModifiedDate?: __string; - /** - * The IAM user who last modified the event stream. - */ - LastUpdatedBy?: __string; - /** - * The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account. - */ - RoleArn?: __string; - } - export type Format = "CSV"|"JSON"|string; - export type Frequency = "ONCE"|"HOURLY"|"DAILY"|"WEEKLY"|"MONTHLY"|string; - export interface GCMChannelRequest { - /** - * Platform credential API key from Google. - */ - ApiKey?: __string; - /** - * If the channel is enabled for sending messages. - */ - Enabled?: __boolean; - } - export interface GCMChannelResponse { - /** - * The ID of the application to which the channel applies. - */ - ApplicationId?: __string; - /** - * When was this segment created - */ - CreationDate?: __string; - /** - * The GCM API key from Google. - */ - Credential?: __string; - /** - * If the channel is enabled for sending messages. - */ - Enabled?: __boolean; - /** - * Channel ID. Not used, only for backwards compatibility. - */ - Id?: __string; - /** - * Is this channel archived - */ - IsArchived?: __boolean; - /** - * Who last updated this entry - */ - LastModifiedBy?: __string; - /** - * Last date this was updated - */ - LastModifiedDate?: __string; - /** - * The platform type. Will be GCM - */ - Platform?: __string; - /** - * Version of channel - */ - Version?: __integer; - } - export interface GCMMessage { - /** - * The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action. DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app. URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify. Possible values include: OPEN_APP | DEEP_LINK | URL - */ - Action?: Action; - /** - * The message body of the notification, the email body or the text message. - */ - Body?: __string; - /** - * This parameter identifies a group of messages (e.g., with collapse_key: "Updates Available") that can be collapsed, so that only the last message gets sent when delivery can be resumed. This is intended to avoid sending too many of the same messages when the device comes back online or becomes active. - */ - CollapseKey?: __string; - /** - * The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object - */ - Data?: MapOf__string; - /** - * The icon image name of the asset saved in your application. - */ - IconReference?: __string; - /** - * The URL that points to an image used as the large icon to the notification content view. - */ - ImageIconUrl?: __string; - /** - * The URL that points to an image used in the push notification. - */ - ImageUrl?: __string; - /** - * The Raw JSON formatted string to be used as the payload. This value overrides the message. - */ - RawContent?: __string; - /** - * This parameter specifies the package name of the application where the registration tokens must match in order to receive the message. - */ - RestrictedPackageName?: __string; - /** - * Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases. - */ - SilentPush?: __boolean; - /** - * The URL that points to an image used as the small icon for the notification which will be used to represent the notification in the status bar and content view - */ - SmallImageIconUrl?: __string; - /** - * Indicates a sound to play when the device receives the notification. Supports default, or the filename of a sound resource bundled in the app. Android sound files must reside in /res/raw/ - */ - Sound?: __string; - /** - * Default message substitutions. Can be overridden by individual address substitutions. - */ - Substitutions?: MapOfListOf__string; - /** - * The message title that displays above the message on the user's device. - */ - Title?: __string; - /** - * The URL to open in the user's mobile browser. Used if the value for Action is URL. - */ - Url?: __string; - } - export interface GetApnsChannelRequest { - ApplicationId: __string; - } - export interface GetApnsChannelResponse { - APNSChannelResponse: APNSChannelResponse; - } - export interface GetApnsSandboxChannelRequest { - ApplicationId: __string; - } - export interface GetApnsSandboxChannelResponse { - APNSSandboxChannelResponse: APNSSandboxChannelResponse; - } - export interface GetApplicationSettingsRequest { - ApplicationId: __string; - } - export interface GetApplicationSettingsResponse { - ApplicationSettingsResource: ApplicationSettingsResource; - } - export interface GetCampaignActivitiesRequest { - ApplicationId: __string; - CampaignId: __string; - PageSize?: __string; - Token?: __string; - } - export interface GetCampaignActivitiesResponse { - ActivitiesResponse: ActivitiesResponse; - } - export interface GetCampaignRequest { - ApplicationId: __string; - CampaignId: __string; - } - export interface GetCampaignResponse { - CampaignResponse: CampaignResponse; - } - export interface GetCampaignVersionRequest { - ApplicationId: __string; - CampaignId: __string; - Version: __string; - } - export interface GetCampaignVersionResponse { - CampaignResponse: CampaignResponse; - } - export interface GetCampaignVersionsRequest { - ApplicationId: __string; - CampaignId: __string; - PageSize?: __string; - Token?: __string; - } - export interface GetCampaignVersionsResponse { - CampaignsResponse: CampaignsResponse; - } - export interface GetCampaignsRequest { - ApplicationId: __string; - PageSize?: __string; - Token?: __string; - } - export interface GetCampaignsResponse { - CampaignsResponse: CampaignsResponse; - } - export interface GetEmailChannelRequest { - ApplicationId: __string; - } - export interface GetEmailChannelResponse { - EmailChannelResponse: EmailChannelResponse; - } - export interface GetEndpointRequest { - ApplicationId: __string; - EndpointId: __string; - } - export interface GetEndpointResponse { - EndpointResponse: EndpointResponse; - } - export interface GetEventStreamRequest { - /** - * ApplicationId - */ - ApplicationId: __string; - } - export interface GetEventStreamResponse { - EventStream: EventStream; - } - export interface GetGcmChannelRequest { - ApplicationId: __string; - } - export interface GetGcmChannelResponse { - GCMChannelResponse: GCMChannelResponse; - } - export interface GetImportJobRequest { - ApplicationId: __string; - JobId: __string; - } - export interface GetImportJobResponse { - ImportJobResponse: ImportJobResponse; - } - export interface GetImportJobsRequest { - ApplicationId: __string; - PageSize?: __string; - Token?: __string; - } - export interface GetImportJobsResponse { - ImportJobsResponse: ImportJobsResponse; - } - export interface GetSegmentImportJobsRequest { - ApplicationId: __string; - PageSize?: __string; - SegmentId: __string; - Token?: __string; - } - export interface GetSegmentImportJobsResponse { - ImportJobsResponse: ImportJobsResponse; - } - export interface GetSegmentRequest { - ApplicationId: __string; - SegmentId: __string; - } - export interface GetSegmentResponse { - SegmentResponse: SegmentResponse; - } - export interface GetSegmentVersionRequest { - ApplicationId: __string; - SegmentId: __string; - Version: __string; - } - export interface GetSegmentVersionResponse { - SegmentResponse: SegmentResponse; - } - export interface GetSegmentVersionsRequest { - ApplicationId: __string; - PageSize?: __string; - SegmentId: __string; - Token?: __string; - } - export interface GetSegmentVersionsResponse { - SegmentsResponse: SegmentsResponse; - } - export interface GetSegmentsRequest { - ApplicationId: __string; - PageSize?: __string; - Token?: __string; - } - export interface GetSegmentsResponse { - SegmentsResponse: SegmentsResponse; - } - export interface GetSmsChannelRequest { - ApplicationId: __string; - } - export interface GetSmsChannelResponse { - SMSChannelResponse: SMSChannelResponse; - } - export interface ImportJobRequest { - /** - * Sets whether the endpoints create a segment when they are imported. - */ - DefineSegment?: __boolean; - /** - * A unique, custom ID assigned to the IAM role that restricts who can assume the role. - */ - ExternalId?: __string; - /** - * The format of the files that contain the endpoint definitions. -Valid values: CSV, JSON - */ - Format?: Format; - /** - * Sets whether the endpoints are registered with Amazon Pinpoint when they are imported. - */ - RegisterEndpoints?: __boolean; - /** - * The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import. - */ - RoleArn?: __string; - /** - * A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. -The URL should follow this format: s3://bucket-name/folder-name/file-name - -Amazon Pinpoint will import endpoints from this location and any subfolders it contains. - */ - S3Url?: __string; - /** - * The ID of the segment to update if the import job is meant to update an existing segment. - */ - SegmentId?: __string; - /** - * A custom name for the segment created by the import job. Use if DefineSegment is true. - */ - SegmentName?: __string; - } - export interface ImportJobResource { - /** - * Sets whether the endpoints create a segment when they are imported. - */ - DefineSegment?: __boolean; - /** - * A unique, custom ID assigned to the IAM role that restricts who can assume the role. - */ - ExternalId?: __string; - /** - * The format of the files that contain the endpoint definitions. -Valid values: CSV, JSON - */ - Format?: Format; - /** - * Sets whether the endpoints are registered with Amazon Pinpoint when they are imported. - */ - RegisterEndpoints?: __boolean; - /** - * The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import. - */ - RoleArn?: __string; - /** - * A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. -The URL should follow this format: s3://bucket-name/folder-name/file-name - -Amazon Pinpoint will import endpoints from this location and any subfolders it contains. - */ - S3Url?: __string; - /** - * The ID of the segment to update if the import job is meant to update an existing segment. - */ - SegmentId?: __string; - /** - * A custom name for the segment created by the import job. Use if DefineSegment is true. - */ - SegmentName?: __string; - } - export interface ImportJobResponse { - /** - * The unique ID of the application to which the import job applies. - */ - ApplicationId?: __string; - /** - * The number of pieces that have successfully imported as of the time of the request. - */ - CompletedPieces?: __integer; - /** - * The date the import job completed in ISO 8601 format. - */ - CompletionDate?: __string; - /** - * The date the import job was created in ISO 8601 format. - */ - CreationDate?: __string; - /** - * The import job settings. - */ - Definition?: ImportJobResource; - /** - * The number of pieces that have failed to import as of the time of the request. - */ - FailedPieces?: __integer; - /** - * Provides up to 100 of the first failed entries for the job, if any exist. - */ - Failures?: ListOf__string; - /** - * The unique ID of the import job. - */ - Id?: __string; - /** - * The status of the import job. -Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING, COMPLETED, FAILING, FAILED - -The job status is FAILED if one or more pieces failed to import. - */ - JobStatus?: JobStatus; - /** - * The number of endpoints that failed to import; for example, because of syntax errors. - */ - TotalFailures?: __integer; - /** - * The total number of pieces that must be imported to finish the job. Each piece is an approximately equal portion of the endpoints to import. - */ - TotalPieces?: __integer; - /** - * The number of endpoints that were processed by the import job. - */ - TotalProcessed?: __integer; - /** - * The job type. Will be Import. - */ - Type?: __string; - } - export interface ImportJobsResponse { - /** - * A list of import jobs for the application. - */ - Item?: ListOfImportJobResponse; - /** - * The string that you use in a subsequent request to get the next page of results in a paginated response. - */ - NextToken?: __string; - } - export type JobStatus = "CREATED"|"INITIALIZING"|"PROCESSING"|"COMPLETING"|"COMPLETED"|"FAILING"|"FAILED"|string; - export type ListOfActivityResponse = ActivityResponse[]; - export type ListOfCampaignResponse = CampaignResponse[]; - export type ListOfEndpointBatchItem = EndpointBatchItem[]; - export type ListOfImportJobResponse = ImportJobResponse[]; - export type ListOfSegmentResponse = SegmentResponse[]; - export type ListOfTreatmentResource = TreatmentResource[]; - export type ListOfWriteTreatmentResource = WriteTreatmentResource[]; - export type ListOf__string = __string[]; - export type MapOfAddressConfiguration = {[key: string]: AddressConfiguration}; - export type MapOfAttributeDimension = {[key: string]: AttributeDimension}; - export type MapOfListOf__string = {[key: string]: ListOf__string}; - export type MapOfMessageResult = {[key: string]: MessageResult}; - export type MapOf__double = {[key: string]: __double}; - export type MapOf__integer = {[key: string]: __integer}; - export type MapOf__string = {[key: string]: __string}; - export interface Message { - /** - * The action that occurs if the user taps a push notification delivered by the campaign: -OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action. - -DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app. - -URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify. - */ - Action?: Action; - /** - * The message body. Can include up to 140 characters. - */ - Body?: __string; - /** - * The URL that points to the icon image for the push notification icon, for example, the app icon. - */ - ImageIconUrl?: __string; - /** - * The URL that points to the small icon image for the push notification icon, for example, the app icon. - */ - ImageSmallIconUrl?: __string; - /** - * The URL that points to an image used in the push notification. - */ - ImageUrl?: __string; - /** - * The JSON payload used for a silent push. - */ - JsonBody?: __string; - /** - * The URL that points to the media resource, for example a .mp4 or .gif file. - */ - MediaUrl?: __string; - /** - * Indicates if the message should display on the users device. - -Silent pushes can be used for Remote Configuration and Phone Home use cases. - */ - SilentPush?: __boolean; - /** - * The message title that displays above the message on the user's device. - */ - Title?: __string; - /** - * The URL to open in the user's mobile browser. Used if the value for Action is URL. - */ - Url?: __string; - } - export interface MessageBody { - /** - * The error message returned from the API. - */ - Message?: __string; - /** - * The unique message body ID. - */ - RequestID?: __string; - } - export interface MessageConfiguration { - /** - * The message that the campaign delivers to APNS channels. Overrides the default message. - */ - APNSMessage?: Message; - /** - * The default message for all channels. - */ - DefaultMessage?: Message; - /** - * The email message configuration. - */ - EmailMessage?: CampaignEmailMessage; - /** - * The message that the campaign delivers to GCM channels. Overrides the default message. - */ - GCMMessage?: Message; - /** - * The SMS message configuration. - */ - SMSMessage?: CampaignSmsMessage; - } - export interface MessageRequest { - /** - * A map of destination addresses, with the address as the key(Email address, phone number or push token) and the Address Configuration as the value. - */ - Addresses?: MapOfAddressConfiguration; - /** - * A map of custom attributes to attributes to be attached to the message. This payload is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes. - */ - Context?: MapOf__string; - /** - * Message configuration. - */ - MessageConfiguration?: DirectMessageConfiguration; - } - export interface MessageResponse { - /** - * Application id of the message. - */ - ApplicationId?: __string; - /** - * Original request Id for which this message was delivered. - */ - RequestId?: __string; - /** - * A map containing a multi part response for each address, with the address as the key(Email address, phone number or push token) and the result as the value. - */ - Result?: MapOfMessageResult; - } - export interface MessageResult { - /** - * Delivery status of message. - */ - DeliveryStatus?: DeliveryStatus; - /** - * Downstream service status code. - */ - StatusCode?: __integer; - /** - * Status message for message delivery. - */ - StatusMessage?: __string; - /** - * If token was updated as part of delivery. (This is GCM Specific) - */ - UpdatedToken?: __string; - } - export type MessageType = "TRANSACTIONAL"|"PROMOTIONAL"|string; - export interface PutEventStreamRequest { - /** - * ApplicationId - */ - ApplicationId: __string; - /** - * EventStream to write. - */ - WriteEventStream: WriteEventStream; - } - export interface PutEventStreamResponse { - EventStream: EventStream; - } - export interface QuietTime { - /** - * The default end time for quiet time in ISO 8601 format. - */ - End?: __string; - /** - * The default start time for quiet time in ISO 8601 format. - */ - Start?: __string; - } - export interface RecencyDimension { - /** - * The length of time during which users have been active or inactive with your app. -Valid values: HR_24, DAY_7, DAY_14, DAY_30 - */ - Duration?: Duration; - /** - * The recency dimension type: -ACTIVE - Users who have used your app within the specified duration are included in the segment. -INACTIVE - Users who have not used your app within the specified duration are included in the segment. - */ - RecencyType?: RecencyType; - } - export type RecencyType = "ACTIVE"|"INACTIVE"|string; - export interface SMSChannelRequest { - /** - * If the channel is enabled for sending messages. - */ - Enabled?: __boolean; - /** - * Sender identifier of your messages. - */ - SenderId?: __string; - } - export interface SMSChannelResponse { - /** - * Application id - */ - ApplicationId?: __string; - /** - * The date that the settings were last updated in ISO 8601 format. - */ - CreationDate?: __string; - /** - * If the channel is enabled for sending messages. - */ - Enabled?: __boolean; - /** - * Channel ID. Not used, only for backwards compatibility. - */ - Id?: __string; - /** - * Is this channel archived - */ - IsArchived?: __boolean; - /** - * Who last updated this entry - */ - LastModifiedBy?: __string; - /** - * Last date this was updated - */ - LastModifiedDate?: __string; - /** - * Platform type. Will be "SMS" - */ - Platform?: __string; - /** - * Sender identifier of your messages. - */ - SenderId?: __string; - /** - * The short code registered with the phone provider. - */ - ShortCode?: __string; - /** - * Version of channel - */ - Version?: __integer; - } - export interface SMSMessage { - /** - * The message body of the notification, the email body or the text message. - */ - Body?: __string; - /** - * Is this a transaction priority message or lower priority. - */ - MessageType?: MessageType; - /** - * Sender ID of sent message. - */ - SenderId?: __string; - /** - * Default message substitutions. Can be overridden by individual address substitutions. - */ - Substitutions?: MapOfListOf__string; - } - export interface Schedule { - /** - * The scheduled time that the campaign ends in ISO 8601 format. - */ - EndTime?: __string; - /** - * How often the campaign delivers messages. - -Valid values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLY - */ - Frequency?: Frequency; - /** - * Indicates whether the campaign schedule takes effect according to each user's local time. - */ - IsLocalTime?: __boolean; - /** - * The time during which the campaign sends no messages. - */ - QuietTime?: QuietTime; - /** - * The scheduled time that the campaign begins in ISO 8601 format. - */ - StartTime?: __string; - /** - * The starting UTC offset for the schedule if the value for isLocalTime is true - -Valid values: -UTC -UTC+01 -UTC+02 -UTC+03 -UTC+03:30 -UTC+04 -UTC+04:30 -UTC+05 -UTC+05:30 -UTC+05:45 -UTC+06 -UTC+06:30 -UTC+07 -UTC+08 -UTC+09 -UTC+09:30 -UTC+10 -UTC+10:30 -UTC+11 -UTC+12 -UTC+13 -UTC-02 -UTC-03 -UTC-04 -UTC-05 -UTC-06 -UTC-07 -UTC-08 -UTC-09 -UTC-10 -UTC-11 - */ - Timezone?: __string; - } - export interface SegmentBehaviors { - /** - * The recency of use. - */ - Recency?: RecencyDimension; - } - export interface SegmentDemographics { - /** - * The app version criteria for the segment. - */ - AppVersion?: SetDimension; - /** - * The channel criteria for the segment. - */ - Channel?: SetDimension; - /** - * The device type criteria for the segment. - */ - DeviceType?: SetDimension; - /** - * The device make criteria for the segment. - */ - Make?: SetDimension; - /** - * The device model criteria for the segment. - */ - Model?: SetDimension; - /** - * The device platform criteria for the segment. - */ - Platform?: SetDimension; - } - export interface SegmentDimensions { - /** - * Custom segment attributes. - */ - Attributes?: MapOfAttributeDimension; - /** - * The segment behaviors attributes. - */ - Behavior?: SegmentBehaviors; - /** - * The segment demographics attributes. - */ - Demographic?: SegmentDemographics; - /** - * The segment location attributes. - */ - Location?: SegmentLocation; - /** - * Custom segment user attributes. - */ - UserAttributes?: MapOfAttributeDimension; - } - export interface SegmentImportResource { - /** - * Channel type counts - */ - ChannelCounts?: MapOf__integer; - /** - * A unique, custom ID assigned to the IAM role that restricts who can assume the role. - */ - ExternalId?: __string; - /** - * The format of the endpoint files that were imported to create this segment. -Valid values: CSV, JSON - */ - Format?: Format; - /** - * The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the endpoints in Amazon S3. - */ - RoleArn?: __string; - /** - * A URL that points to the Amazon S3 location from which the endpoints for this segment were imported. - */ - S3Url?: __string; - /** - * The number of endpoints that were successfully imported to create this segment. - */ - Size?: __integer; - } - export interface SegmentLocation { - /** - * The country filter according to ISO 3166-1 Alpha-2 codes. - */ - Country?: SetDimension; - } - export interface SegmentResponse { - /** - * The ID of the application to which the segment applies. - */ - ApplicationId?: __string; - /** - * The date the segment was created in ISO 8601 format. - */ - CreationDate?: __string; - /** - * The segment dimensions attributes. - */ - Dimensions?: SegmentDimensions; - /** - * The unique segment ID. - */ - Id?: __string; - /** - * The import job settings. - */ - ImportDefinition?: SegmentImportResource; - /** - * The date the segment was last updated in ISO 8601 format. - */ - LastModifiedDate?: __string; - /** - * The name of segment - */ - Name?: __string; - /** - * The segment type: -DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data reported by your app. You create this type of segment by using the segment builder in the Amazon Pinpoint console or by making a POST request to the segments resource. -IMPORT - A static segment built from an imported set of endpoint definitions. You create this type of segment by importing a segment in the Amazon Pinpoint console or by making a POST request to the jobs/import resource. - */ - SegmentType?: SegmentType; - /** - * The segment version number. - */ - Version?: __integer; - } - export type SegmentType = "DIMENSIONAL"|"IMPORT"|string; - export interface SegmentsResponse { - /** - * The list of segments. - */ - Item?: ListOfSegmentResponse; - /** - * An identifier used to retrieve the next page of results. The token is null if no additional pages exist. - */ - NextToken?: __string; - } - export interface SendMessagesRequest { - ApplicationId: __string; - MessageRequest: MessageRequest; - } - export interface SendMessagesResponse { - MessageResponse: MessageResponse; - } - export interface SetDimension { - /** - * The type of dimension: -INCLUSIVE - Endpoints that match the criteria are included in the segment. -EXCLUSIVE - Endpoints that match the criteria are excluded from the segment. - */ - DimensionType?: DimensionType; - /** - * The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type. - */ - Values?: ListOf__string; - } - export interface TreatmentResource { - /** - * The unique treatment ID. - */ - Id?: __string; - /** - * The message configuration settings. - */ - MessageConfiguration?: MessageConfiguration; - /** - * The campaign schedule. - */ - Schedule?: Schedule; - /** - * The allocated percentage of users for this treatment. - */ - SizePercent?: __integer; - /** - * The treatment status. - */ - State?: CampaignState; - /** - * A custom description for the treatment. - */ - TreatmentDescription?: __string; - /** - * The custom name of a variation of the campaign used for A/B testing. - */ - TreatmentName?: __string; - } - export interface UpdateApnsChannelRequest { - APNSChannelRequest: APNSChannelRequest; - ApplicationId: __string; - } - export interface UpdateApnsChannelResponse { - APNSChannelResponse: APNSChannelResponse; - } - export interface UpdateApnsSandboxChannelRequest { - APNSSandboxChannelRequest: APNSSandboxChannelRequest; - ApplicationId: __string; - } - export interface UpdateApnsSandboxChannelResponse { - APNSSandboxChannelResponse: APNSSandboxChannelResponse; - } - export interface UpdateApplicationSettingsRequest { - ApplicationId: __string; - WriteApplicationSettingsRequest: WriteApplicationSettingsRequest; - } - export interface UpdateApplicationSettingsResponse { - ApplicationSettingsResource: ApplicationSettingsResource; - } - export interface UpdateCampaignRequest { - ApplicationId: __string; - CampaignId: __string; - WriteCampaignRequest: WriteCampaignRequest; - } - export interface UpdateCampaignResponse { - CampaignResponse: CampaignResponse; - } - export interface UpdateEmailChannelRequest { - ApplicationId: __string; - EmailChannelRequest: EmailChannelRequest; - } - export interface UpdateEmailChannelResponse { - EmailChannelResponse: EmailChannelResponse; - } - export interface UpdateEndpointRequest { - ApplicationId: __string; - EndpointId: __string; - EndpointRequest: EndpointRequest; - } - export interface UpdateEndpointResponse { - MessageBody: MessageBody; - } - export interface UpdateEndpointsBatchRequest { - ApplicationId: __string; - EndpointBatchRequest: EndpointBatchRequest; - } - export interface UpdateEndpointsBatchResponse { - MessageBody: MessageBody; - } - export interface UpdateGcmChannelRequest { - ApplicationId: __string; - GCMChannelRequest: GCMChannelRequest; - } - export interface UpdateGcmChannelResponse { - GCMChannelResponse: GCMChannelResponse; - } - export interface UpdateSegmentRequest { - ApplicationId: __string; - SegmentId: __string; - WriteSegmentRequest: WriteSegmentRequest; - } - export interface UpdateSegmentResponse { - SegmentResponse: SegmentResponse; - } - export interface UpdateSmsChannelRequest { - ApplicationId: __string; - SMSChannelRequest: SMSChannelRequest; - } - export interface UpdateSmsChannelResponse { - SMSChannelResponse: SMSChannelResponse; - } - export interface WriteApplicationSettingsRequest { - /** - * The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own. - */ - Limits?: CampaignLimits; - /** - * The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own. - */ - QuietTime?: QuietTime; - } - export interface WriteCampaignRequest { - /** - * Treatments that are defined in addition to the default treatment. - */ - AdditionalTreatments?: ListOfWriteTreatmentResource; - /** - * A description of the campaign. - */ - Description?: __string; - /** - * The allocated percentage of end users who will not receive messages from this campaign. - */ - HoldoutPercent?: __integer; - /** - * Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false. - */ - IsPaused?: __boolean; - /** - * The campaign limits settings. - */ - Limits?: CampaignLimits; - /** - * The message configuration settings. - */ - MessageConfiguration?: MessageConfiguration; - /** - * The custom name of the campaign. - */ - Name?: __string; - /** - * The campaign schedule. - */ - Schedule?: Schedule; - /** - * The ID of the segment to which the campaign sends messages. - */ - SegmentId?: __string; - /** - * The version of the segment to which the campaign sends messages. - */ - SegmentVersion?: __integer; - /** - * A custom description for the treatment. - */ - TreatmentDescription?: __string; - /** - * The custom name of a variation of the campaign used for A/B testing. - */ - TreatmentName?: __string; - } - export interface WriteEventStream { - /** - * The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. - Firehose ARN: arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME - Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAME - */ - DestinationStreamArn?: __string; - /** - * The external ID assigned the IAM role that authorizes Amazon Pinpoint to publish to the stream. - */ - ExternalId?: __string; - /** - * The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account. - */ - RoleArn?: __string; - } - export interface WriteSegmentRequest { - /** - * The segment dimensions attributes. - */ - Dimensions?: SegmentDimensions; - /** - * The name of segment - */ - Name?: __string; - } - export interface WriteTreatmentResource { - /** - * The message configuration settings. - */ - MessageConfiguration?: MessageConfiguration; - /** - * The campaign schedule. - */ - Schedule?: Schedule; - /** - * The allocated percentage of users for this treatment. - */ - SizePercent?: __integer; - /** - * A custom description for the treatment. - */ - TreatmentDescription?: __string; - /** - * The custom name of a variation of the campaign used for A/B testing. - */ - TreatmentName?: __string; - } - export type __boolean = boolean; - export type __double = number; - export type __integer = number; - export type __string = string; - export type __timestamp = Date; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-12-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Pinpoint client. - */ - export import Types = Pinpoint; -} -export = Pinpoint; diff --git a/src/node_modules/aws-sdk/clients/pinpoint.js b/src/node_modules/aws-sdk/clients/pinpoint.js deleted file mode 100644 index 57880ca..0000000 --- a/src/node_modules/aws-sdk/clients/pinpoint.js +++ /dev/null @@ -1,17 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['pinpoint'] = {}; -AWS.Pinpoint = Service.defineService('pinpoint', ['2016-12-01']); -Object.defineProperty(apiLoader.services['pinpoint'], '2016-12-01', { - get: function get() { - var model = require('../apis/pinpoint-2016-12-01.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Pinpoint; diff --git a/src/node_modules/aws-sdk/clients/polly.d.ts b/src/node_modules/aws-sdk/clients/polly.d.ts deleted file mode 100644 index 9f6e90c..0000000 --- a/src/node_modules/aws-sdk/clients/polly.d.ts +++ /dev/null @@ -1,294 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {PollyCustomizations} from '../lib/services/polly'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -import {Presigner as presigner} from '../lib/polly/presigner'; -interface Blob {} -declare class Polly extends PollyCustomizations { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Polly.Types.ClientConfiguration) - config: Config & Polly.Types.ClientConfiguration; - /** - * Deletes the specified pronunciation lexicon stored in an AWS Region. A lexicon which has been deleted is not available for speech synthesis, nor is it possible to retrieve it using either the GetLexicon or ListLexicon APIs. For more information, see Managing Lexicons. - */ - deleteLexicon(params: Polly.Types.DeleteLexiconInput, callback?: (err: AWSError, data: Polly.Types.DeleteLexiconOutput) => void): Request; - /** - * Deletes the specified pronunciation lexicon stored in an AWS Region. A lexicon which has been deleted is not available for speech synthesis, nor is it possible to retrieve it using either the GetLexicon or ListLexicon APIs. For more information, see Managing Lexicons. - */ - deleteLexicon(callback?: (err: AWSError, data: Polly.Types.DeleteLexiconOutput) => void): Request; - /** - * Returns the list of voices that are available for use when requesting speech synthesis. Each voice speaks a specified language, is either male or female, and is identified by an ID, which is the ASCII version of the voice name. When synthesizing speech ( SynthesizeSpeech ), you provide the voice ID for the voice you want from the list of voices returned by DescribeVoices. For example, you want your news reader application to read news in a specific language, but giving a user the option to choose the voice. Using the DescribeVoices operation you can provide the user with a list of available voices to select from. You can optionally specify a language code to filter the available voices. For example, if you specify en-US, the operation returns a list of all available US English voices. This operation requires permissions to perform the polly:DescribeVoices action. - */ - describeVoices(params: Polly.Types.DescribeVoicesInput, callback?: (err: AWSError, data: Polly.Types.DescribeVoicesOutput) => void): Request; - /** - * Returns the list of voices that are available for use when requesting speech synthesis. Each voice speaks a specified language, is either male or female, and is identified by an ID, which is the ASCII version of the voice name. When synthesizing speech ( SynthesizeSpeech ), you provide the voice ID for the voice you want from the list of voices returned by DescribeVoices. For example, you want your news reader application to read news in a specific language, but giving a user the option to choose the voice. Using the DescribeVoices operation you can provide the user with a list of available voices to select from. You can optionally specify a language code to filter the available voices. For example, if you specify en-US, the operation returns a list of all available US English voices. This operation requires permissions to perform the polly:DescribeVoices action. - */ - describeVoices(callback?: (err: AWSError, data: Polly.Types.DescribeVoicesOutput) => void): Request; - /** - * Returns the content of the specified pronunciation lexicon stored in an AWS Region. For more information, see Managing Lexicons. - */ - getLexicon(params: Polly.Types.GetLexiconInput, callback?: (err: AWSError, data: Polly.Types.GetLexiconOutput) => void): Request; - /** - * Returns the content of the specified pronunciation lexicon stored in an AWS Region. For more information, see Managing Lexicons. - */ - getLexicon(callback?: (err: AWSError, data: Polly.Types.GetLexiconOutput) => void): Request; - /** - * Returns a list of pronunciation lexicons stored in an AWS Region. For more information, see Managing Lexicons. - */ - listLexicons(params: Polly.Types.ListLexiconsInput, callback?: (err: AWSError, data: Polly.Types.ListLexiconsOutput) => void): Request; - /** - * Returns a list of pronunciation lexicons stored in an AWS Region. For more information, see Managing Lexicons. - */ - listLexicons(callback?: (err: AWSError, data: Polly.Types.ListLexiconsOutput) => void): Request; - /** - * Stores a pronunciation lexicon in an AWS Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation. For more information, see Managing Lexicons. - */ - putLexicon(params: Polly.Types.PutLexiconInput, callback?: (err: AWSError, data: Polly.Types.PutLexiconOutput) => void): Request; - /** - * Stores a pronunciation lexicon in an AWS Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation. For more information, see Managing Lexicons. - */ - putLexicon(callback?: (err: AWSError, data: Polly.Types.PutLexiconOutput) => void): Request; - /** - * Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. SSML input must be valid, well-formed SSML. Some alphabets might not be available with all the voices (for example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used. For more information, see How it Works. - */ - synthesizeSpeech(params: Polly.Types.SynthesizeSpeechInput, callback?: (err: AWSError, data: Polly.Types.SynthesizeSpeechOutput) => void): Request; - /** - * Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. SSML input must be valid, well-formed SSML. Some alphabets might not be available with all the voices (for example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used. For more information, see How it Works. - */ - synthesizeSpeech(callback?: (err: AWSError, data: Polly.Types.SynthesizeSpeechOutput) => void): Request; -} -declare namespace Polly { - export import Presigner = presigner; -} -declare namespace Polly { - export type Alphabet = string; - export type AudioStream = Buffer|Uint8Array|Blob|string; - export type ContentType = string; - export interface DeleteLexiconInput { - /** - * The name of the lexicon to delete. Must be an existing lexicon in the region. - */ - Name: LexiconName; - } - export interface DeleteLexiconOutput { - } - export interface DescribeVoicesInput { - /** - * The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned. - */ - LanguageCode?: LanguageCode; - /** - * An opaque pagination token returned from the previous DescribeVoices operation. If present, this indicates where to continue the listing. - */ - NextToken?: NextToken; - } - export interface DescribeVoicesOutput { - /** - * A list of voices with their properties. - */ - Voices?: VoiceList; - /** - * The pagination token to use in the next request to continue the listing of voices. NextToken is returned only if the response is truncated. - */ - NextToken?: NextToken; - } - export type ErrorMessage = string; - export type Gender = "Female"|"Male"|string; - export interface GetLexiconInput { - /** - * Name of the lexicon. - */ - Name: LexiconName; - } - export interface GetLexiconOutput { - /** - * Lexicon object that provides name and the string content of the lexicon. - */ - Lexicon?: Lexicon; - /** - * Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes. - */ - LexiconAttributes?: LexiconAttributes; - } - export type LanguageCode = "cy-GB"|"da-DK"|"de-DE"|"en-AU"|"en-GB"|"en-GB-WLS"|"en-IN"|"en-US"|"es-ES"|"es-US"|"fr-CA"|"fr-FR"|"is-IS"|"it-IT"|"ja-JP"|"nb-NO"|"nl-NL"|"pl-PL"|"pt-BR"|"pt-PT"|"ro-RO"|"ru-RU"|"sv-SE"|"tr-TR"|string; - export type LanguageName = string; - export type LastModified = Date; - export type LexemesCount = number; - export interface Lexicon { - /** - * Lexicon content in string format. The content of a lexicon must be in PLS format. - */ - Content?: LexiconContent; - /** - * Name of the lexicon. - */ - Name?: LexiconName; - } - export type LexiconArn = string; - export interface LexiconAttributes { - /** - * Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa. - */ - Alphabet?: Alphabet; - /** - * Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on. - */ - LanguageCode?: LanguageCode; - /** - * Date lexicon was last modified (a timestamp value). - */ - LastModified?: LastModified; - /** - * Amazon Resource Name (ARN) of the lexicon. - */ - LexiconArn?: LexiconArn; - /** - * Number of lexemes in the lexicon. - */ - LexemesCount?: LexemesCount; - /** - * Total size of the lexicon, in characters. - */ - Size?: Size; - } - export type LexiconContent = string; - export interface LexiconDescription { - /** - * Name of the lexicon. - */ - Name?: LexiconName; - /** - * Provides lexicon metadata. - */ - Attributes?: LexiconAttributes; - } - export type LexiconDescriptionList = LexiconDescription[]; - export type LexiconName = string; - export type LexiconNameList = LexiconName[]; - export interface ListLexiconsInput { - /** - * An opaque pagination token returned from previous ListLexicons operation. If present, indicates where to continue the list of lexicons. - */ - NextToken?: NextToken; - } - export interface ListLexiconsOutput { - /** - * A list of lexicon names and attributes. - */ - Lexicons?: LexiconDescriptionList; - /** - * The pagination token to use in the next request to continue the listing of lexicons. NextToken is returned only if the response is truncated. - */ - NextToken?: NextToken; - } - export type NextToken = string; - export type OutputFormat = "json"|"mp3"|"ogg_vorbis"|"pcm"|string; - export interface PutLexiconInput { - /** - * Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long. - */ - Name: LexiconName; - /** - * Content of the PLS lexicon as string data. - */ - Content: LexiconContent; - } - export interface PutLexiconOutput { - } - export type RequestCharacters = number; - export type SampleRate = string; - export type Size = number; - export type SpeechMarkType = "sentence"|"ssml"|"viseme"|"word"|string; - export type SpeechMarkTypeList = SpeechMarkType[]; - export interface SynthesizeSpeechInput { - /** - * List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice. For information about storing lexicons, see PutLexicon. - */ - LexiconNames?: LexiconNameList; - /** - * The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json. - */ - OutputFormat: OutputFormat; - /** - * The audio frequency specified in Hz. The valid values for mp3 and ogg_vorbis are "8000", "16000", and "22050". The default value is "22050". Valid values for pcm are "8000" and "16000" The default value is "16000". - */ - SampleRate?: SampleRate; - /** - * The type of speech marks returned for the input text. - */ - SpeechMarkTypes?: SpeechMarkTypeList; - /** - * Input text to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text. - */ - Text: Text; - /** - * Specifies whether the input text is plain text or SSML. The default value is plain text. For more information, see Using SSML. - */ - TextType?: TextType; - /** - * Voice ID to use for the synthesis. You can get a list of available voice IDs by calling the DescribeVoices operation. - */ - VoiceId: VoiceId; - } - export interface SynthesizeSpeechOutput { - /** - * Stream containing the synthesized speech. - */ - AudioStream?: AudioStream; - /** - * Specifies the type audio stream. This should reflect the OutputFormat parameter in your request. If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg. If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg. If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format. If you request json as the OutputFormat, the ContentType returned is audio/json. - */ - ContentType?: ContentType; - /** - * Number of characters synthesized. - */ - RequestCharacters?: RequestCharacters; - } - export type Text = string; - export type TextType = "ssml"|"text"|string; - export interface Voice { - /** - * Gender of the voice. - */ - Gender?: Gender; - /** - * Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech operation. - */ - Id?: VoiceId; - /** - * Language code of the voice. - */ - LanguageCode?: LanguageCode; - /** - * Human readable name of the language in English. - */ - LanguageName?: LanguageName; - /** - * Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application. - */ - Name?: VoiceName; - } - export type VoiceId = "Geraint"|"Gwyneth"|"Mads"|"Naja"|"Hans"|"Marlene"|"Nicole"|"Russell"|"Amy"|"Brian"|"Emma"|"Raveena"|"Ivy"|"Joanna"|"Joey"|"Justin"|"Kendra"|"Kimberly"|"Salli"|"Conchita"|"Enrique"|"Miguel"|"Penelope"|"Chantal"|"Celine"|"Mathieu"|"Dora"|"Karl"|"Carla"|"Giorgio"|"Mizuki"|"Liv"|"Lotte"|"Ruben"|"Ewa"|"Jacek"|"Jan"|"Maja"|"Ricardo"|"Vitoria"|"Cristiano"|"Ines"|"Carmen"|"Maxim"|"Tatyana"|"Astrid"|"Filiz"|"Vicki"|string; - export type VoiceList = Voice[]; - export type VoiceName = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-06-10"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Polly client. - */ - export import Types = Polly; -} -export = Polly; diff --git a/src/node_modules/aws-sdk/clients/polly.js b/src/node_modules/aws-sdk/clients/polly.js deleted file mode 100644 index a970d61..0000000 --- a/src/node_modules/aws-sdk/clients/polly.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['polly'] = {}; -AWS.Polly = Service.defineService('polly', ['2016-06-10']); -require('../lib/services/polly'); -Object.defineProperty(apiLoader.services['polly'], '2016-06-10', { - get: function get() { - var model = require('../apis/polly-2016-06-10.min.json'); - model.paginators = require('../apis/polly-2016-06-10.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Polly; diff --git a/src/node_modules/aws-sdk/clients/rds.d.ts b/src/node_modules/aws-sdk/clients/rds.d.ts deleted file mode 100644 index 46a252a..0000000 --- a/src/node_modules/aws-sdk/clients/rds.d.ts +++ /dev/null @@ -1,5044 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -import {Signer as signer} from '../lib/rds/signer'; -interface Blob {} -declare class RDS extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: RDS.Types.ClientConfiguration) - config: Config & RDS.Types.ClientConfiguration; - /** - * Associates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf. - */ - addRoleToDBCluster(params: RDS.Types.AddRoleToDBClusterMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Associates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf. - */ - addRoleToDBCluster(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds a source identifier to an existing RDS event notification subscription. - */ - addSourceIdentifierToSubscription(params: RDS.Types.AddSourceIdentifierToSubscriptionMessage, callback?: (err: AWSError, data: RDS.Types.AddSourceIdentifierToSubscriptionResult) => void): Request; - /** - * Adds a source identifier to an existing RDS event notification subscription. - */ - addSourceIdentifierToSubscription(callback?: (err: AWSError, data: RDS.Types.AddSourceIdentifierToSubscriptionResult) => void): Request; - /** - * Adds metadata tags to an Amazon RDS resource. These tags can also be used with cost allocation reporting to track cost associated with Amazon RDS resources, or used in a Condition statement in an IAM policy for Amazon RDS. For an overview on tagging Amazon RDS resources, see Tagging Amazon RDS Resources. - */ - addTagsToResource(params: RDS.Types.AddTagsToResourceMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds metadata tags to an Amazon RDS resource. These tags can also be used with cost allocation reporting to track cost associated with Amazon RDS resources, or used in a Condition statement in an IAM policy for Amazon RDS. For an overview on tagging Amazon RDS resources, see Tagging Amazon RDS Resources. - */ - addTagsToResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Applies a pending maintenance action to a resource (for example, to a DB instance). - */ - applyPendingMaintenanceAction(params: RDS.Types.ApplyPendingMaintenanceActionMessage, callback?: (err: AWSError, data: RDS.Types.ApplyPendingMaintenanceActionResult) => void): Request; - /** - * Applies a pending maintenance action to a resource (for example, to a DB instance). - */ - applyPendingMaintenanceAction(callback?: (err: AWSError, data: RDS.Types.ApplyPendingMaintenanceActionResult) => void): Request; - /** - * Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC security groups can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet. Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC). You cannot authorize ingress from an EC2 security group in one region to an Amazon RDS DB instance in another. You cannot authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another. For an overview of CIDR ranges, go to the Wikipedia Tutorial. - */ - authorizeDBSecurityGroupIngress(params: RDS.Types.AuthorizeDBSecurityGroupIngressMessage, callback?: (err: AWSError, data: RDS.Types.AuthorizeDBSecurityGroupIngressResult) => void): Request; - /** - * Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC security groups can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet. Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC). You cannot authorize ingress from an EC2 security group in one region to an Amazon RDS DB instance in another. You cannot authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another. For an overview of CIDR ranges, go to the Wikipedia Tutorial. - */ - authorizeDBSecurityGroupIngress(callback?: (err: AWSError, data: RDS.Types.AuthorizeDBSecurityGroupIngressResult) => void): Request; - /** - * Copies the specified DB cluster parameter group. - */ - copyDBClusterParameterGroup(params: RDS.Types.CopyDBClusterParameterGroupMessage, callback?: (err: AWSError, data: RDS.Types.CopyDBClusterParameterGroupResult) => void): Request; - /** - * Copies the specified DB cluster parameter group. - */ - copyDBClusterParameterGroup(callback?: (err: AWSError, data: RDS.Types.CopyDBClusterParameterGroupResult) => void): Request; - /** - * Copies a snapshot of a DB cluster. To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot. You can copy an encrypted DB cluster snapshot from another AWS region. In that case, the region where you call the CopyDBClusterSnapshot action is the destination region for the encrypted DB cluster snapshot to be copied to. To copy an encrypted DB cluster snapshot from another region, you must provide the following values: KmsKeyId - The AWS Key Management System (KMS) key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination region. PreSignedUrl - A URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot action to be called in the source region where the DB cluster snapshot will be copied from. The pre-signed URL must be a valid request for the CopyDBClusterSnapshot API action that can be executed in the source region that contains the encrypted DB cluster snapshot to be copied. The pre-signed URL request must contain the following parameter values: KmsKeyId - The KMS key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination region. This is the same identifier for both the CopyDBClusterSnapshot action that is called in the destination region, and the action contained in the pre-signed URL. DestinationRegion - The name of the region that the DB cluster snapshot will be created in. SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source region. For example, if you are copying an encrypted DB cluster snapshot from the us-west-2 region, then your SourceDBClusterSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115. To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process. TargetDBClusterSnapshotIdentifier - The identifier for the new copy of the DB cluster snapshot in the destination region. SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the ARN format for the source region and is the same value as the SourceDBClusterSnapshotIdentifier in the pre-signed URL. To cancel the copy operation once it is in progress, delete the target DB cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in "copying" status. For more information on copying encrypted DB cluster snapshots from one region to another, see Copying a DB Cluster Snapshot in the Same Account, Either in the Same Region or Across Regions in the Amazon RDS User Guide. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - copyDBClusterSnapshot(params: RDS.Types.CopyDBClusterSnapshotMessage, callback?: (err: AWSError, data: RDS.Types.CopyDBClusterSnapshotResult) => void): Request; - /** - * Copies a snapshot of a DB cluster. To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot. You can copy an encrypted DB cluster snapshot from another AWS region. In that case, the region where you call the CopyDBClusterSnapshot action is the destination region for the encrypted DB cluster snapshot to be copied to. To copy an encrypted DB cluster snapshot from another region, you must provide the following values: KmsKeyId - The AWS Key Management System (KMS) key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination region. PreSignedUrl - A URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot action to be called in the source region where the DB cluster snapshot will be copied from. The pre-signed URL must be a valid request for the CopyDBClusterSnapshot API action that can be executed in the source region that contains the encrypted DB cluster snapshot to be copied. The pre-signed URL request must contain the following parameter values: KmsKeyId - The KMS key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination region. This is the same identifier for both the CopyDBClusterSnapshot action that is called in the destination region, and the action contained in the pre-signed URL. DestinationRegion - The name of the region that the DB cluster snapshot will be created in. SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source region. For example, if you are copying an encrypted DB cluster snapshot from the us-west-2 region, then your SourceDBClusterSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115. To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process. TargetDBClusterSnapshotIdentifier - The identifier for the new copy of the DB cluster snapshot in the destination region. SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the ARN format for the source region and is the same value as the SourceDBClusterSnapshotIdentifier in the pre-signed URL. To cancel the copy operation once it is in progress, delete the target DB cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in "copying" status. For more information on copying encrypted DB cluster snapshots from one region to another, see Copying a DB Cluster Snapshot in the Same Account, Either in the Same Region or Across Regions in the Amazon RDS User Guide. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - copyDBClusterSnapshot(callback?: (err: AWSError, data: RDS.Types.CopyDBClusterSnapshotResult) => void): Request; - /** - * Copies the specified DB parameter group. - */ - copyDBParameterGroup(params: RDS.Types.CopyDBParameterGroupMessage, callback?: (err: AWSError, data: RDS.Types.CopyDBParameterGroupResult) => void): Request; - /** - * Copies the specified DB parameter group. - */ - copyDBParameterGroup(callback?: (err: AWSError, data: RDS.Types.CopyDBParameterGroupResult) => void): Request; - /** - * Copies the specified DB snapshot. The source DB snapshot must be in the "available" state. You can copy a snapshot from one AWS region to another. In that case, the region where you call the CopyDBSnapshot action is the destination region for the DB snapshot copy. You cannot copy an encrypted, shared DB snapshot from one AWS region to another. For more information about copying snapshots, see Copying a DB Snapshot in the Amazon RDS User Guide. - */ - copyDBSnapshot(params: RDS.Types.CopyDBSnapshotMessage, callback?: (err: AWSError, data: RDS.Types.CopyDBSnapshotResult) => void): Request; - /** - * Copies the specified DB snapshot. The source DB snapshot must be in the "available" state. You can copy a snapshot from one AWS region to another. In that case, the region where you call the CopyDBSnapshot action is the destination region for the DB snapshot copy. You cannot copy an encrypted, shared DB snapshot from one AWS region to another. For more information about copying snapshots, see Copying a DB Snapshot in the Amazon RDS User Guide. - */ - copyDBSnapshot(callback?: (err: AWSError, data: RDS.Types.CopyDBSnapshotResult) => void): Request; - /** - * Copies the specified option group. - */ - copyOptionGroup(params: RDS.Types.CopyOptionGroupMessage, callback?: (err: AWSError, data: RDS.Types.CopyOptionGroupResult) => void): Request; - /** - * Copies the specified option group. - */ - copyOptionGroup(callback?: (err: AWSError, data: RDS.Types.CopyOptionGroupResult) => void): Request; - /** - * Creates a new Amazon Aurora DB cluster. You can use the ReplicationSourceIdentifier parameter to create the DB cluster as a Read Replica of another DB cluster or Amazon RDS MySQL DB instance. For cross-region replication where the DB cluster identified by ReplicationSourceIdentifier is encrypted, you must also specify the PreSignedUrl parameter. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - createDBCluster(params: RDS.Types.CreateDBClusterMessage, callback?: (err: AWSError, data: RDS.Types.CreateDBClusterResult) => void): Request; - /** - * Creates a new Amazon Aurora DB cluster. You can use the ReplicationSourceIdentifier parameter to create the DB cluster as a Read Replica of another DB cluster or Amazon RDS MySQL DB instance. For cross-region replication where the DB cluster identified by ReplicationSourceIdentifier is encrypted, you must also specify the PreSignedUrl parameter. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - createDBCluster(callback?: (err: AWSError, data: RDS.Types.CreateDBClusterResult) => void): Request; - /** - * Creates a new DB cluster parameter group. Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster. A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup. Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster. When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - createDBClusterParameterGroup(params: RDS.Types.CreateDBClusterParameterGroupMessage, callback?: (err: AWSError, data: RDS.Types.CreateDBClusterParameterGroupResult) => void): Request; - /** - * Creates a new DB cluster parameter group. Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster. A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup. Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster. When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - createDBClusterParameterGroup(callback?: (err: AWSError, data: RDS.Types.CreateDBClusterParameterGroupResult) => void): Request; - /** - * Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - createDBClusterSnapshot(params: RDS.Types.CreateDBClusterSnapshotMessage, callback?: (err: AWSError, data: RDS.Types.CreateDBClusterSnapshotResult) => void): Request; - /** - * Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - createDBClusterSnapshot(callback?: (err: AWSError, data: RDS.Types.CreateDBClusterSnapshotResult) => void): Request; - /** - * Creates a new DB instance. - */ - createDBInstance(params: RDS.Types.CreateDBInstanceMessage, callback?: (err: AWSError, data: RDS.Types.CreateDBInstanceResult) => void): Request; - /** - * Creates a new DB instance. - */ - createDBInstance(callback?: (err: AWSError, data: RDS.Types.CreateDBInstanceResult) => void): Request; - /** - * Creates a DB instance for a DB instance running MySQL, MariaDB, or PostgreSQL that acts as a Read Replica of a source DB instance. Amazon Aurora does not support this action. You must call the CreateDBInstance action to create a DB instance for an Aurora DB cluster. All Read Replica DB instances are created as Single-AZ deployments with backups disabled. All other DB instance attributes (including DB security groups and DB parameter groups) are inherited from the source DB instance, except as specified below. The source DB instance must have backup retention enabled. You can create an encrypted Read Replica in a different AWS Region than the source DB instance. In that case, the region where you call the CreateDBInstanceReadReplica action is the destination region of the encrypted Read Replica. The source DB instance must be encrypted. To create an encrypted Read Replica in another AWS Region, you must provide the following values: KmsKeyId - The AWS Key Management System (KMS) key identifier for the key to use to encrypt the Read Replica in the destination region. PreSignedUrl - A URL that contains a Signature Version 4 signed request for the CreateDBInstanceReadReplica API action in the AWS region that contains the source DB instance. The PreSignedUrl parameter must be used when encrypting a Read Replica from another AWS region. The presigned URL must be a valid request for the CreateDBInstanceReadReplica API action that can be executed in the source region that contains the encrypted DB instance. The presigned URL request must contain the following parameter values: DestinationRegion - The AWS Region that the Read Replica is created in. This region is the same one where the CreateDBInstanceReadReplica action is called that contains this presigned URL. For example, if you create an encrypted Read Replica in the us-east-1 region, and the source DB instance is in the west-2 region, then you call the CreateDBInstanceReadReplica action in the us-east-1 region and provide a presigned URL that contains a call to the CreateDBInstanceReadReplica action in the us-west-2 region. For this example, the DestinationRegion in the presigned URL must be set to the us-east-1 region. KmsKeyId - The KMS key identifier for the key to use to encrypt the Read Replica in the destination region. This is the same identifier for both the CreateDBInstanceReadReplica action that is called in the destination region, and the action contained in the presigned URL. SourceDBInstanceIdentifier - The DB instance identifier for the encrypted Read Replica to be created. This identifier must be in the Amazon Resource Name (ARN) format for the source region. For example, if you create an encrypted Read Replica from a DB instance in the us-west-2 region, then your SourceDBInstanceIdentifier would look like this example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-instance-20161115. To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process. DBInstanceIdentifier - The identifier for the encrypted Read Replica in the destination region. SourceDBInstanceIdentifier - The DB instance identifier for the encrypted Read Replica. This identifier must be in the ARN format for the source region and is the same value as the SourceDBInstanceIdentifier in the presigned URL. - */ - createDBInstanceReadReplica(params: RDS.Types.CreateDBInstanceReadReplicaMessage, callback?: (err: AWSError, data: RDS.Types.CreateDBInstanceReadReplicaResult) => void): Request; - /** - * Creates a DB instance for a DB instance running MySQL, MariaDB, or PostgreSQL that acts as a Read Replica of a source DB instance. Amazon Aurora does not support this action. You must call the CreateDBInstance action to create a DB instance for an Aurora DB cluster. All Read Replica DB instances are created as Single-AZ deployments with backups disabled. All other DB instance attributes (including DB security groups and DB parameter groups) are inherited from the source DB instance, except as specified below. The source DB instance must have backup retention enabled. You can create an encrypted Read Replica in a different AWS Region than the source DB instance. In that case, the region where you call the CreateDBInstanceReadReplica action is the destination region of the encrypted Read Replica. The source DB instance must be encrypted. To create an encrypted Read Replica in another AWS Region, you must provide the following values: KmsKeyId - The AWS Key Management System (KMS) key identifier for the key to use to encrypt the Read Replica in the destination region. PreSignedUrl - A URL that contains a Signature Version 4 signed request for the CreateDBInstanceReadReplica API action in the AWS region that contains the source DB instance. The PreSignedUrl parameter must be used when encrypting a Read Replica from another AWS region. The presigned URL must be a valid request for the CreateDBInstanceReadReplica API action that can be executed in the source region that contains the encrypted DB instance. The presigned URL request must contain the following parameter values: DestinationRegion - The AWS Region that the Read Replica is created in. This region is the same one where the CreateDBInstanceReadReplica action is called that contains this presigned URL. For example, if you create an encrypted Read Replica in the us-east-1 region, and the source DB instance is in the west-2 region, then you call the CreateDBInstanceReadReplica action in the us-east-1 region and provide a presigned URL that contains a call to the CreateDBInstanceReadReplica action in the us-west-2 region. For this example, the DestinationRegion in the presigned URL must be set to the us-east-1 region. KmsKeyId - The KMS key identifier for the key to use to encrypt the Read Replica in the destination region. This is the same identifier for both the CreateDBInstanceReadReplica action that is called in the destination region, and the action contained in the presigned URL. SourceDBInstanceIdentifier - The DB instance identifier for the encrypted Read Replica to be created. This identifier must be in the Amazon Resource Name (ARN) format for the source region. For example, if you create an encrypted Read Replica from a DB instance in the us-west-2 region, then your SourceDBInstanceIdentifier would look like this example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-instance-20161115. To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process. DBInstanceIdentifier - The identifier for the encrypted Read Replica in the destination region. SourceDBInstanceIdentifier - The DB instance identifier for the encrypted Read Replica. This identifier must be in the ARN format for the source region and is the same value as the SourceDBInstanceIdentifier in the presigned URL. - */ - createDBInstanceReadReplica(callback?: (err: AWSError, data: RDS.Types.CreateDBInstanceReadReplicaResult) => void): Request; - /** - * Creates a new DB parameter group. A DB parameter group is initially created with the default parameters for the database engine used by the DB instance. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBParameterGroup. Once you've created a DB parameter group, you need to associate it with your DB instance using ModifyDBInstance. When you associate a new DB parameter group with a running DB instance, you need to reboot the DB instance without failover for the new DB parameter group and associated settings to take effect. After you create a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBParameters command to verify that your DB parameter group has been created or modified. - */ - createDBParameterGroup(params: RDS.Types.CreateDBParameterGroupMessage, callback?: (err: AWSError, data: RDS.Types.CreateDBParameterGroupResult) => void): Request; - /** - * Creates a new DB parameter group. A DB parameter group is initially created with the default parameters for the database engine used by the DB instance. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBParameterGroup. Once you've created a DB parameter group, you need to associate it with your DB instance using ModifyDBInstance. When you associate a new DB parameter group with a running DB instance, you need to reboot the DB instance without failover for the new DB parameter group and associated settings to take effect. After you create a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBParameters command to verify that your DB parameter group has been created or modified. - */ - createDBParameterGroup(callback?: (err: AWSError, data: RDS.Types.CreateDBParameterGroupResult) => void): Request; - /** - * Creates a new DB security group. DB security groups control access to a DB instance. - */ - createDBSecurityGroup(params: RDS.Types.CreateDBSecurityGroupMessage, callback?: (err: AWSError, data: RDS.Types.CreateDBSecurityGroupResult) => void): Request; - /** - * Creates a new DB security group. DB security groups control access to a DB instance. - */ - createDBSecurityGroup(callback?: (err: AWSError, data: RDS.Types.CreateDBSecurityGroupResult) => void): Request; - /** - * Creates a DBSnapshot. The source DBInstance must be in "available" state. - */ - createDBSnapshot(params: RDS.Types.CreateDBSnapshotMessage, callback?: (err: AWSError, data: RDS.Types.CreateDBSnapshotResult) => void): Request; - /** - * Creates a DBSnapshot. The source DBInstance must be in "available" state. - */ - createDBSnapshot(callback?: (err: AWSError, data: RDS.Types.CreateDBSnapshotResult) => void): Request; - /** - * Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region. - */ - createDBSubnetGroup(params: RDS.Types.CreateDBSubnetGroupMessage, callback?: (err: AWSError, data: RDS.Types.CreateDBSubnetGroupResult) => void): Request; - /** - * Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region. - */ - createDBSubnetGroup(callback?: (err: AWSError, data: RDS.Types.CreateDBSubnetGroupResult) => void): Request; - /** - * Creates an RDS event notification subscription. This action requires a topic ARN (Amazon Resource Name) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the type of source (SourceType) you want to be notified of, provide a list of RDS sources (SourceIds) that triggers the events, and provide a list of event categories (EventCategories) for events you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIdentifier = myDBInstance1, you will be notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you will receive notice of the events for that source type for all your RDS sources. If you do not specify either the SourceType nor the SourceIdentifier, you will be notified of events generated from all RDS sources belonging to your customer account. - */ - createEventSubscription(params: RDS.Types.CreateEventSubscriptionMessage, callback?: (err: AWSError, data: RDS.Types.CreateEventSubscriptionResult) => void): Request; - /** - * Creates an RDS event notification subscription. This action requires a topic ARN (Amazon Resource Name) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the type of source (SourceType) you want to be notified of, provide a list of RDS sources (SourceIds) that triggers the events, and provide a list of event categories (EventCategories) for events you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIdentifier = myDBInstance1, you will be notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you will receive notice of the events for that source type for all your RDS sources. If you do not specify either the SourceType nor the SourceIdentifier, you will be notified of events generated from all RDS sources belonging to your customer account. - */ - createEventSubscription(callback?: (err: AWSError, data: RDS.Types.CreateEventSubscriptionResult) => void): Request; - /** - * Creates a new option group. You can create up to 20 option groups. - */ - createOptionGroup(params: RDS.Types.CreateOptionGroupMessage, callback?: (err: AWSError, data: RDS.Types.CreateOptionGroupResult) => void): Request; - /** - * Creates a new option group. You can create up to 20 option groups. - */ - createOptionGroup(callback?: (err: AWSError, data: RDS.Types.CreateOptionGroupResult) => void): Request; - /** - * The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and cannot be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - deleteDBCluster(params: RDS.Types.DeleteDBClusterMessage, callback?: (err: AWSError, data: RDS.Types.DeleteDBClusterResult) => void): Request; - /** - * The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and cannot be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - deleteDBCluster(callback?: (err: AWSError, data: RDS.Types.DeleteDBClusterResult) => void): Request; - /** - * Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted cannot be associated with any DB clusters. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - deleteDBClusterParameterGroup(params: RDS.Types.DeleteDBClusterParameterGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted cannot be associated with any DB clusters. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - deleteDBClusterParameterGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated. The DB cluster snapshot must be in the available state to be deleted. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - deleteDBClusterSnapshot(params: RDS.Types.DeleteDBClusterSnapshotMessage, callback?: (err: AWSError, data: RDS.Types.DeleteDBClusterSnapshotResult) => void): Request; - /** - * Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated. The DB cluster snapshot must be in the available state to be deleted. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - deleteDBClusterSnapshot(callback?: (err: AWSError, data: RDS.Types.DeleteDBClusterSnapshotResult) => void): Request; - /** - * The DeleteDBInstance action deletes a previously provisioned DB instance. When you delete a DB instance, all automated backups for that instance are deleted and cannot be recovered. Manual DB snapshots of the DB instance to be deleted by DeleteDBInstance are not deleted. If you request a final DB snapshot the status of the Amazon RDS DB instance is deleting until the DB snapshot is created. The API action DescribeDBInstance is used to monitor the status of this operation. The action cannot be canceled or reverted once submitted. Note that when a DB instance is in a failure state and has a status of failed, incompatible-restore, or incompatible-network, you can only delete it when the SkipFinalSnapshot parameter is set to true. If the specified DB instance is part of an Amazon Aurora DB cluster, you cannot delete the DB instance if the following are true: The DB cluster is a Read Replica of another Amazon Aurora DB cluster. The DB instance is the only instance in the DB cluster. To delete a DB instance in this case, first call the PromoteReadReplicaDBCluster API action to promote the DB cluster so it's no longer a Read Replica. After the promotion completes, then call the DeleteDBInstance API action to delete the final instance in the DB cluster. - */ - deleteDBInstance(params: RDS.Types.DeleteDBInstanceMessage, callback?: (err: AWSError, data: RDS.Types.DeleteDBInstanceResult) => void): Request; - /** - * The DeleteDBInstance action deletes a previously provisioned DB instance. When you delete a DB instance, all automated backups for that instance are deleted and cannot be recovered. Manual DB snapshots of the DB instance to be deleted by DeleteDBInstance are not deleted. If you request a final DB snapshot the status of the Amazon RDS DB instance is deleting until the DB snapshot is created. The API action DescribeDBInstance is used to monitor the status of this operation. The action cannot be canceled or reverted once submitted. Note that when a DB instance is in a failure state and has a status of failed, incompatible-restore, or incompatible-network, you can only delete it when the SkipFinalSnapshot parameter is set to true. If the specified DB instance is part of an Amazon Aurora DB cluster, you cannot delete the DB instance if the following are true: The DB cluster is a Read Replica of another Amazon Aurora DB cluster. The DB instance is the only instance in the DB cluster. To delete a DB instance in this case, first call the PromoteReadReplicaDBCluster API action to promote the DB cluster so it's no longer a Read Replica. After the promotion completes, then call the DeleteDBInstance API action to delete the final instance in the DB cluster. - */ - deleteDBInstance(callback?: (err: AWSError, data: RDS.Types.DeleteDBInstanceResult) => void): Request; - /** - * Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted cannot be associated with any DB instances. - */ - deleteDBParameterGroup(params: RDS.Types.DeleteDBParameterGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted cannot be associated with any DB instances. - */ - deleteDBParameterGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a DB security group. The specified DB security group must not be associated with any DB instances. - */ - deleteDBSecurityGroup(params: RDS.Types.DeleteDBSecurityGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a DB security group. The specified DB security group must not be associated with any DB instances. - */ - deleteDBSecurityGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a DBSnapshot. If the snapshot is being copied, the copy operation is terminated. The DBSnapshot must be in the available state to be deleted. - */ - deleteDBSnapshot(params: RDS.Types.DeleteDBSnapshotMessage, callback?: (err: AWSError, data: RDS.Types.DeleteDBSnapshotResult) => void): Request; - /** - * Deletes a DBSnapshot. If the snapshot is being copied, the copy operation is terminated. The DBSnapshot must be in the available state to be deleted. - */ - deleteDBSnapshot(callback?: (err: AWSError, data: RDS.Types.DeleteDBSnapshotResult) => void): Request; - /** - * Deletes a DB subnet group. The specified database subnet group must not be associated with any DB instances. - */ - deleteDBSubnetGroup(params: RDS.Types.DeleteDBSubnetGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a DB subnet group. The specified database subnet group must not be associated with any DB instances. - */ - deleteDBSubnetGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an RDS event notification subscription. - */ - deleteEventSubscription(params: RDS.Types.DeleteEventSubscriptionMessage, callback?: (err: AWSError, data: RDS.Types.DeleteEventSubscriptionResult) => void): Request; - /** - * Deletes an RDS event notification subscription. - */ - deleteEventSubscription(callback?: (err: AWSError, data: RDS.Types.DeleteEventSubscriptionResult) => void): Request; - /** - * Deletes an existing option group. - */ - deleteOptionGroup(params: RDS.Types.DeleteOptionGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an existing option group. - */ - deleteOptionGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Lists all of the attributes for a customer account. The attributes include Amazon RDS quotas for the account, such as the number of DB instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value. This command does not take any parameters. - */ - describeAccountAttributes(params: RDS.Types.DescribeAccountAttributesMessage, callback?: (err: AWSError, data: RDS.Types.AccountAttributesMessage) => void): Request; - /** - * Lists all of the attributes for a customer account. The attributes include Amazon RDS quotas for the account, such as the number of DB instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value. This command does not take any parameters. - */ - describeAccountAttributes(callback?: (err: AWSError, data: RDS.Types.AccountAttributesMessage) => void): Request; - /** - * Lists the set of CA certificates provided by Amazon RDS for this AWS account. - */ - describeCertificates(params: RDS.Types.DescribeCertificatesMessage, callback?: (err: AWSError, data: RDS.Types.CertificateMessage) => void): Request; - /** - * Lists the set of CA certificates provided by Amazon RDS for this AWS account. - */ - describeCertificates(callback?: (err: AWSError, data: RDS.Types.CertificateMessage) => void): Request; - /** - * Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list will contain only the description of the specified DB cluster parameter group. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - describeDBClusterParameterGroups(params: RDS.Types.DescribeDBClusterParameterGroupsMessage, callback?: (err: AWSError, data: RDS.Types.DBClusterParameterGroupsMessage) => void): Request; - /** - * Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list will contain only the description of the specified DB cluster parameter group. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - describeDBClusterParameterGroups(callback?: (err: AWSError, data: RDS.Types.DBClusterParameterGroupsMessage) => void): Request; - /** - * Returns the detailed parameter list for a particular DB cluster parameter group. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - describeDBClusterParameters(params: RDS.Types.DescribeDBClusterParametersMessage, callback?: (err: AWSError, data: RDS.Types.DBClusterParameterGroupDetails) => void): Request; - /** - * Returns the detailed parameter list for a particular DB cluster parameter group. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - describeDBClusterParameters(callback?: (err: AWSError, data: RDS.Types.DBClusterParameterGroupDetails) => void): Request; - /** - * Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot. When sharing snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts. To add or remove access for an AWS account to copy or restore a manual DB cluster snapshot, or to make the manual DB cluster snapshot public or private, use the ModifyDBClusterSnapshotAttribute API action. - */ - describeDBClusterSnapshotAttributes(params: RDS.Types.DescribeDBClusterSnapshotAttributesMessage, callback?: (err: AWSError, data: RDS.Types.DescribeDBClusterSnapshotAttributesResult) => void): Request; - /** - * Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot. When sharing snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts. To add or remove access for an AWS account to copy or restore a manual DB cluster snapshot, or to make the manual DB cluster snapshot public or private, use the ModifyDBClusterSnapshotAttribute API action. - */ - describeDBClusterSnapshotAttributes(callback?: (err: AWSError, data: RDS.Types.DescribeDBClusterSnapshotAttributesResult) => void): Request; - /** - * Returns information about DB cluster snapshots. This API action supports pagination. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - describeDBClusterSnapshots(params: RDS.Types.DescribeDBClusterSnapshotsMessage, callback?: (err: AWSError, data: RDS.Types.DBClusterSnapshotMessage) => void): Request; - /** - * Returns information about DB cluster snapshots. This API action supports pagination. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - describeDBClusterSnapshots(callback?: (err: AWSError, data: RDS.Types.DBClusterSnapshotMessage) => void): Request; - /** - * Returns information about provisioned Aurora DB clusters. This API supports pagination. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - describeDBClusters(params: RDS.Types.DescribeDBClustersMessage, callback?: (err: AWSError, data: RDS.Types.DBClusterMessage) => void): Request; - /** - * Returns information about provisioned Aurora DB clusters. This API supports pagination. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - describeDBClusters(callback?: (err: AWSError, data: RDS.Types.DBClusterMessage) => void): Request; - /** - * Returns a list of the available DB engines. - */ - describeDBEngineVersions(params: RDS.Types.DescribeDBEngineVersionsMessage, callback?: (err: AWSError, data: RDS.Types.DBEngineVersionMessage) => void): Request; - /** - * Returns a list of the available DB engines. - */ - describeDBEngineVersions(callback?: (err: AWSError, data: RDS.Types.DBEngineVersionMessage) => void): Request; - /** - * Returns information about provisioned RDS instances. This API supports pagination. - */ - describeDBInstances(params: RDS.Types.DescribeDBInstancesMessage, callback?: (err: AWSError, data: RDS.Types.DBInstanceMessage) => void): Request; - /** - * Returns information about provisioned RDS instances. This API supports pagination. - */ - describeDBInstances(callback?: (err: AWSError, data: RDS.Types.DBInstanceMessage) => void): Request; - /** - * Returns a list of DB log files for the DB instance. - */ - describeDBLogFiles(params: RDS.Types.DescribeDBLogFilesMessage, callback?: (err: AWSError, data: RDS.Types.DescribeDBLogFilesResponse) => void): Request; - /** - * Returns a list of DB log files for the DB instance. - */ - describeDBLogFiles(callback?: (err: AWSError, data: RDS.Types.DescribeDBLogFilesResponse) => void): Request; - /** - * Returns a list of DBParameterGroup descriptions. If a DBParameterGroupName is specified, the list will contain only the description of the specified DB parameter group. - */ - describeDBParameterGroups(params: RDS.Types.DescribeDBParameterGroupsMessage, callback?: (err: AWSError, data: RDS.Types.DBParameterGroupsMessage) => void): Request; - /** - * Returns a list of DBParameterGroup descriptions. If a DBParameterGroupName is specified, the list will contain only the description of the specified DB parameter group. - */ - describeDBParameterGroups(callback?: (err: AWSError, data: RDS.Types.DBParameterGroupsMessage) => void): Request; - /** - * Returns the detailed parameter list for a particular DB parameter group. - */ - describeDBParameters(params: RDS.Types.DescribeDBParametersMessage, callback?: (err: AWSError, data: RDS.Types.DBParameterGroupDetails) => void): Request; - /** - * Returns the detailed parameter list for a particular DB parameter group. - */ - describeDBParameters(callback?: (err: AWSError, data: RDS.Types.DBParameterGroupDetails) => void): Request; - /** - * Returns a list of DBSecurityGroup descriptions. If a DBSecurityGroupName is specified, the list will contain only the descriptions of the specified DB security group. - */ - describeDBSecurityGroups(params: RDS.Types.DescribeDBSecurityGroupsMessage, callback?: (err: AWSError, data: RDS.Types.DBSecurityGroupMessage) => void): Request; - /** - * Returns a list of DBSecurityGroup descriptions. If a DBSecurityGroupName is specified, the list will contain only the descriptions of the specified DB security group. - */ - describeDBSecurityGroups(callback?: (err: AWSError, data: RDS.Types.DBSecurityGroupMessage) => void): Request; - /** - * Returns a list of DB snapshot attribute names and values for a manual DB snapshot. When sharing snapshots with other AWS accounts, DescribeDBSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB snapshot. If all is included in the list of values for the restore attribute, then the manual DB snapshot is public and can be copied or restored by all AWS accounts. To add or remove access for an AWS account to copy or restore a manual DB snapshot, or to make the manual DB snapshot public or private, use the ModifyDBSnapshotAttribute API action. - */ - describeDBSnapshotAttributes(params: RDS.Types.DescribeDBSnapshotAttributesMessage, callback?: (err: AWSError, data: RDS.Types.DescribeDBSnapshotAttributesResult) => void): Request; - /** - * Returns a list of DB snapshot attribute names and values for a manual DB snapshot. When sharing snapshots with other AWS accounts, DescribeDBSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB snapshot. If all is included in the list of values for the restore attribute, then the manual DB snapshot is public and can be copied or restored by all AWS accounts. To add or remove access for an AWS account to copy or restore a manual DB snapshot, or to make the manual DB snapshot public or private, use the ModifyDBSnapshotAttribute API action. - */ - describeDBSnapshotAttributes(callback?: (err: AWSError, data: RDS.Types.DescribeDBSnapshotAttributesResult) => void): Request; - /** - * Returns information about DB snapshots. This API action supports pagination. - */ - describeDBSnapshots(params: RDS.Types.DescribeDBSnapshotsMessage, callback?: (err: AWSError, data: RDS.Types.DBSnapshotMessage) => void): Request; - /** - * Returns information about DB snapshots. This API action supports pagination. - */ - describeDBSnapshots(callback?: (err: AWSError, data: RDS.Types.DBSnapshotMessage) => void): Request; - /** - * Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup. For an overview of CIDR ranges, go to the Wikipedia Tutorial. - */ - describeDBSubnetGroups(params: RDS.Types.DescribeDBSubnetGroupsMessage, callback?: (err: AWSError, data: RDS.Types.DBSubnetGroupMessage) => void): Request; - /** - * Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup. For an overview of CIDR ranges, go to the Wikipedia Tutorial. - */ - describeDBSubnetGroups(callback?: (err: AWSError, data: RDS.Types.DBSubnetGroupMessage) => void): Request; - /** - * Returns the default engine and system parameter information for the cluster database engine. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - describeEngineDefaultClusterParameters(params: RDS.Types.DescribeEngineDefaultClusterParametersMessage, callback?: (err: AWSError, data: RDS.Types.DescribeEngineDefaultClusterParametersResult) => void): Request; - /** - * Returns the default engine and system parameter information for the cluster database engine. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - describeEngineDefaultClusterParameters(callback?: (err: AWSError, data: RDS.Types.DescribeEngineDefaultClusterParametersResult) => void): Request; - /** - * Returns the default engine and system parameter information for the specified database engine. - */ - describeEngineDefaultParameters(params: RDS.Types.DescribeEngineDefaultParametersMessage, callback?: (err: AWSError, data: RDS.Types.DescribeEngineDefaultParametersResult) => void): Request; - /** - * Returns the default engine and system parameter information for the specified database engine. - */ - describeEngineDefaultParameters(callback?: (err: AWSError, data: RDS.Types.DescribeEngineDefaultParametersResult) => void): Request; - /** - * Displays a list of categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in the Events topic in the Amazon RDS User Guide. - */ - describeEventCategories(params: RDS.Types.DescribeEventCategoriesMessage, callback?: (err: AWSError, data: RDS.Types.EventCategoriesMessage) => void): Request; - /** - * Displays a list of categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in the Events topic in the Amazon RDS User Guide. - */ - describeEventCategories(callback?: (err: AWSError, data: RDS.Types.EventCategoriesMessage) => void): Request; - /** - * Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status. If you specify a SubscriptionName, lists the description for that subscription. - */ - describeEventSubscriptions(params: RDS.Types.DescribeEventSubscriptionsMessage, callback?: (err: AWSError, data: RDS.Types.EventSubscriptionsMessage) => void): Request; - /** - * Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status. If you specify a SubscriptionName, lists the description for that subscription. - */ - describeEventSubscriptions(callback?: (err: AWSError, data: RDS.Types.EventSubscriptionsMessage) => void): Request; - /** - * Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. Events specific to a particular DB instance, DB security group, database snapshot, or DB parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned. - */ - describeEvents(params: RDS.Types.DescribeEventsMessage, callback?: (err: AWSError, data: RDS.Types.EventsMessage) => void): Request; - /** - * Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. Events specific to a particular DB instance, DB security group, database snapshot, or DB parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned. - */ - describeEvents(callback?: (err: AWSError, data: RDS.Types.EventsMessage) => void): Request; - /** - * Describes all available options. - */ - describeOptionGroupOptions(params: RDS.Types.DescribeOptionGroupOptionsMessage, callback?: (err: AWSError, data: RDS.Types.OptionGroupOptionsMessage) => void): Request; - /** - * Describes all available options. - */ - describeOptionGroupOptions(callback?: (err: AWSError, data: RDS.Types.OptionGroupOptionsMessage) => void): Request; - /** - * Describes the available option groups. - */ - describeOptionGroups(params: RDS.Types.DescribeOptionGroupsMessage, callback?: (err: AWSError, data: RDS.Types.OptionGroups) => void): Request; - /** - * Describes the available option groups. - */ - describeOptionGroups(callback?: (err: AWSError, data: RDS.Types.OptionGroups) => void): Request; - /** - * Returns a list of orderable DB instance options for the specified engine. - */ - describeOrderableDBInstanceOptions(params: RDS.Types.DescribeOrderableDBInstanceOptionsMessage, callback?: (err: AWSError, data: RDS.Types.OrderableDBInstanceOptionsMessage) => void): Request; - /** - * Returns a list of orderable DB instance options for the specified engine. - */ - describeOrderableDBInstanceOptions(callback?: (err: AWSError, data: RDS.Types.OrderableDBInstanceOptionsMessage) => void): Request; - /** - * Returns a list of resources (for example, DB instances) that have at least one pending maintenance action. - */ - describePendingMaintenanceActions(params: RDS.Types.DescribePendingMaintenanceActionsMessage, callback?: (err: AWSError, data: RDS.Types.PendingMaintenanceActionsMessage) => void): Request; - /** - * Returns a list of resources (for example, DB instances) that have at least one pending maintenance action. - */ - describePendingMaintenanceActions(callback?: (err: AWSError, data: RDS.Types.PendingMaintenanceActionsMessage) => void): Request; - /** - * Returns information about reserved DB instances for this account, or about a specified reserved DB instance. - */ - describeReservedDBInstances(params: RDS.Types.DescribeReservedDBInstancesMessage, callback?: (err: AWSError, data: RDS.Types.ReservedDBInstanceMessage) => void): Request; - /** - * Returns information about reserved DB instances for this account, or about a specified reserved DB instance. - */ - describeReservedDBInstances(callback?: (err: AWSError, data: RDS.Types.ReservedDBInstanceMessage) => void): Request; - /** - * Lists available reserved DB instance offerings. - */ - describeReservedDBInstancesOfferings(params: RDS.Types.DescribeReservedDBInstancesOfferingsMessage, callback?: (err: AWSError, data: RDS.Types.ReservedDBInstancesOfferingMessage) => void): Request; - /** - * Lists available reserved DB instance offerings. - */ - describeReservedDBInstancesOfferings(callback?: (err: AWSError, data: RDS.Types.ReservedDBInstancesOfferingMessage) => void): Request; - /** - * Returns a list of the source AWS regions where the current AWS region can create a Read Replica or copy a DB snapshot from. This API action supports pagination. - */ - describeSourceRegions(params: RDS.Types.DescribeSourceRegionsMessage, callback?: (err: AWSError, data: RDS.Types.SourceRegionMessage) => void): Request; - /** - * Returns a list of the source AWS regions where the current AWS region can create a Read Replica or copy a DB snapshot from. This API action supports pagination. - */ - describeSourceRegions(callback?: (err: AWSError, data: RDS.Types.SourceRegionMessage) => void): Request; - /** - * Downloads all or a portion of the specified log file, up to 1 MB in size. - */ - downloadDBLogFilePortion(params: RDS.Types.DownloadDBLogFilePortionMessage, callback?: (err: AWSError, data: RDS.Types.DownloadDBLogFilePortionDetails) => void): Request; - /** - * Downloads all or a portion of the specified log file, up to 1 MB in size. - */ - downloadDBLogFilePortion(callback?: (err: AWSError, data: RDS.Types.DownloadDBLogFilePortionDetails) => void): Request; - /** - * Forces a failover for a DB cluster. A failover for a DB cluster promotes one of the Aurora Replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer). Amazon Aurora will automatically fail over to an Aurora Replica, if one exists, when the primary instance fails. You can force a failover when you want to simulate a failure of a primary instance for testing. Because each instance in a DB cluster has its own endpoint address, you will need to clean up and re-establish any existing connections that use those endpoint addresses when the failover is complete. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - failoverDBCluster(params: RDS.Types.FailoverDBClusterMessage, callback?: (err: AWSError, data: RDS.Types.FailoverDBClusterResult) => void): Request; - /** - * Forces a failover for a DB cluster. A failover for a DB cluster promotes one of the Aurora Replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer). Amazon Aurora will automatically fail over to an Aurora Replica, if one exists, when the primary instance fails. You can force a failover when you want to simulate a failure of a primary instance for testing. Because each instance in a DB cluster has its own endpoint address, you will need to clean up and re-establish any existing connections that use those endpoint addresses when the failover is complete. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - failoverDBCluster(callback?: (err: AWSError, data: RDS.Types.FailoverDBClusterResult) => void): Request; - /** - * Lists all tags on an Amazon RDS resource. For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources. - */ - listTagsForResource(params: RDS.Types.ListTagsForResourceMessage, callback?: (err: AWSError, data: RDS.Types.TagListMessage) => void): Request; - /** - * Lists all tags on an Amazon RDS resource. For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources. - */ - listTagsForResource(callback?: (err: AWSError, data: RDS.Types.TagListMessage) => void): Request; - /** - * Modify a setting for an Amazon Aurora DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - modifyDBCluster(params: RDS.Types.ModifyDBClusterMessage, callback?: (err: AWSError, data: RDS.Types.ModifyDBClusterResult) => void): Request; - /** - * Modify a setting for an Amazon Aurora DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - modifyDBCluster(callback?: (err: AWSError, data: RDS.Types.ModifyDBClusterResult) => void): Request; - /** - * Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB cluster associated with the parameter group before the change can take effect. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified. - */ - modifyDBClusterParameterGroup(params: RDS.Types.ModifyDBClusterParameterGroupMessage, callback?: (err: AWSError, data: RDS.Types.DBClusterParameterGroupNameMessage) => void): Request; - /** - * Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB cluster associated with the parameter group before the change can take effect. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified. - */ - modifyDBClusterParameterGroup(callback?: (err: AWSError, data: RDS.Types.DBClusterParameterGroupNameMessage) => void): Request; - /** - * Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot. To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. To view which AWS accounts have access to copy or restore a manual DB cluster snapshot, or whether a manual DB cluster snapshot public or private, use the DescribeDBClusterSnapshotAttributes API action. - */ - modifyDBClusterSnapshotAttribute(params: RDS.Types.ModifyDBClusterSnapshotAttributeMessage, callback?: (err: AWSError, data: RDS.Types.ModifyDBClusterSnapshotAttributeResult) => void): Request; - /** - * Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot. To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. To view which AWS accounts have access to copy or restore a manual DB cluster snapshot, or whether a manual DB cluster snapshot public or private, use the DescribeDBClusterSnapshotAttributes API action. - */ - modifyDBClusterSnapshotAttribute(callback?: (err: AWSError, data: RDS.Types.ModifyDBClusterSnapshotAttributeResult) => void): Request; - /** - * Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. - */ - modifyDBInstance(params: RDS.Types.ModifyDBInstanceMessage, callback?: (err: AWSError, data: RDS.Types.ModifyDBInstanceResult) => void): Request; - /** - * Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. - */ - modifyDBInstance(callback?: (err: AWSError, data: RDS.Types.ModifyDBInstanceResult) => void): Request; - /** - * Modifies the parameters of a DB parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB instance associated with the parameter group before the change can take effect. After you modify a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon RDS to fully complete the modify action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBParameters command to verify that your DB parameter group has been created or modified. - */ - modifyDBParameterGroup(params: RDS.Types.ModifyDBParameterGroupMessage, callback?: (err: AWSError, data: RDS.Types.DBParameterGroupNameMessage) => void): Request; - /** - * Modifies the parameters of a DB parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB instance associated with the parameter group before the change can take effect. After you modify a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon RDS to fully complete the modify action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBParameters command to verify that your DB parameter group has been created or modified. - */ - modifyDBParameterGroup(callback?: (err: AWSError, data: RDS.Types.DBParameterGroupNameMessage) => void): Request; - /** - * Updates a manual DB snapshot, which can be encrypted or not encrypted, with a new engine version. You can update the engine version to either a new major or minor engine version. Amazon RDS supports upgrading a MySQL DB snapshot from MySQL 5.1 to MySQL 5.5. - */ - modifyDBSnapshot(params: RDS.Types.ModifyDBSnapshotMessage, callback?: (err: AWSError, data: RDS.Types.ModifyDBSnapshotResult) => void): Request; - /** - * Updates a manual DB snapshot, which can be encrypted or not encrypted, with a new engine version. You can update the engine version to either a new major or minor engine version. Amazon RDS supports upgrading a MySQL DB snapshot from MySQL 5.1 to MySQL 5.5. - */ - modifyDBSnapshot(callback?: (err: AWSError, data: RDS.Types.ModifyDBSnapshotResult) => void): Request; - /** - * Adds an attribute and values to, or removes an attribute and values from, a manual DB snapshot. To share a manual DB snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB snapshot. Uses the value all to make the manual DB snapshot public, which means it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB snapshots that contain private information that you don't want available to all AWS accounts. If the manual DB snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. To view which AWS accounts have access to copy or restore a manual DB snapshot, or whether a manual DB snapshot public or private, use the DescribeDBSnapshotAttributes API action. - */ - modifyDBSnapshotAttribute(params: RDS.Types.ModifyDBSnapshotAttributeMessage, callback?: (err: AWSError, data: RDS.Types.ModifyDBSnapshotAttributeResult) => void): Request; - /** - * Adds an attribute and values to, or removes an attribute and values from, a manual DB snapshot. To share a manual DB snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB snapshot. Uses the value all to make the manual DB snapshot public, which means it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB snapshots that contain private information that you don't want available to all AWS accounts. If the manual DB snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. To view which AWS accounts have access to copy or restore a manual DB snapshot, or whether a manual DB snapshot public or private, use the DescribeDBSnapshotAttributes API action. - */ - modifyDBSnapshotAttribute(callback?: (err: AWSError, data: RDS.Types.ModifyDBSnapshotAttributeResult) => void): Request; - /** - * Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region. - */ - modifyDBSubnetGroup(params: RDS.Types.ModifyDBSubnetGroupMessage, callback?: (err: AWSError, data: RDS.Types.ModifyDBSubnetGroupResult) => void): Request; - /** - * Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region. - */ - modifyDBSubnetGroup(callback?: (err: AWSError, data: RDS.Types.ModifyDBSubnetGroupResult) => void): Request; - /** - * Modifies an existing RDS event notification subscription. Note that you cannot modify the source identifiers using this call; to change source identifiers for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription calls. You can see a list of the event categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action. - */ - modifyEventSubscription(params: RDS.Types.ModifyEventSubscriptionMessage, callback?: (err: AWSError, data: RDS.Types.ModifyEventSubscriptionResult) => void): Request; - /** - * Modifies an existing RDS event notification subscription. Note that you cannot modify the source identifiers using this call; to change source identifiers for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription calls. You can see a list of the event categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action. - */ - modifyEventSubscription(callback?: (err: AWSError, data: RDS.Types.ModifyEventSubscriptionResult) => void): Request; - /** - * Modifies an existing option group. - */ - modifyOptionGroup(params: RDS.Types.ModifyOptionGroupMessage, callback?: (err: AWSError, data: RDS.Types.ModifyOptionGroupResult) => void): Request; - /** - * Modifies an existing option group. - */ - modifyOptionGroup(callback?: (err: AWSError, data: RDS.Types.ModifyOptionGroupResult) => void): Request; - /** - * Promotes a Read Replica DB instance to a standalone DB instance. We recommend that you enable automated backups on your Read Replica before promoting the Read Replica. This ensures that no backup is taken during the promotion process. Once the instance is promoted to a primary instance, backups are taken based on your backup settings. - */ - promoteReadReplica(params: RDS.Types.PromoteReadReplicaMessage, callback?: (err: AWSError, data: RDS.Types.PromoteReadReplicaResult) => void): Request; - /** - * Promotes a Read Replica DB instance to a standalone DB instance. We recommend that you enable automated backups on your Read Replica before promoting the Read Replica. This ensures that no backup is taken during the promotion process. Once the instance is promoted to a primary instance, backups are taken based on your backup settings. - */ - promoteReadReplica(callback?: (err: AWSError, data: RDS.Types.PromoteReadReplicaResult) => void): Request; - /** - * Promotes a Read Replica DB cluster to a standalone DB cluster. - */ - promoteReadReplicaDBCluster(params: RDS.Types.PromoteReadReplicaDBClusterMessage, callback?: (err: AWSError, data: RDS.Types.PromoteReadReplicaDBClusterResult) => void): Request; - /** - * Promotes a Read Replica DB cluster to a standalone DB cluster. - */ - promoteReadReplicaDBCluster(callback?: (err: AWSError, data: RDS.Types.PromoteReadReplicaDBClusterResult) => void): Request; - /** - * Purchases a reserved DB instance offering. - */ - purchaseReservedDBInstancesOffering(params: RDS.Types.PurchaseReservedDBInstancesOfferingMessage, callback?: (err: AWSError, data: RDS.Types.PurchaseReservedDBInstancesOfferingResult) => void): Request; - /** - * Purchases a reserved DB instance offering. - */ - purchaseReservedDBInstancesOffering(callback?: (err: AWSError, data: RDS.Types.PurchaseReservedDBInstancesOfferingResult) => void): Request; - /** - * Rebooting a DB instance restarts the database engine service. A reboot also applies to the DB instance any modifications to the associated DB parameter group that were pending. Rebooting a DB instance results in a momentary outage of the instance, during which the DB instance status is set to rebooting. If the RDS instance is configured for MultiAZ, it is possible that the reboot will be conducted through a failover. An Amazon RDS event is created when the reboot is completed. If your DB instance is deployed in multiple Availability Zones, you can force a failover from one AZ to the other during the reboot. You might force a failover to test the availability of your DB instance deployment or to restore operations to the original AZ after a failover occurs. The time required to reboot is a function of the specific database engine's crash recovery process. To improve the reboot time, we recommend that you reduce database activities as much as possible during the reboot process to reduce rollback activity for in-transit transactions. - */ - rebootDBInstance(params: RDS.Types.RebootDBInstanceMessage, callback?: (err: AWSError, data: RDS.Types.RebootDBInstanceResult) => void): Request; - /** - * Rebooting a DB instance restarts the database engine service. A reboot also applies to the DB instance any modifications to the associated DB parameter group that were pending. Rebooting a DB instance results in a momentary outage of the instance, during which the DB instance status is set to rebooting. If the RDS instance is configured for MultiAZ, it is possible that the reboot will be conducted through a failover. An Amazon RDS event is created when the reboot is completed. If your DB instance is deployed in multiple Availability Zones, you can force a failover from one AZ to the other during the reboot. You might force a failover to test the availability of your DB instance deployment or to restore operations to the original AZ after a failover occurs. The time required to reboot is a function of the specific database engine's crash recovery process. To improve the reboot time, we recommend that you reduce database activities as much as possible during the reboot process to reduce rollback activity for in-transit transactions. - */ - rebootDBInstance(callback?: (err: AWSError, data: RDS.Types.RebootDBInstanceResult) => void): Request; - /** - * Disassociates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf. - */ - removeRoleFromDBCluster(params: RDS.Types.RemoveRoleFromDBClusterMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Disassociates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf. - */ - removeRoleFromDBCluster(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes a source identifier from an existing RDS event notification subscription. - */ - removeSourceIdentifierFromSubscription(params: RDS.Types.RemoveSourceIdentifierFromSubscriptionMessage, callback?: (err: AWSError, data: RDS.Types.RemoveSourceIdentifierFromSubscriptionResult) => void): Request; - /** - * Removes a source identifier from an existing RDS event notification subscription. - */ - removeSourceIdentifierFromSubscription(callback?: (err: AWSError, data: RDS.Types.RemoveSourceIdentifierFromSubscriptionResult) => void): Request; - /** - * Removes metadata tags from an Amazon RDS resource. For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources. - */ - removeTagsFromResource(params: RDS.Types.RemoveTagsFromResourceMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes metadata tags from an Amazon RDS resource. For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources. - */ - removeTagsFromResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request. You must call RebootDBInstance for every DB instance in your DB cluster that you want the updated static parameter to apply to. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - resetDBClusterParameterGroup(params: RDS.Types.ResetDBClusterParameterGroupMessage, callback?: (err: AWSError, data: RDS.Types.DBClusterParameterGroupNameMessage) => void): Request; - /** - * Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request. You must call RebootDBInstance for every DB instance in your DB cluster that you want the updated static parameter to apply to. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - resetDBClusterParameterGroup(callback?: (err: AWSError, data: RDS.Types.DBClusterParameterGroupNameMessage) => void): Request; - /** - * Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request. - */ - resetDBParameterGroup(params: RDS.Types.ResetDBParameterGroupMessage, callback?: (err: AWSError, data: RDS.Types.DBParameterGroupNameMessage) => void): Request; - /** - * Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request. - */ - resetDBParameterGroup(callback?: (err: AWSError, data: RDS.Types.DBParameterGroupNameMessage) => void): Request; - /** - * Creates an Amazon Aurora DB cluster from data stored in an Amazon S3 bucket. Amazon RDS must be authorized to access the Amazon S3 bucket and the data must be created using the Percona XtraBackup utility as described in Migrating Data from MySQL by Using an Amazon S3 Bucket. - */ - restoreDBClusterFromS3(params: RDS.Types.RestoreDBClusterFromS3Message, callback?: (err: AWSError, data: RDS.Types.RestoreDBClusterFromS3Result) => void): Request; - /** - * Creates an Amazon Aurora DB cluster from data stored in an Amazon S3 bucket. Amazon RDS must be authorized to access the Amazon S3 bucket and the data must be created using the Percona XtraBackup utility as described in Migrating Data from MySQL by Using an Amazon S3 Bucket. - */ - restoreDBClusterFromS3(callback?: (err: AWSError, data: RDS.Types.RestoreDBClusterFromS3Result) => void): Request; - /** - * Creates a new DB cluster from a DB cluster snapshot. The target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - restoreDBClusterFromSnapshot(params: RDS.Types.RestoreDBClusterFromSnapshotMessage, callback?: (err: AWSError, data: RDS.Types.RestoreDBClusterFromSnapshotResult) => void): Request; - /** - * Creates a new DB cluster from a DB cluster snapshot. The target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - restoreDBClusterFromSnapshot(callback?: (err: AWSError, data: RDS.Types.RestoreDBClusterFromSnapshotResult) => void): Request; - /** - * Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - restoreDBClusterToPointInTime(params: RDS.Types.RestoreDBClusterToPointInTimeMessage, callback?: (err: AWSError, data: RDS.Types.RestoreDBClusterToPointInTimeResult) => void): Request; - /** - * Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide. - */ - restoreDBClusterToPointInTime(callback?: (err: AWSError, data: RDS.Types.RestoreDBClusterToPointInTimeResult) => void): Request; - /** - * Creates a new DB instance from a DB snapshot. The target database is created from the source database restore point with the most of original configuration with the default security group and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored AZ deployment and not a single-AZ deployment. If your intent is to replace your original DB instance with the new, restored DB instance, then rename your original DB instance before you call the RestoreDBInstanceFromDBSnapshot action. RDS does not allow two DB instances with the same name. Once you have renamed your original DB instance with a different identifier, then you can pass the original name of the DB instance as the DBInstanceIdentifier in the call to the RestoreDBInstanceFromDBSnapshot action. The result is that you will replace the original DB instance with the DB instance created from the snapshot. If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier must be the ARN of the shared DB snapshot. - */ - restoreDBInstanceFromDBSnapshot(params: RDS.Types.RestoreDBInstanceFromDBSnapshotMessage, callback?: (err: AWSError, data: RDS.Types.RestoreDBInstanceFromDBSnapshotResult) => void): Request; - /** - * Creates a new DB instance from a DB snapshot. The target database is created from the source database restore point with the most of original configuration with the default security group and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored AZ deployment and not a single-AZ deployment. If your intent is to replace your original DB instance with the new, restored DB instance, then rename your original DB instance before you call the RestoreDBInstanceFromDBSnapshot action. RDS does not allow two DB instances with the same name. Once you have renamed your original DB instance with a different identifier, then you can pass the original name of the DB instance as the DBInstanceIdentifier in the call to the RestoreDBInstanceFromDBSnapshot action. The result is that you will replace the original DB instance with the DB instance created from the snapshot. If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier must be the ARN of the shared DB snapshot. - */ - restoreDBInstanceFromDBSnapshot(callback?: (err: AWSError, data: RDS.Types.RestoreDBInstanceFromDBSnapshotResult) => void): Request; - /** - * Restores a DB instance to an arbitrary point in time. You can restore to any point in time before the time identified by the LatestRestorableTime property. You can restore to a point up to the number of days specified by the BackupRetentionPeriod property. The target database is created with most of the original configuration, but in a system-selected availability zone, with the default security group, the default subnet group, and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored deployment and not a single-AZ deployment. - */ - restoreDBInstanceToPointInTime(params: RDS.Types.RestoreDBInstanceToPointInTimeMessage, callback?: (err: AWSError, data: RDS.Types.RestoreDBInstanceToPointInTimeResult) => void): Request; - /** - * Restores a DB instance to an arbitrary point in time. You can restore to any point in time before the time identified by the LatestRestorableTime property. You can restore to a point up to the number of days specified by the BackupRetentionPeriod property. The target database is created with most of the original configuration, but in a system-selected availability zone, with the default security group, the default subnet group, and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored deployment and not a single-AZ deployment. - */ - restoreDBInstanceToPointInTime(callback?: (err: AWSError, data: RDS.Types.RestoreDBInstanceToPointInTimeResult) => void): Request; - /** - * Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC Security Groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId). - */ - revokeDBSecurityGroupIngress(params: RDS.Types.RevokeDBSecurityGroupIngressMessage, callback?: (err: AWSError, data: RDS.Types.RevokeDBSecurityGroupIngressResult) => void): Request; - /** - * Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC Security Groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId). - */ - revokeDBSecurityGroupIngress(callback?: (err: AWSError, data: RDS.Types.RevokeDBSecurityGroupIngressResult) => void): Request; - /** - * Starts a DB instance that was stopped using the AWS console, the stop-db-instance AWS CLI command, or the StopDBInstance action. For more information, see Stopping and Starting a DB instance in the AWS RDS user guide. - */ - startDBInstance(params: RDS.Types.StartDBInstanceMessage, callback?: (err: AWSError, data: RDS.Types.StartDBInstanceResult) => void): Request; - /** - * Starts a DB instance that was stopped using the AWS console, the stop-db-instance AWS CLI command, or the StopDBInstance action. For more information, see Stopping and Starting a DB instance in the AWS RDS user guide. - */ - startDBInstance(callback?: (err: AWSError, data: RDS.Types.StartDBInstanceResult) => void): Request; - /** - * Stops a DB instance. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary. For more information, see Stopping and Starting a DB instance in the AWS RDS user guide. - */ - stopDBInstance(params: RDS.Types.StopDBInstanceMessage, callback?: (err: AWSError, data: RDS.Types.StopDBInstanceResult) => void): Request; - /** - * Stops a DB instance. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary. For more information, see Stopping and Starting a DB instance in the AWS RDS user guide. - */ - stopDBInstance(callback?: (err: AWSError, data: RDS.Types.StopDBInstanceResult) => void): Request; - /** - * Waits for the dBInstanceAvailable state by periodically calling the underlying RDS.describeDBInstancesoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "dBInstanceAvailable", params: RDS.Types.DescribeDBInstancesMessage, callback?: (err: AWSError, data: RDS.Types.DBInstanceMessage) => void): Request; - /** - * Waits for the dBInstanceAvailable state by periodically calling the underlying RDS.describeDBInstancesoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "dBInstanceAvailable", callback?: (err: AWSError, data: RDS.Types.DBInstanceMessage) => void): Request; - /** - * Waits for the dBInstanceDeleted state by periodically calling the underlying RDS.describeDBInstancesoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "dBInstanceDeleted", params: RDS.Types.DescribeDBInstancesMessage, callback?: (err: AWSError, data: RDS.Types.DBInstanceMessage) => void): Request; - /** - * Waits for the dBInstanceDeleted state by periodically calling the underlying RDS.describeDBInstancesoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "dBInstanceDeleted", callback?: (err: AWSError, data: RDS.Types.DBInstanceMessage) => void): Request; -} -declare namespace RDS { - export import Signer = signer; -} -declare namespace RDS { - export interface AccountAttributesMessage { - /** - * A list of AccountQuota objects. Within this list, each quota has a name, a count of usage toward the quota maximum, and a maximum value for the quota. - */ - AccountQuotas?: AccountQuotaList; - } - export interface AccountQuota { - /** - * The name of the Amazon RDS quota for this AWS account. - */ - AccountQuotaName?: String; - /** - * The amount currently used toward the quota maximum. - */ - Used?: Long; - /** - * The maximum allowed value for the quota. - */ - Max?: Long; - } - export type AccountQuotaList = AccountQuota[]; - export interface AddRoleToDBClusterMessage { - /** - * The name of the DB cluster to associate the IAM role with. - */ - DBClusterIdentifier: String; - /** - * The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole. - */ - RoleArn: String; - } - export interface AddSourceIdentifierToSubscriptionMessage { - /** - * The name of the RDS event notification subscription you want to add a source identifier to. - */ - SubscriptionName: String; - /** - * The identifier of the event source to be added. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens. Constraints: If the source type is a DB instance, then a DBInstanceIdentifier must be supplied. If the source type is a DB security group, a DBSecurityGroupName must be supplied. If the source type is a DB parameter group, a DBParameterGroupName must be supplied. If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied. - */ - SourceIdentifier: String; - } - export interface AddSourceIdentifierToSubscriptionResult { - EventSubscription?: EventSubscription; - } - export interface AddTagsToResourceMessage { - /** - * The Amazon RDS resource the tags will be added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN). - */ - ResourceName: String; - /** - * The tags to be assigned to the Amazon RDS resource. - */ - Tags: TagList; - } - export type ApplyMethod = "immediate"|"pending-reboot"|string; - export interface ApplyPendingMaintenanceActionMessage { - /** - * The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN). - */ - ResourceIdentifier: String; - /** - * The pending maintenance action to apply to this resource. Valid values: system-update, db-upgrade - */ - ApplyAction: String; - /** - * A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type immediate cannot be undone. Valid values: immediate - Apply the maintenance action immediately. next-maintenance - Apply the maintenance action during the next maintenance window for the resource. undo-opt-in - Cancel any existing next-maintenance opt-in requests. - */ - OptInType: String; - } - export interface ApplyPendingMaintenanceActionResult { - ResourcePendingMaintenanceActions?: ResourcePendingMaintenanceActions; - } - export type AttributeValueList = String[]; - export interface AuthorizeDBSecurityGroupIngressMessage { - /** - * The name of the DB security group to add authorization to. - */ - DBSecurityGroupName: String; - /** - * The IP range to authorize. - */ - CIDRIP?: String; - /** - * Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided. - */ - EC2SecurityGroupName?: String; - /** - * Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided. - */ - EC2SecurityGroupId?: String; - /** - * AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided. - */ - EC2SecurityGroupOwnerId?: String; - } - export interface AuthorizeDBSecurityGroupIngressResult { - DBSecurityGroup?: DBSecurityGroup; - } - export interface AvailabilityZone { - /** - * The name of the availability zone. - */ - Name?: String; - } - export type AvailabilityZoneList = AvailabilityZone[]; - export type AvailabilityZones = String[]; - export type Boolean = boolean; - export type BooleanOptional = boolean; - export interface Certificate { - /** - * The unique key that identifies a certificate. - */ - CertificateIdentifier?: String; - /** - * The type of the certificate. - */ - CertificateType?: String; - /** - * The thumbprint of the certificate. - */ - Thumbprint?: String; - /** - * The starting date from which the certificate is valid. - */ - ValidFrom?: TStamp; - /** - * The final date that the certificate continues to be valid. - */ - ValidTill?: TStamp; - /** - * The Amazon Resource Name (ARN) for the certificate. - */ - CertificateArn?: String; - } - export type CertificateList = Certificate[]; - export interface CertificateMessage { - /** - * The list of Certificate objects for the AWS account. - */ - Certificates?: CertificateList; - /** - * An optional pagination token provided by a previous DescribeCertificates request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . - */ - Marker?: String; - } - export interface CharacterSet { - /** - * The name of the character set. - */ - CharacterSetName?: String; - /** - * The description of the character set. - */ - CharacterSetDescription?: String; - } - export interface CopyDBClusterParameterGroupMessage { - /** - * The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN). Constraints: Must specify a valid DB cluster parameter group. If the source DB cluster parameter group is in the same region as the copy, specify a valid DB parameter group identifier, for example my-db-cluster-param-group, or a valid ARN. If the source DB parameter group is in a different region than the copy, specify a valid DB cluster parameter group ARN, for example arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1. - */ - SourceDBClusterParameterGroupIdentifier: String; - /** - * The identifier for the copied DB cluster parameter group. Constraints: Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-cluster-param-group1 - */ - TargetDBClusterParameterGroupIdentifier: String; - /** - * A description for the copied DB cluster parameter group. - */ - TargetDBClusterParameterGroupDescription: String; - Tags?: TagList; - } - export interface CopyDBClusterParameterGroupResult { - DBClusterParameterGroup?: DBClusterParameterGroup; - } - export interface CopyDBClusterSnapshotMessage { - /** - * The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive. You cannot copy an encrypted, shared DB cluster snapshot from one AWS region to another. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Must specify a valid system snapshot in the "available" state. If the source snapshot is in the same region as the copy, specify a valid DB snapshot identifier. If the source snapshot is in a different region than the copy, specify a valid DB cluster snapshot ARN. For more information, go to Copying a DB Snapshot or DB Cluster Snapshot. Example: my-cluster-snapshot1 - */ - SourceDBClusterSnapshotIdentifier: String; - /** - * The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-snapshot2 - */ - TargetDBClusterSnapshotIdentifier: String; - /** - * The AWS KMS key ID for an encrypted DB cluster snapshot. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key. If you copy an unencrypted DB cluster snapshot and specify a value for the KmsKeyId parameter, Amazon RDS encrypts the target DB cluster snapshot using the specified KMS encryption key. If you copy an encrypted DB cluster snapshot from your AWS account, you can specify a value for KmsKeyId to encrypt the copy with a new KMS encryption key. If you don't specify a value for KmsKeyId, then the copy of the DB cluster snapshot is encrypted with the same KMS key as the source DB cluster snapshot. If you copy an encrypted DB cluster snapshot that is shared from another AWS account, then you must specify a value for KmsKeyId. To copy an encrypted DB cluster snapshot to another region, you must set KmsKeyId to the KMS key ID you want to use to encrypt the copy of the DB cluster snapshot in the destination region. KMS encryption keys are specific to the region that they are created in, and you cannot use encryption keys from one region in another region. - */ - KmsKeyId?: String; - /** - * The URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot API action in the AWS region that contains the source DB cluster snapshot to copy. The PreSignedUrl parameter must be used when copying an encrypted DB cluster snapshot from another AWS region. The pre-signed URL must be a valid request for the CopyDBSClusterSnapshot API action that can be executed in the source region that contains the encrypted DB cluster snapshot to be copied. The pre-signed URL request must contain the following parameter values: KmsKeyId - The KMS key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination region. This is the same identifier for both the CopyDBClusterSnapshot action that is called in the destination region, and the action contained in the pre-signed URL. DestinationRegion - The name of the region that the DB cluster snapshot will be created in. SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source region. For example, if you are copying an encrypted DB cluster snapshot from the us-west-2 region, then your SourceDBClusterSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115. To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process.If you supply a value for this operation's SourceRegion parameter, a pre-signed URL will be calculated on your behalf. - */ - PreSignedUrl?: String; - /** - * True to copy all tags from the source DB cluster snapshot to the target DB cluster snapshot; otherwise false. The default is false. - */ - CopyTags?: BooleanOptional; - Tags?: TagList; - /** - * The ID of the region that contains the snapshot to be copied. - */ - SourceRegion?: String; - } - export interface CopyDBClusterSnapshotResult { - DBClusterSnapshot?: DBClusterSnapshot; - } - export interface CopyDBParameterGroupMessage { - /** - * The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN). Constraints: Must specify a valid DB parameter group. Must specify a valid DB parameter group identifier, for example my-db-param-group, or a valid ARN. - */ - SourceDBParameterGroupIdentifier: String; - /** - * The identifier for the copied DB parameter group. Constraints: Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-db-parameter-group - */ - TargetDBParameterGroupIdentifier: String; - /** - * A description for the copied DB parameter group. - */ - TargetDBParameterGroupDescription: String; - Tags?: TagList; - } - export interface CopyDBParameterGroupResult { - DBParameterGroup?: DBParameterGroup; - } - export interface CopyDBSnapshotMessage { - /** - * The identifier for the source DB snapshot. If the source snapshot is in the same region as the copy, specify a valid DB snapshot identifier. For example, rds:mysql-instance1-snapshot-20130805. If the source snapshot is in a different region than the copy, specify a valid DB snapshot ARN. For example, arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805. If you are copying from a shared manual DB snapshot, this parameter must be the Amazon Resource Name (ARN) of the shared DB snapshot. If you are copying an encrypted snapshot this parameter must be in the ARN format for the source region, and must match the SourceDBSnapshotIdentifier in the PreSignedUrl parameter. Constraints: Must specify a valid system snapshot in the "available" state. Example: rds:mydb-2012-04-02-00-01 Example: arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805 - */ - SourceDBSnapshotIdentifier: String; - /** - * The identifier for the copy of the snapshot. Constraints: Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-db-snapshot - */ - TargetDBSnapshotIdentifier: String; - /** - * The AWS KMS key ID for an encrypted DB snapshot. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key. If you copy an encrypted DB snapshot from your AWS account, you can specify a value for this parameter to encrypt the copy with a new KMS encryption key. If you don't specify a value for this parameter, then the copy of the DB snapshot is encrypted with the same KMS key as the source DB snapshot. If you copy an encrypted DB snapshot that is shared from another AWS account, then you must specify a value for this parameter. If you specify this parameter when you copy an unencrypted snapshot, the copy is encrypted. If you copy an encrypted snapshot to a different AWS region, then you must specify a KMS key for the destination AWS region. KMS encryption keys are specific to the region that they are created in, and you cannot use encryption keys from one region in another region. - */ - KmsKeyId?: String; - Tags?: TagList; - /** - * True to copy all tags from the source DB snapshot to the target DB snapshot; otherwise false. The default is false. - */ - CopyTags?: BooleanOptional; - /** - * The URL that contains a Signature Version 4 signed request for the CopyDBSnapshot API action in the source AWS region that contains the source DB snapshot to copy. You must specify this parameter when you copy an encrypted DB snapshot from another AWS region by using the Amazon RDS API. You can specify the source region option instead of this parameter when you copy an encrypted DB snapshot from another AWS region by using the AWS CLI. The presigned URL must be a valid request for the CopyDBSnapshot API action that can be executed in the source region that contains the encrypted DB snapshot to be copied. The presigned URL request must contain the following parameter values: DestinationRegion - The AWS Region that the encrypted DB snapshot will be copied to. This region is the same one where the CopyDBSnapshot action is called that contains this presigned URL. For example, if you copy an encrypted DB snapshot from the us-west-2 region to the us-east-1 region, then you will call the CopyDBSnapshot action in the us-east-1 region and provide a presigned URL that contains a call to the CopyDBSnapshot action in the us-west-2 region. For this example, the DestinationRegion in the presigned URL must be set to the us-east-1 region. KmsKeyId - The KMS key identifier for the key to use to encrypt the copy of the DB snapshot in the destination region. This is the same identifier for both the CopyDBSnapshot action that is called in the destination region, and the action contained in the presigned URL. SourceDBSnapshotIdentifier - The DB snapshot identifier for the encrypted snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source region. For example, if you are copying an encrypted DB snapshot from the us-west-2 region, then your SourceDBSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20161115. To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process. If you supply a value for this operation's SourceRegion parameter, a pre-signed URL will be calculated on your behalf. - */ - PreSignedUrl?: String; - /** - * The name of an option group to associate with the copy. Specify this option if you are copying a snapshot from one AWS region to another, and your DB instance uses a non-default option group. If your source DB instance uses Transparent Data Encryption for Oracle or Microsoft SQL Server, you must specify this option when copying across regions. For more information, see Option Group Considerations. - */ - OptionGroupName?: String; - /** - * The ID of the region that contains the snapshot to be copied. - */ - SourceRegion?: String; - } - export interface CopyDBSnapshotResult { - DBSnapshot?: DBSnapshot; - } - export interface CopyOptionGroupMessage { - /** - * The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN). Constraints: Must specify a valid option group. If the source option group is in the same region as the copy, specify a valid option group identifier, for example my-option-group, or a valid ARN. If the source option group is in a different region than the copy, specify a valid option group ARN, for example arn:aws:rds:us-west-2:123456789012:og:special-options. - */ - SourceOptionGroupIdentifier: String; - /** - * The identifier for the copied option group. Constraints: Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-option-group - */ - TargetOptionGroupIdentifier: String; - /** - * The description for the copied option group. - */ - TargetOptionGroupDescription: String; - Tags?: TagList; - } - export interface CopyOptionGroupResult { - OptionGroup?: OptionGroup; - } - export interface CreateDBClusterMessage { - /** - * A list of EC2 Availability Zones that instances in the DB cluster can be created in. For information on regions and Availability Zones, see Regions and Availability Zones. - */ - AvailabilityZones?: AvailabilityZones; - /** - * The number of days for which automated backups are retained. You must specify a minimum value of 1. Default: 1 Constraints: Must be a value from 1 to 35 - */ - BackupRetentionPeriod?: IntegerOptional; - /** - * A value that indicates that the DB cluster should be associated with the specified CharacterSet. - */ - CharacterSetName?: String; - /** - * The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon RDS will not create a database in the DB cluster you are creating. - */ - DatabaseName?: String; - /** - * The DB cluster identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster1 - */ - DBClusterIdentifier: String; - /** - * The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted, default.aurora5.6 will be used. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBClusterParameterGroupName?: String; - /** - * A list of EC2 VPC security groups to associate with this DB cluster. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * A DB subnet group to associate with this DB cluster. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup - */ - DBSubnetGroupName?: String; - /** - * The name of the database engine to be used for this DB cluster. Valid Values: aurora - */ - Engine: String; - /** - * The version number of the database engine to use. Aurora Example: 5.6.10a - */ - EngineVersion?: String; - /** - * The port number on which the instances in the DB cluster accept connections. Default: 3306 - */ - Port?: IntegerOptional; - /** - * The name of the master user for the DB cluster. Constraints: Must be 1 to 16 alphanumeric characters. First character must be a letter. Cannot be a reserved word for the chosen database engine. - */ - MasterUsername?: String; - /** - * The password for the master database user. This password can contain any printable ASCII character except "/", """, or "@". Constraints: Must contain from 8 to 41 characters. - */ - MasterUserPassword?: String; - /** - * A value that indicates that the DB cluster should be associated with the specified option group. Permanent options cannot be removed from an option group. The option group cannot be removed from a DB cluster once it is associated with a DB cluster. - */ - OptionGroupName?: String; - /** - * The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide. Constraints: Must be in the format hh24:mi-hh24:mi. Times should be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes. - */ - PreferredBackupWindow?: String; - /** - * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window. - */ - PreferredMaintenanceWindow?: String; - /** - * The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica. - */ - ReplicationSourceIdentifier?: String; - Tags?: TagList; - /** - * Specifies whether the DB cluster is encrypted. - */ - StorageEncrypted?: BooleanOptional; - /** - * The KMS key identifier for an encrypted DB cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key. If the StorageEncrypted parameter is true, and you do not specify a value for the KmsKeyId parameter, then Amazon RDS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. If you create a Read Replica of an encrypted DB cluster in another region, you must set KmsKeyId to a KMS key ID that is valid in the destination region. This key is used to encrypt the Read Replica in that region. - */ - KmsKeyId?: String; - /** - * A URL that contains a Signature Version 4 signed request for the CreateDBCluster action to be called in the source region where the DB cluster will be replicated from. You only need to specify PreSignedUrl when you are performing cross-region replication from an encrypted DB cluster. The pre-signed URL must be a valid request for the CreateDBCluster API action that can be executed in the source region that contains the encrypted DB cluster to be copied. The pre-signed URL request must contain the following parameter values: KmsKeyId - The KMS key identifier for the key to use to encrypt the copy of the DB cluster in the destination region. This should refer to the same KMS key for both the CreateDBCluster action that is called in the destination region, and the action contained in the pre-signed URL. DestinationRegion - The name of the region that Aurora Read Replica will be created in. ReplicationSourceIdentifier - The DB cluster identifier for the encrypted DB cluster to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source region. For example, if you are copying an encrypted DB cluster from the us-west-2 region, then your ReplicationSourceIdentifier would look like Example: arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1. To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process.If you supply a value for this operation's SourceRegion parameter, a pre-signed URL will be calculated on your behalf. - */ - PreSignedUrl?: String; - /** - * A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false. Default: false - */ - EnableIAMDatabaseAuthentication?: BooleanOptional; - /** - * The ID of the region that contains the source for the read replica. - */ - SourceRegion?: String; - } - export interface CreateDBClusterParameterGroupMessage { - /** - * The name of the DB cluster parameter group. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens This value is stored as a lowercase string. - */ - DBClusterParameterGroupName: String; - /** - * The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family. - */ - DBParameterGroupFamily: String; - /** - * The description for the DB cluster parameter group. - */ - Description: String; - Tags?: TagList; - } - export interface CreateDBClusterParameterGroupResult { - DBClusterParameterGroup?: DBClusterParameterGroup; - } - export interface CreateDBClusterResult { - DBCluster?: DBCluster; - } - export interface CreateDBClusterSnapshotMessage { - /** - * The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster1-snapshot1 - */ - DBClusterSnapshotIdentifier: String; - /** - * The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster1 - */ - DBClusterIdentifier: String; - /** - * The tags to be assigned to the DB cluster snapshot. - */ - Tags?: TagList; - } - export interface CreateDBClusterSnapshotResult { - DBClusterSnapshot?: DBClusterSnapshot; - } - export interface CreateDBInstanceMessage { - /** - * The meaning of this parameter differs according to the database engine you use. Type: String MySQL The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: Must contain 1 to 64 alphanumeric characters Cannot be a word reserved by the specified database engine MariaDB The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: Must contain 1 to 64 alphanumeric characters Cannot be a word reserved by the specified database engine PostgreSQL The name of the database to create when the DB instance is created. If this parameter is not specified, the default "postgres" database is created in the DB instance. Constraints: Must contain 1 to 63 alphanumeric characters Must begin with a letter or an underscore. Subsequent characters can be letters, underscores, or digits (0-9). Cannot be a word reserved by the specified database engine Oracle The Oracle System ID (SID) of the created DB instance. If you specify null, the default value ORCL is used. You can't specify the string NULL, or any other reserved word, for DBName. Default: ORCL Constraints: Cannot be longer than 8 characters SQL Server Not applicable. Must be null. Amazon Aurora The name of the database to create when the primary instance of the DB cluster is created. If this parameter is not specified, no database is created in the DB instance. Constraints: Must contain 1 to 64 alphanumeric characters Cannot be a word reserved by the specified database engine - */ - DBName?: String; - /** - * The DB instance identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens (1 to 15 for SQL Server). First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: mydbinstance - */ - DBInstanceIdentifier: String; - /** - * The amount of storage (in gigabytes) to be initially allocated for the database instance. Type: Integer Amazon Aurora Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. MySQL Constraints: Must be an integer from 5 to 6144. MariaDB Constraints: Must be an integer from 5 to 6144. PostgreSQL Constraints: Must be an integer from 5 to 6144. Oracle Constraints: Must be an integer from 10 to 6144. SQL Server Constraints: Must be an integer from 200 to 4096 (Standard Edition and Enterprise Edition) or from 20 to 4096 (Express Edition and Web Edition) - */ - AllocatedStorage?: IntegerOptional; - /** - * The compute and memory capacity of the DB instance. Note that not all instance classes are available in all regions for all DB engines. Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large - */ - DBInstanceClass: String; - /** - * The name of the database engine to be used for this instance. Not every database engine is available for every AWS region. Valid Values: aurora mariadb mysql oracle-ee oracle-se2 oracle-se1 oracle-se postgres sqlserver-ee sqlserver-se sqlserver-ex sqlserver-web - */ - Engine: String; - /** - * The name for the master database user. Amazon Aurora Not applicable. You specify the name for the master database user when you create your DB cluster. MariaDB Constraints: Must be 1 to 16 alphanumeric characters. Cannot be a reserved word for the chosen database engine. Microsoft SQL Server Constraints: Must be 1 to 128 alphanumeric characters. First character must be a letter. Cannot be a reserved word for the chosen database engine. MySQL Constraints: Must be 1 to 16 alphanumeric characters. First character must be a letter. Cannot be a reserved word for the chosen database engine. Oracle Constraints: Must be 1 to 30 alphanumeric characters. First character must be a letter. Cannot be a reserved word for the chosen database engine. PostgreSQL Constraints: Must be 1 to 63 alphanumeric characters. First character must be a letter. Cannot be a reserved word for the chosen database engine. - */ - MasterUsername?: String; - /** - * The password for the master database user. Can be any printable ASCII character except "/", """, or "@". Amazon Aurora Not applicable. You specify the password for the master database user when you create your DB cluster. MariaDB Constraints: Must contain from 8 to 41 characters. Microsoft SQL Server Constraints: Must contain from 8 to 128 characters. MySQL Constraints: Must contain from 8 to 41 characters. Oracle Constraints: Must contain from 8 to 30 characters. PostgreSQL Constraints: Must contain from 8 to 128 characters. - */ - MasterUserPassword?: String; - /** - * A list of DB security groups to associate with this DB instance. Default: The default DB security group for the database engine. - */ - DBSecurityGroups?: DBSecurityGroupNameList; - /** - * A list of EC2 VPC security groups to associate with this DB instance. Default: The default EC2 VPC security group for the DB subnet group's VPC. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * The EC2 Availability Zone that the database instance will be created in. For information on regions and Availability Zones, see Regions and Availability Zones. Default: A random, system-chosen Availability Zone in the endpoint's region. Example: us-east-1d Constraint: The AvailabilityZone parameter cannot be specified if the MultiAZ parameter is set to true. The specified Availability Zone must be in the same region as the current endpoint. - */ - AvailabilityZone?: String; - /** - * A DB subnet group to associate with this DB instance. If there is no DB subnet group, then it is a non-VPC DB instance. - */ - DBSubnetGroupName?: String; - /** - * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). For more information, see DB Instance Maintenance. Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window. - */ - PreferredMaintenanceWindow?: String; - /** - * The name of the DB parameter group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine will be used. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBParameterGroupName?: String; - /** - * The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Default: 1 Constraints: Must be a value from 0 to 35 Cannot be set to 0 if the DB instance is a source to Read Replicas - */ - BackupRetentionPeriod?: IntegerOptional; - /** - * The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter. For more information, see DB Instance Backups. Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred DB Instance Maintenance Window. Constraints: Must be in the format hh24:mi-hh24:mi. Times should be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes. - */ - PreferredBackupWindow?: String; - /** - * The port number on which the database accepts connections. MySQL Default: 3306 Valid Values: 1150-65535 Type: Integer MariaDB Default: 3306 Valid Values: 1150-65535 Type: Integer PostgreSQL Default: 5432 Valid Values: 1150-65535 Type: Integer Oracle Default: 1521 Valid Values: 1150-65535 SQL Server Default: 1433 Valid Values: 1150-65535 except for 1434, 3389, 47001, 49152, and 49152 through 49156. Amazon Aurora Default: 3306 Valid Values: 1150-65535 Type: Integer - */ - Port?: IntegerOptional; - /** - * Specifies if the DB instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the MultiAZ parameter is set to true. - */ - MultiAZ?: BooleanOptional; - /** - * The version number of the database engine to use. The following are the database engines and major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS region. Amazon Aurora Version 5.6 (available in these AWS regions: ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-2, eu-west-1, us-east-1, us-east-2, us-west-2): 5.6.10a MariaDB 10.1.19 (supported in all AWS regions) 10.1.14 (supported in all regions except us-east-2) 10.0.28 (supported in all AWS regions) 10.0.24 (supported in all AWS regions) 10.0.17 (supported in all regions except us-east-2, ca-central-1, eu-west-2) Microsoft SQL Server 2016 13.00.4422.0.v1 (supported for all editions, and all AWS regions) 13.00.2164.0.v1 (supported for all editions, and all AWS regions) Microsoft SQL Server 2014 12.00.5546.0.v1 (supported for all editions, and all AWS regions) 12.00.5000.0.v1 (supported for all editions, and all AWS regions) 12.00.4422.0.v1 (supported for all editions except Enterprise Edition, and all AWS regions except ca-central-1 and eu-west-2) Microsoft SQL Server 2012 11.00.6594.0.v1 (supported for all editions, and all AWS regions) 11.00.6020.0.v1 (supported for all editions, and all AWS regions) 11.00.5058.0.v1 (supported for all editions, and all AWS regions except us-east-2, ca-central-1, and eu-west-2) 11.00.2100.60.v1 (supported for all editions, and all AWS regions except us-east-2, ca-central-1, and eu-west-2) Microsoft SQL Server 2008 R2 10.50.6529.0.v1 (supported for all editions, and all AWS regions except us-east-2, ca-central-1, and eu-west-2) 10.50.6000.34.v1 (supported for all editions, and all AWS regions except us-east-2, ca-central-1, and eu-west-2) 10.50.2789.0.v1 (supported for all editions, and all AWS regions except us-east-2, ca-central-1, and eu-west-2) MySQL 5.7.17 (supported in all AWS regions) 5.7.16 (supported in all AWS regions) 5.7.11 (supported in all AWS regions) 5.7.10 (supported in all regions except us-east-2, ca-central-1, eu-west-2) 5.6.35 (supported in all AWS regions) 5.6.34 (supported in all AWS regions) 5.6.29 (supported in all AWS regions) 5.6.27 (supported in all regions except us-east-2, ca-central-1, eu-west-2) 5.6.23 (supported in all regions except us-east-2, ap-south-1, ca-central-1, eu-west-2) 5.6.22 (supported in all regions except us-east-2, ap-south-1, ap-northeast-2, ca-central-1, eu-west-2) 5.6.21b (supported in all regions except us-east-2, ap-south-1, ap-northeast-2, ca-central-1, eu-west-2) 5.6.21 (supported in all regions except us-east-2, ap-south-1, ap-northeast-2, ca-central-1, eu-west-2) 5.6.19b (supported in all regions except us-east-2, ap-south-1, ap-northeast-2, ca-central-1, eu-west-2) 5.6.19a (supported in all regions except us-east-2, ap-south-1, ap-northeast-2, ca-central-1, eu-west-2) 5.5.54 (supported in all AWS regions) 5.5.53 (supported in all AWS regions) 5.5.46 (supported in all AWS regions) Oracle 12c 12.1.0.2.v8 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1) 12.1.0.2.v7 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1) 12.1.0.2.v6 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1) 12.1.0.2.v5 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1) 12.1.0.2.v4 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1) 12.1.0.2.v3 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1) 12.1.0.2.v2 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1) 12.1.0.2.v1 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1) Oracle 11g 11.2.0.4.v12 (supported for EE, SE1, and SE, in all AWS regions) 11.2.0.4.v11 (supported for EE, SE1, and SE, in all AWS regions) 11.2.0.4.v10 (supported for EE, SE1, and SE, in all AWS regions) 11.2.0.4.v9 (supported for EE, SE1, and SE, in all AWS regions) 11.2.0.4.v8 (supported for EE, SE1, and SE, in all AWS regions) 11.2.0.4.v7 (supported for EE, SE1, and SE, in all AWS regions) 11.2.0.4.v6 (supported for EE, SE1, and SE, in all AWS regions) 11.2.0.4.v5 (supported for EE, SE1, and SE, in all AWS regions) 11.2.0.4.v4 (supported for EE, SE1, and SE, in all AWS regions) 11.2.0.4.v3 (supported for EE, SE1, and SE, in all AWS regions) 11.2.0.4.v1 (supported for EE, SE1, and SE, in all AWS regions) PostgreSQL Version 9.6.x: 9.6.1 | 9.6.2 Version 9.5.x: 9.5.6 | 9.5.4 | 9.5.2 Version 9.4.x: 9.4.11 | 9.4.9 | 9.4.7 Version 9.3.x: 9.3.16 | 9.3.14 | 9.3.12 - */ - EngineVersion?: String; - /** - * Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window. Default: true - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * License model information for this DB instance. Valid values: license-included | bring-your-own-license | general-public-license - */ - LicenseModel?: String; - /** - * The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance. Constraints: Must be a multiple between 3 and 10 of the storage amount for the DB instance. Must also be an integer multiple of 1000. For example, if the size of your DB instance is 500 GB, then your Iops value can be 2000, 3000, 4000, or 5000. - */ - Iops?: IntegerOptional; - /** - * Indicates that the DB instance should be associated with the specified option group. Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance - */ - OptionGroupName?: String; - /** - * For supported engines, indicates that the DB instance should be associated with the specified CharacterSet. - */ - CharacterSetName?: String; - /** - * Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address. Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case. Default VPC: true VPC: false If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private. - */ - PubliclyAccessible?: BooleanOptional; - Tags?: TagList; - /** - * The identifier of the DB cluster that the instance will belong to. For information on creating a DB cluster, see CreateDBCluster. Type: String - */ - DBClusterIdentifier?: String; - /** - * Specifies the storage type to be associated with the DB instance. Valid values: standard | gp2 | io1 If you specify io1, you must also include a value for the Iops parameter. Default: io1 if the Iops parameter is specified; otherwise standard - */ - StorageType?: String; - /** - * The ARN from the Key Store with which to associate the instance for TDE encryption. - */ - TdeCredentialArn?: String; - /** - * The password for the given ARN from the Key Store in order to access the device. - */ - TdeCredentialPassword?: String; - /** - * Specifies whether the DB instance is encrypted. Default: false - */ - StorageEncrypted?: BooleanOptional; - /** - * The KMS key identifier for an encrypted DB instance. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB instance with the same AWS account that owns the KMS encryption key used to encrypt the new DB instance, then you can use the KMS key alias instead of the ARN for the KM encryption key. If the StorageEncrypted parameter is true, and you do not specify a value for the KmsKeyId parameter, then Amazon RDS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. - */ - KmsKeyId?: String; - /** - * Specify the Active Directory Domain to create the instance in. - */ - Domain?: String; - /** - * True to copy all tags from the DB instance to snapshots of the DB instance; otherwise false. The default is false. - */ - CopyTagsToSnapshot?: BooleanOptional; - /** - * The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. If MonitoringRoleArn is specified, then you must also set MonitoringInterval to a value other than 0. Valid Values: 0, 1, 5, 10, 15, 30, 60 - */ - MonitoringInterval?: IntegerOptional; - /** - * The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. For information on creating a monitoring role, go to Setting Up and Enabling Enhanced Monitoring. If MonitoringInterval is set to a value other than 0, then you must supply a MonitoringRoleArn value. - */ - MonitoringRoleArn?: String; - /** - * Specify the name of the IAM role to be used when making API calls to the Directory Service. - */ - DomainIAMRoleName?: String; - /** - * A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster. Default: 1 Valid Values: 0 - 15 - */ - PromotionTier?: IntegerOptional; - /** - * The time zone of the DB instance. The time zone parameter is currently supported only by Microsoft SQL Server. - */ - Timezone?: String; - /** - * True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts; otherwise false. You can enable IAM database authentication for the following database engines: For MySQL 5.6, minor version 5.6.34 or higher For MySQL 5.7, minor version 5.7.16 or higher Default: false - */ - EnableIAMDatabaseAuthentication?: BooleanOptional; - } - export interface CreateDBInstanceReadReplicaMessage { - /** - * The DB instance identifier of the Read Replica. This identifier is the unique key that identifies a DB instance. This parameter is stored as a lowercase string. - */ - DBInstanceIdentifier: String; - /** - * The identifier of the DB instance that will act as the source for the Read Replica. Each DB instance can have up to five Read Replicas. Constraints: Must be the identifier of an existing MySQL, MariaDB, or PostgreSQL DB instance. Can specify a DB instance that is a MySQL Read Replica only if the source is running MySQL 5.6. Can specify a DB instance that is a PostgreSQL DB instance only if the source is running PostgreSQL 9.3.5 or later. The specified DB instance must have automatic backups enabled, its backup retention period must be greater than 0. If the source DB instance is in the same region as the Read Replica, specify a valid DB instance identifier. If the source DB instance is in a different region than the Read Replica, specify a valid DB instance ARN. For more information, go to Constructing a Amazon RDS Amazon Resource Name (ARN). - */ - SourceDBInstanceIdentifier: String; - /** - * The compute and memory capacity of the Read Replica. Note that not all instance classes are available in all regions for all DB engines. Valid Values: db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large Default: Inherits from the source DB instance. - */ - DBInstanceClass?: String; - /** - * The Amazon EC2 Availability Zone that the Read Replica will be created in. Default: A random, system-chosen Availability Zone in the endpoint's region. Example: us-east-1d - */ - AvailabilityZone?: String; - /** - * The port number that the DB instance uses for connections. Default: Inherits from the source DB instance Valid Values: 1150-65535 - */ - Port?: IntegerOptional; - /** - * Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. Default: Inherits from the source DB instance - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance. - */ - Iops?: IntegerOptional; - /** - * The option group the DB instance will be associated with. If omitted, the default option group for the engine specified will be used. - */ - OptionGroupName?: String; - /** - * Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address. Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case. Default VPC:true VPC:false If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private. - */ - PubliclyAccessible?: BooleanOptional; - Tags?: TagList; - /** - * Specifies a DB subnet group for the DB instance. The new DB instance will be created in the VPC associated with the DB subnet group. If no DB subnet group is specified, then the new DB instance is not created in a VPC. Constraints: Can only be specified if the source DB instance identifier specifies a DB instance in another region. The specified DB subnet group must be in the same region in which the operation is running. All Read Replicas in one region that are created from the same source DB instance must either:> Specify DB subnet groups from the same VPC. All these Read Replicas will be created in the same VPC. Not specify a DB subnet group. All these Read Replicas will be created outside of any VPC. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup - */ - DBSubnetGroupName?: String; - /** - * Specifies the storage type to be associated with the Read Replica. Valid values: standard | gp2 | io1 If you specify io1, you must also include a value for the Iops parameter. Default: io1 if the Iops parameter is specified; otherwise standard - */ - StorageType?: String; - /** - * True to copy all tags from the Read Replica to snapshots of the Read Replica; otherwise false. The default is false. - */ - CopyTagsToSnapshot?: BooleanOptional; - /** - * The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the Read Replica. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. If MonitoringRoleArn is specified, then you must also set MonitoringInterval to a value other than 0. Valid Values: 0, 1, 5, 10, 15, 30, 60 - */ - MonitoringInterval?: IntegerOptional; - /** - * The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. For information on creating a monitoring role, go to To create an IAM role for Amazon RDS Enhanced Monitoring. If MonitoringInterval is set to a value other than 0, then you must supply a MonitoringRoleArn value. - */ - MonitoringRoleArn?: String; - /** - * The AWS KMS key ID for an encrypted Read Replica. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key. If you create an unencrypted Read Replica and specify a value for the KmsKeyId parameter, Amazon RDS encrypts the target Read Replica using the specified KMS encryption key. If you create an encrypted Read Replica from your AWS account, you can specify a value for KmsKeyId to encrypt the Read Replica with a new KMS encryption key. If you don't specify a value for KmsKeyId, then the Read Replica is encrypted with the same KMS key as the source DB instance. If you create an encrypted Read Replica in a different AWS region, then you must specify a KMS key for the destination AWS region. KMS encryption keys are specific to the region that they are created in, and you cannot use encryption keys from one region in another region. - */ - KmsKeyId?: String; - /** - * The URL that contains a Signature Version 4 signed request for the CreateDBInstanceReadReplica API action in the AWS region that contains the source DB instance. The PreSignedUrl parameter must be used when encrypting a Read Replica from another AWS region. The presigned URL must be a valid request for the CreateDBInstanceReadReplica API action that can be executed in the source region that contains the encrypted DB instance. The presigned URL request must contain the following parameter values: DestinationRegion - The AWS Region that the Read Replica is created in. This region is the same one where the CreateDBInstanceReadReplica action is called that contains this presigned URL. For example, if you create an encrypted Read Replica in the us-east-1 region, and the source DB instance is in the west-2 region, then you call the CreateDBInstanceReadReplica action in the us-east-1 region and provide a presigned URL that contains a call to the CreateDBInstanceReadReplica action in the us-west-2 region. For this example, the DestinationRegion in the presigned URL must be set to the us-east-1 region. KmsKeyId - The KMS key identifier for the key to use to encrypt the Read Replica in the destination region. This is the same identifier for both the CreateDBInstanceReadReplica action that is called in the destination region, and the action contained in the presigned URL. SourceDBInstanceIdentifier - The DB instance identifier for the encrypted Read Replica to be created. This identifier must be in the Amazon Resource Name (ARN) format for the source region. For example, if you create an encrypted Read Replica from a DB instance in the us-west-2 region, then your SourceDBInstanceIdentifier would look like this example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-instance-20161115. To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process.If you supply a value for this operation's SourceRegion parameter, a pre-signed URL will be calculated on your behalf. - */ - PreSignedUrl?: String; - /** - * True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts; otherwise false. You can enable IAM database authentication for the following database engines For MySQL 5.6, minor version 5.6.34 or higher For MySQL 5.7, minor version 5.7.16 or higher Aurora 5.6 or higher. Default: false - */ - EnableIAMDatabaseAuthentication?: BooleanOptional; - /** - * The ID of the region that contains the source for the read replica. - */ - SourceRegion?: String; - } - export interface CreateDBInstanceReadReplicaResult { - DBInstance?: DBInstance; - } - export interface CreateDBInstanceResult { - DBInstance?: DBInstance; - } - export interface CreateDBParameterGroupMessage { - /** - * The name of the DB parameter group. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens This value is stored as a lowercase string. - */ - DBParameterGroupName: String; - /** - * The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family. - */ - DBParameterGroupFamily: String; - /** - * The description for the DB parameter group. - */ - Description: String; - Tags?: TagList; - } - export interface CreateDBParameterGroupResult { - DBParameterGroup?: DBParameterGroup; - } - export interface CreateDBSecurityGroupMessage { - /** - * The name for the DB security group. This value is stored as a lowercase string. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Must not be "Default" Example: mysecuritygroup - */ - DBSecurityGroupName: String; - /** - * The description for the DB security group. - */ - DBSecurityGroupDescription: String; - Tags?: TagList; - } - export interface CreateDBSecurityGroupResult { - DBSecurityGroup?: DBSecurityGroup; - } - export interface CreateDBSnapshotMessage { - /** - * The identifier for the DB snapshot. Constraints: Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-snapshot-id - */ - DBSnapshotIdentifier: String; - /** - * The DB instance identifier. This is the unique key that identifies a DB instance. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBInstanceIdentifier: String; - Tags?: TagList; - } - export interface CreateDBSnapshotResult { - DBSnapshot?: DBSnapshot; - } - export interface CreateDBSubnetGroupMessage { - /** - * The name for the DB subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup - */ - DBSubnetGroupName: String; - /** - * The description for the DB subnet group. - */ - DBSubnetGroupDescription: String; - /** - * The EC2 Subnet IDs for the DB subnet group. - */ - SubnetIds: SubnetIdentifierList; - Tags?: TagList; - } - export interface CreateDBSubnetGroupResult { - DBSubnetGroup?: DBSubnetGroup; - } - export interface CreateEventSubscriptionMessage { - /** - * The name of the subscription. Constraints: The name must be less than 255 characters. - */ - SubscriptionName: String; - /** - * The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it. - */ - SnsTopicArn: String; - /** - * The type of source that will be generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned. Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot - */ - SourceType?: String; - /** - * A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action. - */ - EventCategories?: EventCategoriesList; - /** - * The list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens. Constraints: If SourceIds are supplied, SourceType must also be provided. If the source type is a DB instance, then a DBInstanceIdentifier must be supplied. If the source type is a DB security group, a DBSecurityGroupName must be supplied. If the source type is a DB parameter group, a DBParameterGroupName must be supplied. If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied. - */ - SourceIds?: SourceIdsList; - /** - * A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it. - */ - Enabled?: BooleanOptional; - Tags?: TagList; - } - export interface CreateEventSubscriptionResult { - EventSubscription?: EventSubscription; - } - export interface CreateOptionGroupMessage { - /** - * Specifies the name of the option group to be created. Constraints: Must be 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: myoptiongroup - */ - OptionGroupName: String; - /** - * Specifies the name of the engine that this option group should be associated with. - */ - EngineName: String; - /** - * Specifies the major version of the engine that this option group should be associated with. - */ - MajorEngineVersion: String; - /** - * The description of the option group. - */ - OptionGroupDescription: String; - Tags?: TagList; - } - export interface CreateOptionGroupResult { - OptionGroup?: OptionGroup; - } - export interface DBCluster { - /** - * For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size in gigabytes (GB). For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage size is not fixed, but instead automatically adjusts as needed. - */ - AllocatedStorage?: IntegerOptional; - /** - * Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in. - */ - AvailabilityZones?: AvailabilityZones; - /** - * Specifies the number of days for which automatic DB snapshots are retained. - */ - BackupRetentionPeriod?: IntegerOptional; - /** - * If present, specifies the name of the character set that this cluster is associated with. - */ - CharacterSetName?: String; - /** - * Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster. - */ - DatabaseName?: String; - /** - * Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster. - */ - DBClusterIdentifier?: String; - /** - * Specifies the name of the DB cluster parameter group for the DB cluster. - */ - DBClusterParameterGroup?: String; - /** - * Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group. - */ - DBSubnetGroup?: String; - /** - * Specifies the current state of this DB cluster. - */ - Status?: String; - /** - * Specifies the progress of the operation as a percentage. - */ - PercentProgress?: String; - /** - * Specifies the earliest time to which a database can be restored with point-in-time restore. - */ - EarliestRestorableTime?: TStamp; - /** - * Specifies the connection endpoint for the primary instance of the DB cluster. - */ - Endpoint?: String; - /** - * The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can help balance your read workload across multiple Aurora Replicas in your DB cluster. If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, your connection will be dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you can then reconnect to the reader endpoint. - */ - ReaderEndpoint?: String; - /** - * Specifies whether the DB cluster has instances in multiple Availability Zones. - */ - MultiAZ?: Boolean; - /** - * Provides the name of the database engine to be used for this DB cluster. - */ - Engine?: String; - /** - * Indicates the database engine version. - */ - EngineVersion?: String; - /** - * Specifies the latest time to which a database can be restored with point-in-time restore. - */ - LatestRestorableTime?: TStamp; - /** - * Specifies the port that the database engine is listening on. - */ - Port?: IntegerOptional; - /** - * Contains the master username for the DB cluster. - */ - MasterUsername?: String; - /** - * Provides the list of option group memberships for this DB cluster. - */ - DBClusterOptionGroupMemberships?: DBClusterOptionGroupMemberships; - /** - * Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. - */ - PreferredBackupWindow?: String; - /** - * Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). - */ - PreferredMaintenanceWindow?: String; - /** - * Contains the identifier of the source DB cluster if this DB cluster is a Read Replica. - */ - ReplicationSourceIdentifier?: String; - /** - * Contains one or more identifiers of the Read Replicas associated with this DB cluster. - */ - ReadReplicaIdentifiers?: ReadReplicaIdentifierList; - /** - * Provides the list of instances that make up the DB cluster. - */ - DBClusterMembers?: DBClusterMemberList; - /** - * Provides a list of VPC security groups that the DB cluster belongs to. - */ - VpcSecurityGroups?: VpcSecurityGroupMembershipList; - /** - * Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. - */ - HostedZoneId?: String; - /** - * Specifies whether the DB cluster is encrypted. - */ - StorageEncrypted?: Boolean; - /** - * If StorageEncrypted is true, the KMS key identifier for the encrypted DB cluster. - */ - KmsKeyId?: String; - /** - * The region-unique, immutable identifier for the DB cluster. This identifier is found in AWS CloudTrail log entries whenever the KMS key for the DB cluster is accessed. - */ - DbClusterResourceId?: String; - /** - * The Amazon Resource Name (ARN) for the DB cluster. - */ - DBClusterArn?: String; - /** - * Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf. - */ - AssociatedRoles?: DBClusterRoles; - /** - * True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled; otherwise false. - */ - IAMDatabaseAuthenticationEnabled?: Boolean; - /** - * Identifies the clone group to which the DB cluster is associated. - */ - CloneGroupId?: String; - /** - * Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC). - */ - ClusterCreateTime?: TStamp; - } - export type DBClusterList = DBCluster[]; - export interface DBClusterMember { - /** - * Specifies the instance identifier for this member of the DB cluster. - */ - DBInstanceIdentifier?: String; - /** - * Value that is true if the cluster member is the primary instance for the DB cluster and false otherwise. - */ - IsClusterWriter?: Boolean; - /** - * Specifies the status of the DB cluster parameter group for this member of the DB cluster. - */ - DBClusterParameterGroupStatus?: String; - /** - * A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster. - */ - PromotionTier?: IntegerOptional; - } - export type DBClusterMemberList = DBClusterMember[]; - export interface DBClusterMessage { - /** - * A pagination token that can be used in a subsequent DescribeDBClusters request. - */ - Marker?: String; - /** - * Contains a list of DB clusters for the user. - */ - DBClusters?: DBClusterList; - } - export type DBClusterOptionGroupMemberships = DBClusterOptionGroupStatus[]; - export interface DBClusterOptionGroupStatus { - /** - * Specifies the name of the DB cluster option group. - */ - DBClusterOptionGroupName?: String; - /** - * Specifies the status of the DB cluster option group. - */ - Status?: String; - } - export interface DBClusterParameterGroup { - /** - * Provides the name of the DB cluster parameter group. - */ - DBClusterParameterGroupName?: String; - /** - * Provides the name of the DB parameter group family that this DB cluster parameter group is compatible with. - */ - DBParameterGroupFamily?: String; - /** - * Provides the customer-specified description for this DB cluster parameter group. - */ - Description?: String; - /** - * The Amazon Resource Name (ARN) for the DB cluster parameter group. - */ - DBClusterParameterGroupArn?: String; - } - export interface DBClusterParameterGroupDetails { - /** - * Provides a list of parameters for the DB cluster parameter group. - */ - Parameters?: ParametersList; - /** - * An optional pagination token provided by a previous DescribeDBClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . - */ - Marker?: String; - } - export type DBClusterParameterGroupList = DBClusterParameterGroup[]; - export interface DBClusterParameterGroupNameMessage { - /** - * The name of the DB cluster parameter group. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens This value is stored as a lowercase string. - */ - DBClusterParameterGroupName?: String; - } - export interface DBClusterParameterGroupsMessage { - /** - * An optional pagination token provided by a previous DescribeDBClusterParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of DB cluster parameter groups. - */ - DBClusterParameterGroups?: DBClusterParameterGroupList; - } - export interface DBClusterRole { - /** - * The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster. - */ - RoleArn?: String; - /** - * Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values: ACTIVE - the IAM role ARN is associated with the DB cluster and can be used to access other AWS services on your behalf. PENDING - the IAM role ARN is being associated with the DB cluster. INVALID - the IAM role ARN is associated with the DB cluster, but the DB cluster is unable to assume the IAM role in order to access other AWS services on your behalf. - */ - Status?: String; - } - export type DBClusterRoles = DBClusterRole[]; - export interface DBClusterSnapshot { - /** - * Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in. - */ - AvailabilityZones?: AvailabilityZones; - /** - * Specifies the identifier for the DB cluster snapshot. - */ - DBClusterSnapshotIdentifier?: String; - /** - * Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from. - */ - DBClusterIdentifier?: String; - /** - * Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC). - */ - SnapshotCreateTime?: TStamp; - /** - * Specifies the name of the database engine. - */ - Engine?: String; - /** - * Specifies the allocated storage size in gigabytes (GB). - */ - AllocatedStorage?: Integer; - /** - * Specifies the status of this DB cluster snapshot. - */ - Status?: String; - /** - * Specifies the port that the DB cluster was listening on at the time of the snapshot. - */ - Port?: Integer; - /** - * Provides the VPC ID associated with the DB cluster snapshot. - */ - VpcId?: String; - /** - * Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC). - */ - ClusterCreateTime?: TStamp; - /** - * Provides the master username for the DB cluster snapshot. - */ - MasterUsername?: String; - /** - * Provides the version of the database engine for this DB cluster snapshot. - */ - EngineVersion?: String; - /** - * Provides the license model information for this DB cluster snapshot. - */ - LicenseModel?: String; - /** - * Provides the type of the DB cluster snapshot. - */ - SnapshotType?: String; - /** - * Specifies the percentage of the estimated data that has been transferred. - */ - PercentProgress?: Integer; - /** - * Specifies whether the DB cluster snapshot is encrypted. - */ - StorageEncrypted?: Boolean; - /** - * If StorageEncrypted is true, the KMS key identifier for the encrypted DB cluster snapshot. - */ - KmsKeyId?: String; - /** - * The Amazon Resource Name (ARN) for the DB cluster snapshot. - */ - DBClusterSnapshotArn?: String; - /** - * If the DB cluster snapshot was copied from a source DB cluster snapshot, the Amazon Resource Name (ARN) for the source DB cluster snapshot; otherwise, a null value. - */ - SourceDBClusterSnapshotArn?: String; - /** - * True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled; otherwise false. - */ - IAMDatabaseAuthenticationEnabled?: Boolean; - } - export interface DBClusterSnapshotAttribute { - /** - * The name of the manual DB cluster snapshot attribute. The attribute named restore refers to the list of AWS accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action. - */ - AttributeName?: String; - /** - * The value(s) for the manual DB cluster snapshot attribute. If the AttributeName field is set to restore, then this element returns a list of IDs of the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If a value of all is in the list, then the manual DB cluster snapshot is public and available for any AWS account to copy or restore. - */ - AttributeValues?: AttributeValueList; - } - export type DBClusterSnapshotAttributeList = DBClusterSnapshotAttribute[]; - export interface DBClusterSnapshotAttributesResult { - /** - * The identifier of the manual DB cluster snapshot that the attributes apply to. - */ - DBClusterSnapshotIdentifier?: String; - /** - * The list of attributes and values for the manual DB cluster snapshot. - */ - DBClusterSnapshotAttributes?: DBClusterSnapshotAttributeList; - } - export type DBClusterSnapshotList = DBClusterSnapshot[]; - export interface DBClusterSnapshotMessage { - /** - * An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * Provides a list of DB cluster snapshots for the user. - */ - DBClusterSnapshots?: DBClusterSnapshotList; - } - export interface DBEngineVersion { - /** - * The name of the database engine. - */ - Engine?: String; - /** - * The version number of the database engine. - */ - EngineVersion?: String; - /** - * The name of the DB parameter group family for the database engine. - */ - DBParameterGroupFamily?: String; - /** - * The description of the database engine. - */ - DBEngineDescription?: String; - /** - * The description of the database engine version. - */ - DBEngineVersionDescription?: String; - /** - * The default character set for new instances of this engine version, if the CharacterSetName parameter of the CreateDBInstance API is not specified. - */ - DefaultCharacterSet?: CharacterSet; - /** - * A list of the character sets supported by this engine for the CharacterSetName parameter of the CreateDBInstance action. - */ - SupportedCharacterSets?: SupportedCharacterSetsList; - /** - * A list of engine versions that this database engine version can be upgraded to. - */ - ValidUpgradeTarget?: ValidUpgradeTargetList; - /** - * A list of the time zones supported by this engine for the Timezone parameter of the CreateDBInstance action. - */ - SupportedTimezones?: SupportedTimezonesList; - } - export type DBEngineVersionList = DBEngineVersion[]; - export interface DBEngineVersionMessage { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of DBEngineVersion elements. - */ - DBEngineVersions?: DBEngineVersionList; - } - export interface DBInstance { - /** - * Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance. - */ - DBInstanceIdentifier?: String; - /** - * Contains the name of the compute and memory capacity class of the DB instance. - */ - DBInstanceClass?: String; - /** - * Provides the name of the database engine to be used for this DB instance. - */ - Engine?: String; - /** - * Specifies the current state of this database. - */ - DBInstanceStatus?: String; - /** - * Contains the master username for the DB instance. - */ - MasterUsername?: String; - /** - * The meaning of this parameter differs according to the database engine you use. For example, this value returns MySQL, MariaDB, or PostgreSQL information when returning values from CreateDBInstanceReadReplica since Read Replicas are only supported for these engines. MySQL, MariaDB, SQL Server, PostgreSQL Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance. Type: String Oracle Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do not apply to an Oracle DB instance. - */ - DBName?: String; - /** - * Specifies the connection endpoint. - */ - Endpoint?: Endpoint; - /** - * Specifies the allocated storage size specified in gigabytes. - */ - AllocatedStorage?: Integer; - /** - * Provides the date and time the DB instance was created. - */ - InstanceCreateTime?: TStamp; - /** - * Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. - */ - PreferredBackupWindow?: String; - /** - * Specifies the number of days for which automatic DB snapshots are retained. - */ - BackupRetentionPeriod?: Integer; - /** - * Provides List of DB security group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status subelements. - */ - DBSecurityGroups?: DBSecurityGroupMembershipList; - /** - * Provides a list of VPC security group elements that the DB instance belongs to. - */ - VpcSecurityGroups?: VpcSecurityGroupMembershipList; - /** - * Provides the list of DB parameter groups applied to this DB instance. - */ - DBParameterGroups?: DBParameterGroupStatusList; - /** - * Specifies the name of the Availability Zone the DB instance is located in. - */ - AvailabilityZone?: String; - /** - * Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group. - */ - DBSubnetGroup?: DBSubnetGroup; - /** - * Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). - */ - PreferredMaintenanceWindow?: String; - /** - * Specifies that changes to the DB instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements. - */ - PendingModifiedValues?: PendingModifiedValues; - /** - * Specifies the latest time to which a database can be restored with point-in-time restore. - */ - LatestRestorableTime?: TStamp; - /** - * Specifies if the DB instance is a Multi-AZ deployment. - */ - MultiAZ?: Boolean; - /** - * Indicates the database engine version. - */ - EngineVersion?: String; - /** - * Indicates that minor version patches are applied automatically. - */ - AutoMinorVersionUpgrade?: Boolean; - /** - * Contains the identifier of the source DB instance if this DB instance is a Read Replica. - */ - ReadReplicaSourceDBInstanceIdentifier?: String; - /** - * Contains one or more identifiers of the Read Replicas associated with this DB instance. - */ - ReadReplicaDBInstanceIdentifiers?: ReadReplicaDBInstanceIdentifierList; - /** - * Contains one or more identifiers of Aurora DB clusters that are Read Replicas of this DB instance. - */ - ReadReplicaDBClusterIdentifiers?: ReadReplicaDBClusterIdentifierList; - /** - * License model information for this DB instance. - */ - LicenseModel?: String; - /** - * Specifies the Provisioned IOPS (I/O operations per second) value. - */ - Iops?: IntegerOptional; - /** - * Provides the list of option group memberships for this DB instance. - */ - OptionGroupMemberships?: OptionGroupMembershipList; - /** - * If present, specifies the name of the character set that this instance is associated with. - */ - CharacterSetName?: String; - /** - * If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support. - */ - SecondaryAvailabilityZone?: String; - /** - * Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address. Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case. Default VPC:true VPC:false If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private. - */ - PubliclyAccessible?: Boolean; - /** - * The status of a Read Replica. If the instance is not a Read Replica, this will be blank. - */ - StatusInfos?: DBInstanceStatusInfoList; - /** - * Specifies the storage type associated with DB instance. - */ - StorageType?: String; - /** - * The ARN from the key store with which the instance is associated for TDE encryption. - */ - TdeCredentialArn?: String; - /** - * Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port. - */ - DbInstancePort?: Integer; - /** - * If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of. - */ - DBClusterIdentifier?: String; - /** - * Specifies whether the DB instance is encrypted. - */ - StorageEncrypted?: Boolean; - /** - * If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance. - */ - KmsKeyId?: String; - /** - * The region-unique, immutable identifier for the DB instance. This identifier is found in AWS CloudTrail log entries whenever the KMS key for the DB instance is accessed. - */ - DbiResourceId?: String; - /** - * The identifier of the CA certificate for this DB instance. - */ - CACertificateIdentifier?: String; - /** - * The Active Directory Domain membership records associated with the DB instance. - */ - DomainMemberships?: DomainMembershipList; - /** - * Specifies whether tags are copied from the DB instance to snapshots of the DB instance. - */ - CopyTagsToSnapshot?: Boolean; - /** - * The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. - */ - MonitoringInterval?: IntegerOptional; - /** - * The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance. - */ - EnhancedMonitoringResourceArn?: String; - /** - * The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to CloudWatch Logs. - */ - MonitoringRoleArn?: String; - /** - * A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster. - */ - PromotionTier?: IntegerOptional; - /** - * The Amazon Resource Name (ARN) for the DB instance. - */ - DBInstanceArn?: String; - /** - * The time zone of the DB instance. In most cases, the Timezone element is empty. Timezone content appears only for Microsoft SQL Server DB instances that were created with a time zone specified. - */ - Timezone?: String; - /** - * True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled; otherwise false. IAM database authentication can be enabled for the following database engines For MySQL 5.6, minor version 5.6.34 or higher For MySQL 5.7, minor version 5.7.16 or higher Aurora 5.6 or higher. To enable IAM database authentication for Aurora, see DBCluster Type. - */ - IAMDatabaseAuthenticationEnabled?: Boolean; - } - export type DBInstanceList = DBInstance[]; - export interface DBInstanceMessage { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . - */ - Marker?: String; - /** - * A list of DBInstance instances. - */ - DBInstances?: DBInstanceList; - } - export interface DBInstanceStatusInfo { - /** - * This value is currently "read replication." - */ - StatusType?: String; - /** - * Boolean value that is true if the instance is operating normally, or false if the instance is in an error state. - */ - Normal?: Boolean; - /** - * Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated. - */ - Status?: String; - /** - * Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank. - */ - Message?: String; - } - export type DBInstanceStatusInfoList = DBInstanceStatusInfo[]; - export interface DBParameterGroup { - /** - * Provides the name of the DB parameter group. - */ - DBParameterGroupName?: String; - /** - * Provides the name of the DB parameter group family that this DB parameter group is compatible with. - */ - DBParameterGroupFamily?: String; - /** - * Provides the customer-specified description for this DB parameter group. - */ - Description?: String; - /** - * The Amazon Resource Name (ARN) for the DB parameter group. - */ - DBParameterGroupArn?: String; - } - export interface DBParameterGroupDetails { - /** - * A list of Parameter values. - */ - Parameters?: ParametersList; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export type DBParameterGroupList = DBParameterGroup[]; - export interface DBParameterGroupNameMessage { - /** - * Provides the name of the DB parameter group. - */ - DBParameterGroupName?: String; - } - export interface DBParameterGroupStatus { - /** - * The name of the DP parameter group. - */ - DBParameterGroupName?: String; - /** - * The status of parameter updates. - */ - ParameterApplyStatus?: String; - } - export type DBParameterGroupStatusList = DBParameterGroupStatus[]; - export interface DBParameterGroupsMessage { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of DBParameterGroup instances. - */ - DBParameterGroups?: DBParameterGroupList; - } - export interface DBSecurityGroup { - /** - * Provides the AWS ID of the owner of a specific DB security group. - */ - OwnerId?: String; - /** - * Specifies the name of the DB security group. - */ - DBSecurityGroupName?: String; - /** - * Provides the description of the DB security group. - */ - DBSecurityGroupDescription?: String; - /** - * Provides the VpcId of the DB security group. - */ - VpcId?: String; - /** - * Contains a list of EC2SecurityGroup elements. - */ - EC2SecurityGroups?: EC2SecurityGroupList; - /** - * Contains a list of IPRange elements. - */ - IPRanges?: IPRangeList; - /** - * The Amazon Resource Name (ARN) for the DB security group. - */ - DBSecurityGroupArn?: String; - } - export interface DBSecurityGroupMembership { - /** - * The name of the DB security group. - */ - DBSecurityGroupName?: String; - /** - * The status of the DB security group. - */ - Status?: String; - } - export type DBSecurityGroupMembershipList = DBSecurityGroupMembership[]; - export interface DBSecurityGroupMessage { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of DBSecurityGroup instances. - */ - DBSecurityGroups?: DBSecurityGroups; - } - export type DBSecurityGroupNameList = String[]; - export type DBSecurityGroups = DBSecurityGroup[]; - export interface DBSnapshot { - /** - * Specifies the identifier for the DB snapshot. - */ - DBSnapshotIdentifier?: String; - /** - * Specifies the DB instance identifier of the DB instance this DB snapshot was created from. - */ - DBInstanceIdentifier?: String; - /** - * Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC). - */ - SnapshotCreateTime?: TStamp; - /** - * Specifies the name of the database engine. - */ - Engine?: String; - /** - * Specifies the allocated storage size in gigabytes (GB). - */ - AllocatedStorage?: Integer; - /** - * Specifies the status of this DB snapshot. - */ - Status?: String; - /** - * Specifies the port that the database engine was listening on at the time of the snapshot. - */ - Port?: Integer; - /** - * Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot. - */ - AvailabilityZone?: String; - /** - * Provides the VPC ID associated with the DB snapshot. - */ - VpcId?: String; - /** - * Specifies the time when the snapshot was taken, in Universal Coordinated Time (UTC). - */ - InstanceCreateTime?: TStamp; - /** - * Provides the master username for the DB snapshot. - */ - MasterUsername?: String; - /** - * Specifies the version of the database engine. - */ - EngineVersion?: String; - /** - * License model information for the restored DB instance. - */ - LicenseModel?: String; - /** - * Provides the type of the DB snapshot. - */ - SnapshotType?: String; - /** - * Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot. - */ - Iops?: IntegerOptional; - /** - * Provides the option group name for the DB snapshot. - */ - OptionGroupName?: String; - /** - * The percentage of the estimated data that has been transferred. - */ - PercentProgress?: Integer; - /** - * The region that the DB snapshot was created in or copied from. - */ - SourceRegion?: String; - /** - * The DB snapshot Arn that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy. - */ - SourceDBSnapshotIdentifier?: String; - /** - * Specifies the storage type associated with DB snapshot. - */ - StorageType?: String; - /** - * The ARN from the key store with which to associate the instance for TDE encryption. - */ - TdeCredentialArn?: String; - /** - * Specifies whether the DB snapshot is encrypted. - */ - Encrypted?: Boolean; - /** - * If Encrypted is true, the KMS key identifier for the encrypted DB snapshot. - */ - KmsKeyId?: String; - /** - * The Amazon Resource Name (ARN) for the DB snapshot. - */ - DBSnapshotArn?: String; - /** - * The time zone of the DB snapshot. In most cases, the Timezone element is empty. Timezone content appears only for snapshots taken from Microsoft SQL Server DB instances that were created with a time zone specified. - */ - Timezone?: String; - /** - * True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled; otherwise false. - */ - IAMDatabaseAuthenticationEnabled?: Boolean; - } - export interface DBSnapshotAttribute { - /** - * The name of the manual DB snapshot attribute. The attribute named restore refers to the list of AWS accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see the ModifyDBSnapshotAttribute API action. - */ - AttributeName?: String; - /** - * The value or values for the manual DB snapshot attribute. If the AttributeName field is set to restore, then this element returns a list of IDs of the AWS accounts that are authorized to copy or restore the manual DB snapshot. If a value of all is in the list, then the manual DB snapshot is public and available for any AWS account to copy or restore. - */ - AttributeValues?: AttributeValueList; - } - export type DBSnapshotAttributeList = DBSnapshotAttribute[]; - export interface DBSnapshotAttributesResult { - /** - * The identifier of the manual DB snapshot that the attributes apply to. - */ - DBSnapshotIdentifier?: String; - /** - * The list of attributes and values for the manual DB snapshot. - */ - DBSnapshotAttributes?: DBSnapshotAttributeList; - } - export type DBSnapshotList = DBSnapshot[]; - export interface DBSnapshotMessage { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of DBSnapshot instances. - */ - DBSnapshots?: DBSnapshotList; - } - export interface DBSubnetGroup { - /** - * The name of the DB subnet group. - */ - DBSubnetGroupName?: String; - /** - * Provides the description of the DB subnet group. - */ - DBSubnetGroupDescription?: String; - /** - * Provides the VpcId of the DB subnet group. - */ - VpcId?: String; - /** - * Provides the status of the DB subnet group. - */ - SubnetGroupStatus?: String; - /** - * Contains a list of Subnet elements. - */ - Subnets?: SubnetList; - /** - * The Amazon Resource Name (ARN) for the DB subnet group. - */ - DBSubnetGroupArn?: String; - } - export interface DBSubnetGroupMessage { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of DBSubnetGroup instances. - */ - DBSubnetGroups?: DBSubnetGroups; - } - export type DBSubnetGroups = DBSubnetGroup[]; - export interface DeleteDBClusterMessage { - /** - * The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBClusterIdentifier: String; - /** - * Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If true is specified, no DB cluster snapshot is created. If false is specified, a DB cluster snapshot is created before the DB cluster is deleted. You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false. Default: false - */ - SkipFinalSnapshot?: Boolean; - /** - * The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is set to false. Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - FinalDBSnapshotIdentifier?: String; - } - export interface DeleteDBClusterParameterGroupMessage { - /** - * The name of the DB cluster parameter group. Constraints: Must be the name of an existing DB cluster parameter group. You cannot delete a default DB cluster parameter group. Cannot be associated with any DB clusters. - */ - DBClusterParameterGroupName: String; - } - export interface DeleteDBClusterResult { - DBCluster?: DBCluster; - } - export interface DeleteDBClusterSnapshotMessage { - /** - * The identifier of the DB cluster snapshot to delete. Constraints: Must be the name of an existing DB cluster snapshot in the available state. - */ - DBClusterSnapshotIdentifier: String; - } - export interface DeleteDBClusterSnapshotResult { - DBClusterSnapshot?: DBClusterSnapshot; - } - export interface DeleteDBInstanceMessage { - /** - * The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBInstanceIdentifier: String; - /** - * Determines whether a final DB snapshot is created before the DB instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB snapshot is created before the DB instance is deleted. Note that when a DB instance is in a failure state and has a status of 'failed', 'incompatible-restore', or 'incompatible-network', it can only be deleted when the SkipFinalSnapshot parameter is set to "true". Specify true when deleting a Read Replica. The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot is false. Default: false - */ - SkipFinalSnapshot?: Boolean; - /** - * The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to false. Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Cannot be specified when deleting a Read Replica. - */ - FinalDBSnapshotIdentifier?: String; - } - export interface DeleteDBInstanceResult { - DBInstance?: DBInstance; - } - export interface DeleteDBParameterGroupMessage { - /** - * The name of the DB parameter group. Constraints: Must be the name of an existing DB parameter group You cannot delete a default DB parameter group Cannot be associated with any DB instances - */ - DBParameterGroupName: String; - } - export interface DeleteDBSecurityGroupMessage { - /** - * The name of the DB security group to delete. You cannot delete the default DB security group. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Must not be "Default" - */ - DBSecurityGroupName: String; - } - export interface DeleteDBSnapshotMessage { - /** - * The DBSnapshot identifier. Constraints: Must be the name of an existing DB snapshot in the available state. - */ - DBSnapshotIdentifier: String; - } - export interface DeleteDBSnapshotResult { - DBSnapshot?: DBSnapshot; - } - export interface DeleteDBSubnetGroupMessage { - /** - * The name of the database subnet group to delete. You cannot delete the default subnet group. Constraints: Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup - */ - DBSubnetGroupName: String; - } - export interface DeleteEventSubscriptionMessage { - /** - * The name of the RDS event notification subscription you want to delete. - */ - SubscriptionName: String; - } - export interface DeleteEventSubscriptionResult { - EventSubscription?: EventSubscription; - } - export interface DeleteOptionGroupMessage { - /** - * The name of the option group to be deleted. You cannot delete default option groups. - */ - OptionGroupName: String; - } - export interface DescribeAccountAttributesMessage { - } - export interface DescribeCertificatesMessage { - /** - * The user-supplied certificate identifier. If this parameter is specified, information for only the identified certificate is returned. This parameter isn't case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - CertificateIdentifier?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeCertificates request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeDBClusterParameterGroupsMessage { - /** - * The name of a specific DB cluster parameter group to return details for. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBClusterParameterGroupName?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeDBClusterParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeDBClusterParametersMessage { - /** - * The name of a specific DB cluster parameter group to return parameter details for. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBClusterParameterGroupName: String; - /** - * A value that indicates to return only parameters for a specific source. Parameter sources can be engine, service, or customer. - */ - Source?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeDBClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeDBClusterSnapshotAttributesMessage { - /** - * The identifier for the DB cluster snapshot to describe the attributes for. - */ - DBClusterSnapshotIdentifier: String; - } - export interface DescribeDBClusterSnapshotAttributesResult { - DBClusterSnapshotAttributesResult?: DBClusterSnapshotAttributesResult; - } - export interface DescribeDBClusterSnapshotsMessage { - /** - * The ID of the DB cluster to retrieve the list of DB cluster snapshots for. This parameter cannot be used in conjunction with the DBClusterSnapshotIdentifier parameter. This parameter is not case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBClusterIdentifier?: String; - /** - * A specific DB cluster snapshot identifier to describe. This parameter cannot be used in conjunction with the DBClusterIdentifier parameter. This value is stored as a lowercase string. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens If this identifier is for an automated snapshot, the SnapshotType parameter must also be specified. - */ - DBClusterSnapshotIdentifier?: String; - /** - * The type of DB cluster snapshots to be returned. You can specify one of the following values: automated - Return all DB cluster snapshots that have been automatically taken by Amazon RDS for my AWS account. manual - Return all DB cluster snapshots that have been taken by my AWS account. shared - Return all manual DB cluster snapshots that have been shared to my AWS account. public - Return all DB cluster snapshots that have been marked as public. If you don't specify a SnapshotType value, then both automated and manual DB cluster snapshots are returned. You can include shared DB cluster snapshots with these results by setting the IncludeShared parameter to true. You can include public DB cluster snapshots with these results by setting the IncludePublic parameter to true. The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public. - */ - SnapshotType?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * Set this value to true to include shared manual DB cluster snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. The default is false. You can give an AWS account permission to restore a manual DB cluster snapshot from another AWS account by the ModifyDBClusterSnapshotAttribute API action. - */ - IncludeShared?: Boolean; - /** - * Set this value to true to include manual DB cluster snapshots that are public and can be copied or restored by any AWS account, otherwise set this value to false. The default is false. The default is false. You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute API action. - */ - IncludePublic?: Boolean; - } - export interface DescribeDBClustersMessage { - /** - * The user-supplied DB cluster identifier. If this parameter is specified, information from only the specific DB cluster is returned. This parameter isn't case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBClusterIdentifier?: String; - /** - * A filter that specifies one or more DB clusters to describe. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB clusters identified by these ARNs. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeDBClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeDBEngineVersionsMessage { - /** - * The database engine to return. - */ - Engine?: String; - /** - * The database engine version to return. Example: 5.1.49 - */ - EngineVersion?: String; - /** - * The name of a specific DB parameter group family to return details for. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBParameterGroupFamily?: String; - /** - * Not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * Indicates that only the default version of the specified engine or engine and major version combination is returned. - */ - DefaultOnly?: Boolean; - /** - * If this parameter is specified and the requested engine supports the CharacterSetName parameter for CreateDBInstance, the response includes a list of supported character sets for each engine version. - */ - ListSupportedCharacterSets?: BooleanOptional; - /** - * If this parameter is specified and the requested engine supports the TimeZone parameter for CreateDBInstance, the response includes a list of supported time zones for each engine version. - */ - ListSupportedTimezones?: BooleanOptional; - } - export interface DescribeDBInstancesMessage { - /** - * The user-supplied instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBInstanceIdentifier?: String; - /** - * A filter that specifies one or more DB instances to describe. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB Clusters identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list will only include information about the DB instances identified by these ARNs. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeDBLogFilesDetails { - /** - * The name of the log file for the specified DB instance. - */ - LogFileName?: String; - /** - * A POSIX timestamp when the last log entry was written. - */ - LastWritten?: Long; - /** - * The size, in bytes, of the log file for the specified DB instance. - */ - Size?: Long; - } - export type DescribeDBLogFilesList = DescribeDBLogFilesDetails[]; - export interface DescribeDBLogFilesMessage { - /** - * The customer-assigned name of the DB instance that contains the log files you want to list. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBInstanceIdentifier: String; - /** - * Filters the available log files for log file names that contain the specified string. - */ - FilenameContains?: String; - /** - * Filters the available log files for files written since the specified date, in POSIX timestamp format with milliseconds. - */ - FileLastWritten?: Long; - /** - * Filters the available log files for files larger than the specified size. - */ - FileSize?: Long; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. - */ - MaxRecords?: IntegerOptional; - /** - * The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords. - */ - Marker?: String; - } - export interface DescribeDBLogFilesResponse { - /** - * The DB log files returned. - */ - DescribeDBLogFiles?: DescribeDBLogFilesList; - /** - * A pagination token that can be used in a subsequent DescribeDBLogFiles request. - */ - Marker?: String; - } - export interface DescribeDBParameterGroupsMessage { - /** - * The name of a specific DB parameter group to return details for. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBParameterGroupName?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeDBParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeDBParametersMessage { - /** - * The name of a specific DB parameter group to return details for. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBParameterGroupName: String; - /** - * The parameter types to return. Default: All parameter types returned Valid Values: user | system | engine-default - */ - Source?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeDBParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeDBSecurityGroupsMessage { - /** - * The name of the DB security group to return details for. - */ - DBSecurityGroupName?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeDBSecurityGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeDBSnapshotAttributesMessage { - /** - * The identifier for the DB snapshot to describe the attributes for. - */ - DBSnapshotIdentifier: String; - } - export interface DescribeDBSnapshotAttributesResult { - DBSnapshotAttributesResult?: DBSnapshotAttributesResult; - } - export interface DescribeDBSnapshotsMessage { - /** - * The ID of the DB instance to retrieve the list of DB snapshots for. This parameter cannot be used in conjunction with DBSnapshotIdentifier. This parameter is not case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBInstanceIdentifier?: String; - /** - * A specific DB snapshot identifier to describe. This parameter cannot be used in conjunction with DBInstanceIdentifier. This value is stored as a lowercase string. Constraints: Must be 1 to 255 alphanumeric characters. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. If this identifier is for an automated snapshot, the SnapshotType parameter must also be specified. - */ - DBSnapshotIdentifier?: String; - /** - * The type of snapshots to be returned. You can specify one of the following values: automated - Return all DB snapshots that have been automatically taken by Amazon RDS for my AWS account. manual - Return all DB snapshots that have been taken by my AWS account. shared - Return all manual DB snapshots that have been shared to my AWS account. public - Return all DB snapshots that have been marked as public. If you don't specify a SnapshotType value, then both automated and manual snapshots are returned. Shared and public DB snapshots are not included in the returned results by default. You can include shared snapshots with these results by setting the IncludeShared parameter to true. You can include public snapshots with these results by setting the IncludePublic parameter to true. The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public. - */ - SnapshotType?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeDBSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * Set this value to true to include shared manual DB snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. The default is false. You can give an AWS account permission to restore a manual DB snapshot from another AWS account by using the ModifyDBSnapshotAttribute API action. - */ - IncludeShared?: Boolean; - /** - * Set this value to true to include manual DB snapshots that are public and can be copied or restored by any AWS account, otherwise set this value to false. The default is false. You can share a manual DB snapshot as public by using the ModifyDBSnapshotAttribute API. - */ - IncludePublic?: Boolean; - } - export interface DescribeDBSubnetGroupsMessage { - /** - * The name of the DB subnet group to return details for. - */ - DBSubnetGroupName?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeDBSubnetGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeEngineDefaultClusterParametersMessage { - /** - * The name of the DB cluster parameter group family to return engine parameter information for. - */ - DBParameterGroupFamily: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeEngineDefaultClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeEngineDefaultClusterParametersResult { - EngineDefaults?: EngineDefaults; - } - export interface DescribeEngineDefaultParametersMessage { - /** - * The name of the DB parameter group family. - */ - DBParameterGroupFamily: String; - /** - * Not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeEngineDefaultParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeEngineDefaultParametersResult { - EngineDefaults?: EngineDefaults; - } - export interface DescribeEventCategoriesMessage { - /** - * The type of source that will be generating the events. Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot - */ - SourceType?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - } - export interface DescribeEventSubscriptionsMessage { - /** - * The name of the RDS event notification subscription you want to describe. - */ - SubscriptionName?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . - */ - Marker?: String; - } - export interface DescribeEventsMessage { - /** - * The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response. Constraints: If SourceIdentifier is supplied, SourceType must also be provided. If the source type is DBInstance, then a DBInstanceIdentifier must be supplied. If the source type is DBSecurityGroup, a DBSecurityGroupName must be supplied. If the source type is DBParameterGroup, a DBParameterGroupName must be supplied. If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied. Cannot end with a hyphen or contain two consecutive hyphens. - */ - SourceIdentifier?: String; - /** - * The event source to retrieve events for. If no value is specified, all events are returned. - */ - SourceType?: SourceType; - /** - * The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z - */ - StartTime?: TStamp; - /** - * The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z - */ - EndTime?: TStamp; - /** - * The number of minutes to retrieve events for. Default: 60 - */ - Duration?: IntegerOptional; - /** - * A list of event categories that trigger notifications for a event notification subscription. - */ - EventCategories?: EventCategoriesList; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeEvents request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeOptionGroupOptionsMessage { - /** - * A required parameter. Options available for the given engine name will be described. - */ - EngineName: String; - /** - * If specified, filters the results to include only options for the specified major engine version. - */ - MajorEngineVersion?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeOptionGroupsMessage { - /** - * The name of the option group to describe. Cannot be supplied together with EngineName or MajorEngineVersion. - */ - OptionGroupName?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * An optional pagination token provided by a previous DescribeOptionGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * Filters the list of option groups to only include groups associated with a specific database engine. - */ - EngineName?: String; - /** - * Filters the list of option groups to only include groups associated with a specific database engine version. If specified, then EngineName must also be specified. - */ - MajorEngineVersion?: String; - } - export interface DescribeOrderableDBInstanceOptionsMessage { - /** - * The name of the engine to retrieve DB instance options for. - */ - Engine: String; - /** - * The engine version filter value. Specify this parameter to show only the available offerings matching the specified engine version. - */ - EngineVersion?: String; - /** - * The DB instance class filter value. Specify this parameter to show only the available offerings matching the specified DB instance class. - */ - DBInstanceClass?: String; - /** - * The license model filter value. Specify this parameter to show only the available offerings matching the specified license model. - */ - LicenseModel?: String; - /** - * The VPC filter value. Specify this parameter to show only the available VPC or non-VPC offerings. - */ - Vpc?: BooleanOptional; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . - */ - Marker?: String; - } - export interface DescribePendingMaintenanceActionsMessage { - /** - * The ARN of a resource to return pending maintenance actions for. - */ - ResourceIdentifier?: String; - /** - * A filter that specifies one or more resources to return pending maintenance actions for. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include pending maintenance actions for the DB clusters identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance ARNs. The results list will only include pending maintenance actions for the DB instances identified by these ARNs. - */ - Filters?: FilterList; - /** - * An optional pagination token provided by a previous DescribePendingMaintenanceActions request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by MaxRecords. - */ - Marker?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - } - export interface DescribeReservedDBInstancesMessage { - /** - * The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID. - */ - ReservedDBInstanceId?: String; - /** - * The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier. - */ - ReservedDBInstancesOfferingId?: String; - /** - * The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class. - */ - DBInstanceClass?: String; - /** - * The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration. Valid Values: 1 | 3 | 31536000 | 94608000 - */ - Duration?: String; - /** - * The product description filter value. Specify this parameter to show only those reservations matching the specified product description. - */ - ProductDescription?: String; - /** - * The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type. Valid Values: "Partial Upfront" | "All Upfront" | "No Upfront" - */ - OfferingType?: String; - /** - * The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter. - */ - MultiAZ?: BooleanOptional; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeReservedDBInstancesOfferingsMessage { - /** - * The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706 - */ - ReservedDBInstancesOfferingId?: String; - /** - * The DB instance class filter value. Specify this parameter to show only the available offerings matching the specified DB instance class. - */ - DBInstanceClass?: String; - /** - * Duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration. Valid Values: 1 | 3 | 31536000 | 94608000 - */ - Duration?: String; - /** - * Product description filter value. Specify this parameter to show only the available offerings matching the specified product description. - */ - ProductDescription?: String; - /** - * The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type. Valid Values: "Partial Upfront" | "All Upfront" | "No Upfront" - */ - OfferingType?: String; - /** - * The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter. - */ - MultiAZ?: BooleanOptional; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - /** - * The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface DescribeSourceRegionsMessage { - /** - * The source region name. For example, us-east-1. Constraints: Must specify a valid AWS Region name. - */ - RegionName?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeSourceRegions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - } - export interface DomainMembership { - /** - * The identifier of the Active Directory Domain. - */ - Domain?: String; - /** - * The status of the DB instance's Active Directory Domain membership, such as joined, pending-join, failed etc). - */ - Status?: String; - /** - * The fully qualified domain name of the Active Directory Domain. - */ - FQDN?: String; - /** - * The name of the IAM role to be used when making API calls to the Directory Service. - */ - IAMRoleName?: String; - } - export type DomainMembershipList = DomainMembership[]; - export type Double = number; - export interface DownloadDBLogFilePortionDetails { - /** - * Entries from the specified log file. - */ - LogFileData?: String; - /** - * A pagination token that can be used in a subsequent DownloadDBLogFilePortion request. - */ - Marker?: String; - /** - * Boolean value that if true, indicates there is more data to be downloaded. - */ - AdditionalDataPending?: Boolean; - } - export interface DownloadDBLogFilePortionMessage { - /** - * The customer-assigned name of the DB instance that contains the log files you want to list. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBInstanceIdentifier: String; - /** - * The name of the log file to be downloaded. - */ - LogFileName: String; - /** - * The pagination token provided in the previous request or "0". If the Marker parameter is specified the response includes only records beyond the marker until the end of the file or up to NumberOfLines. - */ - Marker?: String; - /** - * The number of lines to download. If the number of lines specified results in a file over 1 MB in size, the file will be truncated at 1 MB in size. If the NumberOfLines parameter is specified, then the block of lines returned can be from the beginning or the end of the log file, depending on the value of the Marker parameter. If neither Marker or NumberOfLines are specified, the entire log file is returned up to a maximum of 10000 lines, starting with the most recent log entries first. If NumberOfLines is specified and Marker is not specified, then the most recent lines from the end of the log file are returned. If Marker is specified as "0", then the specified number of lines from the beginning of the log file are returned. You can download the log file in blocks of lines by specifying the size of the block using the NumberOfLines parameter, and by specifying a value of "0" for the Marker parameter in your first request. Include the Marker value returned in the response as the Marker value for the next request, continuing until the AdditionalDataPending response element returns false. - */ - NumberOfLines?: Integer; - } - export interface EC2SecurityGroup { - /** - * Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked". - */ - Status?: String; - /** - * Specifies the name of the EC2 security group. - */ - EC2SecurityGroupName?: String; - /** - * Specifies the id of the EC2 security group. - */ - EC2SecurityGroupId?: String; - /** - * Specifies the AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field. - */ - EC2SecurityGroupOwnerId?: String; - } - export type EC2SecurityGroupList = EC2SecurityGroup[]; - export interface Endpoint { - /** - * Specifies the DNS address of the DB instance. - */ - Address?: String; - /** - * Specifies the port that the database engine is listening on. - */ - Port?: Integer; - /** - * Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. - */ - HostedZoneId?: String; - } - export interface EngineDefaults { - /** - * Specifies the name of the DB parameter group family that the engine default parameters apply to. - */ - DBParameterGroupFamily?: String; - /** - * An optional pagination token provided by a previous EngineDefaults request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . - */ - Marker?: String; - /** - * Contains a list of engine default parameters. - */ - Parameters?: ParametersList; - } - export interface Event { - /** - * Provides the identifier for the source of the event. - */ - SourceIdentifier?: String; - /** - * Specifies the source type for this event. - */ - SourceType?: SourceType; - /** - * Provides the text of this event. - */ - Message?: String; - /** - * Specifies the category for the event. - */ - EventCategories?: EventCategoriesList; - /** - * Specifies the date and time of the event. - */ - Date?: TStamp; - /** - * The Amazon Resource Name (ARN) for the event. - */ - SourceArn?: String; - } - export type EventCategoriesList = String[]; - export interface EventCategoriesMap { - /** - * The source type that the returned categories belong to - */ - SourceType?: String; - /** - * The event categories for the specified source type - */ - EventCategories?: EventCategoriesList; - } - export type EventCategoriesMapList = EventCategoriesMap[]; - export interface EventCategoriesMessage { - /** - * A list of EventCategoriesMap data types. - */ - EventCategoriesMapList?: EventCategoriesMapList; - } - export type EventList = Event[]; - export interface EventSubscription { - /** - * The AWS customer account associated with the RDS event notification subscription. - */ - CustomerAwsId?: String; - /** - * The RDS event notification subscription Id. - */ - CustSubscriptionId?: String; - /** - * The topic ARN of the RDS event notification subscription. - */ - SnsTopicArn?: String; - /** - * The status of the RDS event notification subscription. Constraints: Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist The status "no-permission" indicates that RDS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created. - */ - Status?: String; - /** - * The time the RDS event notification subscription was created. - */ - SubscriptionCreationTime?: String; - /** - * The source type for the RDS event notification subscription. - */ - SourceType?: String; - /** - * A list of source IDs for the RDS event notification subscription. - */ - SourceIdsList?: SourceIdsList; - /** - * A list of event categories for the RDS event notification subscription. - */ - EventCategoriesList?: EventCategoriesList; - /** - * A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled. - */ - Enabled?: Boolean; - /** - * The Amazon Resource Name (ARN) for the event subscription. - */ - EventSubscriptionArn?: String; - } - export type EventSubscriptionsList = EventSubscription[]; - export interface EventSubscriptionsMessage { - /** - * An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of EventSubscriptions data types. - */ - EventSubscriptionsList?: EventSubscriptionsList; - } - export interface EventsMessage { - /** - * An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . - */ - Marker?: String; - /** - * A list of Event instances. - */ - Events?: EventList; - } - export interface FailoverDBClusterMessage { - /** - * A DB cluster identifier to force a failover for. This parameter is not case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBClusterIdentifier?: String; - /** - * The name of the instance to promote to the primary instance. You must specify the instance identifier for an Aurora Replica in the DB cluster. For example, mydbcluster-replica1. - */ - TargetDBInstanceIdentifier?: String; - } - export interface FailoverDBClusterResult { - DBCluster?: DBCluster; - } - export interface Filter { - /** - * This parameter is not currently supported. - */ - Name: String; - /** - * This parameter is not currently supported. - */ - Values: FilterValueList; - } - export type FilterList = Filter[]; - export type FilterValueList = String[]; - export interface IPRange { - /** - * Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked". - */ - Status?: String; - /** - * Specifies the IP range. - */ - CIDRIP?: String; - } - export type IPRangeList = IPRange[]; - export type Integer = number; - export type IntegerOptional = number; - export type KeyList = String[]; - export interface ListTagsForResourceMessage { - /** - * The Amazon RDS resource with tags to be listed. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN). - */ - ResourceName: String; - /** - * This parameter is not currently supported. - */ - Filters?: FilterList; - } - export type Long = number; - export interface ModifyDBClusterMessage { - /** - * The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive. Constraints: Must be the identifier for an existing DB cluster. Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. - */ - DBClusterIdentifier: String; - /** - * The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-cluster2 - */ - NewDBClusterIdentifier?: String; - /** - * A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set to false, changes to the DB cluster are applied during the next maintenance window. The ApplyImmediately parameter only affects the NewDBClusterIdentifier and MasterUserPassword values. If you set the ApplyImmediately parameter value to false, then changes to the NewDBClusterIdentifier and MasterUserPassword values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of the ApplyImmediately parameter. Default: false - */ - ApplyImmediately?: Boolean; - /** - * The number of days for which automated backups are retained. You must specify a minimum value of 1. Default: 1 Constraints: Must be a value from 1 to 35 - */ - BackupRetentionPeriod?: IntegerOptional; - /** - * The name of the DB cluster parameter group to use for the DB cluster. - */ - DBClusterParameterGroupName?: String; - /** - * A list of VPC security groups that the DB cluster will belong to. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * The port number on which the DB cluster accepts connections. Constraints: Value must be 1150-65535 Default: The same port as the original DB cluster. - */ - Port?: IntegerOptional; - /** - * The new password for the master database user. This password can contain any printable ASCII character except "/", """, or "@". Constraints: Must contain from 8 to 41 characters. - */ - MasterUserPassword?: String; - /** - * A value that indicates that the DB cluster should be associated with the specified option group. Changing this parameter does not result in an outage except in the following case, and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted. Permanent options cannot be removed from an option group. The option group cannot be removed from a DB cluster once it is associated with a DB cluster. - */ - OptionGroupName?: String; - /** - * The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide. Constraints: Must be in the format hh24:mi-hh24:mi. Times should be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes. - */ - PreferredBackupWindow?: String; - /** - * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window. - */ - PreferredMaintenanceWindow?: String; - /** - * A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false. Default: false - */ - EnableIAMDatabaseAuthentication?: BooleanOptional; - } - export interface ModifyDBClusterParameterGroupMessage { - /** - * The name of the DB cluster parameter group to modify. - */ - DBClusterParameterGroupName: String; - /** - * A list of parameters in the DB cluster parameter group to modify. - */ - Parameters: ParametersList; - } - export interface ModifyDBClusterResult { - DBCluster?: DBCluster; - } - export interface ModifyDBClusterSnapshotAttributeMessage { - /** - * The identifier for the DB cluster snapshot to modify the attributes for. - */ - DBClusterSnapshotIdentifier: String; - /** - * The name of the DB cluster snapshot attribute to modify. To manage authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this value to restore. - */ - AttributeName: String; - /** - * A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName. To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account IDs, or all to make the manual DB cluster snapshot restorable by any AWS account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. - */ - ValuesToAdd?: AttributeValueList; - /** - * A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName. To remove authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account identifiers, or all to remove authorization for any AWS account to copy or restore the DB cluster snapshot. If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot. - */ - ValuesToRemove?: AttributeValueList; - } - export interface ModifyDBClusterSnapshotAttributeResult { - DBClusterSnapshotAttributesResult?: DBClusterSnapshotAttributesResult; - } - export interface ModifyDBInstanceMessage { - /** - * The DB instance identifier. This value is stored as a lowercase string. Constraints: Must be the identifier for an existing DB instance Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBInstanceIdentifier: String; - /** - * The new storage capacity of the RDS instance. Changing this setting does not result in an outage and the change is applied during the next maintenance window unless ApplyImmediately is set to true for this request. MySQL Default: Uses existing setting Valid Values: 5-6144 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. Type: Integer MariaDB Default: Uses existing setting Valid Values: 5-6144 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. Type: Integer PostgreSQL Default: Uses existing setting Valid Values: 5-6144 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. Type: Integer Oracle Default: Uses existing setting Valid Values: 10-6144 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. SQL Server Cannot be modified. If you choose to migrate your DB instance from using standard storage to using Provisioned IOPS, or from using Provisioned IOPS to using standard storage, the process can take time. The duration of the migration depends on several factors such as database load, storage size, storage type (standard or Provisioned IOPS), amount of IOPS provisioned (if any), and the number of prior scale storage operations. Typical migration times are under 24 hours, but the process can take up to several days in some cases. During the migration, the DB instance will be available for use, but might experience performance degradation. While the migration takes place, nightly backups for the instance will be suspended. No other Amazon RDS operations can take place for the instance, including modifying the instance, rebooting the instance, deleting the instance, creating a Read Replica for the instance, and creating a DB snapshot of the instance. - */ - AllocatedStorage?: IntegerOptional; - /** - * The new compute and memory capacity of the DB instance. To determine the instance classes that are available for a particular DB engine, use the DescribeOrderableDBInstanceOptions action. Note that not all instance classes are available in all regions for all DB engines. Passing a value for this setting causes an outage during the change and is applied during the next maintenance window, unless ApplyImmediately is specified as true for this request. Default: Uses existing setting Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large - */ - DBInstanceClass?: String; - /** - * The new DB subnet group for the DB instance. You can use this parameter to move your DB instance to a different VPC. If your DB instance is not in a VPC, you can also use this parameter to move your DB instance into a VPC. For more information, see Updating the VPC for a DB Instance. Changing the subnet group causes an outage during the change. The change is applied during the next maintenance window, unless you specify true for the ApplyImmediately parameter. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Example: mySubnetGroup - */ - DBSubnetGroupName?: String; - /** - * A list of DB security groups to authorize on this DB instance. Changing this setting does not result in an outage and the change is asynchronously applied as soon as possible. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBSecurityGroups?: DBSecurityGroupNameList; - /** - * A list of EC2 VPC security groups to authorize on this DB instance. This change is asynchronously applied as soon as possible. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB instance. If this parameter is set to false, changes to the DB instance are applied during the next maintenance window. Some parameter changes can cause an outage and will be applied on the next call to RebootDBInstance, or the next failure reboot. Review the table of parameters in Modifying a DB Instance and Using the Apply Immediately Parameter to see the impact that setting ApplyImmediately to true or false has for each modified parameter and to determine when the changes will be applied. Default: false - */ - ApplyImmediately?: Boolean; - /** - * The new password for the DB instance master user. Can be any printable ASCII character except "/", """, or "@". Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the MasterUserPassword element exists in the PendingModifiedValues element of the operation response. Default: Uses existing setting Constraints: Must be 8 to 41 alphanumeric characters (MySQL, MariaDB, and Amazon Aurora), 8 to 30 alphanumeric characters (Oracle), or 8 to 128 alphanumeric characters (SQL Server). Amazon RDS API actions never return the password, so this action provides a way to regain access to a primary instance user if the password is lost. This includes restoring privileges that might have been accidentally revoked. - */ - MasterUserPassword?: String; - /** - * The name of the DB parameter group to apply to the DB instance. Changing this setting does not result in an outage. The parameter group name itself is changed immediately, but the actual parameter changes are not applied until you reboot the instance without failover. The db instance will NOT be rebooted automatically and the parameter changes will NOT be applied during the next maintenance window. Default: Uses existing setting Constraints: The DB parameter group must be in the same DB parameter group family as this DB instance. - */ - DBParameterGroupName?: String; - /** - * The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Changing this parameter can result in an outage if you change from 0 to a non-zero value or from a non-zero value to 0. These changes are applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request. If you change the parameter from one non-zero value to another non-zero value, the change is asynchronously applied as soon as possible. Default: Uses existing setting Constraints: Must be a value from 0 to 35 Can be specified for a MySQL Read Replica only if the source is running MySQL 5.6 Can be specified for a PostgreSQL Read Replica only if the source is running PostgreSQL 9.3.5 Cannot be set to 0 if the DB instance is a source to Read Replicas - */ - BackupRetentionPeriod?: IntegerOptional; - /** - * The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod parameter. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible. Constraints: Must be in the format hh24:mi-hh24:mi Times should be in Universal Time Coordinated (UTC) Must not conflict with the preferred maintenance window Must be at least 30 minutes - */ - PreferredBackupWindow?: String; - /** - * The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, then changing this parameter will cause a reboot of the DB instance. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied. Default: Uses existing setting Format: ddd:hh24:mi-ddd:hh24:mi Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Must be at least 30 minutes - */ - PreferredMaintenanceWindow?: String; - /** - * Specifies if the DB instance is a Multi-AZ deployment. Changing this parameter does not result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request. Constraints: Cannot be specified if the DB instance is a Read Replica. - */ - MultiAZ?: BooleanOptional; - /** - * The version number of the database engine to upgrade to. Changing this parameter results in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request. For major version upgrades, if a non-default DB parameter group is currently in use, a new DB parameter group in the DB parameter group family for the new engine version must be specified. The new DB parameter group can be the default for that DB parameter group family. For a list of valid engine versions, see CreateDBInstance. - */ - EngineVersion?: String; - /** - * Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible. Constraints: This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version. - */ - AllowMajorVersionUpgrade?: Boolean; - /** - * Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window. Changing this parameter does not result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to true during the maintenance window, and a newer minor version is available, and RDS has enabled auto patching for that engine version. - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * The license model for the DB instance. Valid values: license-included | bring-your-own-license | general-public-license - */ - LicenseModel?: String; - /** - * The new Provisioned IOPS (I/O operations per second) value for the RDS instance. Changing this setting does not result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request. Default: Uses existing setting Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. If you are migrating from Provisioned IOPS to standard storage, set this value to 0. The DB instance will require a reboot for the change in storage type to take effect. SQL Server Setting the IOPS value for the SQL Server database engine is not supported. Type: Integer If you choose to migrate your DB instance from using standard storage to using Provisioned IOPS, or from using Provisioned IOPS to using standard storage, the process can take time. The duration of the migration depends on several factors such as database load, storage size, storage type (standard or Provisioned IOPS), amount of IOPS provisioned (if any), and the number of prior scale storage operations. Typical migration times are under 24 hours, but the process can take up to several days in some cases. During the migration, the DB instance will be available for use, but might experience performance degradation. While the migration takes place, nightly backups for the instance will be suspended. No other Amazon RDS operations can take place for the instance, including modifying the instance, rebooting the instance, deleting the instance, creating a Read Replica for the instance, and creating a DB snapshot of the instance. - */ - Iops?: IntegerOptional; - /** - * Indicates that the DB instance should be associated with the specified option group. Changing this parameter does not result in an outage except in the following case and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted. Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance - */ - OptionGroupName?: String; - /** - * The new DB instance identifier for the DB instance when renaming a DB instance. When you change the DB instance identifier, an instance reboot will occur immediately if you set Apply Immediately to true, or will occur during the next maintenance window if Apply Immediately to false. This value is stored as a lowercase string. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - NewDBInstanceIdentifier?: String; - /** - * Specifies the storage type to be associated with the DB instance. Valid values: standard | gp2 | io1 If you specify io1, you must also include a value for the Iops parameter. Default: io1 if the Iops parameter is specified; otherwise standard - */ - StorageType?: String; - /** - * The ARN from the Key Store with which to associate the instance for TDE encryption. - */ - TdeCredentialArn?: String; - /** - * The password for the given ARN from the Key Store in order to access the device. - */ - TdeCredentialPassword?: String; - /** - * Indicates the certificate that needs to be associated with the instance. - */ - CACertificateIdentifier?: String; - /** - * The Active Directory Domain to move the instance to. Specify none to remove the instance from its current domain. The domain must be created prior to this operation. Currently only a Microsoft SQL Server instance can be created in a Active Directory Domain. - */ - Domain?: String; - /** - * True to copy all tags from the DB instance to snapshots of the DB instance; otherwise false. The default is false. - */ - CopyTagsToSnapshot?: BooleanOptional; - /** - * The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. If MonitoringRoleArn is specified, then you must also set MonitoringInterval to a value other than 0. Valid Values: 0, 1, 5, 10, 15, 30, 60 - */ - MonitoringInterval?: IntegerOptional; - /** - * The port number on which the database accepts connections. The value of the DBPortNumber parameter must not match any of the port values specified for options in the option group for the DB instance. Your database will restart when you change the DBPortNumber value regardless of the value of the ApplyImmediately parameter. MySQL Default: 3306 Valid Values: 1150-65535 MariaDB Default: 3306 Valid Values: 1150-65535 PostgreSQL Default: 5432 Valid Values: 1150-65535 Type: Integer Oracle Default: 1521 Valid Values: 1150-65535 SQL Server Default: 1433 Valid Values: 1150-65535 except for 1434, 3389, 47001, 49152, and 49152 through 49156. Amazon Aurora Default: 3306 Valid Values: 1150-65535 - */ - DBPortNumber?: IntegerOptional; - /** - * Boolean value that indicates if the DB instance has a publicly resolvable DNS name. Set to True to make the DB instance Internet-facing with a publicly resolvable DNS name, which resolves to a public IP address. Set to False to make the DB instance internal with a DNS name that resolves to a private IP address. PubliclyAccessible only applies to DB instances in a VPC. The DB instance must be part of a public subnet and PubliclyAccessible must be true in order for it to be publicly accessible. Changes to the PubliclyAccessible parameter are applied immediately regardless of the value of the ApplyImmediately parameter. Default: false - */ - PubliclyAccessible?: BooleanOptional; - /** - * The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. For information on creating a monitoring role, go to To create an IAM role for Amazon RDS Enhanced Monitoring. If MonitoringInterval is set to a value other than 0, then you must supply a MonitoringRoleArn value. - */ - MonitoringRoleArn?: String; - /** - * The name of the IAM role to use when making API calls to the Directory Service. - */ - DomainIAMRoleName?: String; - /** - * A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster. Default: 1 Valid Values: 0 - 15 - */ - PromotionTier?: IntegerOptional; - /** - * True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts; otherwise false. You can enable IAM database authentication for the following database engines For MySQL 5.6, minor version 5.6.34 or higher For MySQL 5.7, minor version 5.7.16 or higher Default: false - */ - EnableIAMDatabaseAuthentication?: BooleanOptional; - } - export interface ModifyDBInstanceResult { - DBInstance?: DBInstance; - } - export interface ModifyDBParameterGroupMessage { - /** - * The name of the DB parameter group. Constraints: Must be the name of an existing DB parameter group Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBParameterGroupName: String; - /** - * An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request. Valid Values (for the application method): immediate | pending-reboot You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover. - */ - Parameters: ParametersList; - } - export interface ModifyDBSnapshotAttributeMessage { - /** - * The identifier for the DB snapshot to modify the attributes for. - */ - DBSnapshotIdentifier: String; - /** - * The name of the DB snapshot attribute to modify. To manage authorization for other AWS accounts to copy or restore a manual DB snapshot, set this value to restore. - */ - AttributeName: String; - /** - * A list of DB snapshot attributes to add to the attribute specified by AttributeName. To authorize other AWS accounts to copy or restore a manual snapshot, set this list to include one or more AWS account IDs, or all to make the manual DB snapshot restorable by any AWS account. Do not add the all value for any manual DB snapshots that contain private information that you don't want available to all AWS accounts. - */ - ValuesToAdd?: AttributeValueList; - /** - * A list of DB snapshot attributes to remove from the attribute specified by AttributeName. To remove authorization for other AWS accounts to copy or restore a manual snapshot, set this list to include one or more AWS account identifiers, or all to remove authorization for any AWS account to copy or restore the DB snapshot. If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore the manual DB snapshot. - */ - ValuesToRemove?: AttributeValueList; - } - export interface ModifyDBSnapshotAttributeResult { - DBSnapshotAttributesResult?: DBSnapshotAttributesResult; - } - export interface ModifyDBSnapshotMessage { - /** - * The identifier of the DB snapshot to modify. - */ - DBSnapshotIdentifier: String; - /** - * The engine version to update the DB snapshot to. - */ - EngineVersion?: String; - } - export interface ModifyDBSnapshotResult { - DBSnapshot?: DBSnapshot; - } - export interface ModifyDBSubnetGroupMessage { - /** - * The name for the DB subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup - */ - DBSubnetGroupName: String; - /** - * The description for the DB subnet group. - */ - DBSubnetGroupDescription?: String; - /** - * The EC2 subnet IDs for the DB subnet group. - */ - SubnetIds: SubnetIdentifierList; - } - export interface ModifyDBSubnetGroupResult { - DBSubnetGroup?: DBSubnetGroup; - } - export interface ModifyEventSubscriptionMessage { - /** - * The name of the RDS event notification subscription. - */ - SubscriptionName: String; - /** - * The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it. - */ - SnsTopicArn?: String; - /** - * The type of source that will be generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned. Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot - */ - SourceType?: String; - /** - * A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action. - */ - EventCategories?: EventCategoriesList; - /** - * A Boolean value; set to true to activate the subscription. - */ - Enabled?: BooleanOptional; - } - export interface ModifyEventSubscriptionResult { - EventSubscription?: EventSubscription; - } - export interface ModifyOptionGroupMessage { - /** - * The name of the option group to be modified. Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance - */ - OptionGroupName: String; - /** - * Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration. - */ - OptionsToInclude?: OptionConfigurationList; - /** - * Options in this list are removed from the option group. - */ - OptionsToRemove?: OptionNamesList; - /** - * Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group. - */ - ApplyImmediately?: Boolean; - } - export interface ModifyOptionGroupResult { - OptionGroup?: OptionGroup; - } - export interface Option { - /** - * The name of the option. - */ - OptionName?: String; - /** - * The description of the option. - */ - OptionDescription?: String; - /** - * Indicate if this option is persistent. - */ - Persistent?: Boolean; - /** - * Indicate if this option is permanent. - */ - Permanent?: Boolean; - /** - * If required, the port configured for this option to use. - */ - Port?: IntegerOptional; - /** - * The version of the option. - */ - OptionVersion?: String; - /** - * The option settings for this option. - */ - OptionSettings?: OptionSettingConfigurationList; - /** - * If the option requires access to a port, then this DB security group allows access to the port. - */ - DBSecurityGroupMemberships?: DBSecurityGroupMembershipList; - /** - * If the option requires access to a port, then this VPC security group allows access to the port. - */ - VpcSecurityGroupMemberships?: VpcSecurityGroupMembershipList; - } - export interface OptionConfiguration { - /** - * The configuration of options to include in a group. - */ - OptionName: String; - /** - * The optional port for the option. - */ - Port?: IntegerOptional; - /** - * The version for the option. - */ - OptionVersion?: String; - /** - * A list of DBSecurityGroupMemebrship name strings used for this option. - */ - DBSecurityGroupMemberships?: DBSecurityGroupNameList; - /** - * A list of VpcSecurityGroupMemebrship name strings used for this option. - */ - VpcSecurityGroupMemberships?: VpcSecurityGroupIdList; - /** - * The option settings to include in an option group. - */ - OptionSettings?: OptionSettingsList; - } - export type OptionConfigurationList = OptionConfiguration[]; - export interface OptionGroup { - /** - * Specifies the name of the option group. - */ - OptionGroupName?: String; - /** - * Provides a description of the option group. - */ - OptionGroupDescription?: String; - /** - * Indicates the name of the engine that this option group can be applied to. - */ - EngineName?: String; - /** - * Indicates the major engine version associated with this option group. - */ - MajorEngineVersion?: String; - /** - * Indicates what options are available in the option group. - */ - Options?: OptionsList; - /** - * Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances. - */ - AllowsVpcAndNonVpcInstanceMemberships?: Boolean; - /** - * If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field. - */ - VpcId?: String; - /** - * The Amazon Resource Name (ARN) for the option group. - */ - OptionGroupArn?: String; - } - export interface OptionGroupMembership { - /** - * The name of the option group that the instance belongs to. - */ - OptionGroupName?: String; - /** - * The status of the DB instance's option group membership. Valid values are: in-sync, pending-apply, pending-removal, pending-maintenance-apply, pending-maintenance-removal, applying, removing, and failed. - */ - Status?: String; - } - export type OptionGroupMembershipList = OptionGroupMembership[]; - export interface OptionGroupOption { - /** - * The name of the option. - */ - Name?: String; - /** - * The description of the option. - */ - Description?: String; - /** - * The name of the engine that this option can be applied to. - */ - EngineName?: String; - /** - * Indicates the major engine version that the option is available for. - */ - MajorEngineVersion?: String; - /** - * The minimum required engine version for the option to be applied. - */ - MinimumRequiredMinorEngineVersion?: String; - /** - * Specifies whether the option requires a port. - */ - PortRequired?: Boolean; - /** - * If the option requires a port, specifies the default port for the option. - */ - DefaultPort?: IntegerOptional; - /** - * The options that are prerequisites for this option. - */ - OptionsDependedOn?: OptionsDependedOn; - /** - * The options that conflict with this option. - */ - OptionsConflictsWith?: OptionsConflictsWith; - /** - * Persistent options can't be removed from an option group while DB instances are associated with the option group. If you disassociate all DB instances from the option group, your can remove the persistent option from the option group. - */ - Persistent?: Boolean; - /** - * Permanent options can never be removed from an option group. An option group containing a permanent option can't be removed from a DB instance. - */ - Permanent?: Boolean; - /** - * The option settings that are available (and the default value) for each option in an option group. - */ - OptionGroupOptionSettings?: OptionGroupOptionSettingsList; - /** - * The versions that are available for the option. - */ - OptionGroupOptionVersions?: OptionGroupOptionVersionsList; - } - export interface OptionGroupOptionSetting { - /** - * The name of the option group option. - */ - SettingName?: String; - /** - * The description of the option group option. - */ - SettingDescription?: String; - /** - * The default value for the option group option. - */ - DefaultValue?: String; - /** - * The DB engine specific parameter type for the option group option. - */ - ApplyType?: String; - /** - * Indicates the acceptable values for the option group option. - */ - AllowedValues?: String; - /** - * Boolean value where true indicates that this option group option can be changed from the default value. - */ - IsModifiable?: Boolean; - } - export type OptionGroupOptionSettingsList = OptionGroupOptionSetting[]; - export type OptionGroupOptionVersionsList = OptionVersion[]; - export type OptionGroupOptionsList = OptionGroupOption[]; - export interface OptionGroupOptionsMessage { - OptionGroupOptions?: OptionGroupOptionsList; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export interface OptionGroups { - /** - * List of option groups. - */ - OptionGroupsList?: OptionGroupsList; - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - } - export type OptionGroupsList = OptionGroup[]; - export type OptionNamesList = String[]; - export interface OptionSetting { - /** - * The name of the option that has settings that you can set. - */ - Name?: String; - /** - * The current value of the option setting. - */ - Value?: String; - /** - * The default value of the option setting. - */ - DefaultValue?: String; - /** - * The description of the option setting. - */ - Description?: String; - /** - * The DB engine specific parameter type. - */ - ApplyType?: String; - /** - * The data type of the option setting. - */ - DataType?: String; - /** - * The allowed values of the option setting. - */ - AllowedValues?: String; - /** - * A Boolean value that, when true, indicates the option setting can be modified from the default. - */ - IsModifiable?: Boolean; - /** - * Indicates if the option setting is part of a collection. - */ - IsCollection?: Boolean; - } - export type OptionSettingConfigurationList = OptionSetting[]; - export type OptionSettingsList = OptionSetting[]; - export interface OptionVersion { - /** - * The version of the option. - */ - Version?: String; - /** - * True if the version is the default version of the option; otherwise, false. - */ - IsDefault?: Boolean; - } - export type OptionsConflictsWith = String[]; - export type OptionsDependedOn = String[]; - export type OptionsList = Option[]; - export interface OrderableDBInstanceOption { - /** - * The engine type of the orderable DB instance. - */ - Engine?: String; - /** - * The engine version of the orderable DB instance. - */ - EngineVersion?: String; - /** - * The DB instance class for the orderable DB instance. - */ - DBInstanceClass?: String; - /** - * The license model for the orderable DB instance. - */ - LicenseModel?: String; - /** - * A list of Availability Zones for the orderable DB instance. - */ - AvailabilityZones?: AvailabilityZoneList; - /** - * Indicates whether this orderable DB instance is multi-AZ capable. - */ - MultiAZCapable?: Boolean; - /** - * Indicates whether this orderable DB instance can have a Read Replica. - */ - ReadReplicaCapable?: Boolean; - /** - * Indicates whether this is a VPC orderable DB instance. - */ - Vpc?: Boolean; - /** - * Indicates whether this orderable DB instance supports encrypted storage. - */ - SupportsStorageEncryption?: Boolean; - /** - * Indicates the storage type for this orderable DB instance. - */ - StorageType?: String; - /** - * Indicates whether this orderable DB instance supports provisioned IOPS. - */ - SupportsIops?: Boolean; - /** - * Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds. - */ - SupportsEnhancedMonitoring?: Boolean; - /** - * Indicates whether this orderable DB instance supports IAM database authentication. - */ - SupportsIAMDatabaseAuthentication?: Boolean; - } - export type OrderableDBInstanceOptionsList = OrderableDBInstanceOption[]; - export interface OrderableDBInstanceOptionsMessage { - /** - * An OrderableDBInstanceOption structure containing information about orderable options for the DB instance. - */ - OrderableDBInstanceOptions?: OrderableDBInstanceOptionsList; - /** - * An optional pagination token provided by a previous OrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords . - */ - Marker?: String; - } - export interface Parameter { - /** - * Specifies the name of the parameter. - */ - ParameterName?: String; - /** - * Specifies the value of the parameter. - */ - ParameterValue?: String; - /** - * Provides a description of the parameter. - */ - Description?: String; - /** - * Indicates the source of the parameter value. - */ - Source?: String; - /** - * Specifies the engine specific parameters type. - */ - ApplyType?: String; - /** - * Specifies the valid data type for the parameter. - */ - DataType?: String; - /** - * Specifies the valid range of values for the parameter. - */ - AllowedValues?: String; - /** - * Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed. - */ - IsModifiable?: Boolean; - /** - * The earliest engine version to which the parameter can apply. - */ - MinimumEngineVersion?: String; - /** - * Indicates when to apply parameter updates. - */ - ApplyMethod?: ApplyMethod; - } - export type ParametersList = Parameter[]; - export interface PendingMaintenanceAction { - /** - * The type of pending maintenance action that is available for the resource. - */ - Action?: String; - /** - * The date of the maintenance window when the action will be applied. The maintenance action will be applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored. - */ - AutoAppliedAfterDate?: TStamp; - /** - * The date when the maintenance action will be automatically applied. The maintenance action will be applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored. - */ - ForcedApplyDate?: TStamp; - /** - * Indicates the type of opt-in request that has been received for the resource. - */ - OptInStatus?: String; - /** - * The effective date when the pending maintenance action will be applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate. - */ - CurrentApplyDate?: TStamp; - /** - * A description providing more detail about the maintenance action. - */ - Description?: String; - } - export type PendingMaintenanceActionDetails = PendingMaintenanceAction[]; - export type PendingMaintenanceActions = ResourcePendingMaintenanceActions[]; - export interface PendingMaintenanceActionsMessage { - /** - * A list of the pending maintenance actions for the resource. - */ - PendingMaintenanceActions?: PendingMaintenanceActions; - /** - * An optional pagination token provided by a previous DescribePendingMaintenanceActions request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by MaxRecords. - */ - Marker?: String; - } - export interface PendingModifiedValues { - /** - * Contains the new DBInstanceClass for the DB instance that will be applied or is in progress. - */ - DBInstanceClass?: String; - /** - * Contains the new AllocatedStorage size for the DB instance that will be applied or is in progress. - */ - AllocatedStorage?: IntegerOptional; - /** - * Contains the pending or in-progress change of the master credentials for the DB instance. - */ - MasterUserPassword?: String; - /** - * Specifies the pending port for the DB instance. - */ - Port?: IntegerOptional; - /** - * Specifies the pending number of days for which automated backups are retained. - */ - BackupRetentionPeriod?: IntegerOptional; - /** - * Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment. - */ - MultiAZ?: BooleanOptional; - /** - * Indicates the database engine version. - */ - EngineVersion?: String; - /** - * The license model for the DB instance. Valid values: license-included | bring-your-own-license | general-public-license - */ - LicenseModel?: String; - /** - * Specifies the new Provisioned IOPS value for the DB instance that will be applied or is being applied. - */ - Iops?: IntegerOptional; - /** - * Contains the new DBInstanceIdentifier for the DB instance that will be applied or is in progress. - */ - DBInstanceIdentifier?: String; - /** - * Specifies the storage type to be associated with the DB instance. - */ - StorageType?: String; - /** - * Specifies the identifier of the CA certificate for the DB instance. - */ - CACertificateIdentifier?: String; - /** - * The new DB subnet group for the DB instance. - */ - DBSubnetGroupName?: String; - } - export interface PromoteReadReplicaDBClusterMessage { - /** - * The identifier of the DB cluster Read Replica to promote. This parameter is not case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-replica1 - */ - DBClusterIdentifier: String; - } - export interface PromoteReadReplicaDBClusterResult { - DBCluster?: DBCluster; - } - export interface PromoteReadReplicaMessage { - /** - * The DB instance identifier. This value is stored as a lowercase string. Constraints: Must be the identifier for an existing Read Replica DB instance Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: mydbinstance - */ - DBInstanceIdentifier: String; - /** - * The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Default: 1 Constraints: Must be a value from 0 to 8 - */ - BackupRetentionPeriod?: IntegerOptional; - /** - * The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide. Constraints: Must be in the format hh24:mi-hh24:mi. Times should be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes. - */ - PreferredBackupWindow?: String; - } - export interface PromoteReadReplicaResult { - DBInstance?: DBInstance; - } - export interface PurchaseReservedDBInstancesOfferingMessage { - /** - * The ID of the Reserved DB instance offering to purchase. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706 - */ - ReservedDBInstancesOfferingId: String; - /** - * Customer-specified identifier to track this reservation. Example: myreservationID - */ - ReservedDBInstanceId?: String; - /** - * The number of instances to reserve. Default: 1 - */ - DBInstanceCount?: IntegerOptional; - Tags?: TagList; - } - export interface PurchaseReservedDBInstancesOfferingResult { - ReservedDBInstance?: ReservedDBInstance; - } - export type ReadReplicaDBClusterIdentifierList = String[]; - export type ReadReplicaDBInstanceIdentifierList = String[]; - export type ReadReplicaIdentifierList = String[]; - export interface RebootDBInstanceMessage { - /** - * The DB instance identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBInstanceIdentifier: String; - /** - * When true, the reboot will be conducted through a MultiAZ failover. Constraint: You cannot specify true if the instance is not configured for MultiAZ. - */ - ForceFailover?: BooleanOptional; - } - export interface RebootDBInstanceResult { - DBInstance?: DBInstance; - } - export interface RecurringCharge { - /** - * The amount of the recurring charge. - */ - RecurringChargeAmount?: Double; - /** - * The frequency of the recurring charge. - */ - RecurringChargeFrequency?: String; - } - export type RecurringChargeList = RecurringCharge[]; - export interface RemoveRoleFromDBClusterMessage { - /** - * The name of the DB cluster to disassociate the IAM role from. - */ - DBClusterIdentifier: String; - /** - * The Amazon Resource Name (ARN) of the IAM role to disassociate from the Aurora DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole. - */ - RoleArn: String; - } - export interface RemoveSourceIdentifierFromSubscriptionMessage { - /** - * The name of the RDS event notification subscription you want to remove a source identifier from. - */ - SubscriptionName: String; - /** - * The source identifier to be removed from the subscription, such as the DB instance identifier for a DB instance or the name of a security group. - */ - SourceIdentifier: String; - } - export interface RemoveSourceIdentifierFromSubscriptionResult { - EventSubscription?: EventSubscription; - } - export interface RemoveTagsFromResourceMessage { - /** - * The Amazon RDS resource the tags will be removed from. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN). - */ - ResourceName: String; - /** - * The tag key (name) of the tag to be removed. - */ - TagKeys: KeyList; - } - export interface ReservedDBInstance { - /** - * The unique identifier for the reservation. - */ - ReservedDBInstanceId?: String; - /** - * The offering identifier. - */ - ReservedDBInstancesOfferingId?: String; - /** - * The DB instance class for the reserved DB instance. - */ - DBInstanceClass?: String; - /** - * The time the reservation started. - */ - StartTime?: TStamp; - /** - * The duration of the reservation in seconds. - */ - Duration?: Integer; - /** - * The fixed price charged for this reserved DB instance. - */ - FixedPrice?: Double; - /** - * The hourly price charged for this reserved DB instance. - */ - UsagePrice?: Double; - /** - * The currency code for the reserved DB instance. - */ - CurrencyCode?: String; - /** - * The number of reserved DB instances. - */ - DBInstanceCount?: Integer; - /** - * The description of the reserved DB instance. - */ - ProductDescription?: String; - /** - * The offering type of this reserved DB instance. - */ - OfferingType?: String; - /** - * Indicates if the reservation applies to Multi-AZ deployments. - */ - MultiAZ?: Boolean; - /** - * The state of the reserved DB instance. - */ - State?: String; - /** - * The recurring price charged to run this reserved DB instance. - */ - RecurringCharges?: RecurringChargeList; - /** - * The Amazon Resource Name (ARN) for the reserved DB instance. - */ - ReservedDBInstanceArn?: String; - } - export type ReservedDBInstanceList = ReservedDBInstance[]; - export interface ReservedDBInstanceMessage { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of reserved DB instances. - */ - ReservedDBInstances?: ReservedDBInstanceList; - } - export interface ReservedDBInstancesOffering { - /** - * The offering identifier. - */ - ReservedDBInstancesOfferingId?: String; - /** - * The DB instance class for the reserved DB instance. - */ - DBInstanceClass?: String; - /** - * The duration of the offering in seconds. - */ - Duration?: Integer; - /** - * The fixed price charged for this offering. - */ - FixedPrice?: Double; - /** - * The hourly price charged for this offering. - */ - UsagePrice?: Double; - /** - * The currency code for the reserved DB instance offering. - */ - CurrencyCode?: String; - /** - * The database engine used by the offering. - */ - ProductDescription?: String; - /** - * The offering type. - */ - OfferingType?: String; - /** - * Indicates if the offering applies to Multi-AZ deployments. - */ - MultiAZ?: Boolean; - /** - * The recurring price charged to run this reserved DB instance. - */ - RecurringCharges?: RecurringChargeList; - } - export type ReservedDBInstancesOfferingList = ReservedDBInstancesOffering[]; - export interface ReservedDBInstancesOfferingMessage { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of reserved DB instance offerings. - */ - ReservedDBInstancesOfferings?: ReservedDBInstancesOfferingList; - } - export interface ResetDBClusterParameterGroupMessage { - /** - * The name of the DB cluster parameter group to reset. - */ - DBClusterParameterGroupName: String; - /** - * A value that is set to true to reset all parameters in the DB cluster parameter group to their default values, and false otherwise. You cannot use this parameter if there is a list of parameter names specified for the Parameters parameter. - */ - ResetAllParameters?: Boolean; - /** - * A list of parameter names in the DB cluster parameter group to reset to the default values. You cannot use this parameter if the ResetAllParameters parameter is set to true. - */ - Parameters?: ParametersList; - } - export interface ResetDBParameterGroupMessage { - /** - * The name of the DB parameter group. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBParameterGroupName: String; - /** - * Specifies whether (true) or not (false) to reset all parameters in the DB parameter group to default values. Default: true - */ - ResetAllParameters?: Boolean; - /** - * To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. A maximum of 20 parameters can be modified in a single request. MySQL Valid Values (for Apply method): immediate | pending-reboot You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when DB instance reboots. MariaDB Valid Values (for Apply method): immediate | pending-reboot You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when DB instance reboots. Oracle Valid Values (for Apply method): pending-reboot - */ - Parameters?: ParametersList; - } - export interface ResourcePendingMaintenanceActions { - /** - * The ARN of the resource that has pending maintenance actions. - */ - ResourceIdentifier?: String; - /** - * A list that provides details about the pending maintenance actions for the resource. - */ - PendingMaintenanceActionDetails?: PendingMaintenanceActionDetails; - } - export interface RestoreDBClusterFromS3Message { - /** - * A list of EC2 Availability Zones that instances in the restored DB cluster can be created in. - */ - AvailabilityZones?: AvailabilityZones; - /** - * The number of days for which automated backups of the restored DB cluster are retained. You must specify a minimum value of 1. Default: 1 Constraints: Must be a value from 1 to 35 - */ - BackupRetentionPeriod?: IntegerOptional; - /** - * A value that indicates that the restored DB cluster should be associated with the specified CharacterSet. - */ - CharacterSetName?: String; - /** - * The database name for the restored DB cluster. - */ - DatabaseName?: String; - /** - * The name of the DB cluster to create from the source data in the S3 bucket. This parameter is isn't case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster1 - */ - DBClusterIdentifier: String; - /** - * The name of the DB cluster parameter group to associate with the restored DB cluster. If this argument is omitted, default.aurora5.6 will be used. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBClusterParameterGroupName?: String; - /** - * A list of EC2 VPC security groups to associate with the restored DB cluster. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * A DB subnet group to associate with the restored DB cluster. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup - */ - DBSubnetGroupName?: String; - /** - * The name of the database engine to be used for the restored DB cluster. Valid Values: aurora - */ - Engine: String; - /** - * The version number of the database engine to use. Aurora Example: 5.6.10a - */ - EngineVersion?: String; - /** - * The port number on which the instances in the restored DB cluster accept connections. Default: 3306 - */ - Port?: IntegerOptional; - /** - * The name of the master user for the restored DB cluster. Constraints: Must be 1 to 16 alphanumeric characters. First character must be a letter. Cannot be a reserved word for the chosen database engine. - */ - MasterUsername: String; - /** - * The password for the master database user. This password can contain any printable ASCII character except "/", """, or "@". Constraints: Must contain from 8 to 41 characters. - */ - MasterUserPassword: String; - /** - * A value that indicates that the restored DB cluster should be associated with the specified option group. Permanent options cannot be removed from an option group. An option group cannot be removed from a DB cluster once it is associated with a DB cluster. - */ - OptionGroupName?: String; - /** - * The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide. Constraints: Must be in the format hh24:mi-hh24:mi. Times should be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes. - */ - PreferredBackupWindow?: String; - /** - * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window. - */ - PreferredMaintenanceWindow?: String; - Tags?: TagList; - /** - * Specifies whether the restored DB cluster is encrypted. - */ - StorageEncrypted?: BooleanOptional; - /** - * The KMS key identifier for an encrypted DB cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KM encryption key. If the StorageEncrypted parameter is true, and you do not specify a value for the KmsKeyId parameter, then Amazon RDS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. - */ - KmsKeyId?: String; - /** - * A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false. Default: false - */ - EnableIAMDatabaseAuthentication?: BooleanOptional; - /** - * The identifier for the database engine that was backed up to create the files stored in the Amazon S3 bucket. Valid values: mysql - */ - SourceEngine: String; - /** - * The version of the database that the backup files were created from. MySQL version 5.5 and 5.6 are supported. Example: 5.6.22 - */ - SourceEngineVersion: String; - /** - * The name of the Amazon S3 bucket that contains the data used to create the Amazon Aurora DB cluster. - */ - S3BucketName: String; - /** - * The prefix for all of the file names that contain the data used to create the Amazon Aurora DB cluster. If you do not specify a SourceS3Prefix value, then the Amazon Aurora DB cluster is created by using all of the files in the Amazon S3 bucket. - */ - S3Prefix?: String; - /** - * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon RDS to access the Amazon S3 bucket on your behalf. - */ - S3IngestionRoleArn: String; - } - export interface RestoreDBClusterFromS3Result { - DBCluster?: DBCluster; - } - export interface RestoreDBClusterFromSnapshotMessage { - /** - * Provides the list of EC2 Availability Zones that instances in the restored DB cluster can be created in. - */ - AvailabilityZones?: AvailabilityZones; - /** - * The name of the DB cluster to create from the DB cluster snapshot. This parameter isn't case-sensitive. Constraints: Must contain from 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-snapshot-id - */ - DBClusterIdentifier: String; - /** - * The identifier for the DB cluster snapshot to restore from. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - SnapshotIdentifier: String; - /** - * The database engine to use for the new DB cluster. Default: The same as source Constraint: Must be compatible with the engine of the source - */ - Engine: String; - /** - * The version of the database engine to use for the new DB cluster. - */ - EngineVersion?: String; - /** - * The port number on which the new DB cluster accepts connections. Constraints: Value must be 1150-65535 Default: The same port as the original DB cluster. - */ - Port?: IntegerOptional; - /** - * The name of the DB subnet group to use for the new DB cluster. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup - */ - DBSubnetGroupName?: String; - /** - * The database name for the restored DB cluster. - */ - DatabaseName?: String; - /** - * The name of the option group to use for the restored DB cluster. - */ - OptionGroupName?: String; - /** - * A list of VPC security groups that the new DB cluster will belong to. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * The tags to be assigned to the restored DB cluster. - */ - Tags?: TagList; - /** - * The KMS key identifier to use when restoring an encrypted DB cluster from a DB cluster snapshot. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key. If you do not specify a value for the KmsKeyId parameter, then the following will occur: If the DB cluster snapshot is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the DB cluster snapshot. If the DB cluster snapshot is not encrypted, then the restored DB cluster is encrypted using the specified encryption key. - */ - KmsKeyId?: String; - /** - * A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false. Default: false - */ - EnableIAMDatabaseAuthentication?: BooleanOptional; - } - export interface RestoreDBClusterFromSnapshotResult { - DBCluster?: DBCluster; - } - export interface RestoreDBClusterToPointInTimeMessage { - /** - * The name of the new DB cluster to be created. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - DBClusterIdentifier: String; - /** - * The type of restore to be performed. You can specify one of the following values: full-copy - The new DB cluster is restored as a full copy of the source DB cluster. copy-on-write - The new DB cluster is restored as a clone of the source DB cluster. Constraints: You cannot specify copy-on-write if the engine version of the source DB cluster is earlier than 1.11. If you don't specify a RestoreType value, then the new DB cluster is restored as a full copy of the source DB cluster. - */ - RestoreType?: String; - /** - * The identifier of the source DB cluster from which to restore. Constraints: Must be the identifier of an existing database instance Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - SourceDBClusterIdentifier: String; - /** - * The date and time to restore the DB cluster to. Valid Values: Value must be a time in Universal Coordinated Time (UTC) format Constraints: Must be before the latest restorable time for the DB instance Must be specified if UseLatestRestorableTime parameter is not provided Cannot be specified if UseLatestRestorableTime parameter is true Cannot be specified if RestoreType parameter is copy-on-write Example: 2015-03-07T23:45:00Z - */ - RestoreToTime?: TStamp; - /** - * A value that is set to true to restore the DB cluster to the latest restorable backup time, and false otherwise. Default: false Constraints: Cannot be specified if RestoreToTime parameter is provided. - */ - UseLatestRestorableTime?: Boolean; - /** - * The port number on which the new DB cluster accepts connections. Constraints: Value must be 1150-65535 Default: The same port as the original DB cluster. - */ - Port?: IntegerOptional; - /** - * The DB subnet group name to use for the new DB cluster. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup - */ - DBSubnetGroupName?: String; - /** - * The name of the option group for the new DB cluster. - */ - OptionGroupName?: String; - /** - * A list of VPC security groups that the new DB cluster belongs to. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - Tags?: TagList; - /** - * The KMS key identifier to use when restoring an encrypted DB cluster from an encrypted DB cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key. You can restore to a new DB cluster and encrypt the new DB cluster with a KMS key that is different than the KMS key used to encrypt the source DB cluster. The new DB cluster will be encrypted with the KMS key identified by the KmsKeyId parameter. If you do not specify a value for the KmsKeyId parameter, then the following will occur: If the DB cluster is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the source DB cluster. If the DB cluster is not encrypted, then the restored DB cluster is not encrypted. If DBClusterIdentifier refers to a DB cluster that is not encrypted, then the restore request is rejected. - */ - KmsKeyId?: String; - /** - * A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false. Default: false - */ - EnableIAMDatabaseAuthentication?: BooleanOptional; - } - export interface RestoreDBClusterToPointInTimeResult { - DBCluster?: DBCluster; - } - export interface RestoreDBInstanceFromDBSnapshotMessage { - /** - * Name of the DB instance to create from the DB snapshot. This parameter isn't case-sensitive. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens (1 to 15 for SQL Server) First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-snapshot-id - */ - DBInstanceIdentifier: String; - /** - * The identifier for the DB snapshot to restore from. Constraints: Must contain from 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier must be the ARN of the shared DB snapshot. - */ - DBSnapshotIdentifier: String; - /** - * The compute and memory capacity of the Amazon RDS DB instance. Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large - */ - DBInstanceClass?: String; - /** - * The port number on which the database accepts connections. Default: The same port as the original DB instance Constraints: Value must be 1150-65535 - */ - Port?: IntegerOptional; - /** - * The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true. Example: us-east-1a - */ - AvailabilityZone?: String; - /** - * The DB subnet group name to use for the new instance. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup - */ - DBSubnetGroupName?: String; - /** - * Specifies if the DB instance is a Multi-AZ deployment. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true. - */ - MultiAZ?: BooleanOptional; - /** - * Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address. Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case. Default VPC: true VPC: false If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private. - */ - PubliclyAccessible?: BooleanOptional; - /** - * Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window. - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * License model information for the restored DB instance. Default: Same as source. Valid values: license-included | bring-your-own-license | general-public-license - */ - LicenseModel?: String; - /** - * The database name for the restored DB instance. This parameter doesn't apply to the MySQL, PostgreSQL, or MariaDB engines. - */ - DBName?: String; - /** - * The database engine to use for the new instance. Default: The same as source Constraint: Must be compatible with the engine of the source. You can restore a MariaDB 10.1 DB instance from a MySQL 5.6 snapshot. Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora - */ - Engine?: String; - /** - * Specifies the amount of provisioned IOPS for the DB instance, expressed in I/O operations per second. If this parameter is not specified, the IOPS value will be taken from the backup. If this parameter is set to 0, the new instance will be converted to a non-PIOPS instance, which will take additional time, though your DB instance will be available for connections before the conversion starts. Constraints: Must be an integer greater than 1000. SQL Server Setting the IOPS value for the SQL Server database engine is not supported. - */ - Iops?: IntegerOptional; - /** - * The name of the option group to be used for the restored DB instance. Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance - */ - OptionGroupName?: String; - Tags?: TagList; - /** - * Specifies the storage type to be associated with the DB instance. Valid values: standard | gp2 | io1 If you specify io1, you must also include a value for the Iops parameter. Default: io1 if the Iops parameter is specified; otherwise standard - */ - StorageType?: String; - /** - * The ARN from the Key Store with which to associate the instance for TDE encryption. - */ - TdeCredentialArn?: String; - /** - * The password for the given ARN from the Key Store in order to access the device. - */ - TdeCredentialPassword?: String; - /** - * Specify the Active Directory Domain to restore the instance in. - */ - Domain?: String; - /** - * True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false. - */ - CopyTagsToSnapshot?: BooleanOptional; - /** - * Specify the name of the IAM role to be used when making API calls to the Directory Service. - */ - DomainIAMRoleName?: String; - /** - * True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts; otherwise false. You can enable IAM database authentication for the following database engines For MySQL 5.6, minor version 5.6.34 or higher For MySQL 5.7, minor version 5.7.16 or higher Aurora 5.6 or higher. Default: false - */ - EnableIAMDatabaseAuthentication?: BooleanOptional; - } - export interface RestoreDBInstanceFromDBSnapshotResult { - DBInstance?: DBInstance; - } - export interface RestoreDBInstanceToPointInTimeMessage { - /** - * The identifier of the source DB instance from which to restore. Constraints: Must be the identifier of an existing database instance Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - SourceDBInstanceIdentifier: String; - /** - * The name of the new database instance to be created. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - TargetDBInstanceIdentifier: String; - /** - * The date and time to restore from. Valid Values: Value must be a time in Universal Coordinated Time (UTC) format Constraints: Must be before the latest restorable time for the DB instance Cannot be specified if UseLatestRestorableTime parameter is true Example: 2009-09-07T23:45:00Z - */ - RestoreTime?: TStamp; - /** - * Specifies whether (true) or not (false) the DB instance is restored from the latest backup time. Default: false Constraints: Cannot be specified if RestoreTime parameter is provided. - */ - UseLatestRestorableTime?: Boolean; - /** - * The compute and memory capacity of the Amazon RDS DB instance. Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large Default: The same DBInstanceClass as the original DB instance. - */ - DBInstanceClass?: String; - /** - * The port number on which the database accepts connections. Constraints: Value must be 1150-65535 Default: The same port as the original DB instance. - */ - Port?: IntegerOptional; - /** - * The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true. Example: us-east-1a - */ - AvailabilityZone?: String; - /** - * The DB subnet group name to use for the new instance. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup - */ - DBSubnetGroupName?: String; - /** - * Specifies if the DB instance is a Multi-AZ deployment. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true. - */ - MultiAZ?: BooleanOptional; - /** - * Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address. Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case. Default VPC:true VPC:false If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private. - */ - PubliclyAccessible?: BooleanOptional; - /** - * Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window. - */ - AutoMinorVersionUpgrade?: BooleanOptional; - /** - * License model information for the restored DB instance. Default: Same as source. Valid values: license-included | bring-your-own-license | general-public-license - */ - LicenseModel?: String; - /** - * The database name for the restored DB instance. This parameter is not used for the MySQL or MariaDB engines. - */ - DBName?: String; - /** - * The database engine to use for the new instance. Default: The same as source Constraint: Must be compatible with the engine of the source Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora - */ - Engine?: String; - /** - * The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance. Constraints: Must be an integer greater than 1000. SQL Server Setting the IOPS value for the SQL Server database engine is not supported. - */ - Iops?: IntegerOptional; - /** - * The name of the option group to be used for the restored DB instance. Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance - */ - OptionGroupName?: String; - /** - * True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false. - */ - CopyTagsToSnapshot?: BooleanOptional; - Tags?: TagList; - /** - * Specifies the storage type to be associated with the DB instance. Valid values: standard | gp2 | io1 If you specify io1, you must also include a value for the Iops parameter. Default: io1 if the Iops parameter is specified; otherwise standard - */ - StorageType?: String; - /** - * The ARN from the Key Store with which to associate the instance for TDE encryption. - */ - TdeCredentialArn?: String; - /** - * The password for the given ARN from the Key Store in order to access the device. - */ - TdeCredentialPassword?: String; - /** - * Specify the Active Directory Domain to restore the instance in. - */ - Domain?: String; - /** - * Specify the name of the IAM role to be used when making API calls to the Directory Service. - */ - DomainIAMRoleName?: String; - /** - * True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts; otherwise false. You can enable IAM database authentication for the following database engines For MySQL 5.6, minor version 5.6.34 or higher For MySQL 5.7, minor version 5.7.16 or higher Aurora 5.6 or higher. Default: false - */ - EnableIAMDatabaseAuthentication?: BooleanOptional; - } - export interface RestoreDBInstanceToPointInTimeResult { - DBInstance?: DBInstance; - } - export interface RevokeDBSecurityGroupIngressMessage { - /** - * The name of the DB security group to revoke ingress from. - */ - DBSecurityGroupName: String; - /** - * The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided. - */ - CIDRIP?: String; - /** - * The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided. - */ - EC2SecurityGroupName?: String; - /** - * The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided. - */ - EC2SecurityGroupId?: String; - /** - * The AWS Account Number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided. - */ - EC2SecurityGroupOwnerId?: String; - } - export interface RevokeDBSecurityGroupIngressResult { - DBSecurityGroup?: DBSecurityGroup; - } - export type SourceIdsList = String[]; - export interface SourceRegion { - /** - * The source region name. - */ - RegionName?: String; - /** - * The source region endpoint. - */ - Endpoint?: String; - /** - * The status of the source region. - */ - Status?: String; - } - export type SourceRegionList = SourceRegion[]; - export interface SourceRegionMessage { - /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. - */ - Marker?: String; - /** - * A list of SourceRegion instances that contains each source AWS Region that the current region can get a Read Replica or a DB snapshot from. - */ - SourceRegions?: SourceRegionList; - } - export type SourceType = "db-instance"|"db-parameter-group"|"db-security-group"|"db-snapshot"|"db-cluster"|"db-cluster-snapshot"|string; - export interface StartDBInstanceMessage { - /** - * The user-supplied instance identifier. - */ - DBInstanceIdentifier: String; - } - export interface StartDBInstanceResult { - DBInstance?: DBInstance; - } - export interface StopDBInstanceMessage { - /** - * The user-supplied instance identifier. - */ - DBInstanceIdentifier: String; - /** - * The user-supplied instance identifier of the DB Snapshot created immediately before the DB instance is stopped. - */ - DBSnapshotIdentifier?: String; - } - export interface StopDBInstanceResult { - DBInstance?: DBInstance; - } - export type String = string; - export interface Subnet { - /** - * Specifies the identifier of the subnet. - */ - SubnetIdentifier?: String; - SubnetAvailabilityZone?: AvailabilityZone; - /** - * Specifies the status of the subnet. - */ - SubnetStatus?: String; - } - export type SubnetIdentifierList = String[]; - export type SubnetList = Subnet[]; - export type SupportedCharacterSetsList = CharacterSet[]; - export type SupportedTimezonesList = Timezone[]; - export type TStamp = Date; - export interface Tag { - /** - * A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and cannot be prefixed with "aws:" or "rds:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). - */ - Key?: String; - /** - * A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and cannot be prefixed with "aws:" or "rds:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). - */ - Value?: String; - } - export type TagList = Tag[]; - export interface TagListMessage { - /** - * List of tags returned by the ListTagsForResource operation. - */ - TagList?: TagList; - } - export interface Timezone { - /** - * The name of the time zone. - */ - TimezoneName?: String; - } - export interface UpgradeTarget { - /** - * The name of the upgrade target database engine. - */ - Engine?: String; - /** - * The version number of the upgrade target database engine. - */ - EngineVersion?: String; - /** - * The version of the database engine that a DB instance can be upgraded to. - */ - Description?: String; - /** - * A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true. - */ - AutoUpgrade?: Boolean; - /** - * A value that indicates whether a database engine will be upgraded to a major version. - */ - IsMajorVersionUpgrade?: Boolean; - } - export type ValidUpgradeTargetList = UpgradeTarget[]; - export type VpcSecurityGroupIdList = String[]; - export interface VpcSecurityGroupMembership { - /** - * The name of the VPC security group. - */ - VpcSecurityGroupId?: String; - /** - * The status of the VPC security group. - */ - Status?: String; - } - export type VpcSecurityGroupMembershipList = VpcSecurityGroupMembership[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2013-01-10"|"2013-02-12"|"2013-09-09"|"2014-09-01"|"2014-09-01"|"2014-10-31"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the RDS client. - */ - export import Types = RDS; -} -export = RDS; diff --git a/src/node_modules/aws-sdk/clients/rds.js b/src/node_modules/aws-sdk/clients/rds.js deleted file mode 100644 index 1300cb3..0000000 --- a/src/node_modules/aws-sdk/clients/rds.js +++ /dev/null @@ -1,57 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['rds'] = {}; -AWS.RDS = Service.defineService('rds', ['2013-01-10', '2013-02-12', '2013-09-09', '2014-09-01', '2014-09-01*', '2014-10-31']); -require('../lib/services/rds'); -Object.defineProperty(apiLoader.services['rds'], '2013-01-10', { - get: function get() { - var model = require('../apis/rds-2013-01-10.min.json'); - model.paginators = require('../apis/rds-2013-01-10.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['rds'], '2013-02-12', { - get: function get() { - var model = require('../apis/rds-2013-02-12.min.json'); - model.paginators = require('../apis/rds-2013-02-12.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['rds'], '2013-09-09', { - get: function get() { - var model = require('../apis/rds-2013-09-09.min.json'); - model.paginators = require('../apis/rds-2013-09-09.paginators.json').pagination; - model.waiters = require('../apis/rds-2013-09-09.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['rds'], '2014-09-01', { - get: function get() { - var model = require('../apis/rds-2014-09-01.min.json'); - model.paginators = require('../apis/rds-2014-09-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['rds'], '2014-10-31', { - get: function get() { - var model = require('../apis/rds-2014-10-31.min.json'); - model.paginators = require('../apis/rds-2014-10-31.paginators.json').pagination; - model.waiters = require('../apis/rds-2014-10-31.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.RDS; diff --git a/src/node_modules/aws-sdk/clients/redshift.d.ts b/src/node_modules/aws-sdk/clients/redshift.d.ts deleted file mode 100644 index 1ed20e2..0000000 --- a/src/node_modules/aws-sdk/clients/redshift.d.ts +++ /dev/null @@ -1,3171 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Redshift extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Redshift.Types.ClientConfiguration) - config: Config & Redshift.Types.ClientConfiguration; - /** - * Adds an inbound (ingress) rule to an Amazon Redshift security group. Depending on whether the application accessing your cluster is running on the Internet or an Amazon EC2 instance, you can authorize inbound access to either a Classless Interdomain Routing (CIDR)/Internet Protocol (IP) range or to an Amazon EC2 security group. You can add as many as 20 ingress rules to an Amazon Redshift security group. If you authorize access to an Amazon EC2 security group, specify EC2SecurityGroupName and EC2SecurityGroupOwnerId. The Amazon EC2 security group and Amazon Redshift cluster must be in the same AWS region. If you authorize access to a CIDR/IP address range, specify CIDRIP. For an overview of CIDR blocks, see the Wikipedia article on Classless Inter-Domain Routing. You must also associate the security group with a cluster so that clients running on these IP addresses or the EC2 instance are authorized to connect to the cluster. For information about managing security groups, go to Working with Security Groups in the Amazon Redshift Cluster Management Guide. - */ - authorizeClusterSecurityGroupIngress(params: Redshift.Types.AuthorizeClusterSecurityGroupIngressMessage, callback?: (err: AWSError, data: Redshift.Types.AuthorizeClusterSecurityGroupIngressResult) => void): Request; - /** - * Adds an inbound (ingress) rule to an Amazon Redshift security group. Depending on whether the application accessing your cluster is running on the Internet or an Amazon EC2 instance, you can authorize inbound access to either a Classless Interdomain Routing (CIDR)/Internet Protocol (IP) range or to an Amazon EC2 security group. You can add as many as 20 ingress rules to an Amazon Redshift security group. If you authorize access to an Amazon EC2 security group, specify EC2SecurityGroupName and EC2SecurityGroupOwnerId. The Amazon EC2 security group and Amazon Redshift cluster must be in the same AWS region. If you authorize access to a CIDR/IP address range, specify CIDRIP. For an overview of CIDR blocks, see the Wikipedia article on Classless Inter-Domain Routing. You must also associate the security group with a cluster so that clients running on these IP addresses or the EC2 instance are authorized to connect to the cluster. For information about managing security groups, go to Working with Security Groups in the Amazon Redshift Cluster Management Guide. - */ - authorizeClusterSecurityGroupIngress(callback?: (err: AWSError, data: Redshift.Types.AuthorizeClusterSecurityGroupIngressResult) => void): Request; - /** - * Authorizes the specified AWS customer account to restore the specified snapshot. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide. - */ - authorizeSnapshotAccess(params: Redshift.Types.AuthorizeSnapshotAccessMessage, callback?: (err: AWSError, data: Redshift.Types.AuthorizeSnapshotAccessResult) => void): Request; - /** - * Authorizes the specified AWS customer account to restore the specified snapshot. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide. - */ - authorizeSnapshotAccess(callback?: (err: AWSError, data: Redshift.Types.AuthorizeSnapshotAccessResult) => void): Request; - /** - * Copies the specified automated cluster snapshot to a new manual cluster snapshot. The source must be an automated snapshot and it must be in the available state. When you delete a cluster, Amazon Redshift deletes any automated snapshots of the cluster. Also, when the retention period of the snapshot expires, Amazon Redshift automatically deletes it. If you want to keep an automated snapshot for a longer period, you can make a manual copy of the snapshot. Manual snapshots are retained until you delete them. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide. - */ - copyClusterSnapshot(params: Redshift.Types.CopyClusterSnapshotMessage, callback?: (err: AWSError, data: Redshift.Types.CopyClusterSnapshotResult) => void): Request; - /** - * Copies the specified automated cluster snapshot to a new manual cluster snapshot. The source must be an automated snapshot and it must be in the available state. When you delete a cluster, Amazon Redshift deletes any automated snapshots of the cluster. Also, when the retention period of the snapshot expires, Amazon Redshift automatically deletes it. If you want to keep an automated snapshot for a longer period, you can make a manual copy of the snapshot. Manual snapshots are retained until you delete them. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide. - */ - copyClusterSnapshot(callback?: (err: AWSError, data: Redshift.Types.CopyClusterSnapshotResult) => void): Request; - /** - * Creates a new cluster. To create the cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. - */ - createCluster(params: Redshift.Types.CreateClusterMessage, callback?: (err: AWSError, data: Redshift.Types.CreateClusterResult) => void): Request; - /** - * Creates a new cluster. To create the cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. - */ - createCluster(callback?: (err: AWSError, data: Redshift.Types.CreateClusterResult) => void): Request; - /** - * Creates an Amazon Redshift parameter group. Creating parameter groups is independent of creating clusters. You can associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group after the cluster is created by using ModifyCluster. Parameters in the parameter group define specific behavior that applies to the databases you create on the cluster. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. - */ - createClusterParameterGroup(params: Redshift.Types.CreateClusterParameterGroupMessage, callback?: (err: AWSError, data: Redshift.Types.CreateClusterParameterGroupResult) => void): Request; - /** - * Creates an Amazon Redshift parameter group. Creating parameter groups is independent of creating clusters. You can associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group after the cluster is created by using ModifyCluster. Parameters in the parameter group define specific behavior that applies to the databases you create on the cluster. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. - */ - createClusterParameterGroup(callback?: (err: AWSError, data: Redshift.Types.CreateClusterParameterGroupResult) => void): Request; - /** - * Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide. - */ - createClusterSecurityGroup(params: Redshift.Types.CreateClusterSecurityGroupMessage, callback?: (err: AWSError, data: Redshift.Types.CreateClusterSecurityGroupResult) => void): Request; - /** - * Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide. - */ - createClusterSecurityGroup(callback?: (err: AWSError, data: Redshift.Types.CreateClusterSecurityGroupResult) => void): Request; - /** - * Creates a manual snapshot of the specified cluster. The cluster must be in the available state. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide. - */ - createClusterSnapshot(params: Redshift.Types.CreateClusterSnapshotMessage, callback?: (err: AWSError, data: Redshift.Types.CreateClusterSnapshotResult) => void): Request; - /** - * Creates a manual snapshot of the specified cluster. The cluster must be in the available state. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide. - */ - createClusterSnapshot(callback?: (err: AWSError, data: Redshift.Types.CreateClusterSnapshotResult) => void): Request; - /** - * Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group. For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide. - */ - createClusterSubnetGroup(params: Redshift.Types.CreateClusterSubnetGroupMessage, callback?: (err: AWSError, data: Redshift.Types.CreateClusterSubnetGroupResult) => void): Request; - /** - * Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group. For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide. - */ - createClusterSubnetGroup(callback?: (err: AWSError, data: Redshift.Types.CreateClusterSubnetGroupResult) => void): Request; - /** - * Creates an Amazon Redshift event notification subscription. This action requires an ARN (Amazon Resource Name) of an Amazon SNS topic created by either the Amazon Redshift console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the source type, and lists of Amazon Redshift source IDs, event categories, and event severities. Notifications will be sent for all events you want that match those criteria. For example, you can specify source type = cluster, source ID = my-cluster-1 and mycluster2, event categories = Availability, Backup, and severity = ERROR. The subscription will only send notifications for those ERROR events in the Availability and Backup categories for the specified clusters. If you specify both the source type and source IDs, such as source type = cluster and source identifier = my-cluster-1, notifications will be sent for all the cluster events for my-cluster-1. If you specify a source type but do not specify a source identifier, you will receive notice of the events for the objects of that type in your AWS account. If you do not specify either the SourceType nor the SourceIdentifier, you will be notified of events generated from all Amazon Redshift sources belonging to your AWS account. You must specify a source type if you specify a source ID. - */ - createEventSubscription(params: Redshift.Types.CreateEventSubscriptionMessage, callback?: (err: AWSError, data: Redshift.Types.CreateEventSubscriptionResult) => void): Request; - /** - * Creates an Amazon Redshift event notification subscription. This action requires an ARN (Amazon Resource Name) of an Amazon SNS topic created by either the Amazon Redshift console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the source type, and lists of Amazon Redshift source IDs, event categories, and event severities. Notifications will be sent for all events you want that match those criteria. For example, you can specify source type = cluster, source ID = my-cluster-1 and mycluster2, event categories = Availability, Backup, and severity = ERROR. The subscription will only send notifications for those ERROR events in the Availability and Backup categories for the specified clusters. If you specify both the source type and source IDs, such as source type = cluster and source identifier = my-cluster-1, notifications will be sent for all the cluster events for my-cluster-1. If you specify a source type but do not specify a source identifier, you will receive notice of the events for the objects of that type in your AWS account. If you do not specify either the SourceType nor the SourceIdentifier, you will be notified of events generated from all Amazon Redshift sources belonging to your AWS account. You must specify a source type if you specify a source ID. - */ - createEventSubscription(callback?: (err: AWSError, data: Redshift.Types.CreateEventSubscriptionResult) => void): Request; - /** - * Creates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases. The command returns a public key, which you must store in the HSM. In addition to creating the HSM certificate, you must create an Amazon Redshift HSM configuration that provides a cluster the information needed to store and use encryption keys in the HSM. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide. - */ - createHsmClientCertificate(params: Redshift.Types.CreateHsmClientCertificateMessage, callback?: (err: AWSError, data: Redshift.Types.CreateHsmClientCertificateResult) => void): Request; - /** - * Creates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases. The command returns a public key, which you must store in the HSM. In addition to creating the HSM certificate, you must create an Amazon Redshift HSM configuration that provides a cluster the information needed to store and use encryption keys in the HSM. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide. - */ - createHsmClientCertificate(callback?: (err: AWSError, data: Redshift.Types.CreateHsmClientCertificateResult) => void): Request; - /** - * Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM). After creating the HSM configuration, you can specify it as a parameter when creating a cluster. The cluster will then store its encryption keys in the HSM. In addition to creating an HSM configuration, you must also create an HSM client certificate. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide. - */ - createHsmConfiguration(params: Redshift.Types.CreateHsmConfigurationMessage, callback?: (err: AWSError, data: Redshift.Types.CreateHsmConfigurationResult) => void): Request; - /** - * Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM). After creating the HSM configuration, you can specify it as a parameter when creating a cluster. The cluster will then store its encryption keys in the HSM. In addition to creating an HSM configuration, you must also create an HSM client certificate. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide. - */ - createHsmConfiguration(callback?: (err: AWSError, data: Redshift.Types.CreateHsmConfigurationResult) => void): Request; - /** - * Creates a snapshot copy grant that permits Amazon Redshift to use a customer master key (CMK) from AWS Key Management Service (AWS KMS) to encrypt copied snapshots in a destination region. For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide. - */ - createSnapshotCopyGrant(params: Redshift.Types.CreateSnapshotCopyGrantMessage, callback?: (err: AWSError, data: Redshift.Types.CreateSnapshotCopyGrantResult) => void): Request; - /** - * Creates a snapshot copy grant that permits Amazon Redshift to use a customer master key (CMK) from AWS Key Management Service (AWS KMS) to encrypt copied snapshots in a destination region. For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide. - */ - createSnapshotCopyGrant(callback?: (err: AWSError, data: Redshift.Types.CreateSnapshotCopyGrantResult) => void): Request; - /** - * Adds one or more tags to a specified resource. A resource can have up to 10 tags. If you try to create more than 10 tags for a resource, you will receive an error and the attempt will fail. If you specify a key that already exists for the resource, the value for that key will be updated with the new value. - */ - createTags(params: Redshift.Types.CreateTagsMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds one or more tags to a specified resource. A resource can have up to 10 tags. If you try to create more than 10 tags for a resource, you will receive an error and the attempt will fail. If you specify a key that already exists for the resource, the value for that key will be updated with the new value. - */ - createTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a previously provisioned cluster. A successful response from the web service indicates that the request was received correctly. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. If you want to shut down the cluster and retain it for future use, set SkipFinalClusterSnapshot to false and specify a name for FinalClusterSnapshotIdentifier. You can later restore this snapshot to resume using the cluster. If a final cluster snapshot is requested, the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it's "deleting" once Amazon Redshift begins deleting the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. - */ - deleteCluster(params: Redshift.Types.DeleteClusterMessage, callback?: (err: AWSError, data: Redshift.Types.DeleteClusterResult) => void): Request; - /** - * Deletes a previously provisioned cluster. A successful response from the web service indicates that the request was received correctly. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. If you want to shut down the cluster and retain it for future use, set SkipFinalClusterSnapshot to false and specify a name for FinalClusterSnapshotIdentifier. You can later restore this snapshot to resume using the cluster. If a final cluster snapshot is requested, the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it's "deleting" once Amazon Redshift begins deleting the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. - */ - deleteCluster(callback?: (err: AWSError, data: Redshift.Types.DeleteClusterResult) => void): Request; - /** - * Deletes a specified Amazon Redshift parameter group. You cannot delete a parameter group if it is associated with a cluster. - */ - deleteClusterParameterGroup(params: Redshift.Types.DeleteClusterParameterGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a specified Amazon Redshift parameter group. You cannot delete a parameter group if it is associated with a cluster. - */ - deleteClusterParameterGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an Amazon Redshift security group. You cannot delete a security group that is associated with any clusters. You cannot delete the default security group. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide. - */ - deleteClusterSecurityGroup(params: Redshift.Types.DeleteClusterSecurityGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an Amazon Redshift security group. You cannot delete a security group that is associated with any clusters. You cannot delete the default security group. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide. - */ - deleteClusterSecurityGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified manual snapshot. The snapshot must be in the available state, with no other users authorized to access the snapshot. Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. You must delete manual snapshot explicitly to avoid getting charged. If other accounts are authorized to access the snapshot, you must revoke all of the authorizations before you can delete the snapshot. - */ - deleteClusterSnapshot(params: Redshift.Types.DeleteClusterSnapshotMessage, callback?: (err: AWSError, data: Redshift.Types.DeleteClusterSnapshotResult) => void): Request; - /** - * Deletes the specified manual snapshot. The snapshot must be in the available state, with no other users authorized to access the snapshot. Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. You must delete manual snapshot explicitly to avoid getting charged. If other accounts are authorized to access the snapshot, you must revoke all of the authorizations before you can delete the snapshot. - */ - deleteClusterSnapshot(callback?: (err: AWSError, data: Redshift.Types.DeleteClusterSnapshotResult) => void): Request; - /** - * Deletes the specified cluster subnet group. - */ - deleteClusterSubnetGroup(params: Redshift.Types.DeleteClusterSubnetGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified cluster subnet group. - */ - deleteClusterSubnetGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an Amazon Redshift event notification subscription. - */ - deleteEventSubscription(params: Redshift.Types.DeleteEventSubscriptionMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an Amazon Redshift event notification subscription. - */ - deleteEventSubscription(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified HSM client certificate. - */ - deleteHsmClientCertificate(params: Redshift.Types.DeleteHsmClientCertificateMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified HSM client certificate. - */ - deleteHsmClientCertificate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified Amazon Redshift HSM configuration. - */ - deleteHsmConfiguration(params: Redshift.Types.DeleteHsmConfigurationMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified Amazon Redshift HSM configuration. - */ - deleteHsmConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified snapshot copy grant. - */ - deleteSnapshotCopyGrant(params: Redshift.Types.DeleteSnapshotCopyGrantMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified snapshot copy grant. - */ - deleteSnapshotCopyGrant(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a tag or tags from a resource. You must provide the ARN of the resource from which you want to delete the tag or tags. - */ - deleteTags(params: Redshift.Types.DeleteTagsMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a tag or tags from a resource. You must provide the ARN of the resource from which you want to delete the tag or tags. - */ - deleteTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Returns a list of Amazon Redshift parameter groups, including parameter groups you created and the default parameter group. For each parameter group, the response includes the parameter group name, description, and parameter group family name. You can optionally specify a name to retrieve the description of a specific parameter group. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all parameter groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all parameter groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, parameter groups are returned regardless of whether they have tag keys or values associated with them. - */ - describeClusterParameterGroups(params: Redshift.Types.DescribeClusterParameterGroupsMessage, callback?: (err: AWSError, data: Redshift.Types.ClusterParameterGroupsMessage) => void): Request; - /** - * Returns a list of Amazon Redshift parameter groups, including parameter groups you created and the default parameter group. For each parameter group, the response includes the parameter group name, description, and parameter group family name. You can optionally specify a name to retrieve the description of a specific parameter group. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all parameter groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all parameter groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, parameter groups are returned regardless of whether they have tag keys or values associated with them. - */ - describeClusterParameterGroups(callback?: (err: AWSError, data: Redshift.Types.ClusterParameterGroupsMessage) => void): Request; - /** - * Returns a detailed list of parameters contained within the specified Amazon Redshift parameter group. For each parameter the response includes information such as parameter name, description, data type, value, whether the parameter value is modifiable, and so on. You can specify source filter to retrieve parameters of only specific type. For example, to retrieve parameters that were modified by a user action such as from ModifyClusterParameterGroup, you can specify source equal to user. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. - */ - describeClusterParameters(params: Redshift.Types.DescribeClusterParametersMessage, callback?: (err: AWSError, data: Redshift.Types.ClusterParameterGroupDetails) => void): Request; - /** - * Returns a detailed list of parameters contained within the specified Amazon Redshift parameter group. For each parameter the response includes information such as parameter name, description, data type, value, whether the parameter value is modifiable, and so on. You can specify source filter to retrieve parameters of only specific type. For example, to retrieve parameters that were modified by a user action such as from ModifyClusterParameterGroup, you can specify source equal to user. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. - */ - describeClusterParameters(callback?: (err: AWSError, data: Redshift.Types.ClusterParameterGroupDetails) => void): Request; - /** - * Returns information about Amazon Redshift security groups. If the name of a security group is specified, the response will contain only information about only that security group. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all security groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all security groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, security groups are returned regardless of whether they have tag keys or values associated with them. - */ - describeClusterSecurityGroups(params: Redshift.Types.DescribeClusterSecurityGroupsMessage, callback?: (err: AWSError, data: Redshift.Types.ClusterSecurityGroupMessage) => void): Request; - /** - * Returns information about Amazon Redshift security groups. If the name of a security group is specified, the response will contain only information about only that security group. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all security groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all security groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, security groups are returned regardless of whether they have tag keys or values associated with them. - */ - describeClusterSecurityGroups(callback?: (err: AWSError, data: Redshift.Types.ClusterSecurityGroupMessage) => void): Request; - /** - * Returns one or more snapshot objects, which contain metadata about your cluster snapshots. By default, this operation returns information about all snapshots of all clusters that are owned by you AWS customer account. No information is returned for snapshots owned by inactive AWS customer accounts. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all snapshots that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all snapshots that have any combination of those values are returned. Only snapshots that you own are returned in the response; shared snapshots are not returned with the tag key and tag value request parameters. If both tag keys and values are omitted from the request, snapshots are returned regardless of whether they have tag keys or values associated with them. - */ - describeClusterSnapshots(params: Redshift.Types.DescribeClusterSnapshotsMessage, callback?: (err: AWSError, data: Redshift.Types.SnapshotMessage) => void): Request; - /** - * Returns one or more snapshot objects, which contain metadata about your cluster snapshots. By default, this operation returns information about all snapshots of all clusters that are owned by you AWS customer account. No information is returned for snapshots owned by inactive AWS customer accounts. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all snapshots that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all snapshots that have any combination of those values are returned. Only snapshots that you own are returned in the response; shared snapshots are not returned with the tag key and tag value request parameters. If both tag keys and values are omitted from the request, snapshots are returned regardless of whether they have tag keys or values associated with them. - */ - describeClusterSnapshots(callback?: (err: AWSError, data: Redshift.Types.SnapshotMessage) => void): Request; - /** - * Returns one or more cluster subnet group objects, which contain metadata about your cluster subnet groups. By default, this operation returns information about all cluster subnet groups that are defined in you AWS account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all subnet groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all subnet groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, subnet groups are returned regardless of whether they have tag keys or values associated with them. - */ - describeClusterSubnetGroups(params: Redshift.Types.DescribeClusterSubnetGroupsMessage, callback?: (err: AWSError, data: Redshift.Types.ClusterSubnetGroupMessage) => void): Request; - /** - * Returns one or more cluster subnet group objects, which contain metadata about your cluster subnet groups. By default, this operation returns information about all cluster subnet groups that are defined in you AWS account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all subnet groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all subnet groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, subnet groups are returned regardless of whether they have tag keys or values associated with them. - */ - describeClusterSubnetGroups(callback?: (err: AWSError, data: Redshift.Types.ClusterSubnetGroupMessage) => void): Request; - /** - * Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. - */ - describeClusterVersions(params: Redshift.Types.DescribeClusterVersionsMessage, callback?: (err: AWSError, data: Redshift.Types.ClusterVersionsMessage) => void): Request; - /** - * Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. - */ - describeClusterVersions(callback?: (err: AWSError, data: Redshift.Types.ClusterVersionsMessage) => void): Request; - /** - * Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties. This operation supports pagination. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all clusters that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all clusters that have any combination of those values are returned. If both tag keys and values are omitted from the request, clusters are returned regardless of whether they have tag keys or values associated with them. - */ - describeClusters(params: Redshift.Types.DescribeClustersMessage, callback?: (err: AWSError, data: Redshift.Types.ClustersMessage) => void): Request; - /** - * Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties. This operation supports pagination. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all clusters that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all clusters that have any combination of those values are returned. If both tag keys and values are omitted from the request, clusters are returned regardless of whether they have tag keys or values associated with them. - */ - describeClusters(callback?: (err: AWSError, data: Redshift.Types.ClustersMessage) => void): Request; - /** - * Returns a list of parameter settings for the specified parameter group family. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. - */ - describeDefaultClusterParameters(params: Redshift.Types.DescribeDefaultClusterParametersMessage, callback?: (err: AWSError, data: Redshift.Types.DescribeDefaultClusterParametersResult) => void): Request; - /** - * Returns a list of parameter settings for the specified parameter group family. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. - */ - describeDefaultClusterParameters(callback?: (err: AWSError, data: Redshift.Types.DescribeDefaultClusterParametersResult) => void): Request; - /** - * Displays a list of event categories for all event source types, or for a specified source type. For a list of the event categories and source types, go to Amazon Redshift Event Notifications. - */ - describeEventCategories(params: Redshift.Types.DescribeEventCategoriesMessage, callback?: (err: AWSError, data: Redshift.Types.EventCategoriesMessage) => void): Request; - /** - * Displays a list of event categories for all event source types, or for a specified source type. For a list of the event categories and source types, go to Amazon Redshift Event Notifications. - */ - describeEventCategories(callback?: (err: AWSError, data: Redshift.Types.EventCategoriesMessage) => void): Request; - /** - * Lists descriptions of all the Amazon Redshift event notifications subscription for a customer account. If you specify a subscription name, lists the description for that subscription. - */ - describeEventSubscriptions(params: Redshift.Types.DescribeEventSubscriptionsMessage, callback?: (err: AWSError, data: Redshift.Types.EventSubscriptionsMessage) => void): Request; - /** - * Lists descriptions of all the Amazon Redshift event notifications subscription for a customer account. If you specify a subscription name, lists the description for that subscription. - */ - describeEventSubscriptions(callback?: (err: AWSError, data: Redshift.Types.EventSubscriptionsMessage) => void): Request; - /** - * Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days. Events specific to a particular cluster, security group, snapshot or parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned. - */ - describeEvents(params: Redshift.Types.DescribeEventsMessage, callback?: (err: AWSError, data: Redshift.Types.EventsMessage) => void): Request; - /** - * Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days. Events specific to a particular cluster, security group, snapshot or parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned. - */ - describeEvents(callback?: (err: AWSError, data: Redshift.Types.EventsMessage) => void): Request; - /** - * Returns information about the specified HSM client certificate. If no certificate ID is specified, returns information about all the HSM certificates owned by your AWS customer account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM client certificates that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM client certificates that have any combination of those values are returned. If both tag keys and values are omitted from the request, HSM client certificates are returned regardless of whether they have tag keys or values associated with them. - */ - describeHsmClientCertificates(params: Redshift.Types.DescribeHsmClientCertificatesMessage, callback?: (err: AWSError, data: Redshift.Types.HsmClientCertificateMessage) => void): Request; - /** - * Returns information about the specified HSM client certificate. If no certificate ID is specified, returns information about all the HSM certificates owned by your AWS customer account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM client certificates that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM client certificates that have any combination of those values are returned. If both tag keys and values are omitted from the request, HSM client certificates are returned regardless of whether they have tag keys or values associated with them. - */ - describeHsmClientCertificates(callback?: (err: AWSError, data: Redshift.Types.HsmClientCertificateMessage) => void): Request; - /** - * Returns information about the specified Amazon Redshift HSM configuration. If no configuration ID is specified, returns information about all the HSM configurations owned by your AWS customer account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM connections that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM connections that have any combination of those values are returned. If both tag keys and values are omitted from the request, HSM connections are returned regardless of whether they have tag keys or values associated with them. - */ - describeHsmConfigurations(params: Redshift.Types.DescribeHsmConfigurationsMessage, callback?: (err: AWSError, data: Redshift.Types.HsmConfigurationMessage) => void): Request; - /** - * Returns information about the specified Amazon Redshift HSM configuration. If no configuration ID is specified, returns information about all the HSM configurations owned by your AWS customer account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM connections that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM connections that have any combination of those values are returned. If both tag keys and values are omitted from the request, HSM connections are returned regardless of whether they have tag keys or values associated with them. - */ - describeHsmConfigurations(callback?: (err: AWSError, data: Redshift.Types.HsmConfigurationMessage) => void): Request; - /** - * Describes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster. - */ - describeLoggingStatus(params: Redshift.Types.DescribeLoggingStatusMessage, callback?: (err: AWSError, data: Redshift.Types.LoggingStatus) => void): Request; - /** - * Describes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster. - */ - describeLoggingStatus(callback?: (err: AWSError, data: Redshift.Types.LoggingStatus) => void): Request; - /** - * Returns a list of orderable cluster options. Before you create a new cluster you can use this operation to find what options are available, such as the EC2 Availability Zones (AZ) in the specific AWS region that you can specify, and the node types you can request. The node types differ by available storage, memory, CPU and price. With the cost involved you might want to obtain a list of cluster options in the specific region and specify values when creating a cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. - */ - describeOrderableClusterOptions(params: Redshift.Types.DescribeOrderableClusterOptionsMessage, callback?: (err: AWSError, data: Redshift.Types.OrderableClusterOptionsMessage) => void): Request; - /** - * Returns a list of orderable cluster options. Before you create a new cluster you can use this operation to find what options are available, such as the EC2 Availability Zones (AZ) in the specific AWS region that you can specify, and the node types you can request. The node types differ by available storage, memory, CPU and price. With the cost involved you might want to obtain a list of cluster options in the specific region and specify values when creating a cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. - */ - describeOrderableClusterOptions(callback?: (err: AWSError, data: Redshift.Types.OrderableClusterOptionsMessage) => void): Request; - /** - * Returns a list of the available reserved node offerings by Amazon Redshift with their descriptions including the node type, the fixed and recurring costs of reserving the node and duration the node will be reserved for you. These descriptions help you determine which reserve node offering you want to purchase. You then use the unique offering ID in you call to PurchaseReservedNodeOffering to reserve one or more nodes for your Amazon Redshift cluster. For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide. - */ - describeReservedNodeOfferings(params: Redshift.Types.DescribeReservedNodeOfferingsMessage, callback?: (err: AWSError, data: Redshift.Types.ReservedNodeOfferingsMessage) => void): Request; - /** - * Returns a list of the available reserved node offerings by Amazon Redshift with their descriptions including the node type, the fixed and recurring costs of reserving the node and duration the node will be reserved for you. These descriptions help you determine which reserve node offering you want to purchase. You then use the unique offering ID in you call to PurchaseReservedNodeOffering to reserve one or more nodes for your Amazon Redshift cluster. For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide. - */ - describeReservedNodeOfferings(callback?: (err: AWSError, data: Redshift.Types.ReservedNodeOfferingsMessage) => void): Request; - /** - * Returns the descriptions of the reserved nodes. - */ - describeReservedNodes(params: Redshift.Types.DescribeReservedNodesMessage, callback?: (err: AWSError, data: Redshift.Types.ReservedNodesMessage) => void): Request; - /** - * Returns the descriptions of the reserved nodes. - */ - describeReservedNodes(callback?: (err: AWSError, data: Redshift.Types.ReservedNodesMessage) => void): Request; - /** - * Returns information about the last resize operation for the specified cluster. If no resize operation has ever been initiated for the specified cluster, a HTTP 404 error is returned. If a resize operation was initiated and completed, the status of the resize remains as SUCCEEDED until the next resize. A resize operation can be requested using ModifyCluster and specifying a different number or type of nodes for the cluster. - */ - describeResize(params: Redshift.Types.DescribeResizeMessage, callback?: (err: AWSError, data: Redshift.Types.ResizeProgressMessage) => void): Request; - /** - * Returns information about the last resize operation for the specified cluster. If no resize operation has ever been initiated for the specified cluster, a HTTP 404 error is returned. If a resize operation was initiated and completed, the status of the resize remains as SUCCEEDED until the next resize. A resize operation can be requested using ModifyCluster and specifying a different number or type of nodes for the cluster. - */ - describeResize(callback?: (err: AWSError, data: Redshift.Types.ResizeProgressMessage) => void): Request; - /** - * Returns a list of snapshot copy grants owned by the AWS account in the destination region. For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide. - */ - describeSnapshotCopyGrants(params: Redshift.Types.DescribeSnapshotCopyGrantsMessage, callback?: (err: AWSError, data: Redshift.Types.SnapshotCopyGrantMessage) => void): Request; - /** - * Returns a list of snapshot copy grants owned by the AWS account in the destination region. For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide. - */ - describeSnapshotCopyGrants(callback?: (err: AWSError, data: Redshift.Types.SnapshotCopyGrantMessage) => void): Request; - /** - * Lists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action. If you don't specify a value for the TableRestoreRequestId parameter, then DescribeTableRestoreStatus returns the status of all table restore requests ordered by the date and time of the request in ascending order. Otherwise DescribeTableRestoreStatus returns the status of the table specified by TableRestoreRequestId. - */ - describeTableRestoreStatus(params: Redshift.Types.DescribeTableRestoreStatusMessage, callback?: (err: AWSError, data: Redshift.Types.TableRestoreStatusMessage) => void): Request; - /** - * Lists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action. If you don't specify a value for the TableRestoreRequestId parameter, then DescribeTableRestoreStatus returns the status of all table restore requests ordered by the date and time of the request in ascending order. Otherwise DescribeTableRestoreStatus returns the status of the table specified by TableRestoreRequestId. - */ - describeTableRestoreStatus(callback?: (err: AWSError, data: Redshift.Types.TableRestoreStatusMessage) => void): Request; - /** - * Returns a list of tags. You can return tags from a specific resource by specifying an ARN, or you can return all tags for a given type of resource, such as clusters, snapshots, and so on. The following are limitations for DescribeTags: You cannot specify an ARN and a resource-type value together in the same request. You cannot use the MaxRecords and Marker parameters together with the ARN parameter. The MaxRecords parameter can be a range from 10 to 50 results to return in a request. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all resources that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all resources that have any combination of those values are returned. If both tag keys and values are omitted from the request, resources are returned regardless of whether they have tag keys or values associated with them. - */ - describeTags(params: Redshift.Types.DescribeTagsMessage, callback?: (err: AWSError, data: Redshift.Types.TaggedResourceListMessage) => void): Request; - /** - * Returns a list of tags. You can return tags from a specific resource by specifying an ARN, or you can return all tags for a given type of resource, such as clusters, snapshots, and so on. The following are limitations for DescribeTags: You cannot specify an ARN and a resource-type value together in the same request. You cannot use the MaxRecords and Marker parameters together with the ARN parameter. The MaxRecords parameter can be a range from 10 to 50 results to return in a request. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all resources that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all resources that have any combination of those values are returned. If both tag keys and values are omitted from the request, resources are returned regardless of whether they have tag keys or values associated with them. - */ - describeTags(callback?: (err: AWSError, data: Redshift.Types.TaggedResourceListMessage) => void): Request; - /** - * Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster. - */ - disableLogging(params: Redshift.Types.DisableLoggingMessage, callback?: (err: AWSError, data: Redshift.Types.LoggingStatus) => void): Request; - /** - * Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster. - */ - disableLogging(callback?: (err: AWSError, data: Redshift.Types.LoggingStatus) => void): Request; - /** - * Disables the automatic copying of snapshots from one region to another region for a specified cluster. If your cluster and its snapshots are encrypted using a customer master key (CMK) from AWS KMS, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the CMK in the destination region. - */ - disableSnapshotCopy(params: Redshift.Types.DisableSnapshotCopyMessage, callback?: (err: AWSError, data: Redshift.Types.DisableSnapshotCopyResult) => void): Request; - /** - * Disables the automatic copying of snapshots from one region to another region for a specified cluster. If your cluster and its snapshots are encrypted using a customer master key (CMK) from AWS KMS, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the CMK in the destination region. - */ - disableSnapshotCopy(callback?: (err: AWSError, data: Redshift.Types.DisableSnapshotCopyResult) => void): Request; - /** - * Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster. - */ - enableLogging(params: Redshift.Types.EnableLoggingMessage, callback?: (err: AWSError, data: Redshift.Types.LoggingStatus) => void): Request; - /** - * Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster. - */ - enableLogging(callback?: (err: AWSError, data: Redshift.Types.LoggingStatus) => void): Request; - /** - * Enables the automatic copy of snapshots from one region to another region for a specified cluster. - */ - enableSnapshotCopy(params: Redshift.Types.EnableSnapshotCopyMessage, callback?: (err: AWSError, data: Redshift.Types.EnableSnapshotCopyResult) => void): Request; - /** - * Enables the automatic copy of snapshots from one region to another region for a specified cluster. - */ - enableSnapshotCopy(callback?: (err: AWSError, data: Redshift.Types.EnableSnapshotCopyResult) => void): Request; - /** - * Returns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database. The action returns the database user name prefixed with IAM: if AutoCreate is False or IAMA: if AutoCreate is True. You can optionally specify one or more database user groups that the user will join at log in. By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more information, see Generating IAM Database User Credentials in the Amazon Redshift Cluster Management Guide. The IAM user or role that executes GetClusterCredentials must have an IAM policy attached that allows the redshift:GetClusterCredentials action with access to the dbuser resource on the cluster. The user name specified for dbuser in the IAM policy and the user name specified for the DbUser parameter must match. If the DbGroups parameter is specified, the IAM policy must allow the redshift:JoinGroup action with access to the listed dbgroups. In addition, if the AutoCreate parameter is set to True, then the policy must include the redshift:CreateClusterUser privilege. If the DbName parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name. - */ - getClusterCredentials(params: Redshift.Types.GetClusterCredentialsMessage, callback?: (err: AWSError, data: Redshift.Types.ClusterCredentials) => void): Request; - /** - * Returns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database. The action returns the database user name prefixed with IAM: if AutoCreate is False or IAMA: if AutoCreate is True. You can optionally specify one or more database user groups that the user will join at log in. By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more information, see Generating IAM Database User Credentials in the Amazon Redshift Cluster Management Guide. The IAM user or role that executes GetClusterCredentials must have an IAM policy attached that allows the redshift:GetClusterCredentials action with access to the dbuser resource on the cluster. The user name specified for dbuser in the IAM policy and the user name specified for the DbUser parameter must match. If the DbGroups parameter is specified, the IAM policy must allow the redshift:JoinGroup action with access to the listed dbgroups. In addition, if the AutoCreate parameter is set to True, then the policy must include the redshift:CreateClusterUser privilege. If the DbName parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name. - */ - getClusterCredentials(callback?: (err: AWSError, data: Redshift.Types.ClusterCredentials) => void): Request; - /** - * Modifies the settings for a cluster. For example, you can add another security or parameter group, update the preferred maintenance window, or change the master user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change. - */ - modifyCluster(params: Redshift.Types.ModifyClusterMessage, callback?: (err: AWSError, data: Redshift.Types.ModifyClusterResult) => void): Request; - /** - * Modifies the settings for a cluster. For example, you can add another security or parameter group, update the preferred maintenance window, or change the master user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change. - */ - modifyCluster(callback?: (err: AWSError, data: Redshift.Types.ModifyClusterResult) => void): Request; - /** - * Modifies the list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. A cluster can have up to 10 IAM roles associated at any time. - */ - modifyClusterIamRoles(params: Redshift.Types.ModifyClusterIamRolesMessage, callback?: (err: AWSError, data: Redshift.Types.ModifyClusterIamRolesResult) => void): Request; - /** - * Modifies the list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. A cluster can have up to 10 IAM roles associated at any time. - */ - modifyClusterIamRoles(callback?: (err: AWSError, data: Redshift.Types.ModifyClusterIamRolesResult) => void): Request; - /** - * Modifies the parameters of a parameter group. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. - */ - modifyClusterParameterGroup(params: Redshift.Types.ModifyClusterParameterGroupMessage, callback?: (err: AWSError, data: Redshift.Types.ClusterParameterGroupNameMessage) => void): Request; - /** - * Modifies the parameters of a parameter group. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. - */ - modifyClusterParameterGroup(callback?: (err: AWSError, data: Redshift.Types.ClusterParameterGroupNameMessage) => void): Request; - /** - * Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets. - */ - modifyClusterSubnetGroup(params: Redshift.Types.ModifyClusterSubnetGroupMessage, callback?: (err: AWSError, data: Redshift.Types.ModifyClusterSubnetGroupResult) => void): Request; - /** - * Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets. - */ - modifyClusterSubnetGroup(callback?: (err: AWSError, data: Redshift.Types.ModifyClusterSubnetGroupResult) => void): Request; - /** - * Modifies an existing Amazon Redshift event notification subscription. - */ - modifyEventSubscription(params: Redshift.Types.ModifyEventSubscriptionMessage, callback?: (err: AWSError, data: Redshift.Types.ModifyEventSubscriptionResult) => void): Request; - /** - * Modifies an existing Amazon Redshift event notification subscription. - */ - modifyEventSubscription(callback?: (err: AWSError, data: Redshift.Types.ModifyEventSubscriptionResult) => void): Request; - /** - * Modifies the number of days to retain automated snapshots in the destination region after they are copied from the source region. - */ - modifySnapshotCopyRetentionPeriod(params: Redshift.Types.ModifySnapshotCopyRetentionPeriodMessage, callback?: (err: AWSError, data: Redshift.Types.ModifySnapshotCopyRetentionPeriodResult) => void): Request; - /** - * Modifies the number of days to retain automated snapshots in the destination region after they are copied from the source region. - */ - modifySnapshotCopyRetentionPeriod(callback?: (err: AWSError, data: Redshift.Types.ModifySnapshotCopyRetentionPeriodResult) => void): Request; - /** - * Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one or more of the offerings. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve. For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide. - */ - purchaseReservedNodeOffering(params: Redshift.Types.PurchaseReservedNodeOfferingMessage, callback?: (err: AWSError, data: Redshift.Types.PurchaseReservedNodeOfferingResult) => void): Request; - /** - * Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one or more of the offerings. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve. For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide. - */ - purchaseReservedNodeOffering(callback?: (err: AWSError, data: Redshift.Types.PurchaseReservedNodeOfferingResult) => void): Request; - /** - * Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster) are applied at this reboot. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. - */ - rebootCluster(params: Redshift.Types.RebootClusterMessage, callback?: (err: AWSError, data: Redshift.Types.RebootClusterResult) => void): Request; - /** - * Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster) are applied at this reboot. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. - */ - rebootCluster(callback?: (err: AWSError, data: Redshift.Types.RebootClusterResult) => void): Request; - /** - * Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters. - */ - resetClusterParameterGroup(params: Redshift.Types.ResetClusterParameterGroupMessage, callback?: (err: AWSError, data: Redshift.Types.ClusterParameterGroupNameMessage) => void): Request; - /** - * Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters. - */ - resetClusterParameterGroup(callback?: (err: AWSError, data: Redshift.Types.ClusterParameterGroupNameMessage) => void): Request; - /** - * Creates a new cluster from a snapshot. By default, Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter groups. After Amazon Redshift creates the cluster, you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster. If you are using a DS node type, you can also choose to change to another DS node type of the same size during restore. If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide. - */ - restoreFromClusterSnapshot(params: Redshift.Types.RestoreFromClusterSnapshotMessage, callback?: (err: AWSError, data: Redshift.Types.RestoreFromClusterSnapshotResult) => void): Request; - /** - * Creates a new cluster from a snapshot. By default, Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter groups. After Amazon Redshift creates the cluster, you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster. If you are using a DS node type, you can also choose to change to another DS node type of the same size during restore. If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide. - */ - restoreFromClusterSnapshot(callback?: (err: AWSError, data: Redshift.Types.RestoreFromClusterSnapshotResult) => void): Request; - /** - * Creates a new table from a table in an Amazon Redshift cluster snapshot. You must create the new table within the Amazon Redshift cluster that the snapshot was taken from. You cannot use RestoreTableFromClusterSnapshot to restore a table with the same name as an existing table in an Amazon Redshift cluster. That is, you cannot overwrite an existing table in a cluster with a restored table. If you want to replace your original table with a new, restored table, then rename or drop your original table before you call RestoreTableFromClusterSnapshot. When you have renamed your original table, then you can pass the original name of the table as the NewTableName parameter value in the call to RestoreTableFromClusterSnapshot. This way, you can replace the original table with the table created from the snapshot. - */ - restoreTableFromClusterSnapshot(params: Redshift.Types.RestoreTableFromClusterSnapshotMessage, callback?: (err: AWSError, data: Redshift.Types.RestoreTableFromClusterSnapshotResult) => void): Request; - /** - * Creates a new table from a table in an Amazon Redshift cluster snapshot. You must create the new table within the Amazon Redshift cluster that the snapshot was taken from. You cannot use RestoreTableFromClusterSnapshot to restore a table with the same name as an existing table in an Amazon Redshift cluster. That is, you cannot overwrite an existing table in a cluster with a restored table. If you want to replace your original table with a new, restored table, then rename or drop your original table before you call RestoreTableFromClusterSnapshot. When you have renamed your original table, then you can pass the original name of the table as the NewTableName parameter value in the call to RestoreTableFromClusterSnapshot. This way, you can replace the original table with the table created from the snapshot. - */ - restoreTableFromClusterSnapshot(callback?: (err: AWSError, data: Redshift.Types.RestoreTableFromClusterSnapshotResult) => void): Request; - /** - * Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide. - */ - revokeClusterSecurityGroupIngress(params: Redshift.Types.RevokeClusterSecurityGroupIngressMessage, callback?: (err: AWSError, data: Redshift.Types.RevokeClusterSecurityGroupIngressResult) => void): Request; - /** - * Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide. - */ - revokeClusterSecurityGroupIngress(callback?: (err: AWSError, data: Redshift.Types.RevokeClusterSecurityGroupIngressResult) => void): Request; - /** - * Removes the ability of the specified AWS customer account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide. - */ - revokeSnapshotAccess(params: Redshift.Types.RevokeSnapshotAccessMessage, callback?: (err: AWSError, data: Redshift.Types.RevokeSnapshotAccessResult) => void): Request; - /** - * Removes the ability of the specified AWS customer account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide. - */ - revokeSnapshotAccess(callback?: (err: AWSError, data: Redshift.Types.RevokeSnapshotAccessResult) => void): Request; - /** - * Rotates the encryption keys for a cluster. - */ - rotateEncryptionKey(params: Redshift.Types.RotateEncryptionKeyMessage, callback?: (err: AWSError, data: Redshift.Types.RotateEncryptionKeyResult) => void): Request; - /** - * Rotates the encryption keys for a cluster. - */ - rotateEncryptionKey(callback?: (err: AWSError, data: Redshift.Types.RotateEncryptionKeyResult) => void): Request; - /** - * Waits for the clusterAvailable state by periodically calling the underlying Redshift.describeClustersoperation every 60 seconds (at most 30 times). - */ - waitFor(state: "clusterAvailable", params: Redshift.Types.DescribeClustersMessage, callback?: (err: AWSError, data: Redshift.Types.ClustersMessage) => void): Request; - /** - * Waits for the clusterAvailable state by periodically calling the underlying Redshift.describeClustersoperation every 60 seconds (at most 30 times). - */ - waitFor(state: "clusterAvailable", callback?: (err: AWSError, data: Redshift.Types.ClustersMessage) => void): Request; - /** - * Waits for the clusterDeleted state by periodically calling the underlying Redshift.describeClustersoperation every 60 seconds (at most 30 times). - */ - waitFor(state: "clusterDeleted", params: Redshift.Types.DescribeClustersMessage, callback?: (err: AWSError, data: Redshift.Types.ClustersMessage) => void): Request; - /** - * Waits for the clusterDeleted state by periodically calling the underlying Redshift.describeClustersoperation every 60 seconds (at most 30 times). - */ - waitFor(state: "clusterDeleted", callback?: (err: AWSError, data: Redshift.Types.ClustersMessage) => void): Request; - /** - * Waits for the clusterRestored state by periodically calling the underlying Redshift.describeClustersoperation every 60 seconds (at most 30 times). - */ - waitFor(state: "clusterRestored", params: Redshift.Types.DescribeClustersMessage, callback?: (err: AWSError, data: Redshift.Types.ClustersMessage) => void): Request; - /** - * Waits for the clusterRestored state by periodically calling the underlying Redshift.describeClustersoperation every 60 seconds (at most 30 times). - */ - waitFor(state: "clusterRestored", callback?: (err: AWSError, data: Redshift.Types.ClustersMessage) => void): Request; - /** - * Waits for the snapshotAvailable state by periodically calling the underlying Redshift.describeClusterSnapshotsoperation every 15 seconds (at most 20 times). - */ - waitFor(state: "snapshotAvailable", params: Redshift.Types.DescribeClusterSnapshotsMessage, callback?: (err: AWSError, data: Redshift.Types.SnapshotMessage) => void): Request; - /** - * Waits for the snapshotAvailable state by periodically calling the underlying Redshift.describeClusterSnapshotsoperation every 15 seconds (at most 20 times). - */ - waitFor(state: "snapshotAvailable", callback?: (err: AWSError, data: Redshift.Types.SnapshotMessage) => void): Request; -} -declare namespace Redshift { - export interface AccountWithRestoreAccess { - /** - * The identifier of an AWS customer account authorized to restore a snapshot. - */ - AccountId?: String; - /** - * The identifier of an AWS support account authorized to restore a snapshot. For AWS support, the identifier is amazon-redshift-support. - */ - AccountAlias?: String; - } - export type AccountsWithRestoreAccessList = AccountWithRestoreAccess[]; - export interface AuthorizeClusterSecurityGroupIngressMessage { - /** - * The name of the security group to which the ingress rule is added. - */ - ClusterSecurityGroupName: String; - /** - * The IP range to be added the Amazon Redshift security group. - */ - CIDRIP?: String; - /** - * The EC2 security group to be added the Amazon Redshift security group. - */ - EC2SecurityGroupName?: String; - /** - * The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. Example: 111122223333 - */ - EC2SecurityGroupOwnerId?: String; - } - export interface AuthorizeClusterSecurityGroupIngressResult { - ClusterSecurityGroup?: ClusterSecurityGroup; - } - export interface AuthorizeSnapshotAccessMessage { - /** - * The identifier of the snapshot the account is authorized to restore. - */ - SnapshotIdentifier: String; - /** - * The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name. - */ - SnapshotClusterIdentifier?: String; - /** - * The identifier of the AWS customer account authorized to restore the specified snapshot. To share a snapshot with AWS support, specify amazon-redshift-support. - */ - AccountWithRestoreAccess: String; - } - export interface AuthorizeSnapshotAccessResult { - Snapshot?: Snapshot; - } - export interface AvailabilityZone { - /** - * The name of the availability zone. - */ - Name?: String; - } - export type AvailabilityZoneList = AvailabilityZone[]; - export type Boolean = boolean; - export type BooleanOptional = boolean; - export interface Cluster { - /** - * The unique identifier of the cluster. - */ - ClusterIdentifier?: String; - /** - * The node type for the nodes in the cluster. - */ - NodeType?: String; - /** - * The current state of the cluster. Possible values are the following: available creating deleting final-snapshot hardware-failure incompatible-hsm incompatible-network incompatible-parameters incompatible-restore modifying rebooting renaming resizing rotating-keys storage-full updating-hsm - */ - ClusterStatus?: String; - /** - * The status of a modify operation, if any, initiated for the cluster. - */ - ModifyStatus?: String; - /** - * The master user name for the cluster. This name is used to connect to the database that is specified in the DBName parameter. - */ - MasterUsername?: String; - /** - * The name of the initial database that was created when the cluster was created. This same name is returned for the life of the cluster. If an initial database was not specified, a database named devdev was created by default. - */ - DBName?: String; - /** - * The connection endpoint. - */ - Endpoint?: Endpoint; - /** - * The date and time that the cluster was created. - */ - ClusterCreateTime?: TStamp; - /** - * The number of days that automatic cluster snapshots are retained. - */ - AutomatedSnapshotRetentionPeriod?: Integer; - /** - * A list of cluster security group that are associated with the cluster. Each security group is represented by an element that contains ClusterSecurityGroup.Name and ClusterSecurityGroup.Status subelements. Cluster security groups are used when the cluster is not created in an Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter. - */ - ClusterSecurityGroups?: ClusterSecurityGroupMembershipList; - /** - * A list of Amazon Virtual Private Cloud (Amazon VPC) security groups that are associated with the cluster. This parameter is returned only if the cluster is in a VPC. - */ - VpcSecurityGroups?: VpcSecurityGroupMembershipList; - /** - * The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status. - */ - ClusterParameterGroups?: ClusterParameterGroupStatusList; - /** - * The name of the subnet group that is associated with the cluster. This parameter is valid only when the cluster is in a VPC. - */ - ClusterSubnetGroupName?: String; - /** - * The identifier of the VPC the cluster is in, if the cluster is in a VPC. - */ - VpcId?: String; - /** - * The name of the Availability Zone in which the cluster is located. - */ - AvailabilityZone?: String; - /** - * The weekly time range, in Universal Coordinated Time (UTC), during which system maintenance can occur. - */ - PreferredMaintenanceWindow?: String; - /** - * A value that, if present, indicates that changes to the cluster are pending. Specific pending changes are identified by subelements. - */ - PendingModifiedValues?: PendingModifiedValues; - /** - * The version ID of the Amazon Redshift engine that is running on the cluster. - */ - ClusterVersion?: String; - /** - * A Boolean value that, if true, indicates that major version upgrades will be applied automatically to the cluster during the maintenance window. - */ - AllowVersionUpgrade?: Boolean; - /** - * The number of compute nodes in the cluster. - */ - NumberOfNodes?: Integer; - /** - * A Boolean value that, if true, indicates that the cluster can be accessed from a public network. - */ - PubliclyAccessible?: Boolean; - /** - * A Boolean value that, if true, indicates that data in the cluster is encrypted at rest. - */ - Encrypted?: Boolean; - /** - * A value that describes the status of a cluster restore action. This parameter returns null if the cluster was not created by restoring a snapshot. - */ - RestoreStatus?: RestoreStatus; - /** - * A value that reports whether the Amazon Redshift cluster has finished applying any hardware security module (HSM) settings changes specified in a modify cluster command. Values: active, applying - */ - HsmStatus?: HsmStatus; - /** - * A value that returns the destination region and retention period that are configured for cross-region snapshot copy. - */ - ClusterSnapshotCopyStatus?: ClusterSnapshotCopyStatus; - /** - * The public key for the cluster. - */ - ClusterPublicKey?: String; - /** - * The nodes in the cluster. - */ - ClusterNodes?: ClusterNodesList; - /** - * The status of the elastic IP (EIP) address. - */ - ElasticIpStatus?: ElasticIpStatus; - /** - * The specific revision number of the database in the cluster. - */ - ClusterRevisionNumber?: String; - /** - * The list of tags for the cluster. - */ - Tags?: TagList; - /** - * The AWS Key Management Service (AWS KMS) key ID of the encryption key used to encrypt data in the cluster. - */ - KmsKeyId?: String; - /** - * An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. If this option is true, enhanced VPC routing is enabled. Default: false - */ - EnhancedVpcRouting?: Boolean; - /** - * A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. - */ - IamRoles?: ClusterIamRoleList; - } - export interface ClusterCredentials { - /** - * A database user name that is authorized to log on to the database DbName using the password DbPassword. If the DbGroups parameter is specifed, DbUser is added to the listed groups for the current session. The user name is prefixed with IAM: for an existing user name or IAMA: if the user was auto-created. - */ - DbUser?: String; - /** - * A temporary password that authorizes the user name returned by DbUser to log on to the database DbName. - */ - DbPassword?: SensitiveString; - /** - * The date and time DbPassword expires. - */ - Expiration?: TStamp; - } - export interface ClusterIamRole { - /** - * The Amazon Resource Name (ARN) of the IAM role, for example, arn:aws:iam::123456789012:role/RedshiftCopyUnload. - */ - IamRoleArn?: String; - /** - * A value that describes the status of the IAM role's association with an Amazon Redshift cluster. The following are possible statuses and descriptions. in-sync: The role is available for use by the cluster. adding: The role is in the process of being associated with the cluster. removing: The role is in the process of being disassociated with the cluster. - */ - ApplyStatus?: String; - } - export type ClusterIamRoleList = ClusterIamRole[]; - export type ClusterList = Cluster[]; - export interface ClusterNode { - /** - * Whether the node is a leader node or a compute node. - */ - NodeRole?: String; - /** - * The private IP address of a node within a cluster. - */ - PrivateIPAddress?: String; - /** - * The public IP address of a node within a cluster. - */ - PublicIPAddress?: String; - } - export type ClusterNodesList = ClusterNode[]; - export interface ClusterParameterGroup { - /** - * The name of the cluster parameter group. - */ - ParameterGroupName?: String; - /** - * The name of the cluster parameter group family that this cluster parameter group is compatible with. - */ - ParameterGroupFamily?: String; - /** - * The description of the parameter group. - */ - Description?: String; - /** - * The list of tags for the cluster parameter group. - */ - Tags?: TagList; - } - export interface ClusterParameterGroupDetails { - /** - * A list of Parameter instances. Each instance lists the parameters of one cluster parameter group. - */ - Parameters?: ParametersList; - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - } - export interface ClusterParameterGroupNameMessage { - /** - * The name of the cluster parameter group. - */ - ParameterGroupName?: String; - /** - * The status of the parameter group. For example, if you made a change to a parameter group name-value pair, then the change could be pending a reboot of an associated cluster. - */ - ParameterGroupStatus?: String; - } - export interface ClusterParameterGroupStatus { - /** - * The name of the cluster parameter group. - */ - ParameterGroupName?: String; - /** - * The status of parameter updates. - */ - ParameterApplyStatus?: String; - /** - * The list of parameter statuses. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. - */ - ClusterParameterStatusList?: ClusterParameterStatusList; - } - export type ClusterParameterGroupStatusList = ClusterParameterGroupStatus[]; - export interface ClusterParameterGroupsMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of ClusterParameterGroup instances. Each instance describes one cluster parameter group. - */ - ParameterGroups?: ParameterGroupList; - } - export interface ClusterParameterStatus { - /** - * The name of the parameter. - */ - ParameterName?: String; - /** - * The status of the parameter that indicates whether the parameter is in sync with the database, waiting for a cluster reboot, or encountered an error when being applied. The following are possible statuses and descriptions. in-sync: The parameter value is in sync with the database. pending-reboot: The parameter value will be applied after the cluster reboots. applying: The parameter value is being applied to the database. invalid-parameter: Cannot apply the parameter value because it has an invalid value or syntax. apply-deferred: The parameter contains static property changes. The changes are deferred until the cluster reboots. apply-error: Cannot connect to the cluster. The parameter change will be applied after the cluster reboots. unknown-error: Cannot apply the parameter change right now. The change will be applied after the cluster reboots. - */ - ParameterApplyStatus?: String; - /** - * The error that prevented the parameter from being applied to the database. - */ - ParameterApplyErrorDescription?: String; - } - export type ClusterParameterStatusList = ClusterParameterStatus[]; - export interface ClusterSecurityGroup { - /** - * The name of the cluster security group to which the operation was applied. - */ - ClusterSecurityGroupName?: String; - /** - * A description of the security group. - */ - Description?: String; - /** - * A list of EC2 security groups that are permitted to access clusters associated with this cluster security group. - */ - EC2SecurityGroups?: EC2SecurityGroupList; - /** - * A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group. - */ - IPRanges?: IPRangeList; - /** - * The list of tags for the cluster security group. - */ - Tags?: TagList; - } - export interface ClusterSecurityGroupMembership { - /** - * The name of the cluster security group. - */ - ClusterSecurityGroupName?: String; - /** - * The status of the cluster security group. - */ - Status?: String; - } - export type ClusterSecurityGroupMembershipList = ClusterSecurityGroupMembership[]; - export interface ClusterSecurityGroupMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of ClusterSecurityGroup instances. - */ - ClusterSecurityGroups?: ClusterSecurityGroups; - } - export type ClusterSecurityGroupNameList = String[]; - export type ClusterSecurityGroups = ClusterSecurityGroup[]; - export interface ClusterSnapshotCopyStatus { - /** - * The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled. - */ - DestinationRegion?: String; - /** - * The number of days that automated snapshots are retained in the destination region after they are copied from a source region. - */ - RetentionPeriod?: Long; - /** - * The name of the snapshot copy grant. - */ - SnapshotCopyGrantName?: String; - } - export interface ClusterSubnetGroup { - /** - * The name of the cluster subnet group. - */ - ClusterSubnetGroupName?: String; - /** - * The description of the cluster subnet group. - */ - Description?: String; - /** - * The VPC ID of the cluster subnet group. - */ - VpcId?: String; - /** - * The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid. - */ - SubnetGroupStatus?: String; - /** - * A list of the VPC Subnet elements. - */ - Subnets?: SubnetList; - /** - * The list of tags for the cluster subnet group. - */ - Tags?: TagList; - } - export interface ClusterSubnetGroupMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of ClusterSubnetGroup instances. - */ - ClusterSubnetGroups?: ClusterSubnetGroups; - } - export type ClusterSubnetGroups = ClusterSubnetGroup[]; - export interface ClusterVersion { - /** - * The version number used by the cluster. - */ - ClusterVersion?: String; - /** - * The name of the cluster parameter group family for the cluster. - */ - ClusterParameterGroupFamily?: String; - /** - * The description of the cluster version. - */ - Description?: String; - } - export type ClusterVersionList = ClusterVersion[]; - export interface ClusterVersionsMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of Version elements. - */ - ClusterVersions?: ClusterVersionList; - } - export interface ClustersMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of Cluster objects, where each object describes one cluster. - */ - Clusters?: ClusterList; - } - export interface CopyClusterSnapshotMessage { - /** - * The identifier for the source snapshot. Constraints: Must be the identifier for a valid automated snapshot whose state is available. - */ - SourceSnapshotIdentifier: String; - /** - * The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name. Constraints: Must be the identifier for a valid cluster. - */ - SourceSnapshotClusterIdentifier?: String; - /** - * The identifier given to the new manual snapshot. Constraints: Cannot be null, empty, or blank. Must contain from 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Must be unique for the AWS account that is making the request. - */ - TargetSnapshotIdentifier: String; - } - export interface CopyClusterSnapshotResult { - Snapshot?: Snapshot; - } - export interface CreateClusterMessage { - /** - * The name of the first database to be created when the cluster is created. To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Database Developer Guide. Default: dev Constraints: Must contain 1 to 64 alphanumeric characters. Must contain only lowercase letters. Cannot be a word that is reserved by the service. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide. - */ - DBName?: String; - /** - * A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. The identifier also appears in the Amazon Redshift console. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic characters must be lowercase. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Must be unique for all clusters within an AWS account. Example: myexamplecluster - */ - ClusterIdentifier: String; - /** - * The type of the cluster. When cluster type is specified as single-node, the NumberOfNodes parameter is not required. multi-node, the NumberOfNodes parameter is required. Valid Values: multi-node | single-node Default: multi-node - */ - ClusterType?: String; - /** - * The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide. Valid Values: ds1.xlarge | ds1.8xlarge | ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge. - */ - NodeType: String; - /** - * The user name associated with the master user account for the cluster that is being created. Constraints: Must be 1 - 128 alphanumeric characters. First character must be a letter. Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide. - */ - MasterUsername: String; - /** - * The password associated with the master user account for the cluster that is being created. Constraints: Must be between 8 and 64 characters in length. Must contain at least one uppercase letter. Must contain at least one lowercase letter. Must contain one number. Can be any printable ASCII character (ASCII code 33 to 126) except ' (single quote), " (double quote), \, /, @, or space. - */ - MasterUserPassword: String; - /** - * A list of security groups to be associated with this cluster. Default: The default cluster security group for Amazon Redshift. - */ - ClusterSecurityGroups?: ClusterSecurityGroupNameList; - /** - * A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. Default: The default VPC security group is associated with the cluster. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC). - */ - ClusterSubnetGroupName?: String; - /** - * The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint. Example: us-east-1d Constraint: The specified Availability Zone must be in the same region as the current endpoint. - */ - AvailabilityZone?: String; - /** - * The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. For more information about the time blocks for each region, see Maintenance Windows in Amazon Redshift Cluster Management Guide. Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Minimum 30-minute window. - */ - PreferredMaintenanceWindow?: String; - /** - * The name of the parameter group to be associated with this cluster. Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups Constraints: Must be 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. - */ - ClusterParameterGroupName?: String; - /** - * The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot. Default: 1 Constraints: Must be a value from 0 to 35. - */ - AutomatedSnapshotRetentionPeriod?: IntegerOptional; - /** - * The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default: 5439 Valid Values: 1150-65535 - */ - Port?: IntegerOptional; - /** - * The version of the Amazon Redshift engine software that you want to deploy on the cluster. The version selected runs on all the nodes in the cluster. Constraints: Only version 1.0 is currently available. Example: 1.0 - */ - ClusterVersion?: String; - /** - * If true, major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. When a new major version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster. Default: true - */ - AllowVersionUpgrade?: BooleanOptional; - /** - * The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. For information about determining how many nodes you need, go to Working with Clusters in the Amazon Redshift Cluster Management Guide. If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster. Default: 1 Constraints: Value must be at least 1 and no more than 100. - */ - NumberOfNodes?: IntegerOptional; - /** - * If true, the cluster can be accessed from a public network. - */ - PubliclyAccessible?: BooleanOptional; - /** - * If true, the data in the cluster is encrypted at rest. Default: false - */ - Encrypted?: BooleanOptional; - /** - * Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM. - */ - HsmClientCertificateIdentifier?: String; - /** - * Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM. - */ - HsmConfigurationIdentifier?: String; - /** - * The Elastic IP (EIP) address for the cluster. Constraints: The cluster must be provisioned in EC2-VPC and publicly-accessible through an Internet gateway. For more information about provisioning clusters in EC2-VPC, go to Supported Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management Guide. - */ - ElasticIp?: String; - /** - * A list of tag instances. - */ - Tags?: TagList; - /** - * The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster. - */ - KmsKeyId?: String; - /** - * An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. If this option is true, enhanced VPC routing is enabled. Default: false - */ - EnhancedVpcRouting?: BooleanOptional; - /** - * Reserved. - */ - AdditionalInfo?: String; - /** - * A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. You can supply up to 10 IAM roles in a single request. A cluster can have up to 10 IAM roles associated with it at any time. - */ - IamRoles?: IamRoleArnList; - } - export interface CreateClusterParameterGroupMessage { - /** - * The name of the cluster parameter group. Constraints: Must be 1 to 255 alphanumeric characters or hyphens First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Must be unique withing your AWS account. This value is stored as a lower-case string. - */ - ParameterGroupName: String; - /** - * The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters. To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your AWS account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0". - */ - ParameterGroupFamily: String; - /** - * A description of the parameter group. - */ - Description: String; - /** - * A list of tag instances. - */ - Tags?: TagList; - } - export interface CreateClusterParameterGroupResult { - ClusterParameterGroup?: ClusterParameterGroup; - } - export interface CreateClusterResult { - Cluster?: Cluster; - } - export interface CreateClusterSecurityGroupMessage { - /** - * The name for the security group. Amazon Redshift stores the value as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default". Must be unique for all security groups that are created by your AWS account. Example: examplesecuritygroup - */ - ClusterSecurityGroupName: String; - /** - * A description for the security group. - */ - Description: String; - /** - * A list of tag instances. - */ - Tags?: TagList; - } - export interface CreateClusterSecurityGroupResult { - ClusterSecurityGroup?: ClusterSecurityGroup; - } - export interface CreateClusterSnapshotMessage { - /** - * A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account. Constraints: Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-snapshot-id - */ - SnapshotIdentifier: String; - /** - * The cluster identifier for which you want a snapshot. - */ - ClusterIdentifier: String; - /** - * A list of tag instances. - */ - Tags?: TagList; - } - export interface CreateClusterSnapshotResult { - Snapshot?: Snapshot; - } - export interface CreateClusterSubnetGroupMessage { - /** - * The name for the subnet group. Amazon Redshift stores the value as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default". Must be unique for all subnet groups that are created by your AWS account. Example: examplesubnetgroup - */ - ClusterSubnetGroupName: String; - /** - * A description for the subnet group. - */ - Description: String; - /** - * An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request. - */ - SubnetIds: SubnetIdentifierList; - /** - * A list of tag instances. - */ - Tags?: TagList; - } - export interface CreateClusterSubnetGroupResult { - ClusterSubnetGroup?: ClusterSubnetGroup; - } - export interface CreateEventSubscriptionMessage { - /** - * The name of the event subscription to be created. Constraints: Cannot be null, empty, or blank. Must contain from 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. - */ - SubscriptionName: String; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications. The ARN is created by Amazon SNS when you create a topic and subscribe to it. - */ - SnsTopicArn: String; - /** - * The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your AWS account. You must specify a source type in order to specify source IDs. Valid values: cluster, cluster-parameter-group, cluster-security-group, and cluster-snapshot. - */ - SourceType?: String; - /** - * A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified. Example: my-cluster-1, my-cluster-2 Example: my-snapshot-20131010 - */ - SourceIds?: SourceIdsList; - /** - * Specifies the Amazon Redshift event categories to be published by the event notification subscription. Values: Configuration, Management, Monitoring, Security - */ - EventCategories?: EventCategoriesList; - /** - * Specifies the Amazon Redshift event severity to be published by the event notification subscription. Values: ERROR, INFO - */ - Severity?: String; - /** - * A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it. - */ - Enabled?: BooleanOptional; - /** - * A list of tag instances. - */ - Tags?: TagList; - } - export interface CreateEventSubscriptionResult { - EventSubscription?: EventSubscription; - } - export interface CreateHsmClientCertificateMessage { - /** - * The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys. - */ - HsmClientCertificateIdentifier: String; - /** - * A list of tag instances. - */ - Tags?: TagList; - } - export interface CreateHsmClientCertificateResult { - HsmClientCertificate?: HsmClientCertificate; - } - export interface CreateHsmConfigurationMessage { - /** - * The identifier to be assigned to the new Amazon Redshift HSM configuration. - */ - HsmConfigurationIdentifier: String; - /** - * A text description of the HSM configuration to be created. - */ - Description: String; - /** - * The IP address that the Amazon Redshift cluster must use to access the HSM. - */ - HsmIpAddress: String; - /** - * The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys. - */ - HsmPartitionName: String; - /** - * The password required to access the HSM partition. - */ - HsmPartitionPassword: String; - /** - * The HSMs public certificate file. When using Cloud HSM, the file name is server.pem. - */ - HsmServerPublicCertificate: String; - /** - * A list of tag instances. - */ - Tags?: TagList; - } - export interface CreateHsmConfigurationResult { - HsmConfiguration?: HsmConfiguration; - } - export interface CreateSnapshotCopyGrantMessage { - /** - * The name of the snapshot copy grant. This name must be unique in the region for the AWS account. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic characters must be lowercase. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Must be unique for all clusters within an AWS account. - */ - SnapshotCopyGrantName: String; - /** - * The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used. - */ - KmsKeyId?: String; - /** - * A list of tag instances. - */ - Tags?: TagList; - } - export interface CreateSnapshotCopyGrantResult { - SnapshotCopyGrant?: SnapshotCopyGrant; - } - export interface CreateTagsMessage { - /** - * The Amazon Resource Name (ARN) to which you want to add the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1. - */ - ResourceName: String; - /** - * One or more name/value pairs to add as tags to the specified resource. Each tag name is passed in with the parameter Key and the corresponding value is passed in with the parameter Value. The Key and Value parameters are separated by a comma (,). Separate multiple tags with a space. For example, --tags "Key"="owner","Value"="admin" "Key"="environment","Value"="test" "Key"="version","Value"="1.0". - */ - Tags: TagList; - } - export type DbGroupList = String[]; - export interface DefaultClusterParameters { - /** - * The name of the cluster parameter group family to which the engine default parameters apply. - */ - ParameterGroupFamily?: String; - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * The list of cluster default parameters. - */ - Parameters?: ParametersList; - } - export interface DeleteClusterMessage { - /** - * The identifier of the cluster to be deleted. Constraints: Must contain lowercase characters. Must contain from 1 to 63 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. - */ - ClusterIdentifier: String; - /** - * Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true, a final cluster snapshot is not created. If false, a final cluster snapshot is created before the cluster is deleted. The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is false. Default: false - */ - SkipFinalClusterSnapshot?: Boolean; - /** - * The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be false. Constraints: Must be 1 to 255 alphanumeric characters. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. - */ - FinalClusterSnapshotIdentifier?: String; - } - export interface DeleteClusterParameterGroupMessage { - /** - * The name of the parameter group to be deleted. Constraints: Must be the name of an existing cluster parameter group. Cannot delete a default cluster parameter group. - */ - ParameterGroupName: String; - } - export interface DeleteClusterResult { - Cluster?: Cluster; - } - export interface DeleteClusterSecurityGroupMessage { - /** - * The name of the cluster security group to be deleted. - */ - ClusterSecurityGroupName: String; - } - export interface DeleteClusterSnapshotMessage { - /** - * The unique identifier of the manual snapshot to be deleted. Constraints: Must be the name of an existing snapshot that is in the available state. - */ - SnapshotIdentifier: String; - /** - * The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name. Constraints: Must be the name of valid cluster. - */ - SnapshotClusterIdentifier?: String; - } - export interface DeleteClusterSnapshotResult { - Snapshot?: Snapshot; - } - export interface DeleteClusterSubnetGroupMessage { - /** - * The name of the cluster subnet group name to be deleted. - */ - ClusterSubnetGroupName: String; - } - export interface DeleteEventSubscriptionMessage { - /** - * The name of the Amazon Redshift event notification subscription to be deleted. - */ - SubscriptionName: String; - } - export interface DeleteHsmClientCertificateMessage { - /** - * The identifier of the HSM client certificate to be deleted. - */ - HsmClientCertificateIdentifier: String; - } - export interface DeleteHsmConfigurationMessage { - /** - * The identifier of the Amazon Redshift HSM configuration to be deleted. - */ - HsmConfigurationIdentifier: String; - } - export interface DeleteSnapshotCopyGrantMessage { - /** - * The name of the snapshot copy grant to delete. - */ - SnapshotCopyGrantName: String; - } - export interface DeleteTagsMessage { - /** - * The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1. - */ - ResourceName: String; - /** - * The tag key that you want to delete. - */ - TagKeys: TagKeyList; - } - export interface DescribeClusterParameterGroupsMessage { - /** - * The name of a specific parameter group for which to return details. By default, details about all parameter groups and the default parameter group are returned. - */ - ParameterGroupName?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterParameterGroups request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - /** - * A tag key or keys for which you want to return all matching cluster parameter groups that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag keys associated with them. - */ - TagKeys?: TagKeyList; - /** - * A tag value or values for which you want to return all matching cluster parameter groups that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag values associated with them. - */ - TagValues?: TagValueList; - } - export interface DescribeClusterParametersMessage { - /** - * The name of a cluster parameter group for which to return details. - */ - ParameterGroupName: String; - /** - * The parameter types to return. Specify user to show parameters that are different form the default. Similarly, specify engine-default to show parameters that are the same as the default parameter group. Default: All parameter types returned. Valid Values: user | engine-default - */ - Source?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterParameters request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - } - export interface DescribeClusterSecurityGroupsMessage { - /** - * The name of a cluster security group for which you are requesting details. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both. Example: securitygroup1 - */ - ClusterSecurityGroupName?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSecurityGroups request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. Constraints: You can specify either the ClusterSecurityGroupName parameter or the Marker parameter, but not both. - */ - Marker?: String; - /** - * A tag key or keys for which you want to return all matching cluster security groups that are associated with the specified key or keys. For example, suppose that you have security groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the security groups that have either or both of these tag keys associated with them. - */ - TagKeys?: TagKeyList; - /** - * A tag value or values for which you want to return all matching cluster security groups that are associated with the specified tag value or values. For example, suppose that you have security groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the security groups that have either or both of these tag values associated with them. - */ - TagValues?: TagValueList; - } - export interface DescribeClusterSnapshotsMessage { - /** - * The identifier of the cluster for which information about snapshots is requested. - */ - ClusterIdentifier?: String; - /** - * The snapshot identifier of the snapshot about which to return information. - */ - SnapshotIdentifier?: String; - /** - * The type of snapshots for which you are requesting information. By default, snapshots of all types are returned. Valid Values: automated | manual - */ - SnapshotType?: String; - /** - * A value that requests only snapshots created at or after the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2012-07-16T18:00:00Z - */ - StartTime?: TStamp; - /** - * A time value that requests only snapshots created at or before the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2012-07-16T18:00:00Z - */ - EndTime?: TStamp; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSnapshots request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - /** - * The AWS customer account used to create or copy the snapshot. Use this field to filter the results to snapshots owned by a particular account. To describe snapshots you own, either specify your AWS customer account, or do not specify the parameter. - */ - OwnerAccount?: String; - /** - * A tag key or keys for which you want to return all matching cluster snapshots that are associated with the specified key or keys. For example, suppose that you have snapshots that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag keys associated with them. - */ - TagKeys?: TagKeyList; - /** - * A tag value or values for which you want to return all matching cluster snapshots that are associated with the specified tag value or values. For example, suppose that you have snapshots that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag values associated with them. - */ - TagValues?: TagValueList; - } - export interface DescribeClusterSubnetGroupsMessage { - /** - * The name of the cluster subnet group for which information is requested. - */ - ClusterSubnetGroupName?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSubnetGroups request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - /** - * A tag key or keys for which you want to return all matching cluster subnet groups that are associated with the specified key or keys. For example, suppose that you have subnet groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag keys associated with them. - */ - TagKeys?: TagKeyList; - /** - * A tag value or values for which you want to return all matching cluster subnet groups that are associated with the specified tag value or values. For example, suppose that you have subnet groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag values associated with them. - */ - TagValues?: TagValueList; - } - export interface DescribeClusterVersionsMessage { - /** - * The specific cluster version to return. Example: 1.0 - */ - ClusterVersion?: String; - /** - * The name of a specific cluster parameter group family to return details for. Constraints: Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - ClusterParameterGroupFamily?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - } - export interface DescribeClustersMessage { - /** - * The unique identifier of a cluster whose properties you are requesting. This parameter is case sensitive. The default is that all clusters defined for an account are returned. - */ - ClusterIdentifier?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusters request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. Constraints: You can specify either the ClusterIdentifier parameter or the Marker parameter, but not both. - */ - Marker?: String; - /** - * A tag key or keys for which you want to return all matching clusters that are associated with the specified key or keys. For example, suppose that you have clusters that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag keys associated with them. - */ - TagKeys?: TagKeyList; - /** - * A tag value or values for which you want to return all matching clusters that are associated with the specified tag value or values. For example, suppose that you have clusters that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag values associated with them. - */ - TagValues?: TagValueList; - } - export interface DescribeDefaultClusterParametersMessage { - /** - * The name of the cluster parameter group family. - */ - ParameterGroupFamily: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDefaultClusterParameters request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - } - export interface DescribeDefaultClusterParametersResult { - DefaultClusterParameters?: DefaultClusterParameters; - } - export interface DescribeEventCategoriesMessage { - /** - * The source type, such as cluster or parameter group, to which the described event categories apply. Valid values: cluster, cluster-snapshot, cluster-parameter-group, and cluster-security-group. - */ - SourceType?: String; - } - export interface DescribeEventSubscriptionsMessage { - /** - * The name of the Amazon Redshift event notification subscription to be described. - */ - SubscriptionName?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEventSubscriptions request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - } - export interface DescribeEventsMessage { - /** - * The identifier of the event source for which events will be returned. If this parameter is not specified, then all sources are included in the response. Constraints: If SourceIdentifier is supplied, SourceType must also be provided. Specify a cluster identifier when SourceType is cluster. Specify a cluster security group name when SourceType is cluster-security-group. Specify a cluster parameter group name when SourceType is cluster-parameter-group. Specify a cluster snapshot identifier when SourceType is cluster-snapshot. - */ - SourceIdentifier?: String; - /** - * The event source to retrieve events for. If no value is specified, all events are returned. Constraints: If SourceType is supplied, SourceIdentifier must also be provided. Specify cluster when SourceIdentifier is a cluster identifier. Specify cluster-security-group when SourceIdentifier is a cluster security group name. Specify cluster-parameter-group when SourceIdentifier is a cluster parameter group name. Specify cluster-snapshot when SourceIdentifier is a cluster snapshot identifier. - */ - SourceType?: SourceType; - /** - * The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z - */ - StartTime?: TStamp; - /** - * The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z - */ - EndTime?: TStamp; - /** - * The number of minutes prior to the time of the request for which to retrieve events. For example, if the request is sent at 18:00 and you specify a duration of 60, then only events which have occurred after 17:00 will be returned. Default: 60 - */ - Duration?: IntegerOptional; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEvents request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - } - export interface DescribeHsmClientCertificatesMessage { - /** - * The identifier of a specific HSM client certificate for which you want information. If no identifier is specified, information is returned for all HSM client certificates owned by your AWS customer account. - */ - HsmClientCertificateIdentifier?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeHsmClientCertificates request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - /** - * A tag key or keys for which you want to return all matching HSM client certificates that are associated with the specified key or keys. For example, suppose that you have HSM client certificates that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the HSM client certificates that have either or both of these tag keys associated with them. - */ - TagKeys?: TagKeyList; - /** - * A tag value or values for which you want to return all matching HSM client certificates that are associated with the specified tag value or values. For example, suppose that you have HSM client certificates that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the HSM client certificates that have either or both of these tag values associated with them. - */ - TagValues?: TagValueList; - } - export interface DescribeHsmConfigurationsMessage { - /** - * The identifier of a specific Amazon Redshift HSM configuration to be described. If no identifier is specified, information is returned for all HSM configurations owned by your AWS customer account. - */ - HsmConfigurationIdentifier?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeHsmConfigurations request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - /** - * A tag key or keys for which you want to return all matching HSM configurations that are associated with the specified key or keys. For example, suppose that you have HSM configurations that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the HSM configurations that have either or both of these tag keys associated with them. - */ - TagKeys?: TagKeyList; - /** - * A tag value or values for which you want to return all matching HSM configurations that are associated with the specified tag value or values. For example, suppose that you have HSM configurations that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the HSM configurations that have either or both of these tag values associated with them. - */ - TagValues?: TagValueList; - } - export interface DescribeLoggingStatusMessage { - /** - * The identifier of the cluster from which to get the logging status. Example: examplecluster - */ - ClusterIdentifier: String; - } - export interface DescribeOrderableClusterOptionsMessage { - /** - * The version filter value. Specify this parameter to show only the available offerings matching the specified version. Default: All versions. Constraints: Must be one of the version returned from DescribeClusterVersions. - */ - ClusterVersion?: String; - /** - * The node type filter value. Specify this parameter to show only the available offerings matching the specified node type. - */ - NodeType?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeOrderableClusterOptions request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - } - export interface DescribeReservedNodeOfferingsMessage { - /** - * The unique identifier for the offering. - */ - ReservedNodeOfferingId?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodeOfferings request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - } - export interface DescribeReservedNodesMessage { - /** - * Identifier for the node reservation. - */ - ReservedNodeId?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodes request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. - */ - Marker?: String; - } - export interface DescribeResizeMessage { - /** - * The unique identifier of a cluster whose resize progress you are requesting. This parameter is case-sensitive. By default, resize operations for all clusters defined for an AWS account are returned. - */ - ClusterIdentifier: String; - } - export interface DescribeSnapshotCopyGrantsMessage { - /** - * The name of the snapshot copy grant. - */ - SnapshotCopyGrantName?: String; - /** - * The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100. - */ - MaxRecords?: IntegerOptional; - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeSnapshotCopyGrant request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both. - */ - Marker?: String; - /** - * A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them. - */ - TagKeys?: TagKeyList; - /** - * A tag value or values for which you want to return all matching resources that are associated with the specified value or values. For example, suppose that you have resources tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with all resources that have either or both of these tag values associated with them. - */ - TagValues?: TagValueList; - } - export interface DescribeTableRestoreStatusMessage { - /** - * The Amazon Redshift cluster that the table is being restored to. - */ - ClusterIdentifier?: String; - /** - * The identifier of the table restore request to return status for. If you don't specify a TableRestoreRequestId value, then DescribeTableRestoreStatus returns the status of all in-progress table restore requests. - */ - TableRestoreRequestId?: String; - /** - * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. - */ - MaxRecords?: IntegerOptional; - /** - * An optional pagination token provided by a previous DescribeTableRestoreStatus request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter. - */ - Marker?: String; - } - export interface DescribeTagsMessage { - /** - * The Amazon Resource Name (ARN) for which you want to describe the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1. - */ - ResourceName?: String; - /** - * The type of resource with which you want to view tags. Valid resource types are: Cluster CIDR/IP EC2 security group Snapshot Cluster security group Subnet group HSM connection HSM certificate Parameter group Snapshot copy grant For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide. - */ - ResourceType?: String; - /** - * The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. - */ - MaxRecords?: IntegerOptional; - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them. - */ - TagKeys?: TagKeyList; - /** - * A tag value or values for which you want to return all matching resources that are associated with the specified value or values. For example, suppose that you have resources tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with all resources that have either or both of these tag values associated with them. - */ - TagValues?: TagValueList; - } - export interface DisableLoggingMessage { - /** - * The identifier of the cluster on which logging is to be stopped. Example: examplecluster - */ - ClusterIdentifier: String; - } - export interface DisableSnapshotCopyMessage { - /** - * The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region. Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled. - */ - ClusterIdentifier: String; - } - export interface DisableSnapshotCopyResult { - Cluster?: Cluster; - } - export type Double = number; - export type DoubleOptional = number; - export interface EC2SecurityGroup { - /** - * The status of the EC2 security group. - */ - Status?: String; - /** - * The name of the EC2 Security Group. - */ - EC2SecurityGroupName?: String; - /** - * The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field. - */ - EC2SecurityGroupOwnerId?: String; - /** - * The list of tags for the EC2 security group. - */ - Tags?: TagList; - } - export type EC2SecurityGroupList = EC2SecurityGroup[]; - export interface ElasticIpStatus { - /** - * The elastic IP (EIP) address for the cluster. - */ - ElasticIp?: String; - /** - * The status of the elastic IP (EIP) address. - */ - Status?: String; - } - export interface EnableLoggingMessage { - /** - * The identifier of the cluster on which logging is to be started. Example: examplecluster - */ - ClusterIdentifier: String; - /** - * The name of an existing S3 bucket where the log files are to be stored. Constraints: Must be in the same region as the cluster The cluster must have read bucket and put object permissions - */ - BucketName: String; - /** - * The prefix applied to the log file names. Constraints: Cannot exceed 512 characters Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are: x00 to x20 x22 x27 x5c x7f or larger - */ - S3KeyPrefix?: String; - } - export interface EnableSnapshotCopyMessage { - /** - * The unique identifier of the source cluster to copy snapshots from. Constraints: Must be the valid name of an existing cluster that does not already have cross-region snapshot copy enabled. - */ - ClusterIdentifier: String; - /** - * The destination region that you want to copy snapshots to. Constraints: Must be the name of a valid region. For more information, see Regions and Endpoints in the Amazon Web Services General Reference. - */ - DestinationRegion: String; - /** - * The number of days to retain automated snapshots in the destination region after they are copied from the source region. Default: 7. Constraints: Must be at least 1 and no more than 35. - */ - RetentionPeriod?: IntegerOptional; - /** - * The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region. - */ - SnapshotCopyGrantName?: String; - } - export interface EnableSnapshotCopyResult { - Cluster?: Cluster; - } - export interface Endpoint { - /** - * The DNS address of the Cluster. - */ - Address?: String; - /** - * The port that the database engine is listening on. - */ - Port?: Integer; - } - export interface Event { - /** - * The identifier for the source of the event. - */ - SourceIdentifier?: String; - /** - * The source type for this event. - */ - SourceType?: SourceType; - /** - * The text of this event. - */ - Message?: String; - /** - * A list of the event categories. Values: Configuration, Management, Monitoring, Security - */ - EventCategories?: EventCategoriesList; - /** - * The severity of the event. Values: ERROR, INFO - */ - Severity?: String; - /** - * The date and time of the event. - */ - Date?: TStamp; - /** - * The identifier of the event. - */ - EventId?: String; - } - export type EventCategoriesList = String[]; - export interface EventCategoriesMap { - /** - * The source type, such as cluster or cluster-snapshot, that the returned categories belong to. - */ - SourceType?: String; - /** - * The events in the event category. - */ - Events?: EventInfoMapList; - } - export type EventCategoriesMapList = EventCategoriesMap[]; - export interface EventCategoriesMessage { - /** - * A list of event categories descriptions. - */ - EventCategoriesMapList?: EventCategoriesMapList; - } - export interface EventInfoMap { - /** - * The identifier of an Amazon Redshift event. - */ - EventId?: String; - /** - * The category of an Amazon Redshift event. - */ - EventCategories?: EventCategoriesList; - /** - * The description of an Amazon Redshift event. - */ - EventDescription?: String; - /** - * The severity of the event. Values: ERROR, INFO - */ - Severity?: String; - } - export type EventInfoMapList = EventInfoMap[]; - export type EventList = Event[]; - export interface EventSubscription { - /** - * The AWS customer account associated with the Amazon Redshift event notification subscription. - */ - CustomerAwsId?: String; - /** - * The name of the Amazon Redshift event notification subscription. - */ - CustSubscriptionId?: String; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription. - */ - SnsTopicArn?: String; - /** - * The status of the Amazon Redshift event notification subscription. Constraints: Can be one of the following: active | no-permission | topic-not-exist The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created. - */ - Status?: String; - /** - * The date and time the Amazon Redshift event notification subscription was created. - */ - SubscriptionCreationTime?: TStamp; - /** - * The source type of the events returned the Amazon Redshift event notification, such as cluster, or cluster-snapshot. - */ - SourceType?: String; - /** - * A list of the sources that publish events to the Amazon Redshift event notification subscription. - */ - SourceIdsList?: SourceIdsList; - /** - * The list of Amazon Redshift event categories specified in the event notification subscription. Values: Configuration, Management, Monitoring, Security - */ - EventCategoriesList?: EventCategoriesList; - /** - * The event severity specified in the Amazon Redshift event notification subscription. Values: ERROR, INFO - */ - Severity?: String; - /** - * A Boolean value indicating whether the subscription is enabled. true indicates the subscription is enabled. - */ - Enabled?: Boolean; - /** - * The list of tags for the event subscription. - */ - Tags?: TagList; - } - export type EventSubscriptionsList = EventSubscription[]; - export interface EventSubscriptionsMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of event subscriptions. - */ - EventSubscriptionsList?: EventSubscriptionsList; - } - export interface EventsMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of Event instances. - */ - Events?: EventList; - } - export interface GetClusterCredentialsMessage { - /** - * The name of a database user. If a user name matching DbUser exists in the database, the temporary user credentials have the same permissions as the existing user. If DbUser doesn't exist in the database and Autocreate is True, a new user is created using the value for DbUser with PUBLIC permissions. If a database user matching the value for DbUser doesn't exist and Autocreate is False, then the command succeeds but the connection attempt will fail because the user doesn't exist in the database. For more information, see CREATE USER in the Amazon Redshift Database Developer Guide. Constraints: Must be 1 to 128 alphanumeric characters or hyphens Must contain only lowercase letters. First character must be a letter. Must not contain a colon ( : ) or slash ( / ). Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide. - */ - DbUser: String; - /** - * The name of a database that DbUser is authorized to log on to. If DbName is not specified, DbUser can log in to any existing database. Constraints: Must be 1 to 64 alphanumeric characters or hyphens Must contain only lowercase letters. Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide. - */ - DbName?: String; - /** - * The unique identifier of the cluster that contains the database for which your are requesting credentials. This parameter is case sensitive. - */ - ClusterIdentifier: String; - /** - * The number of seconds until the returned temporary password expires. Constraint: minimum 900, maximum 3600. Default: 900 - */ - DurationSeconds?: IntegerOptional; - /** - * Create a database user with the name specified for DbUser if one does not exist. - */ - AutoCreate?: BooleanOptional; - /** - * A list of the names of existing database groups that DbUser will join for the current session. If not specified, the new user is added only to PUBLIC. - */ - DbGroups?: DbGroupList; - } - export interface HsmClientCertificate { - /** - * The identifier of the HSM client certificate. - */ - HsmClientCertificateIdentifier?: String; - /** - * The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM. - */ - HsmClientCertificatePublicKey?: String; - /** - * The list of tags for the HSM client certificate. - */ - Tags?: TagList; - } - export type HsmClientCertificateList = HsmClientCertificate[]; - export interface HsmClientCertificateMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of the identifiers for one or more HSM client certificates used by Amazon Redshift clusters to store and retrieve database encryption keys in an HSM. - */ - HsmClientCertificates?: HsmClientCertificateList; - } - export interface HsmConfiguration { - /** - * The name of the Amazon Redshift HSM configuration. - */ - HsmConfigurationIdentifier?: String; - /** - * A text description of the HSM configuration. - */ - Description?: String; - /** - * The IP address that the Amazon Redshift cluster must use to access the HSM. - */ - HsmIpAddress?: String; - /** - * The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys. - */ - HsmPartitionName?: String; - /** - * The list of tags for the HSM configuration. - */ - Tags?: TagList; - } - export type HsmConfigurationList = HsmConfiguration[]; - export interface HsmConfigurationMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of HsmConfiguration objects. - */ - HsmConfigurations?: HsmConfigurationList; - } - export interface HsmStatus { - /** - * Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM. - */ - HsmClientCertificateIdentifier?: String; - /** - * Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM. - */ - HsmConfigurationIdentifier?: String; - /** - * Reports whether the Amazon Redshift cluster has finished applying any HSM settings changes specified in a modify cluster command. Values: active, applying - */ - Status?: String; - } - export interface IPRange { - /** - * The status of the IP range, for example, "authorized". - */ - Status?: String; - /** - * The IP range in Classless Inter-Domain Routing (CIDR) notation. - */ - CIDRIP?: String; - /** - * The list of tags for the IP range. - */ - Tags?: TagList; - } - export type IPRangeList = IPRange[]; - export type IamRoleArnList = String[]; - export type ImportTablesCompleted = String[]; - export type ImportTablesInProgress = String[]; - export type ImportTablesNotStarted = String[]; - export type Integer = number; - export type IntegerOptional = number; - export interface LoggingStatus { - /** - * true if logging is on, false if logging is off. - */ - LoggingEnabled?: Boolean; - /** - * The name of the S3 bucket where the log files are stored. - */ - BucketName?: String; - /** - * The prefix applied to the log file names. - */ - S3KeyPrefix?: String; - /** - * The last time that logs were delivered. - */ - LastSuccessfulDeliveryTime?: TStamp; - /** - * The last time when logs failed to be delivered. - */ - LastFailureTime?: TStamp; - /** - * The message indicating that logs failed to be delivered. - */ - LastFailureMessage?: String; - } - export type Long = number; - export type LongOptional = number; - export interface ModifyClusterIamRolesMessage { - /** - * The unique identifier of the cluster for which you want to associate or disassociate IAM roles. - */ - ClusterIdentifier: String; - /** - * Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request. - */ - AddIamRoles?: IamRoleArnList; - /** - * Zero or more IAM roles in ARN format to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request. - */ - RemoveIamRoles?: IamRoleArnList; - } - export interface ModifyClusterIamRolesResult { - Cluster?: Cluster; - } - export interface ModifyClusterMessage { - /** - * The unique identifier of the cluster to be modified. Example: examplecluster - */ - ClusterIdentifier: String; - /** - * The new cluster type. When you submit your cluster resize request, your existing cluster goes into a read-only mode. After Amazon Redshift provisions a new cluster based on your resize requirements, there will be outage for a period while the old cluster is deleted and your connection is switched to the new cluster. You can use DescribeResize to track the progress of the resize request. Valid Values: multi-node | single-node - */ - ClusterType?: String; - /** - * The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter. When you submit your request to resize a cluster, Amazon Redshift sets access permissions for the cluster to read-only. After Amazon Redshift provisions a new cluster according to your resize requirements, there will be a temporary outage while the old cluster is deleted and your connection is switched to the new cluster. When the new connection is complete, the original access permissions for the cluster are restored. You can use DescribeResize to track the progress of the resize request. Valid Values: ds1.xlarge | ds1.8xlarge | ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge. - */ - NodeType?: String; - /** - * The new number of nodes of the cluster. If you specify a new number of nodes, you must also specify the node type parameter. When you submit your request to resize a cluster, Amazon Redshift sets access permissions for the cluster to read-only. After Amazon Redshift provisions a new cluster according to your resize requirements, there will be a temporary outage while the old cluster is deleted and your connection is switched to the new cluster. When the new connection is complete, the original access permissions for the cluster are restored. You can use DescribeResize to track the progress of the resize request. Valid Values: Integer greater than 0. - */ - NumberOfNodes?: IntegerOptional; - /** - * A list of cluster security groups to be authorized on this cluster. This change is asynchronously applied as soon as possible. Security groups currently associated with the cluster, and not in the list of groups to apply, will be revoked from the cluster. Constraints: Must be 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens - */ - ClusterSecurityGroups?: ClusterSecurityGroupNameList; - /** - * A list of virtual private cloud (VPC) security groups to be associated with the cluster. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * The new password for the cluster master user. This change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the MasterUserPassword element exists in the PendingModifiedValues element of the operation response. Operations never return the password, so this operation provides a way to regain access to the master user account for a cluster if the password is lost. Default: Uses existing setting. Constraints: Must be between 8 and 64 characters in length. Must contain at least one uppercase letter. Must contain at least one lowercase letter. Must contain one number. Can be any printable ASCII character (ASCII code 33 to 126) except ' (single quote), " (double quote), \, /, @, or space. - */ - MasterUserPassword?: String; - /** - * The name of the cluster parameter group to apply to this cluster. This change is applied only after the cluster is rebooted. To reboot a cluster use RebootCluster. Default: Uses existing setting. Constraints: The cluster parameter group must be in the same parameter group family that matches the cluster version. - */ - ClusterParameterGroupName?: String; - /** - * The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot. If you decrease the automated snapshot retention period from its current value, existing automated snapshots that fall outside of the new retention period will be immediately deleted. Default: Uses existing setting. Constraints: Must be a value from 0 to 35. - */ - AutomatedSnapshotRetentionPeriod?: IntegerOptional; - /** - * The weekly time range (in UTC) during which system maintenance can occur, if necessary. If system maintenance is necessary during the window, it may result in an outage. This maintenance window change is made immediately. If the new maintenance window indicates the current time, there must be at least 120 minutes between the current time and end of the window in order to ensure that pending changes are applied. Default: Uses existing setting. Format: ddd:hh24:mi-ddd:hh24:mi, for example wed:07:30-wed:08:00. Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Must be at least 30 minutes. - */ - PreferredMaintenanceWindow?: String; - /** - * The new version number of the Amazon Redshift engine to upgrade to. For major version upgrades, if a non-default cluster parameter group is currently in use, a new cluster parameter group in the cluster parameter group family for the new version must be specified. The new cluster parameter group can be the default for that cluster parameter group family. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. Example: 1.0 - */ - ClusterVersion?: String; - /** - * If true, major version upgrades will be applied automatically to the cluster during the maintenance window. Default: false - */ - AllowVersionUpgrade?: BooleanOptional; - /** - * Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM. - */ - HsmClientCertificateIdentifier?: String; - /** - * Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM. - */ - HsmConfigurationIdentifier?: String; - /** - * The new identifier for the cluster. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic characters must be lowercase. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Must be unique for all clusters within an AWS account. Example: examplecluster - */ - NewClusterIdentifier?: String; - /** - * If true, the cluster can be accessed from a public network. Only clusters in VPCs can be set to be publicly available. - */ - PubliclyAccessible?: BooleanOptional; - /** - * The Elastic IP (EIP) address for the cluster. Constraints: The cluster must be provisioned in EC2-VPC and publicly-accessible through an Internet gateway. For more information about provisioning clusters in EC2-VPC, go to Supported Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management Guide. - */ - ElasticIp?: String; - /** - * An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. If this option is true, enhanced VPC routing is enabled. Default: false - */ - EnhancedVpcRouting?: BooleanOptional; - } - export interface ModifyClusterParameterGroupMessage { - /** - * The name of the parameter group to be modified. - */ - ParameterGroupName: String; - /** - * An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request. For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional. For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter. - */ - Parameters: ParametersList; - } - export interface ModifyClusterResult { - Cluster?: Cluster; - } - export interface ModifyClusterSubnetGroupMessage { - /** - * The name of the subnet group to be modified. - */ - ClusterSubnetGroupName: String; - /** - * A text description of the subnet group to be modified. - */ - Description?: String; - /** - * An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request. - */ - SubnetIds: SubnetIdentifierList; - } - export interface ModifyClusterSubnetGroupResult { - ClusterSubnetGroup?: ClusterSubnetGroup; - } - export interface ModifyEventSubscriptionMessage { - /** - * The name of the modified Amazon Redshift event notification subscription. - */ - SubscriptionName: String; - /** - * The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription. - */ - SnsTopicArn?: String; - /** - * The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your AWS account. You must specify a source type in order to specify source IDs. Valid values: cluster, cluster-parameter-group, cluster-security-group, and cluster-snapshot. - */ - SourceType?: String; - /** - * A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified. Example: my-cluster-1, my-cluster-2 Example: my-snapshot-20131010 - */ - SourceIds?: SourceIdsList; - /** - * Specifies the Amazon Redshift event categories to be published by the event notification subscription. Values: Configuration, Management, Monitoring, Security - */ - EventCategories?: EventCategoriesList; - /** - * Specifies the Amazon Redshift event severity to be published by the event notification subscription. Values: ERROR, INFO - */ - Severity?: String; - /** - * A Boolean value indicating if the subscription is enabled. true indicates the subscription is enabled - */ - Enabled?: BooleanOptional; - } - export interface ModifyEventSubscriptionResult { - EventSubscription?: EventSubscription; - } - export interface ModifySnapshotCopyRetentionPeriodMessage { - /** - * The unique identifier of the cluster for which you want to change the retention period for automated snapshots that are copied to a destination region. Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled. - */ - ClusterIdentifier: String; - /** - * The number of days to retain automated snapshots in the destination region after they are copied from the source region. If you decrease the retention period for automated snapshots that are copied to a destination region, Amazon Redshift will delete any existing automated snapshots that were copied to the destination region and that fall outside of the new retention period. Constraints: Must be at least 1 and no more than 35. - */ - RetentionPeriod: Integer; - } - export interface ModifySnapshotCopyRetentionPeriodResult { - Cluster?: Cluster; - } - export interface OrderableClusterOption { - /** - * The version of the orderable cluster. - */ - ClusterVersion?: String; - /** - * The cluster type, for example multi-node. - */ - ClusterType?: String; - /** - * The node type for the orderable cluster. - */ - NodeType?: String; - /** - * A list of availability zones for the orderable cluster. - */ - AvailabilityZones?: AvailabilityZoneList; - } - export type OrderableClusterOptionsList = OrderableClusterOption[]; - export interface OrderableClusterOptionsMessage { - /** - * An OrderableClusterOption structure containing information about orderable options for the cluster. - */ - OrderableClusterOptions?: OrderableClusterOptionsList; - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - } - export interface Parameter { - /** - * The name of the parameter. - */ - ParameterName?: String; - /** - * The value of the parameter. - */ - ParameterValue?: String; - /** - * A description of the parameter. - */ - Description?: String; - /** - * The source of the parameter value, such as "engine-default" or "user". - */ - Source?: String; - /** - * The data type of the parameter. - */ - DataType?: String; - /** - * The valid range of values for the parameter. - */ - AllowedValues?: String; - /** - * Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. - */ - ApplyType?: ParameterApplyType; - /** - * If true, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed. - */ - IsModifiable?: Boolean; - /** - * The earliest engine version to which the parameter can apply. - */ - MinimumEngineVersion?: String; - } - export type ParameterApplyType = "static"|"dynamic"|string; - export type ParameterGroupList = ClusterParameterGroup[]; - export type ParametersList = Parameter[]; - export interface PendingModifiedValues { - /** - * The pending or in-progress change of the master user password for the cluster. - */ - MasterUserPassword?: String; - /** - * The pending or in-progress change of the cluster's node type. - */ - NodeType?: String; - /** - * The pending or in-progress change of the number of nodes in the cluster. - */ - NumberOfNodes?: IntegerOptional; - /** - * The pending or in-progress change of the cluster type. - */ - ClusterType?: String; - /** - * The pending or in-progress change of the service version. - */ - ClusterVersion?: String; - /** - * The pending or in-progress change of the automated snapshot retention period. - */ - AutomatedSnapshotRetentionPeriod?: IntegerOptional; - /** - * The pending or in-progress change of the new identifier for the cluster. - */ - ClusterIdentifier?: String; - /** - * The pending or in-progress change of the ability to connect to the cluster from the public network. - */ - PubliclyAccessible?: BooleanOptional; - /** - * An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. If this option is true, enhanced VPC routing is enabled. Default: false - */ - EnhancedVpcRouting?: BooleanOptional; - } - export interface PurchaseReservedNodeOfferingMessage { - /** - * The unique identifier of the reserved node offering you want to purchase. - */ - ReservedNodeOfferingId: String; - /** - * The number of reserved nodes that you want to purchase. Default: 1 - */ - NodeCount?: IntegerOptional; - } - export interface PurchaseReservedNodeOfferingResult { - ReservedNode?: ReservedNode; - } - export interface RebootClusterMessage { - /** - * The cluster identifier. - */ - ClusterIdentifier: String; - } - export interface RebootClusterResult { - Cluster?: Cluster; - } - export interface RecurringCharge { - /** - * The amount charged per the period of time specified by the recurring charge frequency. - */ - RecurringChargeAmount?: Double; - /** - * The frequency at which the recurring charge amount is applied. - */ - RecurringChargeFrequency?: String; - } - export type RecurringChargeList = RecurringCharge[]; - export interface ReservedNode { - /** - * The unique identifier for the reservation. - */ - ReservedNodeId?: String; - /** - * The identifier for the reserved node offering. - */ - ReservedNodeOfferingId?: String; - /** - * The node type of the reserved node. - */ - NodeType?: String; - /** - * The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration. - */ - StartTime?: TStamp; - /** - * The duration of the node reservation in seconds. - */ - Duration?: Integer; - /** - * The fixed cost Amazon Redshift charges you for this reserved node. - */ - FixedPrice?: Double; - /** - * The hourly rate Amazon Redshift charges you for this reserved node. - */ - UsagePrice?: Double; - /** - * The currency code for the reserved cluster. - */ - CurrencyCode?: String; - /** - * The number of reserved compute nodes. - */ - NodeCount?: Integer; - /** - * The state of the reserved compute node. Possible Values: pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed. active-This reserved node is owned by the caller and is available for use. payment-failed-Payment failed for the purchase attempt. - */ - State?: String; - /** - * The anticipated utilization of the reserved node, as defined in the reserved node offering. - */ - OfferingType?: String; - /** - * The recurring charges for the reserved node. - */ - RecurringCharges?: RecurringChargeList; - } - export type ReservedNodeList = ReservedNode[]; - export interface ReservedNodeOffering { - /** - * The offering identifier. - */ - ReservedNodeOfferingId?: String; - /** - * The node type offered by the reserved node offering. - */ - NodeType?: String; - /** - * The duration, in seconds, for which the offering will reserve the node. - */ - Duration?: Integer; - /** - * The upfront fixed charge you will pay to purchase the specific reserved node offering. - */ - FixedPrice?: Double; - /** - * The rate you are charged for each hour the cluster that is using the offering is running. - */ - UsagePrice?: Double; - /** - * The currency code for the compute nodes offering. - */ - CurrencyCode?: String; - /** - * The anticipated utilization of the reserved node, as defined in the reserved node offering. - */ - OfferingType?: String; - /** - * The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes. - */ - RecurringCharges?: RecurringChargeList; - } - export type ReservedNodeOfferingList = ReservedNodeOffering[]; - export interface ReservedNodeOfferingsMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of ReservedNodeOffering objects. - */ - ReservedNodeOfferings?: ReservedNodeOfferingList; - } - export interface ReservedNodesMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * The list of ReservedNode objects. - */ - ReservedNodes?: ReservedNodeList; - } - export interface ResetClusterParameterGroupMessage { - /** - * The name of the cluster parameter group to be reset. - */ - ParameterGroupName: String; - /** - * If true, all parameters in the specified parameter group will be reset to their default values. Default: true - */ - ResetAllParameters?: Boolean; - /** - * An array of names of parameters to be reset. If ResetAllParameters option is not used, then at least one parameter name must be supplied. Constraints: A maximum of 20 parameters can be reset in a single request. - */ - Parameters?: ParametersList; - } - export interface ResizeProgressMessage { - /** - * The node type that the cluster will have after the resize operation is complete. - */ - TargetNodeType?: String; - /** - * The number of nodes that the cluster will have after the resize operation is complete. - */ - TargetNumberOfNodes?: IntegerOptional; - /** - * The cluster type after the resize operation is complete. Valid Values: multi-node | single-node - */ - TargetClusterType?: String; - /** - * The status of the resize operation. Valid Values: NONE | IN_PROGRESS | FAILED | SUCCEEDED - */ - Status?: String; - /** - * The names of tables that have been completely imported . Valid Values: List of table names. - */ - ImportTablesCompleted?: ImportTablesCompleted; - /** - * The names of tables that are being currently imported. Valid Values: List of table names. - */ - ImportTablesInProgress?: ImportTablesInProgress; - /** - * The names of tables that have not been yet imported. Valid Values: List of table names - */ - ImportTablesNotStarted?: ImportTablesNotStarted; - /** - * The average rate of the resize operation over the last few minutes, measured in megabytes per second. After the resize operation completes, this value shows the average rate of the entire resize operation. - */ - AvgResizeRateInMegaBytesPerSecond?: DoubleOptional; - /** - * The estimated total amount of data, in megabytes, on the cluster before the resize operation began. - */ - TotalResizeDataInMegaBytes?: LongOptional; - /** - * While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far. When the resize operation is complete, this value shows the total amount of data, in megabytes, on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the estimated total amount of data before resize). - */ - ProgressInMegaBytes?: LongOptional; - /** - * The amount of seconds that have elapsed since the resize operation began. After the resize operation completes, this value shows the total actual time, in seconds, for the resize operation. - */ - ElapsedTimeInSeconds?: LongOptional; - /** - * The estimated time remaining, in seconds, until the resize operation is complete. This value is calculated based on the average resize rate and the estimated amount of data remaining to be processed. Once the resize operation is complete, this value will be 0. - */ - EstimatedTimeToCompletionInSeconds?: LongOptional; - } - export type RestorableNodeTypeList = String[]; - export interface RestoreFromClusterSnapshotMessage { - /** - * The identifier of the cluster that will be created from restoring the snapshot. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic characters must be lowercase. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Must be unique for all clusters within an AWS account. - */ - ClusterIdentifier: String; - /** - * The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive. Example: my-snapshot-id - */ - SnapshotIdentifier: String; - /** - * The name of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name. - */ - SnapshotClusterIdentifier?: String; - /** - * The port number on which the cluster accepts connections. Default: The same port as the original cluster. Constraints: Must be between 1115 and 65535. - */ - Port?: IntegerOptional; - /** - * The Amazon EC2 Availability Zone in which to restore the cluster. Default: A random, system-chosen Availability Zone. Example: us-east-1a - */ - AvailabilityZone?: String; - /** - * If true, major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default: true - */ - AllowVersionUpgrade?: BooleanOptional; - /** - * The name of the subnet group where you want to cluster restored. A snapshot of cluster in VPC can be restored only in VPC. Therefore, you must provide subnet group name where you want the cluster restored. - */ - ClusterSubnetGroupName?: String; - /** - * If true, the cluster can be accessed from a public network. - */ - PubliclyAccessible?: BooleanOptional; - /** - * The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot. - */ - OwnerAccount?: String; - /** - * Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM. - */ - HsmClientCertificateIdentifier?: String; - /** - * Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM. - */ - HsmConfigurationIdentifier?: String; - /** - * The elastic IP (EIP) address for the cluster. - */ - ElasticIp?: String; - /** - * The name of the parameter group to be associated with this cluster. Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups. Constraints: Must be 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. - */ - ClusterParameterGroupName?: String; - /** - * A list of security groups to be associated with this cluster. Default: The default cluster security group for Amazon Redshift. Cluster security groups only apply to clusters outside of VPCs. - */ - ClusterSecurityGroups?: ClusterSecurityGroupNameList; - /** - * A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. Default: The default VPC security group is associated with the cluster. VPC security groups only apply to clusters in VPCs. - */ - VpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi Default: The value selected for the cluster from which the snapshot was taken. For more information about the time blocks for each region, see Maintenance Windows in Amazon Redshift Cluster Management Guide. Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Minimum 30-minute window. - */ - PreferredMaintenanceWindow?: String; - /** - * The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot. Default: The value selected for the cluster from which the snapshot was taken. Constraints: Must be a value from 0 to 35. - */ - AutomatedSnapshotRetentionPeriod?: IntegerOptional; - /** - * The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster that you restore from a shared snapshot. - */ - KmsKeyId?: String; - /** - * The node type that the restored cluster will be provisioned with. Default: The node type of the cluster from which the snapshot was taken. You can modify this if you are using any DS node type. In that case, you can choose to restore into another DS node type of the same size. For example, you can restore ds1.8xlarge into ds2.8xlarge, or ds2.xlarge into ds1.xlarge. If you have a DC instance type, you must restore into that same instance type and size. In other words, you can only restore a dc1.large instance type into another dc1.large instance type. For more information about node types, see About Clusters and Nodes in the Amazon Redshift Cluster Management Guide - */ - NodeType?: String; - /** - * An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. If this option is true, enhanced VPC routing is enabled. Default: false - */ - EnhancedVpcRouting?: BooleanOptional; - /** - * Reserved. - */ - AdditionalInfo?: String; - /** - * A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. You can supply up to 10 IAM roles in a single request. A cluster can have up to 10 IAM roles associated at any time. - */ - IamRoles?: IamRoleArnList; - } - export interface RestoreFromClusterSnapshotResult { - Cluster?: Cluster; - } - export interface RestoreStatus { - /** - * The status of the restore action. Returns starting, restoring, completed, or failed. - */ - Status?: String; - /** - * The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup. - */ - CurrentRestoreRateInMegaBytesPerSecond?: Double; - /** - * The size of the set of snapshot data used to restore the cluster. - */ - SnapshotSizeInMegaBytes?: Long; - /** - * The number of megabytes that have been transferred from snapshot storage. - */ - ProgressInMegaBytes?: Long; - /** - * The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish. - */ - ElapsedTimeInSeconds?: Long; - /** - * The estimate of the time remaining before the restore will complete. Returns 0 for a completed restore. - */ - EstimatedTimeToCompletionInSeconds?: Long; - } - export interface RestoreTableFromClusterSnapshotMessage { - /** - * The identifier of the Amazon Redshift cluster to restore the table to. - */ - ClusterIdentifier: String; - /** - * The identifier of the snapshot to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the ClusterIdentifier parameter. - */ - SnapshotIdentifier: String; - /** - * The name of the source database that contains the table to restore from. - */ - SourceDatabaseName: String; - /** - * The name of the source schema that contains the table to restore from. If you do not specify a SourceSchemaName value, the default is public. - */ - SourceSchemaName?: String; - /** - * The name of the source table to restore from. - */ - SourceTableName: String; - /** - * The name of the database to restore the table to. - */ - TargetDatabaseName?: String; - /** - * The name of the schema to restore the table to. - */ - TargetSchemaName?: String; - /** - * The name of the table to create as a result of the current request. - */ - NewTableName: String; - } - export interface RestoreTableFromClusterSnapshotResult { - TableRestoreStatus?: TableRestoreStatus; - } - export interface RevokeClusterSecurityGroupIngressMessage { - /** - * The name of the security Group from which to revoke the ingress rule. - */ - ClusterSecurityGroupName: String; - /** - * The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided. - */ - CIDRIP?: String; - /** - * The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided. - */ - EC2SecurityGroupName?: String; - /** - * The AWS account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided. Example: 111122223333 - */ - EC2SecurityGroupOwnerId?: String; - } - export interface RevokeClusterSecurityGroupIngressResult { - ClusterSecurityGroup?: ClusterSecurityGroup; - } - export interface RevokeSnapshotAccessMessage { - /** - * The identifier of the snapshot that the account can no longer access. - */ - SnapshotIdentifier: String; - /** - * The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name. - */ - SnapshotClusterIdentifier?: String; - /** - * The identifier of the AWS customer account that can no longer restore the specified snapshot. - */ - AccountWithRestoreAccess: String; - } - export interface RevokeSnapshotAccessResult { - Snapshot?: Snapshot; - } - export interface RotateEncryptionKeyMessage { - /** - * The unique identifier of the cluster that you want to rotate the encryption keys for. Constraints: Must be the name of valid cluster that has encryption enabled. - */ - ClusterIdentifier: String; - } - export interface RotateEncryptionKeyResult { - Cluster?: Cluster; - } - export type SensitiveString = string; - export interface Snapshot { - /** - * The snapshot identifier that is provided in the request. - */ - SnapshotIdentifier?: String; - /** - * The identifier of the cluster for which the snapshot was taken. - */ - ClusterIdentifier?: String; - /** - * The time (UTC) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time. - */ - SnapshotCreateTime?: TStamp; - /** - * The snapshot status. The value of the status depends on the API operation used. CreateClusterSnapshot and CopyClusterSnapshot returns status as "creating". DescribeClusterSnapshots returns status as "creating", "available", "final snapshot", or "failed". DeleteClusterSnapshot returns status as "deleted". - */ - Status?: String; - /** - * The port that the cluster is listening on. - */ - Port?: Integer; - /** - * The Availability Zone in which the cluster was created. - */ - AvailabilityZone?: String; - /** - * The time (UTC) when the cluster was originally created. - */ - ClusterCreateTime?: TStamp; - /** - * The master user name for the cluster. - */ - MasterUsername?: String; - /** - * The version ID of the Amazon Redshift engine that is running on the cluster. - */ - ClusterVersion?: String; - /** - * The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot will be of type "manual". - */ - SnapshotType?: String; - /** - * The node type of the nodes in the cluster. - */ - NodeType?: String; - /** - * The number of nodes in the cluster. - */ - NumberOfNodes?: Integer; - /** - * The name of the database that was created when the cluster was created. - */ - DBName?: String; - /** - * The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output. - */ - VpcId?: String; - /** - * If true, the data in the snapshot is encrypted at rest. - */ - Encrypted?: Boolean; - /** - * The AWS Key Management Service (KMS) key ID of the encryption key that was used to encrypt data in the cluster from which the snapshot was taken. - */ - KmsKeyId?: String; - /** - * A boolean that indicates whether the snapshot data is encrypted using the HSM keys of the source cluster. true indicates that the data is encrypted using HSM keys. - */ - EncryptedWithHSM?: Boolean; - /** - * A list of the AWS customer accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner. - */ - AccountsWithRestoreAccess?: AccountsWithRestoreAccessList; - /** - * For manual snapshots, the AWS customer account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot. - */ - OwnerAccount?: String; - /** - * The size of the complete set of backup data that would be used to restore the cluster. - */ - TotalBackupSizeInMegaBytes?: Double; - /** - * The size of the incremental backup. - */ - ActualIncrementalBackupSizeInMegaBytes?: Double; - /** - * The number of megabytes that have been transferred to the snapshot backup. - */ - BackupProgressInMegaBytes?: Double; - /** - * The number of megabytes per second being transferred to the snapshot backup. Returns 0 for a completed backup. - */ - CurrentBackupRateInMegaBytesPerSecond?: Double; - /** - * The estimate of the time remaining before the snapshot backup will complete. Returns 0 for a completed backup. - */ - EstimatedSecondsToCompletion?: Long; - /** - * The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish. - */ - ElapsedTimeInSeconds?: Long; - /** - * The source region from which the snapshot was copied. - */ - SourceRegion?: String; - /** - * The list of tags for the cluster snapshot. - */ - Tags?: TagList; - /** - * The list of node types that this cluster snapshot is able to restore into. - */ - RestorableNodeTypes?: RestorableNodeTypeList; - /** - * An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. If this option is true, enhanced VPC routing is enabled. Default: false - */ - EnhancedVpcRouting?: Boolean; - } - export interface SnapshotCopyGrant { - /** - * The name of the snapshot copy grant. - */ - SnapshotCopyGrantName?: String; - /** - * The unique identifier of the customer master key (CMK) in AWS KMS to which Amazon Redshift is granted permission. - */ - KmsKeyId?: String; - /** - * A list of tag instances. - */ - Tags?: TagList; - } - export type SnapshotCopyGrantList = SnapshotCopyGrant[]; - export interface SnapshotCopyGrantMessage { - /** - * An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeSnapshotCopyGrant request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request. Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both. - */ - Marker?: String; - /** - * The list of SnapshotCopyGrant objects. - */ - SnapshotCopyGrants?: SnapshotCopyGrantList; - } - export type SnapshotList = Snapshot[]; - export interface SnapshotMessage { - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - /** - * A list of Snapshot instances. - */ - Snapshots?: SnapshotList; - } - export type SourceIdsList = String[]; - export type SourceType = "cluster"|"cluster-parameter-group"|"cluster-security-group"|"cluster-snapshot"|string; - export type String = string; - export interface Subnet { - /** - * The identifier of the subnet. - */ - SubnetIdentifier?: String; - SubnetAvailabilityZone?: AvailabilityZone; - /** - * The status of the subnet. - */ - SubnetStatus?: String; - } - export type SubnetIdentifierList = String[]; - export type SubnetList = Subnet[]; - export type TStamp = Date; - export interface TableRestoreStatus { - /** - * The unique identifier for the table restore request. - */ - TableRestoreRequestId?: String; - /** - * A value that describes the current state of the table restore request. Valid Values: SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS - */ - Status?: TableRestoreStatusType; - /** - * A description of the status of the table restore request. Status values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS. - */ - Message?: String; - /** - * The time that the table restore request was made, in Universal Coordinated Time (UTC). - */ - RequestTime?: TStamp; - /** - * The amount of data restored to the new table so far, in megabytes (MB). - */ - ProgressInMegaBytes?: LongOptional; - /** - * The total amount of data to restore to the new table, in megabytes (MB). - */ - TotalDataInMegaBytes?: LongOptional; - /** - * The identifier of the Amazon Redshift cluster that the table is being restored to. - */ - ClusterIdentifier?: String; - /** - * The identifier of the snapshot that the table is being restored from. - */ - SnapshotIdentifier?: String; - /** - * The name of the source database that contains the table being restored. - */ - SourceDatabaseName?: String; - /** - * The name of the source schema that contains the table being restored. - */ - SourceSchemaName?: String; - /** - * The name of the source table being restored. - */ - SourceTableName?: String; - /** - * The name of the database to restore the table to. - */ - TargetDatabaseName?: String; - /** - * The name of the schema to restore the table to. - */ - TargetSchemaName?: String; - /** - * The name of the table to create as a result of the table restore request. - */ - NewTableName?: String; - } - export type TableRestoreStatusList = TableRestoreStatus[]; - export interface TableRestoreStatusMessage { - /** - * A list of status details for one or more table restore requests. - */ - TableRestoreStatusDetails?: TableRestoreStatusList; - /** - * A pagination token that can be used in a subsequent DescribeTableRestoreStatus request. - */ - Marker?: String; - } - export type TableRestoreStatusType = "PENDING"|"IN_PROGRESS"|"SUCCEEDED"|"FAILED"|"CANCELED"|string; - export interface Tag { - /** - * The key, or name, for the resource tag. - */ - Key?: String; - /** - * The value for the resource tag. - */ - Value?: String; - } - export type TagKeyList = String[]; - export type TagList = Tag[]; - export type TagValueList = String[]; - export interface TaggedResource { - /** - * The tag for the resource. - */ - Tag?: Tag; - /** - * The Amazon Resource Name (ARN) with which the tag is associated. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1. - */ - ResourceName?: String; - /** - * The type of resource with which the tag is associated. Valid resource types are: Cluster CIDR/IP EC2 security group Snapshot Cluster security group Subnet group HSM connection HSM certificate Parameter group For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide. - */ - ResourceType?: String; - } - export type TaggedResourceList = TaggedResource[]; - export interface TaggedResourceListMessage { - /** - * A list of tags with their associated resources. - */ - TaggedResources?: TaggedResourceList; - /** - * A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request. - */ - Marker?: String; - } - export type VpcSecurityGroupIdList = String[]; - export interface VpcSecurityGroupMembership { - /** - * The identifier of the VPC security group. - */ - VpcSecurityGroupId?: String; - /** - * The status of the VPC security group. - */ - Status?: String; - } - export type VpcSecurityGroupMembershipList = VpcSecurityGroupMembership[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2012-12-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Redshift client. - */ - export import Types = Redshift; -} -export = Redshift; diff --git a/src/node_modules/aws-sdk/clients/redshift.js b/src/node_modules/aws-sdk/clients/redshift.js deleted file mode 100644 index d1a64c1..0000000 --- a/src/node_modules/aws-sdk/clients/redshift.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['redshift'] = {}; -AWS.Redshift = Service.defineService('redshift', ['2012-12-01']); -Object.defineProperty(apiLoader.services['redshift'], '2012-12-01', { - get: function get() { - var model = require('../apis/redshift-2012-12-01.min.json'); - model.paginators = require('../apis/redshift-2012-12-01.paginators.json').pagination; - model.waiters = require('../apis/redshift-2012-12-01.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Redshift; diff --git a/src/node_modules/aws-sdk/clients/rekognition.d.ts b/src/node_modules/aws-sdk/clients/rekognition.d.ts deleted file mode 100644 index f3bb1fe..0000000 --- a/src/node_modules/aws-sdk/clients/rekognition.d.ts +++ /dev/null @@ -1,864 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Rekognition extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Rekognition.Types.ClientConfiguration) - config: Config & Rekognition.Types.ClientConfiguration; - /** - * Compares a face in the source input image with each face detected in the target input image. If the source image contains multiple faces, the service detects the largest face and compares it with each face detected in the target image. In response, the operation returns an array of face matches ordered by similarity score in descending order. For each face match, the response provides a bounding box of the face, facial landmarks, pose details (pitch, role, and yaw), quality (brightness and sharpness), and confidence value (indicating the level of confidence that the bounding box contains a face). The response also provides a similarity score, which indicates how closely the faces match. By default, only faces with a similarity score of greater than or equal to 80% are returned in the response. You can change this value by specifying the SimilarityThreshold parameter. CompareFaces also returns an array of faces that don't match the source image. For each face, it returns a bounding box, confidence value, landmarks, pose details, and quality. The response also returns information about the face in the source image, including the bounding box of the face and confidence value. If the image doesn't contain Exif metadata, CompareFaces returns orientation information for the source and target images. Use these values to display the images with the correct image orientation. This is a stateless API operation. That is, data returned by this operation doesn't persist. For an example, see get-started-exercise-compare-faces. This operation requires permissions to perform the rekognition:CompareFaces action. - */ - compareFaces(params: Rekognition.Types.CompareFacesRequest, callback?: (err: AWSError, data: Rekognition.Types.CompareFacesResponse) => void): Request; - /** - * Compares a face in the source input image with each face detected in the target input image. If the source image contains multiple faces, the service detects the largest face and compares it with each face detected in the target image. In response, the operation returns an array of face matches ordered by similarity score in descending order. For each face match, the response provides a bounding box of the face, facial landmarks, pose details (pitch, role, and yaw), quality (brightness and sharpness), and confidence value (indicating the level of confidence that the bounding box contains a face). The response also provides a similarity score, which indicates how closely the faces match. By default, only faces with a similarity score of greater than or equal to 80% are returned in the response. You can change this value by specifying the SimilarityThreshold parameter. CompareFaces also returns an array of faces that don't match the source image. For each face, it returns a bounding box, confidence value, landmarks, pose details, and quality. The response also returns information about the face in the source image, including the bounding box of the face and confidence value. If the image doesn't contain Exif metadata, CompareFaces returns orientation information for the source and target images. Use these values to display the images with the correct image orientation. This is a stateless API operation. That is, data returned by this operation doesn't persist. For an example, see get-started-exercise-compare-faces. This operation requires permissions to perform the rekognition:CompareFaces action. - */ - compareFaces(callback?: (err: AWSError, data: Rekognition.Types.CompareFacesResponse) => void): Request; - /** - * Creates a collection in an AWS Region. You can add faces to the collection using the operation. For example, you might create collections, one for each of your application users. A user can then index faces using the IndexFaces operation and persist results in a specific collection. Then, a user can search the collection for faces in the user-specific container. Collection names are case-sensitive. For an example, see example1. This operation requires permissions to perform the rekognition:CreateCollection action. - */ - createCollection(params: Rekognition.Types.CreateCollectionRequest, callback?: (err: AWSError, data: Rekognition.Types.CreateCollectionResponse) => void): Request; - /** - * Creates a collection in an AWS Region. You can add faces to the collection using the operation. For example, you might create collections, one for each of your application users. A user can then index faces using the IndexFaces operation and persist results in a specific collection. Then, a user can search the collection for faces in the user-specific container. Collection names are case-sensitive. For an example, see example1. This operation requires permissions to perform the rekognition:CreateCollection action. - */ - createCollection(callback?: (err: AWSError, data: Rekognition.Types.CreateCollectionResponse) => void): Request; - /** - * Deletes the specified collection. Note that this operation removes all faces in the collection. For an example, see example1. This operation requires permissions to perform the rekognition:DeleteCollection action. - */ - deleteCollection(params: Rekognition.Types.DeleteCollectionRequest, callback?: (err: AWSError, data: Rekognition.Types.DeleteCollectionResponse) => void): Request; - /** - * Deletes the specified collection. Note that this operation removes all faces in the collection. For an example, see example1. This operation requires permissions to perform the rekognition:DeleteCollection action. - */ - deleteCollection(callback?: (err: AWSError, data: Rekognition.Types.DeleteCollectionResponse) => void): Request; - /** - * Deletes faces from a collection. You specify a collection ID and an array of face IDs to remove from the collection. This operation requires permissions to perform the rekognition:DeleteFaces action. - */ - deleteFaces(params: Rekognition.Types.DeleteFacesRequest, callback?: (err: AWSError, data: Rekognition.Types.DeleteFacesResponse) => void): Request; - /** - * Deletes faces from a collection. You specify a collection ID and an array of face IDs to remove from the collection. This operation requires permissions to perform the rekognition:DeleteFaces action. - */ - deleteFaces(callback?: (err: AWSError, data: Rekognition.Types.DeleteFacesResponse) => void): Request; - /** - * Detects faces within an image (JPEG or PNG) that is provided as input. For each face detected, the operation returns face details including a bounding box of the face, a confidence value (that the bounding box contains a face), and a fixed set of attributes such as facial landmarks (for example, coordinates of eye and mouth), gender, presence of beard, sunglasses, etc. The face-detection algorithm is most effective on frontal faces. For non-frontal or obscured faces, the algorithm may not detect the faces or might detect faces with lower confidence. This is a stateless API operation. That is, the operation does not persist any data. For an example, see get-started-exercise-detect-faces. This operation requires permissions to perform the rekognition:DetectFaces action. - */ - detectFaces(params: Rekognition.Types.DetectFacesRequest, callback?: (err: AWSError, data: Rekognition.Types.DetectFacesResponse) => void): Request; - /** - * Detects faces within an image (JPEG or PNG) that is provided as input. For each face detected, the operation returns face details including a bounding box of the face, a confidence value (that the bounding box contains a face), and a fixed set of attributes such as facial landmarks (for example, coordinates of eye and mouth), gender, presence of beard, sunglasses, etc. The face-detection algorithm is most effective on frontal faces. For non-frontal or obscured faces, the algorithm may not detect the faces or might detect faces with lower confidence. This is a stateless API operation. That is, the operation does not persist any data. For an example, see get-started-exercise-detect-faces. This operation requires permissions to perform the rekognition:DetectFaces action. - */ - detectFaces(callback?: (err: AWSError, data: Rekognition.Types.DetectFacesResponse) => void): Request; - /** - * Detects instances of real-world labels within an image (JPEG or PNG) provided as input. This includes objects like flower, tree, and table; events like wedding, graduation, and birthday party; and concepts like landscape, evening, and nature. For an example, see get-started-exercise-detect-labels. For each object, scene, and concept the API returns one or more labels. Each label provides the object name, and the level of confidence that the image contains the object. For example, suppose the input image has a lighthouse, the sea, and a rock. The response will include all three labels, one for each object. {Name: lighthouse, Confidence: 98.4629} {Name: rock,Confidence: 79.2097} {Name: sea,Confidence: 75.061} In the preceding example, the operation returns one label for each of the three objects. The operation can also return multiple labels for the same object in the image. For example, if the input image shows a flower (for example, a tulip), the operation might return the following three labels. {Name: flower,Confidence: 99.0562} {Name: plant,Confidence: 99.0562} {Name: tulip,Confidence: 99.0562} In this example, the detection algorithm more precisely identifies the flower as a tulip. You can provide the input image as an S3 object or as base64-encoded bytes. In response, the API returns an array of labels. In addition, the response also includes the orientation correction. Optionally, you can specify MinConfidence to control the confidence threshold for the labels returned. The default is 50%. You can also add the MaxLabels parameter to limit the number of labels returned. If the object detected is a person, the operation doesn't provide the same facial details that the DetectFaces operation provides. This is a stateless API operation. That is, the operation does not persist any data. This operation requires permissions to perform the rekognition:DetectLabels action. - */ - detectLabels(params: Rekognition.Types.DetectLabelsRequest, callback?: (err: AWSError, data: Rekognition.Types.DetectLabelsResponse) => void): Request; - /** - * Detects instances of real-world labels within an image (JPEG or PNG) provided as input. This includes objects like flower, tree, and table; events like wedding, graduation, and birthday party; and concepts like landscape, evening, and nature. For an example, see get-started-exercise-detect-labels. For each object, scene, and concept the API returns one or more labels. Each label provides the object name, and the level of confidence that the image contains the object. For example, suppose the input image has a lighthouse, the sea, and a rock. The response will include all three labels, one for each object. {Name: lighthouse, Confidence: 98.4629} {Name: rock,Confidence: 79.2097} {Name: sea,Confidence: 75.061} In the preceding example, the operation returns one label for each of the three objects. The operation can also return multiple labels for the same object in the image. For example, if the input image shows a flower (for example, a tulip), the operation might return the following three labels. {Name: flower,Confidence: 99.0562} {Name: plant,Confidence: 99.0562} {Name: tulip,Confidence: 99.0562} In this example, the detection algorithm more precisely identifies the flower as a tulip. You can provide the input image as an S3 object or as base64-encoded bytes. In response, the API returns an array of labels. In addition, the response also includes the orientation correction. Optionally, you can specify MinConfidence to control the confidence threshold for the labels returned. The default is 50%. You can also add the MaxLabels parameter to limit the number of labels returned. If the object detected is a person, the operation doesn't provide the same facial details that the DetectFaces operation provides. This is a stateless API operation. That is, the operation does not persist any data. This operation requires permissions to perform the rekognition:DetectLabels action. - */ - detectLabels(callback?: (err: AWSError, data: Rekognition.Types.DetectLabelsResponse) => void): Request; - /** - * Detects explicit or suggestive adult content in a specified JPEG or PNG format image. Use DetectModerationLabels to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content. To filter images, use the labels returned by DetectModerationLabels to determine which types of content are appropriate. For information about moderation labels, see image-moderation. - */ - detectModerationLabels(params: Rekognition.Types.DetectModerationLabelsRequest, callback?: (err: AWSError, data: Rekognition.Types.DetectModerationLabelsResponse) => void): Request; - /** - * Detects explicit or suggestive adult content in a specified JPEG or PNG format image. Use DetectModerationLabels to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content. To filter images, use the labels returned by DetectModerationLabels to determine which types of content are appropriate. For information about moderation labels, see image-moderation. - */ - detectModerationLabels(callback?: (err: AWSError, data: Rekognition.Types.DetectModerationLabelsResponse) => void): Request; - /** - * Gets the name and additional information about a celebrity based on his or her Rekognition ID. The additional information is returned as an array of URLs. If there is no additional information about the celebrity, this list is empty. For more information, see celebrity-recognition. This operation requires permissions to perform the rekognition:GetCelebrityInfo action. - */ - getCelebrityInfo(params: Rekognition.Types.GetCelebrityInfoRequest, callback?: (err: AWSError, data: Rekognition.Types.GetCelebrityInfoResponse) => void): Request; - /** - * Gets the name and additional information about a celebrity based on his or her Rekognition ID. The additional information is returned as an array of URLs. If there is no additional information about the celebrity, this list is empty. For more information, see celebrity-recognition. This operation requires permissions to perform the rekognition:GetCelebrityInfo action. - */ - getCelebrityInfo(callback?: (err: AWSError, data: Rekognition.Types.GetCelebrityInfoResponse) => void): Request; - /** - * Detects faces in the input image and adds them to the specified collection. Amazon Rekognition does not save the actual faces detected. Instead, the underlying detection algorithm first detects the faces in the input image, and for each face extracts facial features into a feature vector, and stores it in the back-end database. Amazon Rekognition uses feature vectors when performing face match and search operations using the and operations. If you provide the optional externalImageID for the input image you provided, Amazon Rekognition associates this ID with all faces that it detects. When you call the operation, the response returns the external ID. You can use this external image ID to create a client-side index to associate the faces with each image. You can then use the index to find all faces in an image. In response, the operation returns an array of metadata for all detected faces. This includes, the bounding box of the detected face, confidence value (indicating the bounding box contains a face), a face ID assigned by the service for each face that is detected and stored, and an image ID assigned by the service for the input image. If you request all facial attributes (using the detectionAttributes parameter, Amazon Rekognition returns detailed facial attributes such as facial landmarks (for example, location of eye and mount) and other facial attributes such gender. If you provide the same image, specify the same collection, and use the same external ID in the IndexFaces operation, Amazon Rekognition doesn't save duplicate face metadata. For an example, see example2. This operation requires permissions to perform the rekognition:IndexFaces action. - */ - indexFaces(params: Rekognition.Types.IndexFacesRequest, callback?: (err: AWSError, data: Rekognition.Types.IndexFacesResponse) => void): Request; - /** - * Detects faces in the input image and adds them to the specified collection. Amazon Rekognition does not save the actual faces detected. Instead, the underlying detection algorithm first detects the faces in the input image, and for each face extracts facial features into a feature vector, and stores it in the back-end database. Amazon Rekognition uses feature vectors when performing face match and search operations using the and operations. If you provide the optional externalImageID for the input image you provided, Amazon Rekognition associates this ID with all faces that it detects. When you call the operation, the response returns the external ID. You can use this external image ID to create a client-side index to associate the faces with each image. You can then use the index to find all faces in an image. In response, the operation returns an array of metadata for all detected faces. This includes, the bounding box of the detected face, confidence value (indicating the bounding box contains a face), a face ID assigned by the service for each face that is detected and stored, and an image ID assigned by the service for the input image. If you request all facial attributes (using the detectionAttributes parameter, Amazon Rekognition returns detailed facial attributes such as facial landmarks (for example, location of eye and mount) and other facial attributes such gender. If you provide the same image, specify the same collection, and use the same external ID in the IndexFaces operation, Amazon Rekognition doesn't save duplicate face metadata. For an example, see example2. This operation requires permissions to perform the rekognition:IndexFaces action. - */ - indexFaces(callback?: (err: AWSError, data: Rekognition.Types.IndexFacesResponse) => void): Request; - /** - * Returns list of collection IDs in your account. If the result is truncated, the response also provides a NextToken that you can use in the subsequent request to fetch the next set of collection IDs. For an example, see example1. This operation requires permissions to perform the rekognition:ListCollections action. - */ - listCollections(params: Rekognition.Types.ListCollectionsRequest, callback?: (err: AWSError, data: Rekognition.Types.ListCollectionsResponse) => void): Request; - /** - * Returns list of collection IDs in your account. If the result is truncated, the response also provides a NextToken that you can use in the subsequent request to fetch the next set of collection IDs. For an example, see example1. This operation requires permissions to perform the rekognition:ListCollections action. - */ - listCollections(callback?: (err: AWSError, data: Rekognition.Types.ListCollectionsResponse) => void): Request; - /** - * Returns metadata for faces in the specified collection. This metadata includes information such as the bounding box coordinates, the confidence (that the bounding box contains a face), and face ID. For an example, see example3. This operation requires permissions to perform the rekognition:ListFaces action. - */ - listFaces(params: Rekognition.Types.ListFacesRequest, callback?: (err: AWSError, data: Rekognition.Types.ListFacesResponse) => void): Request; - /** - * Returns metadata for faces in the specified collection. This metadata includes information such as the bounding box coordinates, the confidence (that the bounding box contains a face), and face ID. For an example, see example3. This operation requires permissions to perform the rekognition:ListFaces action. - */ - listFaces(callback?: (err: AWSError, data: Rekognition.Types.ListFacesResponse) => void): Request; - /** - * Returns an array of celebrities recognized in the input image. The image is passed either as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. The image must be either a PNG or JPEG formatted file. For more information, see celebrity-recognition. RecognizeCelebrities returns the 15 largest faces in the image. It lists recognized celebrities in the CelebrityFaces list and unrecognized faces in the UnrecognizedFaces list. The operation doesn't return celebrities whose face sizes are smaller than the largest 15 faces in the image. For each celebrity recognized, the API returns a Celebrity object. The Celebrity object contains the celebrity name, ID, URL links to additional information, match confidence, and a ComparedFace object that you can use to locate the celebrity's face on the image. Rekognition does not retain information about which images a celebrity has been recognized in. Your application must store this information and use the Celebrity ID property as a unique identifier for the celebrity. If you don't store the celebrity name or additional information URLs returned by RecognizeCelebrities, you will need the ID to identify the celebrity in a call to the operation. For an example, see recognize-celebrities-tutorial. This operation requires permissions to perform the rekognition:RecognizeCelebrities operation. - */ - recognizeCelebrities(params: Rekognition.Types.RecognizeCelebritiesRequest, callback?: (err: AWSError, data: Rekognition.Types.RecognizeCelebritiesResponse) => void): Request; - /** - * Returns an array of celebrities recognized in the input image. The image is passed either as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. The image must be either a PNG or JPEG formatted file. For more information, see celebrity-recognition. RecognizeCelebrities returns the 15 largest faces in the image. It lists recognized celebrities in the CelebrityFaces list and unrecognized faces in the UnrecognizedFaces list. The operation doesn't return celebrities whose face sizes are smaller than the largest 15 faces in the image. For each celebrity recognized, the API returns a Celebrity object. The Celebrity object contains the celebrity name, ID, URL links to additional information, match confidence, and a ComparedFace object that you can use to locate the celebrity's face on the image. Rekognition does not retain information about which images a celebrity has been recognized in. Your application must store this information and use the Celebrity ID property as a unique identifier for the celebrity. If you don't store the celebrity name or additional information URLs returned by RecognizeCelebrities, you will need the ID to identify the celebrity in a call to the operation. For an example, see recognize-celebrities-tutorial. This operation requires permissions to perform the rekognition:RecognizeCelebrities operation. - */ - recognizeCelebrities(callback?: (err: AWSError, data: Rekognition.Types.RecognizeCelebritiesResponse) => void): Request; - /** - * For a given input face ID, searches for matching faces in the collection the face belongs to. You get a face ID when you add a face to the collection using the IndexFaces operation. The operation compares the features of the input face with faces in the specified collection. You can also search faces without indexing faces by using the SearchFacesByImage operation. The operation response returns an array of faces that match, ordered by similarity score with the highest similarity first. More specifically, it is an array of metadata for each face match that is found. Along with the metadata, the response also includes a confidence value for each face match, indicating the confidence that the specific face matches the input face. For an example, see example3. This operation requires permissions to perform the rekognition:SearchFaces action. - */ - searchFaces(params: Rekognition.Types.SearchFacesRequest, callback?: (err: AWSError, data: Rekognition.Types.SearchFacesResponse) => void): Request; - /** - * For a given input face ID, searches for matching faces in the collection the face belongs to. You get a face ID when you add a face to the collection using the IndexFaces operation. The operation compares the features of the input face with faces in the specified collection. You can also search faces without indexing faces by using the SearchFacesByImage operation. The operation response returns an array of faces that match, ordered by similarity score with the highest similarity first. More specifically, it is an array of metadata for each face match that is found. Along with the metadata, the response also includes a confidence value for each face match, indicating the confidence that the specific face matches the input face. For an example, see example3. This operation requires permissions to perform the rekognition:SearchFaces action. - */ - searchFaces(callback?: (err: AWSError, data: Rekognition.Types.SearchFacesResponse) => void): Request; - /** - * For a given input image, first detects the largest face in the image, and then searches the specified collection for matching faces. The operation compares the features of the input face with faces in the specified collection. To search for all faces in an input image, you might first call the operation, and then use the face IDs returned in subsequent calls to the operation. You can also call the DetectFaces operation and use the bounding boxes in the response to make face crops, which then you can pass in to the SearchFacesByImage operation. The response returns an array of faces that match, ordered by similarity score with the highest similarity first. More specifically, it is an array of metadata for each face match found. Along with the metadata, the response also includes a similarity indicating how similar the face is to the input face. In the response, the operation also returns the bounding box (and a confidence level that the bounding box contains a face) of the face that Amazon Rekognition used for the input image. For an example, see example3. This operation requires permissions to perform the rekognition:SearchFacesByImage action. - */ - searchFacesByImage(params: Rekognition.Types.SearchFacesByImageRequest, callback?: (err: AWSError, data: Rekognition.Types.SearchFacesByImageResponse) => void): Request; - /** - * For a given input image, first detects the largest face in the image, and then searches the specified collection for matching faces. The operation compares the features of the input face with faces in the specified collection. To search for all faces in an input image, you might first call the operation, and then use the face IDs returned in subsequent calls to the operation. You can also call the DetectFaces operation and use the bounding boxes in the response to make face crops, which then you can pass in to the SearchFacesByImage operation. The response returns an array of faces that match, ordered by similarity score with the highest similarity first. More specifically, it is an array of metadata for each face match found. Along with the metadata, the response also includes a similarity indicating how similar the face is to the input face. In the response, the operation also returns the bounding box (and a confidence level that the bounding box contains a face) of the face that Amazon Rekognition used for the input image. For an example, see example3. This operation requires permissions to perform the rekognition:SearchFacesByImage action. - */ - searchFacesByImage(callback?: (err: AWSError, data: Rekognition.Types.SearchFacesByImageResponse) => void): Request; -} -declare namespace Rekognition { - export interface AgeRange { - /** - * The lowest estimated age. - */ - Low?: UInteger; - /** - * The highest estimated age. - */ - High?: UInteger; - } - export type Attribute = "DEFAULT"|"ALL"|string; - export type Attributes = Attribute[]; - export interface Beard { - /** - * Boolean value that indicates whether the face has beard or not. - */ - Value?: Boolean; - /** - * Level of confidence in the determination. - */ - Confidence?: Percent; - } - export type Boolean = boolean; - export interface BoundingBox { - /** - * Width of the bounding box as a ratio of the overall image width. - */ - Width?: Float; - /** - * Height of the bounding box as a ratio of the overall image height. - */ - Height?: Float; - /** - * Left coordinate of the bounding box as a ratio of overall image width. - */ - Left?: Float; - /** - * Top coordinate of the bounding box as a ratio of overall image height. - */ - Top?: Float; - } - export interface Celebrity { - /** - * An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty. - */ - Urls?: Urls; - /** - * The name of the celebrity. - */ - Name?: String; - /** - * A unique identifier for the celebrity. - */ - Id?: RekognitionUniqueId; - /** - * Provides information about the celebrity's face, such as its location on the image. - */ - Face?: ComparedFace; - /** - * The confidence, in percentage, that Rekognition has that the recognized face is the celebrity. - */ - MatchConfidence?: Percent; - } - export type CelebrityList = Celebrity[]; - export type CollectionId = string; - export type CollectionIdList = CollectionId[]; - export interface CompareFacesMatch { - /** - * Level of confidence that the faces match. - */ - Similarity?: Percent; - /** - * Provides face metadata (bounding box and confidence that the bounding box actually contains a face). - */ - Face?: ComparedFace; - } - export type CompareFacesMatchList = CompareFacesMatch[]; - export interface CompareFacesRequest { - /** - * The source image, either as bytes or as an S3 object. - */ - SourceImage: Image; - /** - * The target image, either as bytes or as an S3 object. - */ - TargetImage: Image; - /** - * The minimum level of confidence in the face matches that a match must meet to be included in the FaceMatches array. - */ - SimilarityThreshold?: Percent; - } - export interface CompareFacesResponse { - /** - * The face in the source image that was used for comparison. - */ - SourceImageFace?: ComparedSourceImageFace; - /** - * An array of faces in the target image that match the source image face. Each CompareFacesMatch object provides the bounding box, the confidence level that the bounding box contains a face, and the similarity score for the face in the bounding box and the face in the source image. - */ - FaceMatches?: CompareFacesMatchList; - /** - * An array of faces in the target image that did not match the source image face. - */ - UnmatchedFaces?: CompareFacesUnmatchList; - /** - * The orientation of the source image (counterclockwise direction). If your application displays the source image, you can use this value to correct image orientation. The bounding box coordinates returned in SourceImageFace represent the location of the face before the image orientation is corrected. If the source image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the image's orientation. If the Exif metadata for the source image populates the orientation field, the value of OrientationCorrection is null and the SourceImageFace bounding box coordinates represent the location of the face after Exif metadata is used to correct the orientation. Images in .png format don't contain Exif metadata. - */ - SourceImageOrientationCorrection?: OrientationCorrection; - /** - * The orientation of the target image (in counterclockwise direction). If your application displays the target image, you can use this value to correct the orientation of the image. The bounding box coordinates returned in FaceMatches and UnmatchedFaces represent face locations before the image orientation is corrected. If the target image is in .jpg format, it might contain Exif metadata that includes the orientation of the image. If the Exif metadata for the target image populates the orientation field, the value of OrientationCorrection is null and the bounding box coordinates in FaceMatches and UnmatchedFaces represent the location of the face after Exif metadata is used to correct the orientation. Images in .png format don't contain Exif metadata. - */ - TargetImageOrientationCorrection?: OrientationCorrection; - } - export type CompareFacesUnmatchList = ComparedFace[]; - export interface ComparedFace { - /** - * Bounding box of the face. - */ - BoundingBox?: BoundingBox; - /** - * Level of confidence that what the bounding box contains is a face. - */ - Confidence?: Percent; - /** - * An array of facial landmarks. - */ - Landmarks?: Landmarks; - /** - * Indicates the pose of the face as determined by its pitch, roll, and yaw. - */ - Pose?: Pose; - /** - * Identifies face image brightness and sharpness. - */ - Quality?: ImageQuality; - } - export type ComparedFaceList = ComparedFace[]; - export interface ComparedSourceImageFace { - /** - * Bounding box of the face. - */ - BoundingBox?: BoundingBox; - /** - * Confidence level that the selected bounding box contains a face. - */ - Confidence?: Percent; - } - export interface CreateCollectionRequest { - /** - * ID for the collection that you are creating. - */ - CollectionId: CollectionId; - } - export interface CreateCollectionResponse { - /** - * HTTP status code indicating the result of the operation. - */ - StatusCode?: UInteger; - /** - * Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources. - */ - CollectionArn?: String; - } - export type Degree = number; - export interface DeleteCollectionRequest { - /** - * ID of the collection to delete. - */ - CollectionId: CollectionId; - } - export interface DeleteCollectionResponse { - /** - * HTTP status code that indicates the result of the operation. - */ - StatusCode?: UInteger; - } - export interface DeleteFacesRequest { - /** - * Collection from which to remove the specific faces. - */ - CollectionId: CollectionId; - /** - * An array of face IDs to delete. - */ - FaceIds: FaceIdList; - } - export interface DeleteFacesResponse { - /** - * An array of strings (face IDs) of the faces that were deleted. - */ - DeletedFaces?: FaceIdList; - } - export interface DetectFacesRequest { - /** - * The image in which you want to detect faces. You can specify a blob or an S3 object. - */ - Image: Image; - /** - * An array of facial attributes you want to be returned. This can be the default list of attributes or all attributes. If you don't specify a value for Attributes or if you specify ["DEFAULT"], the API returns the following subset of facial attributes: BoundingBox, Confidence, Pose, Quality and Landmarks. If you provide ["ALL"], all facial attributes are returned but the operation will take longer to complete. If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which attributes to return (in this case, all attributes). - */ - Attributes?: Attributes; - } - export interface DetectFacesResponse { - /** - * Details of each face found in the image. - */ - FaceDetails?: FaceDetailList; - /** - * The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct image orientation. The bounding box coordinates returned in FaceDetails represent face locations before the image orientation is corrected. If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value of OrientationCorrection is null and the FaceDetails bounding box coordinates represent face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata. - */ - OrientationCorrection?: OrientationCorrection; - } - export interface DetectLabelsRequest { - /** - * The input image. You can provide a blob of image bytes or an S3 object. - */ - Image: Image; - /** - * Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels. - */ - MaxLabels?: UInteger; - /** - * Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value. If MinConfidence is not specified, the operation returns labels with a confidence values greater than or equal to 50 percent. - */ - MinConfidence?: Percent; - } - export interface DetectLabelsResponse { - /** - * An array of labels for the real-world objects detected. - */ - Labels?: Labels; - /** - * The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels. If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null. - */ - OrientationCorrection?: OrientationCorrection; - } - export interface DetectModerationLabelsRequest { - /** - * The input image as bytes or an S3 object. - */ - Image: Image; - /** - * Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value. If you don't specify MinConfidence, the operation returns labels with confidence values greater than or equal to 50 percent. - */ - MinConfidence?: Percent; - } - export interface DetectModerationLabelsResponse { - /** - * An array of labels for explicit or suggestive adult content found in the image. The list includes the top-level label and each child label detected in the image. This is useful for filtering specific categories of content. - */ - ModerationLabels?: ModerationLabels; - } - export interface Emotion { - /** - * Type of emotion detected. - */ - Type?: EmotionName; - /** - * Level of confidence in the determination. - */ - Confidence?: Percent; - } - export type EmotionName = "HAPPY"|"SAD"|"ANGRY"|"CONFUSED"|"DISGUSTED"|"SURPRISED"|"CALM"|"UNKNOWN"|string; - export type Emotions = Emotion[]; - export type ExternalImageId = string; - export interface EyeOpen { - /** - * Boolean value that indicates whether the eyes on the face are open. - */ - Value?: Boolean; - /** - * Level of confidence in the determination. - */ - Confidence?: Percent; - } - export interface Eyeglasses { - /** - * Boolean value that indicates whether the face is wearing eye glasses or not. - */ - Value?: Boolean; - /** - * Level of confidence in the determination. - */ - Confidence?: Percent; - } - export interface Face { - /** - * Unique identifier that Amazon Rekognition assigns to the face. - */ - FaceId?: FaceId; - /** - * Bounding box of the face. - */ - BoundingBox?: BoundingBox; - /** - * Unique identifier that Amazon Rekognition assigns to the input image. - */ - ImageId?: ImageId; - /** - * Identifier that you assign to all the faces in the input image. - */ - ExternalImageId?: ExternalImageId; - /** - * Confidence level that the bounding box contains a face (and not a different object such as a tree). - */ - Confidence?: Percent; - } - export interface FaceDetail { - /** - * Bounding box of the face. - */ - BoundingBox?: BoundingBox; - /** - * The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age. - */ - AgeRange?: AgeRange; - /** - * Indicates whether or not the face is smiling, and the confidence level in the determination. - */ - Smile?: Smile; - /** - * Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination. - */ - Eyeglasses?: Eyeglasses; - /** - * Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination. - */ - Sunglasses?: Sunglasses; - /** - * Gender of the face and the confidence level in the determination. - */ - Gender?: Gender; - /** - * Indicates whether or not the face has a beard, and the confidence level in the determination. - */ - Beard?: Beard; - /** - * Indicates whether or not the face has a mustache, and the confidence level in the determination. - */ - Mustache?: Mustache; - /** - * Indicates whether or not the eyes on the face are open, and the confidence level in the determination. - */ - EyesOpen?: EyeOpen; - /** - * Indicates whether or not the mouth on the face is open, and the confidence level in the determination. - */ - MouthOpen?: MouthOpen; - /** - * The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY. - */ - Emotions?: Emotions; - /** - * Indicates the location of landmarks on the face. - */ - Landmarks?: Landmarks; - /** - * Indicates the pose of the face as determined by its pitch, roll, and yaw. - */ - Pose?: Pose; - /** - * Identifies image brightness and sharpness. - */ - Quality?: ImageQuality; - /** - * Confidence level that the bounding box contains a face (and not a different object such as a tree). - */ - Confidence?: Percent; - } - export type FaceDetailList = FaceDetail[]; - export type FaceId = string; - export type FaceIdList = FaceId[]; - export type FaceList = Face[]; - export interface FaceMatch { - /** - * Confidence in the match of this face with the input face. - */ - Similarity?: Percent; - /** - * Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned. - */ - Face?: Face; - } - export type FaceMatchList = FaceMatch[]; - export interface FaceRecord { - /** - * Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned. - */ - Face?: Face; - /** - * Structure containing attributes of the face that the algorithm detected. - */ - FaceDetail?: FaceDetail; - } - export type FaceRecordList = FaceRecord[]; - export type Float = number; - export interface Gender { - /** - * Gender of the face. - */ - Value?: GenderType; - /** - * Level of confidence in the determination. - */ - Confidence?: Percent; - } - export type GenderType = "MALE"|"FEMALE"|string; - export interface GetCelebrityInfoRequest { - /** - * The ID for the celebrity. You get the celebrity ID from a call to the operation, which recognizes celebrities in an image. - */ - Id: RekognitionUniqueId; - } - export interface GetCelebrityInfoResponse { - /** - * An array of URLs pointing to additional celebrity information. - */ - Urls?: Urls; - /** - * The name of the celebrity. - */ - Name?: String; - } - export interface Image { - /** - * Blob of image bytes up to 5 MBs. - */ - Bytes?: ImageBlob; - /** - * Identifies an S3 object as the image source. - */ - S3Object?: S3Object; - } - export type ImageBlob = Buffer|Uint8Array|Blob|string; - export type ImageId = string; - export interface ImageQuality { - /** - * Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image. - */ - Brightness?: Float; - /** - * Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image. - */ - Sharpness?: Float; - } - export interface IndexFacesRequest { - /** - * The ID of an existing collection to which you want to add the faces that are detected in the input images. - */ - CollectionId: CollectionId; - /** - * The input image as bytes or an S3 object. - */ - Image: Image; - /** - * ID you want to assign to all the faces detected in the image. - */ - ExternalImageId?: ExternalImageId; - /** - * An array of facial attributes that you want to be returned. This can be the default list of attributes or all attributes. If you don't specify a value for Attributes or if you specify ["DEFAULT"], the API returns the following subset of facial attributes: BoundingBox, Confidence, Pose, Quality and Landmarks. If you provide ["ALL"], all facial attributes are returned but the operation will take longer to complete. If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which attributes to return (in this case, all attributes). - */ - DetectionAttributes?: Attributes; - } - export interface IndexFacesResponse { - /** - * An array of faces detected and added to the collection. For more information, see howitworks-index-faces. - */ - FaceRecords?: FaceRecordList; - /** - * The orientation of the input image (counterclockwise direction). If your application displays the image, you can use this value to correct image orientation. The bounding box coordinates returned in FaceRecords represent face locations before the image orientation is corrected. If the input image is in jpeg format, it might contain exchangeable image (Exif) metadata. If so, and the Exif metadata populates the orientation field, the value of OrientationCorrection is null and the bounding box coordinates in FaceRecords represent face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata. - */ - OrientationCorrection?: OrientationCorrection; - } - export interface Label { - /** - * The name (label) of the object. - */ - Name?: String; - /** - * Level of confidence. - */ - Confidence?: Percent; - } - export type Labels = Label[]; - export interface Landmark { - /** - * Type of the landmark. - */ - Type?: LandmarkType; - /** - * x-coordinate from the top left of the landmark expressed as the ration of the width of the image. For example, if the images is 700x200 and the x-coordinate of the landmark is at 350 pixels, this value is 0.5. - */ - X?: Float; - /** - * y-coordinate from the top left of the landmark expressed as the ration of the height of the image. For example, if the images is 700x200 and the y-coordinate of the landmark is at 100 pixels, this value is 0.5. - */ - Y?: Float; - } - export type LandmarkType = "EYE_LEFT"|"EYE_RIGHT"|"NOSE"|"MOUTH_LEFT"|"MOUTH_RIGHT"|"LEFT_EYEBROW_LEFT"|"LEFT_EYEBROW_RIGHT"|"LEFT_EYEBROW_UP"|"RIGHT_EYEBROW_LEFT"|"RIGHT_EYEBROW_RIGHT"|"RIGHT_EYEBROW_UP"|"LEFT_EYE_LEFT"|"LEFT_EYE_RIGHT"|"LEFT_EYE_UP"|"LEFT_EYE_DOWN"|"RIGHT_EYE_LEFT"|"RIGHT_EYE_RIGHT"|"RIGHT_EYE_UP"|"RIGHT_EYE_DOWN"|"NOSE_LEFT"|"NOSE_RIGHT"|"MOUTH_UP"|"MOUTH_DOWN"|"LEFT_PUPIL"|"RIGHT_PUPIL"|string; - export type Landmarks = Landmark[]; - export interface ListCollectionsRequest { - /** - * Pagination token from the previous response. - */ - NextToken?: PaginationToken; - /** - * Maximum number of collection IDs to return. - */ - MaxResults?: PageSize; - } - export interface ListCollectionsResponse { - /** - * An array of collection IDs. - */ - CollectionIds?: CollectionIdList; - /** - * If the result is truncated, the response provides a NextToken that you can use in the subsequent request to fetch the next set of collection IDs. - */ - NextToken?: PaginationToken; - } - export interface ListFacesRequest { - /** - * ID of the collection from which to list the faces. - */ - CollectionId: CollectionId; - /** - * If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces. - */ - NextToken?: PaginationToken; - /** - * Maximum number of faces to return. - */ - MaxResults?: PageSize; - } - export interface ListFacesResponse { - /** - * An array of Face objects. - */ - Faces?: FaceList; - /** - * If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces. - */ - NextToken?: String; - } - export type MaxFaces = number; - export interface ModerationLabel { - /** - * Specifies the confidence that Amazon Rekognition has that the label has been correctly identified. If you don't specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent. - */ - Confidence?: Percent; - /** - * The label name for the type of content detected in the image. - */ - Name?: String; - /** - * The name for the parent label. Labels at the top-level of the hierarchy have the parent label "". - */ - ParentName?: String; - } - export type ModerationLabels = ModerationLabel[]; - export interface MouthOpen { - /** - * Boolean value that indicates whether the mouth on the face is open or not. - */ - Value?: Boolean; - /** - * Level of confidence in the determination. - */ - Confidence?: Percent; - } - export interface Mustache { - /** - * Boolean value that indicates whether the face has mustache or not. - */ - Value?: Boolean; - /** - * Level of confidence in the determination. - */ - Confidence?: Percent; - } - export type OrientationCorrection = "ROTATE_0"|"ROTATE_90"|"ROTATE_180"|"ROTATE_270"|string; - export type PageSize = number; - export type PaginationToken = string; - export type Percent = number; - export interface Pose { - /** - * Value representing the face rotation on the roll axis. - */ - Roll?: Degree; - /** - * Value representing the face rotation on the yaw axis. - */ - Yaw?: Degree; - /** - * Value representing the face rotation on the pitch axis. - */ - Pitch?: Degree; - } - export interface RecognizeCelebritiesRequest { - /** - * The input image to use for celebrity recognition. - */ - Image: Image; - } - export interface RecognizeCelebritiesResponse { - /** - * Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 15 celebrities in an image. - */ - CelebrityFaces?: CelebrityList; - /** - * Details about each unrecognized face in the image. - */ - UnrecognizedFaces?: ComparedFaceList; - /** - * The orientation of the input image (counterclockwise direction). If your application displays the image, you can use this value to correct the orientation. The bounding box coordinates returned in CelebrityFaces and UnrecognizedFaces represent face locations before the image orientation is corrected. If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value of OrientationCorrection is null and the CelebrityFaces and UnrecognizedFaces bounding box coordinates represent face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata. - */ - OrientationCorrection?: OrientationCorrection; - } - export type RekognitionUniqueId = string; - export type S3Bucket = string; - export interface S3Object { - /** - * Name of the S3 bucket. - */ - Bucket?: S3Bucket; - /** - * S3 object key name. - */ - Name?: S3ObjectName; - /** - * If the bucket is versioning enabled, you can specify the object version. - */ - Version?: S3ObjectVersion; - } - export type S3ObjectName = string; - export type S3ObjectVersion = string; - export interface SearchFacesByImageRequest { - /** - * ID of the collection to search. - */ - CollectionId: CollectionId; - /** - * The input image as bytes or an S3 object. - */ - Image: Image; - /** - * Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match. - */ - MaxFaces?: MaxFaces; - /** - * (Optional) Specifies the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%. - */ - FaceMatchThreshold?: Percent; - } - export interface SearchFacesByImageResponse { - /** - * The bounding box around the face in the input image that Amazon Rekognition used for the search. - */ - SearchedFaceBoundingBox?: BoundingBox; - /** - * The level of confidence that the searchedFaceBoundingBox, contains a face. - */ - SearchedFaceConfidence?: Percent; - /** - * An array of faces that match the input face, along with the confidence in the match. - */ - FaceMatches?: FaceMatchList; - } - export interface SearchFacesRequest { - /** - * ID of the collection the face belongs to. - */ - CollectionId: CollectionId; - /** - * ID of a face to find matches for in the collection. - */ - FaceId: FaceId; - /** - * Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match. - */ - MaxFaces?: MaxFaces; - /** - * Optional value specifying the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%. - */ - FaceMatchThreshold?: Percent; - } - export interface SearchFacesResponse { - /** - * ID of the face that was searched for matches in a collection. - */ - SearchedFaceId?: FaceId; - /** - * An array of faces that matched the input face, along with the confidence in the match. - */ - FaceMatches?: FaceMatchList; - } - export interface Smile { - /** - * Boolean value that indicates whether the face is smiling or not. - */ - Value?: Boolean; - /** - * Level of confidence in the determination. - */ - Confidence?: Percent; - } - export type String = string; - export interface Sunglasses { - /** - * Boolean value that indicates whether the face is wearing sunglasses or not. - */ - Value?: Boolean; - /** - * Level of confidence in the determination. - */ - Confidence?: Percent; - } - export type UInteger = number; - export type Url = string; - export type Urls = Url[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-06-27"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Rekognition client. - */ - export import Types = Rekognition; -} -export = Rekognition; diff --git a/src/node_modules/aws-sdk/clients/rekognition.js b/src/node_modules/aws-sdk/clients/rekognition.js deleted file mode 100644 index 99b80f9..0000000 --- a/src/node_modules/aws-sdk/clients/rekognition.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['rekognition'] = {}; -AWS.Rekognition = Service.defineService('rekognition', ['2016-06-27']); -Object.defineProperty(apiLoader.services['rekognition'], '2016-06-27', { - get: function get() { - var model = require('../apis/rekognition-2016-06-27.min.json'); - model.paginators = require('../apis/rekognition-2016-06-27.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Rekognition; diff --git a/src/node_modules/aws-sdk/clients/resourcegroupstaggingapi.d.ts b/src/node_modules/aws-sdk/clients/resourcegroupstaggingapi.d.ts deleted file mode 100644 index 36477ab..0000000 --- a/src/node_modules/aws-sdk/clients/resourcegroupstaggingapi.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ResourceGroupsTaggingAPI extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ResourceGroupsTaggingAPI.Types.ClientConfiguration) - config: Config & ResourceGroupsTaggingAPI.Types.ClientConfiguration; - /** - * Returns all the tagged resources that are associated with the specified tags (keys and values) located in the specified region for the AWS account. The tags and the resource types that you specify in the request are known as filters. The response includes all tags that are associated with the requested resources. If no filter is provided, this action returns a paginated resource list with the associated tags. - */ - getResources(params: ResourceGroupsTaggingAPI.Types.GetResourcesInput, callback?: (err: AWSError, data: ResourceGroupsTaggingAPI.Types.GetResourcesOutput) => void): Request; - /** - * Returns all the tagged resources that are associated with the specified tags (keys and values) located in the specified region for the AWS account. The tags and the resource types that you specify in the request are known as filters. The response includes all tags that are associated with the requested resources. If no filter is provided, this action returns a paginated resource list with the associated tags. - */ - getResources(callback?: (err: AWSError, data: ResourceGroupsTaggingAPI.Types.GetResourcesOutput) => void): Request; - /** - * Returns all tag keys in the specified region for the AWS account. - */ - getTagKeys(params: ResourceGroupsTaggingAPI.Types.GetTagKeysInput, callback?: (err: AWSError, data: ResourceGroupsTaggingAPI.Types.GetTagKeysOutput) => void): Request; - /** - * Returns all tag keys in the specified region for the AWS account. - */ - getTagKeys(callback?: (err: AWSError, data: ResourceGroupsTaggingAPI.Types.GetTagKeysOutput) => void): Request; - /** - * Returns all tag values for the specified key in the specified region for the AWS account. - */ - getTagValues(params: ResourceGroupsTaggingAPI.Types.GetTagValuesInput, callback?: (err: AWSError, data: ResourceGroupsTaggingAPI.Types.GetTagValuesOutput) => void): Request; - /** - * Returns all tag values for the specified key in the specified region for the AWS account. - */ - getTagValues(callback?: (err: AWSError, data: ResourceGroupsTaggingAPI.Types.GetTagValuesOutput) => void): Request; - /** - * Applies one or more tags to the specified resources. Note the following: Not all resources can have tags. For a list of resources that support tagging, see Supported Resources in the AWS Resource Groups and Tag Editor User Guide. Each resource can have up to 50 tags. For other limits, see Tag Restrictions in the Amazon EC2 User Guide for Linux Instances. You can only tag resources that are located in the specified region for the AWS account. To add tags to a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for adding tags. For more information, see Obtaining Permissions for Tagging in the AWS Resource Groups and Tag Editor User Guide. - */ - tagResources(params: ResourceGroupsTaggingAPI.Types.TagResourcesInput, callback?: (err: AWSError, data: ResourceGroupsTaggingAPI.Types.TagResourcesOutput) => void): Request; - /** - * Applies one or more tags to the specified resources. Note the following: Not all resources can have tags. For a list of resources that support tagging, see Supported Resources in the AWS Resource Groups and Tag Editor User Guide. Each resource can have up to 50 tags. For other limits, see Tag Restrictions in the Amazon EC2 User Guide for Linux Instances. You can only tag resources that are located in the specified region for the AWS account. To add tags to a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for adding tags. For more information, see Obtaining Permissions for Tagging in the AWS Resource Groups and Tag Editor User Guide. - */ - tagResources(callback?: (err: AWSError, data: ResourceGroupsTaggingAPI.Types.TagResourcesOutput) => void): Request; - /** - * Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following: To remove tags from a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for removing tags. For more information, see Obtaining Permissions for Tagging in the AWS Resource Groups and Tag Editor User Guide. You can only tag resources that are located in the specified region for the AWS account. - */ - untagResources(params: ResourceGroupsTaggingAPI.Types.UntagResourcesInput, callback?: (err: AWSError, data: ResourceGroupsTaggingAPI.Types.UntagResourcesOutput) => void): Request; - /** - * Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following: To remove tags from a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for removing tags. For more information, see Obtaining Permissions for Tagging in the AWS Resource Groups and Tag Editor User Guide. You can only tag resources that are located in the specified region for the AWS account. - */ - untagResources(callback?: (err: AWSError, data: ResourceGroupsTaggingAPI.Types.UntagResourcesOutput) => void): Request; -} -declare namespace ResourceGroupsTaggingAPI { - export type AmazonResourceType = string; - export type ErrorCode = "InternalServiceException"|"InvalidParameterException"|string; - export type ErrorMessage = string; - export type ExceptionMessage = string; - export type FailedResourcesMap = {[key: string]: FailureInfo}; - export interface FailureInfo { - /** - * The HTTP status code of the common error. - */ - StatusCode?: StatusCode; - /** - * The code of the common error. Valid values include InternalServiceException, InvalidParameterException, and any valid error code returned by the AWS service that hosts the resource that you want to tag. - */ - ErrorCode?: ErrorCode; - /** - * The message of the common error. - */ - ErrorMessage?: ErrorMessage; - } - export interface GetResourcesInput { - /** - * A string that indicates that additional data is available. Leave this value empty for your initial request. If the response includes a PaginationToken, use that string for this value to request an additional page of data. - */ - PaginationToken?: PaginationToken; - /** - * A list of tags (keys and values). A request can include up to 50 keys, and each key can include up to 20 values. If you specify multiple filters connected by an AND operator in a single request, the response returns only those resources that are associated with every specified filter. If you specify multiple filters connected by an OR operator in a single request, the response returns all resources that are associated with at least one or possibly more of the specified filters. - */ - TagFilters?: TagFilterList; - /** - * A limit that restricts the number of resources returned by GetResources in paginated output. You can set ResourcesPerPage to a minimum of 1 item and the maximum of 50 items. - */ - ResourcesPerPage?: ResourcesPerPage; - /** - * A limit that restricts the number of tags (key and value pairs) returned by GetResources in paginated output. A resource with no tags is counted as having one tag (one key and value pair). GetResources does not split a resource and its associated tags across pages. If the specified TagsPerPage would cause such a break, a PaginationToken is returned in place of the affected resource and its tags. Use that token in another request to get the remaining data. For example, if you specify a TagsPerPage of 100 and the account has 22 resources with 10 tags each (meaning that each resource has 10 key and value pairs), the output will consist of 3 pages, with the first page displaying the first 10 resources, each with its 10 tags, the second page displaying the next 10 resources each with its 10 tags, and the third page displaying the remaining 2 resources, each with its 10 tags. You can set TagsPerPage to a minimum of 100 items and the maximum of 500 items. - */ - TagsPerPage?: TagsPerPage; - /** - * The constraints on the resources that you want returned. The format of each resource type is service[:resourceType]. For example, specifying a resource type of ec2 returns all tagged Amazon EC2 resources (which includes tagged EC2 instances). Specifying a resource type of ec2:instance returns only EC2 instances. The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following: For a list of service name strings, see AWS Service Namespaces. For resource type strings, see Example ARNs. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces. - */ - ResourceTypeFilters?: ResourceTypeFilterList; - } - export interface GetResourcesOutput { - /** - * A string that indicates that the response contains more data than can be returned in a single response. To receive additional data, specify this string for the PaginationToken value in a subsequent request. - */ - PaginationToken?: PaginationToken; - /** - * A list of resource ARNs and the tags (keys and values) associated with each. - */ - ResourceTagMappingList?: ResourceTagMappingList; - } - export interface GetTagKeysInput { - /** - * A string that indicates that additional data is available. Leave this value empty for your initial request. If the response includes a PaginationToken, use that string for this value to request an additional page of data. - */ - PaginationToken?: PaginationToken; - } - export interface GetTagKeysOutput { - /** - * A string that indicates that the response contains more data than can be returned in a single response. To receive additional data, specify this string for the PaginationToken value in a subsequent request. - */ - PaginationToken?: PaginationToken; - /** - * A list of all tag keys in the AWS account. - */ - TagKeys?: TagKeyList; - } - export interface GetTagValuesInput { - /** - * A string that indicates that additional data is available. Leave this value empty for your initial request. If the response includes a PaginationToken, use that string for this value to request an additional page of data. - */ - PaginationToken?: PaginationToken; - /** - * The key for which you want to list all existing values in the specified region for the AWS account. - */ - Key: TagKey; - } - export interface GetTagValuesOutput { - /** - * A string that indicates that the response contains more data than can be returned in a single response. To receive additional data, specify this string for the PaginationToken value in a subsequent request. - */ - PaginationToken?: PaginationToken; - /** - * A list of all tag values for the specified key in the AWS account. - */ - TagValues?: TagValuesOutputList; - } - export type PaginationToken = string; - export type ResourceARN = string; - export type ResourceARNList = ResourceARN[]; - export interface ResourceTagMapping { - /** - * An array of resource ARN(s). - */ - ResourceARN?: ResourceARN; - /** - * The tags that have been applied to one or more AWS resources. - */ - Tags?: TagList; - } - export type ResourceTagMappingList = ResourceTagMapping[]; - export type ResourceTypeFilterList = AmazonResourceType[]; - export type ResourcesPerPage = number; - export type StatusCode = number; - export interface Tag { - /** - * One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values. - */ - Key: TagKey; - /** - * The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). - */ - Value: TagValue; - } - export interface TagFilter { - /** - * One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values. - */ - Key?: TagKey; - /** - * The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). - */ - Values?: TagValueList; - } - export type TagFilterList = TagFilter[]; - export type TagKey = string; - export type TagKeyList = TagKey[]; - export type TagKeyListForUntag = TagKey[]; - export type TagList = Tag[]; - export type TagMap = {[key: string]: TagValue}; - export interface TagResourcesInput { - /** - * A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. You can specify a minimum of 1 and a maximum of 20 ARNs (resources) to tag. An ARN can be set to a maximum of 1600 characters. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - ResourceARNList: ResourceARNList; - /** - * The tags that you want to add to the specified resources. A tag consists of a key and a value that you define. - */ - Tags: TagMap; - } - export interface TagResourcesOutput { - /** - * Details of resources that could not be tagged. An error code, status code, and error message are returned for each failed item. - */ - FailedResourcesMap?: FailedResourcesMap; - } - export type TagValue = string; - export type TagValueList = TagValue[]; - export type TagValuesOutputList = TagValue[]; - export type TagsPerPage = number; - export interface UntagResourcesInput { - /** - * A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. You can specify a minimum of 1 and a maximum of 20 ARNs (resources) to untag. An ARN can be set to a maximum of 1600 characters. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. - */ - ResourceARNList: ResourceARNList; - /** - * A list of the tag keys that you want to remove from the specified resources. - */ - TagKeys: TagKeyListForUntag; - } - export interface UntagResourcesOutput { - /** - * Details of resources that could not be untagged. An error code, status code, and error message are returned for each failed item. - */ - FailedResourcesMap?: FailedResourcesMap; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2017-01-26"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ResourceGroupsTaggingAPI client. - */ - export import Types = ResourceGroupsTaggingAPI; -} -export = ResourceGroupsTaggingAPI; diff --git a/src/node_modules/aws-sdk/clients/resourcegroupstaggingapi.js b/src/node_modules/aws-sdk/clients/resourcegroupstaggingapi.js deleted file mode 100644 index 838454b..0000000 --- a/src/node_modules/aws-sdk/clients/resourcegroupstaggingapi.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['resourcegroupstaggingapi'] = {}; -AWS.ResourceGroupsTaggingAPI = Service.defineService('resourcegroupstaggingapi', ['2017-01-26']); -Object.defineProperty(apiLoader.services['resourcegroupstaggingapi'], '2017-01-26', { - get: function get() { - var model = require('../apis/resourcegroupstaggingapi-2017-01-26.min.json'); - model.paginators = require('../apis/resourcegroupstaggingapi-2017-01-26.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ResourceGroupsTaggingAPI; diff --git a/src/node_modules/aws-sdk/clients/route53.d.ts b/src/node_modules/aws-sdk/clients/route53.d.ts deleted file mode 100644 index 8f2cf94..0000000 --- a/src/node_modules/aws-sdk/clients/route53.d.ts +++ /dev/null @@ -1,2161 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Route53 extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Route53.Types.ClientConfiguration) - config: Config & Route53.Types.ClientConfiguration; - /** - * Associates an Amazon VPC with a private hosted zone. To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone. If you want to associate a VPC that was created by using one AWS account with a private hosted zone that was created by using a different account, the AWS account that created the private hosted zone must first submit a CreateVPCAssociationAuthorization request. Then the account that created the VPC must submit an AssociateVPCWithHostedZone request. - */ - associateVPCWithHostedZone(params: Route53.Types.AssociateVPCWithHostedZoneRequest, callback?: (err: AWSError, data: Route53.Types.AssociateVPCWithHostedZoneResponse) => void): Request; - /** - * Associates an Amazon VPC with a private hosted zone. To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone. If you want to associate a VPC that was created by using one AWS account with a private hosted zone that was created by using a different account, the AWS account that created the private hosted zone must first submit a CreateVPCAssociationAuthorization request. Then the account that created the VPC must submit an AssociateVPCWithHostedZone request. - */ - associateVPCWithHostedZone(callback?: (err: AWSError, data: Route53.Types.AssociateVPCWithHostedZoneResponse) => void): Request; - /** - * Creates, changes, or deletes a resource record set, which contains authoritative DNS information for a specified domain name or subdomain name. For example, you can use ChangeResourceRecordSets to create a resource record set that routes traffic for test.example.com to a web server that has an IP address of 192.0.2.44. Change Batches and Transactional Changes The request body must include a document with a ChangeResourceRecordSetsRequest element. The request body contains a list of change items, known as a change batch. Change batches are considered transactional changes. When using the Amazon Route 53 API to change resource record sets, Amazon Route 53 either makes all or none of the changes in a change batch request. This ensures that Amazon Route 53 never partially implements the intended changes to the resource record sets in a hosted zone. For example, a change batch request that deletes the CNAME record for www.example.com and creates an alias resource record set for www.example.com. Amazon Route 53 deletes the first resource record set and creates the second resource record set in a single operation. If either the DELETE or the CREATE action fails, then both changes (plus any other changes in the batch) fail, and the original CNAME record continues to exist. Due to the nature of transactional changes, you can't delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Amazon Route 53 returns an InvalidChangeBatch error. Traffic Flow To create resource record sets for complex routing configurations, use either the traffic flow visual editor in the Amazon Route 53 console or the API actions for traffic policies and traffic policy instances. Save the configuration as a traffic policy, then associate the traffic policy with one or more domain names (such as example.com) or subdomain names (such as www.example.com), in the same hosted zone or in multiple hosted zones. You can roll back the updates if the new configuration isn't performing as expected. For more information, see Using Traffic Flow to Route DNS Traffic in the Amazon Route 53 Developer Guide. Create, Delete, and Upsert Use ChangeResourceRecordsSetsRequest to perform the following actions: CREATE: Creates a resource record set that has the specified values. DELETE: Deletes an existing resource record set that has the specified values. UPSERT: If a resource record set does not already exist, AWS creates it. If a resource set does exist, Amazon Route 53 updates it with the values in the request. Syntaxes for Creating, Updating, and Deleting Resource Record Sets The syntax for a request depends on the type of resource record set that you want to create, delete, or update, such as weighted, alias, or failover. The XML elements in your request must appear in the order listed in the syntax. For an example for each type of resource record set, see "Examples." Don't refer to the syntax in the "Parameter Syntax" section, which includes all of the elements for every kind of resource record set that you can create, delete, or update by using ChangeResourceRecordSets. Change Propagation to Amazon Route 53 DNS Servers When you submit a ChangeResourceRecordSets request, Amazon Route 53 propagates your changes to all of the Amazon Route 53 authoritative DNS servers. While your changes are propagating, GetChange returns a status of PENDING. When propagation is complete, GetChange returns a status of INSYNC. Changes generally propagate to all Amazon Route 53 name servers within 60 seconds. For more information, see GetChange. Limits on ChangeResourceRecordSets Requests For information about the limits on a ChangeResourceRecordSets request, see Limits in the Amazon Route 53 Developer Guide. - */ - changeResourceRecordSets(params: Route53.Types.ChangeResourceRecordSetsRequest, callback?: (err: AWSError, data: Route53.Types.ChangeResourceRecordSetsResponse) => void): Request; - /** - * Creates, changes, or deletes a resource record set, which contains authoritative DNS information for a specified domain name or subdomain name. For example, you can use ChangeResourceRecordSets to create a resource record set that routes traffic for test.example.com to a web server that has an IP address of 192.0.2.44. Change Batches and Transactional Changes The request body must include a document with a ChangeResourceRecordSetsRequest element. The request body contains a list of change items, known as a change batch. Change batches are considered transactional changes. When using the Amazon Route 53 API to change resource record sets, Amazon Route 53 either makes all or none of the changes in a change batch request. This ensures that Amazon Route 53 never partially implements the intended changes to the resource record sets in a hosted zone. For example, a change batch request that deletes the CNAME record for www.example.com and creates an alias resource record set for www.example.com. Amazon Route 53 deletes the first resource record set and creates the second resource record set in a single operation. If either the DELETE or the CREATE action fails, then both changes (plus any other changes in the batch) fail, and the original CNAME record continues to exist. Due to the nature of transactional changes, you can't delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Amazon Route 53 returns an InvalidChangeBatch error. Traffic Flow To create resource record sets for complex routing configurations, use either the traffic flow visual editor in the Amazon Route 53 console or the API actions for traffic policies and traffic policy instances. Save the configuration as a traffic policy, then associate the traffic policy with one or more domain names (such as example.com) or subdomain names (such as www.example.com), in the same hosted zone or in multiple hosted zones. You can roll back the updates if the new configuration isn't performing as expected. For more information, see Using Traffic Flow to Route DNS Traffic in the Amazon Route 53 Developer Guide. Create, Delete, and Upsert Use ChangeResourceRecordsSetsRequest to perform the following actions: CREATE: Creates a resource record set that has the specified values. DELETE: Deletes an existing resource record set that has the specified values. UPSERT: If a resource record set does not already exist, AWS creates it. If a resource set does exist, Amazon Route 53 updates it with the values in the request. Syntaxes for Creating, Updating, and Deleting Resource Record Sets The syntax for a request depends on the type of resource record set that you want to create, delete, or update, such as weighted, alias, or failover. The XML elements in your request must appear in the order listed in the syntax. For an example for each type of resource record set, see "Examples." Don't refer to the syntax in the "Parameter Syntax" section, which includes all of the elements for every kind of resource record set that you can create, delete, or update by using ChangeResourceRecordSets. Change Propagation to Amazon Route 53 DNS Servers When you submit a ChangeResourceRecordSets request, Amazon Route 53 propagates your changes to all of the Amazon Route 53 authoritative DNS servers. While your changes are propagating, GetChange returns a status of PENDING. When propagation is complete, GetChange returns a status of INSYNC. Changes generally propagate to all Amazon Route 53 name servers within 60 seconds. For more information, see GetChange. Limits on ChangeResourceRecordSets Requests For information about the limits on a ChangeResourceRecordSets request, see Limits in the Amazon Route 53 Developer Guide. - */ - changeResourceRecordSets(callback?: (err: AWSError, data: Route53.Types.ChangeResourceRecordSetsResponse) => void): Request; - /** - * Adds, edits, or deletes tags for a health check or a hosted zone. For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide. - */ - changeTagsForResource(params: Route53.Types.ChangeTagsForResourceRequest, callback?: (err: AWSError, data: Route53.Types.ChangeTagsForResourceResponse) => void): Request; - /** - * Adds, edits, or deletes tags for a health check or a hosted zone. For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide. - */ - changeTagsForResource(callback?: (err: AWSError, data: Route53.Types.ChangeTagsForResourceResponse) => void): Request; - /** - * Creates a new health check. For information about adding health checks to resource record sets, see ResourceRecordSet$HealthCheckId in ChangeResourceRecordSets. ELB Load Balancers If you're registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the EC2 instances. When you register an EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a similar function to an Amazon Route 53 health check. Private Hosted Zones You can associate health checks with failover resource record sets in a private hosted zone. Note the following: Amazon Route 53 health checkers are outside the VPC. To check the health of an endpoint within a VPC by IP address, you must assign a public IP address to the instance in the VPC. You can configure a health checker to check the health of an external resource that the instance relies on, such as a database server. You can create a CloudWatch metric, associate an alarm with the metric, and then create a health check that is based on the state of the alarm. For example, you might create a CloudWatch metric that checks the status of the Amazon EC2 StatusCheckFailed metric, add an alarm to the metric, and then create a health check that is based on the state of the alarm. For information about creating CloudWatch metrics and alarms by using the CloudWatch console, see the Amazon CloudWatch User Guide. - */ - createHealthCheck(params: Route53.Types.CreateHealthCheckRequest, callback?: (err: AWSError, data: Route53.Types.CreateHealthCheckResponse) => void): Request; - /** - * Creates a new health check. For information about adding health checks to resource record sets, see ResourceRecordSet$HealthCheckId in ChangeResourceRecordSets. ELB Load Balancers If you're registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the EC2 instances. When you register an EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a similar function to an Amazon Route 53 health check. Private Hosted Zones You can associate health checks with failover resource record sets in a private hosted zone. Note the following: Amazon Route 53 health checkers are outside the VPC. To check the health of an endpoint within a VPC by IP address, you must assign a public IP address to the instance in the VPC. You can configure a health checker to check the health of an external resource that the instance relies on, such as a database server. You can create a CloudWatch metric, associate an alarm with the metric, and then create a health check that is based on the state of the alarm. For example, you might create a CloudWatch metric that checks the status of the Amazon EC2 StatusCheckFailed metric, add an alarm to the metric, and then create a health check that is based on the state of the alarm. For information about creating CloudWatch metrics and alarms by using the CloudWatch console, see the Amazon CloudWatch User Guide. - */ - createHealthCheck(callback?: (err: AWSError, data: Route53.Types.CreateHealthCheckResponse) => void): Request; - /** - * Creates a new public hosted zone, which you use to specify how the Domain Name System (DNS) routes traffic on the Internet for a domain, such as example.com, and its subdomains. You can't convert a public hosted zones to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets. For more information about charges for hosted zones, see Amazon Route 53 Pricing. Note the following: You can't create a hosted zone for a top-level domain (TLD). Amazon Route 53 automatically creates a default SOA record and four NS records for the zone. For more information about SOA and NS records, see NS and SOA Records that Amazon Route 53 Creates for a Hosted Zone in the Amazon Route 53 Developer Guide. If you want to use the same name servers for multiple hosted zones, you can optionally associate a reusable delegation set with the hosted zone. See the DelegationSetId element. If your domain is registered with a registrar other than Amazon Route 53, you must update the name servers with your registrar to make Amazon Route 53 your DNS service. For more information, see Configuring Amazon Route 53 as your DNS Service in the Amazon Route 53 Developer Guide. When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING. This means that the NS and SOA records are not yet available on all Amazon Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC. - */ - createHostedZone(params: Route53.Types.CreateHostedZoneRequest, callback?: (err: AWSError, data: Route53.Types.CreateHostedZoneResponse) => void): Request; - /** - * Creates a new public hosted zone, which you use to specify how the Domain Name System (DNS) routes traffic on the Internet for a domain, such as example.com, and its subdomains. You can't convert a public hosted zones to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets. For more information about charges for hosted zones, see Amazon Route 53 Pricing. Note the following: You can't create a hosted zone for a top-level domain (TLD). Amazon Route 53 automatically creates a default SOA record and four NS records for the zone. For more information about SOA and NS records, see NS and SOA Records that Amazon Route 53 Creates for a Hosted Zone in the Amazon Route 53 Developer Guide. If you want to use the same name servers for multiple hosted zones, you can optionally associate a reusable delegation set with the hosted zone. See the DelegationSetId element. If your domain is registered with a registrar other than Amazon Route 53, you must update the name servers with your registrar to make Amazon Route 53 your DNS service. For more information, see Configuring Amazon Route 53 as your DNS Service in the Amazon Route 53 Developer Guide. When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING. This means that the NS and SOA records are not yet available on all Amazon Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC. - */ - createHostedZone(callback?: (err: AWSError, data: Route53.Types.CreateHostedZoneResponse) => void): Request; - /** - * Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones. If a hosted zoned ID is specified, CreateReusableDelegationSet marks the delegation set associated with that zone as reusable A reusable delegation set can't be associated with a private hosted zone. For information on how to use a reusable delegation set to configure white label name servers, see Configuring White Label Name Servers. - */ - createReusableDelegationSet(params: Route53.Types.CreateReusableDelegationSetRequest, callback?: (err: AWSError, data: Route53.Types.CreateReusableDelegationSetResponse) => void): Request; - /** - * Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones. If a hosted zoned ID is specified, CreateReusableDelegationSet marks the delegation set associated with that zone as reusable A reusable delegation set can't be associated with a private hosted zone. For information on how to use a reusable delegation set to configure white label name servers, see Configuring White Label Name Servers. - */ - createReusableDelegationSet(callback?: (err: AWSError, data: Route53.Types.CreateReusableDelegationSetResponse) => void): Request; - /** - * Creates a traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). - */ - createTrafficPolicy(params: Route53.Types.CreateTrafficPolicyRequest, callback?: (err: AWSError, data: Route53.Types.CreateTrafficPolicyResponse) => void): Request; - /** - * Creates a traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). - */ - createTrafficPolicy(callback?: (err: AWSError, data: Route53.Types.CreateTrafficPolicyResponse) => void): Request; - /** - * Creates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version. In addition, CreateTrafficPolicyInstance associates the resource record sets with a specified domain name (such as example.com) or subdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for the domain or subdomain name by using the resource record sets that CreateTrafficPolicyInstance created. - */ - createTrafficPolicyInstance(params: Route53.Types.CreateTrafficPolicyInstanceRequest, callback?: (err: AWSError, data: Route53.Types.CreateTrafficPolicyInstanceResponse) => void): Request; - /** - * Creates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version. In addition, CreateTrafficPolicyInstance associates the resource record sets with a specified domain name (such as example.com) or subdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for the domain or subdomain name by using the resource record sets that CreateTrafficPolicyInstance created. - */ - createTrafficPolicyInstance(callback?: (err: AWSError, data: Route53.Types.CreateTrafficPolicyInstanceResponse) => void): Request; - /** - * Creates a new version of an existing traffic policy. When you create a new version of a traffic policy, you specify the ID of the traffic policy that you want to update and a JSON-formatted document that describes the new version. You use traffic policies to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). You can create a maximum of 1000 versions of a traffic policy. If you reach the limit and need to create another version, you'll need to start a new traffic policy. - */ - createTrafficPolicyVersion(params: Route53.Types.CreateTrafficPolicyVersionRequest, callback?: (err: AWSError, data: Route53.Types.CreateTrafficPolicyVersionResponse) => void): Request; - /** - * Creates a new version of an existing traffic policy. When you create a new version of a traffic policy, you specify the ID of the traffic policy that you want to update and a JSON-formatted document that describes the new version. You use traffic policies to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). You can create a maximum of 1000 versions of a traffic policy. If you reach the limit and need to create another version, you'll need to start a new traffic policy. - */ - createTrafficPolicyVersion(callback?: (err: AWSError, data: Route53.Types.CreateTrafficPolicyVersionResponse) => void): Request; - /** - * Authorizes the AWS account that created a specified VPC to submit an AssociateVPCWithHostedZone request to associate the VPC with a specified hosted zone that was created by a different account. To submit a CreateVPCAssociationAuthorization request, you must use the account that created the hosted zone. After you authorize the association, use the account that created the VPC to submit an AssociateVPCWithHostedZone request. If you want to associate multiple VPCs that you created by using one account with a hosted zone that you created by using a different account, you must submit one authorization request for each VPC. - */ - createVPCAssociationAuthorization(params: Route53.Types.CreateVPCAssociationAuthorizationRequest, callback?: (err: AWSError, data: Route53.Types.CreateVPCAssociationAuthorizationResponse) => void): Request; - /** - * Authorizes the AWS account that created a specified VPC to submit an AssociateVPCWithHostedZone request to associate the VPC with a specified hosted zone that was created by a different account. To submit a CreateVPCAssociationAuthorization request, you must use the account that created the hosted zone. After you authorize the association, use the account that created the VPC to submit an AssociateVPCWithHostedZone request. If you want to associate multiple VPCs that you created by using one account with a hosted zone that you created by using a different account, you must submit one authorization request for each VPC. - */ - createVPCAssociationAuthorization(callback?: (err: AWSError, data: Route53.Types.CreateVPCAssociationAuthorizationResponse) => void): Request; - /** - * Deletes a health check. Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more resource record sets. If you delete a health check and you don't update the associated resource record sets, the future status of the health check can't be predicted and may change. This will affect the routing of DNS queries for your DNS failover configuration. For more information, see Replacing and Deleting Health Checks in the Amazon Route 53 Developer Guide. - */ - deleteHealthCheck(params: Route53.Types.DeleteHealthCheckRequest, callback?: (err: AWSError, data: Route53.Types.DeleteHealthCheckResponse) => void): Request; - /** - * Deletes a health check. Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more resource record sets. If you delete a health check and you don't update the associated resource record sets, the future status of the health check can't be predicted and may change. This will affect the routing of DNS queries for your DNS failover configuration. For more information, see Replacing and Deleting Health Checks in the Amazon Route 53 Developer Guide. - */ - deleteHealthCheck(callback?: (err: AWSError, data: Route53.Types.DeleteHealthCheckResponse) => void): Request; - /** - * Deletes a hosted zone. If the name servers for the hosted zone are associated with a domain and if you want to make the domain unavailable on the Internet, we recommend that you delete the name servers from the domain to prevent future DNS queries from possibly being misrouted. If the domain is registered with Amazon Route 53, see UpdateDomainNameservers. If the domain is registered with another registrar, use the method provided by the registrar to delete name servers for the domain. Some domain registries don't allow you to remove all of the name servers for a domain. If the registry for your domain requires one or more name servers, we recommend that you delete the hosted zone only if you transfer DNS service to another service provider, and you replace the name servers for the domain with name servers from the new provider. You can delete a hosted zone only if it contains only the default SOA record and NS resource record sets. If the hosted zone contains other resource record sets, you must delete them before you can delete the hosted zone. If you try to delete a hosted zone that contains other resource record sets, the request fails, and Amazon Route 53 returns a HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets. To verify that the hosted zone has been deleted, do one of the following: Use the GetHostedZone action to request information about the hosted zone. Use the ListHostedZones action to get a list of the hosted zones associated with the current AWS account. - */ - deleteHostedZone(params: Route53.Types.DeleteHostedZoneRequest, callback?: (err: AWSError, data: Route53.Types.DeleteHostedZoneResponse) => void): Request; - /** - * Deletes a hosted zone. If the name servers for the hosted zone are associated with a domain and if you want to make the domain unavailable on the Internet, we recommend that you delete the name servers from the domain to prevent future DNS queries from possibly being misrouted. If the domain is registered with Amazon Route 53, see UpdateDomainNameservers. If the domain is registered with another registrar, use the method provided by the registrar to delete name servers for the domain. Some domain registries don't allow you to remove all of the name servers for a domain. If the registry for your domain requires one or more name servers, we recommend that you delete the hosted zone only if you transfer DNS service to another service provider, and you replace the name servers for the domain with name servers from the new provider. You can delete a hosted zone only if it contains only the default SOA record and NS resource record sets. If the hosted zone contains other resource record sets, you must delete them before you can delete the hosted zone. If you try to delete a hosted zone that contains other resource record sets, the request fails, and Amazon Route 53 returns a HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets. To verify that the hosted zone has been deleted, do one of the following: Use the GetHostedZone action to request information about the hosted zone. Use the ListHostedZones action to get a list of the hosted zones associated with the current AWS account. - */ - deleteHostedZone(callback?: (err: AWSError, data: Route53.Types.DeleteHostedZoneResponse) => void): Request; - /** - * Deletes a reusable delegation set. You can delete a reusable delegation set only if it isn't associated with any hosted zones. To verify that the reusable delegation set is not associated with any hosted zones, submit a GetReusableDelegationSet request and specify the ID of the reusable delegation set that you want to delete. - */ - deleteReusableDelegationSet(params: Route53.Types.DeleteReusableDelegationSetRequest, callback?: (err: AWSError, data: Route53.Types.DeleteReusableDelegationSetResponse) => void): Request; - /** - * Deletes a reusable delegation set. You can delete a reusable delegation set only if it isn't associated with any hosted zones. To verify that the reusable delegation set is not associated with any hosted zones, submit a GetReusableDelegationSet request and specify the ID of the reusable delegation set that you want to delete. - */ - deleteReusableDelegationSet(callback?: (err: AWSError, data: Route53.Types.DeleteReusableDelegationSetResponse) => void): Request; - /** - * Deletes a traffic policy. - */ - deleteTrafficPolicy(params: Route53.Types.DeleteTrafficPolicyRequest, callback?: (err: AWSError, data: Route53.Types.DeleteTrafficPolicyResponse) => void): Request; - /** - * Deletes a traffic policy. - */ - deleteTrafficPolicy(callback?: (err: AWSError, data: Route53.Types.DeleteTrafficPolicyResponse) => void): Request; - /** - * Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance. In the Amazon Route 53 console, traffic policy instances are known as policy records. - */ - deleteTrafficPolicyInstance(params: Route53.Types.DeleteTrafficPolicyInstanceRequest, callback?: (err: AWSError, data: Route53.Types.DeleteTrafficPolicyInstanceResponse) => void): Request; - /** - * Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance. In the Amazon Route 53 console, traffic policy instances are known as policy records. - */ - deleteTrafficPolicyInstance(callback?: (err: AWSError, data: Route53.Types.DeleteTrafficPolicyInstanceResponse) => void): Request; - /** - * Removes authorization to submit an AssociateVPCWithHostedZone request to associate a specified VPC with a hosted zone that was created by a different account. You must use the account that created the hosted zone to submit a DeleteVPCAssociationAuthorization request. Sending this request only prevents the AWS account that created the VPC from associating the VPC with the Amazon Route 53 hosted zone in the future. If the VPC is already associated with the hosted zone, DeleteVPCAssociationAuthorization won't disassociate the VPC from the hosted zone. If you want to delete an existing association, use DisassociateVPCFromHostedZone. - */ - deleteVPCAssociationAuthorization(params: Route53.Types.DeleteVPCAssociationAuthorizationRequest, callback?: (err: AWSError, data: Route53.Types.DeleteVPCAssociationAuthorizationResponse) => void): Request; - /** - * Removes authorization to submit an AssociateVPCWithHostedZone request to associate a specified VPC with a hosted zone that was created by a different account. You must use the account that created the hosted zone to submit a DeleteVPCAssociationAuthorization request. Sending this request only prevents the AWS account that created the VPC from associating the VPC with the Amazon Route 53 hosted zone in the future. If the VPC is already associated with the hosted zone, DeleteVPCAssociationAuthorization won't disassociate the VPC from the hosted zone. If you want to delete an existing association, use DisassociateVPCFromHostedZone. - */ - deleteVPCAssociationAuthorization(callback?: (err: AWSError, data: Route53.Types.DeleteVPCAssociationAuthorizationResponse) => void): Request; - /** - * Disassociates a VPC from a Amazon Route 53 private hosted zone. You can't disassociate the last VPC from a private hosted zone. You can't disassociate a VPC from a private hosted zone when only one VPC is associated with the hosted zone. You also can't convert a private hosted zone into a public hosted zone. - */ - disassociateVPCFromHostedZone(params: Route53.Types.DisassociateVPCFromHostedZoneRequest, callback?: (err: AWSError, data: Route53.Types.DisassociateVPCFromHostedZoneResponse) => void): Request; - /** - * Disassociates a VPC from a Amazon Route 53 private hosted zone. You can't disassociate the last VPC from a private hosted zone. You can't disassociate a VPC from a private hosted zone when only one VPC is associated with the hosted zone. You also can't convert a private hosted zone into a public hosted zone. - */ - disassociateVPCFromHostedZone(callback?: (err: AWSError, data: Route53.Types.DisassociateVPCFromHostedZoneResponse) => void): Request; - /** - * Returns the current status of a change batch request. The status is one of the following values: PENDING indicates that the changes in this request have not propagated to all Amazon Route 53 DNS servers. This is the initial status of all change batch requests. INSYNC indicates that the changes have propagated to all Amazon Route 53 DNS servers. - */ - getChange(params: Route53.Types.GetChangeRequest, callback?: (err: AWSError, data: Route53.Types.GetChangeResponse) => void): Request; - /** - * Returns the current status of a change batch request. The status is one of the following values: PENDING indicates that the changes in this request have not propagated to all Amazon Route 53 DNS servers. This is the initial status of all change batch requests. INSYNC indicates that the changes have propagated to all Amazon Route 53 DNS servers. - */ - getChange(callback?: (err: AWSError, data: Route53.Types.GetChangeResponse) => void): Request; - /** - * GetCheckerIpRanges still works, but we recommend that you download ip-ranges.json, which includes IP address ranges for all AWS services. For more information, see IP Address Ranges of Amazon Route 53 Servers in the Amazon Route 53 Developer Guide. - */ - getCheckerIpRanges(params: Route53.Types.GetCheckerIpRangesRequest, callback?: (err: AWSError, data: Route53.Types.GetCheckerIpRangesResponse) => void): Request; - /** - * GetCheckerIpRanges still works, but we recommend that you download ip-ranges.json, which includes IP address ranges for all AWS services. For more information, see IP Address Ranges of Amazon Route 53 Servers in the Amazon Route 53 Developer Guide. - */ - getCheckerIpRanges(callback?: (err: AWSError, data: Route53.Types.GetCheckerIpRangesResponse) => void): Request; - /** - * Gets information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets. Use the following syntax to determine whether a continent is supported for geolocation: GET /2013-04-01/geolocation?ContinentCode=two-letter abbreviation for a continent Use the following syntax to determine whether a country is supported for geolocation: GET /2013-04-01/geolocation?CountryCode=two-character country code Use the following syntax to determine whether a subdivision of a country is supported for geolocation: GET /2013-04-01/geolocation?CountryCode=two-character country code&SubdivisionCode=subdivision code - */ - getGeoLocation(params: Route53.Types.GetGeoLocationRequest, callback?: (err: AWSError, data: Route53.Types.GetGeoLocationResponse) => void): Request; - /** - * Gets information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets. Use the following syntax to determine whether a continent is supported for geolocation: GET /2013-04-01/geolocation?ContinentCode=two-letter abbreviation for a continent Use the following syntax to determine whether a country is supported for geolocation: GET /2013-04-01/geolocation?CountryCode=two-character country code Use the following syntax to determine whether a subdivision of a country is supported for geolocation: GET /2013-04-01/geolocation?CountryCode=two-character country code&SubdivisionCode=subdivision code - */ - getGeoLocation(callback?: (err: AWSError, data: Route53.Types.GetGeoLocationResponse) => void): Request; - /** - * Gets information about a specified health check. - */ - getHealthCheck(params: Route53.Types.GetHealthCheckRequest, callback?: (err: AWSError, data: Route53.Types.GetHealthCheckResponse) => void): Request; - /** - * Gets information about a specified health check. - */ - getHealthCheck(callback?: (err: AWSError, data: Route53.Types.GetHealthCheckResponse) => void): Request; - /** - * Retrieves the number of health checks that are associated with the current AWS account. - */ - getHealthCheckCount(params: Route53.Types.GetHealthCheckCountRequest, callback?: (err: AWSError, data: Route53.Types.GetHealthCheckCountResponse) => void): Request; - /** - * Retrieves the number of health checks that are associated with the current AWS account. - */ - getHealthCheckCount(callback?: (err: AWSError, data: Route53.Types.GetHealthCheckCountResponse) => void): Request; - /** - * Gets the reason that a specified health check failed most recently. - */ - getHealthCheckLastFailureReason(params: Route53.Types.GetHealthCheckLastFailureReasonRequest, callback?: (err: AWSError, data: Route53.Types.GetHealthCheckLastFailureReasonResponse) => void): Request; - /** - * Gets the reason that a specified health check failed most recently. - */ - getHealthCheckLastFailureReason(callback?: (err: AWSError, data: Route53.Types.GetHealthCheckLastFailureReasonResponse) => void): Request; - /** - * Gets status of a specified health check. - */ - getHealthCheckStatus(params: Route53.Types.GetHealthCheckStatusRequest, callback?: (err: AWSError, data: Route53.Types.GetHealthCheckStatusResponse) => void): Request; - /** - * Gets status of a specified health check. - */ - getHealthCheckStatus(callback?: (err: AWSError, data: Route53.Types.GetHealthCheckStatusResponse) => void): Request; - /** - * Gets information about a specified hosted zone including the four name servers assigned to the hosted zone. - */ - getHostedZone(params: Route53.Types.GetHostedZoneRequest, callback?: (err: AWSError, data: Route53.Types.GetHostedZoneResponse) => void): Request; - /** - * Gets information about a specified hosted zone including the four name servers assigned to the hosted zone. - */ - getHostedZone(callback?: (err: AWSError, data: Route53.Types.GetHostedZoneResponse) => void): Request; - /** - * Retrieves the number of hosted zones that are associated with the current AWS account. - */ - getHostedZoneCount(params: Route53.Types.GetHostedZoneCountRequest, callback?: (err: AWSError, data: Route53.Types.GetHostedZoneCountResponse) => void): Request; - /** - * Retrieves the number of hosted zones that are associated with the current AWS account. - */ - getHostedZoneCount(callback?: (err: AWSError, data: Route53.Types.GetHostedZoneCountResponse) => void): Request; - /** - * Retrieves information about a specified reusable delegation set, including the four name servers that are assigned to the delegation set. - */ - getReusableDelegationSet(params: Route53.Types.GetReusableDelegationSetRequest, callback?: (err: AWSError, data: Route53.Types.GetReusableDelegationSetResponse) => void): Request; - /** - * Retrieves information about a specified reusable delegation set, including the four name servers that are assigned to the delegation set. - */ - getReusableDelegationSet(callback?: (err: AWSError, data: Route53.Types.GetReusableDelegationSetResponse) => void): Request; - /** - * Gets information about a specific traffic policy version. - */ - getTrafficPolicy(params: Route53.Types.GetTrafficPolicyRequest, callback?: (err: AWSError, data: Route53.Types.GetTrafficPolicyResponse) => void): Request; - /** - * Gets information about a specific traffic policy version. - */ - getTrafficPolicy(callback?: (err: AWSError, data: Route53.Types.GetTrafficPolicyResponse) => void): Request; - /** - * Gets information about a specified traffic policy instance. After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element. In the Amazon Route 53 console, traffic policy instances are known as policy records. - */ - getTrafficPolicyInstance(params: Route53.Types.GetTrafficPolicyInstanceRequest, callback?: (err: AWSError, data: Route53.Types.GetTrafficPolicyInstanceResponse) => void): Request; - /** - * Gets information about a specified traffic policy instance. After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element. In the Amazon Route 53 console, traffic policy instances are known as policy records. - */ - getTrafficPolicyInstance(callback?: (err: AWSError, data: Route53.Types.GetTrafficPolicyInstanceResponse) => void): Request; - /** - * Gets the number of traffic policy instances that are associated with the current AWS account. - */ - getTrafficPolicyInstanceCount(params: Route53.Types.GetTrafficPolicyInstanceCountRequest, callback?: (err: AWSError, data: Route53.Types.GetTrafficPolicyInstanceCountResponse) => void): Request; - /** - * Gets the number of traffic policy instances that are associated with the current AWS account. - */ - getTrafficPolicyInstanceCount(callback?: (err: AWSError, data: Route53.Types.GetTrafficPolicyInstanceCountResponse) => void): Request; - /** - * Retrieves a list of supported geo locations. Countries are listed first, and continents are listed last. If Amazon Route 53 supports subdivisions for a country (for example, states or provinces), the subdivisions for that country are listed in alphabetical order immediately after the corresponding country. - */ - listGeoLocations(params: Route53.Types.ListGeoLocationsRequest, callback?: (err: AWSError, data: Route53.Types.ListGeoLocationsResponse) => void): Request; - /** - * Retrieves a list of supported geo locations. Countries are listed first, and continents are listed last. If Amazon Route 53 supports subdivisions for a country (for example, states or provinces), the subdivisions for that country are listed in alphabetical order immediately after the corresponding country. - */ - listGeoLocations(callback?: (err: AWSError, data: Route53.Types.ListGeoLocationsResponse) => void): Request; - /** - * Retrieve a list of the health checks that are associated with the current AWS account. - */ - listHealthChecks(params: Route53.Types.ListHealthChecksRequest, callback?: (err: AWSError, data: Route53.Types.ListHealthChecksResponse) => void): Request; - /** - * Retrieve a list of the health checks that are associated with the current AWS account. - */ - listHealthChecks(callback?: (err: AWSError, data: Route53.Types.ListHealthChecksResponse) => void): Request; - /** - * Retrieves a list of the public and private hosted zones that are associated with the current AWS account. The response includes a HostedZones child element for each hosted zone. Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of hosted zones, you can use the maxitems parameter to list them in groups of up to 100. - */ - listHostedZones(params: Route53.Types.ListHostedZonesRequest, callback?: (err: AWSError, data: Route53.Types.ListHostedZonesResponse) => void): Request; - /** - * Retrieves a list of the public and private hosted zones that are associated with the current AWS account. The response includes a HostedZones child element for each hosted zone. Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of hosted zones, you can use the maxitems parameter to list them in groups of up to 100. - */ - listHostedZones(callback?: (err: AWSError, data: Route53.Types.ListHostedZonesResponse) => void): Request; - /** - * Retrieves a list of your hosted zones in lexicographic order. The response includes a HostedZones child element for each hosted zone created by the current AWS account. ListHostedZonesByName sorts hosted zones by name with the labels reversed. For example: com.example.www. Note the trailing dot, which can change the sort order in some circumstances. If the domain name includes escape characters or Punycode, ListHostedZonesByName alphabetizes the domain name using the escaped or Punycoded value, which is the format that Amazon Route 53 saves in its database. For example, to create a hosted zone for exämple.com, you specify ex\344mple.com for the domain name. ListHostedZonesByName alphabetizes it as: com.ex\344mple. The labels are reversed and alphabetized using the escaped value. For more information about valid domain name formats, including internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide. Amazon Route 53 returns up to 100 items in each response. If you have a lot of hosted zones, use the MaxItems parameter to list them in groups of up to 100. The response includes values that help navigate from one group of MaxItems hosted zones to the next: The DNSName and HostedZoneId elements in the response contain the values, if any, specified for the dnsname and hostedzoneid parameters in the request that produced the current response. The MaxItems element in the response contains the value, if any, that you specified for the maxitems parameter in the request that produced the current response. If the value of IsTruncated in the response is true, there are more hosted zones associated with the current AWS account. If IsTruncated is false, this response includes the last hosted zone that is associated with the current account. The NextDNSName element and NextHostedZoneId elements are omitted from the response. The NextDNSName and NextHostedZoneId elements in the response contain the domain name and the hosted zone ID of the next hosted zone that is associated with the current AWS account. If you want to list more hosted zones, make another call to ListHostedZonesByName, and specify the value of NextDNSName and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively. - */ - listHostedZonesByName(params: Route53.Types.ListHostedZonesByNameRequest, callback?: (err: AWSError, data: Route53.Types.ListHostedZonesByNameResponse) => void): Request; - /** - * Retrieves a list of your hosted zones in lexicographic order. The response includes a HostedZones child element for each hosted zone created by the current AWS account. ListHostedZonesByName sorts hosted zones by name with the labels reversed. For example: com.example.www. Note the trailing dot, which can change the sort order in some circumstances. If the domain name includes escape characters or Punycode, ListHostedZonesByName alphabetizes the domain name using the escaped or Punycoded value, which is the format that Amazon Route 53 saves in its database. For example, to create a hosted zone for exämple.com, you specify ex\344mple.com for the domain name. ListHostedZonesByName alphabetizes it as: com.ex\344mple. The labels are reversed and alphabetized using the escaped value. For more information about valid domain name formats, including internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide. Amazon Route 53 returns up to 100 items in each response. If you have a lot of hosted zones, use the MaxItems parameter to list them in groups of up to 100. The response includes values that help navigate from one group of MaxItems hosted zones to the next: The DNSName and HostedZoneId elements in the response contain the values, if any, specified for the dnsname and hostedzoneid parameters in the request that produced the current response. The MaxItems element in the response contains the value, if any, that you specified for the maxitems parameter in the request that produced the current response. If the value of IsTruncated in the response is true, there are more hosted zones associated with the current AWS account. If IsTruncated is false, this response includes the last hosted zone that is associated with the current account. The NextDNSName element and NextHostedZoneId elements are omitted from the response. The NextDNSName and NextHostedZoneId elements in the response contain the domain name and the hosted zone ID of the next hosted zone that is associated with the current AWS account. If you want to list more hosted zones, make another call to ListHostedZonesByName, and specify the value of NextDNSName and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively. - */ - listHostedZonesByName(callback?: (err: AWSError, data: Route53.Types.ListHostedZonesByNameResponse) => void): Request; - /** - * Lists the resource record sets in a specified hosted zone. ListResourceRecordSets returns up to 100 resource record sets at a time in ASCII order, beginning at a position specified by the name and type elements. The action sorts results first by DNS name with the labels reversed, for example: com.example.www. Note the trailing dot, which can change the sort order in some circumstances. When multiple records have the same DNS name, the action sorts results by the record type. You can use the name and type elements to adjust the beginning position of the list of resource record sets returned: If you do not specify Name or Type The results begin with the first resource record set that the hosted zone contains. If you specify Name but not Type The results begin with the first resource record set in the list whose name is greater than or equal to Name. If you specify Type but not Name Amazon Route 53 returns the InvalidInput error. If you specify both Name and Type The results begin with the first resource record set in the list whose name is greater than or equal to Name, and whose type is greater than or equal to Type. This action returns the most current version of the records. This includes records that are PENDING, and that are not yet available on all Amazon Route 53 DNS servers. To ensure that you get an accurate listing of the resource record sets for a hosted zone at a point in time, do not submit a ChangeResourceRecordSets request while you're paging through the results of a ListResourceRecordSets request. If you do, some pages may display results without the latest changes while other pages display results with the latest changes. - */ - listResourceRecordSets(params: Route53.Types.ListResourceRecordSetsRequest, callback?: (err: AWSError, data: Route53.Types.ListResourceRecordSetsResponse) => void): Request; - /** - * Lists the resource record sets in a specified hosted zone. ListResourceRecordSets returns up to 100 resource record sets at a time in ASCII order, beginning at a position specified by the name and type elements. The action sorts results first by DNS name with the labels reversed, for example: com.example.www. Note the trailing dot, which can change the sort order in some circumstances. When multiple records have the same DNS name, the action sorts results by the record type. You can use the name and type elements to adjust the beginning position of the list of resource record sets returned: If you do not specify Name or Type The results begin with the first resource record set that the hosted zone contains. If you specify Name but not Type The results begin with the first resource record set in the list whose name is greater than or equal to Name. If you specify Type but not Name Amazon Route 53 returns the InvalidInput error. If you specify both Name and Type The results begin with the first resource record set in the list whose name is greater than or equal to Name, and whose type is greater than or equal to Type. This action returns the most current version of the records. This includes records that are PENDING, and that are not yet available on all Amazon Route 53 DNS servers. To ensure that you get an accurate listing of the resource record sets for a hosted zone at a point in time, do not submit a ChangeResourceRecordSets request while you're paging through the results of a ListResourceRecordSets request. If you do, some pages may display results without the latest changes while other pages display results with the latest changes. - */ - listResourceRecordSets(callback?: (err: AWSError, data: Route53.Types.ListResourceRecordSetsResponse) => void): Request; - /** - * Retrieves a list of the reusable delegation sets that are associated with the current AWS account. - */ - listReusableDelegationSets(params: Route53.Types.ListReusableDelegationSetsRequest, callback?: (err: AWSError, data: Route53.Types.ListReusableDelegationSetsResponse) => void): Request; - /** - * Retrieves a list of the reusable delegation sets that are associated with the current AWS account. - */ - listReusableDelegationSets(callback?: (err: AWSError, data: Route53.Types.ListReusableDelegationSetsResponse) => void): Request; - /** - * Lists tags for one health check or hosted zone. For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide. - */ - listTagsForResource(params: Route53.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Route53.Types.ListTagsForResourceResponse) => void): Request; - /** - * Lists tags for one health check or hosted zone. For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide. - */ - listTagsForResource(callback?: (err: AWSError, data: Route53.Types.ListTagsForResourceResponse) => void): Request; - /** - * Lists tags for up to 10 health checks or hosted zones. For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide. - */ - listTagsForResources(params: Route53.Types.ListTagsForResourcesRequest, callback?: (err: AWSError, data: Route53.Types.ListTagsForResourcesResponse) => void): Request; - /** - * Lists tags for up to 10 health checks or hosted zones. For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide. - */ - listTagsForResources(callback?: (err: AWSError, data: Route53.Types.ListTagsForResourcesResponse) => void): Request; - /** - * Gets information about the latest version for every traffic policy that is associated with the current AWS account. Policies are listed in the order in which they were created. - */ - listTrafficPolicies(params: Route53.Types.ListTrafficPoliciesRequest, callback?: (err: AWSError, data: Route53.Types.ListTrafficPoliciesResponse) => void): Request; - /** - * Gets information about the latest version for every traffic policy that is associated with the current AWS account. Policies are listed in the order in which they were created. - */ - listTrafficPolicies(callback?: (err: AWSError, data: Route53.Types.ListTrafficPoliciesResponse) => void): Request; - /** - * Gets information about the traffic policy instances that you created by using the current AWS account. After you submit an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element. Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100. - */ - listTrafficPolicyInstances(params: Route53.Types.ListTrafficPolicyInstancesRequest, callback?: (err: AWSError, data: Route53.Types.ListTrafficPolicyInstancesResponse) => void): Request; - /** - * Gets information about the traffic policy instances that you created by using the current AWS account. After you submit an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element. Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100. - */ - listTrafficPolicyInstances(callback?: (err: AWSError, data: Route53.Types.ListTrafficPolicyInstancesResponse) => void): Request; - /** - * Gets information about the traffic policy instances that you created in a specified hosted zone. After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element. Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100. - */ - listTrafficPolicyInstancesByHostedZone(params: Route53.Types.ListTrafficPolicyInstancesByHostedZoneRequest, callback?: (err: AWSError, data: Route53.Types.ListTrafficPolicyInstancesByHostedZoneResponse) => void): Request; - /** - * Gets information about the traffic policy instances that you created in a specified hosted zone. After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element. Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100. - */ - listTrafficPolicyInstancesByHostedZone(callback?: (err: AWSError, data: Route53.Types.ListTrafficPolicyInstancesByHostedZoneResponse) => void): Request; - /** - * Gets information about the traffic policy instances that you created by using a specify traffic policy version. After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element. Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100. - */ - listTrafficPolicyInstancesByPolicy(params: Route53.Types.ListTrafficPolicyInstancesByPolicyRequest, callback?: (err: AWSError, data: Route53.Types.ListTrafficPolicyInstancesByPolicyResponse) => void): Request; - /** - * Gets information about the traffic policy instances that you created by using a specify traffic policy version. After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element. Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100. - */ - listTrafficPolicyInstancesByPolicy(callback?: (err: AWSError, data: Route53.Types.ListTrafficPolicyInstancesByPolicyResponse) => void): Request; - /** - * Gets information about all of the versions for a specified traffic policy. Traffic policy versions are listed in numerical order by VersionNumber. - */ - listTrafficPolicyVersions(params: Route53.Types.ListTrafficPolicyVersionsRequest, callback?: (err: AWSError, data: Route53.Types.ListTrafficPolicyVersionsResponse) => void): Request; - /** - * Gets information about all of the versions for a specified traffic policy. Traffic policy versions are listed in numerical order by VersionNumber. - */ - listTrafficPolicyVersions(callback?: (err: AWSError, data: Route53.Types.ListTrafficPolicyVersionsResponse) => void): Request; - /** - * Gets a list of the VPCs that were created by other accounts and that can be associated with a specified hosted zone because you've submitted one or more CreateVPCAssociationAuthorization requests. The response includes a VPCs element with a VPC child element for each VPC that can be associated with the hosted zone. - */ - listVPCAssociationAuthorizations(params: Route53.Types.ListVPCAssociationAuthorizationsRequest, callback?: (err: AWSError, data: Route53.Types.ListVPCAssociationAuthorizationsResponse) => void): Request; - /** - * Gets a list of the VPCs that were created by other accounts and that can be associated with a specified hosted zone because you've submitted one or more CreateVPCAssociationAuthorization requests. The response includes a VPCs element with a VPC child element for each VPC that can be associated with the hosted zone. - */ - listVPCAssociationAuthorizations(callback?: (err: AWSError, data: Route53.Types.ListVPCAssociationAuthorizationsResponse) => void): Request; - /** - * Gets the value that Amazon Route 53 returns in response to a DNS request for a specified record name and type. You can optionally specify the IP address of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask. - */ - testDNSAnswer(params: Route53.Types.TestDNSAnswerRequest, callback?: (err: AWSError, data: Route53.Types.TestDNSAnswerResponse) => void): Request; - /** - * Gets the value that Amazon Route 53 returns in response to a DNS request for a specified record name and type. You can optionally specify the IP address of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask. - */ - testDNSAnswer(callback?: (err: AWSError, data: Route53.Types.TestDNSAnswerResponse) => void): Request; - /** - * Updates an existing health check. Note that some values can't be updated. For more information about updating health checks, see Creating, Updating, and Deleting Health Checks in the Amazon Route 53 Developer Guide. - */ - updateHealthCheck(params: Route53.Types.UpdateHealthCheckRequest, callback?: (err: AWSError, data: Route53.Types.UpdateHealthCheckResponse) => void): Request; - /** - * Updates an existing health check. Note that some values can't be updated. For more information about updating health checks, see Creating, Updating, and Deleting Health Checks in the Amazon Route 53 Developer Guide. - */ - updateHealthCheck(callback?: (err: AWSError, data: Route53.Types.UpdateHealthCheckResponse) => void): Request; - /** - * Updates the comment for a specified hosted zone. - */ - updateHostedZoneComment(params: Route53.Types.UpdateHostedZoneCommentRequest, callback?: (err: AWSError, data: Route53.Types.UpdateHostedZoneCommentResponse) => void): Request; - /** - * Updates the comment for a specified hosted zone. - */ - updateHostedZoneComment(callback?: (err: AWSError, data: Route53.Types.UpdateHostedZoneCommentResponse) => void): Request; - /** - * Updates the comment for a specified traffic policy version. - */ - updateTrafficPolicyComment(params: Route53.Types.UpdateTrafficPolicyCommentRequest, callback?: (err: AWSError, data: Route53.Types.UpdateTrafficPolicyCommentResponse) => void): Request; - /** - * Updates the comment for a specified traffic policy version. - */ - updateTrafficPolicyComment(callback?: (err: AWSError, data: Route53.Types.UpdateTrafficPolicyCommentResponse) => void): Request; - /** - * Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version. When you update a traffic policy instance, Amazon Route 53 continues to respond to DNS queries for the root resource record set name (such as example.com) while it replaces one group of resource record sets with another. Amazon Route 53 performs the following operations: Amazon Route 53 creates a new group of resource record sets based on the specified traffic policy. This is true regardless of how significant the differences are between the existing resource record sets and the new resource record sets. When all of the new resource record sets have been created, Amazon Route 53 starts to respond to DNS queries for the root resource record set name (such as example.com) by using the new resource record sets. Amazon Route 53 deletes the old group of resource record sets that are associated with the root resource record set name. - */ - updateTrafficPolicyInstance(params: Route53.Types.UpdateTrafficPolicyInstanceRequest, callback?: (err: AWSError, data: Route53.Types.UpdateTrafficPolicyInstanceResponse) => void): Request; - /** - * Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version. When you update a traffic policy instance, Amazon Route 53 continues to respond to DNS queries for the root resource record set name (such as example.com) while it replaces one group of resource record sets with another. Amazon Route 53 performs the following operations: Amazon Route 53 creates a new group of resource record sets based on the specified traffic policy. This is true regardless of how significant the differences are between the existing resource record sets and the new resource record sets. When all of the new resource record sets have been created, Amazon Route 53 starts to respond to DNS queries for the root resource record set name (such as example.com) by using the new resource record sets. Amazon Route 53 deletes the old group of resource record sets that are associated with the root resource record set name. - */ - updateTrafficPolicyInstance(callback?: (err: AWSError, data: Route53.Types.UpdateTrafficPolicyInstanceResponse) => void): Request; - /** - * Waits for the resourceRecordSetsChanged state by periodically calling the underlying Route53.getChangeoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "resourceRecordSetsChanged", params: Route53.Types.GetChangeRequest, callback?: (err: AWSError, data: Route53.Types.GetChangeResponse) => void): Request; - /** - * Waits for the resourceRecordSetsChanged state by periodically calling the underlying Route53.getChangeoperation every 30 seconds (at most 60 times). - */ - waitFor(state: "resourceRecordSetsChanged", callback?: (err: AWSError, data: Route53.Types.GetChangeResponse) => void): Request; -} -declare namespace Route53 { - export interface AlarmIdentifier { - /** - * A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy. For the current list of CloudWatch regions, see Amazon CloudWatch in the AWS Regions and Endpoints chapter of the Amazon Web Services General Reference. - */ - Region: CloudWatchRegion; - /** - * The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy. - */ - Name: AlarmName; - } - export type AlarmName = string; - export type AliasHealthEnabled = boolean; - export interface AliasTarget { - /** - * Alias resource records sets only: The value used depends on where you want to route traffic: CloudFront distribution Specify Z2FDTNDATAQYW2. Alias resource record sets for CloudFront can't be created in a private zone. Elastic Beanstalk environment Specify the hosted zone ID for the region in which you created the environment. The environment must have a regionalized subdomain. For a list of regions and the corresponding hosted zone IDs, see AWS Elastic Beanstalk in the "AWS Regions and Endpoints" chapter of the Amazon Web Services General Reference. ELB load balancer Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone ID: Elastic Load Balancing table in the "AWS Regions and Endpoints" chapter of the Amazon Web Services General Reference: Use the value in the "Amazon Route 53 Hosted Zone ID" column that corresponds with the region that you created your load balancer in. AWS Management Console: Go to the Amazon EC2 page, click Load Balancers in the navigation pane, select the load balancer, and get the value of the Hosted zone field on the Description tab. Elastic Load Balancing API: Use DescribeLoadBalancers to get the value of CanonicalHostedZoneNameId. For more information, see the applicable guide: Classic Load Balancer: DescribeLoadBalancers Application Load Balancer: DescribeLoadBalancers AWS CLI: Use describe-load-balancers to get the value of CanonicalHostedZoneNameID. An Amazon S3 bucket configured as a static website Specify the hosted zone ID for the region that you created the bucket in. For more information about valid values, see the Amazon Simple Storage Service Website Endpoints table in the "AWS Regions and Endpoints" chapter of the Amazon Web Services General Reference. Another Amazon Route 53 resource record set in your hosted zone Specify the hosted zone ID of your hosted zone. (An alias resource record set can't reference a resource record set in a different hosted zone.) - */ - HostedZoneId: ResourceId; - /** - * Alias resource record sets only: The value that you specify depends on where you want to route queries: CloudFront distribution Specify the domain name that CloudFront assigned when you created your distribution. Your CloudFront distribution must include an alternate domain name that matches the name of the resource record set. For example, if the name of the resource record set is acme.example.com, your CloudFront distribution must include acme.example.com as one of the alternate domain names. For more information, see Using Alternate Domain Names (CNAMEs) in the Amazon CloudFront Developer Guide. Elastic Beanstalk environment Specify the CNAME attribute for the environment. (The environment must have a regionalized domain name.) You can use the following methods to get the value of the CNAME attribute: AWS Management Console: For information about how to get the value by using the console, see Using Custom Domains with AWS Elastic Beanstalk in the AWS Elastic Beanstalk Developer Guide. Elastic Beanstalk API: Use the DescribeEnvironments action to get the value of the CNAME attribute. For more information, see DescribeEnvironments in the AWS Elastic Beanstalk API Reference. AWS CLI: Use the describe-environments command to get the value of the CNAME attribute. For more information, see describe-environments in the AWS Command Line Interface Reference. ELB load balancer Specify the DNS name that is associated with the load balancer. Get the DNS name by using the AWS Management Console, the ELB API, or the AWS CLI. AWS Management Console: Go to the EC2 page, choose Load Balancers in the navigation pane, choose the load balancer, choose the Description tab, and get the value of the DNS name field. (If you're routing traffic to a Classic Load Balancer, get the value that begins with dualstack.) Elastic Load Balancing API: Use DescribeLoadBalancers to get the value of DNSName. For more information, see the applicable guide: Classic Load Balancer: DescribeLoadBalancers Application Load Balancer: DescribeLoadBalancers AWS CLI: Use describe-load-balancers to get the value of DNSName. Amazon S3 bucket that is configured as a static website Specify the domain name of the Amazon S3 website endpoint in which you created the bucket, for example, s3-website-us-east-2.amazonaws.com. For more information about valid values, see the table Amazon Simple Storage Service (S3) Website Endpoints in the Amazon Web Services General Reference. For more information about using S3 buckets for websites, see Getting Started with Amazon Route 53 in the Amazon Route 53 Developer Guide. Another Amazon Route 53 resource record set Specify the value of the Name element for a resource record set in the current hosted zone. - */ - DNSName: DNSName; - /** - * Applies only to alias, failover alias, geolocation alias, latency alias, and weighted alias resource record sets: When EvaluateTargetHealth is true, an alias resource record set inherits the health of the referenced AWS resource, such as an ELB load balancer, or the referenced resource record set. Note the following: You can't set EvaluateTargetHealth to true when the alias target is a CloudFront distribution. If the AWS resource that you specify in AliasTarget is a resource record set or a group of resource record sets (for example, a group of weighted resource record sets), but it is not another alias resource record set, we recommend that you associate a health check with all of the resource record sets in the alias target. For more information, see What Happens When You Omit Health Checks? in the Amazon Route 53 Developer Guide. If you specify an Elastic Beanstalk environment in HostedZoneId and DNSName, and if the environment contains an ELB load balancer, Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. (An environment automatically contains an ELB load balancer if it includes more than one EC2 instance.) If you set EvaluateTargetHealth to true and either no EC2 instances are healthy or the load balancer itself is unhealthy, Amazon Route 53 routes queries to other available resources that are healthy, if any. If the environment contains a single EC2 instance, there are no special requirements. If you specify an ELB load balancer in AliasTarget , ELB routes queries only to the healthy EC2 instances that are registered with the load balancer. If no EC2 instances are healthy or if the load balancer itself is unhealthy, and if EvaluateTargetHealth is true for the corresponding alias resource record set, Amazon Route 53 routes queries to other resources. When you create a load balancer, you configure settings for ELB health checks; they're not Amazon Route 53 health checks, but they perform a similar function. Do not create Amazon Route 53 health checks for the EC2 instances that you register with an ELB load balancer. For more information, see How Health Checks Work in More Complex Amazon Route 53 Configurations in the Amazon Route 53 Developer Guide. We recommend that you set EvaluateTargetHealth to true only when you have enough idle capacity to handle the failure of one or more endpoints. For more information and examples, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide. - */ - EvaluateTargetHealth: AliasHealthEnabled; - } - export type AssociateVPCComment = string; - export interface AssociateVPCWithHostedZoneRequest { - /** - * The ID of the private hosted zone that you want to associate an Amazon VPC with. Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association. - */ - HostedZoneId: ResourceId; - /** - * A complex type that contains information about the VPC that you want to associate with a private hosted zone. - */ - VPC: VPC; - /** - * Optional: A comment about the association request. - */ - Comment?: AssociateVPCComment; - } - export interface AssociateVPCWithHostedZoneResponse { - /** - * A complex type that describes the changes made to your hosted zone. - */ - ChangeInfo: ChangeInfo; - } - export interface Change { - /** - * The action to perform: CREATE: Creates a resource record set that has the specified values. DELETE: Deletes a existing resource record set. To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance . Amazon Route 53 will delete the resource record set automatically. If you delete the resource record set by using ChangeResourceRecordSets, Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though it's no longer in use. UPSERT: If a resource record set doesn't already exist, Amazon Route 53 creates it. If a resource record set does exist, Amazon Route 53 updates it with the values in the request. The values that you need to include in the request depend on the type of resource record set that you're creating, deleting, or updating: Basic resource record sets (excluding alias, failover, geolocation, latency, and weighted resource record sets) Name Type TTL Failover, geolocation, latency, or weighted resource record sets (excluding alias resource record sets) Name Type TTL SetIdentifier Alias resource record sets (including failover alias, geolocation alias, latency alias, and weighted alias resource record sets) Name Type AliasTarget (includes DNSName, EvaluateTargetHealth, and HostedZoneId) SetIdentifier (for failover, geolocation, latency, and weighted resource record sets) - */ - Action: ChangeAction; - /** - * Information about the resource record set to create, delete, or update. - */ - ResourceRecordSet: ResourceRecordSet; - } - export type ChangeAction = "CREATE"|"DELETE"|"UPSERT"|string; - export interface ChangeBatch { - /** - * Optional: Any comments you want to include about a change batch request. - */ - Comment?: ResourceDescription; - /** - * Information about the changes to make to the record sets. - */ - Changes: Changes; - } - export interface ChangeInfo { - /** - * The ID of the request. - */ - Id: ResourceId; - /** - * The current state of the request. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers. - */ - Status: ChangeStatus; - /** - * The date and time that the change request was submitted in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 UTC. - */ - SubmittedAt: TimeStamp; - /** - * A complex type that describes change information about changes made to your hosted zone. This element contains an ID that you use when performing a GetChange action to get detailed information about the change. - */ - Comment?: ResourceDescription; - } - export interface ChangeResourceRecordSetsRequest { - /** - * The ID of the hosted zone that contains the resource record sets that you want to change. - */ - HostedZoneId: ResourceId; - /** - * A complex type that contains an optional comment and the Changes element. - */ - ChangeBatch: ChangeBatch; - } - export interface ChangeResourceRecordSetsResponse { - /** - * A complex type that contains information about changes made to your hosted zone. This element contains an ID that you use when performing a GetChange action to get detailed information about the change. - */ - ChangeInfo: ChangeInfo; - } - export type ChangeStatus = "PENDING"|"INSYNC"|string; - export interface ChangeTagsForResourceRequest { - /** - * The type of the resource. The resource type for health checks is healthcheck. The resource type for hosted zones is hostedzone. - */ - ResourceType: TagResourceType; - /** - * The ID of the resource for which you want to add, change, or delete tags. - */ - ResourceId: TagResourceId; - /** - * A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for. You can add a maximum of 10 tags to a health check or a hosted zone. - */ - AddTags?: TagList; - /** - * A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys. - */ - RemoveTagKeys?: TagKeyList; - } - export interface ChangeTagsForResourceResponse { - } - export type Changes = Change[]; - export type CheckerIpRanges = IPAddressCidr[]; - export type ChildHealthCheckList = HealthCheckId[]; - export interface CloudWatchAlarmConfiguration { - /** - * For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold. - */ - EvaluationPeriods: EvaluationPeriods; - /** - * For the metric that the CloudWatch alarm is associated with, the value the metric is compared with. - */ - Threshold: Threshold; - /** - * For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison. - */ - ComparisonOperator: ComparisonOperator; - /** - * For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds. - */ - Period: Period; - /** - * The name of the CloudWatch metric that the alarm is associated with. - */ - MetricName: MetricName; - /** - * The namespace of the metric that the alarm is associated with. For more information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide. - */ - Namespace: Namespace; - /** - * For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric. - */ - Statistic: Statistic; - /** - * For the metric that the CloudWatch alarm is associated with, a complex type that contains information about the dimensions for the metric. For information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide. - */ - Dimensions?: DimensionList; - } - export type CloudWatchRegion = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"ca-central-1"|"eu-central-1"|"eu-west-1"|"eu-west-2"|"ap-south-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"ap-northeast-2"|"sa-east-1"|string; - export type ComparisonOperator = "GreaterThanOrEqualToThreshold"|"GreaterThanThreshold"|"LessThanThreshold"|"LessThanOrEqualToThreshold"|string; - export interface CreateHealthCheckRequest { - /** - * A unique string that identifies the request and that allows you to retry a failed CreateHealthCheck request without the risk of creating two identical health checks: If you send a CreateHealthCheck request with the same CallerReference and settings as a previous request, and if the health check doesn't exist, Amazon Route 53 creates the health check. If the health check does exist, Amazon Route 53 returns the settings for the existing health check. If you send a CreateHealthCheck request with the same CallerReference as a deleted health check, regardless of the settings, Amazon Route 53 returns a HealthCheckAlreadyExists error. If you send a CreateHealthCheck request with the same CallerReference as an existing health check but with different settings, Amazon Route 53 returns a HealthCheckAlreadyExists error. If you send a CreateHealthCheck request with a unique CallerReference but settings identical to an existing health check, Amazon Route 53 creates the health check. - */ - CallerReference: HealthCheckNonce; - /** - * A complex type that contains the response to a CreateHealthCheck request. - */ - HealthCheckConfig: HealthCheckConfig; - } - export interface CreateHealthCheckResponse { - /** - * A complex type that contains identifying information about the health check. - */ - HealthCheck: HealthCheck; - /** - * The unique URL representing the new health check. - */ - Location: ResourceURI; - } - export interface CreateHostedZoneRequest { - /** - * The name of the domain. For resource record types that include a domain name, specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical. If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Amazon Route 53, change the name servers for your domain to the set of NameServers that CreateHostedZone returns in DelegationSet. - */ - Name: DNSName; - /** - * (Private hosted zones only) A complex type that contains information about the Amazon VPC that you're associating with this hosted zone. You can specify only one Amazon VPC when you create a private hosted zone. To associate additional Amazon VPCs with the hosted zone, use AssociateVPCWithHostedZone after you create a hosted zone. - */ - VPC?: VPC; - /** - * A unique string that identifies the request and that allows failed CreateHostedZone requests to be retried without the risk of executing the operation twice. You must use a unique CallerReference string every time you submit a CreateHostedZone request. CallerReference can be any unique string, for example, a date/time stamp. - */ - CallerReference: Nonce; - /** - * (Optional) A complex type that contains the following optional values: For public and private hosted zones, an optional comment For private hosted zones, an optional PrivateZone element If you don't specify a comment or the PrivateZone element, omit HostedZoneConfig and the other elements. - */ - HostedZoneConfig?: HostedZoneConfig; - /** - * If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to the reusable delegation set when you created it. For more information about reusable delegation sets, see CreateReusableDelegationSet. - */ - DelegationSetId?: ResourceId; - } - export interface CreateHostedZoneResponse { - /** - * A complex type that contains general information about the hosted zone. - */ - HostedZone: HostedZone; - /** - * A complex type that contains information about the CreateHostedZone request. - */ - ChangeInfo: ChangeInfo; - /** - * A complex type that describes the name servers for this hosted zone. - */ - DelegationSet: DelegationSet; - /** - * A complex type that contains information about an Amazon VPC that you associated with this hosted zone. - */ - VPC?: VPC; - /** - * The unique URL representing the new hosted zone. - */ - Location: ResourceURI; - } - export interface CreateReusableDelegationSetRequest { - /** - * A unique string that identifies the request, and that allows you to retry failed CreateReusableDelegationSet requests without the risk of executing the operation twice. You must use a unique CallerReference string every time you submit a CreateReusableDelegationSet request. CallerReference can be any unique string, for example a date/time stamp. - */ - CallerReference: Nonce; - /** - * If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone. - */ - HostedZoneId?: ResourceId; - } - export interface CreateReusableDelegationSetResponse { - /** - * A complex type that contains name server information. - */ - DelegationSet: DelegationSet; - /** - * The unique URL representing the new reusable delegation set. - */ - Location: ResourceURI; - } - export interface CreateTrafficPolicyInstanceRequest { - /** - * The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy. - */ - HostedZoneId: ResourceId; - /** - * The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance. - */ - Name: DNSName; - /** - * (Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone. - */ - TTL: TTL; - /** - * The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone. - */ - TrafficPolicyId: TrafficPolicyId; - /** - * The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone. - */ - TrafficPolicyVersion: TrafficPolicyVersion; - } - export interface CreateTrafficPolicyInstanceResponse { - /** - * A complex type that contains settings for the new traffic policy instance. - */ - TrafficPolicyInstance: TrafficPolicyInstance; - /** - * A unique URL that represents a new traffic policy instance. - */ - Location: ResourceURI; - } - export interface CreateTrafficPolicyRequest { - /** - * The name of the traffic policy. - */ - Name: TrafficPolicyName; - /** - * The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format. - */ - Document: TrafficPolicyDocument; - /** - * (Optional) Any comments that you want to include about the traffic policy. - */ - Comment?: TrafficPolicyComment; - } - export interface CreateTrafficPolicyResponse { - /** - * A complex type that contains settings for the new traffic policy. - */ - TrafficPolicy: TrafficPolicy; - /** - * A unique URL that represents a new traffic policy. - */ - Location: ResourceURI; - } - export interface CreateTrafficPolicyVersionRequest { - /** - * The ID of the traffic policy for which you want to create a new version. - */ - Id: TrafficPolicyId; - /** - * The definition of this version of the traffic policy, in JSON format. You specified the JSON in the CreateTrafficPolicyVersion request. For more information about the JSON format, see CreateTrafficPolicy. - */ - Document: TrafficPolicyDocument; - /** - * The comment that you specified in the CreateTrafficPolicyVersion request, if any. - */ - Comment?: TrafficPolicyComment; - } - export interface CreateTrafficPolicyVersionResponse { - /** - * A complex type that contains settings for the new version of the traffic policy. - */ - TrafficPolicy: TrafficPolicy; - /** - * A unique URL that represents a new traffic policy version. - */ - Location: ResourceURI; - } - export interface CreateVPCAssociationAuthorizationRequest { - /** - * The ID of the private hosted zone that you want to authorize associating a VPC with. - */ - HostedZoneId: ResourceId; - /** - * A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone. - */ - VPC: VPC; - } - export interface CreateVPCAssociationAuthorizationResponse { - /** - * The ID of the hosted zone that you authorized associating a VPC with. - */ - HostedZoneId: ResourceId; - /** - * The VPC that you authorized associating with a hosted zone. - */ - VPC: VPC; - } - export type DNSName = string; - export type DNSRCode = string; - export interface DelegationSet { - /** - * The ID that Amazon Route 53 assigns to a reusable delegation set. - */ - Id?: ResourceId; - /** - * The value that you specified for CallerReference when you created the reusable delegation set. - */ - CallerReference?: Nonce; - /** - * A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set. - */ - NameServers: DelegationSetNameServers; - } - export type DelegationSetNameServers = DNSName[]; - export type DelegationSets = DelegationSet[]; - export interface DeleteHealthCheckRequest { - /** - * The ID of the health check that you want to delete. - */ - HealthCheckId: HealthCheckId; - } - export interface DeleteHealthCheckResponse { - } - export interface DeleteHostedZoneRequest { - /** - * The ID of the hosted zone you want to delete. - */ - Id: ResourceId; - } - export interface DeleteHostedZoneResponse { - /** - * A complex type that contains the ID, the status, and the date and time of a request to delete a hosted zone. - */ - ChangeInfo: ChangeInfo; - } - export interface DeleteReusableDelegationSetRequest { - /** - * The ID of the reusable delegation set that you want to delete. - */ - Id: ResourceId; - } - export interface DeleteReusableDelegationSetResponse { - } - export interface DeleteTrafficPolicyInstanceRequest { - /** - * The ID of the traffic policy instance that you want to delete. When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance. - */ - Id: TrafficPolicyInstanceId; - } - export interface DeleteTrafficPolicyInstanceResponse { - } - export interface DeleteTrafficPolicyRequest { - /** - * The ID of the traffic policy that you want to delete. - */ - Id: TrafficPolicyId; - /** - * The version number of the traffic policy that you want to delete. - */ - Version: TrafficPolicyVersion; - } - export interface DeleteTrafficPolicyResponse { - } - export interface DeleteVPCAssociationAuthorizationRequest { - /** - * When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, the ID of the hosted zone. - */ - HostedZoneId: ResourceId; - /** - * When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, a complex type that includes the ID and region of the VPC. - */ - VPC: VPC; - } - export interface DeleteVPCAssociationAuthorizationResponse { - } - export interface Dimension { - /** - * For the metric that the CloudWatch alarm is associated with, the name of one dimension. - */ - Name: DimensionField; - /** - * For the metric that the CloudWatch alarm is associated with, the value of one dimension. - */ - Value: DimensionField; - } - export type DimensionField = string; - export type DimensionList = Dimension[]; - export type DisassociateVPCComment = string; - export interface DisassociateVPCFromHostedZoneRequest { - /** - * The ID of the private hosted zone that you want to disassociate a VPC from. - */ - HostedZoneId: ResourceId; - /** - * A complex type that contains information about the VPC that you're disassociating from the specified hosted zone. - */ - VPC: VPC; - /** - * Optional: A comment about the disassociation request. - */ - Comment?: DisassociateVPCComment; - } - export interface DisassociateVPCFromHostedZoneResponse { - /** - * A complex type that describes the changes made to the specified private hosted zone. - */ - ChangeInfo: ChangeInfo; - } - export type EnableSNI = boolean; - export type ErrorMessage = string; - export type ErrorMessages = ErrorMessage[]; - export type EvaluationPeriods = number; - export type FailureThreshold = number; - export type FullyQualifiedDomainName = string; - export interface GeoLocation { - /** - * The two-letter code for the continent. Valid values: AF | AN | AS | EU | OC | NA | SA Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error. - */ - ContinentCode?: GeoLocationContinentCode; - /** - * The two-letter code for the country. - */ - CountryCode?: GeoLocationCountryCode; - /** - * The code for the subdivision, for example, a state in the United States or a province in Canada. - */ - SubdivisionCode?: GeoLocationSubdivisionCode; - } - export type GeoLocationContinentCode = string; - export type GeoLocationContinentName = string; - export type GeoLocationCountryCode = string; - export type GeoLocationCountryName = string; - export interface GeoLocationDetails { - /** - * The two-letter code for the continent. - */ - ContinentCode?: GeoLocationContinentCode; - /** - * The full name of the continent. - */ - ContinentName?: GeoLocationContinentName; - /** - * The two-letter code for the country. - */ - CountryCode?: GeoLocationCountryCode; - /** - * The name of the country. - */ - CountryName?: GeoLocationCountryName; - /** - * The code for the subdivision, for example, a state in the United States or a province in Canada. - */ - SubdivisionCode?: GeoLocationSubdivisionCode; - /** - * The full name of the subdivision, for example, a state in the United States or a province in Canada. - */ - SubdivisionName?: GeoLocationSubdivisionName; - } - export type GeoLocationDetailsList = GeoLocationDetails[]; - export type GeoLocationSubdivisionCode = string; - export type GeoLocationSubdivisionName = string; - export interface GetChangeRequest { - /** - * The ID of the change batch request. The value that you specify here is the value that ChangeResourceRecordSets returned in the Id element when you submitted the request. - */ - Id: ResourceId; - } - export interface GetChangeResponse { - /** - * A complex type that contains information about the specified change batch. - */ - ChangeInfo: ChangeInfo; - } - export interface GetCheckerIpRangesRequest { - } - export interface GetCheckerIpRangesResponse { - CheckerIpRanges: CheckerIpRanges; - } - export interface GetGeoLocationRequest { - /** - * Amazon Route 53 supports the following continent codes: AF: Africa AN: Antarctica AS: Asia EU: Europe OC: Oceania NA: North America SA: South America - */ - ContinentCode?: GeoLocationContinentCode; - /** - * Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2. - */ - CountryCode?: GeoLocationCountryCode; - /** - * Amazon Route 53 uses the one- to three-letter subdivision codes that are specified in ISO standard 3166-1 alpha-2. Amazon Route 53 doesn't support subdivision codes for all countries. If you specify SubdivisionCode, you must also specify CountryCode. - */ - SubdivisionCode?: GeoLocationSubdivisionCode; - } - export interface GetGeoLocationResponse { - /** - * A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code. - */ - GeoLocationDetails: GeoLocationDetails; - } - export interface GetHealthCheckCountRequest { - } - export interface GetHealthCheckCountResponse { - /** - * The number of health checks associated with the current AWS account. - */ - HealthCheckCount: HealthCheckCount; - } - export interface GetHealthCheckLastFailureReasonRequest { - /** - * The ID for the health check for which you want the last failure reason. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element. - */ - HealthCheckId: HealthCheckId; - } - export interface GetHealthCheckLastFailureReasonResponse { - /** - * A list that contains one Observation element for each Amazon Route 53 health checker that is reporting a last failure reason. - */ - HealthCheckObservations: HealthCheckObservations; - } - export interface GetHealthCheckRequest { - /** - * The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long. - */ - HealthCheckId: HealthCheckId; - } - export interface GetHealthCheckResponse { - /** - * A complex type that contains information about one health check that is associated with the current AWS account. - */ - HealthCheck: HealthCheck; - } - export interface GetHealthCheckStatusRequest { - /** - * The ID for the health check that you want the current status for. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element. If you want to check the status of a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can't use GetHealthCheckStatus to get the status of a calculated health check. - */ - HealthCheckId: HealthCheckId; - } - export interface GetHealthCheckStatusResponse { - /** - * A list that contains one HealthCheckObservation element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint. - */ - HealthCheckObservations: HealthCheckObservations; - } - export interface GetHostedZoneCountRequest { - } - export interface GetHostedZoneCountResponse { - /** - * The total number of public and private hosted zones that are associated with the current AWS account. - */ - HostedZoneCount: HostedZoneCount; - } - export interface GetHostedZoneRequest { - /** - * The ID of the hosted zone that you want to get information about. - */ - Id: ResourceId; - } - export interface GetHostedZoneResponse { - /** - * A complex type that contains general information about the specified hosted zone. - */ - HostedZone: HostedZone; - /** - * A complex type that lists the Amazon Route 53 name servers for the specified hosted zone. - */ - DelegationSet?: DelegationSet; - /** - * A complex type that contains information about the VPCs that are associated with the specified hosted zone. - */ - VPCs?: VPCs; - } - export interface GetReusableDelegationSetRequest { - /** - * The ID of the reusable delegation set that you want to get a list of name servers for. - */ - Id: ResourceId; - } - export interface GetReusableDelegationSetResponse { - /** - * A complex type that contains information about the reusable delegation set. - */ - DelegationSet: DelegationSet; - } - export interface GetTrafficPolicyInstanceCountRequest { - } - export interface GetTrafficPolicyInstanceCountResponse { - /** - * The number of traffic policy instances that are associated with the current AWS account. - */ - TrafficPolicyInstanceCount: TrafficPolicyInstanceCount; - } - export interface GetTrafficPolicyInstanceRequest { - /** - * The ID of the traffic policy instance that you want to get information about. - */ - Id: TrafficPolicyInstanceId; - } - export interface GetTrafficPolicyInstanceResponse { - /** - * A complex type that contains settings for the traffic policy instance. - */ - TrafficPolicyInstance: TrafficPolicyInstance; - } - export interface GetTrafficPolicyRequest { - /** - * The ID of the traffic policy that you want to get information about. - */ - Id: TrafficPolicyId; - /** - * The version number of the traffic policy that you want to get information about. - */ - Version: TrafficPolicyVersion; - } - export interface GetTrafficPolicyResponse { - /** - * A complex type that contains settings for the specified traffic policy. - */ - TrafficPolicy: TrafficPolicy; - } - export interface HealthCheck { - /** - * The identifier that Amazon Route 53assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long. - */ - Id: HealthCheckId; - /** - * A unique string that you specified when you created the health check. - */ - CallerReference: HealthCheckNonce; - /** - * A complex type that contains detailed information about one health check. - */ - HealthCheckConfig: HealthCheckConfig; - /** - * The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck to prevent overwriting another change to the health check. - */ - HealthCheckVersion: HealthCheckVersion; - /** - * A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check. - */ - CloudWatchAlarmConfiguration?: CloudWatchAlarmConfiguration; - } - export interface HealthCheckConfig { - /** - * The IPv4 or IPv6 IP address of the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for IPAddress, Amazon Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName at the interval that you specify in RequestInterval. Using an IP address returned by DNS, Amazon Route 53 then checks the health of the endpoint. Use one of the following formats for the value of IPAddress: IPv4 address: four values between 0 and 255, separated by periods (.), for example, 192.0.2.44. IPv6 address: eight groups of four hexadecimal values, separated by colons (:), for example, 2001:0db8:85a3:0000:0000:abcd:0001:2345. You can also shorten IPv6 addresses as described in RFC 5952, for example, 2001:db8:85a3::abcd:1:2345. If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for IPAddress. This ensures that the IP address of your instance will never change. For more information, see HealthCheckConfig$FullyQualifiedDomainName. Constraints: Amazon Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can't create health checks, see the following documents: RFC 5735, Special Use IPv4 Addresses RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space RFC 5156, Special-Use IPv6 Addresses When the value of Type is CALCULATED or CLOUDWATCH_METRIC, omit IPAddress. - */ - IPAddress?: IPAddress; - /** - * The port on the endpoint on which you want Amazon Route 53 to perform health checks. Specify a value for Port only when you specify a value for IPAddress. - */ - Port?: Port; - /** - * The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy. You can't change the value of Type after you create a health check. You can create the following types of health checks: HTTP: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTP request and waits for an HTTP status code of 200 or greater and less than 400. HTTPS: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTPS request and waits for an HTTP status code of 200 or greater and less than 400. If you specify HTTPS for the value of Type, the endpoint must support TLS v1.0 or later. HTTP_STR_MATCH: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTP request and searches the first 5,120 bytes of the response body for the string that you specify in SearchString. HTTPS_STR_MATCH: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTPS request and searches the first 5,120 bytes of the response body for the string that you specify in SearchString. TCP: Amazon Route 53 tries to establish a TCP connection. CLOUDWATCH_METRIC: The health check is associated with a CloudWatch alarm. If the state of the alarm is OK, the health check is considered healthy. If the state is ALARM, the health check is considered unhealthy. If CloudWatch doesn't have sufficient data to determine whether the state is OK or ALARM, the health check status depends on the setting for InsufficientDataHealthStatus: Healthy, Unhealthy, or LastKnownStatus. CALCULATED: For health checks that monitor the status of other health checks, Amazon Route 53 adds up the number of health checks that Amazon Route 53 health checkers consider to be healthy and compares that number with the value of HealthThreshold. For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide. - */ - Type: HealthCheckType; - /** - * The path, if any, that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example, the file /docs/route53-health-check.html. - */ - ResourcePath?: ResourcePath; - /** - * Amazon Route 53 behavior depends on whether you specify a value for IPAddress. If you specify a value for IPAddress: Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of FullyQualifiedDomainName in the Host header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want Amazon Route 53 to perform health checks. When Amazon Route 53 checks the health of an endpoint, here is how it constructs the Host header: If you specify a value of 80 for Port and HTTP or HTTP_STR_MATCH for Type, Amazon Route 53 passes the value of FullyQualifiedDomainName to the endpoint in the Host header. If you specify a value of 443 for Port and HTTPS or HTTPS_STR_MATCH for Type, Amazon Route 53 passes the value of FullyQualifiedDomainName to the endpoint in the Host header. If you specify another value for Port and any value except TCP for Type, Amazon Route 53 passes FullyQualifiedDomainName:Port to the endpoint in the Host header. If you don't specify a value for FullyQualifiedDomainName, Amazon Route 53 substitutes the value of IPAddress in the Host header in each of the preceding cases. If you don't specify a value for IPAddress : Amazon Route 53 sends a DNS request to the domain that you specify for FullyQualifiedDomainName at the interval that you specify for RequestInterval. Using an IPv4 address that DNS returns, Amazon Route 53 then checks the health of the endpoint. If you don't specify a value for IPAddress, Amazon Route 53 uses only IPv4 to send health checks to the endpoint. If there's no resource record set with a type of A for the name that you specify for FullyQualifiedDomainName, the health check fails with a "DNS resolution failed" error. If you want to check the health of weighted, latency, or failover resource record sets and you choose to specify the endpoint only by FullyQualifiedDomainName, we recommend that you create a separate health check for each endpoint. For example, create a health check for each HTTP server that is serving content for www.example.com. For the value of FullyQualifiedDomainName, specify the domain name of the server (such as us-east-2-www.example.com), not the name of the resource record sets (www.example.com). In this configuration, if you create a health check for which the value of FullyQualifiedDomainName matches the name of the resource record sets and you then associate the health check with those resource record sets, health check results will be unpredictable. In addition, if the value that you specify for Type is HTTP, HTTPS, HTTP_STR_MATCH, or HTTPS_STR_MATCH, Amazon Route 53 passes the value of FullyQualifiedDomainName in the Host header, as it does when you specify a value for IPAddress. If the value of Type is TCP, Amazon Route 53 doesn't pass a Host header. - */ - FullyQualifiedDomainName?: FullyQualifiedDomainName; - /** - * If the value of Type is HTTP_STR_MATCH or HTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Amazon Route 53 considers the resource healthy. Amazon Route 53 considers case when searching for SearchString in the response body. - */ - SearchString?: SearchString; - /** - * The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health check request. Each Amazon Route 53 health checker makes requests at this interval. You can't change the value of RequestInterval after you create a health check. If you don't specify a value for RequestInterval, the default value is 30 seconds. - */ - RequestInterval?: RequestInterval; - /** - * The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide. If you don't specify a value for FailureThreshold, the default value is three health checks. - */ - FailureThreshold?: FailureThreshold; - /** - * Specify whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint, and to display CloudWatch latency graphs on the Health Checks page in the Amazon Route 53 console. You can't change the value of MeasureLatency after you create a health check. - */ - MeasureLatency?: MeasureLatency; - /** - * Specify whether you want Amazon Route 53 to invert the status of a health check, for example, to consider a health check unhealthy when it otherwise would be considered healthy. - */ - Inverted?: Inverted; - /** - * The number of child health checks that are associated with a CALCULATED health that Amazon Route 53 must consider healthy for the CALCULATED health check to be considered healthy. To specify the child health checks that you want to associate with a CALCULATED health check, use the HealthCheckConfig$ChildHealthChecks and HealthCheckConfig$ChildHealthChecks elements. Note the following: If you specify a number greater than the number of child health checks, Amazon Route 53 always considers this health check to be unhealthy. If you specify 0, Amazon Route 53 always considers this health check to be healthy. - */ - HealthThreshold?: HealthThreshold; - /** - * (CALCULATED Health Checks Only) A complex type that contains one ChildHealthCheck element for each health check that you want to associate with a CALCULATED health check. - */ - ChildHealthChecks?: ChildHealthCheckList; - /** - * Specify whether you want Amazon Route 53 to send the value of FullyQualifiedDomainName to the endpoint in the client_hello message during TLS negotiation. This allows the endpoint to respond to HTTPS health check requests with the applicable SSL/TLS certificate. Some endpoints require that HTTPS requests include the host name in the client_hello message. If you don't enable SNI, the status of the health check will be SSL alert handshake_failure. A health check can also have that status for other reasons. If SNI is enabled and you're still getting the error, check the SSL/TLS configuration on your endpoint and confirm that your certificate is valid. The SSL/TLS certificate on your endpoint includes a domain name in the Common Name field and possibly several more in the Subject Alternative Names field. One of the domain names in the certificate should match the value that you specify for FullyQualifiedDomainName. If the endpoint responds to the client_hello message with a certificate that does not include the domain name that you specified in FullyQualifiedDomainName, a health checker will retry the handshake. In the second attempt, the health checker will omit FullyQualifiedDomainName from the client_hello message. - */ - EnableSNI?: EnableSNI; - /** - * A complex type that contains one Region element for each region from which you want Amazon Route 53 health checkers to check the specified endpoint. If you don't specify any regions, Amazon Route 53 health checkers automatically performs checks from all of the regions that are listed under Valid Values. If you update a health check to remove a region that has been performing health checks, Amazon Route 53 will briefly continue to perform checks from that region to ensure that some health checkers are always checking the endpoint (for example, if you replace three regions with four different regions). - */ - Regions?: HealthCheckRegionList; - /** - * A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy. - */ - AlarmIdentifier?: AlarmIdentifier; - /** - * When CloudWatch has insufficient data about the metric to determine the alarm state, the status that you want Amazon Route 53 to assign to the health check: Healthy: Amazon Route 53 considers the health check to be healthy. Unhealthy: Amazon Route 53 considers the health check to be unhealthy. LastKnownStatus: Amazon Route 53 uses the status of the health check from the last time that CloudWatch had sufficient data to determine the alarm state. For new health checks that have no last known status, the default status for the health check is healthy. - */ - InsufficientDataHealthStatus?: InsufficientDataHealthStatus; - } - export type HealthCheckCount = number; - export type HealthCheckId = string; - export type HealthCheckNonce = string; - export interface HealthCheckObservation { - /** - * The region of the Amazon Route 53 health checker that provided the status in StatusReport. - */ - Region?: HealthCheckRegion; - /** - * The IP address of the Amazon Route 53 health checker that provided the failure reason in StatusReport. - */ - IPAddress?: IPAddress; - /** - * A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check. - */ - StatusReport?: StatusReport; - } - export type HealthCheckObservations = HealthCheckObservation[]; - export type HealthCheckRegion = "us-east-1"|"us-west-1"|"us-west-2"|"eu-west-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"sa-east-1"|string; - export type HealthCheckRegionList = HealthCheckRegion[]; - export type HealthCheckType = "HTTP"|"HTTPS"|"HTTP_STR_MATCH"|"HTTPS_STR_MATCH"|"TCP"|"CALCULATED"|"CLOUDWATCH_METRIC"|string; - export type HealthCheckVersion = number; - export type HealthChecks = HealthCheck[]; - export type HealthThreshold = number; - export interface HostedZone { - /** - * The ID that Amazon Route 53 assigned to the hosted zone when you created it. - */ - Id: ResourceId; - /** - * The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar. For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see CreateHostedZone. - */ - Name: DNSName; - /** - * The value that you specified for CallerReference when you created the hosted zone. - */ - CallerReference: Nonce; - /** - * A complex type that includes the Comment and PrivateZone elements. If you omitted the HostedZoneConfig and Comment elements from the request, the Config and Comment elements don't appear in the response. - */ - Config?: HostedZoneConfig; - /** - * The number of resource record sets in the hosted zone. - */ - ResourceRecordSetCount?: HostedZoneRRSetCount; - } - export interface HostedZoneConfig { - /** - * Any comments that you want to include about the hosted zone. - */ - Comment?: ResourceDescription; - /** - * A value that indicates whether this is a private hosted zone. - */ - PrivateZone?: IsPrivateZone; - } - export type HostedZoneCount = number; - export type HostedZoneRRSetCount = number; - export type HostedZones = HostedZone[]; - export type IPAddress = string; - export type IPAddressCidr = string; - export type InsufficientDataHealthStatus = "Healthy"|"Unhealthy"|"LastKnownStatus"|string; - export type Inverted = boolean; - export type IsPrivateZone = boolean; - export interface ListGeoLocationsRequest { - /** - * The code for the continent with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Amazon Route 53 has already returned a page or more of results, if IsTruncated is true, and if NextContinentCode from the previous response has a value, enter that value in StartContinentCode to return the next page of results. Include StartContinentCode only if you want to list continents. Don't include StartContinentCode when you're listing countries or countries with their subdivisions. - */ - StartContinentCode?: GeoLocationContinentCode; - /** - * The code for the country with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Amazon Route 53 has already returned a page or more of results, if IsTruncated is true, and if NextCountryCode from the previous response has a value, enter that value in StartCountryCode to return the next page of results. Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2. - */ - StartCountryCode?: GeoLocationCountryCode; - /** - * The code for the subdivision (for example, state or province) with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Amazon Route 53 has already returned a page or more of results, if IsTruncated is true, and if NextSubdivisionCode from the previous response has a value, enter that value in StartSubdivisionCode to return the next page of results. To list subdivisions of a country, you must include both StartCountryCode and StartSubdivisionCode. - */ - StartSubdivisionCode?: GeoLocationSubdivisionCode; - /** - * (Optional) The maximum number of geolocations to be included in the response body for this request. If more than MaxItems geolocations remain to be listed, then the value of the IsTruncated element in the response is true. - */ - MaxItems?: PageMaxItems; - } - export interface ListGeoLocationsResponse { - /** - * A complex type that contains one GeoLocationDetails element for each location that Amazon Route 53 supports for geolocation. - */ - GeoLocationDetailsList: GeoLocationDetailsList; - /** - * A value that indicates whether more locations remain to be listed after the last location in this response. If so, the value of IsTruncated is true. To get more values, submit another request and include the values of NextContinentCode, NextCountryCode, and NextSubdivisionCode in the StartContinentCode, StartCountryCode, and StartSubdivisionCode, as applicable. - */ - IsTruncated: PageTruncated; - /** - * If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextContinentCode in the StartContinentCode parameter in another ListGeoLocations request. - */ - NextContinentCode?: GeoLocationContinentCode; - /** - * If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextCountryCode in the StartCountryCode parameter in another ListGeoLocations request. - */ - NextCountryCode?: GeoLocationCountryCode; - /** - * If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextSubdivisionCode in the StartSubdivisionCode parameter in another ListGeoLocations request. - */ - NextSubdivisionCode?: GeoLocationSubdivisionCode; - /** - * The value that you specified for MaxItems in the request. - */ - MaxItems: PageMaxItems; - } - export interface ListHealthChecksRequest { - /** - * If the value of IsTruncated in the previous response was true, you have more health checks. To get another group, submit another ListHealthChecks request. For the value of marker, specify the value of NextMarker from the previous response, which is the ID of the first health check that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false, there are no more health checks to get. - */ - Marker?: PageMarker; - /** - * The maximum number of health checks that you want ListHealthChecks to return in response to the current request. Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100 health checks. - */ - MaxItems?: PageMaxItems; - } - export interface ListHealthChecksResponse { - /** - * A complex type that contains one HealthCheck element for each health check that is associated with the current AWS account. - */ - HealthChecks: HealthChecks; - /** - * For the second and subsequent calls to ListHealthChecks, Marker is the value that you specified for the marker parameter in the previous request. - */ - Marker: PageMarker; - /** - * A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of health checks by submitting another ListHealthChecks request and specifying the value of NextMarker in the marker parameter. - */ - IsTruncated: PageTruncated; - /** - * If IsTruncated is true, the value of NextMarker identifies the first health check that Amazon Route 53 returns if you submit another ListHealthChecks request and specify the value of NextMarker in the marker parameter. - */ - NextMarker?: PageMarker; - /** - * The value that you specified for the maxitems parameter in the call to ListHealthChecks that produced the current response. - */ - MaxItems: PageMaxItems; - } - export interface ListHostedZonesByNameRequest { - /** - * (Optional) For your first request to ListHostedZonesByName, include the dnsname parameter only if you want to specify the name of the first hosted zone in the response. If you don't include the dnsname parameter, Amazon Route 53 returns all of the hosted zones that were created by the current AWS account, in ASCII order. For subsequent requests, include both dnsname and hostedzoneid parameters. For dnsname, specify the value of NextDNSName from the previous response. - */ - DNSName?: DNSName; - /** - * (Optional) For your first request to ListHostedZonesByName, do not include the hostedzoneid parameter. If you have more hosted zones than the value of maxitems, ListHostedZonesByName returns only the first maxitems hosted zones. To get the next group of maxitems hosted zones, submit another request to ListHostedZonesByName and include both dnsname and hostedzoneid parameters. For the value of hostedzoneid, specify the value of the NextHostedZoneId element from the previous response. - */ - HostedZoneId?: ResourceId; - /** - * The maximum number of hosted zones to be included in the response body for this request. If you have more than maxitems hosted zones, then the value of the IsTruncated element in the response is true, and the values of NextDNSName and NextHostedZoneId specify the first hosted zone in the next group of maxitems hosted zones. - */ - MaxItems?: PageMaxItems; - } - export interface ListHostedZonesByNameResponse { - /** - * A complex type that contains general information about the hosted zone. - */ - HostedZones: HostedZones; - /** - * For the second and subsequent calls to ListHostedZonesByName, DNSName is the value that you specified for the dnsname parameter in the request that produced the current response. - */ - DNSName?: DNSName; - /** - * The ID that Amazon Route 53 assigned to the hosted zone when you created it. - */ - HostedZoneId?: ResourceId; - /** - * A flag that indicates whether there are more hosted zones to be listed. If the response was truncated, you can get the next group of maxitems hosted zones by calling ListHostedZonesByName again and specifying the values of NextDNSName and NextHostedZoneId elements in the dnsname and hostedzoneid parameters. - */ - IsTruncated: PageTruncated; - /** - * If IsTruncated is true, the value of NextDNSName is the name of the first hosted zone in the next group of maxitems hosted zones. Call ListHostedZonesByName again and specify the value of NextDNSName and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively. This element is present only if IsTruncated is true. - */ - NextDNSName?: DNSName; - /** - * If IsTruncated is true, the value of NextHostedZoneId identifies the first hosted zone in the next group of maxitems hosted zones. Call ListHostedZonesByName again and specify the value of NextDNSName and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively. This element is present only if IsTruncated is true. - */ - NextHostedZoneId?: ResourceId; - /** - * The value that you specified for the maxitems parameter in the call to ListHostedZonesByName that produced the current response. - */ - MaxItems: PageMaxItems; - } - export interface ListHostedZonesRequest { - /** - * If the value of IsTruncated in the previous response was true, you have more hosted zones. To get more hosted zones, submit another ListHostedZones request. For the value of marker, specify the value of NextMarker from the previous response, which is the ID of the first hosted zone that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false, there are no more hosted zones to get. - */ - Marker?: PageMarker; - /** - * (Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If you have more than maxitems hosted zones, the value of IsTruncated in the response is true, and the value of NextMarker is the hosted zone ID of the first hosted zone that Amazon Route 53 will return if you submit another request. - */ - MaxItems?: PageMaxItems; - /** - * If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set. - */ - DelegationSetId?: ResourceId; - } - export interface ListHostedZonesResponse { - /** - * A complex type that contains general information about the hosted zone. - */ - HostedZones: HostedZones; - /** - * For the second and subsequent calls to ListHostedZones, Marker is the value that you specified for the marker parameter in the request that produced the current response. - */ - Marker: PageMarker; - /** - * A flag indicating whether there are more hosted zones to be listed. If the response was truncated, you can get more hosted zones by submitting another ListHostedZones request and specifying the value of NextMarker in the marker parameter. - */ - IsTruncated: PageTruncated; - /** - * If IsTruncated is true, the value of NextMarker identifies the first hosted zone in the next group of hosted zones. Submit another ListHostedZones request, and specify the value of NextMarker from the response in the marker parameter. This element is present only if IsTruncated is true. - */ - NextMarker?: PageMarker; - /** - * The value that you specified for the maxitems parameter in the call to ListHostedZones that produced the current response. - */ - MaxItems: PageMaxItems; - } - export interface ListResourceRecordSetsRequest { - /** - * The ID of the hosted zone that contains the resource record sets that you want to list. - */ - HostedZoneId: ResourceId; - /** - * The first name in the lexicographic ordering of resource record sets that you want to list. - */ - StartRecordName?: DNSName; - /** - * The type of resource record set to begin the record listing from. Valid values for basic resource record sets: A | AAAA | CNAME | MX | NAPTR | NS | PTR | SOA | SPF | SRV | TXT Values for weighted, latency, geo, and failover resource record sets: A | AAAA | CNAME | MX | NAPTR | PTR | SPF | SRV | TXT Values for alias resource record sets: CloudFront distribution: A or AAAA Elastic Beanstalk environment that has a regionalized subdomain: A ELB load balancer: A | AAAA Amazon S3 bucket: A Constraint: Specifying type without specifying name returns an InvalidInput error. - */ - StartRecordType?: RRType; - /** - * Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type. - */ - StartRecordIdentifier?: ResourceRecordSetIdentifier; - /** - * (Optional) The maximum number of resource records sets to include in the response body for this request. If the response includes more than maxitems resource record sets, the value of the IsTruncated element in the response is true, and the values of the NextRecordName and NextRecordType elements in the response identify the first resource record set in the next group of maxitems resource record sets. - */ - MaxItems?: PageMaxItems; - } - export interface ListResourceRecordSetsResponse { - /** - * Information about multiple resource record sets. - */ - ResourceRecordSets: ResourceRecordSets; - /** - * A flag that indicates whether more resource record sets remain to be listed. If your results were truncated, you can make a follow-up pagination request by using the NextRecordName element. - */ - IsTruncated: PageTruncated; - /** - * If the results were truncated, the name of the next record in the list. This element is present only if IsTruncated is true. - */ - NextRecordName?: DNSName; - /** - * If the results were truncated, the type of the next record in the list. This element is present only if IsTruncated is true. - */ - NextRecordType?: RRType; - /** - * Weighted, latency, geolocation, and failover resource record sets only: If results were truncated for a given DNS name and type, the value of SetIdentifier for the next resource record set that has the current DNS name and type. - */ - NextRecordIdentifier?: ResourceRecordSetIdentifier; - /** - * The maximum number of records you requested. - */ - MaxItems: PageMaxItems; - } - export interface ListReusableDelegationSetsRequest { - /** - * If the value of IsTruncated in the previous response was true, you have more reusable delegation sets. To get another group, submit another ListReusableDelegationSets request. For the value of marker, specify the value of NextMarker from the previous response, which is the ID of the first reusable delegation set that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false, there are no more reusable delegation sets to get. - */ - Marker?: PageMarker; - /** - * The number of reusable delegation sets that you want Amazon Route 53 to return in the response to this request. If you specify a value greater than 100, Amazon Route 53 returns only the first 100 reusable delegation sets. - */ - MaxItems?: PageMaxItems; - } - export interface ListReusableDelegationSetsResponse { - /** - * A complex type that contains one DelegationSet element for each reusable delegation set that was created by the current AWS account. - */ - DelegationSets: DelegationSets; - /** - * For the second and subsequent calls to ListReusableDelegationSets, Marker is the value that you specified for the marker parameter in the request that produced the current response. - */ - Marker: PageMarker; - /** - * A flag that indicates whether there are more reusable delegation sets to be listed. - */ - IsTruncated: PageTruncated; - /** - * If IsTruncated is true, the value of NextMarker identifies the next reusable delegation set that Amazon Route 53 will return if you submit another ListReusableDelegationSets request and specify the value of NextMarker in the marker parameter. - */ - NextMarker?: PageMarker; - /** - * The value that you specified for the maxitems parameter in the call to ListReusableDelegationSets that produced the current response. - */ - MaxItems: PageMaxItems; - } - export interface ListTagsForResourceRequest { - /** - * The type of the resource. The resource type for health checks is healthcheck. The resource type for hosted zones is hostedzone. - */ - ResourceType: TagResourceType; - /** - * The ID of the resource for which you want to retrieve tags. - */ - ResourceId: TagResourceId; - } - export interface ListTagsForResourceResponse { - /** - * A ResourceTagSet containing tags associated with the specified resource. - */ - ResourceTagSet: ResourceTagSet; - } - export interface ListTagsForResourcesRequest { - /** - * The type of the resources. The resource type for health checks is healthcheck. The resource type for hosted zones is hostedzone. - */ - ResourceType: TagResourceType; - /** - * A complex type that contains the ResourceId element for each resource for which you want to get a list of tags. - */ - ResourceIds: TagResourceIdList; - } - export interface ListTagsForResourcesResponse { - /** - * A list of ResourceTagSets containing tags associated with the specified resources. - */ - ResourceTagSets: ResourceTagSetList; - } - export interface ListTrafficPoliciesRequest { - /** - * (Conditional) For your first request to ListTrafficPolicies, don't include the TrafficPolicyIdMarker parameter. If you have more traffic policies than the value of MaxItems, ListTrafficPolicies returns only the first MaxItems traffic policies. To get the next group of policies, submit another request to ListTrafficPolicies. For the value of TrafficPolicyIdMarker, specify the value of TrafficPolicyIdMarker that was returned in the previous response. - */ - TrafficPolicyIdMarker?: TrafficPolicyId; - /** - * (Optional) The maximum number of traffic policies that you want Amazon Route 53 to return in response to this request. If you have more than MaxItems traffic policies, the value of IsTruncated in the response is true, and the value of TrafficPolicyIdMarker is the ID of the first traffic policy that Amazon Route 53 will return if you submit another request. - */ - MaxItems?: PageMaxItems; - } - export interface ListTrafficPoliciesResponse { - /** - * A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current AWS account. - */ - TrafficPolicySummaries: TrafficPolicySummaries; - /** - * A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another ListTrafficPolicies request and specifying the value of TrafficPolicyIdMarker in the TrafficPolicyIdMarker request parameter. - */ - IsTruncated: PageTruncated; - /** - * If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic policy in the next group of MaxItems traffic policies. - */ - TrafficPolicyIdMarker: TrafficPolicyId; - /** - * The value that you specified for the MaxItems parameter in the ListTrafficPolicies request that produced the current response. - */ - MaxItems: PageMaxItems; - } - export interface ListTrafficPolicyInstancesByHostedZoneRequest { - /** - * The ID of the hosted zone that you want to list traffic policy instances for. - */ - HostedZoneId: ResourceId; - /** - * If the value of IsTruncated in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances. If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get. - */ - TrafficPolicyInstanceNameMarker?: DNSName; - /** - * If the value of IsTruncated in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances. If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get. - */ - TrafficPolicyInstanceTypeMarker?: RRType; - /** - * The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance that Amazon Route 53 will return if you submit another request. - */ - MaxItems?: PageMaxItems; - } - export interface ListTrafficPolicyInstancesByHostedZoneResponse { - /** - * A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request. - */ - TrafficPolicyInstances: TrafficPolicyInstances; - /** - * If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of traffic policy instances. - */ - TrafficPolicyInstanceNameMarker?: DNSName; - /** - * If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of traffic policy instances. - */ - TrafficPolicyInstanceTypeMarker?: RRType; - /** - * A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by submitting another ListTrafficPolicyInstancesByHostedZone request and specifying the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker in the corresponding request parameters. - */ - IsTruncated: PageTruncated; - /** - * The value that you specified for the MaxItems parameter in the ListTrafficPolicyInstancesByHostedZone request that produced the current response. - */ - MaxItems: PageMaxItems; - } - export interface ListTrafficPolicyInstancesByPolicyRequest { - /** - * The ID of the traffic policy for which you want to list traffic policy instances. - */ - TrafficPolicyId: TrafficPolicyId; - /** - * The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId. - */ - TrafficPolicyVersion: TrafficPolicyVersion; - /** - * If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request. For the value of hostedzoneid, specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get. - */ - HostedZoneIdMarker?: ResourceId; - /** - * If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request. For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get. - */ - TrafficPolicyInstanceNameMarker?: DNSName; - /** - * If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request. For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get. - */ - TrafficPolicyInstanceTypeMarker?: RRType; - /** - * The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance that Amazon Route 53 will return if you submit another request. - */ - MaxItems?: PageMaxItems; - } - export interface ListTrafficPolicyInstancesByPolicyResponse { - /** - * A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request. - */ - TrafficPolicyInstances: TrafficPolicyInstances; - /** - * If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances. - */ - HostedZoneIdMarker?: ResourceId; - /** - * If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances. - */ - TrafficPolicyInstanceNameMarker?: DNSName; - /** - * If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances. - */ - TrafficPolicyInstanceTypeMarker?: RRType; - /** - * A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters. - */ - IsTruncated: PageTruncated; - /** - * The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response. - */ - MaxItems: PageMaxItems; - } - export interface ListTrafficPolicyInstancesRequest { - /** - * If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of HostedZoneId, specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of traffic policy instances. If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get. - */ - HostedZoneIdMarker?: ResourceId; - /** - * If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances. If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get. - */ - TrafficPolicyInstanceNameMarker?: DNSName; - /** - * If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances. If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get. - */ - TrafficPolicyInstanceTypeMarker?: RRType; - /** - * The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a ListTrafficPolicyInstances request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of MaxItems traffic policy instances. - */ - MaxItems?: PageMaxItems; - } - export interface ListTrafficPolicyInstancesResponse { - /** - * A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request. - */ - TrafficPolicyInstances: TrafficPolicyInstances; - /** - * If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance that Amazon Route 53 will return if you submit another ListTrafficPolicyInstances request. - */ - HostedZoneIdMarker?: ResourceId; - /** - * If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another ListTrafficPolicyInstances request. - */ - TrafficPolicyInstanceNameMarker?: DNSName; - /** - * If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit another ListTrafficPolicyInstances request. - */ - TrafficPolicyInstanceTypeMarker?: RRType; - /** - * A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get more traffic policy instances by calling ListTrafficPolicyInstances again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker in the corresponding request parameters. - */ - IsTruncated: PageTruncated; - /** - * The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstances that produced the current response. - */ - MaxItems: PageMaxItems; - } - export interface ListTrafficPolicyVersionsRequest { - /** - * Specify the value of Id of the traffic policy for which you want to list all versions. - */ - Id: TrafficPolicyId; - /** - * For your first request to ListTrafficPolicyVersions, don't include the TrafficPolicyVersionMarker parameter. If you have more traffic policy versions than the value of MaxItems, ListTrafficPolicyVersions returns only the first group of MaxItems versions. To get more traffic policy versions, submit another ListTrafficPolicyVersions request. For the value of TrafficPolicyVersionMarker, specify the value of TrafficPolicyVersionMarker in the previous response. - */ - TrafficPolicyVersionMarker?: TrafficPolicyVersionMarker; - /** - * The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request. If the specified traffic policy has more than MaxItems versions, the value of IsTruncated in the response is true, and the value of the TrafficPolicyVersionMarker element is the ID of the first version that Amazon Route 53 will return if you submit another request. - */ - MaxItems?: PageMaxItems; - } - export interface ListTrafficPolicyVersionsResponse { - /** - * A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy. - */ - TrafficPolicies: TrafficPolicies; - /** - * A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another ListTrafficPolicyVersions request and specifying the value of NextMarker in the marker parameter. - */ - IsTruncated: PageTruncated; - /** - * If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy that Amazon Route 53 will return if you submit another request. Call ListTrafficPolicyVersions again and specify the value of TrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter. This element is present only if IsTruncated is true. - */ - TrafficPolicyVersionMarker: TrafficPolicyVersionMarker; - /** - * The value that you specified for the maxitems parameter in the ListTrafficPolicyVersions request that produced the current response. - */ - MaxItems: PageMaxItems; - } - export interface ListVPCAssociationAuthorizationsRequest { - /** - * The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone. - */ - HostedZoneId: ResourceId; - /** - * Optional: If a response includes a NextToken element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of results, submit another request, and include the value of NextToken from the response in the nexttoken parameter in another ListVPCAssociationAuthorizations request. - */ - NextToken?: PaginationToken; - /** - * Optional: An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return. If you don't specify a value for MaxResults, Amazon Route 53 returns up to 50 VPCs per page. - */ - MaxResults?: MaxResults; - } - export interface ListVPCAssociationAuthorizationsResponse { - /** - * The ID of the hosted zone that you can associate the listed VPCs with. - */ - HostedZoneId: ResourceId; - /** - * When the response includes a NextToken element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit another ListVPCAssociationAuthorizations request, and include the value of the NextToken element from the response in the nexttoken request parameter. - */ - NextToken?: PaginationToken; - /** - * The list of VPCs that are authorized to be associated with the specified hosted zone. - */ - VPCs: VPCs; - } - export type MaxResults = string; - export type MeasureLatency = boolean; - export type Message = string; - export type MetricName = string; - export type Nameserver = string; - export type Namespace = string; - export type Nonce = string; - export type PageMarker = string; - export type PageMaxItems = string; - export type PageTruncated = boolean; - export type PaginationToken = string; - export type Period = number; - export type Port = number; - export type RData = string; - export type RRType = "SOA"|"A"|"TXT"|"NS"|"CNAME"|"MX"|"NAPTR"|"PTR"|"SRV"|"SPF"|"AAAA"|string; - export type RecordData = RecordDataEntry[]; - export type RecordDataEntry = string; - export type RequestInterval = number; - export type ResourceDescription = string; - export type ResourceId = string; - export type ResourcePath = string; - export interface ResourceRecord { - /** - * The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE action, if the current value does not match the actual value, an error is returned. For descriptions about how to format Value for different record types, see Supported DNS Resource Record Types in the Amazon Route 53 Developer Guide. You can specify more than one value for all record types except CNAME and SOA. If you're creating an alias resource record set, omit Value. - */ - Value: RData; - } - export interface ResourceRecordSet { - /** - * The name of the domain you want to perform the action on. Enter a fully qualified domain name, for example, www.example.com. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 still assumes that the domain name that you specify is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical. For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide. You can use the asterisk (*) wildcard to replace the leftmost label in a domain name, for example, *.example.com. Note the following: The * must replace the entire label. For example, you can't specify *prod.example.com or prod*.example.com. The * can't replace any of the middle labels, for example, marketing.*.example.com. If you include * in any position other than the leftmost label in a domain name, DNS treats it as an * character (ASCII 42), not as a wildcard. You can't use the * wildcard for resource records sets that have a type of NS. You can use the * wildcard as the leftmost label in a domain name, for example, *.example.com. You can't use an * for one of the middle labels, for example, marketing.*.example.com. In addition, the * must replace the entire label; for example, you can't specify prod*.example.com. - */ - Name: DNSName; - /** - * The DNS record type. For information about different record types and how data is encoded for them, see Supported DNS Resource Record Types in the Amazon Route 53 Developer Guide. Valid values for basic resource record sets: A | AAAA | CNAME | MX | NAPTR | NS | PTR | SOA | SPF | SRV | TXT Values for weighted, latency, geolocation, and failover resource record sets: A | AAAA | CNAME | MX | NAPTR | PTR | SPF | SRV | TXT. When creating a group of weighted, latency, geolocation, or failover resource record sets, specify the same value for all of the resource record sets in the group. Valid values for multivalue answer resource record sets: A | AAAA | MX | NAPTR | PTR | SPF | SRV | TXT SPF records were formerly used to verify the identity of the sender of email messages. However, we no longer recommend that you create resource record sets for which the value of Type is SPF. RFC 7208, Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1, has been updated to say, "...[I]ts existence and mechanism defined in [RFC4408] have led to some interoperability issues. Accordingly, its use is no longer appropriate for SPF version 1; implementations are not to use it." In RFC 7208, see section 14.1, The SPF DNS Record Type. Values for alias resource record sets: CloudFront distributions: A If IPv6 is enabled for the distribution, create two resource record sets to route traffic to your distribution, one with a value of A and one with a value of AAAA. AWS Elastic Beanstalk environment that has a regionalized subdomain: A ELB load balancers: A | AAAA Amazon S3 buckets: A Another resource record set in this hosted zone: Specify the type of the resource record set that you're creating the alias for. All values are supported except NS and SOA. - */ - Type: RRType; - /** - * Weighted, Latency, Geo, and Failover resource record sets only: An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type. The value of SetIdentifier must be unique for each resource record set that has the same combination of DNS name and type. Omit SetIdentifier for any other types of record sets. - */ - SetIdentifier?: ResourceRecordSetIdentifier; - /** - * Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. Amazon Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. Amazon Route 53 then responds to queries based on the ratio of a resource's weight to the total. Note the following: You must specify a value for the Weight element for every weighted resource record set. You can only specify one ResourceRecord per weighted resource record set. You can't create latency, failover, or geolocation resource record sets that have the same values for the Name and Type elements as weighted resource record sets. You can create a maximum of 100 weighted resource record sets that have the same values for the Name and Type elements. For weighted (but not weighted alias) resource record sets, if you set Weight to 0 for a resource record set, Amazon Route 53 never responds to queries with the applicable value for that resource record set. However, if you set Weight to 0 for all resource record sets that have the same combination of DNS name and type, traffic is routed to all resources with equal probability. The effect of setting Weight to 0 is different when you associate health checks with weighted resource record sets. For more information, see Options for Configuring Amazon Route 53 Active-Active and Active-Passive Failover in the Amazon Route 53 Developer Guide. - */ - Weight?: ResourceRecordSetWeight; - /** - * Latency-based resource record sets only: The Amazon EC2 Region where you created the resource that this resource record set refers to. The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, and is referred to by an IP address or a DNS domain name, depending on the record type. Creating latency and latency alias resource record sets in private hosted zones is not supported. When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Amazon Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. Amazon Route 53 then returns the value that is associated with the selected resource record set. Note the following: You can only specify one ResourceRecord per latency resource record set. You can only create one latency resource record set for each Amazon EC2 Region. You aren't required to create latency resource record sets for all Amazon EC2 Regions. Amazon Route 53 will choose the region with the best latency from among the regions that you create latency resource record sets for. You can't create non-latency resource record sets that have the same values for the Name and Type elements as latency resource record sets. - */ - Region?: ResourceRecordSetRegion; - /** - * Geo location resource record sets only: A complex type that lets you control how Amazon Route 53 responds to DNS queries based on the geographic origin of the query. For example, if you want all queries from Africa to be routed to a web server with an IP address of 192.0.2.111, create a resource record set with a Type of A and a ContinentCode of AF. Creating geolocation and geolocation alias resource record sets in private hosted zones is not supported. If you create separate resource record sets for overlapping geographic regions (for example, one resource record set for a continent and one for a country on the same continent), priority goes to the smallest geographic region. This allows you to route most queries for a continent to one resource and to route queries for a country on that continent to a different resource. You can't create two geolocation resource record sets that specify the same geographic location. The value * in the CountryCode element matches all geographic locations that aren't specified in other geolocation resource record sets that have the same values for the Name and Type elements. Geolocation works by mapping IP addresses to locations. However, some IP addresses aren't mapped to geographic locations, so even if you create geolocation resource record sets that cover all seven continents, Amazon Route 53 will receive some DNS queries from locations that it can't identify. We recommend that you create a resource record set for which the value of CountryCode is *, which handles both queries that come from locations for which you haven't created geolocation resource record sets and queries from IP addresses that aren't mapped to a location. If you don't create a * resource record set, Amazon Route 53 returns a "no answer" response for queries from those locations. You can't create non-geolocation resource record sets that have the same values for the Name and Type elements as geolocation resource record sets. - */ - GeoLocation?: GeoLocation; - /** - * Failover resource record sets only: To configure failover, you add the Failover element to two resource record sets. For one resource record set, you specify PRIMARY as the value for Failover; for the other resource record set, you specify SECONDARY. In addition, you include the HealthCheckId element and specify the health check that you want Amazon Route 53 to perform for each resource record set. Except where noted, the following failover behaviors assume that you have included the HealthCheckId element in both resource record sets: When the primary resource record set is healthy, Amazon Route 53 responds to DNS queries with the applicable value from the primary resource record set regardless of the health of the secondary resource record set. When the primary resource record set is unhealthy and the secondary resource record set is healthy, Amazon Route 53 responds to DNS queries with the applicable value from the secondary resource record set. When the secondary resource record set is unhealthy, Amazon Route 53 responds to DNS queries with the applicable value from the primary resource record set regardless of the health of the primary resource record set. If you omit the HealthCheckId element for the secondary resource record set, and if the primary resource record set is unhealthy, Amazon Route 53 always responds to DNS queries with the applicable value from the secondary resource record set. This is true regardless of the health of the associated endpoint. You can't create non-failover resource record sets that have the same values for the Name and Type elements as failover resource record sets. For failover alias resource record sets, you must also include the EvaluateTargetHealth element and set the value to true. For more information about configuring failover for Amazon Route 53, see the following topics in the Amazon Route 53 Developer Guide: Amazon Route 53 Health Checks and DNS Failover Configuring Failover in a Private Hosted Zone - */ - Failover?: ResourceRecordSetFailover; - /** - * Multivalue answer resource record sets only: To route traffic approximately randomly to multiple resources, such as web servers, create one multivalue answer record for each resource and specify true for MultiValueAnswer. Note the following: If you associate a health check with a multivalue answer resource record set, Amazon Route 53 responds to DNS queries with the corresponding IP address only when the health check is healthy. If you don't associate a health check with a multivalue answer record, Amazon Route 53 always considers the record to be healthy. Amazon Route 53 responds to DNS queries with up to eight healthy records; if you have eight or fewer healthy records, Amazon Route 53 responds to all DNS queries with all the healthy records. If you have more than eight healthy records, Amazon Route 53 responds to different DNS resolvers with different combinations of healthy records. When all records are unhealthy, Amazon Route 53 responds to DNS queries with up to eight unhealthy records. If a resource becomes unavailable after a resolver caches a response, client software typically tries another of the IP addresses in the response. You can't create multivalue answer alias records. - */ - MultiValueAnswer?: ResourceRecordSetMultiValueAnswer; - /** - * The resource record cache time to live (TTL), in seconds. Note the following: If you're creating or updating an alias resource record set, omit TTL. Amazon Route 53 uses the value of TTL for the alias target. If you're associating this resource record set with a health check (if you're adding a HealthCheckId element), we recommend that you specify a TTL of 60 seconds or less so clients respond quickly to changes in health status. All of the resource record sets in a group of weighted resource record sets must have the same value for TTL. If a group of weighted resource record sets includes one or more weighted alias resource record sets for which the alias target is an ELB load balancer, we recommend that you specify a TTL of 60 seconds for all of the non-alias weighted resource record sets that have the same name and type. Values other than 60 seconds (the TTL for load balancers) will change the effect of the values that you specify for Weight. - */ - TTL?: TTL; - /** - * Information about the resource records to act upon. If you're creating an alias resource record set, omit ResourceRecords. - */ - ResourceRecords?: ResourceRecords; - /** - * Alias resource record sets only: Information about the CloudFront distribution, AWS Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you're redirecting queries. The AWS Elastic Beanstalk environment must have a regionalized subdomain. If you're creating resource records sets for a private hosted zone, note the following: You can't create alias resource record sets for CloudFront distributions in a private hosted zone. Creating geolocation alias resource record sets or latency alias resource record sets in a private hosted zone is unsupported. For information about creating failover resource record sets in a private hosted zone, see Configuring Failover in a Private Hosted Zone in the Amazon Route 53 Developer Guide. - */ - AliasTarget?: AliasTarget; - /** - * If you want Amazon Route 53 to return this resource record set in response to a DNS query only when a health check is passing, include the HealthCheckId element and specify the ID of the applicable health check. Amazon Route 53 determines whether a resource record set is healthy based on one of the following: By periodically sending a request to the endpoint that is specified in the health check By aggregating the status of a specified group of health checks (calculated health checks) By determining the current state of a CloudWatch alarm (CloudWatch metric health checks) For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy. The HealthCheckId element is only useful when Amazon Route 53 is choosing between two or more resource record sets to respond to a DNS query, and you want Amazon Route 53 to base the choice in part on the status of a health check. Configuring health checks only makes sense in the following configurations: You're checking the health of the resource record sets in a group of weighted, latency, geolocation, or failover resource record sets, and you specify health check IDs for all of the resource record sets. If the health check for one resource record set specifies an endpoint that is not healthy, Amazon Route 53 stops responding to queries using the value for that resource record set. You set EvaluateTargetHealth to true for the resource record sets in a group of alias, weighted alias, latency alias, geolocation alias, or failover alias resource record sets, and you specify health check IDs for all of the resource record sets that are referenced by the alias resource record sets. Amazon Route 53 doesn't check the health of the endpoint specified in the resource record set, for example, the endpoint specified by the IP address in the Value element. When you add a HealthCheckId element to a resource record set, Amazon Route 53 checks the health of the endpoint that you specified in the health check. For geolocation resource record sets, if an endpoint is unhealthy, Amazon Route 53 looks for a resource record set for the larger, associated geographic region. For example, suppose you have resource record sets for a state in the United States, for the United States, for North America, and for all locations. If the endpoint for the state resource record set is unhealthy, Amazon Route 53 checks the resource record sets for the United States, for North America, and for all locations (a resource record set for which the value of CountryCode is *), in that order, until it finds a resource record set for which the endpoint is healthy. If your health checks specify the endpoint only by domain name, we recommend that you create a separate health check for each endpoint. For example, create a health check for each HTTP server that is serving content for www.example.com. For the value of FullyQualifiedDomainName, specify the domain name of the server (such as us-east-2-www.example.com), not the name of the resource record sets (example.com). n this configuration, if you create a health check for which the value of FullyQualifiedDomainName matches the name of the resource record sets and then associate the health check with those resource record sets, health check results will be unpredictable. For more information, see the following topics in the Amazon Route 53 Developer Guide: Amazon Route 53 Health Checks and DNS Failover Configuring Failover in a Private Hosted Zone - */ - HealthCheckId?: HealthCheckId; - /** - * When you create a traffic policy instance, Amazon Route 53 automatically creates a resource record set. TrafficPolicyInstanceId is the ID of the traffic policy instance that Amazon Route 53 created this resource record set for. To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If you delete the resource record set by using ChangeResourceRecordSets, Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though it's no longer in use. - */ - TrafficPolicyInstanceId?: TrafficPolicyInstanceId; - } - export type ResourceRecordSetFailover = "PRIMARY"|"SECONDARY"|string; - export type ResourceRecordSetIdentifier = string; - export type ResourceRecordSetMultiValueAnswer = boolean; - export type ResourceRecordSetRegion = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"ca-central-1"|"eu-west-1"|"eu-west-2"|"eu-central-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"ap-northeast-2"|"sa-east-1"|"cn-north-1"|"ap-south-1"|string; - export type ResourceRecordSetWeight = number; - export type ResourceRecordSets = ResourceRecordSet[]; - export type ResourceRecords = ResourceRecord[]; - export interface ResourceTagSet { - /** - * The type of the resource. The resource type for health checks is healthcheck. The resource type for hosted zones is hostedzone. - */ - ResourceType?: TagResourceType; - /** - * The ID for the specified resource. - */ - ResourceId?: TagResourceId; - /** - * The tags associated with the specified resource. - */ - Tags?: TagList; - } - export type ResourceTagSetList = ResourceTagSet[]; - export type ResourceURI = string; - export type SearchString = string; - export type Statistic = "Average"|"Sum"|"SampleCount"|"Maximum"|"Minimum"|string; - export type Status = string; - export interface StatusReport { - /** - * A description of the status of the health check endpoint as reported by one of the Amazon Route 53 health checkers. - */ - Status?: Status; - /** - * The date and time that the health checker performed the health check in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 UTC. - */ - CheckedTime?: TimeStamp; - } - export type SubnetMask = string; - export type TTL = number; - export interface Tag { - /** - * The value of Key depends on the operation that you want to perform: Add a tag to a health check or hosted zone: Key is the name that you want to give the new tag. Edit a tag: Key is the name of the tag that you want to change the Value for. Delete a key: Key is the name of the tag you want to remove. Give a name to a health check: Edit the default Name tag. In the Amazon Route 53 console, the list of your health checks includes a Name column that lets you see the name that you've given to each health check. - */ - Key?: TagKey; - /** - * The value of Value depends on the operation that you want to perform: Add a tag to a health check or hosted zone: Value is the value that you want to give the new tag. Edit a tag: Value is the new value that you want to assign the tag. - */ - Value?: TagValue; - } - export type TagKey = string; - export type TagKeyList = TagKey[]; - export type TagList = Tag[]; - export type TagResourceId = string; - export type TagResourceIdList = TagResourceId[]; - export type TagResourceType = "healthcheck"|"hostedzone"|string; - export type TagValue = string; - export interface TestDNSAnswerRequest { - /** - * The ID of the hosted zone that you want Amazon Route 53 to simulate a query for. - */ - HostedZoneId: ResourceId; - /** - * The name of the resource record set that you want Amazon Route 53 to simulate a query for. - */ - RecordName: DNSName; - /** - * The type of the resource record set. - */ - RecordType: RRType; - /** - * If you want to simulate a request from a specific DNS resolver, specify the IP address for that resolver. If you omit this value, TestDnsAnswer uses the IP address of a DNS resolver in the AWS US East (N. Virginia) Region (us-east-1). - */ - ResolverIP?: IPAddress; - /** - * If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client in the applicable location, for example, 192.0.2.44 or 2001:db8:85a3::8a2e:370:7334. - */ - EDNS0ClientSubnetIP?: IPAddress; - /** - * If you specify an IP address for edns0clientsubnetip, you can optionally specify the number of bits of the IP address that you want the checking tool to include in the DNS query. For example, if you specify 192.0.2.44 for edns0clientsubnetip and 24 for edns0clientsubnetmask, the checking tool will simulate a request from 192.0.2.0/24. The default value is 24 bits for IPv4 addresses and 64 bits for IPv6 addresses. - */ - EDNS0ClientSubnetMask?: SubnetMask; - } - export interface TestDNSAnswerResponse { - /** - * The Amazon Route 53 name server used to respond to the request. - */ - Nameserver: Nameserver; - /** - * The name of the resource record set that you submitted a request for. - */ - RecordName: DNSName; - /** - * The type of the resource record set that you submitted a request for. - */ - RecordType: RRType; - /** - * A list that contains values that Amazon Route 53 returned for this resource record set. - */ - RecordData: RecordData; - /** - * A code that indicates whether the request is valid or not. The most common response code is NOERROR, meaning that the request is valid. If the response is not valid, Amazon Route 53 returns a response code that describes the error. For a list of possible response codes, see DNS RCODES on the IANA website. - */ - ResponseCode: DNSRCode; - /** - * The protocol that Amazon Route 53 used to respond to the request, either UDP or TCP. - */ - Protocol: TransportProtocol; - } - export type Threshold = number; - export type TimeStamp = Date; - export type TrafficPolicies = TrafficPolicy[]; - export interface TrafficPolicy { - /** - * The ID that Amazon Route 53 assigned to a traffic policy when you created it. - */ - Id: TrafficPolicyId; - /** - * The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version is always 1. - */ - Version: TrafficPolicyVersion; - /** - * The name that you specified when you created the traffic policy. - */ - Name: TrafficPolicyName; - /** - * The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance. - */ - Type: RRType; - /** - * The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy request. For more information about the JSON format, see Traffic Policy Document Format. - */ - Document: TrafficPolicyDocument; - /** - * The comment that you specify in the CreateTrafficPolicy request, if any. - */ - Comment?: TrafficPolicyComment; - } - export type TrafficPolicyComment = string; - export type TrafficPolicyDocument = string; - export type TrafficPolicyId = string; - export interface TrafficPolicyInstance { - /** - * The ID that Amazon Route 53 assigned to the new traffic policy instance. - */ - Id: TrafficPolicyInstanceId; - /** - * The ID of the hosted zone that Amazon Route 53 created resource record sets in. - */ - HostedZoneId: ResourceId; - /** - * The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance. - */ - Name: DNSName; - /** - * The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone. - */ - TTL: TTL; - /** - * The value of State is one of the following values: Applied Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Amazon Route 53 edge locations. Creating Amazon Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to confirm that the CreateTrafficPolicyInstance request completed successfully. Failed Amazon Route 53 wasn't able to create or update the resource record sets. When the value of State is Failed, see Message for an explanation of what caused the request to fail. - */ - State: TrafficPolicyInstanceState; - /** - * If State is Failed, an explanation of the reason for the failure. If State is another value, Message is empty. - */ - Message: Message; - /** - * The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone. - */ - TrafficPolicyId: TrafficPolicyId; - /** - * The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone. - */ - TrafficPolicyVersion: TrafficPolicyVersion; - /** - * The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance. - */ - TrafficPolicyType: RRType; - } - export type TrafficPolicyInstanceCount = number; - export type TrafficPolicyInstanceId = string; - export type TrafficPolicyInstanceState = string; - export type TrafficPolicyInstances = TrafficPolicyInstance[]; - export type TrafficPolicyName = string; - export type TrafficPolicySummaries = TrafficPolicySummary[]; - export interface TrafficPolicySummary { - /** - * The ID that Amazon Route 53 assigned to the traffic policy when you created it. - */ - Id: TrafficPolicyId; - /** - * The name that you specified for the traffic policy when you created it. - */ - Name: TrafficPolicyName; - /** - * The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance. - */ - Type: RRType; - /** - * The version number of the latest version of the traffic policy. - */ - LatestVersion: TrafficPolicyVersion; - /** - * The number of traffic policies that are associated with the current AWS account. - */ - TrafficPolicyCount: TrafficPolicyVersion; - } - export type TrafficPolicyVersion = number; - export type TrafficPolicyVersionMarker = string; - export type TransportProtocol = string; - export interface UpdateHealthCheckRequest { - /** - * The ID for the health check for which you want detailed information. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element. - */ - HealthCheckId: HealthCheckId; - /** - * A sequential counter that Amazon Route 53 sets to 1 when you create a health check and increments by 1 each time you update settings for the health check. We recommend that you use GetHealthCheck or ListHealthChecks to get the current value of HealthCheckVersion for the health check that you want to update, and that you include that value in your UpdateHealthCheck request. This prevents Amazon Route 53 from overwriting an intervening update: If the value in the UpdateHealthCheck request matches the value of HealthCheckVersion in the health check, Amazon Route 53 updates the health check with the new settings. If the value of HealthCheckVersion in the health check is greater, the health check was changed after you got the version number. Amazon Route 53 does not update the health check, and it returns a HealthCheckVersionMismatch error. - */ - HealthCheckVersion?: HealthCheckVersion; - /** - * The IPv4 or IPv6 IP address for the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for IPAddress, Amazon Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName at the interval that you specify in RequestInterval. Using an IP address that is returned by DNS, Amazon Route 53 then checks the health of the endpoint. Use one of the following formats for the value of IPAddress: IPv4 address: four values between 0 and 255, separated by periods (.), for example, 192.0.2.44. IPv6 address: eight groups of four hexadecimal values, separated by colons (:), for example, 2001:0db8:85a3:0000:0000:abcd:0001:2345. You can also shorten IPv6 addresses as described in RFC 5952, for example, 2001:db8:85a3::abcd:1:2345. If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for IPAddress. This ensures that the IP address of your instance never changes. For more information, see the applicable documentation: Linux: Elastic IP Addresses (EIP) in the Amazon EC2 User Guide for Linux Instances Windows: Elastic IP Addresses (EIP) in the Amazon EC2 User Guide for Windows Instances If a health check already has a value for IPAddress, you can change the value. However, you can't update an existing health check to add or remove the value of IPAddress. For more information, see UpdateHealthCheckRequest$FullyQualifiedDomainName. Constraints: Amazon Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can't create health checks, see the following documents: RFC 5735, Special Use IPv4 Addresses RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space RFC 5156, Special-Use IPv6 Addresses - */ - IPAddress?: IPAddress; - /** - * The port on the endpoint on which you want Amazon Route 53 to perform health checks. - */ - Port?: Port; - /** - * The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html. Specify this value only if you want to change it. - */ - ResourcePath?: ResourcePath; - /** - * Amazon Route 53 behavior depends on whether you specify a value for IPAddress. If a health check already has a value for IPAddress, you can change the value. However, you can't update an existing health check to add or remove the value of IPAddress. If you specify a value for IPAddress: Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of FullyQualifiedDomainName in the Host header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want Amazon Route 53 to perform health checks. When Amazon Route 53 checks the health of an endpoint, here is how it constructs the Host header: If you specify a value of 80 for Port and HTTP or HTTP_STR_MATCH for Type, Amazon Route 53 passes the value of FullyQualifiedDomainName to the endpoint in the Host header. If you specify a value of 443 for Port and HTTPS or HTTPS_STR_MATCH for Type, Amazon Route 53 passes the value of FullyQualifiedDomainName to the endpoint in the Host header. If you specify another value for Port and any value except TCP for Type, Amazon Route 53 passes FullyQualifiedDomainName:Port to the endpoint in the Host header. If you don't specify a value for FullyQualifiedDomainName, Amazon Route 53 substitutes the value of IPAddress in the Host header in each of the above cases. If you don't specify a value for IPAddress: If you don't specify a value for IPAddress, Amazon Route 53 sends a DNS request to the domain that you specify in FullyQualifiedDomainName at the interval you specify in RequestInterval. Using an IPv4 address that is returned by DNS, Amazon Route 53 then checks the health of the endpoint. If you don't specify a value for IPAddress, Amazon Route 53 uses only IPv4 to send health checks to the endpoint. If there's no resource record set with a type of A for the name that you specify for FullyQualifiedDomainName, the health check fails with a "DNS resolution failed" error. If you want to check the health of weighted, latency, or failover resource record sets and you choose to specify the endpoint only by FullyQualifiedDomainName, we recommend that you create a separate health check for each endpoint. For example, create a health check for each HTTP server that is serving content for www.example.com. For the value of FullyQualifiedDomainName, specify the domain name of the server (such as us-east-2-www.example.com), not the name of the resource record sets (www.example.com). In this configuration, if the value of FullyQualifiedDomainName matches the name of the resource record sets and you then associate the health check with those resource record sets, health check results will be unpredictable. In addition, if the value of Type is HTTP, HTTPS, HTTP_STR_MATCH, or HTTPS_STR_MATCH, Amazon Route 53 passes the value of FullyQualifiedDomainName in the Host header, as it does when you specify a value for IPAddress. If the value of Type is TCP, Amazon Route 53 doesn't pass a Host header. - */ - FullyQualifiedDomainName?: FullyQualifiedDomainName; - /** - * If the value of Type is HTTP_STR_MATCH or HTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Amazon Route 53 considers the resource healthy. (You can't change the value of Type when you update a health check.) - */ - SearchString?: SearchString; - /** - * The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide. If you don't specify a value for FailureThreshold, the default value is three health checks. - */ - FailureThreshold?: FailureThreshold; - /** - * Specify whether you want Amazon Route 53 to invert the status of a health check, for example, to consider a health check unhealthy when it otherwise would be considered healthy. - */ - Inverted?: Inverted; - /** - * The number of child health checks that are associated with a CALCULATED health that Amazon Route 53 must consider healthy for the CALCULATED health check to be considered healthy. To specify the child health checks that you want to associate with a CALCULATED health check, use the ChildHealthChecks and ChildHealthCheck elements. Note the following: If you specify a number greater than the number of child health checks, Amazon Route 53 always considers this health check to be unhealthy. If you specify 0, Amazon Route 53 always considers this health check to be healthy. - */ - HealthThreshold?: HealthThreshold; - /** - * A complex type that contains one ChildHealthCheck element for each health check that you want to associate with a CALCULATED health check. - */ - ChildHealthChecks?: ChildHealthCheckList; - /** - * Specify whether you want Amazon Route 53 to send the value of FullyQualifiedDomainName to the endpoint in the client_hello message during TLS negotiation. This allows the endpoint to respond to HTTPS health check requests with the applicable SSL/TLS certificate. Some endpoints require that HTTPS requests include the host name in the client_hello message. If you don't enable SNI, the status of the health check will be SSL alert handshake_failure. A health check can also have that status for other reasons. If SNI is enabled and you're still getting the error, check the SSL/TLS configuration on your endpoint and confirm that your certificate is valid. The SSL/TLS certificate on your endpoint includes a domain name in the Common Name field and possibly several more in the Subject Alternative Names field. One of the domain names in the certificate should match the value that you specify for FullyQualifiedDomainName. If the endpoint responds to the client_hello message with a certificate that does not include the domain name that you specified in FullyQualifiedDomainName, a health checker will retry the handshake. In the second attempt, the health checker will omit FullyQualifiedDomainName from the client_hello message. - */ - EnableSNI?: EnableSNI; - /** - * A complex type that contains one Region element for each region that you want Amazon Route 53 health checkers to check the specified endpoint from. - */ - Regions?: HealthCheckRegionList; - AlarmIdentifier?: AlarmIdentifier; - /** - * When CloudWatch has insufficient data about the metric to determine the alarm state, the status that you want Amazon Route 53 to assign to the health check: Healthy: Amazon Route 53 considers the health check to be healthy. Unhealthy: Amazon Route 53 considers the health check to be unhealthy. LastKnownStatus: Amazon Route 53 uses the status of the health check from the last time CloudWatch had sufficient data to determine the alarm state. For new health checks that have no last known status, the default status for the health check is healthy. - */ - InsufficientDataHealthStatus?: InsufficientDataHealthStatus; - } - export interface UpdateHealthCheckResponse { - HealthCheck: HealthCheck; - } - export interface UpdateHostedZoneCommentRequest { - /** - * The ID for the hosted zone that you want to update the comment for. - */ - Id: ResourceId; - /** - * The new comment for the hosted zone. If you don't specify a value for Comment, Amazon Route 53 deletes the existing value of the Comment element, if any. - */ - Comment?: ResourceDescription; - } - export interface UpdateHostedZoneCommentResponse { - HostedZone: HostedZone; - } - export interface UpdateTrafficPolicyCommentRequest { - /** - * The value of Id for the traffic policy that you want to update the comment for. - */ - Id: TrafficPolicyId; - /** - * The value of Version for the traffic policy that you want to update the comment for. - */ - Version: TrafficPolicyVersion; - /** - * The new comment for the specified traffic policy and version. - */ - Comment: TrafficPolicyComment; - } - export interface UpdateTrafficPolicyCommentResponse { - /** - * A complex type that contains settings for the specified traffic policy. - */ - TrafficPolicy: TrafficPolicy; - } - export interface UpdateTrafficPolicyInstanceRequest { - /** - * The ID of the traffic policy instance that you want to update. - */ - Id: TrafficPolicyInstanceId; - /** - * The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets. - */ - TTL: TTL; - /** - * The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance. - */ - TrafficPolicyId: TrafficPolicyId; - /** - * The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance. - */ - TrafficPolicyVersion: TrafficPolicyVersion; - } - export interface UpdateTrafficPolicyInstanceResponse { - /** - * A complex type that contains settings for the updated traffic policy instance. - */ - TrafficPolicyInstance: TrafficPolicyInstance; - } - export interface VPC { - /** - * (Private hosted zones only) The region in which you created an Amazon VPC. - */ - VPCRegion?: VPCRegion; - VPCId?: VPCId; - } - export type VPCId = string; - export type VPCRegion = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"eu-west-1"|"eu-west-2"|"eu-central-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-south-1"|"ap-northeast-1"|"ap-northeast-2"|"sa-east-1"|"ca-central-1"|"cn-north-1"|string; - export type VPCs = VPC[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2013-04-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Route53 client. - */ - export import Types = Route53; -} -export = Route53; diff --git a/src/node_modules/aws-sdk/clients/route53.js b/src/node_modules/aws-sdk/clients/route53.js deleted file mode 100644 index 87a3144..0000000 --- a/src/node_modules/aws-sdk/clients/route53.js +++ /dev/null @@ -1,20 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['route53'] = {}; -AWS.Route53 = Service.defineService('route53', ['2013-04-01']); -require('../lib/services/route53'); -Object.defineProperty(apiLoader.services['route53'], '2013-04-01', { - get: function get() { - var model = require('../apis/route53-2013-04-01.min.json'); - model.paginators = require('../apis/route53-2013-04-01.paginators.json').pagination; - model.waiters = require('../apis/route53-2013-04-01.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Route53; diff --git a/src/node_modules/aws-sdk/clients/route53domains.d.ts b/src/node_modules/aws-sdk/clients/route53domains.d.ts deleted file mode 100644 index 1a8c411..0000000 --- a/src/node_modules/aws-sdk/clients/route53domains.d.ts +++ /dev/null @@ -1,968 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Route53Domains extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Route53Domains.Types.ClientConfiguration) - config: Config & Route53Domains.Types.ClientConfiguration; - /** - * This operation checks the availability of one domain name. Note that if the availability status of a domain is pending, you must submit another request to determine the availability of the domain name. - */ - checkDomainAvailability(params: Route53Domains.Types.CheckDomainAvailabilityRequest, callback?: (err: AWSError, data: Route53Domains.Types.CheckDomainAvailabilityResponse) => void): Request; - /** - * This operation checks the availability of one domain name. Note that if the availability status of a domain is pending, you must submit another request to determine the availability of the domain name. - */ - checkDomainAvailability(callback?: (err: AWSError, data: Route53Domains.Types.CheckDomainAvailabilityResponse) => void): Request; - /** - * This operation deletes the specified tags for a domain. All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations. - */ - deleteTagsForDomain(params: Route53Domains.Types.DeleteTagsForDomainRequest, callback?: (err: AWSError, data: Route53Domains.Types.DeleteTagsForDomainResponse) => void): Request; - /** - * This operation deletes the specified tags for a domain. All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations. - */ - deleteTagsForDomain(callback?: (err: AWSError, data: Route53Domains.Types.DeleteTagsForDomainResponse) => void): Request; - /** - * This operation disables automatic renewal of domain registration for the specified domain. - */ - disableDomainAutoRenew(params: Route53Domains.Types.DisableDomainAutoRenewRequest, callback?: (err: AWSError, data: Route53Domains.Types.DisableDomainAutoRenewResponse) => void): Request; - /** - * This operation disables automatic renewal of domain registration for the specified domain. - */ - disableDomainAutoRenew(callback?: (err: AWSError, data: Route53Domains.Types.DisableDomainAutoRenewResponse) => void): Request; - /** - * This operation removes the transfer lock on the domain (specifically the clientTransferProhibited status) to allow domain transfers. We recommend you refrain from performing this action unless you intend to transfer the domain to a different registrar. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email. - */ - disableDomainTransferLock(params: Route53Domains.Types.DisableDomainTransferLockRequest, callback?: (err: AWSError, data: Route53Domains.Types.DisableDomainTransferLockResponse) => void): Request; - /** - * This operation removes the transfer lock on the domain (specifically the clientTransferProhibited status) to allow domain transfers. We recommend you refrain from performing this action unless you intend to transfer the domain to a different registrar. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email. - */ - disableDomainTransferLock(callback?: (err: AWSError, data: Route53Domains.Types.DisableDomainTransferLockResponse) => void): Request; - /** - * This operation configures Amazon Route 53 to automatically renew the specified domain before the domain registration expires. The cost of renewing your domain registration is billed to your AWS account. The period during which you can renew a domain name varies by TLD. For a list of TLDs and their renewal policies, see "Renewal, restoration, and deletion times" on the website for our registrar partner, Gandi. Route 53 requires that you renew before the end of the renewal period that is listed on the Gandi website so we can complete processing before the deadline. - */ - enableDomainAutoRenew(params: Route53Domains.Types.EnableDomainAutoRenewRequest, callback?: (err: AWSError, data: Route53Domains.Types.EnableDomainAutoRenewResponse) => void): Request; - /** - * This operation configures Amazon Route 53 to automatically renew the specified domain before the domain registration expires. The cost of renewing your domain registration is billed to your AWS account. The period during which you can renew a domain name varies by TLD. For a list of TLDs and their renewal policies, see "Renewal, restoration, and deletion times" on the website for our registrar partner, Gandi. Route 53 requires that you renew before the end of the renewal period that is listed on the Gandi website so we can complete processing before the deadline. - */ - enableDomainAutoRenew(callback?: (err: AWSError, data: Route53Domains.Types.EnableDomainAutoRenewResponse) => void): Request; - /** - * This operation sets the transfer lock on the domain (specifically the clientTransferProhibited status) to prevent domain transfers. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email. - */ - enableDomainTransferLock(params: Route53Domains.Types.EnableDomainTransferLockRequest, callback?: (err: AWSError, data: Route53Domains.Types.EnableDomainTransferLockResponse) => void): Request; - /** - * This operation sets the transfer lock on the domain (specifically the clientTransferProhibited status) to prevent domain transfers. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email. - */ - enableDomainTransferLock(callback?: (err: AWSError, data: Route53Domains.Types.EnableDomainTransferLockResponse) => void): Request; - /** - * For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation returns information about whether the registrant contact has responded. If you want us to resend the email, use the ResendContactReachabilityEmail operation. - */ - getContactReachabilityStatus(params: Route53Domains.Types.GetContactReachabilityStatusRequest, callback?: (err: AWSError, data: Route53Domains.Types.GetContactReachabilityStatusResponse) => void): Request; - /** - * For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation returns information about whether the registrant contact has responded. If you want us to resend the email, use the ResendContactReachabilityEmail operation. - */ - getContactReachabilityStatus(callback?: (err: AWSError, data: Route53Domains.Types.GetContactReachabilityStatusResponse) => void): Request; - /** - * This operation returns detailed information about a specified domain that is associated with the current AWS account. Contact information for the domain is also returned as part of the output. - */ - getDomainDetail(params: Route53Domains.Types.GetDomainDetailRequest, callback?: (err: AWSError, data: Route53Domains.Types.GetDomainDetailResponse) => void): Request; - /** - * This operation returns detailed information about a specified domain that is associated with the current AWS account. Contact information for the domain is also returned as part of the output. - */ - getDomainDetail(callback?: (err: AWSError, data: Route53Domains.Types.GetDomainDetailResponse) => void): Request; - /** - * The GetDomainSuggestions operation returns a list of suggested domain names given a string, which can either be a domain name or simply a word or phrase (without spaces). - */ - getDomainSuggestions(params: Route53Domains.Types.GetDomainSuggestionsRequest, callback?: (err: AWSError, data: Route53Domains.Types.GetDomainSuggestionsResponse) => void): Request; - /** - * The GetDomainSuggestions operation returns a list of suggested domain names given a string, which can either be a domain name or simply a word or phrase (without spaces). - */ - getDomainSuggestions(callback?: (err: AWSError, data: Route53Domains.Types.GetDomainSuggestionsResponse) => void): Request; - /** - * This operation returns the current status of an operation that is not completed. - */ - getOperationDetail(params: Route53Domains.Types.GetOperationDetailRequest, callback?: (err: AWSError, data: Route53Domains.Types.GetOperationDetailResponse) => void): Request; - /** - * This operation returns the current status of an operation that is not completed. - */ - getOperationDetail(callback?: (err: AWSError, data: Route53Domains.Types.GetOperationDetailResponse) => void): Request; - /** - * This operation returns all the domain names registered with Amazon Route 53 for the current AWS account. - */ - listDomains(params: Route53Domains.Types.ListDomainsRequest, callback?: (err: AWSError, data: Route53Domains.Types.ListDomainsResponse) => void): Request; - /** - * This operation returns all the domain names registered with Amazon Route 53 for the current AWS account. - */ - listDomains(callback?: (err: AWSError, data: Route53Domains.Types.ListDomainsResponse) => void): Request; - /** - * This operation returns the operation IDs of operations that are not yet complete. - */ - listOperations(params: Route53Domains.Types.ListOperationsRequest, callback?: (err: AWSError, data: Route53Domains.Types.ListOperationsResponse) => void): Request; - /** - * This operation returns the operation IDs of operations that are not yet complete. - */ - listOperations(callback?: (err: AWSError, data: Route53Domains.Types.ListOperationsResponse) => void): Request; - /** - * This operation returns all of the tags that are associated with the specified domain. All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations. - */ - listTagsForDomain(params: Route53Domains.Types.ListTagsForDomainRequest, callback?: (err: AWSError, data: Route53Domains.Types.ListTagsForDomainResponse) => void): Request; - /** - * This operation returns all of the tags that are associated with the specified domain. All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations. - */ - listTagsForDomain(callback?: (err: AWSError, data: Route53Domains.Types.ListTagsForDomainResponse) => void): Request; - /** - * This operation registers a domain. Domains are registered by the AWS registrar partner, Gandi. For some top-level domains (TLDs), this operation requires extra parameters. When you register a domain, Amazon Route 53 does the following: Creates a Amazon Route 53 hosted zone that has the same name as the domain. Amazon Route 53 assigns four name servers to your hosted zone and automatically updates your domain registration with the names of these name servers. Enables autorenew, so your domain registration will renew automatically each year. We'll notify you in advance of the renewal date so you can choose whether to renew the registration. Optionally enables privacy protection, so WHOIS queries return contact information for our registrar partner, Gandi, instead of the information you entered for registrant, admin, and tech contacts. If registration is successful, returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant is notified by email. Charges your AWS account an amount based on the top-level domain. For more information, see Amazon Route 53 Pricing. - */ - registerDomain(params: Route53Domains.Types.RegisterDomainRequest, callback?: (err: AWSError, data: Route53Domains.Types.RegisterDomainResponse) => void): Request; - /** - * This operation registers a domain. Domains are registered by the AWS registrar partner, Gandi. For some top-level domains (TLDs), this operation requires extra parameters. When you register a domain, Amazon Route 53 does the following: Creates a Amazon Route 53 hosted zone that has the same name as the domain. Amazon Route 53 assigns four name servers to your hosted zone and automatically updates your domain registration with the names of these name servers. Enables autorenew, so your domain registration will renew automatically each year. We'll notify you in advance of the renewal date so you can choose whether to renew the registration. Optionally enables privacy protection, so WHOIS queries return contact information for our registrar partner, Gandi, instead of the information you entered for registrant, admin, and tech contacts. If registration is successful, returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant is notified by email. Charges your AWS account an amount based on the top-level domain. For more information, see Amazon Route 53 Pricing. - */ - registerDomain(callback?: (err: AWSError, data: Route53Domains.Types.RegisterDomainResponse) => void): Request; - /** - * This operation renews a domain for the specified number of years. The cost of renewing your domain is billed to your AWS account. We recommend that you renew your domain several weeks before the expiration date. Some TLD registries delete domains before the expiration date if you haven't renewed far enough in advance. For more information about renewing domain registration, see Renewing Registration for a Domain in the Amazon Route 53 Developer Guide. - */ - renewDomain(params: Route53Domains.Types.RenewDomainRequest, callback?: (err: AWSError, data: Route53Domains.Types.RenewDomainResponse) => void): Request; - /** - * This operation renews a domain for the specified number of years. The cost of renewing your domain is billed to your AWS account. We recommend that you renew your domain several weeks before the expiration date. Some TLD registries delete domains before the expiration date if you haven't renewed far enough in advance. For more information about renewing domain registration, see Renewing Registration for a Domain in the Amazon Route 53 Developer Guide. - */ - renewDomain(callback?: (err: AWSError, data: Route53Domains.Types.RenewDomainResponse) => void): Request; - /** - * For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation resends the confirmation email to the current email address for the registrant contact. - */ - resendContactReachabilityEmail(params: Route53Domains.Types.ResendContactReachabilityEmailRequest, callback?: (err: AWSError, data: Route53Domains.Types.ResendContactReachabilityEmailResponse) => void): Request; - /** - * For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation resends the confirmation email to the current email address for the registrant contact. - */ - resendContactReachabilityEmail(callback?: (err: AWSError, data: Route53Domains.Types.ResendContactReachabilityEmailResponse) => void): Request; - /** - * This operation returns the AuthCode for the domain. To transfer a domain to another registrar, you provide this value to the new registrar. - */ - retrieveDomainAuthCode(params: Route53Domains.Types.RetrieveDomainAuthCodeRequest, callback?: (err: AWSError, data: Route53Domains.Types.RetrieveDomainAuthCodeResponse) => void): Request; - /** - * This operation returns the AuthCode for the domain. To transfer a domain to another registrar, you provide this value to the new registrar. - */ - retrieveDomainAuthCode(callback?: (err: AWSError, data: Route53Domains.Types.RetrieveDomainAuthCodeResponse) => void): Request; - /** - * This operation transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered with the AWS registrar partner, Gandi. For transfer requirements, a detailed procedure, and information about viewing the status of a domain transfer, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide. If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you consider transferring your DNS service to Amazon Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time. If the registrar for your domain is also the DNS service provider for the domain and you don't transfer DNS service to another provider, your website, email, and the web applications associated with the domain might become unavailable. If the transfer is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the transfer doesn't complete successfully, the domain registrant will be notified by email. - */ - transferDomain(params: Route53Domains.Types.TransferDomainRequest, callback?: (err: AWSError, data: Route53Domains.Types.TransferDomainResponse) => void): Request; - /** - * This operation transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered with the AWS registrar partner, Gandi. For transfer requirements, a detailed procedure, and information about viewing the status of a domain transfer, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide. If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you consider transferring your DNS service to Amazon Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time. If the registrar for your domain is also the DNS service provider for the domain and you don't transfer DNS service to another provider, your website, email, and the web applications associated with the domain might become unavailable. If the transfer is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the transfer doesn't complete successfully, the domain registrant will be notified by email. - */ - transferDomain(callback?: (err: AWSError, data: Route53Domains.Types.TransferDomainResponse) => void): Request; - /** - * This operation updates the contact information for a particular domain. Information for at least one contact (registrant, administrator, or technical) must be supplied for update. If the update is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email. - */ - updateDomainContact(params: Route53Domains.Types.UpdateDomainContactRequest, callback?: (err: AWSError, data: Route53Domains.Types.UpdateDomainContactResponse) => void): Request; - /** - * This operation updates the contact information for a particular domain. Information for at least one contact (registrant, administrator, or technical) must be supplied for update. If the update is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email. - */ - updateDomainContact(callback?: (err: AWSError, data: Route53Domains.Types.UpdateDomainContactResponse) => void): Request; - /** - * This operation updates the specified domain contact's privacy setting. When the privacy option is enabled, personal information such as postal or email address is hidden from the results of a public WHOIS query. The privacy services are provided by the AWS registrar, Gandi. For more information, see the Gandi privacy features. This operation only affects the privacy of the specified contact type (registrant, administrator, or tech). Successful acceptance returns an operation ID that you can use with GetOperationDetail to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email. - */ - updateDomainContactPrivacy(params: Route53Domains.Types.UpdateDomainContactPrivacyRequest, callback?: (err: AWSError, data: Route53Domains.Types.UpdateDomainContactPrivacyResponse) => void): Request; - /** - * This operation updates the specified domain contact's privacy setting. When the privacy option is enabled, personal information such as postal or email address is hidden from the results of a public WHOIS query. The privacy services are provided by the AWS registrar, Gandi. For more information, see the Gandi privacy features. This operation only affects the privacy of the specified contact type (registrant, administrator, or tech). Successful acceptance returns an operation ID that you can use with GetOperationDetail to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email. - */ - updateDomainContactPrivacy(callback?: (err: AWSError, data: Route53Domains.Types.UpdateDomainContactPrivacyResponse) => void): Request; - /** - * This operation replaces the current set of name servers for the domain with the specified set of name servers. If you use Amazon Route 53 as your DNS service, specify the four name servers in the delegation set for the hosted zone for the domain. If successful, this operation returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email. - */ - updateDomainNameservers(params: Route53Domains.Types.UpdateDomainNameserversRequest, callback?: (err: AWSError, data: Route53Domains.Types.UpdateDomainNameserversResponse) => void): Request; - /** - * This operation replaces the current set of name servers for the domain with the specified set of name servers. If you use Amazon Route 53 as your DNS service, specify the four name servers in the delegation set for the hosted zone for the domain. If successful, this operation returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email. - */ - updateDomainNameservers(callback?: (err: AWSError, data: Route53Domains.Types.UpdateDomainNameserversResponse) => void): Request; - /** - * This operation adds or updates tags for a specified domain. All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations. - */ - updateTagsForDomain(params: Route53Domains.Types.UpdateTagsForDomainRequest, callback?: (err: AWSError, data: Route53Domains.Types.UpdateTagsForDomainResponse) => void): Request; - /** - * This operation adds or updates tags for a specified domain. All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations. - */ - updateTagsForDomain(callback?: (err: AWSError, data: Route53Domains.Types.UpdateTagsForDomainResponse) => void): Request; - /** - * Returns all the domain-related billing records for the current AWS account for a specified period - */ - viewBilling(params: Route53Domains.Types.ViewBillingRequest, callback?: (err: AWSError, data: Route53Domains.Types.ViewBillingResponse) => void): Request; - /** - * Returns all the domain-related billing records for the current AWS account for a specified period - */ - viewBilling(callback?: (err: AWSError, data: Route53Domains.Types.ViewBillingResponse) => void): Request; -} -declare namespace Route53Domains { - export type AddressLine = string; - export interface BillingRecord { - /** - * The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guidezzz. - */ - DomainName?: DomainName; - /** - * The operation that you were charged for. - */ - Operation?: OperationType; - /** - * The ID of the invoice that is associated with the billing record. - */ - InvoiceId?: InvoiceId; - /** - * The date that the operation was billed, in Unix format. - */ - BillDate?: Timestamp; - /** - * The price that you were charged for the operation, in US dollars. Example value: 12.0 - */ - Price?: Price; - } - export type BillingRecords = BillingRecord[]; - export type Boolean = boolean; - export interface CheckDomainAvailabilityRequest { - /** - * The name of the domain that you want to get availability for. Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported. - */ - DomainName: DomainName; - /** - * Reserved for future use. - */ - IdnLangCode?: LangCode; - } - export interface CheckDomainAvailabilityResponse { - /** - * Whether the domain name is available for registering. You can only register domains designated as AVAILABLE. Valid values: AVAILABLE The domain name is available. AVAILABLE_RESERVED The domain name is reserved under specific conditions. AVAILABLE_PREORDER The domain name is available and can be preordered. DONT_KNOW The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later. PENDING The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately. RESERVED The domain name has been reserved for another person or organization. UNAVAILABLE The domain name is not available. UNAVAILABLE_PREMIUM The domain name is not available. UNAVAILABLE_RESTRICTED The domain name is forbidden. - */ - Availability: DomainAvailability; - } - export type City = string; - export interface ContactDetail { - /** - * First name of contact. - */ - FirstName?: ContactName; - /** - * Last name of contact. - */ - LastName?: ContactName; - /** - * Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON, you must enter an organization name, and you can't enable privacy protection for the contact. - */ - ContactType?: ContactType; - /** - * Name of the organization for contact types other than PERSON. - */ - OrganizationName?: ContactName; - /** - * First line of the contact's address. - */ - AddressLine1?: AddressLine; - /** - * Second line of contact's address, if any. - */ - AddressLine2?: AddressLine; - /** - * The city of the contact's address. - */ - City?: City; - /** - * The state or province of the contact's city. - */ - State?: State; - /** - * Code for the country of the contact's address. - */ - CountryCode?: CountryCode; - /** - * The zip or postal code of the contact's address. - */ - ZipCode?: ZipCode; - /** - * The phone number of the contact. Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890". - */ - PhoneNumber?: ContactNumber; - /** - * Email address of the contact. - */ - Email?: Email; - /** - * Fax number of the contact. Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890". - */ - Fax?: ContactNumber; - /** - * A list of name-value pairs for parameters required by certain top-level domains. - */ - ExtraParams?: ExtraParamList; - } - export type ContactName = string; - export type ContactNumber = string; - export type ContactType = "PERSON"|"COMPANY"|"ASSOCIATION"|"PUBLIC_BODY"|"RESELLER"|string; - export type CountryCode = "AD"|"AE"|"AF"|"AG"|"AI"|"AL"|"AM"|"AN"|"AO"|"AQ"|"AR"|"AS"|"AT"|"AU"|"AW"|"AZ"|"BA"|"BB"|"BD"|"BE"|"BF"|"BG"|"BH"|"BI"|"BJ"|"BL"|"BM"|"BN"|"BO"|"BR"|"BS"|"BT"|"BW"|"BY"|"BZ"|"CA"|"CC"|"CD"|"CF"|"CG"|"CH"|"CI"|"CK"|"CL"|"CM"|"CN"|"CO"|"CR"|"CU"|"CV"|"CX"|"CY"|"CZ"|"DE"|"DJ"|"DK"|"DM"|"DO"|"DZ"|"EC"|"EE"|"EG"|"ER"|"ES"|"ET"|"FI"|"FJ"|"FK"|"FM"|"FO"|"FR"|"GA"|"GB"|"GD"|"GE"|"GH"|"GI"|"GL"|"GM"|"GN"|"GQ"|"GR"|"GT"|"GU"|"GW"|"GY"|"HK"|"HN"|"HR"|"HT"|"HU"|"ID"|"IE"|"IL"|"IM"|"IN"|"IQ"|"IR"|"IS"|"IT"|"JM"|"JO"|"JP"|"KE"|"KG"|"KH"|"KI"|"KM"|"KN"|"KP"|"KR"|"KW"|"KY"|"KZ"|"LA"|"LB"|"LC"|"LI"|"LK"|"LR"|"LS"|"LT"|"LU"|"LV"|"LY"|"MA"|"MC"|"MD"|"ME"|"MF"|"MG"|"MH"|"MK"|"ML"|"MM"|"MN"|"MO"|"MP"|"MR"|"MS"|"MT"|"MU"|"MV"|"MW"|"MX"|"MY"|"MZ"|"NA"|"NC"|"NE"|"NG"|"NI"|"NL"|"NO"|"NP"|"NR"|"NU"|"NZ"|"OM"|"PA"|"PE"|"PF"|"PG"|"PH"|"PK"|"PL"|"PM"|"PN"|"PR"|"PT"|"PW"|"PY"|"QA"|"RO"|"RS"|"RU"|"RW"|"SA"|"SB"|"SC"|"SD"|"SE"|"SG"|"SH"|"SI"|"SK"|"SL"|"SM"|"SN"|"SO"|"SR"|"ST"|"SV"|"SY"|"SZ"|"TC"|"TD"|"TG"|"TH"|"TJ"|"TK"|"TL"|"TM"|"TN"|"TO"|"TR"|"TT"|"TV"|"TW"|"TZ"|"UA"|"UG"|"US"|"UY"|"UZ"|"VA"|"VC"|"VE"|"VG"|"VI"|"VN"|"VU"|"WF"|"WS"|"YE"|"YT"|"ZA"|"ZM"|"ZW"|string; - export type CurrentExpiryYear = number; - export type DNSSec = string; - export interface DeleteTagsForDomainRequest { - /** - * The domain for which you want to delete one or more tags. - */ - DomainName: DomainName; - /** - * A list of tag keys to delete. - */ - TagsToDelete: TagKeyList; - } - export interface DeleteTagsForDomainResponse { - } - export interface DisableDomainAutoRenewRequest { - /** - * The name of the domain that you want to disable automatic renewal for. - */ - DomainName: DomainName; - } - export interface DisableDomainAutoRenewResponse { - } - export interface DisableDomainTransferLockRequest { - /** - * The name of the domain that you want to remove the transfer lock for. - */ - DomainName: DomainName; - } - export interface DisableDomainTransferLockResponse { - /** - * Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. - */ - OperationId: OperationId; - } - export type DomainAuthCode = string; - export type DomainAvailability = "AVAILABLE"|"AVAILABLE_RESERVED"|"AVAILABLE_PREORDER"|"UNAVAILABLE"|"UNAVAILABLE_PREMIUM"|"UNAVAILABLE_RESTRICTED"|"RESERVED"|"DONT_KNOW"|string; - export type DomainName = string; - export type DomainStatus = string; - export type DomainStatusList = DomainStatus[]; - export interface DomainSuggestion { - /** - * A suggested domain name. - */ - DomainName?: DomainName; - /** - * Whether the domain name is available for registering. You can register only the domains that are designated as AVAILABLE. Valid values: AVAILABLE The domain name is available. AVAILABLE_RESERVED The domain name is reserved under specific conditions. AVAILABLE_PREORDER The domain name is available and can be preordered. DONT_KNOW The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later. PENDING The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately. RESERVED The domain name has been reserved for another person or organization. UNAVAILABLE The domain name is not available. UNAVAILABLE_PREMIUM The domain name is not available. UNAVAILABLE_RESTRICTED The domain name is forbidden. - */ - Availability?: String; - } - export type DomainSuggestionsList = DomainSuggestion[]; - export interface DomainSummary { - /** - * The name of the domain that the summary information applies to. - */ - DomainName: DomainName; - /** - * Indicates whether the domain is automatically renewed upon expiration. - */ - AutoRenew?: Boolean; - /** - * Indicates whether a domain is locked from unauthorized transfer to another party. - */ - TransferLock?: Boolean; - /** - * Expiration date of the domain in Coordinated Universal Time (UTC). - */ - Expiry?: Timestamp; - } - export type DomainSummaryList = DomainSummary[]; - export type DurationInYears = number; - export type Email = string; - export interface EnableDomainAutoRenewRequest { - /** - * The name of the domain that you want to enable automatic renewal for. - */ - DomainName: DomainName; - } - export interface EnableDomainAutoRenewResponse { - } - export interface EnableDomainTransferLockRequest { - /** - * The name of the domain that you want to set the transfer lock for. - */ - DomainName: DomainName; - } - export interface EnableDomainTransferLockResponse { - /** - * Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. - */ - OperationId: OperationId; - } - export type ErrorMessage = string; - export interface ExtraParam { - /** - * Name of the additional parameter required by the top-level domain. - */ - Name: ExtraParamName; - /** - * Values corresponding to the additional parameter names required by some top-level domains. - */ - Value: ExtraParamValue; - } - export type ExtraParamList = ExtraParam[]; - export type ExtraParamName = "DUNS_NUMBER"|"BRAND_NUMBER"|"BIRTH_DEPARTMENT"|"BIRTH_DATE_IN_YYYY_MM_DD"|"BIRTH_COUNTRY"|"BIRTH_CITY"|"DOCUMENT_NUMBER"|"AU_ID_NUMBER"|"AU_ID_TYPE"|"CA_LEGAL_TYPE"|"CA_BUSINESS_ENTITY_TYPE"|"ES_IDENTIFICATION"|"ES_IDENTIFICATION_TYPE"|"ES_LEGAL_FORM"|"FI_BUSINESS_NUMBER"|"FI_ID_NUMBER"|"IT_PIN"|"RU_PASSPORT_DATA"|"SE_ID_NUMBER"|"SG_ID_NUMBER"|"VAT_NUMBER"|string; - export type ExtraParamValue = string; - export type FIAuthKey = string; - export interface GetContactReachabilityStatusRequest { - /** - * The name of the domain for which you want to know whether the registrant contact has confirmed that the email address is valid. - */ - domainName?: DomainName; - } - export interface GetContactReachabilityStatusResponse { - /** - * The domain name for which you requested the reachability status. - */ - domainName?: DomainName; - /** - * Whether the registrant contact has responded. Values include the following: PENDING We sent the confirmation email and haven't received a response yet. DONE We sent the email and got confirmation from the registrant contact. EXPIRED The time limit expired before the registrant contact responded. - */ - status?: ReachabilityStatus; - } - export interface GetDomainDetailRequest { - /** - * The name of the domain that you want to get detailed information about. - */ - DomainName: DomainName; - } - export interface GetDomainDetailResponse { - /** - * The name of a domain. - */ - DomainName: DomainName; - /** - * The name of the domain. - */ - Nameservers: NameserverList; - /** - * Specifies whether the domain registration is set to renew automatically. - */ - AutoRenew?: Boolean; - /** - * Provides details about the domain administrative contact. - */ - AdminContact: ContactDetail; - /** - * Provides details about the domain registrant. - */ - RegistrantContact: ContactDetail; - /** - * Provides details about the domain technical contact. - */ - TechContact: ContactDetail; - /** - * Specifies whether contact information for the admin contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. - */ - AdminPrivacy?: Boolean; - /** - * Specifies whether contact information for the registrant contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. - */ - RegistrantPrivacy?: Boolean; - /** - * Specifies whether contact information for the tech contact is concealed from WHOIS queries. If the value is true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. - */ - TechPrivacy?: Boolean; - /** - * Name of the registrar of the domain as identified in the registry. Amazon Route 53 domains are registered by registrar Gandi. The value is "GANDI SAS". - */ - RegistrarName?: RegistrarName; - /** - * The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain. - */ - WhoIsServer?: RegistrarWhoIsServer; - /** - * Web address of the registrar. - */ - RegistrarUrl?: RegistrarUrl; - /** - * Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse. - */ - AbuseContactEmail?: Email; - /** - * Phone number for reporting abuse. - */ - AbuseContactPhone?: ContactNumber; - /** - * Reserved for future use. - */ - RegistryDomainId?: RegistryDomainId; - /** - * The date when the domain was created as found in the response to a WHOIS query. The date format is Unix time. - */ - CreationDate?: Timestamp; - /** - * The last updated date of the domain as found in the response to a WHOIS query. The date format is Unix time. - */ - UpdatedDate?: Timestamp; - /** - * The date when the registration for the domain is set to expire. The date format is Unix time. - */ - ExpirationDate?: Timestamp; - /** - * Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have "Amazon" as the reseller. - */ - Reseller?: Reseller; - /** - * Reserved for future use. - */ - DnsSec?: DNSSec; - /** - * An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes. ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes. For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes. (Search on the ICANN website; web searches sometimes return an old version of the document.) - */ - StatusList?: DomainStatusList; - } - export interface GetDomainSuggestionsRequest { - /** - * A domain name that you want to use as the basis for a list of possible domain names. The domain name must contain a top-level domain (TLD), such as .com, that Amazon Route 53 supports. For a list of TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide. - */ - DomainName: DomainName; - /** - * The number of suggested domain names that you want Amazon Route 53 to return. - */ - SuggestionCount: Integer; - /** - * If OnlyAvailable is true, Amazon Route 53 returns only domain names that are available. If OnlyAvailable is false, Amazon Route 53 returns domain names without checking whether they're available to be registered. To determine whether the domain is available, you can call checkDomainAvailability for each suggestion. - */ - OnlyAvailable: Boolean; - } - export interface GetDomainSuggestionsResponse { - /** - * A list of possible domain names. If you specified true for OnlyAvailable in the request, the list contains only domains that are available for registration. - */ - SuggestionsList?: DomainSuggestionsList; - } - export interface GetOperationDetailRequest { - /** - * The identifier for the operation for which you want to get the status. Amazon Route 53 returned the identifier in the response to the original request. - */ - OperationId: OperationId; - } - export interface GetOperationDetailResponse { - /** - * The identifier for the operation. - */ - OperationId?: OperationId; - /** - * The current status of the requested operation in the system. - */ - Status?: OperationStatus; - /** - * Detailed information on the status including possible errors. - */ - Message?: ErrorMessage; - /** - * The name of a domain. - */ - DomainName?: DomainName; - /** - * The type of operation that was requested. - */ - Type?: OperationType; - /** - * The date when the request was submitted. - */ - SubmittedDate?: Timestamp; - } - export type GlueIp = string; - export type GlueIpList = GlueIp[]; - export type HostName = string; - export type Integer = number; - export type InvoiceId = string; - export type LangCode = string; - export interface ListDomainsRequest { - /** - * For an initial request for a list of domains, omit this element. If the number of domains that are associated with the current AWS account is greater than the value that you specified for MaxItems, you can use Marker to return additional domains. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element. Constraints: The marker must match the value specified in the previous request. - */ - Marker?: PageMarker; - /** - * Number of domains to be returned. Default: 20 - */ - MaxItems?: PageMaxItems; - } - export interface ListDomainsResponse { - /** - * A summary of domains. - */ - Domains: DomainSummaryList; - /** - * If there are more domains than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker. - */ - NextPageMarker?: PageMarker; - } - export interface ListOperationsRequest { - /** - * For an initial request for a list of operations, omit this element. If the number of operations that are not yet complete is greater than the value that you specified for MaxItems, you can use Marker to return additional operations. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element. - */ - Marker?: PageMarker; - /** - * Number of domains to be returned. Default: 20 - */ - MaxItems?: PageMaxItems; - } - export interface ListOperationsResponse { - /** - * Lists summaries of the operations. - */ - Operations: OperationSummaryList; - /** - * If there are more operations than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker. - */ - NextPageMarker?: PageMarker; - } - export interface ListTagsForDomainRequest { - /** - * The domain for which you want to get a list of tags. - */ - DomainName: DomainName; - } - export interface ListTagsForDomainResponse { - /** - * A list of the tags that are associated with the specified domain. - */ - TagList: TagList; - } - export interface Nameserver { - /** - * The fully qualified host name of the name server. Constraint: Maximum 255 characters - */ - Name: HostName; - /** - * Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com. Constraints: The list can contain only one IPv4 and one IPv6 address. - */ - GlueIps?: GlueIpList; - } - export type NameserverList = Nameserver[]; - export type OperationId = string; - export type OperationStatus = "SUBMITTED"|"IN_PROGRESS"|"ERROR"|"SUCCESSFUL"|"FAILED"|string; - export interface OperationSummary { - /** - * Identifier returned to track the requested action. - */ - OperationId: OperationId; - /** - * The current status of the requested operation in the system. - */ - Status: OperationStatus; - /** - * Type of the action requested. - */ - Type: OperationType; - /** - * The date when the request was submitted. - */ - SubmittedDate: Timestamp; - } - export type OperationSummaryList = OperationSummary[]; - export type OperationType = "REGISTER_DOMAIN"|"DELETE_DOMAIN"|"TRANSFER_IN_DOMAIN"|"UPDATE_DOMAIN_CONTACT"|"UPDATE_NAMESERVER"|"CHANGE_PRIVACY_PROTECTION"|"DOMAIN_LOCK"|string; - export type PageMarker = string; - export type PageMaxItems = number; - export type Price = number; - export type ReachabilityStatus = "PENDING"|"DONE"|"EXPIRED"|string; - export interface RegisterDomainRequest { - /** - * The domain name that you want to register. Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported. - */ - DomainName: DomainName; - /** - * Reserved for future use. - */ - IdnLangCode?: LangCode; - /** - * The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide. Default: 1 - */ - DurationInYears: DurationInYears; - /** - * Indicates whether the domain will be automatically renewed (true) or not (false). Autorenewal only takes effect after the account is charged. Default: true - */ - AutoRenew?: Boolean; - /** - * Provides detailed contact information. - */ - AdminContact: ContactDetail; - /** - * Provides detailed contact information. - */ - RegistrantContact: ContactDetail; - /** - * Provides detailed contact information. - */ - TechContact: ContactDetail; - /** - * Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Default: true - */ - PrivacyProtectAdminContact?: Boolean; - /** - * Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Default: true - */ - PrivacyProtectRegistrantContact?: Boolean; - /** - * Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Default: true - */ - PrivacyProtectTechContact?: Boolean; - } - export interface RegisterDomainResponse { - /** - * Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. - */ - OperationId: OperationId; - } - export type RegistrarName = string; - export type RegistrarUrl = string; - export type RegistrarWhoIsServer = string; - export type RegistryDomainId = string; - export interface RenewDomainRequest { - /** - * The name of the domain that you want to renew. - */ - DomainName: DomainName; - /** - * The number of years that you want to renew the domain for. The maximum number of years depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide. Default: 1 - */ - DurationInYears?: DurationInYears; - /** - * The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain. - */ - CurrentExpiryYear: CurrentExpiryYear; - } - export interface RenewDomainResponse { - /** - * The identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. - */ - OperationId: OperationId; - } - export type Reseller = string; - export interface ResendContactReachabilityEmailRequest { - /** - * The name of the domain for which you want Amazon Route 53 to resend a confirmation email to the registrant contact. - */ - domainName?: DomainName; - } - export interface ResendContactReachabilityEmailResponse { - /** - * The domain name for which you requested a confirmation email. - */ - domainName?: DomainName; - /** - * The email address for the registrant contact at the time that we sent the verification email. - */ - emailAddress?: Email; - /** - * True if the email address for the registrant contact has already been verified, and false otherwise. If the email address has already been verified, we don't send another confirmation email. - */ - isAlreadyVerified?: Boolean; - } - export interface RetrieveDomainAuthCodeRequest { - /** - * The name of the domain that you want to get an authorization code for. - */ - DomainName: DomainName; - } - export interface RetrieveDomainAuthCodeResponse { - /** - * The authorization code for the domain. - */ - AuthCode: DomainAuthCode; - } - export type State = string; - export type String = string; - export interface Tag { - /** - * The key (name) of a tag. Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@" Constraints: Each key can be 1-128 characters long. - */ - Key?: TagKey; - /** - * The value of a tag. Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@" Constraints: Each value can be 0-256 characters long. - */ - Value?: TagValue; - } - export type TagKey = string; - export type TagKeyList = TagKey[]; - export type TagList = Tag[]; - export type TagValue = string; - export type Timestamp = Date; - export interface TransferDomainRequest { - /** - * The name of the domain that you want to transfer to Amazon Route 53. Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported. - */ - DomainName: DomainName; - /** - * Reserved for future use. - */ - IdnLangCode?: LangCode; - /** - * The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. Default: 1 - */ - DurationInYears: DurationInYears; - /** - * Contains details for the host and glue IP addresses. - */ - Nameservers?: NameserverList; - /** - * The authorization code for the domain. You get this value from the current registrar. - */ - AuthCode?: DomainAuthCode; - /** - * Indicates whether the domain will be automatically renewed (true) or not (false). Autorenewal only takes effect after the account is charged. Default: true - */ - AutoRenew?: Boolean; - /** - * Provides detailed contact information. - */ - AdminContact: ContactDetail; - /** - * Provides detailed contact information. - */ - RegistrantContact: ContactDetail; - /** - * Provides detailed contact information. - */ - TechContact: ContactDetail; - /** - * Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Default: true - */ - PrivacyProtectAdminContact?: Boolean; - /** - * Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Default: true - */ - PrivacyProtectRegistrantContact?: Boolean; - /** - * Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Default: true - */ - PrivacyProtectTechContact?: Boolean; - } - export interface TransferDomainResponse { - /** - * Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. - */ - OperationId: OperationId; - } - export interface UpdateDomainContactPrivacyRequest { - /** - * The name of the domain that you want to update the privacy setting for. - */ - DomainName: DomainName; - /** - * Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. - */ - AdminPrivacy?: Boolean; - /** - * Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. - */ - RegistrantPrivacy?: Boolean; - /** - * Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. - */ - TechPrivacy?: Boolean; - } - export interface UpdateDomainContactPrivacyResponse { - /** - * Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. - */ - OperationId: OperationId; - } - export interface UpdateDomainContactRequest { - /** - * The name of the domain that you want to update contact information for. - */ - DomainName: DomainName; - /** - * Provides detailed contact information. - */ - AdminContact?: ContactDetail; - /** - * Provides detailed contact information. - */ - RegistrantContact?: ContactDetail; - /** - * Provides detailed contact information. - */ - TechContact?: ContactDetail; - } - export interface UpdateDomainContactResponse { - /** - * Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. - */ - OperationId: OperationId; - } - export interface UpdateDomainNameserversRequest { - /** - * The name of the domain that you want to change name servers for. - */ - DomainName: DomainName; - /** - * The authorization key for .fi domains - */ - FIAuthKey?: FIAuthKey; - /** - * A list of new name servers for the domain. - */ - Nameservers: NameserverList; - } - export interface UpdateDomainNameserversResponse { - /** - * Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. - */ - OperationId: OperationId; - } - export interface UpdateTagsForDomainRequest { - /** - * The domain for which you want to add or update tags. - */ - DomainName: DomainName; - /** - * A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced. - */ - TagsToUpdate?: TagList; - } - export interface UpdateTagsForDomainResponse { - } - export interface ViewBillingRequest { - /** - * The beginning date and time for the time period for which you want a list of billing records. Specify the date in Unix time format. - */ - Start?: Timestamp; - /** - * The end date and time for the time period for which you want a list of billing records. Specify the date in Unix time format. - */ - End?: Timestamp; - /** - * For an initial request for a list of billing records, omit this element. If the number of billing records that are associated with the current AWS account during the specified period is greater than the value that you specified for MaxItems, you can use Marker to return additional billing records. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element. Constraints: The marker must match the value of NextPageMarker that was returned in the previous response. - */ - Marker?: PageMarker; - /** - * The number of billing records to be returned. Default: 20 - */ - MaxItems?: PageMaxItems; - } - export interface ViewBillingResponse { - /** - * If there are more billing records than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker. - */ - NextPageMarker?: PageMarker; - /** - * A summary of billing records. - */ - BillingRecords?: BillingRecords; - } - export type ZipCode = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-05-15"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Route53Domains client. - */ - export import Types = Route53Domains; -} -export = Route53Domains; diff --git a/src/node_modules/aws-sdk/clients/route53domains.js b/src/node_modules/aws-sdk/clients/route53domains.js deleted file mode 100644 index f7d4a00..0000000 --- a/src/node_modules/aws-sdk/clients/route53domains.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['route53domains'] = {}; -AWS.Route53Domains = Service.defineService('route53domains', ['2014-05-15']); -Object.defineProperty(apiLoader.services['route53domains'], '2014-05-15', { - get: function get() { - var model = require('../apis/route53domains-2014-05-15.min.json'); - model.paginators = require('../apis/route53domains-2014-05-15.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Route53Domains; diff --git a/src/node_modules/aws-sdk/clients/s3.d.ts b/src/node_modules/aws-sdk/clients/s3.d.ts deleted file mode 100644 index f1cf2d9..0000000 --- a/src/node_modules/aws-sdk/clients/s3.d.ts +++ /dev/null @@ -1,3499 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {S3Customizations} from '../lib/services/s3'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -import {UseDualstackConfigOptions} from '../lib/config_use_dualstack'; -import {ManagedUpload as managed_upload} from '../lib/s3/managed_upload'; -import {PresignedPost as presigned_post} from '../lib/s3/presigned_post'; -interface Blob {} -declare class S3 extends S3Customizations { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: S3.Types.ClientConfiguration) - config: Config & S3.Types.ClientConfiguration; - /** - * Aborts a multipart upload.To verify that all parts have been removed, so you don't get charged for the part storage, you should call the List Parts operation and ensure the parts list is empty. - */ - abortMultipartUpload(params: S3.Types.AbortMultipartUploadRequest, callback?: (err: AWSError, data: S3.Types.AbortMultipartUploadOutput) => void): Request; - /** - * Aborts a multipart upload.To verify that all parts have been removed, so you don't get charged for the part storage, you should call the List Parts operation and ensure the parts list is empty. - */ - abortMultipartUpload(callback?: (err: AWSError, data: S3.Types.AbortMultipartUploadOutput) => void): Request; - /** - * Completes a multipart upload by assembling previously uploaded parts. - */ - completeMultipartUpload(params: S3.Types.CompleteMultipartUploadRequest, callback?: (err: AWSError, data: S3.Types.CompleteMultipartUploadOutput) => void): Request; - /** - * Completes a multipart upload by assembling previously uploaded parts. - */ - completeMultipartUpload(callback?: (err: AWSError, data: S3.Types.CompleteMultipartUploadOutput) => void): Request; - /** - * Creates a copy of an object that is already stored in Amazon S3. - */ - copyObject(params: S3.Types.CopyObjectRequest, callback?: (err: AWSError, data: S3.Types.CopyObjectOutput) => void): Request; - /** - * Creates a copy of an object that is already stored in Amazon S3. - */ - copyObject(callback?: (err: AWSError, data: S3.Types.CopyObjectOutput) => void): Request; - /** - * Creates a new bucket. - */ - createBucket(params: S3.Types.CreateBucketRequest, callback?: (err: AWSError, data: S3.Types.CreateBucketOutput) => void): Request; - /** - * Creates a new bucket. - */ - createBucket(callback?: (err: AWSError, data: S3.Types.CreateBucketOutput) => void): Request; - /** - * Initiates a multipart upload and returns an upload ID.Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage. - */ - createMultipartUpload(params: S3.Types.CreateMultipartUploadRequest, callback?: (err: AWSError, data: S3.Types.CreateMultipartUploadOutput) => void): Request; - /** - * Initiates a multipart upload and returns an upload ID.Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage. - */ - createMultipartUpload(callback?: (err: AWSError, data: S3.Types.CreateMultipartUploadOutput) => void): Request; - /** - * Deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted. - */ - deleteBucket(params: S3.Types.DeleteBucketRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted. - */ - deleteBucket(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an analytics configuration for the bucket (specified by the analytics configuration ID). - */ - deleteBucketAnalyticsConfiguration(params: S3.Types.DeleteBucketAnalyticsConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an analytics configuration for the bucket (specified by the analytics configuration ID). - */ - deleteBucketAnalyticsConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the cors configuration information set for the bucket. - */ - deleteBucketCors(params: S3.Types.DeleteBucketCorsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the cors configuration information set for the bucket. - */ - deleteBucketCors(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an inventory configuration (identified by the inventory ID) from the bucket. - */ - deleteBucketInventoryConfiguration(params: S3.Types.DeleteBucketInventoryConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes an inventory configuration (identified by the inventory ID) from the bucket. - */ - deleteBucketInventoryConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the lifecycle configuration from the bucket. - */ - deleteBucketLifecycle(params: S3.Types.DeleteBucketLifecycleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the lifecycle configuration from the bucket. - */ - deleteBucketLifecycle(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a metrics configuration (specified by the metrics configuration ID) from the bucket. - */ - deleteBucketMetricsConfiguration(params: S3.Types.DeleteBucketMetricsConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a metrics configuration (specified by the metrics configuration ID) from the bucket. - */ - deleteBucketMetricsConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the policy from the bucket. - */ - deleteBucketPolicy(params: S3.Types.DeleteBucketPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the policy from the bucket. - */ - deleteBucketPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the replication configuration from the bucket. - */ - deleteBucketReplication(params: S3.Types.DeleteBucketReplicationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the replication configuration from the bucket. - */ - deleteBucketReplication(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the tags from the bucket. - */ - deleteBucketTagging(params: S3.Types.DeleteBucketTaggingRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the tags from the bucket. - */ - deleteBucketTagging(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation removes the website configuration from the bucket. - */ - deleteBucketWebsite(params: S3.Types.DeleteBucketWebsiteRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation removes the website configuration from the bucket. - */ - deleteBucketWebsite(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn't a null version, Amazon S3 does not remove any objects. - */ - deleteObject(params: S3.Types.DeleteObjectRequest, callback?: (err: AWSError, data: S3.Types.DeleteObjectOutput) => void): Request; - /** - * Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn't a null version, Amazon S3 does not remove any objects. - */ - deleteObject(callback?: (err: AWSError, data: S3.Types.DeleteObjectOutput) => void): Request; - /** - * Removes the tag-set from an existing object. - */ - deleteObjectTagging(params: S3.Types.DeleteObjectTaggingRequest, callback?: (err: AWSError, data: S3.Types.DeleteObjectTaggingOutput) => void): Request; - /** - * Removes the tag-set from an existing object. - */ - deleteObjectTagging(callback?: (err: AWSError, data: S3.Types.DeleteObjectTaggingOutput) => void): Request; - /** - * This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys. - */ - deleteObjects(params: S3.Types.DeleteObjectsRequest, callback?: (err: AWSError, data: S3.Types.DeleteObjectsOutput) => void): Request; - /** - * This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys. - */ - deleteObjects(callback?: (err: AWSError, data: S3.Types.DeleteObjectsOutput) => void): Request; - /** - * Returns the accelerate configuration of a bucket. - */ - getBucketAccelerateConfiguration(params: S3.Types.GetBucketAccelerateConfigurationRequest, callback?: (err: AWSError, data: S3.Types.GetBucketAccelerateConfigurationOutput) => void): Request; - /** - * Returns the accelerate configuration of a bucket. - */ - getBucketAccelerateConfiguration(callback?: (err: AWSError, data: S3.Types.GetBucketAccelerateConfigurationOutput) => void): Request; - /** - * Gets the access control policy for the bucket. - */ - getBucketAcl(params: S3.Types.GetBucketAclRequest, callback?: (err: AWSError, data: S3.Types.GetBucketAclOutput) => void): Request; - /** - * Gets the access control policy for the bucket. - */ - getBucketAcl(callback?: (err: AWSError, data: S3.Types.GetBucketAclOutput) => void): Request; - /** - * Gets an analytics configuration for the bucket (specified by the analytics configuration ID). - */ - getBucketAnalyticsConfiguration(params: S3.Types.GetBucketAnalyticsConfigurationRequest, callback?: (err: AWSError, data: S3.Types.GetBucketAnalyticsConfigurationOutput) => void): Request; - /** - * Gets an analytics configuration for the bucket (specified by the analytics configuration ID). - */ - getBucketAnalyticsConfiguration(callback?: (err: AWSError, data: S3.Types.GetBucketAnalyticsConfigurationOutput) => void): Request; - /** - * Returns the cors configuration for the bucket. - */ - getBucketCors(params: S3.Types.GetBucketCorsRequest, callback?: (err: AWSError, data: S3.Types.GetBucketCorsOutput) => void): Request; - /** - * Returns the cors configuration for the bucket. - */ - getBucketCors(callback?: (err: AWSError, data: S3.Types.GetBucketCorsOutput) => void): Request; - /** - * Returns an inventory configuration (identified by the inventory ID) from the bucket. - */ - getBucketInventoryConfiguration(params: S3.Types.GetBucketInventoryConfigurationRequest, callback?: (err: AWSError, data: S3.Types.GetBucketInventoryConfigurationOutput) => void): Request; - /** - * Returns an inventory configuration (identified by the inventory ID) from the bucket. - */ - getBucketInventoryConfiguration(callback?: (err: AWSError, data: S3.Types.GetBucketInventoryConfigurationOutput) => void): Request; - /** - * Deprecated, see the GetBucketLifecycleConfiguration operation. - */ - getBucketLifecycle(params: S3.Types.GetBucketLifecycleRequest, callback?: (err: AWSError, data: S3.Types.GetBucketLifecycleOutput) => void): Request; - /** - * Deprecated, see the GetBucketLifecycleConfiguration operation. - */ - getBucketLifecycle(callback?: (err: AWSError, data: S3.Types.GetBucketLifecycleOutput) => void): Request; - /** - * Returns the lifecycle configuration information set on the bucket. - */ - getBucketLifecycleConfiguration(params: S3.Types.GetBucketLifecycleConfigurationRequest, callback?: (err: AWSError, data: S3.Types.GetBucketLifecycleConfigurationOutput) => void): Request; - /** - * Returns the lifecycle configuration information set on the bucket. - */ - getBucketLifecycleConfiguration(callback?: (err: AWSError, data: S3.Types.GetBucketLifecycleConfigurationOutput) => void): Request; - /** - * Returns the region the bucket resides in. - */ - getBucketLocation(params: S3.Types.GetBucketLocationRequest, callback?: (err: AWSError, data: S3.Types.GetBucketLocationOutput) => void): Request; - /** - * Returns the region the bucket resides in. - */ - getBucketLocation(callback?: (err: AWSError, data: S3.Types.GetBucketLocationOutput) => void): Request; - /** - * Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner. - */ - getBucketLogging(params: S3.Types.GetBucketLoggingRequest, callback?: (err: AWSError, data: S3.Types.GetBucketLoggingOutput) => void): Request; - /** - * Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner. - */ - getBucketLogging(callback?: (err: AWSError, data: S3.Types.GetBucketLoggingOutput) => void): Request; - /** - * Gets a metrics configuration (specified by the metrics configuration ID) from the bucket. - */ - getBucketMetricsConfiguration(params: S3.Types.GetBucketMetricsConfigurationRequest, callback?: (err: AWSError, data: S3.Types.GetBucketMetricsConfigurationOutput) => void): Request; - /** - * Gets a metrics configuration (specified by the metrics configuration ID) from the bucket. - */ - getBucketMetricsConfiguration(callback?: (err: AWSError, data: S3.Types.GetBucketMetricsConfigurationOutput) => void): Request; - /** - * Deprecated, see the GetBucketNotificationConfiguration operation. - */ - getBucketNotification(params: S3.Types.GetBucketNotificationConfigurationRequest, callback?: (err: AWSError, data: S3.Types.NotificationConfigurationDeprecated) => void): Request; - /** - * Deprecated, see the GetBucketNotificationConfiguration operation. - */ - getBucketNotification(callback?: (err: AWSError, data: S3.Types.NotificationConfigurationDeprecated) => void): Request; - /** - * Returns the notification configuration of a bucket. - */ - getBucketNotificationConfiguration(params: S3.Types.GetBucketNotificationConfigurationRequest, callback?: (err: AWSError, data: S3.Types.NotificationConfiguration) => void): Request; - /** - * Returns the notification configuration of a bucket. - */ - getBucketNotificationConfiguration(callback?: (err: AWSError, data: S3.Types.NotificationConfiguration) => void): Request; - /** - * Returns the policy of a specified bucket. - */ - getBucketPolicy(params: S3.Types.GetBucketPolicyRequest, callback?: (err: AWSError, data: S3.Types.GetBucketPolicyOutput) => void): Request; - /** - * Returns the policy of a specified bucket. - */ - getBucketPolicy(callback?: (err: AWSError, data: S3.Types.GetBucketPolicyOutput) => void): Request; - /** - * Returns the replication configuration of a bucket. - */ - getBucketReplication(params: S3.Types.GetBucketReplicationRequest, callback?: (err: AWSError, data: S3.Types.GetBucketReplicationOutput) => void): Request; - /** - * Returns the replication configuration of a bucket. - */ - getBucketReplication(callback?: (err: AWSError, data: S3.Types.GetBucketReplicationOutput) => void): Request; - /** - * Returns the request payment configuration of a bucket. - */ - getBucketRequestPayment(params: S3.Types.GetBucketRequestPaymentRequest, callback?: (err: AWSError, data: S3.Types.GetBucketRequestPaymentOutput) => void): Request; - /** - * Returns the request payment configuration of a bucket. - */ - getBucketRequestPayment(callback?: (err: AWSError, data: S3.Types.GetBucketRequestPaymentOutput) => void): Request; - /** - * Returns the tag set associated with the bucket. - */ - getBucketTagging(params: S3.Types.GetBucketTaggingRequest, callback?: (err: AWSError, data: S3.Types.GetBucketTaggingOutput) => void): Request; - /** - * Returns the tag set associated with the bucket. - */ - getBucketTagging(callback?: (err: AWSError, data: S3.Types.GetBucketTaggingOutput) => void): Request; - /** - * Returns the versioning state of a bucket. - */ - getBucketVersioning(params: S3.Types.GetBucketVersioningRequest, callback?: (err: AWSError, data: S3.Types.GetBucketVersioningOutput) => void): Request; - /** - * Returns the versioning state of a bucket. - */ - getBucketVersioning(callback?: (err: AWSError, data: S3.Types.GetBucketVersioningOutput) => void): Request; - /** - * Returns the website configuration for a bucket. - */ - getBucketWebsite(params: S3.Types.GetBucketWebsiteRequest, callback?: (err: AWSError, data: S3.Types.GetBucketWebsiteOutput) => void): Request; - /** - * Returns the website configuration for a bucket. - */ - getBucketWebsite(callback?: (err: AWSError, data: S3.Types.GetBucketWebsiteOutput) => void): Request; - /** - * Retrieves objects from Amazon S3. - */ - getObject(params: S3.Types.GetObjectRequest, callback?: (err: AWSError, data: S3.Types.GetObjectOutput) => void): Request; - /** - * Retrieves objects from Amazon S3. - */ - getObject(callback?: (err: AWSError, data: S3.Types.GetObjectOutput) => void): Request; - /** - * Returns the access control list (ACL) of an object. - */ - getObjectAcl(params: S3.Types.GetObjectAclRequest, callback?: (err: AWSError, data: S3.Types.GetObjectAclOutput) => void): Request; - /** - * Returns the access control list (ACL) of an object. - */ - getObjectAcl(callback?: (err: AWSError, data: S3.Types.GetObjectAclOutput) => void): Request; - /** - * Returns the tag-set of an object. - */ - getObjectTagging(params: S3.Types.GetObjectTaggingRequest, callback?: (err: AWSError, data: S3.Types.GetObjectTaggingOutput) => void): Request; - /** - * Returns the tag-set of an object. - */ - getObjectTagging(callback?: (err: AWSError, data: S3.Types.GetObjectTaggingOutput) => void): Request; - /** - * Return torrent files from a bucket. - */ - getObjectTorrent(params: S3.Types.GetObjectTorrentRequest, callback?: (err: AWSError, data: S3.Types.GetObjectTorrentOutput) => void): Request; - /** - * Return torrent files from a bucket. - */ - getObjectTorrent(callback?: (err: AWSError, data: S3.Types.GetObjectTorrentOutput) => void): Request; - /** - * This operation is useful to determine if a bucket exists and you have permission to access it. - */ - headBucket(params: S3.Types.HeadBucketRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * This operation is useful to determine if a bucket exists and you have permission to access it. - */ - headBucket(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you're only interested in an object's metadata. To use HEAD, you must have READ access to the object. - */ - headObject(params: S3.Types.HeadObjectRequest, callback?: (err: AWSError, data: S3.Types.HeadObjectOutput) => void): Request; - /** - * The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you're only interested in an object's metadata. To use HEAD, you must have READ access to the object. - */ - headObject(callback?: (err: AWSError, data: S3.Types.HeadObjectOutput) => void): Request; - /** - * Lists the analytics configurations for the bucket. - */ - listBucketAnalyticsConfigurations(params: S3.Types.ListBucketAnalyticsConfigurationsRequest, callback?: (err: AWSError, data: S3.Types.ListBucketAnalyticsConfigurationsOutput) => void): Request; - /** - * Lists the analytics configurations for the bucket. - */ - listBucketAnalyticsConfigurations(callback?: (err: AWSError, data: S3.Types.ListBucketAnalyticsConfigurationsOutput) => void): Request; - /** - * Returns a list of inventory configurations for the bucket. - */ - listBucketInventoryConfigurations(params: S3.Types.ListBucketInventoryConfigurationsRequest, callback?: (err: AWSError, data: S3.Types.ListBucketInventoryConfigurationsOutput) => void): Request; - /** - * Returns a list of inventory configurations for the bucket. - */ - listBucketInventoryConfigurations(callback?: (err: AWSError, data: S3.Types.ListBucketInventoryConfigurationsOutput) => void): Request; - /** - * Lists the metrics configurations for the bucket. - */ - listBucketMetricsConfigurations(params: S3.Types.ListBucketMetricsConfigurationsRequest, callback?: (err: AWSError, data: S3.Types.ListBucketMetricsConfigurationsOutput) => void): Request; - /** - * Lists the metrics configurations for the bucket. - */ - listBucketMetricsConfigurations(callback?: (err: AWSError, data: S3.Types.ListBucketMetricsConfigurationsOutput) => void): Request; - /** - * Returns a list of all buckets owned by the authenticated sender of the request. - */ - listBuckets(callback?: (err: AWSError, data: S3.Types.ListBucketsOutput) => void): Request; - /** - * This operation lists in-progress multipart uploads. - */ - listMultipartUploads(params: S3.Types.ListMultipartUploadsRequest, callback?: (err: AWSError, data: S3.Types.ListMultipartUploadsOutput) => void): Request; - /** - * This operation lists in-progress multipart uploads. - */ - listMultipartUploads(callback?: (err: AWSError, data: S3.Types.ListMultipartUploadsOutput) => void): Request; - /** - * Returns metadata about all of the versions of objects in a bucket. - */ - listObjectVersions(params: S3.Types.ListObjectVersionsRequest, callback?: (err: AWSError, data: S3.Types.ListObjectVersionsOutput) => void): Request; - /** - * Returns metadata about all of the versions of objects in a bucket. - */ - listObjectVersions(callback?: (err: AWSError, data: S3.Types.ListObjectVersionsOutput) => void): Request; - /** - * Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. - */ - listObjects(params: S3.Types.ListObjectsRequest, callback?: (err: AWSError, data: S3.Types.ListObjectsOutput) => void): Request; - /** - * Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. - */ - listObjects(callback?: (err: AWSError, data: S3.Types.ListObjectsOutput) => void): Request; - /** - * Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. Note: ListObjectsV2 is the revised List Objects API and we recommend you use this revised API for new application development. - */ - listObjectsV2(params: S3.Types.ListObjectsV2Request, callback?: (err: AWSError, data: S3.Types.ListObjectsV2Output) => void): Request; - /** - * Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. Note: ListObjectsV2 is the revised List Objects API and we recommend you use this revised API for new application development. - */ - listObjectsV2(callback?: (err: AWSError, data: S3.Types.ListObjectsV2Output) => void): Request; - /** - * Lists the parts that have been uploaded for a specific multipart upload. - */ - listParts(params: S3.Types.ListPartsRequest, callback?: (err: AWSError, data: S3.Types.ListPartsOutput) => void): Request; - /** - * Lists the parts that have been uploaded for a specific multipart upload. - */ - listParts(callback?: (err: AWSError, data: S3.Types.ListPartsOutput) => void): Request; - /** - * Sets the accelerate configuration of an existing bucket. - */ - putBucketAccelerateConfiguration(params: S3.Types.PutBucketAccelerateConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the accelerate configuration of an existing bucket. - */ - putBucketAccelerateConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the permissions on a bucket using access control lists (ACL). - */ - putBucketAcl(params: S3.Types.PutBucketAclRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the permissions on a bucket using access control lists (ACL). - */ - putBucketAcl(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets an analytics configuration for the bucket (specified by the analytics configuration ID). - */ - putBucketAnalyticsConfiguration(params: S3.Types.PutBucketAnalyticsConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets an analytics configuration for the bucket (specified by the analytics configuration ID). - */ - putBucketAnalyticsConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the cors configuration for a bucket. - */ - putBucketCors(params: S3.Types.PutBucketCorsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the cors configuration for a bucket. - */ - putBucketCors(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds an inventory configuration (identified by the inventory ID) from the bucket. - */ - putBucketInventoryConfiguration(params: S3.Types.PutBucketInventoryConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds an inventory configuration (identified by the inventory ID) from the bucket. - */ - putBucketInventoryConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deprecated, see the PutBucketLifecycleConfiguration operation. - */ - putBucketLifecycle(params: S3.Types.PutBucketLifecycleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deprecated, see the PutBucketLifecycleConfiguration operation. - */ - putBucketLifecycle(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it. - */ - putBucketLifecycleConfiguration(params: S3.Types.PutBucketLifecycleConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it. - */ - putBucketLifecycleConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner. - */ - putBucketLogging(params: S3.Types.PutBucketLoggingRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner. - */ - putBucketLogging(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets a metrics configuration (specified by the metrics configuration ID) for the bucket. - */ - putBucketMetricsConfiguration(params: S3.Types.PutBucketMetricsConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets a metrics configuration (specified by the metrics configuration ID) for the bucket. - */ - putBucketMetricsConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deprecated, see the PutBucketNotificationConfiguraiton operation. - */ - putBucketNotification(params: S3.Types.PutBucketNotificationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deprecated, see the PutBucketNotificationConfiguraiton operation. - */ - putBucketNotification(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables notifications of specified events for a bucket. - */ - putBucketNotificationConfiguration(params: S3.Types.PutBucketNotificationConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Enables notifications of specified events for a bucket. - */ - putBucketNotificationConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Replaces a policy on a bucket. If the bucket already has a policy, the one in this request completely replaces it. - */ - putBucketPolicy(params: S3.Types.PutBucketPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Replaces a policy on a bucket. If the bucket already has a policy, the one in this request completely replaces it. - */ - putBucketPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a new replication configuration (or replaces an existing one, if present). - */ - putBucketReplication(params: S3.Types.PutBucketReplicationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Creates a new replication configuration (or replaces an existing one, if present). - */ - putBucketReplication(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download. Documentation on requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html - */ - putBucketRequestPayment(params: S3.Types.PutBucketRequestPaymentRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download. Documentation on requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html - */ - putBucketRequestPayment(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the tags for a bucket. - */ - putBucketTagging(params: S3.Types.PutBucketTaggingRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the tags for a bucket. - */ - putBucketTagging(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner. - */ - putBucketVersioning(params: S3.Types.PutBucketVersioningRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner. - */ - putBucketVersioning(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Set the website configuration for a bucket. - */ - putBucketWebsite(params: S3.Types.PutBucketWebsiteRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Set the website configuration for a bucket. - */ - putBucketWebsite(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds an object to a bucket. - */ - putObject(params: S3.Types.PutObjectRequest, callback?: (err: AWSError, data: S3.Types.PutObjectOutput) => void): Request; - /** - * Adds an object to a bucket. - */ - putObject(callback?: (err: AWSError, data: S3.Types.PutObjectOutput) => void): Request; - /** - * uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket - */ - putObjectAcl(params: S3.Types.PutObjectAclRequest, callback?: (err: AWSError, data: S3.Types.PutObjectAclOutput) => void): Request; - /** - * uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket - */ - putObjectAcl(callback?: (err: AWSError, data: S3.Types.PutObjectAclOutput) => void): Request; - /** - * Sets the supplied tag-set to an object that already exists in a bucket - */ - putObjectTagging(params: S3.Types.PutObjectTaggingRequest, callback?: (err: AWSError, data: S3.Types.PutObjectTaggingOutput) => void): Request; - /** - * Sets the supplied tag-set to an object that already exists in a bucket - */ - putObjectTagging(callback?: (err: AWSError, data: S3.Types.PutObjectTaggingOutput) => void): Request; - /** - * Restores an archived copy of an object back into Amazon S3 - */ - restoreObject(params: S3.Types.RestoreObjectRequest, callback?: (err: AWSError, data: S3.Types.RestoreObjectOutput) => void): Request; - /** - * Restores an archived copy of an object back into Amazon S3 - */ - restoreObject(callback?: (err: AWSError, data: S3.Types.RestoreObjectOutput) => void): Request; - /** - * Uploads a part in a multipart upload.Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage. - */ - uploadPart(params: S3.Types.UploadPartRequest, callback?: (err: AWSError, data: S3.Types.UploadPartOutput) => void): Request; - /** - * Uploads a part in a multipart upload.Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage. - */ - uploadPart(callback?: (err: AWSError, data: S3.Types.UploadPartOutput) => void): Request; - /** - * Uploads a part by copying data from an existing object as data source. - */ - uploadPartCopy(params: S3.Types.UploadPartCopyRequest, callback?: (err: AWSError, data: S3.Types.UploadPartCopyOutput) => void): Request; - /** - * Uploads a part by copying data from an existing object as data source. - */ - uploadPartCopy(callback?: (err: AWSError, data: S3.Types.UploadPartCopyOutput) => void): Request; - /** - * Waits for the bucketExists state by periodically calling the underlying S3.headBucketoperation every 5 seconds (at most 20 times). - */ - waitFor(state: "bucketExists", params: S3.Types.HeadBucketRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Waits for the bucketExists state by periodically calling the underlying S3.headBucketoperation every 5 seconds (at most 20 times). - */ - waitFor(state: "bucketExists", callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Waits for the bucketNotExists state by periodically calling the underlying S3.headBucketoperation every 5 seconds (at most 20 times). - */ - waitFor(state: "bucketNotExists", params: S3.Types.HeadBucketRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Waits for the bucketNotExists state by periodically calling the underlying S3.headBucketoperation every 5 seconds (at most 20 times). - */ - waitFor(state: "bucketNotExists", callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Waits for the objectExists state by periodically calling the underlying S3.headObjectoperation every 5 seconds (at most 20 times). - */ - waitFor(state: "objectExists", params: S3.Types.HeadObjectRequest, callback?: (err: AWSError, data: S3.Types.HeadObjectOutput) => void): Request; - /** - * Waits for the objectExists state by periodically calling the underlying S3.headObjectoperation every 5 seconds (at most 20 times). - */ - waitFor(state: "objectExists", callback?: (err: AWSError, data: S3.Types.HeadObjectOutput) => void): Request; - /** - * Waits for the objectNotExists state by periodically calling the underlying S3.headObjectoperation every 5 seconds (at most 20 times). - */ - waitFor(state: "objectNotExists", params: S3.Types.HeadObjectRequest, callback?: (err: AWSError, data: S3.Types.HeadObjectOutput) => void): Request; - /** - * Waits for the objectNotExists state by periodically calling the underlying S3.headObjectoperation every 5 seconds (at most 20 times). - */ - waitFor(state: "objectNotExists", callback?: (err: AWSError, data: S3.Types.HeadObjectOutput) => void): Request; -} -declare namespace S3 { - export import ManagedUpload = managed_upload; - export import PresignedPost = presigned_post; -} -declare namespace S3 { - export type AbortDate = Date; - export interface AbortIncompleteMultipartUpload { - /** - * Indicates the number of days that must pass since initiation for Lifecycle to abort an Incomplete Multipart Upload. - */ - DaysAfterInitiation?: DaysAfterInitiation; - } - export interface AbortMultipartUploadOutput { - RequestCharged?: RequestCharged; - } - export interface AbortMultipartUploadRequest { - Bucket: BucketName; - Key: ObjectKey; - UploadId: MultipartUploadId; - RequestPayer?: RequestPayer; - } - export type AbortRuleId = string; - export interface AccelerateConfiguration { - /** - * The accelerate configuration of the bucket. - */ - Status?: BucketAccelerateStatus; - } - export type AcceptRanges = string; - export interface AccessControlPolicy { - /** - * A list of grants. - */ - Grants?: Grants; - Owner?: Owner; - } - export type AccountId = string; - export type AllowedHeader = string; - export type AllowedHeaders = AllowedHeader[]; - export type AllowedMethod = string; - export type AllowedMethods = AllowedMethod[]; - export type AllowedOrigin = string; - export type AllowedOrigins = AllowedOrigin[]; - export interface AnalyticsAndOperator { - /** - * The prefix to use when evaluating an AND predicate. - */ - Prefix?: Prefix; - /** - * The list of tags to use when evaluating an AND predicate. - */ - Tags?: TagSet; - } - export interface AnalyticsConfiguration { - /** - * The identifier used to represent an analytics configuration. - */ - Id: AnalyticsId; - /** - * The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis. - */ - Filter?: AnalyticsFilter; - /** - * If present, it indicates that data related to access patterns will be collected and made available to analyze the tradeoffs between different storage classes. - */ - StorageClassAnalysis: StorageClassAnalysis; - } - export type AnalyticsConfigurationList = AnalyticsConfiguration[]; - export interface AnalyticsExportDestination { - /** - * A destination signifying output to an S3 bucket. - */ - S3BucketDestination: AnalyticsS3BucketDestination; - } - export interface AnalyticsFilter { - /** - * The prefix to use when evaluating an analytics filter. - */ - Prefix?: Prefix; - /** - * The tag to use when evaluating an analytics filter. - */ - Tag?: Tag; - /** - * A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates. - */ - And?: AnalyticsAndOperator; - } - export type AnalyticsId = string; - export interface AnalyticsS3BucketDestination { - /** - * The file format used when exporting data to Amazon S3. - */ - Format: AnalyticsS3ExportFileFormat; - /** - * The account ID that owns the destination bucket. If no account ID is provided, the owner will not be validated prior to exporting data. - */ - BucketAccountId?: AccountId; - /** - * The Amazon resource name (ARN) of the bucket to which data is exported. - */ - Bucket: BucketName; - /** - * The prefix to use when exporting data. The exported data begins with this prefix. - */ - Prefix?: Prefix; - } - export type AnalyticsS3ExportFileFormat = "CSV"|string; - export type Body = Buffer|Uint8Array|Blob|string; - export interface Bucket { - /** - * The name of the bucket. - */ - Name?: BucketName; - /** - * Date the bucket was created. - */ - CreationDate?: CreationDate; - } - export type BucketAccelerateStatus = "Enabled"|"Suspended"|string; - export type BucketCannedACL = "private"|"public-read"|"public-read-write"|"authenticated-read"|string; - export interface BucketLifecycleConfiguration { - Rules: LifecycleRules; - } - export type BucketLocationConstraint = "EU"|"eu-west-1"|"us-west-1"|"us-west-2"|"ap-south-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"sa-east-1"|"cn-north-1"|"eu-central-1"|string; - export interface BucketLoggingStatus { - LoggingEnabled?: LoggingEnabled; - } - export type BucketLogsPermission = "FULL_CONTROL"|"READ"|"WRITE"|string; - export type BucketName = string; - export type BucketVersioningStatus = "Enabled"|"Suspended"|string; - export type Buckets = Bucket[]; - export interface CORSConfiguration { - CORSRules: CORSRules; - } - export interface CORSRule { - /** - * Specifies which headers are allowed in a pre-flight OPTIONS request. - */ - AllowedHeaders?: AllowedHeaders; - /** - * Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute. - */ - AllowedMethods: AllowedMethods; - /** - * One or more origins you want customers to be able to access the bucket from. - */ - AllowedOrigins: AllowedOrigins; - /** - * One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object). - */ - ExposeHeaders?: ExposeHeaders; - /** - * The time in seconds that your browser is to cache the preflight response for the specified resource. - */ - MaxAgeSeconds?: MaxAgeSeconds; - } - export type CORSRules = CORSRule[]; - export type CacheControl = string; - export type CloudFunction = string; - export interface CloudFunctionConfiguration { - Id?: NotificationId; - Event?: Event; - Events?: EventList; - CloudFunction?: CloudFunction; - InvocationRole?: CloudFunctionInvocationRole; - } - export type CloudFunctionInvocationRole = string; - export type Code = string; - export interface CommonPrefix { - Prefix?: Prefix; - } - export type CommonPrefixList = CommonPrefix[]; - export interface CompleteMultipartUploadOutput { - Location?: Location; - Bucket?: BucketName; - Key?: ObjectKey; - /** - * If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded. - */ - Expiration?: Expiration; - /** - * Entity tag of the object. - */ - ETag?: ETag; - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * Version of the object. - */ - VersionId?: ObjectVersionId; - /** - * If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object. - */ - SSEKMSKeyId?: SSEKMSKeyId; - RequestCharged?: RequestCharged; - } - export interface CompleteMultipartUploadRequest { - Bucket: BucketName; - Key: ObjectKey; - MultipartUpload?: CompletedMultipartUpload; - UploadId: MultipartUploadId; - RequestPayer?: RequestPayer; - } - export interface CompletedMultipartUpload { - Parts?: CompletedPartList; - } - export interface CompletedPart { - /** - * Entity tag returned when the part was uploaded. - */ - ETag?: ETag; - /** - * Part number that identifies the part. This is a positive integer between 1 and 10,000. - */ - PartNumber?: PartNumber; - } - export type CompletedPartList = CompletedPart[]; - export interface Condition { - /** - * The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied. - */ - HttpErrorCodeReturnedEquals?: HttpErrorCodeReturnedEquals; - /** - * The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied. - */ - KeyPrefixEquals?: KeyPrefixEquals; - } - export type ContentDisposition = string; - export type ContentEncoding = string; - export type ContentLanguage = string; - export type ContentLength = number; - export type ContentMD5 = string; - export type ContentRange = string; - export type ContentType = string; - export interface CopyObjectOutput { - CopyObjectResult?: CopyObjectResult; - /** - * If the object expiration is configured, the response includes this header. - */ - Expiration?: Expiration; - CopySourceVersionId?: CopySourceVersionId; - /** - * Version ID of the newly created copy. - */ - VersionId?: ObjectVersionId; - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used. - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object. - */ - SSEKMSKeyId?: SSEKMSKeyId; - RequestCharged?: RequestCharged; - } - export interface CopyObjectRequest { - /** - * The canned ACL to apply to the object. - */ - ACL?: ObjectCannedACL; - Bucket: BucketName; - /** - * Specifies caching behavior along the request/reply chain. - */ - CacheControl?: CacheControl; - /** - * Specifies presentational information for the object. - */ - ContentDisposition?: ContentDisposition; - /** - * Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. - */ - ContentEncoding?: ContentEncoding; - /** - * The language the content is in. - */ - ContentLanguage?: ContentLanguage; - /** - * A standard MIME type describing the format of the object data. - */ - ContentType?: ContentType; - /** - * The name of the source bucket and key name of the source object, separated by a slash (/). Must be URL-encoded. - */ - CopySource: CopySource; - /** - * Copies the object if its entity tag (ETag) matches the specified tag. - */ - CopySourceIfMatch?: CopySourceIfMatch; - /** - * Copies the object if it has been modified since the specified time. - */ - CopySourceIfModifiedSince?: CopySourceIfModifiedSince; - /** - * Copies the object if its entity tag (ETag) is different than the specified ETag. - */ - CopySourceIfNoneMatch?: CopySourceIfNoneMatch; - /** - * Copies the object if it hasn't been modified since the specified time. - */ - CopySourceIfUnmodifiedSince?: CopySourceIfUnmodifiedSince; - /** - * The date and time at which the object is no longer cacheable. - */ - Expires?: Expires; - /** - * Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object. - */ - GrantFullControl?: GrantFullControl; - /** - * Allows grantee to read the object data and its metadata. - */ - GrantRead?: GrantRead; - /** - * Allows grantee to read the object ACL. - */ - GrantReadACP?: GrantReadACP; - /** - * Allows grantee to write the ACL for the applicable object. - */ - GrantWriteACP?: GrantWriteACP; - Key: ObjectKey; - /** - * A map of metadata to store with the object in S3. - */ - Metadata?: Metadata; - /** - * Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. - */ - MetadataDirective?: MetadataDirective; - /** - * Specifies whether the object tag-set are copied from the source object or replaced with tag-set provided in the request. - */ - TaggingDirective?: TaggingDirective; - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * The type of storage to use for the object. Defaults to 'STANDARD'. - */ - StorageClass?: StorageClass; - /** - * If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata. - */ - WebsiteRedirectLocation?: WebsiteRedirectLocation; - /** - * Specifies the algorithm to use to when encrypting the object (e.g., AES256). - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side​-encryption​-customer-algorithm header. - */ - SSECustomerKey?: SSECustomerKey; - /** - * Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * Specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS will fail if not made via SSL or using SigV4. Documentation on configuring any of the officially supported AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version - */ - SSEKMSKeyId?: SSEKMSKeyId; - /** - * Specifies the algorithm to use when decrypting the source object (e.g., AES256). - */ - CopySourceSSECustomerAlgorithm?: CopySourceSSECustomerAlgorithm; - /** - * Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created. - */ - CopySourceSSECustomerKey?: CopySourceSSECustomerKey; - /** - * Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error. - */ - CopySourceSSECustomerKeyMD5?: CopySourceSSECustomerKeyMD5; - RequestPayer?: RequestPayer; - /** - * The tag-set for the object destination object this value must be used in conjunction with the TaggingDirective. The tag-set must be encoded as URL Query parameters - */ - Tagging?: TaggingHeader; - } - export interface CopyObjectResult { - ETag?: ETag; - LastModified?: LastModified; - } - export interface CopyPartResult { - /** - * Entity tag of the object. - */ - ETag?: ETag; - /** - * Date and time at which the object was uploaded. - */ - LastModified?: LastModified; - } - export type CopySource = string; - export type CopySourceIfMatch = string; - export type CopySourceIfModifiedSince = Date; - export type CopySourceIfNoneMatch = string; - export type CopySourceIfUnmodifiedSince = Date; - export type CopySourceRange = string; - export type CopySourceSSECustomerAlgorithm = string; - export type CopySourceSSECustomerKey = Buffer|Uint8Array|Blob|string; - export type CopySourceSSECustomerKeyMD5 = string; - export type CopySourceVersionId = string; - export interface CreateBucketConfiguration { - /** - * Specifies the region where the bucket will be created. If you don't specify a region, the bucket will be created in US Standard. - */ - LocationConstraint?: BucketLocationConstraint; - } - export interface CreateBucketOutput { - Location?: Location; - } - export interface CreateBucketRequest { - /** - * The canned ACL to apply to the bucket. - */ - ACL?: BucketCannedACL; - Bucket: BucketName; - CreateBucketConfiguration?: CreateBucketConfiguration; - /** - * Allows grantee the read, write, read ACP, and write ACP permissions on the bucket. - */ - GrantFullControl?: GrantFullControl; - /** - * Allows grantee to list the objects in the bucket. - */ - GrantRead?: GrantRead; - /** - * Allows grantee to read the bucket ACL. - */ - GrantReadACP?: GrantReadACP; - /** - * Allows grantee to create, overwrite, and delete any object in the bucket. - */ - GrantWrite?: GrantWrite; - /** - * Allows grantee to write the ACL for the applicable bucket. - */ - GrantWriteACP?: GrantWriteACP; - } - export interface CreateMultipartUploadOutput { - /** - * Date when multipart upload will become eligible for abort operation by lifecycle. - */ - AbortDate?: AbortDate; - /** - * Id of the lifecycle rule that makes a multipart upload eligible for abort operation. - */ - AbortRuleId?: AbortRuleId; - /** - * Name of the bucket to which the multipart upload was initiated. - */ - Bucket?: BucketName; - /** - * Object key for which the multipart upload was initiated. - */ - Key?: ObjectKey; - /** - * ID for the initiated multipart upload. - */ - UploadId?: MultipartUploadId; - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used. - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object. - */ - SSEKMSKeyId?: SSEKMSKeyId; - RequestCharged?: RequestCharged; - } - export interface CreateMultipartUploadRequest { - /** - * The canned ACL to apply to the object. - */ - ACL?: ObjectCannedACL; - Bucket: BucketName; - /** - * Specifies caching behavior along the request/reply chain. - */ - CacheControl?: CacheControl; - /** - * Specifies presentational information for the object. - */ - ContentDisposition?: ContentDisposition; - /** - * Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. - */ - ContentEncoding?: ContentEncoding; - /** - * The language the content is in. - */ - ContentLanguage?: ContentLanguage; - /** - * A standard MIME type describing the format of the object data. - */ - ContentType?: ContentType; - /** - * The date and time at which the object is no longer cacheable. - */ - Expires?: Expires; - /** - * Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object. - */ - GrantFullControl?: GrantFullControl; - /** - * Allows grantee to read the object data and its metadata. - */ - GrantRead?: GrantRead; - /** - * Allows grantee to read the object ACL. - */ - GrantReadACP?: GrantReadACP; - /** - * Allows grantee to write the ACL for the applicable object. - */ - GrantWriteACP?: GrantWriteACP; - Key: ObjectKey; - /** - * A map of metadata to store with the object in S3. - */ - Metadata?: Metadata; - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * The type of storage to use for the object. Defaults to 'STANDARD'. - */ - StorageClass?: StorageClass; - /** - * If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata. - */ - WebsiteRedirectLocation?: WebsiteRedirectLocation; - /** - * Specifies the algorithm to use to when encrypting the object (e.g., AES256). - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side​-encryption​-customer-algorithm header. - */ - SSECustomerKey?: SSECustomerKey; - /** - * Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * Specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS will fail if not made via SSL or using SigV4. Documentation on configuring any of the officially supported AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version - */ - SSEKMSKeyId?: SSEKMSKeyId; - RequestPayer?: RequestPayer; - /** - * The tag-set for the object. The tag-set must be encoded as URL Query parameters - */ - Tagging?: TaggingHeader; - } - export type CreationDate = Date; - export type _Date = Date; - export type Days = number; - export type DaysAfterInitiation = number; - export interface Delete { - Objects: ObjectIdentifierList; - /** - * Element to enable quiet mode for the request. When you add this element, you must set its value to true. - */ - Quiet?: Quiet; - } - export interface DeleteBucketAnalyticsConfigurationRequest { - /** - * The name of the bucket from which an analytics configuration is deleted. - */ - Bucket: BucketName; - /** - * The identifier used to represent an analytics configuration. - */ - Id: AnalyticsId; - } - export interface DeleteBucketCorsRequest { - Bucket: BucketName; - } - export interface DeleteBucketInventoryConfigurationRequest { - /** - * The name of the bucket containing the inventory configuration to delete. - */ - Bucket: BucketName; - /** - * The ID used to identify the inventory configuration. - */ - Id: InventoryId; - } - export interface DeleteBucketLifecycleRequest { - Bucket: BucketName; - } - export interface DeleteBucketMetricsConfigurationRequest { - /** - * The name of the bucket containing the metrics configuration to delete. - */ - Bucket: BucketName; - /** - * The ID used to identify the metrics configuration. - */ - Id: MetricsId; - } - export interface DeleteBucketPolicyRequest { - Bucket: BucketName; - } - export interface DeleteBucketReplicationRequest { - Bucket: BucketName; - } - export interface DeleteBucketRequest { - Bucket: BucketName; - } - export interface DeleteBucketTaggingRequest { - Bucket: BucketName; - } - export interface DeleteBucketWebsiteRequest { - Bucket: BucketName; - } - export type DeleteMarker = boolean; - export interface DeleteMarkerEntry { - Owner?: Owner; - /** - * The object key. - */ - Key?: ObjectKey; - /** - * Version ID of an object. - */ - VersionId?: ObjectVersionId; - /** - * Specifies whether the object is (true) or is not (false) the latest version of an object. - */ - IsLatest?: IsLatest; - /** - * Date and time the object was last modified. - */ - LastModified?: LastModified; - } - export type DeleteMarkerVersionId = string; - export type DeleteMarkers = DeleteMarkerEntry[]; - export interface DeleteObjectOutput { - /** - * Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. - */ - DeleteMarker?: DeleteMarker; - /** - * Returns the version ID of the delete marker created as a result of the DELETE operation. - */ - VersionId?: ObjectVersionId; - RequestCharged?: RequestCharged; - } - export interface DeleteObjectRequest { - Bucket: BucketName; - Key: ObjectKey; - /** - * The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device. - */ - MFA?: MFA; - /** - * VersionId used to reference a specific version of the object. - */ - VersionId?: ObjectVersionId; - RequestPayer?: RequestPayer; - } - export interface DeleteObjectTaggingOutput { - /** - * The versionId of the object the tag-set was removed from. - */ - VersionId?: ObjectVersionId; - } - export interface DeleteObjectTaggingRequest { - Bucket: BucketName; - Key: ObjectKey; - /** - * The versionId of the object that the tag-set will be removed from. - */ - VersionId?: ObjectVersionId; - } - export interface DeleteObjectsOutput { - Deleted?: DeletedObjects; - RequestCharged?: RequestCharged; - Errors?: Errors; - } - export interface DeleteObjectsRequest { - Bucket: BucketName; - Delete: Delete; - /** - * The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device. - */ - MFA?: MFA; - RequestPayer?: RequestPayer; - } - export interface DeletedObject { - Key?: ObjectKey; - VersionId?: ObjectVersionId; - DeleteMarker?: DeleteMarker; - DeleteMarkerVersionId?: DeleteMarkerVersionId; - } - export type DeletedObjects = DeletedObject[]; - export type Delimiter = string; - export interface Destination { - /** - * Amazon resource name (ARN) of the bucket where you want Amazon S3 to store replicas of the object identified by the rule. - */ - Bucket: BucketName; - /** - * The class of storage used to store the object. - */ - StorageClass?: StorageClass; - } - export type DisplayName = string; - export type ETag = string; - export type EmailAddress = string; - export type EncodingType = "url"|string; - export interface Error { - Key?: ObjectKey; - VersionId?: ObjectVersionId; - Code?: Code; - Message?: Message; - } - export interface ErrorDocument { - /** - * The object key name to use when a 4XX class error occurs. - */ - Key: ObjectKey; - } - export type Errors = Error[]; - export type Event = "s3:ReducedRedundancyLostObject"|"s3:ObjectCreated:*"|"s3:ObjectCreated:Put"|"s3:ObjectCreated:Post"|"s3:ObjectCreated:Copy"|"s3:ObjectCreated:CompleteMultipartUpload"|"s3:ObjectRemoved:*"|"s3:ObjectRemoved:Delete"|"s3:ObjectRemoved:DeleteMarkerCreated"|string; - export type EventList = Event[]; - export type Expiration = string; - export type ExpirationStatus = "Enabled"|"Disabled"|string; - export type ExpiredObjectDeleteMarker = boolean; - export type Expires = Date; - export type ExposeHeader = string; - export type ExposeHeaders = ExposeHeader[]; - export type FetchOwner = boolean; - export interface FilterRule { - /** - * Object key name prefix or suffix identifying one or more objects to which the filtering rule applies. Maximum prefix length can be up to 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, go to Configuring Event Notifications in the Amazon Simple Storage Service Developer Guide. - */ - Name?: FilterRuleName; - Value?: FilterRuleValue; - } - export type FilterRuleList = FilterRule[]; - export type FilterRuleName = "prefix"|"suffix"|string; - export type FilterRuleValue = string; - export interface GetBucketAccelerateConfigurationOutput { - /** - * The accelerate configuration of the bucket. - */ - Status?: BucketAccelerateStatus; - } - export interface GetBucketAccelerateConfigurationRequest { - /** - * Name of the bucket for which the accelerate configuration is retrieved. - */ - Bucket: BucketName; - } - export interface GetBucketAclOutput { - Owner?: Owner; - /** - * A list of grants. - */ - Grants?: Grants; - } - export interface GetBucketAclRequest { - Bucket: BucketName; - } - export interface GetBucketAnalyticsConfigurationOutput { - /** - * The configuration and any analyses for the analytics filter. - */ - AnalyticsConfiguration?: AnalyticsConfiguration; - } - export interface GetBucketAnalyticsConfigurationRequest { - /** - * The name of the bucket from which an analytics configuration is retrieved. - */ - Bucket: BucketName; - /** - * The identifier used to represent an analytics configuration. - */ - Id: AnalyticsId; - } - export interface GetBucketCorsOutput { - CORSRules?: CORSRules; - } - export interface GetBucketCorsRequest { - Bucket: BucketName; - } - export interface GetBucketInventoryConfigurationOutput { - /** - * Specifies the inventory configuration. - */ - InventoryConfiguration?: InventoryConfiguration; - } - export interface GetBucketInventoryConfigurationRequest { - /** - * The name of the bucket containing the inventory configuration to retrieve. - */ - Bucket: BucketName; - /** - * The ID used to identify the inventory configuration. - */ - Id: InventoryId; - } - export interface GetBucketLifecycleConfigurationOutput { - Rules?: LifecycleRules; - } - export interface GetBucketLifecycleConfigurationRequest { - Bucket: BucketName; - } - export interface GetBucketLifecycleOutput { - Rules?: Rules; - } - export interface GetBucketLifecycleRequest { - Bucket: BucketName; - } - export interface GetBucketLocationOutput { - LocationConstraint?: BucketLocationConstraint; - } - export interface GetBucketLocationRequest { - Bucket: BucketName; - } - export interface GetBucketLoggingOutput { - LoggingEnabled?: LoggingEnabled; - } - export interface GetBucketLoggingRequest { - Bucket: BucketName; - } - export interface GetBucketMetricsConfigurationOutput { - /** - * Specifies the metrics configuration. - */ - MetricsConfiguration?: MetricsConfiguration; - } - export interface GetBucketMetricsConfigurationRequest { - /** - * The name of the bucket containing the metrics configuration to retrieve. - */ - Bucket: BucketName; - /** - * The ID used to identify the metrics configuration. - */ - Id: MetricsId; - } - export interface GetBucketNotificationConfigurationRequest { - /** - * Name of the bucket to get the notification configuration for. - */ - Bucket: BucketName; - } - export interface GetBucketPolicyOutput { - /** - * The bucket policy as a JSON document. - */ - Policy?: Policy; - } - export interface GetBucketPolicyRequest { - Bucket: BucketName; - } - export interface GetBucketReplicationOutput { - ReplicationConfiguration?: ReplicationConfiguration; - } - export interface GetBucketReplicationRequest { - Bucket: BucketName; - } - export interface GetBucketRequestPaymentOutput { - /** - * Specifies who pays for the download and request fees. - */ - Payer?: Payer; - } - export interface GetBucketRequestPaymentRequest { - Bucket: BucketName; - } - export interface GetBucketTaggingOutput { - TagSet: TagSet; - } - export interface GetBucketTaggingRequest { - Bucket: BucketName; - } - export interface GetBucketVersioningOutput { - /** - * The versioning state of the bucket. - */ - Status?: BucketVersioningStatus; - /** - * Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned. - */ - MFADelete?: MFADeleteStatus; - } - export interface GetBucketVersioningRequest { - Bucket: BucketName; - } - export interface GetBucketWebsiteOutput { - RedirectAllRequestsTo?: RedirectAllRequestsTo; - IndexDocument?: IndexDocument; - ErrorDocument?: ErrorDocument; - RoutingRules?: RoutingRules; - } - export interface GetBucketWebsiteRequest { - Bucket: BucketName; - } - export interface GetObjectAclOutput { - Owner?: Owner; - /** - * A list of grants. - */ - Grants?: Grants; - RequestCharged?: RequestCharged; - } - export interface GetObjectAclRequest { - Bucket: BucketName; - Key: ObjectKey; - /** - * VersionId used to reference a specific version of the object. - */ - VersionId?: ObjectVersionId; - RequestPayer?: RequestPayer; - } - export interface GetObjectOutput { - /** - * Object data. - */ - Body?: Body; - /** - * Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response. - */ - DeleteMarker?: DeleteMarker; - AcceptRanges?: AcceptRanges; - /** - * If the object expiration is configured (see PUT Bucket lifecycle), the response includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded. - */ - Expiration?: Expiration; - /** - * Provides information about object restoration operation and expiration time of the restored object copy. - */ - Restore?: Restore; - /** - * Last modified date of the object - */ - LastModified?: LastModified; - /** - * Size of the body in bytes. - */ - ContentLength?: ContentLength; - /** - * An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL - */ - ETag?: ETag; - /** - * This is set to the number of metadata entries not returned in x-amz-meta headers. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers. - */ - MissingMeta?: MissingMeta; - /** - * Version of the object. - */ - VersionId?: ObjectVersionId; - /** - * Specifies caching behavior along the request/reply chain. - */ - CacheControl?: CacheControl; - /** - * Specifies presentational information for the object. - */ - ContentDisposition?: ContentDisposition; - /** - * Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. - */ - ContentEncoding?: ContentEncoding; - /** - * The language the content is in. - */ - ContentLanguage?: ContentLanguage; - /** - * The portion of the object returned in the response. - */ - ContentRange?: ContentRange; - /** - * A standard MIME type describing the format of the object data. - */ - ContentType?: ContentType; - /** - * The date and time at which the object is no longer cacheable. - */ - Expires?: Expires; - /** - * If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata. - */ - WebsiteRedirectLocation?: WebsiteRedirectLocation; - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * A map of metadata to store with the object in S3. - */ - Metadata?: Metadata; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used. - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object. - */ - SSEKMSKeyId?: SSEKMSKeyId; - StorageClass?: StorageClass; - RequestCharged?: RequestCharged; - ReplicationStatus?: ReplicationStatus; - /** - * The count of parts this object has. - */ - PartsCount?: PartsCount; - /** - * The number of tags, if any, on the object. - */ - TagCount?: TagCount; - } - export interface GetObjectRequest { - Bucket: BucketName; - /** - * Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed). - */ - IfMatch?: IfMatch; - /** - * Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified). - */ - IfModifiedSince?: IfModifiedSince; - /** - * Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified). - */ - IfNoneMatch?: IfNoneMatch; - /** - * Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed). - */ - IfUnmodifiedSince?: IfUnmodifiedSince; - Key: ObjectKey; - /** - * Downloads the specified range bytes of an object. For more information about the HTTP Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35. - */ - Range?: Range; - /** - * Sets the Cache-Control header of the response. - */ - ResponseCacheControl?: ResponseCacheControl; - /** - * Sets the Content-Disposition header of the response - */ - ResponseContentDisposition?: ResponseContentDisposition; - /** - * Sets the Content-Encoding header of the response. - */ - ResponseContentEncoding?: ResponseContentEncoding; - /** - * Sets the Content-Language header of the response. - */ - ResponseContentLanguage?: ResponseContentLanguage; - /** - * Sets the Content-Type header of the response. - */ - ResponseContentType?: ResponseContentType; - /** - * Sets the Expires header of the response. - */ - ResponseExpires?: ResponseExpires; - /** - * VersionId used to reference a specific version of the object. - */ - VersionId?: ObjectVersionId; - /** - * Specifies the algorithm to use to when encrypting the object (e.g., AES256). - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side​-encryption​-customer-algorithm header. - */ - SSECustomerKey?: SSECustomerKey; - /** - * Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - RequestPayer?: RequestPayer; - /** - * Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' GET request for the part specified. Useful for downloading just a part of an object. - */ - PartNumber?: PartNumber; - } - export interface GetObjectTaggingOutput { - VersionId?: ObjectVersionId; - TagSet: TagSet; - } - export interface GetObjectTaggingRequest { - Bucket: BucketName; - Key: ObjectKey; - VersionId?: ObjectVersionId; - } - export interface GetObjectTorrentOutput { - Body?: Body; - RequestCharged?: RequestCharged; - } - export interface GetObjectTorrentRequest { - Bucket: BucketName; - Key: ObjectKey; - RequestPayer?: RequestPayer; - } - export interface GlacierJobParameters { - /** - * Glacier retrieval tier at which the restore will be processed. - */ - Tier: Tier; - } - export interface Grant { - Grantee?: Grantee; - /** - * Specifies the permission given to the grantee. - */ - Permission?: Permission; - } - export type GrantFullControl = string; - export type GrantRead = string; - export type GrantReadACP = string; - export type GrantWrite = string; - export type GrantWriteACP = string; - export interface Grantee { - /** - * Screen name of the grantee. - */ - DisplayName?: DisplayName; - /** - * Email address of the grantee. - */ - EmailAddress?: EmailAddress; - /** - * The canonical user ID of the grantee. - */ - ID?: ID; - /** - * Type of grantee - */ - Type: Type; - /** - * URI of the grantee group. - */ - URI?: URI; - } - export type Grants = Grant[]; - export interface HeadBucketRequest { - Bucket: BucketName; - } - export interface HeadObjectOutput { - /** - * Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response. - */ - DeleteMarker?: DeleteMarker; - AcceptRanges?: AcceptRanges; - /** - * If the object expiration is configured (see PUT Bucket lifecycle), the response includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded. - */ - Expiration?: Expiration; - /** - * Provides information about object restoration operation and expiration time of the restored object copy. - */ - Restore?: Restore; - /** - * Last modified date of the object - */ - LastModified?: LastModified; - /** - * Size of the body in bytes. - */ - ContentLength?: ContentLength; - /** - * An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL - */ - ETag?: ETag; - /** - * This is set to the number of metadata entries not returned in x-amz-meta headers. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers. - */ - MissingMeta?: MissingMeta; - /** - * Version of the object. - */ - VersionId?: ObjectVersionId; - /** - * Specifies caching behavior along the request/reply chain. - */ - CacheControl?: CacheControl; - /** - * Specifies presentational information for the object. - */ - ContentDisposition?: ContentDisposition; - /** - * Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. - */ - ContentEncoding?: ContentEncoding; - /** - * The language the content is in. - */ - ContentLanguage?: ContentLanguage; - /** - * A standard MIME type describing the format of the object data. - */ - ContentType?: ContentType; - /** - * The date and time at which the object is no longer cacheable. - */ - Expires?: Expires; - /** - * If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata. - */ - WebsiteRedirectLocation?: WebsiteRedirectLocation; - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * A map of metadata to store with the object in S3. - */ - Metadata?: Metadata; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used. - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object. - */ - SSEKMSKeyId?: SSEKMSKeyId; - StorageClass?: StorageClass; - RequestCharged?: RequestCharged; - ReplicationStatus?: ReplicationStatus; - /** - * The count of parts this object has. - */ - PartsCount?: PartsCount; - } - export interface HeadObjectRequest { - Bucket: BucketName; - /** - * Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed). - */ - IfMatch?: IfMatch; - /** - * Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified). - */ - IfModifiedSince?: IfModifiedSince; - /** - * Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified). - */ - IfNoneMatch?: IfNoneMatch; - /** - * Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed). - */ - IfUnmodifiedSince?: IfUnmodifiedSince; - Key: ObjectKey; - /** - * Downloads the specified range bytes of an object. For more information about the HTTP Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35. - */ - Range?: Range; - /** - * VersionId used to reference a specific version of the object. - */ - VersionId?: ObjectVersionId; - /** - * Specifies the algorithm to use to when encrypting the object (e.g., AES256). - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side​-encryption​-customer-algorithm header. - */ - SSECustomerKey?: SSECustomerKey; - /** - * Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - RequestPayer?: RequestPayer; - /** - * Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' HEAD request for the part specified. Useful querying about the size of the part and the number of parts in this object. - */ - PartNumber?: PartNumber; - } - export type HostName = string; - export type HttpErrorCodeReturnedEquals = string; - export type HttpRedirectCode = string; - export type ID = string; - export type IfMatch = string; - export type IfModifiedSince = Date; - export type IfNoneMatch = string; - export type IfUnmodifiedSince = Date; - export interface IndexDocument { - /** - * A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character. - */ - Suffix: Suffix; - } - export type Initiated = Date; - export interface Initiator { - /** - * If the principal is an AWS account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value. - */ - ID?: ID; - /** - * Name of the Principal. - */ - DisplayName?: DisplayName; - } - export interface InventoryConfiguration { - /** - * Contains information about where to publish the inventory results. - */ - Destination: InventoryDestination; - /** - * Specifies whether the inventory is enabled or disabled. - */ - IsEnabled: IsEnabled; - /** - * Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria. - */ - Filter?: InventoryFilter; - /** - * The ID used to identify the inventory configuration. - */ - Id: InventoryId; - /** - * Specifies which object version(s) to included in the inventory results. - */ - IncludedObjectVersions: InventoryIncludedObjectVersions; - /** - * Contains the optional fields that are included in the inventory results. - */ - OptionalFields?: InventoryOptionalFields; - /** - * Specifies the schedule for generating inventory results. - */ - Schedule: InventorySchedule; - } - export type InventoryConfigurationList = InventoryConfiguration[]; - export interface InventoryDestination { - /** - * Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published. - */ - S3BucketDestination: InventoryS3BucketDestination; - } - export interface InventoryFilter { - /** - * The prefix that an object must have to be included in the inventory results. - */ - Prefix: Prefix; - } - export type InventoryFormat = "CSV"|string; - export type InventoryFrequency = "Daily"|"Weekly"|string; - export type InventoryId = string; - export type InventoryIncludedObjectVersions = "All"|"Current"|string; - export type InventoryOptionalField = "Size"|"LastModifiedDate"|"StorageClass"|"ETag"|"IsMultipartUploaded"|"ReplicationStatus"|string; - export type InventoryOptionalFields = InventoryOptionalField[]; - export interface InventoryS3BucketDestination { - /** - * The ID of the account that owns the destination bucket. - */ - AccountId?: AccountId; - /** - * The Amazon resource name (ARN) of the bucket where inventory results will be published. - */ - Bucket: BucketName; - /** - * Specifies the output format of the inventory results. - */ - Format: InventoryFormat; - /** - * The prefix that is prepended to all inventory results. - */ - Prefix?: Prefix; - } - export interface InventorySchedule { - /** - * Specifies how frequently inventory results are produced. - */ - Frequency: InventoryFrequency; - } - export type IsEnabled = boolean; - export type IsLatest = boolean; - export type IsTruncated = boolean; - export type KeyCount = number; - export type KeyMarker = string; - export type KeyPrefixEquals = string; - export type LambdaFunctionArn = string; - export interface LambdaFunctionConfiguration { - Id?: NotificationId; - /** - * Lambda cloud function ARN that Amazon S3 can invoke when it detects events of the specified type. - */ - LambdaFunctionArn: LambdaFunctionArn; - Events: EventList; - Filter?: NotificationConfigurationFilter; - } - export type LambdaFunctionConfigurationList = LambdaFunctionConfiguration[]; - export type LastModified = Date; - export interface LifecycleConfiguration { - Rules: Rules; - } - export interface LifecycleExpiration { - /** - * Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format. - */ - Date?: _Date; - /** - * Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer. - */ - Days?: Days; - /** - * Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy. - */ - ExpiredObjectDeleteMarker?: ExpiredObjectDeleteMarker; - } - export interface LifecycleRule { - Expiration?: LifecycleExpiration; - /** - * Unique identifier for the rule. The value cannot be longer than 255 characters. - */ - ID?: ID; - /** - * Prefix identifying one or more objects to which the rule applies. This is deprecated; use Filter instead. - */ - Prefix?: Prefix; - Filter?: LifecycleRuleFilter; - /** - * If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied. - */ - Status: ExpirationStatus; - Transitions?: TransitionList; - NoncurrentVersionTransitions?: NoncurrentVersionTransitionList; - NoncurrentVersionExpiration?: NoncurrentVersionExpiration; - AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload; - } - export interface LifecycleRuleAndOperator { - Prefix?: Prefix; - /** - * All of these tags must exist in the object's tag set in order for the rule to apply. - */ - Tags?: TagSet; - } - export interface LifecycleRuleFilter { - /** - * Prefix identifying one or more objects to which the rule applies. - */ - Prefix?: Prefix; - /** - * This tag must exist in the object's tag set in order for the rule to apply. - */ - Tag?: Tag; - And?: LifecycleRuleAndOperator; - } - export type LifecycleRules = LifecycleRule[]; - export interface ListBucketAnalyticsConfigurationsOutput { - /** - * Indicates whether the returned list of analytics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request. - */ - IsTruncated?: IsTruncated; - /** - * The ContinuationToken that represents where this request began. - */ - ContinuationToken?: Token; - /** - * NextContinuationToken is sent when isTruncated is true, which indicates that there are more analytics configurations to list. The next request must include this NextContinuationToken. The token is obfuscated and is not a usable value. - */ - NextContinuationToken?: NextToken; - /** - * The list of analytics configurations for a bucket. - */ - AnalyticsConfigurationList?: AnalyticsConfigurationList; - } - export interface ListBucketAnalyticsConfigurationsRequest { - /** - * The name of the bucket from which analytics configurations are retrieved. - */ - Bucket: BucketName; - /** - * The ContinuationToken that represents a placeholder from where this request should begin. - */ - ContinuationToken?: Token; - } - export interface ListBucketInventoryConfigurationsOutput { - /** - * If sent in the request, the marker that is used as a starting point for this inventory configuration list response. - */ - ContinuationToken?: Token; - /** - * The list of inventory configurations for a bucket. - */ - InventoryConfigurationList?: InventoryConfigurationList; - /** - * Indicates whether the returned list of inventory configurations is truncated in this response. A value of true indicates that the list is truncated. - */ - IsTruncated?: IsTruncated; - /** - * The marker used to continue this inventory configuration listing. Use the NextContinuationToken from this response to continue the listing in a subsequent request. The continuation token is an opaque value that Amazon S3 understands. - */ - NextContinuationToken?: NextToken; - } - export interface ListBucketInventoryConfigurationsRequest { - /** - * The name of the bucket containing the inventory configurations to retrieve. - */ - Bucket: BucketName; - /** - * The marker used to continue an inventory configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands. - */ - ContinuationToken?: Token; - } - export interface ListBucketMetricsConfigurationsOutput { - /** - * Indicates whether the returned list of metrics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request. - */ - IsTruncated?: IsTruncated; - /** - * The marker that is used as a starting point for this metrics configuration list response. This value is present if it was sent in the request. - */ - ContinuationToken?: Token; - /** - * The marker used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands. - */ - NextContinuationToken?: NextToken; - /** - * The list of metrics configurations for a bucket. - */ - MetricsConfigurationList?: MetricsConfigurationList; - } - export interface ListBucketMetricsConfigurationsRequest { - /** - * The name of the bucket containing the metrics configurations to retrieve. - */ - Bucket: BucketName; - /** - * The marker that is used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands. - */ - ContinuationToken?: Token; - } - export interface ListBucketsOutput { - Buckets?: Buckets; - Owner?: Owner; - } - export interface ListMultipartUploadsOutput { - /** - * Name of the bucket to which the multipart upload was initiated. - */ - Bucket?: BucketName; - /** - * The key at or after which the listing began. - */ - KeyMarker?: KeyMarker; - /** - * Upload ID after which listing began. - */ - UploadIdMarker?: UploadIdMarker; - /** - * When a list is truncated, this element specifies the value that should be used for the key-marker request parameter in a subsequent request. - */ - NextKeyMarker?: NextKeyMarker; - /** - * When a prefix is provided in the request, this field contains the specified prefix. The result contains only keys starting with the specified prefix. - */ - Prefix?: Prefix; - Delimiter?: Delimiter; - /** - * When a list is truncated, this element specifies the value that should be used for the upload-id-marker request parameter in a subsequent request. - */ - NextUploadIdMarker?: NextUploadIdMarker; - /** - * Maximum number of multipart uploads that could have been included in the response. - */ - MaxUploads?: MaxUploads; - /** - * Indicates whether the returned list of multipart uploads is truncated. A value of true indicates that the list was truncated. The list can be truncated if the number of multipart uploads exceeds the limit allowed or specified by max uploads. - */ - IsTruncated?: IsTruncated; - Uploads?: MultipartUploadList; - CommonPrefixes?: CommonPrefixList; - /** - * Encoding type used by Amazon S3 to encode object keys in the response. - */ - EncodingType?: EncodingType; - } - export interface ListMultipartUploadsRequest { - Bucket: BucketName; - /** - * Character you use to group keys. - */ - Delimiter?: Delimiter; - EncodingType?: EncodingType; - /** - * Together with upload-id-marker, this parameter specifies the multipart upload after which listing should begin. - */ - KeyMarker?: KeyMarker; - /** - * Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body. 1,000 is the maximum number of uploads that can be returned in a response. - */ - MaxUploads?: MaxUploads; - /** - * Lists in-progress uploads only for those keys that begin with the specified prefix. - */ - Prefix?: Prefix; - /** - * Together with key-marker, specifies the multipart upload after which listing should begin. If key-marker is not specified, the upload-id-marker parameter is ignored. - */ - UploadIdMarker?: UploadIdMarker; - } - export interface ListObjectVersionsOutput { - /** - * A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request using the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in another request to return the rest of the results. - */ - IsTruncated?: IsTruncated; - /** - * Marks the last Key returned in a truncated response. - */ - KeyMarker?: KeyMarker; - VersionIdMarker?: VersionIdMarker; - /** - * Use this value for the key marker request parameter in a subsequent request. - */ - NextKeyMarker?: NextKeyMarker; - /** - * Use this value for the next version id marker parameter in a subsequent request. - */ - NextVersionIdMarker?: NextVersionIdMarker; - Versions?: ObjectVersionList; - DeleteMarkers?: DeleteMarkers; - Name?: BucketName; - Prefix?: Prefix; - Delimiter?: Delimiter; - MaxKeys?: MaxKeys; - CommonPrefixes?: CommonPrefixList; - /** - * Encoding type used by Amazon S3 to encode object keys in the response. - */ - EncodingType?: EncodingType; - } - export interface ListObjectVersionsRequest { - Bucket: BucketName; - /** - * A delimiter is a character you use to group keys. - */ - Delimiter?: Delimiter; - EncodingType?: EncodingType; - /** - * Specifies the key to start with when listing objects in a bucket. - */ - KeyMarker?: KeyMarker; - /** - * Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more. - */ - MaxKeys?: MaxKeys; - /** - * Limits the response to keys that begin with the specified prefix. - */ - Prefix?: Prefix; - /** - * Specifies the object version you want to start listing from. - */ - VersionIdMarker?: VersionIdMarker; - } - export interface ListObjectsOutput { - /** - * A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria. - */ - IsTruncated?: IsTruncated; - Marker?: Marker; - /** - * When response is truncated (the IsTruncated element value in the response is true), you can use the key name in this field as marker in the subsequent request to get next set of objects. Amazon S3 lists objects in alphabetical order Note: This element is returned only if you have delimiter request parameter specified. If response does not include the NextMaker and it is truncated, you can use the value of the last Key in the response as the marker in the subsequent request to get the next set of object keys. - */ - NextMarker?: NextMarker; - Contents?: ObjectList; - Name?: BucketName; - Prefix?: Prefix; - Delimiter?: Delimiter; - MaxKeys?: MaxKeys; - CommonPrefixes?: CommonPrefixList; - /** - * Encoding type used by Amazon S3 to encode object keys in the response. - */ - EncodingType?: EncodingType; - } - export interface ListObjectsRequest { - Bucket: BucketName; - /** - * A delimiter is a character you use to group keys. - */ - Delimiter?: Delimiter; - EncodingType?: EncodingType; - /** - * Specifies the key to start with when listing objects in a bucket. - */ - Marker?: Marker; - /** - * Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more. - */ - MaxKeys?: MaxKeys; - /** - * Limits the response to keys that begin with the specified prefix. - */ - Prefix?: Prefix; - /** - * Confirms that the requester knows that she or he will be charged for the list objects request. Bucket owners need not specify this parameter in their requests. - */ - RequestPayer?: RequestPayer; - } - export interface ListObjectsV2Output { - /** - * A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria. - */ - IsTruncated?: IsTruncated; - /** - * Metadata about each object returned. - */ - Contents?: ObjectList; - /** - * Name of the bucket to list. - */ - Name?: BucketName; - /** - * Limits the response to keys that begin with the specified prefix. - */ - Prefix?: Prefix; - /** - * A delimiter is a character you use to group keys. - */ - Delimiter?: Delimiter; - /** - * Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more. - */ - MaxKeys?: MaxKeys; - /** - * CommonPrefixes contains all (if there are any) keys between Prefix and the next occurrence of the string specified by delimiter - */ - CommonPrefixes?: CommonPrefixList; - /** - * Encoding type used by Amazon S3 to encode object keys in the response. - */ - EncodingType?: EncodingType; - /** - * KeyCount is the number of keys returned with this request. KeyCount will always be less than equals to MaxKeys field. Say you ask for 50 keys, your result will include less than equals 50 keys - */ - KeyCount?: KeyCount; - /** - * ContinuationToken indicates Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key - */ - ContinuationToken?: Token; - /** - * NextContinuationToken is sent when isTruncated is true which means there are more keys in the bucket that can be listed. The next list requests to Amazon S3 can be continued with this NextContinuationToken. NextContinuationToken is obfuscated and is not a real key - */ - NextContinuationToken?: NextToken; - /** - * StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this specified key. StartAfter can be any key in the bucket - */ - StartAfter?: StartAfter; - } - export interface ListObjectsV2Request { - /** - * Name of the bucket to list. - */ - Bucket: BucketName; - /** - * A delimiter is a character you use to group keys. - */ - Delimiter?: Delimiter; - /** - * Encoding type used by Amazon S3 to encode object keys in the response. - */ - EncodingType?: EncodingType; - /** - * Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more. - */ - MaxKeys?: MaxKeys; - /** - * Limits the response to keys that begin with the specified prefix. - */ - Prefix?: Prefix; - /** - * ContinuationToken indicates Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key - */ - ContinuationToken?: Token; - /** - * The owner field is not present in listV2 by default, if you want to return owner field with each key in the result then set the fetch owner field to true - */ - FetchOwner?: FetchOwner; - /** - * StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this specified key. StartAfter can be any key in the bucket - */ - StartAfter?: StartAfter; - /** - * Confirms that the requester knows that she or he will be charged for the list objects request in V2 style. Bucket owners need not specify this parameter in their requests. - */ - RequestPayer?: RequestPayer; - } - export interface ListPartsOutput { - /** - * Date when multipart upload will become eligible for abort operation by lifecycle. - */ - AbortDate?: AbortDate; - /** - * Id of the lifecycle rule that makes a multipart upload eligible for abort operation. - */ - AbortRuleId?: AbortRuleId; - /** - * Name of the bucket to which the multipart upload was initiated. - */ - Bucket?: BucketName; - /** - * Object key for which the multipart upload was initiated. - */ - Key?: ObjectKey; - /** - * Upload ID identifying the multipart upload whose parts are being listed. - */ - UploadId?: MultipartUploadId; - /** - * Part number after which listing begins. - */ - PartNumberMarker?: PartNumberMarker; - /** - * When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request. - */ - NextPartNumberMarker?: NextPartNumberMarker; - /** - * Maximum number of parts that were allowed in the response. - */ - MaxParts?: MaxParts; - /** - * Indicates whether the returned list of parts is truncated. - */ - IsTruncated?: IsTruncated; - Parts?: Parts; - /** - * Identifies who initiated the multipart upload. - */ - Initiator?: Initiator; - Owner?: Owner; - /** - * The class of storage used to store the object. - */ - StorageClass?: StorageClass; - RequestCharged?: RequestCharged; - } - export interface ListPartsRequest { - Bucket: BucketName; - Key: ObjectKey; - /** - * Sets the maximum number of parts to return. - */ - MaxParts?: MaxParts; - /** - * Specifies the part after which listing should begin. Only parts with higher part numbers will be listed. - */ - PartNumberMarker?: PartNumberMarker; - /** - * Upload ID identifying the multipart upload whose parts are being listed. - */ - UploadId: MultipartUploadId; - RequestPayer?: RequestPayer; - } - export type Location = string; - export interface LoggingEnabled { - /** - * Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case you should choose a different TargetPrefix for each source bucket so that the delivered log files can be distinguished by key. - */ - TargetBucket?: TargetBucket; - TargetGrants?: TargetGrants; - /** - * This element lets you specify a prefix for the keys that the log files will be stored under. - */ - TargetPrefix?: TargetPrefix; - } - export type MFA = string; - export type MFADelete = "Enabled"|"Disabled"|string; - export type MFADeleteStatus = "Enabled"|"Disabled"|string; - export type Marker = string; - export type MaxAgeSeconds = number; - export type MaxKeys = number; - export type MaxParts = number; - export type MaxUploads = number; - export type Message = string; - export type Metadata = {[key: string]: MetadataValue}; - export type MetadataDirective = "COPY"|"REPLACE"|string; - export type MetadataKey = string; - export type MetadataValue = string; - export interface MetricsAndOperator { - /** - * The prefix used when evaluating an AND predicate. - */ - Prefix?: Prefix; - /** - * The list of tags used when evaluating an AND predicate. - */ - Tags?: TagSet; - } - export interface MetricsConfiguration { - /** - * The ID used to identify the metrics configuration. - */ - Id: MetricsId; - /** - * Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, a tag, or a conjunction (MetricsAndOperator). - */ - Filter?: MetricsFilter; - } - export type MetricsConfigurationList = MetricsConfiguration[]; - export interface MetricsFilter { - /** - * The prefix used when evaluating a metrics filter. - */ - Prefix?: Prefix; - /** - * The tag used when evaluating a metrics filter. - */ - Tag?: Tag; - /** - * A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply. - */ - And?: MetricsAndOperator; - } - export type MetricsId = string; - export type MissingMeta = number; - export interface MultipartUpload { - /** - * Upload ID that identifies the multipart upload. - */ - UploadId?: MultipartUploadId; - /** - * Key of the object for which the multipart upload was initiated. - */ - Key?: ObjectKey; - /** - * Date and time at which the multipart upload was initiated. - */ - Initiated?: Initiated; - /** - * The class of storage used to store the object. - */ - StorageClass?: StorageClass; - Owner?: Owner; - /** - * Identifies who initiated the multipart upload. - */ - Initiator?: Initiator; - } - export type MultipartUploadId = string; - export type MultipartUploadList = MultipartUpload[]; - export type NextKeyMarker = string; - export type NextMarker = string; - export type NextPartNumberMarker = number; - export type NextToken = string; - export type NextUploadIdMarker = string; - export type NextVersionIdMarker = string; - export interface NoncurrentVersionExpiration { - /** - * Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates When an Object Became Noncurrent in the Amazon Simple Storage Service Developer Guide. - */ - NoncurrentDays?: Days; - } - export interface NoncurrentVersionTransition { - /** - * Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates When an Object Became Noncurrent in the Amazon Simple Storage Service Developer Guide. - */ - NoncurrentDays?: Days; - /** - * The class of storage used to store the object. - */ - StorageClass?: TransitionStorageClass; - } - export type NoncurrentVersionTransitionList = NoncurrentVersionTransition[]; - export interface NotificationConfiguration { - TopicConfigurations?: TopicConfigurationList; - QueueConfigurations?: QueueConfigurationList; - LambdaFunctionConfigurations?: LambdaFunctionConfigurationList; - } - export interface NotificationConfigurationDeprecated { - TopicConfiguration?: TopicConfigurationDeprecated; - QueueConfiguration?: QueueConfigurationDeprecated; - CloudFunctionConfiguration?: CloudFunctionConfiguration; - } - export interface NotificationConfigurationFilter { - Key?: S3KeyFilter; - } - export type NotificationId = string; - export interface Object { - Key?: ObjectKey; - LastModified?: LastModified; - ETag?: ETag; - Size?: Size; - /** - * The class of storage used to store the object. - */ - StorageClass?: ObjectStorageClass; - Owner?: Owner; - } - export type ObjectCannedACL = "private"|"public-read"|"public-read-write"|"authenticated-read"|"aws-exec-read"|"bucket-owner-read"|"bucket-owner-full-control"|string; - export interface ObjectIdentifier { - /** - * Key name of the object to delete. - */ - Key: ObjectKey; - /** - * VersionId for the specific version of the object to delete. - */ - VersionId?: ObjectVersionId; - } - export type ObjectIdentifierList = ObjectIdentifier[]; - export type ObjectKey = string; - export type ObjectList = Object[]; - export type ObjectStorageClass = "STANDARD"|"REDUCED_REDUNDANCY"|"GLACIER"|string; - export interface ObjectVersion { - ETag?: ETag; - /** - * Size in bytes of the object. - */ - Size?: Size; - /** - * The class of storage used to store the object. - */ - StorageClass?: ObjectVersionStorageClass; - /** - * The object key. - */ - Key?: ObjectKey; - /** - * Version ID of an object. - */ - VersionId?: ObjectVersionId; - /** - * Specifies whether the object is (true) or is not (false) the latest version of an object. - */ - IsLatest?: IsLatest; - /** - * Date and time the object was last modified. - */ - LastModified?: LastModified; - Owner?: Owner; - } - export type ObjectVersionId = string; - export type ObjectVersionList = ObjectVersion[]; - export type ObjectVersionStorageClass = "STANDARD"|string; - export interface Owner { - DisplayName?: DisplayName; - ID?: ID; - } - export interface Part { - /** - * Part number identifying the part. This is a positive integer between 1 and 10,000. - */ - PartNumber?: PartNumber; - /** - * Date and time at which the part was uploaded. - */ - LastModified?: LastModified; - /** - * Entity tag returned when the part was uploaded. - */ - ETag?: ETag; - /** - * Size of the uploaded part data. - */ - Size?: Size; - } - export type PartNumber = number; - export type PartNumberMarker = number; - export type Parts = Part[]; - export type PartsCount = number; - export type Payer = "Requester"|"BucketOwner"|string; - export type Permission = "FULL_CONTROL"|"WRITE"|"WRITE_ACP"|"READ"|"READ_ACP"|string; - export type Policy = string; - export type Prefix = string; - export type Protocol = "http"|"https"|string; - export interface PutBucketAccelerateConfigurationRequest { - /** - * Name of the bucket for which the accelerate configuration is set. - */ - Bucket: BucketName; - /** - * Specifies the Accelerate Configuration you want to set for the bucket. - */ - AccelerateConfiguration: AccelerateConfiguration; - } - export interface PutBucketAclRequest { - /** - * The canned ACL to apply to the bucket. - */ - ACL?: BucketCannedACL; - AccessControlPolicy?: AccessControlPolicy; - Bucket: BucketName; - ContentMD5?: ContentMD5; - /** - * Allows grantee the read, write, read ACP, and write ACP permissions on the bucket. - */ - GrantFullControl?: GrantFullControl; - /** - * Allows grantee to list the objects in the bucket. - */ - GrantRead?: GrantRead; - /** - * Allows grantee to read the bucket ACL. - */ - GrantReadACP?: GrantReadACP; - /** - * Allows grantee to create, overwrite, and delete any object in the bucket. - */ - GrantWrite?: GrantWrite; - /** - * Allows grantee to write the ACL for the applicable bucket. - */ - GrantWriteACP?: GrantWriteACP; - } - export interface PutBucketAnalyticsConfigurationRequest { - /** - * The name of the bucket to which an analytics configuration is stored. - */ - Bucket: BucketName; - /** - * The identifier used to represent an analytics configuration. - */ - Id: AnalyticsId; - /** - * The configuration and any analyses for the analytics filter. - */ - AnalyticsConfiguration: AnalyticsConfiguration; - } - export interface PutBucketCorsRequest { - Bucket: BucketName; - CORSConfiguration: CORSConfiguration; - ContentMD5?: ContentMD5; - } - export interface PutBucketInventoryConfigurationRequest { - /** - * The name of the bucket where the inventory configuration will be stored. - */ - Bucket: BucketName; - /** - * The ID used to identify the inventory configuration. - */ - Id: InventoryId; - /** - * Specifies the inventory configuration. - */ - InventoryConfiguration: InventoryConfiguration; - } - export interface PutBucketLifecycleConfigurationRequest { - Bucket: BucketName; - LifecycleConfiguration?: BucketLifecycleConfiguration; - } - export interface PutBucketLifecycleRequest { - Bucket: BucketName; - ContentMD5?: ContentMD5; - LifecycleConfiguration?: LifecycleConfiguration; - } - export interface PutBucketLoggingRequest { - Bucket: BucketName; - BucketLoggingStatus: BucketLoggingStatus; - ContentMD5?: ContentMD5; - } - export interface PutBucketMetricsConfigurationRequest { - /** - * The name of the bucket for which the metrics configuration is set. - */ - Bucket: BucketName; - /** - * The ID used to identify the metrics configuration. - */ - Id: MetricsId; - /** - * Specifies the metrics configuration. - */ - MetricsConfiguration: MetricsConfiguration; - } - export interface PutBucketNotificationConfigurationRequest { - Bucket: BucketName; - NotificationConfiguration: NotificationConfiguration; - } - export interface PutBucketNotificationRequest { - Bucket: BucketName; - ContentMD5?: ContentMD5; - NotificationConfiguration: NotificationConfigurationDeprecated; - } - export interface PutBucketPolicyRequest { - Bucket: BucketName; - ContentMD5?: ContentMD5; - /** - * The bucket policy as a JSON document. - */ - Policy: Policy; - } - export interface PutBucketReplicationRequest { - Bucket: BucketName; - ContentMD5?: ContentMD5; - ReplicationConfiguration: ReplicationConfiguration; - } - export interface PutBucketRequestPaymentRequest { - Bucket: BucketName; - ContentMD5?: ContentMD5; - RequestPaymentConfiguration: RequestPaymentConfiguration; - } - export interface PutBucketTaggingRequest { - Bucket: BucketName; - ContentMD5?: ContentMD5; - Tagging: Tagging; - } - export interface PutBucketVersioningRequest { - Bucket: BucketName; - ContentMD5?: ContentMD5; - /** - * The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device. - */ - MFA?: MFA; - VersioningConfiguration: VersioningConfiguration; - } - export interface PutBucketWebsiteRequest { - Bucket: BucketName; - ContentMD5?: ContentMD5; - WebsiteConfiguration: WebsiteConfiguration; - } - export interface PutObjectAclOutput { - RequestCharged?: RequestCharged; - } - export interface PutObjectAclRequest { - /** - * The canned ACL to apply to the object. - */ - ACL?: ObjectCannedACL; - AccessControlPolicy?: AccessControlPolicy; - Bucket: BucketName; - ContentMD5?: ContentMD5; - /** - * Allows grantee the read, write, read ACP, and write ACP permissions on the bucket. - */ - GrantFullControl?: GrantFullControl; - /** - * Allows grantee to list the objects in the bucket. - */ - GrantRead?: GrantRead; - /** - * Allows grantee to read the bucket ACL. - */ - GrantReadACP?: GrantReadACP; - /** - * Allows grantee to create, overwrite, and delete any object in the bucket. - */ - GrantWrite?: GrantWrite; - /** - * Allows grantee to write the ACL for the applicable bucket. - */ - GrantWriteACP?: GrantWriteACP; - Key: ObjectKey; - RequestPayer?: RequestPayer; - /** - * VersionId used to reference a specific version of the object. - */ - VersionId?: ObjectVersionId; - } - export interface PutObjectOutput { - /** - * If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded. - */ - Expiration?: Expiration; - /** - * Entity tag for the uploaded object. - */ - ETag?: ETag; - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * Version of the object. - */ - VersionId?: ObjectVersionId; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used. - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object. - */ - SSEKMSKeyId?: SSEKMSKeyId; - RequestCharged?: RequestCharged; - } - export interface PutObjectRequest { - /** - * The canned ACL to apply to the object. - */ - ACL?: ObjectCannedACL; - /** - * Object data. - */ - Body?: Body; - /** - * Name of the bucket to which the PUT operation was initiated. - */ - Bucket: BucketName; - /** - * Specifies caching behavior along the request/reply chain. - */ - CacheControl?: CacheControl; - /** - * Specifies presentational information for the object. - */ - ContentDisposition?: ContentDisposition; - /** - * Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. - */ - ContentEncoding?: ContentEncoding; - /** - * The language the content is in. - */ - ContentLanguage?: ContentLanguage; - /** - * Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. - */ - ContentLength?: ContentLength; - /** - * The base64-encoded 128-bit MD5 digest of the part data. - */ - ContentMD5?: ContentMD5; - /** - * A standard MIME type describing the format of the object data. - */ - ContentType?: ContentType; - /** - * The date and time at which the object is no longer cacheable. - */ - Expires?: Expires; - /** - * Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object. - */ - GrantFullControl?: GrantFullControl; - /** - * Allows grantee to read the object data and its metadata. - */ - GrantRead?: GrantRead; - /** - * Allows grantee to read the object ACL. - */ - GrantReadACP?: GrantReadACP; - /** - * Allows grantee to write the ACL for the applicable object. - */ - GrantWriteACP?: GrantWriteACP; - /** - * Object key for which the PUT operation was initiated. - */ - Key: ObjectKey; - /** - * A map of metadata to store with the object in S3. - */ - Metadata?: Metadata; - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * The type of storage to use for the object. Defaults to 'STANDARD'. - */ - StorageClass?: StorageClass; - /** - * If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata. - */ - WebsiteRedirectLocation?: WebsiteRedirectLocation; - /** - * Specifies the algorithm to use to when encrypting the object (e.g., AES256). - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side​-encryption​-customer-algorithm header. - */ - SSECustomerKey?: SSECustomerKey; - /** - * Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * Specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS will fail if not made via SSL or using SigV4. Documentation on configuring any of the officially supported AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version - */ - SSEKMSKeyId?: SSEKMSKeyId; - RequestPayer?: RequestPayer; - /** - * The tag-set for the object. The tag-set must be encoded as URL Query parameters - */ - Tagging?: TaggingHeader; - } - export interface PutObjectTaggingOutput { - VersionId?: ObjectVersionId; - } - export interface PutObjectTaggingRequest { - Bucket: BucketName; - Key: ObjectKey; - VersionId?: ObjectVersionId; - ContentMD5?: ContentMD5; - Tagging: Tagging; - } - export type QueueArn = string; - export interface QueueConfiguration { - Id?: NotificationId; - /** - * Amazon SQS queue ARN to which Amazon S3 will publish a message when it detects events of specified type. - */ - QueueArn: QueueArn; - Events: EventList; - Filter?: NotificationConfigurationFilter; - } - export interface QueueConfigurationDeprecated { - Id?: NotificationId; - Event?: Event; - Events?: EventList; - Queue?: QueueArn; - } - export type QueueConfigurationList = QueueConfiguration[]; - export type Quiet = boolean; - export type Range = string; - export interface Redirect { - /** - * The host name to use in the redirect request. - */ - HostName?: HostName; - /** - * The HTTP redirect code to use on the response. Not required if one of the siblings is present. - */ - HttpRedirectCode?: HttpRedirectCode; - /** - * Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request. - */ - Protocol?: Protocol; - /** - * The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided. - */ - ReplaceKeyPrefixWith?: ReplaceKeyPrefixWith; - /** - * The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided. - */ - ReplaceKeyWith?: ReplaceKeyWith; - } - export interface RedirectAllRequestsTo { - /** - * Name of the host where requests will be redirected. - */ - HostName: HostName; - /** - * Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request. - */ - Protocol?: Protocol; - } - export type ReplaceKeyPrefixWith = string; - export type ReplaceKeyWith = string; - export interface ReplicationConfiguration { - /** - * Amazon Resource Name (ARN) of an IAM role for Amazon S3 to assume when replicating the objects. - */ - Role: Role; - /** - * Container for information about a particular replication rule. Replication configuration must have at least one rule and can contain up to 1,000 rules. - */ - Rules: ReplicationRules; - } - export interface ReplicationRule { - /** - * Unique identifier for the rule. The value cannot be longer than 255 characters. - */ - ID?: ID; - /** - * Object keyname prefix identifying one or more objects to which the rule applies. Maximum prefix length can be up to 1,024 characters. Overlapping prefixes are not supported. - */ - Prefix: Prefix; - /** - * The rule is ignored if status is not Enabled. - */ - Status: ReplicationRuleStatus; - Destination: Destination; - } - export type ReplicationRuleStatus = "Enabled"|"Disabled"|string; - export type ReplicationRules = ReplicationRule[]; - export type ReplicationStatus = "COMPLETE"|"PENDING"|"FAILED"|"REPLICA"|string; - export type RequestCharged = "requester"|string; - export type RequestPayer = "requester"|string; - export interface RequestPaymentConfiguration { - /** - * Specifies who pays for the download and request fees. - */ - Payer: Payer; - } - export type ResponseCacheControl = string; - export type ResponseContentDisposition = string; - export type ResponseContentEncoding = string; - export type ResponseContentLanguage = string; - export type ResponseContentType = string; - export type ResponseExpires = Date; - export type Restore = string; - export interface RestoreObjectOutput { - RequestCharged?: RequestCharged; - } - export interface RestoreObjectRequest { - Bucket: BucketName; - Key: ObjectKey; - VersionId?: ObjectVersionId; - RestoreRequest?: RestoreRequest; - RequestPayer?: RequestPayer; - } - export interface RestoreRequest { - /** - * Lifetime of the active copy in days - */ - Days: Days; - /** - * Glacier related prameters pertaining to this job. - */ - GlacierJobParameters?: GlacierJobParameters; - } - export type Role = string; - export interface RoutingRule { - /** - * A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error. - */ - Condition?: Condition; - /** - * Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return. - */ - Redirect: Redirect; - } - export type RoutingRules = RoutingRule[]; - export interface Rule { - Expiration?: LifecycleExpiration; - /** - * Unique identifier for the rule. The value cannot be longer than 255 characters. - */ - ID?: ID; - /** - * Prefix identifying one or more objects to which the rule applies. - */ - Prefix: Prefix; - /** - * If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied. - */ - Status: ExpirationStatus; - Transition?: Transition; - NoncurrentVersionTransition?: NoncurrentVersionTransition; - NoncurrentVersionExpiration?: NoncurrentVersionExpiration; - AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload; - } - export type Rules = Rule[]; - export interface S3KeyFilter { - FilterRules?: FilterRuleList; - } - export type SSECustomerAlgorithm = string; - export type SSECustomerKey = Buffer|Uint8Array|Blob|string; - export type SSECustomerKeyMD5 = string; - export type SSEKMSKeyId = string; - export type ServerSideEncryption = "AES256"|"aws:kms"|string; - export type Size = number; - export type StartAfter = string; - export type StorageClass = "STANDARD"|"REDUCED_REDUNDANCY"|"STANDARD_IA"|string; - export interface StorageClassAnalysis { - /** - * A container used to describe how data related to the storage class analysis should be exported. - */ - DataExport?: StorageClassAnalysisDataExport; - } - export interface StorageClassAnalysisDataExport { - /** - * The version of the output schema to use when exporting data. Must be V_1. - */ - OutputSchemaVersion: StorageClassAnalysisSchemaVersion; - /** - * The place to store the data for an analysis. - */ - Destination: AnalyticsExportDestination; - } - export type StorageClassAnalysisSchemaVersion = "V_1"|string; - export type Suffix = string; - export interface Tag { - /** - * Name of the tag. - */ - Key: ObjectKey; - /** - * Value of the tag. - */ - Value: Value; - } - export type TagCount = number; - export type TagSet = Tag[]; - export interface Tagging { - TagSet: TagSet; - } - export type TaggingDirective = "COPY"|"REPLACE"|string; - export type TaggingHeader = string; - export type TargetBucket = string; - export interface TargetGrant { - Grantee?: Grantee; - /** - * Logging permissions assigned to the Grantee for the bucket. - */ - Permission?: BucketLogsPermission; - } - export type TargetGrants = TargetGrant[]; - export type TargetPrefix = string; - export type Tier = "Standard"|"Bulk"|"Expedited"|string; - export type Token = string; - export type TopicArn = string; - export interface TopicConfiguration { - Id?: NotificationId; - /** - * Amazon SNS topic ARN to which Amazon S3 will publish a message when it detects events of specified type. - */ - TopicArn: TopicArn; - Events: EventList; - Filter?: NotificationConfigurationFilter; - } - export interface TopicConfigurationDeprecated { - Id?: NotificationId; - Events?: EventList; - /** - * Bucket event for which to send notifications. - */ - Event?: Event; - /** - * Amazon SNS topic to which Amazon S3 will publish a message to report the specified events for the bucket. - */ - Topic?: TopicArn; - } - export type TopicConfigurationList = TopicConfiguration[]; - export interface Transition { - /** - * Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format. - */ - Date?: _Date; - /** - * Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer. - */ - Days?: Days; - /** - * The class of storage used to store the object. - */ - StorageClass?: TransitionStorageClass; - } - export type TransitionList = Transition[]; - export type TransitionStorageClass = "GLACIER"|"STANDARD_IA"|string; - export type Type = "CanonicalUser"|"AmazonCustomerByEmail"|"Group"|string; - export type URI = string; - export type UploadIdMarker = string; - export interface UploadPartCopyOutput { - /** - * The version of the source object that was copied, if you have enabled versioning on the source bucket. - */ - CopySourceVersionId?: CopySourceVersionId; - CopyPartResult?: CopyPartResult; - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used. - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object. - */ - SSEKMSKeyId?: SSEKMSKeyId; - RequestCharged?: RequestCharged; - } - export interface UploadPartCopyRequest { - Bucket: BucketName; - /** - * The name of the source bucket and key name of the source object, separated by a slash (/). Must be URL-encoded. - */ - CopySource: CopySource; - /** - * Copies the object if its entity tag (ETag) matches the specified tag. - */ - CopySourceIfMatch?: CopySourceIfMatch; - /** - * Copies the object if it has been modified since the specified time. - */ - CopySourceIfModifiedSince?: CopySourceIfModifiedSince; - /** - * Copies the object if its entity tag (ETag) is different than the specified ETag. - */ - CopySourceIfNoneMatch?: CopySourceIfNoneMatch; - /** - * Copies the object if it hasn't been modified since the specified time. - */ - CopySourceIfUnmodifiedSince?: CopySourceIfUnmodifiedSince; - /** - * The range of bytes to copy from the source object. The range value must use the form bytes=first-last, where the first and last are the zero-based byte offsets to copy. For example, bytes=0-9 indicates that you want to copy the first ten bytes of the source. You can copy a range only if the source object is greater than 5 GB. - */ - CopySourceRange?: CopySourceRange; - Key: ObjectKey; - /** - * Part number of part being copied. This is a positive integer between 1 and 10,000. - */ - PartNumber: PartNumber; - /** - * Upload ID identifying the multipart upload whose part is being copied. - */ - UploadId: MultipartUploadId; - /** - * Specifies the algorithm to use to when encrypting the object (e.g., AES256). - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side​-encryption​-customer-algorithm header. This must be the same encryption key specified in the initiate multipart upload request. - */ - SSECustomerKey?: SSECustomerKey; - /** - * Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * Specifies the algorithm to use when decrypting the source object (e.g., AES256). - */ - CopySourceSSECustomerAlgorithm?: CopySourceSSECustomerAlgorithm; - /** - * Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created. - */ - CopySourceSSECustomerKey?: CopySourceSSECustomerKey; - /** - * Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error. - */ - CopySourceSSECustomerKeyMD5?: CopySourceSSECustomerKeyMD5; - RequestPayer?: RequestPayer; - } - export interface UploadPartOutput { - /** - * The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms). - */ - ServerSideEncryption?: ServerSideEncryption; - /** - * Entity tag for the uploaded object. - */ - ETag?: ETag; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used. - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - /** - * If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object. - */ - SSEKMSKeyId?: SSEKMSKeyId; - RequestCharged?: RequestCharged; - } - export interface UploadPartRequest { - /** - * Object data. - */ - Body?: Body; - /** - * Name of the bucket to which the multipart upload was initiated. - */ - Bucket: BucketName; - /** - * Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. - */ - ContentLength?: ContentLength; - /** - * The base64-encoded 128-bit MD5 digest of the part data. - */ - ContentMD5?: ContentMD5; - /** - * Object key for which the multipart upload was initiated. - */ - Key: ObjectKey; - /** - * Part number of part being uploaded. This is a positive integer between 1 and 10,000. - */ - PartNumber: PartNumber; - /** - * Upload ID identifying the multipart upload whose part is being uploaded. - */ - UploadId: MultipartUploadId; - /** - * Specifies the algorithm to use to when encrypting the object (e.g., AES256). - */ - SSECustomerAlgorithm?: SSECustomerAlgorithm; - /** - * Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side​-encryption​-customer-algorithm header. This must be the same encryption key specified in the initiate multipart upload request. - */ - SSECustomerKey?: SSECustomerKey; - /** - * Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error. - */ - SSECustomerKeyMD5?: SSECustomerKeyMD5; - RequestPayer?: RequestPayer; - } - export type Value = string; - export type VersionIdMarker = string; - export interface VersioningConfiguration { - /** - * Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned. - */ - MFADelete?: MFADelete; - /** - * The versioning state of the bucket. - */ - Status?: BucketVersioningStatus; - } - export interface WebsiteConfiguration { - ErrorDocument?: ErrorDocument; - IndexDocument?: IndexDocument; - RedirectAllRequestsTo?: RedirectAllRequestsTo; - RoutingRules?: RoutingRules; - } - export type WebsiteRedirectLocation = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2006-03-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & UseDualstackConfigOptions & ClientApiVersions; - /** - * Contains interfaces for use with the S3 client. - */ - export import Types = S3; -} -export = S3; diff --git a/src/node_modules/aws-sdk/clients/s3.js b/src/node_modules/aws-sdk/clients/s3.js deleted file mode 100644 index e04ebf4..0000000 --- a/src/node_modules/aws-sdk/clients/s3.js +++ /dev/null @@ -1,20 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['s3'] = {}; -AWS.S3 = Service.defineService('s3', ['2006-03-01']); -require('../lib/services/s3'); -Object.defineProperty(apiLoader.services['s3'], '2006-03-01', { - get: function get() { - var model = require('../apis/s3-2006-03-01.min.json'); - model.paginators = require('../apis/s3-2006-03-01.paginators.json').pagination; - model.waiters = require('../apis/s3-2006-03-01.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.S3; diff --git a/src/node_modules/aws-sdk/clients/servicecatalog.d.ts b/src/node_modules/aws-sdk/clients/servicecatalog.d.ts deleted file mode 100644 index 434f233..0000000 --- a/src/node_modules/aws-sdk/clients/servicecatalog.d.ts +++ /dev/null @@ -1,2416 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class ServiceCatalog extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: ServiceCatalog.Types.ClientConfiguration) - config: Config & ServiceCatalog.Types.ClientConfiguration; - /** - * Accepts an offer to share a portfolio. - */ - acceptPortfolioShare(params: ServiceCatalog.Types.AcceptPortfolioShareInput, callback?: (err: AWSError, data: ServiceCatalog.Types.AcceptPortfolioShareOutput) => void): Request; - /** - * Accepts an offer to share a portfolio. - */ - acceptPortfolioShare(callback?: (err: AWSError, data: ServiceCatalog.Types.AcceptPortfolioShareOutput) => void): Request; - /** - * Associates the specified principal ARN with the specified portfolio. - */ - associatePrincipalWithPortfolio(params: ServiceCatalog.Types.AssociatePrincipalWithPortfolioInput, callback?: (err: AWSError, data: ServiceCatalog.Types.AssociatePrincipalWithPortfolioOutput) => void): Request; - /** - * Associates the specified principal ARN with the specified portfolio. - */ - associatePrincipalWithPortfolio(callback?: (err: AWSError, data: ServiceCatalog.Types.AssociatePrincipalWithPortfolioOutput) => void): Request; - /** - * Associates a product with a portfolio. - */ - associateProductWithPortfolio(params: ServiceCatalog.Types.AssociateProductWithPortfolioInput, callback?: (err: AWSError, data: ServiceCatalog.Types.AssociateProductWithPortfolioOutput) => void): Request; - /** - * Associates a product with a portfolio. - */ - associateProductWithPortfolio(callback?: (err: AWSError, data: ServiceCatalog.Types.AssociateProductWithPortfolioOutput) => void): Request; - /** - * Associate a TagOption identifier with a resource identifier. - */ - associateTagOptionWithResource(params: ServiceCatalog.Types.AssociateTagOptionWithResourceInput, callback?: (err: AWSError, data: ServiceCatalog.Types.AssociateTagOptionWithResourceOutput) => void): Request; - /** - * Associate a TagOption identifier with a resource identifier. - */ - associateTagOptionWithResource(callback?: (err: AWSError, data: ServiceCatalog.Types.AssociateTagOptionWithResourceOutput) => void): Request; - /** - * Creates a new constraint. For more information, see Using Constraints. - */ - createConstraint(params: ServiceCatalog.Types.CreateConstraintInput, callback?: (err: AWSError, data: ServiceCatalog.Types.CreateConstraintOutput) => void): Request; - /** - * Creates a new constraint. For more information, see Using Constraints. - */ - createConstraint(callback?: (err: AWSError, data: ServiceCatalog.Types.CreateConstraintOutput) => void): Request; - /** - * Creates a new portfolio. - */ - createPortfolio(params: ServiceCatalog.Types.CreatePortfolioInput, callback?: (err: AWSError, data: ServiceCatalog.Types.CreatePortfolioOutput) => void): Request; - /** - * Creates a new portfolio. - */ - createPortfolio(callback?: (err: AWSError, data: ServiceCatalog.Types.CreatePortfolioOutput) => void): Request; - /** - * Creates a new portfolio share. - */ - createPortfolioShare(params: ServiceCatalog.Types.CreatePortfolioShareInput, callback?: (err: AWSError, data: ServiceCatalog.Types.CreatePortfolioShareOutput) => void): Request; - /** - * Creates a new portfolio share. - */ - createPortfolioShare(callback?: (err: AWSError, data: ServiceCatalog.Types.CreatePortfolioShareOutput) => void): Request; - /** - * Creates a new product. - */ - createProduct(params: ServiceCatalog.Types.CreateProductInput, callback?: (err: AWSError, data: ServiceCatalog.Types.CreateProductOutput) => void): Request; - /** - * Creates a new product. - */ - createProduct(callback?: (err: AWSError, data: ServiceCatalog.Types.CreateProductOutput) => void): Request; - /** - * Create a new provisioning artifact for the specified product. This operation does not work with a product that has been shared with you. See the bottom of this topic for an example JSON request. - */ - createProvisioningArtifact(params: ServiceCatalog.Types.CreateProvisioningArtifactInput, callback?: (err: AWSError, data: ServiceCatalog.Types.CreateProvisioningArtifactOutput) => void): Request; - /** - * Create a new provisioning artifact for the specified product. This operation does not work with a product that has been shared with you. See the bottom of this topic for an example JSON request. - */ - createProvisioningArtifact(callback?: (err: AWSError, data: ServiceCatalog.Types.CreateProvisioningArtifactOutput) => void): Request; - /** - * Create a new TagOption. - */ - createTagOption(params: ServiceCatalog.Types.CreateTagOptionInput, callback?: (err: AWSError, data: ServiceCatalog.Types.CreateTagOptionOutput) => void): Request; - /** - * Create a new TagOption. - */ - createTagOption(callback?: (err: AWSError, data: ServiceCatalog.Types.CreateTagOptionOutput) => void): Request; - /** - * Deletes the specified constraint. - */ - deleteConstraint(params: ServiceCatalog.Types.DeleteConstraintInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DeleteConstraintOutput) => void): Request; - /** - * Deletes the specified constraint. - */ - deleteConstraint(callback?: (err: AWSError, data: ServiceCatalog.Types.DeleteConstraintOutput) => void): Request; - /** - * Deletes the specified portfolio. This operation does not work with a portfolio that has been shared with you or if it has products, users, constraints, or shared accounts associated with it. - */ - deletePortfolio(params: ServiceCatalog.Types.DeletePortfolioInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DeletePortfolioOutput) => void): Request; - /** - * Deletes the specified portfolio. This operation does not work with a portfolio that has been shared with you or if it has products, users, constraints, or shared accounts associated with it. - */ - deletePortfolio(callback?: (err: AWSError, data: ServiceCatalog.Types.DeletePortfolioOutput) => void): Request; - /** - * Deletes the specified portfolio share. - */ - deletePortfolioShare(params: ServiceCatalog.Types.DeletePortfolioShareInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DeletePortfolioShareOutput) => void): Request; - /** - * Deletes the specified portfolio share. - */ - deletePortfolioShare(callback?: (err: AWSError, data: ServiceCatalog.Types.DeletePortfolioShareOutput) => void): Request; - /** - * Deletes the specified product. This operation does not work with a product that has been shared with you or is associated with a portfolio. - */ - deleteProduct(params: ServiceCatalog.Types.DeleteProductInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DeleteProductOutput) => void): Request; - /** - * Deletes the specified product. This operation does not work with a product that has been shared with you or is associated with a portfolio. - */ - deleteProduct(callback?: (err: AWSError, data: ServiceCatalog.Types.DeleteProductOutput) => void): Request; - /** - * Deletes the specified provisioning artifact. This operation does not work on a provisioning artifact associated with a product that has been shared with you, or on the last provisioning artifact associated with a product (a product must have at least one provisioning artifact). - */ - deleteProvisioningArtifact(params: ServiceCatalog.Types.DeleteProvisioningArtifactInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DeleteProvisioningArtifactOutput) => void): Request; - /** - * Deletes the specified provisioning artifact. This operation does not work on a provisioning artifact associated with a product that has been shared with you, or on the last provisioning artifact associated with a product (a product must have at least one provisioning artifact). - */ - deleteProvisioningArtifact(callback?: (err: AWSError, data: ServiceCatalog.Types.DeleteProvisioningArtifactOutput) => void): Request; - /** - * Retrieves detailed information for a specified constraint. - */ - describeConstraint(params: ServiceCatalog.Types.DescribeConstraintInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeConstraintOutput) => void): Request; - /** - * Retrieves detailed information for a specified constraint. - */ - describeConstraint(callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeConstraintOutput) => void): Request; - /** - * Retrieves detailed information and any tags associated with the specified portfolio. - */ - describePortfolio(params: ServiceCatalog.Types.DescribePortfolioInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DescribePortfolioOutput) => void): Request; - /** - * Retrieves detailed information and any tags associated with the specified portfolio. - */ - describePortfolio(callback?: (err: AWSError, data: ServiceCatalog.Types.DescribePortfolioOutput) => void): Request; - /** - * Retrieves information about a specified product. This operation is functionally identical to DescribeProductView except that it takes as input ProductId instead of ProductViewId. - */ - describeProduct(params: ServiceCatalog.Types.DescribeProductInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProductOutput) => void): Request; - /** - * Retrieves information about a specified product. This operation is functionally identical to DescribeProductView except that it takes as input ProductId instead of ProductViewId. - */ - describeProduct(callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProductOutput) => void): Request; - /** - * Retrieves information about a specified product, run with administrator access. - */ - describeProductAsAdmin(params: ServiceCatalog.Types.DescribeProductAsAdminInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProductAsAdminOutput) => void): Request; - /** - * Retrieves information about a specified product, run with administrator access. - */ - describeProductAsAdmin(callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProductAsAdminOutput) => void): Request; - /** - * Retrieves information about a specified product. This operation is functionally identical to DescribeProduct except that it takes as input ProductViewId instead of ProductId. - */ - describeProductView(params: ServiceCatalog.Types.DescribeProductViewInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProductViewOutput) => void): Request; - /** - * Retrieves information about a specified product. This operation is functionally identical to DescribeProduct except that it takes as input ProductViewId instead of ProductId. - */ - describeProductView(callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProductViewOutput) => void): Request; - /** - * Retrieve detailed information about the provisioned product. - */ - describeProvisionedProduct(params: ServiceCatalog.Types.DescribeProvisionedProductInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProvisionedProductOutput) => void): Request; - /** - * Retrieve detailed information about the provisioned product. - */ - describeProvisionedProduct(callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProvisionedProductOutput) => void): Request; - /** - * Retrieves detailed information about the specified provisioning artifact. - */ - describeProvisioningArtifact(params: ServiceCatalog.Types.DescribeProvisioningArtifactInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProvisioningArtifactOutput) => void): Request; - /** - * Retrieves detailed information about the specified provisioning artifact. - */ - describeProvisioningArtifact(callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProvisioningArtifactOutput) => void): Request; - /** - * Provides information about parameters required to provision a specified product in a specified manner. Use this operation to obtain the list of ProvisioningArtifactParameters parameters available to call the ProvisionProduct operation for the specified product. If the output contains a TagOption key with an empty list of values, there is a TagOption conflict for that key. The end user cannot take action to fix the conflict, and launch is not blocked. In subsequent calls to the ProvisionProduct operation, do not include conflicted TagOption keys as tags. Calls to ProvisionProduct with empty TagOption values cause the error "Parameter validation failed: Missing required parameter in Tags[N]:Value ". Calls to ProvisionProduct with conflicted TagOption keys automatically tag the provisioned product with the conflicted keys with the value "sc-tagoption-conflict-portfolioId-productId". - */ - describeProvisioningParameters(params: ServiceCatalog.Types.DescribeProvisioningParametersInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProvisioningParametersOutput) => void): Request; - /** - * Provides information about parameters required to provision a specified product in a specified manner. Use this operation to obtain the list of ProvisioningArtifactParameters parameters available to call the ProvisionProduct operation for the specified product. If the output contains a TagOption key with an empty list of values, there is a TagOption conflict for that key. The end user cannot take action to fix the conflict, and launch is not blocked. In subsequent calls to the ProvisionProduct operation, do not include conflicted TagOption keys as tags. Calls to ProvisionProduct with empty TagOption values cause the error "Parameter validation failed: Missing required parameter in Tags[N]:Value ". Calls to ProvisionProduct with conflicted TagOption keys automatically tag the provisioned product with the conflicted keys with the value "sc-tagoption-conflict-portfolioId-productId". - */ - describeProvisioningParameters(callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeProvisioningParametersOutput) => void): Request; - /** - * Retrieves a paginated list of the full details of a specific request. Use this operation after calling a request operation (ProvisionProduct, TerminateProvisionedProduct, or UpdateProvisionedProduct). - */ - describeRecord(params: ServiceCatalog.Types.DescribeRecordInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeRecordOutput) => void): Request; - /** - * Retrieves a paginated list of the full details of a specific request. Use this operation after calling a request operation (ProvisionProduct, TerminateProvisionedProduct, or UpdateProvisionedProduct). - */ - describeRecord(callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeRecordOutput) => void): Request; - /** - * Describes a TagOption. - */ - describeTagOption(params: ServiceCatalog.Types.DescribeTagOptionInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeTagOptionOutput) => void): Request; - /** - * Describes a TagOption. - */ - describeTagOption(callback?: (err: AWSError, data: ServiceCatalog.Types.DescribeTagOptionOutput) => void): Request; - /** - * Disassociates a previously associated principal ARN from a specified portfolio. - */ - disassociatePrincipalFromPortfolio(params: ServiceCatalog.Types.DisassociatePrincipalFromPortfolioInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DisassociatePrincipalFromPortfolioOutput) => void): Request; - /** - * Disassociates a previously associated principal ARN from a specified portfolio. - */ - disassociatePrincipalFromPortfolio(callback?: (err: AWSError, data: ServiceCatalog.Types.DisassociatePrincipalFromPortfolioOutput) => void): Request; - /** - * Disassociates the specified product from the specified portfolio. - */ - disassociateProductFromPortfolio(params: ServiceCatalog.Types.DisassociateProductFromPortfolioInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DisassociateProductFromPortfolioOutput) => void): Request; - /** - * Disassociates the specified product from the specified portfolio. - */ - disassociateProductFromPortfolio(callback?: (err: AWSError, data: ServiceCatalog.Types.DisassociateProductFromPortfolioOutput) => void): Request; - /** - * Disassociates a TagOption from a resource. - */ - disassociateTagOptionFromResource(params: ServiceCatalog.Types.DisassociateTagOptionFromResourceInput, callback?: (err: AWSError, data: ServiceCatalog.Types.DisassociateTagOptionFromResourceOutput) => void): Request; - /** - * Disassociates a TagOption from a resource. - */ - disassociateTagOptionFromResource(callback?: (err: AWSError, data: ServiceCatalog.Types.DisassociateTagOptionFromResourceOutput) => void): Request; - /** - * Lists details of all portfolios for which sharing was accepted by this account. - */ - listAcceptedPortfolioShares(params: ServiceCatalog.Types.ListAcceptedPortfolioSharesInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListAcceptedPortfolioSharesOutput) => void): Request; - /** - * Lists details of all portfolios for which sharing was accepted by this account. - */ - listAcceptedPortfolioShares(callback?: (err: AWSError, data: ServiceCatalog.Types.ListAcceptedPortfolioSharesOutput) => void): Request; - /** - * Retrieves detailed constraint information for the specified portfolio and product. - */ - listConstraintsForPortfolio(params: ServiceCatalog.Types.ListConstraintsForPortfolioInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListConstraintsForPortfolioOutput) => void): Request; - /** - * Retrieves detailed constraint information for the specified portfolio and product. - */ - listConstraintsForPortfolio(callback?: (err: AWSError, data: ServiceCatalog.Types.ListConstraintsForPortfolioOutput) => void): Request; - /** - * Returns a paginated list of all paths to a specified product. A path is how the user has access to a specified product, and is necessary when provisioning a product. A path also determines the constraints put on the product. - */ - listLaunchPaths(params: ServiceCatalog.Types.ListLaunchPathsInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListLaunchPathsOutput) => void): Request; - /** - * Returns a paginated list of all paths to a specified product. A path is how the user has access to a specified product, and is necessary when provisioning a product. A path also determines the constraints put on the product. - */ - listLaunchPaths(callback?: (err: AWSError, data: ServiceCatalog.Types.ListLaunchPathsOutput) => void): Request; - /** - * Lists the account IDs that have been authorized sharing of the specified portfolio. - */ - listPortfolioAccess(params: ServiceCatalog.Types.ListPortfolioAccessInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListPortfolioAccessOutput) => void): Request; - /** - * Lists the account IDs that have been authorized sharing of the specified portfolio. - */ - listPortfolioAccess(callback?: (err: AWSError, data: ServiceCatalog.Types.ListPortfolioAccessOutput) => void): Request; - /** - * Lists all portfolios in the catalog. - */ - listPortfolios(params: ServiceCatalog.Types.ListPortfoliosInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListPortfoliosOutput) => void): Request; - /** - * Lists all portfolios in the catalog. - */ - listPortfolios(callback?: (err: AWSError, data: ServiceCatalog.Types.ListPortfoliosOutput) => void): Request; - /** - * Lists all portfolios that the specified product is associated with. - */ - listPortfoliosForProduct(params: ServiceCatalog.Types.ListPortfoliosForProductInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListPortfoliosForProductOutput) => void): Request; - /** - * Lists all portfolios that the specified product is associated with. - */ - listPortfoliosForProduct(callback?: (err: AWSError, data: ServiceCatalog.Types.ListPortfoliosForProductOutput) => void): Request; - /** - * Lists all principal ARNs associated with the specified portfolio. - */ - listPrincipalsForPortfolio(params: ServiceCatalog.Types.ListPrincipalsForPortfolioInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListPrincipalsForPortfolioOutput) => void): Request; - /** - * Lists all principal ARNs associated with the specified portfolio. - */ - listPrincipalsForPortfolio(callback?: (err: AWSError, data: ServiceCatalog.Types.ListPrincipalsForPortfolioOutput) => void): Request; - /** - * Lists all provisioning artifacts associated with the specified product. - */ - listProvisioningArtifacts(params: ServiceCatalog.Types.ListProvisioningArtifactsInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListProvisioningArtifactsOutput) => void): Request; - /** - * Lists all provisioning artifacts associated with the specified product. - */ - listProvisioningArtifacts(callback?: (err: AWSError, data: ServiceCatalog.Types.ListProvisioningArtifactsOutput) => void): Request; - /** - * Returns a paginated list of all performed requests, in the form of RecordDetails objects that are filtered as specified. - */ - listRecordHistory(params: ServiceCatalog.Types.ListRecordHistoryInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListRecordHistoryOutput) => void): Request; - /** - * Returns a paginated list of all performed requests, in the form of RecordDetails objects that are filtered as specified. - */ - listRecordHistory(callback?: (err: AWSError, data: ServiceCatalog.Types.ListRecordHistoryOutput) => void): Request; - /** - * Lists resources associated with a TagOption. - */ - listResourcesForTagOption(params: ServiceCatalog.Types.ListResourcesForTagOptionInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListResourcesForTagOptionOutput) => void): Request; - /** - * Lists resources associated with a TagOption. - */ - listResourcesForTagOption(callback?: (err: AWSError, data: ServiceCatalog.Types.ListResourcesForTagOptionOutput) => void): Request; - /** - * Lists detailed TagOptions information. - */ - listTagOptions(params: ServiceCatalog.Types.ListTagOptionsInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ListTagOptionsOutput) => void): Request; - /** - * Lists detailed TagOptions information. - */ - listTagOptions(callback?: (err: AWSError, data: ServiceCatalog.Types.ListTagOptionsOutput) => void): Request; - /** - * Requests a provision of a specified product. A provisioned product is a resourced instance for a product. For example, provisioning a CloudFormation-template-backed product results in launching a CloudFormation stack and all the underlying resources that come with it. You can check the status of this request using the DescribeRecord operation. The error "Parameter validation failed: Missing required parameter in Tags[N]:Value" indicates that your request contains a tag which has a tag key but no corresponding tag value (value is empty or null). Your call may have included values returned from a DescribeProvisioningParameters call that resulted in a TagOption key with an empty list. This happens when TagOption keys are in conflict. For more information, see DescribeProvisioningParameters. - */ - provisionProduct(params: ServiceCatalog.Types.ProvisionProductInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ProvisionProductOutput) => void): Request; - /** - * Requests a provision of a specified product. A provisioned product is a resourced instance for a product. For example, provisioning a CloudFormation-template-backed product results in launching a CloudFormation stack and all the underlying resources that come with it. You can check the status of this request using the DescribeRecord operation. The error "Parameter validation failed: Missing required parameter in Tags[N]:Value" indicates that your request contains a tag which has a tag key but no corresponding tag value (value is empty or null). Your call may have included values returned from a DescribeProvisioningParameters call that resulted in a TagOption key with an empty list. This happens when TagOption keys are in conflict. For more information, see DescribeProvisioningParameters. - */ - provisionProduct(callback?: (err: AWSError, data: ServiceCatalog.Types.ProvisionProductOutput) => void): Request; - /** - * Rejects an offer to share a portfolio. - */ - rejectPortfolioShare(params: ServiceCatalog.Types.RejectPortfolioShareInput, callback?: (err: AWSError, data: ServiceCatalog.Types.RejectPortfolioShareOutput) => void): Request; - /** - * Rejects an offer to share a portfolio. - */ - rejectPortfolioShare(callback?: (err: AWSError, data: ServiceCatalog.Types.RejectPortfolioShareOutput) => void): Request; - /** - * Returns a paginated list of all the ProvisionedProduct objects that are currently available (not terminated). - */ - scanProvisionedProducts(params: ServiceCatalog.Types.ScanProvisionedProductsInput, callback?: (err: AWSError, data: ServiceCatalog.Types.ScanProvisionedProductsOutput) => void): Request; - /** - * Returns a paginated list of all the ProvisionedProduct objects that are currently available (not terminated). - */ - scanProvisionedProducts(callback?: (err: AWSError, data: ServiceCatalog.Types.ScanProvisionedProductsOutput) => void): Request; - /** - * Returns a paginated list all of the Products objects to which the caller has access. The output of this operation can be used as input for other operations, such as DescribeProductView. - */ - searchProducts(params: ServiceCatalog.Types.SearchProductsInput, callback?: (err: AWSError, data: ServiceCatalog.Types.SearchProductsOutput) => void): Request; - /** - * Returns a paginated list all of the Products objects to which the caller has access. The output of this operation can be used as input for other operations, such as DescribeProductView. - */ - searchProducts(callback?: (err: AWSError, data: ServiceCatalog.Types.SearchProductsOutput) => void): Request; - /** - * Retrieves summary and status information about all products created within the caller's account. If a portfolio ID is provided, this operation retrieves information for only those products that are associated with the specified portfolio. - */ - searchProductsAsAdmin(params: ServiceCatalog.Types.SearchProductsAsAdminInput, callback?: (err: AWSError, data: ServiceCatalog.Types.SearchProductsAsAdminOutput) => void): Request; - /** - * Retrieves summary and status information about all products created within the caller's account. If a portfolio ID is provided, this operation retrieves information for only those products that are associated with the specified portfolio. - */ - searchProductsAsAdmin(callback?: (err: AWSError, data: ServiceCatalog.Types.SearchProductsAsAdminOutput) => void): Request; - /** - * Requests termination of an existing ProvisionedProduct object. If there are Tags associated with the object, they are terminated when the ProvisionedProduct object is terminated. This operation does not delete any records associated with the ProvisionedProduct object. You can check the status of this request using the DescribeRecord operation. - */ - terminateProvisionedProduct(params: ServiceCatalog.Types.TerminateProvisionedProductInput, callback?: (err: AWSError, data: ServiceCatalog.Types.TerminateProvisionedProductOutput) => void): Request; - /** - * Requests termination of an existing ProvisionedProduct object. If there are Tags associated with the object, they are terminated when the ProvisionedProduct object is terminated. This operation does not delete any records associated with the ProvisionedProduct object. You can check the status of this request using the DescribeRecord operation. - */ - terminateProvisionedProduct(callback?: (err: AWSError, data: ServiceCatalog.Types.TerminateProvisionedProductOutput) => void): Request; - /** - * Updates an existing constraint. - */ - updateConstraint(params: ServiceCatalog.Types.UpdateConstraintInput, callback?: (err: AWSError, data: ServiceCatalog.Types.UpdateConstraintOutput) => void): Request; - /** - * Updates an existing constraint. - */ - updateConstraint(callback?: (err: AWSError, data: ServiceCatalog.Types.UpdateConstraintOutput) => void): Request; - /** - * Updates the specified portfolio's details. This operation does not work with a product that has been shared with you. - */ - updatePortfolio(params: ServiceCatalog.Types.UpdatePortfolioInput, callback?: (err: AWSError, data: ServiceCatalog.Types.UpdatePortfolioOutput) => void): Request; - /** - * Updates the specified portfolio's details. This operation does not work with a product that has been shared with you. - */ - updatePortfolio(callback?: (err: AWSError, data: ServiceCatalog.Types.UpdatePortfolioOutput) => void): Request; - /** - * Updates an existing product. - */ - updateProduct(params: ServiceCatalog.Types.UpdateProductInput, callback?: (err: AWSError, data: ServiceCatalog.Types.UpdateProductOutput) => void): Request; - /** - * Updates an existing product. - */ - updateProduct(callback?: (err: AWSError, data: ServiceCatalog.Types.UpdateProductOutput) => void): Request; - /** - * Requests updates to the configuration of an existing ProvisionedProduct object. If there are tags associated with the object, they cannot be updated or added with this operation. Depending on the specific updates requested, this operation may update with no interruption, with some interruption, or replace the ProvisionedProduct object entirely. You can check the status of this request using the DescribeRecord operation. - */ - updateProvisionedProduct(params: ServiceCatalog.Types.UpdateProvisionedProductInput, callback?: (err: AWSError, data: ServiceCatalog.Types.UpdateProvisionedProductOutput) => void): Request; - /** - * Requests updates to the configuration of an existing ProvisionedProduct object. If there are tags associated with the object, they cannot be updated or added with this operation. Depending on the specific updates requested, this operation may update with no interruption, with some interruption, or replace the ProvisionedProduct object entirely. You can check the status of this request using the DescribeRecord operation. - */ - updateProvisionedProduct(callback?: (err: AWSError, data: ServiceCatalog.Types.UpdateProvisionedProductOutput) => void): Request; - /** - * Updates an existing provisioning artifact's information. This operation does not work on a provisioning artifact associated with a product that has been shared with you. - */ - updateProvisioningArtifact(params: ServiceCatalog.Types.UpdateProvisioningArtifactInput, callback?: (err: AWSError, data: ServiceCatalog.Types.UpdateProvisioningArtifactOutput) => void): Request; - /** - * Updates an existing provisioning artifact's information. This operation does not work on a provisioning artifact associated with a product that has been shared with you. - */ - updateProvisioningArtifact(callback?: (err: AWSError, data: ServiceCatalog.Types.UpdateProvisioningArtifactOutput) => void): Request; - /** - * Updates an existing TagOption. - */ - updateTagOption(params: ServiceCatalog.Types.UpdateTagOptionInput, callback?: (err: AWSError, data: ServiceCatalog.Types.UpdateTagOptionOutput) => void): Request; - /** - * Updates an existing TagOption. - */ - updateTagOption(callback?: (err: AWSError, data: ServiceCatalog.Types.UpdateTagOptionOutput) => void): Request; -} -declare namespace ServiceCatalog { - export type AcceptLanguage = string; - export interface AcceptPortfolioShareInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - } - export interface AcceptPortfolioShareOutput { - } - export interface AccessLevelFilter { - /** - * Specifies the access level. Account allows results at the account level. Role allows results based on the federated role of the specified user. User allows results limited to the specified user. - */ - Key?: AccessLevelFilterKey; - /** - * Specifies the user to which the access level applies. A value of Self is currently supported. - */ - Value?: AccessLevelFilterValue; - } - export type AccessLevelFilterKey = "Account"|"Role"|"User"|string; - export type AccessLevelFilterValue = string; - export type AccountId = string; - export type AccountIds = AccountId[]; - export type AddTags = Tag[]; - export type AllowedValue = string; - export type AllowedValues = AllowedValue[]; - export type ApproximateCount = number; - export interface AssociatePrincipalWithPortfolioInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - /** - * The ARN representing the principal (IAM user, role, or group). - */ - PrincipalARN: PrincipalARN; - /** - * The principal type. Must be IAM - */ - PrincipalType: PrincipalType; - } - export interface AssociatePrincipalWithPortfolioOutput { - } - export interface AssociateProductWithPortfolioInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The product identifier. - */ - ProductId: Id; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - /** - * The identifier of the source portfolio to use with this association. - */ - SourcePortfolioId?: Id; - } - export interface AssociateProductWithPortfolioOutput { - } - export interface AssociateTagOptionWithResourceInput { - /** - * The resource identifier. - */ - ResourceId: ResourceId; - /** - * The TagOption identifier. - */ - TagOptionId: TagOptionId; - } - export interface AssociateTagOptionWithResourceOutput { - } - export type AttributeValue = string; - export type ConstraintDescription = string; - export interface ConstraintDetail { - /** - * The identifier of the constraint. - */ - ConstraintId?: Id; - /** - * The type of the constraint. - */ - Type?: ConstraintType; - /** - * The text description of the constraint. - */ - Description?: ConstraintDescription; - /** - * The owner of the constraint. - */ - Owner?: AccountId; - } - export type ConstraintDetails = ConstraintDetail[]; - export type ConstraintParameters = string; - export type ConstraintSummaries = ConstraintSummary[]; - export interface ConstraintSummary { - /** - * The type of the constraint. - */ - Type?: ConstraintType; - /** - * The text description of the constraint. - */ - Description?: ConstraintDescription; - } - export type ConstraintType = string; - export interface CreateConstraintInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - /** - * The product identifier. - */ - ProductId: Id; - /** - * The constraint parameters. Expected values vary depending on which Type is specified. For examples, see the bottom of this topic. For Type LAUNCH, the RoleArn property is required. For Type NOTIFICATION, the NotificationArns property is required. For Type TEMPLATE, the Rules property is required. - */ - Parameters: ConstraintParameters; - /** - * The type of the constraint. Case-sensitive valid values are: LAUNCH, NOTIFICATION, or TEMPLATE. - */ - Type: ConstraintType; - /** - * The text description of the constraint. - */ - Description?: ConstraintDescription; - /** - * A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request. - */ - IdempotencyToken: IdempotencyToken; - } - export interface CreateConstraintOutput { - /** - * The resulting detailed constraint information. - */ - ConstraintDetail?: ConstraintDetail; - /** - * The resulting constraint parameters. - */ - ConstraintParameters?: ConstraintParameters; - /** - * The status of the current request. - */ - Status?: Status; - } - export interface CreatePortfolioInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The name to use for display purposes. - */ - DisplayName: PortfolioDisplayName; - /** - * The text description of the portfolio. - */ - Description?: PortfolioDescription; - /** - * The name of the portfolio provider. - */ - ProviderName: ProviderName; - /** - * Tags to associate with the new portfolio. - */ - Tags?: AddTags; - /** - * A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request. - */ - IdempotencyToken: IdempotencyToken; - } - export interface CreatePortfolioOutput { - /** - * The resulting detailed portfolio information. - */ - PortfolioDetail?: PortfolioDetail; - /** - * Tags successfully associated with the new portfolio. - */ - Tags?: Tags; - } - export interface CreatePortfolioShareInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - /** - * The account ID with which to share the portfolio. - */ - AccountId: AccountId; - } - export interface CreatePortfolioShareOutput { - } - export interface CreateProductInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The name of the product. - */ - Name: ProductViewName; - /** - * The owner of the product. - */ - Owner: ProductViewOwner; - /** - * The text description of the product. - */ - Description?: ProductViewShortDescription; - /** - * The distributor of the product. - */ - Distributor?: ProductViewOwner; - /** - * Support information about the product. - */ - SupportDescription?: SupportDescription; - /** - * Contact email for product support. - */ - SupportEmail?: SupportEmail; - /** - * Contact URL for product support. - */ - SupportUrl?: SupportUrl; - /** - * The type of the product to create. - */ - ProductType: ProductType; - /** - * Tags to associate with the new product. - */ - Tags?: AddTags; - /** - * Parameters for the provisioning artifact. - */ - ProvisioningArtifactParameters: ProvisioningArtifactProperties; - /** - * A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request. - */ - IdempotencyToken: IdempotencyToken; - } - export interface CreateProductOutput { - /** - * The resulting detailed product view information. - */ - ProductViewDetail?: ProductViewDetail; - /** - * The resulting detailed provisioning artifact information. - */ - ProvisioningArtifactDetail?: ProvisioningArtifactDetail; - /** - * Tags successfully associated with the new product. - */ - Tags?: Tags; - } - export interface CreateProvisioningArtifactInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The product identifier. - */ - ProductId: Id; - /** - * The parameters to use when creating the new provisioning artifact. - */ - Parameters: ProvisioningArtifactProperties; - /** - * A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request. - */ - IdempotencyToken: IdempotencyToken; - } - export interface CreateProvisioningArtifactOutput { - /** - * The resulting detailed provisioning artifact information. - */ - ProvisioningArtifactDetail?: ProvisioningArtifactDetail; - /** - * Additional information about the creation request for the provisioning artifact. - */ - Info?: ProvisioningArtifactInfo; - /** - * The status of the current request. - */ - Status?: Status; - } - export interface CreateTagOptionInput { - /** - * The TagOption key. - */ - Key: TagOptionKey; - /** - * The TagOption value. - */ - Value: TagOptionValue; - } - export interface CreateTagOptionOutput { - /** - * The resulting detailed TagOption information. - */ - TagOptionDetail?: TagOptionDetail; - } - export type CreatedTime = Date; - export type CreationTime = Date; - export type DefaultValue = string; - export interface DeleteConstraintInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The identifier of the constraint to delete. - */ - Id: Id; - } - export interface DeleteConstraintOutput { - } - export interface DeletePortfolioInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The identifier of the portfolio for the delete request. - */ - Id: Id; - } - export interface DeletePortfolioOutput { - } - export interface DeletePortfolioShareInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - /** - * The account ID associated with the share to delete. - */ - AccountId: AccountId; - } - export interface DeletePortfolioShareOutput { - } - export interface DeleteProductInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The identifier of the product for the delete request. - */ - Id: Id; - } - export interface DeleteProductOutput { - } - export interface DeleteProvisioningArtifactInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The product identifier. - */ - ProductId: Id; - /** - * The identifier of the provisioning artifact for the delete request. This is sometimes referred to as the product version. - */ - ProvisioningArtifactId: Id; - } - export interface DeleteProvisioningArtifactOutput { - } - export interface DescribeConstraintInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The identifier of the constraint. - */ - Id: Id; - } - export interface DescribeConstraintOutput { - /** - * Detailed constraint information. - */ - ConstraintDetail?: ConstraintDetail; - /** - * The current parameters associated with the specified constraint. - */ - ConstraintParameters?: ConstraintParameters; - /** - * The status of the current request. - */ - Status?: Status; - } - export interface DescribePortfolioInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The identifier of the portfolio for which to retrieve information. - */ - Id: Id; - } - export interface DescribePortfolioOutput { - /** - * Detailed portfolio information. - */ - PortfolioDetail?: PortfolioDetail; - /** - * Tags associated with the portfolio. - */ - Tags?: Tags; - /** - * TagOptions associated with the portfolio. - */ - TagOptions?: TagOptionDetails; - } - export interface DescribeProductAsAdminInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The identifier of the product for which to retrieve information. - */ - Id: Id; - } - export interface DescribeProductAsAdminOutput { - /** - * Detailed product view information. - */ - ProductViewDetail?: ProductViewDetail; - /** - * A list of provisioning artifact summaries for the product. - */ - ProvisioningArtifactSummaries?: ProvisioningArtifactSummaries; - /** - * Tags associated with the product. - */ - Tags?: Tags; - /** - * List of TagOptions associated with the product. - */ - TagOptions?: TagOptionDetails; - } - export interface DescribeProductInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The ProductId of the product to describe. - */ - Id: Id; - } - export interface DescribeProductOutput { - /** - * The summary metadata about the specified product. - */ - ProductViewSummary?: ProductViewSummary; - /** - * A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts parameter represent the ways the specified product can be provisioned. - */ - ProvisioningArtifacts?: ProvisioningArtifacts; - } - export interface DescribeProductViewInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The ProductViewId of the product to describe. - */ - Id: Id; - } - export interface DescribeProductViewOutput { - /** - * The summary metadata about the specified product. - */ - ProductViewSummary?: ProductViewSummary; - /** - * A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts represent the ways in which the specified product can be provisioned. - */ - ProvisioningArtifacts?: ProvisioningArtifacts; - } - export interface DescribeProvisionedProductInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The provisioned product identifier. - */ - Id: Id; - } - export interface DescribeProvisionedProductOutput { - /** - * Detailed provisioned product information. - */ - ProvisionedProductDetail?: ProvisionedProductDetail; - } - export interface DescribeProvisioningArtifactInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The identifier of the provisioning artifact. This is sometimes referred to as the product version. - */ - ProvisioningArtifactId: Id; - /** - * The product identifier. - */ - ProductId: Id; - /** - * Enable a verbose level of details for the provisioning artifact. - */ - Verbose?: Verbose; - } - export interface DescribeProvisioningArtifactOutput { - /** - * Detailed provisioning artifact information. - */ - ProvisioningArtifactDetail?: ProvisioningArtifactDetail; - /** - * Additional information about the provisioning artifact. - */ - Info?: ProvisioningArtifactInfo; - /** - * The status of the current request. - */ - Status?: Status; - } - export interface DescribeProvisioningParametersInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The product identifier. - */ - ProductId: Id; - /** - * The provisioning artifact identifier for this product. This is sometimes referred to as the product version. - */ - ProvisioningArtifactId: Id; - /** - * The identifier of the path for this product's provisioning. This value is optional if the product has a default path, and is required if there is more than one path for the specified product. - */ - PathId?: Id; - } - export interface DescribeProvisioningParametersOutput { - /** - * The list of parameters used to successfully provision the product. Each parameter includes a list of allowable values and additional metadata about each parameter. - */ - ProvisioningArtifactParameters?: ProvisioningArtifactParameters; - /** - * The list of constraint summaries that apply to provisioning this product. - */ - ConstraintSummaries?: ConstraintSummaries; - /** - * Any additional metadata specifically related to the provisioning of the product. For example, see the Version field of the CloudFormation template. - */ - UsageInstructions?: UsageInstructions; - /** - * List of TagOptions associated with the provisioned provisioning parameters. - */ - TagOptions?: TagOptionSummaries; - } - export interface DescribeRecordInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The record identifier of the ProvisionedProduct object for which to retrieve output information. This is the RecordDetail.RecordId obtained from the request operation's response. - */ - Id: Id; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - } - export interface DescribeRecordOutput { - /** - * Detailed record information for the specified product. - */ - RecordDetail?: RecordDetail; - /** - * A list of outputs for the specified Product object created as the result of a request. For example, a CloudFormation-backed product that creates an S3 bucket would have an output for the S3 bucket URL. - */ - RecordOutputs?: RecordOutputs; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface DescribeTagOptionInput { - /** - * The identifier of the TagOption. - */ - Id: TagOptionId; - } - export interface DescribeTagOptionOutput { - /** - * The resulting detailed TagOption information. - */ - TagOptionDetail?: TagOptionDetail; - } - export type Description = string; - export interface DisassociatePrincipalFromPortfolioInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - /** - * The ARN representing the principal (IAM user, role, or group). - */ - PrincipalARN: PrincipalARN; - } - export interface DisassociatePrincipalFromPortfolioOutput { - } - export interface DisassociateProductFromPortfolioInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The product identifier. - */ - ProductId: Id; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - } - export interface DisassociateProductFromPortfolioOutput { - } - export interface DisassociateTagOptionFromResourceInput { - /** - * Identifier of the resource from which to disassociate the TagOption. - */ - ResourceId: ResourceId; - /** - * Identifier of the TagOption to disassociate from the resource. - */ - TagOptionId: TagOptionId; - } - export interface DisassociateTagOptionFromResourceOutput { - } - export type ErrorCode = string; - export type ErrorDescription = string; - export type HasDefaultPath = boolean; - export type Id = string; - export type IdempotencyToken = string; - export type IgnoreErrors = boolean; - export type InstructionType = string; - export type InstructionValue = string; - export type LastRequestId = string; - export type LaunchPathSummaries = LaunchPathSummary[]; - export interface LaunchPathSummary { - /** - * The unique identifier of the product path. - */ - Id?: Id; - /** - * List of constraints on the portfolio-product relationship. - */ - ConstraintSummaries?: ConstraintSummaries; - /** - * List of tags used by this launch path. - */ - Tags?: Tags; - /** - * Corresponds to the name of the portfolio to which the user was assigned. - */ - Name?: PortfolioName; - } - export interface ListAcceptedPortfolioSharesInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - } - export interface ListAcceptedPortfolioSharesOutput { - /** - * List of detailed portfolio information objects. - */ - PortfolioDetails?: PortfolioDetails; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface ListConstraintsForPortfolioInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - /** - * The product identifier. - */ - ProductId?: Id; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - } - export interface ListConstraintsForPortfolioOutput { - /** - * List of detailed constraint information objects. - */ - ConstraintDetails?: ConstraintDetails; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface ListLaunchPathsInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The product identifier. Identifies the product for which to retrieve LaunchPathSummaries information. - */ - ProductId: Id; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - } - export interface ListLaunchPathsOutput { - /** - * List of launch path information summaries for the specified PageToken. - */ - LaunchPathSummaries?: LaunchPathSummaries; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface ListPortfolioAccessInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - } - export interface ListPortfolioAccessOutput { - /** - * List of account IDs associated with access to the portfolio. - */ - AccountIds?: AccountIds; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface ListPortfoliosForProductInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The product identifier. - */ - ProductId: Id; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - } - export interface ListPortfoliosForProductOutput { - /** - * List of detailed portfolio information objects. - */ - PortfolioDetails?: PortfolioDetails; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface ListPortfoliosInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - } - export interface ListPortfoliosOutput { - /** - * List of detailed portfolio information objects. - */ - PortfolioDetails?: PortfolioDetails; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface ListPrincipalsForPortfolioInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - } - export interface ListPrincipalsForPortfolioOutput { - /** - * The IAM principals (users or roles) associated with the portfolio. - */ - Principals?: Principals; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface ListProvisioningArtifactsInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The product identifier. - */ - ProductId: Id; - } - export interface ListProvisioningArtifactsOutput { - /** - * List of detailed provisioning artifact information objects. - */ - ProvisioningArtifactDetails?: ProvisioningArtifactDetails; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface ListRecordHistoryInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The access level for obtaining results. If left unspecified, User level access is used. - */ - AccessLevelFilter?: AccessLevelFilter; - /** - * The filter to limit search results. - */ - SearchFilter?: ListRecordHistorySearchFilter; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - } - export interface ListRecordHistoryOutput { - /** - * A list of record detail objects, listed in reverse chronological order. - */ - RecordDetails?: RecordDetails; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface ListRecordHistorySearchFilter { - /** - * The filter key. - */ - Key?: SearchFilterKey; - /** - * The filter value for Key. - */ - Value?: SearchFilterValue; - } - export interface ListResourcesForTagOptionInput { - /** - * Identifier of the TagOption. - */ - TagOptionId: TagOptionId; - /** - * Resource type. - */ - ResourceType?: ResourceType; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - } - export interface ListResourcesForTagOptionOutput { - /** - * The resulting detailed resource information. - */ - ResourceDetails?: ResourceDetails; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - } - export interface ListTagOptionsFilters { - /** - * The ListTagOptionsFilters key. - */ - Key?: TagOptionKey; - /** - * The ListTagOptionsFilters value. - */ - Value?: TagOptionValue; - /** - * The ListTagOptionsFilters active state. - */ - Active?: TagOptionActive; - } - export interface ListTagOptionsInput { - /** - * The list of filters with which to limit search results. If no search filters are specified, the output is all TagOptions. - */ - Filters?: ListTagOptionsFilters; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - } - export interface ListTagOptionsOutput { - /** - * The resulting detailed TagOption information. - */ - TagOptionDetails?: TagOptionDetails; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - } - export type NoEcho = boolean; - export type NotificationArn = string; - export type NotificationArns = NotificationArn[]; - export type OutputKey = string; - export type OutputValue = string; - export type PageSize = number; - export type PageToken = string; - export interface ParameterConstraints { - /** - * The values that the administrator has allowed for the parameter. - */ - AllowedValues?: AllowedValues; - } - export type ParameterKey = string; - export type ParameterType = string; - export type ParameterValue = string; - export type PortfolioDescription = string; - export interface PortfolioDetail { - /** - * The identifier for the portfolio. - */ - Id?: Id; - /** - * The ARN assigned to the portfolio. - */ - ARN?: ResourceARN; - /** - * The name to use for display purposes. - */ - DisplayName?: PortfolioDisplayName; - /** - * The text description of the portfolio. - */ - Description?: PortfolioDescription; - /** - * The UTC timestamp of the creation time. - */ - CreatedTime?: CreationTime; - /** - * The name of the portfolio provider. - */ - ProviderName?: ProviderName; - } - export type PortfolioDetails = PortfolioDetail[]; - export type PortfolioDisplayName = string; - export type PortfolioName = string; - export interface Principal { - /** - * The ARN representing the principal (IAM user, role, or group). - */ - PrincipalARN?: PrincipalARN; - /** - * The principal type. Must be IAM - */ - PrincipalType?: PrincipalType; - } - export type PrincipalARN = string; - export type PrincipalType = "IAM"|string; - export type Principals = Principal[]; - export type ProductSource = "ACCOUNT"|string; - export type ProductType = "CLOUD_FORMATION_TEMPLATE"|"MARKETPLACE"|string; - export type ProductViewAggregationType = string; - export interface ProductViewAggregationValue { - /** - * The value of the product view aggregation. - */ - Value?: AttributeValue; - /** - * An approximate count of the products that match the value. - */ - ApproximateCount?: ApproximateCount; - } - export type ProductViewAggregationValues = ProductViewAggregationValue[]; - export type ProductViewAggregations = {[key: string]: ProductViewAggregationValues}; - export interface ProductViewDetail { - /** - * The summary metadata about the specified product view. - */ - ProductViewSummary?: ProductViewSummary; - /** - * Current status of the product. AVAILABLE - Product is available for use. CREATING - Creation of product started, not ready for use. FAILED - Action on product failed. - */ - Status?: Status; - /** - * The ARN associated with the product. - */ - ProductARN?: ResourceARN; - /** - * The UTC timestamp of the creation time. - */ - CreatedTime?: CreatedTime; - } - export type ProductViewDetails = ProductViewDetail[]; - export type ProductViewDistributor = string; - export type ProductViewFilterBy = "FullTextSearch"|"Owner"|"ProductType"|"SourceProductId"|string; - export type ProductViewFilterValue = string; - export type ProductViewFilterValues = ProductViewFilterValue[]; - export type ProductViewFilters = {[key: string]: ProductViewFilterValues}; - export type ProductViewName = string; - export type ProductViewOwner = string; - export type ProductViewShortDescription = string; - export type ProductViewSortBy = "Title"|"VersionCount"|"CreationDate"|string; - export type ProductViewSummaries = ProductViewSummary[]; - export interface ProductViewSummary { - /** - * The product view identifier. - */ - Id?: Id; - /** - * The product identifier. - */ - ProductId?: Id; - /** - * The name of the product. - */ - Name?: ProductViewName; - /** - * The owner of the product. Contact the product administrator for the significance of this value. - */ - Owner?: ProductViewOwner; - /** - * Short description of the product. - */ - ShortDescription?: ProductViewShortDescription; - /** - * The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE, the product was created by AWS Marketplace. - */ - Type?: ProductType; - /** - * The distributor of the product. Contact the product administrator for the significance of this value. - */ - Distributor?: ProductViewDistributor; - /** - * A value of false indicates that the product does not have a default path, while a value of true indicates that it does. If it's false, call ListLaunchPaths to disambiguate between paths. If true, ListLaunchPaths is not required, and the output of the ProductViewSummary operation can be used directly with DescribeProvisioningParameters. - */ - HasDefaultPath?: HasDefaultPath; - /** - * The email contact information to obtain support for this Product. - */ - SupportEmail?: SupportEmail; - /** - * The description of the support for this Product. - */ - SupportDescription?: SupportDescription; - /** - * The URL information to obtain support for this Product. - */ - SupportUrl?: SupportUrl; - } - export type ProviderName = string; - export interface ProvisionProductInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The product identifier. - */ - ProductId: Id; - /** - * The provisioning artifact identifier for this product. This is sometimes referred to as the product version. - */ - ProvisioningArtifactId: Id; - /** - * The identifier of the path for this product's provisioning. This value is optional if the product has a default path, and is required if there is more than one path for the specified product. - */ - PathId?: Id; - /** - * A user-friendly name to identify the ProvisionedProduct object. This value must be unique for the AWS account and cannot be updated after the product is provisioned. - */ - ProvisionedProductName: ProvisionedProductName; - /** - * Parameters specified by the administrator that are required for provisioning the product. - */ - ProvisioningParameters?: ProvisioningParameters; - /** - * A list of tags to use as provisioning options. - */ - Tags?: Tags; - /** - * Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events. - */ - NotificationArns?: NotificationArns; - /** - * An idempotency token that uniquely identifies the provisioning request. - */ - ProvisionToken: IdempotencyToken; - } - export interface ProvisionProductOutput { - /** - * The detailed result of the ProvisionProduct request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object of the request, and a list of any errors that the request encountered. - */ - RecordDetail?: RecordDetail; - } - export interface ProvisionedProductDetail { - /** - * The user-friendly name of the ProvisionedProduct object. - */ - Name?: ProvisionedProductNameOrArn; - /** - * The ARN associated with the ProvisionedProduct object. - */ - Arn?: ProvisionedProductNameOrArn; - /** - * The type of the ProvisionedProduct object. - */ - Type?: ProvisionedProductType; - /** - * The identifier of the ProvisionedProduct object. - */ - Id?: ProvisionedProductId; - /** - * The current status of the ProvisionedProduct. AVAILABLE - Stable state, ready to perform any operation. The most recent action request succeeded and completed. UNDER_CHANGE - Transitive state, operations performed may or may not have valid results. Wait for an AVAILABLE status before performing operations. TAINTED - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version. ERROR - Something unexpected happened such that the provisioned product exists but the stack is not running. For example, CloudFormation received an invalid parameter value and could not launch the stack. - */ - Status?: ProvisionedProductStatus; - /** - * The current status message of the ProvisionedProduct. - */ - StatusMessage?: ProvisionedProductStatusMessage; - /** - * The UTC timestamp of the creation time. - */ - CreatedTime?: CreatedTime; - /** - * A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request. - */ - IdempotencyToken?: IdempotencyToken; - /** - * The record identifier of the last request performed on this ProvisionedProduct object. - */ - LastRecordId?: LastRequestId; - } - export type ProvisionedProductDetails = ProvisionedProductDetail[]; - export type ProvisionedProductId = string; - export type ProvisionedProductName = string; - export type ProvisionedProductNameOrArn = string; - export type ProvisionedProductStatus = "AVAILABLE"|"UNDER_CHANGE"|"TAINTED"|"ERROR"|string; - export type ProvisionedProductStatusMessage = string; - export type ProvisionedProductType = string; - export interface ProvisioningArtifact { - /** - * The identifier for the artifact. This is sometimes referred to as the product version. - */ - Id?: Id; - /** - * The name of the artifact. - */ - Name?: ProvisioningArtifactName; - /** - * The text description of the artifact. - */ - Description?: ProvisioningArtifactDescription; - /** - * The UTC timestamp of the creation time. - */ - CreatedTime?: ProvisioningArtifactCreatedTime; - } - export type ProvisioningArtifactCreatedTime = Date; - export type ProvisioningArtifactDescription = string; - export interface ProvisioningArtifactDetail { - /** - * The identifier of the provisioning artifact. This is sometimes referred to as the product version. - */ - Id?: Id; - /** - * The name assigned to the provisioning artifact. - */ - Name?: ProvisioningArtifactName; - /** - * The text description of the provisioning artifact. - */ - Description?: ProvisioningArtifactName; - /** - * The type of the provisioning artifact. The following provisioning artifact types are used by AWS Marketplace products: MARKETPLACE_AMI - AMI products. MARKETPLACE_CAR - CAR (Cluster and AWS Resources) products. - */ - Type?: ProvisioningArtifactType; - /** - * The UTC timestamp of the creation time. - */ - CreatedTime?: CreationTime; - } - export type ProvisioningArtifactDetails = ProvisioningArtifactDetail[]; - export type ProvisioningArtifactInfo = {[key: string]: ProvisioningArtifactInfoValue}; - export type ProvisioningArtifactInfoKey = string; - export type ProvisioningArtifactInfoValue = string; - export type ProvisioningArtifactName = string; - export interface ProvisioningArtifactParameter { - /** - * The parameter key. - */ - ParameterKey?: ParameterKey; - /** - * The default value for this parameter. - */ - DefaultValue?: DefaultValue; - /** - * The parameter type. - */ - ParameterType?: ParameterType; - /** - * If this value is true, the value for this parameter is obfuscated from view when the parameter is retrieved. This parameter is used to hide sensitive information. - */ - IsNoEcho?: NoEcho; - /** - * The text description of the parameter. - */ - Description?: Description; - /** - * The list of constraints that the administrator has put on the parameter. - */ - ParameterConstraints?: ParameterConstraints; - } - export type ProvisioningArtifactParameters = ProvisioningArtifactParameter[]; - export interface ProvisioningArtifactProperties { - /** - * The name assigned to the provisioning artifact properties. - */ - Name?: ProvisioningArtifactName; - /** - * The text description of the provisioning artifact properties. - */ - Description?: ProvisioningArtifactDescription; - /** - * Additional information about the provisioning artifact properties. When using this element in a request, you must specify LoadTemplateFromURL. For more information, see CreateProvisioningArtifact. - */ - Info: ProvisioningArtifactInfo; - /** - * The type of the provisioning artifact properties. The following provisioning artifact property types are used by AWS Marketplace products: MARKETPLACE_AMI - AMI products. MARKETPLACE_CAR - CAR (Cluster and AWS Resources) products. - */ - Type?: ProvisioningArtifactType; - } - export type ProvisioningArtifactSummaries = ProvisioningArtifactSummary[]; - export interface ProvisioningArtifactSummary { - /** - * The identifier of the provisioning artifact. - */ - Id?: Id; - /** - * The name of the provisioning artifact. - */ - Name?: ProvisioningArtifactName; - /** - * The description of the provisioning artifact. - */ - Description?: ProvisioningArtifactDescription; - /** - * The UTC timestamp of the creation time. - */ - CreatedTime?: ProvisioningArtifactCreatedTime; - /** - * The provisioning artifact metadata. This data is used with products created by AWS Marketplace. - */ - ProvisioningArtifactMetadata?: ProvisioningArtifactInfo; - } - export type ProvisioningArtifactType = "CLOUD_FORMATION_TEMPLATE"|"MARKETPLACE_AMI"|"MARKETPLACE_CAR"|string; - export type ProvisioningArtifacts = ProvisioningArtifact[]; - export interface ProvisioningParameter { - /** - * The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters. - */ - Key?: ParameterKey; - /** - * The value to use for provisioning. Any constraints on this value can be found in ProvisioningArtifactParameter for Key. - */ - Value?: ParameterValue; - } - export type ProvisioningParameters = ProvisioningParameter[]; - export interface RecordDetail { - /** - * The identifier of the ProvisionedProduct object record. - */ - RecordId?: Id; - /** - * The user-friendly name of the ProvisionedProduct object. - */ - ProvisionedProductName?: ProvisionedProductName; - /** - * The status of the ProvisionedProduct object. CREATED - Request created but the operation has not yet started. IN_PROGRESS - The requested operation is in-progress. IN_PROGRESS_IN_ERROR - The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback. SUCCEEDED - The requested operation has successfully completed. FAILED - The requested operation has completed but has failed. Investigate using the error messages returned. - */ - Status?: RecordStatus; - /** - * The UTC timestamp of the creation time. - */ - CreatedTime?: CreatedTime; - /** - * The time when the record for the ProvisionedProduct object was last updated. - */ - UpdatedTime?: UpdatedTime; - /** - * The type of the ProvisionedProduct object. - */ - ProvisionedProductType?: ProvisionedProductType; - /** - * The record type for this record. - */ - RecordType?: RecordType; - /** - * The identifier of the ProvisionedProduct object. - */ - ProvisionedProductId?: Id; - /** - * The product identifier. - */ - ProductId?: Id; - /** - * The provisioning artifact identifier for this product. This is sometimes referred to as the product version. - */ - ProvisioningArtifactId?: Id; - /** - * The identifier of the path for this product's provisioning. - */ - PathId?: Id; - /** - * A list of errors that occurred while processing the request. - */ - RecordErrors?: RecordErrors; - /** - * List of tags associated with this record. - */ - RecordTags?: RecordTags; - } - export type RecordDetails = RecordDetail[]; - export interface RecordError { - /** - * The numeric value of the error. - */ - Code?: ErrorCode; - /** - * The text description of the error. - */ - Description?: ErrorDescription; - } - export type RecordErrors = RecordError[]; - export interface RecordOutput { - /** - * The output key. - */ - OutputKey?: OutputKey; - /** - * The output value. - */ - OutputValue?: OutputValue; - /** - * The text description of the output. - */ - Description?: Description; - } - export type RecordOutputs = RecordOutput[]; - export type RecordStatus = "CREATED"|"IN_PROGRESS"|"IN_PROGRESS_IN_ERROR"|"SUCCEEDED"|"FAILED"|string; - export interface RecordTag { - /** - * The key for this tag. - */ - Key?: RecordTagKey; - /** - * The value for this tag. - */ - Value?: RecordTagValue; - } - export type RecordTagKey = string; - export type RecordTagValue = string; - export type RecordTags = RecordTag[]; - export type RecordType = string; - export interface RejectPortfolioShareInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId: Id; - } - export interface RejectPortfolioShareOutput { - } - export type ResourceARN = string; - export interface ResourceDetail { - /** - * Identifier of the resource. - */ - Id?: ResourceDetailId; - /** - * ARN of the resource. - */ - ARN?: ResourceDetailARN; - /** - * Name of the resource. - */ - Name?: ResourceDetailName; - /** - * Description of the resource. - */ - Description?: ResourceDetailDescription; - /** - * Creation time of the resource. - */ - CreatedTime?: ResourceDetailCreatedTime; - } - export type ResourceDetailARN = string; - export type ResourceDetailCreatedTime = Date; - export type ResourceDetailDescription = string; - export type ResourceDetailId = string; - export type ResourceDetailName = string; - export type ResourceDetails = ResourceDetail[]; - export type ResourceId = string; - export type ResourceType = string; - export interface ScanProvisionedProductsInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The access level for obtaining results. If left unspecified, User level access is used. - */ - AccessLevelFilter?: AccessLevelFilter; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - } - export interface ScanProvisionedProductsOutput { - /** - * A list of ProvisionedProduct detail objects. - */ - ProvisionedProducts?: ProvisionedProductDetails; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export type SearchFilterKey = string; - export type SearchFilterValue = string; - export interface SearchProductsAsAdminInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The portfolio identifier. - */ - PortfolioId?: Id; - /** - * The list of filters with which to limit search results. If no search filters are specified, the output is all the products to which the administrator has access. - */ - Filters?: ProductViewFilters; - /** - * The sort field specifier. If no value is specified, results are not sorted. - */ - SortBy?: ProductViewSortBy; - /** - * The sort order specifier. If no value is specified, results are not sorted. - */ - SortOrder?: SortOrder; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - /** - * Access level of the source of the product. - */ - ProductSource?: ProductSource; - } - export interface SearchProductsAsAdminOutput { - /** - * List of detailed product view information objects. - */ - ProductViewDetails?: ProductViewDetails; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export interface SearchProductsInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The list of filters with which to limit search results. If no search filters are specified, the output is all the products to which the calling user has access. - */ - Filters?: ProductViewFilters; - /** - * The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null. - */ - PageSize?: PageSize; - /** - * The sort field specifier. If no value is specified, results are not sorted. - */ - SortBy?: ProductViewSortBy; - /** - * The sort order specifier. If no value is specified, results are not sorted. - */ - SortOrder?: SortOrder; - /** - * The page token of the first page retrieved. If null, this retrieves the first page of size PageSize. - */ - PageToken?: PageToken; - } - export interface SearchProductsOutput { - /** - * A list of the product view summary objects. - */ - ProductViewSummaries?: ProductViewSummaries; - /** - * A list of the product view aggregation value objects. - */ - ProductViewAggregations?: ProductViewAggregations; - /** - * The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - */ - NextPageToken?: PageToken; - } - export type SortOrder = "ASCENDING"|"DESCENDING"|string; - export type Status = "AVAILABLE"|"CREATING"|"FAILED"|string; - export type SupportDescription = string; - export type SupportEmail = string; - export type SupportUrl = string; - export interface Tag { - /** - * The ProvisioningArtifactParameter.TagKey parameter from DescribeProvisioningParameters. - */ - Key: TagKey; - /** - * The desired value for this key. - */ - Value: TagValue; - } - export type TagKey = string; - export type TagKeys = TagKey[]; - export type TagOptionActive = boolean; - export interface TagOptionDetail { - /** - * The TagOptionDetail key. - */ - Key?: TagOptionKey; - /** - * The TagOptionDetail value. - */ - Value?: TagOptionValue; - /** - * The TagOptionDetail active state. - */ - Active?: TagOptionActive; - /** - * The TagOptionDetail identifier. - */ - Id?: TagOptionId; - } - export type TagOptionDetails = TagOptionDetail[]; - export type TagOptionId = string; - export type TagOptionKey = string; - export type TagOptionSummaries = TagOptionSummary[]; - export interface TagOptionSummary { - /** - * The TagOptionSummary key. - */ - Key?: TagOptionKey; - /** - * The TagOptionSummary value. - */ - Values?: TagOptionValues; - } - export type TagOptionValue = string; - export type TagOptionValues = TagOptionValue[]; - export type TagValue = string; - export type Tags = Tag[]; - export interface TerminateProvisionedProductInput { - /** - * The name of the ProvisionedProduct object to terminate. Specify either ProvisionedProductName or ProvisionedProductId, but not both. - */ - ProvisionedProductName?: ProvisionedProductNameOrArn; - /** - * The identifier of the ProvisionedProduct object to terminate. Specify either ProvisionedProductName or ProvisionedProductId, but not both. - */ - ProvisionedProductId?: Id; - /** - * An idempotency token that uniquely identifies the termination request. This token is only valid during the termination process. After the ProvisionedProduct object is terminated, further requests to terminate the same ProvisionedProduct object always return ResourceNotFound regardless of the value of TerminateToken. - */ - TerminateToken: IdempotencyToken; - /** - * If set to true, AWS Service Catalog stops managing the specified ProvisionedProduct object even if it cannot delete the underlying resources. - */ - IgnoreErrors?: IgnoreErrors; - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - } - export interface TerminateProvisionedProductOutput { - /** - * The detailed result of the TerminateProvisionedProduct request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object that the request is modifying, and a list of any errors that the request encountered. - */ - RecordDetail?: RecordDetail; - } - export interface UpdateConstraintInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The identifier of the constraint to update. - */ - Id: Id; - /** - * The updated text description of the constraint. - */ - Description?: ConstraintDescription; - } - export interface UpdateConstraintOutput { - /** - * The resulting detailed constraint information. - */ - ConstraintDetail?: ConstraintDetail; - /** - * The resulting updated constraint parameters. - */ - ConstraintParameters?: ConstraintParameters; - /** - * The status of the current request. - */ - Status?: Status; - } - export interface UpdatePortfolioInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The identifier of the portfolio for the update request. - */ - Id: Id; - /** - * The name to use for display purposes. - */ - DisplayName?: PortfolioDisplayName; - /** - * The updated text description of the portfolio. - */ - Description?: PortfolioDescription; - /** - * The updated name of the portfolio provider. - */ - ProviderName?: ProviderName; - /** - * Tags to add to the existing list of tags associated with the portfolio. - */ - AddTags?: AddTags; - /** - * Tags to remove from the existing list of tags associated with the portfolio. - */ - RemoveTags?: TagKeys; - } - export interface UpdatePortfolioOutput { - /** - * The resulting detailed portfolio information. - */ - PortfolioDetail?: PortfolioDetail; - /** - * Tags associated with the portfolio. - */ - Tags?: Tags; - } - export interface UpdateProductInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The identifier of the product for the update request. - */ - Id: Id; - /** - * The updated product name. - */ - Name?: ProductViewName; - /** - * The updated owner of the product. - */ - Owner?: ProductViewOwner; - /** - * The updated text description of the product. - */ - Description?: ProductViewShortDescription; - /** - * The updated distributor of the product. - */ - Distributor?: ProductViewOwner; - /** - * The updated support description for the product. - */ - SupportDescription?: SupportDescription; - /** - * The updated support email for the product. - */ - SupportEmail?: SupportEmail; - /** - * The updated support URL for the product. - */ - SupportUrl?: SupportUrl; - /** - * Tags to add to the existing list of tags associated with the product. - */ - AddTags?: AddTags; - /** - * Tags to remove from the existing list of tags associated with the product. - */ - RemoveTags?: TagKeys; - } - export interface UpdateProductOutput { - /** - * The resulting detailed product view information. - */ - ProductViewDetail?: ProductViewDetail; - /** - * Tags associated with the product. - */ - Tags?: Tags; - } - export interface UpdateProvisionedProductInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The updated name of the ProvisionedProduct object. Specify either ProvisionedProductName or ProvisionedProductId, but not both. - */ - ProvisionedProductName?: ProvisionedProductNameOrArn; - /** - * The identifier of the ProvisionedProduct object to update. Specify either ProvisionedProductName or ProvisionedProductId, but not both. - */ - ProvisionedProductId?: Id; - /** - * The identifier of the ProvisionedProduct object. - */ - ProductId?: Id; - /** - * The provisioning artifact identifier for this product. This is sometimes referred to as the product version. - */ - ProvisioningArtifactId?: Id; - /** - * The identifier of the path to use in the updated ProvisionedProduct object. This value is optional if the product has a default path, and is required if there is more than one path for the specified product. - */ - PathId?: Id; - /** - * A list of ProvisioningParameter objects used to update the ProvisionedProduct object. - */ - ProvisioningParameters?: UpdateProvisioningParameters; - /** - * The idempotency token that uniquely identifies the provisioning update request. - */ - UpdateToken: IdempotencyToken; - } - export interface UpdateProvisionedProductOutput { - /** - * The detailed result of the UpdateProvisionedProduct request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object that the request is modifying, and a list of any errors that the request encountered. - */ - RecordDetail?: RecordDetail; - } - export interface UpdateProvisioningArtifactInput { - /** - * The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default. - */ - AcceptLanguage?: AcceptLanguage; - /** - * The product identifier. - */ - ProductId: Id; - /** - * The identifier of the provisioning artifact for the update request. This is sometimes referred to as the product version. - */ - ProvisioningArtifactId: Id; - /** - * The updated name of the provisioning artifact. - */ - Name?: ProvisioningArtifactName; - /** - * The updated text description of the provisioning artifact. - */ - Description?: ProvisioningArtifactDescription; - } - export interface UpdateProvisioningArtifactOutput { - /** - * The resulting detailed provisioning artifact information. - */ - ProvisioningArtifactDetail?: ProvisioningArtifactDetail; - /** - * Additional information about the provisioning artifact update request. - */ - Info?: ProvisioningArtifactInfo; - /** - * The status of the current request. - */ - Status?: Status; - } - export interface UpdateProvisioningParameter { - /** - * The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters. - */ - Key?: ParameterKey; - /** - * The value to use for updating the product provisioning. Any constraints on this value can be found in the ProvisioningArtifactParameter parameter for Key. - */ - Value?: ParameterValue; - /** - * If true, uses the currently set value for Key, ignoring UpdateProvisioningParameter.Value. - */ - UsePreviousValue?: UsePreviousValue; - } - export type UpdateProvisioningParameters = UpdateProvisioningParameter[]; - export interface UpdateTagOptionInput { - /** - * The identifier of the constraint to update. - */ - Id: TagOptionId; - /** - * The updated value. - */ - Value?: TagOptionValue; - /** - * The updated active state. - */ - Active?: TagOptionActive; - } - export interface UpdateTagOptionOutput { - /** - * The resulting detailed TagOption information. - */ - TagOptionDetail?: TagOptionDetail; - } - export type UpdatedTime = Date; - export interface UsageInstruction { - /** - * The usage instruction type for the value. - */ - Type?: InstructionType; - /** - * The usage instruction value for this type. - */ - Value?: InstructionValue; - } - export type UsageInstructions = UsageInstruction[]; - export type UsePreviousValue = boolean; - export type Verbose = boolean; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-12-10"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the ServiceCatalog client. - */ - export import Types = ServiceCatalog; -} -export = ServiceCatalog; diff --git a/src/node_modules/aws-sdk/clients/servicecatalog.js b/src/node_modules/aws-sdk/clients/servicecatalog.js deleted file mode 100644 index 1de4c83..0000000 --- a/src/node_modules/aws-sdk/clients/servicecatalog.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['servicecatalog'] = {}; -AWS.ServiceCatalog = Service.defineService('servicecatalog', ['2015-12-10']); -Object.defineProperty(apiLoader.services['servicecatalog'], '2015-12-10', { - get: function get() { - var model = require('../apis/servicecatalog-2015-12-10.min.json'); - model.paginators = require('../apis/servicecatalog-2015-12-10.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ServiceCatalog; diff --git a/src/node_modules/aws-sdk/clients/ses.d.ts b/src/node_modules/aws-sdk/clients/ses.d.ts deleted file mode 100644 index b8aee54..0000000 --- a/src/node_modules/aws-sdk/clients/ses.d.ts +++ /dev/null @@ -1,1642 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class SES extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: SES.Types.ClientConfiguration) - config: Config & SES.Types.ClientConfiguration; - /** - * Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set. For information about setting up rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - cloneReceiptRuleSet(params: SES.Types.CloneReceiptRuleSetRequest, callback?: (err: AWSError, data: SES.Types.CloneReceiptRuleSetResponse) => void): Request; - /** - * Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set. For information about setting up rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - cloneReceiptRuleSet(callback?: (err: AWSError, data: SES.Types.CloneReceiptRuleSetResponse) => void): Request; - /** - * Creates a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - createConfigurationSet(params: SES.Types.CreateConfigurationSetRequest, callback?: (err: AWSError, data: SES.Types.CreateConfigurationSetResponse) => void): Request; - /** - * Creates a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - createConfigurationSet(callback?: (err: AWSError, data: SES.Types.CreateConfigurationSetResponse) => void): Request; - /** - * Creates a configuration set event destination. When you create or update an event destination, you must provide one, and only one, destination. The destination can be either Amazon CloudWatch or Amazon Kinesis Firehose. An event destination is the AWS service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - createConfigurationSetEventDestination(params: SES.Types.CreateConfigurationSetEventDestinationRequest, callback?: (err: AWSError, data: SES.Types.CreateConfigurationSetEventDestinationResponse) => void): Request; - /** - * Creates a configuration set event destination. When you create or update an event destination, you must provide one, and only one, destination. The destination can be either Amazon CloudWatch or Amazon Kinesis Firehose. An event destination is the AWS service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - createConfigurationSetEventDestination(callback?: (err: AWSError, data: SES.Types.CreateConfigurationSetEventDestinationResponse) => void): Request; - /** - * Creates a new IP address filter. For information about setting up IP address filters, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - createReceiptFilter(params: SES.Types.CreateReceiptFilterRequest, callback?: (err: AWSError, data: SES.Types.CreateReceiptFilterResponse) => void): Request; - /** - * Creates a new IP address filter. For information about setting up IP address filters, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - createReceiptFilter(callback?: (err: AWSError, data: SES.Types.CreateReceiptFilterResponse) => void): Request; - /** - * Creates a receipt rule. For information about setting up receipt rules, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - createReceiptRule(params: SES.Types.CreateReceiptRuleRequest, callback?: (err: AWSError, data: SES.Types.CreateReceiptRuleResponse) => void): Request; - /** - * Creates a receipt rule. For information about setting up receipt rules, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - createReceiptRule(callback?: (err: AWSError, data: SES.Types.CreateReceiptRuleResponse) => void): Request; - /** - * Creates an empty receipt rule set. For information about setting up receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - createReceiptRuleSet(params: SES.Types.CreateReceiptRuleSetRequest, callback?: (err: AWSError, data: SES.Types.CreateReceiptRuleSetResponse) => void): Request; - /** - * Creates an empty receipt rule set. For information about setting up receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - createReceiptRuleSet(callback?: (err: AWSError, data: SES.Types.CreateReceiptRuleSetResponse) => void): Request; - /** - * Deletes a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteConfigurationSet(params: SES.Types.DeleteConfigurationSetRequest, callback?: (err: AWSError, data: SES.Types.DeleteConfigurationSetResponse) => void): Request; - /** - * Deletes a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteConfigurationSet(callback?: (err: AWSError, data: SES.Types.DeleteConfigurationSetResponse) => void): Request; - /** - * Deletes a configuration set event destination. Configuration set event destinations are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteConfigurationSetEventDestination(params: SES.Types.DeleteConfigurationSetEventDestinationRequest, callback?: (err: AWSError, data: SES.Types.DeleteConfigurationSetEventDestinationResponse) => void): Request; - /** - * Deletes a configuration set event destination. Configuration set event destinations are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteConfigurationSetEventDestination(callback?: (err: AWSError, data: SES.Types.DeleteConfigurationSetEventDestinationResponse) => void): Request; - /** - * Deletes the specified identity (an email address or a domain) from the list of verified identities. This action is throttled at one request per second. - */ - deleteIdentity(params: SES.Types.DeleteIdentityRequest, callback?: (err: AWSError, data: SES.Types.DeleteIdentityResponse) => void): Request; - /** - * Deletes the specified identity (an email address or a domain) from the list of verified identities. This action is throttled at one request per second. - */ - deleteIdentity(callback?: (err: AWSError, data: SES.Types.DeleteIdentityResponse) => void): Request; - /** - * Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist. This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteIdentityPolicy(params: SES.Types.DeleteIdentityPolicyRequest, callback?: (err: AWSError, data: SES.Types.DeleteIdentityPolicyResponse) => void): Request; - /** - * Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist. This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteIdentityPolicy(callback?: (err: AWSError, data: SES.Types.DeleteIdentityPolicyResponse) => void): Request; - /** - * Deletes the specified IP address filter. For information about managing IP address filters, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteReceiptFilter(params: SES.Types.DeleteReceiptFilterRequest, callback?: (err: AWSError, data: SES.Types.DeleteReceiptFilterResponse) => void): Request; - /** - * Deletes the specified IP address filter. For information about managing IP address filters, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteReceiptFilter(callback?: (err: AWSError, data: SES.Types.DeleteReceiptFilterResponse) => void): Request; - /** - * Deletes the specified receipt rule. For information about managing receipt rules, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteReceiptRule(params: SES.Types.DeleteReceiptRuleRequest, callback?: (err: AWSError, data: SES.Types.DeleteReceiptRuleResponse) => void): Request; - /** - * Deletes the specified receipt rule. For information about managing receipt rules, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteReceiptRule(callback?: (err: AWSError, data: SES.Types.DeleteReceiptRuleResponse) => void): Request; - /** - * Deletes the specified receipt rule set and all of the receipt rules it contains. The currently active rule set cannot be deleted. For information about managing receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteReceiptRuleSet(params: SES.Types.DeleteReceiptRuleSetRequest, callback?: (err: AWSError, data: SES.Types.DeleteReceiptRuleSetResponse) => void): Request; - /** - * Deletes the specified receipt rule set and all of the receipt rules it contains. The currently active rule set cannot be deleted. For information about managing receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - deleteReceiptRuleSet(callback?: (err: AWSError, data: SES.Types.DeleteReceiptRuleSetResponse) => void): Request; - /** - * Deletes the specified email address from the list of verified addresses. The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred. This action is throttled at one request per second. - */ - deleteVerifiedEmailAddress(params: SES.Types.DeleteVerifiedEmailAddressRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified email address from the list of verified addresses. The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred. This action is throttled at one request per second. - */ - deleteVerifiedEmailAddress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Returns the metadata and receipt rules for the receipt rule set that is currently active. For information about setting up receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - describeActiveReceiptRuleSet(params: SES.Types.DescribeActiveReceiptRuleSetRequest, callback?: (err: AWSError, data: SES.Types.DescribeActiveReceiptRuleSetResponse) => void): Request; - /** - * Returns the metadata and receipt rules for the receipt rule set that is currently active. For information about setting up receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - describeActiveReceiptRuleSet(callback?: (err: AWSError, data: SES.Types.DescribeActiveReceiptRuleSetResponse) => void): Request; - /** - * Returns the details of the specified configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - describeConfigurationSet(params: SES.Types.DescribeConfigurationSetRequest, callback?: (err: AWSError, data: SES.Types.DescribeConfigurationSetResponse) => void): Request; - /** - * Returns the details of the specified configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - describeConfigurationSet(callback?: (err: AWSError, data: SES.Types.DescribeConfigurationSetResponse) => void): Request; - /** - * Returns the details of the specified receipt rule. For information about setting up receipt rules, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - describeReceiptRule(params: SES.Types.DescribeReceiptRuleRequest, callback?: (err: AWSError, data: SES.Types.DescribeReceiptRuleResponse) => void): Request; - /** - * Returns the details of the specified receipt rule. For information about setting up receipt rules, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - describeReceiptRule(callback?: (err: AWSError, data: SES.Types.DescribeReceiptRuleResponse) => void): Request; - /** - * Returns the details of the specified receipt rule set. For information about managing receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - describeReceiptRuleSet(params: SES.Types.DescribeReceiptRuleSetRequest, callback?: (err: AWSError, data: SES.Types.DescribeReceiptRuleSetResponse) => void): Request; - /** - * Returns the details of the specified receipt rule set. For information about managing receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - describeReceiptRuleSet(callback?: (err: AWSError, data: SES.Types.DescribeReceiptRuleSetResponse) => void): Request; - /** - * Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published. This action takes a list of identities as input and returns the following information for each: Whether Easy DKIM signing is enabled or disabled. A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address. Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses. This action is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time. For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide. - */ - getIdentityDkimAttributes(params: SES.Types.GetIdentityDkimAttributesRequest, callback?: (err: AWSError, data: SES.Types.GetIdentityDkimAttributesResponse) => void): Request; - /** - * Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published. This action takes a list of identities as input and returns the following information for each: Whether Easy DKIM signing is enabled or disabled. A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address. Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses. This action is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time. For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide. - */ - getIdentityDkimAttributes(callback?: (err: AWSError, data: SES.Types.GetIdentityDkimAttributesResponse) => void): Request; - /** - * Returns the custom MAIL FROM attributes for a list of identities (email addresses and/or domains). This action is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time. - */ - getIdentityMailFromDomainAttributes(params: SES.Types.GetIdentityMailFromDomainAttributesRequest, callback?: (err: AWSError, data: SES.Types.GetIdentityMailFromDomainAttributesResponse) => void): Request; - /** - * Returns the custom MAIL FROM attributes for a list of identities (email addresses and/or domains). This action is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time. - */ - getIdentityMailFromDomainAttributes(callback?: (err: AWSError, data: SES.Types.GetIdentityMailFromDomainAttributesResponse) => void): Request; - /** - * Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes. This action is throttled at one request per second and can only get notification attributes for up to 100 identities at a time. For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide. - */ - getIdentityNotificationAttributes(params: SES.Types.GetIdentityNotificationAttributesRequest, callback?: (err: AWSError, data: SES.Types.GetIdentityNotificationAttributesResponse) => void): Request; - /** - * Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes. This action is throttled at one request per second and can only get notification attributes for up to 100 identities at a time. For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide. - */ - getIdentityNotificationAttributes(callback?: (err: AWSError, data: SES.Types.GetIdentityNotificationAttributesResponse) => void): Request; - /** - * Returns the requested sending authorization policies for the given identity (an email address or a domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time. This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - getIdentityPolicies(params: SES.Types.GetIdentityPoliciesRequest, callback?: (err: AWSError, data: SES.Types.GetIdentityPoliciesResponse) => void): Request; - /** - * Returns the requested sending authorization policies for the given identity (an email address or a domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time. This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - getIdentityPolicies(callback?: (err: AWSError, data: SES.Types.GetIdentityPoliciesResponse) => void): Request; - /** - * Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity. This action is throttled at one request per second and can only get verification attributes for up to 100 identities at a time. - */ - getIdentityVerificationAttributes(params: SES.Types.GetIdentityVerificationAttributesRequest, callback?: (err: AWSError, data: SES.Types.GetIdentityVerificationAttributesResponse) => void): Request; - /** - * Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity. This action is throttled at one request per second and can only get verification attributes for up to 100 identities at a time. - */ - getIdentityVerificationAttributes(callback?: (err: AWSError, data: SES.Types.GetIdentityVerificationAttributesResponse) => void): Request; - /** - * Returns the user's current sending limits. This action is throttled at one request per second. - */ - getSendQuota(callback?: (err: AWSError, data: SES.Types.GetSendQuotaResponse) => void): Request; - /** - * Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity. Each data point in the list contains statistics for a 15-minute interval. This action is throttled at one request per second. - */ - getSendStatistics(callback?: (err: AWSError, data: SES.Types.GetSendStatisticsResponse) => void): Request; - /** - * Lists the configuration sets associated with your AWS account. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second and can return up to 50 configuration sets at a time. - */ - listConfigurationSets(params: SES.Types.ListConfigurationSetsRequest, callback?: (err: AWSError, data: SES.Types.ListConfigurationSetsResponse) => void): Request; - /** - * Lists the configuration sets associated with your AWS account. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second and can return up to 50 configuration sets at a time. - */ - listConfigurationSets(callback?: (err: AWSError, data: SES.Types.ListConfigurationSetsResponse) => void): Request; - /** - * Returns a list containing all of the identities (email addresses and domains) for your AWS account, regardless of verification status. This action is throttled at one request per second. - */ - listIdentities(params: SES.Types.ListIdentitiesRequest, callback?: (err: AWSError, data: SES.Types.ListIdentitiesResponse) => void): Request; - /** - * Returns a list containing all of the identities (email addresses and domains) for your AWS account, regardless of verification status. This action is throttled at one request per second. - */ - listIdentities(callback?: (err: AWSError, data: SES.Types.ListIdentitiesResponse) => void): Request; - /** - * Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This API returns only a list. If you want the actual policy content, you can use GetIdentityPolicies. This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - listIdentityPolicies(params: SES.Types.ListIdentityPoliciesRequest, callback?: (err: AWSError, data: SES.Types.ListIdentityPoliciesResponse) => void): Request; - /** - * Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This API returns only a list. If you want the actual policy content, you can use GetIdentityPolicies. This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - listIdentityPolicies(callback?: (err: AWSError, data: SES.Types.ListIdentityPoliciesResponse) => void): Request; - /** - * Lists the IP address filters associated with your AWS account. For information about managing IP address filters, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - listReceiptFilters(params: SES.Types.ListReceiptFiltersRequest, callback?: (err: AWSError, data: SES.Types.ListReceiptFiltersResponse) => void): Request; - /** - * Lists the IP address filters associated with your AWS account. For information about managing IP address filters, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - listReceiptFilters(callback?: (err: AWSError, data: SES.Types.ListReceiptFiltersResponse) => void): Request; - /** - * Lists the receipt rule sets that exist under your AWS account. If there are additional receipt rule sets to be retrieved, you will receive a NextToken that you can provide to the next call to ListReceiptRuleSets to retrieve the additional entries. For information about managing receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - listReceiptRuleSets(params: SES.Types.ListReceiptRuleSetsRequest, callback?: (err: AWSError, data: SES.Types.ListReceiptRuleSetsResponse) => void): Request; - /** - * Lists the receipt rule sets that exist under your AWS account. If there are additional receipt rule sets to be retrieved, you will receive a NextToken that you can provide to the next call to ListReceiptRuleSets to retrieve the additional entries. For information about managing receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - listReceiptRuleSets(callback?: (err: AWSError, data: SES.Types.ListReceiptRuleSetsResponse) => void): Request; - /** - * Returns a list containing all of the email addresses that have been verified. The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities action is now preferred. This action is throttled at one request per second. - */ - listVerifiedEmailAddresses(callback?: (err: AWSError, data: SES.Types.ListVerifiedEmailAddressesResponse) => void): Request; - /** - * Adds or updates a sending authorization policy for the specified identity (an email address or a domain). This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - putIdentityPolicy(params: SES.Types.PutIdentityPolicyRequest, callback?: (err: AWSError, data: SES.Types.PutIdentityPolicyResponse) => void): Request; - /** - * Adds or updates a sending authorization policy for the specified identity (an email address or a domain). This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - putIdentityPolicy(callback?: (err: AWSError, data: SES.Types.PutIdentityPolicyResponse) => void): Request; - /** - * Reorders the receipt rules within a receipt rule set. All of the rules in the rule set must be represented in this request. That is, this API will return an error if the reorder request doesn't explicitly position all of the rules. For information about managing receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - reorderReceiptRuleSet(params: SES.Types.ReorderReceiptRuleSetRequest, callback?: (err: AWSError, data: SES.Types.ReorderReceiptRuleSetResponse) => void): Request; - /** - * Reorders the receipt rules within a receipt rule set. All of the rules in the rule set must be represented in this request. That is, this API will return an error if the reorder request doesn't explicitly position all of the rules. For information about managing receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - reorderReceiptRuleSet(callback?: (err: AWSError, data: SES.Types.ReorderReceiptRuleSetResponse) => void): Request; - /** - * Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this API on an email up to 24 hours after you receive it. You cannot use this API to send generic bounces for mail that was not received by Amazon SES. For information about receiving email through Amazon SES, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - sendBounce(params: SES.Types.SendBounceRequest, callback?: (err: AWSError, data: SES.Types.SendBounceResponse) => void): Request; - /** - * Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this API on an email up to 24 hours after you receive it. You cannot use this API to send generic bounces for mail that was not received by Amazon SES. For information about receiving email through Amazon SES, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - sendBounce(callback?: (err: AWSError, data: SES.Types.SendBounceResponse) => void): Request; - /** - * Composes an email message based on input data, and then immediately queues the message for sending. There are several important points to know about SendEmail: You can only send email from verified email addresses and domains; otherwise, you will get an "Email address not verified" error. If your account is still in the Amazon SES sandbox, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide. The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message. Amazon SES has a limit on the total number of recipients per message. The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group. For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide. - */ - sendEmail(params: SES.Types.SendEmailRequest, callback?: (err: AWSError, data: SES.Types.SendEmailResponse) => void): Request; - /** - * Composes an email message based on input data, and then immediately queues the message for sending. There are several important points to know about SendEmail: You can only send email from verified email addresses and domains; otherwise, you will get an "Email address not verified" error. If your account is still in the Amazon SES sandbox, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide. The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message. Amazon SES has a limit on the total number of recipients per message. The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group. For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide. - */ - sendEmail(callback?: (err: AWSError, data: SES.Types.SendEmailResponse) => void): Request; - /** - * Sends an email message, with header and content specified by the client. The SendRawEmail action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent. There are several important points to know about SendRawEmail: You can only send email from verified email addresses and domains; otherwise, you will get an "Email address not verified" error. If your account is still in the Amazon SES sandbox, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide. The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message. Amazon SES has a limit on the total number of recipients per message. The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group. The To:, CC:, and BCC: headers in the raw message can contain a group list. Note that each recipient in a group list counts towards the 50-recipient limit. Amazon SES overrides any Message-ID and Date headers you provide. For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide. If you are using sending authorization to send on behalf of another user, SendRawEmail enables you to specify the cross-account identity for the email's "Source," "From," and "Return-Path" parameters in one of two ways: you can pass optional parameters SourceArn, FromArn, and/or ReturnPathArn to the API, or you can include the following X-headers in the header of your raw email: X-SES-SOURCE-ARN X-SES-FROM-ARN X-SES-RETURN-PATH-ARN Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email. For the most common sending authorization use case, we recommend that you specify the SourceIdentityArn and do not specify either the FromIdentityArn or ReturnPathIdentityArn. (The same note applies to the corresponding X-headers.) If you only specify the SourceIdentityArn, Amazon SES will simply set the "From" address and the "Return Path" address to the identity specified in SourceIdentityArn. For more information about sending authorization, see the Amazon SES Developer Guide. - */ - sendRawEmail(params: SES.Types.SendRawEmailRequest, callback?: (err: AWSError, data: SES.Types.SendRawEmailResponse) => void): Request; - /** - * Sends an email message, with header and content specified by the client. The SendRawEmail action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent. There are several important points to know about SendRawEmail: You can only send email from verified email addresses and domains; otherwise, you will get an "Email address not verified" error. If your account is still in the Amazon SES sandbox, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide. The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message. Amazon SES has a limit on the total number of recipients per message. The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group. The To:, CC:, and BCC: headers in the raw message can contain a group list. Note that each recipient in a group list counts towards the 50-recipient limit. Amazon SES overrides any Message-ID and Date headers you provide. For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide. If you are using sending authorization to send on behalf of another user, SendRawEmail enables you to specify the cross-account identity for the email's "Source," "From," and "Return-Path" parameters in one of two ways: you can pass optional parameters SourceArn, FromArn, and/or ReturnPathArn to the API, or you can include the following X-headers in the header of your raw email: X-SES-SOURCE-ARN X-SES-FROM-ARN X-SES-RETURN-PATH-ARN Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email. For the most common sending authorization use case, we recommend that you specify the SourceIdentityArn and do not specify either the FromIdentityArn or ReturnPathIdentityArn. (The same note applies to the corresponding X-headers.) If you only specify the SourceIdentityArn, Amazon SES will simply set the "From" address and the "Return Path" address to the identity specified in SourceIdentityArn. For more information about sending authorization, see the Amazon SES Developer Guide. - */ - sendRawEmail(callback?: (err: AWSError, data: SES.Types.SendRawEmailResponse) => void): Request; - /** - * Sets the specified receipt rule set as the active receipt rule set. To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null. For information about managing receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - setActiveReceiptRuleSet(params: SES.Types.SetActiveReceiptRuleSetRequest, callback?: (err: AWSError, data: SES.Types.SetActiveReceiptRuleSetResponse) => void): Request; - /** - * Sets the specified receipt rule set as the active receipt rule set. To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null. For information about managing receipt rule sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - setActiveReceiptRuleSet(callback?: (err: AWSError, data: SES.Types.SetActiveReceiptRuleSetResponse) => void): Request; - /** - * Enables or disables Easy DKIM signing of email sent from an identity: If Easy DKIM signing is enabled for a domain name identity (e.g., example.com), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (e.g., user@example.com). If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address. For email addresses (e.g., user@example.com), you can only enable Easy DKIM signing if the corresponding domain (e.g., example.com) has been set up for Easy DKIM using the AWS Console or the VerifyDomainDkim action. This action is throttled at one request per second. For more information about Easy DKIM signing, go to the Amazon SES Developer Guide. - */ - setIdentityDkimEnabled(params: SES.Types.SetIdentityDkimEnabledRequest, callback?: (err: AWSError, data: SES.Types.SetIdentityDkimEnabledResponse) => void): Request; - /** - * Enables or disables Easy DKIM signing of email sent from an identity: If Easy DKIM signing is enabled for a domain name identity (e.g., example.com), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (e.g., user@example.com). If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address. For email addresses (e.g., user@example.com), you can only enable Easy DKIM signing if the corresponding domain (e.g., example.com) has been set up for Easy DKIM using the AWS Console or the VerifyDomainDkim action. This action is throttled at one request per second. For more information about Easy DKIM signing, go to the Amazon SES Developer Guide. - */ - setIdentityDkimEnabled(callback?: (err: AWSError, data: SES.Types.SetIdentityDkimEnabledResponse) => void): Request; - /** - * Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints. Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS. This action is throttled at one request per second. For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide. - */ - setIdentityFeedbackForwardingEnabled(params: SES.Types.SetIdentityFeedbackForwardingEnabledRequest, callback?: (err: AWSError, data: SES.Types.SetIdentityFeedbackForwardingEnabledResponse) => void): Request; - /** - * Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints. Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS. This action is throttled at one request per second. For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide. - */ - setIdentityFeedbackForwardingEnabled(callback?: (err: AWSError, data: SES.Types.SetIdentityFeedbackForwardingEnabledResponse) => void): Request; - /** - * Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type. This action is throttled at one request per second. For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide. - */ - setIdentityHeadersInNotificationsEnabled(params: SES.Types.SetIdentityHeadersInNotificationsEnabledRequest, callback?: (err: AWSError, data: SES.Types.SetIdentityHeadersInNotificationsEnabledResponse) => void): Request; - /** - * Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type. This action is throttled at one request per second. For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide. - */ - setIdentityHeadersInNotificationsEnabled(callback?: (err: AWSError, data: SES.Types.SetIdentityHeadersInNotificationsEnabledResponse) => void): Request; - /** - * Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain). To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS settings. If you want your emails to pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - setIdentityMailFromDomain(params: SES.Types.SetIdentityMailFromDomainRequest, callback?: (err: AWSError, data: SES.Types.SetIdentityMailFromDomainResponse) => void): Request; - /** - * Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain). To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS settings. If you want your emails to pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - setIdentityMailFromDomain(callback?: (err: AWSError, data: SES.Types.SetIdentityMailFromDomainResponse) => void): Request; - /** - * Given an identity (an email address or a domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as the Source. Unless feedback forwarding is enabled, you must specify Amazon SNS topics for bounce and complaint notifications. For more information, see SetIdentityFeedbackForwardingEnabled. This action is throttled at one request per second. For more information about feedback notification, see the Amazon SES Developer Guide. - */ - setIdentityNotificationTopic(params: SES.Types.SetIdentityNotificationTopicRequest, callback?: (err: AWSError, data: SES.Types.SetIdentityNotificationTopicResponse) => void): Request; - /** - * Given an identity (an email address or a domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as the Source. Unless feedback forwarding is enabled, you must specify Amazon SNS topics for bounce and complaint notifications. For more information, see SetIdentityFeedbackForwardingEnabled. This action is throttled at one request per second. For more information about feedback notification, see the Amazon SES Developer Guide. - */ - setIdentityNotificationTopic(callback?: (err: AWSError, data: SES.Types.SetIdentityNotificationTopicResponse) => void): Request; - /** - * Sets the position of the specified receipt rule in the receipt rule set. For information about managing receipt rules, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - setReceiptRulePosition(params: SES.Types.SetReceiptRulePositionRequest, callback?: (err: AWSError, data: SES.Types.SetReceiptRulePositionResponse) => void): Request; - /** - * Sets the position of the specified receipt rule in the receipt rule set. For information about managing receipt rules, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - setReceiptRulePosition(callback?: (err: AWSError, data: SES.Types.SetReceiptRulePositionResponse) => void): Request; - /** - * Updates the event destination of a configuration set. When you create or update an event destination, you must provide one, and only one, destination. The destination can be either Amazon CloudWatch or Amazon Kinesis Firehose. Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch or Amazon Kinesis Firehose. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - updateConfigurationSetEventDestination(params: SES.Types.UpdateConfigurationSetEventDestinationRequest, callback?: (err: AWSError, data: SES.Types.UpdateConfigurationSetEventDestinationResponse) => void): Request; - /** - * Updates the event destination of a configuration set. When you create or update an event destination, you must provide one, and only one, destination. The destination can be either Amazon CloudWatch or Amazon Kinesis Firehose. Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch or Amazon Kinesis Firehose. For information about using configuration sets, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - updateConfigurationSetEventDestination(callback?: (err: AWSError, data: SES.Types.UpdateConfigurationSetEventDestinationResponse) => void): Request; - /** - * Updates a receipt rule. For information about managing receipt rules, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - updateReceiptRule(params: SES.Types.UpdateReceiptRuleRequest, callback?: (err: AWSError, data: SES.Types.UpdateReceiptRuleResponse) => void): Request; - /** - * Updates a receipt rule. For information about managing receipt rules, see the Amazon SES Developer Guide. This action is throttled at one request per second. - */ - updateReceiptRule(callback?: (err: AWSError, data: SES.Types.UpdateReceiptRuleResponse) => void): Request; - /** - * Returns a set of DKIM tokens for a domain. DKIM tokens are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain. This action is throttled at one request per second. To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled action. For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide. - */ - verifyDomainDkim(params: SES.Types.VerifyDomainDkimRequest, callback?: (err: AWSError, data: SES.Types.VerifyDomainDkimResponse) => void): Request; - /** - * Returns a set of DKIM tokens for a domain. DKIM tokens are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain. This action is throttled at one request per second. To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled action. For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide. - */ - verifyDomainDkim(callback?: (err: AWSError, data: SES.Types.VerifyDomainDkimResponse) => void): Request; - /** - * Verifies a domain. This action is throttled at one request per second. - */ - verifyDomainIdentity(params: SES.Types.VerifyDomainIdentityRequest, callback?: (err: AWSError, data: SES.Types.VerifyDomainIdentityResponse) => void): Request; - /** - * Verifies a domain. This action is throttled at one request per second. - */ - verifyDomainIdentity(callback?: (err: AWSError, data: SES.Types.VerifyDomainIdentityResponse) => void): Request; - /** - * Verifies an email address. This action causes a confirmation email message to be sent to the specified address. The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred. This action is throttled at one request per second. - */ - verifyEmailAddress(params: SES.Types.VerifyEmailAddressRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Verifies an email address. This action causes a confirmation email message to be sent to the specified address. The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred. This action is throttled at one request per second. - */ - verifyEmailAddress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Verifies an email address. This action causes a confirmation email message to be sent to the specified address. This action is throttled at one request per second. - */ - verifyEmailIdentity(params: SES.Types.VerifyEmailIdentityRequest, callback?: (err: AWSError, data: SES.Types.VerifyEmailIdentityResponse) => void): Request; - /** - * Verifies an email address. This action causes a confirmation email message to be sent to the specified address. This action is throttled at one request per second. - */ - verifyEmailIdentity(callback?: (err: AWSError, data: SES.Types.VerifyEmailIdentityResponse) => void): Request; - /** - * Waits for the identityExists state by periodically calling the underlying SES.getIdentityVerificationAttributesoperation every 3 seconds (at most 20 times). - */ - waitFor(state: "identityExists", params: SES.Types.GetIdentityVerificationAttributesRequest, callback?: (err: AWSError, data: SES.Types.GetIdentityVerificationAttributesResponse) => void): Request; - /** - * Waits for the identityExists state by periodically calling the underlying SES.getIdentityVerificationAttributesoperation every 3 seconds (at most 20 times). - */ - waitFor(state: "identityExists", callback?: (err: AWSError, data: SES.Types.GetIdentityVerificationAttributesResponse) => void): Request; -} -declare namespace SES { - export interface AddHeaderAction { - /** - * The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only. - */ - HeaderName: HeaderName; - /** - * Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n"). - */ - HeaderValue: HeaderValue; - } - export type Address = string; - export type AddressList = Address[]; - export type AmazonResourceName = string; - export type ArrivalDate = Date; - export type BehaviorOnMXFailure = "UseDefaultValue"|"RejectMessage"|string; - export interface Body { - /** - * The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices). - */ - Text?: Content; - /** - * The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message. - */ - Html?: Content; - } - export interface BounceAction { - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide. - */ - TopicArn?: AmazonResourceName; - /** - * The SMTP reply code, as defined by RFC 5321. - */ - SmtpReplyCode: BounceSmtpReplyCode; - /** - * The SMTP enhanced status code, as defined by RFC 3463. - */ - StatusCode?: BounceStatusCode; - /** - * Human-readable text to include in the bounce message. - */ - Message: BounceMessage; - /** - * The email address of the sender of the bounced email. This is the address from which the bounce message will be sent. - */ - Sender: Address; - } - export type BounceMessage = string; - export type BounceSmtpReplyCode = string; - export type BounceStatusCode = string; - export type BounceType = "DoesNotExist"|"MessageTooLarge"|"ExceededQuota"|"ContentRejected"|"Undefined"|"TemporaryFailure"|string; - export interface BouncedRecipientInfo { - /** - * The email address of the recipient of the bounced email. - */ - Recipient: Address; - /** - * This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide. - */ - RecipientArn?: AmazonResourceName; - /** - * The reason for the bounce. You must provide either this parameter or RecipientDsnFields. - */ - BounceType?: BounceType; - /** - * Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a BounceType. You must provide either this parameter or BounceType. - */ - RecipientDsnFields?: RecipientDsnFields; - } - export type BouncedRecipientInfoList = BouncedRecipientInfo[]; - export type Charset = string; - export type Cidr = string; - export interface CloneReceiptRuleSetRequest { - /** - * The name of the rule set to create. The name must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-). Start and end with a letter or number. Contain less than 64 characters. - */ - RuleSetName: ReceiptRuleSetName; - /** - * The name of the rule set to clone. - */ - OriginalRuleSetName: ReceiptRuleSetName; - } - export interface CloneReceiptRuleSetResponse { - } - export interface CloudWatchDestination { - /** - * A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch. - */ - DimensionConfigurations: CloudWatchDimensionConfigurations; - } - export interface CloudWatchDimensionConfiguration { - /** - * The name of an Amazon CloudWatch dimension associated with an email sending metric. The name must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). Contain less than 256 characters. - */ - DimensionName: DimensionName; - /** - * The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. If you want Amazon SES to use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail/SendRawEmail API, choose messageTag. If you want Amazon SES to use your own email headers, choose emailHeader. - */ - DimensionValueSource: DimensionValueSource; - /** - * The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email. The default value must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). Contain less than 256 characters. - */ - DefaultDimensionValue: DefaultDimensionValue; - } - export type CloudWatchDimensionConfigurations = CloudWatchDimensionConfiguration[]; - export interface ConfigurationSet { - /** - * The name of the configuration set. The name must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). Contain less than 64 characters. - */ - Name: ConfigurationSetName; - } - export type ConfigurationSetAttribute = "eventDestinations"|string; - export type ConfigurationSetAttributeList = ConfigurationSetAttribute[]; - export type ConfigurationSetName = string; - export type ConfigurationSets = ConfigurationSet[]; - export interface Content { - /** - * The textual data of the content. - */ - Data: MessageData; - /** - * The character set of the content. - */ - Charset?: Charset; - } - export type Counter = number; - export interface CreateConfigurationSetEventDestinationRequest { - /** - * The name of the configuration set to which to apply the event destination. - */ - ConfigurationSetName: ConfigurationSetName; - /** - * An object that describes the AWS service to which Amazon SES will publish the email sending events associated with the specified configuration set. - */ - EventDestination: EventDestination; - } - export interface CreateConfigurationSetEventDestinationResponse { - } - export interface CreateConfigurationSetRequest { - /** - * A data structure that contains the name of the configuration set. - */ - ConfigurationSet: ConfigurationSet; - } - export interface CreateConfigurationSetResponse { - } - export interface CreateReceiptFilterRequest { - /** - * A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it. - */ - Filter: ReceiptFilter; - } - export interface CreateReceiptFilterResponse { - } - export interface CreateReceiptRuleRequest { - /** - * The name of the rule set to which to add the rule. - */ - RuleSetName: ReceiptRuleSetName; - /** - * The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list. - */ - After?: ReceiptRuleName; - /** - * A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. - */ - Rule: ReceiptRule; - } - export interface CreateReceiptRuleResponse { - } - export interface CreateReceiptRuleSetRequest { - /** - * The name of the rule set to create. The name must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-). Start and end with a letter or number. Contain less than 64 characters. - */ - RuleSetName: ReceiptRuleSetName; - } - export interface CreateReceiptRuleSetResponse { - } - export type CustomMailFromStatus = "Pending"|"Success"|"Failed"|"TemporaryFailure"|string; - export type DefaultDimensionValue = string; - export interface DeleteConfigurationSetEventDestinationRequest { - /** - * The name of the configuration set from which to delete the event destination. - */ - ConfigurationSetName: ConfigurationSetName; - /** - * The name of the event destination to delete. - */ - EventDestinationName: EventDestinationName; - } - export interface DeleteConfigurationSetEventDestinationResponse { - } - export interface DeleteConfigurationSetRequest { - /** - * The name of the configuration set to delete. - */ - ConfigurationSetName: ConfigurationSetName; - } - export interface DeleteConfigurationSetResponse { - } - export interface DeleteIdentityPolicyRequest { - /** - * The identity that is associated with the policy that you want to delete. You can specify the identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. To successfully call this API, you must own the identity. - */ - Identity: Identity; - /** - * The name of the policy to be deleted. - */ - PolicyName: PolicyName; - } - export interface DeleteIdentityPolicyResponse { - } - export interface DeleteIdentityRequest { - /** - * The identity to be removed from the list of identities for the AWS Account. - */ - Identity: Identity; - } - export interface DeleteIdentityResponse { - } - export interface DeleteReceiptFilterRequest { - /** - * The name of the IP address filter to delete. - */ - FilterName: ReceiptFilterName; - } - export interface DeleteReceiptFilterResponse { - } - export interface DeleteReceiptRuleRequest { - /** - * The name of the receipt rule set that contains the receipt rule to delete. - */ - RuleSetName: ReceiptRuleSetName; - /** - * The name of the receipt rule to delete. - */ - RuleName: ReceiptRuleName; - } - export interface DeleteReceiptRuleResponse { - } - export interface DeleteReceiptRuleSetRequest { - /** - * The name of the receipt rule set to delete. - */ - RuleSetName: ReceiptRuleSetName; - } - export interface DeleteReceiptRuleSetResponse { - } - export interface DeleteVerifiedEmailAddressRequest { - /** - * An email address to be removed from the list of verified addresses. - */ - EmailAddress: Address; - } - export interface DescribeActiveReceiptRuleSetRequest { - } - export interface DescribeActiveReceiptRuleSetResponse { - /** - * The metadata for the currently active receipt rule set. The metadata consists of the rule set name and a timestamp of when the rule set was created. - */ - Metadata?: ReceiptRuleSetMetadata; - /** - * The receipt rules that belong to the active rule set. - */ - Rules?: ReceiptRulesList; - } - export interface DescribeConfigurationSetRequest { - /** - * The name of the configuration set to describe. - */ - ConfigurationSetName: ConfigurationSetName; - /** - * A list of configuration set attributes to return. - */ - ConfigurationSetAttributeNames?: ConfigurationSetAttributeList; - } - export interface DescribeConfigurationSetResponse { - /** - * The configuration set object associated with the specified configuration set. - */ - ConfigurationSet?: ConfigurationSet; - /** - * A list of event destinations associated with the configuration set. - */ - EventDestinations?: EventDestinations; - } - export interface DescribeReceiptRuleRequest { - /** - * The name of the receipt rule set to which the receipt rule belongs. - */ - RuleSetName: ReceiptRuleSetName; - /** - * The name of the receipt rule. - */ - RuleName: ReceiptRuleName; - } - export interface DescribeReceiptRuleResponse { - /** - * A data structure that contains the specified receipt rule's name, actions, recipients, domains, enabled status, scan status, and Transport Layer Security (TLS) policy. - */ - Rule?: ReceiptRule; - } - export interface DescribeReceiptRuleSetRequest { - /** - * The name of the receipt rule set to describe. - */ - RuleSetName: ReceiptRuleSetName; - } - export interface DescribeReceiptRuleSetResponse { - /** - * The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created. - */ - Metadata?: ReceiptRuleSetMetadata; - /** - * A list of the receipt rules that belong to the specified receipt rule set. - */ - Rules?: ReceiptRulesList; - } - export interface Destination { - /** - * The To: field(s) of the message. - */ - ToAddresses?: AddressList; - /** - * The CC: field(s) of the message. - */ - CcAddresses?: AddressList; - /** - * The BCC: field(s) of the message. - */ - BccAddresses?: AddressList; - } - export type DiagnosticCode = string; - export type DimensionName = string; - export type DimensionValueSource = "messageTag"|"emailHeader"|string; - export type DkimAttributes = {[key: string]: IdentityDkimAttributes}; - export type Domain = string; - export type DsnAction = "failed"|"delayed"|"delivered"|"relayed"|"expanded"|string; - export type DsnStatus = string; - export type Enabled = boolean; - export interface EventDestination { - /** - * The name of the event destination. The name must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). Contain less than 64 characters. - */ - Name: EventDestinationName; - /** - * Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false. - */ - Enabled?: Enabled; - /** - * The type of email sending events to publish to the event destination. - */ - MatchingEventTypes: EventTypes; - /** - * An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination. - */ - KinesisFirehoseDestination?: KinesisFirehoseDestination; - /** - * An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination. - */ - CloudWatchDestination?: CloudWatchDestination; - } - export type EventDestinationName = string; - export type EventDestinations = EventDestination[]; - export type EventType = "send"|"reject"|"bounce"|"complaint"|"delivery"|string; - export type EventTypes = EventType[]; - export type Explanation = string; - export interface ExtensionField { - /** - * The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only. - */ - Name: ExtensionFieldName; - /** - * The value of the header to add. Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n"). - */ - Value: ExtensionFieldValue; - } - export type ExtensionFieldList = ExtensionField[]; - export type ExtensionFieldName = string; - export type ExtensionFieldValue = string; - export interface GetIdentityDkimAttributesRequest { - /** - * A list of one or more verified identities - email addresses, domains, or both. - */ - Identities: IdentityList; - } - export interface GetIdentityDkimAttributesResponse { - /** - * The DKIM attributes for an email address or a domain. - */ - DkimAttributes: DkimAttributes; - } - export interface GetIdentityMailFromDomainAttributesRequest { - /** - * A list of one or more identities. - */ - Identities: IdentityList; - } - export interface GetIdentityMailFromDomainAttributesResponse { - /** - * A map of identities to custom MAIL FROM attributes. - */ - MailFromDomainAttributes: MailFromDomainAttributes; - } - export interface GetIdentityNotificationAttributesRequest { - /** - * A list of one or more identities. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. - */ - Identities: IdentityList; - } - export interface GetIdentityNotificationAttributesResponse { - /** - * A map of Identity to IdentityNotificationAttributes. - */ - NotificationAttributes: NotificationAttributes; - } - export interface GetIdentityPoliciesRequest { - /** - * The identity for which the policies will be retrieved. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. To successfully call this API, you must own the identity. - */ - Identity: Identity; - /** - * A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do not know the names of the policies that are attached to the identity, you can use ListIdentityPolicies. - */ - PolicyNames: PolicyNameList; - } - export interface GetIdentityPoliciesResponse { - /** - * A map of policy names to policies. - */ - Policies: PolicyMap; - } - export interface GetIdentityVerificationAttributesRequest { - /** - * A list of identities. - */ - Identities: IdentityList; - } - export interface GetIdentityVerificationAttributesResponse { - /** - * A map of Identities to IdentityVerificationAttributes objects. - */ - VerificationAttributes: VerificationAttributes; - } - export interface GetSendQuotaResponse { - /** - * The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota. - */ - Max24HourSend?: Max24HourSend; - /** - * The maximum number of emails that Amazon SES can accept from the user's account per second. The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate. - */ - MaxSendRate?: MaxSendRate; - /** - * The number of emails sent during the previous 24 hours. - */ - SentLast24Hours?: SentLast24Hours; - } - export interface GetSendStatisticsResponse { - /** - * A list of data points, each of which represents 15 minutes of activity. - */ - SendDataPoints?: SendDataPointList; - } - export type HeaderName = string; - export type HeaderValue = string; - export type Identity = string; - export interface IdentityDkimAttributes { - /** - * True if DKIM signing is enabled for email sent from the identity; false otherwise. The default value is true. - */ - DkimEnabled: Enabled; - /** - * Describes whether Amazon SES has successfully verified the DKIM DNS records (tokens) published in the domain name's DNS. (This only applies to domain identities, not email address identities.) - */ - DkimVerificationStatus: VerificationStatus; - /** - * A set of character strings that represent the domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain. (This only applies to domain identities, not email address identities.) For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide. - */ - DkimTokens?: VerificationTokenList; - } - export type IdentityList = Identity[]; - export interface IdentityMailFromDomainAttributes { - /** - * The custom MAIL FROM domain that the identity is configured to use. - */ - MailFromDomain: MailFromDomainName; - /** - * The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state is Success, Amazon SES uses the specified custom MAIL FROM domain when the verified identity sends an email. All other states indicate that Amazon SES takes the action described by BehaviorOnMXFailure. - */ - MailFromDomainStatus: CustomMailFromStatus; - /** - * The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of UseDefaultValue indicates that if Amazon SES cannot read the required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of RejectMessage indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a MailFromDomainNotVerified error and does not send the email. The custom MAIL FROM setup states that result in this behavior are Pending, Failed, and TemporaryFailure. - */ - BehaviorOnMXFailure: BehaviorOnMXFailure; - } - export interface IdentityNotificationAttributes { - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications. - */ - BounceTopic: NotificationTopic; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications. - */ - ComplaintTopic: NotificationTopic; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications. - */ - DeliveryTopic: NotificationTopic; - /** - * Describes whether Amazon SES will forward bounce and complaint notifications as email. true indicates that Amazon SES will forward bounce and complaint notifications as email, while false indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics. - */ - ForwardingEnabled: Enabled; - /** - * Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Bounce. A value of true specifies that Amazon SES will include headers in bounce notifications, and a value of false specifies that Amazon SES will not include headers in bounce notifications. - */ - HeadersInBounceNotificationsEnabled?: Enabled; - /** - * Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Complaint. A value of true specifies that Amazon SES will include headers in complaint notifications, and a value of false specifies that Amazon SES will not include headers in complaint notifications. - */ - HeadersInComplaintNotificationsEnabled?: Enabled; - /** - * Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Delivery. A value of true specifies that Amazon SES will include headers in delivery notifications, and a value of false specifies that Amazon SES will not include headers in delivery notifications. - */ - HeadersInDeliveryNotificationsEnabled?: Enabled; - } - export type IdentityType = "EmailAddress"|"Domain"|string; - export interface IdentityVerificationAttributes { - /** - * The verification status of the identity: "Pending", "Success", "Failed", or "TemporaryFailure". - */ - VerificationStatus: VerificationStatus; - /** - * The verification token for a domain identity. Null for email address identities. - */ - VerificationToken?: VerificationToken; - } - export type InvocationType = "Event"|"RequestResponse"|string; - export interface KinesisFirehoseDestination { - /** - * The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream. - */ - IAMRoleARN: AmazonResourceName; - /** - * The ARN of the Amazon Kinesis Firehose stream to which to publish email sending events. - */ - DeliveryStreamARN: AmazonResourceName; - } - export interface LambdaAction { - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide. - */ - TopicArn?: AmazonResourceName; - /** - * The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction. For more information about AWS Lambda, see the AWS Lambda Developer Guide. - */ - FunctionArn: AmazonResourceName; - /** - * The invocation type of the AWS Lambda function. An invocation type of RequestResponse means that the execution of the function will immediately result in a response, and a value of Event means that the function will be invoked asynchronously. The default value is Event. For information about AWS Lambda invocation types, see the AWS Lambda Developer Guide. There is a 30-second timeout on RequestResponse invocations. You should use Event invocation in most cases. Use RequestResponse only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set. - */ - InvocationType?: InvocationType; - } - export type LastAttemptDate = Date; - export interface ListConfigurationSetsRequest { - /** - * A token returned from a previous call to ListConfigurationSets to indicate the position of the configuration set in the configuration set list. - */ - NextToken?: NextToken; - /** - * The number of configuration sets to return. - */ - MaxItems?: MaxItems; - } - export interface ListConfigurationSetsResponse { - /** - * A list of configuration sets. - */ - ConfigurationSets?: ConfigurationSets; - /** - * A token indicating that there are additional configuration sets available to be listed. Pass this token to successive calls of ListConfigurationSets. - */ - NextToken?: NextToken; - } - export interface ListIdentitiesRequest { - /** - * The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed. - */ - IdentityType?: IdentityType; - /** - * The token to use for pagination. - */ - NextToken?: NextToken; - /** - * The maximum number of identities per page. Possible values are 1-1000 inclusive. - */ - MaxItems?: MaxItems; - } - export interface ListIdentitiesResponse { - /** - * A list of identities. - */ - Identities: IdentityList; - /** - * The token used for pagination. - */ - NextToken?: NextToken; - } - export interface ListIdentityPoliciesRequest { - /** - * The identity that is associated with the policy for which the policies will be listed. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. To successfully call this API, you must own the identity. - */ - Identity: Identity; - } - export interface ListIdentityPoliciesResponse { - /** - * A list of names of policies that apply to the specified identity. - */ - PolicyNames: PolicyNameList; - } - export interface ListReceiptFiltersRequest { - } - export interface ListReceiptFiltersResponse { - /** - * A list of IP address filter data structures, which each consist of a name, an IP address range, and whether to allow or block mail from it. - */ - Filters?: ReceiptFilterList; - } - export interface ListReceiptRuleSetsRequest { - /** - * A token returned from a previous call to ListReceiptRuleSets to indicate the position in the receipt rule set list. - */ - NextToken?: NextToken; - } - export interface ListReceiptRuleSetsResponse { - /** - * The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created. - */ - RuleSets?: ReceiptRuleSetsLists; - /** - * A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time. - */ - NextToken?: NextToken; - } - export interface ListVerifiedEmailAddressesResponse { - /** - * A list of email addresses that have been verified. - */ - VerifiedEmailAddresses?: AddressList; - } - export type MailFromDomainAttributes = {[key: string]: IdentityMailFromDomainAttributes}; - export type MailFromDomainName = string; - export type Max24HourSend = number; - export type MaxItems = number; - export type MaxSendRate = number; - export interface Message { - /** - * The subject of the message: A short summary of the content, which will appear in the recipient's inbox. - */ - Subject: Content; - /** - * The message body. - */ - Body: Body; - } - export type MessageData = string; - export interface MessageDsn { - /** - * The reporting MTA that attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name). The default value is dns; inbound-smtp.[region].amazonaws.com. - */ - ReportingMta: ReportingMta; - /** - * When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format. - */ - ArrivalDate?: ArrivalDate; - /** - * Additional X-headers to include in the DSN. - */ - ExtensionFields?: ExtensionFieldList; - } - export type MessageId = string; - export interface MessageTag { - /** - * The name of the tag. The name must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). Contain less than 256 characters. - */ - Name: MessageTagName; - /** - * The value of the tag. The value must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). Contain less than 256 characters. - */ - Value: MessageTagValue; - } - export type MessageTagList = MessageTag[]; - export type MessageTagName = string; - export type MessageTagValue = string; - export type NextToken = string; - export type NotificationAttributes = {[key: string]: IdentityNotificationAttributes}; - export type NotificationTopic = string; - export type NotificationType = "Bounce"|"Complaint"|"Delivery"|string; - export type Policy = string; - export type PolicyMap = {[key: string]: Policy}; - export type PolicyName = string; - export type PolicyNameList = PolicyName[]; - export interface PutIdentityPolicyRequest { - /** - * The identity to which the policy will apply. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. To successfully call this API, you must own the identity. - */ - Identity: Identity; - /** - * The name of the policy. The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores. - */ - PolicyName: PolicyName; - /** - * The text of the policy in JSON format. The policy cannot exceed 4 KB. For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide. - */ - Policy: Policy; - } - export interface PutIdentityPolicyResponse { - } - export interface RawMessage { - /** - * The raw data of the message. The client must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, MIME encoding, and base64 encoding. The To:, CC:, and BCC: headers in the raw message can contain a group list. If you are using SendRawEmail with sending authorization, you can include X-headers in the raw message to specify the "Source," "From," and "Return-Path" addresses. For more information, see the documentation for SendRawEmail. Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email. For more information, go to the Amazon SES Developer Guide. - */ - Data: RawMessageData; - } - export type RawMessageData = Buffer|Uint8Array|Blob|string; - export interface ReceiptAction { - /** - * Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS. - */ - S3Action?: S3Action; - /** - * Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS). - */ - BounceAction?: BounceAction; - /** - * Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS. - */ - WorkmailAction?: WorkmailAction; - /** - * Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS. - */ - LambdaAction?: LambdaAction; - /** - * Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS. - */ - StopAction?: StopAction; - /** - * Adds a header to the received email. - */ - AddHeaderAction?: AddHeaderAction; - /** - * Publishes the email content within a notification to Amazon SNS. - */ - SNSAction?: SNSAction; - } - export type ReceiptActionsList = ReceiptAction[]; - export interface ReceiptFilter { - /** - * The name of the IP address filter. The name must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-). Start and end with a letter or number. Contain less than 64 characters. - */ - Name: ReceiptFilterName; - /** - * A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them. - */ - IpFilter: ReceiptIpFilter; - } - export type ReceiptFilterList = ReceiptFilter[]; - export type ReceiptFilterName = string; - export type ReceiptFilterPolicy = "Block"|"Allow"|string; - export interface ReceiptIpFilter { - /** - * Indicates whether to block or allow incoming mail from the specified IP addresses. - */ - Policy: ReceiptFilterPolicy; - /** - * A single IP address or a range of IP addresses that you want to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317. - */ - Cidr: Cidr; - } - export interface ReceiptRule { - /** - * The name of the receipt rule. The name must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-). Start and end with a letter or number. Contain less than 64 characters. - */ - Name: ReceiptRuleName; - /** - * If true, the receipt rule is active. The default value is false. - */ - Enabled?: Enabled; - /** - * Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to Require, Amazon SES will bounce emails that are not received over TLS. The default is Optional. - */ - TlsPolicy?: TlsPolicy; - /** - * The recipient domains and email addresses to which the receipt rule applies. If this field is not specified, this rule will match all recipients under all verified domains. - */ - Recipients?: RecipientsList; - /** - * An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule. - */ - Actions?: ReceiptActionsList; - /** - * If true, then messages to which this receipt rule applies are scanned for spam and viruses. The default value is false. - */ - ScanEnabled?: Enabled; - } - export type ReceiptRuleName = string; - export type ReceiptRuleNamesList = ReceiptRuleName[]; - export interface ReceiptRuleSetMetadata { - /** - * The name of the receipt rule set. The name must: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-). Start and end with a letter or number. Contain less than 64 characters. - */ - Name?: ReceiptRuleSetName; - /** - * The date and time the receipt rule set was created. - */ - CreatedTimestamp?: Timestamp; - } - export type ReceiptRuleSetName = string; - export type ReceiptRuleSetsLists = ReceiptRuleSetMetadata[]; - export type ReceiptRulesList = ReceiptRule[]; - export type Recipient = string; - export interface RecipientDsnFields { - /** - * The email address to which the message was ultimately delivered. This corresponds to the Final-Recipient in the DSN. If not specified, FinalRecipient will be set to the Recipient specified in the BouncedRecipientInfo structure. Either FinalRecipient or the recipient in BouncedRecipientInfo must be a recipient of the original bounced message. Do not prepend the FinalRecipient email address with rfc 822;, as described in RFC 3798. - */ - FinalRecipient?: Address; - /** - * The action performed by the reporting mail transfer agent (MTA) as a result of its attempt to deliver the message to the recipient address. This is required by RFC 3464. - */ - Action: DsnAction; - /** - * The MTA to which the remote MTA attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name). This parameter typically applies only to propagating synchronous bounces. - */ - RemoteMta?: RemoteMta; - /** - * The status code that indicates what went wrong. This is required by RFC 3464. - */ - Status: DsnStatus; - /** - * An extended explanation of what went wrong; this is usually an SMTP response. See RFC 3463 for the correct formatting of this parameter. - */ - DiagnosticCode?: DiagnosticCode; - /** - * The time the final delivery attempt was made, in RFC 822 date-time format. - */ - LastAttemptDate?: LastAttemptDate; - /** - * Additional X-headers to include in the DSN. - */ - ExtensionFields?: ExtensionFieldList; - } - export type RecipientsList = Recipient[]; - export type RemoteMta = string; - export interface ReorderReceiptRuleSetRequest { - /** - * The name of the receipt rule set to reorder. - */ - RuleSetName: ReceiptRuleSetName; - /** - * A list of the specified receipt rule set's receipt rules in the order that you want to put them. - */ - RuleNames: ReceiptRuleNamesList; - } - export interface ReorderReceiptRuleSetResponse { - } - export type ReportingMta = string; - export type RuleOrRuleSetName = string; - export interface S3Action { - /** - * The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide. - */ - TopicArn?: AmazonResourceName; - /** - * The name of the Amazon S3 bucket to which to save the received email. - */ - BucketName: S3BucketName; - /** - * The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket. - */ - ObjectKeyPrefix?: S3KeyPrefix; - /** - * The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows: To use the default master key, provide an ARN in the form of arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses. For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be arn:aws:kms:us-west-2:123456789012:alias/aws/ses. If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key. To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the Amazon SES Developer Guide. For more information about key policies, see the AWS KMS Developer Guide. If you do not specify a master key, Amazon SES will not encrypt your emails. Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the AWS Java SDK and AWS Ruby SDK only. For more information about client-side encryption using AWS KMS master keys, see the Amazon S3 Developer Guide. - */ - KmsKeyArn?: AmazonResourceName; - } - export type S3BucketName = string; - export type S3KeyPrefix = string; - export interface SNSAction { - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide. - */ - TopicArn: AmazonResourceName; - /** - * The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8. - */ - Encoding?: SNSActionEncoding; - } - export type SNSActionEncoding = "UTF-8"|"Base64"|string; - export interface SendBounceRequest { - /** - * The message ID of the message to be bounced. - */ - OriginalMessageId: MessageId; - /** - * The address to use in the "From" header of the bounce message. This must be an identity that you have verified with Amazon SES. - */ - BounceSender: Address; - /** - * Human-readable text for the bounce message to explain the failure. If not specified, the text will be auto-generated based on the bounced recipient information. - */ - Explanation?: Explanation; - /** - * Message-related DSN fields. If not specified, Amazon SES will choose the values. - */ - MessageDsn?: MessageDsn; - /** - * A list of recipients of the bounced message, including the information required to create the Delivery Status Notifications (DSNs) for the recipients. You must specify at least one BouncedRecipientInfo in the list. - */ - BouncedRecipientInfoList: BouncedRecipientInfoList; - /** - * This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the address in the "From" header of the bounce. For more information about sending authorization, see the Amazon SES Developer Guide. - */ - BounceSenderArn?: AmazonResourceName; - } - export interface SendBounceResponse { - /** - * The message ID of the bounce message. - */ - MessageId?: MessageId; - } - export interface SendDataPoint { - /** - * Time of the data point. - */ - Timestamp?: Timestamp; - /** - * Number of emails that have been sent. - */ - DeliveryAttempts?: Counter; - /** - * Number of emails that have bounced. - */ - Bounces?: Counter; - /** - * Number of unwanted emails that were rejected by recipients. - */ - Complaints?: Counter; - /** - * Number of emails rejected by Amazon SES. - */ - Rejects?: Counter; - } - export type SendDataPointList = SendDataPoint[]; - export interface SendEmailRequest { - /** - * The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the Amazon SES Developer Guide. If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the SourceArn parameter. For more information about sending authorization, see the Amazon SES Developer Guide. In all cases, the email address must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. For more information, see RFC 2047. - */ - Source: Address; - /** - * The destination for this email, composed of To:, CC:, and BCC: fields. - */ - Destination: Destination; - /** - * The message to be sent. - */ - Message: Message; - /** - * The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply. - */ - ReplyToAddresses?: AddressList; - /** - * The email address to which bounces and complaints are to be forwarded when feedback forwarding is enabled. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the ReturnPath parameter. The ReturnPath parameter is never overwritten. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. - */ - ReturnPath?: Address; - /** - * This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@example.com, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@example.com. For more information about sending authorization, see the Amazon SES Developer Guide. - */ - SourceArn?: AmazonResourceName; - /** - * This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedback@example.com. For more information about sending authorization, see the Amazon SES Developer Guide. - */ - ReturnPathArn?: AmazonResourceName; - /** - * A list of tags, in the form of name/value pairs, to apply to an email that you send using SendEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events. - */ - Tags?: MessageTagList; - /** - * The name of the configuration set to use when you send an email using SendEmail. - */ - ConfigurationSetName?: ConfigurationSetName; - } - export interface SendEmailResponse { - /** - * The unique message identifier returned from the SendEmail action. - */ - MessageId: MessageId; - } - export interface SendRawEmailRequest { - /** - * The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.) By default, the string must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. For more information, see RFC 2047. If you specify the Source parameter and have feedback forwarding enabled, then bounces and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message. - */ - Source?: Address; - /** - * A list of destinations for the message, consisting of To:, CC:, and BCC: addresses. - */ - Destinations?: AddressList; - /** - * The raw text of the message. The client is responsible for ensuring the following: Message must contain a header and a body, separated by a blank line. All required header fields must be present. Each part of a multipart MIME message must be formatted properly. MIME content types must be among those supported by Amazon SES. For more information, go to the Amazon SES Developer Guide. Must be base64-encoded. - */ - RawMessage: RawMessage; - /** - * This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email. Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter. For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide. - */ - FromArn?: AmazonResourceName; - /** - * This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@example.com, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@example.com. Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter. For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide. - */ - SourceArn?: AmazonResourceName; - /** - * This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedback@example.com. Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter. For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide. - */ - ReturnPathArn?: AmazonResourceName; - /** - * A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events. - */ - Tags?: MessageTagList; - /** - * The name of the configuration set to use when you send an email using SendRawEmail. - */ - ConfigurationSetName?: ConfigurationSetName; - } - export interface SendRawEmailResponse { - /** - * The unique message identifier returned from the SendRawEmail action. - */ - MessageId: MessageId; - } - export type SentLast24Hours = number; - export interface SetActiveReceiptRuleSetRequest { - /** - * The name of the receipt rule set to make active. Setting this value to null disables all email receiving. - */ - RuleSetName?: ReceiptRuleSetName; - } - export interface SetActiveReceiptRuleSetResponse { - } - export interface SetIdentityDkimEnabledRequest { - /** - * The identity for which DKIM signing should be enabled or disabled. - */ - Identity: Identity; - /** - * Sets whether DKIM signing is enabled for an identity. Set to true to enable DKIM signing for this identity; false to disable it. - */ - DkimEnabled: Enabled; - } - export interface SetIdentityDkimEnabledResponse { - } - export interface SetIdentityFeedbackForwardingEnabledRequest { - /** - * The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com, example.com. - */ - Identity: Identity; - /** - * Sets whether Amazon SES will forward bounce and complaint notifications as email. true specifies that Amazon SES will forward bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false specifies that Amazon SES will publish bounce and complaint notifications only through Amazon SNS. This value can only be set to false when Amazon SNS topics are set for both Bounce and Complaint notification types. - */ - ForwardingEnabled: Enabled; - } - export interface SetIdentityFeedbackForwardingEnabledResponse { - } - export interface SetIdentityHeadersInNotificationsEnabledRequest { - /** - * The identity for which to enable or disable headers in notifications. Examples: user@example.com, example.com. - */ - Identity: Identity; - /** - * The notification type for which to enable or disable headers in notifications. - */ - NotificationType: NotificationType; - /** - * Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type. A value of true specifies that Amazon SES will include headers in notifications, and a value of false specifies that Amazon SES will not include headers in notifications. This value can only be set when NotificationType is already set to use a particular Amazon SNS topic. - */ - Enabled: Enabled; - } - export interface SetIdentityHeadersInNotificationsEnabledResponse { - } - export interface SetIdentityMailFromDomainRequest { - /** - * The verified identity for which you want to enable or disable the specified custom MAIL FROM domain. - */ - Identity: Identity; - /** - * The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must 1) be a subdomain of the verified identity, 2) not be used in a "From" address if the MAIL FROM domain is the destination of email feedback forwarding (for more information, see the Amazon SES Developer Guide), and 3) not be used to receive emails. A value of null disables the custom MAIL FROM setting for the identity. - */ - MailFromDomain?: MailFromDomainName; - /** - * The action that you want Amazon SES to take if it cannot successfully read the required MX record when you send an email. If you choose UseDefaultValue, Amazon SES will use amazonses.com (or a subdomain of that) as the MAIL FROM domain. If you choose RejectMessage, Amazon SES will return a MailFromDomainNotVerified error and not send the email. The action specified in BehaviorOnMXFailure is taken when the custom MAIL FROM domain setup is in the Pending, Failed, and TemporaryFailure states. - */ - BehaviorOnMXFailure?: BehaviorOnMXFailure; - } - export interface SetIdentityMailFromDomainResponse { - } - export interface SetIdentityNotificationTopicRequest { - /** - * The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. - */ - Identity: Identity; - /** - * The type of notifications that will be published to the specified Amazon SNS topic. - */ - NotificationType: NotificationType; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled. - */ - SnsTopic?: NotificationTopic; - } - export interface SetIdentityNotificationTopicResponse { - } - export interface SetReceiptRulePositionRequest { - /** - * The name of the receipt rule set that contains the receipt rule to reposition. - */ - RuleSetName: ReceiptRuleSetName; - /** - * The name of the receipt rule to reposition. - */ - RuleName: ReceiptRuleName; - /** - * The name of the receipt rule after which to place the specified receipt rule. - */ - After?: ReceiptRuleName; - } - export interface SetReceiptRulePositionResponse { - } - export interface StopAction { - /** - * The scope to which the Stop action applies. That is, what is being stopped. - */ - Scope: StopScope; - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide. - */ - TopicArn?: AmazonResourceName; - } - export type StopScope = "RuleSet"|string; - export type Timestamp = Date; - export type TlsPolicy = "Require"|"Optional"|string; - export interface UpdateConfigurationSetEventDestinationRequest { - /** - * The name of the configuration set that you want to update. - */ - ConfigurationSetName: ConfigurationSetName; - /** - * The event destination object that you want to apply to the specified configuration set. - */ - EventDestination: EventDestination; - } - export interface UpdateConfigurationSetEventDestinationResponse { - } - export interface UpdateReceiptRuleRequest { - /** - * The name of the receipt rule set to which the receipt rule belongs. - */ - RuleSetName: ReceiptRuleSetName; - /** - * A data structure that contains the updated receipt rule information. - */ - Rule: ReceiptRule; - } - export interface UpdateReceiptRuleResponse { - } - export type VerificationAttributes = {[key: string]: IdentityVerificationAttributes}; - export type VerificationStatus = "Pending"|"Success"|"Failed"|"TemporaryFailure"|"NotStarted"|string; - export type VerificationToken = string; - export type VerificationTokenList = VerificationToken[]; - export interface VerifyDomainDkimRequest { - /** - * The name of the domain to be verified for Easy DKIM signing. - */ - Domain: Domain; - } - export interface VerifyDomainDkimResponse { - /** - * A set of character strings that represent the domain's identity. If the identity is an email address, the tokens represent the domain of that address. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign emails originating from that domain. For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide. - */ - DkimTokens: VerificationTokenList; - } - export interface VerifyDomainIdentityRequest { - /** - * The domain to be verified. - */ - Domain: Domain; - } - export interface VerifyDomainIdentityResponse { - /** - * A TXT record that must be placed in the DNS settings for the domain, in order to complete domain verification. - */ - VerificationToken: VerificationToken; - } - export interface VerifyEmailAddressRequest { - /** - * The email address to be verified. - */ - EmailAddress: Address; - } - export interface VerifyEmailIdentityRequest { - /** - * The email address to be verified. - */ - EmailAddress: Address; - } - export interface VerifyEmailIdentityResponse { - } - export interface WorkmailAction { - /** - * The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide. - */ - TopicArn?: AmazonResourceName; - /** - * The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7. For information about Amazon WorkMail organizations, see the Amazon WorkMail Administrator Guide. - */ - OrganizationArn: AmazonResourceName; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2010-12-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the SES client. - */ - export import Types = SES; -} -export = SES; diff --git a/src/node_modules/aws-sdk/clients/ses.js b/src/node_modules/aws-sdk/clients/ses.js deleted file mode 100644 index e0a0f78..0000000 --- a/src/node_modules/aws-sdk/clients/ses.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['ses'] = {}; -AWS.SES = Service.defineService('ses', ['2010-12-01']); -Object.defineProperty(apiLoader.services['ses'], '2010-12-01', { - get: function get() { - var model = require('../apis/email-2010-12-01.min.json'); - model.paginators = require('../apis/email-2010-12-01.paginators.json').pagination; - model.waiters = require('../apis/email-2010-12-01.waiters2.json').waiters; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SES; diff --git a/src/node_modules/aws-sdk/clients/shield.d.ts b/src/node_modules/aws-sdk/clients/shield.d.ts deleted file mode 100644 index a181d3b..0000000 --- a/src/node_modules/aws-sdk/clients/shield.d.ts +++ /dev/null @@ -1,396 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Shield extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Shield.Types.ClientConfiguration) - config: Config & Shield.Types.ClientConfiguration; - /** - * Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, or an Amazon Route 53 hosted zone. - */ - createProtection(params: Shield.Types.CreateProtectionRequest, callback?: (err: AWSError, data: Shield.Types.CreateProtectionResponse) => void): Request; - /** - * Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, or an Amazon Route 53 hosted zone. - */ - createProtection(callback?: (err: AWSError, data: Shield.Types.CreateProtectionResponse) => void): Request; - /** - * Activates AWS Shield Advanced for an account. - */ - createSubscription(params: Shield.Types.CreateSubscriptionRequest, callback?: (err: AWSError, data: Shield.Types.CreateSubscriptionResponse) => void): Request; - /** - * Activates AWS Shield Advanced for an account. - */ - createSubscription(callback?: (err: AWSError, data: Shield.Types.CreateSubscriptionResponse) => void): Request; - /** - * Deletes an AWS Shield Advanced Protection. - */ - deleteProtection(params: Shield.Types.DeleteProtectionRequest, callback?: (err: AWSError, data: Shield.Types.DeleteProtectionResponse) => void): Request; - /** - * Deletes an AWS Shield Advanced Protection. - */ - deleteProtection(callback?: (err: AWSError, data: Shield.Types.DeleteProtectionResponse) => void): Request; - /** - * Removes AWS Shield Advanced from an account. - */ - deleteSubscription(params: Shield.Types.DeleteSubscriptionRequest, callback?: (err: AWSError, data: Shield.Types.DeleteSubscriptionResponse) => void): Request; - /** - * Removes AWS Shield Advanced from an account. - */ - deleteSubscription(callback?: (err: AWSError, data: Shield.Types.DeleteSubscriptionResponse) => void): Request; - /** - * Describes the details of a DDoS attack. - */ - describeAttack(params: Shield.Types.DescribeAttackRequest, callback?: (err: AWSError, data: Shield.Types.DescribeAttackResponse) => void): Request; - /** - * Describes the details of a DDoS attack. - */ - describeAttack(callback?: (err: AWSError, data: Shield.Types.DescribeAttackResponse) => void): Request; - /** - * Lists the details of a Protection object. - */ - describeProtection(params: Shield.Types.DescribeProtectionRequest, callback?: (err: AWSError, data: Shield.Types.DescribeProtectionResponse) => void): Request; - /** - * Lists the details of a Protection object. - */ - describeProtection(callback?: (err: AWSError, data: Shield.Types.DescribeProtectionResponse) => void): Request; - /** - * Provides details about the AWS Shield Advanced subscription for an account. - */ - describeSubscription(params: Shield.Types.DescribeSubscriptionRequest, callback?: (err: AWSError, data: Shield.Types.DescribeSubscriptionResponse) => void): Request; - /** - * Provides details about the AWS Shield Advanced subscription for an account. - */ - describeSubscription(callback?: (err: AWSError, data: Shield.Types.DescribeSubscriptionResponse) => void): Request; - /** - * Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period. - */ - listAttacks(params: Shield.Types.ListAttacksRequest, callback?: (err: AWSError, data: Shield.Types.ListAttacksResponse) => void): Request; - /** - * Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period. - */ - listAttacks(callback?: (err: AWSError, data: Shield.Types.ListAttacksResponse) => void): Request; - /** - * Lists all Protection objects for the account. - */ - listProtections(params: Shield.Types.ListProtectionsRequest, callback?: (err: AWSError, data: Shield.Types.ListProtectionsResponse) => void): Request; - /** - * Lists all Protection objects for the account. - */ - listProtections(callback?: (err: AWSError, data: Shield.Types.ListProtectionsResponse) => void): Request; -} -declare namespace Shield { - export interface AttackDetail { - /** - * The unique identifier (ID) of the attack. - */ - AttackId?: AttackId; - /** - * The ARN (Amazon Resource Name) of the resource that was attacked. - */ - ResourceArn?: ResourceArn; - /** - * If applicable, additional detail about the resource being attacked, for example, IP address or URL. - */ - SubResources?: SubResourceSummaryList; - /** - * The time the attack started, in the format 2016-12-16T13:50Z. - */ - StartTime?: AttackTimestamp; - /** - * The time the attack ended, in the format 2016-12-16T13:50Z. - */ - EndTime?: AttackTimestamp; - /** - * List of counters that describe the attack for the specified time period. - */ - AttackCounters?: SummarizedCounterList; - /** - * List of mitigation actions taken for the attack. - */ - Mitigations?: MitigationList; - } - export type AttackId = string; - export type AttackSummaries = AttackSummary[]; - export interface AttackSummary { - /** - * The unique identifier (ID) of the attack. - */ - AttackId?: String; - /** - * The ARN (Amazon Resource Name) of the resource that was attacked. - */ - ResourceArn?: String; - /** - * The start time of the attack, in the format 2016-12-16T13:50Z. - */ - StartTime?: AttackTimestamp; - /** - * The end time of the attack, in the format 2016-12-16T13:50Z. - */ - EndTime?: AttackTimestamp; - /** - * The list of attacks for a specified time period. - */ - AttackVectors?: AttackVectorDescriptionList; - } - export type AttackTimestamp = Date; - export interface AttackVectorDescription { - /** - * The attack type, for example, SNMP reflection or SYN flood. - */ - VectorType: String; - } - export type AttackVectorDescriptionList = AttackVectorDescription[]; - export interface CreateProtectionRequest { - /** - * Friendly name for the Protection you are creating. - */ - Name: ProtectionName; - /** - * The ARN (Amazon Resource Name) of the resource to be protected. - */ - ResourceArn: ResourceArn; - } - export interface CreateProtectionResponse { - /** - * The unique identifier (ID) for the Protection object that is created. - */ - ProtectionId?: ProtectionId; - } - export interface CreateSubscriptionRequest { - } - export interface CreateSubscriptionResponse { - } - export interface DeleteProtectionRequest { - /** - * The unique identifier (ID) for the Protection object to be deleted. - */ - ProtectionId: ProtectionId; - } - export interface DeleteProtectionResponse { - } - export interface DeleteSubscriptionRequest { - } - export interface DeleteSubscriptionResponse { - } - export interface DescribeAttackRequest { - /** - * The unique identifier (ID) for the attack that to be described. - */ - AttackId: AttackId; - } - export interface DescribeAttackResponse { - /** - * The attack that is described. - */ - Attack?: AttackDetail; - } - export interface DescribeProtectionRequest { - /** - * The unique identifier (ID) for the Protection object that is described. - */ - ProtectionId: ProtectionId; - } - export interface DescribeProtectionResponse { - /** - * The Protection object that is described. - */ - Protection?: Protection; - } - export interface DescribeSubscriptionRequest { - } - export interface DescribeSubscriptionResponse { - /** - * The AWS Shield Advanced subscription details for an account. - */ - Subscription?: Subscription; - } - export type Double = number; - export type DurationInSeconds = number; - export type Integer = number; - export type LimitNumber = number; - export type LimitType = string; - export interface ListAttacksRequest { - /** - * The ARN (Amazon Resource Name) of the resource that was attacked. If this is left blank, all applicable resources for this account will be included. - */ - ResourceArns?: ResourceArnFilterList; - /** - * The time period for the attacks. - */ - StartTime?: TimeRange; - /** - * The end of the time period for the attacks. - */ - EndTime?: TimeRange; - /** - * The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. Pass null if this is the first call. - */ - NextToken?: Token; - /** - * The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20 results will be returned. - */ - MaxResults?: MaxResults; - } - export interface ListAttacksResponse { - /** - * The attack information for the specified time range. - */ - AttackSummaries?: AttackSummaries; - /** - * The token returned by a previous call to indicate that there is more data available. If not null, more results are available. Pass this value for the NextMarker parameter in a subsequent call to ListAttacks to retrieve the next set of items. - */ - NextToken?: Token; - } - export interface ListProtectionsRequest { - /** - * The ListProtectionsRequest.NextToken value from a previous call to ListProtections. Pass null if this is the first call. - */ - NextToken?: Token; - /** - * The maximum number of Protection objects to be returned. If this is left blank the first 20 results will be returned. - */ - MaxResults?: MaxResults; - } - export interface ListProtectionsResponse { - /** - * The array of enabled Protection objects. - */ - Protections?: Protections; - /** - * If you specify a value for MaxResults and you have more Protections than the value of MaxResults, AWS Shield Advanced returns a NextToken value in the response that allows you to list another group of Protections. For the second and subsequent ListProtections requests, specify the value of NextToken from the previous response to get information about another batch of Protections. - */ - NextToken?: Token; - } - export type MaxResults = number; - export interface Mitigation { - /** - * The name of the mitigation taken for this attack. - */ - MitigationName?: String; - } - export type MitigationList = Mitigation[]; - export interface Protection { - /** - * The unique identifier (ID) of the protection. - */ - Id?: ProtectionId; - /** - * The friendly name of the protection. For example, My CloudFront distributions. - */ - Name?: ProtectionName; - /** - * The ARN (Amazon Resource Name) of the AWS resource that is protected. - */ - ResourceArn?: ResourceArn; - } - export type ProtectionId = string; - export type ProtectionName = string; - export type Protections = Protection[]; - export type ResourceArn = string; - export type ResourceArnFilterList = ResourceArn[]; - export type String = string; - export interface SubResourceSummary { - /** - * The SubResource type. - */ - Type?: SubResourceType; - /** - * The unique identifier (ID) of the SubResource. - */ - Id?: String; - /** - * The list of attack types and associated counters. - */ - AttackVectors?: SummarizedAttackVectorList; - /** - * The counters that describe the details of the attack. - */ - Counters?: SummarizedCounterList; - } - export type SubResourceSummaryList = SubResourceSummary[]; - export type SubResourceType = "IP"|"URL"|string; - export interface Subscription { - /** - * The start time of the subscription, in the format "2016-12-16T13:50Z". - */ - StartTime?: Timestamp; - /** - * The length, in seconds, of the AWS Shield Advanced subscription for the account. - */ - TimeCommitmentInSeconds?: DurationInSeconds; - } - export interface SummarizedAttackVector { - /** - * The attack type, for example, SNMP reflection or SYN flood. - */ - VectorType: String; - /** - * The list of counters that describe the details of the attack. - */ - VectorCounters?: SummarizedCounterList; - } - export type SummarizedAttackVectorList = SummarizedAttackVector[]; - export interface SummarizedCounter { - /** - * The counter name. - */ - Name?: String; - /** - * The maximum value of the counter for a specified time period. - */ - Max?: Double; - /** - * The average value of the counter for a specified time period. - */ - Average?: Double; - /** - * The total of counter values for a specified time period. - */ - Sum?: Double; - /** - * The number of counters for a specified time period. - */ - N?: Integer; - /** - * The unit of the counters. - */ - Unit?: String; - } - export type SummarizedCounterList = SummarizedCounter[]; - export interface TimeRange { - /** - * The start time, in the format 2016-12-16T13:50Z. - */ - FromInclusive?: AttackTimestamp; - /** - * The end time, in the format 2016-12-16T15:50Z. - */ - ToExclusive?: AttackTimestamp; - } - export type Timestamp = Date; - export type Token = string; - export type errorMessage = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-06-02"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Shield client. - */ - export import Types = Shield; -} -export = Shield; diff --git a/src/node_modules/aws-sdk/clients/shield.js b/src/node_modules/aws-sdk/clients/shield.js deleted file mode 100644 index 3cfa172..0000000 --- a/src/node_modules/aws-sdk/clients/shield.js +++ /dev/null @@ -1,17 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['shield'] = {}; -AWS.Shield = Service.defineService('shield', ['2016-06-02']); -Object.defineProperty(apiLoader.services['shield'], '2016-06-02', { - get: function get() { - var model = require('../apis/shield-2016-06-02.min.json'); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Shield; diff --git a/src/node_modules/aws-sdk/clients/simpledb.d.ts b/src/node_modules/aws-sdk/clients/simpledb.d.ts deleted file mode 100644 index ce09b91..0000000 --- a/src/node_modules/aws-sdk/clients/simpledb.d.ts +++ /dev/null @@ -1,381 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class SimpleDB extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: SimpleDB.Types.ClientConfiguration) - config: Config & SimpleDB.Types.ClientConfiguration; - /** - * Performs multiple DeleteAttributes operations in a single call, which reduces round trips and latencies. This enables Amazon SimpleDB to optimize requests, which generally yields better throughput. If you specify BatchDeleteAttributes without attributes or values, all the attributes for the item are deleted. BatchDeleteAttributes is an idempotent operation; running it multiple times on the same item or attribute doesn't result in an error. The BatchDeleteAttributes operation succeeds or fails in its entirety. There are no partial deletes. You can execute multiple BatchDeleteAttributes operations and other operations in parallel. However, large numbers of concurrent BatchDeleteAttributes calls can result in Service Unavailable (503) responses. This operation is vulnerable to exceeding the maximum URL size when making a REST request using the HTTP GET method. This operation does not support conditions using Expected.X.Name, Expected.X.Value, or Expected.X.Exists. The following limitations are enforced for this operation: 1 MB request size 25 item limit per BatchDeleteAttributes operation - */ - batchDeleteAttributes(params: SimpleDB.Types.BatchDeleteAttributesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Performs multiple DeleteAttributes operations in a single call, which reduces round trips and latencies. This enables Amazon SimpleDB to optimize requests, which generally yields better throughput. If you specify BatchDeleteAttributes without attributes or values, all the attributes for the item are deleted. BatchDeleteAttributes is an idempotent operation; running it multiple times on the same item or attribute doesn't result in an error. The BatchDeleteAttributes operation succeeds or fails in its entirety. There are no partial deletes. You can execute multiple BatchDeleteAttributes operations and other operations in parallel. However, large numbers of concurrent BatchDeleteAttributes calls can result in Service Unavailable (503) responses. This operation is vulnerable to exceeding the maximum URL size when making a REST request using the HTTP GET method. This operation does not support conditions using Expected.X.Name, Expected.X.Value, or Expected.X.Exists. The following limitations are enforced for this operation: 1 MB request size 25 item limit per BatchDeleteAttributes operation - */ - batchDeleteAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * The BatchPutAttributes operation creates or replaces attributes within one or more items. By using this operation, the client can perform multiple PutAttribute operation with a single call. This helps yield savings in round trips and latencies, enabling Amazon SimpleDB to optimize requests and generally produce better throughput. The client may specify the item name with the Item.X.ItemName parameter. The client may specify new attributes using a combination of the Item.X.Attribute.Y.Name and Item.X.Attribute.Y.Value parameters. The client may specify the first attribute for the first item using the parameters Item.0.Attribute.0.Name and Item.0.Attribute.0.Value, and for the second attribute for the first item by the parameters Item.0.Attribute.1.Name and Item.0.Attribute.1.Value, and so on. Attributes are uniquely identified within an item by their name/value combination. For example, a single item can have the attributes { "first_name", "first_value" } and { "first_name", "second_value" }. However, it cannot have two attribute instances where both the Item.X.Attribute.Y.Name and Item.X.Attribute.Y.Value are the same. Optionally, the requester can supply the Replace parameter for each individual value. Setting this value to true will cause the new attribute values to replace the existing attribute values. For example, if an item I has the attributes { 'a', '1' }, { 'b', '2'} and { 'b', '3' } and the requester does a BatchPutAttributes of {'I', 'b', '4' } with the Replace parameter set to true, the final attributes of the item will be { 'a', '1' } and { 'b', '4' }, replacing the previous values of the 'b' attribute with the new value. You cannot specify an empty string as an item or as an attribute name. The BatchPutAttributes operation succeeds or fails in its entirety. There are no partial puts. This operation is vulnerable to exceeding the maximum URL size when making a REST request using the HTTP GET method. This operation does not support conditions using Expected.X.Name, Expected.X.Value, or Expected.X.Exists. You can execute multiple BatchPutAttributes operations and other operations in parallel. However, large numbers of concurrent BatchPutAttributes calls can result in Service Unavailable (503) responses. The following limitations are enforced for this operation: 256 attribute name-value pairs per item 1 MB request size 1 billion attributes per domain 10 GB of total user data storage per domain 25 item limit per BatchPutAttributes operation - */ - batchPutAttributes(params: SimpleDB.Types.BatchPutAttributesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * The BatchPutAttributes operation creates or replaces attributes within one or more items. By using this operation, the client can perform multiple PutAttribute operation with a single call. This helps yield savings in round trips and latencies, enabling Amazon SimpleDB to optimize requests and generally produce better throughput. The client may specify the item name with the Item.X.ItemName parameter. The client may specify new attributes using a combination of the Item.X.Attribute.Y.Name and Item.X.Attribute.Y.Value parameters. The client may specify the first attribute for the first item using the parameters Item.0.Attribute.0.Name and Item.0.Attribute.0.Value, and for the second attribute for the first item by the parameters Item.0.Attribute.1.Name and Item.0.Attribute.1.Value, and so on. Attributes are uniquely identified within an item by their name/value combination. For example, a single item can have the attributes { "first_name", "first_value" } and { "first_name", "second_value" }. However, it cannot have two attribute instances where both the Item.X.Attribute.Y.Name and Item.X.Attribute.Y.Value are the same. Optionally, the requester can supply the Replace parameter for each individual value. Setting this value to true will cause the new attribute values to replace the existing attribute values. For example, if an item I has the attributes { 'a', '1' }, { 'b', '2'} and { 'b', '3' } and the requester does a BatchPutAttributes of {'I', 'b', '4' } with the Replace parameter set to true, the final attributes of the item will be { 'a', '1' } and { 'b', '4' }, replacing the previous values of the 'b' attribute with the new value. You cannot specify an empty string as an item or as an attribute name. The BatchPutAttributes operation succeeds or fails in its entirety. There are no partial puts. This operation is vulnerable to exceeding the maximum URL size when making a REST request using the HTTP GET method. This operation does not support conditions using Expected.X.Name, Expected.X.Value, or Expected.X.Exists. You can execute multiple BatchPutAttributes operations and other operations in parallel. However, large numbers of concurrent BatchPutAttributes calls can result in Service Unavailable (503) responses. The following limitations are enforced for this operation: 256 attribute name-value pairs per item 1 MB request size 1 billion attributes per domain 10 GB of total user data storage per domain 25 item limit per BatchPutAttributes operation - */ - batchPutAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * The CreateDomain operation creates a new domain. The domain name should be unique among the domains associated with the Access Key ID provided in the request. The CreateDomain operation may take 10 or more seconds to complete. CreateDomain is an idempotent operation; running it multiple times using the same domain name will not result in an error response. The client can create up to 100 domains per account. If the client requires additional domains, go to http://aws.amazon.com/contact-us/simpledb-limit-request/. - */ - createDomain(params: SimpleDB.Types.CreateDomainRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * The CreateDomain operation creates a new domain. The domain name should be unique among the domains associated with the Access Key ID provided in the request. The CreateDomain operation may take 10 or more seconds to complete. CreateDomain is an idempotent operation; running it multiple times using the same domain name will not result in an error response. The client can create up to 100 domains per account. If the client requires additional domains, go to http://aws.amazon.com/contact-us/simpledb-limit-request/. - */ - createDomain(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes one or more attributes associated with an item. If all attributes of the item are deleted, the item is deleted. If DeleteAttributes is called without being passed any attributes or values specified, all the attributes for the item are deleted. DeleteAttributes is an idempotent operation; running it multiple times on the same item or attribute does not result in an error response. Because Amazon SimpleDB makes multiple copies of item data and uses an eventual consistency update model, performing a GetAttributes or Select operation (read) immediately after a DeleteAttributes or PutAttributes operation (write) might not return updated item data. - */ - deleteAttributes(params: SimpleDB.Types.DeleteAttributesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes one or more attributes associated with an item. If all attributes of the item are deleted, the item is deleted. If DeleteAttributes is called without being passed any attributes or values specified, all the attributes for the item are deleted. DeleteAttributes is an idempotent operation; running it multiple times on the same item or attribute does not result in an error response. Because Amazon SimpleDB makes multiple copies of item data and uses an eventual consistency update model, performing a GetAttributes or Select operation (read) immediately after a DeleteAttributes or PutAttributes operation (write) might not return updated item data. - */ - deleteAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * The DeleteDomain operation deletes a domain. Any items (and their attributes) in the domain are deleted as well. The DeleteDomain operation might take 10 or more seconds to complete. Running DeleteDomain on a domain that does not exist or running the function multiple times using the same domain name will not result in an error response. - */ - deleteDomain(params: SimpleDB.Types.DeleteDomainRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * The DeleteDomain operation deletes a domain. Any items (and their attributes) in the domain are deleted as well. The DeleteDomain operation might take 10 or more seconds to complete. Running DeleteDomain on a domain that does not exist or running the function multiple times using the same domain name will not result in an error response. - */ - deleteDomain(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Returns information about the domain, including when the domain was created, the number of items and attributes in the domain, and the size of the attribute names and values. - */ - domainMetadata(params: SimpleDB.Types.DomainMetadataRequest, callback?: (err: AWSError, data: SimpleDB.Types.DomainMetadataResult) => void): Request; - /** - * Returns information about the domain, including when the domain was created, the number of items and attributes in the domain, and the size of the attribute names and values. - */ - domainMetadata(callback?: (err: AWSError, data: SimpleDB.Types.DomainMetadataResult) => void): Request; - /** - * Returns all of the attributes associated with the specified item. Optionally, the attributes returned can be limited to one or more attributes by specifying an attribute name parameter. If the item does not exist on the replica that was accessed for this operation, an empty set is returned. The system does not return an error as it cannot guarantee the item does not exist on other replicas. If GetAttributes is called without being passed any attribute names, all the attributes for the item are returned. - */ - getAttributes(params: SimpleDB.Types.GetAttributesRequest, callback?: (err: AWSError, data: SimpleDB.Types.GetAttributesResult) => void): Request; - /** - * Returns all of the attributes associated with the specified item. Optionally, the attributes returned can be limited to one or more attributes by specifying an attribute name parameter. If the item does not exist on the replica that was accessed for this operation, an empty set is returned. The system does not return an error as it cannot guarantee the item does not exist on other replicas. If GetAttributes is called without being passed any attribute names, all the attributes for the item are returned. - */ - getAttributes(callback?: (err: AWSError, data: SimpleDB.Types.GetAttributesResult) => void): Request; - /** - * The ListDomains operation lists all domains associated with the Access Key ID. It returns domain names up to the limit set by MaxNumberOfDomains. A NextToken is returned if there are more than MaxNumberOfDomains domains. Calling ListDomains successive times with the NextToken provided by the operation returns up to MaxNumberOfDomains more domain names with each successive operation call. - */ - listDomains(params: SimpleDB.Types.ListDomainsRequest, callback?: (err: AWSError, data: SimpleDB.Types.ListDomainsResult) => void): Request; - /** - * The ListDomains operation lists all domains associated with the Access Key ID. It returns domain names up to the limit set by MaxNumberOfDomains. A NextToken is returned if there are more than MaxNumberOfDomains domains. Calling ListDomains successive times with the NextToken provided by the operation returns up to MaxNumberOfDomains more domain names with each successive operation call. - */ - listDomains(callback?: (err: AWSError, data: SimpleDB.Types.ListDomainsResult) => void): Request; - /** - * The PutAttributes operation creates or replaces attributes in an item. The client may specify new attributes using a combination of the Attribute.X.Name and Attribute.X.Value parameters. The client specifies the first attribute by the parameters Attribute.0.Name and Attribute.0.Value, the second attribute by the parameters Attribute.1.Name and Attribute.1.Value, and so on. Attributes are uniquely identified in an item by their name/value combination. For example, a single item can have the attributes { "first_name", "first_value" } and { "first_name", second_value" }. However, it cannot have two attribute instances where both the Attribute.X.Name and Attribute.X.Value are the same. Optionally, the requestor can supply the Replace parameter for each individual attribute. Setting this value to true causes the new attribute value to replace the existing attribute value(s). For example, if an item has the attributes { 'a', '1' }, { 'b', '2'} and { 'b', '3' } and the requestor calls PutAttributes using the attributes { 'b', '4' } with the Replace parameter set to true, the final attributes of the item are changed to { 'a', '1' } and { 'b', '4' }, which replaces the previous values of the 'b' attribute with the new value. Using PutAttributes to replace attribute values that do not exist will not result in an error response. You cannot specify an empty string as an attribute name. Because Amazon SimpleDB makes multiple copies of client data and uses an eventual consistency update model, an immediate GetAttributes or Select operation (read) immediately after a PutAttributes or DeleteAttributes operation (write) might not return the updated data. The following limitations are enforced for this operation: 256 total attribute name-value pairs per item One billion attributes per domain 10 GB of total user data storage per domain - */ - putAttributes(params: SimpleDB.Types.PutAttributesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * The PutAttributes operation creates or replaces attributes in an item. The client may specify new attributes using a combination of the Attribute.X.Name and Attribute.X.Value parameters. The client specifies the first attribute by the parameters Attribute.0.Name and Attribute.0.Value, the second attribute by the parameters Attribute.1.Name and Attribute.1.Value, and so on. Attributes are uniquely identified in an item by their name/value combination. For example, a single item can have the attributes { "first_name", "first_value" } and { "first_name", second_value" }. However, it cannot have two attribute instances where both the Attribute.X.Name and Attribute.X.Value are the same. Optionally, the requestor can supply the Replace parameter for each individual attribute. Setting this value to true causes the new attribute value to replace the existing attribute value(s). For example, if an item has the attributes { 'a', '1' }, { 'b', '2'} and { 'b', '3' } and the requestor calls PutAttributes using the attributes { 'b', '4' } with the Replace parameter set to true, the final attributes of the item are changed to { 'a', '1' } and { 'b', '4' }, which replaces the previous values of the 'b' attribute with the new value. Using PutAttributes to replace attribute values that do not exist will not result in an error response. You cannot specify an empty string as an attribute name. Because Amazon SimpleDB makes multiple copies of client data and uses an eventual consistency update model, an immediate GetAttributes or Select operation (read) immediately after a PutAttributes or DeleteAttributes operation (write) might not return the updated data. The following limitations are enforced for this operation: 256 total attribute name-value pairs per item One billion attributes per domain 10 GB of total user data storage per domain - */ - putAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * The Select operation returns a set of attributes for ItemNames that match the select expression. Select is similar to the standard SQL SELECT statement. The total size of the response cannot exceed 1 MB in total size. Amazon SimpleDB automatically adjusts the number of items returned per page to enforce this limit. For example, if the client asks to retrieve 2500 items, but each individual item is 10 kB in size, the system returns 100 items and an appropriate NextToken so the client can access the next page of results. For information on how to construct select expressions, see Using Select to Create Amazon SimpleDB Queries in the Developer Guide. - */ - select(params: SimpleDB.Types.SelectRequest, callback?: (err: AWSError, data: SimpleDB.Types.SelectResult) => void): Request; - /** - * The Select operation returns a set of attributes for ItemNames that match the select expression. Select is similar to the standard SQL SELECT statement. The total size of the response cannot exceed 1 MB in total size. Amazon SimpleDB automatically adjusts the number of items returned per page to enforce this limit. For example, if the client asks to retrieve 2500 items, but each individual item is 10 kB in size, the system returns 100 items and an appropriate NextToken so the client can access the next page of results. For information on how to construct select expressions, see Using Select to Create Amazon SimpleDB Queries in the Developer Guide. - */ - select(callback?: (err: AWSError, data: SimpleDB.Types.SelectResult) => void): Request; -} -declare namespace SimpleDB { - export interface Attribute { - /** - * The name of the attribute. - */ - Name: String; - /** - * - */ - AlternateNameEncoding?: String; - /** - * The value of the attribute. - */ - Value: String; - /** - * - */ - AlternateValueEncoding?: String; - } - export type AttributeList = Attribute[]; - export type AttributeNameList = String[]; - export interface BatchDeleteAttributesRequest { - /** - * The name of the domain in which the attributes are being deleted. - */ - DomainName: String; - /** - * A list of items on which to perform the operation. - */ - Items: DeletableItemList; - } - export interface BatchPutAttributesRequest { - /** - * The name of the domain in which the attributes are being stored. - */ - DomainName: String; - /** - * A list of items on which to perform the operation. - */ - Items: ReplaceableItemList; - } - export type Boolean = boolean; - export interface CreateDomainRequest { - /** - * The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'. - */ - DomainName: String; - } - export interface DeletableAttribute { - /** - * The name of the attribute. - */ - Name: String; - /** - * The value of the attribute. - */ - Value?: String; - } - export type DeletableAttributeList = DeletableAttribute[]; - export interface DeletableItem { - Name: String; - Attributes?: DeletableAttributeList; - } - export type DeletableItemList = DeletableItem[]; - export interface DeleteAttributesRequest { - /** - * The name of the domain in which to perform the operation. - */ - DomainName: String; - /** - * The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs. - */ - ItemName: String; - /** - * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items. - */ - Attributes?: DeletableAttributeList; - /** - * The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted. - */ - Expected?: UpdateCondition; - } - export interface DeleteDomainRequest { - /** - * The name of the domain to delete. - */ - DomainName: String; - } - export interface DomainMetadataRequest { - /** - * The name of the domain for which to display the metadata of. - */ - DomainName: String; - } - export interface DomainMetadataResult { - /** - * The number of all items in the domain. - */ - ItemCount?: Integer; - /** - * The total size of all item names in the domain, in bytes. - */ - ItemNamesSizeBytes?: Long; - /** - * The number of unique attribute names in the domain. - */ - AttributeNameCount?: Integer; - /** - * The total size of all unique attribute names in the domain, in bytes. - */ - AttributeNamesSizeBytes?: Long; - /** - * The number of all attribute name/value pairs in the domain. - */ - AttributeValueCount?: Integer; - /** - * The total size of all attribute values in the domain, in bytes. - */ - AttributeValuesSizeBytes?: Long; - /** - * The data and time when metadata was calculated, in Epoch (UNIX) seconds. - */ - Timestamp?: Integer; - } - export type DomainNameList = String[]; - export type Float = number; - export interface GetAttributesRequest { - /** - * The name of the domain in which to perform the operation. - */ - DomainName: String; - /** - * The name of the item. - */ - ItemName: String; - /** - * The names of the attributes. - */ - AttributeNames?: AttributeNameList; - /** - * Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read. - */ - ConsistentRead?: Boolean; - } - export interface GetAttributesResult { - /** - * The list of attributes returned by the operation. - */ - Attributes?: AttributeList; - } - export type Integer = number; - export interface Item { - /** - * The name of the item. - */ - Name: String; - /** - * - */ - AlternateNameEncoding?: String; - /** - * A list of attributes. - */ - Attributes: AttributeList; - } - export type ItemList = Item[]; - export interface ListDomainsRequest { - /** - * The maximum number of domain names you want returned. The range is 1 to 100. The default setting is 100. - */ - MaxNumberOfDomains?: Integer; - /** - * A string informing Amazon SimpleDB where to start the next list of domain names. - */ - NextToken?: String; - } - export interface ListDomainsResult { - /** - * A list of domain names that match the expression. - */ - DomainNames?: DomainNameList; - /** - * An opaque token indicating that there are more domains than the specified MaxNumberOfDomains still available. - */ - NextToken?: String; - } - export type Long = number; - export interface PutAttributesRequest { - /** - * The name of the domain in which to perform the operation. - */ - DomainName: String; - /** - * The name of the item. - */ - ItemName: String; - /** - * The list of attributes. - */ - Attributes: ReplaceableAttributeList; - /** - * The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated. - */ - Expected?: UpdateCondition; - } - export interface ReplaceableAttribute { - /** - * The name of the replaceable attribute. - */ - Name: String; - /** - * The value of the replaceable attribute. - */ - Value: String; - /** - * A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting is false. - */ - Replace?: Boolean; - } - export type ReplaceableAttributeList = ReplaceableAttribute[]; - export interface ReplaceableItem { - /** - * The name of the replaceable item. - */ - Name: String; - /** - * The list of attributes for a replaceable item. - */ - Attributes: ReplaceableAttributeList; - } - export type ReplaceableItemList = ReplaceableItem[]; - export interface SelectRequest { - /** - * The expression used to query the domain. - */ - SelectExpression: String; - /** - * A string informing Amazon SimpleDB where to start the next list of ItemNames. - */ - NextToken?: String; - /** - * Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read. - */ - ConsistentRead?: Boolean; - } - export interface SelectResult { - /** - * A list of items that match the select expression. - */ - Items?: ItemList; - /** - * An opaque token indicating that more items than MaxNumberOfItems were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds. - */ - NextToken?: String; - } - export type String = string; - export interface UpdateCondition { - /** - * The name of the attribute involved in the condition. - */ - Name?: String; - /** - * The value of an attribute. This value can only be specified when the Exists parameter is equal to true. - */ - Value?: String; - /** - * A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied. - */ - Exists?: Boolean; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2009-04-15"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the SimpleDB client. - */ - export import Types = SimpleDB; -} -export = SimpleDB; diff --git a/src/node_modules/aws-sdk/clients/simpledb.js b/src/node_modules/aws-sdk/clients/simpledb.js deleted file mode 100644 index 04393b8..0000000 --- a/src/node_modules/aws-sdk/clients/simpledb.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['simpledb'] = {}; -AWS.SimpleDB = Service.defineService('simpledb', ['2009-04-15']); -Object.defineProperty(apiLoader.services['simpledb'], '2009-04-15', { - get: function get() { - var model = require('../apis/sdb-2009-04-15.min.json'); - model.paginators = require('../apis/sdb-2009-04-15.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SimpleDB; diff --git a/src/node_modules/aws-sdk/clients/sms.d.ts b/src/node_modules/aws-sdk/clients/sms.d.ts deleted file mode 100644 index ac20f18..0000000 --- a/src/node_modules/aws-sdk/clients/sms.d.ts +++ /dev/null @@ -1,296 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class SMS extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: SMS.Types.ClientConfiguration) - config: Config & SMS.Types.ClientConfiguration; - /** - * The CreateReplicationJob API is used to create a ReplicationJob to replicate a server on AWS. Call this API to first create a ReplicationJob, which will then schedule periodic ReplicationRuns to replicate your server to AWS. Each ReplicationRun will result in the creation of an AWS AMI. - */ - createReplicationJob(params: SMS.Types.CreateReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.CreateReplicationJobResponse) => void): Request; - /** - * The CreateReplicationJob API is used to create a ReplicationJob to replicate a server on AWS. Call this API to first create a ReplicationJob, which will then schedule periodic ReplicationRuns to replicate your server to AWS. Each ReplicationRun will result in the creation of an AWS AMI. - */ - createReplicationJob(callback?: (err: AWSError, data: SMS.Types.CreateReplicationJobResponse) => void): Request; - /** - * The DeleteReplicationJob API is used to delete a ReplicationJob, resulting in no further ReplicationRuns. This will delete the contents of the S3 bucket used to store SMS artifacts, but will not delete any AMIs created by the SMS service. - */ - deleteReplicationJob(params: SMS.Types.DeleteReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.DeleteReplicationJobResponse) => void): Request; - /** - * The DeleteReplicationJob API is used to delete a ReplicationJob, resulting in no further ReplicationRuns. This will delete the contents of the S3 bucket used to store SMS artifacts, but will not delete any AMIs created by the SMS service. - */ - deleteReplicationJob(callback?: (err: AWSError, data: SMS.Types.DeleteReplicationJobResponse) => void): Request; - /** - * The DeleteServerCatalog API clears all servers from your server catalog. This means that these servers will no longer be accessible to the Server Migration Service. - */ - deleteServerCatalog(params: SMS.Types.DeleteServerCatalogRequest, callback?: (err: AWSError, data: SMS.Types.DeleteServerCatalogResponse) => void): Request; - /** - * The DeleteServerCatalog API clears all servers from your server catalog. This means that these servers will no longer be accessible to the Server Migration Service. - */ - deleteServerCatalog(callback?: (err: AWSError, data: SMS.Types.DeleteServerCatalogResponse) => void): Request; - /** - * The DisassociateConnector API will disassociate a connector from the Server Migration Service, rendering it unavailable to support replication jobs. - */ - disassociateConnector(params: SMS.Types.DisassociateConnectorRequest, callback?: (err: AWSError, data: SMS.Types.DisassociateConnectorResponse) => void): Request; - /** - * The DisassociateConnector API will disassociate a connector from the Server Migration Service, rendering it unavailable to support replication jobs. - */ - disassociateConnector(callback?: (err: AWSError, data: SMS.Types.DisassociateConnectorResponse) => void): Request; - /** - * The GetConnectors API returns a list of connectors that are registered with the Server Migration Service. - */ - getConnectors(params: SMS.Types.GetConnectorsRequest, callback?: (err: AWSError, data: SMS.Types.GetConnectorsResponse) => void): Request; - /** - * The GetConnectors API returns a list of connectors that are registered with the Server Migration Service. - */ - getConnectors(callback?: (err: AWSError, data: SMS.Types.GetConnectorsResponse) => void): Request; - /** - * The GetReplicationJobs API will return all of your ReplicationJobs and their details. This API returns a paginated list, that may be consecutively called with nextToken to retrieve all ReplicationJobs. - */ - getReplicationJobs(params: SMS.Types.GetReplicationJobsRequest, callback?: (err: AWSError, data: SMS.Types.GetReplicationJobsResponse) => void): Request; - /** - * The GetReplicationJobs API will return all of your ReplicationJobs and their details. This API returns a paginated list, that may be consecutively called with nextToken to retrieve all ReplicationJobs. - */ - getReplicationJobs(callback?: (err: AWSError, data: SMS.Types.GetReplicationJobsResponse) => void): Request; - /** - * The GetReplicationRuns API will return all ReplicationRuns for a given ReplicationJob. This API returns a paginated list, that may be consecutively called with nextToken to retrieve all ReplicationRuns for a ReplicationJob. - */ - getReplicationRuns(params: SMS.Types.GetReplicationRunsRequest, callback?: (err: AWSError, data: SMS.Types.GetReplicationRunsResponse) => void): Request; - /** - * The GetReplicationRuns API will return all ReplicationRuns for a given ReplicationJob. This API returns a paginated list, that may be consecutively called with nextToken to retrieve all ReplicationRuns for a ReplicationJob. - */ - getReplicationRuns(callback?: (err: AWSError, data: SMS.Types.GetReplicationRunsResponse) => void): Request; - /** - * The GetServers API returns a list of all servers in your server catalog. For this call to succeed, you must previously have called ImportServerCatalog. - */ - getServers(params: SMS.Types.GetServersRequest, callback?: (err: AWSError, data: SMS.Types.GetServersResponse) => void): Request; - /** - * The GetServers API returns a list of all servers in your server catalog. For this call to succeed, you must previously have called ImportServerCatalog. - */ - getServers(callback?: (err: AWSError, data: SMS.Types.GetServersResponse) => void): Request; - /** - * The ImportServerCatalog API is used to gather the complete list of on-premises servers on your premises. This API call requires connectors to be installed and monitoring all servers you would like imported. This API call returns immediately, but may take some time to retrieve all of the servers. - */ - importServerCatalog(params: SMS.Types.ImportServerCatalogRequest, callback?: (err: AWSError, data: SMS.Types.ImportServerCatalogResponse) => void): Request; - /** - * The ImportServerCatalog API is used to gather the complete list of on-premises servers on your premises. This API call requires connectors to be installed and monitoring all servers you would like imported. This API call returns immediately, but may take some time to retrieve all of the servers. - */ - importServerCatalog(callback?: (err: AWSError, data: SMS.Types.ImportServerCatalogResponse) => void): Request; - /** - * The StartOnDemandReplicationRun API is used to start a ReplicationRun on demand (in addition to those that are scheduled based on your frequency). This ReplicationRun will start immediately. StartOnDemandReplicationRun is subject to limits on how many on demand ReplicationRuns you may call per 24-hour period. - */ - startOnDemandReplicationRun(params: SMS.Types.StartOnDemandReplicationRunRequest, callback?: (err: AWSError, data: SMS.Types.StartOnDemandReplicationRunResponse) => void): Request; - /** - * The StartOnDemandReplicationRun API is used to start a ReplicationRun on demand (in addition to those that are scheduled based on your frequency). This ReplicationRun will start immediately. StartOnDemandReplicationRun is subject to limits on how many on demand ReplicationRuns you may call per 24-hour period. - */ - startOnDemandReplicationRun(callback?: (err: AWSError, data: SMS.Types.StartOnDemandReplicationRunResponse) => void): Request; - /** - * The UpdateReplicationJob API is used to change the settings of your existing ReplicationJob created using CreateReplicationJob. Calling this API will affect the next scheduled ReplicationRun. - */ - updateReplicationJob(params: SMS.Types.UpdateReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.UpdateReplicationJobResponse) => void): Request; - /** - * The UpdateReplicationJob API is used to change the settings of your existing ReplicationJob created using CreateReplicationJob. Calling this API will affect the next scheduled ReplicationRun. - */ - updateReplicationJob(callback?: (err: AWSError, data: SMS.Types.UpdateReplicationJobResponse) => void): Request; -} -declare namespace SMS { - export type AmiId = string; - export interface Connector { - connectorId?: ConnectorId; - version?: ConnectorVersion; - status?: ConnectorStatus; - capabilityList?: ConnectorCapabilityList; - vmManagerName?: VmManagerName; - vmManagerType?: VmManagerType; - vmManagerId?: VmManagerId; - ipAddress?: IpAddress; - macAddress?: MacAddress; - associatedOn?: Timestamp; - } - export type ConnectorCapability = "VSPHERE"|string; - export type ConnectorCapabilityList = ConnectorCapability[]; - export type ConnectorId = string; - export type ConnectorList = Connector[]; - export type ConnectorStatus = "HEALTHY"|"UNHEALTHY"|string; - export type ConnectorVersion = string; - export interface CreateReplicationJobRequest { - serverId: ServerId; - seedReplicationTime: Timestamp; - frequency: Frequency; - licenseType?: LicenseType; - roleName?: RoleName; - description?: Description; - } - export interface CreateReplicationJobResponse { - replicationJobId?: ReplicationJobId; - } - export interface DeleteReplicationJobRequest { - replicationJobId: ReplicationJobId; - } - export interface DeleteReplicationJobResponse { - } - export interface DeleteServerCatalogRequest { - } - export interface DeleteServerCatalogResponse { - } - export type Description = string; - export interface DisassociateConnectorRequest { - connectorId: ConnectorId; - } - export interface DisassociateConnectorResponse { - } - export type ErrorMessage = string; - export type Frequency = number; - export interface GetConnectorsRequest { - nextToken?: NextToken; - maxResults?: MaxResults; - } - export interface GetConnectorsResponse { - connectorList?: ConnectorList; - nextToken?: NextToken; - } - export interface GetReplicationJobsRequest { - replicationJobId?: ReplicationJobId; - nextToken?: NextToken; - maxResults?: MaxResults; - } - export interface GetReplicationJobsResponse { - replicationJobList?: ReplicationJobList; - nextToken?: NextToken; - } - export interface GetReplicationRunsRequest { - replicationJobId: ReplicationJobId; - nextToken?: NextToken; - maxResults?: MaxResults; - } - export interface GetReplicationRunsResponse { - replicationJob?: ReplicationJob; - replicationRunList?: ReplicationRunList; - nextToken?: NextToken; - } - export interface GetServersRequest { - nextToken?: NextToken; - maxResults?: MaxResults; - } - export interface GetServersResponse { - lastModifiedOn?: Timestamp; - serverCatalogStatus?: ServerCatalogStatus; - serverList?: ServerList; - nextToken?: NextToken; - } - export interface ImportServerCatalogRequest { - } - export interface ImportServerCatalogResponse { - } - export type IpAddress = string; - export type LicenseType = "AWS"|"BYOL"|string; - export type MacAddress = string; - export type MaxResults = number; - export type NextToken = string; - export interface ReplicationJob { - replicationJobId?: ReplicationJobId; - serverId?: ServerId; - serverType?: ServerType; - vmServer?: VmServer; - seedReplicationTime?: Timestamp; - frequency?: Frequency; - nextReplicationRunStartTime?: Timestamp; - licenseType?: LicenseType; - roleName?: RoleName; - latestAmiId?: AmiId; - state?: ReplicationJobState; - statusMessage?: ReplicationJobStatusMessage; - description?: Description; - replicationRunList?: ReplicationRunList; - } - export type ReplicationJobId = string; - export type ReplicationJobList = ReplicationJob[]; - export type ReplicationJobState = "PENDING"|"ACTIVE"|"FAILED"|"DELETING"|"DELETED"|string; - export type ReplicationJobStatusMessage = string; - export type ReplicationJobTerminated = boolean; - export interface ReplicationRun { - replicationRunId?: ReplicationRunId; - state?: ReplicationRunState; - type?: ReplicationRunType; - statusMessage?: ReplicationRunStatusMessage; - amiId?: AmiId; - scheduledStartTime?: Timestamp; - completedTime?: Timestamp; - description?: Description; - } - export type ReplicationRunId = string; - export type ReplicationRunList = ReplicationRun[]; - export type ReplicationRunState = "PENDING"|"MISSED"|"ACTIVE"|"FAILED"|"COMPLETED"|"DELETING"|"DELETED"|string; - export type ReplicationRunStatusMessage = string; - export type ReplicationRunType = "ON_DEMAND"|"AUTOMATIC"|string; - export type RoleName = string; - export interface Server { - serverId?: ServerId; - serverType?: ServerType; - vmServer?: VmServer; - replicationJobId?: ReplicationJobId; - replicationJobTerminated?: ReplicationJobTerminated; - } - export type ServerCatalogStatus = "NOT_IMPORTED"|"IMPORTING"|"AVAILABLE"|"DELETED"|"EXPIRED"|string; - export type ServerId = string; - export type ServerList = Server[]; - export type ServerType = "VIRTUAL_MACHINE"|string; - export interface StartOnDemandReplicationRunRequest { - replicationJobId: ReplicationJobId; - description?: Description; - } - export interface StartOnDemandReplicationRunResponse { - replicationRunId?: ReplicationRunId; - } - export type Timestamp = Date; - export interface UpdateReplicationJobRequest { - replicationJobId: ReplicationJobId; - frequency?: Frequency; - nextReplicationRunStartTime?: Timestamp; - licenseType?: LicenseType; - roleName?: RoleName; - description?: Description; - } - export interface UpdateReplicationJobResponse { - } - export type VmId = string; - export type VmManagerId = string; - export type VmManagerName = string; - export type VmManagerType = "VSPHERE"|string; - export type VmName = string; - export type VmPath = string; - export interface VmServer { - vmServerAddress?: VmServerAddress; - vmName?: VmName; - vmManagerName?: VmManagerName; - vmManagerType?: VmManagerType; - vmPath?: VmPath; - } - export interface VmServerAddress { - vmManagerId?: VmManagerId; - vmId?: VmId; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-10-24"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the SMS client. - */ - export import Types = SMS; -} -export = SMS; diff --git a/src/node_modules/aws-sdk/clients/sms.js b/src/node_modules/aws-sdk/clients/sms.js deleted file mode 100644 index debe4de..0000000 --- a/src/node_modules/aws-sdk/clients/sms.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['sms'] = {}; -AWS.SMS = Service.defineService('sms', ['2016-10-24']); -Object.defineProperty(apiLoader.services['sms'], '2016-10-24', { - get: function get() { - var model = require('../apis/sms-2016-10-24.min.json'); - model.paginators = require('../apis/sms-2016-10-24.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SMS; diff --git a/src/node_modules/aws-sdk/clients/snowball.d.ts b/src/node_modules/aws-sdk/clients/snowball.d.ts deleted file mode 100644 index 1dc8484..0000000 --- a/src/node_modules/aws-sdk/clients/snowball.d.ts +++ /dev/null @@ -1,909 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Snowball extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Snowball.Types.ClientConfiguration) - config: Config & Snowball.Types.ClientConfiguration; - /** - * Cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status. You'll have at least an hour after creating a cluster job to cancel it. - */ - cancelCluster(params: Snowball.Types.CancelClusterRequest, callback?: (err: AWSError, data: Snowball.Types.CancelClusterResult) => void): Request; - /** - * Cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status. You'll have at least an hour after creating a cluster job to cancel it. - */ - cancelCluster(callback?: (err: AWSError, data: Snowball.Types.CancelClusterResult) => void): Request; - /** - * Cancels the specified job. You can only cancel a job before its JobState value changes to PreparingAppliance. Requesting the ListJobs or DescribeJob action will return a job's JobState as part of the response element data returned. - */ - cancelJob(params: Snowball.Types.CancelJobRequest, callback?: (err: AWSError, data: Snowball.Types.CancelJobResult) => void): Request; - /** - * Cancels the specified job. You can only cancel a job before its JobState value changes to PreparingAppliance. Requesting the ListJobs or DescribeJob action will return a job's JobState as part of the response element data returned. - */ - cancelJob(callback?: (err: AWSError, data: Snowball.Types.CancelJobResult) => void): Request; - /** - * Creates an address for a Snowball to be shipped to. In most regions, addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown. - */ - createAddress(params: Snowball.Types.CreateAddressRequest, callback?: (err: AWSError, data: Snowball.Types.CreateAddressResult) => void): Request; - /** - * Creates an address for a Snowball to be shipped to. In most regions, addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown. - */ - createAddress(callback?: (err: AWSError, data: Snowball.Types.CreateAddressResult) => void): Request; - /** - * Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created. - */ - createCluster(params: Snowball.Types.CreateClusterRequest, callback?: (err: AWSError, data: Snowball.Types.CreateClusterResult) => void): Request; - /** - * Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created. - */ - createCluster(callback?: (err: AWSError, data: Snowball.Types.CreateClusterResult) => void): Request; - /** - * Creates a job to import or export data between Amazon S3 and your on-premises data center. Your AWS account must have the right trust policies and permissions in place to create a job for Snowball. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster. - */ - createJob(params: Snowball.Types.CreateJobRequest, callback?: (err: AWSError, data: Snowball.Types.CreateJobResult) => void): Request; - /** - * Creates a job to import or export data between Amazon S3 and your on-premises data center. Your AWS account must have the right trust policies and permissions in place to create a job for Snowball. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster. - */ - createJob(callback?: (err: AWSError, data: Snowball.Types.CreateJobResult) => void): Request; - /** - * Takes an AddressId and returns specific details about that address in the form of an Address object. - */ - describeAddress(params: Snowball.Types.DescribeAddressRequest, callback?: (err: AWSError, data: Snowball.Types.DescribeAddressResult) => void): Request; - /** - * Takes an AddressId and returns specific details about that address in the form of an Address object. - */ - describeAddress(callback?: (err: AWSError, data: Snowball.Types.DescribeAddressResult) => void): Request; - /** - * Returns a specified number of ADDRESS objects. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions. - */ - describeAddresses(params: Snowball.Types.DescribeAddressesRequest, callback?: (err: AWSError, data: Snowball.Types.DescribeAddressesResult) => void): Request; - /** - * Returns a specified number of ADDRESS objects. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions. - */ - describeAddresses(callback?: (err: AWSError, data: Snowball.Types.DescribeAddressesResult) => void): Request; - /** - * Returns information about a specific cluster including shipping information, cluster status, and other important metadata. - */ - describeCluster(params: Snowball.Types.DescribeClusterRequest, callback?: (err: AWSError, data: Snowball.Types.DescribeClusterResult) => void): Request; - /** - * Returns information about a specific cluster including shipping information, cluster status, and other important metadata. - */ - describeCluster(callback?: (err: AWSError, data: Snowball.Types.DescribeClusterResult) => void): Request; - /** - * Returns information about a specific job including shipping information, job status, and other important metadata. - */ - describeJob(params: Snowball.Types.DescribeJobRequest, callback?: (err: AWSError, data: Snowball.Types.DescribeJobResult) => void): Request; - /** - * Returns information about a specific job including shipping information, job status, and other important metadata. - */ - describeJob(callback?: (err: AWSError, data: Snowball.Types.DescribeJobResult) => void): Request; - /** - * Returns a link to an Amazon S3 presigned URL for the manifest file associated with the specified JobId value. You can access the manifest file for up to 60 minutes after this request has been made. To access the manifest file after 60 minutes have passed, you'll have to make another call to the GetJobManifest action. The manifest is an encrypted file that you can download after your job enters the WithCustomer status. The manifest is decrypted by using the UnlockCode code value, when you pass both values to the Snowball through the Snowball client when the client is started for the first time. As a best practice, we recommend that you don't save a copy of an UnlockCode value in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job. The credentials of a given job, including its manifest file and unlock code, expire 90 days after the job is created. - */ - getJobManifest(params: Snowball.Types.GetJobManifestRequest, callback?: (err: AWSError, data: Snowball.Types.GetJobManifestResult) => void): Request; - /** - * Returns a link to an Amazon S3 presigned URL for the manifest file associated with the specified JobId value. You can access the manifest file for up to 60 minutes after this request has been made. To access the manifest file after 60 minutes have passed, you'll have to make another call to the GetJobManifest action. The manifest is an encrypted file that you can download after your job enters the WithCustomer status. The manifest is decrypted by using the UnlockCode code value, when you pass both values to the Snowball through the Snowball client when the client is started for the first time. As a best practice, we recommend that you don't save a copy of an UnlockCode value in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job. The credentials of a given job, including its manifest file and unlock code, expire 90 days after the job is created. - */ - getJobManifest(callback?: (err: AWSError, data: Snowball.Types.GetJobManifestResult) => void): Request; - /** - * Returns the UnlockCode code value for the specified job. A particular UnlockCode value can be accessed for up to 90 days after the associated job has been created. The UnlockCode value is a 29-character code with 25 alphanumeric characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed along with the manifest to the Snowball through the Snowball client when the client is started for the first time. As a best practice, we recommend that you don't save a copy of the UnlockCode in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job. - */ - getJobUnlockCode(params: Snowball.Types.GetJobUnlockCodeRequest, callback?: (err: AWSError, data: Snowball.Types.GetJobUnlockCodeResult) => void): Request; - /** - * Returns the UnlockCode code value for the specified job. A particular UnlockCode value can be accessed for up to 90 days after the associated job has been created. The UnlockCode value is a 29-character code with 25 alphanumeric characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed along with the manifest to the Snowball through the Snowball client when the client is started for the first time. As a best practice, we recommend that you don't save a copy of the UnlockCode in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job. - */ - getJobUnlockCode(callback?: (err: AWSError, data: Snowball.Types.GetJobUnlockCodeResult) => void): Request; - /** - * Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use. The default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support. - */ - getSnowballUsage(params: Snowball.Types.GetSnowballUsageRequest, callback?: (err: AWSError, data: Snowball.Types.GetSnowballUsageResult) => void): Request; - /** - * Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use. The default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support. - */ - getSnowballUsage(callback?: (err: AWSError, data: Snowball.Types.GetSnowballUsageResult) => void): Request; - /** - * Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information. - */ - listClusterJobs(params: Snowball.Types.ListClusterJobsRequest, callback?: (err: AWSError, data: Snowball.Types.ListClusterJobsResult) => void): Request; - /** - * Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information. - */ - listClusterJobs(callback?: (err: AWSError, data: Snowball.Types.ListClusterJobsResult) => void): Request; - /** - * Returns an array of ClusterListEntry objects of the specified length. Each ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status information. - */ - listClusters(params: Snowball.Types.ListClustersRequest, callback?: (err: AWSError, data: Snowball.Types.ListClustersResult) => void): Request; - /** - * Returns an array of ClusterListEntry objects of the specified length. Each ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status information. - */ - listClusters(callback?: (err: AWSError, data: Snowball.Types.ListClustersResult) => void): Request; - /** - * Returns an array of JobListEntry objects of the specified length. Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. Calling this API action in one of the US regions will return jobs from the list of all jobs associated with this account in all US regions. - */ - listJobs(params: Snowball.Types.ListJobsRequest, callback?: (err: AWSError, data: Snowball.Types.ListJobsResult) => void): Request; - /** - * Returns an array of JobListEntry objects of the specified length. Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. Calling this API action in one of the US regions will return jobs from the list of all jobs associated with this account in all US regions. - */ - listJobs(callback?: (err: AWSError, data: Snowball.Types.ListJobsResult) => void): Request; - /** - * While a cluster's ClusterState value is in the AwaitingQuorum state, you can update some of the information associated with a cluster. Once the cluster changes to a different job state, usually 60 minutes after the cluster being created, this action is no longer available. - */ - updateCluster(params: Snowball.Types.UpdateClusterRequest, callback?: (err: AWSError, data: Snowball.Types.UpdateClusterResult) => void): Request; - /** - * While a cluster's ClusterState value is in the AwaitingQuorum state, you can update some of the information associated with a cluster. Once the cluster changes to a different job state, usually 60 minutes after the cluster being created, this action is no longer available. - */ - updateCluster(callback?: (err: AWSError, data: Snowball.Types.UpdateClusterResult) => void): Request; - /** - * While a job's JobState value is New, you can update some of the information associated with a job. Once the job changes to a different job state, usually within 60 minutes of the job being created, this action is no longer available. - */ - updateJob(params: Snowball.Types.UpdateJobRequest, callback?: (err: AWSError, data: Snowball.Types.UpdateJobResult) => void): Request; - /** - * While a job's JobState value is New, you can update some of the information associated with a job. Once the job changes to a different job state, usually within 60 minutes of the job being created, this action is no longer available. - */ - updateJob(callback?: (err: AWSError, data: Snowball.Types.UpdateJobResult) => void): Request; -} -declare namespace Snowball { - export interface Address { - /** - * The unique ID for an address. - */ - AddressId?: AddressId; - /** - * The name of a person to receive a Snowball at an address. - */ - Name?: String; - /** - * The name of the company to receive a Snowball at an address. - */ - Company?: String; - /** - * The first line in a street address that a Snowball is to be delivered to. - */ - Street1?: String; - /** - * The second line in a street address that a Snowball is to be delivered to. - */ - Street2?: String; - /** - * The third line in a street address that a Snowball is to be delivered to. - */ - Street3?: String; - /** - * The city in an address that a Snowball is to be delivered to. - */ - City?: String; - /** - * The state or province in an address that a Snowball is to be delivered to. - */ - StateOrProvince?: String; - /** - * This field is no longer used and the value is ignored. - */ - PrefectureOrDistrict?: String; - /** - * This field is no longer used and the value is ignored. - */ - Landmark?: String; - /** - * The country in an address that a Snowball is to be delivered to. - */ - Country?: String; - /** - * The postal code in an address that a Snowball is to be delivered to. - */ - PostalCode?: String; - /** - * The phone number associated with an address that a Snowball is to be delivered to. - */ - PhoneNumber?: String; - /** - * If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions. - */ - IsRestricted?: Boolean; - } - export type AddressId = string; - export type AddressList = Address[]; - export type Boolean = boolean; - export interface CancelClusterRequest { - /** - * The 39-character ID for the cluster that you want to cancel, for example CID123e4567-e89b-12d3-a456-426655440000. - */ - ClusterId: ClusterId; - } - export interface CancelClusterResult { - } - export interface CancelJobRequest { - /** - * The 39-character job ID for the job that you want to cancel, for example JID123e4567-e89b-12d3-a456-426655440000. - */ - JobId: JobId; - } - export interface CancelJobResult { - } - export type ClusterId = string; - export interface ClusterListEntry { - /** - * The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000. - */ - ClusterId?: String; - /** - * The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState. - */ - ClusterState?: ClusterState; - /** - * The creation date for this cluster. - */ - CreationDate?: Timestamp; - /** - * Defines an optional description of the cluster, for example Environmental Data Cluster-01. - */ - Description?: String; - } - export type ClusterListEntryList = ClusterListEntry[]; - export interface ClusterMetadata { - /** - * The automatically generated ID for a cluster. - */ - ClusterId?: String; - /** - * The optional description of the cluster. - */ - Description?: String; - /** - * The KmsKeyARN Amazon Resource Name (ARN) associated with this cluster. This ARN was created using the CreateKey API action in AWS Key Management Service (AWS KMS). - */ - KmsKeyARN?: KmsKeyARN; - /** - * The role ARN associated with this cluster. This ARN was created using the CreateRole API action in AWS Identity and Access Management (IAM). - */ - RoleARN?: RoleARN; - /** - * The current status of the cluster. - */ - ClusterState?: ClusterState; - /** - * The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE. - */ - JobType?: JobType; - /** - * The type of AWS Snowball appliance to use for this cluster. Currently, the only supported appliance type for cluster jobs is EDGE. - */ - SnowballType?: SnowballType; - /** - * The creation date for this cluster. - */ - CreationDate?: Timestamp; - /** - * The arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects. - */ - Resources?: JobResource; - /** - * The automatically generated ID for a specific address. - */ - AddressId?: AddressId; - /** - * The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each Snowball Edge appliance, rather it represents how quickly each appliance moves to its destination while in transit. Regional shipping speeds are as follows: In Australia, you have access to express shipping. Typically, appliances shipped express are delivered in about a day. In the European Union (EU), you have access to express shipping. Typically, Snowball Edges shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way. In India, Snowball Edges are delivered in one to seven days. In the US, you have access to one-day shipping and two-day shipping. - */ - ShippingOption?: ShippingOption; - /** - * The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster. - */ - Notification?: Notification; - /** - * The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This field is not supported in most regions. - */ - ForwardingAddressId?: AddressId; - } - export type ClusterState = "AwaitingQuorum"|"Pending"|"InUse"|"Complete"|"Cancelled"|string; - export interface CreateAddressRequest { - /** - * The address that you want the Snowball shipped to. - */ - Address: Address; - } - export interface CreateAddressResult { - /** - * The automatically generated ID for a specific address. You'll use this ID when you create a job to specify which address you want the Snowball for that job shipped to. - */ - AddressId?: String; - } - export interface CreateClusterRequest { - /** - * The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE. - */ - JobType: JobType; - /** - * The resources associated with the cluster job. These resources include Amazon S3 buckets and optional AWS Lambda functions written in the Python language. - */ - Resources: JobResource; - /** - * An optional description of this specific cluster, for example Environmental Data Cluster-01. - */ - Description?: String; - /** - * The ID for the address that you want the cluster shipped to.> - */ - AddressId: AddressId; - /** - * The KmsKeyARN value that you want to associate with this cluster. KmsKeyARN values are created by using the CreateKey API action in AWS Key Management Service (AWS KMS). - */ - KmsKeyARN?: KmsKeyARN; - /** - * The RoleARN that you want to associate with this cluster. RoleArn values are created by using the CreateRole API action in AWS Identity and Access Management (IAM). - */ - RoleARN: RoleARN; - /** - * The type of AWS Snowball appliance to use for this cluster. Currently, the only supported appliance type for cluster jobs is EDGE. - */ - SnowballType?: SnowballType; - /** - * The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each Snowball Edge appliance, rather it represents how quickly each appliance moves to its destination while in transit. Regional shipping speeds are as follows: In Australia, you have access to express shipping. Typically, appliances shipped express are delivered in about a day. In the European Union (EU), you have access to express shipping. Typically, Snowball Edges shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way. In India, Snowball Edges are delivered in one to seven days. In the US, you have access to one-day shipping and two-day shipping. - */ - ShippingOption: ShippingOption; - /** - * The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster. - */ - Notification?: Notification; - /** - * The forwarding address ID for a cluster. This field is not supported in most regions. - */ - ForwardingAddressId?: AddressId; - } - export interface CreateClusterResult { - /** - * The automatically generated ID for a cluster. - */ - ClusterId?: ClusterId; - } - export interface CreateJobRequest { - /** - * Defines the type of job that you're creating. - */ - JobType?: JobType; - /** - * Defines the Amazon S3 buckets associated with this job. With IMPORT jobs, you specify the bucket or buckets that your transferred data will be imported into. With EXPORT jobs, you specify the bucket or buckets that your transferred data will be exported from. Optionally, you can also specify a KeyRange value. If you choose to export a range, you define the length of the range by providing either an inclusive BeginMarker value, an inclusive EndMarker value, or both. Ranges are UTF-8 binary sorted. - */ - Resources?: JobResource; - /** - * Defines an optional description of this specific job, for example Important Photos 2016-08-11. - */ - Description?: String; - /** - * The ID for the address that you want the Snowball shipped to. - */ - AddressId?: AddressId; - /** - * The KmsKeyARN that you want to associate with this job. KmsKeyARNs are created using the CreateKey AWS Key Management Service (KMS) API action. - */ - KmsKeyARN?: KmsKeyARN; - /** - * The RoleARN that you want to associate with this job. RoleArns are created using the CreateRole AWS Identity and Access Management (IAM) API action. - */ - RoleARN?: RoleARN; - /** - * If your job is being created in one of the US regions, you have the option of specifying what size Snowball you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity. - */ - SnowballCapacityPreference?: SnowballCapacity; - /** - * The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snowball, rather it represents how quickly the Snowball moves to its destination while in transit. Regional shipping speeds are as follows: In Australia, you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day. In the European Union (EU), you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way. In India, Snowballs are delivered in one to seven days. In the US, you have access to one-day shipping and two-day shipping. - */ - ShippingOption?: ShippingOption; - /** - * Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job. - */ - Notification?: Notification; - /** - * The ID of a cluster. If you're creating a job for a node in a cluster, you need to provide only this clusterId value. The other job attributes are inherited from the cluster. - */ - ClusterId?: ClusterId; - /** - * The type of AWS Snowball appliance to use for this job. Currently, the only supported appliance type for cluster jobs is EDGE. - */ - SnowballType?: SnowballType; - /** - * The forwarding address ID for a job. This field is not supported in most regions. - */ - ForwardingAddressId?: AddressId; - } - export interface CreateJobResult { - /** - * The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000. - */ - JobId?: JobId; - } - export interface DataTransfer { - /** - * The number of bytes transferred between a Snowball and Amazon S3. - */ - BytesTransferred?: Long; - /** - * The number of objects transferred between a Snowball and Amazon S3. - */ - ObjectsTransferred?: Long; - /** - * The total bytes of data for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed. - */ - TotalBytes?: Long; - /** - * The total number of objects for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed. - */ - TotalObjects?: Long; - } - export interface DescribeAddressRequest { - /** - * The automatically generated ID for a specific address. - */ - AddressId: AddressId; - } - export interface DescribeAddressResult { - /** - * The address that you want the Snowball or Snowballs associated with a specific job to be shipped to. - */ - Address?: Address; - } - export interface DescribeAddressesRequest { - /** - * The number of ADDRESS objects to return. - */ - MaxResults?: ListLimit; - /** - * HTTP requests are stateless. To identify what object comes "next" in the list of ADDRESS objects, you have the option of specifying a value for NextToken as the starting point for your list of returned addresses. - */ - NextToken?: String; - } - export interface DescribeAddressesResult { - /** - * The Snowball shipping addresses that were created for this account. - */ - Addresses?: AddressList; - /** - * HTTP requests are stateless. If you use the automatically generated NextToken value in your next DescribeAddresses call, your list of returned addresses will start from this point in the array. - */ - NextToken?: String; - } - export interface DescribeClusterRequest { - /** - * The automatically generated ID for a cluster. - */ - ClusterId: ClusterId; - } - export interface DescribeClusterResult { - /** - * Information about a specific cluster, including shipping information, cluster status, and other important metadata. - */ - ClusterMetadata?: ClusterMetadata; - } - export interface DescribeJobRequest { - /** - * The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000. - */ - JobId: JobId; - } - export interface DescribeJobResult { - /** - * Information about a specific job, including shipping information, job status, and other important metadata. - */ - JobMetadata?: JobMetadata; - /** - * Information about a specific job part (in the case of an export job), including shipping information, job status, and other important metadata. - */ - SubJobMetadata?: JobMetadataList; - } - export interface EventTriggerDefinition { - /** - * The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an AWS Lambda function's event trigger associated with this job. - */ - EventResourceARN?: ResourceARN; - } - export type EventTriggerDefinitionList = EventTriggerDefinition[]; - export interface GetJobManifestRequest { - /** - * The ID for a job that you want to get the manifest file for, for example JID123e4567-e89b-12d3-a456-426655440000. - */ - JobId: JobId; - } - export interface GetJobManifestResult { - /** - * The Amazon S3 presigned URL for the manifest file associated with the specified JobId value. - */ - ManifestURI?: String; - } - export interface GetJobUnlockCodeRequest { - /** - * The ID for the job that you want to get the UnlockCode value for, for example JID123e4567-e89b-12d3-a456-426655440000. - */ - JobId: JobId; - } - export interface GetJobUnlockCodeResult { - /** - * The UnlockCode value for the specified job. The UnlockCode value can be accessed for up to 90 days after the job has been created. - */ - UnlockCode?: String; - } - export interface GetSnowballUsageRequest { - } - export interface GetSnowballUsageResult { - /** - * The service limit for number of Snowballs this account can have at once. The default service limit is 1 (one). - */ - SnowballLimit?: Integer; - /** - * The number of Snowballs that this account is currently using. - */ - SnowballsInUse?: Integer; - } - export type Integer = number; - export type JobId = string; - export interface JobListEntry { - /** - * The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000. - */ - JobId?: String; - /** - * The current state of this job. - */ - JobState?: JobState; - /** - * A value that indicates that this job is a master job. A master job represents a successful request to create an export job. Master jobs aren't associated with any Snowballs. Instead, each master job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular master job are listed, because they are created after the master job is created. - */ - IsMaster?: Boolean; - /** - * The type of job. - */ - JobType?: JobType; - /** - * The type of appliance used with this job. - */ - SnowballType?: SnowballType; - /** - * The creation date for this job. - */ - CreationDate?: Timestamp; - /** - * The optional description of this specific job, for example Important Photos 2016-08-11. - */ - Description?: String; - } - export type JobListEntryList = JobListEntry[]; - export interface JobLogs { - /** - * A link to an Amazon S3 presigned URL where the job completion report is located. - */ - JobCompletionReportURI?: String; - /** - * A link to an Amazon S3 presigned URL where the job success log is located. - */ - JobSuccessLogURI?: String; - /** - * A link to an Amazon S3 presigned URL where the job failure log is located. - */ - JobFailureLogURI?: String; - } - export interface JobMetadata { - /** - * The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000. - */ - JobId?: String; - /** - * The current status of the jobs. - */ - JobState?: JobState; - /** - * The type of job. - */ - JobType?: JobType; - /** - * The type of appliance used with this job. - */ - SnowballType?: SnowballType; - /** - * The creation date for this job. - */ - CreationDate?: Timestamp; - /** - * An array of S3Resource objects. Each S3Resource object represents an Amazon S3 bucket that your transferred data will be exported from or imported into. - */ - Resources?: JobResource; - /** - * The description of the job, provided at job creation. - */ - Description?: String; - /** - * The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job. This ARN was created using the CreateKey API action in AWS KMS. - */ - KmsKeyARN?: KmsKeyARN; - /** - * The role ARN associated with this job. This ARN was created using the CreateRole API action in AWS Identity and Access Management (IAM). - */ - RoleARN?: RoleARN; - /** - * The ID for the address that you want the Snowball shipped to. - */ - AddressId?: AddressId; - /** - * A job's shipping information, including inbound and outbound tracking numbers and shipping speed options. - */ - ShippingDetails?: ShippingDetails; - /** - * The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs. - */ - SnowballCapacityPreference?: SnowballCapacity; - /** - * The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The Notification object is returned as a part of the response syntax of the DescribeJob action in the JobMetadata data type. - */ - Notification?: Notification; - /** - * A value that defines the real-time status of a Snowball's data transfer while the appliance is at AWS. This data is only available while a job has a JobState value of InProgress, for both import and export jobs. - */ - DataTransferProgress?: DataTransfer; - /** - * Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snowball for your job part is being delivered to you. - */ - JobLogInfo?: JobLogs; - /** - * The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000. - */ - ClusterId?: String; - /** - * The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions. - */ - ForwardingAddressId?: AddressId; - } - export type JobMetadataList = JobMetadata[]; - export interface JobResource { - /** - * An array of S3Resource objects. - */ - S3Resources?: S3ResourceList; - /** - * The Python-language Lambda functions for this job. - */ - LambdaResources?: LambdaResourceList; - } - export type JobState = "New"|"PreparingAppliance"|"PreparingShipment"|"InTransitToCustomer"|"WithCustomer"|"InTransitToAWS"|"WithAWS"|"InProgress"|"Complete"|"Cancelled"|"Listing"|"Pending"|string; - export type JobStateList = JobState[]; - export type JobType = "IMPORT"|"EXPORT"|"LOCAL_USE"|string; - export interface KeyRange { - /** - * The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted. - */ - BeginMarker?: String; - /** - * The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted. - */ - EndMarker?: String; - } - export type KmsKeyARN = string; - export interface LambdaResource { - /** - * An Amazon Resource Name (ARN) that represents an AWS Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource. - */ - LambdaArn?: ResourceARN; - /** - * The array of ARNs for S3Resource objects to trigger the LambdaResource objects associated with this job. - */ - EventTriggers?: EventTriggerDefinitionList; - } - export type LambdaResourceList = LambdaResource[]; - export interface ListClusterJobsRequest { - /** - * The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000. - */ - ClusterId: ClusterId; - /** - * The number of JobListEntry objects to return. - */ - MaxResults?: ListLimit; - /** - * HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry objects, you have the option of specifying NextToken as the starting point for your returned list. - */ - NextToken?: String; - } - export interface ListClusterJobsResult { - /** - * Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. - */ - JobListEntries?: JobListEntryList; - /** - * HTTP requests are stateless. If you use the automatically generated NextToken value in your next ListClusterJobsResult call, your list of returned jobs will start from this point in the array. - */ - NextToken?: String; - } - export interface ListClustersRequest { - /** - * The number of ClusterListEntry objects to return. - */ - MaxResults?: ListLimit; - /** - * HTTP requests are stateless. To identify what object comes "next" in the list of ClusterListEntry objects, you have the option of specifying NextToken as the starting point for your returned list. - */ - NextToken?: String; - } - export interface ListClustersResult { - /** - * Each ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status information. - */ - ClusterListEntries?: ClusterListEntryList; - /** - * HTTP requests are stateless. If you use the automatically generated NextToken value in your next ClusterListEntry call, your list of returned clusters will start from this point in the array. - */ - NextToken?: String; - } - export interface ListJobsRequest { - /** - * The number of JobListEntry objects to return. - */ - MaxResults?: ListLimit; - /** - * HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry objects, you have the option of specifying NextToken as the starting point for your returned list. - */ - NextToken?: String; - } - export interface ListJobsResult { - /** - * Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. - */ - JobListEntries?: JobListEntryList; - /** - * HTTP requests are stateless. If you use this automatically generated NextToken value in your next ListJobs call, your returned JobListEntry objects will start from this point in the array. - */ - NextToken?: String; - } - export type ListLimit = number; - export type Long = number; - export interface Notification { - /** - * The new SNS TopicArn that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the CreateTopic Amazon SNS API action. You can subscribe email addresses to an Amazon SNS topic through the AWS Management Console, or by using the Subscribe AWS Simple Notification Service (SNS) API action. - */ - SnsTopicARN?: SnsTopicARN; - /** - * The list of job states that will trigger a notification for this job. - */ - JobStatesToNotify?: JobStateList; - /** - * Any change in job state will trigger a notification for this job. - */ - NotifyAll?: Boolean; - } - export type ResourceARN = string; - export type RoleARN = string; - export interface S3Resource { - /** - * The Amazon Resource Name (ARN) of an Amazon S3 bucket. - */ - BucketArn?: ResourceARN; - /** - * For export jobs, you can provide an optional KeyRange within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted. - */ - KeyRange?: KeyRange; - } - export type S3ResourceList = S3Resource[]; - export interface Shipment { - /** - * Status information for a shipment. - */ - Status?: String; - /** - * The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snowball as the carrier transports it. For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier. - */ - TrackingNumber?: String; - } - export interface ShippingDetails { - /** - * The shipping speed for a particular job. This speed doesn't dictate how soon you'll get the Snowball from the job's creation date. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows: In Australia, you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day. In the European Union (EU), you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way. In India, Snowballs are delivered in one to seven days. In the United States of America (US), you have access to one-day shipping and two-day shipping. - */ - ShippingOption?: ShippingOption; - /** - * The Status and TrackingNumber values for a Snowball being delivered to the address that you specified for a particular job. - */ - InboundShipment?: Shipment; - /** - * The Status and TrackingNumber values for a Snowball being returned to AWS for a particular job. - */ - OutboundShipment?: Shipment; - } - export type ShippingOption = "SECOND_DAY"|"NEXT_DAY"|"EXPRESS"|"STANDARD"|string; - export type SnowballCapacity = "T50"|"T80"|"T100"|"NoPreference"|string; - export type SnowballType = "STANDARD"|"EDGE"|string; - export type SnsTopicARN = string; - export type String = string; - export type Timestamp = Date; - export interface UpdateClusterRequest { - /** - * The cluster ID of the cluster that you want to update, for example CID123e4567-e89b-12d3-a456-426655440000. - */ - ClusterId: ClusterId; - /** - * The new role Amazon Resource Name (ARN) that you want to associate with this cluster. To create a role ARN, use the CreateRole API action in AWS Identity and Access Management (IAM). - */ - RoleARN?: RoleARN; - /** - * The updated description of this cluster. - */ - Description?: String; - /** - * The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects. - */ - Resources?: JobResource; - /** - * The ID of the updated Address object. - */ - AddressId?: AddressId; - /** - * The updated shipping option value of this cluster's ShippingDetails object. - */ - ShippingOption?: ShippingOption; - /** - * The new or updated Notification object. - */ - Notification?: Notification; - /** - * The updated ID for the forwarding address for a cluster. This field is not supported in most regions. - */ - ForwardingAddressId?: AddressId; - } - export interface UpdateClusterResult { - } - export interface UpdateJobRequest { - /** - * The job ID of the job that you want to update, for example JID123e4567-e89b-12d3-a456-426655440000. - */ - JobId: JobId; - /** - * The new role Amazon Resource Name (ARN) that you want to associate with this job. To create a role ARN, use the CreateRoleAWS Identity and Access Management (IAM) API action. - */ - RoleARN?: RoleARN; - /** - * The new or updated Notification object. - */ - Notification?: Notification; - /** - * The updated S3Resource object (for a single Amazon S3 bucket or key range), or the updated JobResource object (for multiple buckets or key ranges). - */ - Resources?: JobResource; - /** - * The ID of the updated Address object. - */ - AddressId?: AddressId; - /** - * The updated shipping option value of this job's ShippingDetails object. - */ - ShippingOption?: ShippingOption; - /** - * The updated description of this job's JobMetadata object. - */ - Description?: String; - /** - * The updated SnowballCapacityPreference of this job's JobMetadata object. The 50 TB Snowballs are only available in the US regions. - */ - SnowballCapacityPreference?: SnowballCapacity; - /** - * The updated ID for the forwarding address for a job. This field is not supported in most regions. - */ - ForwardingAddressId?: AddressId; - } - export interface UpdateJobResult { - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-06-30"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Snowball client. - */ - export import Types = Snowball; -} -export = Snowball; diff --git a/src/node_modules/aws-sdk/clients/snowball.js b/src/node_modules/aws-sdk/clients/snowball.js deleted file mode 100644 index 41f963d..0000000 --- a/src/node_modules/aws-sdk/clients/snowball.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['snowball'] = {}; -AWS.Snowball = Service.defineService('snowball', ['2016-06-30']); -Object.defineProperty(apiLoader.services['snowball'], '2016-06-30', { - get: function get() { - var model = require('../apis/snowball-2016-06-30.min.json'); - model.paginators = require('../apis/snowball-2016-06-30.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Snowball; diff --git a/src/node_modules/aws-sdk/clients/sns.d.ts b/src/node_modules/aws-sdk/clients/sns.d.ts deleted file mode 100644 index b14ebfb..0000000 --- a/src/node_modules/aws-sdk/clients/sns.d.ts +++ /dev/null @@ -1,791 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class SNS extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: SNS.Types.ClientConfiguration) - config: Config & SNS.Types.ClientConfiguration; - /** - * Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions. - */ - addPermission(params: SNS.Types.AddPermissionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions. - */ - addPermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Accepts a phone number and indicates whether the phone holder has opted out of receiving SMS messages from your account. You cannot send SMS messages to a number that is opted out. To resume sending messages, you can opt in the number by using the OptInPhoneNumber action. - */ - checkIfPhoneNumberIsOptedOut(params: SNS.Types.CheckIfPhoneNumberIsOptedOutInput, callback?: (err: AWSError, data: SNS.Types.CheckIfPhoneNumberIsOptedOutResponse) => void): Request; - /** - * Accepts a phone number and indicates whether the phone holder has opted out of receiving SMS messages from your account. You cannot send SMS messages to a number that is opted out. To resume sending messages, you can opt in the number by using the OptInPhoneNumber action. - */ - checkIfPhoneNumberIsOptedOut(callback?: (err: AWSError, data: SNS.Types.CheckIfPhoneNumberIsOptedOutResponse) => void): Request; - /** - * Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the AuthenticateOnUnsubscribe flag is set to "true". - */ - confirmSubscription(params: SNS.Types.ConfirmSubscriptionInput, callback?: (err: AWSError, data: SNS.Types.ConfirmSubscriptionResponse) => void): Request; - /** - * Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the AuthenticateOnUnsubscribe flag is set to "true". - */ - confirmSubscription(callback?: (err: AWSError, data: SNS.Types.ConfirmSubscriptionResponse) => void): Request; - /** - * Creates a platform application object for one of the supported push notification services, such as APNS and GCM, to which devices and mobile apps may register. You must specify PlatformPrincipal and PlatformCredential attributes when using the CreatePlatformApplication action. The PlatformPrincipal is received from the notification service. For APNS/APNS_SANDBOX, PlatformPrincipal is "SSL certificate". For GCM, PlatformPrincipal is not applicable. For ADM, PlatformPrincipal is "client id". The PlatformCredential is also received from the notification service. For WNS, PlatformPrincipal is "Package Security Identifier". For MPNS, PlatformPrincipal is "TLS certificate". For Baidu, PlatformPrincipal is "API key". For APNS/APNS_SANDBOX, PlatformCredential is "private key". For GCM, PlatformCredential is "API key". For ADM, PlatformCredential is "client secret". For WNS, PlatformCredential is "secret key". For MPNS, PlatformCredential is "private key". For Baidu, PlatformCredential is "secret key". The PlatformApplicationArn that is returned when using CreatePlatformApplication is then used as an attribute for the CreatePlatformEndpoint action. For more information, see Using Amazon SNS Mobile Push Notifications. For more information about obtaining the PlatformPrincipal and PlatformCredential for each of the supported push notification services, see Getting Started with Apple Push Notification Service, Getting Started with Amazon Device Messaging, Getting Started with Baidu Cloud Push, Getting Started with Google Cloud Messaging for Android, Getting Started with MPNS, or Getting Started with WNS. - */ - createPlatformApplication(params: SNS.Types.CreatePlatformApplicationInput, callback?: (err: AWSError, data: SNS.Types.CreatePlatformApplicationResponse) => void): Request; - /** - * Creates a platform application object for one of the supported push notification services, such as APNS and GCM, to which devices and mobile apps may register. You must specify PlatformPrincipal and PlatformCredential attributes when using the CreatePlatformApplication action. The PlatformPrincipal is received from the notification service. For APNS/APNS_SANDBOX, PlatformPrincipal is "SSL certificate". For GCM, PlatformPrincipal is not applicable. For ADM, PlatformPrincipal is "client id". The PlatformCredential is also received from the notification service. For WNS, PlatformPrincipal is "Package Security Identifier". For MPNS, PlatformPrincipal is "TLS certificate". For Baidu, PlatformPrincipal is "API key". For APNS/APNS_SANDBOX, PlatformCredential is "private key". For GCM, PlatformCredential is "API key". For ADM, PlatformCredential is "client secret". For WNS, PlatformCredential is "secret key". For MPNS, PlatformCredential is "private key". For Baidu, PlatformCredential is "secret key". The PlatformApplicationArn that is returned when using CreatePlatformApplication is then used as an attribute for the CreatePlatformEndpoint action. For more information, see Using Amazon SNS Mobile Push Notifications. For more information about obtaining the PlatformPrincipal and PlatformCredential for each of the supported push notification services, see Getting Started with Apple Push Notification Service, Getting Started with Amazon Device Messaging, Getting Started with Baidu Cloud Push, Getting Started with Google Cloud Messaging for Android, Getting Started with MPNS, or Getting Started with WNS. - */ - createPlatformApplication(callback?: (err: AWSError, data: SNS.Types.CreatePlatformApplicationResponse) => void): Request; - /** - * Creates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM and APNS. CreatePlatformEndpoint requires the PlatformApplicationArn that is returned from CreatePlatformApplication. The EndpointArn that is returned when using CreatePlatformEndpoint can then be used by the Publish action to send a message to a mobile app or by the Subscribe action for subscription to a topic. The CreatePlatformEndpoint action is idempotent, so if the requester already owns an endpoint with the same device token and attributes, that endpoint's ARN is returned without creating a new endpoint. For more information, see Using Amazon SNS Mobile Push Notifications. When using CreatePlatformEndpoint with Baidu, two attributes must be provided: ChannelId and UserId. The token field must also contain the ChannelId. For more information, see Creating an Amazon SNS Endpoint for Baidu. - */ - createPlatformEndpoint(params: SNS.Types.CreatePlatformEndpointInput, callback?: (err: AWSError, data: SNS.Types.CreateEndpointResponse) => void): Request; - /** - * Creates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM and APNS. CreatePlatformEndpoint requires the PlatformApplicationArn that is returned from CreatePlatformApplication. The EndpointArn that is returned when using CreatePlatformEndpoint can then be used by the Publish action to send a message to a mobile app or by the Subscribe action for subscription to a topic. The CreatePlatformEndpoint action is idempotent, so if the requester already owns an endpoint with the same device token and attributes, that endpoint's ARN is returned without creating a new endpoint. For more information, see Using Amazon SNS Mobile Push Notifications. When using CreatePlatformEndpoint with Baidu, two attributes must be provided: ChannelId and UserId. The token field must also contain the ChannelId. For more information, see Creating an Amazon SNS Endpoint for Baidu. - */ - createPlatformEndpoint(callback?: (err: AWSError, data: SNS.Types.CreateEndpointResponse) => void): Request; - /** - * Creates a topic to which notifications can be published. Users can create at most 100,000 topics. For more information, see http://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic. - */ - createTopic(params: SNS.Types.CreateTopicInput, callback?: (err: AWSError, data: SNS.Types.CreateTopicResponse) => void): Request; - /** - * Creates a topic to which notifications can be published. Users can create at most 100,000 topics. For more information, see http://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic. - */ - createTopic(callback?: (err: AWSError, data: SNS.Types.CreateTopicResponse) => void): Request; - /** - * Deletes the endpoint for a device and mobile app from Amazon SNS. This action is idempotent. For more information, see Using Amazon SNS Mobile Push Notifications. When you delete an endpoint that is also subscribed to a topic, then you must also unsubscribe the endpoint from the topic. - */ - deleteEndpoint(params: SNS.Types.DeleteEndpointInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the endpoint for a device and mobile app from Amazon SNS. This action is idempotent. For more information, see Using Amazon SNS Mobile Push Notifications. When you delete an endpoint that is also subscribed to a topic, then you must also unsubscribe the endpoint from the topic. - */ - deleteEndpoint(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a platform application object for one of the supported push notification services, such as APNS and GCM. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - deletePlatformApplication(params: SNS.Types.DeletePlatformApplicationInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a platform application object for one of the supported push notification services, such as APNS and GCM. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - deletePlatformApplication(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error. - */ - deleteTopic(params: SNS.Types.DeleteTopicInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error. - */ - deleteTopic(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Retrieves the endpoint attributes for a device on one of the supported push notification services, such as GCM and APNS. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - getEndpointAttributes(params: SNS.Types.GetEndpointAttributesInput, callback?: (err: AWSError, data: SNS.Types.GetEndpointAttributesResponse) => void): Request; - /** - * Retrieves the endpoint attributes for a device on one of the supported push notification services, such as GCM and APNS. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - getEndpointAttributes(callback?: (err: AWSError, data: SNS.Types.GetEndpointAttributesResponse) => void): Request; - /** - * Retrieves the attributes of the platform application object for the supported push notification services, such as APNS and GCM. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - getPlatformApplicationAttributes(params: SNS.Types.GetPlatformApplicationAttributesInput, callback?: (err: AWSError, data: SNS.Types.GetPlatformApplicationAttributesResponse) => void): Request; - /** - * Retrieves the attributes of the platform application object for the supported push notification services, such as APNS and GCM. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - getPlatformApplicationAttributes(callback?: (err: AWSError, data: SNS.Types.GetPlatformApplicationAttributesResponse) => void): Request; - /** - * Returns the settings for sending SMS messages from your account. These settings are set with the SetSMSAttributes action. - */ - getSMSAttributes(params: SNS.Types.GetSMSAttributesInput, callback?: (err: AWSError, data: SNS.Types.GetSMSAttributesResponse) => void): Request; - /** - * Returns the settings for sending SMS messages from your account. These settings are set with the SetSMSAttributes action. - */ - getSMSAttributes(callback?: (err: AWSError, data: SNS.Types.GetSMSAttributesResponse) => void): Request; - /** - * Returns all of the properties of a subscription. - */ - getSubscriptionAttributes(params: SNS.Types.GetSubscriptionAttributesInput, callback?: (err: AWSError, data: SNS.Types.GetSubscriptionAttributesResponse) => void): Request; - /** - * Returns all of the properties of a subscription. - */ - getSubscriptionAttributes(callback?: (err: AWSError, data: SNS.Types.GetSubscriptionAttributesResponse) => void): Request; - /** - * Returns all of the properties of a topic. Topic properties returned might differ based on the authorization of the user. - */ - getTopicAttributes(params: SNS.Types.GetTopicAttributesInput, callback?: (err: AWSError, data: SNS.Types.GetTopicAttributesResponse) => void): Request; - /** - * Returns all of the properties of a topic. Topic properties returned might differ based on the authorization of the user. - */ - getTopicAttributes(callback?: (err: AWSError, data: SNS.Types.GetTopicAttributesResponse) => void): Request; - /** - * Lists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and APNS. The results for ListEndpointsByPlatformApplication are paginated and return a limited list of endpoints, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call ListEndpointsByPlatformApplication again using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - listEndpointsByPlatformApplication(params: SNS.Types.ListEndpointsByPlatformApplicationInput, callback?: (err: AWSError, data: SNS.Types.ListEndpointsByPlatformApplicationResponse) => void): Request; - /** - * Lists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and APNS. The results for ListEndpointsByPlatformApplication are paginated and return a limited list of endpoints, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call ListEndpointsByPlatformApplication again using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - listEndpointsByPlatformApplication(callback?: (err: AWSError, data: SNS.Types.ListEndpointsByPlatformApplicationResponse) => void): Request; - /** - * Returns a list of phone numbers that are opted out, meaning you cannot send SMS messages to them. The results for ListPhoneNumbersOptedOut are paginated, and each page returns up to 100 phone numbers. If additional phone numbers are available after the first page of results, then a NextToken string will be returned. To receive the next page, you call ListPhoneNumbersOptedOut again using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. - */ - listPhoneNumbersOptedOut(params: SNS.Types.ListPhoneNumbersOptedOutInput, callback?: (err: AWSError, data: SNS.Types.ListPhoneNumbersOptedOutResponse) => void): Request; - /** - * Returns a list of phone numbers that are opted out, meaning you cannot send SMS messages to them. The results for ListPhoneNumbersOptedOut are paginated, and each page returns up to 100 phone numbers. If additional phone numbers are available after the first page of results, then a NextToken string will be returned. To receive the next page, you call ListPhoneNumbersOptedOut again using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. - */ - listPhoneNumbersOptedOut(callback?: (err: AWSError, data: SNS.Types.ListPhoneNumbersOptedOutResponse) => void): Request; - /** - * Lists the platform application objects for the supported push notification services, such as APNS and GCM. The results for ListPlatformApplications are paginated and return a limited list of applications, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call ListPlatformApplications using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - listPlatformApplications(params: SNS.Types.ListPlatformApplicationsInput, callback?: (err: AWSError, data: SNS.Types.ListPlatformApplicationsResponse) => void): Request; - /** - * Lists the platform application objects for the supported push notification services, such as APNS and GCM. The results for ListPlatformApplications are paginated and return a limited list of applications, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call ListPlatformApplications using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - listPlatformApplications(callback?: (err: AWSError, data: SNS.Types.ListPlatformApplicationsResponse) => void): Request; - /** - * Returns a list of the requester's subscriptions. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptions call to get further results. - */ - listSubscriptions(params: SNS.Types.ListSubscriptionsInput, callback?: (err: AWSError, data: SNS.Types.ListSubscriptionsResponse) => void): Request; - /** - * Returns a list of the requester's subscriptions. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptions call to get further results. - */ - listSubscriptions(callback?: (err: AWSError, data: SNS.Types.ListSubscriptionsResponse) => void): Request; - /** - * Returns a list of the subscriptions to a specific topic. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptionsByTopic call to get further results. - */ - listSubscriptionsByTopic(params: SNS.Types.ListSubscriptionsByTopicInput, callback?: (err: AWSError, data: SNS.Types.ListSubscriptionsByTopicResponse) => void): Request; - /** - * Returns a list of the subscriptions to a specific topic. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptionsByTopic call to get further results. - */ - listSubscriptionsByTopic(callback?: (err: AWSError, data: SNS.Types.ListSubscriptionsByTopicResponse) => void): Request; - /** - * Returns a list of the requester's topics. Each call returns a limited list of topics, up to 100. If there are more topics, a NextToken is also returned. Use the NextToken parameter in a new ListTopics call to get further results. - */ - listTopics(params: SNS.Types.ListTopicsInput, callback?: (err: AWSError, data: SNS.Types.ListTopicsResponse) => void): Request; - /** - * Returns a list of the requester's topics. Each call returns a limited list of topics, up to 100. If there are more topics, a NextToken is also returned. Use the NextToken parameter in a new ListTopics call to get further results. - */ - listTopics(callback?: (err: AWSError, data: SNS.Types.ListTopicsResponse) => void): Request; - /** - * Use this request to opt in a phone number that is opted out, which enables you to resume sending SMS messages to the number. You can opt in a phone number only once every 30 days. - */ - optInPhoneNumber(params: SNS.Types.OptInPhoneNumberInput, callback?: (err: AWSError, data: SNS.Types.OptInPhoneNumberResponse) => void): Request; - /** - * Use this request to opt in a phone number that is opted out, which enables you to resume sending SMS messages to the number. You can opt in a phone number only once every 30 days. - */ - optInPhoneNumber(callback?: (err: AWSError, data: SNS.Types.OptInPhoneNumberResponse) => void): Request; - /** - * Sends a message to all of a topic's subscribed endpoints. When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it to the topic's subscribers shortly. The format of the outgoing message to each subscribed endpoint depends on the notification protocol. To use the Publish action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. - */ - publish(params: SNS.Types.PublishInput, callback?: (err: AWSError, data: SNS.Types.PublishResponse) => void): Request; - /** - * Sends a message to all of a topic's subscribed endpoints. When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it to the topic's subscribers shortly. The format of the outgoing message to each subscribed endpoint depends on the notification protocol. To use the Publish action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. - */ - publish(callback?: (err: AWSError, data: SNS.Types.PublishResponse) => void): Request; - /** - * Removes a statement from a topic's access control policy. - */ - removePermission(params: SNS.Types.RemovePermissionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes a statement from a topic's access control policy. - */ - removePermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the attributes for an endpoint for a device on one of the supported push notification services, such as GCM and APNS. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - setEndpointAttributes(params: SNS.Types.SetEndpointAttributesInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the attributes for an endpoint for a device on one of the supported push notification services, such as GCM and APNS. For more information, see Using Amazon SNS Mobile Push Notifications. - */ - setEndpointAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the attributes of the platform application object for the supported push notification services, such as APNS and GCM. For more information, see Using Amazon SNS Mobile Push Notifications. For information on configuring attributes for message delivery status, see Using Amazon SNS Application Attributes for Message Delivery Status. - */ - setPlatformApplicationAttributes(params: SNS.Types.SetPlatformApplicationAttributesInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the attributes of the platform application object for the supported push notification services, such as APNS and GCM. For more information, see Using Amazon SNS Mobile Push Notifications. For information on configuring attributes for message delivery status, see Using Amazon SNS Application Attributes for Message Delivery Status. - */ - setPlatformApplicationAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Use this request to set the default settings for sending SMS messages and receiving daily SMS usage reports. You can override some of these settings for a single message when you use the Publish action with the MessageAttributes.entry.N parameter. For more information, see Sending an SMS Message in the Amazon SNS Developer Guide. - */ - setSMSAttributes(params: SNS.Types.SetSMSAttributesInput, callback?: (err: AWSError, data: SNS.Types.SetSMSAttributesResponse) => void): Request; - /** - * Use this request to set the default settings for sending SMS messages and receiving daily SMS usage reports. You can override some of these settings for a single message when you use the Publish action with the MessageAttributes.entry.N parameter. For more information, see Sending an SMS Message in the Amazon SNS Developer Guide. - */ - setSMSAttributes(callback?: (err: AWSError, data: SNS.Types.SetSMSAttributesResponse) => void): Request; - /** - * Allows a subscription owner to set an attribute of the topic to a new value. - */ - setSubscriptionAttributes(params: SNS.Types.SetSubscriptionAttributesInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Allows a subscription owner to set an attribute of the topic to a new value. - */ - setSubscriptionAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Allows a topic owner to set an attribute of the topic to a new value. - */ - setTopicAttributes(params: SNS.Types.SetTopicAttributesInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Allows a topic owner to set an attribute of the topic to a new value. - */ - setTopicAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually create a subscription, the endpoint owner must call the ConfirmSubscription action with the token from the confirmation message. Confirmation tokens are valid for three days. - */ - subscribe(params: SNS.Types.SubscribeInput, callback?: (err: AWSError, data: SNS.Types.SubscribeResponse) => void): Request; - /** - * Prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually create a subscription, the endpoint owner must call the ConfirmSubscription action with the token from the confirmation message. Confirmation tokens are valid for three days. - */ - subscribe(callback?: (err: AWSError, data: SNS.Types.SubscribeResponse) => void): Request; - /** - * Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended. - */ - unsubscribe(params: SNS.Types.UnsubscribeInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended. - */ - unsubscribe(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace SNS { - export type ActionsList = action[]; - export interface AddPermissionInput { - /** - * The ARN of the topic whose access control policy you wish to modify. - */ - TopicArn: topicARN; - /** - * A unique identifier for the new policy statement. - */ - Label: label; - /** - * The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service. - */ - AWSAccountId: DelegatesList; - /** - * The action you want to allow for the specified principal(s). Valid values: any Amazon SNS action name. - */ - ActionName: ActionsList; - } - export type Binary = Buffer|Uint8Array|Blob|string; - export interface CheckIfPhoneNumberIsOptedOutInput { - /** - * The phone number for which you want to check the opt out status. - */ - phoneNumber: PhoneNumber; - } - export interface CheckIfPhoneNumberIsOptedOutResponse { - /** - * Indicates whether the phone number is opted out: true – The phone number is opted out, meaning you cannot publish SMS messages to it. false – The phone number is opted in, meaning you can publish SMS messages to it. - */ - isOptedOut?: boolean; - } - export interface ConfirmSubscriptionInput { - /** - * The ARN of the topic for which you wish to confirm a subscription. - */ - TopicArn: topicARN; - /** - * Short-lived token sent to an endpoint during the Subscribe action. - */ - Token: token; - /** - * Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an AWS signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires AWS authentication. - */ - AuthenticateOnUnsubscribe?: authenticateOnUnsubscribe; - } - export interface ConfirmSubscriptionResponse { - /** - * The ARN of the created subscription. - */ - SubscriptionArn?: subscriptionARN; - } - export interface CreateEndpointResponse { - /** - * EndpointArn returned from CreateEndpoint action. - */ - EndpointArn?: String; - } - export interface CreatePlatformApplicationInput { - /** - * Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long. - */ - Name: String; - /** - * The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging). - */ - Platform: String; - /** - * For a list of attributes, see SetPlatformApplicationAttributes - */ - Attributes: MapStringToString; - } - export interface CreatePlatformApplicationResponse { - /** - * PlatformApplicationArn is returned. - */ - PlatformApplicationArn?: String; - } - export interface CreatePlatformEndpointInput { - /** - * PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint. - */ - PlatformApplicationArn: String; - /** - * Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM or ADM, the device token equivalent is called the registration ID. - */ - Token: String; - /** - * Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB. - */ - CustomUserData?: String; - /** - * For a list of attributes, see SetEndpointAttributes. - */ - Attributes?: MapStringToString; - } - export interface CreateTopicInput { - /** - * The name of the topic you want to create. Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long. - */ - Name: topicName; - } - export interface CreateTopicResponse { - /** - * The Amazon Resource Name (ARN) assigned to the created topic. - */ - TopicArn?: topicARN; - } - export type DelegatesList = delegate[]; - export interface DeleteEndpointInput { - /** - * EndpointArn of endpoint to delete. - */ - EndpointArn: String; - } - export interface DeletePlatformApplicationInput { - /** - * PlatformApplicationArn of platform application object to delete. - */ - PlatformApplicationArn: String; - } - export interface DeleteTopicInput { - /** - * The ARN of the topic you want to delete. - */ - TopicArn: topicARN; - } - export interface Endpoint { - /** - * EndpointArn for mobile app and device. - */ - EndpointArn?: String; - /** - * Attributes for endpoint. - */ - Attributes?: MapStringToString; - } - export interface GetEndpointAttributesInput { - /** - * EndpointArn for GetEndpointAttributes input. - */ - EndpointArn: String; - } - export interface GetEndpointAttributesResponse { - /** - * Attributes include the following: CustomUserData -- arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB. Enabled -- flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token. Token -- device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service. - */ - Attributes?: MapStringToString; - } - export interface GetPlatformApplicationAttributesInput { - /** - * PlatformApplicationArn for GetPlatformApplicationAttributesInput. - */ - PlatformApplicationArn: String; - } - export interface GetPlatformApplicationAttributesResponse { - /** - * Attributes include the following: EventEndpointCreated -- Topic ARN to which EndpointCreated event notifications should be sent. EventEndpointDeleted -- Topic ARN to which EndpointDeleted event notifications should be sent. EventEndpointUpdated -- Topic ARN to which EndpointUpdate event notifications should be sent. EventDeliveryFailure -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints. - */ - Attributes?: MapStringToString; - } - export interface GetSMSAttributesInput { - /** - * A list of the individual attribute names, such as MonthlySpendLimit, for which you want values. For all attribute names, see SetSMSAttributes. If you don't use this parameter, Amazon SNS returns all SMS attributes. - */ - attributes?: ListString; - } - export interface GetSMSAttributesResponse { - /** - * The SMS attribute names and their values. - */ - attributes?: MapStringToString; - } - export interface GetSubscriptionAttributesInput { - /** - * The ARN of the subscription whose properties you want to get. - */ - SubscriptionArn: subscriptionARN; - } - export interface GetSubscriptionAttributesResponse { - /** - * A map of the subscription's attributes. Attributes in this map include the following: SubscriptionArn -- the subscription's ARN TopicArn -- the topic ARN that the subscription is associated with Owner -- the AWS account ID of the subscription's owner ConfirmationWasAuthenticated -- true if the subscription confirmation request was authenticated DeliveryPolicy -- the JSON serialization of the subscription's delivery policy EffectiveDeliveryPolicy -- the JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults - */ - Attributes?: SubscriptionAttributesMap; - } - export interface GetTopicAttributesInput { - /** - * The ARN of the topic whose properties you want to get. - */ - TopicArn: topicARN; - } - export interface GetTopicAttributesResponse { - /** - * A map of the topic's attributes. Attributes in this map include the following: TopicArn -- the topic's ARN Owner -- the AWS account ID of the topic's owner Policy -- the JSON serialization of the topic's access control policy DisplayName -- the human-readable name used in the "From" field for notifications to email and email-json endpoints SubscriptionsPending -- the number of subscriptions pending confirmation on this topic SubscriptionsConfirmed -- the number of confirmed subscriptions on this topic SubscriptionsDeleted -- the number of deleted subscriptions on this topic DeliveryPolicy -- the JSON serialization of the topic's delivery policy EffectiveDeliveryPolicy -- the JSON serialization of the effective delivery policy that takes into account system defaults - */ - Attributes?: TopicAttributesMap; - } - export interface ListEndpointsByPlatformApplicationInput { - /** - * PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action. - */ - PlatformApplicationArn: String; - /** - * NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results. - */ - NextToken?: String; - } - export interface ListEndpointsByPlatformApplicationResponse { - /** - * Endpoints returned for ListEndpointsByPlatformApplication action. - */ - Endpoints?: ListOfEndpoints; - /** - * NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results. - */ - NextToken?: String; - } - export type ListOfEndpoints = Endpoint[]; - export type ListOfPlatformApplications = PlatformApplication[]; - export interface ListPhoneNumbersOptedOutInput { - /** - * A NextToken string is used when you call the ListPhoneNumbersOptedOut action to retrieve additional records that are available after the first page of results. - */ - nextToken?: string; - } - export interface ListPhoneNumbersOptedOutResponse { - /** - * A list of phone numbers that are opted out of receiving SMS messages. The list is paginated, and each page can contain up to 100 phone numbers. - */ - phoneNumbers?: PhoneNumberList; - /** - * A NextToken string is returned when you call the ListPhoneNumbersOptedOut action if additional records are available after the first page of results. - */ - nextToken?: string; - } - export interface ListPlatformApplicationsInput { - /** - * NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results. - */ - NextToken?: String; - } - export interface ListPlatformApplicationsResponse { - /** - * Platform applications returned when calling ListPlatformApplications action. - */ - PlatformApplications?: ListOfPlatformApplications; - /** - * NextToken string is returned when calling ListPlatformApplications action if additional records are available after the first page results. - */ - NextToken?: String; - } - export type ListString = String[]; - export interface ListSubscriptionsByTopicInput { - /** - * The ARN of the topic for which you wish to find subscriptions. - */ - TopicArn: topicARN; - /** - * Token returned by the previous ListSubscriptionsByTopic request. - */ - NextToken?: nextToken; - } - export interface ListSubscriptionsByTopicResponse { - /** - * A list of subscriptions. - */ - Subscriptions?: SubscriptionsList; - /** - * Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there are more subscriptions to retrieve. - */ - NextToken?: nextToken; - } - export interface ListSubscriptionsInput { - /** - * Token returned by the previous ListSubscriptions request. - */ - NextToken?: nextToken; - } - export interface ListSubscriptionsResponse { - /** - * A list of subscriptions. - */ - Subscriptions?: SubscriptionsList; - /** - * Token to pass along to the next ListSubscriptions request. This element is returned if there are more subscriptions to retrieve. - */ - NextToken?: nextToken; - } - export interface ListTopicsInput { - /** - * Token returned by the previous ListTopics request. - */ - NextToken?: nextToken; - } - export interface ListTopicsResponse { - /** - * A list of topic ARNs. - */ - Topics?: TopicsList; - /** - * Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve. - */ - NextToken?: nextToken; - } - export type MapStringToString = {[key: string]: String}; - export type MessageAttributeMap = {[key: string]: MessageAttributeValue}; - export interface MessageAttributeValue { - /** - * Amazon SNS supports the following logical data types: String, Number, and Binary. For more information, see Message Attribute Data Types. - */ - DataType: String; - /** - * Strings are Unicode with UTF8 binary encoding. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters. - */ - StringValue?: String; - /** - * Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images. - */ - BinaryValue?: Binary; - } - export interface OptInPhoneNumberInput { - /** - * The phone number to opt in. - */ - phoneNumber: PhoneNumber; - } - export interface OptInPhoneNumberResponse { - } - export type PhoneNumber = string; - export type PhoneNumberList = PhoneNumber[]; - export interface PlatformApplication { - /** - * PlatformApplicationArn for platform application object. - */ - PlatformApplicationArn?: String; - /** - * Attributes for platform application object. - */ - Attributes?: MapStringToString; - } - export interface PublishInput { - /** - * The topic you want to publish to. If you don't specify a value for the TopicArn parameter, you must specify a value for the PhoneNumber or TargetArn parameters. - */ - TopicArn?: topicARN; - /** - * Either TopicArn or EndpointArn, but not both. If you don't specify a value for the TargetArn parameter, you must specify a value for the PhoneNumber or TopicArn parameters. - */ - TargetArn?: String; - /** - * The phone number to which you want to deliver an SMS message. Use E.164 format. If you don't specify a value for the PhoneNumber parameter, you must specify a value for the TargetArn or TopicArn parameters. - */ - PhoneNumber?: String; - /** - * The message you want to send to the topic. If you want to send the same message to all transport protocols, include the text of the message as a String value. If you want to send different messages for each transport protocol, set the value of the MessageStructure parameter to json and use a JSON object for the Message parameter. Constraints: Messages must be UTF-8 encoded strings at most 256 KB in size (262144 bytes, not 262144 characters). JSON-specific constraints: Keys in the JSON object that correspond to supported transport protocols must have simple JSON string values. The values will be parsed (unescaped) before they are used in outgoing messages. Outbound notifications are JSON encoded (meaning that the characters will be reescaped for sending). Values have a minimum length of 0 (the empty string, "", is allowed). Values have a maximum length bounded by the overall message size (so, including multiple protocols may limit message sizes). Non-string values will cause the key to be ignored. Keys that do not correspond to supported transport protocols are ignored. Duplicate keys are not allowed. Failure to parse or validate any key or value in the message will cause the Publish call to return an error (no partial delivery). - */ - Message: message; - /** - * Optional parameter to be used as the "Subject" line when the message is delivered to email endpoints. This field will also be included, if present, in the standard JSON messages delivered to other endpoints. Constraints: Subjects must be ASCII text that begins with a letter, number, or punctuation mark; must not include line breaks or control characters; and must be less than 100 characters long. - */ - Subject?: subject; - /** - * Set MessageStructure to json if you want to send a different message for each protocol. For example, using one publish action, you can send a short message to your SMS subscribers and a longer message to your email subscribers. If you set MessageStructure to json, the value of the Message parameter must: be a syntactically valid JSON object; and contain at least a top-level JSON key of "default" with a value that is a string. You can define other top-level keys that define the message you want to send to a specific transport protocol (e.g., "http"). For information about sending different messages for each protocol using the AWS Management Console, go to Create Different Messages for Each Protocol in the Amazon Simple Notification Service Getting Started Guide. Valid value: json - */ - MessageStructure?: messageStructure; - /** - * Message attributes for Publish action. - */ - MessageAttributes?: MessageAttributeMap; - } - export interface PublishResponse { - /** - * Unique identifier assigned to the published message. Length Constraint: Maximum 100 characters - */ - MessageId?: messageId; - } - export interface RemovePermissionInput { - /** - * The ARN of the topic whose access control policy you wish to modify. - */ - TopicArn: topicARN; - /** - * The unique label of the statement you want to remove. - */ - Label: label; - } - export interface SetEndpointAttributesInput { - /** - * EndpointArn used for SetEndpointAttributes action. - */ - EndpointArn: String; - /** - * A map of the endpoint attributes. Attributes in this map include the following: CustomUserData -- arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB. Enabled -- flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token. Token -- device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service. - */ - Attributes: MapStringToString; - } - export interface SetPlatformApplicationAttributesInput { - /** - * PlatformApplicationArn for SetPlatformApplicationAttributes action. - */ - PlatformApplicationArn: String; - /** - * A map of the platform application attributes. Attributes in this map include the following: PlatformCredential -- The credential received from the notification service. For APNS/APNS_SANDBOX, PlatformCredential is private key. For GCM, PlatformCredential is "API key". For ADM, PlatformCredential is "client secret". PlatformPrincipal -- The principal received from the notification service. For APNS/APNS_SANDBOX, PlatformPrincipal is SSL certificate. For GCM, PlatformPrincipal is not applicable. For ADM, PlatformPrincipal is "client id". EventEndpointCreated -- Topic ARN to which EndpointCreated event notifications should be sent. EventEndpointDeleted -- Topic ARN to which EndpointDeleted event notifications should be sent. EventEndpointUpdated -- Topic ARN to which EndpointUpdate event notifications should be sent. EventDeliveryFailure -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints. SuccessFeedbackRoleArn -- IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf. FailureFeedbackRoleArn -- IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf. SuccessFeedbackSampleRate -- Sample rate percentage (0-100) of successfully delivered messages. - */ - Attributes: MapStringToString; - } - export interface SetSMSAttributesInput { - /** - * The default settings for sending SMS messages from your account. You can set values for the following attribute names: MonthlySpendLimit – The maximum amount in USD that you are willing to spend each month to send SMS messages. When Amazon SNS determines that sending an SMS message would incur a cost that exceeds this limit, it stops sending SMS messages within minutes. Amazon SNS stops sending SMS messages within minutes of the limit being crossed. During that interval, if you continue to send SMS messages, you will incur costs that exceed your limit. By default, the spend limit is set to the maximum allowed by Amazon SNS. If you want to exceed the maximum, contact AWS Support or your AWS sales representative for a service limit increase. DeliveryStatusIAMRole – The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs. For each SMS message that you send, Amazon SNS writes a log that includes the message price, the success or failure status, the reason for failure (if the message failed), the message dwell time, and other information. DeliveryStatusSuccessSamplingRate – The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value can be an integer from 0 - 100. For example, to write logs only for failed deliveries, set this value to 0. To write logs for 10% of your successful deliveries, set it to 10. DefaultSenderID – A string, such as your business brand, that is displayed as the sender on the receiving device. Support for sender IDs varies by country. The sender ID can be 1 - 11 alphanumeric characters, and it must contain at least one letter. DefaultSMSType – The type of SMS message that you will send by default. You can assign the following values: Promotional – (Default) Noncritical messages, such as marketing messages. Amazon SNS optimizes the message delivery to incur the lowest cost. Transactional – Critical messages that support customer transactions, such as one-time passcodes for multi-factor authentication. Amazon SNS optimizes the message delivery to achieve the highest reliability. UsageReportS3Bucket – The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS. Each day, Amazon SNS will deliver a usage report as a CSV file to the bucket. The report includes the following information for each SMS message that was successfully delivered by your account: Time that the message was published (in UTC) Message ID Destination phone number Message type Delivery status Message price (in USD) Part number (a message is split into multiple parts if it is too long for a single message) Total number of parts To receive the report, the bucket must have a policy that allows the Amazon SNS service principle to perform the s3:PutObject and s3:GetBucketLocation actions. For an example bucket policy and usage report, see Monitoring SMS Activity in the Amazon SNS Developer Guide. - */ - attributes: MapStringToString; - } - export interface SetSMSAttributesResponse { - } - export interface SetSubscriptionAttributesInput { - /** - * The ARN of the subscription to modify. - */ - SubscriptionArn: subscriptionARN; - /** - * The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable. Valid values: DeliveryPolicy | RawMessageDelivery - */ - AttributeName: attributeName; - /** - * The new value for the attribute in JSON format. - */ - AttributeValue?: attributeValue; - } - export interface SetTopicAttributesInput { - /** - * The ARN of the topic to modify. - */ - TopicArn: topicARN; - /** - * The name of the attribute you want to set. Only a subset of the topic's attributes are mutable. Valid values: Policy | DisplayName | DeliveryPolicy - */ - AttributeName: attributeName; - /** - * The new value for the attribute. - */ - AttributeValue?: attributeValue; - } - export type String = string; - export interface SubscribeInput { - /** - * The ARN of the topic you want to subscribe to. - */ - TopicArn: topicARN; - /** - * The protocol you want to use. Supported protocols include: http -- delivery of JSON-encoded message via HTTP POST https -- delivery of JSON-encoded message via HTTPS POST email -- delivery of message via SMTP email-json -- delivery of JSON-encoded message via SMTP sms -- delivery of message via SMS sqs -- delivery of JSON-encoded message to an Amazon SQS queue application -- delivery of JSON-encoded message to an EndpointArn for a mobile app and device. lambda -- delivery of JSON-encoded message to an AWS Lambda function. - */ - Protocol: protocol; - /** - * The endpoint that you want to receive notifications. Endpoints vary by protocol: For the http protocol, the endpoint is an URL beginning with "http://" For the https protocol, the endpoint is a URL beginning with "https://" For the email protocol, the endpoint is an email address For the email-json protocol, the endpoint is an email address For the sms protocol, the endpoint is a phone number of an SMS-enabled device For the sqs protocol, the endpoint is the ARN of an Amazon SQS queue For the application protocol, the endpoint is the EndpointArn of a mobile app and device. For the lambda protocol, the endpoint is the ARN of an AWS Lambda function. - */ - Endpoint?: endpoint; - } - export interface SubscribeResponse { - /** - * The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation). - */ - SubscriptionArn?: subscriptionARN; - } - export interface Subscription { - /** - * The subscription's ARN. - */ - SubscriptionArn?: subscriptionARN; - /** - * The subscription's owner. - */ - Owner?: account; - /** - * The subscription's protocol. - */ - Protocol?: protocol; - /** - * The subscription's endpoint (format depends on the protocol). - */ - Endpoint?: endpoint; - /** - * The ARN of the subscription's topic. - */ - TopicArn?: topicARN; - } - export type SubscriptionAttributesMap = {[key: string]: attributeValue}; - export type SubscriptionsList = Subscription[]; - export interface Topic { - /** - * The topic's ARN. - */ - TopicArn?: topicARN; - } - export type TopicAttributesMap = {[key: string]: attributeValue}; - export type TopicsList = Topic[]; - export interface UnsubscribeInput { - /** - * The ARN of the subscription to be deleted. - */ - SubscriptionArn: subscriptionARN; - } - export type account = string; - export type action = string; - export type attributeName = string; - export type attributeValue = string; - export type authenticateOnUnsubscribe = string; - export type delegate = string; - export type endpoint = string; - export type label = string; - export type message = string; - export type messageId = string; - export type messageStructure = string; - export type nextToken = string; - export type protocol = string; - export type subject = string; - export type subscriptionARN = string; - export type token = string; - export type topicARN = string; - export type topicName = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2010-03-31"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the SNS client. - */ - export import Types = SNS; -} -export = SNS; diff --git a/src/node_modules/aws-sdk/clients/sns.js b/src/node_modules/aws-sdk/clients/sns.js deleted file mode 100644 index 47573a9..0000000 --- a/src/node_modules/aws-sdk/clients/sns.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['sns'] = {}; -AWS.SNS = Service.defineService('sns', ['2010-03-31']); -Object.defineProperty(apiLoader.services['sns'], '2010-03-31', { - get: function get() { - var model = require('../apis/sns-2010-03-31.min.json'); - model.paginators = require('../apis/sns-2010-03-31.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SNS; diff --git a/src/node_modules/aws-sdk/clients/sqs.d.ts b/src/node_modules/aws-sdk/clients/sqs.d.ts deleted file mode 100644 index 8c3e4e9..0000000 --- a/src/node_modules/aws-sdk/clients/sqs.d.ts +++ /dev/null @@ -1,633 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class SQS extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: SQS.Types.ClientConfiguration) - config: Config & SQS.Types.ClientConfiguration; - /** - * Adds a permission to a queue for a specific principal. This allows sharing access to the queue. When you create a queue, you have full control access rights for the queue. Only you, the owner of the queue, can grant or deny permissions to the queue. For more information about these permissions, see Shared Queues in the Amazon SQS Developer Guide. AddPermission writes an Amazon-SQS-generated policy. If you want to write your own policy, use SetQueueAttributes to upload your policy. For more information about writing your own policy, see Using The Access Policy Language in the Amazon SQS Developer Guide. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - addPermission(params: SQS.Types.AddPermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Adds a permission to a queue for a specific principal. This allows sharing access to the queue. When you create a queue, you have full control access rights for the queue. Only you, the owner of the queue, can grant or deny permissions to the queue. For more information about these permissions, see Shared Queues in the Amazon SQS Developer Guide. AddPermission writes an Amazon-SQS-generated policy. If you want to write your own policy, use SetQueueAttributes to upload your policy. For more information about writing your own policy, see Using The Access Policy Language in the Amazon SQS Developer Guide. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - addPermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the visibility timeout of a specified message in a queue to a new value. The maximum allowed timeout value is 12 hours. Thus, you can't extend the timeout of a message in an existing queue to more than a total visibility timeout of 12 hours. For more information, see Visibility Timeout in the Amazon SQS Developer Guide. For example, you have a message and with the default visibility timeout of 5 minutes. After 3 minutes, you call ChangeMessageVisiblity with a timeout of 10 minutes. At that time, the timeout for the message is extended by 10 minutes beyond the time of the ChangeMessageVisibility action. This results in a total visibility timeout of 13 minutes. You can continue to call the ChangeMessageVisibility to extend the visibility timeout to a maximum of 12 hours. If you try to extend the visibility timeout beyond 12 hours, your request is rejected. A message is considered to be in flight after it's received from a queue by a consumer, but not yet deleted from the queue. For standard queues, there can be a maximum of 120,000 inflight messages per queue. If you reach this limit, Amazon SQS returns the OverLimit error message. To avoid reaching the limit, you should delete messages from the queue after they're processed. You can also increase the number of queues you use to process your messages. For FIFO queues, there can be a maximum of 20,000 inflight messages per queue. If you reach this limit, Amazon SQS returns no error messages. If you attempt to set the VisibilityTimeout to a value greater than the maximum time left, Amazon SQS returns an error. Amazon SQS doesn't automatically recalculate and increase the timeout to the maximum remaining time. Unlike with a queue, when you change the visibility timeout for a specific message the timeout value is applied immediately but isn't saved in memory for that message. If you don't delete a message after it is received, the visibility timeout for the message reverts to the original timeout value (not to the value you set using the ChangeMessageVisibility action) the next time the message is received. - */ - changeMessageVisibility(params: SQS.Types.ChangeMessageVisibilityRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the visibility timeout of a specified message in a queue to a new value. The maximum allowed timeout value is 12 hours. Thus, you can't extend the timeout of a message in an existing queue to more than a total visibility timeout of 12 hours. For more information, see Visibility Timeout in the Amazon SQS Developer Guide. For example, you have a message and with the default visibility timeout of 5 minutes. After 3 minutes, you call ChangeMessageVisiblity with a timeout of 10 minutes. At that time, the timeout for the message is extended by 10 minutes beyond the time of the ChangeMessageVisibility action. This results in a total visibility timeout of 13 minutes. You can continue to call the ChangeMessageVisibility to extend the visibility timeout to a maximum of 12 hours. If you try to extend the visibility timeout beyond 12 hours, your request is rejected. A message is considered to be in flight after it's received from a queue by a consumer, but not yet deleted from the queue. For standard queues, there can be a maximum of 120,000 inflight messages per queue. If you reach this limit, Amazon SQS returns the OverLimit error message. To avoid reaching the limit, you should delete messages from the queue after they're processed. You can also increase the number of queues you use to process your messages. For FIFO queues, there can be a maximum of 20,000 inflight messages per queue. If you reach this limit, Amazon SQS returns no error messages. If you attempt to set the VisibilityTimeout to a value greater than the maximum time left, Amazon SQS returns an error. Amazon SQS doesn't automatically recalculate and increase the timeout to the maximum remaining time. Unlike with a queue, when you change the visibility timeout for a specific message the timeout value is applied immediately but isn't saved in memory for that message. If you don't delete a message after it is received, the visibility timeout for the message reverts to the original timeout value (not to the value you set using the ChangeMessageVisibility action) the next time the message is received. - */ - changeMessageVisibility(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the visibility timeout of multiple messages. This is a batch version of ChangeMessageVisibility. The result of the action on each message is reported individually in the response. You can send up to 10 ChangeMessageVisibility requests with each ChangeMessageVisibilityBatch action. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - changeMessageVisibilityBatch(params: SQS.Types.ChangeMessageVisibilityBatchRequest, callback?: (err: AWSError, data: SQS.Types.ChangeMessageVisibilityBatchResult) => void): Request; - /** - * Changes the visibility timeout of multiple messages. This is a batch version of ChangeMessageVisibility. The result of the action on each message is reported individually in the response. You can send up to 10 ChangeMessageVisibility requests with each ChangeMessageVisibilityBatch action. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - changeMessageVisibilityBatch(callback?: (err: AWSError, data: SQS.Types.ChangeMessageVisibilityBatchResult) => void): Request; - /** - * Creates a new standard or FIFO queue. You can pass one or more attributes in the request. Keep the following caveats in mind: If you don't specify the FifoQueue attribute, Amazon SQS creates a standard queue. You can't change the queue type after you create it and you can't convert an existing standard queue into a FIFO queue. You must either create a new FIFO queue for your application or delete your existing standard queue and recreate it as a FIFO queue. For more information, see Moving From a Standard Queue to a FIFO Queue in the Amazon SQS Developer Guide. If you don't provide a value for an attribute, the queue is created with the default value for the attribute. If you delete a queue, you must wait at least 60 seconds before creating a queue with the same name. To successfully create a new queue, you must provide a queue name that adheres to the limits related to queues and is unique within the scope of your queues. To get the queue URL, use the GetQueueUrl action. GetQueueUrl requires only the QueueName parameter. be aware of existing queue names: If you provide the name of an existing queue along with the exact names and values of all the queue's attributes, CreateQueue returns the queue URL for the existing queue. If the queue name, attribute names, or attribute values don't match an existing queue, CreateQueue returns an error. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - createQueue(params: SQS.Types.CreateQueueRequest, callback?: (err: AWSError, data: SQS.Types.CreateQueueResult) => void): Request; - /** - * Creates a new standard or FIFO queue. You can pass one or more attributes in the request. Keep the following caveats in mind: If you don't specify the FifoQueue attribute, Amazon SQS creates a standard queue. You can't change the queue type after you create it and you can't convert an existing standard queue into a FIFO queue. You must either create a new FIFO queue for your application or delete your existing standard queue and recreate it as a FIFO queue. For more information, see Moving From a Standard Queue to a FIFO Queue in the Amazon SQS Developer Guide. If you don't provide a value for an attribute, the queue is created with the default value for the attribute. If you delete a queue, you must wait at least 60 seconds before creating a queue with the same name. To successfully create a new queue, you must provide a queue name that adheres to the limits related to queues and is unique within the scope of your queues. To get the queue URL, use the GetQueueUrl action. GetQueueUrl requires only the QueueName parameter. be aware of existing queue names: If you provide the name of an existing queue along with the exact names and values of all the queue's attributes, CreateQueue returns the queue URL for the existing queue. If the queue name, attribute names, or attribute values don't match an existing queue, CreateQueue returns an error. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - createQueue(callback?: (err: AWSError, data: SQS.Types.CreateQueueResult) => void): Request; - /** - * Deletes the specified message from the specified queue. You specify the message by using the message's receipt handle and not the MessageId you receive when you send the message. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue. If you leave a message in the queue for longer than the queue's configured retention period, Amazon SQS automatically deletes the message. The receipt handle is associated with a specific instance of receiving the message. If you receive a message more than once, the receipt handle you get each time you receive the message is different. If you don't provide the most recently received receipt handle for the message when you use the DeleteMessage action, the request succeeds, but the message might not be deleted. For standard queues, it is possible to receive a message even after you delete it. This might happen on rare occasions if one of the servers storing a copy of the message is unavailable when you send the request to delete the message. The copy remains on the server and might be returned to you on a subsequent receive request. You should ensure that your application is idempotent, so that receiving a message more than once does not cause issues. - */ - deleteMessage(params: SQS.Types.DeleteMessageRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified message from the specified queue. You specify the message by using the message's receipt handle and not the MessageId you receive when you send the message. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue. If you leave a message in the queue for longer than the queue's configured retention period, Amazon SQS automatically deletes the message. The receipt handle is associated with a specific instance of receiving the message. If you receive a message more than once, the receipt handle you get each time you receive the message is different. If you don't provide the most recently received receipt handle for the message when you use the DeleteMessage action, the request succeeds, but the message might not be deleted. For standard queues, it is possible to receive a message even after you delete it. This might happen on rare occasions if one of the servers storing a copy of the message is unavailable when you send the request to delete the message. The copy remains on the server and might be returned to you on a subsequent receive request. You should ensure that your application is idempotent, so that receiving a message more than once does not cause issues. - */ - deleteMessage(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes up to ten messages from the specified queue. This is a batch version of DeleteMessage. The result of the action on each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - deleteMessageBatch(params: SQS.Types.DeleteMessageBatchRequest, callback?: (err: AWSError, data: SQS.Types.DeleteMessageBatchResult) => void): Request; - /** - * Deletes up to ten messages from the specified queue. This is a batch version of DeleteMessage. The result of the action on each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - deleteMessageBatch(callback?: (err: AWSError, data: SQS.Types.DeleteMessageBatchResult) => void): Request; - /** - * Deletes the queue specified by the QueueUrl, even if the queue is empty. If the specified queue doesn't exist, Amazon SQS returns a successful response. Be careful with the DeleteQueue action: When you delete a queue, any messages in the queue are no longer available. When you delete a queue, the deletion process takes up to 60 seconds. Requests you send involving that queue during the 60 seconds might succeed. For example, a SendMessage request might succeed, but after 60 seconds the queue and the message you sent no longer exist. When you delete a queue, you must wait at least 60 seconds before creating a queue with the same name. - */ - deleteQueue(params: SQS.Types.DeleteQueueRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the queue specified by the QueueUrl, even if the queue is empty. If the specified queue doesn't exist, Amazon SQS returns a successful response. Be careful with the DeleteQueue action: When you delete a queue, any messages in the queue are no longer available. When you delete a queue, the deletion process takes up to 60 seconds. Requests you send involving that queue during the 60 seconds might succeed. For example, a SendMessage request might succeed, but after 60 seconds the queue and the message you sent no longer exist. When you delete a queue, you must wait at least 60 seconds before creating a queue with the same name. - */ - deleteQueue(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Gets attributes for the specified queue. To determine whether a queue is FIFO, you can check whether QueueName ends with the .fifo suffix. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - getQueueAttributes(params: SQS.Types.GetQueueAttributesRequest, callback?: (err: AWSError, data: SQS.Types.GetQueueAttributesResult) => void): Request; - /** - * Gets attributes for the specified queue. To determine whether a queue is FIFO, you can check whether QueueName ends with the .fifo suffix. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - getQueueAttributes(callback?: (err: AWSError, data: SQS.Types.GetQueueAttributesResult) => void): Request; - /** - * Returns the URL of an existing queue. This action provides a simple way to retrieve the URL of an Amazon SQS queue. To access a queue that belongs to another AWS account, use the QueueOwnerAWSAccountId parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue. For more information about shared queue access, see AddPermission or see Shared Queues in the Amazon SQS Developer Guide. - */ - getQueueUrl(params: SQS.Types.GetQueueUrlRequest, callback?: (err: AWSError, data: SQS.Types.GetQueueUrlResult) => void): Request; - /** - * Returns the URL of an existing queue. This action provides a simple way to retrieve the URL of an Amazon SQS queue. To access a queue that belongs to another AWS account, use the QueueOwnerAWSAccountId parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue. For more information about shared queue access, see AddPermission or see Shared Queues in the Amazon SQS Developer Guide. - */ - getQueueUrl(callback?: (err: AWSError, data: SQS.Types.GetQueueUrlResult) => void): Request; - /** - * Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead letter queue. For more information about using dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide. - */ - listDeadLetterSourceQueues(params: SQS.Types.ListDeadLetterSourceQueuesRequest, callback?: (err: AWSError, data: SQS.Types.ListDeadLetterSourceQueuesResult) => void): Request; - /** - * Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead letter queue. For more information about using dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide. - */ - listDeadLetterSourceQueues(callback?: (err: AWSError, data: SQS.Types.ListDeadLetterSourceQueuesResult) => void): Request; - /** - * Returns a list of your queues. The maximum number of queues that can be returned is 1,000. If you specify a value for the optional QueueNamePrefix parameter, only queues with a name that begins with the specified value are returned. - */ - listQueues(params: SQS.Types.ListQueuesRequest, callback?: (err: AWSError, data: SQS.Types.ListQueuesResult) => void): Request; - /** - * Returns a list of your queues. The maximum number of queues that can be returned is 1,000. If you specify a value for the optional QueueNamePrefix parameter, only queues with a name that begins with the specified value are returned. - */ - listQueues(callback?: (err: AWSError, data: SQS.Types.ListQueuesResult) => void): Request; - /** - * Deletes the messages in a queue specified by the QueueURL parameter. When you use the PurgeQueue action, you can't retrieve a message deleted from a queue. When you purge a queue, the message deletion process takes up to 60 seconds. All messages sent to the queue before calling the PurgeQueue action are deleted. Messages sent to the queue while it is being purged might be deleted. While the queue is being purged, messages sent to the queue before PurgeQueue is called might be received, but are deleted within the next minute. - */ - purgeQueue(params: SQS.Types.PurgeQueueRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the messages in a queue specified by the QueueURL parameter. When you use the PurgeQueue action, you can't retrieve a message deleted from a queue. When you purge a queue, the message deletion process takes up to 60 seconds. All messages sent to the queue before calling the PurgeQueue action are deleted. Messages sent to the queue while it is being purged might be deleted. While the queue is being purged, messages sent to the queue before PurgeQueue is called might be received, but are deleted within the next minute. - */ - purgeQueue(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Retrieves one or more messages (up to 10), from the specified queue. Using the WaitTimeSeconds parameter enables long-poll support. For more information, see Amazon SQS Long Polling in the Amazon SQS Developer Guide. Short poll is the default behavior where a weighted random set of machines is sampled on a ReceiveMessage call. Thus, only the messages on the sampled machines are returned. If the number of messages in the queue is small (fewer than 1,000), you most likely get fewer messages than you requested per ReceiveMessage call. If the number of messages in the queue is extremely small, you might not receive any messages in a particular ReceiveMessage response. If this happens, repeat the request. For each message returned, the response includes the following: The message body. An MD5 digest of the message body. For information about MD5, see RFC1321. The MessageId you received when you sent the message to the queue. The receipt handle. The message attributes. An MD5 digest of the message attributes. The receipt handle is the identifier you must provide when deleting the message. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide. You can provide the VisibilityTimeout parameter in your request. The parameter is applied to the messages that Amazon SQS returns in the response. If you don't include the parameter, the overall visibility timeout for the queue is used for the returned messages. For more information, see Visibility Timeout in the Amazon SQS Developer Guide. A message that isn't deleted or a message whose visibility isn't extended before the visibility timeout expires counts as a failed receive. Depending on the configuration of the queue, the message might be sent to the dead letter queue. In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. - */ - receiveMessage(params: SQS.Types.ReceiveMessageRequest, callback?: (err: AWSError, data: SQS.Types.ReceiveMessageResult) => void): Request; - /** - * Retrieves one or more messages (up to 10), from the specified queue. Using the WaitTimeSeconds parameter enables long-poll support. For more information, see Amazon SQS Long Polling in the Amazon SQS Developer Guide. Short poll is the default behavior where a weighted random set of machines is sampled on a ReceiveMessage call. Thus, only the messages on the sampled machines are returned. If the number of messages in the queue is small (fewer than 1,000), you most likely get fewer messages than you requested per ReceiveMessage call. If the number of messages in the queue is extremely small, you might not receive any messages in a particular ReceiveMessage response. If this happens, repeat the request. For each message returned, the response includes the following: The message body. An MD5 digest of the message body. For information about MD5, see RFC1321. The MessageId you received when you sent the message to the queue. The receipt handle. The message attributes. An MD5 digest of the message attributes. The receipt handle is the identifier you must provide when deleting the message. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide. You can provide the VisibilityTimeout parameter in your request. The parameter is applied to the messages that Amazon SQS returns in the response. If you don't include the parameter, the overall visibility timeout for the queue is used for the returned messages. For more information, see Visibility Timeout in the Amazon SQS Developer Guide. A message that isn't deleted or a message whose visibility isn't extended before the visibility timeout expires counts as a failed receive. Depending on the configuration of the queue, the message might be sent to the dead letter queue. In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. - */ - receiveMessage(callback?: (err: AWSError, data: SQS.Types.ReceiveMessageResult) => void): Request; - /** - * Revokes any permissions in the queue policy that matches the specified Label parameter. Only the owner of the queue can remove permissions. - */ - removePermission(params: SQS.Types.RemovePermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Revokes any permissions in the queue policy that matches the specified Label parameter. Only the owner of the queue can remove permissions. - */ - removePermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Delivers a message to the specified queue. A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed: #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF Any characters not included in this list will be rejected. For more information, see the W3C specification for characters. - */ - sendMessage(params: SQS.Types.SendMessageRequest, callback?: (err: AWSError, data: SQS.Types.SendMessageResult) => void): Request; - /** - * Delivers a message to the specified queue. A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed: #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF Any characters not included in this list will be rejected. For more information, see the W3C specification for characters. - */ - sendMessage(callback?: (err: AWSError, data: SQS.Types.SendMessageResult) => void): Request; - /** - * Delivers up to ten messages to the specified queue. This is a batch version of SendMessage. For a FIFO queue, multiple messages within a single batch are enqueued in the order they are sent. The result of sending each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200. The maximum allowed individual message size and the maximum total payload size (the sum of the individual lengths of all of the batched messages) are both 256 KB (262,144 bytes). A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed: #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF Any characters not included in this list will be rejected. For more information, see the W3C specification for characters. If you don't specify the DelaySeconds parameter for an entry, Amazon SQS uses the default value for the queue. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - sendMessageBatch(params: SQS.Types.SendMessageBatchRequest, callback?: (err: AWSError, data: SQS.Types.SendMessageBatchResult) => void): Request; - /** - * Delivers up to ten messages to the specified queue. This is a batch version of SendMessage. For a FIFO queue, multiple messages within a single batch are enqueued in the order they are sent. The result of sending each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200. The maximum allowed individual message size and the maximum total payload size (the sum of the individual lengths of all of the batched messages) are both 256 KB (262,144 bytes). A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed: #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF Any characters not included in this list will be rejected. For more information, see the W3C specification for characters. If you don't specify the DelaySeconds parameter for an entry, Amazon SQS uses the default value for the queue. Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this: &Attribute.1=this &Attribute.2=that - */ - sendMessageBatch(callback?: (err: AWSError, data: SQS.Types.SendMessageBatchResult) => void): Request; - /** - * Sets the value of one or more queue attributes. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system. Changes made to the MessageRetentionPeriod attribute can take up to 15 minutes. In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. - */ - setQueueAttributes(params: SQS.Types.SetQueueAttributesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Sets the value of one or more queue attributes. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system. Changes made to the MessageRetentionPeriod attribute can take up to 15 minutes. In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. - */ - setQueueAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace SQS { - export type AWSAccountIdList = String[]; - export type ActionNameList = String[]; - export interface AddPermissionRequest { - /** - * The URL of the Amazon SQS queue to which permissions are added. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * The unique identification of the permission you're setting (for example, AliceSendMessage). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-), and underscores (_). - */ - Label: String; - /** - * The AWS account number of the principal who is given permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS. For information about locating the AWS account identification, see Your AWS Identifiers in the Amazon SQS Developer Guide. - */ - AWSAccountIds: AWSAccountIdList; - /** - * The action the client wants to allow for the specified principal. The following values are valid: * ChangeMessageVisibility DeleteMessage GetQueueAttributes GetQueueUrl ReceiveMessage SendMessage For more information about these actions, see Understanding Permissions in the Amazon SQS Developer Guide. Specifying SendMessage, DeleteMessage, or ChangeMessageVisibility for ActionName.n also grants permissions for the corresponding batch versions of those actions: SendMessageBatch, DeleteMessageBatch, and ChangeMessageVisibilityBatch. - */ - Actions: ActionNameList; - } - export type AttributeNameList = QueueAttributeName[]; - export interface BatchResultErrorEntry { - /** - * The Id of an entry in a batch request. - */ - Id: String; - /** - * Specifies whether the error happened due to the sender's fault. - */ - SenderFault: Boolean; - /** - * An error code representing why the action failed on this entry. - */ - Code: String; - /** - * A message explaining why the action failed on this entry. - */ - Message?: String; - } - export type BatchResultErrorEntryList = BatchResultErrorEntry[]; - export type Binary = Buffer|Uint8Array|Blob|string; - export type BinaryList = Binary[]; - export type Boolean = boolean; - export interface ChangeMessageVisibilityBatchRequest { - /** - * The URL of the Amazon SQS queue whose messages' visibility is changed. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * A list of receipt handles of the messages for which the visibility timeout must be changed. - */ - Entries: ChangeMessageVisibilityBatchRequestEntryList; - } - export interface ChangeMessageVisibilityBatchRequestEntry { - /** - * An identifier for this particular receipt handle used to communicate the result. The Ids of a batch request need to be unique within a request - */ - Id: String; - /** - * A receipt handle. - */ - ReceiptHandle: String; - /** - * The new value (in seconds) for the message's visibility timeout. - */ - VisibilityTimeout?: Integer; - } - export type ChangeMessageVisibilityBatchRequestEntryList = ChangeMessageVisibilityBatchRequestEntry[]; - export interface ChangeMessageVisibilityBatchResult { - /** - * A list of ChangeMessageVisibilityBatchResultEntry items. - */ - Successful: ChangeMessageVisibilityBatchResultEntryList; - /** - * A list of BatchResultErrorEntry items. - */ - Failed: BatchResultErrorEntryList; - } - export interface ChangeMessageVisibilityBatchResultEntry { - /** - * Represents a message whose visibility timeout has been changed successfully. - */ - Id: String; - } - export type ChangeMessageVisibilityBatchResultEntryList = ChangeMessageVisibilityBatchResultEntry[]; - export interface ChangeMessageVisibilityRequest { - /** - * The URL of the Amazon SQS queue whose message's visibility is changed. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by the ReceiveMessage action. - */ - ReceiptHandle: String; - /** - * The new value for the message's visibility timeout (in seconds). Values values: 0 to 43200. Maximum: 12 hours. - */ - VisibilityTimeout: Integer; - } - export interface CreateQueueRequest { - /** - * The name of the new queue. The following limits apply to this name: A queue name can have up to 80 characters. Valid values: alphanumeric characters, hyphens (-), and underscores (_). A FIFO queue name must end with the .fifo suffix. Queue names are case-sensitive. - */ - QueueName: String; - /** - * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the CreateQueue action uses: DelaySeconds - The length of time, in seconds, for which the delivery of all messages in the queue is delayed. Valid values: An integer from 0 to 900 seconds (15 minutes). The default is 0 (zero). MaximumMessageSize - The limit of how many bytes a message can contain before Amazon SQS rejects it. Valid values: An integer from 1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). The default is 262,144 (256 KiB). MessageRetentionPeriod - The length of time, in seconds, for which Amazon SQS retains a message. Valid values: An integer from 60 seconds (1 minute) to 1,209,600 seconds (14 days). The default is 345,600 (4 days). Policy - The queue's policy. A valid AWS policy. For more information about policy structure, see Overview of AWS IAM Policies in the Amazon IAM User Guide. ReceiveMessageWaitTimeSeconds - The length of time, in seconds, for which a ReceiveMessage action waits for a message to arrive. Valid values: An integer from 0 to 20 (seconds). The default is 0 (zero). RedrivePolicy - The parameters for the dead letter queue functionality of the source queue. For more information about the redrive policy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide. The dead letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead letter queue of a standard queue must also be a standard queue. VisibilityTimeout - The visibility timeout for the queue. Valid values: An integer from 0 to 43,200 (12 hours). The default is 30. For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide. The following attributes apply only to server-side-encryption: KmsMasterKeyId - The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see Key Terms. While the alias of the AWS-managed CMK for Amazon SQS is always alias/aws/sqs, the alias of a custom CMK can, for example, be alias/aws/sqs. For more examples, see KeyId in the AWS Key Management Service API Reference. KmsDataKeyReusePeriodSeconds - The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes). A shorter time period provides better security but results in more calls to KMS which incur charges after Free Tier. For more information, see How Does the Data Key Reuse Period Work?. The following attributes apply only to FIFO (first-in-first-out) queues: FifoQueue - Designates a queue as FIFO. Valid values: true, false. You can provide this attribute only during queue creation. You can't change it for an existing queue. When you set this attribute, you must also provide the MessageGroupId for your messages explicitly. For more information, see FIFO Queue Logic in the Amazon SQS Developer Guide. ContentBasedDeduplication - Enables content-based deduplication. Valid values: true, false. For more information, see Exactly-Once Processing in the Amazon SQS Developer Guide. Every message must have a unique MessageDeduplicationId, You may provide a MessageDeduplicationId explicitly. If you aren't able to provide a MessageDeduplicationId and you enable ContentBasedDeduplication for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). If you don't provide a MessageDeduplicationId and the queue doesn't have ContentBasedDeduplication set, the action fails with an error. If the queue has ContentBasedDeduplication set, your MessageDeduplicationId overrides the generated one. When ContentBasedDeduplication is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered. If you send one message with ContentBasedDeduplication enabled and then another message with a MessageDeduplicationId that is the same as the one generated for the first MessageDeduplicationId, the two messages are treated as duplicates and only one copy of the message is delivered. Any other valid special request parameters (such as the following) are ignored: ApproximateNumberOfMessages ApproximateNumberOfMessagesDelayed ApproximateNumberOfMessagesNotVisible CreatedTimestamp LastModifiedTimestamp QueueArn - */ - Attributes?: QueueAttributeMap; - } - export interface CreateQueueResult { - /** - * The URL of the created Amazon SQS queue. - */ - QueueUrl?: String; - } - export interface DeleteMessageBatchRequest { - /** - * The URL of the Amazon SQS queue from which messages are deleted. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * A list of receipt handles for the messages to be deleted. - */ - Entries: DeleteMessageBatchRequestEntryList; - } - export interface DeleteMessageBatchRequestEntry { - /** - * An identifier for this particular receipt handle. This is used to communicate the result. The Ids of a batch request need to be unique within a request - */ - Id: String; - /** - * A receipt handle. - */ - ReceiptHandle: String; - } - export type DeleteMessageBatchRequestEntryList = DeleteMessageBatchRequestEntry[]; - export interface DeleteMessageBatchResult { - /** - * A list of DeleteMessageBatchResultEntry items. - */ - Successful: DeleteMessageBatchResultEntryList; - /** - * A list of BatchResultErrorEntry items. - */ - Failed: BatchResultErrorEntryList; - } - export interface DeleteMessageBatchResultEntry { - /** - * Represents a successfully deleted message. - */ - Id: String; - } - export type DeleteMessageBatchResultEntryList = DeleteMessageBatchResultEntry[]; - export interface DeleteMessageRequest { - /** - * The URL of the Amazon SQS queue from which messages are deleted. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * The receipt handle associated with the message to delete. - */ - ReceiptHandle: String; - } - export interface DeleteQueueRequest { - /** - * The URL of the Amazon SQS queue to delete. Queue URLs are case-sensitive. - */ - QueueUrl: String; - } - export interface GetQueueAttributesRequest { - /** - * The URL of the Amazon SQS queue whose attribute information is retrieved. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * A list of attributes for which to retrieve information. In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. The following attributes are supported: All - Returns all values. ApproximateNumberOfMessages - Returns the approximate number of visible messages in a queue. For more information, see Resources Required to Process Messages in the Amazon SQS Developer Guide. ApproximateNumberOfMessagesDelayed - Returns the approximate number of messages that are waiting to be added to the queue. ApproximateNumberOfMessagesNotVisible - Returns the approximate number of messages that have not timed-out and aren't deleted. For more information, see Resources Required to Process Messages in the Amazon SQS Developer Guide. CreatedTimestamp - Returns the time when the queue was created in seconds (epoch time). DelaySeconds - Returns the default delay on the queue in seconds. LastModifiedTimestamp - Returns the time when the queue was last changed in seconds (epoch time). MaximumMessageSize - Returns the limit of how many bytes a message can contain before Amazon SQS rejects it. MessageRetentionPeriod - Returns the length of time, in seconds, for which Amazon SQS retains a message. Policy - Returns the policy of the queue. QueueArn - Returns the Amazon resource name (ARN) of the queue. ReceiveMessageWaitTimeSeconds - Returns the length of time, in seconds, for which the ReceiveMessage action waits for a message to arrive. RedrivePolicy - Returns the parameters for dead letter queue functionality of the source queue. For more information about the redrive policy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide. VisibilityTimeout - Returns the visibility timeout for the queue. For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide. The following attributes apply only to server-side-encryption: KmsMasterKeyId - Returns the ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see Key Terms. KmsDataKeyReusePeriodSeconds - Returns the length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. The following attributes apply only to FIFO (first-in-first-out) queues: FifoQueue - Returns whether the queue is FIFO. For more information, see FIFO Queue Logic in the Amazon SQS Developer Guide. To determine whether a queue is FIFO, you can check whether QueueName ends with the .fifo suffix. ContentBasedDeduplication - Returns whether content-based deduplication is enabled for the queue. For more information, see Exactly-Once Processing in the Amazon SQS Developer Guide. - */ - AttributeNames?: AttributeNameList; - } - export interface GetQueueAttributesResult { - /** - * A map of attributes to their respective values. - */ - Attributes?: QueueAttributeMap; - } - export interface GetQueueUrlRequest { - /** - * The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (-), and underscores (_). Queue names are case-sensitive. - */ - QueueName: String; - /** - * The AWS account ID of the account that created the queue. - */ - QueueOwnerAWSAccountId?: String; - } - export interface GetQueueUrlResult { - /** - * The URL of the queue. - */ - QueueUrl?: String; - } - export type Integer = number; - export interface ListDeadLetterSourceQueuesRequest { - /** - * The URL of a dead letter queue. Queue URLs are case-sensitive. - */ - QueueUrl: String; - } - export interface ListDeadLetterSourceQueuesResult { - /** - * A list of source queue URLs that have the RedrivePolicy queue attribute configured with a dead letter queue. - */ - queueUrls: QueueUrlList; - } - export interface ListQueuesRequest { - /** - * A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned. Queue names are case-sensitive. - */ - QueueNamePrefix?: String; - } - export interface ListQueuesResult { - /** - * A list of queue URLs, up to 1,000 entries. - */ - QueueUrls?: QueueUrlList; - } - export interface Message { - /** - * A unique identifier for the message. A MessageIdis considered unique across all AWS accounts for an extended period of time. - */ - MessageId?: String; - /** - * An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message. - */ - ReceiptHandle?: String; - /** - * An MD5 digest of the non-URL-encoded message body string. - */ - MD5OfBody?: String; - /** - * The message's contents (not URL-encoded). - */ - Body?: String; - /** - * SenderId, SentTimestamp, ApproximateReceiveCount, and/or ApproximateFirstReceiveTimestamp. SentTimestamp and ApproximateFirstReceiveTimestamp are each returned as an integer representing the epoch time in milliseconds. - */ - Attributes?: MessageSystemAttributeMap; - /** - * An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321. - */ - MD5OfMessageAttributes?: String; - /** - * Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items and Validation in the Amazon SQS Developer Guide. - */ - MessageAttributes?: MessageBodyAttributeMap; - } - export type MessageAttributeName = string; - export type MessageAttributeNameList = MessageAttributeName[]; - export interface MessageAttributeValue { - /** - * Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters. - */ - StringValue?: String; - /** - * Binary type attributes can store any binary data, such as compressed data, encrypted data, or images. - */ - BinaryValue?: Binary; - /** - * Not implemented. Reserved for future use. - */ - StringListValues?: StringList; - /** - * Not implemented. Reserved for future use. - */ - BinaryListValues?: BinaryList; - /** - * Amazon SQS supports the following logical data types: String, Number, and Binary. For the Number data type, you must use StringValue. You can also append custom labels. For more information, see Message Attribute Data Types and Validation in the Amazon SQS Developer Guide. - */ - DataType: String; - } - export type MessageBodyAttributeMap = {[key: string]: MessageAttributeValue}; - export type MessageList = Message[]; - export type MessageSystemAttributeMap = {[key: string]: String}; - export type MessageSystemAttributeName = "SenderId"|"SentTimestamp"|"ApproximateReceiveCount"|"ApproximateFirstReceiveTimestamp"|"SequenceNumber"|"MessageDeduplicationId"|"MessageGroupId"|string; - export interface PurgeQueueRequest { - /** - * The URL of the queue from which the PurgeQueue action deletes messages. Queue URLs are case-sensitive. - */ - QueueUrl: String; - } - export type QueueAttributeMap = {[key: string]: String}; - export type QueueAttributeName = "All"|"Policy"|"VisibilityTimeout"|"MaximumMessageSize"|"MessageRetentionPeriod"|"ApproximateNumberOfMessages"|"ApproximateNumberOfMessagesNotVisible"|"CreatedTimestamp"|"LastModifiedTimestamp"|"QueueArn"|"ApproximateNumberOfMessagesDelayed"|"DelaySeconds"|"ReceiveMessageWaitTimeSeconds"|"RedrivePolicy"|"FifoQueue"|"ContentBasedDeduplication"|"KmsMasterKeyId"|"KmsDataKeyReusePeriodSeconds"|string; - export type QueueUrlList = String[]; - export interface ReceiveMessageRequest { - /** - * The URL of the Amazon SQS queue from which messages are received. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * A list of attributes that need to be returned along with each message. These attributes include: All - Returns all values. ApproximateFirstReceiveTimestamp - Returns the time the message was first received from the queue (epoch time in milliseconds). ApproximateReceiveCount - Returns the number of times a message has been received from the queue but not deleted. SenderId For an IAM user, returns the IAM user ID, for example ABCDEFGHI1JKLMNOPQ23R. For an IAM role, returns the IAM role ID, for example ABCDE1F2GH3I4JK5LMNOP:i-a123b456. SentTimestamp - Returns the time the message was sent to the queue (epoch time in milliseconds). MessageDeduplicationId - Returns the value provided by the sender that calls the SendMessage action. MessageGroupId - Returns the value provided by the sender that calls the SendMessage action. Messages with the same MessageGroupId are returned in sequence. SequenceNumber - Returns the value provided by Amazon SQS. Any other valid special request parameters (such as the following) are ignored: ApproximateNumberOfMessages ApproximateNumberOfMessagesDelayed ApproximateNumberOfMessagesNotVisible CreatedTimestamp ContentBasedDeduplication DelaySeconds FifoQueue LastModifiedTimestamp MaximumMessageSize MessageRetentionPeriod Policy QueueArn, ReceiveMessageWaitTimeSeconds RedrivePolicy VisibilityTimeout - */ - AttributeNames?: AttributeNameList; - /** - * The name of the message attribute, where N is the index. The name can contain alphanumeric characters and the underscore (_), hyphen (-), and period (.). The name is case-sensitive and must be unique among all attribute names for the message. The name must not start with AWS-reserved prefixes such as AWS. or Amazon. (or any casing variants). The name must not start or end with a period (.), and it should not have periods in succession (..). The name can be up to 256 characters long. When using ReceiveMessage, you can send a list of attribute names to receive, or you can return all of the attributes by specifying All or .* in your request. You can also use all message attributes starting with a prefix, for example bar.*. - */ - MessageAttributeNames?: MessageAttributeNameList; - /** - * The maximum number of messages to return. Amazon SQS never returns more messages than this value (however, fewer messages might be returned). Valid values are 1 to 10. Default is 1. - */ - MaxNumberOfMessages?: Integer; - /** - * The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request. - */ - VisibilityTimeout?: Integer; - /** - * The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. If a message is available, the call returns sooner than WaitTimeSeconds. - */ - WaitTimeSeconds?: Integer; - /** - * This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of ReceiveMessage calls. If a networking issue occurs after a ReceiveMessage action, and instead of a response you receive a generic error, you can retry the same action with an identical ReceiveRequestAttemptId to retrieve the same set of messages, even if their visibility timeout has not yet expired. You can use ReceiveRequestAttemptId only for 5 minutes after a ReceiveMessage action. When you set FifoQueue, a caller of the ReceiveMessage action can provide a ReceiveRequestAttemptId explicitly. If a caller of the ReceiveMessage action doesn't provide a ReceiveRequestAttemptId, Amazon SQS generates a ReceiveRequestAttemptId. You can retry the ReceiveMessage action with the same ReceiveRequestAttemptId if none of the messages have been modified (deleted or had their visibility changes). During a visibility timeout, subsequent calls with the same ReceiveRequestAttemptId return the same messages and receipt handles. If a retry occurs within the deduplication interval, it resets the visibility timeout. For more information, see Visibility Timeout in the Amazon Simple Queue Service Developer Guide. If a caller of the ReceiveMessage action is still processing messages when the visibility timeout expires and messages become visible, another worker reading from the same queue can receive the same messages and therefore process duplicates. Also, if a reader whose message processing time is longer than the visibility timeout tries to delete the processed messages, the action fails with an error. To mitigate this effect, ensure that your application observes a safe threshold before the visibility timeout expires and extend the visibility timeout as necessary. While messages with a particular MessageGroupId are invisible, no more messages belonging to the same MessageGroupId are returned until the visibility timeout expires. You can still receive messages with another MessageGroupId as long as it is also visible. If a caller of ReceiveMessage can't track the ReceiveRequestAttemptId, no retries work until the original visibility timeout expires. As a result, delays might occur but the messages in the queue remain in a strict order. The length of ReceiveRequestAttemptId is 128 characters. ReceiveRequestAttemptId can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). For best practices of using ReceiveRequestAttemptId, see Using the ReceiveRequestAttemptId Request Parameter in the Amazon Simple Queue Service Developer Guide. - */ - ReceiveRequestAttemptId?: String; - } - export interface ReceiveMessageResult { - /** - * A list of messages. - */ - Messages?: MessageList; - } - export interface RemovePermissionRequest { - /** - * The URL of the Amazon SQS queue from which permissions are removed. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * The identification of the permission to remove. This is the label added using the AddPermission action. - */ - Label: String; - } - export interface SendMessageBatchRequest { - /** - * The URL of the Amazon SQS queue to which batched messages are sent. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * A list of SendMessageBatchRequestEntry items. - */ - Entries: SendMessageBatchRequestEntryList; - } - export interface SendMessageBatchRequestEntry { - /** - * An identifier for a message in this batch used to communicate the result. The Ids of a batch request need to be unique within a request - */ - Id: String; - /** - * The body of the message. - */ - MessageBody: String; - /** - * The length of time, in seconds, for which a specific message is delayed. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue is applied. When you set FifoQueue, you can't set DelaySeconds per message. You can set this parameter only on a queue level. - */ - DelaySeconds?: Integer; - /** - * Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items and Validation in the Amazon SQS Developer Guide. - */ - MessageAttributes?: MessageBodyAttributeMap; - /** - * This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of messages within a 5-minute minimum deduplication interval. If a message with a particular MessageDeduplicationId is sent successfully, subsequent messages with the same MessageDeduplicationId are accepted successfully but aren't delivered. For more information, see Exactly-Once Processing in the Amazon SQS Developer Guide. Every message must have a unique MessageDeduplicationId, You may provide a MessageDeduplicationId explicitly. If you aren't able to provide a MessageDeduplicationId and you enable ContentBasedDeduplication for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). If you don't provide a MessageDeduplicationId and the queue doesn't have ContentBasedDeduplication set, the action fails with an error. If the queue has ContentBasedDeduplication set, your MessageDeduplicationId overrides the generated one. When ContentBasedDeduplication is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered. If you send one message with ContentBasedDeduplication enabled and then another message with a MessageDeduplicationId that is the same as the one generated for the first MessageDeduplicationId, the two messages are treated as duplicates and only one copy of the message is delivered. The MessageDeduplicationId is available to the recipient of the message (this can be useful for troubleshooting delivery issues). If a message is sent successfully but the acknowledgement is lost and the message is resent with the same MessageDeduplicationId after the deduplication interval, Amazon SQS can't detect duplicate messages. The length of MessageDeduplicationId is 128 characters. MessageDeduplicationId can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). For best practices of using MessageDeduplicationId, see Using the MessageDeduplicationId Property in the Amazon Simple Queue Service Developer Guide. - */ - MessageDeduplicationId?: String; - /** - * This parameter applies only to FIFO (first-in-first-out) queues. The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use MessageGroupId values (for example, session data for multiple users). In this scenario, multiple readers can process the queue, but the session data of each user is processed in a FIFO fashion. You must associate a non-empty MessageGroupId with a message. If you don't provide a MessageGroupId, the action fails. ReceiveMessage might return messages with multiple MessageGroupId values. For each MessageGroupId, the messages are sorted by time sent. The caller can't specify a MessageGroupId. The length of MessageGroupId is 128 characters. Valid values are alphanumeric characters and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). For best practices of using MessageGroupId, see Using the MessageGroupId Property in the Amazon Simple Queue Service Developer Guide. MessageGroupId is required for FIFO queues. You can't use it for Standard queues. - */ - MessageGroupId?: String; - } - export type SendMessageBatchRequestEntryList = SendMessageBatchRequestEntry[]; - export interface SendMessageBatchResult { - /** - * A list of SendMessageBatchResultEntry items. - */ - Successful: SendMessageBatchResultEntryList; - /** - * A list of BatchResultErrorEntry items with error details about each message that can't be enqueued. - */ - Failed: BatchResultErrorEntryList; - } - export interface SendMessageBatchResultEntry { - /** - * An identifier for the message in this batch. - */ - Id: String; - /** - * An identifier for the message. - */ - MessageId: String; - /** - * An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321. - */ - MD5OfMessageBody: String; - /** - * An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321. - */ - MD5OfMessageAttributes?: String; - /** - * This parameter applies only to FIFO (first-in-first-out) queues. The large, non-consecutive number that Amazon SQS assigns to each message. The length of SequenceNumber is 128 bits. As SequenceNumber continues to increase for a particular MessageGroupId. - */ - SequenceNumber?: String; - } - export type SendMessageBatchResultEntryList = SendMessageBatchResultEntry[]; - export interface SendMessageRequest { - /** - * The URL of the Amazon SQS queue to which a message is sent. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * The message to send. The maximum string size is 256 KB. A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed: #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF Any characters not included in this list will be rejected. For more information, see the W3C specification for characters. - */ - MessageBody: String; - /** - * The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue applies. When you set FifoQueue, you can't set DelaySeconds per message. You can set this parameter only on a queue level. - */ - DelaySeconds?: Integer; - /** - * Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items and Validation in the Amazon SQS Developer Guide. - */ - MessageAttributes?: MessageBodyAttributeMap; - /** - * This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of sent messages. If a message with a particular MessageDeduplicationId is sent successfully, any messages sent with the same MessageDeduplicationId are accepted successfully but aren't delivered during the 5-minute deduplication interval. For more information, see Exactly-Once Processing in the Amazon SQS Developer Guide. Every message must have a unique MessageDeduplicationId, You may provide a MessageDeduplicationId explicitly. If you aren't able to provide a MessageDeduplicationId and you enable ContentBasedDeduplication for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). If you don't provide a MessageDeduplicationId and the queue doesn't have ContentBasedDeduplication set, the action fails with an error. If the queue has ContentBasedDeduplication set, your MessageDeduplicationId overrides the generated one. When ContentBasedDeduplication is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered. If you send one message with ContentBasedDeduplication enabled and then another message with a MessageDeduplicationId that is the same as the one generated for the first MessageDeduplicationId, the two messages are treated as duplicates and only one copy of the message is delivered. The MessageDeduplicationId is available to the recipient of the message (this can be useful for troubleshooting delivery issues). If a message is sent successfully but the acknowledgement is lost and the message is resent with the same MessageDeduplicationId after the deduplication interval, Amazon SQS can't detect duplicate messages. The length of MessageDeduplicationId is 128 characters. MessageDeduplicationId can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). For best practices of using MessageDeduplicationId, see Using the MessageDeduplicationId Property in the Amazon Simple Queue Service Developer Guide. - */ - MessageDeduplicationId?: String; - /** - * This parameter applies only to FIFO (first-in-first-out) queues. The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use MessageGroupId values (for example, session data for multiple users). In this scenario, multiple readers can process the queue, but the session data of each user is processed in a FIFO fashion. You must associate a non-empty MessageGroupId with a message. If you don't provide a MessageGroupId, the action fails. ReceiveMessage might return messages with multiple MessageGroupId values. For each MessageGroupId, the messages are sorted by time sent. The caller can't specify a MessageGroupId. The length of MessageGroupId is 128 characters. Valid values are alphanumeric characters and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). For best practices of using MessageGroupId, see Using the MessageGroupId Property in the Amazon Simple Queue Service Developer Guide. MessageGroupId is required for FIFO queues. You can't use it for Standard queues. - */ - MessageGroupId?: String; - } - export interface SendMessageResult { - /** - * An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321. - */ - MD5OfMessageBody?: String; - /** - * An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321. - */ - MD5OfMessageAttributes?: String; - /** - * An attribute containing the MessageId of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide. - */ - MessageId?: String; - /** - * This parameter applies only to FIFO (first-in-first-out) queues. The large, non-consecutive number that Amazon SQS assigns to each message. The length of SequenceNumber is 128 bits. SequenceNumber continues to increase for a particular MessageGroupId. - */ - SequenceNumber?: String; - } - export interface SetQueueAttributesRequest { - /** - * The URL of the Amazon SQS queue whose attributes are set. Queue URLs are case-sensitive. - */ - QueueUrl: String; - /** - * A map of attributes to set. The following lists the names, descriptions, and values of the special request parameters that the SetQueueAttributes action uses: DelaySeconds - The length of time, in seconds, for which the delivery of all messages in the queue is delayed. Valid values: An integer from 0 to 900 (15 minutes). The default is 0 (zero). MaximumMessageSize - The limit of how many bytes a message can contain before Amazon SQS rejects it. Valid values: An integer from 1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). The default is 262,144 (256 KiB). MessageRetentionPeriod - The length of time, in seconds, for which Amazon SQS retains a message. Valid values: An integer representing seconds, from 60 (1 minute) to 1,209,600 (14 days). The default is 345,600 (4 days). Policy - The queue's policy. A valid AWS policy. For more information about policy structure, see Overview of AWS IAM Policies in the Amazon IAM User Guide. ReceiveMessageWaitTimeSeconds - The length of time, in seconds, for which a ReceiveMessage action waits for a message to arrive. Valid values: an integer from 0 to 20 (seconds). The default is 0. RedrivePolicy - The parameters for the dead letter queue functionality of the source queue. For more information about the redrive policy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide. The dead letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead letter queue of a standard queue must also be a standard queue. VisibilityTimeout - The visibility timeout for the queue. Valid values: an integer from 0 to 43,200 (12 hours). The default is 30. For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide. The following attributes apply only to server-side-encryption: KmsMasterKeyId - The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see Key Terms. While the alias of the AWS-managed CMK for Amazon SQS is always alias/aws/sqs, the alias of a custom CMK can, for example, be alias/aws/sqs. For more examples, see KeyId in the AWS Key Management Service API Reference. KmsDataKeyReusePeriodSeconds - The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes). A shorter time period provides better security but results in more calls to KMS which incur charges after Free Tier. For more information, see How Does the Data Key Reuse Period Work?. The following attribute applies only to FIFO (first-in-first-out) queues: ContentBasedDeduplication - Enables content-based deduplication. For more information, see Exactly-Once Processing in the Amazon SQS Developer Guide. Every message must have a unique MessageDeduplicationId, You may provide a MessageDeduplicationId explicitly. If you aren't able to provide a MessageDeduplicationId and you enable ContentBasedDeduplication for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). If you don't provide a MessageDeduplicationId and the queue doesn't have ContentBasedDeduplication set, the action fails with an error. If the queue has ContentBasedDeduplication set, your MessageDeduplicationId overrides the generated one. When ContentBasedDeduplication is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered. If you send one message with ContentBasedDeduplication enabled and then another message with a MessageDeduplicationId that is the same as the one generated for the first MessageDeduplicationId, the two messages are treated as duplicates and only one copy of the message is delivered. Any other valid special request parameters (such as the following) are ignored: ApproximateNumberOfMessages ApproximateNumberOfMessagesDelayed ApproximateNumberOfMessagesNotVisible CreatedTimestamp LastModifiedTimestamp QueueArn - */ - Attributes: QueueAttributeMap; - } - export type String = string; - export type StringList = String[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2012-11-05"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the SQS client. - */ - export import Types = SQS; -} -export = SQS; diff --git a/src/node_modules/aws-sdk/clients/sqs.js b/src/node_modules/aws-sdk/clients/sqs.js deleted file mode 100644 index ec547c7..0000000 --- a/src/node_modules/aws-sdk/clients/sqs.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['sqs'] = {}; -AWS.SQS = Service.defineService('sqs', ['2012-11-05']); -require('../lib/services/sqs'); -Object.defineProperty(apiLoader.services['sqs'], '2012-11-05', { - get: function get() { - var model = require('../apis/sqs-2012-11-05.min.json'); - model.paginators = require('../apis/sqs-2012-11-05.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SQS; diff --git a/src/node_modules/aws-sdk/clients/ssm.d.ts b/src/node_modules/aws-sdk/clients/ssm.d.ts deleted file mode 100644 index 8469e6e..0000000 --- a/src/node_modules/aws-sdk/clients/ssm.d.ts +++ /dev/null @@ -1,4933 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class SSM extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: SSM.Types.ClientConfiguration) - config: Config & SSM.Types.ClientConfiguration; - /** - * Adds or overwrites one or more tags for the specified resource. Tags are metadata that you assign to your managed instances, Maintenance Windows, or Parameter Store parameters. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. For example, you could define a set of tags for your account's managed instances that helps you track each instance's owner and stack level. For example: Key=Owner and Value=DbAdmin, SysAdmin, or Dev. Or Key=Stack and Value=Production, Pre-Production, or Test. Each resource can have a maximum of 10 tags. We recommend that you devise a set of tag keys that meets your needs for each resource type. Using a consistent set of tag keys makes it easier for you to manage your resources. You can search and filter the resources based on the tags you add. Tags don't have any semantic meaning to Amazon EC2 and are interpreted strictly as a string of characters. For more information about tags, see Tagging Your Amazon EC2 Resources in the Amazon EC2 User Guide. - */ - addTagsToResource(params: SSM.Types.AddTagsToResourceRequest, callback?: (err: AWSError, data: SSM.Types.AddTagsToResourceResult) => void): Request; - /** - * Adds or overwrites one or more tags for the specified resource. Tags are metadata that you assign to your managed instances, Maintenance Windows, or Parameter Store parameters. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. For example, you could define a set of tags for your account's managed instances that helps you track each instance's owner and stack level. For example: Key=Owner and Value=DbAdmin, SysAdmin, or Dev. Or Key=Stack and Value=Production, Pre-Production, or Test. Each resource can have a maximum of 10 tags. We recommend that you devise a set of tag keys that meets your needs for each resource type. Using a consistent set of tag keys makes it easier for you to manage your resources. You can search and filter the resources based on the tags you add. Tags don't have any semantic meaning to Amazon EC2 and are interpreted strictly as a string of characters. For more information about tags, see Tagging Your Amazon EC2 Resources in the Amazon EC2 User Guide. - */ - addTagsToResource(callback?: (err: AWSError, data: SSM.Types.AddTagsToResourceResult) => void): Request; - /** - * Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped. - */ - cancelCommand(params: SSM.Types.CancelCommandRequest, callback?: (err: AWSError, data: SSM.Types.CancelCommandResult) => void): Request; - /** - * Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped. - */ - cancelCommand(callback?: (err: AWSError, data: SSM.Types.CancelCommandResult) => void): Request; - /** - * Registers your on-premises server or virtual machine with Amazon EC2 so that you can manage these resources using Run Command. An on-premises server or virtual machine that has been registered with EC2 is called a managed instance. For more information about activations, see Setting Up Systems Manager in Hybrid Environments. - */ - createActivation(params: SSM.Types.CreateActivationRequest, callback?: (err: AWSError, data: SSM.Types.CreateActivationResult) => void): Request; - /** - * Registers your on-premises server or virtual machine with Amazon EC2 so that you can manage these resources using Run Command. An on-premises server or virtual machine that has been registered with EC2 is called a managed instance. For more information about activations, see Setting Up Systems Manager in Hybrid Environments. - */ - createActivation(callback?: (err: AWSError, data: SSM.Types.CreateActivationResult) => void): Request; - /** - * Associates the specified Systems Manager document with the specified instances or targets. When you associate a document with one or more instances using instance IDs or tags, the SSM Agent running on the instance processes the document and configures the instance as specified. If you associate a document with an instance that already has an associated document, the system throws the AssociationAlreadyExists exception. - */ - createAssociation(params: SSM.Types.CreateAssociationRequest, callback?: (err: AWSError, data: SSM.Types.CreateAssociationResult) => void): Request; - /** - * Associates the specified Systems Manager document with the specified instances or targets. When you associate a document with one or more instances using instance IDs or tags, the SSM Agent running on the instance processes the document and configures the instance as specified. If you associate a document with an instance that already has an associated document, the system throws the AssociationAlreadyExists exception. - */ - createAssociation(callback?: (err: AWSError, data: SSM.Types.CreateAssociationResult) => void): Request; - /** - * Associates the specified Systems Manager document with the specified instances or targets. When you associate a document with one or more instances using instance IDs or tags, the SSM Agent running on the instance processes the document and configures the instance as specified. If you associate a document with an instance that already has an associated document, the system throws the AssociationAlreadyExists exception. - */ - createAssociationBatch(params: SSM.Types.CreateAssociationBatchRequest, callback?: (err: AWSError, data: SSM.Types.CreateAssociationBatchResult) => void): Request; - /** - * Associates the specified Systems Manager document with the specified instances or targets. When you associate a document with one or more instances using instance IDs or tags, the SSM Agent running on the instance processes the document and configures the instance as specified. If you associate a document with an instance that already has an associated document, the system throws the AssociationAlreadyExists exception. - */ - createAssociationBatch(callback?: (err: AWSError, data: SSM.Types.CreateAssociationBatchResult) => void): Request; - /** - * Creates a Systems Manager document. After you create a document, you can use CreateAssociation to associate it with one or more running instances. - */ - createDocument(params: SSM.Types.CreateDocumentRequest, callback?: (err: AWSError, data: SSM.Types.CreateDocumentResult) => void): Request; - /** - * Creates a Systems Manager document. After you create a document, you can use CreateAssociation to associate it with one or more running instances. - */ - createDocument(callback?: (err: AWSError, data: SSM.Types.CreateDocumentResult) => void): Request; - /** - * Creates a new Maintenance Window. - */ - createMaintenanceWindow(params: SSM.Types.CreateMaintenanceWindowRequest, callback?: (err: AWSError, data: SSM.Types.CreateMaintenanceWindowResult) => void): Request; - /** - * Creates a new Maintenance Window. - */ - createMaintenanceWindow(callback?: (err: AWSError, data: SSM.Types.CreateMaintenanceWindowResult) => void): Request; - /** - * Creates a patch baseline. - */ - createPatchBaseline(params: SSM.Types.CreatePatchBaselineRequest, callback?: (err: AWSError, data: SSM.Types.CreatePatchBaselineResult) => void): Request; - /** - * Creates a patch baseline. - */ - createPatchBaseline(callback?: (err: AWSError, data: SSM.Types.CreatePatchBaselineResult) => void): Request; - /** - * Creates a resource data sync configuration to a single bucket in Amazon S3. This is an asynchronous operation that returns immediately. After a successful initial sync is completed, the system continuously syncs data to the Amazon S3 bucket. To check the status of the sync, use the ListResourceDataSync operation. By default, data is not encrypted in Amazon S3. We strongly recommend that you enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3 bucket by creating a restrictive bucket policy. To view an example of a restrictive Amazon S3 bucket policy for Resource Data Sync, see Configuring Resource Data Sync for Inventory. - */ - createResourceDataSync(params: SSM.Types.CreateResourceDataSyncRequest, callback?: (err: AWSError, data: SSM.Types.CreateResourceDataSyncResult) => void): Request; - /** - * Creates a resource data sync configuration to a single bucket in Amazon S3. This is an asynchronous operation that returns immediately. After a successful initial sync is completed, the system continuously syncs data to the Amazon S3 bucket. To check the status of the sync, use the ListResourceDataSync operation. By default, data is not encrypted in Amazon S3. We strongly recommend that you enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3 bucket by creating a restrictive bucket policy. To view an example of a restrictive Amazon S3 bucket policy for Resource Data Sync, see Configuring Resource Data Sync for Inventory. - */ - createResourceDataSync(callback?: (err: AWSError, data: SSM.Types.CreateResourceDataSyncResult) => void): Request; - /** - * Deletes an activation. You are not required to delete an activation. If you delete an activation, you can no longer use it to register additional managed instances. Deleting an activation does not de-register managed instances. You must manually de-register managed instances. - */ - deleteActivation(params: SSM.Types.DeleteActivationRequest, callback?: (err: AWSError, data: SSM.Types.DeleteActivationResult) => void): Request; - /** - * Deletes an activation. You are not required to delete an activation. If you delete an activation, you can no longer use it to register additional managed instances. Deleting an activation does not de-register managed instances. You must manually de-register managed instances. - */ - deleteActivation(callback?: (err: AWSError, data: SSM.Types.DeleteActivationResult) => void): Request; - /** - * Disassociates the specified Systems Manager document from the specified instance. When you disassociate a document from an instance, it does not change the configuration of the instance. To change the configuration state of an instance after you disassociate a document, you must create a new document with the desired configuration and associate it with the instance. - */ - deleteAssociation(params: SSM.Types.DeleteAssociationRequest, callback?: (err: AWSError, data: SSM.Types.DeleteAssociationResult) => void): Request; - /** - * Disassociates the specified Systems Manager document from the specified instance. When you disassociate a document from an instance, it does not change the configuration of the instance. To change the configuration state of an instance after you disassociate a document, you must create a new document with the desired configuration and associate it with the instance. - */ - deleteAssociation(callback?: (err: AWSError, data: SSM.Types.DeleteAssociationResult) => void): Request; - /** - * Deletes the Systems Manager document and all instance associations to the document. Before you delete the document, we recommend that you use DeleteAssociation to disassociate all instances that are associated with the document. - */ - deleteDocument(params: SSM.Types.DeleteDocumentRequest, callback?: (err: AWSError, data: SSM.Types.DeleteDocumentResult) => void): Request; - /** - * Deletes the Systems Manager document and all instance associations to the document. Before you delete the document, we recommend that you use DeleteAssociation to disassociate all instances that are associated with the document. - */ - deleteDocument(callback?: (err: AWSError, data: SSM.Types.DeleteDocumentResult) => void): Request; - /** - * Deletes a Maintenance Window. - */ - deleteMaintenanceWindow(params: SSM.Types.DeleteMaintenanceWindowRequest, callback?: (err: AWSError, data: SSM.Types.DeleteMaintenanceWindowResult) => void): Request; - /** - * Deletes a Maintenance Window. - */ - deleteMaintenanceWindow(callback?: (err: AWSError, data: SSM.Types.DeleteMaintenanceWindowResult) => void): Request; - /** - * Delete a parameter from the system. - */ - deleteParameter(params: SSM.Types.DeleteParameterRequest, callback?: (err: AWSError, data: SSM.Types.DeleteParameterResult) => void): Request; - /** - * Delete a parameter from the system. - */ - deleteParameter(callback?: (err: AWSError, data: SSM.Types.DeleteParameterResult) => void): Request; - /** - * Delete a list of parameters. - */ - deleteParameters(params: SSM.Types.DeleteParametersRequest, callback?: (err: AWSError, data: SSM.Types.DeleteParametersResult) => void): Request; - /** - * Delete a list of parameters. - */ - deleteParameters(callback?: (err: AWSError, data: SSM.Types.DeleteParametersResult) => void): Request; - /** - * Deletes a patch baseline. - */ - deletePatchBaseline(params: SSM.Types.DeletePatchBaselineRequest, callback?: (err: AWSError, data: SSM.Types.DeletePatchBaselineResult) => void): Request; - /** - * Deletes a patch baseline. - */ - deletePatchBaseline(callback?: (err: AWSError, data: SSM.Types.DeletePatchBaselineResult) => void): Request; - /** - * Deletes a Resource Data Sync configuration. After the configuration is deleted, changes to inventory data on managed instances are no longer synced with the target Amazon S3 bucket. Deleting a sync configuration does not delete data in the target Amazon S3 bucket. - */ - deleteResourceDataSync(params: SSM.Types.DeleteResourceDataSyncRequest, callback?: (err: AWSError, data: SSM.Types.DeleteResourceDataSyncResult) => void): Request; - /** - * Deletes a Resource Data Sync configuration. After the configuration is deleted, changes to inventory data on managed instances are no longer synced with the target Amazon S3 bucket. Deleting a sync configuration does not delete data in the target Amazon S3 bucket. - */ - deleteResourceDataSync(callback?: (err: AWSError, data: SSM.Types.DeleteResourceDataSyncResult) => void): Request; - /** - * Removes the server or virtual machine from the list of registered servers. You can reregister the instance again at any time. If you don't plan to use Run Command on the server, we suggest uninstalling the SSM Agent first. - */ - deregisterManagedInstance(params: SSM.Types.DeregisterManagedInstanceRequest, callback?: (err: AWSError, data: SSM.Types.DeregisterManagedInstanceResult) => void): Request; - /** - * Removes the server or virtual machine from the list of registered servers. You can reregister the instance again at any time. If you don't plan to use Run Command on the server, we suggest uninstalling the SSM Agent first. - */ - deregisterManagedInstance(callback?: (err: AWSError, data: SSM.Types.DeregisterManagedInstanceResult) => void): Request; - /** - * Removes a patch group from a patch baseline. - */ - deregisterPatchBaselineForPatchGroup(params: SSM.Types.DeregisterPatchBaselineForPatchGroupRequest, callback?: (err: AWSError, data: SSM.Types.DeregisterPatchBaselineForPatchGroupResult) => void): Request; - /** - * Removes a patch group from a patch baseline. - */ - deregisterPatchBaselineForPatchGroup(callback?: (err: AWSError, data: SSM.Types.DeregisterPatchBaselineForPatchGroupResult) => void): Request; - /** - * Removes a target from a Maintenance Window. - */ - deregisterTargetFromMaintenanceWindow(params: SSM.Types.DeregisterTargetFromMaintenanceWindowRequest, callback?: (err: AWSError, data: SSM.Types.DeregisterTargetFromMaintenanceWindowResult) => void): Request; - /** - * Removes a target from a Maintenance Window. - */ - deregisterTargetFromMaintenanceWindow(callback?: (err: AWSError, data: SSM.Types.DeregisterTargetFromMaintenanceWindowResult) => void): Request; - /** - * Removes a task from a Maintenance Window. - */ - deregisterTaskFromMaintenanceWindow(params: SSM.Types.DeregisterTaskFromMaintenanceWindowRequest, callback?: (err: AWSError, data: SSM.Types.DeregisterTaskFromMaintenanceWindowResult) => void): Request; - /** - * Removes a task from a Maintenance Window. - */ - deregisterTaskFromMaintenanceWindow(callback?: (err: AWSError, data: SSM.Types.DeregisterTaskFromMaintenanceWindowResult) => void): Request; - /** - * Details about the activation, including: the date and time the activation was created, the expiration date, the IAM role assigned to the instances in the activation, and the number of instances activated by this registration. - */ - describeActivations(params: SSM.Types.DescribeActivationsRequest, callback?: (err: AWSError, data: SSM.Types.DescribeActivationsResult) => void): Request; - /** - * Details about the activation, including: the date and time the activation was created, the expiration date, the IAM role assigned to the instances in the activation, and the number of instances activated by this registration. - */ - describeActivations(callback?: (err: AWSError, data: SSM.Types.DescribeActivationsResult) => void): Request; - /** - * Describes the associations for the specified Systems Manager document or instance. - */ - describeAssociation(params: SSM.Types.DescribeAssociationRequest, callback?: (err: AWSError, data: SSM.Types.DescribeAssociationResult) => void): Request; - /** - * Describes the associations for the specified Systems Manager document or instance. - */ - describeAssociation(callback?: (err: AWSError, data: SSM.Types.DescribeAssociationResult) => void): Request; - /** - * Provides details about all active and terminated Automation executions. - */ - describeAutomationExecutions(params: SSM.Types.DescribeAutomationExecutionsRequest, callback?: (err: AWSError, data: SSM.Types.DescribeAutomationExecutionsResult) => void): Request; - /** - * Provides details about all active and terminated Automation executions. - */ - describeAutomationExecutions(callback?: (err: AWSError, data: SSM.Types.DescribeAutomationExecutionsResult) => void): Request; - /** - * Lists all patches that could possibly be included in a patch baseline. - */ - describeAvailablePatches(params: SSM.Types.DescribeAvailablePatchesRequest, callback?: (err: AWSError, data: SSM.Types.DescribeAvailablePatchesResult) => void): Request; - /** - * Lists all patches that could possibly be included in a patch baseline. - */ - describeAvailablePatches(callback?: (err: AWSError, data: SSM.Types.DescribeAvailablePatchesResult) => void): Request; - /** - * Describes the specified SSM document. - */ - describeDocument(params: SSM.Types.DescribeDocumentRequest, callback?: (err: AWSError, data: SSM.Types.DescribeDocumentResult) => void): Request; - /** - * Describes the specified SSM document. - */ - describeDocument(callback?: (err: AWSError, data: SSM.Types.DescribeDocumentResult) => void): Request; - /** - * Describes the permissions for a Systems Manager document. If you created the document, you are the owner. If a document is shared, it can either be shared privately (by specifying a user's AWS account ID) or publicly (All). - */ - describeDocumentPermission(params: SSM.Types.DescribeDocumentPermissionRequest, callback?: (err: AWSError, data: SSM.Types.DescribeDocumentPermissionResponse) => void): Request; - /** - * Describes the permissions for a Systems Manager document. If you created the document, you are the owner. If a document is shared, it can either be shared privately (by specifying a user's AWS account ID) or publicly (All). - */ - describeDocumentPermission(callback?: (err: AWSError, data: SSM.Types.DescribeDocumentPermissionResponse) => void): Request; - /** - * All associations for the instance(s). - */ - describeEffectiveInstanceAssociations(params: SSM.Types.DescribeEffectiveInstanceAssociationsRequest, callback?: (err: AWSError, data: SSM.Types.DescribeEffectiveInstanceAssociationsResult) => void): Request; - /** - * All associations for the instance(s). - */ - describeEffectiveInstanceAssociations(callback?: (err: AWSError, data: SSM.Types.DescribeEffectiveInstanceAssociationsResult) => void): Request; - /** - * Retrieves the current effective patches (the patch and the approval state) for the specified patch baseline. Note that this API applies only to Windows patch baselines. - */ - describeEffectivePatchesForPatchBaseline(params: SSM.Types.DescribeEffectivePatchesForPatchBaselineRequest, callback?: (err: AWSError, data: SSM.Types.DescribeEffectivePatchesForPatchBaselineResult) => void): Request; - /** - * Retrieves the current effective patches (the patch and the approval state) for the specified patch baseline. Note that this API applies only to Windows patch baselines. - */ - describeEffectivePatchesForPatchBaseline(callback?: (err: AWSError, data: SSM.Types.DescribeEffectivePatchesForPatchBaselineResult) => void): Request; - /** - * The status of the associations for the instance(s). - */ - describeInstanceAssociationsStatus(params: SSM.Types.DescribeInstanceAssociationsStatusRequest, callback?: (err: AWSError, data: SSM.Types.DescribeInstanceAssociationsStatusResult) => void): Request; - /** - * The status of the associations for the instance(s). - */ - describeInstanceAssociationsStatus(callback?: (err: AWSError, data: SSM.Types.DescribeInstanceAssociationsStatusResult) => void): Request; - /** - * Describes one or more of your instances. You can use this to get information about instances like the operating system platform, the SSM Agent version (Linux), status etc. If you specify one or more instance IDs, it returns information for those instances. If you do not specify instance IDs, it returns information for all your instances. If you specify an instance ID that is not valid or an instance that you do not own, you receive an error. - */ - describeInstanceInformation(params: SSM.Types.DescribeInstanceInformationRequest, callback?: (err: AWSError, data: SSM.Types.DescribeInstanceInformationResult) => void): Request; - /** - * Describes one or more of your instances. You can use this to get information about instances like the operating system platform, the SSM Agent version (Linux), status etc. If you specify one or more instance IDs, it returns information for those instances. If you do not specify instance IDs, it returns information for all your instances. If you specify an instance ID that is not valid or an instance that you do not own, you receive an error. - */ - describeInstanceInformation(callback?: (err: AWSError, data: SSM.Types.DescribeInstanceInformationResult) => void): Request; - /** - * Retrieves the high-level patch state of one or more instances. - */ - describeInstancePatchStates(params: SSM.Types.DescribeInstancePatchStatesRequest, callback?: (err: AWSError, data: SSM.Types.DescribeInstancePatchStatesResult) => void): Request; - /** - * Retrieves the high-level patch state of one or more instances. - */ - describeInstancePatchStates(callback?: (err: AWSError, data: SSM.Types.DescribeInstancePatchStatesResult) => void): Request; - /** - * Retrieves the high-level patch state for the instances in the specified patch group. - */ - describeInstancePatchStatesForPatchGroup(params: SSM.Types.DescribeInstancePatchStatesForPatchGroupRequest, callback?: (err: AWSError, data: SSM.Types.DescribeInstancePatchStatesForPatchGroupResult) => void): Request; - /** - * Retrieves the high-level patch state for the instances in the specified patch group. - */ - describeInstancePatchStatesForPatchGroup(callback?: (err: AWSError, data: SSM.Types.DescribeInstancePatchStatesForPatchGroupResult) => void): Request; - /** - * Retrieves information about the patches on the specified instance and their state relative to the patch baseline being used for the instance. - */ - describeInstancePatches(params: SSM.Types.DescribeInstancePatchesRequest, callback?: (err: AWSError, data: SSM.Types.DescribeInstancePatchesResult) => void): Request; - /** - * Retrieves information about the patches on the specified instance and their state relative to the patch baseline being used for the instance. - */ - describeInstancePatches(callback?: (err: AWSError, data: SSM.Types.DescribeInstancePatchesResult) => void): Request; - /** - * Retrieves the individual task executions (one per target) for a particular task executed as part of a Maintenance Window execution. - */ - describeMaintenanceWindowExecutionTaskInvocations(params: SSM.Types.DescribeMaintenanceWindowExecutionTaskInvocationsRequest, callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowExecutionTaskInvocationsResult) => void): Request; - /** - * Retrieves the individual task executions (one per target) for a particular task executed as part of a Maintenance Window execution. - */ - describeMaintenanceWindowExecutionTaskInvocations(callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowExecutionTaskInvocationsResult) => void): Request; - /** - * For a given Maintenance Window execution, lists the tasks that were executed. - */ - describeMaintenanceWindowExecutionTasks(params: SSM.Types.DescribeMaintenanceWindowExecutionTasksRequest, callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowExecutionTasksResult) => void): Request; - /** - * For a given Maintenance Window execution, lists the tasks that were executed. - */ - describeMaintenanceWindowExecutionTasks(callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowExecutionTasksResult) => void): Request; - /** - * Lists the executions of a Maintenance Window (meaning, information about when the Maintenance Window was scheduled to be active and information about tasks registered and run with the Maintenance Window). - */ - describeMaintenanceWindowExecutions(params: SSM.Types.DescribeMaintenanceWindowExecutionsRequest, callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowExecutionsResult) => void): Request; - /** - * Lists the executions of a Maintenance Window (meaning, information about when the Maintenance Window was scheduled to be active and information about tasks registered and run with the Maintenance Window). - */ - describeMaintenanceWindowExecutions(callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowExecutionsResult) => void): Request; - /** - * Lists the targets registered with the Maintenance Window. - */ - describeMaintenanceWindowTargets(params: SSM.Types.DescribeMaintenanceWindowTargetsRequest, callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowTargetsResult) => void): Request; - /** - * Lists the targets registered with the Maintenance Window. - */ - describeMaintenanceWindowTargets(callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowTargetsResult) => void): Request; - /** - * Lists the tasks in a Maintenance Window. - */ - describeMaintenanceWindowTasks(params: SSM.Types.DescribeMaintenanceWindowTasksRequest, callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowTasksResult) => void): Request; - /** - * Lists the tasks in a Maintenance Window. - */ - describeMaintenanceWindowTasks(callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowTasksResult) => void): Request; - /** - * Retrieves the Maintenance Windows in an AWS account. - */ - describeMaintenanceWindows(params: SSM.Types.DescribeMaintenanceWindowsRequest, callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowsResult) => void): Request; - /** - * Retrieves the Maintenance Windows in an AWS account. - */ - describeMaintenanceWindows(callback?: (err: AWSError, data: SSM.Types.DescribeMaintenanceWindowsResult) => void): Request; - /** - * Get information about a parameter. - */ - describeParameters(params: SSM.Types.DescribeParametersRequest, callback?: (err: AWSError, data: SSM.Types.DescribeParametersResult) => void): Request; - /** - * Get information about a parameter. - */ - describeParameters(callback?: (err: AWSError, data: SSM.Types.DescribeParametersResult) => void): Request; - /** - * Lists the patch baselines in your AWS account. - */ - describePatchBaselines(params: SSM.Types.DescribePatchBaselinesRequest, callback?: (err: AWSError, data: SSM.Types.DescribePatchBaselinesResult) => void): Request; - /** - * Lists the patch baselines in your AWS account. - */ - describePatchBaselines(callback?: (err: AWSError, data: SSM.Types.DescribePatchBaselinesResult) => void): Request; - /** - * Returns high-level aggregated patch compliance state for a patch group. - */ - describePatchGroupState(params: SSM.Types.DescribePatchGroupStateRequest, callback?: (err: AWSError, data: SSM.Types.DescribePatchGroupStateResult) => void): Request; - /** - * Returns high-level aggregated patch compliance state for a patch group. - */ - describePatchGroupState(callback?: (err: AWSError, data: SSM.Types.DescribePatchGroupStateResult) => void): Request; - /** - * Lists all patch groups that have been registered with patch baselines. - */ - describePatchGroups(params: SSM.Types.DescribePatchGroupsRequest, callback?: (err: AWSError, data: SSM.Types.DescribePatchGroupsResult) => void): Request; - /** - * Lists all patch groups that have been registered with patch baselines. - */ - describePatchGroups(callback?: (err: AWSError, data: SSM.Types.DescribePatchGroupsResult) => void): Request; - /** - * Get detailed information about a particular Automation execution. - */ - getAutomationExecution(params: SSM.Types.GetAutomationExecutionRequest, callback?: (err: AWSError, data: SSM.Types.GetAutomationExecutionResult) => void): Request; - /** - * Get detailed information about a particular Automation execution. - */ - getAutomationExecution(callback?: (err: AWSError, data: SSM.Types.GetAutomationExecutionResult) => void): Request; - /** - * Returns detailed information about command execution for an invocation or plugin. - */ - getCommandInvocation(params: SSM.Types.GetCommandInvocationRequest, callback?: (err: AWSError, data: SSM.Types.GetCommandInvocationResult) => void): Request; - /** - * Returns detailed information about command execution for an invocation or plugin. - */ - getCommandInvocation(callback?: (err: AWSError, data: SSM.Types.GetCommandInvocationResult) => void): Request; - /** - * Retrieves the default patch baseline. Note that Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system. - */ - getDefaultPatchBaseline(params: SSM.Types.GetDefaultPatchBaselineRequest, callback?: (err: AWSError, data: SSM.Types.GetDefaultPatchBaselineResult) => void): Request; - /** - * Retrieves the default patch baseline. Note that Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system. - */ - getDefaultPatchBaseline(callback?: (err: AWSError, data: SSM.Types.GetDefaultPatchBaselineResult) => void): Request; - /** - * Retrieves the current snapshot for the patch baseline the instance uses. This API is primarily used by the AWS-RunPatchBaseline Systems Manager document. - */ - getDeployablePatchSnapshotForInstance(params: SSM.Types.GetDeployablePatchSnapshotForInstanceRequest, callback?: (err: AWSError, data: SSM.Types.GetDeployablePatchSnapshotForInstanceResult) => void): Request; - /** - * Retrieves the current snapshot for the patch baseline the instance uses. This API is primarily used by the AWS-RunPatchBaseline Systems Manager document. - */ - getDeployablePatchSnapshotForInstance(callback?: (err: AWSError, data: SSM.Types.GetDeployablePatchSnapshotForInstanceResult) => void): Request; - /** - * Gets the contents of the specified SSM document. - */ - getDocument(params: SSM.Types.GetDocumentRequest, callback?: (err: AWSError, data: SSM.Types.GetDocumentResult) => void): Request; - /** - * Gets the contents of the specified SSM document. - */ - getDocument(callback?: (err: AWSError, data: SSM.Types.GetDocumentResult) => void): Request; - /** - * Query inventory information. - */ - getInventory(params: SSM.Types.GetInventoryRequest, callback?: (err: AWSError, data: SSM.Types.GetInventoryResult) => void): Request; - /** - * Query inventory information. - */ - getInventory(callback?: (err: AWSError, data: SSM.Types.GetInventoryResult) => void): Request; - /** - * Return a list of inventory type names for the account, or return a list of attribute names for a specific Inventory item type. - */ - getInventorySchema(params: SSM.Types.GetInventorySchemaRequest, callback?: (err: AWSError, data: SSM.Types.GetInventorySchemaResult) => void): Request; - /** - * Return a list of inventory type names for the account, or return a list of attribute names for a specific Inventory item type. - */ - getInventorySchema(callback?: (err: AWSError, data: SSM.Types.GetInventorySchemaResult) => void): Request; - /** - * Retrieves a Maintenance Window. - */ - getMaintenanceWindow(params: SSM.Types.GetMaintenanceWindowRequest, callback?: (err: AWSError, data: SSM.Types.GetMaintenanceWindowResult) => void): Request; - /** - * Retrieves a Maintenance Window. - */ - getMaintenanceWindow(callback?: (err: AWSError, data: SSM.Types.GetMaintenanceWindowResult) => void): Request; - /** - * Retrieves details about a specific task executed as part of a Maintenance Window execution. - */ - getMaintenanceWindowExecution(params: SSM.Types.GetMaintenanceWindowExecutionRequest, callback?: (err: AWSError, data: SSM.Types.GetMaintenanceWindowExecutionResult) => void): Request; - /** - * Retrieves details about a specific task executed as part of a Maintenance Window execution. - */ - getMaintenanceWindowExecution(callback?: (err: AWSError, data: SSM.Types.GetMaintenanceWindowExecutionResult) => void): Request; - /** - * Retrieves the details about a specific task executed as part of a Maintenance Window execution. - */ - getMaintenanceWindowExecutionTask(params: SSM.Types.GetMaintenanceWindowExecutionTaskRequest, callback?: (err: AWSError, data: SSM.Types.GetMaintenanceWindowExecutionTaskResult) => void): Request; - /** - * Retrieves the details about a specific task executed as part of a Maintenance Window execution. - */ - getMaintenanceWindowExecutionTask(callback?: (err: AWSError, data: SSM.Types.GetMaintenanceWindowExecutionTaskResult) => void): Request; - /** - * Get information about a parameter by using the parameter name. - */ - getParameter(params: SSM.Types.GetParameterRequest, callback?: (err: AWSError, data: SSM.Types.GetParameterResult) => void): Request; - /** - * Get information about a parameter by using the parameter name. - */ - getParameter(callback?: (err: AWSError, data: SSM.Types.GetParameterResult) => void): Request; - /** - * Query a list of all parameters used by the AWS account. - */ - getParameterHistory(params: SSM.Types.GetParameterHistoryRequest, callback?: (err: AWSError, data: SSM.Types.GetParameterHistoryResult) => void): Request; - /** - * Query a list of all parameters used by the AWS account. - */ - getParameterHistory(callback?: (err: AWSError, data: SSM.Types.GetParameterHistoryResult) => void): Request; - /** - * Get details of a parameter. - */ - getParameters(params: SSM.Types.GetParametersRequest, callback?: (err: AWSError, data: SSM.Types.GetParametersResult) => void): Request; - /** - * Get details of a parameter. - */ - getParameters(callback?: (err: AWSError, data: SSM.Types.GetParametersResult) => void): Request; - /** - * Retrieve parameters in a specific hierarchy. For more information, see Working with Systems Manager Parameters. - */ - getParametersByPath(params: SSM.Types.GetParametersByPathRequest, callback?: (err: AWSError, data: SSM.Types.GetParametersByPathResult) => void): Request; - /** - * Retrieve parameters in a specific hierarchy. For more information, see Working with Systems Manager Parameters. - */ - getParametersByPath(callback?: (err: AWSError, data: SSM.Types.GetParametersByPathResult) => void): Request; - /** - * Retrieves information about a patch baseline. - */ - getPatchBaseline(params: SSM.Types.GetPatchBaselineRequest, callback?: (err: AWSError, data: SSM.Types.GetPatchBaselineResult) => void): Request; - /** - * Retrieves information about a patch baseline. - */ - getPatchBaseline(callback?: (err: AWSError, data: SSM.Types.GetPatchBaselineResult) => void): Request; - /** - * Retrieves the patch baseline that should be used for the specified patch group. - */ - getPatchBaselineForPatchGroup(params: SSM.Types.GetPatchBaselineForPatchGroupRequest, callback?: (err: AWSError, data: SSM.Types.GetPatchBaselineForPatchGroupResult) => void): Request; - /** - * Retrieves the patch baseline that should be used for the specified patch group. - */ - getPatchBaselineForPatchGroup(callback?: (err: AWSError, data: SSM.Types.GetPatchBaselineForPatchGroupResult) => void): Request; - /** - * Lists the associations for the specified Systems Manager document or instance. - */ - listAssociations(params: SSM.Types.ListAssociationsRequest, callback?: (err: AWSError, data: SSM.Types.ListAssociationsResult) => void): Request; - /** - * Lists the associations for the specified Systems Manager document or instance. - */ - listAssociations(callback?: (err: AWSError, data: SSM.Types.ListAssociationsResult) => void): Request; - /** - * An invocation is copy of a command sent to a specific instance. A command can apply to one or more instances. A command invocation applies to one instance. For example, if a user executes SendCommand against three instances, then a command invocation is created for each requested instance ID. ListCommandInvocations provide status about command execution. - */ - listCommandInvocations(params: SSM.Types.ListCommandInvocationsRequest, callback?: (err: AWSError, data: SSM.Types.ListCommandInvocationsResult) => void): Request; - /** - * An invocation is copy of a command sent to a specific instance. A command can apply to one or more instances. A command invocation applies to one instance. For example, if a user executes SendCommand against three instances, then a command invocation is created for each requested instance ID. ListCommandInvocations provide status about command execution. - */ - listCommandInvocations(callback?: (err: AWSError, data: SSM.Types.ListCommandInvocationsResult) => void): Request; - /** - * Lists the commands requested by users of the AWS account. - */ - listCommands(params: SSM.Types.ListCommandsRequest, callback?: (err: AWSError, data: SSM.Types.ListCommandsResult) => void): Request; - /** - * Lists the commands requested by users of the AWS account. - */ - listCommands(callback?: (err: AWSError, data: SSM.Types.ListCommandsResult) => void): Request; - /** - * List all versions for a document. - */ - listDocumentVersions(params: SSM.Types.ListDocumentVersionsRequest, callback?: (err: AWSError, data: SSM.Types.ListDocumentVersionsResult) => void): Request; - /** - * List all versions for a document. - */ - listDocumentVersions(callback?: (err: AWSError, data: SSM.Types.ListDocumentVersionsResult) => void): Request; - /** - * Describes one or more of your SSM documents. - */ - listDocuments(params: SSM.Types.ListDocumentsRequest, callback?: (err: AWSError, data: SSM.Types.ListDocumentsResult) => void): Request; - /** - * Describes one or more of your SSM documents. - */ - listDocuments(callback?: (err: AWSError, data: SSM.Types.ListDocumentsResult) => void): Request; - /** - * A list of inventory items returned by the request. - */ - listInventoryEntries(params: SSM.Types.ListInventoryEntriesRequest, callback?: (err: AWSError, data: SSM.Types.ListInventoryEntriesResult) => void): Request; - /** - * A list of inventory items returned by the request. - */ - listInventoryEntries(callback?: (err: AWSError, data: SSM.Types.ListInventoryEntriesResult) => void): Request; - /** - * Lists your resource data sync configurations. Includes information about the last time a sync attempted to start, the last sync status, and the last time a sync successfully completed. The number of sync configurations might be too large to return using a single call to ListResourceDataSync. You can limit the number of sync configurations returned by using the MaxResults parameter. To determine whether there are more sync configurations to list, check the value of NextToken in the output. If there are more sync configurations to list, you can request them by specifying the NextToken returned in the call to the parameter of a subsequent call. - */ - listResourceDataSync(params: SSM.Types.ListResourceDataSyncRequest, callback?: (err: AWSError, data: SSM.Types.ListResourceDataSyncResult) => void): Request; - /** - * Lists your resource data sync configurations. Includes information about the last time a sync attempted to start, the last sync status, and the last time a sync successfully completed. The number of sync configurations might be too large to return using a single call to ListResourceDataSync. You can limit the number of sync configurations returned by using the MaxResults parameter. To determine whether there are more sync configurations to list, check the value of NextToken in the output. If there are more sync configurations to list, you can request them by specifying the NextToken returned in the call to the parameter of a subsequent call. - */ - listResourceDataSync(callback?: (err: AWSError, data: SSM.Types.ListResourceDataSyncResult) => void): Request; - /** - * Returns a list of the tags assigned to the specified resource. - */ - listTagsForResource(params: SSM.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: SSM.Types.ListTagsForResourceResult) => void): Request; - /** - * Returns a list of the tags assigned to the specified resource. - */ - listTagsForResource(callback?: (err: AWSError, data: SSM.Types.ListTagsForResourceResult) => void): Request; - /** - * Shares a Systems Manager document publicly or privately. If you share a document privately, you must specify the AWS user account IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID. - */ - modifyDocumentPermission(params: SSM.Types.ModifyDocumentPermissionRequest, callback?: (err: AWSError, data: SSM.Types.ModifyDocumentPermissionResponse) => void): Request; - /** - * Shares a Systems Manager document publicly or privately. If you share a document privately, you must specify the AWS user account IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID. - */ - modifyDocumentPermission(callback?: (err: AWSError, data: SSM.Types.ModifyDocumentPermissionResponse) => void): Request; - /** - * Bulk update custom inventory items on one more instance. The request adds an inventory item, if it doesn't already exist, or updates an inventory item, if it does exist. - */ - putInventory(params: SSM.Types.PutInventoryRequest, callback?: (err: AWSError, data: SSM.Types.PutInventoryResult) => void): Request; - /** - * Bulk update custom inventory items on one more instance. The request adds an inventory item, if it doesn't already exist, or updates an inventory item, if it does exist. - */ - putInventory(callback?: (err: AWSError, data: SSM.Types.PutInventoryResult) => void): Request; - /** - * Add one or more parameters to the system. - */ - putParameter(params: SSM.Types.PutParameterRequest, callback?: (err: AWSError, data: SSM.Types.PutParameterResult) => void): Request; - /** - * Add one or more parameters to the system. - */ - putParameter(callback?: (err: AWSError, data: SSM.Types.PutParameterResult) => void): Request; - /** - * Defines the default patch baseline. - */ - registerDefaultPatchBaseline(params: SSM.Types.RegisterDefaultPatchBaselineRequest, callback?: (err: AWSError, data: SSM.Types.RegisterDefaultPatchBaselineResult) => void): Request; - /** - * Defines the default patch baseline. - */ - registerDefaultPatchBaseline(callback?: (err: AWSError, data: SSM.Types.RegisterDefaultPatchBaselineResult) => void): Request; - /** - * Registers a patch baseline for a patch group. - */ - registerPatchBaselineForPatchGroup(params: SSM.Types.RegisterPatchBaselineForPatchGroupRequest, callback?: (err: AWSError, data: SSM.Types.RegisterPatchBaselineForPatchGroupResult) => void): Request; - /** - * Registers a patch baseline for a patch group. - */ - registerPatchBaselineForPatchGroup(callback?: (err: AWSError, data: SSM.Types.RegisterPatchBaselineForPatchGroupResult) => void): Request; - /** - * Registers a target with a Maintenance Window. - */ - registerTargetWithMaintenanceWindow(params: SSM.Types.RegisterTargetWithMaintenanceWindowRequest, callback?: (err: AWSError, data: SSM.Types.RegisterTargetWithMaintenanceWindowResult) => void): Request; - /** - * Registers a target with a Maintenance Window. - */ - registerTargetWithMaintenanceWindow(callback?: (err: AWSError, data: SSM.Types.RegisterTargetWithMaintenanceWindowResult) => void): Request; - /** - * Adds a new task to a Maintenance Window. - */ - registerTaskWithMaintenanceWindow(params: SSM.Types.RegisterTaskWithMaintenanceWindowRequest, callback?: (err: AWSError, data: SSM.Types.RegisterTaskWithMaintenanceWindowResult) => void): Request; - /** - * Adds a new task to a Maintenance Window. - */ - registerTaskWithMaintenanceWindow(callback?: (err: AWSError, data: SSM.Types.RegisterTaskWithMaintenanceWindowResult) => void): Request; - /** - * Removes all tags from the specified resource. - */ - removeTagsFromResource(params: SSM.Types.RemoveTagsFromResourceRequest, callback?: (err: AWSError, data: SSM.Types.RemoveTagsFromResourceResult) => void): Request; - /** - * Removes all tags from the specified resource. - */ - removeTagsFromResource(callback?: (err: AWSError, data: SSM.Types.RemoveTagsFromResourceResult) => void): Request; - /** - * Executes commands on one or more managed instances. - */ - sendCommand(params: SSM.Types.SendCommandRequest, callback?: (err: AWSError, data: SSM.Types.SendCommandResult) => void): Request; - /** - * Executes commands on one or more managed instances. - */ - sendCommand(callback?: (err: AWSError, data: SSM.Types.SendCommandResult) => void): Request; - /** - * Initiates execution of an Automation document. - */ - startAutomationExecution(params: SSM.Types.StartAutomationExecutionRequest, callback?: (err: AWSError, data: SSM.Types.StartAutomationExecutionResult) => void): Request; - /** - * Initiates execution of an Automation document. - */ - startAutomationExecution(callback?: (err: AWSError, data: SSM.Types.StartAutomationExecutionResult) => void): Request; - /** - * Stop an Automation that is currently executing. - */ - stopAutomationExecution(params: SSM.Types.StopAutomationExecutionRequest, callback?: (err: AWSError, data: SSM.Types.StopAutomationExecutionResult) => void): Request; - /** - * Stop an Automation that is currently executing. - */ - stopAutomationExecution(callback?: (err: AWSError, data: SSM.Types.StopAutomationExecutionResult) => void): Request; - /** - * Updates an association. You can only update the document version, schedule, parameters, and Amazon S3 output of an association. - */ - updateAssociation(params: SSM.Types.UpdateAssociationRequest, callback?: (err: AWSError, data: SSM.Types.UpdateAssociationResult) => void): Request; - /** - * Updates an association. You can only update the document version, schedule, parameters, and Amazon S3 output of an association. - */ - updateAssociation(callback?: (err: AWSError, data: SSM.Types.UpdateAssociationResult) => void): Request; - /** - * Updates the status of the Systems Manager document associated with the specified instance. - */ - updateAssociationStatus(params: SSM.Types.UpdateAssociationStatusRequest, callback?: (err: AWSError, data: SSM.Types.UpdateAssociationStatusResult) => void): Request; - /** - * Updates the status of the Systems Manager document associated with the specified instance. - */ - updateAssociationStatus(callback?: (err: AWSError, data: SSM.Types.UpdateAssociationStatusResult) => void): Request; - /** - * The document you want to update. - */ - updateDocument(params: SSM.Types.UpdateDocumentRequest, callback?: (err: AWSError, data: SSM.Types.UpdateDocumentResult) => void): Request; - /** - * The document you want to update. - */ - updateDocument(callback?: (err: AWSError, data: SSM.Types.UpdateDocumentResult) => void): Request; - /** - * Set the default version of a document. - */ - updateDocumentDefaultVersion(params: SSM.Types.UpdateDocumentDefaultVersionRequest, callback?: (err: AWSError, data: SSM.Types.UpdateDocumentDefaultVersionResult) => void): Request; - /** - * Set the default version of a document. - */ - updateDocumentDefaultVersion(callback?: (err: AWSError, data: SSM.Types.UpdateDocumentDefaultVersionResult) => void): Request; - /** - * Updates an existing Maintenance Window. Only specified parameters are modified. - */ - updateMaintenanceWindow(params: SSM.Types.UpdateMaintenanceWindowRequest, callback?: (err: AWSError, data: SSM.Types.UpdateMaintenanceWindowResult) => void): Request; - /** - * Updates an existing Maintenance Window. Only specified parameters are modified. - */ - updateMaintenanceWindow(callback?: (err: AWSError, data: SSM.Types.UpdateMaintenanceWindowResult) => void): Request; - /** - * Assigns or changes an Amazon Identity and Access Management (IAM) role to the managed instance. - */ - updateManagedInstanceRole(params: SSM.Types.UpdateManagedInstanceRoleRequest, callback?: (err: AWSError, data: SSM.Types.UpdateManagedInstanceRoleResult) => void): Request; - /** - * Assigns or changes an Amazon Identity and Access Management (IAM) role to the managed instance. - */ - updateManagedInstanceRole(callback?: (err: AWSError, data: SSM.Types.UpdateManagedInstanceRoleResult) => void): Request; - /** - * Modifies an existing patch baseline. Fields not specified in the request are left unchanged. - */ - updatePatchBaseline(params: SSM.Types.UpdatePatchBaselineRequest, callback?: (err: AWSError, data: SSM.Types.UpdatePatchBaselineResult) => void): Request; - /** - * Modifies an existing patch baseline. Fields not specified in the request are left unchanged. - */ - updatePatchBaseline(callback?: (err: AWSError, data: SSM.Types.UpdatePatchBaselineResult) => void): Request; -} -declare namespace SSM { - export type AccountId = string; - export type AccountIdList = AccountId[]; - export interface Activation { - /** - * The ID created by Systems Manager when you submitted the activation. - */ - ActivationId?: ActivationId; - /** - * A user defined description of the activation. - */ - Description?: ActivationDescription; - /** - * A name for the managed instance when it is created. - */ - DefaultInstanceName?: DefaultInstanceName; - /** - * The Amazon Identity and Access Management (IAM) role to assign to the managed instance. - */ - IamRole?: IamRole; - /** - * The maximum number of managed instances that can be registered using this activation. - */ - RegistrationLimit?: RegistrationLimit; - /** - * The number of managed instances already registered with this activation. - */ - RegistrationsCount?: RegistrationsCount; - /** - * The date when this activation can no longer be used to register managed instances. - */ - ExpirationDate?: ExpirationDate; - /** - * Whether or not the activation is expired. - */ - Expired?: Boolean; - /** - * The date the activation was created. - */ - CreatedDate?: CreatedDate; - } - export type ActivationCode = string; - export type ActivationDescription = string; - export type ActivationId = string; - export type ActivationList = Activation[]; - export interface AddTagsToResourceRequest { - /** - * Specifies the type of resource you are tagging. - */ - ResourceType: ResourceTypeForTagging; - /** - * The resource ID you want to tag. - */ - ResourceId: ResourceId; - /** - * One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string. - */ - Tags: TagList; - } - export interface AddTagsToResourceResult { - } - export type AgentErrorCode = string; - export type AllowedPattern = string; - export type ApproveAfterDays = number; - export interface Association { - /** - * The name of the SSM document. - */ - Name?: DocumentName; - /** - * The ID of the instance. - */ - InstanceId?: InstanceId; - /** - * The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule. - */ - AssociationId?: AssociationId; - /** - * The version of the document used in the association. - */ - DocumentVersion?: DocumentVersion; - /** - * The instances targeted by the request to create an association. - */ - Targets?: Targets; - /** - * The date on which the association was last run. - */ - LastExecutionDate?: DateTime; - /** - * Information about the association. - */ - Overview?: AssociationOverview; - /** - * A cron expression that specifies a schedule when the association runs. - */ - ScheduleExpression?: ScheduleExpression; - } - export interface AssociationDescription { - /** - * The name of the SSM document. - */ - Name?: DocumentName; - /** - * The ID of the instance. - */ - InstanceId?: InstanceId; - /** - * The date when the association was made. - */ - Date?: DateTime; - /** - * The date when the association was last updated. - */ - LastUpdateAssociationDate?: DateTime; - /** - * The association status. - */ - Status?: AssociationStatus; - /** - * Information about the association. - */ - Overview?: AssociationOverview; - /** - * The document version. - */ - DocumentVersion?: DocumentVersion; - /** - * A description of the parameters for a document. - */ - Parameters?: Parameters; - /** - * The association ID. - */ - AssociationId?: AssociationId; - /** - * The instances targeted by the request. - */ - Targets?: Targets; - /** - * A cron expression that specifies a schedule when the association runs. - */ - ScheduleExpression?: ScheduleExpression; - /** - * An Amazon S3 bucket where you want to store the output details of the request. - */ - OutputLocation?: InstanceAssociationOutputLocation; - /** - * The date on which the association was last run. - */ - LastExecutionDate?: DateTime; - /** - * The last date on which the association was successfully run. - */ - LastSuccessfulExecutionDate?: DateTime; - } - export type AssociationDescriptionList = AssociationDescription[]; - export interface AssociationFilter { - /** - * The name of the filter. - */ - key: AssociationFilterKey; - /** - * The filter value. - */ - value: AssociationFilterValue; - } - export type AssociationFilterKey = "InstanceId"|"Name"|"AssociationId"|"AssociationStatusName"|"LastExecutedBefore"|"LastExecutedAfter"|string; - export type AssociationFilterList = AssociationFilter[]; - export type AssociationFilterValue = string; - export type AssociationId = string; - export type AssociationList = Association[]; - export interface AssociationOverview { - /** - * The status of the association. Status can be: Pending, Success, or Failed. - */ - Status?: StatusName; - /** - * A detailed status of the association. - */ - DetailedStatus?: StatusName; - /** - * Returns the number of targets for the association status. For example, if you created an association with two instances, and one of them was successful, this would return the count of instances by status. - */ - AssociationStatusAggregatedCount?: AssociationStatusAggregatedCount; - } - export interface AssociationStatus { - /** - * The date when the status changed. - */ - Date: DateTime; - /** - * The status. - */ - Name: AssociationStatusName; - /** - * The reason for the status. - */ - Message: StatusMessage; - /** - * A user-defined string. - */ - AdditionalInfo?: StatusAdditionalInfo; - } - export type AssociationStatusAggregatedCount = {[key: string]: InstanceCount}; - export type AssociationStatusName = "Pending"|"Success"|"Failed"|string; - export type AttributeName = string; - export type AttributeValue = string; - export type AutomationActionName = string; - export interface AutomationExecution { - /** - * The execution ID. - */ - AutomationExecutionId?: AutomationExecutionId; - /** - * The name of the Automation document used during the execution. - */ - DocumentName?: DocumentName; - /** - * The version of the document to use during execution. - */ - DocumentVersion?: DocumentVersion; - /** - * The time the execution started. - */ - ExecutionStartTime?: DateTime; - /** - * The time the execution finished. - */ - ExecutionEndTime?: DateTime; - /** - * The execution status of the Automation. - */ - AutomationExecutionStatus?: AutomationExecutionStatus; - /** - * A list of details about the current state of all steps that comprise an execution. An Automation document contains a list of steps that are executed in order. - */ - StepExecutions?: StepExecutionList; - /** - * The key-value map of execution parameters, which were supplied when calling StartAutomationExecution. - */ - Parameters?: AutomationParameterMap; - /** - * The list of execution outputs as defined in the automation document. - */ - Outputs?: AutomationParameterMap; - /** - * A message describing why an execution has failed, if the status is set to Failed. - */ - FailureMessage?: String; - } - export interface AutomationExecutionFilter { - /** - * The aspect of the Automation execution information that should be limited. - */ - Key: AutomationExecutionFilterKey; - /** - * The values used to limit the execution information associated with the filter's key. - */ - Values: AutomationExecutionFilterValueList; - } - export type AutomationExecutionFilterKey = "DocumentNamePrefix"|"ExecutionStatus"|string; - export type AutomationExecutionFilterList = AutomationExecutionFilter[]; - export type AutomationExecutionFilterValue = string; - export type AutomationExecutionFilterValueList = AutomationExecutionFilterValue[]; - export type AutomationExecutionId = string; - export interface AutomationExecutionMetadata { - /** - * The execution ID. - */ - AutomationExecutionId?: AutomationExecutionId; - /** - * The name of the Automation document used during execution. - */ - DocumentName?: DocumentName; - /** - * The document version used during the execution. - */ - DocumentVersion?: DocumentVersion; - /** - * The status of the execution. Valid values include: Running, Succeeded, Failed, Timed out, or Cancelled. - */ - AutomationExecutionStatus?: AutomationExecutionStatus; - /** - * The time the execution started.> - */ - ExecutionStartTime?: DateTime; - /** - * The time the execution finished. This is not populated if the execution is still in progress. - */ - ExecutionEndTime?: DateTime; - /** - * The IAM role ARN of the user who executed the Automation. - */ - ExecutedBy?: String; - /** - * An Amazon S3 bucket where execution information is stored. - */ - LogFile?: String; - /** - * The list of execution outputs as defined in the Automation document. - */ - Outputs?: AutomationParameterMap; - } - export type AutomationExecutionMetadataList = AutomationExecutionMetadata[]; - export type AutomationExecutionStatus = "Pending"|"InProgress"|"Success"|"TimedOut"|"Cancelled"|"Failed"|string; - export type AutomationParameterKey = string; - export type AutomationParameterMap = {[key: string]: AutomationParameterValueList}; - export type AutomationParameterValue = string; - export type AutomationParameterValueList = AutomationParameterValue[]; - export type BaselineDescription = string; - export type BaselineId = string; - export type BaselineName = string; - export type BatchErrorMessage = string; - export type Boolean = boolean; - export interface CancelCommandRequest { - /** - * The ID of the command you want to cancel. - */ - CommandId: CommandId; - /** - * (Optional) A list of instance IDs on which you want to cancel the command. If not provided, the command is canceled on every instance on which it was requested. - */ - InstanceIds?: InstanceIdList; - } - export interface CancelCommandResult { - } - export type ClientToken = string; - export interface Command { - /** - * A unique identifier for this command. - */ - CommandId?: CommandId; - /** - * The name of the document requested for execution. - */ - DocumentName?: DocumentName; - /** - * User-specified information about the command, such as a brief description of what the command should do. - */ - Comment?: Comment; - /** - * If this time is reached and the command has not already started executing, it will not execute. Calculated based on the ExpiresAfter user input provided as part of the SendCommand API. - */ - ExpiresAfter?: DateTime; - /** - * The parameter values to be inserted in the document when executing the command. - */ - Parameters?: Parameters; - /** - * The instance IDs against which this command was requested. - */ - InstanceIds?: InstanceIdList; - /** - * An array of search criteria that targets instances using a Key,Value combination that you specify. Targets is required if you don't provide one or more instance IDs in the call. - */ - Targets?: Targets; - /** - * The date and time the command was requested. - */ - RequestedDateTime?: DateTime; - /** - * The status of the command. - */ - Status?: CommandStatus; - /** - * A detailed status of the command execution. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Run Command Status. StatusDetails can be one of the following values: Pending: The command has not been sent to any instances. In Progress: The command has been sent to at least one instance but has not reached a final state on all instances. Success: The command successfully executed on all invocations. This is a terminal state. Delivery Timed Out: The value of MaxErrors or more command invocations shows a status of Delivery Timed Out. This is a terminal state. Execution Timed Out: The value of MaxErrors or more command invocations shows a status of Execution Timed Out. This is a terminal state. Failed: The value of MaxErrors or more command invocations shows a status of Failed. This is a terminal state. Incomplete: The command was attempted on all instances and one or more invocations does not have a value of Success but not enough invocations failed for the status to be Failed. This is a terminal state. Canceled: The command was terminated before it was completed. This is a terminal state. Rate Exceeded: The number of instances targeted by the command exceeded the account limit for pending invocations. The system has canceled the command before executing it on any instance. This is a terminal state. - */ - StatusDetails?: StatusDetails; - /** - * (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager automatically determines the Amazon S3 bucket region. - */ - OutputS3Region?: S3Region; - /** - * The S3 bucket where the responses to the command executions should be stored. This was requested when issuing the command. - */ - OutputS3BucketName?: S3BucketName; - /** - * The S3 directory path inside the bucket where the responses to the command executions should be stored. This was requested when issuing the command. - */ - OutputS3KeyPrefix?: S3KeyPrefix; - /** - * The maximum number of instances that are allowed to execute the command at the same time. You can specify a number of instances, such as 10, or a percentage of instances, such as 10%. The default value is 50. For more information about how to use MaxConcurrency, see Executing a Command Using Systems Manager Run Command. - */ - MaxConcurrency?: MaxConcurrency; - /** - * The maximum number of errors allowed before the system stops sending the command to additional targets. You can specify a number of errors, such as 10, or a percentage or errors, such as 10%. The default value is 50. For more information about how to use MaxErrors, see Executing a Command Using Systems Manager Run Command. - */ - MaxErrors?: MaxErrors; - /** - * The number of targets for the command. - */ - TargetCount?: TargetCount; - /** - * The number of targets for which the command invocation reached a terminal state. Terminal states include the following: Success, Failed, Execution Timed Out, Delivery Timed Out, Canceled, Terminated, or Undeliverable. - */ - CompletedCount?: CompletedCount; - /** - * The number of targets for which the status is Failed or Execution Timed Out. - */ - ErrorCount?: ErrorCount; - /** - * The IAM service role that Run Command uses to act on your behalf when sending notifications about command status changes. - */ - ServiceRole?: ServiceRole; - /** - * Configurations for sending notifications about command status changes. - */ - NotificationConfig?: NotificationConfig; - } - export interface CommandFilter { - /** - * The name of the filter. - */ - key: CommandFilterKey; - /** - * The filter value. - */ - value: CommandFilterValue; - } - export type CommandFilterKey = "InvokedAfter"|"InvokedBefore"|"Status"|string; - export type CommandFilterList = CommandFilter[]; - export type CommandFilterValue = string; - export type CommandId = string; - export interface CommandInvocation { - /** - * The command against which this invocation was requested. - */ - CommandId?: CommandId; - /** - * The instance ID in which this invocation was requested. - */ - InstanceId?: InstanceId; - /** - * The name of the invocation target. For Amazon EC2 instances this is the value for the aws:Name tag. For on-premises instances, this is the name of the instance. - */ - InstanceName?: InstanceTagName; - /** - * User-specified information about the command, such as a brief description of what the command should do. - */ - Comment?: Comment; - /** - * The document name that was requested for execution. - */ - DocumentName?: DocumentName; - /** - * The time and date the request was sent to this instance. - */ - RequestedDateTime?: DateTime; - /** - * Whether or not the invocation succeeded, failed, or is pending. - */ - Status?: CommandInvocationStatus; - /** - * A detailed status of the command execution for each invocation (each instance targeted by the command). StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Run Command Status. StatusDetails can be one of the following values: Pending: The command has not been sent to the instance. In Progress: The command has been sent to the instance but has not reached a terminal state. Success: The execution of the command or plugin was successfully completed. This is a terminal state. Delivery Timed Out: The command was not delivered to the instance before the delivery timeout expired. Delivery timeouts do not count against the parent command's MaxErrors limit, but they do contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Execution Timed Out: Command execution started on the instance, but the execution was not complete before the execution timeout expired. Execution timeouts count against the MaxErrors limit of the parent command. This is a terminal state. Failed: The command was not successful on the instance. For a plugin, this indicates that the result code was not zero. For a command invocation, this indicates that the result code for one or more plugins was not zero. Invocation failures count against the MaxErrors limit of the parent command. This is a terminal state. Canceled: The command was terminated before it was completed. This is a terminal state. Undeliverable: The command can't be delivered to the instance. The instance might not exist or might not be responding. Undeliverable invocations don't count against the parent command's MaxErrors limit and don't contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Terminated: The parent command exceeded its MaxErrors limit and subsequent command invocations were canceled by the system. This is a terminal state. - */ - StatusDetails?: StatusDetails; - /** - * Gets the trace output sent by the agent. - */ - TraceOutput?: InvocationTraceOutput; - /** - * The URL to the plugin's StdOut file in Amazon S3, if the Amazon S3 bucket was defined for the parent command. For an invocation, StandardOutputUrl is populated if there is just one plugin defined for the command, and the Amazon S3 bucket was defined for the command. - */ - StandardOutputUrl?: Url; - /** - * The URL to the plugin's StdErr file in Amazon S3, if the Amazon S3 bucket was defined for the parent command. For an invocation, StandardErrorUrl is populated if there is just one plugin defined for the command, and the Amazon S3 bucket was defined for the command. - */ - StandardErrorUrl?: Url; - CommandPlugins?: CommandPluginList; - /** - * The IAM service role that Run Command uses to act on your behalf when sending notifications about command status changes on a per instance basis. - */ - ServiceRole?: ServiceRole; - /** - * Configurations for sending notifications about command status changes on a per instance basis. - */ - NotificationConfig?: NotificationConfig; - } - export type CommandInvocationList = CommandInvocation[]; - export type CommandInvocationStatus = "Pending"|"InProgress"|"Delayed"|"Success"|"Cancelled"|"TimedOut"|"Failed"|"Cancelling"|string; - export type CommandList = Command[]; - export type CommandMaxResults = number; - export interface CommandPlugin { - /** - * The name of the plugin. Must be one of the following: aws:updateAgent, aws:domainjoin, aws:applications, aws:runPowerShellScript, aws:psmodule, aws:cloudWatch, aws:runShellScript, or aws:updateSSMAgent. - */ - Name?: CommandPluginName; - /** - * The status of this plugin. You can execute a document with multiple plugins. - */ - Status?: CommandPluginStatus; - /** - * A detailed status of the plugin execution. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Run Command Status. StatusDetails can be one of the following values: Pending: The command has not been sent to the instance. In Progress: The command has been sent to the instance but has not reached a terminal state. Success: The execution of the command or plugin was successfully completed. This is a terminal state. Delivery Timed Out: The command was not delivered to the instance before the delivery timeout expired. Delivery timeouts do not count against the parent command's MaxErrors limit, but they do contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Execution Timed Out: Command execution started on the instance, but the execution was not complete before the execution timeout expired. Execution timeouts count against the MaxErrors limit of the parent command. This is a terminal state. Failed: The command was not successful on the instance. For a plugin, this indicates that the result code was not zero. For a command invocation, this indicates that the result code for one or more plugins was not zero. Invocation failures count against the MaxErrors limit of the parent command. This is a terminal state. Canceled: The command was terminated before it was completed. This is a terminal state. Undeliverable: The command can't be delivered to the instance. The instance might not exist, or it might not be responding. Undeliverable invocations don't count against the parent command's MaxErrors limit, and they don't contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Terminated: The parent command exceeded its MaxErrors limit and subsequent command invocations were canceled by the system. This is a terminal state. - */ - StatusDetails?: StatusDetails; - /** - * A numeric response code generated after executing the plugin. - */ - ResponseCode?: ResponseCode; - /** - * The time the plugin started executing. - */ - ResponseStartDateTime?: DateTime; - /** - * The time the plugin stopped executing. Could stop prematurely if, for example, a cancel command was sent. - */ - ResponseFinishDateTime?: DateTime; - /** - * Output of the plugin execution. - */ - Output?: CommandPluginOutput; - /** - * The URL for the complete text written by the plugin to stdout in Amazon S3. If the Amazon S3 bucket for the command was not specified, then this string is empty. - */ - StandardOutputUrl?: Url; - /** - * The URL for the complete text written by the plugin to stderr. If execution is not yet complete, then this string is empty. - */ - StandardErrorUrl?: Url; - /** - * (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager automatically determines the Amazon S3 bucket region. - */ - OutputS3Region?: S3Region; - /** - * The S3 bucket where the responses to the command executions should be stored. This was requested when issuing the command. For example, in the following response: test_folder/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-1234567876543/awsrunShellScript test_folder is the name of the Amazon S3 bucket; ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix; i-1234567876543 is the instance ID; awsrunShellScript is the name of the plugin. - */ - OutputS3BucketName?: S3BucketName; - /** - * The S3 directory path inside the bucket where the responses to the command executions should be stored. This was requested when issuing the command. For example, in the following response: test_folder/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-1234567876543/awsrunShellScript test_folder is the name of the Amazon S3 bucket; ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix; i-1234567876543 is the instance ID; awsrunShellScript is the name of the plugin. - */ - OutputS3KeyPrefix?: S3KeyPrefix; - } - export type CommandPluginList = CommandPlugin[]; - export type CommandPluginName = string; - export type CommandPluginOutput = string; - export type CommandPluginStatus = "Pending"|"InProgress"|"Success"|"TimedOut"|"Cancelled"|"Failed"|string; - export type CommandStatus = "Pending"|"InProgress"|"Success"|"Cancelled"|"Failed"|"TimedOut"|"Cancelling"|string; - export type Comment = string; - export type CompletedCount = number; - export type ComputerName = string; - export interface CreateActivationRequest { - /** - * A userdefined description of the resource that you want to register with Amazon EC2. - */ - Description?: ActivationDescription; - /** - * The name of the registered, managed instance as it will appear in the Amazon EC2 console or when you use the AWS command line tools to list EC2 resources. - */ - DefaultInstanceName?: DefaultInstanceName; - /** - * The Amazon Identity and Access Management (IAM) role that you want to assign to the managed instance. - */ - IamRole: IamRole; - /** - * Specify the maximum number of managed instances you want to register. The default value is 1 instance. - */ - RegistrationLimit?: RegistrationLimit; - /** - * The date by which this activation request should expire. The default value is 24 hours. - */ - ExpirationDate?: ExpirationDate; - } - export interface CreateActivationResult { - /** - * The ID number generated by the system when it processed the activation. The activation ID functions like a user name. - */ - ActivationId?: ActivationId; - /** - * The code the system generates when it processes the activation. The activation code functions like a password to validate the activation ID. - */ - ActivationCode?: ActivationCode; - } - export interface CreateAssociationBatchRequest { - /** - * One or more associations. - */ - Entries: CreateAssociationBatchRequestEntries; - } - export type CreateAssociationBatchRequestEntries = CreateAssociationBatchRequestEntry[]; - export interface CreateAssociationBatchRequestEntry { - /** - * The name of the configuration document. - */ - Name: DocumentName; - /** - * The ID of the instance. - */ - InstanceId?: InstanceId; - /** - * A description of the parameters for a document. - */ - Parameters?: Parameters; - /** - * The document version. - */ - DocumentVersion?: DocumentVersion; - /** - * The instances targeted by the request. - */ - Targets?: Targets; - /** - * A cron expression that specifies a schedule when the association runs. - */ - ScheduleExpression?: ScheduleExpression; - /** - * An Amazon S3 bucket where you want to store the results of this request. - */ - OutputLocation?: InstanceAssociationOutputLocation; - } - export interface CreateAssociationBatchResult { - /** - * Information about the associations that succeeded. - */ - Successful?: AssociationDescriptionList; - /** - * Information about the associations that failed. - */ - Failed?: FailedCreateAssociationList; - } - export interface CreateAssociationRequest { - /** - * The name of the Systems Manager document. - */ - Name: DocumentName; - /** - * The document version you want to associate with the target(s). Can be a specific version or the default version. - */ - DocumentVersion?: DocumentVersion; - /** - * The instance ID. - */ - InstanceId?: InstanceId; - /** - * The parameters for the documents runtime configuration. - */ - Parameters?: Parameters; - /** - * The targets (either instances or tags) for the association. - */ - Targets?: Targets; - /** - * A cron expression when the association will be applied to the target(s). - */ - ScheduleExpression?: ScheduleExpression; - /** - * An Amazon S3 bucket where you want to store the output details of the request. - */ - OutputLocation?: InstanceAssociationOutputLocation; - } - export interface CreateAssociationResult { - /** - * Information about the association. - */ - AssociationDescription?: AssociationDescription; - } - export interface CreateDocumentRequest { - /** - * A valid JSON string. - */ - Content: DocumentContent; - /** - * A name for the Systems Manager document. - */ - Name: DocumentName; - /** - * The type of document to create. Valid document types include: Policy, Automation, and Command. - */ - DocumentType?: DocumentType; - } - export interface CreateDocumentResult { - /** - * Information about the Systems Manager document. - */ - DocumentDescription?: DocumentDescription; - } - export interface CreateMaintenanceWindowRequest { - /** - * The name of the Maintenance Window. - */ - Name: MaintenanceWindowName; - /** - * The schedule of the Maintenance Window in the form of a cron or rate expression. - */ - Schedule: MaintenanceWindowSchedule; - /** - * The duration of the Maintenance Window in hours. - */ - Duration: MaintenanceWindowDurationHours; - /** - * The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution. - */ - Cutoff: MaintenanceWindowCutoff; - /** - * Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets. - */ - AllowUnassociatedTargets: MaintenanceWindowAllowUnassociatedTargets; - /** - * User-provided idempotency token. - */ - ClientToken?: ClientToken; - } - export interface CreateMaintenanceWindowResult { - /** - * The ID of the created Maintenance Window. - */ - WindowId?: MaintenanceWindowId; - } - export interface CreatePatchBaselineRequest { - /** - * Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS. - */ - OperatingSystem?: OperatingSystem; - /** - * The name of the patch baseline. - */ - Name: BaselineName; - /** - * A set of global filters used to exclude patches from the baseline. - */ - GlobalFilters?: PatchFilterGroup; - /** - * A set of rules used to include patches in the baseline. - */ - ApprovalRules?: PatchRuleGroup; - /** - * A list of explicitly approved patches for the baseline. - */ - ApprovedPatches?: PatchIdList; - /** - * Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED. - */ - ApprovedPatchesComplianceLevel?: PatchComplianceLevel; - /** - * A list of explicitly rejected patches for the baseline. - */ - RejectedPatches?: PatchIdList; - /** - * A description of the patch baseline. - */ - Description?: BaselineDescription; - /** - * User-provided idempotency token. - */ - ClientToken?: ClientToken; - } - export interface CreatePatchBaselineResult { - /** - * The ID of the created patch baseline. - */ - BaselineId?: BaselineId; - } - export interface CreateResourceDataSyncRequest { - /** - * A name for the configuration. - */ - SyncName: ResourceDataSyncName; - /** - * Amazon S3 configuration details for the sync. - */ - S3Destination: ResourceDataSyncS3Destination; - } - export interface CreateResourceDataSyncResult { - } - export type CreatedDate = Date; - export type DateTime = Date; - export type DefaultBaseline = boolean; - export type DefaultInstanceName = string; - export interface DeleteActivationRequest { - /** - * The ID of the activation that you want to delete. - */ - ActivationId: ActivationId; - } - export interface DeleteActivationResult { - } - export interface DeleteAssociationRequest { - /** - * The name of the Systems Manager document. - */ - Name?: DocumentName; - /** - * The ID of the instance. - */ - InstanceId?: InstanceId; - /** - * The association ID that you want to delete. - */ - AssociationId?: AssociationId; - } - export interface DeleteAssociationResult { - } - export interface DeleteDocumentRequest { - /** - * The name of the document. - */ - Name: DocumentName; - } - export interface DeleteDocumentResult { - } - export interface DeleteMaintenanceWindowRequest { - /** - * The ID of the Maintenance Window to delete. - */ - WindowId: MaintenanceWindowId; - } - export interface DeleteMaintenanceWindowResult { - /** - * The ID of the deleted Maintenance Window. - */ - WindowId?: MaintenanceWindowId; - } - export interface DeleteParameterRequest { - /** - * The name of the parameter to delete. - */ - Name: PSParameterName; - } - export interface DeleteParameterResult { - } - export interface DeleteParametersRequest { - /** - * The names of the parameters to delete. - */ - Names: ParameterNameList; - } - export interface DeleteParametersResult { - /** - * The names of the deleted parameters. - */ - DeletedParameters?: ParameterNameList; - /** - * The names of parameters that weren't deleted because the parameters are not valid. - */ - InvalidParameters?: ParameterNameList; - } - export interface DeletePatchBaselineRequest { - /** - * The ID of the patch baseline to delete. - */ - BaselineId: BaselineId; - } - export interface DeletePatchBaselineResult { - /** - * The ID of the deleted patch baseline. - */ - BaselineId?: BaselineId; - } - export interface DeleteResourceDataSyncRequest { - /** - * The name of the configuration to delete. - */ - SyncName: ResourceDataSyncName; - } - export interface DeleteResourceDataSyncResult { - } - export interface DeregisterManagedInstanceRequest { - /** - * The ID assigned to the managed instance when you registered it using the activation process. - */ - InstanceId: ManagedInstanceId; - } - export interface DeregisterManagedInstanceResult { - } - export interface DeregisterPatchBaselineForPatchGroupRequest { - /** - * The ID of the patch baseline to deregister the patch group from. - */ - BaselineId: BaselineId; - /** - * The name of the patch group that should be deregistered from the patch baseline. - */ - PatchGroup: PatchGroup; - } - export interface DeregisterPatchBaselineForPatchGroupResult { - /** - * The ID of the patch baseline the patch group was deregistered from. - */ - BaselineId?: BaselineId; - /** - * The name of the patch group deregistered from the patch baseline. - */ - PatchGroup?: PatchGroup; - } - export interface DeregisterTargetFromMaintenanceWindowRequest { - /** - * The ID of the Maintenance Window the target should be removed from. - */ - WindowId: MaintenanceWindowId; - /** - * The ID of the target definition to remove. - */ - WindowTargetId: MaintenanceWindowTargetId; - } - export interface DeregisterTargetFromMaintenanceWindowResult { - /** - * The ID of the Maintenance Window the target was removed from. - */ - WindowId?: MaintenanceWindowId; - /** - * The ID of the removed target definition. - */ - WindowTargetId?: MaintenanceWindowTargetId; - } - export interface DeregisterTaskFromMaintenanceWindowRequest { - /** - * The ID of the Maintenance Window the task should be removed from. - */ - WindowId: MaintenanceWindowId; - /** - * The ID of the task to remove from the Maintenance Window. - */ - WindowTaskId: MaintenanceWindowTaskId; - } - export interface DeregisterTaskFromMaintenanceWindowResult { - /** - * The ID of the Maintenance Window the task was removed from. - */ - WindowId?: MaintenanceWindowId; - /** - * The ID of the task removed from the Maintenance Window. - */ - WindowTaskId?: MaintenanceWindowTaskId; - } - export interface DescribeActivationsFilter { - /** - * The name of the filter. - */ - FilterKey?: DescribeActivationsFilterKeys; - /** - * The filter values. - */ - FilterValues?: StringList; - } - export type DescribeActivationsFilterKeys = "ActivationIds"|"DefaultInstanceName"|"IamRole"|string; - export type DescribeActivationsFilterList = DescribeActivationsFilter[]; - export interface DescribeActivationsRequest { - /** - * A filter to view information about your activations. - */ - Filters?: DescribeActivationsFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - /** - * A token to start the list. Use this token to get the next set of results. - */ - NextToken?: NextToken; - } - export interface DescribeActivationsResult { - /** - * A list of activations for your AWS account. - */ - ActivationList?: ActivationList; - /** - * The token for the next set of items to return. Use this token to get the next set of results. - */ - NextToken?: NextToken; - } - export interface DescribeAssociationRequest { - /** - * The name of the SSM document. - */ - Name?: DocumentName; - /** - * The instance ID. - */ - InstanceId?: InstanceId; - /** - * The association ID for which you want information. - */ - AssociationId?: AssociationId; - } - export interface DescribeAssociationResult { - /** - * Information about the association. - */ - AssociationDescription?: AssociationDescription; - } - export interface DescribeAutomationExecutionsRequest { - /** - * Filters used to limit the scope of executions that are requested. - */ - Filters?: AutomationExecutionFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeAutomationExecutionsResult { - /** - * The list of details about each automation execution which has occurred which matches the filter specification, if any. - */ - AutomationExecutionMetadataList?: AutomationExecutionMetadataList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeAvailablePatchesRequest { - /** - * Filters used to scope down the returned patches. - */ - Filters?: PatchOrchestratorFilterList; - /** - * The maximum number of patches to return (per page). - */ - MaxResults?: PatchBaselineMaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeAvailablePatchesResult { - /** - * An array of patches. Each entry in the array is a patch structure. - */ - Patches?: PatchList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeDocumentPermissionRequest { - /** - * The name of the document for which you are the owner. - */ - Name: DocumentName; - /** - * The permission type for the document. The permission type can be Share. - */ - PermissionType: DocumentPermissionType; - } - export interface DescribeDocumentPermissionResponse { - /** - * The account IDs that have permission to use this document. The ID can be either an AWS account or All. - */ - AccountIds?: AccountIdList; - } - export interface DescribeDocumentRequest { - /** - * The name of the SSM document. - */ - Name: DocumentARN; - /** - * The document version for which you want information. Can be a specific version or the default version. - */ - DocumentVersion?: DocumentVersion; - } - export interface DescribeDocumentResult { - /** - * Information about the SSM document. - */ - Document?: DocumentDescription; - } - export interface DescribeEffectiveInstanceAssociationsRequest { - /** - * The instance ID for which you want to view all associations. - */ - InstanceId: InstanceId; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: EffectiveInstanceAssociationMaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeEffectiveInstanceAssociationsResult { - /** - * The associations for the requested instance. - */ - Associations?: InstanceAssociationList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeEffectivePatchesForPatchBaselineRequest { - /** - * The ID of the patch baseline to retrieve the effective patches for. - */ - BaselineId: BaselineId; - /** - * The maximum number of patches to return (per page). - */ - MaxResults?: PatchBaselineMaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeEffectivePatchesForPatchBaselineResult { - /** - * An array of patches and patch status. - */ - EffectivePatches?: EffectivePatchList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeInstanceAssociationsStatusRequest { - /** - * The instance IDs for which you want association status information. - */ - InstanceId: InstanceId; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeInstanceAssociationsStatusResult { - /** - * Status information about the association. - */ - InstanceAssociationStatusInfos?: InstanceAssociationStatusInfos; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeInstanceInformationRequest { - /** - * One or more filters. Use a filter to return a more specific list of instances. - */ - InstanceInformationFilterList?: InstanceInformationFilterList; - /** - * One or more filters. Use a filter to return a more specific list of instances. - */ - Filters?: InstanceInformationStringFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResultsEC2Compatible; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeInstanceInformationResult { - /** - * The instance information list. - */ - InstanceInformationList?: InstanceInformationList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeInstancePatchStatesForPatchGroupRequest { - /** - * The name of the patch group for which the patch state information should be retrieved. - */ - PatchGroup: PatchGroup; - /** - * Each entry in the array is a structure containing: Key (string between 1 and 200 characters) Values (array containing a single string) Type (string "Equal", "NotEqual", "LessThan", "GreaterThan") - */ - Filters?: InstancePatchStateFilterList; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - /** - * The maximum number of patches to return (per page). - */ - MaxResults?: PatchComplianceMaxResults; - } - export interface DescribeInstancePatchStatesForPatchGroupResult { - /** - * The high-level patch state for the requested instances. - */ - InstancePatchStates?: InstancePatchStatesList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeInstancePatchStatesRequest { - /** - * The ID of the instance whose patch state information should be retrieved. - */ - InstanceIds: InstanceIdList; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - /** - * The maximum number of instances to return (per page). - */ - MaxResults?: PatchComplianceMaxResults; - } - export interface DescribeInstancePatchStatesResult { - /** - * The high-level patch state for the requested instances. - */ - InstancePatchStates?: InstancePatchStateList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeInstancePatchesRequest { - /** - * The ID of the instance whose patch state information should be retrieved. - */ - InstanceId: InstanceId; - /** - * Each entry in the array is a structure containing: Key (string, between 1 and 128 characters) Values (array of strings, each string between 1 and 256 characters) - */ - Filters?: PatchOrchestratorFilterList; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - /** - * The maximum number of patches to return (per page). - */ - MaxResults?: PatchComplianceMaxResults; - } - export interface DescribeInstancePatchesResult { - /** - * Each entry in the array is a structure containing: Title (string) KBId (string) Classification (string) Severity (string) State (string: "INSTALLED", "INSTALLED OTHER", "MISSING", "NOT APPLICABLE", "FAILED") InstalledTime (DateTime) InstalledBy (string) - */ - Patches?: PatchComplianceDataList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowExecutionTaskInvocationsRequest { - /** - * The ID of the Maintenance Window execution the task is part of. - */ - WindowExecutionId: MaintenanceWindowExecutionId; - /** - * The ID of the specific task in the Maintenance Window task that should be retrieved. - */ - TaskId: MaintenanceWindowExecutionTaskId; - /** - * Optional filters used to scope down the returned task invocations. The supported filter key is STATUS with the corresponding values PENDING, IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, CANCELLING, and CANCELLED. - */ - Filters?: MaintenanceWindowFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaintenanceWindowMaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowExecutionTaskInvocationsResult { - /** - * Information about the task invocation results per invocation. - */ - WindowExecutionTaskInvocationIdentities?: MaintenanceWindowExecutionTaskInvocationIdentityList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowExecutionTasksRequest { - /** - * The ID of the Maintenance Window execution whose task executions should be retrieved. - */ - WindowExecutionId: MaintenanceWindowExecutionId; - /** - * Optional filters used to scope down the returned tasks. The supported filter key is STATUS with the corresponding values PENDING, IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, CANCELLING, and CANCELLED. - */ - Filters?: MaintenanceWindowFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaintenanceWindowMaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowExecutionTasksResult { - /** - * Information about the task executions. - */ - WindowExecutionTaskIdentities?: MaintenanceWindowExecutionTaskIdentityList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowExecutionsRequest { - /** - * The ID of the Maintenance Window whose executions should be retrieved. - */ - WindowId: MaintenanceWindowId; - /** - * Each entry in the array is a structure containing: Key (string, between 1 and 128 characters) Values (array of strings, each string is between 1 and 256 characters) The supported Keys are ExecutedBefore and ExecutedAfter with the value being a date/time string such as 2016-11-04T05:00:00Z. - */ - Filters?: MaintenanceWindowFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaintenanceWindowMaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowExecutionsResult { - /** - * Information about the Maintenance Windows execution. - */ - WindowExecutions?: MaintenanceWindowExecutionList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowTargetsRequest { - /** - * The ID of the Maintenance Window whose targets should be retrieved. - */ - WindowId: MaintenanceWindowId; - /** - * Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are Type, WindowTargetId and OwnerInformation. - */ - Filters?: MaintenanceWindowFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaintenanceWindowMaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowTargetsResult { - /** - * Information about the targets in the Maintenance Window. - */ - Targets?: MaintenanceWindowTargetList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowTasksRequest { - /** - * The ID of the Maintenance Window whose tasks should be retrieved. - */ - WindowId: MaintenanceWindowId; - /** - * Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId, TaskArn, Priority, and TaskType. - */ - Filters?: MaintenanceWindowFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaintenanceWindowMaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowTasksResult { - /** - * Information about the tasks in the Maintenance Window. - */ - Tasks?: MaintenanceWindowTaskList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowsRequest { - /** - * Optional filters used to narrow down the scope of the returned Maintenance Windows. Supported filter keys are Name and Enabled. - */ - Filters?: MaintenanceWindowFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaintenanceWindowMaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeMaintenanceWindowsResult { - /** - * Information about the Maintenance Windows. - */ - WindowIdentities?: MaintenanceWindowIdentityList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribeParametersRequest { - /** - * One or more filters. Use a filter to return a more specific list of results. - */ - Filters?: ParametersFilterList; - /** - * Filters to limit the request results. - */ - ParameterFilters?: ParameterStringFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribeParametersResult { - /** - * Parameters returned by the request. - */ - Parameters?: ParameterMetadataList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribePatchBaselinesRequest { - /** - * Each element in the array is a structure containing: Key: (string, "NAME_PREFIX" or "OWNER") Value: (array of strings, exactly 1 entry, between 1 and 255 characters) - */ - Filters?: PatchOrchestratorFilterList; - /** - * The maximum number of patch baselines to return (per page). - */ - MaxResults?: PatchBaselineMaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribePatchBaselinesResult { - /** - * An array of PatchBaselineIdentity elements. - */ - BaselineIdentities?: PatchBaselineIdentityList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface DescribePatchGroupStateRequest { - /** - * The name of the patch group whose patch snapshot should be retrieved. - */ - PatchGroup: PatchGroup; - } - export interface DescribePatchGroupStateResult { - /** - * The number of instances in the patch group. - */ - Instances?: Integer; - /** - * The number of instances with installed patches. - */ - InstancesWithInstalledPatches?: Integer; - /** - * The number of instances with patches installed that aren't defined in the patch baseline. - */ - InstancesWithInstalledOtherPatches?: Integer; - /** - * The number of instances with missing patches from the patch baseline. - */ - InstancesWithMissingPatches?: Integer; - /** - * The number of instances with patches from the patch baseline that failed to install. - */ - InstancesWithFailedPatches?: Integer; - /** - * The number of instances with patches that aren't applicable. - */ - InstancesWithNotApplicablePatches?: Integer; - } - export interface DescribePatchGroupsRequest { - /** - * The maximum number of patch groups to return (per page). - */ - MaxResults?: PatchBaselineMaxResults; - /** - * One or more filters. Use a filter to return a more specific list of results. - */ - Filters?: PatchOrchestratorFilterList; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface DescribePatchGroupsResult { - /** - * Each entry in the array contains: PatchGroup: string (between 1 and 256 characters, Regex: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$) PatchBaselineIdentity: A PatchBaselineIdentity element. - */ - Mappings?: PatchGroupPatchBaselineMappingList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export type DescriptionInDocument = string; - export type DocumentARN = string; - export type DocumentContent = string; - export interface DocumentDefaultVersionDescription { - /** - * The name of the document. - */ - Name?: DocumentName; - /** - * The default version of the document. - */ - DefaultVersion?: DocumentVersion; - } - export interface DocumentDescription { - /** - * The SHA1 hash of the document, which you can use for verification purposes. - */ - Sha1?: DocumentSha1; - /** - * The Sha256 or Sha1 hash created by the system when the document was created. Sha1 hashes have been deprecated. - */ - Hash?: DocumentHash; - /** - * Sha256 or Sha1. Sha1 hashes have been deprecated. - */ - HashType?: DocumentHashType; - /** - * The name of the SSM document. - */ - Name?: DocumentARN; - /** - * The AWS user account of the person who created the document. - */ - Owner?: DocumentOwner; - /** - * The date when the document was created. - */ - CreatedDate?: DateTime; - /** - * The status of the SSM document. - */ - Status?: DocumentStatus; - /** - * The document version. - */ - DocumentVersion?: DocumentVersion; - /** - * A description of the document. - */ - Description?: DescriptionInDocument; - /** - * A description of the parameters for a document. - */ - Parameters?: DocumentParameterList; - /** - * The list of OS platforms compatible with this SSM document. - */ - PlatformTypes?: PlatformTypeList; - /** - * The type of document. - */ - DocumentType?: DocumentType; - /** - * The schema version. - */ - SchemaVersion?: DocumentSchemaVersion; - /** - * The latest version of the document. - */ - LatestVersion?: DocumentVersion; - /** - * The default version. - */ - DefaultVersion?: DocumentVersion; - } - export interface DocumentFilter { - /** - * The name of the filter. - */ - key: DocumentFilterKey; - /** - * The value of the filter. - */ - value: DocumentFilterValue; - } - export type DocumentFilterKey = "Name"|"Owner"|"PlatformTypes"|"DocumentType"|string; - export type DocumentFilterList = DocumentFilter[]; - export type DocumentFilterValue = string; - export type DocumentHash = string; - export type DocumentHashType = "Sha256"|"Sha1"|string; - export interface DocumentIdentifier { - /** - * The name of the SSM document. - */ - Name?: DocumentARN; - /** - * The AWS user account of the person who created the document. - */ - Owner?: DocumentOwner; - /** - * The operating system platform. - */ - PlatformTypes?: PlatformTypeList; - /** - * The document version. - */ - DocumentVersion?: DocumentVersion; - /** - * The document type. - */ - DocumentType?: DocumentType; - /** - * The schema version. - */ - SchemaVersion?: DocumentSchemaVersion; - } - export type DocumentIdentifierList = DocumentIdentifier[]; - export type DocumentName = string; - export type DocumentOwner = string; - export interface DocumentParameter { - /** - * The name of the parameter. - */ - Name?: DocumentParameterName; - /** - * The type of parameter. The type can be either String or StringList. - */ - Type?: DocumentParameterType; - /** - * A description of what the parameter does, how to use it, the default value, and whether or not the parameter is optional. - */ - Description?: DocumentParameterDescrption; - /** - * If specified, the default values for the parameters. Parameters without a default value are required. Parameters with a default value are optional. - */ - DefaultValue?: DocumentParameterDefaultValue; - } - export type DocumentParameterDefaultValue = string; - export type DocumentParameterDescrption = string; - export type DocumentParameterList = DocumentParameter[]; - export type DocumentParameterName = string; - export type DocumentParameterType = "String"|"StringList"|string; - export type DocumentPermissionType = "Share"|string; - export type DocumentSchemaVersion = string; - export type DocumentSha1 = string; - export type DocumentStatus = "Creating"|"Active"|"Updating"|"Deleting"|string; - export type DocumentType = "Command"|"Policy"|"Automation"|string; - export type DocumentVersion = string; - export interface DocumentVersionInfo { - /** - * The document name. - */ - Name?: DocumentName; - /** - * The document version. - */ - DocumentVersion?: DocumentVersion; - /** - * The date the document was created. - */ - CreatedDate?: DateTime; - /** - * An identifier for the default version of the document. - */ - IsDefaultVersion?: Boolean; - } - export type DocumentVersionList = DocumentVersionInfo[]; - export type DocumentVersionNumber = string; - export type EffectiveInstanceAssociationMaxResults = number; - export interface EffectivePatch { - /** - * Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch. - */ - Patch?: Patch; - /** - * The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved. - */ - PatchStatus?: PatchStatus; - } - export type EffectivePatchList = EffectivePatch[]; - export type ErrorCount = number; - export type ExpirationDate = Date; - export interface FailedCreateAssociation { - /** - * The association. - */ - Entry?: CreateAssociationBatchRequestEntry; - /** - * A description of the failure. - */ - Message?: BatchErrorMessage; - /** - * The source of the failure. - */ - Fault?: Fault; - } - export type FailedCreateAssociationList = FailedCreateAssociation[]; - export interface FailureDetails { - /** - * The stage of the Automation execution when the failure occurred. The stages include the following: InputValidation, PreVerification, Invocation, PostVerification. - */ - FailureStage?: String; - /** - * The type of Automation failure. Failure types include the following: Action, Permission, Throttling, Verification, Internal. - */ - FailureType?: String; - /** - * Detailed information about the Automation step failure. - */ - Details?: AutomationParameterMap; - } - export type Fault = "Client"|"Server"|"Unknown"|string; - export interface GetAutomationExecutionRequest { - /** - * The unique identifier for an existing automation execution to examine. The execution ID is returned by StartAutomationExecution when the execution of an Automation document is initiated. - */ - AutomationExecutionId: AutomationExecutionId; - } - export interface GetAutomationExecutionResult { - /** - * Detailed information about the current state of an automation execution. - */ - AutomationExecution?: AutomationExecution; - } - export interface GetCommandInvocationRequest { - /** - * (Required) The parent command ID of the invocation plugin. - */ - CommandId: CommandId; - /** - * (Required) The ID of the managed instance targeted by the command. A managed instance can be an Amazon EC2 instance or an instance in your hybrid environment that is configured for Systems Manager. - */ - InstanceId: InstanceId; - /** - * (Optional) The name of the plugin for which you want detailed results. If the document contains only one plugin, the name can be omitted and the details will be returned. - */ - PluginName?: CommandPluginName; - } - export interface GetCommandInvocationResult { - /** - * The parent command ID of the invocation plugin. - */ - CommandId?: CommandId; - /** - * The ID of the managed instance targeted by the command. A managed instance can be an Amazon EC2 instance or an instance in your hybrid environment that is configured for Systems Manager. - */ - InstanceId?: InstanceId; - /** - * The comment text for the command. - */ - Comment?: Comment; - /** - * The name of the document that was executed. For example, AWS-RunShellScript. - */ - DocumentName?: DocumentName; - /** - * The name of the plugin for which you want detailed results. For example, aws:RunShellScript is a plugin. - */ - PluginName?: CommandPluginName; - /** - * The error level response code for the plugin script. If the response code is -1, then the command has not started executing on the instance, or it was not received by the instance. - */ - ResponseCode?: ResponseCode; - /** - * The date and time the plugin started executing. Date and time are written in ISO 8601 format. For example, June 7, 2017 is represented as 2017-06-7. The following sample AWS CLI command uses the InvokedBefore filter. aws ssm list-commands --filters key=InvokedBefore,value=2017-06-07T00:00:00Z If the plugin has not started to execute, the string is empty. - */ - ExecutionStartDateTime?: StringDateTime; - /** - * Duration since ExecutionStartDateTime. - */ - ExecutionElapsedTime?: StringDateTime; - /** - * The date and time the plugin was finished executing. Date and time are written in ISO 8601 format. For example, June 7, 2017 is represented as 2017-06-7. The following sample AWS CLI command uses the InvokedAfter filter. aws ssm list-commands --filters key=InvokedAfter,value=2017-06-07T00:00:00Z If the plugin has not started to execute, the string is empty. - */ - ExecutionEndDateTime?: StringDateTime; - /** - * The status of the parent command for this invocation. This status can be different than StatusDetails. - */ - Status?: CommandInvocationStatus; - /** - * A detailed status of the command execution for an invocation. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Run Command Status. StatusDetails can be one of the following values: Pending: The command has not been sent to the instance. In Progress: The command has been sent to the instance but has not reached a terminal state. Delayed: The system attempted to send the command to the target, but the target was not available. The instance might not be available because of network issues, the instance was stopped, etc. The system will try to deliver the command again. Success: The command or plugin was executed successfully. This is a terminal state. Delivery Timed Out: The command was not delivered to the instance before the delivery timeout expired. Delivery timeouts do not count against the parent command's MaxErrors limit, but they do contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Execution Timed Out: The command started to execute on the instance, but the execution was not complete before the timeout expired. Execution timeouts count against the MaxErrors limit of the parent command. This is a terminal state. Failed: The command wasn't executed successfully on the instance. For a plugin, this indicates that the result code was not zero. For a command invocation, this indicates that the result code for one or more plugins was not zero. Invocation failures count against the MaxErrors limit of the parent command. This is a terminal state. Canceled: The command was terminated before it was completed. This is a terminal state. Undeliverable: The command can't be delivered to the instance. The instance might not exist or might not be responding. Undeliverable invocations don't count against the parent command's MaxErrors limit and don't contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Terminated: The parent command exceeded its MaxErrors limit and subsequent command invocations were canceled by the system. This is a terminal state. - */ - StatusDetails?: StatusDetails; - /** - * The first 24,000 characters written by the plugin to stdout. If the command has not finished executing, if ExecutionStatus is neither Succeeded nor Failed, then this string is empty. - */ - StandardOutputContent?: StandardOutputContent; - /** - * The URL for the complete text written by the plugin to stdout in Amazon S3. If an Amazon S3 bucket was not specified, then this string is empty. - */ - StandardOutputUrl?: Url; - /** - * The first 8,000 characters written by the plugin to stderr. If the command has not finished executing, then this string is empty. - */ - StandardErrorContent?: StandardErrorContent; - /** - * The URL for the complete text written by the plugin to stderr. If the command has not finished executing, then this string is empty. - */ - StandardErrorUrl?: Url; - } - export interface GetDefaultPatchBaselineRequest { - /** - * Returns the default patch baseline for the specified operating system. - */ - OperatingSystem?: OperatingSystem; - } - export interface GetDefaultPatchBaselineResult { - /** - * The ID of the default patch baseline. - */ - BaselineId?: BaselineId; - /** - * The operating system for the returned patch baseline. - */ - OperatingSystem?: OperatingSystem; - } - export interface GetDeployablePatchSnapshotForInstanceRequest { - /** - * The ID of the instance for which the appropriate patch snapshot should be retrieved. - */ - InstanceId: InstanceId; - /** - * The user-defined snapshot ID. - */ - SnapshotId: SnapshotId; - } - export interface GetDeployablePatchSnapshotForInstanceResult { - /** - * The ID of the instance. - */ - InstanceId?: InstanceId; - /** - * The user-defined snapshot ID. - */ - SnapshotId?: SnapshotId; - /** - * A pre-signed Amazon S3 URL that can be used to download the patch snapshot. - */ - SnapshotDownloadUrl?: SnapshotDownloadUrl; - /** - * Returns the specific operating system (for example Windows Server 2012 or Amazon Linux 2015.09) on the instance for the specified patch snapshot. - */ - Product?: Product; - } - export interface GetDocumentRequest { - /** - * The name of the SSM document. - */ - Name: DocumentARN; - /** - * The document version for which you want information. - */ - DocumentVersion?: DocumentVersion; - } - export interface GetDocumentResult { - /** - * The name of the SSM document. - */ - Name?: DocumentARN; - /** - * The document version. - */ - DocumentVersion?: DocumentVersion; - /** - * The contents of the SSM document. - */ - Content?: DocumentContent; - /** - * The document type. - */ - DocumentType?: DocumentType; - } - export interface GetInventoryRequest { - /** - * One or more filters. Use a filter to return a more specific list of results. - */ - Filters?: InventoryFilterList; - /** - * The list of inventory item types to return. - */ - ResultAttributes?: ResultAttributeList; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - } - export interface GetInventoryResult { - /** - * Collection of inventory entities such as a collection of instance inventory. - */ - Entities?: InventoryResultEntityList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export type GetInventorySchemaMaxResults = number; - export interface GetInventorySchemaRequest { - /** - * The type of inventory item to return. - */ - TypeName?: InventoryItemTypeNameFilter; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: GetInventorySchemaMaxResults; - } - export interface GetInventorySchemaResult { - /** - * Inventory schemas returned by the request. - */ - Schemas?: InventoryItemSchemaResultList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface GetMaintenanceWindowExecutionRequest { - /** - * The ID of the Maintenance Window execution that includes the task. - */ - WindowExecutionId: MaintenanceWindowExecutionId; - } - export interface GetMaintenanceWindowExecutionResult { - /** - * The ID of the Maintenance Window execution. - */ - WindowExecutionId?: MaintenanceWindowExecutionId; - /** - * The ID of the task executions from the Maintenance Window execution. - */ - TaskIds?: MaintenanceWindowExecutionTaskIdList; - /** - * The status of the Maintenance Window execution. - */ - Status?: MaintenanceWindowExecutionStatus; - /** - * The details explaining the Status. Only available for certain status values. - */ - StatusDetails?: MaintenanceWindowExecutionStatusDetails; - /** - * The time the Maintenance Window started executing. - */ - StartTime?: DateTime; - /** - * The time the Maintenance Window finished executing. - */ - EndTime?: DateTime; - } - export interface GetMaintenanceWindowExecutionTaskRequest { - /** - * The ID of the Maintenance Window execution that includes the task. - */ - WindowExecutionId: MaintenanceWindowExecutionId; - /** - * The ID of the specific task execution in the Maintenance Window task that should be retrieved. - */ - TaskId: MaintenanceWindowExecutionTaskId; - } - export interface GetMaintenanceWindowExecutionTaskResult { - /** - * The ID of the Maintenance Window execution that includes the task. - */ - WindowExecutionId?: MaintenanceWindowExecutionId; - /** - * The ID of the specific task execution in the Maintenance Window task that was retrieved. - */ - TaskExecutionId?: MaintenanceWindowExecutionTaskId; - /** - * The ARN of the executed task. - */ - TaskArn?: MaintenanceWindowTaskArn; - /** - * The role that was assumed when executing the task. - */ - ServiceRole?: ServiceRole; - /** - * The type of task executed. - */ - Type?: MaintenanceWindowTaskType; - /** - * The parameters passed to the task when it was executed. The map has the following format: Key: string, between 1 and 255 characters Value: an array of strings, each string is between 1 and 255 characters - */ - TaskParameters?: MaintenanceWindowTaskParametersList; - /** - * The priority of the task. - */ - Priority?: MaintenanceWindowTaskPriority; - /** - * The defined maximum number of task executions that could be run in parallel. - */ - MaxConcurrency?: MaxConcurrency; - /** - * The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped. - */ - MaxErrors?: MaxErrors; - /** - * The status of the task. - */ - Status?: MaintenanceWindowExecutionStatus; - /** - * The details explaining the Status. Only available for certain status values. - */ - StatusDetails?: MaintenanceWindowExecutionStatusDetails; - /** - * The time the task execution started. - */ - StartTime?: DateTime; - /** - * The time the task execution completed. - */ - EndTime?: DateTime; - } - export interface GetMaintenanceWindowRequest { - /** - * The ID of the desired Maintenance Window. - */ - WindowId: MaintenanceWindowId; - } - export interface GetMaintenanceWindowResult { - /** - * The ID of the created Maintenance Window. - */ - WindowId?: MaintenanceWindowId; - /** - * The name of the Maintenance Window. - */ - Name?: MaintenanceWindowName; - /** - * The schedule of the Maintenance Window in the form of a cron or rate expression. - */ - Schedule?: MaintenanceWindowSchedule; - /** - * The duration of the Maintenance Window in hours. - */ - Duration?: MaintenanceWindowDurationHours; - /** - * The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution. - */ - Cutoff?: MaintenanceWindowCutoff; - /** - * Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets. - */ - AllowUnassociatedTargets?: MaintenanceWindowAllowUnassociatedTargets; - /** - * Whether the Maintenance Windows is enabled. - */ - Enabled?: MaintenanceWindowEnabled; - /** - * The date the Maintenance Window was created. - */ - CreatedDate?: DateTime; - /** - * The date the Maintenance Window was last modified. - */ - ModifiedDate?: DateTime; - } - export interface GetParameterHistoryRequest { - /** - * The name of a parameter you want to query. - */ - Name: PSParameterName; - /** - * Return decrypted values for secure string parameters. This flag is ignored for String and StringList parameter types. - */ - WithDecryption?: Boolean; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface GetParameterHistoryResult { - /** - * A list of parameters returned by the request. - */ - Parameters?: ParameterHistoryList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface GetParameterRequest { - /** - * The name of the parameter you want to query. - */ - Name: PSParameterName; - /** - * Return decrypted values for secure string parameters. This flag is ignored for String and StringList parameter types. - */ - WithDecryption?: Boolean; - } - export interface GetParameterResult { - /** - * Information about a parameter. - */ - Parameter?: Parameter; - } - export type GetParametersByPathMaxResults = number; - export interface GetParametersByPathRequest { - /** - * The hierarchy for the parameter. Hierarchies start with a forward slash (/) and end with the parameter name. A hierarchy can have a maximum of five levels. Examples: /Environment/Test/DBString003 /Finance/Prod/IAD/OS/WinServ2016/license15 - */ - Path: PSParameterName; - /** - * Retrieve all parameters within a hierarchy. - */ - Recursive?: Boolean; - /** - * Filters to limit the request results. - */ - ParameterFilters?: ParameterStringFilterList; - /** - * Retrieve all parameters in a hierarchy with their value decrypted. - */ - WithDecryption?: Boolean; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: GetParametersByPathMaxResults; - /** - * A token to start the list. Use this token to get the next set of results. - */ - NextToken?: NextToken; - } - export interface GetParametersByPathResult { - /** - * A list of parameters found in the specified hierarchy. - */ - Parameters?: ParameterList; - /** - * The token for the next set of items to return. Use this token to get the next set of results. - */ - NextToken?: NextToken; - } - export interface GetParametersRequest { - /** - * Names of the parameters for which you want to query information. - */ - Names: ParameterNameList; - /** - * Return decrypted secure string value. Return decrypted values for secure string parameters. This flag is ignored for String and StringList parameter types. - */ - WithDecryption?: Boolean; - } - export interface GetParametersResult { - /** - * A list of details for a parameter. - */ - Parameters?: ParameterList; - /** - * A list of parameters that are not formatted correctly or do not run when executed. - */ - InvalidParameters?: ParameterNameList; - } - export interface GetPatchBaselineForPatchGroupRequest { - /** - * The name of the patch group whose patch baseline should be retrieved. - */ - PatchGroup: PatchGroup; - /** - * Returns he operating system rule specified for patch groups using the patch baseline. - */ - OperatingSystem?: OperatingSystem; - } - export interface GetPatchBaselineForPatchGroupResult { - /** - * The ID of the patch baseline that should be used for the patch group. - */ - BaselineId?: BaselineId; - /** - * The name of the patch group. - */ - PatchGroup?: PatchGroup; - /** - * The operating system rule specified for patch groups using the patch baseline. - */ - OperatingSystem?: OperatingSystem; - } - export interface GetPatchBaselineRequest { - /** - * The ID of the patch baseline to retrieve. - */ - BaselineId: BaselineId; - } - export interface GetPatchBaselineResult { - /** - * The ID of the retrieved patch baseline. - */ - BaselineId?: BaselineId; - /** - * The name of the patch baseline. - */ - Name?: BaselineName; - /** - * Returns the operating system specified for the patch baseline. - */ - OperatingSystem?: OperatingSystem; - /** - * A set of global filters used to exclude patches from the baseline. - */ - GlobalFilters?: PatchFilterGroup; - /** - * A set of rules used to include patches in the baseline. - */ - ApprovalRules?: PatchRuleGroup; - /** - * A list of explicitly approved patches for the baseline. - */ - ApprovedPatches?: PatchIdList; - /** - * Returns the specified compliance severity level for approved patches in the patch baseline. - */ - ApprovedPatchesComplianceLevel?: PatchComplianceLevel; - /** - * A list of explicitly rejected patches for the baseline. - */ - RejectedPatches?: PatchIdList; - /** - * Patch groups included in the patch baseline. - */ - PatchGroups?: PatchGroupList; - /** - * The date the patch baseline was created. - */ - CreatedDate?: DateTime; - /** - * The date the patch baseline was last modified. - */ - ModifiedDate?: DateTime; - /** - * A description of the patch baseline. - */ - Description?: BaselineDescription; - } - export type IPAddress = string; - export type IamRole = string; - export interface InstanceAggregatedAssociationOverview { - /** - * Detailed status information about the aggregated associations. - */ - DetailedStatus?: StatusName; - /** - * The number of associations for the instance(s). - */ - InstanceAssociationStatusAggregatedCount?: InstanceAssociationStatusAggregatedCount; - } - export interface InstanceAssociation { - /** - * The association ID. - */ - AssociationId?: AssociationId; - /** - * The instance ID. - */ - InstanceId?: InstanceId; - /** - * The content of the association document for the instance(s). - */ - Content?: DocumentContent; - } - export type InstanceAssociationExecutionSummary = string; - export type InstanceAssociationList = InstanceAssociation[]; - export interface InstanceAssociationOutputLocation { - /** - * An Amazon S3 bucket where you want to store the results of this request. - */ - S3Location?: S3OutputLocation; - } - export interface InstanceAssociationOutputUrl { - /** - * The URL of Amazon S3 bucket where you want to store the results of this request. - */ - S3OutputUrl?: S3OutputUrl; - } - export type InstanceAssociationStatusAggregatedCount = {[key: string]: InstanceCount}; - export interface InstanceAssociationStatusInfo { - /** - * The association ID. - */ - AssociationId?: AssociationId; - /** - * The name of the association. - */ - Name?: DocumentName; - /** - * The association document verions. - */ - DocumentVersion?: DocumentVersion; - /** - * The instance ID where the association was created. - */ - InstanceId?: InstanceId; - /** - * The date the instance association executed. - */ - ExecutionDate?: DateTime; - /** - * Status information about the instance association. - */ - Status?: StatusName; - /** - * Detailed status information about the instance association. - */ - DetailedStatus?: StatusName; - /** - * Summary information about association execution. - */ - ExecutionSummary?: InstanceAssociationExecutionSummary; - /** - * An error code returned by the request to create the association. - */ - ErrorCode?: AgentErrorCode; - /** - * A URL for an Amazon S3 bucket where you want to store the results of this request. - */ - OutputUrl?: InstanceAssociationOutputUrl; - } - export type InstanceAssociationStatusInfos = InstanceAssociationStatusInfo[]; - export type InstanceCount = number; - export type InstanceId = string; - export type InstanceIdList = InstanceId[]; - export interface InstanceInformation { - /** - * The instance ID. - */ - InstanceId?: InstanceId; - /** - * Connection status of the SSM Agent. - */ - PingStatus?: PingStatus; - /** - * The date and time when agent last pinged Systems Manager service. - */ - LastPingDateTime?: DateTime; - /** - * The version of the SSM Agent running on your Linux instance. - */ - AgentVersion?: Version; - /** - * Indicates whether latest version of the SSM Agent is running on your instance. - */ - IsLatestVersion?: Boolean; - /** - * The operating system platform type. - */ - PlatformType?: PlatformType; - /** - * The name of the operating system platform running on your instance. - */ - PlatformName?: String; - /** - * The version of the OS platform running on your instance. - */ - PlatformVersion?: String; - /** - * The activation ID created by Systems Manager when the server or VM was registered. - */ - ActivationId?: ActivationId; - /** - * The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances. - */ - IamRole?: IamRole; - /** - * The date the server or VM was registered with AWS as a managed instance. - */ - RegistrationDate?: DateTime; - /** - * The type of instance. Instances are either EC2 instances or managed instances. - */ - ResourceType?: ResourceType; - /** - * The name of the managed instance. - */ - Name?: String; - /** - * The IP address of the managed instance. - */ - IPAddress?: IPAddress; - /** - * The fully qualified host name of the managed instance. - */ - ComputerName?: ComputerName; - /** - * The status of the association. - */ - AssociationStatus?: StatusName; - /** - * The date the association was last executed. - */ - LastAssociationExecutionDate?: DateTime; - /** - * The last date the association was successfully run. - */ - LastSuccessfulAssociationExecutionDate?: DateTime; - /** - * Information about the association. - */ - AssociationOverview?: InstanceAggregatedAssociationOverview; - } - export interface InstanceInformationFilter { - /** - * The name of the filter. - */ - key: InstanceInformationFilterKey; - /** - * The filter values. - */ - valueSet: InstanceInformationFilterValueSet; - } - export type InstanceInformationFilterKey = "InstanceIds"|"AgentVersion"|"PingStatus"|"PlatformTypes"|"ActivationIds"|"IamRole"|"ResourceType"|"AssociationStatus"|string; - export type InstanceInformationFilterList = InstanceInformationFilter[]; - export type InstanceInformationFilterValue = string; - export type InstanceInformationFilterValueSet = InstanceInformationFilterValue[]; - export type InstanceInformationList = InstanceInformation[]; - export interface InstanceInformationStringFilter { - /** - * The filter key name to describe your instances. For example: "InstanceIds"|"AgentVersion"|"PingStatus"|"PlatformTypes"|"ActivationIds"|"IamRole"|"ResourceType"|"AssociationStatus"|"Tag Key" - */ - Key: InstanceInformationStringFilterKey; - /** - * The filter values. - */ - Values: InstanceInformationFilterValueSet; - } - export type InstanceInformationStringFilterKey = string; - export type InstanceInformationStringFilterList = InstanceInformationStringFilter[]; - export interface InstancePatchState { - /** - * The ID of the managed instance the high-level patch compliance information was collected for. - */ - InstanceId: InstanceId; - /** - * The name of the patch group the managed instance belongs to. - */ - PatchGroup: PatchGroup; - /** - * The ID of the patch baseline used to patch the instance. - */ - BaselineId: BaselineId; - /** - * The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected. - */ - SnapshotId?: SnapshotId; - /** - * Placeholder information, this field will always be empty in the current release of the service. - */ - OwnerInformation?: OwnerInformation; - /** - * The number of patches from the patch baseline that are installed on the instance. - */ - InstalledCount?: PatchInstalledCount; - /** - * The number of patches not specified in the patch baseline that are installed on the instance. - */ - InstalledOtherCount?: PatchInstalledOtherCount; - /** - * The number of patches from the patch baseline that are applicable for the instance but aren't currently installed. - */ - MissingCount?: PatchMissingCount; - /** - * The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install. - */ - FailedCount?: PatchFailedCount; - /** - * The number of patches from the patch baseline that aren't applicable for the instance and hence aren't installed on the instance. - */ - NotApplicableCount?: PatchNotApplicableCount; - /** - * The time the most recent patching operation was started on the instance. - */ - OperationStartTime: DateTime; - /** - * The time the most recent patching operation completed on the instance. - */ - OperationEndTime: DateTime; - /** - * The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install missing patches). - */ - Operation: PatchOperationType; - } - export interface InstancePatchStateFilter { - /** - * The key for the filter. Supported values are FailedCount, InstalledCount, InstalledOtherCount, MissingCount and NotApplicableCount. - */ - Key: InstancePatchStateFilterKey; - /** - * The value for the filter, must be an integer greater than or equal to 0. - */ - Values: InstancePatchStateFilterValues; - /** - * The type of comparison that should be performed for the value: Equal, NotEqual, LessThan or GreaterThan. - */ - Type: InstancePatchStateOperatorType; - } - export type InstancePatchStateFilterKey = string; - export type InstancePatchStateFilterList = InstancePatchStateFilter[]; - export type InstancePatchStateFilterValue = string; - export type InstancePatchStateFilterValues = InstancePatchStateFilterValue[]; - export type InstancePatchStateList = InstancePatchState[]; - export type InstancePatchStateOperatorType = "Equal"|"NotEqual"|"LessThan"|"GreaterThan"|string; - export type InstancePatchStatesList = InstancePatchState[]; - export type InstanceTagName = string; - export type Integer = number; - export type InventoryAttributeDataType = "string"|"number"|string; - export interface InventoryFilter { - /** - * The name of the filter key. - */ - Key: InventoryFilterKey; - /** - * Inventory filter values. Example: inventory filter where instance IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal - */ - Values: InventoryFilterValueList; - /** - * The type of filter. Valid values include the following: "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan" - */ - Type?: InventoryQueryOperatorType; - } - export type InventoryFilterKey = string; - export type InventoryFilterList = InventoryFilter[]; - export type InventoryFilterValue = string; - export type InventoryFilterValueList = InventoryFilterValue[]; - export interface InventoryItem { - /** - * The name of the inventory type. Default inventory item type names start with AWS. Custom inventory type names will start with Custom. Default inventory item types include the following: AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate. - */ - TypeName: InventoryItemTypeName; - /** - * The schema version for the inventory item. - */ - SchemaVersion: InventoryItemSchemaVersion; - /** - * The time the inventory information was collected. - */ - CaptureTime: InventoryItemCaptureTime; - /** - * MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API does not update the inventory item type contents if the MD5 hash has not changed since last update. - */ - ContentHash?: InventoryItemContentHash; - /** - * The inventory data of the inventory type. - */ - Content?: InventoryItemEntryList; - } - export interface InventoryItemAttribute { - /** - * Name of the inventory item attribute. - */ - Name: InventoryItemAttributeName; - /** - * The data type of the inventory item attribute. - */ - DataType: InventoryAttributeDataType; - } - export type InventoryItemAttributeList = InventoryItemAttribute[]; - export type InventoryItemAttributeName = string; - export type InventoryItemCaptureTime = string; - export type InventoryItemContentHash = string; - export type InventoryItemEntry = {[key: string]: AttributeValue}; - export type InventoryItemEntryList = InventoryItemEntry[]; - export type InventoryItemList = InventoryItem[]; - export interface InventoryItemSchema { - /** - * The name of the inventory type. Default inventory item type names start with AWS. Custom inventory type names will start with Custom. Default inventory item types include the following: AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate. - */ - TypeName: InventoryItemTypeName; - /** - * The schema version for the inventory item. - */ - Version?: InventoryItemSchemaVersion; - /** - * The schema attributes for inventory. This contains data type and attribute name. - */ - Attributes: InventoryItemAttributeList; - } - export type InventoryItemSchemaResultList = InventoryItemSchema[]; - export type InventoryItemSchemaVersion = string; - export type InventoryItemTypeName = string; - export type InventoryItemTypeNameFilter = string; - export type InventoryQueryOperatorType = "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"|string; - export interface InventoryResultEntity { - /** - * ID of the inventory result entity. For example, for managed instance inventory the result will be the managed instance ID. For EC2 instance inventory, the result will be the instance ID. - */ - Id?: InventoryResultEntityId; - /** - * The data section in the inventory result entity json. - */ - Data?: InventoryResultItemMap; - } - export type InventoryResultEntityId = string; - export type InventoryResultEntityList = InventoryResultEntity[]; - export interface InventoryResultItem { - /** - * The name of the inventory result item type. - */ - TypeName: InventoryItemTypeName; - /** - * The schema version for the inventory result item/ - */ - SchemaVersion: InventoryItemSchemaVersion; - /** - * The time inventory item data was captured. - */ - CaptureTime?: InventoryItemCaptureTime; - /** - * MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API does not update the inventory item type contents if the MD5 hash has not changed since last update. - */ - ContentHash?: InventoryItemContentHash; - /** - * Contains all the inventory data of the item type. Results include attribute names and values. - */ - Content: InventoryItemEntryList; - } - export type InventoryResultItemKey = string; - export type InventoryResultItemMap = {[key: string]: InventoryResultItem}; - export type InvocationTraceOutput = string; - export type KeyList = TagKey[]; - export type LastResourceDataSyncStatus = "Successful"|"Failed"|"InProgress"|string; - export type LastResourceDataSyncTime = Date; - export type LastSuccessfulResourceDataSyncTime = Date; - export interface ListAssociationsRequest { - /** - * One or more filters. Use a filter to return a more specific list of results. - */ - AssociationFilterList?: AssociationFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface ListAssociationsResult { - /** - * The associations. - */ - Associations?: AssociationList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface ListCommandInvocationsRequest { - /** - * (Optional) The invocations for a specific command ID. - */ - CommandId?: CommandId; - /** - * (Optional) The command execution details for a specific instance ID. - */ - InstanceId?: InstanceId; - /** - * (Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: CommandMaxResults; - /** - * (Optional) The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - /** - * (Optional) One or more filters. Use a filter to return a more specific list of results. - */ - Filters?: CommandFilterList; - /** - * (Optional) If set this returns the response of the command executions and any command output. By default this is set to False. - */ - Details?: Boolean; - } - export interface ListCommandInvocationsResult { - /** - * (Optional) A list of all invocations. - */ - CommandInvocations?: CommandInvocationList; - /** - * (Optional) The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface ListCommandsRequest { - /** - * (Optional) If provided, lists only the specified command. - */ - CommandId?: CommandId; - /** - * (Optional) Lists commands issued against this instance ID. - */ - InstanceId?: InstanceId; - /** - * (Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: CommandMaxResults; - /** - * (Optional) The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - /** - * (Optional) One or more filters. Use a filter to return a more specific list of results. - */ - Filters?: CommandFilterList; - } - export interface ListCommandsResult { - /** - * (Optional) The list of commands requested by the user. - */ - Commands?: CommandList; - /** - * (Optional) The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface ListDocumentVersionsRequest { - /** - * The name of the document about which you want version information. - */ - Name: DocumentName; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface ListDocumentVersionsResult { - /** - * The document versions. - */ - DocumentVersions?: DocumentVersionList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface ListDocumentsRequest { - /** - * One or more filters. Use a filter to return a more specific list of results. - */ - DocumentFilterList?: DocumentFilterList; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - } - export interface ListDocumentsResult { - /** - * The names of the SSM documents. - */ - DocumentIdentifiers?: DocumentIdentifierList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface ListInventoryEntriesRequest { - /** - * The instance ID for which you want inventory information. - */ - InstanceId: InstanceId; - /** - * The type of inventory item for which you want information. - */ - TypeName: InventoryItemTypeName; - /** - * One or more filters. Use a filter to return a more specific list of results. - */ - Filters?: InventoryFilterList; - /** - * The token for the next set of items to return. (You received this token from a previous call.) - */ - NextToken?: NextToken; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - } - export interface ListInventoryEntriesResult { - /** - * The type of inventory item returned by the request. - */ - TypeName?: InventoryItemTypeName; - /** - * The instance ID targeted by the request to query inventory information. - */ - InstanceId?: InstanceId; - /** - * The inventory schema version used by the instance(s). - */ - SchemaVersion?: InventoryItemSchemaVersion; - /** - * The time that inventory information was collected for the instance(s). - */ - CaptureTime?: InventoryItemCaptureTime; - /** - * A list of inventory items on the instance(s). - */ - Entries?: InventoryItemEntryList; - /** - * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. - */ - NextToken?: NextToken; - } - export interface ListResourceDataSyncRequest { - /** - * A token to start the list. Use this token to get the next set of results. - */ - NextToken?: NextToken; - /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. - */ - MaxResults?: MaxResults; - } - export interface ListResourceDataSyncResult { - /** - * A list of your current Resource Data Sync configurations and their statuses. - */ - ResourceDataSyncItems?: ResourceDataSyncItemList; - /** - * The token for the next set of items to return. Use this token to get the next set of results. - */ - NextToken?: NextToken; - } - export interface ListTagsForResourceRequest { - /** - * Returns a list of tags for a specific resource type. - */ - ResourceType: ResourceTypeForTagging; - /** - * The resource ID for which you want to see a list of tags. - */ - ResourceId: ResourceId; - } - export interface ListTagsForResourceResult { - /** - * A list of tags. - */ - TagList?: TagList; - } - export interface LoggingInfo { - /** - * The name of an Amazon S3 bucket where execution logs are stored . - */ - S3BucketName: S3BucketName; - /** - * (Optional) The Amazon S3 bucket subfolder. - */ - S3KeyPrefix?: S3KeyPrefix; - /** - * The region where the Amazon S3 bucket is located. - */ - S3Region: S3Region; - } - export type MaintenanceWindowAllowUnassociatedTargets = boolean; - export type MaintenanceWindowCutoff = number; - export type MaintenanceWindowDurationHours = number; - export type MaintenanceWindowEnabled = boolean; - export interface MaintenanceWindowExecution { - /** - * The ID of the Maintenance Window. - */ - WindowId?: MaintenanceWindowId; - /** - * The ID of the Maintenance Window execution. - */ - WindowExecutionId?: MaintenanceWindowExecutionId; - /** - * The status of the execution. - */ - Status?: MaintenanceWindowExecutionStatus; - /** - * The details explaining the Status. Only available for certain status values. - */ - StatusDetails?: MaintenanceWindowExecutionStatusDetails; - /** - * The time the execution started. - */ - StartTime?: DateTime; - /** - * The time the execution finished. - */ - EndTime?: DateTime; - } - export type MaintenanceWindowExecutionId = string; - export type MaintenanceWindowExecutionList = MaintenanceWindowExecution[]; - export type MaintenanceWindowExecutionStatus = "PENDING"|"IN_PROGRESS"|"SUCCESS"|"FAILED"|"TIMED_OUT"|"CANCELLING"|"CANCELLED"|"SKIPPED_OVERLAPPING"|string; - export type MaintenanceWindowExecutionStatusDetails = string; - export type MaintenanceWindowExecutionTaskExecutionId = string; - export type MaintenanceWindowExecutionTaskId = string; - export type MaintenanceWindowExecutionTaskIdList = MaintenanceWindowExecutionTaskId[]; - export interface MaintenanceWindowExecutionTaskIdentity { - /** - * The ID of the Maintenance Window execution that ran the task. - */ - WindowExecutionId?: MaintenanceWindowExecutionId; - /** - * The ID of the specific task execution in the Maintenance Window execution. - */ - TaskExecutionId?: MaintenanceWindowExecutionTaskId; - /** - * The status of the task execution. - */ - Status?: MaintenanceWindowExecutionStatus; - /** - * The details explaining the status of the task execution. Only available for certain status values. - */ - StatusDetails?: MaintenanceWindowExecutionStatusDetails; - /** - * The time the task execution started. - */ - StartTime?: DateTime; - /** - * The time the task execution finished. - */ - EndTime?: DateTime; - /** - * The ARN of the executed task. - */ - TaskArn?: MaintenanceWindowTaskArn; - /** - * The type of executed task. - */ - TaskType?: MaintenanceWindowTaskType; - } - export type MaintenanceWindowExecutionTaskIdentityList = MaintenanceWindowExecutionTaskIdentity[]; - export type MaintenanceWindowExecutionTaskInvocationId = string; - export interface MaintenanceWindowExecutionTaskInvocationIdentity { - /** - * The ID of the Maintenance Window execution that ran the task. - */ - WindowExecutionId?: MaintenanceWindowExecutionId; - /** - * The ID of the specific task execution in the Maintenance Window execution. - */ - TaskExecutionId?: MaintenanceWindowExecutionTaskId; - /** - * The ID of the task invocation. - */ - InvocationId?: MaintenanceWindowExecutionTaskInvocationId; - /** - * The ID of the action performed in the service that actually handled the task invocation. If the task type is RUN_COMMAND, this value is the command ID. - */ - ExecutionId?: MaintenanceWindowExecutionTaskExecutionId; - /** - * The parameters that were provided for the invocation when it was executed. - */ - Parameters?: MaintenanceWindowExecutionTaskInvocationParameters; - /** - * The status of the task invocation. - */ - Status?: MaintenanceWindowExecutionStatus; - /** - * The details explaining the status of the task invocation. Only available for certain Status values. - */ - StatusDetails?: MaintenanceWindowExecutionStatusDetails; - /** - * The time the invocation started. - */ - StartTime?: DateTime; - /** - * The time the invocation finished. - */ - EndTime?: DateTime; - /** - * User-provided value that was specified when the target was registered with the Maintenance Window. This was also included in any CloudWatch events raised during the task invocation. - */ - OwnerInformation?: OwnerInformation; - /** - * The ID of the target definition in this Maintenance Window the invocation was performed for. - */ - WindowTargetId?: MaintenanceWindowTaskTargetId; - } - export type MaintenanceWindowExecutionTaskInvocationIdentityList = MaintenanceWindowExecutionTaskInvocationIdentity[]; - export type MaintenanceWindowExecutionTaskInvocationParameters = string; - export interface MaintenanceWindowFilter { - /** - * The name of the filter. - */ - Key?: MaintenanceWindowFilterKey; - /** - * The filter values. - */ - Values?: MaintenanceWindowFilterValues; - } - export type MaintenanceWindowFilterKey = string; - export type MaintenanceWindowFilterList = MaintenanceWindowFilter[]; - export type MaintenanceWindowFilterValue = string; - export type MaintenanceWindowFilterValues = MaintenanceWindowFilterValue[]; - export type MaintenanceWindowId = string; - export interface MaintenanceWindowIdentity { - /** - * The ID of the Maintenance Window. - */ - WindowId?: MaintenanceWindowId; - /** - * The name of the Maintenance Window. - */ - Name?: MaintenanceWindowName; - /** - * Whether the Maintenance Window is enabled. - */ - Enabled?: MaintenanceWindowEnabled; - /** - * The duration of the Maintenance Window in hours. - */ - Duration?: MaintenanceWindowDurationHours; - /** - * The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution. - */ - Cutoff?: MaintenanceWindowCutoff; - } - export type MaintenanceWindowIdentityList = MaintenanceWindowIdentity[]; - export type MaintenanceWindowMaxResults = number; - export type MaintenanceWindowName = string; - export type MaintenanceWindowResourceType = "INSTANCE"|string; - export type MaintenanceWindowSchedule = string; - export interface MaintenanceWindowTarget { - /** - * The Maintenance Window ID where the target is registered. - */ - WindowId?: MaintenanceWindowId; - /** - * The ID of the target. - */ - WindowTargetId?: MaintenanceWindowTargetId; - /** - * The type of target. - */ - ResourceType?: MaintenanceWindowResourceType; - /** - * The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>. - */ - Targets?: Targets; - /** - * User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window. - */ - OwnerInformation?: OwnerInformation; - } - export type MaintenanceWindowTargetId = string; - export type MaintenanceWindowTargetList = MaintenanceWindowTarget[]; - export interface MaintenanceWindowTask { - /** - * The Maintenance Window ID where the task is registered. - */ - WindowId?: MaintenanceWindowId; - /** - * The task ID. - */ - WindowTaskId?: MaintenanceWindowTaskId; - /** - * The ARN of the task to execute. - */ - TaskArn?: MaintenanceWindowTaskArn; - /** - * The type of task. - */ - Type?: MaintenanceWindowTaskType; - /** - * The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>. - */ - Targets?: Targets; - /** - * The parameters that should be passed to the task when it is executed. - */ - TaskParameters?: MaintenanceWindowTaskParameters; - /** - * The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel. - */ - Priority?: MaintenanceWindowTaskPriority; - /** - * Information about an Amazon S3 bucket to write task-level logs to. - */ - LoggingInfo?: LoggingInfo; - /** - * The role that should be assumed when executing the task - */ - ServiceRoleArn?: ServiceRole; - /** - * The maximum number of targets this task can be run for in parallel. - */ - MaxConcurrency?: MaxConcurrency; - /** - * The maximum number of errors allowed before this task stops being scheduled. - */ - MaxErrors?: MaxErrors; - } - export type MaintenanceWindowTaskArn = string; - export type MaintenanceWindowTaskId = string; - export type MaintenanceWindowTaskList = MaintenanceWindowTask[]; - export type MaintenanceWindowTaskParameterName = string; - export type MaintenanceWindowTaskParameterValue = string; - export interface MaintenanceWindowTaskParameterValueExpression { - /** - * This field contains an array of 0 or more strings, each 1 to 255 characters in length. - */ - Values?: MaintenanceWindowTaskParameterValueList; - } - export type MaintenanceWindowTaskParameterValueList = MaintenanceWindowTaskParameterValue[]; - export type MaintenanceWindowTaskParameters = {[key: string]: MaintenanceWindowTaskParameterValueExpression}; - export type MaintenanceWindowTaskParametersList = MaintenanceWindowTaskParameters[]; - export type MaintenanceWindowTaskPriority = number; - export type MaintenanceWindowTaskTargetId = string; - export type MaintenanceWindowTaskType = "RUN_COMMAND"|string; - export type ManagedInstanceId = string; - export type MaxConcurrency = string; - export type MaxErrors = string; - export type MaxResults = number; - export type MaxResultsEC2Compatible = number; - export interface ModifyDocumentPermissionRequest { - /** - * The name of the document that you want to share. - */ - Name: DocumentName; - /** - * The permission type for the document. The permission type can be Share. - */ - PermissionType: DocumentPermissionType; - /** - * The AWS user accounts that should have access to the document. The account IDs can either be a group of account IDs or All. - */ - AccountIdsToAdd?: AccountIdList; - /** - * The AWS user accounts that should no longer have access to the document. The AWS user account can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an account ID to add and the same ID to remove, the system removes access to the document. - */ - AccountIdsToRemove?: AccountIdList; - } - export interface ModifyDocumentPermissionResponse { - } - export type NextToken = string; - export type NormalStringMap = {[key: string]: String}; - export type NotificationArn = string; - export interface NotificationConfig { - /** - * An Amazon Resource Name (ARN) for a Simple Notification Service (SNS) topic. Run Command pushes notifications about command status changes to this topic. - */ - NotificationArn?: NotificationArn; - /** - * The different events for which you can receive notifications. These events include the following: All (events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about these events, see Setting Up Events and Notifications in the Amazon EC2 Systems Manager User Guide. - */ - NotificationEvents?: NotificationEventList; - /** - * Command: Receive notification when the status of a command changes. Invocation: For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes. - */ - NotificationType?: NotificationType; - } - export type NotificationEvent = "All"|"InProgress"|"Success"|"TimedOut"|"Cancelled"|"Failed"|string; - export type NotificationEventList = NotificationEvent[]; - export type NotificationType = "Command"|"Invocation"|string; - export type OperatingSystem = "WINDOWS"|"AMAZON_LINUX"|"UBUNTU"|"REDHAT_ENTERPRISE_LINUX"|string; - export type OwnerInformation = string; - export type PSParameterName = string; - export type PSParameterValue = string; - export interface Parameter { - /** - * The name of the parameter. - */ - Name?: PSParameterName; - /** - * The type of parameter. Valid values include the following: String, String list, Secure string. - */ - Type?: ParameterType; - /** - * The parameter value. - */ - Value?: PSParameterValue; - } - export type ParameterDescription = string; - export interface ParameterHistory { - /** - * The name of the parameter. - */ - Name?: PSParameterName; - /** - * The type of parameter used. - */ - Type?: ParameterType; - /** - * The ID of the query key used for this parameter. - */ - KeyId?: ParameterKeyId; - /** - * Date the parameter was last changed or updated. - */ - LastModifiedDate?: DateTime; - /** - * Amazon Resource Name (ARN) of the AWS user who last changed the parameter. - */ - LastModifiedUser?: String; - /** - * Information about the parameter. - */ - Description?: ParameterDescription; - /** - * The parameter value. - */ - Value?: PSParameterValue; - /** - * Parameter names can include the following letters and symbols. a-zA-Z0-9_.- - */ - AllowedPattern?: AllowedPattern; - } - export type ParameterHistoryList = ParameterHistory[]; - export type ParameterKeyId = string; - export type ParameterList = Parameter[]; - export interface ParameterMetadata { - /** - * The parameter name. - */ - Name?: PSParameterName; - /** - * The type of parameter. Valid parameter types include the following: String, String list, Secure string. - */ - Type?: ParameterType; - /** - * The ID of the query key used for this parameter. - */ - KeyId?: ParameterKeyId; - /** - * Date the parameter was last changed or updated. - */ - LastModifiedDate?: DateTime; - /** - * Amazon Resource Name (ARN) of the AWS user who last changed the parameter. - */ - LastModifiedUser?: String; - /** - * Description of the parameter actions. - */ - Description?: ParameterDescription; - /** - * A parameter name can include only the following letters and symbols. a-zA-Z0-9_.- - */ - AllowedPattern?: AllowedPattern; - } - export type ParameterMetadataList = ParameterMetadata[]; - export type ParameterName = string; - export type ParameterNameList = PSParameterName[]; - export interface ParameterStringFilter { - /** - * The name of the filter. - */ - Key: ParameterStringFilterKey; - /** - * Valid options are Equals and BeginsWith. For Path filter, valid options are Recursive and OneLevel. - */ - Option?: ParameterStringQueryOption; - /** - * The value you want to search for. - */ - Values?: ParameterStringFilterValueList; - } - export type ParameterStringFilterKey = string; - export type ParameterStringFilterList = ParameterStringFilter[]; - export type ParameterStringFilterValue = string; - export type ParameterStringFilterValueList = ParameterStringFilterValue[]; - export type ParameterStringQueryOption = string; - export type ParameterType = "String"|"StringList"|"SecureString"|string; - export type ParameterValue = string; - export type ParameterValueList = ParameterValue[]; - export type Parameters = {[key: string]: ParameterValueList}; - export interface ParametersFilter { - /** - * The name of the filter. - */ - Key: ParametersFilterKey; - /** - * The filter values. - */ - Values: ParametersFilterValueList; - } - export type ParametersFilterKey = "Name"|"Type"|"KeyId"|string; - export type ParametersFilterList = ParametersFilter[]; - export type ParametersFilterValue = string; - export type ParametersFilterValueList = ParametersFilterValue[]; - export interface Patch { - /** - * The ID of the patch (this is different than the Microsoft Knowledge Base ID). - */ - Id?: PatchId; - /** - * The date the patch was released. - */ - ReleaseDate?: DateTime; - /** - * The title of the patch. - */ - Title?: PatchTitle; - /** - * The description of the patch. - */ - Description?: PatchDescription; - /** - * The URL where more information can be obtained about the patch. - */ - ContentUrl?: PatchContentUrl; - /** - * The name of the vendor providing the patch. - */ - Vendor?: PatchVendor; - /** - * The product family the patch is applicable for (for example, Windows). - */ - ProductFamily?: PatchProductFamily; - /** - * The specific product the patch is applicable for (for example, WindowsServer2016). - */ - Product?: PatchProduct; - /** - * The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates). - */ - Classification?: PatchClassification; - /** - * The severity of the patch (for example Critical, Important, Moderate). - */ - MsrcSeverity?: PatchMsrcSeverity; - /** - * The Microsoft Knowledge Base ID of the patch. - */ - KbNumber?: PatchKbNumber; - /** - * The ID of the MSRC bulletin the patch is related to. - */ - MsrcNumber?: PatchMsrcNumber; - /** - * The language of the patch if it's language-specific. - */ - Language?: PatchLanguage; - } - export interface PatchBaselineIdentity { - /** - * The ID of the patch baseline. - */ - BaselineId?: BaselineId; - /** - * The name of the patch baseline. - */ - BaselineName?: BaselineName; - /** - * Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS. - */ - OperatingSystem?: OperatingSystem; - /** - * The description of the patch baseline. - */ - BaselineDescription?: BaselineDescription; - /** - * Whether this is the default baseline. Note that Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system. - */ - DefaultBaseline?: DefaultBaseline; - } - export type PatchBaselineIdentityList = PatchBaselineIdentity[]; - export type PatchBaselineMaxResults = number; - export type PatchClassification = string; - export interface PatchComplianceData { - /** - * The title of the patch. - */ - Title: PatchTitle; - /** - * The operating system-specific ID of the patch. - */ - KBId: PatchKbNumber; - /** - * The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates). - */ - Classification: PatchClassification; - /** - * The severity of the patch (for example, Critical, Important, Moderate). - */ - Severity: PatchSeverity; - /** - * The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED). - */ - State: PatchComplianceDataState; - /** - * The date/time the patch was installed on the instance. Note that not all operating systems provide this level of information. - */ - InstalledTime: DateTime; - } - export type PatchComplianceDataList = PatchComplianceData[]; - export type PatchComplianceDataState = "INSTALLED"|"INSTALLED_OTHER"|"MISSING"|"NOT_APPLICABLE"|"FAILED"|string; - export type PatchComplianceLevel = "CRITICAL"|"HIGH"|"MEDIUM"|"LOW"|"INFORMATIONAL"|"UNSPECIFIED"|string; - export type PatchComplianceMaxResults = number; - export type PatchContentUrl = string; - export type PatchDeploymentStatus = "APPROVED"|"PENDING_APPROVAL"|"EXPLICIT_APPROVED"|"EXPLICIT_REJECTED"|string; - export type PatchDescription = string; - export type PatchFailedCount = number; - export interface PatchFilter { - /** - * The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID) - */ - Key: PatchFilterKey; - /** - * The value for the filter key. - */ - Values: PatchFilterValueList; - } - export interface PatchFilterGroup { - /** - * The set of patch filters that make up the group. - */ - PatchFilters: PatchFilterList; - } - export type PatchFilterKey = "PRODUCT"|"CLASSIFICATION"|"MSRC_SEVERITY"|"PATCH_ID"|"SECTION"|"PRIORITY"|"SEVERITY"|string; - export type PatchFilterList = PatchFilter[]; - export type PatchFilterValue = string; - export type PatchFilterValueList = PatchFilterValue[]; - export type PatchGroup = string; - export type PatchGroupList = PatchGroup[]; - export interface PatchGroupPatchBaselineMapping { - /** - * The name of the patch group registered with the patch baseline. - */ - PatchGroup?: PatchGroup; - /** - * The patch baseline the patch group is registered with. - */ - BaselineIdentity?: PatchBaselineIdentity; - } - export type PatchGroupPatchBaselineMappingList = PatchGroupPatchBaselineMapping[]; - export type PatchId = string; - export type PatchIdList = PatchId[]; - export type PatchInstalledCount = number; - export type PatchInstalledOtherCount = number; - export type PatchKbNumber = string; - export type PatchLanguage = string; - export type PatchList = Patch[]; - export type PatchMissingCount = number; - export type PatchMsrcNumber = string; - export type PatchMsrcSeverity = string; - export type PatchNotApplicableCount = number; - export type PatchOperationType = "Scan"|"Install"|string; - export interface PatchOrchestratorFilter { - /** - * The key for the filter. - */ - Key?: PatchOrchestratorFilterKey; - /** - * The value for the filter. - */ - Values?: PatchOrchestratorFilterValues; - } - export type PatchOrchestratorFilterKey = string; - export type PatchOrchestratorFilterList = PatchOrchestratorFilter[]; - export type PatchOrchestratorFilterValue = string; - export type PatchOrchestratorFilterValues = PatchOrchestratorFilterValue[]; - export type PatchProduct = string; - export type PatchProductFamily = string; - export interface PatchRule { - /** - * The patch filter group that defines the criteria for the rule. - */ - PatchFilterGroup: PatchFilterGroup; - /** - * A compliance severity level for all approved patches in a patch baseline. Valid compliance severity levels include the following: Unspecified, Critical, High, Medium, Low, and Informational. - */ - ComplianceLevel?: PatchComplianceLevel; - /** - * The number of days after the release date of each patch matched by the rule the patch is marked as approved in the patch baseline. - */ - ApproveAfterDays: ApproveAfterDays; - } - export interface PatchRuleGroup { - /** - * The rules that make up the rule group. - */ - PatchRules: PatchRuleList; - } - export type PatchRuleList = PatchRule[]; - export type PatchSeverity = string; - export interface PatchStatus { - /** - * The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED). - */ - DeploymentStatus?: PatchDeploymentStatus; - /** - * The compliance severity level for a patch. - */ - ComplianceLevel?: PatchComplianceLevel; - /** - * The date the patch was approved (or will be approved if the status is PENDING_APPROVAL). - */ - ApprovalDate?: DateTime; - } - export type PatchTitle = string; - export type PatchVendor = string; - export type PingStatus = "Online"|"ConnectionLost"|"Inactive"|string; - export type PlatformType = "Windows"|"Linux"|string; - export type PlatformTypeList = PlatformType[]; - export type Product = string; - export interface PutInventoryRequest { - /** - * One or more instance IDs where you want to add or update inventory items. - */ - InstanceId: InstanceId; - /** - * The inventory items that you want to add or update on instances. - */ - Items: InventoryItemList; - } - export interface PutInventoryResult { - } - export interface PutParameterRequest { - /** - * The name of the parameter that you want to add to the system. - */ - Name: PSParameterName; - /** - * Information about the parameter that you want to add to the system - */ - Description?: ParameterDescription; - /** - * The parameter value that you want to add to the system. - */ - Value: PSParameterValue; - /** - * The type of parameter that you want to add to the system. - */ - Type: ParameterType; - /** - * The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type. If you don't specify a key ID, the system uses the default key associated with your AWS account. - */ - KeyId?: ParameterKeyId; - /** - * Overwrite an existing parameter. If not specified, will default to "false". - */ - Overwrite?: Boolean; - /** - * A regular expression used to validate the parameter value. For example, for String types with values restricted to numbers, you can specify the following: AllowedPattern=^\d+$ - */ - AllowedPattern?: AllowedPattern; - } - export interface PutParameterResult { - } - export interface RegisterDefaultPatchBaselineRequest { - /** - * The ID of the patch baseline that should be the default patch baseline. - */ - BaselineId: BaselineId; - } - export interface RegisterDefaultPatchBaselineResult { - /** - * The ID of the default patch baseline. - */ - BaselineId?: BaselineId; - } - export interface RegisterPatchBaselineForPatchGroupRequest { - /** - * The ID of the patch baseline to register the patch group with. - */ - BaselineId: BaselineId; - /** - * The name of the patch group that should be registered with the patch baseline. - */ - PatchGroup: PatchGroup; - } - export interface RegisterPatchBaselineForPatchGroupResult { - /** - * The ID of the patch baseline the patch group was registered with. - */ - BaselineId?: BaselineId; - /** - * The name of the patch group registered with the patch baseline. - */ - PatchGroup?: PatchGroup; - } - export interface RegisterTargetWithMaintenanceWindowRequest { - /** - * The ID of the Maintenance Window the target should be registered with. - */ - WindowId: MaintenanceWindowId; - /** - * The type of target being registered with the Maintenance Window. - */ - ResourceType: MaintenanceWindowResourceType; - /** - * The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>. - */ - Targets: Targets; - /** - * User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window. - */ - OwnerInformation?: OwnerInformation; - /** - * User-provided idempotency token. - */ - ClientToken?: ClientToken; - } - export interface RegisterTargetWithMaintenanceWindowResult { - /** - * The ID of the target definition in this Maintenance Window. - */ - WindowTargetId?: MaintenanceWindowTargetId; - } - export interface RegisterTaskWithMaintenanceWindowRequest { - /** - * The id of the Maintenance Window the task should be added to. - */ - WindowId: MaintenanceWindowId; - /** - * The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>. - */ - Targets: Targets; - /** - * The ARN of the task to execute - */ - TaskArn: MaintenanceWindowTaskArn; - /** - * The role that should be assumed when executing the task. - */ - ServiceRoleArn: ServiceRole; - /** - * The type of task being registered. - */ - TaskType: MaintenanceWindowTaskType; - /** - * The parameters that should be passed to the task when it is executed. - */ - TaskParameters?: MaintenanceWindowTaskParameters; - /** - * The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel. - */ - Priority?: MaintenanceWindowTaskPriority; - /** - * The maximum number of targets this task can be run for in parallel. - */ - MaxConcurrency: MaxConcurrency; - /** - * The maximum number of errors allowed before this task stops being scheduled. - */ - MaxErrors: MaxErrors; - /** - * A structure containing information about an Amazon S3 bucket to write instance-level logs to. - */ - LoggingInfo?: LoggingInfo; - /** - * User-provided idempotency token. - */ - ClientToken?: ClientToken; - } - export interface RegisterTaskWithMaintenanceWindowResult { - /** - * The id of the task in the Maintenance Window. - */ - WindowTaskId?: MaintenanceWindowTaskId; - } - export type RegistrationLimit = number; - export type RegistrationsCount = number; - export interface RemoveTagsFromResourceRequest { - /** - * The type of resource of which you want to remove a tag. - */ - ResourceType: ResourceTypeForTagging; - /** - * The resource ID for which you want to remove tags. - */ - ResourceId: ResourceId; - /** - * Tag keys that you want to remove from the specified resource. - */ - TagKeys: KeyList; - } - export interface RemoveTagsFromResourceResult { - } - export type ResourceDataSyncCreatedTime = Date; - export interface ResourceDataSyncItem { - /** - * The name of the Resource Data Sync. - */ - SyncName?: ResourceDataSyncName; - /** - * Configuration information for the target Amazon S3 bucket. - */ - S3Destination?: ResourceDataSyncS3Destination; - /** - * The last time the configuration attempted to sync (UTC). - */ - LastSyncTime?: LastResourceDataSyncTime; - /** - * The last time the sync operations returned a status of SUCCESSFUL (UTC). - */ - LastSuccessfulSyncTime?: LastSuccessfulResourceDataSyncTime; - /** - * The status reported by the last sync. - */ - LastStatus?: LastResourceDataSyncStatus; - /** - * The date and time the configuration was created (UTC). - */ - SyncCreatedTime?: ResourceDataSyncCreatedTime; - } - export type ResourceDataSyncItemList = ResourceDataSyncItem[]; - export type ResourceDataSyncName = string; - export type ResourceDataSyncS3BucketName = string; - export interface ResourceDataSyncS3Destination { - /** - * The name of the Amazon S3 bucket where the aggregated data is stored. - */ - BucketName: ResourceDataSyncS3BucketName; - /** - * An Amazon S3 prefix for the bucket. - */ - Prefix?: ResourceDataSyncS3Prefix; - /** - * A supported sync format. The following format is currently supported: JsonSerDe - */ - SyncFormat: ResourceDataSyncS3Format; - /** - * The AWS Region with the Amazon S3 bucket targeted by the Resource Data Sync. - */ - Region: ResourceDataSyncS3Region; - } - export type ResourceDataSyncS3Format = "JsonSerDe"|string; - export type ResourceDataSyncS3Prefix = string; - export type ResourceDataSyncS3Region = string; - export type ResourceId = string; - export type ResourceType = "ManagedInstance"|"Document"|"EC2Instance"|string; - export type ResourceTypeForTagging = "ManagedInstance"|"MaintenanceWindow"|"Parameter"|string; - export type ResponseCode = number; - export interface ResultAttribute { - /** - * Name of the inventory item type. Valid value: AWS:InstanceInformation. Default Value: AWS:InstanceInformation. - */ - TypeName: InventoryItemTypeName; - } - export type ResultAttributeList = ResultAttribute[]; - export type S3BucketName = string; - export type S3KeyPrefix = string; - export interface S3OutputLocation { - /** - * (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager automatically determines the Amazon S3 bucket region. - */ - OutputS3Region?: S3Region; - /** - * The name of the Amazon S3 bucket. - */ - OutputS3BucketName?: S3BucketName; - /** - * The Amazon S3 bucket subfolder. - */ - OutputS3KeyPrefix?: S3KeyPrefix; - } - export interface S3OutputUrl { - /** - * A URL for an Amazon S3 bucket where you want to store the results of this request. - */ - OutputUrl?: Url; - } - export type S3Region = string; - export type ScheduleExpression = string; - export interface SendCommandRequest { - /** - * The instance IDs where the command should execute. You can specify a maximum of 50 IDs. If you prefer not to list individual instance IDs, you can instead send commands to a fleet of instances using the Targets parameter, which accepts EC2 tags. For more information about how to use Targets, see Sending Commands to a Fleet. - */ - InstanceIds?: InstanceIdList; - /** - * (Optional) An array of search criteria that targets instances using a Key,Value combination that you specify. Targets is required if you don't provide one or more instance IDs in the call. For more information about how to use Targets, see Sending Commands to a Fleet. - */ - Targets?: Targets; - /** - * Required. The name of the Systems Manager document to execute. This can be a public document or a custom document. - */ - DocumentName: DocumentARN; - /** - * The Sha256 or Sha1 hash created by the system when the document was created. Sha1 hashes have been deprecated. - */ - DocumentHash?: DocumentHash; - /** - * Sha256 or Sha1. Sha1 hashes have been deprecated. - */ - DocumentHashType?: DocumentHashType; - /** - * If this time is reached and the command has not already started executing, it will not execute. - */ - TimeoutSeconds?: TimeoutSeconds; - /** - * User-specified information about the command, such as a brief description of what the command should do. - */ - Comment?: Comment; - /** - * The required and optional parameters specified in the document being executed. - */ - Parameters?: Parameters; - /** - * (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager automatically determines the Amazon S3 bucket region. - */ - OutputS3Region?: S3Region; - /** - * The name of the S3 bucket where command execution responses should be stored. - */ - OutputS3BucketName?: S3BucketName; - /** - * The directory structure within the S3 bucket where the responses should be stored. - */ - OutputS3KeyPrefix?: S3KeyPrefix; - /** - * (Optional) The maximum number of instances that are allowed to execute the command at the same time. You can specify a number such as 10 or a percentage such as 10%. The default value is 50. For more information about how to use MaxConcurrency, see Using Concurrency Controls. - */ - MaxConcurrency?: MaxConcurrency; - /** - * The maximum number of errors allowed without the command failing. When the command fails one more time beyond the value of MaxErrors, the systems stops sending the command to additional targets. You can specify a number like 10 or a percentage like 10%. The default value is 50. For more information about how to use MaxErrors, see Using Error Controls. - */ - MaxErrors?: MaxErrors; - /** - * The IAM role that Systems Manager uses to send notifications. - */ - ServiceRoleArn?: ServiceRole; - /** - * Configurations for sending notifications. - */ - NotificationConfig?: NotificationConfig; - } - export interface SendCommandResult { - /** - * The request as it was received by Systems Manager. Also provides the command ID which can be used future references to this request. - */ - Command?: Command; - } - export type ServiceRole = string; - export type SnapshotDownloadUrl = string; - export type SnapshotId = string; - export type StandardErrorContent = string; - export type StandardOutputContent = string; - export interface StartAutomationExecutionRequest { - /** - * The name of the Automation document to use for this execution. - */ - DocumentName: DocumentARN; - /** - * The version of the Automation document to use for this execution. - */ - DocumentVersion?: DocumentVersion; - /** - * A key-value map of execution parameters, which match the declared parameters in the Automation document. - */ - Parameters?: AutomationParameterMap; - } - export interface StartAutomationExecutionResult { - /** - * The unique ID of a newly scheduled automation execution. - */ - AutomationExecutionId?: AutomationExecutionId; - } - export type StatusAdditionalInfo = string; - export type StatusDetails = string; - export type StatusMessage = string; - export type StatusName = string; - export interface StepExecution { - /** - * The name of this execution step. - */ - StepName?: String; - /** - * The action this step performs. The action determines the behavior of the step. - */ - Action?: AutomationActionName; - /** - * If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field is not populated. - */ - ExecutionStartTime?: DateTime; - /** - * If a step has finished execution, this contains the time the execution ended. If the step has not yet concluded, this field is not populated. - */ - ExecutionEndTime?: DateTime; - /** - * The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed, and TimedOut. - */ - StepStatus?: AutomationExecutionStatus; - /** - * The response code returned by the execution of the step. - */ - ResponseCode?: String; - /** - * Fully-resolved values passed into the step before execution. - */ - Inputs?: NormalStringMap; - /** - * Returned values from the execution of the step. - */ - Outputs?: AutomationParameterMap; - /** - * A message associated with the response code for an execution. - */ - Response?: String; - /** - * If a step failed, this message explains why the execution failed. - */ - FailureMessage?: String; - /** - * Information about the Automation failure. - */ - FailureDetails?: FailureDetails; - } - export type StepExecutionList = StepExecution[]; - export interface StopAutomationExecutionRequest { - /** - * The execution ID of the Automation to stop. - */ - AutomationExecutionId: AutomationExecutionId; - } - export interface StopAutomationExecutionResult { - } - export type String = string; - export type StringDateTime = string; - export type StringList = String[]; - export interface Tag { - /** - * The name of the tag. - */ - Key: TagKey; - /** - * The value of the tag. - */ - Value: TagValue; - } - export type TagKey = string; - export type TagList = Tag[]; - export type TagValue = string; - export interface Target { - /** - * User-defined criteria for sending commands that target instances that meet the criteria. Key can be tag:<Amazon EC2 tag> or InstanceIds. For more information about how to send commands that target instances using Key,Value parameters, see Executing a Command Using Systems Manager Run Command. - */ - Key?: TargetKey; - /** - * User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to execute a command on instances that include Amazon EC2 tags of ServerRole,WebServer. For more information about how to send commands that target instances using Key,Value parameters, see Executing a Command Using Systems Manager Run Command. - */ - Values?: TargetValues; - } - export type TargetCount = number; - export type TargetKey = string; - export type TargetValue = string; - export type TargetValues = TargetValue[]; - export type Targets = Target[]; - export type TimeoutSeconds = number; - export interface UpdateAssociationRequest { - /** - * The ID of the association you want to update. - */ - AssociationId: AssociationId; - /** - * The parameters you want to update for the association. If you create a parameter using Parameter Store, you can reference the parameter using {{ssm:parameter-name}} - */ - Parameters?: Parameters; - /** - * The document version you want update for the association. - */ - DocumentVersion?: DocumentVersion; - /** - * The cron expression used to schedule the association that you want to update. - */ - ScheduleExpression?: ScheduleExpression; - /** - * An Amazon S3 bucket where you want to store the results of this request. - */ - OutputLocation?: InstanceAssociationOutputLocation; - /** - * The name of the association document. - */ - Name?: DocumentName; - /** - * The targets of the association. - */ - Targets?: Targets; - } - export interface UpdateAssociationResult { - /** - * The description of the association that was updated. - */ - AssociationDescription?: AssociationDescription; - } - export interface UpdateAssociationStatusRequest { - /** - * The name of the SSM document. - */ - Name: DocumentName; - /** - * The ID of the instance. - */ - InstanceId: InstanceId; - /** - * The association status. - */ - AssociationStatus: AssociationStatus; - } - export interface UpdateAssociationStatusResult { - /** - * Information about the association. - */ - AssociationDescription?: AssociationDescription; - } - export interface UpdateDocumentDefaultVersionRequest { - /** - * The name of a custom document that you want to set as the default version. - */ - Name: DocumentName; - /** - * The version of a custom document that you want to set as the default version. - */ - DocumentVersion: DocumentVersionNumber; - } - export interface UpdateDocumentDefaultVersionResult { - /** - * The description of a custom document that you want to set as the default version. - */ - Description?: DocumentDefaultVersionDescription; - } - export interface UpdateDocumentRequest { - /** - * The content in a document that you want to update. - */ - Content: DocumentContent; - /** - * The name of the document that you want to update. - */ - Name: DocumentName; - /** - * The version of the document that you want to update. - */ - DocumentVersion?: DocumentVersion; - } - export interface UpdateDocumentResult { - /** - * A description of the document that was updated. - */ - DocumentDescription?: DocumentDescription; - } - export interface UpdateMaintenanceWindowRequest { - /** - * The ID of the Maintenance Window to update. - */ - WindowId: MaintenanceWindowId; - /** - * The name of the Maintenance Window. - */ - Name?: MaintenanceWindowName; - /** - * The schedule of the Maintenance Window in the form of a cron or rate expression. - */ - Schedule?: MaintenanceWindowSchedule; - /** - * The duration of the Maintenance Window in hours. - */ - Duration?: MaintenanceWindowDurationHours; - /** - * The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution. - */ - Cutoff?: MaintenanceWindowCutoff; - /** - * Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets. - */ - AllowUnassociatedTargets?: MaintenanceWindowAllowUnassociatedTargets; - /** - * Whether the Maintenance Window is enabled. - */ - Enabled?: MaintenanceWindowEnabled; - } - export interface UpdateMaintenanceWindowResult { - /** - * The ID of the created Maintenance Window. - */ - WindowId?: MaintenanceWindowId; - /** - * The name of the Maintenance Window. - */ - Name?: MaintenanceWindowName; - /** - * The schedule of the Maintenance Window in the form of a cron or rate expression. - */ - Schedule?: MaintenanceWindowSchedule; - /** - * The duration of the Maintenance Window in hours. - */ - Duration?: MaintenanceWindowDurationHours; - /** - * The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution. - */ - Cutoff?: MaintenanceWindowCutoff; - /** - * Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets. - */ - AllowUnassociatedTargets?: MaintenanceWindowAllowUnassociatedTargets; - /** - * Whether the Maintenance Window is enabled. - */ - Enabled?: MaintenanceWindowEnabled; - } - export interface UpdateManagedInstanceRoleRequest { - /** - * The ID of the managed instance where you want to update the role. - */ - InstanceId: ManagedInstanceId; - /** - * The IAM role you want to assign or change. - */ - IamRole: IamRole; - } - export interface UpdateManagedInstanceRoleResult { - } - export interface UpdatePatchBaselineRequest { - /** - * The ID of the patch baseline to update. - */ - BaselineId: BaselineId; - /** - * The name of the patch baseline. - */ - Name?: BaselineName; - /** - * A set of global filters used to exclude patches from the baseline. - */ - GlobalFilters?: PatchFilterGroup; - /** - * A set of rules used to include patches in the baseline. - */ - ApprovalRules?: PatchRuleGroup; - /** - * A list of explicitly approved patches for the baseline. - */ - ApprovedPatches?: PatchIdList; - /** - * Assigns a new compliance severity level to an existing patch baseline. - */ - ApprovedPatchesComplianceLevel?: PatchComplianceLevel; - /** - * A list of explicitly rejected patches for the baseline. - */ - RejectedPatches?: PatchIdList; - /** - * A description of the patch baseline. - */ - Description?: BaselineDescription; - } - export interface UpdatePatchBaselineResult { - /** - * The ID of the deleted patch baseline. - */ - BaselineId?: BaselineId; - /** - * The name of the patch baseline. - */ - Name?: BaselineName; - /** - * The operating system rule used by the updated patch baseline. - */ - OperatingSystem?: OperatingSystem; - /** - * A set of global filters used to exclude patches from the baseline. - */ - GlobalFilters?: PatchFilterGroup; - /** - * A set of rules used to include patches in the baseline. - */ - ApprovalRules?: PatchRuleGroup; - /** - * A list of explicitly approved patches for the baseline. - */ - ApprovedPatches?: PatchIdList; - /** - * The compliance severity level assigned to the patch baseline after the update completed. - */ - ApprovedPatchesComplianceLevel?: PatchComplianceLevel; - /** - * A list of explicitly rejected patches for the baseline. - */ - RejectedPatches?: PatchIdList; - /** - * The date when the patch baseline was created. - */ - CreatedDate?: DateTime; - /** - * The date when the patch baseline was last modified. - */ - ModifiedDate?: DateTime; - /** - * A description of the Patch Baseline. - */ - Description?: BaselineDescription; - } - export type Url = string; - export type Version = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2014-11-06"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the SSM client. - */ - export import Types = SSM; -} -export = SSM; diff --git a/src/node_modules/aws-sdk/clients/ssm.js b/src/node_modules/aws-sdk/clients/ssm.js deleted file mode 100644 index 612be66..0000000 --- a/src/node_modules/aws-sdk/clients/ssm.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['ssm'] = {}; -AWS.SSM = Service.defineService('ssm', ['2014-11-06']); -Object.defineProperty(apiLoader.services['ssm'], '2014-11-06', { - get: function get() { - var model = require('../apis/ssm-2014-11-06.min.json'); - model.paginators = require('../apis/ssm-2014-11-06.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SSM; diff --git a/src/node_modules/aws-sdk/clients/stepfunctions.d.ts b/src/node_modules/aws-sdk/clients/stepfunctions.d.ts deleted file mode 100644 index 410c593..0000000 --- a/src/node_modules/aws-sdk/clients/stepfunctions.d.ts +++ /dev/null @@ -1,808 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class StepFunctions extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: StepFunctions.Types.ClientConfiguration) - config: Config & StepFunctions.Types.ClientConfiguration; - /** - * Creates an activity. - */ - createActivity(params: StepFunctions.Types.CreateActivityInput, callback?: (err: AWSError, data: StepFunctions.Types.CreateActivityOutput) => void): Request; - /** - * Creates an activity. - */ - createActivity(callback?: (err: AWSError, data: StepFunctions.Types.CreateActivityOutput) => void): Request; - /** - * Creates a state machine. - */ - createStateMachine(params: StepFunctions.Types.CreateStateMachineInput, callback?: (err: AWSError, data: StepFunctions.Types.CreateStateMachineOutput) => void): Request; - /** - * Creates a state machine. - */ - createStateMachine(callback?: (err: AWSError, data: StepFunctions.Types.CreateStateMachineOutput) => void): Request; - /** - * Deletes an activity. - */ - deleteActivity(params: StepFunctions.Types.DeleteActivityInput, callback?: (err: AWSError, data: StepFunctions.Types.DeleteActivityOutput) => void): Request; - /** - * Deletes an activity. - */ - deleteActivity(callback?: (err: AWSError, data: StepFunctions.Types.DeleteActivityOutput) => void): Request; - /** - * Deletes a state machine. This is an asynchronous operation-- it sets the state machine's status to "DELETING" and begins the delete process. - */ - deleteStateMachine(params: StepFunctions.Types.DeleteStateMachineInput, callback?: (err: AWSError, data: StepFunctions.Types.DeleteStateMachineOutput) => void): Request; - /** - * Deletes a state machine. This is an asynchronous operation-- it sets the state machine's status to "DELETING" and begins the delete process. - */ - deleteStateMachine(callback?: (err: AWSError, data: StepFunctions.Types.DeleteStateMachineOutput) => void): Request; - /** - * Describes an activity. - */ - describeActivity(params: StepFunctions.Types.DescribeActivityInput, callback?: (err: AWSError, data: StepFunctions.Types.DescribeActivityOutput) => void): Request; - /** - * Describes an activity. - */ - describeActivity(callback?: (err: AWSError, data: StepFunctions.Types.DescribeActivityOutput) => void): Request; - /** - * Describes an execution. - */ - describeExecution(params: StepFunctions.Types.DescribeExecutionInput, callback?: (err: AWSError, data: StepFunctions.Types.DescribeExecutionOutput) => void): Request; - /** - * Describes an execution. - */ - describeExecution(callback?: (err: AWSError, data: StepFunctions.Types.DescribeExecutionOutput) => void): Request; - /** - * Describes a state machine. - */ - describeStateMachine(params: StepFunctions.Types.DescribeStateMachineInput, callback?: (err: AWSError, data: StepFunctions.Types.DescribeStateMachineOutput) => void): Request; - /** - * Describes a state machine. - */ - describeStateMachine(callback?: (err: AWSError, data: StepFunctions.Types.DescribeStateMachineOutput) => void): Request; - /** - * Used by workers to retrieve a task (with the specified activity ARN) scheduled for execution by a running state machine. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available (i.e. an execution of a task of this type is needed.) The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll will return an empty result, that is, the taskToken returned is an empty string. Workers should set their client side socket timeout to at least 65 seconds (5 seconds higher than the maximum time the service may hold the poll request). - */ - getActivityTask(params: StepFunctions.Types.GetActivityTaskInput, callback?: (err: AWSError, data: StepFunctions.Types.GetActivityTaskOutput) => void): Request; - /** - * Used by workers to retrieve a task (with the specified activity ARN) scheduled for execution by a running state machine. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available (i.e. an execution of a task of this type is needed.) The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll will return an empty result, that is, the taskToken returned is an empty string. Workers should set their client side socket timeout to at least 65 seconds (5 seconds higher than the maximum time the service may hold the poll request). - */ - getActivityTask(callback?: (err: AWSError, data: StepFunctions.Types.GetActivityTaskOutput) => void): Request; - /** - * Returns the history of the specified execution as a list of events. By default, the results are returned in ascending order of the timeStamp of the events. Use the reverseOrder parameter to get the latest events first. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken returned by the previous call. - */ - getExecutionHistory(params: StepFunctions.Types.GetExecutionHistoryInput, callback?: (err: AWSError, data: StepFunctions.Types.GetExecutionHistoryOutput) => void): Request; - /** - * Returns the history of the specified execution as a list of events. By default, the results are returned in ascending order of the timeStamp of the events. Use the reverseOrder parameter to get the latest events first. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken returned by the previous call. - */ - getExecutionHistory(callback?: (err: AWSError, data: StepFunctions.Types.GetExecutionHistoryOutput) => void): Request; - /** - * Lists the existing activities. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken returned by the previous call. - */ - listActivities(params: StepFunctions.Types.ListActivitiesInput, callback?: (err: AWSError, data: StepFunctions.Types.ListActivitiesOutput) => void): Request; - /** - * Lists the existing activities. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken returned by the previous call. - */ - listActivities(callback?: (err: AWSError, data: StepFunctions.Types.ListActivitiesOutput) => void): Request; - /** - * Lists the executions of a state machine that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken returned by the previous call. - */ - listExecutions(params: StepFunctions.Types.ListExecutionsInput, callback?: (err: AWSError, data: StepFunctions.Types.ListExecutionsOutput) => void): Request; - /** - * Lists the executions of a state machine that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken returned by the previous call. - */ - listExecutions(callback?: (err: AWSError, data: StepFunctions.Types.ListExecutionsOutput) => void): Request; - /** - * Lists the existing state machines. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken returned by the previous call. - */ - listStateMachines(params: StepFunctions.Types.ListStateMachinesInput, callback?: (err: AWSError, data: StepFunctions.Types.ListStateMachinesOutput) => void): Request; - /** - * Lists the existing state machines. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken returned by the previous call. - */ - listStateMachines(callback?: (err: AWSError, data: StepFunctions.Types.ListStateMachinesOutput) => void): Request; - /** - * Used by workers to report that the task identified by the taskToken failed. - */ - sendTaskFailure(params: StepFunctions.Types.SendTaskFailureInput, callback?: (err: AWSError, data: StepFunctions.Types.SendTaskFailureOutput) => void): Request; - /** - * Used by workers to report that the task identified by the taskToken failed. - */ - sendTaskFailure(callback?: (err: AWSError, data: StepFunctions.Types.SendTaskFailureOutput) => void): Request; - /** - * Used by workers to report to the service that the task represented by the specified taskToken is still making progress. This action resets the Heartbeat clock. The Heartbeat threshold is specified in the state machine's Amazon States Language definition. This action does not in itself create an event in the execution history. However, if the task times out, the execution history will contain an ActivityTimedOut event. The Timeout of a task, defined in the state machine's Amazon States Language definition, is its maximum allowed duration, regardless of the number of SendTaskHeartbeat requests received. This operation is only useful for long-lived tasks to report the liveliness of the task. - */ - sendTaskHeartbeat(params: StepFunctions.Types.SendTaskHeartbeatInput, callback?: (err: AWSError, data: StepFunctions.Types.SendTaskHeartbeatOutput) => void): Request; - /** - * Used by workers to report to the service that the task represented by the specified taskToken is still making progress. This action resets the Heartbeat clock. The Heartbeat threshold is specified in the state machine's Amazon States Language definition. This action does not in itself create an event in the execution history. However, if the task times out, the execution history will contain an ActivityTimedOut event. The Timeout of a task, defined in the state machine's Amazon States Language definition, is its maximum allowed duration, regardless of the number of SendTaskHeartbeat requests received. This operation is only useful for long-lived tasks to report the liveliness of the task. - */ - sendTaskHeartbeat(callback?: (err: AWSError, data: StepFunctions.Types.SendTaskHeartbeatOutput) => void): Request; - /** - * Used by workers to report that the task identified by the taskToken completed successfully. - */ - sendTaskSuccess(params: StepFunctions.Types.SendTaskSuccessInput, callback?: (err: AWSError, data: StepFunctions.Types.SendTaskSuccessOutput) => void): Request; - /** - * Used by workers to report that the task identified by the taskToken completed successfully. - */ - sendTaskSuccess(callback?: (err: AWSError, data: StepFunctions.Types.SendTaskSuccessOutput) => void): Request; - /** - * Starts a state machine execution. - */ - startExecution(params: StepFunctions.Types.StartExecutionInput, callback?: (err: AWSError, data: StepFunctions.Types.StartExecutionOutput) => void): Request; - /** - * Starts a state machine execution. - */ - startExecution(callback?: (err: AWSError, data: StepFunctions.Types.StartExecutionOutput) => void): Request; - /** - * Stops an execution. - */ - stopExecution(params: StepFunctions.Types.StopExecutionInput, callback?: (err: AWSError, data: StepFunctions.Types.StopExecutionOutput) => void): Request; - /** - * Stops an execution. - */ - stopExecution(callback?: (err: AWSError, data: StepFunctions.Types.StopExecutionOutput) => void): Request; -} -declare namespace StepFunctions { - export interface ActivityFailedEventDetails { - /** - * The error code of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the failure. - */ - cause?: Cause; - } - export type ActivityList = ActivityListItem[]; - export interface ActivityListItem { - /** - * The Amazon Resource Name (ARN) that identifies the activity. - */ - activityArn: Arn; - /** - * The name of the activity. - */ - name: Name; - /** - * The date the activity was created. - */ - creationDate: Timestamp; - } - export interface ActivityScheduleFailedEventDetails { - /** - * The error code of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the failure. - */ - cause?: Cause; - } - export interface ActivityScheduledEventDetails { - /** - * The Amazon Resource Name (ARN) of the scheduled activity. - */ - resource: Arn; - /** - * The JSON data input to the activity task. - */ - input?: Data; - /** - * The maximum allowed duration of the activity task. - */ - timeoutInSeconds?: TimeoutInSeconds; - /** - * The maximum allowed duration between two heartbeats for the activity task. - */ - heartbeatInSeconds?: TimeoutInSeconds; - } - export interface ActivityStartedEventDetails { - /** - * The name of the worker that the task was assigned to. These names are provided by the workers when calling GetActivityTask. - */ - workerName?: Identity; - } - export interface ActivitySucceededEventDetails { - /** - * The JSON data output by the activity task. - */ - output?: Data; - } - export interface ActivityTimedOutEventDetails { - /** - * The error code of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the timeout. - */ - cause?: Cause; - } - export type Arn = string; - export type Cause = string; - export interface CreateActivityInput { - /** - * The name of the activity to create. This name must be unique for your AWS account and region. - */ - name: Name; - } - export interface CreateActivityOutput { - /** - * The Amazon Resource Name (ARN) that identifies the created activity. - */ - activityArn: Arn; - /** - * The date the activity was created. - */ - creationDate: Timestamp; - } - export interface CreateStateMachineInput { - /** - * The name of the state machine. This name must be unique for your AWS account and region. - */ - name: Name; - /** - * The Amazon States Language definition of the state machine. - */ - definition: Definition; - /** - * The Amazon Resource Name (ARN) of the IAM role to use for this state machine. - */ - roleArn: Arn; - } - export interface CreateStateMachineOutput { - /** - * The Amazon Resource Name (ARN) that identifies the created state machine. - */ - stateMachineArn: Arn; - /** - * The date the state machine was created. - */ - creationDate: Timestamp; - } - export type Data = string; - export type Definition = string; - export interface DeleteActivityInput { - /** - * The Amazon Resource Name (ARN) of the activity to delete. - */ - activityArn: Arn; - } - export interface DeleteActivityOutput { - } - export interface DeleteStateMachineInput { - /** - * The Amazon Resource Name (ARN) of the state machine to delete. - */ - stateMachineArn: Arn; - } - export interface DeleteStateMachineOutput { - } - export interface DescribeActivityInput { - /** - * The Amazon Resource Name (ARN) of the activity to describe. - */ - activityArn: Arn; - } - export interface DescribeActivityOutput { - /** - * The Amazon Resource Name (ARN) that identifies the activity. - */ - activityArn: Arn; - /** - * The name of the activity. - */ - name: Name; - /** - * The date the activity was created. - */ - creationDate: Timestamp; - } - export interface DescribeExecutionInput { - /** - * The Amazon Resource Name (ARN) of the execution to describe. - */ - executionArn: Arn; - } - export interface DescribeExecutionOutput { - /** - * The Amazon Resource Name (ARN) that identifies the execution. - */ - executionArn: Arn; - /** - * The Amazon Resource Name (ARN) of the executed stated machine. - */ - stateMachineArn: Arn; - /** - * The name of the execution. - */ - name?: Name; - /** - * The current status of the execution. - */ - status: ExecutionStatus; - /** - * The date the execution was started. - */ - startDate: Timestamp; - /** - * If the execution has already ended, the date the execution stopped. - */ - stopDate?: Timestamp; - /** - * The JSON input data of the execution. - */ - input: Data; - /** - * The JSON output data of the execution. - */ - output?: Data; - } - export interface DescribeStateMachineInput { - /** - * The Amazon Resource Name (ARN) of the state machine to describe. - */ - stateMachineArn: Arn; - } - export interface DescribeStateMachineOutput { - /** - * The Amazon Resource Name (ARN) that identifies the state machine. - */ - stateMachineArn: Arn; - /** - * The name of the state machine. - */ - name: Name; - /** - * The current status of the state machine. - */ - status?: StateMachineStatus; - /** - * The Amazon States Language definition of the state machine. - */ - definition: Definition; - /** - * The Amazon Resource Name (ARN) of the IAM role used for executing this state machine. - */ - roleArn: Arn; - /** - * The date the state machine was created. - */ - creationDate: Timestamp; - } - export type Error = string; - export type ErrorMessage = string; - export type EventId = number; - export interface ExecutionAbortedEventDetails { - /** - * The error code of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the failure. - */ - cause?: Cause; - } - export interface ExecutionFailedEventDetails { - /** - * The error code of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the failure. - */ - cause?: Cause; - } - export type ExecutionList = ExecutionListItem[]; - export interface ExecutionListItem { - /** - * The Amazon Resource Name (ARN) that identifies the execution. - */ - executionArn: Arn; - /** - * The Amazon Resource Name (ARN) of the executed state machine. - */ - stateMachineArn: Arn; - /** - * The name of the execution. - */ - name: Name; - /** - * The current status of the execution. - */ - status: ExecutionStatus; - /** - * The date the execution started. - */ - startDate: Timestamp; - /** - * If the execution already ended, the date the execution stopped. - */ - stopDate?: Timestamp; - } - export interface ExecutionStartedEventDetails { - /** - * The JSON data input to the execution. - */ - input?: Data; - /** - * The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda tasks. - */ - roleArn?: Arn; - } - export type ExecutionStatus = "RUNNING"|"SUCCEEDED"|"FAILED"|"TIMED_OUT"|"ABORTED"|string; - export interface ExecutionSucceededEventDetails { - /** - * The JSON data output by the execution. - */ - output?: Data; - } - export interface ExecutionTimedOutEventDetails { - /** - * The error code of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the timeout. - */ - cause?: Cause; - } - export interface GetActivityTaskInput { - /** - * The Amazon Resource Name (ARN) of the activity to retrieve tasks from. - */ - activityArn: Arn; - /** - * An arbitrary name may be provided in order to identify the worker that the task is assigned to. This name will be used when it is logged in the execution history. - */ - workerName?: Name; - } - export interface GetActivityTaskOutput { - /** - * A token that identifies the scheduled task. This token must be copied and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress or completion of the task. - */ - taskToken?: TaskToken; - /** - * The JSON input data for the task. - */ - input?: Data; - } - export interface GetExecutionHistoryInput { - /** - * The Amazon Resource Name (ARN) of the execution. - */ - executionArn: Arn; - /** - * The maximum number of results that will be returned per call. nextToken can be used to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maxResults?: PageSize; - /** - * Lists events in descending order of their timeStamp. - */ - reverseOrder?: ReverseOrder; - /** - * If a nextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken. Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call. - */ - nextToken?: PageToken; - } - export interface GetExecutionHistoryOutput { - /** - * The list of events that occurred in the execution. - */ - events: HistoryEventList; - /** - * If a nextToken is returned, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken. Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call. - */ - nextToken?: PageToken; - } - export interface HistoryEvent { - /** - * The date the event occured. - */ - timestamp: Timestamp; - /** - * The type of the event. - */ - type: HistoryEventType; - /** - * The id of the event. Events are numbered sequentially, starting at one. - */ - id: EventId; - /** - * The id of the previous event. - */ - previousEventId?: EventId; - activityFailedEventDetails?: ActivityFailedEventDetails; - activityScheduleFailedEventDetails?: ActivityScheduleFailedEventDetails; - activityScheduledEventDetails?: ActivityScheduledEventDetails; - activityStartedEventDetails?: ActivityStartedEventDetails; - activitySucceededEventDetails?: ActivitySucceededEventDetails; - activityTimedOutEventDetails?: ActivityTimedOutEventDetails; - executionFailedEventDetails?: ExecutionFailedEventDetails; - executionStartedEventDetails?: ExecutionStartedEventDetails; - executionSucceededEventDetails?: ExecutionSucceededEventDetails; - executionAbortedEventDetails?: ExecutionAbortedEventDetails; - executionTimedOutEventDetails?: ExecutionTimedOutEventDetails; - lambdaFunctionFailedEventDetails?: LambdaFunctionFailedEventDetails; - lambdaFunctionScheduleFailedEventDetails?: LambdaFunctionScheduleFailedEventDetails; - lambdaFunctionScheduledEventDetails?: LambdaFunctionScheduledEventDetails; - lambdaFunctionStartFailedEventDetails?: LambdaFunctionStartFailedEventDetails; - lambdaFunctionSucceededEventDetails?: LambdaFunctionSucceededEventDetails; - lambdaFunctionTimedOutEventDetails?: LambdaFunctionTimedOutEventDetails; - stateEnteredEventDetails?: StateEnteredEventDetails; - stateExitedEventDetails?: StateExitedEventDetails; - } - export type HistoryEventList = HistoryEvent[]; - export type HistoryEventType = "ActivityFailed"|"ActivityScheduleFailed"|"ActivityScheduled"|"ActivityStarted"|"ActivitySucceeded"|"ActivityTimedOut"|"ChoiceStateEntered"|"ChoiceStateExited"|"ExecutionFailed"|"ExecutionStarted"|"ExecutionSucceeded"|"ExecutionAborted"|"ExecutionTimedOut"|"FailStateEntered"|"LambdaFunctionFailed"|"LambdaFunctionScheduleFailed"|"LambdaFunctionScheduled"|"LambdaFunctionStartFailed"|"LambdaFunctionStarted"|"LambdaFunctionSucceeded"|"LambdaFunctionTimedOut"|"SucceedStateEntered"|"SucceedStateExited"|"TaskStateEntered"|"TaskStateExited"|"PassStateEntered"|"PassStateExited"|"ParallelStateEntered"|"ParallelStateExited"|"WaitStateEntered"|"WaitStateExited"|string; - export type Identity = string; - export interface LambdaFunctionFailedEventDetails { - /** - * The error code of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the failure. - */ - cause?: Cause; - } - export interface LambdaFunctionScheduleFailedEventDetails { - /** - * The error code of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the failure. - */ - cause?: Cause; - } - export interface LambdaFunctionScheduledEventDetails { - /** - * The Amazon Resource Name (ARN) of the scheduled lambda function. - */ - resource: Arn; - /** - * The JSON data input to the lambda function. - */ - input?: Data; - /** - * The maximum allowed duration of the lambda function. - */ - timeoutInSeconds?: TimeoutInSeconds; - } - export interface LambdaFunctionStartFailedEventDetails { - /** - * The error code of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the failure. - */ - cause?: Cause; - } - export interface LambdaFunctionSucceededEventDetails { - /** - * The JSON data output by the lambda function. - */ - output?: Data; - } - export interface LambdaFunctionTimedOutEventDetails { - /** - * The error code of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the timeout. - */ - cause?: Cause; - } - export interface ListActivitiesInput { - /** - * The maximum number of results that will be returned per call. nextToken can be used to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maxResults?: PageSize; - /** - * If a nextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken. Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call. - */ - nextToken?: PageToken; - } - export interface ListActivitiesOutput { - /** - * The list of activities. - */ - activities: ActivityList; - /** - * If a nextToken is returned, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken. Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call. - */ - nextToken?: PageToken; - } - export interface ListExecutionsInput { - /** - * The Amazon Resource Name (ARN) of the state machine whose executions will be listed. - */ - stateMachineArn: Arn; - /** - * If specified, only list the executions whose current execution status matches the given filter. - */ - statusFilter?: ExecutionStatus; - /** - * The maximum number of results that will be returned per call. nextToken can be used to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maxResults?: PageSize; - /** - * If a nextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken. Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call. - */ - nextToken?: PageToken; - } - export interface ListExecutionsOutput { - /** - * The list of matching executions. - */ - executions: ExecutionList; - /** - * If a nextToken is returned, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken. Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call. - */ - nextToken?: PageToken; - } - export interface ListStateMachinesInput { - /** - * The maximum number of results that will be returned per call. nextToken can be used to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maxResults?: PageSize; - /** - * If a nextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken. Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call. - */ - nextToken?: PageToken; - } - export interface ListStateMachinesOutput { - stateMachines: StateMachineList; - /** - * If a nextToken is returned, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken. Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call. - */ - nextToken?: PageToken; - } - export type Name = string; - export type PageSize = number; - export type PageToken = string; - export type ReverseOrder = boolean; - export interface SendTaskFailureInput { - /** - * The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken). - */ - taskToken: TaskToken; - /** - * An arbitrary error code that identifies the cause of the failure. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the failure. - */ - cause?: Cause; - } - export interface SendTaskFailureOutput { - } - export interface SendTaskHeartbeatInput { - /** - * The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken). - */ - taskToken: TaskToken; - } - export interface SendTaskHeartbeatOutput { - } - export interface SendTaskSuccessInput { - /** - * The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken). - */ - taskToken: TaskToken; - /** - * The JSON output of the task. - */ - output: Data; - } - export interface SendTaskSuccessOutput { - } - export interface StartExecutionInput { - /** - * The Amazon Resource Name (ARN) of the state machine to execute. - */ - stateMachineArn: Arn; - /** - * The name of the execution. This name must be unique for your AWS account and region. - */ - name?: Name; - /** - * The JSON input data for the execution. - */ - input?: Data; - } - export interface StartExecutionOutput { - /** - * The Amazon Resource Name (ARN) that identifies the execution. - */ - executionArn: Arn; - /** - * The date the execution was started. - */ - startDate: Timestamp; - } - export interface StateEnteredEventDetails { - /** - * The name of the state. - */ - name: Name; - /** - * The JSON input data to the state. - */ - input?: Data; - } - export interface StateExitedEventDetails { - /** - * The name of the state. - */ - name: Name; - /** - * The JSON output data of the state. - */ - output?: Data; - } - export type StateMachineList = StateMachineListItem[]; - export interface StateMachineListItem { - /** - * The Amazon Resource Name (ARN) that identifies the state machine. - */ - stateMachineArn: Arn; - /** - * The name of the state machine. - */ - name: Name; - /** - * The date the state machine was created. - */ - creationDate: Timestamp; - } - export type StateMachineStatus = "ACTIVE"|"DELETING"|string; - export interface StopExecutionInput { - /** - * The Amazon Resource Name (ARN) of the execution to stop. - */ - executionArn: Arn; - /** - * An arbitrary error code that identifies the cause of the termination. - */ - error?: Error; - /** - * A more detailed explanation of the cause of the termination. - */ - cause?: Cause; - } - export interface StopExecutionOutput { - /** - * The date the execution was stopped. - */ - stopDate: Timestamp; - } - export type TaskToken = string; - export type TimeoutInSeconds = number; - export type Timestamp = Date; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-11-23"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the StepFunctions client. - */ - export import Types = StepFunctions; -} -export = StepFunctions; diff --git a/src/node_modules/aws-sdk/clients/stepfunctions.js b/src/node_modules/aws-sdk/clients/stepfunctions.js deleted file mode 100644 index 3b94bab..0000000 --- a/src/node_modules/aws-sdk/clients/stepfunctions.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['stepfunctions'] = {}; -AWS.StepFunctions = Service.defineService('stepfunctions', ['2016-11-23']); -Object.defineProperty(apiLoader.services['stepfunctions'], '2016-11-23', { - get: function get() { - var model = require('../apis/states-2016-11-23.min.json'); - model.paginators = require('../apis/states-2016-11-23.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.StepFunctions; diff --git a/src/node_modules/aws-sdk/clients/storagegateway.d.ts b/src/node_modules/aws-sdk/clients/storagegateway.d.ts deleted file mode 100644 index 32d2b04..0000000 --- a/src/node_modules/aws-sdk/clients/storagegateway.d.ts +++ /dev/null @@ -1,2027 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class StorageGateway extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: StorageGateway.Types.ClientConfiguration) - config: Config & StorageGateway.Types.ClientConfiguration; - /** - * Activates the gateway you previously deployed on your host. For more information, see Activate the AWS Storage Gateway. In the activation process, you specify information such as the region you want to use for storing snapshots or tapes, the time zone for scheduled snapshots the gateway snapshot schedule window, an activation key, and a name for your gateway. The activation process also associates your gateway with your account; for more information, see UpdateGatewayInformation. You must turn on the gateway VM before you can activate your gateway. - */ - activateGateway(params: StorageGateway.Types.ActivateGatewayInput, callback?: (err: AWSError, data: StorageGateway.Types.ActivateGatewayOutput) => void): Request; - /** - * Activates the gateway you previously deployed on your host. For more information, see Activate the AWS Storage Gateway. In the activation process, you specify information such as the region you want to use for storing snapshots or tapes, the time zone for scheduled snapshots the gateway snapshot schedule window, an activation key, and a name for your gateway. The activation process also associates your gateway with your account; for more information, see UpdateGatewayInformation. You must turn on the gateway VM before you can activate your gateway. - */ - activateGateway(callback?: (err: AWSError, data: StorageGateway.Types.ActivateGatewayOutput) => void): Request; - /** - * Configures one or more gateway local disks as cache for a gateway. This operation is only supported in the cached volume, tape and file gateway architectures (see Storage Gateway Concepts). In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add cache, and one or more disk IDs that you want to configure as cache. - */ - addCache(params: StorageGateway.Types.AddCacheInput, callback?: (err: AWSError, data: StorageGateway.Types.AddCacheOutput) => void): Request; - /** - * Configures one or more gateway local disks as cache for a gateway. This operation is only supported in the cached volume, tape and file gateway architectures (see Storage Gateway Concepts). In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add cache, and one or more disk IDs that you want to configure as cache. - */ - addCache(callback?: (err: AWSError, data: StorageGateway.Types.AddCacheOutput) => void): Request; - /** - * Adds one or more tags to the specified resource. You use tags to add metadata to resources, which you can use to categorize these resources. For example, you can categorize resources by purpose, owner, environment, or team. Each tag consists of a key and a value, which you define. You can add tags to the following AWS Storage Gateway resources: Storage gateways of all types Storage Volumes Virtual Tapes You can create a maximum of 10 tags for each resource. Virtual tapes and storage volumes that are recovered to a new gateway maintain their tags. - */ - addTagsToResource(params: StorageGateway.Types.AddTagsToResourceInput, callback?: (err: AWSError, data: StorageGateway.Types.AddTagsToResourceOutput) => void): Request; - /** - * Adds one or more tags to the specified resource. You use tags to add metadata to resources, which you can use to categorize these resources. For example, you can categorize resources by purpose, owner, environment, or team. Each tag consists of a key and a value, which you define. You can add tags to the following AWS Storage Gateway resources: Storage gateways of all types Storage Volumes Virtual Tapes You can create a maximum of 10 tags for each resource. Virtual tapes and storage volumes that are recovered to a new gateway maintain their tags. - */ - addTagsToResource(callback?: (err: AWSError, data: StorageGateway.Types.AddTagsToResourceOutput) => void): Request; - /** - * Configures one or more gateway local disks as upload buffer for a specified gateway. This operation is supported for the stored volume, cached volume and tape gateway architectures. In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add upload buffer, and one or more disk IDs that you want to configure as upload buffer. - */ - addUploadBuffer(params: StorageGateway.Types.AddUploadBufferInput, callback?: (err: AWSError, data: StorageGateway.Types.AddUploadBufferOutput) => void): Request; - /** - * Configures one or more gateway local disks as upload buffer for a specified gateway. This operation is supported for the stored volume, cached volume and tape gateway architectures. In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add upload buffer, and one or more disk IDs that you want to configure as upload buffer. - */ - addUploadBuffer(callback?: (err: AWSError, data: StorageGateway.Types.AddUploadBufferOutput) => void): Request; - /** - * Configures one or more gateway local disks as working storage for a gateway. This operation is only supported in the stored volume gateway architecture. This operation is deprecated in cached volume API version 20120630. Use AddUploadBuffer instead. Working storage is also referred to as upload buffer. You can also use the AddUploadBuffer operation to add upload buffer to a stored volume gateway. In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add working storage, and one or more disk IDs that you want to configure as working storage. - */ - addWorkingStorage(params: StorageGateway.Types.AddWorkingStorageInput, callback?: (err: AWSError, data: StorageGateway.Types.AddWorkingStorageOutput) => void): Request; - /** - * Configures one or more gateway local disks as working storage for a gateway. This operation is only supported in the stored volume gateway architecture. This operation is deprecated in cached volume API version 20120630. Use AddUploadBuffer instead. Working storage is also referred to as upload buffer. You can also use the AddUploadBuffer operation to add upload buffer to a stored volume gateway. In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add working storage, and one or more disk IDs that you want to configure as working storage. - */ - addWorkingStorage(callback?: (err: AWSError, data: StorageGateway.Types.AddWorkingStorageOutput) => void): Request; - /** - * Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated. This operation is only supported in the tape gateway architecture. - */ - cancelArchival(params: StorageGateway.Types.CancelArchivalInput, callback?: (err: AWSError, data: StorageGateway.Types.CancelArchivalOutput) => void): Request; - /** - * Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated. This operation is only supported in the tape gateway architecture. - */ - cancelArchival(callback?: (err: AWSError, data: StorageGateway.Types.CancelArchivalOutput) => void): Request; - /** - * Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated. The virtual tape is returned to the VTS. - */ - cancelRetrieval(params: StorageGateway.Types.CancelRetrievalInput, callback?: (err: AWSError, data: StorageGateway.Types.CancelRetrievalOutput) => void): Request; - /** - * Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated. The virtual tape is returned to the VTS. - */ - cancelRetrieval(callback?: (err: AWSError, data: StorageGateway.Types.CancelRetrievalOutput) => void): Request; - /** - * Creates a cached volume on a specified cached volume gateway. This operation is only supported in the cached volume gateway architecture. Cache storage must be allocated to the gateway before you can create a cached volume. Use the AddCache operation to add cache storage to a gateway. In the request, you must specify the gateway, size of the volume in bytes, the iSCSI target name, an IP address on which to expose the target, and a unique client token. In response, the gateway creates the volume and returns information about it. This information includes the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that initiators can use to connect to the volume target. Optionally, you can provide the ARN for an existing volume as the SourceVolumeARN for this cached volume, which creates an exact copy of the existing volume’s latest recovery point. The VolumeSizeInBytes value must be equal to or larger than the size of the copied volume, in bytes. - */ - createCachediSCSIVolume(params: StorageGateway.Types.CreateCachediSCSIVolumeInput, callback?: (err: AWSError, data: StorageGateway.Types.CreateCachediSCSIVolumeOutput) => void): Request; - /** - * Creates a cached volume on a specified cached volume gateway. This operation is only supported in the cached volume gateway architecture. Cache storage must be allocated to the gateway before you can create a cached volume. Use the AddCache operation to add cache storage to a gateway. In the request, you must specify the gateway, size of the volume in bytes, the iSCSI target name, an IP address on which to expose the target, and a unique client token. In response, the gateway creates the volume and returns information about it. This information includes the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that initiators can use to connect to the volume target. Optionally, you can provide the ARN for an existing volume as the SourceVolumeARN for this cached volume, which creates an exact copy of the existing volume’s latest recovery point. The VolumeSizeInBytes value must be equal to or larger than the size of the copied volume, in bytes. - */ - createCachediSCSIVolume(callback?: (err: AWSError, data: StorageGateway.Types.CreateCachediSCSIVolumeOutput) => void): Request; - /** - * Creates a file share on an existing file gateway. In Storage Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage. Storage Gateway exposes file shares using a Network File System (NFS) interface. This operation is only supported in the file gateway architecture. File gateway requires AWS Security Token Service (AWS STS) to be activated to enable you create a file share. Make sure AWS STS is activated in the region you are creating your file gateway in. If AWS STS is not activated in the region, activate it. For information about how to activate AWS STS, see Activating and Deactivating AWS STS in an AWS Region in the AWS Identity and Access Management User Guide. File gateway does not support creating hard or symbolic links on a file share. - */ - createNFSFileShare(params: StorageGateway.Types.CreateNFSFileShareInput, callback?: (err: AWSError, data: StorageGateway.Types.CreateNFSFileShareOutput) => void): Request; - /** - * Creates a file share on an existing file gateway. In Storage Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage. Storage Gateway exposes file shares using a Network File System (NFS) interface. This operation is only supported in the file gateway architecture. File gateway requires AWS Security Token Service (AWS STS) to be activated to enable you create a file share. Make sure AWS STS is activated in the region you are creating your file gateway in. If AWS STS is not activated in the region, activate it. For information about how to activate AWS STS, see Activating and Deactivating AWS STS in an AWS Region in the AWS Identity and Access Management User Guide. File gateway does not support creating hard or symbolic links on a file share. - */ - createNFSFileShare(callback?: (err: AWSError, data: StorageGateway.Types.CreateNFSFileShareOutput) => void): Request; - /** - * Initiates a snapshot of a volume. AWS Storage Gateway provides the ability to back up point-in-time snapshots of your data to Amazon Simple Storage (S3) for durable off-site recovery, as well as import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud (EC2). You can take snapshots of your gateway volume on a scheduled or ad-hoc basis. This API enables you to take ad-hoc snapshot. For more information, see Editing a Snapshot Schedule. In the CreateSnapshot request you identify the volume by providing its Amazon Resource Name (ARN). You must also provide description for the snapshot. When AWS Storage Gateway takes the snapshot of specified volume, the snapshot and description appears in the AWS Storage Gateway Console. In response, AWS Storage Gateway returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it when you want to create a volume from a snapshot. This operation is only supported in stored and cached volume gateway architecture. To list or delete a snapshot, you must use the Amazon EC2 API. For more information, see DescribeSnapshots or DeleteSnapshot in the EC2 API reference. Volume and snapshot IDs are changing to a longer length ID format. For more information, see the important note on the Welcome page. - */ - createSnapshot(params: StorageGateway.Types.CreateSnapshotInput, callback?: (err: AWSError, data: StorageGateway.Types.CreateSnapshotOutput) => void): Request; - /** - * Initiates a snapshot of a volume. AWS Storage Gateway provides the ability to back up point-in-time snapshots of your data to Amazon Simple Storage (S3) for durable off-site recovery, as well as import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud (EC2). You can take snapshots of your gateway volume on a scheduled or ad-hoc basis. This API enables you to take ad-hoc snapshot. For more information, see Editing a Snapshot Schedule. In the CreateSnapshot request you identify the volume by providing its Amazon Resource Name (ARN). You must also provide description for the snapshot. When AWS Storage Gateway takes the snapshot of specified volume, the snapshot and description appears in the AWS Storage Gateway Console. In response, AWS Storage Gateway returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it when you want to create a volume from a snapshot. This operation is only supported in stored and cached volume gateway architecture. To list or delete a snapshot, you must use the Amazon EC2 API. For more information, see DescribeSnapshots or DeleteSnapshot in the EC2 API reference. Volume and snapshot IDs are changing to a longer length ID format. For more information, see the important note on the Welcome page. - */ - createSnapshot(callback?: (err: AWSError, data: StorageGateway.Types.CreateSnapshotOutput) => void): Request; - /** - * Initiates a snapshot of a gateway from a volume recovery point. This operation is only supported in the cached volume gateway architecture. A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot. To get a list of volume recovery point for cached volume gateway, use ListVolumeRecoveryPoints. In the CreateSnapshotFromVolumeRecoveryPoint request, you identify the volume by providing its Amazon Resource Name (ARN). You must also provide a description for the snapshot. When the gateway takes a snapshot of the specified volume, the snapshot and its description appear in the AWS Storage Gateway console. In response, the gateway returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it when you want to create a volume from a snapshot. To list or delete a snapshot, you must use the Amazon EC2 API. For more information, in Amazon Elastic Compute Cloud API Reference. - */ - createSnapshotFromVolumeRecoveryPoint(params: StorageGateway.Types.CreateSnapshotFromVolumeRecoveryPointInput, callback?: (err: AWSError, data: StorageGateway.Types.CreateSnapshotFromVolumeRecoveryPointOutput) => void): Request; - /** - * Initiates a snapshot of a gateway from a volume recovery point. This operation is only supported in the cached volume gateway architecture. A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot. To get a list of volume recovery point for cached volume gateway, use ListVolumeRecoveryPoints. In the CreateSnapshotFromVolumeRecoveryPoint request, you identify the volume by providing its Amazon Resource Name (ARN). You must also provide a description for the snapshot. When the gateway takes a snapshot of the specified volume, the snapshot and its description appear in the AWS Storage Gateway console. In response, the gateway returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it when you want to create a volume from a snapshot. To list or delete a snapshot, you must use the Amazon EC2 API. For more information, in Amazon Elastic Compute Cloud API Reference. - */ - createSnapshotFromVolumeRecoveryPoint(callback?: (err: AWSError, data: StorageGateway.Types.CreateSnapshotFromVolumeRecoveryPointOutput) => void): Request; - /** - * Creates a volume on a specified gateway. This operation is only supported in the stored volume gateway architecture. The size of the volume to create is inferred from the disk size. You can choose to preserve existing data on the disk, create volume from an existing snapshot, or create an empty volume. If you choose to create an empty gateway volume, then any existing data on the disk is erased. In the request you must specify the gateway and the disk information on which you are creating the volume. In response, the gateway creates the volume and returns volume information such as the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that initiators can use to connect to the volume target. - */ - createStorediSCSIVolume(params: StorageGateway.Types.CreateStorediSCSIVolumeInput, callback?: (err: AWSError, data: StorageGateway.Types.CreateStorediSCSIVolumeOutput) => void): Request; - /** - * Creates a volume on a specified gateway. This operation is only supported in the stored volume gateway architecture. The size of the volume to create is inferred from the disk size. You can choose to preserve existing data on the disk, create volume from an existing snapshot, or create an empty volume. If you choose to create an empty gateway volume, then any existing data on the disk is erased. In the request you must specify the gateway and the disk information on which you are creating the volume. In response, the gateway creates the volume and returns volume information such as the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that initiators can use to connect to the volume target. - */ - createStorediSCSIVolume(callback?: (err: AWSError, data: StorageGateway.Types.CreateStorediSCSIVolumeOutput) => void): Request; - /** - * Creates a virtual tape by using your own barcode. You write data to the virtual tape and then archive the tape. This operation is only supported in the tape gateway architecture. Cache storage must be allocated to the gateway before you can create a virtual tape. Use the AddCache operation to add cache storage to a gateway. - */ - createTapeWithBarcode(params: StorageGateway.Types.CreateTapeWithBarcodeInput, callback?: (err: AWSError, data: StorageGateway.Types.CreateTapeWithBarcodeOutput) => void): Request; - /** - * Creates a virtual tape by using your own barcode. You write data to the virtual tape and then archive the tape. This operation is only supported in the tape gateway architecture. Cache storage must be allocated to the gateway before you can create a virtual tape. Use the AddCache operation to add cache storage to a gateway. - */ - createTapeWithBarcode(callback?: (err: AWSError, data: StorageGateway.Types.CreateTapeWithBarcodeOutput) => void): Request; - /** - * Creates one or more virtual tapes. You write data to the virtual tapes and then archive the tapes. This operation is only supported in the tape gateway architecture. Cache storage must be allocated to the gateway before you can create virtual tapes. Use the AddCache operation to add cache storage to a gateway. - */ - createTapes(params: StorageGateway.Types.CreateTapesInput, callback?: (err: AWSError, data: StorageGateway.Types.CreateTapesOutput) => void): Request; - /** - * Creates one or more virtual tapes. You write data to the virtual tapes and then archive the tapes. This operation is only supported in the tape gateway architecture. Cache storage must be allocated to the gateway before you can create virtual tapes. Use the AddCache operation to add cache storage to a gateway. - */ - createTapes(callback?: (err: AWSError, data: StorageGateway.Types.CreateTapesOutput) => void): Request; - /** - * Deletes the bandwidth rate limits of a gateway. You can delete either the upload and download bandwidth rate limit, or you can delete both. If you delete only one of the limits, the other limit remains unchanged. To specify which gateway to work with, use the Amazon Resource Name (ARN) of the gateway in your request. - */ - deleteBandwidthRateLimit(params: StorageGateway.Types.DeleteBandwidthRateLimitInput, callback?: (err: AWSError, data: StorageGateway.Types.DeleteBandwidthRateLimitOutput) => void): Request; - /** - * Deletes the bandwidth rate limits of a gateway. You can delete either the upload and download bandwidth rate limit, or you can delete both. If you delete only one of the limits, the other limit remains unchanged. To specify which gateway to work with, use the Amazon Resource Name (ARN) of the gateway in your request. - */ - deleteBandwidthRateLimit(callback?: (err: AWSError, data: StorageGateway.Types.DeleteBandwidthRateLimitOutput) => void): Request; - /** - * Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair. - */ - deleteChapCredentials(params: StorageGateway.Types.DeleteChapCredentialsInput, callback?: (err: AWSError, data: StorageGateway.Types.DeleteChapCredentialsOutput) => void): Request; - /** - * Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair. - */ - deleteChapCredentials(callback?: (err: AWSError, data: StorageGateway.Types.DeleteChapCredentialsOutput) => void): Request; - /** - * Deletes a file share from a file gateway. This operation is only supported in the file gateway architecture. - */ - deleteFileShare(params: StorageGateway.Types.DeleteFileShareInput, callback?: (err: AWSError, data: StorageGateway.Types.DeleteFileShareOutput) => void): Request; - /** - * Deletes a file share from a file gateway. This operation is only supported in the file gateway architecture. - */ - deleteFileShare(callback?: (err: AWSError, data: StorageGateway.Types.DeleteFileShareOutput) => void): Request; - /** - * Deletes a gateway. To specify which gateway to delete, use the Amazon Resource Name (ARN) of the gateway in your request. The operation deletes the gateway; however, it does not delete the gateway virtual machine (VM) from your host computer. After you delete a gateway, you cannot reactivate it. Completed snapshots of the gateway volumes are not deleted upon deleting the gateway, however, pending snapshots will not complete. After you delete a gateway, your next step is to remove it from your environment. You no longer pay software charges after the gateway is deleted; however, your existing Amazon EBS snapshots persist and you will continue to be billed for these snapshots. You can choose to remove all remaining Amazon EBS snapshots by canceling your Amazon EC2 subscription.  If you prefer not to cancel your Amazon EC2 subscription, you can delete your snapshots using the Amazon EC2 console. For more information, see the AWS Storage Gateway Detail Page. - */ - deleteGateway(params: StorageGateway.Types.DeleteGatewayInput, callback?: (err: AWSError, data: StorageGateway.Types.DeleteGatewayOutput) => void): Request; - /** - * Deletes a gateway. To specify which gateway to delete, use the Amazon Resource Name (ARN) of the gateway in your request. The operation deletes the gateway; however, it does not delete the gateway virtual machine (VM) from your host computer. After you delete a gateway, you cannot reactivate it. Completed snapshots of the gateway volumes are not deleted upon deleting the gateway, however, pending snapshots will not complete. After you delete a gateway, your next step is to remove it from your environment. You no longer pay software charges after the gateway is deleted; however, your existing Amazon EBS snapshots persist and you will continue to be billed for these snapshots. You can choose to remove all remaining Amazon EBS snapshots by canceling your Amazon EC2 subscription.  If you prefer not to cancel your Amazon EC2 subscription, you can delete your snapshots using the Amazon EC2 console. For more information, see the AWS Storage Gateway Detail Page. - */ - deleteGateway(callback?: (err: AWSError, data: StorageGateway.Types.DeleteGatewayOutput) => void): Request; - /** - * Deletes a snapshot of a volume. You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API action enables you to delete a snapshot schedule for a volume. For more information, see Working with Snapshots. In the DeleteSnapshotSchedule request, you identify the volume by providing its Amazon Resource Name (ARN). To list or delete a snapshot, you must use the Amazon EC2 API. in Amazon Elastic Compute Cloud API Reference. - */ - deleteSnapshotSchedule(params: StorageGateway.Types.DeleteSnapshotScheduleInput, callback?: (err: AWSError, data: StorageGateway.Types.DeleteSnapshotScheduleOutput) => void): Request; - /** - * Deletes a snapshot of a volume. You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API action enables you to delete a snapshot schedule for a volume. For more information, see Working with Snapshots. In the DeleteSnapshotSchedule request, you identify the volume by providing its Amazon Resource Name (ARN). To list or delete a snapshot, you must use the Amazon EC2 API. in Amazon Elastic Compute Cloud API Reference. - */ - deleteSnapshotSchedule(callback?: (err: AWSError, data: StorageGateway.Types.DeleteSnapshotScheduleOutput) => void): Request; - /** - * Deletes the specified virtual tape. This operation is only supported in the tape gateway architecture. - */ - deleteTape(params: StorageGateway.Types.DeleteTapeInput, callback?: (err: AWSError, data: StorageGateway.Types.DeleteTapeOutput) => void): Request; - /** - * Deletes the specified virtual tape. This operation is only supported in the tape gateway architecture. - */ - deleteTape(callback?: (err: AWSError, data: StorageGateway.Types.DeleteTapeOutput) => void): Request; - /** - * Deletes the specified virtual tape from the virtual tape shelf (VTS). This operation is only supported in the tape gateway architecture. - */ - deleteTapeArchive(params: StorageGateway.Types.DeleteTapeArchiveInput, callback?: (err: AWSError, data: StorageGateway.Types.DeleteTapeArchiveOutput) => void): Request; - /** - * Deletes the specified virtual tape from the virtual tape shelf (VTS). This operation is only supported in the tape gateway architecture. - */ - deleteTapeArchive(callback?: (err: AWSError, data: StorageGateway.Types.DeleteTapeArchiveOutput) => void): Request; - /** - * Deletes the specified storage volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API. This operation is only supported in the cached volume and stored volume architectures. For stored volume gateways, the local disk that was configured as the storage volume is not deleted. You can reuse the local disk to create another storage volume. Before you delete a volume, make sure there are no iSCSI connections to the volume you are deleting. You should also make sure there is no snapshot in progress. You can use the Amazon Elastic Compute Cloud (Amazon EC2) API to query snapshots on the volume you are deleting and check the snapshot status. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference. In the request, you must provide the Amazon Resource Name (ARN) of the storage volume you want to delete. - */ - deleteVolume(params: StorageGateway.Types.DeleteVolumeInput, callback?: (err: AWSError, data: StorageGateway.Types.DeleteVolumeOutput) => void): Request; - /** - * Deletes the specified storage volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API. This operation is only supported in the cached volume and stored volume architectures. For stored volume gateways, the local disk that was configured as the storage volume is not deleted. You can reuse the local disk to create another storage volume. Before you delete a volume, make sure there are no iSCSI connections to the volume you are deleting. You should also make sure there is no snapshot in progress. You can use the Amazon Elastic Compute Cloud (Amazon EC2) API to query snapshots on the volume you are deleting and check the snapshot status. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference. In the request, you must provide the Amazon Resource Name (ARN) of the storage volume you want to delete. - */ - deleteVolume(callback?: (err: AWSError, data: StorageGateway.Types.DeleteVolumeOutput) => void): Request; - /** - * Returns the bandwidth rate limits of a gateway. By default, these limits are not set, which means no bandwidth rate limiting is in effect. This operation only returns a value for a bandwidth rate limit only if the limit is set. If no limits are set for the gateway, then this operation returns only the gateway ARN in the response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. - */ - describeBandwidthRateLimit(params: StorageGateway.Types.DescribeBandwidthRateLimitInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeBandwidthRateLimitOutput) => void): Request; - /** - * Returns the bandwidth rate limits of a gateway. By default, these limits are not set, which means no bandwidth rate limiting is in effect. This operation only returns a value for a bandwidth rate limit only if the limit is set. If no limits are set for the gateway, then this operation returns only the gateway ARN in the response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. - */ - describeBandwidthRateLimit(callback?: (err: AWSError, data: StorageGateway.Types.DescribeBandwidthRateLimitOutput) => void): Request; - /** - * Returns information about the cache of a gateway. This operation is only supported in the cached volume,tape and file gateway architectures. The response includes disk IDs that are configured as cache, and it includes the amount of cache allocated and used. - */ - describeCache(params: StorageGateway.Types.DescribeCacheInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeCacheOutput) => void): Request; - /** - * Returns information about the cache of a gateway. This operation is only supported in the cached volume,tape and file gateway architectures. The response includes disk IDs that are configured as cache, and it includes the amount of cache allocated and used. - */ - describeCache(callback?: (err: AWSError, data: StorageGateway.Types.DescribeCacheOutput) => void): Request; - /** - * Returns a description of the gateway volumes specified in the request. This operation is only supported in the cached volume gateway architecture. The list of gateway volumes in the request must be from one gateway. In the response Amazon Storage Gateway returns volume information sorted by volume Amazon Resource Name (ARN). - */ - describeCachediSCSIVolumes(params: StorageGateway.Types.DescribeCachediSCSIVolumesInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeCachediSCSIVolumesOutput) => void): Request; - /** - * Returns a description of the gateway volumes specified in the request. This operation is only supported in the cached volume gateway architecture. The list of gateway volumes in the request must be from one gateway. In the response Amazon Storage Gateway returns volume information sorted by volume Amazon Resource Name (ARN). - */ - describeCachediSCSIVolumes(callback?: (err: AWSError, data: StorageGateway.Types.DescribeCachediSCSIVolumesOutput) => void): Request; - /** - * Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair. - */ - describeChapCredentials(params: StorageGateway.Types.DescribeChapCredentialsInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeChapCredentialsOutput) => void): Request; - /** - * Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair. - */ - describeChapCredentials(callback?: (err: AWSError, data: StorageGateway.Types.DescribeChapCredentialsOutput) => void): Request; - /** - * Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not). To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. - */ - describeGatewayInformation(params: StorageGateway.Types.DescribeGatewayInformationInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeGatewayInformationOutput) => void): Request; - /** - * Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not). To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. - */ - describeGatewayInformation(callback?: (err: AWSError, data: StorageGateway.Types.DescribeGatewayInformationOutput) => void): Request; - /** - * Returns your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone. - */ - describeMaintenanceStartTime(params: StorageGateway.Types.DescribeMaintenanceStartTimeInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeMaintenanceStartTimeOutput) => void): Request; - /** - * Returns your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone. - */ - describeMaintenanceStartTime(callback?: (err: AWSError, data: StorageGateway.Types.DescribeMaintenanceStartTimeOutput) => void): Request; - /** - * Gets a description for one or more file shares from a file gateway. This operation is only supported in file gateways. - */ - describeNFSFileShares(params: StorageGateway.Types.DescribeNFSFileSharesInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeNFSFileSharesOutput) => void): Request; - /** - * Gets a description for one or more file shares from a file gateway. This operation is only supported in file gateways. - */ - describeNFSFileShares(callback?: (err: AWSError, data: StorageGateway.Types.DescribeNFSFileSharesOutput) => void): Request; - /** - * Describes the snapshot schedule for the specified gateway volume. The snapshot schedule information includes intervals at which snapshots are automatically initiated on the volume. This operation is only supported in the cached volume and stored volume architectures. - */ - describeSnapshotSchedule(params: StorageGateway.Types.DescribeSnapshotScheduleInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeSnapshotScheduleOutput) => void): Request; - /** - * Describes the snapshot schedule for the specified gateway volume. The snapshot schedule information includes intervals at which snapshots are automatically initiated on the volume. This operation is only supported in the cached volume and stored volume architectures. - */ - describeSnapshotSchedule(callback?: (err: AWSError, data: StorageGateway.Types.DescribeSnapshotScheduleOutput) => void): Request; - /** - * Returns the description of the gateway volumes specified in the request. The list of gateway volumes in the request must be from one gateway. In the response Amazon Storage Gateway returns volume information sorted by volume ARNs. This operation is only supported in stored volume gateway architecture. - */ - describeStorediSCSIVolumes(params: StorageGateway.Types.DescribeStorediSCSIVolumesInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeStorediSCSIVolumesOutput) => void): Request; - /** - * Returns the description of the gateway volumes specified in the request. The list of gateway volumes in the request must be from one gateway. In the response Amazon Storage Gateway returns volume information sorted by volume ARNs. This operation is only supported in stored volume gateway architecture. - */ - describeStorediSCSIVolumes(callback?: (err: AWSError, data: StorageGateway.Types.DescribeStorediSCSIVolumesOutput) => void): Request; - /** - * Returns a description of specified virtual tapes in the virtual tape shelf (VTS). This operation is only supported in the tape gateway architecture. If a specific TapeARN is not specified, AWS Storage Gateway returns a description of all virtual tapes found in the VTS associated with your account. - */ - describeTapeArchives(params: StorageGateway.Types.DescribeTapeArchivesInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeTapeArchivesOutput) => void): Request; - /** - * Returns a description of specified virtual tapes in the virtual tape shelf (VTS). This operation is only supported in the tape gateway architecture. If a specific TapeARN is not specified, AWS Storage Gateway returns a description of all virtual tapes found in the VTS associated with your account. - */ - describeTapeArchives(callback?: (err: AWSError, data: StorageGateway.Types.DescribeTapeArchivesOutput) => void): Request; - /** - * Returns a list of virtual tape recovery points that are available for the specified tape gateway. A recovery point is a point-in-time view of a virtual tape at which all the data on the virtual tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway. This operation is only supported in the tape gateway architecture. - */ - describeTapeRecoveryPoints(params: StorageGateway.Types.DescribeTapeRecoveryPointsInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeTapeRecoveryPointsOutput) => void): Request; - /** - * Returns a list of virtual tape recovery points that are available for the specified tape gateway. A recovery point is a point-in-time view of a virtual tape at which all the data on the virtual tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway. This operation is only supported in the tape gateway architecture. - */ - describeTapeRecoveryPoints(callback?: (err: AWSError, data: StorageGateway.Types.DescribeTapeRecoveryPointsOutput) => void): Request; - /** - * Returns a description of the specified Amazon Resource Name (ARN) of virtual tapes. If a TapeARN is not specified, returns a description of all virtual tapes associated with the specified gateway. This operation is only supported in the tape gateway architecture. - */ - describeTapes(params: StorageGateway.Types.DescribeTapesInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeTapesOutput) => void): Request; - /** - * Returns a description of the specified Amazon Resource Name (ARN) of virtual tapes. If a TapeARN is not specified, returns a description of all virtual tapes associated with the specified gateway. This operation is only supported in the tape gateway architecture. - */ - describeTapes(callback?: (err: AWSError, data: StorageGateway.Types.DescribeTapesOutput) => void): Request; - /** - * Returns information about the upload buffer of a gateway. This operation is supported for the stored volume, cached volume and tape gateway architectures. The response includes disk IDs that are configured as upload buffer space, and it includes the amount of upload buffer space allocated and used. - */ - describeUploadBuffer(params: StorageGateway.Types.DescribeUploadBufferInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeUploadBufferOutput) => void): Request; - /** - * Returns information about the upload buffer of a gateway. This operation is supported for the stored volume, cached volume and tape gateway architectures. The response includes disk IDs that are configured as upload buffer space, and it includes the amount of upload buffer space allocated and used. - */ - describeUploadBuffer(callback?: (err: AWSError, data: StorageGateway.Types.DescribeUploadBufferOutput) => void): Request; - /** - * Returns a description of virtual tape library (VTL) devices for the specified tape gateway. In the response, AWS Storage Gateway returns VTL device information. This operation is only supported in the tape gateway architecture. - */ - describeVTLDevices(params: StorageGateway.Types.DescribeVTLDevicesInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeVTLDevicesOutput) => void): Request; - /** - * Returns a description of virtual tape library (VTL) devices for the specified tape gateway. In the response, AWS Storage Gateway returns VTL device information. This operation is only supported in the tape gateway architecture. - */ - describeVTLDevices(callback?: (err: AWSError, data: StorageGateway.Types.DescribeVTLDevicesOutput) => void): Request; - /** - * Returns information about the working storage of a gateway. This operation is only supported in the stored volumes gateway architecture. This operation is deprecated in cached volumes API version (20120630). Use DescribeUploadBuffer instead. Working storage is also referred to as upload buffer. You can also use the DescribeUploadBuffer operation to add upload buffer to a stored volume gateway. The response includes disk IDs that are configured as working storage, and it includes the amount of working storage allocated and used. - */ - describeWorkingStorage(params: StorageGateway.Types.DescribeWorkingStorageInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeWorkingStorageOutput) => void): Request; - /** - * Returns information about the working storage of a gateway. This operation is only supported in the stored volumes gateway architecture. This operation is deprecated in cached volumes API version (20120630). Use DescribeUploadBuffer instead. Working storage is also referred to as upload buffer. You can also use the DescribeUploadBuffer operation to add upload buffer to a stored volume gateway. The response includes disk IDs that are configured as working storage, and it includes the amount of working storage allocated and used. - */ - describeWorkingStorage(callback?: (err: AWSError, data: StorageGateway.Types.DescribeWorkingStorageOutput) => void): Request; - /** - * Disables a tape gateway when the gateway is no longer functioning. For example, if your gateway VM is damaged, you can disable the gateway so you can recover virtual tapes. Use this operation for a tape gateway that is not reachable or not functioning. This operation is only supported in the tape gateway architectures. Once a gateway is disabled it cannot be enabled. - */ - disableGateway(params: StorageGateway.Types.DisableGatewayInput, callback?: (err: AWSError, data: StorageGateway.Types.DisableGatewayOutput) => void): Request; - /** - * Disables a tape gateway when the gateway is no longer functioning. For example, if your gateway VM is damaged, you can disable the gateway so you can recover virtual tapes. Use this operation for a tape gateway that is not reachable or not functioning. This operation is only supported in the tape gateway architectures. Once a gateway is disabled it cannot be enabled. - */ - disableGateway(callback?: (err: AWSError, data: StorageGateway.Types.DisableGatewayOutput) => void): Request; - /** - * Gets a list of the file shares for a specific file gateway, or the list of file shares that belong to the calling user account. This operation is only supported in the file gateway architecture. - */ - listFileShares(params: StorageGateway.Types.ListFileSharesInput, callback?: (err: AWSError, data: StorageGateway.Types.ListFileSharesOutput) => void): Request; - /** - * Gets a list of the file shares for a specific file gateway, or the list of file shares that belong to the calling user account. This operation is only supported in the file gateway architecture. - */ - listFileShares(callback?: (err: AWSError, data: StorageGateway.Types.ListFileSharesOutput) => void): Request; - /** - * Lists gateways owned by an AWS account in a region specified in the request. The returned list is ordered by gateway Amazon Resource Name (ARN). By default, the operation returns a maximum of 100 gateways. This operation supports pagination that allows you to optionally reduce the number of gateways returned in a response. If you have more gateways than are returned in a response (that is, the response returns only a truncated list of your gateways), the response contains a marker that you can specify in your next request to fetch the next page of gateways. - */ - listGateways(params: StorageGateway.Types.ListGatewaysInput, callback?: (err: AWSError, data: StorageGateway.Types.ListGatewaysOutput) => void): Request; - /** - * Lists gateways owned by an AWS account in a region specified in the request. The returned list is ordered by gateway Amazon Resource Name (ARN). By default, the operation returns a maximum of 100 gateways. This operation supports pagination that allows you to optionally reduce the number of gateways returned in a response. If you have more gateways than are returned in a response (that is, the response returns only a truncated list of your gateways), the response contains a marker that you can specify in your next request to fetch the next page of gateways. - */ - listGateways(callback?: (err: AWSError, data: StorageGateway.Types.ListGatewaysOutput) => void): Request; - /** - * Returns a list of the gateway's local disks. To specify which gateway to describe, you use the Amazon Resource Name (ARN) of the gateway in the body of the request. The request returns a list of all disks, specifying which are configured as working storage, cache storage, or stored volume or not configured at all. The response includes a DiskStatus field. This field can have a value of present (the disk is available to use), missing (the disk is no longer connected to the gateway), or mismatch (the disk node is occupied by a disk that has incorrect metadata or the disk content is corrupted). - */ - listLocalDisks(params: StorageGateway.Types.ListLocalDisksInput, callback?: (err: AWSError, data: StorageGateway.Types.ListLocalDisksOutput) => void): Request; - /** - * Returns a list of the gateway's local disks. To specify which gateway to describe, you use the Amazon Resource Name (ARN) of the gateway in the body of the request. The request returns a list of all disks, specifying which are configured as working storage, cache storage, or stored volume or not configured at all. The response includes a DiskStatus field. This field can have a value of present (the disk is available to use), missing (the disk is no longer connected to the gateway), or mismatch (the disk node is occupied by a disk that has incorrect metadata or the disk content is corrupted). - */ - listLocalDisks(callback?: (err: AWSError, data: StorageGateway.Types.ListLocalDisksOutput) => void): Request; - /** - * Lists the tags that have been added to the specified resource. This operation is only supported in the cached volume, stored volume and tape gateway architecture. - */ - listTagsForResource(params: StorageGateway.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: StorageGateway.Types.ListTagsForResourceOutput) => void): Request; - /** - * Lists the tags that have been added to the specified resource. This operation is only supported in the cached volume, stored volume and tape gateway architecture. - */ - listTagsForResource(callback?: (err: AWSError, data: StorageGateway.Types.ListTagsForResourceOutput) => void): Request; - /** - * Lists virtual tapes in your virtual tape library (VTL) and your virtual tape shelf (VTS). You specify the tapes to list by specifying one or more tape Amazon Resource Names (ARNs). If you don't specify a tape ARN, the operation lists all virtual tapes in both your VTL and VTS. This operation supports pagination. By default, the operation returns a maximum of up to 100 tapes. You can optionally specify the Limit parameter in the body to limit the number of tapes in the response. If the number of tapes returned in the response is truncated, the response includes a Marker element that you can use in your subsequent request to retrieve the next set of tapes. This operation is only supported in the tape gateway architecture. - */ - listTapes(params: StorageGateway.Types.ListTapesInput, callback?: (err: AWSError, data: StorageGateway.Types.ListTapesOutput) => void): Request; - /** - * Lists virtual tapes in your virtual tape library (VTL) and your virtual tape shelf (VTS). You specify the tapes to list by specifying one or more tape Amazon Resource Names (ARNs). If you don't specify a tape ARN, the operation lists all virtual tapes in both your VTL and VTS. This operation supports pagination. By default, the operation returns a maximum of up to 100 tapes. You can optionally specify the Limit parameter in the body to limit the number of tapes in the response. If the number of tapes returned in the response is truncated, the response includes a Marker element that you can use in your subsequent request to retrieve the next set of tapes. This operation is only supported in the tape gateway architecture. - */ - listTapes(callback?: (err: AWSError, data: StorageGateway.Types.ListTapesOutput) => void): Request; - /** - * Lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not. This operation is only supported in the cached volume and stored volume gateway architecture. - */ - listVolumeInitiators(params: StorageGateway.Types.ListVolumeInitiatorsInput, callback?: (err: AWSError, data: StorageGateway.Types.ListVolumeInitiatorsOutput) => void): Request; - /** - * Lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not. This operation is only supported in the cached volume and stored volume gateway architecture. - */ - listVolumeInitiators(callback?: (err: AWSError, data: StorageGateway.Types.ListVolumeInitiatorsOutput) => void): Request; - /** - * Lists the recovery points for a specified gateway. This operation is only supported in the cached volume gateway architecture. Each cache volume has one recovery point. A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot or clone a new cached volume from a source volume. To create a snapshot from a volume recovery point use the CreateSnapshotFromVolumeRecoveryPoint operation. - */ - listVolumeRecoveryPoints(params: StorageGateway.Types.ListVolumeRecoveryPointsInput, callback?: (err: AWSError, data: StorageGateway.Types.ListVolumeRecoveryPointsOutput) => void): Request; - /** - * Lists the recovery points for a specified gateway. This operation is only supported in the cached volume gateway architecture. Each cache volume has one recovery point. A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot or clone a new cached volume from a source volume. To create a snapshot from a volume recovery point use the CreateSnapshotFromVolumeRecoveryPoint operation. - */ - listVolumeRecoveryPoints(callback?: (err: AWSError, data: StorageGateway.Types.ListVolumeRecoveryPointsOutput) => void): Request; - /** - * Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The response includes only the volume ARNs. If you want additional volume information, use the DescribeStorediSCSIVolumes or the DescribeCachediSCSIVolumes API. The operation supports pagination. By default, the operation returns a maximum of up to 100 volumes. You can optionally specify the Limit field in the body to limit the number of volumes in the response. If the number of volumes returned in the response is truncated, the response includes a Marker field. You can use this Marker value in your subsequent request to retrieve the next set of volumes. This operation is only supported in the cached volume and stored volume gateway architectures. - */ - listVolumes(params: StorageGateway.Types.ListVolumesInput, callback?: (err: AWSError, data: StorageGateway.Types.ListVolumesOutput) => void): Request; - /** - * Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The response includes only the volume ARNs. If you want additional volume information, use the DescribeStorediSCSIVolumes or the DescribeCachediSCSIVolumes API. The operation supports pagination. By default, the operation returns a maximum of up to 100 volumes. You can optionally specify the Limit field in the body to limit the number of volumes in the response. If the number of volumes returned in the response is truncated, the response includes a Marker field. You can use this Marker value in your subsequent request to retrieve the next set of volumes. This operation is only supported in the cached volume and stored volume gateway architectures. - */ - listVolumes(callback?: (err: AWSError, data: StorageGateway.Types.ListVolumesOutput) => void): Request; - /** - * Refreshes the cache for the specified file share. This operation finds objects in the Amazon S3 bucket that were added or removed since the gateway last listed the bucket's contents and cached the results. - */ - refreshCache(params: StorageGateway.Types.RefreshCacheInput, callback?: (err: AWSError, data: StorageGateway.Types.RefreshCacheOutput) => void): Request; - /** - * Refreshes the cache for the specified file share. This operation finds objects in the Amazon S3 bucket that were added or removed since the gateway last listed the bucket's contents and cached the results. - */ - refreshCache(callback?: (err: AWSError, data: StorageGateway.Types.RefreshCacheOutput) => void): Request; - /** - * Removes one or more tags from the specified resource. This operation is only supported in the cached volume, stored volume and tape gateway architectures. - */ - removeTagsFromResource(params: StorageGateway.Types.RemoveTagsFromResourceInput, callback?: (err: AWSError, data: StorageGateway.Types.RemoveTagsFromResourceOutput) => void): Request; - /** - * Removes one or more tags from the specified resource. This operation is only supported in the cached volume, stored volume and tape gateway architectures. - */ - removeTagsFromResource(callback?: (err: AWSError, data: StorageGateway.Types.RemoveTagsFromResourceOutput) => void): Request; - /** - * Resets all cache disks that have encountered a error and makes the disks available for reconfiguration as cache storage. If your cache disk encounters a error, the gateway prevents read and write operations on virtual tapes in the gateway. For example, an error can occur when a disk is corrupted or removed from the gateway. When a cache is reset, the gateway loses its cache storage. At this point you can reconfigure the disks as cache disks. This operation is only supported in the cached volume,tape and file gateway architectures. If the cache disk you are resetting contains data that has not been uploaded to Amazon S3 yet, that data can be lost. After you reset cache disks, there will be no configured cache disks left in the gateway, so you must configure at least one new cache disk for your gateway to function properly. - */ - resetCache(params: StorageGateway.Types.ResetCacheInput, callback?: (err: AWSError, data: StorageGateway.Types.ResetCacheOutput) => void): Request; - /** - * Resets all cache disks that have encountered a error and makes the disks available for reconfiguration as cache storage. If your cache disk encounters a error, the gateway prevents read and write operations on virtual tapes in the gateway. For example, an error can occur when a disk is corrupted or removed from the gateway. When a cache is reset, the gateway loses its cache storage. At this point you can reconfigure the disks as cache disks. This operation is only supported in the cached volume,tape and file gateway architectures. If the cache disk you are resetting contains data that has not been uploaded to Amazon S3 yet, that data can be lost. After you reset cache disks, there will be no configured cache disks left in the gateway, so you must configure at least one new cache disk for your gateway to function properly. - */ - resetCache(callback?: (err: AWSError, data: StorageGateway.Types.ResetCacheOutput) => void): Request; - /** - * Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a tape gateway. Virtual tapes archived in the VTS are not associated with any gateway. However after a tape is retrieved, it is associated with a gateway, even though it is also listed in the VTS, that is, archive. This operation is only supported in the tape gateway architecture. Once a tape is successfully retrieved to a gateway, it cannot be retrieved again to another gateway. You must archive the tape again before you can retrieve it to another gateway. This operation is only supported in the tape gateway architecture. - */ - retrieveTapeArchive(params: StorageGateway.Types.RetrieveTapeArchiveInput, callback?: (err: AWSError, data: StorageGateway.Types.RetrieveTapeArchiveOutput) => void): Request; - /** - * Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a tape gateway. Virtual tapes archived in the VTS are not associated with any gateway. However after a tape is retrieved, it is associated with a gateway, even though it is also listed in the VTS, that is, archive. This operation is only supported in the tape gateway architecture. Once a tape is successfully retrieved to a gateway, it cannot be retrieved again to another gateway. You must archive the tape again before you can retrieve it to another gateway. This operation is only supported in the tape gateway architecture. - */ - retrieveTapeArchive(callback?: (err: AWSError, data: StorageGateway.Types.RetrieveTapeArchiveOutput) => void): Request; - /** - * Retrieves the recovery point for the specified virtual tape. This operation is only supported in the tape gateway architecture. A recovery point is a point in time view of a virtual tape at which all the data on the tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway. The virtual tape can be retrieved to only one gateway. The retrieved tape is read-only. The virtual tape can be retrieved to only a tape gateway. There is no charge for retrieving recovery points. - */ - retrieveTapeRecoveryPoint(params: StorageGateway.Types.RetrieveTapeRecoveryPointInput, callback?: (err: AWSError, data: StorageGateway.Types.RetrieveTapeRecoveryPointOutput) => void): Request; - /** - * Retrieves the recovery point for the specified virtual tape. This operation is only supported in the tape gateway architecture. A recovery point is a point in time view of a virtual tape at which all the data on the tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway. The virtual tape can be retrieved to only one gateway. The retrieved tape is read-only. The virtual tape can be retrieved to only a tape gateway. There is no charge for retrieving recovery points. - */ - retrieveTapeRecoveryPoint(callback?: (err: AWSError, data: StorageGateway.Types.RetrieveTapeRecoveryPointOutput) => void): Request; - /** - * Sets the password for your VM local console. When you log in to the local console for the first time, you log in to the VM with the default credentials. We recommend that you set a new password. You don't need to know the default password to set a new password. - */ - setLocalConsolePassword(params: StorageGateway.Types.SetLocalConsolePasswordInput, callback?: (err: AWSError, data: StorageGateway.Types.SetLocalConsolePasswordOutput) => void): Request; - /** - * Sets the password for your VM local console. When you log in to the local console for the first time, you log in to the VM with the default credentials. We recommend that you set a new password. You don't need to know the default password to set a new password. - */ - setLocalConsolePassword(callback?: (err: AWSError, data: StorageGateway.Types.SetLocalConsolePasswordOutput) => void): Request; - /** - * Shuts down a gateway. To specify which gateway to shut down, use the Amazon Resource Name (ARN) of the gateway in the body of your request. The operation shuts down the gateway service component running in the gateway's virtual machine (VM) and not the host VM. If you want to shut down the VM, it is recommended that you first shut down the gateway component in the VM to avoid unpredictable conditions. After the gateway is shutdown, you cannot call any other API except StartGateway, DescribeGatewayInformation, and ListGateways. For more information, see ActivateGateway. Your applications cannot read from or write to the gateway's storage volumes, and there are no snapshots taken. When you make a shutdown request, you will get a 200 OK success response immediately. However, it might take some time for the gateway to shut down. You can call the DescribeGatewayInformation API to check the status. For more information, see ActivateGateway. If do not intend to use the gateway again, you must delete the gateway (using DeleteGateway) to no longer pay software charges associated with the gateway. - */ - shutdownGateway(params: StorageGateway.Types.ShutdownGatewayInput, callback?: (err: AWSError, data: StorageGateway.Types.ShutdownGatewayOutput) => void): Request; - /** - * Shuts down a gateway. To specify which gateway to shut down, use the Amazon Resource Name (ARN) of the gateway in the body of your request. The operation shuts down the gateway service component running in the gateway's virtual machine (VM) and not the host VM. If you want to shut down the VM, it is recommended that you first shut down the gateway component in the VM to avoid unpredictable conditions. After the gateway is shutdown, you cannot call any other API except StartGateway, DescribeGatewayInformation, and ListGateways. For more information, see ActivateGateway. Your applications cannot read from or write to the gateway's storage volumes, and there are no snapshots taken. When you make a shutdown request, you will get a 200 OK success response immediately. However, it might take some time for the gateway to shut down. You can call the DescribeGatewayInformation API to check the status. For more information, see ActivateGateway. If do not intend to use the gateway again, you must delete the gateway (using DeleteGateway) to no longer pay software charges associated with the gateway. - */ - shutdownGateway(callback?: (err: AWSError, data: StorageGateway.Types.ShutdownGatewayOutput) => void): Request; - /** - * Starts a gateway that you previously shut down (see ShutdownGateway). After the gateway starts, you can then make other API calls, your applications can read from or write to the gateway's storage volumes and you will be able to take snapshot backups. When you make a request, you will get a 200 OK success response immediately. However, it might take some time for the gateway to be ready. You should call DescribeGatewayInformation and check the status before making any additional API calls. For more information, see ActivateGateway. To specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in your request. - */ - startGateway(params: StorageGateway.Types.StartGatewayInput, callback?: (err: AWSError, data: StorageGateway.Types.StartGatewayOutput) => void): Request; - /** - * Starts a gateway that you previously shut down (see ShutdownGateway). After the gateway starts, you can then make other API calls, your applications can read from or write to the gateway's storage volumes and you will be able to take snapshot backups. When you make a request, you will get a 200 OK success response immediately. However, it might take some time for the gateway to be ready. You should call DescribeGatewayInformation and check the status before making any additional API calls. For more information, see ActivateGateway. To specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in your request. - */ - startGateway(callback?: (err: AWSError, data: StorageGateway.Types.StartGatewayOutput) => void): Request; - /** - * Updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don't set a bandwidth rate limit, the existing rate limit remains. By default, a gateway's bandwidth rate limits are not set. If you don't set any limit, the gateway does not have any limitations on its bandwidth usage and could potentially use the maximum available bandwidth. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request. - */ - updateBandwidthRateLimit(params: StorageGateway.Types.UpdateBandwidthRateLimitInput, callback?: (err: AWSError, data: StorageGateway.Types.UpdateBandwidthRateLimitOutput) => void): Request; - /** - * Updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don't set a bandwidth rate limit, the existing rate limit remains. By default, a gateway's bandwidth rate limits are not set. If you don't set any limit, the gateway does not have any limitations on its bandwidth usage and could potentially use the maximum available bandwidth. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request. - */ - updateBandwidthRateLimit(callback?: (err: AWSError, data: StorageGateway.Types.UpdateBandwidthRateLimitOutput) => void): Request; - /** - * Updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for added security, you might use it. When you update CHAP credentials, all existing connections on the target are closed and initiators must reconnect with the new credentials. - */ - updateChapCredentials(params: StorageGateway.Types.UpdateChapCredentialsInput, callback?: (err: AWSError, data: StorageGateway.Types.UpdateChapCredentialsOutput) => void): Request; - /** - * Updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for added security, you might use it. When you update CHAP credentials, all existing connections on the target are closed and initiators must reconnect with the new credentials. - */ - updateChapCredentials(callback?: (err: AWSError, data: StorageGateway.Types.UpdateChapCredentialsOutput) => void): Request; - /** - * Updates a gateway's metadata, which includes the gateway's name and time zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request. For Gateways activated after September 2, 2015, the gateway's ARN contains the gateway ID rather than the gateway name. However, changing the name of the gateway has no effect on the gateway's ARN. - */ - updateGatewayInformation(params: StorageGateway.Types.UpdateGatewayInformationInput, callback?: (err: AWSError, data: StorageGateway.Types.UpdateGatewayInformationOutput) => void): Request; - /** - * Updates a gateway's metadata, which includes the gateway's name and time zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request. For Gateways activated after September 2, 2015, the gateway's ARN contains the gateway ID rather than the gateway name. However, changing the name of the gateway has no effect on the gateway's ARN. - */ - updateGatewayInformation(callback?: (err: AWSError, data: StorageGateway.Types.UpdateGatewayInformationOutput) => void): Request; - /** - * Updates the gateway virtual machine (VM) software. The request immediately triggers the software update. When you make this request, you get a 200 OK success response immediately. However, it might take some time for the update to complete. You can call DescribeGatewayInformation to verify the gateway is in the STATE_RUNNING state. A software update forces a system restart of your gateway. You can minimize the chance of any disruption to your applications by increasing your iSCSI Initiators' timeouts. For more information about increasing iSCSI Initiator timeouts for Windows and Linux, see Customizing Your Windows iSCSI Settings and Customizing Your Linux iSCSI Settings, respectively. - */ - updateGatewaySoftwareNow(params: StorageGateway.Types.UpdateGatewaySoftwareNowInput, callback?: (err: AWSError, data: StorageGateway.Types.UpdateGatewaySoftwareNowOutput) => void): Request; - /** - * Updates the gateway virtual machine (VM) software. The request immediately triggers the software update. When you make this request, you get a 200 OK success response immediately. However, it might take some time for the update to complete. You can call DescribeGatewayInformation to verify the gateway is in the STATE_RUNNING state. A software update forces a system restart of your gateway. You can minimize the chance of any disruption to your applications by increasing your iSCSI Initiators' timeouts. For more information about increasing iSCSI Initiator timeouts for Windows and Linux, see Customizing Your Windows iSCSI Settings and Customizing Your Linux iSCSI Settings, respectively. - */ - updateGatewaySoftwareNow(callback?: (err: AWSError, data: StorageGateway.Types.UpdateGatewaySoftwareNowOutput) => void): Request; - /** - * Updates a gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. - */ - updateMaintenanceStartTime(params: StorageGateway.Types.UpdateMaintenanceStartTimeInput, callback?: (err: AWSError, data: StorageGateway.Types.UpdateMaintenanceStartTimeOutput) => void): Request; - /** - * Updates a gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. - */ - updateMaintenanceStartTime(callback?: (err: AWSError, data: StorageGateway.Types.UpdateMaintenanceStartTimeOutput) => void): Request; - /** - * Updates a file share. This operation is only supported in the file gateway architecture. To leave a file share field unchanged, set the corresponding input field to null. Updates the following file share setting: Default storage class for your S3 bucket Metadata defaults for your S3 bucket Allowed NFS clients for your file share Squash settings Write status of your file share To leave a file share field unchanged, set the corresponding input field to null. This operation is only supported in file gateways. - */ - updateNFSFileShare(params: StorageGateway.Types.UpdateNFSFileShareInput, callback?: (err: AWSError, data: StorageGateway.Types.UpdateNFSFileShareOutput) => void): Request; - /** - * Updates a file share. This operation is only supported in the file gateway architecture. To leave a file share field unchanged, set the corresponding input field to null. Updates the following file share setting: Default storage class for your S3 bucket Metadata defaults for your S3 bucket Allowed NFS clients for your file share Squash settings Write status of your file share To leave a file share field unchanged, set the corresponding input field to null. This operation is only supported in file gateways. - */ - updateNFSFileShare(callback?: (err: AWSError, data: StorageGateway.Types.UpdateNFSFileShareOutput) => void): Request; - /** - * Updates a snapshot schedule configured for a gateway volume. This operation is only supported in the cached volume and stored volume gateway architectures. The default snapshot schedule for volume is once every 24 hours, starting at the creation time of the volume. You can use this API to change the snapshot schedule configured for the volume. In the request you must identify the gateway volume whose snapshot schedule you want to update, and the schedule information, including when you want the snapshot to begin on a day and the frequency (in hours) of snapshots. - */ - updateSnapshotSchedule(params: StorageGateway.Types.UpdateSnapshotScheduleInput, callback?: (err: AWSError, data: StorageGateway.Types.UpdateSnapshotScheduleOutput) => void): Request; - /** - * Updates a snapshot schedule configured for a gateway volume. This operation is only supported in the cached volume and stored volume gateway architectures. The default snapshot schedule for volume is once every 24 hours, starting at the creation time of the volume. You can use this API to change the snapshot schedule configured for the volume. In the request you must identify the gateway volume whose snapshot schedule you want to update, and the schedule information, including when you want the snapshot to begin on a day and the frequency (in hours) of snapshots. - */ - updateSnapshotSchedule(callback?: (err: AWSError, data: StorageGateway.Types.UpdateSnapshotScheduleOutput) => void): Request; - /** - * Updates the type of medium changer in a tape gateway. When you activate a tape gateway, you select a medium changer type for the tape gateway. This operation enables you to select a different type of medium changer after a tape gateway is activated. This operation is only supported in the tape gateway architecture. - */ - updateVTLDeviceType(params: StorageGateway.Types.UpdateVTLDeviceTypeInput, callback?: (err: AWSError, data: StorageGateway.Types.UpdateVTLDeviceTypeOutput) => void): Request; - /** - * Updates the type of medium changer in a tape gateway. When you activate a tape gateway, you select a medium changer type for the tape gateway. This operation enables you to select a different type of medium changer after a tape gateway is activated. This operation is only supported in the tape gateway architecture. - */ - updateVTLDeviceType(callback?: (err: AWSError, data: StorageGateway.Types.UpdateVTLDeviceTypeOutput) => void): Request; -} -declare namespace StorageGateway { - export interface ActivateGatewayInput { - /** - * Your gateway activation key. You can obtain the activation key by sending an HTTP GET request with redirects enabled to the gateway IP address (port 80). The redirect URL returned in the response provides you the activation key for your gateway in the query string parameter activationKey. It may also include other activation-related parameters, however, these are merely defaults -- the arguments you pass to the ActivateGateway API call determine the actual configuration of your gateway. - */ - ActivationKey: ActivationKey; - /** - * The name you configured for your gateway. - */ - GatewayName: GatewayName; - /** - * A value that indicates the time zone you want to set for the gateway. The time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. - */ - GatewayTimezone: GatewayTimezone; - /** - * A value that indicates the region where you want to store your data. The gateway region specified must be the same region as the region in your Host header in the request. For more information about available regions and endpoints for AWS Storage Gateway, see Regions and Endpoints in the Amazon Web Services Glossary. Valid Values: "us-east-1", "us-east-2", "us-west-1", "us-west-2", "ca-central-1", "eu-west-1", "eu-central-1", "eu-west-2", "ap-northeast-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-south-1", "sa-east-1" - */ - GatewayRegion: RegionId; - /** - * A value that defines the type of gateway to activate. The type specified is critical to all later functions of the gateway and cannot be changed after activation. The default value is STORED. Valid Values: "STORED", "CACHED", "VTL", "FILE_S3" - */ - GatewayType?: GatewayType; - /** - * The value that indicates the type of tape drive to use for tape gateway. This field is optional. Valid Values: "IBM-ULT3580-TD5" - */ - TapeDriveType?: TapeDriveType; - /** - * The value that indicates the type of medium changer to use for tape gateway. This field is optional. Valid Values: "STK-L700", "AWS-Gateway-VTL" - */ - MediumChangerType?: MediumChangerType; - } - export interface ActivateGatewayOutput { - GatewayARN?: GatewayARN; - } - export type ActivationKey = string; - export interface AddCacheInput { - GatewayARN: GatewayARN; - DiskIds: DiskIds; - } - export interface AddCacheOutput { - GatewayARN?: GatewayARN; - } - export interface AddTagsToResourceInput { - /** - * The Amazon Resource Name (ARN) of the resource you want to add tags to. - */ - ResourceARN: ResourceARN; - /** - * The key-value pair that represents the tag you want to add to the resource. The value can be an empty string. Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. - */ - Tags: Tags; - } - export interface AddTagsToResourceOutput { - /** - * The Amazon Resource Name (ARN) of the resource you want to add tags to. - */ - ResourceARN?: ResourceARN; - } - export interface AddUploadBufferInput { - GatewayARN: GatewayARN; - DiskIds: DiskIds; - } - export interface AddUploadBufferOutput { - GatewayARN?: GatewayARN; - } - export interface AddWorkingStorageInput { - GatewayARN: GatewayARN; - /** - * An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API. - */ - DiskIds: DiskIds; - } - export interface AddWorkingStorageOutput { - GatewayARN?: GatewayARN; - } - export type BandwidthDownloadRateLimit = number; - export type BandwidthType = string; - export type BandwidthUploadRateLimit = number; - export type Boolean = boolean; - export interface CachediSCSIVolume { - /** - * The Amazon Resource Name (ARN) of the storage volume. - */ - VolumeARN?: VolumeARN; - /** - * The unique identifier of the volume, e.g. vol-AE4B946D. - */ - VolumeId?: VolumeId; - /** - * One of the VolumeType enumeration values that describes the type of the volume. - */ - VolumeType?: VolumeType; - /** - * One of the VolumeStatus values that indicates the state of the storage volume. - */ - VolumeStatus?: VolumeStatus; - /** - * The size of the volume in bytes. - */ - VolumeSizeInBytes?: long; - /** - * Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the cached volume is not restoring or bootstrapping. - */ - VolumeProgress?: DoubleObject; - /** - * If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included. - */ - SourceSnapshotId?: SnapshotId; - /** - * An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume. - */ - VolumeiSCSIAttributes?: VolumeiSCSIAttributes; - /** - * The date the volume was created. Volumes created prior to March 28, 2017 don’t have this time stamp. - */ - CreatedDate?: CreatedDate; - } - export type CachediSCSIVolumes = CachediSCSIVolume[]; - export interface CancelArchivalInput { - GatewayARN: GatewayARN; - /** - * The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving for. - */ - TapeARN: TapeARN; - } - export interface CancelArchivalOutput { - /** - * The Amazon Resource Name (ARN) of the virtual tape for which archiving was canceled. - */ - TapeARN?: TapeARN; - } - export interface CancelRetrievalInput { - GatewayARN: GatewayARN; - /** - * The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for. - */ - TapeARN: TapeARN; - } - export interface CancelRetrievalOutput { - /** - * The Amazon Resource Name (ARN) of the virtual tape for which retrieval was canceled. - */ - TapeARN?: TapeARN; - } - export type ChapCredentials = ChapInfo[]; - export interface ChapInfo { - /** - * The Amazon Resource Name (ARN) of the volume. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). - */ - TargetARN?: TargetARN; - /** - * The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target. - */ - SecretToAuthenticateInitiator?: ChapSecret; - /** - * The iSCSI initiator that connects to the target. - */ - InitiatorName?: IqnName; - /** - * The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client). - */ - SecretToAuthenticateTarget?: ChapSecret; - } - export type ChapSecret = string; - export type ClientToken = string; - export interface CreateCachediSCSIVolumeInput { - GatewayARN: GatewayARN; - VolumeSizeInBytes: long; - SnapshotId?: SnapshotId; - TargetName: TargetName; - /** - * The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified existing volume's latest recovery point. The VolumeSizeInBytes value for this new volume must be equal to or larger than the size of the existing volume, in bytes. - */ - SourceVolumeARN?: VolumeARN; - NetworkInterfaceId: NetworkInterfaceId; - ClientToken: ClientToken; - } - export interface CreateCachediSCSIVolumeOutput { - VolumeARN?: VolumeARN; - TargetARN?: TargetARN; - } - export interface CreateNFSFileShareInput { - /** - * A unique string value that you supply that is used by file gateway to ensure idempotent file share creation. - */ - ClientToken: ClientToken; - /** - * File share default values. Optional. - */ - NFSFileShareDefaults?: NFSFileShareDefaults; - /** - * The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share. - */ - GatewayARN: GatewayARN; - /** - * True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional. - */ - KMSEncrypted?: Boolean; - /** - * The KMS key used for Amazon S3 server side encryption. This value can only be set when KmsEncrypted is true. Optional. - */ - KMSKey?: KMSKey; - /** - * The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage. - */ - Role: Role; - /** - * The ARN of the backed storage used for storing file data. - */ - LocationARN: LocationARN; - /** - * The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional. - */ - DefaultStorageClass?: StorageClass; - /** - * The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. - */ - ClientList?: FileShareClientList; - /** - * Maps a user to anonymous user. Valid options are the following: "RootSquash" - Only root is mapped to anonymous user. "NoSquash" - No one is mapped to anonymous user. "AllSquash" - Everyone is mapped to anonymous user. - */ - Squash?: Squash; - /** - * Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false". - */ - ReadOnly?: Boolean; - } - export interface CreateNFSFileShareOutput { - /** - * The Amazon Resource Name (ARN) of the newly created file share. - */ - FileShareARN?: FileShareARN; - } - export interface CreateSnapshotFromVolumeRecoveryPointInput { - VolumeARN: VolumeARN; - SnapshotDescription: SnapshotDescription; - } - export interface CreateSnapshotFromVolumeRecoveryPointOutput { - SnapshotId?: SnapshotId; - VolumeARN?: VolumeARN; - VolumeRecoveryPointTime?: string; - } - export interface CreateSnapshotInput { - /** - * The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes. - */ - VolumeARN: VolumeARN; - /** - * Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field - */ - SnapshotDescription: SnapshotDescription; - } - export interface CreateSnapshotOutput { - /** - * The Amazon Resource Name (ARN) of the volume of which the snapshot was taken. - */ - VolumeARN?: VolumeARN; - /** - * The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API DescribeSnapshots) or creating a volume from a snapshot (CreateStorediSCSIVolume). - */ - SnapshotId?: SnapshotId; - } - export interface CreateStorediSCSIVolumeInput { - GatewayARN: GatewayARN; - /** - * The unique identifier for the gateway local disk that is configured as a stored volume. Use ListLocalDisks to list disk IDs for a gateway. - */ - DiskId: DiskId; - /** - * The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new stored volume. Specify this field if you want to create the iSCSI storage volume from a snapshot otherwise do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference. - */ - SnapshotId?: SnapshotId; - /** - * Specify this field as true if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume. Valid Values: true, false - */ - PreserveExistingData: boolean; - /** - * The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. For example, specifying TargetName as myvolume results in the target ARN of arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway. - */ - TargetName: TargetName; - /** - * The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use DescribeGatewayInformation to get a list of the network interfaces available on a gateway. Valid Values: A valid IP address. - */ - NetworkInterfaceId: NetworkInterfaceId; - } - export interface CreateStorediSCSIVolumeOutput { - /** - * The Amazon Resource Name (ARN) of the configured volume. - */ - VolumeARN?: VolumeARN; - /** - * The size of the volume in bytes. - */ - VolumeSizeInBytes?: long; - /** - * he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target. - */ - TargetARN?: TargetARN; - } - export interface CreateTapeWithBarcodeInput { - /** - * The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with. Use the ListGateways operation to return a list of gateways for your account and region. - */ - GatewayARN: GatewayARN; - /** - * The size, in bytes, of the virtual tape that you want to create. The size must be aligned by gigabyte (1024*1024*1024 byte). - */ - TapeSizeInBytes: TapeSize; - /** - * The barcode that you want to assign to the tape. - */ - TapeBarcode: TapeBarcode; - } - export interface CreateTapeWithBarcodeOutput { - /** - * A unique Amazon Resource Name (ARN) that represents the virtual tape that was created. - */ - TapeARN?: TapeARN; - } - export interface CreateTapesInput { - /** - * The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use the ListGateways operation to return a list of gateways for your account and region. - */ - GatewayARN: GatewayARN; - /** - * The size, in bytes, of the virtual tapes that you want to create. The size must be aligned by gigabyte (1024*1024*1024 byte). - */ - TapeSizeInBytes: TapeSize; - /** - * A unique identifier that you use to retry a request. If you retry a request, use the same ClientToken you specified in the initial request. Using the same ClientToken prevents creating the tape multiple times. - */ - ClientToken: ClientToken; - /** - * The number of virtual tapes that you want to create. - */ - NumTapesToCreate: NumTapesToCreate; - /** - * A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the barcode unique. The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z. - */ - TapeBarcodePrefix: TapeBarcodePrefix; - } - export interface CreateTapesOutput { - /** - * A list of unique Amazon Resource Names (ARNs) that represents the virtual tapes that were created. - */ - TapeARNs?: TapeARNs; - } - export type CreatedDate = Date; - export type DayOfWeek = number; - export interface DeleteBandwidthRateLimitInput { - GatewayARN: GatewayARN; - /** - * One of the BandwidthType values that indicates the gateway bandwidth rate limit to delete. Valid Values: Upload, Download, All. - */ - BandwidthType: BandwidthType; - } - export interface DeleteBandwidthRateLimitOutput { - GatewayARN?: GatewayARN; - } - export interface DeleteChapCredentialsInput { - /** - * The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN. - */ - TargetARN: TargetARN; - /** - * The iSCSI initiator that connects to the target. - */ - InitiatorName: IqnName; - } - export interface DeleteChapCredentialsOutput { - /** - * The Amazon Resource Name (ARN) of the target. - */ - TargetARN?: TargetARN; - /** - * The iSCSI initiator that connects to the target. - */ - InitiatorName?: IqnName; - } - export interface DeleteFileShareInput { - /** - * The Amazon Resource Name (ARN) of the file share to be deleted. - */ - FileShareARN: FileShareARN; - } - export interface DeleteFileShareOutput { - /** - * The Amazon Resource Name (ARN) of the deleted file share. - */ - FileShareARN?: FileShareARN; - } - export interface DeleteGatewayInput { - GatewayARN: GatewayARN; - } - export interface DeleteGatewayOutput { - GatewayARN?: GatewayARN; - } - export interface DeleteSnapshotScheduleInput { - VolumeARN: VolumeARN; - } - export interface DeleteSnapshotScheduleOutput { - VolumeARN?: VolumeARN; - } - export interface DeleteTapeArchiveInput { - /** - * The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS). - */ - TapeARN: TapeARN; - } - export interface DeleteTapeArchiveOutput { - /** - * The Amazon Resource Name (ARN) of the virtual tape that was deleted from the virtual tape shelf (VTS). - */ - TapeARN?: TapeARN; - } - export interface DeleteTapeInput { - /** - * The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and region. - */ - GatewayARN: GatewayARN; - /** - * The Amazon Resource Name (ARN) of the virtual tape to delete. - */ - TapeARN: TapeARN; - } - export interface DeleteTapeOutput { - /** - * The Amazon Resource Name (ARN) of the deleted virtual tape. - */ - TapeARN?: TapeARN; - } - export interface DeleteVolumeInput { - /** - * The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes. - */ - VolumeARN: VolumeARN; - } - export interface DeleteVolumeOutput { - /** - * The Amazon Resource Name (ARN) of the storage volume that was deleted. It is the same ARN you provided in the request. - */ - VolumeARN?: VolumeARN; - } - export interface DescribeBandwidthRateLimitInput { - GatewayARN: GatewayARN; - } - export interface DescribeBandwidthRateLimitOutput { - GatewayARN?: GatewayARN; - /** - * The average upload bandwidth rate limit in bits per second. This field does not appear in the response if the upload rate limit is not set. - */ - AverageUploadRateLimitInBitsPerSec?: BandwidthUploadRateLimit; - /** - * The average download bandwidth rate limit in bits per second. This field does not appear in the response if the download rate limit is not set. - */ - AverageDownloadRateLimitInBitsPerSec?: BandwidthDownloadRateLimit; - } - export interface DescribeCacheInput { - GatewayARN: GatewayARN; - } - export interface DescribeCacheOutput { - GatewayARN?: GatewayARN; - DiskIds?: DiskIds; - CacheAllocatedInBytes?: long; - CacheUsedPercentage?: double; - CacheDirtyPercentage?: double; - CacheHitPercentage?: double; - CacheMissPercentage?: double; - } - export interface DescribeCachediSCSIVolumesInput { - VolumeARNs: VolumeARNs; - } - export interface DescribeCachediSCSIVolumesOutput { - /** - * An array of objects where each object contains metadata about one cached volume. - */ - CachediSCSIVolumes?: CachediSCSIVolumes; - } - export interface DescribeChapCredentialsInput { - /** - * The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN. - */ - TargetARN: TargetARN; - } - export interface DescribeChapCredentialsOutput { - /** - * An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields: InitiatorName: The iSCSI initiator that connects to the target. SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target. SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client). TargetARN: The Amazon Resource Name (ARN) of the storage volume. - */ - ChapCredentials?: ChapCredentials; - } - export interface DescribeGatewayInformationInput { - GatewayARN: GatewayARN; - } - export interface DescribeGatewayInformationOutput { - GatewayARN?: GatewayARN; - /** - * The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations. - */ - GatewayId?: GatewayId; - /** - * The name you configured for your gateway. - */ - GatewayName?: string; - /** - * A value that indicates the time zone configured for the gateway. - */ - GatewayTimezone?: GatewayTimezone; - /** - * A value that indicates the operating state of the gateway. - */ - GatewayState?: GatewayState; - /** - * A NetworkInterface array that contains descriptions of the gateway network interfaces. - */ - GatewayNetworkInterfaces?: GatewayNetworkInterfaces; - /** - * The type of the gateway. - */ - GatewayType?: GatewayType; - /** - * The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response. - */ - NextUpdateAvailabilityDate?: NextUpdateAvailabilityDate; - /** - * The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response. - */ - LastSoftwareUpdate?: LastSoftwareUpdate; - } - export interface DescribeMaintenanceStartTimeInput { - GatewayARN: GatewayARN; - } - export interface DescribeMaintenanceStartTimeOutput { - GatewayARN?: GatewayARN; - /** - * The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway. - */ - HourOfDay?: HourOfDay; - /** - * The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway. - */ - MinuteOfHour?: MinuteOfHour; - /** - * An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway. - */ - DayOfWeek?: DayOfWeek; - Timezone?: GatewayTimezone; - } - export interface DescribeNFSFileSharesInput { - /** - * An array containing the Amazon Resource Name (ARN) of each file share to be described. - */ - FileShareARNList: FileShareARNList; - } - export interface DescribeNFSFileSharesOutput { - /** - * An array containing a description for each requested file share. - */ - NFSFileShareInfoList?: NFSFileShareInfoList; - } - export interface DescribeSnapshotScheduleInput { - /** - * The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes. - */ - VolumeARN: VolumeARN; - } - export interface DescribeSnapshotScheduleOutput { - VolumeARN?: VolumeARN; - StartAt?: HourOfDay; - RecurrenceInHours?: RecurrenceInHours; - Description?: Description; - Timezone?: GatewayTimezone; - } - export interface DescribeStorediSCSIVolumesInput { - /** - * An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway. - */ - VolumeARNs: VolumeARNs; - } - export interface DescribeStorediSCSIVolumesOutput { - StorediSCSIVolumes?: StorediSCSIVolumes; - } - export interface DescribeTapeArchivesInput { - /** - * Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. - */ - TapeARNs?: TapeARNs; - /** - * An opaque string that indicates the position at which to begin describing virtual tapes. - */ - Marker?: Marker; - /** - * Specifies that the number of virtual tapes descried be limited to the specified number. - */ - Limit?: PositiveIntObject; - } - export interface DescribeTapeArchivesOutput { - /** - * An array of virtual tape objects in the virtual tape shelf (VTS). The description includes of the Amazon Resource Name(ARN) of the virtual tapes. The information returned includes the Amazon Resource Names (ARNs) of the tapes, size of the tapes, status of the tapes, progress of the description and tape barcode. - */ - TapeArchives?: TapeArchives; - /** - * An opaque string that indicates the position at which the virtual tapes that were fetched for description ended. Use this marker in your next request to fetch the next set of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to describe, this field does not appear in the response. - */ - Marker?: Marker; - } - export interface DescribeTapeRecoveryPointsInput { - GatewayARN: GatewayARN; - /** - * An opaque string that indicates the position at which to begin describing the virtual tape recovery points. - */ - Marker?: Marker; - /** - * Specifies that the number of virtual tape recovery points that are described be limited to the specified number. - */ - Limit?: PositiveIntObject; - } - export interface DescribeTapeRecoveryPointsOutput { - GatewayARN?: GatewayARN; - /** - * An array of TapeRecoveryPointInfos that are available for the specified gateway. - */ - TapeRecoveryPointInfos?: TapeRecoveryPointInfos; - /** - * An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended. Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response. - */ - Marker?: Marker; - } - export interface DescribeTapesInput { - GatewayARN: GatewayARN; - /** - * Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, Tape gateway returns a description of all virtual tapes associated with the specified gateway. - */ - TapeARNs?: TapeARNs; - /** - * A marker value, obtained in a previous call to DescribeTapes. This marker indicates which page of results to retrieve. If not specified, the first page of results is retrieved. - */ - Marker?: Marker; - /** - * Specifies that the number of virtual tapes described be limited to the specified number. Amazon Web Services may impose its own limit, if this field is not set. - */ - Limit?: PositiveIntObject; - } - export interface DescribeTapesOutput { - /** - * An array of virtual tape descriptions. - */ - Tapes?: Tapes; - /** - * An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results. If a response does not contain a marker, then there are no more results to be retrieved. - */ - Marker?: Marker; - } - export interface DescribeUploadBufferInput { - GatewayARN: GatewayARN; - } - export interface DescribeUploadBufferOutput { - GatewayARN?: GatewayARN; - DiskIds?: DiskIds; - UploadBufferUsedInBytes?: long; - UploadBufferAllocatedInBytes?: long; - } - export interface DescribeVTLDevicesInput { - GatewayARN: GatewayARN; - /** - * An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device. All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway. - */ - VTLDeviceARNs?: VTLDeviceARNs; - /** - * An opaque string that indicates the position at which to begin describing the VTL devices. - */ - Marker?: Marker; - /** - * Specifies that the number of VTL devices described be limited to the specified number. - */ - Limit?: PositiveIntObject; - } - export interface DescribeVTLDevicesOutput { - GatewayARN?: GatewayARN; - /** - * An array of VTL device objects composed of the Amazon Resource Name(ARN) of the VTL devices. - */ - VTLDevices?: VTLDevices; - /** - * An opaque string that indicates the position at which the VTL devices that were fetched for description ended. Use the marker in your next request to fetch the next set of VTL devices in the list. If there are no more VTL devices to describe, this field does not appear in the response. - */ - Marker?: Marker; - } - export interface DescribeWorkingStorageInput { - GatewayARN: GatewayARN; - } - export interface DescribeWorkingStorageOutput { - GatewayARN?: GatewayARN; - /** - * An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty. - */ - DiskIds?: DiskIds; - /** - * The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0. - */ - WorkingStorageUsedInBytes?: long; - /** - * The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0. - */ - WorkingStorageAllocatedInBytes?: long; - } - export type Description = string; - export type DeviceType = string; - export interface DeviceiSCSIAttributes { - /** - * Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target. - */ - TargetARN?: TargetARN; - /** - * The network interface identifier of the VTL device. - */ - NetworkInterfaceId?: NetworkInterfaceId; - /** - * The port used to communicate with iSCSI VTL device targets. - */ - NetworkInterfacePort?: integer; - /** - * Indicates whether mutual CHAP is enabled for the iSCSI target. - */ - ChapEnabled?: boolean; - } - export interface DisableGatewayInput { - GatewayARN: GatewayARN; - } - export interface DisableGatewayOutput { - /** - * The unique Amazon Resource Name of the disabled gateway. - */ - GatewayARN?: GatewayARN; - } - export interface Disk { - DiskId?: DiskId; - DiskPath?: string; - DiskNode?: string; - DiskStatus?: string; - DiskSizeInBytes?: long; - DiskAllocationType?: DiskAllocationType; - DiskAllocationResource?: string; - } - export type DiskAllocationType = string; - export type DiskId = string; - export type DiskIds = DiskId[]; - export type Disks = Disk[]; - export type DoubleObject = number; - export type ErrorCode = "ActivationKeyExpired"|"ActivationKeyInvalid"|"ActivationKeyNotFound"|"GatewayInternalError"|"GatewayNotConnected"|"GatewayNotFound"|"GatewayProxyNetworkConnectionBusy"|"AuthenticationFailure"|"BandwidthThrottleScheduleNotFound"|"Blocked"|"CannotExportSnapshot"|"ChapCredentialNotFound"|"DiskAlreadyAllocated"|"DiskDoesNotExist"|"DiskSizeGreaterThanVolumeMaxSize"|"DiskSizeLessThanVolumeSize"|"DiskSizeNotGigAligned"|"DuplicateCertificateInfo"|"DuplicateSchedule"|"EndpointNotFound"|"IAMNotSupported"|"InitiatorInvalid"|"InitiatorNotFound"|"InternalError"|"InvalidGateway"|"InvalidEndpoint"|"InvalidParameters"|"InvalidSchedule"|"LocalStorageLimitExceeded"|"LunAlreadyAllocated "|"LunInvalid"|"MaximumContentLengthExceeded"|"MaximumTapeCartridgeCountExceeded"|"MaximumVolumeCountExceeded"|"NetworkConfigurationChanged"|"NoDisksAvailable"|"NotImplemented"|"NotSupported"|"OperationAborted"|"OutdatedGateway"|"ParametersNotImplemented"|"RegionInvalid"|"RequestTimeout"|"ServiceUnavailable"|"SnapshotDeleted"|"SnapshotIdInvalid"|"SnapshotInProgress"|"SnapshotNotFound"|"SnapshotScheduleNotFound"|"StagingAreaFull"|"StorageFailure"|"TapeCartridgeNotFound"|"TargetAlreadyExists"|"TargetInvalid"|"TargetNotFound"|"UnauthorizedOperation"|"VolumeAlreadyExists"|"VolumeIdInvalid"|"VolumeInUse"|"VolumeNotFound"|"VolumeNotReady"|string; - export type FileShareARN = string; - export type FileShareARNList = FileShareARN[]; - export type FileShareClientList = IPV4AddressCIDR[]; - export type FileShareId = string; - export interface FileShareInfo { - FileShareARN?: FileShareARN; - FileShareId?: FileShareId; - FileShareStatus?: FileShareStatus; - GatewayARN?: GatewayARN; - } - export type FileShareInfoList = FileShareInfo[]; - export type FileShareStatus = string; - export type GatewayARN = string; - export type GatewayId = string; - export interface GatewayInfo { - /** - * The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations. - */ - GatewayId?: GatewayId; - /** - * The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region. - */ - GatewayARN?: GatewayARN; - /** - * The type of the gateway. - */ - GatewayType?: GatewayType; - /** - * The state of the gateway. Valid Values: DISABLED or ACTIVE - */ - GatewayOperationalState?: GatewayOperationalState; - /** - * The name of the gateway. - */ - GatewayName?: string; - } - export type GatewayName = string; - export type GatewayNetworkInterfaces = NetworkInterface[]; - export type GatewayOperationalState = string; - export type GatewayState = string; - export type GatewayTimezone = string; - export type GatewayType = string; - export type Gateways = GatewayInfo[]; - export type HourOfDay = number; - export type IPV4AddressCIDR = string; - export type Initiator = string; - export type Initiators = Initiator[]; - export type IqnName = string; - export type KMSKey = string; - export type LastSoftwareUpdate = string; - export interface ListFileSharesInput { - /** - * The Amazon resource Name (ARN) of the gateway whose file shares you want to list. If this field is not present, all file shares under your account are listed. - */ - GatewayARN?: GatewayARN; - /** - * The maximum number of file shares to return in the response. The value must be an integer with a value greater than zero. Optional. - */ - Limit?: PositiveIntObject; - /** - * Opaque pagination token returned from a previous ListFileShares operation. If present, Marker specifies where to continue the list from after a previous call to ListFileShares. Optional. - */ - Marker?: Marker; - } - export interface ListFileSharesOutput { - /** - * If the request includes Marker, the response returns that value in this field. - */ - Marker?: Marker; - /** - * If a value is present, there are more file shares to return. In a subsequent request, use NextMarker as the value for Marker to retrieve the next set of file shares. - */ - NextMarker?: Marker; - /** - * An array of information about the file gateway's file shares. - */ - FileShareInfoList?: FileShareInfoList; - } - export interface ListGatewaysInput { - /** - * An opaque string that indicates the position at which to begin the returned list of gateways. - */ - Marker?: Marker; - /** - * Specifies that the list of gateways returned be limited to the specified number of items. - */ - Limit?: PositiveIntObject; - } - export interface ListGatewaysOutput { - Gateways?: Gateways; - Marker?: Marker; - } - export interface ListLocalDisksInput { - GatewayARN: GatewayARN; - } - export interface ListLocalDisksOutput { - GatewayARN?: GatewayARN; - Disks?: Disks; - } - export interface ListTagsForResourceInput { - /** - * The Amazon Resource Name (ARN) of the resource for which you want to list tags. - */ - ResourceARN: ResourceARN; - /** - * An opaque string that indicates the position at which to begin returning the list of tags. - */ - Marker?: Marker; - /** - * Specifies that the list of tags returned be limited to the specified number of items. - */ - Limit?: PositiveIntObject; - } - export interface ListTagsForResourceOutput { - /** - * he Amazon Resource Name (ARN) of the resource for which you want to list tags. - */ - ResourceARN?: ResourceARN; - /** - * An opaque string that indicates the position at which to stop returning the list of tags. - */ - Marker?: Marker; - /** - * An array that contains the tags for the specified resource. - */ - Tags?: Tags; - } - export interface ListTapesInput { - TapeARNs?: TapeARNs; - /** - * A string that indicates the position at which to begin the returned list of tapes. - */ - Marker?: Marker; - /** - * An optional number limit for the tapes in the list returned by this call. - */ - Limit?: PositiveIntObject; - } - export interface ListTapesOutput { - TapeInfos?: TapeInfos; - /** - * A string that indicates the position at which to begin returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes to list, this element does not appear in the response body. - */ - Marker?: Marker; - } - export interface ListVolumeInitiatorsInput { - /** - * The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes for the gateway. - */ - VolumeARN: VolumeARN; - } - export interface ListVolumeInitiatorsOutput { - /** - * The host names and port numbers of all iSCSI initiators that are connected to the gateway. - */ - Initiators?: Initiators; - } - export interface ListVolumeRecoveryPointsInput { - GatewayARN: GatewayARN; - } - export interface ListVolumeRecoveryPointsOutput { - GatewayARN?: GatewayARN; - VolumeRecoveryPointInfos?: VolumeRecoveryPointInfos; - } - export interface ListVolumesInput { - GatewayARN?: GatewayARN; - /** - * A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request. - */ - Marker?: Marker; - /** - * Specifies that the list of volumes returned be limited to the specified number of items. - */ - Limit?: PositiveIntObject; - } - export interface ListVolumesOutput { - GatewayARN?: GatewayARN; - Marker?: Marker; - VolumeInfos?: VolumeInfos; - } - export type LocalConsolePassword = string; - export type LocationARN = string; - export type Marker = string; - export type MediumChangerType = string; - export type MinuteOfHour = number; - export interface NFSFileShareDefaults { - /** - * The Unix file mode in the form "nnnn". For example, "0666" represents the default file mode inside the file share. The default value is 0666. - */ - FileMode?: PermissionMode; - /** - * The Unix directory mode in the form "nnnn". For example, "0666" represents the default access mode for all directories inside the file share. The default value is 0777. - */ - DirectoryMode?: PermissionMode; - /** - * The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody. - */ - GroupId?: PermissionId; - /** - * The default owner ID for files in the file share (unless the files have another owner ID specified). The default value is nfsnobody. - */ - OwnerId?: PermissionId; - } - export interface NFSFileShareInfo { - NFSFileShareDefaults?: NFSFileShareDefaults; - FileShareARN?: FileShareARN; - FileShareId?: FileShareId; - FileShareStatus?: FileShareStatus; - GatewayARN?: GatewayARN; - /** - * True to use Amazon S3 server side encryption with your own KMS key, or false to use a key managed by Amazon S3. Optional. - */ - KMSEncrypted?: boolean; - KMSKey?: KMSKey; - Path?: Path; - Role?: Role; - LocationARN?: LocationARN; - /** - * The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional. - */ - DefaultStorageClass?: StorageClass; - ClientList?: FileShareClientList; - Squash?: Squash; - ReadOnly?: Boolean; - } - export type NFSFileShareInfoList = NFSFileShareInfo[]; - export interface NetworkInterface { - /** - * The Internet Protocol version 4 (IPv4) address of the interface. - */ - Ipv4Address?: string; - /** - * The Media Access Control (MAC) address of the interface. This is currently unsupported and will not be returned in output. - */ - MacAddress?: string; - /** - * The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported. - */ - Ipv6Address?: string; - } - export type NetworkInterfaceId = string; - export type NextUpdateAvailabilityDate = string; - export type NumTapesToCreate = number; - export type Path = string; - export type PermissionId = number; - export type PermissionMode = string; - export type PositiveIntObject = number; - export type RecurrenceInHours = number; - export interface RefreshCacheInput { - FileShareARN: FileShareARN; - } - export interface RefreshCacheOutput { - FileShareARN?: FileShareARN; - } - export type RegionId = string; - export interface RemoveTagsFromResourceInput { - /** - * The Amazon Resource Name (ARN) of the resource you want to remove the tags from. - */ - ResourceARN: ResourceARN; - /** - * The keys of the tags you want to remove from the specified resource. A tag is composed of a key/value pair. - */ - TagKeys: TagKeys; - } - export interface RemoveTagsFromResourceOutput { - /** - * The Amazon Resource Name (ARN) of the resource that the tags were removed from. - */ - ResourceARN?: ResourceARN; - } - export interface ResetCacheInput { - GatewayARN: GatewayARN; - } - export interface ResetCacheOutput { - GatewayARN?: GatewayARN; - } - export type ResourceARN = string; - export interface RetrieveTapeArchiveInput { - /** - * The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the virtual tape shelf (VTS). - */ - TapeARN: TapeARN; - /** - * The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the ListGateways operation to return a list of gateways for your account and region. You retrieve archived virtual tapes to only one gateway and the gateway must be a tape gateway. - */ - GatewayARN: GatewayARN; - } - export interface RetrieveTapeArchiveOutput { - /** - * The Amazon Resource Name (ARN) of the retrieved virtual tape. - */ - TapeARN?: TapeARN; - } - export interface RetrieveTapeRecoveryPointInput { - /** - * The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point. - */ - TapeARN: TapeARN; - GatewayARN: GatewayARN; - } - export interface RetrieveTapeRecoveryPointOutput { - /** - * The Amazon Resource Name (ARN) of the virtual tape for which the recovery point was retrieved. - */ - TapeARN?: TapeARN; - } - export type Role = string; - export interface SetLocalConsolePasswordInput { - GatewayARN: GatewayARN; - /** - * The password you want to set for your VM local console. - */ - LocalConsolePassword: LocalConsolePassword; - } - export interface SetLocalConsolePasswordOutput { - GatewayARN?: GatewayARN; - } - export interface ShutdownGatewayInput { - GatewayARN: GatewayARN; - } - export interface ShutdownGatewayOutput { - GatewayARN?: GatewayARN; - } - export type SnapshotDescription = string; - export type SnapshotId = string; - export type Squash = string; - export interface StartGatewayInput { - GatewayARN: GatewayARN; - } - export interface StartGatewayOutput { - GatewayARN?: GatewayARN; - } - export type StorageClass = string; - export interface StorageGatewayError { - /** - * Additional information about the error. - */ - errorCode?: ErrorCode; - /** - * Human-readable text that provides detail about the error that occurred. - */ - errorDetails?: errorDetails; - } - export interface StorediSCSIVolume { - /** - * The Amazon Resource Name (ARN) of the storage volume. - */ - VolumeARN?: VolumeARN; - /** - * The unique identifier of the volume, e.g. vol-AE4B946D. - */ - VolumeId?: VolumeId; - /** - * One of the VolumeType enumeration values describing the type of the volume. - */ - VolumeType?: VolumeType; - /** - * One of the VolumeStatus values that indicates the state of the storage volume. - */ - VolumeStatus?: VolumeStatus; - /** - * The size of the volume in bytes. - */ - VolumeSizeInBytes?: long; - /** - * Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping. - */ - VolumeProgress?: DoubleObject; - /** - * The ID of the local disk that was specified in the CreateStorediSCSIVolume operation. - */ - VolumeDiskId?: DiskId; - /** - * If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included. - */ - SourceSnapshotId?: SnapshotId; - /** - * Indicates if when the stored volume was created, existing data on the underlying local disk was preserved. Valid Values: true, false - */ - PreservedExistingData?: boolean; - /** - * An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume. - */ - VolumeiSCSIAttributes?: VolumeiSCSIAttributes; - /** - * The date the volume was created. Volumes created prior to March 28, 2017 don’t have this time stamp. - */ - CreatedDate?: CreatedDate; - } - export type StorediSCSIVolumes = StorediSCSIVolume[]; - export interface Tag { - Key: TagKey; - Value: TagValue; - } - export type TagKey = string; - export type TagKeys = TagKey[]; - export type TagValue = string; - export type Tags = Tag[]; - export interface Tape { - /** - * The Amazon Resource Name (ARN) of the virtual tape. - */ - TapeARN?: TapeARN; - /** - * The barcode that identifies a specific virtual tape. - */ - TapeBarcode?: TapeBarcode; - /** - * The date the virtual tape was created. - */ - TapeCreatedDate?: Time; - /** - * The size, in bytes, of the virtual tape capacity. - */ - TapeSizeInBytes?: TapeSize; - /** - * The current state of the virtual tape. - */ - TapeStatus?: TapeStatus; - /** - * The virtual tape library (VTL) device that the virtual tape is associated with. - */ - VTLDevice?: VTLDeviceARN; - /** - * For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete. Range: 0 (not started) to 100 (complete). - */ - Progress?: DoubleObject; - /** - * The size, in bytes, of data written to the virtual tape. This value is not available for tapes created prior to May,13 2015. - */ - TapeUsedInBytes?: TapeUsage; - } - export type TapeARN = string; - export type TapeARNs = TapeARN[]; - export interface TapeArchive { - /** - * The Amazon Resource Name (ARN) of an archived virtual tape. - */ - TapeARN?: TapeARN; - /** - * The barcode that identifies the archived virtual tape. - */ - TapeBarcode?: TapeBarcode; - TapeCreatedDate?: Time; - /** - * The size, in bytes, of the archived virtual tape. - */ - TapeSizeInBytes?: TapeSize; - /** - * The time that the archiving of the virtual tape was completed. The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format. - */ - CompletionTime?: Time; - /** - * The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to. The virtual tape is retrieved from the virtual tape shelf (VTS). - */ - RetrievedTo?: GatewayARN; - /** - * The current state of the archived virtual tape. - */ - TapeStatus?: TapeArchiveStatus; - /** - * The size, in bytes, of data written to the virtual tape. This value is not available for tapes created prior to May,13 2015. - */ - TapeUsedInBytes?: TapeUsage; - } - export type TapeArchiveStatus = string; - export type TapeArchives = TapeArchive[]; - export type TapeBarcode = string; - export type TapeBarcodePrefix = string; - export type TapeDriveType = string; - export interface TapeInfo { - /** - * The Amazon Resource Name (ARN) of a virtual tape. - */ - TapeARN?: TapeARN; - /** - * The barcode that identifies a specific virtual tape. - */ - TapeBarcode?: TapeBarcode; - /** - * The size, in bytes, of a virtual tape. - */ - TapeSizeInBytes?: TapeSize; - /** - * The status of the tape. - */ - TapeStatus?: TapeStatus; - /** - * The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region. - */ - GatewayARN?: GatewayARN; - } - export type TapeInfos = TapeInfo[]; - export interface TapeRecoveryPointInfo { - /** - * The Amazon Resource Name (ARN) of the virtual tape. - */ - TapeARN?: TapeARN; - /** - * The time when the point-in-time view of the virtual tape was replicated for later recovery. The string format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format. - */ - TapeRecoveryPointTime?: Time; - /** - * The size, in bytes, of the virtual tapes to recover. - */ - TapeSizeInBytes?: TapeSize; - TapeStatus?: TapeRecoveryPointStatus; - } - export type TapeRecoveryPointInfos = TapeRecoveryPointInfo[]; - export type TapeRecoveryPointStatus = string; - export type TapeSize = number; - export type TapeStatus = string; - export type TapeUsage = number; - export type Tapes = Tape[]; - export type TargetARN = string; - export type TargetName = string; - export type Time = Date; - export interface UpdateBandwidthRateLimitInput { - GatewayARN: GatewayARN; - /** - * The average upload bandwidth rate limit in bits per second. - */ - AverageUploadRateLimitInBitsPerSec?: BandwidthUploadRateLimit; - /** - * The average download bandwidth rate limit in bits per second. - */ - AverageDownloadRateLimitInBitsPerSec?: BandwidthDownloadRateLimit; - } - export interface UpdateBandwidthRateLimitOutput { - GatewayARN?: GatewayARN; - } - export interface UpdateChapCredentialsInput { - /** - * The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN. - */ - TargetARN: TargetARN; - /** - * The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target. The secret key must be between 12 and 16 bytes when encoded in UTF-8. - */ - SecretToAuthenticateInitiator: ChapSecret; - /** - * The iSCSI initiator that connects to the target. - */ - InitiatorName: IqnName; - /** - * The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client). Byte constraints: Minimum bytes of 12. Maximum bytes of 16. The secret key must be between 12 and 16 bytes when encoded in UTF-8. - */ - SecretToAuthenticateTarget?: ChapSecret; - } - export interface UpdateChapCredentialsOutput { - /** - * The Amazon Resource Name (ARN) of the target. This is the same target specified in the request. - */ - TargetARN?: TargetARN; - /** - * The iSCSI initiator that connects to the target. This is the same initiator name specified in the request. - */ - InitiatorName?: IqnName; - } - export interface UpdateGatewayInformationInput { - GatewayARN: GatewayARN; - GatewayName?: GatewayName; - GatewayTimezone?: GatewayTimezone; - } - export interface UpdateGatewayInformationOutput { - GatewayARN?: GatewayARN; - GatewayName?: string; - } - export interface UpdateGatewaySoftwareNowInput { - GatewayARN: GatewayARN; - } - export interface UpdateGatewaySoftwareNowOutput { - GatewayARN?: GatewayARN; - } - export interface UpdateMaintenanceStartTimeInput { - GatewayARN: GatewayARN; - /** - * The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway. - */ - HourOfDay: HourOfDay; - /** - * The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway. - */ - MinuteOfHour: MinuteOfHour; - /** - * The maintenance start time day of the week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday. - */ - DayOfWeek: DayOfWeek; - } - export interface UpdateMaintenanceStartTimeOutput { - GatewayARN?: GatewayARN; - } - export interface UpdateNFSFileShareInput { - /** - * The Amazon Resource Name (ARN) of the file share to be updated. - */ - FileShareARN: FileShareARN; - /** - * True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional. - */ - KMSEncrypted?: Boolean; - /** - * The KMS key used for Amazon S3 server side encryption. This value can only be set when KmsEncrypted is true. Optional. - */ - KMSKey?: KMSKey; - /** - * The default values for the file share. Optional. - */ - NFSFileShareDefaults?: NFSFileShareDefaults; - /** - * The default storage class for objects put into an Amazon S3 bucket by a file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional. - */ - DefaultStorageClass?: StorageClass; - /** - * The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. - */ - ClientList?: FileShareClientList; - /** - * The user mapped to anonymous user. Valid options are the following: "RootSquash" - Only root is mapped to anonymous user. "NoSquash" - No one is mapped to anonymous user "AllSquash" - Everyone is mapped to anonymous user. - */ - Squash?: Squash; - /** - * Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false". - */ - ReadOnly?: Boolean; - } - export interface UpdateNFSFileShareOutput { - /** - * The Amazon Resource Name (ARN) of the updated file share. - */ - FileShareARN?: FileShareARN; - } - export interface UpdateSnapshotScheduleInput { - /** - * The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes. - */ - VolumeARN: VolumeARN; - /** - * The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway. - */ - StartAt: HourOfDay; - /** - * Frequency of snapshots. Specify the number of hours between snapshots. - */ - RecurrenceInHours: RecurrenceInHours; - /** - * Optional description of the snapshot that overwrites the existing description. - */ - Description?: Description; - } - export interface UpdateSnapshotScheduleOutput { - /** - * - */ - VolumeARN?: VolumeARN; - } - export interface UpdateVTLDeviceTypeInput { - /** - * The Amazon Resource Name (ARN) of the medium changer you want to select. - */ - VTLDeviceARN: VTLDeviceARN; - /** - * The type of medium changer you want to select. Valid Values: "STK-L700", "AWS-Gateway-VTL" - */ - DeviceType: DeviceType; - } - export interface UpdateVTLDeviceTypeOutput { - /** - * The Amazon Resource Name (ARN) of the medium changer you have selected. - */ - VTLDeviceARN?: VTLDeviceARN; - } - export interface VTLDevice { - /** - * Specifies the unique Amazon Resource Name (ARN) of the device (tape drive or media changer). - */ - VTLDeviceARN?: VTLDeviceARN; - VTLDeviceType?: VTLDeviceType; - VTLDeviceVendor?: VTLDeviceVendor; - VTLDeviceProductIdentifier?: VTLDeviceProductIdentifier; - /** - * A list of iSCSI information about a VTL device. - */ - DeviceiSCSIAttributes?: DeviceiSCSIAttributes; - } - export type VTLDeviceARN = string; - export type VTLDeviceARNs = VTLDeviceARN[]; - export type VTLDeviceProductIdentifier = string; - export type VTLDeviceType = string; - export type VTLDeviceVendor = string; - export type VTLDevices = VTLDevice[]; - export type VolumeARN = string; - export type VolumeARNs = VolumeARN[]; - export type VolumeId = string; - export interface VolumeInfo { - /** - * The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN: arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). - */ - VolumeARN?: VolumeARN; - /** - * The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). - */ - VolumeId?: VolumeId; - GatewayARN?: GatewayARN; - /** - * The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). - */ - GatewayId?: GatewayId; - VolumeType?: VolumeType; - /** - * The size of the volume in bytes. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). - */ - VolumeSizeInBytes?: long; - } - export type VolumeInfos = VolumeInfo[]; - export interface VolumeRecoveryPointInfo { - VolumeARN?: VolumeARN; - VolumeSizeInBytes?: long; - VolumeUsageInBytes?: long; - VolumeRecoveryPointTime?: string; - } - export type VolumeRecoveryPointInfos = VolumeRecoveryPointInfo[]; - export type VolumeStatus = string; - export type VolumeType = string; - export interface VolumeiSCSIAttributes { - /** - * The Amazon Resource Name (ARN) of the volume target. - */ - TargetARN?: TargetARN; - /** - * The network interface identifier. - */ - NetworkInterfaceId?: NetworkInterfaceId; - /** - * The port used to communicate with iSCSI targets. - */ - NetworkInterfacePort?: integer; - /** - * The logical disk number. - */ - LunNumber?: PositiveIntObject; - /** - * Indicates whether mutual CHAP is enabled for the iSCSI target. - */ - ChapEnabled?: boolean; - } - export type double = number; - export type errorDetails = {[key: string]: string}; - export type integer = number; - export type long = number; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2013-06-30"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the StorageGateway client. - */ - export import Types = StorageGateway; -} -export = StorageGateway; diff --git a/src/node_modules/aws-sdk/clients/storagegateway.js b/src/node_modules/aws-sdk/clients/storagegateway.js deleted file mode 100644 index 31d67f5..0000000 --- a/src/node_modules/aws-sdk/clients/storagegateway.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['storagegateway'] = {}; -AWS.StorageGateway = Service.defineService('storagegateway', ['2013-06-30']); -Object.defineProperty(apiLoader.services['storagegateway'], '2013-06-30', { - get: function get() { - var model = require('../apis/storagegateway-2013-06-30.min.json'); - model.paginators = require('../apis/storagegateway-2013-06-30.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.StorageGateway; diff --git a/src/node_modules/aws-sdk/clients/sts.d.ts b/src/node_modules/aws-sdk/clients/sts.d.ts deleted file mode 100644 index cdddcf3..0000000 --- a/src/node_modules/aws-sdk/clients/sts.d.ts +++ /dev/null @@ -1,391 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class STS extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: STS.Types.ClientConfiguration) - config: Config & STS.Types.ClientConfiguration; - /** - * Returns a set of temporary security credentials (consisting of an access key ID, a secret access key, and a security token) that you can use to access AWS resources that you might not normally have access to. Typically, you use AssumeRole for cross-account access or federation. For a comparison of AssumeRole with the other APIs that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS APIs in the IAM User Guide. Important: You cannot call AssumeRole by using AWS root account credentials; access is denied. You must use credentials for an IAM user or an IAM role to call AssumeRole. For cross-account access, imagine that you own multiple accounts and need to access resources in each account. You could create long-term credentials in each account to access those resources. However, managing all those credentials and remembering which one can access which account can be time consuming. Instead, you can create one set of long-term credentials in one account and then use temporary security credentials to access all the other accounts by assuming roles in those accounts. For more information about roles, see IAM Roles (Delegation and Federation) in the IAM User Guide. For federation, you can, for example, grant single sign-on access to the AWS Management Console. If you already have an identity and authentication system in your corporate network, you don't have to recreate user identities in AWS in order to grant those user identities access to AWS. Instead, after a user has been authenticated, you call AssumeRole (and specify the role with the appropriate permissions) to get temporary security credentials for that user. With those temporary security credentials, you construct a sign-in URL that users can use to access the console. For more information, see Common Scenarios for Temporary Credentials in the IAM User Guide. The temporary security credentials are valid for the duration that you specified when calling AssumeRole, which can be from 900 seconds (15 minutes) to a maximum of 3600 seconds (1 hour). The default is 1 hour. The temporary security credentials created by AssumeRole can be used to make API calls to any AWS service with the following exception: you cannot call the STS service's GetFederationToken or GetSessionToken APIs. Optionally, you can pass an IAM access policy to this operation. If you choose not to pass a policy, the temporary security credentials that are returned by the operation have the permissions that are defined in the access policy of the role that is being assumed. If you pass a policy to this operation, the temporary security credentials that are returned by the operation have the permissions that are allowed by both the access policy of the role that is being assumed, and the policy that you pass. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use the passed policy to grant permissions that are in excess of those allowed by the access policy of the role that is being assumed. For more information, see Permissions for AssumeRole, AssumeRoleWithSAML, and AssumeRoleWithWebIdentity in the IAM User Guide. To assume a role, your AWS account must be trusted by the role. The trust relationship is defined in the role's trust policy when the role is created. That trust policy states which accounts are allowed to delegate access to this account's role. The user who wants to access the role must also have permissions delegated from the role's administrator. If the user is in a different account than the role, then the user's administrator must attach a policy that allows the user to call AssumeRole on the ARN of the role in the other account. If the user is in the same account as the role, then you can either attach a policy to the user (identical to the previous different account user), or you can add the user as a principal directly in the role's trust policy Using MFA with AssumeRole You can optionally include multi-factor authentication (MFA) information when you call AssumeRole. This is useful for cross-account scenarios in which you want to make sure that the user who is assuming the role has been authenticated using an AWS MFA device. In that scenario, the trust policy of the role being assumed includes a condition that tests for MFA authentication; if the caller does not include valid MFA information, the request to assume the role is denied. The condition in a trust policy that tests for MFA authentication might look like the following example. "Condition": {"Bool": {"aws:MultiFactorAuthPresent": true}} For more information, see Configuring MFA-Protected API Access in the IAM User Guide guide. To use MFA with AssumeRole, you pass values for the SerialNumber and TokenCode parameters. The SerialNumber value identifies the user's hardware or virtual MFA device. The TokenCode is the time-based one-time password (TOTP) that the MFA devices produces. - */ - assumeRole(params: STS.Types.AssumeRoleRequest, callback?: (err: AWSError, data: STS.Types.AssumeRoleResponse) => void): Request; - /** - * Returns a set of temporary security credentials (consisting of an access key ID, a secret access key, and a security token) that you can use to access AWS resources that you might not normally have access to. Typically, you use AssumeRole for cross-account access or federation. For a comparison of AssumeRole with the other APIs that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS APIs in the IAM User Guide. Important: You cannot call AssumeRole by using AWS root account credentials; access is denied. You must use credentials for an IAM user or an IAM role to call AssumeRole. For cross-account access, imagine that you own multiple accounts and need to access resources in each account. You could create long-term credentials in each account to access those resources. However, managing all those credentials and remembering which one can access which account can be time consuming. Instead, you can create one set of long-term credentials in one account and then use temporary security credentials to access all the other accounts by assuming roles in those accounts. For more information about roles, see IAM Roles (Delegation and Federation) in the IAM User Guide. For federation, you can, for example, grant single sign-on access to the AWS Management Console. If you already have an identity and authentication system in your corporate network, you don't have to recreate user identities in AWS in order to grant those user identities access to AWS. Instead, after a user has been authenticated, you call AssumeRole (and specify the role with the appropriate permissions) to get temporary security credentials for that user. With those temporary security credentials, you construct a sign-in URL that users can use to access the console. For more information, see Common Scenarios for Temporary Credentials in the IAM User Guide. The temporary security credentials are valid for the duration that you specified when calling AssumeRole, which can be from 900 seconds (15 minutes) to a maximum of 3600 seconds (1 hour). The default is 1 hour. The temporary security credentials created by AssumeRole can be used to make API calls to any AWS service with the following exception: you cannot call the STS service's GetFederationToken or GetSessionToken APIs. Optionally, you can pass an IAM access policy to this operation. If you choose not to pass a policy, the temporary security credentials that are returned by the operation have the permissions that are defined in the access policy of the role that is being assumed. If you pass a policy to this operation, the temporary security credentials that are returned by the operation have the permissions that are allowed by both the access policy of the role that is being assumed, and the policy that you pass. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use the passed policy to grant permissions that are in excess of those allowed by the access policy of the role that is being assumed. For more information, see Permissions for AssumeRole, AssumeRoleWithSAML, and AssumeRoleWithWebIdentity in the IAM User Guide. To assume a role, your AWS account must be trusted by the role. The trust relationship is defined in the role's trust policy when the role is created. That trust policy states which accounts are allowed to delegate access to this account's role. The user who wants to access the role must also have permissions delegated from the role's administrator. If the user is in a different account than the role, then the user's administrator must attach a policy that allows the user to call AssumeRole on the ARN of the role in the other account. If the user is in the same account as the role, then you can either attach a policy to the user (identical to the previous different account user), or you can add the user as a principal directly in the role's trust policy Using MFA with AssumeRole You can optionally include multi-factor authentication (MFA) information when you call AssumeRole. This is useful for cross-account scenarios in which you want to make sure that the user who is assuming the role has been authenticated using an AWS MFA device. In that scenario, the trust policy of the role being assumed includes a condition that tests for MFA authentication; if the caller does not include valid MFA information, the request to assume the role is denied. The condition in a trust policy that tests for MFA authentication might look like the following example. "Condition": {"Bool": {"aws:MultiFactorAuthPresent": true}} For more information, see Configuring MFA-Protected API Access in the IAM User Guide guide. To use MFA with AssumeRole, you pass values for the SerialNumber and TokenCode parameters. The SerialNumber value identifies the user's hardware or virtual MFA device. The TokenCode is the time-based one-time password (TOTP) that the MFA devices produces. - */ - assumeRole(callback?: (err: AWSError, data: STS.Types.AssumeRoleResponse) => void): Request; - /** - * Returns a set of temporary security credentials for users who have been authenticated via a SAML authentication response. This operation provides a mechanism for tying an enterprise identity store or directory to role-based AWS access without user-specific credentials or configuration. For a comparison of AssumeRoleWithSAML with the other APIs that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS APIs in the IAM User Guide. The temporary security credentials returned by this operation consist of an access key ID, a secret access key, and a security token. Applications can use these temporary security credentials to sign calls to AWS services. The temporary security credentials are valid for the duration that you specified when calling AssumeRole, or until the time specified in the SAML authentication response's SessionNotOnOrAfter value, whichever is shorter. The duration can be from 900 seconds (15 minutes) to a maximum of 3600 seconds (1 hour). The default is 1 hour. The temporary security credentials created by AssumeRoleWithSAML can be used to make API calls to any AWS service with the following exception: you cannot call the STS service's GetFederationToken or GetSessionToken APIs. Optionally, you can pass an IAM access policy to this operation. If you choose not to pass a policy, the temporary security credentials that are returned by the operation have the permissions that are defined in the access policy of the role that is being assumed. If you pass a policy to this operation, the temporary security credentials that are returned by the operation have the permissions that are allowed by the intersection of both the access policy of the role that is being assumed, and the policy that you pass. This means that both policies must grant the permission for the action to be allowed. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use the passed policy to grant permissions that are in excess of those allowed by the access policy of the role that is being assumed. For more information, see Permissions for AssumeRole, AssumeRoleWithSAML, and AssumeRoleWithWebIdentity in the IAM User Guide. Before your application can call AssumeRoleWithSAML, you must configure your SAML identity provider (IdP) to issue the claims required by AWS. Additionally, you must use AWS Identity and Access Management (IAM) to create a SAML provider entity in your AWS account that represents your identity provider, and create an IAM role that specifies this SAML provider in its trust policy. Calling AssumeRoleWithSAML does not require the use of AWS security credentials. The identity of the caller is validated by using keys in the metadata document that is uploaded for the SAML provider entity for your identity provider. Calling AssumeRoleWithSAML can result in an entry in your AWS CloudTrail logs. The entry includes the value in the NameID element of the SAML assertion. We recommend that you use a NameIDType that is not associated with any personally identifiable information (PII). For example, you could instead use the Persistent Identifier (urn:oasis:names:tc:SAML:2.0:nameid-format:persistent). For more information, see the following resources: About SAML 2.0-based Federation in the IAM User Guide. Creating SAML Identity Providers in the IAM User Guide. Configuring a Relying Party and Claims in the IAM User Guide. Creating a Role for SAML 2.0 Federation in the IAM User Guide. - */ - assumeRoleWithSAML(params: STS.Types.AssumeRoleWithSAMLRequest, callback?: (err: AWSError, data: STS.Types.AssumeRoleWithSAMLResponse) => void): Request; - /** - * Returns a set of temporary security credentials for users who have been authenticated via a SAML authentication response. This operation provides a mechanism for tying an enterprise identity store or directory to role-based AWS access without user-specific credentials or configuration. For a comparison of AssumeRoleWithSAML with the other APIs that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS APIs in the IAM User Guide. The temporary security credentials returned by this operation consist of an access key ID, a secret access key, and a security token. Applications can use these temporary security credentials to sign calls to AWS services. The temporary security credentials are valid for the duration that you specified when calling AssumeRole, or until the time specified in the SAML authentication response's SessionNotOnOrAfter value, whichever is shorter. The duration can be from 900 seconds (15 minutes) to a maximum of 3600 seconds (1 hour). The default is 1 hour. The temporary security credentials created by AssumeRoleWithSAML can be used to make API calls to any AWS service with the following exception: you cannot call the STS service's GetFederationToken or GetSessionToken APIs. Optionally, you can pass an IAM access policy to this operation. If you choose not to pass a policy, the temporary security credentials that are returned by the operation have the permissions that are defined in the access policy of the role that is being assumed. If you pass a policy to this operation, the temporary security credentials that are returned by the operation have the permissions that are allowed by the intersection of both the access policy of the role that is being assumed, and the policy that you pass. This means that both policies must grant the permission for the action to be allowed. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use the passed policy to grant permissions that are in excess of those allowed by the access policy of the role that is being assumed. For more information, see Permissions for AssumeRole, AssumeRoleWithSAML, and AssumeRoleWithWebIdentity in the IAM User Guide. Before your application can call AssumeRoleWithSAML, you must configure your SAML identity provider (IdP) to issue the claims required by AWS. Additionally, you must use AWS Identity and Access Management (IAM) to create a SAML provider entity in your AWS account that represents your identity provider, and create an IAM role that specifies this SAML provider in its trust policy. Calling AssumeRoleWithSAML does not require the use of AWS security credentials. The identity of the caller is validated by using keys in the metadata document that is uploaded for the SAML provider entity for your identity provider. Calling AssumeRoleWithSAML can result in an entry in your AWS CloudTrail logs. The entry includes the value in the NameID element of the SAML assertion. We recommend that you use a NameIDType that is not associated with any personally identifiable information (PII). For example, you could instead use the Persistent Identifier (urn:oasis:names:tc:SAML:2.0:nameid-format:persistent). For more information, see the following resources: About SAML 2.0-based Federation in the IAM User Guide. Creating SAML Identity Providers in the IAM User Guide. Configuring a Relying Party and Claims in the IAM User Guide. Creating a Role for SAML 2.0 Federation in the IAM User Guide. - */ - assumeRoleWithSAML(callback?: (err: AWSError, data: STS.Types.AssumeRoleWithSAMLResponse) => void): Request; - /** - * Returns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider, such as Amazon Cognito, Login with Amazon, Facebook, Google, or any OpenID Connect-compatible identity provider. For mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the AWS SDK for iOS and the AWS SDK for Android to uniquely identify a user and supply the user with a consistent identity throughout the lifetime of an application. To learn more about Amazon Cognito, see Amazon Cognito Overview in the AWS SDK for Android Developer Guide guide and Amazon Cognito Overview in the AWS SDK for iOS Developer Guide. Calling AssumeRoleWithWebIdentity does not require the use of AWS security credentials. Therefore, you can distribute an application (for example, on mobile devices) that requests temporary security credentials without including long-term AWS credentials in the application, and without deploying server-based proxy services that use long-term AWS credentials. Instead, the identity of the caller is validated by using a token from the web identity provider. For a comparison of AssumeRoleWithWebIdentity with the other APIs that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS APIs in the IAM User Guide. The temporary security credentials returned by this API consist of an access key ID, a secret access key, and a security token. Applications can use these temporary security credentials to sign calls to AWS service APIs. The credentials are valid for the duration that you specified when calling AssumeRoleWithWebIdentity, which can be from 900 seconds (15 minutes) to a maximum of 3600 seconds (1 hour). The default is 1 hour. The temporary security credentials created by AssumeRoleWithWebIdentity can be used to make API calls to any AWS service with the following exception: you cannot call the STS service's GetFederationToken or GetSessionToken APIs. Optionally, you can pass an IAM access policy to this operation. If you choose not to pass a policy, the temporary security credentials that are returned by the operation have the permissions that are defined in the access policy of the role that is being assumed. If you pass a policy to this operation, the temporary security credentials that are returned by the operation have the permissions that are allowed by both the access policy of the role that is being assumed, and the policy that you pass. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use the passed policy to grant permissions that are in excess of those allowed by the access policy of the role that is being assumed. For more information, see Permissions for AssumeRole, AssumeRoleWithSAML, and AssumeRoleWithWebIdentity in the IAM User Guide. Before your application can call AssumeRoleWithWebIdentity, you must have an identity token from a supported identity provider and create a role that the application can assume. The role that your application assumes must trust the identity provider that is associated with the identity token. In other words, the identity provider must be specified in the role's trust policy. Calling AssumeRoleWithWebIdentity can result in an entry in your AWS CloudTrail logs. The entry includes the Subject of the provided Web Identity Token. We recommend that you avoid using any personally identifiable information (PII) in this field. For example, you could instead use a GUID or a pairwise identifier, as suggested in the OIDC specification. For more information about how to use web identity federation and the AssumeRoleWithWebIdentity API, see the following resources: Using Web Identity Federation APIs for Mobile Apps and Federation Through a Web-based Identity Provider. Web Identity Federation Playground. This interactive website lets you walk through the process of authenticating via Login with Amazon, Facebook, or Google, getting temporary security credentials, and then using those credentials to make a request to AWS. AWS SDK for iOS and AWS SDK for Android. These toolkits contain sample apps that show how to invoke the identity providers, and then how to use the information from these providers to get and use temporary security credentials. Web Identity Federation with Mobile Applications. This article discusses web identity federation and shows an example of how to use web identity federation to get access to content in Amazon S3. - */ - assumeRoleWithWebIdentity(params: STS.Types.AssumeRoleWithWebIdentityRequest, callback?: (err: AWSError, data: STS.Types.AssumeRoleWithWebIdentityResponse) => void): Request; - /** - * Returns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider, such as Amazon Cognito, Login with Amazon, Facebook, Google, or any OpenID Connect-compatible identity provider. For mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the AWS SDK for iOS and the AWS SDK for Android to uniquely identify a user and supply the user with a consistent identity throughout the lifetime of an application. To learn more about Amazon Cognito, see Amazon Cognito Overview in the AWS SDK for Android Developer Guide guide and Amazon Cognito Overview in the AWS SDK for iOS Developer Guide. Calling AssumeRoleWithWebIdentity does not require the use of AWS security credentials. Therefore, you can distribute an application (for example, on mobile devices) that requests temporary security credentials without including long-term AWS credentials in the application, and without deploying server-based proxy services that use long-term AWS credentials. Instead, the identity of the caller is validated by using a token from the web identity provider. For a comparison of AssumeRoleWithWebIdentity with the other APIs that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS APIs in the IAM User Guide. The temporary security credentials returned by this API consist of an access key ID, a secret access key, and a security token. Applications can use these temporary security credentials to sign calls to AWS service APIs. The credentials are valid for the duration that you specified when calling AssumeRoleWithWebIdentity, which can be from 900 seconds (15 minutes) to a maximum of 3600 seconds (1 hour). The default is 1 hour. The temporary security credentials created by AssumeRoleWithWebIdentity can be used to make API calls to any AWS service with the following exception: you cannot call the STS service's GetFederationToken or GetSessionToken APIs. Optionally, you can pass an IAM access policy to this operation. If you choose not to pass a policy, the temporary security credentials that are returned by the operation have the permissions that are defined in the access policy of the role that is being assumed. If you pass a policy to this operation, the temporary security credentials that are returned by the operation have the permissions that are allowed by both the access policy of the role that is being assumed, and the policy that you pass. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use the passed policy to grant permissions that are in excess of those allowed by the access policy of the role that is being assumed. For more information, see Permissions for AssumeRole, AssumeRoleWithSAML, and AssumeRoleWithWebIdentity in the IAM User Guide. Before your application can call AssumeRoleWithWebIdentity, you must have an identity token from a supported identity provider and create a role that the application can assume. The role that your application assumes must trust the identity provider that is associated with the identity token. In other words, the identity provider must be specified in the role's trust policy. Calling AssumeRoleWithWebIdentity can result in an entry in your AWS CloudTrail logs. The entry includes the Subject of the provided Web Identity Token. We recommend that you avoid using any personally identifiable information (PII) in this field. For example, you could instead use a GUID or a pairwise identifier, as suggested in the OIDC specification. For more information about how to use web identity federation and the AssumeRoleWithWebIdentity API, see the following resources: Using Web Identity Federation APIs for Mobile Apps and Federation Through a Web-based Identity Provider. Web Identity Federation Playground. This interactive website lets you walk through the process of authenticating via Login with Amazon, Facebook, or Google, getting temporary security credentials, and then using those credentials to make a request to AWS. AWS SDK for iOS and AWS SDK for Android. These toolkits contain sample apps that show how to invoke the identity providers, and then how to use the information from these providers to get and use temporary security credentials. Web Identity Federation with Mobile Applications. This article discusses web identity federation and shows an example of how to use web identity federation to get access to content in Amazon S3. - */ - assumeRoleWithWebIdentity(callback?: (err: AWSError, data: STS.Types.AssumeRoleWithWebIdentityResponse) => void): Request; - /** - * Decodes additional information about the authorization status of a request from an encoded message returned in response to an AWS request. For example, if a user is not authorized to perform an action that he or she has requested, the request returns a Client.UnauthorizedOperation response (an HTTP 403 response). Some AWS actions additionally return an encoded message that can provide details about this authorization failure. Only certain AWS actions return an encoded authorization message. The documentation for an individual action indicates whether that action returns an encoded message in addition to returning an HTTP code. The message is encoded because the details of the authorization status can constitute privileged information that the user who requested the action should not see. To decode an authorization status message, a user must be granted permissions via an IAM policy to request the DecodeAuthorizationMessage (sts:DecodeAuthorizationMessage) action. The decoded message includes the following type of information: Whether the request was denied due to an explicit deny or due to the absence of an explicit allow. For more information, see Determining Whether a Request is Allowed or Denied in the IAM User Guide. The principal who made the request. The requested action. The requested resource. The values of condition keys in the context of the user's request. - */ - decodeAuthorizationMessage(params: STS.Types.DecodeAuthorizationMessageRequest, callback?: (err: AWSError, data: STS.Types.DecodeAuthorizationMessageResponse) => void): Request; - /** - * Decodes additional information about the authorization status of a request from an encoded message returned in response to an AWS request. For example, if a user is not authorized to perform an action that he or she has requested, the request returns a Client.UnauthorizedOperation response (an HTTP 403 response). Some AWS actions additionally return an encoded message that can provide details about this authorization failure. Only certain AWS actions return an encoded authorization message. The documentation for an individual action indicates whether that action returns an encoded message in addition to returning an HTTP code. The message is encoded because the details of the authorization status can constitute privileged information that the user who requested the action should not see. To decode an authorization status message, a user must be granted permissions via an IAM policy to request the DecodeAuthorizationMessage (sts:DecodeAuthorizationMessage) action. The decoded message includes the following type of information: Whether the request was denied due to an explicit deny or due to the absence of an explicit allow. For more information, see Determining Whether a Request is Allowed or Denied in the IAM User Guide. The principal who made the request. The requested action. The requested resource. The values of condition keys in the context of the user's request. - */ - decodeAuthorizationMessage(callback?: (err: AWSError, data: STS.Types.DecodeAuthorizationMessageResponse) => void): Request; - /** - * Returns details about the IAM identity whose credentials are used to call the API. - */ - getCallerIdentity(params: STS.Types.GetCallerIdentityRequest, callback?: (err: AWSError, data: STS.Types.GetCallerIdentityResponse) => void): Request; - /** - * Returns details about the IAM identity whose credentials are used to call the API. - */ - getCallerIdentity(callback?: (err: AWSError, data: STS.Types.GetCallerIdentityResponse) => void): Request; - /** - * Returns a set of temporary security credentials (consisting of an access key ID, a secret access key, and a security token) for a federated user. A typical use is in a proxy application that gets temporary security credentials on behalf of distributed applications inside a corporate network. Because you must call the GetFederationToken action using the long-term security credentials of an IAM user, this call is appropriate in contexts where those credentials can be safely stored, usually in a server-based application. For a comparison of GetFederationToken with the other APIs that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS APIs in the IAM User Guide. If you are creating a mobile-based or browser-based app that can authenticate users using a web identity provider like Login with Amazon, Facebook, Google, or an OpenID Connect-compatible identity provider, we recommend that you use Amazon Cognito or AssumeRoleWithWebIdentity. For more information, see Federation Through a Web-based Identity Provider. The GetFederationToken action must be called by using the long-term AWS security credentials of an IAM user. You can also call GetFederationToken using the security credentials of an AWS root account, but we do not recommended it. Instead, we recommend that you create an IAM user for the purpose of the proxy application and then attach a policy to the IAM user that limits federated users to only the actions and resources that they need access to. For more information, see IAM Best Practices in the IAM User Guide. The temporary security credentials that are obtained by using the long-term credentials of an IAM user are valid for the specified duration, from 900 seconds (15 minutes) up to a maximium of 129600 seconds (36 hours). The default is 43200 seconds (12 hours). Temporary credentials that are obtained by using AWS root account credentials have a maximum duration of 3600 seconds (1 hour). The temporary security credentials created by GetFederationToken can be used to make API calls to any AWS service with the following exceptions: You cannot use these credentials to call any IAM APIs. You cannot call any STS APIs except GetCallerIdentity. Permissions The permissions for the temporary security credentials returned by GetFederationToken are determined by a combination of the following: The policy or policies that are attached to the IAM user whose credentials are used to call GetFederationToken. The policy that is passed as a parameter in the call. The passed policy is attached to the temporary security credentials that result from the GetFederationToken API call--that is, to the federated user. When the federated user makes an AWS request, AWS evaluates the policy attached to the federated user in combination with the policy or policies attached to the IAM user whose credentials were used to call GetFederationToken. AWS allows the federated user's request only when both the federated user and the IAM user are explicitly allowed to perform the requested action. The passed policy cannot grant more permissions than those that are defined in the IAM user policy. A typical use case is that the permissions of the IAM user whose credentials are used to call GetFederationToken are designed to allow access to all the actions and resources that any federated user will need. Then, for individual users, you pass a policy to the operation that scopes down the permissions to a level that's appropriate to that individual user, using a policy that allows only a subset of permissions that are granted to the IAM user. If you do not pass a policy, the resulting temporary security credentials have no effective permissions. The only exception is when the temporary security credentials are used to access a resource that has a resource-based policy that specifically allows the federated user to access the resource. For more information about how permissions work, see Permissions for GetFederationToken. For information about using GetFederationToken to create temporary security credentials, see GetFederationToken—Federation Through a Custom Identity Broker. - */ - getFederationToken(params: STS.Types.GetFederationTokenRequest, callback?: (err: AWSError, data: STS.Types.GetFederationTokenResponse) => void): Request; - /** - * Returns a set of temporary security credentials (consisting of an access key ID, a secret access key, and a security token) for a federated user. A typical use is in a proxy application that gets temporary security credentials on behalf of distributed applications inside a corporate network. Because you must call the GetFederationToken action using the long-term security credentials of an IAM user, this call is appropriate in contexts where those credentials can be safely stored, usually in a server-based application. For a comparison of GetFederationToken with the other APIs that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS APIs in the IAM User Guide. If you are creating a mobile-based or browser-based app that can authenticate users using a web identity provider like Login with Amazon, Facebook, Google, or an OpenID Connect-compatible identity provider, we recommend that you use Amazon Cognito or AssumeRoleWithWebIdentity. For more information, see Federation Through a Web-based Identity Provider. The GetFederationToken action must be called by using the long-term AWS security credentials of an IAM user. You can also call GetFederationToken using the security credentials of an AWS root account, but we do not recommended it. Instead, we recommend that you create an IAM user for the purpose of the proxy application and then attach a policy to the IAM user that limits federated users to only the actions and resources that they need access to. For more information, see IAM Best Practices in the IAM User Guide. The temporary security credentials that are obtained by using the long-term credentials of an IAM user are valid for the specified duration, from 900 seconds (15 minutes) up to a maximium of 129600 seconds (36 hours). The default is 43200 seconds (12 hours). Temporary credentials that are obtained by using AWS root account credentials have a maximum duration of 3600 seconds (1 hour). The temporary security credentials created by GetFederationToken can be used to make API calls to any AWS service with the following exceptions: You cannot use these credentials to call any IAM APIs. You cannot call any STS APIs except GetCallerIdentity. Permissions The permissions for the temporary security credentials returned by GetFederationToken are determined by a combination of the following: The policy or policies that are attached to the IAM user whose credentials are used to call GetFederationToken. The policy that is passed as a parameter in the call. The passed policy is attached to the temporary security credentials that result from the GetFederationToken API call--that is, to the federated user. When the federated user makes an AWS request, AWS evaluates the policy attached to the federated user in combination with the policy or policies attached to the IAM user whose credentials were used to call GetFederationToken. AWS allows the federated user's request only when both the federated user and the IAM user are explicitly allowed to perform the requested action. The passed policy cannot grant more permissions than those that are defined in the IAM user policy. A typical use case is that the permissions of the IAM user whose credentials are used to call GetFederationToken are designed to allow access to all the actions and resources that any federated user will need. Then, for individual users, you pass a policy to the operation that scopes down the permissions to a level that's appropriate to that individual user, using a policy that allows only a subset of permissions that are granted to the IAM user. If you do not pass a policy, the resulting temporary security credentials have no effective permissions. The only exception is when the temporary security credentials are used to access a resource that has a resource-based policy that specifically allows the federated user to access the resource. For more information about how permissions work, see Permissions for GetFederationToken. For information about using GetFederationToken to create temporary security credentials, see GetFederationToken—Federation Through a Custom Identity Broker. - */ - getFederationToken(callback?: (err: AWSError, data: STS.Types.GetFederationTokenResponse) => void): Request; - /** - * Returns a set of temporary credentials for an AWS account or IAM user. The credentials consist of an access key ID, a secret access key, and a security token. Typically, you use GetSessionToken if you want to use MFA to protect programmatic calls to specific AWS APIs like Amazon EC2 StopInstances. MFA-enabled IAM users would need to call GetSessionToken and submit an MFA code that is associated with their MFA device. Using the temporary security credentials that are returned from the call, IAM users can then make programmatic calls to APIs that require MFA authentication. If you do not supply a correct MFA code, then the API returns an access denied error. For a comparison of GetSessionToken with the other APIs that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS APIs in the IAM User Guide. The GetSessionToken action must be called by using the long-term AWS security credentials of the AWS account or an IAM user. Credentials that are created by IAM users are valid for the duration that you specify, from 900 seconds (15 minutes) up to a maximum of 129600 seconds (36 hours), with a default of 43200 seconds (12 hours); credentials that are created by using account credentials can range from 900 seconds (15 minutes) up to a maximum of 3600 seconds (1 hour), with a default of 1 hour. The temporary security credentials created by GetSessionToken can be used to make API calls to any AWS service with the following exceptions: You cannot call any IAM APIs unless MFA authentication information is included in the request. You cannot call any STS API except AssumeRole or GetCallerIdentity. We recommend that you do not call GetSessionToken with root account credentials. Instead, follow our best practices by creating one or more IAM users, giving them the necessary permissions, and using IAM users for everyday interaction with AWS. The permissions associated with the temporary security credentials returned by GetSessionToken are based on the permissions associated with account or IAM user whose credentials are used to call the action. If GetSessionToken is called using root account credentials, the temporary credentials have root account permissions. Similarly, if GetSessionToken is called using the credentials of an IAM user, the temporary credentials have the same permissions as the IAM user. For more information about using GetSessionToken to create temporary credentials, go to Temporary Credentials for Users in Untrusted Environments in the IAM User Guide. - */ - getSessionToken(params: STS.Types.GetSessionTokenRequest, callback?: (err: AWSError, data: STS.Types.GetSessionTokenResponse) => void): Request; - /** - * Returns a set of temporary credentials for an AWS account or IAM user. The credentials consist of an access key ID, a secret access key, and a security token. Typically, you use GetSessionToken if you want to use MFA to protect programmatic calls to specific AWS APIs like Amazon EC2 StopInstances. MFA-enabled IAM users would need to call GetSessionToken and submit an MFA code that is associated with their MFA device. Using the temporary security credentials that are returned from the call, IAM users can then make programmatic calls to APIs that require MFA authentication. If you do not supply a correct MFA code, then the API returns an access denied error. For a comparison of GetSessionToken with the other APIs that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS APIs in the IAM User Guide. The GetSessionToken action must be called by using the long-term AWS security credentials of the AWS account or an IAM user. Credentials that are created by IAM users are valid for the duration that you specify, from 900 seconds (15 minutes) up to a maximum of 129600 seconds (36 hours), with a default of 43200 seconds (12 hours); credentials that are created by using account credentials can range from 900 seconds (15 minutes) up to a maximum of 3600 seconds (1 hour), with a default of 1 hour. The temporary security credentials created by GetSessionToken can be used to make API calls to any AWS service with the following exceptions: You cannot call any IAM APIs unless MFA authentication information is included in the request. You cannot call any STS API except AssumeRole or GetCallerIdentity. We recommend that you do not call GetSessionToken with root account credentials. Instead, follow our best practices by creating one or more IAM users, giving them the necessary permissions, and using IAM users for everyday interaction with AWS. The permissions associated with the temporary security credentials returned by GetSessionToken are based on the permissions associated with account or IAM user whose credentials are used to call the action. If GetSessionToken is called using root account credentials, the temporary credentials have root account permissions. Similarly, if GetSessionToken is called using the credentials of an IAM user, the temporary credentials have the same permissions as the IAM user. For more information about using GetSessionToken to create temporary credentials, go to Temporary Credentials for Users in Untrusted Environments in the IAM User Guide. - */ - getSessionToken(callback?: (err: AWSError, data: STS.Types.GetSessionTokenResponse) => void): Request; -} -declare namespace STS { - export interface AssumeRoleRequest { - /** - * The Amazon Resource Name (ARN) of the role to assume. - */ - RoleArn: arnType; - /** - * An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. In cross-account scenarios, the role session name is visible to, and can be logged by the account that owns the role. The role session name is also used in the ARN of the assumed role principal. This means that subsequent cross-account API requests using the temporary security credentials will expose the role session name to the external account in their CloudTrail logs. The regex used to validate this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@- - */ - RoleSessionName: roleSessionNameType; - /** - * An IAM policy in JSON format. This parameter is optional. If you pass a policy, the temporary security credentials that are returned by the operation have the permissions that are allowed by both (the intersection of) the access policy of the role that is being assumed, and the policy that you pass. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use the passed policy to grant permissions that are in excess of those allowed by the access policy of the role that is being assumed. For more information, see Permissions for AssumeRole, AssumeRoleWithSAML, and AssumeRoleWithWebIdentity in the IAM User Guide. The format for this parameter, as described by its regex pattern, is a string of characters up to 2048 characters in length. The characters can be any ASCII character from the space character to the end of the valid character list (\u0020-\u00FF). It can also include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D) characters. The policy plain text must be 2048 bytes or shorter. However, an internal conversion compresses it into a packed binary format with a separate limit. The PackedPolicySize response element indicates by percentage how close to the upper size limit the policy is, with 100% equaling the maximum allowed size. - */ - Policy?: sessionPolicyDocumentType; - /** - * The duration, in seconds, of the role session. The value can range from 900 seconds (15 minutes) to 3600 seconds (1 hour). By default, the value is set to 3600 seconds. This is separate from the duration of a console session that you might request using the returned credentials. The request to the federation endpoint for a console sign-in token takes a SessionDuration parameter that specifies the maximum length of the console session, separately from the DurationSeconds parameter on this API. For more information, see Creating a URL that Enables Federated Users to Access the AWS Management Console in the IAM User Guide. - */ - DurationSeconds?: roleDurationSecondsType; - /** - * A unique identifier that is used by third parties when assuming roles in their customers' accounts. For each role that the third party can assume, they should instruct their customers to ensure the role's trust policy checks for the external ID that the third party generated. Each time the third party assumes the role, they should pass the customer's external ID. The external ID is useful in order to help third parties bind a role to the customer who created it. For more information about the external ID, see How to Use an External ID When Granting Access to Your AWS Resources to a Third Party in the IAM User Guide. The regex used to validated this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@:/- - */ - ExternalId?: externalIdType; - /** - * The identification number of the MFA device that is associated with the user who is making the AssumeRole call. Specify this value if the trust policy of the role being assumed includes a condition that requires MFA authentication. The value is either the serial number for a hardware device (such as GAHT12345678) or an Amazon Resource Name (ARN) for a virtual device (such as arn:aws:iam::123456789012:mfa/user). The regex used to validate this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@- - */ - SerialNumber?: serialNumberType; - /** - * The value provided by the MFA device, if the trust policy of the role being assumed requires MFA (that is, if the policy includes a condition that tests for MFA). If the role being assumed requires MFA and if the TokenCode value is missing or expired, the AssumeRole call returns an "access denied" error. The format for this parameter, as described by its regex pattern, is a sequence of six numeric digits. - */ - TokenCode?: tokenCodeType; - } - export interface AssumeRoleResponse { - /** - * The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token. Note: The size of the security token that STS APIs return is not fixed. We strongly recommend that you make no assumptions about the maximum size. As of this writing, the typical size is less than 4096 bytes, but that can vary. Also, future updates to AWS might require larger sizes. - */ - Credentials?: Credentials; - /** - * The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you can use to refer to the resulting temporary security credentials. For example, you can reference these credentials as a principal in a resource-based policy by using the ARN or assumed role ID. The ARN and ID include the RoleSessionName that you specified when you called AssumeRole. - */ - AssumedRoleUser?: AssumedRoleUser; - /** - * A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space. - */ - PackedPolicySize?: nonNegativeIntegerType; - } - export interface AssumeRoleWithSAMLRequest { - /** - * The Amazon Resource Name (ARN) of the role that the caller is assuming. - */ - RoleArn: arnType; - /** - * The Amazon Resource Name (ARN) of the SAML provider in IAM that describes the IdP. - */ - PrincipalArn: arnType; - /** - * The base-64 encoded SAML authentication response provided by the IdP. For more information, see Configuring a Relying Party and Adding Claims in the Using IAM guide. - */ - SAMLAssertion: SAMLAssertionType; - /** - * An IAM policy in JSON format. The policy parameter is optional. If you pass a policy, the temporary security credentials that are returned by the operation have the permissions that are allowed by both the access policy of the role that is being assumed, and the policy that you pass. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use the passed policy to grant permissions that are in excess of those allowed by the access policy of the role that is being assumed. For more information, Permissions for AssumeRole, AssumeRoleWithSAML, and AssumeRoleWithWebIdentity in the IAM User Guide. The format for this parameter, as described by its regex pattern, is a string of characters up to 2048 characters in length. The characters can be any ASCII character from the space character to the end of the valid character list (\u0020-\u00FF). It can also include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D) characters. The policy plain text must be 2048 bytes or shorter. However, an internal conversion compresses it into a packed binary format with a separate limit. The PackedPolicySize response element indicates by percentage how close to the upper size limit the policy is, with 100% equaling the maximum allowed size. - */ - Policy?: sessionPolicyDocumentType; - /** - * The duration, in seconds, of the role session. The value can range from 900 seconds (15 minutes) to 3600 seconds (1 hour). By default, the value is set to 3600 seconds. An expiration can also be specified in the SAML authentication response's SessionNotOnOrAfter value. The actual expiration time is whichever value is shorter. This is separate from the duration of a console session that you might request using the returned credentials. The request to the federation endpoint for a console sign-in token takes a SessionDuration parameter that specifies the maximum length of the console session, separately from the DurationSeconds parameter on this API. For more information, see Enabling SAML 2.0 Federated Users to Access the AWS Management Console in the IAM User Guide. - */ - DurationSeconds?: roleDurationSecondsType; - } - export interface AssumeRoleWithSAMLResponse { - /** - * The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token. Note: The size of the security token that STS APIs return is not fixed. We strongly recommend that you make no assumptions about the maximum size. As of this writing, the typical size is less than 4096 bytes, but that can vary. Also, future updates to AWS might require larger sizes. - */ - Credentials?: Credentials; - /** - * The identifiers for the temporary security credentials that the operation returns. - */ - AssumedRoleUser?: AssumedRoleUser; - /** - * A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space. - */ - PackedPolicySize?: nonNegativeIntegerType; - /** - * The value of the NameID element in the Subject element of the SAML assertion. - */ - Subject?: Subject; - /** - * The format of the name ID, as defined by the Format attribute in the NameID element of the SAML assertion. Typical examples of the format are transient or persistent. If the format includes the prefix urn:oasis:names:tc:SAML:2.0:nameid-format, that prefix is removed. For example, urn:oasis:names:tc:SAML:2.0:nameid-format:transient is returned as transient. If the format includes any other prefix, the format is returned with no modifications. - */ - SubjectType?: SubjectType; - /** - * The value of the Issuer element of the SAML assertion. - */ - Issuer?: Issuer; - /** - * The value of the Recipient attribute of the SubjectConfirmationData element of the SAML assertion. - */ - Audience?: Audience; - /** - * A hash value based on the concatenation of the Issuer response value, the AWS account ID, and the friendly name (the last part of the ARN) of the SAML provider in IAM. The combination of NameQualifier and Subject can be used to uniquely identify a federated user. The following pseudocode shows how the hash value is calculated: BASE64 ( SHA1 ( "https://example.com/saml" + "123456789012" + "/MySAMLIdP" ) ) - */ - NameQualifier?: NameQualifier; - } - export interface AssumeRoleWithWebIdentityRequest { - /** - * The Amazon Resource Name (ARN) of the role that the caller is assuming. - */ - RoleArn: arnType; - /** - * An identifier for the assumed role session. Typically, you pass the name or identifier that is associated with the user who is using your application. That way, the temporary security credentials that your application will use are associated with that user. This session name is included as part of the ARN and assumed role ID in the AssumedRoleUser response element. The regex used to validate this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@- - */ - RoleSessionName: roleSessionNameType; - /** - * The OAuth 2.0 access token or OpenID Connect ID token that is provided by the identity provider. Your application must get this token by authenticating the user who is using your application with a web identity provider before the application makes an AssumeRoleWithWebIdentity call. - */ - WebIdentityToken: clientTokenType; - /** - * The fully qualified host component of the domain name of the identity provider. Specify this value only for OAuth 2.0 access tokens. Currently www.amazon.com and graph.facebook.com are the only supported identity providers for OAuth 2.0 access tokens. Do not include URL schemes and port numbers. Do not specify this value for OpenID Connect ID tokens. - */ - ProviderId?: urlType; - /** - * An IAM policy in JSON format. The policy parameter is optional. If you pass a policy, the temporary security credentials that are returned by the operation have the permissions that are allowed by both the access policy of the role that is being assumed, and the policy that you pass. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use the passed policy to grant permissions that are in excess of those allowed by the access policy of the role that is being assumed. For more information, see Permissions for AssumeRoleWithWebIdentity in the IAM User Guide. The format for this parameter, as described by its regex pattern, is a string of characters up to 2048 characters in length. The characters can be any ASCII character from the space character to the end of the valid character list (\u0020-\u00FF). It can also include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D) characters. The policy plain text must be 2048 bytes or shorter. However, an internal conversion compresses it into a packed binary format with a separate limit. The PackedPolicySize response element indicates by percentage how close to the upper size limit the policy is, with 100% equaling the maximum allowed size. - */ - Policy?: sessionPolicyDocumentType; - /** - * The duration, in seconds, of the role session. The value can range from 900 seconds (15 minutes) to 3600 seconds (1 hour). By default, the value is set to 3600 seconds. This is separate from the duration of a console session that you might request using the returned credentials. The request to the federation endpoint for a console sign-in token takes a SessionDuration parameter that specifies the maximum length of the console session, separately from the DurationSeconds parameter on this API. For more information, see Creating a URL that Enables Federated Users to Access the AWS Management Console in the IAM User Guide. - */ - DurationSeconds?: roleDurationSecondsType; - } - export interface AssumeRoleWithWebIdentityResponse { - /** - * The temporary security credentials, which include an access key ID, a secret access key, and a security token. Note: The size of the security token that STS APIs return is not fixed. We strongly recommend that you make no assumptions about the maximum size. As of this writing, the typical size is less than 4096 bytes, but that can vary. Also, future updates to AWS might require larger sizes. - */ - Credentials?: Credentials; - /** - * The unique user identifier that is returned by the identity provider. This identifier is associated with the WebIdentityToken that was submitted with the AssumeRoleWithWebIdentity call. The identifier is typically unique to the user and the application that acquired the WebIdentityToken (pairwise identifier). For OpenID Connect ID tokens, this field contains the value returned by the identity provider as the token's sub (Subject) claim. - */ - SubjectFromWebIdentityToken?: webIdentitySubjectType; - /** - * The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you can use to refer to the resulting temporary security credentials. For example, you can reference these credentials as a principal in a resource-based policy by using the ARN or assumed role ID. The ARN and ID include the RoleSessionName that you specified when you called AssumeRole. - */ - AssumedRoleUser?: AssumedRoleUser; - /** - * A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space. - */ - PackedPolicySize?: nonNegativeIntegerType; - /** - * The issuing authority of the web identity token presented. For OpenID Connect ID Tokens this contains the value of the iss field. For OAuth 2.0 access tokens, this contains the value of the ProviderId parameter that was passed in the AssumeRoleWithWebIdentity request. - */ - Provider?: Issuer; - /** - * The intended audience (also known as client ID) of the web identity token. This is traditionally the client identifier issued to the application that requested the web identity token. - */ - Audience?: Audience; - } - export interface AssumedRoleUser { - /** - * A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created. - */ - AssumedRoleId: assumedRoleIdType; - /** - * The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see IAM Identifiers in Using IAM. - */ - Arn: arnType; - } - export type Audience = string; - export interface Credentials { - /** - * The access key ID that identifies the temporary security credentials. - */ - AccessKeyId: accessKeyIdType; - /** - * The secret access key that can be used to sign requests. - */ - SecretAccessKey: accessKeySecretType; - /** - * The token that users must pass to the service API to use the temporary credentials. - */ - SessionToken: tokenType; - /** - * The date on which the current credentials expire. - */ - Expiration: dateType; - } - export interface DecodeAuthorizationMessageRequest { - /** - * The encoded message that was returned with the response. - */ - EncodedMessage: encodedMessageType; - } - export interface DecodeAuthorizationMessageResponse { - /** - * An XML document that contains the decoded message. - */ - DecodedMessage?: decodedMessageType; - } - export interface FederatedUser { - /** - * The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user. - */ - FederatedUserId: federatedIdType; - /** - * The ARN that specifies the federated user that is associated with the credentials. For more information about ARNs and how to use them in policies, see IAM Identifiers in Using IAM. - */ - Arn: arnType; - } - export interface GetCallerIdentityRequest { - } - export interface GetCallerIdentityResponse { - /** - * The unique identifier of the calling entity. The exact value depends on the type of entity making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide. - */ - UserId?: userIdType; - /** - * The AWS account ID number of the account that owns or contains the calling entity. - */ - Account?: accountType; - /** - * The AWS ARN associated with the calling entity. - */ - Arn?: arnType; - } - export interface GetFederationTokenRequest { - /** - * The name of the federated user. The name is used as an identifier for the temporary security credentials (such as Bob). For example, you can reference the federated user name in a resource-based policy, such as in an Amazon S3 bucket policy. The regex used to validate this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@- - */ - Name: userNameType; - /** - * An IAM policy in JSON format that is passed with the GetFederationToken call and evaluated along with the policy or policies that are attached to the IAM user whose credentials are used to call GetFederationToken. The passed policy is used to scope down the permissions that are available to the IAM user, by allowing only a subset of the permissions that are granted to the IAM user. The passed policy cannot grant more permissions than those granted to the IAM user. The final permissions for the federated user are the most restrictive set based on the intersection of the passed policy and the IAM user policy. If you do not pass a policy, the resulting temporary security credentials have no effective permissions. The only exception is when the temporary security credentials are used to access a resource that has a resource-based policy that specifically allows the federated user to access the resource. The format for this parameter, as described by its regex pattern, is a string of characters up to 2048 characters in length. The characters can be any ASCII character from the space character to the end of the valid character list (\u0020-\u00FF). It can also include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D) characters. The policy plain text must be 2048 bytes or shorter. However, an internal conversion compresses it into a packed binary format with a separate limit. The PackedPolicySize response element indicates by percentage how close to the upper size limit the policy is, with 100% equaling the maximum allowed size. For more information about how permissions work, see Permissions for GetFederationToken. - */ - Policy?: sessionPolicyDocumentType; - /** - * The duration, in seconds, that the session should last. Acceptable durations for federation sessions range from 900 seconds (15 minutes) to 129600 seconds (36 hours), with 43200 seconds (12 hours) as the default. Sessions obtained using AWS account (root) credentials are restricted to a maximum of 3600 seconds (one hour). If the specified duration is longer than one hour, the session obtained by using AWS account (root) credentials defaults to one hour. - */ - DurationSeconds?: durationSecondsType; - } - export interface GetFederationTokenResponse { - /** - * The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token. Note: The size of the security token that STS APIs return is not fixed. We strongly recommend that you make no assumptions about the maximum size. As of this writing, the typical size is less than 4096 bytes, but that can vary. Also, future updates to AWS might require larger sizes. - */ - Credentials?: Credentials; - /** - * Identifiers for the federated user associated with the credentials (such as arn:aws:sts::123456789012:federated-user/Bob or 123456789012:Bob). You can use the federated user's ARN in your resource-based policies, such as an Amazon S3 bucket policy. - */ - FederatedUser?: FederatedUser; - /** - * A percentage value indicating the size of the policy in packed form. The service rejects policies for which the packed size is greater than 100 percent of the allowed value. - */ - PackedPolicySize?: nonNegativeIntegerType; - } - export interface GetSessionTokenRequest { - /** - * The duration, in seconds, that the credentials should remain valid. Acceptable durations for IAM user sessions range from 900 seconds (15 minutes) to 129600 seconds (36 hours), with 43200 seconds (12 hours) as the default. Sessions for AWS account owners are restricted to a maximum of 3600 seconds (one hour). If the duration is longer than one hour, the session for AWS account owners defaults to one hour. - */ - DurationSeconds?: durationSecondsType; - /** - * The identification number of the MFA device that is associated with the IAM user who is making the GetSessionToken call. Specify this value if the IAM user has a policy that requires MFA authentication. The value is either the serial number for a hardware device (such as GAHT12345678) or an Amazon Resource Name (ARN) for a virtual device (such as arn:aws:iam::123456789012:mfa/user). You can find the device for an IAM user by going to the AWS Management Console and viewing the user's security credentials. The regex used to validated this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@:/- - */ - SerialNumber?: serialNumberType; - /** - * The value provided by the MFA device, if MFA is required. If any policy requires the IAM user to submit an MFA code, specify this value. If MFA authentication is required, and the user does not provide a code when requesting a set of temporary security credentials, the user will receive an "access denied" response when requesting resources that require MFA authentication. The format for this parameter, as described by its regex pattern, is a sequence of six numeric digits. - */ - TokenCode?: tokenCodeType; - } - export interface GetSessionTokenResponse { - /** - * The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token. Note: The size of the security token that STS APIs return is not fixed. We strongly recommend that you make no assumptions about the maximum size. As of this writing, the typical size is less than 4096 bytes, but that can vary. Also, future updates to AWS might require larger sizes. - */ - Credentials?: Credentials; - } - export type Issuer = string; - export type NameQualifier = string; - export type SAMLAssertionType = string; - export type Subject = string; - export type SubjectType = string; - export type accessKeyIdType = string; - export type accessKeySecretType = string; - export type accountType = string; - export type arnType = string; - export type assumedRoleIdType = string; - export type clientTokenType = string; - export type dateType = Date; - export type decodedMessageType = string; - export type durationSecondsType = number; - export type encodedMessageType = string; - export type expiredIdentityTokenMessage = string; - export type externalIdType = string; - export type federatedIdType = string; - export type idpCommunicationErrorMessage = string; - export type idpRejectedClaimMessage = string; - export type invalidAuthorizationMessage = string; - export type invalidIdentityTokenMessage = string; - export type malformedPolicyDocumentMessage = string; - export type nonNegativeIntegerType = number; - export type packedPolicyTooLargeMessage = string; - export type regionDisabledMessage = string; - export type roleDurationSecondsType = number; - export type roleSessionNameType = string; - export type serialNumberType = string; - export type sessionPolicyDocumentType = string; - export type tokenCodeType = string; - export type tokenType = string; - export type urlType = string; - export type userIdType = string; - export type userNameType = string; - export type webIdentitySubjectType = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2011-06-15"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the STS client. - */ - export import Types = STS; -} -export = STS; diff --git a/src/node_modules/aws-sdk/clients/sts.js b/src/node_modules/aws-sdk/clients/sts.js deleted file mode 100644 index 624b5fa..0000000 --- a/src/node_modules/aws-sdk/clients/sts.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['sts'] = {}; -AWS.STS = Service.defineService('sts', ['2011-06-15']); -require('../lib/services/sts'); -Object.defineProperty(apiLoader.services['sts'], '2011-06-15', { - get: function get() { - var model = require('../apis/sts-2011-06-15.min.json'); - model.paginators = require('../apis/sts-2011-06-15.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.STS; diff --git a/src/node_modules/aws-sdk/clients/support.d.ts b/src/node_modules/aws-sdk/clients/support.d.ts deleted file mode 100644 index dbc334c..0000000 --- a/src/node_modules/aws-sdk/clients/support.d.ts +++ /dev/null @@ -1,756 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class Support extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: Support.Types.ClientConfiguration) - config: Config & Support.Types.ClientConfiguration; - /** - * Adds one or more attachments to an attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists. An attachment set is a temporary container for attachments that are to be added to a case or case communication. The set is available for one hour after it is created; the expiryTime returned in the response indicates when the set expires. The maximum number of attachments in a set is 3, and the maximum size of any attachment in the set is 5 MB. - */ - addAttachmentsToSet(params: Support.Types.AddAttachmentsToSetRequest, callback?: (err: AWSError, data: Support.Types.AddAttachmentsToSetResponse) => void): Request; - /** - * Adds one or more attachments to an attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists. An attachment set is a temporary container for attachments that are to be added to a case or case communication. The set is available for one hour after it is created; the expiryTime returned in the response indicates when the set expires. The maximum number of attachments in a set is 3, and the maximum size of any attachment in the set is 5 MB. - */ - addAttachmentsToSet(callback?: (err: AWSError, data: Support.Types.AddAttachmentsToSetResponse) => void): Request; - /** - * Adds additional customer communication to an AWS Support case. You use the caseId value to identify the case to add communication to. You can list a set of email addresses to copy on the communication using the ccEmailAddresses value. The communicationBody value contains the text of the communication. The response indicates the success or failure of the request. This operation implements a subset of the features of the AWS Support Center. - */ - addCommunicationToCase(params: Support.Types.AddCommunicationToCaseRequest, callback?: (err: AWSError, data: Support.Types.AddCommunicationToCaseResponse) => void): Request; - /** - * Adds additional customer communication to an AWS Support case. You use the caseId value to identify the case to add communication to. You can list a set of email addresses to copy on the communication using the ccEmailAddresses value. The communicationBody value contains the text of the communication. The response indicates the success or failure of the request. This operation implements a subset of the features of the AWS Support Center. - */ - addCommunicationToCase(callback?: (err: AWSError, data: Support.Types.AddCommunicationToCaseResponse) => void): Request; - /** - * Creates a new case in the AWS Support Center. This operation is modeled on the behavior of the AWS Support Center Create Case page. Its parameters require you to specify the following information: issueType. The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical." serviceCode. The code for an AWS service. You obtain the serviceCode by calling DescribeServices. categoryCode. The category for the service defined for the serviceCode value. You also obtain the category code for a service by calling DescribeServices. Each AWS service defines its own set of category codes. severityCode. A value that indicates the urgency of the case, which in turn determines the response time according to your service level agreement with AWS Support. You obtain the SeverityCode by calling DescribeSeverityLevels. subject. The Subject field on the AWS Support Center Create Case page. communicationBody. The Description field on the AWS Support Center Create Case page. attachmentSetId. The ID of a set of attachments that has been created by using AddAttachmentsToSet. language. The human language in which AWS Support handles the case. English and Japanese are currently supported. ccEmailAddresses. The AWS Support Center CC field on the Create Case page. You can list email addresses to be copied on any correspondence about the case. The account that opens the case is already identified by passing the AWS Credentials in the HTTP POST method or in a method or function call from one of the programming languages supported by an AWS SDK. To add additional communication or attachments to an existing case, use AddCommunicationToCase. A successful CreateCase request returns an AWS Support case number. Case numbers are used by the DescribeCases operation to retrieve existing AWS Support cases. - */ - createCase(params: Support.Types.CreateCaseRequest, callback?: (err: AWSError, data: Support.Types.CreateCaseResponse) => void): Request; - /** - * Creates a new case in the AWS Support Center. This operation is modeled on the behavior of the AWS Support Center Create Case page. Its parameters require you to specify the following information: issueType. The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical." serviceCode. The code for an AWS service. You obtain the serviceCode by calling DescribeServices. categoryCode. The category for the service defined for the serviceCode value. You also obtain the category code for a service by calling DescribeServices. Each AWS service defines its own set of category codes. severityCode. A value that indicates the urgency of the case, which in turn determines the response time according to your service level agreement with AWS Support. You obtain the SeverityCode by calling DescribeSeverityLevels. subject. The Subject field on the AWS Support Center Create Case page. communicationBody. The Description field on the AWS Support Center Create Case page. attachmentSetId. The ID of a set of attachments that has been created by using AddAttachmentsToSet. language. The human language in which AWS Support handles the case. English and Japanese are currently supported. ccEmailAddresses. The AWS Support Center CC field on the Create Case page. You can list email addresses to be copied on any correspondence about the case. The account that opens the case is already identified by passing the AWS Credentials in the HTTP POST method or in a method or function call from one of the programming languages supported by an AWS SDK. To add additional communication or attachments to an existing case, use AddCommunicationToCase. A successful CreateCase request returns an AWS Support case number. Case numbers are used by the DescribeCases operation to retrieve existing AWS Support cases. - */ - createCase(callback?: (err: AWSError, data: Support.Types.CreateCaseResponse) => void): Request; - /** - * Returns the attachment that has the specified ID. Attachment IDs are generated by the case management system when you add an attachment to a case or case communication. Attachment IDs are returned in the AttachmentDetails objects that are returned by the DescribeCommunications operation. - */ - describeAttachment(params: Support.Types.DescribeAttachmentRequest, callback?: (err: AWSError, data: Support.Types.DescribeAttachmentResponse) => void): Request; - /** - * Returns the attachment that has the specified ID. Attachment IDs are generated by the case management system when you add an attachment to a case or case communication. Attachment IDs are returned in the AttachmentDetails objects that are returned by the DescribeCommunications operation. - */ - describeAttachment(callback?: (err: AWSError, data: Support.Types.DescribeAttachmentResponse) => void): Request; - /** - * Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the afterTime and beforeTime request parameters. You can set values for the includeResolvedCases and includeCommunications request parameters to control how much information is returned. Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error. The response returns the following in JSON format: One or more CaseDetails data types. One or more nextToken values, which specify where to paginate the returned records represented by the CaseDetails objects. - */ - describeCases(params: Support.Types.DescribeCasesRequest, callback?: (err: AWSError, data: Support.Types.DescribeCasesResponse) => void): Request; - /** - * Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the afterTime and beforeTime request parameters. You can set values for the includeResolvedCases and includeCommunications request parameters to control how much information is returned. Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error. The response returns the following in JSON format: One or more CaseDetails data types. One or more nextToken values, which specify where to paginate the returned records represented by the CaseDetails objects. - */ - describeCases(callback?: (err: AWSError, data: Support.Types.DescribeCasesResponse) => void): Request; - /** - * Returns communications (and attachments) for one or more support cases. You can use the afterTime and beforeTime parameters to filter by date. You can use the caseId parameter to restrict the results to a particular case. Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error. You can use the maxResults and nextToken parameters to control the pagination of the result set. Set maxResults to the number of cases you want displayed on each page, and use nextToken to specify the resumption of pagination. - */ - describeCommunications(params: Support.Types.DescribeCommunicationsRequest, callback?: (err: AWSError, data: Support.Types.DescribeCommunicationsResponse) => void): Request; - /** - * Returns communications (and attachments) for one or more support cases. You can use the afterTime and beforeTime parameters to filter by date. You can use the caseId parameter to restrict the results to a particular case. Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error. You can use the maxResults and nextToken parameters to control the pagination of the result set. Set maxResults to the number of cases you want displayed on each page, and use nextToken to specify the resumption of pagination. - */ - describeCommunications(callback?: (err: AWSError, data: Support.Types.DescribeCommunicationsResponse) => void): Request; - /** - * Returns the current list of AWS services and a list of service categories that applies to each one. You then use service names and categories in your CreateCase requests. Each AWS service has its own set of categories. The service codes and category codes correspond to the values that are displayed in the Service and Category drop-down lists on the AWS Support Center Create Case page. The values in those fields, however, do not necessarily match the service codes and categories returned by the DescribeServices request. Always use the service codes and categories obtained programmatically. This practice ensures that you always have the most recent set of service and category codes. - */ - describeServices(params: Support.Types.DescribeServicesRequest, callback?: (err: AWSError, data: Support.Types.DescribeServicesResponse) => void): Request; - /** - * Returns the current list of AWS services and a list of service categories that applies to each one. You then use service names and categories in your CreateCase requests. Each AWS service has its own set of categories. The service codes and category codes correspond to the values that are displayed in the Service and Category drop-down lists on the AWS Support Center Create Case page. The values in those fields, however, do not necessarily match the service codes and categories returned by the DescribeServices request. Always use the service codes and categories obtained programmatically. This practice ensures that you always have the most recent set of service and category codes. - */ - describeServices(callback?: (err: AWSError, data: Support.Types.DescribeServicesResponse) => void): Request; - /** - * Returns the list of severity levels that you can assign to an AWS Support case. The severity level for a case is also a field in the CaseDetails data type included in any CreateCase request. - */ - describeSeverityLevels(params: Support.Types.DescribeSeverityLevelsRequest, callback?: (err: AWSError, data: Support.Types.DescribeSeverityLevelsResponse) => void): Request; - /** - * Returns the list of severity levels that you can assign to an AWS Support case. The severity level for a case is also a field in the CaseDetails data type included in any CreateCase request. - */ - describeSeverityLevels(callback?: (err: AWSError, data: Support.Types.DescribeSeverityLevelsResponse) => void): Request; - /** - * Returns the refresh status of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. Some checks are refreshed automatically, and their refresh statuses cannot be retrieved by using this operation. Use of the DescribeTrustedAdvisorCheckRefreshStatuses operation for these checks causes an InvalidParameterValue error. - */ - describeTrustedAdvisorCheckRefreshStatuses(params: Support.Types.DescribeTrustedAdvisorCheckRefreshStatusesRequest, callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorCheckRefreshStatusesResponse) => void): Request; - /** - * Returns the refresh status of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. Some checks are refreshed automatically, and their refresh statuses cannot be retrieved by using this operation. Use of the DescribeTrustedAdvisorCheckRefreshStatuses operation for these checks causes an InvalidParameterValue error. - */ - describeTrustedAdvisorCheckRefreshStatuses(callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorCheckRefreshStatusesResponse) => void): Request; - /** - * Returns the results of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. The response contains a TrustedAdvisorCheckResult object, which contains these three objects: TrustedAdvisorCategorySpecificSummary TrustedAdvisorResourceDetail TrustedAdvisorResourcesSummary In addition, the response contains these fields: status. The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available". timestamp. The time of the last refresh of the check. checkId. The unique identifier for the check. - */ - describeTrustedAdvisorCheckResult(params: Support.Types.DescribeTrustedAdvisorCheckResultRequest, callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorCheckResultResponse) => void): Request; - /** - * Returns the results of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. The response contains a TrustedAdvisorCheckResult object, which contains these three objects: TrustedAdvisorCategorySpecificSummary TrustedAdvisorResourceDetail TrustedAdvisorResourcesSummary In addition, the response contains these fields: status. The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available". timestamp. The time of the last refresh of the check. checkId. The unique identifier for the check. - */ - describeTrustedAdvisorCheckResult(callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorCheckResultResponse) => void): Request; - /** - * Returns the summaries of the results of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. The response contains an array of TrustedAdvisorCheckSummary objects. - */ - describeTrustedAdvisorCheckSummaries(params: Support.Types.DescribeTrustedAdvisorCheckSummariesRequest, callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorCheckSummariesResponse) => void): Request; - /** - * Returns the summaries of the results of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. The response contains an array of TrustedAdvisorCheckSummary objects. - */ - describeTrustedAdvisorCheckSummaries(callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorCheckSummariesResponse) => void): Request; - /** - * Returns information about all available Trusted Advisor checks, including name, ID, category, description, and metadata. You must specify a language code; English ("en") and Japanese ("ja") are currently supported. The response contains a TrustedAdvisorCheckDescription for each check. - */ - describeTrustedAdvisorChecks(params: Support.Types.DescribeTrustedAdvisorChecksRequest, callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorChecksResponse) => void): Request; - /** - * Returns information about all available Trusted Advisor checks, including name, ID, category, description, and metadata. You must specify a language code; English ("en") and Japanese ("ja") are currently supported. The response contains a TrustedAdvisorCheckDescription for each check. - */ - describeTrustedAdvisorChecks(callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorChecksResponse) => void): Request; - /** - * Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck operation for these checks causes an InvalidParameterValue error. The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields: status. The refresh status of the check: "none", "enqueued", "processing", "success", or "abandoned". millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh. checkId. The unique identifier for the check. - */ - refreshTrustedAdvisorCheck(params: Support.Types.RefreshTrustedAdvisorCheckRequest, callback?: (err: AWSError, data: Support.Types.RefreshTrustedAdvisorCheckResponse) => void): Request; - /** - * Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck operation for these checks causes an InvalidParameterValue error. The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields: status. The refresh status of the check: "none", "enqueued", "processing", "success", or "abandoned". millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh. checkId. The unique identifier for the check. - */ - refreshTrustedAdvisorCheck(callback?: (err: AWSError, data: Support.Types.RefreshTrustedAdvisorCheckResponse) => void): Request; - /** - * Takes a caseId and returns the initial state of the case along with the state of the case after the call to ResolveCase completed. - */ - resolveCase(params: Support.Types.ResolveCaseRequest, callback?: (err: AWSError, data: Support.Types.ResolveCaseResponse) => void): Request; - /** - * Takes a caseId and returns the initial state of the case along with the state of the case after the call to ResolveCase completed. - */ - resolveCase(callback?: (err: AWSError, data: Support.Types.ResolveCaseResponse) => void): Request; -} -declare namespace Support { - export interface AddAttachmentsToSetRequest { - /** - * The ID of the attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists. - */ - attachmentSetId?: AttachmentSetId; - /** - * One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment. - */ - attachments: Attachments; - } - export interface AddAttachmentsToSetResponse { - /** - * The ID of the attachment set. If an attachmentSetId was not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId was specified, the attachments are added to the specified set, if it exists. - */ - attachmentSetId?: AttachmentSetId; - /** - * The time and date when the attachment set expires. - */ - expiryTime?: ExpiryTime; - } - export interface AddCommunicationToCaseRequest { - /** - * The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47 - */ - caseId?: CaseId; - /** - * The body of an email communication to add to the support case. - */ - communicationBody: CommunicationBody; - /** - * The email addresses in the CC line of an email to be added to the support case. - */ - ccEmailAddresses?: CcEmailAddressList; - /** - * The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet - */ - attachmentSetId?: AttachmentSetId; - } - export interface AddCommunicationToCaseResponse { - /** - * True if AddCommunicationToCase succeeds. Otherwise, returns an error. - */ - result?: Result; - } - export type AfterTime = string; - export interface Attachment { - /** - * The name of the attachment file. - */ - fileName?: FileName; - /** - * The content of the attachment file. - */ - data?: Data; - } - export interface AttachmentDetails { - /** - * The ID of the attachment. - */ - attachmentId?: AttachmentId; - /** - * The file name of the attachment. - */ - fileName?: FileName; - } - export type AttachmentId = string; - export type AttachmentSet = AttachmentDetails[]; - export type AttachmentSetId = string; - export type Attachments = Attachment[]; - export type BeforeTime = string; - export type Boolean = boolean; - export interface CaseDetails { - /** - * The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47 - */ - caseId?: CaseId; - /** - * The ID displayed for the case in the AWS Support Center. This is a numeric string. - */ - displayId?: DisplayId; - /** - * The subject line for the case in the AWS Support Center. - */ - subject?: Subject; - /** - * The status of the case. - */ - status?: Status; - /** - * The code for the AWS service returned by the call to DescribeServices. - */ - serviceCode?: ServiceCode; - /** - * The category of problem for the AWS Support case. - */ - categoryCode?: CategoryCode; - /** - * The code for the severity level returned by the call to DescribeSeverityLevels. - */ - severityCode?: SeverityCode; - /** - * The email address of the account that submitted the case. - */ - submittedBy?: SubmittedBy; - /** - * The time that the case was case created in the AWS Support Center. - */ - timeCreated?: TimeCreated; - /** - * The five most recent communications between you and AWS Support Center, including the IDs of any attachments to the communications. Also includes a nextToken that you can use to retrieve earlier communications. - */ - recentCommunications?: RecentCaseCommunications; - /** - * The email addresses that receive copies of communication about the case. - */ - ccEmailAddresses?: CcEmailAddressList; - /** - * The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them. - */ - language?: Language; - } - export type CaseId = string; - export type CaseIdList = CaseId[]; - export type CaseList = CaseDetails[]; - export type CaseStatus = string; - export interface Category { - /** - * The category code for the support case. - */ - code?: CategoryCode; - /** - * The category name for the support case. - */ - name?: CategoryName; - } - export type CategoryCode = string; - export type CategoryList = Category[]; - export type CategoryName = string; - export type CcEmailAddress = string; - export type CcEmailAddressList = CcEmailAddress[]; - export interface Communication { - /** - * The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47 - */ - caseId?: CaseId; - /** - * The text of the communication between the customer and AWS Support. - */ - body?: CommunicationBody; - /** - * The email address of the account that submitted the AWS Support case. - */ - submittedBy?: SubmittedBy; - /** - * The time the communication was created. - */ - timeCreated?: TimeCreated; - /** - * Information about the attachments to the case communication. - */ - attachmentSet?: AttachmentSet; - } - export type CommunicationBody = string; - export type CommunicationList = Communication[]; - export interface CreateCaseRequest { - /** - * The title of the AWS Support case. - */ - subject: Subject; - /** - * The code for the AWS service returned by the call to DescribeServices. - */ - serviceCode?: ServiceCode; - /** - * The code for the severity level returned by the call to DescribeSeverityLevels. The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time. - */ - severityCode?: SeverityCode; - /** - * The category of problem for the AWS Support case. - */ - categoryCode?: CategoryCode; - /** - * The communication body text when you create an AWS Support case by calling CreateCase. - */ - communicationBody: CommunicationBody; - /** - * A list of email addresses that AWS Support copies on case correspondence. - */ - ccEmailAddresses?: CcEmailAddressList; - /** - * The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them. - */ - language?: Language; - /** - * The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical." - */ - issueType?: IssueType; - /** - * The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet. - */ - attachmentSetId?: AttachmentSetId; - } - export interface CreateCaseResponse { - /** - * The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47 - */ - caseId?: CaseId; - } - export type Data = Buffer|Uint8Array|Blob|string; - export interface DescribeAttachmentRequest { - /** - * The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation. - */ - attachmentId: AttachmentId; - } - export interface DescribeAttachmentResponse { - /** - * The attachment content and file name. - */ - attachment?: Attachment; - } - export interface DescribeCasesRequest { - /** - * A list of ID numbers of the support cases you want returned. The maximum number of cases is 100. - */ - caseIdList?: CaseIdList; - /** - * The ID displayed for a case in the AWS Support Center user interface. - */ - displayId?: DisplayId; - /** - * The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation. - */ - afterTime?: AfterTime; - /** - * The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation. - */ - beforeTime?: BeforeTime; - /** - * Specifies whether resolved support cases should be included in the DescribeCases results. The default is false. - */ - includeResolvedCases?: IncludeResolvedCases; - /** - * A resumption point for pagination. - */ - nextToken?: NextToken; - /** - * The maximum number of results to return before paginating. - */ - maxResults?: MaxResults; - /** - * The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them. - */ - language?: Language; - /** - * Specifies whether communications should be included in the DescribeCases results. The default is true. - */ - includeCommunications?: IncludeCommunications; - } - export interface DescribeCasesResponse { - /** - * The details for the cases that match the request. - */ - cases?: CaseList; - /** - * A resumption point for pagination. - */ - nextToken?: NextToken; - } - export interface DescribeCommunicationsRequest { - /** - * The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47 - */ - caseId: CaseId; - /** - * The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation. - */ - beforeTime?: BeforeTime; - /** - * The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation. - */ - afterTime?: AfterTime; - /** - * A resumption point for pagination. - */ - nextToken?: NextToken; - /** - * The maximum number of results to return before paginating. - */ - maxResults?: MaxResults; - } - export interface DescribeCommunicationsResponse { - /** - * The communications for the case. - */ - communications?: CommunicationList; - /** - * A resumption point for pagination. - */ - nextToken?: NextToken; - } - export interface DescribeServicesRequest { - /** - * A JSON-formatted list of service codes available for AWS services. - */ - serviceCodeList?: ServiceCodeList; - /** - * The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them. - */ - language?: Language; - } - export interface DescribeServicesResponse { - /** - * A JSON-formatted list of AWS services. - */ - services?: ServiceList; - } - export interface DescribeSeverityLevelsRequest { - /** - * The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them. - */ - language?: Language; - } - export interface DescribeSeverityLevelsResponse { - /** - * The available severity levels for the support case. Available severity levels are defined by your service level agreement with AWS. - */ - severityLevels?: SeverityLevelsList; - } - export interface DescribeTrustedAdvisorCheckRefreshStatusesRequest { - /** - * The IDs of the Trusted Advisor checks to get the status of. Note: Specifying the check ID of a check that is automatically refreshed causes an InvalidParameterValue error. - */ - checkIds: StringList; - } - export interface DescribeTrustedAdvisorCheckRefreshStatusesResponse { - /** - * The refresh status of the specified Trusted Advisor checks. - */ - statuses: TrustedAdvisorCheckRefreshStatusList; - } - export interface DescribeTrustedAdvisorCheckResultRequest { - /** - * The unique identifier for the Trusted Advisor check. - */ - checkId: String; - /** - * The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them. - */ - language?: String; - } - export interface DescribeTrustedAdvisorCheckResultResponse { - /** - * The detailed results of the Trusted Advisor check. - */ - result?: TrustedAdvisorCheckResult; - } - export interface DescribeTrustedAdvisorCheckSummariesRequest { - /** - * The IDs of the Trusted Advisor checks. - */ - checkIds: StringList; - } - export interface DescribeTrustedAdvisorCheckSummariesResponse { - /** - * The summary information for the requested Trusted Advisor checks. - */ - summaries: TrustedAdvisorCheckSummaryList; - } - export interface DescribeTrustedAdvisorChecksRequest { - /** - * The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them. - */ - language: String; - } - export interface DescribeTrustedAdvisorChecksResponse { - /** - * Information about all available Trusted Advisor checks. - */ - checks: TrustedAdvisorCheckList; - } - export type DisplayId = string; - export type Double = number; - export type ErrorMessage = string; - export type ExpiryTime = string; - export type FileName = string; - export type IncludeCommunications = boolean; - export type IncludeResolvedCases = boolean; - export type IssueType = string; - export type Language = string; - export type Long = number; - export type MaxResults = number; - export type NextToken = string; - export interface RecentCaseCommunications { - /** - * The five most recent communications associated with the case. - */ - communications?: CommunicationList; - /** - * A resumption point for pagination. - */ - nextToken?: NextToken; - } - export interface RefreshTrustedAdvisorCheckRequest { - /** - * The unique identifier for the Trusted Advisor check to refresh. Note: Specifying the check ID of a check that is automatically refreshed causes an InvalidParameterValue error. - */ - checkId: String; - } - export interface RefreshTrustedAdvisorCheckResponse { - /** - * The current refresh status for a check, including the amount of time until the check is eligible for refresh. - */ - status: TrustedAdvisorCheckRefreshStatus; - } - export interface ResolveCaseRequest { - /** - * The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47 - */ - caseId?: CaseId; - } - export interface ResolveCaseResponse { - /** - * The status of the case when the ResolveCase request was sent. - */ - initialCaseStatus?: CaseStatus; - /** - * The status of the case after the ResolveCase request was processed. - */ - finalCaseStatus?: CaseStatus; - } - export type Result = boolean; - export interface Service { - /** - * The code for an AWS service returned by the DescribeServices response. The name element contains the corresponding friendly name. - */ - code?: ServiceCode; - /** - * The friendly name for an AWS service. The code element contains the corresponding code. - */ - name?: ServiceName; - /** - * A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase. - */ - categories?: CategoryList; - } - export type ServiceCode = string; - export type ServiceCodeList = ServiceCode[]; - export type ServiceList = Service[]; - export type ServiceName = string; - export type SeverityCode = string; - export interface SeverityLevel { - /** - * One of four values: "low," "medium," "high," and "urgent". These values correspond to response times returned to the caller in severityLevel.name. - */ - code?: SeverityLevelCode; - /** - * The name of the severity level that corresponds to the severity level code. - */ - name?: SeverityLevelName; - } - export type SeverityLevelCode = string; - export type SeverityLevelName = string; - export type SeverityLevelsList = SeverityLevel[]; - export type Status = string; - export type String = string; - export type StringList = String[]; - export type Subject = string; - export type SubmittedBy = string; - export type TimeCreated = string; - export interface TrustedAdvisorCategorySpecificSummary { - /** - * The summary information about cost savings for a Trusted Advisor check that is in the Cost Optimizing category. - */ - costOptimizing?: TrustedAdvisorCostOptimizingSummary; - } - export interface TrustedAdvisorCheckDescription { - /** - * The unique identifier for the Trusted Advisor check. - */ - id: String; - /** - * The display name for the Trusted Advisor check. - */ - name: String; - /** - * The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup). - */ - description: String; - /** - * The category of the Trusted Advisor check. - */ - category: String; - /** - * The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data. - */ - metadata: StringList; - } - export type TrustedAdvisorCheckList = TrustedAdvisorCheckDescription[]; - export interface TrustedAdvisorCheckRefreshStatus { - /** - * The unique identifier for the Trusted Advisor check. - */ - checkId: String; - /** - * The status of the Trusted Advisor check for which a refresh has been requested: "none", "enqueued", "processing", "success", or "abandoned". - */ - status: String; - /** - * The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh. - */ - millisUntilNextRefreshable: Long; - } - export type TrustedAdvisorCheckRefreshStatusList = TrustedAdvisorCheckRefreshStatus[]; - export interface TrustedAdvisorCheckResult { - /** - * The unique identifier for the Trusted Advisor check. - */ - checkId: String; - /** - * The time of the last refresh of the check. - */ - timestamp: String; - /** - * The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available". - */ - status: String; - resourcesSummary: TrustedAdvisorResourcesSummary; - /** - * Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported. - */ - categorySpecificSummary: TrustedAdvisorCategorySpecificSummary; - /** - * The details about each resource listed in the check result. - */ - flaggedResources: TrustedAdvisorResourceDetailList; - } - export interface TrustedAdvisorCheckSummary { - /** - * The unique identifier for the Trusted Advisor check. - */ - checkId: String; - /** - * The time of the last refresh of the check. - */ - timestamp: String; - /** - * The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available". - */ - status: String; - /** - * Specifies whether the Trusted Advisor check has flagged resources. - */ - hasFlaggedResources?: Boolean; - resourcesSummary: TrustedAdvisorResourcesSummary; - /** - * Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported. - */ - categorySpecificSummary: TrustedAdvisorCategorySpecificSummary; - } - export type TrustedAdvisorCheckSummaryList = TrustedAdvisorCheckSummary[]; - export interface TrustedAdvisorCostOptimizingSummary { - /** - * The estimated monthly savings that might be realized if the recommended actions are taken. - */ - estimatedMonthlySavings: Double; - /** - * The estimated percentage of savings that might be realized if the recommended actions are taken. - */ - estimatedPercentMonthlySavings: Double; - } - export interface TrustedAdvisorResourceDetail { - /** - * The status code for the resource identified in the Trusted Advisor check. - */ - status: String; - /** - * The AWS region in which the identified resource is located. - */ - region?: String; - /** - * The unique identifier for the identified resource. - */ - resourceId: String; - /** - * Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user. - */ - isSuppressed?: Boolean; - /** - * Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data. - */ - metadata: StringList; - } - export type TrustedAdvisorResourceDetailList = TrustedAdvisorResourceDetail[]; - export interface TrustedAdvisorResourcesSummary { - /** - * The number of AWS resources that were analyzed by the Trusted Advisor check. - */ - resourcesProcessed: Long; - /** - * The number of AWS resources that were flagged (listed) by the Trusted Advisor check. - */ - resourcesFlagged: Long; - /** - * The number of AWS resources ignored by Trusted Advisor because information was unavailable. - */ - resourcesIgnored: Long; - /** - * The number of AWS resources ignored by Trusted Advisor because they were marked as suppressed by the user. - */ - resourcesSuppressed: Long; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2013-04-15"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the Support client. - */ - export import Types = Support; -} -export = Support; diff --git a/src/node_modules/aws-sdk/clients/support.js b/src/node_modules/aws-sdk/clients/support.js deleted file mode 100644 index f16ac1d..0000000 --- a/src/node_modules/aws-sdk/clients/support.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['support'] = {}; -AWS.Support = Service.defineService('support', ['2013-04-15']); -Object.defineProperty(apiLoader.services['support'], '2013-04-15', { - get: function get() { - var model = require('../apis/support-2013-04-15.min.json'); - model.paginators = require('../apis/support-2013-04-15.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Support; diff --git a/src/node_modules/aws-sdk/clients/swf.d.ts b/src/node_modules/aws-sdk/clients/swf.d.ts deleted file mode 100644 index e666ea2..0000000 --- a/src/node_modules/aws-sdk/clients/swf.d.ts +++ /dev/null @@ -1,2860 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class SWF extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: SWF.Types.ClientConfiguration) - config: Config & SWF.Types.ClientConfiguration; - /** - * Returns the number of closed workflow executions within the given domain that meet the specified filtering criteria. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: String constraint. The key is swf:typeFilter.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - countClosedWorkflowExecutions(params: SWF.Types.CountClosedWorkflowExecutionsInput, callback?: (err: AWSError, data: SWF.Types.WorkflowExecutionCount) => void): Request; - /** - * Returns the number of closed workflow executions within the given domain that meet the specified filtering criteria. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: String constraint. The key is swf:typeFilter.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - countClosedWorkflowExecutions(callback?: (err: AWSError, data: SWF.Types.WorkflowExecutionCount) => void): Request; - /** - * Returns the number of open workflow executions within the given domain that meet the specified filtering criteria. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: String constraint. The key is swf:typeFilter.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - countOpenWorkflowExecutions(params: SWF.Types.CountOpenWorkflowExecutionsInput, callback?: (err: AWSError, data: SWF.Types.WorkflowExecutionCount) => void): Request; - /** - * Returns the number of open workflow executions within the given domain that meet the specified filtering criteria. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: String constraint. The key is swf:typeFilter.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - countOpenWorkflowExecutions(callback?: (err: AWSError, data: SWF.Types.WorkflowExecutionCount) => void): Request; - /** - * Returns the estimated number of activity tasks in the specified task list. The count returned is an approximation and is not guaranteed to be exact. If you specify a task list that no activity task was ever scheduled in then 0 will be returned. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the taskList.name parameter by using a Condition element with the swf:taskList.name key to allow the action to access only certain task lists. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - countPendingActivityTasks(params: SWF.Types.CountPendingActivityTasksInput, callback?: (err: AWSError, data: SWF.Types.PendingTaskCount) => void): Request; - /** - * Returns the estimated number of activity tasks in the specified task list. The count returned is an approximation and is not guaranteed to be exact. If you specify a task list that no activity task was ever scheduled in then 0 will be returned. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the taskList.name parameter by using a Condition element with the swf:taskList.name key to allow the action to access only certain task lists. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - countPendingActivityTasks(callback?: (err: AWSError, data: SWF.Types.PendingTaskCount) => void): Request; - /** - * Returns the estimated number of decision tasks in the specified task list. The count returned is an approximation and is not guaranteed to be exact. If you specify a task list that no decision task was ever scheduled in then 0 will be returned. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the taskList.name parameter by using a Condition element with the swf:taskList.name key to allow the action to access only certain task lists. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - countPendingDecisionTasks(params: SWF.Types.CountPendingDecisionTasksInput, callback?: (err: AWSError, data: SWF.Types.PendingTaskCount) => void): Request; - /** - * Returns the estimated number of decision tasks in the specified task list. The count returned is an approximation and is not guaranteed to be exact. If you specify a task list that no decision task was ever scheduled in then 0 will be returned. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the taskList.name parameter by using a Condition element with the swf:taskList.name key to allow the action to access only certain task lists. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - countPendingDecisionTasks(callback?: (err: AWSError, data: SWF.Types.PendingTaskCount) => void): Request; - /** - * Deprecates the specified activity type. After an activity type has been deprecated, you cannot create new tasks of that activity type. Tasks of this type that were scheduled before the type was deprecated will continue to run. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. activityType.name: String constraint. The key is swf:activityType.name. activityType.version: String constraint. The key is swf:activityType.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - deprecateActivityType(params: SWF.Types.DeprecateActivityTypeInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deprecates the specified activity type. After an activity type has been deprecated, you cannot create new tasks of that activity type. Tasks of this type that were scheduled before the type was deprecated will continue to run. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. activityType.name: String constraint. The key is swf:activityType.name. activityType.version: String constraint. The key is swf:activityType.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - deprecateActivityType(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deprecates the specified domain. After a domain has been deprecated it cannot be used to create new workflow executions or register new types. However, you can still use visibility actions on this domain. Deprecating a domain also deprecates all activity and workflow types registered in the domain. Executions that were started before the domain was deprecated will continue to run. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - deprecateDomain(params: SWF.Types.DeprecateDomainInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deprecates the specified domain. After a domain has been deprecated it cannot be used to create new workflow executions or register new types. However, you can still use visibility actions on this domain. Deprecating a domain also deprecates all activity and workflow types registered in the domain. Executions that were started before the domain was deprecated will continue to run. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - deprecateDomain(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deprecates the specified workflow type. After a workflow type has been deprecated, you cannot create new executions of that type. Executions that were started before the type was deprecated will continue to run. A deprecated workflow type may still be used when calling visibility actions. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. workflowType.name: String constraint. The key is swf:workflowType.name. workflowType.version: String constraint. The key is swf:workflowType.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - deprecateWorkflowType(params: SWF.Types.DeprecateWorkflowTypeInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deprecates the specified workflow type. After a workflow type has been deprecated, you cannot create new executions of that type. Executions that were started before the type was deprecated will continue to run. A deprecated workflow type may still be used when calling visibility actions. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. workflowType.name: String constraint. The key is swf:workflowType.name. workflowType.version: String constraint. The key is swf:workflowType.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - deprecateWorkflowType(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Returns information about the specified activity type. This includes configuration settings provided when the type was registered and other general information about the type. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. activityType.name: String constraint. The key is swf:activityType.name. activityType.version: String constraint. The key is swf:activityType.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - describeActivityType(params: SWF.Types.DescribeActivityTypeInput, callback?: (err: AWSError, data: SWF.Types.ActivityTypeDetail) => void): Request; - /** - * Returns information about the specified activity type. This includes configuration settings provided when the type was registered and other general information about the type. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. activityType.name: String constraint. The key is swf:activityType.name. activityType.version: String constraint. The key is swf:activityType.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - describeActivityType(callback?: (err: AWSError, data: SWF.Types.ActivityTypeDetail) => void): Request; - /** - * Returns information about the specified domain, including description and status. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - describeDomain(params: SWF.Types.DescribeDomainInput, callback?: (err: AWSError, data: SWF.Types.DomainDetail) => void): Request; - /** - * Returns information about the specified domain, including description and status. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - describeDomain(callback?: (err: AWSError, data: SWF.Types.DomainDetail) => void): Request; - /** - * Returns information about the specified workflow execution including its type and some statistics. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - describeWorkflowExecution(params: SWF.Types.DescribeWorkflowExecutionInput, callback?: (err: AWSError, data: SWF.Types.WorkflowExecutionDetail) => void): Request; - /** - * Returns information about the specified workflow execution including its type and some statistics. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - describeWorkflowExecution(callback?: (err: AWSError, data: SWF.Types.WorkflowExecutionDetail) => void): Request; - /** - * Returns information about the specified workflow type. This includes configuration settings specified when the type was registered and other information such as creation date, current status, and so on. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. workflowType.name: String constraint. The key is swf:workflowType.name. workflowType.version: String constraint. The key is swf:workflowType.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - describeWorkflowType(params: SWF.Types.DescribeWorkflowTypeInput, callback?: (err: AWSError, data: SWF.Types.WorkflowTypeDetail) => void): Request; - /** - * Returns information about the specified workflow type. This includes configuration settings specified when the type was registered and other information such as creation date, current status, and so on. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. workflowType.name: String constraint. The key is swf:workflowType.name. workflowType.version: String constraint. The key is swf:workflowType.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - describeWorkflowType(callback?: (err: AWSError, data: SWF.Types.WorkflowTypeDetail) => void): Request; - /** - * Returns the history of the specified workflow execution. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - getWorkflowExecutionHistory(params: SWF.Types.GetWorkflowExecutionHistoryInput, callback?: (err: AWSError, data: SWF.Types.History) => void): Request; - /** - * Returns the history of the specified workflow execution. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - getWorkflowExecutionHistory(callback?: (err: AWSError, data: SWF.Types.History) => void): Request; - /** - * Returns information about all activities registered in the specified domain that match the specified name and registration status. The result includes information like creation date, current status of the activity, etc. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - listActivityTypes(params: SWF.Types.ListActivityTypesInput, callback?: (err: AWSError, data: SWF.Types.ActivityTypeInfos) => void): Request; - /** - * Returns information about all activities registered in the specified domain that match the specified name and registration status. The result includes information like creation date, current status of the activity, etc. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - listActivityTypes(callback?: (err: AWSError, data: SWF.Types.ActivityTypeInfos) => void): Request; - /** - * Returns a list of closed workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: String constraint. The key is swf:typeFilter.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - listClosedWorkflowExecutions(params: SWF.Types.ListClosedWorkflowExecutionsInput, callback?: (err: AWSError, data: SWF.Types.WorkflowExecutionInfos) => void): Request; - /** - * Returns a list of closed workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: String constraint. The key is swf:typeFilter.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - listClosedWorkflowExecutions(callback?: (err: AWSError, data: SWF.Types.WorkflowExecutionInfos) => void): Request; - /** - * Returns the list of domains registered in the account. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. The element must be set to arn:aws:swf::AccountID:domain/*, where AccountID is the account ID, with no dashes. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - listDomains(params: SWF.Types.ListDomainsInput, callback?: (err: AWSError, data: SWF.Types.DomainInfos) => void): Request; - /** - * Returns the list of domains registered in the account. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. The element must be set to arn:aws:swf::AccountID:domain/*, where AccountID is the account ID, with no dashes. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - listDomains(callback?: (err: AWSError, data: SWF.Types.DomainInfos) => void): Request; - /** - * Returns a list of open workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: String constraint. The key is swf:typeFilter.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - listOpenWorkflowExecutions(params: SWF.Types.ListOpenWorkflowExecutionsInput, callback?: (err: AWSError, data: SWF.Types.WorkflowExecutionInfos) => void): Request; - /** - * Returns a list of open workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: String constraint. The key is swf:typeFilter.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - listOpenWorkflowExecutions(callback?: (err: AWSError, data: SWF.Types.WorkflowExecutionInfos) => void): Request; - /** - * Returns information about workflow types in the specified domain. The results may be split into multiple pages that can be retrieved by making the call repeatedly. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - listWorkflowTypes(params: SWF.Types.ListWorkflowTypesInput, callback?: (err: AWSError, data: SWF.Types.WorkflowTypeInfos) => void): Request; - /** - * Returns information about workflow types in the specified domain. The results may be split into multiple pages that can be retrieved by making the call repeatedly. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - listWorkflowTypes(callback?: (err: AWSError, data: SWF.Types.WorkflowTypeInfos) => void): Request; - /** - * Used by workers to get an ActivityTask from the specified activity taskList. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available. The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll will return an empty result. An empty result, in this context, means that an ActivityTask is returned, but that the value of taskToken is an empty string. If a task is returned, the worker should use its type to identify and process it correctly. Workers should set their client side socket timeout to at least 70 seconds (10 seconds higher than the maximum time service may hold the poll request). Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the taskList.name parameter by using a Condition element with the swf:taskList.name key to allow the action to access only certain task lists. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - pollForActivityTask(params: SWF.Types.PollForActivityTaskInput, callback?: (err: AWSError, data: SWF.Types.ActivityTask) => void): Request; - /** - * Used by workers to get an ActivityTask from the specified activity taskList. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available. The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll will return an empty result. An empty result, in this context, means that an ActivityTask is returned, but that the value of taskToken is an empty string. If a task is returned, the worker should use its type to identify and process it correctly. Workers should set their client side socket timeout to at least 70 seconds (10 seconds higher than the maximum time service may hold the poll request). Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the taskList.name parameter by using a Condition element with the swf:taskList.name key to allow the action to access only certain task lists. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - pollForActivityTask(callback?: (err: AWSError, data: SWF.Types.ActivityTask) => void): Request; - /** - * Used by deciders to get a DecisionTask from the specified decision taskList. A decision task may be returned for any open workflow execution that is using the specified task list. The task includes a paginated view of the history of the workflow execution. The decider should use the workflow type and the history to determine how to properly handle the task. This action initiates a long poll, where the service holds the HTTP connection open and responds as soon a task becomes available. If no decision task is available in the specified task list before the timeout of 60 seconds expires, an empty result is returned. An empty result, in this context, means that a DecisionTask is returned, but that the value of taskToken is an empty string. Deciders should set their client-side socket timeout to at least 70 seconds (10 seconds higher than the timeout). Because the number of workflow history events for a single workflow execution might be very large, the result returned might be split up across a number of pages. To retrieve subsequent pages, make additional calls to PollForDecisionTask using the nextPageToken returned by the initial call. Note that you do not call GetWorkflowExecutionHistory with this nextPageToken. Instead, call PollForDecisionTask again. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the taskList.name parameter by using a Condition element with the swf:taskList.name key to allow the action to access only certain task lists. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - pollForDecisionTask(params: SWF.Types.PollForDecisionTaskInput, callback?: (err: AWSError, data: SWF.Types.DecisionTask) => void): Request; - /** - * Used by deciders to get a DecisionTask from the specified decision taskList. A decision task may be returned for any open workflow execution that is using the specified task list. The task includes a paginated view of the history of the workflow execution. The decider should use the workflow type and the history to determine how to properly handle the task. This action initiates a long poll, where the service holds the HTTP connection open and responds as soon a task becomes available. If no decision task is available in the specified task list before the timeout of 60 seconds expires, an empty result is returned. An empty result, in this context, means that a DecisionTask is returned, but that the value of taskToken is an empty string. Deciders should set their client-side socket timeout to at least 70 seconds (10 seconds higher than the timeout). Because the number of workflow history events for a single workflow execution might be very large, the result returned might be split up across a number of pages. To retrieve subsequent pages, make additional calls to PollForDecisionTask using the nextPageToken returned by the initial call. Note that you do not call GetWorkflowExecutionHistory with this nextPageToken. Instead, call PollForDecisionTask again. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the taskList.name parameter by using a Condition element with the swf:taskList.name key to allow the action to access only certain task lists. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - pollForDecisionTask(callback?: (err: AWSError, data: SWF.Types.DecisionTask) => void): Request; - /** - * Used by activity workers to report to the service that the ActivityTask represented by the specified taskToken is still making progress. The worker can also (optionally) specify details of the progress, for example percent complete, using the details parameter. This action can also be used by the worker as a mechanism to check if cancellation is being requested for the activity task. If a cancellation is being attempted for the specified task, then the boolean cancelRequested flag returned by the service is set to true. This action resets the taskHeartbeatTimeout clock. The taskHeartbeatTimeout is specified in RegisterActivityType. This action does not in itself create an event in the workflow execution history. However, if the task times out, the workflow execution history will contain a ActivityTaskTimedOut event that contains the information from the last heartbeat generated by the activity worker. The taskStartToCloseTimeout of an activity type is the maximum duration of an activity task, regardless of the number of RecordActivityTaskHeartbeat requests received. The taskStartToCloseTimeout is also specified in RegisterActivityType. This operation is only useful for long-lived activities to report liveliness of the task and to determine if a cancellation is being attempted. If the cancelRequested flag returns true, a cancellation is being attempted. If the worker can cancel the activity, it should respond with RespondActivityTaskCanceled. Otherwise, it should ignore the cancellation request. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - recordActivityTaskHeartbeat(params: SWF.Types.RecordActivityTaskHeartbeatInput, callback?: (err: AWSError, data: SWF.Types.ActivityTaskStatus) => void): Request; - /** - * Used by activity workers to report to the service that the ActivityTask represented by the specified taskToken is still making progress. The worker can also (optionally) specify details of the progress, for example percent complete, using the details parameter. This action can also be used by the worker as a mechanism to check if cancellation is being requested for the activity task. If a cancellation is being attempted for the specified task, then the boolean cancelRequested flag returned by the service is set to true. This action resets the taskHeartbeatTimeout clock. The taskHeartbeatTimeout is specified in RegisterActivityType. This action does not in itself create an event in the workflow execution history. However, if the task times out, the workflow execution history will contain a ActivityTaskTimedOut event that contains the information from the last heartbeat generated by the activity worker. The taskStartToCloseTimeout of an activity type is the maximum duration of an activity task, regardless of the number of RecordActivityTaskHeartbeat requests received. The taskStartToCloseTimeout is also specified in RegisterActivityType. This operation is only useful for long-lived activities to report liveliness of the task and to determine if a cancellation is being attempted. If the cancelRequested flag returns true, a cancellation is being attempted. If the worker can cancel the activity, it should respond with RespondActivityTaskCanceled. Otherwise, it should ignore the cancellation request. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - recordActivityTaskHeartbeat(callback?: (err: AWSError, data: SWF.Types.ActivityTaskStatus) => void): Request; - /** - * Registers a new activity type along with its configuration settings in the specified domain. A TypeAlreadyExists fault is returned if the type already exists in the domain. You cannot change any configuration settings of the type after its registration, and it must be registered as a new version. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. defaultTaskList.name: String constraint. The key is swf:defaultTaskList.name. name: String constraint. The key is swf:name. version: String constraint. The key is swf:version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - registerActivityType(params: SWF.Types.RegisterActivityTypeInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers a new activity type along with its configuration settings in the specified domain. A TypeAlreadyExists fault is returned if the type already exists in the domain. You cannot change any configuration settings of the type after its registration, and it must be registered as a new version. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. defaultTaskList.name: String constraint. The key is swf:defaultTaskList.name. name: String constraint. The key is swf:name. version: String constraint. The key is swf:version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - registerActivityType(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers a new domain. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: You cannot use an IAM policy to control domain access for this action. The name of the domain being registered is available as the resource of this action. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - registerDomain(params: SWF.Types.RegisterDomainInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers a new domain. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: You cannot use an IAM policy to control domain access for this action. The name of the domain being registered is available as the resource of this action. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - registerDomain(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers a new workflow type and its configuration settings in the specified domain. The retention period for the workflow history is set by the RegisterDomain action. If the type already exists, then a TypeAlreadyExists fault is returned. You cannot change the configuration settings of a workflow type once it is registered and it must be registered as a new version. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. defaultTaskList.name: String constraint. The key is swf:defaultTaskList.name. name: String constraint. The key is swf:name. version: String constraint. The key is swf:version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - registerWorkflowType(params: SWF.Types.RegisterWorkflowTypeInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Registers a new workflow type and its configuration settings in the specified domain. The retention period for the workflow history is set by the RegisterDomain action. If the type already exists, then a TypeAlreadyExists fault is returned. You cannot change the configuration settings of a workflow type once it is registered and it must be registered as a new version. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. defaultTaskList.name: String constraint. The key is swf:defaultTaskList.name. name: String constraint. The key is swf:name. version: String constraint. The key is swf:version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - registerWorkflowType(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Records a WorkflowExecutionCancelRequested event in the currently running workflow execution identified by the given domain, workflowId, and runId. This logically requests the cancellation of the workflow execution as a whole. It is up to the decider to take appropriate actions when it receives an execution history with this event. If the runId is not specified, the WorkflowExecutionCancelRequested event is recorded in the history of the current open workflow execution with the specified workflowId in the domain. Because this action allows the workflow to properly clean up and gracefully close, it should be used instead of TerminateWorkflowExecution when possible. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - requestCancelWorkflowExecution(params: SWF.Types.RequestCancelWorkflowExecutionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Records a WorkflowExecutionCancelRequested event in the currently running workflow execution identified by the given domain, workflowId, and runId. This logically requests the cancellation of the workflow execution as a whole. It is up to the decider to take appropriate actions when it receives an execution history with this event. If the runId is not specified, the WorkflowExecutionCancelRequested event is recorded in the history of the current open workflow execution with the specified workflowId in the domain. Because this action allows the workflow to properly clean up and gracefully close, it should be used instead of TerminateWorkflowExecution when possible. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - requestCancelWorkflowExecution(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Used by workers to tell the service that the ActivityTask identified by the taskToken was successfully canceled. Additional details can be optionally provided using the details argument. These details (if provided) appear in the ActivityTaskCanceled event added to the workflow history. Only use this operation if the canceled flag of a RecordActivityTaskHeartbeat request returns true and if the activity can be safely undone or abandoned. A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - respondActivityTaskCanceled(params: SWF.Types.RespondActivityTaskCanceledInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Used by workers to tell the service that the ActivityTask identified by the taskToken was successfully canceled. Additional details can be optionally provided using the details argument. These details (if provided) appear in the ActivityTaskCanceled event added to the workflow history. Only use this operation if the canceled flag of a RecordActivityTaskHeartbeat request returns true and if the activity can be safely undone or abandoned. A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - respondActivityTaskCanceled(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Used by workers to tell the service that the ActivityTask identified by the taskToken completed successfully with a result (if provided). The result appears in the ActivityTaskCompleted event in the workflow history. If the requested task does not complete successfully, use RespondActivityTaskFailed instead. If the worker finds that the task is canceled through the canceled flag returned by RecordActivityTaskHeartbeat, it should cancel the task, clean up and then call RespondActivityTaskCanceled. A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - respondActivityTaskCompleted(params: SWF.Types.RespondActivityTaskCompletedInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Used by workers to tell the service that the ActivityTask identified by the taskToken completed successfully with a result (if provided). The result appears in the ActivityTaskCompleted event in the workflow history. If the requested task does not complete successfully, use RespondActivityTaskFailed instead. If the worker finds that the task is canceled through the canceled flag returned by RecordActivityTaskHeartbeat, it should cancel the task, clean up and then call RespondActivityTaskCanceled. A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - respondActivityTaskCompleted(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Used by workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified). The reason and details appear in the ActivityTaskFailed event added to the workflow history. A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - respondActivityTaskFailed(params: SWF.Types.RespondActivityTaskFailedInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Used by workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified). The reason and details appear in the ActivityTaskFailed event added to the workflow history. A task is considered open from the time that it is scheduled until it is closed. Therefore a task is reported as open while a worker is processing it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed out. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - respondActivityTaskFailed(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Used by deciders to tell the service that the DecisionTask identified by the taskToken has successfully completed. The decisions argument specifies the list of decisions made while processing the task. A DecisionTaskCompleted event is added to the workflow history. The executionContext specified is attached to the event in the workflow execution history. Access Control If an IAM policy grants permission to use RespondDecisionTaskCompleted, it can express permissions for the list of decisions in the decisions parameter. Each of the decisions has one or more parameters, much like a regular API call. To allow for policies to be as readable as possible, you can express permissions on decisions as if they were actual API calls, including applying conditions to some parameters. For more information, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - respondDecisionTaskCompleted(params: SWF.Types.RespondDecisionTaskCompletedInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Used by deciders to tell the service that the DecisionTask identified by the taskToken has successfully completed. The decisions argument specifies the list of decisions made while processing the task. A DecisionTaskCompleted event is added to the workflow history. The executionContext specified is attached to the event in the workflow execution history. Access Control If an IAM policy grants permission to use RespondDecisionTaskCompleted, it can express permissions for the list of decisions in the decisions parameter. Each of the decisions has one or more parameters, much like a regular API call. To allow for policies to be as readable as possible, you can express permissions on decisions as if they were actual API calls, including applying conditions to some parameters. For more information, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - respondDecisionTaskCompleted(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Records a WorkflowExecutionSignaled event in the workflow execution history and creates a decision task for the workflow execution identified by the given domain, workflowId and runId. The event is recorded with the specified user defined signalName and input (if provided). If a runId is not specified, then the WorkflowExecutionSignaled event is recorded in the history of the current open workflow with the matching workflowId in the domain. If the specified workflow execution is not open, this method fails with UnknownResource. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - signalWorkflowExecution(params: SWF.Types.SignalWorkflowExecutionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Records a WorkflowExecutionSignaled event in the workflow execution history and creates a decision task for the workflow execution identified by the given domain, workflowId and runId. The event is recorded with the specified user defined signalName and input (if provided). If a runId is not specified, then the WorkflowExecutionSignaled event is recorded in the history of the current open workflow with the matching workflowId in the domain. If the specified workflow execution is not open, this method fails with UnknownResource. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - signalWorkflowExecution(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Starts an execution of the workflow type in the specified domain using the provided workflowId and input data. This action returns the newly started workflow execution. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. tagList.member.0: The key is swf:tagList.member.0. tagList.member.1: The key is swf:tagList.member.1. tagList.member.2: The key is swf:tagList.member.2. tagList.member.3: The key is swf:tagList.member.3. tagList.member.4: The key is swf:tagList.member.4. taskList: String constraint. The key is swf:taskList.name. workflowType.name: String constraint. The key is swf:workflowType.name. workflowType.version: String constraint. The key is swf:workflowType.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - startWorkflowExecution(params: SWF.Types.StartWorkflowExecutionInput, callback?: (err: AWSError, data: SWF.Types.Run) => void): Request; - /** - * Starts an execution of the workflow type in the specified domain using the provided workflowId and input data. This action returns the newly started workflow execution. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. Constrain the following parameters by using a Condition element with the appropriate keys. tagList.member.0: The key is swf:tagList.member.0. tagList.member.1: The key is swf:tagList.member.1. tagList.member.2: The key is swf:tagList.member.2. tagList.member.3: The key is swf:tagList.member.3. tagList.member.4: The key is swf:tagList.member.4. taskList: String constraint. The key is swf:taskList.name. workflowType.name: String constraint. The key is swf:workflowType.name. workflowType.version: String constraint. The key is swf:workflowType.version. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - startWorkflowExecution(callback?: (err: AWSError, data: SWF.Types.Run) => void): Request; - /** - * Records a WorkflowExecutionTerminated event and forces closure of the workflow execution identified by the given domain, runId, and workflowId. The child policy, registered with the workflow type or specified when starting this execution, is applied to any open child workflow executions of this workflow execution. If the identified workflow execution was in progress, it is terminated immediately. If a runId is not specified, then the WorkflowExecutionTerminated event is recorded in the history of the current open workflow with the matching workflowId in the domain. You should consider using RequestCancelWorkflowExecution action instead because it allows the workflow to gracefully close while TerminateWorkflowExecution does not. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - terminateWorkflowExecution(params: SWF.Types.TerminateWorkflowExecutionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Records a WorkflowExecutionTerminated event and forces closure of the workflow execution identified by the given domain, runId, and workflowId. The child policy, registered with the workflow type or specified when starting this execution, is applied to any open child workflow executions of this workflow execution. If the identified workflow execution was in progress, it is terminated immediately. If a runId is not specified, then the WorkflowExecutionTerminated event is recorded in the history of the current open workflow with the matching workflowId in the domain. You should consider using RequestCancelWorkflowExecution action instead because it allows the workflow to gracefully close while TerminateWorkflowExecution does not. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - terminateWorkflowExecution(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; -} -declare namespace SWF { - export type ActivityId = string; - export interface ActivityTask { - /** - * The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task. - */ - taskToken: TaskToken; - /** - * The unique ID of the task. - */ - activityId: ActivityId; - /** - * The ID of the ActivityTaskStarted event recorded in the history. - */ - startedEventId: EventId; - /** - * The workflow execution that started this activity task. - */ - workflowExecution: WorkflowExecution; - /** - * The type of this activity task. - */ - activityType: ActivityType; - /** - * The inputs provided when the activity task was scheduled. The form of the input is user defined and should be meaningful to the activity implementation. - */ - input?: Data; - } - export interface ActivityTaskCancelRequestedEventAttributes { - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - /** - * The unique ID of the task. - */ - activityId: ActivityId; - } - export interface ActivityTaskCanceledEventAttributes { - /** - * Details of the cancellation (if any). - */ - details?: Data; - /** - * The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - /** - * The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - /** - * If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - latestCancelRequestedEventId?: EventId; - } - export interface ActivityTaskCompletedEventAttributes { - /** - * The results of the activity task (if any). - */ - result?: Data; - /** - * The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - /** - * The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - } - export interface ActivityTaskFailedEventAttributes { - /** - * The reason provided for the failure (if any). - */ - reason?: FailureReason; - /** - * The details of the failure (if any). - */ - details?: Data; - /** - * The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - /** - * The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - } - export interface ActivityTaskScheduledEventAttributes { - /** - * The type of the activity task. - */ - activityType: ActivityType; - /** - * The unique ID of the activity task. - */ - activityId: ActivityId; - /** - * The input provided to the activity task. - */ - input?: Data; - /** - * Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity. - */ - control?: Data; - /** - * The maximum amount of time the activity task can wait to be assigned to a worker. - */ - scheduleToStartTimeout?: DurationInSecondsOptional; - /** - * The maximum amount of time for this activity task. - */ - scheduleToCloseTimeout?: DurationInSecondsOptional; - /** - * The maximum amount of time a worker may take to process the activity task. - */ - startToCloseTimeout?: DurationInSecondsOptional; - /** - * The task list in which the activity task has been scheduled. - */ - taskList: TaskList; - /** - * Optional. The priority to assign to the scheduled activity task. If set, this will override any default priority value that was assigned when the activity type was registered. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - taskPriority?: TaskPriority; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - /** - * The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it will be ignored. - */ - heartbeatTimeout?: DurationInSecondsOptional; - } - export interface ActivityTaskStartedEventAttributes { - /** - * Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined. - */ - identity?: Identity; - /** - * The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - } - export interface ActivityTaskStatus { - /** - * Set to true if cancellation of the task is requested. - */ - cancelRequested: Canceled; - } - export interface ActivityTaskTimedOutEventAttributes { - /** - * The type of the timeout that caused this event. - */ - timeoutType: ActivityTaskTimeoutType; - /** - * The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - /** - * The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - /** - * Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat. - */ - details?: LimitedData; - } - export type ActivityTaskTimeoutType = "START_TO_CLOSE"|"SCHEDULE_TO_START"|"SCHEDULE_TO_CLOSE"|"HEARTBEAT"|string; - export interface ActivityType { - /** - * The name of this activity. The combination of activity type name and version must be unique within a domain. - */ - name: Name; - /** - * The version of this activity. The combination of activity type name and version must be unique with in a domain. - */ - version: Version; - } - export interface ActivityTypeConfiguration { - /** - * Optional. The default maximum duration for tasks of an activity type specified when registering the activity type. You can override this default when scheduling a task through the ScheduleActivityTask decision. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultTaskStartToCloseTimeout?: DurationInSecondsOptional; - /** - * Optional. The default maximum time, in seconds, before which a worker processing a task must report progress by calling RecordActivityTaskHeartbeat. You can specify this value only when registering an activity type. The registered default value can be overridden when you schedule a task through the ScheduleActivityTask decision. If the activity worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should clean up the activity task. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultTaskHeartbeatTimeout?: DurationInSecondsOptional; - /** - * Optional. The default task list specified for this activity type at registration. This default is used if a task list is not provided when a task is scheduled through the ScheduleActivityTask decision. You can override the default registered task list when scheduling a task through the ScheduleActivityTask decision. - */ - defaultTaskList?: TaskList; - /** - * Optional. The default task priority for tasks of this activity type, specified at registration. If not set, then "0" will be used as the default priority. This default can be overridden when scheduling an activity task. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - defaultTaskPriority?: TaskPriority; - /** - * Optional. The default maximum duration, specified when registering the activity type, that a task of an activity type can wait before being assigned to a worker. You can override this default when scheduling a task through the ScheduleActivityTask decision. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultTaskScheduleToStartTimeout?: DurationInSecondsOptional; - /** - * Optional. The default maximum duration, specified when registering the activity type, for tasks of this activity type. You can override this default when scheduling a task through the ScheduleActivityTask decision. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultTaskScheduleToCloseTimeout?: DurationInSecondsOptional; - } - export interface ActivityTypeDetail { - /** - * General information about the activity type. The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following. REGISTERED: The type is registered and available. Workers supporting this type should be running. DEPRECATED: The type was deprecated using DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type. - */ - typeInfo: ActivityTypeInfo; - /** - * The configuration settings registered with the activity type. - */ - configuration: ActivityTypeConfiguration; - } - export interface ActivityTypeInfo { - /** - * The ActivityType type structure representing the activity type. - */ - activityType: ActivityType; - /** - * The current status of the activity type. - */ - status: RegistrationStatus; - /** - * The description of the activity type provided in RegisterActivityType. - */ - description?: Description; - /** - * The date and time this activity type was created through RegisterActivityType. - */ - creationDate: Timestamp; - /** - * If DEPRECATED, the date and time DeprecateActivityType was called. - */ - deprecationDate?: Timestamp; - } - export type ActivityTypeInfoList = ActivityTypeInfo[]; - export interface ActivityTypeInfos { - /** - * List of activity type information. - */ - typeInfos: ActivityTypeInfoList; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - } - export type Arn = string; - export interface CancelTimerDecisionAttributes { - /** - * Required. The unique ID of the timer to cancel. - */ - timerId: TimerId; - } - export type CancelTimerFailedCause = "TIMER_ID_UNKNOWN"|"OPERATION_NOT_PERMITTED"|string; - export interface CancelTimerFailedEventAttributes { - /** - * The timerId provided in the CancelTimer decision that failed. - */ - timerId: TimerId; - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: CancelTimerFailedCause; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface CancelWorkflowExecutionDecisionAttributes { - /** - * Optional. details of the cancellation. - */ - details?: Data; - } - export type CancelWorkflowExecutionFailedCause = "UNHANDLED_DECISION"|"OPERATION_NOT_PERMITTED"|string; - export interface CancelWorkflowExecutionFailedEventAttributes { - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: CancelWorkflowExecutionFailedCause; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export type Canceled = boolean; - export type CauseMessage = string; - export type ChildPolicy = "TERMINATE"|"REQUEST_CANCEL"|"ABANDON"|string; - export interface ChildWorkflowExecutionCanceledEventAttributes { - /** - * The child workflow execution that was canceled. - */ - workflowExecution: WorkflowExecution; - /** - * The type of the child workflow execution. - */ - workflowType: WorkflowType; - /** - * Details of the cancellation (if provided). - */ - details?: Data; - /** - * The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - /** - * The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - } - export interface ChildWorkflowExecutionCompletedEventAttributes { - /** - * The child workflow execution that was completed. - */ - workflowExecution: WorkflowExecution; - /** - * The type of the child workflow execution. - */ - workflowType: WorkflowType; - /** - * The result of the child workflow execution (if any). - */ - result?: Data; - /** - * The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - /** - * The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - } - export interface ChildWorkflowExecutionFailedEventAttributes { - /** - * The child workflow execution that failed. - */ - workflowExecution: WorkflowExecution; - /** - * The type of the child workflow execution. - */ - workflowType: WorkflowType; - /** - * The reason for the failure (if provided). - */ - reason?: FailureReason; - /** - * The details of the failure (if provided). - */ - details?: Data; - /** - * The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - /** - * The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - } - export interface ChildWorkflowExecutionStartedEventAttributes { - /** - * The child workflow execution that was started. - */ - workflowExecution: WorkflowExecution; - /** - * The type of the child workflow execution. - */ - workflowType: WorkflowType; - /** - * The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - } - export interface ChildWorkflowExecutionTerminatedEventAttributes { - /** - * The child workflow execution that was terminated. - */ - workflowExecution: WorkflowExecution; - /** - * The type of the child workflow execution. - */ - workflowType: WorkflowType; - /** - * The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - /** - * The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - } - export interface ChildWorkflowExecutionTimedOutEventAttributes { - /** - * The child workflow execution that timed out. - */ - workflowExecution: WorkflowExecution; - /** - * The type of the child workflow execution. - */ - workflowType: WorkflowType; - /** - * The type of the timeout that caused the child workflow execution to time out. - */ - timeoutType: WorkflowExecutionTimeoutType; - /** - * The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - /** - * The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - } - export type CloseStatus = "COMPLETED"|"FAILED"|"CANCELED"|"TERMINATED"|"CONTINUED_AS_NEW"|"TIMED_OUT"|string; - export interface CloseStatusFilter { - /** - * Required. The close status that must match the close status of an execution for it to meet the criteria of this filter. - */ - status: CloseStatus; - } - export interface CompleteWorkflowExecutionDecisionAttributes { - /** - * The result of the workflow execution. The form of the result is implementation defined. - */ - result?: Data; - } - export type CompleteWorkflowExecutionFailedCause = "UNHANDLED_DECISION"|"OPERATION_NOT_PERMITTED"|string; - export interface CompleteWorkflowExecutionFailedEventAttributes { - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: CompleteWorkflowExecutionFailedCause; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface ContinueAsNewWorkflowExecutionDecisionAttributes { - /** - * The input provided to the new workflow execution. - */ - input?: Data; - /** - * If set, specifies the total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this field. If neither this field is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned. - */ - executionStartToCloseTimeout?: DurationInSecondsOptional; - taskList?: TaskList; - /** - * Optional. The task priority that, if set, specifies the priority for the decision tasks for this workflow execution. This overrides the defaultTaskPriority specified when registering the workflow type. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - taskPriority?: TaskPriority; - /** - * Specifies the maximum duration of decision tasks for the new workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. A task start-to-close timeout for the new workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned. - */ - taskStartToCloseTimeout?: DurationInSecondsOptional; - /** - * If set, specifies the policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault will be returned. - */ - childPolicy?: ChildPolicy; - /** - * The list of tags to associate with the new workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter. - */ - tagList?: TagList; - workflowTypeVersion?: Version; - /** - * The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions. In order for this workflow execution to invoke AWS Lambda functions, an appropriate IAM role must be specified either as a default for the workflow type or through this field. - */ - lambdaRole?: Arn; - } - export type ContinueAsNewWorkflowExecutionFailedCause = "UNHANDLED_DECISION"|"WORKFLOW_TYPE_DEPRECATED"|"WORKFLOW_TYPE_DOES_NOT_EXIST"|"DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"|"DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"|"DEFAULT_TASK_LIST_UNDEFINED"|"DEFAULT_CHILD_POLICY_UNDEFINED"|"CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED"|"OPERATION_NOT_PERMITTED"|string; - export interface ContinueAsNewWorkflowExecutionFailedEventAttributes { - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: ContinueAsNewWorkflowExecutionFailedCause; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export type Count = number; - export interface CountClosedWorkflowExecutionsInput { - /** - * The name of the domain containing the workflow executions to count. - */ - domain: DomainName; - /** - * If specified, only workflow executions that meet the start time criteria of the filter are counted. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both. - */ - startTimeFilter?: ExecutionTimeFilter; - /** - * If specified, only workflow executions that meet the close time criteria of the filter are counted. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both. - */ - closeTimeFilter?: ExecutionTimeFilter; - /** - * If specified, only workflow executions matching the WorkflowId in the filter are counted. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - executionFilter?: WorkflowExecutionFilter; - /** - * If specified, indicates the type of the workflow executions to be counted. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - typeFilter?: WorkflowTypeFilter; - /** - * If specified, only executions that have a tag that matches the filter are counted. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - tagFilter?: TagFilter; - /** - * If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus is specified as CLOSED. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - closeStatusFilter?: CloseStatusFilter; - } - export interface CountOpenWorkflowExecutionsInput { - /** - * The name of the domain containing the workflow executions to count. - */ - domain: DomainName; - /** - * Specifies the start time criteria that workflow executions must meet in order to be counted. - */ - startTimeFilter: ExecutionTimeFilter; - /** - * Specifies the type of the workflow executions to be counted. executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - typeFilter?: WorkflowTypeFilter; - /** - * If specified, only executions that have a tag that matches the filter are counted. executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - tagFilter?: TagFilter; - /** - * If specified, only workflow executions matching the WorkflowId in the filter are counted. executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - executionFilter?: WorkflowExecutionFilter; - } - export interface CountPendingActivityTasksInput { - /** - * The name of the domain that contains the task list. - */ - domain: DomainName; - /** - * The name of the task list. - */ - taskList: TaskList; - } - export interface CountPendingDecisionTasksInput { - /** - * The name of the domain that contains the task list. - */ - domain: DomainName; - /** - * The name of the task list. - */ - taskList: TaskList; - } - export type Data = string; - export interface Decision { - /** - * Specifies the type of the decision. - */ - decisionType: DecisionType; - /** - * Provides details of the ScheduleActivityTask decision. It is not set for other decision types. - */ - scheduleActivityTaskDecisionAttributes?: ScheduleActivityTaskDecisionAttributes; - /** - * Provides details of the RequestCancelActivityTask decision. It is not set for other decision types. - */ - requestCancelActivityTaskDecisionAttributes?: RequestCancelActivityTaskDecisionAttributes; - /** - * Provides details of the CompleteWorkflowExecution decision. It is not set for other decision types. - */ - completeWorkflowExecutionDecisionAttributes?: CompleteWorkflowExecutionDecisionAttributes; - /** - * Provides details of the FailWorkflowExecution decision. It is not set for other decision types. - */ - failWorkflowExecutionDecisionAttributes?: FailWorkflowExecutionDecisionAttributes; - /** - * Provides details of the CancelWorkflowExecution decision. It is not set for other decision types. - */ - cancelWorkflowExecutionDecisionAttributes?: CancelWorkflowExecutionDecisionAttributes; - /** - * Provides details of the ContinueAsNewWorkflowExecution decision. It is not set for other decision types. - */ - continueAsNewWorkflowExecutionDecisionAttributes?: ContinueAsNewWorkflowExecutionDecisionAttributes; - /** - * Provides details of the RecordMarker decision. It is not set for other decision types. - */ - recordMarkerDecisionAttributes?: RecordMarkerDecisionAttributes; - /** - * Provides details of the StartTimer decision. It is not set for other decision types. - */ - startTimerDecisionAttributes?: StartTimerDecisionAttributes; - /** - * Provides details of the CancelTimer decision. It is not set for other decision types. - */ - cancelTimerDecisionAttributes?: CancelTimerDecisionAttributes; - /** - * Provides details of the SignalExternalWorkflowExecution decision. It is not set for other decision types. - */ - signalExternalWorkflowExecutionDecisionAttributes?: SignalExternalWorkflowExecutionDecisionAttributes; - /** - * Provides details of the RequestCancelExternalWorkflowExecution decision. It is not set for other decision types. - */ - requestCancelExternalWorkflowExecutionDecisionAttributes?: RequestCancelExternalWorkflowExecutionDecisionAttributes; - /** - * Provides details of the StartChildWorkflowExecution decision. It is not set for other decision types. - */ - startChildWorkflowExecutionDecisionAttributes?: StartChildWorkflowExecutionDecisionAttributes; - scheduleLambdaFunctionDecisionAttributes?: ScheduleLambdaFunctionDecisionAttributes; - } - export type DecisionList = Decision[]; - export interface DecisionTask { - /** - * The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task. - */ - taskToken: TaskToken; - /** - * The ID of the DecisionTaskStarted event recorded in the history. - */ - startedEventId: EventId; - /** - * The workflow execution for which this decision task was created. - */ - workflowExecution: WorkflowExecution; - /** - * The type of the workflow execution for which this decision task was created. - */ - workflowType: WorkflowType; - /** - * A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task. - */ - events: HistoryEventList; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - /** - * The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider. - */ - previousStartedEventId?: EventId; - } - export interface DecisionTaskCompletedEventAttributes { - /** - * User defined context for the workflow execution. - */ - executionContext?: Data; - /** - * The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - /** - * The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - } - export interface DecisionTaskScheduledEventAttributes { - /** - * The name of the task list in which the decision task was scheduled. - */ - taskList: TaskList; - /** - * Optional. A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - taskPriority?: TaskPriority; - /** - * The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - startToCloseTimeout?: DurationInSecondsOptional; - } - export interface DecisionTaskStartedEventAttributes { - /** - * Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined. - */ - identity?: Identity; - /** - * The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - } - export interface DecisionTaskTimedOutEventAttributes { - /** - * The type of timeout that expired before the decision task could be completed. - */ - timeoutType: DecisionTaskTimeoutType; - /** - * The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - /** - * The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - } - export type DecisionTaskTimeoutType = "START_TO_CLOSE"|string; - export type DecisionType = "ScheduleActivityTask"|"RequestCancelActivityTask"|"CompleteWorkflowExecution"|"FailWorkflowExecution"|"CancelWorkflowExecution"|"ContinueAsNewWorkflowExecution"|"RecordMarker"|"StartTimer"|"CancelTimer"|"SignalExternalWorkflowExecution"|"RequestCancelExternalWorkflowExecution"|"StartChildWorkflowExecution"|"ScheduleLambdaFunction"|string; - export interface DeprecateActivityTypeInput { - /** - * The name of the domain in which the activity type is registered. - */ - domain: DomainName; - /** - * The activity type to deprecate. - */ - activityType: ActivityType; - } - export interface DeprecateDomainInput { - /** - * The name of the domain to deprecate. - */ - name: DomainName; - } - export interface DeprecateWorkflowTypeInput { - /** - * The name of the domain in which the workflow type is registered. - */ - domain: DomainName; - /** - * The workflow type to deprecate. - */ - workflowType: WorkflowType; - } - export interface DescribeActivityTypeInput { - /** - * The name of the domain in which the activity type is registered. - */ - domain: DomainName; - /** - * The activity type to get information about. Activity types are identified by the name and version that were supplied when the activity was registered. - */ - activityType: ActivityType; - } - export interface DescribeDomainInput { - /** - * The name of the domain to describe. - */ - name: DomainName; - } - export interface DescribeWorkflowExecutionInput { - /** - * The name of the domain containing the workflow execution. - */ - domain: DomainName; - /** - * The workflow execution to describe. - */ - execution: WorkflowExecution; - } - export interface DescribeWorkflowTypeInput { - /** - * The name of the domain in which this workflow type is registered. - */ - domain: DomainName; - /** - * The workflow type to describe. - */ - workflowType: WorkflowType; - } - export type Description = string; - export interface DomainConfiguration { - /** - * The retention period for workflow executions in this domain. - */ - workflowExecutionRetentionPeriodInDays: DurationInDays; - } - export interface DomainDetail { - domainInfo: DomainInfo; - configuration: DomainConfiguration; - } - export interface DomainInfo { - /** - * The name of the domain. This name is unique within the account. - */ - name: DomainName; - /** - * The status of the domain: REGISTERED: The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions. DEPRECATED: The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain. - */ - status: RegistrationStatus; - /** - * The description of the domain provided through RegisterDomain. - */ - description?: Description; - } - export type DomainInfoList = DomainInfo[]; - export interface DomainInfos { - /** - * A list of DomainInfo structures. - */ - domainInfos: DomainInfoList; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - } - export type DomainName = string; - export type DurationInDays = string; - export type DurationInSeconds = string; - export type DurationInSecondsOptional = string; - export type ErrorMessage = string; - export type EventId = number; - export type EventType = "WorkflowExecutionStarted"|"WorkflowExecutionCancelRequested"|"WorkflowExecutionCompleted"|"CompleteWorkflowExecutionFailed"|"WorkflowExecutionFailed"|"FailWorkflowExecutionFailed"|"WorkflowExecutionTimedOut"|"WorkflowExecutionCanceled"|"CancelWorkflowExecutionFailed"|"WorkflowExecutionContinuedAsNew"|"ContinueAsNewWorkflowExecutionFailed"|"WorkflowExecutionTerminated"|"DecisionTaskScheduled"|"DecisionTaskStarted"|"DecisionTaskCompleted"|"DecisionTaskTimedOut"|"ActivityTaskScheduled"|"ScheduleActivityTaskFailed"|"ActivityTaskStarted"|"ActivityTaskCompleted"|"ActivityTaskFailed"|"ActivityTaskTimedOut"|"ActivityTaskCanceled"|"ActivityTaskCancelRequested"|"RequestCancelActivityTaskFailed"|"WorkflowExecutionSignaled"|"MarkerRecorded"|"RecordMarkerFailed"|"TimerStarted"|"StartTimerFailed"|"TimerFired"|"TimerCanceled"|"CancelTimerFailed"|"StartChildWorkflowExecutionInitiated"|"StartChildWorkflowExecutionFailed"|"ChildWorkflowExecutionStarted"|"ChildWorkflowExecutionCompleted"|"ChildWorkflowExecutionFailed"|"ChildWorkflowExecutionTimedOut"|"ChildWorkflowExecutionCanceled"|"ChildWorkflowExecutionTerminated"|"SignalExternalWorkflowExecutionInitiated"|"SignalExternalWorkflowExecutionFailed"|"ExternalWorkflowExecutionSignaled"|"RequestCancelExternalWorkflowExecutionInitiated"|"RequestCancelExternalWorkflowExecutionFailed"|"ExternalWorkflowExecutionCancelRequested"|"LambdaFunctionScheduled"|"LambdaFunctionStarted"|"LambdaFunctionCompleted"|"LambdaFunctionFailed"|"LambdaFunctionTimedOut"|"ScheduleLambdaFunctionFailed"|"StartLambdaFunctionFailed"|string; - export type ExecutionStatus = "OPEN"|"CLOSED"|string; - export interface ExecutionTimeFilter { - /** - * Specifies the oldest start or close date and time to return. - */ - oldestDate: Timestamp; - /** - * Specifies the latest start or close date and time to return. - */ - latestDate?: Timestamp; - } - export interface ExternalWorkflowExecutionCancelRequestedEventAttributes { - /** - * The external workflow execution to which the cancellation request was delivered. - */ - workflowExecution: WorkflowExecution; - /** - * The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - } - export interface ExternalWorkflowExecutionSignaledEventAttributes { - /** - * The external workflow execution that the signal was delivered to. - */ - workflowExecution: WorkflowExecution; - /** - * The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - } - export interface FailWorkflowExecutionDecisionAttributes { - /** - * A descriptive reason for the failure that may help in diagnostics. - */ - reason?: FailureReason; - /** - * Optional. Details of the failure. - */ - details?: Data; - } - export type FailWorkflowExecutionFailedCause = "UNHANDLED_DECISION"|"OPERATION_NOT_PERMITTED"|string; - export interface FailWorkflowExecutionFailedEventAttributes { - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: FailWorkflowExecutionFailedCause; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export type FailureReason = string; - export type FunctionId = string; - export type FunctionInput = string; - export type FunctionName = string; - export interface GetWorkflowExecutionHistoryInput { - /** - * The name of the domain containing the workflow execution. - */ - domain: DomainName; - /** - * Specifies the workflow execution for which to return the history. - */ - execution: WorkflowExecution; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - /** - * The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maximumPageSize?: PageSize; - /** - * When set to true, returns the events in reverse order. By default the results are returned in ascending order of the eventTimeStamp of the events. - */ - reverseOrder?: ReverseOrder; - } - export interface History { - /** - * The list of history events. - */ - events: HistoryEventList; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - } - export interface HistoryEvent { - /** - * The date and time when the event occurred. - */ - eventTimestamp: Timestamp; - /** - * The type of the history event. - */ - eventType: EventType; - /** - * The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history. - */ - eventId: EventId; - /** - * If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types. - */ - workflowExecutionStartedEventAttributes?: WorkflowExecutionStartedEventAttributes; - /** - * If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types. - */ - workflowExecutionCompletedEventAttributes?: WorkflowExecutionCompletedEventAttributes; - /** - * If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - completeWorkflowExecutionFailedEventAttributes?: CompleteWorkflowExecutionFailedEventAttributes; - /** - * If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - workflowExecutionFailedEventAttributes?: WorkflowExecutionFailedEventAttributes; - /** - * If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - failWorkflowExecutionFailedEventAttributes?: FailWorkflowExecutionFailedEventAttributes; - /** - * If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types. - */ - workflowExecutionTimedOutEventAttributes?: WorkflowExecutionTimedOutEventAttributes; - /** - * If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types. - */ - workflowExecutionCanceledEventAttributes?: WorkflowExecutionCanceledEventAttributes; - /** - * If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - cancelWorkflowExecutionFailedEventAttributes?: CancelWorkflowExecutionFailedEventAttributes; - /** - * If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It is not set for other event types. - */ - workflowExecutionContinuedAsNewEventAttributes?: WorkflowExecutionContinuedAsNewEventAttributes; - /** - * If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - continueAsNewWorkflowExecutionFailedEventAttributes?: ContinueAsNewWorkflowExecutionFailedEventAttributes; - /** - * If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types. - */ - workflowExecutionTerminatedEventAttributes?: WorkflowExecutionTerminatedEventAttributes; - /** - * If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types. - */ - workflowExecutionCancelRequestedEventAttributes?: WorkflowExecutionCancelRequestedEventAttributes; - /** - * If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types. - */ - decisionTaskScheduledEventAttributes?: DecisionTaskScheduledEventAttributes; - /** - * If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types. - */ - decisionTaskStartedEventAttributes?: DecisionTaskStartedEventAttributes; - /** - * If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types. - */ - decisionTaskCompletedEventAttributes?: DecisionTaskCompletedEventAttributes; - /** - * If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types. - */ - decisionTaskTimedOutEventAttributes?: DecisionTaskTimedOutEventAttributes; - /** - * If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types. - */ - activityTaskScheduledEventAttributes?: ActivityTaskScheduledEventAttributes; - /** - * If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types. - */ - activityTaskStartedEventAttributes?: ActivityTaskStartedEventAttributes; - /** - * If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types. - */ - activityTaskCompletedEventAttributes?: ActivityTaskCompletedEventAttributes; - /** - * If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - activityTaskFailedEventAttributes?: ActivityTaskFailedEventAttributes; - /** - * If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types. - */ - activityTaskTimedOutEventAttributes?: ActivityTaskTimedOutEventAttributes; - /** - * If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It is not set for other event types. - */ - activityTaskCanceledEventAttributes?: ActivityTaskCanceledEventAttributes; - /** - * If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It is not set for other event types. - */ - activityTaskCancelRequestedEventAttributes?: ActivityTaskCancelRequestedEventAttributes; - /** - * If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types. - */ - workflowExecutionSignaledEventAttributes?: WorkflowExecutionSignaledEventAttributes; - /** - * If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It is not set for other event types. - */ - markerRecordedEventAttributes?: MarkerRecordedEventAttributes; - /** - * If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - recordMarkerFailedEventAttributes?: RecordMarkerFailedEventAttributes; - /** - * If the event is of type TimerStarted then this member is set and provides detailed information about the event. It is not set for other event types. - */ - timerStartedEventAttributes?: TimerStartedEventAttributes; - /** - * If the event is of type TimerFired then this member is set and provides detailed information about the event. It is not set for other event types. - */ - timerFiredEventAttributes?: TimerFiredEventAttributes; - /** - * If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It is not set for other event types. - */ - timerCanceledEventAttributes?: TimerCanceledEventAttributes; - /** - * If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types. - */ - startChildWorkflowExecutionInitiatedEventAttributes?: StartChildWorkflowExecutionInitiatedEventAttributes; - /** - * If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types. - */ - childWorkflowExecutionStartedEventAttributes?: ChildWorkflowExecutionStartedEventAttributes; - /** - * If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types. - */ - childWorkflowExecutionCompletedEventAttributes?: ChildWorkflowExecutionCompletedEventAttributes; - /** - * If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - childWorkflowExecutionFailedEventAttributes?: ChildWorkflowExecutionFailedEventAttributes; - /** - * If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types. - */ - childWorkflowExecutionTimedOutEventAttributes?: ChildWorkflowExecutionTimedOutEventAttributes; - /** - * If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types. - */ - childWorkflowExecutionCanceledEventAttributes?: ChildWorkflowExecutionCanceledEventAttributes; - /** - * If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types. - */ - childWorkflowExecutionTerminatedEventAttributes?: ChildWorkflowExecutionTerminatedEventAttributes; - /** - * If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types. - */ - signalExternalWorkflowExecutionInitiatedEventAttributes?: SignalExternalWorkflowExecutionInitiatedEventAttributes; - /** - * If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types. - */ - externalWorkflowExecutionSignaledEventAttributes?: ExternalWorkflowExecutionSignaledEventAttributes; - /** - * If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - signalExternalWorkflowExecutionFailedEventAttributes?: SignalExternalWorkflowExecutionFailedEventAttributes; - /** - * If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types. - */ - externalWorkflowExecutionCancelRequestedEventAttributes?: ExternalWorkflowExecutionCancelRequestedEventAttributes; - /** - * If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types. - */ - requestCancelExternalWorkflowExecutionInitiatedEventAttributes?: RequestCancelExternalWorkflowExecutionInitiatedEventAttributes; - /** - * If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - requestCancelExternalWorkflowExecutionFailedEventAttributes?: RequestCancelExternalWorkflowExecutionFailedEventAttributes; - /** - * If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - scheduleActivityTaskFailedEventAttributes?: ScheduleActivityTaskFailedEventAttributes; - /** - * If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - requestCancelActivityTaskFailedEventAttributes?: RequestCancelActivityTaskFailedEventAttributes; - /** - * If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - startTimerFailedEventAttributes?: StartTimerFailedEventAttributes; - /** - * If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - cancelTimerFailedEventAttributes?: CancelTimerFailedEventAttributes; - /** - * If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types. - */ - startChildWorkflowExecutionFailedEventAttributes?: StartChildWorkflowExecutionFailedEventAttributes; - lambdaFunctionScheduledEventAttributes?: LambdaFunctionScheduledEventAttributes; - lambdaFunctionStartedEventAttributes?: LambdaFunctionStartedEventAttributes; - lambdaFunctionCompletedEventAttributes?: LambdaFunctionCompletedEventAttributes; - lambdaFunctionFailedEventAttributes?: LambdaFunctionFailedEventAttributes; - lambdaFunctionTimedOutEventAttributes?: LambdaFunctionTimedOutEventAttributes; - scheduleLambdaFunctionFailedEventAttributes?: ScheduleLambdaFunctionFailedEventAttributes; - startLambdaFunctionFailedEventAttributes?: StartLambdaFunctionFailedEventAttributes; - } - export type HistoryEventList = HistoryEvent[]; - export type Identity = string; - export interface LambdaFunctionCompletedEventAttributes { - /** - * The ID of the LambdaFunctionScheduled event that was recorded when this AWS Lambda function was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - /** - * The ID of the LambdaFunctionStarted event recorded in the history. - */ - startedEventId: EventId; - /** - * The result of the function execution (if any). - */ - result?: Data; - } - export interface LambdaFunctionFailedEventAttributes { - /** - * The ID of the LambdaFunctionScheduled event that was recorded when this AWS Lambda function was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - /** - * The ID of the LambdaFunctionStarted event recorded in the history. - */ - startedEventId: EventId; - /** - * The reason provided for the failure (if any). - */ - reason?: FailureReason; - /** - * The details of the failure (if any). - */ - details?: Data; - } - export interface LambdaFunctionScheduledEventAttributes { - /** - * The unique Amazon SWF ID for the AWS Lambda task. - */ - id: FunctionId; - /** - * The name of the scheduled AWS Lambda function. - */ - name: FunctionName; - /** - * Input provided to the AWS Lambda function. - */ - input?: FunctionInput; - /** - * The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed. - */ - startToCloseTimeout?: DurationInSecondsOptional; - /** - * The ID of the DecisionTaskCompleted event for the decision that resulted in the scheduling of this AWS Lambda function. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface LambdaFunctionStartedEventAttributes { - /** - * The ID of the LambdaFunctionScheduled event that was recorded when this AWS Lambda function was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - } - export interface LambdaFunctionTimedOutEventAttributes { - /** - * The ID of the LambdaFunctionScheduled event that was recorded when this AWS Lambda function was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId: EventId; - /** - * The ID of the LambdaFunctionStarted event recorded in the history. - */ - startedEventId: EventId; - /** - * The type of the timeout that caused this event. - */ - timeoutType?: LambdaFunctionTimeoutType; - } - export type LambdaFunctionTimeoutType = "START_TO_CLOSE"|string; - export type LimitedData = string; - export interface ListActivityTypesInput { - /** - * The name of the domain in which the activity types have been registered. - */ - domain: DomainName; - /** - * If specified, only lists the activity types that have this name. - */ - name?: Name; - /** - * Specifies the registration status of the activity types to list. - */ - registrationStatus: RegistrationStatus; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - /** - * The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maximumPageSize?: PageSize; - /** - * When set to true, returns the results in reverse order. By default, the results are returned in ascending alphabetical order by name of the activity types. - */ - reverseOrder?: ReverseOrder; - } - export interface ListClosedWorkflowExecutionsInput { - /** - * The name of the domain that contains the workflow executions to list. - */ - domain: DomainName; - /** - * If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both. - */ - startTimeFilter?: ExecutionTimeFilter; - /** - * If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both. - */ - closeTimeFilter?: ExecutionTimeFilter; - /** - * If specified, only workflow executions matching the workflow ID specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - executionFilter?: WorkflowExecutionFilter; - /** - * If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - closeStatusFilter?: CloseStatusFilter; - /** - * If specified, only executions of the type specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - typeFilter?: WorkflowTypeFilter; - /** - * If specified, only executions that have the matching tag are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - tagFilter?: TagFilter; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - /** - * The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maximumPageSize?: PageSize; - /** - * When set to true, returns the results in reverse order. By default the results are returned in descending order of the start or the close time of the executions. - */ - reverseOrder?: ReverseOrder; - } - export interface ListDomainsInput { - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - /** - * Specifies the registration status of the domains to list. - */ - registrationStatus: RegistrationStatus; - /** - * The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maximumPageSize?: PageSize; - /** - * When set to true, returns the results in reverse order. By default, the results are returned in ascending alphabetical order by name of the domains. - */ - reverseOrder?: ReverseOrder; - } - export interface ListOpenWorkflowExecutionsInput { - /** - * The name of the domain that contains the workflow executions to list. - */ - domain: DomainName; - /** - * Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. - */ - startTimeFilter: ExecutionTimeFilter; - /** - * If specified, only executions of the type specified in the filter are returned. executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - typeFilter?: WorkflowTypeFilter; - /** - * If specified, only executions that have the matching tag are listed. executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - tagFilter?: TagFilter; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - /** - * The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maximumPageSize?: PageSize; - /** - * When set to true, returns the results in reverse order. By default the results are returned in descending order of the start time of the executions. - */ - reverseOrder?: ReverseOrder; - /** - * If specified, only workflow executions matching the workflow ID specified in the filter are returned. executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request. - */ - executionFilter?: WorkflowExecutionFilter; - } - export interface ListWorkflowTypesInput { - /** - * The name of the domain in which the workflow types have been registered. - */ - domain: DomainName; - /** - * If specified, lists the workflow type with this name. - */ - name?: Name; - /** - * Specifies the registration status of the workflow types to list. - */ - registrationStatus: RegistrationStatus; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - /** - * The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maximumPageSize?: PageSize; - /** - * When set to true, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name of the workflow types. - */ - reverseOrder?: ReverseOrder; - } - export type MarkerName = string; - export interface MarkerRecordedEventAttributes { - /** - * The name of the marker. - */ - markerName: MarkerName; - /** - * Details of the marker (if any). - */ - details?: Data; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RecordMarker decision that requested this marker. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export type Name = string; - export type OpenDecisionTasksCount = number; - export type PageSize = number; - export type PageToken = string; - export interface PendingTaskCount { - /** - * The number of tasks in the task list. - */ - count: Count; - /** - * If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value. - */ - truncated?: Truncated; - } - export interface PollForActivityTaskInput { - /** - * The name of the domain that contains the task lists being polled. - */ - domain: DomainName; - /** - * Specifies the task list to poll for activity tasks. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - taskList: TaskList; - /** - * Identity of the worker making the request, recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined. - */ - identity?: Identity; - } - export interface PollForDecisionTaskInput { - /** - * The name of the domain containing the task lists to poll. - */ - domain: DomainName; - /** - * Specifies the task list to poll for decision tasks. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - taskList: TaskList; - /** - * Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined. - */ - identity?: Identity; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. The nextPageToken returned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with the nextPageToken) to retrieve the next page of history records. Calling PollForDecisionTask with a nextPageToken will not return a new decision task.. - */ - nextPageToken?: PageToken; - /** - * The maximum number of results that will be returned per call. nextPageToken can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum. - */ - maximumPageSize?: PageSize; - /** - * When set to true, returns the events in reverse order. By default the results are returned in ascending order of the eventTimestamp of the events. - */ - reverseOrder?: ReverseOrder; - } - export interface RecordActivityTaskHeartbeatInput { - /** - * The taskToken of the ActivityTask. taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results. - */ - taskToken: TaskToken; - /** - * If specified, contains details about the progress of the task. - */ - details?: LimitedData; - } - export interface RecordMarkerDecisionAttributes { - /** - * Required. The name of the marker. - */ - markerName: MarkerName; - /** - * Optional. details of the marker. - */ - details?: Data; - } - export type RecordMarkerFailedCause = "OPERATION_NOT_PERMITTED"|string; - export interface RecordMarkerFailedEventAttributes { - /** - * The marker's name. - */ - markerName: MarkerName; - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: RecordMarkerFailedCause; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RecordMarkerFailed decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface RegisterActivityTypeInput { - /** - * The name of the domain in which this activity is to be registered. - */ - domain: DomainName; - /** - * The name of the activity type within the domain. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - name: Name; - /** - * The version of the activity type. The activity type consists of the name and version, the combination of which must be unique within the domain. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - version: Version; - /** - * A textual description of the activity type. - */ - description?: Description; - /** - * If set, specifies the default maximum duration that a worker can take to process tasks of this activity type. This default can be overridden when scheduling an activity task using the ScheduleActivityTask decision. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultTaskStartToCloseTimeout?: DurationInSecondsOptional; - /** - * If set, specifies the default maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. This default can be overridden when scheduling an activity task using the ScheduleActivityTask decision. If the activity worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should clean up the activity task. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultTaskHeartbeatTimeout?: DurationInSecondsOptional; - /** - * If set, specifies the default task list to use for scheduling tasks of this activity type. This default task list is used if a task list is not provided when a task is scheduled through the ScheduleActivityTask decision. - */ - defaultTaskList?: TaskList; - /** - * The default task priority to assign to the activity type. If not assigned, then "0" will be used. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - defaultTaskPriority?: TaskPriority; - /** - * If set, specifies the default maximum duration that a task of this activity type can wait before being assigned to a worker. This default can be overridden when scheduling an activity task using the ScheduleActivityTask decision. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultTaskScheduleToStartTimeout?: DurationInSecondsOptional; - /** - * If set, specifies the default maximum duration for a task of this activity type. This default can be overridden when scheduling an activity task using the ScheduleActivityTask decision. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultTaskScheduleToCloseTimeout?: DurationInSecondsOptional; - } - export interface RegisterDomainInput { - /** - * Name of the domain to register. The name must be unique in the region that the domain is registered in. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - name: DomainName; - /** - * A text description of the domain. - */ - description?: Description; - /** - * The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution is not available in the results of visibility calls. If you pass the value NONE or 0 (zero), then the workflow execution history will not be retained. As soon as the workflow execution completes, the execution record and its history are deleted. The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide. - */ - workflowExecutionRetentionPeriodInDays: DurationInDays; - } - export interface RegisterWorkflowTypeInput { - /** - * The name of the domain in which to register the workflow type. - */ - domain: DomainName; - /** - * The name of the workflow type. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - name: Name; - /** - * The version of the workflow type. The workflow type consists of the name and version, the combination of which must be unique within the domain. To get a list of all currently registered workflow types, use the ListWorkflowTypes action. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - version: Version; - /** - * Textual description of the workflow type. - */ - description?: Description; - /** - * If set, specifies the default maximum duration of decision tasks for this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultTaskStartToCloseTimeout?: DurationInSecondsOptional; - /** - * If set, specifies the default maximum duration for executions of this workflow type. You can override this default when starting an execution through the StartWorkflowExecution action or StartChildWorkflowExecution decision. The duration is specified in seconds; an integer greater than or equal to 0. Unlike some of the other timeout parameters in Amazon SWF, you cannot specify a value of "NONE" for defaultExecutionStartToCloseTimeout; there is a one-year max limit on the time that a workflow execution can run. Exceeding this limit will always cause the workflow execution to time out. - */ - defaultExecutionStartToCloseTimeout?: DurationInSecondsOptional; - /** - * If set, specifies the default task list to use for scheduling decision tasks for executions of this workflow type. This default is used only if a task list is not provided when starting the execution through the StartWorkflowExecution action or StartChildWorkflowExecution decision. - */ - defaultTaskList?: TaskList; - /** - * The default task priority to assign to the workflow type. If not assigned, then "0" will be used. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - defaultTaskPriority?: TaskPriority; - /** - * If set, specifies the default policy to use for the child workflow executions when a workflow execution of this type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. - */ - defaultChildPolicy?: ChildPolicy; - /** - * The ARN of the default IAM role to use when a workflow execution of this type invokes AWS Lambda functions. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution and ContinueAsNewWorkflowExecution decision. - */ - defaultLambdaRole?: Arn; - } - export type RegistrationStatus = "REGISTERED"|"DEPRECATED"|string; - export interface RequestCancelActivityTaskDecisionAttributes { - /** - * The activityId of the activity task to be canceled. - */ - activityId: ActivityId; - } - export type RequestCancelActivityTaskFailedCause = "ACTIVITY_ID_UNKNOWN"|"OPERATION_NOT_PERMITTED"|string; - export interface RequestCancelActivityTaskFailedEventAttributes { - /** - * The activityId provided in the RequestCancelActivityTask decision that failed. - */ - activityId: ActivityId; - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: RequestCancelActivityTaskFailedCause; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface RequestCancelExternalWorkflowExecutionDecisionAttributes { - /** - * Required. The workflowId of the external workflow execution to cancel. - */ - workflowId: WorkflowId; - /** - * The runId of the external workflow execution to cancel. - */ - runId?: RunIdOptional; - /** - * Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. - */ - control?: Data; - } - export type RequestCancelExternalWorkflowExecutionFailedCause = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"|"REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"|"OPERATION_NOT_PERMITTED"|string; - export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes { - /** - * The workflowId of the external workflow to which the cancel request was to be delivered. - */ - workflowId: WorkflowId; - /** - * The runId of the external workflow execution. - */ - runId?: RunIdOptional; - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: RequestCancelExternalWorkflowExecutionFailedCause; - /** - * The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - control?: Data; - } - export interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { - /** - * The workflowId of the external workflow execution to be canceled. - */ - workflowId: WorkflowId; - /** - * The runId of the external workflow execution to be canceled. - */ - runId?: RunIdOptional; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - /** - * Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. - */ - control?: Data; - } - export interface RequestCancelWorkflowExecutionInput { - /** - * The name of the domain containing the workflow execution to cancel. - */ - domain: DomainName; - /** - * The workflowId of the workflow execution to cancel. - */ - workflowId: WorkflowId; - /** - * The runId of the workflow execution to cancel. - */ - runId?: RunIdOptional; - } - export interface RespondActivityTaskCanceledInput { - /** - * The taskToken of the ActivityTask. taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results. - */ - taskToken: TaskToken; - /** - * Optional. Information about the cancellation. - */ - details?: Data; - } - export interface RespondActivityTaskCompletedInput { - /** - * The taskToken of the ActivityTask. taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results. - */ - taskToken: TaskToken; - /** - * The result of the activity task. It is a free form string that is implementation specific. - */ - result?: Data; - } - export interface RespondActivityTaskFailedInput { - /** - * The taskToken of the ActivityTask. taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results. - */ - taskToken: TaskToken; - /** - * Description of the error that may assist in diagnostics. - */ - reason?: FailureReason; - /** - * Optional. Detailed information about the failure. - */ - details?: Data; - } - export interface RespondDecisionTaskCompletedInput { - /** - * The taskToken from the DecisionTask. taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results. - */ - taskToken: TaskToken; - /** - * The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details. - */ - decisions?: DecisionList; - /** - * User defined context to add to workflow execution. - */ - executionContext?: Data; - } - export type ReverseOrder = boolean; - export interface Run { - /** - * The runId of a workflow execution. This ID is generated by the service and can be used to uniquely identify the workflow execution within a domain. - */ - runId?: RunId; - } - export type RunId = string; - export type RunIdOptional = string; - export interface ScheduleActivityTaskDecisionAttributes { - /** - * Required. The type of the activity task to schedule. - */ - activityType: ActivityType; - /** - * Required. The activityId of the activity task. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - activityId: ActivityId; - /** - * Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity. - */ - control?: Data; - /** - * The input provided to the activity task. - */ - input?: Data; - /** - * The maximum duration for this activity task. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. A schedule-to-close timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default schedule-to-close timeout was specified at registration time then a fault will be returned. - */ - scheduleToCloseTimeout?: DurationInSecondsOptional; - /** - * If set, specifies the name of the task list in which to schedule the activity task. If not specified, the defaultTaskList registered with the activity type will be used. A task list for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default task list was specified at registration time then a fault will be returned. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - taskList?: TaskList; - /** - * Optional. If set, specifies the priority with which the activity task is to be assigned to a worker. This overrides the defaultTaskPriority specified when registering the activity type using RegisterActivityType. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - taskPriority?: TaskPriority; - /** - * Optional. If set, specifies the maximum duration the activity task can wait to be assigned to a worker. This overrides the default schedule-to-start timeout specified when registering the activity type using RegisterActivityType. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. A schedule-to-start timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default schedule-to-start timeout was specified at registration time then a fault will be returned. - */ - scheduleToStartTimeout?: DurationInSecondsOptional; - /** - * If set, specifies the maximum duration a worker may take to process this activity task. This overrides the default start-to-close timeout specified when registering the activity type using RegisterActivityType. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. A start-to-close timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default start-to-close timeout was specified at registration time then a fault will be returned. - */ - startToCloseTimeout?: DurationInSecondsOptional; - /** - * If set, specifies the maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or returns a result, it will be ignored. This overrides the default heartbeat timeout specified when registering the activity type using RegisterActivityType. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - heartbeatTimeout?: DurationInSecondsOptional; - } - export type ScheduleActivityTaskFailedCause = "ACTIVITY_TYPE_DEPRECATED"|"ACTIVITY_TYPE_DOES_NOT_EXIST"|"ACTIVITY_ID_ALREADY_IN_USE"|"OPEN_ACTIVITIES_LIMIT_EXCEEDED"|"ACTIVITY_CREATION_RATE_EXCEEDED"|"DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED"|"DEFAULT_TASK_LIST_UNDEFINED"|"DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED"|"DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED"|"DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED"|"OPERATION_NOT_PERMITTED"|string; - export interface ScheduleActivityTaskFailedEventAttributes { - /** - * The activity type provided in the ScheduleActivityTask decision that failed. - */ - activityType: ActivityType; - /** - * The activityId provided in the ScheduleActivityTask decision that failed. - */ - activityId: ActivityId; - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: ScheduleActivityTaskFailedCause; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface ScheduleLambdaFunctionDecisionAttributes { - /** - * Required. The SWF id of the AWS Lambda task. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - id: FunctionId; - /** - * Required. The name of the AWS Lambda function to invoke. - */ - name: FunctionName; - /** - * The input provided to the AWS Lambda function. - */ - input?: FunctionInput; - /** - * If set, specifies the maximum duration the function may take to execute. - */ - startToCloseTimeout?: DurationInSecondsOptional; - } - export type ScheduleLambdaFunctionFailedCause = "ID_ALREADY_IN_USE"|"OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED"|"LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED"|"LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION"|string; - export interface ScheduleLambdaFunctionFailedEventAttributes { - /** - * The unique Amazon SWF ID of the AWS Lambda task. - */ - id: FunctionId; - /** - * The name of the scheduled AWS Lambda function. - */ - name: FunctionName; - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: ScheduleLambdaFunctionFailedCause; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this AWS Lambda function. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface SignalExternalWorkflowExecutionDecisionAttributes { - /** - * Required. The workflowId of the workflow execution to be signaled. - */ - workflowId: WorkflowId; - /** - * The runId of the workflow execution to be signaled. - */ - runId?: RunIdOptional; - /** - * Required. The name of the signal.The target workflow execution will use the signal name and input to process the signal. - */ - signalName: SignalName; - /** - * Optional. Input data to be provided with the signal. The target workflow execution will use the signal name and input data to process the signal. - */ - input?: Data; - /** - * Optional. Data attached to the event that can be used by the decider in subsequent decision tasks. - */ - control?: Data; - } - export type SignalExternalWorkflowExecutionFailedCause = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"|"SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"|"OPERATION_NOT_PERMITTED"|string; - export interface SignalExternalWorkflowExecutionFailedEventAttributes { - /** - * The workflowId of the external workflow execution that the signal was being delivered to. - */ - workflowId: WorkflowId; - /** - * The runId of the external workflow execution that the signal was being delivered to. - */ - runId?: RunIdOptional; - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: SignalExternalWorkflowExecutionFailedCause; - /** - * The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - control?: Data; - } - export interface SignalExternalWorkflowExecutionInitiatedEventAttributes { - /** - * The workflowId of the external workflow execution. - */ - workflowId: WorkflowId; - /** - * The runId of the external workflow execution to send the signal to. - */ - runId?: RunIdOptional; - /** - * The name of the signal. - */ - signalName: SignalName; - /** - * Input provided to the signal (if any). - */ - input?: Data; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - /** - * Optional. data attached to the event that can be used by the decider in subsequent decision tasks. - */ - control?: Data; - } - export type SignalName = string; - export interface SignalWorkflowExecutionInput { - /** - * The name of the domain containing the workflow execution to signal. - */ - domain: DomainName; - /** - * The workflowId of the workflow execution to signal. - */ - workflowId: WorkflowId; - /** - * The runId of the workflow execution to signal. - */ - runId?: RunIdOptional; - /** - * The name of the signal. This name must be meaningful to the target workflow. - */ - signalName: SignalName; - /** - * Data to attach to the WorkflowExecutionSignaled event in the target workflow execution's history. - */ - input?: Data; - } - export interface StartChildWorkflowExecutionDecisionAttributes { - /** - * Required. The type of the workflow execution to be started. - */ - workflowType: WorkflowType; - /** - * Required. The workflowId of the workflow execution. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - workflowId: WorkflowId; - /** - * Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the child workflow execution. - */ - control?: Data; - /** - * The input to be provided to the workflow execution. - */ - input?: Data; - /** - * The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned. - */ - executionStartToCloseTimeout?: DurationInSecondsOptional; - /** - * The name of the task list to be used for decision tasks of the child workflow execution. A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - taskList?: TaskList; - /** - * Optional. A task priority that, if set, specifies the priority for a decision task of this workflow execution. This overrides the defaultTaskPriority specified when registering the workflow type. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - taskPriority?: TaskPriority; - /** - * Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned. - */ - taskStartToCloseTimeout?: DurationInSecondsOptional; - /** - * Optional. If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault will be returned. - */ - childPolicy?: ChildPolicy; - /** - * The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter. - */ - tagList?: TagList; - /** - * The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions. In order for this workflow execution to invoke AWS Lambda functions, an appropriate IAM role must be specified either as a default for the workflow type or through this field. - */ - lambdaRole?: Arn; - } - export type StartChildWorkflowExecutionFailedCause = "WORKFLOW_TYPE_DOES_NOT_EXIST"|"WORKFLOW_TYPE_DEPRECATED"|"OPEN_CHILDREN_LIMIT_EXCEEDED"|"OPEN_WORKFLOWS_LIMIT_EXCEEDED"|"CHILD_CREATION_RATE_EXCEEDED"|"WORKFLOW_ALREADY_RUNNING"|"DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"|"DEFAULT_TASK_LIST_UNDEFINED"|"DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"|"DEFAULT_CHILD_POLICY_UNDEFINED"|"OPERATION_NOT_PERMITTED"|string; - export interface StartChildWorkflowExecutionFailedEventAttributes { - /** - * The workflow type provided in the StartChildWorkflowExecution decision that failed. - */ - workflowType: WorkflowType; - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: StartChildWorkflowExecutionFailedCause; - /** - * The workflowId of the child workflow execution. - */ - workflowId: WorkflowId; - /** - * The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - initiatedEventId: EventId; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events. - */ - decisionTaskCompletedEventId: EventId; - control?: Data; - } - export interface StartChildWorkflowExecutionInitiatedEventAttributes { - /** - * The workflowId of the child workflow execution. - */ - workflowId: WorkflowId; - /** - * The type of the child workflow execution. - */ - workflowType: WorkflowType; - /** - * Optional. Data attached to the event that can be used by the decider in subsequent decision tasks. This data is not sent to the activity. - */ - control?: Data; - /** - * The inputs provided to the child workflow execution (if any). - */ - input?: Data; - /** - * The maximum duration for the child workflow execution. If the workflow execution is not closed within this duration, it will be timed out and force terminated. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - executionStartToCloseTimeout?: DurationInSecondsOptional; - /** - * The name of the task list used for the decision tasks of the child workflow execution. - */ - taskList: TaskList; - /** - * Optional. The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - taskPriority?: TaskPriority; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events. - */ - decisionTaskCompletedEventId: EventId; - /** - * The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the TerminateWorkflowExecution action or due to an expired timeout. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. - */ - childPolicy: ChildPolicy; - /** - * The maximum duration allowed for the decision tasks for this workflow execution. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - taskStartToCloseTimeout?: DurationInSecondsOptional; - /** - * The list of tags to associated with the child workflow execution. - */ - tagList?: TagList; - /** - * The IAM role attached to this workflow execution to use when invoking AWS Lambda functions. - */ - lambdaRole?: Arn; - } - export type StartLambdaFunctionFailedCause = "ASSUME_ROLE_FAILED"|string; - export interface StartLambdaFunctionFailedEventAttributes { - /** - * The ID of the LambdaFunctionScheduled event that was recorded when this AWS Lambda function was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - scheduledEventId?: EventId; - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause?: StartLambdaFunctionFailedCause; - /** - * The error message (if any). - */ - message?: CauseMessage; - } - export interface StartTimerDecisionAttributes { - /** - * Required. The unique ID of the timer. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - timerId: TimerId; - /** - * Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. - */ - control?: Data; - /** - * Required. The duration to wait before firing the timer. The duration is specified in seconds; an integer greater than or equal to 0. - */ - startToFireTimeout: DurationInSeconds; - } - export type StartTimerFailedCause = "TIMER_ID_ALREADY_IN_USE"|"OPEN_TIMERS_LIMIT_EXCEEDED"|"TIMER_CREATION_RATE_EXCEEDED"|"OPERATION_NOT_PERMITTED"|string; - export interface StartTimerFailedEventAttributes { - /** - * The timerId provided in the StartTimer decision that failed. - */ - timerId: TimerId; - /** - * The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows. - */ - cause: StartTimerFailedCause; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface StartWorkflowExecutionInput { - /** - * The name of the domain in which the workflow execution is created. - */ - domain: DomainName; - /** - * The user defined identifier associated with the workflow execution. You can use this to associate a custom identifier with the workflow execution. You may specify the same identifier if a workflow execution is logically a restart of a previous execution. You cannot have two open workflow executions with the same workflowId at the same time. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - workflowId: WorkflowId; - /** - * The type of the workflow to start. - */ - workflowType: WorkflowType; - /** - * The task list to use for the decision tasks generated for this workflow execution. This overrides the defaultTaskList specified when registering the workflow type. A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot. - */ - taskList?: TaskList; - /** - * The task priority to use for this workflow execution. This will override any default priority that was assigned when the workflow type was registered. If not set, then the default task priority for the workflow type will be used. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - taskPriority?: TaskPriority; - /** - * The input for the workflow execution. This is a free form string which should be meaningful to the workflow you are starting. This input is made available to the new workflow execution in the WorkflowExecutionStarted history event. - */ - input?: Data; - /** - * The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type. The duration is specified in seconds; an integer greater than or equal to 0. Exceeding this limit will cause the workflow execution to time out. Unlike some of the other timeout parameters in Amazon SWF, you cannot specify a value of "NONE" for this timeout; there is a one-year max limit on the time that a workflow execution can run. An execution start-to-close timeout must be specified either through this parameter or as a default when the workflow type is registered. If neither this parameter nor a default execution start-to-close timeout is specified, a fault is returned. - */ - executionStartToCloseTimeout?: DurationInSecondsOptional; - /** - * The list of tags to associate with the workflow execution. You can specify a maximum of 5 tags. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter. - */ - tagList?: TagList; - /** - * Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned. - */ - taskStartToCloseTimeout?: DurationInSecondsOptional; - /** - * If set, specifies the policy to use for the child workflow executions of this workflow execution if it is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault will be returned. - */ - childPolicy?: ChildPolicy; - /** - * The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions. In order for this workflow execution to invoke AWS Lambda functions, an appropriate IAM role must be specified either as a default for the workflow type or through this field. - */ - lambdaRole?: Arn; - } - export type Tag = string; - export interface TagFilter { - /** - * Required. Specifies the tag that must be associated with the execution for it to meet the filter criteria. - */ - tag: Tag; - } - export type TagList = Tag[]; - export interface TaskList { - /** - * The name of the task list. - */ - name: Name; - } - export type TaskPriority = string; - export type TaskToken = string; - export type TerminateReason = string; - export interface TerminateWorkflowExecutionInput { - /** - * The domain of the workflow execution to terminate. - */ - domain: DomainName; - /** - * The workflowId of the workflow execution to terminate. - */ - workflowId: WorkflowId; - /** - * The runId of the workflow execution to terminate. - */ - runId?: RunIdOptional; - /** - * Optional. A descriptive reason for terminating the workflow execution. - */ - reason?: TerminateReason; - /** - * Optional. Details for terminating the workflow execution. - */ - details?: Data; - /** - * If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault will be returned. - */ - childPolicy?: ChildPolicy; - } - export interface TimerCanceledEventAttributes { - /** - * The unique ID of the timer that was canceled. - */ - timerId: TimerId; - /** - * The ID of the TimerStarted event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface TimerFiredEventAttributes { - /** - * The unique ID of the timer that fired. - */ - timerId: TimerId; - /** - * The ID of the TimerStarted event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - startedEventId: EventId; - } - export type TimerId = string; - export interface TimerStartedEventAttributes { - /** - * The unique ID of the timer that was started. - */ - timerId: TimerId; - /** - * Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. - */ - control?: Data; - /** - * The duration of time after which the timer will fire. The duration is specified in seconds; an integer greater than or equal to 0. - */ - startToFireTimeout: DurationInSeconds; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export type Timestamp = Date; - export type Truncated = boolean; - export type Version = string; - export type VersionOptional = string; - export interface WorkflowExecution { - /** - * The user defined identifier associated with the workflow execution. - */ - workflowId: WorkflowId; - /** - * A system-generated unique identifier for the workflow execution. - */ - runId: RunId; - } - export type WorkflowExecutionCancelRequestedCause = "CHILD_POLICY_APPLIED"|string; - export interface WorkflowExecutionCancelRequestedEventAttributes { - /** - * The external workflow execution for which the cancellation was requested. - */ - externalWorkflowExecution?: WorkflowExecution; - /** - * The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - externalInitiatedEventId?: EventId; - /** - * If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions. - */ - cause?: WorkflowExecutionCancelRequestedCause; - } - export interface WorkflowExecutionCanceledEventAttributes { - /** - * Details for the cancellation (if any). - */ - details?: Data; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface WorkflowExecutionCompletedEventAttributes { - /** - * The result produced by the workflow execution upon successful completion. - */ - result?: Data; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface WorkflowExecutionConfiguration { - /** - * The maximum duration allowed for decision tasks for this workflow execution. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - taskStartToCloseTimeout: DurationInSeconds; - /** - * The total duration for this workflow execution. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - executionStartToCloseTimeout: DurationInSeconds; - /** - * The task list used for the decision tasks generated for this workflow execution. - */ - taskList: TaskList; - /** - * The priority assigned to decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - taskPriority?: TaskPriority; - /** - * The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. - */ - childPolicy: ChildPolicy; - /** - * The IAM role used by this workflow execution when invoking AWS Lambda functions. - */ - lambdaRole?: Arn; - } - export interface WorkflowExecutionContinuedAsNewEventAttributes { - /** - * The input provided to the new workflow execution. - */ - input?: Data; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - /** - * The runId of the new workflow execution. - */ - newExecutionRunId: RunId; - /** - * The total duration allowed for the new workflow execution. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - executionStartToCloseTimeout?: DurationInSecondsOptional; - taskList: TaskList; - taskPriority?: TaskPriority; - /** - * The maximum duration of decision tasks for the new workflow execution. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - taskStartToCloseTimeout?: DurationInSecondsOptional; - /** - * The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. - */ - childPolicy: ChildPolicy; - /** - * The list of tags associated with the new workflow execution. - */ - tagList?: TagList; - workflowType: WorkflowType; - /** - * The IAM role attached to this workflow execution to use when invoking AWS Lambda functions. - */ - lambdaRole?: Arn; - } - export interface WorkflowExecutionCount { - /** - * The number of workflow executions. - */ - count: Count; - /** - * If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value. - */ - truncated?: Truncated; - } - export interface WorkflowExecutionDetail { - /** - * Information about the workflow execution. - */ - executionInfo: WorkflowExecutionInfo; - /** - * The configuration settings for this workflow execution including timeout values, tasklist etc. - */ - executionConfiguration: WorkflowExecutionConfiguration; - /** - * The number of tasks for this workflow execution. This includes open and closed tasks of all types. - */ - openCounts: WorkflowExecutionOpenCounts; - /** - * The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action. - */ - latestActivityTaskTimestamp?: Timestamp; - /** - * The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext (a free-form string) when closing a decision task using RespondDecisionTaskCompleted. - */ - latestExecutionContext?: Data; - } - export interface WorkflowExecutionFailedEventAttributes { - /** - * The descriptive reason provided for the failure (if any). - */ - reason?: FailureReason; - /** - * The details of the failure (if any). - */ - details?: Data; - /** - * The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - decisionTaskCompletedEventId: EventId; - } - export interface WorkflowExecutionFilter { - /** - * The workflowId to pass of match the criteria of this filter. - */ - workflowId: WorkflowId; - } - export interface WorkflowExecutionInfo { - /** - * The workflow execution this information is about. - */ - execution: WorkflowExecution; - /** - * The type of the workflow execution. - */ - workflowType: WorkflowType; - /** - * The time when the execution was started. - */ - startTimestamp: Timestamp; - /** - * The time when the workflow execution was closed. Set only if the execution status is CLOSED. - */ - closeTimestamp?: Timestamp; - /** - * The current status of the execution. - */ - executionStatus: ExecutionStatus; - /** - * If the execution status is closed then this specifies how the execution was closed: COMPLETED: the execution was successfully completed. CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed. TERMINATED: the execution was force terminated. FAILED: the execution failed to complete. TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out. CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow. - */ - closeStatus?: CloseStatus; - /** - * If this workflow execution is a child of another execution then contains the workflow execution that started this execution. - */ - parent?: WorkflowExecution; - /** - * The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags. - */ - tagList?: TagList; - /** - * Set to true if a cancellation is requested for this workflow execution. - */ - cancelRequested?: Canceled; - } - export type WorkflowExecutionInfoList = WorkflowExecutionInfo[]; - export interface WorkflowExecutionInfos { - /** - * The list of workflow information structures. - */ - executionInfos: WorkflowExecutionInfoList; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - } - export interface WorkflowExecutionOpenCounts { - /** - * The count of activity tasks whose status is OPEN. - */ - openActivityTasks: Count; - /** - * The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task. - */ - openDecisionTasks: OpenDecisionTasksCount; - /** - * The count of timers started by this workflow execution that have not fired yet. - */ - openTimers: Count; - /** - * The count of child workflow executions whose status is OPEN. - */ - openChildWorkflowExecutions: Count; - /** - * The count of AWS Lambda functions that are currently executing. - */ - openLambdaFunctions?: Count; - } - export interface WorkflowExecutionSignaledEventAttributes { - /** - * The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal. - */ - signalName: SignalName; - /** - * Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal. - */ - input?: Data; - /** - * The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution. - */ - externalWorkflowExecution?: WorkflowExecution; - /** - * The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution. - */ - externalInitiatedEventId?: EventId; - } - export interface WorkflowExecutionStartedEventAttributes { - /** - * The input provided to the workflow execution (if any). - */ - input?: Data; - /** - * The maximum duration for this workflow execution. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - executionStartToCloseTimeout?: DurationInSecondsOptional; - /** - * The maximum duration of decision tasks for this workflow type. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - taskStartToCloseTimeout?: DurationInSecondsOptional; - /** - * The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. - */ - childPolicy: ChildPolicy; - /** - * The name of the task list for scheduling the decision tasks for this workflow execution. - */ - taskList: TaskList; - /** - * The workflow type of this execution. - */ - workflowType: WorkflowType; - /** - * The list of tags associated with this workflow execution. An execution can have up to 5 tags. - */ - tagList?: TagList; - taskPriority?: TaskPriority; - /** - * If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution. - */ - continuedExecutionRunId?: RunIdOptional; - /** - * The source workflow execution that started this workflow execution. The member is not set if the workflow execution was not started by a workflow. - */ - parentWorkflowExecution?: WorkflowExecution; - /** - * The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this workflow execution. The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. - */ - parentInitiatedEventId?: EventId; - /** - * The IAM role attached to this workflow execution to use when invoking AWS Lambda functions. - */ - lambdaRole?: Arn; - } - export type WorkflowExecutionTerminatedCause = "CHILD_POLICY_APPLIED"|"EVENT_LIMIT_EXCEEDED"|"OPERATOR_INITIATED"|string; - export interface WorkflowExecutionTerminatedEventAttributes { - /** - * The reason provided for the termination (if any). - */ - reason?: TerminateReason; - /** - * The details provided for the termination (if any). - */ - details?: Data; - /** - * The policy used for the child workflow executions of this workflow execution. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. - */ - childPolicy: ChildPolicy; - /** - * If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions. - */ - cause?: WorkflowExecutionTerminatedCause; - } - export interface WorkflowExecutionTimedOutEventAttributes { - /** - * The type of timeout that caused this event. - */ - timeoutType: WorkflowExecutionTimeoutType; - /** - * The policy used for the child workflow executions of this workflow execution. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. - */ - childPolicy: ChildPolicy; - } - export type WorkflowExecutionTimeoutType = "START_TO_CLOSE"|string; - export type WorkflowId = string; - export interface WorkflowType { - /** - * Required. The name of the workflow type. The combination of workflow type name and version must be unique with in a domain. - */ - name: Name; - /** - * Required. The version of the workflow type. The combination of workflow type name and version must be unique with in a domain. - */ - version: Version; - } - export interface WorkflowTypeConfiguration { - /** - * Optional. The default maximum duration, specified when registering the workflow type, that a decision task for executions of this workflow type might take before returning completion or failure. If the task does not close in the specified time then the task is automatically timed out and rescheduled. If the decider eventually reports a completion or failure, it is ignored. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultTaskStartToCloseTimeout?: DurationInSecondsOptional; - /** - * Optional. The default maximum duration, specified when registering the workflow type, for executions of this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration. - */ - defaultExecutionStartToCloseTimeout?: DurationInSecondsOptional; - /** - * Optional. The default task list, specified when registering the workflow type, for decisions tasks scheduled for workflow executions of this type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision. - */ - defaultTaskList?: TaskList; - /** - * Optional. The default task priority, specified when registering the workflow type, for all decision tasks of this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide. - */ - defaultTaskPriority?: TaskPriority; - /** - * Optional. The default policy to use for the child workflow executions when a workflow execution of this type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision. The supported child policies are: TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. ABANDON: no action will be taken. The child executions will continue to run. - */ - defaultChildPolicy?: ChildPolicy; - /** - * The default IAM role to use when a workflow execution invokes a AWS Lambda function. - */ - defaultLambdaRole?: Arn; - } - export interface WorkflowTypeDetail { - /** - * General information about the workflow type. The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following. REGISTERED: The type is registered and available. Workers supporting this type should be running. DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type. - */ - typeInfo: WorkflowTypeInfo; - /** - * Configuration settings of the workflow type registered through RegisterWorkflowType - */ - configuration: WorkflowTypeConfiguration; - } - export interface WorkflowTypeFilter { - /** - * Required. Name of the workflow type. - */ - name: Name; - /** - * Version of the workflow type. - */ - version?: VersionOptional; - } - export interface WorkflowTypeInfo { - /** - * The workflow type this information is about. - */ - workflowType: WorkflowType; - /** - * The current status of the workflow type. - */ - status: RegistrationStatus; - /** - * The description of the type registered through RegisterWorkflowType. - */ - description?: Description; - /** - * The date when this type was registered. - */ - creationDate: Timestamp; - /** - * If the type is in deprecated state, then it is set to the date when the type was deprecated. - */ - deprecationDate?: Timestamp; - } - export type WorkflowTypeInfoList = WorkflowTypeInfo[]; - export interface WorkflowTypeInfos { - /** - * The list of workflow type information. - */ - typeInfos: WorkflowTypeInfoList; - /** - * If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged. The configured maximumPageSize determines how many results can be returned in a single call. - */ - nextPageToken?: PageToken; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2012-01-25"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the SWF client. - */ - export import Types = SWF; -} -export = SWF; diff --git a/src/node_modules/aws-sdk/clients/swf.js b/src/node_modules/aws-sdk/clients/swf.js deleted file mode 100644 index 0b2d94f..0000000 --- a/src/node_modules/aws-sdk/clients/swf.js +++ /dev/null @@ -1,19 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['swf'] = {}; -AWS.SWF = Service.defineService('swf', ['2012-01-25']); -require('../lib/services/swf'); -Object.defineProperty(apiLoader.services['swf'], '2012-01-25', { - get: function get() { - var model = require('../apis/swf-2012-01-25.min.json'); - model.paginators = require('../apis/swf-2012-01-25.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SWF; diff --git a/src/node_modules/aws-sdk/clients/waf.d.ts b/src/node_modules/aws-sdk/clients/waf.d.ts deleted file mode 100644 index e17e7c7..0000000 --- a/src/node_modules/aws-sdk/clients/waf.d.ts +++ /dev/null @@ -1,1711 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class WAF extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: WAF.Types.ClientConfiguration) - config: Config & WAF.Types.ClientConfiguration; - /** - * Creates a ByteMatchSet. You then use UpdateByteMatchSet to identify the part of a web request that you want AWS WAF to inspect, such as the values of the User-Agent header or the query string. For example, you can create a ByteMatchSet that matches any requests with User-Agent headers that contain the string BadBot. You can then configure AWS WAF to reject those requests. To create and configure a ByteMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateByteMatchSet request. Submit a CreateByteMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateByteMatchSet request. Submit an UpdateByteMatchSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createByteMatchSet(params: WAF.Types.CreateByteMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.CreateByteMatchSetResponse) => void): Request; - /** - * Creates a ByteMatchSet. You then use UpdateByteMatchSet to identify the part of a web request that you want AWS WAF to inspect, such as the values of the User-Agent header or the query string. For example, you can create a ByteMatchSet that matches any requests with User-Agent headers that contain the string BadBot. You can then configure AWS WAF to reject those requests. To create and configure a ByteMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateByteMatchSet request. Submit a CreateByteMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateByteMatchSet request. Submit an UpdateByteMatchSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createByteMatchSet(callback?: (err: AWSError, data: WAF.Types.CreateByteMatchSetResponse) => void): Request; - /** - * Creates an IPSet, which you use to specify which web requests you want to allow or block based on the IP addresses that the requests originate from. For example, if you're receiving a lot of requests from one or more individual IP addresses or one or more ranges of IP addresses and you want to block the requests, you can create an IPSet that contains those IP addresses and then configure AWS WAF to block the requests. To create and configure an IPSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateIPSet request. Submit a CreateIPSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateIPSet request to specify the IP addresses that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createIPSet(params: WAF.Types.CreateIPSetRequest, callback?: (err: AWSError, data: WAF.Types.CreateIPSetResponse) => void): Request; - /** - * Creates an IPSet, which you use to specify which web requests you want to allow or block based on the IP addresses that the requests originate from. For example, if you're receiving a lot of requests from one or more individual IP addresses or one or more ranges of IP addresses and you want to block the requests, you can create an IPSet that contains those IP addresses and then configure AWS WAF to block the requests. To create and configure an IPSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateIPSet request. Submit a CreateIPSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateIPSet request to specify the IP addresses that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createIPSet(callback?: (err: AWSError, data: WAF.Types.CreateIPSetResponse) => void): Request; - /** - * Creates a RateBasedRule. The RateBasedRule contains a RateLimit, which specifies the maximum number of requests that AWS WAF allows from a specified IP address in a five-minute period. The RateBasedRule also contains the IPSet objects, ByteMatchSet objects, and other predicates that identify the requests that you want to count or block if these requests exceed the RateLimit. If you add more than one predicate to a RateBasedRule, a request not only must exceed the RateLimit, but it also must match all the specifications to be counted or blocked. For example, suppose you add the following to a RateBasedRule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header Further, you specify a RateLimit of 15,000. You then add the RateBasedRule to a WebACL and specify that you want to block requests that meet the conditions in the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. Further, requests that match these two conditions must be received at a rate of more than 15,000 requests every five minutes. If both conditions are met and the rate is exceeded, AWS WAF blocks the requests. If the rate drops below 15,000 for a five-minute period, AWS WAF no longer blocks the requests. As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a RateBasedRule: A ByteMatchSet with FieldToMatch of URI A PositionalConstraint of STARTS_WITH A TargetString of login Further, you specify a RateLimit of 15,000. By adding this RateBasedRule to a WebACL, you could limit requests to your login page without affecting the rest of your site. To create and configure a RateBasedRule, perform the following steps: Create and update the predicates that you want to include in the rule. For more information, see CreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRule request. Submit a CreateRateBasedRule request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRateBasedRule request to specify the predicates that you want to include in the rule. Create and update a WebACL that contains the RateBasedRule. For more information, see CreateWebACL. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createRateBasedRule(params: WAF.Types.CreateRateBasedRuleRequest, callback?: (err: AWSError, data: WAF.Types.CreateRateBasedRuleResponse) => void): Request; - /** - * Creates a RateBasedRule. The RateBasedRule contains a RateLimit, which specifies the maximum number of requests that AWS WAF allows from a specified IP address in a five-minute period. The RateBasedRule also contains the IPSet objects, ByteMatchSet objects, and other predicates that identify the requests that you want to count or block if these requests exceed the RateLimit. If you add more than one predicate to a RateBasedRule, a request not only must exceed the RateLimit, but it also must match all the specifications to be counted or blocked. For example, suppose you add the following to a RateBasedRule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header Further, you specify a RateLimit of 15,000. You then add the RateBasedRule to a WebACL and specify that you want to block requests that meet the conditions in the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. Further, requests that match these two conditions must be received at a rate of more than 15,000 requests every five minutes. If both conditions are met and the rate is exceeded, AWS WAF blocks the requests. If the rate drops below 15,000 for a five-minute period, AWS WAF no longer blocks the requests. As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a RateBasedRule: A ByteMatchSet with FieldToMatch of URI A PositionalConstraint of STARTS_WITH A TargetString of login Further, you specify a RateLimit of 15,000. By adding this RateBasedRule to a WebACL, you could limit requests to your login page without affecting the rest of your site. To create and configure a RateBasedRule, perform the following steps: Create and update the predicates that you want to include in the rule. For more information, see CreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRule request. Submit a CreateRateBasedRule request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRateBasedRule request to specify the predicates that you want to include in the rule. Create and update a WebACL that contains the RateBasedRule. For more information, see CreateWebACL. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createRateBasedRule(callback?: (err: AWSError, data: WAF.Types.CreateRateBasedRuleResponse) => void): Request; - /** - * Creates a Rule, which contains the IPSet objects, ByteMatchSet objects, and other predicates that identify the requests that you want to block. If you add more than one predicate to a Rule, a request must match all of the specifications to be allowed or blocked. For example, suppose you add the following to a Rule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header You then add the Rule to a WebACL and specify that you want to blocks requests that satisfy the Rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. To create and configure a Rule, perform the following steps: Create and update the predicates that you want to include in the Rule. For more information, see CreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRule request. Submit a CreateRule request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRule request to specify the predicates that you want to include in the Rule. Create and update a WebACL that contains the Rule. For more information, see CreateWebACL. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createRule(params: WAF.Types.CreateRuleRequest, callback?: (err: AWSError, data: WAF.Types.CreateRuleResponse) => void): Request; - /** - * Creates a Rule, which contains the IPSet objects, ByteMatchSet objects, and other predicates that identify the requests that you want to block. If you add more than one predicate to a Rule, a request must match all of the specifications to be allowed or blocked. For example, suppose you add the following to a Rule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header You then add the Rule to a WebACL and specify that you want to blocks requests that satisfy the Rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. To create and configure a Rule, perform the following steps: Create and update the predicates that you want to include in the Rule. For more information, see CreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRule request. Submit a CreateRule request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRule request to specify the predicates that you want to include in the Rule. Create and update a WebACL that contains the Rule. For more information, see CreateWebACL. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createRule(callback?: (err: AWSError, data: WAF.Types.CreateRuleResponse) => void): Request; - /** - * Creates a SizeConstraintSet. You then use UpdateSizeConstraintSet to identify the part of a web request that you want AWS WAF to check for length, such as the length of the User-Agent header or the length of the query string. For example, you can create a SizeConstraintSet that matches any requests that have a query string that is longer than 100 bytes. You can then configure AWS WAF to reject those requests. To create and configure a SizeConstraintSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateSizeConstraintSet request. Submit a CreateSizeConstraintSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSizeConstraintSet request. Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createSizeConstraintSet(params: WAF.Types.CreateSizeConstraintSetRequest, callback?: (err: AWSError, data: WAF.Types.CreateSizeConstraintSetResponse) => void): Request; - /** - * Creates a SizeConstraintSet. You then use UpdateSizeConstraintSet to identify the part of a web request that you want AWS WAF to check for length, such as the length of the User-Agent header or the length of the query string. For example, you can create a SizeConstraintSet that matches any requests that have a query string that is longer than 100 bytes. You can then configure AWS WAF to reject those requests. To create and configure a SizeConstraintSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateSizeConstraintSet request. Submit a CreateSizeConstraintSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSizeConstraintSet request. Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createSizeConstraintSet(callback?: (err: AWSError, data: WAF.Types.CreateSizeConstraintSetResponse) => void): Request; - /** - * Creates a SqlInjectionMatchSet, which you use to allow, block, or count requests that contain snippets of SQL code in a specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings. To create and configure a SqlInjectionMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateSqlInjectionMatchSet request. Submit a CreateSqlInjectionMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSqlInjectionMatchSet request. Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests in which you want to allow, block, or count malicious SQL code. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createSqlInjectionMatchSet(params: WAF.Types.CreateSqlInjectionMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.CreateSqlInjectionMatchSetResponse) => void): Request; - /** - * Creates a SqlInjectionMatchSet, which you use to allow, block, or count requests that contain snippets of SQL code in a specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings. To create and configure a SqlInjectionMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateSqlInjectionMatchSet request. Submit a CreateSqlInjectionMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSqlInjectionMatchSet request. Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests in which you want to allow, block, or count malicious SQL code. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createSqlInjectionMatchSet(callback?: (err: AWSError, data: WAF.Types.CreateSqlInjectionMatchSetResponse) => void): Request; - /** - * Creates a WebACL, which contains the Rules that identify the CloudFront web requests that you want to allow, block, or count. AWS WAF evaluates Rules in order based on the value of Priority for each Rule. You also specify a default action, either ALLOW or BLOCK. If a web request doesn't match any of the Rules in a WebACL, AWS WAF responds to the request with the default action. To create and configure a WebACL, perform the following steps: Create and update the ByteMatchSet objects and other predicates that you want to include in Rules. For more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, CreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet. Create and update the Rules that you want to include in the WebACL. For more information, see CreateRule and UpdateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateWebACL request. Submit a CreateWebACL request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateWebACL request. Submit an UpdateWebACL request to specify the Rules that you want to include in the WebACL, to specify the default action, and to associate the WebACL with a CloudFront distribution. For more information about how to use the AWS WAF API, see the AWS WAF Developer Guide. - */ - createWebACL(params: WAF.Types.CreateWebACLRequest, callback?: (err: AWSError, data: WAF.Types.CreateWebACLResponse) => void): Request; - /** - * Creates a WebACL, which contains the Rules that identify the CloudFront web requests that you want to allow, block, or count. AWS WAF evaluates Rules in order based on the value of Priority for each Rule. You also specify a default action, either ALLOW or BLOCK. If a web request doesn't match any of the Rules in a WebACL, AWS WAF responds to the request with the default action. To create and configure a WebACL, perform the following steps: Create and update the ByteMatchSet objects and other predicates that you want to include in Rules. For more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, CreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet. Create and update the Rules that you want to include in the WebACL. For more information, see CreateRule and UpdateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateWebACL request. Submit a CreateWebACL request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateWebACL request. Submit an UpdateWebACL request to specify the Rules that you want to include in the WebACL, to specify the default action, and to associate the WebACL with a CloudFront distribution. For more information about how to use the AWS WAF API, see the AWS WAF Developer Guide. - */ - createWebACL(callback?: (err: AWSError, data: WAF.Types.CreateWebACLResponse) => void): Request; - /** - * Creates an XssMatchSet, which you use to allow, block, or count requests that contain cross-site scripting attacks in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings. To create and configure an XssMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateXssMatchSet request. Submit a CreateXssMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateXssMatchSet request. Submit an UpdateXssMatchSet request to specify the parts of web requests in which you want to allow, block, or count cross-site scripting attacks. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createXssMatchSet(params: WAF.Types.CreateXssMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.CreateXssMatchSetResponse) => void): Request; - /** - * Creates an XssMatchSet, which you use to allow, block, or count requests that contain cross-site scripting attacks in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings. To create and configure an XssMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateXssMatchSet request. Submit a CreateXssMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateXssMatchSet request. Submit an UpdateXssMatchSet request to specify the parts of web requests in which you want to allow, block, or count cross-site scripting attacks. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createXssMatchSet(callback?: (err: AWSError, data: WAF.Types.CreateXssMatchSetResponse) => void): Request; - /** - * Permanently deletes a ByteMatchSet. You can't delete a ByteMatchSet if it's still used in any Rules or if it still includes any ByteMatchTuple objects (any filters). If you just want to remove a ByteMatchSet from a Rule, use UpdateRule. To permanently delete a ByteMatchSet, perform the following steps: Update the ByteMatchSet to remove filters, if any. For more information, see UpdateByteMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteByteMatchSet request. Submit a DeleteByteMatchSet request. - */ - deleteByteMatchSet(params: WAF.Types.DeleteByteMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.DeleteByteMatchSetResponse) => void): Request; - /** - * Permanently deletes a ByteMatchSet. You can't delete a ByteMatchSet if it's still used in any Rules or if it still includes any ByteMatchTuple objects (any filters). If you just want to remove a ByteMatchSet from a Rule, use UpdateRule. To permanently delete a ByteMatchSet, perform the following steps: Update the ByteMatchSet to remove filters, if any. For more information, see UpdateByteMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteByteMatchSet request. Submit a DeleteByteMatchSet request. - */ - deleteByteMatchSet(callback?: (err: AWSError, data: WAF.Types.DeleteByteMatchSetResponse) => void): Request; - /** - * Permanently deletes an IPSet. You can't delete an IPSet if it's still used in any Rules or if it still includes any IP addresses. If you just want to remove an IPSet from a Rule, use UpdateRule. To permanently delete an IPSet from AWS WAF, perform the following steps: Update the IPSet to remove IP address ranges, if any. For more information, see UpdateIPSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteIPSet request. Submit a DeleteIPSet request. - */ - deleteIPSet(params: WAF.Types.DeleteIPSetRequest, callback?: (err: AWSError, data: WAF.Types.DeleteIPSetResponse) => void): Request; - /** - * Permanently deletes an IPSet. You can't delete an IPSet if it's still used in any Rules or if it still includes any IP addresses. If you just want to remove an IPSet from a Rule, use UpdateRule. To permanently delete an IPSet from AWS WAF, perform the following steps: Update the IPSet to remove IP address ranges, if any. For more information, see UpdateIPSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteIPSet request. Submit a DeleteIPSet request. - */ - deleteIPSet(callback?: (err: AWSError, data: WAF.Types.DeleteIPSetResponse) => void): Request; - /** - * Permanently deletes a RateBasedRule. You can't delete a rule if it's still used in any WebACL objects or if it still includes any predicates, such as ByteMatchSet objects. If you just want to remove a rule from a WebACL, use UpdateWebACL. To permanently delete a RateBasedRule from AWS WAF, perform the following steps: Update the RateBasedRule to remove predicates, if any. For more information, see UpdateRateBasedRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRateBasedRule request. Submit a DeleteRateBasedRule request. - */ - deleteRateBasedRule(params: WAF.Types.DeleteRateBasedRuleRequest, callback?: (err: AWSError, data: WAF.Types.DeleteRateBasedRuleResponse) => void): Request; - /** - * Permanently deletes a RateBasedRule. You can't delete a rule if it's still used in any WebACL objects or if it still includes any predicates, such as ByteMatchSet objects. If you just want to remove a rule from a WebACL, use UpdateWebACL. To permanently delete a RateBasedRule from AWS WAF, perform the following steps: Update the RateBasedRule to remove predicates, if any. For more information, see UpdateRateBasedRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRateBasedRule request. Submit a DeleteRateBasedRule request. - */ - deleteRateBasedRule(callback?: (err: AWSError, data: WAF.Types.DeleteRateBasedRuleResponse) => void): Request; - /** - * Permanently deletes a Rule. You can't delete a Rule if it's still used in any WebACL objects or if it still includes any predicates, such as ByteMatchSet objects. If you just want to remove a Rule from a WebACL, use UpdateWebACL. To permanently delete a Rule from AWS WAF, perform the following steps: Update the Rule to remove predicates, if any. For more information, see UpdateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRule request. Submit a DeleteRule request. - */ - deleteRule(params: WAF.Types.DeleteRuleRequest, callback?: (err: AWSError, data: WAF.Types.DeleteRuleResponse) => void): Request; - /** - * Permanently deletes a Rule. You can't delete a Rule if it's still used in any WebACL objects or if it still includes any predicates, such as ByteMatchSet objects. If you just want to remove a Rule from a WebACL, use UpdateWebACL. To permanently delete a Rule from AWS WAF, perform the following steps: Update the Rule to remove predicates, if any. For more information, see UpdateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRule request. Submit a DeleteRule request. - */ - deleteRule(callback?: (err: AWSError, data: WAF.Types.DeleteRuleResponse) => void): Request; - /** - * Permanently deletes a SizeConstraintSet. You can't delete a SizeConstraintSet if it's still used in any Rules or if it still includes any SizeConstraint objects (any filters). If you just want to remove a SizeConstraintSet from a Rule, use UpdateRule. To permanently delete a SizeConstraintSet, perform the following steps: Update the SizeConstraintSet to remove filters, if any. For more information, see UpdateSizeConstraintSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSizeConstraintSet request. Submit a DeleteSizeConstraintSet request. - */ - deleteSizeConstraintSet(params: WAF.Types.DeleteSizeConstraintSetRequest, callback?: (err: AWSError, data: WAF.Types.DeleteSizeConstraintSetResponse) => void): Request; - /** - * Permanently deletes a SizeConstraintSet. You can't delete a SizeConstraintSet if it's still used in any Rules or if it still includes any SizeConstraint objects (any filters). If you just want to remove a SizeConstraintSet from a Rule, use UpdateRule. To permanently delete a SizeConstraintSet, perform the following steps: Update the SizeConstraintSet to remove filters, if any. For more information, see UpdateSizeConstraintSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSizeConstraintSet request. Submit a DeleteSizeConstraintSet request. - */ - deleteSizeConstraintSet(callback?: (err: AWSError, data: WAF.Types.DeleteSizeConstraintSetResponse) => void): Request; - /** - * Permanently deletes a SqlInjectionMatchSet. You can't delete a SqlInjectionMatchSet if it's still used in any Rules or if it still contains any SqlInjectionMatchTuple objects. If you just want to remove a SqlInjectionMatchSet from a Rule, use UpdateRule. To permanently delete a SqlInjectionMatchSet from AWS WAF, perform the following steps: Update the SqlInjectionMatchSet to remove filters, if any. For more information, see UpdateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSqlInjectionMatchSet request. Submit a DeleteSqlInjectionMatchSet request. - */ - deleteSqlInjectionMatchSet(params: WAF.Types.DeleteSqlInjectionMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.DeleteSqlInjectionMatchSetResponse) => void): Request; - /** - * Permanently deletes a SqlInjectionMatchSet. You can't delete a SqlInjectionMatchSet if it's still used in any Rules or if it still contains any SqlInjectionMatchTuple objects. If you just want to remove a SqlInjectionMatchSet from a Rule, use UpdateRule. To permanently delete a SqlInjectionMatchSet from AWS WAF, perform the following steps: Update the SqlInjectionMatchSet to remove filters, if any. For more information, see UpdateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSqlInjectionMatchSet request. Submit a DeleteSqlInjectionMatchSet request. - */ - deleteSqlInjectionMatchSet(callback?: (err: AWSError, data: WAF.Types.DeleteSqlInjectionMatchSetResponse) => void): Request; - /** - * Permanently deletes a WebACL. You can't delete a WebACL if it still contains any Rules. To delete a WebACL, perform the following steps: Update the WebACL to remove Rules, if any. For more information, see UpdateWebACL. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteWebACL request. Submit a DeleteWebACL request. - */ - deleteWebACL(params: WAF.Types.DeleteWebACLRequest, callback?: (err: AWSError, data: WAF.Types.DeleteWebACLResponse) => void): Request; - /** - * Permanently deletes a WebACL. You can't delete a WebACL if it still contains any Rules. To delete a WebACL, perform the following steps: Update the WebACL to remove Rules, if any. For more information, see UpdateWebACL. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteWebACL request. Submit a DeleteWebACL request. - */ - deleteWebACL(callback?: (err: AWSError, data: WAF.Types.DeleteWebACLResponse) => void): Request; - /** - * Permanently deletes an XssMatchSet. You can't delete an XssMatchSet if it's still used in any Rules or if it still contains any XssMatchTuple objects. If you just want to remove an XssMatchSet from a Rule, use UpdateRule. To permanently delete an XssMatchSet from AWS WAF, perform the following steps: Update the XssMatchSet to remove filters, if any. For more information, see UpdateXssMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteXssMatchSet request. Submit a DeleteXssMatchSet request. - */ - deleteXssMatchSet(params: WAF.Types.DeleteXssMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.DeleteXssMatchSetResponse) => void): Request; - /** - * Permanently deletes an XssMatchSet. You can't delete an XssMatchSet if it's still used in any Rules or if it still contains any XssMatchTuple objects. If you just want to remove an XssMatchSet from a Rule, use UpdateRule. To permanently delete an XssMatchSet from AWS WAF, perform the following steps: Update the XssMatchSet to remove filters, if any. For more information, see UpdateXssMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteXssMatchSet request. Submit a DeleteXssMatchSet request. - */ - deleteXssMatchSet(callback?: (err: AWSError, data: WAF.Types.DeleteXssMatchSetResponse) => void): Request; - /** - * Returns the ByteMatchSet specified by ByteMatchSetId. - */ - getByteMatchSet(params: WAF.Types.GetByteMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.GetByteMatchSetResponse) => void): Request; - /** - * Returns the ByteMatchSet specified by ByteMatchSetId. - */ - getByteMatchSet(callback?: (err: AWSError, data: WAF.Types.GetByteMatchSetResponse) => void): Request; - /** - * When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF. Each create, update, or delete request must use a unique change token. If your application submits a GetChangeToken request and then submits a second GetChangeToken request before submitting a create, update, or delete request, the second GetChangeToken request returns the same value as the first GetChangeToken request. When you use a change token in a create, update, or delete request, the status of the change token changes to PENDING, which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use GetChangeTokenStatus to determine the status of your change token. - */ - getChangeToken(params: WAF.Types.GetChangeTokenRequest, callback?: (err: AWSError, data: WAF.Types.GetChangeTokenResponse) => void): Request; - /** - * When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF. Each create, update, or delete request must use a unique change token. If your application submits a GetChangeToken request and then submits a second GetChangeToken request before submitting a create, update, or delete request, the second GetChangeToken request returns the same value as the first GetChangeToken request. When you use a change token in a create, update, or delete request, the status of the change token changes to PENDING, which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use GetChangeTokenStatus to determine the status of your change token. - */ - getChangeToken(callback?: (err: AWSError, data: WAF.Types.GetChangeTokenResponse) => void): Request; - /** - * Returns the status of a ChangeToken that you got by calling GetChangeToken. ChangeTokenStatus is one of the following values: PROVISIONED: You requested the change token by calling GetChangeToken, but you haven't used it yet in a call to create, update, or delete an AWS WAF object. PENDING: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers. IN_SYNC: Propagation is complete. - */ - getChangeTokenStatus(params: WAF.Types.GetChangeTokenStatusRequest, callback?: (err: AWSError, data: WAF.Types.GetChangeTokenStatusResponse) => void): Request; - /** - * Returns the status of a ChangeToken that you got by calling GetChangeToken. ChangeTokenStatus is one of the following values: PROVISIONED: You requested the change token by calling GetChangeToken, but you haven't used it yet in a call to create, update, or delete an AWS WAF object. PENDING: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers. IN_SYNC: Propagation is complete. - */ - getChangeTokenStatus(callback?: (err: AWSError, data: WAF.Types.GetChangeTokenStatusResponse) => void): Request; - /** - * Returns the IPSet that is specified by IPSetId. - */ - getIPSet(params: WAF.Types.GetIPSetRequest, callback?: (err: AWSError, data: WAF.Types.GetIPSetResponse) => void): Request; - /** - * Returns the IPSet that is specified by IPSetId. - */ - getIPSet(callback?: (err: AWSError, data: WAF.Types.GetIPSetResponse) => void): Request; - /** - * Returns the RateBasedRule that is specified by the RuleId that you included in the GetRateBasedRule request. - */ - getRateBasedRule(params: WAF.Types.GetRateBasedRuleRequest, callback?: (err: AWSError, data: WAF.Types.GetRateBasedRuleResponse) => void): Request; - /** - * Returns the RateBasedRule that is specified by the RuleId that you included in the GetRateBasedRule request. - */ - getRateBasedRule(callback?: (err: AWSError, data: WAF.Types.GetRateBasedRuleResponse) => void): Request; - /** - * Returns an array of IP addresses currently being blocked by the RateBasedRule that is specified by the RuleId. The maximum number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed the rate limit, the 10,000 addresses with the highest rates will be blocked. - */ - getRateBasedRuleManagedKeys(params: WAF.Types.GetRateBasedRuleManagedKeysRequest, callback?: (err: AWSError, data: WAF.Types.GetRateBasedRuleManagedKeysResponse) => void): Request; - /** - * Returns an array of IP addresses currently being blocked by the RateBasedRule that is specified by the RuleId. The maximum number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed the rate limit, the 10,000 addresses with the highest rates will be blocked. - */ - getRateBasedRuleManagedKeys(callback?: (err: AWSError, data: WAF.Types.GetRateBasedRuleManagedKeysResponse) => void): Request; - /** - * Returns the Rule that is specified by the RuleId that you included in the GetRule request. - */ - getRule(params: WAF.Types.GetRuleRequest, callback?: (err: AWSError, data: WAF.Types.GetRuleResponse) => void): Request; - /** - * Returns the Rule that is specified by the RuleId that you included in the GetRule request. - */ - getRule(callback?: (err: AWSError, data: WAF.Types.GetRuleResponse) => void): Request; - /** - * Gets detailed information about a specified number of requests--a sample--that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours. GetSampledRequests returns a time range, which is usually the time range that you specified. However, if your resource (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, GetSampledRequests returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample. - */ - getSampledRequests(params: WAF.Types.GetSampledRequestsRequest, callback?: (err: AWSError, data: WAF.Types.GetSampledRequestsResponse) => void): Request; - /** - * Gets detailed information about a specified number of requests--a sample--that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours. GetSampledRequests returns a time range, which is usually the time range that you specified. However, if your resource (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, GetSampledRequests returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample. - */ - getSampledRequests(callback?: (err: AWSError, data: WAF.Types.GetSampledRequestsResponse) => void): Request; - /** - * Returns the SizeConstraintSet specified by SizeConstraintSetId. - */ - getSizeConstraintSet(params: WAF.Types.GetSizeConstraintSetRequest, callback?: (err: AWSError, data: WAF.Types.GetSizeConstraintSetResponse) => void): Request; - /** - * Returns the SizeConstraintSet specified by SizeConstraintSetId. - */ - getSizeConstraintSet(callback?: (err: AWSError, data: WAF.Types.GetSizeConstraintSetResponse) => void): Request; - /** - * Returns the SqlInjectionMatchSet that is specified by SqlInjectionMatchSetId. - */ - getSqlInjectionMatchSet(params: WAF.Types.GetSqlInjectionMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.GetSqlInjectionMatchSetResponse) => void): Request; - /** - * Returns the SqlInjectionMatchSet that is specified by SqlInjectionMatchSetId. - */ - getSqlInjectionMatchSet(callback?: (err: AWSError, data: WAF.Types.GetSqlInjectionMatchSetResponse) => void): Request; - /** - * Returns the WebACL that is specified by WebACLId. - */ - getWebACL(params: WAF.Types.GetWebACLRequest, callback?: (err: AWSError, data: WAF.Types.GetWebACLResponse) => void): Request; - /** - * Returns the WebACL that is specified by WebACLId. - */ - getWebACL(callback?: (err: AWSError, data: WAF.Types.GetWebACLResponse) => void): Request; - /** - * Returns the XssMatchSet that is specified by XssMatchSetId. - */ - getXssMatchSet(params: WAF.Types.GetXssMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.GetXssMatchSetResponse) => void): Request; - /** - * Returns the XssMatchSet that is specified by XssMatchSetId. - */ - getXssMatchSet(callback?: (err: AWSError, data: WAF.Types.GetXssMatchSetResponse) => void): Request; - /** - * Returns an array of ByteMatchSetSummary objects. - */ - listByteMatchSets(params: WAF.Types.ListByteMatchSetsRequest, callback?: (err: AWSError, data: WAF.Types.ListByteMatchSetsResponse) => void): Request; - /** - * Returns an array of ByteMatchSetSummary objects. - */ - listByteMatchSets(callback?: (err: AWSError, data: WAF.Types.ListByteMatchSetsResponse) => void): Request; - /** - * Returns an array of IPSetSummary objects in the response. - */ - listIPSets(params: WAF.Types.ListIPSetsRequest, callback?: (err: AWSError, data: WAF.Types.ListIPSetsResponse) => void): Request; - /** - * Returns an array of IPSetSummary objects in the response. - */ - listIPSets(callback?: (err: AWSError, data: WAF.Types.ListIPSetsResponse) => void): Request; - /** - * Returns an array of RuleSummary objects. - */ - listRateBasedRules(params: WAF.Types.ListRateBasedRulesRequest, callback?: (err: AWSError, data: WAF.Types.ListRateBasedRulesResponse) => void): Request; - /** - * Returns an array of RuleSummary objects. - */ - listRateBasedRules(callback?: (err: AWSError, data: WAF.Types.ListRateBasedRulesResponse) => void): Request; - /** - * Returns an array of RuleSummary objects. - */ - listRules(params: WAF.Types.ListRulesRequest, callback?: (err: AWSError, data: WAF.Types.ListRulesResponse) => void): Request; - /** - * Returns an array of RuleSummary objects. - */ - listRules(callback?: (err: AWSError, data: WAF.Types.ListRulesResponse) => void): Request; - /** - * Returns an array of SizeConstraintSetSummary objects. - */ - listSizeConstraintSets(params: WAF.Types.ListSizeConstraintSetsRequest, callback?: (err: AWSError, data: WAF.Types.ListSizeConstraintSetsResponse) => void): Request; - /** - * Returns an array of SizeConstraintSetSummary objects. - */ - listSizeConstraintSets(callback?: (err: AWSError, data: WAF.Types.ListSizeConstraintSetsResponse) => void): Request; - /** - * Returns an array of SqlInjectionMatchSet objects. - */ - listSqlInjectionMatchSets(params: WAF.Types.ListSqlInjectionMatchSetsRequest, callback?: (err: AWSError, data: WAF.Types.ListSqlInjectionMatchSetsResponse) => void): Request; - /** - * Returns an array of SqlInjectionMatchSet objects. - */ - listSqlInjectionMatchSets(callback?: (err: AWSError, data: WAF.Types.ListSqlInjectionMatchSetsResponse) => void): Request; - /** - * Returns an array of WebACLSummary objects in the response. - */ - listWebACLs(params: WAF.Types.ListWebACLsRequest, callback?: (err: AWSError, data: WAF.Types.ListWebACLsResponse) => void): Request; - /** - * Returns an array of WebACLSummary objects in the response. - */ - listWebACLs(callback?: (err: AWSError, data: WAF.Types.ListWebACLsResponse) => void): Request; - /** - * Returns an array of XssMatchSet objects. - */ - listXssMatchSets(params: WAF.Types.ListXssMatchSetsRequest, callback?: (err: AWSError, data: WAF.Types.ListXssMatchSetsResponse) => void): Request; - /** - * Returns an array of XssMatchSet objects. - */ - listXssMatchSets(callback?: (err: AWSError, data: WAF.Types.ListXssMatchSetsResponse) => void): Request; - /** - * Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet. For each ByteMatchTuple object, you specify the following values: Whether to insert or delete the object from the array. If you want to change a ByteMatchSetUpdate object, you delete the existing object and add a new one. The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header. The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify the values for the AWS WAF API and the AWS CLI or SDKs, see TargetString in the ByteMatchTuple data type. Where to look, such as at the beginning or the end of a query string. Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string. For example, you can add a ByteMatchSetUpdate object that matches web requests in which User-Agent headers contain the string BadBot. You can then configure AWS WAF to block those requests. To create and configure a ByteMatchSet, perform the following steps: Create a ByteMatchSet. For more information, see CreateByteMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateByteMatchSet request. Submit an UpdateByteMatchSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateByteMatchSet(params: WAF.Types.UpdateByteMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.UpdateByteMatchSetResponse) => void): Request; - /** - * Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet. For each ByteMatchTuple object, you specify the following values: Whether to insert or delete the object from the array. If you want to change a ByteMatchSetUpdate object, you delete the existing object and add a new one. The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header. The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify the values for the AWS WAF API and the AWS CLI or SDKs, see TargetString in the ByteMatchTuple data type. Where to look, such as at the beginning or the end of a query string. Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string. For example, you can add a ByteMatchSetUpdate object that matches web requests in which User-Agent headers contain the string BadBot. You can then configure AWS WAF to block those requests. To create and configure a ByteMatchSet, perform the following steps: Create a ByteMatchSet. For more information, see CreateByteMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateByteMatchSet request. Submit an UpdateByteMatchSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateByteMatchSet(callback?: (err: AWSError, data: WAF.Types.UpdateByteMatchSetResponse) => void): Request; - /** - * Inserts or deletes IPSetDescriptor objects in an IPSet. For each IPSetDescriptor object, you specify the following values: Whether to insert or delete the object from the array. If you want to change an IPSetDescriptor object, you delete the existing object and add a new one. The IP address version, IPv4 or IPv6. The IP address in CIDR notation, for example, 192.0.2.0/24 (for the range of IP addresses from 192.0.2.0 to 192.0.2.255) or 192.0.2.44/32 (for the individual IP address 192.0.2.44). AWS WAF supports /8, /16, /24, and /32 IP address ranges for IPv4, and /24, /32, /48, /56, /64 and /128 for IPv6. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. IPv6 addresses can be represented using any of the following formats: 1111:0000:0000:0000:0000:0000:0000:0111/128 1111:0:0:0:0:0:0:0111/128 1111::0111/128 1111::111/128 You use an IPSet to specify which web requests you want to allow or block based on the IP addresses that the requests originated from. For example, if you're receiving a lot of requests from one or a small number of IP addresses and you want to block the requests, you can create an IPSet that specifies those IP addresses, and then configure AWS WAF to block the requests. To create and configure an IPSet, perform the following steps: Submit a CreateIPSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateIPSet request to specify the IP addresses that you want AWS WAF to watch for. When you update an IPSet, you specify the IP addresses that you want to add and/or the IP addresses that you want to delete. If you want to change an IP address, you delete the existing IP address and add the new one. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateIPSet(params: WAF.Types.UpdateIPSetRequest, callback?: (err: AWSError, data: WAF.Types.UpdateIPSetResponse) => void): Request; - /** - * Inserts or deletes IPSetDescriptor objects in an IPSet. For each IPSetDescriptor object, you specify the following values: Whether to insert or delete the object from the array. If you want to change an IPSetDescriptor object, you delete the existing object and add a new one. The IP address version, IPv4 or IPv6. The IP address in CIDR notation, for example, 192.0.2.0/24 (for the range of IP addresses from 192.0.2.0 to 192.0.2.255) or 192.0.2.44/32 (for the individual IP address 192.0.2.44). AWS WAF supports /8, /16, /24, and /32 IP address ranges for IPv4, and /24, /32, /48, /56, /64 and /128 for IPv6. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. IPv6 addresses can be represented using any of the following formats: 1111:0000:0000:0000:0000:0000:0000:0111/128 1111:0:0:0:0:0:0:0111/128 1111::0111/128 1111::111/128 You use an IPSet to specify which web requests you want to allow or block based on the IP addresses that the requests originated from. For example, if you're receiving a lot of requests from one or a small number of IP addresses and you want to block the requests, you can create an IPSet that specifies those IP addresses, and then configure AWS WAF to block the requests. To create and configure an IPSet, perform the following steps: Submit a CreateIPSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateIPSet request to specify the IP addresses that you want AWS WAF to watch for. When you update an IPSet, you specify the IP addresses that you want to add and/or the IP addresses that you want to delete. If you want to change an IP address, you delete the existing IP address and add the new one. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateIPSet(callback?: (err: AWSError, data: WAF.Types.UpdateIPSetResponse) => void): Request; - /** - * Inserts or deletes Predicate objects in a rule and updates the RateLimit in the rule. Each Predicate object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests that you want to block or count. The RateLimit specifies the number of requests every five minutes that triggers the rule. If you add more than one predicate to a RateBasedRule, a request must match all the predicates and exceed the RateLimit to be counted or blocked. For example, suppose you add the following to a RateBasedRule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header Further, you specify a RateLimit of 15,000. You then add the RateBasedRule to a WebACL and specify that you want to block requests that satisfy the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. Further, requests that match these two conditions much be received at a rate of more than 15,000 every five minutes. If the rate drops below this limit, AWS WAF no longer blocks the requests. As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a RateBasedRule: A ByteMatchSet with FieldToMatch of URI A PositionalConstraint of STARTS_WITH A TargetString of login Further, you specify a RateLimit of 15,000. By adding this RateBasedRule to a WebACL, you could limit requests to your login page without affecting the rest of your site. - */ - updateRateBasedRule(params: WAF.Types.UpdateRateBasedRuleRequest, callback?: (err: AWSError, data: WAF.Types.UpdateRateBasedRuleResponse) => void): Request; - /** - * Inserts or deletes Predicate objects in a rule and updates the RateLimit in the rule. Each Predicate object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests that you want to block or count. The RateLimit specifies the number of requests every five minutes that triggers the rule. If you add more than one predicate to a RateBasedRule, a request must match all the predicates and exceed the RateLimit to be counted or blocked. For example, suppose you add the following to a RateBasedRule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header Further, you specify a RateLimit of 15,000. You then add the RateBasedRule to a WebACL and specify that you want to block requests that satisfy the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. Further, requests that match these two conditions much be received at a rate of more than 15,000 every five minutes. If the rate drops below this limit, AWS WAF no longer blocks the requests. As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a RateBasedRule: A ByteMatchSet with FieldToMatch of URI A PositionalConstraint of STARTS_WITH A TargetString of login Further, you specify a RateLimit of 15,000. By adding this RateBasedRule to a WebACL, you could limit requests to your login page without affecting the rest of your site. - */ - updateRateBasedRule(callback?: (err: AWSError, data: WAF.Types.UpdateRateBasedRuleResponse) => void): Request; - /** - * Inserts or deletes Predicate objects in a Rule. Each Predicate object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests that you want to allow, block, or count. If you add more than one predicate to a Rule, a request must match all of the specifications to be allowed, blocked, or counted. For example, suppose you add the following to a Rule: A ByteMatchSet that matches the value BadBot in the User-Agent header An IPSet that matches the IP address 192.0.2.44 You then add the Rule to a WebACL and specify that you want to block requests that satisfy the Rule. For a request to be blocked, the User-Agent header in the request must contain the value BadBot and the request must originate from the IP address 192.0.2.44. To create and configure a Rule, perform the following steps: Create and update the predicates that you want to include in the Rule. Create the Rule. See CreateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRule request to add predicates to the Rule. Create and update a WebACL that contains the Rule. See CreateWebACL. If you want to replace one ByteMatchSet or IPSet with another, you delete the existing one and add the new one. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateRule(params: WAF.Types.UpdateRuleRequest, callback?: (err: AWSError, data: WAF.Types.UpdateRuleResponse) => void): Request; - /** - * Inserts or deletes Predicate objects in a Rule. Each Predicate object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests that you want to allow, block, or count. If you add more than one predicate to a Rule, a request must match all of the specifications to be allowed, blocked, or counted. For example, suppose you add the following to a Rule: A ByteMatchSet that matches the value BadBot in the User-Agent header An IPSet that matches the IP address 192.0.2.44 You then add the Rule to a WebACL and specify that you want to block requests that satisfy the Rule. For a request to be blocked, the User-Agent header in the request must contain the value BadBot and the request must originate from the IP address 192.0.2.44. To create and configure a Rule, perform the following steps: Create and update the predicates that you want to include in the Rule. Create the Rule. See CreateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRule request to add predicates to the Rule. Create and update a WebACL that contains the Rule. See CreateWebACL. If you want to replace one ByteMatchSet or IPSet with another, you delete the existing one and add the new one. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateRule(callback?: (err: AWSError, data: WAF.Types.UpdateRuleResponse) => void): Request; - /** - * Inserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. For each SizeConstraint object, you specify the following values: Whether to insert or delete the object from the array. If you want to change a SizeConstraintSetUpdate object, you delete the existing object and add a new one. The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the User-Agent header. Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length. Note that transformations of the request body are not supported because the AWS resource forwards only the first 8192 bytes of your request to AWS WAF. A ComparisonOperator used for evaluating the selected part of the request against the specified Size, such as equals, greater than, less than, and so on. The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation. For example, you can add a SizeConstraintSetUpdate object that matches web requests in which the length of the User-Agent header is greater than 100 bytes. You can then configure AWS WAF to block those requests. To create and configure a SizeConstraintSet, perform the following steps: Create a SizeConstraintSet. For more information, see CreateSizeConstraintSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSizeConstraintSet request. Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateSizeConstraintSet(params: WAF.Types.UpdateSizeConstraintSetRequest, callback?: (err: AWSError, data: WAF.Types.UpdateSizeConstraintSetResponse) => void): Request; - /** - * Inserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. For each SizeConstraint object, you specify the following values: Whether to insert or delete the object from the array. If you want to change a SizeConstraintSetUpdate object, you delete the existing object and add a new one. The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the User-Agent header. Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length. Note that transformations of the request body are not supported because the AWS resource forwards only the first 8192 bytes of your request to AWS WAF. A ComparisonOperator used for evaluating the selected part of the request against the specified Size, such as equals, greater than, less than, and so on. The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation. For example, you can add a SizeConstraintSetUpdate object that matches web requests in which the length of the User-Agent header is greater than 100 bytes. You can then configure AWS WAF to block those requests. To create and configure a SizeConstraintSet, perform the following steps: Create a SizeConstraintSet. For more information, see CreateSizeConstraintSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSizeConstraintSet request. Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateSizeConstraintSet(callback?: (err: AWSError, data: WAF.Types.UpdateSizeConstraintSetResponse) => void): Request; - /** - * Inserts or deletes SqlInjectionMatchTuple objects (filters) in a SqlInjectionMatchSet. For each SqlInjectionMatchTuple object, you specify the following values: Action: Whether to insert the object into or delete the object from the array. To change a SqlInjectionMatchTuple, you delete the existing object and add a new one. FieldToMatch: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header, the name of the header. TextTransformation: Which text transformation, if any, to perform on the web request before inspecting the request for snippets of malicious SQL code. You use SqlInjectionMatchSet objects to specify which CloudFront requests you want to allow, block, or count. For example, if you're receiving requests that contain snippets of SQL code in the query string and you want to block the requests, you can create a SqlInjectionMatchSet with the applicable settings, and then configure AWS WAF to block the requests. To create and configure a SqlInjectionMatchSet, perform the following steps: Submit a CreateSqlInjectionMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests that you want AWS WAF to inspect for snippets of SQL code. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateSqlInjectionMatchSet(params: WAF.Types.UpdateSqlInjectionMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.UpdateSqlInjectionMatchSetResponse) => void): Request; - /** - * Inserts or deletes SqlInjectionMatchTuple objects (filters) in a SqlInjectionMatchSet. For each SqlInjectionMatchTuple object, you specify the following values: Action: Whether to insert the object into or delete the object from the array. To change a SqlInjectionMatchTuple, you delete the existing object and add a new one. FieldToMatch: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header, the name of the header. TextTransformation: Which text transformation, if any, to perform on the web request before inspecting the request for snippets of malicious SQL code. You use SqlInjectionMatchSet objects to specify which CloudFront requests you want to allow, block, or count. For example, if you're receiving requests that contain snippets of SQL code in the query string and you want to block the requests, you can create a SqlInjectionMatchSet with the applicable settings, and then configure AWS WAF to block the requests. To create and configure a SqlInjectionMatchSet, perform the following steps: Submit a CreateSqlInjectionMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests that you want AWS WAF to inspect for snippets of SQL code. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateSqlInjectionMatchSet(callback?: (err: AWSError, data: WAF.Types.UpdateSqlInjectionMatchSetResponse) => void): Request; - /** - * Inserts or deletes ActivatedRule objects in a WebACL. Each Rule identifies web requests that you want to allow, block, or count. When you update a WebACL, you specify the following values: A default action for the WebACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the Rules in a WebACL. The Rules that you want to add and/or delete. If you want to replace one Rule with another, you delete the existing Rule and add the new one. For each Rule, whether you want AWS WAF to allow requests, block requests, or count requests that match the conditions in the Rule. The order in which you want AWS WAF to evaluate the Rules in a WebACL. If you add more than one Rule to a WebACL, AWS WAF evaluates each request against the Rules in order based on the value of Priority. (The Rule that has the lowest value for Priority is evaluated first.) When a web request matches all of the predicates (such as ByteMatchSets and IPSets) in a Rule, AWS WAF immediately takes the corresponding action, allow or block, and doesn't evaluate the request against the remaining Rules in the WebACL, if any. To create and configure a WebACL, perform the following steps: Create and update the predicates that you want to include in Rules. For more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, CreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet. Create and update the Rules that you want to include in the WebACL. For more information, see CreateRule and UpdateRule. Create a WebACL. See CreateWebACL. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateWebACL request. Submit an UpdateWebACL request to specify the Rules that you want to include in the WebACL, to specify the default action, and to associate the WebACL with a CloudFront distribution. Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the UpdateWebACL request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateWebACL(params: WAF.Types.UpdateWebACLRequest, callback?: (err: AWSError, data: WAF.Types.UpdateWebACLResponse) => void): Request; - /** - * Inserts or deletes ActivatedRule objects in a WebACL. Each Rule identifies web requests that you want to allow, block, or count. When you update a WebACL, you specify the following values: A default action for the WebACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the Rules in a WebACL. The Rules that you want to add and/or delete. If you want to replace one Rule with another, you delete the existing Rule and add the new one. For each Rule, whether you want AWS WAF to allow requests, block requests, or count requests that match the conditions in the Rule. The order in which you want AWS WAF to evaluate the Rules in a WebACL. If you add more than one Rule to a WebACL, AWS WAF evaluates each request against the Rules in order based on the value of Priority. (The Rule that has the lowest value for Priority is evaluated first.) When a web request matches all of the predicates (such as ByteMatchSets and IPSets) in a Rule, AWS WAF immediately takes the corresponding action, allow or block, and doesn't evaluate the request against the remaining Rules in the WebACL, if any. To create and configure a WebACL, perform the following steps: Create and update the predicates that you want to include in Rules. For more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, CreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet. Create and update the Rules that you want to include in the WebACL. For more information, see CreateRule and UpdateRule. Create a WebACL. See CreateWebACL. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateWebACL request. Submit an UpdateWebACL request to specify the Rules that you want to include in the WebACL, to specify the default action, and to associate the WebACL with a CloudFront distribution. Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the UpdateWebACL request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateWebACL(callback?: (err: AWSError, data: WAF.Types.UpdateWebACLResponse) => void): Request; - /** - * Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet. For each XssMatchTuple object, you specify the following values: Action: Whether to insert the object into or delete the object from the array. To change a XssMatchTuple, you delete the existing object and add a new one. FieldToMatch: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header, the name of the header. TextTransformation: Which text transformation, if any, to perform on the web request before inspecting the request for cross-site scripting attacks. You use XssMatchSet objects to specify which CloudFront requests you want to allow, block, or count. For example, if you're receiving requests that contain cross-site scripting attacks in the request body and you want to block the requests, you can create an XssMatchSet with the applicable settings, and then configure AWS WAF to block the requests. To create and configure an XssMatchSet, perform the following steps: Submit a CreateXssMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateXssMatchSet request to specify the parts of web requests that you want AWS WAF to inspect for cross-site scripting attacks. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateXssMatchSet(params: WAF.Types.UpdateXssMatchSetRequest, callback?: (err: AWSError, data: WAF.Types.UpdateXssMatchSetResponse) => void): Request; - /** - * Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet. For each XssMatchTuple object, you specify the following values: Action: Whether to insert the object into or delete the object from the array. To change a XssMatchTuple, you delete the existing object and add a new one. FieldToMatch: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header, the name of the header. TextTransformation: Which text transformation, if any, to perform on the web request before inspecting the request for cross-site scripting attacks. You use XssMatchSet objects to specify which CloudFront requests you want to allow, block, or count. For example, if you're receiving requests that contain cross-site scripting attacks in the request body and you want to block the requests, you can create an XssMatchSet with the applicable settings, and then configure AWS WAF to block the requests. To create and configure an XssMatchSet, perform the following steps: Submit a CreateXssMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateXssMatchSet request to specify the parts of web requests that you want AWS WAF to inspect for cross-site scripting attacks. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateXssMatchSet(callback?: (err: AWSError, data: WAF.Types.UpdateXssMatchSetResponse) => void): Request; -} -declare namespace WAF { - export type Action = string; - export interface ActivatedRule { - /** - * Specifies the order in which the Rules in a WebACL are evaluated. Rules with a lower value for Priority are evaluated before Rules with a higher value. The value must be a unique integer. If you add multiple Rules to a WebACL, the values don't need to be consecutive. - */ - Priority: RulePriority; - /** - * The RuleId for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule). RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - /** - * Specifies the action that CloudFront or AWS WAF takes when a web request matches the conditions in the Rule. Valid values for Action include the following: ALLOW: CloudFront responds with the requested object. BLOCK: CloudFront responds with an HTTP 403 (Forbidden) status code. COUNT: AWS WAF increments a counter of requests that match the conditions in the rule and then continues to inspect the web request based on the remaining rules in the web ACL. - */ - Action: WafAction; - /** - * The rule type, either REGULAR, as defined by Rule, or RATE_BASED, as defined by RateBasedRule. The default is REGULAR. Although this field is optional, be aware that if you try to add a RATE_BASED rule to a web ACL without setting the type, the UpdateWebACL request will fail because the request tries to add a REGULAR rule with the specified ID, which does not exist. - */ - Type?: WafRuleType; - } - export type ActivatedRules = ActivatedRule[]; - export interface ByteMatchSet { - /** - * The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet (see GetByteMatchSet), update a ByteMatchSet (see UpdateByteMatchSet), insert a ByteMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet). ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. - */ - ByteMatchSetId: ResourceId; - /** - * A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet. - */ - Name?: ResourceName; - /** - * Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. - */ - ByteMatchTuples: ByteMatchTuples; - } - export type ByteMatchSetSummaries = ByteMatchSetSummary[]; - export interface ByteMatchSetSummary { - /** - * The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. - */ - ByteMatchSetId: ResourceId; - /** - * A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet. - */ - Name: ResourceName; - } - export interface ByteMatchSetUpdate { - /** - * Specifies whether to insert or delete a ByteMatchTuple. - */ - Action: ChangeAction; - /** - * Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet. - */ - ByteMatchTuple: ByteMatchTuple; - } - export type ByteMatchSetUpdates = ByteMatchSetUpdate[]; - export type ByteMatchTargetString = Buffer|Uint8Array|Blob|string; - export interface ByteMatchTuple { - /** - * The part of a web request that you want AWS WAF to search, such as a specified header or a query string. For more information, see FieldToMatch. - */ - FieldToMatch: FieldToMatch; - /** - * The value that you want AWS WAF to search for. AWS WAF searches for the specified string in the part of web requests that you specified in FieldToMatch. The maximum length of the value is 50 bytes. Valid values depend on the values that you specified for FieldToMatch: HEADER: The value that you want AWS WAF to search for in the request header that you specified in FieldToMatch, for example, the value of the User-Agent or Referer header. METHOD: The HTTP method, which indicates the type of operation specified in the request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT. QUERY_STRING: The value that you want AWS WAF to search for in the query string, which is the part of a URL that appears after a ? character. URI: The value that you want AWS WAF to search for in the part of a URL that identifies a resource, for example, /images/daily-ad.jpg. BODY: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first 8192 bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see CreateSizeConstraintSet. If TargetString includes alphabetic characters A-Z and a-z, note that the value is case sensitive. If you're using the AWS WAF API Specify a base64-encoded version of the value. The maximum length of the value before you base64-encode it is 50 bytes. For example, suppose the value of Type is HEADER and the value of Data is User-Agent. If you want to search the User-Agent header for the value BadBot, you base64-encode BadBot using MIME base64 encoding and include the resulting value, QmFkQm90, in the value of TargetString. If you're using the AWS CLI or one of the AWS SDKs The value that you want AWS WAF to search for. The SDK automatically base64 encodes the value. - */ - TargetString: ByteMatchTargetString; - /** - * Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on TargetString before inspecting a request for a match. CMD_LINE When you're concerned that attackers are injecting an operating system commandline command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations: Delete the following characters: \ " ' ^ Delete spaces before the following characters: / ( Replace the following characters with a space: , ; Replace multiple spaces with one space Convert uppercase letters (A-Z) to lowercase (a-z) COMPRESS_WHITE_SPACE Use this option to replace the following characters with a space character (decimal 32): \f, formfeed, decimal 12 \t, tab, decimal 9 \n, newline, decimal 10 \r, carriage return, decimal 13 \v, vertical tab, decimal 11 non-breaking space, decimal 160 COMPRESS_WHITE_SPACE also replaces multiple spaces with one space. HTML_ENTITY_DECODE Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations: Replaces (ampersand)quot; with " Replaces (ampersand)nbsp; with a non-breaking space, decimal 160 Replaces (ampersand)lt; with a "less than" symbol Replaces (ampersand)gt; with > Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters LOWERCASE Use this option to convert uppercase letters (A-Z) to lowercase (a-z). URL_DECODE Use this option to decode a URL-encoded value. NONE Specify NONE if you don't want to perform any text transformations. - */ - TextTransformation: TextTransformation; - /** - * Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want AWS WAF to search. Valid values include the following: CONTAINS The specified part of the web request must include the value of TargetString, but the location doesn't matter. CONTAINS_WORD The specified part of the web request must include the value of TargetString, and TargetString must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, TargetString must be a word, which means one of the following: TargetString exactly matches the value of the specified part of the web request, such as the value of a header. TargetString is at the beginning of the specified part of the web request and is followed by a character other than an alphanumeric character or underscore (_), for example, BadBot;. TargetString is at the end of the specified part of the web request and is preceded by a character other than an alphanumeric character or underscore (_), for example, ;BadBot. TargetString is in the middle of the specified part of the web request and is preceded and followed by characters other than alphanumeric characters or underscore (_), for example, -BadBot;. EXACTLY The value of the specified part of the web request must exactly match the value of TargetString. STARTS_WITH The value of TargetString must appear at the beginning of the specified part of the web request. ENDS_WITH The value of TargetString must appear at the end of the specified part of the web request. - */ - PositionalConstraint: PositionalConstraint; - } - export type ByteMatchTuples = ByteMatchTuple[]; - export type ChangeAction = "INSERT"|"DELETE"|string; - export type ChangeToken = string; - export type ChangeTokenStatus = "PROVISIONED"|"PENDING"|"INSYNC"|string; - export type ComparisonOperator = "EQ"|"NE"|"LE"|"LT"|"GE"|"GT"|string; - export type Country = string; - export interface CreateByteMatchSetRequest { - /** - * A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet. - */ - Name: ResourceName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateByteMatchSetResponse { - /** - * A ByteMatchSet that contains no ByteMatchTuple objects. - */ - ByteMatchSet?: ByteMatchSet; - /** - * The ChangeToken that you used to submit the CreateByteMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateIPSetRequest { - /** - * A friendly name or description of the IPSet. You can't change Name after you create the IPSet. - */ - Name: ResourceName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateIPSetResponse { - /** - * The IPSet returned in the CreateIPSet response. - */ - IPSet?: IPSet; - /** - * The ChangeToken that you used to submit the CreateIPSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateRateBasedRuleRequest { - /** - * A friendly name or description of the RateBasedRule. You can't change the name of a RateBasedRule after you create it. - */ - Name: ResourceName; - /** - * A friendly name or description for the metrics for this RateBasedRule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create the RateBasedRule. - */ - MetricName: MetricName; - /** - * The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus subject to rate monitoring. The only valid value for RateKey is IP. IP indicates that requests that arrive from the same IP address are subject to the RateLimit that is specified in the RateBasedRule. - */ - RateKey: RateKey; - /** - * The maximum number of requests, which have an identical value in the field that is specified by RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule. - */ - RateLimit: RateLimit; - /** - * The ChangeToken that you used to submit the CreateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken: ChangeToken; - } - export interface CreateRateBasedRuleResponse { - /** - * The RateBasedRule that is returned in the CreateRateBasedRule response. - */ - Rule?: RateBasedRule; - /** - * The ChangeToken that you used to submit the CreateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateRuleRequest { - /** - * A friendly name or description of the Rule. You can't change the name of a Rule after you create it. - */ - Name: ResourceName; - /** - * A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create the Rule. - */ - MetricName: MetricName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateRuleResponse { - /** - * The Rule returned in the CreateRule response. - */ - Rule?: Rule; - /** - * The ChangeToken that you used to submit the CreateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateSizeConstraintSetRequest { - /** - * A friendly name or description of the SizeConstraintSet. You can't change Name after you create a SizeConstraintSet. - */ - Name: ResourceName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateSizeConstraintSetResponse { - /** - * A SizeConstraintSet that contains no SizeConstraint objects. - */ - SizeConstraintSet?: SizeConstraintSet; - /** - * The ChangeToken that you used to submit the CreateSizeConstraintSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateSqlInjectionMatchSetRequest { - /** - * A friendly name or description for the SqlInjectionMatchSet that you're creating. You can't change Name after you create the SqlInjectionMatchSet. - */ - Name: ResourceName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateSqlInjectionMatchSetResponse { - /** - * A SqlInjectionMatchSet. - */ - SqlInjectionMatchSet?: SqlInjectionMatchSet; - /** - * The ChangeToken that you used to submit the CreateSqlInjectionMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateWebACLRequest { - /** - * A friendly name or description of the WebACL. You can't change Name after you create the WebACL. - */ - Name: ResourceName; - /** - * A friendly name or description for the metrics for this WebACL. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change MetricName after you create the WebACL. - */ - MetricName: MetricName; - /** - * The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the Rule objects that are associated with the WebACL. - */ - DefaultAction: WafAction; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateWebACLResponse { - /** - * The WebACL returned in the CreateWebACL response. - */ - WebACL?: WebACL; - /** - * The ChangeToken that you used to submit the CreateWebACL request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateXssMatchSetRequest { - /** - * A friendly name or description for the XssMatchSet that you're creating. You can't change Name after you create the XssMatchSet. - */ - Name: ResourceName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateXssMatchSetResponse { - /** - * An XssMatchSet. - */ - XssMatchSet?: XssMatchSet; - /** - * The ChangeToken that you used to submit the CreateXssMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteByteMatchSetRequest { - /** - * The ByteMatchSetId of the ByteMatchSet that you want to delete. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. - */ - ByteMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteByteMatchSetResponse { - /** - * The ChangeToken that you used to submit the DeleteByteMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteIPSetRequest { - /** - * The IPSetId of the IPSet that you want to delete. IPSetId is returned by CreateIPSet and by ListIPSets. - */ - IPSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteIPSetResponse { - /** - * The ChangeToken that you used to submit the DeleteIPSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteRateBasedRuleRequest { - /** - * The RuleId of the RateBasedRule that you want to delete. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules. - */ - RuleId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteRateBasedRuleResponse { - /** - * The ChangeToken that you used to submit the DeleteRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteRuleRequest { - /** - * The RuleId of the Rule that you want to delete. RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteRuleResponse { - /** - * The ChangeToken that you used to submit the DeleteRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteSizeConstraintSetRequest { - /** - * The SizeConstraintSetId of the SizeConstraintSet that you want to delete. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. - */ - SizeConstraintSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteSizeConstraintSetResponse { - /** - * The ChangeToken that you used to submit the DeleteSizeConstraintSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteSqlInjectionMatchSetRequest { - /** - * The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to delete. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. - */ - SqlInjectionMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteSqlInjectionMatchSetResponse { - /** - * The ChangeToken that you used to submit the DeleteSqlInjectionMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteWebACLRequest { - /** - * The WebACLId of the WebACL that you want to delete. WebACLId is returned by CreateWebACL and by ListWebACLs. - */ - WebACLId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteWebACLResponse { - /** - * The ChangeToken that you used to submit the DeleteWebACL request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteXssMatchSetRequest { - /** - * The XssMatchSetId of the XssMatchSet that you want to delete. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. - */ - XssMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteXssMatchSetResponse { - /** - * The ChangeToken that you used to submit the DeleteXssMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface FieldToMatch { - /** - * The part of the web request that you want AWS WAF to search for a specified string. Parts of a request that you can search include the following: HEADER: A specified request header, for example, the value of the User-Agent or Referer header. If you choose HEADER for the type, specify the name of the header in Data. METHOD: The HTTP method, which indicated the type of operation that the request is asking the origin to perform. Amazon CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT. QUERY_STRING: A query string, which is the part of a URL that appears after a ? character, if any. URI: The part of a web request that identifies a resource, for example, /images/daily-ad.jpg. BODY: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first 8192 bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see CreateSizeConstraintSet. - */ - Type: MatchFieldType; - /** - * When the value of Type is HEADER, enter the name of the header that you want AWS WAF to search, for example, User-Agent or Referer. If the value of Type is any other value, omit Data. The name of the header is not case sensitive. - */ - Data?: MatchFieldData; - } - export interface GetByteMatchSetRequest { - /** - * The ByteMatchSetId of the ByteMatchSet that you want to get. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. - */ - ByteMatchSetId: ResourceId; - } - export interface GetByteMatchSetResponse { - /** - * Information about the ByteMatchSet that you specified in the GetByteMatchSet request. For more information, see the following topics: ByteMatchSet: Contains ByteMatchSetId, ByteMatchTuples, and Name ByteMatchTuples: Contains an array of ByteMatchTuple objects. Each ByteMatchTuple object contains FieldToMatch, PositionalConstraint, TargetString, and TextTransformation FieldToMatch: Contains Data and Type - */ - ByteMatchSet?: ByteMatchSet; - } - export interface GetChangeTokenRequest { - } - export interface GetChangeTokenResponse { - /** - * The ChangeToken that you used in the request. Use this value in a GetChangeTokenStatus request to get the current status of the request. - */ - ChangeToken?: ChangeToken; - } - export interface GetChangeTokenStatusRequest { - /** - * The change token for which you want to get the status. This change token was previously returned in the GetChangeToken response. - */ - ChangeToken: ChangeToken; - } - export interface GetChangeTokenStatusResponse { - /** - * The status of the change token. - */ - ChangeTokenStatus?: ChangeTokenStatus; - } - export interface GetIPSetRequest { - /** - * The IPSetId of the IPSet that you want to get. IPSetId is returned by CreateIPSet and by ListIPSets. - */ - IPSetId: ResourceId; - } - export interface GetIPSetResponse { - /** - * Information about the IPSet that you specified in the GetIPSet request. For more information, see the following topics: IPSet: Contains IPSetDescriptors, IPSetId, and Name IPSetDescriptors: Contains an array of IPSetDescriptor objects. Each IPSetDescriptor object contains Type and Value - */ - IPSet?: IPSet; - } - export interface GetRateBasedRuleManagedKeysRequest { - /** - * The RuleId of the RateBasedRule for which you want to get a list of ManagedKeys. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules. - */ - RuleId: ResourceId; - /** - * A null value and not currently used. Do not include this in your request. - */ - NextMarker?: NextMarker; - } - export interface GetRateBasedRuleManagedKeysResponse { - /** - * An array of IP addresses that currently are blocked by the specified RateBasedRule. - */ - ManagedKeys?: ManagedKeys; - /** - * A null value and not currently used. - */ - NextMarker?: NextMarker; - } - export interface GetRateBasedRuleRequest { - /** - * The RuleId of the RateBasedRule that you want to get. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules. - */ - RuleId: ResourceId; - } - export interface GetRateBasedRuleResponse { - /** - * Information about the RateBasedRule that you specified in the GetRateBasedRule request. - */ - Rule?: RateBasedRule; - } - export interface GetRuleRequest { - /** - * The RuleId of the Rule that you want to get. RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - } - export interface GetRuleResponse { - /** - * Information about the Rule that you specified in the GetRule request. For more information, see the following topics: Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId Predicate: Each Predicate object contains DataId, Negated, and Type - */ - Rule?: Rule; - } - export type GetSampledRequestsMaxItems = number; - export interface GetSampledRequestsRequest { - /** - * The WebACLId of the WebACL for which you want GetSampledRequests to return a sample of requests. - */ - WebAclId: ResourceId; - /** - * RuleId is one of two values: The RuleId of the Rule for which you want GetSampledRequests to return a sample of requests. Default_Action, which causes GetSampledRequests to return a sample of the requests that didn't match any of the rules in the specified WebACL. - */ - RuleId: ResourceId; - /** - * The start date and time and the end date and time of the range for which you want GetSampledRequests to return a sample of requests. Specify the date and time in the following format: "2016-09-27T14:50Z". You can specify any time range in the previous three hours. - */ - TimeWindow: TimeWindow; - /** - * The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received during the time range. If your resource received fewer requests than the value of MaxItems, GetSampledRequests returns information about all of them. - */ - MaxItems: GetSampledRequestsMaxItems; - } - export interface GetSampledRequestsResponse { - /** - * A complex type that contains detailed information about each of the requests in the sample. - */ - SampledRequests?: SampledHTTPRequests; - /** - * The total number of requests from which GetSampledRequests got a sample of MaxItems requests. If PopulationSize is less than MaxItems, the sample includes every request that your AWS resource received during the specified time range. - */ - PopulationSize?: PopulationSize; - /** - * Usually, TimeWindow is the time range that you specified in the GetSampledRequests request. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request, GetSampledRequests returns the time range for the first 5,000 requests. - */ - TimeWindow?: TimeWindow; - } - export interface GetSizeConstraintSetRequest { - /** - * The SizeConstraintSetId of the SizeConstraintSet that you want to get. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. - */ - SizeConstraintSetId: ResourceId; - } - export interface GetSizeConstraintSetResponse { - /** - * Information about the SizeConstraintSet that you specified in the GetSizeConstraintSet request. For more information, see the following topics: SizeConstraintSet: Contains SizeConstraintSetId, SizeConstraints, and Name SizeConstraints: Contains an array of SizeConstraint objects. Each SizeConstraint object contains FieldToMatch, TextTransformation, ComparisonOperator, and Size FieldToMatch: Contains Data and Type - */ - SizeConstraintSet?: SizeConstraintSet; - } - export interface GetSqlInjectionMatchSetRequest { - /** - * The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to get. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. - */ - SqlInjectionMatchSetId: ResourceId; - } - export interface GetSqlInjectionMatchSetResponse { - /** - * Information about the SqlInjectionMatchSet that you specified in the GetSqlInjectionMatchSet request. For more information, see the following topics: SqlInjectionMatchSet: Contains Name, SqlInjectionMatchSetId, and an array of SqlInjectionMatchTuple objects SqlInjectionMatchTuple: Each SqlInjectionMatchTuple object contains FieldToMatch and TextTransformation FieldToMatch: Contains Data and Type - */ - SqlInjectionMatchSet?: SqlInjectionMatchSet; - } - export interface GetWebACLRequest { - /** - * The WebACLId of the WebACL that you want to get. WebACLId is returned by CreateWebACL and by ListWebACLs. - */ - WebACLId: ResourceId; - } - export interface GetWebACLResponse { - /** - * Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics: WebACL: Contains DefaultAction, MetricName, Name, an array of Rule objects, and WebACLId DefaultAction (Data type is WafAction): Contains Type Rules: Contains an array of ActivatedRule objects, which contain Action, Priority, and RuleId Action: Contains Type - */ - WebACL?: WebACL; - } - export interface GetXssMatchSetRequest { - /** - * The XssMatchSetId of the XssMatchSet that you want to get. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. - */ - XssMatchSetId: ResourceId; - } - export interface GetXssMatchSetResponse { - /** - * Information about the XssMatchSet that you specified in the GetXssMatchSet request. For more information, see the following topics: XssMatchSet: Contains Name, XssMatchSetId, and an array of XssMatchTuple objects XssMatchTuple: Each XssMatchTuple object contains FieldToMatch and TextTransformation FieldToMatch: Contains Data and Type - */ - XssMatchSet?: XssMatchSet; - } - export interface HTTPHeader { - /** - * The name of one of the headers in the sampled web request. - */ - Name?: HeaderName; - /** - * The value of one of the headers in the sampled web request. - */ - Value?: HeaderValue; - } - export type HTTPHeaders = HTTPHeader[]; - export type HTTPMethod = string; - export interface HTTPRequest { - /** - * The IP address that the request originated from. If the WebACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs: c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request - */ - ClientIP?: IPString; - /** - * The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2. - */ - Country?: Country; - /** - * The part of a web request that identifies the resource, for example, /images/daily-ad.jpg. - */ - URI?: URIString; - /** - * The HTTP method specified in the sampled web request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT. - */ - Method?: HTTPMethod; - /** - * The HTTP version specified in the sampled web request, for example, HTTP/1.1. - */ - HTTPVersion?: HTTPVersion; - /** - * A complex type that contains two values for each header in the sampled web request: the name of the header and the value of the header. - */ - Headers?: HTTPHeaders; - } - export type HTTPVersion = string; - export type HeaderName = string; - export type HeaderValue = string; - export interface IPSet { - /** - * The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet). IPSetId is returned by CreateIPSet and by ListIPSets. - */ - IPSetId: ResourceId; - /** - * A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it. - */ - Name?: ResourceName; - /** - * The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs. - */ - IPSetDescriptors: IPSetDescriptors; - } - export interface IPSetDescriptor { - /** - * Specify IPV4 or IPV6. - */ - Type: IPSetDescriptorType; - /** - * Specify an IPv4 address by using CIDR notation. For example: To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32. To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. Specify an IPv6 address by using CIDR notation. For example: To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128. To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64. - */ - Value: IPSetDescriptorValue; - } - export type IPSetDescriptorType = "IPV4"|"IPV6"|string; - export type IPSetDescriptorValue = string; - export type IPSetDescriptors = IPSetDescriptor[]; - export type IPSetSummaries = IPSetSummary[]; - export interface IPSetSummary { - /** - * The IPSetId for an IPSet. You can use IPSetId in a GetIPSet request to get detailed information about an IPSet. - */ - IPSetId: ResourceId; - /** - * A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it. - */ - Name: ResourceName; - } - export interface IPSetUpdate { - /** - * Specifies whether to insert or delete an IP address with UpdateIPSet. - */ - Action: ChangeAction; - /** - * The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. - */ - IPSetDescriptor: IPSetDescriptor; - } - export type IPSetUpdates = IPSetUpdate[]; - export type IPString = string; - export interface ListByteMatchSetsRequest { - /** - * If you specify a value for Limit and you have more ByteMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of ByteMatchSets. For the second and subsequent ListByteMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of ByteMatchSets. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of ByteMatchSet objects that you want AWS WAF to return for this request. If you have more ByteMatchSets objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of ByteMatchSet objects. - */ - Limit?: PaginationLimit; - } - export interface ListByteMatchSetsResponse { - /** - * If you have more ByteMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more ByteMatchSet objects, submit another ListByteMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of ByteMatchSetSummary objects. - */ - ByteMatchSets?: ByteMatchSetSummaries; - } - export interface ListIPSetsRequest { - /** - * If you specify a value for Limit and you have more IPSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of IPSets. For the second and subsequent ListIPSets requests, specify the value of NextMarker from the previous response to get information about another batch of ByteMatchSets. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of IPSet objects that you want AWS WAF to return for this request. If you have more IPSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of IPSet objects. - */ - Limit?: PaginationLimit; - } - export interface ListIPSetsResponse { - /** - * If you have more IPSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more IPSet objects, submit another ListIPSets request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of IPSetSummary objects. - */ - IPSets?: IPSetSummaries; - } - export interface ListRateBasedRulesRequest { - /** - * If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules. - */ - Limit?: PaginationLimit; - } - export interface ListRateBasedRulesResponse { - /** - * If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRateBasedRules request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of RuleSummary objects. - */ - Rules?: RuleSummaries; - } - export interface ListRulesRequest { - /** - * If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules. - */ - Limit?: PaginationLimit; - } - export interface ListRulesResponse { - /** - * If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRules request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of RuleSummary objects. - */ - Rules?: RuleSummaries; - } - export interface ListSizeConstraintSetsRequest { - /** - * If you specify a value for Limit and you have more SizeConstraintSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of SizeConstraintSets. For the second and subsequent ListSizeConstraintSets requests, specify the value of NextMarker from the previous response to get information about another batch of SizeConstraintSets. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of SizeConstraintSet objects that you want AWS WAF to return for this request. If you have more SizeConstraintSets objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of SizeConstraintSet objects. - */ - Limit?: PaginationLimit; - } - export interface ListSizeConstraintSetsResponse { - /** - * If you have more SizeConstraintSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more SizeConstraintSet objects, submit another ListSizeConstraintSets request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of SizeConstraintSetSummary objects. - */ - SizeConstraintSets?: SizeConstraintSetSummaries; - } - export interface ListSqlInjectionMatchSetsRequest { - /** - * If you specify a value for Limit and you have more SqlInjectionMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of SqlInjectionMatchSets. For the second and subsequent ListSqlInjectionMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of SqlInjectionMatchSets. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of SqlInjectionMatchSet objects that you want AWS WAF to return for this request. If you have more SqlInjectionMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules. - */ - Limit?: PaginationLimit; - } - export interface ListSqlInjectionMatchSetsResponse { - /** - * If you have more SqlInjectionMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more SqlInjectionMatchSet objects, submit another ListSqlInjectionMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of SqlInjectionMatchSetSummary objects. - */ - SqlInjectionMatchSets?: SqlInjectionMatchSetSummaries; - } - export interface ListWebACLsRequest { - /** - * If you specify a value for Limit and you have more WebACL objects than the number that you specify for Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of WebACL objects. For the second and subsequent ListWebACLs requests, specify the value of NextMarker from the previous response to get information about another batch of WebACL objects. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of WebACL objects that you want AWS WAF to return for this request. If you have more WebACL objects than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of WebACL objects. - */ - Limit?: PaginationLimit; - } - export interface ListWebACLsResponse { - /** - * If you have more WebACL objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more WebACL objects, submit another ListWebACLs request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of WebACLSummary objects. - */ - WebACLs?: WebACLSummaries; - } - export interface ListXssMatchSetsRequest { - /** - * If you specify a value for Limit and you have more XssMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of XssMatchSets. For the second and subsequent ListXssMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of XssMatchSets. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of XssMatchSet objects that you want AWS WAF to return for this request. If you have more XssMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules. - */ - Limit?: PaginationLimit; - } - export interface ListXssMatchSetsResponse { - /** - * If you have more XssMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more XssMatchSet objects, submit another ListXssMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of XssMatchSetSummary objects. - */ - XssMatchSets?: XssMatchSetSummaries; - } - export type ManagedKey = string; - export type ManagedKeys = ManagedKey[]; - export type MatchFieldData = string; - export type MatchFieldType = "URI"|"QUERY_STRING"|"HEADER"|"METHOD"|"BODY"|string; - export type MetricName = string; - export type Negated = boolean; - export type NextMarker = string; - export type PaginationLimit = number; - export type ParameterExceptionField = "CHANGE_ACTION"|"WAF_ACTION"|"PREDICATE_TYPE"|"IPSET_TYPE"|"BYTE_MATCH_FIELD_TYPE"|"SQL_INJECTION_MATCH_FIELD_TYPE"|"BYTE_MATCH_TEXT_TRANSFORMATION"|"BYTE_MATCH_POSITIONAL_CONSTRAINT"|"SIZE_CONSTRAINT_COMPARISON_OPERATOR"|"RATE_KEY"|"RULE_TYPE"|"NEXT_MARKER"|string; - export type ParameterExceptionParameter = string; - export type ParameterExceptionReason = "INVALID_OPTION"|"ILLEGAL_COMBINATION"|string; - export type PopulationSize = number; - export type PositionalConstraint = "EXACTLY"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CONTAINS_WORD"|string; - export interface Predicate { - /** - * Set Negated to False if you want AWS WAF to allow, block, or count requests based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow or block requests based on that IP address. Set Negated to True if you want AWS WAF to allow or block a request based on the negation of the settings in the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow, block, or count requests based on all IP addresses except 192.0.2.44. - */ - Negated: Negated; - /** - * The type of predicate in a Rule, such as ByteMatchSet or IPSet. - */ - Type: PredicateType; - /** - * A unique identifier for a predicate in a Rule, such as ByteMatchSetId or IPSetId. The ID is returned by the corresponding Create or List command. - */ - DataId: ResourceId; - } - export type PredicateType = "IPMatch"|"ByteMatch"|"SqlInjectionMatch"|"SizeConstraint"|"XssMatch"|string; - export type Predicates = Predicate[]; - export interface RateBasedRule { - /** - * A unique identifier for a RateBasedRule. You use RuleId to get more information about a RateBasedRule (see GetRateBasedRule), update a RateBasedRule (see UpdateRateBasedRule), insert a RateBasedRule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a RateBasedRule from AWS WAF (see DeleteRateBasedRule). - */ - RuleId: ResourceId; - /** - * A friendly name or description for a RateBasedRule. You can't change the name of a RateBasedRule after you create it. - */ - Name?: ResourceName; - /** - * A friendly name or description for the metrics for a RateBasedRule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create the RateBasedRule. - */ - MetricName?: MetricName; - /** - * The Predicates object contains one Predicate element for each ByteMatchSet, IPSet, or SqlInjectionMatchSet object that you want to include in a RateBasedRule. - */ - MatchPredicates: Predicates; - /** - * The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring. The only valid value for RateKey is IP. IP indicates that requests arriving from the same IP address are subject to the RateLimit that is specified in the RateBasedRule. - */ - RateKey: RateKey; - /** - * The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule. - */ - RateLimit: RateLimit; - } - export type RateKey = "IP"|string; - export type RateLimit = number; - export type ResourceId = string; - export type ResourceName = string; - export interface Rule { - /** - * A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule). RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - /** - * The friendly name or description for the Rule. You can't change the name of a Rule after you create it. - */ - Name?: ResourceName; - /** - * A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change MetricName after you create the Rule. - */ - MetricName?: MetricName; - /** - * The Predicates object contains one Predicate element for each ByteMatchSet, IPSet, or SqlInjectionMatchSet object that you want to include in a Rule. - */ - Predicates: Predicates; - } - export type RulePriority = number; - export type RuleSummaries = RuleSummary[]; - export interface RuleSummary { - /** - * A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule). RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - /** - * A friendly name or description of the Rule. You can't change the name of a Rule after you create it. - */ - Name: ResourceName; - } - export interface RuleUpdate { - /** - * Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule. - */ - Action: ChangeAction; - /** - * The ID of the Predicate (such as an IPSet) that you want to add to a Rule. - */ - Predicate: Predicate; - } - export type RuleUpdates = RuleUpdate[]; - export type SampleWeight = number; - export interface SampledHTTPRequest { - /** - * A complex type that contains detailed information about the request. - */ - Request: HTTPRequest; - /** - * A value that indicates how one result in the response relates proportionally to other results in the response. A result that has a weight of 2 represents roughly twice as many CloudFront web requests as a result that has a weight of 1. - */ - Weight: SampleWeight; - /** - * The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds). - */ - Timestamp?: Timestamp; - /** - * The action for the Rule that the request matched: ALLOW, BLOCK, or COUNT. - */ - Action?: Action; - } - export type SampledHTTPRequests = SampledHTTPRequest[]; - export type Size = number; - export interface SizeConstraint { - /** - * Specifies where in a web request to look for the size constraint. - */ - FieldToMatch: FieldToMatch; - /** - * Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting a request for a match. Note that if you choose BODY for the value of Type, you must choose NONE for TextTransformation because CloudFront forwards only the first 8192 bytes for inspection. NONE Specify NONE if you don't want to perform any text transformations. CMD_LINE When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations: Delete the following characters: \ " ' ^ Delete spaces before the following characters: / ( Replace the following characters with a space: , ; Replace multiple spaces with one space Convert uppercase letters (A-Z) to lowercase (a-z) COMPRESS_WHITE_SPACE Use this option to replace the following characters with a space character (decimal 32): \f, formfeed, decimal 12 \t, tab, decimal 9 \n, newline, decimal 10 \r, carriage return, decimal 13 \v, vertical tab, decimal 11 non-breaking space, decimal 160 COMPRESS_WHITE_SPACE also replaces multiple spaces with one space. HTML_ENTITY_DECODE Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations: Replaces (ampersand)quot; with " Replaces (ampersand)nbsp; with a non-breaking space, decimal 160 Replaces (ampersand)lt; with a "less than" symbol Replaces (ampersand)gt; with > Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters LOWERCASE Use this option to convert uppercase letters (A-Z) to lowercase (a-z). URL_DECODE Use this option to decode a URL-encoded value. - */ - TextTransformation: TextTransformation; - /** - * The type of comparison you want AWS WAF to perform. AWS WAF uses this in combination with the provided Size and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match. EQ: Used to test if the Size is equal to the size of the FieldToMatch NE: Used to test if the Size is not equal to the size of the FieldToMatch LE: Used to test if the Size is less than or equal to the size of the FieldToMatch LT: Used to test if the Size is strictly less than the size of the FieldToMatch GE: Used to test if the Size is greater than or equal to the size of the FieldToMatch GT: Used to test if the Size is strictly greater than the size of the FieldToMatch - */ - ComparisonOperator: ComparisonOperator; - /** - * The size in bytes that you want AWS WAF to compare against the size of the specified FieldToMatch. AWS WAF uses this in combination with ComparisonOperator and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match. Valid values for size are 0 - 21474836480 bytes (0 - 20 GB). If you specify URI for the value of Type, the / in the URI counts as one character. For example, the URI /logo.jpg is nine characters long. - */ - Size: Size; - } - export interface SizeConstraintSet { - /** - * A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet). SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. - */ - SizeConstraintSetId: ResourceId; - /** - * The name, if any, of the SizeConstraintSet. - */ - Name?: ResourceName; - /** - * Specifies the parts of web requests that you want to inspect the size of. - */ - SizeConstraints: SizeConstraints; - } - export type SizeConstraintSetSummaries = SizeConstraintSetSummary[]; - export interface SizeConstraintSetSummary { - /** - * A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet). SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. - */ - SizeConstraintSetId: ResourceId; - /** - * The name of the SizeConstraintSet, if any. - */ - Name: ResourceName; - } - export interface SizeConstraintSetUpdate { - /** - * Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet. - */ - Action: ChangeAction; - /** - * Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size, ComparisonOperator, and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match. - */ - SizeConstraint: SizeConstraint; - } - export type SizeConstraintSetUpdates = SizeConstraintSetUpdate[]; - export type SizeConstraints = SizeConstraint[]; - export interface SqlInjectionMatchSet { - /** - * A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet). SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. - */ - SqlInjectionMatchSetId: ResourceId; - /** - * The name, if any, of the SqlInjectionMatchSet. - */ - Name?: ResourceName; - /** - * Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code. - */ - SqlInjectionMatchTuples: SqlInjectionMatchTuples; - } - export type SqlInjectionMatchSetSummaries = SqlInjectionMatchSetSummary[]; - export interface SqlInjectionMatchSetSummary { - /** - * A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet). SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. - */ - SqlInjectionMatchSetId: ResourceId; - /** - * The name of the SqlInjectionMatchSet, if any, specified by Id. - */ - Name: ResourceName; - } - export interface SqlInjectionMatchSetUpdate { - /** - * Specify INSERT to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use DELETE to remove a SqlInjectionMatchSetUpdate from a SqlInjectionMatchSet. - */ - Action: ChangeAction; - /** - * Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. - */ - SqlInjectionMatchTuple: SqlInjectionMatchTuple; - } - export type SqlInjectionMatchSetUpdates = SqlInjectionMatchSetUpdate[]; - export interface SqlInjectionMatchTuple { - /** - * Specifies where in a web request to look for snippets of malicious SQL code. - */ - FieldToMatch: FieldToMatch; - /** - * Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting a request for a match. CMD_LINE When you're concerned that attackers are injecting an operating system commandline command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations: Delete the following characters: \ " ' ^ Delete spaces before the following characters: / ( Replace the following characters with a space: , ; Replace multiple spaces with one space Convert uppercase letters (A-Z) to lowercase (a-z) COMPRESS_WHITE_SPACE Use this option to replace the following characters with a space character (decimal 32): \f, formfeed, decimal 12 \t, tab, decimal 9 \n, newline, decimal 10 \r, carriage return, decimal 13 \v, vertical tab, decimal 11 non-breaking space, decimal 160 COMPRESS_WHITE_SPACE also replaces multiple spaces with one space. HTML_ENTITY_DECODE Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations: Replaces (ampersand)quot; with " Replaces (ampersand)nbsp; with a non-breaking space, decimal 160 Replaces (ampersand)lt; with a "less than" symbol Replaces (ampersand)gt; with > Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters LOWERCASE Use this option to convert uppercase letters (A-Z) to lowercase (a-z). URL_DECODE Use this option to decode a URL-encoded value. NONE Specify NONE if you don't want to perform any text transformations. - */ - TextTransformation: TextTransformation; - } - export type SqlInjectionMatchTuples = SqlInjectionMatchTuple[]; - export type TextTransformation = "NONE"|"COMPRESS_WHITE_SPACE"|"HTML_ENTITY_DECODE"|"LOWERCASE"|"CMD_LINE"|"URL_DECODE"|string; - export interface TimeWindow { - /** - * The beginning of the time range from which you want GetSampledRequests to return a sample of the requests that your AWS resource received. Specify the date and time in the following format: "2016-09-27T14:50Z". You can specify any time range in the previous three hours. - */ - StartTime: Timestamp; - /** - * The end of the time range from which you want GetSampledRequests to return a sample of the requests that your AWS resource received. Specify the date and time in the following format: "2016-09-27T14:50Z". You can specify any time range in the previous three hours. - */ - EndTime: Timestamp; - } - export type Timestamp = Date; - export type URIString = string; - export interface UpdateByteMatchSetRequest { - /** - * The ByteMatchSetId of the ByteMatchSet that you want to update. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. - */ - ByteMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of ByteMatchSetUpdate objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types: ByteMatchSetUpdate: Contains Action and ByteMatchTuple ByteMatchTuple: Contains FieldToMatch, PositionalConstraint, TargetString, and TextTransformation FieldToMatch: Contains Data and Type - */ - Updates: ByteMatchSetUpdates; - } - export interface UpdateByteMatchSetResponse { - /** - * The ChangeToken that you used to submit the UpdateByteMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateIPSetRequest { - /** - * The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets. - */ - IPSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types: IPSetUpdate: Contains Action and IPSetDescriptor IPSetDescriptor: Contains Type and Value - */ - Updates: IPSetUpdates; - } - export interface UpdateIPSetResponse { - /** - * The ChangeToken that you used to submit the UpdateIPSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateRateBasedRuleRequest { - /** - * The RuleId of the RateBasedRule that you want to update. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules. - */ - RuleId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of RuleUpdate objects that you want to insert into or delete from a RateBasedRule. - */ - Updates: RuleUpdates; - /** - * The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule. - */ - RateLimit: RateLimit; - } - export interface UpdateRateBasedRuleResponse { - /** - * The ChangeToken that you used to submit the UpdateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateRuleRequest { - /** - * The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types: RuleUpdate: Contains Action and Predicate Predicate: Contains DataId, Negated, and Type FieldToMatch: Contains Data and Type - */ - Updates: RuleUpdates; - } - export interface UpdateRuleResponse { - /** - * The ChangeToken that you used to submit the UpdateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateSizeConstraintSetRequest { - /** - * The SizeConstraintSetId of the SizeConstraintSet that you want to update. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. - */ - SizeConstraintSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of SizeConstraintSetUpdate objects that you want to insert into or delete from a SizeConstraintSet. For more information, see the applicable data types: SizeConstraintSetUpdate: Contains Action and SizeConstraint SizeConstraint: Contains FieldToMatch, TextTransformation, ComparisonOperator, and Size FieldToMatch: Contains Data and Type - */ - Updates: SizeConstraintSetUpdates; - } - export interface UpdateSizeConstraintSetResponse { - /** - * The ChangeToken that you used to submit the UpdateSizeConstraintSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateSqlInjectionMatchSetRequest { - /** - * The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to update. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. - */ - SqlInjectionMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of SqlInjectionMatchSetUpdate objects that you want to insert into or delete from a SqlInjectionMatchSet. For more information, see the applicable data types: SqlInjectionMatchSetUpdate: Contains Action and SqlInjectionMatchTuple SqlInjectionMatchTuple: Contains FieldToMatch and TextTransformation FieldToMatch: Contains Data and Type - */ - Updates: SqlInjectionMatchSetUpdates; - } - export interface UpdateSqlInjectionMatchSetResponse { - /** - * The ChangeToken that you used to submit the UpdateSqlInjectionMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateWebACLRequest { - /** - * The WebACLId of the WebACL that you want to update. WebACLId is returned by CreateWebACL and by ListWebACLs. - */ - WebACLId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of updates to make to the WebACL. An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types: WebACLUpdate: Contains Action and ActivatedRule ActivatedRule: Contains Action, Priority, RuleId, and Type WafAction: Contains Type - */ - Updates?: WebACLUpdates; - /** - * A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL. - */ - DefaultAction?: WafAction; - } - export interface UpdateWebACLResponse { - /** - * The ChangeToken that you used to submit the UpdateWebACL request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateXssMatchSetRequest { - /** - * The XssMatchSetId of the XssMatchSet that you want to update. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. - */ - XssMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of XssMatchSetUpdate objects that you want to insert into or delete from a XssMatchSet. For more information, see the applicable data types: XssMatchSetUpdate: Contains Action and XssMatchTuple XssMatchTuple: Contains FieldToMatch and TextTransformation FieldToMatch: Contains Data and Type - */ - Updates: XssMatchSetUpdates; - } - export interface UpdateXssMatchSetResponse { - /** - * The ChangeToken that you used to submit the UpdateXssMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface WafAction { - /** - * Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following: ALLOW: AWS WAF allows requests BLOCK: AWS WAF blocks requests COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL. - */ - Type: WafActionType; - } - export type WafActionType = "BLOCK"|"ALLOW"|"COUNT"|string; - export type WafRuleType = "REGULAR"|"RATE_BASED"|string; - export interface WebACL { - /** - * A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL). WebACLId is returned by CreateWebACL and by ListWebACLs. - */ - WebACLId: ResourceId; - /** - * A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it. - */ - Name?: ResourceName; - /** - * A friendly name or description for the metrics for this WebACL. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change MetricName after you create the WebACL. - */ - MetricName?: MetricName; - /** - * The action to perform if none of the Rules contained in the WebACL match. The action is specified by the WafAction object. - */ - DefaultAction: WafAction; - /** - * An array that contains the action for each Rule in a WebACL, the priority of the Rule, and the ID of the Rule. - */ - Rules: ActivatedRules; - } - export type WebACLSummaries = WebACLSummary[]; - export interface WebACLSummary { - /** - * A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL). WebACLId is returned by CreateWebACL and by ListWebACLs. - */ - WebACLId: ResourceId; - /** - * A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it. - */ - Name: ResourceName; - } - export interface WebACLUpdate { - /** - * Specifies whether to insert a Rule into or delete a Rule from a WebACL. - */ - Action: ChangeAction; - /** - * The ActivatedRule object in an UpdateWebACL request specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT). - */ - ActivatedRule: ActivatedRule; - } - export type WebACLUpdates = WebACLUpdate[]; - export interface XssMatchSet { - /** - * A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about an XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet). XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. - */ - XssMatchSetId: ResourceId; - /** - * The name, if any, of the XssMatchSet. - */ - Name?: ResourceName; - /** - * Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. - */ - XssMatchTuples: XssMatchTuples; - } - export type XssMatchSetSummaries = XssMatchSetSummary[]; - export interface XssMatchSetSummary { - /** - * A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about a XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet). XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. - */ - XssMatchSetId: ResourceId; - /** - * The name of the XssMatchSet, if any, specified by Id. - */ - Name: ResourceName; - } - export interface XssMatchSetUpdate { - /** - * Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet. - */ - Action: ChangeAction; - /** - * Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header. - */ - XssMatchTuple: XssMatchTuple; - } - export type XssMatchSetUpdates = XssMatchSetUpdate[]; - export interface XssMatchTuple { - /** - * Specifies where in a web request to look for cross-site scripting attacks. - */ - FieldToMatch: FieldToMatch; - /** - * Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting a request for a match. CMD_LINE When you're concerned that attackers are injecting an operating system commandline command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations: Delete the following characters: \ " ' ^ Delete spaces before the following characters: / ( Replace the following characters with a space: , ; Replace multiple spaces with one space Convert uppercase letters (A-Z) to lowercase (a-z) COMPRESS_WHITE_SPACE Use this option to replace the following characters with a space character (decimal 32): \f, formfeed, decimal 12 \t, tab, decimal 9 \n, newline, decimal 10 \r, carriage return, decimal 13 \v, vertical tab, decimal 11 non-breaking space, decimal 160 COMPRESS_WHITE_SPACE also replaces multiple spaces with one space. HTML_ENTITY_DECODE Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations: Replaces (ampersand)quot; with " Replaces (ampersand)nbsp; with a non-breaking space, decimal 160 Replaces (ampersand)lt; with a "less than" symbol Replaces (ampersand)gt; with > Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters LOWERCASE Use this option to convert uppercase letters (A-Z) to lowercase (a-z). URL_DECODE Use this option to decode a URL-encoded value. NONE Specify NONE if you don't want to perform any text transformations. - */ - TextTransformation: TextTransformation; - } - export type XssMatchTuples = XssMatchTuple[]; - export type errorMessage = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-08-24"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the WAF client. - */ - export import Types = WAF; -} -export = WAF; diff --git a/src/node_modules/aws-sdk/clients/waf.js b/src/node_modules/aws-sdk/clients/waf.js deleted file mode 100644 index 5d2138f..0000000 --- a/src/node_modules/aws-sdk/clients/waf.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['waf'] = {}; -AWS.WAF = Service.defineService('waf', ['2015-08-24']); -Object.defineProperty(apiLoader.services['waf'], '2015-08-24', { - get: function get() { - var model = require('../apis/waf-2015-08-24.min.json'); - model.paginators = require('../apis/waf-2015-08-24.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WAF; diff --git a/src/node_modules/aws-sdk/clients/wafregional.d.ts b/src/node_modules/aws-sdk/clients/wafregional.d.ts deleted file mode 100644 index 295100d..0000000 --- a/src/node_modules/aws-sdk/clients/wafregional.d.ts +++ /dev/null @@ -1,1789 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class WAFRegional extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: WAFRegional.Types.ClientConfiguration) - config: Config & WAFRegional.Types.ClientConfiguration; - /** - * Associates a web ACL with a resource. - */ - associateWebACL(params: WAFRegional.Types.AssociateWebACLRequest, callback?: (err: AWSError, data: WAFRegional.Types.AssociateWebACLResponse) => void): Request; - /** - * Associates a web ACL with a resource. - */ - associateWebACL(callback?: (err: AWSError, data: WAFRegional.Types.AssociateWebACLResponse) => void): Request; - /** - * Creates a ByteMatchSet. You then use UpdateByteMatchSet to identify the part of a web request that you want AWS WAF to inspect, such as the values of the User-Agent header or the query string. For example, you can create a ByteMatchSet that matches any requests with User-Agent headers that contain the string BadBot. You can then configure AWS WAF to reject those requests. To create and configure a ByteMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateByteMatchSet request. Submit a CreateByteMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateByteMatchSet request. Submit an UpdateByteMatchSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createByteMatchSet(params: WAFRegional.Types.CreateByteMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.CreateByteMatchSetResponse) => void): Request; - /** - * Creates a ByteMatchSet. You then use UpdateByteMatchSet to identify the part of a web request that you want AWS WAF to inspect, such as the values of the User-Agent header or the query string. For example, you can create a ByteMatchSet that matches any requests with User-Agent headers that contain the string BadBot. You can then configure AWS WAF to reject those requests. To create and configure a ByteMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateByteMatchSet request. Submit a CreateByteMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateByteMatchSet request. Submit an UpdateByteMatchSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createByteMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.CreateByteMatchSetResponse) => void): Request; - /** - * Creates an IPSet, which you use to specify which web requests you want to allow or block based on the IP addresses that the requests originate from. For example, if you're receiving a lot of requests from one or more individual IP addresses or one or more ranges of IP addresses and you want to block the requests, you can create an IPSet that contains those IP addresses and then configure AWS WAF to block the requests. To create and configure an IPSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateIPSet request. Submit a CreateIPSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateIPSet request to specify the IP addresses that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createIPSet(params: WAFRegional.Types.CreateIPSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.CreateIPSetResponse) => void): Request; - /** - * Creates an IPSet, which you use to specify which web requests you want to allow or block based on the IP addresses that the requests originate from. For example, if you're receiving a lot of requests from one or more individual IP addresses or one or more ranges of IP addresses and you want to block the requests, you can create an IPSet that contains those IP addresses and then configure AWS WAF to block the requests. To create and configure an IPSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateIPSet request. Submit a CreateIPSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateIPSet request to specify the IP addresses that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createIPSet(callback?: (err: AWSError, data: WAFRegional.Types.CreateIPSetResponse) => void): Request; - /** - * Creates a RateBasedRule. The RateBasedRule contains a RateLimit, which specifies the maximum number of requests that AWS WAF allows from a specified IP address in a five-minute period. The RateBasedRule also contains the IPSet objects, ByteMatchSet objects, and other predicates that identify the requests that you want to count or block if these requests exceed the RateLimit. If you add more than one predicate to a RateBasedRule, a request not only must exceed the RateLimit, but it also must match all the specifications to be counted or blocked. For example, suppose you add the following to a RateBasedRule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header Further, you specify a RateLimit of 15,000. You then add the RateBasedRule to a WebACL and specify that you want to block requests that meet the conditions in the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. Further, requests that match these two conditions must be received at a rate of more than 15,000 requests every five minutes. If both conditions are met and the rate is exceeded, AWS WAF blocks the requests. If the rate drops below 15,000 for a five-minute period, AWS WAF no longer blocks the requests. As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a RateBasedRule: A ByteMatchSet with FieldToMatch of URI A PositionalConstraint of STARTS_WITH A TargetString of login Further, you specify a RateLimit of 15,000. By adding this RateBasedRule to a WebACL, you could limit requests to your login page without affecting the rest of your site. To create and configure a RateBasedRule, perform the following steps: Create and update the predicates that you want to include in the rule. For more information, see CreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRule request. Submit a CreateRateBasedRule request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRateBasedRule request to specify the predicates that you want to include in the rule. Create and update a WebACL that contains the RateBasedRule. For more information, see CreateWebACL. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createRateBasedRule(params: WAFRegional.Types.CreateRateBasedRuleRequest, callback?: (err: AWSError, data: WAFRegional.Types.CreateRateBasedRuleResponse) => void): Request; - /** - * Creates a RateBasedRule. The RateBasedRule contains a RateLimit, which specifies the maximum number of requests that AWS WAF allows from a specified IP address in a five-minute period. The RateBasedRule also contains the IPSet objects, ByteMatchSet objects, and other predicates that identify the requests that you want to count or block if these requests exceed the RateLimit. If you add more than one predicate to a RateBasedRule, a request not only must exceed the RateLimit, but it also must match all the specifications to be counted or blocked. For example, suppose you add the following to a RateBasedRule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header Further, you specify a RateLimit of 15,000. You then add the RateBasedRule to a WebACL and specify that you want to block requests that meet the conditions in the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. Further, requests that match these two conditions must be received at a rate of more than 15,000 requests every five minutes. If both conditions are met and the rate is exceeded, AWS WAF blocks the requests. If the rate drops below 15,000 for a five-minute period, AWS WAF no longer blocks the requests. As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a RateBasedRule: A ByteMatchSet with FieldToMatch of URI A PositionalConstraint of STARTS_WITH A TargetString of login Further, you specify a RateLimit of 15,000. By adding this RateBasedRule to a WebACL, you could limit requests to your login page without affecting the rest of your site. To create and configure a RateBasedRule, perform the following steps: Create and update the predicates that you want to include in the rule. For more information, see CreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRule request. Submit a CreateRateBasedRule request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRateBasedRule request to specify the predicates that you want to include in the rule. Create and update a WebACL that contains the RateBasedRule. For more information, see CreateWebACL. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createRateBasedRule(callback?: (err: AWSError, data: WAFRegional.Types.CreateRateBasedRuleResponse) => void): Request; - /** - * Creates a Rule, which contains the IPSet objects, ByteMatchSet objects, and other predicates that identify the requests that you want to block. If you add more than one predicate to a Rule, a request must match all of the specifications to be allowed or blocked. For example, suppose you add the following to a Rule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header You then add the Rule to a WebACL and specify that you want to blocks requests that satisfy the Rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. To create and configure a Rule, perform the following steps: Create and update the predicates that you want to include in the Rule. For more information, see CreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRule request. Submit a CreateRule request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRule request to specify the predicates that you want to include in the Rule. Create and update a WebACL that contains the Rule. For more information, see CreateWebACL. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createRule(params: WAFRegional.Types.CreateRuleRequest, callback?: (err: AWSError, data: WAFRegional.Types.CreateRuleResponse) => void): Request; - /** - * Creates a Rule, which contains the IPSet objects, ByteMatchSet objects, and other predicates that identify the requests that you want to block. If you add more than one predicate to a Rule, a request must match all of the specifications to be allowed or blocked. For example, suppose you add the following to a Rule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header You then add the Rule to a WebACL and specify that you want to blocks requests that satisfy the Rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. To create and configure a Rule, perform the following steps: Create and update the predicates that you want to include in the Rule. For more information, see CreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRule request. Submit a CreateRule request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRule request to specify the predicates that you want to include in the Rule. Create and update a WebACL that contains the Rule. For more information, see CreateWebACL. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createRule(callback?: (err: AWSError, data: WAFRegional.Types.CreateRuleResponse) => void): Request; - /** - * Creates a SizeConstraintSet. You then use UpdateSizeConstraintSet to identify the part of a web request that you want AWS WAF to check for length, such as the length of the User-Agent header or the length of the query string. For example, you can create a SizeConstraintSet that matches any requests that have a query string that is longer than 100 bytes. You can then configure AWS WAF to reject those requests. To create and configure a SizeConstraintSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateSizeConstraintSet request. Submit a CreateSizeConstraintSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSizeConstraintSet request. Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createSizeConstraintSet(params: WAFRegional.Types.CreateSizeConstraintSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.CreateSizeConstraintSetResponse) => void): Request; - /** - * Creates a SizeConstraintSet. You then use UpdateSizeConstraintSet to identify the part of a web request that you want AWS WAF to check for length, such as the length of the User-Agent header or the length of the query string. For example, you can create a SizeConstraintSet that matches any requests that have a query string that is longer than 100 bytes. You can then configure AWS WAF to reject those requests. To create and configure a SizeConstraintSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateSizeConstraintSet request. Submit a CreateSizeConstraintSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSizeConstraintSet request. Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createSizeConstraintSet(callback?: (err: AWSError, data: WAFRegional.Types.CreateSizeConstraintSetResponse) => void): Request; - /** - * Creates a SqlInjectionMatchSet, which you use to allow, block, or count requests that contain snippets of SQL code in a specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings. To create and configure a SqlInjectionMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateSqlInjectionMatchSet request. Submit a CreateSqlInjectionMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSqlInjectionMatchSet request. Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests in which you want to allow, block, or count malicious SQL code. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createSqlInjectionMatchSet(params: WAFRegional.Types.CreateSqlInjectionMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.CreateSqlInjectionMatchSetResponse) => void): Request; - /** - * Creates a SqlInjectionMatchSet, which you use to allow, block, or count requests that contain snippets of SQL code in a specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings. To create and configure a SqlInjectionMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateSqlInjectionMatchSet request. Submit a CreateSqlInjectionMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSqlInjectionMatchSet request. Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests in which you want to allow, block, or count malicious SQL code. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createSqlInjectionMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.CreateSqlInjectionMatchSetResponse) => void): Request; - /** - * Creates a WebACL, which contains the Rules that identify the CloudFront web requests that you want to allow, block, or count. AWS WAF evaluates Rules in order based on the value of Priority for each Rule. You also specify a default action, either ALLOW or BLOCK. If a web request doesn't match any of the Rules in a WebACL, AWS WAF responds to the request with the default action. To create and configure a WebACL, perform the following steps: Create and update the ByteMatchSet objects and other predicates that you want to include in Rules. For more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, CreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet. Create and update the Rules that you want to include in the WebACL. For more information, see CreateRule and UpdateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateWebACL request. Submit a CreateWebACL request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateWebACL request. Submit an UpdateWebACL request to specify the Rules that you want to include in the WebACL, to specify the default action, and to associate the WebACL with a CloudFront distribution. For more information about how to use the AWS WAF API, see the AWS WAF Developer Guide. - */ - createWebACL(params: WAFRegional.Types.CreateWebACLRequest, callback?: (err: AWSError, data: WAFRegional.Types.CreateWebACLResponse) => void): Request; - /** - * Creates a WebACL, which contains the Rules that identify the CloudFront web requests that you want to allow, block, or count. AWS WAF evaluates Rules in order based on the value of Priority for each Rule. You also specify a default action, either ALLOW or BLOCK. If a web request doesn't match any of the Rules in a WebACL, AWS WAF responds to the request with the default action. To create and configure a WebACL, perform the following steps: Create and update the ByteMatchSet objects and other predicates that you want to include in Rules. For more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, CreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet. Create and update the Rules that you want to include in the WebACL. For more information, see CreateRule and UpdateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateWebACL request. Submit a CreateWebACL request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateWebACL request. Submit an UpdateWebACL request to specify the Rules that you want to include in the WebACL, to specify the default action, and to associate the WebACL with a CloudFront distribution. For more information about how to use the AWS WAF API, see the AWS WAF Developer Guide. - */ - createWebACL(callback?: (err: AWSError, data: WAFRegional.Types.CreateWebACLResponse) => void): Request; - /** - * Creates an XssMatchSet, which you use to allow, block, or count requests that contain cross-site scripting attacks in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings. To create and configure an XssMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateXssMatchSet request. Submit a CreateXssMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateXssMatchSet request. Submit an UpdateXssMatchSet request to specify the parts of web requests in which you want to allow, block, or count cross-site scripting attacks. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createXssMatchSet(params: WAFRegional.Types.CreateXssMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.CreateXssMatchSetResponse) => void): Request; - /** - * Creates an XssMatchSet, which you use to allow, block, or count requests that contain cross-site scripting attacks in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings. To create and configure an XssMatchSet, perform the following steps: Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateXssMatchSet request. Submit a CreateXssMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateXssMatchSet request. Submit an UpdateXssMatchSet request to specify the parts of web requests in which you want to allow, block, or count cross-site scripting attacks. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - createXssMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.CreateXssMatchSetResponse) => void): Request; - /** - * Permanently deletes a ByteMatchSet. You can't delete a ByteMatchSet if it's still used in any Rules or if it still includes any ByteMatchTuple objects (any filters). If you just want to remove a ByteMatchSet from a Rule, use UpdateRule. To permanently delete a ByteMatchSet, perform the following steps: Update the ByteMatchSet to remove filters, if any. For more information, see UpdateByteMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteByteMatchSet request. Submit a DeleteByteMatchSet request. - */ - deleteByteMatchSet(params: WAFRegional.Types.DeleteByteMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.DeleteByteMatchSetResponse) => void): Request; - /** - * Permanently deletes a ByteMatchSet. You can't delete a ByteMatchSet if it's still used in any Rules or if it still includes any ByteMatchTuple objects (any filters). If you just want to remove a ByteMatchSet from a Rule, use UpdateRule. To permanently delete a ByteMatchSet, perform the following steps: Update the ByteMatchSet to remove filters, if any. For more information, see UpdateByteMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteByteMatchSet request. Submit a DeleteByteMatchSet request. - */ - deleteByteMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.DeleteByteMatchSetResponse) => void): Request; - /** - * Permanently deletes an IPSet. You can't delete an IPSet if it's still used in any Rules or if it still includes any IP addresses. If you just want to remove an IPSet from a Rule, use UpdateRule. To permanently delete an IPSet from AWS WAF, perform the following steps: Update the IPSet to remove IP address ranges, if any. For more information, see UpdateIPSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteIPSet request. Submit a DeleteIPSet request. - */ - deleteIPSet(params: WAFRegional.Types.DeleteIPSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.DeleteIPSetResponse) => void): Request; - /** - * Permanently deletes an IPSet. You can't delete an IPSet if it's still used in any Rules or if it still includes any IP addresses. If you just want to remove an IPSet from a Rule, use UpdateRule. To permanently delete an IPSet from AWS WAF, perform the following steps: Update the IPSet to remove IP address ranges, if any. For more information, see UpdateIPSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteIPSet request. Submit a DeleteIPSet request. - */ - deleteIPSet(callback?: (err: AWSError, data: WAFRegional.Types.DeleteIPSetResponse) => void): Request; - /** - * Permanently deletes a RateBasedRule. You can't delete a rule if it's still used in any WebACL objects or if it still includes any predicates, such as ByteMatchSet objects. If you just want to remove a rule from a WebACL, use UpdateWebACL. To permanently delete a RateBasedRule from AWS WAF, perform the following steps: Update the RateBasedRule to remove predicates, if any. For more information, see UpdateRateBasedRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRateBasedRule request. Submit a DeleteRateBasedRule request. - */ - deleteRateBasedRule(params: WAFRegional.Types.DeleteRateBasedRuleRequest, callback?: (err: AWSError, data: WAFRegional.Types.DeleteRateBasedRuleResponse) => void): Request; - /** - * Permanently deletes a RateBasedRule. You can't delete a rule if it's still used in any WebACL objects or if it still includes any predicates, such as ByteMatchSet objects. If you just want to remove a rule from a WebACL, use UpdateWebACL. To permanently delete a RateBasedRule from AWS WAF, perform the following steps: Update the RateBasedRule to remove predicates, if any. For more information, see UpdateRateBasedRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRateBasedRule request. Submit a DeleteRateBasedRule request. - */ - deleteRateBasedRule(callback?: (err: AWSError, data: WAFRegional.Types.DeleteRateBasedRuleResponse) => void): Request; - /** - * Permanently deletes a Rule. You can't delete a Rule if it's still used in any WebACL objects or if it still includes any predicates, such as ByteMatchSet objects. If you just want to remove a Rule from a WebACL, use UpdateWebACL. To permanently delete a Rule from AWS WAF, perform the following steps: Update the Rule to remove predicates, if any. For more information, see UpdateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRule request. Submit a DeleteRule request. - */ - deleteRule(params: WAFRegional.Types.DeleteRuleRequest, callback?: (err: AWSError, data: WAFRegional.Types.DeleteRuleResponse) => void): Request; - /** - * Permanently deletes a Rule. You can't delete a Rule if it's still used in any WebACL objects or if it still includes any predicates, such as ByteMatchSet objects. If you just want to remove a Rule from a WebACL, use UpdateWebACL. To permanently delete a Rule from AWS WAF, perform the following steps: Update the Rule to remove predicates, if any. For more information, see UpdateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRule request. Submit a DeleteRule request. - */ - deleteRule(callback?: (err: AWSError, data: WAFRegional.Types.DeleteRuleResponse) => void): Request; - /** - * Permanently deletes a SizeConstraintSet. You can't delete a SizeConstraintSet if it's still used in any Rules or if it still includes any SizeConstraint objects (any filters). If you just want to remove a SizeConstraintSet from a Rule, use UpdateRule. To permanently delete a SizeConstraintSet, perform the following steps: Update the SizeConstraintSet to remove filters, if any. For more information, see UpdateSizeConstraintSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSizeConstraintSet request. Submit a DeleteSizeConstraintSet request. - */ - deleteSizeConstraintSet(params: WAFRegional.Types.DeleteSizeConstraintSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.DeleteSizeConstraintSetResponse) => void): Request; - /** - * Permanently deletes a SizeConstraintSet. You can't delete a SizeConstraintSet if it's still used in any Rules or if it still includes any SizeConstraint objects (any filters). If you just want to remove a SizeConstraintSet from a Rule, use UpdateRule. To permanently delete a SizeConstraintSet, perform the following steps: Update the SizeConstraintSet to remove filters, if any. For more information, see UpdateSizeConstraintSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSizeConstraintSet request. Submit a DeleteSizeConstraintSet request. - */ - deleteSizeConstraintSet(callback?: (err: AWSError, data: WAFRegional.Types.DeleteSizeConstraintSetResponse) => void): Request; - /** - * Permanently deletes a SqlInjectionMatchSet. You can't delete a SqlInjectionMatchSet if it's still used in any Rules or if it still contains any SqlInjectionMatchTuple objects. If you just want to remove a SqlInjectionMatchSet from a Rule, use UpdateRule. To permanently delete a SqlInjectionMatchSet from AWS WAF, perform the following steps: Update the SqlInjectionMatchSet to remove filters, if any. For more information, see UpdateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSqlInjectionMatchSet request. Submit a DeleteSqlInjectionMatchSet request. - */ - deleteSqlInjectionMatchSet(params: WAFRegional.Types.DeleteSqlInjectionMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.DeleteSqlInjectionMatchSetResponse) => void): Request; - /** - * Permanently deletes a SqlInjectionMatchSet. You can't delete a SqlInjectionMatchSet if it's still used in any Rules or if it still contains any SqlInjectionMatchTuple objects. If you just want to remove a SqlInjectionMatchSet from a Rule, use UpdateRule. To permanently delete a SqlInjectionMatchSet from AWS WAF, perform the following steps: Update the SqlInjectionMatchSet to remove filters, if any. For more information, see UpdateSqlInjectionMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSqlInjectionMatchSet request. Submit a DeleteSqlInjectionMatchSet request. - */ - deleteSqlInjectionMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.DeleteSqlInjectionMatchSetResponse) => void): Request; - /** - * Permanently deletes a WebACL. You can't delete a WebACL if it still contains any Rules. To delete a WebACL, perform the following steps: Update the WebACL to remove Rules, if any. For more information, see UpdateWebACL. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteWebACL request. Submit a DeleteWebACL request. - */ - deleteWebACL(params: WAFRegional.Types.DeleteWebACLRequest, callback?: (err: AWSError, data: WAFRegional.Types.DeleteWebACLResponse) => void): Request; - /** - * Permanently deletes a WebACL. You can't delete a WebACL if it still contains any Rules. To delete a WebACL, perform the following steps: Update the WebACL to remove Rules, if any. For more information, see UpdateWebACL. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteWebACL request. Submit a DeleteWebACL request. - */ - deleteWebACL(callback?: (err: AWSError, data: WAFRegional.Types.DeleteWebACLResponse) => void): Request; - /** - * Permanently deletes an XssMatchSet. You can't delete an XssMatchSet if it's still used in any Rules or if it still contains any XssMatchTuple objects. If you just want to remove an XssMatchSet from a Rule, use UpdateRule. To permanently delete an XssMatchSet from AWS WAF, perform the following steps: Update the XssMatchSet to remove filters, if any. For more information, see UpdateXssMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteXssMatchSet request. Submit a DeleteXssMatchSet request. - */ - deleteXssMatchSet(params: WAFRegional.Types.DeleteXssMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.DeleteXssMatchSetResponse) => void): Request; - /** - * Permanently deletes an XssMatchSet. You can't delete an XssMatchSet if it's still used in any Rules or if it still contains any XssMatchTuple objects. If you just want to remove an XssMatchSet from a Rule, use UpdateRule. To permanently delete an XssMatchSet from AWS WAF, perform the following steps: Update the XssMatchSet to remove filters, if any. For more information, see UpdateXssMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteXssMatchSet request. Submit a DeleteXssMatchSet request. - */ - deleteXssMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.DeleteXssMatchSetResponse) => void): Request; - /** - * Removes a web ACL from the specified resource. - */ - disassociateWebACL(params: WAFRegional.Types.DisassociateWebACLRequest, callback?: (err: AWSError, data: WAFRegional.Types.DisassociateWebACLResponse) => void): Request; - /** - * Removes a web ACL from the specified resource. - */ - disassociateWebACL(callback?: (err: AWSError, data: WAFRegional.Types.DisassociateWebACLResponse) => void): Request; - /** - * Returns the ByteMatchSet specified by ByteMatchSetId. - */ - getByteMatchSet(params: WAFRegional.Types.GetByteMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetByteMatchSetResponse) => void): Request; - /** - * Returns the ByteMatchSet specified by ByteMatchSetId. - */ - getByteMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.GetByteMatchSetResponse) => void): Request; - /** - * When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF. Each create, update, or delete request must use a unique change token. If your application submits a GetChangeToken request and then submits a second GetChangeToken request before submitting a create, update, or delete request, the second GetChangeToken request returns the same value as the first GetChangeToken request. When you use a change token in a create, update, or delete request, the status of the change token changes to PENDING, which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use GetChangeTokenStatus to determine the status of your change token. - */ - getChangeToken(params: WAFRegional.Types.GetChangeTokenRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetChangeTokenResponse) => void): Request; - /** - * When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF. Each create, update, or delete request must use a unique change token. If your application submits a GetChangeToken request and then submits a second GetChangeToken request before submitting a create, update, or delete request, the second GetChangeToken request returns the same value as the first GetChangeToken request. When you use a change token in a create, update, or delete request, the status of the change token changes to PENDING, which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use GetChangeTokenStatus to determine the status of your change token. - */ - getChangeToken(callback?: (err: AWSError, data: WAFRegional.Types.GetChangeTokenResponse) => void): Request; - /** - * Returns the status of a ChangeToken that you got by calling GetChangeToken. ChangeTokenStatus is one of the following values: PROVISIONED: You requested the change token by calling GetChangeToken, but you haven't used it yet in a call to create, update, or delete an AWS WAF object. PENDING: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers. IN_SYNC: Propagation is complete. - */ - getChangeTokenStatus(params: WAFRegional.Types.GetChangeTokenStatusRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetChangeTokenStatusResponse) => void): Request; - /** - * Returns the status of a ChangeToken that you got by calling GetChangeToken. ChangeTokenStatus is one of the following values: PROVISIONED: You requested the change token by calling GetChangeToken, but you haven't used it yet in a call to create, update, or delete an AWS WAF object. PENDING: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers. IN_SYNC: Propagation is complete. - */ - getChangeTokenStatus(callback?: (err: AWSError, data: WAFRegional.Types.GetChangeTokenStatusResponse) => void): Request; - /** - * Returns the IPSet that is specified by IPSetId. - */ - getIPSet(params: WAFRegional.Types.GetIPSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetIPSetResponse) => void): Request; - /** - * Returns the IPSet that is specified by IPSetId. - */ - getIPSet(callback?: (err: AWSError, data: WAFRegional.Types.GetIPSetResponse) => void): Request; - /** - * Returns the RateBasedRule that is specified by the RuleId that you included in the GetRateBasedRule request. - */ - getRateBasedRule(params: WAFRegional.Types.GetRateBasedRuleRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetRateBasedRuleResponse) => void): Request; - /** - * Returns the RateBasedRule that is specified by the RuleId that you included in the GetRateBasedRule request. - */ - getRateBasedRule(callback?: (err: AWSError, data: WAFRegional.Types.GetRateBasedRuleResponse) => void): Request; - /** - * Returns an array of IP addresses currently being blocked by the RateBasedRule that is specified by the RuleId. The maximum number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed the rate limit, the 10,000 addresses with the highest rates will be blocked. - */ - getRateBasedRuleManagedKeys(params: WAFRegional.Types.GetRateBasedRuleManagedKeysRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetRateBasedRuleManagedKeysResponse) => void): Request; - /** - * Returns an array of IP addresses currently being blocked by the RateBasedRule that is specified by the RuleId. The maximum number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed the rate limit, the 10,000 addresses with the highest rates will be blocked. - */ - getRateBasedRuleManagedKeys(callback?: (err: AWSError, data: WAFRegional.Types.GetRateBasedRuleManagedKeysResponse) => void): Request; - /** - * Returns the Rule that is specified by the RuleId that you included in the GetRule request. - */ - getRule(params: WAFRegional.Types.GetRuleRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetRuleResponse) => void): Request; - /** - * Returns the Rule that is specified by the RuleId that you included in the GetRule request. - */ - getRule(callback?: (err: AWSError, data: WAFRegional.Types.GetRuleResponse) => void): Request; - /** - * Gets detailed information about a specified number of requests--a sample--that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours. GetSampledRequests returns a time range, which is usually the time range that you specified. However, if your resource (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, GetSampledRequests returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample. - */ - getSampledRequests(params: WAFRegional.Types.GetSampledRequestsRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetSampledRequestsResponse) => void): Request; - /** - * Gets detailed information about a specified number of requests--a sample--that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours. GetSampledRequests returns a time range, which is usually the time range that you specified. However, if your resource (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, GetSampledRequests returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample. - */ - getSampledRequests(callback?: (err: AWSError, data: WAFRegional.Types.GetSampledRequestsResponse) => void): Request; - /** - * Returns the SizeConstraintSet specified by SizeConstraintSetId. - */ - getSizeConstraintSet(params: WAFRegional.Types.GetSizeConstraintSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetSizeConstraintSetResponse) => void): Request; - /** - * Returns the SizeConstraintSet specified by SizeConstraintSetId. - */ - getSizeConstraintSet(callback?: (err: AWSError, data: WAFRegional.Types.GetSizeConstraintSetResponse) => void): Request; - /** - * Returns the SqlInjectionMatchSet that is specified by SqlInjectionMatchSetId. - */ - getSqlInjectionMatchSet(params: WAFRegional.Types.GetSqlInjectionMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetSqlInjectionMatchSetResponse) => void): Request; - /** - * Returns the SqlInjectionMatchSet that is specified by SqlInjectionMatchSetId. - */ - getSqlInjectionMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.GetSqlInjectionMatchSetResponse) => void): Request; - /** - * Returns the WebACL that is specified by WebACLId. - */ - getWebACL(params: WAFRegional.Types.GetWebACLRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetWebACLResponse) => void): Request; - /** - * Returns the WebACL that is specified by WebACLId. - */ - getWebACL(callback?: (err: AWSError, data: WAFRegional.Types.GetWebACLResponse) => void): Request; - /** - * Returns the web ACL for the specified resource. - */ - getWebACLForResource(params: WAFRegional.Types.GetWebACLForResourceRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetWebACLForResourceResponse) => void): Request; - /** - * Returns the web ACL for the specified resource. - */ - getWebACLForResource(callback?: (err: AWSError, data: WAFRegional.Types.GetWebACLForResourceResponse) => void): Request; - /** - * Returns the XssMatchSet that is specified by XssMatchSetId. - */ - getXssMatchSet(params: WAFRegional.Types.GetXssMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.GetXssMatchSetResponse) => void): Request; - /** - * Returns the XssMatchSet that is specified by XssMatchSetId. - */ - getXssMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.GetXssMatchSetResponse) => void): Request; - /** - * Returns an array of ByteMatchSetSummary objects. - */ - listByteMatchSets(params: WAFRegional.Types.ListByteMatchSetsRequest, callback?: (err: AWSError, data: WAFRegional.Types.ListByteMatchSetsResponse) => void): Request; - /** - * Returns an array of ByteMatchSetSummary objects. - */ - listByteMatchSets(callback?: (err: AWSError, data: WAFRegional.Types.ListByteMatchSetsResponse) => void): Request; - /** - * Returns an array of IPSetSummary objects in the response. - */ - listIPSets(params: WAFRegional.Types.ListIPSetsRequest, callback?: (err: AWSError, data: WAFRegional.Types.ListIPSetsResponse) => void): Request; - /** - * Returns an array of IPSetSummary objects in the response. - */ - listIPSets(callback?: (err: AWSError, data: WAFRegional.Types.ListIPSetsResponse) => void): Request; - /** - * Returns an array of RuleSummary objects. - */ - listRateBasedRules(params: WAFRegional.Types.ListRateBasedRulesRequest, callback?: (err: AWSError, data: WAFRegional.Types.ListRateBasedRulesResponse) => void): Request; - /** - * Returns an array of RuleSummary objects. - */ - listRateBasedRules(callback?: (err: AWSError, data: WAFRegional.Types.ListRateBasedRulesResponse) => void): Request; - /** - * Returns an array of resources associated with the specified web ACL. - */ - listResourcesForWebACL(params: WAFRegional.Types.ListResourcesForWebACLRequest, callback?: (err: AWSError, data: WAFRegional.Types.ListResourcesForWebACLResponse) => void): Request; - /** - * Returns an array of resources associated with the specified web ACL. - */ - listResourcesForWebACL(callback?: (err: AWSError, data: WAFRegional.Types.ListResourcesForWebACLResponse) => void): Request; - /** - * Returns an array of RuleSummary objects. - */ - listRules(params: WAFRegional.Types.ListRulesRequest, callback?: (err: AWSError, data: WAFRegional.Types.ListRulesResponse) => void): Request; - /** - * Returns an array of RuleSummary objects. - */ - listRules(callback?: (err: AWSError, data: WAFRegional.Types.ListRulesResponse) => void): Request; - /** - * Returns an array of SizeConstraintSetSummary objects. - */ - listSizeConstraintSets(params: WAFRegional.Types.ListSizeConstraintSetsRequest, callback?: (err: AWSError, data: WAFRegional.Types.ListSizeConstraintSetsResponse) => void): Request; - /** - * Returns an array of SizeConstraintSetSummary objects. - */ - listSizeConstraintSets(callback?: (err: AWSError, data: WAFRegional.Types.ListSizeConstraintSetsResponse) => void): Request; - /** - * Returns an array of SqlInjectionMatchSet objects. - */ - listSqlInjectionMatchSets(params: WAFRegional.Types.ListSqlInjectionMatchSetsRequest, callback?: (err: AWSError, data: WAFRegional.Types.ListSqlInjectionMatchSetsResponse) => void): Request; - /** - * Returns an array of SqlInjectionMatchSet objects. - */ - listSqlInjectionMatchSets(callback?: (err: AWSError, data: WAFRegional.Types.ListSqlInjectionMatchSetsResponse) => void): Request; - /** - * Returns an array of WebACLSummary objects in the response. - */ - listWebACLs(params: WAFRegional.Types.ListWebACLsRequest, callback?: (err: AWSError, data: WAFRegional.Types.ListWebACLsResponse) => void): Request; - /** - * Returns an array of WebACLSummary objects in the response. - */ - listWebACLs(callback?: (err: AWSError, data: WAFRegional.Types.ListWebACLsResponse) => void): Request; - /** - * Returns an array of XssMatchSet objects. - */ - listXssMatchSets(params: WAFRegional.Types.ListXssMatchSetsRequest, callback?: (err: AWSError, data: WAFRegional.Types.ListXssMatchSetsResponse) => void): Request; - /** - * Returns an array of XssMatchSet objects. - */ - listXssMatchSets(callback?: (err: AWSError, data: WAFRegional.Types.ListXssMatchSetsResponse) => void): Request; - /** - * Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet. For each ByteMatchTuple object, you specify the following values: Whether to insert or delete the object from the array. If you want to change a ByteMatchSetUpdate object, you delete the existing object and add a new one. The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header. The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify the values for the AWS WAF API and the AWS CLI or SDKs, see TargetString in the ByteMatchTuple data type. Where to look, such as at the beginning or the end of a query string. Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string. For example, you can add a ByteMatchSetUpdate object that matches web requests in which User-Agent headers contain the string BadBot. You can then configure AWS WAF to block those requests. To create and configure a ByteMatchSet, perform the following steps: Create a ByteMatchSet. For more information, see CreateByteMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateByteMatchSet request. Submit an UpdateByteMatchSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateByteMatchSet(params: WAFRegional.Types.UpdateByteMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.UpdateByteMatchSetResponse) => void): Request; - /** - * Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet. For each ByteMatchTuple object, you specify the following values: Whether to insert or delete the object from the array. If you want to change a ByteMatchSetUpdate object, you delete the existing object and add a new one. The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header. The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify the values for the AWS WAF API and the AWS CLI or SDKs, see TargetString in the ByteMatchTuple data type. Where to look, such as at the beginning or the end of a query string. Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string. For example, you can add a ByteMatchSetUpdate object that matches web requests in which User-Agent headers contain the string BadBot. You can then configure AWS WAF to block those requests. To create and configure a ByteMatchSet, perform the following steps: Create a ByteMatchSet. For more information, see CreateByteMatchSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateByteMatchSet request. Submit an UpdateByteMatchSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateByteMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.UpdateByteMatchSetResponse) => void): Request; - /** - * Inserts or deletes IPSetDescriptor objects in an IPSet. For each IPSetDescriptor object, you specify the following values: Whether to insert or delete the object from the array. If you want to change an IPSetDescriptor object, you delete the existing object and add a new one. The IP address version, IPv4 or IPv6. The IP address in CIDR notation, for example, 192.0.2.0/24 (for the range of IP addresses from 192.0.2.0 to 192.0.2.255) or 192.0.2.44/32 (for the individual IP address 192.0.2.44). AWS WAF supports /8, /16, /24, and /32 IP address ranges for IPv4, and /24, /32, /48, /56, /64 and /128 for IPv6. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. IPv6 addresses can be represented using any of the following formats: 1111:0000:0000:0000:0000:0000:0000:0111/128 1111:0:0:0:0:0:0:0111/128 1111::0111/128 1111::111/128 You use an IPSet to specify which web requests you want to allow or block based on the IP addresses that the requests originated from. For example, if you're receiving a lot of requests from one or a small number of IP addresses and you want to block the requests, you can create an IPSet that specifies those IP addresses, and then configure AWS WAF to block the requests. To create and configure an IPSet, perform the following steps: Submit a CreateIPSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateIPSet request to specify the IP addresses that you want AWS WAF to watch for. When you update an IPSet, you specify the IP addresses that you want to add and/or the IP addresses that you want to delete. If you want to change an IP address, you delete the existing IP address and add the new one. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateIPSet(params: WAFRegional.Types.UpdateIPSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.UpdateIPSetResponse) => void): Request; - /** - * Inserts or deletes IPSetDescriptor objects in an IPSet. For each IPSetDescriptor object, you specify the following values: Whether to insert or delete the object from the array. If you want to change an IPSetDescriptor object, you delete the existing object and add a new one. The IP address version, IPv4 or IPv6. The IP address in CIDR notation, for example, 192.0.2.0/24 (for the range of IP addresses from 192.0.2.0 to 192.0.2.255) or 192.0.2.44/32 (for the individual IP address 192.0.2.44). AWS WAF supports /8, /16, /24, and /32 IP address ranges for IPv4, and /24, /32, /48, /56, /64 and /128 for IPv6. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. IPv6 addresses can be represented using any of the following formats: 1111:0000:0000:0000:0000:0000:0000:0111/128 1111:0:0:0:0:0:0:0111/128 1111::0111/128 1111::111/128 You use an IPSet to specify which web requests you want to allow or block based on the IP addresses that the requests originated from. For example, if you're receiving a lot of requests from one or a small number of IP addresses and you want to block the requests, you can create an IPSet that specifies those IP addresses, and then configure AWS WAF to block the requests. To create and configure an IPSet, perform the following steps: Submit a CreateIPSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateIPSet request to specify the IP addresses that you want AWS WAF to watch for. When you update an IPSet, you specify the IP addresses that you want to add and/or the IP addresses that you want to delete. If you want to change an IP address, you delete the existing IP address and add the new one. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateIPSet(callback?: (err: AWSError, data: WAFRegional.Types.UpdateIPSetResponse) => void): Request; - /** - * Inserts or deletes Predicate objects in a rule and updates the RateLimit in the rule. Each Predicate object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests that you want to block or count. The RateLimit specifies the number of requests every five minutes that triggers the rule. If you add more than one predicate to a RateBasedRule, a request must match all the predicates and exceed the RateLimit to be counted or blocked. For example, suppose you add the following to a RateBasedRule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header Further, you specify a RateLimit of 15,000. You then add the RateBasedRule to a WebACL and specify that you want to block requests that satisfy the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. Further, requests that match these two conditions much be received at a rate of more than 15,000 every five minutes. If the rate drops below this limit, AWS WAF no longer blocks the requests. As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a RateBasedRule: A ByteMatchSet with FieldToMatch of URI A PositionalConstraint of STARTS_WITH A TargetString of login Further, you specify a RateLimit of 15,000. By adding this RateBasedRule to a WebACL, you could limit requests to your login page without affecting the rest of your site. - */ - updateRateBasedRule(params: WAFRegional.Types.UpdateRateBasedRuleRequest, callback?: (err: AWSError, data: WAFRegional.Types.UpdateRateBasedRuleResponse) => void): Request; - /** - * Inserts or deletes Predicate objects in a rule and updates the RateLimit in the rule. Each Predicate object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests that you want to block or count. The RateLimit specifies the number of requests every five minutes that triggers the rule. If you add more than one predicate to a RateBasedRule, a request must match all the predicates and exceed the RateLimit to be counted or blocked. For example, suppose you add the following to a RateBasedRule: An IPSet that matches the IP address 192.0.2.44/32 A ByteMatchSet that matches BadBot in the User-Agent header Further, you specify a RateLimit of 15,000. You then add the RateBasedRule to a WebACL and specify that you want to block requests that satisfy the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. Further, requests that match these two conditions much be received at a rate of more than 15,000 every five minutes. If the rate drops below this limit, AWS WAF no longer blocks the requests. As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a RateBasedRule: A ByteMatchSet with FieldToMatch of URI A PositionalConstraint of STARTS_WITH A TargetString of login Further, you specify a RateLimit of 15,000. By adding this RateBasedRule to a WebACL, you could limit requests to your login page without affecting the rest of your site. - */ - updateRateBasedRule(callback?: (err: AWSError, data: WAFRegional.Types.UpdateRateBasedRuleResponse) => void): Request; - /** - * Inserts or deletes Predicate objects in a Rule. Each Predicate object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests that you want to allow, block, or count. If you add more than one predicate to a Rule, a request must match all of the specifications to be allowed, blocked, or counted. For example, suppose you add the following to a Rule: A ByteMatchSet that matches the value BadBot in the User-Agent header An IPSet that matches the IP address 192.0.2.44 You then add the Rule to a WebACL and specify that you want to block requests that satisfy the Rule. For a request to be blocked, the User-Agent header in the request must contain the value BadBot and the request must originate from the IP address 192.0.2.44. To create and configure a Rule, perform the following steps: Create and update the predicates that you want to include in the Rule. Create the Rule. See CreateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRule request to add predicates to the Rule. Create and update a WebACL that contains the Rule. See CreateWebACL. If you want to replace one ByteMatchSet or IPSet with another, you delete the existing one and add the new one. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateRule(params: WAFRegional.Types.UpdateRuleRequest, callback?: (err: AWSError, data: WAFRegional.Types.UpdateRuleResponse) => void): Request; - /** - * Inserts or deletes Predicate objects in a Rule. Each Predicate object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests that you want to allow, block, or count. If you add more than one predicate to a Rule, a request must match all of the specifications to be allowed, blocked, or counted. For example, suppose you add the following to a Rule: A ByteMatchSet that matches the value BadBot in the User-Agent header An IPSet that matches the IP address 192.0.2.44 You then add the Rule to a WebACL and specify that you want to block requests that satisfy the Rule. For a request to be blocked, the User-Agent header in the request must contain the value BadBot and the request must originate from the IP address 192.0.2.44. To create and configure a Rule, perform the following steps: Create and update the predicates that you want to include in the Rule. Create the Rule. See CreateRule. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request. Submit an UpdateRule request to add predicates to the Rule. Create and update a WebACL that contains the Rule. See CreateWebACL. If you want to replace one ByteMatchSet or IPSet with another, you delete the existing one and add the new one. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateRule(callback?: (err: AWSError, data: WAFRegional.Types.UpdateRuleResponse) => void): Request; - /** - * Inserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. For each SizeConstraint object, you specify the following values: Whether to insert or delete the object from the array. If you want to change a SizeConstraintSetUpdate object, you delete the existing object and add a new one. The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the User-Agent header. Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length. Note that transformations of the request body are not supported because the AWS resource forwards only the first 8192 bytes of your request to AWS WAF. A ComparisonOperator used for evaluating the selected part of the request against the specified Size, such as equals, greater than, less than, and so on. The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation. For example, you can add a SizeConstraintSetUpdate object that matches web requests in which the length of the User-Agent header is greater than 100 bytes. You can then configure AWS WAF to block those requests. To create and configure a SizeConstraintSet, perform the following steps: Create a SizeConstraintSet. For more information, see CreateSizeConstraintSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSizeConstraintSet request. Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateSizeConstraintSet(params: WAFRegional.Types.UpdateSizeConstraintSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.UpdateSizeConstraintSetResponse) => void): Request; - /** - * Inserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. For each SizeConstraint object, you specify the following values: Whether to insert or delete the object from the array. If you want to change a SizeConstraintSetUpdate object, you delete the existing object and add a new one. The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the User-Agent header. Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length. Note that transformations of the request body are not supported because the AWS resource forwards only the first 8192 bytes of your request to AWS WAF. A ComparisonOperator used for evaluating the selected part of the request against the specified Size, such as equals, greater than, less than, and so on. The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation. For example, you can add a SizeConstraintSetUpdate object that matches web requests in which the length of the User-Agent header is greater than 100 bytes. You can then configure AWS WAF to block those requests. To create and configure a SizeConstraintSet, perform the following steps: Create a SizeConstraintSet. For more information, see CreateSizeConstraintSet. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSizeConstraintSet request. Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateSizeConstraintSet(callback?: (err: AWSError, data: WAFRegional.Types.UpdateSizeConstraintSetResponse) => void): Request; - /** - * Inserts or deletes SqlInjectionMatchTuple objects (filters) in a SqlInjectionMatchSet. For each SqlInjectionMatchTuple object, you specify the following values: Action: Whether to insert the object into or delete the object from the array. To change a SqlInjectionMatchTuple, you delete the existing object and add a new one. FieldToMatch: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header, the name of the header. TextTransformation: Which text transformation, if any, to perform on the web request before inspecting the request for snippets of malicious SQL code. You use SqlInjectionMatchSet objects to specify which CloudFront requests you want to allow, block, or count. For example, if you're receiving requests that contain snippets of SQL code in the query string and you want to block the requests, you can create a SqlInjectionMatchSet with the applicable settings, and then configure AWS WAF to block the requests. To create and configure a SqlInjectionMatchSet, perform the following steps: Submit a CreateSqlInjectionMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests that you want AWS WAF to inspect for snippets of SQL code. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateSqlInjectionMatchSet(params: WAFRegional.Types.UpdateSqlInjectionMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.UpdateSqlInjectionMatchSetResponse) => void): Request; - /** - * Inserts or deletes SqlInjectionMatchTuple objects (filters) in a SqlInjectionMatchSet. For each SqlInjectionMatchTuple object, you specify the following values: Action: Whether to insert the object into or delete the object from the array. To change a SqlInjectionMatchTuple, you delete the existing object and add a new one. FieldToMatch: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header, the name of the header. TextTransformation: Which text transformation, if any, to perform on the web request before inspecting the request for snippets of malicious SQL code. You use SqlInjectionMatchSet objects to specify which CloudFront requests you want to allow, block, or count. For example, if you're receiving requests that contain snippets of SQL code in the query string and you want to block the requests, you can create a SqlInjectionMatchSet with the applicable settings, and then configure AWS WAF to block the requests. To create and configure a SqlInjectionMatchSet, perform the following steps: Submit a CreateSqlInjectionMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests that you want AWS WAF to inspect for snippets of SQL code. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateSqlInjectionMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.UpdateSqlInjectionMatchSetResponse) => void): Request; - /** - * Inserts or deletes ActivatedRule objects in a WebACL. Each Rule identifies web requests that you want to allow, block, or count. When you update a WebACL, you specify the following values: A default action for the WebACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the Rules in a WebACL. The Rules that you want to add and/or delete. If you want to replace one Rule with another, you delete the existing Rule and add the new one. For each Rule, whether you want AWS WAF to allow requests, block requests, or count requests that match the conditions in the Rule. The order in which you want AWS WAF to evaluate the Rules in a WebACL. If you add more than one Rule to a WebACL, AWS WAF evaluates each request against the Rules in order based on the value of Priority. (The Rule that has the lowest value for Priority is evaluated first.) When a web request matches all of the predicates (such as ByteMatchSets and IPSets) in a Rule, AWS WAF immediately takes the corresponding action, allow or block, and doesn't evaluate the request against the remaining Rules in the WebACL, if any. To create and configure a WebACL, perform the following steps: Create and update the predicates that you want to include in Rules. For more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, CreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet. Create and update the Rules that you want to include in the WebACL. For more information, see CreateRule and UpdateRule. Create a WebACL. See CreateWebACL. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateWebACL request. Submit an UpdateWebACL request to specify the Rules that you want to include in the WebACL, to specify the default action, and to associate the WebACL with a CloudFront distribution. Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the UpdateWebACL request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateWebACL(params: WAFRegional.Types.UpdateWebACLRequest, callback?: (err: AWSError, data: WAFRegional.Types.UpdateWebACLResponse) => void): Request; - /** - * Inserts or deletes ActivatedRule objects in a WebACL. Each Rule identifies web requests that you want to allow, block, or count. When you update a WebACL, you specify the following values: A default action for the WebACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the Rules in a WebACL. The Rules that you want to add and/or delete. If you want to replace one Rule with another, you delete the existing Rule and add the new one. For each Rule, whether you want AWS WAF to allow requests, block requests, or count requests that match the conditions in the Rule. The order in which you want AWS WAF to evaluate the Rules in a WebACL. If you add more than one Rule to a WebACL, AWS WAF evaluates each request against the Rules in order based on the value of Priority. (The Rule that has the lowest value for Priority is evaluated first.) When a web request matches all of the predicates (such as ByteMatchSets and IPSets) in a Rule, AWS WAF immediately takes the corresponding action, allow or block, and doesn't evaluate the request against the remaining Rules in the WebACL, if any. To create and configure a WebACL, perform the following steps: Create and update the predicates that you want to include in Rules. For more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, CreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet. Create and update the Rules that you want to include in the WebACL. For more information, see CreateRule and UpdateRule. Create a WebACL. See CreateWebACL. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateWebACL request. Submit an UpdateWebACL request to specify the Rules that you want to include in the WebACL, to specify the default action, and to associate the WebACL with a CloudFront distribution. Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the UpdateWebACL request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateWebACL(callback?: (err: AWSError, data: WAFRegional.Types.UpdateWebACLResponse) => void): Request; - /** - * Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet. For each XssMatchTuple object, you specify the following values: Action: Whether to insert the object into or delete the object from the array. To change a XssMatchTuple, you delete the existing object and add a new one. FieldToMatch: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header, the name of the header. TextTransformation: Which text transformation, if any, to perform on the web request before inspecting the request for cross-site scripting attacks. You use XssMatchSet objects to specify which CloudFront requests you want to allow, block, or count. For example, if you're receiving requests that contain cross-site scripting attacks in the request body and you want to block the requests, you can create an XssMatchSet with the applicable settings, and then configure AWS WAF to block the requests. To create and configure an XssMatchSet, perform the following steps: Submit a CreateXssMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateXssMatchSet request to specify the parts of web requests that you want AWS WAF to inspect for cross-site scripting attacks. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateXssMatchSet(params: WAFRegional.Types.UpdateXssMatchSetRequest, callback?: (err: AWSError, data: WAFRegional.Types.UpdateXssMatchSetResponse) => void): Request; - /** - * Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet. For each XssMatchTuple object, you specify the following values: Action: Whether to insert the object into or delete the object from the array. To change a XssMatchTuple, you delete the existing object and add a new one. FieldToMatch: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header, the name of the header. TextTransformation: Which text transformation, if any, to perform on the web request before inspecting the request for cross-site scripting attacks. You use XssMatchSet objects to specify which CloudFront requests you want to allow, block, or count. For example, if you're receiving requests that contain cross-site scripting attacks in the request body and you want to block the requests, you can create an XssMatchSet with the applicable settings, and then configure AWS WAF to block the requests. To create and configure an XssMatchSet, perform the following steps: Submit a CreateXssMatchSet request. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request. Submit an UpdateXssMatchSet request to specify the parts of web requests that you want AWS WAF to inspect for cross-site scripting attacks. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide. - */ - updateXssMatchSet(callback?: (err: AWSError, data: WAFRegional.Types.UpdateXssMatchSetResponse) => void): Request; -} -declare namespace WAFRegional { - export type Action = string; - export interface ActivatedRule { - /** - * Specifies the order in which the Rules in a WebACL are evaluated. Rules with a lower value for Priority are evaluated before Rules with a higher value. The value must be a unique integer. If you add multiple Rules to a WebACL, the values don't need to be consecutive. - */ - Priority: RulePriority; - /** - * The RuleId for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule). RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - /** - * Specifies the action that CloudFront or AWS WAF takes when a web request matches the conditions in the Rule. Valid values for Action include the following: ALLOW: CloudFront responds with the requested object. BLOCK: CloudFront responds with an HTTP 403 (Forbidden) status code. COUNT: AWS WAF increments a counter of requests that match the conditions in the rule and then continues to inspect the web request based on the remaining rules in the web ACL. - */ - Action: WafAction; - /** - * The rule type, either REGULAR, as defined by Rule, or RATE_BASED, as defined by RateBasedRule. The default is REGULAR. Although this field is optional, be aware that if you try to add a RATE_BASED rule to a web ACL without setting the type, the UpdateWebACL request will fail because the request tries to add a REGULAR rule with the specified ID, which does not exist. - */ - Type?: WafRuleType; - } - export type ActivatedRules = ActivatedRule[]; - export interface AssociateWebACLRequest { - /** - * A unique identifier (ID) for the web ACL. - */ - WebACLId: ResourceId; - /** - * The ARN (Amazon Resource Name) of the resource to be protected. - */ - ResourceArn: ResourceArn; - } - export interface AssociateWebACLResponse { - } - export interface ByteMatchSet { - /** - * The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet (see GetByteMatchSet), update a ByteMatchSet (see UpdateByteMatchSet), insert a ByteMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet). ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. - */ - ByteMatchSetId: ResourceId; - /** - * A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet. - */ - Name?: ResourceName; - /** - * Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. - */ - ByteMatchTuples: ByteMatchTuples; - } - export type ByteMatchSetSummaries = ByteMatchSetSummary[]; - export interface ByteMatchSetSummary { - /** - * The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. - */ - ByteMatchSetId: ResourceId; - /** - * A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet. - */ - Name: ResourceName; - } - export interface ByteMatchSetUpdate { - /** - * Specifies whether to insert or delete a ByteMatchTuple. - */ - Action: ChangeAction; - /** - * Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet. - */ - ByteMatchTuple: ByteMatchTuple; - } - export type ByteMatchSetUpdates = ByteMatchSetUpdate[]; - export type ByteMatchTargetString = Buffer|Uint8Array|Blob|string; - export interface ByteMatchTuple { - /** - * The part of a web request that you want AWS WAF to search, such as a specified header or a query string. For more information, see FieldToMatch. - */ - FieldToMatch: FieldToMatch; - /** - * The value that you want AWS WAF to search for. AWS WAF searches for the specified string in the part of web requests that you specified in FieldToMatch. The maximum length of the value is 50 bytes. Valid values depend on the values that you specified for FieldToMatch: HEADER: The value that you want AWS WAF to search for in the request header that you specified in FieldToMatch, for example, the value of the User-Agent or Referer header. METHOD: The HTTP method, which indicates the type of operation specified in the request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT. QUERY_STRING: The value that you want AWS WAF to search for in the query string, which is the part of a URL that appears after a ? character. URI: The value that you want AWS WAF to search for in the part of a URL that identifies a resource, for example, /images/daily-ad.jpg. BODY: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first 8192 bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see CreateSizeConstraintSet. If TargetString includes alphabetic characters A-Z and a-z, note that the value is case sensitive. If you're using the AWS WAF API Specify a base64-encoded version of the value. The maximum length of the value before you base64-encode it is 50 bytes. For example, suppose the value of Type is HEADER and the value of Data is User-Agent. If you want to search the User-Agent header for the value BadBot, you base64-encode BadBot using MIME base64 encoding and include the resulting value, QmFkQm90, in the value of TargetString. If you're using the AWS CLI or one of the AWS SDKs The value that you want AWS WAF to search for. The SDK automatically base64 encodes the value. - */ - TargetString: ByteMatchTargetString; - /** - * Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on TargetString before inspecting a request for a match. CMD_LINE When you're concerned that attackers are injecting an operating system commandline command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations: Delete the following characters: \ " ' ^ Delete spaces before the following characters: / ( Replace the following characters with a space: , ; Replace multiple spaces with one space Convert uppercase letters (A-Z) to lowercase (a-z) COMPRESS_WHITE_SPACE Use this option to replace the following characters with a space character (decimal 32): \f, formfeed, decimal 12 \t, tab, decimal 9 \n, newline, decimal 10 \r, carriage return, decimal 13 \v, vertical tab, decimal 11 non-breaking space, decimal 160 COMPRESS_WHITE_SPACE also replaces multiple spaces with one space. HTML_ENTITY_DECODE Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations: Replaces (ampersand)quot; with " Replaces (ampersand)nbsp; with a non-breaking space, decimal 160 Replaces (ampersand)lt; with a "less than" symbol Replaces (ampersand)gt; with > Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters LOWERCASE Use this option to convert uppercase letters (A-Z) to lowercase (a-z). URL_DECODE Use this option to decode a URL-encoded value. NONE Specify NONE if you don't want to perform any text transformations. - */ - TextTransformation: TextTransformation; - /** - * Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want AWS WAF to search. Valid values include the following: CONTAINS The specified part of the web request must include the value of TargetString, but the location doesn't matter. CONTAINS_WORD The specified part of the web request must include the value of TargetString, and TargetString must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, TargetString must be a word, which means one of the following: TargetString exactly matches the value of the specified part of the web request, such as the value of a header. TargetString is at the beginning of the specified part of the web request and is followed by a character other than an alphanumeric character or underscore (_), for example, BadBot;. TargetString is at the end of the specified part of the web request and is preceded by a character other than an alphanumeric character or underscore (_), for example, ;BadBot. TargetString is in the middle of the specified part of the web request and is preceded and followed by characters other than alphanumeric characters or underscore (_), for example, -BadBot;. EXACTLY The value of the specified part of the web request must exactly match the value of TargetString. STARTS_WITH The value of TargetString must appear at the beginning of the specified part of the web request. ENDS_WITH The value of TargetString must appear at the end of the specified part of the web request. - */ - PositionalConstraint: PositionalConstraint; - } - export type ByteMatchTuples = ByteMatchTuple[]; - export type ChangeAction = "INSERT"|"DELETE"|string; - export type ChangeToken = string; - export type ChangeTokenStatus = "PROVISIONED"|"PENDING"|"INSYNC"|string; - export type ComparisonOperator = "EQ"|"NE"|"LE"|"LT"|"GE"|"GT"|string; - export type Country = string; - export interface CreateByteMatchSetRequest { - /** - * A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet. - */ - Name: ResourceName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateByteMatchSetResponse { - /** - * A ByteMatchSet that contains no ByteMatchTuple objects. - */ - ByteMatchSet?: ByteMatchSet; - /** - * The ChangeToken that you used to submit the CreateByteMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateIPSetRequest { - /** - * A friendly name or description of the IPSet. You can't change Name after you create the IPSet. - */ - Name: ResourceName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateIPSetResponse { - /** - * The IPSet returned in the CreateIPSet response. - */ - IPSet?: IPSet; - /** - * The ChangeToken that you used to submit the CreateIPSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateRateBasedRuleRequest { - /** - * A friendly name or description of the RateBasedRule. You can't change the name of a RateBasedRule after you create it. - */ - Name: ResourceName; - /** - * A friendly name or description for the metrics for this RateBasedRule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create the RateBasedRule. - */ - MetricName: MetricName; - /** - * The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus subject to rate monitoring. The only valid value for RateKey is IP. IP indicates that requests that arrive from the same IP address are subject to the RateLimit that is specified in the RateBasedRule. - */ - RateKey: RateKey; - /** - * The maximum number of requests, which have an identical value in the field that is specified by RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule. - */ - RateLimit: RateLimit; - /** - * The ChangeToken that you used to submit the CreateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken: ChangeToken; - } - export interface CreateRateBasedRuleResponse { - /** - * The RateBasedRule that is returned in the CreateRateBasedRule response. - */ - Rule?: RateBasedRule; - /** - * The ChangeToken that you used to submit the CreateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateRuleRequest { - /** - * A friendly name or description of the Rule. You can't change the name of a Rule after you create it. - */ - Name: ResourceName; - /** - * A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create the Rule. - */ - MetricName: MetricName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateRuleResponse { - /** - * The Rule returned in the CreateRule response. - */ - Rule?: Rule; - /** - * The ChangeToken that you used to submit the CreateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateSizeConstraintSetRequest { - /** - * A friendly name or description of the SizeConstraintSet. You can't change Name after you create a SizeConstraintSet. - */ - Name: ResourceName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateSizeConstraintSetResponse { - /** - * A SizeConstraintSet that contains no SizeConstraint objects. - */ - SizeConstraintSet?: SizeConstraintSet; - /** - * The ChangeToken that you used to submit the CreateSizeConstraintSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateSqlInjectionMatchSetRequest { - /** - * A friendly name or description for the SqlInjectionMatchSet that you're creating. You can't change Name after you create the SqlInjectionMatchSet. - */ - Name: ResourceName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateSqlInjectionMatchSetResponse { - /** - * A SqlInjectionMatchSet. - */ - SqlInjectionMatchSet?: SqlInjectionMatchSet; - /** - * The ChangeToken that you used to submit the CreateSqlInjectionMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateWebACLRequest { - /** - * A friendly name or description of the WebACL. You can't change Name after you create the WebACL. - */ - Name: ResourceName; - /** - * A friendly name or description for the metrics for this WebACL. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change MetricName after you create the WebACL. - */ - MetricName: MetricName; - /** - * The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the Rule objects that are associated with the WebACL. - */ - DefaultAction: WafAction; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateWebACLResponse { - /** - * The WebACL returned in the CreateWebACL response. - */ - WebACL?: WebACL; - /** - * The ChangeToken that you used to submit the CreateWebACL request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface CreateXssMatchSetRequest { - /** - * A friendly name or description for the XssMatchSet that you're creating. You can't change Name after you create the XssMatchSet. - */ - Name: ResourceName; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface CreateXssMatchSetResponse { - /** - * An XssMatchSet. - */ - XssMatchSet?: XssMatchSet; - /** - * The ChangeToken that you used to submit the CreateXssMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteByteMatchSetRequest { - /** - * The ByteMatchSetId of the ByteMatchSet that you want to delete. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. - */ - ByteMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteByteMatchSetResponse { - /** - * The ChangeToken that you used to submit the DeleteByteMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteIPSetRequest { - /** - * The IPSetId of the IPSet that you want to delete. IPSetId is returned by CreateIPSet and by ListIPSets. - */ - IPSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteIPSetResponse { - /** - * The ChangeToken that you used to submit the DeleteIPSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteRateBasedRuleRequest { - /** - * The RuleId of the RateBasedRule that you want to delete. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules. - */ - RuleId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteRateBasedRuleResponse { - /** - * The ChangeToken that you used to submit the DeleteRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteRuleRequest { - /** - * The RuleId of the Rule that you want to delete. RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteRuleResponse { - /** - * The ChangeToken that you used to submit the DeleteRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteSizeConstraintSetRequest { - /** - * The SizeConstraintSetId of the SizeConstraintSet that you want to delete. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. - */ - SizeConstraintSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteSizeConstraintSetResponse { - /** - * The ChangeToken that you used to submit the DeleteSizeConstraintSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteSqlInjectionMatchSetRequest { - /** - * The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to delete. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. - */ - SqlInjectionMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteSqlInjectionMatchSetResponse { - /** - * The ChangeToken that you used to submit the DeleteSqlInjectionMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteWebACLRequest { - /** - * The WebACLId of the WebACL that you want to delete. WebACLId is returned by CreateWebACL and by ListWebACLs. - */ - WebACLId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteWebACLResponse { - /** - * The ChangeToken that you used to submit the DeleteWebACL request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DeleteXssMatchSetRequest { - /** - * The XssMatchSetId of the XssMatchSet that you want to delete. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. - */ - XssMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - } - export interface DeleteXssMatchSetResponse { - /** - * The ChangeToken that you used to submit the DeleteXssMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface DisassociateWebACLRequest { - /** - * The ARN (Amazon Resource Name) of the resource from which the web ACL is being removed. - */ - ResourceArn: ResourceArn; - } - export interface DisassociateWebACLResponse { - } - export interface FieldToMatch { - /** - * The part of the web request that you want AWS WAF to search for a specified string. Parts of a request that you can search include the following: HEADER: A specified request header, for example, the value of the User-Agent or Referer header. If you choose HEADER for the type, specify the name of the header in Data. METHOD: The HTTP method, which indicated the type of operation that the request is asking the origin to perform. Amazon CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT. QUERY_STRING: A query string, which is the part of a URL that appears after a ? character, if any. URI: The part of a web request that identifies a resource, for example, /images/daily-ad.jpg. BODY: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first 8192 bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see CreateSizeConstraintSet. - */ - Type: MatchFieldType; - /** - * When the value of Type is HEADER, enter the name of the header that you want AWS WAF to search, for example, User-Agent or Referer. If the value of Type is any other value, omit Data. The name of the header is not case sensitive. - */ - Data?: MatchFieldData; - } - export interface GetByteMatchSetRequest { - /** - * The ByteMatchSetId of the ByteMatchSet that you want to get. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. - */ - ByteMatchSetId: ResourceId; - } - export interface GetByteMatchSetResponse { - /** - * Information about the ByteMatchSet that you specified in the GetByteMatchSet request. For more information, see the following topics: ByteMatchSet: Contains ByteMatchSetId, ByteMatchTuples, and Name ByteMatchTuples: Contains an array of ByteMatchTuple objects. Each ByteMatchTuple object contains FieldToMatch, PositionalConstraint, TargetString, and TextTransformation FieldToMatch: Contains Data and Type - */ - ByteMatchSet?: ByteMatchSet; - } - export interface GetChangeTokenRequest { - } - export interface GetChangeTokenResponse { - /** - * The ChangeToken that you used in the request. Use this value in a GetChangeTokenStatus request to get the current status of the request. - */ - ChangeToken?: ChangeToken; - } - export interface GetChangeTokenStatusRequest { - /** - * The change token for which you want to get the status. This change token was previously returned in the GetChangeToken response. - */ - ChangeToken: ChangeToken; - } - export interface GetChangeTokenStatusResponse { - /** - * The status of the change token. - */ - ChangeTokenStatus?: ChangeTokenStatus; - } - export interface GetIPSetRequest { - /** - * The IPSetId of the IPSet that you want to get. IPSetId is returned by CreateIPSet and by ListIPSets. - */ - IPSetId: ResourceId; - } - export interface GetIPSetResponse { - /** - * Information about the IPSet that you specified in the GetIPSet request. For more information, see the following topics: IPSet: Contains IPSetDescriptors, IPSetId, and Name IPSetDescriptors: Contains an array of IPSetDescriptor objects. Each IPSetDescriptor object contains Type and Value - */ - IPSet?: IPSet; - } - export interface GetRateBasedRuleManagedKeysRequest { - /** - * The RuleId of the RateBasedRule for which you want to get a list of ManagedKeys. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules. - */ - RuleId: ResourceId; - /** - * A null value and not currently used. Do not include this in your request. - */ - NextMarker?: NextMarker; - } - export interface GetRateBasedRuleManagedKeysResponse { - /** - * An array of IP addresses that currently are blocked by the specified RateBasedRule. - */ - ManagedKeys?: ManagedKeys; - /** - * A null value and not currently used. - */ - NextMarker?: NextMarker; - } - export interface GetRateBasedRuleRequest { - /** - * The RuleId of the RateBasedRule that you want to get. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules. - */ - RuleId: ResourceId; - } - export interface GetRateBasedRuleResponse { - /** - * Information about the RateBasedRule that you specified in the GetRateBasedRule request. - */ - Rule?: RateBasedRule; - } - export interface GetRuleRequest { - /** - * The RuleId of the Rule that you want to get. RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - } - export interface GetRuleResponse { - /** - * Information about the Rule that you specified in the GetRule request. For more information, see the following topics: Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId Predicate: Each Predicate object contains DataId, Negated, and Type - */ - Rule?: Rule; - } - export type GetSampledRequestsMaxItems = number; - export interface GetSampledRequestsRequest { - /** - * The WebACLId of the WebACL for which you want GetSampledRequests to return a sample of requests. - */ - WebAclId: ResourceId; - /** - * RuleId is one of two values: The RuleId of the Rule for which you want GetSampledRequests to return a sample of requests. Default_Action, which causes GetSampledRequests to return a sample of the requests that didn't match any of the rules in the specified WebACL. - */ - RuleId: ResourceId; - /** - * The start date and time and the end date and time of the range for which you want GetSampledRequests to return a sample of requests. Specify the date and time in the following format: "2016-09-27T14:50Z". You can specify any time range in the previous three hours. - */ - TimeWindow: TimeWindow; - /** - * The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received during the time range. If your resource received fewer requests than the value of MaxItems, GetSampledRequests returns information about all of them. - */ - MaxItems: GetSampledRequestsMaxItems; - } - export interface GetSampledRequestsResponse { - /** - * A complex type that contains detailed information about each of the requests in the sample. - */ - SampledRequests?: SampledHTTPRequests; - /** - * The total number of requests from which GetSampledRequests got a sample of MaxItems requests. If PopulationSize is less than MaxItems, the sample includes every request that your AWS resource received during the specified time range. - */ - PopulationSize?: PopulationSize; - /** - * Usually, TimeWindow is the time range that you specified in the GetSampledRequests request. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request, GetSampledRequests returns the time range for the first 5,000 requests. - */ - TimeWindow?: TimeWindow; - } - export interface GetSizeConstraintSetRequest { - /** - * The SizeConstraintSetId of the SizeConstraintSet that you want to get. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. - */ - SizeConstraintSetId: ResourceId; - } - export interface GetSizeConstraintSetResponse { - /** - * Information about the SizeConstraintSet that you specified in the GetSizeConstraintSet request. For more information, see the following topics: SizeConstraintSet: Contains SizeConstraintSetId, SizeConstraints, and Name SizeConstraints: Contains an array of SizeConstraint objects. Each SizeConstraint object contains FieldToMatch, TextTransformation, ComparisonOperator, and Size FieldToMatch: Contains Data and Type - */ - SizeConstraintSet?: SizeConstraintSet; - } - export interface GetSqlInjectionMatchSetRequest { - /** - * The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to get. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. - */ - SqlInjectionMatchSetId: ResourceId; - } - export interface GetSqlInjectionMatchSetResponse { - /** - * Information about the SqlInjectionMatchSet that you specified in the GetSqlInjectionMatchSet request. For more information, see the following topics: SqlInjectionMatchSet: Contains Name, SqlInjectionMatchSetId, and an array of SqlInjectionMatchTuple objects SqlInjectionMatchTuple: Each SqlInjectionMatchTuple object contains FieldToMatch and TextTransformation FieldToMatch: Contains Data and Type - */ - SqlInjectionMatchSet?: SqlInjectionMatchSet; - } - export interface GetWebACLForResourceRequest { - /** - * The ARN (Amazon Resource Name) of the resource for which to get the web ACL. - */ - ResourceArn: ResourceArn; - } - export interface GetWebACLForResourceResponse { - /** - * Information about the web ACL that you specified in the GetWebACLForResource request. If there is no associated resource, a null WebACLSummary is returned. - */ - WebACLSummary?: WebACLSummary; - } - export interface GetWebACLRequest { - /** - * The WebACLId of the WebACL that you want to get. WebACLId is returned by CreateWebACL and by ListWebACLs. - */ - WebACLId: ResourceId; - } - export interface GetWebACLResponse { - /** - * Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics: WebACL: Contains DefaultAction, MetricName, Name, an array of Rule objects, and WebACLId DefaultAction (Data type is WafAction): Contains Type Rules: Contains an array of ActivatedRule objects, which contain Action, Priority, and RuleId Action: Contains Type - */ - WebACL?: WebACL; - } - export interface GetXssMatchSetRequest { - /** - * The XssMatchSetId of the XssMatchSet that you want to get. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. - */ - XssMatchSetId: ResourceId; - } - export interface GetXssMatchSetResponse { - /** - * Information about the XssMatchSet that you specified in the GetXssMatchSet request. For more information, see the following topics: XssMatchSet: Contains Name, XssMatchSetId, and an array of XssMatchTuple objects XssMatchTuple: Each XssMatchTuple object contains FieldToMatch and TextTransformation FieldToMatch: Contains Data and Type - */ - XssMatchSet?: XssMatchSet; - } - export interface HTTPHeader { - /** - * The name of one of the headers in the sampled web request. - */ - Name?: HeaderName; - /** - * The value of one of the headers in the sampled web request. - */ - Value?: HeaderValue; - } - export type HTTPHeaders = HTTPHeader[]; - export type HTTPMethod = string; - export interface HTTPRequest { - /** - * The IP address that the request originated from. If the WebACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs: c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request - */ - ClientIP?: IPString; - /** - * The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2. - */ - Country?: Country; - /** - * The part of a web request that identifies the resource, for example, /images/daily-ad.jpg. - */ - URI?: URIString; - /** - * The HTTP method specified in the sampled web request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT. - */ - Method?: HTTPMethod; - /** - * The HTTP version specified in the sampled web request, for example, HTTP/1.1. - */ - HTTPVersion?: HTTPVersion; - /** - * A complex type that contains two values for each header in the sampled web request: the name of the header and the value of the header. - */ - Headers?: HTTPHeaders; - } - export type HTTPVersion = string; - export type HeaderName = string; - export type HeaderValue = string; - export interface IPSet { - /** - * The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet). IPSetId is returned by CreateIPSet and by ListIPSets. - */ - IPSetId: ResourceId; - /** - * A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it. - */ - Name?: ResourceName; - /** - * The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs. - */ - IPSetDescriptors: IPSetDescriptors; - } - export interface IPSetDescriptor { - /** - * Specify IPV4 or IPV6. - */ - Type: IPSetDescriptorType; - /** - * Specify an IPv4 address by using CIDR notation. For example: To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32. To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. Specify an IPv6 address by using CIDR notation. For example: To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128. To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64. - */ - Value: IPSetDescriptorValue; - } - export type IPSetDescriptorType = "IPV4"|"IPV6"|string; - export type IPSetDescriptorValue = string; - export type IPSetDescriptors = IPSetDescriptor[]; - export type IPSetSummaries = IPSetSummary[]; - export interface IPSetSummary { - /** - * The IPSetId for an IPSet. You can use IPSetId in a GetIPSet request to get detailed information about an IPSet. - */ - IPSetId: ResourceId; - /** - * A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it. - */ - Name: ResourceName; - } - export interface IPSetUpdate { - /** - * Specifies whether to insert or delete an IP address with UpdateIPSet. - */ - Action: ChangeAction; - /** - * The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. - */ - IPSetDescriptor: IPSetDescriptor; - } - export type IPSetUpdates = IPSetUpdate[]; - export type IPString = string; - export interface ListByteMatchSetsRequest { - /** - * If you specify a value for Limit and you have more ByteMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of ByteMatchSets. For the second and subsequent ListByteMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of ByteMatchSets. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of ByteMatchSet objects that you want AWS WAF to return for this request. If you have more ByteMatchSets objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of ByteMatchSet objects. - */ - Limit?: PaginationLimit; - } - export interface ListByteMatchSetsResponse { - /** - * If you have more ByteMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more ByteMatchSet objects, submit another ListByteMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of ByteMatchSetSummary objects. - */ - ByteMatchSets?: ByteMatchSetSummaries; - } - export interface ListIPSetsRequest { - /** - * If you specify a value for Limit and you have more IPSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of IPSets. For the second and subsequent ListIPSets requests, specify the value of NextMarker from the previous response to get information about another batch of ByteMatchSets. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of IPSet objects that you want AWS WAF to return for this request. If you have more IPSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of IPSet objects. - */ - Limit?: PaginationLimit; - } - export interface ListIPSetsResponse { - /** - * If you have more IPSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more IPSet objects, submit another ListIPSets request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of IPSetSummary objects. - */ - IPSets?: IPSetSummaries; - } - export interface ListRateBasedRulesRequest { - /** - * If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules. - */ - Limit?: PaginationLimit; - } - export interface ListRateBasedRulesResponse { - /** - * If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRateBasedRules request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of RuleSummary objects. - */ - Rules?: RuleSummaries; - } - export interface ListResourcesForWebACLRequest { - /** - * The unique identifier (ID) of the web ACL for which to list the associated resources. - */ - WebACLId: ResourceId; - } - export interface ListResourcesForWebACLResponse { - /** - * An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with zero elements is returned if there are no resources associated with the web ACL. - */ - ResourceArns?: ResourceArns; - } - export interface ListRulesRequest { - /** - * If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules. - */ - Limit?: PaginationLimit; - } - export interface ListRulesResponse { - /** - * If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRules request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of RuleSummary objects. - */ - Rules?: RuleSummaries; - } - export interface ListSizeConstraintSetsRequest { - /** - * If you specify a value for Limit and you have more SizeConstraintSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of SizeConstraintSets. For the second and subsequent ListSizeConstraintSets requests, specify the value of NextMarker from the previous response to get information about another batch of SizeConstraintSets. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of SizeConstraintSet objects that you want AWS WAF to return for this request. If you have more SizeConstraintSets objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of SizeConstraintSet objects. - */ - Limit?: PaginationLimit; - } - export interface ListSizeConstraintSetsResponse { - /** - * If you have more SizeConstraintSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more SizeConstraintSet objects, submit another ListSizeConstraintSets request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of SizeConstraintSetSummary objects. - */ - SizeConstraintSets?: SizeConstraintSetSummaries; - } - export interface ListSqlInjectionMatchSetsRequest { - /** - * If you specify a value for Limit and you have more SqlInjectionMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of SqlInjectionMatchSets. For the second and subsequent ListSqlInjectionMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of SqlInjectionMatchSets. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of SqlInjectionMatchSet objects that you want AWS WAF to return for this request. If you have more SqlInjectionMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules. - */ - Limit?: PaginationLimit; - } - export interface ListSqlInjectionMatchSetsResponse { - /** - * If you have more SqlInjectionMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more SqlInjectionMatchSet objects, submit another ListSqlInjectionMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of SqlInjectionMatchSetSummary objects. - */ - SqlInjectionMatchSets?: SqlInjectionMatchSetSummaries; - } - export interface ListWebACLsRequest { - /** - * If you specify a value for Limit and you have more WebACL objects than the number that you specify for Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of WebACL objects. For the second and subsequent ListWebACLs requests, specify the value of NextMarker from the previous response to get information about another batch of WebACL objects. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of WebACL objects that you want AWS WAF to return for this request. If you have more WebACL objects than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of WebACL objects. - */ - Limit?: PaginationLimit; - } - export interface ListWebACLsResponse { - /** - * If you have more WebACL objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more WebACL objects, submit another ListWebACLs request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of WebACLSummary objects. - */ - WebACLs?: WebACLSummaries; - } - export interface ListXssMatchSetsRequest { - /** - * If you specify a value for Limit and you have more XssMatchSet objects than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of XssMatchSets. For the second and subsequent ListXssMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of XssMatchSets. - */ - NextMarker?: NextMarker; - /** - * Specifies the number of XssMatchSet objects that you want AWS WAF to return for this request. If you have more XssMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules. - */ - Limit?: PaginationLimit; - } - export interface ListXssMatchSetsResponse { - /** - * If you have more XssMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more XssMatchSet objects, submit another ListXssMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request. - */ - NextMarker?: NextMarker; - /** - * An array of XssMatchSetSummary objects. - */ - XssMatchSets?: XssMatchSetSummaries; - } - export type ManagedKey = string; - export type ManagedKeys = ManagedKey[]; - export type MatchFieldData = string; - export type MatchFieldType = "URI"|"QUERY_STRING"|"HEADER"|"METHOD"|"BODY"|string; - export type MetricName = string; - export type Negated = boolean; - export type NextMarker = string; - export type PaginationLimit = number; - export type ParameterExceptionField = "CHANGE_ACTION"|"WAF_ACTION"|"PREDICATE_TYPE"|"IPSET_TYPE"|"BYTE_MATCH_FIELD_TYPE"|"SQL_INJECTION_MATCH_FIELD_TYPE"|"BYTE_MATCH_TEXT_TRANSFORMATION"|"BYTE_MATCH_POSITIONAL_CONSTRAINT"|"SIZE_CONSTRAINT_COMPARISON_OPERATOR"|"RATE_KEY"|"RULE_TYPE"|"NEXT_MARKER"|string; - export type ParameterExceptionParameter = string; - export type ParameterExceptionReason = "INVALID_OPTION"|"ILLEGAL_COMBINATION"|string; - export type PopulationSize = number; - export type PositionalConstraint = "EXACTLY"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CONTAINS_WORD"|string; - export interface Predicate { - /** - * Set Negated to False if you want AWS WAF to allow, block, or count requests based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow or block requests based on that IP address. Set Negated to True if you want AWS WAF to allow or block a request based on the negation of the settings in the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow, block, or count requests based on all IP addresses except 192.0.2.44. - */ - Negated: Negated; - /** - * The type of predicate in a Rule, such as ByteMatchSet or IPSet. - */ - Type: PredicateType; - /** - * A unique identifier for a predicate in a Rule, such as ByteMatchSetId or IPSetId. The ID is returned by the corresponding Create or List command. - */ - DataId: ResourceId; - } - export type PredicateType = "IPMatch"|"ByteMatch"|"SqlInjectionMatch"|"SizeConstraint"|"XssMatch"|string; - export type Predicates = Predicate[]; - export interface RateBasedRule { - /** - * A unique identifier for a RateBasedRule. You use RuleId to get more information about a RateBasedRule (see GetRateBasedRule), update a RateBasedRule (see UpdateRateBasedRule), insert a RateBasedRule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a RateBasedRule from AWS WAF (see DeleteRateBasedRule). - */ - RuleId: ResourceId; - /** - * A friendly name or description for a RateBasedRule. You can't change the name of a RateBasedRule after you create it. - */ - Name?: ResourceName; - /** - * A friendly name or description for the metrics for a RateBasedRule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create the RateBasedRule. - */ - MetricName?: MetricName; - /** - * The Predicates object contains one Predicate element for each ByteMatchSet, IPSet, or SqlInjectionMatchSet object that you want to include in a RateBasedRule. - */ - MatchPredicates: Predicates; - /** - * The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring. The only valid value for RateKey is IP. IP indicates that requests arriving from the same IP address are subject to the RateLimit that is specified in the RateBasedRule. - */ - RateKey: RateKey; - /** - * The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule. - */ - RateLimit: RateLimit; - } - export type RateKey = "IP"|string; - export type RateLimit = number; - export type ResourceArn = string; - export type ResourceArns = ResourceArn[]; - export type ResourceId = string; - export type ResourceName = string; - export interface Rule { - /** - * A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule). RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - /** - * The friendly name or description for the Rule. You can't change the name of a Rule after you create it. - */ - Name?: ResourceName; - /** - * A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change MetricName after you create the Rule. - */ - MetricName?: MetricName; - /** - * The Predicates object contains one Predicate element for each ByteMatchSet, IPSet, or SqlInjectionMatchSet object that you want to include in a Rule. - */ - Predicates: Predicates; - } - export type RulePriority = number; - export type RuleSummaries = RuleSummary[]; - export interface RuleSummary { - /** - * A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule). RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - /** - * A friendly name or description of the Rule. You can't change the name of a Rule after you create it. - */ - Name: ResourceName; - } - export interface RuleUpdate { - /** - * Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule. - */ - Action: ChangeAction; - /** - * The ID of the Predicate (such as an IPSet) that you want to add to a Rule. - */ - Predicate: Predicate; - } - export type RuleUpdates = RuleUpdate[]; - export type SampleWeight = number; - export interface SampledHTTPRequest { - /** - * A complex type that contains detailed information about the request. - */ - Request: HTTPRequest; - /** - * A value that indicates how one result in the response relates proportionally to other results in the response. A result that has a weight of 2 represents roughly twice as many CloudFront web requests as a result that has a weight of 1. - */ - Weight: SampleWeight; - /** - * The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds). - */ - Timestamp?: Timestamp; - /** - * The action for the Rule that the request matched: ALLOW, BLOCK, or COUNT. - */ - Action?: Action; - } - export type SampledHTTPRequests = SampledHTTPRequest[]; - export type Size = number; - export interface SizeConstraint { - /** - * Specifies where in a web request to look for the size constraint. - */ - FieldToMatch: FieldToMatch; - /** - * Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting a request for a match. Note that if you choose BODY for the value of Type, you must choose NONE for TextTransformation because CloudFront forwards only the first 8192 bytes for inspection. NONE Specify NONE if you don't want to perform any text transformations. CMD_LINE When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations: Delete the following characters: \ " ' ^ Delete spaces before the following characters: / ( Replace the following characters with a space: , ; Replace multiple spaces with one space Convert uppercase letters (A-Z) to lowercase (a-z) COMPRESS_WHITE_SPACE Use this option to replace the following characters with a space character (decimal 32): \f, formfeed, decimal 12 \t, tab, decimal 9 \n, newline, decimal 10 \r, carriage return, decimal 13 \v, vertical tab, decimal 11 non-breaking space, decimal 160 COMPRESS_WHITE_SPACE also replaces multiple spaces with one space. HTML_ENTITY_DECODE Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations: Replaces (ampersand)quot; with " Replaces (ampersand)nbsp; with a non-breaking space, decimal 160 Replaces (ampersand)lt; with a "less than" symbol Replaces (ampersand)gt; with > Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters LOWERCASE Use this option to convert uppercase letters (A-Z) to lowercase (a-z). URL_DECODE Use this option to decode a URL-encoded value. - */ - TextTransformation: TextTransformation; - /** - * The type of comparison you want AWS WAF to perform. AWS WAF uses this in combination with the provided Size and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match. EQ: Used to test if the Size is equal to the size of the FieldToMatch NE: Used to test if the Size is not equal to the size of the FieldToMatch LE: Used to test if the Size is less than or equal to the size of the FieldToMatch LT: Used to test if the Size is strictly less than the size of the FieldToMatch GE: Used to test if the Size is greater than or equal to the size of the FieldToMatch GT: Used to test if the Size is strictly greater than the size of the FieldToMatch - */ - ComparisonOperator: ComparisonOperator; - /** - * The size in bytes that you want AWS WAF to compare against the size of the specified FieldToMatch. AWS WAF uses this in combination with ComparisonOperator and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match. Valid values for size are 0 - 21474836480 bytes (0 - 20 GB). If you specify URI for the value of Type, the / in the URI counts as one character. For example, the URI /logo.jpg is nine characters long. - */ - Size: Size; - } - export interface SizeConstraintSet { - /** - * A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet). SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. - */ - SizeConstraintSetId: ResourceId; - /** - * The name, if any, of the SizeConstraintSet. - */ - Name?: ResourceName; - /** - * Specifies the parts of web requests that you want to inspect the size of. - */ - SizeConstraints: SizeConstraints; - } - export type SizeConstraintSetSummaries = SizeConstraintSetSummary[]; - export interface SizeConstraintSetSummary { - /** - * A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet). SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. - */ - SizeConstraintSetId: ResourceId; - /** - * The name of the SizeConstraintSet, if any. - */ - Name: ResourceName; - } - export interface SizeConstraintSetUpdate { - /** - * Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet. - */ - Action: ChangeAction; - /** - * Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size, ComparisonOperator, and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match. - */ - SizeConstraint: SizeConstraint; - } - export type SizeConstraintSetUpdates = SizeConstraintSetUpdate[]; - export type SizeConstraints = SizeConstraint[]; - export interface SqlInjectionMatchSet { - /** - * A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet). SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. - */ - SqlInjectionMatchSetId: ResourceId; - /** - * The name, if any, of the SqlInjectionMatchSet. - */ - Name?: ResourceName; - /** - * Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code. - */ - SqlInjectionMatchTuples: SqlInjectionMatchTuples; - } - export type SqlInjectionMatchSetSummaries = SqlInjectionMatchSetSummary[]; - export interface SqlInjectionMatchSetSummary { - /** - * A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet). SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. - */ - SqlInjectionMatchSetId: ResourceId; - /** - * The name of the SqlInjectionMatchSet, if any, specified by Id. - */ - Name: ResourceName; - } - export interface SqlInjectionMatchSetUpdate { - /** - * Specify INSERT to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use DELETE to remove a SqlInjectionMatchSetUpdate from a SqlInjectionMatchSet. - */ - Action: ChangeAction; - /** - * Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. - */ - SqlInjectionMatchTuple: SqlInjectionMatchTuple; - } - export type SqlInjectionMatchSetUpdates = SqlInjectionMatchSetUpdate[]; - export interface SqlInjectionMatchTuple { - /** - * Specifies where in a web request to look for snippets of malicious SQL code. - */ - FieldToMatch: FieldToMatch; - /** - * Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting a request for a match. CMD_LINE When you're concerned that attackers are injecting an operating system commandline command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations: Delete the following characters: \ " ' ^ Delete spaces before the following characters: / ( Replace the following characters with a space: , ; Replace multiple spaces with one space Convert uppercase letters (A-Z) to lowercase (a-z) COMPRESS_WHITE_SPACE Use this option to replace the following characters with a space character (decimal 32): \f, formfeed, decimal 12 \t, tab, decimal 9 \n, newline, decimal 10 \r, carriage return, decimal 13 \v, vertical tab, decimal 11 non-breaking space, decimal 160 COMPRESS_WHITE_SPACE also replaces multiple spaces with one space. HTML_ENTITY_DECODE Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations: Replaces (ampersand)quot; with " Replaces (ampersand)nbsp; with a non-breaking space, decimal 160 Replaces (ampersand)lt; with a "less than" symbol Replaces (ampersand)gt; with > Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters LOWERCASE Use this option to convert uppercase letters (A-Z) to lowercase (a-z). URL_DECODE Use this option to decode a URL-encoded value. NONE Specify NONE if you don't want to perform any text transformations. - */ - TextTransformation: TextTransformation; - } - export type SqlInjectionMatchTuples = SqlInjectionMatchTuple[]; - export type TextTransformation = "NONE"|"COMPRESS_WHITE_SPACE"|"HTML_ENTITY_DECODE"|"LOWERCASE"|"CMD_LINE"|"URL_DECODE"|string; - export interface TimeWindow { - /** - * The beginning of the time range from which you want GetSampledRequests to return a sample of the requests that your AWS resource received. Specify the date and time in the following format: "2016-09-27T14:50Z". You can specify any time range in the previous three hours. - */ - StartTime: Timestamp; - /** - * The end of the time range from which you want GetSampledRequests to return a sample of the requests that your AWS resource received. Specify the date and time in the following format: "2016-09-27T14:50Z". You can specify any time range in the previous three hours. - */ - EndTime: Timestamp; - } - export type Timestamp = Date; - export type URIString = string; - export interface UpdateByteMatchSetRequest { - /** - * The ByteMatchSetId of the ByteMatchSet that you want to update. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. - */ - ByteMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of ByteMatchSetUpdate objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types: ByteMatchSetUpdate: Contains Action and ByteMatchTuple ByteMatchTuple: Contains FieldToMatch, PositionalConstraint, TargetString, and TextTransformation FieldToMatch: Contains Data and Type - */ - Updates: ByteMatchSetUpdates; - } - export interface UpdateByteMatchSetResponse { - /** - * The ChangeToken that you used to submit the UpdateByteMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateIPSetRequest { - /** - * The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets. - */ - IPSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types: IPSetUpdate: Contains Action and IPSetDescriptor IPSetDescriptor: Contains Type and Value - */ - Updates: IPSetUpdates; - } - export interface UpdateIPSetResponse { - /** - * The ChangeToken that you used to submit the UpdateIPSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateRateBasedRuleRequest { - /** - * The RuleId of the RateBasedRule that you want to update. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules. - */ - RuleId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of RuleUpdate objects that you want to insert into or delete from a RateBasedRule. - */ - Updates: RuleUpdates; - /** - * The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule. - */ - RateLimit: RateLimit; - } - export interface UpdateRateBasedRuleResponse { - /** - * The ChangeToken that you used to submit the UpdateRateBasedRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateRuleRequest { - /** - * The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules. - */ - RuleId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types: RuleUpdate: Contains Action and Predicate Predicate: Contains DataId, Negated, and Type FieldToMatch: Contains Data and Type - */ - Updates: RuleUpdates; - } - export interface UpdateRuleResponse { - /** - * The ChangeToken that you used to submit the UpdateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateSizeConstraintSetRequest { - /** - * The SizeConstraintSetId of the SizeConstraintSet that you want to update. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. - */ - SizeConstraintSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of SizeConstraintSetUpdate objects that you want to insert into or delete from a SizeConstraintSet. For more information, see the applicable data types: SizeConstraintSetUpdate: Contains Action and SizeConstraint SizeConstraint: Contains FieldToMatch, TextTransformation, ComparisonOperator, and Size FieldToMatch: Contains Data and Type - */ - Updates: SizeConstraintSetUpdates; - } - export interface UpdateSizeConstraintSetResponse { - /** - * The ChangeToken that you used to submit the UpdateSizeConstraintSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateSqlInjectionMatchSetRequest { - /** - * The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to update. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. - */ - SqlInjectionMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of SqlInjectionMatchSetUpdate objects that you want to insert into or delete from a SqlInjectionMatchSet. For more information, see the applicable data types: SqlInjectionMatchSetUpdate: Contains Action and SqlInjectionMatchTuple SqlInjectionMatchTuple: Contains FieldToMatch and TextTransformation FieldToMatch: Contains Data and Type - */ - Updates: SqlInjectionMatchSetUpdates; - } - export interface UpdateSqlInjectionMatchSetResponse { - /** - * The ChangeToken that you used to submit the UpdateSqlInjectionMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateWebACLRequest { - /** - * The WebACLId of the WebACL that you want to update. WebACLId is returned by CreateWebACL and by ListWebACLs. - */ - WebACLId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of updates to make to the WebACL. An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types: WebACLUpdate: Contains Action and ActivatedRule ActivatedRule: Contains Action, Priority, RuleId, and Type WafAction: Contains Type - */ - Updates?: WebACLUpdates; - /** - * A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL. - */ - DefaultAction?: WafAction; - } - export interface UpdateWebACLResponse { - /** - * The ChangeToken that you used to submit the UpdateWebACL request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface UpdateXssMatchSetRequest { - /** - * The XssMatchSetId of the XssMatchSet that you want to update. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. - */ - XssMatchSetId: ResourceId; - /** - * The value returned by the most recent call to GetChangeToken. - */ - ChangeToken: ChangeToken; - /** - * An array of XssMatchSetUpdate objects that you want to insert into or delete from a XssMatchSet. For more information, see the applicable data types: XssMatchSetUpdate: Contains Action and XssMatchTuple XssMatchTuple: Contains FieldToMatch and TextTransformation FieldToMatch: Contains Data and Type - */ - Updates: XssMatchSetUpdates; - } - export interface UpdateXssMatchSetResponse { - /** - * The ChangeToken that you used to submit the UpdateXssMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus. - */ - ChangeToken?: ChangeToken; - } - export interface WafAction { - /** - * Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following: ALLOW: AWS WAF allows requests BLOCK: AWS WAF blocks requests COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL. - */ - Type: WafActionType; - } - export type WafActionType = "BLOCK"|"ALLOW"|"COUNT"|string; - export type WafRuleType = "REGULAR"|"RATE_BASED"|string; - export interface WebACL { - /** - * A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL). WebACLId is returned by CreateWebACL and by ListWebACLs. - */ - WebACLId: ResourceId; - /** - * A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it. - */ - Name?: ResourceName; - /** - * A friendly name or description for the metrics for this WebACL. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change MetricName after you create the WebACL. - */ - MetricName?: MetricName; - /** - * The action to perform if none of the Rules contained in the WebACL match. The action is specified by the WafAction object. - */ - DefaultAction: WafAction; - /** - * An array that contains the action for each Rule in a WebACL, the priority of the Rule, and the ID of the Rule. - */ - Rules: ActivatedRules; - } - export type WebACLSummaries = WebACLSummary[]; - export interface WebACLSummary { - /** - * A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL). WebACLId is returned by CreateWebACL and by ListWebACLs. - */ - WebACLId: ResourceId; - /** - * A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it. - */ - Name: ResourceName; - } - export interface WebACLUpdate { - /** - * Specifies whether to insert a Rule into or delete a Rule from a WebACL. - */ - Action: ChangeAction; - /** - * The ActivatedRule object in an UpdateWebACL request specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT). - */ - ActivatedRule: ActivatedRule; - } - export type WebACLUpdates = WebACLUpdate[]; - export interface XssMatchSet { - /** - * A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about an XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet). XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. - */ - XssMatchSetId: ResourceId; - /** - * The name, if any, of the XssMatchSet. - */ - Name?: ResourceName; - /** - * Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. - */ - XssMatchTuples: XssMatchTuples; - } - export type XssMatchSetSummaries = XssMatchSetSummary[]; - export interface XssMatchSetSummary { - /** - * A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about a XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet). XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. - */ - XssMatchSetId: ResourceId; - /** - * The name of the XssMatchSet, if any, specified by Id. - */ - Name: ResourceName; - } - export interface XssMatchSetUpdate { - /** - * Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet. - */ - Action: ChangeAction; - /** - * Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header. - */ - XssMatchTuple: XssMatchTuple; - } - export type XssMatchSetUpdates = XssMatchSetUpdate[]; - export interface XssMatchTuple { - /** - * Specifies where in a web request to look for cross-site scripting attacks. - */ - FieldToMatch: FieldToMatch; - /** - * Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting a request for a match. CMD_LINE When you're concerned that attackers are injecting an operating system commandline command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations: Delete the following characters: \ " ' ^ Delete spaces before the following characters: / ( Replace the following characters with a space: , ; Replace multiple spaces with one space Convert uppercase letters (A-Z) to lowercase (a-z) COMPRESS_WHITE_SPACE Use this option to replace the following characters with a space character (decimal 32): \f, formfeed, decimal 12 \t, tab, decimal 9 \n, newline, decimal 10 \r, carriage return, decimal 13 \v, vertical tab, decimal 11 non-breaking space, decimal 160 COMPRESS_WHITE_SPACE also replaces multiple spaces with one space. HTML_ENTITY_DECODE Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations: Replaces (ampersand)quot; with " Replaces (ampersand)nbsp; with a non-breaking space, decimal 160 Replaces (ampersand)lt; with a "less than" symbol Replaces (ampersand)gt; with > Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters LOWERCASE Use this option to convert uppercase letters (A-Z) to lowercase (a-z). URL_DECODE Use this option to decode a URL-encoded value. NONE Specify NONE if you don't want to perform any text transformations. - */ - TextTransformation: TextTransformation; - } - export type XssMatchTuples = XssMatchTuple[]; - export type errorMessage = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-11-28"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the WAFRegional client. - */ - export import Types = WAFRegional; -} -export = WAFRegional; diff --git a/src/node_modules/aws-sdk/clients/wafregional.js b/src/node_modules/aws-sdk/clients/wafregional.js deleted file mode 100644 index 4bf1f23..0000000 --- a/src/node_modules/aws-sdk/clients/wafregional.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['wafregional'] = {}; -AWS.WAFRegional = Service.defineService('wafregional', ['2016-11-28']); -Object.defineProperty(apiLoader.services['wafregional'], '2016-11-28', { - get: function get() { - var model = require('../apis/waf-regional-2016-11-28.min.json'); - model.paginators = require('../apis/waf-regional-2016-11-28.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WAFRegional; diff --git a/src/node_modules/aws-sdk/clients/workdocs.d.ts b/src/node_modules/aws-sdk/clients/workdocs.d.ts deleted file mode 100644 index 8a2d9ff..0000000 --- a/src/node_modules/aws-sdk/clients/workdocs.d.ts +++ /dev/null @@ -1,1845 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class WorkDocs extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: WorkDocs.Types.ClientConfiguration) - config: Config & WorkDocs.Types.ClientConfiguration; - /** - * Aborts the upload of the specified document version that was previously initiated by InitiateDocumentVersionUpload. The client should make this call only when it no longer intends to upload the document version, or fails to do so. - */ - abortDocumentVersionUpload(params: WorkDocs.Types.AbortDocumentVersionUploadRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Aborts the upload of the specified document version that was previously initiated by InitiateDocumentVersionUpload. The client should make this call only when it no longer intends to upload the document version, or fails to do so. - */ - abortDocumentVersionUpload(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Activates the specified user. Only active users can access Amazon WorkDocs. - */ - activateUser(params: WorkDocs.Types.ActivateUserRequest, callback?: (err: AWSError, data: WorkDocs.Types.ActivateUserResponse) => void): Request; - /** - * Activates the specified user. Only active users can access Amazon WorkDocs. - */ - activateUser(callback?: (err: AWSError, data: WorkDocs.Types.ActivateUserResponse) => void): Request; - /** - * Creates a set of permissions for the specified folder or document. The resource permissions are overwritten if the principals already have different permissions. - */ - addResourcePermissions(params: WorkDocs.Types.AddResourcePermissionsRequest, callback?: (err: AWSError, data: WorkDocs.Types.AddResourcePermissionsResponse) => void): Request; - /** - * Creates a set of permissions for the specified folder or document. The resource permissions are overwritten if the principals already have different permissions. - */ - addResourcePermissions(callback?: (err: AWSError, data: WorkDocs.Types.AddResourcePermissionsResponse) => void): Request; - /** - * Adds a new comment to the specified document version. - */ - createComment(params: WorkDocs.Types.CreateCommentRequest, callback?: (err: AWSError, data: WorkDocs.Types.CreateCommentResponse) => void): Request; - /** - * Adds a new comment to the specified document version. - */ - createComment(callback?: (err: AWSError, data: WorkDocs.Types.CreateCommentResponse) => void): Request; - /** - * Adds one or more custom properties to the specified resource (a folder, document, or version). - */ - createCustomMetadata(params: WorkDocs.Types.CreateCustomMetadataRequest, callback?: (err: AWSError, data: WorkDocs.Types.CreateCustomMetadataResponse) => void): Request; - /** - * Adds one or more custom properties to the specified resource (a folder, document, or version). - */ - createCustomMetadata(callback?: (err: AWSError, data: WorkDocs.Types.CreateCustomMetadataResponse) => void): Request; - /** - * Creates a folder with the specified name and parent folder. - */ - createFolder(params: WorkDocs.Types.CreateFolderRequest, callback?: (err: AWSError, data: WorkDocs.Types.CreateFolderResponse) => void): Request; - /** - * Creates a folder with the specified name and parent folder. - */ - createFolder(callback?: (err: AWSError, data: WorkDocs.Types.CreateFolderResponse) => void): Request; - /** - * Adds the specified list of labels to the given resource (a document or folder) - */ - createLabels(params: WorkDocs.Types.CreateLabelsRequest, callback?: (err: AWSError, data: WorkDocs.Types.CreateLabelsResponse) => void): Request; - /** - * Adds the specified list of labels to the given resource (a document or folder) - */ - createLabels(callback?: (err: AWSError, data: WorkDocs.Types.CreateLabelsResponse) => void): Request; - /** - * Configure WorkDocs to use Amazon SNS notifications. The endpoint receives a confirmation message, and must confirm the subscription. For more information, see Confirm the Subscription in the Amazon Simple Notification Service Developer Guide. - */ - createNotificationSubscription(params: WorkDocs.Types.CreateNotificationSubscriptionRequest, callback?: (err: AWSError, data: WorkDocs.Types.CreateNotificationSubscriptionResponse) => void): Request; - /** - * Configure WorkDocs to use Amazon SNS notifications. The endpoint receives a confirmation message, and must confirm the subscription. For more information, see Confirm the Subscription in the Amazon Simple Notification Service Developer Guide. - */ - createNotificationSubscription(callback?: (err: AWSError, data: WorkDocs.Types.CreateNotificationSubscriptionResponse) => void): Request; - /** - * Creates a user in a Simple AD or Microsoft AD directory. The status of a newly created user is "ACTIVE". New users can access Amazon WorkDocs. - */ - createUser(params: WorkDocs.Types.CreateUserRequest, callback?: (err: AWSError, data: WorkDocs.Types.CreateUserResponse) => void): Request; - /** - * Creates a user in a Simple AD or Microsoft AD directory. The status of a newly created user is "ACTIVE". New users can access Amazon WorkDocs. - */ - createUser(callback?: (err: AWSError, data: WorkDocs.Types.CreateUserResponse) => void): Request; - /** - * Deactivates the specified user, which revokes the user's access to Amazon WorkDocs. - */ - deactivateUser(params: WorkDocs.Types.DeactivateUserRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deactivates the specified user, which revokes the user's access to Amazon WorkDocs. - */ - deactivateUser(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified comment from the document version. - */ - deleteComment(params: WorkDocs.Types.DeleteCommentRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified comment from the document version. - */ - deleteComment(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes custom metadata from the specified resource. - */ - deleteCustomMetadata(params: WorkDocs.Types.DeleteCustomMetadataRequest, callback?: (err: AWSError, data: WorkDocs.Types.DeleteCustomMetadataResponse) => void): Request; - /** - * Deletes custom metadata from the specified resource. - */ - deleteCustomMetadata(callback?: (err: AWSError, data: WorkDocs.Types.DeleteCustomMetadataResponse) => void): Request; - /** - * Permanently deletes the specified document and its associated metadata. - */ - deleteDocument(params: WorkDocs.Types.DeleteDocumentRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Permanently deletes the specified document and its associated metadata. - */ - deleteDocument(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Permanently deletes the specified folder and its contents. - */ - deleteFolder(params: WorkDocs.Types.DeleteFolderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Permanently deletes the specified folder and its contents. - */ - deleteFolder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the contents of the specified folder. - */ - deleteFolderContents(params: WorkDocs.Types.DeleteFolderContentsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the contents of the specified folder. - */ - deleteFolderContents(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified list of labels from a resource. - */ - deleteLabels(params: WorkDocs.Types.DeleteLabelsRequest, callback?: (err: AWSError, data: WorkDocs.Types.DeleteLabelsResponse) => void): Request; - /** - * Deletes the specified list of labels from a resource. - */ - deleteLabels(callback?: (err: AWSError, data: WorkDocs.Types.DeleteLabelsResponse) => void): Request; - /** - * Deletes the specified subscription from the specified organization. - */ - deleteNotificationSubscription(params: WorkDocs.Types.DeleteNotificationSubscriptionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified subscription from the specified organization. - */ - deleteNotificationSubscription(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified user from a Simple AD or Microsoft AD directory. - */ - deleteUser(params: WorkDocs.Types.DeleteUserRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Deletes the specified user from a Simple AD or Microsoft AD directory. - */ - deleteUser(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Describes the user activities in a specified time period. - */ - describeActivities(params: WorkDocs.Types.DescribeActivitiesRequest, callback?: (err: AWSError, data: WorkDocs.Types.DescribeActivitiesResponse) => void): Request; - /** - * Describes the user activities in a specified time period. - */ - describeActivities(callback?: (err: AWSError, data: WorkDocs.Types.DescribeActivitiesResponse) => void): Request; - /** - * List all the comments for the specified document version. - */ - describeComments(params: WorkDocs.Types.DescribeCommentsRequest, callback?: (err: AWSError, data: WorkDocs.Types.DescribeCommentsResponse) => void): Request; - /** - * List all the comments for the specified document version. - */ - describeComments(callback?: (err: AWSError, data: WorkDocs.Types.DescribeCommentsResponse) => void): Request; - /** - * Retrieves the document versions for the specified document. By default, only active versions are returned. - */ - describeDocumentVersions(params: WorkDocs.Types.DescribeDocumentVersionsRequest, callback?: (err: AWSError, data: WorkDocs.Types.DescribeDocumentVersionsResponse) => void): Request; - /** - * Retrieves the document versions for the specified document. By default, only active versions are returned. - */ - describeDocumentVersions(callback?: (err: AWSError, data: WorkDocs.Types.DescribeDocumentVersionsResponse) => void): Request; - /** - * Describes the contents of the specified folder, including its documents and subfolders. By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents. - */ - describeFolderContents(params: WorkDocs.Types.DescribeFolderContentsRequest, callback?: (err: AWSError, data: WorkDocs.Types.DescribeFolderContentsResponse) => void): Request; - /** - * Describes the contents of the specified folder, including its documents and subfolders. By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents. - */ - describeFolderContents(callback?: (err: AWSError, data: WorkDocs.Types.DescribeFolderContentsResponse) => void): Request; - /** - * Lists the specified notification subscriptions. - */ - describeNotificationSubscriptions(params: WorkDocs.Types.DescribeNotificationSubscriptionsRequest, callback?: (err: AWSError, data: WorkDocs.Types.DescribeNotificationSubscriptionsResponse) => void): Request; - /** - * Lists the specified notification subscriptions. - */ - describeNotificationSubscriptions(callback?: (err: AWSError, data: WorkDocs.Types.DescribeNotificationSubscriptionsResponse) => void): Request; - /** - * Describes the permissions of a specified resource. - */ - describeResourcePermissions(params: WorkDocs.Types.DescribeResourcePermissionsRequest, callback?: (err: AWSError, data: WorkDocs.Types.DescribeResourcePermissionsResponse) => void): Request; - /** - * Describes the permissions of a specified resource. - */ - describeResourcePermissions(callback?: (err: AWSError, data: WorkDocs.Types.DescribeResourcePermissionsResponse) => void): Request; - /** - * Describes the current user's special folders; the RootFolder and the RecyleBin. RootFolder is the root of user's files and folders and RecyleBin is the root of recycled items. This is not a valid action for SigV4 (administrative API) clients. - */ - describeRootFolders(params: WorkDocs.Types.DescribeRootFoldersRequest, callback?: (err: AWSError, data: WorkDocs.Types.DescribeRootFoldersResponse) => void): Request; - /** - * Describes the current user's special folders; the RootFolder and the RecyleBin. RootFolder is the root of user's files and folders and RecyleBin is the root of recycled items. This is not a valid action for SigV4 (administrative API) clients. - */ - describeRootFolders(callback?: (err: AWSError, data: WorkDocs.Types.DescribeRootFoldersResponse) => void): Request; - /** - * Describes the specified users. You can describe all users or filter the results (for example, by status or organization). By default, Amazon WorkDocs returns the first 24 active or pending users. If there are more results, the response includes a marker that you can use to request the next set of results. - */ - describeUsers(params: WorkDocs.Types.DescribeUsersRequest, callback?: (err: AWSError, data: WorkDocs.Types.DescribeUsersResponse) => void): Request; - /** - * Describes the specified users. You can describe all users or filter the results (for example, by status or organization). By default, Amazon WorkDocs returns the first 24 active or pending users. If there are more results, the response includes a marker that you can use to request the next set of results. - */ - describeUsers(callback?: (err: AWSError, data: WorkDocs.Types.DescribeUsersResponse) => void): Request; - /** - * Retrieves details of the current user for whom the authentication token was generated. This is not a valid action for SigV4 (administrative API) clients. - */ - getCurrentUser(params: WorkDocs.Types.GetCurrentUserRequest, callback?: (err: AWSError, data: WorkDocs.Types.GetCurrentUserResponse) => void): Request; - /** - * Retrieves details of the current user for whom the authentication token was generated. This is not a valid action for SigV4 (administrative API) clients. - */ - getCurrentUser(callback?: (err: AWSError, data: WorkDocs.Types.GetCurrentUserResponse) => void): Request; - /** - * Retrieves details of a document. - */ - getDocument(params: WorkDocs.Types.GetDocumentRequest, callback?: (err: AWSError, data: WorkDocs.Types.GetDocumentResponse) => void): Request; - /** - * Retrieves details of a document. - */ - getDocument(callback?: (err: AWSError, data: WorkDocs.Types.GetDocumentResponse) => void): Request; - /** - * Retrieves the path information (the hierarchy from the root folder) for the requested document. By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested document and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the names of the parent folders. - */ - getDocumentPath(params: WorkDocs.Types.GetDocumentPathRequest, callback?: (err: AWSError, data: WorkDocs.Types.GetDocumentPathResponse) => void): Request; - /** - * Retrieves the path information (the hierarchy from the root folder) for the requested document. By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested document and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the names of the parent folders. - */ - getDocumentPath(callback?: (err: AWSError, data: WorkDocs.Types.GetDocumentPathResponse) => void): Request; - /** - * Retrieves version metadata for the specified document. - */ - getDocumentVersion(params: WorkDocs.Types.GetDocumentVersionRequest, callback?: (err: AWSError, data: WorkDocs.Types.GetDocumentVersionResponse) => void): Request; - /** - * Retrieves version metadata for the specified document. - */ - getDocumentVersion(callback?: (err: AWSError, data: WorkDocs.Types.GetDocumentVersionResponse) => void): Request; - /** - * Retrieves the metadata of the specified folder. - */ - getFolder(params: WorkDocs.Types.GetFolderRequest, callback?: (err: AWSError, data: WorkDocs.Types.GetFolderResponse) => void): Request; - /** - * Retrieves the metadata of the specified folder. - */ - getFolder(callback?: (err: AWSError, data: WorkDocs.Types.GetFolderResponse) => void): Request; - /** - * Retrieves the path information (the hierarchy from the root folder) for the specified folder. By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested folder and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the parent folder names. - */ - getFolderPath(params: WorkDocs.Types.GetFolderPathRequest, callback?: (err: AWSError, data: WorkDocs.Types.GetFolderPathResponse) => void): Request; - /** - * Retrieves the path information (the hierarchy from the root folder) for the specified folder. By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested folder and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the parent folder names. - */ - getFolderPath(callback?: (err: AWSError, data: WorkDocs.Types.GetFolderPathResponse) => void): Request; - /** - * Creates a new document object and version object. The client specifies the parent folder ID and name of the document to upload. The ID is optionally specified when creating a new version of an existing document. This is the first step to upload a document. Next, upload the document to the URL returned from the call, and then call UpdateDocumentVersion. To cancel the document upload, call AbortDocumentVersionUpload. - */ - initiateDocumentVersionUpload(params: WorkDocs.Types.InitiateDocumentVersionUploadRequest, callback?: (err: AWSError, data: WorkDocs.Types.InitiateDocumentVersionUploadResponse) => void): Request; - /** - * Creates a new document object and version object. The client specifies the parent folder ID and name of the document to upload. The ID is optionally specified when creating a new version of an existing document. This is the first step to upload a document. Next, upload the document to the URL returned from the call, and then call UpdateDocumentVersion. To cancel the document upload, call AbortDocumentVersionUpload. - */ - initiateDocumentVersionUpload(callback?: (err: AWSError, data: WorkDocs.Types.InitiateDocumentVersionUploadResponse) => void): Request; - /** - * Removes all the permissions from the specified resource. - */ - removeAllResourcePermissions(params: WorkDocs.Types.RemoveAllResourcePermissionsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes all the permissions from the specified resource. - */ - removeAllResourcePermissions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the permission for the specified principal from the specified resource. - */ - removeResourcePermission(params: WorkDocs.Types.RemoveResourcePermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Removes the permission for the specified principal from the specified resource. - */ - removeResourcePermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the specified attributes of a document. The user must have access to both the document and its parent folder, if applicable. - */ - updateDocument(params: WorkDocs.Types.UpdateDocumentRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the specified attributes of a document. The user must have access to both the document and its parent folder, if applicable. - */ - updateDocument(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the status of the document version to ACTIVE. Amazon WorkDocs also sets its document container to ACTIVE. This is the last step in a document upload, after the client uploads the document to an S3-presigned URL returned by InitiateDocumentVersionUpload. - */ - updateDocumentVersion(params: WorkDocs.Types.UpdateDocumentVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Changes the status of the document version to ACTIVE. Amazon WorkDocs also sets its document container to ACTIVE. This is the last step in a document upload, after the client uploads the document to an S3-presigned URL returned by InitiateDocumentVersionUpload. - */ - updateDocumentVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the specified attributes of the specified folder. The user must have access to both the folder and its parent folder, if applicable. - */ - updateFolder(params: WorkDocs.Types.UpdateFolderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the specified attributes of the specified folder. The user must have access to both the folder and its parent folder, if applicable. - */ - updateFolder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; - /** - * Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site. - */ - updateUser(params: WorkDocs.Types.UpdateUserRequest, callback?: (err: AWSError, data: WorkDocs.Types.UpdateUserResponse) => void): Request; - /** - * Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site. - */ - updateUser(callback?: (err: AWSError, data: WorkDocs.Types.UpdateUserResponse) => void): Request; -} -declare namespace WorkDocs { - export interface AbortDocumentVersionUploadRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: ResourceIdType; - /** - * The ID of the version. - */ - VersionId: DocumentVersionIdType; - } - export interface ActivateUserRequest { - /** - * The ID of the user. - */ - UserId: IdType; - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - } - export interface ActivateUserResponse { - /** - * The user information. - */ - User?: User; - } - export interface Activity { - /** - * The activity type. - */ - Type?: ActivityType; - /** - * The timestamp when the action was performed. - */ - TimeStamp?: TimestampType; - /** - * The ID of the organization. - */ - OrganizationId?: IdType; - /** - * The user who performed the action. - */ - Initiator?: UserMetadata; - /** - * The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED. - */ - Participants?: Participants; - /** - * The metadata of the resource involved in the user action. - */ - ResourceMetadata?: ResourceMetadata; - /** - * The original parent of the resource. This is an optional field and is filled for move activities. - */ - OriginalParent?: ResourceMetadata; - /** - * Metadata of the commenting activity. This is an optional field and is filled for commenting activities. - */ - CommentMetadata?: CommentMetadata; - } - export type ActivityType = "DOCUMENT_CHECKED_IN"|"DOCUMENT_CHECKED_OUT"|"DOCUMENT_RENAMED"|"DOCUMENT_VERSION_UPLOADED"|"DOCUMENT_VERSION_DELETED"|"DOCUMENT_RECYCLED"|"DOCUMENT_RESTORED"|"DOCUMENT_REVERTED"|"DOCUMENT_SHARED"|"DOCUMENT_UNSHARED"|"DOCUMENT_SHARE_PERMISSION_CHANGED"|"DOCUMENT_SHAREABLE_LINK_CREATED"|"DOCUMENT_SHAREABLE_LINK_REMOVED"|"DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED"|"DOCUMENT_MOVED"|"DOCUMENT_COMMENT_ADDED"|"DOCUMENT_COMMENT_DELETED"|"DOCUMENT_ANNOTATION_ADDED"|"DOCUMENT_ANNOTATION_DELETED"|"FOLDER_CREATED"|"FOLDER_DELETED"|"FOLDER_RENAMED"|"FOLDER_RECYCLED"|"FOLDER_RESTORED"|"FOLDER_SHARED"|"FOLDER_UNSHARED"|"FOLDER_SHARE_PERMISSION_CHANGED"|"FOLDER_SHAREABLE_LINK_CREATED"|"FOLDER_SHAREABLE_LINK_REMOVED"|"FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED"|"FOLDER_MOVED"|string; - export interface AddResourcePermissionsRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the resource. - */ - ResourceId: ResourceIdType; - /** - * The users, groups, or organization being granted permission. - */ - Principals: SharePrincipalList; - } - export interface AddResourcePermissionsResponse { - /** - * The share results. - */ - ShareResults?: ShareResultsList; - } - export type AuthenticationHeaderType = string; - export type BooleanType = boolean; - export interface Comment { - /** - * The ID of the comment. - */ - CommentId: CommentIdType; - /** - * The ID of the parent comment. - */ - ParentId?: CommentIdType; - /** - * The ID of the root comment in the thread. - */ - ThreadId?: CommentIdType; - /** - * The text of the comment. - */ - Text?: CommentTextType; - /** - * The details of the user who made the comment. - */ - Contributor?: User; - /** - * The time that the comment was created. - */ - CreatedTimestamp?: TimestampType; - /** - * The status of the comment. - */ - Status?: CommentStatusType; - /** - * The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors. - */ - Visibility?: CommentVisibilityType; - /** - * If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to. - */ - RecipientId?: IdType; - } - export type CommentIdType = string; - export type CommentList = Comment[]; - export interface CommentMetadata { - /** - * The ID of the comment. - */ - CommentId?: CommentIdType; - /** - * The user who made the comment. - */ - Contributor?: User; - CreatedTimestamp?: TimestampType; - CommentStatus?: CommentStatusType; - /** - * The ID of the user being replied to. - */ - RecipientId?: IdType; - } - export type CommentStatusType = "DRAFT"|"PUBLISHED"|"DELETED"|string; - export type CommentTextType = string; - export type CommentVisibilityType = "PUBLIC"|"PRIVATE"|string; - export interface CreateCommentRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: ResourceIdType; - /** - * The ID of the document version. - */ - VersionId: DocumentVersionIdType; - /** - * The ID of the parent comment. - */ - ParentId?: CommentIdType; - /** - * The ID of the root comment in the thread. - */ - ThreadId?: CommentIdType; - /** - * The text of the comment. - */ - Text: CommentTextType; - /** - * The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors. - */ - Visibility?: CommentVisibilityType; - /** - * Set this parameter to TRUE to send an email out to the document collaborators after the comment is created. - */ - NotifyCollaborators?: BooleanType; - } - export interface CreateCommentResponse { - /** - * The comment that has been created. - */ - Comment?: Comment; - } - export interface CreateCustomMetadataRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the resource. - */ - ResourceId: ResourceIdType; - /** - * The ID of the version, if the custom metadata is being added to a document version. - */ - VersionId?: DocumentVersionIdType; - /** - * Custom metadata in the form of name-value pairs. - */ - CustomMetadata: CustomMetadataMap; - } - export interface CreateCustomMetadataResponse { - } - export interface CreateFolderRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The name of the new folder. - */ - Name?: ResourceNameType; - /** - * The ID of the parent folder. - */ - ParentFolderId: ResourceIdType; - } - export interface CreateFolderResponse { - /** - * The metadata of the folder. - */ - Metadata?: FolderMetadata; - } - export interface CreateLabelsRequest { - /** - * The ID of the resource. - */ - ResourceId: ResourceIdType; - /** - * List of labels to add to the resource. - */ - Labels: Labels; - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - } - export interface CreateLabelsResponse { - } - export interface CreateNotificationSubscriptionRequest { - /** - * The ID of the organization. - */ - OrganizationId: IdType; - /** - * The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with "https://". - */ - Endpoint: SubscriptionEndPointType; - /** - * The protocol to use. The supported value is https, which delivers JSON-encoded messasges using HTTPS POST. - */ - Protocol: SubscriptionProtocolType; - /** - * The notification type. - */ - SubscriptionType: SubscriptionType; - } - export interface CreateNotificationSubscriptionResponse { - /** - * The subscription. - */ - Subscription?: Subscription; - } - export interface CreateUserRequest { - /** - * The ID of the organization. - */ - OrganizationId?: IdType; - /** - * The login name of the user. - */ - Username: UsernameType; - /** - * The email address of the user. - */ - EmailAddress?: EmailAddressType; - /** - * The given name of the user. - */ - GivenName: UserAttributeValueType; - /** - * The surname of the user. - */ - Surname: UserAttributeValueType; - /** - * The password of the user. - */ - Password: PasswordType; - /** - * The time zone ID of the user. - */ - TimeZoneId?: TimeZoneIdType; - /** - * The amount of storage for the user. - */ - StorageRule?: StorageRuleType; - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - } - export interface CreateUserResponse { - /** - * The user information. - */ - User?: User; - } - export type CustomMetadataKeyList = CustomMetadataKeyType[]; - export type CustomMetadataKeyType = string; - export type CustomMetadataMap = {[key: string]: CustomMetadataValueType}; - export type CustomMetadataValueType = string; - export interface DeactivateUserRequest { - /** - * The ID of the user. - */ - UserId: IdType; - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - } - export interface DeleteCommentRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: ResourceIdType; - /** - * The ID of the document version. - */ - VersionId: DocumentVersionIdType; - /** - * The ID of the comment. - */ - CommentId: CommentIdType; - } - export interface DeleteCustomMetadataRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the resource, either a document or folder. - */ - ResourceId: ResourceIdType; - /** - * The ID of the version, if the custom metadata is being deleted from a document version. - */ - VersionId?: DocumentVersionIdType; - /** - * List of properties to remove. - */ - Keys?: CustomMetadataKeyList; - /** - * Flag to indicate removal of all custom metadata properties from the specified resource. - */ - DeleteAll?: BooleanType; - } - export interface DeleteCustomMetadataResponse { - } - export interface DeleteDocumentRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: ResourceIdType; - } - export interface DeleteFolderContentsRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the folder. - */ - FolderId: ResourceIdType; - } - export interface DeleteFolderRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the folder. - */ - FolderId: ResourceIdType; - } - export interface DeleteLabelsRequest { - /** - * The ID of the resource. - */ - ResourceId: ResourceIdType; - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * List of labels to delete from the resource. - */ - Labels?: Labels; - /** - * Flag to request removal of all labels from the specified resource. - */ - DeleteAll?: BooleanType; - } - export interface DeleteLabelsResponse { - } - export interface DeleteNotificationSubscriptionRequest { - /** - * The ID of the subscription. - */ - SubscriptionId: IdType; - /** - * The ID of the organization. - */ - OrganizationId: IdType; - } - export interface DeleteUserRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the user. - */ - UserId: IdType; - } - export interface DescribeActivitiesRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The timestamp that determines the starting time of the activities; the response includes the activities performed after the specified timestamp. - */ - StartTime?: TimestampType; - /** - * The timestamp that determines the end time of the activities; the response includes the activities performed before the specified timestamp. - */ - EndTime?: TimestampType; - /** - * The ID of the organization. This is a mandatory parameter when using administrative API (SigV4) requests. - */ - OrganizationId?: IdType; - /** - * The ID of the user who performed the action. The response includes activities pertaining to this user. This is an optional parameter and is only applicable for administrative API (SigV4) requests. - */ - UserId?: IdType; - /** - * The maximum number of items to return. - */ - Limit?: LimitType; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: MarkerType; - } - export interface DescribeActivitiesResponse { - /** - * The list of activities for the specified user and time period. - */ - UserActivities?: UserActivities; - /** - * The marker for the next set of results. - */ - Marker?: MarkerType; - } - export interface DescribeCommentsRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: ResourceIdType; - /** - * The ID of the document version. - */ - VersionId: DocumentVersionIdType; - /** - * The maximum number of items to return. - */ - Limit?: LimitType; - /** - * The marker for the next set of results. This marker was received from a previous call. - */ - Marker?: MarkerType; - } - export interface DescribeCommentsResponse { - /** - * The list of comments for the specified document version. - */ - Comments?: CommentList; - /** - * The marker for the next set of results. This marker was received from a previous call. - */ - Marker?: MarkerType; - } - export interface DescribeDocumentVersionsRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: ResourceIdType; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: PageMarkerType; - /** - * The maximum number of versions to return with this call. - */ - Limit?: LimitType; - /** - * A comma-separated list of values. Specify "INITIALIZED" to include incomplete versions. - */ - Include?: FieldNamesType; - /** - * Specify "SOURCE" to include initialized versions and a URL for the source document. - */ - Fields?: FieldNamesType; - } - export interface DescribeDocumentVersionsResponse { - /** - * The document versions. - */ - DocumentVersions?: DocumentVersionMetadataList; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - Marker?: PageMarkerType; - } - export interface DescribeFolderContentsRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the folder. - */ - FolderId: ResourceIdType; - /** - * The sorting criteria. - */ - Sort?: ResourceSortType; - /** - * The order for the contents of the folder. - */ - Order?: OrderType; - /** - * The maximum number of items to return with this call. - */ - Limit?: LimitType; - /** - * The marker for the next set of results. This marker was received from a previous call. - */ - Marker?: PageMarkerType; - /** - * The type of items. - */ - Type?: FolderContentType; - /** - * The contents to include. Specify "INITIALIZED" to include initialized documents. - */ - Include?: FieldNamesType; - } - export interface DescribeFolderContentsResponse { - /** - * The subfolders in the specified folder. - */ - Folders?: FolderMetadataList; - /** - * The documents in the specified folder. - */ - Documents?: DocumentMetadataList; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - Marker?: PageMarkerType; - } - export interface DescribeNotificationSubscriptionsRequest { - /** - * The ID of the organization. - */ - OrganizationId: IdType; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: PageMarkerType; - /** - * The maximum number of items to return with this call. - */ - Limit?: LimitType; - } - export interface DescribeNotificationSubscriptionsResponse { - /** - * The subscriptions. - */ - Subscriptions?: SubscriptionList; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - Marker?: PageMarkerType; - } - export interface DescribeResourcePermissionsRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the resource. - */ - ResourceId: ResourceIdType; - /** - * The maximum number of items to return with this call. - */ - Limit?: LimitType; - /** - * The marker for the next set of results. (You received this marker from a previous call) - */ - Marker?: PageMarkerType; - } - export interface DescribeResourcePermissionsResponse { - /** - * The principals. - */ - Principals?: PrincipalList; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - Marker?: PageMarkerType; - } - export interface DescribeRootFoldersRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken: AuthenticationHeaderType; - /** - * The maximum number of items to return. - */ - Limit?: LimitType; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: PageMarkerType; - } - export interface DescribeRootFoldersResponse { - /** - * The user's special folders. - */ - Folders?: FolderMetadataList; - /** - * The marker for the next set of results. - */ - Marker?: PageMarkerType; - } - export interface DescribeUsersRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the organization. - */ - OrganizationId?: IdType; - /** - * The IDs of the users. - */ - UserIds?: UserIdsType; - /** - * A query to filter users by user name. - */ - Query?: SearchQueryType; - /** - * The state of the users. Specify "ALL" to include inactive users. - */ - Include?: UserFilterType; - /** - * The order for the results. - */ - Order?: OrderType; - /** - * The sorting criteria. - */ - Sort?: UserSortType; - /** - * The marker for the next set of results. (You received this marker from a previous call.) - */ - Marker?: PageMarkerType; - /** - * The maximum number of items to return. - */ - Limit?: LimitType; - /** - * A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information. - */ - Fields?: FieldNamesType; - } - export interface DescribeUsersResponse { - /** - * The users. - */ - Users?: OrganizationUserList; - /** - * The total number of users included in the results. - */ - TotalNumberOfUsers?: SizeType; - /** - * The marker to use when requesting the next set of results. If there are no additional results, the string is empty. - */ - Marker?: PageMarkerType; - } - export type DocumentContentType = string; - export interface DocumentMetadata { - /** - * The ID of the document. - */ - Id?: ResourceIdType; - /** - * The ID of the creator. - */ - CreatorId?: IdType; - /** - * The ID of the parent folder. - */ - ParentFolderId?: ResourceIdType; - /** - * The time when the document was created. - */ - CreatedTimestamp?: TimestampType; - /** - * The time when the document was updated. - */ - ModifiedTimestamp?: TimestampType; - /** - * The latest version of the document. - */ - LatestVersionMetadata?: DocumentVersionMetadata; - /** - * The resource state. - */ - ResourceState?: ResourceStateType; - /** - * List of labels on the document. - */ - Labels?: Labels; - } - export type DocumentMetadataList = DocumentMetadata[]; - export type DocumentSourceType = "ORIGINAL"|"WITH_COMMENTS"|string; - export type DocumentSourceUrlMap = {[key: string]: UrlType}; - export type DocumentStatusType = "INITIALIZED"|"ACTIVE"|string; - export type DocumentThumbnailType = "SMALL"|"SMALL_HQ"|"LARGE"|string; - export type DocumentThumbnailUrlMap = {[key: string]: UrlType}; - export type DocumentVersionIdType = string; - export interface DocumentVersionMetadata { - /** - * The ID of the version. - */ - Id?: DocumentVersionIdType; - /** - * The name of the version. - */ - Name?: ResourceNameType; - /** - * The content type of the document. - */ - ContentType?: DocumentContentType; - /** - * The size of the document, in bytes. - */ - Size?: SizeType; - /** - * The signature of the document. - */ - Signature?: HashType; - /** - * The status of the document. - */ - Status?: DocumentStatusType; - /** - * The time stamp when the document was first uploaded. - */ - CreatedTimestamp?: TimestampType; - /** - * The time stamp when the document was last uploaded. - */ - ModifiedTimestamp?: TimestampType; - /** - * The time stamp when the content of the document was originally created. - */ - ContentCreatedTimestamp?: TimestampType; - /** - * The time stamp when the content of the document was modified. - */ - ContentModifiedTimestamp?: TimestampType; - /** - * The ID of the creator. - */ - CreatorId?: IdType; - /** - * The thumbnail of the document. - */ - Thumbnail?: DocumentThumbnailUrlMap; - /** - * The source of the document. - */ - Source?: DocumentSourceUrlMap; - } - export type DocumentVersionMetadataList = DocumentVersionMetadata[]; - export type DocumentVersionStatus = "ACTIVE"|string; - export type EmailAddressType = string; - export type EntityIdList = IdType[]; - export type ErrorMessageType = string; - export type FieldNamesType = string; - export type FolderContentType = "ALL"|"DOCUMENT"|"FOLDER"|string; - export interface FolderMetadata { - /** - * The ID of the folder. - */ - Id?: ResourceIdType; - /** - * The name of the folder. - */ - Name?: ResourceNameType; - /** - * The ID of the creator. - */ - CreatorId?: IdType; - /** - * The ID of the parent folder. - */ - ParentFolderId?: ResourceIdType; - /** - * The time when the folder was created. - */ - CreatedTimestamp?: TimestampType; - /** - * The time when the folder was updated. - */ - ModifiedTimestamp?: TimestampType; - /** - * The resource state of the folder. - */ - ResourceState?: ResourceStateType; - /** - * The unique identifier created from the subfolders and documents of the folder. - */ - Signature?: HashType; - /** - * List of labels on the folder. - */ - Labels?: Labels; - /** - * The size of the folder metadata. - */ - Size?: SizeType; - /** - * The size of the latest version of the folder metadata. - */ - LatestVersionSize?: SizeType; - } - export type FolderMetadataList = FolderMetadata[]; - export interface GetCurrentUserRequest { - /** - * Amazon WorkDocs authentication token. - */ - AuthenticationToken: AuthenticationHeaderType; - } - export interface GetCurrentUserResponse { - /** - * Metadata of the user. - */ - User?: User; - } - export interface GetDocumentPathRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: IdType; - /** - * The maximum number of levels in the hierarchy to return. - */ - Limit?: LimitType; - /** - * A comma-separated list of values. Specify NAME to include the names of the parent folders. - */ - Fields?: FieldNamesType; - /** - * This value is not supported. - */ - Marker?: PageMarkerType; - } - export interface GetDocumentPathResponse { - /** - * The path information. - */ - Path?: ResourcePath; - } - export interface GetDocumentRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: ResourceIdType; - /** - * Set this to TRUE to include custom metadata in the response. - */ - IncludeCustomMetadata?: BooleanType; - } - export interface GetDocumentResponse { - /** - * The metadata details of the document. - */ - Metadata?: DocumentMetadata; - /** - * The custom metadata on the document. - */ - CustomMetadata?: CustomMetadataMap; - } - export interface GetDocumentVersionRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: ResourceIdType; - /** - * The version ID of the document. - */ - VersionId: DocumentVersionIdType; - /** - * A comma-separated list of values. Specify "SOURCE" to include a URL for the source document. - */ - Fields?: FieldNamesType; - /** - * Set this to TRUE to include custom metadata in the response. - */ - IncludeCustomMetadata?: BooleanType; - } - export interface GetDocumentVersionResponse { - /** - * The version metadata. - */ - Metadata?: DocumentVersionMetadata; - /** - * The custom metadata on the document version. - */ - CustomMetadata?: CustomMetadataMap; - } - export interface GetFolderPathRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the folder. - */ - FolderId: IdType; - /** - * The maximum number of levels in the hierarchy to return. - */ - Limit?: LimitType; - /** - * A comma-separated list of values. Specify "NAME" to include the names of the parent folders. - */ - Fields?: FieldNamesType; - /** - * This value is not supported. - */ - Marker?: PageMarkerType; - } - export interface GetFolderPathResponse { - /** - * The path information. - */ - Path?: ResourcePath; - } - export interface GetFolderRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the folder. - */ - FolderId: ResourceIdType; - /** - * Set to TRUE to include custom metadata in the response. - */ - IncludeCustomMetadata?: BooleanType; - } - export interface GetFolderResponse { - /** - * The metadata of the folder. - */ - Metadata?: FolderMetadata; - /** - * The custom metadata on the folder. - */ - CustomMetadata?: CustomMetadataMap; - } - export interface GroupMetadata { - /** - * The ID of the user group. - */ - Id?: IdType; - /** - * The name of the group. - */ - Name?: GroupNameType; - } - export type GroupMetadataList = GroupMetadata[]; - export type GroupNameType = string; - export type HashType = string; - export type HeaderNameType = string; - export type HeaderValueType = string; - export type IdType = string; - export interface InitiateDocumentVersionUploadRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - Id?: ResourceIdType; - /** - * The name of the document. - */ - Name?: ResourceNameType; - /** - * The time stamp when the content of the document was originally created. - */ - ContentCreatedTimestamp?: TimestampType; - /** - * The time stamp when the content of the document was modified. - */ - ContentModifiedTimestamp?: TimestampType; - /** - * The content type of the document. - */ - ContentType?: DocumentContentType; - /** - * The size of the document, in bytes. - */ - DocumentSizeInBytes?: SizeType; - /** - * The ID of the parent folder. - */ - ParentFolderId: ResourceIdType; - } - export interface InitiateDocumentVersionUploadResponse { - /** - * The document metadata. - */ - Metadata?: DocumentMetadata; - /** - * The upload metadata. - */ - UploadMetadata?: UploadMetadata; - } - export type Label = string; - export type Labels = Label[]; - export type LimitType = number; - export type LocaleType = "en"|"fr"|"ko"|"de"|"es"|"ja"|"ru"|"zh_CN"|"zh_TW"|"pt_BR"|"default"|string; - export type MarkerType = string; - export type MessageType = string; - export type OrderType = "ASCENDING"|"DESCENDING"|string; - export type OrganizationUserList = User[]; - export type PageMarkerType = string; - export interface Participants { - /** - * The list of users. - */ - Users?: UserMetadataList; - /** - * The list of user groups. - */ - Groups?: GroupMetadataList; - } - export type PasswordType = string; - export interface PermissionInfo { - /** - * The role of the user. - */ - Role?: RoleType; - /** - * The type of permissions. - */ - Type?: RolePermissionType; - } - export type PermissionInfoList = PermissionInfo[]; - export type PositiveSizeType = number; - export interface Principal { - /** - * The ID of the resource. - */ - Id?: IdType; - /** - * The type of resource. - */ - Type?: PrincipalType; - /** - * The permission information for the resource. - */ - Roles?: PermissionInfoList; - } - export type PrincipalList = Principal[]; - export type PrincipalType = "USER"|"GROUP"|"INVITE"|"ANONYMOUS"|"ORGANIZATION"|string; - export interface RemoveAllResourcePermissionsRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the resource. - */ - ResourceId: ResourceIdType; - } - export interface RemoveResourcePermissionRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the resource. - */ - ResourceId: ResourceIdType; - /** - * The principal ID of the resource. - */ - PrincipalId: IdType; - /** - * The principal type of the resource. - */ - PrincipalType?: PrincipalType; - } - export type ResourceIdType = string; - export interface ResourceMetadata { - /** - * The type of resource. - */ - Type?: ResourceType; - /** - * The name of the resource. - */ - Name?: ResourceNameType; - /** - * The original name of the resource prior to a rename operation. - */ - OriginalName?: ResourceNameType; - /** - * The ID of the resource. - */ - Id?: ResourceIdType; - /** - * The version ID of the resource. This is an optional field and is filled for action on document version. - */ - VersionId?: DocumentVersionIdType; - /** - * The owner of the resource. - */ - Owner?: UserMetadata; - /** - * The parent ID of the resource before a rename operation. - */ - ParentId?: ResourceIdType; - } - export type ResourceNameType = string; - export interface ResourcePath { - /** - * The components of the resource path. - */ - Components?: ResourcePathComponentList; - } - export interface ResourcePathComponent { - /** - * The ID of the resource path. - */ - Id?: IdType; - /** - * The name of the resource path. - */ - Name?: ResourceNameType; - } - export type ResourcePathComponentList = ResourcePathComponent[]; - export type ResourceSortType = "DATE"|"NAME"|string; - export type ResourceStateType = "ACTIVE"|"RESTORING"|"RECYCLING"|"RECYCLED"|string; - export type ResourceType = "FOLDER"|"DOCUMENT"|string; - export type RolePermissionType = "DIRECT"|"INHERITED"|string; - export type RoleType = "VIEWER"|"CONTRIBUTOR"|"OWNER"|"COOWNER"|string; - export type SearchQueryType = string; - export interface SharePrincipal { - /** - * The ID of the recipient. - */ - Id: IdType; - /** - * The type of the recipient. - */ - Type: PrincipalType; - /** - * The role of the recipient. - */ - Role: RoleType; - } - export type SharePrincipalList = SharePrincipal[]; - export interface ShareResult { - /** - * The ID of the principal. - */ - PrincipalId?: IdType; - /** - * The role. - */ - Role?: RoleType; - /** - * The status. - */ - Status?: ShareStatusType; - /** - * The ID of the resource that was shared. - */ - ShareId?: ResourceIdType; - /** - * The status message. - */ - StatusMessage?: MessageType; - } - export type ShareResultsList = ShareResult[]; - export type ShareStatusType = "SUCCESS"|"FAILURE"|string; - export type SignedHeaderMap = {[key: string]: HeaderValueType}; - export type SizeType = number; - export interface StorageRuleType { - /** - * The amount of storage allocated, in bytes. - */ - StorageAllocatedInBytes?: PositiveSizeType; - /** - * The type of storage. - */ - StorageType?: StorageType; - } - export type StorageType = "UNLIMITED"|"QUOTA"|string; - export interface Subscription { - /** - * The ID of the subscription. - */ - SubscriptionId?: IdType; - /** - * The endpoint of the subscription. - */ - EndPoint?: SubscriptionEndPointType; - /** - * The protocol of the subscription. - */ - Protocol?: SubscriptionProtocolType; - } - export type SubscriptionEndPointType = string; - export type SubscriptionList = Subscription[]; - export type SubscriptionProtocolType = "HTTPS"|string; - export type SubscriptionType = "ALL"|string; - export type TimeZoneIdType = string; - export type TimestampType = Date; - export interface UpdateDocumentRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: ResourceIdType; - /** - * The name of the document. - */ - Name?: ResourceNameType; - /** - * The ID of the parent folder. - */ - ParentFolderId?: ResourceIdType; - /** - * The resource state of the document. Note that only ACTIVE and RECYCLED are supported. - */ - ResourceState?: ResourceStateType; - } - export interface UpdateDocumentVersionRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the document. - */ - DocumentId: ResourceIdType; - /** - * The version ID of the document. - */ - VersionId: DocumentVersionIdType; - /** - * The status of the version. - */ - VersionStatus?: DocumentVersionStatus; - } - export interface UpdateFolderRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the folder. - */ - FolderId: ResourceIdType; - /** - * The name of the folder. - */ - Name?: ResourceNameType; - /** - * The ID of the parent folder. - */ - ParentFolderId?: ResourceIdType; - /** - * The resource state of the folder. Note that only ACTIVE and RECYCLED are accepted values from the API. - */ - ResourceState?: ResourceStateType; - } - export interface UpdateUserRequest { - /** - * Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials. - */ - AuthenticationToken?: AuthenticationHeaderType; - /** - * The ID of the user. - */ - UserId: IdType; - /** - * The given name of the user. - */ - GivenName?: UserAttributeValueType; - /** - * The surname of the user. - */ - Surname?: UserAttributeValueType; - /** - * The type of the user. - */ - Type?: UserType; - /** - * The amount of storage for the user. - */ - StorageRule?: StorageRuleType; - /** - * The time zone ID of the user. - */ - TimeZoneId?: TimeZoneIdType; - /** - * The locale of the user. - */ - Locale?: LocaleType; - } - export interface UpdateUserResponse { - /** - * The user information. - */ - User?: User; - } - export interface UploadMetadata { - /** - * The URL of the upload. - */ - UploadUrl?: UrlType; - /** - * The signed headers. - */ - SignedHeaders?: SignedHeaderMap; - } - export type UrlType = string; - export interface User { - /** - * The ID of the user. - */ - Id?: IdType; - /** - * The login name of the user. - */ - Username?: UsernameType; - /** - * The email address of the user. - */ - EmailAddress?: EmailAddressType; - /** - * The given name of the user. - */ - GivenName?: UserAttributeValueType; - /** - * The surname of the user. - */ - Surname?: UserAttributeValueType; - /** - * The ID of the organization. - */ - OrganizationId?: IdType; - /** - * The ID of the root folder. - */ - RootFolderId?: ResourceIdType; - /** - * The ID of the recycle bin folder. - */ - RecycleBinFolderId?: ResourceIdType; - /** - * The status of the user. - */ - Status?: UserStatusType; - /** - * The type of user. - */ - Type?: UserType; - /** - * The time when the user was created. - */ - CreatedTimestamp?: TimestampType; - /** - * The time when the user was modified. - */ - ModifiedTimestamp?: TimestampType; - /** - * The time zone ID of the user. - */ - TimeZoneId?: TimeZoneIdType; - /** - * The locale of the user. - */ - Locale?: LocaleType; - /** - * The storage for the user. - */ - Storage?: UserStorageMetadata; - } - export type UserActivities = Activity[]; - export type UserAttributeValueType = string; - export type UserFilterType = "ALL"|"ACTIVE_PENDING"|string; - export type UserIdsType = string; - export interface UserMetadata { - /** - * The ID of the user. - */ - Id?: IdType; - /** - * The username of the user. - */ - Username?: UsernameType; - /** - * The given name of the user before a rename operation. - */ - GivenName?: UserAttributeValueType; - /** - * The surname of the user. - */ - Surname?: UserAttributeValueType; - /** - * The email address of the user. - */ - EmailAddress?: EmailAddressType; - } - export type UserMetadataList = UserMetadata[]; - export type UserSortType = "USER_NAME"|"FULL_NAME"|"STORAGE_LIMIT"|"USER_STATUS"|"STORAGE_USED"|string; - export type UserStatusType = "ACTIVE"|"INACTIVE"|"PENDING"|string; - export interface UserStorageMetadata { - /** - * The amount of storage utilized, in bytes. - */ - StorageUtilizedInBytes?: SizeType; - /** - * The storage for a user. - */ - StorageRule?: StorageRuleType; - } - export type UserType = "USER"|"ADMIN"|string; - export type UsernameType = string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-05-01"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the WorkDocs client. - */ - export import Types = WorkDocs; -} -export = WorkDocs; diff --git a/src/node_modules/aws-sdk/clients/workdocs.js b/src/node_modules/aws-sdk/clients/workdocs.js deleted file mode 100644 index 5ee7c7c..0000000 --- a/src/node_modules/aws-sdk/clients/workdocs.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['workdocs'] = {}; -AWS.WorkDocs = Service.defineService('workdocs', ['2016-05-01']); -Object.defineProperty(apiLoader.services['workdocs'], '2016-05-01', { - get: function get() { - var model = require('../apis/workdocs-2016-05-01.min.json'); - model.paginators = require('../apis/workdocs-2016-05-01.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WorkDocs; diff --git a/src/node_modules/aws-sdk/clients/workspaces.d.ts b/src/node_modules/aws-sdk/clients/workspaces.d.ts deleted file mode 100644 index 1e6b587..0000000 --- a/src/node_modules/aws-sdk/clients/workspaces.d.ts +++ /dev/null @@ -1,716 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class WorkSpaces extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: WorkSpaces.Types.ClientConfiguration) - config: Config & WorkSpaces.Types.ClientConfiguration; - /** - * Creates tags for a WorkSpace. - */ - createTags(params: WorkSpaces.Types.CreateTagsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.CreateTagsResult) => void): Request; - /** - * Creates tags for a WorkSpace. - */ - createTags(callback?: (err: AWSError, data: WorkSpaces.Types.CreateTagsResult) => void): Request; - /** - * Creates one or more WorkSpaces. This operation is asynchronous and returns before the WorkSpaces are created. - */ - createWorkspaces(params: WorkSpaces.Types.CreateWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.CreateWorkspacesResult) => void): Request; - /** - * Creates one or more WorkSpaces. This operation is asynchronous and returns before the WorkSpaces are created. - */ - createWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.CreateWorkspacesResult) => void): Request; - /** - * Deletes tags from a WorkSpace. - */ - deleteTags(params: WorkSpaces.Types.DeleteTagsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DeleteTagsResult) => void): Request; - /** - * Deletes tags from a WorkSpace. - */ - deleteTags(callback?: (err: AWSError, data: WorkSpaces.Types.DeleteTagsResult) => void): Request; - /** - * Describes tags for a WorkSpace. - */ - describeTags(params: WorkSpaces.Types.DescribeTagsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeTagsResult) => void): Request; - /** - * Describes tags for a WorkSpace. - */ - describeTags(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeTagsResult) => void): Request; - /** - * Obtains information about the WorkSpace bundles that are available to your account in the specified region. You can filter the results with either the BundleIds parameter, or the Owner parameter, but not both. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the NextToken response member contains a token that you pass in the next call to this operation to retrieve the next set of items. - */ - describeWorkspaceBundles(params: WorkSpaces.Types.DescribeWorkspaceBundlesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceBundlesResult) => void): Request; - /** - * Obtains information about the WorkSpace bundles that are available to your account in the specified region. You can filter the results with either the BundleIds parameter, or the Owner parameter, but not both. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the NextToken response member contains a token that you pass in the next call to this operation to retrieve the next set of items. - */ - describeWorkspaceBundles(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceBundlesResult) => void): Request; - /** - * Retrieves information about the AWS Directory Service directories in the region that are registered with Amazon WorkSpaces and are available to your account. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the NextToken response member contains a token that you pass in the next call to this operation to retrieve the next set of items. - */ - describeWorkspaceDirectories(params: WorkSpaces.Types.DescribeWorkspaceDirectoriesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceDirectoriesResult) => void): Request; - /** - * Retrieves information about the AWS Directory Service directories in the region that are registered with Amazon WorkSpaces and are available to your account. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the NextToken response member contains a token that you pass in the next call to this operation to retrieve the next set of items. - */ - describeWorkspaceDirectories(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspaceDirectoriesResult) => void): Request; - /** - * Obtains information about the specified WorkSpaces. Only one of the filter parameters, such as BundleId, DirectoryId, or WorkspaceIds, can be specified at a time. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the NextToken response member contains a token that you pass in the next call to this operation to retrieve the next set of items. - */ - describeWorkspaces(params: WorkSpaces.Types.DescribeWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspacesResult) => void): Request; - /** - * Obtains information about the specified WorkSpaces. Only one of the filter parameters, such as BundleId, DirectoryId, or WorkspaceIds, can be specified at a time. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the NextToken response member contains a token that you pass in the next call to this operation to retrieve the next set of items. - */ - describeWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspacesResult) => void): Request; - /** - * Describes the connection status of a specified WorkSpace. - */ - describeWorkspacesConnectionStatus(params: WorkSpaces.Types.DescribeWorkspacesConnectionStatusRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspacesConnectionStatusResult) => void): Request; - /** - * Describes the connection status of a specified WorkSpace. - */ - describeWorkspacesConnectionStatus(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeWorkspacesConnectionStatusResult) => void): Request; - /** - * Modifies the WorkSpace properties, including the running mode and AutoStop time. - */ - modifyWorkspaceProperties(params: WorkSpaces.Types.ModifyWorkspacePropertiesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.ModifyWorkspacePropertiesResult) => void): Request; - /** - * Modifies the WorkSpace properties, including the running mode and AutoStop time. - */ - modifyWorkspaceProperties(callback?: (err: AWSError, data: WorkSpaces.Types.ModifyWorkspacePropertiesResult) => void): Request; - /** - * Reboots the specified WorkSpaces. To be able to reboot a WorkSpace, the WorkSpace must have a State of AVAILABLE, IMPAIRED, or INOPERABLE. This operation is asynchronous and returns before the WorkSpaces have rebooted. - */ - rebootWorkspaces(params: WorkSpaces.Types.RebootWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.RebootWorkspacesResult) => void): Request; - /** - * Reboots the specified WorkSpaces. To be able to reboot a WorkSpace, the WorkSpace must have a State of AVAILABLE, IMPAIRED, or INOPERABLE. This operation is asynchronous and returns before the WorkSpaces have rebooted. - */ - rebootWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.RebootWorkspacesResult) => void): Request; - /** - * Rebuilds the specified WorkSpaces. Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. Rebuilding a WorkSpace causes the following to occur: The system is restored to the image of the bundle that the WorkSpace is created from. Any applications that have been installed, or system settings that have been made since the WorkSpace was created will be lost. The data drive (D drive) is re-created from the last automatic snapshot taken of the data drive. The current contents of the data drive are overwritten. Automatic snapshots of the data drive are taken every 12 hours, so the snapshot can be as much as 12 hours old. To be able to rebuild a WorkSpace, the WorkSpace must have a State of AVAILABLE or ERROR. This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt. - */ - rebuildWorkspaces(params: WorkSpaces.Types.RebuildWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.RebuildWorkspacesResult) => void): Request; - /** - * Rebuilds the specified WorkSpaces. Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. Rebuilding a WorkSpace causes the following to occur: The system is restored to the image of the bundle that the WorkSpace is created from. Any applications that have been installed, or system settings that have been made since the WorkSpace was created will be lost. The data drive (D drive) is re-created from the last automatic snapshot taken of the data drive. The current contents of the data drive are overwritten. Automatic snapshots of the data drive are taken every 12 hours, so the snapshot can be as much as 12 hours old. To be able to rebuild a WorkSpace, the WorkSpace must have a State of AVAILABLE or ERROR. This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt. - */ - rebuildWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.RebuildWorkspacesResult) => void): Request; - /** - * Starts the specified WorkSpaces. The WorkSpaces must have a running mode of AutoStop and a state of STOPPED. - */ - startWorkspaces(params: WorkSpaces.Types.StartWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.StartWorkspacesResult) => void): Request; - /** - * Starts the specified WorkSpaces. The WorkSpaces must have a running mode of AutoStop and a state of STOPPED. - */ - startWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.StartWorkspacesResult) => void): Request; - /** - * Stops the specified WorkSpaces. The WorkSpaces must have a running mode of AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR. - */ - stopWorkspaces(params: WorkSpaces.Types.StopWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.StopWorkspacesResult) => void): Request; - /** - * Stops the specified WorkSpaces. The WorkSpaces must have a running mode of AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR. - */ - stopWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.StopWorkspacesResult) => void): Request; - /** - * Terminates the specified WorkSpaces. Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is not maintained and will be destroyed. If you need to archive any user data, contact Amazon Web Services before terminating the WorkSpace. You can terminate a WorkSpace that is in any state except SUSPENDED. This operation is asynchronous and returns before the WorkSpaces have been completely terminated. - */ - terminateWorkspaces(params: WorkSpaces.Types.TerminateWorkspacesRequest, callback?: (err: AWSError, data: WorkSpaces.Types.TerminateWorkspacesResult) => void): Request; - /** - * Terminates the specified WorkSpaces. Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is not maintained and will be destroyed. If you need to archive any user data, contact Amazon Web Services before terminating the WorkSpace. You can terminate a WorkSpace that is in any state except SUSPENDED. This operation is asynchronous and returns before the WorkSpaces have been completely terminated. - */ - terminateWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.TerminateWorkspacesResult) => void): Request; -} -declare namespace WorkSpaces { - export type ARN = string; - export type Alias = string; - export type BooleanObject = boolean; - export type BundleId = string; - export type BundleIdList = BundleId[]; - export type BundleList = WorkspaceBundle[]; - export type BundleOwner = string; - export type Compute = "VALUE"|"STANDARD"|"PERFORMANCE"|string; - export interface ComputeType { - /** - * The name of the compute type for the bundle. - */ - Name?: Compute; - } - export type ComputerName = string; - export type ConnectionState = "CONNECTED"|"DISCONNECTED"|"UNKNOWN"|string; - export interface CreateTagsRequest { - /** - * The resource ID of the request. - */ - ResourceId: NonEmptyString; - /** - * The tags of the request. - */ - Tags: TagList; - } - export interface CreateTagsResult { - } - export interface CreateWorkspacesRequest { - /** - * An array of structures that specify the WorkSpaces to create. - */ - Workspaces: WorkspaceRequestList; - } - export interface CreateWorkspacesResult { - /** - * An array of structures that represent the WorkSpaces that could not be created. - */ - FailedRequests?: FailedCreateWorkspaceRequests; - /** - * An array of structures that represent the WorkSpaces that were created. Because this operation is asynchronous, the identifier in WorkspaceId is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned. - */ - PendingRequests?: WorkspaceList; - } - export type DefaultOu = string; - export interface DefaultWorkspaceCreationProperties { - /** - * Specifies if the directory is enabled for Amazon WorkDocs. - */ - EnableWorkDocs?: BooleanObject; - /** - * A public IP address will be attached to all WorkSpaces that are created or rebuilt. - */ - EnableInternetAccess?: BooleanObject; - /** - * The organizational unit (OU) in the directory that the WorkSpace machine accounts are placed in. - */ - DefaultOu?: DefaultOu; - /** - * The identifier of any custom security groups that are applied to the WorkSpaces when they are created. - */ - CustomSecurityGroupId?: SecurityGroupId; - /** - * The WorkSpace user is an administrator on the WorkSpace. - */ - UserEnabledAsLocalAdministrator?: BooleanObject; - } - export interface DeleteTagsRequest { - /** - * The resource ID of the request. - */ - ResourceId: NonEmptyString; - /** - * The tag keys of the request. - */ - TagKeys: TagKeyList; - } - export interface DeleteTagsResult { - } - export interface DescribeTagsRequest { - /** - * The resource ID of the request. - */ - ResourceId: NonEmptyString; - } - export interface DescribeTagsResult { - /** - * The list of tags. - */ - TagList?: TagList; - } - export interface DescribeWorkspaceBundlesRequest { - /** - * An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter. - */ - BundleIds?: BundleIdList; - /** - * The owner of the bundles to retrieve. This parameter cannot be combined with any other filter parameter. This contains one of the following values: null- Retrieves the bundles that belong to the account making the call. AMAZON- Retrieves the bundles that are provided by AWS. - */ - Owner?: BundleOwner; - /** - * The NextToken value from a previous call to this operation. Pass null if this is the first call. - */ - NextToken?: PaginationToken; - } - export interface DescribeWorkspaceBundlesResult { - /** - * An array of structures that contain information about the bundles. - */ - Bundles?: BundleList; - /** - * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to this operation to retrieve the next set of items. This token is valid for one day and must be used within that time frame. - */ - NextToken?: PaginationToken; - } - export interface DescribeWorkspaceDirectoriesRequest { - /** - * An array of strings that contains the directory identifiers to retrieve information for. If this member is null, all directories are retrieved. - */ - DirectoryIds?: DirectoryIdList; - /** - * The NextToken value from a previous call to this operation. Pass null if this is the first call. - */ - NextToken?: PaginationToken; - } - export interface DescribeWorkspaceDirectoriesResult { - /** - * An array of structures that contain information about the directories. - */ - Directories?: DirectoryList; - /** - * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to this operation to retrieve the next set of items. This token is valid for one day and must be used within that time frame. - */ - NextToken?: PaginationToken; - } - export interface DescribeWorkspacesConnectionStatusRequest { - /** - * An array of strings that contain the identifiers of the WorkSpaces. - */ - WorkspaceIds?: WorkspaceIdList; - /** - * The next token of the request. - */ - NextToken?: PaginationToken; - } - export interface DescribeWorkspacesConnectionStatusResult { - /** - * The connection status of the WorkSpace. - */ - WorkspacesConnectionStatus?: WorkspaceConnectionStatusList; - /** - * The next token of the result. - */ - NextToken?: PaginationToken; - } - export interface DescribeWorkspacesRequest { - /** - * An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information. This parameter cannot be combined with any other filter parameter. Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned. - */ - WorkspaceIds?: WorkspaceIdList; - /** - * Specifies the directory identifier to which to limit the WorkSpaces. Optionally, you can specify a specific directory user with the UserName parameter. This parameter cannot be combined with any other filter parameter. - */ - DirectoryId?: DirectoryId; - /** - * Used with the DirectoryId parameter to specify the directory user for whom to obtain the WorkSpace. - */ - UserName?: UserName; - /** - * The identifier of a bundle to obtain the WorkSpaces for. All WorkSpaces that are created from this bundle will be retrieved. This parameter cannot be combined with any other filter parameter. - */ - BundleId?: BundleId; - /** - * The maximum number of items to return. - */ - Limit?: Limit; - /** - * The NextToken value from a previous call to this operation. Pass null if this is the first call. - */ - NextToken?: PaginationToken; - } - export interface DescribeWorkspacesResult { - /** - * An array of structures that contain the information about the WorkSpaces. Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace. - */ - Workspaces?: WorkspaceList; - /** - * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to this operation to retrieve the next set of items. This token is valid for one day and must be used within that time frame. - */ - NextToken?: PaginationToken; - } - export type Description = string; - export type DirectoryId = string; - export type DirectoryIdList = DirectoryId[]; - export type DirectoryList = WorkspaceDirectory[]; - export type DirectoryName = string; - export type DnsIpAddresses = IpAddress[]; - export type ErrorType = string; - export type ExceptionMessage = string; - export interface FailedCreateWorkspaceRequest { - /** - * A FailedCreateWorkspaceRequest$WorkspaceRequest object that contains the information about the WorkSpace that could not be created. - */ - WorkspaceRequest?: WorkspaceRequest; - /** - * The error code. - */ - ErrorCode?: ErrorType; - /** - * The textual error message. - */ - ErrorMessage?: Description; - } - export type FailedCreateWorkspaceRequests = FailedCreateWorkspaceRequest[]; - export type FailedRebootWorkspaceRequests = FailedWorkspaceChangeRequest[]; - export type FailedRebuildWorkspaceRequests = FailedWorkspaceChangeRequest[]; - export type FailedStartWorkspaceRequests = FailedWorkspaceChangeRequest[]; - export type FailedStopWorkspaceRequests = FailedWorkspaceChangeRequest[]; - export type FailedTerminateWorkspaceRequests = FailedWorkspaceChangeRequest[]; - export interface FailedWorkspaceChangeRequest { - /** - * The identifier of the WorkSpace. - */ - WorkspaceId?: WorkspaceId; - /** - * The error code. - */ - ErrorCode?: ErrorType; - /** - * The textual error message. - */ - ErrorMessage?: Description; - } - export type IpAddress = string; - export type Limit = number; - export interface ModifyWorkspacePropertiesRequest { - /** - * The ID of the WorkSpace. - */ - WorkspaceId: WorkspaceId; - /** - * The WorkSpace properties of the request. - */ - WorkspaceProperties: WorkspaceProperties; - } - export interface ModifyWorkspacePropertiesResult { - } - export type NonEmptyString = string; - export type PaginationToken = string; - export interface RebootRequest { - /** - * The identifier of the WorkSpace to reboot. - */ - WorkspaceId: WorkspaceId; - } - export type RebootWorkspaceRequests = RebootRequest[]; - export interface RebootWorkspacesRequest { - /** - * An array of structures that specify the WorkSpaces to reboot. - */ - RebootWorkspaceRequests: RebootWorkspaceRequests; - } - export interface RebootWorkspacesResult { - /** - * An array of structures representing any WorkSpaces that could not be rebooted. - */ - FailedRequests?: FailedRebootWorkspaceRequests; - } - export interface RebuildRequest { - /** - * The identifier of the WorkSpace to rebuild. - */ - WorkspaceId: WorkspaceId; - } - export type RebuildWorkspaceRequests = RebuildRequest[]; - export interface RebuildWorkspacesRequest { - /** - * An array of structures that specify the WorkSpaces to rebuild. - */ - RebuildWorkspaceRequests: RebuildWorkspaceRequests; - } - export interface RebuildWorkspacesResult { - /** - * An array of structures representing any WorkSpaces that could not be rebuilt. - */ - FailedRequests?: FailedRebuildWorkspaceRequests; - } - export type RegistrationCode = string; - export type RunningMode = "AUTO_STOP"|"ALWAYS_ON"|string; - export type RunningModeAutoStopTimeoutInMinutes = number; - export type SecurityGroupId = string; - export interface StartRequest { - /** - * The ID of the WorkSpace. - */ - WorkspaceId?: WorkspaceId; - } - export type StartWorkspaceRequests = StartRequest[]; - export interface StartWorkspacesRequest { - /** - * The requests. - */ - StartWorkspaceRequests: StartWorkspaceRequests; - } - export interface StartWorkspacesResult { - /** - * The failed requests. - */ - FailedRequests?: FailedStartWorkspaceRequests; - } - export interface StopRequest { - /** - * The ID of the WorkSpace. - */ - WorkspaceId?: WorkspaceId; - } - export type StopWorkspaceRequests = StopRequest[]; - export interface StopWorkspacesRequest { - /** - * The requests. - */ - StopWorkspaceRequests: StopWorkspaceRequests; - } - export interface StopWorkspacesResult { - /** - * The failed requests. - */ - FailedRequests?: FailedStopWorkspaceRequests; - } - export type SubnetId = string; - export type SubnetIds = SubnetId[]; - export interface Tag { - /** - * The key of the tag. - */ - Key: TagKey; - /** - * The value of the tag. - */ - Value?: TagValue; - } - export type TagKey = string; - export type TagKeyList = NonEmptyString[]; - export type TagList = Tag[]; - export type TagValue = string; - export interface TerminateRequest { - /** - * The identifier of the WorkSpace to terminate. - */ - WorkspaceId: WorkspaceId; - } - export type TerminateWorkspaceRequests = TerminateRequest[]; - export interface TerminateWorkspacesRequest { - /** - * An array of structures that specify the WorkSpaces to terminate. - */ - TerminateWorkspaceRequests: TerminateWorkspaceRequests; - } - export interface TerminateWorkspacesResult { - /** - * An array of structures representing any WorkSpaces that could not be terminated. - */ - FailedRequests?: FailedTerminateWorkspaceRequests; - } - export type Timestamp = Date; - export type UserName = string; - export interface UserStorage { - /** - * The amount of user storage for the bundle. - */ - Capacity?: NonEmptyString; - } - export type VolumeEncryptionKey = string; - export interface Workspace { - /** - * The identifier of the WorkSpace. - */ - WorkspaceId?: WorkspaceId; - /** - * The identifier of the AWS Directory Service directory that the WorkSpace belongs to. - */ - DirectoryId?: DirectoryId; - /** - * The user that the WorkSpace is assigned to. - */ - UserName?: UserName; - /** - * The IP address of the WorkSpace. - */ - IpAddress?: IpAddress; - /** - * The operational state of the WorkSpace. - */ - State?: WorkspaceState; - /** - * The identifier of the bundle that the WorkSpace was created from. - */ - BundleId?: BundleId; - /** - * The identifier of the subnet that the WorkSpace is in. - */ - SubnetId?: SubnetId; - /** - * If the WorkSpace could not be created, this contains a textual error message that describes the failure. - */ - ErrorMessage?: Description; - /** - * If the WorkSpace could not be created, this contains the error code. - */ - ErrorCode?: WorkspaceErrorCode; - /** - * The name of the WorkSpace as seen by the operating system. - */ - ComputerName?: ComputerName; - /** - * The KMS key used to encrypt data stored on your WorkSpace. - */ - VolumeEncryptionKey?: VolumeEncryptionKey; - /** - * Specifies whether the data stored on the user volume, or D: drive, is encrypted. - */ - UserVolumeEncryptionEnabled?: BooleanObject; - /** - * Specifies whether the data stored on the root volume, or C: drive, is encrypted. - */ - RootVolumeEncryptionEnabled?: BooleanObject; - WorkspaceProperties?: WorkspaceProperties; - } - export interface WorkspaceBundle { - /** - * The bundle identifier. - */ - BundleId?: BundleId; - /** - * The name of the bundle. - */ - Name?: NonEmptyString; - /** - * The owner of the bundle. This contains the owner's account identifier, or AMAZON if the bundle is provided by AWS. - */ - Owner?: BundleOwner; - /** - * The bundle description. - */ - Description?: Description; - /** - * A UserStorage object that specifies the amount of user storage that the bundle contains. - */ - UserStorage?: UserStorage; - /** - * A ComputeType object that specifies the compute type for the bundle. - */ - ComputeType?: ComputeType; - } - export interface WorkspaceConnectionStatus { - /** - * The ID of the WorkSpace. - */ - WorkspaceId?: WorkspaceId; - /** - * The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state. - */ - ConnectionState?: ConnectionState; - /** - * The timestamp of the connection state check. - */ - ConnectionStateCheckTimestamp?: Timestamp; - /** - * The timestamp of the last known user connection. - */ - LastKnownUserConnectionTimestamp?: Timestamp; - } - export type WorkspaceConnectionStatusList = WorkspaceConnectionStatus[]; - export interface WorkspaceDirectory { - /** - * The directory identifier. - */ - DirectoryId?: DirectoryId; - /** - * The directory alias. - */ - Alias?: Alias; - /** - * The name of the directory. - */ - DirectoryName?: DirectoryName; - /** - * The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory. - */ - RegistrationCode?: RegistrationCode; - /** - * An array of strings that contains the identifiers of the subnets used with the directory. - */ - SubnetIds?: SubnetIds; - /** - * An array of strings that contains the IP addresses of the DNS servers for the directory. - */ - DnsIpAddresses?: DnsIpAddresses; - /** - * The user name for the service account. - */ - CustomerUserName?: UserName; - /** - * The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf. - */ - IamRoleId?: ARN; - /** - * The directory type. - */ - DirectoryType?: WorkspaceDirectoryType; - /** - * The identifier of the security group that is assigned to new WorkSpaces. - */ - WorkspaceSecurityGroupId?: SecurityGroupId; - /** - * The state of the directory's registration with Amazon WorkSpaces - */ - State?: WorkspaceDirectoryState; - /** - * A structure that specifies the default creation properties for all WorkSpaces in the directory. - */ - WorkspaceCreationProperties?: DefaultWorkspaceCreationProperties; - } - export type WorkspaceDirectoryState = "REGISTERING"|"REGISTERED"|"DEREGISTERING"|"DEREGISTERED"|"ERROR"|string; - export type WorkspaceDirectoryType = "SIMPLE_AD"|"AD_CONNECTOR"|string; - export type WorkspaceErrorCode = string; - export type WorkspaceId = string; - export type WorkspaceIdList = WorkspaceId[]; - export type WorkspaceList = Workspace[]; - export interface WorkspaceProperties { - /** - * The running mode of the WorkSpace. AlwaysOn WorkSpaces are billed monthly. AutoStop WorkSpaces are billed by the hour and stopped when no longer being used in order to save on costs. - */ - RunningMode?: RunningMode; - /** - * The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60 minute intervals. - */ - RunningModeAutoStopTimeoutInMinutes?: RunningModeAutoStopTimeoutInMinutes; - } - export interface WorkspaceRequest { - /** - * The identifier of the AWS Directory Service directory to create the WorkSpace in. You can use the DescribeWorkspaceDirectories operation to obtain a list of the directories that are available. - */ - DirectoryId: DirectoryId; - /** - * The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by the DirectoryId member. - */ - UserName: UserName; - /** - * The identifier of the bundle to create the WorkSpace from. You can use the DescribeWorkspaceBundles operation to obtain a list of the bundles that are available. - */ - BundleId: BundleId; - /** - * The KMS key used to encrypt data stored on your WorkSpace. - */ - VolumeEncryptionKey?: VolumeEncryptionKey; - /** - * Specifies whether the data stored on the user volume, or D: drive, is encrypted. - */ - UserVolumeEncryptionEnabled?: BooleanObject; - /** - * Specifies whether the data stored on the root volume, or C: drive, is encrypted. - */ - RootVolumeEncryptionEnabled?: BooleanObject; - WorkspaceProperties?: WorkspaceProperties; - /** - * The tags of the WorkSpace request. - */ - Tags?: TagList; - } - export type WorkspaceRequestList = WorkspaceRequest[]; - export type WorkspaceState = "PENDING"|"AVAILABLE"|"IMPAIRED"|"UNHEALTHY"|"REBOOTING"|"STARTING"|"REBUILDING"|"MAINTENANCE"|"TERMINATING"|"TERMINATED"|"SUSPENDED"|"STOPPING"|"STOPPED"|"ERROR"|string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2015-04-08"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the WorkSpaces client. - */ - export import Types = WorkSpaces; -} -export = WorkSpaces; diff --git a/src/node_modules/aws-sdk/clients/workspaces.js b/src/node_modules/aws-sdk/clients/workspaces.js deleted file mode 100644 index 111e389..0000000 --- a/src/node_modules/aws-sdk/clients/workspaces.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['workspaces'] = {}; -AWS.WorkSpaces = Service.defineService('workspaces', ['2015-04-08']); -Object.defineProperty(apiLoader.services['workspaces'], '2015-04-08', { - get: function get() { - var model = require('../apis/workspaces-2015-04-08.min.json'); - model.paginators = require('../apis/workspaces-2015-04-08.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WorkSpaces; diff --git a/src/node_modules/aws-sdk/clients/xray.d.ts b/src/node_modules/aws-sdk/clients/xray.d.ts deleted file mode 100644 index 58ce4b9..0000000 --- a/src/node_modules/aws-sdk/clients/xray.d.ts +++ /dev/null @@ -1,642 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config'; -interface Blob {} -declare class XRay extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: XRay.Types.ClientConfiguration) - config: Config & XRay.Types.ClientConfiguration; - /** - * Retrieves a list of traces specified by ID. Each trace is a collection of segment documents that originates from a single request. Use GetTraceSummaries to get a list of trace IDs. - */ - batchGetTraces(params: XRay.Types.BatchGetTracesRequest, callback?: (err: AWSError, data: XRay.Types.BatchGetTracesResult) => void): Request; - /** - * Retrieves a list of traces specified by ID. Each trace is a collection of segment documents that originates from a single request. Use GetTraceSummaries to get a list of trace IDs. - */ - batchGetTraces(callback?: (err: AWSError, data: XRay.Types.BatchGetTracesResult) => void): Request; - /** - * Retrieves a document that describes services that process incoming requests, and downstream services that they call as a result. Root services process incoming requests and make calls to downstream services. Root services are applications that use the AWS X-Ray SDK. Downstream services can be other applications, AWS resources, HTTP web APIs, or SQL databases. - */ - getServiceGraph(params: XRay.Types.GetServiceGraphRequest, callback?: (err: AWSError, data: XRay.Types.GetServiceGraphResult) => void): Request; - /** - * Retrieves a document that describes services that process incoming requests, and downstream services that they call as a result. Root services process incoming requests and make calls to downstream services. Root services are applications that use the AWS X-Ray SDK. Downstream services can be other applications, AWS resources, HTTP web APIs, or SQL databases. - */ - getServiceGraph(callback?: (err: AWSError, data: XRay.Types.GetServiceGraphResult) => void): Request; - /** - * Retrieves a service graph for one or more specific trace IDs. - */ - getTraceGraph(params: XRay.Types.GetTraceGraphRequest, callback?: (err: AWSError, data: XRay.Types.GetTraceGraphResult) => void): Request; - /** - * Retrieves a service graph for one or more specific trace IDs. - */ - getTraceGraph(callback?: (err: AWSError, data: XRay.Types.GetTraceGraphResult) => void): Request; - /** - * Retrieves IDs and metadata for traces available for a specified time frame using an optional filter. To get the full traces, pass the trace IDs to BatchGetTraces. A filter expression can target traced requests that hit specific service nodes or edges, have errors, or come from a known user. For example, the following filter expression targets traces that pass through api.example.com: service("api.example.com") This filter expression finds traces that have an annotation named account with the value 12345: annotation.account = "12345" For a full list of indexed fields and keywords that you can use in filter expressions, see Using Filter Expressions in the AWS X-Ray Developer Guide. - */ - getTraceSummaries(params: XRay.Types.GetTraceSummariesRequest, callback?: (err: AWSError, data: XRay.Types.GetTraceSummariesResult) => void): Request; - /** - * Retrieves IDs and metadata for traces available for a specified time frame using an optional filter. To get the full traces, pass the trace IDs to BatchGetTraces. A filter expression can target traced requests that hit specific service nodes or edges, have errors, or come from a known user. For example, the following filter expression targets traces that pass through api.example.com: service("api.example.com") This filter expression finds traces that have an annotation named account with the value 12345: annotation.account = "12345" For a full list of indexed fields and keywords that you can use in filter expressions, see Using Filter Expressions in the AWS X-Ray Developer Guide. - */ - getTraceSummaries(callback?: (err: AWSError, data: XRay.Types.GetTraceSummariesResult) => void): Request; - /** - * Used by the AWS X-Ray daemon to upload telemetry. - */ - putTelemetryRecords(params: XRay.Types.PutTelemetryRecordsRequest, callback?: (err: AWSError, data: XRay.Types.PutTelemetryRecordsResult) => void): Request; - /** - * Used by the AWS X-Ray daemon to upload telemetry. - */ - putTelemetryRecords(callback?: (err: AWSError, data: XRay.Types.PutTelemetryRecordsResult) => void): Request; - /** - * Uploads segment documents to AWS X-Ray. The X-Ray SDK generates segment documents and sends them to the X-Ray daemon, which uploads them in batches. A segment document can be a completed segment, an in-progress segment, or an array of subsegments. Segments must include the following fields. For the full segment document schema, see AWS X-Ray Segment Documents in the AWS X-Ray Developer Guide. Required Segment Document Fields name - The name of the service that handled the request. id - A 64-bit identifier for the segment, unique among segments in the same trace, in 16 hexadecimal digits. trace_id - A unique identifier that connects all segments and subsegments originating from a single client request. start_time - Time the segment or subsegment was created, in floating point seconds in epoch time, accurate to milliseconds. For example, 1480615200.010 or 1.480615200010E9. end_time - Time the segment or subsegment was closed. For example, 1480615200.090 or 1.480615200090E9. Specify either an end_time or in_progress. in_progress - Set to true instead of specifying an end_time to record that a segment has been started, but is not complete. Send an in progress segment when your application receives a request that will take a long time to serve, to trace the fact that the request was received. When the response is sent, send the complete segment to overwrite the in-progress segment. A trace_id consists of three numbers separated by hyphens. For example, 1-58406520-a006649127e371903a2de979. This includes: Trace ID Format The version number, i.e. 1. The time of the original request, in Unix epoch time, in 8 hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in epoch time is 1480615200 seconds, or 58406520 in hexadecimal. A 96-bit identifier for the trace, globally unique, in 24 hexadecimal digits. - */ - putTraceSegments(params: XRay.Types.PutTraceSegmentsRequest, callback?: (err: AWSError, data: XRay.Types.PutTraceSegmentsResult) => void): Request; - /** - * Uploads segment documents to AWS X-Ray. The X-Ray SDK generates segment documents and sends them to the X-Ray daemon, which uploads them in batches. A segment document can be a completed segment, an in-progress segment, or an array of subsegments. Segments must include the following fields. For the full segment document schema, see AWS X-Ray Segment Documents in the AWS X-Ray Developer Guide. Required Segment Document Fields name - The name of the service that handled the request. id - A 64-bit identifier for the segment, unique among segments in the same trace, in 16 hexadecimal digits. trace_id - A unique identifier that connects all segments and subsegments originating from a single client request. start_time - Time the segment or subsegment was created, in floating point seconds in epoch time, accurate to milliseconds. For example, 1480615200.010 or 1.480615200010E9. end_time - Time the segment or subsegment was closed. For example, 1480615200.090 or 1.480615200090E9. Specify either an end_time or in_progress. in_progress - Set to true instead of specifying an end_time to record that a segment has been started, but is not complete. Send an in progress segment when your application receives a request that will take a long time to serve, to trace the fact that the request was received. When the response is sent, send the complete segment to overwrite the in-progress segment. A trace_id consists of three numbers separated by hyphens. For example, 1-58406520-a006649127e371903a2de979. This includes: Trace ID Format The version number, i.e. 1. The time of the original request, in Unix epoch time, in 8 hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in epoch time is 1480615200 seconds, or 58406520 in hexadecimal. A 96-bit identifier for the trace, globally unique, in 24 hexadecimal digits. - */ - putTraceSegments(callback?: (err: AWSError, data: XRay.Types.PutTraceSegmentsResult) => void): Request; -} -declare namespace XRay { - export interface Alias { - /** - * The canonical name of the alias. - */ - Name?: String; - /** - * A list of names for the alias, including the canonical name. - */ - Names?: AliasNames; - /** - * The type of the alias. - */ - Type?: String; - } - export type AliasList = Alias[]; - export type AliasNames = String[]; - export type AnnotationKey = string; - export interface AnnotationValue { - /** - * Value for a Number annotation. - */ - NumberValue?: NullableDouble; - /** - * Value for a Boolean annotation. - */ - BooleanValue?: NullableBoolean; - /** - * Value for a String annotation. - */ - StringValue?: String; - } - export type Annotations = {[key: string]: ValuesWithServiceIds}; - export interface BackendConnectionErrors { - /** - * - */ - TimeoutCount?: NullableInteger; - /** - * - */ - ConnectionRefusedCount?: NullableInteger; - /** - * - */ - HTTPCode4XXCount?: NullableInteger; - /** - * - */ - HTTPCode5XXCount?: NullableInteger; - /** - * - */ - UnknownHostCount?: NullableInteger; - /** - * - */ - OtherCount?: NullableInteger; - } - export interface BatchGetTracesRequest { - /** - * Specify the trace IDs of requests for which to retrieve segments. - */ - TraceIds: TraceIdList; - /** - * Pagination token. Not used. - */ - NextToken?: String; - } - export interface BatchGetTracesResult { - /** - * Full traces for the specified requests. - */ - Traces?: TraceList; - /** - * Trace IDs of requests that haven't been processed. - */ - UnprocessedTraceIds?: UnprocessedTraceIdList; - /** - * Pagination token. Not used. - */ - NextToken?: String; - } - export type Double = number; - export interface Edge { - /** - * Identifier of the edge. Unique within a service map. - */ - ReferenceId?: NullableInteger; - /** - * The start time of the first segment on the edge. - */ - StartTime?: Timestamp; - /** - * The end time of the last segment on the edge. - */ - EndTime?: Timestamp; - /** - * Response statistics for segments on the edge. - */ - SummaryStatistics?: EdgeStatistics; - /** - * A histogram that maps the spread of client response times on an edge. - */ - ResponseTimeHistogram?: Histogram; - /** - * Aliases for the edge. - */ - Aliases?: AliasList; - } - export type EdgeList = Edge[]; - export interface EdgeStatistics { - /** - * The number of requests that completed with a 2xx Success status code. - */ - OkCount?: NullableLong; - /** - * Information about requests that failed with a 4xx Client Error status code. - */ - ErrorStatistics?: ErrorStatistics; - /** - * Information about requests that failed with a 5xx Server Error status code. - */ - FaultStatistics?: FaultStatistics; - /** - * The total number of completed requests. - */ - TotalCount?: NullableLong; - /** - * The aggregate response time of completed requests. - */ - TotalResponseTime?: NullableDouble; - } - export interface ErrorStatistics { - /** - * The number of requests that failed with a 419 throttling status code. - */ - ThrottleCount?: NullableLong; - /** - * The number of requests that failed with untracked 4xx Client Error status codes. - */ - OtherCount?: NullableLong; - /** - * The total number of requests that failed with a 4xx Client Error status code. - */ - TotalCount?: NullableLong; - } - export interface FaultStatistics { - /** - * The number of requests that failed with untracked 5xx Server Error status codes. - */ - OtherCount?: NullableLong; - /** - * The total number of requests that failed with a 5xx Server Error status code. - */ - TotalCount?: NullableLong; - } - export type FilterExpression = string; - export interface GetServiceGraphRequest { - /** - * The start of the time frame for which to generate a graph. - */ - StartTime: Timestamp; - /** - * The end of the time frame for which to generate a graph. - */ - EndTime: Timestamp; - /** - * Pagination token. Not used. - */ - NextToken?: String; - } - export interface GetServiceGraphResult { - /** - * The start of the time frame for which the graph was generated. - */ - StartTime?: Timestamp; - /** - * The end of the time frame for which the graph was generated. - */ - EndTime?: Timestamp; - /** - * The services that have processed a traced request during the specified time frame. - */ - Services?: ServiceList; - /** - * Pagination token. Not used. - */ - NextToken?: String; - } - export interface GetTraceGraphRequest { - /** - * Trace IDs of requests for which to generate a service graph. - */ - TraceIds: TraceIdList; - /** - * Pagination token. Not used. - */ - NextToken?: String; - } - export interface GetTraceGraphResult { - /** - * The services that have processed one of the specified requests. - */ - Services?: ServiceList; - /** - * Pagination token. Not used. - */ - NextToken?: String; - } - export interface GetTraceSummariesRequest { - /** - * The start of the time frame for which to retrieve traces. - */ - StartTime: Timestamp; - /** - * The end of the time frame for which to retrieve traces. - */ - EndTime: Timestamp; - /** - * Set to true to get summaries for only a subset of available traces. - */ - Sampling?: NullableBoolean; - /** - * Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements. - */ - FilterExpression?: FilterExpression; - /** - * Specify the pagination token returned by a previous request to retrieve the next page of results. - */ - NextToken?: String; - } - export interface GetTraceSummariesResult { - /** - * Trace IDs and metadata for traces that were found in the specified time frame. - */ - TraceSummaries?: TraceSummaryList; - /** - * The start time of this page of results. - */ - ApproximateTime?: Timestamp; - /** - * The number of traces that were processed to get this set of summaries. - */ - TracesProcessedCount?: NullableLong; - /** - * If the requested time frame contained more than one page of results, you can use this token to retrieve the next page. The first page contains the most most recent results, closest to the end of the time frame. - */ - NextToken?: String; - } - export type Histogram = HistogramEntry[]; - export interface HistogramEntry { - /** - * The value of the entry. - */ - Value?: Double; - /** - * The prevalence of the entry. - */ - Count?: Integer; - } - export interface Http { - /** - * The request URL. - */ - HttpURL?: String; - /** - * The response status. - */ - HttpStatus?: NullableInteger; - /** - * The request method. - */ - HttpMethod?: String; - /** - * The request's user agent string. - */ - UserAgent?: String; - /** - * The IP address of the requestor. - */ - ClientIp?: String; - } - export type Integer = number; - export type NullableBoolean = boolean; - export type NullableDouble = number; - export type NullableInteger = number; - export type NullableLong = number; - export interface PutTelemetryRecordsRequest { - /** - * - */ - TelemetryRecords: TelemetryRecordList; - /** - * - */ - EC2InstanceId?: String; - /** - * - */ - Hostname?: String; - /** - * - */ - ResourceARN?: String; - } - export interface PutTelemetryRecordsResult { - } - export interface PutTraceSegmentsRequest { - /** - * A string containing a JSON document defining one or more segments or subsegments. - */ - TraceSegmentDocuments: TraceSegmentDocumentList; - } - export interface PutTraceSegmentsResult { - /** - * Segments that failed processing. - */ - UnprocessedTraceSegments?: UnprocessedTraceSegmentList; - } - export interface Segment { - /** - * The segment's ID. - */ - Id?: SegmentId; - /** - * The segment document - */ - Document?: SegmentDocument; - } - export type SegmentDocument = string; - export type SegmentId = string; - export type SegmentList = Segment[]; - export interface Service { - /** - * Identifier for the service. Unique within the service map. - */ - ReferenceId?: NullableInteger; - /** - * The canonical name of the service. - */ - Name?: String; - /** - * A list of names for the service, including the canonical name. - */ - Names?: ServiceNames; - /** - * Indicates that the service was the first service to process a request. - */ - Root?: NullableBoolean; - /** - * Identifier of the AWS account in which the service runs. - */ - AccountId?: String; - /** - * The type of service. AWS Resource - The type of an AWS resource. For example, AWS::EC2::Instance for a application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application used. AWS Service - The type of an AWS service. For example, AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific table. client - Represents the clients that sent requests to a root service. remote - A downstream service of indeterminate type. - */ - Type?: String; - /** - * The service's state. - */ - State?: String; - /** - * The start time of the first segment that the service generated. - */ - StartTime?: Timestamp; - /** - * The end time of the last segment that the service generated. - */ - EndTime?: Timestamp; - /** - * Connections to downstream services. - */ - Edges?: EdgeList; - /** - * Aggregated statistics for the service. - */ - SummaryStatistics?: ServiceStatistics; - /** - * A histogram that maps the spread of service durations. - */ - DurationHistogram?: Histogram; - /** - * A histogram that maps the spread of service response times. - */ - ResponseTimeHistogram?: Histogram; - } - export interface ServiceId { - /** - * - */ - Name?: String; - /** - * - */ - Names?: ServiceNames; - /** - * - */ - AccountId?: String; - /** - * - */ - Type?: String; - } - export type ServiceIds = ServiceId[]; - export type ServiceList = Service[]; - export type ServiceNames = String[]; - export interface ServiceStatistics { - /** - * The number of requests that completed with a 2xx Success status code. - */ - OkCount?: NullableLong; - /** - * Information about requests that failed with a 4xx Client Error status code. - */ - ErrorStatistics?: ErrorStatistics; - /** - * Information about requests that failed with a 5xx Server Error status code. - */ - FaultStatistics?: FaultStatistics; - /** - * The total number of completed requests. - */ - TotalCount?: NullableLong; - /** - * The aggregate response time of completed requests. - */ - TotalResponseTime?: NullableDouble; - } - export type String = string; - export interface TelemetryRecord { - /** - * - */ - Timestamp?: Timestamp; - /** - * - */ - SegmentsReceivedCount?: NullableInteger; - /** - * - */ - SegmentsSentCount?: NullableInteger; - /** - * - */ - SegmentsSpilloverCount?: NullableInteger; - /** - * - */ - SegmentsRejectedCount?: NullableInteger; - /** - * - */ - BackendConnectionErrors?: BackendConnectionErrors; - } - export type TelemetryRecordList = TelemetryRecord[]; - export type Timestamp = Date; - export interface Trace { - /** - * The unique identifier for the request that generated the trace's segments and subsegments. - */ - Id?: TraceId; - /** - * The length of time in seconds between the start time of the root segment and the end time of the last segment that completed. - */ - Duration?: NullableDouble; - /** - * Segment documents for the segments and subsegments that comprise the trace. - */ - Segments?: SegmentList; - } - export type TraceId = string; - export type TraceIdList = TraceId[]; - export type TraceList = Trace[]; - export type TraceSegmentDocument = string; - export type TraceSegmentDocumentList = TraceSegmentDocument[]; - export interface TraceSummary { - /** - * The unique identifier for the request that generated the trace's segments and subsegments. - */ - Id?: TraceId; - /** - * The length of time in seconds between the start time of the root segment and the end time of the last segment that completed. - */ - Duration?: NullableDouble; - /** - * The length of time in seconds between the start and end times of the root segment. If the service performs work asynchronously, the response time measures the time before the response is sent to the user, while the duration measures the amount of time before the last traced activity completes. - */ - ResponseTime?: NullableDouble; - /** - * One or more of the segment documents has a 500 series error. - */ - HasFault?: NullableBoolean; - /** - * One or more of the segment documents has a 400 series error. - */ - HasError?: NullableBoolean; - /** - * One or more of the segment documents has a 429 throttling error. - */ - HasThrottle?: NullableBoolean; - /** - * One or more of the segment documents is in progress. - */ - IsPartial?: NullableBoolean; - /** - * Information about the HTTP request served by the trace. - */ - Http?: Http; - /** - * Annotations from the trace's segment documents. - */ - Annotations?: Annotations; - /** - * Users from the trace's segment documents. - */ - Users?: TraceUsers; - /** - * Service IDs from the trace's segment documents. - */ - ServiceIds?: ServiceIds; - } - export type TraceSummaryList = TraceSummary[]; - export interface TraceUser { - /** - * The user's name. - */ - UserName?: String; - /** - * Services that the user's request hit. - */ - ServiceIds?: ServiceIds; - } - export type TraceUsers = TraceUser[]; - export type UnprocessedTraceIdList = TraceId[]; - export interface UnprocessedTraceSegment { - /** - * The segment's ID. - */ - Id?: String; - /** - * The error that caused processing to fail. - */ - ErrorCode?: String; - /** - * The error message. - */ - Message?: String; - } - export type UnprocessedTraceSegmentList = UnprocessedTraceSegment[]; - export interface ValueWithServiceIds { - /** - * Values of the annotation. - */ - AnnotationValue?: AnnotationValue; - /** - * Services to which the annotation applies. - */ - ServiceIds?: ServiceIds; - } - export type ValuesWithServiceIds = ValueWithServiceIds[]; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2016-04-12"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the XRay client. - */ - export import Types = XRay; -} -export = XRay; diff --git a/src/node_modules/aws-sdk/clients/xray.js b/src/node_modules/aws-sdk/clients/xray.js deleted file mode 100644 index 815d5ba..0000000 --- a/src/node_modules/aws-sdk/clients/xray.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = require('../lib/service'); -var apiLoader = require('../lib/api_loader'); - -apiLoader.services['xray'] = {}; -AWS.XRay = Service.defineService('xray', ['2016-04-12']); -Object.defineProperty(apiLoader.services['xray'], '2016-04-12', { - get: function get() { - var model = require('../apis/xray-2016-04-12.min.json'); - model.paginators = require('../apis/xray-2016-04-12.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.XRay; diff --git a/src/node_modules/aws-sdk/dist-tools/browser-builder.js b/src/node_modules/aws-sdk/dist-tools/browser-builder.js deleted file mode 100755 index 9555ba8..0000000 --- a/src/node_modules/aws-sdk/dist-tools/browser-builder.js +++ /dev/null @@ -1,87 +0,0 @@ -#!/usr/bin/env node - -var path = require('path'); - -var AWS = require('../index'); - -var license = [ - '// AWS SDK for JavaScript v' + AWS.VERSION, - '// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.', - '// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt' -].join('\n') + '\n'; - -function minify(code) { - var uglify = require('uglify-js'); - var minified = uglify.minify(code, {fromString: true}); - return minified.code; -} - -function stripComments(code) { - var lines = code.split(/\r?\n/); - var multiLine = false; - lines = lines.map(function (line) { - var rLine = line; - if (line.match(/^\s*\/\//)) { - rLine = null; - } else if (line.match(/^\s*\/\*/)) { - multiLine = true; - rLine = null; - } - - if (multiLine) { - var multiLineEnd = line.match(/\*\/(.*)/); - if (multiLineEnd) { - multiLine = false; - rLine = multiLineEnd[1]; - } else { - rLine = null; - } - } - - return rLine; - }).filter(function(l) { return l !== null; }); - - var newCode = lines.join('\n'); - newCode = newCode.replace(/\/\*\*[\s\S]+?Copyright\s+.+?Amazon[\s\S]+?\*\//g, ''); - return newCode; -} - -function build(options, callback) { - if (arguments.length === 1) { - callback = options; - options = {}; - } - - var img = require('insert-module-globals'); - img.vars.process = function() { return '{browser:true}'; }; - - if (options.services) process.env.AWS_SERVICES = options.services; - - var browserify = require('browserify'); - var brOpts = { basedir: path.resolve(__dirname, '..') }; - browserify(brOpts).add('./').ignore('domain').bundle(function(err, data) { - if (err) return callback(err); - - var code = (data || '').toString(); - if (options.minify) code = minify(code); - else code = stripComments(code); - - code = license + code; - callback(null, code); - }); -} - -// run if we called this tool directly -if (require.main === module) { - var opts = { - services: process.argv[2] || process.env.SERVICES, - minify: process.env.MINIFY ? true : false - }; - build(opts, function(err, code) { - if (err) console.error(err.message); - else console.log(code); - }); -} - -build.license = license; -module.exports = build; diff --git a/src/node_modules/aws-sdk/dist-tools/client-creator.js b/src/node_modules/aws-sdk/dist-tools/client-creator.js deleted file mode 100644 index 52d7769..0000000 --- a/src/node_modules/aws-sdk/dist-tools/client-creator.js +++ /dev/null @@ -1,216 +0,0 @@ -var fs = require('fs'); -var path = require('path'); - -// Generate service clients -function ClientCreator() { - this._metadata = require('../apis/metadata'); - this._apisFolderPath = path.join(__dirname, '..', 'apis'); - this._clientFolderPath = path.join(__dirname, '..', 'clients'); - this._serviceCustomizationsFolderPath = path.join(__dirname, '..', 'lib', 'services'); - this._packageJsonPath = path.join(__dirname, '..', 'package.json'); - this._apiFileNames = null; -} - -ClientCreator.prototype.getAllApiFilenames = function getAllApiFilenames() { - if (this._apiFileNames) { - return this._apiFileNames; - } - var apiFileNames = fs.readdirSync(this._apisFolderPath); - // filter out metadata - this._apiFileNames = apiFileNames.filter(function(name) { - return name !== 'metadata.json'; - }); - return this._apiFileNames; -}; - -ClientCreator.prototype.getAllApiFilenamesForService = function getAllApiFilenamesForService(modelName) { - var serviceRegex = new RegExp('(^' + modelName + '-([\\d]{4}-[\\d]{2}-[\\d]{2})\\.([\\w]+))\\.json$'); - var modelRegex = /(([\d]{4}-[\d]{2}-[\d]{2})\.([\w]+))\.json$/; - - var models = {}; - var versions = {}; - this.getAllApiFilenames().filter(function(name) { - return name.search(serviceRegex) === 0; - }).forEach(function(name) { - var matches = name.match(serviceRegex); - if (!matches) { - return; - } - var model = matches[1]; - var version = matches[2]; - var modelType = matches[3]; - if (!versions.hasOwnProperty(version)) { - versions[version] = {}; - } - var versionInfo = versions[version]; - switch (modelType) { - case 'min': - versionInfo.api = model; - break; - case 'paginators': - versionInfo.paginators = model; - break; - case 'waiters2': - versionInfo.waiters = model; - break; - default: - return; - } - }); - models.versions = versions; - return models; -}; - -ClientCreator.prototype.customizationsExist = function customizationsExist(serviceName) { - var customizationsFolder = this._serviceCustomizationsFolderPath; - return fs.existsSync(path.join(customizationsFolder, serviceName + '.js')); -}; - -ClientCreator.prototype.generateClientFileSource = function generateClientFileSource(serviceMetadata, specifiedVersion) { - var clientFolderPath = this._clientFolderPath; - var className = serviceMetadata.name; - var serviceName = className.toLowerCase(); - var modelName = serviceMetadata.prefix || serviceName; - specifiedVersion = specifiedVersion || '*'; - - // get models for the service - var models = this.getAllApiFilenamesForService(modelName); - - var modelVersions = models && models.versions; - if (!modelVersions) { - throw new Error('Unable to get models for ' + modelName); - } - var obsoleteVersions = serviceMetadata.versions || []; - var versionNumbers = Object.keys(modelVersions); - var tab = ' '; - var code = ''; - code += 'require(\'../lib/node_loader\');\n'; - code += 'var AWS = require(\'../lib/core\');\n'; - code += 'var Service = require(\'../lib/service\');\n'; - code += 'var apiLoader = require(\'../lib/api_loader\');\n\n'; - code += 'apiLoader.services[\'' + serviceName +'\'] = {};\n'; - code += 'AWS.' + className + ' = Service.defineService(\'' + serviceName + '\', [\'' + [].concat(obsoleteVersions, versionNumbers).sort().join('\', \'') + '\']);\n'; - // pull in service customizations - if (this.customizationsExist(serviceName)) { - code += 'require(\'../lib/services/' + serviceName + '\');\n'; - } - versionNumbers.forEach(function(version) { - // check version - if (specifiedVersion !== '*' && specifiedVersion !== version) { - return; - } - var versionInfo = modelVersions[version]; - if (!versionInfo.hasOwnProperty('api')) { - throw new Error('No API model for ' + serviceName + '-' + version); - } - code += 'Object.defineProperty(apiLoader.services[\'' + serviceName +'\'], \'' + version + '\', {\n'; - code += tab + 'get: function get() {\n'; - code += tab + tab + 'var model = require(\'../apis/' + versionInfo.api + '.json\');\n' - if (versionInfo.hasOwnProperty('paginators')) { - code += tab + tab + 'model.paginators = require(\'../apis/' + versionInfo.paginators + '.json\').pagination;\n'; - } - if (versionInfo.hasOwnProperty('waiters')) { - code += tab + tab + 'model.waiters = require(\'../apis/' + versionInfo.waiters + '.json\').waiters;\n'; - } - code += tab + tab + 'return model;\n'; - code += tab + '},\n'; - code += tab + 'enumerable: true,\n'; - code += tab + 'configurable: true\n'; - code += '});\n'; - }); - - code += '\n'; - code += 'module.exports = AWS.' + className + ';\n'; - return { - code: code, - path: path.join(clientFolderPath, serviceName + '.js'), - service: serviceName, - } -}; - -ClientCreator.prototype.tabs = function tabs(count) { - var tab = ''; - for (var i = 0; i < count; i++) { - tab += ' '; - } - return tab; -} - -ClientCreator.prototype.generateDefinePropertySource = function generateDefinePropertySource(objName, serviceName, className) { - var tabs = this.tabs; - var code = ''; - code += 'var ' + serviceName + ' = null;\n'; - code += 'Object.defineProperty(' + objName + ', \'' + className + '\', {\n'; - code += tabs(1) + 'get: function get() {\n'; - code += tabs(2) + 'return ' + serviceName + ' || require(\'./' + serviceName + '\');\n'; - code += tabs(1) + '},\n'; - code += tabs(1) + 'set: function set(svc) {\n'; - code += tabs(2) + serviceName + ' = svc;\n'; - code += tabs(1) + '},\n'; - code += tabs(1) + 'enumerable: true,\n'; - code += tabs(1) + 'configurable: true\n'; - code += '});\n'; - - return code; -}; - -ClientCreator.prototype.generateAllServicesSource = function generateAllServicesSource(services, fileName) { - var metadata = this._metadata; - var self = this; - var code = ''; - code += 'require(\'../lib/node_loader\');\n'; - code += 'var AWS = require(\'../lib/core\');\n\n'; - code += 'module.exports = {\n'; - - services.forEach(function(service, idx) { - var className = metadata[service].name; - var tab = ' '; - var isLast = idx === services.length - 1; - //code += self.generateDefinePropertySource('AWS', service, className); - code += self.tabs(1) + className + ': require(\'./' + service + '\')' + (isLast ? '' : ',') + '\n'; - }); - code += '};'; - return { - code: code, - path: path.join(this._clientFolderPath, fileName + '.js'), - service: fileName - }; -}; - -ClientCreator.prototype.getDefaultServices = function getDefaultServices() { - var metadata = this._metadata; - var services = []; - for (var key in metadata) { - if (!metadata.hasOwnProperty(key)) { - continue; - } - var className = metadata[key].name; - var serviceName = className.toLowerCase(); - services.push(serviceName); - } - return services; -}; - -ClientCreator.prototype.writeClientServices = function writeClientServices() { - var metadata = this._metadata; - var services = []; - var corsServices = []; - for (var key in metadata) { - if (!metadata.hasOwnProperty(key)) { - continue; - } - var clientInfo = this.generateClientFileSource(metadata[key]); - fs.writeFileSync(clientInfo.path, clientInfo.code); - services.push(clientInfo.service); - // check if service supports CORS - if (metadata[key].cors === true) { - corsServices.push(clientInfo.service); - } - } - var allClientInfo = this.generateAllServicesSource(services, 'all'); - fs.writeFileSync(allClientInfo.path, allClientInfo.code); - var browserClientInfo = this.generateAllServicesSource(corsServices, 'browser_default'); - fs.writeFileSync(browserClientInfo.path, browserClientInfo.code); -}; - -module.exports = ClientCreator; \ No newline at end of file diff --git a/src/node_modules/aws-sdk/dist-tools/create-all-services.js b/src/node_modules/aws-sdk/dist-tools/create-all-services.js deleted file mode 100644 index 8549b4c..0000000 --- a/src/node_modules/aws-sdk/dist-tools/create-all-services.js +++ /dev/null @@ -1,6 +0,0 @@ -var ClientCreator = require('./client-creator'); - -var cc = new ClientCreator(); - -cc.writeClientServices(); -console.log('Finished updating services.'); \ No newline at end of file diff --git a/src/node_modules/aws-sdk/dist-tools/service-collector.js b/src/node_modules/aws-sdk/dist-tools/service-collector.js deleted file mode 100644 index b0a4b61..0000000 --- a/src/node_modules/aws-sdk/dist-tools/service-collector.js +++ /dev/null @@ -1,168 +0,0 @@ -var fs = require('fs'); -var util = require('util'); -var path = require('path'); - -var AWS = require('../'); -var apis = require('../lib/api_loader'); -var metadata = require('../apis/metadata'); -var ClientCreator = require('./client-creator'); - -var clientCreator = new ClientCreator(); -var defaultServices = clientCreator.getDefaultServices().join(','); -var sanitizeRegex = /[^a-zA-Z0-9,-]/; - -var serviceClasses = {}; -Object.keys(AWS).forEach(function(name) { - if (AWS[name].serviceIdentifier) { - serviceClasses[AWS[name].serviceIdentifier] = AWS[name]; - } -}); - -function getServiceHeader(service) { - if (service === 'all') { - return Object.keys(serviceClasses).map(function(name) { - return getServiceHeader(name); - }).join('\n'); - } - - if (!serviceClasses[service]) return null; - var versions = serviceClasses[service].apiVersions.map(function(version) { - return version.indexOf('*') >= 0 ? null : version; - }).filter(function(c) { return c !== null; }); - - var file = util.format( - 'if (!Object.prototype.hasOwnProperty.call(AWS, \'' + metadata[service].name + '\')) {\n' + - ' AWS.apiLoader.services[\'%s\'] = {};\n' + - ' AWS.%s = AWS.Service.defineService(\'%s\', %s);\n', - service, metadata[service].name, service, util.inspect(versions)); - var svcPath = path.join(__dirname, '..', 'lib', 'services', service + '.js'); - if (fs.existsSync(svcPath)) { - file += ' require(\'./services/' + service + '\');\n'; - } - file += '}\n'; - - return file; -} - -function getService(service, version) { - if (service === 'all') { - return Object.keys(serviceClasses).map(function(name) { - var out = serviceClasses[name].apiVersions.map(function(svcVersion) { - if (svcVersion.indexOf('*') >= 0) return null; - return getService(name, svcVersion); - }).filter(function(c) { return c !== null; }).join('\n'); - - return out; - }).join('\n'); - } - - var svc, api; - if (!serviceClasses[service]) { - return null; - } - - try { - var ClassName = serviceClasses[service]; - svc = new ClassName({apiVersion: version, endpoint: 'localhost'}); - api = svc.api; - } catch (e) { - return null; - } - - var serviceFileName = metadata[service].prefix || service; - var lines = []; - var line = util.format( - 'AWS.apiLoader.services[\'%s\'][\'%s\'] = %s;\n', - service, svc.api.apiVersion, 'require(\'../apis/' + serviceFileName + '-' + svc.api.apiVersion + '.min\')'); - lines.push(line); - if (Object.prototype.hasOwnProperty.call(api, 'paginators') && Object.keys(api.paginators).length) { - line = util.format( - 'AWS.apiLoader.services[\'%s\'][\'%s\'].paginators = %s;\n', - service, svc.api.apiVersion, 'require(\'../apis/' + serviceFileName + '-' + svc.api.apiVersion + '.paginators\').pagination'); - lines.push(line); - } - if (Object.prototype.hasOwnProperty.call(api, 'waiters') && Object.keys(api.waiters).length) { - line = util.format( - 'AWS.apiLoader.services[\'%s\'][\'%s\'].waiters = %s;\n', - service, svc.api.apiVersion, 'require(\'../apis/' + serviceFileName + '-' + svc.api.apiVersion + '.waiters2\').waiters'); - lines.push(line); - } - return lines.join(''); -} - -function ServiceCollector(services) { - var builtServices = {}; - - function buildService(name, usingDefaultServices) { - var match = name.match(/^(.+?)(?:-(.+?))?$/); - var service = match[1], version = match[2] || 'latest'; - var contents = []; - var lines, err; - - if (!builtServices[service]) { - builtServices[service] = {}; - - lines = getServiceHeader(service); - if (lines === null) { - if (!usingDefaultServices) { - err = new Error('Invalid module: ' + service); - err.name = 'InvalidModuleError'; - throw err; - } - } else { - contents.push(lines); - } - } - - if (!builtServices[service][version]) { - builtServices[service][version] = true; - - lines = getService(service, version); - if (lines === null) { - if (!usingDefaultServices) { - err = new Error('Invalid module: ' + service + '-' + version); - err.name = 'InvalidModuleError'; - throw err; - } - } else { - contents.push(lines); - } - } - - return contents.join(''); - } - - var serviceCode = ''; - var usingDefaultServicesToggle = false; - if (!services) { - usingDefaultServicesToggle = true; - services = defaultServices; - } - if (services.match(sanitizeRegex)) { - throw new Error('Incorrectly formatted service names'); - } - - var invalidModules = []; - var stsIncluded = false; - services.split(',').sort().forEach(function(name) { - if (name.match(/^sts\b/) || name === 'all') stsIncluded = true; - try { - serviceCode += buildService(name, usingDefaultServicesToggle) + '\n'; - } catch (e) { - if (e.name === 'InvalidModuleError') invalidModules.push(name); - else throw e; - } - }); - - if (!stsIncluded) { - serviceCode += buildService('sts') + '\n'; - } - - if (invalidModules.length > 0) { - throw new Error('Missing modules: ' + invalidModules.join(', ')); - } - - return serviceCode; -} - -module.exports = ServiceCollector; \ No newline at end of file diff --git a/src/node_modules/aws-sdk/dist-tools/transform.js b/src/node_modules/aws-sdk/dist-tools/transform.js deleted file mode 100644 index ff7d2fc..0000000 --- a/src/node_modules/aws-sdk/dist-tools/transform.js +++ /dev/null @@ -1,43 +0,0 @@ -var Transform = require('stream').Transform; -var collector = require('./service-collector'); -var license = require('./browser-builder').license; - -module.exports = function(file) { - var stream = new Transform(); - - var didDefineServices = !!process.env.AWS_SERVICES; - - var isEntryPoint = !!file.match(/[\/\\]lib[\/\\]browser\.js$/); - - stream._transform = function(data, encoding, callback) { - callback(null, data); - }; - - if (isEntryPoint) { - if (didDefineServices) { - // We need to strip out the default requires statement - stream._transform = function(data, encoding, callback) { - var code = data.toString(); - code = code.trim(); - var lines = code.split('\n'); - lines = lines.filter(function(line) { - return !line.match(/^require\(.+browser_default['"]\);$/); - }); - - code = lines.join('\n'); - data = new Buffer(code); - callback(null, data); - }; - - var src = collector(process.env.AWS_SERVICES); - stream._flush = function(callback) { - stream.push(src); - callback(); - }; - } - - stream.push(license); - } - - return stream; -}; diff --git a/src/node_modules/aws-sdk/dist-tools/webpack.config.rn.js b/src/node_modules/aws-sdk/dist-tools/webpack.config.rn.js deleted file mode 100644 index be54df1..0000000 --- a/src/node_modules/aws-sdk/dist-tools/webpack.config.rn.js +++ /dev/null @@ -1,34 +0,0 @@ -// import path for resolving file paths -var path = require('path'); -module.exports = { - // Specify the entry point for our app. - entry: [ - path.join(__dirname, '..', 'react-native.js') - ], - // Specify the output file containing our bundled code - output: { - path: path.join(__dirname, '..', 'dist'), - filename: 'aws-sdk-react-native.js', - libraryTarget: 'umd', - library: 'AWS' - }, - resolve: { - packageAlias: 'react-native' - }, - module: { - /** - * Tell webpack how to load 'json' files. - * By default, webpack only knows how to handle - * JavaScript files. - * When webpack comes across a 'require()' statement - * where a json file is being imported, it will use - * the json-loader. - */ - loaders: [ - { - test: /\.json$/, - loaders: ['json'] - } - ] - } -} \ No newline at end of file diff --git a/src/node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt b/src/node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt deleted file mode 100644 index 59783ab..0000000 --- a/src/node_modules/aws-sdk/dist/BUNDLE_LICENSE.txt +++ /dev/null @@ -1,96 +0,0 @@ -The bundled package of the AWS SDK for JavaScript is available under the -Apache License, Version 2.0: - - Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"). You - may not use this file except in compliance with the License. A copy of - the License is located at - - http://aws.amazon.com/apache2.0/ - - or in the "license" file accompanying this file. This file is - distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF - ANY KIND, either express or implied. See the License for the specific - language governing permissions and limitations under the License. - -This product bundles browserify, which is available under a -"3-clause BSD" license: - - Copyright Joyent, Inc. and other Node contributors. - - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to permit - persons to whom the Software is furnished to do so, subject to the - following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - USE OR OTHER DEALINGS IN THE SOFTWARE. - -This product bundles crypto-browserify, which is available under -the MIT license: - - Copyright (c) 2013 Dominic Tarr - - Permission is hereby granted, free of charge, - to any person obtaining a copy of this software and - associated documentation files (the "Software"), to - deal in the Software without restriction, including - without limitation the rights to use, copy, modify, - merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom - the Software is furnished to do so, - subject to the following conditions: - - The above copyright notice and this permission notice - shall be included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR - ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -This product bundles MD5, SHA-1, and SHA-256 hashing algorithm components, -which are available under a BSD license: - - Copyright (c) 1998 - 2009, Paul Johnston & Contributors - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyrightnotice, - this list of conditions and the following disclaimer. Redistributions - in binary form must reproduce the above copyright notice, this list of - conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. - - Neither the name of the author nor the names of its contributors may - be used to endorse or promote products derived from this software - without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/node_modules/aws-sdk/dist/aws-sdk-react-native.js b/src/node_modules/aws-sdk/dist/aws-sdk-react-native.js deleted file mode 100644 index 9cf73fb..0000000 --- a/src/node_modules/aws-sdk/dist/aws-sdk-react-native.js +++ /dev/null @@ -1,177575 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["AWS"] = factory(); - else - root["AWS"] = factory(); -})(this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - - module.exports = __webpack_require__(1); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - - __webpack_require__(2); - - var AWS = __webpack_require__(5); - - __webpack_require__(299); - module.exports = AWS; - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(process) {var util = __webpack_require__(4); - - // react-native specific modules - util.crypto.lib = __webpack_require__(280); - util.Buffer = __webpack_require__(203).Buffer; - util.url = __webpack_require__(286); - util.querystring = __webpack_require__(288); - util.environment = 'js-react-native'; - - var AWS = __webpack_require__(5); - - // Use default API loader function - __webpack_require__(187); - - // Load the DOMParser XML parser - AWS.XML.Parser = __webpack_require__(291); - - // Load the XHR HttpClient - __webpack_require__(297); - - // add custom request event handlers - var addContentType = __webpack_require__(298).addContentType; - AWS.EventListeners.Core.addNamedListeners(function(add) { - add('ADD_CONTENT_TYPE', 'afterBuild', addContentType); - }); - - if (typeof process === 'undefined') { - process = {}; - } - process.browser = true; - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3))) - -/***/ }), -/* 3 */ -/***/ (function(module, exports) { - - // shim for using process in browser - var process = module.exports = {}; - - // cached from whatever global is present so that test runners that stub it - // don't break things. But we need to wrap it in a try catch in case it is - // wrapped in strict mode code which doesn't define any globals. It's inside a - // function because try/catches deoptimize in certain engines. - - var cachedSetTimeout; - var cachedClearTimeout; - - function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); - } - function defaultClearTimeout () { - throw new Error('clearTimeout has not been defined'); - } - (function () { - try { - if (typeof setTimeout === 'function') { - cachedSetTimeout = setTimeout; - } else { - cachedSetTimeout = defaultSetTimout; - } - } catch (e) { - cachedSetTimeout = defaultSetTimout; - } - try { - if (typeof clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; - } else { - cachedClearTimeout = defaultClearTimeout; - } - } catch (e) { - cachedClearTimeout = defaultClearTimeout; - } - } ()) - function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } - // if setTimeout wasn't available but was latter defined - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout(fun, 0); - } catch(e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout.call(null, fun, 0); - } catch(e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout.call(this, fun, 0); - } - } - - - } - function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } - // if clearTimeout wasn't available but was latter defined - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout(marker); - } catch (e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout.call(null, marker); - } catch (e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout.call(this, marker); - } - } - - - - } - var queue = []; - var draining = false; - var currentQueue; - var queueIndex = -1; - - function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } - } - - function drainQueue() { - if (draining) { - return; - } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - runClearTimeout(timeout); - } - - process.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - runTimeout(drainQueue); - } - }; - - // v8 likes predictible objects - function Item(fun, array) { - this.fun = fun; - this.array = array; - } - Item.prototype.run = function () { - this.fun.apply(null, this.array); - }; - process.title = 'browser'; - process.browser = true; - process.env = {}; - process.argv = []; - process.version = ''; // empty string to avoid regexp issues - process.versions = {}; - - function noop() {} - - process.on = noop; - process.addListener = noop; - process.once = noop; - process.off = noop; - process.removeListener = noop; - process.removeAllListeners = noop; - process.emit = noop; - process.prependListener = noop; - process.prependOnceListener = noop; - - process.listeners = function (name) { return [] } - - process.binding = function (name) { - throw new Error('process.binding is not supported'); - }; - - process.cwd = function () { return '/' }; - process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); - }; - process.umask = function() { return 0; }; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(process) {/* eslint guard-for-in:0 */ - var AWS; - - /** - * A set of utility methods for use with the AWS SDK. - * - * @!attribute abort - * Return this value from an iterator function {each} or {arrayEach} - * to break out of the iteration. - * @example Breaking out of an iterator function - * AWS.util.each({a: 1, b: 2, c: 3}, function(key, value) { - * if (key == 'b') return AWS.util.abort; - * }); - * @see each - * @see arrayEach - * @api private - */ - var util = { - environment: 'nodejs', - engine: function engine() { - if (util.isBrowser() && typeof navigator !== 'undefined') { - return navigator.userAgent; - } else { - var engine = process.platform + '/' + process.version; - if (process.env.AWS_EXECUTION_ENV) { - engine += ' exec-env/' + process.env.AWS_EXECUTION_ENV; - } - return engine; - } - }, - - userAgent: function userAgent() { - var name = util.environment; - var agent = 'aws-sdk-' + name + '/' + __webpack_require__(5).VERSION; - if (name === 'nodejs') agent += ' ' + util.engine(); - return agent; - }, - - isBrowser: function isBrowser() { return process && process.browser; }, - isNode: function isNode() { return !util.isBrowser(); }, - uriEscape: function uriEscape(string) { - var output = encodeURIComponent(string); - output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape); - - // AWS percent-encodes some extra non-standard characters in a URI - output = output.replace(/[*]/g, function(ch) { - return '%' + ch.charCodeAt(0).toString(16).toUpperCase(); - }); - - return output; - }, - - uriEscapePath: function uriEscapePath(string) { - var parts = []; - util.arrayEach(string.split('/'), function (part) { - parts.push(util.uriEscape(part)); - }); - return parts.join('/'); - }, - - urlParse: function urlParse(url) { - return util.url.parse(url); - }, - - urlFormat: function urlFormat(url) { - return util.url.format(url); - }, - - queryStringParse: function queryStringParse(qs) { - return util.querystring.parse(qs); - }, - - queryParamsToString: function queryParamsToString(params) { - var items = []; - var escape = util.uriEscape; - var sortedKeys = Object.keys(params).sort(); - - util.arrayEach(sortedKeys, function(name) { - var value = params[name]; - var ename = escape(name); - var result = ename + '='; - if (Array.isArray(value)) { - var vals = []; - util.arrayEach(value, function(item) { vals.push(escape(item)); }); - result = ename + '=' + vals.sort().join('&' + ename + '='); - } else if (value !== undefined && value !== null) { - result = ename + '=' + escape(value); - } - items.push(result); - }); - - return items.join('&'); - }, - - readFileSync: function readFileSync(path) { - if (util.isBrowser()) return null; - return __webpack_require__(222).readFileSync(path, 'utf-8'); - }, - - base64: { - encode: function encode64(string) { - if (typeof string === 'number') { - throw util.error(new Error('Cannot base64 encode number ' + string)); - } - if (string === null || typeof string === 'undefined') { - return string; - } - var buf = (typeof util.Buffer.from === 'function' && util.Buffer.from !== Uint8Array.from) ? util.Buffer.from(string) : new util.Buffer(string); - return buf.toString('base64'); - }, - - decode: function decode64(string) { - if (typeof string === 'number') { - throw util.error(new Error('Cannot base64 decode number ' + string)); - } - if (string === null || typeof string === 'undefined') { - return string; - } - return (typeof util.Buffer.from === 'function' && util.Buffer.from !== Uint8Array.from) ? util.Buffer.from(string, 'base64') : new util.Buffer(string, 'base64'); - } - - }, - - buffer: { - toStream: function toStream(buffer) { - if (!util.Buffer.isBuffer(buffer)) buffer = new util.Buffer(buffer); - - var readable = new (util.stream.Readable)(); - var pos = 0; - readable._read = function(size) { - if (pos >= buffer.length) return readable.push(null); - - var end = pos + size; - if (end > buffer.length) end = buffer.length; - readable.push(buffer.slice(pos, end)); - pos = end; - }; - - return readable; - }, - - /** - * Concatenates a list of Buffer objects. - */ - concat: function(buffers) { - var length = 0, - offset = 0, - buffer = null, i; - - for (i = 0; i < buffers.length; i++) { - length += buffers[i].length; - } - - buffer = new util.Buffer(length); - - for (i = 0; i < buffers.length; i++) { - buffers[i].copy(buffer, offset); - offset += buffers[i].length; - } - - return buffer; - } - }, - - string: { - byteLength: function byteLength(string) { - if (string === null || string === undefined) return 0; - if (typeof string === 'string') string = new util.Buffer(string); - - if (typeof string.byteLength === 'number') { - return string.byteLength; - } else if (typeof string.length === 'number') { - return string.length; - } else if (typeof string.size === 'number') { - return string.size; - } else if (typeof string.path === 'string') { - return __webpack_require__(222).lstatSync(string.path).size; - } else { - throw util.error(new Error('Cannot determine length of ' + string), - { object: string }); - } - }, - - upperFirst: function upperFirst(string) { - return string[0].toUpperCase() + string.substr(1); - }, - - lowerFirst: function lowerFirst(string) { - return string[0].toLowerCase() + string.substr(1); - } - }, - - ini: { - parse: function string(ini) { - var currentSection, map = {}; - util.arrayEach(ini.split(/\r?\n/), function(line) { - line = line.split(/(^|\s)[;#]/)[0]; // remove comments - var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/); - if (section) { - currentSection = section[1]; - } else if (currentSection) { - var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/); - if (item) { - map[currentSection] = map[currentSection] || {}; - map[currentSection][item[1]] = item[2]; - } - } - }); - - return map; - } - }, - - fn: { - noop: function() {}, - - /** - * Turn a synchronous function into as "async" function by making it call - * a callback. The underlying function is called with all but the last argument, - * which is treated as the callback. The callback is passed passed a first argument - * of null on success to mimick standard node callbacks. - */ - makeAsync: function makeAsync(fn, expectedArgs) { - if (expectedArgs && expectedArgs <= fn.length) { - return fn; - } - - return function() { - var args = Array.prototype.slice.call(arguments, 0); - var callback = args.pop(); - var result = fn.apply(null, args); - callback(result); - }; - } - }, - - /** - * Date and time utility functions. - */ - date: { - - /** - * @return [Date] the current JavaScript date object. Since all - * AWS services rely on this date object, you can override - * this function to provide a special time value to AWS service - * requests. - */ - getDate: function getDate() { - if (!AWS) AWS = __webpack_require__(5); - if (AWS.config.systemClockOffset) { // use offset when non-zero - return new Date(new Date().getTime() + AWS.config.systemClockOffset); - } else { - return new Date(); - } - }, - - /** - * @return [String] the date in ISO-8601 format - */ - iso8601: function iso8601(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.toISOString().replace(/\.\d{3}Z$/, 'Z'); - }, - - /** - * @return [String] the date in RFC 822 format - */ - rfc822: function rfc822(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.toUTCString(); - }, - - /** - * @return [Integer] the UNIX timestamp value for the current time - */ - unixTimestamp: function unixTimestamp(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.getTime() / 1000; - }, - - /** - * @param [String,number,Date] date - * @return [Date] - */ - from: function format(date) { - if (typeof date === 'number') { - return new Date(date * 1000); // unix timestamp - } else { - return new Date(date); - } - }, - - /** - * Given a Date or date-like value, this function formats the - * date into a string of the requested value. - * @param [String,number,Date] date - * @param [String] formatter Valid formats are: - # * 'iso8601' - # * 'rfc822' - # * 'unixTimestamp' - * @return [String] - */ - format: function format(date, formatter) { - if (!formatter) formatter = 'iso8601'; - return util.date[formatter](util.date.from(date)); - }, - - parseTimestamp: function parseTimestamp(value) { - if (typeof value === 'number') { // unix timestamp (number) - return new Date(value * 1000); - } else if (value.match(/^\d+$/)) { // unix timestamp - return new Date(value * 1000); - } else if (value.match(/^\d{4}/)) { // iso8601 - return new Date(value); - } else if (value.match(/^\w{3},/)) { // rfc822 - return new Date(value); - } else { - throw util.error( - new Error('unhandled timestamp format: ' + value), - {code: 'TimestampParserError'}); - } - } - - }, - - crypto: { - crc32Table: [ - 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, - 0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, - 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, - 0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, - 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856, - 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9, - 0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4, - 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, - 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, - 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, 0x26D930AC, 0x51DE003A, - 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, - 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, - 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190, - 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, - 0x9FBFE4A5, 0xE8B8D433, 0x7807C9A2, 0x0F00F934, 0x9609A88E, - 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, - 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED, - 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950, - 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, - 0xFBD44C65, 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, - 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A, - 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5, - 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA, 0xBE0B1010, - 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, - 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, - 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6, - 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615, - 0x73DC1683, 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, - 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, 0xF00F9344, - 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB, - 0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, - 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, - 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, - 0xA6BC5767, 0x3FB506DD, 0x48B2364B, 0xD80D2BDA, 0xAF0A1B4C, - 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, - 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, - 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE, - 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31, - 0x2CD99E8B, 0x5BDEAE1D, 0x9B64C2B0, 0xEC63F226, 0x756AA39C, - 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, - 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B, - 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242, - 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, - 0x18B74777, 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, - 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, 0xA00AE278, - 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7, - 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, - 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, - 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, - 0xCDD70693, 0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8, - 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, - 0x2D02EF8D], - - crc32: function crc32(data) { - var tbl = util.crypto.crc32Table; - var crc = 0 ^ -1; - - if (typeof data === 'string') { - data = new util.Buffer(data); - } - - for (var i = 0; i < data.length; i++) { - var code = data.readUInt8(i); - crc = (crc >>> 8) ^ tbl[(crc ^ code) & 0xFF]; - } - return (crc ^ -1) >>> 0; - }, - - hmac: function hmac(key, string, digest, fn) { - if (!digest) digest = 'binary'; - if (digest === 'buffer') { digest = undefined; } - if (!fn) fn = 'sha256'; - if (typeof string === 'string') string = new util.Buffer(string); - return util.crypto.lib.createHmac(fn, key).update(string).digest(digest); - }, - - md5: function md5(data, digest, callback) { - return util.crypto.hash('md5', data, digest, callback); - }, - - sha256: function sha256(data, digest, callback) { - return util.crypto.hash('sha256', data, digest, callback); - }, - - hash: function(algorithm, data, digest, callback) { - var hash = util.crypto.createHash(algorithm); - if (!digest) { digest = 'binary'; } - if (digest === 'buffer') { digest = undefined; } - if (typeof data === 'string') data = new util.Buffer(data); - var sliceFn = util.arraySliceFn(data); - var isBuffer = util.Buffer.isBuffer(data); - //Identifying objects with an ArrayBuffer as buffers - if (util.isBrowser() && typeof ArrayBuffer !== 'undefined' && data && data.buffer instanceof ArrayBuffer) isBuffer = true; - - if (callback && typeof data === 'object' && - typeof data.on === 'function' && !isBuffer) { - data.on('data', function(chunk) { hash.update(chunk); }); - data.on('error', function(err) { callback(err); }); - data.on('end', function() { callback(null, hash.digest(digest)); }); - } else if (callback && sliceFn && !isBuffer && - typeof FileReader !== 'undefined') { - // this might be a File/Blob - var index = 0, size = 1024 * 512; - var reader = new FileReader(); - reader.onerror = function() { - callback(new Error('Failed to read data.')); - }; - reader.onload = function() { - var buf = new util.Buffer(new Uint8Array(reader.result)); - hash.update(buf); - index += buf.length; - reader._continueReading(); - }; - reader._continueReading = function() { - if (index >= data.size) { - callback(null, hash.digest(digest)); - return; - } - - var back = index + size; - if (back > data.size) back = data.size; - reader.readAsArrayBuffer(sliceFn.call(data, index, back)); - }; - - reader._continueReading(); - } else { - if (util.isBrowser() && typeof data === 'object' && !isBuffer) { - data = new util.Buffer(new Uint8Array(data)); - } - var out = hash.update(data).digest(digest); - if (callback) callback(null, out); - return out; - } - }, - - toHex: function toHex(data) { - var out = []; - for (var i = 0; i < data.length; i++) { - out.push(('0' + data.charCodeAt(i).toString(16)).substr(-2, 2)); - } - return out.join(''); - }, - - createHash: function createHash(algorithm) { - return util.crypto.lib.createHash(algorithm); - } - - }, - - /** @!ignore */ - - /* Abort constant */ - abort: {}, - - each: function each(object, iterFunction) { - for (var key in object) { - if (Object.prototype.hasOwnProperty.call(object, key)) { - var ret = iterFunction.call(this, key, object[key]); - if (ret === util.abort) break; - } - } - }, - - arrayEach: function arrayEach(array, iterFunction) { - for (var idx in array) { - if (Object.prototype.hasOwnProperty.call(array, idx)) { - var ret = iterFunction.call(this, array[idx], parseInt(idx, 10)); - if (ret === util.abort) break; - } - } - }, - - update: function update(obj1, obj2) { - util.each(obj2, function iterator(key, item) { - obj1[key] = item; - }); - return obj1; - }, - - merge: function merge(obj1, obj2) { - return util.update(util.copy(obj1), obj2); - }, - - copy: function copy(object) { - if (object === null || object === undefined) return object; - var dupe = {}; - // jshint forin:false - for (var key in object) { - dupe[key] = object[key]; - } - return dupe; - }, - - isEmpty: function isEmpty(obj) { - for (var prop in obj) { - if (Object.prototype.hasOwnProperty.call(obj, prop)) { - return false; - } - } - return true; - }, - - arraySliceFn: function arraySliceFn(obj) { - var fn = obj.slice || obj.webkitSlice || obj.mozSlice; - return typeof fn === 'function' ? fn : null; - }, - - isType: function isType(obj, type) { - // handle cross-"frame" objects - if (typeof type === 'function') type = util.typeName(type); - return Object.prototype.toString.call(obj) === '[object ' + type + ']'; - }, - - typeName: function typeName(type) { - if (Object.prototype.hasOwnProperty.call(type, 'name')) return type.name; - var str = type.toString(); - var match = str.match(/^\s*function (.+)\(/); - return match ? match[1] : str; - }, - - error: function error(err, options) { - var originalError = null; - if (typeof err.message === 'string' && err.message !== '') { - if (typeof options === 'string' || (options && options.message)) { - originalError = util.copy(err); - originalError.message = err.message; - } - } - err.message = err.message || null; - - if (typeof options === 'string') { - err.message = options; - } else if (typeof options === 'object' && options !== null) { - util.update(err, options); - if (options.message) - err.message = options.message; - if (options.code || options.name) - err.code = options.code || options.name; - if (options.stack) - err.stack = options.stack; - } - - if (typeof Object.defineProperty === 'function') { - Object.defineProperty(err, 'name', {writable: true, enumerable: false}); - Object.defineProperty(err, 'message', {enumerable: true}); - } - - err.name = options && options.name || err.name || err.code || 'Error'; - err.time = new Date(); - - if (originalError) err.originalError = originalError; - - return err; - }, - - /** - * @api private - */ - inherit: function inherit(klass, features) { - var newObject = null; - if (features === undefined) { - features = klass; - klass = Object; - newObject = {}; - } else { - var ctor = function ConstructorWrapper() {}; - ctor.prototype = klass.prototype; - newObject = new ctor(); - } - - // constructor not supplied, create pass-through ctor - if (features.constructor === Object) { - features.constructor = function() { - if (klass !== Object) { - return klass.apply(this, arguments); - } - }; - } - - features.constructor.prototype = newObject; - util.update(features.constructor.prototype, features); - features.constructor.__super__ = klass; - return features.constructor; - }, - - /** - * @api private - */ - mixin: function mixin() { - var klass = arguments[0]; - for (var i = 1; i < arguments.length; i++) { - // jshint forin:false - for (var prop in arguments[i].prototype) { - var fn = arguments[i].prototype[prop]; - if (prop !== 'constructor') { - klass.prototype[prop] = fn; - } - } - } - return klass; - }, - - /** - * @api private - */ - hideProperties: function hideProperties(obj, props) { - if (typeof Object.defineProperty !== 'function') return; - - util.arrayEach(props, function (key) { - Object.defineProperty(obj, key, { - enumerable: false, writable: true, configurable: true }); - }); - }, - - /** - * @api private - */ - property: function property(obj, name, value, enumerable, isValue) { - var opts = { - configurable: true, - enumerable: enumerable !== undefined ? enumerable : true - }; - if (typeof value === 'function' && !isValue) { - opts.get = value; - } - else { - opts.value = value; opts.writable = true; - } - - Object.defineProperty(obj, name, opts); - }, - - /** - * @api private - */ - memoizedProperty: function memoizedProperty(obj, name, get, enumerable) { - var cachedValue = null; - - // build enumerable attribute for each value with lazy accessor. - util.property(obj, name, function() { - if (cachedValue === null) { - cachedValue = get(); - } - return cachedValue; - }, enumerable); - }, - - /** - * TODO Remove in major version revision - * This backfill populates response data without the - * top-level payload name. - * - * @api private - */ - hoistPayloadMember: function hoistPayloadMember(resp) { - var req = resp.request; - var operation = req.operation; - var output = req.service.api.operations[operation].output; - if (output.payload) { - var payloadMember = output.members[output.payload]; - var responsePayload = resp.data[output.payload]; - if (payloadMember.type === 'structure') { - util.each(responsePayload, function(key, value) { - util.property(resp.data, key, value, false); - }); - } - } - }, - - /** - * Compute SHA-256 checksums of streams - * - * @api private - */ - computeSha256: function computeSha256(body, done) { - if (util.isNode()) { - var Stream = util.stream.Stream; - var fs = __webpack_require__(222); - if (body instanceof Stream) { - if (typeof body.path === 'string') { // assume file object - var settings = {}; - if (typeof body.start === 'number') { - settings.start = body.start; - } - if (typeof body.end === 'number') { - settings.end = body.end; - } - body = fs.createReadStream(body.path, settings); - } else { // TODO support other stream types - return done(new Error('Non-file stream objects are ' + - 'not supported with SigV4')); - } - } - } - - util.crypto.sha256(body, 'hex', function(err, sha) { - if (err) done(err); - else done(null, sha); - }); - }, - - /** - * @api private - */ - isClockSkewed: function isClockSkewed(serverTime) { - if (serverTime) { - util.property(AWS.config, 'isClockSkewed', - Math.abs(new Date().getTime() - serverTime) >= 300000, false); - return AWS.config.isClockSkewed; - } - }, - - applyClockOffset: function applyClockOffset(serverTime) { - if (serverTime) - AWS.config.systemClockOffset = serverTime - new Date().getTime(); - }, - - /** - * @api private - */ - extractRequestId: function extractRequestId(resp) { - var requestId = resp.httpResponse.headers['x-amz-request-id'] || - resp.httpResponse.headers['x-amzn-requestid']; - - if (!requestId && resp.data && resp.data.ResponseMetadata) { - requestId = resp.data.ResponseMetadata.RequestId; - } - - if (requestId) { - resp.requestId = requestId; - } - - if (resp.error) { - resp.error.requestId = requestId; - } - }, - - /** - * @api private - */ - addPromises: function addPromises(constructors, PromiseDependency) { - if (PromiseDependency === undefined && AWS && AWS.config) { - PromiseDependency = AWS.config.getPromisesDependency(); - } - if (PromiseDependency === undefined && typeof Promise !== 'undefined') { - PromiseDependency = Promise; - } - if (typeof PromiseDependency !== 'function') var deletePromises = true; - if (!Array.isArray(constructors)) constructors = [constructors]; - - for (var ind = 0; ind < constructors.length; ind++) { - var constructor = constructors[ind]; - if (deletePromises) { - if (constructor.deletePromisesFromClass) { - constructor.deletePromisesFromClass(); - } - } else if (constructor.addPromisesToClass) { - constructor.addPromisesToClass(PromiseDependency); - } - } - }, - - /** - * @api private - */ - promisifyMethod: function promisifyMethod(methodName, PromiseDependency) { - return function promise() { - var self = this; - return new PromiseDependency(function(resolve, reject) { - self[methodName](function(err, data) { - if (err) { - reject(err); - } else { - resolve(data); - } - }); - }); - }; - }, - - /** - * @api private - */ - isDualstackAvailable: function isDualstackAvailable(service) { - if (!service) return false; - var metadata = __webpack_require__(223); - if (typeof service !== 'string') service = service.serviceIdentifier; - if (typeof service !== 'string' || !metadata.hasOwnProperty(service)) return false; - return !!metadata[service].dualstackAvailable; - }, - - /** - * @api private - */ - calculateRetryDelay: function calculateRetryDelay(retryCount, retryDelayOptions) { - if (!retryDelayOptions) retryDelayOptions = {}; - var customBackoff = retryDelayOptions.customBackoff || null; - if (typeof customBackoff === 'function') { - return customBackoff(retryCount); - } - var base = typeof retryDelayOptions.base === 'number' ? retryDelayOptions.base : 100; - var delay = Math.random() * (Math.pow(2, retryCount) * base); - return delay; - }, - - /** - * @api private - */ - handleRequestWithRetries: function handleRequestWithRetries(httpRequest, options, cb) { - if (!options) options = {}; - var http = AWS.HttpClient.getInstance(); - var httpOptions = options.httpOptions || {}; - var retryCount = 0; - - var errCallback = function(err) { - var maxRetries = options.maxRetries || 0; - if (err && err.code === 'TimeoutError') err.retryable = true; - if (err && err.retryable && retryCount < maxRetries) { - retryCount++; - var delay = util.calculateRetryDelay(retryCount, options.retryDelayOptions); - setTimeout(sendRequest, delay + (err.retryAfter || 0)); - } else { - cb(err); - } - }; - - var sendRequest = function() { - var data = ''; - http.handleRequest(httpRequest, httpOptions, function(httpResponse) { - httpResponse.on('data', function(chunk) { data += chunk.toString(); }); - httpResponse.on('end', function() { - var statusCode = httpResponse.statusCode; - if (statusCode < 300) { - cb(null, data); - } else { - var retryAfter = parseInt(httpResponse.headers['retry-after'], 10) * 1000 || 0; - var err = util.error(new Error(), - { retryable: statusCode >= 500 || statusCode === 429 } - ); - if (retryAfter && err.retryable) err.retryAfter = retryAfter; - errCallback(err); - } - }); - }, errCallback); - }; - - process.nextTick(sendRequest); - }, - - /** - * @api private - */ - uuid: { - v4: function uuidV4() { - return __webpack_require__(224).v4(); - } - }, - - /** - * @api private - */ - convertPayloadToString: function convertPayloadToString(resp) { - var req = resp.request; - var operation = req.operation; - var rules = req.service.api.operations[operation].output || {}; - if (rules.payload && resp.data[rules.payload]) { - resp.data[rules.payload] = resp.data[rules.payload].toString(); - } - }, - - /** - * @api private - */ - defaultProfile: 'default', - - /** - * @api private - */ - configOptInEnv: 'AWS_SDK_LOAD_CONFIG', - - /** - * @api private - */ - sharedCredentialsFileEnv: 'AWS_SHARED_CREDENTIALS_FILE', - - /** - * @api private - */ - sharedConfigFileEnv: 'AWS_CONFIG_FILE' - }; - - module.exports = util; - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3))) - -/***/ }), -/* 5 */ -/***/ (function(module, exports, __webpack_require__) { - - /** - * The main AWS namespace - */ - var AWS = { util: __webpack_require__(4) }; - - /** - * @api private - * @!macro [new] nobrowser - * @note This feature is not supported in the browser environment of the SDK. - */ - var _hidden = {}; _hidden.toString(); // hack to parse macro - - module.exports = AWS; - - AWS.util.update(AWS, { - - /** - * @constant - */ - VERSION: '2.82.0', - - /** - * @api private - */ - Signers: {}, - - /** - * @api private - */ - Protocol: { - Json: __webpack_require__(6), - Query: __webpack_require__(9), - Rest: __webpack_require__(13), - RestJson: __webpack_require__(14), - RestXml: __webpack_require__(15) - }, - - /** - * @api private - */ - XML: { - Builder: __webpack_require__(16), - Parser: null // conditionally set based on environment - }, - - /** - * @api private - */ - JSON: { - Builder: __webpack_require__(7), - Parser: __webpack_require__(8) - }, - - /** - * @api private - */ - Model: { - Api: __webpack_require__(175), - Operation: __webpack_require__(176), - Shape: __webpack_require__(11), - Paginator: __webpack_require__(177), - ResourceWaiter: __webpack_require__(178) - }, - - util: __webpack_require__(4), - - /** - * @api private - */ - apiLoader: function() { throw new Error('No API loader set'); } - }); - - __webpack_require__(179); - __webpack_require__(182); - - __webpack_require__(183); - __webpack_require__(184); - __webpack_require__(185); - __webpack_require__(191); - __webpack_require__(192); - __webpack_require__(197); - - __webpack_require__(198); - __webpack_require__(199); - __webpack_require__(200); - __webpack_require__(208); - __webpack_require__(211); - __webpack_require__(212); - __webpack_require__(213); - __webpack_require__(221); - - /** - * @readonly - * @return [AWS.SequentialExecutor] a collection of global event listeners that - * are attached to every sent request. - * @see AWS.Request AWS.Request for a list of events to listen for - * @example Logging the time taken to send a request - * AWS.events.on('send', function startSend(resp) { - * resp.startTime = new Date().getTime(); - * }).on('complete', function calculateTime(resp) { - * var time = (new Date().getTime() - resp.startTime) / 1000; - * console.log('Request took ' + time + ' seconds'); - * }); - * - * new AWS.S3().listBuckets(); // prints 'Request took 0.285 seconds' - */ - AWS.events = new AWS.SequentialExecutor(); - - -/***/ }), -/* 6 */ -/***/ (function(module, exports, __webpack_require__) { - - var util = __webpack_require__(4); - var JsonBuilder = __webpack_require__(7); - var JsonParser = __webpack_require__(8); - - function buildRequest(req) { - var httpRequest = req.httpRequest; - var api = req.service.api; - var target = api.targetPrefix + '.' + api.operations[req.operation].name; - var version = api.jsonVersion || '1.0'; - var input = api.operations[req.operation].input; - var builder = new JsonBuilder(); - - if (version === 1) version = '1.0'; - httpRequest.body = builder.build(req.params || {}, input); - httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version; - httpRequest.headers['X-Amz-Target'] = target; - } - - function extractError(resp) { - var error = {}; - var httpResponse = resp.httpResponse; - - error.code = httpResponse.headers['x-amzn-errortype'] || 'UnknownError'; - if (typeof error.code === 'string') { - error.code = error.code.split(':')[0]; - } - - if (httpResponse.body.length > 0) { - try { - var e = JSON.parse(httpResponse.body.toString()); - if (e.__type || e.code) { - error.code = (e.__type || e.code).split('#').pop(); - } - if (error.code === 'RequestEntityTooLarge') { - error.message = 'Request body must be less than 1 MB'; - } else { - error.message = (e.message || e.Message || null); - } - } catch (e) { - error.statusCode = httpResponse.statusCode; - error.message = httpResponse.statusMessage; - } - } else { - error.statusCode = httpResponse.statusCode; - error.message = httpResponse.statusCode.toString(); - } - - resp.error = util.error(new Error(), error); - } - - function extractData(resp) { - var body = resp.httpResponse.body.toString() || '{}'; - if (resp.request.service.config.convertResponseTypes === false) { - resp.data = JSON.parse(body); - } else { - var operation = resp.request.service.api.operations[resp.request.operation]; - var shape = operation.output || {}; - var parser = new JsonParser(); - resp.data = parser.parse(body, shape); - } - } - - module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData - }; - - -/***/ }), -/* 7 */ -/***/ (function(module, exports, __webpack_require__) { - - var util = __webpack_require__(4); - - function JsonBuilder() { } - - JsonBuilder.prototype.build = function(value, shape) { - return JSON.stringify(translate(value, shape)); - }; - - function translate(value, shape) { - if (!shape || value === undefined || value === null) return undefined; - - switch (shape.type) { - case 'structure': return translateStructure(value, shape); - case 'map': return translateMap(value, shape); - case 'list': return translateList(value, shape); - default: return translateScalar(value, shape); - } - } - - function translateStructure(structure, shape) { - var struct = {}; - util.each(structure, function(name, value) { - var memberShape = shape.members[name]; - if (memberShape) { - if (memberShape.location !== 'body') return; - var locationName = memberShape.isLocationName ? memberShape.name : name; - var result = translate(value, memberShape); - if (result !== undefined) struct[locationName] = result; - } - }); - return struct; - } - - function translateList(list, shape) { - var out = []; - util.arrayEach(list, function(value) { - var result = translate(value, shape.member); - if (result !== undefined) out.push(result); - }); - return out; - } - - function translateMap(map, shape) { - var out = {}; - util.each(map, function(key, value) { - var result = translate(value, shape.value); - if (result !== undefined) out[key] = result; - }); - return out; - } - - function translateScalar(value, shape) { - return shape.toWireFormat(value); - } - - module.exports = JsonBuilder; - - -/***/ }), -/* 8 */ -/***/ (function(module, exports, __webpack_require__) { - - var util = __webpack_require__(4); - - function JsonParser() { } - - JsonParser.prototype.parse = function(value, shape) { - return translate(JSON.parse(value), shape); - }; - - function translate(value, shape) { - if (!shape || value === undefined) return undefined; - - switch (shape.type) { - case 'structure': return translateStructure(value, shape); - case 'map': return translateMap(value, shape); - case 'list': return translateList(value, shape); - default: return translateScalar(value, shape); - } - } - - function translateStructure(structure, shape) { - if (structure == null) return undefined; - - var struct = {}; - var shapeMembers = shape.members; - util.each(shapeMembers, function(name, memberShape) { - var locationName = memberShape.isLocationName ? memberShape.name : name; - if (Object.prototype.hasOwnProperty.call(structure, locationName)) { - var value = structure[locationName]; - var result = translate(value, memberShape); - if (result !== undefined) struct[name] = result; - } - }); - return struct; - } - - function translateList(list, shape) { - if (list == null) return undefined; - - var out = []; - util.arrayEach(list, function(value) { - var result = translate(value, shape.member); - if (result === undefined) out.push(null); - else out.push(result); - }); - return out; - } - - function translateMap(map, shape) { - if (map == null) return undefined; - - var out = {}; - util.each(map, function(key, value) { - var result = translate(value, shape.value); - if (result === undefined) out[key] = null; - else out[key] = result; - }); - return out; - } - - function translateScalar(value, shape) { - return shape.toType(value); - } - - module.exports = JsonParser; - - -/***/ }), -/* 9 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var util = __webpack_require__(4); - var QueryParamSerializer = __webpack_require__(10); - var Shape = __webpack_require__(11); - - function buildRequest(req) { - var operation = req.service.api.operations[req.operation]; - var httpRequest = req.httpRequest; - httpRequest.headers['Content-Type'] = - 'application/x-www-form-urlencoded; charset=utf-8'; - httpRequest.params = { - Version: req.service.api.apiVersion, - Action: operation.name - }; - - // convert the request parameters into a list of query params, - // e.g. Deeply.NestedParam.0.Name=value - var builder = new QueryParamSerializer(); - builder.serialize(req.params, operation.input, function(name, value) { - httpRequest.params[name] = value; - }); - httpRequest.body = util.queryParamsToString(httpRequest.params); - } - - function extractError(resp) { - var data, body = resp.httpResponse.body.toString(); - if (body.match(' -1 ? - value || '' : value; - if (this.isJsonValue) { - return JSON.parse(value); - } - - return value && typeof value.toString === 'function' ? - value.toString() : value; - }; - - this.toWireFormat = function(value) { - return this.isJsonValue ? JSON.stringify(value) : value; - }; - } - - function FloatShape() { - Shape.apply(this, arguments); - - this.toType = function(value) { - if (value === null || value === undefined) return null; - return parseFloat(value); - }; - this.toWireFormat = this.toType; - } - - function IntegerShape() { - Shape.apply(this, arguments); - - this.toType = function(value) { - if (value === null || value === undefined) return null; - return parseInt(value, 10); - }; - this.toWireFormat = this.toType; - } - - function BinaryShape() { - Shape.apply(this, arguments); - this.toType = util.base64.decode; - this.toWireFormat = util.base64.encode; - } - - function Base64Shape() { - BinaryShape.apply(this, arguments); - } - - function BooleanShape() { - Shape.apply(this, arguments); - - this.toType = function(value) { - if (typeof value === 'boolean') return value; - if (value === null || value === undefined) return null; - return value === 'true'; - }; - } - - /** - * @api private - */ - Shape.shapes = { - StructureShape: StructureShape, - ListShape: ListShape, - MapShape: MapShape, - StringShape: StringShape, - BooleanShape: BooleanShape, - Base64Shape: Base64Shape - }; - - module.exports = Shape; - - -/***/ }), -/* 12 */ -/***/ (function(module, exports, __webpack_require__) { - - var memoizedProperty = __webpack_require__(4).memoizedProperty; - - function memoize(name, value, fn, nameTr) { - memoizedProperty(this, nameTr(name), function() { - return fn(name, value); - }); - } - - function Collection(iterable, options, fn, nameTr) { - nameTr = nameTr || String; - var self = this; - - for (var id in iterable) { - if (Object.prototype.hasOwnProperty.call(iterable, id)) { - memoize.call(self, id, iterable[id], fn, nameTr); - } - } - } - - module.exports = Collection; - - -/***/ }), -/* 13 */ -/***/ (function(module, exports, __webpack_require__) { - - var util = __webpack_require__(4); - - function populateMethod(req) { - req.httpRequest.method = req.service.api.operations[req.operation].httpMethod; - } - - function generateURI(endpointPath, operationPath, input, params) { - var uri = [endpointPath, operationPath].join('/'); - uri = uri.replace(/\/+/g, '/'); - - var queryString = {}, queryStringSet = false; - util.each(input.members, function (name, member) { - var paramValue = params[name]; - if (paramValue === null || paramValue === undefined) return; - if (member.location === 'uri') { - var regex = new RegExp('\\{' + member.name + '(\\+)?\\}'); - uri = uri.replace(regex, function(_, plus) { - var fn = plus ? util.uriEscapePath : util.uriEscape; - return fn(String(paramValue)); - }); - } else if (member.location === 'querystring') { - queryStringSet = true; - - if (member.type === 'list') { - queryString[member.name] = paramValue.map(function(val) { - return util.uriEscape(String(val)); - }); - } else if (member.type === 'map') { - util.each(paramValue, function(key, value) { - if (Array.isArray(value)) { - queryString[key] = value.map(function(val) { - return util.uriEscape(String(val)); - }); - } else { - queryString[key] = util.uriEscape(String(value)); - } - }); - } else { - queryString[member.name] = util.uriEscape(String(paramValue)); - } - } - }); - - if (queryStringSet) { - uri += (uri.indexOf('?') >= 0 ? '&' : '?'); - var parts = []; - util.arrayEach(Object.keys(queryString).sort(), function(key) { - if (!Array.isArray(queryString[key])) { - queryString[key] = [queryString[key]]; - } - for (var i = 0; i < queryString[key].length; i++) { - parts.push(util.uriEscape(String(key)) + '=' + queryString[key][i]); - } - }); - uri += parts.join('&'); - } - - return uri; - } - - function populateURI(req) { - var operation = req.service.api.operations[req.operation]; - var input = operation.input; - - var uri = generateURI(req.httpRequest.endpoint.path, operation.httpPath, input, req.params); - req.httpRequest.path = uri; - } - - function populateHeaders(req) { - var operation = req.service.api.operations[req.operation]; - util.each(operation.input.members, function (name, member) { - var value = req.params[name]; - if (value === null || value === undefined) return; - - if (member.location === 'headers' && member.type === 'map') { - util.each(value, function(key, memberValue) { - req.httpRequest.headers[member.name + key] = memberValue; - }); - } else if (member.location === 'header') { - value = member.toWireFormat(value).toString(); - if (member.isJsonValue) { - value = util.base64.encode(value); - } - req.httpRequest.headers[member.name] = value; - } - }); - } - - function buildRequest(req) { - populateMethod(req); - populateURI(req); - populateHeaders(req); - } - - function extractError() { - } - - function extractData(resp) { - var req = resp.request; - var data = {}; - var r = resp.httpResponse; - var operation = req.service.api.operations[req.operation]; - var output = operation.output; - - // normalize headers names to lower-cased keys for matching - var headers = {}; - util.each(r.headers, function (k, v) { - headers[k.toLowerCase()] = v; - }); - - util.each(output.members, function(name, member) { - var header = (member.name || name).toLowerCase(); - if (member.location === 'headers' && member.type === 'map') { - data[name] = {}; - var location = member.isLocationName ? member.name : ''; - var pattern = new RegExp('^' + location + '(.+)', 'i'); - util.each(r.headers, function (k, v) { - var result = k.match(pattern); - if (result !== null) { - data[name][result[1]] = v; - } - }); - } else if (member.location === 'header') { - if (headers[header] !== undefined) { - var value = member.isJsonValue ? - util.base64.decode(headers[header]) : - headers[header]; - data[name] = member.toType(value); - } - } else if (member.location === 'statusCode') { - data[name] = parseInt(r.statusCode, 10); - } - }); - - resp.data = data; - } - - module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData, - generateURI: generateURI - }; - - -/***/ }), -/* 14 */ -/***/ (function(module, exports, __webpack_require__) { - - var util = __webpack_require__(4); - var Rest = __webpack_require__(13); - var Json = __webpack_require__(6); - var JsonBuilder = __webpack_require__(7); - var JsonParser = __webpack_require__(8); - - function populateBody(req) { - var builder = new JsonBuilder(); - var input = req.service.api.operations[req.operation].input; - - if (input.payload) { - var params = {}; - var payloadShape = input.members[input.payload]; - params = req.params[input.payload]; - if (params === undefined) return; - - if (payloadShape.type === 'structure') { - req.httpRequest.body = builder.build(params, payloadShape); - } else { // non-JSON payload - req.httpRequest.body = params; - } - } else { - req.httpRequest.body = builder.build(req.params, input); - } - } - - function buildRequest(req) { - Rest.buildRequest(req); - - // never send body payload on GET/HEAD/DELETE - if (['GET', 'HEAD', 'DELETE'].indexOf(req.httpRequest.method) < 0) { - populateBody(req); - } - } - - function extractError(resp) { - Json.extractError(resp); - } - - function extractData(resp) { - Rest.extractData(resp); - - var req = resp.request; - var rules = req.service.api.operations[req.operation].output || {}; - if (rules.payload) { - var payloadMember = rules.members[rules.payload]; - var body = resp.httpResponse.body; - if (payloadMember.type === 'structure' || payloadMember.type === 'list') { - var parser = new JsonParser(); - resp.data[rules.payload] = parser.parse(body, payloadMember); - } else if (payloadMember.type === 'binary' || payloadMember.isStreaming) { - resp.data[rules.payload] = body; - } else { - resp.data[rules.payload] = payloadMember.toType(body); - } - } else { - var data = resp.data; - Json.extractData(resp); - resp.data = util.merge(data, resp.data); - } - } - - module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData - }; - - -/***/ }), -/* 15 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var util = __webpack_require__(4); - var Rest = __webpack_require__(13); - - function populateBody(req) { - var input = req.service.api.operations[req.operation].input; - var builder = new AWS.XML.Builder(); - var params = req.params; - - var payload = input.payload; - if (payload) { - var payloadMember = input.members[payload]; - params = params[payload]; - if (params === undefined) return; - - if (payloadMember.type === 'structure') { - var rootElement = payloadMember.name; - req.httpRequest.body = builder.toXML(params, payloadMember, rootElement, true); - } else { // non-xml payload - req.httpRequest.body = params; - } - } else { - req.httpRequest.body = builder.toXML(params, input, input.name || - input.shape || util.string.upperFirst(req.operation) + 'Request'); - } - } - - function buildRequest(req) { - Rest.buildRequest(req); - - // never send body payload on GET/HEAD - if (['GET', 'HEAD'].indexOf(req.httpRequest.method) < 0) { - populateBody(req); - } - } - - function extractError(resp) { - Rest.extractError(resp); - - var data; - try { - data = new AWS.XML.Parser().parse(resp.httpResponse.body.toString()); - } catch (e) { - data = { - Code: resp.httpResponse.statusCode, - Message: resp.httpResponse.statusMessage - }; - } - - if (data.Errors) data = data.Errors; - if (data.Error) data = data.Error; - if (data.Code) { - resp.error = util.error(new Error(), { - code: data.Code, - message: data.Message - }); - } else { - resp.error = util.error(new Error(), { - code: resp.httpResponse.statusCode, - message: null - }); - } - } - - function extractData(resp) { - Rest.extractData(resp); - - var parser; - var req = resp.request; - var body = resp.httpResponse.body; - var operation = req.service.api.operations[req.operation]; - var output = operation.output; - - var payload = output.payload; - if (payload) { - var payloadMember = output.members[payload]; - if (payloadMember.type === 'structure') { - parser = new AWS.XML.Parser(); - resp.data[payload] = parser.parse(body.toString(), payloadMember); - } else if (payloadMember.type === 'binary' || payloadMember.isStreaming) { - resp.data[payload] = body; - } else { - resp.data[payload] = payloadMember.toType(body); - } - } else if (body.length > 0) { - parser = new AWS.XML.Parser(); - var data = parser.parse(body.toString(), output); - util.update(resp.data, data); - } - } - - module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData - }; - - -/***/ }), -/* 16 */ -/***/ (function(module, exports, __webpack_require__) { - - var util = __webpack_require__(4); - var builder = __webpack_require__(17); - - function XmlBuilder() { } - - XmlBuilder.prototype.toXML = function(params, shape, rootElement, noEmpty) { - var xml = builder.create(rootElement); - applyNamespaces(xml, shape); - serialize(xml, params, shape); - return xml.children.length > 0 || noEmpty ? xml.root().toString() : ''; - }; - - function serialize(xml, value, shape) { - switch (shape.type) { - case 'structure': return serializeStructure(xml, value, shape); - case 'map': return serializeMap(xml, value, shape); - case 'list': return serializeList(xml, value, shape); - default: return serializeScalar(xml, value, shape); - } - } - - function serializeStructure(xml, params, shape) { - util.arrayEach(shape.memberNames, function(memberName) { - var memberShape = shape.members[memberName]; - if (memberShape.location !== 'body') return; - - var value = params[memberName]; - var name = memberShape.name; - if (value !== undefined && value !== null) { - if (memberShape.isXmlAttribute) { - xml.att(name, value); - } else if (memberShape.flattened) { - serialize(xml, value, memberShape); - } else { - var element = xml.ele(name); - applyNamespaces(element, memberShape); - serialize(element, value, memberShape); - } - } - }); - } - - function serializeMap(xml, map, shape) { - var xmlKey = shape.key.name || 'key'; - var xmlValue = shape.value.name || 'value'; - - util.each(map, function(key, value) { - var entry = xml.ele(shape.flattened ? shape.name : 'entry'); - serialize(entry.ele(xmlKey), key, shape.key); - serialize(entry.ele(xmlValue), value, shape.value); - }); - } - - function serializeList(xml, list, shape) { - if (shape.flattened) { - util.arrayEach(list, function(value) { - var name = shape.member.name || shape.name; - var element = xml.ele(name); - serialize(element, value, shape.member); - }); - } else { - util.arrayEach(list, function(value) { - var name = shape.member.name || 'member'; - var element = xml.ele(name); - serialize(element, value, shape.member); - }); - } - } - - function serializeScalar(xml, value, shape) { - xml.txt(shape.toWireFormat(value)); - } - - function applyNamespaces(xml, shape) { - var uri, prefix = 'xmlns'; - if (shape.xmlNamespaceUri) { - uri = shape.xmlNamespaceUri; - if (shape.xmlNamespacePrefix) prefix += ':' + shape.xmlNamespacePrefix; - } else if (xml.isRoot && shape.api.xmlNamespaceUri) { - uri = shape.api.xmlNamespaceUri; - } - - if (uri) xml.att(prefix, uri); - } - - module.exports = XmlBuilder; - - -/***/ }), -/* 17 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLBuilder, assign; - - assign = __webpack_require__(18); - - XMLBuilder = __webpack_require__(69); - - module.exports.create = function(name, xmldec, doctype, options) { - options = assign({}, xmldec, doctype, options); - return new XMLBuilder(name, options).root(); - }; - - }).call(this); - - -/***/ }), -/* 18 */ -/***/ (function(module, exports, __webpack_require__) { - - var assignValue = __webpack_require__(19), - copyObject = __webpack_require__(37), - createAssigner = __webpack_require__(38), - isArrayLike = __webpack_require__(48), - isPrototype = __webpack_require__(51), - keys = __webpack_require__(52); - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * Assigns own enumerable string keyed properties of source objects to the - * destination object. Source objects are applied from left to right. - * Subsequent sources overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object` and is loosely based on - * [`Object.assign`](https://mdn.io/Object/assign). - * - * @static - * @memberOf _ - * @since 0.10.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assignIn - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * function Bar() { - * this.c = 3; - * } - * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; - * - * _.assign({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'c': 3 } - */ - var assign = createAssigner(function(object, source) { - if (isPrototype(source) || isArrayLike(source)) { - copyObject(source, keys(source), object); - return; - } - for (var key in source) { - if (hasOwnProperty.call(source, key)) { - assignValue(object, key, source[key]); - } - } - }); - - module.exports = assign; - - -/***/ }), -/* 19 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseAssignValue = __webpack_require__(20), - eq = __webpack_require__(36); - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * Assigns `value` to `key` of `object` if the existing value is not equivalent - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function assignValue(object, key, value) { - var objValue = object[key]; - if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } - } - - module.exports = assignValue; - - -/***/ }), -/* 20 */ -/***/ (function(module, exports, __webpack_require__) { - - var defineProperty = __webpack_require__(21); - - /** - * The base implementation of `assignValue` and `assignMergeValue` without - * value checks. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function baseAssignValue(object, key, value) { - if (key == '__proto__' && defineProperty) { - defineProperty(object, key, { - 'configurable': true, - 'enumerable': true, - 'value': value, - 'writable': true - }); - } else { - object[key] = value; - } - } - - module.exports = baseAssignValue; - - -/***/ }), -/* 21 */ -/***/ (function(module, exports, __webpack_require__) { - - var getNative = __webpack_require__(22); - - var defineProperty = (function() { - try { - var func = getNative(Object, 'defineProperty'); - func({}, '', {}); - return func; - } catch (e) {} - }()); - - module.exports = defineProperty; - - -/***/ }), -/* 22 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseIsNative = __webpack_require__(23), - getValue = __webpack_require__(35); - - /** - * Gets the native function at `key` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the method to get. - * @returns {*} Returns the function if it's native, else `undefined`. - */ - function getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : undefined; - } - - module.exports = getNative; - - -/***/ }), -/* 23 */ -/***/ (function(module, exports, __webpack_require__) { - - var isFunction = __webpack_require__(24), - isMasked = __webpack_require__(32), - isObject = __webpack_require__(31), - toSource = __webpack_require__(34); - - /** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ - var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; - - /** Used to detect host constructors (Safari). */ - var reIsHostCtor = /^\[object .+?Constructor\]$/; - - /** Used for built-in method references. */ - var funcProto = Function.prototype, - objectProto = Object.prototype; - - /** Used to resolve the decompiled source of functions. */ - var funcToString = funcProto.toString; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** Used to detect if a method is native. */ - var reIsNative = RegExp('^' + - funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' - ); - - /** - * The base implementation of `_.isNative` without bad shim checks. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - */ - function baseIsNative(value) { - if (!isObject(value) || isMasked(value)) { - return false; - } - var pattern = isFunction(value) ? reIsNative : reIsHostCtor; - return pattern.test(toSource(value)); - } - - module.exports = baseIsNative; - - -/***/ }), -/* 24 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseGetTag = __webpack_require__(25), - isObject = __webpack_require__(31); - - /** `Object#toString` result references. */ - var asyncTag = '[object AsyncFunction]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - proxyTag = '[object Proxy]'; - - /** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a function, else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ - function isFunction(value) { - if (!isObject(value)) { - return false; - } - // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 9 which returns 'object' for typed arrays and other constructors. - var tag = baseGetTag(value); - return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; - } - - module.exports = isFunction; - - -/***/ }), -/* 25 */ -/***/ (function(module, exports, __webpack_require__) { - - var Symbol = __webpack_require__(26), - getRawTag = __webpack_require__(29), - objectToString = __webpack_require__(30); - - /** `Object#toString` result references. */ - var nullTag = '[object Null]', - undefinedTag = '[object Undefined]'; - - /** Built-in value references. */ - var symToStringTag = Symbol ? Symbol.toStringTag : undefined; - - /** - * The base implementation of `getTag` without fallbacks for buggy environments. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ - function baseGetTag(value) { - if (value == null) { - return value === undefined ? undefinedTag : nullTag; - } - return (symToStringTag && symToStringTag in Object(value)) - ? getRawTag(value) - : objectToString(value); - } - - module.exports = baseGetTag; - - -/***/ }), -/* 26 */ -/***/ (function(module, exports, __webpack_require__) { - - var root = __webpack_require__(27); - - /** Built-in value references. */ - var Symbol = root.Symbol; - - module.exports = Symbol; - - -/***/ }), -/* 27 */ -/***/ (function(module, exports, __webpack_require__) { - - var freeGlobal = __webpack_require__(28); - - /** Detect free variable `self`. */ - var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - - /** Used as a reference to the global object. */ - var root = freeGlobal || freeSelf || Function('return this')(); - - module.exports = root; - - -/***/ }), -/* 28 */ -/***/ (function(module, exports) { - - /* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */ - var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - - module.exports = freeGlobal; - - /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) - -/***/ }), -/* 29 */ -/***/ (function(module, exports, __webpack_require__) { - - var Symbol = __webpack_require__(26); - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ - var nativeObjectToString = objectProto.toString; - - /** Built-in value references. */ - var symToStringTag = Symbol ? Symbol.toStringTag : undefined; - - /** - * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the raw `toStringTag`. - */ - function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; - - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} - - var result = nativeObjectToString.call(value); - if (unmasked) { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; - } - - module.exports = getRawTag; - - -/***/ }), -/* 30 */ -/***/ (function(module, exports) { - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ - var nativeObjectToString = objectProto.toString; - - /** - * Converts `value` to a string using `Object.prototype.toString`. - * - * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - */ - function objectToString(value) { - return nativeObjectToString.call(value); - } - - module.exports = objectToString; - - -/***/ }), -/* 31 */ -/***/ (function(module, exports) { - - /** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ - function isObject(value) { - var type = typeof value; - return value != null && (type == 'object' || type == 'function'); - } - - module.exports = isObject; - - -/***/ }), -/* 32 */ -/***/ (function(module, exports, __webpack_require__) { - - var coreJsData = __webpack_require__(33); - - /** Used to detect methods masquerading as native. */ - var maskSrcKey = (function() { - var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); - return uid ? ('Symbol(src)_1.' + uid) : ''; - }()); - - /** - * Checks if `func` has its source masked. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. - */ - function isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); - } - - module.exports = isMasked; - - -/***/ }), -/* 33 */ -/***/ (function(module, exports, __webpack_require__) { - - var root = __webpack_require__(27); - - /** Used to detect overreaching core-js shims. */ - var coreJsData = root['__core-js_shared__']; - - module.exports = coreJsData; - - -/***/ }), -/* 34 */ -/***/ (function(module, exports) { - - /** Used for built-in method references. */ - var funcProto = Function.prototype; - - /** Used to resolve the decompiled source of functions. */ - var funcToString = funcProto.toString; - - /** - * Converts `func` to its source code. - * - * @private - * @param {Function} func The function to convert. - * @returns {string} Returns the source code. - */ - function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return (func + ''); - } catch (e) {} - } - return ''; - } - - module.exports = toSource; - - -/***/ }), -/* 35 */ -/***/ (function(module, exports) { - - /** - * Gets the value at `key` of `object`. - * - * @private - * @param {Object} [object] The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ - function getValue(object, key) { - return object == null ? undefined : object[key]; - } - - module.exports = getValue; - - -/***/ }), -/* 36 */ -/***/ (function(module, exports) { - - /** - * Performs a - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ - function eq(value, other) { - return value === other || (value !== value && other !== other); - } - - module.exports = eq; - - -/***/ }), -/* 37 */ -/***/ (function(module, exports, __webpack_require__) { - - var assignValue = __webpack_require__(19), - baseAssignValue = __webpack_require__(20); - - /** - * Copies properties of `source` to `object`. - * - * @private - * @param {Object} source The object to copy properties from. - * @param {Array} props The property identifiers to copy. - * @param {Object} [object={}] The object to copy properties to. - * @param {Function} [customizer] The function to customize copied values. - * @returns {Object} Returns `object`. - */ - function copyObject(source, props, object, customizer) { - var isNew = !object; - object || (object = {}); - - var index = -1, - length = props.length; - - while (++index < length) { - var key = props[index]; - - var newValue = customizer - ? customizer(object[key], source[key], key, object, source) - : undefined; - - if (newValue === undefined) { - newValue = source[key]; - } - if (isNew) { - baseAssignValue(object, key, newValue); - } else { - assignValue(object, key, newValue); - } - } - return object; - } - - module.exports = copyObject; - - -/***/ }), -/* 38 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseRest = __webpack_require__(39), - isIterateeCall = __webpack_require__(47); - - /** - * Creates a function like `_.assign`. - * - * @private - * @param {Function} assigner The function to assign values. - * @returns {Function} Returns the new assigner function. - */ - function createAssigner(assigner) { - return baseRest(function(object, sources) { - var index = -1, - length = sources.length, - customizer = length > 1 ? sources[length - 1] : undefined, - guard = length > 2 ? sources[2] : undefined; - - customizer = (assigner.length > 3 && typeof customizer == 'function') - ? (length--, customizer) - : undefined; - - if (guard && isIterateeCall(sources[0], sources[1], guard)) { - customizer = length < 3 ? undefined : customizer; - length = 1; - } - object = Object(object); - while (++index < length) { - var source = sources[index]; - if (source) { - assigner(object, source, index, customizer); - } - } - return object; - }); - } - - module.exports = createAssigner; - - -/***/ }), -/* 39 */ -/***/ (function(module, exports, __webpack_require__) { - - var identity = __webpack_require__(40), - overRest = __webpack_require__(41), - setToString = __webpack_require__(43); - - /** - * The base implementation of `_.rest` which doesn't validate or coerce arguments. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - */ - function baseRest(func, start) { - return setToString(overRest(func, start, identity), func + ''); - } - - module.exports = baseRest; - - -/***/ }), -/* 40 */ -/***/ (function(module, exports) { - - /** - * This method returns the first argument it receives. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Util - * @param {*} value Any value. - * @returns {*} Returns `value`. - * @example - * - * var object = { 'a': 1 }; - * - * console.log(_.identity(object) === object); - * // => true - */ - function identity(value) { - return value; - } - - module.exports = identity; - - -/***/ }), -/* 41 */ -/***/ (function(module, exports, __webpack_require__) { - - var apply = __webpack_require__(42); - - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeMax = Math.max; - - /** - * A specialized version of `baseRest` which transforms the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @param {Function} transform The rest array transform. - * @returns {Function} Returns the new function. - */ - function overRest(func, start, transform) { - start = nativeMax(start === undefined ? (func.length - 1) : start, 0); - return function() { - var args = arguments, - index = -1, - length = nativeMax(args.length - start, 0), - array = Array(length); - - while (++index < length) { - array[index] = args[start + index]; - } - index = -1; - var otherArgs = Array(start + 1); - while (++index < start) { - otherArgs[index] = args[index]; - } - otherArgs[start] = transform(array); - return apply(func, this, otherArgs); - }; - } - - module.exports = overRest; - - -/***/ }), -/* 42 */ -/***/ (function(module, exports) { - - /** - * A faster alternative to `Function#apply`, this function invokes `func` - * with the `this` binding of `thisArg` and the arguments of `args`. - * - * @private - * @param {Function} func The function to invoke. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} args The arguments to invoke `func` with. - * @returns {*} Returns the result of `func`. - */ - function apply(func, thisArg, args) { - switch (args.length) { - case 0: return func.call(thisArg); - case 1: return func.call(thisArg, args[0]); - case 2: return func.call(thisArg, args[0], args[1]); - case 3: return func.call(thisArg, args[0], args[1], args[2]); - } - return func.apply(thisArg, args); - } - - module.exports = apply; - - -/***/ }), -/* 43 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseSetToString = __webpack_require__(44), - shortOut = __webpack_require__(46); - - /** - * Sets the `toString` method of `func` to return `string`. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var setToString = shortOut(baseSetToString); - - module.exports = setToString; - - -/***/ }), -/* 44 */ -/***/ (function(module, exports, __webpack_require__) { - - var constant = __webpack_require__(45), - defineProperty = __webpack_require__(21), - identity = __webpack_require__(40); - - /** - * The base implementation of `setToString` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var baseSetToString = !defineProperty ? identity : function(func, string) { - return defineProperty(func, 'toString', { - 'configurable': true, - 'enumerable': false, - 'value': constant(string), - 'writable': true - }); - }; - - module.exports = baseSetToString; - - -/***/ }), -/* 45 */ -/***/ (function(module, exports) { - - /** - * Creates a function that returns `value`. - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Util - * @param {*} value The value to return from the new function. - * @returns {Function} Returns the new constant function. - * @example - * - * var objects = _.times(2, _.constant({ 'a': 1 })); - * - * console.log(objects); - * // => [{ 'a': 1 }, { 'a': 1 }] - * - * console.log(objects[0] === objects[1]); - * // => true - */ - function constant(value) { - return function() { - return value; - }; - } - - module.exports = constant; - - -/***/ }), -/* 46 */ -/***/ (function(module, exports) { - - /** Used to detect hot functions by number of calls within a span of milliseconds. */ - var HOT_COUNT = 800, - HOT_SPAN = 16; - - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeNow = Date.now; - - /** - * Creates a function that'll short out and invoke `identity` instead - * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` - * milliseconds. - * - * @private - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new shortable function. - */ - function shortOut(func) { - var count = 0, - lastCalled = 0; - - return function() { - var stamp = nativeNow(), - remaining = HOT_SPAN - (stamp - lastCalled); - - lastCalled = stamp; - if (remaining > 0) { - if (++count >= HOT_COUNT) { - return arguments[0]; - } - } else { - count = 0; - } - return func.apply(undefined, arguments); - }; - } - - module.exports = shortOut; - - -/***/ }), -/* 47 */ -/***/ (function(module, exports, __webpack_require__) { - - var eq = __webpack_require__(36), - isArrayLike = __webpack_require__(48), - isIndex = __webpack_require__(50), - isObject = __webpack_require__(31); - - /** - * Checks if the given arguments are from an iteratee call. - * - * @private - * @param {*} value The potential iteratee value argument. - * @param {*} index The potential iteratee index or key argument. - * @param {*} object The potential iteratee object argument. - * @returns {boolean} Returns `true` if the arguments are from an iteratee call, - * else `false`. - */ - function isIterateeCall(value, index, object) { - if (!isObject(object)) { - return false; - } - var type = typeof index; - if (type == 'number' - ? (isArrayLike(object) && isIndex(index, object.length)) - : (type == 'string' && index in object) - ) { - return eq(object[index], value); - } - return false; - } - - module.exports = isIterateeCall; - - -/***/ }), -/* 48 */ -/***/ (function(module, exports, __webpack_require__) { - - var isFunction = __webpack_require__(24), - isLength = __webpack_require__(49); - - /** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ - function isArrayLike(value) { - return value != null && isLength(value.length) && !isFunction(value); - } - - module.exports = isArrayLike; - - -/***/ }), -/* 49 */ -/***/ (function(module, exports) { - - /** Used as references for various `Number` constants. */ - var MAX_SAFE_INTEGER = 9007199254740991; - - /** - * Checks if `value` is a valid array-like length. - * - * **Note:** This method is loosely based on - * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ - function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; - } - - module.exports = isLength; - - -/***/ }), -/* 50 */ -/***/ (function(module, exports) { - - /** Used as references for various `Number` constants. */ - var MAX_SAFE_INTEGER = 9007199254740991; - - /** Used to detect unsigned integer values. */ - var reIsUint = /^(?:0|[1-9]\d*)$/; - - /** - * Checks if `value` is a valid array-like index. - * - * @private - * @param {*} value The value to check. - * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. - * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. - */ - function isIndex(value, length) { - length = length == null ? MAX_SAFE_INTEGER : length; - return !!length && - (typeof value == 'number' || reIsUint.test(value)) && - (value > -1 && value % 1 == 0 && value < length); - } - - module.exports = isIndex; - - -/***/ }), -/* 51 */ -/***/ (function(module, exports) { - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** - * Checks if `value` is likely a prototype object. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. - */ - function isPrototype(value) { - var Ctor = value && value.constructor, - proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; - - return value === proto; - } - - module.exports = isPrototype; - - -/***/ }), -/* 52 */ -/***/ (function(module, exports, __webpack_require__) { - - var arrayLikeKeys = __webpack_require__(53), - baseKeys = __webpack_require__(66), - isArrayLike = __webpack_require__(48); - - /** - * Creates an array of the own enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. See the - * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * for more details. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keys(new Foo); - * // => ['a', 'b'] (iteration order is not guaranteed) - * - * _.keys('hi'); - * // => ['0', '1'] - */ - function keys(object) { - return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); - } - - module.exports = keys; - - -/***/ }), -/* 53 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseTimes = __webpack_require__(54), - isArguments = __webpack_require__(55), - isArray = __webpack_require__(58), - isBuffer = __webpack_require__(59), - isIndex = __webpack_require__(50), - isTypedArray = __webpack_require__(62); - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * Creates an array of the enumerable property names of the array-like `value`. - * - * @private - * @param {*} value The value to query. - * @param {boolean} inherited Specify returning inherited property names. - * @returns {Array} Returns the array of property names. - */ - function arrayLikeKeys(value, inherited) { - var isArr = isArray(value), - isArg = !isArr && isArguments(value), - isBuff = !isArr && !isArg && isBuffer(value), - isType = !isArr && !isArg && !isBuff && isTypedArray(value), - skipIndexes = isArr || isArg || isBuff || isType, - result = skipIndexes ? baseTimes(value.length, String) : [], - length = result.length; - - for (var key in value) { - if ((inherited || hasOwnProperty.call(value, key)) && - !(skipIndexes && ( - // Safari 9 has enumerable `arguments.length` in strict mode. - key == 'length' || - // Node.js 0.10 has enumerable non-index properties on buffers. - (isBuff && (key == 'offset' || key == 'parent')) || - // PhantomJS 2 has enumerable non-index properties on typed arrays. - (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || - // Skip index properties. - isIndex(key, length) - ))) { - result.push(key); - } - } - return result; - } - - module.exports = arrayLikeKeys; - - -/***/ }), -/* 54 */ -/***/ (function(module, exports) { - - /** - * The base implementation of `_.times` without support for iteratee shorthands - * or max array length checks. - * - * @private - * @param {number} n The number of times to invoke `iteratee`. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the array of results. - */ - function baseTimes(n, iteratee) { - var index = -1, - result = Array(n); - - while (++index < n) { - result[index] = iteratee(index); - } - return result; - } - - module.exports = baseTimes; - - -/***/ }), -/* 55 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseIsArguments = __webpack_require__(56), - isObjectLike = __webpack_require__(57); - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** Built-in value references. */ - var propertyIsEnumerable = objectProto.propertyIsEnumerable; - - /** - * Checks if `value` is likely an `arguments` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - * else `false`. - * @example - * - * _.isArguments(function() { return arguments; }()); - * // => true - * - * _.isArguments([1, 2, 3]); - * // => false - */ - var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { - return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && - !propertyIsEnumerable.call(value, 'callee'); - }; - - module.exports = isArguments; - - -/***/ }), -/* 56 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseGetTag = __webpack_require__(25), - isObjectLike = __webpack_require__(57); - - /** `Object#toString` result references. */ - var argsTag = '[object Arguments]'; - - /** - * The base implementation of `_.isArguments`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - */ - function baseIsArguments(value) { - return isObjectLike(value) && baseGetTag(value) == argsTag; - } - - module.exports = baseIsArguments; - - -/***/ }), -/* 57 */ -/***/ (function(module, exports) { - - /** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ - function isObjectLike(value) { - return value != null && typeof value == 'object'; - } - - module.exports = isObjectLike; - - -/***/ }), -/* 58 */ -/***/ (function(module, exports) { - - /** - * Checks if `value` is classified as an `Array` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array, else `false`. - * @example - * - * _.isArray([1, 2, 3]); - * // => true - * - * _.isArray(document.body.children); - * // => false - * - * _.isArray('abc'); - * // => false - * - * _.isArray(_.noop); - * // => false - */ - var isArray = Array.isArray; - - module.exports = isArray; - - -/***/ }), -/* 59 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(27), - stubFalse = __webpack_require__(61); - - /** Detect free variable `exports`. */ - var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; - - /** Detect free variable `module`. */ - var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; - - /** Detect the popular CommonJS extension `module.exports`. */ - var moduleExports = freeModule && freeModule.exports === freeExports; - - /** Built-in value references. */ - var Buffer = moduleExports ? root.Buffer : undefined; - - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined; - - /** - * Checks if `value` is a buffer. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. - * @example - * - * _.isBuffer(new Buffer(2)); - * // => true - * - * _.isBuffer(new Uint8Array(2)); - * // => false - */ - var isBuffer = nativeIsBuffer || stubFalse; - - module.exports = isBuffer; - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(60)(module))) - -/***/ }), -/* 60 */ -/***/ (function(module, exports) { - - module.exports = function(module) { - if(!module.webpackPolyfill) { - module.deprecate = function() {}; - module.paths = []; - // module.parent = undefined by default - module.children = []; - module.webpackPolyfill = 1; - } - return module; - } - - -/***/ }), -/* 61 */ -/***/ (function(module, exports) { - - /** - * This method returns `false`. - * - * @static - * @memberOf _ - * @since 4.13.0 - * @category Util - * @returns {boolean} Returns `false`. - * @example - * - * _.times(2, _.stubFalse); - * // => [false, false] - */ - function stubFalse() { - return false; - } - - module.exports = stubFalse; - - -/***/ }), -/* 62 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseIsTypedArray = __webpack_require__(63), - baseUnary = __webpack_require__(64), - nodeUtil = __webpack_require__(65); - - /* Node.js helper references. */ - var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; - - /** - * Checks if `value` is classified as a typed array. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - * @example - * - * _.isTypedArray(new Uint8Array); - * // => true - * - * _.isTypedArray([]); - * // => false - */ - var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; - - module.exports = isTypedArray; - - -/***/ }), -/* 63 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseGetTag = __webpack_require__(25), - isLength = __webpack_require__(49), - isObjectLike = __webpack_require__(57); - - /** `Object#toString` result references. */ - var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - funcTag = '[object Function]', - mapTag = '[object Map]', - numberTag = '[object Number]', - objectTag = '[object Object]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - weakMapTag = '[object WeakMap]'; - - var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; - - /** Used to identify `toStringTag` values of typed arrays. */ - var typedArrayTags = {}; - typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = - typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = - typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = - typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = - typedArrayTags[uint32Tag] = true; - typedArrayTags[argsTag] = typedArrayTags[arrayTag] = - typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = - typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = - typedArrayTags[errorTag] = typedArrayTags[funcTag] = - typedArrayTags[mapTag] = typedArrayTags[numberTag] = - typedArrayTags[objectTag] = typedArrayTags[regexpTag] = - typedArrayTags[setTag] = typedArrayTags[stringTag] = - typedArrayTags[weakMapTag] = false; - - /** - * The base implementation of `_.isTypedArray` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - */ - function baseIsTypedArray(value) { - return isObjectLike(value) && - isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; - } - - module.exports = baseIsTypedArray; - - -/***/ }), -/* 64 */ -/***/ (function(module, exports) { - - /** - * The base implementation of `_.unary` without support for storing metadata. - * - * @private - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - */ - function baseUnary(func) { - return function(value) { - return func(value); - }; - } - - module.exports = baseUnary; - - -/***/ }), -/* 65 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(28); - - /** Detect free variable `exports`. */ - var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; - - /** Detect free variable `module`. */ - var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; - - /** Detect the popular CommonJS extension `module.exports`. */ - var moduleExports = freeModule && freeModule.exports === freeExports; - - /** Detect free variable `process` from Node.js. */ - var freeProcess = moduleExports && freeGlobal.process; - - /** Used to access faster Node.js helpers. */ - var nodeUtil = (function() { - try { - return freeProcess && freeProcess.binding && freeProcess.binding('util'); - } catch (e) {} - }()); - - module.exports = nodeUtil; - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(60)(module))) - -/***/ }), -/* 66 */ -/***/ (function(module, exports, __webpack_require__) { - - var isPrototype = __webpack_require__(51), - nativeKeys = __webpack_require__(67); - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function baseKeys(object) { - if (!isPrototype(object)) { - return nativeKeys(object); - } - var result = []; - for (var key in Object(object)) { - if (hasOwnProperty.call(object, key) && key != 'constructor') { - result.push(key); - } - } - return result; - } - - module.exports = baseKeys; - - -/***/ }), -/* 67 */ -/***/ (function(module, exports, __webpack_require__) { - - var overArg = __webpack_require__(68); - - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeKeys = overArg(Object.keys, Object); - - module.exports = nativeKeys; - - -/***/ }), -/* 68 */ -/***/ (function(module, exports) { - - /** - * Creates a unary function that invokes `func` with its argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ - function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; - } - - module.exports = overArg; - - -/***/ }), -/* 69 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLBuilder, XMLDeclaration, XMLDocType, XMLElement, XMLStringifier; - - XMLStringifier = __webpack_require__(70); - - XMLDeclaration = __webpack_require__(71); - - XMLDocType = __webpack_require__(168); - - XMLElement = __webpack_require__(83); - - module.exports = XMLBuilder = (function() { - function XMLBuilder(name, options) { - var root, temp; - if (name == null) { - throw new Error("Root element needs a name"); - } - if (options == null) { - options = {}; - } - this.options = options; - this.stringify = new XMLStringifier(options); - temp = new XMLElement(this, 'doc'); - root = temp.element(name); - root.isRoot = true; - root.documentObject = this; - this.rootObject = root; - if (!options.headless) { - root.declaration(options); - if ((options.pubID != null) || (options.sysID != null)) { - root.doctype(options); - } - } - } - - XMLBuilder.prototype.root = function() { - return this.rootObject; - }; - - XMLBuilder.prototype.end = function(options) { - return this.toString(options); - }; - - XMLBuilder.prototype.toString = function(options) { - var indent, newline, offset, pretty, r, ref, ref1, ref2; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - r = ''; - if (this.xmldec != null) { - r += this.xmldec.toString(options); - } - if (this.doctype != null) { - r += this.doctype.toString(options); - } - r += this.rootObject.toString(options); - if (pretty && r.slice(-newline.length) === newline) { - r = r.slice(0, -newline.length); - } - return r; - }; - - return XMLBuilder; - - })(); - - }).call(this); - - -/***/ }), -/* 70 */ -/***/ (function(module, exports) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLStringifier, - bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, - hasProp = {}.hasOwnProperty; - - module.exports = XMLStringifier = (function() { - function XMLStringifier(options) { - this.assertLegalChar = bind(this.assertLegalChar, this); - var key, ref, value; - this.allowSurrogateChars = options != null ? options.allowSurrogateChars : void 0; - this.noDoubleEncoding = options != null ? options.noDoubleEncoding : void 0; - ref = (options != null ? options.stringify : void 0) || {}; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this[key] = value; - } - } - - XMLStringifier.prototype.eleName = function(val) { - val = '' + val || ''; - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.eleText = function(val) { - val = '' + val || ''; - return this.assertLegalChar(this.elEscape(val)); - }; - - XMLStringifier.prototype.cdata = function(val) { - val = '' + val || ''; - if (val.match(/]]>/)) { - throw new Error("Invalid CDATA text: " + val); - } - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.comment = function(val) { - val = '' + val || ''; - if (val.match(/--/)) { - throw new Error("Comment text cannot contain double-hypen: " + val); - } - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.raw = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.attName = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.attValue = function(val) { - val = '' + val || ''; - return this.attEscape(val); - }; - - XMLStringifier.prototype.insTarget = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.insValue = function(val) { - val = '' + val || ''; - if (val.match(/\?>/)) { - throw new Error("Invalid processing instruction value: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlVersion = function(val) { - val = '' + val || ''; - if (!val.match(/1\.[0-9]+/)) { - throw new Error("Invalid version number: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlEncoding = function(val) { - val = '' + val || ''; - if (!val.match(/^[A-Za-z](?:[A-Za-z0-9._-]|-)*$/)) { - throw new Error("Invalid encoding: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlStandalone = function(val) { - if (val) { - return "yes"; - } else { - return "no"; - } - }; - - XMLStringifier.prototype.dtdPubID = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdSysID = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdElementValue = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdAttType = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdAttDefault = function(val) { - if (val != null) { - return '' + val || ''; - } else { - return val; - } - }; - - XMLStringifier.prototype.dtdEntityValue = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdNData = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.convertAttKey = '@'; - - XMLStringifier.prototype.convertPIKey = '?'; - - XMLStringifier.prototype.convertTextKey = '#text'; - - XMLStringifier.prototype.convertCDataKey = '#cdata'; - - XMLStringifier.prototype.convertCommentKey = '#comment'; - - XMLStringifier.prototype.convertRawKey = '#raw'; - - XMLStringifier.prototype.assertLegalChar = function(str) { - var chars, chr; - if (this.allowSurrogateChars) { - chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/; - } else { - chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/; - } - chr = str.match(chars); - if (chr) { - throw new Error("Invalid character (" + chr + ") in string: " + str + " at index " + chr.index); - } - return str; - }; - - XMLStringifier.prototype.elEscape = function(str) { - var ampregex; - ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; - return str.replace(ampregex, '&').replace(//g, '>').replace(/\r/g, ' '); - }; - - XMLStringifier.prototype.attEscape = function(str) { - var ampregex; - ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; - return str.replace(ampregex, '&').replace(/ true - * - * circle instanceof Shape; - * // => true - */ - function create(prototype, properties) { - var result = baseCreate(prototype); - return properties == null ? result : baseAssign(result, properties); - } - - module.exports = create; - - -/***/ }), -/* 73 */ -/***/ (function(module, exports, __webpack_require__) { - - var copyObject = __webpack_require__(37), - keys = __webpack_require__(52); - - /** - * The base implementation of `_.assign` without support for multiple sources - * or `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @returns {Object} Returns `object`. - */ - function baseAssign(object, source) { - return object && copyObject(source, keys(source), object); - } - - module.exports = baseAssign; - - -/***/ }), -/* 74 */ -/***/ (function(module, exports, __webpack_require__) { - - var isObject = __webpack_require__(31); - - /** Built-in value references. */ - var objectCreate = Object.create; - - /** - * The base implementation of `_.create` without support for assigning - * properties to the created object. - * - * @private - * @param {Object} proto The object to inherit from. - * @returns {Object} Returns the new object. - */ - var baseCreate = (function() { - function object() {} - return function(proto) { - if (!isObject(proto)) { - return {}; - } - if (objectCreate) { - return objectCreate(proto); - } - object.prototype = proto; - var result = new object; - object.prototype = undefined; - return result; - }; - }()); - - module.exports = baseCreate; - - -/***/ }), -/* 75 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLElement, XMLNode, XMLRaw, XMLText, isEmpty, isFunction, isObject, - hasProp = {}.hasOwnProperty; - - isObject = __webpack_require__(31); - - isFunction = __webpack_require__(24); - - isEmpty = __webpack_require__(76); - - XMLElement = null; - - XMLCData = null; - - XMLComment = null; - - XMLDeclaration = null; - - XMLDocType = null; - - XMLRaw = null; - - XMLText = null; - - module.exports = XMLNode = (function() { - function XMLNode(parent) { - this.parent = parent; - this.options = this.parent.options; - this.stringify = this.parent.stringify; - if (XMLElement === null) { - XMLElement = __webpack_require__(83); - XMLCData = __webpack_require__(166); - XMLComment = __webpack_require__(167); - XMLDeclaration = __webpack_require__(71); - XMLDocType = __webpack_require__(168); - XMLRaw = __webpack_require__(173); - XMLText = __webpack_require__(174); - } - } - - XMLNode.prototype.element = function(name, attributes, text) { - var childNode, item, j, k, key, lastChild, len, len1, ref, val; - lastChild = null; - if (attributes == null) { - attributes = {}; - } - attributes = attributes.valueOf(); - if (!isObject(attributes)) { - ref = [attributes, text], text = ref[0], attributes = ref[1]; - } - if (name != null) { - name = name.valueOf(); - } - if (Array.isArray(name)) { - for (j = 0, len = name.length; j < len; j++) { - item = name[j]; - lastChild = this.element(item); - } - } else if (isFunction(name)) { - lastChild = this.element(name.apply()); - } else if (isObject(name)) { - for (key in name) { - if (!hasProp.call(name, key)) continue; - val = name[key]; - if (isFunction(val)) { - val = val.apply(); - } - if ((isObject(val)) && (isEmpty(val))) { - val = null; - } - if (!this.options.ignoreDecorators && this.stringify.convertAttKey && key.indexOf(this.stringify.convertAttKey) === 0) { - lastChild = this.attribute(key.substr(this.stringify.convertAttKey.length), val); - } else if (!this.options.ignoreDecorators && this.stringify.convertPIKey && key.indexOf(this.stringify.convertPIKey) === 0) { - lastChild = this.instruction(key.substr(this.stringify.convertPIKey.length), val); - } else if (!this.options.separateArrayItems && Array.isArray(val)) { - for (k = 0, len1 = val.length; k < len1; k++) { - item = val[k]; - childNode = {}; - childNode[key] = item; - lastChild = this.element(childNode); - } - } else if (isObject(val)) { - lastChild = this.element(key); - lastChild.element(val); - } else { - lastChild = this.element(key, val); - } - } - } else { - if (!this.options.ignoreDecorators && this.stringify.convertTextKey && name.indexOf(this.stringify.convertTextKey) === 0) { - lastChild = this.text(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertCDataKey && name.indexOf(this.stringify.convertCDataKey) === 0) { - lastChild = this.cdata(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertCommentKey && name.indexOf(this.stringify.convertCommentKey) === 0) { - lastChild = this.comment(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertRawKey && name.indexOf(this.stringify.convertRawKey) === 0) { - lastChild = this.raw(text); - } else { - lastChild = this.node(name, attributes, text); - } - } - if (lastChild == null) { - throw new Error("Could not create any elements with: " + name); - } - return lastChild; - }; - - XMLNode.prototype.insertBefore = function(name, attributes, text) { - var child, i, removed; - if (this.isRoot) { - throw new Error("Cannot insert elements at root level"); - } - i = this.parent.children.indexOf(this); - removed = this.parent.children.splice(i); - child = this.parent.element(name, attributes, text); - Array.prototype.push.apply(this.parent.children, removed); - return child; - }; - - XMLNode.prototype.insertAfter = function(name, attributes, text) { - var child, i, removed; - if (this.isRoot) { - throw new Error("Cannot insert elements at root level"); - } - i = this.parent.children.indexOf(this); - removed = this.parent.children.splice(i + 1); - child = this.parent.element(name, attributes, text); - Array.prototype.push.apply(this.parent.children, removed); - return child; - }; - - XMLNode.prototype.remove = function() { - var i, ref; - if (this.isRoot) { - throw new Error("Cannot remove the root element"); - } - i = this.parent.children.indexOf(this); - [].splice.apply(this.parent.children, [i, i - i + 1].concat(ref = [])), ref; - return this.parent; - }; - - XMLNode.prototype.node = function(name, attributes, text) { - var child, ref; - if (name != null) { - name = name.valueOf(); - } - if (attributes == null) { - attributes = {}; - } - attributes = attributes.valueOf(); - if (!isObject(attributes)) { - ref = [attributes, text], text = ref[0], attributes = ref[1]; - } - child = new XMLElement(this, name, attributes); - if (text != null) { - child.text(text); - } - this.children.push(child); - return child; - }; - - XMLNode.prototype.text = function(value) { - var child; - child = new XMLText(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.cdata = function(value) { - var child; - child = new XMLCData(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.comment = function(value) { - var child; - child = new XMLComment(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.raw = function(value) { - var child; - child = new XMLRaw(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.declaration = function(version, encoding, standalone) { - var doc, xmldec; - doc = this.document(); - xmldec = new XMLDeclaration(doc, version, encoding, standalone); - doc.xmldec = xmldec; - return doc.root(); - }; - - XMLNode.prototype.doctype = function(pubID, sysID) { - var doc, doctype; - doc = this.document(); - doctype = new XMLDocType(doc, pubID, sysID); - doc.doctype = doctype; - return doctype; - }; - - XMLNode.prototype.up = function() { - if (this.isRoot) { - throw new Error("The root node has no parent. Use doc() if you need to get the document object."); - } - return this.parent; - }; - - XMLNode.prototype.root = function() { - var child; - if (this.isRoot) { - return this; - } - child = this.parent; - while (!child.isRoot) { - child = child.parent; - } - return child; - }; - - XMLNode.prototype.document = function() { - return this.root().documentObject; - }; - - XMLNode.prototype.end = function(options) { - return this.document().toString(options); - }; - - XMLNode.prototype.prev = function() { - var i; - if (this.isRoot) { - throw new Error("Root node has no siblings"); - } - i = this.parent.children.indexOf(this); - if (i < 1) { - throw new Error("Already at the first node"); - } - return this.parent.children[i - 1]; - }; - - XMLNode.prototype.next = function() { - var i; - if (this.isRoot) { - throw new Error("Root node has no siblings"); - } - i = this.parent.children.indexOf(this); - if (i === -1 || i === this.parent.children.length - 1) { - throw new Error("Already at the last node"); - } - return this.parent.children[i + 1]; - }; - - XMLNode.prototype.importXMLBuilder = function(xmlbuilder) { - var clonedRoot; - clonedRoot = xmlbuilder.root().clone(); - clonedRoot.parent = this; - clonedRoot.isRoot = false; - this.children.push(clonedRoot); - return this; - }; - - XMLNode.prototype.ele = function(name, attributes, text) { - return this.element(name, attributes, text); - }; - - XMLNode.prototype.nod = function(name, attributes, text) { - return this.node(name, attributes, text); - }; - - XMLNode.prototype.txt = function(value) { - return this.text(value); - }; - - XMLNode.prototype.dat = function(value) { - return this.cdata(value); - }; - - XMLNode.prototype.com = function(value) { - return this.comment(value); - }; - - XMLNode.prototype.doc = function() { - return this.document(); - }; - - XMLNode.prototype.dec = function(version, encoding, standalone) { - return this.declaration(version, encoding, standalone); - }; - - XMLNode.prototype.dtd = function(pubID, sysID) { - return this.doctype(pubID, sysID); - }; - - XMLNode.prototype.e = function(name, attributes, text) { - return this.element(name, attributes, text); - }; - - XMLNode.prototype.n = function(name, attributes, text) { - return this.node(name, attributes, text); - }; - - XMLNode.prototype.t = function(value) { - return this.text(value); - }; - - XMLNode.prototype.d = function(value) { - return this.cdata(value); - }; - - XMLNode.prototype.c = function(value) { - return this.comment(value); - }; - - XMLNode.prototype.r = function(value) { - return this.raw(value); - }; - - XMLNode.prototype.u = function() { - return this.up(); - }; - - return XMLNode; - - })(); - - }).call(this); - - -/***/ }), -/* 76 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseKeys = __webpack_require__(66), - getTag = __webpack_require__(77), - isArguments = __webpack_require__(55), - isArray = __webpack_require__(58), - isArrayLike = __webpack_require__(48), - isBuffer = __webpack_require__(59), - isPrototype = __webpack_require__(51), - isTypedArray = __webpack_require__(62); - - /** `Object#toString` result references. */ - var mapTag = '[object Map]', - setTag = '[object Set]'; - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * Checks if `value` is an empty object, collection, map, or set. - * - * Objects are considered empty if they have no own enumerable string keyed - * properties. - * - * Array-like values such as `arguments` objects, arrays, buffers, strings, or - * jQuery-like collections are considered empty if they have a `length` of `0`. - * Similarly, maps and sets are considered empty if they have a `size` of `0`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is empty, else `false`. - * @example - * - * _.isEmpty(null); - * // => true - * - * _.isEmpty(true); - * // => true - * - * _.isEmpty(1); - * // => true - * - * _.isEmpty([1, 2, 3]); - * // => false - * - * _.isEmpty({ 'a': 1 }); - * // => false - */ - function isEmpty(value) { - if (value == null) { - return true; - } - if (isArrayLike(value) && - (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' || - isBuffer(value) || isTypedArray(value) || isArguments(value))) { - return !value.length; - } - var tag = getTag(value); - if (tag == mapTag || tag == setTag) { - return !value.size; - } - if (isPrototype(value)) { - return !baseKeys(value).length; - } - for (var key in value) { - if (hasOwnProperty.call(value, key)) { - return false; - } - } - return true; - } - - module.exports = isEmpty; - - -/***/ }), -/* 77 */ -/***/ (function(module, exports, __webpack_require__) { - - var DataView = __webpack_require__(78), - Map = __webpack_require__(79), - Promise = __webpack_require__(80), - Set = __webpack_require__(81), - WeakMap = __webpack_require__(82), - baseGetTag = __webpack_require__(25), - toSource = __webpack_require__(34); - - /** `Object#toString` result references. */ - var mapTag = '[object Map]', - objectTag = '[object Object]', - promiseTag = '[object Promise]', - setTag = '[object Set]', - weakMapTag = '[object WeakMap]'; - - var dataViewTag = '[object DataView]'; - - /** Used to detect maps, sets, and weakmaps. */ - var dataViewCtorString = toSource(DataView), - mapCtorString = toSource(Map), - promiseCtorString = toSource(Promise), - setCtorString = toSource(Set), - weakMapCtorString = toSource(WeakMap); - - /** - * Gets the `toStringTag` of `value`. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ - var getTag = baseGetTag; - - // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6. - if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || - (Map && getTag(new Map) != mapTag) || - (Promise && getTag(Promise.resolve()) != promiseTag) || - (Set && getTag(new Set) != setTag) || - (WeakMap && getTag(new WeakMap) != weakMapTag)) { - getTag = function(value) { - var result = baseGetTag(value), - Ctor = result == objectTag ? value.constructor : undefined, - ctorString = Ctor ? toSource(Ctor) : ''; - - if (ctorString) { - switch (ctorString) { - case dataViewCtorString: return dataViewTag; - case mapCtorString: return mapTag; - case promiseCtorString: return promiseTag; - case setCtorString: return setTag; - case weakMapCtorString: return weakMapTag; - } - } - return result; - }; - } - - module.exports = getTag; - - -/***/ }), -/* 78 */ -/***/ (function(module, exports, __webpack_require__) { - - var getNative = __webpack_require__(22), - root = __webpack_require__(27); - - /* Built-in method references that are verified to be native. */ - var DataView = getNative(root, 'DataView'); - - module.exports = DataView; - - -/***/ }), -/* 79 */ -/***/ (function(module, exports, __webpack_require__) { - - var getNative = __webpack_require__(22), - root = __webpack_require__(27); - - /* Built-in method references that are verified to be native. */ - var Map = getNative(root, 'Map'); - - module.exports = Map; - - -/***/ }), -/* 80 */ -/***/ (function(module, exports, __webpack_require__) { - - var getNative = __webpack_require__(22), - root = __webpack_require__(27); - - /* Built-in method references that are verified to be native. */ - var Promise = getNative(root, 'Promise'); - - module.exports = Promise; - - -/***/ }), -/* 81 */ -/***/ (function(module, exports, __webpack_require__) { - - var getNative = __webpack_require__(22), - root = __webpack_require__(27); - - /* Built-in method references that are verified to be native. */ - var Set = getNative(root, 'Set'); - - module.exports = Set; - - -/***/ }), -/* 82 */ -/***/ (function(module, exports, __webpack_require__) { - - var getNative = __webpack_require__(22), - root = __webpack_require__(27); - - /* Built-in method references that are verified to be native. */ - var WeakMap = getNative(root, 'WeakMap'); - - module.exports = WeakMap; - - -/***/ }), -/* 83 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLAttribute, XMLElement, XMLNode, XMLProcessingInstruction, create, every, isFunction, isObject, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = __webpack_require__(72); - - isObject = __webpack_require__(31); - - isFunction = __webpack_require__(24); - - every = __webpack_require__(84); - - XMLNode = __webpack_require__(75); - - XMLAttribute = __webpack_require__(164); - - XMLProcessingInstruction = __webpack_require__(165); - - module.exports = XMLElement = (function(superClass) { - extend(XMLElement, superClass); - - function XMLElement(parent, name, attributes) { - XMLElement.__super__.constructor.call(this, parent); - if (name == null) { - throw new Error("Missing element name"); - } - this.name = this.stringify.eleName(name); - this.children = []; - this.instructions = []; - this.attributes = {}; - if (attributes != null) { - this.attribute(attributes); - } - } - - XMLElement.prototype.clone = function() { - var att, attName, clonedSelf, i, len, pi, ref, ref1; - clonedSelf = create(XMLElement.prototype, this); - if (clonedSelf.isRoot) { - clonedSelf.documentObject = null; - } - clonedSelf.attributes = {}; - ref = this.attributes; - for (attName in ref) { - if (!hasProp.call(ref, attName)) continue; - att = ref[attName]; - clonedSelf.attributes[attName] = att.clone(); - } - clonedSelf.instructions = []; - ref1 = this.instructions; - for (i = 0, len = ref1.length; i < len; i++) { - pi = ref1[i]; - clonedSelf.instructions.push(pi.clone()); - } - clonedSelf.children = []; - this.children.forEach(function(child) { - var clonedChild; - clonedChild = child.clone(); - clonedChild.parent = clonedSelf; - return clonedSelf.children.push(clonedChild); - }); - return clonedSelf; - }; - - XMLElement.prototype.attribute = function(name, value) { - var attName, attValue; - if (name != null) { - name = name.valueOf(); - } - if (isObject(name)) { - for (attName in name) { - if (!hasProp.call(name, attName)) continue; - attValue = name[attName]; - this.attribute(attName, attValue); - } - } else { - if (isFunction(value)) { - value = value.apply(); - } - if (!this.options.skipNullAttributes || (value != null)) { - this.attributes[name] = new XMLAttribute(this, name, value); - } - } - return this; - }; - - XMLElement.prototype.removeAttribute = function(name) { - var attName, i, len; - if (name == null) { - throw new Error("Missing attribute name"); - } - name = name.valueOf(); - if (Array.isArray(name)) { - for (i = 0, len = name.length; i < len; i++) { - attName = name[i]; - delete this.attributes[attName]; - } - } else { - delete this.attributes[name]; - } - return this; - }; - - XMLElement.prototype.instruction = function(target, value) { - var i, insTarget, insValue, instruction, len; - if (target != null) { - target = target.valueOf(); - } - if (value != null) { - value = value.valueOf(); - } - if (Array.isArray(target)) { - for (i = 0, len = target.length; i < len; i++) { - insTarget = target[i]; - this.instruction(insTarget); - } - } else if (isObject(target)) { - for (insTarget in target) { - if (!hasProp.call(target, insTarget)) continue; - insValue = target[insTarget]; - this.instruction(insTarget, insValue); - } - } else { - if (isFunction(value)) { - value = value.apply(); - } - instruction = new XMLProcessingInstruction(this, target, value); - this.instructions.push(instruction); - } - return this; - }; - - XMLElement.prototype.toString = function(options, level) { - var att, child, i, indent, instruction, j, len, len1, name, newline, offset, pretty, r, ref, ref1, ref2, ref3, ref4, ref5, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - ref3 = this.instructions; - for (i = 0, len = ref3.length; i < len; i++) { - instruction = ref3[i]; - r += instruction.toString(options, level); - } - if (pretty) { - r += space; - } - r += '<' + this.name; - ref4 = this.attributes; - for (name in ref4) { - if (!hasProp.call(ref4, name)) continue; - att = ref4[name]; - r += att.toString(options); - } - if (this.children.length === 0 || every(this.children, function(e) { - return e.value === ''; - })) { - r += '/>'; - if (pretty) { - r += newline; - } - } else if (pretty && this.children.length === 1 && (this.children[0].value != null)) { - r += '>'; - r += this.children[0].value; - r += ''; - r += newline; - } else { - r += '>'; - if (pretty) { - r += newline; - } - ref5 = this.children; - for (j = 0, len1 = ref5.length; j < len1; j++) { - child = ref5[j]; - r += child.toString(options, level + 1); - } - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - } - return r; - }; - - XMLElement.prototype.att = function(name, value) { - return this.attribute(name, value); - }; - - XMLElement.prototype.ins = function(target, value) { - return this.instruction(target, value); - }; - - XMLElement.prototype.a = function(name, value) { - return this.attribute(name, value); - }; - - XMLElement.prototype.i = function(target, value) { - return this.instruction(target, value); - }; - - return XMLElement; - - })(XMLNode); - - }).call(this); - - -/***/ }), -/* 84 */ -/***/ (function(module, exports, __webpack_require__) { - - var arrayEvery = __webpack_require__(85), - baseEvery = __webpack_require__(86), - baseIteratee = __webpack_require__(92), - isArray = __webpack_require__(58), - isIterateeCall = __webpack_require__(47); - - /** - * Checks if `predicate` returns truthy for **all** elements of `collection`. - * Iteration is stopped once `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index|key, collection). - * - * **Note:** This method returns `true` for - * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because - * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of - * elements of empty collections. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - * @example - * - * _.every([true, 1, null, 'yes'], Boolean); - * // => false - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.every(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // The `_.matchesProperty` iteratee shorthand. - * _.every(users, ['active', false]); - * // => true - * - * // The `_.property` iteratee shorthand. - * _.every(users, 'active'); - * // => false - */ - function every(collection, predicate, guard) { - var func = isArray(collection) ? arrayEvery : baseEvery; - if (guard && isIterateeCall(collection, predicate, guard)) { - predicate = undefined; - } - return func(collection, baseIteratee(predicate, 3)); - } - - module.exports = every; - - -/***/ }), -/* 85 */ -/***/ (function(module, exports) { - - /** - * A specialized version of `_.every` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - */ - function arrayEvery(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (!predicate(array[index], index, array)) { - return false; - } - } - return true; - } - - module.exports = arrayEvery; - - -/***/ }), -/* 86 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseEach = __webpack_require__(87); - - /** - * The base implementation of `_.every` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false` - */ - function baseEvery(collection, predicate) { - var result = true; - baseEach(collection, function(value, index, collection) { - result = !!predicate(value, index, collection); - return result; - }); - return result; - } - - module.exports = baseEvery; - - -/***/ }), -/* 87 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseForOwn = __webpack_require__(88), - createBaseEach = __webpack_require__(91); - - /** - * The base implementation of `_.forEach` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - */ - var baseEach = createBaseEach(baseForOwn); - - module.exports = baseEach; - - -/***/ }), -/* 88 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseFor = __webpack_require__(89), - keys = __webpack_require__(52); - - /** - * The base implementation of `_.forOwn` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ - function baseForOwn(object, iteratee) { - return object && baseFor(object, iteratee, keys); - } - - module.exports = baseForOwn; - - -/***/ }), -/* 89 */ -/***/ (function(module, exports, __webpack_require__) { - - var createBaseFor = __webpack_require__(90); - - /** - * The base implementation of `baseForOwn` which iterates over `object` - * properties returned by `keysFunc` and invokes `iteratee` for each property. - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ - var baseFor = createBaseFor(); - - module.exports = baseFor; - - -/***/ }), -/* 90 */ -/***/ (function(module, exports) { - - /** - * Creates a base function for methods like `_.forIn` and `_.forOwn`. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { - var index = -1, - iterable = Object(object), - props = keysFunc(object), - length = props.length; - - while (length--) { - var key = props[fromRight ? length : ++index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - }; - } - - module.exports = createBaseFor; - - -/***/ }), -/* 91 */ -/***/ (function(module, exports, __webpack_require__) { - - var isArrayLike = __webpack_require__(48); - - /** - * Creates a `baseEach` or `baseEachRight` function. - * - * @private - * @param {Function} eachFunc The function to iterate over a collection. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseEach(eachFunc, fromRight) { - return function(collection, iteratee) { - if (collection == null) { - return collection; - } - if (!isArrayLike(collection)) { - return eachFunc(collection, iteratee); - } - var length = collection.length, - index = fromRight ? length : -1, - iterable = Object(collection); - - while ((fromRight ? index-- : ++index < length)) { - if (iteratee(iterable[index], index, iterable) === false) { - break; - } - } - return collection; - }; - } - - module.exports = createBaseEach; - - -/***/ }), -/* 92 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseMatches = __webpack_require__(93), - baseMatchesProperty = __webpack_require__(145), - identity = __webpack_require__(40), - isArray = __webpack_require__(58), - property = __webpack_require__(161); - - /** - * The base implementation of `_.iteratee`. - * - * @private - * @param {*} [value=_.identity] The value to convert to an iteratee. - * @returns {Function} Returns the iteratee. - */ - function baseIteratee(value) { - // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9. - // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details. - if (typeof value == 'function') { - return value; - } - if (value == null) { - return identity; - } - if (typeof value == 'object') { - return isArray(value) - ? baseMatchesProperty(value[0], value[1]) - : baseMatches(value); - } - return property(value); - } - - module.exports = baseIteratee; - - -/***/ }), -/* 93 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseIsMatch = __webpack_require__(94), - getMatchData = __webpack_require__(142), - matchesStrictComparable = __webpack_require__(144); - - /** - * The base implementation of `_.matches` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property values to match. - * @returns {Function} Returns the new spec function. - */ - function baseMatches(source) { - var matchData = getMatchData(source); - if (matchData.length == 1 && matchData[0][2]) { - return matchesStrictComparable(matchData[0][0], matchData[0][1]); - } - return function(object) { - return object === source || baseIsMatch(object, source, matchData); - }; - } - - module.exports = baseMatches; - - -/***/ }), -/* 94 */ -/***/ (function(module, exports, __webpack_require__) { - - var Stack = __webpack_require__(95), - baseIsEqual = __webpack_require__(123); - - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - - /** - * The base implementation of `_.isMatch` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Array} matchData The property names, values, and compare flags to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - */ - function baseIsMatch(object, source, matchData, customizer) { - var index = matchData.length, - length = index, - noCustomizer = !customizer; - - if (object == null) { - return !length; - } - object = Object(object); - while (index--) { - var data = matchData[index]; - if ((noCustomizer && data[2]) - ? data[1] !== object[data[0]] - : !(data[0] in object) - ) { - return false; - } - } - while (++index < length) { - data = matchData[index]; - var key = data[0], - objValue = object[key], - srcValue = data[1]; - - if (noCustomizer && data[2]) { - if (objValue === undefined && !(key in object)) { - return false; - } - } else { - var stack = new Stack; - if (customizer) { - var result = customizer(objValue, srcValue, key, object, source, stack); - } - if (!(result === undefined - ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) - : result - )) { - return false; - } - } - } - return true; - } - - module.exports = baseIsMatch; - - -/***/ }), -/* 95 */ -/***/ (function(module, exports, __webpack_require__) { - - var ListCache = __webpack_require__(96), - stackClear = __webpack_require__(103), - stackDelete = __webpack_require__(104), - stackGet = __webpack_require__(105), - stackHas = __webpack_require__(106), - stackSet = __webpack_require__(107); - - /** - * Creates a stack cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Stack(entries) { - var data = this.__data__ = new ListCache(entries); - this.size = data.size; - } - - // Add methods to `Stack`. - Stack.prototype.clear = stackClear; - Stack.prototype['delete'] = stackDelete; - Stack.prototype.get = stackGet; - Stack.prototype.has = stackHas; - Stack.prototype.set = stackSet; - - module.exports = Stack; - - -/***/ }), -/* 96 */ -/***/ (function(module, exports, __webpack_require__) { - - var listCacheClear = __webpack_require__(97), - listCacheDelete = __webpack_require__(98), - listCacheGet = __webpack_require__(100), - listCacheHas = __webpack_require__(101), - listCacheSet = __webpack_require__(102); - - /** - * Creates an list cache object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function ListCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - - // Add methods to `ListCache`. - ListCache.prototype.clear = listCacheClear; - ListCache.prototype['delete'] = listCacheDelete; - ListCache.prototype.get = listCacheGet; - ListCache.prototype.has = listCacheHas; - ListCache.prototype.set = listCacheSet; - - module.exports = ListCache; - - -/***/ }), -/* 97 */ -/***/ (function(module, exports) { - - /** - * Removes all key-value entries from the list cache. - * - * @private - * @name clear - * @memberOf ListCache - */ - function listCacheClear() { - this.__data__ = []; - this.size = 0; - } - - module.exports = listCacheClear; - - -/***/ }), -/* 98 */ -/***/ (function(module, exports, __webpack_require__) { - - var assocIndexOf = __webpack_require__(99); - - /** Used for built-in method references. */ - var arrayProto = Array.prototype; - - /** Built-in value references. */ - var splice = arrayProto.splice; - - /** - * Removes `key` and its value from the list cache. - * - * @private - * @name delete - * @memberOf ListCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function listCacheDelete(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - return false; - } - var lastIndex = data.length - 1; - if (index == lastIndex) { - data.pop(); - } else { - splice.call(data, index, 1); - } - --this.size; - return true; - } - - module.exports = listCacheDelete; - - -/***/ }), -/* 99 */ -/***/ (function(module, exports, __webpack_require__) { - - var eq = __webpack_require__(36); - - /** - * Gets the index at which the `key` is found in `array` of key-value pairs. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} key The key to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function assocIndexOf(array, key) { - var length = array.length; - while (length--) { - if (eq(array[length][0], key)) { - return length; - } - } - return -1; - } - - module.exports = assocIndexOf; - - -/***/ }), -/* 100 */ -/***/ (function(module, exports, __webpack_require__) { - - var assocIndexOf = __webpack_require__(99); - - /** - * Gets the list cache value for `key`. - * - * @private - * @name get - * @memberOf ListCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function listCacheGet(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - return index < 0 ? undefined : data[index][1]; - } - - module.exports = listCacheGet; - - -/***/ }), -/* 101 */ -/***/ (function(module, exports, __webpack_require__) { - - var assocIndexOf = __webpack_require__(99); - - /** - * Checks if a list cache value for `key` exists. - * - * @private - * @name has - * @memberOf ListCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function listCacheHas(key) { - return assocIndexOf(this.__data__, key) > -1; - } - - module.exports = listCacheHas; - - -/***/ }), -/* 102 */ -/***/ (function(module, exports, __webpack_require__) { - - var assocIndexOf = __webpack_require__(99); - - /** - * Sets the list cache `key` to `value`. - * - * @private - * @name set - * @memberOf ListCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the list cache instance. - */ - function listCacheSet(key, value) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - ++this.size; - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; - } - - module.exports = listCacheSet; - - -/***/ }), -/* 103 */ -/***/ (function(module, exports, __webpack_require__) { - - var ListCache = __webpack_require__(96); - - /** - * Removes all key-value entries from the stack. - * - * @private - * @name clear - * @memberOf Stack - */ - function stackClear() { - this.__data__ = new ListCache; - this.size = 0; - } - - module.exports = stackClear; - - -/***/ }), -/* 104 */ -/***/ (function(module, exports) { - - /** - * Removes `key` and its value from the stack. - * - * @private - * @name delete - * @memberOf Stack - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function stackDelete(key) { - var data = this.__data__, - result = data['delete'](key); - - this.size = data.size; - return result; - } - - module.exports = stackDelete; - - -/***/ }), -/* 105 */ -/***/ (function(module, exports) { - - /** - * Gets the stack value for `key`. - * - * @private - * @name get - * @memberOf Stack - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function stackGet(key) { - return this.__data__.get(key); - } - - module.exports = stackGet; - - -/***/ }), -/* 106 */ -/***/ (function(module, exports) { - - /** - * Checks if a stack value for `key` exists. - * - * @private - * @name has - * @memberOf Stack - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function stackHas(key) { - return this.__data__.has(key); - } - - module.exports = stackHas; - - -/***/ }), -/* 107 */ -/***/ (function(module, exports, __webpack_require__) { - - var ListCache = __webpack_require__(96), - Map = __webpack_require__(79), - MapCache = __webpack_require__(108); - - /** Used as the size to enable large array optimizations. */ - var LARGE_ARRAY_SIZE = 200; - - /** - * Sets the stack `key` to `value`. - * - * @private - * @name set - * @memberOf Stack - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the stack cache instance. - */ - function stackSet(key, value) { - var data = this.__data__; - if (data instanceof ListCache) { - var pairs = data.__data__; - if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { - pairs.push([key, value]); - this.size = ++data.size; - return this; - } - data = this.__data__ = new MapCache(pairs); - } - data.set(key, value); - this.size = data.size; - return this; - } - - module.exports = stackSet; - - -/***/ }), -/* 108 */ -/***/ (function(module, exports, __webpack_require__) { - - var mapCacheClear = __webpack_require__(109), - mapCacheDelete = __webpack_require__(117), - mapCacheGet = __webpack_require__(120), - mapCacheHas = __webpack_require__(121), - mapCacheSet = __webpack_require__(122); - - /** - * Creates a map cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function MapCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - - // Add methods to `MapCache`. - MapCache.prototype.clear = mapCacheClear; - MapCache.prototype['delete'] = mapCacheDelete; - MapCache.prototype.get = mapCacheGet; - MapCache.prototype.has = mapCacheHas; - MapCache.prototype.set = mapCacheSet; - - module.exports = MapCache; - - -/***/ }), -/* 109 */ -/***/ (function(module, exports, __webpack_require__) { - - var Hash = __webpack_require__(110), - ListCache = __webpack_require__(96), - Map = __webpack_require__(79); - - /** - * Removes all key-value entries from the map. - * - * @private - * @name clear - * @memberOf MapCache - */ - function mapCacheClear() { - this.size = 0; - this.__data__ = { - 'hash': new Hash, - 'map': new (Map || ListCache), - 'string': new Hash - }; - } - - module.exports = mapCacheClear; - - -/***/ }), -/* 110 */ -/***/ (function(module, exports, __webpack_require__) { - - var hashClear = __webpack_require__(111), - hashDelete = __webpack_require__(113), - hashGet = __webpack_require__(114), - hashHas = __webpack_require__(115), - hashSet = __webpack_require__(116); - - /** - * Creates a hash object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Hash(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - - // Add methods to `Hash`. - Hash.prototype.clear = hashClear; - Hash.prototype['delete'] = hashDelete; - Hash.prototype.get = hashGet; - Hash.prototype.has = hashHas; - Hash.prototype.set = hashSet; - - module.exports = Hash; - - -/***/ }), -/* 111 */ -/***/ (function(module, exports, __webpack_require__) { - - var nativeCreate = __webpack_require__(112); - - /** - * Removes all key-value entries from the hash. - * - * @private - * @name clear - * @memberOf Hash - */ - function hashClear() { - this.__data__ = nativeCreate ? nativeCreate(null) : {}; - this.size = 0; - } - - module.exports = hashClear; - - -/***/ }), -/* 112 */ -/***/ (function(module, exports, __webpack_require__) { - - var getNative = __webpack_require__(22); - - /* Built-in method references that are verified to be native. */ - var nativeCreate = getNative(Object, 'create'); - - module.exports = nativeCreate; - - -/***/ }), -/* 113 */ -/***/ (function(module, exports) { - - /** - * Removes `key` and its value from the hash. - * - * @private - * @name delete - * @memberOf Hash - * @param {Object} hash The hash to modify. - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function hashDelete(key) { - var result = this.has(key) && delete this.__data__[key]; - this.size -= result ? 1 : 0; - return result; - } - - module.exports = hashDelete; - - -/***/ }), -/* 114 */ -/***/ (function(module, exports, __webpack_require__) { - - var nativeCreate = __webpack_require__(112); - - /** Used to stand-in for `undefined` hash values. */ - var HASH_UNDEFINED = '__lodash_hash_undefined__'; - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * Gets the hash value for `key`. - * - * @private - * @name get - * @memberOf Hash - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function hashGet(key) { - var data = this.__data__; - if (nativeCreate) { - var result = data[key]; - return result === HASH_UNDEFINED ? undefined : result; - } - return hasOwnProperty.call(data, key) ? data[key] : undefined; - } - - module.exports = hashGet; - - -/***/ }), -/* 115 */ -/***/ (function(module, exports, __webpack_require__) { - - var nativeCreate = __webpack_require__(112); - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * Checks if a hash value for `key` exists. - * - * @private - * @name has - * @memberOf Hash - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function hashHas(key) { - var data = this.__data__; - return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); - } - - module.exports = hashHas; - - -/***/ }), -/* 116 */ -/***/ (function(module, exports, __webpack_require__) { - - var nativeCreate = __webpack_require__(112); - - /** Used to stand-in for `undefined` hash values. */ - var HASH_UNDEFINED = '__lodash_hash_undefined__'; - - /** - * Sets the hash `key` to `value`. - * - * @private - * @name set - * @memberOf Hash - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the hash instance. - */ - function hashSet(key, value) { - var data = this.__data__; - this.size += this.has(key) ? 0 : 1; - data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; - return this; - } - - module.exports = hashSet; - - -/***/ }), -/* 117 */ -/***/ (function(module, exports, __webpack_require__) { - - var getMapData = __webpack_require__(118); - - /** - * Removes `key` and its value from the map. - * - * @private - * @name delete - * @memberOf MapCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function mapCacheDelete(key) { - var result = getMapData(this, key)['delete'](key); - this.size -= result ? 1 : 0; - return result; - } - - module.exports = mapCacheDelete; - - -/***/ }), -/* 118 */ -/***/ (function(module, exports, __webpack_require__) { - - var isKeyable = __webpack_require__(119); - - /** - * Gets the data for `map`. - * - * @private - * @param {Object} map The map to query. - * @param {string} key The reference key. - * @returns {*} Returns the map data. - */ - function getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data[typeof key == 'string' ? 'string' : 'hash'] - : data.map; - } - - module.exports = getMapData; - - -/***/ }), -/* 119 */ -/***/ (function(module, exports) { - - /** - * Checks if `value` is suitable for use as unique object key. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is suitable, else `false`. - */ - function isKeyable(value) { - var type = typeof value; - return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') - ? (value !== '__proto__') - : (value === null); - } - - module.exports = isKeyable; - - -/***/ }), -/* 120 */ -/***/ (function(module, exports, __webpack_require__) { - - var getMapData = __webpack_require__(118); - - /** - * Gets the map value for `key`. - * - * @private - * @name get - * @memberOf MapCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function mapCacheGet(key) { - return getMapData(this, key).get(key); - } - - module.exports = mapCacheGet; - - -/***/ }), -/* 121 */ -/***/ (function(module, exports, __webpack_require__) { - - var getMapData = __webpack_require__(118); - - /** - * Checks if a map value for `key` exists. - * - * @private - * @name has - * @memberOf MapCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function mapCacheHas(key) { - return getMapData(this, key).has(key); - } - - module.exports = mapCacheHas; - - -/***/ }), -/* 122 */ -/***/ (function(module, exports, __webpack_require__) { - - var getMapData = __webpack_require__(118); - - /** - * Sets the map `key` to `value`. - * - * @private - * @name set - * @memberOf MapCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the map cache instance. - */ - function mapCacheSet(key, value) { - var data = getMapData(this, key), - size = data.size; - - data.set(key, value); - this.size += data.size == size ? 0 : 1; - return this; - } - - module.exports = mapCacheSet; - - -/***/ }), -/* 123 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseIsEqualDeep = __webpack_require__(124), - isObjectLike = __webpack_require__(57); - - /** - * The base implementation of `_.isEqual` which supports partial comparisons - * and tracks traversed objects. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {boolean} bitmask The bitmask flags. - * 1 - Unordered comparison - * 2 - Partial comparison - * @param {Function} [customizer] The function to customize comparisons. - * @param {Object} [stack] Tracks traversed `value` and `other` objects. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - */ - function baseIsEqual(value, other, bitmask, customizer, stack) { - if (value === other) { - return true; - } - if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { - return value !== value && other !== other; - } - return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); - } - - module.exports = baseIsEqual; - - -/***/ }), -/* 124 */ -/***/ (function(module, exports, __webpack_require__) { - - var Stack = __webpack_require__(95), - equalArrays = __webpack_require__(125), - equalByTag = __webpack_require__(131), - equalObjects = __webpack_require__(135), - getTag = __webpack_require__(77), - isArray = __webpack_require__(58), - isBuffer = __webpack_require__(59), - isTypedArray = __webpack_require__(62); - - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1; - - /** `Object#toString` result references. */ - var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - objectTag = '[object Object]'; - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * A specialized version of `baseIsEqual` for arrays and objects which performs - * deep comparisons and tracks traversed objects enabling objects with circular - * references to be compared. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} [stack] Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { - var objIsArr = isArray(object), - othIsArr = isArray(other), - objTag = objIsArr ? arrayTag : getTag(object), - othTag = othIsArr ? arrayTag : getTag(other); - - objTag = objTag == argsTag ? objectTag : objTag; - othTag = othTag == argsTag ? objectTag : othTag; - - var objIsObj = objTag == objectTag, - othIsObj = othTag == objectTag, - isSameTag = objTag == othTag; - - if (isSameTag && isBuffer(object)) { - if (!isBuffer(other)) { - return false; - } - objIsArr = true; - objIsObj = false; - } - if (isSameTag && !objIsObj) { - stack || (stack = new Stack); - return (objIsArr || isTypedArray(object)) - ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) - : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); - } - if (!(bitmask & COMPARE_PARTIAL_FLAG)) { - var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), - othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); - - if (objIsWrapped || othIsWrapped) { - var objUnwrapped = objIsWrapped ? object.value() : object, - othUnwrapped = othIsWrapped ? other.value() : other; - - stack || (stack = new Stack); - return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); - } - } - if (!isSameTag) { - return false; - } - stack || (stack = new Stack); - return equalObjects(object, other, bitmask, customizer, equalFunc, stack); - } - - module.exports = baseIsEqualDeep; - - -/***/ }), -/* 125 */ -/***/ (function(module, exports, __webpack_require__) { - - var SetCache = __webpack_require__(126), - arraySome = __webpack_require__(129), - cacheHas = __webpack_require__(130); - - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - - /** - * A specialized version of `baseIsEqualDeep` for arrays with support for - * partial deep comparisons. - * - * @private - * @param {Array} array The array to compare. - * @param {Array} other The other array to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `array` and `other` objects. - * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. - */ - function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - arrLength = array.length, - othLength = other.length; - - if (arrLength != othLength && !(isPartial && othLength > arrLength)) { - return false; - } - // Assume cyclic values are equal. - var stacked = stack.get(array); - if (stacked && stack.get(other)) { - return stacked == other; - } - var index = -1, - result = true, - seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined; - - stack.set(array, other); - stack.set(other, array); - - // Ignore non-index properties. - while (++index < arrLength) { - var arrValue = array[index], - othValue = other[index]; - - if (customizer) { - var compared = isPartial - ? customizer(othValue, arrValue, index, other, array, stack) - : customizer(arrValue, othValue, index, array, other, stack); - } - if (compared !== undefined) { - if (compared) { - continue; - } - result = false; - break; - } - // Recursively compare arrays (susceptible to call stack limits). - if (seen) { - if (!arraySome(other, function(othValue, othIndex) { - if (!cacheHas(seen, othIndex) && - (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { - return seen.push(othIndex); - } - })) { - result = false; - break; - } - } else if (!( - arrValue === othValue || - equalFunc(arrValue, othValue, bitmask, customizer, stack) - )) { - result = false; - break; - } - } - stack['delete'](array); - stack['delete'](other); - return result; - } - - module.exports = equalArrays; - - -/***/ }), -/* 126 */ -/***/ (function(module, exports, __webpack_require__) { - - var MapCache = __webpack_require__(108), - setCacheAdd = __webpack_require__(127), - setCacheHas = __webpack_require__(128); - - /** - * - * Creates an array cache object to store unique values. - * - * @private - * @constructor - * @param {Array} [values] The values to cache. - */ - function SetCache(values) { - var index = -1, - length = values == null ? 0 : values.length; - - this.__data__ = new MapCache; - while (++index < length) { - this.add(values[index]); - } - } - - // Add methods to `SetCache`. - SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; - SetCache.prototype.has = setCacheHas; - - module.exports = SetCache; - - -/***/ }), -/* 127 */ -/***/ (function(module, exports) { - - /** Used to stand-in for `undefined` hash values. */ - var HASH_UNDEFINED = '__lodash_hash_undefined__'; - - /** - * Adds `value` to the array cache. - * - * @private - * @name add - * @memberOf SetCache - * @alias push - * @param {*} value The value to cache. - * @returns {Object} Returns the cache instance. - */ - function setCacheAdd(value) { - this.__data__.set(value, HASH_UNDEFINED); - return this; - } - - module.exports = setCacheAdd; - - -/***/ }), -/* 128 */ -/***/ (function(module, exports) { - - /** - * Checks if `value` is in the array cache. - * - * @private - * @name has - * @memberOf SetCache - * @param {*} value The value to search for. - * @returns {number} Returns `true` if `value` is found, else `false`. - */ - function setCacheHas(value) { - return this.__data__.has(value); - } - - module.exports = setCacheHas; - - -/***/ }), -/* 129 */ -/***/ (function(module, exports) { - - /** - * A specialized version of `_.some` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ - function arraySome(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (predicate(array[index], index, array)) { - return true; - } - } - return false; - } - - module.exports = arraySome; - - -/***/ }), -/* 130 */ -/***/ (function(module, exports) { - - /** - * Checks if a `cache` value for `key` exists. - * - * @private - * @param {Object} cache The cache to query. - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function cacheHas(cache, key) { - return cache.has(key); - } - - module.exports = cacheHas; - - -/***/ }), -/* 131 */ -/***/ (function(module, exports, __webpack_require__) { - - var Symbol = __webpack_require__(26), - Uint8Array = __webpack_require__(132), - eq = __webpack_require__(36), - equalArrays = __webpack_require__(125), - mapToArray = __webpack_require__(133), - setToArray = __webpack_require__(134); - - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - - /** `Object#toString` result references. */ - var boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - mapTag = '[object Map]', - numberTag = '[object Number]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - symbolTag = '[object Symbol]'; - - var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]'; - - /** Used to convert symbols to primitives and strings. */ - var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; - - /** - * A specialized version of `baseIsEqualDeep` for comparing objects of - * the same `toStringTag`. - * - * **Note:** This function only supports comparing values with tags of - * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {string} tag The `toStringTag` of the objects to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { - switch (tag) { - case dataViewTag: - if ((object.byteLength != other.byteLength) || - (object.byteOffset != other.byteOffset)) { - return false; - } - object = object.buffer; - other = other.buffer; - - case arrayBufferTag: - if ((object.byteLength != other.byteLength) || - !equalFunc(new Uint8Array(object), new Uint8Array(other))) { - return false; - } - return true; - - case boolTag: - case dateTag: - case numberTag: - // Coerce booleans to `1` or `0` and dates to milliseconds. - // Invalid dates are coerced to `NaN`. - return eq(+object, +other); - - case errorTag: - return object.name == other.name && object.message == other.message; - - case regexpTag: - case stringTag: - // Coerce regexes to strings and treat strings, primitives and objects, - // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring - // for more details. - return object == (other + ''); - - case mapTag: - var convert = mapToArray; - - case setTag: - var isPartial = bitmask & COMPARE_PARTIAL_FLAG; - convert || (convert = setToArray); - - if (object.size != other.size && !isPartial) { - return false; - } - // Assume cyclic values are equal. - var stacked = stack.get(object); - if (stacked) { - return stacked == other; - } - bitmask |= COMPARE_UNORDERED_FLAG; - - // Recursively compare objects (susceptible to call stack limits). - stack.set(object, other); - var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack); - stack['delete'](object); - return result; - - case symbolTag: - if (symbolValueOf) { - return symbolValueOf.call(object) == symbolValueOf.call(other); - } - } - return false; - } - - module.exports = equalByTag; - - -/***/ }), -/* 132 */ -/***/ (function(module, exports, __webpack_require__) { - - var root = __webpack_require__(27); - - /** Built-in value references. */ - var Uint8Array = root.Uint8Array; - - module.exports = Uint8Array; - - -/***/ }), -/* 133 */ -/***/ (function(module, exports) { - - /** - * Converts `map` to its key-value pairs. - * - * @private - * @param {Object} map The map to convert. - * @returns {Array} Returns the key-value pairs. - */ - function mapToArray(map) { - var index = -1, - result = Array(map.size); - - map.forEach(function(value, key) { - result[++index] = [key, value]; - }); - return result; - } - - module.exports = mapToArray; - - -/***/ }), -/* 134 */ -/***/ (function(module, exports) { - - /** - * Converts `set` to an array of its values. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the values. - */ - function setToArray(set) { - var index = -1, - result = Array(set.size); - - set.forEach(function(value) { - result[++index] = value; - }); - return result; - } - - module.exports = setToArray; - - -/***/ }), -/* 135 */ -/***/ (function(module, exports, __webpack_require__) { - - var getAllKeys = __webpack_require__(136); - - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1; - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * A specialized version of `baseIsEqualDeep` for objects with support for - * partial deep comparisons. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - objProps = getAllKeys(object), - objLength = objProps.length, - othProps = getAllKeys(other), - othLength = othProps.length; - - if (objLength != othLength && !isPartial) { - return false; - } - var index = objLength; - while (index--) { - var key = objProps[index]; - if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { - return false; - } - } - // Assume cyclic values are equal. - var stacked = stack.get(object); - if (stacked && stack.get(other)) { - return stacked == other; - } - var result = true; - stack.set(object, other); - stack.set(other, object); - - var skipCtor = isPartial; - while (++index < objLength) { - key = objProps[index]; - var objValue = object[key], - othValue = other[key]; - - if (customizer) { - var compared = isPartial - ? customizer(othValue, objValue, key, other, object, stack) - : customizer(objValue, othValue, key, object, other, stack); - } - // Recursively compare objects (susceptible to call stack limits). - if (!(compared === undefined - ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) - : compared - )) { - result = false; - break; - } - skipCtor || (skipCtor = key == 'constructor'); - } - if (result && !skipCtor) { - var objCtor = object.constructor, - othCtor = other.constructor; - - // Non `Object` object instances with different constructors are not equal. - if (objCtor != othCtor && - ('constructor' in object && 'constructor' in other) && - !(typeof objCtor == 'function' && objCtor instanceof objCtor && - typeof othCtor == 'function' && othCtor instanceof othCtor)) { - result = false; - } - } - stack['delete'](object); - stack['delete'](other); - return result; - } - - module.exports = equalObjects; - - -/***/ }), -/* 136 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseGetAllKeys = __webpack_require__(137), - getSymbols = __webpack_require__(139), - keys = __webpack_require__(52); - - /** - * Creates an array of own enumerable property names and symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. - */ - function getAllKeys(object) { - return baseGetAllKeys(object, keys, getSymbols); - } - - module.exports = getAllKeys; - - -/***/ }), -/* 137 */ -/***/ (function(module, exports, __webpack_require__) { - - var arrayPush = __webpack_require__(138), - isArray = __webpack_require__(58); - - /** - * The base implementation of `getAllKeys` and `getAllKeysIn` which uses - * `keysFunc` and `symbolsFunc` to get the enumerable property names and - * symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Function} keysFunc The function to get the keys of `object`. - * @param {Function} symbolsFunc The function to get the symbols of `object`. - * @returns {Array} Returns the array of property names and symbols. - */ - function baseGetAllKeys(object, keysFunc, symbolsFunc) { - var result = keysFunc(object); - return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); - } - - module.exports = baseGetAllKeys; - - -/***/ }), -/* 138 */ -/***/ (function(module, exports) { - - /** - * Appends the elements of `values` to `array`. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to append. - * @returns {Array} Returns `array`. - */ - function arrayPush(array, values) { - var index = -1, - length = values.length, - offset = array.length; - - while (++index < length) { - array[offset + index] = values[index]; - } - return array; - } - - module.exports = arrayPush; - - -/***/ }), -/* 139 */ -/***/ (function(module, exports, __webpack_require__) { - - var arrayFilter = __webpack_require__(140), - stubArray = __webpack_require__(141); - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** Built-in value references. */ - var propertyIsEnumerable = objectProto.propertyIsEnumerable; - - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeGetSymbols = Object.getOwnPropertySymbols; - - /** - * Creates an array of the own enumerable symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. - */ - var getSymbols = !nativeGetSymbols ? stubArray : function(object) { - if (object == null) { - return []; - } - object = Object(object); - return arrayFilter(nativeGetSymbols(object), function(symbol) { - return propertyIsEnumerable.call(object, symbol); - }); - }; - - module.exports = getSymbols; - - -/***/ }), -/* 140 */ -/***/ (function(module, exports) { - - /** - * A specialized version of `_.filter` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ - function arrayFilter(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result[resIndex++] = value; - } - } - return result; - } - - module.exports = arrayFilter; - - -/***/ }), -/* 141 */ -/***/ (function(module, exports) { - - /** - * This method returns a new empty array. - * - * @static - * @memberOf _ - * @since 4.13.0 - * @category Util - * @returns {Array} Returns the new empty array. - * @example - * - * var arrays = _.times(2, _.stubArray); - * - * console.log(arrays); - * // => [[], []] - * - * console.log(arrays[0] === arrays[1]); - * // => false - */ - function stubArray() { - return []; - } - - module.exports = stubArray; - - -/***/ }), -/* 142 */ -/***/ (function(module, exports, __webpack_require__) { - - var isStrictComparable = __webpack_require__(143), - keys = __webpack_require__(52); - - /** - * Gets the property names, values, and compare flags of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the match data of `object`. - */ - function getMatchData(object) { - var result = keys(object), - length = result.length; - - while (length--) { - var key = result[length], - value = object[key]; - - result[length] = [key, value, isStrictComparable(value)]; - } - return result; - } - - module.exports = getMatchData; - - -/***/ }), -/* 143 */ -/***/ (function(module, exports, __webpack_require__) { - - var isObject = __webpack_require__(31); - - /** - * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` if suitable for strict - * equality comparisons, else `false`. - */ - function isStrictComparable(value) { - return value === value && !isObject(value); - } - - module.exports = isStrictComparable; - - -/***/ }), -/* 144 */ -/***/ (function(module, exports) { - - /** - * A specialized version of `matchesProperty` for source values suitable - * for strict equality comparisons, i.e. `===`. - * - * @private - * @param {string} key The key of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ - function matchesStrictComparable(key, srcValue) { - return function(object) { - if (object == null) { - return false; - } - return object[key] === srcValue && - (srcValue !== undefined || (key in Object(object))); - }; - } - - module.exports = matchesStrictComparable; - - -/***/ }), -/* 145 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseIsEqual = __webpack_require__(123), - get = __webpack_require__(146), - hasIn = __webpack_require__(158), - isKey = __webpack_require__(149), - isStrictComparable = __webpack_require__(143), - matchesStrictComparable = __webpack_require__(144), - toKey = __webpack_require__(157); - - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - - /** - * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. - * - * @private - * @param {string} path The path of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ - function baseMatchesProperty(path, srcValue) { - if (isKey(path) && isStrictComparable(srcValue)) { - return matchesStrictComparable(toKey(path), srcValue); - } - return function(object) { - var objValue = get(object, path); - return (objValue === undefined && objValue === srcValue) - ? hasIn(object, path) - : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); - }; - } - - module.exports = baseMatchesProperty; - - -/***/ }), -/* 146 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseGet = __webpack_require__(147); - - /** - * Gets the value at `path` of `object`. If the resolved value is - * `undefined`, the `defaultValue` is returned in its place. - * - * @static - * @memberOf _ - * @since 3.7.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @param {*} [defaultValue] The value returned for `undefined` resolved values. - * @returns {*} Returns the resolved value. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.get(object, 'a[0].b.c'); - * // => 3 - * - * _.get(object, ['a', '0', 'b', 'c']); - * // => 3 - * - * _.get(object, 'a.b.c', 'default'); - * // => 'default' - */ - function get(object, path, defaultValue) { - var result = object == null ? undefined : baseGet(object, path); - return result === undefined ? defaultValue : result; - } - - module.exports = get; - - -/***/ }), -/* 147 */ -/***/ (function(module, exports, __webpack_require__) { - - var castPath = __webpack_require__(148), - toKey = __webpack_require__(157); - - /** - * The base implementation of `_.get` without support for default values. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @returns {*} Returns the resolved value. - */ - function baseGet(object, path) { - path = castPath(path, object); - - var index = 0, - length = path.length; - - while (object != null && index < length) { - object = object[toKey(path[index++])]; - } - return (index && index == length) ? object : undefined; - } - - module.exports = baseGet; - - -/***/ }), -/* 148 */ -/***/ (function(module, exports, __webpack_require__) { - - var isArray = __webpack_require__(58), - isKey = __webpack_require__(149), - stringToPath = __webpack_require__(151), - toString = __webpack_require__(154); - - /** - * Casts `value` to a path array if it's not one. - * - * @private - * @param {*} value The value to inspect. - * @param {Object} [object] The object to query keys on. - * @returns {Array} Returns the cast property path array. - */ - function castPath(value, object) { - if (isArray(value)) { - return value; - } - return isKey(value, object) ? [value] : stringToPath(toString(value)); - } - - module.exports = castPath; - - -/***/ }), -/* 149 */ -/***/ (function(module, exports, __webpack_require__) { - - var isArray = __webpack_require__(58), - isSymbol = __webpack_require__(150); - - /** Used to match property names within property paths. */ - var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, - reIsPlainProp = /^\w*$/; - - /** - * Checks if `value` is a property name and not a property path. - * - * @private - * @param {*} value The value to check. - * @param {Object} [object] The object to query keys on. - * @returns {boolean} Returns `true` if `value` is a property name, else `false`. - */ - function isKey(value, object) { - if (isArray(value)) { - return false; - } - var type = typeof value; - if (type == 'number' || type == 'symbol' || type == 'boolean' || - value == null || isSymbol(value)) { - return true; - } - return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || - (object != null && value in Object(object)); - } - - module.exports = isKey; - - -/***/ }), -/* 150 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseGetTag = __webpack_require__(25), - isObjectLike = __webpack_require__(57); - - /** `Object#toString` result references. */ - var symbolTag = '[object Symbol]'; - - /** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ - function isSymbol(value) { - return typeof value == 'symbol' || - (isObjectLike(value) && baseGetTag(value) == symbolTag); - } - - module.exports = isSymbol; - - -/***/ }), -/* 151 */ -/***/ (function(module, exports, __webpack_require__) { - - var memoizeCapped = __webpack_require__(152); - - /** Used to match property names within property paths. */ - var reLeadingDot = /^\./, - rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; - - /** Used to match backslashes in property paths. */ - var reEscapeChar = /\\(\\)?/g; - - /** - * Converts `string` to a property path array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the property path array. - */ - var stringToPath = memoizeCapped(function(string) { - var result = []; - if (reLeadingDot.test(string)) { - result.push(''); - } - string.replace(rePropName, function(match, number, quote, string) { - result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match)); - }); - return result; - }); - - module.exports = stringToPath; - - -/***/ }), -/* 152 */ -/***/ (function(module, exports, __webpack_require__) { - - var memoize = __webpack_require__(153); - - /** Used as the maximum memoize cache size. */ - var MAX_MEMOIZE_SIZE = 500; - - /** - * A specialized version of `_.memoize` which clears the memoized function's - * cache when it exceeds `MAX_MEMOIZE_SIZE`. - * - * @private - * @param {Function} func The function to have its output memoized. - * @returns {Function} Returns the new memoized function. - */ - function memoizeCapped(func) { - var result = memoize(func, function(key) { - if (cache.size === MAX_MEMOIZE_SIZE) { - cache.clear(); - } - return key; - }); - - var cache = result.cache; - return result; - } - - module.exports = memoizeCapped; - - -/***/ }), -/* 153 */ -/***/ (function(module, exports, __webpack_require__) { - - var MapCache = __webpack_require__(108); - - /** Error message constants. */ - var FUNC_ERROR_TEXT = 'Expected a function'; - - /** - * Creates a function that memoizes the result of `func`. If `resolver` is - * provided, it determines the cache key for storing the result based on the - * arguments provided to the memoized function. By default, the first argument - * provided to the memoized function is used as the map cache key. The `func` - * is invoked with the `this` binding of the memoized function. - * - * **Note:** The cache is exposed as the `cache` property on the memoized - * function. Its creation may be customized by replacing the `_.memoize.Cache` - * constructor with one whose instances implement the - * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object) - * method interface of `clear`, `delete`, `get`, `has`, and `set`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to have its output memoized. - * @param {Function} [resolver] The function to resolve the cache key. - * @returns {Function} Returns the new memoized function. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * var other = { 'c': 3, 'd': 4 }; - * - * var values = _.memoize(_.values); - * values(object); - * // => [1, 2] - * - * values(other); - * // => [3, 4] - * - * object.a = 2; - * values(object); - * // => [1, 2] - * - * // Modify the result cache. - * values.cache.set(object, ['a', 'b']); - * values(object); - * // => ['a', 'b'] - * - * // Replace `_.memoize.Cache`. - * _.memoize.Cache = WeakMap; - */ - function memoize(func, resolver) { - if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { - throw new TypeError(FUNC_ERROR_TEXT); - } - var memoized = function() { - var args = arguments, - key = resolver ? resolver.apply(this, args) : args[0], - cache = memoized.cache; - - if (cache.has(key)) { - return cache.get(key); - } - var result = func.apply(this, args); - memoized.cache = cache.set(key, result) || cache; - return result; - }; - memoized.cache = new (memoize.Cache || MapCache); - return memoized; - } - - // Expose `MapCache`. - memoize.Cache = MapCache; - - module.exports = memoize; - - -/***/ }), -/* 154 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseToString = __webpack_require__(155); - - /** - * Converts `value` to a string. An empty string is returned for `null` - * and `undefined` values. The sign of `-0` is preserved. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - * @example - * - * _.toString(null); - * // => '' - * - * _.toString(-0); - * // => '-0' - * - * _.toString([1, 2, 3]); - * // => '1,2,3' - */ - function toString(value) { - return value == null ? '' : baseToString(value); - } - - module.exports = toString; - - -/***/ }), -/* 155 */ -/***/ (function(module, exports, __webpack_require__) { - - var Symbol = __webpack_require__(26), - arrayMap = __webpack_require__(156), - isArray = __webpack_require__(58), - isSymbol = __webpack_require__(150); - - /** Used as references for various `Number` constants. */ - var INFINITY = 1 / 0; - - /** Used to convert symbols to primitives and strings. */ - var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolToString = symbolProto ? symbolProto.toString : undefined; - - /** - * The base implementation of `_.toString` which doesn't convert nullish - * values to empty strings. - * - * @private - * @param {*} value The value to process. - * @returns {string} Returns the string. - */ - function baseToString(value) { - // Exit early for strings to avoid a performance hit in some environments. - if (typeof value == 'string') { - return value; - } - if (isArray(value)) { - // Recursively convert values (susceptible to call stack limits). - return arrayMap(value, baseToString) + ''; - } - if (isSymbol(value)) { - return symbolToString ? symbolToString.call(value) : ''; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; - } - - module.exports = baseToString; - - -/***/ }), -/* 156 */ -/***/ (function(module, exports) { - - /** - * A specialized version of `_.map` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ - function arrayMap(array, iteratee) { - var index = -1, - length = array == null ? 0 : array.length, - result = Array(length); - - while (++index < length) { - result[index] = iteratee(array[index], index, array); - } - return result; - } - - module.exports = arrayMap; - - -/***/ }), -/* 157 */ -/***/ (function(module, exports, __webpack_require__) { - - var isSymbol = __webpack_require__(150); - - /** Used as references for various `Number` constants. */ - var INFINITY = 1 / 0; - - /** - * Converts `value` to a string key if it's not a string or symbol. - * - * @private - * @param {*} value The value to inspect. - * @returns {string|symbol} Returns the key. - */ - function toKey(value) { - if (typeof value == 'string' || isSymbol(value)) { - return value; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; - } - - module.exports = toKey; - - -/***/ }), -/* 158 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseHasIn = __webpack_require__(159), - hasPath = __webpack_require__(160); - - /** - * Checks if `path` is a direct or inherited property of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = _.create({ 'a': _.create({ 'b': 2 }) }); - * - * _.hasIn(object, 'a'); - * // => true - * - * _.hasIn(object, 'a.b'); - * // => true - * - * _.hasIn(object, ['a', 'b']); - * // => true - * - * _.hasIn(object, 'b'); - * // => false - */ - function hasIn(object, path) { - return object != null && hasPath(object, path, baseHasIn); - } - - module.exports = hasIn; - - -/***/ }), -/* 159 */ -/***/ (function(module, exports) { - - /** - * The base implementation of `_.hasIn` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ - function baseHasIn(object, key) { - return object != null && key in Object(object); - } - - module.exports = baseHasIn; - - -/***/ }), -/* 160 */ -/***/ (function(module, exports, __webpack_require__) { - - var castPath = __webpack_require__(148), - isArguments = __webpack_require__(55), - isArray = __webpack_require__(58), - isIndex = __webpack_require__(50), - isLength = __webpack_require__(49), - toKey = __webpack_require__(157); - - /** - * Checks if `path` exists on `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @param {Function} hasFunc The function to check properties. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - */ - function hasPath(object, path, hasFunc) { - path = castPath(path, object); - - var index = -1, - length = path.length, - result = false; - - while (++index < length) { - var key = toKey(path[index]); - if (!(result = object != null && hasFunc(object, key))) { - break; - } - object = object[key]; - } - if (result || ++index != length) { - return result; - } - length = object == null ? 0 : object.length; - return !!length && isLength(length) && isIndex(key, length) && - (isArray(object) || isArguments(object)); - } - - module.exports = hasPath; - - -/***/ }), -/* 161 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseProperty = __webpack_require__(162), - basePropertyDeep = __webpack_require__(163), - isKey = __webpack_require__(149), - toKey = __webpack_require__(157); - - /** - * Creates a function that returns the value at `path` of a given object. - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Util - * @param {Array|string} path The path of the property to get. - * @returns {Function} Returns the new accessor function. - * @example - * - * var objects = [ - * { 'a': { 'b': 2 } }, - * { 'a': { 'b': 1 } } - * ]; - * - * _.map(objects, _.property('a.b')); - * // => [2, 1] - * - * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b'); - * // => [1, 2] - */ - function property(path) { - return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path); - } - - module.exports = property; - - -/***/ }), -/* 162 */ -/***/ (function(module, exports) { - - /** - * The base implementation of `_.property` without support for deep paths. - * - * @private - * @param {string} key The key of the property to get. - * @returns {Function} Returns the new accessor function. - */ - function baseProperty(key) { - return function(object) { - return object == null ? undefined : object[key]; - }; - } - - module.exports = baseProperty; - - -/***/ }), -/* 163 */ -/***/ (function(module, exports, __webpack_require__) { - - var baseGet = __webpack_require__(147); - - /** - * A specialized version of `baseProperty` which supports deep paths. - * - * @private - * @param {Array|string} path The path of the property to get. - * @returns {Function} Returns the new accessor function. - */ - function basePropertyDeep(path) { - return function(object) { - return baseGet(object, path); - }; - } - - module.exports = basePropertyDeep; - - -/***/ }), -/* 164 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLAttribute, create; - - create = __webpack_require__(72); - - module.exports = XMLAttribute = (function() { - function XMLAttribute(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing attribute name of element " + parent.name); - } - if (value == null) { - throw new Error("Missing attribute value for attribute " + name + " of element " + parent.name); - } - this.name = this.stringify.attName(name); - this.value = this.stringify.attValue(value); - } - - XMLAttribute.prototype.clone = function() { - return create(XMLAttribute.prototype, this); - }; - - XMLAttribute.prototype.toString = function(options, level) { - return ' ' + this.name + '="' + this.value + '"'; - }; - - return XMLAttribute; - - })(); - - }).call(this); - - -/***/ }), -/* 165 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLProcessingInstruction, create; - - create = __webpack_require__(72); - - module.exports = XMLProcessingInstruction = (function() { - function XMLProcessingInstruction(parent, target, value) { - this.stringify = parent.stringify; - if (target == null) { - throw new Error("Missing instruction target"); - } - this.target = this.stringify.insTarget(target); - if (value) { - this.value = this.stringify.insValue(value); - } - } - - XMLProcessingInstruction.prototype.clone = function() { - return create(XMLProcessingInstruction.prototype, this); - }; - - XMLProcessingInstruction.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLProcessingInstruction; - - })(); - - }).call(this); - - -/***/ }), -/* 166 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLCData, XMLNode, create, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = __webpack_require__(72); - - XMLNode = __webpack_require__(75); - - module.exports = XMLCData = (function(superClass) { - extend(XMLCData, superClass); - - function XMLCData(parent, text) { - XMLCData.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing CDATA text"); - } - this.text = this.stringify.cdata(text); - } - - XMLCData.prototype.clone = function() { - return create(XMLCData.prototype, this); - }; - - XMLCData.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLCData; - - })(XMLNode); - - }).call(this); - - -/***/ }), -/* 167 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLComment, XMLNode, create, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = __webpack_require__(72); - - XMLNode = __webpack_require__(75); - - module.exports = XMLComment = (function(superClass) { - extend(XMLComment, superClass); - - function XMLComment(parent, text) { - XMLComment.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing comment text"); - } - this.text = this.stringify.comment(text); - } - - XMLComment.prototype.clone = function() { - return create(XMLComment.prototype, this); - }; - - XMLComment.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLComment; - - })(XMLNode); - - }).call(this); - - -/***/ }), -/* 168 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLProcessingInstruction, create, isObject; - - create = __webpack_require__(72); - - isObject = __webpack_require__(31); - - XMLCData = __webpack_require__(166); - - XMLComment = __webpack_require__(167); - - XMLDTDAttList = __webpack_require__(169); - - XMLDTDEntity = __webpack_require__(170); - - XMLDTDElement = __webpack_require__(171); - - XMLDTDNotation = __webpack_require__(172); - - XMLProcessingInstruction = __webpack_require__(165); - - module.exports = XMLDocType = (function() { - function XMLDocType(parent, pubID, sysID) { - var ref, ref1; - this.documentObject = parent; - this.stringify = this.documentObject.stringify; - this.children = []; - if (isObject(pubID)) { - ref = pubID, pubID = ref.pubID, sysID = ref.sysID; - } - if (sysID == null) { - ref1 = [pubID, sysID], sysID = ref1[0], pubID = ref1[1]; - } - if (pubID != null) { - this.pubID = this.stringify.dtdPubID(pubID); - } - if (sysID != null) { - this.sysID = this.stringify.dtdSysID(sysID); - } - } - - XMLDocType.prototype.element = function(name, value) { - var child; - child = new XMLDTDElement(this, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - var child; - child = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.entity = function(name, value) { - var child; - child = new XMLDTDEntity(this, false, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.pEntity = function(name, value) { - var child; - child = new XMLDTDEntity(this, true, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.notation = function(name, value) { - var child; - child = new XMLDTDNotation(this, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.cdata = function(value) { - var child; - child = new XMLCData(this, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.comment = function(value) { - var child; - child = new XMLComment(this, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.instruction = function(target, value) { - var child; - child = new XMLProcessingInstruction(this, target, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.root = function() { - return this.documentObject.root(); - }; - - XMLDocType.prototype.document = function() { - return this.documentObject; - }; - - XMLDocType.prototype.toString = function(options, level) { - var child, i, indent, len, newline, offset, pretty, r, ref, ref1, ref2, ref3, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ' 0) { - r += ' ['; - if (pretty) { - r += newline; - } - ref3 = this.children; - for (i = 0, len = ref3.length; i < len; i++) { - child = ref3[i]; - r += child.toString(options, level + 1); - } - r += ']'; - } - r += '>'; - if (pretty) { - r += newline; - } - return r; - }; - - XMLDocType.prototype.ele = function(name, value) { - return this.element(name, value); - }; - - XMLDocType.prototype.att = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - return this.attList(elementName, attributeName, attributeType, defaultValueType, defaultValue); - }; - - XMLDocType.prototype.ent = function(name, value) { - return this.entity(name, value); - }; - - XMLDocType.prototype.pent = function(name, value) { - return this.pEntity(name, value); - }; - - XMLDocType.prototype.not = function(name, value) { - return this.notation(name, value); - }; - - XMLDocType.prototype.dat = function(value) { - return this.cdata(value); - }; - - XMLDocType.prototype.com = function(value) { - return this.comment(value); - }; - - XMLDocType.prototype.ins = function(target, value) { - return this.instruction(target, value); - }; - - XMLDocType.prototype.up = function() { - return this.root(); - }; - - XMLDocType.prototype.doc = function() { - return this.document(); - }; - - return XMLDocType; - - })(); - - }).call(this); - - -/***/ }), -/* 169 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLDTDAttList, create; - - create = __webpack_require__(72); - - module.exports = XMLDTDAttList = (function() { - function XMLDTDAttList(parent, elementName, attributeName, attributeType, defaultValueType, defaultValue) { - this.stringify = parent.stringify; - if (elementName == null) { - throw new Error("Missing DTD element name"); - } - if (attributeName == null) { - throw new Error("Missing DTD attribute name"); - } - if (!attributeType) { - throw new Error("Missing DTD attribute type"); - } - if (!defaultValueType) { - throw new Error("Missing DTD attribute default"); - } - if (defaultValueType.indexOf('#') !== 0) { - defaultValueType = '#' + defaultValueType; - } - if (!defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)) { - throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT"); - } - if (defaultValue && !defaultValueType.match(/^(#FIXED|#DEFAULT)$/)) { - throw new Error("Default value only applies to #FIXED or #DEFAULT"); - } - this.elementName = this.stringify.eleName(elementName); - this.attributeName = this.stringify.attName(attributeName); - this.attributeType = this.stringify.dtdAttType(attributeType); - this.defaultValue = this.stringify.dtdAttDefault(defaultValue); - this.defaultValueType = defaultValueType; - } - - XMLDTDAttList.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDAttList; - - })(); - - }).call(this); - - -/***/ }), -/* 170 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLDTDEntity, create, isObject; - - create = __webpack_require__(72); - - isObject = __webpack_require__(31); - - module.exports = XMLDTDEntity = (function() { - function XMLDTDEntity(parent, pe, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing entity name"); - } - if (value == null) { - throw new Error("Missing entity value"); - } - this.pe = !!pe; - this.name = this.stringify.eleName(name); - if (!isObject(value)) { - this.value = this.stringify.dtdEntityValue(value); - } else { - if (!value.pubID && !value.sysID) { - throw new Error("Public and/or system identifiers are required for an external entity"); - } - if (value.pubID && !value.sysID) { - throw new Error("System identifier is required for a public external entity"); - } - if (value.pubID != null) { - this.pubID = this.stringify.dtdPubID(value.pubID); - } - if (value.sysID != null) { - this.sysID = this.stringify.dtdSysID(value.sysID); - } - if (value.nData != null) { - this.nData = this.stringify.dtdNData(value.nData); - } - if (this.pe && this.nData) { - throw new Error("Notation declaration is not allowed in a parameter entity"); - } - } - } - - XMLDTDEntity.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDEntity; - - })(); - - }).call(this); - - -/***/ }), -/* 171 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLDTDElement, create; - - create = __webpack_require__(72); - - module.exports = XMLDTDElement = (function() { - function XMLDTDElement(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing DTD element name"); - } - if (!value) { - value = '(#PCDATA)'; - } - if (Array.isArray(value)) { - value = '(' + value.join(',') + ')'; - } - this.name = this.stringify.eleName(name); - this.value = this.stringify.dtdElementValue(value); - } - - XMLDTDElement.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDElement; - - })(); - - }).call(this); - - -/***/ }), -/* 172 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLDTDNotation, create; - - create = __webpack_require__(72); - - module.exports = XMLDTDNotation = (function() { - function XMLDTDNotation(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing notation name"); - } - if (!value.pubID && !value.sysID) { - throw new Error("Public or system identifiers are required for an external entity"); - } - this.name = this.stringify.eleName(name); - if (value.pubID != null) { - this.pubID = this.stringify.dtdPubID(value.pubID); - } - if (value.sysID != null) { - this.sysID = this.stringify.dtdSysID(value.sysID); - } - } - - XMLDTDNotation.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDNotation; - - })(); - - }).call(this); - - -/***/ }), -/* 173 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLNode, XMLRaw, create, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = __webpack_require__(72); - - XMLNode = __webpack_require__(75); - - module.exports = XMLRaw = (function(superClass) { - extend(XMLRaw, superClass); - - function XMLRaw(parent, text) { - XMLRaw.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing raw text"); - } - this.value = this.stringify.raw(text); - } - - XMLRaw.prototype.clone = function() { - return create(XMLRaw.prototype, this); - }; - - XMLRaw.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += this.value; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLRaw; - - })(XMLNode); - - }).call(this); - - -/***/ }), -/* 174 */ -/***/ (function(module, exports, __webpack_require__) { - - // Generated by CoffeeScript 1.9.1 - (function() { - var XMLNode, XMLText, create, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = __webpack_require__(72); - - XMLNode = __webpack_require__(75); - - module.exports = XMLText = (function(superClass) { - extend(XMLText, superClass); - - function XMLText(parent, text) { - XMLText.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing element text"); - } - this.value = this.stringify.eleText(text); - } - - XMLText.prototype.clone = function() { - return create(XMLText.prototype, this); - }; - - XMLText.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += this.value; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLText; - - })(XMLNode); - - }).call(this); - - -/***/ }), -/* 175 */ -/***/ (function(module, exports, __webpack_require__) { - - var Collection = __webpack_require__(12); - var Operation = __webpack_require__(176); - var Shape = __webpack_require__(11); - var Paginator = __webpack_require__(177); - var ResourceWaiter = __webpack_require__(178); - - var util = __webpack_require__(4); - var property = util.property; - var memoizedProperty = util.memoizedProperty; - - function Api(api, options) { - api = api || {}; - options = options || {}; - options.api = this; - - api.metadata = api.metadata || {}; - - property(this, 'isApi', true, false); - property(this, 'apiVersion', api.metadata.apiVersion); - property(this, 'endpointPrefix', api.metadata.endpointPrefix); - property(this, 'signingName', api.metadata.signingName); - property(this, 'globalEndpoint', api.metadata.globalEndpoint); - property(this, 'signatureVersion', api.metadata.signatureVersion); - property(this, 'jsonVersion', api.metadata.jsonVersion); - property(this, 'targetPrefix', api.metadata.targetPrefix); - property(this, 'protocol', api.metadata.protocol); - property(this, 'timestampFormat', api.metadata.timestampFormat); - property(this, 'xmlNamespaceUri', api.metadata.xmlNamespace); - property(this, 'abbreviation', api.metadata.serviceAbbreviation); - property(this, 'fullName', api.metadata.serviceFullName); - - memoizedProperty(this, 'className', function() { - var name = api.metadata.serviceAbbreviation || api.metadata.serviceFullName; - if (!name) return null; - - name = name.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g, ''); - if (name === 'ElasticLoadBalancing') name = 'ELB'; - return name; - }); - - property(this, 'operations', new Collection(api.operations, options, function(name, operation) { - return new Operation(name, operation, options); - }, util.string.lowerFirst)); - - property(this, 'shapes', new Collection(api.shapes, options, function(name, shape) { - return Shape.create(shape, options); - })); - - property(this, 'paginators', new Collection(api.paginators, options, function(name, paginator) { - return new Paginator(name, paginator, options); - })); - - property(this, 'waiters', new Collection(api.waiters, options, function(name, waiter) { - return new ResourceWaiter(name, waiter, options); - }, util.string.lowerFirst)); - - if (options.documentation) { - property(this, 'documentation', api.documentation); - property(this, 'documentationUrl', api.documentationUrl); - } - } - - module.exports = Api; - - -/***/ }), -/* 176 */ -/***/ (function(module, exports, __webpack_require__) { - - var Shape = __webpack_require__(11); - - var util = __webpack_require__(4); - var property = util.property; - var memoizedProperty = util.memoizedProperty; - - function Operation(name, operation, options) { - var self = this; - options = options || {}; - - property(this, 'name', operation.name || name); - property(this, 'api', options.api, false); - - operation.http = operation.http || {}; - property(this, 'httpMethod', operation.http.method || 'POST'); - property(this, 'httpPath', operation.http.requestUri || '/'); - property(this, 'authtype', operation.authtype || ''); - - memoizedProperty(this, 'input', function() { - if (!operation.input) { - return new Shape.create({type: 'structure'}, options); - } - return Shape.create(operation.input, options); - }); - - memoizedProperty(this, 'output', function() { - if (!operation.output) { - return new Shape.create({type: 'structure'}, options); - } - return Shape.create(operation.output, options); - }); - - memoizedProperty(this, 'errors', function() { - var list = []; - if (!operation.errors) return null; - - for (var i = 0; i < operation.errors.length; i++) { - list.push(Shape.create(operation.errors[i], options)); - } - - return list; - }); - - memoizedProperty(this, 'paginator', function() { - return options.api.paginators[name]; - }); - - if (options.documentation) { - property(this, 'documentation', operation.documentation); - property(this, 'documentationUrl', operation.documentationUrl); - } - - // idempotentMembers only tracks top-level input shapes - memoizedProperty(this, 'idempotentMembers', function() { - var idempotentMembers = []; - var input = self.input; - var members = input.members; - if (!input.members) { - return idempotentMembers; - } - for (var name in members) { - if (!members.hasOwnProperty(name)) { - continue; - } - if (members[name].isIdempotent === true) { - idempotentMembers.push(name); - } - } - return idempotentMembers; - }); - - } - - module.exports = Operation; - - -/***/ }), -/* 177 */ -/***/ (function(module, exports, __webpack_require__) { - - var property = __webpack_require__(4).property; - - function Paginator(name, paginator) { - property(this, 'inputToken', paginator.input_token); - property(this, 'limitKey', paginator.limit_key); - property(this, 'moreResults', paginator.more_results); - property(this, 'outputToken', paginator.output_token); - property(this, 'resultKey', paginator.result_key); - } - - module.exports = Paginator; - - -/***/ }), -/* 178 */ -/***/ (function(module, exports, __webpack_require__) { - - var util = __webpack_require__(4); - var property = util.property; - - function ResourceWaiter(name, waiter, options) { - options = options || {}; - property(this, 'name', name); - property(this, 'api', options.api, false); - - if (waiter.operation) { - property(this, 'operation', util.string.lowerFirst(waiter.operation)); - } - - var self = this; - var keys = [ - 'type', - 'description', - 'delay', - 'maxAttempts', - 'acceptors' - ]; - - keys.forEach(function(key) { - var value = waiter[key]; - if (value) { - property(self, key, value); - } - }); - } - - module.exports = ResourceWaiter; - - -/***/ }), -/* 179 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var Api = __webpack_require__(175); - var regionConfig = __webpack_require__(180); - var inherit = AWS.util.inherit; - var clientCount = 0; - - /** - * The service class representing an AWS service. - * - * @abstract - * - * @!attribute apiVersions - * @return [Array] the list of API versions supported by this service. - * @readonly - */ - AWS.Service = inherit({ - /** - * Create a new service object with a configuration object - * - * @param config [map] a map of configuration options - */ - constructor: function Service(config) { - if (!this.loadServiceClass) { - throw AWS.util.error(new Error(), - 'Service must be constructed with `new\' operator'); - } - var ServiceClass = this.loadServiceClass(config || {}); - if (ServiceClass) { - var originalConfig = AWS.util.copy(config); - var svc = new ServiceClass(config); - Object.defineProperty(svc, '_originalConfig', { - get: function() { return originalConfig; }, - enumerable: false, - configurable: true - }); - svc._clientId = ++clientCount; - return svc; - } - this.initialize(config); - }, - - /** - * @api private - */ - initialize: function initialize(config) { - var svcConfig = AWS.config[this.serviceIdentifier]; - - this.config = new AWS.Config(AWS.config); - if (svcConfig) this.config.update(svcConfig, true); - if (config) this.config.update(config, true); - - this.validateService(); - if (!this.config.endpoint) regionConfig(this); - - this.config.endpoint = this.endpointFromTemplate(this.config.endpoint); - this.setEndpoint(this.config.endpoint); - }, - - /** - * @api private - */ - validateService: function validateService() { - }, - - /** - * @api private - */ - loadServiceClass: function loadServiceClass(serviceConfig) { - var config = serviceConfig; - if (!AWS.util.isEmpty(this.api)) { - return null; - } else if (config.apiConfig) { - return AWS.Service.defineServiceApi(this.constructor, config.apiConfig); - } else if (!this.constructor.services) { - return null; - } else { - config = new AWS.Config(AWS.config); - config.update(serviceConfig, true); - var version = config.apiVersions[this.constructor.serviceIdentifier]; - version = version || config.apiVersion; - return this.getLatestServiceClass(version); - } - }, - - /** - * @api private - */ - getLatestServiceClass: function getLatestServiceClass(version) { - version = this.getLatestServiceVersion(version); - if (this.constructor.services[version] === null) { - AWS.Service.defineServiceApi(this.constructor, version); - } - - return this.constructor.services[version]; - }, - - /** - * @api private - */ - getLatestServiceVersion: function getLatestServiceVersion(version) { - if (!this.constructor.services || this.constructor.services.length === 0) { - throw new Error('No services defined on ' + - this.constructor.serviceIdentifier); - } - - if (!version) { - version = 'latest'; - } else if (AWS.util.isType(version, Date)) { - version = AWS.util.date.iso8601(version).split('T')[0]; - } - - if (Object.hasOwnProperty(this.constructor.services, version)) { - return version; - } - - var keys = Object.keys(this.constructor.services).sort(); - var selectedVersion = null; - for (var i = keys.length - 1; i >= 0; i--) { - // versions that end in "*" are not available on disk and can be - // skipped, so do not choose these as selectedVersions - if (keys[i][keys[i].length - 1] !== '*') { - selectedVersion = keys[i]; - } - if (keys[i].substr(0, 10) <= version) { - return selectedVersion; - } - } - - throw new Error('Could not find ' + this.constructor.serviceIdentifier + - ' API to satisfy version constraint `' + version + '\''); - }, - - /** - * @api private - */ - api: {}, - - /** - * @api private - */ - defaultRetryCount: 3, - - /** - * @api private - */ - customizeRequests: function customizeRequests(callback) { - if (!callback) { - this.customRequestHandler = null; - } else if (typeof callback === 'function') { - this.customRequestHandler = callback; - } else { - throw new Error('Invalid callback type \'' + typeof callback + '\' provided in customizeRequests'); - } - }, - - /** - * Calls an operation on a service with the given input parameters. - * - * @param operation [String] the name of the operation to call on the service. - * @param params [map] a map of input options for the operation - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - makeRequest: function makeRequest(operation, params, callback) { - if (typeof params === 'function') { - callback = params; - params = null; - } - - params = params || {}; - if (this.config.params) { // copy only toplevel bound params - var rules = this.api.operations[operation]; - if (rules) { - params = AWS.util.copy(params); - AWS.util.each(this.config.params, function(key, value) { - if (rules.input.members[key]) { - if (params[key] === undefined || params[key] === null) { - params[key] = value; - } - } - }); - } - } - - var request = new AWS.Request(this, operation, params); - this.addAllRequestListeners(request); - - if (callback) request.send(callback); - return request; - }, - - /** - * Calls an operation on a service with the given input parameters, without - * any authentication data. This method is useful for "public" API operations. - * - * @param operation [String] the name of the operation to call on the service. - * @param params [map] a map of input options for the operation - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - makeUnauthenticatedRequest: function makeUnauthenticatedRequest(operation, params, callback) { - if (typeof params === 'function') { - callback = params; - params = {}; - } - - var request = this.makeRequest(operation, params).toUnauthenticated(); - return callback ? request.send(callback) : request; - }, - - /** - * Waits for a given state - * - * @param state [String] the state on the service to wait for - * @param params [map] a map of parameters to pass with each request - * @option params $waiter [map] a map of configuration options for the waiter - * @option params $waiter.delay [Number] The number of seconds to wait between - * requests - * @option params $waiter.maxAttempts [Number] The maximum number of requests - * to send while waiting - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - waitFor: function waitFor(state, params, callback) { - var waiter = new AWS.ResourceWaiter(this, state); - return waiter.wait(params, callback); - }, - - /** - * @api private - */ - addAllRequestListeners: function addAllRequestListeners(request) { - var list = [AWS.events, AWS.EventListeners.Core, this.serviceInterface(), - AWS.EventListeners.CorePost]; - for (var i = 0; i < list.length; i++) { - if (list[i]) request.addListeners(list[i]); - } - - // disable parameter validation - if (!this.config.paramValidation) { - request.removeListener('validate', - AWS.EventListeners.Core.VALIDATE_PARAMETERS); - } - - if (this.config.logger) { // add logging events - request.addListeners(AWS.EventListeners.Logger); - } - - this.setupRequestListeners(request); - // call prototype's customRequestHandler - if (typeof this.constructor.prototype.customRequestHandler === 'function') { - this.constructor.prototype.customRequestHandler(request); - } - // call instance's customRequestHandler - if (Object.prototype.hasOwnProperty.call(this, 'customRequestHandler') && typeof this.customRequestHandler === 'function') { - this.customRequestHandler(request); - } - }, - - /** - * Override this method to setup any custom request listeners for each - * new request to the service. - * - * @abstract - */ - setupRequestListeners: function setupRequestListeners() { - }, - - /** - * Gets the signer class for a given request - * @api private - */ - getSignerClass: function getSignerClass(request) { - var version; - // get operation authtype if present - var operation = null; - var authtype = ''; - if (request) { - var operations = request.service.api.operations || {}; - operation = operations[request.operation] || null; - authtype = operation ? operation.authtype : ''; - } - if (this.config.signatureVersion) { - version = this.config.signatureVersion; - } else if (authtype === 'v4' || authtype === 'v4-unsigned-body') { - version = 'v4'; - } else { - version = this.api.signatureVersion; - } - return AWS.Signers.RequestSigner.getVersion(version); - }, - - /** - * @api private - */ - serviceInterface: function serviceInterface() { - switch (this.api.protocol) { - case 'ec2': return AWS.EventListeners.Query; - case 'query': return AWS.EventListeners.Query; - case 'json': return AWS.EventListeners.Json; - case 'rest-json': return AWS.EventListeners.RestJson; - case 'rest-xml': return AWS.EventListeners.RestXml; - } - if (this.api.protocol) { - throw new Error('Invalid service `protocol\' ' + - this.api.protocol + ' in API config'); - } - }, - - /** - * @api private - */ - successfulResponse: function successfulResponse(resp) { - return resp.httpResponse.statusCode < 300; - }, - - /** - * How many times a failed request should be retried before giving up. - * the defaultRetryCount can be overriden by service classes. - * - * @api private - */ - numRetries: function numRetries() { - if (this.config.maxRetries !== undefined) { - return this.config.maxRetries; - } else { - return this.defaultRetryCount; - } - }, - - /** - * @api private - */ - retryDelays: function retryDelays(retryCount) { - return AWS.util.calculateRetryDelay(retryCount, this.config.retryDelayOptions); - }, - - /** - * @api private - */ - retryableError: function retryableError(error) { - if (this.networkingError(error)) return true; - if (this.expiredCredentialsError(error)) return true; - if (this.throttledError(error)) return true; - if (error.statusCode >= 500) return true; - return false; - }, - - /** - * @api private - */ - networkingError: function networkingError(error) { - return error.code === 'NetworkingError'; - }, - - /** - * @api private - */ - expiredCredentialsError: function expiredCredentialsError(error) { - // TODO : this only handles *one* of the expired credential codes - return (error.code === 'ExpiredTokenException'); - }, - - /** - * @api private - */ - clockSkewError: function clockSkewError(error) { - switch (error.code) { - case 'RequestTimeTooSkewed': - case 'RequestExpired': - case 'InvalidSignatureException': - case 'SignatureDoesNotMatch': - case 'AuthFailure': - case 'RequestInTheFuture': - return true; - default: return false; - } - }, - - /** - * @api private - */ - throttledError: function throttledError(error) { - // this logic varies between services - switch (error.code) { - case 'ProvisionedThroughputExceededException': - case 'Throttling': - case 'ThrottlingException': - case 'RequestLimitExceeded': - case 'RequestThrottled': - return true; - default: - return false; - } - }, - - /** - * @api private - */ - endpointFromTemplate: function endpointFromTemplate(endpoint) { - if (typeof endpoint !== 'string') return endpoint; - - var e = endpoint; - e = e.replace(/\{service\}/g, this.api.endpointPrefix); - e = e.replace(/\{region\}/g, this.config.region); - e = e.replace(/\{scheme\}/g, this.config.sslEnabled ? 'https' : 'http'); - return e; - }, - - /** - * @api private - */ - setEndpoint: function setEndpoint(endpoint) { - this.endpoint = new AWS.Endpoint(endpoint, this.config); - }, - - /** - * @api private - */ - paginationConfig: function paginationConfig(operation, throwException) { - var paginator = this.api.operations[operation].paginator; - if (!paginator) { - if (throwException) { - var e = new Error(); - throw AWS.util.error(e, 'No pagination configuration for ' + operation); - } - return null; - } - - return paginator; - } - }); - - AWS.util.update(AWS.Service, { - - /** - * Adds one method for each operation described in the api configuration - * - * @api private - */ - defineMethods: function defineMethods(svc) { - AWS.util.each(svc.prototype.api.operations, function iterator(method) { - if (svc.prototype[method]) return; - var operation = svc.prototype.api.operations[method]; - if (operation.authtype === 'none') { - svc.prototype[method] = function (params, callback) { - return this.makeUnauthenticatedRequest(method, params, callback); - }; - } else { - svc.prototype[method] = function (params, callback) { - return this.makeRequest(method, params, callback); - }; - } - }); - }, - - /** - * Defines a new Service class using a service identifier and list of versions - * including an optional set of features (functions) to apply to the class - * prototype. - * - * @param serviceIdentifier [String] the identifier for the service - * @param versions [Array] a list of versions that work with this - * service - * @param features [Object] an object to attach to the prototype - * @return [Class] the service class defined by this function. - */ - defineService: function defineService(serviceIdentifier, versions, features) { - AWS.Service._serviceMap[serviceIdentifier] = true; - if (!Array.isArray(versions)) { - features = versions; - versions = []; - } - - var svc = inherit(AWS.Service, features || {}); - - if (typeof serviceIdentifier === 'string') { - AWS.Service.addVersions(svc, versions); - - var identifier = svc.serviceIdentifier || serviceIdentifier; - svc.serviceIdentifier = identifier; - } else { // defineService called with an API - svc.prototype.api = serviceIdentifier; - AWS.Service.defineMethods(svc); - } - - return svc; - }, - - /** - * @api private - */ - addVersions: function addVersions(svc, versions) { - if (!Array.isArray(versions)) versions = [versions]; - - svc.services = svc.services || {}; - for (var i = 0; i < versions.length; i++) { - if (svc.services[versions[i]] === undefined) { - svc.services[versions[i]] = null; - } - } - - svc.apiVersions = Object.keys(svc.services).sort(); - }, - - /** - * @api private - */ - defineServiceApi: function defineServiceApi(superclass, version, apiConfig) { - var svc = inherit(superclass, { - serviceIdentifier: superclass.serviceIdentifier - }); - - function setApi(api) { - if (api.isApi) { - svc.prototype.api = api; - } else { - svc.prototype.api = new Api(api); - } - } - - if (typeof version === 'string') { - if (apiConfig) { - setApi(apiConfig); - } else { - try { - setApi(AWS.apiLoader(superclass.serviceIdentifier, version)); - } catch (err) { - throw AWS.util.error(err, { - message: 'Could not find API configuration ' + - superclass.serviceIdentifier + '-' + version - }); - } - } - if (!Object.prototype.hasOwnProperty.call(superclass.services, version)) { - superclass.apiVersions = superclass.apiVersions.concat(version).sort(); - } - superclass.services[version] = svc; - } else { - setApi(version); - } - - AWS.Service.defineMethods(svc); - return svc; - }, - - /** - * @api private - */ - hasService: function(identifier) { - return Object.prototype.hasOwnProperty.call(AWS.Service._serviceMap, identifier); - }, - - /** - * @api private - */ - _serviceMap: {} - }); - - module.exports = AWS.Service; - - -/***/ }), -/* 180 */ -/***/ (function(module, exports, __webpack_require__) { - - var util = __webpack_require__(4); - var regionConfig = __webpack_require__(181); - - function generateRegionPrefix(region) { - if (!region) return null; - - var parts = region.split('-'); - if (parts.length < 3) return null; - return parts.slice(0, parts.length - 2).join('-') + '-*'; - } - - function derivedKeys(service) { - var region = service.config.region; - var regionPrefix = generateRegionPrefix(region); - var endpointPrefix = service.api.endpointPrefix; - - return [ - [region, endpointPrefix], - [regionPrefix, endpointPrefix], - [region, '*'], - [regionPrefix, '*'], - ['*', endpointPrefix], - ['*', '*'] - ].map(function(item) { - return item[0] && item[1] ? item.join('/') : null; - }); - } - - function applyConfig(service, config) { - util.each(config, function(key, value) { - if (key === 'globalEndpoint') return; - if (service.config[key] === undefined || service.config[key] === null) { - service.config[key] = value; - } - }); - } - - function configureEndpoint(service) { - var keys = derivedKeys(service); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!key) continue; - - if (Object.prototype.hasOwnProperty.call(regionConfig.rules, key)) { - var config = regionConfig.rules[key]; - if (typeof config === 'string') { - config = regionConfig.patterns[config]; - } - - // set dualstack endpoint - if (service.config.useDualstack && util.isDualstackAvailable(service)) { - config = util.copy(config); - config.endpoint = '{service}.dualstack.{region}.amazonaws.com'; - } - - // set global endpoint - service.isGlobalEndpoint = !!config.globalEndpoint; - - // signature version - if (!config.signatureVersion) config.signatureVersion = 'v4'; - - // merge config - applyConfig(service, config); - return; - } - } - } - - module.exports = configureEndpoint; - - -/***/ }), -/* 181 */ -/***/ (function(module, exports) { - - module.exports = { - "rules": { - "*/*": { - "endpoint": "{service}.{region}.amazonaws.com" - }, - "cn-*/*": { - "endpoint": "{service}.{region}.amazonaws.com.cn" - }, - "*/budgets": "globalSSL", - "*/cloudfront": "globalSSL", - "*/iam": "globalSSL", - "*/sts": "globalSSL", - "*/importexport": { - "endpoint": "{service}.amazonaws.com", - "signatureVersion": "v2", - "globalEndpoint": true - }, - "*/route53": { - "endpoint": "https://{service}.amazonaws.com", - "signatureVersion": "v3https", - "globalEndpoint": true - }, - "*/waf": "globalSSL", - "us-gov-*/iam": "globalGovCloud", - "us-gov-*/sts": { - "endpoint": "{service}.{region}.amazonaws.com" - }, - "us-gov-west-1/s3": "s3dash", - "us-west-1/s3": "s3dash", - "us-west-2/s3": "s3dash", - "eu-west-1/s3": "s3dash", - "ap-southeast-1/s3": "s3dash", - "ap-southeast-2/s3": "s3dash", - "ap-northeast-1/s3": "s3dash", - "sa-east-1/s3": "s3dash", - "us-east-1/s3": { - "endpoint": "{service}.amazonaws.com", - "signatureVersion": "s3" - }, - "us-east-1/sdb": { - "endpoint": "{service}.amazonaws.com", - "signatureVersion": "v2" - }, - "*/sdb": { - "endpoint": "{service}.{region}.amazonaws.com", - "signatureVersion": "v2" - } - }, - "patterns": { - "globalSSL": { - "endpoint": "https://{service}.amazonaws.com", - "globalEndpoint": true - }, - "globalGovCloud": { - "endpoint": "{service}.us-gov.amazonaws.com" - }, - "s3dash": { - "endpoint": "{service}-{region}.amazonaws.com", - "signatureVersion": "s3" - } - } - }; - -/***/ }), -/* 182 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - __webpack_require__(183); - __webpack_require__(184); - var PromisesDependency; - - /** - * The main configuration class used by all service objects to set - * the region, credentials, and other options for requests. - * - * By default, credentials and region settings are left unconfigured. - * This should be configured by the application before using any - * AWS service APIs. - * - * In order to set global configuration options, properties should - * be assigned to the global {AWS.config} object. - * - * @see AWS.config - * - * @!group General Configuration Options - * - * @!attribute credentials - * @return [AWS.Credentials] the AWS credentials to sign requests with. - * - * @!attribute region - * @example Set the global region setting to us-west-2 - * AWS.config.update({region: 'us-west-2'}); - * @return [AWS.Credentials] The region to send service requests to. - * @see http://docs.amazonwebservices.com/general/latest/gr/rande.html - * A list of available endpoints for each AWS service - * - * @!attribute maxRetries - * @return [Integer] the maximum amount of retries to perform for a - * service request. By default this value is calculated by the specific - * service object that the request is being made to. - * - * @!attribute maxRedirects - * @return [Integer] the maximum amount of redirects to follow for a - * service request. Defaults to 10. - * - * @!attribute paramValidation - * @return [Boolean|map] whether input parameters should be validated against - * the operation description before sending the request. Defaults to true. - * Pass a map to enable any of the following specific validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - * - * @!attribute computeChecksums - * @return [Boolean] whether to compute checksums for payload bodies when - * the service accepts it (currently supported in S3 only). - * - * @!attribute convertResponseTypes - * @return [Boolean] whether types are converted when parsing response data. - * Currently only supported for JSON based services. Turning this off may - * improve performance on large response payloads. Defaults to `true`. - * - * @!attribute correctClockSkew - * @return [Boolean] whether to apply a clock skew correction and retry - * requests that fail because of an skewed client clock. Defaults to - * `false`. - * - * @!attribute sslEnabled - * @return [Boolean] whether SSL is enabled for requests - * - * @!attribute s3ForcePathStyle - * @return [Boolean] whether to force path style URLs for S3 objects - * - * @!attribute s3BucketEndpoint - * @note Setting this configuration option requires an `endpoint` to be - * provided explicitly to the service constructor. - * @return [Boolean] whether the provided endpoint addresses an individual - * bucket (false if it addresses the root API endpoint). - * - * @!attribute s3DisableBodySigning - * @return [Boolean] whether to disable S3 body signing when using signature version `v4`. - * Body signing can only be disabled when using https. Defaults to `true`. - * - * @!attribute useAccelerateEndpoint - * @note This configuration option is only compatible with S3 while accessing - * dns-compatible buckets. - * @return [Boolean] Whether to use the Accelerate endpoint with the S3 service. - * Defaults to `false`. - * - * @!attribute retryDelayOptions - * @example Set the base retry delay for all services to 300 ms - * AWS.config.update({retryDelayOptions: {base: 300}}); - * // Delays with maxRetries = 3: 300, 600, 1200 - * @example Set a custom backoff function to provide delay values on retries - * AWS.config.update({retryDelayOptions: {customBackoff: function(retryCount) { - * // returns delay in ms - * }}}); - * @return [map] A set of options to configure the retry delay on retryable errors. - * Currently supported options are: - * - * * **base** [Integer] — The base number of milliseconds to use in the - * exponential backoff for operation retries. Defaults to 100 ms for all services except - * DynamoDB, where it defaults to 50ms. - * * **customBackoff ** [function] — A custom function that accepts a retry count - * and returns the amount of time to delay in milliseconds. The `base` option will be - * ignored if this option is supplied. - * - * @!attribute httpOptions - * @return [map] A set of options to pass to the low-level HTTP request. - * Currently supported options are: - * - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Defaults to the global - * agent (`http.globalAgent`) for non-SSL connections. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only supported in the - * Node.js environment. - * * **timeout** [Integer] — The number of milliseconds to wait before - * giving up on a connection attempt. Defaults to two minutes (120000). - * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous - * HTTP requests. Used in the browser environment only. Set to false to - * send requests synchronously. Defaults to true (async on). - * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" - * property of an XMLHttpRequest object. Used in the browser environment - * only. Defaults to false. - * @!attribute logger - * @return [#write,#log] an object that responds to .write() (like a stream) - * or .log() (like the console object) in order to log information about - * requests - * - * @!attribute systemClockOffset - * @return [Number] an offset value in milliseconds to apply to all signing - * times. Use this to compensate for clock skew when your system may be - * out of sync with the service time. Note that this configuration option - * can only be applied to the global `AWS.config` object and cannot be - * overridden in service-specific configuration. Defaults to 0 milliseconds. - * - * @!attribute signatureVersion - * @return [String] the signature version to sign requests with (overriding - * the API configuration). Possible values are: 'v2', 'v3', 'v4'. - * - * @!attribute signatureCache - * @return [Boolean] whether the signature to sign requests with (overriding - * the API configuration) is cached. Only applies to the signature version 'v4'. - * Defaults to `true`. - */ - AWS.Config = AWS.util.inherit({ - /** - * @!endgroup - */ - - /** - * Creates a new configuration object. This is the object that passes - * option data along to service requests, including credentials, security, - * region information, and some service specific settings. - * - * @example Creating a new configuration object with credentials and region - * var config = new AWS.Config({ - * accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-west-2' - * }); - * @option options accessKeyId [String] your AWS access key ID. - * @option options secretAccessKey [String] your AWS secret access key. - * @option options sessionToken [AWS.Credentials] the optional AWS - * session token to sign requests with. - * @option options credentials [AWS.Credentials] the AWS credentials - * to sign requests with. You can either specify this object, or - * specify the accessKeyId and secretAccessKey options directly. - * @option options credentialProvider [AWS.CredentialProviderChain] the - * provider chain used to resolve credentials if no static `credentials` - * property is set. - * @option options region [String] the region to send service requests to. - * See {region} for more information. - * @option options maxRetries [Integer] the maximum amount of retries to - * attempt with a request. See {maxRetries} for more information. - * @option options maxRedirects [Integer] the maximum amount of redirects to - * follow with a request. See {maxRedirects} for more information. - * @option options sslEnabled [Boolean] whether to enable SSL for - * requests. - * @option options paramValidation [Boolean|map] whether input parameters - * should be validated against the operation description before sending - * the request. Defaults to true. Pass a map to enable any of the - * following specific validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - * @option options computeChecksums [Boolean] whether to compute checksums - * for payload bodies when the service accepts it (currently supported - * in S3 only) - * @option options convertResponseTypes [Boolean] whether types are converted - * when parsing response data. Currently only supported for JSON based - * services. Turning this off may improve performance on large response - * payloads. Defaults to `true`. - * @option options correctClockSkew [Boolean] whether to apply a clock skew - * correction and retry requests that fail because of an skewed client - * clock. Defaults to `false`. - * @option options s3ForcePathStyle [Boolean] whether to force path - * style URLs for S3 objects. - * @option options s3BucketEndpoint [Boolean] whether the provided endpoint - * addresses an individual bucket (false if it addresses the root API - * endpoint). Note that setting this configuration option requires an - * `endpoint` to be provided explicitly to the service constructor. - * @option options s3DisableBodySigning [Boolean] whether S3 body signing - * should be disabled when using signature version `v4`. Body signing - * can only be disabled when using https. Defaults to `true`. - * - * @option options retryDelayOptions [map] A set of options to configure - * the retry delay on retryable errors. Currently supported options are: - * - * * **base** [Integer] — The base number of milliseconds to use in the - * exponential backoff for operation retries. Defaults to 100 ms for all - * services except DynamoDB, where it defaults to 50ms. - * * **customBackoff ** [function] — A custom function that accepts a retry count - * and returns the amount of time to delay in milliseconds. The `base` option will be - * ignored if this option is supplied. - * @option options httpOptions [map] A set of options to pass to the low-level - * HTTP request. Currently supported options are: - * - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Defaults to the global - * agent (`http.globalAgent`) for non-SSL connections. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only available in the - * Node.js environment. - * * **connectTimeout** [Integer] — Sets the socket to timeout after - * failing to establish a connection with the server after - * `connectTimeout` milliseconds. This timeout has no effect once a socket - * connection has been established. - * * **timeout** [Integer] — Sets the socket to timeout after timeout - * milliseconds of inactivity on the socket. Defaults to two minutes - * (120000). - * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous - * HTTP requests. Used in the browser environment only. Set to false to - * send requests synchronously. Defaults to true (async on). - * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" - * property of an XMLHttpRequest object. Used in the browser environment - * only. Defaults to false. - * @option options apiVersion [String, Date] a String in YYYY-MM-DD format - * (or a date) that represents the latest possible API version that can be - * used in all services (unless overridden by `apiVersions`). Specify - * 'latest' to use the latest possible version. - * @option options apiVersions [map] a map of service - * identifiers (the lowercase service class name) with the API version to - * use when instantiating a service. Specify 'latest' for each individual - * that can use the latest available version. - * @option options logger [#write,#log] an object that responds to .write() - * (like a stream) or .log() (like the console object) in order to log - * information about requests - * @option options systemClockOffset [Number] an offset value in milliseconds - * to apply to all signing times. Use this to compensate for clock skew - * when your system may be out of sync with the service time. Note that - * this configuration option can only be applied to the global `AWS.config` - * object and cannot be overridden in service-specific configuration. - * Defaults to 0 milliseconds. - * @option options signatureVersion [String] the signature version to sign - * requests with (overriding the API configuration). Possible values are: - * 'v2', 'v3', 'v4'. - * @option options signatureCache [Boolean] whether the signature to sign - * requests with (overriding the API configuration) is cached. Only applies - * to the signature version 'v4'. Defaults to `true`. - * @option options dynamoDbCrc32 [Boolean] whether to validate the CRC32 - * checksum of HTTP response bodies returned by DynamoDB. Default: `true`. - */ - constructor: function Config(options) { - if (options === undefined) options = {}; - options = this.extractCredentials(options); - - AWS.util.each.call(this, this.keys, function (key, value) { - this.set(key, options[key], value); - }); - }, - - /** - * @!group Managing Credentials - */ - - /** - * Loads credentials from the configuration object. This is used internally - * by the SDK to ensure that refreshable {Credentials} objects are properly - * refreshed and loaded when sending a request. If you want to ensure that - * your credentials are loaded prior to a request, you can use this method - * directly to provide accurate credential data stored in the object. - * - * @note If you configure the SDK with static or environment credentials, - * the credential data should already be present in {credentials} attribute. - * This method is primarily necessary to load credentials from asynchronous - * sources, or sources that can refresh credentials periodically. - * @example Getting your access key - * AWS.config.getCredentials(function(err) { - * if (err) console.log(err.stack); // credentials not loaded - * else console.log("Access Key:", AWS.config.credentials.accessKeyId); - * }) - * @callback callback function(err) - * Called when the {credentials} have been properly set on the configuration - * object. - * - * @param err [Error] if this is set, credentials were not successfully - * loaded and this error provides information why. - * @see credentials - * @see Credentials - */ - getCredentials: function getCredentials(callback) { - var self = this; - - function finish(err) { - callback(err, err ? null : self.credentials); - } - - function credError(msg, err) { - return new AWS.util.error(err || new Error(), { - code: 'CredentialsError', - message: msg, - name: 'CredentialsError' - }); - } - - function getAsyncCredentials() { - self.credentials.get(function(err) { - if (err) { - var msg = 'Could not load credentials from ' + - self.credentials.constructor.name; - err = credError(msg, err); - } - finish(err); - }); - } - - function getStaticCredentials() { - var err = null; - if (!self.credentials.accessKeyId || !self.credentials.secretAccessKey) { - err = credError('Missing credentials'); - } - finish(err); - } - - if (self.credentials) { - if (typeof self.credentials.get === 'function') { - getAsyncCredentials(); - } else { // static credentials - getStaticCredentials(); - } - } else if (self.credentialProvider) { - self.credentialProvider.resolve(function(err, creds) { - if (err) { - err = credError('Could not load credentials from any providers', err); - } - self.credentials = creds; - finish(err); - }); - } else { - finish(credError('No credentials to load')); - } - }, - - /** - * @!group Loading and Setting Configuration Options - */ - - /** - * @overload update(options, allowUnknownKeys = false) - * Updates the current configuration object with new options. - * - * @example Update maxRetries property of a configuration object - * config.update({maxRetries: 10}); - * @param [Object] options a map of option keys and values. - * @param [Boolean] allowUnknownKeys whether unknown keys can be set on - * the configuration object. Defaults to `false`. - * @see constructor - */ - update: function update(options, allowUnknownKeys) { - allowUnknownKeys = allowUnknownKeys || false; - options = this.extractCredentials(options); - AWS.util.each.call(this, options, function (key, value) { - if (allowUnknownKeys || Object.prototype.hasOwnProperty.call(this.keys, key) || - AWS.Service.hasService(key)) { - this.set(key, value); - } - }); - }, - - /** - * Loads configuration data from a JSON file into this config object. - * @note Loading configuration will reset all existing configuration - * on the object. - * @!macro nobrowser - * @param path [String] the path relative to your process's current - * working directory to load configuration from. - * @return [AWS.Config] the same configuration object - */ - loadFromPath: function loadFromPath(path) { - this.clear(); - - var options = JSON.parse(AWS.util.readFileSync(path)); - var fileSystemCreds = new AWS.FileSystemCredentials(path); - var chain = new AWS.CredentialProviderChain(); - chain.providers.unshift(fileSystemCreds); - chain.resolve(function (err, creds) { - if (err) throw err; - else options.credentials = creds; - }); - - this.constructor(options); - - return this; - }, - - /** - * Clears configuration data on this object - * - * @api private - */ - clear: function clear() { - /*jshint forin:false */ - AWS.util.each.call(this, this.keys, function (key) { - delete this[key]; - }); - - // reset credential provider - this.set('credentials', undefined); - this.set('credentialProvider', undefined); - }, - - /** - * Sets a property on the configuration object, allowing for a - * default value - * @api private - */ - set: function set(property, value, defaultValue) { - if (value === undefined) { - if (defaultValue === undefined) { - defaultValue = this.keys[property]; - } - if (typeof defaultValue === 'function') { - this[property] = defaultValue.call(this); - } else { - this[property] = defaultValue; - } - } else if (property === 'httpOptions' && this[property]) { - // deep merge httpOptions - this[property] = AWS.util.merge(this[property], value); - } else { - this[property] = value; - } - }, - - /** - * All of the keys with their default values. - * - * @constant - * @api private - */ - keys: { - credentials: null, - credentialProvider: null, - region: null, - logger: null, - apiVersions: {}, - apiVersion: null, - endpoint: undefined, - httpOptions: { - timeout: 120000 - }, - maxRetries: undefined, - maxRedirects: 10, - paramValidation: true, - sslEnabled: true, - s3ForcePathStyle: false, - s3BucketEndpoint: false, - s3DisableBodySigning: true, - computeChecksums: true, - convertResponseTypes: true, - correctClockSkew: false, - customUserAgent: null, - dynamoDbCrc32: true, - systemClockOffset: 0, - signatureVersion: null, - signatureCache: true, - retryDelayOptions: {}, - useAccelerateEndpoint: false - }, - - /** - * Extracts accessKeyId, secretAccessKey and sessionToken - * from a configuration hash. - * - * @api private - */ - extractCredentials: function extractCredentials(options) { - if (options.accessKeyId && options.secretAccessKey) { - options = AWS.util.copy(options); - options.credentials = new AWS.Credentials(options); - } - return options; - }, - - /** - * Sets the promise dependency the SDK will use wherever Promises are returned. - * Passing `null` will force the SDK to use native Promises if they are available. - * If native Promises are not available, passing `null` will have no effect. - * @param [Constructor] dep A reference to a Promise constructor - */ - setPromisesDependency: function setPromisesDependency(dep) { - PromisesDependency = dep; - // if null was passed in, we should try to use native promises - if (dep === null && typeof Promise === 'function') { - PromisesDependency = Promise; - } - var constructors = [AWS.Request, AWS.Credentials, AWS.CredentialProviderChain]; - if (AWS.S3 && AWS.S3.ManagedUpload) constructors.push(AWS.S3.ManagedUpload); - AWS.util.addPromises(constructors, PromisesDependency); - }, - - /** - * Gets the promise dependency set by `AWS.config.setPromisesDependency`. - */ - getPromisesDependency: function getPromisesDependency() { - return PromisesDependency; - } - }); - - /** - * @return [AWS.Config] The global configuration object singleton instance - * @readonly - * @see AWS.Config - */ - AWS.config = new AWS.Config(); - - -/***/ }), -/* 183 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - - /** - * Represents your AWS security credentials, specifically the - * {accessKeyId}, {secretAccessKey}, and optional {sessionToken}. - * Creating a `Credentials` object allows you to pass around your - * security information to configuration and service objects. - * - * Note that this class typically does not need to be constructed manually, - * as the {AWS.Config} and {AWS.Service} classes both accept simple - * options hashes with the three keys. These structures will be converted - * into Credentials objects automatically. - * - * ## Expiring and Refreshing Credentials - * - * Occasionally credentials can expire in the middle of a long-running - * application. In this case, the SDK will automatically attempt to - * refresh the credentials from the storage location if the Credentials - * class implements the {refresh} method. - * - * If you are implementing a credential storage location, you - * will want to create a subclass of the `Credentials` class and - * override the {refresh} method. This method allows credentials to be - * retrieved from the backing store, be it a file system, database, or - * some network storage. The method should reset the credential attributes - * on the object. - * - * @!attribute expired - * @return [Boolean] whether the credentials have been expired and - * require a refresh. Used in conjunction with {expireTime}. - * @!attribute expireTime - * @return [Date] a time when credentials should be considered expired. Used - * in conjunction with {expired}. - * @!attribute accessKeyId - * @return [String] the AWS access key ID - * @!attribute secretAccessKey - * @return [String] the AWS secret access key - * @!attribute sessionToken - * @return [String] an optional AWS session token - */ - AWS.Credentials = AWS.util.inherit({ - /** - * A credentials object can be created using positional arguments or an options - * hash. - * - * @overload AWS.Credentials(accessKeyId, secretAccessKey, sessionToken=null) - * Creates a Credentials object with a given set of credential information - * as positional arguments. - * @param accessKeyId [String] the AWS access key ID - * @param secretAccessKey [String] the AWS secret access key - * @param sessionToken [String] the optional AWS session token - * @example Create a credentials object with AWS credentials - * var creds = new AWS.Credentials('akid', 'secret', 'session'); - * @overload AWS.Credentials(options) - * Creates a Credentials object with a given set of credential information - * as an options hash. - * @option options accessKeyId [String] the AWS access key ID - * @option options secretAccessKey [String] the AWS secret access key - * @option options sessionToken [String] the optional AWS session token - * @example Create a credentials object with AWS credentials - * var creds = new AWS.Credentials({ - * accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'session' - * }); - */ - constructor: function Credentials() { - // hide secretAccessKey from being displayed with util.inspect - AWS.util.hideProperties(this, ['secretAccessKey']); - - this.expired = false; - this.expireTime = null; - if (arguments.length === 1 && typeof arguments[0] === 'object') { - var creds = arguments[0].credentials || arguments[0]; - this.accessKeyId = creds.accessKeyId; - this.secretAccessKey = creds.secretAccessKey; - this.sessionToken = creds.sessionToken; - } else { - this.accessKeyId = arguments[0]; - this.secretAccessKey = arguments[1]; - this.sessionToken = arguments[2]; - } - }, - - /** - * @return [Integer] the number of seconds before {expireTime} during which - * the credentials will be considered expired. - */ - expiryWindow: 15, - - /** - * @return [Boolean] whether the credentials object should call {refresh} - * @note Subclasses should override this method to provide custom refresh - * logic. - */ - needsRefresh: function needsRefresh() { - var currentTime = AWS.util.date.getDate().getTime(); - var adjustedTime = new Date(currentTime + this.expiryWindow * 1000); - - if (this.expireTime && adjustedTime > this.expireTime) { - return true; - } else { - return this.expired || !this.accessKeyId || !this.secretAccessKey; - } - }, - - /** - * Gets the existing credentials, refreshing them if they are not yet loaded - * or have expired. Users should call this method before using {refresh}, - * as this will not attempt to reload credentials when they are already - * loaded into the object. - * - * @callback callback function(err) - * When this callback is called with no error, it means either credentials - * do not need to be refreshed or refreshed credentials information has - * been loaded into the object (as the `accessKeyId`, `secretAccessKey`, - * and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - */ - get: function get(callback) { - var self = this; - if (this.needsRefresh()) { - this.refresh(function(err) { - if (!err) self.expired = false; // reset expired flag - if (callback) callback(err); - }); - } else if (callback) { - callback(); - } - }, - - /** - * @!method getPromise() - * Returns a 'thenable' promise. - * Gets the existing credentials, refreshing them if they are not yet loaded - * or have expired. Users should call this method before using {refresh}, - * as this will not attempt to reload credentials when they are already - * loaded into the object. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function() - * Called if the promise is fulfilled. When this callback is called, it - * means either credentials do not need to be refreshed or refreshed - * credentials information has been loaded into the object (as the - * `accessKeyId`, `secretAccessKey`, and `sessionToken` properties). - * @callback rejectedCallback function(err) - * Called if the promise is rejected. - * @param err [Error] if an error occurred, this value will be filled - * @return [Promise] A promise that represents the state of the `get` call. - * @example Calling the `getPromise` method. - * var promise = credProvider.getPromise(); - * promise.then(function() { ... }, function(err) { ... }); - */ - - /** - * @!method refreshPromise() - * Returns a 'thenable' promise. - * Refreshes the credentials. Users should call {get} before attempting - * to forcibly refresh credentials. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function() - * Called if the promise is fulfilled. When this callback is called, it - * means refreshed credentials information has been loaded into the object - * (as the `accessKeyId`, `secretAccessKey`, and `sessionToken` properties). - * @callback rejectedCallback function(err) - * Called if the promise is rejected. - * @param err [Error] if an error occurred, this value will be filled - * @return [Promise] A promise that represents the state of the `refresh` call. - * @example Calling the `refreshPromise` method. - * var promise = credProvider.refreshPromise(); - * promise.then(function() { ... }, function(err) { ... }); - */ - - /** - * Refreshes the credentials. Users should call {get} before attempting - * to forcibly refresh credentials. - * - * @callback callback function(err) - * When this callback is called with no error, it means refreshed - * credentials information has been loaded into the object (as the - * `accessKeyId`, `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @note Subclasses should override this class to reset the - * {accessKeyId}, {secretAccessKey} and optional {sessionToken} - * on the credentials object and then call the callback with - * any error information. - * @see get - */ - refresh: function refresh(callback) { - this.expired = false; - callback(); - } - }); - - /** - * @api private - */ - AWS.Credentials.addPromisesToClass = function addPromisesToClass(PromiseDependency) { - this.prototype.getPromise = AWS.util.promisifyMethod('get', PromiseDependency); - this.prototype.refreshPromise = AWS.util.promisifyMethod('refresh', PromiseDependency); - }; - - /** - * @api private - */ - AWS.Credentials.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.getPromise; - delete this.prototype.refreshPromise; - }; - - AWS.util.addPromises(AWS.Credentials); - - -/***/ }), -/* 184 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - - /** - * Creates a credential provider chain that searches for AWS credentials - * in a list of credential providers specified by the {providers} property. - * - * By default, the chain will use the {defaultProviders} to resolve credentials. - * These providers will look in the environment using the - * {AWS.EnvironmentCredentials} class with the 'AWS' and 'AMAZON' prefixes. - * - * ## Setting Providers - * - * Each provider in the {providers} list should be a function that returns - * a {AWS.Credentials} object, or a hardcoded credentials object. The function - * form allows for delayed execution of the credential construction. - * - * ## Resolving Credentials from a Chain - * - * Call {resolve} to return the first valid credential object that can be - * loaded by the provider chain. - * - * For example, to resolve a chain with a custom provider that checks a file - * on disk after the set of {defaultProviders}: - * - * ```javascript - * var diskProvider = new AWS.FileSystemCredentials('./creds.json'); - * var chain = new AWS.CredentialProviderChain(); - * chain.providers.push(diskProvider); - * chain.resolve(); - * ``` - * - * The above code will return the `diskProvider` object if the - * file contains credentials and the `defaultProviders` do not contain - * any credential settings. - * - * @!attribute providers - * @return [Array] - * a list of credentials objects or functions that return credentials - * objects. If the provider is a function, the function will be - * executed lazily when the provider needs to be checked for valid - * credentials. By default, this object will be set to the - * {defaultProviders}. - * @see defaultProviders - */ - AWS.CredentialProviderChain = AWS.util.inherit(AWS.Credentials, { - - /** - * Creates a new CredentialProviderChain with a default set of providers - * specified by {defaultProviders}. - */ - constructor: function CredentialProviderChain(providers) { - if (providers) { - this.providers = providers; - } else { - this.providers = AWS.CredentialProviderChain.defaultProviders.slice(0); - } - }, - - /** - * @!method resolvePromise() - * Returns a 'thenable' promise. - * Resolves the provider chain by searching for the first set of - * credentials in {providers}. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function(credentials) - * Called if the promise is fulfilled and the provider resolves the chain - * to a credentials object - * @param credentials [AWS.Credentials] the credentials object resolved - * by the provider chain. - * @callback rejectedCallback function(error) - * Called if the promise is rejected. - * @param err [Error] the error object returned if no credentials are found. - * @return [Promise] A promise that represents the state of the `resolve` method call. - * @example Calling the `resolvePromise` method. - * var promise = chain.resolvePromise(); - * promise.then(function(credentials) { ... }, function(err) { ... }); - */ - - /** - * Resolves the provider chain by searching for the first set of - * credentials in {providers}. - * - * @callback callback function(err, credentials) - * Called when the provider resolves the chain to a credentials object - * or null if no credentials can be found. - * - * @param err [Error] the error object returned if no credentials are - * found. - * @param credentials [AWS.Credentials] the credentials object resolved - * by the provider chain. - * @return [AWS.CredentialProviderChain] the provider, for chaining. - */ - resolve: function resolve(callback) { - if (this.providers.length === 0) { - callback(new Error('No providers')); - return this; - } - - var index = 0; - var providers = this.providers.slice(0); - - function resolveNext(err, creds) { - if ((!err && creds) || index === providers.length) { - callback(err, creds); - return; - } - - var provider = providers[index++]; - if (typeof provider === 'function') { - creds = provider.call(); - } else { - creds = provider; - } - - if (creds.get) { - creds.get(function(getErr) { - resolveNext(getErr, getErr ? null : creds); - }); - } else { - resolveNext(null, creds); - } - } - - resolveNext(); - return this; - } - }); - - /** - * The default set of providers used by a vanilla CredentialProviderChain. - * - * In the browser: - * - * ```javascript - * AWS.CredentialProviderChain.defaultProviders = [] - * ``` - * - * In Node.js: - * - * ```javascript - * AWS.CredentialProviderChain.defaultProviders = [ - * function () { return new AWS.EnvironmentCredentials('AWS'); }, - * function () { return new AWS.EnvironmentCredentials('AMAZON'); }, - * function () { return new AWS.SharedIniFileCredentials(); }, - * function () { - * // if AWS_CONTAINER_CREDENTIALS_RELATIVE_URI is set - * return new AWS.ECSCredentials(); - * // else - * return new AWS.EC2MetadataCredentials(); - * } - * ] - * ``` - */ - AWS.CredentialProviderChain.defaultProviders = []; - - /** - * @api private - */ - AWS.CredentialProviderChain.addPromisesToClass = function addPromisesToClass(PromiseDependency) { - this.prototype.resolvePromise = AWS.util.promisifyMethod('resolve', PromiseDependency); - }; - - /** - * @api private - */ - AWS.CredentialProviderChain.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.resolvePromise; - }; - - AWS.util.addPromises(AWS.CredentialProviderChain); - - -/***/ }), -/* 185 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var STS = __webpack_require__(186); - - /** - * Represents temporary credentials retrieved from {AWS.STS}. Without any - * extra parameters, credentials will be fetched from the - * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the - * {AWS.STS.assumeRole} operation will be used to fetch credentials for the - * role instead. - * - * To setup temporary credentials, configure a set of master credentials - * using the standard credentials providers (environment, EC2 instance metadata, - * or from the filesystem), then set the global credentials to a new - * temporary credentials object: - * - * ```javascript - * // Note that environment credentials are loaded by default, - * // the following line is shown for clarity: - * AWS.config.credentials = new AWS.EnvironmentCredentials('AWS'); - * - * // Now set temporary credentials seeded from the master credentials - * AWS.config.credentials = new AWS.TemporaryCredentials(); - * - * // subsequent requests will now use temporary credentials from AWS STS. - * new AWS.S3().listBucket(function(err, data) { ... }); - * ``` - * - * @!attribute masterCredentials - * @return [AWS.Credentials] the master (non-temporary) credentials used to - * get and refresh temporary credentials from AWS STS. - * @note (see constructor) - */ - AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new temporary credentials object. - * - * @note In order to create temporary credentials, you first need to have - * "master" credentials configured in {AWS.Config.credentials}. These - * master credentials are necessary to retrieve the temporary credentials, - * as well as refresh the credentials when they expire. - * @param params [map] a map of options that are passed to the - * {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations. - * If a `RoleArn` parameter is passed in, credentials will be based on the - * IAM role. - * @param masterCredentials [AWS.Credentials] the master (non-temporary) credentials - * used to get and refresh temporary credentials from AWS STS. - * @example Creating a new credentials object for generic temporary credentials - * AWS.config.credentials = new AWS.TemporaryCredentials(); - * @example Creating a new credentials object for an IAM role - * AWS.config.credentials = new AWS.TemporaryCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials', - * }); - * @see AWS.STS.assumeRole - * @see AWS.STS.getSessionToken - */ - constructor: function TemporaryCredentials(params, masterCredentials) { - AWS.Credentials.call(this); - this.loadMasterCredentials(masterCredentials); - this.expired = true; - - this.params = params || {}; - if (this.params.RoleArn) { - this.params.RoleSessionName = - this.params.RoleSessionName || 'temporary-credentials'; - } - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRole} or - * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed - * to the credentials {constructor}. - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - var self = this; - self.createClients(); - if (!callback) callback = function(err) { if (err) throw err; }; - - self.masterCredentials.get(function() { - self.service.config.credentials = self.masterCredentials; - var operation = self.params.RoleArn ? - self.service.assumeRole : self.service.getSessionToken; - operation.call(self.service, function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }); - }, - - /** - * @api private - */ - loadMasterCredentials: function loadMasterCredentials(masterCredentials) { - this.masterCredentials = masterCredentials || AWS.config.credentials; - while (this.masterCredentials.masterCredentials) { - this.masterCredentials = this.masterCredentials.masterCredentials; - } - - if (typeof this.masterCredentials.get !== 'function') { - this.masterCredentials = new AWS.Credentials(this.masterCredentials); - } - }, - - /** - * @api private - */ - createClients: function() { - this.service = this.service || new STS({params: this.params}); - } - - }); - - -/***/ }), -/* 186 */ -/***/ (function(module, exports, __webpack_require__) { - - __webpack_require__(2); - var AWS = __webpack_require__(5); - var Service = __webpack_require__(179); - var apiLoader = __webpack_require__(187); - - apiLoader.services['sts'] = {}; - AWS.STS = Service.defineService('sts', ['2011-06-15']); - __webpack_require__(188); - Object.defineProperty(apiLoader.services['sts'], '2011-06-15', { - get: function get() { - var model = __webpack_require__(189); - model.paginators = __webpack_require__(190).pagination; - return model; - }, - enumerable: true, - configurable: true - }); - - module.exports = AWS.STS; - - -/***/ }), -/* 187 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - - AWS.apiLoader = function(svc, version) { - if (!AWS.apiLoader.services.hasOwnProperty(svc)) { - throw new Error('InvalidService: Failed to load api for ' + svc); - } - return AWS.apiLoader.services[svc][version]; - }; - - /** - * This member of AWS.apiLoader is private, but changing it will necessitate a - * change to ../scripts/services-table-generator.ts - */ - AWS.apiLoader.services = {}; - - module.exports = AWS.apiLoader; - - -/***/ }), -/* 188 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - - AWS.util.update(AWS.STS.prototype, { - /** - * @overload credentialsFrom(data, credentials = null) - * Creates a credentials object from STS response data containing - * credentials information. Useful for quickly setting AWS credentials. - * - * @note This is a low-level utility function. If you want to load temporary - * credentials into your process for subsequent requests to AWS resources, - * you should use {AWS.TemporaryCredentials} instead. - * @param data [map] data retrieved from a call to {getFederatedToken}, - * {getSessionToken}, {assumeRole}, or {assumeRoleWithWebIdentity}. - * @param credentials [AWS.Credentials] an optional credentials object to - * fill instead of creating a new object. Useful when modifying an - * existing credentials object from a refresh call. - * @return [AWS.TemporaryCredentials] the set of temporary credentials - * loaded from a raw STS operation response. - * @example Using credentialsFrom to load global AWS credentials - * var sts = new AWS.STS(); - * sts.getSessionToken(function (err, data) { - * if (err) console.log("Error getting credentials"); - * else { - * AWS.config.credentials = sts.credentialsFrom(data); - * } - * }); - * @see AWS.TemporaryCredentials - */ - credentialsFrom: function credentialsFrom(data, credentials) { - if (!data) return null; - if (!credentials) credentials = new AWS.TemporaryCredentials(); - credentials.expired = false; - credentials.accessKeyId = data.Credentials.AccessKeyId; - credentials.secretAccessKey = data.Credentials.SecretAccessKey; - credentials.sessionToken = data.Credentials.SessionToken; - credentials.expireTime = data.Credentials.Expiration; - return credentials; - }, - - assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity(params, callback) { - return this.makeUnauthenticatedRequest('assumeRoleWithWebIdentity', params, callback); - }, - - assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) { - return this.makeUnauthenticatedRequest('assumeRoleWithSAML', params, callback); - } - }); - - -/***/ }), -/* 189 */ -/***/ (function(module, exports) { - - module.exports = { - "version": "2.0", - "metadata": { - "apiVersion": "2011-06-15", - "endpointPrefix": "sts", - "globalEndpoint": "sts.amazonaws.com", - "protocol": "query", - "serviceAbbreviation": "AWS STS", - "serviceFullName": "AWS Security Token Service", - "signatureVersion": "v4", - "uid": "sts-2011-06-15", - "xmlNamespace": "https://sts.amazonaws.com/doc/2011-06-15/" - }, - "operations": { - "AssumeRole": { - "input": { - "type": "structure", - "required": [ - "RoleArn", - "RoleSessionName" - ], - "members": { - "RoleArn": {}, - "RoleSessionName": {}, - "Policy": {}, - "DurationSeconds": { - "type": "integer" - }, - "ExternalId": {}, - "SerialNumber": {}, - "TokenCode": {} - } - }, - "output": { - "resultWrapper": "AssumeRoleResult", - "type": "structure", - "members": { - "Credentials": { - "shape": "Sa" - }, - "AssumedRoleUser": { - "shape": "Sf" - }, - "PackedPolicySize": { - "type": "integer" - } - } - } - }, - "AssumeRoleWithSAML": { - "input": { - "type": "structure", - "required": [ - "RoleArn", - "PrincipalArn", - "SAMLAssertion" - ], - "members": { - "RoleArn": {}, - "PrincipalArn": {}, - "SAMLAssertion": {}, - "Policy": {}, - "DurationSeconds": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "AssumeRoleWithSAMLResult", - "type": "structure", - "members": { - "Credentials": { - "shape": "Sa" - }, - "AssumedRoleUser": { - "shape": "Sf" - }, - "PackedPolicySize": { - "type": "integer" - }, - "Subject": {}, - "SubjectType": {}, - "Issuer": {}, - "Audience": {}, - "NameQualifier": {} - } - } - }, - "AssumeRoleWithWebIdentity": { - "input": { - "type": "structure", - "required": [ - "RoleArn", - "RoleSessionName", - "WebIdentityToken" - ], - "members": { - "RoleArn": {}, - "RoleSessionName": {}, - "WebIdentityToken": {}, - "ProviderId": {}, - "Policy": {}, - "DurationSeconds": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "AssumeRoleWithWebIdentityResult", - "type": "structure", - "members": { - "Credentials": { - "shape": "Sa" - }, - "SubjectFromWebIdentityToken": {}, - "AssumedRoleUser": { - "shape": "Sf" - }, - "PackedPolicySize": { - "type": "integer" - }, - "Provider": {}, - "Audience": {} - } - } - }, - "DecodeAuthorizationMessage": { - "input": { - "type": "structure", - "required": [ - "EncodedMessage" - ], - "members": { - "EncodedMessage": {} - } - }, - "output": { - "resultWrapper": "DecodeAuthorizationMessageResult", - "type": "structure", - "members": { - "DecodedMessage": {} - } - } - }, - "GetCallerIdentity": { - "input": { - "type": "structure", - "members": {} - }, - "output": { - "resultWrapper": "GetCallerIdentityResult", - "type": "structure", - "members": { - "UserId": {}, - "Account": {}, - "Arn": {} - } - } - }, - "GetFederationToken": { - "input": { - "type": "structure", - "required": [ - "Name" - ], - "members": { - "Name": {}, - "Policy": {}, - "DurationSeconds": { - "type": "integer" - } - } - }, - "output": { - "resultWrapper": "GetFederationTokenResult", - "type": "structure", - "members": { - "Credentials": { - "shape": "Sa" - }, - "FederatedUser": { - "type": "structure", - "required": [ - "FederatedUserId", - "Arn" - ], - "members": { - "FederatedUserId": {}, - "Arn": {} - } - }, - "PackedPolicySize": { - "type": "integer" - } - } - } - }, - "GetSessionToken": { - "input": { - "type": "structure", - "members": { - "DurationSeconds": { - "type": "integer" - }, - "SerialNumber": {}, - "TokenCode": {} - } - }, - "output": { - "resultWrapper": "GetSessionTokenResult", - "type": "structure", - "members": { - "Credentials": { - "shape": "Sa" - } - } - } - } - }, - "shapes": { - "Sa": { - "type": "structure", - "required": [ - "AccessKeyId", - "SecretAccessKey", - "SessionToken", - "Expiration" - ], - "members": { - "AccessKeyId": {}, - "SecretAccessKey": {}, - "SessionToken": {}, - "Expiration": { - "type": "timestamp" - } - } - }, - "Sf": { - "type": "structure", - "required": [ - "AssumedRoleId", - "Arn" - ], - "members": { - "AssumedRoleId": {}, - "Arn": {} - } - } - } - }; - -/***/ }), -/* 190 */ -/***/ (function(module, exports) { - - module.exports = { - "pagination": {} - }; - -/***/ }), -/* 191 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var STS = __webpack_require__(186); - - /** - * Represents credentials retrieved from STS Web Identity Federation support. - * - * By default this provider gets credentials using the - * {AWS.STS.assumeRoleWithWebIdentity} service operation. This operation - * requires a `RoleArn` containing the ARN of the IAM trust policy for the - * application for which credentials will be given. In addition, the - * `WebIdentityToken` must be set to the token provided by the identity - * provider. See {constructor} for an example on creating a credentials - * object with proper `RoleArn` and `WebIdentityToken` values. - * - * ## Refreshing Credentials from Identity Service - * - * In addition to AWS credentials expiring after a given amount of time, the - * login token from the identity provider will also expire. Once this token - * expires, it will not be usable to refresh AWS credentials, and another - * token will be needed. The SDK does not manage refreshing of the token value, - * but this can be done through a "refresh token" supported by most identity - * providers. Consult the documentation for the identity provider for refreshing - * tokens. Once the refreshed token is acquired, you should make sure to update - * this new token in the credentials object's {params} property. The following - * code will update the WebIdentityToken, assuming you have retrieved an updated - * token from the identity provider: - * - * ```javascript - * AWS.config.credentials.params.WebIdentityToken = updatedToken; - * ``` - * - * Future calls to `credentials.refresh()` will now use the new token. - * - * @!attribute params - * @return [map] the map of params passed to - * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the - * `params.WebIdentityToken` property. - * @!attribute data - * @return [map] the raw data response from the call to - * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get - * access to other properties from the response. - */ - AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new credentials object. - * @param (see AWS.STS.assumeRoleWithWebIdentity) - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.WebIdentityCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/WebIdentity', - * WebIdentityToken: 'ABCDEFGHIJKLMNOP', // token from identity service - * RoleSessionName: 'web' // optional name, defaults to web-identity - * }, { - * // optionally provide configuration to apply to the underlying AWS.STS service client - * // if configuration is not provided, then configuration will be pulled from AWS.config - * - * // specify timeout options - * httpOptions: { - * timeout: 100 - * } - * }); - * @see AWS.STS.assumeRoleWithWebIdentity - * @see AWS.Config - */ - constructor: function WebIdentityCredentials(params, clientConfig) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - this.params.RoleSessionName = this.params.RoleSessionName || 'web-identity'; - this.data = null; - this._clientConfig = AWS.util.copy(clientConfig || {}); - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRoleWithWebIdentity} - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - var self = this; - self.createClients(); - if (!callback) callback = function(err) { if (err) throw err; }; - - self.service.assumeRoleWithWebIdentity(function (err, data) { - self.data = null; - if (!err) { - self.data = data; - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }, - - /** - * @api private - */ - createClients: function() { - if (!this.service) { - var stsConfig = AWS.util.merge({}, this._clientConfig); - stsConfig.params = this.params; - this.service = new STS(stsConfig); - } - } - - }); - - -/***/ }), -/* 192 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var CognitoIdentity = __webpack_require__(193); - var STS = __webpack_require__(186); - - /** - * Represents credentials retrieved from STS Web Identity Federation using - * the Amazon Cognito Identity service. - * - * By default this provider gets credentials using the - * {AWS.CognitoIdentity.getCredentialsForIdentity} service operation, which - * requires either an `IdentityId` or an `IdentityPoolId` (Amazon Cognito - * Identity Pool ID), which is used to call {AWS.CognitoIdentity.getId} to - * obtain an `IdentityId`. If the identity or identity pool is not configured in - * the Amazon Cognito Console to use IAM roles with the appropriate permissions, - * then additionally a `RoleArn` is required containing the ARN of the IAM trust - * policy for the Amazon Cognito role that the user will log into. If a `RoleArn` - * is provided, then this provider gets credentials using the - * {AWS.STS.assumeRoleWithWebIdentity} service operation, after first getting an - * Open ID token from {AWS.CognitoIdentity.getOpenIdToken}. - * - * In addition, if this credential provider is used to provide authenticated - * login, the `Logins` map may be set to the tokens provided by the respective - * identity providers. See {constructor} for an example on creating a credentials - * object with proper property values. - * - * ## Refreshing Credentials from Identity Service - * - * In addition to AWS credentials expiring after a given amount of time, the - * login token from the identity provider will also expire. Once this token - * expires, it will not be usable to refresh AWS credentials, and another - * token will be needed. The SDK does not manage refreshing of the token value, - * but this can be done through a "refresh token" supported by most identity - * providers. Consult the documentation for the identity provider for refreshing - * tokens. Once the refreshed token is acquired, you should make sure to update - * this new token in the credentials object's {params} property. The following - * code will update the WebIdentityToken, assuming you have retrieved an updated - * token from the identity provider: - * - * ```javascript - * AWS.config.credentials.params.Logins['graph.facebook.com'] = updatedToken; - * ``` - * - * Future calls to `credentials.refresh()` will now use the new token. - * - * @!attribute params - * @return [map] the map of params passed to - * {AWS.CognitoIdentity.getId}, - * {AWS.CognitoIdentity.getOpenIdToken}, and - * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the - * `params.WebIdentityToken` property. - * @!attribute data - * @return [map] the raw data response from the call to - * {AWS.CognitoIdentity.getCredentialsForIdentity}, or - * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get - * access to other properties from the response. - * @!attribute identityId - * @return [String] the Cognito ID returned by the last call to - * {AWS.CognitoIdentity.getOpenIdToken}. This ID represents the actual - * final resolved identity ID from Amazon Cognito. - */ - AWS.CognitoIdentityCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * @api private - */ - localStorageKey: { - id: 'aws.cognito.identity-id.', - providers: 'aws.cognito.identity-providers.' - }, - - /** - * Creates a new credentials object. - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.CognitoIdentityCredentials({ - * - * // either IdentityPoolId or IdentityId is required - * // See the IdentityPoolId param for AWS.CognitoIdentity.getID (linked below) - * // See the IdentityId param for AWS.CognitoIdentity.getCredentialsForIdentity - * // or AWS.CognitoIdentity.getOpenIdToken (linked below) - * IdentityPoolId: 'us-east-1:1699ebc0-7900-4099-b910-2df94f52a030', - * IdentityId: 'us-east-1:128d0a74-c82f-4553-916d-90053e4a8b0f' - * - * // optional, only necessary when the identity pool is not configured - * // to use IAM roles in the Amazon Cognito Console - * // See the RoleArn param for AWS.STS.assumeRoleWithWebIdentity (linked below) - * RoleArn: 'arn:aws:iam::1234567890:role/MYAPP-CognitoIdentity', - * - * // optional tokens, used for authenticated login - * // See the Logins param for AWS.CognitoIdentity.getID (linked below) - * Logins: { - * 'graph.facebook.com': 'FBTOKEN', - * 'www.amazon.com': 'AMAZONTOKEN', - * 'accounts.google.com': 'GOOGLETOKEN', - * 'api.twitter.com': 'TWITTERTOKEN', - * 'www.digits.com': 'DIGITSTOKEN' - * }, - * - * // optional name, defaults to web-identity - * // See the RoleSessionName param for AWS.STS.assumeRoleWithWebIdentity (linked below) - * RoleSessionName: 'web', - * - * // optional, only necessary when application runs in a browser - * // and multiple users are signed in at once, used for caching - * LoginId: 'example@gmail.com' - * - * }, { - * // optionally provide configuration to apply to the underlying service clients - * // if configuration is not provided, then configuration will be pulled from AWS.config - * - * // region should match the region your identity pool is located in - * region: 'us-east-1', - * - * // specify timeout options - * httpOptions: { - * timeout: 100 - * } - * }); - * @see AWS.CognitoIdentity.getId - * @see AWS.CognitoIdentity.getCredentialsForIdentity - * @see AWS.STS.assumeRoleWithWebIdentity - * @see AWS.CognitoIdentity.getOpenIdToken - * @see AWS.Config - * @note If a region is not provided in the global AWS.config, or - * specified in the `clientConfig` to the CognitoIdentityCredentials - * constructor, you may encounter a 'Missing credentials in config' error - * when calling making a service call. - */ - constructor: function CognitoIdentityCredentials(params, clientConfig) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - this.data = null; - this._identityId = null; - this._clientConfig = AWS.util.copy(clientConfig || {}); - this.loadCachedId(); - var self = this; - Object.defineProperty(this, 'identityId', { - get: function() { - self.loadCachedId(); - return self._identityId || self.params.IdentityId; - }, - set: function(identityId) { - self._identityId = identityId; - } - }); - }, - - /** - * Refreshes credentials using {AWS.CognitoIdentity.getCredentialsForIdentity}, - * or {AWS.STS.assumeRoleWithWebIdentity}. - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see AWS.Credentials.get - */ - refresh: function refresh(callback) { - var self = this; - self.createClients(); - self.data = null; - self._identityId = null; - self.getId(function(err) { - if (!err) { - if (!self.params.RoleArn) { - self.getCredentialsForIdentity(callback); - } else { - self.getCredentialsFromSTS(callback); - } - } else { - self.clearIdOnNotAuthorized(err); - callback(err); - } - }); - }, - - /** - * Clears the cached Cognito ID associated with the currently configured - * identity pool ID. Use this to manually invalidate your cache if - * the identity pool ID was deleted. - */ - clearCachedId: function clearCache() { - this._identityId = null; - delete this.params.IdentityId; - - var poolId = this.params.IdentityPoolId; - var loginId = this.params.LoginId || ''; - delete this.storage[this.localStorageKey.id + poolId + loginId]; - delete this.storage[this.localStorageKey.providers + poolId + loginId]; - }, - - /** - * @api private - */ - clearIdOnNotAuthorized: function clearIdOnNotAuthorized(err) { - var self = this; - if (err.code == 'NotAuthorizedException') { - self.clearCachedId(); - } - }, - - /** - * Retrieves a Cognito ID, loading from cache if it was already retrieved - * on this device. - * - * @callback callback function(err, identityId) - * @param err [Error, null] an error object if the call failed or null if - * it succeeded. - * @param identityId [String, null] if successful, the callback will return - * the Cognito ID. - * @note If not loaded explicitly, the Cognito ID is loaded and stored in - * localStorage in the browser environment of a device. - * @api private - */ - getId: function getId(callback) { - var self = this; - if (typeof self.params.IdentityId === 'string') { - return callback(null, self.params.IdentityId); - } - - self.cognito.getId(function(err, data) { - if (!err && data.IdentityId) { - self.params.IdentityId = data.IdentityId; - callback(null, data.IdentityId); - } else { - callback(err); - } - }); - }, - - - /** - * @api private - */ - loadCredentials: function loadCredentials(data, credentials) { - if (!data || !credentials) return; - credentials.expired = false; - credentials.accessKeyId = data.Credentials.AccessKeyId; - credentials.secretAccessKey = data.Credentials.SecretKey; - credentials.sessionToken = data.Credentials.SessionToken; - credentials.expireTime = data.Credentials.Expiration; - }, - - /** - * @api private - */ - getCredentialsForIdentity: function getCredentialsForIdentity(callback) { - var self = this; - self.cognito.getCredentialsForIdentity(function(err, data) { - if (!err) { - self.cacheId(data); - self.data = data; - self.loadCredentials(self.data, self); - } else { - self.clearIdOnNotAuthorized(err); - } - callback(err); - }); - }, - - /** - * @api private - */ - getCredentialsFromSTS: function getCredentialsFromSTS(callback) { - var self = this; - self.cognito.getOpenIdToken(function(err, data) { - if (!err) { - self.cacheId(data); - self.params.WebIdentityToken = data.Token; - self.webIdentityCredentials.refresh(function(webErr) { - if (!webErr) { - self.data = self.webIdentityCredentials.data; - self.sts.credentialsFrom(self.data, self); - } - callback(webErr); - }); - } else { - self.clearIdOnNotAuthorized(err); - callback(err); - } - }); - }, - - /** - * @api private - */ - loadCachedId: function loadCachedId() { - var self = this; - - // in the browser we source default IdentityId from localStorage - if (AWS.util.isBrowser() && !self.params.IdentityId) { - var id = self.getStorage('id'); - if (id && self.params.Logins) { - var actualProviders = Object.keys(self.params.Logins); - var cachedProviders = - (self.getStorage('providers') || '').split(','); - - // only load ID if at least one provider used this ID before - var intersect = cachedProviders.filter(function(n) { - return actualProviders.indexOf(n) !== -1; - }); - if (intersect.length !== 0) { - self.params.IdentityId = id; - } - } else if (id) { - self.params.IdentityId = id; - } - } - }, - - /** - * @api private - */ - createClients: function() { - var clientConfig = this._clientConfig; - this.webIdentityCredentials = this.webIdentityCredentials || - new AWS.WebIdentityCredentials(this.params, clientConfig); - if (!this.cognito) { - var cognitoConfig = AWS.util.merge({}, clientConfig); - cognitoConfig.params = this.params; - this.cognito = new CognitoIdentity(cognitoConfig); - } - this.sts = this.sts || new STS(clientConfig); - }, - - /** - * @api private - */ - cacheId: function cacheId(data) { - this._identityId = data.IdentityId; - this.params.IdentityId = this._identityId; - - // cache this IdentityId in browser localStorage if possible - if (AWS.util.isBrowser()) { - this.setStorage('id', data.IdentityId); - - if (this.params.Logins) { - this.setStorage('providers', Object.keys(this.params.Logins).join(',')); - } - } - }, - - /** - * @api private - */ - getStorage: function getStorage(key) { - return this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')]; - }, - - /** - * @api private - */ - setStorage: function setStorage(key, val) { - try { - this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')] = val; - } catch (_) {} - }, - - /** - * @api private - */ - storage: (function() { - try { - var storage = AWS.util.isBrowser() && window.localStorage !== null && typeof window.localStorage === 'object' ? - window.localStorage : {}; - - // Test set/remove which would throw an error in Safari's private browsing - storage['aws.test-storage'] = 'foobar'; - delete storage['aws.test-storage']; - - return storage; - } catch (_) { - return {}; - } - })() - }); - - -/***/ }), -/* 193 */ -/***/ (function(module, exports, __webpack_require__) { - - __webpack_require__(2); - var AWS = __webpack_require__(5); - var Service = __webpack_require__(179); - var apiLoader = __webpack_require__(187); - - apiLoader.services['cognitoidentity'] = {}; - AWS.CognitoIdentity = Service.defineService('cognitoidentity', ['2014-06-30']); - __webpack_require__(194); - Object.defineProperty(apiLoader.services['cognitoidentity'], '2014-06-30', { - get: function get() { - var model = __webpack_require__(195); - model.paginators = __webpack_require__(196).pagination; - return model; - }, - enumerable: true, - configurable: true - }); - - module.exports = AWS.CognitoIdentity; - - -/***/ }), -/* 194 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - - AWS.util.update(AWS.CognitoIdentity.prototype, { - getOpenIdToken: function getOpenIdToken(params, callback) { - return this.makeUnauthenticatedRequest('getOpenIdToken', params, callback); - }, - - getId: function getId(params, callback) { - return this.makeUnauthenticatedRequest('getId', params, callback); - }, - - getCredentialsForIdentity: function getCredentialsForIdentity(params, callback) { - return this.makeUnauthenticatedRequest('getCredentialsForIdentity', params, callback); - } - }); - - -/***/ }), -/* 195 */ -/***/ (function(module, exports) { - - module.exports = { - "version": "2.0", - "metadata": { - "apiVersion": "2014-06-30", - "endpointPrefix": "cognito-identity", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Amazon Cognito Identity", - "signatureVersion": "v4", - "targetPrefix": "AWSCognitoIdentityService", - "uid": "cognito-identity-2014-06-30" - }, - "operations": { - "CreateIdentityPool": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolName", - "AllowUnauthenticatedIdentities" - ], - "members": { - "IdentityPoolName": {}, - "AllowUnauthenticatedIdentities": { - "type": "boolean" - }, - "SupportedLoginProviders": { - "shape": "S4" - }, - "DeveloperProviderName": {}, - "OpenIdConnectProviderARNs": { - "shape": "S8" - }, - "CognitoIdentityProviders": { - "shape": "Sa" - }, - "SamlProviderARNs": { - "shape": "Sf" - } - } - }, - "output": { - "shape": "Sg" - } - }, - "DeleteIdentities": { - "input": { - "type": "structure", - "required": [ - "IdentityIdsToDelete" - ], - "members": { - "IdentityIdsToDelete": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": { - "UnprocessedIdentityIds": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IdentityId": {}, - "ErrorCode": {} - } - } - } - } - } - }, - "DeleteIdentityPool": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": {} - } - } - }, - "DescribeIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityId" - ], - "members": { - "IdentityId": {} - } - }, - "output": { - "shape": "Sr" - } - }, - "DescribeIdentityPool": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": {} - } - }, - "output": { - "shape": "Sg" - } - }, - "GetCredentialsForIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityId" - ], - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Sw" - }, - "CustomRoleArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {}, - "Credentials": { - "type": "structure", - "members": { - "AccessKeyId": {}, - "SecretKey": {}, - "SessionToken": {}, - "Expiration": { - "type": "timestamp" - } - } - } - } - } - }, - "GetId": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "AccountId": {}, - "IdentityPoolId": {}, - "Logins": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {} - } - } - }, - "GetIdentityPoolRoles": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "Roles": { - "shape": "S18" - }, - "RoleMappings": { - "shape": "S1a" - } - } - } - }, - "GetOpenIdToken": { - "input": { - "type": "structure", - "required": [ - "IdentityId" - ], - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {}, - "Token": {} - } - } - }, - "GetOpenIdTokenForDeveloperIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "Logins" - ], - "members": { - "IdentityPoolId": {}, - "IdentityId": {}, - "Logins": { - "shape": "Sw" - }, - "TokenDuration": { - "type": "long" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {}, - "Token": {} - } - } - }, - "ListIdentities": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "MaxResults" - ], - "members": { - "IdentityPoolId": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {}, - "HideDisabled": { - "type": "boolean" - } - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "Identities": { - "type": "list", - "member": { - "shape": "Sr" - } - }, - "NextToken": {} - } - } - }, - "ListIdentityPools": { - "input": { - "type": "structure", - "required": [ - "MaxResults" - ], - "members": { - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityPools": { - "type": "list", - "member": { - "type": "structure", - "members": { - "IdentityPoolId": {}, - "IdentityPoolName": {} - } - } - }, - "NextToken": {} - } - } - }, - "LookupDeveloperIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId" - ], - "members": { - "IdentityPoolId": {}, - "IdentityId": {}, - "DeveloperUserIdentifier": {}, - "MaxResults": { - "type": "integer" - }, - "NextToken": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {}, - "DeveloperUserIdentifierList": { - "type": "list", - "member": {} - }, - "NextToken": {} - } - } - }, - "MergeDeveloperIdentities": { - "input": { - "type": "structure", - "required": [ - "SourceUserIdentifier", - "DestinationUserIdentifier", - "DeveloperProviderName", - "IdentityPoolId" - ], - "members": { - "SourceUserIdentifier": {}, - "DestinationUserIdentifier": {}, - "DeveloperProviderName": {}, - "IdentityPoolId": {} - } - }, - "output": { - "type": "structure", - "members": { - "IdentityId": {} - } - } - }, - "SetIdentityPoolRoles": { - "input": { - "type": "structure", - "required": [ - "IdentityPoolId", - "Roles" - ], - "members": { - "IdentityPoolId": {}, - "Roles": { - "shape": "S18" - }, - "RoleMappings": { - "shape": "S1a" - } - } - } - }, - "UnlinkDeveloperIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityId", - "IdentityPoolId", - "DeveloperProviderName", - "DeveloperUserIdentifier" - ], - "members": { - "IdentityId": {}, - "IdentityPoolId": {}, - "DeveloperProviderName": {}, - "DeveloperUserIdentifier": {} - } - } - }, - "UnlinkIdentity": { - "input": { - "type": "structure", - "required": [ - "IdentityId", - "Logins", - "LoginsToRemove" - ], - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Sw" - }, - "LoginsToRemove": { - "shape": "Ss" - } - } - } - }, - "UpdateIdentityPool": { - "input": { - "shape": "Sg" - }, - "output": { - "shape": "Sg" - } - } - }, - "shapes": { - "S4": { - "type": "map", - "key": {}, - "value": {} - }, - "S8": { - "type": "list", - "member": {} - }, - "Sa": { - "type": "list", - "member": { - "type": "structure", - "members": { - "ProviderName": {}, - "ClientId": {}, - "ServerSideTokenCheck": { - "type": "boolean" - } - } - } - }, - "Sf": { - "type": "list", - "member": {} - }, - "Sg": { - "type": "structure", - "required": [ - "IdentityPoolId", - "IdentityPoolName", - "AllowUnauthenticatedIdentities" - ], - "members": { - "IdentityPoolId": {}, - "IdentityPoolName": {}, - "AllowUnauthenticatedIdentities": { - "type": "boolean" - }, - "SupportedLoginProviders": { - "shape": "S4" - }, - "DeveloperProviderName": {}, - "OpenIdConnectProviderARNs": { - "shape": "S8" - }, - "CognitoIdentityProviders": { - "shape": "Sa" - }, - "SamlProviderARNs": { - "shape": "Sf" - } - } - }, - "Sr": { - "type": "structure", - "members": { - "IdentityId": {}, - "Logins": { - "shape": "Ss" - }, - "CreationDate": { - "type": "timestamp" - }, - "LastModifiedDate": { - "type": "timestamp" - } - } - }, - "Ss": { - "type": "list", - "member": {} - }, - "Sw": { - "type": "map", - "key": {}, - "value": {} - }, - "S18": { - "type": "map", - "key": {}, - "value": {} - }, - "S1a": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "required": [ - "Type" - ], - "members": { - "Type": {}, - "AmbiguousRoleResolution": {}, - "RulesConfiguration": { - "type": "structure", - "required": [ - "Rules" - ], - "members": { - "Rules": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Claim", - "MatchType", - "Value", - "RoleARN" - ], - "members": { - "Claim": {}, - "MatchType": {}, - "Value": {}, - "RoleARN": {} - } - } - } - } - } - } - } - } - } - }; - -/***/ }), -/* 196 */ -/***/ (function(module, exports) { - - module.exports = { - "pagination": {} - }; - -/***/ }), -/* 197 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var STS = __webpack_require__(186); - - /** - * Represents credentials retrieved from STS SAML support. - * - * By default this provider gets credentials using the - * {AWS.STS.assumeRoleWithSAML} service operation. This operation - * requires a `RoleArn` containing the ARN of the IAM trust policy for the - * application for which credentials will be given, as well as a `PrincipalArn` - * representing the ARN for the SAML identity provider. In addition, the - * `SAMLAssertion` must be set to the token provided by the identity - * provider. See {constructor} for an example on creating a credentials - * object with proper `RoleArn`, `PrincipalArn`, and `SAMLAssertion` values. - * - * ## Refreshing Credentials from Identity Service - * - * In addition to AWS credentials expiring after a given amount of time, the - * login token from the identity provider will also expire. Once this token - * expires, it will not be usable to refresh AWS credentials, and another - * token will be needed. The SDK does not manage refreshing of the token value, - * but this can be done through a "refresh token" supported by most identity - * providers. Consult the documentation for the identity provider for refreshing - * tokens. Once the refreshed token is acquired, you should make sure to update - * this new token in the credentials object's {params} property. The following - * code will update the SAMLAssertion, assuming you have retrieved an updated - * token from the identity provider: - * - * ```javascript - * AWS.config.credentials.params.SAMLAssertion = updatedToken; - * ``` - * - * Future calls to `credentials.refresh()` will now use the new token. - * - * @!attribute params - * @return [map] the map of params passed to - * {AWS.STS.assumeRoleWithSAML}. To update the token, set the - * `params.SAMLAssertion` property. - */ - AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new credentials object. - * @param (see AWS.STS.assumeRoleWithSAML) - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.SAMLCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/SAMLRole', - * PrincipalArn: 'arn:aws:iam::1234567890:role/SAMLPrincipal', - * SAMLAssertion: 'base64-token', // base64-encoded token from IdP - * }); - * @see AWS.STS.assumeRoleWithSAML - */ - constructor: function SAMLCredentials(params) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRoleWithSAML} - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - var self = this; - self.createClients(); - if (!callback) callback = function(err) { if (err) throw err; }; - - self.service.assumeRoleWithSAML(function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }, - - /** - * @api private - */ - createClients: function() { - this.service = this.service || new STS({params: this.params}); - } - - }); - - -/***/ }), -/* 198 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var inherit = AWS.util.inherit; - - /** - * The endpoint that a service will talk to, for example, - * `'https://ec2.ap-southeast-1.amazonaws.com'`. If - * you need to override an endpoint for a service, you can - * set the endpoint on a service by passing the endpoint - * object with the `endpoint` option key: - * - * ```javascript - * var ep = new AWS.Endpoint('awsproxy.example.com'); - * var s3 = new AWS.S3({endpoint: ep}); - * s3.service.endpoint.hostname == 'awsproxy.example.com' - * ``` - * - * Note that if you do not specify a protocol, the protocol will - * be selected based on your current {AWS.config} configuration. - * - * @!attribute protocol - * @return [String] the protocol (http or https) of the endpoint - * URL - * @!attribute hostname - * @return [String] the host portion of the endpoint, e.g., - * example.com - * @!attribute host - * @return [String] the host portion of the endpoint including - * the port, e.g., example.com:80 - * @!attribute port - * @return [Integer] the port of the endpoint - * @!attribute href - * @return [String] the full URL of the endpoint - */ - AWS.Endpoint = inherit({ - - /** - * @overload Endpoint(endpoint) - * Constructs a new endpoint given an endpoint URL. If the - * URL omits a protocol (http or https), the default protocol - * set in the global {AWS.config} will be used. - * @param endpoint [String] the URL to construct an endpoint from - */ - constructor: function Endpoint(endpoint, config) { - AWS.util.hideProperties(this, ['slashes', 'auth', 'hash', 'search', 'query']); - - if (typeof endpoint === 'undefined' || endpoint === null) { - throw new Error('Invalid endpoint: ' + endpoint); - } else if (typeof endpoint !== 'string') { - return AWS.util.copy(endpoint); - } - - if (!endpoint.match(/^http/)) { - var useSSL = config && config.sslEnabled !== undefined ? - config.sslEnabled : AWS.config.sslEnabled; - endpoint = (useSSL ? 'https' : 'http') + '://' + endpoint; - } - - AWS.util.update(this, AWS.util.urlParse(endpoint)); - - // Ensure the port property is set as an integer - if (this.port) { - this.port = parseInt(this.port, 10); - } else { - this.port = this.protocol === 'https:' ? 443 : 80; - } - } - - }); - - /** - * The low level HTTP request object, encapsulating all HTTP header - * and body data sent by a service request. - * - * @!attribute method - * @return [String] the HTTP method of the request - * @!attribute path - * @return [String] the path portion of the URI, e.g., - * "/list/?start=5&num=10" - * @!attribute headers - * @return [map] - * a map of header keys and their respective values - * @!attribute body - * @return [String] the request body payload - * @!attribute endpoint - * @return [AWS.Endpoint] the endpoint for the request - * @!attribute region - * @api private - * @return [String] the region, for signing purposes only. - */ - AWS.HttpRequest = inherit({ - - /** - * @api private - */ - constructor: function HttpRequest(endpoint, region) { - endpoint = new AWS.Endpoint(endpoint); - this.method = 'POST'; - this.path = endpoint.path || '/'; - this.headers = {}; - this.body = ''; - this.endpoint = endpoint; - this.region = region; - this._userAgent = ''; - this.setUserAgent(); - }, - - /** - * @api private - */ - setUserAgent: function setUserAgent() { - this._userAgent = this.headers[this.getUserAgentHeaderName()] = AWS.util.userAgent(); - }, - - getUserAgentHeaderName: function getUserAgentHeaderName() { - var prefix = AWS.util.isBrowser() ? 'X-Amz-' : ''; - return prefix + 'User-Agent'; - }, - - /** - * @api private - */ - appendToUserAgent: function appendToUserAgent(agentPartial) { - if (typeof agentPartial === 'string' && agentPartial) { - this._userAgent += ' ' + agentPartial; - } - this.headers[this.getUserAgentHeaderName()] = this._userAgent; - }, - - /** - * @api private - */ - getUserAgent: function getUserAgent() { - return this._userAgent; - }, - - /** - * @return [String] the part of the {path} excluding the - * query string - */ - pathname: function pathname() { - return this.path.split('?', 1)[0]; - }, - - /** - * @return [String] the query string portion of the {path} - */ - search: function search() { - var query = this.path.split('?', 2)[1]; - if (query) { - query = AWS.util.queryStringParse(query); - return AWS.util.queryParamsToString(query); - } - return ''; - } - - }); - - /** - * The low level HTTP response object, encapsulating all HTTP header - * and body data returned from the request. - * - * @!attribute statusCode - * @return [Integer] the HTTP status code of the response (e.g., 200, 404) - * @!attribute headers - * @return [map] - * a map of response header keys and their respective values - * @!attribute body - * @return [String] the response body payload - * @!attribute [r] streaming - * @return [Boolean] whether this response is being streamed at a low-level. - * Defaults to `false` (buffered reads). Do not modify this manually, use - * {createUnbufferedStream} to convert the stream to unbuffered mode - * instead. - */ - AWS.HttpResponse = inherit({ - - /** - * @api private - */ - constructor: function HttpResponse() { - this.statusCode = undefined; - this.headers = {}; - this.body = undefined; - this.streaming = false; - this.stream = null; - }, - - /** - * Disables buffering on the HTTP response and returns the stream for reading. - * @return [Stream, XMLHttpRequest, null] the underlying stream object. - * Use this object to directly read data off of the stream. - * @note This object is only available after the {AWS.Request~httpHeaders} - * event has fired. This method must be called prior to - * {AWS.Request~httpData}. - * @example Taking control of a stream - * request.on('httpHeaders', function(statusCode, headers) { - * if (statusCode < 300) { - * if (headers.etag === 'xyz') { - * // pipe the stream, disabling buffering - * var stream = this.response.httpResponse.createUnbufferedStream(); - * stream.pipe(process.stdout); - * } else { // abort this request and set a better error message - * this.abort(); - * this.response.error = new Error('Invalid ETag'); - * } - * } - * }).send(console.log); - */ - createUnbufferedStream: function createUnbufferedStream() { - this.streaming = true; - return this.stream; - } - }); - - - AWS.HttpClient = inherit({}); - - /** - * @api private - */ - AWS.HttpClient.getInstance = function getInstance() { - if (this.singleton === undefined) { - this.singleton = new this(); - } - return this.singleton; - }; - - -/***/ }), -/* 199 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - - /** - * @api private - * @!method on(eventName, callback) - * Registers an event listener callback for the event given by `eventName`. - * Parameters passed to the callback function depend on the individual event - * being triggered. See the event documentation for those parameters. - * - * @param eventName [String] the event name to register the listener for - * @param callback [Function] the listener callback function - * @return [AWS.SequentialExecutor] the same object for chaining - */ - AWS.SequentialExecutor = AWS.util.inherit({ - - constructor: function SequentialExecutor() { - this._events = {}; - }, - - /** - * @api private - */ - listeners: function listeners(eventName) { - return this._events[eventName] ? this._events[eventName].slice(0) : []; - }, - - on: function on(eventName, listener) { - if (this._events[eventName]) { - this._events[eventName].push(listener); - } else { - this._events[eventName] = [listener]; - } - return this; - }, - - /** - * @api private - */ - onAsync: function onAsync(eventName, listener) { - listener._isAsync = true; - return this.on(eventName, listener); - }, - - removeListener: function removeListener(eventName, listener) { - var listeners = this._events[eventName]; - if (listeners) { - var length = listeners.length; - var position = -1; - for (var i = 0; i < length; ++i) { - if (listeners[i] === listener) { - position = i; - } - } - if (position > -1) { - listeners.splice(position, 1); - } - } - return this; - }, - - removeAllListeners: function removeAllListeners(eventName) { - if (eventName) { - delete this._events[eventName]; - } else { - this._events = {}; - } - return this; - }, - - /** - * @api private - */ - emit: function emit(eventName, eventArgs, doneCallback) { - if (!doneCallback) doneCallback = function() { }; - var listeners = this.listeners(eventName); - var count = listeners.length; - this.callListeners(listeners, eventArgs, doneCallback); - return count > 0; - }, - - /** - * @api private - */ - callListeners: function callListeners(listeners, args, doneCallback, prevError) { - var self = this; - var error = prevError || null; - - function callNextListener(err) { - if (err) { - error = AWS.util.error(error || new Error(), err); - if (self._haltHandlersOnError) { - return doneCallback.call(self, error); - } - } - self.callListeners(listeners, args, doneCallback, error); - } - - while (listeners.length > 0) { - var listener = listeners.shift(); - if (listener._isAsync) { // asynchronous listener - listener.apply(self, args.concat([callNextListener])); - return; // stop here, callNextListener will continue - } else { // synchronous listener - try { - listener.apply(self, args); - } catch (err) { - error = AWS.util.error(error || new Error(), err); - } - if (error && self._haltHandlersOnError) { - doneCallback.call(self, error); - return; - } - } - } - doneCallback.call(self, error); - }, - - /** - * Adds or copies a set of listeners from another list of - * listeners or SequentialExecutor object. - * - * @param listeners [map>, AWS.SequentialExecutor] - * a list of events and callbacks, or an event emitter object - * containing listeners to add to this emitter object. - * @return [AWS.SequentialExecutor] the emitter object, for chaining. - * @example Adding listeners from a map of listeners - * emitter.addListeners({ - * event1: [function() { ... }, function() { ... }], - * event2: [function() { ... }] - * }); - * emitter.emit('event1'); // emitter has event1 - * emitter.emit('event2'); // emitter has event2 - * @example Adding listeners from another emitter object - * var emitter1 = new AWS.SequentialExecutor(); - * emitter1.on('event1', function() { ... }); - * emitter1.on('event2', function() { ... }); - * var emitter2 = new AWS.SequentialExecutor(); - * emitter2.addListeners(emitter1); - * emitter2.emit('event1'); // emitter2 has event1 - * emitter2.emit('event2'); // emitter2 has event2 - */ - addListeners: function addListeners(listeners) { - var self = this; - - // extract listeners if parameter is an SequentialExecutor object - if (listeners._events) listeners = listeners._events; - - AWS.util.each(listeners, function(event, callbacks) { - if (typeof callbacks === 'function') callbacks = [callbacks]; - AWS.util.arrayEach(callbacks, function(callback) { - self.on(event, callback); - }); - }); - - return self; - }, - - /** - * Registers an event with {on} and saves the callback handle function - * as a property on the emitter object using a given `name`. - * - * @param name [String] the property name to set on this object containing - * the callback function handle so that the listener can be removed in - * the future. - * @param (see on) - * @return (see on) - * @example Adding a named listener DATA_CALLBACK - * var listener = function() { doSomething(); }; - * emitter.addNamedListener('DATA_CALLBACK', 'data', listener); - * - * // the following prints: true - * console.log(emitter.DATA_CALLBACK == listener); - */ - addNamedListener: function addNamedListener(name, eventName, callback) { - this[name] = callback; - this.addListener(eventName, callback); - return this; - }, - - /** - * @api private - */ - addNamedAsyncListener: function addNamedAsyncListener(name, eventName, callback) { - callback._isAsync = true; - return this.addNamedListener(name, eventName, callback); - }, - - /** - * Helper method to add a set of named listeners using - * {addNamedListener}. The callback contains a parameter - * with a handle to the `addNamedListener` method. - * - * @callback callback function(add) - * The callback function is called immediately in order to provide - * the `add` function to the block. This simplifies the addition of - * a large group of named listeners. - * @param add [Function] the {addNamedListener} function to call - * when registering listeners. - * @example Adding a set of named listeners - * emitter.addNamedListeners(function(add) { - * add('DATA_CALLBACK', 'data', function() { ... }); - * add('OTHER', 'otherEvent', function() { ... }); - * add('LAST', 'lastEvent', function() { ... }); - * }); - * - * // these properties are now set: - * emitter.DATA_CALLBACK; - * emitter.OTHER; - * emitter.LAST; - */ - addNamedListeners: function addNamedListeners(callback) { - var self = this; - callback( - function() { - self.addNamedListener.apply(self, arguments); - }, - function() { - self.addNamedAsyncListener.apply(self, arguments); - } - ); - return this; - } - }); - - /** - * {on} is the prefered method. - * @api private - */ - AWS.SequentialExecutor.prototype.addListener = AWS.SequentialExecutor.prototype.on; - - module.exports = AWS.SequentialExecutor; - - -/***/ }), -/* 200 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var SequentialExecutor = __webpack_require__(199); - /** - * The namespace used to register global event listeners for request building - * and sending. - */ - AWS.EventListeners = { - /** - * @!attribute VALIDATE_CREDENTIALS - * A request listener that validates whether the request is being - * sent with credentials. - * Handles the {AWS.Request~validate 'validate' Request event} - * @example Sending a request without validating credentials - * var listener = AWS.EventListeners.Core.VALIDATE_CREDENTIALS; - * request.removeListener('validate', listener); - * @readonly - * @return [Function] - * @!attribute VALIDATE_REGION - * A request listener that validates whether the region is set - * for a request. - * Handles the {AWS.Request~validate 'validate' Request event} - * @example Sending a request without validating region configuration - * var listener = AWS.EventListeners.Core.VALIDATE_REGION; - * request.removeListener('validate', listener); - * @readonly - * @return [Function] - * @!attribute VALIDATE_PARAMETERS - * A request listener that validates input parameters in a request. - * Handles the {AWS.Request~validate 'validate' Request event} - * @example Sending a request without validating parameters - * var listener = AWS.EventListeners.Core.VALIDATE_PARAMETERS; - * request.removeListener('validate', listener); - * @example Disable parameter validation globally - * AWS.EventListeners.Core.removeListener('validate', - * AWS.EventListeners.Core.VALIDATE_REGION); - * @readonly - * @return [Function] - * @!attribute SEND - * A request listener that initiates the HTTP connection for a - * request being sent. Handles the {AWS.Request~send 'send' Request event} - * @example Replacing the HTTP handler - * var listener = AWS.EventListeners.Core.SEND; - * request.removeListener('send', listener); - * request.on('send', function(response) { - * customHandler.send(response); - * }); - * @return [Function] - * @readonly - * @!attribute HTTP_DATA - * A request listener that reads data from the HTTP connection in order - * to build the response data. - * Handles the {AWS.Request~httpData 'httpData' Request event}. - * Remove this handler if you are overriding the 'httpData' event and - * do not want extra data processing and buffering overhead. - * @example Disabling default data processing - * var listener = AWS.EventListeners.Core.HTTP_DATA; - * request.removeListener('httpData', listener); - * @return [Function] - * @readonly - */ - Core: {} /* doc hack */ - }; - - /** - * @api private - */ - function getOperationAuthtype(req) { - if (!req.service.api.operations) { - return ''; - } - var operation = req.service.api.operations[req.operation]; - return operation ? operation.authtype : ''; - } - - AWS.EventListeners = { - Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) { - addAsync('VALIDATE_CREDENTIALS', 'validate', - function VALIDATE_CREDENTIALS(req, done) { - if (!req.service.api.signatureVersion) return done(); // none - req.service.config.getCredentials(function(err) { - if (err) { - req.response.error = AWS.util.error(err, - {code: 'CredentialsError', message: 'Missing credentials in config'}); - } - done(); - }); - }); - - add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) { - if (!req.service.config.region && !req.service.isGlobalEndpoint) { - req.response.error = AWS.util.error(new Error(), - {code: 'ConfigError', message: 'Missing region in config'}); - } - }); - - add('BUILD_IDEMPOTENCY_TOKENS', 'validate', function BUILD_IDEMPOTENCY_TOKENS(req) { - if (!req.service.api.operations) { - return; - } - var operation = req.service.api.operations[req.operation]; - if (!operation) { - return; - } - var idempotentMembers = operation.idempotentMembers; - if (!idempotentMembers.length) { - return; - } - // creates a copy of params so user's param object isn't mutated - var params = AWS.util.copy(req.params); - for (var i = 0, iLen = idempotentMembers.length; i < iLen; i++) { - if (!params[idempotentMembers[i]]) { - // add the member - params[idempotentMembers[i]] = AWS.util.uuid.v4(); - } - } - req.params = params; - }); - - add('VALIDATE_PARAMETERS', 'validate', function VALIDATE_PARAMETERS(req) { - if (!req.service.api.operations) { - return; - } - var rules = req.service.api.operations[req.operation].input; - var validation = req.service.config.paramValidation; - new AWS.ParamValidator(validation).validate(rules, req.params); - }); - - addAsync('COMPUTE_SHA256', 'afterBuild', function COMPUTE_SHA256(req, done) { - req.haltHandlersOnError(); - if (!req.service.api.operations) { - return; - } - var operation = req.service.api.operations[req.operation]; - var authtype = operation ? operation.authtype : ''; - if (!req.service.api.signatureVersion && !authtype) return done(); // none - if (req.service.getSignerClass(req) === AWS.Signers.V4) { - var body = req.httpRequest.body || ''; - if (authtype.indexOf('unsigned-body') >= 0) { - req.httpRequest.headers['X-Amz-Content-Sha256'] = 'UNSIGNED-PAYLOAD'; - return done(); - } - AWS.util.computeSha256(body, function(err, sha) { - if (err) { - done(err); - } - else { - req.httpRequest.headers['X-Amz-Content-Sha256'] = sha; - done(); - } - }); - } else { - done(); - } - }); - - add('SET_CONTENT_LENGTH', 'afterBuild', function SET_CONTENT_LENGTH(req) { - var authtype = getOperationAuthtype(req); - if (req.httpRequest.headers['Content-Length'] === undefined - && authtype.indexOf('unsigned-body') === -1) { - var length = AWS.util.string.byteLength(req.httpRequest.body); - req.httpRequest.headers['Content-Length'] = length; - } - }); - - add('SET_HTTP_HOST', 'afterBuild', function SET_HTTP_HOST(req) { - req.httpRequest.headers['Host'] = req.httpRequest.endpoint.host; - }); - - add('RESTART', 'restart', function RESTART() { - var err = this.response.error; - if (!err || !err.retryable) return; - - this.httpRequest = new AWS.HttpRequest( - this.service.endpoint, - this.service.region - ); - - if (this.response.retryCount < this.service.config.maxRetries) { - this.response.retryCount++; - } else { - this.response.error = null; - } - }); - - addAsync('SIGN', 'sign', function SIGN(req, done) { - var service = req.service; - var operations = req.service.api.operations || {}; - var operation = operations[req.operation]; - var authtype = operation ? operation.authtype : ''; - if (!service.api.signatureVersion && !authtype) return done(); // none - - service.config.getCredentials(function (err, credentials) { - if (err) { - req.response.error = err; - return done(); - } - - try { - var date = AWS.util.date.getDate(); - var SignerClass = service.getSignerClass(req); - var signer = new SignerClass(req.httpRequest, - service.api.signingName || service.api.endpointPrefix, - { - signatureCache: service.config.signatureCache, - operation: operation - }); - signer.setServiceClientId(service._clientId); - - // clear old authorization headers - delete req.httpRequest.headers['Authorization']; - delete req.httpRequest.headers['Date']; - delete req.httpRequest.headers['X-Amz-Date']; - - // add new authorization - signer.addAuthorization(credentials, date); - req.signedAt = date; - } catch (e) { - req.response.error = e; - } - done(); - }); - }); - - add('VALIDATE_RESPONSE', 'validateResponse', function VALIDATE_RESPONSE(resp) { - if (this.service.successfulResponse(resp, this)) { - resp.data = {}; - resp.error = null; - } else { - resp.data = null; - resp.error = AWS.util.error(new Error(), - {code: 'UnknownError', message: 'An unknown error occurred.'}); - } - }); - - addAsync('SEND', 'send', function SEND(resp, done) { - resp.httpResponse._abortCallback = done; - resp.error = null; - resp.data = null; - - function callback(httpResp) { - resp.httpResponse.stream = httpResp; - var stream = resp.request.httpRequest.stream; - - httpResp.on('headers', function onHeaders(statusCode, headers, statusMessage) { - resp.request.emit( - 'httpHeaders', - [statusCode, headers, resp, statusMessage] - ); - - if (!resp.httpResponse.streaming) { - if (AWS.HttpClient.streamsApiVersion === 2) { // streams2 API check - httpResp.on('readable', function onReadable() { - var data = httpResp.read(); - if (data !== null) { - resp.request.emit('httpData', [data, resp]); - } - }); - } else { // legacy streams API - httpResp.on('data', function onData(data) { - resp.request.emit('httpData', [data, resp]); - }); - } - } - }); - - httpResp.on('end', function onEnd() { - if (!stream || !stream.didCallback) { - resp.request.emit('httpDone'); - done(); - } - }); - } - - function progress(httpResp) { - httpResp.on('sendProgress', function onSendProgress(value) { - resp.request.emit('httpUploadProgress', [value, resp]); - }); - - httpResp.on('receiveProgress', function onReceiveProgress(value) { - resp.request.emit('httpDownloadProgress', [value, resp]); - }); - } - - function error(err) { - resp.error = AWS.util.error(err, { - code: 'NetworkingError', - region: resp.request.httpRequest.region, - hostname: resp.request.httpRequest.endpoint.hostname, - retryable: true - }); - resp.request.emit('httpError', [resp.error, resp], function() { - done(); - }); - } - - function executeSend() { - var http = AWS.HttpClient.getInstance(); - var httpOptions = resp.request.service.config.httpOptions || {}; - try { - var stream = http.handleRequest(resp.request.httpRequest, httpOptions, - callback, error); - progress(stream); - } catch (err) { - error(err); - } - } - - var timeDiff = (AWS.util.date.getDate() - this.signedAt) / 1000; - if (timeDiff >= 60 * 10) { // if we signed 10min ago, re-sign - this.emit('sign', [this], function(err) { - if (err) done(err); - else executeSend(); - }); - } else { - executeSend(); - } - }); - - add('HTTP_HEADERS', 'httpHeaders', - function HTTP_HEADERS(statusCode, headers, resp, statusMessage) { - resp.httpResponse.statusCode = statusCode; - resp.httpResponse.statusMessage = statusMessage; - resp.httpResponse.headers = headers; - resp.httpResponse.body = new AWS.util.Buffer(''); - resp.httpResponse.buffers = []; - resp.httpResponse.numBytes = 0; - var dateHeader = headers.date || headers.Date; - if (dateHeader) { - var serverTime = Date.parse(dateHeader); - if (resp.request.service.config.correctClockSkew - && AWS.util.isClockSkewed(serverTime)) { - AWS.util.applyClockOffset(serverTime); - } - } - }); - - add('HTTP_DATA', 'httpData', function HTTP_DATA(chunk, resp) { - if (chunk) { - if (AWS.util.isNode()) { - resp.httpResponse.numBytes += chunk.length; - - var total = resp.httpResponse.headers['content-length']; - var progress = { loaded: resp.httpResponse.numBytes, total: total }; - resp.request.emit('httpDownloadProgress', [progress, resp]); - } - - resp.httpResponse.buffers.push(new AWS.util.Buffer(chunk)); - } - }); - - add('HTTP_DONE', 'httpDone', function HTTP_DONE(resp) { - // convert buffers array into single buffer - if (resp.httpResponse.buffers && resp.httpResponse.buffers.length > 0) { - var body = AWS.util.buffer.concat(resp.httpResponse.buffers); - resp.httpResponse.body = body; - } - delete resp.httpResponse.numBytes; - delete resp.httpResponse.buffers; - }); - - add('FINALIZE_ERROR', 'retry', function FINALIZE_ERROR(resp) { - if (resp.httpResponse.statusCode) { - resp.error.statusCode = resp.httpResponse.statusCode; - if (resp.error.retryable === undefined) { - resp.error.retryable = this.service.retryableError(resp.error, this); - } - } - }); - - add('INVALIDATE_CREDENTIALS', 'retry', function INVALIDATE_CREDENTIALS(resp) { - if (!resp.error) return; - switch (resp.error.code) { - case 'RequestExpired': // EC2 only - case 'ExpiredTokenException': - case 'ExpiredToken': - resp.error.retryable = true; - resp.request.service.config.credentials.expired = true; - } - }); - - add('EXPIRED_SIGNATURE', 'retry', function EXPIRED_SIGNATURE(resp) { - var err = resp.error; - if (!err) return; - if (typeof err.code === 'string' && typeof err.message === 'string') { - if (err.code.match(/Signature/) && err.message.match(/expired/)) { - resp.error.retryable = true; - } - } - }); - - add('CLOCK_SKEWED', 'retry', function CLOCK_SKEWED(resp) { - if (!resp.error) return; - if (this.service.clockSkewError(resp.error) - && this.service.config.correctClockSkew - && AWS.config.isClockSkewed) { - resp.error.retryable = true; - } - }); - - add('REDIRECT', 'retry', function REDIRECT(resp) { - if (resp.error && resp.error.statusCode >= 300 && - resp.error.statusCode < 400 && resp.httpResponse.headers['location']) { - this.httpRequest.endpoint = - new AWS.Endpoint(resp.httpResponse.headers['location']); - this.httpRequest.headers['Host'] = this.httpRequest.endpoint.host; - resp.error.redirect = true; - resp.error.retryable = true; - } - }); - - add('RETRY_CHECK', 'retry', function RETRY_CHECK(resp) { - if (resp.error) { - if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) { - resp.error.retryDelay = 0; - } else if (resp.retryCount < resp.maxRetries) { - resp.error.retryDelay = this.service.retryDelays(resp.retryCount) || 0; - } - } - }); - - addAsync('RESET_RETRY_STATE', 'afterRetry', function RESET_RETRY_STATE(resp, done) { - var delay, willRetry = false; - - if (resp.error) { - delay = resp.error.retryDelay || 0; - if (resp.error.retryable && resp.retryCount < resp.maxRetries) { - resp.retryCount++; - willRetry = true; - } else if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) { - resp.redirectCount++; - willRetry = true; - } - } - - if (willRetry) { - resp.error = null; - setTimeout(done, delay); - } else { - done(); - } - }); - }), - - CorePost: new SequentialExecutor().addNamedListeners(function(add) { - add('EXTRACT_REQUEST_ID', 'extractData', AWS.util.extractRequestId); - add('EXTRACT_REQUEST_ID', 'extractError', AWS.util.extractRequestId); - - add('ENOTFOUND_ERROR', 'httpError', function ENOTFOUND_ERROR(err) { - if (err.code === 'NetworkingError' && err.errno === 'ENOTFOUND') { - var message = 'Inaccessible host: `' + err.hostname + - '\'. This service may not be available in the `' + err.region + - '\' region.'; - this.response.error = AWS.util.error(new Error(message), { - code: 'UnknownEndpoint', - region: err.region, - hostname: err.hostname, - retryable: true, - originalError: err - }); - } - }); - }), - - Logger: new SequentialExecutor().addNamedListeners(function(add) { - add('LOG_REQUEST', 'complete', function LOG_REQUEST(resp) { - var req = resp.request; - var logger = req.service.config.logger; - if (!logger) return; - - function buildMessage() { - var time = AWS.util.date.getDate().getTime(); - var delta = (time - req.startTime.getTime()) / 1000; - var ansi = logger.isTTY ? true : false; - var status = resp.httpResponse.statusCode; - var params = __webpack_require__(201).inspect(req.params, true, null); - - var message = ''; - if (ansi) message += '\x1B[33m'; - message += '[AWS ' + req.service.serviceIdentifier + ' ' + status; - message += ' ' + delta.toString() + 's ' + resp.retryCount + ' retries]'; - if (ansi) message += '\x1B[0;1m'; - message += ' ' + AWS.util.string.lowerFirst(req.operation); - message += '(' + params + ')'; - if (ansi) message += '\x1B[0m'; - return message; - } - - var line = buildMessage(); - if (typeof logger.log === 'function') { - logger.log(line); - } else if (typeof logger.write === 'function') { - logger.write(line + '\n'); - } - }); - }), - - Json: new SequentialExecutor().addNamedListeners(function(add) { - var svc = __webpack_require__(6); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - Rest: new SequentialExecutor().addNamedListeners(function(add) { - var svc = __webpack_require__(13); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - RestJson: new SequentialExecutor().addNamedListeners(function(add) { - var svc = __webpack_require__(14); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - RestXml: new SequentialExecutor().addNamedListeners(function(add) { - var svc = __webpack_require__(15); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - Query: new SequentialExecutor().addNamedListeners(function(add) { - var svc = __webpack_require__(9); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }) - }; - - -/***/ }), -/* 201 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors. - // - // Permission is hereby granted, free of charge, to any person obtaining a - // copy of this software and associated documentation files (the - // "Software"), to deal in the Software without restriction, including - // without limitation the rights to use, copy, modify, merge, publish, - // distribute, sublicense, and/or sell copies of the Software, and to permit - // persons to whom the Software is furnished to do so, subject to the - // following conditions: - // - // The above copyright notice and this permission notice shall be included - // in all copies or substantial portions of the Software. - // - // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - // USE OR OTHER DEALINGS IN THE SOFTWARE. - - var formatRegExp = /%[sdj%]/g; - exports.format = function(f) { - if (!isString(f)) { - var objects = []; - for (var i = 0; i < arguments.length; i++) { - objects.push(inspect(arguments[i])); - } - return objects.join(' '); - } - - var i = 1; - var args = arguments; - var len = args.length; - var str = String(f).replace(formatRegExp, function(x) { - if (x === '%%') return '%'; - if (i >= len) return x; - switch (x) { - case '%s': return String(args[i++]); - case '%d': return Number(args[i++]); - case '%j': - try { - return JSON.stringify(args[i++]); - } catch (_) { - return '[Circular]'; - } - default: - return x; - } - }); - for (var x = args[i]; i < len; x = args[++i]) { - if (isNull(x) || !isObject(x)) { - str += ' ' + x; - } else { - str += ' ' + inspect(x); - } - } - return str; - }; - - - // Mark that a method should not be used. - // Returns a modified function which warns once by default. - // If --no-deprecation is set, then it is a no-op. - exports.deprecate = function(fn, msg) { - // Allow for deprecating things in the process of starting up. - if (isUndefined(global.process)) { - return function() { - return exports.deprecate(fn, msg).apply(this, arguments); - }; - } - - if (process.noDeprecation === true) { - return fn; - } - - var warned = false; - function deprecated() { - if (!warned) { - if (process.throwDeprecation) { - throw new Error(msg); - } else if (process.traceDeprecation) { - console.trace(msg); - } else { - console.error(msg); - } - warned = true; - } - return fn.apply(this, arguments); - } - - return deprecated; - }; - - - var debugs = {}; - var debugEnviron; - exports.debuglog = function(set) { - if (isUndefined(debugEnviron)) - debugEnviron = process.env.NODE_DEBUG || ''; - set = set.toUpperCase(); - if (!debugs[set]) { - if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { - var pid = process.pid; - debugs[set] = function() { - var msg = exports.format.apply(exports, arguments); - console.error('%s %d: %s', set, pid, msg); - }; - } else { - debugs[set] = function() {}; - } - } - return debugs[set]; - }; - - - /** - * Echos the value of a value. Trys to print the value out - * in the best way possible given the different types. - * - * @param {Object} obj The object to print out. - * @param {Object} opts Optional options object that alters the output. - */ - /* legacy: obj, showHidden, depth, colors*/ - function inspect(obj, opts) { - // default options - var ctx = { - seen: [], - stylize: stylizeNoColor - }; - // legacy... - if (arguments.length >= 3) ctx.depth = arguments[2]; - if (arguments.length >= 4) ctx.colors = arguments[3]; - if (isBoolean(opts)) { - // legacy... - ctx.showHidden = opts; - } else if (opts) { - // got an "options" object - exports._extend(ctx, opts); - } - // set default options - if (isUndefined(ctx.showHidden)) ctx.showHidden = false; - if (isUndefined(ctx.depth)) ctx.depth = 2; - if (isUndefined(ctx.colors)) ctx.colors = false; - if (isUndefined(ctx.customInspect)) ctx.customInspect = true; - if (ctx.colors) ctx.stylize = stylizeWithColor; - return formatValue(ctx, obj, ctx.depth); - } - exports.inspect = inspect; - - - // http://en.wikipedia.org/wiki/ANSI_escape_code#graphics - inspect.colors = { - 'bold' : [1, 22], - 'italic' : [3, 23], - 'underline' : [4, 24], - 'inverse' : [7, 27], - 'white' : [37, 39], - 'grey' : [90, 39], - 'black' : [30, 39], - 'blue' : [34, 39], - 'cyan' : [36, 39], - 'green' : [32, 39], - 'magenta' : [35, 39], - 'red' : [31, 39], - 'yellow' : [33, 39] - }; - - // Don't use 'blue' not visible on cmd.exe - inspect.styles = { - 'special': 'cyan', - 'number': 'yellow', - 'boolean': 'yellow', - 'undefined': 'grey', - 'null': 'bold', - 'string': 'green', - 'date': 'magenta', - // "name": intentionally not styling - 'regexp': 'red' - }; - - - function stylizeWithColor(str, styleType) { - var style = inspect.styles[styleType]; - - if (style) { - return '\u001b[' + inspect.colors[style][0] + 'm' + str + - '\u001b[' + inspect.colors[style][1] + 'm'; - } else { - return str; - } - } - - - function stylizeNoColor(str, styleType) { - return str; - } - - - function arrayToHash(array) { - var hash = {}; - - array.forEach(function(val, idx) { - hash[val] = true; - }); - - return hash; - } - - - function formatValue(ctx, value, recurseTimes) { - // Provide a hook for user-specified inspect functions. - // Check that value is an object with an inspect function on it - if (ctx.customInspect && - value && - isFunction(value.inspect) && - // Filter out the util module, it's inspect function is special - value.inspect !== exports.inspect && - // Also filter out any prototype objects using the circular check. - !(value.constructor && value.constructor.prototype === value)) { - var ret = value.inspect(recurseTimes, ctx); - if (!isString(ret)) { - ret = formatValue(ctx, ret, recurseTimes); - } - return ret; - } - - // Primitive types cannot have properties - var primitive = formatPrimitive(ctx, value); - if (primitive) { - return primitive; - } - - // Look up the keys of the object. - var keys = Object.keys(value); - var visibleKeys = arrayToHash(keys); - - if (ctx.showHidden) { - keys = Object.getOwnPropertyNames(value); - } - - // IE doesn't make error fields non-enumerable - // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx - if (isError(value) - && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { - return formatError(value); - } - - // Some type of object without properties can be shortcutted. - if (keys.length === 0) { - if (isFunction(value)) { - var name = value.name ? ': ' + value.name : ''; - return ctx.stylize('[Function' + name + ']', 'special'); - } - if (isRegExp(value)) { - return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); - } - if (isDate(value)) { - return ctx.stylize(Date.prototype.toString.call(value), 'date'); - } - if (isError(value)) { - return formatError(value); - } - } - - var base = '', array = false, braces = ['{', '}']; - - // Make Array say that they are Array - if (isArray(value)) { - array = true; - braces = ['[', ']']; - } - - // Make functions say that they are functions - if (isFunction(value)) { - var n = value.name ? ': ' + value.name : ''; - base = ' [Function' + n + ']'; - } - - // Make RegExps say that they are RegExps - if (isRegExp(value)) { - base = ' ' + RegExp.prototype.toString.call(value); - } - - // Make dates with properties first say the date - if (isDate(value)) { - base = ' ' + Date.prototype.toUTCString.call(value); - } - - // Make error with message first say the error - if (isError(value)) { - base = ' ' + formatError(value); - } - - if (keys.length === 0 && (!array || value.length == 0)) { - return braces[0] + base + braces[1]; - } - - if (recurseTimes < 0) { - if (isRegExp(value)) { - return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); - } else { - return ctx.stylize('[Object]', 'special'); - } - } - - ctx.seen.push(value); - - var output; - if (array) { - output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); - } else { - output = keys.map(function(key) { - return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); - }); - } - - ctx.seen.pop(); - - return reduceToSingleString(output, base, braces); - } - - - function formatPrimitive(ctx, value) { - if (isUndefined(value)) - return ctx.stylize('undefined', 'undefined'); - if (isString(value)) { - var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '') - .replace(/'/g, "\\'") - .replace(/\\"/g, '"') + '\''; - return ctx.stylize(simple, 'string'); - } - if (isNumber(value)) - return ctx.stylize('' + value, 'number'); - if (isBoolean(value)) - return ctx.stylize('' + value, 'boolean'); - // For some reason typeof null is "object", so special case here. - if (isNull(value)) - return ctx.stylize('null', 'null'); - } - - - function formatError(value) { - return '[' + Error.prototype.toString.call(value) + ']'; - } - - - function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { - var output = []; - for (var i = 0, l = value.length; i < l; ++i) { - if (hasOwnProperty(value, String(i))) { - output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, - String(i), true)); - } else { - output.push(''); - } - } - keys.forEach(function(key) { - if (!key.match(/^\d+$/)) { - output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, - key, true)); - } - }); - return output; - } - - - function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { - var name, str, desc; - desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] }; - if (desc.get) { - if (desc.set) { - str = ctx.stylize('[Getter/Setter]', 'special'); - } else { - str = ctx.stylize('[Getter]', 'special'); - } - } else { - if (desc.set) { - str = ctx.stylize('[Setter]', 'special'); - } - } - if (!hasOwnProperty(visibleKeys, key)) { - name = '[' + key + ']'; - } - if (!str) { - if (ctx.seen.indexOf(desc.value) < 0) { - if (isNull(recurseTimes)) { - str = formatValue(ctx, desc.value, null); - } else { - str = formatValue(ctx, desc.value, recurseTimes - 1); - } - if (str.indexOf('\n') > -1) { - if (array) { - str = str.split('\n').map(function(line) { - return ' ' + line; - }).join('\n').substr(2); - } else { - str = '\n' + str.split('\n').map(function(line) { - return ' ' + line; - }).join('\n'); - } - } - } else { - str = ctx.stylize('[Circular]', 'special'); - } - } - if (isUndefined(name)) { - if (array && key.match(/^\d+$/)) { - return str; - } - name = JSON.stringify('' + key); - if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { - name = name.substr(1, name.length - 2); - name = ctx.stylize(name, 'name'); - } else { - name = name.replace(/'/g, "\\'") - .replace(/\\"/g, '"') - .replace(/(^"|"$)/g, "'"); - name = ctx.stylize(name, 'string'); - } - } - - return name + ': ' + str; - } - - - function reduceToSingleString(output, base, braces) { - var numLinesEst = 0; - var length = output.reduce(function(prev, cur) { - numLinesEst++; - if (cur.indexOf('\n') >= 0) numLinesEst++; - return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; - }, 0); - - if (length > 60) { - return braces[0] + - (base === '' ? '' : base + '\n ') + - ' ' + - output.join(',\n ') + - ' ' + - braces[1]; - } - - return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; - } - - - // NOTE: These type checking functions intentionally don't use `instanceof` - // because it is fragile and can be easily faked with `Object.create()`. - function isArray(ar) { - return Array.isArray(ar); - } - exports.isArray = isArray; - - function isBoolean(arg) { - return typeof arg === 'boolean'; - } - exports.isBoolean = isBoolean; - - function isNull(arg) { - return arg === null; - } - exports.isNull = isNull; - - function isNullOrUndefined(arg) { - return arg == null; - } - exports.isNullOrUndefined = isNullOrUndefined; - - function isNumber(arg) { - return typeof arg === 'number'; - } - exports.isNumber = isNumber; - - function isString(arg) { - return typeof arg === 'string'; - } - exports.isString = isString; - - function isSymbol(arg) { - return typeof arg === 'symbol'; - } - exports.isSymbol = isSymbol; - - function isUndefined(arg) { - return arg === void 0; - } - exports.isUndefined = isUndefined; - - function isRegExp(re) { - return isObject(re) && objectToString(re) === '[object RegExp]'; - } - exports.isRegExp = isRegExp; - - function isObject(arg) { - return typeof arg === 'object' && arg !== null; - } - exports.isObject = isObject; - - function isDate(d) { - return isObject(d) && objectToString(d) === '[object Date]'; - } - exports.isDate = isDate; - - function isError(e) { - return isObject(e) && - (objectToString(e) === '[object Error]' || e instanceof Error); - } - exports.isError = isError; - - function isFunction(arg) { - return typeof arg === 'function'; - } - exports.isFunction = isFunction; - - function isPrimitive(arg) { - return arg === null || - typeof arg === 'boolean' || - typeof arg === 'number' || - typeof arg === 'string' || - typeof arg === 'symbol' || // ES6 symbol - typeof arg === 'undefined'; - } - exports.isPrimitive = isPrimitive; - - exports.isBuffer = __webpack_require__(202); - - function objectToString(o) { - return Object.prototype.toString.call(o); - } - - - function pad(n) { - return n < 10 ? '0' + n.toString(10) : n.toString(10); - } - - - var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', - 'Oct', 'Nov', 'Dec']; - - // 26 Feb 16:19:34 - function timestamp() { - var d = new Date(); - var time = [pad(d.getHours()), - pad(d.getMinutes()), - pad(d.getSeconds())].join(':'); - return [d.getDate(), months[d.getMonth()], time].join(' '); - } - - - // log is just a thin wrapper to console.log that prepends a timestamp - exports.log = function() { - console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments)); - }; - - - /** - * Inherit the prototype methods from one constructor into another. - * - * The Function.prototype.inherits from lang.js rewritten as a standalone - * function (not on Function.prototype). NOTE: If this file is to be loaded - * during bootstrapping this function needs to be rewritten using some native - * functions as prototype setup using normal JavaScript does not work as - * expected during bootstrapping (see mirror.js in r114903). - * - * @param {function} ctor Constructor function which needs to inherit the - * prototype. - * @param {function} superCtor Constructor function to inherit prototype from. - */ - exports.inherits = __webpack_require__(207); - - exports._extend = function(origin, add) { - // Don't do anything if add isn't an object - if (!add || !isObject(add)) return origin; - - var keys = Object.keys(add); - var i = keys.length; - while (i--) { - origin[keys[i]] = add[keys[i]]; - } - return origin; - }; - - function hasOwnProperty(obj, prop) { - return Object.prototype.hasOwnProperty.call(obj, prop); - } - - /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(3))) - -/***/ }), -/* 202 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) {module.exports = function isBuffer(arg) { - return arg instanceof Buffer; - } - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 203 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(global) {/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ - /* eslint-disable no-proto */ - - 'use strict' - - var base64 = __webpack_require__(204) - var ieee754 = __webpack_require__(205) - var isArray = __webpack_require__(206) - - exports.Buffer = Buffer - exports.SlowBuffer = SlowBuffer - exports.INSPECT_MAX_BYTES = 50 - - /** - * If `Buffer.TYPED_ARRAY_SUPPORT`: - * === true Use Uint8Array implementation (fastest) - * === false Use Object implementation (most compatible, even IE6) - * - * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, - * Opera 11.6+, iOS 4.2+. - * - * Due to various browser bugs, sometimes the Object implementation will be used even - * when the browser supports typed arrays. - * - * Note: - * - * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances, - * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438. - * - * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function. - * - * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of - * incorrect length in some situations. - - * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they - * get the Object implementation, which is slower but behaves correctly. - */ - Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined - ? global.TYPED_ARRAY_SUPPORT - : typedArraySupport() - - /* - * Export kMaxLength after typed array support is determined. - */ - exports.kMaxLength = kMaxLength() - - function typedArraySupport () { - try { - var arr = new Uint8Array(1) - arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }} - return arr.foo() === 42 && // typed array instances can be augmented - typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray` - arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray` - } catch (e) { - return false - } - } - - function kMaxLength () { - return Buffer.TYPED_ARRAY_SUPPORT - ? 0x7fffffff - : 0x3fffffff - } - - function createBuffer (that, length) { - if (kMaxLength() < length) { - throw new RangeError('Invalid typed array length') - } - if (Buffer.TYPED_ARRAY_SUPPORT) { - // Return an augmented `Uint8Array` instance, for best performance - that = new Uint8Array(length) - that.__proto__ = Buffer.prototype - } else { - // Fallback: Return an object instance of the Buffer class - if (that === null) { - that = new Buffer(length) - } - that.length = length - } - - return that - } - - /** - * The Buffer constructor returns instances of `Uint8Array` that have their - * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of - * `Uint8Array`, so the returned instances will have all the node `Buffer` methods - * and the `Uint8Array` methods. Square bracket notation works as expected -- it - * returns a single octet. - * - * The `Uint8Array` prototype remains unmodified. - */ - - function Buffer (arg, encodingOrOffset, length) { - if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) { - return new Buffer(arg, encodingOrOffset, length) - } - - // Common case. - if (typeof arg === 'number') { - if (typeof encodingOrOffset === 'string') { - throw new Error( - 'If encoding is specified then the first argument must be a string' - ) - } - return allocUnsafe(this, arg) - } - return from(this, arg, encodingOrOffset, length) - } - - Buffer.poolSize = 8192 // not used by this implementation - - // TODO: Legacy, not needed anymore. Remove in next major version. - Buffer._augment = function (arr) { - arr.__proto__ = Buffer.prototype - return arr - } - - function from (that, value, encodingOrOffset, length) { - if (typeof value === 'number') { - throw new TypeError('"value" argument must not be a number') - } - - if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { - return fromArrayBuffer(that, value, encodingOrOffset, length) - } - - if (typeof value === 'string') { - return fromString(that, value, encodingOrOffset) - } - - return fromObject(that, value) - } - - /** - * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError - * if value is a number. - * Buffer.from(str[, encoding]) - * Buffer.from(array) - * Buffer.from(buffer) - * Buffer.from(arrayBuffer[, byteOffset[, length]]) - **/ - Buffer.from = function (value, encodingOrOffset, length) { - return from(null, value, encodingOrOffset, length) - } - - if (Buffer.TYPED_ARRAY_SUPPORT) { - Buffer.prototype.__proto__ = Uint8Array.prototype - Buffer.__proto__ = Uint8Array - if (typeof Symbol !== 'undefined' && Symbol.species && - Buffer[Symbol.species] === Buffer) { - // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97 - Object.defineProperty(Buffer, Symbol.species, { - value: null, - configurable: true - }) - } - } - - function assertSize (size) { - if (typeof size !== 'number') { - throw new TypeError('"size" argument must be a number') - } else if (size < 0) { - throw new RangeError('"size" argument must not be negative') - } - } - - function alloc (that, size, fill, encoding) { - assertSize(size) - if (size <= 0) { - return createBuffer(that, size) - } - if (fill !== undefined) { - // Only pay attention to encoding if it's a string. This - // prevents accidentally sending in a number that would - // be interpretted as a start offset. - return typeof encoding === 'string' - ? createBuffer(that, size).fill(fill, encoding) - : createBuffer(that, size).fill(fill) - } - return createBuffer(that, size) - } - - /** - * Creates a new filled Buffer instance. - * alloc(size[, fill[, encoding]]) - **/ - Buffer.alloc = function (size, fill, encoding) { - return alloc(null, size, fill, encoding) - } - - function allocUnsafe (that, size) { - assertSize(size) - that = createBuffer(that, size < 0 ? 0 : checked(size) | 0) - if (!Buffer.TYPED_ARRAY_SUPPORT) { - for (var i = 0; i < size; ++i) { - that[i] = 0 - } - } - return that - } - - /** - * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. - * */ - Buffer.allocUnsafe = function (size) { - return allocUnsafe(null, size) - } - /** - * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. - */ - Buffer.allocUnsafeSlow = function (size) { - return allocUnsafe(null, size) - } - - function fromString (that, string, encoding) { - if (typeof encoding !== 'string' || encoding === '') { - encoding = 'utf8' - } - - if (!Buffer.isEncoding(encoding)) { - throw new TypeError('"encoding" must be a valid string encoding') - } - - var length = byteLength(string, encoding) | 0 - that = createBuffer(that, length) - - var actual = that.write(string, encoding) - - if (actual !== length) { - // Writing a hex string, for example, that contains invalid characters will - // cause everything after the first invalid character to be ignored. (e.g. - // 'abxxcd' will be treated as 'ab') - that = that.slice(0, actual) - } - - return that - } - - function fromArrayLike (that, array) { - var length = array.length < 0 ? 0 : checked(array.length) | 0 - that = createBuffer(that, length) - for (var i = 0; i < length; i += 1) { - that[i] = array[i] & 255 - } - return that - } - - function fromArrayBuffer (that, array, byteOffset, length) { - array.byteLength // this throws if `array` is not a valid ArrayBuffer - - if (byteOffset < 0 || array.byteLength < byteOffset) { - throw new RangeError('\'offset\' is out of bounds') - } - - if (array.byteLength < byteOffset + (length || 0)) { - throw new RangeError('\'length\' is out of bounds') - } - - if (byteOffset === undefined && length === undefined) { - array = new Uint8Array(array) - } else if (length === undefined) { - array = new Uint8Array(array, byteOffset) - } else { - array = new Uint8Array(array, byteOffset, length) - } - - if (Buffer.TYPED_ARRAY_SUPPORT) { - // Return an augmented `Uint8Array` instance, for best performance - that = array - that.__proto__ = Buffer.prototype - } else { - // Fallback: Return an object instance of the Buffer class - that = fromArrayLike(that, array) - } - return that - } - - function fromObject (that, obj) { - if (Buffer.isBuffer(obj)) { - var len = checked(obj.length) | 0 - that = createBuffer(that, len) - - if (that.length === 0) { - return that - } - - obj.copy(that, 0, 0, len) - return that - } - - if (obj) { - if ((typeof ArrayBuffer !== 'undefined' && - obj.buffer instanceof ArrayBuffer) || 'length' in obj) { - if (typeof obj.length !== 'number' || isnan(obj.length)) { - return createBuffer(that, 0) - } - return fromArrayLike(that, obj) - } - - if (obj.type === 'Buffer' && isArray(obj.data)) { - return fromArrayLike(that, obj.data) - } - } - - throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.') - } - - function checked (length) { - // Note: cannot use `length < kMaxLength()` here because that fails when - // length is NaN (which is otherwise coerced to zero.) - if (length >= kMaxLength()) { - throw new RangeError('Attempt to allocate Buffer larger than maximum ' + - 'size: 0x' + kMaxLength().toString(16) + ' bytes') - } - return length | 0 - } - - function SlowBuffer (length) { - if (+length != length) { // eslint-disable-line eqeqeq - length = 0 - } - return Buffer.alloc(+length) - } - - Buffer.isBuffer = function isBuffer (b) { - return !!(b != null && b._isBuffer) - } - - Buffer.compare = function compare (a, b) { - if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) { - throw new TypeError('Arguments must be Buffers') - } - - if (a === b) return 0 - - var x = a.length - var y = b.length - - for (var i = 0, len = Math.min(x, y); i < len; ++i) { - if (a[i] !== b[i]) { - x = a[i] - y = b[i] - break - } - } - - if (x < y) return -1 - if (y < x) return 1 - return 0 - } - - Buffer.isEncoding = function isEncoding (encoding) { - switch (String(encoding).toLowerCase()) { - case 'hex': - case 'utf8': - case 'utf-8': - case 'ascii': - case 'latin1': - case 'binary': - case 'base64': - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return true - default: - return false - } - } - - Buffer.concat = function concat (list, length) { - if (!isArray(list)) { - throw new TypeError('"list" argument must be an Array of Buffers') - } - - if (list.length === 0) { - return Buffer.alloc(0) - } - - var i - if (length === undefined) { - length = 0 - for (i = 0; i < list.length; ++i) { - length += list[i].length - } - } - - var buffer = Buffer.allocUnsafe(length) - var pos = 0 - for (i = 0; i < list.length; ++i) { - var buf = list[i] - if (!Buffer.isBuffer(buf)) { - throw new TypeError('"list" argument must be an Array of Buffers') - } - buf.copy(buffer, pos) - pos += buf.length - } - return buffer - } - - function byteLength (string, encoding) { - if (Buffer.isBuffer(string)) { - return string.length - } - if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && - (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { - return string.byteLength - } - if (typeof string !== 'string') { - string = '' + string - } - - var len = string.length - if (len === 0) return 0 - - // Use a for loop to avoid recursion - var loweredCase = false - for (;;) { - switch (encoding) { - case 'ascii': - case 'latin1': - case 'binary': - return len - case 'utf8': - case 'utf-8': - case undefined: - return utf8ToBytes(string).length - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return len * 2 - case 'hex': - return len >>> 1 - case 'base64': - return base64ToBytes(string).length - default: - if (loweredCase) return utf8ToBytes(string).length // assume utf8 - encoding = ('' + encoding).toLowerCase() - loweredCase = true - } - } - } - Buffer.byteLength = byteLength - - function slowToString (encoding, start, end) { - var loweredCase = false - - // No need to verify that "this.length <= MAX_UINT32" since it's a read-only - // property of a typed array. - - // This behaves neither like String nor Uint8Array in that we set start/end - // to their upper/lower bounds if the value passed is out of range. - // undefined is handled specially as per ECMA-262 6th Edition, - // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. - if (start === undefined || start < 0) { - start = 0 - } - // Return early if start > this.length. Done here to prevent potential uint32 - // coercion fail below. - if (start > this.length) { - return '' - } - - if (end === undefined || end > this.length) { - end = this.length - } - - if (end <= 0) { - return '' - } - - // Force coersion to uint32. This will also coerce falsey/NaN values to 0. - end >>>= 0 - start >>>= 0 - - if (end <= start) { - return '' - } - - if (!encoding) encoding = 'utf8' - - while (true) { - switch (encoding) { - case 'hex': - return hexSlice(this, start, end) - - case 'utf8': - case 'utf-8': - return utf8Slice(this, start, end) - - case 'ascii': - return asciiSlice(this, start, end) - - case 'latin1': - case 'binary': - return latin1Slice(this, start, end) - - case 'base64': - return base64Slice(this, start, end) - - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return utf16leSlice(this, start, end) - - default: - if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) - encoding = (encoding + '').toLowerCase() - loweredCase = true - } - } - } - - // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect - // Buffer instances. - Buffer.prototype._isBuffer = true - - function swap (b, n, m) { - var i = b[n] - b[n] = b[m] - b[m] = i - } - - Buffer.prototype.swap16 = function swap16 () { - var len = this.length - if (len % 2 !== 0) { - throw new RangeError('Buffer size must be a multiple of 16-bits') - } - for (var i = 0; i < len; i += 2) { - swap(this, i, i + 1) - } - return this - } - - Buffer.prototype.swap32 = function swap32 () { - var len = this.length - if (len % 4 !== 0) { - throw new RangeError('Buffer size must be a multiple of 32-bits') - } - for (var i = 0; i < len; i += 4) { - swap(this, i, i + 3) - swap(this, i + 1, i + 2) - } - return this - } - - Buffer.prototype.swap64 = function swap64 () { - var len = this.length - if (len % 8 !== 0) { - throw new RangeError('Buffer size must be a multiple of 64-bits') - } - for (var i = 0; i < len; i += 8) { - swap(this, i, i + 7) - swap(this, i + 1, i + 6) - swap(this, i + 2, i + 5) - swap(this, i + 3, i + 4) - } - return this - } - - Buffer.prototype.toString = function toString () { - var length = this.length | 0 - if (length === 0) return '' - if (arguments.length === 0) return utf8Slice(this, 0, length) - return slowToString.apply(this, arguments) - } - - Buffer.prototype.equals = function equals (b) { - if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') - if (this === b) return true - return Buffer.compare(this, b) === 0 - } - - Buffer.prototype.inspect = function inspect () { - var str = '' - var max = exports.INSPECT_MAX_BYTES - if (this.length > 0) { - str = this.toString('hex', 0, max).match(/.{2}/g).join(' ') - if (this.length > max) str += ' ... ' - } - return '' - } - - Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) { - if (!Buffer.isBuffer(target)) { - throw new TypeError('Argument must be a Buffer') - } - - if (start === undefined) { - start = 0 - } - if (end === undefined) { - end = target ? target.length : 0 - } - if (thisStart === undefined) { - thisStart = 0 - } - if (thisEnd === undefined) { - thisEnd = this.length - } - - if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { - throw new RangeError('out of range index') - } - - if (thisStart >= thisEnd && start >= end) { - return 0 - } - if (thisStart >= thisEnd) { - return -1 - } - if (start >= end) { - return 1 - } - - start >>>= 0 - end >>>= 0 - thisStart >>>= 0 - thisEnd >>>= 0 - - if (this === target) return 0 - - var x = thisEnd - thisStart - var y = end - start - var len = Math.min(x, y) - - var thisCopy = this.slice(thisStart, thisEnd) - var targetCopy = target.slice(start, end) - - for (var i = 0; i < len; ++i) { - if (thisCopy[i] !== targetCopy[i]) { - x = thisCopy[i] - y = targetCopy[i] - break - } - } - - if (x < y) return -1 - if (y < x) return 1 - return 0 - } - - // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, - // OR the last index of `val` in `buffer` at offset <= `byteOffset`. - // - // Arguments: - // - buffer - a Buffer to search - // - val - a string, Buffer, or number - // - byteOffset - an index into `buffer`; will be clamped to an int32 - // - encoding - an optional encoding, relevant is val is a string - // - dir - true for indexOf, false for lastIndexOf - function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) { - // Empty buffer means no match - if (buffer.length === 0) return -1 - - // Normalize byteOffset - if (typeof byteOffset === 'string') { - encoding = byteOffset - byteOffset = 0 - } else if (byteOffset > 0x7fffffff) { - byteOffset = 0x7fffffff - } else if (byteOffset < -0x80000000) { - byteOffset = -0x80000000 - } - byteOffset = +byteOffset // Coerce to Number. - if (isNaN(byteOffset)) { - // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer - byteOffset = dir ? 0 : (buffer.length - 1) - } - - // Normalize byteOffset: negative offsets start from the end of the buffer - if (byteOffset < 0) byteOffset = buffer.length + byteOffset - if (byteOffset >= buffer.length) { - if (dir) return -1 - else byteOffset = buffer.length - 1 - } else if (byteOffset < 0) { - if (dir) byteOffset = 0 - else return -1 - } - - // Normalize val - if (typeof val === 'string') { - val = Buffer.from(val, encoding) - } - - // Finally, search either indexOf (if dir is true) or lastIndexOf - if (Buffer.isBuffer(val)) { - // Special case: looking for empty string/buffer always fails - if (val.length === 0) { - return -1 - } - return arrayIndexOf(buffer, val, byteOffset, encoding, dir) - } else if (typeof val === 'number') { - val = val & 0xFF // Search for a byte value [0-255] - if (Buffer.TYPED_ARRAY_SUPPORT && - typeof Uint8Array.prototype.indexOf === 'function') { - if (dir) { - return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset) - } else { - return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset) - } - } - return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir) - } - - throw new TypeError('val must be string, number or Buffer') - } - - function arrayIndexOf (arr, val, byteOffset, encoding, dir) { - var indexSize = 1 - var arrLength = arr.length - var valLength = val.length - - if (encoding !== undefined) { - encoding = String(encoding).toLowerCase() - if (encoding === 'ucs2' || encoding === 'ucs-2' || - encoding === 'utf16le' || encoding === 'utf-16le') { - if (arr.length < 2 || val.length < 2) { - return -1 - } - indexSize = 2 - arrLength /= 2 - valLength /= 2 - byteOffset /= 2 - } - } - - function read (buf, i) { - if (indexSize === 1) { - return buf[i] - } else { - return buf.readUInt16BE(i * indexSize) - } - } - - var i - if (dir) { - var foundIndex = -1 - for (i = byteOffset; i < arrLength; i++) { - if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) { - if (foundIndex === -1) foundIndex = i - if (i - foundIndex + 1 === valLength) return foundIndex * indexSize - } else { - if (foundIndex !== -1) i -= i - foundIndex - foundIndex = -1 - } - } - } else { - if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength - for (i = byteOffset; i >= 0; i--) { - var found = true - for (var j = 0; j < valLength; j++) { - if (read(arr, i + j) !== read(val, j)) { - found = false - break - } - } - if (found) return i - } - } - - return -1 - } - - Buffer.prototype.includes = function includes (val, byteOffset, encoding) { - return this.indexOf(val, byteOffset, encoding) !== -1 - } - - Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) { - return bidirectionalIndexOf(this, val, byteOffset, encoding, true) - } - - Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) { - return bidirectionalIndexOf(this, val, byteOffset, encoding, false) - } - - function hexWrite (buf, string, offset, length) { - offset = Number(offset) || 0 - var remaining = buf.length - offset - if (!length) { - length = remaining - } else { - length = Number(length) - if (length > remaining) { - length = remaining - } - } - - // must be an even number of digits - var strLen = string.length - if (strLen % 2 !== 0) throw new TypeError('Invalid hex string') - - if (length > strLen / 2) { - length = strLen / 2 - } - for (var i = 0; i < length; ++i) { - var parsed = parseInt(string.substr(i * 2, 2), 16) - if (isNaN(parsed)) return i - buf[offset + i] = parsed - } - return i - } - - function utf8Write (buf, string, offset, length) { - return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length) - } - - function asciiWrite (buf, string, offset, length) { - return blitBuffer(asciiToBytes(string), buf, offset, length) - } - - function latin1Write (buf, string, offset, length) { - return asciiWrite(buf, string, offset, length) - } - - function base64Write (buf, string, offset, length) { - return blitBuffer(base64ToBytes(string), buf, offset, length) - } - - function ucs2Write (buf, string, offset, length) { - return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length) - } - - Buffer.prototype.write = function write (string, offset, length, encoding) { - // Buffer#write(string) - if (offset === undefined) { - encoding = 'utf8' - length = this.length - offset = 0 - // Buffer#write(string, encoding) - } else if (length === undefined && typeof offset === 'string') { - encoding = offset - length = this.length - offset = 0 - // Buffer#write(string, offset[, length][, encoding]) - } else if (isFinite(offset)) { - offset = offset | 0 - if (isFinite(length)) { - length = length | 0 - if (encoding === undefined) encoding = 'utf8' - } else { - encoding = length - length = undefined - } - // legacy write(string, encoding, offset, length) - remove in v0.13 - } else { - throw new Error( - 'Buffer.write(string, encoding, offset[, length]) is no longer supported' - ) - } - - var remaining = this.length - offset - if (length === undefined || length > remaining) length = remaining - - if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) { - throw new RangeError('Attempt to write outside buffer bounds') - } - - if (!encoding) encoding = 'utf8' - - var loweredCase = false - for (;;) { - switch (encoding) { - case 'hex': - return hexWrite(this, string, offset, length) - - case 'utf8': - case 'utf-8': - return utf8Write(this, string, offset, length) - - case 'ascii': - return asciiWrite(this, string, offset, length) - - case 'latin1': - case 'binary': - return latin1Write(this, string, offset, length) - - case 'base64': - // Warning: maxLength not taken into account in base64Write - return base64Write(this, string, offset, length) - - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return ucs2Write(this, string, offset, length) - - default: - if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) - encoding = ('' + encoding).toLowerCase() - loweredCase = true - } - } - } - - Buffer.prototype.toJSON = function toJSON () { - return { - type: 'Buffer', - data: Array.prototype.slice.call(this._arr || this, 0) - } - } - - function base64Slice (buf, start, end) { - if (start === 0 && end === buf.length) { - return base64.fromByteArray(buf) - } else { - return base64.fromByteArray(buf.slice(start, end)) - } - } - - function utf8Slice (buf, start, end) { - end = Math.min(buf.length, end) - var res = [] - - var i = start - while (i < end) { - var firstByte = buf[i] - var codePoint = null - var bytesPerSequence = (firstByte > 0xEF) ? 4 - : (firstByte > 0xDF) ? 3 - : (firstByte > 0xBF) ? 2 - : 1 - - if (i + bytesPerSequence <= end) { - var secondByte, thirdByte, fourthByte, tempCodePoint - - switch (bytesPerSequence) { - case 1: - if (firstByte < 0x80) { - codePoint = firstByte - } - break - case 2: - secondByte = buf[i + 1] - if ((secondByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F) - if (tempCodePoint > 0x7F) { - codePoint = tempCodePoint - } - } - break - case 3: - secondByte = buf[i + 1] - thirdByte = buf[i + 2] - if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F) - if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { - codePoint = tempCodePoint - } - } - break - case 4: - secondByte = buf[i + 1] - thirdByte = buf[i + 2] - fourthByte = buf[i + 3] - if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F) - if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { - codePoint = tempCodePoint - } - } - } - } - - if (codePoint === null) { - // we did not generate a valid codePoint so insert a - // replacement char (U+FFFD) and advance only 1 byte - codePoint = 0xFFFD - bytesPerSequence = 1 - } else if (codePoint > 0xFFFF) { - // encode to utf16 (surrogate pair dance) - codePoint -= 0x10000 - res.push(codePoint >>> 10 & 0x3FF | 0xD800) - codePoint = 0xDC00 | codePoint & 0x3FF - } - - res.push(codePoint) - i += bytesPerSequence - } - - return decodeCodePointsArray(res) - } - - // Based on http://stackoverflow.com/a/22747272/680742, the browser with - // the lowest limit is Chrome, with 0x10000 args. - // We go 1 magnitude less, for safety - var MAX_ARGUMENTS_LENGTH = 0x1000 - - function decodeCodePointsArray (codePoints) { - var len = codePoints.length - if (len <= MAX_ARGUMENTS_LENGTH) { - return String.fromCharCode.apply(String, codePoints) // avoid extra slice() - } - - // Decode in chunks to avoid "call stack size exceeded". - var res = '' - var i = 0 - while (i < len) { - res += String.fromCharCode.apply( - String, - codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH) - ) - } - return res - } - - function asciiSlice (buf, start, end) { - var ret = '' - end = Math.min(buf.length, end) - - for (var i = start; i < end; ++i) { - ret += String.fromCharCode(buf[i] & 0x7F) - } - return ret - } - - function latin1Slice (buf, start, end) { - var ret = '' - end = Math.min(buf.length, end) - - for (var i = start; i < end; ++i) { - ret += String.fromCharCode(buf[i]) - } - return ret - } - - function hexSlice (buf, start, end) { - var len = buf.length - - if (!start || start < 0) start = 0 - if (!end || end < 0 || end > len) end = len - - var out = '' - for (var i = start; i < end; ++i) { - out += toHex(buf[i]) - } - return out - } - - function utf16leSlice (buf, start, end) { - var bytes = buf.slice(start, end) - var res = '' - for (var i = 0; i < bytes.length; i += 2) { - res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256) - } - return res - } - - Buffer.prototype.slice = function slice (start, end) { - var len = this.length - start = ~~start - end = end === undefined ? len : ~~end - - if (start < 0) { - start += len - if (start < 0) start = 0 - } else if (start > len) { - start = len - } - - if (end < 0) { - end += len - if (end < 0) end = 0 - } else if (end > len) { - end = len - } - - if (end < start) end = start - - var newBuf - if (Buffer.TYPED_ARRAY_SUPPORT) { - newBuf = this.subarray(start, end) - newBuf.__proto__ = Buffer.prototype - } else { - var sliceLen = end - start - newBuf = new Buffer(sliceLen, undefined) - for (var i = 0; i < sliceLen; ++i) { - newBuf[i] = this[i + start] - } - } - - return newBuf - } - - /* - * Need to make sure that buffer isn't trying to write out of bounds. - */ - function checkOffset (offset, ext, length) { - if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint') - if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') - } - - Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var val = this[offset] - var mul = 1 - var i = 0 - while (++i < byteLength && (mul *= 0x100)) { - val += this[offset + i] * mul - } - - return val - } - - Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) { - checkOffset(offset, byteLength, this.length) - } - - var val = this[offset + --byteLength] - var mul = 1 - while (byteLength > 0 && (mul *= 0x100)) { - val += this[offset + --byteLength] * mul - } - - return val - } - - Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) { - if (!noAssert) checkOffset(offset, 1, this.length) - return this[offset] - } - - Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - return this[offset] | (this[offset + 1] << 8) - } - - Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - return (this[offset] << 8) | this[offset + 1] - } - - Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return ((this[offset]) | - (this[offset + 1] << 8) | - (this[offset + 2] << 16)) + - (this[offset + 3] * 0x1000000) - } - - Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset] * 0x1000000) + - ((this[offset + 1] << 16) | - (this[offset + 2] << 8) | - this[offset + 3]) - } - - Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var val = this[offset] - var mul = 1 - var i = 0 - while (++i < byteLength && (mul *= 0x100)) { - val += this[offset + i] * mul - } - mul *= 0x80 - - if (val >= mul) val -= Math.pow(2, 8 * byteLength) - - return val - } - - Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var i = byteLength - var mul = 1 - var val = this[offset + --i] - while (i > 0 && (mul *= 0x100)) { - val += this[offset + --i] * mul - } - mul *= 0x80 - - if (val >= mul) val -= Math.pow(2, 8 * byteLength) - - return val - } - - Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) { - if (!noAssert) checkOffset(offset, 1, this.length) - if (!(this[offset] & 0x80)) return (this[offset]) - return ((0xff - this[offset] + 1) * -1) - } - - Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - var val = this[offset] | (this[offset + 1] << 8) - return (val & 0x8000) ? val | 0xFFFF0000 : val - } - - Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - var val = this[offset + 1] | (this[offset] << 8) - return (val & 0x8000) ? val | 0xFFFF0000 : val - } - - Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset]) | - (this[offset + 1] << 8) | - (this[offset + 2] << 16) | - (this[offset + 3] << 24) - } - - Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset] << 24) | - (this[offset + 1] << 16) | - (this[offset + 2] << 8) | - (this[offset + 3]) - } - - Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - return ieee754.read(this, offset, true, 23, 4) - } - - Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - return ieee754.read(this, offset, false, 23, 4) - } - - Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 8, this.length) - return ieee754.read(this, offset, true, 52, 8) - } - - Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 8, this.length) - return ieee754.read(this, offset, false, 52, 8) - } - - function checkInt (buf, value, offset, ext, max, min) { - if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') - if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') - if (offset + ext > buf.length) throw new RangeError('Index out of range') - } - - Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) { - var maxBytes = Math.pow(2, 8 * byteLength) - 1 - checkInt(this, value, offset, byteLength, maxBytes, 0) - } - - var mul = 1 - var i = 0 - this[offset] = value & 0xFF - while (++i < byteLength && (mul *= 0x100)) { - this[offset + i] = (value / mul) & 0xFF - } - - return offset + byteLength - } - - Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) { - var maxBytes = Math.pow(2, 8 * byteLength) - 1 - checkInt(this, value, offset, byteLength, maxBytes, 0) - } - - var i = byteLength - 1 - var mul = 1 - this[offset + i] = value & 0xFF - while (--i >= 0 && (mul *= 0x100)) { - this[offset + i] = (value / mul) & 0xFF - } - - return offset + byteLength - } - - Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0) - if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) - this[offset] = (value & 0xff) - return offset + 1 - } - - function objectWriteUInt16 (buf, value, offset, littleEndian) { - if (value < 0) value = 0xffff + value + 1 - for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { - buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>> - (littleEndian ? i : 1 - i) * 8 - } - } - - Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value & 0xff) - this[offset + 1] = (value >>> 8) - } else { - objectWriteUInt16(this, value, offset, true) - } - return offset + 2 - } - - Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 8) - this[offset + 1] = (value & 0xff) - } else { - objectWriteUInt16(this, value, offset, false) - } - return offset + 2 - } - - function objectWriteUInt32 (buf, value, offset, littleEndian) { - if (value < 0) value = 0xffffffff + value + 1 - for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { - buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff - } - } - - Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset + 3] = (value >>> 24) - this[offset + 2] = (value >>> 16) - this[offset + 1] = (value >>> 8) - this[offset] = (value & 0xff) - } else { - objectWriteUInt32(this, value, offset, true) - } - return offset + 4 - } - - Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 24) - this[offset + 1] = (value >>> 16) - this[offset + 2] = (value >>> 8) - this[offset + 3] = (value & 0xff) - } else { - objectWriteUInt32(this, value, offset, false) - } - return offset + 4 - } - - Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) { - var limit = Math.pow(2, 8 * byteLength - 1) - - checkInt(this, value, offset, byteLength, limit - 1, -limit) - } - - var i = 0 - var mul = 1 - var sub = 0 - this[offset] = value & 0xFF - while (++i < byteLength && (mul *= 0x100)) { - if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { - sub = 1 - } - this[offset + i] = ((value / mul) >> 0) - sub & 0xFF - } - - return offset + byteLength - } - - Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) { - var limit = Math.pow(2, 8 * byteLength - 1) - - checkInt(this, value, offset, byteLength, limit - 1, -limit) - } - - var i = byteLength - 1 - var mul = 1 - var sub = 0 - this[offset + i] = value & 0xFF - while (--i >= 0 && (mul *= 0x100)) { - if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { - sub = 1 - } - this[offset + i] = ((value / mul) >> 0) - sub & 0xFF - } - - return offset + byteLength - } - - Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80) - if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) - if (value < 0) value = 0xff + value + 1 - this[offset] = (value & 0xff) - return offset + 1 - } - - Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value & 0xff) - this[offset + 1] = (value >>> 8) - } else { - objectWriteUInt16(this, value, offset, true) - } - return offset + 2 - } - - Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 8) - this[offset + 1] = (value & 0xff) - } else { - objectWriteUInt16(this, value, offset, false) - } - return offset + 2 - } - - Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value & 0xff) - this[offset + 1] = (value >>> 8) - this[offset + 2] = (value >>> 16) - this[offset + 3] = (value >>> 24) - } else { - objectWriteUInt32(this, value, offset, true) - } - return offset + 4 - } - - Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) - if (value < 0) value = 0xffffffff + value + 1 - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 24) - this[offset + 1] = (value >>> 16) - this[offset + 2] = (value >>> 8) - this[offset + 3] = (value & 0xff) - } else { - objectWriteUInt32(this, value, offset, false) - } - return offset + 4 - } - - function checkIEEE754 (buf, value, offset, ext, max, min) { - if (offset + ext > buf.length) throw new RangeError('Index out of range') - if (offset < 0) throw new RangeError('Index out of range') - } - - function writeFloat (buf, value, offset, littleEndian, noAssert) { - if (!noAssert) { - checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) - } - ieee754.write(buf, value, offset, littleEndian, 23, 4) - return offset + 4 - } - - Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { - return writeFloat(this, value, offset, true, noAssert) - } - - Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) { - return writeFloat(this, value, offset, false, noAssert) - } - - function writeDouble (buf, value, offset, littleEndian, noAssert) { - if (!noAssert) { - checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308) - } - ieee754.write(buf, value, offset, littleEndian, 52, 8) - return offset + 8 - } - - Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) { - return writeDouble(this, value, offset, true, noAssert) - } - - Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) { - return writeDouble(this, value, offset, false, noAssert) - } - - // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) - Buffer.prototype.copy = function copy (target, targetStart, start, end) { - if (!start) start = 0 - if (!end && end !== 0) end = this.length - if (targetStart >= target.length) targetStart = target.length - if (!targetStart) targetStart = 0 - if (end > 0 && end < start) end = start - - // Copy 0 bytes; we're done - if (end === start) return 0 - if (target.length === 0 || this.length === 0) return 0 - - // Fatal error conditions - if (targetStart < 0) { - throw new RangeError('targetStart out of bounds') - } - if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds') - if (end < 0) throw new RangeError('sourceEnd out of bounds') - - // Are we oob? - if (end > this.length) end = this.length - if (target.length - targetStart < end - start) { - end = target.length - targetStart + start - } - - var len = end - start - var i - - if (this === target && start < targetStart && targetStart < end) { - // descending copy from end - for (i = len - 1; i >= 0; --i) { - target[i + targetStart] = this[i + start] - } - } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) { - // ascending copy from start - for (i = 0; i < len; ++i) { - target[i + targetStart] = this[i + start] - } - } else { - Uint8Array.prototype.set.call( - target, - this.subarray(start, start + len), - targetStart - ) - } - - return len - } - - // Usage: - // buffer.fill(number[, offset[, end]]) - // buffer.fill(buffer[, offset[, end]]) - // buffer.fill(string[, offset[, end]][, encoding]) - Buffer.prototype.fill = function fill (val, start, end, encoding) { - // Handle string cases: - if (typeof val === 'string') { - if (typeof start === 'string') { - encoding = start - start = 0 - end = this.length - } else if (typeof end === 'string') { - encoding = end - end = this.length - } - if (val.length === 1) { - var code = val.charCodeAt(0) - if (code < 256) { - val = code - } - } - if (encoding !== undefined && typeof encoding !== 'string') { - throw new TypeError('encoding must be a string') - } - if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) { - throw new TypeError('Unknown encoding: ' + encoding) - } - } else if (typeof val === 'number') { - val = val & 255 - } - - // Invalid ranges are not set to a default, so can range check early. - if (start < 0 || this.length < start || this.length < end) { - throw new RangeError('Out of range index') - } - - if (end <= start) { - return this - } - - start = start >>> 0 - end = end === undefined ? this.length : end >>> 0 - - if (!val) val = 0 - - var i - if (typeof val === 'number') { - for (i = start; i < end; ++i) { - this[i] = val - } - } else { - var bytes = Buffer.isBuffer(val) - ? val - : utf8ToBytes(new Buffer(val, encoding).toString()) - var len = bytes.length - for (i = 0; i < end - start; ++i) { - this[i + start] = bytes[i % len] - } - } - - return this - } - - // HELPER FUNCTIONS - // ================ - - var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g - - function base64clean (str) { - // Node strips out invalid characters like \n and \t from the string, base64-js does not - str = stringtrim(str).replace(INVALID_BASE64_RE, '') - // Node converts strings with length < 2 to '' - if (str.length < 2) return '' - // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not - while (str.length % 4 !== 0) { - str = str + '=' - } - return str - } - - function stringtrim (str) { - if (str.trim) return str.trim() - return str.replace(/^\s+|\s+$/g, '') - } - - function toHex (n) { - if (n < 16) return '0' + n.toString(16) - return n.toString(16) - } - - function utf8ToBytes (string, units) { - units = units || Infinity - var codePoint - var length = string.length - var leadSurrogate = null - var bytes = [] - - for (var i = 0; i < length; ++i) { - codePoint = string.charCodeAt(i) - - // is surrogate component - if (codePoint > 0xD7FF && codePoint < 0xE000) { - // last char was a lead - if (!leadSurrogate) { - // no lead yet - if (codePoint > 0xDBFF) { - // unexpected trail - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - continue - } else if (i + 1 === length) { - // unpaired lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - continue - } - - // valid lead - leadSurrogate = codePoint - - continue - } - - // 2 leads in a row - if (codePoint < 0xDC00) { - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - leadSurrogate = codePoint - continue - } - - // valid surrogate pair - codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000 - } else if (leadSurrogate) { - // valid bmp char, but last char was a lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - } - - leadSurrogate = null - - // encode utf8 - if (codePoint < 0x80) { - if ((units -= 1) < 0) break - bytes.push(codePoint) - } else if (codePoint < 0x800) { - if ((units -= 2) < 0) break - bytes.push( - codePoint >> 0x6 | 0xC0, - codePoint & 0x3F | 0x80 - ) - } else if (codePoint < 0x10000) { - if ((units -= 3) < 0) break - bytes.push( - codePoint >> 0xC | 0xE0, - codePoint >> 0x6 & 0x3F | 0x80, - codePoint & 0x3F | 0x80 - ) - } else if (codePoint < 0x110000) { - if ((units -= 4) < 0) break - bytes.push( - codePoint >> 0x12 | 0xF0, - codePoint >> 0xC & 0x3F | 0x80, - codePoint >> 0x6 & 0x3F | 0x80, - codePoint & 0x3F | 0x80 - ) - } else { - throw new Error('Invalid code point') - } - } - - return bytes - } - - function asciiToBytes (str) { - var byteArray = [] - for (var i = 0; i < str.length; ++i) { - // Node's code seems to be doing this and not & 0x7F.. - byteArray.push(str.charCodeAt(i) & 0xFF) - } - return byteArray - } - - function utf16leToBytes (str, units) { - var c, hi, lo - var byteArray = [] - for (var i = 0; i < str.length; ++i) { - if ((units -= 2) < 0) break - - c = str.charCodeAt(i) - hi = c >> 8 - lo = c % 256 - byteArray.push(lo) - byteArray.push(hi) - } - - return byteArray - } - - function base64ToBytes (str) { - return base64.toByteArray(base64clean(str)) - } - - function blitBuffer (src, dst, offset, length) { - for (var i = 0; i < length; ++i) { - if ((i + offset >= dst.length) || (i >= src.length)) break - dst[i + offset] = src[i] - } - return i - } - - function isnan (val) { - return val !== val // eslint-disable-line no-self-compare - } - - /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) - -/***/ }), -/* 204 */ -/***/ (function(module, exports) { - - 'use strict' - - exports.byteLength = byteLength - exports.toByteArray = toByteArray - exports.fromByteArray = fromByteArray - - var lookup = [] - var revLookup = [] - var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array - - var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' - for (var i = 0, len = code.length; i < len; ++i) { - lookup[i] = code[i] - revLookup[code.charCodeAt(i)] = i - } - - revLookup['-'.charCodeAt(0)] = 62 - revLookup['_'.charCodeAt(0)] = 63 - - function placeHoldersCount (b64) { - var len = b64.length - if (len % 4 > 0) { - throw new Error('Invalid string. Length must be a multiple of 4') - } - - // the number of equal signs (place holders) - // if there are two placeholders, than the two characters before it - // represent one byte - // if there is only one, then the three characters before it represent 2 bytes - // this is just a cheap hack to not do indexOf twice - return b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0 - } - - function byteLength (b64) { - // base64 is 4/3 + up to two characters of the original data - return (b64.length * 3 / 4) - placeHoldersCount(b64) - } - - function toByteArray (b64) { - var i, l, tmp, placeHolders, arr - var len = b64.length - placeHolders = placeHoldersCount(b64) - - arr = new Arr((len * 3 / 4) - placeHolders) - - // if there are placeholders, only get up to the last complete 4 chars - l = placeHolders > 0 ? len - 4 : len - - var L = 0 - - for (i = 0; i < l; i += 4) { - tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)] - arr[L++] = (tmp >> 16) & 0xFF - arr[L++] = (tmp >> 8) & 0xFF - arr[L++] = tmp & 0xFF - } - - if (placeHolders === 2) { - tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4) - arr[L++] = tmp & 0xFF - } else if (placeHolders === 1) { - tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2) - arr[L++] = (tmp >> 8) & 0xFF - arr[L++] = tmp & 0xFF - } - - return arr - } - - function tripletToBase64 (num) { - return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F] - } - - function encodeChunk (uint8, start, end) { - var tmp - var output = [] - for (var i = start; i < end; i += 3) { - tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2]) - output.push(tripletToBase64(tmp)) - } - return output.join('') - } - - function fromByteArray (uint8) { - var tmp - var len = uint8.length - var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes - var output = '' - var parts = [] - var maxChunkLength = 16383 // must be multiple of 3 - - // go through the array every three bytes, we'll deal with trailing stuff later - for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { - parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength))) - } - - // pad the end with zeros, but make sure to not forget the extra bytes - if (extraBytes === 1) { - tmp = uint8[len - 1] - output += lookup[tmp >> 2] - output += lookup[(tmp << 4) & 0x3F] - output += '==' - } else if (extraBytes === 2) { - tmp = (uint8[len - 2] << 8) + (uint8[len - 1]) - output += lookup[tmp >> 10] - output += lookup[(tmp >> 4) & 0x3F] - output += lookup[(tmp << 2) & 0x3F] - output += '=' - } - - parts.push(output) - - return parts.join('') - } - - -/***/ }), -/* 205 */ -/***/ (function(module, exports) { - - exports.read = function (buffer, offset, isLE, mLen, nBytes) { - var e, m - var eLen = nBytes * 8 - mLen - 1 - var eMax = (1 << eLen) - 1 - var eBias = eMax >> 1 - var nBits = -7 - var i = isLE ? (nBytes - 1) : 0 - var d = isLE ? -1 : 1 - var s = buffer[offset + i] - - i += d - - e = s & ((1 << (-nBits)) - 1) - s >>= (-nBits) - nBits += eLen - for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {} - - m = e & ((1 << (-nBits)) - 1) - e >>= (-nBits) - nBits += mLen - for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {} - - if (e === 0) { - e = 1 - eBias - } else if (e === eMax) { - return m ? NaN : ((s ? -1 : 1) * Infinity) - } else { - m = m + Math.pow(2, mLen) - e = e - eBias - } - return (s ? -1 : 1) * m * Math.pow(2, e - mLen) - } - - exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { - var e, m, c - var eLen = nBytes * 8 - mLen - 1 - var eMax = (1 << eLen) - 1 - var eBias = eMax >> 1 - var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) - var i = isLE ? 0 : (nBytes - 1) - var d = isLE ? 1 : -1 - var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0 - - value = Math.abs(value) - - if (isNaN(value) || value === Infinity) { - m = isNaN(value) ? 1 : 0 - e = eMax - } else { - e = Math.floor(Math.log(value) / Math.LN2) - if (value * (c = Math.pow(2, -e)) < 1) { - e-- - c *= 2 - } - if (e + eBias >= 1) { - value += rt / c - } else { - value += rt * Math.pow(2, 1 - eBias) - } - if (value * c >= 2) { - e++ - c /= 2 - } - - if (e + eBias >= eMax) { - m = 0 - e = eMax - } else if (e + eBias >= 1) { - m = (value * c - 1) * Math.pow(2, mLen) - e = e + eBias - } else { - m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen) - e = 0 - } - } - - for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {} - - e = (e << mLen) | m - eLen += mLen - for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} - - buffer[offset + i - d] |= s * 128 - } - - -/***/ }), -/* 206 */ -/***/ (function(module, exports) { - - var toString = {}.toString; - - module.exports = Array.isArray || function (arr) { - return toString.call(arr) == '[object Array]'; - }; - - -/***/ }), -/* 207 */ -/***/ (function(module, exports) { - - if (typeof Object.create === 'function') { - // implementation from standard node.js 'util' module - module.exports = function inherits(ctor, superCtor) { - ctor.super_ = superCtor - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); - }; - } else { - // old school shim for old browsers - module.exports = function inherits(ctor, superCtor) { - ctor.super_ = superCtor - var TempCtor = function () {} - TempCtor.prototype = superCtor.prototype - ctor.prototype = new TempCtor() - ctor.prototype.constructor = ctor - } - } - - -/***/ }), -/* 208 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(process) {var AWS = __webpack_require__(5); - var AcceptorStateMachine = __webpack_require__(209); - var inherit = AWS.util.inherit; - var domain = AWS.util.domain; - var jmespath = __webpack_require__(210); - - /** - * @api private - */ - var hardErrorStates = {success: 1, error: 1, complete: 1}; - - function isTerminalState(machine) { - return Object.prototype.hasOwnProperty.call(hardErrorStates, machine._asm.currentState); - } - - var fsm = new AcceptorStateMachine(); - fsm.setupStates = function() { - var transition = function(_, done) { - var self = this; - self._haltHandlersOnError = false; - - self.emit(self._asm.currentState, function(err) { - if (err) { - if (isTerminalState(self)) { - if (domain && self.domain instanceof domain.Domain) { - err.domainEmitter = self; - err.domain = self.domain; - err.domainThrown = false; - self.domain.emit('error', err); - } else { - throw err; - } - } else { - self.response.error = err; - done(err); - } - } else { - done(self.response.error); - } - }); - - }; - - this.addState('validate', 'build', 'error', transition); - this.addState('build', 'afterBuild', 'restart', transition); - this.addState('afterBuild', 'sign', 'restart', transition); - this.addState('sign', 'send', 'retry', transition); - this.addState('retry', 'afterRetry', 'afterRetry', transition); - this.addState('afterRetry', 'sign', 'error', transition); - this.addState('send', 'validateResponse', 'retry', transition); - this.addState('validateResponse', 'extractData', 'extractError', transition); - this.addState('extractError', 'extractData', 'retry', transition); - this.addState('extractData', 'success', 'retry', transition); - this.addState('restart', 'build', 'error', transition); - this.addState('success', 'complete', 'complete', transition); - this.addState('error', 'complete', 'complete', transition); - this.addState('complete', null, null, transition); - }; - fsm.setupStates(); - - /** - * ## Asynchronous Requests - * - * All requests made through the SDK are asynchronous and use a - * callback interface. Each service method that kicks off a request - * returns an `AWS.Request` object that you can use to register - * callbacks. - * - * For example, the following service method returns the request - * object as "request", which can be used to register callbacks: - * - * ```javascript - * // request is an AWS.Request object - * var request = ec2.describeInstances(); - * - * // register callbacks on request to retrieve response data - * request.on('success', function(response) { - * console.log(response.data); - * }); - * ``` - * - * When a request is ready to be sent, the {send} method should - * be called: - * - * ```javascript - * request.send(); - * ``` - * - * Since registered callbacks may or may not be idempotent, requests should only - * be sent once. To perform the same operation multiple times, you will need to - * create multiple request objects, each with its own registered callbacks. - * - * ## Removing Default Listeners for Events - * - * Request objects are built with default listeners for the various events, - * depending on the service type. In some cases, you may want to remove - * some built-in listeners to customize behaviour. Doing this requires - * access to the built-in listener functions, which are exposed through - * the {AWS.EventListeners.Core} namespace. For instance, you may - * want to customize the HTTP handler used when sending a request. In this - * case, you can remove the built-in listener associated with the 'send' - * event, the {AWS.EventListeners.Core.SEND} listener and add your own. - * - * ## Multiple Callbacks and Chaining - * - * You can register multiple callbacks on any request object. The - * callbacks can be registered for different events, or all for the - * same event. In addition, you can chain callback registration, for - * example: - * - * ```javascript - * request. - * on('success', function(response) { - * console.log("Success!"); - * }). - * on('error', function(response) { - * console.log("Error!"); - * }). - * on('complete', function(response) { - * console.log("Always!"); - * }). - * send(); - * ``` - * - * The above example will print either "Success! Always!", or "Error! Always!", - * depending on whether the request succeeded or not. - * - * @!attribute httpRequest - * @readonly - * @!group HTTP Properties - * @return [AWS.HttpRequest] the raw HTTP request object - * containing request headers and body information - * sent by the service. - * - * @!attribute startTime - * @readonly - * @!group Operation Properties - * @return [Date] the time that the request started - * - * @!group Request Building Events - * - * @!event validate(request) - * Triggered when a request is being validated. Listeners - * should throw an error if the request should not be sent. - * @param request [Request] the request object being sent - * @see AWS.EventListeners.Core.VALIDATE_CREDENTIALS - * @see AWS.EventListeners.Core.VALIDATE_REGION - * @example Ensuring that a certain parameter is set before sending a request - * var req = s3.putObject(params); - * req.on('validate', function() { - * if (!req.params.Body.match(/^Hello\s/)) { - * throw new Error('Body must start with "Hello "'); - * } - * }); - * req.send(function(err, data) { ... }); - * - * @!event build(request) - * Triggered when the request payload is being built. Listeners - * should fill the necessary information to send the request - * over HTTP. - * @param (see AWS.Request~validate) - * @example Add a custom HTTP header to a request - * var req = s3.putObject(params); - * req.on('build', function() { - * req.httpRequest.headers['Custom-Header'] = 'value'; - * }); - * req.send(function(err, data) { ... }); - * - * @!event sign(request) - * Triggered when the request is being signed. Listeners should - * add the correct authentication headers and/or adjust the body, - * depending on the authentication mechanism being used. - * @param (see AWS.Request~validate) - * - * @!group Request Sending Events - * - * @!event send(response) - * Triggered when the request is ready to be sent. Listeners - * should call the underlying transport layer to initiate - * the sending of the request. - * @param response [Response] the response object - * @context [Request] the request object that was sent - * @see AWS.EventListeners.Core.SEND - * - * @!event retry(response) - * Triggered when a request failed and might need to be retried or redirected. - * If the response is retryable, the listener should set the - * `response.error.retryable` property to `true`, and optionally set - * `response.error.retryDelay` to the millisecond delay for the next attempt. - * In the case of a redirect, `response.error.redirect` should be set to - * `true` with `retryDelay` set to an optional delay on the next request. - * - * If a listener decides that a request should not be retried, - * it should set both `retryable` and `redirect` to false. - * - * Note that a retryable error will be retried at most - * {AWS.Config.maxRetries} times (based on the service object's config). - * Similarly, a request that is redirected will only redirect at most - * {AWS.Config.maxRedirects} times. - * - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @example Adding a custom retry for a 404 response - * request.on('retry', function(response) { - * // this resource is not yet available, wait 10 seconds to get it again - * if (response.httpResponse.statusCode === 404 && response.error) { - * response.error.retryable = true; // retry this error - * response.error.retryDelay = 10000; // wait 10 seconds - * } - * }); - * - * @!group Data Parsing Events - * - * @!event extractError(response) - * Triggered on all non-2xx requests so that listeners can extract - * error details from the response body. Listeners to this event - * should set the `response.error` property. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event extractData(response) - * Triggered in successful requests to allow listeners to - * de-serialize the response body into `response.data`. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!group Completion Events - * - * @!event success(response) - * Triggered when the request completed successfully. - * `response.data` will contain the response data and - * `response.error` will be null. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event error(error, response) - * Triggered when an error occurs at any point during the - * request. `response.error` will contain details about the error - * that occurred. `response.data` will be null. - * @param error [Error] the error object containing details about - * the error that occurred. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event complete(response) - * Triggered whenever a request cycle completes. `response.error` - * should be checked, since the request may have failed. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!group HTTP Events - * - * @!event httpHeaders(statusCode, headers, response, statusMessage) - * Triggered when headers are sent by the remote server - * @param statusCode [Integer] the HTTP response code - * @param headers [map] the response headers - * @param (see AWS.Request~send) - * @param statusMessage [String] A status message corresponding to the HTTP - * response code - * @context (see AWS.Request~send) - * - * @!event httpData(chunk, response) - * Triggered when data is sent by the remote server - * @param chunk [Buffer] the buffer data containing the next data chunk - * from the server - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @see AWS.EventListeners.Core.HTTP_DATA - * - * @!event httpUploadProgress(progress, response) - * Triggered when the HTTP request has uploaded more data - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @note This event will not be emitted in Node.js 0.8.x. - * - * @!event httpDownloadProgress(progress, response) - * Triggered when the HTTP request has downloaded more data - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @note This event will not be emitted in Node.js 0.8.x. - * - * @!event httpError(error, response) - * Triggered when the HTTP request failed - * @param error [Error] the error object that was thrown - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event httpDone(response) - * Triggered when the server is finished sending data - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @see AWS.Response - */ - AWS.Request = inherit({ - - /** - * Creates a request for an operation on a given service with - * a set of input parameters. - * - * @param service [AWS.Service] the service to perform the operation on - * @param operation [String] the operation to perform on the service - * @param params [Object] parameters to send to the operation. - * See the operation's documentation for the format of the - * parameters. - */ - constructor: function Request(service, operation, params) { - var endpoint = service.endpoint; - var region = service.config.region; - var customUserAgent = service.config.customUserAgent; - - // global endpoints sign as us-east-1 - if (service.isGlobalEndpoint) region = 'us-east-1'; - - this.domain = domain && domain.active; - this.service = service; - this.operation = operation; - this.params = params || {}; - this.httpRequest = new AWS.HttpRequest(endpoint, region); - this.httpRequest.appendToUserAgent(customUserAgent); - this.startTime = AWS.util.date.getDate(); - - this.response = new AWS.Response(this); - this._asm = new AcceptorStateMachine(fsm.states, 'validate'); - this._haltHandlersOnError = false; - - AWS.SequentialExecutor.call(this); - this.emit = this.emitEvent; - }, - - /** - * @!group Sending a Request - */ - - /** - * @overload send(callback = null) - * Sends the request object. - * - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @context [AWS.Request] the request object being sent. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - * @example Sending a request with a callback - * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * request.send(function(err, data) { console.log(err, data); }); - * @example Sending a request with no callback (using event handlers) - * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * request.on('complete', function(response) { ... }); // register a callback - * request.send(); - */ - send: function send(callback) { - if (callback) { - // append to user agent - this.httpRequest.appendToUserAgent('callback'); - this.on('complete', function (resp) { - callback.call(resp, resp.error, resp.data); - }); - } - this.runTo(); - - return this.response; - }, - - /** - * @!method promise() - * Sends the request and returns a 'thenable' promise. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function(data) - * Called if the promise is fulfilled. - * @param data [Object] the de-serialized data returned from the request. - * @callback rejectedCallback function(error) - * Called if the promise is rejected. - * @param error [Error] the error object returned from the request. - * @return [Promise] A promise that represents the state of the request. - * @example Sending a request using promises. - * var request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * var result = request.promise(); - * result.then(function(data) { ... }, function(error) { ... }); - */ - - /** - * @api private - */ - build: function build(callback) { - return this.runTo('send', callback); - }, - - /** - * @api private - */ - runTo: function runTo(state, done) { - this._asm.runTo(state, done, this); - return this; - }, - - /** - * Aborts a request, emitting the error and complete events. - * - * @!macro nobrowser - * @example Aborting a request after sending - * var params = { - * Bucket: 'bucket', Key: 'key', - * Body: new Buffer(1024 * 1024 * 5) // 5MB payload - * }; - * var request = s3.putObject(params); - * request.send(function (err, data) { - * if (err) console.log("Error:", err.code, err.message); - * else console.log(data); - * }); - * - * // abort request in 1 second - * setTimeout(request.abort.bind(request), 1000); - * - * // prints "Error: RequestAbortedError Request aborted by user" - * @return [AWS.Request] the same request object, for chaining. - * @since v1.4.0 - */ - abort: function abort() { - this.removeAllListeners('validateResponse'); - this.removeAllListeners('extractError'); - this.on('validateResponse', function addAbortedError(resp) { - resp.error = AWS.util.error(new Error('Request aborted by user'), { - code: 'RequestAbortedError', retryable: false - }); - }); - - if (this.httpRequest.stream && !this.httpRequest.stream.didCallback) { // abort HTTP stream - this.httpRequest.stream.abort(); - if (this.httpRequest._abortCallback) { - this.httpRequest._abortCallback(); - } else { - this.removeAllListeners('send'); // haven't sent yet, so let's not - } - } - - return this; - }, - - /** - * Iterates over each page of results given a pageable request, calling - * the provided callback with each page of data. After all pages have been - * retrieved, the callback is called with `null` data. - * - * @note This operation can generate multiple requests to a service. - * @example Iterating over multiple pages of objects in an S3 bucket - * var pages = 1; - * s3.listObjects().eachPage(function(err, data) { - * if (err) return; - * console.log("Page", pages++); - * console.log(data); - * }); - * @example Iterating over multiple pages with an asynchronous callback - * s3.listObjects(params).eachPage(function(err, data, done) { - * doSomethingAsyncAndOrExpensive(function() { - * // The next page of results isn't fetched until done is called - * done(); - * }); - * }); - * @callback callback function(err, data, [doneCallback]) - * Called with each page of resulting data from the request. If the - * optional `doneCallback` is provided in the function, it must be called - * when the callback is complete. - * - * @param err [Error] an error object, if an error occurred. - * @param data [Object] a single page of response data. If there is no - * more data, this object will be `null`. - * @param doneCallback [Function] an optional done callback. If this - * argument is defined in the function declaration, it should be called - * when the next page is ready to be retrieved. This is useful for - * controlling serial pagination across asynchronous operations. - * @return [Boolean] if the callback returns `false`, pagination will - * stop. - * - * @see AWS.Request.eachItem - * @see AWS.Response.nextPage - * @since v1.4.0 - */ - eachPage: function eachPage(callback) { - // Make all callbacks async-ish - callback = AWS.util.fn.makeAsync(callback, 3); - - function wrappedCallback(response) { - callback.call(response, response.error, response.data, function (result) { - if (result === false) return; - - if (response.hasNextPage()) { - response.nextPage().on('complete', wrappedCallback).send(); - } else { - callback.call(response, null, null, AWS.util.fn.noop); - } - }); - } - - this.on('complete', wrappedCallback).send(); - }, - - /** - * Enumerates over individual items of a request, paging the responses if - * necessary. - * - * @api experimental - * @since v1.4.0 - */ - eachItem: function eachItem(callback) { - var self = this; - function wrappedCallback(err, data) { - if (err) return callback(err, null); - if (data === null) return callback(null, null); - - var config = self.service.paginationConfig(self.operation); - var resultKey = config.resultKey; - if (Array.isArray(resultKey)) resultKey = resultKey[0]; - var items = jmespath.search(data, resultKey); - var continueIteration = true; - AWS.util.arrayEach(items, function(item) { - continueIteration = callback(null, item); - if (continueIteration === false) { - return AWS.util.abort; - } - }); - return continueIteration; - } - - this.eachPage(wrappedCallback); - }, - - /** - * @return [Boolean] whether the operation can return multiple pages of - * response data. - * @see AWS.Response.eachPage - * @since v1.4.0 - */ - isPageable: function isPageable() { - return this.service.paginationConfig(this.operation) ? true : false; - }, - - /** - * Sends the request and converts the request object into a readable stream - * that can be read from or piped into a writable stream. - * - * @note The data read from a readable stream contains only - * the raw HTTP body contents. - * @example Manually reading from a stream - * request.createReadStream().on('data', function(data) { - * console.log("Got data:", data.toString()); - * }); - * @example Piping a request body into a file - * var out = fs.createWriteStream('/path/to/outfile.jpg'); - * s3.service.getObject(params).createReadStream().pipe(out); - * @return [Stream] the readable stream object that can be piped - * or read from (by registering 'data' event listeners). - * @!macro nobrowser - */ - createReadStream: function createReadStream() { - var streams = AWS.util.stream; - var req = this; - var stream = null; - - if (AWS.HttpClient.streamsApiVersion === 2) { - stream = new streams.PassThrough(); - process.nextTick(function() { req.send(); }); - } else { - stream = new streams.Stream(); - stream.readable = true; - - stream.sent = false; - stream.on('newListener', function(event) { - if (!stream.sent && event === 'data') { - stream.sent = true; - process.nextTick(function() { req.send(); }); - } - }); - } - - this.on('error', function(err) { - stream.emit('error', err); - }); - - this.on('httpHeaders', function streamHeaders(statusCode, headers, resp) { - if (statusCode < 300) { - req.removeListener('httpData', AWS.EventListeners.Core.HTTP_DATA); - req.removeListener('httpError', AWS.EventListeners.Core.HTTP_ERROR); - req.on('httpError', function streamHttpError(error) { - resp.error = error; - resp.error.retryable = false; - }); - - var shouldCheckContentLength = false; - var expectedLen; - if (req.httpRequest.method !== 'HEAD') { - expectedLen = parseInt(headers['content-length'], 10); - } - if (expectedLen !== undefined && !isNaN(expectedLen) && expectedLen >= 0) { - shouldCheckContentLength = true; - var receivedLen = 0; - } - - var checkContentLengthAndEmit = function checkContentLengthAndEmit() { - if (shouldCheckContentLength && receivedLen !== expectedLen) { - stream.emit('error', AWS.util.error( - new Error('Stream content length mismatch. Received ' + - receivedLen + ' of ' + expectedLen + ' bytes.'), - { code: 'StreamContentLengthMismatch' } - )); - } else if (AWS.HttpClient.streamsApiVersion === 2) { - stream.end(); - } else { - stream.emit('end'); - } - }; - - var httpStream = resp.httpResponse.createUnbufferedStream(); - - if (AWS.HttpClient.streamsApiVersion === 2) { - if (shouldCheckContentLength) { - var lengthAccumulator = new streams.PassThrough(); - lengthAccumulator._write = function(chunk) { - if (chunk && chunk.length) { - receivedLen += chunk.length; - } - return streams.PassThrough.prototype._write.apply(this, arguments); - }; - - lengthAccumulator.on('end', checkContentLengthAndEmit); - stream.on('error', function(err) { - shouldCheckContentLength = false; - httpStream.unpipe(lengthAccumulator); - lengthAccumulator.emit('end'); - lengthAccumulator.end(); - }); - httpStream.pipe(lengthAccumulator).pipe(stream, { end: false }); - } else { - httpStream.pipe(stream); - } - } else { - - if (shouldCheckContentLength) { - httpStream.on('data', function(arg) { - if (arg && arg.length) { - receivedLen += arg.length; - } - }); - } - - httpStream.on('data', function(arg) { - stream.emit('data', arg); - }); - httpStream.on('end', checkContentLengthAndEmit); - } - - httpStream.on('error', function(err) { - shouldCheckContentLength = false; - stream.emit('error', err); - }); - } - }); - - return stream; - }, - - /** - * @param [Array,Response] args This should be the response object, - * or an array of args to send to the event. - * @api private - */ - emitEvent: function emit(eventName, args, done) { - if (typeof args === 'function') { done = args; args = null; } - if (!done) done = function() { }; - if (!args) args = this.eventParameters(eventName, this.response); - - var origEmit = AWS.SequentialExecutor.prototype.emit; - origEmit.call(this, eventName, args, function (err) { - if (err) this.response.error = err; - done.call(this, err); - }); - }, - - /** - * @api private - */ - eventParameters: function eventParameters(eventName) { - switch (eventName) { - case 'restart': - case 'validate': - case 'sign': - case 'build': - case 'afterValidate': - case 'afterBuild': - return [this]; - case 'error': - return [this.response.error, this.response]; - default: - return [this.response]; - } - }, - - /** - * @api private - */ - presign: function presign(expires, callback) { - if (!callback && typeof expires === 'function') { - callback = expires; - expires = null; - } - return new AWS.Signers.Presign().sign(this.toGet(), expires, callback); - }, - - /** - * @api private - */ - isPresigned: function isPresigned() { - return Object.prototype.hasOwnProperty.call(this.httpRequest.headers, 'presigned-expires'); - }, - - /** - * @api private - */ - toUnauthenticated: function toUnauthenticated() { - this.removeListener('validate', AWS.EventListeners.Core.VALIDATE_CREDENTIALS); - this.removeListener('sign', AWS.EventListeners.Core.SIGN); - return this; - }, - - /** - * @api private - */ - toGet: function toGet() { - if (this.service.api.protocol === 'query' || - this.service.api.protocol === 'ec2') { - this.removeListener('build', this.buildAsGet); - this.addListener('build', this.buildAsGet); - } - return this; - }, - - /** - * @api private - */ - buildAsGet: function buildAsGet(request) { - request.httpRequest.method = 'GET'; - request.httpRequest.path = request.service.endpoint.path + - '?' + request.httpRequest.body; - request.httpRequest.body = ''; - - // don't need these headers on a GET request - delete request.httpRequest.headers['Content-Length']; - delete request.httpRequest.headers['Content-Type']; - }, - - /** - * @api private - */ - haltHandlersOnError: function haltHandlersOnError() { - this._haltHandlersOnError = true; - } - }); - - /** - * @api private - */ - AWS.Request.addPromisesToClass = function addPromisesToClass(PromiseDependency) { - this.prototype.promise = function promise() { - var self = this; - // append to user agent - this.httpRequest.appendToUserAgent('promise'); - return new PromiseDependency(function(resolve, reject) { - self.on('complete', function(resp) { - if (resp.error) { - reject(resp.error); - } else { - // define $response property so that it is not enumberable - // this prevents circular reference errors when stringifying the JSON object - resolve(Object.defineProperty( - resp.data || {}, - '$response', - {value: resp} - )); - } - }); - self.runTo(); - }); - }; - }; - - /** - * @api private - */ - AWS.Request.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.promise; - }; - - AWS.util.addPromises(AWS.Request); - - AWS.util.mixin(AWS.Request, AWS.SequentialExecutor); - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3))) - -/***/ }), -/* 209 */ -/***/ (function(module, exports) { - - function AcceptorStateMachine(states, state) { - this.currentState = state || null; - this.states = states || {}; - } - - AcceptorStateMachine.prototype.runTo = function runTo(finalState, done, bindObject, inputError) { - if (typeof finalState === 'function') { - inputError = bindObject; bindObject = done; - done = finalState; finalState = null; - } - - var self = this; - var state = self.states[self.currentState]; - state.fn.call(bindObject || self, inputError, function(err) { - if (err) { - if (state.fail) self.currentState = state.fail; - else return done ? done.call(bindObject, err) : null; - } else { - if (state.accept) self.currentState = state.accept; - else return done ? done.call(bindObject) : null; - } - if (self.currentState === finalState) { - return done ? done.call(bindObject, err) : null; - } - - self.runTo(finalState, done, bindObject, err); - }); - }; - - AcceptorStateMachine.prototype.addState = function addState(name, acceptState, failState, fn) { - if (typeof acceptState === 'function') { - fn = acceptState; acceptState = null; failState = null; - } else if (typeof failState === 'function') { - fn = failState; failState = null; - } - - if (!this.currentState) this.currentState = name; - this.states[name] = { accept: acceptState, fail: failState, fn: fn }; - return this; - }; - - module.exports = AcceptorStateMachine; - - -/***/ }), -/* 210 */ -/***/ (function(module, exports, __webpack_require__) { - - (function(exports) { - "use strict"; - - function isArray(obj) { - if (obj !== null) { - return Object.prototype.toString.call(obj) === "[object Array]"; - } else { - return false; - } - } - - function isObject(obj) { - if (obj !== null) { - return Object.prototype.toString.call(obj) === "[object Object]"; - } else { - return false; - } - } - - function strictDeepEqual(first, second) { - // Check the scalar case first. - if (first === second) { - return true; - } - - // Check if they are the same type. - var firstType = Object.prototype.toString.call(first); - if (firstType !== Object.prototype.toString.call(second)) { - return false; - } - // We know that first and second have the same type so we can just check the - // first type from now on. - if (isArray(first) === true) { - // Short circuit if they're not the same length; - if (first.length !== second.length) { - return false; - } - for (var i = 0; i < first.length; i++) { - if (strictDeepEqual(first[i], second[i]) === false) { - return false; - } - } - return true; - } - if (isObject(first) === true) { - // An object is equal if it has the same key/value pairs. - var keysSeen = {}; - for (var key in first) { - if (hasOwnProperty.call(first, key)) { - if (strictDeepEqual(first[key], second[key]) === false) { - return false; - } - keysSeen[key] = true; - } - } - // Now check that there aren't any keys in second that weren't - // in first. - for (var key2 in second) { - if (hasOwnProperty.call(second, key2)) { - if (keysSeen[key2] !== true) { - return false; - } - } - } - return true; - } - return false; - } - - function isFalse(obj) { - // From the spec: - // A false value corresponds to the following values: - // Empty list - // Empty object - // Empty string - // False boolean - // null value - - // First check the scalar values. - if (obj === "" || obj === false || obj === null) { - return true; - } else if (isArray(obj) && obj.length === 0) { - // Check for an empty array. - return true; - } else if (isObject(obj)) { - // Check for an empty object. - for (var key in obj) { - // If there are any keys, then - // the object is not empty so the object - // is not false. - if (obj.hasOwnProperty(key)) { - return false; - } - } - return true; - } else { - return false; - } - } - - function objValues(obj) { - var keys = Object.keys(obj); - var values = []; - for (var i = 0; i < keys.length; i++) { - values.push(obj[keys[i]]); - } - return values; - } - - function merge(a, b) { - var merged = {}; - for (var key in a) { - merged[key] = a[key]; - } - for (var key2 in b) { - merged[key2] = b[key2]; - } - return merged; - } - - var trimLeft; - if (typeof String.prototype.trimLeft === "function") { - trimLeft = function(str) { - return str.trimLeft(); - }; - } else { - trimLeft = function(str) { - return str.match(/^\s*(.*)/)[1]; - }; - } - - // Type constants used to define functions. - var TYPE_NUMBER = 0; - var TYPE_ANY = 1; - var TYPE_STRING = 2; - var TYPE_ARRAY = 3; - var TYPE_OBJECT = 4; - var TYPE_BOOLEAN = 5; - var TYPE_EXPREF = 6; - var TYPE_NULL = 7; - var TYPE_ARRAY_NUMBER = 8; - var TYPE_ARRAY_STRING = 9; - - var TOK_EOF = "EOF"; - var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; - var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier"; - var TOK_RBRACKET = "Rbracket"; - var TOK_RPAREN = "Rparen"; - var TOK_COMMA = "Comma"; - var TOK_COLON = "Colon"; - var TOK_RBRACE = "Rbrace"; - var TOK_NUMBER = "Number"; - var TOK_CURRENT = "Current"; - var TOK_EXPREF = "Expref"; - var TOK_PIPE = "Pipe"; - var TOK_OR = "Or"; - var TOK_AND = "And"; - var TOK_EQ = "EQ"; - var TOK_GT = "GT"; - var TOK_LT = "LT"; - var TOK_GTE = "GTE"; - var TOK_LTE = "LTE"; - var TOK_NE = "NE"; - var TOK_FLATTEN = "Flatten"; - var TOK_STAR = "Star"; - var TOK_FILTER = "Filter"; - var TOK_DOT = "Dot"; - var TOK_NOT = "Not"; - var TOK_LBRACE = "Lbrace"; - var TOK_LBRACKET = "Lbracket"; - var TOK_LPAREN= "Lparen"; - var TOK_LITERAL= "Literal"; - - // The "&", "[", "<", ">" tokens - // are not in basicToken because - // there are two token variants - // ("&&", "[?", "<=", ">="). This is specially handled - // below. - - var basicTokens = { - ".": TOK_DOT, - "*": TOK_STAR, - ",": TOK_COMMA, - ":": TOK_COLON, - "{": TOK_LBRACE, - "}": TOK_RBRACE, - "]": TOK_RBRACKET, - "(": TOK_LPAREN, - ")": TOK_RPAREN, - "@": TOK_CURRENT - }; - - var operatorStartToken = { - "<": true, - ">": true, - "=": true, - "!": true - }; - - var skipChars = { - " ": true, - "\t": true, - "\n": true - }; - - - function isAlpha(ch) { - return (ch >= "a" && ch <= "z") || - (ch >= "A" && ch <= "Z") || - ch === "_"; - } - - function isNum(ch) { - return (ch >= "0" && ch <= "9") || - ch === "-"; - } - function isAlphaNum(ch) { - return (ch >= "a" && ch <= "z") || - (ch >= "A" && ch <= "Z") || - (ch >= "0" && ch <= "9") || - ch === "_"; - } - - function Lexer() { - } - Lexer.prototype = { - tokenize: function(stream) { - var tokens = []; - this._current = 0; - var start; - var identifier; - var token; - while (this._current < stream.length) { - if (isAlpha(stream[this._current])) { - start = this._current; - identifier = this._consumeUnquotedIdentifier(stream); - tokens.push({type: TOK_UNQUOTEDIDENTIFIER, - value: identifier, - start: start}); - } else if (basicTokens[stream[this._current]] !== undefined) { - tokens.push({type: basicTokens[stream[this._current]], - value: stream[this._current], - start: this._current}); - this._current++; - } else if (isNum(stream[this._current])) { - token = this._consumeNumber(stream); - tokens.push(token); - } else if (stream[this._current] === "[") { - // No need to increment this._current. This happens - // in _consumeLBracket - token = this._consumeLBracket(stream); - tokens.push(token); - } else if (stream[this._current] === "\"") { - start = this._current; - identifier = this._consumeQuotedIdentifier(stream); - tokens.push({type: TOK_QUOTEDIDENTIFIER, - value: identifier, - start: start}); - } else if (stream[this._current] === "'") { - start = this._current; - identifier = this._consumeRawStringLiteral(stream); - tokens.push({type: TOK_LITERAL, - value: identifier, - start: start}); - } else if (stream[this._current] === "`") { - start = this._current; - var literal = this._consumeLiteral(stream); - tokens.push({type: TOK_LITERAL, - value: literal, - start: start}); - } else if (operatorStartToken[stream[this._current]] !== undefined) { - tokens.push(this._consumeOperator(stream)); - } else if (skipChars[stream[this._current]] !== undefined) { - // Ignore whitespace. - this._current++; - } else if (stream[this._current] === "&") { - start = this._current; - this._current++; - if (stream[this._current] === "&") { - this._current++; - tokens.push({type: TOK_AND, value: "&&", start: start}); - } else { - tokens.push({type: TOK_EXPREF, value: "&", start: start}); - } - } else if (stream[this._current] === "|") { - start = this._current; - this._current++; - if (stream[this._current] === "|") { - this._current++; - tokens.push({type: TOK_OR, value: "||", start: start}); - } else { - tokens.push({type: TOK_PIPE, value: "|", start: start}); - } - } else { - var error = new Error("Unknown character:" + stream[this._current]); - error.name = "LexerError"; - throw error; - } - } - return tokens; - }, - - _consumeUnquotedIdentifier: function(stream) { - var start = this._current; - this._current++; - while (this._current < stream.length && isAlphaNum(stream[this._current])) { - this._current++; - } - return stream.slice(start, this._current); - }, - - _consumeQuotedIdentifier: function(stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (stream[this._current] !== "\"" && this._current < maxLength) { - // You can escape a double quote and you can escape an escape. - var current = this._current; - if (stream[current] === "\\" && (stream[current + 1] === "\\" || - stream[current + 1] === "\"")) { - current += 2; - } else { - current++; - } - this._current = current; - } - this._current++; - return JSON.parse(stream.slice(start, this._current)); - }, - - _consumeRawStringLiteral: function(stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (stream[this._current] !== "'" && this._current < maxLength) { - // You can escape a single quote and you can escape an escape. - var current = this._current; - if (stream[current] === "\\" && (stream[current + 1] === "\\" || - stream[current + 1] === "'")) { - current += 2; - } else { - current++; - } - this._current = current; - } - this._current++; - var literal = stream.slice(start + 1, this._current - 1); - return literal.replace("\\'", "'"); - }, - - _consumeNumber: function(stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (isNum(stream[this._current]) && this._current < maxLength) { - this._current++; - } - var value = parseInt(stream.slice(start, this._current)); - return {type: TOK_NUMBER, value: value, start: start}; - }, - - _consumeLBracket: function(stream) { - var start = this._current; - this._current++; - if (stream[this._current] === "?") { - this._current++; - return {type: TOK_FILTER, value: "[?", start: start}; - } else if (stream[this._current] === "]") { - this._current++; - return {type: TOK_FLATTEN, value: "[]", start: start}; - } else { - return {type: TOK_LBRACKET, value: "[", start: start}; - } - }, - - _consumeOperator: function(stream) { - var start = this._current; - var startingChar = stream[start]; - this._current++; - if (startingChar === "!") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_NE, value: "!=", start: start}; - } else { - return {type: TOK_NOT, value: "!", start: start}; - } - } else if (startingChar === "<") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_LTE, value: "<=", start: start}; - } else { - return {type: TOK_LT, value: "<", start: start}; - } - } else if (startingChar === ">") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_GTE, value: ">=", start: start}; - } else { - return {type: TOK_GT, value: ">", start: start}; - } - } else if (startingChar === "=") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_EQ, value: "==", start: start}; - } - } - }, - - _consumeLiteral: function(stream) { - this._current++; - var start = this._current; - var maxLength = stream.length; - var literal; - while(stream[this._current] !== "`" && this._current < maxLength) { - // You can escape a literal char or you can escape the escape. - var current = this._current; - if (stream[current] === "\\" && (stream[current + 1] === "\\" || - stream[current + 1] === "`")) { - current += 2; - } else { - current++; - } - this._current = current; - } - var literalString = trimLeft(stream.slice(start, this._current)); - literalString = literalString.replace("\\`", "`"); - if (this._looksLikeJSON(literalString)) { - literal = JSON.parse(literalString); - } else { - // Try to JSON parse it as "" - literal = JSON.parse("\"" + literalString + "\""); - } - // +1 gets us to the ending "`", +1 to move on to the next char. - this._current++; - return literal; - }, - - _looksLikeJSON: function(literalString) { - var startingChars = "[{\""; - var jsonLiterals = ["true", "false", "null"]; - var numberLooking = "-0123456789"; - - if (literalString === "") { - return false; - } else if (startingChars.indexOf(literalString[0]) >= 0) { - return true; - } else if (jsonLiterals.indexOf(literalString) >= 0) { - return true; - } else if (numberLooking.indexOf(literalString[0]) >= 0) { - try { - JSON.parse(literalString); - return true; - } catch (ex) { - return false; - } - } else { - return false; - } - } - }; - - var bindingPower = {}; - bindingPower[TOK_EOF] = 0; - bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0; - bindingPower[TOK_QUOTEDIDENTIFIER] = 0; - bindingPower[TOK_RBRACKET] = 0; - bindingPower[TOK_RPAREN] = 0; - bindingPower[TOK_COMMA] = 0; - bindingPower[TOK_RBRACE] = 0; - bindingPower[TOK_NUMBER] = 0; - bindingPower[TOK_CURRENT] = 0; - bindingPower[TOK_EXPREF] = 0; - bindingPower[TOK_PIPE] = 1; - bindingPower[TOK_OR] = 2; - bindingPower[TOK_AND] = 3; - bindingPower[TOK_EQ] = 5; - bindingPower[TOK_GT] = 5; - bindingPower[TOK_LT] = 5; - bindingPower[TOK_GTE] = 5; - bindingPower[TOK_LTE] = 5; - bindingPower[TOK_NE] = 5; - bindingPower[TOK_FLATTEN] = 9; - bindingPower[TOK_STAR] = 20; - bindingPower[TOK_FILTER] = 21; - bindingPower[TOK_DOT] = 40; - bindingPower[TOK_NOT] = 45; - bindingPower[TOK_LBRACE] = 50; - bindingPower[TOK_LBRACKET] = 55; - bindingPower[TOK_LPAREN] = 60; - - function Parser() { - } - - Parser.prototype = { - parse: function(expression) { - this._loadTokens(expression); - this.index = 0; - var ast = this.expression(0); - if (this._lookahead(0) !== TOK_EOF) { - var t = this._lookaheadToken(0); - var error = new Error( - "Unexpected token type: " + t.type + ", value: " + t.value); - error.name = "ParserError"; - throw error; - } - return ast; - }, - - _loadTokens: function(expression) { - var lexer = new Lexer(); - var tokens = lexer.tokenize(expression); - tokens.push({type: TOK_EOF, value: "", start: expression.length}); - this.tokens = tokens; - }, - - expression: function(rbp) { - var leftToken = this._lookaheadToken(0); - this._advance(); - var left = this.nud(leftToken); - var currentToken = this._lookahead(0); - while (rbp < bindingPower[currentToken]) { - this._advance(); - left = this.led(currentToken, left); - currentToken = this._lookahead(0); - } - return left; - }, - - _lookahead: function(number) { - return this.tokens[this.index + number].type; - }, - - _lookaheadToken: function(number) { - return this.tokens[this.index + number]; - }, - - _advance: function() { - this.index++; - }, - - nud: function(token) { - var left; - var right; - var expression; - switch (token.type) { - case TOK_LITERAL: - return {type: "Literal", value: token.value}; - case TOK_UNQUOTEDIDENTIFIER: - return {type: "Field", name: token.value}; - case TOK_QUOTEDIDENTIFIER: - var node = {type: "Field", name: token.value}; - if (this._lookahead(0) === TOK_LPAREN) { - throw new Error("Quoted identifier not allowed for function names."); - } else { - return node; - } - break; - case TOK_NOT: - right = this.expression(bindingPower.Not); - return {type: "NotExpression", children: [right]}; - case TOK_STAR: - left = {type: "Identity"}; - right = null; - if (this._lookahead(0) === TOK_RBRACKET) { - // This can happen in a multiselect, - // [a, b, *] - right = {type: "Identity"}; - } else { - right = this._parseProjectionRHS(bindingPower.Star); - } - return {type: "ValueProjection", children: [left, right]}; - case TOK_FILTER: - return this.led(token.type, {type: "Identity"}); - case TOK_LBRACE: - return this._parseMultiselectHash(); - case TOK_FLATTEN: - left = {type: TOK_FLATTEN, children: [{type: "Identity"}]}; - right = this._parseProjectionRHS(bindingPower.Flatten); - return {type: "Projection", children: [left, right]}; - case TOK_LBRACKET: - if (this._lookahead(0) === TOK_NUMBER || this._lookahead(0) === TOK_COLON) { - right = this._parseIndexExpression(); - return this._projectIfSlice({type: "Identity"}, right); - } else if (this._lookahead(0) === TOK_STAR && - this._lookahead(1) === TOK_RBRACKET) { - this._advance(); - this._advance(); - right = this._parseProjectionRHS(bindingPower.Star); - return {type: "Projection", - children: [{type: "Identity"}, right]}; - } else { - return this._parseMultiselectList(); - } - break; - case TOK_CURRENT: - return {type: TOK_CURRENT}; - case TOK_EXPREF: - expression = this.expression(bindingPower.Expref); - return {type: "ExpressionReference", children: [expression]}; - case TOK_LPAREN: - var args = []; - while (this._lookahead(0) !== TOK_RPAREN) { - if (this._lookahead(0) === TOK_CURRENT) { - expression = {type: TOK_CURRENT}; - this._advance(); - } else { - expression = this.expression(0); - } - args.push(expression); - } - this._match(TOK_RPAREN); - return args[0]; - default: - this._errorToken(token); - } - }, - - led: function(tokenName, left) { - var right; - switch(tokenName) { - case TOK_DOT: - var rbp = bindingPower.Dot; - if (this._lookahead(0) !== TOK_STAR) { - right = this._parseDotRHS(rbp); - return {type: "Subexpression", children: [left, right]}; - } else { - // Creating a projection. - this._advance(); - right = this._parseProjectionRHS(rbp); - return {type: "ValueProjection", children: [left, right]}; - } - break; - case TOK_PIPE: - right = this.expression(bindingPower.Pipe); - return {type: TOK_PIPE, children: [left, right]}; - case TOK_OR: - right = this.expression(bindingPower.Or); - return {type: "OrExpression", children: [left, right]}; - case TOK_AND: - right = this.expression(bindingPower.And); - return {type: "AndExpression", children: [left, right]}; - case TOK_LPAREN: - var name = left.name; - var args = []; - var expression, node; - while (this._lookahead(0) !== TOK_RPAREN) { - if (this._lookahead(0) === TOK_CURRENT) { - expression = {type: TOK_CURRENT}; - this._advance(); - } else { - expression = this.expression(0); - } - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - } - args.push(expression); - } - this._match(TOK_RPAREN); - node = {type: "Function", name: name, children: args}; - return node; - case TOK_FILTER: - var condition = this.expression(0); - this._match(TOK_RBRACKET); - if (this._lookahead(0) === TOK_FLATTEN) { - right = {type: "Identity"}; - } else { - right = this._parseProjectionRHS(bindingPower.Filter); - } - return {type: "FilterProjection", children: [left, right, condition]}; - case TOK_FLATTEN: - var leftNode = {type: TOK_FLATTEN, children: [left]}; - var rightNode = this._parseProjectionRHS(bindingPower.Flatten); - return {type: "Projection", children: [leftNode, rightNode]}; - case TOK_EQ: - case TOK_NE: - case TOK_GT: - case TOK_GTE: - case TOK_LT: - case TOK_LTE: - return this._parseComparator(left, tokenName); - case TOK_LBRACKET: - var token = this._lookaheadToken(0); - if (token.type === TOK_NUMBER || token.type === TOK_COLON) { - right = this._parseIndexExpression(); - return this._projectIfSlice(left, right); - } else { - this._match(TOK_STAR); - this._match(TOK_RBRACKET); - right = this._parseProjectionRHS(bindingPower.Star); - return {type: "Projection", children: [left, right]}; - } - break; - default: - this._errorToken(this._lookaheadToken(0)); - } - }, - - _match: function(tokenType) { - if (this._lookahead(0) === tokenType) { - this._advance(); - } else { - var t = this._lookaheadToken(0); - var error = new Error("Expected " + tokenType + ", got: " + t.type); - error.name = "ParserError"; - throw error; - } - }, - - _errorToken: function(token) { - var error = new Error("Invalid token (" + - token.type + "): \"" + - token.value + "\""); - error.name = "ParserError"; - throw error; - }, - - - _parseIndexExpression: function() { - if (this._lookahead(0) === TOK_COLON || this._lookahead(1) === TOK_COLON) { - return this._parseSliceExpression(); - } else { - var node = { - type: "Index", - value: this._lookaheadToken(0).value}; - this._advance(); - this._match(TOK_RBRACKET); - return node; - } - }, - - _projectIfSlice: function(left, right) { - var indexExpr = {type: "IndexExpression", children: [left, right]}; - if (right.type === "Slice") { - return { - type: "Projection", - children: [indexExpr, this._parseProjectionRHS(bindingPower.Star)] - }; - } else { - return indexExpr; - } - }, - - _parseSliceExpression: function() { - // [start:end:step] where each part is optional, as well as the last - // colon. - var parts = [null, null, null]; - var index = 0; - var currentToken = this._lookahead(0); - while (currentToken !== TOK_RBRACKET && index < 3) { - if (currentToken === TOK_COLON) { - index++; - this._advance(); - } else if (currentToken === TOK_NUMBER) { - parts[index] = this._lookaheadToken(0).value; - this._advance(); - } else { - var t = this._lookahead(0); - var error = new Error("Syntax error, unexpected token: " + - t.value + "(" + t.type + ")"); - error.name = "Parsererror"; - throw error; - } - currentToken = this._lookahead(0); - } - this._match(TOK_RBRACKET); - return { - type: "Slice", - children: parts - }; - }, - - _parseComparator: function(left, comparator) { - var right = this.expression(bindingPower[comparator]); - return {type: "Comparator", name: comparator, children: [left, right]}; - }, - - _parseDotRHS: function(rbp) { - var lookahead = this._lookahead(0); - var exprTokens = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER, TOK_STAR]; - if (exprTokens.indexOf(lookahead) >= 0) { - return this.expression(rbp); - } else if (lookahead === TOK_LBRACKET) { - this._match(TOK_LBRACKET); - return this._parseMultiselectList(); - } else if (lookahead === TOK_LBRACE) { - this._match(TOK_LBRACE); - return this._parseMultiselectHash(); - } - }, - - _parseProjectionRHS: function(rbp) { - var right; - if (bindingPower[this._lookahead(0)] < 10) { - right = {type: "Identity"}; - } else if (this._lookahead(0) === TOK_LBRACKET) { - right = this.expression(rbp); - } else if (this._lookahead(0) === TOK_FILTER) { - right = this.expression(rbp); - } else if (this._lookahead(0) === TOK_DOT) { - this._match(TOK_DOT); - right = this._parseDotRHS(rbp); - } else { - var t = this._lookaheadToken(0); - var error = new Error("Sytanx error, unexpected token: " + - t.value + "(" + t.type + ")"); - error.name = "ParserError"; - throw error; - } - return right; - }, - - _parseMultiselectList: function() { - var expressions = []; - while (this._lookahead(0) !== TOK_RBRACKET) { - var expression = this.expression(0); - expressions.push(expression); - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - if (this._lookahead(0) === TOK_RBRACKET) { - throw new Error("Unexpected token Rbracket"); - } - } - } - this._match(TOK_RBRACKET); - return {type: "MultiSelectList", children: expressions}; - }, - - _parseMultiselectHash: function() { - var pairs = []; - var identifierTypes = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER]; - var keyToken, keyName, value, node; - for (;;) { - keyToken = this._lookaheadToken(0); - if (identifierTypes.indexOf(keyToken.type) < 0) { - throw new Error("Expecting an identifier token, got: " + - keyToken.type); - } - keyName = keyToken.value; - this._advance(); - this._match(TOK_COLON); - value = this.expression(0); - node = {type: "KeyValuePair", name: keyName, value: value}; - pairs.push(node); - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - } else if (this._lookahead(0) === TOK_RBRACE) { - this._match(TOK_RBRACE); - break; - } - } - return {type: "MultiSelectHash", children: pairs}; - } - }; - - - function TreeInterpreter(runtime) { - this.runtime = runtime; - } - - TreeInterpreter.prototype = { - search: function(node, value) { - return this.visit(node, value); - }, - - visit: function(node, value) { - var matched, current, result, first, second, field, left, right, collected, i; - switch (node.type) { - case "Field": - if (value === null ) { - return null; - } else if (isObject(value)) { - field = value[node.name]; - if (field === undefined) { - return null; - } else { - return field; - } - } else { - return null; - } - break; - case "Subexpression": - result = this.visit(node.children[0], value); - for (i = 1; i < node.children.length; i++) { - result = this.visit(node.children[1], result); - if (result === null) { - return null; - } - } - return result; - case "IndexExpression": - left = this.visit(node.children[0], value); - right = this.visit(node.children[1], left); - return right; - case "Index": - if (!isArray(value)) { - return null; - } - var index = node.value; - if (index < 0) { - index = value.length + index; - } - result = value[index]; - if (result === undefined) { - result = null; - } - return result; - case "Slice": - if (!isArray(value)) { - return null; - } - var sliceParams = node.children.slice(0); - var computed = this.computeSliceParams(value.length, sliceParams); - var start = computed[0]; - var stop = computed[1]; - var step = computed[2]; - result = []; - if (step > 0) { - for (i = start; i < stop; i += step) { - result.push(value[i]); - } - } else { - for (i = start; i > stop; i += step) { - result.push(value[i]); - } - } - return result; - case "Projection": - // Evaluate left child. - var base = this.visit(node.children[0], value); - if (!isArray(base)) { - return null; - } - collected = []; - for (i = 0; i < base.length; i++) { - current = this.visit(node.children[1], base[i]); - if (current !== null) { - collected.push(current); - } - } - return collected; - case "ValueProjection": - // Evaluate left child. - base = this.visit(node.children[0], value); - if (!isObject(base)) { - return null; - } - collected = []; - var values = objValues(base); - for (i = 0; i < values.length; i++) { - current = this.visit(node.children[1], values[i]); - if (current !== null) { - collected.push(current); - } - } - return collected; - case "FilterProjection": - base = this.visit(node.children[0], value); - if (!isArray(base)) { - return null; - } - var filtered = []; - var finalResults = []; - for (i = 0; i < base.length; i++) { - matched = this.visit(node.children[2], base[i]); - if (!isFalse(matched)) { - filtered.push(base[i]); - } - } - for (var j = 0; j < filtered.length; j++) { - current = this.visit(node.children[1], filtered[j]); - if (current !== null) { - finalResults.push(current); - } - } - return finalResults; - case "Comparator": - first = this.visit(node.children[0], value); - second = this.visit(node.children[1], value); - switch(node.name) { - case TOK_EQ: - result = strictDeepEqual(first, second); - break; - case TOK_NE: - result = !strictDeepEqual(first, second); - break; - case TOK_GT: - result = first > second; - break; - case TOK_GTE: - result = first >= second; - break; - case TOK_LT: - result = first < second; - break; - case TOK_LTE: - result = first <= second; - break; - default: - throw new Error("Unknown comparator: " + node.name); - } - return result; - case TOK_FLATTEN: - var original = this.visit(node.children[0], value); - if (!isArray(original)) { - return null; - } - var merged = []; - for (i = 0; i < original.length; i++) { - current = original[i]; - if (isArray(current)) { - merged.push.apply(merged, current); - } else { - merged.push(current); - } - } - return merged; - case "Identity": - return value; - case "MultiSelectList": - if (value === null) { - return null; - } - collected = []; - for (i = 0; i < node.children.length; i++) { - collected.push(this.visit(node.children[i], value)); - } - return collected; - case "MultiSelectHash": - if (value === null) { - return null; - } - collected = {}; - var child; - for (i = 0; i < node.children.length; i++) { - child = node.children[i]; - collected[child.name] = this.visit(child.value, value); - } - return collected; - case "OrExpression": - matched = this.visit(node.children[0], value); - if (isFalse(matched)) { - matched = this.visit(node.children[1], value); - } - return matched; - case "AndExpression": - first = this.visit(node.children[0], value); - - if (isFalse(first) === true) { - return first; - } - return this.visit(node.children[1], value); - case "NotExpression": - first = this.visit(node.children[0], value); - return isFalse(first); - case "Literal": - return node.value; - case TOK_PIPE: - left = this.visit(node.children[0], value); - return this.visit(node.children[1], left); - case TOK_CURRENT: - return value; - case "Function": - var resolvedArgs = []; - for (i = 0; i < node.children.length; i++) { - resolvedArgs.push(this.visit(node.children[i], value)); - } - return this.runtime.callFunction(node.name, resolvedArgs); - case "ExpressionReference": - var refNode = node.children[0]; - // Tag the node with a specific attribute so the type - // checker verify the type. - refNode.jmespathType = TOK_EXPREF; - return refNode; - default: - throw new Error("Unknown node type: " + node.type); - } - }, - - computeSliceParams: function(arrayLength, sliceParams) { - var start = sliceParams[0]; - var stop = sliceParams[1]; - var step = sliceParams[2]; - var computed = [null, null, null]; - if (step === null) { - step = 1; - } else if (step === 0) { - var error = new Error("Invalid slice, step cannot be 0"); - error.name = "RuntimeError"; - throw error; - } - var stepValueNegative = step < 0 ? true : false; - - if (start === null) { - start = stepValueNegative ? arrayLength - 1 : 0; - } else { - start = this.capSliceRange(arrayLength, start, step); - } - - if (stop === null) { - stop = stepValueNegative ? -1 : arrayLength; - } else { - stop = this.capSliceRange(arrayLength, stop, step); - } - computed[0] = start; - computed[1] = stop; - computed[2] = step; - return computed; - }, - - capSliceRange: function(arrayLength, actualValue, step) { - if (actualValue < 0) { - actualValue += arrayLength; - if (actualValue < 0) { - actualValue = step < 0 ? -1 : 0; - } - } else if (actualValue >= arrayLength) { - actualValue = step < 0 ? arrayLength - 1 : arrayLength; - } - return actualValue; - } - - }; - - function Runtime(interpreter) { - this._interpreter = interpreter; - this.functionTable = { - // name: [function, ] - // The can be: - // - // { - // args: [[type1, type2], [type1, type2]], - // variadic: true|false - // } - // - // Each arg in the arg list is a list of valid types - // (if the function is overloaded and supports multiple - // types. If the type is "any" then no type checking - // occurs on the argument. Variadic is optional - // and if not provided is assumed to be false. - abs: {_func: this._functionAbs, _signature: [{types: [TYPE_NUMBER]}]}, - avg: {_func: this._functionAvg, _signature: [{types: [TYPE_ARRAY_NUMBER]}]}, - ceil: {_func: this._functionCeil, _signature: [{types: [TYPE_NUMBER]}]}, - contains: { - _func: this._functionContains, - _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}, - {types: [TYPE_ANY]}]}, - "ends_with": { - _func: this._functionEndsWith, - _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]}, - floor: {_func: this._functionFloor, _signature: [{types: [TYPE_NUMBER]}]}, - length: { - _func: this._functionLength, - _signature: [{types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT]}]}, - map: { - _func: this._functionMap, - _signature: [{types: [TYPE_EXPREF]}, {types: [TYPE_ARRAY]}]}, - max: { - _func: this._functionMax, - _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]}, - "merge": { - _func: this._functionMerge, - _signature: [{types: [TYPE_OBJECT], variadic: true}] - }, - "max_by": { - _func: this._functionMaxBy, - _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] - }, - sum: {_func: this._functionSum, _signature: [{types: [TYPE_ARRAY_NUMBER]}]}, - "starts_with": { - _func: this._functionStartsWith, - _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]}, - min: { - _func: this._functionMin, - _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]}, - "min_by": { - _func: this._functionMinBy, - _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] - }, - type: {_func: this._functionType, _signature: [{types: [TYPE_ANY]}]}, - keys: {_func: this._functionKeys, _signature: [{types: [TYPE_OBJECT]}]}, - values: {_func: this._functionValues, _signature: [{types: [TYPE_OBJECT]}]}, - sort: {_func: this._functionSort, _signature: [{types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER]}]}, - "sort_by": { - _func: this._functionSortBy, - _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] - }, - join: { - _func: this._functionJoin, - _signature: [ - {types: [TYPE_STRING]}, - {types: [TYPE_ARRAY_STRING]} - ] - }, - reverse: { - _func: this._functionReverse, - _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}]}, - "to_array": {_func: this._functionToArray, _signature: [{types: [TYPE_ANY]}]}, - "to_string": {_func: this._functionToString, _signature: [{types: [TYPE_ANY]}]}, - "to_number": {_func: this._functionToNumber, _signature: [{types: [TYPE_ANY]}]}, - "not_null": { - _func: this._functionNotNull, - _signature: [{types: [TYPE_ANY], variadic: true}] - } - }; - } - - Runtime.prototype = { - callFunction: function(name, resolvedArgs) { - var functionEntry = this.functionTable[name]; - if (functionEntry === undefined) { - throw new Error("Unknown function: " + name + "()"); - } - this._validateArgs(name, resolvedArgs, functionEntry._signature); - return functionEntry._func.call(this, resolvedArgs); - }, - - _validateArgs: function(name, args, signature) { - // Validating the args requires validating - // the correct arity and the correct type of each arg. - // If the last argument is declared as variadic, then we need - // a minimum number of args to be required. Otherwise it has to - // be an exact amount. - var pluralized; - if (signature[signature.length - 1].variadic) { - if (args.length < signature.length) { - pluralized = signature.length === 1 ? " argument" : " arguments"; - throw new Error("ArgumentError: " + name + "() " + - "takes at least" + signature.length + pluralized + - " but received " + args.length); - } - } else if (args.length !== signature.length) { - pluralized = signature.length === 1 ? " argument" : " arguments"; - throw new Error("ArgumentError: " + name + "() " + - "takes " + signature.length + pluralized + - " but received " + args.length); - } - var currentSpec; - var actualType; - var typeMatched; - for (var i = 0; i < signature.length; i++) { - typeMatched = false; - currentSpec = signature[i].types; - actualType = this._getTypeName(args[i]); - for (var j = 0; j < currentSpec.length; j++) { - if (this._typeMatches(actualType, currentSpec[j], args[i])) { - typeMatched = true; - break; - } - } - if (!typeMatched) { - throw new Error("TypeError: " + name + "() " + - "expected argument " + (i + 1) + - " to be type " + currentSpec + - " but received type " + actualType + - " instead."); - } - } - }, - - _typeMatches: function(actual, expected, argValue) { - if (expected === TYPE_ANY) { - return true; - } - if (expected === TYPE_ARRAY_STRING || - expected === TYPE_ARRAY_NUMBER || - expected === TYPE_ARRAY) { - // The expected type can either just be array, - // or it can require a specific subtype (array of numbers). - // - // The simplest case is if "array" with no subtype is specified. - if (expected === TYPE_ARRAY) { - return actual === TYPE_ARRAY; - } else if (actual === TYPE_ARRAY) { - // Otherwise we need to check subtypes. - // I think this has potential to be improved. - var subtype; - if (expected === TYPE_ARRAY_NUMBER) { - subtype = TYPE_NUMBER; - } else if (expected === TYPE_ARRAY_STRING) { - subtype = TYPE_STRING; - } - for (var i = 0; i < argValue.length; i++) { - if (!this._typeMatches( - this._getTypeName(argValue[i]), subtype, - argValue[i])) { - return false; - } - } - return true; - } - } else { - return actual === expected; - } - }, - _getTypeName: function(obj) { - switch (Object.prototype.toString.call(obj)) { - case "[object String]": - return TYPE_STRING; - case "[object Number]": - return TYPE_NUMBER; - case "[object Array]": - return TYPE_ARRAY; - case "[object Boolean]": - return TYPE_BOOLEAN; - case "[object Null]": - return TYPE_NULL; - case "[object Object]": - // Check if it's an expref. If it has, it's been - // tagged with a jmespathType attr of 'Expref'; - if (obj.jmespathType === TOK_EXPREF) { - return TYPE_EXPREF; - } else { - return TYPE_OBJECT; - } - } - }, - - _functionStartsWith: function(resolvedArgs) { - return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0; - }, - - _functionEndsWith: function(resolvedArgs) { - var searchStr = resolvedArgs[0]; - var suffix = resolvedArgs[1]; - return searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1; - }, - - _functionReverse: function(resolvedArgs) { - var typeName = this._getTypeName(resolvedArgs[0]); - if (typeName === TYPE_STRING) { - var originalStr = resolvedArgs[0]; - var reversedStr = ""; - for (var i = originalStr.length - 1; i >= 0; i--) { - reversedStr += originalStr[i]; - } - return reversedStr; - } else { - var reversedArray = resolvedArgs[0].slice(0); - reversedArray.reverse(); - return reversedArray; - } - }, - - _functionAbs: function(resolvedArgs) { - return Math.abs(resolvedArgs[0]); - }, - - _functionCeil: function(resolvedArgs) { - return Math.ceil(resolvedArgs[0]); - }, - - _functionAvg: function(resolvedArgs) { - var sum = 0; - var inputArray = resolvedArgs[0]; - for (var i = 0; i < inputArray.length; i++) { - sum += inputArray[i]; - } - return sum / inputArray.length; - }, - - _functionContains: function(resolvedArgs) { - return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0; - }, - - _functionFloor: function(resolvedArgs) { - return Math.floor(resolvedArgs[0]); - }, - - _functionLength: function(resolvedArgs) { - if (!isObject(resolvedArgs[0])) { - return resolvedArgs[0].length; - } else { - // As far as I can tell, there's no way to get the length - // of an object without O(n) iteration through the object. - return Object.keys(resolvedArgs[0]).length; - } - }, - - _functionMap: function(resolvedArgs) { - var mapped = []; - var interpreter = this._interpreter; - var exprefNode = resolvedArgs[0]; - var elements = resolvedArgs[1]; - for (var i = 0; i < elements.length; i++) { - mapped.push(interpreter.visit(exprefNode, elements[i])); - } - return mapped; - }, - - _functionMerge: function(resolvedArgs) { - var merged = {}; - for (var i = 0; i < resolvedArgs.length; i++) { - var current = resolvedArgs[i]; - for (var key in current) { - merged[key] = current[key]; - } - } - return merged; - }, - - _functionMax: function(resolvedArgs) { - if (resolvedArgs[0].length > 0) { - var typeName = this._getTypeName(resolvedArgs[0][0]); - if (typeName === TYPE_NUMBER) { - return Math.max.apply(Math, resolvedArgs[0]); - } else { - var elements = resolvedArgs[0]; - var maxElement = elements[0]; - for (var i = 1; i < elements.length; i++) { - if (maxElement.localeCompare(elements[i]) < 0) { - maxElement = elements[i]; - } - } - return maxElement; - } - } else { - return null; - } - }, - - _functionMin: function(resolvedArgs) { - if (resolvedArgs[0].length > 0) { - var typeName = this._getTypeName(resolvedArgs[0][0]); - if (typeName === TYPE_NUMBER) { - return Math.min.apply(Math, resolvedArgs[0]); - } else { - var elements = resolvedArgs[0]; - var minElement = elements[0]; - for (var i = 1; i < elements.length; i++) { - if (elements[i].localeCompare(minElement) < 0) { - minElement = elements[i]; - } - } - return minElement; - } - } else { - return null; - } - }, - - _functionSum: function(resolvedArgs) { - var sum = 0; - var listToSum = resolvedArgs[0]; - for (var i = 0; i < listToSum.length; i++) { - sum += listToSum[i]; - } - return sum; - }, - - _functionType: function(resolvedArgs) { - switch (this._getTypeName(resolvedArgs[0])) { - case TYPE_NUMBER: - return "number"; - case TYPE_STRING: - return "string"; - case TYPE_ARRAY: - return "array"; - case TYPE_OBJECT: - return "object"; - case TYPE_BOOLEAN: - return "boolean"; - case TYPE_EXPREF: - return "expref"; - case TYPE_NULL: - return "null"; - } - }, - - _functionKeys: function(resolvedArgs) { - return Object.keys(resolvedArgs[0]); - }, - - _functionValues: function(resolvedArgs) { - var obj = resolvedArgs[0]; - var keys = Object.keys(obj); - var values = []; - for (var i = 0; i < keys.length; i++) { - values.push(obj[keys[i]]); - } - return values; - }, - - _functionJoin: function(resolvedArgs) { - var joinChar = resolvedArgs[0]; - var listJoin = resolvedArgs[1]; - return listJoin.join(joinChar); - }, - - _functionToArray: function(resolvedArgs) { - if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) { - return resolvedArgs[0]; - } else { - return [resolvedArgs[0]]; - } - }, - - _functionToString: function(resolvedArgs) { - if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) { - return resolvedArgs[0]; - } else { - return JSON.stringify(resolvedArgs[0]); - } - }, - - _functionToNumber: function(resolvedArgs) { - var typeName = this._getTypeName(resolvedArgs[0]); - var convertedValue; - if (typeName === TYPE_NUMBER) { - return resolvedArgs[0]; - } else if (typeName === TYPE_STRING) { - convertedValue = +resolvedArgs[0]; - if (!isNaN(convertedValue)) { - return convertedValue; - } - } - return null; - }, - - _functionNotNull: function(resolvedArgs) { - for (var i = 0; i < resolvedArgs.length; i++) { - if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) { - return resolvedArgs[i]; - } - } - return null; - }, - - _functionSort: function(resolvedArgs) { - var sortedArray = resolvedArgs[0].slice(0); - sortedArray.sort(); - return sortedArray; - }, - - _functionSortBy: function(resolvedArgs) { - var sortedArray = resolvedArgs[0].slice(0); - if (sortedArray.length === 0) { - return sortedArray; - } - var interpreter = this._interpreter; - var exprefNode = resolvedArgs[1]; - var requiredType = this._getTypeName( - interpreter.visit(exprefNode, sortedArray[0])); - if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) { - throw new Error("TypeError"); - } - var that = this; - // In order to get a stable sort out of an unstable - // sort algorithm, we decorate/sort/undecorate (DSU) - // by creating a new list of [index, element] pairs. - // In the cmp function, if the evaluated elements are - // equal, then the index will be used as the tiebreaker. - // After the decorated list has been sorted, it will be - // undecorated to extract the original elements. - var decorated = []; - for (var i = 0; i < sortedArray.length; i++) { - decorated.push([i, sortedArray[i]]); - } - decorated.sort(function(a, b) { - var exprA = interpreter.visit(exprefNode, a[1]); - var exprB = interpreter.visit(exprefNode, b[1]); - if (that._getTypeName(exprA) !== requiredType) { - throw new Error( - "TypeError: expected " + requiredType + ", received " + - that._getTypeName(exprA)); - } else if (that._getTypeName(exprB) !== requiredType) { - throw new Error( - "TypeError: expected " + requiredType + ", received " + - that._getTypeName(exprB)); - } - if (exprA > exprB) { - return 1; - } else if (exprA < exprB) { - return -1; - } else { - // If they're equal compare the items by their - // order to maintain relative order of equal keys - // (i.e. to get a stable sort). - return a[0] - b[0]; - } - }); - // Undecorate: extract out the original list elements. - for (var j = 0; j < decorated.length; j++) { - sortedArray[j] = decorated[j][1]; - } - return sortedArray; - }, - - _functionMaxBy: function(resolvedArgs) { - var exprefNode = resolvedArgs[1]; - var resolvedArray = resolvedArgs[0]; - var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]); - var maxNumber = -Infinity; - var maxRecord; - var current; - for (var i = 0; i < resolvedArray.length; i++) { - current = keyFunction(resolvedArray[i]); - if (current > maxNumber) { - maxNumber = current; - maxRecord = resolvedArray[i]; - } - } - return maxRecord; - }, - - _functionMinBy: function(resolvedArgs) { - var exprefNode = resolvedArgs[1]; - var resolvedArray = resolvedArgs[0]; - var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]); - var minNumber = Infinity; - var minRecord; - var current; - for (var i = 0; i < resolvedArray.length; i++) { - current = keyFunction(resolvedArray[i]); - if (current < minNumber) { - minNumber = current; - minRecord = resolvedArray[i]; - } - } - return minRecord; - }, - - createKeyFunction: function(exprefNode, allowedTypes) { - var that = this; - var interpreter = this._interpreter; - var keyFunc = function(x) { - var current = interpreter.visit(exprefNode, x); - if (allowedTypes.indexOf(that._getTypeName(current)) < 0) { - var msg = "TypeError: expected one of " + allowedTypes + - ", received " + that._getTypeName(current); - throw new Error(msg); - } - return current; - }; - return keyFunc; - } - - }; - - function compile(stream) { - var parser = new Parser(); - var ast = parser.parse(stream); - return ast; - } - - function tokenize(stream) { - var lexer = new Lexer(); - return lexer.tokenize(stream); - } - - function search(data, expression) { - var parser = new Parser(); - // This needs to be improved. Both the interpreter and runtime depend on - // each other. The runtime needs the interpreter to support exprefs. - // There's likely a clean way to avoid the cyclic dependency. - var runtime = new Runtime(); - var interpreter = new TreeInterpreter(runtime); - runtime._interpreter = interpreter; - var node = parser.parse(expression); - return interpreter.search(node, data); - } - - exports.tokenize = tokenize; - exports.compile = compile; - exports.search = search; - exports.strictDeepEqual = strictDeepEqual; - })( false ? this.jmespath = {} : exports); - - -/***/ }), -/* 211 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var inherit = AWS.util.inherit; - var jmespath = __webpack_require__(210); - - /** - * This class encapsulates the response information - * from a service request operation sent through {AWS.Request}. - * The response object has two main properties for getting information - * back from a request: - * - * ## The `data` property - * - * The `response.data` property contains the serialized object data - * retrieved from the service request. For instance, for an - * Amazon DynamoDB `listTables` method call, the response data might - * look like: - * - * ``` - * > resp.data - * { TableNames: - * [ 'table1', 'table2', ... ] } - * ``` - * - * The `data` property can be null if an error occurs (see below). - * - * ## The `error` property - * - * In the event of a service error (or transfer error), the - * `response.error` property will be filled with the given - * error data in the form: - * - * ``` - * { code: 'SHORT_UNIQUE_ERROR_CODE', - * message: 'Some human readable error message' } - * ``` - * - * In the case of an error, the `data` property will be `null`. - * Note that if you handle events that can be in a failure state, - * you should always check whether `response.error` is set - * before attempting to access the `response.data` property. - * - * @!attribute data - * @readonly - * @!group Data Properties - * @note Inside of a {AWS.Request~httpData} event, this - * property contains a single raw packet instead of the - * full de-serialized service response. - * @return [Object] the de-serialized response data - * from the service. - * - * @!attribute error - * An structure containing information about a service - * or networking error. - * @readonly - * @!group Data Properties - * @note This attribute is only filled if a service or - * networking error occurs. - * @return [Error] - * * code [String] a unique short code representing the - * error that was emitted. - * * message [String] a longer human readable error message - * * retryable [Boolean] whether the error message is - * retryable. - * * statusCode [Numeric] in the case of a request that reached the service, - * this value contains the response status code. - * * time [Date] the date time object when the error occurred. - * * hostname [String] set when a networking error occurs to easily - * identify the endpoint of the request. - * * region [String] set when a networking error occurs to easily - * identify the region of the request. - * - * @!attribute requestId - * @readonly - * @!group Data Properties - * @return [String] the unique request ID associated with the response. - * Log this value when debugging requests for AWS support. - * - * @!attribute retryCount - * @readonly - * @!group Operation Properties - * @return [Integer] the number of retries that were - * attempted before the request was completed. - * - * @!attribute redirectCount - * @readonly - * @!group Operation Properties - * @return [Integer] the number of redirects that were - * followed before the request was completed. - * - * @!attribute httpResponse - * @readonly - * @!group HTTP Properties - * @return [AWS.HttpResponse] the raw HTTP response object - * containing the response headers and body information - * from the server. - * - * @see AWS.Request - */ - AWS.Response = inherit({ - - /** - * @api private - */ - constructor: function Response(request) { - this.request = request; - this.data = null; - this.error = null; - this.retryCount = 0; - this.redirectCount = 0; - this.httpResponse = new AWS.HttpResponse(); - if (request) { - this.maxRetries = request.service.numRetries(); - this.maxRedirects = request.service.config.maxRedirects; - } - }, - - /** - * Creates a new request for the next page of response data, calling the - * callback with the page data if a callback is provided. - * - * @callback callback function(err, data) - * Called when a page of data is returned from the next request. - * - * @param err [Error] an error object, if an error occurred in the request - * @param data [Object] the next page of data, or null, if there are no - * more pages left. - * @return [AWS.Request] the request object for the next page of data - * @return [null] if no callback is provided and there are no pages left - * to retrieve. - * @since v1.4.0 - */ - nextPage: function nextPage(callback) { - var config; - var service = this.request.service; - var operation = this.request.operation; - try { - config = service.paginationConfig(operation, true); - } catch (e) { this.error = e; } - - if (!this.hasNextPage()) { - if (callback) callback(this.error, null); - else if (this.error) throw this.error; - return null; - } - - var params = AWS.util.copy(this.request.params); - if (!this.nextPageTokens) { - return callback ? callback(null, null) : null; - } else { - var inputTokens = config.inputToken; - if (typeof inputTokens === 'string') inputTokens = [inputTokens]; - for (var i = 0; i < inputTokens.length; i++) { - params[inputTokens[i]] = this.nextPageTokens[i]; - } - return service.makeRequest(this.request.operation, params, callback); - } - }, - - /** - * @return [Boolean] whether more pages of data can be returned by further - * requests - * @since v1.4.0 - */ - hasNextPage: function hasNextPage() { - this.cacheNextPageTokens(); - if (this.nextPageTokens) return true; - if (this.nextPageTokens === undefined) return undefined; - else return false; - }, - - /** - * @api private - */ - cacheNextPageTokens: function cacheNextPageTokens() { - if (Object.prototype.hasOwnProperty.call(this, 'nextPageTokens')) return this.nextPageTokens; - this.nextPageTokens = undefined; - - var config = this.request.service.paginationConfig(this.request.operation); - if (!config) return this.nextPageTokens; - - this.nextPageTokens = null; - if (config.moreResults) { - if (!jmespath.search(this.data, config.moreResults)) { - return this.nextPageTokens; - } - } - - var exprs = config.outputToken; - if (typeof exprs === 'string') exprs = [exprs]; - AWS.util.arrayEach.call(this, exprs, function (expr) { - var output = jmespath.search(this.data, expr); - if (output) { - this.nextPageTokens = this.nextPageTokens || []; - this.nextPageTokens.push(output); - } - }); - - return this.nextPageTokens; - } - - }); - - -/***/ }), -/* 212 */ -/***/ (function(module, exports, __webpack_require__) { - - /** - * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). You - * may not use this file except in compliance with the License. A copy of - * the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF - * ANY KIND, either express or implied. See the License for the specific - * language governing permissions and limitations under the License. - */ - - var AWS = __webpack_require__(5); - var inherit = AWS.util.inherit; - var jmespath = __webpack_require__(210); - - /** - * @api private - */ - function CHECK_ACCEPTORS(resp) { - var waiter = resp.request._waiter; - var acceptors = waiter.config.acceptors; - var acceptorMatched = false; - var state = 'retry'; - - acceptors.forEach(function(acceptor) { - if (!acceptorMatched) { - var matcher = waiter.matchers[acceptor.matcher]; - if (matcher && matcher(resp, acceptor.expected, acceptor.argument)) { - acceptorMatched = true; - state = acceptor.state; - } - } - }); - - if (!acceptorMatched && resp.error) state = 'failure'; - - if (state === 'success') { - waiter.setSuccess(resp); - } else { - waiter.setError(resp, state === 'retry'); - } - } - - /** - * @api private - */ - AWS.ResourceWaiter = inherit({ - /** - * Waits for a given state on a service object - * @param service [Service] the service object to wait on - * @param state [String] the state (defined in waiter configuration) to wait - * for. - * @example Create a waiter for running EC2 instances - * var ec2 = new AWS.EC2; - * var waiter = new AWS.ResourceWaiter(ec2, 'instanceRunning'); - */ - constructor: function constructor(service, state) { - this.service = service; - this.state = state; - this.loadWaiterConfig(this.state); - }, - - service: null, - - state: null, - - config: null, - - matchers: { - path: function(resp, expected, argument) { - try { - var result = jmespath.search(resp.data, argument); - } catch (err) { - return false; - } - - return jmespath.strictDeepEqual(result,expected); - }, - - pathAll: function(resp, expected, argument) { - try { - var results = jmespath.search(resp.data, argument); - } catch (err) { - return false; - } - - if (!Array.isArray(results)) results = [results]; - var numResults = results.length; - if (!numResults) return false; - for (var ind = 0 ; ind < numResults; ind++) { - if (!jmespath.strictDeepEqual(results[ind], expected)) { - return false; - } - } - return true; - }, - - pathAny: function(resp, expected, argument) { - try { - var results = jmespath.search(resp.data, argument); - } catch (err) { - return false; - } - - if (!Array.isArray(results)) results = [results]; - var numResults = results.length; - for (var ind = 0 ; ind < numResults; ind++) { - if (jmespath.strictDeepEqual(results[ind], expected)) { - return true; - } - } - return false; - }, - - status: function(resp, expected) { - var statusCode = resp.httpResponse.statusCode; - return (typeof statusCode === 'number') && (statusCode === expected); - }, - - error: function(resp, expected) { - if (typeof expected === 'string' && resp.error) { - return expected === resp.error.code; - } - // if expected is not string, can be boolean indicating presence of error - return expected === !!resp.error; - } - }, - - listeners: new AWS.SequentialExecutor().addNamedListeners(function(add) { - add('RETRY_CHECK', 'retry', function(resp) { - var waiter = resp.request._waiter; - if (resp.error && resp.error.code === 'ResourceNotReady') { - resp.error.retryDelay = (waiter.config.delay || 0) * 1000; - } - }); - - add('CHECK_OUTPUT', 'extractData', CHECK_ACCEPTORS); - - add('CHECK_ERROR', 'extractError', CHECK_ACCEPTORS); - }), - - /** - * @return [AWS.Request] - */ - wait: function wait(params, callback) { - if (typeof params === 'function') { - callback = params; params = undefined; - } - - if (params && params.$waiter) { - params = AWS.util.copy(params); - if (typeof params.$waiter.delay === 'number') { - this.config.delay = params.$waiter.delay; - } - if (typeof params.$waiter.maxAttempts === 'number') { - this.config.maxAttempts = params.$waiter.maxAttempts; - } - delete params.$waiter; - } - - var request = this.service.makeRequest(this.config.operation, params); - request._waiter = this; - request.response.maxRetries = this.config.maxAttempts; - request.addListeners(this.listeners); - - if (callback) request.send(callback); - return request; - }, - - setSuccess: function setSuccess(resp) { - resp.error = null; - resp.data = resp.data || {}; - resp.request.removeAllListeners('extractData'); - }, - - setError: function setError(resp, retryable) { - resp.data = null; - resp.error = AWS.util.error(resp.error || new Error(), { - code: 'ResourceNotReady', - message: 'Resource is not in the state ' + this.state, - retryable: retryable - }); - }, - - /** - * Loads waiter configuration from API configuration - * - * @api private - */ - loadWaiterConfig: function loadWaiterConfig(state) { - if (!this.service.api.waiters[state]) { - throw new AWS.util.error(new Error(), { - code: 'StateNotFoundError', - message: 'State ' + state + ' not found.' - }); - } - - this.config = AWS.util.copy(this.service.api.waiters[state]); - } - }); - - -/***/ }), -/* 213 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - - var inherit = AWS.util.inherit; - - /** - * @api private - */ - AWS.Signers.RequestSigner = inherit({ - constructor: function RequestSigner(request) { - this.request = request; - }, - - setServiceClientId: function setServiceClientId(id) { - this.serviceClientId = id; - }, - - getServiceClientId: function getServiceClientId() { - return this.serviceClientId; - } - }); - - AWS.Signers.RequestSigner.getVersion = function getVersion(version) { - switch (version) { - case 'v2': return AWS.Signers.V2; - case 'v3': return AWS.Signers.V3; - case 'v4': return AWS.Signers.V4; - case 's3': return AWS.Signers.S3; - case 'v3https': return AWS.Signers.V3Https; - } - throw new Error('Unknown signing version ' + version); - }; - - __webpack_require__(214); - __webpack_require__(215); - __webpack_require__(216); - __webpack_require__(217); - __webpack_require__(219); - __webpack_require__(220); - - -/***/ }), -/* 214 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var inherit = AWS.util.inherit; - - /** - * @api private - */ - AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - - if (!date) date = AWS.util.date.getDate(); - - var r = this.request; - - r.params.Timestamp = AWS.util.date.iso8601(date); - r.params.SignatureVersion = '2'; - r.params.SignatureMethod = 'HmacSHA256'; - r.params.AWSAccessKeyId = credentials.accessKeyId; - - if (credentials.sessionToken) { - r.params.SecurityToken = credentials.sessionToken; - } - - delete r.params.Signature; // delete old Signature for re-signing - r.params.Signature = this.signature(credentials); - - r.body = AWS.util.queryParamsToString(r.params); - r.headers['Content-Length'] = r.body.length; - }, - - signature: function signature(credentials) { - return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); - }, - - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push(this.request.endpoint.host.toLowerCase()); - parts.push(this.request.pathname()); - parts.push(AWS.util.queryParamsToString(this.request.params)); - return parts.join('\n'); - } - - }); - - module.exports = AWS.Signers.V2; - - -/***/ }), -/* 215 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var inherit = AWS.util.inherit; - - /** - * @api private - */ - AWS.Signers.V3 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - - var datetime = AWS.util.date.rfc822(date); - - this.request.headers['X-Amz-Date'] = datetime; - - if (credentials.sessionToken) { - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - - this.request.headers['X-Amzn-Authorization'] = - this.authorization(credentials, datetime); - - }, - - authorization: function authorization(credentials) { - return 'AWS3 ' + - 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + - 'Algorithm=HmacSHA256,' + - 'SignedHeaders=' + this.signedHeaders() + ',' + - 'Signature=' + this.signature(credentials); - }, - - signedHeaders: function signedHeaders() { - var headers = []; - AWS.util.arrayEach(this.headersToSign(), function iterator(h) { - headers.push(h.toLowerCase()); - }); - return headers.sort().join(';'); - }, - - canonicalHeaders: function canonicalHeaders() { - var headers = this.request.headers; - var parts = []; - AWS.util.arrayEach(this.headersToSign(), function iterator(h) { - parts.push(h.toLowerCase().trim() + ':' + String(headers[h]).trim()); - }); - return parts.sort().join('\n') + '\n'; - }, - - headersToSign: function headersToSign() { - var headers = []; - AWS.util.each(this.request.headers, function iterator(k) { - if (k === 'Host' || k === 'Content-Encoding' || k.match(/^X-Amz/i)) { - headers.push(k); - } - }); - return headers; - }, - - signature: function signature(credentials) { - return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); - }, - - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push('/'); - parts.push(''); - parts.push(this.canonicalHeaders()); - parts.push(this.request.body); - return AWS.util.crypto.sha256(parts.join('\n')); - } - - }); - - module.exports = AWS.Signers.V3; - - -/***/ }), -/* 216 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var inherit = AWS.util.inherit; - - __webpack_require__(215); - - /** - * @api private - */ - AWS.Signers.V3Https = inherit(AWS.Signers.V3, { - authorization: function authorization(credentials) { - return 'AWS3-HTTPS ' + - 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + - 'Algorithm=HmacSHA256,' + - 'Signature=' + this.signature(credentials); - }, - - stringToSign: function stringToSign() { - return this.request.headers['X-Amz-Date']; - } - }); - - module.exports = AWS.Signers.V3Https; - - -/***/ }), -/* 217 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var v4Credentials = __webpack_require__(218); - var inherit = AWS.util.inherit; - - /** - * @api private - */ - var expiresHeader = 'presigned-expires'; - - /** - * @api private - */ - AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, { - constructor: function V4(request, serviceName, options) { - AWS.Signers.RequestSigner.call(this, request); - this.serviceName = serviceName; - options = options || {}; - this.signatureCache = typeof options.signatureCache === 'boolean' ? options.signatureCache : true; - this.operation = options.operation; - }, - - algorithm: 'AWS4-HMAC-SHA256', - - addAuthorization: function addAuthorization(credentials, date) { - var datetime = AWS.util.date.iso8601(date).replace(/[:\-]|\.\d{3}/g, ''); - - if (this.isPresigned()) { - this.updateForPresigned(credentials, datetime); - } else { - this.addHeaders(credentials, datetime); - } - - this.request.headers['Authorization'] = - this.authorization(credentials, datetime); - }, - - addHeaders: function addHeaders(credentials, datetime) { - this.request.headers['X-Amz-Date'] = datetime; - if (credentials.sessionToken) { - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - }, - - updateForPresigned: function updateForPresigned(credentials, datetime) { - var credString = this.credentialString(datetime); - var qs = { - 'X-Amz-Date': datetime, - 'X-Amz-Algorithm': this.algorithm, - 'X-Amz-Credential': credentials.accessKeyId + '/' + credString, - 'X-Amz-Expires': this.request.headers[expiresHeader], - 'X-Amz-SignedHeaders': this.signedHeaders() - }; - - if (credentials.sessionToken) { - qs['X-Amz-Security-Token'] = credentials.sessionToken; - } - - if (this.request.headers['Content-Type']) { - qs['Content-Type'] = this.request.headers['Content-Type']; - } - if (this.request.headers['Content-MD5']) { - qs['Content-MD5'] = this.request.headers['Content-MD5']; - } - if (this.request.headers['Cache-Control']) { - qs['Cache-Control'] = this.request.headers['Cache-Control']; - } - - // need to pull in any other X-Amz-* headers - AWS.util.each.call(this, this.request.headers, function(key, value) { - if (key === expiresHeader) return; - if (this.isSignableHeader(key)) { - var lowerKey = key.toLowerCase(); - // Metadata should be normalized - if (lowerKey.indexOf('x-amz-meta-') === 0) { - qs[lowerKey] = value; - } else if (lowerKey.indexOf('x-amz-') === 0) { - qs[key] = value; - } - } - }); - - var sep = this.request.path.indexOf('?') >= 0 ? '&' : '?'; - this.request.path += sep + AWS.util.queryParamsToString(qs); - }, - - authorization: function authorization(credentials, datetime) { - var parts = []; - var credString = this.credentialString(datetime); - parts.push(this.algorithm + ' Credential=' + - credentials.accessKeyId + '/' + credString); - parts.push('SignedHeaders=' + this.signedHeaders()); - parts.push('Signature=' + this.signature(credentials, datetime)); - return parts.join(', '); - }, - - signature: function signature(credentials, datetime) { - var signingKey = v4Credentials.getSigningKey( - credentials, - datetime.substr(0, 8), - this.request.region, - this.serviceName, - this.signatureCache - ); - return AWS.util.crypto.hmac(signingKey, this.stringToSign(datetime), 'hex'); - }, - - stringToSign: function stringToSign(datetime) { - var parts = []; - parts.push('AWS4-HMAC-SHA256'); - parts.push(datetime); - parts.push(this.credentialString(datetime)); - parts.push(this.hexEncodedHash(this.canonicalString())); - return parts.join('\n'); - }, - - canonicalString: function canonicalString() { - var parts = [], pathname = this.request.pathname(); - if (this.serviceName !== 's3') pathname = AWS.util.uriEscapePath(pathname); - - parts.push(this.request.method); - parts.push(pathname); - parts.push(this.request.search()); - parts.push(this.canonicalHeaders() + '\n'); - parts.push(this.signedHeaders()); - parts.push(this.hexEncodedBodyHash()); - return parts.join('\n'); - }, - - canonicalHeaders: function canonicalHeaders() { - var headers = []; - AWS.util.each.call(this, this.request.headers, function (key, item) { - headers.push([key, item]); - }); - headers.sort(function (a, b) { - return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1; - }); - var parts = []; - AWS.util.arrayEach.call(this, headers, function (item) { - var key = item[0].toLowerCase(); - if (this.isSignableHeader(key)) { - var value = item[1]; - if (typeof value === 'undefined' || value === null || typeof value.toString !== 'function') { - throw AWS.util.error(new Error('Header ' + key + ' contains invalid value'), { - code: 'InvalidHeader' - }); - } - parts.push(key + ':' + - this.canonicalHeaderValues(value.toString())); - } - }); - return parts.join('\n'); - }, - - canonicalHeaderValues: function canonicalHeaderValues(values) { - return values.replace(/\s+/g, ' ').replace(/^\s+|\s+$/g, ''); - }, - - signedHeaders: function signedHeaders() { - var keys = []; - AWS.util.each.call(this, this.request.headers, function (key) { - key = key.toLowerCase(); - if (this.isSignableHeader(key)) keys.push(key); - }); - return keys.sort().join(';'); - }, - - credentialString: function credentialString(datetime) { - return v4Credentials.createScope( - datetime.substr(0, 8), - this.request.region, - this.serviceName - ); - }, - - hexEncodedHash: function hash(string) { - return AWS.util.crypto.sha256(string, 'hex'); - }, - - hexEncodedBodyHash: function hexEncodedBodyHash() { - var request = this.request; - if (this.isPresigned() && this.serviceName === 's3' && !request.body) { - return 'UNSIGNED-PAYLOAD'; - } else if (request.headers['X-Amz-Content-Sha256']) { - return request.headers['X-Amz-Content-Sha256']; - } else { - return this.hexEncodedHash(this.request.body || ''); - } - }, - - unsignableHeaders: [ - 'authorization', - 'content-type', - 'content-length', - 'user-agent', - expiresHeader, - 'expect', - 'x-amzn-trace-id' - ], - - isSignableHeader: function isSignableHeader(key) { - if (key.toLowerCase().indexOf('x-amz-') === 0) return true; - return this.unsignableHeaders.indexOf(key) < 0; - }, - - isPresigned: function isPresigned() { - return this.request.headers[expiresHeader] ? true : false; - } - - }); - - module.exports = AWS.Signers.V4; - - -/***/ }), -/* 218 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - - /** - * @api private - */ - var cachedSecret = {}; - - /** - * @api private - */ - var cacheQueue = []; - - /** - * @api private - */ - var maxCacheEntries = 50; - - /** - * @api private - */ - var v4Identifier = 'aws4_request'; - - module.exports = { - /** - * @api private - * - * @param date [String] - * @param region [String] - * @param serviceName [String] - * @return [String] - */ - createScope: function createScope(date, region, serviceName) { - return [ - date.substr(0, 8), - region, - serviceName, - v4Identifier - ].join('/'); - }, - - /** - * @api private - * - * @param credentials [Credentials] - * @param date [String] - * @param region [String] - * @param service [String] - * @param shouldCache [Boolean] - * @return [String] - */ - getSigningKey: function getSigningKey( - credentials, - date, - region, - service, - shouldCache - ) { - var credsIdentifier = AWS.util.crypto - .hmac(credentials.secretAccessKey, credentials.accessKeyId, 'base64'); - var cacheKey = [credsIdentifier, date, region, service].join('_'); - shouldCache = shouldCache !== false; - if (shouldCache && (cacheKey in cachedSecret)) { - return cachedSecret[cacheKey]; - } - - var kDate = AWS.util.crypto.hmac( - 'AWS4' + credentials.secretAccessKey, - date, - 'buffer' - ); - var kRegion = AWS.util.crypto.hmac(kDate, region, 'buffer'); - var kService = AWS.util.crypto.hmac(kRegion, service, 'buffer'); - - var signingKey = AWS.util.crypto.hmac(kService, v4Identifier, 'buffer'); - if (shouldCache) { - cachedSecret[cacheKey] = signingKey; - cacheQueue.push(cacheKey); - if (cacheQueue.length > maxCacheEntries) { - // remove the oldest entry (not the least recently used) - delete cachedSecret[cacheQueue.shift()]; - } - } - - return signingKey; - }, - - /** - * @api private - * - * Empties the derived signing key cache. Made available for testing purposes - * only. - */ - emptyCache: function emptyCache() { - cachedSecret = {}; - cacheQueue = []; - } - }; - - -/***/ }), -/* 219 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var inherit = AWS.util.inherit; - - /** - * @api private - */ - AWS.Signers.S3 = inherit(AWS.Signers.RequestSigner, { - /** - * When building the stringToSign, these sub resource params should be - * part of the canonical resource string with their NON-decoded values - */ - subResources: { - 'acl': 1, - 'accelerate': 1, - 'analytics': 1, - 'cors': 1, - 'lifecycle': 1, - 'delete': 1, - 'inventory': 1, - 'location': 1, - 'logging': 1, - 'metrics': 1, - 'notification': 1, - 'partNumber': 1, - 'policy': 1, - 'requestPayment': 1, - 'replication': 1, - 'restore': 1, - 'tagging': 1, - 'torrent': 1, - 'uploadId': 1, - 'uploads': 1, - 'versionId': 1, - 'versioning': 1, - 'versions': 1, - 'website': 1 - }, - - // when building the stringToSign, these querystring params should be - // part of the canonical resource string with their NON-encoded values - responseHeaders: { - 'response-content-type': 1, - 'response-content-language': 1, - 'response-expires': 1, - 'response-cache-control': 1, - 'response-content-disposition': 1, - 'response-content-encoding': 1 - }, - - addAuthorization: function addAuthorization(credentials, date) { - if (!this.request.headers['presigned-expires']) { - this.request.headers['X-Amz-Date'] = AWS.util.date.rfc822(date); - } - - if (credentials.sessionToken) { - // presigned URLs require this header to be lowercased - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - - var signature = this.sign(credentials.secretAccessKey, this.stringToSign()); - var auth = 'AWS ' + credentials.accessKeyId + ':' + signature; - - this.request.headers['Authorization'] = auth; - }, - - stringToSign: function stringToSign() { - var r = this.request; - - var parts = []; - parts.push(r.method); - parts.push(r.headers['Content-MD5'] || ''); - parts.push(r.headers['Content-Type'] || ''); - - // This is the "Date" header, but we use X-Amz-Date. - // The S3 signing mechanism requires us to pass an empty - // string for this Date header regardless. - parts.push(r.headers['presigned-expires'] || ''); - - var headers = this.canonicalizedAmzHeaders(); - if (headers) parts.push(headers); - parts.push(this.canonicalizedResource()); - - return parts.join('\n'); - - }, - - canonicalizedAmzHeaders: function canonicalizedAmzHeaders() { - - var amzHeaders = []; - - AWS.util.each(this.request.headers, function (name) { - if (name.match(/^x-amz-/i)) - amzHeaders.push(name); - }); - - amzHeaders.sort(function (a, b) { - return a.toLowerCase() < b.toLowerCase() ? -1 : 1; - }); - - var parts = []; - AWS.util.arrayEach.call(this, amzHeaders, function (name) { - parts.push(name.toLowerCase() + ':' + String(this.request.headers[name])); - }); - - return parts.join('\n'); - - }, - - canonicalizedResource: function canonicalizedResource() { - - var r = this.request; - - var parts = r.path.split('?'); - var path = parts[0]; - var querystring = parts[1]; - - var resource = ''; - - if (r.virtualHostedBucket) - resource += '/' + r.virtualHostedBucket; - - resource += path; - - if (querystring) { - - // collect a list of sub resources and query params that need to be signed - var resources = []; - - AWS.util.arrayEach.call(this, querystring.split('&'), function (param) { - var name = param.split('=')[0]; - var value = param.split('=')[1]; - if (this.subResources[name] || this.responseHeaders[name]) { - var subresource = { name: name }; - if (value !== undefined) { - if (this.subResources[name]) { - subresource.value = value; - } else { - subresource.value = decodeURIComponent(value); - } - } - resources.push(subresource); - } - }); - - resources.sort(function (a, b) { return a.name < b.name ? -1 : 1; }); - - if (resources.length) { - - querystring = []; - AWS.util.arrayEach(resources, function (res) { - if (res.value === undefined) { - querystring.push(res.name); - } else { - querystring.push(res.name + '=' + res.value); - } - }); - - resource += '?' + querystring.join('&'); - } - - } - - return resource; - - }, - - sign: function sign(secret, string) { - return AWS.util.crypto.hmac(secret, string, 'base64', 'sha1'); - } - }); - - module.exports = AWS.Signers.S3; - - -/***/ }), -/* 220 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - var inherit = AWS.util.inherit; - - /** - * @api private - */ - var expiresHeader = 'presigned-expires'; - - /** - * @api private - */ - function signedUrlBuilder(request) { - var expires = request.httpRequest.headers[expiresHeader]; - var signerClass = request.service.getSignerClass(request); - - delete request.httpRequest.headers['User-Agent']; - delete request.httpRequest.headers['X-Amz-User-Agent']; - - if (signerClass === AWS.Signers.V4) { - if (expires > 604800) { // one week expiry is invalid - var message = 'Presigning does not support expiry time greater ' + - 'than a week with SigV4 signing.'; - throw AWS.util.error(new Error(), { - code: 'InvalidExpiryTime', message: message, retryable: false - }); - } - request.httpRequest.headers[expiresHeader] = expires; - } else if (signerClass === AWS.Signers.S3) { - request.httpRequest.headers[expiresHeader] = parseInt( - AWS.util.date.unixTimestamp() + expires, 10).toString(); - } else { - throw AWS.util.error(new Error(), { - message: 'Presigning only supports S3 or SigV4 signing.', - code: 'UnsupportedSigner', retryable: false - }); - } - } - - /** - * @api private - */ - function signedUrlSigner(request) { - var endpoint = request.httpRequest.endpoint; - var parsedUrl = AWS.util.urlParse(request.httpRequest.path); - var queryParams = {}; - - if (parsedUrl.search) { - queryParams = AWS.util.queryStringParse(parsedUrl.search.substr(1)); - } - - AWS.util.each(request.httpRequest.headers, function (key, value) { - if (key === expiresHeader) key = 'Expires'; - if (key.indexOf('x-amz-meta-') === 0) { - // Delete existing, potentially not normalized key - delete queryParams[key]; - key = key.toLowerCase(); - } - queryParams[key] = value; - }); - delete request.httpRequest.headers[expiresHeader]; - - var auth = queryParams['Authorization'].split(' '); - if (auth[0] === 'AWS') { - auth = auth[1].split(':'); - queryParams['AWSAccessKeyId'] = auth[0]; - queryParams['Signature'] = auth[1]; - } else if (auth[0] === 'AWS4-HMAC-SHA256') { // SigV4 signing - auth.shift(); - var rest = auth.join(' '); - var signature = rest.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1]; - queryParams['X-Amz-Signature'] = signature; - delete queryParams['Expires']; - } - delete queryParams['Authorization']; - delete queryParams['Host']; - - // build URL - endpoint.pathname = parsedUrl.pathname; - endpoint.search = AWS.util.queryParamsToString(queryParams); - } - - /** - * @api private - */ - AWS.Signers.Presign = inherit({ - /** - * @api private - */ - sign: function sign(request, expireTime, callback) { - request.httpRequest.headers[expiresHeader] = expireTime || 3600; - request.on('build', signedUrlBuilder); - request.on('sign', signedUrlSigner); - request.removeListener('afterBuild', - AWS.EventListeners.Core.SET_CONTENT_LENGTH); - request.removeListener('afterBuild', - AWS.EventListeners.Core.COMPUTE_SHA256); - - request.emit('beforePresign', [request]); - - if (callback) { - request.build(function() { - if (this.response.error) callback(this.response.error); - else { - callback(null, AWS.util.urlFormat(request.httpRequest.endpoint)); - } - }); - } else { - request.build(); - if (request.response.error) throw request.response.error; - return AWS.util.urlFormat(request.httpRequest.endpoint); - } - } - }); - - module.exports = AWS.Signers.Presign; - - -/***/ }), -/* 221 */ -/***/ (function(module, exports, __webpack_require__) { - - var AWS = __webpack_require__(5); - - /** - * @api private - */ - AWS.ParamValidator = AWS.util.inherit({ - /** - * Create a new validator object. - * - * @param validation [Boolean|map] whether input parameters should be - * validated against the operation description before sending the - * request. Pass a map to enable any of the following specific - * validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - */ - constructor: function ParamValidator(validation) { - if (validation === true || validation === undefined) { - validation = {'min': true}; - } - this.validation = validation; - }, - - validate: function validate(shape, params, context) { - this.errors = []; - this.validateMember(shape, params || {}, context || 'params'); - - if (this.errors.length > 1) { - var msg = this.errors.join('\n* '); - msg = 'There were ' + this.errors.length + - ' validation errors:\n* ' + msg; - throw AWS.util.error(new Error(msg), - {code: 'MultipleValidationErrors', errors: this.errors}); - } else if (this.errors.length === 1) { - throw this.errors[0]; - } else { - return true; - } - }, - - fail: function fail(code, message) { - this.errors.push(AWS.util.error(new Error(message), {code: code})); - }, - - validateStructure: function validateStructure(shape, params, context) { - this.validateType(params, context, ['object'], 'structure'); - - var paramName; - for (var i = 0; shape.required && i < shape.required.length; i++) { - paramName = shape.required[i]; - var value = params[paramName]; - if (value === undefined || value === null) { - this.fail('MissingRequiredParameter', - 'Missing required key \'' + paramName + '\' in ' + context); - } - } - - // validate hash members - for (paramName in params) { - if (!Object.prototype.hasOwnProperty.call(params, paramName)) continue; - - var paramValue = params[paramName], - memberShape = shape.members[paramName]; - - if (memberShape !== undefined) { - var memberContext = [context, paramName].join('.'); - this.validateMember(memberShape, paramValue, memberContext); - } else { - this.fail('UnexpectedParameter', - 'Unexpected key \'' + paramName + '\' found in ' + context); - } - } - - return true; - }, - - validateMember: function validateMember(shape, param, context) { - switch (shape.type) { - case 'structure': - return this.validateStructure(shape, param, context); - case 'list': - return this.validateList(shape, param, context); - case 'map': - return this.validateMap(shape, param, context); - default: - return this.validateScalar(shape, param, context); - } - }, - - validateList: function validateList(shape, params, context) { - if (this.validateType(params, context, [Array])) { - this.validateRange(shape, params.length, context, 'list member count'); - // validate array members - for (var i = 0; i < params.length; i++) { - this.validateMember(shape.member, params[i], context + '[' + i + ']'); - } - } - }, - - validateMap: function validateMap(shape, params, context) { - if (this.validateType(params, context, ['object'], 'map')) { - // Build up a count of map members to validate range traits. - var mapCount = 0; - for (var param in params) { - if (!Object.prototype.hasOwnProperty.call(params, param)) continue; - // Validate any map key trait constraints - this.validateMember(shape.key, param, - context + '[key=\'' + param + '\']') - this.validateMember(shape.value, params[param], - context + '[\'' + param + '\']'); - mapCount++; - } - this.validateRange(shape, mapCount, context, 'map member count'); - } - }, - - validateScalar: function validateScalar(shape, value, context) { - switch (shape.type) { - case null: - case undefined: - case 'string': - return this.validateString(shape, value, context); - case 'base64': - case 'binary': - return this.validatePayload(value, context); - case 'integer': - case 'float': - return this.validateNumber(shape, value, context); - case 'boolean': - return this.validateType(value, context, ['boolean']); - case 'timestamp': - return this.validateType(value, context, [Date, - /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, 'number'], - 'Date object, ISO-8601 string, or a UNIX timestamp'); - default: - return this.fail('UnkownType', 'Unhandled type ' + - shape.type + ' for ' + context); - } - }, - - validateString: function validateString(shape, value, context) { - var validTypes = ['string']; - if (shape.isJsonValue) { - validTypes = validTypes.concat(['number', 'object', 'boolean']); - } - if (value !== null && this.validateType(value, context, validTypes)) { - this.validateEnum(shape, value, context); - this.validateRange(shape, value.length, context, 'string length'); - this.validatePattern(shape, value, context); - } - }, - - validatePattern: function validatePattern(shape, value, context) { - if (this.validation['pattern'] && shape['pattern'] !== undefined) { - if (!(new RegExp(shape['pattern'])).test(value)) { - this.fail('PatternMatchError', 'Provided value "' + value + '" ' - + 'does not match regex pattern /' + shape['pattern'] + '/ for ' - + context); - } - } - }, - - validateRange: function validateRange(shape, value, context, descriptor) { - if (this.validation['min']) { - if (shape['min'] !== undefined && value < shape['min']) { - this.fail('MinRangeError', 'Expected ' + descriptor + ' >= ' - + shape['min'] + ', but found ' + value + ' for ' + context); - } - } - if (this.validation['max']) { - if (shape['max'] !== undefined && value > shape['max']) { - this.fail('MaxRangeError', 'Expected ' + descriptor + ' <= ' - + shape['max'] + ', but found ' + value + ' for ' + context); - } - } - }, - - validateEnum: function validateRange(shape, value, context) { - if (this.validation['enum'] && shape['enum'] !== undefined) { - // Fail if the string value is not present in the enum list - if (shape['enum'].indexOf(value) === -1) { - this.fail('EnumError', 'Found string value of ' + value + ', but ' - + 'expected ' + shape['enum'].join('|') + ' for ' + context); - } - } - }, - - validateType: function validateType(value, context, acceptedTypes, type) { - // We will not log an error for null or undefined, but we will return - // false so that callers know that the expected type was not strictly met. - if (value === null || value === undefined) return false; - - var foundInvalidType = false; - for (var i = 0; i < acceptedTypes.length; i++) { - if (typeof acceptedTypes[i] === 'string') { - if (typeof value === acceptedTypes[i]) return true; - } else if (acceptedTypes[i] instanceof RegExp) { - if ((value || '').toString().match(acceptedTypes[i])) return true; - } else { - if (value instanceof acceptedTypes[i]) return true; - if (AWS.util.isType(value, acceptedTypes[i])) return true; - if (!type && !foundInvalidType) acceptedTypes = acceptedTypes.slice(); - acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]); - } - foundInvalidType = true; - } - - var acceptedType = type; - if (!acceptedType) { - acceptedType = acceptedTypes.join(', ').replace(/,([^,]+)$/, ', or$1'); - } - - var vowel = acceptedType.match(/^[aeiou]/i) ? 'n' : ''; - this.fail('InvalidParameterType', 'Expected ' + context + ' to be a' + - vowel + ' ' + acceptedType); - return false; - }, - - validateNumber: function validateNumber(shape, value, context) { - if (value === null || value === undefined) return; - if (typeof value === 'string') { - var castedValue = parseFloat(value); - if (castedValue.toString() === value) value = castedValue; - } - if (this.validateType(value, context, ['number'])) { - this.validateRange(shape, value, context, 'numeric value'); - } - }, - - validatePayload: function validatePayload(value, context) { - if (value === null || value === undefined) return; - if (typeof value === 'string') return; - if (value && typeof value.byteLength === 'number') return; // typed arrays - if (AWS.util.isNode()) { // special check for buffer/stream in Node.js - var Stream = AWS.util.stream.Stream; - if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) return; - } - - var types = ['Buffer', 'Stream', 'File', 'Blob', 'ArrayBuffer', 'DataView']; - if (value) { - for (var i = 0; i < types.length; i++) { - if (AWS.util.isType(value, types[i])) return; - if (AWS.util.typeName(value.constructor) === types[i]) return; - } - } - - this.fail('InvalidParameterType', 'Expected ' + context + ' to be a ' + - 'string, Buffer, Stream, Blob, or typed array object'); - } - }); - - -/***/ }), -/* 222 */ -/***/ (function(module, exports) { - - // use this when replacing modules with an empty replacement (needed for react-native) - module.exports = {}; - -/***/ }), -/* 223 */ -/***/ (function(module, exports) { - - module.exports = { - "acm": { - "name": "ACM", - "cors": true - }, - "apigateway": { - "name": "APIGateway", - "cors": true - }, - "applicationautoscaling": { - "prefix": "application-autoscaling", - "name": "ApplicationAutoScaling", - "cors": true - }, - "appstream": { - "name": "AppStream" - }, - "autoscaling": { - "name": "AutoScaling", - "cors": true - }, - "batch": { - "name": "Batch" - }, - "budgets": { - "name": "Budgets" - }, - "clouddirectory": { - "name": "CloudDirectory" - }, - "cloudformation": { - "name": "CloudFormation", - "cors": true - }, - "cloudfront": { - "name": "CloudFront", - "versions": [ - "2013-05-12*", - "2013-11-11*", - "2014-05-31*", - "2014-10-21*", - "2014-11-06*", - "2015-04-17*", - "2015-07-27*", - "2015-09-17*", - "2016-01-13*", - "2016-01-28*", - "2016-08-01*", - "2016-08-20*", - "2016-09-07*", - "2016-09-29*", - "2016-11-25*" - ], - "cors": true - }, - "cloudhsm": { - "name": "CloudHSM", - "cors": true - }, - "cloudsearch": { - "name": "CloudSearch" - }, - "cloudsearchdomain": { - "name": "CloudSearchDomain" - }, - "cloudtrail": { - "name": "CloudTrail", - "cors": true - }, - "cloudwatch": { - "prefix": "monitoring", - "name": "CloudWatch", - "cors": true - }, - "cloudwatchevents": { - "prefix": "events", - "name": "CloudWatchEvents", - "versions": [ - "2014-02-03*" - ], - "cors": true - }, - "cloudwatchlogs": { - "prefix": "logs", - "name": "CloudWatchLogs", - "cors": true - }, - "codebuild": { - "name": "CodeBuild" - }, - "codecommit": { - "name": "CodeCommit", - "cors": true - }, - "codedeploy": { - "name": "CodeDeploy", - "cors": true - }, - "codepipeline": { - "name": "CodePipeline", - "cors": true - }, - "cognitoidentity": { - "prefix": "cognito-identity", - "name": "CognitoIdentity", - "cors": true - }, - "cognitoidentityserviceprovider": { - "prefix": "cognito-idp", - "name": "CognitoIdentityServiceProvider", - "cors": true - }, - "cognitosync": { - "prefix": "cognito-sync", - "name": "CognitoSync", - "cors": true - }, - "configservice": { - "prefix": "config", - "name": "ConfigService", - "cors": true - }, - "cur": { - "name": "CUR", - "cors": true - }, - "datapipeline": { - "name": "DataPipeline" - }, - "devicefarm": { - "name": "DeviceFarm", - "cors": true - }, - "directconnect": { - "name": "DirectConnect", - "cors": true - }, - "directoryservice": { - "prefix": "ds", - "name": "DirectoryService" - }, - "discovery": { - "name": "Discovery" - }, - "dms": { - "name": "DMS" - }, - "dynamodb": { - "name": "DynamoDB", - "cors": true - }, - "dynamodbstreams": { - "prefix": "streams.dynamodb", - "name": "DynamoDBStreams", - "cors": true - }, - "ec2": { - "name": "EC2", - "versions": [ - "2013-06-15*", - "2013-10-15*", - "2014-02-01*", - "2014-05-01*", - "2014-06-15*", - "2014-09-01*", - "2014-10-01*", - "2015-03-01*", - "2015-04-15*", - "2015-10-01*", - "2016-04-01*", - "2016-09-15*" - ], - "cors": true - }, - "ecr": { - "name": "ECR", - "cors": true - }, - "ecs": { - "name": "ECS", - "cors": true - }, - "efs": { - "prefix": "elasticfilesystem", - "name": "EFS", - "cors": true - }, - "elasticache": { - "name": "ElastiCache", - "versions": [ - "2012-11-15*", - "2014-03-24*", - "2014-07-15*", - "2014-09-30*" - ], - "cors": true - }, - "elasticbeanstalk": { - "name": "ElasticBeanstalk", - "cors": true - }, - "elb": { - "prefix": "elasticloadbalancing", - "name": "ELB", - "cors": true - }, - "elbv2": { - "prefix": "elasticloadbalancingv2", - "name": "ELBv2", - "cors": true - }, - "emr": { - "prefix": "elasticmapreduce", - "name": "EMR", - "cors": true - }, - "es": { - "name": "ES" - }, - "elastictranscoder": { - "name": "ElasticTranscoder", - "cors": true - }, - "firehose": { - "name": "Firehose", - "cors": true - }, - "gamelift": { - "name": "GameLift", - "cors": true - }, - "glacier": { - "name": "Glacier" - }, - "health": { - "name": "Health" - }, - "iam": { - "name": "IAM" - }, - "importexport": { - "name": "ImportExport" - }, - "inspector": { - "name": "Inspector", - "versions": [ - "2015-08-18*" - ], - "cors": true - }, - "iot": { - "name": "Iot", - "cors": true - }, - "iotdata": { - "prefix": "iot-data", - "name": "IotData", - "cors": true - }, - "kinesis": { - "name": "Kinesis", - "cors": true - }, - "kinesisanalytics": { - "name": "KinesisAnalytics" - }, - "kms": { - "name": "KMS", - "cors": true - }, - "lambda": { - "name": "Lambda", - "cors": true - }, - "lexruntime": { - "prefix": "runtime.lex", - "name": "LexRuntime", - "cors": true - }, - "lightsail": { - "name": "Lightsail" - }, - "machinelearning": { - "name": "MachineLearning", - "cors": true - }, - "marketplacecommerceanalytics": { - "name": "MarketplaceCommerceAnalytics", - "cors": true - }, - "marketplacemetering": { - "prefix": "meteringmarketplace", - "name": "MarketplaceMetering" - }, - "mturk": { - "prefix": "mturk-requester", - "name": "MTurk", - "cors": true - }, - "mobileanalytics": { - "name": "MobileAnalytics", - "cors": true - }, - "opsworks": { - "name": "OpsWorks", - "cors": true - }, - "opsworkscm": { - "name": "OpsWorksCM" - }, - "organizations": { - "name": "Organizations" - }, - "pinpoint": { - "name": "Pinpoint" - }, - "polly": { - "name": "Polly", - "cors": true - }, - "rds": { - "name": "RDS", - "versions": [ - "2014-09-01*" - ], - "cors": true - }, - "redshift": { - "name": "Redshift", - "cors": true - }, - "rekognition": { - "name": "Rekognition", - "cors": true - }, - "resourcegroupstaggingapi": { - "name": "ResourceGroupsTaggingAPI" - }, - "route53": { - "name": "Route53", - "cors": true - }, - "route53domains": { - "name": "Route53Domains", - "cors": true - }, - "s3": { - "name": "S3", - "dualstackAvailable": true, - "cors": true - }, - "servicecatalog": { - "name": "ServiceCatalog", - "cors": true - }, - "ses": { - "prefix": "email", - "name": "SES", - "cors": true - }, - "shield": { - "name": "Shield" - }, - "simpledb": { - "prefix": "sdb", - "name": "SimpleDB" - }, - "sms": { - "name": "SMS" - }, - "snowball": { - "name": "Snowball" - }, - "sns": { - "name": "SNS", - "cors": true - }, - "sqs": { - "name": "SQS", - "cors": true - }, - "ssm": { - "name": "SSM", - "cors": true - }, - "storagegateway": { - "name": "StorageGateway", - "cors": true - }, - "stepfunctions": { - "prefix": "states", - "name": "StepFunctions" - }, - "sts": { - "name": "STS", - "cors": true - }, - "support": { - "name": "Support" - }, - "swf": { - "name": "SWF" - }, - "xray": { - "name": "XRay" - }, - "waf": { - "name": "WAF", - "cors": true - }, - "wafregional": { - "prefix": "waf-regional", - "name": "WAFRegional" - }, - "workdocs": { - "name": "WorkDocs", - "cors": true - }, - "workspaces": { - "name": "WorkSpaces" - }, - "codestar": { - "name": "CodeStar" - }, - "lexmodelbuildingservice": { - "prefix": "lex-models", - "name": "LexModelBuildingService" - }, - "marketplaceentitlementservice": { - "prefix": "entitlement.marketplace", - "name": "MarketplaceEntitlementService" - }, - "athena": { - "name": "Athena" - }, - "greengrass": { - "name": "Greengrass" - }, - "dax": { - "name": "DAX" - } - }; - -/***/ }), -/* 224 */ -/***/ (function(module, exports, __webpack_require__) { - - var v1 = __webpack_require__(225); - var v4 = __webpack_require__(279); - - var uuid = v4; - uuid.v1 = v1; - uuid.v4 = v4; - - module.exports = uuid; - - -/***/ }), -/* 225 */ -/***/ (function(module, exports, __webpack_require__) { - - // Unique ID creation requires a high quality random # generator. We feature - // detect to determine the best RNG source, normalizing to a function that - // returns 128-bits of randomness, since that's what's usually required - var rng = __webpack_require__(226); - var bytesToUuid = __webpack_require__(278); - - // **`v1()` - Generate time-based UUID** - // - // Inspired by https://github.com/LiosK/UUID.js - // and http://docs.python.org/library/uuid.html - - // random #'s we need to init node and clockseq - var _seedBytes = rng(); - - // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) - var _nodeId = [ - _seedBytes[0] | 0x01, - _seedBytes[1], _seedBytes[2], _seedBytes[3], _seedBytes[4], _seedBytes[5] - ]; - - // Per 4.2.2, randomize (14 bit) clockseq - var _clockseq = (_seedBytes[6] << 8 | _seedBytes[7]) & 0x3fff; - - // Previous uuid creation time - var _lastMSecs = 0, _lastNSecs = 0; - - // See https://github.com/broofa/node-uuid for API details - function v1(options, buf, offset) { - var i = buf && offset || 0; - var b = buf || []; - - options = options || {}; - - var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; - - // UUID timestamps are 100 nano-second units since the Gregorian epoch, - // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so - // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' - // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. - var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); - - // Per 4.2.1.2, use count of uuid's generated during the current clock - // cycle to simulate higher resolution clock - var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; - - // Time since last uuid creation (in msecs) - var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000; - - // Per 4.2.1.2, Bump clockseq on clock regression - if (dt < 0 && options.clockseq === undefined) { - clockseq = clockseq + 1 & 0x3fff; - } - - // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new - // time interval - if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { - nsecs = 0; - } - - // Per 4.2.1.2 Throw error if too many uuids are requested - if (nsecs >= 10000) { - throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec'); - } - - _lastMSecs = msecs; - _lastNSecs = nsecs; - _clockseq = clockseq; - - // Per 4.1.4 - Convert from unix epoch to Gregorian epoch - msecs += 12219292800000; - - // `time_low` - var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; - b[i++] = tl >>> 24 & 0xff; - b[i++] = tl >>> 16 & 0xff; - b[i++] = tl >>> 8 & 0xff; - b[i++] = tl & 0xff; - - // `time_mid` - var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff; - b[i++] = tmh >>> 8 & 0xff; - b[i++] = tmh & 0xff; - - // `time_high_and_version` - b[i++] = tmh >>> 24 & 0xf | 0x10; // include version - b[i++] = tmh >>> 16 & 0xff; - - // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) - b[i++] = clockseq >>> 8 | 0x80; - - // `clock_seq_low` - b[i++] = clockseq & 0xff; - - // `node` - var node = options.node || _nodeId; - for (var n = 0; n < 6; ++n) { - b[i + n] = node[n]; - } - - return buf ? buf : bytesToUuid(b); - } - - module.exports = v1; - - -/***/ }), -/* 226 */ -/***/ (function(module, exports, __webpack_require__) { - - // Unique ID creation requires a high quality random # generator. In node.js - // this is prett straight-forward - we use the crypto API. - - var rb = __webpack_require__(227).randomBytes; - - function rng() { - return rb(16); - }; - - module.exports = rng; - - -/***/ }), -/* 227 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) {var rng = __webpack_require__(228) - - function error () { - var m = [].slice.call(arguments).join(' ') - throw new Error([ - m, - 'we accept pull requests', - 'http://github.com/dominictarr/crypto-browserify' - ].join('\n')) - } - - exports.createHash = __webpack_require__(229) - - exports.createHmac = __webpack_require__(238) - - exports.randomBytes = function(size, callback) { - if (callback && callback.call) { - try { - callback.call(this, undefined, new Buffer(rng(size))) - } catch (err) { callback(err) } - } else { - return new Buffer(rng(size)) - } - } - - function each(a, f) { - for(var i in a) - f(a[i], i) - } - - exports.getHashes = function () { - return ['sha1', 'sha256', 'sha512', 'md5', 'rmd160'] - } - - var p = __webpack_require__(239)(exports) - exports.pbkdf2 = p.pbkdf2 - exports.pbkdf2Sync = p.pbkdf2Sync - __webpack_require__(241)(exports, module.exports); - - // the least I can do is make error messages for the rest of the node.js/crypto api. - each(['createCredentials' - , 'createSign' - , 'createVerify' - , 'createDiffieHellman' - ], function (name) { - exports[name] = function () { - error('sorry,', name, 'is not implemented yet') - } - }) - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 228 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(global, Buffer) {(function() { - var g = ('undefined' === typeof window ? global : window) || {} - _crypto = ( - g.crypto || g.msCrypto || __webpack_require__(227) - ) - module.exports = function(size) { - // Modern Browsers - if(_crypto.getRandomValues) { - var bytes = new Buffer(size); //in browserify, this is an extended Uint8Array - /* This will not work in older browsers. - * See https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues - */ - - _crypto.getRandomValues(bytes); - return bytes; - } - else if (_crypto.randomBytes) { - return _crypto.randomBytes(size) - } - else - throw new Error( - 'secure random number generation not supported by this browser\n'+ - 'use chrome, FireFox or Internet Explorer 11' - ) - } - }()) - - /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(203).Buffer)) - -/***/ }), -/* 229 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) {var createHash = __webpack_require__(230) - - var md5 = toConstructor(__webpack_require__(235)) - var rmd160 = toConstructor(__webpack_require__(237)) - - function toConstructor (fn) { - return function () { - var buffers = [] - var m= { - update: function (data, enc) { - if(!Buffer.isBuffer(data)) data = new Buffer(data, enc) - buffers.push(data) - return this - }, - digest: function (enc) { - var buf = Buffer.concat(buffers) - var r = fn(buf) - buffers = null - return enc ? r.toString(enc) : r - } - } - return m - } - } - - module.exports = function (alg) { - if('md5' === alg) return new md5() - if('rmd160' === alg) return new rmd160() - return createHash(alg) - } - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 230 */ -/***/ (function(module, exports, __webpack_require__) { - - var exports = module.exports = function (alg) { - var Alg = exports[alg] - if(!Alg) throw new Error(alg + ' is not supported (we accept pull requests)') - return new Alg() - } - - var Buffer = __webpack_require__(203).Buffer - var Hash = __webpack_require__(231)(Buffer) - - exports.sha1 = __webpack_require__(232)(Buffer, Hash) - exports.sha256 = __webpack_require__(233)(Buffer, Hash) - exports.sha512 = __webpack_require__(234)(Buffer, Hash) - - -/***/ }), -/* 231 */ -/***/ (function(module, exports) { - - module.exports = function (Buffer) { - - //prototype class for hash functions - function Hash (blockSize, finalSize) { - this._block = new Buffer(blockSize) //new Uint32Array(blockSize/4) - this._finalSize = finalSize - this._blockSize = blockSize - this._len = 0 - this._s = 0 - } - - Hash.prototype.init = function () { - this._s = 0 - this._len = 0 - } - - Hash.prototype.update = function (data, enc) { - if ("string" === typeof data) { - enc = enc || "utf8" - data = new Buffer(data, enc) - } - - var l = this._len += data.length - var s = this._s = (this._s || 0) - var f = 0 - var buffer = this._block - - while (s < l) { - var t = Math.min(data.length, f + this._blockSize - (s % this._blockSize)) - var ch = (t - f) - - for (var i = 0; i < ch; i++) { - buffer[(s % this._blockSize) + i] = data[i + f] - } - - s += ch - f += ch - - if ((s % this._blockSize) === 0) { - this._update(buffer) - } - } - this._s = s - - return this - } - - Hash.prototype.digest = function (enc) { - // Suppose the length of the message M, in bits, is l - var l = this._len * 8 - - // Append the bit 1 to the end of the message - this._block[this._len % this._blockSize] = 0x80 - - // and then k zero bits, where k is the smallest non-negative solution to the equation (l + 1 + k) === finalSize mod blockSize - this._block.fill(0, this._len % this._blockSize + 1) - - if (l % (this._blockSize * 8) >= this._finalSize * 8) { - this._update(this._block) - this._block.fill(0) - } - - // to this append the block which is equal to the number l written in binary - // TODO: handle case where l is > Math.pow(2, 29) - this._block.writeInt32BE(l, this._blockSize - 4) - - var hash = this._update(this._block) || this._hash() - - return enc ? hash.toString(enc) : hash - } - - Hash.prototype._update = function () { - throw new Error('_update must be implemented by subclass') - } - - return Hash - } - - -/***/ }), -/* 232 */ -/***/ (function(module, exports, __webpack_require__) { - - /* - * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined - * in FIPS PUB 180-1 - * Version 2.1a Copyright Paul Johnston 2000 - 2002. - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * Distributed under the BSD License - * See http://pajhome.org.uk/crypt/md5 for details. - */ - - var inherits = __webpack_require__(201).inherits - - module.exports = function (Buffer, Hash) { - - var A = 0|0 - var B = 4|0 - var C = 8|0 - var D = 12|0 - var E = 16|0 - - var W = new (typeof Int32Array === 'undefined' ? Array : Int32Array)(80) - - var POOL = [] - - function Sha1 () { - if(POOL.length) - return POOL.pop().init() - - if(!(this instanceof Sha1)) return new Sha1() - this._w = W - Hash.call(this, 16*4, 14*4) - - this._h = null - this.init() - } - - inherits(Sha1, Hash) - - Sha1.prototype.init = function () { - this._a = 0x67452301 - this._b = 0xefcdab89 - this._c = 0x98badcfe - this._d = 0x10325476 - this._e = 0xc3d2e1f0 - - Hash.prototype.init.call(this) - return this - } - - Sha1.prototype._POOL = POOL - Sha1.prototype._update = function (X) { - - var a, b, c, d, e, _a, _b, _c, _d, _e - - a = _a = this._a - b = _b = this._b - c = _c = this._c - d = _d = this._d - e = _e = this._e - - var w = this._w - - for(var j = 0; j < 80; j++) { - var W = w[j] = j < 16 ? X.readInt32BE(j*4) - : rol(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1) - - var t = add( - add(rol(a, 5), sha1_ft(j, b, c, d)), - add(add(e, W), sha1_kt(j)) - ) - - e = d - d = c - c = rol(b, 30) - b = a - a = t - } - - this._a = add(a, _a) - this._b = add(b, _b) - this._c = add(c, _c) - this._d = add(d, _d) - this._e = add(e, _e) - } - - Sha1.prototype._hash = function () { - if(POOL.length < 100) POOL.push(this) - var H = new Buffer(20) - //console.log(this._a|0, this._b|0, this._c|0, this._d|0, this._e|0) - H.writeInt32BE(this._a|0, A) - H.writeInt32BE(this._b|0, B) - H.writeInt32BE(this._c|0, C) - H.writeInt32BE(this._d|0, D) - H.writeInt32BE(this._e|0, E) - return H - } - - /* - * Perform the appropriate triplet combination function for the current - * iteration - */ - function sha1_ft(t, b, c, d) { - if(t < 20) return (b & c) | ((~b) & d); - if(t < 40) return b ^ c ^ d; - if(t < 60) return (b & c) | (b & d) | (c & d); - return b ^ c ^ d; - } - - /* - * Determine the appropriate additive constant for the current iteration - */ - function sha1_kt(t) { - return (t < 20) ? 1518500249 : (t < 40) ? 1859775393 : - (t < 60) ? -1894007588 : -899497514; - } - - /* - * Add integers, wrapping at 2^32. This uses 16-bit operations internally - * to work around bugs in some JS interpreters. - * //dominictarr: this is 10 years old, so maybe this can be dropped?) - * - */ - function add(x, y) { - return (x + y ) | 0 - //lets see how this goes on testling. - // var lsw = (x & 0xFFFF) + (y & 0xFFFF); - // var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - // return (msw << 16) | (lsw & 0xFFFF); - } - - /* - * Bitwise rotate a 32-bit number to the left. - */ - function rol(num, cnt) { - return (num << cnt) | (num >>> (32 - cnt)); - } - - return Sha1 - } - - -/***/ }), -/* 233 */ -/***/ (function(module, exports, __webpack_require__) { - - - /** - * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined - * in FIPS 180-2 - * Version 2.2-beta Copyright Angel Marin, Paul Johnston 2000 - 2009. - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * - */ - - var inherits = __webpack_require__(201).inherits - - module.exports = function (Buffer, Hash) { - - var K = [ - 0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5, - 0x3956C25B, 0x59F111F1, 0x923F82A4, 0xAB1C5ED5, - 0xD807AA98, 0x12835B01, 0x243185BE, 0x550C7DC3, - 0x72BE5D74, 0x80DEB1FE, 0x9BDC06A7, 0xC19BF174, - 0xE49B69C1, 0xEFBE4786, 0x0FC19DC6, 0x240CA1CC, - 0x2DE92C6F, 0x4A7484AA, 0x5CB0A9DC, 0x76F988DA, - 0x983E5152, 0xA831C66D, 0xB00327C8, 0xBF597FC7, - 0xC6E00BF3, 0xD5A79147, 0x06CA6351, 0x14292967, - 0x27B70A85, 0x2E1B2138, 0x4D2C6DFC, 0x53380D13, - 0x650A7354, 0x766A0ABB, 0x81C2C92E, 0x92722C85, - 0xA2BFE8A1, 0xA81A664B, 0xC24B8B70, 0xC76C51A3, - 0xD192E819, 0xD6990624, 0xF40E3585, 0x106AA070, - 0x19A4C116, 0x1E376C08, 0x2748774C, 0x34B0BCB5, - 0x391C0CB3, 0x4ED8AA4A, 0x5B9CCA4F, 0x682E6FF3, - 0x748F82EE, 0x78A5636F, 0x84C87814, 0x8CC70208, - 0x90BEFFFA, 0xA4506CEB, 0xBEF9A3F7, 0xC67178F2 - ] - - var W = new Array(64) - - function Sha256() { - this.init() - - this._w = W //new Array(64) - - Hash.call(this, 16*4, 14*4) - } - - inherits(Sha256, Hash) - - Sha256.prototype.init = function () { - - this._a = 0x6a09e667|0 - this._b = 0xbb67ae85|0 - this._c = 0x3c6ef372|0 - this._d = 0xa54ff53a|0 - this._e = 0x510e527f|0 - this._f = 0x9b05688c|0 - this._g = 0x1f83d9ab|0 - this._h = 0x5be0cd19|0 - - this._len = this._s = 0 - - return this - } - - function S (X, n) { - return (X >>> n) | (X << (32 - n)); - } - - function R (X, n) { - return (X >>> n); - } - - function Ch (x, y, z) { - return ((x & y) ^ ((~x) & z)); - } - - function Maj (x, y, z) { - return ((x & y) ^ (x & z) ^ (y & z)); - } - - function Sigma0256 (x) { - return (S(x, 2) ^ S(x, 13) ^ S(x, 22)); - } - - function Sigma1256 (x) { - return (S(x, 6) ^ S(x, 11) ^ S(x, 25)); - } - - function Gamma0256 (x) { - return (S(x, 7) ^ S(x, 18) ^ R(x, 3)); - } - - function Gamma1256 (x) { - return (S(x, 17) ^ S(x, 19) ^ R(x, 10)); - } - - Sha256.prototype._update = function(M) { - - var W = this._w - var a, b, c, d, e, f, g, h - var T1, T2 - - a = this._a | 0 - b = this._b | 0 - c = this._c | 0 - d = this._d | 0 - e = this._e | 0 - f = this._f | 0 - g = this._g | 0 - h = this._h | 0 - - for (var j = 0; j < 64; j++) { - var w = W[j] = j < 16 - ? M.readInt32BE(j * 4) - : Gamma1256(W[j - 2]) + W[j - 7] + Gamma0256(W[j - 15]) + W[j - 16] - - T1 = h + Sigma1256(e) + Ch(e, f, g) + K[j] + w - - T2 = Sigma0256(a) + Maj(a, b, c); - h = g; g = f; f = e; e = d + T1; d = c; c = b; b = a; a = T1 + T2; - } - - this._a = (a + this._a) | 0 - this._b = (b + this._b) | 0 - this._c = (c + this._c) | 0 - this._d = (d + this._d) | 0 - this._e = (e + this._e) | 0 - this._f = (f + this._f) | 0 - this._g = (g + this._g) | 0 - this._h = (h + this._h) | 0 - - }; - - Sha256.prototype._hash = function () { - var H = new Buffer(32) - - H.writeInt32BE(this._a, 0) - H.writeInt32BE(this._b, 4) - H.writeInt32BE(this._c, 8) - H.writeInt32BE(this._d, 12) - H.writeInt32BE(this._e, 16) - H.writeInt32BE(this._f, 20) - H.writeInt32BE(this._g, 24) - H.writeInt32BE(this._h, 28) - - return H - } - - return Sha256 - - } - - -/***/ }), -/* 234 */ -/***/ (function(module, exports, __webpack_require__) { - - var inherits = __webpack_require__(201).inherits - - module.exports = function (Buffer, Hash) { - var K = [ - 0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd, - 0xb5c0fbcf, 0xec4d3b2f, 0xe9b5dba5, 0x8189dbbc, - 0x3956c25b, 0xf348b538, 0x59f111f1, 0xb605d019, - 0x923f82a4, 0xaf194f9b, 0xab1c5ed5, 0xda6d8118, - 0xd807aa98, 0xa3030242, 0x12835b01, 0x45706fbe, - 0x243185be, 0x4ee4b28c, 0x550c7dc3, 0xd5ffb4e2, - 0x72be5d74, 0xf27b896f, 0x80deb1fe, 0x3b1696b1, - 0x9bdc06a7, 0x25c71235, 0xc19bf174, 0xcf692694, - 0xe49b69c1, 0x9ef14ad2, 0xefbe4786, 0x384f25e3, - 0x0fc19dc6, 0x8b8cd5b5, 0x240ca1cc, 0x77ac9c65, - 0x2de92c6f, 0x592b0275, 0x4a7484aa, 0x6ea6e483, - 0x5cb0a9dc, 0xbd41fbd4, 0x76f988da, 0x831153b5, - 0x983e5152, 0xee66dfab, 0xa831c66d, 0x2db43210, - 0xb00327c8, 0x98fb213f, 0xbf597fc7, 0xbeef0ee4, - 0xc6e00bf3, 0x3da88fc2, 0xd5a79147, 0x930aa725, - 0x06ca6351, 0xe003826f, 0x14292967, 0x0a0e6e70, - 0x27b70a85, 0x46d22ffc, 0x2e1b2138, 0x5c26c926, - 0x4d2c6dfc, 0x5ac42aed, 0x53380d13, 0x9d95b3df, - 0x650a7354, 0x8baf63de, 0x766a0abb, 0x3c77b2a8, - 0x81c2c92e, 0x47edaee6, 0x92722c85, 0x1482353b, - 0xa2bfe8a1, 0x4cf10364, 0xa81a664b, 0xbc423001, - 0xc24b8b70, 0xd0f89791, 0xc76c51a3, 0x0654be30, - 0xd192e819, 0xd6ef5218, 0xd6990624, 0x5565a910, - 0xf40e3585, 0x5771202a, 0x106aa070, 0x32bbd1b8, - 0x19a4c116, 0xb8d2d0c8, 0x1e376c08, 0x5141ab53, - 0x2748774c, 0xdf8eeb99, 0x34b0bcb5, 0xe19b48a8, - 0x391c0cb3, 0xc5c95a63, 0x4ed8aa4a, 0xe3418acb, - 0x5b9cca4f, 0x7763e373, 0x682e6ff3, 0xd6b2b8a3, - 0x748f82ee, 0x5defb2fc, 0x78a5636f, 0x43172f60, - 0x84c87814, 0xa1f0ab72, 0x8cc70208, 0x1a6439ec, - 0x90befffa, 0x23631e28, 0xa4506ceb, 0xde82bde9, - 0xbef9a3f7, 0xb2c67915, 0xc67178f2, 0xe372532b, - 0xca273ece, 0xea26619c, 0xd186b8c7, 0x21c0c207, - 0xeada7dd6, 0xcde0eb1e, 0xf57d4f7f, 0xee6ed178, - 0x06f067aa, 0x72176fba, 0x0a637dc5, 0xa2c898a6, - 0x113f9804, 0xbef90dae, 0x1b710b35, 0x131c471b, - 0x28db77f5, 0x23047d84, 0x32caab7b, 0x40c72493, - 0x3c9ebe0a, 0x15c9bebc, 0x431d67c4, 0x9c100d4c, - 0x4cc5d4be, 0xcb3e42b6, 0x597f299c, 0xfc657e2a, - 0x5fcb6fab, 0x3ad6faec, 0x6c44198c, 0x4a475817 - ] - - var W = new Array(160) - - function Sha512() { - this.init() - this._w = W - - Hash.call(this, 128, 112) - } - - inherits(Sha512, Hash) - - Sha512.prototype.init = function () { - - this._a = 0x6a09e667|0 - this._b = 0xbb67ae85|0 - this._c = 0x3c6ef372|0 - this._d = 0xa54ff53a|0 - this._e = 0x510e527f|0 - this._f = 0x9b05688c|0 - this._g = 0x1f83d9ab|0 - this._h = 0x5be0cd19|0 - - this._al = 0xf3bcc908|0 - this._bl = 0x84caa73b|0 - this._cl = 0xfe94f82b|0 - this._dl = 0x5f1d36f1|0 - this._el = 0xade682d1|0 - this._fl = 0x2b3e6c1f|0 - this._gl = 0xfb41bd6b|0 - this._hl = 0x137e2179|0 - - this._len = this._s = 0 - - return this - } - - function S (X, Xl, n) { - return (X >>> n) | (Xl << (32 - n)) - } - - function Ch (x, y, z) { - return ((x & y) ^ ((~x) & z)); - } - - function Maj (x, y, z) { - return ((x & y) ^ (x & z) ^ (y & z)); - } - - Sha512.prototype._update = function(M) { - - var W = this._w - var a, b, c, d, e, f, g, h - var al, bl, cl, dl, el, fl, gl, hl - - a = this._a | 0 - b = this._b | 0 - c = this._c | 0 - d = this._d | 0 - e = this._e | 0 - f = this._f | 0 - g = this._g | 0 - h = this._h | 0 - - al = this._al | 0 - bl = this._bl | 0 - cl = this._cl | 0 - dl = this._dl | 0 - el = this._el | 0 - fl = this._fl | 0 - gl = this._gl | 0 - hl = this._hl | 0 - - for (var i = 0; i < 80; i++) { - var j = i * 2 - - var Wi, Wil - - if (i < 16) { - Wi = W[j] = M.readInt32BE(j * 4) - Wil = W[j + 1] = M.readInt32BE(j * 4 + 4) - - } else { - var x = W[j - 15*2] - var xl = W[j - 15*2 + 1] - var gamma0 = S(x, xl, 1) ^ S(x, xl, 8) ^ (x >>> 7) - var gamma0l = S(xl, x, 1) ^ S(xl, x, 8) ^ S(xl, x, 7) - - x = W[j - 2*2] - xl = W[j - 2*2 + 1] - var gamma1 = S(x, xl, 19) ^ S(xl, x, 29) ^ (x >>> 6) - var gamma1l = S(xl, x, 19) ^ S(x, xl, 29) ^ S(xl, x, 6) - - // W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16] - var Wi7 = W[j - 7*2] - var Wi7l = W[j - 7*2 + 1] - - var Wi16 = W[j - 16*2] - var Wi16l = W[j - 16*2 + 1] - - Wil = gamma0l + Wi7l - Wi = gamma0 + Wi7 + ((Wil >>> 0) < (gamma0l >>> 0) ? 1 : 0) - Wil = Wil + gamma1l - Wi = Wi + gamma1 + ((Wil >>> 0) < (gamma1l >>> 0) ? 1 : 0) - Wil = Wil + Wi16l - Wi = Wi + Wi16 + ((Wil >>> 0) < (Wi16l >>> 0) ? 1 : 0) - - W[j] = Wi - W[j + 1] = Wil - } - - var maj = Maj(a, b, c) - var majl = Maj(al, bl, cl) - - var sigma0h = S(a, al, 28) ^ S(al, a, 2) ^ S(al, a, 7) - var sigma0l = S(al, a, 28) ^ S(a, al, 2) ^ S(a, al, 7) - var sigma1h = S(e, el, 14) ^ S(e, el, 18) ^ S(el, e, 9) - var sigma1l = S(el, e, 14) ^ S(el, e, 18) ^ S(e, el, 9) - - // t1 = h + sigma1 + ch + K[i] + W[i] - var Ki = K[j] - var Kil = K[j + 1] - - var ch = Ch(e, f, g) - var chl = Ch(el, fl, gl) - - var t1l = hl + sigma1l - var t1 = h + sigma1h + ((t1l >>> 0) < (hl >>> 0) ? 1 : 0) - t1l = t1l + chl - t1 = t1 + ch + ((t1l >>> 0) < (chl >>> 0) ? 1 : 0) - t1l = t1l + Kil - t1 = t1 + Ki + ((t1l >>> 0) < (Kil >>> 0) ? 1 : 0) - t1l = t1l + Wil - t1 = t1 + Wi + ((t1l >>> 0) < (Wil >>> 0) ? 1 : 0) - - // t2 = sigma0 + maj - var t2l = sigma0l + majl - var t2 = sigma0h + maj + ((t2l >>> 0) < (sigma0l >>> 0) ? 1 : 0) - - h = g - hl = gl - g = f - gl = fl - f = e - fl = el - el = (dl + t1l) | 0 - e = (d + t1 + ((el >>> 0) < (dl >>> 0) ? 1 : 0)) | 0 - d = c - dl = cl - c = b - cl = bl - b = a - bl = al - al = (t1l + t2l) | 0 - a = (t1 + t2 + ((al >>> 0) < (t1l >>> 0) ? 1 : 0)) | 0 - } - - this._al = (this._al + al) | 0 - this._bl = (this._bl + bl) | 0 - this._cl = (this._cl + cl) | 0 - this._dl = (this._dl + dl) | 0 - this._el = (this._el + el) | 0 - this._fl = (this._fl + fl) | 0 - this._gl = (this._gl + gl) | 0 - this._hl = (this._hl + hl) | 0 - - this._a = (this._a + a + ((this._al >>> 0) < (al >>> 0) ? 1 : 0)) | 0 - this._b = (this._b + b + ((this._bl >>> 0) < (bl >>> 0) ? 1 : 0)) | 0 - this._c = (this._c + c + ((this._cl >>> 0) < (cl >>> 0) ? 1 : 0)) | 0 - this._d = (this._d + d + ((this._dl >>> 0) < (dl >>> 0) ? 1 : 0)) | 0 - this._e = (this._e + e + ((this._el >>> 0) < (el >>> 0) ? 1 : 0)) | 0 - this._f = (this._f + f + ((this._fl >>> 0) < (fl >>> 0) ? 1 : 0)) | 0 - this._g = (this._g + g + ((this._gl >>> 0) < (gl >>> 0) ? 1 : 0)) | 0 - this._h = (this._h + h + ((this._hl >>> 0) < (hl >>> 0) ? 1 : 0)) | 0 - } - - Sha512.prototype._hash = function () { - var H = new Buffer(64) - - function writeInt64BE(h, l, offset) { - H.writeInt32BE(h, offset) - H.writeInt32BE(l, offset + 4) - } - - writeInt64BE(this._a, this._al, 0) - writeInt64BE(this._b, this._bl, 8) - writeInt64BE(this._c, this._cl, 16) - writeInt64BE(this._d, this._dl, 24) - writeInt64BE(this._e, this._el, 32) - writeInt64BE(this._f, this._fl, 40) - writeInt64BE(this._g, this._gl, 48) - writeInt64BE(this._h, this._hl, 56) - - return H - } - - return Sha512 - - } - - -/***/ }), -/* 235 */ -/***/ (function(module, exports, __webpack_require__) { - - /* - * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message - * Digest Algorithm, as defined in RFC 1321. - * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002. - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * Distributed under the BSD License - * See http://pajhome.org.uk/crypt/md5 for more info. - */ - - var helpers = __webpack_require__(236); - - /* - * Calculate the MD5 of an array of little-endian words, and a bit length - */ - function core_md5(x, len) - { - /* append padding */ - x[len >> 5] |= 0x80 << ((len) % 32); - x[(((len + 64) >>> 9) << 4) + 14] = len; - - var a = 1732584193; - var b = -271733879; - var c = -1732584194; - var d = 271733878; - - for(var i = 0; i < x.length; i += 16) - { - var olda = a; - var oldb = b; - var oldc = c; - var oldd = d; - - a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936); - d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586); - c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819); - b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330); - a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897); - d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426); - c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341); - b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983); - a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416); - d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417); - c = md5_ff(c, d, a, b, x[i+10], 17, -42063); - b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162); - a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682); - d = md5_ff(d, a, b, c, x[i+13], 12, -40341101); - c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290); - b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329); - - a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510); - d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632); - c = md5_gg(c, d, a, b, x[i+11], 14, 643717713); - b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302); - a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691); - d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083); - c = md5_gg(c, d, a, b, x[i+15], 14, -660478335); - b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848); - a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438); - d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690); - c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961); - b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501); - a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467); - d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784); - c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473); - b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734); - - a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558); - d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463); - c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562); - b = md5_hh(b, c, d, a, x[i+14], 23, -35309556); - a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060); - d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353); - c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632); - b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640); - a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174); - d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222); - c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979); - b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189); - a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487); - d = md5_hh(d, a, b, c, x[i+12], 11, -421815835); - c = md5_hh(c, d, a, b, x[i+15], 16, 530742520); - b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651); - - a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844); - d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415); - c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905); - b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055); - a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571); - d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606); - c = md5_ii(c, d, a, b, x[i+10], 15, -1051523); - b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799); - a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359); - d = md5_ii(d, a, b, c, x[i+15], 10, -30611744); - c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380); - b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649); - a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070); - d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379); - c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259); - b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551); - - a = safe_add(a, olda); - b = safe_add(b, oldb); - c = safe_add(c, oldc); - d = safe_add(d, oldd); - } - return Array(a, b, c, d); - - } - - /* - * These functions implement the four basic operations the algorithm uses. - */ - function md5_cmn(q, a, b, x, s, t) - { - return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b); - } - function md5_ff(a, b, c, d, x, s, t) - { - return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t); - } - function md5_gg(a, b, c, d, x, s, t) - { - return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t); - } - function md5_hh(a, b, c, d, x, s, t) - { - return md5_cmn(b ^ c ^ d, a, b, x, s, t); - } - function md5_ii(a, b, c, d, x, s, t) - { - return md5_cmn(c ^ (b | (~d)), a, b, x, s, t); - } - - /* - * Add integers, wrapping at 2^32. This uses 16-bit operations internally - * to work around bugs in some JS interpreters. - */ - function safe_add(x, y) - { - var lsw = (x & 0xFFFF) + (y & 0xFFFF); - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - return (msw << 16) | (lsw & 0xFFFF); - } - - /* - * Bitwise rotate a 32-bit number to the left. - */ - function bit_rol(num, cnt) - { - return (num << cnt) | (num >>> (32 - cnt)); - } - - module.exports = function md5(buf) { - return helpers.hash(buf, core_md5, 16); - }; - - -/***/ }), -/* 236 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) {var intSize = 4; - var zeroBuffer = new Buffer(intSize); zeroBuffer.fill(0); - var chrsz = 8; - - function toArray(buf, bigEndian) { - if ((buf.length % intSize) !== 0) { - var len = buf.length + (intSize - (buf.length % intSize)); - buf = Buffer.concat([buf, zeroBuffer], len); - } - - var arr = []; - var fn = bigEndian ? buf.readInt32BE : buf.readInt32LE; - for (var i = 0; i < buf.length; i += intSize) { - arr.push(fn.call(buf, i)); - } - return arr; - } - - function toBuffer(arr, size, bigEndian) { - var buf = new Buffer(size); - var fn = bigEndian ? buf.writeInt32BE : buf.writeInt32LE; - for (var i = 0; i < arr.length; i++) { - fn.call(buf, arr[i], i * 4, true); - } - return buf; - } - - function hash(buf, fn, hashSize, bigEndian) { - if (!Buffer.isBuffer(buf)) buf = new Buffer(buf); - var arr = fn(toArray(buf, bigEndian), buf.length * chrsz); - return toBuffer(arr, hashSize, bigEndian); - } - - module.exports = { hash: hash }; - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 237 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) { - module.exports = ripemd160 - - - - /* - CryptoJS v3.1.2 - code.google.com/p/crypto-js - (c) 2009-2013 by Jeff Mott. All rights reserved. - code.google.com/p/crypto-js/wiki/License - */ - /** @preserve - (c) 2012 by Cédric Mesnil. All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - // Constants table - var zl = [ - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, - 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, - 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, - 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, - 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13]; - var zr = [ - 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, - 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, - 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, - 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, - 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11]; - var sl = [ - 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, - 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, - 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, - 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, - 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6 ]; - var sr = [ - 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, - 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, - 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, - 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, - 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11 ]; - - var hl = [ 0x00000000, 0x5A827999, 0x6ED9EBA1, 0x8F1BBCDC, 0xA953FD4E]; - var hr = [ 0x50A28BE6, 0x5C4DD124, 0x6D703EF3, 0x7A6D76E9, 0x00000000]; - - var bytesToWords = function (bytes) { - var words = []; - for (var i = 0, b = 0; i < bytes.length; i++, b += 8) { - words[b >>> 5] |= bytes[i] << (24 - b % 32); - } - return words; - }; - - var wordsToBytes = function (words) { - var bytes = []; - for (var b = 0; b < words.length * 32; b += 8) { - bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF); - } - return bytes; - }; - - var processBlock = function (H, M, offset) { - - // Swap endian - for (var i = 0; i < 16; i++) { - var offset_i = offset + i; - var M_offset_i = M[offset_i]; - - // Swap - M[offset_i] = ( - (((M_offset_i << 8) | (M_offset_i >>> 24)) & 0x00ff00ff) | - (((M_offset_i << 24) | (M_offset_i >>> 8)) & 0xff00ff00) - ); - } - - // Working variables - var al, bl, cl, dl, el; - var ar, br, cr, dr, er; - - ar = al = H[0]; - br = bl = H[1]; - cr = cl = H[2]; - dr = dl = H[3]; - er = el = H[4]; - // Computation - var t; - for (var i = 0; i < 80; i += 1) { - t = (al + M[offset+zl[i]])|0; - if (i<16){ - t += f1(bl,cl,dl) + hl[0]; - } else if (i<32) { - t += f2(bl,cl,dl) + hl[1]; - } else if (i<48) { - t += f3(bl,cl,dl) + hl[2]; - } else if (i<64) { - t += f4(bl,cl,dl) + hl[3]; - } else {// if (i<80) { - t += f5(bl,cl,dl) + hl[4]; - } - t = t|0; - t = rotl(t,sl[i]); - t = (t+el)|0; - al = el; - el = dl; - dl = rotl(cl, 10); - cl = bl; - bl = t; - - t = (ar + M[offset+zr[i]])|0; - if (i<16){ - t += f5(br,cr,dr) + hr[0]; - } else if (i<32) { - t += f4(br,cr,dr) + hr[1]; - } else if (i<48) { - t += f3(br,cr,dr) + hr[2]; - } else if (i<64) { - t += f2(br,cr,dr) + hr[3]; - } else {// if (i<80) { - t += f1(br,cr,dr) + hr[4]; - } - t = t|0; - t = rotl(t,sr[i]) ; - t = (t+er)|0; - ar = er; - er = dr; - dr = rotl(cr, 10); - cr = br; - br = t; - } - // Intermediate hash value - t = (H[1] + cl + dr)|0; - H[1] = (H[2] + dl + er)|0; - H[2] = (H[3] + el + ar)|0; - H[3] = (H[4] + al + br)|0; - H[4] = (H[0] + bl + cr)|0; - H[0] = t; - }; - - function f1(x, y, z) { - return ((x) ^ (y) ^ (z)); - } - - function f2(x, y, z) { - return (((x)&(y)) | ((~x)&(z))); - } - - function f3(x, y, z) { - return (((x) | (~(y))) ^ (z)); - } - - function f4(x, y, z) { - return (((x) & (z)) | ((y)&(~(z)))); - } - - function f5(x, y, z) { - return ((x) ^ ((y) |(~(z)))); - } - - function rotl(x,n) { - return (x<>>(32-n)); - } - - function ripemd160(message) { - var H = [0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0]; - - if (typeof message == 'string') - message = new Buffer(message, 'utf8'); - - var m = bytesToWords(message); - - var nBitsLeft = message.length * 8; - var nBitsTotal = message.length * 8; - - // Add padding - m[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32); - m[(((nBitsLeft + 64) >>> 9) << 4) + 14] = ( - (((nBitsTotal << 8) | (nBitsTotal >>> 24)) & 0x00ff00ff) | - (((nBitsTotal << 24) | (nBitsTotal >>> 8)) & 0xff00ff00) - ); - - for (var i=0 ; i>> 24)) & 0x00ff00ff) | - (((H_i << 24) | (H_i >>> 8)) & 0xff00ff00); - } - - var digestbytes = wordsToBytes(H); - return new Buffer(digestbytes); - } - - - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 238 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) {var createHash = __webpack_require__(229) - - var zeroBuffer = new Buffer(128) - zeroBuffer.fill(0) - - module.exports = Hmac - - function Hmac (alg, key) { - if(!(this instanceof Hmac)) return new Hmac(alg, key) - this._opad = opad - this._alg = alg - - var blocksize = (alg === 'sha512') ? 128 : 64 - - key = this._key = !Buffer.isBuffer(key) ? new Buffer(key) : key - - if(key.length > blocksize) { - key = createHash(alg).update(key).digest() - } else if(key.length < blocksize) { - key = Buffer.concat([key, zeroBuffer], blocksize) - } - - var ipad = this._ipad = new Buffer(blocksize) - var opad = this._opad = new Buffer(blocksize) - - for(var i = 0; i < blocksize; i++) { - ipad[i] = key[i] ^ 0x36 - opad[i] = key[i] ^ 0x5C - } - - this._hash = createHash(alg).update(ipad) - } - - Hmac.prototype.update = function (data, enc) { - this._hash.update(data, enc) - return this - } - - Hmac.prototype.digest = function (enc) { - var h = this._hash.digest() - return createHash(this._alg).update(this._opad).update(h).digest(enc) - } - - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 239 */ -/***/ (function(module, exports, __webpack_require__) { - - var pbkdf2Export = __webpack_require__(240) - - module.exports = function (crypto, exports) { - exports = exports || {} - - var exported = pbkdf2Export(crypto) - - exports.pbkdf2 = exported.pbkdf2 - exports.pbkdf2Sync = exported.pbkdf2Sync - - return exports - } - - -/***/ }), -/* 240 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) {module.exports = function(crypto) { - function pbkdf2(password, salt, iterations, keylen, digest, callback) { - if ('function' === typeof digest) { - callback = digest - digest = undefined - } - - if ('function' !== typeof callback) - throw new Error('No callback provided to pbkdf2') - - setTimeout(function() { - var result - - try { - result = pbkdf2Sync(password, salt, iterations, keylen, digest) - } catch (e) { - return callback(e) - } - - callback(undefined, result) - }) - } - - function pbkdf2Sync(password, salt, iterations, keylen, digest) { - if ('number' !== typeof iterations) - throw new TypeError('Iterations not a number') - - if (iterations < 0) - throw new TypeError('Bad iterations') - - if ('number' !== typeof keylen) - throw new TypeError('Key length not a number') - - if (keylen < 0) - throw new TypeError('Bad key length') - - digest = digest || 'sha1' - - if (!Buffer.isBuffer(password)) password = new Buffer(password) - if (!Buffer.isBuffer(salt)) salt = new Buffer(salt) - - var hLen, l = 1, r, T - var DK = new Buffer(keylen) - var block1 = new Buffer(salt.length + 4) - salt.copy(block1, 0, 0, salt.length) - - for (var i = 1; i <= l; i++) { - block1.writeUInt32BE(i, salt.length) - - var U = crypto.createHmac(digest, password).update(block1).digest() - - if (!hLen) { - hLen = U.length - T = new Buffer(hLen) - l = Math.ceil(keylen / hLen) - r = keylen - (l - 1) * hLen - - if (keylen > (Math.pow(2, 32) - 1) * hLen) - throw new TypeError('keylen exceeds maximum length') - } - - U.copy(T, 0, 0, hLen) - - for (var j = 1; j < iterations; j++) { - U = crypto.createHmac(digest, password).update(U).digest() - - for (var k = 0; k < hLen; k++) { - T[k] ^= U[k] - } - } - - var destPos = (i - 1) * hLen - var len = (i == l ? r : hLen) - T.copy(DK, destPos, 0, len) - } - - return DK - } - - return { - pbkdf2: pbkdf2, - pbkdf2Sync: pbkdf2Sync - } - } - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 241 */ -/***/ (function(module, exports, __webpack_require__) { - - module.exports = function (crypto, exports) { - exports = exports || {}; - var ciphers = __webpack_require__(242)(crypto); - exports.createCipher = ciphers.createCipher; - exports.createCipheriv = ciphers.createCipheriv; - var deciphers = __webpack_require__(277)(crypto); - exports.createDecipher = deciphers.createDecipher; - exports.createDecipheriv = deciphers.createDecipheriv; - var modes = __webpack_require__(268); - function listCiphers () { - return Object.keys(modes); - } - exports.listCiphers = listCiphers; - }; - - - -/***/ }), -/* 242 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) {var aes = __webpack_require__(243); - var Transform = __webpack_require__(244); - var inherits = __webpack_require__(247); - var modes = __webpack_require__(268); - var ebtk = __webpack_require__(269); - var StreamCipher = __webpack_require__(270); - inherits(Cipher, Transform); - function Cipher(mode, key, iv) { - if (!(this instanceof Cipher)) { - return new Cipher(mode, key, iv); - } - Transform.call(this); - this._cache = new Splitter(); - this._cipher = new aes.AES(key); - this._prev = new Buffer(iv.length); - iv.copy(this._prev); - this._mode = mode; - } - Cipher.prototype._transform = function (data, _, next) { - this._cache.add(data); - var chunk; - var thing; - while ((chunk = this._cache.get())) { - thing = this._mode.encrypt(this, chunk); - this.push(thing); - } - next(); - }; - Cipher.prototype._flush = function (next) { - var chunk = this._cache.flush(); - this.push(this._mode.encrypt(this, chunk)); - this._cipher.scrub(); - next(); - }; - - - function Splitter() { - if (!(this instanceof Splitter)) { - return new Splitter(); - } - this.cache = new Buffer(''); - } - Splitter.prototype.add = function (data) { - this.cache = Buffer.concat([this.cache, data]); - }; - - Splitter.prototype.get = function () { - if (this.cache.length > 15) { - var out = this.cache.slice(0, 16); - this.cache = this.cache.slice(16); - return out; - } - return null; - }; - Splitter.prototype.flush = function () { - var len = 16 - this.cache.length; - var padBuff = new Buffer(len); - - var i = -1; - while (++i < len) { - padBuff.writeUInt8(len, i); - } - var out = Buffer.concat([this.cache, padBuff]); - return out; - }; - var modelist = { - ECB: __webpack_require__(271), - CBC: __webpack_require__(272), - CFB: __webpack_require__(274), - OFB: __webpack_require__(275), - CTR: __webpack_require__(276) - }; - module.exports = function (crypto) { - function createCipheriv(suite, password, iv) { - var config = modes[suite]; - if (!config) { - throw new TypeError('invalid suite type'); - } - if (typeof iv === 'string') { - iv = new Buffer(iv); - } - if (typeof password === 'string') { - password = new Buffer(password); - } - if (password.length !== config.key/8) { - throw new TypeError('invalid key length ' + password.length); - } - if (iv.length !== config.iv) { - throw new TypeError('invalid iv length ' + iv.length); - } - if (config.type === 'stream') { - return new StreamCipher(modelist[config.mode], password, iv); - } - return new Cipher(modelist[config.mode], password, iv); - } - function createCipher (suite, password) { - var config = modes[suite]; - if (!config) { - throw new TypeError('invalid suite type'); - } - var keys = ebtk(crypto, password, config.key, config.iv); - return createCipheriv(suite, keys.key, keys.iv); - } - return { - createCipher: createCipher, - createCipheriv: createCipheriv - }; - }; - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 243 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) {var uint_max = Math.pow(2, 32); - function fixup_uint32(x) { - var ret, x_pos; - ret = x > uint_max || x < 0 ? (x_pos = Math.abs(x) % uint_max, x < 0 ? uint_max - x_pos : x_pos) : x; - return ret; - } - function scrub_vec(v) { - var i, _i, _ref; - for (i = _i = 0, _ref = v.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) { - v[i] = 0; - } - return false; - } - - function Global() { - var i; - this.SBOX = []; - this.INV_SBOX = []; - this.SUB_MIX = (function() { - var _i, _results; - _results = []; - for (i = _i = 0; _i < 4; i = ++_i) { - _results.push([]); - } - return _results; - })(); - this.INV_SUB_MIX = (function() { - var _i, _results; - _results = []; - for (i = _i = 0; _i < 4; i = ++_i) { - _results.push([]); - } - return _results; - })(); - this.init(); - this.RCON = [0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36]; - } - - Global.prototype.init = function() { - var d, i, sx, t, x, x2, x4, x8, xi, _i; - d = (function() { - var _i, _results; - _results = []; - for (i = _i = 0; _i < 256; i = ++_i) { - if (i < 128) { - _results.push(i << 1); - } else { - _results.push((i << 1) ^ 0x11b); - } - } - return _results; - })(); - x = 0; - xi = 0; - for (i = _i = 0; _i < 256; i = ++_i) { - sx = xi ^ (xi << 1) ^ (xi << 2) ^ (xi << 3) ^ (xi << 4); - sx = (sx >>> 8) ^ (sx & 0xff) ^ 0x63; - this.SBOX[x] = sx; - this.INV_SBOX[sx] = x; - x2 = d[x]; - x4 = d[x2]; - x8 = d[x4]; - t = (d[sx] * 0x101) ^ (sx * 0x1010100); - this.SUB_MIX[0][x] = (t << 24) | (t >>> 8); - this.SUB_MIX[1][x] = (t << 16) | (t >>> 16); - this.SUB_MIX[2][x] = (t << 8) | (t >>> 24); - this.SUB_MIX[3][x] = t; - t = (x8 * 0x1010101) ^ (x4 * 0x10001) ^ (x2 * 0x101) ^ (x * 0x1010100); - this.INV_SUB_MIX[0][sx] = (t << 24) | (t >>> 8); - this.INV_SUB_MIX[1][sx] = (t << 16) | (t >>> 16); - this.INV_SUB_MIX[2][sx] = (t << 8) | (t >>> 24); - this.INV_SUB_MIX[3][sx] = t; - if (x === 0) { - x = xi = 1; - } else { - x = x2 ^ d[d[d[x8 ^ x2]]]; - xi ^= d[d[xi]]; - } - } - return true; - }; - - var G = new Global(); - - - AES.blockSize = 4 * 4; - - AES.prototype.blockSize = AES.blockSize; - - AES.keySize = 256 / 8; - - AES.prototype.keySize = AES.keySize; - - AES.ivSize = AES.blockSize; - - AES.prototype.ivSize = AES.ivSize; - - function bufferToArray(buf) { - var len = buf.length/4; - var out = new Array(len); - var i = -1; - while (++i < len) { - out[i] = buf.readUInt32BE(i * 4); - } - return out; - } - function AES(key) { - this._key = bufferToArray(key); - this._doReset(); - } - - AES.prototype._doReset = function() { - var invKsRow, keySize, keyWords, ksRow, ksRows, t, _i, _j; - keyWords = this._key; - keySize = keyWords.length; - this._nRounds = keySize + 6; - ksRows = (this._nRounds + 1) * 4; - this._keySchedule = []; - for (ksRow = _i = 0; 0 <= ksRows ? _i < ksRows : _i > ksRows; ksRow = 0 <= ksRows ? ++_i : --_i) { - this._keySchedule[ksRow] = ksRow < keySize ? keyWords[ksRow] : (t = this._keySchedule[ksRow - 1], (ksRow % keySize) === 0 ? (t = (t << 8) | (t >>> 24), t = (G.SBOX[t >>> 24] << 24) | (G.SBOX[(t >>> 16) & 0xff] << 16) | (G.SBOX[(t >>> 8) & 0xff] << 8) | G.SBOX[t & 0xff], t ^= G.RCON[(ksRow / keySize) | 0] << 24) : keySize > 6 && ksRow % keySize === 4 ? t = (G.SBOX[t >>> 24] << 24) | (G.SBOX[(t >>> 16) & 0xff] << 16) | (G.SBOX[(t >>> 8) & 0xff] << 8) | G.SBOX[t & 0xff] : void 0, this._keySchedule[ksRow - keySize] ^ t); - } - this._invKeySchedule = []; - for (invKsRow = _j = 0; 0 <= ksRows ? _j < ksRows : _j > ksRows; invKsRow = 0 <= ksRows ? ++_j : --_j) { - ksRow = ksRows - invKsRow; - t = this._keySchedule[ksRow - (invKsRow % 4 ? 0 : 4)]; - this._invKeySchedule[invKsRow] = invKsRow < 4 || ksRow <= 4 ? t : G.INV_SUB_MIX[0][G.SBOX[t >>> 24]] ^ G.INV_SUB_MIX[1][G.SBOX[(t >>> 16) & 0xff]] ^ G.INV_SUB_MIX[2][G.SBOX[(t >>> 8) & 0xff]] ^ G.INV_SUB_MIX[3][G.SBOX[t & 0xff]]; - } - return true; - }; - - AES.prototype.encryptBlock = function(M) { - M = bufferToArray(new Buffer(M)); - var out = this._doCryptBlock(M, this._keySchedule, G.SUB_MIX, G.SBOX); - var buf = new Buffer(16); - buf.writeUInt32BE(out[0], 0); - buf.writeUInt32BE(out[1], 4); - buf.writeUInt32BE(out[2], 8); - buf.writeUInt32BE(out[3], 12); - return buf; - }; - - AES.prototype.decryptBlock = function(M) { - M = bufferToArray(new Buffer(M)); - var temp = [M[3], M[1]]; - M[1] = temp[0]; - M[3] = temp[1]; - var out = this._doCryptBlock(M, this._invKeySchedule, G.INV_SUB_MIX, G.INV_SBOX); - var buf = new Buffer(16); - buf.writeUInt32BE(out[0], 0); - buf.writeUInt32BE(out[3], 4); - buf.writeUInt32BE(out[2], 8); - buf.writeUInt32BE(out[1], 12); - return buf; - }; - - AES.prototype.scrub = function() { - scrub_vec(this._keySchedule); - scrub_vec(this._invKeySchedule); - scrub_vec(this._key); - }; - - AES.prototype._doCryptBlock = function(M, keySchedule, SUB_MIX, SBOX) { - var ksRow, round, s0, s1, s2, s3, t0, t1, t2, t3, _i, _ref; - - s0 = M[0] ^ keySchedule[0]; - s1 = M[1] ^ keySchedule[1]; - s2 = M[2] ^ keySchedule[2]; - s3 = M[3] ^ keySchedule[3]; - ksRow = 4; - for (round = _i = 1, _ref = this._nRounds; 1 <= _ref ? _i < _ref : _i > _ref; round = 1 <= _ref ? ++_i : --_i) { - t0 = SUB_MIX[0][s0 >>> 24] ^ SUB_MIX[1][(s1 >>> 16) & 0xff] ^ SUB_MIX[2][(s2 >>> 8) & 0xff] ^ SUB_MIX[3][s3 & 0xff] ^ keySchedule[ksRow++]; - t1 = SUB_MIX[0][s1 >>> 24] ^ SUB_MIX[1][(s2 >>> 16) & 0xff] ^ SUB_MIX[2][(s3 >>> 8) & 0xff] ^ SUB_MIX[3][s0 & 0xff] ^ keySchedule[ksRow++]; - t2 = SUB_MIX[0][s2 >>> 24] ^ SUB_MIX[1][(s3 >>> 16) & 0xff] ^ SUB_MIX[2][(s0 >>> 8) & 0xff] ^ SUB_MIX[3][s1 & 0xff] ^ keySchedule[ksRow++]; - t3 = SUB_MIX[0][s3 >>> 24] ^ SUB_MIX[1][(s0 >>> 16) & 0xff] ^ SUB_MIX[2][(s1 >>> 8) & 0xff] ^ SUB_MIX[3][s2 & 0xff] ^ keySchedule[ksRow++]; - s0 = t0; - s1 = t1; - s2 = t2; - s3 = t3; - } - t0 = ((SBOX[s0 >>> 24] << 24) | (SBOX[(s1 >>> 16) & 0xff] << 16) | (SBOX[(s2 >>> 8) & 0xff] << 8) | SBOX[s3 & 0xff]) ^ keySchedule[ksRow++]; - t1 = ((SBOX[s1 >>> 24] << 24) | (SBOX[(s2 >>> 16) & 0xff] << 16) | (SBOX[(s3 >>> 8) & 0xff] << 8) | SBOX[s0 & 0xff]) ^ keySchedule[ksRow++]; - t2 = ((SBOX[s2 >>> 24] << 24) | (SBOX[(s3 >>> 16) & 0xff] << 16) | (SBOX[(s0 >>> 8) & 0xff] << 8) | SBOX[s1 & 0xff]) ^ keySchedule[ksRow++]; - t3 = ((SBOX[s3 >>> 24] << 24) | (SBOX[(s0 >>> 16) & 0xff] << 16) | (SBOX[(s1 >>> 8) & 0xff] << 8) | SBOX[s2 & 0xff]) ^ keySchedule[ksRow++]; - return [ - fixup_uint32(t0), - fixup_uint32(t1), - fixup_uint32(t2), - fixup_uint32(t3) - ]; - - }; - - - - - exports.AES = AES; - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 244 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) {var Transform = __webpack_require__(245).Transform; - var inherits = __webpack_require__(247); - - module.exports = CipherBase; - inherits(CipherBase, Transform); - function CipherBase() { - Transform.call(this); - } - CipherBase.prototype.update = function (data, inputEnd, outputEnc) { - this.write(data, inputEnd); - var outData = new Buffer(''); - var chunk; - while ((chunk = this.read())) { - outData = Buffer.concat([outData, chunk]); - } - if (outputEnc) { - outData = outData.toString(outputEnc); - } - return outData; - }; - CipherBase.prototype.final = function (outputEnc) { - this.end(); - var outData = new Buffer(''); - var chunk; - while ((chunk = this.read())) { - outData = Buffer.concat([outData, chunk]); - } - if (outputEnc) { - outData = outData.toString(outputEnc); - } - return outData; - }; - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 245 */ -/***/ (function(module, exports, __webpack_require__) { - - // Copyright Joyent, Inc. and other Node contributors. - // - // Permission is hereby granted, free of charge, to any person obtaining a - // copy of this software and associated documentation files (the - // "Software"), to deal in the Software without restriction, including - // without limitation the rights to use, copy, modify, merge, publish, - // distribute, sublicense, and/or sell copies of the Software, and to permit - // persons to whom the Software is furnished to do so, subject to the - // following conditions: - // - // The above copyright notice and this permission notice shall be included - // in all copies or substantial portions of the Software. - // - // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - // USE OR OTHER DEALINGS IN THE SOFTWARE. - - module.exports = Stream; - - var EE = __webpack_require__(246).EventEmitter; - var inherits = __webpack_require__(247); - - inherits(Stream, EE); - Stream.Readable = __webpack_require__(248); - Stream.Writable = __webpack_require__(264); - Stream.Duplex = __webpack_require__(265); - Stream.Transform = __webpack_require__(266); - Stream.PassThrough = __webpack_require__(267); - - // Backwards-compat with node 0.4.x - Stream.Stream = Stream; - - - - // old-style streams. Note that the pipe method (the only relevant - // part of this class) is overridden in the Readable class. - - function Stream() { - EE.call(this); - } - - Stream.prototype.pipe = function(dest, options) { - var source = this; - - function ondata(chunk) { - if (dest.writable) { - if (false === dest.write(chunk) && source.pause) { - source.pause(); - } - } - } - - source.on('data', ondata); - - function ondrain() { - if (source.readable && source.resume) { - source.resume(); - } - } - - dest.on('drain', ondrain); - - // If the 'end' option is not supplied, dest.end() will be called when - // source gets the 'end' or 'close' events. Only dest.end() once. - if (!dest._isStdio && (!options || options.end !== false)) { - source.on('end', onend); - source.on('close', onclose); - } - - var didOnEnd = false; - function onend() { - if (didOnEnd) return; - didOnEnd = true; - - dest.end(); - } - - - function onclose() { - if (didOnEnd) return; - didOnEnd = true; - - if (typeof dest.destroy === 'function') dest.destroy(); - } - - // don't leave dangling pipes when there are errors. - function onerror(er) { - cleanup(); - if (EE.listenerCount(this, 'error') === 0) { - throw er; // Unhandled stream error in pipe. - } - } - - source.on('error', onerror); - dest.on('error', onerror); - - // remove all the event listeners that were added. - function cleanup() { - source.removeListener('data', ondata); - dest.removeListener('drain', ondrain); - - source.removeListener('end', onend); - source.removeListener('close', onclose); - - source.removeListener('error', onerror); - dest.removeListener('error', onerror); - - source.removeListener('end', cleanup); - source.removeListener('close', cleanup); - - dest.removeListener('close', cleanup); - } - - source.on('end', cleanup); - source.on('close', cleanup); - - dest.on('close', cleanup); - - dest.emit('pipe', source); - - // Allow for unix-like usage: A.pipe(B).pipe(C) - return dest; - }; - - -/***/ }), -/* 246 */ -/***/ (function(module, exports) { - - // Copyright Joyent, Inc. and other Node contributors. - // - // Permission is hereby granted, free of charge, to any person obtaining a - // copy of this software and associated documentation files (the - // "Software"), to deal in the Software without restriction, including - // without limitation the rights to use, copy, modify, merge, publish, - // distribute, sublicense, and/or sell copies of the Software, and to permit - // persons to whom the Software is furnished to do so, subject to the - // following conditions: - // - // The above copyright notice and this permission notice shall be included - // in all copies or substantial portions of the Software. - // - // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - // USE OR OTHER DEALINGS IN THE SOFTWARE. - - function EventEmitter() { - this._events = this._events || {}; - this._maxListeners = this._maxListeners || undefined; - } - module.exports = EventEmitter; - - // Backwards-compat with node 0.10.x - EventEmitter.EventEmitter = EventEmitter; - - EventEmitter.prototype._events = undefined; - EventEmitter.prototype._maxListeners = undefined; - - // By default EventEmitters will print a warning if more than 10 listeners are - // added to it. This is a useful default which helps finding memory leaks. - EventEmitter.defaultMaxListeners = 10; - - // Obviously not all Emitters should be limited to 10. This function allows - // that to be increased. Set to zero for unlimited. - EventEmitter.prototype.setMaxListeners = function(n) { - if (!isNumber(n) || n < 0 || isNaN(n)) - throw TypeError('n must be a positive number'); - this._maxListeners = n; - return this; - }; - - EventEmitter.prototype.emit = function(type) { - var er, handler, len, args, i, listeners; - - if (!this._events) - this._events = {}; - - // If there is no 'error' event listener then throw. - if (type === 'error') { - if (!this._events.error || - (isObject(this._events.error) && !this._events.error.length)) { - er = arguments[1]; - if (er instanceof Error) { - throw er; // Unhandled 'error' event - } else { - // At least give some kind of context to the user - var err = new Error('Uncaught, unspecified "error" event. (' + er + ')'); - err.context = er; - throw err; - } - } - } - - handler = this._events[type]; - - if (isUndefined(handler)) - return false; - - if (isFunction(handler)) { - switch (arguments.length) { - // fast cases - case 1: - handler.call(this); - break; - case 2: - handler.call(this, arguments[1]); - break; - case 3: - handler.call(this, arguments[1], arguments[2]); - break; - // slower - default: - args = Array.prototype.slice.call(arguments, 1); - handler.apply(this, args); - } - } else if (isObject(handler)) { - args = Array.prototype.slice.call(arguments, 1); - listeners = handler.slice(); - len = listeners.length; - for (i = 0; i < len; i++) - listeners[i].apply(this, args); - } - - return true; - }; - - EventEmitter.prototype.addListener = function(type, listener) { - var m; - - if (!isFunction(listener)) - throw TypeError('listener must be a function'); - - if (!this._events) - this._events = {}; - - // To avoid recursion in the case that type === "newListener"! Before - // adding it to the listeners, first emit "newListener". - if (this._events.newListener) - this.emit('newListener', type, - isFunction(listener.listener) ? - listener.listener : listener); - - if (!this._events[type]) - // Optimize the case of one listener. Don't need the extra array object. - this._events[type] = listener; - else if (isObject(this._events[type])) - // If we've already got an array, just append. - this._events[type].push(listener); - else - // Adding the second element, need to change to array. - this._events[type] = [this._events[type], listener]; - - // Check for listener leak - if (isObject(this._events[type]) && !this._events[type].warned) { - if (!isUndefined(this._maxListeners)) { - m = this._maxListeners; - } else { - m = EventEmitter.defaultMaxListeners; - } - - if (m && m > 0 && this._events[type].length > m) { - this._events[type].warned = true; - console.error('(node) warning: possible EventEmitter memory ' + - 'leak detected. %d listeners added. ' + - 'Use emitter.setMaxListeners() to increase limit.', - this._events[type].length); - if (typeof console.trace === 'function') { - // not supported in IE 10 - console.trace(); - } - } - } - - return this; - }; - - EventEmitter.prototype.on = EventEmitter.prototype.addListener; - - EventEmitter.prototype.once = function(type, listener) { - if (!isFunction(listener)) - throw TypeError('listener must be a function'); - - var fired = false; - - function g() { - this.removeListener(type, g); - - if (!fired) { - fired = true; - listener.apply(this, arguments); - } - } - - g.listener = listener; - this.on(type, g); - - return this; - }; - - // emits a 'removeListener' event iff the listener was removed - EventEmitter.prototype.removeListener = function(type, listener) { - var list, position, length, i; - - if (!isFunction(listener)) - throw TypeError('listener must be a function'); - - if (!this._events || !this._events[type]) - return this; - - list = this._events[type]; - length = list.length; - position = -1; - - if (list === listener || - (isFunction(list.listener) && list.listener === listener)) { - delete this._events[type]; - if (this._events.removeListener) - this.emit('removeListener', type, listener); - - } else if (isObject(list)) { - for (i = length; i-- > 0;) { - if (list[i] === listener || - (list[i].listener && list[i].listener === listener)) { - position = i; - break; - } - } - - if (position < 0) - return this; - - if (list.length === 1) { - list.length = 0; - delete this._events[type]; - } else { - list.splice(position, 1); - } - - if (this._events.removeListener) - this.emit('removeListener', type, listener); - } - - return this; - }; - - EventEmitter.prototype.removeAllListeners = function(type) { - var key, listeners; - - if (!this._events) - return this; - - // not listening for removeListener, no need to emit - if (!this._events.removeListener) { - if (arguments.length === 0) - this._events = {}; - else if (this._events[type]) - delete this._events[type]; - return this; - } - - // emit removeListener for all listeners on all events - if (arguments.length === 0) { - for (key in this._events) { - if (key === 'removeListener') continue; - this.removeAllListeners(key); - } - this.removeAllListeners('removeListener'); - this._events = {}; - return this; - } - - listeners = this._events[type]; - - if (isFunction(listeners)) { - this.removeListener(type, listeners); - } else if (listeners) { - // LIFO order - while (listeners.length) - this.removeListener(type, listeners[listeners.length - 1]); - } - delete this._events[type]; - - return this; - }; - - EventEmitter.prototype.listeners = function(type) { - var ret; - if (!this._events || !this._events[type]) - ret = []; - else if (isFunction(this._events[type])) - ret = [this._events[type]]; - else - ret = this._events[type].slice(); - return ret; - }; - - EventEmitter.prototype.listenerCount = function(type) { - if (this._events) { - var evlistener = this._events[type]; - - if (isFunction(evlistener)) - return 1; - else if (evlistener) - return evlistener.length; - } - return 0; - }; - - EventEmitter.listenerCount = function(emitter, type) { - return emitter.listenerCount(type); - }; - - function isFunction(arg) { - return typeof arg === 'function'; - } - - function isNumber(arg) { - return typeof arg === 'number'; - } - - function isObject(arg) { - return typeof arg === 'object' && arg !== null; - } - - function isUndefined(arg) { - return arg === void 0; - } - - -/***/ }), -/* 247 */ -/***/ (function(module, exports) { - - if (typeof Object.create === 'function') { - // implementation from standard node.js 'util' module - module.exports = function inherits(ctor, superCtor) { - ctor.super_ = superCtor - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); - }; - } else { - // old school shim for old browsers - module.exports = function inherits(ctor, superCtor) { - ctor.super_ = superCtor - var TempCtor = function () {} - TempCtor.prototype = superCtor.prototype - ctor.prototype = new TempCtor() - ctor.prototype.constructor = ctor - } - } - - -/***/ }), -/* 248 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(process) {var Stream = __webpack_require__(245); - if (process.env.READABLE_STREAM === 'disable' && Stream) { - module.exports = Stream; - exports = module.exports = Stream.Readable; - exports.Readable = Stream.Readable; - exports.Writable = Stream.Writable; - exports.Duplex = Stream.Duplex; - exports.Transform = Stream.Transform; - exports.PassThrough = Stream.PassThrough; - exports.Stream = Stream; - } else { - exports = module.exports = __webpack_require__(249); - exports.Stream = Stream || exports; - exports.Readable = exports; - exports.Writable = __webpack_require__(257); - exports.Duplex = __webpack_require__(256); - exports.Transform = __webpack_require__(262); - exports.PassThrough = __webpack_require__(263); - } - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3))) - -/***/ }), -/* 249 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors. - // - // Permission is hereby granted, free of charge, to any person obtaining a - // copy of this software and associated documentation files (the - // "Software"), to deal in the Software without restriction, including - // without limitation the rights to use, copy, modify, merge, publish, - // distribute, sublicense, and/or sell copies of the Software, and to permit - // persons to whom the Software is furnished to do so, subject to the - // following conditions: - // - // The above copyright notice and this permission notice shall be included - // in all copies or substantial portions of the Software. - // - // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - // USE OR OTHER DEALINGS IN THE SOFTWARE. - - 'use strict'; - - /**/ - - var processNextTick = __webpack_require__(250); - /**/ - - module.exports = Readable; - - /**/ - var isArray = __webpack_require__(206); - /**/ - - /**/ - var Duplex; - /**/ - - Readable.ReadableState = ReadableState; - - /**/ - var EE = __webpack_require__(246).EventEmitter; - - var EElistenerCount = function (emitter, type) { - return emitter.listeners(type).length; - }; - /**/ - - /**/ - var Stream = __webpack_require__(251); - /**/ - - // TODO(bmeurer): Change this back to const once hole checks are - // properly optimized away early in Ignition+TurboFan. - /**/ - var Buffer = __webpack_require__(252).Buffer; - var OurUint8Array = global.Uint8Array || function () {}; - function _uint8ArrayToBuffer(chunk) { - return Buffer.from(chunk); - } - function _isUint8Array(obj) { - return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; - } - /**/ - - /**/ - var util = __webpack_require__(253); - util.inherits = __webpack_require__(247); - /**/ - - /**/ - var debugUtil = __webpack_require__(201); - var debug = void 0; - if (debugUtil && debugUtil.debuglog) { - debug = debugUtil.debuglog('stream'); - } else { - debug = function () {}; - } - /**/ - - var BufferList = __webpack_require__(254); - var destroyImpl = __webpack_require__(255); - var StringDecoder; - - util.inherits(Readable, Stream); - - var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume']; - - function prependListener(emitter, event, fn) { - // Sadly this is not cacheable as some libraries bundle their own - // event emitter implementation with them. - if (typeof emitter.prependListener === 'function') { - return emitter.prependListener(event, fn); - } else { - // This is a hack to make sure that our error handler is attached before any - // userland ones. NEVER DO THIS. This is here only because this code needs - // to continue to work with older versions of Node.js that do not include - // the prependListener() method. The goal is to eventually remove this hack. - if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]]; - } - } - - function ReadableState(options, stream) { - Duplex = Duplex || __webpack_require__(256); - - options = options || {}; - - // object stream flag. Used to make read(n) ignore n and to - // make all the buffer merging and length checks go away - this.objectMode = !!options.objectMode; - - if (stream instanceof Duplex) this.objectMode = this.objectMode || !!options.readableObjectMode; - - // the point at which it stops calling _read() to fill the buffer - // Note: 0 is a valid value, means "don't call _read preemptively ever" - var hwm = options.highWaterMark; - var defaultHwm = this.objectMode ? 16 : 16 * 1024; - this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm; - - // cast to ints. - this.highWaterMark = Math.floor(this.highWaterMark); - - // A linked list is used to store data chunks instead of an array because the - // linked list can remove elements from the beginning faster than - // array.shift() - this.buffer = new BufferList(); - this.length = 0; - this.pipes = null; - this.pipesCount = 0; - this.flowing = null; - this.ended = false; - this.endEmitted = false; - this.reading = false; - - // a flag to be able to tell if the event 'readable'/'data' is emitted - // immediately, or on a later tick. We set this to true at first, because - // any actions that shouldn't happen until "later" should generally also - // not happen before the first read call. - this.sync = true; - - // whenever we return null, then we set a flag to say - // that we're awaiting a 'readable' event emission. - this.needReadable = false; - this.emittedReadable = false; - this.readableListening = false; - this.resumeScheduled = false; - - // has it been destroyed - this.destroyed = false; - - // Crypto is kind of old and crusty. Historically, its default string - // encoding is 'binary' so we have to make this configurable. - // Everything else in the universe uses 'utf8', though. - this.defaultEncoding = options.defaultEncoding || 'utf8'; - - // the number of writers that are awaiting a drain event in .pipe()s - this.awaitDrain = 0; - - // if true, a maybeReadMore has been scheduled - this.readingMore = false; - - this.decoder = null; - this.encoding = null; - if (options.encoding) { - if (!StringDecoder) StringDecoder = __webpack_require__(261).StringDecoder; - this.decoder = new StringDecoder(options.encoding); - this.encoding = options.encoding; - } - } - - function Readable(options) { - Duplex = Duplex || __webpack_require__(256); - - if (!(this instanceof Readable)) return new Readable(options); - - this._readableState = new ReadableState(options, this); - - // legacy - this.readable = true; - - if (options) { - if (typeof options.read === 'function') this._read = options.read; - - if (typeof options.destroy === 'function') this._destroy = options.destroy; - } - - Stream.call(this); - } - - Object.defineProperty(Readable.prototype, 'destroyed', { - get: function () { - if (this._readableState === undefined) { - return false; - } - return this._readableState.destroyed; - }, - set: function (value) { - // we ignore the value if the stream - // has not been initialized yet - if (!this._readableState) { - return; - } - - // backward compatibility, the user is explicitly - // managing destroyed - this._readableState.destroyed = value; - } - }); - - Readable.prototype.destroy = destroyImpl.destroy; - Readable.prototype._undestroy = destroyImpl.undestroy; - Readable.prototype._destroy = function (err, cb) { - this.push(null); - cb(err); - }; - - // Manually shove something into the read() buffer. - // This returns true if the highWaterMark has not been hit yet, - // similar to how Writable.write() returns true if you should - // write() some more. - Readable.prototype.push = function (chunk, encoding) { - var state = this._readableState; - var skipChunkCheck; - - if (!state.objectMode) { - if (typeof chunk === 'string') { - encoding = encoding || state.defaultEncoding; - if (encoding !== state.encoding) { - chunk = Buffer.from(chunk, encoding); - encoding = ''; - } - skipChunkCheck = true; - } - } else { - skipChunkCheck = true; - } - - return readableAddChunk(this, chunk, encoding, false, skipChunkCheck); - }; - - // Unshift should *always* be something directly out of read() - Readable.prototype.unshift = function (chunk) { - return readableAddChunk(this, chunk, null, true, false); - }; - - function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) { - var state = stream._readableState; - if (chunk === null) { - state.reading = false; - onEofChunk(stream, state); - } else { - var er; - if (!skipChunkCheck) er = chunkInvalid(state, chunk); - if (er) { - stream.emit('error', er); - } else if (state.objectMode || chunk && chunk.length > 0) { - if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) { - chunk = _uint8ArrayToBuffer(chunk); - } - - if (addToFront) { - if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true); - } else if (state.ended) { - stream.emit('error', new Error('stream.push() after EOF')); - } else { - state.reading = false; - if (state.decoder && !encoding) { - chunk = state.decoder.write(chunk); - if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state); - } else { - addChunk(stream, state, chunk, false); - } - } - } else if (!addToFront) { - state.reading = false; - } - } - - return needMoreData(state); - } - - function addChunk(stream, state, chunk, addToFront) { - if (state.flowing && state.length === 0 && !state.sync) { - stream.emit('data', chunk); - stream.read(0); - } else { - // update the buffer info. - state.length += state.objectMode ? 1 : chunk.length; - if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk); - - if (state.needReadable) emitReadable(stream); - } - maybeReadMore(stream, state); - } - - function chunkInvalid(state, chunk) { - var er; - if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { - er = new TypeError('Invalid non-string/buffer chunk'); - } - return er; - } - - // if it's past the high water mark, we can push in some more. - // Also, if we have no data yet, we can stand some - // more bytes. This is to work around cases where hwm=0, - // such as the repl. Also, if the push() triggered a - // readable event, and the user called read(largeNumber) such that - // needReadable was set, then we ought to push more, so that another - // 'readable' event will be triggered. - function needMoreData(state) { - return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0); - } - - Readable.prototype.isPaused = function () { - return this._readableState.flowing === false; - }; - - // backwards compatibility. - Readable.prototype.setEncoding = function (enc) { - if (!StringDecoder) StringDecoder = __webpack_require__(261).StringDecoder; - this._readableState.decoder = new StringDecoder(enc); - this._readableState.encoding = enc; - return this; - }; - - // Don't raise the hwm > 8MB - var MAX_HWM = 0x800000; - function computeNewHighWaterMark(n) { - if (n >= MAX_HWM) { - n = MAX_HWM; - } else { - // Get the next highest power of 2 to prevent increasing hwm excessively in - // tiny amounts - n--; - n |= n >>> 1; - n |= n >>> 2; - n |= n >>> 4; - n |= n >>> 8; - n |= n >>> 16; - n++; - } - return n; - } - - // This function is designed to be inlinable, so please take care when making - // changes to the function body. - function howMuchToRead(n, state) { - if (n <= 0 || state.length === 0 && state.ended) return 0; - if (state.objectMode) return 1; - if (n !== n) { - // Only flow one buffer at a time - if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length; - } - // If we're asking for more than the current hwm, then raise the hwm. - if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n); - if (n <= state.length) return n; - // Don't have enough - if (!state.ended) { - state.needReadable = true; - return 0; - } - return state.length; - } - - // you can override either this method, or the async _read(n) below. - Readable.prototype.read = function (n) { - debug('read', n); - n = parseInt(n, 10); - var state = this._readableState; - var nOrig = n; - - if (n !== 0) state.emittedReadable = false; - - // if we're doing read(0) to trigger a readable event, but we - // already have a bunch of data in the buffer, then just trigger - // the 'readable' event and move on. - if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) { - debug('read: emitReadable', state.length, state.ended); - if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this); - return null; - } - - n = howMuchToRead(n, state); - - // if we've ended, and we're now clear, then finish it up. - if (n === 0 && state.ended) { - if (state.length === 0) endReadable(this); - return null; - } - - // All the actual chunk generation logic needs to be - // *below* the call to _read. The reason is that in certain - // synthetic stream cases, such as passthrough streams, _read - // may be a completely synchronous operation which may change - // the state of the read buffer, providing enough data when - // before there was *not* enough. - // - // So, the steps are: - // 1. Figure out what the state of things will be after we do - // a read from the buffer. - // - // 2. If that resulting state will trigger a _read, then call _read. - // Note that this may be asynchronous, or synchronous. Yes, it is - // deeply ugly to write APIs this way, but that still doesn't mean - // that the Readable class should behave improperly, as streams are - // designed to be sync/async agnostic. - // Take note if the _read call is sync or async (ie, if the read call - // has returned yet), so that we know whether or not it's safe to emit - // 'readable' etc. - // - // 3. Actually pull the requested chunks out of the buffer and return. - - // if we need a readable event, then we need to do some reading. - var doRead = state.needReadable; - debug('need readable', doRead); - - // if we currently have less than the highWaterMark, then also read some - if (state.length === 0 || state.length - n < state.highWaterMark) { - doRead = true; - debug('length less than watermark', doRead); - } - - // however, if we've ended, then there's no point, and if we're already - // reading, then it's unnecessary. - if (state.ended || state.reading) { - doRead = false; - debug('reading or ended', doRead); - } else if (doRead) { - debug('do read'); - state.reading = true; - state.sync = true; - // if the length is currently zero, then we *need* a readable event. - if (state.length === 0) state.needReadable = true; - // call internal read method - this._read(state.highWaterMark); - state.sync = false; - // If _read pushed data synchronously, then `reading` will be false, - // and we need to re-evaluate how much data we can return to the user. - if (!state.reading) n = howMuchToRead(nOrig, state); - } - - var ret; - if (n > 0) ret = fromList(n, state);else ret = null; - - if (ret === null) { - state.needReadable = true; - n = 0; - } else { - state.length -= n; - } - - if (state.length === 0) { - // If we have nothing in the buffer, then we want to know - // as soon as we *do* get something into the buffer. - if (!state.ended) state.needReadable = true; - - // If we tried to read() past the EOF, then emit end on the next tick. - if (nOrig !== n && state.ended) endReadable(this); - } - - if (ret !== null) this.emit('data', ret); - - return ret; - }; - - function onEofChunk(stream, state) { - if (state.ended) return; - if (state.decoder) { - var chunk = state.decoder.end(); - if (chunk && chunk.length) { - state.buffer.push(chunk); - state.length += state.objectMode ? 1 : chunk.length; - } - } - state.ended = true; - - // emit 'readable' now to make sure it gets picked up. - emitReadable(stream); - } - - // Don't emit readable right away in sync mode, because this can trigger - // another read() call => stack overflow. This way, it might trigger - // a nextTick recursion warning, but that's not so bad. - function emitReadable(stream) { - var state = stream._readableState; - state.needReadable = false; - if (!state.emittedReadable) { - debug('emitReadable', state.flowing); - state.emittedReadable = true; - if (state.sync) processNextTick(emitReadable_, stream);else emitReadable_(stream); - } - } - - function emitReadable_(stream) { - debug('emit readable'); - stream.emit('readable'); - flow(stream); - } - - // at this point, the user has presumably seen the 'readable' event, - // and called read() to consume some data. that may have triggered - // in turn another _read(n) call, in which case reading = true if - // it's in progress. - // However, if we're not ended, or reading, and the length < hwm, - // then go ahead and try to read some more preemptively. - function maybeReadMore(stream, state) { - if (!state.readingMore) { - state.readingMore = true; - processNextTick(maybeReadMore_, stream, state); - } - } - - function maybeReadMore_(stream, state) { - var len = state.length; - while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) { - debug('maybeReadMore read 0'); - stream.read(0); - if (len === state.length) - // didn't get any data, stop spinning. - break;else len = state.length; - } - state.readingMore = false; - } - - // abstract method. to be overridden in specific implementation classes. - // call cb(er, data) where data is <= n in length. - // for virtual (non-string, non-buffer) streams, "length" is somewhat - // arbitrary, and perhaps not very meaningful. - Readable.prototype._read = function (n) { - this.emit('error', new Error('_read() is not implemented')); - }; - - Readable.prototype.pipe = function (dest, pipeOpts) { - var src = this; - var state = this._readableState; - - switch (state.pipesCount) { - case 0: - state.pipes = dest; - break; - case 1: - state.pipes = [state.pipes, dest]; - break; - default: - state.pipes.push(dest); - break; - } - state.pipesCount += 1; - debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts); - - var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr; - - var endFn = doEnd ? onend : unpipe; - if (state.endEmitted) processNextTick(endFn);else src.once('end', endFn); - - dest.on('unpipe', onunpipe); - function onunpipe(readable, unpipeInfo) { - debug('onunpipe'); - if (readable === src) { - if (unpipeInfo && unpipeInfo.hasUnpiped === false) { - unpipeInfo.hasUnpiped = true; - cleanup(); - } - } - } - - function onend() { - debug('onend'); - dest.end(); - } - - // when the dest drains, it reduces the awaitDrain counter - // on the source. This would be more elegant with a .once() - // handler in flow(), but adding and removing repeatedly is - // too slow. - var ondrain = pipeOnDrain(src); - dest.on('drain', ondrain); - - var cleanedUp = false; - function cleanup() { - debug('cleanup'); - // cleanup event handlers once the pipe is broken - dest.removeListener('close', onclose); - dest.removeListener('finish', onfinish); - dest.removeListener('drain', ondrain); - dest.removeListener('error', onerror); - dest.removeListener('unpipe', onunpipe); - src.removeListener('end', onend); - src.removeListener('end', unpipe); - src.removeListener('data', ondata); - - cleanedUp = true; - - // if the reader is waiting for a drain event from this - // specific writer, then it would cause it to never start - // flowing again. - // So, if this is awaiting a drain, then we just call it now. - // If we don't know, then assume that we are waiting for one. - if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain(); - } - - // If the user pushes more data while we're writing to dest then we'll end up - // in ondata again. However, we only want to increase awaitDrain once because - // dest will only emit one 'drain' event for the multiple writes. - // => Introduce a guard on increasing awaitDrain. - var increasedAwaitDrain = false; - src.on('data', ondata); - function ondata(chunk) { - debug('ondata'); - increasedAwaitDrain = false; - var ret = dest.write(chunk); - if (false === ret && !increasedAwaitDrain) { - // If the user unpiped during `dest.write()`, it is possible - // to get stuck in a permanently paused state if that write - // also returned false. - // => Check whether `dest` is still a piping destination. - if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) { - debug('false write response, pause', src._readableState.awaitDrain); - src._readableState.awaitDrain++; - increasedAwaitDrain = true; - } - src.pause(); - } - } - - // if the dest has an error, then stop piping into it. - // however, don't suppress the throwing behavior for this. - function onerror(er) { - debug('onerror', er); - unpipe(); - dest.removeListener('error', onerror); - if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er); - } - - // Make sure our error handler is attached before userland ones. - prependListener(dest, 'error', onerror); - - // Both close and finish should trigger unpipe, but only once. - function onclose() { - dest.removeListener('finish', onfinish); - unpipe(); - } - dest.once('close', onclose); - function onfinish() { - debug('onfinish'); - dest.removeListener('close', onclose); - unpipe(); - } - dest.once('finish', onfinish); - - function unpipe() { - debug('unpipe'); - src.unpipe(dest); - } - - // tell the dest that it's being piped to - dest.emit('pipe', src); - - // start the flow if it hasn't been started already. - if (!state.flowing) { - debug('pipe resume'); - src.resume(); - } - - return dest; - }; - - function pipeOnDrain(src) { - return function () { - var state = src._readableState; - debug('pipeOnDrain', state.awaitDrain); - if (state.awaitDrain) state.awaitDrain--; - if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) { - state.flowing = true; - flow(src); - } - }; - } - - Readable.prototype.unpipe = function (dest) { - var state = this._readableState; - var unpipeInfo = { hasUnpiped: false }; - - // if we're not piping anywhere, then do nothing. - if (state.pipesCount === 0) return this; - - // just one destination. most common case. - if (state.pipesCount === 1) { - // passed in one, but it's not the right one. - if (dest && dest !== state.pipes) return this; - - if (!dest) dest = state.pipes; - - // got a match. - state.pipes = null; - state.pipesCount = 0; - state.flowing = false; - if (dest) dest.emit('unpipe', this, unpipeInfo); - return this; - } - - // slow case. multiple pipe destinations. - - if (!dest) { - // remove all. - var dests = state.pipes; - var len = state.pipesCount; - state.pipes = null; - state.pipesCount = 0; - state.flowing = false; - - for (var i = 0; i < len; i++) { - dests[i].emit('unpipe', this, unpipeInfo); - }return this; - } - - // try to find the right one. - var index = indexOf(state.pipes, dest); - if (index === -1) return this; - - state.pipes.splice(index, 1); - state.pipesCount -= 1; - if (state.pipesCount === 1) state.pipes = state.pipes[0]; - - dest.emit('unpipe', this, unpipeInfo); - - return this; - }; - - // set up data events if they are asked for - // Ensure readable listeners eventually get something - Readable.prototype.on = function (ev, fn) { - var res = Stream.prototype.on.call(this, ev, fn); - - if (ev === 'data') { - // Start flowing on next tick if stream isn't explicitly paused - if (this._readableState.flowing !== false) this.resume(); - } else if (ev === 'readable') { - var state = this._readableState; - if (!state.endEmitted && !state.readableListening) { - state.readableListening = state.needReadable = true; - state.emittedReadable = false; - if (!state.reading) { - processNextTick(nReadingNextTick, this); - } else if (state.length) { - emitReadable(this); - } - } - } - - return res; - }; - Readable.prototype.addListener = Readable.prototype.on; - - function nReadingNextTick(self) { - debug('readable nexttick read 0'); - self.read(0); - } - - // pause() and resume() are remnants of the legacy readable stream API - // If the user uses them, then switch into old mode. - Readable.prototype.resume = function () { - var state = this._readableState; - if (!state.flowing) { - debug('resume'); - state.flowing = true; - resume(this, state); - } - return this; - }; - - function resume(stream, state) { - if (!state.resumeScheduled) { - state.resumeScheduled = true; - processNextTick(resume_, stream, state); - } - } - - function resume_(stream, state) { - if (!state.reading) { - debug('resume read 0'); - stream.read(0); - } - - state.resumeScheduled = false; - state.awaitDrain = 0; - stream.emit('resume'); - flow(stream); - if (state.flowing && !state.reading) stream.read(0); - } - - Readable.prototype.pause = function () { - debug('call pause flowing=%j', this._readableState.flowing); - if (false !== this._readableState.flowing) { - debug('pause'); - this._readableState.flowing = false; - this.emit('pause'); - } - return this; - }; - - function flow(stream) { - var state = stream._readableState; - debug('flow', state.flowing); - while (state.flowing && stream.read() !== null) {} - } - - // wrap an old-style stream as the async data source. - // This is *not* part of the readable stream interface. - // It is an ugly unfortunate mess of history. - Readable.prototype.wrap = function (stream) { - var state = this._readableState; - var paused = false; - - var self = this; - stream.on('end', function () { - debug('wrapped end'); - if (state.decoder && !state.ended) { - var chunk = state.decoder.end(); - if (chunk && chunk.length) self.push(chunk); - } - - self.push(null); - }); - - stream.on('data', function (chunk) { - debug('wrapped data'); - if (state.decoder) chunk = state.decoder.write(chunk); - - // don't skip over falsy values in objectMode - if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return; - - var ret = self.push(chunk); - if (!ret) { - paused = true; - stream.pause(); - } - }); - - // proxy all the other methods. - // important when wrapping filters and duplexes. - for (var i in stream) { - if (this[i] === undefined && typeof stream[i] === 'function') { - this[i] = function (method) { - return function () { - return stream[method].apply(stream, arguments); - }; - }(i); - } - } - - // proxy certain important events. - for (var n = 0; n < kProxyEvents.length; n++) { - stream.on(kProxyEvents[n], self.emit.bind(self, kProxyEvents[n])); - } - - // when we try to consume some more bytes, simply unpause the - // underlying stream. - self._read = function (n) { - debug('wrapped _read', n); - if (paused) { - paused = false; - stream.resume(); - } - }; - - return self; - }; - - // exposed for testing purposes only. - Readable._fromList = fromList; - - // Pluck off n bytes from an array of buffers. - // Length is the combined lengths of all the buffers in the list. - // This function is designed to be inlinable, so please take care when making - // changes to the function body. - function fromList(n, state) { - // nothing buffered - if (state.length === 0) return null; - - var ret; - if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) { - // read it all, truncate the list - if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length); - state.buffer.clear(); - } else { - // read part of list - ret = fromListPartial(n, state.buffer, state.decoder); - } - - return ret; - } - - // Extracts only enough buffered data to satisfy the amount requested. - // This function is designed to be inlinable, so please take care when making - // changes to the function body. - function fromListPartial(n, list, hasStrings) { - var ret; - if (n < list.head.data.length) { - // slice is the same for buffers and strings - ret = list.head.data.slice(0, n); - list.head.data = list.head.data.slice(n); - } else if (n === list.head.data.length) { - // first chunk is a perfect match - ret = list.shift(); - } else { - // result spans more than one buffer - ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list); - } - return ret; - } - - // Copies a specified amount of characters from the list of buffered data - // chunks. - // This function is designed to be inlinable, so please take care when making - // changes to the function body. - function copyFromBufferString(n, list) { - var p = list.head; - var c = 1; - var ret = p.data; - n -= ret.length; - while (p = p.next) { - var str = p.data; - var nb = n > str.length ? str.length : n; - if (nb === str.length) ret += str;else ret += str.slice(0, n); - n -= nb; - if (n === 0) { - if (nb === str.length) { - ++c; - if (p.next) list.head = p.next;else list.head = list.tail = null; - } else { - list.head = p; - p.data = str.slice(nb); - } - break; - } - ++c; - } - list.length -= c; - return ret; - } - - // Copies a specified amount of bytes from the list of buffered data chunks. - // This function is designed to be inlinable, so please take care when making - // changes to the function body. - function copyFromBuffer(n, list) { - var ret = Buffer.allocUnsafe(n); - var p = list.head; - var c = 1; - p.data.copy(ret); - n -= p.data.length; - while (p = p.next) { - var buf = p.data; - var nb = n > buf.length ? buf.length : n; - buf.copy(ret, ret.length - n, 0, nb); - n -= nb; - if (n === 0) { - if (nb === buf.length) { - ++c; - if (p.next) list.head = p.next;else list.head = list.tail = null; - } else { - list.head = p; - p.data = buf.slice(nb); - } - break; - } - ++c; - } - list.length -= c; - return ret; - } - - function endReadable(stream) { - var state = stream._readableState; - - // If we get here before consuming all the bytes, then that is a - // bug in node. Should never happen. - if (state.length > 0) throw new Error('"endReadable()" called on non-empty stream'); - - if (!state.endEmitted) { - state.ended = true; - processNextTick(endReadableNT, state, stream); - } - } - - function endReadableNT(state, stream) { - // Check that we didn't get one last unshift. - if (!state.endEmitted && state.length === 0) { - state.endEmitted = true; - stream.readable = false; - stream.emit('end'); - } - } - - function forEach(xs, f) { - for (var i = 0, l = xs.length; i < l; i++) { - f(xs[i], i); - } - } - - function indexOf(xs, x) { - for (var i = 0, l = xs.length; i < l; i++) { - if (xs[i] === x) return i; - } - return -1; - } - /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(3))) - -/***/ }), -/* 250 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(process) {'use strict'; - - if (!process.version || - process.version.indexOf('v0.') === 0 || - process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) { - module.exports = nextTick; - } else { - module.exports = process.nextTick; - } - - function nextTick(fn, arg1, arg2, arg3) { - if (typeof fn !== 'function') { - throw new TypeError('"callback" argument must be a function'); - } - var len = arguments.length; - var args, i; - switch (len) { - case 0: - case 1: - return process.nextTick(fn); - case 2: - return process.nextTick(function afterTickOne() { - fn.call(null, arg1); - }); - case 3: - return process.nextTick(function afterTickTwo() { - fn.call(null, arg1, arg2); - }); - case 4: - return process.nextTick(function afterTickThree() { - fn.call(null, arg1, arg2, arg3); - }); - default: - args = new Array(len - 1); - i = 0; - while (i < args.length) { - args[i++] = arguments[i]; - } - return process.nextTick(function afterTick() { - fn.apply(null, args); - }); - } - } - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3))) - -/***/ }), -/* 251 */ -/***/ (function(module, exports, __webpack_require__) { - - module.exports = __webpack_require__(245); - - -/***/ }), -/* 252 */ -/***/ (function(module, exports, __webpack_require__) { - - /* eslint-disable node/no-deprecated-api */ - var buffer = __webpack_require__(203) - var Buffer = buffer.Buffer - - // alternative to using Object.keys for old browsers - function copyProps (src, dst) { - for (var key in src) { - dst[key] = src[key] - } - } - if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { - module.exports = buffer - } else { - // Copy properties from require('buffer') - copyProps(buffer, exports) - exports.Buffer = SafeBuffer - } - - function SafeBuffer (arg, encodingOrOffset, length) { - return Buffer(arg, encodingOrOffset, length) - } - - // Copy static methods from Buffer - copyProps(Buffer, SafeBuffer) - - SafeBuffer.from = function (arg, encodingOrOffset, length) { - if (typeof arg === 'number') { - throw new TypeError('Argument must not be a number') - } - return Buffer(arg, encodingOrOffset, length) - } - - SafeBuffer.alloc = function (size, fill, encoding) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - var buf = Buffer(size) - if (fill !== undefined) { - if (typeof encoding === 'string') { - buf.fill(fill, encoding) - } else { - buf.fill(fill) - } - } else { - buf.fill(0) - } - return buf - } - - SafeBuffer.allocUnsafe = function (size) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - return Buffer(size) - } - - SafeBuffer.allocUnsafeSlow = function (size) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - return buffer.SlowBuffer(size) - } - - -/***/ }), -/* 253 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(Buffer) {// Copyright Joyent, Inc. and other Node contributors. - // - // Permission is hereby granted, free of charge, to any person obtaining a - // copy of this software and associated documentation files (the - // "Software"), to deal in the Software without restriction, including - // without limitation the rights to use, copy, modify, merge, publish, - // distribute, sublicense, and/or sell copies of the Software, and to permit - // persons to whom the Software is furnished to do so, subject to the - // following conditions: - // - // The above copyright notice and this permission notice shall be included - // in all copies or substantial portions of the Software. - // - // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - // USE OR OTHER DEALINGS IN THE SOFTWARE. - - // NOTE: These type checking functions intentionally don't use `instanceof` - // because it is fragile and can be easily faked with `Object.create()`. - - function isArray(arg) { - if (Array.isArray) { - return Array.isArray(arg); - } - return objectToString(arg) === '[object Array]'; - } - exports.isArray = isArray; - - function isBoolean(arg) { - return typeof arg === 'boolean'; - } - exports.isBoolean = isBoolean; - - function isNull(arg) { - return arg === null; - } - exports.isNull = isNull; - - function isNullOrUndefined(arg) { - return arg == null; - } - exports.isNullOrUndefined = isNullOrUndefined; - - function isNumber(arg) { - return typeof arg === 'number'; - } - exports.isNumber = isNumber; - - function isString(arg) { - return typeof arg === 'string'; - } - exports.isString = isString; - - function isSymbol(arg) { - return typeof arg === 'symbol'; - } - exports.isSymbol = isSymbol; - - function isUndefined(arg) { - return arg === void 0; - } - exports.isUndefined = isUndefined; - - function isRegExp(re) { - return objectToString(re) === '[object RegExp]'; - } - exports.isRegExp = isRegExp; - - function isObject(arg) { - return typeof arg === 'object' && arg !== null; - } - exports.isObject = isObject; - - function isDate(d) { - return objectToString(d) === '[object Date]'; - } - exports.isDate = isDate; - - function isError(e) { - return (objectToString(e) === '[object Error]' || e instanceof Error); - } - exports.isError = isError; - - function isFunction(arg) { - return typeof arg === 'function'; - } - exports.isFunction = isFunction; - - function isPrimitive(arg) { - return arg === null || - typeof arg === 'boolean' || - typeof arg === 'number' || - typeof arg === 'string' || - typeof arg === 'symbol' || // ES6 symbol - typeof arg === 'undefined'; - } - exports.isPrimitive = isPrimitive; - - exports.isBuffer = Buffer.isBuffer; - - function objectToString(o) { - return Object.prototype.toString.call(o); - } - - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(203).Buffer)) - -/***/ }), -/* 254 */ -/***/ (function(module, exports, __webpack_require__) { - - 'use strict'; - - /**/ - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - var Buffer = __webpack_require__(252).Buffer; - /**/ - - function copyBuffer(src, target, offset) { - src.copy(target, offset); - } - - module.exports = function () { - function BufferList() { - _classCallCheck(this, BufferList); - - this.head = null; - this.tail = null; - this.length = 0; - } - - BufferList.prototype.push = function push(v) { - var entry = { data: v, next: null }; - if (this.length > 0) this.tail.next = entry;else this.head = entry; - this.tail = entry; - ++this.length; - }; - - BufferList.prototype.unshift = function unshift(v) { - var entry = { data: v, next: this.head }; - if (this.length === 0) this.tail = entry; - this.head = entry; - ++this.length; - }; - - BufferList.prototype.shift = function shift() { - if (this.length === 0) return; - var ret = this.head.data; - if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next; - --this.length; - return ret; - }; - - BufferList.prototype.clear = function clear() { - this.head = this.tail = null; - this.length = 0; - }; - - BufferList.prototype.join = function join(s) { - if (this.length === 0) return ''; - var p = this.head; - var ret = '' + p.data; - while (p = p.next) { - ret += s + p.data; - }return ret; - }; - - BufferList.prototype.concat = function concat(n) { - if (this.length === 0) return Buffer.alloc(0); - if (this.length === 1) return this.head.data; - var ret = Buffer.allocUnsafe(n >>> 0); - var p = this.head; - var i = 0; - while (p) { - copyBuffer(p.data, ret, i); - i += p.data.length; - p = p.next; - } - return ret; - }; - - return BufferList; - }(); - -/***/ }), -/* 255 */ -/***/ (function(module, exports, __webpack_require__) { - - 'use strict'; - - /**/ - - var processNextTick = __webpack_require__(250); - /**/ - - // undocumented cb() API, needed for core, not for public API - function destroy(err, cb) { - var _this = this; - - var readableDestroyed = this._readableState && this._readableState.destroyed; - var writableDestroyed = this._writableState && this._writableState.destroyed; - - if (readableDestroyed || writableDestroyed) { - if (cb) { - cb(err); - } else if (err && (!this._writableState || !this._writableState.errorEmitted)) { - processNextTick(emitErrorNT, this, err); - } - return; - } - - // we set destroyed to true before firing error callbacks in order - // to make it re-entrance safe in case destroy() is called within callbacks - - if (this._readableState) { - this._readableState.destroyed = true; - } - - // if this is a duplex stream mark the writable part as destroyed as well - if (this._writableState) { - this._writableState.destroyed = true; - } - - this._destroy(err || null, function (err) { - if (!cb && err) { - processNextTick(emitErrorNT, _this, err); - if (_this._writableState) { - _this._writableState.errorEmitted = true; - } - } else if (cb) { - cb(err); - } - }); - } - - function undestroy() { - if (this._readableState) { - this._readableState.destroyed = false; - this._readableState.reading = false; - this._readableState.ended = false; - this._readableState.endEmitted = false; - } - - if (this._writableState) { - this._writableState.destroyed = false; - this._writableState.ended = false; - this._writableState.ending = false; - this._writableState.finished = false; - this._writableState.errorEmitted = false; - } - } - - function emitErrorNT(self, err) { - self.emit('error', err); - } - - module.exports = { - destroy: destroy, - undestroy: undestroy - }; - -/***/ }), -/* 256 */ -/***/ (function(module, exports, __webpack_require__) { - - // Copyright Joyent, Inc. and other Node contributors. - // - // Permission is hereby granted, free of charge, to any person obtaining a - // copy of this software and associated documentation files (the - // "Software"), to deal in the Software without restriction, including - // without limitation the rights to use, copy, modify, merge, publish, - // distribute, sublicense, and/or sell copies of the Software, and to permit - // persons to whom the Software is furnished to do so, subject to the - // following conditions: - // - // The above copyright notice and this permission notice shall be included - // in all copies or substantial portions of the Software. - // - // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - // USE OR OTHER DEALINGS IN THE SOFTWARE. - - // a duplex stream is just a stream that is both readable and writable. - // Since JS doesn't have multiple prototypal inheritance, this class - // prototypally inherits from Readable, and then parasitically from - // Writable. - - 'use strict'; - - /**/ - - var processNextTick = __webpack_require__(250); - /**/ - - /**/ - var objectKeys = Object.keys || function (obj) { - var keys = []; - for (var key in obj) { - keys.push(key); - }return keys; - }; - /**/ - - module.exports = Duplex; - - /**/ - var util = __webpack_require__(253); - util.inherits = __webpack_require__(247); - /**/ - - var Readable = __webpack_require__(249); - var Writable = __webpack_require__(257); - - util.inherits(Duplex, Readable); - - var keys = objectKeys(Writable.prototype); - for (var v = 0; v < keys.length; v++) { - var method = keys[v]; - if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]; - } - - function Duplex(options) { - if (!(this instanceof Duplex)) return new Duplex(options); - - Readable.call(this, options); - Writable.call(this, options); - - if (options && options.readable === false) this.readable = false; - - if (options && options.writable === false) this.writable = false; - - this.allowHalfOpen = true; - if (options && options.allowHalfOpen === false) this.allowHalfOpen = false; - - this.once('end', onend); - } - - // the no-half-open enforcer - function onend() { - // if we allow half-open state, or if the writable side ended, - // then we're ok. - if (this.allowHalfOpen || this._writableState.ended) return; - - // no more data can be written. - // But allow more writes to happen in this tick. - processNextTick(onEndNT, this); - } - - function onEndNT(self) { - self.end(); - } - - Object.defineProperty(Duplex.prototype, 'destroyed', { - get: function () { - if (this._readableState === undefined || this._writableState === undefined) { - return false; - } - return this._readableState.destroyed && this._writableState.destroyed; - }, - set: function (value) { - // we ignore the value if the stream - // has not been initialized yet - if (this._readableState === undefined || this._writableState === undefined) { - return; - } - - // backward compatibility, the user is explicitly - // managing destroyed - this._readableState.destroyed = value; - this._writableState.destroyed = value; - } - }); - - Duplex.prototype._destroy = function (err, cb) { - this.push(null); - this.end(); - - processNextTick(cb, err); - }; - - function forEach(xs, f) { - for (var i = 0, l = xs.length; i < l; i++) { - f(xs[i], i); - } - } - -/***/ }), -/* 257 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(process, setImmediate, global) {// Copyright Joyent, Inc. and other Node contributors. - // - // Permission is hereby granted, free of charge, to any person obtaining a - // copy of this software and associated documentation files (the - // "Software"), to deal in the Software without restriction, including - // without limitation the rights to use, copy, modify, merge, publish, - // distribute, sublicense, and/or sell copies of the Software, and to permit - // persons to whom the Software is furnished to do so, subject to the - // following conditions: - // - // The above copyright notice and this permission notice shall be included - // in all copies or substantial portions of the Software. - // - // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN - // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - // USE OR OTHER DEALINGS IN THE SOFTWARE. - - // A bit simpler than readable streams. - // Implement an async ._write(chunk, encoding, cb), and it'll handle all - // the drain event emission and buffering. - - 'use strict'; - - /**/ - - var processNextTick = __webpack_require__(250); - /**/ - - module.exports = Writable; - - /* */ - function WriteReq(chunk, encoding, cb) { - this.chunk = chunk; - this.encoding = encoding; - this.callback = cb; - this.next = null; - } - - // It seems a linked list but it is not - // there will be only 2 of these for each stream - function CorkedRequest(state) { - var _this = this; - - this.next = null; - this.entry = null; - this.finish = function () { - onCorkedFinish(_this, state); - }; - } - /* */ - - /**/ - var asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : processNextTick; - /**/ - - /**/ - var Duplex; - /**/ - - Writable.WritableState = WritableState; - - /**/ - var util = __webpack_require__(253); - util.inherits = __webpack_require__(247); - /**/ - - /**/ - var internalUtil = { - deprecate: __webpack_require__(260) - }; - /**/ - - /**/ - var Stream = __webpack_require__(251); - /**/ - - /**/ - var Buffer = __webpack_require__(252).Buffer; - var OurUint8Array = global.Uint8Array || function () {}; - function _uint8ArrayToBuffer(chunk) { - return Buffer.from(chunk); - } - function _isUint8Array(obj) { - return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; - } - /**/ - - var destroyImpl = __webpack_require__(255); - - util.inherits(Writable, Stream); - - function nop() {} - - function WritableState(options, stream) { - Duplex = Duplex || __webpack_require__(256); - - options = options || {}; - - // object stream flag to indicate whether or not this stream - // contains buffers or objects. - this.objectMode = !!options.objectMode; - - if (stream instanceof Duplex) this.objectMode = this.objectMode || !!options.writableObjectMode; - - // the point at which write() starts returning false - // Note: 0 is a valid value, means that we always return false if - // the entire buffer is not flushed immediately on write() - var hwm = options.highWaterMark; - var defaultHwm = this.objectMode ? 16 : 16 * 1024; - this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm; - - // cast to ints. - this.highWaterMark = Math.floor(this.highWaterMark); - - // if _final has been called - this.finalCalled = false; - - // drain event flag. - this.needDrain = false; - // at the start of calling end() - this.ending = false; - // when end() has been called, and returned - this.ended = false; - // when 'finish' is emitted - this.finished = false; - - // has it been destroyed - this.destroyed = false; - - // should we decode strings into buffers before passing to _write? - // this is here so that some node-core streams can optimize string - // handling at a lower level. - var noDecode = options.decodeStrings === false; - this.decodeStrings = !noDecode; - - // Crypto is kind of old and crusty. Historically, its default string - // encoding is 'binary' so we have to make this configurable. - // Everything else in the universe uses 'utf8', though. - this.defaultEncoding = options.defaultEncoding || 'utf8'; - - // not an actual buffer we keep track of, but a measurement - // of how much we're waiting to get pushed to some underlying - // socket or file. - this.length = 0; - - // a flag to see when we're in the middle of a write. - this.writing = false; - - // when true all writes will be buffered until .uncork() call - this.corked = 0; - - // a flag to be able to tell if the onwrite cb is called immediately, - // or on a later tick. We set this to true at first, because any - // actions that shouldn't happen until "later" should generally also - // not happen before the first write call. - this.sync = true; - - // a flag to know if we're processing previously buffered items, which - // may call the _write() callback in the same tick, so that we don't - // end up in an overlapped onwrite situation. - this.bufferProcessing = false; - - // the callback that's passed to _write(chunk,cb) - this.onwrite = function (er) { - onwrite(stream, er); - }; - - // the callback that the user supplies to write(chunk,encoding,cb) - this.writecb = null; - - // the amount that is being written when _write is called. - this.writelen = 0; - - this.bufferedRequest = null; - this.lastBufferedRequest = null; - - // number of pending user-supplied write callbacks - // this must be 0 before 'finish' can be emitted - this.pendingcb = 0; - - // emit prefinish if the only thing we're waiting for is _write cbs - // This is relevant for synchronous Transform streams - this.prefinished = false; - - // True if the error was already emitted and should not be thrown again - this.errorEmitted = false; - - // count buffered requests - this.bufferedRequestCount = 0; - - // allocate the first CorkedRequest, there is always - // one allocated and free to use, and we maintain at most two - this.corkedRequestsFree = new CorkedRequest(this); - } - - WritableState.prototype.getBuffer = function getBuffer() { - var current = this.bufferedRequest; - var out = []; - while (current) { - out.push(current); - current = current.next; - } - return out; - }; - - (function () { - try { - Object.defineProperty(WritableState.prototype, 'buffer', { - get: internalUtil.deprecate(function () { - return this.getBuffer(); - }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003') - }); - } catch (_) {} - })(); - - // Test _writableState for inheritance to account for Duplex streams, - // whose prototype chain only points to Readable. - var realHasInstance; - if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') { - realHasInstance = Function.prototype[Symbol.hasInstance]; - Object.defineProperty(Writable, Symbol.hasInstance, { - value: function (object) { - if (realHasInstance.call(this, object)) return true; - - return object && object._writableState instanceof WritableState; - } - }); - } else { - realHasInstance = function (object) { - return object instanceof this; - }; - } - - function Writable(options) { - Duplex = Duplex || __webpack_require__(256); - - // Writable ctor is applied to Duplexes, too. - // `realHasInstance` is necessary because using plain `instanceof` - // would return false, as no `_writableState` property is attached. - - // Trying to use the custom `instanceof` for Writable here will also break the - // Node.js LazyTransform implementation, which has a non-trivial getter for - // `_writableState` that would lead to infinite recursion. - if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) { - return new Writable(options); - } - - this._writableState = new WritableState(options, this); - - // legacy. - this.writable = true; - - if (options) { - if (typeof options.write === 'function') this._write = options.write; - - if (typeof options.writev === 'function') this._writev = options.writev; - - if (typeof options.destroy === 'function') this._destroy = options.destroy; - - if (typeof options.final === 'function') this._final = options.final; - } - - Stream.call(this); - } - - // Otherwise people can pipe Writable streams, which is just wrong. - Writable.prototype.pipe = function () { - this.emit('error', new Error('Cannot pipe, not readable')); - }; - - function writeAfterEnd(stream, cb) { - var er = new Error('write after end'); - // TODO: defer error events consistently everywhere, not just the cb - stream.emit('error', er); - processNextTick(cb, er); - } - - // Checks that a user-supplied chunk is valid, especially for the particular - // mode the stream is in. Currently this means that `null` is never accepted - // and undefined/non-string values are only allowed in object mode. - function validChunk(stream, state, chunk, cb) { - var valid = true; - var er = false; - - if (chunk === null) { - er = new TypeError('May not write null values to stream'); - } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { - er = new TypeError('Invalid non-string/buffer chunk'); - } - if (er) { - stream.emit('error', er); - processNextTick(cb, er); - valid = false; - } - return valid; - } - - Writable.prototype.write = function (chunk, encoding, cb) { - var state = this._writableState; - var ret = false; - var isBuf = _isUint8Array(chunk) && !state.objectMode; - - if (isBuf && !Buffer.isBuffer(chunk)) { - chunk = _uint8ArrayToBuffer(chunk); - } - - if (typeof encoding === 'function') { - cb = encoding; - encoding = null; - } - - if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding; - - if (typeof cb !== 'function') cb = nop; - - if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) { - state.pendingcb++; - ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb); - } - - return ret; - }; - - Writable.prototype.cork = function () { - var state = this._writableState; - - state.corked++; - }; - - Writable.prototype.uncork = function () { - var state = this._writableState; - - if (state.corked) { - state.corked--; - - if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state); - } - }; - - Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) { - // node::ParseEncoding() requires lower case. - if (typeof encoding === 'string') encoding = encoding.toLowerCase(); - if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding); - this._writableState.defaultEncoding = encoding; - return this; - }; - - function decodeChunk(state, chunk, encoding) { - if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') { - chunk = Buffer.from(chunk, encoding); - } - return chunk; - } - - // if we're already writing something, then just put this - // in the queue, and wait our turn. Otherwise, call _write - // If we return false, then we need a drain event, so set that flag. - function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) { - if (!isBuf) { - var newChunk = decodeChunk(state, chunk, encoding); - if (chunk !== newChunk) { - isBuf = true; - encoding = 'buffer'; - chunk = newChunk; - } - } - var len = state.objectMode ? 1 : chunk.length; - - state.length += len; - - var ret = state.length < state.highWaterMark; - // we must ensure that previous needDrain will not be reset to false. - if (!ret) state.needDrain = true; - - if (state.writing || state.corked) { - var last = state.lastBufferedRequest; - state.lastBufferedRequest = { - chunk: chunk, - encoding: encoding, - isBuf: isBuf, - callback: cb, - next: null - }; - if (last) { - last.next = state.lastBufferedRequest; - } else { - state.bufferedRequest = state.lastBufferedRequest; - } - state.bufferedRequestCount += 1; - } else { - doWrite(stream, state, false, len, chunk, encoding, cb); - } - - return ret; - } - - function doWrite(stream, state, writev, len, chunk, encoding, cb) { - state.writelen = len; - state.writecb = cb; - state.writing = true; - state.sync = true; - if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite); - state.sync = false; - } - - function onwriteError(stream, state, sync, er, cb) { - --state.pendingcb; - - if (sync) { - // defer the callback if we are being called synchronously - // to avoid piling up things on the stack - processNextTick(cb, er); - // this can emit finish, and it will always happen - // after error - processNextTick(finishMaybe, stream, state); - stream._writableState.errorEmitted = true; - stream.emit('error', er); - } else { - // the caller expect this to happen before if - // it is async - cb(er); - stream._writableState.errorEmitted = true; - stream.emit('error', er); - // this can emit finish, but finish must - // always follow error - finishMaybe(stream, state); - } - } - - function onwriteStateUpdate(state) { - state.writing = false; - state.writecb = null; - state.length -= state.writelen; - state.writelen = 0; - } - - function onwrite(stream, er) { - var state = stream._writableState; - var sync = state.sync; - var cb = state.writecb; - - onwriteStateUpdate(state); - - if (er) onwriteError(stream, state, sync, er, cb);else { - // Check if we're actually ready to finish, but don't emit yet - var finished = needFinish(state); - - if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) { - clearBuffer(stream, state); - } - - if (sync) { - /**/ - asyncWrite(afterWrite, stream, state, finished, cb); - /**/ - } else { - afterWrite(stream, state, finished, cb); - } - } - } - - function afterWrite(stream, state, finished, cb) { - if (!finished) onwriteDrain(stream, state); - state.pendingcb--; - cb(); - finishMaybe(stream, state); - } - - // Must force callback to be called on nextTick, so that we don't - // emit 'drain' before the write() consumer gets the 'false' return - // value, and has a chance to attach a 'drain' listener. - function onwriteDrain(stream, state) { - if (state.length === 0 && state.needDrain) { - state.needDrain = false; - stream.emit('drain'); - } - } - - // if there's something in the buffer waiting, then process it - function clearBuffer(stream, state) { - state.bufferProcessing = true; - var entry = state.bufferedRequest; - - if (stream._writev && entry && entry.next) { - // Fast case, write everything using _writev() - var l = state.bufferedRequestCount; - var buffer = new Array(l); - var holder = state.corkedRequestsFree; - holder.entry = entry; - - var count = 0; - var allBuffers = true; - while (entry) { - buffer[count] = entry; - if (!entry.isBuf) allBuffers = false; - entry = entry.next; - count += 1; - } - buffer.allBuffers = allBuffers; - - doWrite(stream, state, true, state.length, buffer, '', holder.finish); - - // doWrite is almost always async, defer these to save a bit of time - // as the hot path ends with doWrite - state.pendingcb++; - state.lastBufferedRequest = null; - if (holder.next) { - state.corkedRequestsFree = holder.next; - holder.next = null; - } else { - state.corkedRequestsFree = new CorkedRequest(state); - } - } else { - // Slow case, write chunks one-by-one - while (entry) { - var chunk = entry.chunk; - var encoding = entry.encoding; - var cb = entry.callback; - var len = state.objectMode ? 1 : chunk.length; - - doWrite(stream, state, false, len, chunk, encoding, cb); - entry = entry.next; - // if we didn't call the onwrite immediately, then - // it means that we need to wait until it does. - // also, that means that the chunk and cb are currently - // being processed, so move the buffer counter past them. - if (state.writing) { - break; - } - } - - if (entry === null) state.lastBufferedRequest = null; - } - - state.bufferedRequestCount = 0; - state.bufferedRequest = entry; - state.bufferProcessing = false; - } - - Writable.prototype._write = function (chunk, encoding, cb) { - cb(new Error('_write() is not implemented')); - }; - - Writable.prototype._writev = null; - - Writable.prototype.end = function (chunk, encoding, cb) { - var state = this._writableState; - - if (typeof chunk === 'function') { - cb = chunk; - chunk = null; - encoding = null; - } else if (typeof encoding === 'function') { - cb = encoding; - encoding = null; - } - - if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); - - // .end() fully uncorks - if (state.corked) { - state.corked = 1; - this.uncork(); - } - - // ignore unnecessary end() calls. - if (!state.ending && !state.finished) endWritable(this, state, cb); - }; - - function needFinish(state) { - return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing; - } - function callFinal(stream, state) { - stream._final(function (err) { - state.pendingcb--; - if (err) { - stream.emit('error', err); - } - state.prefinished = true; - stream.emit('prefinish'); - finishMaybe(stream, state); - }); - } - function prefinish(stream, state) { - if (!state.prefinished && !state.finalCalled) { - if (typeof stream._final === 'function') { - state.pendingcb++; - state.finalCalled = true; - processNextTick(callFinal, stream, state); - } else { - state.prefinished = true; - stream.emit('prefinish'); - } - } - } - - function finishMaybe(stream, state) { - var need = needFinish(state); - if (need) { - prefinish(stream, state); - if (state.pendingcb === 0) { - state.finished = true; - stream.emit('finish'); - } - } - return need; - } - - function endWritable(stream, state, cb) { - state.ending = true; - finishMaybe(stream, state); - if (cb) { - if (state.finished) processNextTick(cb);else stream.once('finish', cb); - } - state.ended = true; - stream.writable = false; - } - - function onCorkedFinish(corkReq, state, err) { - var entry = corkReq.entry; - corkReq.entry = null; - while (entry) { - var cb = entry.callback; - state.pendingcb--; - cb(err); - entry = entry.next; - } - if (state.corkedRequestsFree) { - state.corkedRequestsFree.next = corkReq; - } else { - state.corkedRequestsFree = corkReq; - } - } - - Object.defineProperty(Writable.prototype, 'destroyed', { - get: function () { - if (this._writableState === undefined) { - return false; - } - return this._writableState.destroyed; - }, - set: function (value) { - // we ignore the value if the stream - // has not been initialized yet - if (!this._writableState) { - return; - } - - // backward compatibility, the user is explicitly - // managing destroyed - this._writableState.destroyed = value; - } - }); - - Writable.prototype.destroy = destroyImpl.destroy; - Writable.prototype._undestroy = destroyImpl.undestroy; - Writable.prototype._destroy = function (err, cb) { - this.end(); - cb(err); - }; - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3), __webpack_require__(258).setImmediate, (function() { return this; }()))) - -/***/ }), -/* 258 */ -/***/ (function(module, exports, __webpack_require__) { - - var apply = Function.prototype.apply; - - // DOM APIs, for completeness - - exports.setTimeout = function() { - return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout); - }; - exports.setInterval = function() { - return new Timeout(apply.call(setInterval, window, arguments), clearInterval); - }; - exports.clearTimeout = - exports.clearInterval = function(timeout) { - if (timeout) { - timeout.close(); - } - }; - - function Timeout(id, clearFn) { - this._id = id; - this._clearFn = clearFn; - } - Timeout.prototype.unref = Timeout.prototype.ref = function() {}; - Timeout.prototype.close = function() { - this._clearFn.call(window, this._id); - }; - - // Does not start the time, just sets up the members needed. - exports.enroll = function(item, msecs) { - clearTimeout(item._idleTimeoutId); - item._idleTimeout = msecs; - }; - - exports.unenroll = function(item) { - clearTimeout(item._idleTimeoutId); - item._idleTimeout = -1; - }; - - exports._unrefActive = exports.active = function(item) { - clearTimeout(item._idleTimeoutId); - - var msecs = item._idleTimeout; - if (msecs >= 0) { - item._idleTimeoutId = setTimeout(function onTimeout() { - if (item._onTimeout) - item._onTimeout(); - }, msecs); - } - }; - - // setimmediate attaches itself to the global object - __webpack_require__(259); - exports.setImmediate = setImmediate; - exports.clearImmediate = clearImmediate; - - -/***/ }), -/* 259 */ -/***/ (function(module, exports, __webpack_require__) { - - /* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) { - "use strict"; - - if (global.setImmediate) { - return; - } - - var nextHandle = 1; // Spec says greater than zero - var tasksByHandle = {}; - var currentlyRunningATask = false; - var doc = global.document; - var registerImmediate; - - function setImmediate(callback) { - // Callback can either be a function or a string - if (typeof callback !== "function") { - callback = new Function("" + callback); - } - // Copy function arguments - var args = new Array(arguments.length - 1); - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i + 1]; - } - // Store and register the task - var task = { callback: callback, args: args }; - tasksByHandle[nextHandle] = task; - registerImmediate(nextHandle); - return nextHandle++; - } - - function clearImmediate(handle) { - delete tasksByHandle[handle]; - } - - function run(task) { - var callback = task.callback; - var args = task.args; - switch (args.length) { - case 0: - callback(); - break; - case 1: - callback(args[0]); - break; - case 2: - callback(args[0], args[1]); - break; - case 3: - callback(args[0], args[1], args[2]); - break; - default: - callback.apply(undefined, args); - break; - } - } - - function runIfPresent(handle) { - // From the spec: "Wait until any invocations of this algorithm started before this one have completed." - // So if we're currently running a task, we'll need to delay this invocation. - if (currentlyRunningATask) { - // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a - // "too much recursion" error. - setTimeout(runIfPresent, 0, handle); - } else { - var task = tasksByHandle[handle]; - if (task) { - currentlyRunningATask = true; - try { - run(task); - } finally { - clearImmediate(handle); - currentlyRunningATask = false; - } - } - } - } - - function installNextTickImplementation() { - registerImmediate = function(handle) { - process.nextTick(function () { runIfPresent(handle); }); - }; - } - - function canUsePostMessage() { - // The test against `importScripts` prevents this implementation from being installed inside a web worker, - // where `global.postMessage` means something completely different and can't be used for this purpose. - if (global.postMessage && !global.importScripts) { - var postMessageIsAsynchronous = true; - var oldOnMessage = global.onmessage; - global.onmessage = function() { - postMessageIsAsynchronous = false; - }; - global.postMessage("", "*"); - global.onmessage = oldOnMessage; - return postMessageIsAsynchronous; - } - } - - function installPostMessageImplementation() { - // Installs an event handler on `global` for the `message` event: see - // * https://developer.mozilla.org/en/DOM/window.postMessage - // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages - - var messagePrefix = "setImmediate$" + Math.random() + "$"; - var onGlobalMessage = function(event) { - if (event.source === global && - typeof event.data === "string" && - event.data.indexOf(messagePrefix) === 0) { - runIfPresent(+event.data.slice(messagePrefix.length)); - } - }; - - if (global.addEventListener) { - global.addEventListener("message", onGlobalMessage, false); - } else { - global.attachEvent("onmessage", onGlobalMessage); - } - - registerImmediate = function(handle) { - global.postMessage(messagePrefix + handle, "*"); - }; - } - - function installMessageChannelImplementation() { - var channel = new MessageChannel(); - channel.port1.onmessage = function(event) { - var handle = event.data; - runIfPresent(handle); - }; - - registerImmediate = function(handle) { - channel.port2.postMessage(handle); - }; - } - - function installReadyStateChangeImplementation() { - var html = doc.documentElement; - registerImmediate = function(handle) { - // Create a ` - -## methods - -`base64js` has three exposed functions, `byteLength`, `toByteArray` and `fromByteArray`, which both take a single argument. - -* `byteLength` - Takes a base64 string and returns length of byte array -* `toByteArray` - Takes a base64 string and returns a byte array -* `fromByteArray` - Takes a byte array and returns a base64 string - -## license - -MIT diff --git a/src/node_modules/base64-js/base64js.min.js b/src/node_modules/base64-js/base64js.min.js deleted file mode 100644 index 84db504..0000000 --- a/src/node_modules/base64-js/base64js.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(r){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=r()}else if(typeof define==="function"&&define.amd){define([],r)}else{var e;if(typeof window!=="undefined"){e=window}else if(typeof global!=="undefined"){e=global}else if(typeof self!=="undefined"){e=self}else{e=this}e.base64js=r()}})(function(){var r,e,t;return function r(e,t,n){function o(i,a){if(!t[i]){if(!e[i]){var u=typeof require=="function"&&require;if(!a&&u)return u(i,!0);if(f)return f(i,!0);var d=new Error("Cannot find module '"+i+"'");throw d.code="MODULE_NOT_FOUND",d}var c=t[i]={exports:{}};e[i][0].call(c.exports,function(r){var t=e[i][1][r];return o(t?t:r)},c,c.exports,r,e,t,n)}return t[i].exports}var f=typeof require=="function"&&require;for(var i=0;i0){throw new Error("Invalid string. Length must be a multiple of 4")}return r[e-2]==="="?2:r[e-1]==="="?1:0}function c(r){return r.length*3/4-d(r)}function v(r){var e,t,n,i,a;var u=r.length;i=d(r);a=new f(u*3/4-i);t=i>0?u-4:u;var c=0;for(e=0;e>16&255;a[c++]=n>>8&255;a[c++]=n&255}if(i===2){n=o[r.charCodeAt(e)]<<2|o[r.charCodeAt(e+1)]>>4;a[c++]=n&255}else if(i===1){n=o[r.charCodeAt(e)]<<10|o[r.charCodeAt(e+1)]<<4|o[r.charCodeAt(e+2)]>>2;a[c++]=n>>8&255;a[c++]=n&255}return a}function l(r){return n[r>>18&63]+n[r>>12&63]+n[r>>6&63]+n[r&63]}function h(r,e,t){var n;var o=[];for(var f=e;fd?d:u+a))}if(o===1){e=r[t-1];f+=n[e>>2];f+=n[e<<4&63];f+="=="}else if(o===2){e=(r[t-2]<<8)+r[t-1];f+=n[e>>10];f+=n[e>>4&63];f+=n[e<<2&63];f+="="}i.push(f);return i.join("")}},{}]},{},[])("/")}); diff --git a/src/node_modules/base64-js/index.js b/src/node_modules/base64-js/index.js deleted file mode 100644 index 9d00874..0000000 --- a/src/node_modules/base64-js/index.js +++ /dev/null @@ -1,114 +0,0 @@ -'use strict' - -exports.byteLength = byteLength -exports.toByteArray = toByteArray -exports.fromByteArray = fromByteArray - -var lookup = [] -var revLookup = [] -var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array - -var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' -for (var i = 0, len = code.length; i < len; ++i) { - lookup[i] = code[i] - revLookup[code.charCodeAt(i)] = i -} - -revLookup['-'.charCodeAt(0)] = 62 -revLookup['_'.charCodeAt(0)] = 63 - -function placeHoldersCount (b64) { - var len = b64.length - if (len % 4 > 0) { - throw new Error('Invalid string. Length must be a multiple of 4') - } - - // the number of equal signs (place holders) - // if there are two placeholders, than the two characters before it - // represent one byte - // if there is only one, then the three characters before it represent 2 bytes - // this is just a cheap hack to not do indexOf twice - return b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0 -} - -function byteLength (b64) { - // base64 is 4/3 + up to two characters of the original data - return (b64.length * 3 / 4) - placeHoldersCount(b64) -} - -function toByteArray (b64) { - var i, l, tmp, placeHolders, arr - var len = b64.length - placeHolders = placeHoldersCount(b64) - - arr = new Arr((len * 3 / 4) - placeHolders) - - // if there are placeholders, only get up to the last complete 4 chars - l = placeHolders > 0 ? len - 4 : len - - var L = 0 - - for (i = 0; i < l; i += 4) { - tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)] - arr[L++] = (tmp >> 16) & 0xFF - arr[L++] = (tmp >> 8) & 0xFF - arr[L++] = tmp & 0xFF - } - - if (placeHolders === 2) { - tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4) - arr[L++] = tmp & 0xFF - } else if (placeHolders === 1) { - tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2) - arr[L++] = (tmp >> 8) & 0xFF - arr[L++] = tmp & 0xFF - } - - return arr -} - -function tripletToBase64 (num) { - return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F] -} - -function encodeChunk (uint8, start, end) { - var tmp - var output = [] - for (var i = start; i < end; i += 3) { - tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2]) - output.push(tripletToBase64(tmp)) - } - return output.join('') -} - -function fromByteArray (uint8) { - var tmp - var len = uint8.length - var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes - var output = '' - var parts = [] - var maxChunkLength = 16383 // must be multiple of 3 - - // go through the array every three bytes, we'll deal with trailing stuff later - for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { - parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength))) - } - - // pad the end with zeros, but make sure to not forget the extra bytes - if (extraBytes === 1) { - tmp = uint8[len - 1] - output += lookup[tmp >> 2] - output += lookup[(tmp << 4) & 0x3F] - output += '==' - } else if (extraBytes === 2) { - tmp = (uint8[len - 2] << 8) + (uint8[len - 1]) - output += lookup[tmp >> 10] - output += lookup[(tmp >> 4) & 0x3F] - output += lookup[(tmp << 2) & 0x3F] - output += '=' - } - - parts.push(output) - - return parts.join('') -} diff --git a/src/node_modules/base64-js/package.json b/src/node_modules/base64-js/package.json deleted file mode 100644 index af42d64..0000000 --- a/src/node_modules/base64-js/package.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "_args": [ - [ - "base64-js@^1.0.2", - "/home/binhong/dota2-alexa-skill/src/node_modules/buffer" - ] - ], - "_from": "base64-js@>=1.0.2 <2.0.0", - "_id": "base64-js@1.2.1", - "_inCache": true, - "_installable": true, - "_location": "/base64-js", - "_nodeVersion": "8.1.2", - "_npmOperationalInternal": { - "host": "s3://npm-registry-packages", - "tmp": "tmp/base64-js-1.2.1.tgz_1498100565880_0.40269751008599997" - }, - "_npmUser": { - "email": "feross@feross.org", - "name": "feross" - }, - "_npmVersion": "5.0.3", - "_phantomChildren": {}, - "_requested": { - "name": "base64-js", - "raw": "base64-js@^1.0.2", - "rawSpec": "^1.0.2", - "scope": null, - "spec": ">=1.0.2 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/buffer" - ], - "_resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz", - "_shasum": "a91947da1f4a516ea38e5b4ec0ec3773675e0886", - "_shrinkwrap": null, - "_spec": "base64-js@^1.0.2", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/buffer", - "author": { - "email": "t.jameson.little@gmail.com", - "name": "T. Jameson Little" - }, - "bugs": { - "url": "https://github.com/beatgammit/base64-js/issues" - }, - "dependencies": {}, - "description": "Base64 encoding/decoding in pure JS", - "devDependencies": { - "benchmark": "^2.1.4", - "browserify": "^14.0.0", - "standard": "*", - "tape": "4.x", - "uglify-js": "^2.8.29" - }, - "directories": {}, - "dist": { - "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==", - "shasum": "a91947da1f4a516ea38e5b4ec0ec3773675e0886", - "tarball": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz" - }, - "files": [ - "base64js.min.js", - "index.js", - "test" - ], - "gitHead": "13d56bffa289ae3f406cb932c927461442a434ba", - "homepage": "https://github.com/beatgammit/base64-js", - "keywords": [ - "base64" - ], - "license": "MIT", - "main": "index.js", - "maintainers": [ - { - "name": "beatgammit", - "email": "t.jameson.little@gmail.com" - }, - { - "name": "feross", - "email": "feross@feross.org" - } - ], - "name": "base64-js", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/beatgammit/base64-js.git" - }, - "scripts": { - "build": "browserify -s base64js -r ./ | uglifyjs -m > base64js.min.js", - "lint": "standard", - "test": "npm run lint && npm run unit", - "unit": "tape test/*.js" - }, - "version": "1.2.1" -} diff --git a/src/node_modules/base64-js/test/big-data.js b/src/node_modules/base64-js/test/big-data.js deleted file mode 100644 index be16ebe..0000000 --- a/src/node_modules/base64-js/test/big-data.js +++ /dev/null @@ -1,24 +0,0 @@ -var test = require('tape') -var b64 = require('../') - -test('convert big data to base64', function (t) { - var b64str, arr, i, length - var big = new Uint8Array(64 * 1024 * 1024) - for (i = 0, length = big.length; i < length; ++i) { - big[i] = i % 256 - } - b64str = b64.fromByteArray(big) - arr = b64.toByteArray(b64str) - t.ok(equal(arr, big)) - t.end() -}) - -function equal (a, b) { - var i - var length = a.length - if (length !== b.length) return false - for (i = 0; i < length; ++i) { - if (a[i] !== b[i]) return false - } - return true -} diff --git a/src/node_modules/base64-js/test/convert.js b/src/node_modules/base64-js/test/convert.js deleted file mode 100644 index d68e105..0000000 --- a/src/node_modules/base64-js/test/convert.js +++ /dev/null @@ -1,48 +0,0 @@ -var test = require('tape') -var b64 = require('../') -var checks = [ - 'a', - 'aa', - 'aaa', - 'hi', - 'hi!', - 'hi!!', - 'sup', - 'sup?', - 'sup?!' -] - -test('convert to base64 and back', function (t) { - t.plan(checks.length * 2) - - for (var i = 0; i < checks.length; i++) { - var check = checks[i] - var b64Str, arr, str - - b64Str = b64.fromByteArray(map(check, function (char) { return char.charCodeAt(0) })) - - arr = b64.toByteArray(b64Str) - str = map(arr, function (byte) { return String.fromCharCode(byte) }).join('') - - t.equal(check, str, 'Checked ' + check) - t.equal(b64.byteLength(b64Str), arr.length, 'Checked length for ' + check) - } -}) - -function map (arr, callback) { - var res = [] - var kValue, mappedValue - - for (var k = 0, len = arr.length; k < len; k++) { - if ((typeof arr === 'string' && !!arr.charAt(k))) { - kValue = arr.charAt(k) - mappedValue = callback(kValue, k, arr) - res[k] = mappedValue - } else if (typeof arr !== 'string' && k in arr) { - kValue = arr[k] - mappedValue = callback(kValue, k, arr) - res[k] = mappedValue - } - } - return res -} diff --git a/src/node_modules/base64-js/test/url-safe.js b/src/node_modules/base64-js/test/url-safe.js deleted file mode 100644 index 3203b33..0000000 --- a/src/node_modules/base64-js/test/url-safe.js +++ /dev/null @@ -1,18 +0,0 @@ -var test = require('tape') -var b64 = require('../') - -test('decode url-safe style base64 strings', function (t) { - var expected = [0xff, 0xff, 0xbe, 0xff, 0xef, 0xbf, 0xfb, 0xef, 0xff] - - var actual = b64.toByteArray('//++/++/++//') - for (var i = 0; i < actual.length; i++) { - t.equal(actual[i], expected[i]) - } - - actual = b64.toByteArray('__--_--_--__') - for (i = 0; i < actual.length; i++) { - t.equal(actual[i], expected[i]) - } - - t.end() -}) diff --git a/src/node_modules/buffer/.npmignore b/src/node_modules/buffer/.npmignore deleted file mode 100644 index a274035..0000000 --- a/src/node_modules/buffer/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -.zuul.yml -perf/ diff --git a/src/node_modules/buffer/.travis.yml b/src/node_modules/buffer/.travis.yml deleted file mode 100644 index 6789094..0000000 --- a/src/node_modules/buffer/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: node_js -node_js: -- 'node' -sudo: false -env: - global: - - secure: AUsK+8fYSpwIMHcVt8Mu9SpG9RPHp4XDAwCQfpU3d5U65q8OVVC6C+XjvnNmEd2PoEJRHem8ZXEyRVfGM1sttKZLZP70TEKZOpOiRQnZiTQCAJ92TfGsDj/F4LoWSjUZUpfeg9b3iSp8G5dVw3+q9QZPIu6eykASK6bfcg//Cyg= - - secure: eQBKJWu7XbhAN4ZvOOhMenC0IPpoYj+wZVVzzsLwUppfJqlrHV0CUW8rJdvZNiaGhYhoyHTnAcynpTE5kZfg3XjevOvF8PGY5wUYCki9BI+rp+pvVPZE/DNUAQpFR2gd2nxMJ4kYv7GVb6i/DfuqJa0h8IuY4zcMuKWwbQd3Az8= diff --git a/src/node_modules/buffer/AUTHORS.md b/src/node_modules/buffer/AUTHORS.md deleted file mode 100644 index 8df343a..0000000 --- a/src/node_modules/buffer/AUTHORS.md +++ /dev/null @@ -1,44 +0,0 @@ -# Authors - -#### Ordered by first contribution. - -- Romain Beauxis (toots@rastageeks.org) -- Tobias Koppers (tobias.koppers@googlemail.com) -- Janus (ysangkok@gmail.com) -- Rainer Dreyer (rdrey1@gmail.com) -- Tõnis Tiigi (tonistiigi@gmail.com) -- James Halliday (mail@substack.net) -- Michael Williamson (mike@zwobble.org) -- elliottcable (github@elliottcable.name) -- rafael (rvalle@livelens.net) -- Andrew Kelley (superjoe30@gmail.com) -- Andreas Madsen (amwebdk@gmail.com) -- Mike Brevoort (mike.brevoort@pearson.com) -- Brian White (mscdex@mscdex.net) -- Feross Aboukhadijeh (feross@feross.org) -- Ruben Verborgh (ruben@verborgh.org) -- eliang (eliang.cs@gmail.com) -- Jesse Tane (jesse.tane@gmail.com) -- Alfonso Boza (alfonso@cloud.com) -- Mathias Buus (mathiasbuus@gmail.com) -- Devon Govett (devongovett@gmail.com) -- Daniel Cousens (github@dcousens.com) -- Joseph Dykstra (josephdykstra@gmail.com) -- Parsha Pourkhomami (parshap+git@gmail.com) -- Damjan Košir (damjan.kosir@gmail.com) -- daverayment (dave.rayment@gmail.com) -- kawanet (u-suke@kawa.net) -- Linus Unnebäck (linus@folkdatorn.se) -- Nolan Lawson (nolan.lawson@gmail.com) -- Calvin Metcalf (calvin.metcalf@gmail.com) -- Koki Takahashi (hakatasiloving@gmail.com) -- Guy Bedford (guybedford@gmail.com) -- Jan Schär (jscissr@gmail.com) -- RaulTsc (tomescu.raul@gmail.com) -- Matthieu Monsch (monsch@alum.mit.edu) -- Dan Ehrenberg (littledan@chromium.org) -- Kirill Fomichev (fanatid@ya.ru) -- Yusuke Kawasaki (u-suke@kawa.net) -- DC (dcposch@dcpos.ch) - -#### Generated by bin/update-authors.sh. diff --git a/src/node_modules/buffer/LICENSE b/src/node_modules/buffer/LICENSE deleted file mode 100644 index d6bf75d..0000000 --- a/src/node_modules/buffer/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Feross Aboukhadijeh, and other contributors. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/src/node_modules/buffer/README.md b/src/node_modules/buffer/README.md deleted file mode 100644 index d3b82f6..0000000 --- a/src/node_modules/buffer/README.md +++ /dev/null @@ -1,378 +0,0 @@ -# buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][npm-url] - -#### The buffer module from [node.js](https://nodejs.org/), for the browser. - -[![saucelabs][saucelabs-image]][saucelabs-url] - -[travis-image]: https://img.shields.io/travis/feross/buffer/master.svg -[travis-url]: https://travis-ci.org/feross/buffer -[npm-image]: https://img.shields.io/npm/v/buffer.svg -[npm-url]: https://npmjs.org/package/buffer -[downloads-image]: https://img.shields.io/npm/dm/buffer.svg -[saucelabs-image]: https://saucelabs.com/browser-matrix/buffer.svg -[saucelabs-url]: https://saucelabs.com/u/buffer - -With [browserify](http://browserify.org), simply `require('buffer')` or use the `Buffer` global and you will get this module. - -The goal is to provide an API that is 100% identical to -[node's Buffer API](https://nodejs.org/api/buffer.html). Read the -[official docs](https://nodejs.org/api/buffer.html) for the full list of properties, -instance methods, and class methods that are supported. - -## features - -- Manipulate binary data like a boss, in all browsers -- even IE6! -- Super fast. Backed by Typed Arrays (`Uint8Array`/`ArrayBuffer`, not `Object`) -- Extremely small bundle size (**5.04KB minified + gzipped**, 35.5KB with comments) -- Excellent browser support (IE 6+, Chrome 4+, Firefox 3+, Safari 5.1+, Opera 11+, iOS, etc.) -- Preserves Node API exactly, with one minor difference (see below) -- Square-bracket `buf[4]` notation works, even in old browsers like IE6! -- Does not modify any browser prototypes or put anything on `window` -- Comprehensive test suite (including all buffer tests from node.js core) - - -## install - -To use this module directly (without browserify), install it: - -```bash -npm install buffer -``` - -This module was previously called **native-buffer-browserify**, but please use **buffer** -from now on. - -A standalone bundle is available [here](https://wzrd.in/standalone/buffer), for non-browserify users. - - -## usage - -The module's API is identical to node's `Buffer` API. Read the -[official docs](https://nodejs.org/api/buffer.html) for the full list of properties, -instance methods, and class methods that are supported. - -As mentioned above, `require('buffer')` or use the `Buffer` global with -[browserify](http://browserify.org) and this module will automatically be included -in your bundle. Almost any npm module will work in the browser, even if it assumes that -the node `Buffer` API will be available. - -To depend on this module explicitly (without browserify), require it like this: - -```js -var Buffer = require('buffer/').Buffer // note: the trailing slash is important! -``` - -To require this module explicitly, use `require('buffer/')` which tells the node.js module -lookup algorithm (also used by browserify) to use the **npm module** named `buffer` -instead of the **node.js core** module named `buffer`! - - -## how does it work? - -The Buffer constructor returns instances of `Uint8Array` that have their prototype -changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of `Uint8Array`, -so the returned instances will have all the node `Buffer` methods and the -`Uint8Array` methods. Square bracket notation works as expected -- it returns a -single octet. - -The `Uint8Array` prototype remains unmodified. - - -## one minor difference - -#### In old browsers, `buf.slice()` does not modify parent buffer's memory - -If you only support modern browsers (specifically, those with typed array support), -then this issue does not affect you. If you support super old browsers, then read on. - -In node, the `slice()` method returns a new `Buffer` that shares underlying memory -with the original Buffer. When you modify one buffer, you modify the other. -[Read more.](https://nodejs.org/api/buffer.html#buffer_buf_slice_start_end) - -In browsers with typed array support, this `Buffer` implementation supports this -behavior. In browsers without typed arrays, an alternate buffer implementation is -used that is based on `Object` which has no mechanism to point separate -`Buffer`s to the same underlying slab of memory. - -You can see which browser versions lack typed array support -[here](https://github.com/feross/buffer/blob/master/index.js#L22-L48). - - -## tracking the latest node api - -This module tracks the Buffer API in the latest (unstable) version of node.js. The Buffer -API is considered **stable** in the -[node stability index](https://nodejs.org/docs/latest/api/documentation.html#documentation_stability_index), -so it is unlikely that there will ever be breaking changes. -Nonetheless, when/if the Buffer API changes in node, this module's API will change -accordingly. - -## related packages - -- [`buffer-equals`](https://www.npmjs.com/package/buffer-equals) - Node.js 0.12 buffer.equals() ponyfill -- [`buffer-reverse`](https://www.npmjs.com/package/buffer-reverse) - A lite module for reverse-operations on buffers -- [`buffer-xor`](https://www.npmjs.com/package/buffer-xor) - A simple module for bitwise-xor on buffers -- [`is-buffer`](https://www.npmjs.com/package/is-buffer) - Determine if an object is a Buffer without including the whole `Buffer` package -- [`typedarray-to-buffer`](https://www.npmjs.com/package/typedarray-to-buffer) - Convert a typed array to a Buffer without a copy - -## performance - -See perf tests in `/perf`. - -`BrowserBuffer` is the browser `buffer` module (this repo). `Uint8Array` is included as a -sanity check (since `BrowserBuffer` uses `Uint8Array` under the hood, `Uint8Array` will -always be at least a bit faster). Finally, `NodeBuffer` is the node.js buffer module, -which is included to compare against. - -NOTE: Performance has improved since these benchmarks were taken. PR welcoem to update the README. - -### Chrome 38 - -| Method | Operations | Accuracy | Sampled | Fastest | -|:-------|:-----------|:---------|:--------|:-------:| -| BrowserBuffer#bracket-notation | 11,457,464 ops/sec | ±0.86% | 66 | ✓ | -| Uint8Array#bracket-notation | 10,824,332 ops/sec | ±0.74% | 65 | | -| | | | | -| BrowserBuffer#concat | 450,532 ops/sec | ±0.76% | 68 | | -| Uint8Array#concat | 1,368,911 ops/sec | ±1.50% | 62 | ✓ | -| | | | | -| BrowserBuffer#copy(16000) | 903,001 ops/sec | ±0.96% | 67 | | -| Uint8Array#copy(16000) | 1,422,441 ops/sec | ±1.04% | 66 | ✓ | -| | | | | -| BrowserBuffer#copy(16) | 11,431,358 ops/sec | ±0.46% | 69 | | -| Uint8Array#copy(16) | 13,944,163 ops/sec | ±1.12% | 68 | ✓ | -| | | | | -| BrowserBuffer#new(16000) | 106,329 ops/sec | ±6.70% | 44 | | -| Uint8Array#new(16000) | 131,001 ops/sec | ±2.85% | 31 | ✓ | -| | | | | -| BrowserBuffer#new(16) | 1,554,491 ops/sec | ±1.60% | 65 | | -| Uint8Array#new(16) | 6,623,930 ops/sec | ±1.66% | 65 | ✓ | -| | | | | -| BrowserBuffer#readDoubleBE | 112,830 ops/sec | ±0.51% | 69 | ✓ | -| DataView#getFloat64 | 93,500 ops/sec | ±0.57% | 68 | | -| | | | | -| BrowserBuffer#readFloatBE | 146,678 ops/sec | ±0.95% | 68 | ✓ | -| DataView#getFloat32 | 99,311 ops/sec | ±0.41% | 67 | | -| | | | | -| BrowserBuffer#readUInt32LE | 843,214 ops/sec | ±0.70% | 69 | ✓ | -| DataView#getUint32 | 103,024 ops/sec | ±0.64% | 67 | | -| | | | | -| BrowserBuffer#slice | 1,013,941 ops/sec | ±0.75% | 67 | | -| Uint8Array#subarray | 1,903,928 ops/sec | ±0.53% | 67 | ✓ | -| | | | | -| BrowserBuffer#writeFloatBE | 61,387 ops/sec | ±0.90% | 67 | | -| DataView#setFloat32 | 141,249 ops/sec | ±0.40% | 66 | ✓ | - - -### Firefox 33 - -| Method | Operations | Accuracy | Sampled | Fastest | -|:-------|:-----------|:---------|:--------|:-------:| -| BrowserBuffer#bracket-notation | 20,800,421 ops/sec | ±1.84% | 60 | | -| Uint8Array#bracket-notation | 20,826,235 ops/sec | ±2.02% | 61 | ✓ | -| | | | | -| BrowserBuffer#concat | 153,076 ops/sec | ±2.32% | 61 | | -| Uint8Array#concat | 1,255,674 ops/sec | ±8.65% | 52 | ✓ | -| | | | | -| BrowserBuffer#copy(16000) | 1,105,312 ops/sec | ±1.16% | 63 | | -| Uint8Array#copy(16000) | 1,615,911 ops/sec | ±0.55% | 66 | ✓ | -| | | | | -| BrowserBuffer#copy(16) | 16,357,599 ops/sec | ±0.73% | 68 | | -| Uint8Array#copy(16) | 31,436,281 ops/sec | ±1.05% | 68 | ✓ | -| | | | | -| BrowserBuffer#new(16000) | 52,995 ops/sec | ±6.01% | 35 | | -| Uint8Array#new(16000) | 87,686 ops/sec | ±5.68% | 45 | ✓ | -| | | | | -| BrowserBuffer#new(16) | 252,031 ops/sec | ±1.61% | 66 | | -| Uint8Array#new(16) | 8,477,026 ops/sec | ±0.49% | 68 | ✓ | -| | | | | -| BrowserBuffer#readDoubleBE | 99,871 ops/sec | ±0.41% | 69 | | -| DataView#getFloat64 | 285,663 ops/sec | ±0.70% | 68 | ✓ | -| | | | | -| BrowserBuffer#readFloatBE | 115,540 ops/sec | ±0.42% | 69 | | -| DataView#getFloat32 | 288,722 ops/sec | ±0.82% | 68 | ✓ | -| | | | | -| BrowserBuffer#readUInt32LE | 633,926 ops/sec | ±1.08% | 67 | ✓ | -| DataView#getUint32 | 294,808 ops/sec | ±0.79% | 64 | | -| | | | | -| BrowserBuffer#slice | 349,425 ops/sec | ±0.46% | 69 | | -| Uint8Array#subarray | 5,965,819 ops/sec | ±0.60% | 65 | ✓ | -| | | | | -| BrowserBuffer#writeFloatBE | 59,980 ops/sec | ±0.41% | 67 | | -| DataView#setFloat32 | 317,634 ops/sec | ±0.63% | 68 | ✓ | - -### Safari 8 - -| Method | Operations | Accuracy | Sampled | Fastest | -|:-------|:-----------|:---------|:--------|:-------:| -| BrowserBuffer#bracket-notation | 10,279,729 ops/sec | ±2.25% | 56 | ✓ | -| Uint8Array#bracket-notation | 10,030,767 ops/sec | ±2.23% | 59 | | -| | | | | -| BrowserBuffer#concat | 144,138 ops/sec | ±1.38% | 65 | | -| Uint8Array#concat | 4,950,764 ops/sec | ±1.70% | 63 | ✓ | -| | | | | -| BrowserBuffer#copy(16000) | 1,058,548 ops/sec | ±1.51% | 64 | | -| Uint8Array#copy(16000) | 1,409,666 ops/sec | ±1.17% | 65 | ✓ | -| | | | | -| BrowserBuffer#copy(16) | 6,282,529 ops/sec | ±1.88% | 58 | | -| Uint8Array#copy(16) | 11,907,128 ops/sec | ±2.87% | 58 | ✓ | -| | | | | -| BrowserBuffer#new(16000) | 101,663 ops/sec | ±3.89% | 57 | | -| Uint8Array#new(16000) | 22,050,818 ops/sec | ±6.51% | 46 | ✓ | -| | | | | -| BrowserBuffer#new(16) | 176,072 ops/sec | ±2.13% | 64 | | -| Uint8Array#new(16) | 24,385,731 ops/sec | ±5.01% | 51 | ✓ | -| | | | | -| BrowserBuffer#readDoubleBE | 41,341 ops/sec | ±1.06% | 67 | | -| DataView#getFloat64 | 322,280 ops/sec | ±0.84% | 68 | ✓ | -| | | | | -| BrowserBuffer#readFloatBE | 46,141 ops/sec | ±1.06% | 65 | | -| DataView#getFloat32 | 337,025 ops/sec | ±0.43% | 69 | ✓ | -| | | | | -| BrowserBuffer#readUInt32LE | 151,551 ops/sec | ±1.02% | 66 | | -| DataView#getUint32 | 308,278 ops/sec | ±0.94% | 67 | ✓ | -| | | | | -| BrowserBuffer#slice | 197,365 ops/sec | ±0.95% | 66 | | -| Uint8Array#subarray | 9,558,024 ops/sec | ±3.08% | 58 | ✓ | -| | | | | -| BrowserBuffer#writeFloatBE | 17,518 ops/sec | ±1.03% | 63 | | -| DataView#setFloat32 | 319,751 ops/sec | ±0.48% | 68 | ✓ | - - -### Node 0.11.14 - -| Method | Operations | Accuracy | Sampled | Fastest | -|:-------|:-----------|:---------|:--------|:-------:| -| BrowserBuffer#bracket-notation | 10,489,828 ops/sec | ±3.25% | 90 | | -| Uint8Array#bracket-notation | 10,534,884 ops/sec | ±0.81% | 92 | ✓ | -| NodeBuffer#bracket-notation | 10,389,910 ops/sec | ±0.97% | 87 | | -| | | | | -| BrowserBuffer#concat | 487,830 ops/sec | ±2.58% | 88 | | -| Uint8Array#concat | 1,814,327 ops/sec | ±1.28% | 88 | ✓ | -| NodeBuffer#concat | 1,636,523 ops/sec | ±1.88% | 73 | | -| | | | | -| BrowserBuffer#copy(16000) | 1,073,665 ops/sec | ±0.77% | 90 | | -| Uint8Array#copy(16000) | 1,348,517 ops/sec | ±0.84% | 89 | ✓ | -| NodeBuffer#copy(16000) | 1,289,533 ops/sec | ±0.82% | 93 | | -| | | | | -| BrowserBuffer#copy(16) | 12,782,706 ops/sec | ±0.74% | 85 | | -| Uint8Array#copy(16) | 14,180,427 ops/sec | ±0.93% | 92 | ✓ | -| NodeBuffer#copy(16) | 11,083,134 ops/sec | ±1.06% | 89 | | -| | | | | -| BrowserBuffer#new(16000) | 141,678 ops/sec | ±3.30% | 67 | | -| Uint8Array#new(16000) | 161,491 ops/sec | ±2.96% | 60 | | -| NodeBuffer#new(16000) | 292,699 ops/sec | ±3.20% | 55 | ✓ | -| | | | | -| BrowserBuffer#new(16) | 1,655,466 ops/sec | ±2.41% | 82 | | -| Uint8Array#new(16) | 14,399,926 ops/sec | ±0.91% | 94 | ✓ | -| NodeBuffer#new(16) | 3,894,696 ops/sec | ±0.88% | 92 | | -| | | | | -| BrowserBuffer#readDoubleBE | 109,582 ops/sec | ±0.75% | 93 | ✓ | -| DataView#getFloat64 | 91,235 ops/sec | ±0.81% | 90 | | -| NodeBuffer#readDoubleBE | 88,593 ops/sec | ±0.96% | 81 | | -| | | | | -| BrowserBuffer#readFloatBE | 139,854 ops/sec | ±1.03% | 85 | ✓ | -| DataView#getFloat32 | 98,744 ops/sec | ±0.80% | 89 | | -| NodeBuffer#readFloatBE | 92,769 ops/sec | ±0.94% | 93 | | -| | | | | -| BrowserBuffer#readUInt32LE | 710,861 ops/sec | ±0.82% | 92 | | -| DataView#getUint32 | 117,893 ops/sec | ±0.84% | 91 | | -| NodeBuffer#readUInt32LE | 851,412 ops/sec | ±0.72% | 93 | ✓ | -| | | | | -| BrowserBuffer#slice | 1,673,877 ops/sec | ±0.73% | 94 | | -| Uint8Array#subarray | 6,919,243 ops/sec | ±0.67% | 90 | ✓ | -| NodeBuffer#slice | 4,617,604 ops/sec | ±0.79% | 93 | | -| | | | | -| BrowserBuffer#writeFloatBE | 66,011 ops/sec | ±0.75% | 93 | | -| DataView#setFloat32 | 127,760 ops/sec | ±0.72% | 93 | ✓ | -| NodeBuffer#writeFloatBE | 103,352 ops/sec | ±0.83% | 93 | | - -### iojs 1.8.1 - -| Method | Operations | Accuracy | Sampled | Fastest | -|:-------|:-----------|:---------|:--------|:-------:| -| BrowserBuffer#bracket-notation | 10,990,488 ops/sec | ±1.11% | 91 | | -| Uint8Array#bracket-notation | 11,268,757 ops/sec | ±0.65% | 97 | | -| NodeBuffer#bracket-notation | 11,353,260 ops/sec | ±0.83% | 94 | ✓ | -| | | | | -| BrowserBuffer#concat | 378,954 ops/sec | ±0.74% | 94 | | -| Uint8Array#concat | 1,358,288 ops/sec | ±0.97% | 87 | | -| NodeBuffer#concat | 1,934,050 ops/sec | ±1.11% | 78 | ✓ | -| | | | | -| BrowserBuffer#copy(16000) | 894,538 ops/sec | ±0.56% | 84 | | -| Uint8Array#copy(16000) | 1,442,656 ops/sec | ±0.71% | 96 | | -| NodeBuffer#copy(16000) | 1,457,898 ops/sec | ±0.53% | 92 | ✓ | -| | | | | -| BrowserBuffer#copy(16) | 12,870,457 ops/sec | ±0.67% | 95 | | -| Uint8Array#copy(16) | 16,643,989 ops/sec | ±0.61% | 93 | ✓ | -| NodeBuffer#copy(16) | 14,885,848 ops/sec | ±0.74% | 94 | | -| | | | | -| BrowserBuffer#new(16000) | 109,264 ops/sec | ±4.21% | 63 | | -| Uint8Array#new(16000) | 138,916 ops/sec | ±1.87% | 61 | | -| NodeBuffer#new(16000) | 281,449 ops/sec | ±3.58% | 51 | ✓ | -| | | | | -| BrowserBuffer#new(16) | 1,362,935 ops/sec | ±0.56% | 99 | | -| Uint8Array#new(16) | 6,193,090 ops/sec | ±0.64% | 95 | ✓ | -| NodeBuffer#new(16) | 4,745,425 ops/sec | ±1.56% | 90 | | -| | | | | -| BrowserBuffer#readDoubleBE | 118,127 ops/sec | ±0.59% | 93 | ✓ | -| DataView#getFloat64 | 107,332 ops/sec | ±0.65% | 91 | | -| NodeBuffer#readDoubleBE | 116,274 ops/sec | ±0.94% | 95 | | -| | | | | -| BrowserBuffer#readFloatBE | 150,326 ops/sec | ±0.58% | 95 | ✓ | -| DataView#getFloat32 | 110,541 ops/sec | ±0.57% | 98 | | -| NodeBuffer#readFloatBE | 121,599 ops/sec | ±0.60% | 87 | | -| | | | | -| BrowserBuffer#readUInt32LE | 814,147 ops/sec | ±0.62% | 93 | | -| DataView#getUint32 | 137,592 ops/sec | ±0.64% | 90 | | -| NodeBuffer#readUInt32LE | 931,650 ops/sec | ±0.71% | 96 | ✓ | -| | | | | -| BrowserBuffer#slice | 878,590 ops/sec | ±0.68% | 93 | | -| Uint8Array#subarray | 2,843,308 ops/sec | ±1.02% | 90 | | -| NodeBuffer#slice | 4,998,316 ops/sec | ±0.68% | 90 | ✓ | -| | | | | -| BrowserBuffer#writeFloatBE | 65,927 ops/sec | ±0.74% | 93 | | -| DataView#setFloat32 | 139,823 ops/sec | ±0.97% | 89 | ✓ | -| NodeBuffer#writeFloatBE | 135,763 ops/sec | ±0.65% | 96 | | -| | | | | - -## Testing the project - -First, install the project: - - npm install - -Then, to run tests in Node.js, run: - - npm run test-node - -To test locally in a browser, you can run: - - npm run test-browser-local - -This will print out a URL that you can then open in a browser to run the tests, using [Zuul](https://github.com/defunctzombie/zuul). - -To run automated browser tests using Saucelabs, ensure that your `SAUCE_USERNAME` and `SAUCE_ACCESS_KEY` environment variables are set, then run: - - npm test - -This is what's run in Travis, to check against various browsers. The list of browsers is kept in the `.zuul.yml` file. - -## JavaScript Standard Style - -This module uses [JavaScript Standard Style](https://github.com/feross/standard). - -[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) - -To test that the code conforms to the style, `npm install` and run: - - ./node_modules/.bin/standard - -## credit - -This was originally forked from [buffer-browserify](https://github.com/toots/buffer-browserify). - - -## license - -MIT. Copyright (C) [Feross Aboukhadijeh](http://feross.org), and other contributors. Originally forked from an MIT-licensed module by Romain Beauxis. diff --git a/src/node_modules/buffer/bin/download-node-tests.js b/src/node_modules/buffer/bin/download-node-tests.js deleted file mode 100755 index 97efde0..0000000 --- a/src/node_modules/buffer/bin/download-node-tests.js +++ /dev/null @@ -1,106 +0,0 @@ -#!/usr/bin/env node - -var concat = require('concat-stream') -var cp = require('child_process') -var fs = require('fs') -var hyperquest = require('hyperquest') -var path = require('path') -var split = require('split') -var through = require('through2') - -var url = 'https://api.github.com/repos/nodejs/node/contents' -var dirs = [ - '/test/parallel', - '/test/pummel' -] - -cp.execSync('rm -rf node/*.js', { cwd: path.join(__dirname, '../test') }) - -var httpOpts = { - headers: { - 'User-Agent': null - // auth if github rate-limits you... - // 'Authorization': 'Basic ' + Buffer('username:password').toString('base64'), - } -} - -dirs.forEach(function (dir) { - var req = hyperquest(url + dir, httpOpts) - req.pipe(concat(function (data) { - if (req.response.statusCode !== 200) { - throw new Error(url + dir + ': ' + data.toString()) - } - downloadBufferTests(dir, JSON.parse(data)) - })) -}) - -function downloadBufferTests (dir, files) { - files.forEach(function (file) { - if (!/test-buffer.*/.test(file.name)) return - - if (file.name === 'test-buffer-fakes.js') { - // These teses only apply to node, where they're calling into C++ and need to - // ensure the prototype can't be faked, or else there will be a segfault. - return - } - - console.log(file.download_url) - - var out = path.join(__dirname, '../test/node', file.name) - hyperquest(file.download_url, httpOpts) - .pipe(split()) - .pipe(testfixer(file.name)) - .pipe(fs.createWriteStream(out)) - .on('finish', function () { - console.log('wrote ' + file.name) - }) - }) -} - -function testfixer (filename) { - var firstline = true - - return through(function (line, enc, cb) { - line = line.toString() - - if (firstline) { - // require buffer explicitly - var preamble = 'var Buffer = require(\'../../\').Buffer;\n' - if (/use strict/.test(line)) line += '\n' + preamble - else line + preamble + '\n' + line - firstline = false - } - - // use `var` instead of `const`/`let` - line = line.replace(/(const|let) /g, 'var ') - - // make `var common = require('common')` work - line = line.replace(/(var common = require.*)/g, 'var common = { skip: function () {} };') - - // make `require('../common')` work - line = line.replace(/require\('\.\.\/common'\);/g, '') - - // require browser buffer - line = line.replace(/(.*)require\('buffer'\)(.*)/g, '$1require(\'../../\')$2') - - // comment out console logs - line = line.replace(/(.*console\..*)/g, '// $1') - - // we can't reliably test typed array max-sizes in the browser - if (filename === 'test-buffer-big.js') { - line = line.replace(/(.*new Int8Array.*RangeError.*)/, '// $1') - line = line.replace(/(.*new ArrayBuffer.*RangeError.*)/, '// $1') - line = line.replace(/(.*new Float64Array.*RangeError.*)/, '// $1') - } - - // https://github.com/nodejs/node/blob/v0.12/test/parallel/test-buffer.js#L1138 - // unfortunately we can't run this because crypto-browserify doesn't work in old - // versions of ie - if (filename === 'test-buffer.js') { - line = line.replace(/^(\s*)(var crypto = require.*)/, '$1// $2') - line = line.replace(/(crypto.createHash.*\))/, '1 /*$1*/') - } - - cb(null, line + '\n') - }) -} diff --git a/src/node_modules/buffer/bin/test.js b/src/node_modules/buffer/bin/test.js deleted file mode 100644 index 5a86f1b..0000000 --- a/src/node_modules/buffer/bin/test.js +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env node - -var cp = require('child_process') -var fs = require('fs') -var path = require('path') - -var shouldRunBrowserTests = !process.env.TRAVIS_PULL_REQUEST || - process.env.TRAVIS_PULL_REQUEST === 'false' - -var node = cp.spawn('npm', ['run', 'test-node'], { stdio: 'inherit' }) -node.on('close', function (code) { - if (code === 0 && shouldRunBrowserTests) { - runBrowserTests() - } else { - process.exit(code) - } -}) - -function runBrowserTests () { - var zuulYmlPath = path.join(__dirname, '..', '.zuul.yml') - - writeES5ZuulYml() - cp.spawn('npm', ['run', 'test-browser-es5'], { stdio: 'inherit' }) - .on('close', function (code) { - if (code !== 0) process.exit(code) - writeES6ZuulYml() - cp.spawn('npm', ['run', 'test-browser-es6'], { stdio: 'inherit' }) - .on('close', function (code) { - process.exit(code) - }) - }) - - function writeES5ZuulYml () { - fs.writeFileSync(zuulYmlPath, fs.readFileSync(path.join(__dirname, 'zuul-es5.yml'))) - } - - function writeES6ZuulYml () { - fs.writeFileSync(zuulYmlPath, fs.readFileSync(path.join(__dirname, 'zuul-es6.yml'))) - } -} - diff --git a/src/node_modules/buffer/bin/update-authors.sh b/src/node_modules/buffer/bin/update-authors.sh deleted file mode 100755 index efcbc78..0000000 --- a/src/node_modules/buffer/bin/update-authors.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# Update AUTHORS.md based on git history. - -git log --reverse --format='%aN (%aE)' | perl -we ' -BEGIN { - %seen = (), @authors = (); -} -while (<>) { - next if $seen{$_}; - next if /(support\@greenkeeper.io)/; - next if /(dcousens\@users.noreply.github.com)/; - next if /(cmetcalf\@appgeo.com)/; - $seen{$_} = push @authors, "- ", $_; -} -END { - print "# Authors\n\n"; - print "#### Ordered by first contribution.\n\n"; - print @authors, "\n"; - print "#### Generated by bin/update-authors.sh.\n"; -} -' > AUTHORS.md diff --git a/src/node_modules/buffer/bin/zuul-es5.yml b/src/node_modules/buffer/bin/zuul-es5.yml deleted file mode 100644 index 3673bcc..0000000 --- a/src/node_modules/buffer/bin/zuul-es5.yml +++ /dev/null @@ -1,14 +0,0 @@ -ui: tape -scripts: - - ./test/_polyfill.js -browsers: - - name: safari - version: latest - - name: ie - version: 8..latest - - name: microsoftedge - version: 13..latest - - name: android - version: 4.4..latest - - name: iphone - version: latest diff --git a/src/node_modules/buffer/bin/zuul-es6.yml b/src/node_modules/buffer/bin/zuul-es6.yml deleted file mode 100644 index 8054ad6..0000000 --- a/src/node_modules/buffer/bin/zuul-es6.yml +++ /dev/null @@ -1,6 +0,0 @@ -ui: tape -browsers: - - name: chrome - version: '-1..latest' - - name: firefox - version: '-1..latest' diff --git a/src/node_modules/buffer/index.js b/src/node_modules/buffer/index.js deleted file mode 100644 index 0fcd80a..0000000 --- a/src/node_modules/buffer/index.js +++ /dev/null @@ -1,1789 +0,0 @@ -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ -/* eslint-disable no-proto */ - -'use strict' - -var base64 = require('base64-js') -var ieee754 = require('ieee754') -var isArray = require('isarray') - -exports.Buffer = Buffer -exports.SlowBuffer = SlowBuffer -exports.INSPECT_MAX_BYTES = 50 - -/** - * If `Buffer.TYPED_ARRAY_SUPPORT`: - * === true Use Uint8Array implementation (fastest) - * === false Use Object implementation (most compatible, even IE6) - * - * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, - * Opera 11.6+, iOS 4.2+. - * - * Due to various browser bugs, sometimes the Object implementation will be used even - * when the browser supports typed arrays. - * - * Note: - * - * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances, - * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438. - * - * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function. - * - * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of - * incorrect length in some situations. - - * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they - * get the Object implementation, which is slower but behaves correctly. - */ -Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined - ? global.TYPED_ARRAY_SUPPORT - : typedArraySupport() - -/* - * Export kMaxLength after typed array support is determined. - */ -exports.kMaxLength = kMaxLength() - -function typedArraySupport () { - try { - var arr = new Uint8Array(1) - arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }} - return arr.foo() === 42 && // typed array instances can be augmented - typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray` - arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray` - } catch (e) { - return false - } -} - -function kMaxLength () { - return Buffer.TYPED_ARRAY_SUPPORT - ? 0x7fffffff - : 0x3fffffff -} - -function createBuffer (that, length) { - if (kMaxLength() < length) { - throw new RangeError('Invalid typed array length') - } - if (Buffer.TYPED_ARRAY_SUPPORT) { - // Return an augmented `Uint8Array` instance, for best performance - that = new Uint8Array(length) - that.__proto__ = Buffer.prototype - } else { - // Fallback: Return an object instance of the Buffer class - if (that === null) { - that = new Buffer(length) - } - that.length = length - } - - return that -} - -/** - * The Buffer constructor returns instances of `Uint8Array` that have their - * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of - * `Uint8Array`, so the returned instances will have all the node `Buffer` methods - * and the `Uint8Array` methods. Square bracket notation works as expected -- it - * returns a single octet. - * - * The `Uint8Array` prototype remains unmodified. - */ - -function Buffer (arg, encodingOrOffset, length) { - if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) { - return new Buffer(arg, encodingOrOffset, length) - } - - // Common case. - if (typeof arg === 'number') { - if (typeof encodingOrOffset === 'string') { - throw new Error( - 'If encoding is specified then the first argument must be a string' - ) - } - return allocUnsafe(this, arg) - } - return from(this, arg, encodingOrOffset, length) -} - -Buffer.poolSize = 8192 // not used by this implementation - -// TODO: Legacy, not needed anymore. Remove in next major version. -Buffer._augment = function (arr) { - arr.__proto__ = Buffer.prototype - return arr -} - -function from (that, value, encodingOrOffset, length) { - if (typeof value === 'number') { - throw new TypeError('"value" argument must not be a number') - } - - if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { - return fromArrayBuffer(that, value, encodingOrOffset, length) - } - - if (typeof value === 'string') { - return fromString(that, value, encodingOrOffset) - } - - return fromObject(that, value) -} - -/** - * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError - * if value is a number. - * Buffer.from(str[, encoding]) - * Buffer.from(array) - * Buffer.from(buffer) - * Buffer.from(arrayBuffer[, byteOffset[, length]]) - **/ -Buffer.from = function (value, encodingOrOffset, length) { - return from(null, value, encodingOrOffset, length) -} - -if (Buffer.TYPED_ARRAY_SUPPORT) { - Buffer.prototype.__proto__ = Uint8Array.prototype - Buffer.__proto__ = Uint8Array - if (typeof Symbol !== 'undefined' && Symbol.species && - Buffer[Symbol.species] === Buffer) { - // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97 - Object.defineProperty(Buffer, Symbol.species, { - value: null, - configurable: true - }) - } -} - -function assertSize (size) { - if (typeof size !== 'number') { - throw new TypeError('"size" argument must be a number') - } else if (size < 0) { - throw new RangeError('"size" argument must not be negative') - } -} - -function alloc (that, size, fill, encoding) { - assertSize(size) - if (size <= 0) { - return createBuffer(that, size) - } - if (fill !== undefined) { - // Only pay attention to encoding if it's a string. This - // prevents accidentally sending in a number that would - // be interpretted as a start offset. - return typeof encoding === 'string' - ? createBuffer(that, size).fill(fill, encoding) - : createBuffer(that, size).fill(fill) - } - return createBuffer(that, size) -} - -/** - * Creates a new filled Buffer instance. - * alloc(size[, fill[, encoding]]) - **/ -Buffer.alloc = function (size, fill, encoding) { - return alloc(null, size, fill, encoding) -} - -function allocUnsafe (that, size) { - assertSize(size) - that = createBuffer(that, size < 0 ? 0 : checked(size) | 0) - if (!Buffer.TYPED_ARRAY_SUPPORT) { - for (var i = 0; i < size; ++i) { - that[i] = 0 - } - } - return that -} - -/** - * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. - * */ -Buffer.allocUnsafe = function (size) { - return allocUnsafe(null, size) -} -/** - * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. - */ -Buffer.allocUnsafeSlow = function (size) { - return allocUnsafe(null, size) -} - -function fromString (that, string, encoding) { - if (typeof encoding !== 'string' || encoding === '') { - encoding = 'utf8' - } - - if (!Buffer.isEncoding(encoding)) { - throw new TypeError('"encoding" must be a valid string encoding') - } - - var length = byteLength(string, encoding) | 0 - that = createBuffer(that, length) - - var actual = that.write(string, encoding) - - if (actual !== length) { - // Writing a hex string, for example, that contains invalid characters will - // cause everything after the first invalid character to be ignored. (e.g. - // 'abxxcd' will be treated as 'ab') - that = that.slice(0, actual) - } - - return that -} - -function fromArrayLike (that, array) { - var length = array.length < 0 ? 0 : checked(array.length) | 0 - that = createBuffer(that, length) - for (var i = 0; i < length; i += 1) { - that[i] = array[i] & 255 - } - return that -} - -function fromArrayBuffer (that, array, byteOffset, length) { - array.byteLength // this throws if `array` is not a valid ArrayBuffer - - if (byteOffset < 0 || array.byteLength < byteOffset) { - throw new RangeError('\'offset\' is out of bounds') - } - - if (array.byteLength < byteOffset + (length || 0)) { - throw new RangeError('\'length\' is out of bounds') - } - - if (byteOffset === undefined && length === undefined) { - array = new Uint8Array(array) - } else if (length === undefined) { - array = new Uint8Array(array, byteOffset) - } else { - array = new Uint8Array(array, byteOffset, length) - } - - if (Buffer.TYPED_ARRAY_SUPPORT) { - // Return an augmented `Uint8Array` instance, for best performance - that = array - that.__proto__ = Buffer.prototype - } else { - // Fallback: Return an object instance of the Buffer class - that = fromArrayLike(that, array) - } - return that -} - -function fromObject (that, obj) { - if (Buffer.isBuffer(obj)) { - var len = checked(obj.length) | 0 - that = createBuffer(that, len) - - if (that.length === 0) { - return that - } - - obj.copy(that, 0, 0, len) - return that - } - - if (obj) { - if ((typeof ArrayBuffer !== 'undefined' && - obj.buffer instanceof ArrayBuffer) || 'length' in obj) { - if (typeof obj.length !== 'number' || isnan(obj.length)) { - return createBuffer(that, 0) - } - return fromArrayLike(that, obj) - } - - if (obj.type === 'Buffer' && isArray(obj.data)) { - return fromArrayLike(that, obj.data) - } - } - - throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.') -} - -function checked (length) { - // Note: cannot use `length < kMaxLength()` here because that fails when - // length is NaN (which is otherwise coerced to zero.) - if (length >= kMaxLength()) { - throw new RangeError('Attempt to allocate Buffer larger than maximum ' + - 'size: 0x' + kMaxLength().toString(16) + ' bytes') - } - return length | 0 -} - -function SlowBuffer (length) { - if (+length != length) { // eslint-disable-line eqeqeq - length = 0 - } - return Buffer.alloc(+length) -} - -Buffer.isBuffer = function isBuffer (b) { - return !!(b != null && b._isBuffer) -} - -Buffer.compare = function compare (a, b) { - if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) { - throw new TypeError('Arguments must be Buffers') - } - - if (a === b) return 0 - - var x = a.length - var y = b.length - - for (var i = 0, len = Math.min(x, y); i < len; ++i) { - if (a[i] !== b[i]) { - x = a[i] - y = b[i] - break - } - } - - if (x < y) return -1 - if (y < x) return 1 - return 0 -} - -Buffer.isEncoding = function isEncoding (encoding) { - switch (String(encoding).toLowerCase()) { - case 'hex': - case 'utf8': - case 'utf-8': - case 'ascii': - case 'latin1': - case 'binary': - case 'base64': - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return true - default: - return false - } -} - -Buffer.concat = function concat (list, length) { - if (!isArray(list)) { - throw new TypeError('"list" argument must be an Array of Buffers') - } - - if (list.length === 0) { - return Buffer.alloc(0) - } - - var i - if (length === undefined) { - length = 0 - for (i = 0; i < list.length; ++i) { - length += list[i].length - } - } - - var buffer = Buffer.allocUnsafe(length) - var pos = 0 - for (i = 0; i < list.length; ++i) { - var buf = list[i] - if (!Buffer.isBuffer(buf)) { - throw new TypeError('"list" argument must be an Array of Buffers') - } - buf.copy(buffer, pos) - pos += buf.length - } - return buffer -} - -function byteLength (string, encoding) { - if (Buffer.isBuffer(string)) { - return string.length - } - if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && - (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { - return string.byteLength - } - if (typeof string !== 'string') { - string = '' + string - } - - var len = string.length - if (len === 0) return 0 - - // Use a for loop to avoid recursion - var loweredCase = false - for (;;) { - switch (encoding) { - case 'ascii': - case 'latin1': - case 'binary': - return len - case 'utf8': - case 'utf-8': - case undefined: - return utf8ToBytes(string).length - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return len * 2 - case 'hex': - return len >>> 1 - case 'base64': - return base64ToBytes(string).length - default: - if (loweredCase) return utf8ToBytes(string).length // assume utf8 - encoding = ('' + encoding).toLowerCase() - loweredCase = true - } - } -} -Buffer.byteLength = byteLength - -function slowToString (encoding, start, end) { - var loweredCase = false - - // No need to verify that "this.length <= MAX_UINT32" since it's a read-only - // property of a typed array. - - // This behaves neither like String nor Uint8Array in that we set start/end - // to their upper/lower bounds if the value passed is out of range. - // undefined is handled specially as per ECMA-262 6th Edition, - // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. - if (start === undefined || start < 0) { - start = 0 - } - // Return early if start > this.length. Done here to prevent potential uint32 - // coercion fail below. - if (start > this.length) { - return '' - } - - if (end === undefined || end > this.length) { - end = this.length - } - - if (end <= 0) { - return '' - } - - // Force coersion to uint32. This will also coerce falsey/NaN values to 0. - end >>>= 0 - start >>>= 0 - - if (end <= start) { - return '' - } - - if (!encoding) encoding = 'utf8' - - while (true) { - switch (encoding) { - case 'hex': - return hexSlice(this, start, end) - - case 'utf8': - case 'utf-8': - return utf8Slice(this, start, end) - - case 'ascii': - return asciiSlice(this, start, end) - - case 'latin1': - case 'binary': - return latin1Slice(this, start, end) - - case 'base64': - return base64Slice(this, start, end) - - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return utf16leSlice(this, start, end) - - default: - if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) - encoding = (encoding + '').toLowerCase() - loweredCase = true - } - } -} - -// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect -// Buffer instances. -Buffer.prototype._isBuffer = true - -function swap (b, n, m) { - var i = b[n] - b[n] = b[m] - b[m] = i -} - -Buffer.prototype.swap16 = function swap16 () { - var len = this.length - if (len % 2 !== 0) { - throw new RangeError('Buffer size must be a multiple of 16-bits') - } - for (var i = 0; i < len; i += 2) { - swap(this, i, i + 1) - } - return this -} - -Buffer.prototype.swap32 = function swap32 () { - var len = this.length - if (len % 4 !== 0) { - throw new RangeError('Buffer size must be a multiple of 32-bits') - } - for (var i = 0; i < len; i += 4) { - swap(this, i, i + 3) - swap(this, i + 1, i + 2) - } - return this -} - -Buffer.prototype.swap64 = function swap64 () { - var len = this.length - if (len % 8 !== 0) { - throw new RangeError('Buffer size must be a multiple of 64-bits') - } - for (var i = 0; i < len; i += 8) { - swap(this, i, i + 7) - swap(this, i + 1, i + 6) - swap(this, i + 2, i + 5) - swap(this, i + 3, i + 4) - } - return this -} - -Buffer.prototype.toString = function toString () { - var length = this.length | 0 - if (length === 0) return '' - if (arguments.length === 0) return utf8Slice(this, 0, length) - return slowToString.apply(this, arguments) -} - -Buffer.prototype.equals = function equals (b) { - if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') - if (this === b) return true - return Buffer.compare(this, b) === 0 -} - -Buffer.prototype.inspect = function inspect () { - var str = '' - var max = exports.INSPECT_MAX_BYTES - if (this.length > 0) { - str = this.toString('hex', 0, max).match(/.{2}/g).join(' ') - if (this.length > max) str += ' ... ' - } - return '' -} - -Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) { - if (!Buffer.isBuffer(target)) { - throw new TypeError('Argument must be a Buffer') - } - - if (start === undefined) { - start = 0 - } - if (end === undefined) { - end = target ? target.length : 0 - } - if (thisStart === undefined) { - thisStart = 0 - } - if (thisEnd === undefined) { - thisEnd = this.length - } - - if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { - throw new RangeError('out of range index') - } - - if (thisStart >= thisEnd && start >= end) { - return 0 - } - if (thisStart >= thisEnd) { - return -1 - } - if (start >= end) { - return 1 - } - - start >>>= 0 - end >>>= 0 - thisStart >>>= 0 - thisEnd >>>= 0 - - if (this === target) return 0 - - var x = thisEnd - thisStart - var y = end - start - var len = Math.min(x, y) - - var thisCopy = this.slice(thisStart, thisEnd) - var targetCopy = target.slice(start, end) - - for (var i = 0; i < len; ++i) { - if (thisCopy[i] !== targetCopy[i]) { - x = thisCopy[i] - y = targetCopy[i] - break - } - } - - if (x < y) return -1 - if (y < x) return 1 - return 0 -} - -// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, -// OR the last index of `val` in `buffer` at offset <= `byteOffset`. -// -// Arguments: -// - buffer - a Buffer to search -// - val - a string, Buffer, or number -// - byteOffset - an index into `buffer`; will be clamped to an int32 -// - encoding - an optional encoding, relevant is val is a string -// - dir - true for indexOf, false for lastIndexOf -function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) { - // Empty buffer means no match - if (buffer.length === 0) return -1 - - // Normalize byteOffset - if (typeof byteOffset === 'string') { - encoding = byteOffset - byteOffset = 0 - } else if (byteOffset > 0x7fffffff) { - byteOffset = 0x7fffffff - } else if (byteOffset < -0x80000000) { - byteOffset = -0x80000000 - } - byteOffset = +byteOffset // Coerce to Number. - if (isNaN(byteOffset)) { - // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer - byteOffset = dir ? 0 : (buffer.length - 1) - } - - // Normalize byteOffset: negative offsets start from the end of the buffer - if (byteOffset < 0) byteOffset = buffer.length + byteOffset - if (byteOffset >= buffer.length) { - if (dir) return -1 - else byteOffset = buffer.length - 1 - } else if (byteOffset < 0) { - if (dir) byteOffset = 0 - else return -1 - } - - // Normalize val - if (typeof val === 'string') { - val = Buffer.from(val, encoding) - } - - // Finally, search either indexOf (if dir is true) or lastIndexOf - if (Buffer.isBuffer(val)) { - // Special case: looking for empty string/buffer always fails - if (val.length === 0) { - return -1 - } - return arrayIndexOf(buffer, val, byteOffset, encoding, dir) - } else if (typeof val === 'number') { - val = val & 0xFF // Search for a byte value [0-255] - if (Buffer.TYPED_ARRAY_SUPPORT && - typeof Uint8Array.prototype.indexOf === 'function') { - if (dir) { - return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset) - } else { - return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset) - } - } - return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir) - } - - throw new TypeError('val must be string, number or Buffer') -} - -function arrayIndexOf (arr, val, byteOffset, encoding, dir) { - var indexSize = 1 - var arrLength = arr.length - var valLength = val.length - - if (encoding !== undefined) { - encoding = String(encoding).toLowerCase() - if (encoding === 'ucs2' || encoding === 'ucs-2' || - encoding === 'utf16le' || encoding === 'utf-16le') { - if (arr.length < 2 || val.length < 2) { - return -1 - } - indexSize = 2 - arrLength /= 2 - valLength /= 2 - byteOffset /= 2 - } - } - - function read (buf, i) { - if (indexSize === 1) { - return buf[i] - } else { - return buf.readUInt16BE(i * indexSize) - } - } - - var i - if (dir) { - var foundIndex = -1 - for (i = byteOffset; i < arrLength; i++) { - if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) { - if (foundIndex === -1) foundIndex = i - if (i - foundIndex + 1 === valLength) return foundIndex * indexSize - } else { - if (foundIndex !== -1) i -= i - foundIndex - foundIndex = -1 - } - } - } else { - if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength - for (i = byteOffset; i >= 0; i--) { - var found = true - for (var j = 0; j < valLength; j++) { - if (read(arr, i + j) !== read(val, j)) { - found = false - break - } - } - if (found) return i - } - } - - return -1 -} - -Buffer.prototype.includes = function includes (val, byteOffset, encoding) { - return this.indexOf(val, byteOffset, encoding) !== -1 -} - -Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) { - return bidirectionalIndexOf(this, val, byteOffset, encoding, true) -} - -Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) { - return bidirectionalIndexOf(this, val, byteOffset, encoding, false) -} - -function hexWrite (buf, string, offset, length) { - offset = Number(offset) || 0 - var remaining = buf.length - offset - if (!length) { - length = remaining - } else { - length = Number(length) - if (length > remaining) { - length = remaining - } - } - - // must be an even number of digits - var strLen = string.length - if (strLen % 2 !== 0) throw new TypeError('Invalid hex string') - - if (length > strLen / 2) { - length = strLen / 2 - } - for (var i = 0; i < length; ++i) { - var parsed = parseInt(string.substr(i * 2, 2), 16) - if (isNaN(parsed)) return i - buf[offset + i] = parsed - } - return i -} - -function utf8Write (buf, string, offset, length) { - return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length) -} - -function asciiWrite (buf, string, offset, length) { - return blitBuffer(asciiToBytes(string), buf, offset, length) -} - -function latin1Write (buf, string, offset, length) { - return asciiWrite(buf, string, offset, length) -} - -function base64Write (buf, string, offset, length) { - return blitBuffer(base64ToBytes(string), buf, offset, length) -} - -function ucs2Write (buf, string, offset, length) { - return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length) -} - -Buffer.prototype.write = function write (string, offset, length, encoding) { - // Buffer#write(string) - if (offset === undefined) { - encoding = 'utf8' - length = this.length - offset = 0 - // Buffer#write(string, encoding) - } else if (length === undefined && typeof offset === 'string') { - encoding = offset - length = this.length - offset = 0 - // Buffer#write(string, offset[, length][, encoding]) - } else if (isFinite(offset)) { - offset = offset | 0 - if (isFinite(length)) { - length = length | 0 - if (encoding === undefined) encoding = 'utf8' - } else { - encoding = length - length = undefined - } - // legacy write(string, encoding, offset, length) - remove in v0.13 - } else { - throw new Error( - 'Buffer.write(string, encoding, offset[, length]) is no longer supported' - ) - } - - var remaining = this.length - offset - if (length === undefined || length > remaining) length = remaining - - if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) { - throw new RangeError('Attempt to write outside buffer bounds') - } - - if (!encoding) encoding = 'utf8' - - var loweredCase = false - for (;;) { - switch (encoding) { - case 'hex': - return hexWrite(this, string, offset, length) - - case 'utf8': - case 'utf-8': - return utf8Write(this, string, offset, length) - - case 'ascii': - return asciiWrite(this, string, offset, length) - - case 'latin1': - case 'binary': - return latin1Write(this, string, offset, length) - - case 'base64': - // Warning: maxLength not taken into account in base64Write - return base64Write(this, string, offset, length) - - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return ucs2Write(this, string, offset, length) - - default: - if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) - encoding = ('' + encoding).toLowerCase() - loweredCase = true - } - } -} - -Buffer.prototype.toJSON = function toJSON () { - return { - type: 'Buffer', - data: Array.prototype.slice.call(this._arr || this, 0) - } -} - -function base64Slice (buf, start, end) { - if (start === 0 && end === buf.length) { - return base64.fromByteArray(buf) - } else { - return base64.fromByteArray(buf.slice(start, end)) - } -} - -function utf8Slice (buf, start, end) { - end = Math.min(buf.length, end) - var res = [] - - var i = start - while (i < end) { - var firstByte = buf[i] - var codePoint = null - var bytesPerSequence = (firstByte > 0xEF) ? 4 - : (firstByte > 0xDF) ? 3 - : (firstByte > 0xBF) ? 2 - : 1 - - if (i + bytesPerSequence <= end) { - var secondByte, thirdByte, fourthByte, tempCodePoint - - switch (bytesPerSequence) { - case 1: - if (firstByte < 0x80) { - codePoint = firstByte - } - break - case 2: - secondByte = buf[i + 1] - if ((secondByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F) - if (tempCodePoint > 0x7F) { - codePoint = tempCodePoint - } - } - break - case 3: - secondByte = buf[i + 1] - thirdByte = buf[i + 2] - if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F) - if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { - codePoint = tempCodePoint - } - } - break - case 4: - secondByte = buf[i + 1] - thirdByte = buf[i + 2] - fourthByte = buf[i + 3] - if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F) - if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { - codePoint = tempCodePoint - } - } - } - } - - if (codePoint === null) { - // we did not generate a valid codePoint so insert a - // replacement char (U+FFFD) and advance only 1 byte - codePoint = 0xFFFD - bytesPerSequence = 1 - } else if (codePoint > 0xFFFF) { - // encode to utf16 (surrogate pair dance) - codePoint -= 0x10000 - res.push(codePoint >>> 10 & 0x3FF | 0xD800) - codePoint = 0xDC00 | codePoint & 0x3FF - } - - res.push(codePoint) - i += bytesPerSequence - } - - return decodeCodePointsArray(res) -} - -// Based on http://stackoverflow.com/a/22747272/680742, the browser with -// the lowest limit is Chrome, with 0x10000 args. -// We go 1 magnitude less, for safety -var MAX_ARGUMENTS_LENGTH = 0x1000 - -function decodeCodePointsArray (codePoints) { - var len = codePoints.length - if (len <= MAX_ARGUMENTS_LENGTH) { - return String.fromCharCode.apply(String, codePoints) // avoid extra slice() - } - - // Decode in chunks to avoid "call stack size exceeded". - var res = '' - var i = 0 - while (i < len) { - res += String.fromCharCode.apply( - String, - codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH) - ) - } - return res -} - -function asciiSlice (buf, start, end) { - var ret = '' - end = Math.min(buf.length, end) - - for (var i = start; i < end; ++i) { - ret += String.fromCharCode(buf[i] & 0x7F) - } - return ret -} - -function latin1Slice (buf, start, end) { - var ret = '' - end = Math.min(buf.length, end) - - for (var i = start; i < end; ++i) { - ret += String.fromCharCode(buf[i]) - } - return ret -} - -function hexSlice (buf, start, end) { - var len = buf.length - - if (!start || start < 0) start = 0 - if (!end || end < 0 || end > len) end = len - - var out = '' - for (var i = start; i < end; ++i) { - out += toHex(buf[i]) - } - return out -} - -function utf16leSlice (buf, start, end) { - var bytes = buf.slice(start, end) - var res = '' - for (var i = 0; i < bytes.length; i += 2) { - res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256) - } - return res -} - -Buffer.prototype.slice = function slice (start, end) { - var len = this.length - start = ~~start - end = end === undefined ? len : ~~end - - if (start < 0) { - start += len - if (start < 0) start = 0 - } else if (start > len) { - start = len - } - - if (end < 0) { - end += len - if (end < 0) end = 0 - } else if (end > len) { - end = len - } - - if (end < start) end = start - - var newBuf - if (Buffer.TYPED_ARRAY_SUPPORT) { - newBuf = this.subarray(start, end) - newBuf.__proto__ = Buffer.prototype - } else { - var sliceLen = end - start - newBuf = new Buffer(sliceLen, undefined) - for (var i = 0; i < sliceLen; ++i) { - newBuf[i] = this[i + start] - } - } - - return newBuf -} - -/* - * Need to make sure that buffer isn't trying to write out of bounds. - */ -function checkOffset (offset, ext, length) { - if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint') - if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') -} - -Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var val = this[offset] - var mul = 1 - var i = 0 - while (++i < byteLength && (mul *= 0x100)) { - val += this[offset + i] * mul - } - - return val -} - -Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) { - checkOffset(offset, byteLength, this.length) - } - - var val = this[offset + --byteLength] - var mul = 1 - while (byteLength > 0 && (mul *= 0x100)) { - val += this[offset + --byteLength] * mul - } - - return val -} - -Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) { - if (!noAssert) checkOffset(offset, 1, this.length) - return this[offset] -} - -Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - return this[offset] | (this[offset + 1] << 8) -} - -Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - return (this[offset] << 8) | this[offset + 1] -} - -Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return ((this[offset]) | - (this[offset + 1] << 8) | - (this[offset + 2] << 16)) + - (this[offset + 3] * 0x1000000) -} - -Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset] * 0x1000000) + - ((this[offset + 1] << 16) | - (this[offset + 2] << 8) | - this[offset + 3]) -} - -Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var val = this[offset] - var mul = 1 - var i = 0 - while (++i < byteLength && (mul *= 0x100)) { - val += this[offset + i] * mul - } - mul *= 0x80 - - if (val >= mul) val -= Math.pow(2, 8 * byteLength) - - return val -} - -Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var i = byteLength - var mul = 1 - var val = this[offset + --i] - while (i > 0 && (mul *= 0x100)) { - val += this[offset + --i] * mul - } - mul *= 0x80 - - if (val >= mul) val -= Math.pow(2, 8 * byteLength) - - return val -} - -Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) { - if (!noAssert) checkOffset(offset, 1, this.length) - if (!(this[offset] & 0x80)) return (this[offset]) - return ((0xff - this[offset] + 1) * -1) -} - -Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - var val = this[offset] | (this[offset + 1] << 8) - return (val & 0x8000) ? val | 0xFFFF0000 : val -} - -Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - var val = this[offset + 1] | (this[offset] << 8) - return (val & 0x8000) ? val | 0xFFFF0000 : val -} - -Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset]) | - (this[offset + 1] << 8) | - (this[offset + 2] << 16) | - (this[offset + 3] << 24) -} - -Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset] << 24) | - (this[offset + 1] << 16) | - (this[offset + 2] << 8) | - (this[offset + 3]) -} - -Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - return ieee754.read(this, offset, true, 23, 4) -} - -Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - return ieee754.read(this, offset, false, 23, 4) -} - -Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 8, this.length) - return ieee754.read(this, offset, true, 52, 8) -} - -Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 8, this.length) - return ieee754.read(this, offset, false, 52, 8) -} - -function checkInt (buf, value, offset, ext, max, min) { - if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') - if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') - if (offset + ext > buf.length) throw new RangeError('Index out of range') -} - -Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) { - var maxBytes = Math.pow(2, 8 * byteLength) - 1 - checkInt(this, value, offset, byteLength, maxBytes, 0) - } - - var mul = 1 - var i = 0 - this[offset] = value & 0xFF - while (++i < byteLength && (mul *= 0x100)) { - this[offset + i] = (value / mul) & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) { - var maxBytes = Math.pow(2, 8 * byteLength) - 1 - checkInt(this, value, offset, byteLength, maxBytes, 0) - } - - var i = byteLength - 1 - var mul = 1 - this[offset + i] = value & 0xFF - while (--i >= 0 && (mul *= 0x100)) { - this[offset + i] = (value / mul) & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0) - if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) - this[offset] = (value & 0xff) - return offset + 1 -} - -function objectWriteUInt16 (buf, value, offset, littleEndian) { - if (value < 0) value = 0xffff + value + 1 - for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { - buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>> - (littleEndian ? i : 1 - i) * 8 - } -} - -Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value & 0xff) - this[offset + 1] = (value >>> 8) - } else { - objectWriteUInt16(this, value, offset, true) - } - return offset + 2 -} - -Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 8) - this[offset + 1] = (value & 0xff) - } else { - objectWriteUInt16(this, value, offset, false) - } - return offset + 2 -} - -function objectWriteUInt32 (buf, value, offset, littleEndian) { - if (value < 0) value = 0xffffffff + value + 1 - for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { - buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff - } -} - -Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset + 3] = (value >>> 24) - this[offset + 2] = (value >>> 16) - this[offset + 1] = (value >>> 8) - this[offset] = (value & 0xff) - } else { - objectWriteUInt32(this, value, offset, true) - } - return offset + 4 -} - -Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 24) - this[offset + 1] = (value >>> 16) - this[offset + 2] = (value >>> 8) - this[offset + 3] = (value & 0xff) - } else { - objectWriteUInt32(this, value, offset, false) - } - return offset + 4 -} - -Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) { - var limit = Math.pow(2, 8 * byteLength - 1) - - checkInt(this, value, offset, byteLength, limit - 1, -limit) - } - - var i = 0 - var mul = 1 - var sub = 0 - this[offset] = value & 0xFF - while (++i < byteLength && (mul *= 0x100)) { - if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { - sub = 1 - } - this[offset + i] = ((value / mul) >> 0) - sub & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) { - var limit = Math.pow(2, 8 * byteLength - 1) - - checkInt(this, value, offset, byteLength, limit - 1, -limit) - } - - var i = byteLength - 1 - var mul = 1 - var sub = 0 - this[offset + i] = value & 0xFF - while (--i >= 0 && (mul *= 0x100)) { - if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { - sub = 1 - } - this[offset + i] = ((value / mul) >> 0) - sub & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80) - if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) - if (value < 0) value = 0xff + value + 1 - this[offset] = (value & 0xff) - return offset + 1 -} - -Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value & 0xff) - this[offset + 1] = (value >>> 8) - } else { - objectWriteUInt16(this, value, offset, true) - } - return offset + 2 -} - -Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 8) - this[offset + 1] = (value & 0xff) - } else { - objectWriteUInt16(this, value, offset, false) - } - return offset + 2 -} - -Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value & 0xff) - this[offset + 1] = (value >>> 8) - this[offset + 2] = (value >>> 16) - this[offset + 3] = (value >>> 24) - } else { - objectWriteUInt32(this, value, offset, true) - } - return offset + 4 -} - -Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) - if (value < 0) value = 0xffffffff + value + 1 - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 24) - this[offset + 1] = (value >>> 16) - this[offset + 2] = (value >>> 8) - this[offset + 3] = (value & 0xff) - } else { - objectWriteUInt32(this, value, offset, false) - } - return offset + 4 -} - -function checkIEEE754 (buf, value, offset, ext, max, min) { - if (offset + ext > buf.length) throw new RangeError('Index out of range') - if (offset < 0) throw new RangeError('Index out of range') -} - -function writeFloat (buf, value, offset, littleEndian, noAssert) { - if (!noAssert) { - checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) - } - ieee754.write(buf, value, offset, littleEndian, 23, 4) - return offset + 4 -} - -Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { - return writeFloat(this, value, offset, true, noAssert) -} - -Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) { - return writeFloat(this, value, offset, false, noAssert) -} - -function writeDouble (buf, value, offset, littleEndian, noAssert) { - if (!noAssert) { - checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308) - } - ieee754.write(buf, value, offset, littleEndian, 52, 8) - return offset + 8 -} - -Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) { - return writeDouble(this, value, offset, true, noAssert) -} - -Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) { - return writeDouble(this, value, offset, false, noAssert) -} - -// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) -Buffer.prototype.copy = function copy (target, targetStart, start, end) { - if (!start) start = 0 - if (!end && end !== 0) end = this.length - if (targetStart >= target.length) targetStart = target.length - if (!targetStart) targetStart = 0 - if (end > 0 && end < start) end = start - - // Copy 0 bytes; we're done - if (end === start) return 0 - if (target.length === 0 || this.length === 0) return 0 - - // Fatal error conditions - if (targetStart < 0) { - throw new RangeError('targetStart out of bounds') - } - if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds') - if (end < 0) throw new RangeError('sourceEnd out of bounds') - - // Are we oob? - if (end > this.length) end = this.length - if (target.length - targetStart < end - start) { - end = target.length - targetStart + start - } - - var len = end - start - var i - - if (this === target && start < targetStart && targetStart < end) { - // descending copy from end - for (i = len - 1; i >= 0; --i) { - target[i + targetStart] = this[i + start] - } - } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) { - // ascending copy from start - for (i = 0; i < len; ++i) { - target[i + targetStart] = this[i + start] - } - } else { - Uint8Array.prototype.set.call( - target, - this.subarray(start, start + len), - targetStart - ) - } - - return len -} - -// Usage: -// buffer.fill(number[, offset[, end]]) -// buffer.fill(buffer[, offset[, end]]) -// buffer.fill(string[, offset[, end]][, encoding]) -Buffer.prototype.fill = function fill (val, start, end, encoding) { - // Handle string cases: - if (typeof val === 'string') { - if (typeof start === 'string') { - encoding = start - start = 0 - end = this.length - } else if (typeof end === 'string') { - encoding = end - end = this.length - } - if (val.length === 1) { - var code = val.charCodeAt(0) - if (code < 256) { - val = code - } - } - if (encoding !== undefined && typeof encoding !== 'string') { - throw new TypeError('encoding must be a string') - } - if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) { - throw new TypeError('Unknown encoding: ' + encoding) - } - } else if (typeof val === 'number') { - val = val & 255 - } - - // Invalid ranges are not set to a default, so can range check early. - if (start < 0 || this.length < start || this.length < end) { - throw new RangeError('Out of range index') - } - - if (end <= start) { - return this - } - - start = start >>> 0 - end = end === undefined ? this.length : end >>> 0 - - if (!val) val = 0 - - var i - if (typeof val === 'number') { - for (i = start; i < end; ++i) { - this[i] = val - } - } else { - var bytes = Buffer.isBuffer(val) - ? val - : utf8ToBytes(new Buffer(val, encoding).toString()) - var len = bytes.length - for (i = 0; i < end - start; ++i) { - this[i + start] = bytes[i % len] - } - } - - return this -} - -// HELPER FUNCTIONS -// ================ - -var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g - -function base64clean (str) { - // Node strips out invalid characters like \n and \t from the string, base64-js does not - str = stringtrim(str).replace(INVALID_BASE64_RE, '') - // Node converts strings with length < 2 to '' - if (str.length < 2) return '' - // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not - while (str.length % 4 !== 0) { - str = str + '=' - } - return str -} - -function stringtrim (str) { - if (str.trim) return str.trim() - return str.replace(/^\s+|\s+$/g, '') -} - -function toHex (n) { - if (n < 16) return '0' + n.toString(16) - return n.toString(16) -} - -function utf8ToBytes (string, units) { - units = units || Infinity - var codePoint - var length = string.length - var leadSurrogate = null - var bytes = [] - - for (var i = 0; i < length; ++i) { - codePoint = string.charCodeAt(i) - - // is surrogate component - if (codePoint > 0xD7FF && codePoint < 0xE000) { - // last char was a lead - if (!leadSurrogate) { - // no lead yet - if (codePoint > 0xDBFF) { - // unexpected trail - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - continue - } else if (i + 1 === length) { - // unpaired lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - continue - } - - // valid lead - leadSurrogate = codePoint - - continue - } - - // 2 leads in a row - if (codePoint < 0xDC00) { - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - leadSurrogate = codePoint - continue - } - - // valid surrogate pair - codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000 - } else if (leadSurrogate) { - // valid bmp char, but last char was a lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - } - - leadSurrogate = null - - // encode utf8 - if (codePoint < 0x80) { - if ((units -= 1) < 0) break - bytes.push(codePoint) - } else if (codePoint < 0x800) { - if ((units -= 2) < 0) break - bytes.push( - codePoint >> 0x6 | 0xC0, - codePoint & 0x3F | 0x80 - ) - } else if (codePoint < 0x10000) { - if ((units -= 3) < 0) break - bytes.push( - codePoint >> 0xC | 0xE0, - codePoint >> 0x6 & 0x3F | 0x80, - codePoint & 0x3F | 0x80 - ) - } else if (codePoint < 0x110000) { - if ((units -= 4) < 0) break - bytes.push( - codePoint >> 0x12 | 0xF0, - codePoint >> 0xC & 0x3F | 0x80, - codePoint >> 0x6 & 0x3F | 0x80, - codePoint & 0x3F | 0x80 - ) - } else { - throw new Error('Invalid code point') - } - } - - return bytes -} - -function asciiToBytes (str) { - var byteArray = [] - for (var i = 0; i < str.length; ++i) { - // Node's code seems to be doing this and not & 0x7F.. - byteArray.push(str.charCodeAt(i) & 0xFF) - } - return byteArray -} - -function utf16leToBytes (str, units) { - var c, hi, lo - var byteArray = [] - for (var i = 0; i < str.length; ++i) { - if ((units -= 2) < 0) break - - c = str.charCodeAt(i) - hi = c >> 8 - lo = c % 256 - byteArray.push(lo) - byteArray.push(hi) - } - - return byteArray -} - -function base64ToBytes (str) { - return base64.toByteArray(base64clean(str)) -} - -function blitBuffer (src, dst, offset, length) { - for (var i = 0; i < length; ++i) { - if ((i + offset >= dst.length) || (i >= src.length)) break - dst[i + offset] = src[i] - } - return i -} - -function isnan (val) { - return val !== val // eslint-disable-line no-self-compare -} diff --git a/src/node_modules/buffer/package.json b/src/node_modules/buffer/package.json deleted file mode 100644 index f5caf47..0000000 --- a/src/node_modules/buffer/package.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "_args": [ - [ - "buffer@4.9.1", - "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk" - ] - ], - "_from": "buffer@4.9.1", - "_id": "buffer@4.9.1", - "_inCache": true, - "_installable": true, - "_location": "/buffer", - "_nodeVersion": "6.4.0", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/buffer-4.9.1.tgz_1471491999032_0.9881124331150204" - }, - "_npmUser": { - "email": "feross@feross.org", - "name": "feross" - }, - "_npmVersion": "3.10.3", - "_phantomChildren": {}, - "_requested": { - "name": "buffer", - "raw": "buffer@4.9.1", - "rawSpec": "4.9.1", - "scope": null, - "spec": "4.9.1", - "type": "version" - }, - "_requiredBy": [ - "/aws-sdk" - ], - "_resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", - "_shasum": "6d1bb601b07a4efced97094132093027c95bc298", - "_shrinkwrap": null, - "_spec": "buffer@4.9.1", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk", - "author": { - "email": "feross@feross.org", - "name": "Feross Aboukhadijeh", - "url": "http://feross.org" - }, - "bugs": { - "url": "https://github.com/feross/buffer/issues" - }, - "contributors": [ - { - "name": "Romain Beauxis", - "email": "toots@rastageeks.org" - }, - { - "name": "James Halliday", - "email": "mail@substack.net" - } - ], - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - }, - "description": "Node.js Buffer API, for the browser", - "devDependencies": { - "benchmark": "^2.0.0", - "browserify": "^13.0.0", - "concat-stream": "^1.4.7", - "hyperquest": "^2.0.0", - "is-buffer": "^1.1.1", - "is-nan": "^1.0.1", - "split": "^1.0.0", - "standard": "^7.0.0", - "tape": "^4.0.0", - "through2": "^2.0.0", - "zuul": "^3.0.0" - }, - "directories": {}, - "dist": { - "shasum": "6d1bb601b07a4efced97094132093027c95bc298", - "tarball": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz" - }, - "gitHead": "2152e6ac4f8b47dc46eba44e07fad7c9d3e30563", - "homepage": "https://github.com/feross/buffer", - "jspm": { - "map": { - "./index.js": { - "node": "@node/buffer" - } - } - }, - "keywords": [ - "arraybuffer", - "browser", - "browserify", - "buffer", - "compatible", - "dataview", - "uint8array" - ], - "license": "MIT", - "main": "index.js", - "maintainers": [ - { - "name": "feross", - "email": "feross@feross.org" - } - ], - "name": "buffer", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/feross/buffer.git" - }, - "scripts": { - "perf": "browserify --debug perf/bracket-notation.js > perf/bundle.js && open perf/index.html", - "perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js", - "size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c", - "test": "standard && node ./bin/test.js", - "test-browser-es5": "zuul --ui tape -- test/*.js", - "test-browser-es5-local": "zuul --ui tape --local -- test/*.js", - "test-browser-es6": "zuul --ui tape -- test/*.js test/node/*.js", - "test-browser-es6-local": "zuul --ui tape --local -- test/*.js test/node/*.js", - "test-node": "tape test/*.js test/node/*.js && OBJECT_IMPL=true tape test/*.js", - "update-authors": "./bin/update-authors.sh" - }, - "standard": { - "ignore": [ - "perf/*.js", - "test/_polyfill.js", - "test/node/*.js" - ] - }, - "version": "4.9.1" -} diff --git a/src/node_modules/buffer/test/_polyfill.js b/src/node_modules/buffer/test/_polyfill.js deleted file mode 100644 index 61f9c18..0000000 --- a/src/node_modules/buffer/test/_polyfill.js +++ /dev/null @@ -1,150 +0,0 @@ -if (!Array.prototype.forEach) { - - Array.prototype.forEach = function(callback, thisArg) { - - var T, k; - - if (this == null) { - throw new TypeError(' this is null or not defined'); - } - - // 1. Let O be the result of calling ToObject passing the |this| value as the argument. - var O = Object(this); - - // 2. Let lenValue be the result of calling the Get internal method of O with the argument "length". - // 3. Let len be ToUint32(lenValue). - var len = O.length >>> 0; - - // 4. If IsCallable(callback) is false, throw a TypeError exception. - // See: http://es5.github.com/#x9.11 - if (typeof callback !== "function") { - throw new TypeError(callback + ' is not a function'); - } - - // 5. If thisArg was supplied, let T be thisArg; else let T be undefined. - if (arguments.length > 1) { - T = thisArg; - } - - // 6. Let k be 0 - k = 0; - - // 7. Repeat, while k < len - while (k < len) { - - var kValue; - - // a. Let Pk be ToString(k). - // This is implicit for LHS operands of the in operator - // b. Let kPresent be the result of calling the HasProperty internal method of O with argument Pk. - // This step can be combined with c - // c. If kPresent is true, then - if (k in O) { - - // i. Let kValue be the result of calling the Get internal method of O with argument Pk. - kValue = O[k]; - - // ii. Call the Call internal method of callback with T as the this value and - // argument list containing kValue, k, and O. - callback.call(T, kValue, k, O); - } - // d. Increase k by 1. - k++; - } - // 8. return undefined - }; -} - -if (!Array.isArray) { - Array.isArray = function(arg) { - return Object.prototype.toString.call(arg) === '[object Array]'; - }; -} - -if (!Array.prototype.map) { - - Array.prototype.map = function(callback, thisArg) { - - var T, A, k; - - if (this == null) { - throw new TypeError(' this is null or not defined'); - } - - // 1. Let O be the result of calling ToObject passing the |this| - // value as the argument. - var O = Object(this); - - // 2. Let lenValue be the result of calling the Get internal - // method of O with the argument "length". - // 3. Let len be ToUint32(lenValue). - var len = O.length >>> 0; - - // 4. If IsCallable(callback) is false, throw a TypeError exception. - // See: http://es5.github.com/#x9.11 - if (typeof callback !== 'function') { - throw new TypeError(callback + ' is not a function'); - } - - // 5. If thisArg was supplied, let T be thisArg; else let T be undefined. - if (arguments.length > 1) { - T = thisArg; - } - - // 6. Let A be a new array created as if by the expression new Array(len) - // where Array is the standard built-in constructor with that name and - // len is the value of len. - A = new Array(len); - - // 7. Let k be 0 - k = 0; - - // 8. Repeat, while k < len - while (k < len) { - - var kValue, mappedValue; - - // a. Let Pk be ToString(k). - // This is implicit for LHS operands of the in operator - // b. Let kPresent be the result of calling the HasProperty internal - // method of O with argument Pk. - // This step can be combined with c - // c. If kPresent is true, then - if (k in O) { - - // i. Let kValue be the result of calling the Get internal - // method of O with argument Pk. - kValue = O[k]; - - // ii. Let mappedValue be the result of calling the Call internal - // method of callback with T as the this value and argument - // list containing kValue, k, and O. - mappedValue = callback.call(T, kValue, k, O); - - // iii. Call the DefineOwnProperty internal method of A with arguments - // Pk, Property Descriptor - // { Value: mappedValue, - // Writable: true, - // Enumerable: true, - // Configurable: true }, - // and false. - - // In browsers that support Object.defineProperty, use the following: - // Object.defineProperty(A, k, { - // value: mappedValue, - // writable: true, - // enumerable: true, - // configurable: true - // }); - - // For best browser support, use the following: - A[k] = mappedValue; - } - // d. Increase k by 1. - k++; - } - - // 9. return A - return A; - }; -} diff --git a/src/node_modules/buffer/test/base64.js b/src/node_modules/buffer/test/base64.js deleted file mode 100644 index e4ecc56..0000000 --- a/src/node_modules/buffer/test/base64.js +++ /dev/null @@ -1,47 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') - -test('base64: ignore whitespace', function (t) { - var text = '\n YW9ldQ== ' - var buf = new B(text, 'base64') - t.equal(buf.toString(), 'aoeu') - t.end() -}) - -test('base64: strings without padding', function (t) { - t.equal((new B('YW9ldQ', 'base64').toString()), 'aoeu') - t.end() -}) - -test('base64: newline in utf8 -- should not be an issue', function (t) { - t.equal( - new B('LS0tCnRpdGxlOiBUaHJlZSBkYXNoZXMgbWFya3MgdGhlIHNwb3QKdGFnczoK', 'base64').toString('utf8'), - '---\ntitle: Three dashes marks the spot\ntags:\n' - ) - t.end() -}) - -test('base64: newline in base64 -- should get stripped', function (t) { - t.equal( - new B('LS0tCnRpdGxlOiBUaHJlZSBkYXNoZXMgbWFya3MgdGhlIHNwb3QKdGFnczoK\nICAtIHlhbWwKICAtIGZyb250LW1hdHRlcgogIC0gZGFzaGVzCmV4cGFuZWQt', 'base64').toString('utf8'), - '---\ntitle: Three dashes marks the spot\ntags:\n - yaml\n - front-matter\n - dashes\nexpaned-' - ) - t.end() -}) - -test('base64: tab characters in base64 - should get stripped', function (t) { - t.equal( - new B('LS0tCnRpdGxlOiBUaHJlZSBkYXNoZXMgbWFya3MgdGhlIHNwb3QKdGFnczoK\t\t\t\tICAtIHlhbWwKICAtIGZyb250LW1hdHRlcgogIC0gZGFzaGVzCmV4cGFuZWQt', 'base64').toString('utf8'), - '---\ntitle: Three dashes marks the spot\ntags:\n - yaml\n - front-matter\n - dashes\nexpaned-' - ) - t.end() -}) - -test('base64: invalid non-alphanumeric characters -- should be stripped', function (t) { - t.equal( - new B('!"#$%&\'()*,.:;<=>?@[\\]^`{|}~', 'base64').toString('utf8'), - '' - ) - t.end() -}) diff --git a/src/node_modules/buffer/test/basic.js b/src/node_modules/buffer/test/basic.js deleted file mode 100644 index 0368ed9..0000000 --- a/src/node_modules/buffer/test/basic.js +++ /dev/null @@ -1,85 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') - -test('instanceof Buffer', function (t) { - var buf = new B([1, 2]) - t.ok(buf instanceof B) - t.end() -}) - -test('convert to Uint8Array in modern browsers', function (t) { - if (B.TYPED_ARRAY_SUPPORT) { - var buf = new B([1, 2]) - var uint8array = new Uint8Array(buf.buffer) - t.ok(uint8array instanceof Uint8Array) - t.equal(uint8array[0], 1) - t.equal(uint8array[1], 2) - } else { - t.pass('object impl: skipping test') - } - t.end() -}) - -test('indexes from a string', function (t) { - var buf = new B('abc') - t.equal(buf[0], 97) - t.equal(buf[1], 98) - t.equal(buf[2], 99) - t.end() -}) - -test('indexes from an array', function (t) { - var buf = new B([ 97, 98, 99 ]) - t.equal(buf[0], 97) - t.equal(buf[1], 98) - t.equal(buf[2], 99) - t.end() -}) - -test('setting index value should modify buffer contents', function (t) { - var buf = new B([ 97, 98, 99 ]) - t.equal(buf[2], 99) - t.equal(buf.toString(), 'abc') - - buf[2] += 10 - t.equal(buf[2], 109) - t.equal(buf.toString(), 'abm') - t.end() -}) - -test('storing negative number should cast to unsigned', function (t) { - var buf = new B(1) - - if (B.TYPED_ARRAY_SUPPORT) { - // This does not work with the object implementation -- nothing we can do! - buf[0] = -3 - t.equal(buf[0], 253) - } - - buf = new B(1) - buf.writeInt8(-3, 0) - t.equal(buf[0], 253) - - t.end() -}) - -test('test that memory is copied from array-like', function (t) { - if (B.TYPED_ARRAY_SUPPORT) { - var u = new Uint8Array(4) - var b = new B(u) - b[0] = 1 - b[1] = 2 - b[2] = 3 - b[3] = 4 - - t.equal(u[0], 0) - t.equal(u[1], 0) - t.equal(u[2], 0) - t.equal(u[3], 0) - } else { - t.pass('object impl: skipping test') - } - - t.end() -}) diff --git a/src/node_modules/buffer/test/compare.js b/src/node_modules/buffer/test/compare.js deleted file mode 100644 index 62b478c..0000000 --- a/src/node_modules/buffer/test/compare.js +++ /dev/null @@ -1,59 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') - -test('buffer.compare', function (t) { - var b = new B(1).fill('a') - var c = new B(1).fill('c') - var d = new B(2).fill('aa') - - t.equal(b.compare(c), -1) - t.equal(c.compare(d), 1) - t.equal(d.compare(b), 1) - t.equal(b.compare(d), -1) - - // static method - t.equal(B.compare(b, c), -1) - t.equal(B.compare(c, d), 1) - t.equal(B.compare(d, b), 1) - t.equal(B.compare(b, d), -1) - t.end() -}) - -test('buffer.compare argument validation', function (t) { - t.throws(function () { - var b = new B(1) - B.compare(b, 'abc') - }) - - t.throws(function () { - var b = new B(1) - B.compare('abc', b) - }) - - t.throws(function () { - var b = new B(1) - b.compare('abc') - }) - t.end() -}) - -test('buffer.equals', function (t) { - var b = new B(5).fill('abcdf') - var c = new B(5).fill('abcdf') - var d = new B(5).fill('abcde') - var e = new B(6).fill('abcdef') - - t.ok(b.equals(c)) - t.ok(!c.equals(d)) - t.ok(!d.equals(e)) - t.end() -}) - -test('buffer.equals argument validation', function (t) { - t.throws(function () { - var b = new B(1) - b.equals('abc') - }) - t.end() -}) diff --git a/src/node_modules/buffer/test/constructor.js b/src/node_modules/buffer/test/constructor.js deleted file mode 100644 index cec5cdc..0000000 --- a/src/node_modules/buffer/test/constructor.js +++ /dev/null @@ -1,193 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') - -test('new buffer from array', function (t) { - t.equal( - new B([1, 2, 3]).toString(), - '\u0001\u0002\u0003' - ) - t.end() -}) - -test('new buffer from array w/ negatives', function (t) { - t.equal( - new B([-1, -2, -3]).toString('hex'), - 'fffefd' - ) - t.end() -}) - -test('new buffer from array with mixed signed input', function (t) { - t.equal( - new B([-255, 255, -128, 128, 512, -512, 511, -511]).toString('hex'), - '01ff80800000ff01' - ) - t.end() -}) - -test('new buffer from string', function (t) { - t.equal( - new B('hey', 'utf8').toString(), - 'hey' - ) - t.end() -}) - -test('new buffer from buffer', function (t) { - var b1 = new B('asdf') - var b2 = new B(b1) - t.equal(b1.toString('hex'), b2.toString('hex')) - t.end() -}) - -test('new buffer from ArrayBuffer', function (t) { - if (typeof ArrayBuffer !== 'undefined') { - var arraybuffer = new Uint8Array([0, 1, 2, 3]).buffer - var b = new B(arraybuffer) - t.equal(b.length, 4) - t.equal(b[0], 0) - t.equal(b[1], 1) - t.equal(b[2], 2) - t.equal(b[3], 3) - t.equal(b[4], undefined) - } - t.end() -}) - -test('new buffer from ArrayBuffer, shares memory', function (t) { - if (Buffer.TYPED_ARRAY_SUPPORT) { - var u = new Uint8Array([0, 1, 2, 3]) - var arraybuffer = u.buffer - var b = new B(arraybuffer) - t.equal(b.length, 4) - t.equal(b[0], 0) - t.equal(b[1], 1) - t.equal(b[2], 2) - t.equal(b[3], 3) - t.equal(b[4], undefined) - - // changing the Uint8Array (and thus the ArrayBuffer), changes the Buffer - u[0] = 10 - t.equal(b[0], 10) - u[1] = 11 - t.equal(b[1], 11) - u[2] = 12 - t.equal(b[2], 12) - u[3] = 13 - t.equal(b[3], 13) - } - t.end() -}) - -test('new buffer from Uint8Array', function (t) { - if (typeof Uint8Array !== 'undefined') { - var b1 = new Uint8Array([0, 1, 2, 3]) - var b2 = new B(b1) - t.equal(b1.length, b2.length) - t.equal(b1[0], 0) - t.equal(b1[1], 1) - t.equal(b1[2], 2) - t.equal(b1[3], 3) - t.equal(b1[4], undefined) - } - t.end() -}) - -test('new buffer from Uint16Array', function (t) { - if (typeof Uint16Array !== 'undefined') { - var b1 = new Uint16Array([0, 1, 2, 3]) - var b2 = new B(b1) - t.equal(b1.length, b2.length) - t.equal(b1[0], 0) - t.equal(b1[1], 1) - t.equal(b1[2], 2) - t.equal(b1[3], 3) - t.equal(b1[4], undefined) - } - t.end() -}) - -test('new buffer from Uint32Array', function (t) { - if (typeof Uint32Array !== 'undefined') { - var b1 = new Uint32Array([0, 1, 2, 3]) - var b2 = new B(b1) - t.equal(b1.length, b2.length) - t.equal(b1[0], 0) - t.equal(b1[1], 1) - t.equal(b1[2], 2) - t.equal(b1[3], 3) - t.equal(b1[4], undefined) - } - t.end() -}) - -test('new buffer from Int16Array', function (t) { - if (typeof Int16Array !== 'undefined') { - var b1 = new Int16Array([0, 1, 2, 3]) - var b2 = new B(b1) - t.equal(b1.length, b2.length) - t.equal(b1[0], 0) - t.equal(b1[1], 1) - t.equal(b1[2], 2) - t.equal(b1[3], 3) - t.equal(b1[4], undefined) - } - t.end() -}) - -test('new buffer from Int32Array', function (t) { - if (typeof Int32Array !== 'undefined') { - var b1 = new Int32Array([0, 1, 2, 3]) - var b2 = new B(b1) - t.equal(b1.length, b2.length) - t.equal(b1[0], 0) - t.equal(b1[1], 1) - t.equal(b1[2], 2) - t.equal(b1[3], 3) - t.equal(b1[4], undefined) - } - t.end() -}) - -test('new buffer from Float32Array', function (t) { - if (typeof Float32Array !== 'undefined') { - var b1 = new Float32Array([0, 1, 2, 3]) - var b2 = new B(b1) - t.equal(b1.length, b2.length) - t.equal(b1[0], 0) - t.equal(b1[1], 1) - t.equal(b1[2], 2) - t.equal(b1[3], 3) - t.equal(b1[4], undefined) - } - t.end() -}) - -test('new buffer from Float64Array', function (t) { - if (typeof Float64Array !== 'undefined') { - var b1 = new Float64Array([0, 1, 2, 3]) - var b2 = new B(b1) - t.equal(b1.length, b2.length) - t.equal(b1[0], 0) - t.equal(b1[1], 1) - t.equal(b1[2], 2) - t.equal(b1[3], 3) - t.equal(b1[4], undefined) - } - t.end() -}) - -test('new buffer from buffer.toJSON() output', function (t) { - if (typeof JSON === 'undefined') { - // ie6, ie7 lack support - t.end() - return - } - var buf = new B('test') - var json = JSON.stringify(buf) - var obj = JSON.parse(json) - var copy = new B(obj) - t.ok(buf.equals(copy)) - t.end() -}) diff --git a/src/node_modules/buffer/test/from-string.js b/src/node_modules/buffer/test/from-string.js deleted file mode 100644 index e25db26..0000000 --- a/src/node_modules/buffer/test/from-string.js +++ /dev/null @@ -1,132 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') - -test('detect utf16 surrogate pairs', function (t) { - var text = '\uD83D\uDE38' + '\uD83D\uDCAD' + '\uD83D\uDC4D' - var buf = new B(text) - t.equal(text, buf.toString()) - t.end() -}) - -test('detect utf16 surrogate pairs over U+20000 until U+10FFFF', function (t) { - var text = '\uD842\uDFB7' + '\uD93D\uDCAD' + '\uDBFF\uDFFF' - var buf = new B(text) - t.equal(text, buf.toString()) - t.end() -}) - -test('replace orphaned utf16 surrogate lead code point', function (t) { - var text = '\uD83D\uDE38' + '\uD83D' + '\uD83D\uDC4D' - var buf = new B(text) - t.deepEqual(buf, new B([ 0xf0, 0x9f, 0x98, 0xb8, 0xef, 0xbf, 0xbd, 0xf0, 0x9f, 0x91, 0x8d ])) - t.end() -}) - -test('replace orphaned utf16 surrogate trail code point', function (t) { - var text = '\uD83D\uDE38' + '\uDCAD' + '\uD83D\uDC4D' - var buf = new B(text) - t.deepEqual(buf, new B([ 0xf0, 0x9f, 0x98, 0xb8, 0xef, 0xbf, 0xbd, 0xf0, 0x9f, 0x91, 0x8d ])) - t.end() -}) - -test('do not write partial utf16 code units', function (t) { - var f = new B([0, 0, 0, 0, 0]) - t.equal(f.length, 5) - var size = f.write('あいうえお', 'utf16le') - t.equal(size, 4) - t.deepEqual(f, new B([0x42, 0x30, 0x44, 0x30, 0x00])) - t.end() -}) - -test('handle partial utf16 code points when encoding to utf8 the way node does', function (t) { - var text = '\uD83D\uDE38' + '\uD83D\uDC4D' - - var buf = new B(8) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0xf0, 0x9f, 0x98, 0xb8, 0xf0, 0x9f, 0x91, 0x8d ])) - - buf = new B(7) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0xf0, 0x9f, 0x98, 0xb8, 0x00, 0x00, 0x00 ])) - - buf = new B(6) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0xf0, 0x9f, 0x98, 0xb8, 0x00, 0x00 ])) - - buf = new B(5) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0xf0, 0x9f, 0x98, 0xb8, 0x00 ])) - - buf = new B(4) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0xf0, 0x9f, 0x98, 0xb8 ])) - - buf = new B(3) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x00, 0x00, 0x00 ])) - - buf = new B(2) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x00, 0x00 ])) - - buf = new B(1) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x00 ])) - - t.end() -}) - -test('handle invalid utf16 code points when encoding to utf8 the way node does', function (t) { - var text = 'a' + '\uDE38\uD83D' + 'b' - - var buf = new B(8) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x61, 0xef, 0xbf, 0xbd, 0xef, 0xbf, 0xbd, 0x62 ])) - - buf = new B(7) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x61, 0xef, 0xbf, 0xbd, 0xef, 0xbf, 0xbd ])) - - buf = new B(6) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x61, 0xef, 0xbf, 0xbd, 0x00, 0x00 ])) - - buf = new B(5) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x61, 0xef, 0xbf, 0xbd, 0x00 ])) - - buf = new B(4) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x61, 0xef, 0xbf, 0xbd ])) - - buf = new B(3) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x61, 0x00, 0x00 ])) - - buf = new B(2) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x61, 0x00 ])) - - buf = new B(1) - buf.fill(0) - buf.write(text) - t.deepEqual(buf, new B([ 0x61 ])) - - t.end() -}) diff --git a/src/node_modules/buffer/test/is-buffer.js b/src/node_modules/buffer/test/is-buffer.js deleted file mode 100644 index 3744b23..0000000 --- a/src/node_modules/buffer/test/is-buffer.js +++ /dev/null @@ -1,22 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var isBuffer = require('is-buffer') -var test = require('tape') - -test('is-buffer tests', function (t) { - t.ok(isBuffer(new B(4)), 'new Buffer(4)') - - t.notOk(isBuffer(undefined), 'undefined') - t.notOk(isBuffer(null), 'null') - t.notOk(isBuffer(''), 'empty string') - t.notOk(isBuffer(true), 'true') - t.notOk(isBuffer(false), 'false') - t.notOk(isBuffer(0), '0') - t.notOk(isBuffer(1), '1') - t.notOk(isBuffer(1.0), '1.0') - t.notOk(isBuffer('string'), 'string') - t.notOk(isBuffer({}), '{}') - t.notOk(isBuffer(function foo () {}), 'function foo () {}') - - t.end() -}) diff --git a/src/node_modules/buffer/test/methods.js b/src/node_modules/buffer/test/methods.js deleted file mode 100644 index f4bd3f2..0000000 --- a/src/node_modules/buffer/test/methods.js +++ /dev/null @@ -1,127 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') - -test('buffer.toJSON', function (t) { - var data = [1, 2, 3, 4] - t.deepEqual( - new B(data).toJSON(), - { type: 'Buffer', data: [ 1, 2, 3, 4 ] } - ) - t.end() -}) - -test('buffer.copy', function (t) { - // copied from nodejs.org example - var buf1 = new B(26) - var buf2 = new B(26) - - for (var i = 0; i < 26; i++) { - buf1[i] = i + 97 // 97 is ASCII a - buf2[i] = 33 // ASCII ! - } - - buf1.copy(buf2, 8, 16, 20) - - t.equal( - buf2.toString('ascii', 0, 25), - '!!!!!!!!qrst!!!!!!!!!!!!!' - ) - t.end() -}) - -test('test offset returns are correct', function (t) { - var b = new B(16) - t.equal(4, b.writeUInt32LE(0, 0)) - t.equal(6, b.writeUInt16LE(0, 4)) - t.equal(7, b.writeUInt8(0, 6)) - t.equal(8, b.writeInt8(0, 7)) - t.equal(16, b.writeDoubleLE(0, 8)) - t.end() -}) - -test('concat() a varying number of buffers', function (t) { - var zero = [] - var one = [ new B('asdf') ] - var long = [] - for (var i = 0; i < 10; i++) { - long.push(new B('asdf')) - } - - var flatZero = B.concat(zero) - var flatOne = B.concat(one) - var flatLong = B.concat(long) - var flatLongLen = B.concat(long, 40) - - t.equal(flatZero.length, 0) - t.equal(flatOne.toString(), 'asdf') - t.deepEqual(flatOne, one[0]) - t.equal(flatLong.toString(), (new Array(10 + 1).join('asdf'))) - t.equal(flatLongLen.toString(), (new Array(10 + 1).join('asdf'))) - t.end() -}) - -test('fill', function (t) { - var b = new B(10) - b.fill(2) - t.equal(b.toString('hex'), '02020202020202020202') - t.end() -}) - -test('fill (string)', function (t) { - var b = new B(10) - b.fill('abc') - t.equal(b.toString(), 'abcabcabca') - b.fill('է') - t.equal(b.toString(), 'էէէէէ') - t.end() -}) - -test('copy() empty buffer with sourceEnd=0', function (t) { - var source = new B([42]) - var destination = new B([43]) - source.copy(destination, 0, 0, 0) - t.equal(destination.readUInt8(0), 43) - t.end() -}) - -test('copy() after slice()', function (t) { - var source = new B(200) - var dest = new B(200) - var expected = new B(200) - for (var i = 0; i < 200; i++) { - source[i] = i - dest[i] = 0 - } - - source.slice(2).copy(dest) - source.copy(expected, 0, 2) - t.deepEqual(dest, expected) - t.end() -}) - -test('copy() ascending', function (t) { - var b = new B('abcdefghij') - b.copy(b, 0, 3, 10) - t.equal(b.toString(), 'defghijhij') - t.end() -}) - -test('copy() descending', function (t) { - var b = new B('abcdefghij') - b.copy(b, 3, 0, 7) - t.equal(b.toString(), 'abcabcdefg') - t.end() -}) - -test('buffer.slice sets indexes', function (t) { - t.equal((new B('hallo')).slice(0, 5).toString(), 'hallo') - t.end() -}) - -test('buffer.slice out of range', function (t) { - t.plan(2) - t.equal((new B('hallo')).slice(0, 10).toString(), 'hallo') - t.equal((new B('hallo')).slice(10, 2).toString(), '') - t.end() -}) diff --git a/src/node_modules/buffer/test/node/test-buffer-alloc.js b/src/node_modules/buffer/test/node/test-buffer-alloc.js deleted file mode 100644 index b524f51..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-alloc.js +++ /dev/null @@ -1,1501 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - -var common = { skip: function () {} }; -var assert = require('assert'); - -var Buffer = require('../../').Buffer; - -// counter to ensure unique value is always copied -var cntr = 0; - -var b = Buffer.allocUnsafe(1024); - -// console.log('b.length == %d', b.length); -assert.strictEqual(1024, b.length); - -b[0] = -1; -assert.strictEqual(b[0], 255); - -for (var i = 0; i < 1024; i++) { - b[i] = i % 256; -} - -for (var i = 0; i < 1024; i++) { - assert.strictEqual(i % 256, b[i]); -} - -var c = Buffer.allocUnsafe(512); -// console.log('c.length == %d', c.length); -assert.strictEqual(512, c.length); - -var d = Buffer.from([]); -assert.strictEqual(0, d.length); - -var ui32 = new Uint32Array(4).fill(42); -var e = Buffer.from(ui32); -for (var [index, value] of e.entries()) { - assert.strictEqual(value, ui32[index]); -} - -// First check Buffer#fill() works as expected. - -assert.throws(function() { - Buffer.allocUnsafe(8).fill('a', -1); -}); - -assert.throws(function() { - Buffer.allocUnsafe(8).fill('a', 0, 9); -}); - -// Make sure this doesn't hang indefinitely. -Buffer.allocUnsafe(8).fill(''); -Buffer.alloc(8, ''); - -{ - var buf = Buffer.alloc(64, 10); - for (var i = 0; i < buf.length; i++) - assert.equal(buf[i], 10); - - buf.fill(11, 0, buf.length >> 1); - for (var i = 0; i < buf.length >> 1; i++) - assert.equal(buf[i], 11); - for (var i = (buf.length >> 1) + 1; i < buf.length; i++) - assert.equal(buf[i], 10); - - buf.fill('h'); - for (var i = 0; i < buf.length; i++) - assert.equal('h'.charCodeAt(0), buf[i]); - - buf.fill(0); - for (var i = 0; i < buf.length; i++) - assert.equal(0, buf[i]); - - buf.fill(null); - for (var i = 0; i < buf.length; i++) - assert.equal(0, buf[i]); - - buf.fill(1, 16, 32); - for (var i = 0; i < 16; i++) - assert.equal(0, buf[i]); - for (var i = 16; i < 32; i++) - assert.equal(1, buf[i]); - for (var i = 32; i < buf.length; i++) - assert.equal(0, buf[i]); -} - -{ - var buf = Buffer.alloc(10, 'abc'); - assert.equal(buf.toString(), 'abcabcabca'); - buf.fill('է'); - assert.equal(buf.toString(), 'էէէէէ'); -} - -{ - // copy 512 bytes, from 0 to 512. - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, 0, 512); -// console.log('copied %d bytes from b into c', copied); - assert.strictEqual(512, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} - -{ - // copy c into b, without specifying sourceEnd - b.fill(++cntr); - c.fill(++cntr); - var copied = c.copy(b, 0, 0); -// console.log('copied %d bytes from c into b w/o sourceEnd', copied); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(c[i], b[i]); - } -} - -{ - // copy c into b, without specifying sourceStart - b.fill(++cntr); - c.fill(++cntr); - var copied = c.copy(b, 0); -// console.log('copied %d bytes from c into b w/o sourceStart', copied); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(c[i], b[i]); - } -} - -{ - // copy longer buffer b to shorter c without targetStart - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c); -// console.log('copied %d bytes from b into c w/o targetStart', copied); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} - -{ - // copy starting near end of b to c - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, b.length - Math.floor(c.length / 2)); -// console.log('copied %d bytes from end of b into beginning of c', copied); - assert.strictEqual(Math.floor(c.length / 2), copied); - for (var i = 0; i < Math.floor(c.length / 2); i++) { - assert.strictEqual(b[b.length - Math.floor(c.length / 2) + i], c[i]); - } - for (var i = Math.floor(c.length / 2) + 1; i < c.length; i++) { - assert.strictEqual(c[c.length - 1], c[i]); - } -} - -{ - // try to copy 513 bytes, and check we don't overrun c - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, 0, 513); -// console.log('copied %d bytes from b trying to overrun c', copied); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} - -{ - // copy 768 bytes from b into b - b.fill(++cntr); - b.fill(++cntr, 256); - var copied = b.copy(b, 0, 256, 1024); -// console.log('copied %d bytes from b into b', copied); - assert.strictEqual(768, copied); - for (var i = 0; i < b.length; i++) { - assert.strictEqual(cntr, b[i]); - } -} - -// copy string longer than buffer length (failure will segfault) -var bb = Buffer.allocUnsafe(10); -bb.fill('hello crazy world'); - - -// try to copy from before the beginning of b -assert.doesNotThrow(() => { b.copy(c, 0, 100, 10); }); - -// copy throws at negative sourceStart -assert.throws(function() { - Buffer.allocUnsafe(5).copy(Buffer.allocUnsafe(5), 0, -1); -}, RangeError); - -{ - // check sourceEnd resets to targetEnd if former is greater than the latter - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, 0, 1025); -// console.log('copied %d bytes from b into c', copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} - -// throw with negative sourceEnd -// console.log('test copy at negative sourceEnd'); -assert.throws(function() { - b.copy(c, 0, 0, -1); -}, RangeError); - -// when sourceStart is greater than sourceEnd, zero copied -assert.equal(b.copy(c, 0, 100, 10), 0); - -// when targetStart > targetLength, zero copied -assert.equal(b.copy(c, 512, 0, 10), 0); - -var caught_error; - -// invalid encoding for Buffer.toString -caught_error = null; -try { - b.toString('invalid'); -} catch (err) { - caught_error = err; -} -assert.strictEqual('Unknown encoding: invalid', caught_error.message); - -// invalid encoding for Buffer.write -caught_error = null; -try { - b.write('test string', 0, 5, 'invalid'); -} catch (err) { - caught_error = err; -} -assert.strictEqual('Unknown encoding: invalid', caught_error.message); - -// try to create 0-length buffers -Buffer.from(''); -Buffer.from('', 'ascii'); -Buffer.from('', 'latin1'); -Buffer.alloc(0); -Buffer.allocUnsafe(0); - -// try to write a 0-length string beyond the end of b -assert.throws(function() { - b.write('', 2048); -}, RangeError); - -// throw when writing to negative offset -assert.throws(function() { - b.write('a', -1); -}, RangeError); - -// throw when writing past bounds from the pool -assert.throws(function() { - b.write('a', 2048); -}, RangeError); - -// throw when writing to negative offset -assert.throws(function() { - b.write('a', -1); -}, RangeError); - -// try to copy 0 bytes worth of data into an empty buffer -b.copy(Buffer.alloc(0), 0, 0, 0); - -// try to copy 0 bytes past the end of the target buffer -b.copy(Buffer.alloc(0), 1, 1, 1); -b.copy(Buffer.alloc(1), 1, 1, 1); - -// try to copy 0 bytes from past the end of the source buffer -b.copy(Buffer.alloc(1), 0, 2048, 2048); - -var rangeBuffer = Buffer.from('abc'); - -// if start >= buffer's length, empty string will be returned -assert.equal(rangeBuffer.toString('ascii', 3), ''); -assert.equal(rangeBuffer.toString('ascii', +Infinity), ''); -assert.equal(rangeBuffer.toString('ascii', 3.14, 3), ''); -assert.equal(rangeBuffer.toString('ascii', 'Infinity', 3), ''); - -// if end <= 0, empty string will be returned -assert.equal(rangeBuffer.toString('ascii', 1, 0), ''); -assert.equal(rangeBuffer.toString('ascii', 1, -1.2), ''); -assert.equal(rangeBuffer.toString('ascii', 1, -100), ''); -assert.equal(rangeBuffer.toString('ascii', 1, -Infinity), ''); - -// if start < 0, start will be taken as zero -assert.equal(rangeBuffer.toString('ascii', -1, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', -1.99, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', -Infinity, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '-1', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '-1.99', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '-Infinity', 3), 'abc'); - -// if start is an invalid integer, start will be taken as zero -assert.equal(rangeBuffer.toString('ascii', 'node.js', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', {}, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', [], 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', NaN, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', null, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', undefined, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', false, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '', 3), 'abc'); - -// but, if start is an integer when coerced, then it will be coerced and used. -assert.equal(rangeBuffer.toString('ascii', '-1', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '1', 3), 'bc'); -assert.equal(rangeBuffer.toString('ascii', '-Infinity', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '3', 3), ''); -assert.equal(rangeBuffer.toString('ascii', Number(3), 3), ''); -assert.equal(rangeBuffer.toString('ascii', '3.14', 3), ''); -assert.equal(rangeBuffer.toString('ascii', '1.99', 3), 'bc'); -assert.equal(rangeBuffer.toString('ascii', '-1.99', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 1.99, 3), 'bc'); -assert.equal(rangeBuffer.toString('ascii', true, 3), 'bc'); - -// if end > buffer's length, end will be taken as buffer's length -assert.equal(rangeBuffer.toString('ascii', 0, 5), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, 6.99), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, Infinity), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '5'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '6.99'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, 'Infinity'), 'abc'); - -// if end is an invalid integer, end will be taken as buffer's length -assert.equal(rangeBuffer.toString('ascii', 0, 'node.js'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, {}), ''); -assert.equal(rangeBuffer.toString('ascii', 0, NaN), ''); -assert.equal(rangeBuffer.toString('ascii', 0, undefined), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, null), ''); -assert.equal(rangeBuffer.toString('ascii', 0, []), ''); -assert.equal(rangeBuffer.toString('ascii', 0, false), ''); -assert.equal(rangeBuffer.toString('ascii', 0, ''), ''); - -// but, if end is an integer when coerced, then it will be coerced and used. -assert.equal(rangeBuffer.toString('ascii', 0, '-1'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, '1'), 'a'); -assert.equal(rangeBuffer.toString('ascii', 0, '-Infinity'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, '3'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, Number(3)), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '3.14'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '1.99'), 'a'); -assert.equal(rangeBuffer.toString('ascii', 0, '-1.99'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, 1.99), 'a'); -assert.equal(rangeBuffer.toString('ascii', 0, true), 'a'); - -// try toString() with a object as a encoding -assert.equal(rangeBuffer.toString({toString: function() { - return 'ascii'; -}}), 'abc'); - -// testing for smart defaults and ability to pass string values as offset -var writeTest = Buffer.from('abcdes'); -writeTest.write('n', 'ascii'); -writeTest.write('o', '1', 'ascii'); -writeTest.write('d', '2', 'ascii'); -writeTest.write('e', 3, 'ascii'); -writeTest.write('j', 4, 'ascii'); -assert.equal(writeTest.toString(), 'nodejs'); - -// ASCII slice test -{ - var asciiString = 'hello world'; - - for (var i = 0; i < asciiString.length; i++) { - b[i] = asciiString.charCodeAt(i); - } - var asciiSlice = b.toString('ascii', 0, asciiString.length); - assert.equal(asciiString, asciiSlice); -} - -{ - var asciiString = 'hello world'; - var offset = 100; - - var written = b.write(asciiString, offset, 'ascii'); - assert.equal(asciiString.length, written); - var asciiSlice = b.toString('ascii', offset, offset + asciiString.length); - assert.equal(asciiString, asciiSlice); -} - -{ - var asciiString = 'hello world'; - var offset = 100; - - var sliceA = b.slice(offset, offset + asciiString.length); - var sliceB = b.slice(offset, offset + asciiString.length); - for (var i = 0; i < asciiString.length; i++) { - assert.equal(sliceA[i], sliceB[i]); - } -} - -// UTF-8 slice test - -var utf8String = '¡hέlló wôrld!'; -var offset = 100; - -b.write(utf8String, 0, Buffer.byteLength(utf8String), 'utf8'); -var utf8Slice = b.toString('utf8', 0, Buffer.byteLength(utf8String)); -assert.equal(utf8String, utf8Slice); - -var written = b.write(utf8String, offset, 'utf8'); -assert.equal(Buffer.byteLength(utf8String), written); -utf8Slice = b.toString('utf8', offset, offset + Buffer.byteLength(utf8String)); -assert.equal(utf8String, utf8Slice); - -var sliceA = b.slice(offset, offset + Buffer.byteLength(utf8String)); -var sliceB = b.slice(offset, offset + Buffer.byteLength(utf8String)); -for (var i = 0; i < Buffer.byteLength(utf8String); i++) { - assert.equal(sliceA[i], sliceB[i]); -} - -{ - var slice = b.slice(100, 150); - assert.equal(50, slice.length); - for (var i = 0; i < 50; i++) { - assert.equal(b[100 + i], slice[i]); - } -} - -{ - // make sure only top level parent propagates from allocPool - var b = Buffer.allocUnsafe(5); - var c = b.slice(0, 4); - var d = c.slice(0, 2); - assert.equal(b.parent, c.parent); - assert.equal(b.parent, d.parent); -} - -{ - // also from a non-pooled instance - var b = Buffer.allocUnsafeSlow(5); - var c = b.slice(0, 4); - var d = c.slice(0, 2); - assert.equal(c.parent, d.parent); -} - -{ - // Bug regression test - var testValue = '\u00F6\u65E5\u672C\u8A9E'; // ö日本語 - var buffer = Buffer.allocUnsafe(32); - var size = buffer.write(testValue, 0, 'utf8'); -// console.log('bytes written to buffer: ' + size); - var slice = buffer.toString('utf8', 0, size); - assert.equal(slice, testValue); -} - -{ - // Test triple slice - var a = Buffer.allocUnsafe(8); - for (var i = 0; i < 8; i++) a[i] = i; - var b = a.slice(4, 8); - assert.equal(4, b[0]); - assert.equal(5, b[1]); - assert.equal(6, b[2]); - assert.equal(7, b[3]); - var c = b.slice(2, 4); - assert.equal(6, c[0]); - assert.equal(7, c[1]); -} - -{ - var d = Buffer.from([23, 42, 255]); - assert.equal(d.length, 3); - assert.equal(d[0], 23); - assert.equal(d[1], 42); - assert.equal(d[2], 255); - assert.deepStrictEqual(d, Buffer.from(d)); -} - -{ - var e = Buffer.from('über'); -// console.error('uber: \'%s\'', e.toString()); - assert.deepStrictEqual(e, Buffer.from([195, 188, 98, 101, 114])); -} - -{ - var f = Buffer.from('über', 'ascii'); -// console.error('f.length: %d (should be 4)', f.length); - assert.deepStrictEqual(f, Buffer.from([252, 98, 101, 114])); -} - -['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) { - { - var f = Buffer.from('über', encoding); -// console.error('f.length: %d (should be 8)', f.length); - assert.deepStrictEqual(f, Buffer.from([252, 0, 98, 0, 101, 0, 114, 0])); - } - - { - var f = Buffer.from('привет', encoding); -// console.error('f.length: %d (should be 12)', f.length); - assert.deepStrictEqual(f, - Buffer.from([63, 4, 64, 4, 56, 4, 50, 4, 53, 4, 66, 4])); - assert.equal(f.toString(encoding), 'привет'); - } - - { - var f = Buffer.from([0, 0, 0, 0, 0]); - assert.equal(f.length, 5); - var size = f.write('あいうえお', encoding); -// console.error('bytes written to buffer: %d (should be 4)', size); - assert.equal(size, 4); - assert.deepStrictEqual(f, Buffer.from([0x42, 0x30, 0x44, 0x30, 0x00])); - } -}); - -{ - var f = Buffer.from('\uD83D\uDC4D', 'utf-16le'); // THUMBS UP SIGN (U+1F44D) - assert.equal(f.length, 4); - assert.deepStrictEqual(f, Buffer.from('3DD84DDC', 'hex')); -} - - -var arrayIsh = {0: 0, 1: 1, 2: 2, 3: 3, length: 4}; -var g = Buffer.from(arrayIsh); -assert.deepStrictEqual(g, Buffer.from([0, 1, 2, 3])); -var strArrayIsh = {0: '0', 1: '1', 2: '2', 3: '3', length: 4}; -g = Buffer.from(strArrayIsh); -assert.deepStrictEqual(g, Buffer.from([0, 1, 2, 3])); - - -// -// Test toString('base64') -// -assert.equal('TWFu', (Buffer.from('Man')).toString('base64')); - -{ - // test that regular and URL-safe base64 both work - var expected = [0xff, 0xff, 0xbe, 0xff, 0xef, 0xbf, 0xfb, 0xef, 0xff]; - assert.deepStrictEqual(Buffer.from('//++/++/++//', 'base64'), - Buffer.from(expected)); - assert.deepStrictEqual(Buffer.from('__--_--_--__', 'base64'), - Buffer.from(expected)); -} - -{ - // big example - var quote = 'Man is distinguished, not only by his reason, but by this ' + - 'singular passion from other animals, which is a lust ' + - 'of the mind, that by a perseverance of delight in the ' + - 'continued and indefatigable generation of knowledge, ' + - 'exceeds the short vehemence of any carnal pleasure.'; - var expected = 'TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb' + - '24sIGJ1dCBieSB0aGlzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlci' + - 'BhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2YgdGhlIG1pbmQsIHRoYXQ' + - 'gYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGlu' + - 'dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZ' + - 'GdlLCBleGNlZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm' + - '5hbCBwbGVhc3VyZS4='; - assert.equal(expected, (Buffer.from(quote)).toString('base64')); - - var b = Buffer.allocUnsafe(1024); - var bytesWritten = b.write(expected, 0, 'base64'); - assert.equal(quote.length, bytesWritten); - assert.equal(quote, b.toString('ascii', 0, quote.length)); - - // check that the base64 decoder ignores whitespace - var expectedWhite = expected.slice(0, 60) + ' \n' + - expected.slice(60, 120) + ' \n' + - expected.slice(120, 180) + ' \n' + - expected.slice(180, 240) + ' \n' + - expected.slice(240, 300) + '\n' + - expected.slice(300, 360) + '\n'; - b = Buffer.allocUnsafe(1024); - bytesWritten = b.write(expectedWhite, 0, 'base64'); - assert.equal(quote.length, bytesWritten); - assert.equal(quote, b.toString('ascii', 0, quote.length)); - - // check that the base64 decoder on the constructor works - // even in the presence of whitespace. - b = Buffer.from(expectedWhite, 'base64'); - assert.equal(quote.length, b.length); - assert.equal(quote, b.toString('ascii', 0, quote.length)); - - // check that the base64 decoder ignores illegal chars - var expectedIllegal = expected.slice(0, 60) + ' \x80' + - expected.slice(60, 120) + ' \xff' + - expected.slice(120, 180) + ' \x00' + - expected.slice(180, 240) + ' \x98' + - expected.slice(240, 300) + '\x03' + - expected.slice(300, 360); - b = Buffer.from(expectedIllegal, 'base64'); - assert.equal(quote.length, b.length); - assert.equal(quote, b.toString('ascii', 0, quote.length)); -} - -assert.equal(Buffer.from('', 'base64').toString(), ''); -assert.equal(Buffer.from('K', 'base64').toString(), ''); - -// multiple-of-4 with padding -assert.equal(Buffer.from('Kg==', 'base64').toString(), '*'); -assert.equal(Buffer.from('Kio=', 'base64').toString(), '**'); -assert.equal(Buffer.from('Kioq', 'base64').toString(), '***'); -assert.equal(Buffer.from('KioqKg==', 'base64').toString(), '****'); -assert.equal(Buffer.from('KioqKio=', 'base64').toString(), '*****'); -assert.equal(Buffer.from('KioqKioq', 'base64').toString(), '******'); -assert.equal(Buffer.from('KioqKioqKg==', 'base64').toString(), '*******'); -assert.equal(Buffer.from('KioqKioqKio=', 'base64').toString(), '********'); -assert.equal(Buffer.from('KioqKioqKioq', 'base64').toString(), '*********'); -assert.equal(Buffer.from('KioqKioqKioqKg==', 'base64').toString(), - '**********'); -assert.equal(Buffer.from('KioqKioqKioqKio=', 'base64').toString(), - '***********'); -assert.equal(Buffer.from('KioqKioqKioqKioq', 'base64').toString(), - '************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKg==', 'base64').toString(), - '*************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKio=', 'base64').toString(), - '**************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioq', 'base64').toString(), - '***************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKg==', 'base64').toString(), - '****************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKio=', 'base64').toString(), - '*****************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioq', 'base64').toString(), - '******************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKg==', 'base64').toString(), - '*******************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKio=', 'base64').toString(), - '********************'); - -// no padding, not a multiple of 4 -assert.equal(Buffer.from('Kg', 'base64').toString(), '*'); -assert.equal(Buffer.from('Kio', 'base64').toString(), '**'); -assert.equal(Buffer.from('KioqKg', 'base64').toString(), '****'); -assert.equal(Buffer.from('KioqKio', 'base64').toString(), '*****'); -assert.equal(Buffer.from('KioqKioqKg', 'base64').toString(), '*******'); -assert.equal(Buffer.from('KioqKioqKio', 'base64').toString(), '********'); -assert.equal(Buffer.from('KioqKioqKioqKg', 'base64').toString(), '**********'); -assert.equal(Buffer.from('KioqKioqKioqKio', 'base64').toString(), - '***********'); -assert.equal(Buffer.from('KioqKioqKioqKioqKg', 'base64').toString(), - '*************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKio', 'base64').toString(), - '**************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKg', 'base64').toString(), - '****************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKio', 'base64').toString(), - '*****************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKg', 'base64').toString(), - '*******************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKio', 'base64').toString(), - '********************'); - -// handle padding graciously, multiple-of-4 or not -assert.equal( - Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw==', 'base64').length, - 32 -); -assert.equal( - Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw=', 'base64').length, - 32 -); -assert.equal( - Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw', 'base64').length, - 32 -); -assert.equal( - Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg==', 'base64').length, - 31 -); -assert.equal( - Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg=', 'base64').length, - 31 -); -assert.equal( - Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg', 'base64').length, - 31 -); - -// This string encodes single '.' character in UTF-16 -var dot = Buffer.from('//4uAA==', 'base64'); -assert.equal(dot[0], 0xff); -assert.equal(dot[1], 0xfe); -assert.equal(dot[2], 0x2e); -assert.equal(dot[3], 0x00); -assert.equal(dot.toString('base64'), '//4uAA=='); - -{ - // Writing base64 at a position > 0 should not mangle the result. - // - // https://github.com/joyent/node/issues/402 - var segments = ['TWFkbmVzcz8h', 'IFRoaXM=', 'IGlz', 'IG5vZGUuanMh']; - var b = Buffer.allocUnsafe(64); - var pos = 0; - - for (var i = 0; i < segments.length; ++i) { - pos += b.write(segments[i], pos, 'base64'); - } - assert.equal(b.toString('latin1', 0, pos), 'Madness?! This is node.js!'); -} - -// Regression test for https://github.com/nodejs/node/issues/3496. -// assert.equal(Buffer.from('=bad'.repeat(1e4), 'base64').length, 0); - -{ - // Creating buffers larger than pool size. - var l = Buffer.poolSize + 5; - var s = ''; - for (var i = 0; i < l; i++) { - s += 'h'; - } - - var b = Buffer.from(s); - - for (var i = 0; i < l; i++) { - assert.equal('h'.charCodeAt(0), b[i]); - } - - var sb = b.toString(); - assert.equal(sb.length, s.length); - assert.equal(sb, s); -} - -{ - // Single argument slice - var b = Buffer.from('abcde'); - assert.equal('bcde', b.slice(1).toString()); -} - -// slice(0,0).length === 0 -assert.equal(0, Buffer.from('hello').slice(0, 0).length); - -// test hex toString -// console.log('Create hex string from buffer'); -var hexb = Buffer.allocUnsafe(256); -for (var i = 0; i < 256; i++) { - hexb[i] = i; -} -var hexStr = hexb.toString('hex'); -assert.equal(hexStr, - '000102030405060708090a0b0c0d0e0f' + - '101112131415161718191a1b1c1d1e1f' + - '202122232425262728292a2b2c2d2e2f' + - '303132333435363738393a3b3c3d3e3f' + - '404142434445464748494a4b4c4d4e4f' + - '505152535455565758595a5b5c5d5e5f' + - '606162636465666768696a6b6c6d6e6f' + - '707172737475767778797a7b7c7d7e7f' + - '808182838485868788898a8b8c8d8e8f' + - '909192939495969798999a9b9c9d9e9f' + - 'a0a1a2a3a4a5a6a7a8a9aaabacadaeaf' + - 'b0b1b2b3b4b5b6b7b8b9babbbcbdbebf' + - 'c0c1c2c3c4c5c6c7c8c9cacbcccdcecf' + - 'd0d1d2d3d4d5d6d7d8d9dadbdcdddedf' + - 'e0e1e2e3e4e5e6e7e8e9eaebecedeeef' + - 'f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff'); - -// console.log('Create buffer from hex string'); -var hexb2 = Buffer.from(hexStr, 'hex'); -for (var i = 0; i < 256; i++) { - assert.equal(hexb2[i], hexb[i]); -} - -{ - // test an invalid slice end. -// console.log('Try to slice off the end of the buffer'); - var b = Buffer.from([1, 2, 3, 4, 5]); - var b2 = b.toString('hex', 1, 10000); - var b3 = b.toString('hex', 1, 5); - var b4 = b.toString('hex', 1); - assert.equal(b2, b3); - assert.equal(b2, b4); -} - -function buildBuffer(data) { - if (Array.isArray(data)) { - var buffer = Buffer.allocUnsafe(data.length); - data.forEach(function(v, k) { - buffer[k] = v; - }); - return buffer; - } - return null; -} - -var x = buildBuffer([0x81, 0xa3, 0x66, 0x6f, 0x6f, 0xa3, 0x62, 0x61, 0x72]); - -// console.log(x.inspect()); -assert.equal('', x.inspect()); - -{ - var z = x.slice(4); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(5, z.length); - assert.equal(0x6f, z[0]); - assert.equal(0xa3, z[1]); - assert.equal(0x62, z[2]); - assert.equal(0x61, z[3]); - assert.equal(0x72, z[4]); -} - -{ - var z = x.slice(0); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(z.length, x.length); -} - -{ - var z = x.slice(0, 4); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(4, z.length); - assert.equal(0x81, z[0]); - assert.equal(0xa3, z[1]); -} - -{ - var z = x.slice(0, 9); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(9, z.length); -} - -{ - var z = x.slice(1, 4); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(3, z.length); - assert.equal(0xa3, z[0]); -} - -{ - var z = x.slice(2, 4); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(2, z.length); - assert.equal(0x66, z[0]); - assert.equal(0x6f, z[1]); -} - -assert.equal(0, Buffer.from('hello').slice(0, 0).length); - -['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) { - var b = Buffer.allocUnsafe(10); - b.write('あいうえお', encoding); - assert.equal(b.toString(encoding), 'あいうえお'); -}); - -{ - // Binary encoding should write only one byte per character. - var b = Buffer.from([0xde, 0xad, 0xbe, 0xef]); - var s = String.fromCharCode(0xffff); - b.write(s, 0, 'latin1'); - assert.equal(0xff, b[0]); - assert.equal(0xad, b[1]); - assert.equal(0xbe, b[2]); - assert.equal(0xef, b[3]); - s = String.fromCharCode(0xaaee); - b.write(s, 0, 'latin1'); - assert.equal(0xee, b[0]); - assert.equal(0xad, b[1]); - assert.equal(0xbe, b[2]); - assert.equal(0xef, b[3]); -} - -{ - // #1210 Test UTF-8 string includes null character - var buf = Buffer.from('\0'); - assert.equal(buf.length, 1); - buf = Buffer.from('\0\0'); - assert.equal(buf.length, 2); -} - -{ - var buf = Buffer.allocUnsafe(2); - var written = buf.write(''); // 0byte - assert.equal(written, 0); - written = buf.write('\0'); // 1byte (v8 adds null terminator) - assert.equal(written, 1); - written = buf.write('a\0'); // 1byte * 2 - assert.equal(written, 2); - written = buf.write('あ'); // 3bytes - assert.equal(written, 0); - written = buf.write('\0あ'); // 1byte + 3bytes - assert.equal(written, 1); - written = buf.write('\0\0あ'); // 1byte * 2 + 3bytes - assert.equal(written, 2); -} - -{ - var buf = Buffer.allocUnsafe(10); - written = buf.write('あいう'); // 3bytes * 3 (v8 adds null terminator) - assert.equal(written, 9); - written = buf.write('あいう\0'); // 3bytes * 3 + 1byte - assert.equal(written, 10); -} - -{ - // #243 Test write() with maxLength - var buf = Buffer.allocUnsafe(4); - buf.fill(0xFF); - var written = buf.write('abcd', 1, 2, 'utf8'); -// console.log(buf); - assert.equal(written, 2); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0x61); - assert.equal(buf[2], 0x62); - assert.equal(buf[3], 0xFF); - - buf.fill(0xFF); - written = buf.write('abcd', 1, 4); -// console.log(buf); - assert.equal(written, 3); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0x61); - assert.equal(buf[2], 0x62); - assert.equal(buf[3], 0x63); - - buf.fill(0xFF); - written = buf.write('abcd', 1, 2, 'utf8'); -// console.log(buf); - assert.equal(written, 2); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0x61); - assert.equal(buf[2], 0x62); - assert.equal(buf[3], 0xFF); - - buf.fill(0xFF); - written = buf.write('abcdef', 1, 2, 'hex'); -// console.log(buf); - assert.equal(written, 2); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0xAB); - assert.equal(buf[2], 0xCD); - assert.equal(buf[3], 0xFF); - - ['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) { - buf.fill(0xFF); - written = buf.write('abcd', 0, 2, encoding); -// console.log(buf); - assert.equal(written, 2); - assert.equal(buf[0], 0x61); - assert.equal(buf[1], 0x00); - assert.equal(buf[2], 0xFF); - assert.equal(buf[3], 0xFF); - }); -} - -{ - // test offset returns are correct - var b = Buffer.allocUnsafe(16); - assert.equal(4, b.writeUInt32LE(0, 0)); - assert.equal(6, b.writeUInt16LE(0, 4)); - assert.equal(7, b.writeUInt8(0, 6)); - assert.equal(8, b.writeInt8(0, 7)); - assert.equal(16, b.writeDoubleLE(0, 8)); -} - -{ - // test unmatched surrogates not producing invalid utf8 output - // ef bf bd = utf-8 representation of unicode replacement character - // see https://codereview.chromium.org/121173009/ - var buf = Buffer.from('ab\ud800cd', 'utf8'); - assert.equal(buf[0], 0x61); - assert.equal(buf[1], 0x62); - assert.equal(buf[2], 0xef); - assert.equal(buf[3], 0xbf); - assert.equal(buf[4], 0xbd); - assert.equal(buf[5], 0x63); - assert.equal(buf[6], 0x64); -} - -{ - // test for buffer overrun - var buf = Buffer.from([0, 0, 0, 0, 0]); // length: 5 - var sub = buf.slice(0, 4); // length: 4 - written = sub.write('12345', 'latin1'); - assert.equal(written, 4); - assert.equal(buf[4], 0); -} - -// Check for fractional length args, junk length args, etc. -// https://github.com/joyent/node/issues/1758 - -// Call .fill() first, stops valgrind warning about uninitialized memory reads. -Buffer.allocUnsafe(3.3).fill().toString(); - // throws bad argument error in commit 43cb4ec -Buffer.alloc(3.3).fill().toString(); -assert.equal(Buffer.allocUnsafe(NaN).length, 0); -assert.equal(Buffer.allocUnsafe(3.3).length, 3); -assert.equal(Buffer.from({length: 3.3}).length, 3); -assert.equal(Buffer.from({length: 'BAM'}).length, 0); - -// Make sure that strings are not coerced to numbers. -assert.equal(Buffer.from('99').length, 2); -assert.equal(Buffer.from('13.37').length, 5); - -// Ensure that the length argument is respected. -'ascii utf8 hex base64 latin1'.split(' ').forEach(function(enc) { - assert.equal(Buffer.allocUnsafe(1).write('aaaaaa', 0, 1, enc), 1); -}); - -{ - // Regression test, guard against buffer overrun in the base64 decoder. - var a = Buffer.allocUnsafe(3); - var b = Buffer.from('xxx'); - a.write('aaaaaaaa', 'base64'); - assert.equal(b.toString(), 'xxx'); -} - -// issue GH-3416 -Buffer.from(Buffer.allocUnsafe(0), 0, 0); - -[ 'hex', - 'utf8', - 'utf-8', - 'ascii', - 'latin1', - 'binary', - 'base64', - 'ucs2', - 'ucs-2', - 'utf16le', - 'utf-16le' ].forEach(function(enc) { - assert.equal(Buffer.isEncoding(enc), true); - }); - -[ 'utf9', - 'utf-7', - 'Unicode-FTW', - 'new gnu gun', - false, - NaN, - {}, - Infinity, - [], - 1, - 0, - -1 ].forEach(function(enc) { - assert.equal(Buffer.isEncoding(enc), false); - }); - - -// GH-5110 -{ - var buffer = Buffer.from('test'); - var string = JSON.stringify(buffer); - - assert.strictEqual(string, '{"type":"Buffer","data":[116,101,115,116]}'); - - assert.deepStrictEqual(buffer, JSON.parse(string, function(key, value) { - return value && value.type === 'Buffer' - ? Buffer.from(value.data) - : value; - })); -} - -// issue GH-7849 -{ - var buf = Buffer.from('test'); - var json = JSON.stringify(buf); - var obj = JSON.parse(json); - var copy = Buffer.from(obj); - - assert(buf.equals(copy)); -} - -// issue GH-4331 -assert.throws(function() { - Buffer.allocUnsafe(0xFFFFFFFF); -}, RangeError); -assert.throws(function() { - Buffer.allocUnsafe(0xFFFFFFFFF); -}, RangeError); - - -// attempt to overflow buffers, similar to previous bug in array buffers -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.readFloatLE(0xffffffff); -}, RangeError); - -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.writeFloatLE(0.0, 0xffffffff); -}, RangeError); - -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.readFloatLE(0xffffffff); -}, RangeError); - -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.writeFloatLE(0.0, 0xffffffff); -}, RangeError); - - -// ensure negative values can't get past offset -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.readFloatLE(-1); -}, RangeError); - -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.writeFloatLE(0.0, -1); -}, RangeError); - -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.readFloatLE(-1); -}, RangeError); - -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.writeFloatLE(0.0, -1); -}, RangeError); - -// offset checks -{ - var buf = Buffer.allocUnsafe(0); - - assert.throws(function() { buf.readUInt8(0); }, RangeError); - assert.throws(function() { buf.readInt8(0); }, RangeError); -} - -{ - var buf = Buffer.from([0xFF]); - - assert.equal(buf.readUInt8(0), 255); - assert.equal(buf.readInt8(0), -1); -} - -[16, 32].forEach(function(bits) { - var buf = Buffer.allocUnsafe(bits / 8 - 1); - - assert.throws(function() { buf['readUInt' + bits + 'BE'](0); }, - RangeError, - 'readUInt' + bits + 'BE'); - - assert.throws(function() { buf['readUInt' + bits + 'LE'](0); }, - RangeError, - 'readUInt' + bits + 'LE'); - - assert.throws(function() { buf['readInt' + bits + 'BE'](0); }, - RangeError, - 'readInt' + bits + 'BE()'); - - assert.throws(function() { buf['readInt' + bits + 'LE'](0); }, - RangeError, - 'readInt' + bits + 'LE()'); -}); - -[16, 32].forEach(function(bits) { - var buf = Buffer.from([0xFF, 0xFF, 0xFF, 0xFF]); - - assert.equal(buf['readUInt' + bits + 'BE'](0), - (0xFFFFFFFF >>> (32 - bits))); - - assert.equal(buf['readUInt' + bits + 'LE'](0), - (0xFFFFFFFF >>> (32 - bits))); - - assert.equal(buf['readInt' + bits + 'BE'](0), - (0xFFFFFFFF >> (32 - bits))); - - assert.equal(buf['readInt' + bits + 'LE'](0), - (0xFFFFFFFF >> (32 - bits))); -}); - -// test for common read(U)IntLE/BE -{ - var buf = Buffer.from([0x01, 0x02, 0x03, 0x04, 0x05, 0x06]); - - assert.strictEqual(buf.readUIntLE(0, 1), 0x01); - assert.strictEqual(buf.readUIntBE(0, 1), 0x01); - assert.strictEqual(buf.readUIntLE(0, 3), 0x030201); - assert.strictEqual(buf.readUIntBE(0, 3), 0x010203); - assert.strictEqual(buf.readUIntLE(0, 5), 0x0504030201); - assert.strictEqual(buf.readUIntBE(0, 5), 0x0102030405); - assert.strictEqual(buf.readUIntLE(0, 6), 0x060504030201); - assert.strictEqual(buf.readUIntBE(0, 6), 0x010203040506); - assert.strictEqual(buf.readIntLE(0, 1), 0x01); - assert.strictEqual(buf.readIntBE(0, 1), 0x01); - assert.strictEqual(buf.readIntLE(0, 3), 0x030201); - assert.strictEqual(buf.readIntBE(0, 3), 0x010203); - assert.strictEqual(buf.readIntLE(0, 5), 0x0504030201); - assert.strictEqual(buf.readIntBE(0, 5), 0x0102030405); - assert.strictEqual(buf.readIntLE(0, 6), 0x060504030201); - assert.strictEqual(buf.readIntBE(0, 6), 0x010203040506); -} - -// test for common write(U)IntLE/BE -{ - var buf = Buffer.allocUnsafe(3); - buf.writeUIntLE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]); - assert.equal(buf.readUIntLE(0, 3), 0x123456); - - buf = Buffer.allocUnsafe(3); - buf.writeUIntBE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]); - assert.equal(buf.readUIntBE(0, 3), 0x123456); - - buf = Buffer.allocUnsafe(3); - buf.writeIntLE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]); - assert.equal(buf.readIntLE(0, 3), 0x123456); - - buf = Buffer.allocUnsafe(3); - buf.writeIntBE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]); - assert.equal(buf.readIntBE(0, 3), 0x123456); - - buf = Buffer.allocUnsafe(3); - buf.writeIntLE(-0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xaa, 0xcb, 0xed]); - assert.equal(buf.readIntLE(0, 3), -0x123456); - - buf = Buffer.allocUnsafe(3); - buf.writeIntBE(-0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xaa]); - assert.equal(buf.readIntBE(0, 3), -0x123456); - - buf = Buffer.allocUnsafe(3); - buf.writeIntLE(-0x123400, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x00, 0xcc, 0xed]); - assert.equal(buf.readIntLE(0, 3), -0x123400); - - buf = Buffer.allocUnsafe(3); - buf.writeIntBE(-0x123400, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcc, 0x00]); - assert.equal(buf.readIntBE(0, 3), -0x123400); - - buf = Buffer.allocUnsafe(3); - buf.writeIntLE(-0x120000, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0xee]); - assert.equal(buf.readIntLE(0, 3), -0x120000); - - buf = Buffer.allocUnsafe(3); - buf.writeIntBE(-0x120000, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xee, 0x00, 0x00]); - assert.equal(buf.readIntBE(0, 3), -0x120000); - - buf = Buffer.allocUnsafe(5); - buf.writeUIntLE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x90, 0x78, 0x56, 0x34, 0x12]); - assert.equal(buf.readUIntLE(0, 5), 0x1234567890); - - buf = Buffer.allocUnsafe(5); - buf.writeUIntBE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56, 0x78, 0x90]); - assert.equal(buf.readUIntBE(0, 5), 0x1234567890); - - buf = Buffer.allocUnsafe(5); - buf.writeIntLE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x90, 0x78, 0x56, 0x34, 0x12]); - assert.equal(buf.readIntLE(0, 5), 0x1234567890); - - buf = Buffer.allocUnsafe(5); - buf.writeIntBE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56, 0x78, 0x90]); - assert.equal(buf.readIntBE(0, 5), 0x1234567890); - - buf = Buffer.allocUnsafe(5); - buf.writeIntLE(-0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x70, 0x87, 0xa9, 0xcb, 0xed]); - assert.equal(buf.readIntLE(0, 5), -0x1234567890); - - buf = Buffer.allocUnsafe(5); - buf.writeIntBE(-0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xa9, 0x87, 0x70]); - assert.equal(buf.readIntBE(0, 5), -0x1234567890); - - buf = Buffer.allocUnsafe(5); - buf.writeIntLE(-0x0012000000, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0x00, 0xee, 0xff]); - assert.equal(buf.readIntLE(0, 5), -0x0012000000); - - buf = Buffer.allocUnsafe(5); - buf.writeIntBE(-0x0012000000, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0xff, 0xee, 0x00, 0x00, 0x00]); - assert.equal(buf.readIntBE(0, 5), -0x0012000000); -} - -// test Buffer slice -{ - var buf = Buffer.from('0123456789'); - assert.equal(buf.slice(-10, 10), '0123456789'); - assert.equal(buf.slice(-20, 10), '0123456789'); - assert.equal(buf.slice(-20, -10), ''); - assert.equal(buf.slice(), '0123456789'); - assert.equal(buf.slice(0), '0123456789'); - assert.equal(buf.slice(0, 0), ''); - assert.equal(buf.slice(undefined), '0123456789'); - assert.equal(buf.slice('foobar'), '0123456789'); - assert.equal(buf.slice(undefined, undefined), '0123456789'); - - assert.equal(buf.slice(2), '23456789'); - assert.equal(buf.slice(5), '56789'); - assert.equal(buf.slice(10), ''); - assert.equal(buf.slice(5, 8), '567'); - assert.equal(buf.slice(8, -1), '8'); - assert.equal(buf.slice(-10), '0123456789'); - assert.equal(buf.slice(0, -9), '0'); - assert.equal(buf.slice(0, -10), ''); - assert.equal(buf.slice(0, -1), '012345678'); - assert.equal(buf.slice(2, -2), '234567'); - assert.equal(buf.slice(0, 65536), '0123456789'); - assert.equal(buf.slice(65536, 0), ''); - assert.equal(buf.slice(-5, -8), ''); - assert.equal(buf.slice(-5, -3), '56'); - assert.equal(buf.slice(-10, 10), '0123456789'); - for (var i = 0, s = buf.toString(); i < buf.length; ++i) { - assert.equal(buf.slice(i), s.slice(i)); - assert.equal(buf.slice(0, i), s.slice(0, i)); - assert.equal(buf.slice(-i), s.slice(-i)); - assert.equal(buf.slice(0, -i), s.slice(0, -i)); - } - - var utf16Buf = Buffer.from('0123456789', 'utf16le'); - // assert.deepStrictEqual(utf16Buf.slice(0, 6), Buffer.from('012', 'utf16le')); - - assert.equal(buf.slice('0', '1'), '0'); - assert.equal(buf.slice('-5', '10'), '56789'); - assert.equal(buf.slice('-10', '10'), '0123456789'); - assert.equal(buf.slice('-10', '-5'), '01234'); - assert.equal(buf.slice('-10', '-0'), ''); - assert.equal(buf.slice('111'), ''); - assert.equal(buf.slice('0', '-111'), ''); - - // try to slice a zero length Buffer - // see https://github.com/joyent/node/issues/5881 - Buffer.alloc(0).slice(0, 1); -} - -// Regression test for #5482: should throw but not assert in C++ land. -assert.throws(function() { - Buffer.from('', 'buffer'); -}, TypeError); - -// Regression test for #6111. Constructing a buffer from another buffer -// should a) work, and b) not corrupt the source buffer. -{ - var a = [0]; - for (var i = 0; i < 7; ++i) a = a.concat(a); - a = a.map(function(_, i) { return i; }); - var b = Buffer.from(a); - var c = Buffer.from(b); - assert.strictEqual(b.length, a.length); - assert.strictEqual(c.length, a.length); - for (var i = 0, k = a.length; i < k; ++i) { - assert.strictEqual(a[i], i); - assert.strictEqual(b[i], i); - assert.strictEqual(c[i], i); - } -} - - -assert.throws(function() { - Buffer.allocUnsafe((-1 >>> 0) + 1); -}, RangeError); - -assert.throws(function() { - Buffer.allocUnsafeSlow((-1 >>> 0) + 1); -}, RangeError); - -if (common.hasCrypto) { - // Test truncation after decode - var crypto = require('crypto'); - - var b1 = Buffer.from('YW55=======', 'base64'); - var b2 = Buffer.from('YW55', 'base64'); - - assert.equal( - crypto.createHash('sha1').update(b1).digest('hex'), - crypto.createHash('sha1').update(b2).digest('hex') - ); -} else { - common.skip('missing crypto'); -} - -// Test Compare -{ - var b = Buffer.alloc(1, 'a'); - var c = Buffer.alloc(1, 'c'); - var d = Buffer.alloc(2, 'aa'); - - assert.equal(b.compare(c), -1); - assert.equal(c.compare(d), 1); - assert.equal(d.compare(b), 1); - assert.equal(b.compare(d), -1); - assert.equal(b.compare(b), 0); - - assert.equal(Buffer.compare(b, c), -1); - assert.equal(Buffer.compare(c, d), 1); - assert.equal(Buffer.compare(d, b), 1); - assert.equal(Buffer.compare(b, d), -1); - assert.equal(Buffer.compare(c, c), 0); - - assert.equal(Buffer.compare(Buffer.alloc(0), Buffer.alloc(0)), 0); - assert.equal(Buffer.compare(Buffer.alloc(0), Buffer.alloc(1)), -1); - assert.equal(Buffer.compare(Buffer.alloc(1), Buffer.alloc(0)), 1); -} - -assert.throws(function() { - var b = Buffer.allocUnsafe(1); - Buffer.compare(b, 'abc'); -}); - -assert.throws(function() { - var b = Buffer.allocUnsafe(1); - Buffer.compare('abc', b); -}); - -assert.throws(function() { - var b = Buffer.allocUnsafe(1); - b.compare('abc'); -}); - -// Test Equals -{ - var b = Buffer.alloc(5, 'abcdf'); - var c = Buffer.alloc(5, 'abcdf'); - var d = Buffer.alloc(5, 'abcde'); - var e = Buffer.alloc(6, 'abcdef'); - - assert.ok(b.equals(c)); - assert.ok(!c.equals(d)); - assert.ok(!d.equals(e)); - assert.ok(d.equals(d)); -} - -assert.throws(function() { - var b = Buffer.allocUnsafe(1); - b.equals('abc'); -}); - -// Regression test for https://github.com/nodejs/node/issues/649. -assert.throws(() => { Buffer.allocUnsafe(1422561062959).toString('utf8');}); - -var ps = Buffer.poolSize; -Buffer.poolSize = 0; -assert.equal(Buffer.allocUnsafe(1).parent, undefined); -Buffer.poolSize = ps; - -// Test Buffer.copy() segfault -assert.throws(function() { - Buffer.allocUnsafe(10).copy(); -}); - -var regErrorMsg = new RegExp('First argument must be a string, Buffer, ' + - 'ArrayBuffer, Array, or array-like object.'); - -assert.throws(function() { - Buffer.from(); -}, regErrorMsg); - -assert.throws(function() { - Buffer.from(null); -}, regErrorMsg); - - -// Test that ParseArrayIndex handles full uint32 -assert.throws(function() { - Buffer.from(new ArrayBuffer(0), -1 >>> 0); -}, /RangeError: 'offset' is out of bounds/); - -// ParseArrayIndex() should reject values that don't fit in a 32 bits size_t. -assert.throws(() => { - var a = Buffer(1).fill(0); - var b = Buffer(1).fill(0); - a.copy(b, 0, 0x100000000, 0x100000001); -}), /out of range index/; - -// Unpooled buffer (replaces SlowBuffer) -var ubuf = Buffer.allocUnsafeSlow(10); -assert(ubuf); -assert(ubuf.buffer); -assert.equal(ubuf.buffer.byteLength, 10); - -// Regression test -assert.doesNotThrow(() => { - Buffer.from(new ArrayBuffer()); -}); - -assert.throws(() => Buffer.alloc(-Buffer.poolSize), - '"size" argument must not be negative'); -assert.throws(() => Buffer.alloc(-100), - '"size" argument must not be negative'); -assert.throws(() => Buffer.allocUnsafe(-Buffer.poolSize), - '"size" argument must not be negative'); -assert.throws(() => Buffer.allocUnsafe(-100), - '"size" argument must not be negative'); -assert.throws(() => Buffer.allocUnsafeSlow(-Buffer.poolSize), - '"size" argument must not be negative'); -assert.throws(() => Buffer.allocUnsafeSlow(-100), - '"size" argument must not be negative'); - -assert.throws(() => Buffer.alloc({ valueOf: () => 1 }), - /"size" argument must be a number/); -assert.throws(() => Buffer.alloc({ valueOf: () => -1 }), - /"size" argument must be a number/); - diff --git a/src/node_modules/buffer/test/node/test-buffer-arraybuffer.js b/src/node_modules/buffer/test/node/test-buffer-arraybuffer.js deleted file mode 100644 index a418752..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-arraybuffer.js +++ /dev/null @@ -1,112 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - - -var assert = require('assert'); - -var Buffer = require('../../').Buffer; -var LENGTH = 16; - -var ab = new ArrayBuffer(LENGTH); -var dv = new DataView(ab); -var ui = new Uint8Array(ab); -var buf = Buffer.from(ab); - - -assert.ok(buf instanceof Buffer); -// For backwards compatibility of old .parent property test that if buf is not -// a slice then .parent should be undefined. -assert.equal(buf.parent, undefined); -assert.equal(buf.buffer, ab); -assert.equal(buf.length, ab.byteLength); - - -buf.fill(0xC); -for (var i = 0; i < LENGTH; i++) { - assert.equal(ui[i], 0xC); - ui[i] = 0xF; - assert.equal(buf[i], 0xF); -} - -buf.writeUInt32LE(0xF00, 0); -buf.writeUInt32BE(0xB47, 4); -buf.writeDoubleLE(3.1415, 8); - -assert.equal(dv.getUint32(0, true), 0xF00); -assert.equal(dv.getUint32(4), 0xB47); -assert.equal(dv.getFloat64(8, true), 3.1415); - - -// Now test protecting users from doing stupid things - -assert.throws(function() { - function AB() { } - Object.setPrototypeOf(AB, ArrayBuffer); - Object.setPrototypeOf(AB.prototype, ArrayBuffer.prototype); - Buffer.from(new AB()); -}, TypeError); - -// write{Double,Float}{LE,BE} with noAssert should not crash, cf. #3766 -var b = Buffer.allocUnsafe(1); -b.writeFloatLE(11.11, 0, true); -b.writeFloatBE(11.11, 0, true); -b.writeDoubleLE(11.11, 0, true); -b.writeDoubleBE(11.11, 0, true); - -// Test the byteOffset and length arguments -{ - var ab = new Uint8Array(5); - ab[0] = 1; - ab[1] = 2; - ab[2] = 3; - ab[3] = 4; - ab[4] = 5; - var buf = Buffer.from(ab.buffer, 1, 3); - assert.equal(buf.length, 3); - assert.equal(buf[0], 2); - assert.equal(buf[1], 3); - assert.equal(buf[2], 4); - buf[0] = 9; - assert.equal(ab[1], 9); - - assert.throws(() => Buffer.from(ab.buffer, 6), (err) => { - assert(err instanceof RangeError); - assert(/'offset' is out of bounds/.test(err.message)); - return true; - }); - assert.throws(() => Buffer.from(ab.buffer, 3, 6), (err) => { - assert(err instanceof RangeError); - assert(/'length' is out of bounds/.test(err.message)); - return true; - }); -} - -// Test the deprecated Buffer() version also -{ - var ab = new Uint8Array(5); - ab[0] = 1; - ab[1] = 2; - ab[2] = 3; - ab[3] = 4; - ab[4] = 5; - var buf = Buffer(ab.buffer, 1, 3); - assert.equal(buf.length, 3); - assert.equal(buf[0], 2); - assert.equal(buf[1], 3); - assert.equal(buf[2], 4); - buf[0] = 9; - assert.equal(ab[1], 9); - - assert.throws(() => Buffer(ab.buffer, 6), (err) => { - assert(err instanceof RangeError); - assert(/'offset' is out of bounds/.test(err.message)); - return true; - }); - assert.throws(() => Buffer(ab.buffer, 3, 6), (err) => { - assert(err instanceof RangeError); - assert(/'length' is out of bounds/.test(err.message)); - return true; - }); -} - diff --git a/src/node_modules/buffer/test/node/test-buffer-ascii.js b/src/node_modules/buffer/test/node/test-buffer-ascii.js deleted file mode 100644 index 4a06098..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-ascii.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - -var assert = require('assert'); - -// ASCII conversion in node.js simply masks off the high bits, -// it doesn't do transliteration. -assert.equal(Buffer.from('hérité').toString('ascii'), 'hC)ritC)'); - -// 71 characters, 78 bytes. The ’ character is a triple-byte sequence. -var input = 'C’est, graphiquement, la réunion d’un accent aigu ' + - 'et d’un accent grave.'; - -var expected = 'Cb\u0000\u0019est, graphiquement, la rC)union ' + - 'db\u0000\u0019un accent aigu et db\u0000\u0019un ' + - 'accent grave.'; - -var buf = Buffer.from(input); - -for (var i = 0; i < expected.length; ++i) { - assert.equal(buf.slice(i).toString('ascii'), expected.slice(i)); - - // Skip remainder of multi-byte sequence. - if (input.charCodeAt(i) > 65535) ++i; - if (input.charCodeAt(i) > 127) ++i; -} - diff --git a/src/node_modules/buffer/test/node/test-buffer-bad-overload.js b/src/node_modules/buffer/test/node/test-buffer-bad-overload.js deleted file mode 100644 index 282227d..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-bad-overload.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - -var assert = require('assert'); - -assert.doesNotThrow(function() { - Buffer.allocUnsafe(10); -}); - -assert.throws(function() { - Buffer.from(10, 'hex'); -}); - -assert.doesNotThrow(function() { - Buffer.from('deadbeaf', 'hex'); -}); - diff --git a/src/node_modules/buffer/test/node/test-buffer-badhex.js b/src/node_modules/buffer/test/node/test-buffer-badhex.js deleted file mode 100644 index fd7851d..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-badhex.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - -var assert = require('assert'); -var Buffer = require('../../').Buffer; - -// Test hex strings and bad hex strings -{ - var buf1 = Buffer.alloc(4); - assert.strictEqual(buf1.length, 4); - assert.deepStrictEqual(buf1, new Buffer([0, 0, 0, 0])); - assert.strictEqual(buf1.write('abcdxx', 0, 'hex'), 2); - assert.deepStrictEqual(buf1, new Buffer([0xab, 0xcd, 0x00, 0x00])); - assert.strictEqual(buf1.toString('hex'), 'abcd0000'); - assert.strictEqual(buf1.write('abcdef01', 0, 'hex'), 4); - assert.deepStrictEqual(buf1, new Buffer([0xab, 0xcd, 0xef, 0x01])); - assert.strictEqual(buf1.toString('hex'), 'abcdef01'); - - var buf2 = Buffer.from(buf1.toString('hex'), 'hex'); - assert.strictEqual(buf1.toString('hex'), buf2.toString('hex')); - - var buf3 = Buffer.alloc(5); - assert.strictEqual(buf3.write('abcdxx', 1, 'hex'), 2); - assert.strictEqual(buf3.toString('hex'), '00abcd0000'); - - var buf4 = Buffer.alloc(4); - assert.deepStrictEqual(buf4, new Buffer([0, 0, 0, 0])); - assert.strictEqual(buf4.write('xxabcd', 0, 'hex'), 0); - assert.deepStrictEqual(buf4, new Buffer([0, 0, 0, 0])); - assert.strictEqual(buf4.write('xxab', 1, 'hex'), 0); - assert.deepStrictEqual(buf4, new Buffer([0, 0, 0, 0])); - assert.strictEqual(buf4.write('cdxxab', 0, 'hex'), 1); - assert.deepStrictEqual(buf4, new Buffer([0xcd, 0, 0, 0])); - - var buf5 = Buffer.alloc(256); - for (var i = 0; i < 256; i++) - buf5[i] = i; - - var hex = buf5.toString('hex'); - assert.deepStrictEqual(Buffer.from(hex, 'hex'), buf5); - - var badHex = hex.slice(0, 256) + 'xx' + hex.slice(256, 510); - assert.deepStrictEqual(Buffer.from(badHex, 'hex'), buf5.slice(0, 128)); -} - diff --git a/src/node_modules/buffer/test/node/test-buffer-bytelength.js b/src/node_modules/buffer/test/node/test-buffer-bytelength.js deleted file mode 100644 index 8d7dc35..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-bytelength.js +++ /dev/null @@ -1,90 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - - -var assert = require('assert'); -var Buffer = require('../../').Buffer; -var SlowBuffer = require('../../').SlowBuffer; - -// coerce values to string -assert.equal(Buffer.byteLength(32, 'latin1'), 2); -assert.equal(Buffer.byteLength(NaN, 'utf8'), 3); -assert.equal(Buffer.byteLength({}, 'latin1'), 15); -assert.equal(Buffer.byteLength(), 9); - -var buff = new Buffer(10); -assert(ArrayBuffer.isView(buff)); -var slowbuff = new SlowBuffer(10); -assert(ArrayBuffer.isView(slowbuff)); - -// buffer -var incomplete = Buffer.from([0xe4, 0xb8, 0xad, 0xe6, 0x96]); -assert.equal(Buffer.byteLength(incomplete), 5); -var ascii = Buffer.from('abc'); -assert.equal(Buffer.byteLength(ascii), 3); - -// ArrayBuffer -var buffer = new ArrayBuffer(8); -assert.equal(Buffer.byteLength(buffer), 8); - -// TypedArray -var int8 = new Int8Array(8); -assert.equal(Buffer.byteLength(int8), 8); -var uint8 = new Uint8Array(8); -assert.equal(Buffer.byteLength(uint8), 8); -var uintc8 = new Uint8ClampedArray(2); -assert.equal(Buffer.byteLength(uintc8), 2); -var int16 = new Int16Array(8); -assert.equal(Buffer.byteLength(int16), 16); -var uint16 = new Uint16Array(8); -assert.equal(Buffer.byteLength(uint16), 16); -var int32 = new Int32Array(8); -assert.equal(Buffer.byteLength(int32), 32); -var uint32 = new Uint32Array(8); -assert.equal(Buffer.byteLength(uint32), 32); -var float32 = new Float32Array(8); -assert.equal(Buffer.byteLength(float32), 32); -var float64 = new Float64Array(8); -assert.equal(Buffer.byteLength(float64), 64); - -// DataView -var dv = new DataView(new ArrayBuffer(2)); -assert.equal(Buffer.byteLength(dv), 2); - -// special case: zero length string -assert.equal(Buffer.byteLength('', 'ascii'), 0); -assert.equal(Buffer.byteLength('', 'HeX'), 0); - -// utf8 -assert.equal(Buffer.byteLength('∑éllö wørl∂!', 'utf-8'), 19); -assert.equal(Buffer.byteLength('κλμνξο', 'utf8'), 12); -assert.equal(Buffer.byteLength('挵挶挷挸挹', 'utf-8'), 15); -assert.equal(Buffer.byteLength('𠝹𠱓𠱸', 'UTF8'), 12); -// without an encoding, utf8 should be assumed -assert.equal(Buffer.byteLength('hey there'), 9); -assert.equal(Buffer.byteLength('𠱸挶νξ#xx :)'), 17); -assert.equal(Buffer.byteLength('hello world', ''), 11); -// it should also be assumed with unrecognized encoding -assert.equal(Buffer.byteLength('hello world', 'abc'), 11); -assert.equal(Buffer.byteLength('ßœ∑≈', 'unkn0wn enc0ding'), 10); - -// base64 -assert.equal(Buffer.byteLength('aGVsbG8gd29ybGQ=', 'base64'), 11); -assert.equal(Buffer.byteLength('bm9kZS5qcyByb2NrcyE=', 'base64'), 14); -assert.equal(Buffer.byteLength('aGkk', 'base64'), 3); -assert.equal(Buffer.byteLength('bHNrZGZsa3NqZmtsc2xrZmFqc2RsZmtqcw==', - 'base64'), 25); -// special padding -assert.equal(Buffer.byteLength('aaa=', 'base64'), 2); -assert.equal(Buffer.byteLength('aaaa==', 'base64'), 3); - -assert.equal(Buffer.byteLength('Il était tué'), 14); -assert.equal(Buffer.byteLength('Il était tué', 'utf8'), 14); -assert.equal(Buffer.byteLength('Il était tué', 'ascii'), 12); -assert.equal(Buffer.byteLength('Il était tué', 'latin1'), 12); -assert.equal(Buffer.byteLength('Il était tué', 'binary'), 12); -['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) { - assert.equal(24, Buffer.byteLength('Il était tué', encoding)); -}); - diff --git a/src/node_modules/buffer/test/node/test-buffer-compare-offset.js b/src/node_modules/buffer/test/node/test-buffer-compare-offset.js deleted file mode 100644 index f1984ed..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-compare-offset.js +++ /dev/null @@ -1,66 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - - -var assert = require('assert'); - -var a = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]); -var b = Buffer.from([5, 6, 7, 8, 9, 0, 1, 2, 3, 4]); - -assert.equal(-1, a.compare(b)); - -// Equivalent to a.compare(b). -assert.equal(-1, a.compare(b, 0)); -assert.equal(-1, a.compare(b, '0')); - -// Equivalent to a.compare(b). -assert.equal(-1, a.compare(b, 0, undefined, 0)); - -// Zero-length targer, return 1 -assert.equal(1, a.compare(b, 0, 0, 0)); -assert.equal(1, a.compare(b, '0', '0', '0')); - -// Equivalent to Buffer.compare(a, b.slice(6, 10)) -assert.equal(1, a.compare(b, 6, 10)); - -// Zero-length source, return -1 -assert.equal(-1, a.compare(b, 6, 10, 0, 0)); - -// Equivalent to Buffer.compare(a.slice(4), b.slice(0, 5)) -assert.equal(1, a.compare(b, 0, 5, 4)); - -// Equivalent to Buffer.compare(a.slice(1), b.slice(5)) -assert.equal(1, a.compare(b, 5, undefined, 1)); - -// Equivalent to Buffer.compare(a.slice(2), b.slice(2, 4)) -assert.equal(-1, a.compare(b, 2, 4, 2)); - -// Equivalent to Buffer.compare(a.slice(4), b.slice(0, 7)) -assert.equal(-1, a.compare(b, 0, 7, 4)); - -// Equivalent to Buffer.compare(a.slice(4, 6), b.slice(0, 7)); -assert.equal(-1, a.compare(b, 0, 7, 4, 6)); - -// zero length target -assert.equal(1, a.compare(b, 0, null)); - -// coerces to targetEnd == 5 -assert.equal(-1, a.compare(b, 0, {valueOf: () => 5})); - -// zero length target -assert.equal(1, a.compare(b, Infinity, -Infinity)); - -// zero length target because default for targetEnd <= targetSource -assert.equal(1, a.compare(b, '0xff')); - -var oor = /out of range index/; - -assert.throws(() => a.compare(b, 0, 100, 0), oor); -assert.throws(() => a.compare(b, 0, 1, 0, 100), oor); -assert.throws(() => a.compare(b, -1), oor); -assert.throws(() => a.compare(b, 0, '0xff'), oor); -assert.throws(() => a.compare(b, 0, Infinity), oor); -assert.throws(() => a.compare(b, -Infinity, Infinity), oor); -assert.throws(() => a.compare(), /Argument must be a Buffer/); - diff --git a/src/node_modules/buffer/test/node/test-buffer-concat.js b/src/node_modules/buffer/test/node/test-buffer-concat.js deleted file mode 100644 index c0dc4da..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-concat.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - -var assert = require('assert'); - -var zero = []; -var one = [ Buffer.from('asdf') ]; -var long = []; -for (var i = 0; i < 10; i++) long.push(Buffer.from('asdf')); - -var flatZero = Buffer.concat(zero); -var flatOne = Buffer.concat(one); -var flatLong = Buffer.concat(long); -var flatLongLen = Buffer.concat(long, 40); - -assert(flatZero.length === 0); -assert(flatOne.toString() === 'asdf'); -// A special case where concat used to return the first item, -// if the length is one. This check is to make sure that we don't do that. -assert(flatOne !== one[0]); -assert(flatLong.toString() === (new Array(10 + 1).join('asdf'))); -assert(flatLongLen.toString() === (new Array(10 + 1).join('asdf'))); - -assertWrongList(); -assertWrongList(null); -assertWrongList(Buffer.from('hello')); -assertWrongList([42]); -assertWrongList(['hello', 'world']); -assertWrongList(['hello', Buffer.from('world')]); - -function assertWrongList(value) { - assert.throws(function() { - Buffer.concat(value); - }, function(err) { - return err instanceof TypeError && - err.message === '"list" argument must be an Array of Buffers'; - }); -} - diff --git a/src/node_modules/buffer/test/node/test-buffer-fill.js b/src/node_modules/buffer/test/node/test-buffer-fill.js deleted file mode 100644 index 7138094..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-fill.js +++ /dev/null @@ -1,272 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - - -var assert = require('assert'); -var os = require('os'); -var SIZE = 28; - -var buf1 = Buffer.allocUnsafe(SIZE); -var buf2 = Buffer.allocUnsafe(SIZE); - - -// Default encoding -testBufs('abc'); -testBufs('\u0222aa'); -testBufs('a\u0234b\u0235c\u0236'); -testBufs('abc', 4); -testBufs('abc', 5); -testBufs('abc', SIZE); -testBufs('\u0222aa', 2); -testBufs('\u0222aa', 8); -testBufs('a\u0234b\u0235c\u0236', 4); -testBufs('a\u0234b\u0235c\u0236', 12); -testBufs('abc', 4, -1); -testBufs('abc', 4, 1); -testBufs('abc', 5, 1); -testBufs('\u0222aa', 2, -1); -testBufs('\u0222aa', 8, 1); -testBufs('a\u0234b\u0235c\u0236', 4, -1); -testBufs('a\u0234b\u0235c\u0236', 4, 1); -testBufs('a\u0234b\u0235c\u0236', 12, 1); - - -// UTF8 -testBufs('abc', 'utf8'); -testBufs('\u0222aa', 'utf8'); -testBufs('a\u0234b\u0235c\u0236', 'utf8'); -testBufs('abc', 4, 'utf8'); -testBufs('abc', 5, 'utf8'); -testBufs('abc', SIZE, 'utf8'); -testBufs('\u0222aa', 2, 'utf8'); -testBufs('\u0222aa', 8, 'utf8'); -testBufs('a\u0234b\u0235c\u0236', 4, 'utf8'); -testBufs('a\u0234b\u0235c\u0236', 12, 'utf8'); -testBufs('abc', 4, -1, 'utf8'); -testBufs('abc', 4, 1, 'utf8'); -testBufs('abc', 5, 1, 'utf8'); -testBufs('\u0222aa', 2, -1, 'utf8'); -testBufs('\u0222aa', 8, 1, 'utf8'); -testBufs('a\u0234b\u0235c\u0236', 4, -1, 'utf8'); -testBufs('a\u0234b\u0235c\u0236', 4, 1, 'utf8'); -testBufs('a\u0234b\u0235c\u0236', 12, 1, 'utf8'); -assert.equal(Buffer.allocUnsafe(1).fill(0).fill('\u0222')[0], 0xc8); - - -// BINARY -testBufs('abc', 'binary'); -testBufs('\u0222aa', 'binary'); -testBufs('a\u0234b\u0235c\u0236', 'binary'); -testBufs('abc', 4, 'binary'); -testBufs('abc', 5, 'binary'); -testBufs('abc', SIZE, 'binary'); -testBufs('\u0222aa', 2, 'binary'); -testBufs('\u0222aa', 8, 'binary'); -testBufs('a\u0234b\u0235c\u0236', 4, 'binary'); -testBufs('a\u0234b\u0235c\u0236', 12, 'binary'); -testBufs('abc', 4, -1, 'binary'); -testBufs('abc', 4, 1, 'binary'); -testBufs('abc', 5, 1, 'binary'); -testBufs('\u0222aa', 2, -1, 'binary'); -testBufs('\u0222aa', 8, 1, 'binary'); -testBufs('a\u0234b\u0235c\u0236', 4, -1, 'binary'); -testBufs('a\u0234b\u0235c\u0236', 4, 1, 'binary'); -testBufs('a\u0234b\u0235c\u0236', 12, 1, 'binary'); - - -// LATIN1 -testBufs('abc', 'latin1'); -testBufs('\u0222aa', 'latin1'); -testBufs('a\u0234b\u0235c\u0236', 'latin1'); -testBufs('abc', 4, 'latin1'); -testBufs('abc', 5, 'latin1'); -testBufs('abc', SIZE, 'latin1'); -testBufs('\u0222aa', 2, 'latin1'); -testBufs('\u0222aa', 8, 'latin1'); -testBufs('a\u0234b\u0235c\u0236', 4, 'latin1'); -testBufs('a\u0234b\u0235c\u0236', 12, 'latin1'); -testBufs('abc', 4, -1, 'latin1'); -testBufs('abc', 4, 1, 'latin1'); -testBufs('abc', 5, 1, 'latin1'); -testBufs('\u0222aa', 2, -1, 'latin1'); -testBufs('\u0222aa', 8, 1, 'latin1'); -testBufs('a\u0234b\u0235c\u0236', 4, -1, 'latin1'); -testBufs('a\u0234b\u0235c\u0236', 4, 1, 'latin1'); -testBufs('a\u0234b\u0235c\u0236', 12, 1, 'latin1'); - - -// UCS2 -testBufs('abc', 'ucs2'); -testBufs('\u0222aa', 'ucs2'); -testBufs('a\u0234b\u0235c\u0236', 'ucs2'); -testBufs('abc', 4, 'ucs2'); -testBufs('abc', SIZE, 'ucs2'); -testBufs('\u0222aa', 2, 'ucs2'); -testBufs('\u0222aa', 8, 'ucs2'); -testBufs('a\u0234b\u0235c\u0236', 4, 'ucs2'); -testBufs('a\u0234b\u0235c\u0236', 12, 'ucs2'); -testBufs('abc', 4, -1, 'ucs2'); -testBufs('abc', 4, 1, 'ucs2'); -testBufs('abc', 5, 1, 'ucs2'); -testBufs('\u0222aa', 2, -1, 'ucs2'); -testBufs('\u0222aa', 8, 1, 'ucs2'); -testBufs('a\u0234b\u0235c\u0236', 4, -1, 'ucs2'); -testBufs('a\u0234b\u0235c\u0236', 4, 1, 'ucs2'); -testBufs('a\u0234b\u0235c\u0236', 12, 1, 'ucs2'); -assert.equal(Buffer.allocUnsafe(1).fill('\u0222', 'ucs2')[0], - os.endianness() === 'LE' ? 0x22 : 0x02); - - -// HEX -testBufs('616263', 'hex'); -testBufs('c8a26161', 'hex'); -testBufs('61c8b462c8b563c8b6', 'hex'); -testBufs('616263', 4, 'hex'); -testBufs('616263', 5, 'hex'); -testBufs('616263', SIZE, 'hex'); -testBufs('c8a26161', 2, 'hex'); -testBufs('c8a26161', 8, 'hex'); -testBufs('61c8b462c8b563c8b6', 4, 'hex'); -testBufs('61c8b462c8b563c8b6', 12, 'hex'); -testBufs('616263', 4, -1, 'hex'); -testBufs('616263', 4, 1, 'hex'); -testBufs('616263', 5, 1, 'hex'); -testBufs('c8a26161', 2, -1, 'hex'); -testBufs('c8a26161', 8, 1, 'hex'); -testBufs('61c8b462c8b563c8b6', 4, -1, 'hex'); -testBufs('61c8b462c8b563c8b6', 4, 1, 'hex'); -testBufs('61c8b462c8b563c8b6', 12, 1, 'hex'); -// Make sure this operation doesn't go on forever -buf1.fill('yKJh', 'hex'); -assert.throws(() => buf1.fill('\u0222', 'hex')); - - -// BASE64 -testBufs('YWJj', 'ucs2'); -testBufs('yKJhYQ==', 'ucs2'); -testBufs('Yci0Ysi1Y8i2', 'ucs2'); -testBufs('YWJj', 4, 'ucs2'); -testBufs('YWJj', SIZE, 'ucs2'); -testBufs('yKJhYQ==', 2, 'ucs2'); -testBufs('yKJhYQ==', 8, 'ucs2'); -testBufs('Yci0Ysi1Y8i2', 4, 'ucs2'); -testBufs('Yci0Ysi1Y8i2', 12, 'ucs2'); -testBufs('YWJj', 4, -1, 'ucs2'); -testBufs('YWJj', 4, 1, 'ucs2'); -testBufs('YWJj', 5, 1, 'ucs2'); -testBufs('yKJhYQ==', 2, -1, 'ucs2'); -testBufs('yKJhYQ==', 8, 1, 'ucs2'); -testBufs('Yci0Ysi1Y8i2', 4, -1, 'ucs2'); -testBufs('Yci0Ysi1Y8i2', 4, 1, 'ucs2'); -testBufs('Yci0Ysi1Y8i2', 12, 1, 'ucs2'); - - -// Buffer -function deepStrictEqualValues(buf, arr) { - for (var [index, value] of buf.entries()) { - assert.deepStrictEqual(value, arr[index]); - } -} - - -var buf2Fill = Buffer.allocUnsafe(1).fill(2); -deepStrictEqualValues(genBuffer(4, [buf2Fill]), [2, 2, 2, 2]); -deepStrictEqualValues(genBuffer(4, [buf2Fill, 1]), [0, 2, 2, 2]); -deepStrictEqualValues(genBuffer(4, [buf2Fill, 1, 3]), [0, 2, 2, 0]); -deepStrictEqualValues(genBuffer(4, [buf2Fill, 1, 1]), [0, 0, 0, 0]); -deepStrictEqualValues(genBuffer(4, [buf2Fill, 1, -1]), [0, 0, 0, 0]); -var hexBufFill = Buffer.allocUnsafe(2).fill(0).fill('0102', 'hex'); -deepStrictEqualValues(genBuffer(4, [hexBufFill]), [1, 2, 1, 2]); -deepStrictEqualValues(genBuffer(4, [hexBufFill, 1]), [0, 1, 2, 1]); -deepStrictEqualValues(genBuffer(4, [hexBufFill, 1, 3]), [0, 1, 2, 0]); -deepStrictEqualValues(genBuffer(4, [hexBufFill, 1, 1]), [0, 0, 0, 0]); -deepStrictEqualValues(genBuffer(4, [hexBufFill, 1, -1]), [0, 0, 0, 0]); - - -// Check exceptions -assert.throws(() => buf1.fill(0, -1)); -assert.throws(() => buf1.fill(0, 0, buf1.length + 1)); -assert.throws(() => buf1.fill('', -1)); -assert.throws(() => buf1.fill('', 0, buf1.length + 1)); -assert.throws(() => buf1.fill('a', 0, buf1.length, 'node rocks!')); -assert.throws(() => buf1.fill('a', 0, 0, NaN)); -assert.throws(() => buf1.fill('a', 0, 0, null)); -assert.throws(() => buf1.fill('a', 0, 0, 'foo')); - - -function genBuffer(size, args) { - var b = Buffer.allocUnsafe(size); - return b.fill(0).fill.apply(b, args); -} - - -function bufReset() { - buf1.fill(0); - buf2.fill(0); -} - - -// This is mostly accurate. Except write() won't write partial bytes to the -// string while fill() blindly copies bytes into memory. To account for that an -// error will be thrown if not all the data can be written, and the SIZE has -// been massaged to work with the input characters. -function writeToFill(string, offset, end, encoding) { - if (typeof offset === 'string') { - encoding = offset; - offset = 0; - end = buf2.length; - } else if (typeof end === 'string') { - encoding = end; - end = buf2.length; - } else if (end === undefined) { - end = buf2.length; - } - - if (offset < 0 || end > buf2.length) - throw new RangeError('Out of range index'); - - if (end <= offset) - return buf2; - - offset >>>= 0; - end >>>= 0; - assert(offset <= buf2.length); - - // Convert "end" to "length" (which write understands). - var length = end - offset < 0 ? 0 : end - offset; - - var wasZero = false; - do { - var written = buf2.write(string, offset, length, encoding); - offset += written; - // Safety check in case write falls into infinite loop. - if (written === 0) { - if (wasZero) - throw new Error('Could not write all data to Buffer'); - else - wasZero = true; - } - } while (offset < buf2.length); - - // Correction for UCS2 operations. - if (os.endianness() === 'BE' && encoding === 'ucs2') { - for (var i = 0; i < buf2.length; i += 2) { - var tmp = buf2[i]; - buf2[i] = buf2[i + 1]; - buf2[i + 1] = tmp; - } - } - - return buf2; -} - - -function testBufs(string, offset, length, encoding) { - bufReset(); - buf1.fill.apply(buf1, arguments); - // Swap bytes on BE archs for ucs2 encoding. - assert.deepStrictEqual(buf1.fill.apply(buf1, arguments), - writeToFill.apply(null, arguments)); -} - diff --git a/src/node_modules/buffer/test/node/test-buffer-includes.js b/src/node_modules/buffer/test/node/test-buffer-includes.js deleted file mode 100644 index 2096a34..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-includes.js +++ /dev/null @@ -1,305 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - -var assert = require('assert'); - -var Buffer = require('../../').Buffer; - -var b = Buffer.from('abcdef'); -var buf_a = Buffer.from('a'); -var buf_bc = Buffer.from('bc'); -var buf_f = Buffer.from('f'); -var buf_z = Buffer.from('z'); -var buf_empty = Buffer.from(''); - -assert(b.includes('a')); -assert(!b.includes('a', 1)); -assert(!b.includes('a', -1)); -assert(!b.includes('a', -4)); -assert(b.includes('a', -b.length)); -assert(b.includes('a', NaN)); -assert(b.includes('a', -Infinity)); -assert(!b.includes('a', Infinity)); -assert(b.includes('bc')); -assert(!b.includes('bc', 2)); -assert(!b.includes('bc', -1)); -assert(!b.includes('bc', -3)); -assert(b.includes('bc', -5)); -assert(b.includes('bc', NaN)); -assert(b.includes('bc', -Infinity)); -assert(!b.includes('bc', Infinity)); -assert(b.includes('f'), b.length - 1); -assert(!b.includes('z')); -assert(!b.includes('')); -assert(!b.includes('', 1)); -assert(!b.includes('', b.length + 1)); -assert(!b.includes('', Infinity)); -assert(b.includes(buf_a)); -assert(!b.includes(buf_a, 1)); -assert(!b.includes(buf_a, -1)); -assert(!b.includes(buf_a, -4)); -assert(b.includes(buf_a, -b.length)); -assert(b.includes(buf_a, NaN)); -assert(b.includes(buf_a, -Infinity)); -assert(!b.includes(buf_a, Infinity)); -assert(b.includes(buf_bc)); -assert(!b.includes(buf_bc, 2)); -assert(!b.includes(buf_bc, -1)); -assert(!b.includes(buf_bc, -3)); -assert(b.includes(buf_bc, -5)); -assert(b.includes(buf_bc, NaN)); -assert(b.includes(buf_bc, -Infinity)); -assert(!b.includes(buf_bc, Infinity)); -assert(b.includes(buf_f), b.length - 1); -assert(!b.includes(buf_z)); -assert(!b.includes(buf_empty)); -assert(!b.includes(buf_empty, 1)); -assert(!b.includes(buf_empty, b.length + 1)); -assert(!b.includes(buf_empty, Infinity)); -assert(b.includes(0x61)); -assert(!b.includes(0x61, 1)); -assert(!b.includes(0x61, -1)); -assert(!b.includes(0x61, -4)); -assert(b.includes(0x61, -b.length)); -assert(b.includes(0x61, NaN)); -assert(b.includes(0x61, -Infinity)); -assert(!b.includes(0x61, Infinity)); -assert(!b.includes(0x0)); - -// test offsets -assert(b.includes('d', 2)); -assert(b.includes('f', 5)); -assert(b.includes('f', -1)); -assert(!b.includes('f', 6)); - -assert(b.includes(Buffer.from('d'), 2)); -assert(b.includes(Buffer.from('f'), 5)); -assert(b.includes(Buffer.from('f'), -1)); -assert(!b.includes(Buffer.from('f'), 6)); - -assert(!Buffer.from('ff').includes(Buffer.from('f'), 1, 'ucs2')); - -// test hex encoding -assert.strictEqual( - Buffer.from(b.toString('hex'), 'hex') - .includes('64', 0, 'hex'), - true -); -assert.strictEqual( - Buffer.from(b.toString('hex'), 'hex') - .includes(Buffer.from('64', 'hex'), 0, 'hex'), - true -); - -// test base64 encoding -assert.strictEqual( - Buffer.from(b.toString('base64'), 'base64') - .includes('ZA==', 0, 'base64'), - true -); -assert.strictEqual( - Buffer.from(b.toString('base64'), 'base64') - .includes(Buffer.from('ZA==', 'base64'), 0, 'base64'), - true -); - -// test ascii encoding -assert.strictEqual( - Buffer.from(b.toString('ascii'), 'ascii') - .includes('d', 0, 'ascii'), - true -); -assert.strictEqual( - Buffer.from(b.toString('ascii'), 'ascii') - .includes(Buffer.from('d', 'ascii'), 0, 'ascii'), - true -); - -// test latin1 encoding -assert.strictEqual( - Buffer.from(b.toString('latin1'), 'latin1') - .includes('d', 0, 'latin1'), - true -); -assert.strictEqual( - Buffer.from(b.toString('latin1'), 'latin1') - .includes(Buffer.from('d', 'latin1'), 0, 'latin1'), - true -); - -// test binary encoding -assert.strictEqual( - Buffer.from(b.toString('binary'), 'binary') - .includes('d', 0, 'binary'), - true -); -assert.strictEqual( - Buffer.from(b.toString('binary'), 'binary') - .includes(Buffer.from('d', 'binary'), 0, 'binary'), - true -); - - -// test usc2 encoding -var twoByteString = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'ucs2'); - -assert(twoByteString.includes('\u0395', 4, 'ucs2')); -assert(twoByteString.includes('\u03a3', -4, 'ucs2')); -assert(twoByteString.includes('\u03a3', -6, 'ucs2')); -assert(twoByteString.includes( - Buffer.from('\u03a3', 'ucs2'), -6, 'ucs2')); -assert(!twoByteString.includes('\u03a3', -2, 'ucs2')); - -var mixedByteStringUcs2 = - Buffer.from('\u039a\u0391abc\u03a3\u03a3\u0395', 'ucs2'); -assert(mixedByteStringUcs2.includes('bc', 0, 'ucs2')); -assert(mixedByteStringUcs2.includes('\u03a3', 0, 'ucs2')); -assert(!mixedByteStringUcs2.includes('\u0396', 0, 'ucs2')); - -assert( - 6, mixedByteStringUcs2.includes(Buffer.from('bc', 'ucs2'), 0, 'ucs2')); -assert( - 10, mixedByteStringUcs2.includes(Buffer.from('\u03a3', 'ucs2'), - 0, 'ucs2')); -assert( - -1, mixedByteStringUcs2.includes(Buffer.from('\u0396', 'ucs2'), - 0, 'ucs2')); - -twoByteString = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'ucs2'); - -// Test single char pattern -assert(twoByteString.includes('\u039a', 0, 'ucs2')); -assert(twoByteString.includes('\u0391', 0, 'ucs2'), 'Alpha'); -assert(twoByteString.includes('\u03a3', 0, 'ucs2'), 'First Sigma'); -assert(twoByteString.includes('\u03a3', 6, 'ucs2'), 'Second Sigma'); -assert(twoByteString.includes('\u0395', 0, 'ucs2'), 'Epsilon'); -assert(!twoByteString.includes('\u0392', 0, 'ucs2'), 'Not beta'); - -// Test multi-char pattern -assert(twoByteString.includes('\u039a\u0391', 0, 'ucs2'), 'Lambda Alpha'); -assert(twoByteString.includes('\u0391\u03a3', 0, 'ucs2'), 'Alpha Sigma'); -assert(twoByteString.includes('\u03a3\u03a3', 0, 'ucs2'), 'Sigma Sigma'); -assert(twoByteString.includes('\u03a3\u0395', 0, 'ucs2'), 'Sigma Epsilon'); - -var mixedByteStringUtf8 = Buffer.from('\u039a\u0391abc\u03a3\u03a3\u0395'); -assert(mixedByteStringUtf8.includes('bc')); -assert(mixedByteStringUtf8.includes('bc', 5)); -assert(mixedByteStringUtf8.includes('bc', -8)); -assert(mixedByteStringUtf8.includes('\u03a3')); -assert(!mixedByteStringUtf8.includes('\u0396')); - - -// Test complex string includes algorithms. Only trigger for long strings. -// Long string that isn't a simple repeat of a shorter string. -var longString = 'A'; -for (var i = 66; i < 76; i++) { // from 'B' to 'K' - longString = longString + String.fromCharCode(i) + longString; -} - -var longBufferString = Buffer.from(longString); - -// pattern of 15 chars, repeated every 16 chars in long -var pattern = 'ABACABADABACABA'; -for (var i = 0; i < longBufferString.length - pattern.length; i += 7) { - var includes = longBufferString.includes(pattern, i); - assert(includes, 'Long ABACABA...-string at index ' + i); -} -assert(longBufferString.includes('AJABACA'), 'Long AJABACA, First J'); -assert(longBufferString.includes('AJABACA', 511), 'Long AJABACA, Second J'); - -pattern = 'JABACABADABACABA'; -assert(longBufferString.includes(pattern), 'Long JABACABA..., First J'); -assert(longBufferString.includes(pattern, 512), 'Long JABACABA..., Second J'); - -// Search for a non-ASCII string in a pure ASCII string. -var asciiString = Buffer.from( - 'arglebargleglopglyfarglebargleglopglyfarglebargleglopglyf'); -assert(!asciiString.includes('\x2061')); -assert(asciiString.includes('leb', 0)); - -// Search in string containing many non-ASCII chars. -var allCodePoints = []; -for (var i = 0; i < 65536; i++) allCodePoints[i] = i; -var allCharsString = String.fromCharCode.apply(String, allCodePoints); -var allCharsBufferUtf8 = Buffer.from(allCharsString); -var allCharsBufferUcs2 = Buffer.from(allCharsString, 'ucs2'); - -// Search for string long enough to trigger complex search with ASCII pattern -// and UC16 subject. -assert(!allCharsBufferUtf8.includes('notfound')); -assert(!allCharsBufferUcs2.includes('notfound')); - -// Find substrings in Utf8. -var lengths = [1, 3, 15]; // Single char, simple and complex. -var indices = [0x5, 0x60, 0x400, 0x680, 0x7ee, 0xFF02, 0x16610, 0x2f77b]; -for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) { - for (var i = 0; i < indices.length; i++) { - var index = indices[i]; - var length = lengths[lengthIndex]; - - if (index + length > 0x7F) { - length = 2 * length; - } - - if (index + length > 0x7FF) { - length = 3 * length; - } - - if (index + length > 0xFFFF) { - length = 4 * length; - } - - var patternBufferUtf8 = allCharsBufferUtf8.slice(index, index + length); - assert(index, allCharsBufferUtf8.includes(patternBufferUtf8)); - - var patternStringUtf8 = patternBufferUtf8.toString(); - assert(index, allCharsBufferUtf8.includes(patternStringUtf8)); - } -} - -// Find substrings in Usc2. -lengths = [2, 4, 16]; // Single char, simple and complex. -indices = [0x5, 0x65, 0x105, 0x205, 0x285, 0x2005, 0x2085, 0xfff0]; -for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) { - for (var i = 0; i < indices.length; i++) { - var index = indices[i] * 2; - var length = lengths[lengthIndex]; - - var patternBufferUcs2 = - allCharsBufferUcs2.slice(index, index + length); - assert( - index, allCharsBufferUcs2.includes(patternBufferUcs2, 0, 'ucs2')); - - var patternStringUcs2 = patternBufferUcs2.toString('ucs2'); - assert( - index, allCharsBufferUcs2.includes(patternStringUcs2, 0, 'ucs2')); - } -} - -assert.throws(function() { - b.includes(function() { }); -}); -assert.throws(function() { - b.includes({}); -}); -assert.throws(function() { - b.includes([]); -}); - -// test truncation of Number arguments to uint8 -{ - var buf = Buffer.from('this is a test'); - assert.ok(buf.includes(0x6973)); - assert.ok(buf.includes(0x697320)); - assert.ok(buf.includes(0x69732069)); - assert.ok(buf.includes(0x697374657374)); - assert.ok(buf.includes(0x69737374)); - assert.ok(buf.includes(0x69737465)); - assert.ok(buf.includes(0x69737465)); - assert.ok(buf.includes(-140)); - assert.ok(buf.includes(-152)); - assert.ok(!buf.includes(0xff)); - assert.ok(!buf.includes(0xffff)); -} - diff --git a/src/node_modules/buffer/test/node/test-buffer-indexof.js b/src/node_modules/buffer/test/node/test-buffer-indexof.js deleted file mode 100644 index 24502c3..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-indexof.js +++ /dev/null @@ -1,523 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - -var assert = require('assert'); - -var Buffer = require('../../').Buffer; - -var b = Buffer.from('abcdef'); -var buf_a = Buffer.from('a'); -var buf_bc = Buffer.from('bc'); -var buf_f = Buffer.from('f'); -var buf_z = Buffer.from('z'); -var buf_empty = Buffer.from(''); - -assert.equal(b.indexOf('a'), 0); -assert.equal(b.indexOf('a', 1), -1); -assert.equal(b.indexOf('a', -1), -1); -assert.equal(b.indexOf('a', -4), -1); -assert.equal(b.indexOf('a', -b.length), 0); -assert.equal(b.indexOf('a', NaN), 0); -assert.equal(b.indexOf('a', -Infinity), 0); -assert.equal(b.indexOf('a', Infinity), -1); -assert.equal(b.indexOf('bc'), 1); -assert.equal(b.indexOf('bc', 2), -1); -assert.equal(b.indexOf('bc', -1), -1); -assert.equal(b.indexOf('bc', -3), -1); -assert.equal(b.indexOf('bc', -5), 1); -assert.equal(b.indexOf('bc', NaN), 1); -assert.equal(b.indexOf('bc', -Infinity), 1); -assert.equal(b.indexOf('bc', Infinity), -1); -assert.equal(b.indexOf('f'), b.length - 1); -assert.equal(b.indexOf('z'), -1); -assert.equal(b.indexOf(''), -1); -assert.equal(b.indexOf('', 1), -1); -assert.equal(b.indexOf('', b.length + 1), -1); -assert.equal(b.indexOf('', Infinity), -1); -assert.equal(b.indexOf(buf_a), 0); -assert.equal(b.indexOf(buf_a, 1), -1); -assert.equal(b.indexOf(buf_a, -1), -1); -assert.equal(b.indexOf(buf_a, -4), -1); -assert.equal(b.indexOf(buf_a, -b.length), 0); -assert.equal(b.indexOf(buf_a, NaN), 0); -assert.equal(b.indexOf(buf_a, -Infinity), 0); -assert.equal(b.indexOf(buf_a, Infinity), -1); -assert.equal(b.indexOf(buf_bc), 1); -assert.equal(b.indexOf(buf_bc, 2), -1); -assert.equal(b.indexOf(buf_bc, -1), -1); -assert.equal(b.indexOf(buf_bc, -3), -1); -assert.equal(b.indexOf(buf_bc, -5), 1); -assert.equal(b.indexOf(buf_bc, NaN), 1); -assert.equal(b.indexOf(buf_bc, -Infinity), 1); -assert.equal(b.indexOf(buf_bc, Infinity), -1); -assert.equal(b.indexOf(buf_f), b.length - 1); -assert.equal(b.indexOf(buf_z), -1); -assert.equal(b.indexOf(buf_empty), -1); -assert.equal(b.indexOf(buf_empty, 1), -1); -assert.equal(b.indexOf(buf_empty, b.length + 1), -1); -assert.equal(b.indexOf(buf_empty, Infinity), -1); -assert.equal(b.indexOf(0x61), 0); -assert.equal(b.indexOf(0x61, 1), -1); -assert.equal(b.indexOf(0x61, -1), -1); -assert.equal(b.indexOf(0x61, -4), -1); -assert.equal(b.indexOf(0x61, -b.length), 0); -assert.equal(b.indexOf(0x61, NaN), 0); -assert.equal(b.indexOf(0x61, -Infinity), 0); -assert.equal(b.indexOf(0x61, Infinity), -1); -assert.equal(b.indexOf(0x0), -1); - -// test offsets -assert.equal(b.indexOf('d', 2), 3); -assert.equal(b.indexOf('f', 5), 5); -assert.equal(b.indexOf('f', -1), 5); -assert.equal(b.indexOf('f', 6), -1); - -assert.equal(b.indexOf(Buffer.from('d'), 2), 3); -assert.equal(b.indexOf(Buffer.from('f'), 5), 5); -assert.equal(b.indexOf(Buffer.from('f'), -1), 5); -assert.equal(b.indexOf(Buffer.from('f'), 6), -1); - -assert.equal(Buffer.from('ff').indexOf(Buffer.from('f'), 1, 'ucs2'), -1); - -// test hex encoding -assert.strictEqual( - Buffer.from(b.toString('hex'), 'hex') - .indexOf('64', 0, 'hex'), - 3 -); -assert.strictEqual( - Buffer.from(b.toString('hex'), 'hex') - .indexOf(Buffer.from('64', 'hex'), 0, 'hex'), - 3 -); - -// test base64 encoding -assert.strictEqual( - Buffer.from(b.toString('base64'), 'base64') - .indexOf('ZA==', 0, 'base64'), - 3 -); -assert.strictEqual( - Buffer.from(b.toString('base64'), 'base64') - .indexOf(Buffer.from('ZA==', 'base64'), 0, 'base64'), - 3 -); - -// test ascii encoding -assert.strictEqual( - Buffer.from(b.toString('ascii'), 'ascii') - .indexOf('d', 0, 'ascii'), - 3 -); -assert.strictEqual( - Buffer.from(b.toString('ascii'), 'ascii') - .indexOf(Buffer.from('d', 'ascii'), 0, 'ascii'), - 3 -); - -// test latin1 encoding -assert.strictEqual( - Buffer.from(b.toString('latin1'), 'latin1') - .indexOf('d', 0, 'latin1'), - 3 -); -assert.strictEqual( - Buffer.from(b.toString('latin1'), 'latin1') - .indexOf(Buffer.from('d', 'latin1'), 0, 'latin1'), - 3 -); -assert.strictEqual( - Buffer.from('aa\u00e8aa', 'latin1') - .indexOf('\u00e8', 'latin1'), - 2 -); -assert.strictEqual( - Buffer.from('\u00e8', 'latin1') - .indexOf('\u00e8', 'latin1'), - 0 -); -assert.strictEqual( - Buffer.from('\u00e8', 'latin1') - .indexOf(Buffer.from('\u00e8', 'latin1'), 'latin1'), - 0 -); - -// test binary encoding -assert.strictEqual( - Buffer.from(b.toString('binary'), 'binary') - .indexOf('d', 0, 'binary'), - 3 -); -assert.strictEqual( - Buffer.from(b.toString('binary'), 'binary') - .indexOf(Buffer.from('d', 'binary'), 0, 'binary'), - 3 -); -assert.strictEqual( - Buffer.from('aa\u00e8aa', 'binary') - .indexOf('\u00e8', 'binary'), - 2 -); -assert.strictEqual( - Buffer.from('\u00e8', 'binary') - .indexOf('\u00e8', 'binary'), - 0 -); -assert.strictEqual( - Buffer.from('\u00e8', 'binary') - .indexOf(Buffer.from('\u00e8', 'binary'), 'binary'), - 0 -); - - -// test optional offset with passed encoding -assert.equal(Buffer.from('aaaa0').indexOf('30', 'hex'), 4); -assert.equal(Buffer.from('aaaa00a').indexOf('3030', 'hex'), 4); - -{ - // test usc2 encoding - var twoByteString = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'ucs2'); - - assert.equal(8, twoByteString.indexOf('\u0395', 4, 'ucs2')); - assert.equal(6, twoByteString.indexOf('\u03a3', -4, 'ucs2')); - assert.equal(4, twoByteString.indexOf('\u03a3', -6, 'ucs2')); - assert.equal(4, twoByteString.indexOf( - Buffer.from('\u03a3', 'ucs2'), -6, 'ucs2')); - assert.equal(-1, twoByteString.indexOf('\u03a3', -2, 'ucs2')); -} - -var mixedByteStringUcs2 = - Buffer.from('\u039a\u0391abc\u03a3\u03a3\u0395', 'ucs2'); -assert.equal(6, mixedByteStringUcs2.indexOf('bc', 0, 'ucs2')); -assert.equal(10, mixedByteStringUcs2.indexOf('\u03a3', 0, 'ucs2')); -assert.equal(-1, mixedByteStringUcs2.indexOf('\u0396', 0, 'ucs2')); - -assert.equal( - 6, mixedByteStringUcs2.indexOf(Buffer.from('bc', 'ucs2'), 0, 'ucs2')); -assert.equal( - 10, mixedByteStringUcs2.indexOf(Buffer.from('\u03a3', 'ucs2'), 0, 'ucs2')); -assert.equal( - -1, mixedByteStringUcs2.indexOf(Buffer.from('\u0396', 'ucs2'), 0, 'ucs2')); - -{ - var twoByteString = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'ucs2'); - - // Test single char pattern - assert.equal(0, twoByteString.indexOf('\u039a', 0, 'ucs2')); - assert.equal(2, twoByteString.indexOf('\u0391', 0, 'ucs2'), 'Alpha'); - assert.equal(4, twoByteString.indexOf('\u03a3', 0, 'ucs2'), 'First Sigma'); - assert.equal(6, twoByteString.indexOf('\u03a3', 6, 'ucs2'), 'Second Sigma'); - assert.equal(8, twoByteString.indexOf('\u0395', 0, 'ucs2'), 'Epsilon'); - assert.equal(-1, twoByteString.indexOf('\u0392', 0, 'ucs2'), 'Not beta'); - - // Test multi-char pattern - assert.equal( - 0, twoByteString.indexOf('\u039a\u0391', 0, 'ucs2'), 'Lambda Alpha'); - assert.equal( - 2, twoByteString.indexOf('\u0391\u03a3', 0, 'ucs2'), 'Alpha Sigma'); - assert.equal( - 4, twoByteString.indexOf('\u03a3\u03a3', 0, 'ucs2'), 'Sigma Sigma'); - assert.equal( - 6, twoByteString.indexOf('\u03a3\u0395', 0, 'ucs2'), 'Sigma Epsilon'); -} - -var mixedByteStringUtf8 = Buffer.from('\u039a\u0391abc\u03a3\u03a3\u0395'); -assert.equal(5, mixedByteStringUtf8.indexOf('bc')); -assert.equal(5, mixedByteStringUtf8.indexOf('bc', 5)); -assert.equal(5, mixedByteStringUtf8.indexOf('bc', -8)); -assert.equal(7, mixedByteStringUtf8.indexOf('\u03a3')); -assert.equal(-1, mixedByteStringUtf8.indexOf('\u0396')); - - -// Test complex string indexOf algorithms. Only trigger for long strings. -// Long string that isn't a simple repeat of a shorter string. -var longString = 'A'; -for (var i = 66; i < 76; i++) { // from 'B' to 'K' - longString = longString + String.fromCharCode(i) + longString; -} - -var longBufferString = Buffer.from(longString); - -// pattern of 15 chars, repeated every 16 chars in long -var pattern = 'ABACABADABACABA'; -for (var i = 0; i < longBufferString.length - pattern.length; i += 7) { - var index = longBufferString.indexOf(pattern, i); - assert.equal((i + 15) & ~0xf, index, 'Long ABACABA...-string at index ' + i); -} -assert.equal(510, longBufferString.indexOf('AJABACA'), 'Long AJABACA, First J'); -assert.equal( - 1534, longBufferString.indexOf('AJABACA', 511), 'Long AJABACA, Second J'); - -pattern = 'JABACABADABACABA'; -assert.equal( - 511, longBufferString.indexOf(pattern), 'Long JABACABA..., First J'); -assert.equal( - 1535, longBufferString.indexOf(pattern, 512), 'Long JABACABA..., Second J'); - -// Search for a non-ASCII string in a pure ASCII string. -var asciiString = Buffer.from( - 'arglebargleglopglyfarglebargleglopglyfarglebargleglopglyf'); -assert.equal(-1, asciiString.indexOf('\x2061')); -assert.equal(3, asciiString.indexOf('leb', 0)); - -// Search in string containing many non-ASCII chars. -var allCodePoints = []; -for (var i = 0; i < 65536; i++) allCodePoints[i] = i; -var allCharsString = String.fromCharCode.apply(String, allCodePoints); -var allCharsBufferUtf8 = Buffer.from(allCharsString); -var allCharsBufferUcs2 = Buffer.from(allCharsString, 'ucs2'); - -// Search for string long enough to trigger complex search with ASCII pattern -// and UC16 subject. -assert.equal(-1, allCharsBufferUtf8.indexOf('notfound')); -assert.equal(-1, allCharsBufferUcs2.indexOf('notfound')); - -// Needle is longer than haystack, but only because it's encoded as UTF-16 -assert.strictEqual(Buffer.from('aaaa').indexOf('a'.repeat(4), 'ucs2'), -1); - -assert.strictEqual(Buffer.from('aaaa').indexOf('a'.repeat(4), 'utf8'), 0); -assert.strictEqual(Buffer.from('aaaa').indexOf('你好', 'ucs2'), -1); - -// Haystack has odd length, but the needle is UCS2. -// assert.strictEqual(Buffer.from('aaaaa').indexOf('b', 'ucs2'), -1); - -{ - // Find substrings in Utf8. - var lengths = [1, 3, 15]; // Single char, simple and complex. - var indices = [0x5, 0x60, 0x400, 0x680, 0x7ee, 0xFF02, 0x16610, 0x2f77b]; - for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) { - for (var i = 0; i < indices.length; i++) { - var index = indices[i]; - var length = lengths[lengthIndex]; - - if (index + length > 0x7F) { - length = 2 * length; - } - - if (index + length > 0x7FF) { - length = 3 * length; - } - - if (index + length > 0xFFFF) { - length = 4 * length; - } - - var patternBufferUtf8 = allCharsBufferUtf8.slice(index, index + length); - assert.equal(index, allCharsBufferUtf8.indexOf(patternBufferUtf8)); - - var patternStringUtf8 = patternBufferUtf8.toString(); - assert.equal(index, allCharsBufferUtf8.indexOf(patternStringUtf8)); - } - } -} - -{ - // Find substrings in Usc2. - var lengths = [2, 4, 16]; // Single char, simple and complex. - var indices = [0x5, 0x65, 0x105, 0x205, 0x285, 0x2005, 0x2085, 0xfff0]; - for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) { - for (var i = 0; i < indices.length; i++) { - var index = indices[i] * 2; - var length = lengths[lengthIndex]; - - var patternBufferUcs2 = - allCharsBufferUcs2.slice(index, index + length); - assert.equal( - index, allCharsBufferUcs2.indexOf(patternBufferUcs2, 0, 'ucs2')); - - var patternStringUcs2 = patternBufferUcs2.toString('ucs2'); - assert.equal( - index, allCharsBufferUcs2.indexOf(patternStringUcs2, 0, 'ucs2')); - } - } -} - -assert.throws(function() { - b.indexOf(function() { }); -}); -assert.throws(function() { - b.indexOf({}); -}); -assert.throws(function() { - b.indexOf([]); -}); - -// All code for handling encodings is shared between Buffer.indexOf and -// Buffer.lastIndexOf, so only testing the separate lastIndexOf semantics. - -// Test lastIndexOf basic functionality; Buffer b contains 'abcdef'. -// lastIndexOf string: -assert.equal(b.lastIndexOf('a'), 0); -assert.equal(b.lastIndexOf('a', 1), 0); -assert.equal(b.lastIndexOf('b', 1), 1); -assert.equal(b.lastIndexOf('c', 1), -1); -assert.equal(b.lastIndexOf('a', -1), 0); -assert.equal(b.lastIndexOf('a', -4), 0); -assert.equal(b.lastIndexOf('a', -b.length), 0); -assert.equal(b.lastIndexOf('a', -b.length - 1), -1); -assert.equal(b.lastIndexOf('a', NaN), 0); -assert.equal(b.lastIndexOf('a', -Infinity), -1); -assert.equal(b.lastIndexOf('a', Infinity), 0); -// lastIndexOf Buffer: -assert.equal(b.lastIndexOf(buf_a), 0); -assert.equal(b.lastIndexOf(buf_a, 1), 0); -assert.equal(b.lastIndexOf(buf_a, -1), 0); -assert.equal(b.lastIndexOf(buf_a, -4), 0); -assert.equal(b.lastIndexOf(buf_a, -b.length), 0); -assert.equal(b.lastIndexOf(buf_a, -b.length - 1), -1); -assert.equal(b.lastIndexOf(buf_a, NaN), 0); -assert.equal(b.lastIndexOf(buf_a, -Infinity), -1); -assert.equal(b.lastIndexOf(buf_a, Infinity), 0); -assert.equal(b.lastIndexOf(buf_bc), 1); -assert.equal(b.lastIndexOf(buf_bc, 2), 1); -assert.equal(b.lastIndexOf(buf_bc, -1), 1); -assert.equal(b.lastIndexOf(buf_bc, -3), 1); -assert.equal(b.lastIndexOf(buf_bc, -5), 1); -assert.equal(b.lastIndexOf(buf_bc, -6), -1); -assert.equal(b.lastIndexOf(buf_bc, NaN), 1); -assert.equal(b.lastIndexOf(buf_bc, -Infinity), -1); -assert.equal(b.lastIndexOf(buf_bc, Infinity), 1); -assert.equal(b.lastIndexOf(buf_f), b.length - 1); -assert.equal(b.lastIndexOf(buf_z), -1); -assert.equal(b.lastIndexOf(buf_empty), -1); -assert.equal(b.lastIndexOf(buf_empty, 1), -1); -assert.equal(b.lastIndexOf(buf_empty, b.length + 1), -1); -assert.equal(b.lastIndexOf(buf_empty, Infinity), -1); -// lastIndexOf number: -assert.equal(b.lastIndexOf(0x61), 0); -assert.equal(b.lastIndexOf(0x61, 1), 0); -assert.equal(b.lastIndexOf(0x61, -1), 0); -assert.equal(b.lastIndexOf(0x61, -4), 0); -assert.equal(b.lastIndexOf(0x61, -b.length), 0); -assert.equal(b.lastIndexOf(0x61, -b.length - 1), -1); -assert.equal(b.lastIndexOf(0x61, NaN), 0); -assert.equal(b.lastIndexOf(0x61, -Infinity), -1); -assert.equal(b.lastIndexOf(0x61, Infinity), 0); -assert.equal(b.lastIndexOf(0x0), -1); - -// Test weird offset arguments. -// Behaviour should match String.lastIndexOf: -assert.equal(b.lastIndexOf('b', 0), -1); -assert.equal(b.lastIndexOf('b', undefined), 1); -assert.equal(b.lastIndexOf('b', null), -1); -assert.equal(b.lastIndexOf('b', {}), 1); -assert.equal(b.lastIndexOf('b', []), -1); -assert.equal(b.lastIndexOf('b', [2]), 1); - -// Test needles longer than the haystack. -assert.strictEqual(b.lastIndexOf('aaaaaaaaaaaaaaa', 'ucs2'), -1); -assert.strictEqual(b.lastIndexOf('aaaaaaaaaaaaaaa', 'utf8'), -1); -assert.strictEqual(b.lastIndexOf('aaaaaaaaaaaaaaa', 'latin1'), -1); -assert.strictEqual(b.lastIndexOf('aaaaaaaaaaaaaaa', 'binary'), -1); -assert.strictEqual(b.lastIndexOf(Buffer.from('aaaaaaaaaaaaaaa')), -1); -assert.strictEqual(b.lastIndexOf('aaaaaaaaaaaaaaa', 2, 'ucs2'), -1); -assert.strictEqual(b.lastIndexOf('aaaaaaaaaaaaaaa', 3, 'utf8'), -1); -assert.strictEqual(b.lastIndexOf('aaaaaaaaaaaaaaa', 5, 'latin1'), -1); -assert.strictEqual(b.lastIndexOf('aaaaaaaaaaaaaaa', 5, 'binary'), -1); -assert.strictEqual(b.lastIndexOf(Buffer.from('aaaaaaaaaaaaaaa'), 7), -1); - -// 你好 expands to a total of 6 bytes using UTF-8 and 4 bytes using UTF-16 -assert.strictEqual(buf_bc.lastIndexOf('你好', 'ucs2'), -1); -assert.strictEqual(buf_bc.lastIndexOf('你好', 'utf8'), -1); -assert.strictEqual(buf_bc.lastIndexOf('你好', 'latin1'), -1); -assert.strictEqual(buf_bc.lastIndexOf('你好', 'binary'), -1); -assert.strictEqual(buf_bc.lastIndexOf(Buffer.from('你好')), -1); -assert.strictEqual(buf_bc.lastIndexOf('你好', 2, 'ucs2'), -1); -assert.strictEqual(buf_bc.lastIndexOf('你好', 3, 'utf8'), -1); -assert.strictEqual(buf_bc.lastIndexOf('你好', 5, 'latin1'), -1); -assert.strictEqual(buf_bc.lastIndexOf('你好', 5, 'binary'), -1); -assert.strictEqual(buf_bc.lastIndexOf(Buffer.from('你好'), 7), -1); - -// Test lastIndexOf on a longer buffer: -var bufferString = new Buffer('a man a plan a canal panama'); -assert.equal(15, bufferString.lastIndexOf('canal')); -assert.equal(21, bufferString.lastIndexOf('panama')); -assert.equal(0, bufferString.lastIndexOf('a man a plan a canal panama')); -assert.equal(-1, bufferString.lastIndexOf('a man a plan a canal mexico')); -assert.equal(-1, bufferString.lastIndexOf('a man a plan a canal mexico city')); -assert.equal(-1, bufferString.lastIndexOf(Buffer.from('a'.repeat(1000)))); -assert.equal(0, bufferString.lastIndexOf('a man a plan', 4)); -assert.equal(13, bufferString.lastIndexOf('a ')); -assert.equal(13, bufferString.lastIndexOf('a ', 13)); -assert.equal(6, bufferString.lastIndexOf('a ', 12)); -assert.equal(0, bufferString.lastIndexOf('a ', 5)); -assert.equal(13, bufferString.lastIndexOf('a ', -1)); -assert.equal(0, bufferString.lastIndexOf('a ', -27)); -assert.equal(-1, bufferString.lastIndexOf('a ', -28)); - -// Test lastIndexOf for the case that the first character can be found, -// but in a part of the buffer that does not make search to search -// due do length constraints. -var abInUCS2 = Buffer.from('ab', 'ucs2'); -assert.strictEqual(-1, Buffer.from('µaaaa¶bbbb', 'latin1').lastIndexOf('µ')); -assert.strictEqual(-1, Buffer.from('µaaaa¶bbbb', 'binary').lastIndexOf('µ')); -assert.strictEqual(-1, Buffer.from('bc').lastIndexOf('ab')); -assert.strictEqual(-1, Buffer.from('abc').lastIndexOf('qa')); -assert.strictEqual(-1, Buffer.from('abcdef').lastIndexOf('qabc')); -assert.strictEqual(-1, Buffer.from('bc').lastIndexOf(Buffer.from('ab'))); -assert.strictEqual(-1, Buffer.from('bc', 'ucs2').lastIndexOf('ab', 'ucs2')); -assert.strictEqual(-1, Buffer.from('bc', 'ucs2').lastIndexOf(abInUCS2)); - -assert.strictEqual(0, Buffer.from('abc').lastIndexOf('ab')); -assert.strictEqual(0, Buffer.from('abc').lastIndexOf('ab', 1)); -assert.strictEqual(0, Buffer.from('abc').lastIndexOf('ab', 2)); -assert.strictEqual(0, Buffer.from('abc').lastIndexOf('ab', 3)); - -// The above tests test the LINEAR and SINGLE-CHAR strategies. -// Now, we test the BOYER-MOORE-HORSPOOL strategy. -// Test lastIndexOf on a long buffer w multiple matches: -pattern = 'JABACABADABACABA'; -assert.equal(1535, longBufferString.lastIndexOf(pattern)); -assert.equal(1535, longBufferString.lastIndexOf(pattern, 1535)); -assert.equal(511, longBufferString.lastIndexOf(pattern, 1534)); - -// Finally, give it a really long input to trigger fallback from BMH to -// regular BOYER-MOORE (which has better worst-case complexity). - -// Generate a really long Thue-Morse sequence of 'yolo' and 'swag', -// "yolo swag swag yolo swag yolo yolo swag" ..., goes on for about 5MB. -// This is hard to search because it all looks similar, but never repeats. - -// countBits returns the number of bits in the binary reprsentation of n. -function countBits(n) { - for (var count = 0; n > 0; count++) { - n = n & (n - 1); // remove top bit - } - return count; -} -var parts = []; -for (var i = 0; i < 1000000; i++) { - parts.push((countBits(i) % 2 === 0) ? 'yolo' : 'swag'); -} -var reallyLong = new Buffer(parts.join(' ')); -assert.equal('yolo swag swag yolo', reallyLong.slice(0, 19).toString()); - -// Expensive reverse searches. Stress test lastIndexOf: -pattern = reallyLong.slice(0, 100000); // First 1/50th of the pattern. -assert.equal(4751360, reallyLong.lastIndexOf(pattern)); -assert.equal(3932160, reallyLong.lastIndexOf(pattern, 4000000)); -assert.equal(2949120, reallyLong.lastIndexOf(pattern, 3000000)); -pattern = reallyLong.slice(100000, 200000); // Second 1/50th. -assert.equal(4728480, reallyLong.lastIndexOf(pattern)); -pattern = reallyLong.slice(0, 1000000); // First 1/5th. -assert.equal(3932160, reallyLong.lastIndexOf(pattern)); -pattern = reallyLong.slice(0, 2000000); // first 2/5ths. -assert.equal(0, reallyLong.lastIndexOf(pattern)); - -// test truncation of Number arguments to uint8 -{ - var buf = Buffer.from('this is a test'); - assert.strictEqual(buf.indexOf(0x6973), 3); - assert.strictEqual(buf.indexOf(0x697320), 4); - assert.strictEqual(buf.indexOf(0x69732069), 2); - assert.strictEqual(buf.indexOf(0x697374657374), 0); - assert.strictEqual(buf.indexOf(0x69737374), 0); - assert.strictEqual(buf.indexOf(0x69737465), 11); - assert.strictEqual(buf.indexOf(0x69737465), 11); - assert.strictEqual(buf.indexOf(-140), 0); - assert.strictEqual(buf.indexOf(-152), 1); - assert.strictEqual(buf.indexOf(0xff), -1); - assert.strictEqual(buf.indexOf(0xffff), -1); -} - diff --git a/src/node_modules/buffer/test/node/test-buffer-inheritance.js b/src/node_modules/buffer/test/node/test-buffer-inheritance.js deleted file mode 100644 index 711d9f2..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-inheritance.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - - -var assert = require('assert'); - - -function T(n) { - var ui8 = new Uint8Array(n); - Object.setPrototypeOf(ui8, T.prototype); - return ui8; -} -Object.setPrototypeOf(T.prototype, Buffer.prototype); -Object.setPrototypeOf(T, Buffer); - -T.prototype.sum = function sum() { - var cntr = 0; - for (var i = 0; i < this.length; i++) - cntr += this[i]; - return cntr; -}; - - -var vals = [new T(4), T(4)]; - -vals.forEach(function(t) { - assert.equal(t.constructor, T); - assert.equal(Object.getPrototypeOf(t), T.prototype); - assert.equal(Object.getPrototypeOf(Object.getPrototypeOf(t)), - Buffer.prototype); - - t.fill(5); - var cntr = 0; - for (var i = 0; i < t.length; i++) - cntr += t[i]; - assert.equal(t.length * 5, cntr); - - // Check this does not throw - t.toString(); -}); - diff --git a/src/node_modules/buffer/test/node/test-buffer-inspect.js b/src/node_modules/buffer/test/node/test-buffer-inspect.js deleted file mode 100644 index d0ed590..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-inspect.js +++ /dev/null @@ -1,41 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - -var assert = require('assert'); - -var util = require('util'); - -var buffer = require('../../'); - -buffer.INSPECT_MAX_BYTES = 2; - -var b = Buffer.allocUnsafe(4); -b.fill('1234'); - -var s = buffer.SlowBuffer(4); -s.fill('1234'); - -var expected = ''; - -assert.strictEqual(util.inspect(b), expected); -assert.strictEqual(util.inspect(s), expected); - -b = Buffer.allocUnsafe(2); -b.fill('12'); - -s = buffer.SlowBuffer(2); -s.fill('12'); - -expected = ''; - -assert.strictEqual(util.inspect(b), expected); -assert.strictEqual(util.inspect(s), expected); - -buffer.INSPECT_MAX_BYTES = Infinity; - -assert.doesNotThrow(function() { - assert.strictEqual(util.inspect(b), expected); - assert.strictEqual(util.inspect(s), expected); -}); - diff --git a/src/node_modules/buffer/test/node/test-buffer-iterator.js b/src/node_modules/buffer/test/node/test-buffer-iterator.js deleted file mode 100644 index f27709f..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-iterator.js +++ /dev/null @@ -1,65 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - -var assert = require('assert'); - -var buffer = Buffer.from([1, 2, 3, 4, 5]); -var arr; -var b; - -// buffers should be iterable - -arr = []; - -for (b of buffer) - arr.push(b); - -assert.deepStrictEqual(arr, [1, 2, 3, 4, 5]); - - -// buffer iterators should be iterable - -arr = []; - -for (b of buffer[Symbol.iterator]()) - arr.push(b); - -assert.deepStrictEqual(arr, [1, 2, 3, 4, 5]); - - -// buffer#values() should return iterator for values - -arr = []; - -for (b of buffer.values()) - arr.push(b); - -assert.deepStrictEqual(arr, [1, 2, 3, 4, 5]); - - -// buffer#keys() should return iterator for keys - -arr = []; - -for (b of buffer.keys()) - arr.push(b); - -assert.deepStrictEqual(arr, [0, 1, 2, 3, 4]); - - -// buffer#entries() should return iterator for entries - -arr = []; - -for (b of buffer.entries()) - arr.push(b); - -assert.deepStrictEqual(arr, [ - [0, 1], - [1, 2], - [2, 3], - [3, 4], - [4, 5] -]); - diff --git a/src/node_modules/buffer/test/node/test-buffer-safe-unsafe.js b/src/node_modules/buffer/test/node/test-buffer-safe-unsafe.js deleted file mode 100644 index 22ba29e..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-safe-unsafe.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - - -var assert = require('assert'); - -var safe = Buffer.alloc(10); - -function isZeroFilled(buf) { - for (var n = 0; n < buf.length; n++) - if (buf[n] !== 0) return false; - return true; -} - -assert(isZeroFilled(safe)); - -// Test that unsafe allocations doesn't affect subsequent safe allocations -Buffer.allocUnsafe(10); -assert(isZeroFilled(new Float64Array(10))); - -new Buffer(10); -assert(isZeroFilled(new Float64Array(10))); - -Buffer.allocUnsafe(10); -assert(isZeroFilled(Buffer.alloc(10))); - diff --git a/src/node_modules/buffer/test/node/test-buffer-slow.js b/src/node_modules/buffer/test/node/test-buffer-slow.js deleted file mode 100644 index 65cea21..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-slow.js +++ /dev/null @@ -1,63 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - - -var assert = require('assert'); -var buffer = require('../../'); -var Buffer = buffer.Buffer; -var SlowBuffer = buffer.SlowBuffer; - -var ones = [1, 1, 1, 1]; - -// should create a Buffer -var sb = SlowBuffer(4); -assert(sb instanceof Buffer); -assert.strictEqual(sb.length, 4); -sb.fill(1); -for (var [key, value] of sb.entries()) { - assert.deepStrictEqual(value, ones[key]); -} - -// underlying ArrayBuffer should have the same length -assert.strictEqual(sb.buffer.byteLength, 4); - -// should work without new -sb = SlowBuffer(4); -assert(sb instanceof Buffer); -assert.strictEqual(sb.length, 4); -sb.fill(1); -for (var [key, value] of sb.entries()) { - assert.deepStrictEqual(value, ones[key]); -} - -// should work with edge cases -assert.strictEqual(SlowBuffer(0).length, 0); -try { - assert.strictEqual( - SlowBuffer(buffer.kMaxLength).length, buffer.kMaxLength); -} catch (e) { - assert.equal(e.message, 'Array buffer allocation failed'); -} - -// should work with number-coercible values -assert.strictEqual(SlowBuffer('6').length, 6); -assert.strictEqual(SlowBuffer(true).length, 1); - -// should create zero-length buffer if parameter is not a number -assert.strictEqual(SlowBuffer().length, 0); -assert.strictEqual(SlowBuffer(NaN).length, 0); -assert.strictEqual(SlowBuffer({}).length, 0); -assert.strictEqual(SlowBuffer('string').length, 0); - -// should throw with invalid length -assert.throws(function() { - SlowBuffer(Infinity); -}, 'invalid Buffer length'); -assert.throws(function() { - SlowBuffer(-1); -}, 'invalid Buffer length'); -assert.throws(function() { - SlowBuffer(buffer.kMaxLength + 1); -}, 'invalid Buffer length'); - diff --git a/src/node_modules/buffer/test/node/test-buffer-swap.js b/src/node_modules/buffer/test/node/test-buffer-swap.js deleted file mode 100644 index 2ec1a7a..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-swap.js +++ /dev/null @@ -1,141 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - - -var assert = require('assert'); - -// Test buffers small enough to use the JS implementation -var buf = Buffer.from([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, - 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10]); - -assert.strictEqual(buf, buf.swap16()); -assert.deepStrictEqual(buf, Buffer.from([0x02, 0x01, 0x04, 0x03, 0x06, 0x05, - 0x08, 0x07, 0x0a, 0x09, 0x0c, 0x0b, - 0x0e, 0x0d, 0x10, 0x0f])); -buf.swap16(); // restore - -assert.strictEqual(buf, buf.swap32()); -assert.deepStrictEqual(buf, Buffer.from([0x04, 0x03, 0x02, 0x01, 0x08, 0x07, - 0x06, 0x05, 0x0c, 0x0b, 0x0a, 0x09, - 0x10, 0x0f, 0x0e, 0x0d])); -buf.swap32(); // restore - -assert.strictEqual(buf, buf.swap64()); -assert.deepStrictEqual(buf, Buffer.from([0x08, 0x07, 0x06, 0x05, 0x04, 0x03, - 0x02, 0x01, 0x10, 0x0f, 0x0e, 0x0d, - 0x0c, 0x0b, 0x0a, 0x09])); - -// Operates in-place -var buf3 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7]); -buf3.slice(1, 5).swap32(); -assert.deepStrictEqual(buf3, Buffer.from([0x1, 0x5, 0x4, 0x3, 0x2, 0x6, 0x7])); - -buf3.slice(1, 5).swap16(); -assert.deepStrictEqual(buf3, Buffer.from([0x1, 0x4, 0x5, 0x2, 0x3, 0x6, 0x7])); - -var buf3_64 = Buffer.from([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10]); -buf3_64.slice(2, 18).swap64(); -assert.deepStrictEqual(buf3_64, Buffer.from([0x01, 0x02, 0x0a, 0x09, 0x08, 0x07, - 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, - 0x10, 0x0f, 0x0e, 0x0d, 0x0c, 0x0b, - 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, - 0x0f, 0x10])); - -// Force use of native code (Buffer size above threshold limit for js impl) -var buf4A = new Uint32Array(256).fill(0x04030201); -var buf4 = Buffer.from(buf4A.buffer, buf4A.byteOffset); -var buf5A = new Uint32Array(256).fill(0x03040102); -var buf5 = Buffer.from(buf5A.buffer, buf5A.byteOffset); - -buf4.swap16(); -assert.deepStrictEqual(buf4, buf5); - -var buf6A = new Uint32Array(256).fill(0x04030201); -var buf6 = Buffer.from(buf6A.buffer); -var bu7A = new Uint32Array(256).fill(0x01020304); -var buf7 = Buffer.from(bu7A.buffer, bu7A.byteOffset); - -buf6.swap32(); -assert.deepStrictEqual(buf6, buf7); - -var buf8A = new Uint8Array(256 * 8); -var buf9A = new Uint8Array(256 * 8); -for (var i = 0; i < buf8A.length; i++) { - buf8A[i] = i % 8; - buf9A[buf9A.length - i - 1] = i % 8; -} -var buf8 = Buffer.from(buf8A.buffer, buf8A.byteOffset); -var buf9 = Buffer.from(buf9A.buffer, buf9A.byteOffset); - -buf8.swap64(); -assert.deepStrictEqual(buf8, buf9); - -// Test native code with buffers that are not memory-aligned -var buf10A = new Uint8Array(256 * 8); -var buf11A = new Uint8Array(256 * 8 - 2); -for (var i = 0; i < buf10A.length; i++) { - buf10A[i] = i % 2; -} -for (var i = 1; i < buf11A.length; i++) { - buf11A[buf11A.length - i] = (i + 1) % 2; -} -var buf10 = Buffer.from(buf10A.buffer, buf10A.byteOffset); -// 0|1 0|1 0|1... -var buf11 = Buffer.from(buf11A.buffer, buf11A.byteOffset); -// 0|0 1|0 1|0... - -buf10.slice(1, buf10.length - 1).swap16(); -assert.deepStrictEqual(buf10.slice(0, buf11.length), buf11); - - -var buf12A = new Uint8Array(256 * 8); -var buf13A = new Uint8Array(256 * 8 - 4); -for (var i = 0; i < buf12A.length; i++) { - buf12A[i] = i % 4; -} -for (var i = 1; i < buf13A.length; i++) { - buf13A[buf13A.length - i] = (i + 1) % 4; -} -var buf12 = Buffer.from(buf12A.buffer, buf12A.byteOffset); -// 0|1 2 3 0|1 2 3... -var buf13 = Buffer.from(buf13A.buffer, buf13A.byteOffset); -// 0|0 3 2 1|0 3 2... - -buf12.slice(1, buf12.length - 3).swap32(); -assert.deepStrictEqual(buf12.slice(0, buf13.length), buf13); - - -var buf14A = new Uint8Array(256 * 8); -var buf15A = new Uint8Array(256 * 8 - 8); -for (var i = 0; i < buf14A.length; i++) { - buf14A[i] = i % 8; -} -for (var i = 1; i < buf15A.length; i++) { - buf15A[buf15A.length - i] = (i + 1) % 8; -} -var buf14 = Buffer.from(buf14A.buffer, buf14A.byteOffset); -// 0|1 2 3 4 5 6 7 0|1 2 3 4... -var buf15 = Buffer.from(buf15A.buffer, buf15A.byteOffset); -// 0|0 7 6 5 4 3 2 1|0 7 6 5... - -buf14.slice(1, buf14.length - 7).swap64(); -assert.deepStrictEqual(buf14.slice(0, buf15.length), buf15); - -// Length assertions -var re16 = /Buffer size must be a multiple of 16-bits/; -var re32 = /Buffer size must be a multiple of 32-bits/; -var re64 = /Buffer size must be a multiple of 64-bits/; - -assert.throws(() => Buffer.from(buf3).swap16(), re16); -assert.throws(() => Buffer.alloc(1025).swap16(), re16); -assert.throws(() => Buffer.from(buf3).swap32(), re32); -assert.throws(() => buf3.slice(1, 3).swap32(), re32); -assert.throws(() => Buffer.alloc(1025).swap32(), re32); -assert.throws(() => buf3.slice(1, 3).swap64(), re64); -assert.throws(() => Buffer.alloc(1025).swap64(), re64); - diff --git a/src/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js b/src/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js deleted file mode 100644 index 744b334..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - -// Flags: --zero-fill-buffers - -// when using --zero-fill-buffers, every Buffer and SlowBuffer -// instance must be zero filled upon creation - - -var SlowBuffer = require('../../').SlowBuffer; -var assert = require('assert'); - -function isZeroFilled(buf) { - for (var n = 0; n < buf.length; n++) - if (buf[n] > 0) return false; - return true; -} - -// This can be somewhat unreliable because the -// allocated memory might just already happen to -// contain all zeroes. The test is run multiple -// times to improve the reliability. -for (var i = 0; i < 50; i++) { - var bufs = [ - Buffer.alloc(20), - Buffer.allocUnsafe(20), - SlowBuffer(20), - Buffer(20), - new SlowBuffer(20) - ]; - for (var buf of bufs) { - assert(isZeroFilled(buf)); - } -} - diff --git a/src/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js b/src/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js deleted file mode 100644 index b21a6b2..0000000 --- a/src/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - - - -var assert = require('assert'); - - -function testUint8Array(ui) { - var length = ui.length; - for (var i = 0; i < length; i++) - if (ui[i] !== 0) return false; - return true; -} - - -for (var i = 0; i < 100; i++) { - Buffer.alloc(0); - var ui = new Uint8Array(65); - assert.ok(testUint8Array(ui), 'Uint8Array is not zero-filled'); -} - diff --git a/src/node_modules/buffer/test/node/test-buffer.js b/src/node_modules/buffer/test/node/test-buffer.js deleted file mode 100644 index 2e94de2..0000000 --- a/src/node_modules/buffer/test/node/test-buffer.js +++ /dev/null @@ -1,1534 +0,0 @@ -'use strict'; -var Buffer = require('../../').Buffer; - -var common = { skip: function () {} }; -var assert = require('assert'); - -var Buffer = require('../../').Buffer; -var SlowBuffer = require('../../').SlowBuffer; - -// counter to ensure unique value is always copied -var cntr = 0; - -var b = Buffer(1024); // safe constructor - -// console.log('b.length == %d', b.length); -assert.strictEqual(1024, b.length); - -b[0] = -1; -assert.strictEqual(b[0], 255); - -for (var i = 0; i < 1024; i++) { - b[i] = i % 256; -} - -for (var i = 0; i < 1024; i++) { - assert.strictEqual(i % 256, b[i]); -} - -var c = Buffer(512); -// console.log('c.length == %d', c.length); -assert.strictEqual(512, c.length); - -var d = new Buffer([]); -assert.strictEqual(0, d.length); - -var ui32 = new Uint32Array(4).fill(42); -var e = Buffer(ui32); -for (var [key, value] of e.entries()) { - assert.deepStrictEqual(value, ui32[key]); -} - -// First check Buffer#fill() works as expected. - -assert.throws(function() { - Buffer(8).fill('a', -1); -}); - -assert.throws(function() { - Buffer(8).fill('a', 0, 9); -}); - -// Make sure this doesn't hang indefinitely. -Buffer(8).fill(''); - -{ - var buf = new Buffer(64); - buf.fill(10); - for (var i = 0; i < buf.length; i++) - assert.equal(buf[i], 10); - - buf.fill(11, 0, buf.length >> 1); - for (var i = 0; i < buf.length >> 1; i++) - assert.equal(buf[i], 11); - for (var i = (buf.length >> 1) + 1; i < buf.length; i++) - assert.equal(buf[i], 10); - - buf.fill('h'); - for (var i = 0; i < buf.length; i++) - assert.equal('h'.charCodeAt(0), buf[i]); - - buf.fill(0); - for (var i = 0; i < buf.length; i++) - assert.equal(0, buf[i]); - - buf.fill(null); - for (var i = 0; i < buf.length; i++) - assert.equal(0, buf[i]); - - buf.fill(1, 16, 32); - for (var i = 0; i < 16; i++) - assert.equal(0, buf[i]); - for (var i = 16; i < 32; i++) - assert.equal(1, buf[i]); - for (var i = 32; i < buf.length; i++) - assert.equal(0, buf[i]); -} - -{ - var buf = new Buffer(10); - buf.fill('abc'); - assert.equal(buf.toString(), 'abcabcabca'); - buf.fill('է'); - assert.equal(buf.toString(), 'էէէէէ'); -} - -{ - // copy 512 bytes, from 0 to 512. - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, 0, 512); -// console.log('copied %d bytes from b into c', copied); - assert.strictEqual(512, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} - -{ - // copy c into b, without specifying sourceEnd - b.fill(++cntr); - c.fill(++cntr); - var copied = c.copy(b, 0, 0); -// console.log('copied %d bytes from c into b w/o sourceEnd', copied); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(c[i], b[i]); - } -} - -{ - // copy c into b, without specifying sourceStart - b.fill(++cntr); - c.fill(++cntr); - var copied = c.copy(b, 0); -// console.log('copied %d bytes from c into b w/o sourceStart', copied); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(c[i], b[i]); - } -} - -{ - // copy longer buffer b to shorter c without targetStart - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c); -// console.log('copied %d bytes from b into c w/o targetStart', copied); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} - -{ - // copy starting near end of b to c - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, b.length - Math.floor(c.length / 2)); -// console.log('copied %d bytes from end of b into beginning of c', copied); - assert.strictEqual(Math.floor(c.length / 2), copied); - for (var i = 0; i < Math.floor(c.length / 2); i++) { - assert.strictEqual(b[b.length - Math.floor(c.length / 2) + i], c[i]); - } - for (var i = Math.floor(c.length / 2) + 1; i < c.length; i++) { - assert.strictEqual(c[c.length - 1], c[i]); - } -} - -{ - // try to copy 513 bytes, and check we don't overrun c - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, 0, 513); -// console.log('copied %d bytes from b trying to overrun c', copied); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} - -{ - // copy 768 bytes from b into b - b.fill(++cntr); - b.fill(++cntr, 256); - var copied = b.copy(b, 0, 256, 1024); -// console.log('copied %d bytes from b into b', copied); - assert.strictEqual(768, copied); - for (var i = 0; i < b.length; i++) { - assert.strictEqual(cntr, b[i]); - } -} - -// copy string longer than buffer length (failure will segfault) -var bb = Buffer(10); -bb.fill('hello crazy world'); - - -// try to copy from before the beginning of b -assert.doesNotThrow(() => { b.copy(c, 0, 100, 10); }); - -// copy throws at negative sourceStart -assert.throws(function() { - Buffer(5).copy(Buffer(5), 0, -1); -}, RangeError); - -{ - // check sourceEnd resets to targetEnd if former is greater than the latter - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, 0, 1025); -// console.log('copied %d bytes from b into c', copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} - -// throw with negative sourceEnd -// console.log('test copy at negative sourceEnd'); -assert.throws(function() { - b.copy(c, 0, 0, -1); -}, RangeError); - -// when sourceStart is greater than sourceEnd, zero copied -assert.equal(b.copy(c, 0, 100, 10), 0); - -// when targetStart > targetLength, zero copied -assert.equal(b.copy(c, 512, 0, 10), 0); - -var caught_error; - -// invalid encoding for Buffer.toString -caught_error = null; -try { - b.toString('invalid'); -} catch (err) { - caught_error = err; -} -assert.strictEqual('Unknown encoding: invalid', caught_error.message); - -// invalid encoding for Buffer.write -caught_error = null; -try { - b.write('test string', 0, 5, 'invalid'); -} catch (err) { - caught_error = err; -} -assert.strictEqual('Unknown encoding: invalid', caught_error.message); - -// try to create 0-length buffers -new Buffer(''); -new Buffer('', 'ascii'); -new Buffer('', 'latin1'); -new Buffer('', 'binary'); -Buffer(0); - -// try to write a 0-length string beyond the end of b -assert.throws(function() { - b.write('', 2048); -}, RangeError); - -// throw when writing to negative offset -assert.throws(function() { - b.write('a', -1); -}, RangeError); - -// throw when writing past bounds from the pool -assert.throws(function() { - b.write('a', 2048); -}, RangeError); - -// throw when writing to negative offset -assert.throws(function() { - b.write('a', -1); -}, RangeError); - -// try to copy 0 bytes worth of data into an empty buffer -b.copy(Buffer(0), 0, 0, 0); - -// try to copy 0 bytes past the end of the target buffer -b.copy(Buffer(0), 1, 1, 1); -b.copy(Buffer(1), 1, 1, 1); - -// try to copy 0 bytes from past the end of the source buffer -b.copy(Buffer(1), 0, 2048, 2048); - -var rangeBuffer = new Buffer('abc'); - -// if start >= buffer's length, empty string will be returned -assert.equal(rangeBuffer.toString('ascii', 3), ''); -assert.equal(rangeBuffer.toString('ascii', +Infinity), ''); -assert.equal(rangeBuffer.toString('ascii', 3.14, 3), ''); -assert.equal(rangeBuffer.toString('ascii', 'Infinity', 3), ''); - -// if end <= 0, empty string will be returned -assert.equal(rangeBuffer.toString('ascii', 1, 0), ''); -assert.equal(rangeBuffer.toString('ascii', 1, -1.2), ''); -assert.equal(rangeBuffer.toString('ascii', 1, -100), ''); -assert.equal(rangeBuffer.toString('ascii', 1, -Infinity), ''); - -// if start < 0, start will be taken as zero -assert.equal(rangeBuffer.toString('ascii', -1, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', -1.99, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', -Infinity, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '-1', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '-1.99', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '-Infinity', 3), 'abc'); - -// if start is an invalid integer, start will be taken as zero -assert.equal(rangeBuffer.toString('ascii', 'node.js', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', {}, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', [], 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', NaN, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', null, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', undefined, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', false, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '', 3), 'abc'); - -// but, if start is an integer when coerced, then it will be coerced and used. -assert.equal(rangeBuffer.toString('ascii', '-1', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '1', 3), 'bc'); -assert.equal(rangeBuffer.toString('ascii', '-Infinity', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '3', 3), ''); -assert.equal(rangeBuffer.toString('ascii', Number(3), 3), ''); -assert.equal(rangeBuffer.toString('ascii', '3.14', 3), ''); -assert.equal(rangeBuffer.toString('ascii', '1.99', 3), 'bc'); -assert.equal(rangeBuffer.toString('ascii', '-1.99', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 1.99, 3), 'bc'); -assert.equal(rangeBuffer.toString('ascii', true, 3), 'bc'); - -// if end > buffer's length, end will be taken as buffer's length -assert.equal(rangeBuffer.toString('ascii', 0, 5), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, 6.99), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, Infinity), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '5'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '6.99'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, 'Infinity'), 'abc'); - -// if end is an invalid integer, end will be taken as buffer's length -assert.equal(rangeBuffer.toString('ascii', 0, 'node.js'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, {}), ''); -assert.equal(rangeBuffer.toString('ascii', 0, NaN), ''); -assert.equal(rangeBuffer.toString('ascii', 0, undefined), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, null), ''); -assert.equal(rangeBuffer.toString('ascii', 0, []), ''); -assert.equal(rangeBuffer.toString('ascii', 0, false), ''); -assert.equal(rangeBuffer.toString('ascii', 0, ''), ''); - -// but, if end is an integer when coerced, then it will be coerced and used. -assert.equal(rangeBuffer.toString('ascii', 0, '-1'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, '1'), 'a'); -assert.equal(rangeBuffer.toString('ascii', 0, '-Infinity'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, '3'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, Number(3)), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '3.14'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '1.99'), 'a'); -assert.equal(rangeBuffer.toString('ascii', 0, '-1.99'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, 1.99), 'a'); -assert.equal(rangeBuffer.toString('ascii', 0, true), 'a'); - -// try toString() with a object as a encoding -assert.equal(rangeBuffer.toString({toString: function() { - return 'ascii'; -}}), 'abc'); - -// testing for smart defaults and ability to pass string values as offset -var writeTest = new Buffer('abcdes'); -writeTest.write('n', 'ascii'); -writeTest.write('o', '1', 'ascii'); -writeTest.write('d', '2', 'ascii'); -writeTest.write('e', 3, 'ascii'); -writeTest.write('j', 4, 'ascii'); -assert.equal(writeTest.toString(), 'nodejs'); - -// ASCII slice test -{ - var asciiString = 'hello world'; - - for (var i = 0; i < asciiString.length; i++) { - b[i] = asciiString.charCodeAt(i); - } - var asciiSlice = b.toString('ascii', 0, asciiString.length); - assert.equal(asciiString, asciiSlice); -} - -{ - var asciiString = 'hello world'; - var offset = 100; - - var written = b.write(asciiString, offset, 'ascii'); - assert.equal(asciiString.length, written); - var asciiSlice = b.toString('ascii', offset, offset + asciiString.length); - assert.equal(asciiString, asciiSlice); -} - -{ - var asciiString = 'hello world'; - var offset = 100; - - var sliceA = b.slice(offset, offset + asciiString.length); - var sliceB = b.slice(offset, offset + asciiString.length); - for (var i = 0; i < asciiString.length; i++) { - assert.equal(sliceA[i], sliceB[i]); - } -} - -// UTF-8 slice test - -var utf8String = '¡hέlló wôrld!'; -var offset = 100; - -b.write(utf8String, 0, Buffer.byteLength(utf8String), 'utf8'); -var utf8Slice = b.toString('utf8', 0, Buffer.byteLength(utf8String)); -assert.equal(utf8String, utf8Slice); - -var written = b.write(utf8String, offset, 'utf8'); -assert.equal(Buffer.byteLength(utf8String), written); -utf8Slice = b.toString('utf8', offset, offset + Buffer.byteLength(utf8String)); -assert.equal(utf8String, utf8Slice); - -var sliceA = b.slice(offset, offset + Buffer.byteLength(utf8String)); -var sliceB = b.slice(offset, offset + Buffer.byteLength(utf8String)); -for (var i = 0; i < Buffer.byteLength(utf8String); i++) { - assert.equal(sliceA[i], sliceB[i]); -} - -{ - var slice = b.slice(100, 150); - assert.equal(50, slice.length); - for (var i = 0; i < 50; i++) { - assert.equal(b[100 + i], slice[i]); - } -} - -{ - // make sure only top level parent propagates from allocPool - var b = new Buffer(5); - var c = b.slice(0, 4); - var d = c.slice(0, 2); - assert.equal(b.parent, c.parent); - assert.equal(b.parent, d.parent); -} - -{ - // also from a non-pooled instance - var b = new SlowBuffer(5); - var c = b.slice(0, 4); - var d = c.slice(0, 2); - assert.equal(c.parent, d.parent); -} - -{ - // Bug regression test - var testValue = '\u00F6\u65E5\u672C\u8A9E'; // ö日本語 - var buffer = new Buffer(32); - var size = buffer.write(testValue, 0, 'utf8'); -// console.log('bytes written to buffer: ' + size); - var slice = buffer.toString('utf8', 0, size); - assert.equal(slice, testValue); -} - -{ - // Test triple slice - var a = new Buffer(8); - for (var i = 0; i < 8; i++) a[i] = i; - var b = a.slice(4, 8); - assert.equal(4, b[0]); - assert.equal(5, b[1]); - assert.equal(6, b[2]); - assert.equal(7, b[3]); - var c = b.slice(2, 4); - assert.equal(6, c[0]); - assert.equal(7, c[1]); -} - -{ - var d = new Buffer([23, 42, 255]); - assert.equal(d.length, 3); - assert.equal(d[0], 23); - assert.equal(d[1], 42); - assert.equal(d[2], 255); - assert.deepStrictEqual(d, new Buffer(d)); -} - -{ - var e = new Buffer('über'); -// console.error('uber: \'%s\'', e.toString()); - assert.deepStrictEqual(e, new Buffer([195, 188, 98, 101, 114])); -} - -{ - var f = new Buffer('über', 'ascii'); -// console.error('f.length: %d (should be 4)', f.length); - assert.deepStrictEqual(f, new Buffer([252, 98, 101, 114])); -} - -['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) { - { - var f = new Buffer('über', encoding); -// console.error('f.length: %d (should be 8)', f.length); - assert.deepStrictEqual(f, new Buffer([252, 0, 98, 0, 101, 0, 114, 0])); - } - - { - var f = new Buffer('привет', encoding); -// console.error('f.length: %d (should be 12)', f.length); - var expected = new Buffer([63, 4, 64, 4, 56, 4, 50, 4, 53, 4, 66, 4]); - assert.deepStrictEqual(f, expected); - assert.equal(f.toString(encoding), 'привет'); - } - - { - var f = new Buffer([0, 0, 0, 0, 0]); - assert.equal(f.length, 5); - var size = f.write('あいうえお', encoding); -// console.error('bytes written to buffer: %d (should be 4)', size); - assert.equal(size, 4); - assert.deepStrictEqual(f, new Buffer([0x42, 0x30, 0x44, 0x30, 0x00])); - } -}); - -{ - var f = new Buffer('\uD83D\uDC4D', 'utf-16le'); // THUMBS UP SIGN (U+1F44D) - assert.equal(f.length, 4); - assert.deepStrictEqual(f, new Buffer('3DD84DDC', 'hex')); -} - - -var arrayIsh = {0: 0, 1: 1, 2: 2, 3: 3, length: 4}; -var g = new Buffer(arrayIsh); -assert.deepStrictEqual(g, new Buffer([0, 1, 2, 3])); -var strArrayIsh = {0: '0', 1: '1', 2: '2', 3: '3', length: 4}; -g = new Buffer(strArrayIsh); -assert.deepStrictEqual(g, new Buffer([0, 1, 2, 3])); - - -// -// Test toString('base64') -// -assert.equal('TWFu', (new Buffer('Man')).toString('base64')); - -{ - // test that regular and URL-safe base64 both work - var expected = [0xff, 0xff, 0xbe, 0xff, 0xef, 0xbf, 0xfb, 0xef, 0xff]; - assert.deepStrictEqual(Buffer('//++/++/++//', 'base64'), Buffer(expected)); - assert.deepStrictEqual(Buffer('__--_--_--__', 'base64'), Buffer(expected)); -} - -{ - // big example - var quote = 'Man is distinguished, not only by his reason, but by this ' + - 'singular passion from other animals, which is a lust ' + - 'of the mind, that by a perseverance of delight in the ' + - 'continued and indefatigable generation of knowledge, ' + - 'exceeds the short vehemence of any carnal pleasure.'; - var expected = 'TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb' + - '24sIGJ1dCBieSB0aGlzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlci' + - 'BhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2YgdGhlIG1pbmQsIHRoYXQ' + - 'gYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGlu' + - 'dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZ' + - 'GdlLCBleGNlZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm' + - '5hbCBwbGVhc3VyZS4='; - assert.equal(expected, (new Buffer(quote)).toString('base64')); - - var b = new Buffer(1024); - var bytesWritten = b.write(expected, 0, 'base64'); - assert.equal(quote.length, bytesWritten); - assert.equal(quote, b.toString('ascii', 0, quote.length)); - - // check that the base64 decoder ignores whitespace - var expectedWhite = expected.slice(0, 60) + ' \n' + - expected.slice(60, 120) + ' \n' + - expected.slice(120, 180) + ' \n' + - expected.slice(180, 240) + ' \n' + - expected.slice(240, 300) + '\n' + - expected.slice(300, 360) + '\n'; - b = new Buffer(1024); - bytesWritten = b.write(expectedWhite, 0, 'base64'); - assert.equal(quote.length, bytesWritten); - assert.equal(quote, b.toString('ascii', 0, quote.length)); - - // check that the base64 decoder on the constructor works - // even in the presence of whitespace. - b = new Buffer(expectedWhite, 'base64'); - assert.equal(quote.length, b.length); - assert.equal(quote, b.toString('ascii', 0, quote.length)); - - // check that the base64 decoder ignores illegal chars - var expectedIllegal = expected.slice(0, 60) + ' \x80' + - expected.slice(60, 120) + ' \xff' + - expected.slice(120, 180) + ' \x00' + - expected.slice(180, 240) + ' \x98' + - expected.slice(240, 300) + '\x03' + - expected.slice(300, 360); - b = new Buffer(expectedIllegal, 'base64'); - assert.equal(quote.length, b.length); - assert.equal(quote, b.toString('ascii', 0, quote.length)); -} - -assert.equal(new Buffer('', 'base64').toString(), ''); -assert.equal(new Buffer('K', 'base64').toString(), ''); - -// multiple-of-4 with padding -assert.equal(new Buffer('Kg==', 'base64').toString(), '*'); -assert.equal(new Buffer('Kio=', 'base64').toString(), '**'); -assert.equal(new Buffer('Kioq', 'base64').toString(), '***'); -assert.equal(new Buffer('KioqKg==', 'base64').toString(), '****'); -assert.equal(new Buffer('KioqKio=', 'base64').toString(), '*****'); -assert.equal(new Buffer('KioqKioq', 'base64').toString(), '******'); -assert.equal(new Buffer('KioqKioqKg==', 'base64').toString(), '*******'); -assert.equal(new Buffer('KioqKioqKio=', 'base64').toString(), '********'); -assert.equal(new Buffer('KioqKioqKioq', 'base64').toString(), '*********'); -assert.equal(new Buffer('KioqKioqKioqKg==', 'base64').toString(), - '**********'); -assert.equal(new Buffer('KioqKioqKioqKio=', 'base64').toString(), - '***********'); -assert.equal(new Buffer('KioqKioqKioqKioq', 'base64').toString(), - '************'); -assert.equal(new Buffer('KioqKioqKioqKioqKg==', 'base64').toString(), - '*************'); -assert.equal(new Buffer('KioqKioqKioqKioqKio=', 'base64').toString(), - '**************'); -assert.equal(new Buffer('KioqKioqKioqKioqKioq', 'base64').toString(), - '***************'); -assert.equal(new Buffer('KioqKioqKioqKioqKioqKg==', 'base64').toString(), - '****************'); -assert.equal(new Buffer('KioqKioqKioqKioqKioqKio=', 'base64').toString(), - '*****************'); -assert.equal(new Buffer('KioqKioqKioqKioqKioqKioq', 'base64').toString(), - '******************'); -assert.equal(new Buffer('KioqKioqKioqKioqKioqKioqKg==', 'base64').toString(), - '*******************'); -assert.equal(new Buffer('KioqKioqKioqKioqKioqKioqKio=', 'base64').toString(), - '********************'); - -// no padding, not a multiple of 4 -assert.equal(new Buffer('Kg', 'base64').toString(), '*'); -assert.equal(new Buffer('Kio', 'base64').toString(), '**'); -assert.equal(new Buffer('KioqKg', 'base64').toString(), '****'); -assert.equal(new Buffer('KioqKio', 'base64').toString(), '*****'); -assert.equal(new Buffer('KioqKioqKg', 'base64').toString(), '*******'); -assert.equal(new Buffer('KioqKioqKio', 'base64').toString(), '********'); -assert.equal(new Buffer('KioqKioqKioqKg', 'base64').toString(), '**********'); -assert.equal(new Buffer('KioqKioqKioqKio', 'base64').toString(), '***********'); -assert.equal(new Buffer('KioqKioqKioqKioqKg', 'base64').toString(), - '*************'); -assert.equal(new Buffer('KioqKioqKioqKioqKio', 'base64').toString(), - '**************'); -assert.equal(new Buffer('KioqKioqKioqKioqKioqKg', 'base64').toString(), - '****************'); -assert.equal(new Buffer('KioqKioqKioqKioqKioqKio', 'base64').toString(), - '*****************'); -assert.equal(new Buffer('KioqKioqKioqKioqKioqKioqKg', 'base64').toString(), - '*******************'); -assert.equal(new Buffer('KioqKioqKioqKioqKioqKioqKio', 'base64').toString(), - '********************'); - -// handle padding graciously, multiple-of-4 or not -assert.equal( - new Buffer('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw==', 'base64').length, - 32 -); -assert.equal( - new Buffer('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw=', 'base64').length, - 32 -); -assert.equal( - new Buffer('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw', 'base64').length, - 32 -); -assert.equal( - new Buffer('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg==', 'base64').length, - 31 -); -assert.equal( - new Buffer('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg=', 'base64').length, - 31 -); -assert.equal( - new Buffer('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg', 'base64').length, - 31 -); - -// This string encodes single '.' character in UTF-16 -var dot = new Buffer('//4uAA==', 'base64'); -assert.equal(dot[0], 0xff); -assert.equal(dot[1], 0xfe); -assert.equal(dot[2], 0x2e); -assert.equal(dot[3], 0x00); -assert.equal(dot.toString('base64'), '//4uAA=='); - -{ - // Writing base64 at a position > 0 should not mangle the result. - // - // https://github.com/joyent/node/issues/402 - var segments = ['TWFkbmVzcz8h', 'IFRoaXM=', 'IGlz', 'IG5vZGUuanMh']; - var b = new Buffer(64); - var pos = 0; - - for (var i = 0; i < segments.length; ++i) { - pos += b.write(segments[i], pos, 'base64'); - } - assert.equal(b.toString('latin1', 0, pos), 'Madness?! This is node.js!'); - assert.equal(b.toString('binary', 0, pos), 'Madness?! This is node.js!'); -} - -// Regression test for https://github.com/nodejs/node/issues/3496. -// assert.equal(Buffer('=bad'.repeat(1e4), 'base64').length, 0); - -{ - // Creating buffers larger than pool size. - var l = Buffer.poolSize + 5; - var s = 'h'.repeat(l); - - var b = new Buffer(s); - - for (var i = 0; i < l; i++) { - assert.equal('h'.charCodeAt(0), b[i]); - } - - var sb = b.toString(); - assert.equal(sb.length, s.length); - assert.equal(sb, s); -} - -{ - // Single argument slice - var b = new Buffer('abcde'); - assert.equal('bcde', b.slice(1).toString()); -} - -// slice(0,0).length === 0 -assert.equal(0, Buffer('hello').slice(0, 0).length); - -// test hex toString -// console.log('Create hex string from buffer'); -var hexb = new Buffer(256); -for (var i = 0; i < 256; i++) { - hexb[i] = i; -} -var hexStr = hexb.toString('hex'); -assert.equal(hexStr, - '000102030405060708090a0b0c0d0e0f' + - '101112131415161718191a1b1c1d1e1f' + - '202122232425262728292a2b2c2d2e2f' + - '303132333435363738393a3b3c3d3e3f' + - '404142434445464748494a4b4c4d4e4f' + - '505152535455565758595a5b5c5d5e5f' + - '606162636465666768696a6b6c6d6e6f' + - '707172737475767778797a7b7c7d7e7f' + - '808182838485868788898a8b8c8d8e8f' + - '909192939495969798999a9b9c9d9e9f' + - 'a0a1a2a3a4a5a6a7a8a9aaabacadaeaf' + - 'b0b1b2b3b4b5b6b7b8b9babbbcbdbebf' + - 'c0c1c2c3c4c5c6c7c8c9cacbcccdcecf' + - 'd0d1d2d3d4d5d6d7d8d9dadbdcdddedf' + - 'e0e1e2e3e4e5e6e7e8e9eaebecedeeef' + - 'f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff'); - -// console.log('Create buffer from hex string'); -var hexb2 = new Buffer(hexStr, 'hex'); -for (var i = 0; i < 256; i++) { - assert.equal(hexb2[i], hexb[i]); -} - -// Test single hex character throws TypeError -// - https://github.com/nodejs/node/issues/6770 -assert.throws(function() { - Buffer.from('A', 'hex'); -}, TypeError); - -// Test single base64 char encodes as 0 -// assert.strictEqual(Buffer.from('A', 'base64').length, 0); - -{ - // test an invalid slice end. -// console.log('Try to slice off the end of the buffer'); - var b = new Buffer([1, 2, 3, 4, 5]); - var b2 = b.toString('hex', 1, 10000); - var b3 = b.toString('hex', 1, 5); - var b4 = b.toString('hex', 1); - assert.equal(b2, b3); - assert.equal(b2, b4); -} - -function buildBuffer(data) { - if (Array.isArray(data)) { - var buffer = Buffer(data.length); - data.forEach(function(v, k) { - buffer[k] = v; - }); - return buffer; - } - return null; -} - -var x = buildBuffer([0x81, 0xa3, 0x66, 0x6f, 0x6f, 0xa3, 0x62, 0x61, 0x72]); - -// console.log(x.inspect()); -assert.equal('', x.inspect()); - -{ - var z = x.slice(4); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(5, z.length); - assert.equal(0x6f, z[0]); - assert.equal(0xa3, z[1]); - assert.equal(0x62, z[2]); - assert.equal(0x61, z[3]); - assert.equal(0x72, z[4]); -} - -{ - var z = x.slice(0); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(z.length, x.length); -} - -{ - var z = x.slice(0, 4); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(4, z.length); - assert.equal(0x81, z[0]); - assert.equal(0xa3, z[1]); -} - -{ - var z = x.slice(0, 9); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(9, z.length); -} - -{ - var z = x.slice(1, 4); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(3, z.length); - assert.equal(0xa3, z[0]); -} - -{ - var z = x.slice(2, 4); -// console.log(z.inspect()); -// console.log(z.length); - assert.equal(2, z.length); - assert.equal(0x66, z[0]); - assert.equal(0x6f, z[1]); -} - -assert.equal(0, Buffer('hello').slice(0, 0).length); - -['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) { - var b = new Buffer(10); - b.write('あいうえお', encoding); - assert.equal(b.toString(encoding), 'あいうえお'); -}); - -{ - // latin1 encoding should write only one byte per character. - var b = Buffer([0xde, 0xad, 0xbe, 0xef]); - var s = String.fromCharCode(0xffff); - b.write(s, 0, 'latin1'); - assert.equal(0xff, b[0]); - assert.equal(0xad, b[1]); - assert.equal(0xbe, b[2]); - assert.equal(0xef, b[3]); - s = String.fromCharCode(0xaaee); - b.write(s, 0, 'latin1'); - assert.equal(0xee, b[0]); - assert.equal(0xad, b[1]); - assert.equal(0xbe, b[2]); - assert.equal(0xef, b[3]); -} - -{ - // Binary encoding should write only one byte per character. - var b = Buffer([0xde, 0xad, 0xbe, 0xef]); - var s = String.fromCharCode(0xffff); - b.write(s, 0, 'binary'); - assert.equal(0xff, b[0]); - assert.equal(0xad, b[1]); - assert.equal(0xbe, b[2]); - assert.equal(0xef, b[3]); - s = String.fromCharCode(0xaaee); - b.write(s, 0, 'binary'); - assert.equal(0xee, b[0]); - assert.equal(0xad, b[1]); - assert.equal(0xbe, b[2]); - assert.equal(0xef, b[3]); -} - -{ - // #1210 Test UTF-8 string includes null character - var buf = new Buffer('\0'); - assert.equal(buf.length, 1); - buf = new Buffer('\0\0'); - assert.equal(buf.length, 2); -} - -{ - var buf = new Buffer(2); - var written = buf.write(''); // 0byte - assert.equal(written, 0); - written = buf.write('\0'); // 1byte (v8 adds null terminator) - assert.equal(written, 1); - written = buf.write('a\0'); // 1byte * 2 - assert.equal(written, 2); - written = buf.write('あ'); // 3bytes - assert.equal(written, 0); - written = buf.write('\0あ'); // 1byte + 3bytes - assert.equal(written, 1); - written = buf.write('\0\0あ'); // 1byte * 2 + 3bytes - assert.equal(written, 2); -} - -{ - var buf = new Buffer(10); - written = buf.write('あいう'); // 3bytes * 3 (v8 adds null terminator) - assert.equal(written, 9); - written = buf.write('あいう\0'); // 3bytes * 3 + 1byte - assert.equal(written, 10); -} - -{ - // #243 Test write() with maxLength - var buf = new Buffer(4); - buf.fill(0xFF); - var written = buf.write('abcd', 1, 2, 'utf8'); -// console.log(buf); - assert.equal(written, 2); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0x61); - assert.equal(buf[2], 0x62); - assert.equal(buf[3], 0xFF); - - buf.fill(0xFF); - written = buf.write('abcd', 1, 4); -// console.log(buf); - assert.equal(written, 3); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0x61); - assert.equal(buf[2], 0x62); - assert.equal(buf[3], 0x63); - - buf.fill(0xFF); - written = buf.write('abcd', 1, 2, 'utf8'); -// console.log(buf); - assert.equal(written, 2); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0x61); - assert.equal(buf[2], 0x62); - assert.equal(buf[3], 0xFF); - - buf.fill(0xFF); - written = buf.write('abcdef', 1, 2, 'hex'); -// console.log(buf); - assert.equal(written, 2); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0xAB); - assert.equal(buf[2], 0xCD); - assert.equal(buf[3], 0xFF); - - ['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) { - buf.fill(0xFF); - written = buf.write('abcd', 0, 2, encoding); -// console.log(buf); - assert.equal(written, 2); - assert.equal(buf[0], 0x61); - assert.equal(buf[1], 0x00); - assert.equal(buf[2], 0xFF); - assert.equal(buf[3], 0xFF); - }); -} - -{ - // test offset returns are correct - var b = new Buffer(16); - assert.equal(4, b.writeUInt32LE(0, 0)); - assert.equal(6, b.writeUInt16LE(0, 4)); - assert.equal(7, b.writeUInt8(0, 6)); - assert.equal(8, b.writeInt8(0, 7)); - assert.equal(16, b.writeDoubleLE(0, 8)); -} - -{ - // test unmatched surrogates not producing invalid utf8 output - // ef bf bd = utf-8 representation of unicode replacement character - // see https://codereview.chromium.org/121173009/ - var buf = new Buffer('ab\ud800cd', 'utf8'); - assert.equal(buf[0], 0x61); - assert.equal(buf[1], 0x62); - assert.equal(buf[2], 0xef); - assert.equal(buf[3], 0xbf); - assert.equal(buf[4], 0xbd); - assert.equal(buf[5], 0x63); - assert.equal(buf[6], 0x64); -} - -{ - // test for buffer overrun - var buf = new Buffer([0, 0, 0, 0, 0]); // length: 5 - var sub = buf.slice(0, 4); // length: 4 - written = sub.write('12345', 'latin1'); - assert.equal(written, 4); - assert.equal(buf[4], 0); - written = sub.write('12345', 'binary'); - assert.equal(written, 4); - assert.equal(buf[4], 0); -} - -// Check for fractional length args, junk length args, etc. -// https://github.com/joyent/node/issues/1758 - -// Call .fill() first, stops valgrind warning about uninitialized memory reads. -Buffer(3.3).fill().toString(); // throws bad argument error in commit 43cb4ec -assert.equal(Buffer(NaN).length, 0); -assert.equal(Buffer(3.3).length, 3); -assert.equal(Buffer({length: 3.3}).length, 3); -assert.equal(Buffer({length: 'BAM'}).length, 0); - -// Make sure that strings are not coerced to numbers. -assert.equal(Buffer('99').length, 2); -assert.equal(Buffer('13.37').length, 5); - -// Ensure that the length argument is respected. -'ascii utf8 hex base64 latin1 binary'.split(' ').forEach(function(enc) { - assert.equal(Buffer(1).write('aaaaaa', 0, 1, enc), 1); -}); - -{ - // Regression test, guard against buffer overrun in the base64 decoder. - var a = Buffer(3); - var b = Buffer('xxx'); - a.write('aaaaaaaa', 'base64'); - assert.equal(b.toString(), 'xxx'); -} - -// issue GH-3416 -Buffer(Buffer(0), 0, 0); - -[ 'hex', - 'utf8', - 'utf-8', - 'ascii', - 'latin1', - 'binary', - 'base64', - 'ucs2', - 'ucs-2', - 'utf16le', - 'utf-16le' ].forEach(function(enc) { - assert.equal(Buffer.isEncoding(enc), true); - }); - -[ 'utf9', - 'utf-7', - 'Unicode-FTW', - 'new gnu gun' ].forEach(function(enc) { - assert.equal(Buffer.isEncoding(enc), false); - }); - - -// GH-5110 -{ - var buffer = new Buffer('test'); - var string = JSON.stringify(buffer); - - assert.strictEqual(string, '{"type":"Buffer","data":[116,101,115,116]}'); - - assert.deepStrictEqual(buffer, JSON.parse(string, function(key, value) { - return value && value.type === 'Buffer' - ? new Buffer(value.data) - : value; - })); -} - -// issue GH-7849 -{ - var buf = new Buffer('test'); - var json = JSON.stringify(buf); - var obj = JSON.parse(json); - var copy = new Buffer(obj); - - assert(buf.equals(copy)); -} - -// issue GH-4331 -assert.throws(function() { - Buffer(0xFFFFFFFF); -}, RangeError); -assert.throws(function() { - Buffer(0xFFFFFFFFF); -}, RangeError); - -// issue GH-5587 -assert.throws(function() { - var buf = new Buffer(8); - buf.writeFloatLE(0, 5); -}, RangeError); -assert.throws(function() { - var buf = new Buffer(16); - buf.writeDoubleLE(0, 9); -}, RangeError); - - -// attempt to overflow buffers, similar to previous bug in array buffers -assert.throws(function() { - var buf = Buffer(8); - buf.readFloatLE(0xffffffff); -}, RangeError); - -assert.throws(function() { - var buf = Buffer(8); - buf.writeFloatLE(0.0, 0xffffffff); -}, RangeError); - -assert.throws(function() { - var buf = Buffer(8); - buf.readFloatLE(0xffffffff); -}, RangeError); - -assert.throws(function() { - var buf = Buffer(8); - buf.writeFloatLE(0.0, 0xffffffff); -}, RangeError); - - -// ensure negative values can't get past offset -assert.throws(function() { - var buf = Buffer(8); - buf.readFloatLE(-1); -}, RangeError); - -assert.throws(function() { - var buf = Buffer(8); - buf.writeFloatLE(0.0, -1); -}, RangeError); - -assert.throws(function() { - var buf = Buffer(8); - buf.readFloatLE(-1); -}, RangeError); - -assert.throws(function() { - var buf = Buffer(8); - buf.writeFloatLE(0.0, -1); -}, RangeError); - -// offset checks -{ - var buf = new Buffer(0); - - assert.throws(function() { buf.readUInt8(0); }, RangeError); - assert.throws(function() { buf.readInt8(0); }, RangeError); -} - -{ - var buf = new Buffer([0xFF]); - - assert.equal(buf.readUInt8(0), 255); - assert.equal(buf.readInt8(0), -1); -} - -[16, 32].forEach(function(bits) { - var buf = new Buffer(bits / 8 - 1); - - assert.throws(function() { buf['readUInt' + bits + 'BE'](0); }, - RangeError, - 'readUInt' + bits + 'BE'); - - assert.throws(function() { buf['readUInt' + bits + 'LE'](0); }, - RangeError, - 'readUInt' + bits + 'LE'); - - assert.throws(function() { buf['readInt' + bits + 'BE'](0); }, - RangeError, - 'readInt' + bits + 'BE()'); - - assert.throws(function() { buf['readInt' + bits + 'LE'](0); }, - RangeError, - 'readInt' + bits + 'LE()'); -}); - -[16, 32].forEach(function(bits) { - var buf = new Buffer([0xFF, 0xFF, 0xFF, 0xFF]); - - assert.equal(buf['readUInt' + bits + 'BE'](0), - (0xFFFFFFFF >>> (32 - bits))); - - assert.equal(buf['readUInt' + bits + 'LE'](0), - (0xFFFFFFFF >>> (32 - bits))); - - assert.equal(buf['readInt' + bits + 'BE'](0), - (0xFFFFFFFF >> (32 - bits))); - - assert.equal(buf['readInt' + bits + 'LE'](0), - (0xFFFFFFFF >> (32 - bits))); -}); - -// test for common read(U)IntLE/BE -{ - var buf = new Buffer([0x01, 0x02, 0x03, 0x04, 0x05, 0x06]); - - assert.strictEqual(buf.readUIntLE(0, 1), 0x01); - assert.strictEqual(buf.readUIntBE(0, 1), 0x01); - assert.strictEqual(buf.readUIntLE(0, 3), 0x030201); - assert.strictEqual(buf.readUIntBE(0, 3), 0x010203); - assert.strictEqual(buf.readUIntLE(0, 5), 0x0504030201); - assert.strictEqual(buf.readUIntBE(0, 5), 0x0102030405); - assert.strictEqual(buf.readUIntLE(0, 6), 0x060504030201); - assert.strictEqual(buf.readUIntBE(0, 6), 0x010203040506); - assert.strictEqual(buf.readIntLE(0, 1), 0x01); - assert.strictEqual(buf.readIntBE(0, 1), 0x01); - assert.strictEqual(buf.readIntLE(0, 3), 0x030201); - assert.strictEqual(buf.readIntBE(0, 3), 0x010203); - assert.strictEqual(buf.readIntLE(0, 5), 0x0504030201); - assert.strictEqual(buf.readIntBE(0, 5), 0x0102030405); - assert.strictEqual(buf.readIntLE(0, 6), 0x060504030201); - assert.strictEqual(buf.readIntBE(0, 6), 0x010203040506); -} - -// test for common write(U)IntLE/BE -{ - var buf = Buffer(3); - buf.writeUIntLE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]); - assert.equal(buf.readUIntLE(0, 3), 0x123456); - - buf = Buffer(3); - buf.writeUIntBE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]); - assert.equal(buf.readUIntBE(0, 3), 0x123456); - - buf = Buffer(3); - buf.writeIntLE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]); - assert.equal(buf.readIntLE(0, 3), 0x123456); - - buf = Buffer(3); - buf.writeIntBE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]); - assert.equal(buf.readIntBE(0, 3), 0x123456); - - buf = Buffer(3); - buf.writeIntLE(-0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xaa, 0xcb, 0xed]); - assert.equal(buf.readIntLE(0, 3), -0x123456); - - buf = Buffer(3); - buf.writeIntBE(-0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xaa]); - assert.equal(buf.readIntBE(0, 3), -0x123456); - - buf = Buffer(3); - buf.writeIntLE(-0x123400, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x00, 0xcc, 0xed]); - assert.equal(buf.readIntLE(0, 3), -0x123400); - - buf = Buffer(3); - buf.writeIntBE(-0x123400, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcc, 0x00]); - assert.equal(buf.readIntBE(0, 3), -0x123400); - - buf = Buffer(3); - buf.writeIntLE(-0x120000, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0xee]); - assert.equal(buf.readIntLE(0, 3), -0x120000); - - buf = Buffer(3); - buf.writeIntBE(-0x120000, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xee, 0x00, 0x00]); - assert.equal(buf.readIntBE(0, 3), -0x120000); - - buf = Buffer(5); - buf.writeUIntLE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x90, 0x78, 0x56, 0x34, 0x12]); - assert.equal(buf.readUIntLE(0, 5), 0x1234567890); - - buf = Buffer(5); - buf.writeUIntBE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56, 0x78, 0x90]); - assert.equal(buf.readUIntBE(0, 5), 0x1234567890); - - buf = Buffer(5); - buf.writeIntLE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x90, 0x78, 0x56, 0x34, 0x12]); - assert.equal(buf.readIntLE(0, 5), 0x1234567890); - - buf = Buffer(5); - buf.writeIntBE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56, 0x78, 0x90]); - assert.equal(buf.readIntBE(0, 5), 0x1234567890); - - buf = Buffer(5); - buf.writeIntLE(-0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x70, 0x87, 0xa9, 0xcb, 0xed]); - assert.equal(buf.readIntLE(0, 5), -0x1234567890); - - buf = Buffer(5); - buf.writeIntBE(-0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xa9, 0x87, 0x70]); - assert.equal(buf.readIntBE(0, 5), -0x1234567890); - - buf = Buffer(5); - buf.writeIntLE(-0x0012000000, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0x00, 0xee, 0xff]); - assert.equal(buf.readIntLE(0, 5), -0x0012000000); - - buf = Buffer(5); - buf.writeIntBE(-0x0012000000, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0xff, 0xee, 0x00, 0x00, 0x00]); - assert.equal(buf.readIntBE(0, 5), -0x0012000000); -} - -// test Buffer slice -{ - var buf = new Buffer('0123456789'); - assert.equal(buf.slice(-10, 10), '0123456789'); - assert.equal(buf.slice(-20, 10), '0123456789'); - assert.equal(buf.slice(-20, -10), ''); - assert.equal(buf.slice(), '0123456789'); - assert.equal(buf.slice(0), '0123456789'); - assert.equal(buf.slice(0, 0), ''); - assert.equal(buf.slice(undefined), '0123456789'); - assert.equal(buf.slice('foobar'), '0123456789'); - assert.equal(buf.slice(undefined, undefined), '0123456789'); - - assert.equal(buf.slice(2), '23456789'); - assert.equal(buf.slice(5), '56789'); - assert.equal(buf.slice(10), ''); - assert.equal(buf.slice(5, 8), '567'); - assert.equal(buf.slice(8, -1), '8'); - assert.equal(buf.slice(-10), '0123456789'); - assert.equal(buf.slice(0, -9), '0'); - assert.equal(buf.slice(0, -10), ''); - assert.equal(buf.slice(0, -1), '012345678'); - assert.equal(buf.slice(2, -2), '234567'); - assert.equal(buf.slice(0, 65536), '0123456789'); - assert.equal(buf.slice(65536, 0), ''); - assert.equal(buf.slice(-5, -8), ''); - assert.equal(buf.slice(-5, -3), '56'); - assert.equal(buf.slice(-10, 10), '0123456789'); - for (var i = 0, s = buf.toString(); i < buf.length; ++i) { - assert.equal(buf.slice(i), s.slice(i)); - assert.equal(buf.slice(0, i), s.slice(0, i)); - assert.equal(buf.slice(-i), s.slice(-i)); - assert.equal(buf.slice(0, -i), s.slice(0, -i)); - } - - var utf16Buf = new Buffer('0123456789', 'utf16le'); - assert.deepStrictEqual(utf16Buf.slice(0, 6), Buffer('012', 'utf16le')); - - assert.equal(buf.slice('0', '1'), '0'); - assert.equal(buf.slice('-5', '10'), '56789'); - assert.equal(buf.slice('-10', '10'), '0123456789'); - assert.equal(buf.slice('-10', '-5'), '01234'); - assert.equal(buf.slice('-10', '-0'), ''); - assert.equal(buf.slice('111'), ''); - assert.equal(buf.slice('0', '-111'), ''); - - // try to slice a zero length Buffer - // see https://github.com/joyent/node/issues/5881 - SlowBuffer(0).slice(0, 1); -} - -// Regression test for #5482: should throw but not assert in C++ land. -assert.throws(function() { - Buffer('', 'buffer'); -}, TypeError); - -// Regression test for #6111. Constructing a buffer from another buffer -// should a) work, and b) not corrupt the source buffer. -{ - var a = [0]; - for (var i = 0; i < 7; ++i) a = a.concat(a); - a = a.map(function(_, i) { return i; }); - var b = Buffer(a); - var c = Buffer(b); - assert.strictEqual(b.length, a.length); - assert.strictEqual(c.length, a.length); - for (var i = 0, k = a.length; i < k; ++i) { - assert.strictEqual(a[i], i); - assert.strictEqual(b[i], i); - assert.strictEqual(c[i], i); - } -} - - -assert.throws(function() { - new Buffer((-1 >>> 0) + 1); -}, RangeError); - -assert.throws(function() { - SlowBuffer((-1 >>> 0) + 1); -}, RangeError); - -if (common.hasCrypto) { - // Test truncation after decode - // var crypto = require('crypto'); - - var b1 = new Buffer('YW55=======', 'base64'); - var b2 = new Buffer('YW55', 'base64'); - - assert.equal( - 1 /*crypto.createHash('sha1').update(b1).digest('hex')*/, - 1 /*crypto.createHash('sha1').update(b2).digest('hex')*/ - ); -} else { - common.skip('missing crypto'); -} - -// Test Compare -{ - var b = new Buffer(1).fill('a'); - var c = new Buffer(1).fill('c'); - var d = new Buffer(2).fill('aa'); - - assert.equal(b.compare(c), -1); - assert.equal(c.compare(d), 1); - assert.equal(d.compare(b), 1); - assert.equal(b.compare(d), -1); - assert.equal(b.compare(b), 0); - - assert.equal(Buffer.compare(b, c), -1); - assert.equal(Buffer.compare(c, d), 1); - assert.equal(Buffer.compare(d, b), 1); - assert.equal(Buffer.compare(b, d), -1); - assert.equal(Buffer.compare(c, c), 0); - - assert.equal(Buffer.compare(Buffer(0), Buffer(0)), 0); - assert.equal(Buffer.compare(Buffer(0), Buffer(1)), -1); - assert.equal(Buffer.compare(Buffer(1), Buffer(0)), 1); -} - -assert.throws(function() { - var b = Buffer(1); - Buffer.compare(b, 'abc'); -}); - -assert.throws(function() { - var b = Buffer(1); - Buffer.compare('abc', b); -}); - -assert.throws(function() { - var b = Buffer(1); - b.compare('abc'); -}); - -// Test Equals -{ - var b = new Buffer(5).fill('abcdf'); - var c = new Buffer(5).fill('abcdf'); - var d = new Buffer(5).fill('abcde'); - var e = new Buffer(6).fill('abcdef'); - - assert.ok(b.equals(c)); - assert.ok(!c.equals(d)); - assert.ok(!d.equals(e)); - assert.ok(d.equals(d)); -} - -assert.throws(function() { - var b = Buffer(1); - b.equals('abc'); -}); - -// Regression test for https://github.com/nodejs/node/issues/649. -assert.throws(function() { Buffer(1422561062959).toString('utf8'); }); - -var ps = Buffer.poolSize; -Buffer.poolSize = 0; -assert.equal(Buffer(1).parent, undefined); -Buffer.poolSize = ps; - -// Test Buffer.copy() segfault -assert.throws(function() { - Buffer(10).copy(); -}); - -var regErrorMsg = new RegExp('First argument must be a string, Buffer, ' + - 'ArrayBuffer, Array, or array-like object.'); - -assert.throws(function() { - new Buffer(); -}, regErrorMsg); - -assert.throws(function() { - new Buffer(null); -}, regErrorMsg); - - -// Test prototype getters don't throw -assert.equal(Buffer.prototype.parent, undefined); -assert.equal(Buffer.prototype.offset, undefined); -assert.equal(SlowBuffer.prototype.parent, undefined); -assert.equal(SlowBuffer.prototype.offset, undefined); - -{ - // Test that large negative Buffer length inputs don't affect the pool offset. - // Use the fromArrayLike() variant here because it's more lenient - // about its input and passes the length directly to allocate(). - assert.deepStrictEqual(Buffer({ length: -Buffer.poolSize }), Buffer.from('')); - assert.deepStrictEqual(Buffer({ length: -100 }), Buffer.from('')); - - // Check pool offset after that by trying to write string into the pool. - assert.doesNotThrow(() => Buffer.from('abc')); -} - - -// Test failed or zero-sized Buffer allocations not affecting typed arrays -{ - var zeroArray = new Uint32Array(10).fill(0); - var sizes = [1e10, 0, 0.1, -1, 'a', undefined, null, NaN]; - var allocators = [ - Buffer, - SlowBuffer, - Buffer.alloc, - Buffer.allocUnsafe, - Buffer.allocUnsafeSlow - ]; - for (var allocator of allocators) { - for (var size of sizes) { - try { - allocator(size); - } catch (e) { - assert.deepStrictEqual(new Uint32Array(10), zeroArray); - } - } - } -} - -// Test that large negative Buffer length inputs throw errors. -assert.throws(() => Buffer(-Buffer.poolSize), - '"size" argument must not be negative'); -assert.throws(() => Buffer(-100), - '"size" argument must not be negative'); -assert.throws(() => Buffer(-1), - '"size" argument must not be negative'); - diff --git a/src/node_modules/buffer/test/slice.js b/src/node_modules/buffer/test/slice.js deleted file mode 100644 index 25c111c..0000000 --- a/src/node_modules/buffer/test/slice.js +++ /dev/null @@ -1,37 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') - -test('modifying buffer created by .slice() modifies original memory', function (t) { - if (!B.TYPED_ARRAY_SUPPORT) return t.end() - - var buf1 = new B(26) - for (var i = 0; i < 26; i++) { - buf1[i] = i + 97 // 97 is ASCII a - } - - var buf2 = buf1.slice(0, 3) - t.equal(buf2.toString('ascii', 0, buf2.length), 'abc') - - buf2[0] = '!'.charCodeAt(0) - t.equal(buf1.toString('ascii', 0, buf2.length), '!bc') - - t.end() -}) - -test('modifying parent buffer modifies .slice() buffer\'s memory', function (t) { - if (!B.TYPED_ARRAY_SUPPORT) return t.end() - - var buf1 = new B(26) - for (var i = 0; i < 26; i++) { - buf1[i] = i + 97 // 97 is ASCII a - } - - var buf2 = buf1.slice(0, 3) - t.equal(buf2.toString('ascii', 0, buf2.length), 'abc') - - buf1[0] = '!'.charCodeAt(0) - t.equal(buf2.toString('ascii', 0, buf2.length), '!bc') - - t.end() -}) diff --git a/src/node_modules/buffer/test/static.js b/src/node_modules/buffer/test/static.js deleted file mode 100644 index 4de900b..0000000 --- a/src/node_modules/buffer/test/static.js +++ /dev/null @@ -1,17 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') - -test('Buffer.isEncoding', function (t) { - t.equal(B.isEncoding('HEX'), true) - t.equal(B.isEncoding('hex'), true) - t.equal(B.isEncoding('bad'), false) - t.end() -}) - -test('Buffer.isBuffer', function (t) { - t.equal(B.isBuffer(new B('hey', 'utf8')), true) - t.equal(B.isBuffer(new B([1, 2, 3], 'utf8')), true) - t.equal(B.isBuffer('hey'), false) - t.end() -}) diff --git a/src/node_modules/buffer/test/to-string.js b/src/node_modules/buffer/test/to-string.js deleted file mode 100644 index 2950d4d..0000000 --- a/src/node_modules/buffer/test/to-string.js +++ /dev/null @@ -1,233 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') - -test('utf8 buffer to base64', function (t) { - t.equal( - new B('Ձאab', 'utf8').toString('base64'), - '1YHXkGFi' - ) - t.end() -}) - -test('utf8 buffer to hex', function (t) { - t.equal( - new B('Ձאab', 'utf8').toString('hex'), - 'd581d7906162' - ) - t.end() -}) - -test('utf8 to utf8', function (t) { - t.equal( - new B('öäüõÖÄÜÕ', 'utf8').toString('utf8'), - 'öäüõÖÄÜÕ' - ) - t.end() -}) - -test('utf16le to utf16', function (t) { - t.equal( - new B(new B('abcd', 'utf8').toString('utf16le'), 'utf16le').toString('utf8'), - 'abcd' - ) - t.end() -}) - -test('utf16le to hex', function (t) { - t.equal( - new B('abcd', 'utf16le').toString('hex'), - '6100620063006400' - ) - t.end() -}) - -test('ascii buffer to base64', function (t) { - t.equal( - new B('123456!@#$%^', 'ascii').toString('base64'), - 'MTIzNDU2IUAjJCVe' - ) - t.end() -}) - -test('ascii buffer to hex', function (t) { - t.equal( - new B('123456!@#$%^', 'ascii').toString('hex'), - '31323334353621402324255e' - ) - t.end() -}) - -test('base64 buffer to utf8', function (t) { - t.equal( - new B('1YHXkGFi', 'base64').toString('utf8'), - 'Ձאab' - ) - t.end() -}) - -test('hex buffer to utf8', function (t) { - t.equal( - new B('d581d7906162', 'hex').toString('utf8'), - 'Ձאab' - ) - t.end() -}) - -test('base64 buffer to ascii', function (t) { - t.equal( - new B('MTIzNDU2IUAjJCVe', 'base64').toString('ascii'), - '123456!@#$%^' - ) - t.end() -}) - -test('hex buffer to ascii', function (t) { - t.equal( - new B('31323334353621402324255e', 'hex').toString('ascii'), - '123456!@#$%^' - ) - t.end() -}) - -test('base64 buffer to binary', function (t) { - t.equal( - new B('MTIzNDU2IUAjJCVe', 'base64').toString('binary'), - '123456!@#$%^' - ) - t.end() -}) - -test('hex buffer to binary', function (t) { - t.equal( - new B('31323334353621402324255e', 'hex').toString('binary'), - '123456!@#$%^' - ) - t.end() -}) - -test('utf8 to binary', function (t) { - /* jshint -W100 */ - t.equal( - new B('öäüõÖÄÜÕ', 'utf8').toString('binary'), - 'öäüõÖÄÜÕ' - ) - /* jshint +W100 */ - t.end() -}) - -test('utf8 replacement chars (1 byte sequence)', function (t) { - t.equal( - new B([ 0x80 ]).toString(), - '\uFFFD' - ) - t.equal( - new B([ 0x7F ]).toString(), - '\u007F' - ) - t.end() -}) - -test('utf8 replacement chars (2 byte sequences)', function (t) { - t.equal( - new B([ 0xC7 ]).toString(), - '\uFFFD' - ) - t.equal( - new B([ 0xC7, 0xB1 ]).toString(), - '\u01F1' - ) - t.equal( - new B([ 0xC0, 0xB1 ]).toString(), - '\uFFFD\uFFFD' - ) - t.equal( - new B([ 0xC1, 0xB1 ]).toString(), - '\uFFFD\uFFFD' - ) - t.end() -}) - -test('utf8 replacement chars (3 byte sequences)', function (t) { - t.equal( - new B([ 0xE0 ]).toString(), - '\uFFFD' - ) - t.equal( - new B([ 0xE0, 0xAC ]).toString(), - '\uFFFD\uFFFD' - ) - t.equal( - new B([ 0xE0, 0xAC, 0xB9 ]).toString(), - '\u0B39' - ) - t.end() -}) - -test('utf8 replacement chars (4 byte sequences)', function (t) { - t.equal( - new B([ 0xF4 ]).toString(), - '\uFFFD' - ) - t.equal( - new B([ 0xF4, 0x8F ]).toString(), - '\uFFFD\uFFFD' - ) - t.equal( - new B([ 0xF4, 0x8F, 0x80 ]).toString(), - '\uFFFD\uFFFD\uFFFD' - ) - t.equal( - new B([ 0xF4, 0x8F, 0x80, 0x84 ]).toString(), - '\uDBFC\uDC04' - ) - t.equal( - new B([ 0xFF ]).toString(), - '\uFFFD' - ) - t.equal( - new B([ 0xFF, 0x8F, 0x80, 0x84 ]).toString(), - '\uFFFD\uFFFD\uFFFD\uFFFD' - ) - t.end() -}) - -test('utf8 replacement chars on 256 random bytes', function (t) { - t.equal( - new B([ 152, 130, 206, 23, 243, 238, 197, 44, 27, 86, 208, 36, 163, 184, 164, 21, 94, 242, 178, 46, 25, 26, 253, 178, 72, 147, 207, 112, 236, 68, 179, 190, 29, 83, 239, 147, 125, 55, 143, 19, 157, 68, 157, 58, 212, 224, 150, 39, 128, 24, 94, 225, 120, 121, 75, 192, 112, 19, 184, 142, 203, 36, 43, 85, 26, 147, 227, 139, 242, 186, 57, 78, 11, 102, 136, 117, 180, 210, 241, 92, 3, 215, 54, 167, 249, 1, 44, 225, 146, 86, 2, 42, 68, 21, 47, 238, 204, 153, 216, 252, 183, 66, 222, 255, 15, 202, 16, 51, 134, 1, 17, 19, 209, 76, 238, 38, 76, 19, 7, 103, 249, 5, 107, 137, 64, 62, 170, 57, 16, 85, 179, 193, 97, 86, 166, 196, 36, 148, 138, 193, 210, 69, 187, 38, 242, 97, 195, 219, 252, 244, 38, 1, 197, 18, 31, 246, 53, 47, 134, 52, 105, 72, 43, 239, 128, 203, 73, 93, 199, 75, 222, 220, 166, 34, 63, 236, 11, 212, 76, 243, 171, 110, 78, 39, 205, 204, 6, 177, 233, 212, 243, 0, 33, 41, 122, 118, 92, 252, 0, 157, 108, 120, 70, 137, 100, 223, 243, 171, 232, 66, 126, 111, 142, 33, 3, 39, 117, 27, 107, 54, 1, 217, 227, 132, 13, 166, 3, 73, 53, 127, 225, 236, 134, 219, 98, 214, 125, 148, 24, 64, 142, 111, 231, 194, 42, 150, 185, 10, 182, 163, 244, 19, 4, 59, 135, 16 ]).toString(), - '\uFFFD\uFFFD\uFFFD\u0017\uFFFD\uFFFD\uFFFD\u002C\u001B\u0056\uFFFD\u0024\uFFFD\uFFFD\uFFFD\u0015\u005E\uFFFD\uFFFD\u002E\u0019\u001A\uFFFD\uFFFD\u0048\uFFFD\uFFFD\u0070\uFFFD\u0044\uFFFD\uFFFD\u001D\u0053\uFFFD\uFFFD\u007D\u0037\uFFFD\u0013\uFFFD\u0044\uFFFD\u003A\uFFFD\uFFFD\uFFFD\u0027\uFFFD\u0018\u005E\uFFFD\u0078\u0079\u004B\uFFFD\u0070\u0013\uFFFD\uFFFD\uFFFD\u0024\u002B\u0055\u001A\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0039\u004E\u000B\u0066\uFFFD\u0075\uFFFD\uFFFD\uFFFD\u005C\u0003\uFFFD\u0036\uFFFD\uFFFD\u0001\u002C\uFFFD\uFFFD\u0056\u0002\u002A\u0044\u0015\u002F\uFFFD\u0319\uFFFD\uFFFD\uFFFD\u0042\uFFFD\uFFFD\u000F\uFFFD\u0010\u0033\uFFFD\u0001\u0011\u0013\uFFFD\u004C\uFFFD\u0026\u004C\u0013\u0007\u0067\uFFFD\u0005\u006B\uFFFD\u0040\u003E\uFFFD\u0039\u0010\u0055\uFFFD\uFFFD\u0061\u0056\uFFFD\uFFFD\u0024\uFFFD\uFFFD\uFFFD\uFFFD\u0045\uFFFD\u0026\uFFFD\u0061\uFFFD\uFFFD\uFFFD\uFFFD\u0026\u0001\uFFFD\u0012\u001F\uFFFD\u0035\u002F\uFFFD\u0034\u0069\u0048\u002B\uFFFD\uFFFD\uFFFD\u0049\u005D\uFFFD\u004B\uFFFD\u0726\u0022\u003F\uFFFD\u000B\uFFFD\u004C\uFFFD\uFFFD\u006E\u004E\u0027\uFFFD\uFFFD\u0006\uFFFD\uFFFD\uFFFD\uFFFD\u0000\u0021\u0029\u007A\u0076\u005C\uFFFD\u0000\uFFFD\u006C\u0078\u0046\uFFFD\u0064\uFFFD\uFFFD\uFFFD\uFFFD\u0042\u007E\u006F\uFFFD\u0021\u0003\u0027\u0075\u001B\u006B\u0036\u0001\uFFFD\uFFFD\uFFFD\u000D\uFFFD\u0003\u0049\u0035\u007F\uFFFD\uFFFD\uFFFD\uFFFD\u0062\uFFFD\u007D\uFFFD\u0018\u0040\uFFFD\u006F\uFFFD\uFFFD\u002A\uFFFD\uFFFD\u000A\uFFFD\uFFFD\uFFFD\u0013\u0004\u003B\uFFFD\u0010' - ) - t.end() -}) - -test('utf8 replacement chars for anything in the surrogate pair range', function (t) { - t.equal( - new B([ 0xED, 0x9F, 0xBF ]).toString(), - '\uD7FF' - ) - t.equal( - new B([ 0xED, 0xA0, 0x80 ]).toString(), - '\uFFFD\uFFFD\uFFFD' - ) - t.equal( - new B([ 0xED, 0xBE, 0x8B ]).toString(), - '\uFFFD\uFFFD\uFFFD' - ) - t.equal( - new B([ 0xED, 0xBF, 0xBF ]).toString(), - '\uFFFD\uFFFD\uFFFD' - ) - t.equal( - new B([ 0xEE, 0x80, 0x80 ]).toString(), - '\uE000' - ) - t.end() -}) - -test('utf8 don\'t replace the replacement char', function (t) { - t.equal( - new B('\uFFFD').toString(), - '\uFFFD' - ) - t.end() -}) diff --git a/src/node_modules/buffer/test/write.js b/src/node_modules/buffer/test/write.js deleted file mode 100644 index 5841806..0000000 --- a/src/node_modules/buffer/test/write.js +++ /dev/null @@ -1,131 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') -var isnan = require('is-nan') - -test('buffer.write string should get parsed as number', function (t) { - var b = new B(64) - b.writeUInt16LE('1003', 0) - t.equal(b.readUInt16LE(0), 1003) - t.end() -}) - -test('buffer.writeUInt8 a fractional number will get Math.floored', function (t) { - // Some extra work is necessary to make this test pass with the Object implementation - - var b = new B(1) - b.writeInt8(5.5, 0) - t.equal(b[0], 5) - t.end() -}) - -test('writeUint8 with a negative number throws', function (t) { - var buf = new B(1) - - t.throws(function () { - buf.writeUInt8(-3, 0) - }) - - t.end() -}) - -test('hex of write{Uint,Int}{8,16,32}{LE,BE}', function (t) { - t.plan(2 * (2 * 2 * 2 + 2)) - var hex = [ - '03', '0300', '0003', '03000000', '00000003', - 'fd', 'fdff', 'fffd', 'fdffffff', 'fffffffd' - ] - var reads = [ 3, 3, 3, 3, 3, -3, -3, -3, -3, -3 ] - var xs = ['UInt', 'Int'] - var ys = [8, 16, 32] - for (var i = 0; i < xs.length; i++) { - var x = xs[i] - for (var j = 0; j < ys.length; j++) { - var y = ys[j] - var endianesses = (y === 8) ? [''] : ['LE', 'BE'] - for (var k = 0; k < endianesses.length; k++) { - var z = endianesses[k] - - var v1 = new B(y / 8) - var writefn = 'write' + x + y + z - var val = (x === 'Int') ? -3 : 3 - v1[writefn](val, 0) - t.equal( - v1.toString('hex'), - hex.shift() - ) - var readfn = 'read' + x + y + z - t.equal( - v1[readfn](0), - reads.shift() - ) - } - } - } - t.end() -}) - -test('hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow', function (t) { - if (!B.TYPED_ARRAY_SUPPORT) { - t.pass('object impl: skipping overflow test') - t.end() - return - } - - t.plan(3 * (2 * 2 * 2 + 2)) - var hex = [ - '', '03', '00', '030000', '000000', - '', 'fd', 'ff', 'fdffff', 'ffffff' - ] - var reads = [ - undefined, 3, 0, NaN, 0, - undefined, 253, -256, 16777213, -256 - ] - var xs = ['UInt', 'Int'] - var ys = [8, 16, 32] - for (var i = 0; i < xs.length; i++) { - var x = xs[i] - for (var j = 0; j < ys.length; j++) { - var y = ys[j] - var endianesses = (y === 8) ? [''] : ['LE', 'BE'] - for (var k = 0; k < endianesses.length; k++) { - var z = endianesses[k] - - var v1 = new B(y / 8 - 1) - var next = new B(4) - next.writeUInt32BE(0, 0) - var writefn = 'write' + x + y + z - var val = (x === 'Int') ? -3 : 3 - v1[writefn](val, 0, true) - t.equal( - v1.toString('hex'), - hex.shift() - ) - // check that nothing leaked to next buffer. - t.equal(next.readUInt32BE(0), 0) - // check that no bytes are read from next buffer. - next.writeInt32BE(~0, 0) - var readfn = 'read' + x + y + z - var r = reads.shift() - if (isnan(r)) t.pass('equal') - else t.equal(v1[readfn](0, true), r) - } - } - } - t.end() -}) -test('large values do not improperly roll over (ref #80)', function (t) { - var nums = [-25589992, -633756690, -898146932] - var out = new B(12) - out.fill(0) - out.writeInt32BE(nums[0], 0) - var newNum = out.readInt32BE(0) - t.equal(nums[0], newNum) - out.writeInt32BE(nums[1], 4) - newNum = out.readInt32BE(4) - t.equal(nums[1], newNum) - out.writeInt32BE(nums[2], 8) - newNum = out.readInt32BE(8) - t.equal(nums[2], newNum) - t.end() -}) diff --git a/src/node_modules/buffer/test/write_infinity.js b/src/node_modules/buffer/test/write_infinity.js deleted file mode 100644 index 17d606a..0000000 --- a/src/node_modules/buffer/test/write_infinity.js +++ /dev/null @@ -1,45 +0,0 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false -var B = require('../').Buffer -var test = require('tape') - -test('write/read Infinity as a float', function (t) { - var buf = new B(4) - t.equal(buf.writeFloatBE(Infinity, 0), 4) - t.equal(buf.readFloatBE(0), Infinity) - t.end() -}) - -test('write/read -Infinity as a float', function (t) { - var buf = new B(4) - t.equal(buf.writeFloatBE(-Infinity, 0), 4) - t.equal(buf.readFloatBE(0), -Infinity) - t.end() -}) - -test('write/read Infinity as a double', function (t) { - var buf = new B(8) - t.equal(buf.writeDoubleBE(Infinity, 0), 8) - t.equal(buf.readDoubleBE(0), Infinity) - t.end() -}) - -test('write/read -Infinity as a double', function (t) { - var buf = new B(8) - t.equal(buf.writeDoubleBE(-Infinity, 0), 8) - t.equal(buf.readDoubleBE(0), -Infinity) - t.end() -}) - -test('write/read float greater than max', function (t) { - var buf = new B(4) - t.equal(buf.writeFloatBE(4e38, 0), 4) - t.equal(buf.readFloatBE(0), Infinity) - t.end() -}) - -test('write/read float less than min', function (t) { - var buf = new B(4) - t.equal(buf.writeFloatBE(-4e40, 0), 4) - t.equal(buf.readFloatBE(0), -Infinity) - t.end() -}) diff --git a/src/node_modules/crypto-browserify/.npmignore b/src/node_modules/crypto-browserify/.npmignore deleted file mode 100644 index 3c3629e..0000000 --- a/src/node_modules/crypto-browserify/.npmignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/src/node_modules/crypto-browserify/.travis.yml b/src/node_modules/crypto-browserify/.travis.yml deleted file mode 100644 index 3079f62..0000000 --- a/src/node_modules/crypto-browserify/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -node_js: - - 0.8 - - "0.10" - diff --git a/src/node_modules/crypto-browserify/LICENSE b/src/node_modules/crypto-browserify/LICENSE deleted file mode 100644 index 8abb57d..0000000 --- a/src/node_modules/crypto-browserify/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -The MIT License - -Copyright (c) 2013 Dominic Tarr - -Permission is hereby granted, free of charge, -to any person obtaining a copy of this software and -associated documentation files (the "Software"), to -deal in the Software without restriction, including -without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom -the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/example/bundle.js b/src/node_modules/crypto-browserify/example/bundle.js deleted file mode 100644 index 02698cc..0000000 --- a/src/node_modules/crypto-browserify/example/bundle.js +++ /dev/null @@ -1,637 +0,0 @@ -var require = function (file, cwd) { - var resolved = require.resolve(file, cwd || '/'); - var mod = require.modules[resolved]; - if (!mod) throw new Error( - 'Failed to resolve module ' + file + ', tried ' + resolved - ); - var res = mod._cached ? mod._cached : mod(); - return res; -} - -require.paths = []; -require.modules = {}; -require.extensions = [".js",".coffee"]; - -require._core = { - 'assert': true, - 'events': true, - 'fs': true, - 'path': true, - 'vm': true -}; - -require.resolve = (function () { - return function (x, cwd) { - if (!cwd) cwd = '/'; - - if (require._core[x]) return x; - var path = require.modules.path(); - cwd = path.resolve('/', cwd); - var y = cwd || '/'; - - if (x.match(/^(?:\.\.?\/|\/)/)) { - var m = loadAsFileSync(path.resolve(y, x)) - || loadAsDirectorySync(path.resolve(y, x)); - if (m) return m; - } - - var n = loadNodeModulesSync(x, y); - if (n) return n; - - throw new Error("Cannot find module '" + x + "'"); - - function loadAsFileSync (x) { - if (require.modules[x]) { - return x; - } - - for (var i = 0; i < require.extensions.length; i++) { - var ext = require.extensions[i]; - if (require.modules[x + ext]) return x + ext; - } - } - - function loadAsDirectorySync (x) { - x = x.replace(/\/+$/, ''); - var pkgfile = x + '/package.json'; - if (require.modules[pkgfile]) { - var pkg = require.modules[pkgfile](); - var b = pkg.browserify; - if (typeof b === 'object' && b.main) { - var m = loadAsFileSync(path.resolve(x, b.main)); - if (m) return m; - } - else if (typeof b === 'string') { - var m = loadAsFileSync(path.resolve(x, b)); - if (m) return m; - } - else if (pkg.main) { - var m = loadAsFileSync(path.resolve(x, pkg.main)); - if (m) return m; - } - } - - return loadAsFileSync(x + '/index'); - } - - function loadNodeModulesSync (x, start) { - var dirs = nodeModulesPathsSync(start); - for (var i = 0; i < dirs.length; i++) { - var dir = dirs[i]; - var m = loadAsFileSync(dir + '/' + x); - if (m) return m; - var n = loadAsDirectorySync(dir + '/' + x); - if (n) return n; - } - - var m = loadAsFileSync(x); - if (m) return m; - } - - function nodeModulesPathsSync (start) { - var parts; - if (start === '/') parts = [ '' ]; - else parts = path.normalize(start).split('/'); - - var dirs = []; - for (var i = parts.length - 1; i >= 0; i--) { - if (parts[i] === 'node_modules') continue; - var dir = parts.slice(0, i + 1).join('/') + '/node_modules'; - dirs.push(dir); - } - - return dirs; - } - }; -})(); - -require.alias = function (from, to) { - var path = require.modules.path(); - var res = null; - try { - res = require.resolve(from + '/package.json', '/'); - } - catch (err) { - res = require.resolve(from, '/'); - } - var basedir = path.dirname(res); - - var keys = (Object.keys || function (obj) { - var res = []; - for (var key in obj) res.push(key) - return res; - })(require.modules); - - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (key.slice(0, basedir.length + 1) === basedir + '/') { - var f = key.slice(basedir.length); - require.modules[to + f] = require.modules[basedir + f]; - } - else if (key === basedir) { - require.modules[to] = require.modules[basedir]; - } - } -}; - -require.define = function (filename, fn) { - var dirname = require._core[filename] - ? '' - : require.modules.path().dirname(filename) - ; - - var require_ = function (file) { - return require(file, dirname) - }; - require_.resolve = function (name) { - return require.resolve(name, dirname); - }; - require_.modules = require.modules; - require_.define = require.define; - var module_ = { exports : {} }; - - require.modules[filename] = function () { - require.modules[filename]._cached = module_.exports; - fn.call( - module_.exports, - require_, - module_, - module_.exports, - dirname, - filename - ); - require.modules[filename]._cached = module_.exports; - return module_.exports; - }; -}; - -if (typeof process === 'undefined') process = {}; - -if (!process.nextTick) process.nextTick = (function () { - var queue = []; - var canPost = typeof window !== 'undefined' - && window.postMessage && window.addEventListener - ; - - if (canPost) { - window.addEventListener('message', function (ev) { - if (ev.source === window && ev.data === 'browserify-tick') { - ev.stopPropagation(); - if (queue.length > 0) { - var fn = queue.shift(); - fn(); - } - } - }, true); - } - - return function (fn) { - if (canPost) { - queue.push(fn); - window.postMessage('browserify-tick', '*'); - } - else setTimeout(fn, 0); - }; -})(); - -if (!process.title) process.title = 'browser'; - -if (!process.binding) process.binding = function (name) { - if (name === 'evals') return require('vm') - else throw new Error('No such module') -}; - -if (!process.cwd) process.cwd = function () { return '.' }; - -if (!process.env) process.env = {}; -if (!process.argv) process.argv = []; - -require.define("path", function (require, module, exports, __dirname, __filename) { -function filter (xs, fn) { - var res = []; - for (var i = 0; i < xs.length; i++) { - if (fn(xs[i], i, xs)) res.push(xs[i]); - } - return res; -} - -// resolves . and .. elements in a path array with directory names there -// must be no slashes, empty elements, or device names (c:\) in the array -// (so also no leading and trailing slashes - it does not distinguish -// relative and absolute paths) -function normalizeArray(parts, allowAboveRoot) { - // if the path tries to go above the root, `up` ends up > 0 - var up = 0; - for (var i = parts.length; i >= 0; i--) { - var last = parts[i]; - if (last == '.') { - parts.splice(i, 1); - } else if (last === '..') { - parts.splice(i, 1); - up++; - } else if (up) { - parts.splice(i, 1); - up--; - } - } - - // if the path is allowed to go above the root, restore leading ..s - if (allowAboveRoot) { - for (; up--; up) { - parts.unshift('..'); - } - } - - return parts; -} - -// Regex to split a filename into [*, dir, basename, ext] -// posix version -var splitPathRe = /^(.+\/(?!$)|\/)?((?:.+?)?(\.[^.]*)?)$/; - -// path.resolve([from ...], to) -// posix version -exports.resolve = function() { -var resolvedPath = '', - resolvedAbsolute = false; - -for (var i = arguments.length; i >= -1 && !resolvedAbsolute; i--) { - var path = (i >= 0) - ? arguments[i] - : process.cwd(); - - // Skip empty and invalid entries - if (typeof path !== 'string' || !path) { - continue; - } - - resolvedPath = path + '/' + resolvedPath; - resolvedAbsolute = path.charAt(0) === '/'; -} - -// At this point the path should be resolved to a full absolute path, but -// handle relative paths to be safe (might happen when process.cwd() fails) - -// Normalize the path -resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) { - return !!p; - }), !resolvedAbsolute).join('/'); - - return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.'; -}; - -// path.normalize(path) -// posix version -exports.normalize = function(path) { -var isAbsolute = path.charAt(0) === '/', - trailingSlash = path.slice(-1) === '/'; - -// Normalize the path -path = normalizeArray(filter(path.split('/'), function(p) { - return !!p; - }), !isAbsolute).join('/'); - - if (!path && !isAbsolute) { - path = '.'; - } - if (path && trailingSlash) { - path += '/'; - } - - return (isAbsolute ? '/' : '') + path; -}; - - -// posix version -exports.join = function() { - var paths = Array.prototype.slice.call(arguments, 0); - return exports.normalize(filter(paths, function(p, index) { - return p && typeof p === 'string'; - }).join('/')); -}; - - -exports.dirname = function(path) { - var dir = splitPathRe.exec(path)[1] || ''; - var isWindows = false; - if (!dir) { - // No dirname - return '.'; - } else if (dir.length === 1 || - (isWindows && dir.length <= 3 && dir.charAt(1) === ':')) { - // It is just a slash or a drive letter with a slash - return dir; - } else { - // It is a full dirname, strip trailing slash - return dir.substring(0, dir.length - 1); - } -}; - - -exports.basename = function(path, ext) { - var f = splitPathRe.exec(path)[2] || ''; - // TODO: make this comparison case-insensitive on windows? - if (ext && f.substr(-1 * ext.length) === ext) { - f = f.substr(0, f.length - ext.length); - } - return f; -}; - - -exports.extname = function(path) { - return splitPathRe.exec(path)[3] || ''; -}; - -}); - -require.define("crypto", function (require, module, exports, __dirname, __filename) { -module.exports = require("crypto-browserify") -}); - -require.define("/node_modules/crypto-browserify/package.json", function (require, module, exports, __dirname, __filename) { -module.exports = {} -}); - -require.define("/node_modules/crypto-browserify/index.js", function (require, module, exports, __dirname, __filename) { -var sha = require('./sha') - -var algorithms = { - sha1: { - hex: sha.hex_sha1, - binary: sha.b64_sha1, - ascii: sha.str_sha1 - } -} - -function error () { - var m = [].slice.call(arguments).join(' ') - throw new Error([ - m, - 'we accept pull requests', - 'http://github.com/dominictarr/crypto-browserify' - ].join('\n')) -} - -exports.createHash = function (alg) { - alg = alg || 'sha1' - if(!algorithms[alg]) - error('algorithm:', alg, 'is not yet supported') - var s = '' - _alg = algorithms[alg] - return { - update: function (data) { - s += data - return this - }, - digest: function (enc) { - enc = enc || 'binary' - var fn - if(!(fn = _alg[enc])) - error('encoding:', enc , 'is not yet supported for algorithm', alg) - var r = fn(s) - s = null //not meant to use the hash after you've called digest. - return r - } - } -} -// the least I can do is make error messages for the rest of the node.js/crypto api. -;['createCredentials' -, 'createHmac' -, 'createCypher' -, 'createCypheriv' -, 'createDecipher' -, 'createDecipheriv' -, 'createSign' -, 'createVerify' -, 'createDeffieHellman', -, 'pbkdf2', -, 'randomBytes' ].forEach(function (name) { - exports[name] = function () { - error('sorry,', name, 'is not implemented yet') - } -}) - -}); - -require.define("/node_modules/crypto-browserify/sha.js", function (require, module, exports, __dirname, __filename) { -/* - * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined - * in FIPS PUB 180-1 - * Version 2.1a Copyright Paul Johnston 2000 - 2002. - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * Distributed under the BSD License - * See http://pajhome.org.uk/crypt/md5 for details. - */ - -exports.hex_sha1 = hex_sha1; -exports.b64_sha1 = b64_sha1; -exports.str_sha1 = str_sha1; -exports.hex_hmac_sha1 = hex_hmac_sha1; -exports.b64_hmac_sha1 = b64_hmac_sha1; -exports.str_hmac_sha1 = str_hmac_sha1; - -/* - * Configurable variables. You may need to tweak these to be compatible with - * the server-side, but the defaults work in most cases. - */ -var hexcase = 0; /* hex output format. 0 - lowercase; 1 - uppercase */ -var b64pad = ""; /* base-64 pad character. "=" for strict RFC compliance */ -var chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */ - -/* - * These are the functions you'll usually want to call - * They take string arguments and return either hex or base-64 encoded strings - */ -function hex_sha1(s){return binb2hex(core_sha1(str2binb(s),s.length * chrsz));} -function b64_sha1(s){return binb2b64(core_sha1(str2binb(s),s.length * chrsz));} -function str_sha1(s){return binb2str(core_sha1(str2binb(s),s.length * chrsz));} -function hex_hmac_sha1(key, data){ return binb2hex(core_hmac_sha1(key, data));} -function b64_hmac_sha1(key, data){ return binb2b64(core_hmac_sha1(key, data));} -function str_hmac_sha1(key, data){ return binb2str(core_hmac_sha1(key, data));} - -/* - * Perform a simple self-test to see if the VM is working - */ -function sha1_vm_test() -{ - return hex_sha1("abc") == "a9993e364706816aba3e25717850c26c9cd0d89d"; -} - -/* - * Calculate the SHA-1 of an array of big-endian words, and a bit length - */ -function core_sha1(x, len) -{ - /* append padding */ - x[len >> 5] |= 0x80 << (24 - len % 32); - x[((len + 64 >> 9) << 4) + 15] = len; - - var w = Array(80); - var a = 1732584193; - var b = -271733879; - var c = -1732584194; - var d = 271733878; - var e = -1009589776; - - for(var i = 0; i < x.length; i += 16) - { - var olda = a; - var oldb = b; - var oldc = c; - var oldd = d; - var olde = e; - - for(var j = 0; j < 80; j++) - { - if(j < 16) w[j] = x[i + j]; - else w[j] = rol(w[j-3] ^ w[j-8] ^ w[j-14] ^ w[j-16], 1); - var t = safe_add(safe_add(rol(a, 5), sha1_ft(j, b, c, d)), - safe_add(safe_add(e, w[j]), sha1_kt(j))); - e = d; - d = c; - c = rol(b, 30); - b = a; - a = t; - } - - a = safe_add(a, olda); - b = safe_add(b, oldb); - c = safe_add(c, oldc); - d = safe_add(d, oldd); - e = safe_add(e, olde); - } - return Array(a, b, c, d, e); - -} - -/* - * Perform the appropriate triplet combination function for the current - * iteration - */ -function sha1_ft(t, b, c, d) -{ - if(t < 20) return (b & c) | ((~b) & d); - if(t < 40) return b ^ c ^ d; - if(t < 60) return (b & c) | (b & d) | (c & d); - return b ^ c ^ d; -} - -/* - * Determine the appropriate additive constant for the current iteration - */ -function sha1_kt(t) -{ - return (t < 20) ? 1518500249 : (t < 40) ? 1859775393 : - (t < 60) ? -1894007588 : -899497514; -} - -/* - * Calculate the HMAC-SHA1 of a key and some data - */ -function core_hmac_sha1(key, data) -{ - var bkey = str2binb(key); - if(bkey.length > 16) bkey = core_sha1(bkey, key.length * chrsz); - - var ipad = Array(16), opad = Array(16); - for(var i = 0; i < 16; i++) - { - ipad[i] = bkey[i] ^ 0x36363636; - opad[i] = bkey[i] ^ 0x5C5C5C5C; - } - - var hash = core_sha1(ipad.concat(str2binb(data)), 512 + data.length * chrsz); - return core_sha1(opad.concat(hash), 512 + 160); -} - -/* - * Add integers, wrapping at 2^32. This uses 16-bit operations internally - * to work around bugs in some JS interpreters. - */ -function safe_add(x, y) -{ - var lsw = (x & 0xFFFF) + (y & 0xFFFF); - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - return (msw << 16) | (lsw & 0xFFFF); -} - -/* - * Bitwise rotate a 32-bit number to the left. - */ -function rol(num, cnt) -{ - return (num << cnt) | (num >>> (32 - cnt)); -} - -/* - * Convert an 8-bit or 16-bit string to an array of big-endian words - * In 8-bit function, characters >255 have their hi-byte silently ignored. - */ -function str2binb(str) -{ - var bin = Array(); - var mask = (1 << chrsz) - 1; - for(var i = 0; i < str.length * chrsz; i += chrsz) - bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (32 - chrsz - i%32); - return bin; -} - -/* - * Convert an array of big-endian words to a string - */ -function binb2str(bin) -{ - var str = ""; - var mask = (1 << chrsz) - 1; - for(var i = 0; i < bin.length * 32; i += chrsz) - str += String.fromCharCode((bin[i>>5] >>> (32 - chrsz - i%32)) & mask); - return str; -} - -/* - * Convert an array of big-endian words to a hex string. - */ -function binb2hex(binarray) -{ - var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef"; - var str = ""; - for(var i = 0; i < binarray.length * 4; i++) - { - str += hex_tab.charAt((binarray[i>>2] >> ((3 - i%4)*8+4)) & 0xF) + - hex_tab.charAt((binarray[i>>2] >> ((3 - i%4)*8 )) & 0xF); - } - return str; -} - -/* - * Convert an array of big-endian words to a base-64 string - */ -function binb2b64(binarray) -{ - var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - var str = ""; - for(var i = 0; i < binarray.length * 4; i += 3) - { - var triplet = (((binarray[i >> 2] >> 8 * (3 - i %4)) & 0xFF) << 16) - | (((binarray[i+1 >> 2] >> 8 * (3 - (i+1)%4)) & 0xFF) << 8 ) - | ((binarray[i+2 >> 2] >> 8 * (3 - (i+2)%4)) & 0xFF); - for(var j = 0; j < 4; j++) - { - if(i * 8 + j * 6 > binarray.length * 32) str += b64pad; - else str += tab.charAt((triplet >> 6*(3-j)) & 0x3F); - } - } - return str; -} - - -}); - -require.define("/test.js", function (require, module, exports, __dirname, __filename) { - var crypto = require('crypto') -var abc = crypto.createHash('sha1').update('abc').digest('hex') -console.log(abc) -//require('hello').inlineCall().call2() - -}); -require("/test.js"); diff --git a/src/node_modules/crypto-browserify/example/index.html b/src/node_modules/crypto-browserify/example/index.html deleted file mode 100644 index 9d55c6d..0000000 --- a/src/node_modules/crypto-browserify/example/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - -
-  require('crypto').createHash('sha1').update('abc').digest('hex') == ''
-  
- - - diff --git a/src/node_modules/crypto-browserify/example/test.js b/src/node_modules/crypto-browserify/example/test.js deleted file mode 100644 index f1b0e4a..0000000 --- a/src/node_modules/crypto-browserify/example/test.js +++ /dev/null @@ -1,4 +0,0 @@ -var crypto = require('crypto') -var abc = crypto.createHash('sha1').update('abc').digest('hex') -console.log(abc) -//require('hello').inlineCall().call2() diff --git a/src/node_modules/crypto-browserify/helpers.js b/src/node_modules/crypto-browserify/helpers.js deleted file mode 100644 index 4535e64..0000000 --- a/src/node_modules/crypto-browserify/helpers.js +++ /dev/null @@ -1,35 +0,0 @@ -var Buffer = require('buffer').Buffer; -var intSize = 4; -var zeroBuffer = new Buffer(intSize); zeroBuffer.fill(0); -var chrsz = 8; - -function toArray(buf, bigEndian) { - if ((buf.length % intSize) !== 0) { - var len = buf.length + (intSize - (buf.length % intSize)); - buf = Buffer.concat([buf, zeroBuffer], len); - } - - var arr = []; - var fn = bigEndian ? buf.readInt32BE : buf.readInt32LE; - for (var i = 0; i < buf.length; i += intSize) { - arr.push(fn.call(buf, i)); - } - return arr; -} - -function toBuffer(arr, size, bigEndian) { - var buf = new Buffer(size); - var fn = bigEndian ? buf.writeInt32BE : buf.writeInt32LE; - for (var i = 0; i < arr.length; i++) { - fn.call(buf, arr[i], i * 4, true); - } - return buf; -} - -function hash(buf, fn, hashSize, bigEndian) { - if (!Buffer.isBuffer(buf)) buf = new Buffer(buf); - var arr = fn(toArray(buf, bigEndian), buf.length * chrsz); - return toBuffer(arr, hashSize, bigEndian); -} - -module.exports = { hash: hash }; diff --git a/src/node_modules/crypto-browserify/index.js b/src/node_modules/crypto-browserify/index.js deleted file mode 100644 index 56fa434..0000000 --- a/src/node_modules/crypto-browserify/index.js +++ /dev/null @@ -1,97 +0,0 @@ -var Buffer = require('buffer').Buffer -var sha = require('./sha') -var sha256 = require('./sha256') -var rng = require('./rng') -var md5 = require('./md5') - -var algorithms = { - sha1: sha, - sha256: sha256, - md5: md5 -} - -var blocksize = 64 -var zeroBuffer = new Buffer(blocksize); zeroBuffer.fill(0) -function hmac(fn, key, data) { - if(!Buffer.isBuffer(key)) key = new Buffer(key) - if(!Buffer.isBuffer(data)) data = new Buffer(data) - - if(key.length > blocksize) { - key = fn(key) - } else if(key.length < blocksize) { - key = Buffer.concat([key, zeroBuffer], blocksize) - } - - var ipad = new Buffer(blocksize), opad = new Buffer(blocksize) - for(var i = 0; i < blocksize; i++) { - ipad[i] = key[i] ^ 0x36 - opad[i] = key[i] ^ 0x5C - } - - var hash = fn(Buffer.concat([ipad, data])) - return fn(Buffer.concat([opad, hash])) -} - -function hash(alg, key) { - alg = alg || 'sha1' - var fn = algorithms[alg] - var bufs = [] - var length = 0 - if(!fn) error('algorithm:', alg, 'is not yet supported') - return { - update: function (data) { - if(!Buffer.isBuffer(data)) data = new Buffer(data) - - bufs.push(data) - length += data.length - return this - }, - digest: function (enc) { - var buf = Buffer.concat(bufs) - var r = key ? hmac(fn, key, buf) : fn(buf) - bufs = null - return enc ? r.toString(enc) : r - } - } -} - -function error () { - var m = [].slice.call(arguments).join(' ') - throw new Error([ - m, - 'we accept pull requests', - 'http://github.com/dominictarr/crypto-browserify' - ].join('\n')) -} - -exports.createHash = function (alg) { return hash(alg) } -exports.createHmac = function (alg, key) { return hash(alg, key) } -exports.randomBytes = function(size, callback) { - if (callback && callback.call) { - try { - callback.call(this, undefined, new Buffer(rng(size))) - } catch (err) { callback(err) } - } else { - return new Buffer(rng(size)) - } -} - -function each(a, f) { - for(var i in a) - f(a[i], i) -} - -// the least I can do is make error messages for the rest of the node.js/crypto api. -each(['createCredentials' -, 'createCipher' -, 'createCipheriv' -, 'createDecipher' -, 'createDecipheriv' -, 'createSign' -, 'createVerify' -, 'createDiffieHellman' -, 'pbkdf2'], function (name) { - exports[name] = function () { - error('sorry,', name, 'is not implemented yet') - } -}) diff --git a/src/node_modules/crypto-browserify/md5.js b/src/node_modules/crypto-browserify/md5.js deleted file mode 100644 index 50eeb89..0000000 --- a/src/node_modules/crypto-browserify/md5.js +++ /dev/null @@ -1,163 +0,0 @@ -/* - * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message - * Digest Algorithm, as defined in RFC 1321. - * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002. - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * Distributed under the BSD License - * See http://pajhome.org.uk/crypt/md5 for more info. - */ - -var helpers = require('./helpers'); - -/* - * Perform a simple self-test to see if the VM is working - */ -function md5_vm_test() -{ - return hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72"; -} - -/* - * Calculate the MD5 of an array of little-endian words, and a bit length - */ -function core_md5(x, len) -{ - /* append padding */ - x[len >> 5] |= 0x80 << ((len) % 32); - x[(((len + 64) >>> 9) << 4) + 14] = len; - - var a = 1732584193; - var b = -271733879; - var c = -1732584194; - var d = 271733878; - - for(var i = 0; i < x.length; i += 16) - { - var olda = a; - var oldb = b; - var oldc = c; - var oldd = d; - - a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936); - d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586); - c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819); - b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330); - a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897); - d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426); - c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341); - b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983); - a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416); - d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417); - c = md5_ff(c, d, a, b, x[i+10], 17, -42063); - b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162); - a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682); - d = md5_ff(d, a, b, c, x[i+13], 12, -40341101); - c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290); - b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329); - - a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510); - d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632); - c = md5_gg(c, d, a, b, x[i+11], 14, 643717713); - b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302); - a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691); - d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083); - c = md5_gg(c, d, a, b, x[i+15], 14, -660478335); - b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848); - a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438); - d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690); - c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961); - b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501); - a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467); - d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784); - c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473); - b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734); - - a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558); - d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463); - c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562); - b = md5_hh(b, c, d, a, x[i+14], 23, -35309556); - a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060); - d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353); - c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632); - b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640); - a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174); - d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222); - c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979); - b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189); - a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487); - d = md5_hh(d, a, b, c, x[i+12], 11, -421815835); - c = md5_hh(c, d, a, b, x[i+15], 16, 530742520); - b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651); - - a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844); - d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415); - c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905); - b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055); - a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571); - d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606); - c = md5_ii(c, d, a, b, x[i+10], 15, -1051523); - b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799); - a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359); - d = md5_ii(d, a, b, c, x[i+15], 10, -30611744); - c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380); - b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649); - a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070); - d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379); - c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259); - b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551); - - a = safe_add(a, olda); - b = safe_add(b, oldb); - c = safe_add(c, oldc); - d = safe_add(d, oldd); - } - return Array(a, b, c, d); - -} - -/* - * These functions implement the four basic operations the algorithm uses. - */ -function md5_cmn(q, a, b, x, s, t) -{ - return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b); -} -function md5_ff(a, b, c, d, x, s, t) -{ - return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t); -} -function md5_gg(a, b, c, d, x, s, t) -{ - return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t); -} -function md5_hh(a, b, c, d, x, s, t) -{ - return md5_cmn(b ^ c ^ d, a, b, x, s, t); -} -function md5_ii(a, b, c, d, x, s, t) -{ - return md5_cmn(c ^ (b | (~d)), a, b, x, s, t); -} - -/* - * Add integers, wrapping at 2^32. This uses 16-bit operations internally - * to work around bugs in some JS interpreters. - */ -function safe_add(x, y) -{ - var lsw = (x & 0xFFFF) + (y & 0xFFFF); - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - return (msw << 16) | (lsw & 0xFFFF); -} - -/* - * Bitwise rotate a 32-bit number to the left. - */ -function bit_rol(num, cnt) -{ - return (num << cnt) | (num >>> (32 - cnt)); -} - -module.exports = function md5(buf) { - return helpers.hash(buf, core_md5, 16); -}; diff --git a/src/node_modules/crypto-browserify/package.json b/src/node_modules/crypto-browserify/package.json deleted file mode 100644 index 29986fb..0000000 --- a/src/node_modules/crypto-browserify/package.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "_args": [ - [ - "crypto-browserify@1.0.9", - "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk" - ] - ], - "_from": "crypto-browserify@1.0.9", - "_id": "crypto-browserify@1.0.9", - "_inCache": true, - "_installable": true, - "_location": "/crypto-browserify", - "_npmUser": { - "email": "dominic.tarr@gmail.com", - "name": "dominictarr" - }, - "_npmVersion": "1.3.11", - "_phantomChildren": {}, - "_requested": { - "name": "crypto-browserify", - "raw": "crypto-browserify@1.0.9", - "rawSpec": "1.0.9", - "scope": null, - "spec": "1.0.9", - "type": "version" - }, - "_requiredBy": [ - "/aws-sdk" - ], - "_resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-1.0.9.tgz", - "_shasum": "cc5449685dfb85eb11c9828acc7cb87ab5bbfcc0", - "_shrinkwrap": null, - "_spec": "crypto-browserify@1.0.9", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk", - "author": { - "email": "dominic.tarr@gmail.com", - "name": "Dominic Tarr", - "url": "dominictarr.com" - }, - "bugs": { - "url": "https://github.com/dominictarr/crypto-browserify/issues" - }, - "dependencies": {}, - "description": "partial implementation of crypto for the browser", - "devDependencies": { - "brfs": "~0.0.8", - "tape": "~1.0.4" - }, - "directories": {}, - "dist": { - "shasum": "cc5449685dfb85eb11c9828acc7cb87ab5bbfcc0", - "tarball": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-1.0.9.tgz" - }, - "engines": { - "node": "*" - }, - "homepage": "https://github.com/dominictarr/crypto-browserify", - "license": "MIT", - "maintainers": [ - { - "name": "dominictarr", - "email": "dominic.tarr@gmail.com" - } - ], - "name": "crypto-browserify", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/dominictarr/crypto-browserify.git" - }, - "scripts": { - "test": "node test/node.js" - }, - "testling": { - "browsers": [ - "chrome/20..latest", - "firefox/10..latest", - "ie/8..latest", - "ipad/6", - "iphone/6", - "opera/11.0..latest", - "safari/latest" - ], - "files": "test/browser.js" - }, - "version": "1.0.9" -} diff --git a/src/node_modules/crypto-browserify/readme.markdown b/src/node_modules/crypto-browserify/readme.markdown deleted file mode 100644 index 2ede636..0000000 --- a/src/node_modules/crypto-browserify/readme.markdown +++ /dev/null @@ -1,20 +0,0 @@ -# crypto-browserify - -A (partial) port of `crypto` to the browser. - - -[![travis](https://secure.travis-ci.org/dominictarr/crypto-browserify.png?branch=master)](https://travis-ci.org/dominictarr/crypto-browserify) - -[![browser support](http://ci.testling.com/dominictarr/crypto-browserify.png)](http://ci.testling.com/dominictarr/crypto-browserify) - - -Basically, I found some crypto implemented in JS lieing on the internet somewhere -and wrapped it in the part of the `crypto` api that I am currently using. - -In a way that will be compatible with [browserify](https://github.com/substack/node-browserify/). - -I will extend this if I need more features, or if anyone else wants to extend this, -I will add you as a maintainer. - -Provided that you agree that it should replicate the [node.js/crypto](http://nodejs.org/api/crypto.html) api exactly, of course. - diff --git a/src/node_modules/crypto-browserify/rng.js b/src/node_modules/crypto-browserify/rng.js deleted file mode 100644 index bc858e8..0000000 --- a/src/node_modules/crypto-browserify/rng.js +++ /dev/null @@ -1,31 +0,0 @@ -// Original code adapted from Robert Kieffer. -// details at https://github.com/broofa/node-uuid -(function() { - var _global = this; - - var mathRNG, whatwgRNG; - - // NOTE: Math.random() does not guarantee "cryptographic quality" - mathRNG = function(size) { - var bytes = new Array(size); - var r; - - for (var i = 0, r; i < size; i++) { - if ((i & 0x03) == 0) r = Math.random() * 0x100000000; - bytes[i] = r >>> ((i & 0x03) << 3) & 0xff; - } - - return bytes; - } - - if (_global.crypto && crypto.getRandomValues) { - whatwgRNG = function(size) { - var bytes = new Uint8Array(size); - crypto.getRandomValues(bytes); - return bytes; - } - } - - module.exports = whatwgRNG || mathRNG; - -}()) diff --git a/src/node_modules/crypto-browserify/sha.js b/src/node_modules/crypto-browserify/sha.js deleted file mode 100644 index 8942b62..0000000 --- a/src/node_modules/crypto-browserify/sha.js +++ /dev/null @@ -1,101 +0,0 @@ -/* - * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined - * in FIPS PUB 180-1 - * Version 2.1a Copyright Paul Johnston 2000 - 2002. - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * Distributed under the BSD License - * See http://pajhome.org.uk/crypt/md5 for details. - */ - -var helpers = require('./helpers'); - -/* - * Calculate the SHA-1 of an array of big-endian words, and a bit length - */ -function core_sha1(x, len) -{ - /* append padding */ - x[len >> 5] |= 0x80 << (24 - len % 32); - x[((len + 64 >> 9) << 4) + 15] = len; - - var w = Array(80); - var a = 1732584193; - var b = -271733879; - var c = -1732584194; - var d = 271733878; - var e = -1009589776; - - for(var i = 0; i < x.length; i += 16) - { - var olda = a; - var oldb = b; - var oldc = c; - var oldd = d; - var olde = e; - - for(var j = 0; j < 80; j++) - { - if(j < 16) w[j] = x[i + j]; - else w[j] = rol(w[j-3] ^ w[j-8] ^ w[j-14] ^ w[j-16], 1); - var t = safe_add(safe_add(rol(a, 5), sha1_ft(j, b, c, d)), - safe_add(safe_add(e, w[j]), sha1_kt(j))); - e = d; - d = c; - c = rol(b, 30); - b = a; - a = t; - } - - a = safe_add(a, olda); - b = safe_add(b, oldb); - c = safe_add(c, oldc); - d = safe_add(d, oldd); - e = safe_add(e, olde); - } - return Array(a, b, c, d, e); - -} - -/* - * Perform the appropriate triplet combination function for the current - * iteration - */ -function sha1_ft(t, b, c, d) -{ - if(t < 20) return (b & c) | ((~b) & d); - if(t < 40) return b ^ c ^ d; - if(t < 60) return (b & c) | (b & d) | (c & d); - return b ^ c ^ d; -} - -/* - * Determine the appropriate additive constant for the current iteration - */ -function sha1_kt(t) -{ - return (t < 20) ? 1518500249 : (t < 40) ? 1859775393 : - (t < 60) ? -1894007588 : -899497514; -} - -/* - * Add integers, wrapping at 2^32. This uses 16-bit operations internally - * to work around bugs in some JS interpreters. - */ -function safe_add(x, y) -{ - var lsw = (x & 0xFFFF) + (y & 0xFFFF); - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - return (msw << 16) | (lsw & 0xFFFF); -} - -/* - * Bitwise rotate a 32-bit number to the left. - */ -function rol(num, cnt) -{ - return (num << cnt) | (num >>> (32 - cnt)); -} - -module.exports = function sha1(buf) { - return helpers.hash(buf, core_sha1, 20, true); -}; diff --git a/src/node_modules/crypto-browserify/sha256.js b/src/node_modules/crypto-browserify/sha256.js deleted file mode 100644 index 954d685..0000000 --- a/src/node_modules/crypto-browserify/sha256.js +++ /dev/null @@ -1,79 +0,0 @@ - -/** - * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined - * in FIPS 180-2 - * Version 2.2-beta Copyright Angel Marin, Paul Johnston 2000 - 2009. - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * - */ - -var helpers = require('./helpers'); - -var safe_add = function(x, y) { - var lsw = (x & 0xFFFF) + (y & 0xFFFF); - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - return (msw << 16) | (lsw & 0xFFFF); -}; - -var S = function(X, n) { - return (X >>> n) | (X << (32 - n)); -}; - -var R = function(X, n) { - return (X >>> n); -}; - -var Ch = function(x, y, z) { - return ((x & y) ^ ((~x) & z)); -}; - -var Maj = function(x, y, z) { - return ((x & y) ^ (x & z) ^ (y & z)); -}; - -var Sigma0256 = function(x) { - return (S(x, 2) ^ S(x, 13) ^ S(x, 22)); -}; - -var Sigma1256 = function(x) { - return (S(x, 6) ^ S(x, 11) ^ S(x, 25)); -}; - -var Gamma0256 = function(x) { - return (S(x, 7) ^ S(x, 18) ^ R(x, 3)); -}; - -var Gamma1256 = function(x) { - return (S(x, 17) ^ S(x, 19) ^ R(x, 10)); -}; - -var core_sha256 = function(m, l) { - var K = new Array(0x428A2F98,0x71374491,0xB5C0FBCF,0xE9B5DBA5,0x3956C25B,0x59F111F1,0x923F82A4,0xAB1C5ED5,0xD807AA98,0x12835B01,0x243185BE,0x550C7DC3,0x72BE5D74,0x80DEB1FE,0x9BDC06A7,0xC19BF174,0xE49B69C1,0xEFBE4786,0xFC19DC6,0x240CA1CC,0x2DE92C6F,0x4A7484AA,0x5CB0A9DC,0x76F988DA,0x983E5152,0xA831C66D,0xB00327C8,0xBF597FC7,0xC6E00BF3,0xD5A79147,0x6CA6351,0x14292967,0x27B70A85,0x2E1B2138,0x4D2C6DFC,0x53380D13,0x650A7354,0x766A0ABB,0x81C2C92E,0x92722C85,0xA2BFE8A1,0xA81A664B,0xC24B8B70,0xC76C51A3,0xD192E819,0xD6990624,0xF40E3585,0x106AA070,0x19A4C116,0x1E376C08,0x2748774C,0x34B0BCB5,0x391C0CB3,0x4ED8AA4A,0x5B9CCA4F,0x682E6FF3,0x748F82EE,0x78A5636F,0x84C87814,0x8CC70208,0x90BEFFFA,0xA4506CEB,0xBEF9A3F7,0xC67178F2); - var HASH = new Array(0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A, 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19); - var W = new Array(64); - var a, b, c, d, e, f, g, h, i, j; - var T1, T2; - /* append padding */ - m[l >> 5] |= 0x80 << (24 - l % 32); - m[((l + 64 >> 9) << 4) + 15] = l; - for (var i = 0; i < m.length; i += 16) { - a = HASH[0]; b = HASH[1]; c = HASH[2]; d = HASH[3]; e = HASH[4]; f = HASH[5]; g = HASH[6]; h = HASH[7]; - for (var j = 0; j < 64; j++) { - if (j < 16) { - W[j] = m[j + i]; - } else { - W[j] = safe_add(safe_add(safe_add(Gamma1256(W[j - 2]), W[j - 7]), Gamma0256(W[j - 15])), W[j - 16]); - } - T1 = safe_add(safe_add(safe_add(safe_add(h, Sigma1256(e)), Ch(e, f, g)), K[j]), W[j]); - T2 = safe_add(Sigma0256(a), Maj(a, b, c)); - h = g; g = f; f = e; e = safe_add(d, T1); d = c; c = b; b = a; a = safe_add(T1, T2); - } - HASH[0] = safe_add(a, HASH[0]); HASH[1] = safe_add(b, HASH[1]); HASH[2] = safe_add(c, HASH[2]); HASH[3] = safe_add(d, HASH[3]); - HASH[4] = safe_add(e, HASH[4]); HASH[5] = safe_add(f, HASH[5]); HASH[6] = safe_add(g, HASH[6]); HASH[7] = safe_add(h, HASH[7]); - } - return HASH; -}; - -module.exports = function sha256(buf) { - return helpers.hash(buf, core_sha256, 32, true); -}; diff --git a/src/node_modules/crypto-browserify/test/browser.js b/src/node_modules/crypto-browserify/test/browser.js deleted file mode 100644 index ccc054b..0000000 --- a/src/node_modules/crypto-browserify/test/browser.js +++ /dev/null @@ -1,100 +0,0 @@ -var test = require('tape'); -var Buffer = require('buffer').Buffer; - -var crypto = require('../'); - -var algorithms = ['sha1', 'sha256', 'md5']; -var encodings = ['binary', 'hex', 'base64']; - - -// We can't compare against node's crypto library directly because when -// using testling we only have another version of crypto-browserify to -// check against. So we'll use a cached version of the expected values -// generated by node crypto. -var EXPECTED = {}; - -EXPECTED['sha1-hash-binary'] = atob('qvTGHdzF6KLavt4PO0gs2a6pQ00='); -EXPECTED['sha1-hash-hex'] = 'aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d'; -EXPECTED['sha1-hash-base64'] = 'qvTGHdzF6KLavt4PO0gs2a6pQ00='; - -EXPECTED['sha256-hash-binary'] = atob('LPJNul+wow4m6DsqxbninhsWHlwfp0JecwQzYpOLmCQ='); -EXPECTED['sha256-hash-hex'] = '2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824'; -EXPECTED['sha256-hash-base64'] = 'LPJNul+wow4m6DsqxbninhsWHlwfp0JecwQzYpOLmCQ='; - -EXPECTED['md5-hash-binary'] = atob('XUFAKrxLKna5cZ2REBfFkg=='); -EXPECTED['md5-hash-hex'] = '5d41402abc4b2a76b9719d911017c592'; -EXPECTED['md5-hash-base64'] = 'XUFAKrxLKna5cZ2REBfFkg=='; - -EXPECTED['sha1-hmac-binary'] = atob('URIFXAX5RPhXVe/FzYlw4ZTp9Fs='); -EXPECTED['sha1-hmac-hex'] = '5112055c05f944f85755efc5cd8970e194e9f45b'; -EXPECTED['sha1-hmac-base64'] = 'URIFXAX5RPhXVe/FzYlw4ZTp9Fs='; - -EXPECTED['sha256-hmac-binary'] = atob('iKqz7ejTrflNJquQ07r9SiCDBww7zOnAFO4EpEOEfAs='); -EXPECTED['sha256-hmac-hex'] = '88aab3ede8d3adf94d26ab90d3bafd4a2083070c3bcce9c014ee04a443847c0b'; -EXPECTED['sha256-hmac-base64'] = 'iKqz7ejTrflNJquQ07r9SiCDBww7zOnAFO4EpEOEfAs='; - -EXPECTED['md5-hmac-binary'] = atob('ut5jhjxh7QsxZYBuzWrO/A=='); -EXPECTED['md5-hmac-hex'] = 'bade63863c61ed0b3165806ecd6acefc'; -EXPECTED['md5-hmac-base64'] = 'ut5jhjxh7QsxZYBuzWrO/A=='; - -EXPECTED['md5-with-binary'] = '27549c8ff29ca52f7957f89c328dbb6d'; -EXPECTED['sha1-with-binary'] = '4fa10dda29053b237b5d9703151c852c61e6d8d7'; -EXPECTED['sha256-with-binary'] = '424ff84246aabc1560a2881b9664108dfe26784c762d930c4ff396c085f4183b'; - -EXPECTED['md5-empty-string'] = 'd41d8cd98f00b204e9800998ecf8427e'; -EXPECTED['sha1-empty-string'] = 'da39a3ee5e6b4b0d3255bfef95601890afd80709'; -EXPECTED['sha256-empty-string'] = 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'; - - -algorithms.forEach(function (algorithm) { - encodings.forEach(function (encoding) { - test(algorithm + ' hash using ' + encoding, function (t) { - t.plan(1); - var actual = crypto.createHash(algorithm).update('hello', 'utf-8').digest(encoding); - var expected = EXPECTED[algorithm + '-hash-' + encoding]; - t.equal(actual, expected); - t.end(); - }); - - test(algorithm + ' hmac using ' + encoding, function (t) { - t.plan(1); - var actual = crypto.createHmac(algorithm, 'secret').update('hello', 'utf-8').digest(encoding); - var expected = EXPECTED[algorithm + '-hmac-' + encoding]; - t.equal(actual, expected); - t.end(); - }); - }); - - test(algorithm + ' with empty string', function (t) { - t.plan(1); - var actual = crypto.createHash(algorithm).update('', 'utf-8').digest('hex'); - var expected = EXPECTED[algorithm + '-empty-string']; - t.equal(actual, expected); - t.end(); - }); - - test(algorithm + ' with raw binary', function (t) { - t.plan(1); - var seed = 'hello'; - for (var i = 0; i < 1000; i++) { - seed = crypto.createHash(algorithm).update(seed).digest('binary'); - } - var actual = crypto.createHash(algorithm).update(seed).digest('hex'); - var expected = EXPECTED[algorithm + '-with-binary']; - t.equal(actual, expected); - t.end(); - }); -}); - - -test('randomBytes', function (t) { - t.plan(5); - t.equal(crypto.randomBytes(10).length, 10); - t.ok(crypto.randomBytes(10) instanceof Buffer); - crypto.randomBytes(10, function(ex, bytes) { - t.error(ex); - t.equal(bytes.length, 10); - t.ok(bytes instanceof Buffer); - t.end(); - }); -}); diff --git a/src/node_modules/crypto-browserify/test/node.js b/src/node_modules/crypto-browserify/test/node.js deleted file mode 100644 index fb9af5c..0000000 --- a/src/node_modules/crypto-browserify/test/node.js +++ /dev/null @@ -1,77 +0,0 @@ -var test = require('tape'); - -var crypto = require('crypto'); -var cryptoB = require('../'); -var fs = require('fs'); - -function assertSame(name, fn) { - test(name, function (t) { - t.plan(1); - fn(crypto, function (err, expected) { - fn(cryptoB, function (err, actual) { - t.equal(actual, expected); - t.end(); - }); - }); - }); -} - -var algorithms = ['sha1', 'sha256', 'md5']; -var encodings = ['binary', 'hex', 'base64']; - - -algorithms.forEach(function (algorithm) { - encodings.forEach(function (encoding) { - assertSame(algorithm + ' hash using ' + encoding, function (crypto, cb) { - cb(null, crypto.createHash(algorithm).update('hellø', 'utf-8').digest(encoding)); - }) - - assertSame(algorithm + ' hmac using ' + encoding, function (crypto, cb) { - cb(null, crypto.createHmac(algorithm, 'secret').update('hellø', 'utf-8').digest(encoding)) - }) - }); - - assertSame(algorithm + ' with raw binary', function (crypto, cb) { - var seed = 'hellø'; - for (var i = 0; i < 1000; i++) { - seed = crypto.createHash(algorithm).update(new Buffer(seed)).digest('binary'); - } - cb(null, crypto.createHash(algorithm).update(new Buffer(seed)).digest('hex')); - }); - - assertSame(algorithm + ' empty string', function (crypto, cb) { - cb(null, crypto.createHash(algorithm).update('').digest('hex')); - }); -}); - -function pad(n, w) { - n = n + ''; return new Array(w - n.length + 1).join('0') + n; -} - -var vectors = fs.readdirSync(__dirname + '/vectors').sort(). - filter(function (t) { return t.match(/\.dat$/); }). - map(function (t) { return fs.readFileSync(__dirname + '/vectors/' + t); }); - -['md5', 'sha1', 'sha256'].forEach(function (algorithm) { - test(algorithm, function (t) { - function hash(data) { return cryptoB.createHash(algorithm).update(data).digest('hex'); } - - var hashes = fs.readFileSync(__dirname + '/vectors/byte-hashes.' + algorithm).toString().split(/\r?\n/); - t.plan(vectors.length); - for (var i = 0; i < vectors.length; i++) { - t.equal(hash(vectors[i]), hashes[i], 'byte' + pad(i, 4) + '.dat'); - } - }); -}); - -test('randomBytes', function (t) { - t.plan(5); - t.equal(cryptoB.randomBytes(10).length, 10); - t.ok(cryptoB.randomBytes(10) instanceof Buffer); - cryptoB.randomBytes(10, function(ex, bytes) { - t.error(ex); - t.equal(bytes.length, 10); - t.ok(bytes instanceof Buffer); - t.end(); - }); -}); diff --git a/src/node_modules/crypto-browserify/test/package.json b/src/node_modules/crypto-browserify/test/package.json deleted file mode 100644 index 4b435b0..0000000 --- a/src/node_modules/crypto-browserify/test/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "browserify": { - "transform": [ - "brfs" - ] - } -} diff --git a/src/node_modules/crypto-browserify/test/simple.js b/src/node_modules/crypto-browserify/test/simple.js deleted file mode 100755 index 34d96b5..0000000 --- a/src/node_modules/crypto-browserify/test/simple.js +++ /dev/null @@ -1,36 +0,0 @@ -var test = require("tape") - -var crypto = require('crypto') -var cryptoB = require('../') - -function assertSame (fn) { - test(fn.name, function (t) { - t.plan(1) - fn(crypto, function (err, expected) { - fn(cryptoB, function (err, actual) { - t.equal(actual, expected) - t.end() - }) - }) - }) -} - -assertSame(function sha1 (crypto, cb) { - cb(null, crypto.createHash('sha1').update('hello', 'utf-8').digest('hex')) -}) - -assertSame(function md5(crypto, cb) { - cb(null, crypto.createHash('md5').update('hello', 'utf-8').digest('hex')) -}) - -test('randomBytes', function (t) { - t.plan(5) - t.equal(cryptoB.randomBytes(10).length, 10) - t.ok(cryptoB.randomBytes(10) instanceof Buffer) - cryptoB.randomBytes(10, function(ex, bytes) { - t.error(ex) - t.equal(bytes.length, 10) - t.ok(bytes instanceof Buffer) - t.end() - }) -}) diff --git a/src/node_modules/crypto-browserify/test/vectors/Readme.txt b/src/node_modules/crypto-browserify/test/vectors/Readme.txt deleted file mode 100755 index 99d14c9..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/Readme.txt +++ /dev/null @@ -1,25 +0,0 @@ - -File formats: - -There are two files included for this byte-oriented test. -One file contains the messages and the other file contains the hashes. - -The message files provided use "compact strings" to store the message values. -Compact strings are used to represented the messages in a compact form. -A compact string has the form - z || b || n(1) || n(2) || ... || n(z) -where z>=0 that represents the number of n, b is either 0 or 1, and -each n(i) is a decimal integer representing a positive number. -The length of the compact string is given by the summation of the n(i). - -The compact string is interpreted as the representation of the bit string -consisting of b repeated n(1) times, followed by 1-b repeated n(2) times, -followed by b repeated n(3) times, and so on. - -Example: - M = 5 1 7 13 5 1 2 - where z = 5 and b = 1. Then the compact string M represents the bit string - 1111111000000000000011111011 - where 1 is repeated 7 times, 0 is repeated 13 times, 1 is repeated 5 times, - 0 is repeated 1 time, and 1 is repeated 2 times. - diff --git a/src/node_modules/crypto-browserify/test/vectors/byte-hashes.md5 b/src/node_modules/crypto-browserify/test/vectors/byte-hashes.md5 deleted file mode 100755 index 97a913a..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte-hashes.md5 +++ /dev/null @@ -1,196 +0,0 @@ -d41d8cd98f00b204e9800998ecf8427e -c3e97dd6e97fb5125688c97f36720cbe -038701ca277a9d4de87bff428dd30a12 -bc60c6192e361d99b59d47250668a852 -542c3a0ab6b51bc6a88fa7bb567bca3e -e035f9e748a2a09a4fbdcf18c4f58bf1 -3b4cc9226a236742d72578c5915b6c3c -35950208a022baac90056636827158ce -84cedff2ed1b78b395cc8651094f4ce3 -7badf748f4cb700272a72edfea22e9bf -a1bb6e142739dbdb0925747d95e0a1ad -0cd9b72dfdee8efd2e1515f4c5a62284 -ef07c13e75d50578d09052aa21a7cffb -cf3b261af9344bf83b4dd82b30242c78 -530710f65fb98fff8eb927e2938cb8c5 -4e6d73658b27e19d4bb4500625001e39 -c8e5f2f272b1ef88ec62dd0d9d54e902 -031cbf1fb05b4ec09f3c93235d0f49ac -8c0e1400df02ba8c4809b705e5f5e114 -57ec48278e19f71f54c570a5ab306df7 -ecd3dc346a2337b95389a094a031610f -f11d91eae492225cbd82ef356aa96f9f -26bd8b480216c723ce75da98b9bd430c -80999c2d12f623e4f87e0550a8e3523a -00945c1bd739ce389ac24bb93f6f9a85 -7ab55f0bd5dca5b17ecaa7fef73ed87b -e3cedd606ad51dd18532abd3079a3e0c -df5ecc6732e22cc25836398a10222e97 -863b6d9962ee3761bbb9cd8a8367589e -683c9384e29efe82dd3ac847904c28e8 -b3d948e72159ddc9c600d75512c5f115 -ce8633a6cf189b07e022147bbbd0f350 -8df17372eb32a0afa4fc47837262ff61 -62c63ca91890ce6f78a59c0bdb1e7bab -1eda4bb0259a939548ec4ceb39facde4 -c4f37a2c450f2a23322513b372e668a5 -cab8f06436c5ad45f982490215836f4e -3a43bc720714a2a42a73a76085542f86 -03f2f4033b258e6eb1e101f1ed4c24b4 -2ceb33cec5ecad4a50f6bd3a831ae77c -dd808f695d28f93562cfcb164bc3cce4 -01c6d7a87e94bf685205ec8d7c5196af -ef0e93e8928f8bae1b216da8e661fc9b -c8da55117d7d4b7ee8ddc8dc4ba73aa6 -bbfc64583c6d4c2ef4b0358464d4d028 -3bb5864481f2e66387419dd1a168aadc -0d725d3a1d3d97d7b5ea8293bbbf32ba -915eb22a15f7673f983672b6c353b6c8 -13b51da3e8a1422bfd58b79c4e19de64 -e69d6c03102464f22c395f9fa27108de -132fa4cbedaa7bd965b0b5900211be48 -e37ff5d9f14249f327a19dd5296e6c7e -4881a65cf107b1d034ff3ecd64ab9cb4 -547e92d01c0b699cfdf43f91714cfe2d -aa2b3a055b56845f19109f21d3c783f4 -eb1f01cc647ece73b2192537200bb8b9 -1db274ef41b1ad71f713df2b05207e1a -d8b4ec343b4310345efc6da9cee8a2ec -082ee3b2be7910f7350368e395a63d90 -d247c4070ae1de106bcb438a2dacac23 -f8cbc4f3af45befc792679f2b113f1cb -9031006a437019c5dcd987a31731ebd9 -a6b62759ee3883258fbdeeb8b56e6283 -4933898605b4a1b970b674a2dde92292 -f0684ca20de4607232f3e158e81a37f2 -c0b3fdecb3bb7b4ff0c936f378ccb027 -50652123b5e0e51bb5bc3fdde3c6a750 -ed4526ba8226d969f47edbb27b2f1144 -80e6f61dff9da8673fa16dbbdb14d03d -1d52744bf1450d7c5cfdf1f0bbf967c1 -3438a953124960bcc44611923a8844ee -b2f341296dd7aabbd4fd8e011be68a7d -322dba69658a92e9a9ace4d7177fb97d -b94a434a98efa493fbbc989360671bb9 -cd9ce9a01ed810af70999d8ce4c63811 -4c639abb75a0ae0f22c3384cb9c68441 -fe31ffcced1717988c854c2f3492466e -b56d81337f9bbf0d838df831e9b40216 -0be9161adfeb2dd1c3f20338bfb3ec4b -be7b7c9fa1ab09d6578a3f2a82bfafe3 -f6bdc04b4611ddf0aa8403bcb04292f7 -1c7146a10f3c76b0c1dd4af354b14982 -0d3d987f94aee65f84436696bcf33ea4 -1a5c9ac3ee859361ad5477ea792506a3 -e827d60f27e35d8e5b05af748ba897dd -5b7899bf7a6267d9b3b8c82f241a1d7b -6dc9fe740cf4a4b93cb0953a3c2a6026 -27adf814806fd4a51c1ffc84122c5c8a -f74e94ab992c8f27de264993a09ab429 -5eee0f1591d10c159763749ec86b9ecb -46898964a3889615d9f7c22a81e0a0e7 -8fb58d6770971b0f12e40b31ad65b4a9 -eb4ce130268dc13731dcd16ff492d0a9 -23532a54e8005860ad5e77f4e3392827 -07fedc4dc4891d1a90c501a781a666f2 -83e8341035b37dd70a92a6eed5406927 -6c9f7b3b25734d58f21f5050642874a5 -ef661042e6624f4052ce86d8f233d780 -efe794cdfad5cb86656e29854a1f5c92 -e5f19a0045481443bae165f03598a9ba -b8fe8691321edbf308a9d60bb817c6af -f31fdd0f1aef106005e6d29b72229fa1 -239ed45c3cb734db446adfbbe3dab8a1 -2c2303411c7d25617a54106aca18070d -de179c41aca8bcdc388964024948ff8e -ca335b74d59bd50832267d3bf28f81df -dabda7a1cbaa8ea5104c57c8950b703a -076352a22ecea5ebc876812f62c1cb8d -ee0a2bdec712a9413623d8a920714b96 -a927c3a99f2843de4133377c690db9b7 -1fa98cff485549d49799dc8cf987a8af -74013a076a786a26c7e04217bb51031d -a44ca9661e967bb2e98af65277dac72f -d30897726b635548dbfa5cebffd9cd63 -4ad04a250b8029c9a7bf6529ee8793c3 -de41e337d96fd23619121ea709861e1a -18e070fd32cf732b9f37a0083320eec2 -7dd4b27ca8906182f684d0ee4ddb98c4 -70a440a8bd06ff40f6e9135946eb174d -b8d052366e752ce7c803abd24854e934 -8ab9dfff746ce3e62c6e04feb7b48528 -ecfca8b371616efe78e9916dbf825f5b -5f76da828c37fc4edb4557953539c92a -ecad54f76ce3bc233e02fc6fd7f94628 -e8a1cc06bfec7f677f36a693e1342400 -9ad0fe040e44a8e7146c3dd8582b6752 -4e56f978f94cf72158fd4311831b4f9f -3b95686fe49f50006607d5978aaa3efc -fa354daecc45f14b82b0e7e567d24282 -b7c30cf902e74c10e3d5c3af7e854f6b -e9369a7ec98e63186bdae77025cb5519 -57b441e2f3397d2628657e636cd2fc80 -8ae3a1e880ffb884260ec26e8fcd71a5 -eb7d8f9199945e8a1e5c3708da45e08b -d7dd1997c20a1029f9bd0fd1e2d2ed92 -a986ef62ef378583985cf0d0a34d17d0 -ad5bef0d6ad3434f871983ed09aaa43c -326f662a5c18a14d26c3d35131ea4b4e -ea4bf919aebf4add0024d91ee6f640d0 -9cc49e156084d2c757bd6d502bae8309 -9c18d4c75cc02337c277532ecea4b9fa -4159a65b7db275742e998fb855e7b9f3 -df34d37f6b4ef078bd9570efdd8fd2e2 -84d2c12c4f0c28d288464d33a23f227c -17b55bbd4222066960e54182e1e95f0b -75eb69b22793852bc892ce264c421a1e -de4abe78e28e2718200c76237f2ed42f -1149c8fc988799f43f6e5069355e108b -4129891ff13ddd62820f6f3cdbfa95da -c8758df3c9ad4d311516ea39fe734052 -360ddf0b658fd764ef5ae9bf7a8a1a12 -ad054e0e84e2b8e2b02ce4dee7688226 -cb434f8c5fad9793ed142805afa861a0 -83a3d5436f96cb2cb31d929794425f31 -34dde0f0fe7d4fdb359df1fccbf5fcde -7b77219e9549fad49e97c380f7e1f362 -053f4e89ae2355c5cb259d21e85eb9cd -fc45c5118f642cc479e6a550756f1a4e -0138351089a87a2ddc2d98255ce6b8cc -1f3e42daa4b315f2a0e6a530e0cc6976 -aec4974f238a6e04dcb07e20ad861230 -7a27fedaeec41b5832bda3169d76cd05 -154bd1371ae66ad3ab9a9ee6b1324e36 -a4594c9e974eed1fc159cc306dd7378a -431acd1a4a4d6036057c9906da8add5e -f6afe47bdedf075c7e188b2640152cf7 -8bc3bd8625778f64ed7c29698025f292 -51f6bb4db8e6e61cc4333450c6035139 -0baff1c675866bf259d3ac9417a33464 -6e8a56a9a005c6c6239ccbdf48f59aa8 -6565bceb49f962f797f49084f3f819a1 -2267037a7f3e753c653218fcf67ce9c7 -aca1ae6237f498986991565b0307f0da -785bb09a5f25730a3aed4de12da4d9ea -4eb5472f4e5243fcd4a76533789e829a -7d725ae9a8e569f49c56194226b64dee -7396f5d4491e79ec1ac0ce7a105bb233 -aa64644a4877da34e2197c5f2dc375c5 -2165718fc24bf21f1c4e0623c8e8d811 -e1f45852024724f00ced7935e297983a -deac06cde1f6b18a53a2cf0b03998da2 -8371f0970efbc6099c50afbbd4f0e477 -985d909280bc20607f4cb4941ae535f2 -abcdd18a791546544b52c0587dbd6107 -23e8b5a657c962a3e77979859ae1400e -cc4fab29cc180ffa888be396ce6aa6f5 -b553506daedf701ccdc437fbf3e6bbe4 -d707ae093ab94607010ddda09fc8a5a8 -76bdae04521ba996636c4dc431040031 -556c14fd0f3ff7bd6b435bd630e48811 -b500501957d4b8b412ea0102c842dd5e -d18506a74c66e4d8537269c10c783923 -c9b4b691f4d88b7d2b4d5b770b05c8bf -ba915c678f944fe5a480364ddc3382a8 -78134c91a1ffb2e21594daa2c2a932fc -6fc6c8790dfc301ee38b8b63e18def5c diff --git a/src/node_modules/crypto-browserify/test/vectors/byte-hashes.sha1 b/src/node_modules/crypto-browserify/test/vectors/byte-hashes.sha1 deleted file mode 100755 index f251291..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte-hashes.sha1 +++ /dev/null @@ -1,196 +0,0 @@ -da39a3ee5e6b4b0d3255bfef95601890afd80709 -3cdf2936da2fc556bfa533ab1eb59ce710ac80e5 -19c1e2048fa7393cfbf2d310ad8209ec11d996e5 -ca775d8c80faa6f87fa62beca6ca6089d63b56e5 -71ac973d0e4b50ae9e5043ff4d615381120a25a0 -a6b5b9f854cfb76701c3bddbf374b3094ea49cba -d87a0ee74e4b9ad72e6847c87bdeeb3d07844380 -1976b8dd509fe66bf09c9a8d33534d4ef4f63bfd -5a78f439b6db845bb8a558e4ceb106cd7b7ff783 -f871bce62436c1e280357416695ee2ef9b83695c -62b243d1b780e1d31cf1ba2de3f01c72aeea0e47 -1698994a273404848e56e7fda4457b5900de1342 -056f4cdc02791da7ed1eb2303314f7667518deef -9fe2da967bd8441eea1c32df68ddaa9dc1fc8e4b -73a31777b4ace9384efa8bbead45c51a71aba6dd -3f9d7c4e2384eddabff5dd8a31e23de3d03f42ac -4814908f72b93ffd011135bee347de9a08da838f -0978374b67a412a3102c5aa0b10e1a6596fc68eb -44ad6cb618bd935460d46d3f921d87b99ab91c1e -02dc989af265b09cf8485640842128dcf95e9f39 -67507b8d497b35d6e99fc01976d73f54aeca75cf -1eae0373c1317cb60c36a42a867b716039d441f5 -9c3834589e5bffac9f50950e0199b3ec2620bec8 -209f7abc7f3b878ee46cdf3a1fbb9c21c3474f32 -05fc054b00d97753a9b3e2da8fbba3ee808cef22 -0c4980ea3a46c757dfbfc5baa38ac6c8e72ddce7 -96a460d2972d276928b69864445bea353bdcffd2 -f3ef04d8fa8c6fa9850f394a4554c080956fa64b -f2a31d875d1d7b30874d416c4d2ea6baf0ffbafe -f4942d3b9e9588dcfdc6312a84df75d05f111c20 -310207df35b014e4676d30806fa34424813734dd -4da1955b2fa7c7e74e3f47d7360ce530bbf57ca3 -74c4bc5b26fb4a08602d40ccec6c6161b6c11478 -0b103ce297338dfc7395f7715ee47539b556ddb6 -efc72d99e3d2311ce14190c0b726bdc68f4b0821 -660edac0a8f4ce33da0d8dbae597650e97687250 -fe0a55a988b3b93946a63eb36b23785a5e6efc3e -0cbdf2a5781c59f907513147a0de3cc774b54bf3 -663e40fee5a44bfcb1c99ea5935a6b5bc9f583b0 -00162134256952dd9ae6b51efb159b35c3c138c7 -ceb88e4736e354416e2010fc1061b3b53b81664b -a6a2c4b6bcc41ddc67278f3df4d8d0b9dd7784ef -c23d083cd8820b57800a869f5f261d45e02dc55d -e8ac31927b78ddec41a31ca7a44eb7177165e7ab -e864ec5dbab0f9ff6984ab6ad43a8c9b81cc9f9c -cfed6269069417a84d6de2347220f4b858bcd530 -d9217bfb46c96348722c3783d29d4b1a3feda38c -dec24e5554f79697218d317315fa986229ce3350 -83a099df7071437ba5495a5b0bfbfefe1c0ef7f3 -aa3198e30891a83e33ce3bfa0587d86a197d4f80 -9b6acbeb4989cbee7015c7d515a75672ffde3442 -b021eb08a436b02658eaa7ba3c88d49f1219c035 -cae36dab8aea29f62e0855d9cb3cd8e7d39094b1 -02de8ba699f3c1b0cb5ad89a01f2346e630459d7 -88021458847dd39b4495368f7254941859fad44b -91a165295c666fe85c2adbc5a10329daf0cb81a0 -4b31312eaf8b506811151a9dbd162961f7548c4b -3fe70971b20558f7e9bac303ed2bc14bde659a62 -93fb769d5bf49d6c563685954e2aecc024dc02d6 -bc8827c3e614d515e83dea503989dea4fda6ea13 -e83868dbe4a389ab48e61cfc4ed894f32ae112ac -55c95459cde4b33791b4b2bcaaf840930af3f3bd -36bb0e2ba438a3e03214d9ed2b28a4d5c578fcaa -3acbf874199763eba20f3789dfc59572aca4cf33 -86be037c4d509c9202020767d860dab039cadace -51b57d7080a87394eec3eb2e0b242e553f2827c9 -1efbfa78866315ce6a71e457f3a750a38facab41 -57d6cb41aeec20236f365b3a490c61d0cfa39611 -c532cb64b4ba826372bccf2b4b5793d5b88bb715 -15833b5631032663e783686a209c6a2b47a1080e -d04f2043c96e10cd83b574b1e1c217052cd4a6b2 -e8882627c64db743f7db8b4413dd033fc63beb20 -cd2d32286b8867bc124a0af2236fc74be3622199 -019b70d745375091ed5c7b218445ec986d0f5a82 -e5ff5fec1dadbaed02bf2dad4026be6a96b3f2af -6f4e23b3f2e2c068d13921fe4e5e053ffed4e146 -25e179602a575c915067566fba6da930e97f8678 -67ded0e68e235c8a523e051e86108eeb757efbfd -af78536ea83c822796745556d62a3ee82c7be098 -64d7ac52e47834be72455f6c64325f9c358b610d -9d4866baa3639c13e541f250ffa3d8bc157a491f -2e258811961d3eb876f30e7019241a01f9517bec -8e0ebc487146f83bc9077a1630e0fb3ab3c89e63 -ce8953741fff3425d2311fbbf4ab481b669def70 -789d1d2dab52086bd90c0e137e2515ed9c6b59b5 -b76ce7472700dd68d6328b7aa8437fb051d15745 -f218669b596c5ffb0b1c14bd03c467fc873230a0 -1ff3bdbe0d504cb0cdfab17e6c37aba6b3cffded -2f3cbacbb14405a4652ed52793c1814fd8c4fce0 -982c8ab6ce164f481915af59aaed9fff2a391752 -5cd92012d488a07ece0e47901d0e083b6bd93e3f -69603fec02920851d4b3b8782e07b92bb2963009 -3e90f76437b1ea44cf98a08d83ea24cecf6e6191 -34c09f107c42d990eb4881d4bf2dddcab01563ae -474be0e5892eb2382109bfc5e3c8249a9283b03d -a04b4f75051786682483252438f6a75bf4705ec6 -be88a6716083eb50ed9416719d6a247661299383 -c67e38717fee1a5f65ec6c7c7c42afc00cd37f04 -959ac4082388e19e9be5de571c047ef10c174a8d -baa7aa7b7753fa0abdc4a541842b5d238d949f0a -351394dcebc08155d100fcd488578e6ae71d0e9c -ab8be94c5af60d9477ef1252d604e58e27b2a9ee -3429ec74a695fdd3228f152564952308afe0680a -907fa46c029bc67eaa8e4f46e3c2a232f85bd122 -2644c87d1fbbbc0fc8d65f64bca2492da15baae4 -110a3eeb408756e2e81abaf4c5dcd4d4c6afcf6d -cd4fdc35fac7e1adb5de40f47f256ef74d584959 -8e6e273208ac256f9eccf296f3f5a37bc8a0f9f7 -fe0606100bdbc268db39b503e0fdfe3766185828 -6c63c3e58047bcdb35a17f74eeba4e9b14420809 -bcc2bd305f0bcda8cf2d478ef9fe080486cb265f -ce5223fd3dd920a3b666481d5625b16457dcb5e8 -948886776e42e4f5fae1b2d0c906ac3759e3f8b0 -4c12a51fcfe242f832e3d7329304b11b75161efb -c54bdd2050504d92f551d378ad5fc72c9ed03932 -8f53e8fa79ea09fd1b682af5ed1515eca965604c -2d7e17f6294524ce78b33eab72cdd08e5ff6e313 -64582b4b57f782c9302bfe7d07f74aa176627a3a -6d88795b71d3e386bbd1eb830fb9f161ba98869f -86ad34a6463f12cee6de9596aba72f0df1397fd1 -7eb46685a57c0d466152dc339c8122548c757ed1 -e7a98fb0692684054407cc221abc60c199d6f52a -34df1306662206fd0a5fc2969a4beec4eb0197f7 -56cf7ebf08d10f0cb9fe7ee3b63a5c3a02bcb450 -3bae5cb8226642088da760a6f78b0cf8eddea9f1 -6475df681e061fa506672c27cbabfa9aa6ddff62 -79d81991fa4e4957c8062753439dbfd47bbb277d -bae224477b20302e881f5249f52ec6c34da8ecef -ede4deb4293cfe4138c2c056b7c46ff821cc0acc -a771fa5c812bd0c9596d869ec99e4f4ac988b13f -e99d566212bbbceee903946f6100c9c96039a8f4 -b48ce6b1d13903e3925ae0c88cb931388c013f9c -e647d5baf670d4bf3afc0a6b72a2424b0c64f194 -65c1cd932a06b05cd0b43afb3bc7891f6bcef45c -70ffae353a5cd0f8a65a8b2746d0f16281b25ec7 -cc8221f2b829b8cf39646bf46888317c3eb378ea -26accc2d6d51ff7bf3e5895588907765111bb69b -01072915b8e868d9b28e759cf2bc1aea4bb92165 -3016115711d74236adf0c371e47992f87a428598 -bf30417999c1368f008c1f19feca4d18a5e1c3c9 -62ba49087185f2742c26e1c1f4844112178bf673 -e1f6b9536f384dd3098285bbfd495a474140dc5a -b522dae1d67726eba7c4136d4e2f6d6d645ac43e -e9a021c3eb0b9f2c710554d4bf21b19f78e09478 -df13573188f3bf705e697a3e1f580145f2183377 -188835cfe52ecfa0c4135c2825f245dc29973970 -41b615a34ee2cec9d84a91b141cfab115821950b -ab3dd6221d2afe6613b815da1c389eec74aa0337 -0706d414b4aa7fb4a9051aa70d6856a7264054fb -3cbf8151f3a00b1d5a809cbb8c4f3135055a6bd1 -da5d6a0319272bbccea63acfa6799756ffda6840 -fb4429c95f6277b346d3b389413758dfffeedc98 -2c6e30d9c895b42dcccfc84c906ec88c09b20de1 -3de3189a5e19f225cdce254dff23dacd22c61363 -93530a9bc9a817f6922518a73a1505c411d05da2 -e31354345f832d31e05c1b842d405d4bd4588ec8 -3ff76957e80b60cf74d015ad431fca147b3af232 -34ae3b806be143a84dce82e4b830eb7d3d2bac69 -d7447e53d66bb5e4c26e8b41f83efd107bf4adda -77dd2a4482705bc2e9dc96ec0a13395771ac850c -eaa1465db1f59de3f25eb8629602b568e693bb57 -9329d5b40e0dc43aa25fed69a0fa9c211a948411 -e94c0b6aa62aa08c625faf817ddf8f51ec645273 -7ff02b909d82ad668e31e547e0fb66cb8e213771 -5bb3570858fa1744123bac2873b0bb9810f53fa1 -905f43940b3591ce39d1145acb1eca80ab5e43cd -336c79fbd82f33e490c577e3f791c3cbfe842aff -5c6d07a6b44f7a75a64f6ce592f3bae91e022210 -7e0d3e9d33127f4a30eb8d9c134a58409fa8695b -9a5f50dfcfb19286206c229019f0abf25283028c -dca737e269f9d8626d488988c996e06b352c0708 -b8ffc1d4972fce63241e0e77850ac46dde75dbfa -e9c9bf41c8549354151b977003ce1d830be667db -0942908960b54f96cb43452e583f4f9cb66e398a -fce34051c34d4b81b85ddc4b543cde8007e284b3 -61e8916532503627f4024d13884640a46f1d61d4 -f008d5d7853b6a17b7466cd9e18bd135e520faf4 -bd8d2e873cf659b5c77aac1616827ef8a3b1a3b3 -b25a04dd425302ed211a1c2412d2410fa10c63b6 -a404e21588123e0893718b4b44e91414a785b91f -a1e13bc55bf6dad83cf3aabda3287ad68681ea64 -d5fd35ffabed6733c92365929df0fb4cae864d15 -c12e9c280ee9c079e0506ff89f9b20536e0a83ef -e22769dc00748a9bbd6c05bbc8e81f2cd1dc4e2d -f29835a93475740e888e8c14318f3ca45a3c8606 -1a1d77c6d0f97c4b620faa90f3f8644408e4b13d -4ec84870e9bdd25f523c6dfb6edd605052ca4eaa -d689513fed08b80c39b67371959bc4e3fecb0537 -c4fed58f209fc3c34ad19f86a6dacadc86c04d33 -051888c6d00029c176de792b84dece2dc1c74b00 -1a3540bee05518505827954f58b751c475aeece0 -dfa19180359d5a7a38e842f172359caf4208fc05 -7b0fa84ebbcff7d7f4500f73d79660c4a3431b67 -9e886081c9acaad0f97b10810d1de6fcdce6b5f4 -a4d46e4ba0ae4b012f75b1b50d0534d578ae9cb6 -6342b199ee64c7b2c9cbcd4f2dcb65acef51516f diff --git a/src/node_modules/crypto-browserify/test/vectors/byte-hashes.sha256 b/src/node_modules/crypto-browserify/test/vectors/byte-hashes.sha256 deleted file mode 100644 index 7332dea..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte-hashes.sha256 +++ /dev/null @@ -1,196 +0,0 @@ -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -09fc96082d34c2dfc1295d92073b5ea1dc8ef8da95f14dfded011ffb96d3e54b -33a633841666a5c291a82bfae65deac5c537d05f9fe926cbb5b7281bf90ad150 -8e2cc699f7e677265069f172d4cba15c146e954d7e4f2a8c176576035275b7a0 -8096d72b968a2dbb7ceee163c1981f7f1ec11ee10051b2dc2a8d7601d4e56971 -2cc06402328f034d1909fa7b95f34cdb5585ce7f9096bc4082c97904921f6304 -99a8d6823b803a8d41ed7c26322b4ac8fdc86ce4457ffaaf8600e99595f1577a -5d73704556bd458af1b90383d98591c1d01894d99b394fb7647d3d0cbd45f9a0 -3b9606c772ea20bf2889732b034f9fd476ceddefe8ec4e3704c5993e38dace1b -b858d7c61b67e1688c267ca83b57dd0947c4e5acc4eb3d130fbd92222b66a9ab -87574390294ef6d212b6d8c44ebd5c88e932036dadd0b827c6cb25cd120bfdf6 -afe90242f095e967523c12333b0093d4e532a0db0f27dcc25d44d23ffb62094b -55731252db2418c49f15d7f0f146c6506589f016a82c72cf8a6276ac6bd123c7 -c2e0ed603bfa67292b78a29264e409a2e0c98482cdb59cf4fe7cafff69853d11 -517f007a8b65d4197411c35b14edb1340490a9be7a6c66b8c827b1e101a05b5c -76c977fdc97261cd0956ce1319476d314bc57d8691c7884cd0a7ff3cf825c31f -f10c26637ea8ca2d0898fa661f087f13f174fe0ca1c91862ce3b6127c3430f51 -679b95521601c0ba63ce882046abd7a8cdb8e78d5c0ee9f38c21dc47ca846195 -af369f2162152e43847b4d0c595dcf2d27059563909425f37928bc01090f2f34 -7e1f6f080a60c402bb9c39578f75afc148a0746c656ca243f75038b82304bdf5 -8d6df02738597d95e2eb9e870d4177339728d9ab8b8d61aa96f0b6d1b5ad6efd -d0a9699291dead3f6fba3b648c28537a04caea4b96b145802c06125a17c3faba -d504026213b322cbcb0dbadd6a1fc6c708825019da9bac7aec973f750cbf2d3d -66c1a2578b41c3a200296e85d4d30a1876f8ca5cb941ffb1420e04d8e37149a5 -b8a87b047350912e4861e4aab7d1046d5372797ecea81d187f8e2c117db535dd -8d2b52d4d4074d471d037cdf9eeb13c18ef9ce4949fce00d106ef0880f2db5ed -3d182e9928b2433c94255452170e59e3f4cca3dd29ea2e9b01e94e89da595393 -17c3f5d88ed7f3f62be0e28913357d65916389c1633db8fb62b92e14230d3611 -93788128441c894247bd9ccd6fc8af146c0ee76cdbe4e1c5a8dfa81dd0c338b4 -c7855ac54d2c5767273eec327efe39fdb3bad74121bdd8d2065484268727539e -d1e1f2aca9cfe8c6460f576661190a8008705ef13207c4c7200a2d6b0605f519 -b1843454b0258016558abdbd899319c1fd12d03e0c3d9e882da03de9cb981777 -2834dcb6957b97fdde61b532d151ee4482bface8714fe36cd072b4783765901d -47d61de59879013f64eb78fa8f6c8b906f7d25b8e1c3ca888f32421749c0d042 -855fc59aa873328501ab0b1ce9c60a7d5582662c725605ebe02b64a13e34b3bc -e05939e8ff4ed77a11522dde249a74841c54970d984e0bb6f77ac64f1fa313b0 -078778fed0e382da5d7dd36f585e1f1aa9b92d4caf20b85c0f6dd346de8d3998 -263140810ae46430e19ac1a4a98b6204b63031b282ecb28594bd837268104308 -ed39f65ea0e6cd8fb39bc5d94a1554dfd0002733e01618161d58a7b7dc8be834 -89830272d1fd54040f9329a39c7f491f15eea851095e0bd2d0bb412baeda7445 -c9b63e8ac2e87494f98c9ece5d74f4540090c286166efdaedc6d59a0f623e5f8 -509e6b7dacb70bfa62f3964eba990b9c576fd2485c1040fefc8eab5f07269f4d -8bb7546f64ce1cab770407de791ab25f7bfbac3e071810310ee674c2824e59ac -ac5bf3cad821e7ad8b2ed7bbfbaaa5e7abb30606afd8ed5d6a18a0d0eba343d3 -f7995f433d17bee25f44c918de82eb147b3bfef24045ff8fb17ffedf559e06b7 -2c465ddc53e88894a2279e30b9e6feb064c66b15dcf5a38722f5c92d65a84bab -b0ced82dc52c4f9b1dec098a80a23a4a711f3a8c9c3684f0761b0e8a29ba560a -f8dce75572495bc241288c07246acf7a157d462a9c01d1491618f073e57f47e2 -46d89d780f178334d19e02c41d5af2e265e2190896dce94822b99c19adc3ff6f -968954bafff8e2a118d3aedffc6283b30efddbac0af2245195c2a32a665a5d54 -33f78a8a6adc466fed41020fa799aa537cc1c1bb4e938c06a1baec97f7b3c26c -5f7f49d1c307363de95d450b558275f8d5a6780ee47246268e6729f7733e535a -9f126c6e07ed2744cef5de1f468b2ed1c51a13ec3c8351935b9656458a3dc40f -b8e3d23621cb02bcae060bdf5b6b7db1f024651f98ec63766c20b7883bc033d2 -689c608602d5e5d37a0285eeb5006d97addd7c2b8e006770fad588eff621c971 -17c6f0073c4f92d5eedda57ca2506aa6002695c6b7bf12e4dbf4dd1a7fbceb08 -504472bf96d0a3da1098dacacac48886d1ab92929187de95c7f42eab9907801d -ad3a49ab7ad5b69182301d9ef971feab72f770f4d9f60f6db308ffea746db005 -5cdcb342f26857e8db5ac97a89da6197759adf384ab241a8112795241983238f -4ec9883c8ad72131c79f14e4f1e75042a61100a5bc290fc344ee3c2adc99c143 -375c64eb3361f34b4d89078fa95d082c74bced92436aa3d50031839375d6473e -8a0a36538da941bea6c614b2c038424588d8d2505039f70cbff291d4f0f9f6a1 -a4dd6338174ebeda6a25b88d754fa5b95cad27902eb0bc8321b76db62efb1abc -a644092a1de8e05e17908ce565d55fcf39e30585565d96bf1c13eeb9f3401803 -7697b1435a5bdc094038469fc5268615cbe94641b2165bee62466426ab414c97 -62f249a85b14b477e764e63e9821d3f44dd2c745293f3586eff976266311a39f -eb2c75aa7330a6589d09f58231d1218e4124ba49b7b0c5245a76a5101d136449 -90c096f9852990cf0fcfbd36ffeb577b4d106d66e9c7a18abdc6f7a3b1ddbab1 -327b0e47ba3bc200579ac67ac38968e0df655e2d22ffe3adf238f7ac9029a1de -bdf4ef8fcafbe13b772ca217eef56a316210e71f69cd943433087c68d9a67bb9 -72c955a5adaf9e49d565342b41b36ee5ab9b5a394d003b804e4e361a46bda571 -cbd287d6a6707e2cdc8e63a29f758facbdab375bb252183d3af877dea8d25260 -7aa856fd19741a16ec634b1f653cfd5ac224278652e0b0a2903e274be20a048f -8410cdb01c659f05741fd29469d0dbb0251b4fd8e708abeec4a879047fba7c37 -b5f811baf9c441d04f010f76bcd7eae80c5bb249a40ce37436f0a0296849b8ab -9be38d9ac8a9c30e8a5e86e3ede291b23bb381ee41dc662421e394f6b8b9881e -ef45cac2d6f325a523c40a989f5554e152f8d65cbd22d35824d1f28378658432 -8e3d126f3a316e0ec49741a3ae6215e29c4acaee364272b7087d9b766579e00c -a43ee360b1dc90c573bef4145e1d4557166d7cce6ea1ed33e0cbd909643c3621 -5396745f9645dad55b732efde57de49c2ae40624fee192579014dc2b79d814d5 -b617be050dedb47be64d82dc19e3d84b6799b5bada18944df5417759a85e445e -17d5520a82dd7c945de6a92200d036cd95bb16330f0f95df802d23e90c8e5c2c -b71e5a677801057ec719ae2655732720644bc8f999a8698876c92e4323d4ae0f -80c6a41efdfe452d1ad6f3b0d5eb31b962c332a9bb7e4f7ee6f4aaa18a3b81d4 -32ae8512b486d4523ca7a630556758655a5cff12aa5cfcb8dc5e65b21a257f4a -0f14c68ffe8c26e9d2ecdd5ea8027b6549b3e8742023ffbdc7547227cc27ec2c -85dff510ebd3f1fa617a2273ed67ef5abe4774cfe95657fe380e75b25090664d -7a852eb3b59ad350c9d47adf1ce0812d06866cca8e1f2c65c893e7952a62eea4 -49cfe8b6302a2d45b866a26c4940d777df4f588ebe1bafeb275a8a03a1eeb0aa -e6e49ebcd83acd3a9ec0b100e26c4d82388eb9378ecfcbf967a31c4951ad0c01 -9edf4d38cdd6e73e857f1ec91132499e7f930d2cdee6b3583a8f062ff7e9d848 -768dbebcd6aa66337810b7457964c63322904e9242229e5d98b808799f7f4cd4 -867a5ab42d15f9843d67438db495a8a581eddd39c3753f3d203225b60eaa9a3e -d7acd8d042b8c6802f6d9262055a6e296f3254674745f18cd1b21244e1acb9f0 -fe781c4d49e73ca9f82389b6d58f3def857cffe624acfb6a2a5a8e9559623f37 -96fb72ddb440bb1f00dbafc97768f9890effcc172fcc395de4f2a19318c46c86 -b63555a77fefcadecfa88a770e70f1d51d46ae68fc672ad4770804495eb1b867 -161d1a609fdeb2fa425761bf0b751dfd25e7a0a02995920921f99f63331b76d9 -c80931a1263d7f192937eea3e453006b19525ed981314ec3fd561d256e8e135d -a3b6ba9a5cba6071a99b1a43454053bfc3e6d1338ccf0063d5d71247a6b57566 -7d057dc07ed5a7c11590262a0a18c8cd614a029ca12fe08bfedc87307b5f65b9 -0b7744d3394c04618e6376cd450cc3fc81586493ab5081a9b3b155938d98563c -e8d1ea7154ec53c175761311295f69037865db32ec22976b6ddb981d226760ad -40aa287bdf661317439fa5ffa77cc9fa9ca3df504aae74b0ba83b2fbebbaac83 -ee2e8fb7206e2e8fdae91afcc3e903d534b304069f232c68f53407cfc6d0bbae -b940c011eaef2b772ba03659581d525e0b6148f9c59cb7120db55ce18bf6d695 -9574545ba02bd75bb1dcf038884bf9d7892bc017215308f01ebba7932c014a62 -da685c53ddf810225507141759e3c74ffeaa1c5eecbe150386a83027e7014077 -5c0769369e4fb9f9d9e599612923554fb2f1e6d87eaeed283f6106845b66b532 -19056a3d33ebe1b84a100c27fc72d0265ceeb9c573d7942a4d44983238d34ea7 -8a5e6e6cae30d4283fd70af96d9c53d8ea45ca48892d313981fe208b1384f0dc -880992dadfeccb31f289522214209eb87f41fea5fd3155ab274e9a6fdc6f9f64 -ea7a2b0e780fc6dc8843643a2bc18a17226a1bb3d9e1467cf0be2201decce2c7 -2077395cd7562dd5e9965ea620cedf32c805f50f748c4ee6e82af960c5ce2d66 -2dbdc632baa5d0831808518beb80e3737de5bbec3dd0438e75dd30b2ea7fbb90 -ced4cf34982e0abbef40e876659544c4ed01f1975351490984aaa429fef321b0 -69339b4534eecca329ef2af397ede2a882d7e315a871dd2b781b8e0f4277ee66 -79cfbb9b52e573e22cd3427ec258d69e2d19fd27de15df96ca9006ccebe7b58e -1203d54626871bccfa8abb8bbd740b9af3c7266bc8490a210074d7f2b0806ae8 -0c15140d3b5e4b180b0b1517a51fa08f82458c02185ef2bc59fae37543ef9011 -ab71b18daceecc7c8fde7cf5f77eacf118262d760bcd383dd7bfa2170895d518 -fa3174d3432fe38241a34a8387811b54c3d0f183468cef5cd6d3fb325b270b66 -c13fd9ed22d33aa45f73748782e4dbb835d180dc0662e160c0a6c445c76f0c72 -b88a842dc14c41c2b5bd74e48fdd2bd0d43cfeea1eb9b154bebfc4f03d8a102d -45ba1056e49828a0385b0b5f9e4933905973f15b2713fee1c1755e2a7a3e8d79 -a0d7d4fda9435ef292b761aed2c9fea576519437a824e96150a4324dcc757605 -7906439843a1c1758c232182eaa66d5e6bd5ad2fbc0157fdc5438e1038966dc4 -35e5a6c17906646cf15c2bed4884129b5134eb2b411400e4d8797126f51a4cb7 -d19ddbd98476519a07cd8917b95eb609e5b50e8088ad68cd7426e8139d5bffc2 -cafea6a1183ca8934867692684194ce9903b375a8036c4c5deb8fb379c3423cb -7e4734ce7e22a515bfe60e296640dec121a089f75034240408fe7be2ed9e5c87 -b09436c29cc3823c434a4689bb67a73a49164bd23ab40c4e04ed99320fd138d2 -d6752f5e2738cbaa2e154b749216babc990297af411dfa2b66c9f942480ff4b9 -0f0cc4994a2a88f58cc38afdf61ff43952473c437d235cec426139c8f43ffb5a -eb9dd875ecf9ec930b1482b8a50c337d48b31590f99cdfb80bbdd160ad4fb49b -ec7435c1c8e3eb1de2871cdc797bff6969b863e5b9fb005b3a7af4ff96680c63 -e5afd502015d80bb43ab7f92f138b35ce5fafa980c5fba78412ffcfa281f9d8d -14e7975021e84497b4daf367f6861c79820308883c4e1254c038a7458a3f2913 -bcefd79629a6d7a8afbf0c8ccfc2c5889f627989e71c3a212d900e3015e460fa -74661206cb19ec00619e1fcdcae443486adfa69a564672c9ee9f48f8ea35d5b2 -341bf4dff841088f3b902c2471b67b49498bda5c045e9befd58af93ade0a8df8 -e5239ecec9ea7737f614ebab502df1248c0a9a0183fc70441fd9ac88040846ce -58e09b4047770bc998b86a4191b7a11eec6fc65bd5e5d0fb6f30d4b7ee0cd683 -9e01666f3284aec585338d0b452aa1712b9d1392c4a265a2ecfc9dc4cadd002b -33aa52b6be6991965ae18124232f108ec7b400528e848e5d8a8d7cf75783ee19 -f854ce37a0821dee06b616d2e86383271c91e09328f884dfef2107712d267601 -a58035c4921e7114b97fde8d4cf04224971d49fc6b23ed5d61a29e133684c809 -4d8963b832c44bab059a206f162890fff4eafd71e535a03609a67fe3c31de9e3 -6ebf98b52fc3c4e77257d176b47d10729baeec4066a9bc78a89d7d02af7ab2cf -366cd811c075198d1749db7075c4c333b6f347b64e44b3744ef28a3957a0feb1 -712157d7d59011c4bf1ee690217f4b0f855816e9bbee6b6aff277b9645340c9a -1dc0a697f2a7c1da301b256e6822879f212beb56fbc7fe1b8e877ccd964c132a -6fb0514a46f06be4bc3798ae82fa6cf14103926f1969b3d70910a9c5d9589e58 -9731a6c8ef6c4d601781f231e5b17c0a5194495d5b01b27aefbb4cd857c0c7d1 -b18a49b7c4114fb94d16ffdce1e1677e6bde99bba443936af10cbedca6eeaf2a -ce197d61ddae42c8b8447aa698b3e7e5d51d9f0cd2034bc64f1a9d1b2b18e3cd -7d9a3aebb470990abb92303f0c2ce5d6c38f9a2198d8f1ae8ab7fbbbf007cc7d -e52d8c79b31f45d4894e0948089da5fc236d33dd79a80d2304043e8c234cf88c -b1870cae9e54cbe8ddd74782c98f6c9ec6eeb835e2765252530d71779685d4ea -69850fe71261572f61d56863a7dc12aeda7931225d0eafb5b7b45aef7b6c8586 -18fdfb38e4f516734cef5de8cba84a54a17cdaf13228621dfcd806c5e822eccd -9db6e6591134181c2c19bbc57f24e11ea161165cde584e1f58c4df2fb5ee8c88 -86eafcaf23edfef66753d664eaa7813b5a16d1abc01a95f74ae88a02e42cadfb -7be29e433c7e17875c71eea08d10ada5a17eea25ead94d41cb1711e8fd204c06 -c1f98aac0cfc98f30c3fa13fb8011b2a1d553e6c03edb8e2a35f47574237fc64 -981571f9393463f49cd5352c024a8998d7b139bc8aec7a512101edb18a7e0954 -8628162a5c9d34c94e60027175f819e98a356832a3d3898a7f11b95e171e2a73 -1c4530860ec79ab73b141a7e64b0de775192a002fa2f3832b6c24972797d5161 -d97097c16c4d0cf169e61cde78e807cd318b8938992066bfe4e266e14146fbba -3a18179cf693d234a8aa913b7362505533b414d60bf7eaf02427157759defaba -8ee61f98cea2659f5ab9d8ec444de3b3e843ab02baa7806e96230a64dee93774 -bc69420ce99aa58de5d5c9ae32c3528b02546347e8f85dca651187142bc2a40b -79b2d4da202168d2c6f7dbff6dba414f71e405731a287a23b58af903f9b1c770 -068c65431e6010461cd77e3d2859fbc978857d1195dc1506ab1b5c9344e1099f -918a1d14de8c5fa363fb3137cf5014020646a1a2235f78ef3ed0d034c74f5761 -ef88b649d012178186dcf0244835232b5b7392e0c1f8f141f5107e9ead559e74 -326f14fc54954b73d704935b213dc797311f7c8fcd88c238c8ab767286dc3f94 -0087e37129b9a2d58b0987a218a3c1be67cb1e08142cbcf889aa617ca3e4640d -93294033c9de9361a3c6cc0df539e2e459f6d2babbbc0623859e18af0d0ccf4e -49640215294d9263bc464538c3c29e42edea637d1427c2f04ebcd828d6fcb480 -ce5cfa5b3b0485805cf5bcc8c24594a6b6fec9249698d317ce20bc84d857eafe -c9ac43870e02c7b36bb1e7ba3ce2e234507c0076f8a77494f268777edf5ebffc -30eb195e3aad4c288af76c66e26c6096f5f7de1b56b43d638ab7119d73cfd214 -338225e3b94025d2b327d72ed3d763a66856e1d1ebcb632bc4d8752000ad9966 -69b6cc0729b2d2877d46a08f3c251ae18f043949a33797c3027668b23c969d68 -3d35c10650a2da8413a2a11b8e7fb891af5da3a9763584caa6cd71bbe68de6ba -baf3bcf323f3e5b91649eeb5f1be977a8bd91915a66297a22fdb1a906d1a7e53 -7fd9b3abc4684e6f8ee591bbac5a36c5060bb09ef7899690416e5300cc14fcd3 -429e454c0cd5d874d7887f8f8def3390a6e54af783c102af6bc3c75c62f3661f -0987d19048e10b925bcf394dfffcf259fc1a15e403673a80bfd4e7fd4f43cef0 -fc774a081d9c93d52bb6a8d99a06ccd7bf32a10154d302524b8c5c5dc1b2969f -6c6afa35f1aad6301dfde6c4ababe2da47d92033a9a41e84ca6f00e5eb29bc60 -1e858dd15069f54478023c4d8518cd5aa814fb15c9eb8df45c44efbb050587ed -5d73820315ebd00f0e419a7fe418ff109664add82a68387daffff4239a2c1b23 -f7f4721be31524d014bacf105b06bacc4bdb953bc04d5a048e1fd4ddc395667e -426cbfa5a10024c4f5deae9146222146c2d75a5bf13e8215c04d7dd17f455743 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0000.dat b/src/node_modules/crypto-browserify/test/vectors/byte0000.dat deleted file mode 100755 index e69de29..0000000 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0001.dat b/src/node_modules/crypto-browserify/test/vectors/byte0001.dat deleted file mode 100755 index 6f4f765..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0001.dat +++ /dev/null @@ -1 +0,0 @@ -$ \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0002.dat b/src/node_modules/crypto-browserify/test/vectors/byte0002.dat deleted file mode 100755 index 26136c5..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0002.dat +++ /dev/null @@ -1 +0,0 @@ -p \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0003.dat b/src/node_modules/crypto-browserify/test/vectors/byte0003.dat deleted file mode 100755 index d3b1468..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0003.dat +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0004.dat b/src/node_modules/crypto-browserify/test/vectors/byte0004.dat deleted file mode 100755 index f00c578..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0004.dat +++ /dev/null @@ -1 +0,0 @@ -8x \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0005.dat b/src/node_modules/crypto-browserify/test/vectors/byte0005.dat deleted file mode 100755 index 9b3ac32..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0005.dat +++ /dev/null @@ -1 +0,0 @@ -> \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0006.dat b/src/node_modules/crypto-browserify/test/vectors/byte0006.dat deleted file mode 100755 index 611a56b..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0006.dat +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0007.dat b/src/node_modules/crypto-browserify/test/vectors/byte0007.dat deleted file mode 100755 index 0af0f7a..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0007.dat +++ /dev/null @@ -1 +0,0 @@ -q \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0008.dat b/src/node_modules/crypto-browserify/test/vectors/byte0008.dat deleted file mode 100755 index 90e3f79..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0008.dat +++ /dev/null @@ -1 +0,0 @@ -|`< \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0009.dat b/src/node_modules/crypto-browserify/test/vectors/byte0009.dat deleted file mode 100755 index 6012eb5..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0009.dat +++ /dev/null @@ -1 +0,0 @@ -?` \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0010.dat b/src/node_modules/crypto-browserify/test/vectors/byte0010.dat deleted file mode 100755 index ebe52630c8dde36f510b471c69d19443ac0b89f7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10 ScmbP#{D=I($H$M`GXMZ2yan$7 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0011.dat b/src/node_modules/crypto-browserify/test/vectors/byte0011.dat deleted file mode 100755 index bc046e158990bfb62680d518d7fe4a19edb5900d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11 ScmZRm-+%wWKc+f{AN2qtRRz-k diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0012.dat b/src/node_modules/crypto-browserify/test/vectors/byte0012.dat deleted file mode 100755 index 3464653..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0012.dat +++ /dev/null @@ -1 +0,0 @@ -0 \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0013.dat b/src/node_modules/crypto-browserify/test/vectors/byte0013.dat deleted file mode 100755 index 648b68f..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0013.dat +++ /dev/null @@ -1 +0,0 @@ -A \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0014.dat b/src/node_modules/crypto-browserify/test/vectors/byte0014.dat deleted file mode 100755 index b19f410..0000000 --- a/src/node_modules/crypto-browserify/test/vectors/byte0014.dat +++ /dev/null @@ -1 +0,0 @@ -G`0< \ No newline at end of file diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0015.dat b/src/node_modules/crypto-browserify/test/vectors/byte0015.dat deleted file mode 100755 index 1e4de6c147e0adf8399e1d77b2fcefbfdba5e93c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15 WcmZp$Z?XG-z@DF>{($`RKMVjhqz2Fc diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0016.dat b/src/node_modules/crypto-browserify/test/vectors/byte0016.dat deleted file mode 100755 index 7c4618363426e188afd40230ae39b42d1e1f4697..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16 XcmezWpq{a@@qgog20I3Y`UZXgO05S? diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0017.dat b/src/node_modules/crypto-browserify/test/vectors/byte0017.dat deleted file mode 100755 index 5b4570382eb6a0a55b8e1dff42c098f1ec63a742..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17 ZcmZRuV2LM4K2`m5r diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0018.dat b/src/node_modules/crypto-browserify/test/vectors/byte0018.dat deleted file mode 100755 index 47c17ed443dd0eef0162ae4442cf28aea68d69b7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18 acmb<_e?YG0{{#7d4Dug1{vW9SzyJVaEeZ+% diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0019.dat b/src/node_modules/crypto-browserify/test/vectors/byte0019.dat deleted file mode 100755 index 4ed952ace3454a17ac8512cf8337c17e58e96a5e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19 bcmaFB-@wkp`2PX(2mK%R?-?o>|1kgnQ2+=c diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0020.dat b/src/node_modules/crypto-browserify/test/vectors/byte0020.dat deleted file mode 100755 index a7387d70212a852429e82c7554da6e91b128f92d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20 ccmaFPAi(fLg8##RhW`!rhyQ)x|HJqn0AaQYfB*mh diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0021.dat b/src/node_modules/crypto-browserify/test/vectors/byte0021.dat deleted file mode 100755 index a330c33d2f2b29e5a6a2aa5205851966f0987a85..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21 dcmZRO|H1!<;Saw^?w-T|1kgnhR+Hc diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0024.dat b/src/node_modules/crypto-browserify/test/vectors/byte0024.dat deleted file mode 100755 index 37ab0ba8597eeefad9bfe1b6b8cd1e67ab7cb77b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24 gcmcC#Z+O7|fZw6ev82Ep%|6%z5hXDYtTnr!p diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0027.dat b/src/node_modules/crypto-browserify/test/vectors/byte0027.dat deleted file mode 100755 index b068ef30a9ff528e6b853fdc31e2890f30404330..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 27 jcmZSJ|6zY1fua7#e+K3cHtYxLAK3q3WT<2Qe}Dl1p_mJ* diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0028.dat b/src/node_modules/crypto-browserify/test/vectors/byte0028.dat deleted file mode 100755 index 98bc2d9fb11935124cb239f3aaf56eda2322f1c6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28 kcmZSJ|G~^4|DS>XAA>yu^Zy6z2mUkI)PG?7|HJ-20E>JJ{r~^~ diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0029.dat b/src/node_modules/crypto-browserify/test/vectors/byte0029.dat deleted file mode 100755 index 97bfc3d26b0629ed401752421bd8067d960f87a1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 29 lcmZQzeDFa29|Q9r2LAsK`2RETG1ULz|Hn|lVE>=tKLD_73?%>n diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0030.dat b/src/node_modules/crypto-browserify/test/vectors/byte0030.dat deleted file mode 100755 index 25f09c046a5f98db79ae82f89230ae3eb11af853..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 30 ocmV+(0O9|DLI1=403HAj|KR_C58wcQ_x}O@0sr6s00IBt0QhPUE&u=k diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0031.dat b/src/node_modules/crypto-browserify/test/vectors/byte0031.dat deleted file mode 100755 index 988f3aceab93215e177bf5ea1ce082c2b13c68c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 31 ncmeyt&hY<0{XPc%{|wBJKm7l|Am8}Ef&YJl0`mvvhW~#6`5+Jt diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0032.dat b/src/node_modules/crypto-browserify/test/vectors/byte0032.dat deleted file mode 100755 index f31fdcb07327f91ae94f9f639957bc9ab658dfc2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32 ncmZRuP++M4!1({)`G4&H4=~jKkY`{xz;J;7za2l2XkY*U>YWZ4 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0033.dat b/src/node_modules/crypto-browserify/test/vectors/byte0033.dat deleted file mode 100755 index 396509b36f43bf87bcb901d7c5b3c6c3b873ce0c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33 pcmb3D!T$dT^8?2Jf9!uSSjaQj-(ft!^8Y^r{~rz}2F4He{{aZp4y6D9 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0034.dat b/src/node_modules/crypto-browserify/test/vectors/byte0034.dat deleted file mode 100755 index 55c11cbf7262028e4b49fbcbb89c1328a074b080..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 34 pcmZo*Z)0Ho|A4{%2Lpct{||m3Q@(+r{>K6S{~u~t*#9#y008h54g~-J diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0035.dat b/src/node_modules/crypto-browserify/test/vectors/byte0035.dat deleted file mode 100755 index cedccf77da8fce9db422c99ea5f5fc0ef99f89dc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 35 rcmZSl&mdvP&%plw0K*6Qf9wqj{684%|5?Z%V6boe|404-gZ+O1=D-ef diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0036.dat b/src/node_modules/crypto-browserify/test/vectors/byte0036.dat deleted file mode 100755 index f597deb279cff0381a0d2183922399cefc336398..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 36 scmexh|Nj6({Ram7|NIZw`Tx{0|NroZfBpgc|L6ZRFaV{VGyeYp0BLg+ApigX diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0037.dat b/src/node_modules/crypto-browserify/test/vectors/byte0037.dat deleted file mode 100755 index 6bcc7ebd4c052ac0771f2aa4c2e4cc79401ec18b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 37 vcmV+=0NVcm0snv?0Ds^Beh2^f$N2y75B>lE;1A#cAODB{00Hm-f5HF%OVbkB diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0038.dat b/src/node_modules/crypto-browserify/test/vectors/byte0038.dat deleted file mode 100755 index 48e731d1b7f924137bfea46da957700f714b1c91..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 38 wcmV+>0NMWl0Du3$0sejg|Nj5*fB(<;2mSyL|G)?T`~W@x2mAnkzz2X2|Cgc@*Z=?k diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0039.dat b/src/node_modules/crypto-browserify/test/vectors/byte0039.dat deleted file mode 100755 index 5ebdf8c6988241556bf98b27281dd00c749fde5b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 39 tcmezWpZP!gkN^K080!E1|Hr`m|A+j4dmv_z|IdG*{sZIx2S64B0|4Ry6~6!g diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0040.dat b/src/node_modules/crypto-browserify/test/vectors/byte0040.dat deleted file mode 100755 index 4ee0307884f5c04b5b3a7cdfb06c26a96f23dcf6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 40 ycmV+@0N4Nj{{R60`~U+F|L_6$01x5+{{!GZAOC;=d;kIezyW{$01gNL;Q#-cSQJhG diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0041.dat b/src/node_modules/crypto-browserify/test/vectors/byte0041.dat deleted file mode 100755 index 1f7c8259b0b275cb0190a21c6ade7c22f116f06a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 41 wcmX@WVE>Q#4-W$ibnEyX8VEoU(U?a!a0Hhu4|1sGAZ>VAX-@s5009xk|aR2}S diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0042.dat b/src/node_modules/crypto-browserify/test/vectors/byte0042.dat deleted file mode 100755 index 9c9044f9c048850aaddf8b78ed4eb7c77fe28877..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 42 zcmV+_0M-9Lpa2j5f&ah{@PGIK55NF_-~r$O1pfdZ{s000fCvBn06+i01OI>kKb_YT A761SM diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0043.dat b/src/node_modules/crypto-browserify/test/vectors/byte0043.dat deleted file mode 100755 index 572186163d02e67472a69f694e75fd0cb19cb27c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 43 zcmew$|DW-H!~X*f>>n7I|2Hs5F#i9;@c$3<|Njj22bljK|9^n_15nuh9|Hpb0`(Tn diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0044.dat b/src/node_modules/crypto-browserify/test/vectors/byte0044.dat deleted file mode 100755 index 963f6a806db5e7a99bd229dca7f5c6a454f40906..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 44 zcmV+{0Mq{m@xTAz0C)fg-~fOF@IUte05|~t0Qe97004kL|H1$K0RR7w@BknG@DKmQ C-WBZt diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0045.dat b/src/node_modules/crypto-browserify/test/vectors/byte0045.dat deleted file mode 100755 index 8bd9b41a582449ee1731fffee92450dc1f84d425..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 45 zcmZROVPOCNhat}XKLdl!|NjT<|2IA;V37aAzzh_q|9?QfhyVYF{|)R91Q`GS2LQYd B6+Hj| diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0046.dat b/src/node_modules/crypto-browserify/test/vectors/byte0046.dat deleted file mode 100755 index 47ecdd2ee905719c00de330be6b9aa78e4748958..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 46 zcmX@W!2Z9X{(l2wgZ=;W2mUeqKOp~y@&6Bo|Nr>^e_&%^IAH(3q2m7^1|ScJ0am*i AVE_OC diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0047.dat b/src/node_modules/crypto-browserify/test/vectors/byte0047.dat deleted file mode 100755 index 9d1116f69fa516b4b48d8ef29c6c3d2abab02f59..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 47 zcmV~$u?+wr3xh` diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0048.dat b/src/node_modules/crypto-browserify/test/vectors/byte0048.dat deleted file mode 100755 index 13f3bd74b5b4d298fc57f12d6ca8de77fb4afa1a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 48 zcmV-00MGxx_y7a`06+im00aCF|9}AF|M)-t0048~|NIC4!~gyR003|R1ONCB|KI>0 G|M&oE9vKk; diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0049.dat b/src/node_modules/crypto-browserify/test/vectors/byte0049.dat deleted file mode 100755 index 5d6a89dbc5bd2c7c911f6d65ff9d1bb1f99cada8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 49 zcmezWf&cjbKMeN&7#QsTH`q4-$pZ`pjQxU=AM@V^`~MFZ4}!S-{}=#^ Ci5c_& diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0050.dat b/src/node_modules/crypto-browserify/test/vectors/byte0050.dat deleted file mode 100755 index 1dcf3abc55cc35721d11d961ac7eab050ffe2663..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 50 zcmV-20L}mZ`~U<0@DKO^2j7qX_y7U_{s4dg|9~Ix00A5T06+KuKmYIl{sF^)fC2yi IzyJsT|9}7)a{vGU diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0051.dat b/src/node_modules/crypto-browserify/test/vectors/byte0051.dat deleted file mode 100755 index f9c54997159994354805eb5ad8fce080428f456e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 51 zcmWm3u@wLi3`NnONis@CqqA0QVhak#Lv@P_X>@3ykbKLio{scnl@-5-WlYYNf(r-T B9q|AF diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0052.dat b/src/node_modules/crypto-browserify/test/vectors/byte0052.dat deleted file mode 100755 index 31af0d4cde291e26b1c87f94adf8fd72347ca4b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 52 zcmZSh-}wIl^AA1-hW|h0|NjG04Gir6e=z=kz`*~3@gIZzhx!K$_5UBp|NjFNV+2Y5 F2LQz$8$$p9 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0053.dat b/src/node_modules/crypto-browserify/test/vectors/byte0053.dat deleted file mode 100755 index 79876b8d8566b1a7b54998033f0d2695f20d2573..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53 zcmWN`F%1A93`N18AfOVEQfo+K!$xty*n#lqcFD;&Qdmkb8XG)~73#=eZPP4YC!Fl3 FJU{0E9H;;Q diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0054.dat b/src/node_modules/crypto-browserify/test/vectors/byte0054.dat deleted file mode 100755 index 89373a1cb24321270061736038b9ed662840a4eb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 54 zcmWN`F%f_;5CFmZp`gP;Y|us8hk0X>f&>I)IM{Y$&_at?u%_wZ4a-_QV{y}k5xG`#v4jzySgY+}+xnErX2Gurz0Egc1lpU^v}$iDa@X)Uj!ANrv8pGwk5&IQ}om Kb*{QtG#@@m%^jlv diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0058.dat b/src/node_modules/crypto-browserify/test/vectors/byte0058.dat deleted file mode 100755 index 011f9fc10e3f6d3b107ab4b85933496af53be6ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 58 zcmWl{u?>JQ3;@BGC@3=mqj)nSs*J%ZjN%c}(O7xJ=?Ic$bqh{#9h1Lf5>InTT>6@3 K+_KYabHWEO;vFdf diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0059.dat b/src/node_modules/crypto-browserify/test/vectors/byte0059.dat deleted file mode 100755 index 372e4610303803057f838714a2f33e0a9efec2b1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 59 zcmWN`u?@f=3;@AL6e-y#jAllQltmc9B}K%C_HK65aZ{bNkIMxyXsZ||-5qCq74npa IlJZpj0hvV};{X5v diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0060.dat b/src/node_modules/crypto-browserify/test/vectors/byte0060.dat deleted file mode 100755 index 48cce5b3605ab2967ec6b100e105ad46141213cd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 60 zcmWm4F%f_;5CFl;q)3T`mx46n1S>c|0+En14Sx(JQ5Wql76kjsJZvtzjWYkQ6kZ6#IVxH1I($`6Nfx>!MHP~SHA@yJ>2v2hS Jl7_QZhYxkp93B7w diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0062.dat b/src/node_modules/crypto-browserify/test/vectors/byte0062.dat deleted file mode 100755 index 039ee6a5571b2707eb2e3a62cd105f982db03df7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 62 zcmWN`u?>JA5Qfp;T!MD80c+SX+BuqISTX{oCMTa1uX=KZRKtiu_uIO@IJ7CNCHcIa QQ`H#o@@OR%E*Z4x2d=#!82|tP diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0063.dat b/src/node_modules/crypto-browserify/test/vectors/byte0063.dat deleted file mode 100755 index a7f3d9c8cc6417f16cba08e9fd1f89cf69edef56..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 63 zcmezWf&c%11~!KO|39$*f55`P%)r3>0Vu-!|M&mHAhG|)8R{E=+#d|`5C8v2{=;B@ PU_Ow;Q2$^4{~rbbQf?x} diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0064.dat b/src/node_modules/crypto-browserify/test/vectors/byte0064.dat deleted file mode 100755 index 5f46b83eb162a4181978e162f03525b2ade17914..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 64 zcmWN{K@os33^a)a8>V$gS Pw$P9Y-->z)TRr{*LA4yK diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0065.dat b/src/node_modules/crypto-browserify/test/vectors/byte0065.dat deleted file mode 100755 index 1bf5eda5faea553b2e2d2d427e15ae0840d4b785..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 65 zcmZQz{KvrD{Q3X?2KN7d?En8^{@=jB#=ua)zz!1n!}tTlIKW^5r2g6e|6%|Cy!{`B Q`u_~_Ky?Pp|Nk=p00> diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0068.dat b/src/node_modules/crypto-browserify/test/vectors/byte0068.dat deleted file mode 100755 index 2c6732633ec6c19c70e7e33d1412e54a01ddaa79..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmezWkHP+c{QnR2KNuMQ|B(OxkAdO;{~rwX{~PT8{|8b(7M`2W>0*gue{2TEEn SFxZ0>G5`7h@E=$?`+or5x*_`j diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0069.dat b/src/node_modules/crypto-browserify/test/vectors/byte0069.dat deleted file mode 100755 index 5609f91cc2a51be997d414f038faf7463a6f47fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 69 zcmWm4u?@f=5JSJQ3j?XNO^jfu1m=(1v^MDhbNSP(}ziY UYm{gDqOgW_DQDbJ|Ep$)4o QKZwNEA=4SYxgExUAJT{-YybcN diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0073.dat b/src/node_modules/crypto-browserify/test/vectors/byte0073.dat deleted file mode 100755 index 2a7b1700bbfb2b9790c09875e29bc2fe769d4e12..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 73 zcmWlP!3lsc6vdt*zM~^_l#V7&;wp~P5emI{C_jEL34}nHM|-`y=`{*mWLOp2WNCqr SoG58%ev?ym{M$*>!8Cl8&?kcc diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0074.dat b/src/node_modules/crypto-browserify/test/vectors/byte0074.dat deleted file mode 100755 index 516f7e242e607ab26d3a6d596b0591a4f05ea99c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 74 zcmWlQF$#b%5WoT*ZuAHG6d&cT{;A-i?CM;xWL~n!IP3N?L Vs2@l-Tk4dZRf=(F_!V*uihkP_B;x=8 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0076.dat b/src/node_modules/crypto-browserify/test/vectors/byte0076.dat deleted file mode 100755 index c311f8908f4a8b969def5617b3c11948ef5bc262..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 76 zcmWm5u@QhE6a>+A3bnm7LMU686_jwi#Zd7<2n9di*-IUjRIN-efAo?e{JV! UW_`VUdK(K^8f$< diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0079.dat b/src/node_modules/crypto-browserify/test/vectors/byte0079.dat deleted file mode 100755 index bb83930f1f4724666d2feca18b66eed0c67dc5ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 79 zcmWlPu@QhU48%T1;SNS%1vbcNPDckTWh9p=d?!q&lLR3dDZfFIGo7I==#0zYe9AE! VY3t9a9xAfBcOCV5#dpaX@Bv=*CkX%m diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0080.dat b/src/node_modules/crypto-browserify/test/vectors/byte0080.dat deleted file mode 100755 index cd8620bb1562e7e415b0106f7970710a88870913..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 80 zcmWNJp%K6^48-17P?#0EiAQrb=_(y1BLo`stQZJLKupI=0$$QdX*5?UKm%hB))V|# U>Sigj^OR!A)2iEUfltJQ5Ca{hNXY_7VUw&y2csb|04rpKlwSacMPr?9*$;=7^s0q2QVy;YZX1i% b#z^!DSH%g068q26Y^H=%VaO*Nqk8oLVje3} diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0085.dat b/src/node_modules/crypto-browserify/test/vectors/byte0085.dat deleted file mode 100755 index e2f3c4b2ad50229c23536f2bcdf2eddf4827d720..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 85 zcmW-Xu?>JQ5X2l&Q2q#E6Gj7x#WG4pprnW}ABvN#vw>Y$bwKIiHHzMmUkY2*&h|4n TmUPtFCbi>4C1OVS;g0WFYNfZux%#?#kMb~4OZ6rm>g)}#P!Nc}Ob d+$J|AT~or}fYfSm${uOU3^z*!4p;m6_b>EPEd>Ao diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0087.dat b/src/node_modules/crypto-browserify/test/vectors/byte0087.dat deleted file mode 100755 index c289f0d871a1e8194230a886d4b64e0da1d094a4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 87 zcmWm5u?>JQ5JS-)QDg-QMAo2VB{sN>!YGMYBpoG`DI%Gpv#n=LjUZjhVH&{j((Qi1 g$}Sa1$}Solu$X#s7M~_nd2+5Zij{xgnEhe;0ATzmy8r+H diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0088.dat b/src/node_modules/crypto-browserify/test/vectors/byte0088.dat deleted file mode 100755 index 839cc69567d94bf0372a66019c4857b6114b6518..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 88 zcmW-Y!3}^Q6vdj5$dM5kh0%00MsWm>m=Nm6+k0tCaX^*{$r;NVoJAd>iX2EdT%j diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0089.dat b/src/node_modules/crypto-browserify/test/vectors/byte0089.dat deleted file mode 100755 index 990cc8ea0f8265ce1b9ac39886de54eccf84455c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 89 zcmWlRu?>JQ5X6jV=rRJMWGDt8h{ZAr5(AJ93Ka7cZq6s$m`Intu-bwL-Skj_!f46A aovq0p)6(XSHA{B44|;2X9G}x@q<{~!hcGYz diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0090.dat b/src/node_modules/crypto-browserify/test/vectors/byte0090.dat deleted file mode 100755 index 689939ccbb6f9529e98e33070270580a20603f77..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 90 zcmWlR%L#xm5JX?_kYg-BuoTe1Xi X;8ia=JQ5Cbowpk#zB!eA7U2%BY;j6fNh93ROi%a-NbDY@;2oScAGB9Mm-A5-+# a?MteVUA%#Pt;6ePPx?8az+4ZpI`jt#x-9en diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0093.dat b/src/node_modules/crypto-browserify/test/vectors/byte0093.dat deleted file mode 100755 index 0c4a5ebeecb292ca036b5a38931fd4606dccd7f7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 93 zcmW-Zu?c`c6vZM}*oZfhqj{USisB-I3s_owj9;q8%L-Q#T8~fa{5Ed bqT8C-UBi64pa#E`G^!7jHkmQKKeNFL$;2?H diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0094.dat b/src/node_modules/crypto-browserify/test/vectors/byte0094.dat deleted file mode 100755 index 650f3d0088d4902feb9fab56cd83eab4dd4e65aa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 94 zcmWlR!3}^g3111+S|KfqWJ0BEe&R^tmS);W Z>w+Ue6o$osjY%(fpo*(;>A@&@#|QhAELQ*k diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0096.dat b/src/node_modules/crypto-browserify/test/vectors/byte0096.dat deleted file mode 100755 index d200428cffeba92c29a6f81cb97f6b7cabb8b7d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 96 zcmWNJy%B&Q6od25f|3zf!;aB(G&~n!1Ue`@KGP(Z-z{Aeqzpai(qUjLm@K=JP9;|2 bQ-SJQ5X26BkrE~#qc9plES6E|Xj7($Fqh_avh0VZvnIHxTEJJCFRE4;3X|I` dHRB>3@FMGDYF*Lfnc)dPn!P2LebYYMq90T{G&ukO diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0098.dat b/src/node_modules/crypto-browserify/test/vectors/byte0098.dat deleted file mode 100755 index 33d8657b875e4e43ca33fb5a48df9487fdc67449..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 98 zcmW-Z!3}^Q5CoTyh+S9;rHPf;3U=i49>j6sv&m*Mqr@lagjYIf1!zi)47brPZRQtr am5`|)gsP{;QoHTW>?8wao*By}R{IBF=rHpD diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0099.dat b/src/node_modules/crypto-browserify/test/vectors/byte0099.dat deleted file mode 100755 index 4a3331583c7eacec0dcac80ee11e7ce3081e3344..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 99 zcmW-Xu?>VU0K|;Gpv(xF;X683VgU4F16Il=Kt&sgh9bhB(A>#)zM<2FpsPfK3AEH9 kGr`z+h99BOo`vR?0X~^;j+%PiYhTYRB;x6zTcv1?Klr~ctN;K2 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0100.dat b/src/node_modules/crypto-browserify/test/vectors/byte0100.dat deleted file mode 100755 index 12b6aa46f40d87fddf88a8c7ac067dfdd217111e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 100 zcmW;Du?>JQ3`EgGDJZ=FQbzGAjKBtj%{&StP^O6ZI5gMX`wm^wE`xgoB!{O$(;+SS gId5+5BP^{G^DDD+hGZ8}h^$&k$<*7Qr8o)c1JAZG-v9sr diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0101.dat b/src/node_modules/crypto-browserify/test/vectors/byte0101.dat deleted file mode 100755 index 620966b19d6b1cbd473837dab296713810322dfc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 101 zcmWlRu@S%^3s(5=nrzAXQgI(^&^7X*&|@N!oCkC86R diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0102.dat b/src/node_modules/crypto-browserify/test/vectors/byte0102.dat deleted file mode 100755 index 12de2a596d33417dd16105e1a9c92ea6f3f33c2f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 102 zcmW-Zxe>rH48y2Pk_sDROT)ZBBvw?aD!(`mDAvYX%Q08CC^wPtY=Qh e2^iA;N;=Y6^R%qmnoFeTqn_=joXMS6CFKuCE<4Wv diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0103.dat b/src/node_modules/crypto-browserify/test/vectors/byte0103.dat deleted file mode 100755 index f1f74fbe1b4435765327878da1374cf02dc02f54..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 103 zcmW-Zu?@f=5CacU{0iwy`YED}0+TF}eT% diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0104.dat b/src/node_modules/crypto-browserify/test/vectors/byte0104.dat deleted file mode 100755 index 1a7557f727a714bf353d157e0f2f3111127aaf45..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 104 zcmW-Zu?>JQ5Ce@;P%=VRU;}1hlK;^dg%Kzzq8xq-Tb56@Vn~fwI%hDY&N#>gxMj=! fDk#2IQ%;K9z{7u`-64xSb#)n~FB(jX7~TB`Jw!J* diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0105.dat b/src/node_modules/crypto-browserify/test/vectors/byte0105.dat deleted file mode 100755 index c021ab7978d175eb4cb08dec263ec660f683a584..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 105 zcmW-ZyAgmO5JaC|aG`cUDU=4KQHCKU80rkedYJ9L{iGX;<_;$5a;a}p1#cW`u2@h+H{BYV>yZG$r|Lz2kKBaauDF6Tf diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0106.dat b/src/node_modules/crypto-browserify/test/vectors/byte0106.dat deleted file mode 100755 index db0552b0bd206b31a80874ddfa1d6bd44bfd7073..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 106 zcmW-Zu?>JQ5Cac^^d&7_7C~YaHc6;h3o!{Jq)ZWEEIP|~wxk9-AoWolR< diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0108.dat b/src/node_modules/crypto-browserify/test/vectors/byte0108.dat deleted file mode 100755 index cb49945753fcc5852b63010aa9ced77dc1f5dc71..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 108 zcmW-Zu?@f=5Ce@Og^~p#F-lg+CSkKM3L~VXK)D!-cj5Cr6p(Z~^U$u;rBGJUP8hmO hKPkfNk*Q$<9;gwM!(voeZ;CRT2R8dum<7#Or60dpGXDSo diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0109.dat b/src/node_modules/crypto-browserify/test/vectors/byte0109.dat deleted file mode 100755 index 90bd802c2995bf25bab507a3cf9c69a2fa3fefaa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 109 zcmXAh%L#xm5JV>^5fY#e-NvP8qoiv)Axxs$y60Jr@_wbAG(bKO&d!p9DpPk&}Gl3jOkwP gfz1oI_m#PPvH#I3r<8(cu%G^2@&Q#^ ge56d9zb1G1;W~7k$E4KQuyW8#bcP{8p97vt{0I9zJOBUy diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0114.dat b/src/node_modules/crypto-browserify/test/vectors/byte0114.dat deleted file mode 100755 index 14cf88e17102fae98ee82d3b74cce0c8783fe992..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 114 zcmW-Yu@!(Y5JI_^BBiaJqqv#LXz5%dBg8I6Jmf5Rz~e&>k}XvjkQ5)O=M`lDxTK7e k3)@X93yw_yyS5@okC&=(Bxj-TfDIgUYo>L=Tvq@42Wyf&BLDyZ diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0115.dat b/src/node_modules/crypto-browserify/test/vectors/byte0115.dat deleted file mode 100755 index 939a09c0a2dcd0a48aa4b85df0e921371ebb950e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 115 zcmW-Zu@S%^3JQ3=}0bT=wY|4WL=)8 qQ}JQ5Ca`ir2LiwDWkATM#*Ry1&IZoiWDfupYG3oAIS!i4iuc6=7;ct^}-G$ pwwD8H7C5&1LtX)AOn_Y_hg~`=G8I?()=P_FsLdsP7{nwy@B`|IIqLub diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0121.dat b/src/node_modules/crypto-browserify/test/vectors/byte0121.dat deleted file mode 100755 index c8c5a60f2d0fede024c1d2e19ec74d9475b73228..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 121 zcmW-ZyA8k~5JQb9=#mjK3ZsS57=8^<6JZOC9kDl#Ml0B0h>+$1AaobIGb>u^} jOGMJiprbE0mSa))8@5bH*B)#+wkj`f1}6;wm`d>jaePFA diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0122.dat b/src/node_modules/crypto-browserify/test/vectors/byte0122.dat deleted file mode 100755 index d8cae0d0c7a1077c16da27100ae85ff5413f9062..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 122 zcmWlR!3}^g3S4txJVmnB62TCVPFOzdZbfQ8Y rkR%mv%^!H;mW)Gny==1D)ofPFE;{8rTDJ_tzSxx>U2IZ2R#X=JHy|{j diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0123.dat b/src/node_modules/crypto-browserify/test/vectors/byte0123.dat deleted file mode 100755 index 1c41f9626f1f9e4f7087820967bd1572ae67a8ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 123 zcmXAiu?>JQ3JQ5CaVikOh!_6xO0kBo@mkj6j(p%HgE35&=@OHe m8xHAMsh}$}ub_PzeSUp0tZu-!BnwJZDQAcI@Pd0PYlI(2xIKjc diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0125.dat b/src/node_modules/crypto-browserify/test/vectors/byte0125.dat deleted file mode 100755 index 8a426aabb0e21f672edb21a91ee142a0e551ee5e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 125 zcmXAhyAgmO5JcCA&=Ry0O2bYpMM@zvHDpGH=Yq-J?HA~hs4F~DfS0V$LXj3IN>HUZ mK+YKQpw8Ov+t7Dgk&6>r{AUhNax;k~*SuW(6u0J9^8EluOGN7c diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0126.dat b/src/node_modules/crypto-browserify/test/vectors/byte0126.dat deleted file mode 100755 index 76ff47a4afc97a026a728f7954bb1bf9da1f25b0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 126 zcmW-Z!3}^g3qE9w}O~`0;G)Ae!0z7$CHBKK%Eaz3c|%tVd?C*{E{+Fc}il1VHr13Gx%_zgs3^$Tod+Dz`@B@uaK+*sJ diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0129.dat b/src/node_modules/crypto-browserify/test/vectors/byte0129.dat deleted file mode 100755 index 4ce3fd497d3e4da89ac6e3d4175c050dbf8266d1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 129 zcmW-Z!3}^g3C3 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0131.dat b/src/node_modules/crypto-browserify/test/vectors/byte0131.dat deleted file mode 100755 index 8f74a1064cdfb6684e388ab04b2fbbb0cd1e863a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 385 zcmX|7IS#`x3}X?X+1e-QDScY}G(W{#*8p8I7*RHL!ySO@A3`T>lu$JOLlE3%^`^CG Wt5A39F3Z=>uaz`3ulcAU4txPSNyESZ diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0132.dat b/src/node_modules/crypto-browserify/test/vectors/byte0132.dat deleted file mode 100755 index 34f485842e1b8c69979e870667642a50ba7c668a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 513 zcmXw$%MAk|5JM-5lpMDNN})99ESpYJ0>>OynLHb?v|v1*4{U@{GxKW(8EqdTju9xm zvas24hkeW;szrQtX*R57xXe!X7p$&eOgH9$^xg= zDARkp++}B~8HI$hCvIq9UGU|@RkzJYMOXRG7}Hu-NQy933UdSD&;)8Y4wiHB?4D;R z0ic3e8aFWu%|Tx5jzihNfx5>plB89Wd6xqJ$hT5>OQbc|k-tWqo_y;a%dF})%JU%p Hrz`6Zb8!a2 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0133.dat b/src/node_modules/crypto-browserify/test/vectors/byte0133.dat deleted file mode 100755 index a0331397d24422591ec8ff5154163a785ea0e463..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 641 zcmXw0IS#@=3^YO_Wj=tkJOpW<#y)K&K9Y`>G6jm6!*LONJob1NA{47rOUA68>&Ap& zw<%qP$D&k>R@fNPf8OWp%9h~G&4{OpmPZ5iCFq%lnkygxLqt=F&m>KtvCw6?son)y z8^J2y{2+EiEOp`Gb#$wcCa7{O;Vm9u`NrwB31D$H;j|-Bfp8!r&RGjzN^dEegPzmD z;Z-zuR(`vTL*~r*<$P4{JPp=EC{|`*=ZhMe>*$a~aL+OTI1%wW3;iGY@yQ}G7kV(o oX-4f&fw+U-TsBA{K)}G^zhY<7A!CpVOTs(7W^QKdSugeS4@pHVNB{r; diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0134.dat b/src/node_modules/crypto-browserify/test/vectors/byte0134.dat deleted file mode 100755 index 66cd42d896cc90331ddd2f3d3a2eec62145c1e15..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 769 zcmYjPOHRcw4D{1OD!Xpk3BxFOgo4 zdE+6o|A;^0i!q$e>heqLliuz~Yu{~EG+rc&e<&7LP%JLIZ_<2*^md@S@HxWb+#G%{Walgix1uK$_cP1#L~~98z{e zS#-2Jq-m;a-bY7Nwvs#3@iL|_;GS{IkHXBIOMrp!WfHsL3%9mUpLT7!Qu|&6a`7JK zdIi`;LHr%Mc!Pqe%WbK9bhOmyQaqd-r^9V+vB8ZAs>G6G{A>5(KQ`Rs)rI*HIk|w9`rVY GILANE6uu<@ diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0136.dat b/src/node_modules/crypto-browserify/test/vectors/byte0136.dat deleted file mode 100755 index 6e7cddc95fb387a248c418af1c8a237261328fd2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1025 zcmY*YNpiz545KH9^p+?1DSDc9>$m(A_XnBj#WVF(1;E8B53vXWBtw1#d0j;y4SRjbPbY2VWN zriu8<(QF=3!=57FdSW-!E8_TsWS=K-PrbQlogOChdxh}2mx^5in3vQPzT#Q5X;&sV bWA?QM4CMUy67i?QawyxsrAEE-b7}qn?ZgfX diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0137.dat b/src/node_modules/crypto-browserify/test/vectors/byte0137.dat deleted file mode 100755 index 18dffd1d938f8fd3423bf54ed57536bfcb87ccec..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1153 zcmYjR%Z)=J4CEPFQza}rsKhZ*Q}M7JeD0a{9MBS`fSko8Rm1Bv?(yOc_(G1&JRrEzbIrdwn@ z$0xNRfIXP-lHT)>oQa;9I(07&5qu0`HE&5?as!7GnAN%rBv=Hd@h?HAA`3oqS{O!R zl#m0vxZb-mqx;F2A!ux_1d2=Tgki#V6}>29=yRVhzA#%p9v$LJ^i}8l$$%%!DGnB= z3-kVBJ`CbAxE$o9FdsUg-F(hpHQDdd$wnnCZ??Xxc=4-Z3UxoCdnZQQ{hDGqO+ro9 zOmcrF`52*4ukHi~Iy9(A^4)oPp@eOvN;@N2Xgp}kj{Vy L1H}IYGpzUzt1~Hu diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0138.dat b/src/node_modules/crypto-browserify/test/vectors/byte0138.dat deleted file mode 100755 index 40797906fe29ba8e364a2ff79d21fb52f1bd8422..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1281 zcmZ8gyLH1b45Xj)UP@&Ht&vWnNu#mL8XCb}RQMS=9KJCN3OpQu13`(1oMYT%?s6@1 z!5%v>U-K3ga9wenJSq3(7CyTi*p1?F#>=C41&Yjo_ehQJbF5e3V{FaSs*QWE{h#(; z3|z0I$z~jVIDyG2wr{Stj|kf%nYsiN^Hd?1+bB58?bhC83>DV z*5?Nh&7v8qRCeC@AjQ>03P4Yb(r_+7zS`VFNQnUVn|$veA9Iv|)8!}^(kyD zl^u!m$T6S2Ck0YGCJ;I_JPLj?mu|3n2rK?^t+s>lp<+&fH{6zretie)@jF@1^zr9uHL zb%7M1ZHC~O4!f3kbAP6P~Qr6;BE4fP7mlq z&Qhlsrm(gKIo!pSG!BuIG@hJ|Szg4bpc+_vMC&zyo8+J((M1D`nF)a5C>k?cbsNdy zKd9gakg}O&C21Sqci~H&hq?K|Nf^h%(P1|gy)9fvVxDopkpH5i_)5=X#1gIFdRi(B z;OwHqw$W5lMW2$W4w*i~>8>$Q7*+w+nl{=2UjyfpwRE0ANyJHL!ETJo!&BKlay2}~ zC-_5lFUvNBOxcTq6a(Y#+$Dk z-R_Lxej9q}nNy0TssFN>S1qDt{A54f?Pe%s?PjHu0!)=!H)*xjS`94AxHE~~@mCxj zBO<|sM|24Yx=9vn`G%TI9^CkE61DL!;#$EP6lS|R6L?k1kxK@@;Ymsi0lh8ZFE@pp AqW}N^ diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0140.dat b/src/node_modules/crypto-browserify/test/vectors/byte0140.dat deleted file mode 100755 index 07b7bf9a27d1dfe892b7512b85fd74d3f954a788..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1537 zcmY*YyOqN*3{&0}DK8sn6qh%aG@3@y2q|6U*$03hDJ*1?0>O{yQtu^a*=4(#@c%3v zv^P8t_gogW-J3(_6Yie&593S@$Ioz-LM)`0(xlii1kjyDM_yd~3GxBraT|_cI43?{ zadh<@@TFuShkpl2#XeGOA_3M=y8;o623tRk>eFShr7Eu%sRQY!(Q=1!&!W+-^aqf zii?Njn)T+i`ZzZS!C~?)Uy9>faxH5i5FrLTtHYaCI?kDQ3_Fir@}sT_wwMk_kiE1{CjQw(oA7 z>O@Fvth>@ia72rE>a^qBRtX+LxBljror!%YX^S4vwura>MWPMrq%+CiVaPU9gcT%u n(5|=X9dU zkIqm@f4Q&LoFAaOG)MV&ZLgbbWcxG0c?J$zmFHEapgfvXW(-}kOE{c^&>Nj0m?bV! zXChr@!#Fe!1Pv^+Xm6WHh;`55ISqSZ&Os%HCS)Luh#?$A(NH`{NrTNWyA(VYJkS{)xN;r9!Dw5w0FX+{Nh(cIIi;HA_CmcBgF!CU2hOD( z0p}MFVYl1D8z#dSZti;6yzDpBlIDOt`GWx;<#@>JU@JaRX58tuDk{Wfdv-#U>vZg|nME4PxfH}T>wvu4=U<9-l_B^ClK(2Z diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0142.dat b/src/node_modules/crypto-browserify/test/vectors/byte0142.dat deleted file mode 100755 index fa95449caccef7497e72fde2a03c33b1cec47821..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1793 zcmY*Z$!S9|5S7Uxmw-!9BLS5rK^haJ5tZPhA;!vkvuXZ-rCHwW`Yxr^eW617yr}j= zlsvwS>jHQl+_?BGgUO}Xy!9F)8LJT;1(ci%$RiU=BH#=_9hX=NEQzEQ zHQcA(dNu)#ql)a&Ty^6IyUXMWP6@CwKwjZ3RVd?kuf1F(yyh+Ff-G!QG*52PEy{gI zRVP!V*gJKOd5v;yK_-km$S(9_clL_>Vv8EOLFF1y>$WcOYsTz-MB?uYhf`DJbXoUj z!MgV-0c5!3mV$$6-mO*w1n6{9MfM}DsJqU_U^PUP69SgzV7Xs74Q>~^()9r;p7!FQ zzPythYQWjzk~KmA5`v@;Hb3|#_8hf~2FGNK%Cm}!BE!5DAR>$2{w$olj3@?5dn)Pg=WMu}(|+0@ z(|^>mHAgNmh6=A_tFF{LS-?uD#d{`$d2mh20s(5K&kI%kN;ZI&W3{14(P`X{8k+;bFw?N=QQIQhdFiT=!Bg zv~|Cg?nhy;s-LkD6z2VWx&m7legx2<&WHoLX^@oxh!htwLVe(PIVX1ab9D`s(OZyL zCoRBLPdAHE#T08R`}AV!X?oRg4RzbqiukH7TbB#+0Qv2b%P@lhQ{!4-=HecD-Mt5= z#w4Y?W}^>pCy5SUYT+uqvfKh1iW#PPB((*FB+u{nlS^D z$Qlc&?nO{WM|b(81_GiZpeR{RVed|y0mjumq}wa|u;>L%n|)m`Aa#q+3Ve7LHTPDV zGmKb$qH=Hhv+vDYktIfqtzW`>j~s(snY5~XW`1NumMW~TLllzVK7A2-qWDC2xNWW9 zx~8-bCX~{s?aPsXvEum$Akj@V6b8UbEfAh*iDDI;Fl8vb#mFreki-8cIfj#cV^#)L!aZz=rl~tF pNS@^?Ow1V?nb-z-{D{<74NQ%jp9X2&Ki8o zRsmlvQm0)VoptNUZW4q=SMfldJ2SM55jY@i zt5c@9rS>zm_t=QtGJ#(W@*b;#^wA}pGE5y)vnVg$JUB(R{6=;rV`S%AzbStOBYWi! zVj1K!Qtp|I#m4P3g;yWNc1j$&*cUK6M8!!0?a%>X*7yvRa31Czlx+R@Rvt2DBG&qb zbHbmd6wk!jgW|;}jJ{iQhR%~gX2o4O7(OX-I_r^)pvf;n4zN~(g0=gFi=u+@4~%~>@$NxM$oONs&PsNaKEA}WP&uYo zFFJ2QlJtWOnTqX}X>|Gq(i@EU`mIHmwLUZeBfSmtz+5rI=9TYGvDKyGFW)gttfi!> PKad3}p4-#rL)ZEWrw-H0Z#V=tN5J=waVtlF2~$96m6aOhO1hr9ED!jXxko zHv{XN8SL{EggdvsaX*{VW$T6%{FLL$N|I3(YPQ5j_Z%Cpgtn|01^iu{I)~*xh~(`v z9lHl;&Q2y~KRGEe&(m*CJwHbghqzDa%I-?BG3Z2qi3uLdaBn0^9d%u2`XHop(Sw(z zqKikgdr6N>cBxFjU2fu7P>U*%kDq2&$gS9muRFsKFkH32V98FD>4=!ju-ui*iigxQ zopwJ#uU+~G!Gef~{nq&m?3VMs8T)7`6V2r7+!Zozlf~^&&ap-IwGSb3Tu#w}`-|`$ zx$8wm*(ESYt4Pm|m_z^IEuEU5bV_xtu*gt3nogkRG@5ZU`vuFs(o<*h;dW<Nf^075uzIkiGeYv~<#TtUm?gf(XiMARW^sXK z5dC`%OQYcXM>1UPeW}{>X#5-fDc4A>8qfIzQ=#YmGQw29fnUEVAovC)4j@4HIKvyBz&Grtg=SsJQ7$SIpPULruL$%GWRcEc)2;EdTL*DB@IDx zP@;}3$wp#DTsW9>4H`G}-@J8rxk%<3;m*Nkq&xks?!(wPUuP?sM=uB00CtwH_*>86 z&h&a5YL#U#Z+jHK3YZQ=!t>S9pi?MspLA=Qdi6jHGT&PCKgams1C^MSb=J~+Yb#7s zI^*x{29=m3KdbrKIxE~wV{UT+|FitQe6dDLddW|b6g7P%jGXrwmghm1ho-jEM1W(ue^=+*H8v6{N>nXqtKFc(ozp88=)kqlWT)+xm{>RE F`UgvJc02$8 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0147.dat b/src/node_modules/crypto-browserify/test/vectors/byte0147.dat deleted file mode 100755 index 3c84c27a871b87e9fc9e56d24d72e8e7cc8f7f87..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2433 zcmZWp%a!CH40ONU_vW~p0TafYme6o$4uuf<*avSjl1g8OgMq5j2O)eMH2y3dlXt(? zx_C}Q=}Vx8?CwM#Z1G`EFh3JN)^fSTnw3nJCo`L?B$g!-P@~h?_Oc~WzGkeY0Bd<> zfhNiSK({h@mDZXT>1Y=(I~lzl+w*@_prpn|+i@>f z)o~+xh%0piTut+^OYKU#hKxHFi*ieI&rif=h?(!j4yTNTs6;B@5aG=w1Pb8ESBE7D z$V>5iN`4300&C;NNy(f8P^tOwkmB3%q|B<2#gDKGQix&jcJ_zDWlqyCRBzC&m5%Rppe&h>*N0 z4sy9IeK;s)@hqzJh#|e|2o5_2P zn<4x~o`ueDRHBWrVo@1AxKoH)JS&p5E;Q-^C9!bfC@MmV@E}%0WK%sf80D;@&fw6q zKWd^5Fl}A$LD|V71Kna`)*z$wv`a3gn{Q>oP`KkAj~=4C#hUXhTQoCU az=uk`JOhC5S!oZ4z^-~sAYBkf?)w{Tk05ja diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0148.dat b/src/node_modules/crypto-browserify/test/vectors/byte0148.dat deleted file mode 100755 index e11058cebfa45e19f8368ee2a8378a2ed872586b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2561 zcmah}%WWMo3|#vid@REk=11(8ZqDFV{K9(^#ZaQK&Af)IGS(#(*eNbb8Xvd7By z1L(R+#<1=TL|v;sI!pvQ@ridi8XB5Hb{5B1o1^J4xmU;=Rxf+Z9Z4Qf4d*m#l395yC#E_)+4$DBkvA#C$z8l7B*vi0;>C@ z$(4eKqg5lkCQrg%bLdM*bQMu}#ey$NBKbB*=OMHY2wZ1QYp%Kq;x2e*Ln#^qUEj_Q z^|TjclQ+-Z6kL_(^|fN`wF$Sm7*T4ir^O*ASzQyEm?Z`m=(4XypMQPUZ*Q3og?M;( zHIRf;kSj6uv7yOS5q*hM6{3kgqY_I z!$d}(Ca&Bpn7+9Tg@fdYV)*zE7zm^0X-q@-Xx=&JlrEHrjEg73jw16bD0#i_ahf|} H(V6@MFUBDf diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0149.dat b/src/node_modules/crypto-browserify/test/vectors/byte0149.dat deleted file mode 100755 index a058ae235bf451661030a91935a50b5eb88ee24d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2689 zcmZuyJC@rp43ys%+pTj0-XuI4d9&y!>e8xAk!LRc7|_dtq6RZVfQ0O|)|wwQ#hAx7 ze(^g{UN!z1%5|3r1lBs9Nz>I?$ozr~vHGo)+DRYa>sD;Ot7B^+QT8oN*|(7u-ED_WlNeB8z8ZM`D* zOXwuuhQKs=)h=+{OBI=uBG@;#ReN9yZ=KUr{ATJYgm+Y|mBy>3k@eprG}D3#fTR&J zkJ?BCc}dg-6Hb(1?+bO>DrBEiwI6OlPb?woYwU37Ec-)N$MFU7OfNwe)3^lL(r2t^ zV+>(R)98xlDMFYeR8lBkpqHfz_laW6=t;Yj1A+~B`P78-ip;3)`@^?S+O0@ZN?&`O z&2!S{-+V=LWCi|+>$Y?|i>JNN_1gy|0NkZEu#j1h3R8NKM=#9s#LVr~+QH)X7gW$PP%jJ6yktfH{0J6AYW2c-=iegF@BO2hX~k=(H#}#^(Xq0oUJ%z z05dq{HxPatqd{S9W3y;zuS{h}2)VsoZ8t%#E&Z)@^PB!LA)Alb##q7CMgYXgk>j@Z z>^^c;>u^`RCeuJaS9OpDR2#lAeo8O(no*C~LeDHRuuQiG-x#H`VbuzPSwU9}WW!Ys z8c&0K1_+C+ja67)fOh!A1!Y)bI;SQANv;O`U}-Va(E$E5|4o!!s{r`P*FTUILs|bx z(*xo-mg_l}6OkOViDbE4;+l_btpU#FMjXldmUB z_D{o@(C0X)lxj*9G*`Kwmf_5*07f!W@I?8C(BqkLz)Ekz1S1N5Eh!4S&^EPi@(um~ zv=h57$x+{v($)CCE$<2*={InTlXFPI6zH4MV)%_!=~ktY=(Aa~c8>k+X~7dC5fGV| z4rN+7nnr={&R0xY0DXuYCW!mg06&U1r$_|aJDb?`xm`VCl^PjjJ|bMK#1;aRiS!F{ ze=7M&NTGFh<0i>397{70w(OA8R1FAUdQm#7s=-*`ryV-0eQJ}8Dwh`OX-(LKvFK* zk*^yg6G$gphs>)oYa_X^6t-=|gm@~06eb+JTaTRqthAz~vnFnwQFtF>JDEk%RXJg_ nW>V!v4f++L)H5Z4FD-V-@e-Vw&{A)rzDiPt;0)}f+dB6jJ=}Pb diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0151.dat b/src/node_modules/crypto-browserify/test/vectors/byte0151.dat deleted file mode 100755 index 58b85ad5d08af2399b31af9cfbbcc59d99db6838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2945 zcmZuyJF*-h44hXRZ1^tVDvmPOat1z`@lD8_zR{1 z<%*H&E=lKnN3o9j%7MpGbFAuP_v;FMeBWIR&#t08KE??R^51bht%cssTn-uxXl|w2 zGFI~a@SK%!p_XxBi6BSywBOs_n}x?jQYy%<-RO!cblplr$E5dp;26Eo>-7lQ9AL-U z%u?lKJmb*yV+Kia#i_$)0W#gLLaHbG1_CI#f%#i@nf&4ChGYZ$%1aG_tm?6b1-@yw zW%6;-y$s%|BA&}86tc?ENE^alLJjfS?ztO-e+grJDT<>88^vF0q9FGfMywfrtM`vqQ36h};&5zWSkML&CGIc{p`@!N zmXCcYmM8NLY(de<7n4$?aa%$oQAQOr#oSq*9JUP zAJ%<eMXjrkuJb<5J#g&a=e3KU`_9w70Z-oY#SZj}OJdvZX{p!?;(YMZx2JPN zqh6UgYWSviHC!S3N`4f7tM*Se0eE@s8m;$8DG)^KnF19+ge11LPJ1z^_PqYF2Lnt& zuGoT#?uaTXD`1cq2N$9gG3dB9w{}Bun+9@QHJ#I*qtFiJt!LqhBA}FrylA230L(zI53lvfsE4-jK%??4>vs z9BafDd9LeN(NcE8#XT{_`N+X+&-+5~JPdE_#)*riEXk(}|nH%ZOZp>8qg@UGa z+KKBoRr1$}h7|!^2tJQnkMCd(C%BO}c71~6!!-E!76DdI_h>fkJ~YtL>Pln`i!l*f z``i+}leea|n8Uebn9jO?*^rzyB>dbcfCQRI`M0a)7LSlUA%7^ti5?3> z1EgaBok!*>3+ZIc;Q8jSKsTz*)pGHi;SDF@WB2=U7a8PT$KiNOkhe}a#U&+sOc>Jv zb~__`NXAPkaPiv#AUk1m5bipne}KoMf|16dexLRPzWfRWo{AJ+_dugWR`FoVrjJc`?SBt>>GcVZAjgWs2n=*&WVA|D}Ccur> zCxc%w<(0~w5LMyJ7o_bL)e8aNjsO~RfP?Kh?IAvVzlX_IbDf?Lky1$CllV?Mckf^= z>6xGSNLqXolLMfrxd?f*l0ROM7!s+VVfg~mjoQDONMNH<40V^4tqQ|nnRUPa0Q-m} Aj{pDw diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0153.dat b/src/node_modules/crypto-browserify/test/vectors/byte0153.dat deleted file mode 100755 index bc2759316c58fa2eb31adb881a424857508c5ac1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3201 zcmZuz%ds3G3}ova_Ts7+0+|?R2AMb&GBH&z0pGlbEsrIkPm3{!L8x0TA(+`MMMs@x z@%+5*V>#gy!I!(;cmO_bTGMz)qllsY4~U+9FIFkwy{1xO+BLnw!zOB}z{(VqCHrqi zWhIo?b!M#*Iv`W@Bem%#P(1L(EtrzzXa-YA^&J1%&rF;~ajTS0(;g$ig=+epJ+yjc zkA+%k8SM(Yw*{Y5!(d>*T1|F?xAS@r@QRr_s9Lv1X;3v0neig@gshx|K_XY|O4|YC z#$*x~4$M%vuRK=Z+acnSv71*rP-CrisRzrk@aTr6le0Eh<`7J7S+qz-7T)x9tv1k= z{N+It-lhraY0C=$GEK!rxYso5b;Wxk9(u(7oX(Ig2H1`d30e%vNVO2_mowd1O7-dc zw)m5`ESa&r$Q}(#-^MAy$tAJN6ljK<($8&^?%4VFGxs1tEhMEZ+AGD>@cK*jL`AWU z6^AZI4!3N2%-O?;*_30mCtR9Tw9g(A=q;dJ7?BmZXZO6X~q z<9@l<$^As_{3X^N%!&*4^mowkmQa-! z5IX49y{C-&N8sqxP)(m8=GMWApSJSNW5TFV1$+iKfl?2n-n2VJsyU6!v(`P#@W#i6 zkS_KQezqh$*p=jLg?a+N;lNenpOKlr#iz^@wn~Wt*RF9jt`UPFfCd@|$vKYW7_V5Q z#`*}mNIM{w=0y(GbR2Kw`4@4|j=nRps&&HK_Fdo+D6x_9E%0ZUAIBMrORKQ3BDob; z4i5Y0Zc`!VA13-nwyDa){7rR_TUYG&y3AX)cf=-ROgIV=SctFiOo$ zLQ?M%min2_MM5fwyc7ZtH-gX)YkQEbt#D~To>U&nLWJy?>+|?y_P8W6kiz;rjHwhp zijN^3mvHl|M~mRk4Jqwh#P>-b%qlRp;wprdq!>X<&H=o#`4mh3TuK%!4&p9H zHitym4ouc%s3O_hn3VZbWj614JEZC2()ge(Rh$qU9>;IbLc)OE_f;~@ zL=f!OU)js#`_q!M!i0YqVQ1lTyhc{~j0ehyeM$C0ZuQs}t}0d3|JP4`hMqj%n`HFZ zl8<<)&{OHh}{}?CqD%X!GD5t zEwc?)Y{hV)x)h<7SNwWVHv}l>7hpK>b+1-!3 z941w98&9sAN9RM)dh#o36(Vx?-fpe6)06t_^FRWsKHI$kkhi+je0pw&6Ul{G+RGd& zc?$jFXyKfRr$e0Fu1I{*D}y`CkfcT^r!e4i8~p^5_Jvs66XfDv!sWh$bvXN7-+~Lqcv?$-htXKNZ}9r=_mhC-2}wW$2;d!zT0*;yI1L0` XL~=r*ohOjgmd?9k7xGN21c~w=1|3FC diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0155.dat b/src/node_modules/crypto-browserify/test/vectors/byte0155.dat deleted file mode 100755 index eaf5f9685c3627d4793f129872f45256af89f95e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3457 zcmZ`*%aI%*4DBf&=HjXiffSqpY57KHW~!VB8SEVQ(6wzn{g7bH0fh9PzRm33_kH(c zUxoC(uK(GG8h$v`gv5B7Hk@ZfG%{>KilDz8_z(s5;mVJxbm{fHzZ`HJ@50}I9DUzs z03XNic`E^A;*w`IJ)N(~JdPrUPP%rAp^=K|RcyY)-nxLW7q^fAeG7_M8o*d#0D~2} zEv1J97YqDLr)vmxr#_nFFbBn&h0k>&9F)C=@Wx2KF1uNYp{%95DA|1YnNyeCx?5S0 z2+IuF!fDTs?KsR^)B$OF@vjqYc9ZjOx`w*fw!3qLKRJ=Gc`L=@?U)Wx&%8~lby6O8 z$q*#hfpye9aFzAT1V23u5N)}Ygi6X06)G14OE}hwDu7$Z#gQt+5tY>#K1p{o=No~)3IZWASG`%C(?C|XYVy-2M)np2FijO@WRhbiwK zCv*SM2pv8PAlICKio?)JQ3S6LtxuKp*HQSy#(kmF5JImoVQr4rS3a1~7_8f>k~`yQ z^D%YP_*tVDmerJ+@Cw=6H{&jRz)T-gAATn_3Xk%!bu|Cw=Csq2CiK^k>3`m)?^hwRXVd3Bn5& zrzB$feK3`r*(+`(18@u9iQzZY_Xi^G+&6FecuKoAAH?n!z)yXKUo`F9X1de58Xvly zLbGP*)r%U!i42lEks9le*J6BIy)=oySaoA8i4rCZ($Oc#SmNMKqncxL<;?mAwN$7< diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0156.dat b/src/node_modules/crypto-browserify/test/vectors/byte0156.dat deleted file mode 100755 index 8ac675fc127d870d52263ce9e2633e5a665d02ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3585 zcmZuyOL83{3>=piS!SCZxd}JRaFbkRZW4}=UA%BTqF;*!Ou3$f)GY}i#$(v}xNP}m zjON??{Wiwm+>j!6UX5I$mW)##@_c8C=r8!*;Mj8&I69yt-{A}i%ofeJpG1VJhuAZk z4}r5lXZWGXSOGNI5%<~;Iz1bt7Y^LtrpSPL8>XJw|v!c^C2HN&ygd>0$mYTR&2XkkNn`XQSj0w?l0%J%T27xSz zuB&>m^*1ZMVCVeiz2Oo0k91K5i!;j(*~!#reARA2%@&3ahY=qZSB?&~fG^?(!>kdh zACM!bAd>1K0I_tQznbUsx{sFlvAgFx)3v35Jry$Xg$Tpy*@(8C?L56k8l$tvs`ekY zpKWGu1gJ!IwS@v{L%U;dUgEyv|%UNh&!Kq0x(EG=~G=P?!jmzQI!WQlS2K# zRnt_}9d})4e>_srpt`=8g2|!SnSYiC>a<9_oC6{JN)i->Lchv(#o`bXt*+2HD7u~A zy`9l<6s1&MOL1x_t zV{hz|PE-D1G%a7gAb|FA)-Pg@A|VdCe3fD$V8{-8N}kR%sFm3(+@8pPj!- p3*ZkBw%*MVT^;;ta!T@y5iB#30wRZ_f=(s~C{Sdfc>D7N>_0IQqDBA! diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0157.dat b/src/node_modules/crypto-browserify/test/vectors/byte0157.dat deleted file mode 100755 index c742c47ca1b96b228b09cba00ba3f5a4888d63d8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3713 zcmZuyyK(F=43x)#Lw8`h6P8BKxG{C$7F2>?cEQc*;g1C+1|o=EEI>fI+qSYk&L^DP z>FW{R4|mCagg=b8LXg8AU>NVnn&A%Pi>%M&U{%2xiL*5Ws5M&b`<+IkI18&mEJ*7b z)5PzOzsT9ewafVvYB54HB@4`c67FKM|KjPj6s7Vk*^qX!ob{c-T*}HS6@lglb)X>W zjq?>48(ztTsc?JzxGP(aYr<`Vl%D9=w(jrGcmI$0GDSb^yRm&F~51dRzy;l zSGBM#*akQF_@cI4XX`px9NUdUIH;^4&UozzD;H7jr7{jG)iF<+s`YhKEt{3Dk}<)g z?21JG%ICYrnkM2~55$ebA=vM(0dShD93ie-_F0OumiVjb%w2T-lmm!+5|pXk8XVvU z*c8JK};UQv^Shu*o+O^4tj15#^+Xk2^bSUW4I3fR?7VETATHG5+C{{OV9VX zVWPDI1)L#!^X-TV)p=c`B;dndNH@O?@`F}La=2Xj$JKDQ^|EjHBfeHrQ&hBcv*&A+ zF{1{^NxvaB%eXA42}d8h4@a4R%uIpbxO%^7!`n`E>vMq0+U9NBk;--lx`K5U>SLy- zgx)gsfePn&5OJ_3N5nTm=ZAP1iM6(;1ww{^muWMDkp%X;?}d}c8uFrd%+{CRIpLOz zBfD|dbwwL!5}v9k@JojcKt&Dk8BUMyYm!5eZzuQ+gh!z3-(AOMORQyOm2n4Vcs17g zJW4X54iE6W43&>0Qb~|LJV>#stHC)Jv1TzPm+?(VK}Dy&1|whpdKm(o-hsa zT-Y%7HN%IM6LD_*bEE7cxAub=rY5jG8U!YMy#`_2uB1pjbnv->)B~nW-GkL7Uvy57 z;)@5rnX4Z}K-xnNPGI+~Z!RiLX2FUEQ8jBmE->)vLBkWSNr-UH=IG)4+yiqCbh2J3 RW5OC9bc8F75}od_{sUI=b6NlZ diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0158.dat b/src/node_modules/crypto-browserify/test/vectors/byte0158.dat deleted file mode 100755 index 2998df4782a5d8ff3665c8137f6233822ccd7184..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3841 zcmZu!Ig%7H5bO;iSabM+zQ7OkEj-D?>$?;sOUxFN2#>r}q zR-tFW`{tY)ECX217-^ug#ZZl98&`!SYd1(*vVYuaXYaE(hP#td-L%#)n=Z78+fMEM zfR-tS*uz|9t=~ZFYGE5`eiN#?Xy(#Fb2E@HE)Nlk;RaK!Ih@{>J=e=J;>+ek$twtU ze}0G$##ldx=rL1!>}^bari;kB-&%=}CK+DYZO;L%;B~yKFU`!rkWig9eF$-k@d%W< z>4OOE3Vcf82B{aQlKsv>BR6)^|6vZ-bJXBsivDhpy_> z2w(2IXP(&N%%|d`843{!p}NM5xn!!#2dudx9(9Cxm(BJ*XLwvn0T60CO50xXVe_5* z=q{Ro7`%qBs#&VB7pWGTISk!ZUQjG!jb@-h79U#HaGiulylTH+a%~aPQ{FCfVV6}W zAs=hX>J$iK)rks@(UYTuIZ4}LvwbM#TO%24w&!6OxMj^J0xST~(@JfLmYdGCY$;kI zin!ec&hizhXs!9qRmLZ0V?DmKQT0q9i2HBe{xG(K0ijXoo(?wZtn5)3=v;&4JrJOGWATii%=b}!uAAy z9!^m+f9sOHnXbTU?9*{Wwm8t;aVtzs!Zrs|=hT+XPQB^p}{n(M;!tzCMLL6+TDE@@hvA zH`iRaHXlG}?1^Bq8VHc&E6!KJToOc1@UiqD6Ni62=cbEdp_0SeR7-k2b_;wLt%etu zLm@}qmPlDMIo?|1R$=tl-o io6x7oH%9s=#_JS3O+zR=Nt4}G6{_J*yLu5Mum1tVjEr0W diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0159.dat b/src/node_modules/crypto-browserify/test/vectors/byte0159.dat deleted file mode 100755 index 87d68a41c738ac1b72831042e739d5c47a51e344..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3969 zcmZuzORgg!3}lp%vdj^B4l)u)gQN8c<_sJm%eQ!X4CTKeEWp@RWn<_lbIRyNt@%^- zQ8m^n^3tuYj&JJH)kDkrrQW!H38XHkroJLz&b}az;JSrkONf1ovj(4-9C_02T?!it z8z}>MwHoHtIki;FO9tx{Z=gz2-5GmXOpTraw0q3E1Z1v5@O$-1hQzzL9`6sO&AB=t zLrbBR&X~k+#TCDJ?Xrbh67ic9K;6Q8r^YUzci)1l zIAUD_YdPPo$IME_?3sZ|0IQ_4fTiH=J{z13zdHb5if$W>{Cip{?PVVuvjcUgp06P~ z*W=UY>R$ck^pPqIRRIe>iPw>Nc13ZY{J^o(x{Od1E1YgZm&TK;** z!#IBLK^QEFxyBZ({Ut@&a)-n>7&0U=cRDuVQ}36m7E(=FjIN5dI>KCJb`>2)`ET{*_)RAQee&Smi;pOuyqs?F(QT>f^PkTh`&>5J^u%C;=G@220K@KWA<-fj-0^d!NZ}`!vysy zzmQFo(_d1=^X@0~#Vrpd6rtM9_yxf9mXS)w7_ z;s&B}JcmR9%DPWm*A*XNbgpt~WUc2n12_QaX@#-(J^v~JF~B)SxSu0Sh(TbDNVkLB zdJ&AFc|;`JRl{e9{=92Ap9QR&7^uekoJ5=&tm8P1f-Giqc1B%3m-n+0ZB0W+mpa0_ csaCY=LtE?oalOFocF;vkv@zOdFJ96fd1!9E!4>xrlXUGiWiH>MYtthiMr5~ zz@+Z5sIgP4c#nr*u>%$y+Xh_?3IdOGgg{*v`WGIuz=-}JOqu6_kj^MFqdFj(tl9Di z%r36e9lACgrU(PqE%e^Rg1gM#pOsFy-4tS)Hh>QS19)eF2UV*1{rhW)j^Y+ROR`m;h@@g8= z9)`AA^6+orw!fKZ0|b>^ql8IDQ?b?QMvD^Uba2%4%_S=uE)zIh|9ajz+;3Ri1G1+{?%;BnS1c=`tLzMH_a%eW!7Cz8a)baq~+LpG*oC2 z*_!&^vfxnZT67rIUMAa;|xlXXRCtZWYDz9~?*a3;+NC diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0161.dat b/src/node_modules/crypto-browserify/test/vectors/byte0161.dat deleted file mode 100755 index 22968e033d80c4234dde5a2571f7f55bcf796fa7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4225 zcmZu!OK#mT40Mr2mbpLy-=sR44fJB#^%^dEfw#;eh|52Rl(mpVa%M>V{E}^}?Z<8H zwSD*$$1C6i-7-Hp76LU)v7a2K=7^K#?-h05FGg6Cpc`d0iCLUt3>Cb3c+g4_A$~&l zJ)81gNorjLk{vi3n#`06=1kOZXIWo(JzDF3GqJBhn~}5@Tu(RA8KY8o?Y3_ zE0{iMi(odjZ~aV6L#ea(cCw@U#f}wtqQ?i8L7yE(ja2q@_=PnrL!r7ubldt9^ zvucVJ@0QWEE<^uu*0pWV7m>Est{>h=797rnv1DWrH~j?aJbSDsy)nbEB!DvxP%oik z;@O-`U=f+HVNH{i3o5y^n+_|Za9U^)CPrjev7)hVo(jIf0*Ux_4DkviNq8#LG}>#a&Cj&h$G6*K5UOy zaT}M*4+Q(%gIvGQd3>8<;k#stdL=~N!LHKiI1g|xj?)2#aA6J>zmY`10MrWI7}pmzP$ih^;F=L(o1UAGq(o0_w4D>Sw7>lhu9uj z9M9@{g|H*y6c=;@qduPoPr+m|B7( pV`T4QO{HZYd4mqL6u^VR|Fu*#aH$)!E;lt|L^kqdL#KSm{{x+8WYPct diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0162.dat b/src/node_modules/crypto-browserify/test/vectors/byte0162.dat deleted file mode 100755 index cca9a81861ed138b96def4876c41360905609056..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4353 zcmZ`+Npd713@nEazD$IlfPccz27Wg66rSK?9~|z{f>KLWbD)HjnMeZK;pY?M``F_X zE*OhKH*St|sE#)w&g35Cn=QCL1fM$ROY@6O`+wA1KDeH?FF`$Aa9K?$5$_ISCe zDbm;O15p)j-RN8IT~&7vR@#Ek1|Fr8$A&2h#hl@51wwL2@b}OohubnUDs~JAd9B)= zcd2Q&NL@{-DIq5hoT(r5DPiVK2S#g4s_>$SI4&hoz(t?`6dvY42)J@3{kZLJ$!2zQ zJ?y_y+z%;tU^7&2S9MZyWf1ywmvc$v5ere#eRpEw;XXA5$xM06a_5j33Y)%du`8@u6-A{?*CeZ}b8TnSrOgRSi#CsVrwqp5dBMi0+lz3f!7UpUN?AiEHTc&$dLrIj zR5eC&*h0i@M|0{IQe^Ojz8uO*)2fe=&NpP&LN&H4Sfy*pRO>p&o?J< zRS}S9MZksPE@ zf_Xr70M-(&L4;k-bSgn?1Bq9+)1!bP%0v~)YTDnaJtNQio+kNS4rnZW3IKKS$DvNe z^5#wyzM)bY=dsd3EKfWmhm!Wlrp~bYSOWQm(mENKETq&6=?p3>$7~z5jO1~g$RgT6 zq7BV%geXL&8^{W^c|3aU1VJvzou|Yjpsr?gxNjbqK7$1g;VM!I6mtg0GW8Q^^?czL z_8<|dCRPb~>Zp?a3N$-e#;mO3jJR(Q)Iv4OH^4{5F0J%JNL{gTTys*L69a%l$ASs469XK$b z_+GYxB#)OF;6w<;q~S$)BJ=<)<@RB`+@-=fNq!<1%XbC(H_Q*(B?emmj91(CNC5q! zM?t{pR}#-1)itTYO8M|UoNnit3r)>lOLLqG&Ja1isCI*-nB9yqHP_zWzeu```6Pwq zPJ3Nrg8DUg`}Lbd{4g)?OV?oVxZ=exOq;W$RGOg^*jvX6Eq3WHy8PTTfSU1}^&x67 zZqgmcbThOIhy84Bo$2Txg(mndRQ8L}b?xqSRM6B3Ixi0%@`SW9X8z4PPSD@$Y$$L) zFy3X%h`ryj8q1HU9ilF5fr$>`#Te1|;116FkqnK?XQq3@#CAq?c zMAC?1;bcR&HE3Jwj$hL69CB}V$I2RiLoW##(U#f*W>7y{kRsfUfIJ3t~CaJ~#4Z}n@y73k(j7pTQ#1x%pvKPAI!EjFHP9vqSH zRZMKgr4%>XK(-9J4{(tP55NOt0G)-vx9RMzGfaU3doi)fB|hzS^14Vn^91k9 zvIxclYYru6x-tb`TFA}*x&*WImQgsWf?ASwO<)^vKm8+vodbr4esCd1PR@|ZEBp}4 VF-?=^H=S7xeA;IotI$Z<{sTv@dUyZ; diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0164.dat b/src/node_modules/crypto-browserify/test/vectors/byte0164.dat deleted file mode 100755 index a7f5981c5ee6419c6b562dbb7663205992c28499..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4609 zcmaJ@%aI)+44f?=);EVhD3g*iU_ztHi4em2wpHHpSbw!(o;iS!S}h^Oym#L@u68_( zw5#-Sd`s2k4rl5@3ZsL}@zeLZzLUd8RUL0Z;zB{3uJ!e|3iF36a$T5x%TZ~RTvS!( z0ubl7%Q<{Cu1aRc6X?F&LD%JwXrxLJxZU?e?LnpgI)G5c1;ZYV-C+>ZGM01oYM$w< zS&jhsMV#URz;v;C{3T7e3A!dF2PAzuy0kW;7g$JmTCx|vFpBU+^AP<*Pq6=4@xJpE zY+de1P-2Rdu44&6+|Ai&y^yhkLB(P=s01D8=kk4XQTLH)j@`%_dwR22;|!F_C>Gwp zGl#4reg~zA$KIRU)5e&4Zp8oCkKG7lpn;bF9bz8(;y>Ill?JYK>=A+G+|fgOC4aKCx* zIF9%F3f$(|mB>)&qJLR$$pXCK$ipMS3i&58BAIoR-k9cYLCQtqhs0nlc}*H-(VoMy zv7x{n*^8Dp9M(F^LAJI9OUUh%a+Bu*r0oS@VFI?dhffzE%L&WFv@Zn(;Bd6W5KH4N#PM_D*L{Rb`3K{rFzeDUayOH%C>c#6 zKi7GtdjdUUqV#bz+`8<1uu^LSEA0jtQ`|a8C}#jX!~34K+qACvfWjk$v=Jxd5&#mq zp8(dWfa1>POZ7|H4Xrkxd(b_a@p1#nf;EfM6bo-e-BcqYrHDe$peof(y+6=-a(h|og^ z!hfv)%lxqlC-Y8ad~t#+;(^e&?k1iA01!_y!I)rzABfO;8vJds;*lf-%kjdcvGpoV z@_DlEshd=<^9+g*JiNoyusuvQYfT**l~kXnoB#E)O2<#~>O>`nT(htcLKzR1(Dm2c zP_zt9foI>P(WL2^?=JY7r-cvvi3E<6gt!V~%@%74o{n4A?z~YWK9s*d2=obsNV4z( zB#X}K(VE!PFB*#U&`YoAF5=;w0BX!iEbKAa;bSi^WTmEm>^O{0myQ;fCqTA0XSU|x ztpYtQz(Xw&wC@)hUj9goKrNTFmRxb!K%77{Y>=>!siBm7C#qBKDVmgBSNM;AJn1og diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0165.dat b/src/node_modules/crypto-browserify/test/vectors/byte0165.dat deleted file mode 100755 index eb72edb766cc37486850fef18c8f0964d8e995f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4737 zcmZ`+xse<(44f?)XI=uTVj8l<%tVGZnP@W5sbpx4s~zDXzy?Us7~*L(K=9eS`@Z`j zqun+>)iA!(ZhoFmR6ssMEGh5c1o4AhLw)8D)!zV(B1f*HAmo#ib_Z4T-5-`0t$$Eq z`Q_2a{|Y$`QbzD)hB4P+w@LgD({TPg8mNKi3piYa>P9Yx4H2fQ5evMjoxdI6B!WjV zqupO4%(bE@`=0I~rkK_smqVJFeAZ--?vN=|2ay2GMeJ}W#GnjKeCucM^Hx}b1>`BV z8|HBqe;g4vQVh4UkAwbjYVy8AV&B!;yBkxe|bDm1%OJZxqq54=Hn>A z64SQeBPBkkRJN=&9G9{B?Oi8^zN}$Jhu5=8?$FDL6rX=4Rwp6h z6mUaRZW3N@LBmG_Ib(?wu0f&Ffj***^H*njfYLk7WWlcltI3yxhoh!yv$E?BRlSFUgK$42FCGOhaPXc1S};h)Y*&` zUNR&9C?fF&)5XdIYjqM5+UC*8v7*N9WeF2 zKtnNA77CL0JT9n&mtoVY0AIIs*GDMf#L`@T#HcpcsFDMNP$Dc8hQJnaqWLA-IXg!~ z(G(#jHrpsd6F!&ueEuOctDUaO2b`r%=C~;4TqXi7Pc`?czcJ#T~KMwWo z%z9YLtZb7uT`b9fRq^GFP1JbaCx^{UfqW?Qek;3v=SyJLvUET^1vpnK>%=T!{m~r+ zmPh9bv>^6~Lb5BlShd!e5133m8Rw&=br*xh!x^{qwD9U^6s~zx49K%@4`MejDPwIN z0lNJ^rxD~e5-yjuaQuE7v6GClqs-Z5*phuGD}(y*9&bi#JI>xY40de(E+JGnIC-%% Kc1RPDR`?Iv{3$R1 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0166.dat b/src/node_modules/crypto-browserify/test/vectors/byte0166.dat deleted file mode 100755 index c6baf33a18e2c1988a1d6e27e0f85c947eaadd0e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4865 zcma)9J96AG4Bd?jr*oT*S4f#oM-z{x8{`U_$puon@T`Il0X`7WOjt-H@bK^z*S@ZD zeLlu&uKps)JgN9)u+3q-acfgQ-hy5Z8ARx3#m(Qa3RBM9lx0ul6PkxMnDUZO}m zkEv73zIvi_;?z;dVwUuLR~Y5$O9C5^ z)?MB3BrCo_5TbiR^A#-5U2!AhVFY^KlDFG}PiVtA(cy-C%jD8z263?3BS1T)uT&c7qI}(_PwTn=WXF;}sP1(Al!_*+Wt;k+FO(imA<$ z?hZxA=W^o+@&rg?5rm}d^;p6wTwm9J6)Aa#K=S7*Xk+$ZhE!jEF$F31yhV+ktN>UX z42Ad0C0u=x46Ebnq{*HcpT=+P_Cm-^zD6#ejIn?Wf75_9k3m5LX@(>@t502#q>2mb zqBA`i2XG+L)To+j&Y?pc@Y4Wa4feKe?o2i}E@o5I4t$yYVT|_PNVCw9WPvpj;j$hG z3DlD@uZ^EKx#hVHR2G!Ox=V^&QkeI@^iDH25+k=iEe>86s)BdSEhx;A-v?=s;qmyk z6zYs>`lLc1?wE7I8v0Ea(r(&L{+@2F!AJ~v8yNT?FwJU+X#G1xlxvt+9OkeUa2|ze zJxKE(ClJ0p2hirFr1=K;ZoK$j%3pO~AziF)eER(}sGq>Id2nljMTx)gDsV$!!`REe zC=6SW3*V^>lbd#*lQqcYQ1wpBkTq{f6ze;jPj|Fy)1|2Qd7it&O)M`cCQgxvO9~?U zGYOUN!~ab%e&rgcHt}(sJ`5h;zv5BMqiCLh+gc{dU424JNc=voPBc;+J^LiBCxS2s zV7y!?RJ|2fxKEblfmbB_W(m%u!QzF@UE)Po-K=*9@djFK0DkjGohY#V&PH(^ri1rP ziM2mK R*>0vm>NbV8i{m$0{s9+nq&5Hm diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0167.dat b/src/node_modules/crypto-browserify/test/vectors/byte0167.dat deleted file mode 100755 index b10d7461b9a673299af7d55b01c1b61e59448b57..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4993 zcmZ`+y_sAg41DJc99{{O^4f9+uFP~|N?2zO{Oub3kANk32x&A3NpO4D_3>K9-wVbU z8>&PUSkP*kb{69d~+wQ)T#gxiv3zU%&o*S z2S(;LO|x}Q=*36ACDbY{r@uvwJ|-731-#Ny$5!_}3PMI&jFac(2E5}W>^G__wmJ|M zbzG;1w)LCc4;`Tlz#XCmJC9r^E(|1DkNi>wojhsgjG3@hJ>FDR_ApO6L?+i&qy6_$ z$?WB^_|zw+_Qo?1CXGPeqU)gnNsa2pn4$}s9BBuey5>q3C?|gik7KVtlZ5*Z_h-Q} zj2!qo0QEh)@(MzH{YEg$(N?K|R`XDvsENN4&9l%~MSBD~Yy66`UPZ($aRD1Fafcf#1B zF`<6GdNDm-k4 z@g)x^O3M25-yIFDBp0UHf(4TR=sQR&BZo_EXBtDSa}A!h+GHKM%ywfIg0*Ar;0@{F z;e<}5k;!G18%B^^DHhxQljw0z3x*;-_-&_+j=!$WQ!3yA&1~HAxL09%)VM?18DY_G@?r@GBT|IU z6#43)Q?ZJpe@BLJ4cw@2Qhogd72o&S>pgkiftW>&1xqdc@fzruE={s13W$+)766wj zp9m&TJwW4+-jRtsI;MWEvFK}}YzK{6CQ>FvJU?WLdzrGJ8_^Dnvn(Mhx-GUG04_vN zqk%HS!nXA@2ymnJ^gk3PK^f5{&U9OclxdHPUJ-3_pGHYqm7Fs%sB$A?G}W)WM(<6W1b1PI+|>xUC7*iWro_vlQhYZ}bDm_X)BkeL9w z(SYQzR2$cOvxMtwN3ha0$~H1k)wUKpp}k46v+k}H33ZEI2R;_-({ns}E5PdEJso4x zVB0h%Xp(hZhEQilTn|%I*ybFB%)@Mx?H3akCFK;WRA0a2$QME;^OAz$wqrv7V>oCOEC$~g6)Auj=rW#3-#zR3q!xOFP{yac?jHjB7^nkps z)$|6Y4E~io($bu(a^Nv7QZ$x7CPq4ww*!^(pR=!g`~_MeMU`V%)Q z1MN_`tP7&FqQmXR==DMwMxtyYJ zNMIaXs90br*?oU*Il;ehWqhLITB@zf@Y;!F77EiE$<_*bGwVLLI#) z7)wN*RL`py9)o0Cx(F-Hy;10Q1;}!bPbAIbBS!?|HL;n!@=J6}0rHct!!p&=)UO7p zo7%#9esv>QUA#rdY!Q74^%(UiA^cGc#CDDqxLD!y43xRzj@bbtBD7&3C1nSPbs(Lk zG;(vxMz4SP$3jZd-5RADlfu1ET5xK=RJ72kLj!K{)hLVh=_^yyv-`bvRfhHZq7?QL HM4kQzTo$ey diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0169.dat b/src/node_modules/crypto-browserify/test/vectors/byte0169.dat deleted file mode 100755 index caf4906ff11febc8da34082f2d31e22dc0ef2f30..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5249 zcmZ`+$#ESa5FM2cIw}NGa0Vz8XEKB~H>W`e|EPmXUyC1)+M0-cp1pij}qRFtvsc0F4p|>O03? z>S@lUB{<4`DCKS`0j}qF)Q;30=g6QK;h1|y`;q$>V5yd1PvS^iM`g>Y4r~~=Ov$lV zNWmU*^8}H9(IF#vP{e&oo7poInAgT$n6rK9pVou0r4}M71foj!M)G#c8ijE7f=)XC z=;rhoG9jQvE|Fu^$hm>A2?=1x&T^i!L`{OOQ!6-9$BKiyT95=PHdUo7F~oMYx#UZ_ zkIkFuN?ukYCYBbw%h{OkI*x9N3D!X^adKhtL?N4cElz~|5#&&qJG;5er`Y8xQ>TwA3|#M< zzfnSk6ycs-pyHst<;Mb6Y+CAskQDldzbC0$Owu&GthF0@E*KL>x46k>(@hY^aaK-` zz3GVjFzMxROTr_PyaH2NvC0znokE>F{93r+!ofcrR&EhS(c|BTaA+Adi4rHT=TcjS z)_1L_7+NBX$+6+l6L^3@+MSDB?vrrzl0(#*sx7e8w? z40%h+fGfJ=NsEc19*%gjQ)a&B<(V|34!;ZZF_8JbouN2Nm?dIZ-f^i~s9_1UZ1$bb zGj=tzQ))^(tcoIdMwhOD!2$>AjR3*t0a=;{L$g)BUqlrvjwsw#H$%Q-W;S8j>!wiz zUVz8(MRnu}vDxAu%49F)2l|uph3UJmKaonA;iN;BZX{rIMXXmq`p3qN1Os(SgNwp}Lr@%m%=7D$8G z@}6quQlTWXMfYs=vCyBkc3NZ*e0M^lm;UiQxy76ua`7mo5|=Y6iq|D2XI}2fjuW7e ke{e+Y*V0ggEwofbI*zx8PTG5i5YDLc9~ETnyfc~q11!8X7ytkO diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0170.dat b/src/node_modules/crypto-browserify/test/vectors/byte0170.dat deleted file mode 100755 index 40beda0c5cebdb07171e9342a833a1f7e4feff22..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5377 zcma)AOK#jS40Rfyv&^(mVVji4dSM-i&C5u z2r})z26}Hf2i?@*qB(Ipe0hr-TQYm6S zb~^GTBwczl$c8taITFVr5JdDuDQeMrmUa6##=?Q)3lvSDSb_Q1LJ54De+V`nrg`Vq z_3*(SdkAv|ig1*cI;1>#7pDnQ9=Luh{frLUj!ef&b*cXh+`E$wKje{BD3%@uq0edE zi8lFmH3?=80P;GwO5Hkl<(*aQtr@`agK!ZHAJ6{+7$hzy(yzX#I0TdG&-KFCK0!mp< zt1Y=dtc?M6l)~*ptOcvXewZ}_04#`oL@IMwyVUOo0lzDgtd%ldU^~g6kDRokDy&bE zAQ(y*}VUGqO3_(!S*ko_|Srfz|nzlV^jW>^!c;QdMhl0?V_%s)V$ zVv3t8hwoezwH?yMeApKo;75BcNfK;!`i!X&;mMhgRq|H}xzaH+BB@Vm!uR8T-?%=; zr6p=aitPD~nuN9@ttJNc1wfU$5hq6h3%-!mpXQ+={T@qkze)3C1N`NoVGK36#tc`Q LEPd6gWr@N+8lcsV diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0171.dat b/src/node_modules/crypto-browserify/test/vectors/byte0171.dat deleted file mode 100755 index a3b06865031189858da367dbe39ca324768db66a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5505 zcmaJ@!I9lC2=$*mK;d;~sXtBS63d+0ns5@OU7EWnWi2eAMe^ zOmlJdx1&}1aO-t-)zbVEEf(nvT3LJ_OWD-_26VmExaRW?#JZu#9|GCZet|0)A=Pg) zMK6F{wi%5R7%XORG1{+CQC5E{kAYBFM$frr&53Z6k7Mcun=;XI8}y2M75?Nj^FEI1 zE=dxfo2TS$Tig)qj3Qk=>lJsgTt+f;3~Bad@nS{Zrk+d~qpTR_K+wp;B~S*LPlI2v zLD2x1E^aTZcmX?$LqN~3me`Mj5euz4ohz^+-tOaW~O0msKCL{+;Jli$fC$z(sMSYT5kK7QIV>p#^3^9@HQP~$lcjI)zVWKUAVW3VOo8%fj^b$j zy!`!Q@Nk4mHM7XNt3AzS!8iNw1jLg}cLF1+=HJS;Nc}<+vb|;t*f5yyacX0?^?=hT z*ZaI4n#j8kN(UrWI2xF;&IwP8_esuZc@-f_ zeX_I~1gxsUxmgAvR7MQYpo_|ACurWnEK42&8T-|&oum#=XCu{Tnyy%^6z2vO#~elT z#<>AN#29(nE8<;VyE|PYx$SkBh@QfLQxX$!E2_ewC7|xH)3(8!rU4Kesoy%$ukht}Q11KAF}8%~w%#hJ71syT-W&9lS);($KqWqX-Qo z8Y%)oW_f7rW~AG{=FHI9bv`5qTe4bGkPJ=?$ne1!eXxCOIZz5rBe~d4g{`YM%&=k8 zR)O2|&d(3v&Pr4%xUn@duCZ8J1h-<~BEVd6VimWP9lv?xV zd7g`&*K>Zxik@B{iEx$O^?CiayB<_b8W>c$J7)hzia*2$0&jpV3}(jQ!WE3N-9g~G zK-r-I5hjj_)*VnfN%b-52&O`m2jj860RT12^L&=)Q>SaE|C^fnXe%o@bRq>B35|SI z?(1rkoSH1GGGq97Eh_u*k6KxLXvoKcYGMQIPe-Z+vK{x<~oIg_)dRMYS+21`MS-6T#T1D2F zw|(i<0K!Q~DmgKkVkKllj z2{lqpO7+vx)wT82-D3TbJbOPh>ut!_Gt3SKLx;A->Xe=60jv}Js##$1ntiCM`iuK1 zx|L{p@HCf<+NV8?e>I8pS1~B5hsRUR;;J*I74Ox_`dgU+ z7AE)4AU{r*d7OcVVlWquXx5u?Q_DI7qEcRh5 z%6@9N4_q0#jp^|KTnmz-GQ*c8ru!{T!+&jq`IFYhL;q_|;M#c6`-L-)CR+Qu43W6%AsY z^w_ip)PZJ+Hxq@jz>SPOy!IFYateF!&B;#GKk$tUee=H*!rHf8c2D<`D2KLDIM!1M znI1_3ecX$sd5gR#d;m=NAa}k7o>5WDDsSe!7tvn0PQ#FqPiAiGBG`E_&Fe2W(c&)P z>e^CBukNgfxIM5eE@}4~s3v7`tiEXU4ZDMcy#qyq!xC(U2B@h!+o8vndpKB9nh5V_ d^^oHOd{(d)uA?0b$mQC&LC0UbEE8d_^gnAWldk{( diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0173.dat b/src/node_modules/crypto-browserify/test/vectors/byte0173.dat deleted file mode 100755 index b9d784e47e96159f5ded4642317657229264809f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5761 zcmZ`+yOrE94BUGcYU; zd_Cm(NZ|dgsI}qzH0beu-!ha=lF~GF800$ zQrHgRX*uD!xD@zWW1M+!&QP;-=_ltenNCVw9Z0&ZzAT1N=;;bg{N(Fe^wJ<1w-8Fdz1LCQ+8ABMI%G z6bnh&9)(HC|G5_I$U!n%NVXXEE~z)Iz65n<*pse-I8@>;bv-O*>3O=gpf$t3Fcgqv zY5z+q5{}p0#p#_cvZGTL0Y9BOjW`RK?HPIcYyp||yx6i+3Q9&mNt!RxaKbcZGDC-^ z=()z$Jwv3syBgSvI7ffA+m-IxU*)o-f%=>9NmvvfNTcx*4 zwqlqv_fH&L>X(_Za=y!y$$+3ReF;Xz6DPFE@YBGcEG##l__{(D1|H@x zu)WBOaHB-7YPm)|BjOJ4ou4b~WT%YMgjNprU`6-uJ&C8vEx(O2YmF|y;3hiQq?~*O zt!z?0FA$$H7u+@6kl@pX2SnfYnc5Q=0}GP=2z-=g{oTv)_ZD{12ZcLstk{u0BBl*_*N7+c~5Yp8xEx>S9|0xf%y2-AX7C zg{J1aeC#(9ikS?teiJL?9}%*>S^d|8JhfGNgyXQuat|lh-!z%Ae0sO!2LYMvC%t%1 zv0mv>I1y4QvBnbXO`Z&9cE$l9nREf#J>ZmNF#R(j`I3wqGz;^nE|z7Kb(vz*F|;M9 z5^r-I2APqU5OdN%CGQ8kB2lGC=!6jJW+lQ_e!ZG_EONT5wi_;9|FeQ4nWqYR z+mqJ^zL$qVn0;3;oi>Js$lAI{LwVZ%#sS!yW7^4mlGZZ848vSx%08sqHOGvx-Lvcr zmVOc3e_eT1bfU(wWlq~jqzVtu`DXW6%Jxw0Xmf>nINUOZ2xCS}z8HWh{~>|C*}v*b zg{nbu%qqniDUt`aT+bwom7I;iKXpJ3WsW#~0NCBIabssA(nCH2TT}LQGugE%2(ia3bMdo|7V0219|G~O>gMdJD&0@*z8No3Dxno&90_=#%9}O;>m0L>=G#JA1!ge>-+vd#Ry|rnbm$faRfa1dFXMw;tkQmNs7z5o=~4n0eaL zLHHn;)}d|ibuau#u{YXh37>}#TQEhgIscjL0Cq&u5`5_tzafFhrPmb- zrO^s&7Plr?Uw-ikOj10#3|_|n9xYu6d)pQ|tpV3*$u*yqz^tjR`Y!2xdV+h(#g#WJIPUbKGIyHH3CnJUnnA0KNkum`o|` zDAHZzSP=CEg!YAOJz?|?!w+1E68`cUsxesZ^d!m<#6`bOeFG-DT9r$iB_w%CMY8-P z3+%Pb{afNqvsI}o=#0}p9mlp2H4;oec2tIEQFVYpjbc(ZeyZE%b_A?i^Yd7fsFJ)p z;?y1xX0rukT8LL;8O^swfE#hqY`Twk(U56|IihF3%`D!`k;X~ki#+_{;;}x)wvpCn zCXcasKpco5dxeTur$7r68rbmX;8F-6Sw~fJ*6qF-*oDfLK5d{DoX~I2WCR^Zs6{#P z#^bvEFkf^%W3?E~x=A;zMr=5sD|Y^4Bt@OG5Kj{IC2;y{@C9?kTK%x2@AamD%cS#o zrz?UnTtxH0R5jbCfP4*;a-aN_K0W=6g54hr-XR48KcUWEU{%6KeF=_&N7eQ-4ahFTg zOe!T_s;9hqarTaVN~boJeaCJnnaqm{n6*YO>VqTOHFdI6zJ%ie C|548X diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0175.dat b/src/node_modules/crypto-browserify/test/vectors/byte0175.dat deleted file mode 100755 index 5c37de27f31f5abd0e3d86d4f4dc2d42dbe06b19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6017 zcma)8%Z(j54D7)G>!TAeR+(6-I1_bfx;c#1X5ix-25yU_NERtQ!0*uFr&y#Yw)#B} z{XVYKud;7{^Z+ga5PZS&JRxiSM*+&Q1onWF$}c0p+cUUqf@4hQd4jUh4JsVnsGhsYb)IG zWl^Pt0BUluOY?~77Yb->^2cZHpSePqlS;#HHoR?9CAhFV<;j^Pkq}8(d{zN`z_^IT zo~PKgXTvB7aaUGSpA&MbcU!g-Kk=MeHrSDTU5#M>^KkCKFP8;3O-`G-D*PGLKa#Yvxrqq_% z?q(dzmD#ShTh{O_zy;z6AX6$pP&B|M6ogIr^L*PeY6~_)O)O~+2)FTCFpeSf+}1)o zkQQ=GjQ!9t%$fxnPZ>n_6b#K*r^EQ<;0=YSTT#Nz&lp z_w_2(=+tj(0rNfzXJQV)n~D?314eQcC>j2TJSO(-6Dcm++J0(UH>6x*#O`|uxiH+y z2|Y!`ReDgT0zoWdJD>-LPi&54{Xevx2U~9=LQX{7E{8)|Bh*`_J6hb`IFuf^1^2UL zm=Rw_2`TF4b8D)lwI@zf;V$%$S3P*MFcdK7;p7)or}^bZi|1!a=I~hGLf%*f$gg9p zyf!I1giNt6R#=XGVE=&F?;x}2BiPaP0~MDYJ(*+1<3_N7{~8Uj3^Pul$##Cqa(Y@% zFw7_X4(6#Wj$^~Z4P8#zhSRl^pKNvmIac>^2>H;H^WFuNn}KeM0Th)RkS)4MJJrV# zbY6BmI`App{I4s(^piIdq~wR2XyNClTZmdDaIFXKlyxSS->VF|k-X0?|BQyljiF7jmmtGdYv&p|fFoNkWG*nRA%LkUfX`!~W7Rz3NThijs=ysqY)a4$WmNI6X3K z%*G;Gje&&fu_&#*7PoamH`kYhyA5qHq;7`d=~v7Xgqxjh*{ou@wAgoiB?QcS*R_py z`|*YNH|HV8_2N7qOQJ1bU-R^OC0NJ{EGvdzhe%EhNv(#zL>BcL6l{_b3H`d7aqf3> zXRGi+#r-zL+TZ2A6Y5fs`MC!z55%U?J+~$hrzUnnL%2#c3|xca-(scs+a0bBs^Qohg*jXl za86}547Ra1fl9S+6(=to5h{_*jm~D;&g!JPKZHF9vSWau;41FBC{#c`5LjbUlm&d&ESH4L?jjypaVJaG2<@#A^($FhKV3?ydU1FK7%q%hkUt1p z=Ol!7B$hB-zF@Y3A*X)k}CH<4H$$&R>lef zzH=NN5`N(?TxTFWDHsKCi~zY$4a55E!fWaRBOW25?421B8vamtnXPwap#W4Nc9D@) zYVxX(P&9~wmH50ozMCuNDo2@_!f=Xy7@Z+u`@dlb`^(2n zdj6EoZ{1uZ!BGQ-bfwWu9zzuqT?kzX!4TNJH)eAnn1pXxu=>p@fiwToJp95*>m*Lz zpdCjQB)4wrBC{Cwr}l%utPKJ}jfdv?&ONeg|Ip=bme^j1~@- zOaCF~jl@Qvg^7!y)mNWA+K2A6$XGK@;IM8fV>2Rkq39ui)SZkdAfnG^jY7KXg!Pp?q5S{3X79ZMN2rYaSUhn+`mITJx#4-rWo zvrU3>&rxwOl8eMb{0>Quu)@QMfv^?|rAc2&@@qdWK;Ko%u4uA#2Q^*Wv3vR@%v@3K z0}1RE*>79GKw3V{oA6PY8u`rvk~a@)Lm5bxP&|g2kRk-^rOclu{Rj4zUA!zm`Oss*sHq!f6u8 zMF>5I;(Q&^JuP4rj@Zlbn5iafBhAJsjiG2wqWBoa8A=jW;Lq@5lrHd5PqUe1Ti>x_ zss?83hdHY7;p)-(=BIg`Wl^VXrfXQvzgK*7Ov+zbR<(70up=LR3r-(ws|vH&_oTWA jHkYympyj@y4EVU?2_hQTyRU=5xBZJl{^Cj+?|drS#xAr(ZW*`=uz0cjw&ya0g^> ze*a^V139M#RZiE&A){;XbvJD>#)oYnlN@g8dhXq*WXPJ}rCDGuOPc$ps*PjeH*G8T z_q3=O0q|PygC}07-UA1TMO(wegZSKZ2Tw59BwXileB)`3rN+wsprVV9$yk0D2_+mA zv6s0IJgdY;2HEX&M?jLqUk_#LpA7KHqS=_VA9_hP*($Ryra`Yo@$T&R zp)w=v*H!?d>)p}AdOC`{wK^_N+|{Pqsg9z#LyRa|zt5An`wg2i0_|>Qxfago6Qspz z2EQ#7b8LD%DBTdzpoWalYk$$h(?6NE12C>A>MJR|yJxXZ&_Q!|INMf^8$0(M@+@t; zubHbYHHc$vp4~yeIOYl}Q27M`N(jrK4+mVC{fqvAPeo+QP1nopm9fgcx_za+ zc&EeETH&Lj(0t)jM=q0^Mpc<*ZpZP1Fhv85w}pQk%r1A1(jdS^ll4%^FiT-B1u-#M zB8_uJk!QEbP45Rc3Bs~O?LTn|t8F?K@~bB33*_0Xpn}hKY825X(la3uj=Grt`9(2~ zizHzfiw%$i2$?6xmOa@sKvb_UG7r|>k3rdmzSzL=A%uo$#5rrI2~lL7+{hRE+bya! zQsT3kW4b1;9^RsT4p3kG>fjALMm2#QkESt)%A{L$zc)ulYV_tRCOQo}zT}_FqTaWp zzAPgc3JUY%mD-m!xStSfkRX|W;w>$sU?K0YvWV>)*x_5jki!6!nOFvct{KroYGb+A z>~s!aT=sFT|E*7uY<6mf9bg&~-k+9l2@a>a*R4KkKluaobnmn-j*SX6GCb^+q5frV ziior0It6$uU-ZVoW_`wT#IOCy$Hd{7-&T5bQ-O<#!*`8-$@iq{Bm=4e$1nwRt#-Sy zvecZaYA`1VR*Omv18(bOx(Y~6(>_zRyMwj+o}F^1C^T1(mX_18OYek7X+5powqfvA-l7zwS%uoCCJlQLuEwYR; zf#v(!YV1Z_MXiukomhCYU4`Y0=LWlFxO24>Q!Jz&o@a#~GmshxHoJ~!KE5(JzvdKw zyK(i(hPXws1BkF^+>m(F5Q#?wU@^}DZ5jaLrM@uRp#oA(02cMx{CN54zfUKz8Ws(2 zYC$*HQ8`^P(bm$Q+IfBN3`t~5@`i{?rTL*cDL+T~MU@1`@~Hr>B*@(2z*mnWSO~vkK&`rN7HVu;Umm4UsWn^_z}<`JgSNXqG=F9e$M+%rn}8E~xSGG$QG9z5PZf-;`u@_I#l1JL}hgT8n*R9{y?tl(#&T0c$Y%{OtTu?5gQ z-fk4oUts`=Hg<~oE1-kqOQh~0Kzp#mxs)fD6tiQLwWktj(cR4gH!~r-0ub_ccNJ1b znW;j>!D#9H&I~7QDyKbnz-14cVb zfUk>Kf)^uh=h_5!>OswYm>b8Cw8#5TkZqFQX?Gn2*v6^4$EIf!jqI42X8X zGKlV4?QXDbNrH2L@ALOeLXih%t$gRcM24?_f}Zx<4D3)hfA*Qw_lR*%IM34X+t0bi zNK8=Fl|kO_?RkM<3{qBA3hw0eE^x`LY)vN($o1VbY3UT0JYIBST4f7P%X{*{)Ymt2sBW8~ zIkGM9Ni*C4CUG$+4?Ig|>U07i#O_46BhuI|Ii``2`wiR6`#)@FCPVFekoNPpMP`l8 zM+$S%BJ?g>@cw`PHa{G<5tS;=SWnUrQhHpmY)deQQ6;G4U2USD;7sB=_YV_bU&~(^ zf3jQt@4~vJG!ew7LupO{kLptNQR0MZY!=KdNDSLwcCoHy&2PszmBnag%$0xMn(@4S z`R2wJ0q@dCazDx*4Sjf`NicJo6GD`l-kBhLg-a@Y$Qk4wGnb>i)MXRyd!;-{Ioy-KYpB&;9p;n#3-T zN3O?w$!$u|gM=VLsge>B-_hbt59_*ArtOE$iQ{ycK$m|@GZ;0@%YVX>h!#B=Xc6=U zN%?s?D1eV}zYesbtmg6@h+w(cmnwaml3~M2vT5ND#BMQgqaLp&Li#O6xHI1tvH@d6 zCuLz}$u74Tj;CFURjCC@z&tKN)Ca+C`fCSw4s3uiQ~dQ!2g%V3>nIdWVUg|C6B{!X)N{t*@(2y`loZ#OxDj^d-qHya;CyV+*>7MWxK@zY2+HLi*UsA&*Fa^7(~J?$r+ z7lQtT9i)K}k~{tBbn?!y6Bt%;Oz210|79@~pwJ{Fr8MjY!i?#?yiW`N;=)S1%(L%xT(~ z30dcw8OD1Oy<&oaV8NHwFWli2QL3?w=dQ zsXLg3A-4L}3~4*fu+xm&_A$TiJQcPXlif zG4*9iws7sndRsX}N8+!gmG%r39elW}IyrLctYMHW<4VG>@!h{sQ@@5SQc$-u6N7dK zF-i>}D9S;g5~D5TNLZ>|pB0F2kyFtkB z74K|5(JTuXeG;4M1r3J0v5)*Mtmuq+)Tv6eXTPO8jBFbNm!>|G#!76vM8?;KRYSU7 zVZnfp@I;t*VplmfMZaVyUmsRWuGmnBRgcxiv83XC4vN_ahQZeC0O_iUvUi=c#Wxg>1>Lb$ z0Px-+(+_4g@h+*!xbMaEU6Wq=U?5*C1+9EL3(P_wW%CT(#Vwn_9dv>fiEQs+dWv)# zy%oQxWF6Pzx)Zgh#saN^-1cV+9EMxac(u$cvU>+L1*bED4na1hu~CX$tn#vA?~b}l z+X|&3DS=?)OZsUlB8};wA(yUPul29KrY8EGFDbTNleTWrZ5axt!4q3E35b1sinZ0% ze+t(m`SNvPxJ7n{^v!$%{Z!FYGY`O@18^mP~Qhguj9OaMAb9|R#x%1yNpT7 zOqG_V)6=G1Z24{iSeMG>T%h7gO#}G2C~fq8yl-73e95ZGC?7;{G8P_|cRQ%_S?kKO z4i)Rqa9HuEd+YsGa8y4p9*7H&CxL`tVyo znE4?v(Vpf4W5mrp5O$TIh}#?(lzNy6LP(>8D<}?Bq@e3pem5> W#g%+qIsa!6a@dh-k+@#vGSGjvZ8!G- diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0180.dat b/src/node_modules/crypto-browserify/test/vectors/byte0180.dat deleted file mode 100755 index 157703c7fdf4dcb5aa1545b83b7b0dd1f2abbd97..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6657 zcmaJ_OKu%G4D7%_ycxiAg6Jr^*kGiib#9^~%rXnZZ$wfgi-lMh|IDCbt|V+oh$QIQ|Dh}c;3yh^f#|ue=zGZU&pSolF>-0|uO(;|Vf{MBNY+2e zS9>y`S^}*o0|6-iKyWt?TW?cYXb2VGM<`4I!8k+H;D|;bmBjrSobC#xO_W&kyY2DI z@?VCEUZ%UV$XjLM$N4K{)~ligEFpKRSsVNP9M;!Rm#x~OqtvCIl|;>9{lywh_qyH| za9=vcysU`2Bguk8d+K=Y9`cGDihi2QgqDZPbLE<_nwaizru5dmZ#x<4dTs7BJ5JhG zDKjg&wIKHHyT&zEc6O*Y4sw7;MDl+&4%?jzUCGTeJ+&V8&G;ej*7O1ubQH>Qeja+g zO1Eqz;H)Om9h|Ntn4iiCsfPkQd-l4=+2d8cr{h4mOx?l`nC%G1gG3RZ)C#{2@oXBF zVG|-9W&6k@gDqTNt;Lel;XX3a0wg=uP>^GYr=rc|G-a)Oo6lmmq77gcqZ9$l3G&-( z1RWIP0$UXG@k-?faKVc7dQXJ*h;Eg)nNG(Dtfmx=iL3cpIDv*k{KA9L-6U0`pS{|E z%(#R*20@e}ZNm)d$!&@)AJPe?oP7l;Sz5<(>#`<%t1fFzQTykbaCwI%NUK-x@64t8 z@ELVUtM8|6=jQ9Y>I#f&8{s1}3;F3OQVT_^&~hV{?p}}PrcwJEf!8&mBilenCOGhb zU<%B02j^5OdXs!;>uIVS`BVet)SaBbBkW!NB*yaIdem8aC}DW<7S #}*w@o>|rOV>=IF=-LW0lW+&2D z-GkWD9UCOYdzIjZ`P^WRB5s!?9{>Ofa&~jAFzdaLTeM0dJq&Iv(o1V}i(5&uM}d}X z3DpoLz#byH7{CQ9Re(>sNdXOoCa2;!4 zmJj@1EM91jEAx6n)xJM9+5=@tK5~kUi;ATqcH}NyN7(IVm42zPtuydAiiV7Qylb!w zVTwjYoEVEbZCw;vQZok$(;5xkPh9|ZjX$h$ln1~A=V2tV7^~pB>iny zwkdqVQ6sw--AJ`(xFboGF*jS|04$h=FKFKG`F8;m)WSiw#QHs0$5`@&OJ`93{eK?D z0@he7YKOzs(9iNrUfeh={odbgJ``XVY&Phhvhd%@DypYesULA-)bS}+*Fo-g!4x&Z znkU%6hvL&t=zk#ox&D$Q>7Dqx_Ke)R8*#9AVp0`5mAR%INS)3a#tLi}L{AAp`m@M? zyG{2ef^Lqg5Y^d|UIhRoCby}3T@$<=nno1);f=|EOKxJ0d_nf0iS-7NV#;Z z{WR2_M_}Qf2cDKB50NV}&tQuP&^pmEE+5t0^a=|9)&n9D2hkm#Ijmr<1m{8}?)p1nVJ)n=?EpO!iPzfZT%lUyG{Q9 diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0181.dat b/src/node_modules/crypto-browserify/test/vectors/byte0181.dat deleted file mode 100755 index 2c08362b08efe0f7ec759f1b8c28e62daca86ebf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6785 zcmaJ^%aJ5049$*?m^!Wrn1W*y0j8xViwSj{L&xNR{t}`%6#6_p2@quWb?xKp*~U*q z5#qisK=(wL-lq^>38GE0ujir2omyeI zlSzuUMcs(n>}2?>Br~-R&82{=s2`+md{KNoL{USKsw2i29d_0fk@SudE!-)MS)idu zv@xIvS-3kk@6|LVNda5VfVNx#ZZl+kv6@I1ep~pG>!P#+5YN+>a}ABPDA3Nfr91}UNKD$36Y5T~vTXjqaT5cu&B0O9yVX`YKTzTic@cKlRBrr*Go!TLQxk<#@#k28w@Cj@r!V}@n3s?ulss}Uy*lJGD2>vRw}hy zuWKGBDb%xV2KjEI%Ky63wU31aeJl3lW2d$E4TJMfcY4xWd-~!Xy8e2BL%)}vl#}&oZmjTpd#q?!Y0@Kvs7&DJbjLkpX{#xq z9ZZ64Z`R+$LkbE)Y$ks0=U&hV0aI=4GT*OCHf>YA#M3pBeh`-YnEK3gj*?cu@|uu& zL13~R@GtJu*!J(#50jw!Y@%82eTNs!?$af4Q+PM4q5R_z;%Icpk(TY6(SpQ&kC;^nCkS!Yr=6Agpc%#`NAST$N?A&#(>Kem|>Vu?|% z6ziwqfxkfAnkS$xILYoqL2J^gpxTo%d0pE?7K01osMD}w*UYa$ksYeg2V3ocg`a_` zs#-QF7L&Iu5gBmVn8M{S*eO;E-`Ny=Y|=yDNe@wiu2e3ooPax_iC&cvx7H|!TF@rZ zmL27Vm^3^P55GdfKAz{F4YBO!nXkf(%2#Pfz4-PjY9ETl-MzUG_*%U2aM)N3CEEnA z!iTP-ua+g6oVv1RG8l1?+%*YG)dqX#rz+NtrepHa0Cz(rK>Y!I*wXwfI62*i6mkel z!Ib`YgbGB}j_qQL0+hQqTz;EIj7GirdW?1mSYef6$dUdEW+d*$1ar>(93mv2@cDZE zR~rb6VOg&zH&O?0LUV&7{V55*0AF(GViKX*BIsWUJZ#sxdj7LgdHj(@C^SuRtf;`{ ztM;9eB3RhM#`Kuf;dE+}<#J}Cu;E#U>ZKX~`Yfaq_9`*+aT z{WjRd@By~SP#vC1laQ`h|G*%^xD^NzQ|K$|05g0zgHu9LAF*K zX&g(0rB`8lqu2w=sRCBvb^xQq#@U}m-x^ApH!%8->F6(}!^xOq&gzh|w==@5T>wT% wo+rK?6J-|>kb&(*SL(Ono+6cUgEcVdUUhKWpCZoNnB!?^S45A5PeD-s0M@z2xc~qF diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0182.dat b/src/node_modules/crypto-browserify/test/vectors/byte0182.dat deleted file mode 100755 index 935f5740be4277cf66c0ff835d559bf96ed9c71e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6913 zcmai1OLAo=481O=;>_L-!WMc5cWF?SLAJ$G*g<;eL6>iYguVzjgNr^#M*;+Xex5nL zE;BxURWv4_VPGuY&nJs>eo@#@Yjg6Q@N)jL`vwKq-Sa$Ik__ky)MDO&vynxPi)heKH9Es}!XEkI=pl@(RMH^p3+T^!kOfSktAP=dtDlT#^RSG}uGTO77b z2j?r`0^T0n>tc}U=2Nvv%`>n&N>NrNgAI3MNoH!uxHa}Xo@WT!2-OrEL}Yu;x2h}6 z+p}b!kqHg*Dr^jMx?7V~ap}fm;^I3DZSdKSu(K!5`-NWpdu#e#YM#a|KAuG&nvs;$ zzgwLsvGOI8MZOj55cRq|vvH6JS>!HmPB2Wq0|46;cHJ!u(?5LRmQf4IPwHiY6ubCz zvXmlkN2&OSuAV@Bi^X$bSiFL|1=Uh7Sy{X{?OGcTf#=fushI64IQAzq_<5#GOJi8E zH9Gm5FjvIHeME3oD$WG68cA~9!K9H&<8AmrGsjp@cszO2^;neLk;P_>5@GWv&}gJFjFrMa7N zdN{^}_l>yZLlBaiOf5qDcd(j1MIY>?}8}xaTh(xFuIT8<>0MPZpOH&|J_waxzm@0h2 zz5tW*1n9Ufq}W5KR4vj6c656iYCuRM@huZ0WVY4$LbOj;<1FZyvFPM0F$-lv1hE5+ z;I*As^5XVAHgAdz8Jx+?)-RP9KZ^#}*haJQkQn@ezBi;8+^QvD2`{?`(fJ1%Do}k( z0&hGZ?U6kLL;oUz{3`{Lut0jeEen(8TXoOc!tilLy?rATwh2PU_dy_COhZHUO-La5 zD%$^)!CoN(!KzTBN7oMf>1xwOtnlcy=W{C>rT_3dAhHGztJ9Yblcq($-_fx2`rAA6 zW%q0KmRUPjHRm3a?AOmhOu-Ose?~-YW!a0>j0-ZS?D+RmD4;0=Nrmk3J0i~LH-RB- z@$Zyk{EoSWE3@C}^JSl8(|cMIxS2{wzQI2KY6-x)2CnI+3v29iGo|Xz=9G$5=|{@b zfQb9#rGP`vzeHHVWUpn@1XjX>7}m1nJMy;#v`kwq7>iA4YLA4gN$+UiI>>#91yOH0&REesNTz`>aFY7o7VBEexy@%f0Jf9 zQyoAtWSYass}7*_bP!Wb6?k2J)^8GHxJ8GYpgM9)#9L*tm5r}q%}y>DoqRZiwgFnk tR^;#<2$6X`{b>w0guzR2EJy!qgVK2iC_X*X{{hpi>wW+L diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0183.dat b/src/node_modules/crypto-browserify/test/vectors/byte0183.dat deleted file mode 100755 index 7f76afe5251f1436b780f3010b2015c243f466ca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7041 zcmaJ^&6(UF40XOa>~Tt<6t|L2pfq=o7F7reyn7tuIiKD0 z`zUDo%Xs*GJ%3;);`@1;$g=)GB9_0!w$_(NvFRC+z3utE9FJfGMG|OuegWpOpqXy0 zu3QlGI6}fo8Joq9Nh5}jUR3f4Uy%TbwkG-}66 z5Z}m|Sd)0ZJ0AZ$zoY0f>jvP*8*~2n6>QlhW4(d6Ua%qY_1qz~W+8G) zjoIW<~DDlkT{=uA73^T1uzfIp(ET)=9vGTF>M~z(=^-?VlN2QmFsLg+ZQcrdsZAZg z#v+`tg8Z%Wb2VvVV9+|v=n?bTUo0*ASP-3cz}*Q68SzGxmunwog7@~n=Dbu=WnXe( z?bh^TCV+5t6t#fR2F?08!8S$LxP>*{*^fCnL{ipVK(<7OUIutYMOha39`EWxU0dJG<>jRJ=^k&I9 zt}bX}CI>Dh&z`i*Q;l6bi_z*v%-K3W{-Mm*?xR|jHV7>Xu=Al9sM%+d`3gdj#m6LW@YEDd@V;>^B zNPN7L)3CpOYyc!DG9lGEh9<6@>!x)BQ5+3!ea1?8B5G*)pf5#`pl5%l_kdD>(>iz| zS{lVa_aN`T`4htRb26_)TaI<{s+8S-G>^;JIc147Moo+outY>}+8>Ta%n1H}|tpgFV9>(`=v9QyqGeF1_u$&K0 z_O9A7XW*$~-4#IGx1th3d$A)JKBZTYc#A6LE0(ZYXzXk4q2hA|qW&)h_RIn}Oy2c1 L-U+MF6wKj2Ri%E^ diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0184.dat b/src/node_modules/crypto-browserify/test/vectors/byte0184.dat deleted file mode 100755 index 2ccd7d4bd10741fc36c4091e659001687e812f72..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7169 zcmai1OOE9>4D_HEvz!YA@I?anX!g;x%Q52Ipm*sYjn@%Lkt}}P5ik}d7K9g7o34G}|_gE{-F&Nb>LL7zzvGuY4mCU4!cGaPZ0!Qt*eT4U zfQUcBa$CB)91Dn_=JYr1j36B?ZO0lvNfp9Sa)}^EnjQj{uM#hQ?o!PFKAE~5FvO4B z%xFNN{#>a>MDXZbKI%F@fe-_5FKf4L3>>Kt5?xCAlwiGBER;Vx6O?!dd{=o%uHQt$ z%#&xwYHJOzZBtXjrRT(Y1LxEPdV~2Dl^?H6RwD>;6Xjdoor?A~bvyFfc1`F&mn&8! zoiSHN!8jFWfUDj7dY(-cgqrCbHbus%EAbvTj*h_<0$`xAA%Ohq5Kf2?vn`G0r;4Uh zsEhki=+?wHK^Q`?_cKt!OY72Z3?lpRnDxp$WyE^O`Dvb|7_8@L_atZy5woU{UmWyB zyxV`di564%V$qdf`7=6gbbIRXPWS2v9F{!8ySw$}KTDk-gjRNA^&;;kG8w}--)8>W zjBCZ|wkR?yzQu7c{LXLY`+BBanDTHBtD^Ypf9}oBN#IjUF==@P_cZ*zL&!4QNJ>wE zvxQ||Je59guXM>Z$-`PH{D2=@$MdW5bdov4FdeWy;mvzD@r(xGQ_>WgcinQbfqc4Z z>Y=DOZT1Z`r_G81u4pD4N=Ib_P3Jl?9)-( zA2r6ToJ zlNKo1<$Ikr8iX&cY8eGX6HyhDVlj71lMP3yRzci3O%7b+E8~0|2~+&-xW+mY8is$f zO))T8%-1ZOFHO$=-6Zmt=O`lp~&t@H^-Q&>QSUUDSI4cFSJ>e_B>)SdU-UVXk0| z0`!Sfke^3hwm`ym;3@M`r&scF?qpHrYE_ofJAuP+r7($)EbWDNs<4_+qB-ytS-?K0 z<3^eb3|4o+L@>Y0S%WAew0vg*GZfyB)&bFMTG1d@@8lEx*;ZrDh6aSmJOXYFsJBm!mXAsPTn>;3ZPJN&rhP0xDFo^$RE_HB^ R#FD!s6VJm}0zwTU@;@PTlsy0d diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0185.dat b/src/node_modules/crypto-browserify/test/vectors/byte0185.dat deleted file mode 100755 index e6f94440c8eab3f7acd79fcfc9b79f160c1be012..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7297 zcma)9%ds3c43x_U9bX6&$|UA0^5(Rdfm2`zdz4FC8WAJ_Ha^_a9ESKb8X$<_+xI-D z=iBMwfaQLkA35%?=XsIm%kuXW{oR6`R@0ba{M!LlZKsG~*Mdgj*RK=sX0E|hl=gYv z0natey#^;4gb7$c>=@&r@1!p;Q_o~F9K<(z@1Ick1l;2tD&L`4o0F3iGp=r&g>a|K zW}njW049%~6=6f6lFFbqKa?WKv2MRgQp49nQe<1vv>iciKD$XCkXxxikP|3id+KIl z$sc(S2r+mh^73bCO`r)!w*CV~2npiY&>f7!5YOpL_O8sc$z4?xF2`wOZ|BwfXC6e( zIN4L$B5b~9i@pVxt!)*b+(o0BI82k`aAzjdSr_|!Q>dssccwXh7NJ@h+yb^Bb|KgG z3K%vRsL5+8QX&>^tc1P#%_QMEv;bp*2f;qTgi7@Z$9kz8hXi#CqiJQ+a`~N>7En~X%+^KR6%wc z{-^t5KbB#(MYDl`u)d>J0;mzSJ&Ihyr)K;dKOsgBnhUY&%<^lNbp-MNrafV{%T%kQ zi@6*GT}!?#2WXHP8wiLgo|=@#G*iI-#$;T@vU87KzUku88|>1oAC94qJY@pmI%C5! z!~6B|m;TNywSUMve?P{Z@9hW&uTX^(n?p{uIFPDz2<-e*nE1cvYtf-;n?DH$Q$Wb73(9DdRvl*wF?6?}bif&Uy(IiM2%eok#*H+n^8AOqfmvR4^1fygu zx4}IsV!C*rDr=Bi`GPqyAa|Q?mjDyT`xG<`D1AvNQ~7Llf}5&Lf?nV z4Ccq|Pf`w56Y%J$cMp-E3+2B9`3Q;HVOItW>x!o|Ra3CK^1h8cNv~Un8?NQiM$H@g zTDDC?i|7T(`t|9KURv^qgy7Ln1k_e*izy%SBuG_Wbg$An^w=WbBW0OM1F<_jTeXlC zEwb!z)&!g_`A$w5X3P`Ybgs2=e}npVxZ8zOFHT@rW)OMY57V7@as;a{{Z|tyDre-U3GWVSr>lqEq}D50ar{nC z_o~GAlln|mQjP9ais4FVL3wdP5Z@dxk5TiXaMM(gZX-0S3Np=xe!D>%(kVwr2RUUl zt?kEhd3$XM>;}TJrDbTM6Rc~(M)0yjNUU{EDGCUv-}6sh(g)flvvf$7vyEIsr7KhC zEjOZpVPB>#+|#Bw#Kbe%(V?k{%)K|x!25=kRmw9Xt$Af%Cd8A5)c9H0y;yaK?aN|h zrmVqeGAcz)O%T0yq!aY8m0r$u-rqUvF~NRKEUg!PKtDUW)8&o z8uppdfs-%4=~>N?-<&?PFC)u>M{PqL0o%j5t8j}J^s@fC`JVQj9EPXdNzYVnWyl@r z=_OrZAm_@Eg2}aP@9(k14=-rKuiF^9nt}O=}h= zvr2?C%919CoG|jK*&PGmB8R|k|GNV6r8eVG=Puv^I9z+~hPq<%k@a(?2!JeE#A)ZG z^Qu^JQXwWt?Cz^CVR0;sN{nW)X7yPObDS9{1>zm%P!C)eo`lHHB62zd8Z z-bK`d_MaRunhXi}193@cBySIiP7C*6D(p~9F%UaB92iJbuYa7b&!?$c1@ePHYF#1q zHZ|jSlZ&!t+~?Lsx+JZCK z_FqBZ+1IfAC^6L{(r1{jD+t zsH~!EcwIabNM#=wISZi69|PoxJeY-(t<_I?K5$YnI;TXV1hhC}!|MF`A@TJ8SF@@S zWtQg$Em;QVRxK3I0prw@Nqyzf$;%!pVVlw@nP8_K zJ%op$y(EJz1K|f3F1e!C9AMbXoeLjFwJXl Ht!(@U8r-BR diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0187.dat b/src/node_modules/crypto-browserify/test/vectors/byte0187.dat deleted file mode 100755 index 8b2326d53da082bcb9f754bf379ae51e02955441..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7553 zcma)9%duQ3485-zNPdD7L(j^BicpKrG~2@yBRDa3s}neEMRe-EMm8H`gt!Voh4azIsY0c39i`gnbn z7&S>gU#~tzUJk7I@?oEbYiS%;Aj$zL?YpN+TKN0|d5FoycMo{vSOCT~yid#=86rs3 zsd08hRgOCzIL~UFg=76F!~-+4v>kt&RjqSFp9e~qOtb)*V#{#1=lkC8@=3z_kk3D4 z#E0DOn1@$d-VvER(;s)k1Ce!H(6A4T%04IP-O^YMJ8nHz`*!w@0LQ@DAg@7DLu?Ev z-b%W^5C-B|_0?4`Y%`kO@UXQn9oxW;x*W7-Hr$>DKriMIbetK@Z8S*~eGZ|d^~6QY z zT@IuMF-4SYJ5Er7a)kevjHBy2n}xlrkz$)WpABI{zV&@LcgFK{(&RrWDKtmP*;WVd{3sC$0bX|F>W&f6*LEK7 zgs_HDCwPu1NCmLHowHpMan`k{i&Ekyn_BZGH-*t&@p#qYTDm*tvf=lqIkXQl2eAy=6Q0~}l{k$?eK$&x|0B6*?BjFrdL z3qf^3j@4cTaev%IS z2*h6qw{8x+C!Bh=WC3&mW=T`+i!ae1+s`$QvP-|)#W2>oUf_CU#1KBe-|pviOj8M2 z*vNC4ombPZjm-6$G@PO2SXKQszoxpQw`x(m7k*B|j8ERb_1i|qjh%fx#c{k<=o7TR_w@!cV*jiM6f1?V9EK-A7#L8#wDGv@VZ=PbqU}` zGc0>I>hrK>=MC#n5Q}oZO!aa2K$(yLWY>es6mY;`hYJv&d;)G1E7an}OHx;wi-Jlp X&y<^>bKnvajp8LO`K!tG2e|(Mx%SBu diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0188.dat b/src/node_modules/crypto-browserify/test/vectors/byte0188.dat deleted file mode 100755 index be3ef386cf47c16338f460cd4bd2bbe84cf62d07..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7681 zcmai2$&Dp946TL-ux}lL5*eUElQM8h1vr2S!2+B>ANyc*Ta>swQq*@HT3j9x z^ISiXJxVf!!P8LRzc2rOZqzG4JzTx)rBwRGx9cHrq@DC%(q|E&>Z0m zv`9W6@yf~MhXU62#+~M*a%8uB`jYWLN(qNE3@qv4a9g&E_4uhd?FVZa{dafJsN~b9 z4zjokt%1m6xtA#!l4VWC<*wmlQ20V>t}sslzh@g;&U1rA+J(WNI>^V{y;iua4OH1d z$L3rd2mv$~v~7Puej$?OZQ3;fk;&Cw$g+hh#BIqspdfida3Q4~t{ohama{4jt&m@pY9&pb+I?Ay5r;ixAVp zP#^WUt#irSk2NkugFvu&Ggjph0T(@9{bpDvaiBwAz~;cD>@$#z>!ydc&3Sr7&jFB| zK!=Z#prB|02&~K_9v9TrnF;9{ zz7E?#s_K%kf&lz?A}f`uvBpQ__979fOoPz$NWGDfnQXF!OWKZS^3b0&q2jyZM6hZX z$k*oCDEc0-j$`=#pz^IoA)cpnHn|(RrbYgA^yoOmOXufR4k;+qrIE09l_}aUv??w; z&FM;5N=j?7EeXkf(5{HTH1Me^1|cOJ##?bZgs~aFs)9zt42oRjSF6~_9W z-{cC5H=NBg2X9b$`^B5%C+Fgq#-o;|m&>QUt|uB;r%|?p&%Tp;2{Xj@kOBOMY1a3+ zOcw528K|2qHhUKaUvG@_ua1uxT0!jky&X&n*qcG5t4d;YbIUu-yooA^?4(4eAu!(h zc*WEf>^>zi7W_~l+I2PIT3E+ulo^3{t{~@-5w3C#AW)G@@gfueMzINKJO3D#f!^$9 z&`u-i)Zs_T-zh+hMi?bX(D`4Vq|quwe~Mryz~Qy>SKj`$_&mHK!nc-PM4hvN@3q=l zcw#@GOKX6+W4zZP7{wR)^<`qb@a^xZ5!x^W-KR6yEx?a#e;pV(`+bDdoez+ixDvwt zuIs0HMLKuyn}p?4?qiu(aix7YO%->40yX}0sTy(oKl#;&aQtHdB>5hs=W!OnJz!j- zPzgfL4S0*kpF5*P)&)IJ@AQ>iac*qN>Q?wA_snw0o5E!_4U7T<4o9AxIr5?Pm;rRE zN-6VjD#YDi2p^*B+ZS!kb4ckfg(n)?+u^s!iyTQrfht}U4hzu>dPC?Gbv9b--0X?A z#+IuiRFWXv4mFiQ1O=j>Q&hA~xgo1uKtsjS7P?Hpsh^3d#<5EeCMCHTrrjnFNs_=e zvznys%xB5mMZz@AFhc?lI|`U)MXMYa6%-9=QX9N9h&4ASL+6y!vi15cc!dh5*vYO_ T+ppvbTYs$t3Vn(7P)+(DbZqCx diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0189.dat b/src/node_modules/crypto-browserify/test/vectors/byte0189.dat deleted file mode 100755 index 01061ceebe875e6adaaa497eb2c2893814f6d3f0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7809 zcmaJ^P0|}X2z2UuRaquCn4{=u(k|E1QFMeXvq;4cgai#j*22?3)1bex{d&bw-(f@o z*-xOD*)eKSR(?IQo3d4HVr4|W~nuj2%x9Q5h<7ieleIiI}J%GYnD zrl4f`YZf#k$gY9eSnpeKs_7TPmB!uiv{*vbCg@IujL-CUq!%Zb?84kZAkm^<=f|`` z6+%vvq7_s;lz99so8$x2+Y{fW`=>2t=xWo9V47tI?b$4ir|^EqEy}Oc$wN)Ptj#&hsG%O3-Dn4bym17?fg2sd^H zADis9@c<){FEh;78h8oe|^ z(6d>^g3g`|ljrh+?T(DbH#m&!zc$KUW1`28o0J%~Ny??b`U>Pa@NGC5m*z!nE>zl` zsspH!bbbyX39R{!Nw92%GfyH}^0Sk|6Bi_#Nq!cj5q~1OIFHZk3P$M?TASwIm$_pC zlrj>CWb42=M@MZcWz#n`6~k;vr0i-$K$B>!=JC&ShA+!N z^d{+rQ*jLOr=MA;aqm_lN-8#PQC|k)Z;1}wWId>c6@U!>H9F8HtSZ4Trs^4JoA{Vd z(EvemZmN4Ghpan-8Ci)Xt9@&21$0ics1>=$l0dWC6RD>EO5qqxW8I}{?11>T@(?%f z4X9WS5zL6_b_+A5U6-$!H0iE^xUxhjn!YG_GJ1FSe5zz^lQ}YIH(EZUL!3nWPNV1Q z4P6{vm7q(8TP%+{T^6xXI2(tB1i4j1;>3HEiCcFMsPG&awWXBE`0{~lRzsDOZU z8&Pc19!}jON}%F1NsV1~^Y`;mU5P)^SFfIvoo>&S7a!Fagl^R+>tUj07dFEKwEHRf|6~0$B0W_LIVkmEf-5IoV;uP2jxUM6#xJL diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0190.dat b/src/node_modules/crypto-browserify/test/vectors/byte0190.dat deleted file mode 100755 index 5df1d2e0136776aad4627c88cb8cd0a5d92e8002..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7937 zcma)AL6RIP4D1d&VvhTR{PengezEiJ z!TsTSU}+zVQiuQWT)lo%Wt3~hev36s_)PgLCQhr=*@%>M9e@fs&F9Edjipbn`}U?+ z0wIQ$Bt@|Msp1|w`Hv_4VkH=xO^P!v0Cqd>(;-(ek}w}FWK+1)S9i6*GfZ4fm#`FH zQyFZ29&5Nua4=bG3{Yd?c=Qp`kv*5RRrE}c>e+j}_-d6h1*Gg*@7mBUXo_5&`w3?; zL#N1e%Lh@4%o#|k06?P+dbIMwIyhcdtD?{1NK%8>`!uUX(Br-G9mr8Z(5Zkj>s-eY zb&afp#dXwe(_;-Uq=o?c2e5%nQU)Lys!R$|u@3PuXiM&51C6-oL;O--@j9fTP<5{8 zAVeAar!oa?Csf2`0N#N%JXus7fH0{?&&&tTra^J1=3jrHK4AiWA?L>$X|_HmjXN|$ z(9K4sKNhpGIjWD(fen}wrcs3bP2(unVDMw&<e-YK*xv3K{_GvW?`4jz2jD#{_K? zt(P(~VHS%En~v2gW8Zw>42OW)4YI$aS|*1+xH}ry1dbKcbp=7v2worohq+^nGW;p2 z03?knU|!H>0Y8MPfSzV|hZig(nXhyw<3nYL<=8;bAr&gyU=pbXD1q`a5~|wAUrT+O z)~QTKug0A(2VAF4sqU!gc5?9%8gc9&3LKx1zNyur1S|`c z2={;~75^fhM%XNk>}U_>B`7VktQ#9q-tiYxD863zoRxFoYldx_-=O^Dx5ppvyQmSl z$$S7TWUkh_f$R2yr@+`DFPq6c_9U)y_Go7&H3908>k0goeLULyjm>tv)=ykZ)|}y2 z;OVylg_%rU*UTaNwgz+7y)bz=C{N2L)!L0jDC`c#e!?vtjV^{PBoFeqYTgL*2hnlomivN;4VqSv zk{FzqBysQgI@oljosTzgh6LZOniJ01s1zxht>)gxB6%^ zKd2avo9LQ*F#FO$NMByeqz;!YpJtRSOzh(otBy6o3PTd82n^+BB_QzwFhPlTz}(ep zonfjj*9;BUy`|O7H8JLEqMlqu9Vt*26Sb{biTD(lG$(RfDKCv%$b>IeAGX!Q9a7fw zQF9;dNx6zc@{u4j$BdZzmCBrIx5>MNXtBi5GctZ+UJ)jH{LiK2I5=(E5r+-z*)hOk zUz*M@OLQw&9-+7Sub4mE{|Jtc!l!`wzJZXzC)afViQ9PJv#fkVCFs?~`EIz}jkC~0 z6??w^nuEGvk=GPAqSKo(X)n$^+N!{6lX9r&kOfq|rk49rfhIQ^z9}!LV!=isfk(MU zR#Vtx*EE?Tm-67xwGN<~8~ZF`4{p|sQLf^ diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0191.dat b/src/node_modules/crypto-browserify/test/vectors/byte0191.dat deleted file mode 100755 index 9b23e570285374511206eeb99d8903acc32a7e87..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8065 zcmb7H%Z(g43~gf$K01K~6pB)E00yMc6pBKa;~4O|mXyRl)xhe|#n0m-MX^dVuUEFp zldr!S7;WDW-*4V+|B-VZ>sJ!omhbcRDhKrZv8Y9vMI!8jg2GdgRB>K6x8Oy9OHv$( zSS{L6Cw-WX;``$*3h*7c4dJU{wxJ+eTt|Zdv!JQCiZMK)&eqwEl_?Z6j{-aQFoHdhNSNO40JGFC7?dipTC>t5lA!dQfU@41 z6uZ!hPsBz<9`cP3634i6gu!cN0;Fhzl4Fx}ZwRPf`F3oQmkVG)Z@W{#igQuY5a-xb zn&+hD2fe8&M%BwjEx{B+Ttp>M@+8mI{FV<_P4LTPikytiOW#&l(Q2eQdfP{b{5B>-;TugIRFFFn7dluyE9 z<5y8-S5-+yk!bhHJ_$4w8;h|m8}4SkqBSdvh?qyRkSPyq$aqxNxnr(mK~70_)7!A-fH_@2vwXGDXAj-h8>9Q5fOjyC;cws{cf$<{RWn<0ka zd2xs8G$qJcAyONcRK%vFp2w#-RTzr~`0<=CnEh%L1A3X&n8^v2VqG2ZS)-#g-?I z+U9HC4u|GVN(WZAeCuRu5;h@*HB@kgKtib3CvS%91jU_aGIi3S-wv!)POEGk>a0p9 zae)2JA{bL{Y$3aPj*O-$fEFE}3jL*ICtmx!n5RRFx|-HS&m^SazW^QJoLzDp46Lh! z^^>p^_I8d~LSu&)DA^t1J|IjSFEDn2uzG-l9bGfO}=qV9eR8_X-n6!b=AH#)#njE6q2DR+45mBT;i!S1h)P;eZ07FT- zE0?AsE7kzB;%0x@T+*ffn;1hZa>B~9+SzfvQtXJ6O-&>;OMEH_M7?hlVBQFhnFeE( zJmQ3|vAvdGIDrw==5O^s50#`MyDbbgZtZ@4S_H=90Q2YLv))Vb* zI*6&BX+HS3@Mf!2+Ens0s@AM*YTPx*Hqa@}qK+OvsZ_XretfA}g@j3#1OG>di5$D# k#pxy5-rSC2ceu6Vv!Qf3C~J8FGNH4l;sJ^-5q~`Y0ZTkB*8l(j diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0192.dat b/src/node_modules/crypto-browserify/test/vectors/byte0192.dat deleted file mode 100755 index 3e1b7309d7e6c4fde1b560d2476bf5c240b21fb5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8193 zcmai2yOr%W4BR~qUg#233QLnRhi-`-xCNHr%nsgp*91ragAZi|B1jAdLlBbg?&ov7 z`d7M+*w5!#;NKPUZ;F-$g^2ODc=Gr|Fg8Af`pxFf`ehWia|Aix;Cx9x*?xUBz>@h` zj>5VE+D(6kfZKU_@~$R|f&B(*nx3i$P%H%H*E&%w;0jYiyJRZW+@EsU2;*6*ga{e7 zuq-ZEc?%pd1#T2bt$PoEg)P`j1ZTc&uGU)>6y%Htq_J6?CkHIxmKB3wUI_2t&ZZOu zv}X=*DuV>N{n#Wv2RrUEM6&9T-Gf~dXQOSZ2VGdnn)$SYiOwaMDUiLeMa33FLl3Z$ z_Vck90!a#utrU$I`I7ClJx?(gIW#aE8dn(u@b?0oBnh&h>FitakKkz3cghN?TFc;g zh(5`yq~@`M2oJSqq$R|+ucYuI25;af+hsnYzA(=W5nw3JCVN2N7qy7MasBJsXz_a4 zad2UPN71+6ILFR4 zdO)gjYaD-DJEo$beF-WTc>=~JmIhLe_{M?#DFzHlW}`g$075hJ&p?Z4MzgI4W5Jzt zGw$Z7DY>ee3t<_KoXgZT-J)VXe^W#}%@d3Qq8>RL@?jhPF<-QLUVkBqka9Im)n%y~ z6@?{sQgW0ghhQ+D904l;3}y$^GTZv3tj${o2<{F9FcnBS)^Sx6$0LCZY>v&3#}hF$ zcWq^wT7`Yoe=YaWh1x)p-e{J#;!Z4imG-7!cRlQLOElqS|CDw{;?0UTa2f4m-Qci& z8p=MtE*jwKNNP49mKnF6xf!=%SBiHFpwUvw9~g)n0mcKJ4-BNI>+HI7%`{# zxB+c6he5v&&o_PT{e=x^&xiiV-F4_jU0D}#&Xi1zj1hd2HF3-_33`m#a}rmE-_xO2 z9c|scfn0dpt`d+jN$mWeoqr8QKfUbtn1QmK+qRLry8iiT-`VURPHC95hZgP}B`c|e z9f8$D@G|y=yJUVCd#c3_EFLDHP|(Uk_a<)e-Lj@tJqupYK~%?!qt#1?t`l!unz%3s zs>`qSt!d63;$G^)T=eG3UPyLLi;u@Ja8vDQOn>bVkjOD2_v=kyv!Z%Nzb;*6U^Sqnpw#qlZwI>LSon%xTQG}SAqSKLrcHlRfmzYO0D6nVyeK7UHI6djF81b*GoWdCjB3M;o3WpRCC-bDMNf0jT0O06L{6cqUoZ0{Q)8! z)_3{8jf+Fl)8I5iu4#r7;P{6jjqUQ55+G-&hhmYh?*LmHNWnJyidU`z-L6!p=3|^- z#)^{Z`n&Bq{C;Ju6lO=R_~I^!(+LrF)xt{xj!S}ZbbVuj8Nx}HG6w@rGVu))Tz=Xt zaTXa4vTQgYFskCOVxQIt#JFXj4?RlKSPHp$_LME%gMct?6zVX%LaXk2EBft_G6{)v zibo_^9w*}HTfnl@-iSLpFWBL|nD%{;zquuwJmf4c=u8mwDm}E=@h~}gYy#BxWIZN$ zS^Y&xpW)6;3$P!@6+}-YT{mMo+j47j4N7sQ)aRqFz$1h*u4J5%Z$lg~w%NX?Ev(46 Jk;@39^&dPZ+YkT% diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0193.dat b/src/node_modules/crypto-browserify/test/vectors/byte0193.dat deleted file mode 100755 index 1c538767aa1478b87e1ae65f100f993a6a705d14..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8321 zcmai3JB}qc4D7Lk3HJ!PhBF;ax|szy*lTp=bO9#=c<`P@NhFID)$X9hPq9c*pMJCZ zeqHwY{jJa6Dw6b#zW29{vrz9{SVQ0<{&o6Nzib+#9qF3Fe#ErX`qMgpY1mb)OEuu` z@DFmhR$NKZZ{QqQaCLEzrHugU&^eAQh2w#@qw_Rdqq2N*lppWwLf9q36XJslHjU$?!33}BX~@sp~cE8Mk-*|aKSTY*vCJuN&9HhC5tke&4?GOfvxM_ z(5eDqFeUY$zesS6Dm=T?UA@(dQWE50>JzLm!B4?OIqyHH{{@O|8W&_g*OkpYM*Ckt z@xG^&93G5GOL7w-a8|FEswX?A*Uucrq`}zGwB+6dZ-w1KVYl~RSJawdMi}TwM?LyF zZ8&7u<){qhr?|q(@YDYBHEtNY#kQUb^SS0G7!pb^_ScnG$-w@w^aG5w z0b^NAhv8?tPlNt`(kjnF?6?3cGWuc`^@ zNH*o~MG#~zMIkZ#Bu>w8_xsv$2){vzbyg-_s#>X$@?t*?vRh1++i;+Acbs!`?PX&IKLnYTSgYqm>`MU3XK8b&9T;+F~T}ID%*8r@^2Qlu}yFh z2N{xRD%=xzdY6f`M?j-lidZr`?P#eq?{6wPDOm!mIjpL5BATj^R5~R72_qlW8pTbU z9G~bb$LG<`_I!V@BmMx`KeeNbZChi-y^7b`ar21fs8*aJ*WEj_KXiZeStEXz%O1BZ z6rM&M$7$A`4=vF0AdBtw;gY!RU!(3yT*;z5j(sAx?ys`yB03D8?cj)i9UV6*vG9t0 z#aGKJC`_32%hFdQItfuDh_O;;IV3AbAMRm}URgm)3Q%PO@pq8GIqw$OoK85 z#>fYuqLq#JaqYT?o;C9}l>RE1hva^1c$4bkIwtiGY4o7ynQLpjWXcZi)SD|a;{;9L zIw{ovy3$Kejx0E8AAF)lc<-B;Q{D)MVWuj(^R(W)9y7vK%J;}lN0#~d2zLqwESRB2 z|B~f^+56>G_n<@Q5tvP~+te`>>f@k)8ZhcXf%KdZ@cG>_p35)7DoGkkJl5K2X5_; zsqB$tX+eo-`eCM>Vv_g!XY4?xA;&PX)``s%(WYkJ%QXS(z5naF{cpz(yA8=yfJ1vW zTnSveNL4jA tELQMaDQN73__9A;*{V8Z0Bp7f(hO>MFN;BG#wm5o-tF#k^#D0f{y)Ao?@0gv diff --git a/src/node_modules/crypto-browserify/test/vectors/byte0194.dat b/src/node_modules/crypto-browserify/test/vectors/byte0194.dat deleted file mode 100755 index 12e1e1f1361b14b33749e37c0c6bb10ff08c195d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8449 zcma)AOLFBl417~gO_shvcoZIu+T}`F>L|<&ymZyL#vuR_XaJ-tT1X(!XnY9j$$q{3 z_4d8LZif9}trvD{Nwyp~+j?$iV!g?5#SxQ!5{MnJk|7JtfW+=Bz@l@J+NUTsou z6tMMG45sf*3_5Lj>%Uet#RiKc9xYz_3o34Q*+g~^qJYB*Wu$vJNYm760oYqu~e z9iT9*gvbdf0SS^N$DrFnzkh2T3too#ig@x-B<=FG;J%c5stF&j{%WLBnhCWnVTWk8 zI4m*7-2xyi9n=S?(dJy6S+^;%_prE;pFTG*4VCjJzf0}YAwA%bm1H!9V@`VpX#k1F z-U~m*5oi)&4apujv?qWjcpqKeL;{bxx|1k0)r=eIA(U41f846_%{(#BfM?@E9j8QCCiK z-e62-*fuTx984oUjxXU$LAjUxRVMFz?3|fyy0xh?mr9gH?Ni_uvsPHO z++#xq%iGyleSnLCo-V?oO=AlOnp94EJh1yx*`)|oxDQheDp}qVXJ-=&-J><`Z2^FJ zfi$*Vd=Lpv=}eF>oEwCaY}6&1!uqgpq4AE=&CDgCs?b{8om2?)DM$5qkRQ&M#PC0T zE>07~?UcG0{pz|f0ZWY=H&JCq)(7cz5d`>QuplJ00L*VX!0)D7{STXVn&IL1&nEh! zJF-zaWGoArpOA4D&ou}((>cxGZUx<{!2ruEXVIp)o2f33IfV}=iIKOtZlp3W*29LM zVu&W#@xpJuj$T1-TZSv3Uri0Sn$hT?_&1PiW#)^o`=X{}}$=ZD7MPAN_J;PRURW6?s`+K9oM^V!3I=AS}8X^t@z_t!0?85sSsYWJC9v@*2>m zoQ&xSgy;4OS$f&wZ>E8{-ScYUUlAI}2uE_nF5!b4yy>J+zvPZM_6b|0xkJI+k z7X_gX$C zu{z>*&;ngLvLBKx(|meBpkwy{o{TJ?c&R5F0L($9Y`g#I& z@l}Qa^1}Vet*5FK&r{1XTd7J_n_$lX!AfI@x->z;jB!X6_0|w4OLME3qEoZ10vm#g z6N(l+RyhPhSpyGNB|ye(4<{iC>2JpJQ)(L?>S4FkwqC*fuW{Das$+><2r^cgBs;Xr z*H%KA&?Zz}uPZFz>OspF-G$#8ihr{NY^& z3OhA@*t0*ozQ|%1BtsQ7SrA3(`452Y+50=6SQM*>+>1Kad4ytF0N1zQZVLk{lX`mY zCdbiyiXUmXM=ieBEGnnKUWO%_4YZwg)~22&J1lUxKn4m*an|aJeix?!|^t zONol;dhYk^(6C!k1Y+z3r`Sq?2O`ZB{2`bIOdc>(0Rw<*uHj+%X91?9sgtp;w##;R z(zkIgmx<|ZHe$Sx%onlAgcg4*O?&YtQ&w0l>ROqiu({u#Db4SSJoKvrKHw=&CVZZs z5NJLTeO6E0HAVY&nfewFM$R{cd9g4>=$Y<~?7LlO_SH|-Ia|2(+*Sk)GZ?s{0}Q!s z{%V;RT%mHlP~1Sw8G1LXk|uN<-&4MF2ll@XH{vGoH-laNNL7F&{KwTX*lke^bK9(a zY3y!Mt;2gF`nPEK+2Hv31tqLMf^Q0)2=-$3HproBxRdw$72E`dWb3;7A@3_$oGUxp zuUov&)q0}kRN}i5)WXSyC)MV??}r4N9p;pGAGNOH0l{8>1toFzvxu4lz_-uq8Ub_M z1NO?m=~)r(VsLi4XCqkB6jnwrb#=ps{Q3x8Pn-FPFc%$RE1^H?Ylz^MVUP9 z_ztOXh$NaU~+`B(gmXD;?9pGtgnTpfJ{`U4GB)2_}H)X(ez;Z zW)f=`8`44-D-?Ymud%#BXbC5c;PBOUmbXgE(1v-LW76W2x*QV`b(9^Mv~w)1#mLG8 zgxB166vRa)u|jCVvJ1IGVrzo4nq#EeW=cTcW#tQT;{dw3`fh4!=i3HqrT 'The first 4 letters of the english alphabet are: a, b, c and d' - -i18next.t('key2', { postProcess: 'sprintf', sprintf: { users: [{name: 'Dolly'}, {name: 'Molly'}, {name: 'Polly'}] } }); -// --> 'Hello Dolly, Molly and Polly' -``` - -# Using overloadTranslationOptionHandler - -```js -import i18next from 'i18next'; -import sprintf from 'i18next-sprintf-postprocessor'; - -i18next.init({ - overloadTranslationOptionHandler: sprintf.overloadTranslationOptionHandler -}); - -// given loaded resources -// translation: { -// key1: 'The first 4 letters of the english alphabet are: %s, %s, %s and %s', -// key2: 'Hello %(users[0].name)s, %(users[1].name)s and %(users[2].name)s', -// key3: 'The last letter of the english alphabet is %s', -// key3: 'Water freezes at %d degrees' -// } - -i18next.t('interpolationTest1', 'a', 'b', 'c', 'd'); -// --> 'The first 4 letters of the english alphabet are: a, b, c and d' - -i18next.t('interpolationTest3', 'z'); -// --> 'The last letter of the english alphabet is z' - -i18next.t('interpolationTest4', 0); -// --> 'Water freezes at 0 degrees' -``` diff --git a/src/node_modules/i18next-sprintf-postprocessor/dist/commonjs/index.js b/src/node_modules/i18next-sprintf-postprocessor/dist/commonjs/index.js deleted file mode 100644 index c6af4dd..0000000 --- a/src/node_modules/i18next-sprintf-postprocessor/dist/commonjs/index.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; - -var _sprintf = require('./sprintf'); - -exports.default = { - name: 'sprintf', - type: 'postProcessor', - - process: function process(value, key, options) { - if (!options.sprintf) return value; - - if (Object.prototype.toString.apply(options.sprintf) === '[object Array]') { - return (0, _sprintf.vsprintf)(value, options.sprintf); - } else if (_typeof(options.sprintf) === 'object') { - return (0, _sprintf.sprintf)(value, options.sprintf); - } - - return value; - }, - overloadTranslationOptionHandler: function overloadTranslationOptionHandler(args) { - var values = []; - - for (var i = 1; i < args.length; i++) { - values.push(args[i]); - } - - return { - postProcess: 'sprintf', - sprintf: values - }; - } -}; \ No newline at end of file diff --git a/src/node_modules/i18next-sprintf-postprocessor/dist/commonjs/sprintf.js b/src/node_modules/i18next-sprintf-postprocessor/dist/commonjs/sprintf.js deleted file mode 100644 index 95b6d33..0000000 --- a/src/node_modules/i18next-sprintf-postprocessor/dist/commonjs/sprintf.js +++ /dev/null @@ -1,201 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.sprintf = sprintf; -exports.vsprintf = vsprintf; -var re = { - not_string: /[^s]/, - number: /[diefg]/, - json: /[j]/, - not_json: /[^j]/, - text: /^[^\x25]+/, - modulo: /^\x25{2}/, - placeholder: /^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijosuxX])/, - key: /^([a-z_][a-z_\d]*)/i, - key_access: /^\.([a-z_][a-z_\d]*)/i, - index_access: /^\[(\d+)\]/, - sign: /^[\+\-]/ -}; - -function sprintf() { - var key = arguments[0], - cache = sprintf.cache; - if (!(cache[key] && cache.hasOwnProperty(key))) { - cache[key] = sprintf.parse(key); - } - return sprintf.format.call(null, cache[key], arguments); -} - -sprintf.format = function (parse_tree, argv) { - var cursor = 1, - tree_length = parse_tree.length, - node_type = "", - arg, - output = [], - i, - k, - match, - pad, - pad_character, - pad_length, - is_positive = true, - sign = ""; - for (i = 0; i < tree_length; i++) { - node_type = get_type(parse_tree[i]); - if (node_type === "string") { - output[output.length] = parse_tree[i]; - } else if (node_type === "array") { - match = parse_tree[i]; // convenience purposes only - if (match[2]) { - // keyword argument - arg = argv[cursor]; - for (k = 0; k < match[2].length; k++) { - if (!arg.hasOwnProperty(match[2][k])) { - throw new Error(sprintf("[sprintf] property '%s' does not exist", match[2][k])); - } - arg = arg[match[2][k]]; - } - } else if (match[1]) { - // positional argument (explicit) - arg = argv[match[1]]; - } else { - // positional argument (implicit) - arg = argv[cursor++]; - } - - if (get_type(arg) == "function") { - arg = arg(); - } - - if (re.not_string.test(match[8]) && re.not_json.test(match[8]) && get_type(arg) != "number" && isNaN(arg)) { - throw new TypeError(sprintf("[sprintf] expecting number but found %s", get_type(arg))); - } - - if (re.number.test(match[8])) { - is_positive = arg >= 0; - } - - switch (match[8]) { - case "b": - arg = arg.toString(2); - break; - case "c": - arg = String.fromCharCode(arg); - break; - case "d": - case "i": - arg = parseInt(arg, 10); - break; - case "j": - arg = JSON.stringify(arg, null, match[6] ? parseInt(match[6]) : 0); - break; - case "e": - arg = match[7] ? arg.toExponential(match[7]) : arg.toExponential(); - break; - case "f": - arg = match[7] ? parseFloat(arg).toFixed(match[7]) : parseFloat(arg); - break; - case "g": - arg = match[7] ? parseFloat(arg).toPrecision(match[7]) : parseFloat(arg); - break; - case "o": - arg = arg.toString(8); - break; - case "s": - arg = (arg = String(arg)) && match[7] ? arg.substring(0, match[7]) : arg; - break; - case "u": - arg = arg >>> 0; - break; - case "x": - arg = arg.toString(16); - break; - case "X": - arg = arg.toString(16).toUpperCase(); - break; - } - if (re.json.test(match[8])) { - output[output.length] = arg; - } else { - if (re.number.test(match[8]) && (!is_positive || match[3])) { - sign = is_positive ? "+" : "-"; - arg = arg.toString().replace(re.sign, ""); - } else { - sign = ""; - } - pad_character = match[4] ? match[4] === "0" ? "0" : match[4].charAt(1) : " "; - pad_length = match[6] - (sign + arg).length; - pad = match[6] ? pad_length > 0 ? str_repeat(pad_character, pad_length) : "" : ""; - output[output.length] = match[5] ? sign + arg + pad : pad_character === "0" ? sign + pad + arg : pad + sign + arg; - } - } - } - return output.join(""); -}; - -sprintf.cache = {}; - -sprintf.parse = function (fmt) { - var _fmt = fmt, - match = [], - parse_tree = [], - arg_names = 0; - while (_fmt) { - if ((match = re.text.exec(_fmt)) !== null) { - parse_tree[parse_tree.length] = match[0]; - } else if ((match = re.modulo.exec(_fmt)) !== null) { - parse_tree[parse_tree.length] = "%"; - } else if ((match = re.placeholder.exec(_fmt)) !== null) { - if (match[2]) { - arg_names |= 1; - var field_list = [], - replacement_field = match[2], - field_match = []; - if ((field_match = re.key.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - while ((replacement_field = replacement_field.substring(field_match[0].length)) !== "") { - if ((field_match = re.key_access.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - } else if ((field_match = re.index_access.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - } else { - throw new SyntaxError("[sprintf] failed to parse named argument key"); - } - } - } else { - throw new SyntaxError("[sprintf] failed to parse named argument key"); - } - match[2] = field_list; - } else { - arg_names |= 2; - } - if (arg_names === 3) { - throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported"); - } - parse_tree[parse_tree.length] = match; - } else { - throw new SyntaxError("[sprintf] unexpected placeholder"); - } - _fmt = _fmt.substring(match[0].length); - } - return parse_tree; -}; - -function vsprintf(fmt, argv, _argv) { - _argv = (argv || []).slice(0); - _argv.splice(0, 0, fmt); - return sprintf.apply(null, _argv); -} - -/** - * helpers - */ -function get_type(variable) { - return Object.prototype.toString.call(variable).slice(8, -1).toLowerCase(); -} - -function str_repeat(input, multiplier) { - return Array(multiplier + 1).join(input); -} \ No newline at end of file diff --git a/src/node_modules/i18next-sprintf-postprocessor/dist/es/index.js b/src/node_modules/i18next-sprintf-postprocessor/dist/es/index.js deleted file mode 100644 index e8b5b63..0000000 --- a/src/node_modules/i18next-sprintf-postprocessor/dist/es/index.js +++ /dev/null @@ -1,32 +0,0 @@ -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; - -import { sprintf, vsprintf } from './sprintf'; - -export default { - name: 'sprintf', - type: 'postProcessor', - - process: function process(value, key, options) { - if (!options.sprintf) return value; - - if (Object.prototype.toString.apply(options.sprintf) === '[object Array]') { - return vsprintf(value, options.sprintf); - } else if (_typeof(options.sprintf) === 'object') { - return sprintf(value, options.sprintf); - } - - return value; - }, - overloadTranslationOptionHandler: function overloadTranslationOptionHandler(args) { - var values = []; - - for (var i = 1; i < args.length; i++) { - values.push(args[i]); - } - - return { - postProcess: 'sprintf', - sprintf: values - }; - } -}; \ No newline at end of file diff --git a/src/node_modules/i18next-sprintf-postprocessor/dist/es/sprintf.js b/src/node_modules/i18next-sprintf-postprocessor/dist/es/sprintf.js deleted file mode 100644 index 21fd70c..0000000 --- a/src/node_modules/i18next-sprintf-postprocessor/dist/es/sprintf.js +++ /dev/null @@ -1,194 +0,0 @@ -var re = { - not_string: /[^s]/, - number: /[diefg]/, - json: /[j]/, - not_json: /[^j]/, - text: /^[^\x25]+/, - modulo: /^\x25{2}/, - placeholder: /^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijosuxX])/, - key: /^([a-z_][a-z_\d]*)/i, - key_access: /^\.([a-z_][a-z_\d]*)/i, - index_access: /^\[(\d+)\]/, - sign: /^[\+\-]/ -}; - -export function sprintf() { - var key = arguments[0], - cache = sprintf.cache; - if (!(cache[key] && cache.hasOwnProperty(key))) { - cache[key] = sprintf.parse(key); - } - return sprintf.format.call(null, cache[key], arguments); -} - -sprintf.format = function (parse_tree, argv) { - var cursor = 1, - tree_length = parse_tree.length, - node_type = "", - arg, - output = [], - i, - k, - match, - pad, - pad_character, - pad_length, - is_positive = true, - sign = ""; - for (i = 0; i < tree_length; i++) { - node_type = get_type(parse_tree[i]); - if (node_type === "string") { - output[output.length] = parse_tree[i]; - } else if (node_type === "array") { - match = parse_tree[i]; // convenience purposes only - if (match[2]) { - // keyword argument - arg = argv[cursor]; - for (k = 0; k < match[2].length; k++) { - if (!arg.hasOwnProperty(match[2][k])) { - throw new Error(sprintf("[sprintf] property '%s' does not exist", match[2][k])); - } - arg = arg[match[2][k]]; - } - } else if (match[1]) { - // positional argument (explicit) - arg = argv[match[1]]; - } else { - // positional argument (implicit) - arg = argv[cursor++]; - } - - if (get_type(arg) == "function") { - arg = arg(); - } - - if (re.not_string.test(match[8]) && re.not_json.test(match[8]) && get_type(arg) != "number" && isNaN(arg)) { - throw new TypeError(sprintf("[sprintf] expecting number but found %s", get_type(arg))); - } - - if (re.number.test(match[8])) { - is_positive = arg >= 0; - } - - switch (match[8]) { - case "b": - arg = arg.toString(2); - break; - case "c": - arg = String.fromCharCode(arg); - break; - case "d": - case "i": - arg = parseInt(arg, 10); - break; - case "j": - arg = JSON.stringify(arg, null, match[6] ? parseInt(match[6]) : 0); - break; - case "e": - arg = match[7] ? arg.toExponential(match[7]) : arg.toExponential(); - break; - case "f": - arg = match[7] ? parseFloat(arg).toFixed(match[7]) : parseFloat(arg); - break; - case "g": - arg = match[7] ? parseFloat(arg).toPrecision(match[7]) : parseFloat(arg); - break; - case "o": - arg = arg.toString(8); - break; - case "s": - arg = (arg = String(arg)) && match[7] ? arg.substring(0, match[7]) : arg; - break; - case "u": - arg = arg >>> 0; - break; - case "x": - arg = arg.toString(16); - break; - case "X": - arg = arg.toString(16).toUpperCase(); - break; - } - if (re.json.test(match[8])) { - output[output.length] = arg; - } else { - if (re.number.test(match[8]) && (!is_positive || match[3])) { - sign = is_positive ? "+" : "-"; - arg = arg.toString().replace(re.sign, ""); - } else { - sign = ""; - } - pad_character = match[4] ? match[4] === "0" ? "0" : match[4].charAt(1) : " "; - pad_length = match[6] - (sign + arg).length; - pad = match[6] ? pad_length > 0 ? str_repeat(pad_character, pad_length) : "" : ""; - output[output.length] = match[5] ? sign + arg + pad : pad_character === "0" ? sign + pad + arg : pad + sign + arg; - } - } - } - return output.join(""); -}; - -sprintf.cache = {}; - -sprintf.parse = function (fmt) { - var _fmt = fmt, - match = [], - parse_tree = [], - arg_names = 0; - while (_fmt) { - if ((match = re.text.exec(_fmt)) !== null) { - parse_tree[parse_tree.length] = match[0]; - } else if ((match = re.modulo.exec(_fmt)) !== null) { - parse_tree[parse_tree.length] = "%"; - } else if ((match = re.placeholder.exec(_fmt)) !== null) { - if (match[2]) { - arg_names |= 1; - var field_list = [], - replacement_field = match[2], - field_match = []; - if ((field_match = re.key.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - while ((replacement_field = replacement_field.substring(field_match[0].length)) !== "") { - if ((field_match = re.key_access.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - } else if ((field_match = re.index_access.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - } else { - throw new SyntaxError("[sprintf] failed to parse named argument key"); - } - } - } else { - throw new SyntaxError("[sprintf] failed to parse named argument key"); - } - match[2] = field_list; - } else { - arg_names |= 2; - } - if (arg_names === 3) { - throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported"); - } - parse_tree[parse_tree.length] = match; - } else { - throw new SyntaxError("[sprintf] unexpected placeholder"); - } - _fmt = _fmt.substring(match[0].length); - } - return parse_tree; -}; - -export function vsprintf(fmt, argv, _argv) { - _argv = (argv || []).slice(0); - _argv.splice(0, 0, fmt); - return sprintf.apply(null, _argv); -} - -/** - * helpers - */ -function get_type(variable) { - return Object.prototype.toString.call(variable).slice(8, -1).toLowerCase(); -} - -function str_repeat(input, multiplier) { - return Array(multiplier + 1).join(input); -} \ No newline at end of file diff --git a/src/node_modules/i18next-sprintf-postprocessor/dist/umd/i18nextSprintfPostProcessor.js b/src/node_modules/i18next-sprintf-postprocessor/dist/umd/i18nextSprintfPostProcessor.js deleted file mode 100644 index 17e1aca..0000000 --- a/src/node_modules/i18next-sprintf-postprocessor/dist/umd/i18nextSprintfPostProcessor.js +++ /dev/null @@ -1,241 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define('i18nextSprintfPostProcessor', factory) : - (global.i18nextSprintfPostProcessor = factory()); -}(this, function () { 'use strict'; - - var babelHelpers = {}; - babelHelpers.typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { - return typeof obj; - } : function (obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; - }; - babelHelpers; - - var re = { - not_string: /[^s]/, - number: /[diefg]/, - json: /[j]/, - not_json: /[^j]/, - text: /^[^\x25]+/, - modulo: /^\x25{2}/, - placeholder: /^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijosuxX])/, - key: /^([a-z_][a-z_\d]*)/i, - key_access: /^\.([a-z_][a-z_\d]*)/i, - index_access: /^\[(\d+)\]/, - sign: /^[\+\-]/ - }; - - function sprintf() { - var key = arguments[0], - cache = sprintf.cache; - if (!(cache[key] && cache.hasOwnProperty(key))) { - cache[key] = sprintf.parse(key); - } - return sprintf.format.call(null, cache[key], arguments); - } - - sprintf.format = function (parse_tree, argv) { - var cursor = 1, - tree_length = parse_tree.length, - node_type = "", - arg, - output = [], - i, - k, - match, - pad, - pad_character, - pad_length, - is_positive = true, - sign = ""; - for (i = 0; i < tree_length; i++) { - node_type = get_type(parse_tree[i]); - if (node_type === "string") { - output[output.length] = parse_tree[i]; - } else if (node_type === "array") { - match = parse_tree[i]; // convenience purposes only - if (match[2]) { - // keyword argument - arg = argv[cursor]; - for (k = 0; k < match[2].length; k++) { - if (!arg.hasOwnProperty(match[2][k])) { - throw new Error(sprintf("[sprintf] property '%s' does not exist", match[2][k])); - } - arg = arg[match[2][k]]; - } - } else if (match[1]) { - // positional argument (explicit) - arg = argv[match[1]]; - } else { - // positional argument (implicit) - arg = argv[cursor++]; - } - - if (get_type(arg) == "function") { - arg = arg(); - } - - if (re.not_string.test(match[8]) && re.not_json.test(match[8]) && get_type(arg) != "number" && isNaN(arg)) { - throw new TypeError(sprintf("[sprintf] expecting number but found %s", get_type(arg))); - } - - if (re.number.test(match[8])) { - is_positive = arg >= 0; - } - - switch (match[8]) { - case "b": - arg = arg.toString(2); - break; - case "c": - arg = String.fromCharCode(arg); - break; - case "d": - case "i": - arg = parseInt(arg, 10); - break; - case "j": - arg = JSON.stringify(arg, null, match[6] ? parseInt(match[6]) : 0); - break; - case "e": - arg = match[7] ? arg.toExponential(match[7]) : arg.toExponential(); - break; - case "f": - arg = match[7] ? parseFloat(arg).toFixed(match[7]) : parseFloat(arg); - break; - case "g": - arg = match[7] ? parseFloat(arg).toPrecision(match[7]) : parseFloat(arg); - break; - case "o": - arg = arg.toString(8); - break; - case "s": - arg = (arg = String(arg)) && match[7] ? arg.substring(0, match[7]) : arg; - break; - case "u": - arg = arg >>> 0; - break; - case "x": - arg = arg.toString(16); - break; - case "X": - arg = arg.toString(16).toUpperCase(); - break; - } - if (re.json.test(match[8])) { - output[output.length] = arg; - } else { - if (re.number.test(match[8]) && (!is_positive || match[3])) { - sign = is_positive ? "+" : "-"; - arg = arg.toString().replace(re.sign, ""); - } else { - sign = ""; - } - pad_character = match[4] ? match[4] === "0" ? "0" : match[4].charAt(1) : " "; - pad_length = match[6] - (sign + arg).length; - pad = match[6] ? pad_length > 0 ? str_repeat(pad_character, pad_length) : "" : ""; - output[output.length] = match[5] ? sign + arg + pad : pad_character === "0" ? sign + pad + arg : pad + sign + arg; - } - } - } - return output.join(""); - }; - - sprintf.cache = {}; - - sprintf.parse = function (fmt) { - var _fmt = fmt, - match = [], - parse_tree = [], - arg_names = 0; - while (_fmt) { - if ((match = re.text.exec(_fmt)) !== null) { - parse_tree[parse_tree.length] = match[0]; - } else if ((match = re.modulo.exec(_fmt)) !== null) { - parse_tree[parse_tree.length] = "%"; - } else if ((match = re.placeholder.exec(_fmt)) !== null) { - if (match[2]) { - arg_names |= 1; - var field_list = [], - replacement_field = match[2], - field_match = []; - if ((field_match = re.key.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - while ((replacement_field = replacement_field.substring(field_match[0].length)) !== "") { - if ((field_match = re.key_access.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - } else if ((field_match = re.index_access.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - } else { - throw new SyntaxError("[sprintf] failed to parse named argument key"); - } - } - } else { - throw new SyntaxError("[sprintf] failed to parse named argument key"); - } - match[2] = field_list; - } else { - arg_names |= 2; - } - if (arg_names === 3) { - throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported"); - } - parse_tree[parse_tree.length] = match; - } else { - throw new SyntaxError("[sprintf] unexpected placeholder"); - } - _fmt = _fmt.substring(match[0].length); - } - return parse_tree; - }; - - function vsprintf(fmt, argv, _argv) { - _argv = (argv || []).slice(0); - _argv.splice(0, 0, fmt); - return sprintf.apply(null, _argv); - } - - /** - * helpers - */ - function get_type(variable) { - return Object.prototype.toString.call(variable).slice(8, -1).toLowerCase(); - } - - function str_repeat(input, multiplier) { - return Array(multiplier + 1).join(input); - } - - var index = { - name: 'sprintf', - type: 'postProcessor', - - process: function process(value, key, options) { - if (!options.sprintf) return value; - - if (Object.prototype.toString.apply(options.sprintf) === '[object Array]') { - return vsprintf(value, options.sprintf); - } else if (babelHelpers.typeof(options.sprintf) === 'object') { - return sprintf(value, options.sprintf); - } - - return value; - }, - overloadTranslationOptionHandler: function overloadTranslationOptionHandler(args) { - var values = []; - - for (var i = 1; i < args.length; i++) { - values.push(args[i]); - } - - return { - postProcess: 'sprintf', - sprintf: values - }; - } - }; - - return index; - -})); \ No newline at end of file diff --git a/src/node_modules/i18next-sprintf-postprocessor/dist/umd/i18nextSprintfPostProcessor.min.js b/src/node_modules/i18next-sprintf-postprocessor/dist/umd/i18nextSprintfPostProcessor.min.js deleted file mode 100644 index 943bae2..0000000 --- a/src/node_modules/i18next-sprintf-postprocessor/dist/umd/i18nextSprintfPostProcessor.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("i18nextSprintfPostProcessor",t):e.i18nextSprintfPostProcessor=t()}(this,function(){"use strict";function e(){var t=arguments[0],r=e.cache;return r[t]&&r.hasOwnProperty(t)||(r[t]=e.parse(t)),e.format.call(null,r[t],arguments)}function t(t,r,n){return n=(r||[]).slice(0),n.splice(0,0,t),e.apply(null,n)}function r(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function n(e,t){return Array(t+1).join(e)}var o={};o["typeof"]="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};var s={not_string:/[^s]/,number:/[diefg]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijosuxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[\+\-]/};e.format=function(t,o){var i,a,l,c,f,p,u,g=1,y=t.length,d="",h=[],b=!0,x="";for(a=0;y>a;a++)if(d=r(t[a]),"string"===d)h[h.length]=t[a];else if("array"===d){if(c=t[a],c[2])for(i=o[g],l=0;l=0),c[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":case"i":i=parseInt(i,10);break;case"j":i=JSON.stringify(i,null,c[6]?parseInt(c[6]):0);break;case"e":i=c[7]?i.toExponential(c[7]):i.toExponential();break;case"f":i=c[7]?parseFloat(i).toFixed(c[7]):parseFloat(i);break;case"g":i=c[7]?parseFloat(i).toPrecision(c[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&c[7]?i.substring(0,c[7]):i;break;case"u":i>>>=0;break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}s.json.test(c[8])?h[h.length]=i:(!s.number.test(c[8])||b&&!c[3]?x="":(x=b?"+":"-",i=i.toString().replace(s.sign,"")),p=c[4]?"0"===c[4]?"0":c[4].charAt(1):" ",u=c[6]-(x+i).length,f=c[6]&&u>0?n(p,u):"",h[h.length]=c[5]?x+i+f:"0"===p?x+f+i:f+x+i)}return h.join("")},e.cache={},e.parse=function(e){for(var t=e,r=[],n=[],o=0;t;){if(null!==(r=s.text.exec(t)))n[n.length]=r[0];else if(null!==(r=s.modulo.exec(t)))n[n.length]="%";else{if(null===(r=s.placeholder.exec(t)))throw new SyntaxError("[sprintf] unexpected placeholder");if(r[2]){o|=1;var i=[],a=r[2],l=[];if(null===(l=s.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i[i.length]=l[1];""!==(a=a.substring(l[0].length));)if(null!==(l=s.key_access.exec(a)))i[i.length]=l[1];else{if(null===(l=s.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");i[i.length]=l[1]}r[2]=i}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n[n.length]=r}t=t.substring(r[0].length)}return n};var i={name:"sprintf",type:"postProcessor",process:function(r,n,s){return s.sprintf?"[object Array]"===Object.prototype.toString.apply(s.sprintf)?t(r,s.sprintf):"object"===o["typeof"](s.sprintf)?e(r,s.sprintf):r:r},overloadTranslationOptionHandler:function(e){for(var t=[],r=1;r= 0; - } - - switch (match[8]) { - case "b": - arg = arg.toString(2); - break; - case "c": - arg = String.fromCharCode(arg); - break; - case "d": - case "i": - arg = parseInt(arg, 10); - break; - case "j": - arg = JSON.stringify(arg, null, match[6] ? parseInt(match[6]) : 0); - break; - case "e": - arg = match[7] ? arg.toExponential(match[7]) : arg.toExponential(); - break; - case "f": - arg = match[7] ? parseFloat(arg).toFixed(match[7]) : parseFloat(arg); - break; - case "g": - arg = match[7] ? parseFloat(arg).toPrecision(match[7]) : parseFloat(arg); - break; - case "o": - arg = arg.toString(8); - break; - case "s": - arg = (arg = String(arg)) && match[7] ? arg.substring(0, match[7]) : arg; - break; - case "u": - arg = arg >>> 0; - break; - case "x": - arg = arg.toString(16); - break; - case "X": - arg = arg.toString(16).toUpperCase(); - break; - } - if (re.json.test(match[8])) { - output[output.length] = arg; - } else { - if (re.number.test(match[8]) && (!is_positive || match[3])) { - sign = is_positive ? "+" : "-"; - arg = arg.toString().replace(re.sign, ""); - } else { - sign = ""; - } - pad_character = match[4] ? match[4] === "0" ? "0" : match[4].charAt(1) : " "; - pad_length = match[6] - (sign + arg).length; - pad = match[6] ? pad_length > 0 ? str_repeat(pad_character, pad_length) : "" : ""; - output[output.length] = match[5] ? sign + arg + pad : pad_character === "0" ? sign + pad + arg : pad + sign + arg; - } - } - } - return output.join(""); - }; - - sprintf.cache = {}; - - sprintf.parse = function (fmt) { - var _fmt = fmt, - match = [], - parse_tree = [], - arg_names = 0; - while (_fmt) { - if ((match = re.text.exec(_fmt)) !== null) { - parse_tree[parse_tree.length] = match[0]; - } else if ((match = re.modulo.exec(_fmt)) !== null) { - parse_tree[parse_tree.length] = "%"; - } else if ((match = re.placeholder.exec(_fmt)) !== null) { - if (match[2]) { - arg_names |= 1; - var field_list = [], - replacement_field = match[2], - field_match = []; - if ((field_match = re.key.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - while ((replacement_field = replacement_field.substring(field_match[0].length)) !== "") { - if ((field_match = re.key_access.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - } else if ((field_match = re.index_access.exec(replacement_field)) !== null) { - field_list[field_list.length] = field_match[1]; - } else { - throw new SyntaxError("[sprintf] failed to parse named argument key"); - } - } - } else { - throw new SyntaxError("[sprintf] failed to parse named argument key"); - } - match[2] = field_list; - } else { - arg_names |= 2; - } - if (arg_names === 3) { - throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported"); - } - parse_tree[parse_tree.length] = match; - } else { - throw new SyntaxError("[sprintf] unexpected placeholder"); - } - _fmt = _fmt.substring(match[0].length); - } - return parse_tree; - }; - - function vsprintf(fmt, argv, _argv) { - _argv = (argv || []).slice(0); - _argv.splice(0, 0, fmt); - return sprintf.apply(null, _argv); - } - - /** - * helpers - */ - function get_type(variable) { - return Object.prototype.toString.call(variable).slice(8, -1).toLowerCase(); - } - - function str_repeat(input, multiplier) { - return Array(multiplier + 1).join(input); - } - - var index = { - name: 'sprintf', - type: 'postProcessor', - - process: function process(value, key, options) { - if (!options.sprintf) return value; - - if (Object.prototype.toString.apply(options.sprintf) === '[object Array]') { - return vsprintf(value, options.sprintf); - } else if (babelHelpers.typeof(options.sprintf) === 'object') { - return sprintf(value, options.sprintf); - } - - return value; - }, - overloadTranslationOptionHandler: function overloadTranslationOptionHandler(args) { - var values = []; - - for (var i = 1; i < args.length; i++) { - values.push(args[i]); - } - - return { - postProcess: 'sprintf', - sprintf: values - }; - } - }; - - return index; - -})); \ No newline at end of file diff --git a/src/node_modules/i18next-sprintf-postprocessor/i18nextSprintfPostProcessor.min.js b/src/node_modules/i18next-sprintf-postprocessor/i18nextSprintfPostProcessor.min.js deleted file mode 100644 index 943bae2..0000000 --- a/src/node_modules/i18next-sprintf-postprocessor/i18nextSprintfPostProcessor.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("i18nextSprintfPostProcessor",t):e.i18nextSprintfPostProcessor=t()}(this,function(){"use strict";function e(){var t=arguments[0],r=e.cache;return r[t]&&r.hasOwnProperty(t)||(r[t]=e.parse(t)),e.format.call(null,r[t],arguments)}function t(t,r,n){return n=(r||[]).slice(0),n.splice(0,0,t),e.apply(null,n)}function r(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function n(e,t){return Array(t+1).join(e)}var o={};o["typeof"]="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};var s={not_string:/[^s]/,number:/[diefg]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijosuxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[\+\-]/};e.format=function(t,o){var i,a,l,c,f,p,u,g=1,y=t.length,d="",h=[],b=!0,x="";for(a=0;y>a;a++)if(d=r(t[a]),"string"===d)h[h.length]=t[a];else if("array"===d){if(c=t[a],c[2])for(i=o[g],l=0;l=0),c[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":case"i":i=parseInt(i,10);break;case"j":i=JSON.stringify(i,null,c[6]?parseInt(c[6]):0);break;case"e":i=c[7]?i.toExponential(c[7]):i.toExponential();break;case"f":i=c[7]?parseFloat(i).toFixed(c[7]):parseFloat(i);break;case"g":i=c[7]?parseFloat(i).toPrecision(c[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&c[7]?i.substring(0,c[7]):i;break;case"u":i>>>=0;break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}s.json.test(c[8])?h[h.length]=i:(!s.number.test(c[8])||b&&!c[3]?x="":(x=b?"+":"-",i=i.toString().replace(s.sign,"")),p=c[4]?"0"===c[4]?"0":c[4].charAt(1):" ",u=c[6]-(x+i).length,f=c[6]&&u>0?n(p,u):"",h[h.length]=c[5]?x+i+f:"0"===p?x+f+i:f+x+i)}return h.join("")},e.cache={},e.parse=function(e){for(var t=e,r=[],n=[],o=0;t;){if(null!==(r=s.text.exec(t)))n[n.length]=r[0];else if(null!==(r=s.modulo.exec(t)))n[n.length]="%";else{if(null===(r=s.placeholder.exec(t)))throw new SyntaxError("[sprintf] unexpected placeholder");if(r[2]){o|=1;var i=[],a=r[2],l=[];if(null===(l=s.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i[i.length]=l[1];""!==(a=a.substring(l[0].length));)if(null!==(l=s.key_access.exec(a)))i[i.length]=l[1];else{if(null===(l=s.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");i[i.length]=l[1]}r[2]=i}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n[n.length]=r}t=t.substring(r[0].length)}return n};var i={name:"sprintf",type:"postProcessor",process:function(r,n,s){return s.sprintf?"[object Array]"===Object.prototype.toString.apply(s.sprintf)?t(r,s.sprintf):"object"===o["typeof"](s.sprintf)?e(r,s.sprintf):r:r},overloadTranslationOptionHandler:function(e){for(var t=[],r=1;r=0.2.2 <0.3.0", - "_id": "i18next-sprintf-postprocessor@0.2.2", - "_inCache": true, - "_installable": true, - "_location": "/i18next-sprintf-postprocessor", - "_nodeVersion": "4.1.2", - "_npmOperationalInternal": { - "host": "packages-13-west.internal.npmjs.com", - "tmp": "tmp/i18next-sprintf-postprocessor-0.2.2.tgz_1457598328335_0.2839457509107888" - }, - "_npmUser": { - "email": "jan.muehlemann@gmail.com", - "name": "jamuhl" - }, - "_npmVersion": "2.14.4", - "_phantomChildren": {}, - "_requested": { - "name": "i18next-sprintf-postprocessor", - "raw": "i18next-sprintf-postprocessor@^0.2.2", - "rawSpec": "^0.2.2", - "scope": null, - "spec": ">=0.2.2 <0.3.0", - "type": "range" - }, - "_requiredBy": [ - "/alexa-sdk" - ], - "_resolved": "https://registry.npmjs.org/i18next-sprintf-postprocessor/-/i18next-sprintf-postprocessor-0.2.2.tgz", - "_shasum": "2e409f1043579382698b6a2da70cdaa551d67ea4", - "_shrinkwrap": null, - "_spec": "i18next-sprintf-postprocessor@^0.2.2", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/alexa-sdk", - "author": { - "email": "jan.muehlemann@gmail.com", - "name": "Jan Mühlemann", - "url": "https://github.com/jamuhl" - }, - "bugs": { - "url": "https://github.com/i18next/i18next-sprintf-postProcessor" - }, - "dependencies": {}, - "description": "backend layer for i18next using browsers xhr", - "devDependencies": { - "babel-cli": "6.6.5", - "babel-core": "6.4.5", - "babel-eslint": "6.0.0-beta.5", - "babel-preset-es2015": "6.6.0", - "babel-preset-es2015-native-modules": "^6.6.0", - "babel-preset-es2015-rollup": "1.1.1", - "babel-preset-stage-0": "6.5.0", - "eslint": "2.2.0", - "eslint-config-airbnb": "6.0.2", - "mkdirp": "0.5.1", - "rimraf": "2.5.2", - "rollup": "0.25.4", - "rollup-plugin-babel": "2.4.0", - "rollup-plugin-npm": "1.4.0", - "rollup-plugin-uglify": "0.2.0", - "yargs": "4.1.0" - }, - "directories": {}, - "dist": { - "shasum": "2e409f1043579382698b6a2da70cdaa551d67ea4", - "tarball": "https://registry.npmjs.org/i18next-sprintf-postprocessor/-/i18next-sprintf-postprocessor-0.2.2.tgz" - }, - "gitHead": "8793de4f9ca2b93d41adb4a5b0b3c16e11f024a0", - "homepage": "https://github.com/i18next/i18next-sprintf-postProcessor", - "jsnext:main": "dist/es/index.js", - "keywords": [ - "i18next", - "i18next-postProcessor", - "i18next-sprintf" - ], - "license": "MIT", - "main": "./index.js", - "maintainers": [ - { - "name": "jamuhl", - "email": "jan.muehlemann@gmail.com" - } - ], - "name": "i18next-sprintf-postprocessor", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/i18next/i18next-sprintf-postProcessor.git" - }, - "scripts": { - "build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run copy", - "build:amd": "rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format umd --uglify", - "build:cjs": "babel src --out-dir dist/commonjs", - "build:es": "BABEL_ENV=jsnext babel src --out-dir dist/es", - "build:iife": "rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify", - "build:umd": "rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify", - "clean": "rimraf dist && mkdirp dist", - "copy": "cp ./dist/umd/i18nextSprintfPostProcessor.min.js ./i18nextSprintfPostProcessor.min.js && cp ./dist/umd/i18nextSprintfPostProcessor.js ./i18nextSprintfPostProcessor.js", - "postversion": "git push && git push --tags", - "preversion": "npm run build && git push" - }, - "version": "0.2.2" -} diff --git a/src/node_modules/i18next-sprintf-postprocessor/rollup.config.js b/src/node_modules/i18next-sprintf-postprocessor/rollup.config.js deleted file mode 100644 index b3b2f65..0000000 --- a/src/node_modules/i18next-sprintf-postprocessor/rollup.config.js +++ /dev/null @@ -1,31 +0,0 @@ -import babel from 'rollup-plugin-babel'; -import uglify from 'rollup-plugin-uglify'; -import npm from 'rollup-plugin-npm'; -import { argv } from 'yargs'; - -const format = argv.format || argv.f || 'iife'; -const compress = argv.uglify; - -const babelOptions = { - exclude: 'node_modules/**', - presets: ['es2015-rollup', 'stage-0'], - babelrc: false -}; - -const dest = { - amd: `dist/amd/i18nextSprintfPostProcessor${compress ? '.min' : ''}.js`, - umd: `dist/umd/i18nextSprintfPostProcessor${compress ? '.min' : ''}.js`, - iife: `dist/iife/i18nextSprintfPostProcessor${compress ? '.min' : ''}.js` -}[format]; - -export default { - entry: 'src/index.js', - format, - plugins: [ - babel(babelOptions), - npm({ jsnext: true }) - ].concat(compress ? uglify() : []), - moduleName: 'i18nextSprintfPostProcessor', - moduleId: 'i18nextSprintfPostProcessor', - dest -}; diff --git a/src/node_modules/i18next/.coveralls.yml b/src/node_modules/i18next/.coveralls.yml deleted file mode 100644 index 1622395..0000000 --- a/src/node_modules/i18next/.coveralls.yml +++ /dev/null @@ -1 +0,0 @@ -repo_token: SHBhCq4BLOpxJww3DG6g7dtKcuhG62zcK diff --git a/src/node_modules/i18next/.npmignore b/src/node_modules/i18next/.npmignore deleted file mode 100644 index 9e79bb4..0000000 --- a/src/node_modules/i18next/.npmignore +++ /dev/null @@ -1,12 +0,0 @@ -src/ -test/ -coverage/ -.babelrc -.editorconfig -.eslintignore -.eslintrc -.gitignore -bower.json -gulpfile.js -karma.conf.js -sample.html diff --git a/src/node_modules/i18next/.travis.yml b/src/node_modules/i18next/.travis.yml deleted file mode 100644 index 40d0078..0000000 --- a/src/node_modules/i18next/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: node_js -node_js: - - "6.2" -before_script: - - npm install -g gulp - - npm install -g karma diff --git a/src/node_modules/i18next/CHANGELOG.md b/src/node_modules/i18next/CHANGELOG.md deleted file mode 100644 index 237afd1..0000000 --- a/src/node_modules/i18next/CHANGELOG.md +++ /dev/null @@ -1,436 +0,0 @@ -### 3.5.2 -- remove the module entry point again will be added in 4.0.0 - -### 3.5.1 -- fix build output add a test file to test the generated build - -### 3.5.0 -- Setting options on individual translations override, rather than merge global configs [#832](https://github.com/i18next/i18next/issues/832) -- Create an new translator when cloning i18next instance [#834](https://github.com/i18next/i18next/pull/834) -- allows fallbackLng to be an string, an array or an object defining fallbacks for lng, lng-region plus default, eg - - fallbackLng: { - 'de-CH': ['fr', 'it', 'en'], - 'de': ['fr', 'en'], - 'zh-Hans': ['zh-Hant', 'en'], - 'zh-Hant': ['zh-Hans', 'en'], - 'default': ['en'] - } - - -### 3.4.4 -- Fix Interpolator.escapeValue defaulting to undefined in some cases [#826](https://github.com/i18next/i18next/issues/826) - -### 3.4.3 -- Fix Interpolator formatter exception error propagation due to not reset RegExp indices [#820](https://github.com/i18next/i18next/issues/820) - -### 3.4.2 -- assert dir function does not crash if no language available - -### 3.4.1 -- fix issue with format containing formatSeparator for interpolation formatting - -### 3.4.0 -- adds formatting 'format this: {{var, formatRule}}' having a function on options.interpolation.format: function(value, format, lng) { return value } like suggested here [#774](https://github.com/i18next/i18next/issues/774) - -### 3.3.1 -- fixed an issue with several unescaped key in the interpolation string [#746](https://github.com/i18next/i18next/pull/746) - -### 3.3.0 -- allows option `nonExplicitWhitelist` on init [#741](https://github.com/i18next/i18next/pull/741) - -### 3.2.0 -- adds api function i18next.reloadResources(), i18next.reloadResources(lngs, ns) to trigger a reload of translations - -### 3.1.0 -- emits missingKey always (like console.log) even if saveMissing is of -> use missingKeyHandler if you only want the trigger only on saveMissing: true - -### 3.0.0 -- **[BREAKING]** per default i18next uses now the same index as used in gettext for plurals. eg. for arabic suffixes are 0,1,2,3,4,5 instead of 0,1,2,3,11,100. You can enforce old behaviour by setting compatibilityJSON = 'v2' on i18next init. -- **[BREAKING]** AMD export will be unnamed now -- don't call saveMissing if no lng - -### 2.5.1 -- fixes rtl support [#656](https://github.com/i18next/i18next/pull/656/files) - -### 2.5.0 -- allow null or empty string as defaultValue -- init option `initImmediate (default: true)` to init without immediate - -### 2.4.1 -- if passing resources don't immediate loading fixes [#636](https://github.com/i18next/i18next/issues/636) - -### 2.4.0 -- support now language code variants with scripts and other exotic forms: zh-Hans-MO, sgn-BE-fr, de-AT-1996,... -- trigger of changeLanguage, load of data with a setTimeout to allow other operations meanwhile - -### 2.3.5 -- Only add language to preload array when new [#613](https://github.com/i18next/i18next/pull/613/files) - -### 2.3.4 -- get babel 6 output IE compatible: https://jsfiddle.net/jamuhl/2qc7oLf8/ - -### 2.3.2 -- add index to make export compatible again - -### 2.3.1 -- build /dist/es with included babelhelpers - -### 2.3.0 -- change build chain to use rollup...allows 'js:next' and reduces build from 45kb to 33kb minified (/lib --> /dist/commonjs folder, new /dist/es for rollup,...) -- fixes detection when using both context and pluralization and context not found. [#851](https://github.com/i18next/i18next/pull/581) - -### 2.2.0 -- return instance after init for further chaning -- make init optional on backend, cache -- package.json entry points now to /lib not to mangled version...this might be the better solution for most use cases (build chains built on npm, webpack, browserify, node,...) - -### 2.1.0 -- allow keySeparator, nsSeparator = false to turn that off - -### 2.0.26 -- extended emitted arguments on 'added' event - -### 2.0.24 -- fixes unneeded reload of resources that failed to load - -### 2.0.23 -- fixes returnObjects in case of multiple namespaces - -### 2.0.22 -- add options for context, pluralSeparator - -### 2.0.21 -- clear done load request in backendConnector - -### 2.0.20 -- pass full options to detectors as third arg - -### 2.0.19 -- do not callback err in backendConnector if no backend is specified - -### 2.0.18 -- check for fallbackLng exist - -### 2.0.17 -- adds cimode to options.whitelist if set -- emits failedLoading on load error - -### 2.0.16 -- adds addResource to i18next API -- fix init of i18next without options, callback - -### 2.0.15 -- avoid loading of resources for lng=cimode - -### 2.0.14 -- enhance callback on load from backend...wait for pendings - -### 2.0.10 -- fixing build chain -- do not post process on nested translation resolve - -### 2.0.5 -- fixing allow nesting on interpolated nesting vars - -### 2.0.4 -- don't log lng changed if no lng was detected -- extend result on arrayJoins - -### 2.0.1 -- assert defaults are arrays where needed -- assert calling lngUtils.toResolveHierarchy does not add undefined as code if called without code param - - -### 2.0.0 -- complete rewrite of i18next codebase - ---------- - - -### 1.11.2 -- replace forEach loop to support IE8 [PR 461](https://github.com/i18next/i18next/pull/461) - -### 1.11.1 -- fixes issue in nesting using multiple namespaces and lookups in fallback namespaces -- Fix use of sprintf as shortcutFunction when first argument falsey [PR 453](https://github.com/i18next/i18next/pull/453) - -### 1.11.0 -- Add nsseparator and keyseparator as options to translation function [PR 446](https://github.com/i18next/i18next/pull/446) -- Resolves issue #448 - TypeScript errors [PR 449](https://github.com/i18next/i18next/pull/449) -- Fixing _deepExtend to handle keys deep existing in source and target [PR 444](https://github.com/i18next/i18next/pull/444) -- `resource` to `resources` in addResources function [PR 440](https://github.com/i18next/i18next/pull/440) -- Runs multiple post processes for missing translations [PR 438](https://github.com/i18next/i18next/pull/438) -- Add support to override Ajax HTTP headers [PR 431](https://github.com/i18next/i18next/pull/431) -- Fixed mnk plural definition [PR 427](https://github.com/i18next/i18next/pull/427) -- Add dir function to return directionality of current language, closes… [PR 413](https://github.com/i18next/i18next/pull/413) - -### 1.10.3 -- fixes issue where lng get fixed on data-i18n-options -- [SECURITY] merges Reimplement XSS-vulnerable sequential replacement code [PR 443](https://github.com/i18next/i18next/pull/443) - -### 1.10.2 -- streamline callback(err, t) for case where resStore is passed in - -### 1.10.1 -- fixes Adds jquery like functionality without the jquery plugin. [PR 403](https://github.com/i18next/i18next/pull/403) by adding it to output - -### 1.10.0 -- [BREAKING] new callbacks will be node.js conform function(err, t) | Forward the error from sync fetch methods to the init callback function [PR 402](https://github.com/i18next/i18next/pull/402) -- fix fallback lng option during translations [PR 399](https://github.com/i18next/i18next/pull/399) -- Adds jquery like functionality without the jquery plugin. [PR 403](https://github.com/i18next/i18next/pull/403) - -### 1.9.1 -- fix fallback lng option during translations [PR 399](https://github.com/i18next/i18next/pull/399) -- Adds jquery like functionality without the jquery plugin. [PR 403](https://github.com/i18next/i18next/pull/403) - -### 1.9.0 -- i18n.noConflict() [PR 371](https://github.com/i18next/i18next/pull/371) -- fix fallback to default namepsace when namespace passed as an option [PR 375](https://github.com/i18next/i18next/pull/375) -- cache option for ajax requests [PR 376](https://github.com/i18next/i18next/pull/376) -- option to show key on value is empty string [PR 379](https://github.com/i18next/i18next/pull/379) -- Add isInitialized method [PR 380](https://github.com/i18next/i18next/pull/380) -- Null check for detectLngFromLocalStorage [PR 384](https://github.com/i18next/i18next/pull/384) -- support for adding timeout in configuration for ajax request [PR 387](https://github.com/i18next/i18next/pull/387) - -### 1.8.2 -- fixes build of commonjs with jquery file - -### 1.8.0 -- [BREAKING] adds custom build for commonjs with jquery...default will be without require for jquery -- fixes issue [issue 360](https://github.com/i18next/i18next/issues/360) -- expose applyReplacement on api -- save resources to localStorage when useLocaleStore is true -- add support on key is a number -- added getResourceBundle to API -- allow multiple post-processors -- fallback to singular if no plural is found fixes issue [issue 356](https://github.com/i18next/i18next/issues/356) -- access localstorage always with try catch fixes issue [issue 353](https://github.com/i18next/i18next/issues/353) - -### 1.7.7 -- fixes issue with stack overflow on t(lng, count) -- fixes empty value fallback when processing secondary ns - -### 1.7.6 -- fixes lng detection (i18next-client on npm) - -### 1.7.5 -- adds option to define defaultOptions, which gets merged into t(options) [issue 307](https://github.com/i18next/i18next/issues/307) -- optimization of size added by plural rules -- handle error on json parse when using internal xhr -- fixes plural/singular on count if going on fallbacks eg. fr --> en -- fixes global leak of sync in amd versions -- apply options.lowerCaseLng to fallbackLng too -- added hasResourceBundle(lng, ns) to check if bundle exists -- added experimental i18n.sync.reload --> resets resStore and reloads resources -- catch issues with localStorage quota -- changes detectlanguage to support whitelist entries - -### 1.7.4 -- add resource bundle gets deep extend flag i18n.addResourceBundle(lng, ns, { 'deep': { 'key2': 'value2' }}, true); -- new functions to add one key value or multiple i18n.addResource(lng, ns, key, value);, i18n.addResources(lng, ns, {'key1': 'value1', 'deep.key2': 'value2'}); -- lngWhitelist merged -- override postMissing function -- allow floats for count -- added indefinite functionality for plurals -- optional set replacing vars to replace member to avoid collision with other options -- experimental optional detectLngFromLocalStorage -- fix for norwegian language - -### 1.7.3 -- solves issue with ie8 not providing .trim function on string -> added to shim -- set data using $(selector).i18n() on data-i18n='[data-someDataAttr]key' -- more bullet proof state handling on failed file load -- corrected latvian plurals based on [issue 231](https://github.com/jamuhl/i18next/issues/231) -- allow array of fallback languages -- allow int in values passed to shortcut sprintf -- setLng to 'cimode' will trigger a CI mode returning 'key' instead of translation - -### 1.7.2 -- introducing option fallbackOnEmpty -> empty string will fallback -- added function removeResourceBundle(lng, ns) -> removes a resource set -- fixed issue with no option passed to setLng -- added ability to prepend, append content with data-i18n attributes -- introducing objectTreeKeyHandler -- fixes issue with i18n.t(null), i18n.t(undefined) throwing exception -- returnObjectTrees does not mangle arrays, functions, and regexps -- optimized structure for bower support - -### 1.7.1 -- fixed some typo -- allow translate to take an array of keys - take first found -- allow numbers in object trees - -### 1.7.0 -- test if initialisation finished before allowing calling t function -- setting option fixLng=true will return t function on init or setLng with the lng fixed for every subsequent call to t -- grab key from content if attr data-i18n has no value -- setting shortcutFunction to 'defaultValue' allows calling i18n.t(key, defaultValue) -- empty string in defaultValue is now valid no longer displaying key -- allow option cookieDomain -- fixes issue #115 out of stack exception in IE8 by recursing _translate in objectTrees - -### 1.6.3 -- option to parse key if missing -- fixes issue where plural don't get translated if language is passed in t options -- fixes issue where key or defaultValue aren't postProcessed with itself as value -- fixes issue with fallbackLng = false in combination with sendMissingTo = fallback -- fixes namespace fallback loop to only loop if array has really a ns in it - -### 1.6.2 -- fixes some var typo -- fixes sendMissing to correct namespace -- fixes sendMissing in combination with fallbackNS - -### 1.6.1 -- PR #106 optionally un/escape interpolated content -- PR #101 automatic gettext like sprintf syntax detection + postprocess injection -- customload will get called on dynamicLoad too -- fixes namespace array settings if loaded resourcebundle or additional namespaces -- lookup of not existend resouces can be fallbacked to other namespaces - see option fallbackNS (array or string if one ns to fallback to) -- defaultValues get postProcessed -- BREAKING: per default null values in resources get translated to fallback. This can be changed by setting option fallbackOnNull to false -- PR #81 added support for passing options to nested resources -- PR #88 added an exists method to check for the existence of a key in the resource store -- fixed issue with null value throws in applyReplacement function -- fixed issue #80 empty string lookup ends in fallback instead of returning result in language -- fixed issue with null value in resources not returning expected value -- optimized tests to use on server (nodejs) too -- allow zepto as drop in replacement for $ -- using testacular as runner -- upgraded to grunt 0.4.0 -- fixed optional interpolation prefix/suffix not used in plural translation cases -- optimized check if there are multiple keys for the data-i18n attribute to parse - -### 1.6.0 -- option to specify target to set attributes with jquery function by using 'data-i18n-target attribute' -- function to set new options for nesting functionality -- function to add resources after init -- option to lookup in default namespace if value is not found in given namespace -- option to change interpolation prefix and suffix via translation options -- fixed issue with using ns/keyseparator on plurals, context,... -- fixed issue with posting missing when not using jquery -- post missing in correct lng if lng is given in translation options -- proper usage of deferred object in init function -- fixed issue replacing values in objectTree - -### 1.5.10 -- BREAKING: fixed plural rules for languages with extended plural forms (more than 2 forms) -- merged pull #61 - custom loader (enables jsonp or other loading custom loading strategies) -- escaping interpolation prefix/suffix for proper regex replace - -### 1.5.9 -- functions to load additional namespaces after init and to set default namespace to something else -- set if you don't want to read defaultValues from content while using jquery fc -- set dataAttribute to different value -- set cookieName to different value -- some smallbugfixes -- typesafe use of console if in debug mode - -### 1.5.8 -- disable cookie usage by setting init option useCookie to false -- accept empty string as translation value -- fixed bug in own ajax implementation not using proper sendType -- fixed bug for returning objTree in combination with namespace -- fixed bug in plurals of romanic lngs - -### 1.5.7 -- pass namespace in t() options -- interpolation nesting -- changable querystring param to look language up from - -### 1.5.6 -- typesafe check for window, document existance -- runnable under rhino -- seperated amd builds with/without jquery - -### 1.5.5 -- __BREAKING__ added all plurals: suffixes will new be same as in gettext usage (number indexes key_plural_0|2|3|4|5|7|8|10|11|20|100), additional if needed signature of addRule has changed -- added sprintf as postprocessor -> postProcess = 'sprintf' and sprintf = obj or array -- set default postProcessor on init -- redone build process with grunt -- drop in replacement for jquery each, extend, ajax -- setting fallbackLng to false will stop loading and looking it up -- option to load only current or unspecific language files - -### 1.5.0 -- pass options to sync._fetchOne, use options for fetching -- support for i18next-webtranslate - -### 1.4.1 -- post processor -- __BREAKING:__ localStorage defaults to false -- added localStorageExpirationTime for better caching control -- few bug fixes - -### 1.4.0 -- preload multiple languages -- translate key to other language than current -- fixed issue with namespace usage in combination with context and plurals -- more options to send missing values -- better amd support - -### 1.3.4 -- set type of ajax request to GET (options sendType: default POST) -- set cookie expiration (options cookieExpirationTime: in minutes) -- read / cache translation options (context, count, ...) in data-attribute (options useDataAttrOptions: default false) - -### 1.3.3 -- optional return an objectTree from translation -- use jquery promises or callback in initialisation -- rewrote all tests with mocha.js - -### 1.3.2 -- options to init i18next sync (options -> getAsync = false) -- replace all occurence of replacement string - -### 1.3.1 -- pass options to selector.i18n() thanks to [@hugojosefson](https://github.com/jamuhl/i18next/pull/10) -- close [issue #8(https://github.com/jamuhl/i18next/issues/8)]: Fail silently when trying to access a path with children -- cleanup -- debug flag (options.debug -> write infos/errors to console) - -### 1.2.5 -- fix for IE8 - -### 1.2.4 -- added indexOf for non ECMA-262 standard compliant browsers (IE < 9) -- calling i28n() on element with data-i18n attribute will localize it now (i18n now not only works on container elements child) - -### 1.2.3 - -- extended detectLng: switch via qs _setLng=_ or cookie _i18next_ -- assert county in locale will be uppercased `en-us` -> `en-US` -- provide option to have locale always lowercased _option lowerCaseLng_ -- set lng cookie when set in init function - -### 1.2 - -- support for translation context -- fixed zero count in plurals -- init without options, callback - -### 1.1 - -- support for multiple plural forms -- common.js enabled (for node.js serverside) -- changes to be less dependent on jquery (override it's functions, add to root if no jquery) -- enable it on serverside with node.js [i18next-node](https://github.com/jamuhl/i18next-node) - -### 1.0 - -- support for other attribute translation via _data-i18n_ attribute -- bug fixes -- tests with qunit and sinon - -### 0.9 - -- multi-namespace support -- loading static files or dynamic route -- jquery function for _data-i18n_ attibute -- post missing translations to the server -- graceful fallback en-US -> en -> fallbackLng -- localstorage support -- support for pluralized strings -- insertion of variables into translations -- translation nesting diff --git a/src/node_modules/i18next/LICENSE b/src/node_modules/i18next/LICENSE deleted file mode 100644 index 5f0df97..0000000 --- a/src/node_modules/i18next/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 i18next - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/node_modules/i18next/README.md b/src/node_modules/i18next/README.md deleted file mode 100644 index 7fdd68f..0000000 --- a/src/node_modules/i18next/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# i18next - -[![Travis](https://img.shields.io/travis/i18next/i18next/master.svg?style=flat-square)](https://travis-ci.org/i18next/i18next) -[![Coveralls](https://img.shields.io/coveralls/i18next/i18next/master.svg?style=flat-square)](https://coveralls.io/github/i18next/i18next) -[![cdnjs version](https://img.shields.io/cdnjs/v/i18next.svg?style=flat-square)](https://cdnjs.com/libraries/i18next) -[![npm version](https://img.shields.io/npm/v/i18next.svg?style=flat-square)](https://www.npmjs.com/package/i18next) -[![Bower](https://img.shields.io/bower/v/i18next.svg?style=flat-square)]() -[![David](https://img.shields.io/david/i18next/i18next.svg?style=flat-square)](https://david-dm.org/i18next/i18next) - -i18next is a very popular internationalization framework for browser or any other javascript environment (eg. node.js). - -![ecosystem](http://i18next.com/img/frameworks.png) - - -i18next provides: - -- Flexible connection to [backend](http://i18next.com/docs/ecosystem/#backends) (loading translations via xhr, ...) -- Optional [caching](http://i18next.com/docs/ecosystem/#caches), user [language detection](http://i18next.com/docs/ecosystem/#languagedetector), ... -- Proper [pluralizations](http://i18next.com/translate/pluralSimple/) -- Translation [context](http://i18next.com/translate/context/) -- [Nesting](http://i18next.com/translate/nesting/), [Variable replacement](http://i18next.com/translate/interpolation/) -- Flexibility: prefer [keybased](http://i18next.com/translate/) or [gettext](http://i18next.com/translate/keyBasedFallback/) style? No problem... -- Extensibility: eg. [sprintf](http://i18next.com/docs/ecosystem/#postprocessors) -- ... - - -For more information visit the website: - -- [Getting started](http://i18next.com/docs/) -- [Translation Functionality](http://i18next.com/translate/) -- [API](http://i18next.com/docs/api/) -- [Migration Guide from v1.11.x](http://i18next.com/docs/migration/) - - - -Our focus is providing the core to building a booming ecosystem. Independent of the building blocks you choose, be it react, angular or even good old jquery proper translation capabilities are just [one step away](http://i18next.com/docs/ecosystem/#frameworks). - --------------- -**locize.com** - -Having done a big rewrite of i18next in spring we are proud to announce the next big step to get your webproject translated with less effort. We just released [locize](http://locize.com/) a translation management system built around the i18next ecosystem. - -With using locize you directly support the future of i18next. - --------------- diff --git a/src/node_modules/i18next/dist/commonjs/BackendConnector.js b/src/node_modules/i18next/dist/commonjs/BackendConnector.js deleted file mode 100644 index 811d30a..0000000 --- a/src/node_modules/i18next/dist/commonjs/BackendConnector.js +++ /dev/null @@ -1,317 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); - -var _utils = require('./utils'); - -var utils = _interopRequireWildcard(_utils); - -var _logger = require('./logger'); - -var _logger2 = _interopRequireDefault(_logger); - -var _EventEmitter2 = require('./EventEmitter'); - -var _EventEmitter3 = _interopRequireDefault(_EventEmitter2); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - -function remove(arr, what) { - var found = arr.indexOf(what); - - while (found !== -1) { - arr.splice(found, 1); - found = arr.indexOf(what); - } -} - -var Connector = function (_EventEmitter) { - _inherits(Connector, _EventEmitter); - - function Connector(backend, store, services) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - _classCallCheck(this, Connector); - - var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.backend = backend; - _this.store = store; - _this.services = services; - _this.options = options; - _this.logger = _logger2.default.create('backendConnector'); - - _this.state = {}; - _this.queue = []; - - _this.backend && _this.backend.init && _this.backend.init(services, options.backend, options); - return _this; - } - - Connector.prototype.queueLoad = function queueLoad(languages, namespaces, callback) { - var _this2 = this; - - // find what needs to be loaded - var toLoad = [], - pending = [], - toLoadLanguages = [], - toLoadNamespaces = []; - - languages.forEach(function (lng) { - var hasAllNamespaces = true; - - namespaces.forEach(function (ns) { - var name = lng + '|' + ns; - - if (_this2.store.hasResourceBundle(lng, ns)) { - _this2.state[name] = 2; // loaded - } else if (_this2.state[name] < 0) { - // nothing to do for err - } else if (_this2.state[name] === 1) { - if (pending.indexOf(name) < 0) pending.push(name); - } else { - _this2.state[name] = 1; // pending - - hasAllNamespaces = false; - - if (pending.indexOf(name) < 0) pending.push(name); - if (toLoad.indexOf(name) < 0) toLoad.push(name); - if (toLoadNamespaces.indexOf(ns) < 0) toLoadNamespaces.push(ns); - } - }); - - if (!hasAllNamespaces) toLoadLanguages.push(lng); - }); - - if (toLoad.length || pending.length) { - this.queue.push({ - pending: pending, - loaded: {}, - errors: [], - callback: callback - }); - } - - return { - toLoad: toLoad, - pending: pending, - toLoadLanguages: toLoadLanguages, - toLoadNamespaces: toLoadNamespaces - }; - }; - - Connector.prototype.loaded = function loaded(name, err, data) { - var _this3 = this; - - var _name$split = name.split('|'), - _name$split2 = _slicedToArray(_name$split, 2), - lng = _name$split2[0], - ns = _name$split2[1]; - - if (err) this.emit('failedLoading', lng, ns, err); - - if (data) { - this.store.addResourceBundle(lng, ns, data); - } - - // set loaded - this.state[name] = err ? -1 : 2; - // callback if ready - this.queue.forEach(function (q) { - utils.pushPath(q.loaded, [lng], ns); - remove(q.pending, name); - - if (err) q.errors.push(err); - - if (q.pending.length === 0 && !q.done) { - q.errors.length ? q.callback(q.errors) : q.callback(); - _this3.emit('loaded', q.loaded); - q.done = true; - } - }); - - // remove done load requests - this.queue = this.queue.filter(function (q) { - return !q.done; - }); - }; - - Connector.prototype.read = function read(lng, ns, fcName, tried, wait, callback) { - var _this4 = this; - - if (!tried) tried = 0; - if (!wait) wait = 250; - - if (!lng.length) return callback(null, {}); // noting to load - - this.backend[fcName](lng, ns, function (err, data) { - if (err && data /* = retryFlag */ && tried < 5) { - setTimeout(function () { - _this4.read.call(_this4, lng, ns, fcName, ++tried, wait * 2, callback); - }, wait); - return; - } - callback(err, data); - }); - }; - - Connector.prototype.load = function load(languages, namespaces, callback) { - var _this5 = this; - - if (!this.backend) { - this.logger.warn('No backend was added via i18next.use. Will not load resources.'); - return callback && callback(); - } - var options = _extends({}, this.backend.options, this.options.backend); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - var toLoad = this.queueLoad(languages, namespaces, callback); - if (!toLoad.toLoad.length) { - if (!toLoad.pending.length) callback(); // nothing to load and no pendings...callback now - return; // pendings will trigger callback - } - - // load with multi-load - if (options.allowMultiLoading && this.backend.readMulti) { - this.read(toLoad.toLoadLanguages, toLoad.toLoadNamespaces, 'readMulti', null, null, function (err, data) { - if (err) _this5.logger.warn('loading namespaces ' + toLoad.toLoadNamespaces.join(', ') + ' for languages ' + toLoad.toLoadLanguages.join(', ') + ' via multiloading failed', err); - if (!err && data) _this5.logger.log('loaded namespaces ' + toLoad.toLoadNamespaces.join(', ') + ' for languages ' + toLoad.toLoadLanguages.join(', ') + ' via multiloading', data); - - toLoad.toLoad.forEach(function (name) { - var _name$split3 = name.split('|'), - _name$split4 = _slicedToArray(_name$split3, 2), - l = _name$split4[0], - n = _name$split4[1]; - - var bundle = utils.getPath(data, [l, n]); - if (bundle) { - _this5.loaded(name, err, bundle); - } else { - var _err = 'loading namespace ' + n + ' for language ' + l + ' via multiloading failed'; - _this5.loaded(name, _err); - _this5.logger.error(_err); - } - }); - }); - } - - // load one by one - else { - (function () { - var readOne = function readOne(name) { - var _this6 = this; - - var _name$split5 = name.split('|'), - _name$split6 = _slicedToArray(_name$split5, 2), - lng = _name$split6[0], - ns = _name$split6[1]; - - this.read(lng, ns, 'read', null, null, function (err, data) { - if (err) _this6.logger.warn('loading namespace ' + ns + ' for language ' + lng + ' failed', err); - if (!err && data) _this6.logger.log('loaded namespace ' + ns + ' for language ' + lng, data); - - _this6.loaded(name, err, data); - }); - }; - - ; - - toLoad.toLoad.forEach(function (name) { - readOne.call(_this5, name); - }); - })(); - } - }; - - Connector.prototype.reload = function reload(languages, namespaces) { - var _this7 = this; - - if (!this.backend) { - this.logger.warn('No backend was added via i18next.use. Will not load resources.'); - } - var options = _extends({}, this.backend.options, this.options.backend); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - // load with multi-load - if (options.allowMultiLoading && this.backend.readMulti) { - this.read(languages, namespaces, 'readMulti', null, null, function (err, data) { - if (err) _this7.logger.warn('reloading namespaces ' + namespaces.join(', ') + ' for languages ' + languages.join(', ') + ' via multiloading failed', err); - if (!err && data) _this7.logger.log('reloaded namespaces ' + namespaces.join(', ') + ' for languages ' + languages.join(', ') + ' via multiloading', data); - - languages.forEach(function (l) { - namespaces.forEach(function (n) { - var bundle = utils.getPath(data, [l, n]); - if (bundle) { - _this7.loaded(l + '|' + n, err, bundle); - } else { - var _err2 = 'reloading namespace ' + n + ' for language ' + l + ' via multiloading failed'; - _this7.loaded(l + '|' + n, _err2); - _this7.logger.error(_err2); - } - }); - }); - }); - } - - // load one by one - else { - (function () { - var readOne = function readOne(name) { - var _this8 = this; - - var _name$split7 = name.split('|'), - _name$split8 = _slicedToArray(_name$split7, 2), - lng = _name$split8[0], - ns = _name$split8[1]; - - this.read(lng, ns, 'read', null, null, function (err, data) { - if (err) _this8.logger.warn('reloading namespace ' + ns + ' for language ' + lng + ' failed', err); - if (!err && data) _this8.logger.log('reloaded namespace ' + ns + ' for language ' + lng, data); - - _this8.loaded(name, err, data); - }); - }; - - ; - - languages.forEach(function (l) { - namespaces.forEach(function (n) { - readOne.call(_this7, l + '|' + n); - }); - }); - })(); - } - }; - - Connector.prototype.saveMissing = function saveMissing(languages, namespace, key, fallbackValue) { - if (this.backend && this.backend.create) this.backend.create(languages, namespace, key, fallbackValue); - - // write to store to avoid resending - if (!languages || !languages[0]) return; - this.store.addResource(languages[0], namespace, key, fallbackValue); - }; - - return Connector; -}(_EventEmitter3.default); - -exports.default = Connector; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/CacheConnector.js b/src/node_modules/i18next/dist/commonjs/CacheConnector.js deleted file mode 100644 index 6a19b4f..0000000 --- a/src/node_modules/i18next/dist/commonjs/CacheConnector.js +++ /dev/null @@ -1,88 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _utils = require('./utils'); - -var utils = _interopRequireWildcard(_utils); - -var _logger = require('./logger'); - -var _logger2 = _interopRequireDefault(_logger); - -var _EventEmitter2 = require('./EventEmitter'); - -var _EventEmitter3 = _interopRequireDefault(_EventEmitter2); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - -var Connector = function (_EventEmitter) { - _inherits(Connector, _EventEmitter); - - function Connector(cache, store, services) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - _classCallCheck(this, Connector); - - var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.cache = cache; - _this.store = store; - _this.services = services; - _this.options = options; - _this.logger = _logger2.default.create('cacheConnector'); - - _this.cache && _this.cache.init && _this.cache.init(services, options.cache, options); - return _this; - } - - Connector.prototype.load = function load(languages, namespaces, callback) { - var _this2 = this; - - if (!this.cache) return callback && callback(); - var options = _extends({}, this.cache.options, this.options.cache); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - if (options.enabled) { - this.cache.load(languages, function (err, data) { - if (err) _this2.logger.error('loading languages ' + languages.join(', ') + ' from cache failed', err); - if (data) { - for (var l in data) { - for (var n in data[l]) { - if (n === 'i18nStamp') continue; - var bundle = data[l][n]; - if (bundle) _this2.store.addResourceBundle(l, n, bundle); - } - } - } - if (callback) callback(); - }); - } else { - if (callback) callback(); - } - }; - - Connector.prototype.save = function save() { - if (this.cache && this.options.cache && this.options.cache.enabled) this.cache.save(this.store.data); - }; - - return Connector; -}(_EventEmitter3.default); - -exports.default = Connector; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/EventEmitter.js b/src/node_modules/i18next/dist/commonjs/EventEmitter.js deleted file mode 100644 index bf4e4cc..0000000 --- a/src/node_modules/i18next/dist/commonjs/EventEmitter.js +++ /dev/null @@ -1,67 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var EventEmitter = function () { - function EventEmitter() { - _classCallCheck(this, EventEmitter); - - this.observers = {}; - } - - EventEmitter.prototype.on = function on(events, listener) { - var _this = this; - - events.split(' ').forEach(function (event) { - _this.observers[event] = _this.observers[event] || []; - _this.observers[event].push(listener); - }); - }; - - EventEmitter.prototype.off = function off(event, listener) { - var _this2 = this; - - if (!this.observers[event]) { - return; - } - - this.observers[event].forEach(function () { - if (!listener) { - delete _this2.observers[event]; - } else { - var index = _this2.observers[event].indexOf(listener); - if (index > -1) { - _this2.observers[event].splice(index, 1); - } - } - }); - }; - - EventEmitter.prototype.emit = function emit(event) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - if (this.observers[event]) { - this.observers[event].forEach(function (observer) { - observer.apply(undefined, args); - }); - } - - if (this.observers['*']) { - this.observers['*'].forEach(function (observer) { - var _ref; - - observer.apply(observer, (_ref = [event]).concat.apply(_ref, args)); - }); - } - }; - - return EventEmitter; -}(); - -exports.default = EventEmitter; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/Interpolator.js b/src/node_modules/i18next/dist/commonjs/Interpolator.js deleted file mode 100644 index 4a125fa..0000000 --- a/src/node_modules/i18next/dist/commonjs/Interpolator.js +++ /dev/null @@ -1,171 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _utils = require('./utils'); - -var utils = _interopRequireWildcard(_utils); - -var _logger = require('./logger'); - -var _logger2 = _interopRequireDefault(_logger); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var Interpolator = function () { - function Interpolator() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - _classCallCheck(this, Interpolator); - - this.logger = _logger2.default.create('interpolator'); - - this.init(options, true); - } - - Interpolator.prototype.init = function init() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var reset = arguments[1]; - - if (reset) { - this.options = options; - this.format = options.interpolation && options.interpolation.format || function (value) { - return value; - }; - } - if (!options.interpolation) options.interpolation = { escapeValue: true }; - - var iOpts = options.interpolation; - - this.escapeValue = iOpts.escapeValue !== undefined ? iOpts.escapeValue : true; - - this.prefix = iOpts.prefix ? utils.regexEscape(iOpts.prefix) : iOpts.prefixEscaped || '{{'; - this.suffix = iOpts.suffix ? utils.regexEscape(iOpts.suffix) : iOpts.suffixEscaped || '}}'; - this.formatSeparator = iOpts.formatSeparator ? utils.regexEscape(iOpts.formatSeparator) : iOpts.formatSeparator || ','; - - this.unescapePrefix = iOpts.unescapeSuffix ? '' : iOpts.unescapePrefix || '-'; - this.unescapeSuffix = this.unescapePrefix ? '' : iOpts.unescapeSuffix || ''; - - this.nestingPrefix = iOpts.nestingPrefix ? utils.regexEscape(iOpts.nestingPrefix) : iOpts.nestingPrefixEscaped || utils.regexEscape('$t('); - this.nestingSuffix = iOpts.nestingSuffix ? utils.regexEscape(iOpts.nestingSuffix) : iOpts.nestingSuffixEscaped || utils.regexEscape(')'); - - // the regexp - this.resetRegExp(); - }; - - Interpolator.prototype.reset = function reset() { - if (this.options) this.init(this.options); - }; - - Interpolator.prototype.resetRegExp = function resetRegExp() { - // the regexp - var regexpStr = this.prefix + '(.+?)' + this.suffix; - this.regexp = new RegExp(regexpStr, 'g'); - - var regexpUnescapeStr = this.prefix + this.unescapePrefix + '(.+?)' + this.unescapeSuffix + this.suffix; - this.regexpUnescape = new RegExp(regexpUnescapeStr, 'g'); - - var nestingRegexpStr = this.nestingPrefix + '(.+?)' + this.nestingSuffix; - this.nestingRegexp = new RegExp(nestingRegexpStr, 'g'); - }; - - Interpolator.prototype.interpolate = function interpolate(str, data, lng) { - var _this = this; - - var match = void 0, - value = void 0; - - function regexSafe(val) { - return val.replace(/\$/g, '$$$$'); - } - - var handleFormat = function handleFormat(key) { - if (key.indexOf(_this.formatSeparator) < 0) return utils.getPath(data, key); - - var p = key.split(_this.formatSeparator); - var k = p.shift().trim(); - var f = p.join(_this.formatSeparator).trim(); - - return _this.format(utils.getPath(data, k), f, lng); - }; - - this.resetRegExp(); - - // unescape if has unescapePrefix/Suffix - while (match = this.regexpUnescape.exec(str)) { - var _value = handleFormat(match[1].trim()); - str = str.replace(match[0], _value); - this.regexpUnescape.lastIndex = 0; - } - - // regular escape on demand - while (match = this.regexp.exec(str)) { - value = handleFormat(match[1].trim()); - if (typeof value !== 'string') value = utils.makeString(value); - if (!value) { - this.logger.warn('missed to pass in variable ' + match[1] + ' for interpolating ' + str); - value = ''; - } - value = this.escapeValue ? regexSafe(utils.escape(value)) : regexSafe(value); - str = str.replace(match[0], value); - this.regexp.lastIndex = 0; - } - return str; - }; - - Interpolator.prototype.nest = function nest(str, fc) { - var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - - var match = void 0, - value = void 0; - - var clonedOptions = JSON.parse(JSON.stringify(options)); - clonedOptions.applyPostProcessor = false; // avoid post processing on nested lookup - - function regexSafe(val) { - return val.replace(/\$/g, '$$$$'); - } - - // if value is something like "myKey": "lorem $(anotherKey, { "count": {{aValueInOptions}} })" - function handleHasOptions(key) { - if (key.indexOf(',') < 0) return key; - - var p = key.split(','); - key = p.shift(); - var optionsString = p.join(','); - optionsString = this.interpolate(optionsString, clonedOptions); - - try { - clonedOptions = JSON.parse(optionsString); - } catch (e) { - this.logger.error('failed parsing options string in nesting for key ' + key, e); - } - - return key; - } - - // regular escape on demand - while (match = this.nestingRegexp.exec(str)) { - value = fc(handleHasOptions.call(this, match[1].trim()), clonedOptions); - if (typeof value !== 'string') value = utils.makeString(value); - if (!value) { - this.logger.warn('missed to pass in variable ' + match[1] + ' for interpolating ' + str); - value = ''; - } - value = this.escapeValue ? regexSafe(utils.escape(value)) : regexSafe(value); - str = str.replace(match[0], value); - this.regexp.lastIndex = 0; - } - return str; - }; - - return Interpolator; -}(); - -exports.default = Interpolator; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/LanguageUtils.js b/src/node_modules/i18next/dist/commonjs/LanguageUtils.js deleted file mode 100644 index a7cf743..0000000 --- a/src/node_modules/i18next/dist/commonjs/LanguageUtils.js +++ /dev/null @@ -1,144 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _logger = require('./logger'); - -var _logger2 = _interopRequireDefault(_logger); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function capitalize(string) { - return string.charAt(0).toUpperCase() + string.slice(1); -} - -var LanguageUtil = function () { - function LanguageUtil(options) { - _classCallCheck(this, LanguageUtil); - - this.options = options; - - this.whitelist = this.options.whitelist || false; - this.logger = _logger2.default.create('languageUtils'); - } - - LanguageUtil.prototype.getLanguagePartFromCode = function getLanguagePartFromCode(code) { - if (code.indexOf('-') < 0) return code; - - var specialCases = ['NB-NO', 'NN-NO', 'nb-NO', 'nn-NO', 'nb-no', 'nn-no']; - var p = code.split('-'); - return this.formatLanguageCode(specialCases.indexOf(code) > -1 ? p[1].toLowerCase() : p[0]); - }; - - LanguageUtil.prototype.getScriptPartFromCode = function getScriptPartFromCode(code) { - if (code.indexOf('-') < 0) return null; - - var p = code.split('-'); - if (p.length === 2) return null; - p.pop(); - return this.formatLanguageCode(p.join('-')); - }; - - LanguageUtil.prototype.getLanguagePartFromCode = function getLanguagePartFromCode(code) { - if (code.indexOf('-') < 0) return code; - - var specialCases = ['NB-NO', 'NN-NO', 'nb-NO', 'nn-NO', 'nb-no', 'nn-no']; - var p = code.split('-'); - return this.formatLanguageCode(specialCases.indexOf(code) > -1 ? p[1].toLowerCase() : p[0]); - }; - - LanguageUtil.prototype.formatLanguageCode = function formatLanguageCode(code) { - // http://www.iana.org/assignments/language-tags/language-tags.xhtml - if (typeof code === 'string' && code.indexOf('-') > -1) { - var specialCases = ['hans', 'hant', 'latn', 'cyrl', 'cans', 'mong', 'arab']; - var p = code.split('-'); - - if (this.options.lowerCaseLng) { - p = p.map(function (part) { - return part.toLowerCase(); - }); - } else if (p.length === 2) { - p[0] = p[0].toLowerCase(); - p[1] = p[1].toUpperCase(); - - if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase()); - } else if (p.length === 3) { - p[0] = p[0].toLowerCase(); - - // if lenght 2 guess it's a country - if (p[1].length === 2) p[1] = p[1].toUpperCase(); - if (p[0] !== 'sgn' && p[2].length === 2) p[2] = p[2].toUpperCase(); - - if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase()); - if (specialCases.indexOf(p[2].toLowerCase()) > -1) p[2] = capitalize(p[2].toLowerCase()); - } - - return p.join('-'); - } else { - return this.options.cleanCode || this.options.lowerCaseLng ? code.toLowerCase() : code; - } - }; - - LanguageUtil.prototype.isWhitelisted = function isWhitelisted(code, exactMatch) { - if (this.options.load === 'languageOnly' || this.options.nonExplicitWhitelist && !exactMatch) { - code = this.getLanguagePartFromCode(code); - } - return !this.whitelist || !this.whitelist.length || this.whitelist.indexOf(code) > -1 ? true : false; - }; - - LanguageUtil.prototype.getFallbackCodes = function getFallbackCodes(fallbacks, code) { - if (!fallbacks) return []; - if (typeof fallbacks === 'string') fallbacks = [fallbacks]; - if (Object.prototype.toString.apply(fallbacks) === '[object Array]') return fallbacks; - - // asume we have an object defining fallbacks - var found = fallbacks[code]; - if (!found) found = fallbacks[this.getScriptPartFromCode(code)]; - if (!found) found = fallbacks[this.formatLanguageCode(code)]; - if (!found) found = fallbacks.default; - - return found || []; - }; - - LanguageUtil.prototype.toResolveHierarchy = function toResolveHierarchy(code, fallbackCode) { - var _this = this; - - var fallbackCodes = this.getFallbackCodes(fallbackCode || this.options.fallbackLng || [], code); - - var codes = []; - var addCode = function addCode(code) { - var exactMatch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - - if (!code) return; - if (_this.isWhitelisted(code, exactMatch)) { - codes.push(code); - } else { - _this.logger.warn('rejecting non-whitelisted language code: ' + code); - } - }; - - if (typeof code === 'string' && code.indexOf('-') > -1) { - if (this.options.load !== 'languageOnly') addCode(this.formatLanguageCode(code), true); - if (this.options.load !== 'languageOnly' && this.options.load !== 'currentOnly') addCode(this.getScriptPartFromCode(code), true); - if (this.options.load !== 'currentOnly') addCode(this.getLanguagePartFromCode(code)); - } else if (typeof code === 'string') { - addCode(this.formatLanguageCode(code)); - } - - fallbackCodes.forEach(function (fc) { - if (codes.indexOf(fc) < 0) addCode(_this.formatLanguageCode(fc)); - }); - - return codes; - }; - - return LanguageUtil; -}(); - -; - -exports.default = LanguageUtil; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/PluralResolver.js b/src/node_modules/i18next/dist/commonjs/PluralResolver.js deleted file mode 100644 index cd7a57e..0000000 --- a/src/node_modules/i18next/dist/commonjs/PluralResolver.js +++ /dev/null @@ -1,199 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -var _logger = require('./logger'); - -var _logger2 = _interopRequireDefault(_logger); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -// definition http://translate.sourceforge.net/wiki/l10n/pluralforms -/* eslint-disable */ -var sets = [{ lngs: ['ach', 'ak', 'am', 'arn', 'br', 'fil', 'gun', 'ln', 'mfe', 'mg', 'mi', 'oc', 'tg', 'ti', 'tr', 'uz', 'wa'], nr: [1, 2], fc: 1 }, { lngs: ['af', 'an', 'ast', 'az', 'bg', 'bn', 'ca', 'da', 'de', 'dev', 'el', 'en', 'eo', 'es', 'es_ar', 'et', 'eu', 'fi', 'fo', 'fur', 'fy', 'gl', 'gu', 'ha', 'he', 'hi', 'hu', 'hy', 'ia', 'it', 'kn', 'ku', 'lb', 'mai', 'ml', 'mn', 'mr', 'nah', 'nap', 'nb', 'ne', 'nl', 'nn', 'no', 'nso', 'pa', 'pap', 'pms', 'ps', 'pt', 'pt_br', 'rm', 'sco', 'se', 'si', 'so', 'son', 'sq', 'sv', 'sw', 'ta', 'te', 'tk', 'ur', 'yo'], nr: [1, 2], fc: 2 }, { lngs: ['ay', 'bo', 'cgg', 'fa', 'id', 'ja', 'jbo', 'ka', 'kk', 'km', 'ko', 'ky', 'lo', 'ms', 'sah', 'su', 'th', 'tt', 'ug', 'vi', 'wo', 'zh'], nr: [1], fc: 3 }, { lngs: ['be', 'bs', 'dz', 'hr', 'ru', 'sr', 'uk'], nr: [1, 2, 5], fc: 4 }, { lngs: ['ar'], nr: [0, 1, 2, 3, 11, 100], fc: 5 }, { lngs: ['cs', 'sk'], nr: [1, 2, 5], fc: 6 }, { lngs: ['csb', 'pl'], nr: [1, 2, 5], fc: 7 }, { lngs: ['cy'], nr: [1, 2, 3, 8], fc: 8 }, { lngs: ['fr'], nr: [1, 2], fc: 9 }, { lngs: ['ga'], nr: [1, 2, 3, 7, 11], fc: 10 }, { lngs: ['gd'], nr: [1, 2, 3, 20], fc: 11 }, { lngs: ['is'], nr: [1, 2], fc: 12 }, { lngs: ['jv'], nr: [0, 1], fc: 13 }, { lngs: ['kw'], nr: [1, 2, 3, 4], fc: 14 }, { lngs: ['lt'], nr: [1, 2, 10], fc: 15 }, { lngs: ['lv'], nr: [1, 2, 0], fc: 16 }, { lngs: ['mk'], nr: [1, 2], fc: 17 }, { lngs: ['mnk'], nr: [0, 1, 2], fc: 18 }, { lngs: ['mt'], nr: [1, 2, 11, 20], fc: 19 }, { lngs: ['or'], nr: [2, 1], fc: 2 }, { lngs: ['ro'], nr: [1, 2, 20], fc: 20 }, { lngs: ['sl'], nr: [5, 1, 2, 3], fc: 21 }]; - -var _rulesPluralsTypes = { - 1: function _(n) { - return Number(n > 1); - }, - 2: function _(n) { - return Number(n != 1); - }, - 3: function _(n) { - return 0; - }, - 4: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 5: function _(n) { - return Number(n === 0 ? 0 : n == 1 ? 1 : n == 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5); - }, - 6: function _(n) { - return Number(n == 1 ? 0 : n >= 2 && n <= 4 ? 1 : 2); - }, - 7: function _(n) { - return Number(n == 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 8: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n != 8 && n != 11 ? 2 : 3); - }, - 9: function _(n) { - return Number(n >= 2); - }, - 10: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4); - }, - 11: function _(n) { - return Number(n == 1 || n == 11 ? 0 : n == 2 || n == 12 ? 1 : n > 2 && n < 20 ? 2 : 3); - }, - 12: function _(n) { - return Number(n % 10 != 1 || n % 100 == 11); - }, - 13: function _(n) { - return Number(n !== 0); - }, - 14: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n == 3 ? 2 : 3); - }, - 15: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 16: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n !== 0 ? 1 : 2); - }, - 17: function _(n) { - return Number(n == 1 || n % 10 == 1 ? 0 : 1); - }, - 18: function _(n) { - return Number(n == 0 ? 0 : n == 1 ? 1 : 2); - }, - 19: function _(n) { - return Number(n == 1 ? 0 : n === 0 || n % 100 > 1 && n % 100 < 11 ? 1 : n % 100 > 10 && n % 100 < 20 ? 2 : 3); - }, - 20: function _(n) { - return Number(n == 1 ? 0 : n === 0 || n % 100 > 0 && n % 100 < 20 ? 1 : 2); - }, - 21: function _(n) { - return Number(n % 100 == 1 ? 1 : n % 100 == 2 ? 2 : n % 100 == 3 || n % 100 == 4 ? 3 : 0); - } -}; -/* eslint-enable */ - -function createRules() { - var l, - rules = {}; - sets.forEach(function (set) { - set.lngs.forEach(function (l) { - return rules[l] = { - numbers: set.nr, - plurals: _rulesPluralsTypes[set.fc] - }; - }); - }); - return rules; -} - -var PluralResolver = function () { - function PluralResolver(languageUtils) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - _classCallCheck(this, PluralResolver); - - this.languageUtils = languageUtils; - this.options = options; - - this.logger = _logger2.default.create('pluralResolver'); - - this.rules = createRules(); - } - - PluralResolver.prototype.addRule = function addRule(lng, obj) { - this.rules[lng] = obj; - }; - - PluralResolver.prototype.getRule = function getRule(code) { - return this.rules[this.languageUtils.getLanguagePartFromCode(code)]; - }; - - PluralResolver.prototype.needsPlural = function needsPlural(code) { - var rule = this.getRule(code); - - return rule && rule.numbers.length <= 1 ? false : true; - }; - - PluralResolver.prototype.getSuffix = function getSuffix(code, count) { - var _this = this; - - var rule = this.getRule(code); - - if (rule) { - var _ret = function () { - if (rule.numbers.length === 1) return { - v: '' - }; // only singular - - var idx = rule.noAbs ? rule.plurals(count) : rule.plurals(Math.abs(count)); - var suffix = rule.numbers[idx]; - - // special treatment for lngs only having singular and plural - if (rule.numbers.length === 2 && rule.numbers[0] === 1) { - if (suffix === 2) { - suffix = 'plural'; - } else if (suffix === 1) { - suffix = ''; - } - } - - var returnSuffix = function returnSuffix() { - return _this.options.prepend && suffix.toString() ? _this.options.prepend + suffix.toString() : suffix.toString(); - }; - - // COMPATIBILITY JSON - // v1 - if (_this.options.compatibilityJSON === 'v1') { - if (suffix === 1) return { - v: '' - }; - if (typeof suffix === 'number') return { - v: '_plural_' + suffix.toString() - }; - return { - v: returnSuffix() - }; - } - // v2 - else if (_this.options.compatibilityJSON === 'v2' || rule.numbers.length === 2 && rule.numbers[0] === 1) { - return { - v: returnSuffix() - }; - } - // v3 - gettext index - else if (rule.numbers.length === 2 && rule.numbers[0] === 1) { - return { - v: returnSuffix() - }; - } - return { - v: _this.options.prepend && idx.toString() ? _this.options.prepend + idx.toString() : idx.toString() - }; - }(); - - if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; - } else { - this.logger.warn('no plural rule found for: ' + code); - return ''; - } - }; - - return PluralResolver; -}(); - -; - -exports.default = PluralResolver; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/ResourceStore.js b/src/node_modules/i18next/dist/commonjs/ResourceStore.js deleted file mode 100644 index 865b776..0000000 --- a/src/node_modules/i18next/dist/commonjs/ResourceStore.js +++ /dev/null @@ -1,157 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _EventEmitter2 = require('./EventEmitter'); - -var _EventEmitter3 = _interopRequireDefault(_EventEmitter2); - -var _utils = require('./utils'); - -var utils = _interopRequireWildcard(_utils); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - -var ResourceStore = function (_EventEmitter) { - _inherits(ResourceStore, _EventEmitter); - - function ResourceStore() { - var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { ns: ['translation'], defaultNS: 'translation' }; - - _classCallCheck(this, ResourceStore); - - var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.data = data; - _this.options = options; - return _this; - } - - ResourceStore.prototype.addNamespaces = function addNamespaces(ns) { - if (this.options.ns.indexOf(ns) < 0) { - this.options.ns.push(ns); - } - }; - - ResourceStore.prototype.removeNamespaces = function removeNamespaces(ns) { - var index = this.options.ns.indexOf(ns); - if (index > -1) { - this.options.ns.splice(index, 1); - } - }; - - ResourceStore.prototype.getResource = function getResource(lng, ns, key) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - var keySeparator = options.keySeparator || this.options.keySeparator; - if (keySeparator === undefined) keySeparator = '.'; - - var path = [lng, ns]; - if (key && typeof key !== 'string') path = path.concat(key); - if (key && typeof key === 'string') path = path.concat(keySeparator ? key.split(keySeparator) : key); - - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - } - - return utils.getPath(this.data, path); - }; - - ResourceStore.prototype.addResource = function addResource(lng, ns, key, value) { - var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : { silent: false }; - - var keySeparator = this.options.keySeparator; - if (keySeparator === undefined) keySeparator = '.'; - - var path = [lng, ns]; - if (key) path = path.concat(keySeparator ? key.split(keySeparator) : key); - - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - value = ns; - ns = path[1]; - } - - this.addNamespaces(ns); - - utils.setPath(this.data, path, value); - - if (!options.silent) this.emit('added', lng, ns, key, value); - }; - - ResourceStore.prototype.addResources = function addResources(lng, ns, resources) { - for (var m in resources) { - if (typeof resources[m] === 'string') this.addResource(lng, ns, m, resources[m], { silent: true }); - } - this.emit('added', lng, ns, resources); - }; - - ResourceStore.prototype.addResourceBundle = function addResourceBundle(lng, ns, resources, deep, overwrite) { - var path = [lng, ns]; - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - deep = resources; - resources = ns; - ns = path[1]; - } - - this.addNamespaces(ns); - - var pack = utils.getPath(this.data, path) || {}; - - if (deep) { - utils.deepExtend(pack, resources, overwrite); - } else { - pack = _extends({}, pack, resources); - } - - utils.setPath(this.data, path, pack); - - this.emit('added', lng, ns, resources); - }; - - ResourceStore.prototype.removeResourceBundle = function removeResourceBundle(lng, ns) { - if (this.hasResourceBundle(lng, ns)) { - delete this.data[lng][ns]; - } - this.removeNamespaces(ns); - - this.emit('removed', lng, ns); - }; - - ResourceStore.prototype.hasResourceBundle = function hasResourceBundle(lng, ns) { - return this.getResource(lng, ns) !== undefined; - }; - - ResourceStore.prototype.getResourceBundle = function getResourceBundle(lng, ns) { - if (!ns) ns = this.options.defaultNS; - - // TODO: COMPATIBILITY remove extend in v2.1.0 - if (this.options.compatibilityAPI === 'v1') return _extends({}, this.getResource(lng, ns)); - - return this.getResource(lng, ns); - }; - - ResourceStore.prototype.toJSON = function toJSON() { - return this.data; - }; - - return ResourceStore; -}(_EventEmitter3.default); - -exports.default = ResourceStore; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/Translator.js b/src/node_modules/i18next/dist/commonjs/Translator.js deleted file mode 100644 index 184e00e..0000000 --- a/src/node_modules/i18next/dist/commonjs/Translator.js +++ /dev/null @@ -1,307 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -var _logger = require('./logger'); - -var _logger2 = _interopRequireDefault(_logger); - -var _EventEmitter2 = require('./EventEmitter'); - -var _EventEmitter3 = _interopRequireDefault(_EventEmitter2); - -var _postProcessor = require('./postProcessor'); - -var _postProcessor2 = _interopRequireDefault(_postProcessor); - -var _v = require('./compatibility/v1'); - -var compat = _interopRequireWildcard(_v); - -var _utils = require('./utils'); - -var utils = _interopRequireWildcard(_utils); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - -var Translator = function (_EventEmitter) { - _inherits(Translator, _EventEmitter); - - function Translator(services) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - _classCallCheck(this, Translator); - - var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); - - utils.copy(['resourceStore', 'languageUtils', 'pluralResolver', 'interpolator', 'backendConnector'], services, _this); - - _this.options = options; - _this.logger = _logger2.default.create('translator'); - return _this; - } - - Translator.prototype.changeLanguage = function changeLanguage(lng) { - if (lng) this.language = lng; - }; - - Translator.prototype.exists = function exists(key) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { interpolation: {} }; - - if (this.options.compatibilityAPI === 'v1') { - options = compat.convertTOptions(options); - } - - return this.resolve(key, options) !== undefined; - }; - - Translator.prototype.extractFromKey = function extractFromKey(key, options) { - var nsSeparator = options.nsSeparator || this.options.nsSeparator; - if (nsSeparator === undefined) nsSeparator = ':'; - - var namespaces = options.ns || this.options.defaultNS; - if (nsSeparator && key.indexOf(nsSeparator) > -1) { - var parts = key.split(nsSeparator); - namespaces = parts[0]; - key = parts[1]; - } - if (typeof namespaces === 'string') namespaces = [namespaces]; - - return { - key: key, - namespaces: namespaces - }; - }; - - Translator.prototype.translate = function translate(keys) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) !== 'object') { - options = this.options.overloadTranslationOptionHandler(arguments); - } else if (this.options.compatibilityAPI === 'v1') { - options = compat.convertTOptions(options); - } - - // non valid keys handling - if (keys === undefined || keys === null || keys === '') return ''; - if (typeof keys === 'number') keys = String(keys); - if (typeof keys === 'string') keys = [keys]; - - // return key on CIMode - var lng = options.lng || this.language; - if (lng && lng.toLowerCase() === 'cimode') return keys[keys.length - 1]; - - // separators - var keySeparator = options.keySeparator || this.options.keySeparator || '.'; - - // get namespace(s) - - var _extractFromKey = this.extractFromKey(keys[keys.length - 1], options), - key = _extractFromKey.key, - namespaces = _extractFromKey.namespaces; - - var namespace = namespaces[namespaces.length - 1]; - - // resolve from store - var res = this.resolve(keys, options); - - var resType = Object.prototype.toString.apply(res); - var noObject = ['[object Number]', '[object Function]', '[object RegExp]']; - var joinArrays = options.joinArrays !== undefined ? options.joinArrays : this.options.joinArrays; - - // object - if (res && typeof res !== 'string' && noObject.indexOf(resType) < 0 && !(joinArrays && resType === '[object Array]')) { - if (!options.returnObjects && !this.options.returnObjects) { - this.logger.warn('accessing an object - but returnObjects options is not enabled!'); - return this.options.returnedObjectHandler ? this.options.returnedObjectHandler(key, res, options) : 'key \'' + key + ' (' + this.language + ')\' returned an object instead of string.'; - } - - var copy = resType === '[object Array]' ? [] : {}; // apply child translation on a copy - - for (var m in res) { - copy[m] = this.translate('' + key + keySeparator + m, _extends({ joinArrays: false, ns: namespaces }, options)); - } - res = copy; - } - // array special treatment - else if (joinArrays && resType === '[object Array]') { - res = res.join(joinArrays); - if (res) res = this.extendTranslation(res, key, options); - } - // string, empty or null - else { - var usedDefault = false, - usedKey = false; - - // fallback value - if (!this.isValidLookup(res) && options.defaultValue !== undefined) { - usedDefault = true; - res = options.defaultValue; - } - if (!this.isValidLookup(res)) { - usedKey = true; - res = key; - } - - // save missing - if (usedKey || usedDefault) { - this.logger.log('missingKey', lng, namespace, key, res); - - var lngs = []; - var fallbackLngs = this.languageUtils.getFallbackCodes(this.options.fallbackLng, options.lng || this.language); - if (this.options.saveMissingTo === 'fallback' && fallbackLngs && fallbackLngs[0]) { - for (var i = 0; i < fallbackLngs.length; i++) { - lngs.push(fallbackLngs[i]); - } - } else if (this.options.saveMissingTo === 'all') { - lngs = this.languageUtils.toResolveHierarchy(options.lng || this.language); - } else { - //(this.options.saveMissingTo === 'current' || (this.options.saveMissingTo === 'fallback' && this.options.fallbackLng[0] === false) ) { - lngs.push(options.lng || this.language); - } - - if (this.options.saveMissing) { - if (this.options.missingKeyHandler) { - this.options.missingKeyHandler(lngs, namespace, key, res); - } else if (this.backendConnector && this.backendConnector.saveMissing) { - this.backendConnector.saveMissing(lngs, namespace, key, res); - } - } - - this.emit('missingKey', lngs, namespace, key, res); - } - - // extend - res = this.extendTranslation(res, key, options); - - // append namespace if still key - if (usedKey && res === key && this.options.appendNamespaceToMissingKey) res = namespace + ':' + key; - - // parseMissingKeyHandler - if (usedKey && this.options.parseMissingKeyHandler) res = this.options.parseMissingKeyHandler(res); - } - - // return - return res; - }; - - Translator.prototype.extendTranslation = function extendTranslation(res, key, options) { - var _this2 = this; - - if (options.interpolation) this.interpolator.init(_extends({}, options, { interpolation: _extends({}, this.options.interpolation, options.interpolation) })); - - // interpolate - var data = options.replace && typeof options.replace !== 'string' ? options.replace : options; - if (this.options.interpolation.defaultVariables) data = _extends({}, this.options.interpolation.defaultVariables, data); - res = this.interpolator.interpolate(res, data, this.language); - - // nesting - res = this.interpolator.nest(res, function () { - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - return _this2.translate.apply(_this2, args); - }, options); - - if (options.interpolation) this.interpolator.reset(); - - // post process - var postProcess = options.postProcess || this.options.postProcess; - var postProcessorNames = typeof postProcess === 'string' ? [postProcess] : postProcess; - - if (res !== undefined && postProcessorNames && postProcessorNames.length && options.applyPostProcessor !== false) { - res = _postProcessor2.default.handle(postProcessorNames, res, key, options, this); - } - - return res; - }; - - Translator.prototype.resolve = function resolve(keys) { - var _this3 = this; - - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - var found = void 0; - - if (typeof keys === 'string') keys = [keys]; - - // forEach possible key - keys.forEach(function (k) { - if (_this3.isValidLookup(found)) return; - - var _extractFromKey2 = _this3.extractFromKey(k, options), - key = _extractFromKey2.key, - namespaces = _extractFromKey2.namespaces; - - if (_this3.options.fallbackNS) namespaces = namespaces.concat(_this3.options.fallbackNS); - - var needsPluralHandling = options.count !== undefined && typeof options.count !== 'string'; - var needsContextHandling = options.context !== undefined && typeof options.context === 'string' && options.context !== ''; - - var codes = options.lngs ? options.lngs : _this3.languageUtils.toResolveHierarchy(options.lng || _this3.language); - - namespaces.forEach(function (ns) { - if (_this3.isValidLookup(found)) return; - - codes.forEach(function (code) { - if (_this3.isValidLookup(found)) return; - - var finalKey = key; - var finalKeys = [finalKey]; - - var pluralSuffix = void 0; - if (needsPluralHandling) pluralSuffix = _this3.pluralResolver.getSuffix(code, options.count); - - // fallback for plural if context not found - if (needsPluralHandling && needsContextHandling) finalKeys.push(finalKey + pluralSuffix); - - // get key for context if needed - if (needsContextHandling) finalKeys.push(finalKey += '' + _this3.options.contextSeparator + options.context); - - // get key for plural if needed - if (needsPluralHandling) finalKeys.push(finalKey += pluralSuffix); - - // iterate over finalKeys starting with most specific pluralkey (-> contextkey only) -> singularkey only - var possibleKey = void 0; - while (possibleKey = finalKeys.pop()) { - if (_this3.isValidLookup(found)) continue; - found = _this3.getResource(code, ns, possibleKey, options); - } - }); - }); - }); - - return found; - }; - - Translator.prototype.isValidLookup = function isValidLookup(res) { - return res !== undefined && !(!this.options.returnNull && res === null) && !(!this.options.returnEmptyString && res === ''); - }; - - Translator.prototype.getResource = function getResource(code, ns, key) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - return this.resourceStore.getResource(code, ns, key, options); - }; - - return Translator; -}(_EventEmitter3.default); - -exports.default = Translator; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/compatibility/v1.js b/src/node_modules/i18next/dist/commonjs/compatibility/v1.js deleted file mode 100644 index 2564aab..0000000 --- a/src/node_modules/i18next/dist/commonjs/compatibility/v1.js +++ /dev/null @@ -1,154 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.convertAPIOptions = convertAPIOptions; -exports.convertJSONOptions = convertJSONOptions; -exports.convertTOptions = convertTOptions; -exports.appendBackwardsAPI = appendBackwardsAPI; - -var _logger = require('../logger'); - -var _logger2 = _interopRequireDefault(_logger); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function convertInterpolation(options) { - - options.interpolation = { - unescapeSuffix: 'HTML' - }; - - options.interpolation.prefix = options.interpolationPrefix || '__'; - options.interpolation.suffix = options.interpolationSuffix || '__'; - options.interpolation.escapeValue = options.escapeInterpolation || false; - - options.interpolation.nestingPrefix = options.reusePrefix || '$t('; - options.interpolation.nestingSuffix = options.reuseSuffix || ')'; - - return options; -} - -function convertAPIOptions(options) { - if (options.resStore) options.resources = options.resStore; - - if (options.ns && options.ns.defaultNs) { - options.defaultNS = options.ns.defaultNs; - options.ns = options.ns.namespaces; - } else { - options.defaultNS = options.ns || 'translation'; - } - - if (options.fallbackToDefaultNS && options.defaultNS) options.fallbackNS = options.defaultNS; - - options.saveMissing = options.sendMissing; - options.saveMissingTo = options.sendMissingTo || 'current'; - options.returnNull = options.fallbackOnNull ? false : true; - options.returnEmptyString = options.fallbackOnEmpty ? false : true; - options.returnObjects = options.returnObjectTrees; - options.joinArrays = '\n'; - - options.returnedObjectHandler = options.objectTreeKeyHandler; - options.parseMissingKeyHandler = options.parseMissingKey; - options.appendNamespaceToMissingKey = true; - - options.nsSeparator = options.nsseparator; - options.keySeparator = options.keyseparator; - - if (options.shortcutFunction === 'sprintf') { - options.overloadTranslationOptionHandler = function (args) { - var values = []; - - for (var i = 1; i < args.length; i++) { - values.push(args[i]); - } - - return { - postProcess: 'sprintf', - sprintf: values - }; - }; - } - - options.whitelist = options.lngWhitelist; - options.preload = options.preload; - if (options.load === 'current') options.load = 'currentOnly'; - if (options.load === 'unspecific') options.load = 'languageOnly'; - - // backend - options.backend = options.backend || {}; - options.backend.loadPath = options.resGetPath || 'locales/__lng__/__ns__.json'; - options.backend.addPath = options.resPostPath || 'locales/add/__lng__/__ns__'; - options.backend.allowMultiLoading = options.dynamicLoad; - - // cache - options.cache = options.cache || {}; - options.cache.prefix = 'res_'; - options.cache.expirationTime = 7 * 24 * 60 * 60 * 1000; - options.cache.enabled = options.useLocalStorage ? true : false; - - options = convertInterpolation(options); - if (options.defaultVariables) options.interpolation.defaultVariables = options.defaultVariables; - - // TODO: deprecation - // if (options.getAsync === false) throw deprecation error - - return options; -} - -function convertJSONOptions(options) { - options = convertInterpolation(options); - options.joinArrays = '\n'; - - return options; -} - -function convertTOptions(options) { - if (options.interpolationPrefix || options.interpolationSuffix || options.escapeInterpolation) { - options = convertInterpolation(options); - } - - options.nsSeparator = options.nsseparator; - options.keySeparator = options.keyseparator; - - options.returnObjects = options.returnObjectTrees; - - return options; -} - -function appendBackwardsAPI(i18n) { - i18n.lng = function () { - _logger2.default.deprecate('i18next.lng() can be replaced by i18next.language for detected language or i18next.languages for languages ordered by translation lookup.'); - return i18n.services.languageUtils.toResolveHierarchy(i18n.language)[0]; - }; - - i18n.preload = function (lngs, cb) { - _logger2.default.deprecate('i18next.preload() can be replaced with i18next.loadLanguages()'); - i18n.loadLanguages(lngs, cb); - }; - - i18n.setLng = function (lng, options, callback) { - _logger2.default.deprecate('i18next.setLng() can be replaced with i18next.changeLanguage() or i18next.getFixedT() to get a translation function with fixed language or namespace.'); - if (typeof options === 'function') { - callback = options; - options = {}; - } - if (!options) options = {}; - - if (options.fixLng === true) { - if (callback) return callback(null, i18n.getFixedT(lng)); - } - - i18n.changeLanguage(lng, callback); - }; - - i18n.addPostProcessor = function (name, fc) { - _logger2.default.deprecate('i18next.addPostProcessor() can be replaced by i18next.use({ type: \'postProcessor\', name: \'name\', process: fc })'); - i18n.use({ - type: 'postProcessor', - name: name, - process: fc - }); - }; -} \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/defaults.js b/src/node_modules/i18next/dist/commonjs/defaults.js deleted file mode 100644 index c0089a9..0000000 --- a/src/node_modules/i18next/dist/commonjs/defaults.js +++ /dev/null @@ -1,76 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.get = get; -exports.transformOptions = transformOptions; -function get() { - return { - debug: false, - initImmediate: true, - - ns: ['translation'], - defaultNS: ['translation'], - fallbackLng: ['dev'], - fallbackNS: false, // string or array of namespaces - - whitelist: false, // array with whitelisted languages - nonExplicitWhitelist: false, - load: 'all', // | currentOnly | languageOnly - preload: false, // array with preload languages - - keySeparator: '.', - nsSeparator: ':', - pluralSeparator: '_', - contextSeparator: '_', - - saveMissing: false, // enable to send missing values - saveMissingTo: 'fallback', // 'current' || 'all' - missingKeyHandler: false, // function(lng, ns, key, fallbackValue) -> override if prefer on handling - - postProcess: false, // string or array of postProcessor names - returnNull: true, // allows null value as valid translation - returnEmptyString: true, // allows empty string value as valid translation - returnObjects: false, - joinArrays: false, // or string to join array - returnedObjectHandler: function returnedObjectHandler() {}, // function(key, value, options) triggered if key returns object but returnObjects is set to false - parseMissingKeyHandler: false, // function(key) parsed a key that was not found in t() before returning - appendNamespaceToMissingKey: false, - overloadTranslationOptionHandler: function overloadTranslationOptionHandler(args) { - return { defaultValue: args[1] }; - }, - - interpolation: { - escapeValue: true, - format: function format(value, _format, lng) { - return value; - }, - prefix: '{{', - suffix: '}}', - formatSeparator: ',', - // prefixEscaped: '{{', - // suffixEscaped: '}}', - // unescapeSuffix: '', - unescapePrefix: '-', - - nestingPrefix: '$t(', - nestingSuffix: ')', - // nestingPrefixEscaped: '$t(', - // nestingSuffixEscaped: ')', - defaultVariables: undefined // object that can have values to interpolate on - extends passed in interpolation data - } - }; -} - -function transformOptions(options) { - // create namespace object if namespace is passed in as string - if (typeof options.ns === 'string') options.ns = [options.ns]; - if (typeof options.fallbackLng === 'string') options.fallbackLng = [options.fallbackLng]; - if (typeof options.fallbackNS === 'string') options.fallbackNS = [options.fallbackNS]; - - // extend whitelist with cimode - if (options.whitelist && options.whitelist.indexOf('cimode') < 0) options.whitelist.push('cimode'); - - return options; -} \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/i18next.js b/src/node_modules/i18next/dist/commonjs/i18next.js deleted file mode 100644 index 70a96f6..0000000 --- a/src/node_modules/i18next/dist/commonjs/i18next.js +++ /dev/null @@ -1,401 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _logger = require('./logger'); - -var _logger2 = _interopRequireDefault(_logger); - -var _EventEmitter2 = require('./EventEmitter'); - -var _EventEmitter3 = _interopRequireDefault(_EventEmitter2); - -var _ResourceStore = require('./ResourceStore'); - -var _ResourceStore2 = _interopRequireDefault(_ResourceStore); - -var _Translator = require('./Translator'); - -var _Translator2 = _interopRequireDefault(_Translator); - -var _LanguageUtils = require('./LanguageUtils'); - -var _LanguageUtils2 = _interopRequireDefault(_LanguageUtils); - -var _PluralResolver = require('./PluralResolver'); - -var _PluralResolver2 = _interopRequireDefault(_PluralResolver); - -var _Interpolator = require('./Interpolator'); - -var _Interpolator2 = _interopRequireDefault(_Interpolator); - -var _BackendConnector = require('./BackendConnector'); - -var _BackendConnector2 = _interopRequireDefault(_BackendConnector); - -var _CacheConnector = require('./CacheConnector'); - -var _CacheConnector2 = _interopRequireDefault(_CacheConnector); - -var _defaults2 = require('./defaults'); - -var _postProcessor = require('./postProcessor'); - -var _postProcessor2 = _interopRequireDefault(_postProcessor); - -var _v = require('./compatibility/v1'); - -var compat = _interopRequireWildcard(_v); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - -var I18n = function (_EventEmitter) { - _inherits(I18n, _EventEmitter); - - function I18n() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - - _classCallCheck(this, I18n); - - var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.options = (0, _defaults2.transformOptions)(options); - _this.services = {}; - _this.logger = _logger2.default; - _this.modules = {}; - - if (callback && !_this.isInitialized) _this.init(options, callback); - return _this; - } - - I18n.prototype.init = function init(options, callback) { - var _this2 = this; - - if (typeof options === 'function') { - callback = options; - options = {}; - } - if (!options) options = {}; - - if (options.compatibilityAPI === 'v1') { - this.options = _extends({}, (0, _defaults2.get)(), (0, _defaults2.transformOptions)(compat.convertAPIOptions(options)), {}); - } else if (options.compatibilityJSON === 'v1') { - this.options = _extends({}, (0, _defaults2.get)(), (0, _defaults2.transformOptions)(compat.convertJSONOptions(options)), {}); - } else { - this.options = _extends({}, (0, _defaults2.get)(), this.options, (0, _defaults2.transformOptions)(options)); - } - if (!callback) callback = function callback() {}; - - function createClassOnDemand(ClassOrObject) { - if (!ClassOrObject) return; - if (typeof ClassOrObject === 'function') return new ClassOrObject(); - return ClassOrObject; - } - - // init services - if (!this.options.isClone) { - if (this.modules.logger) { - _logger2.default.init(createClassOnDemand(this.modules.logger), this.options); - } else { - _logger2.default.init(null, this.options); - } - - var lu = new _LanguageUtils2.default(this.options); - this.store = new _ResourceStore2.default(this.options.resources, this.options); - - var s = this.services; - s.logger = _logger2.default; - s.resourceStore = this.store; - s.resourceStore.on('added removed', function (lng, ns) { - s.cacheConnector.save(); - }); - s.languageUtils = lu; - s.pluralResolver = new _PluralResolver2.default(lu, { prepend: this.options.pluralSeparator, compatibilityJSON: this.options.compatibilityJSON }); - s.interpolator = new _Interpolator2.default(this.options); - - s.backendConnector = new _BackendConnector2.default(createClassOnDemand(this.modules.backend), s.resourceStore, s, this.options); - // pipe events from backendConnector - s.backendConnector.on('*', function (event) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - - s.backendConnector.on('loaded', function (loaded) { - s.cacheConnector.save(); - }); - - s.cacheConnector = new _CacheConnector2.default(createClassOnDemand(this.modules.cache), s.resourceStore, s, this.options); - // pipe events from backendConnector - s.cacheConnector.on('*', function (event) { - for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - args[_key2 - 1] = arguments[_key2]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - - if (this.modules.languageDetector) { - s.languageDetector = createClassOnDemand(this.modules.languageDetector); - s.languageDetector.init(s, this.options.detection, this.options); - } - - this.translator = new _Translator2.default(this.services, this.options); - // pipe events from translator - this.translator.on('*', function (event) { - for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) { - args[_key3 - 1] = arguments[_key3]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - } - - // append api - var storeApi = ['getResource', 'addResource', 'addResources', 'addResourceBundle', 'removeResourceBundle', 'hasResourceBundle', 'getResourceBundle']; - storeApi.forEach(function (fcName) { - _this2[fcName] = function () { - return this.store[fcName].apply(this.store, arguments); - }; - }); - - // TODO: COMPATIBILITY remove this - if (this.options.compatibilityAPI === 'v1') compat.appendBackwardsAPI(this); - - var load = function load() { - _this2.changeLanguage(_this2.options.lng, function (err, t) { - _this2.emit('initialized', _this2.options); - _this2.logger.log('initialized', _this2.options); - - callback(err, t); - }); - }; - - if (this.options.resources || !this.options.initImmediate) { - load(); - } else { - setTimeout(load, 0); - } - - return this; - }; - - I18n.prototype.loadResources = function loadResources(callback) { - var _this3 = this; - - if (!callback) callback = function callback() {}; - - if (!this.options.resources) { - var _ret = function () { - if (_this3.language && _this3.language.toLowerCase() === 'cimode') return { - v: callback() - }; // avoid loading resources for cimode - - var toLoad = []; - - var append = function append(lng) { - var lngs = _this3.services.languageUtils.toResolveHierarchy(lng); - lngs.forEach(function (l) { - if (toLoad.indexOf(l) < 0) toLoad.push(l); - }); - }; - - append(_this3.language); - - if (_this3.options.preload) { - _this3.options.preload.forEach(function (l) { - append(l); - }); - } - - _this3.services.cacheConnector.load(toLoad, _this3.options.ns, function () { - _this3.services.backendConnector.load(toLoad, _this3.options.ns, callback); - }); - }(); - - if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; - } else { - callback(null); - } - }; - - I18n.prototype.reloadResources = function reloadResources(lngs, ns) { - if (!lngs) lngs = this.languages; - if (!ns) ns = this.options.ns; - this.services.backendConnector.reload(lngs, ns); - }; - - I18n.prototype.use = function use(module) { - if (module.type === 'backend') { - this.modules.backend = module; - } - - if (module.type === 'cache') { - this.modules.cache = module; - } - - if (module.type === 'logger' || module.log && module.warn && module.warn) { - this.modules.logger = module; - } - - if (module.type === 'languageDetector') { - this.modules.languageDetector = module; - } - - if (module.type === 'postProcessor') { - _postProcessor2.default.addPostProcessor(module); - } - - return this; - }; - - I18n.prototype.changeLanguage = function changeLanguage(lng, callback) { - var _this4 = this; - - var done = function done(err) { - if (lng) { - _this4.emit('languageChanged', lng); - _this4.logger.log('languageChanged', lng); - } - - if (callback) callback(err, function () { - for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { - args[_key4] = arguments[_key4]; - } - - return _this4.t.apply(_this4, args); - }); - }; - - if (!lng && this.services.languageDetector) lng = this.services.languageDetector.detect(); - - if (lng) { - this.language = lng; - this.languages = this.services.languageUtils.toResolveHierarchy(lng); - - this.translator.changeLanguage(lng); - - if (this.services.languageDetector) this.services.languageDetector.cacheUserLanguage(lng); - } - - this.loadResources(function (err) { - done(err); - }); - }; - - I18n.prototype.getFixedT = function getFixedT(lng, ns) { - var _this5 = this; - - var fixedT = function fixedT(key, options) { - options = options || {}; - options.lng = options.lng || fixedT.lng; - options.ns = options.ns || fixedT.ns; - return _this5.t(key, options); - }; - fixedT.lng = lng; - fixedT.ns = ns; - return fixedT; - }; - - I18n.prototype.t = function t() { - return this.translator && this.translator.translate.apply(this.translator, arguments); - }; - - I18n.prototype.exists = function exists() { - return this.translator && this.translator.exists.apply(this.translator, arguments); - }; - - I18n.prototype.setDefaultNamespace = function setDefaultNamespace(ns) { - this.options.defaultNS = ns; - }; - - I18n.prototype.loadNamespaces = function loadNamespaces(ns, callback) { - var _this6 = this; - - if (!this.options.ns) return callback && callback(); - if (typeof ns === 'string') ns = [ns]; - - ns.forEach(function (n) { - if (_this6.options.ns.indexOf(n) < 0) _this6.options.ns.push(n); - }); - - this.loadResources(callback); - }; - - I18n.prototype.loadLanguages = function loadLanguages(lngs, callback) { - if (typeof lngs === 'string') lngs = [lngs]; - var preloaded = this.options.preload || []; - - var newLngs = lngs.filter(function (lng) { - return preloaded.indexOf(lng) < 0; - }); - // Exit early if all given languages are already preloaded - if (!newLngs.length) return callback(); - - this.options.preload = preloaded.concat(newLngs); - this.loadResources(callback); - }; - - I18n.prototype.dir = function dir(lng) { - if (!lng) lng = this.language; - if (!lng) return 'rtl'; - - var rtlLngs = ['ar', 'shu', 'sqr', 'ssh', 'xaa', 'yhd', 'yud', 'aao', 'abh', 'abv', 'acm', 'acq', 'acw', 'acx', 'acy', 'adf', 'ads', 'aeb', 'aec', 'afb', 'ajp', 'apc', 'apd', 'arb', 'arq', 'ars', 'ary', 'arz', 'auz', 'avl', 'ayh', 'ayl', 'ayn', 'ayp', 'bbz', 'pga', 'he', 'iw', 'ps', 'pbt', 'pbu', 'pst', 'prp', 'prd', 'ur', 'ydd', 'yds', 'yih', 'ji', 'yi', 'hbo', 'men', 'xmn', 'fa', 'jpr', 'peo', 'pes', 'prs', 'dv', 'sam']; - - return rtlLngs.indexOf(this.services.languageUtils.getLanguagePartFromCode(lng)) >= 0 ? 'rtl' : 'ltr'; - }; - - I18n.prototype.createInstance = function createInstance() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - - return new I18n(options, callback); - }; - - I18n.prototype.cloneInstance = function cloneInstance() { - var _this7 = this; - - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - - var clone = new I18n(_extends({}, options, this.options, { isClone: true }), callback); - var membersToCopy = ['store', 'services', 'language']; - membersToCopy.forEach(function (m) { - clone[m] = _this7[m]; - }); - clone.translator = new _Translator2.default(clone.services, clone.options); - clone.translator.on('*', function (event) { - for (var _len5 = arguments.length, args = Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) { - args[_key5 - 1] = arguments[_key5]; - } - - clone.emit.apply(clone, [event].concat(args)); - }); - - return clone; - }; - - return I18n; -}(_EventEmitter3.default); - -exports.default = new I18n(); \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/index.js b/src/node_modules/i18next/dist/commonjs/index.js deleted file mode 100644 index 3eec249..0000000 --- a/src/node_modules/i18next/dist/commonjs/index.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _i18next = require('./i18next'); - -var _i18next2 = _interopRequireDefault(_i18next); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -exports.default = _i18next2.default; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/logger.js b/src/node_modules/i18next/dist/commonjs/logger.js deleted file mode 100644 index c5284f9..0000000 --- a/src/node_modules/i18next/dist/commonjs/logger.js +++ /dev/null @@ -1,92 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var consoleLogger = { - type: 'logger', - - log: function log(args) { - this._output('log', args); - }, - warn: function warn(args) { - this._output('warn', args); - }, - error: function error(args) { - this._output('error', args); - }, - _output: function _output(type, args) { - if (console && console[type]) console[type].apply(console, Array.prototype.slice.call(args)); - } -}; - -var Logger = function () { - function Logger(concreteLogger) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - _classCallCheck(this, Logger); - - this.subs = []; - this.init(concreteLogger, options); - } - - Logger.prototype.init = function init(concreteLogger) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - this.prefix = options.prefix || 'i18next:'; - this.logger = concreteLogger || consoleLogger; - this.options = options; - this.debug = options.debug === false ? false : true; - }; - - Logger.prototype.setDebug = function setDebug(bool) { - this.debug = bool; - this.subs.forEach(function (sub) { - sub.setDebug(bool); - }); - }; - - Logger.prototype.log = function log() { - this.forward(arguments, 'log', '', true); - }; - - Logger.prototype.warn = function warn() { - this.forward(arguments, 'warn', '', true); - }; - - Logger.prototype.error = function error() { - this.forward(arguments, 'error', ''); - }; - - Logger.prototype.deprecate = function deprecate() { - this.forward(arguments, 'warn', 'WARNING DEPRECATED: ', true); - }; - - Logger.prototype.forward = function forward(args, lvl, prefix, debugOnly) { - if (debugOnly && !this.debug) return; - if (typeof args[0] === 'string') args[0] = prefix + this.prefix + ' ' + args[0]; - this.logger[lvl](args); - }; - - Logger.prototype.create = function create(moduleName) { - var sub = new Logger(this.logger, _extends({ prefix: this.prefix + ':' + moduleName + ':' }, this.options)); - this.subs.push(sub); - - return sub; - }; - - // createInstance(options = {}) { - // return new Logger(options, callback); - // } - - return Logger; -}(); - -; - -exports.default = new Logger(); \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/postProcessor.js b/src/node_modules/i18next/dist/commonjs/postProcessor.js deleted file mode 100644 index 53151d4..0000000 --- a/src/node_modules/i18next/dist/commonjs/postProcessor.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = { - - processors: {}, - - addPostProcessor: function addPostProcessor(module) { - this.processors[module.name] = module; - }, - handle: function handle(processors, value, key, options, translator) { - var _this = this; - - processors.forEach(function (processor) { - if (_this.processors[processor]) value = _this.processors[processor].process(value, key, options, translator); - }); - - return value; - } -}; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/commonjs/utils.js b/src/node_modules/i18next/dist/commonjs/utils.js deleted file mode 100644 index e9f19d7..0000000 --- a/src/node_modules/i18next/dist/commonjs/utils.js +++ /dev/null @@ -1,111 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.makeString = makeString; -exports.copy = copy; -exports.setPath = setPath; -exports.pushPath = pushPath; -exports.getPath = getPath; -exports.deepExtend = deepExtend; -exports.regexEscape = regexEscape; -exports.escape = escape; -function makeString(object) { - if (object == null) return ''; - return '' + object; -} - -function copy(a, s, t) { - a.forEach(function (m) { - if (s[m]) t[m] = s[m]; - }); -} - -function getLastOfPath(object, path, Empty) { - function cleanKey(key) { - return key && key.indexOf('###') > -1 ? key.replace(/###/g, '.') : key; - } - - var stack = typeof path !== 'string' ? [].concat(path) : path.split('.'); - while (stack.length > 1) { - if (!object) return {}; - - var key = cleanKey(stack.shift()); - if (!object[key] && Empty) object[key] = new Empty(); - object = object[key]; - } - - if (!object) return {}; - return { - obj: object, - k: cleanKey(stack.shift()) - }; -} - -function setPath(object, path, newValue) { - var _getLastOfPath = getLastOfPath(object, path, Object), - obj = _getLastOfPath.obj, - k = _getLastOfPath.k; - - obj[k] = newValue; -} - -function pushPath(object, path, newValue, concat) { - var _getLastOfPath2 = getLastOfPath(object, path, Object), - obj = _getLastOfPath2.obj, - k = _getLastOfPath2.k; - - obj[k] = obj[k] || []; - if (concat) obj[k] = obj[k].concat(newValue); - if (!concat) obj[k].push(newValue); -} - -function getPath(object, path) { - var _getLastOfPath3 = getLastOfPath(object, path), - obj = _getLastOfPath3.obj, - k = _getLastOfPath3.k; - - if (!obj) return undefined; - return obj[k]; -} - -function deepExtend(target, source, overwrite) { - for (var prop in source) { - if (prop in target) { - // If we reached a leaf string in target or source then replace with source or skip depending on the 'overwrite' switch - if (typeof target[prop] === 'string' || target[prop] instanceof String || typeof source[prop] === 'string' || source[prop] instanceof String) { - if (overwrite) target[prop] = source[prop]; - } else { - deepExtend(target[prop], source[prop], overwrite); - } - } else { - target[prop] = source[prop]; - } - }return target; -} - -function regexEscape(str) { - return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&'); -} - -/* eslint-disable */ -var _entityMap = { - "&": "&", - "<": "<", - ">": ">", - '"': '"', - "'": ''', - "/": '/' -}; -/* eslint-enable */ - -function escape(data) { - if (typeof data === 'string') { - return data.replace(/[&<>"'\/]/g, function (s) { - return _entityMap[s]; - }); - } else { - return data; - } -} \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/BackendConnector.js b/src/node_modules/i18next/dist/es/BackendConnector.js deleted file mode 100644 index f71915e..0000000 --- a/src/node_modules/i18next/dist/es/BackendConnector.js +++ /dev/null @@ -1,299 +0,0 @@ -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); - -function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - -import * as utils from './utils'; -import baseLogger from './logger'; -import EventEmitter from './EventEmitter'; - -function remove(arr, what) { - var found = arr.indexOf(what); - - while (found !== -1) { - arr.splice(found, 1); - found = arr.indexOf(what); - } -} - -var Connector = function (_EventEmitter) { - _inherits(Connector, _EventEmitter); - - function Connector(backend, store, services) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - _classCallCheck(this, Connector); - - var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.backend = backend; - _this.store = store; - _this.services = services; - _this.options = options; - _this.logger = baseLogger.create('backendConnector'); - - _this.state = {}; - _this.queue = []; - - _this.backend && _this.backend.init && _this.backend.init(services, options.backend, options); - return _this; - } - - Connector.prototype.queueLoad = function queueLoad(languages, namespaces, callback) { - var _this2 = this; - - // find what needs to be loaded - var toLoad = [], - pending = [], - toLoadLanguages = [], - toLoadNamespaces = []; - - languages.forEach(function (lng) { - var hasAllNamespaces = true; - - namespaces.forEach(function (ns) { - var name = lng + '|' + ns; - - if (_this2.store.hasResourceBundle(lng, ns)) { - _this2.state[name] = 2; // loaded - } else if (_this2.state[name] < 0) { - // nothing to do for err - } else if (_this2.state[name] === 1) { - if (pending.indexOf(name) < 0) pending.push(name); - } else { - _this2.state[name] = 1; // pending - - hasAllNamespaces = false; - - if (pending.indexOf(name) < 0) pending.push(name); - if (toLoad.indexOf(name) < 0) toLoad.push(name); - if (toLoadNamespaces.indexOf(ns) < 0) toLoadNamespaces.push(ns); - } - }); - - if (!hasAllNamespaces) toLoadLanguages.push(lng); - }); - - if (toLoad.length || pending.length) { - this.queue.push({ - pending: pending, - loaded: {}, - errors: [], - callback: callback - }); - } - - return { - toLoad: toLoad, - pending: pending, - toLoadLanguages: toLoadLanguages, - toLoadNamespaces: toLoadNamespaces - }; - }; - - Connector.prototype.loaded = function loaded(name, err, data) { - var _this3 = this; - - var _name$split = name.split('|'), - _name$split2 = _slicedToArray(_name$split, 2), - lng = _name$split2[0], - ns = _name$split2[1]; - - if (err) this.emit('failedLoading', lng, ns, err); - - if (data) { - this.store.addResourceBundle(lng, ns, data); - } - - // set loaded - this.state[name] = err ? -1 : 2; - // callback if ready - this.queue.forEach(function (q) { - utils.pushPath(q.loaded, [lng], ns); - remove(q.pending, name); - - if (err) q.errors.push(err); - - if (q.pending.length === 0 && !q.done) { - q.errors.length ? q.callback(q.errors) : q.callback(); - _this3.emit('loaded', q.loaded); - q.done = true; - } - }); - - // remove done load requests - this.queue = this.queue.filter(function (q) { - return !q.done; - }); - }; - - Connector.prototype.read = function read(lng, ns, fcName, tried, wait, callback) { - var _this4 = this; - - if (!tried) tried = 0; - if (!wait) wait = 250; - - if (!lng.length) return callback(null, {}); // noting to load - - this.backend[fcName](lng, ns, function (err, data) { - if (err && data /* = retryFlag */ && tried < 5) { - setTimeout(function () { - _this4.read.call(_this4, lng, ns, fcName, ++tried, wait * 2, callback); - }, wait); - return; - } - callback(err, data); - }); - }; - - Connector.prototype.load = function load(languages, namespaces, callback) { - var _this5 = this; - - if (!this.backend) { - this.logger.warn('No backend was added via i18next.use. Will not load resources.'); - return callback && callback(); - } - var options = _extends({}, this.backend.options, this.options.backend); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - var toLoad = this.queueLoad(languages, namespaces, callback); - if (!toLoad.toLoad.length) { - if (!toLoad.pending.length) callback(); // nothing to load and no pendings...callback now - return; // pendings will trigger callback - } - - // load with multi-load - if (options.allowMultiLoading && this.backend.readMulti) { - this.read(toLoad.toLoadLanguages, toLoad.toLoadNamespaces, 'readMulti', null, null, function (err, data) { - if (err) _this5.logger.warn('loading namespaces ' + toLoad.toLoadNamespaces.join(', ') + ' for languages ' + toLoad.toLoadLanguages.join(', ') + ' via multiloading failed', err); - if (!err && data) _this5.logger.log('loaded namespaces ' + toLoad.toLoadNamespaces.join(', ') + ' for languages ' + toLoad.toLoadLanguages.join(', ') + ' via multiloading', data); - - toLoad.toLoad.forEach(function (name) { - var _name$split3 = name.split('|'), - _name$split4 = _slicedToArray(_name$split3, 2), - l = _name$split4[0], - n = _name$split4[1]; - - var bundle = utils.getPath(data, [l, n]); - if (bundle) { - _this5.loaded(name, err, bundle); - } else { - var _err = 'loading namespace ' + n + ' for language ' + l + ' via multiloading failed'; - _this5.loaded(name, _err); - _this5.logger.error(_err); - } - }); - }); - } - - // load one by one - else { - (function () { - var readOne = function readOne(name) { - var _this6 = this; - - var _name$split5 = name.split('|'), - _name$split6 = _slicedToArray(_name$split5, 2), - lng = _name$split6[0], - ns = _name$split6[1]; - - this.read(lng, ns, 'read', null, null, function (err, data) { - if (err) _this6.logger.warn('loading namespace ' + ns + ' for language ' + lng + ' failed', err); - if (!err && data) _this6.logger.log('loaded namespace ' + ns + ' for language ' + lng, data); - - _this6.loaded(name, err, data); - }); - }; - - ; - - toLoad.toLoad.forEach(function (name) { - readOne.call(_this5, name); - }); - })(); - } - }; - - Connector.prototype.reload = function reload(languages, namespaces) { - var _this7 = this; - - if (!this.backend) { - this.logger.warn('No backend was added via i18next.use. Will not load resources.'); - } - var options = _extends({}, this.backend.options, this.options.backend); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - // load with multi-load - if (options.allowMultiLoading && this.backend.readMulti) { - this.read(languages, namespaces, 'readMulti', null, null, function (err, data) { - if (err) _this7.logger.warn('reloading namespaces ' + namespaces.join(', ') + ' for languages ' + languages.join(', ') + ' via multiloading failed', err); - if (!err && data) _this7.logger.log('reloaded namespaces ' + namespaces.join(', ') + ' for languages ' + languages.join(', ') + ' via multiloading', data); - - languages.forEach(function (l) { - namespaces.forEach(function (n) { - var bundle = utils.getPath(data, [l, n]); - if (bundle) { - _this7.loaded(l + '|' + n, err, bundle); - } else { - var _err2 = 'reloading namespace ' + n + ' for language ' + l + ' via multiloading failed'; - _this7.loaded(l + '|' + n, _err2); - _this7.logger.error(_err2); - } - }); - }); - }); - } - - // load one by one - else { - (function () { - var readOne = function readOne(name) { - var _this8 = this; - - var _name$split7 = name.split('|'), - _name$split8 = _slicedToArray(_name$split7, 2), - lng = _name$split8[0], - ns = _name$split8[1]; - - this.read(lng, ns, 'read', null, null, function (err, data) { - if (err) _this8.logger.warn('reloading namespace ' + ns + ' for language ' + lng + ' failed', err); - if (!err && data) _this8.logger.log('reloaded namespace ' + ns + ' for language ' + lng, data); - - _this8.loaded(name, err, data); - }); - }; - - ; - - languages.forEach(function (l) { - namespaces.forEach(function (n) { - readOne.call(_this7, l + '|' + n); - }); - }); - })(); - } - }; - - Connector.prototype.saveMissing = function saveMissing(languages, namespace, key, fallbackValue) { - if (this.backend && this.backend.create) this.backend.create(languages, namespace, key, fallbackValue); - - // write to store to avoid resending - if (!languages || !languages[0]) return; - this.store.addResource(languages[0], namespace, key, fallbackValue); - }; - - return Connector; -}(EventEmitter); - -export default Connector; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/CacheConnector.js b/src/node_modules/i18next/dist/es/CacheConnector.js deleted file mode 100644 index a489455..0000000 --- a/src/node_modules/i18next/dist/es/CacheConnector.js +++ /dev/null @@ -1,70 +0,0 @@ -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - -import * as utils from './utils'; -import baseLogger from './logger'; -import EventEmitter from './EventEmitter'; - -var Connector = function (_EventEmitter) { - _inherits(Connector, _EventEmitter); - - function Connector(cache, store, services) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - _classCallCheck(this, Connector); - - var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.cache = cache; - _this.store = store; - _this.services = services; - _this.options = options; - _this.logger = baseLogger.create('cacheConnector'); - - _this.cache && _this.cache.init && _this.cache.init(services, options.cache, options); - return _this; - } - - Connector.prototype.load = function load(languages, namespaces, callback) { - var _this2 = this; - - if (!this.cache) return callback && callback(); - var options = _extends({}, this.cache.options, this.options.cache); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - if (options.enabled) { - this.cache.load(languages, function (err, data) { - if (err) _this2.logger.error('loading languages ' + languages.join(', ') + ' from cache failed', err); - if (data) { - for (var l in data) { - for (var n in data[l]) { - if (n === 'i18nStamp') continue; - var bundle = data[l][n]; - if (bundle) _this2.store.addResourceBundle(l, n, bundle); - } - } - } - if (callback) callback(); - }); - } else { - if (callback) callback(); - } - }; - - Connector.prototype.save = function save() { - if (this.cache && this.options.cache && this.options.cache.enabled) this.cache.save(this.store.data); - }; - - return Connector; -}(EventEmitter); - -export default Connector; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/EventEmitter.js b/src/node_modules/i18next/dist/es/EventEmitter.js deleted file mode 100644 index 4f28a9f..0000000 --- a/src/node_modules/i18next/dist/es/EventEmitter.js +++ /dev/null @@ -1,61 +0,0 @@ -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var EventEmitter = function () { - function EventEmitter() { - _classCallCheck(this, EventEmitter); - - this.observers = {}; - } - - EventEmitter.prototype.on = function on(events, listener) { - var _this = this; - - events.split(' ').forEach(function (event) { - _this.observers[event] = _this.observers[event] || []; - _this.observers[event].push(listener); - }); - }; - - EventEmitter.prototype.off = function off(event, listener) { - var _this2 = this; - - if (!this.observers[event]) { - return; - } - - this.observers[event].forEach(function () { - if (!listener) { - delete _this2.observers[event]; - } else { - var index = _this2.observers[event].indexOf(listener); - if (index > -1) { - _this2.observers[event].splice(index, 1); - } - } - }); - }; - - EventEmitter.prototype.emit = function emit(event) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - if (this.observers[event]) { - this.observers[event].forEach(function (observer) { - observer.apply(undefined, args); - }); - } - - if (this.observers['*']) { - this.observers['*'].forEach(function (observer) { - var _ref; - - observer.apply(observer, (_ref = [event]).concat.apply(_ref, args)); - }); - } - }; - - return EventEmitter; -}(); - -export default EventEmitter; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/Interpolator.js b/src/node_modules/i18next/dist/es/Interpolator.js deleted file mode 100644 index f65d49b..0000000 --- a/src/node_modules/i18next/dist/es/Interpolator.js +++ /dev/null @@ -1,156 +0,0 @@ -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -import * as utils from './utils'; -import baseLogger from './logger'; - -var Interpolator = function () { - function Interpolator() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - _classCallCheck(this, Interpolator); - - this.logger = baseLogger.create('interpolator'); - - this.init(options, true); - } - - Interpolator.prototype.init = function init() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var reset = arguments[1]; - - if (reset) { - this.options = options; - this.format = options.interpolation && options.interpolation.format || function (value) { - return value; - }; - } - if (!options.interpolation) options.interpolation = { escapeValue: true }; - - var iOpts = options.interpolation; - - this.escapeValue = iOpts.escapeValue !== undefined ? iOpts.escapeValue : true; - - this.prefix = iOpts.prefix ? utils.regexEscape(iOpts.prefix) : iOpts.prefixEscaped || '{{'; - this.suffix = iOpts.suffix ? utils.regexEscape(iOpts.suffix) : iOpts.suffixEscaped || '}}'; - this.formatSeparator = iOpts.formatSeparator ? utils.regexEscape(iOpts.formatSeparator) : iOpts.formatSeparator || ','; - - this.unescapePrefix = iOpts.unescapeSuffix ? '' : iOpts.unescapePrefix || '-'; - this.unescapeSuffix = this.unescapePrefix ? '' : iOpts.unescapeSuffix || ''; - - this.nestingPrefix = iOpts.nestingPrefix ? utils.regexEscape(iOpts.nestingPrefix) : iOpts.nestingPrefixEscaped || utils.regexEscape('$t('); - this.nestingSuffix = iOpts.nestingSuffix ? utils.regexEscape(iOpts.nestingSuffix) : iOpts.nestingSuffixEscaped || utils.regexEscape(')'); - - // the regexp - this.resetRegExp(); - }; - - Interpolator.prototype.reset = function reset() { - if (this.options) this.init(this.options); - }; - - Interpolator.prototype.resetRegExp = function resetRegExp() { - // the regexp - var regexpStr = this.prefix + '(.+?)' + this.suffix; - this.regexp = new RegExp(regexpStr, 'g'); - - var regexpUnescapeStr = this.prefix + this.unescapePrefix + '(.+?)' + this.unescapeSuffix + this.suffix; - this.regexpUnescape = new RegExp(regexpUnescapeStr, 'g'); - - var nestingRegexpStr = this.nestingPrefix + '(.+?)' + this.nestingSuffix; - this.nestingRegexp = new RegExp(nestingRegexpStr, 'g'); - }; - - Interpolator.prototype.interpolate = function interpolate(str, data, lng) { - var _this = this; - - var match = void 0, - value = void 0; - - function regexSafe(val) { - return val.replace(/\$/g, '$$$$'); - } - - var handleFormat = function handleFormat(key) { - if (key.indexOf(_this.formatSeparator) < 0) return utils.getPath(data, key); - - var p = key.split(_this.formatSeparator); - var k = p.shift().trim(); - var f = p.join(_this.formatSeparator).trim(); - - return _this.format(utils.getPath(data, k), f, lng); - }; - - this.resetRegExp(); - - // unescape if has unescapePrefix/Suffix - while (match = this.regexpUnescape.exec(str)) { - var _value = handleFormat(match[1].trim()); - str = str.replace(match[0], _value); - this.regexpUnescape.lastIndex = 0; - } - - // regular escape on demand - while (match = this.regexp.exec(str)) { - value = handleFormat(match[1].trim()); - if (typeof value !== 'string') value = utils.makeString(value); - if (!value) { - this.logger.warn('missed to pass in variable ' + match[1] + ' for interpolating ' + str); - value = ''; - } - value = this.escapeValue ? regexSafe(utils.escape(value)) : regexSafe(value); - str = str.replace(match[0], value); - this.regexp.lastIndex = 0; - } - return str; - }; - - Interpolator.prototype.nest = function nest(str, fc) { - var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - - var match = void 0, - value = void 0; - - var clonedOptions = JSON.parse(JSON.stringify(options)); - clonedOptions.applyPostProcessor = false; // avoid post processing on nested lookup - - function regexSafe(val) { - return val.replace(/\$/g, '$$$$'); - } - - // if value is something like "myKey": "lorem $(anotherKey, { "count": {{aValueInOptions}} })" - function handleHasOptions(key) { - if (key.indexOf(',') < 0) return key; - - var p = key.split(','); - key = p.shift(); - var optionsString = p.join(','); - optionsString = this.interpolate(optionsString, clonedOptions); - - try { - clonedOptions = JSON.parse(optionsString); - } catch (e) { - this.logger.error('failed parsing options string in nesting for key ' + key, e); - } - - return key; - } - - // regular escape on demand - while (match = this.nestingRegexp.exec(str)) { - value = fc(handleHasOptions.call(this, match[1].trim()), clonedOptions); - if (typeof value !== 'string') value = utils.makeString(value); - if (!value) { - this.logger.warn('missed to pass in variable ' + match[1] + ' for interpolating ' + str); - value = ''; - } - value = this.escapeValue ? regexSafe(utils.escape(value)) : regexSafe(value); - str = str.replace(match[0], value); - this.regexp.lastIndex = 0; - } - return str; - }; - - return Interpolator; -}(); - -export default Interpolator; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/LanguageUtils.js b/src/node_modules/i18next/dist/es/LanguageUtils.js deleted file mode 100644 index 052815b..0000000 --- a/src/node_modules/i18next/dist/es/LanguageUtils.js +++ /dev/null @@ -1,134 +0,0 @@ -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -import baseLogger from './logger'; - -function capitalize(string) { - return string.charAt(0).toUpperCase() + string.slice(1); -} - -var LanguageUtil = function () { - function LanguageUtil(options) { - _classCallCheck(this, LanguageUtil); - - this.options = options; - - this.whitelist = this.options.whitelist || false; - this.logger = baseLogger.create('languageUtils'); - } - - LanguageUtil.prototype.getLanguagePartFromCode = function getLanguagePartFromCode(code) { - if (code.indexOf('-') < 0) return code; - - var specialCases = ['NB-NO', 'NN-NO', 'nb-NO', 'nn-NO', 'nb-no', 'nn-no']; - var p = code.split('-'); - return this.formatLanguageCode(specialCases.indexOf(code) > -1 ? p[1].toLowerCase() : p[0]); - }; - - LanguageUtil.prototype.getScriptPartFromCode = function getScriptPartFromCode(code) { - if (code.indexOf('-') < 0) return null; - - var p = code.split('-'); - if (p.length === 2) return null; - p.pop(); - return this.formatLanguageCode(p.join('-')); - }; - - LanguageUtil.prototype.getLanguagePartFromCode = function getLanguagePartFromCode(code) { - if (code.indexOf('-') < 0) return code; - - var specialCases = ['NB-NO', 'NN-NO', 'nb-NO', 'nn-NO', 'nb-no', 'nn-no']; - var p = code.split('-'); - return this.formatLanguageCode(specialCases.indexOf(code) > -1 ? p[1].toLowerCase() : p[0]); - }; - - LanguageUtil.prototype.formatLanguageCode = function formatLanguageCode(code) { - // http://www.iana.org/assignments/language-tags/language-tags.xhtml - if (typeof code === 'string' && code.indexOf('-') > -1) { - var specialCases = ['hans', 'hant', 'latn', 'cyrl', 'cans', 'mong', 'arab']; - var p = code.split('-'); - - if (this.options.lowerCaseLng) { - p = p.map(function (part) { - return part.toLowerCase(); - }); - } else if (p.length === 2) { - p[0] = p[0].toLowerCase(); - p[1] = p[1].toUpperCase(); - - if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase()); - } else if (p.length === 3) { - p[0] = p[0].toLowerCase(); - - // if lenght 2 guess it's a country - if (p[1].length === 2) p[1] = p[1].toUpperCase(); - if (p[0] !== 'sgn' && p[2].length === 2) p[2] = p[2].toUpperCase(); - - if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase()); - if (specialCases.indexOf(p[2].toLowerCase()) > -1) p[2] = capitalize(p[2].toLowerCase()); - } - - return p.join('-'); - } else { - return this.options.cleanCode || this.options.lowerCaseLng ? code.toLowerCase() : code; - } - }; - - LanguageUtil.prototype.isWhitelisted = function isWhitelisted(code, exactMatch) { - if (this.options.load === 'languageOnly' || this.options.nonExplicitWhitelist && !exactMatch) { - code = this.getLanguagePartFromCode(code); - } - return !this.whitelist || !this.whitelist.length || this.whitelist.indexOf(code) > -1 ? true : false; - }; - - LanguageUtil.prototype.getFallbackCodes = function getFallbackCodes(fallbacks, code) { - if (!fallbacks) return []; - if (typeof fallbacks === 'string') fallbacks = [fallbacks]; - if (Object.prototype.toString.apply(fallbacks) === '[object Array]') return fallbacks; - - // asume we have an object defining fallbacks - var found = fallbacks[code]; - if (!found) found = fallbacks[this.getScriptPartFromCode(code)]; - if (!found) found = fallbacks[this.formatLanguageCode(code)]; - if (!found) found = fallbacks.default; - - return found || []; - }; - - LanguageUtil.prototype.toResolveHierarchy = function toResolveHierarchy(code, fallbackCode) { - var _this = this; - - var fallbackCodes = this.getFallbackCodes(fallbackCode || this.options.fallbackLng || [], code); - - var codes = []; - var addCode = function addCode(code) { - var exactMatch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - - if (!code) return; - if (_this.isWhitelisted(code, exactMatch)) { - codes.push(code); - } else { - _this.logger.warn('rejecting non-whitelisted language code: ' + code); - } - }; - - if (typeof code === 'string' && code.indexOf('-') > -1) { - if (this.options.load !== 'languageOnly') addCode(this.formatLanguageCode(code), true); - if (this.options.load !== 'languageOnly' && this.options.load !== 'currentOnly') addCode(this.getScriptPartFromCode(code), true); - if (this.options.load !== 'currentOnly') addCode(this.getLanguagePartFromCode(code)); - } else if (typeof code === 'string') { - addCode(this.formatLanguageCode(code)); - } - - fallbackCodes.forEach(function (fc) { - if (codes.indexOf(fc) < 0) addCode(_this.formatLanguageCode(fc)); - }); - - return codes; - }; - - return LanguageUtil; -}(); - -; - -export default LanguageUtil; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/PluralResolver.js b/src/node_modules/i18next/dist/es/PluralResolver.js deleted file mode 100644 index b25c83e..0000000 --- a/src/node_modules/i18next/dist/es/PluralResolver.js +++ /dev/null @@ -1,189 +0,0 @@ -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -import baseLogger from './logger'; - -// definition http://translate.sourceforge.net/wiki/l10n/pluralforms -/* eslint-disable */ -var sets = [{ lngs: ['ach', 'ak', 'am', 'arn', 'br', 'fil', 'gun', 'ln', 'mfe', 'mg', 'mi', 'oc', 'tg', 'ti', 'tr', 'uz', 'wa'], nr: [1, 2], fc: 1 }, { lngs: ['af', 'an', 'ast', 'az', 'bg', 'bn', 'ca', 'da', 'de', 'dev', 'el', 'en', 'eo', 'es', 'es_ar', 'et', 'eu', 'fi', 'fo', 'fur', 'fy', 'gl', 'gu', 'ha', 'he', 'hi', 'hu', 'hy', 'ia', 'it', 'kn', 'ku', 'lb', 'mai', 'ml', 'mn', 'mr', 'nah', 'nap', 'nb', 'ne', 'nl', 'nn', 'no', 'nso', 'pa', 'pap', 'pms', 'ps', 'pt', 'pt_br', 'rm', 'sco', 'se', 'si', 'so', 'son', 'sq', 'sv', 'sw', 'ta', 'te', 'tk', 'ur', 'yo'], nr: [1, 2], fc: 2 }, { lngs: ['ay', 'bo', 'cgg', 'fa', 'id', 'ja', 'jbo', 'ka', 'kk', 'km', 'ko', 'ky', 'lo', 'ms', 'sah', 'su', 'th', 'tt', 'ug', 'vi', 'wo', 'zh'], nr: [1], fc: 3 }, { lngs: ['be', 'bs', 'dz', 'hr', 'ru', 'sr', 'uk'], nr: [1, 2, 5], fc: 4 }, { lngs: ['ar'], nr: [0, 1, 2, 3, 11, 100], fc: 5 }, { lngs: ['cs', 'sk'], nr: [1, 2, 5], fc: 6 }, { lngs: ['csb', 'pl'], nr: [1, 2, 5], fc: 7 }, { lngs: ['cy'], nr: [1, 2, 3, 8], fc: 8 }, { lngs: ['fr'], nr: [1, 2], fc: 9 }, { lngs: ['ga'], nr: [1, 2, 3, 7, 11], fc: 10 }, { lngs: ['gd'], nr: [1, 2, 3, 20], fc: 11 }, { lngs: ['is'], nr: [1, 2], fc: 12 }, { lngs: ['jv'], nr: [0, 1], fc: 13 }, { lngs: ['kw'], nr: [1, 2, 3, 4], fc: 14 }, { lngs: ['lt'], nr: [1, 2, 10], fc: 15 }, { lngs: ['lv'], nr: [1, 2, 0], fc: 16 }, { lngs: ['mk'], nr: [1, 2], fc: 17 }, { lngs: ['mnk'], nr: [0, 1, 2], fc: 18 }, { lngs: ['mt'], nr: [1, 2, 11, 20], fc: 19 }, { lngs: ['or'], nr: [2, 1], fc: 2 }, { lngs: ['ro'], nr: [1, 2, 20], fc: 20 }, { lngs: ['sl'], nr: [5, 1, 2, 3], fc: 21 }]; - -var _rulesPluralsTypes = { - 1: function _(n) { - return Number(n > 1); - }, - 2: function _(n) { - return Number(n != 1); - }, - 3: function _(n) { - return 0; - }, - 4: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 5: function _(n) { - return Number(n === 0 ? 0 : n == 1 ? 1 : n == 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5); - }, - 6: function _(n) { - return Number(n == 1 ? 0 : n >= 2 && n <= 4 ? 1 : 2); - }, - 7: function _(n) { - return Number(n == 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 8: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n != 8 && n != 11 ? 2 : 3); - }, - 9: function _(n) { - return Number(n >= 2); - }, - 10: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4); - }, - 11: function _(n) { - return Number(n == 1 || n == 11 ? 0 : n == 2 || n == 12 ? 1 : n > 2 && n < 20 ? 2 : 3); - }, - 12: function _(n) { - return Number(n % 10 != 1 || n % 100 == 11); - }, - 13: function _(n) { - return Number(n !== 0); - }, - 14: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n == 3 ? 2 : 3); - }, - 15: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 16: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n !== 0 ? 1 : 2); - }, - 17: function _(n) { - return Number(n == 1 || n % 10 == 1 ? 0 : 1); - }, - 18: function _(n) { - return Number(n == 0 ? 0 : n == 1 ? 1 : 2); - }, - 19: function _(n) { - return Number(n == 1 ? 0 : n === 0 || n % 100 > 1 && n % 100 < 11 ? 1 : n % 100 > 10 && n % 100 < 20 ? 2 : 3); - }, - 20: function _(n) { - return Number(n == 1 ? 0 : n === 0 || n % 100 > 0 && n % 100 < 20 ? 1 : 2); - }, - 21: function _(n) { - return Number(n % 100 == 1 ? 1 : n % 100 == 2 ? 2 : n % 100 == 3 || n % 100 == 4 ? 3 : 0); - } -}; -/* eslint-enable */ - -function createRules() { - var l, - rules = {}; - sets.forEach(function (set) { - set.lngs.forEach(function (l) { - return rules[l] = { - numbers: set.nr, - plurals: _rulesPluralsTypes[set.fc] - }; - }); - }); - return rules; -} - -var PluralResolver = function () { - function PluralResolver(languageUtils) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - _classCallCheck(this, PluralResolver); - - this.languageUtils = languageUtils; - this.options = options; - - this.logger = baseLogger.create('pluralResolver'); - - this.rules = createRules(); - } - - PluralResolver.prototype.addRule = function addRule(lng, obj) { - this.rules[lng] = obj; - }; - - PluralResolver.prototype.getRule = function getRule(code) { - return this.rules[this.languageUtils.getLanguagePartFromCode(code)]; - }; - - PluralResolver.prototype.needsPlural = function needsPlural(code) { - var rule = this.getRule(code); - - return rule && rule.numbers.length <= 1 ? false : true; - }; - - PluralResolver.prototype.getSuffix = function getSuffix(code, count) { - var _this = this; - - var rule = this.getRule(code); - - if (rule) { - var _ret = function () { - if (rule.numbers.length === 1) return { - v: '' - }; // only singular - - var idx = rule.noAbs ? rule.plurals(count) : rule.plurals(Math.abs(count)); - var suffix = rule.numbers[idx]; - - // special treatment for lngs only having singular and plural - if (rule.numbers.length === 2 && rule.numbers[0] === 1) { - if (suffix === 2) { - suffix = 'plural'; - } else if (suffix === 1) { - suffix = ''; - } - } - - var returnSuffix = function returnSuffix() { - return _this.options.prepend && suffix.toString() ? _this.options.prepend + suffix.toString() : suffix.toString(); - }; - - // COMPATIBILITY JSON - // v1 - if (_this.options.compatibilityJSON === 'v1') { - if (suffix === 1) return { - v: '' - }; - if (typeof suffix === 'number') return { - v: '_plural_' + suffix.toString() - }; - return { - v: returnSuffix() - }; - } - // v2 - else if (_this.options.compatibilityJSON === 'v2' || rule.numbers.length === 2 && rule.numbers[0] === 1) { - return { - v: returnSuffix() - }; - } - // v3 - gettext index - else if (rule.numbers.length === 2 && rule.numbers[0] === 1) { - return { - v: returnSuffix() - }; - } - return { - v: _this.options.prepend && idx.toString() ? _this.options.prepend + idx.toString() : idx.toString() - }; - }(); - - if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; - } else { - this.logger.warn('no plural rule found for: ' + code); - return ''; - } - }; - - return PluralResolver; -}(); - -; - -export default PluralResolver; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/ResourceStore.js b/src/node_modules/i18next/dist/es/ResourceStore.js deleted file mode 100644 index f33fd80..0000000 --- a/src/node_modules/i18next/dist/es/ResourceStore.js +++ /dev/null @@ -1,142 +0,0 @@ -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - -import EventEmitter from './EventEmitter'; -import * as utils from './utils'; - -var ResourceStore = function (_EventEmitter) { - _inherits(ResourceStore, _EventEmitter); - - function ResourceStore() { - var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { ns: ['translation'], defaultNS: 'translation' }; - - _classCallCheck(this, ResourceStore); - - var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.data = data; - _this.options = options; - return _this; - } - - ResourceStore.prototype.addNamespaces = function addNamespaces(ns) { - if (this.options.ns.indexOf(ns) < 0) { - this.options.ns.push(ns); - } - }; - - ResourceStore.prototype.removeNamespaces = function removeNamespaces(ns) { - var index = this.options.ns.indexOf(ns); - if (index > -1) { - this.options.ns.splice(index, 1); - } - }; - - ResourceStore.prototype.getResource = function getResource(lng, ns, key) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - var keySeparator = options.keySeparator || this.options.keySeparator; - if (keySeparator === undefined) keySeparator = '.'; - - var path = [lng, ns]; - if (key && typeof key !== 'string') path = path.concat(key); - if (key && typeof key === 'string') path = path.concat(keySeparator ? key.split(keySeparator) : key); - - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - } - - return utils.getPath(this.data, path); - }; - - ResourceStore.prototype.addResource = function addResource(lng, ns, key, value) { - var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : { silent: false }; - - var keySeparator = this.options.keySeparator; - if (keySeparator === undefined) keySeparator = '.'; - - var path = [lng, ns]; - if (key) path = path.concat(keySeparator ? key.split(keySeparator) : key); - - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - value = ns; - ns = path[1]; - } - - this.addNamespaces(ns); - - utils.setPath(this.data, path, value); - - if (!options.silent) this.emit('added', lng, ns, key, value); - }; - - ResourceStore.prototype.addResources = function addResources(lng, ns, resources) { - for (var m in resources) { - if (typeof resources[m] === 'string') this.addResource(lng, ns, m, resources[m], { silent: true }); - } - this.emit('added', lng, ns, resources); - }; - - ResourceStore.prototype.addResourceBundle = function addResourceBundle(lng, ns, resources, deep, overwrite) { - var path = [lng, ns]; - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - deep = resources; - resources = ns; - ns = path[1]; - } - - this.addNamespaces(ns); - - var pack = utils.getPath(this.data, path) || {}; - - if (deep) { - utils.deepExtend(pack, resources, overwrite); - } else { - pack = _extends({}, pack, resources); - } - - utils.setPath(this.data, path, pack); - - this.emit('added', lng, ns, resources); - }; - - ResourceStore.prototype.removeResourceBundle = function removeResourceBundle(lng, ns) { - if (this.hasResourceBundle(lng, ns)) { - delete this.data[lng][ns]; - } - this.removeNamespaces(ns); - - this.emit('removed', lng, ns); - }; - - ResourceStore.prototype.hasResourceBundle = function hasResourceBundle(lng, ns) { - return this.getResource(lng, ns) !== undefined; - }; - - ResourceStore.prototype.getResourceBundle = function getResourceBundle(lng, ns) { - if (!ns) ns = this.options.defaultNS; - - // TODO: COMPATIBILITY remove extend in v2.1.0 - if (this.options.compatibilityAPI === 'v1') return _extends({}, this.getResource(lng, ns)); - - return this.getResource(lng, ns); - }; - - ResourceStore.prototype.toJSON = function toJSON() { - return this.data; - }; - - return ResourceStore; -}(EventEmitter); - -export default ResourceStore; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/Translator.js b/src/node_modules/i18next/dist/es/Translator.js deleted file mode 100644 index 7c63cd5..0000000 --- a/src/node_modules/i18next/dist/es/Translator.js +++ /dev/null @@ -1,283 +0,0 @@ -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - -import baseLogger from './logger'; -import EventEmitter from './EventEmitter'; -import postProcessor from './postProcessor'; -import * as compat from './compatibility/v1'; -import * as utils from './utils'; - -var Translator = function (_EventEmitter) { - _inherits(Translator, _EventEmitter); - - function Translator(services) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - _classCallCheck(this, Translator); - - var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); - - utils.copy(['resourceStore', 'languageUtils', 'pluralResolver', 'interpolator', 'backendConnector'], services, _this); - - _this.options = options; - _this.logger = baseLogger.create('translator'); - return _this; - } - - Translator.prototype.changeLanguage = function changeLanguage(lng) { - if (lng) this.language = lng; - }; - - Translator.prototype.exists = function exists(key) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { interpolation: {} }; - - if (this.options.compatibilityAPI === 'v1') { - options = compat.convertTOptions(options); - } - - return this.resolve(key, options) !== undefined; - }; - - Translator.prototype.extractFromKey = function extractFromKey(key, options) { - var nsSeparator = options.nsSeparator || this.options.nsSeparator; - if (nsSeparator === undefined) nsSeparator = ':'; - - var namespaces = options.ns || this.options.defaultNS; - if (nsSeparator && key.indexOf(nsSeparator) > -1) { - var parts = key.split(nsSeparator); - namespaces = parts[0]; - key = parts[1]; - } - if (typeof namespaces === 'string') namespaces = [namespaces]; - - return { - key: key, - namespaces: namespaces - }; - }; - - Translator.prototype.translate = function translate(keys) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) !== 'object') { - options = this.options.overloadTranslationOptionHandler(arguments); - } else if (this.options.compatibilityAPI === 'v1') { - options = compat.convertTOptions(options); - } - - // non valid keys handling - if (keys === undefined || keys === null || keys === '') return ''; - if (typeof keys === 'number') keys = String(keys); - if (typeof keys === 'string') keys = [keys]; - - // return key on CIMode - var lng = options.lng || this.language; - if (lng && lng.toLowerCase() === 'cimode') return keys[keys.length - 1]; - - // separators - var keySeparator = options.keySeparator || this.options.keySeparator || '.'; - - // get namespace(s) - - var _extractFromKey = this.extractFromKey(keys[keys.length - 1], options), - key = _extractFromKey.key, - namespaces = _extractFromKey.namespaces; - - var namespace = namespaces[namespaces.length - 1]; - - // resolve from store - var res = this.resolve(keys, options); - - var resType = Object.prototype.toString.apply(res); - var noObject = ['[object Number]', '[object Function]', '[object RegExp]']; - var joinArrays = options.joinArrays !== undefined ? options.joinArrays : this.options.joinArrays; - - // object - if (res && typeof res !== 'string' && noObject.indexOf(resType) < 0 && !(joinArrays && resType === '[object Array]')) { - if (!options.returnObjects && !this.options.returnObjects) { - this.logger.warn('accessing an object - but returnObjects options is not enabled!'); - return this.options.returnedObjectHandler ? this.options.returnedObjectHandler(key, res, options) : 'key \'' + key + ' (' + this.language + ')\' returned an object instead of string.'; - } - - var copy = resType === '[object Array]' ? [] : {}; // apply child translation on a copy - - for (var m in res) { - copy[m] = this.translate('' + key + keySeparator + m, _extends({ joinArrays: false, ns: namespaces }, options)); - } - res = copy; - } - // array special treatment - else if (joinArrays && resType === '[object Array]') { - res = res.join(joinArrays); - if (res) res = this.extendTranslation(res, key, options); - } - // string, empty or null - else { - var usedDefault = false, - usedKey = false; - - // fallback value - if (!this.isValidLookup(res) && options.defaultValue !== undefined) { - usedDefault = true; - res = options.defaultValue; - } - if (!this.isValidLookup(res)) { - usedKey = true; - res = key; - } - - // save missing - if (usedKey || usedDefault) { - this.logger.log('missingKey', lng, namespace, key, res); - - var lngs = []; - var fallbackLngs = this.languageUtils.getFallbackCodes(this.options.fallbackLng, options.lng || this.language); - if (this.options.saveMissingTo === 'fallback' && fallbackLngs && fallbackLngs[0]) { - for (var i = 0; i < fallbackLngs.length; i++) { - lngs.push(fallbackLngs[i]); - } - } else if (this.options.saveMissingTo === 'all') { - lngs = this.languageUtils.toResolveHierarchy(options.lng || this.language); - } else { - //(this.options.saveMissingTo === 'current' || (this.options.saveMissingTo === 'fallback' && this.options.fallbackLng[0] === false) ) { - lngs.push(options.lng || this.language); - } - - if (this.options.saveMissing) { - if (this.options.missingKeyHandler) { - this.options.missingKeyHandler(lngs, namespace, key, res); - } else if (this.backendConnector && this.backendConnector.saveMissing) { - this.backendConnector.saveMissing(lngs, namespace, key, res); - } - } - - this.emit('missingKey', lngs, namespace, key, res); - } - - // extend - res = this.extendTranslation(res, key, options); - - // append namespace if still key - if (usedKey && res === key && this.options.appendNamespaceToMissingKey) res = namespace + ':' + key; - - // parseMissingKeyHandler - if (usedKey && this.options.parseMissingKeyHandler) res = this.options.parseMissingKeyHandler(res); - } - - // return - return res; - }; - - Translator.prototype.extendTranslation = function extendTranslation(res, key, options) { - var _this2 = this; - - if (options.interpolation) this.interpolator.init(_extends({}, options, { interpolation: _extends({}, this.options.interpolation, options.interpolation) })); - - // interpolate - var data = options.replace && typeof options.replace !== 'string' ? options.replace : options; - if (this.options.interpolation.defaultVariables) data = _extends({}, this.options.interpolation.defaultVariables, data); - res = this.interpolator.interpolate(res, data, this.language); - - // nesting - res = this.interpolator.nest(res, function () { - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - return _this2.translate.apply(_this2, args); - }, options); - - if (options.interpolation) this.interpolator.reset(); - - // post process - var postProcess = options.postProcess || this.options.postProcess; - var postProcessorNames = typeof postProcess === 'string' ? [postProcess] : postProcess; - - if (res !== undefined && postProcessorNames && postProcessorNames.length && options.applyPostProcessor !== false) { - res = postProcessor.handle(postProcessorNames, res, key, options, this); - } - - return res; - }; - - Translator.prototype.resolve = function resolve(keys) { - var _this3 = this; - - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - var found = void 0; - - if (typeof keys === 'string') keys = [keys]; - - // forEach possible key - keys.forEach(function (k) { - if (_this3.isValidLookup(found)) return; - - var _extractFromKey2 = _this3.extractFromKey(k, options), - key = _extractFromKey2.key, - namespaces = _extractFromKey2.namespaces; - - if (_this3.options.fallbackNS) namespaces = namespaces.concat(_this3.options.fallbackNS); - - var needsPluralHandling = options.count !== undefined && typeof options.count !== 'string'; - var needsContextHandling = options.context !== undefined && typeof options.context === 'string' && options.context !== ''; - - var codes = options.lngs ? options.lngs : _this3.languageUtils.toResolveHierarchy(options.lng || _this3.language); - - namespaces.forEach(function (ns) { - if (_this3.isValidLookup(found)) return; - - codes.forEach(function (code) { - if (_this3.isValidLookup(found)) return; - - var finalKey = key; - var finalKeys = [finalKey]; - - var pluralSuffix = void 0; - if (needsPluralHandling) pluralSuffix = _this3.pluralResolver.getSuffix(code, options.count); - - // fallback for plural if context not found - if (needsPluralHandling && needsContextHandling) finalKeys.push(finalKey + pluralSuffix); - - // get key for context if needed - if (needsContextHandling) finalKeys.push(finalKey += '' + _this3.options.contextSeparator + options.context); - - // get key for plural if needed - if (needsPluralHandling) finalKeys.push(finalKey += pluralSuffix); - - // iterate over finalKeys starting with most specific pluralkey (-> contextkey only) -> singularkey only - var possibleKey = void 0; - while (possibleKey = finalKeys.pop()) { - if (_this3.isValidLookup(found)) continue; - found = _this3.getResource(code, ns, possibleKey, options); - } - }); - }); - }); - - return found; - }; - - Translator.prototype.isValidLookup = function isValidLookup(res) { - return res !== undefined && !(!this.options.returnNull && res === null) && !(!this.options.returnEmptyString && res === ''); - }; - - Translator.prototype.getResource = function getResource(code, ns, key) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - return this.resourceStore.getResource(code, ns, key, options); - }; - - return Translator; -}(EventEmitter); - -export default Translator; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/compatibility/v1.js b/src/node_modules/i18next/dist/es/compatibility/v1.js deleted file mode 100644 index 98b2fe7..0000000 --- a/src/node_modules/i18next/dist/es/compatibility/v1.js +++ /dev/null @@ -1,140 +0,0 @@ -import logger from '../logger'; - -function convertInterpolation(options) { - - options.interpolation = { - unescapeSuffix: 'HTML' - }; - - options.interpolation.prefix = options.interpolationPrefix || '__'; - options.interpolation.suffix = options.interpolationSuffix || '__'; - options.interpolation.escapeValue = options.escapeInterpolation || false; - - options.interpolation.nestingPrefix = options.reusePrefix || '$t('; - options.interpolation.nestingSuffix = options.reuseSuffix || ')'; - - return options; -} - -export function convertAPIOptions(options) { - if (options.resStore) options.resources = options.resStore; - - if (options.ns && options.ns.defaultNs) { - options.defaultNS = options.ns.defaultNs; - options.ns = options.ns.namespaces; - } else { - options.defaultNS = options.ns || 'translation'; - } - - if (options.fallbackToDefaultNS && options.defaultNS) options.fallbackNS = options.defaultNS; - - options.saveMissing = options.sendMissing; - options.saveMissingTo = options.sendMissingTo || 'current'; - options.returnNull = options.fallbackOnNull ? false : true; - options.returnEmptyString = options.fallbackOnEmpty ? false : true; - options.returnObjects = options.returnObjectTrees; - options.joinArrays = '\n'; - - options.returnedObjectHandler = options.objectTreeKeyHandler; - options.parseMissingKeyHandler = options.parseMissingKey; - options.appendNamespaceToMissingKey = true; - - options.nsSeparator = options.nsseparator; - options.keySeparator = options.keyseparator; - - if (options.shortcutFunction === 'sprintf') { - options.overloadTranslationOptionHandler = function (args) { - var values = []; - - for (var i = 1; i < args.length; i++) { - values.push(args[i]); - } - - return { - postProcess: 'sprintf', - sprintf: values - }; - }; - } - - options.whitelist = options.lngWhitelist; - options.preload = options.preload; - if (options.load === 'current') options.load = 'currentOnly'; - if (options.load === 'unspecific') options.load = 'languageOnly'; - - // backend - options.backend = options.backend || {}; - options.backend.loadPath = options.resGetPath || 'locales/__lng__/__ns__.json'; - options.backend.addPath = options.resPostPath || 'locales/add/__lng__/__ns__'; - options.backend.allowMultiLoading = options.dynamicLoad; - - // cache - options.cache = options.cache || {}; - options.cache.prefix = 'res_'; - options.cache.expirationTime = 7 * 24 * 60 * 60 * 1000; - options.cache.enabled = options.useLocalStorage ? true : false; - - options = convertInterpolation(options); - if (options.defaultVariables) options.interpolation.defaultVariables = options.defaultVariables; - - // TODO: deprecation - // if (options.getAsync === false) throw deprecation error - - return options; -} - -export function convertJSONOptions(options) { - options = convertInterpolation(options); - options.joinArrays = '\n'; - - return options; -} - -export function convertTOptions(options) { - if (options.interpolationPrefix || options.interpolationSuffix || options.escapeInterpolation) { - options = convertInterpolation(options); - } - - options.nsSeparator = options.nsseparator; - options.keySeparator = options.keyseparator; - - options.returnObjects = options.returnObjectTrees; - - return options; -} - -export function appendBackwardsAPI(i18n) { - i18n.lng = function () { - logger.deprecate('i18next.lng() can be replaced by i18next.language for detected language or i18next.languages for languages ordered by translation lookup.'); - return i18n.services.languageUtils.toResolveHierarchy(i18n.language)[0]; - }; - - i18n.preload = function (lngs, cb) { - logger.deprecate('i18next.preload() can be replaced with i18next.loadLanguages()'); - i18n.loadLanguages(lngs, cb); - }; - - i18n.setLng = function (lng, options, callback) { - logger.deprecate('i18next.setLng() can be replaced with i18next.changeLanguage() or i18next.getFixedT() to get a translation function with fixed language or namespace.'); - if (typeof options === 'function') { - callback = options; - options = {}; - } - if (!options) options = {}; - - if (options.fixLng === true) { - if (callback) return callback(null, i18n.getFixedT(lng)); - } - - i18n.changeLanguage(lng, callback); - }; - - i18n.addPostProcessor = function (name, fc) { - logger.deprecate('i18next.addPostProcessor() can be replaced by i18next.use({ type: \'postProcessor\', name: \'name\', process: fc })'); - i18n.use({ - type: 'postProcessor', - name: name, - process: fc - }); - }; -} \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/defaults.js b/src/node_modules/i18next/dist/es/defaults.js deleted file mode 100644 index cf1291c..0000000 --- a/src/node_modules/i18next/dist/es/defaults.js +++ /dev/null @@ -1,69 +0,0 @@ -export function get() { - return { - debug: false, - initImmediate: true, - - ns: ['translation'], - defaultNS: ['translation'], - fallbackLng: ['dev'], - fallbackNS: false, // string or array of namespaces - - whitelist: false, // array with whitelisted languages - nonExplicitWhitelist: false, - load: 'all', // | currentOnly | languageOnly - preload: false, // array with preload languages - - keySeparator: '.', - nsSeparator: ':', - pluralSeparator: '_', - contextSeparator: '_', - - saveMissing: false, // enable to send missing values - saveMissingTo: 'fallback', // 'current' || 'all' - missingKeyHandler: false, // function(lng, ns, key, fallbackValue) -> override if prefer on handling - - postProcess: false, // string or array of postProcessor names - returnNull: true, // allows null value as valid translation - returnEmptyString: true, // allows empty string value as valid translation - returnObjects: false, - joinArrays: false, // or string to join array - returnedObjectHandler: function returnedObjectHandler() {}, // function(key, value, options) triggered if key returns object but returnObjects is set to false - parseMissingKeyHandler: false, // function(key) parsed a key that was not found in t() before returning - appendNamespaceToMissingKey: false, - overloadTranslationOptionHandler: function overloadTranslationOptionHandler(args) { - return { defaultValue: args[1] }; - }, - - interpolation: { - escapeValue: true, - format: function format(value, _format, lng) { - return value; - }, - prefix: '{{', - suffix: '}}', - formatSeparator: ',', - // prefixEscaped: '{{', - // suffixEscaped: '}}', - // unescapeSuffix: '', - unescapePrefix: '-', - - nestingPrefix: '$t(', - nestingSuffix: ')', - // nestingPrefixEscaped: '$t(', - // nestingSuffixEscaped: ')', - defaultVariables: undefined // object that can have values to interpolate on - extends passed in interpolation data - } - }; -} - -export function transformOptions(options) { - // create namespace object if namespace is passed in as string - if (typeof options.ns === 'string') options.ns = [options.ns]; - if (typeof options.fallbackLng === 'string') options.fallbackLng = [options.fallbackLng]; - if (typeof options.fallbackNS === 'string') options.fallbackNS = [options.fallbackNS]; - - // extend whitelist with cimode - if (options.whitelist && options.whitelist.indexOf('cimode') < 0) options.whitelist.push('cimode'); - - return options; -} \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/i18next.js b/src/node_modules/i18next/dist/es/i18next.js deleted file mode 100644 index e254345..0000000 --- a/src/node_modules/i18next/dist/es/i18next.js +++ /dev/null @@ -1,359 +0,0 @@ -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); } - -import baseLogger from './logger'; -import EventEmitter from './EventEmitter'; -import ResourceStore from './ResourceStore'; -import Translator from './Translator'; -import LanguageUtils from './LanguageUtils'; -import PluralResolver from './PluralResolver'; -import Interpolator from './Interpolator'; -import BackendConnector from './BackendConnector'; -import CacheConnector from './CacheConnector'; -import { get as getDefaults, transformOptions } from './defaults'; -import postProcessor from './postProcessor'; - -import * as compat from './compatibility/v1'; - -var I18n = function (_EventEmitter) { - _inherits(I18n, _EventEmitter); - - function I18n() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - - _classCallCheck(this, I18n); - - var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.options = transformOptions(options); - _this.services = {}; - _this.logger = baseLogger; - _this.modules = {}; - - if (callback && !_this.isInitialized) _this.init(options, callback); - return _this; - } - - I18n.prototype.init = function init(options, callback) { - var _this2 = this; - - if (typeof options === 'function') { - callback = options; - options = {}; - } - if (!options) options = {}; - - if (options.compatibilityAPI === 'v1') { - this.options = _extends({}, getDefaults(), transformOptions(compat.convertAPIOptions(options)), {}); - } else if (options.compatibilityJSON === 'v1') { - this.options = _extends({}, getDefaults(), transformOptions(compat.convertJSONOptions(options)), {}); - } else { - this.options = _extends({}, getDefaults(), this.options, transformOptions(options)); - } - if (!callback) callback = function callback() {}; - - function createClassOnDemand(ClassOrObject) { - if (!ClassOrObject) return; - if (typeof ClassOrObject === 'function') return new ClassOrObject(); - return ClassOrObject; - } - - // init services - if (!this.options.isClone) { - if (this.modules.logger) { - baseLogger.init(createClassOnDemand(this.modules.logger), this.options); - } else { - baseLogger.init(null, this.options); - } - - var lu = new LanguageUtils(this.options); - this.store = new ResourceStore(this.options.resources, this.options); - - var s = this.services; - s.logger = baseLogger; - s.resourceStore = this.store; - s.resourceStore.on('added removed', function (lng, ns) { - s.cacheConnector.save(); - }); - s.languageUtils = lu; - s.pluralResolver = new PluralResolver(lu, { prepend: this.options.pluralSeparator, compatibilityJSON: this.options.compatibilityJSON }); - s.interpolator = new Interpolator(this.options); - - s.backendConnector = new BackendConnector(createClassOnDemand(this.modules.backend), s.resourceStore, s, this.options); - // pipe events from backendConnector - s.backendConnector.on('*', function (event) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - - s.backendConnector.on('loaded', function (loaded) { - s.cacheConnector.save(); - }); - - s.cacheConnector = new CacheConnector(createClassOnDemand(this.modules.cache), s.resourceStore, s, this.options); - // pipe events from backendConnector - s.cacheConnector.on('*', function (event) { - for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - args[_key2 - 1] = arguments[_key2]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - - if (this.modules.languageDetector) { - s.languageDetector = createClassOnDemand(this.modules.languageDetector); - s.languageDetector.init(s, this.options.detection, this.options); - } - - this.translator = new Translator(this.services, this.options); - // pipe events from translator - this.translator.on('*', function (event) { - for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) { - args[_key3 - 1] = arguments[_key3]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - } - - // append api - var storeApi = ['getResource', 'addResource', 'addResources', 'addResourceBundle', 'removeResourceBundle', 'hasResourceBundle', 'getResourceBundle']; - storeApi.forEach(function (fcName) { - _this2[fcName] = function () { - return this.store[fcName].apply(this.store, arguments); - }; - }); - - // TODO: COMPATIBILITY remove this - if (this.options.compatibilityAPI === 'v1') compat.appendBackwardsAPI(this); - - var load = function load() { - _this2.changeLanguage(_this2.options.lng, function (err, t) { - _this2.emit('initialized', _this2.options); - _this2.logger.log('initialized', _this2.options); - - callback(err, t); - }); - }; - - if (this.options.resources || !this.options.initImmediate) { - load(); - } else { - setTimeout(load, 0); - } - - return this; - }; - - I18n.prototype.loadResources = function loadResources(callback) { - var _this3 = this; - - if (!callback) callback = function callback() {}; - - if (!this.options.resources) { - var _ret = function () { - if (_this3.language && _this3.language.toLowerCase() === 'cimode') return { - v: callback() - }; // avoid loading resources for cimode - - var toLoad = []; - - var append = function append(lng) { - var lngs = _this3.services.languageUtils.toResolveHierarchy(lng); - lngs.forEach(function (l) { - if (toLoad.indexOf(l) < 0) toLoad.push(l); - }); - }; - - append(_this3.language); - - if (_this3.options.preload) { - _this3.options.preload.forEach(function (l) { - append(l); - }); - } - - _this3.services.cacheConnector.load(toLoad, _this3.options.ns, function () { - _this3.services.backendConnector.load(toLoad, _this3.options.ns, callback); - }); - }(); - - if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; - } else { - callback(null); - } - }; - - I18n.prototype.reloadResources = function reloadResources(lngs, ns) { - if (!lngs) lngs = this.languages; - if (!ns) ns = this.options.ns; - this.services.backendConnector.reload(lngs, ns); - }; - - I18n.prototype.use = function use(module) { - if (module.type === 'backend') { - this.modules.backend = module; - } - - if (module.type === 'cache') { - this.modules.cache = module; - } - - if (module.type === 'logger' || module.log && module.warn && module.warn) { - this.modules.logger = module; - } - - if (module.type === 'languageDetector') { - this.modules.languageDetector = module; - } - - if (module.type === 'postProcessor') { - postProcessor.addPostProcessor(module); - } - - return this; - }; - - I18n.prototype.changeLanguage = function changeLanguage(lng, callback) { - var _this4 = this; - - var done = function done(err) { - if (lng) { - _this4.emit('languageChanged', lng); - _this4.logger.log('languageChanged', lng); - } - - if (callback) callback(err, function () { - for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { - args[_key4] = arguments[_key4]; - } - - return _this4.t.apply(_this4, args); - }); - }; - - if (!lng && this.services.languageDetector) lng = this.services.languageDetector.detect(); - - if (lng) { - this.language = lng; - this.languages = this.services.languageUtils.toResolveHierarchy(lng); - - this.translator.changeLanguage(lng); - - if (this.services.languageDetector) this.services.languageDetector.cacheUserLanguage(lng); - } - - this.loadResources(function (err) { - done(err); - }); - }; - - I18n.prototype.getFixedT = function getFixedT(lng, ns) { - var _this5 = this; - - var fixedT = function fixedT(key, options) { - options = options || {}; - options.lng = options.lng || fixedT.lng; - options.ns = options.ns || fixedT.ns; - return _this5.t(key, options); - }; - fixedT.lng = lng; - fixedT.ns = ns; - return fixedT; - }; - - I18n.prototype.t = function t() { - return this.translator && this.translator.translate.apply(this.translator, arguments); - }; - - I18n.prototype.exists = function exists() { - return this.translator && this.translator.exists.apply(this.translator, arguments); - }; - - I18n.prototype.setDefaultNamespace = function setDefaultNamespace(ns) { - this.options.defaultNS = ns; - }; - - I18n.prototype.loadNamespaces = function loadNamespaces(ns, callback) { - var _this6 = this; - - if (!this.options.ns) return callback && callback(); - if (typeof ns === 'string') ns = [ns]; - - ns.forEach(function (n) { - if (_this6.options.ns.indexOf(n) < 0) _this6.options.ns.push(n); - }); - - this.loadResources(callback); - }; - - I18n.prototype.loadLanguages = function loadLanguages(lngs, callback) { - if (typeof lngs === 'string') lngs = [lngs]; - var preloaded = this.options.preload || []; - - var newLngs = lngs.filter(function (lng) { - return preloaded.indexOf(lng) < 0; - }); - // Exit early if all given languages are already preloaded - if (!newLngs.length) return callback(); - - this.options.preload = preloaded.concat(newLngs); - this.loadResources(callback); - }; - - I18n.prototype.dir = function dir(lng) { - if (!lng) lng = this.language; - if (!lng) return 'rtl'; - - var rtlLngs = ['ar', 'shu', 'sqr', 'ssh', 'xaa', 'yhd', 'yud', 'aao', 'abh', 'abv', 'acm', 'acq', 'acw', 'acx', 'acy', 'adf', 'ads', 'aeb', 'aec', 'afb', 'ajp', 'apc', 'apd', 'arb', 'arq', 'ars', 'ary', 'arz', 'auz', 'avl', 'ayh', 'ayl', 'ayn', 'ayp', 'bbz', 'pga', 'he', 'iw', 'ps', 'pbt', 'pbu', 'pst', 'prp', 'prd', 'ur', 'ydd', 'yds', 'yih', 'ji', 'yi', 'hbo', 'men', 'xmn', 'fa', 'jpr', 'peo', 'pes', 'prs', 'dv', 'sam']; - - return rtlLngs.indexOf(this.services.languageUtils.getLanguagePartFromCode(lng)) >= 0 ? 'rtl' : 'ltr'; - }; - - I18n.prototype.createInstance = function createInstance() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - - return new I18n(options, callback); - }; - - I18n.prototype.cloneInstance = function cloneInstance() { - var _this7 = this; - - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - - var clone = new I18n(_extends({}, options, this.options, { isClone: true }), callback); - var membersToCopy = ['store', 'services', 'language']; - membersToCopy.forEach(function (m) { - clone[m] = _this7[m]; - }); - clone.translator = new Translator(clone.services, clone.options); - clone.translator.on('*', function (event) { - for (var _len5 = arguments.length, args = Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) { - args[_key5 - 1] = arguments[_key5]; - } - - clone.emit.apply(clone, [event].concat(args)); - }); - - return clone; - }; - - return I18n; -}(EventEmitter); - -export default new I18n(); \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/index.js b/src/node_modules/i18next/dist/es/index.js deleted file mode 100644 index e0b9cc7..0000000 --- a/src/node_modules/i18next/dist/es/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import i18next from './i18next'; - -export default i18next; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/logger.js b/src/node_modules/i18next/dist/es/logger.js deleted file mode 100644 index 6fee1e6..0000000 --- a/src/node_modules/i18next/dist/es/logger.js +++ /dev/null @@ -1,86 +0,0 @@ -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var consoleLogger = { - type: 'logger', - - log: function log(args) { - this._output('log', args); - }, - warn: function warn(args) { - this._output('warn', args); - }, - error: function error(args) { - this._output('error', args); - }, - _output: function _output(type, args) { - if (console && console[type]) console[type].apply(console, Array.prototype.slice.call(args)); - } -}; - -var Logger = function () { - function Logger(concreteLogger) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - _classCallCheck(this, Logger); - - this.subs = []; - this.init(concreteLogger, options); - } - - Logger.prototype.init = function init(concreteLogger) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - this.prefix = options.prefix || 'i18next:'; - this.logger = concreteLogger || consoleLogger; - this.options = options; - this.debug = options.debug === false ? false : true; - }; - - Logger.prototype.setDebug = function setDebug(bool) { - this.debug = bool; - this.subs.forEach(function (sub) { - sub.setDebug(bool); - }); - }; - - Logger.prototype.log = function log() { - this.forward(arguments, 'log', '', true); - }; - - Logger.prototype.warn = function warn() { - this.forward(arguments, 'warn', '', true); - }; - - Logger.prototype.error = function error() { - this.forward(arguments, 'error', ''); - }; - - Logger.prototype.deprecate = function deprecate() { - this.forward(arguments, 'warn', 'WARNING DEPRECATED: ', true); - }; - - Logger.prototype.forward = function forward(args, lvl, prefix, debugOnly) { - if (debugOnly && !this.debug) return; - if (typeof args[0] === 'string') args[0] = prefix + this.prefix + ' ' + args[0]; - this.logger[lvl](args); - }; - - Logger.prototype.create = function create(moduleName) { - var sub = new Logger(this.logger, _extends({ prefix: this.prefix + ':' + moduleName + ':' }, this.options)); - this.subs.push(sub); - - return sub; - }; - - // createInstance(options = {}) { - // return new Logger(options, callback); - // } - - return Logger; -}(); - -; - -export default new Logger(); \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/postProcessor.js b/src/node_modules/i18next/dist/es/postProcessor.js deleted file mode 100644 index 5e5bc23..0000000 --- a/src/node_modules/i18next/dist/es/postProcessor.js +++ /dev/null @@ -1,17 +0,0 @@ -export default { - - processors: {}, - - addPostProcessor: function addPostProcessor(module) { - this.processors[module.name] = module; - }, - handle: function handle(processors, value, key, options, translator) { - var _this = this; - - processors.forEach(function (processor) { - if (_this.processors[processor]) value = _this.processors[processor].process(value, key, options, translator); - }); - - return value; - } -}; \ No newline at end of file diff --git a/src/node_modules/i18next/dist/es/utils.js b/src/node_modules/i18next/dist/es/utils.js deleted file mode 100644 index f523e21..0000000 --- a/src/node_modules/i18next/dist/es/utils.js +++ /dev/null @@ -1,98 +0,0 @@ -export function makeString(object) { - if (object == null) return ''; - return '' + object; -} - -export function copy(a, s, t) { - a.forEach(function (m) { - if (s[m]) t[m] = s[m]; - }); -} - -function getLastOfPath(object, path, Empty) { - function cleanKey(key) { - return key && key.indexOf('###') > -1 ? key.replace(/###/g, '.') : key; - } - - var stack = typeof path !== 'string' ? [].concat(path) : path.split('.'); - while (stack.length > 1) { - if (!object) return {}; - - var key = cleanKey(stack.shift()); - if (!object[key] && Empty) object[key] = new Empty(); - object = object[key]; - } - - if (!object) return {}; - return { - obj: object, - k: cleanKey(stack.shift()) - }; -} - -export function setPath(object, path, newValue) { - var _getLastOfPath = getLastOfPath(object, path, Object), - obj = _getLastOfPath.obj, - k = _getLastOfPath.k; - - obj[k] = newValue; -} - -export function pushPath(object, path, newValue, concat) { - var _getLastOfPath2 = getLastOfPath(object, path, Object), - obj = _getLastOfPath2.obj, - k = _getLastOfPath2.k; - - obj[k] = obj[k] || []; - if (concat) obj[k] = obj[k].concat(newValue); - if (!concat) obj[k].push(newValue); -} - -export function getPath(object, path) { - var _getLastOfPath3 = getLastOfPath(object, path), - obj = _getLastOfPath3.obj, - k = _getLastOfPath3.k; - - if (!obj) return undefined; - return obj[k]; -} - -export function deepExtend(target, source, overwrite) { - for (var prop in source) { - if (prop in target) { - // If we reached a leaf string in target or source then replace with source or skip depending on the 'overwrite' switch - if (typeof target[prop] === 'string' || target[prop] instanceof String || typeof source[prop] === 'string' || source[prop] instanceof String) { - if (overwrite) target[prop] = source[prop]; - } else { - deepExtend(target[prop], source[prop], overwrite); - } - } else { - target[prop] = source[prop]; - } - }return target; -} - -export function regexEscape(str) { - return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&'); -} - -/* eslint-disable */ -var _entityMap = { - "&": "&", - "<": "<", - ">": ">", - '"': '"', - "'": ''', - "/": '/' -}; -/* eslint-enable */ - -export function escape(data) { - if (typeof data === 'string') { - return data.replace(/[&<>"'\/]/g, function (s) { - return _entityMap[s]; - }); - } else { - return data; - } -} \ No newline at end of file diff --git a/src/node_modules/i18next/dist/umd/i18next.js b/src/node_modules/i18next/dist/umd/i18next.js deleted file mode 100644 index b47940d..0000000 --- a/src/node_modules/i18next/dist/umd/i18next.js +++ /dev/null @@ -1,2264 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global.i18next = factory()); -}(this, (function () { 'use strict'; - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { - return typeof obj; -} : function (obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; -}; - - - - - -var asyncGenerator = function () { - function AwaitValue(value) { - this.value = value; - } - - function AsyncGenerator(gen) { - var front, back; - - function send(key, arg) { - return new Promise(function (resolve, reject) { - var request = { - key: key, - arg: arg, - resolve: resolve, - reject: reject, - next: null - }; - - if (back) { - back = back.next = request; - } else { - front = back = request; - resume(key, arg); - } - }); - } - - function resume(key, arg) { - try { - var result = gen[key](arg); - var value = result.value; - - if (value instanceof AwaitValue) { - Promise.resolve(value.value).then(function (arg) { - resume("next", arg); - }, function (arg) { - resume("throw", arg); - }); - } else { - settle(result.done ? "return" : "normal", result.value); - } - } catch (err) { - settle("throw", err); - } - } - - function settle(type, value) { - switch (type) { - case "return": - front.resolve({ - value: value, - done: true - }); - break; - - case "throw": - front.reject(value); - break; - - default: - front.resolve({ - value: value, - done: false - }); - break; - } - - front = front.next; - - if (front) { - resume(front.key, front.arg); - } else { - back = null; - } - } - - this._invoke = send; - - if (typeof gen.return !== "function") { - this.return = undefined; - } - } - - if (typeof Symbol === "function" && Symbol.asyncIterator) { - AsyncGenerator.prototype[Symbol.asyncIterator] = function () { - return this; - }; - } - - AsyncGenerator.prototype.next = function (arg) { - return this._invoke("next", arg); - }; - - AsyncGenerator.prototype.throw = function (arg) { - return this._invoke("throw", arg); - }; - - AsyncGenerator.prototype.return = function (arg) { - return this._invoke("return", arg); - }; - - return { - wrap: function (fn) { - return function () { - return new AsyncGenerator(fn.apply(this, arguments)); - }; - }, - await: function (value) { - return new AwaitValue(value); - } - }; -}(); - - - - - -var classCallCheck = function (instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -}; - - - - - - - - - -var _extends = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - - return target; -}; - -var get = function get(object, property, receiver) { - if (object === null) object = Function.prototype; - var desc = Object.getOwnPropertyDescriptor(object, property); - - if (desc === undefined) { - var parent = Object.getPrototypeOf(object); - - if (parent === null) { - return undefined; - } else { - return get(parent, property, receiver); - } - } else if ("value" in desc) { - return desc.value; - } else { - var getter = desc.get; - - if (getter === undefined) { - return undefined; - } - - return getter.call(receiver); - } -}; - -var inherits = function (subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); - } - - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - enumerable: false, - writable: true, - configurable: true - } - }); - if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; -}; - - - - - - - - - - - -var possibleConstructorReturn = function (self, call) { - if (!self) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - - return call && (typeof call === "object" || typeof call === "function") ? call : self; -}; - - - -var set = function set(object, property, value, receiver) { - var desc = Object.getOwnPropertyDescriptor(object, property); - - if (desc === undefined) { - var parent = Object.getPrototypeOf(object); - - if (parent !== null) { - set(parent, property, value, receiver); - } - } else if ("value" in desc && desc.writable) { - desc.value = value; - } else { - var setter = desc.set; - - if (setter !== undefined) { - setter.call(receiver, value); - } - } - - return value; -}; - -var slicedToArray = function () { - function sliceIterator(arr, i) { - var _arr = []; - var _n = true; - var _d = false; - var _e = undefined; - - try { - for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { - try { - if (!_n && _i["return"]) _i["return"](); - } finally { - if (_d) throw _e; - } - } - - return _arr; - } - - return function (arr, i) { - if (Array.isArray(arr)) { - return arr; - } else if (Symbol.iterator in Object(arr)) { - return sliceIterator(arr, i); - } else { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); - } - }; -}(); - -var consoleLogger = { - type: 'logger', - - log: function log(args) { - this._output('log', args); - }, - warn: function warn(args) { - this._output('warn', args); - }, - error: function error(args) { - this._output('error', args); - }, - _output: function _output(type, args) { - if (console && console[type]) console[type].apply(console, Array.prototype.slice.call(args)); - } -}; - -var Logger = function () { - function Logger(concreteLogger) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - classCallCheck(this, Logger); - - this.subs = []; - this.init(concreteLogger, options); - } - - Logger.prototype.init = function init(concreteLogger) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - this.prefix = options.prefix || 'i18next:'; - this.logger = concreteLogger || consoleLogger; - this.options = options; - this.debug = options.debug === false ? false : true; - }; - - Logger.prototype.setDebug = function setDebug(bool) { - this.debug = bool; - this.subs.forEach(function (sub) { - sub.setDebug(bool); - }); - }; - - Logger.prototype.log = function log() { - this.forward(arguments, 'log', '', true); - }; - - Logger.prototype.warn = function warn() { - this.forward(arguments, 'warn', '', true); - }; - - Logger.prototype.error = function error() { - this.forward(arguments, 'error', ''); - }; - - Logger.prototype.deprecate = function deprecate() { - this.forward(arguments, 'warn', 'WARNING DEPRECATED: ', true); - }; - - Logger.prototype.forward = function forward(args, lvl, prefix, debugOnly) { - if (debugOnly && !this.debug) return; - if (typeof args[0] === 'string') args[0] = prefix + this.prefix + ' ' + args[0]; - this.logger[lvl](args); - }; - - Logger.prototype.create = function create(moduleName) { - var sub = new Logger(this.logger, _extends({ prefix: this.prefix + ':' + moduleName + ':' }, this.options)); - this.subs.push(sub); - - return sub; - }; - - // createInstance(options = {}) { - // return new Logger(options, callback); - // } - - return Logger; -}(); - - - -var baseLogger = new Logger(); - -var EventEmitter = function () { - function EventEmitter() { - classCallCheck(this, EventEmitter); - - this.observers = {}; - } - - EventEmitter.prototype.on = function on(events, listener) { - var _this = this; - - events.split(' ').forEach(function (event) { - _this.observers[event] = _this.observers[event] || []; - _this.observers[event].push(listener); - }); - }; - - EventEmitter.prototype.off = function off(event, listener) { - var _this2 = this; - - if (!this.observers[event]) { - return; - } - - this.observers[event].forEach(function () { - if (!listener) { - delete _this2.observers[event]; - } else { - var index = _this2.observers[event].indexOf(listener); - if (index > -1) { - _this2.observers[event].splice(index, 1); - } - } - }); - }; - - EventEmitter.prototype.emit = function emit(event) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - if (this.observers[event]) { - this.observers[event].forEach(function (observer) { - observer.apply(undefined, args); - }); - } - - if (this.observers['*']) { - this.observers['*'].forEach(function (observer) { - var _ref; - - observer.apply(observer, (_ref = [event]).concat.apply(_ref, args)); - }); - } - }; - - return EventEmitter; -}(); - -function makeString(object) { - if (object == null) return ''; - return '' + object; -} - -function copy(a, s, t) { - a.forEach(function (m) { - if (s[m]) t[m] = s[m]; - }); -} - -function getLastOfPath(object, path, Empty) { - function cleanKey(key) { - return key && key.indexOf('###') > -1 ? key.replace(/###/g, '.') : key; - } - - var stack = typeof path !== 'string' ? [].concat(path) : path.split('.'); - while (stack.length > 1) { - if (!object) return {}; - - var key = cleanKey(stack.shift()); - if (!object[key] && Empty) object[key] = new Empty(); - object = object[key]; - } - - if (!object) return {}; - return { - obj: object, - k: cleanKey(stack.shift()) - }; -} - -function setPath(object, path, newValue) { - var _getLastOfPath = getLastOfPath(object, path, Object), - obj = _getLastOfPath.obj, - k = _getLastOfPath.k; - - obj[k] = newValue; -} - -function pushPath(object, path, newValue, concat) { - var _getLastOfPath2 = getLastOfPath(object, path, Object), - obj = _getLastOfPath2.obj, - k = _getLastOfPath2.k; - - obj[k] = obj[k] || []; - if (concat) obj[k] = obj[k].concat(newValue); - if (!concat) obj[k].push(newValue); -} - -function getPath(object, path) { - var _getLastOfPath3 = getLastOfPath(object, path), - obj = _getLastOfPath3.obj, - k = _getLastOfPath3.k; - - if (!obj) return undefined; - return obj[k]; -} - -function deepExtend(target, source, overwrite) { - for (var prop in source) { - if (prop in target) { - // If we reached a leaf string in target or source then replace with source or skip depending on the 'overwrite' switch - if (typeof target[prop] === 'string' || target[prop] instanceof String || typeof source[prop] === 'string' || source[prop] instanceof String) { - if (overwrite) target[prop] = source[prop]; - } else { - deepExtend(target[prop], source[prop], overwrite); - } - } else { - target[prop] = source[prop]; - } - }return target; -} - -function regexEscape(str) { - return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&'); -} - -/* eslint-disable */ -var _entityMap = { - "&": "&", - "<": "<", - ">": ">", - '"': '"', - "'": ''', - "/": '/' -}; -/* eslint-enable */ - -function escape(data) { - if (typeof data === 'string') { - return data.replace(/[&<>"'\/]/g, function (s) { - return _entityMap[s]; - }); - } else { - return data; - } -} - -var ResourceStore = function (_EventEmitter) { - inherits(ResourceStore, _EventEmitter); - - function ResourceStore() { - var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { ns: ['translation'], defaultNS: 'translation' }; - classCallCheck(this, ResourceStore); - - var _this = possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.data = data; - _this.options = options; - return _this; - } - - ResourceStore.prototype.addNamespaces = function addNamespaces(ns) { - if (this.options.ns.indexOf(ns) < 0) { - this.options.ns.push(ns); - } - }; - - ResourceStore.prototype.removeNamespaces = function removeNamespaces(ns) { - var index = this.options.ns.indexOf(ns); - if (index > -1) { - this.options.ns.splice(index, 1); - } - }; - - ResourceStore.prototype.getResource = function getResource(lng, ns, key) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - var keySeparator = options.keySeparator || this.options.keySeparator; - if (keySeparator === undefined) keySeparator = '.'; - - var path = [lng, ns]; - if (key && typeof key !== 'string') path = path.concat(key); - if (key && typeof key === 'string') path = path.concat(keySeparator ? key.split(keySeparator) : key); - - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - } - - return getPath(this.data, path); - }; - - ResourceStore.prototype.addResource = function addResource(lng, ns, key, value) { - var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : { silent: false }; - - var keySeparator = this.options.keySeparator; - if (keySeparator === undefined) keySeparator = '.'; - - var path = [lng, ns]; - if (key) path = path.concat(keySeparator ? key.split(keySeparator) : key); - - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - value = ns; - ns = path[1]; - } - - this.addNamespaces(ns); - - setPath(this.data, path, value); - - if (!options.silent) this.emit('added', lng, ns, key, value); - }; - - ResourceStore.prototype.addResources = function addResources(lng, ns, resources) { - for (var m in resources) { - if (typeof resources[m] === 'string') this.addResource(lng, ns, m, resources[m], { silent: true }); - } - this.emit('added', lng, ns, resources); - }; - - ResourceStore.prototype.addResourceBundle = function addResourceBundle(lng, ns, resources, deep, overwrite) { - var path = [lng, ns]; - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - deep = resources; - resources = ns; - ns = path[1]; - } - - this.addNamespaces(ns); - - var pack = getPath(this.data, path) || {}; - - if (deep) { - deepExtend(pack, resources, overwrite); - } else { - pack = _extends({}, pack, resources); - } - - setPath(this.data, path, pack); - - this.emit('added', lng, ns, resources); - }; - - ResourceStore.prototype.removeResourceBundle = function removeResourceBundle(lng, ns) { - if (this.hasResourceBundle(lng, ns)) { - delete this.data[lng][ns]; - } - this.removeNamespaces(ns); - - this.emit('removed', lng, ns); - }; - - ResourceStore.prototype.hasResourceBundle = function hasResourceBundle(lng, ns) { - return this.getResource(lng, ns) !== undefined; - }; - - ResourceStore.prototype.getResourceBundle = function getResourceBundle(lng, ns) { - if (!ns) ns = this.options.defaultNS; - - // TODO: COMPATIBILITY remove extend in v2.1.0 - if (this.options.compatibilityAPI === 'v1') return _extends({}, this.getResource(lng, ns)); - - return this.getResource(lng, ns); - }; - - ResourceStore.prototype.toJSON = function toJSON() { - return this.data; - }; - - return ResourceStore; -}(EventEmitter); - -var postProcessor = { - - processors: {}, - - addPostProcessor: function addPostProcessor(module) { - this.processors[module.name] = module; - }, - handle: function handle(processors, value, key, options, translator) { - var _this = this; - - processors.forEach(function (processor) { - if (_this.processors[processor]) value = _this.processors[processor].process(value, key, options, translator); - }); - - return value; - } -}; - -function convertInterpolation(options) { - - options.interpolation = { - unescapeSuffix: 'HTML' - }; - - options.interpolation.prefix = options.interpolationPrefix || '__'; - options.interpolation.suffix = options.interpolationSuffix || '__'; - options.interpolation.escapeValue = options.escapeInterpolation || false; - - options.interpolation.nestingPrefix = options.reusePrefix || '$t('; - options.interpolation.nestingSuffix = options.reuseSuffix || ')'; - - return options; -} - -function convertAPIOptions(options) { - if (options.resStore) options.resources = options.resStore; - - if (options.ns && options.ns.defaultNs) { - options.defaultNS = options.ns.defaultNs; - options.ns = options.ns.namespaces; - } else { - options.defaultNS = options.ns || 'translation'; - } - - if (options.fallbackToDefaultNS && options.defaultNS) options.fallbackNS = options.defaultNS; - - options.saveMissing = options.sendMissing; - options.saveMissingTo = options.sendMissingTo || 'current'; - options.returnNull = options.fallbackOnNull ? false : true; - options.returnEmptyString = options.fallbackOnEmpty ? false : true; - options.returnObjects = options.returnObjectTrees; - options.joinArrays = '\n'; - - options.returnedObjectHandler = options.objectTreeKeyHandler; - options.parseMissingKeyHandler = options.parseMissingKey; - options.appendNamespaceToMissingKey = true; - - options.nsSeparator = options.nsseparator; - options.keySeparator = options.keyseparator; - - if (options.shortcutFunction === 'sprintf') { - options.overloadTranslationOptionHandler = function (args) { - var values = []; - - for (var i = 1; i < args.length; i++) { - values.push(args[i]); - } - - return { - postProcess: 'sprintf', - sprintf: values - }; - }; - } - - options.whitelist = options.lngWhitelist; - options.preload = options.preload; - if (options.load === 'current') options.load = 'currentOnly'; - if (options.load === 'unspecific') options.load = 'languageOnly'; - - // backend - options.backend = options.backend || {}; - options.backend.loadPath = options.resGetPath || 'locales/__lng__/__ns__.json'; - options.backend.addPath = options.resPostPath || 'locales/add/__lng__/__ns__'; - options.backend.allowMultiLoading = options.dynamicLoad; - - // cache - options.cache = options.cache || {}; - options.cache.prefix = 'res_'; - options.cache.expirationTime = 7 * 24 * 60 * 60 * 1000; - options.cache.enabled = options.useLocalStorage ? true : false; - - options = convertInterpolation(options); - if (options.defaultVariables) options.interpolation.defaultVariables = options.defaultVariables; - - // TODO: deprecation - // if (options.getAsync === false) throw deprecation error - - return options; -} - -function convertJSONOptions(options) { - options = convertInterpolation(options); - options.joinArrays = '\n'; - - return options; -} - -function convertTOptions(options) { - if (options.interpolationPrefix || options.interpolationSuffix || options.escapeInterpolation) { - options = convertInterpolation(options); - } - - options.nsSeparator = options.nsseparator; - options.keySeparator = options.keyseparator; - - options.returnObjects = options.returnObjectTrees; - - return options; -} - -function appendBackwardsAPI(i18n) { - i18n.lng = function () { - baseLogger.deprecate('i18next.lng() can be replaced by i18next.language for detected language or i18next.languages for languages ordered by translation lookup.'); - return i18n.services.languageUtils.toResolveHierarchy(i18n.language)[0]; - }; - - i18n.preload = function (lngs, cb) { - baseLogger.deprecate('i18next.preload() can be replaced with i18next.loadLanguages()'); - i18n.loadLanguages(lngs, cb); - }; - - i18n.setLng = function (lng, options, callback) { - baseLogger.deprecate('i18next.setLng() can be replaced with i18next.changeLanguage() or i18next.getFixedT() to get a translation function with fixed language or namespace.'); - if (typeof options === 'function') { - callback = options; - options = {}; - } - if (!options) options = {}; - - if (options.fixLng === true) { - if (callback) return callback(null, i18n.getFixedT(lng)); - } - - i18n.changeLanguage(lng, callback); - }; - - i18n.addPostProcessor = function (name, fc) { - baseLogger.deprecate('i18next.addPostProcessor() can be replaced by i18next.use({ type: \'postProcessor\', name: \'name\', process: fc })'); - i18n.use({ - type: 'postProcessor', - name: name, - process: fc - }); - }; -} - -var Translator = function (_EventEmitter) { - inherits(Translator, _EventEmitter); - - function Translator(services) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - classCallCheck(this, Translator); - - var _this = possibleConstructorReturn(this, _EventEmitter.call(this)); - - copy(['resourceStore', 'languageUtils', 'pluralResolver', 'interpolator', 'backendConnector'], services, _this); - - _this.options = options; - _this.logger = baseLogger.create('translator'); - return _this; - } - - Translator.prototype.changeLanguage = function changeLanguage(lng) { - if (lng) this.language = lng; - }; - - Translator.prototype.exists = function exists(key) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { interpolation: {} }; - - if (this.options.compatibilityAPI === 'v1') { - options = convertTOptions(options); - } - - return this.resolve(key, options) !== undefined; - }; - - Translator.prototype.extractFromKey = function extractFromKey(key, options) { - var nsSeparator = options.nsSeparator || this.options.nsSeparator; - if (nsSeparator === undefined) nsSeparator = ':'; - - var namespaces = options.ns || this.options.defaultNS; - if (nsSeparator && key.indexOf(nsSeparator) > -1) { - var parts = key.split(nsSeparator); - namespaces = parts[0]; - key = parts[1]; - } - if (typeof namespaces === 'string') namespaces = [namespaces]; - - return { - key: key, - namespaces: namespaces - }; - }; - - Translator.prototype.translate = function translate(keys) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) !== 'object') { - options = this.options.overloadTranslationOptionHandler(arguments); - } else if (this.options.compatibilityAPI === 'v1') { - options = convertTOptions(options); - } - - // non valid keys handling - if (keys === undefined || keys === null || keys === '') return ''; - if (typeof keys === 'number') keys = String(keys); - if (typeof keys === 'string') keys = [keys]; - - // return key on CIMode - var lng = options.lng || this.language; - if (lng && lng.toLowerCase() === 'cimode') return keys[keys.length - 1]; - - // separators - var keySeparator = options.keySeparator || this.options.keySeparator || '.'; - - // get namespace(s) - - var _extractFromKey = this.extractFromKey(keys[keys.length - 1], options), - key = _extractFromKey.key, - namespaces = _extractFromKey.namespaces; - - var namespace = namespaces[namespaces.length - 1]; - - // resolve from store - var res = this.resolve(keys, options); - - var resType = Object.prototype.toString.apply(res); - var noObject = ['[object Number]', '[object Function]', '[object RegExp]']; - var joinArrays = options.joinArrays !== undefined ? options.joinArrays : this.options.joinArrays; - - // object - if (res && typeof res !== 'string' && noObject.indexOf(resType) < 0 && !(joinArrays && resType === '[object Array]')) { - if (!options.returnObjects && !this.options.returnObjects) { - this.logger.warn('accessing an object - but returnObjects options is not enabled!'); - return this.options.returnedObjectHandler ? this.options.returnedObjectHandler(key, res, options) : 'key \'' + key + ' (' + this.language + ')\' returned an object instead of string.'; - } - - var copy$$1 = resType === '[object Array]' ? [] : {}; // apply child translation on a copy - - for (var m in res) { - copy$$1[m] = this.translate('' + key + keySeparator + m, _extends({ joinArrays: false, ns: namespaces }, options)); - } - res = copy$$1; - } - // array special treatment - else if (joinArrays && resType === '[object Array]') { - res = res.join(joinArrays); - if (res) res = this.extendTranslation(res, key, options); - } - // string, empty or null - else { - var usedDefault = false, - usedKey = false; - - // fallback value - if (!this.isValidLookup(res) && options.defaultValue !== undefined) { - usedDefault = true; - res = options.defaultValue; - } - if (!this.isValidLookup(res)) { - usedKey = true; - res = key; - } - - // save missing - if (usedKey || usedDefault) { - this.logger.log('missingKey', lng, namespace, key, res); - - var lngs = []; - var fallbackLngs = this.languageUtils.getFallbackCodes(this.options.fallbackLng, options.lng || this.language); - if (this.options.saveMissingTo === 'fallback' && fallbackLngs && fallbackLngs[0]) { - for (var i = 0; i < fallbackLngs.length; i++) { - lngs.push(fallbackLngs[i]); - } - } else if (this.options.saveMissingTo === 'all') { - lngs = this.languageUtils.toResolveHierarchy(options.lng || this.language); - } else { - //(this.options.saveMissingTo === 'current' || (this.options.saveMissingTo === 'fallback' && this.options.fallbackLng[0] === false) ) { - lngs.push(options.lng || this.language); - } - - if (this.options.saveMissing) { - if (this.options.missingKeyHandler) { - this.options.missingKeyHandler(lngs, namespace, key, res); - } else if (this.backendConnector && this.backendConnector.saveMissing) { - this.backendConnector.saveMissing(lngs, namespace, key, res); - } - } - - this.emit('missingKey', lngs, namespace, key, res); - } - - // extend - res = this.extendTranslation(res, key, options); - - // append namespace if still key - if (usedKey && res === key && this.options.appendNamespaceToMissingKey) res = namespace + ':' + key; - - // parseMissingKeyHandler - if (usedKey && this.options.parseMissingKeyHandler) res = this.options.parseMissingKeyHandler(res); - } - - // return - return res; - }; - - Translator.prototype.extendTranslation = function extendTranslation(res, key, options) { - var _this2 = this; - - if (options.interpolation) this.interpolator.init(_extends({}, options, { interpolation: _extends({}, this.options.interpolation, options.interpolation) })); - - // interpolate - var data = options.replace && typeof options.replace !== 'string' ? options.replace : options; - if (this.options.interpolation.defaultVariables) data = _extends({}, this.options.interpolation.defaultVariables, data); - res = this.interpolator.interpolate(res, data, this.language); - - // nesting - res = this.interpolator.nest(res, function () { - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - return _this2.translate.apply(_this2, args); - }, options); - - if (options.interpolation) this.interpolator.reset(); - - // post process - var postProcess = options.postProcess || this.options.postProcess; - var postProcessorNames = typeof postProcess === 'string' ? [postProcess] : postProcess; - - if (res !== undefined && postProcessorNames && postProcessorNames.length && options.applyPostProcessor !== false) { - res = postProcessor.handle(postProcessorNames, res, key, options, this); - } - - return res; - }; - - Translator.prototype.resolve = function resolve(keys) { - var _this3 = this; - - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - var found = void 0; - - if (typeof keys === 'string') keys = [keys]; - - // forEach possible key - keys.forEach(function (k) { - if (_this3.isValidLookup(found)) return; - - var _extractFromKey2 = _this3.extractFromKey(k, options), - key = _extractFromKey2.key, - namespaces = _extractFromKey2.namespaces; - - if (_this3.options.fallbackNS) namespaces = namespaces.concat(_this3.options.fallbackNS); - - var needsPluralHandling = options.count !== undefined && typeof options.count !== 'string'; - var needsContextHandling = options.context !== undefined && typeof options.context === 'string' && options.context !== ''; - - var codes = options.lngs ? options.lngs : _this3.languageUtils.toResolveHierarchy(options.lng || _this3.language); - - namespaces.forEach(function (ns) { - if (_this3.isValidLookup(found)) return; - - codes.forEach(function (code) { - if (_this3.isValidLookup(found)) return; - - var finalKey = key; - var finalKeys = [finalKey]; - - var pluralSuffix = void 0; - if (needsPluralHandling) pluralSuffix = _this3.pluralResolver.getSuffix(code, options.count); - - // fallback for plural if context not found - if (needsPluralHandling && needsContextHandling) finalKeys.push(finalKey + pluralSuffix); - - // get key for context if needed - if (needsContextHandling) finalKeys.push(finalKey += '' + _this3.options.contextSeparator + options.context); - - // get key for plural if needed - if (needsPluralHandling) finalKeys.push(finalKey += pluralSuffix); - - // iterate over finalKeys starting with most specific pluralkey (-> contextkey only) -> singularkey only - var possibleKey = void 0; - while (possibleKey = finalKeys.pop()) { - if (_this3.isValidLookup(found)) continue; - found = _this3.getResource(code, ns, possibleKey, options); - } - }); - }); - }); - - return found; - }; - - Translator.prototype.isValidLookup = function isValidLookup(res) { - return res !== undefined && !(!this.options.returnNull && res === null) && !(!this.options.returnEmptyString && res === ''); - }; - - Translator.prototype.getResource = function getResource(code, ns, key) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - return this.resourceStore.getResource(code, ns, key, options); - }; - - return Translator; -}(EventEmitter); - -function capitalize(string) { - return string.charAt(0).toUpperCase() + string.slice(1); -} - -var LanguageUtil = function () { - function LanguageUtil(options) { - classCallCheck(this, LanguageUtil); - - this.options = options; - - this.whitelist = this.options.whitelist || false; - this.logger = baseLogger.create('languageUtils'); - } - - LanguageUtil.prototype.getLanguagePartFromCode = function getLanguagePartFromCode(code) { - if (code.indexOf('-') < 0) return code; - - var specialCases = ['NB-NO', 'NN-NO', 'nb-NO', 'nn-NO', 'nb-no', 'nn-no']; - var p = code.split('-'); - return this.formatLanguageCode(specialCases.indexOf(code) > -1 ? p[1].toLowerCase() : p[0]); - }; - - LanguageUtil.prototype.getScriptPartFromCode = function getScriptPartFromCode(code) { - if (code.indexOf('-') < 0) return null; - - var p = code.split('-'); - if (p.length === 2) return null; - p.pop(); - return this.formatLanguageCode(p.join('-')); - }; - - LanguageUtil.prototype.getLanguagePartFromCode = function getLanguagePartFromCode(code) { - if (code.indexOf('-') < 0) return code; - - var specialCases = ['NB-NO', 'NN-NO', 'nb-NO', 'nn-NO', 'nb-no', 'nn-no']; - var p = code.split('-'); - return this.formatLanguageCode(specialCases.indexOf(code) > -1 ? p[1].toLowerCase() : p[0]); - }; - - LanguageUtil.prototype.formatLanguageCode = function formatLanguageCode(code) { - // http://www.iana.org/assignments/language-tags/language-tags.xhtml - if (typeof code === 'string' && code.indexOf('-') > -1) { - var specialCases = ['hans', 'hant', 'latn', 'cyrl', 'cans', 'mong', 'arab']; - var p = code.split('-'); - - if (this.options.lowerCaseLng) { - p = p.map(function (part) { - return part.toLowerCase(); - }); - } else if (p.length === 2) { - p[0] = p[0].toLowerCase(); - p[1] = p[1].toUpperCase(); - - if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase()); - } else if (p.length === 3) { - p[0] = p[0].toLowerCase(); - - // if lenght 2 guess it's a country - if (p[1].length === 2) p[1] = p[1].toUpperCase(); - if (p[0] !== 'sgn' && p[2].length === 2) p[2] = p[2].toUpperCase(); - - if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase()); - if (specialCases.indexOf(p[2].toLowerCase()) > -1) p[2] = capitalize(p[2].toLowerCase()); - } - - return p.join('-'); - } else { - return this.options.cleanCode || this.options.lowerCaseLng ? code.toLowerCase() : code; - } - }; - - LanguageUtil.prototype.isWhitelisted = function isWhitelisted(code, exactMatch) { - if (this.options.load === 'languageOnly' || this.options.nonExplicitWhitelist && !exactMatch) { - code = this.getLanguagePartFromCode(code); - } - return !this.whitelist || !this.whitelist.length || this.whitelist.indexOf(code) > -1 ? true : false; - }; - - LanguageUtil.prototype.getFallbackCodes = function getFallbackCodes(fallbacks, code) { - if (!fallbacks) return []; - if (typeof fallbacks === 'string') fallbacks = [fallbacks]; - if (Object.prototype.toString.apply(fallbacks) === '[object Array]') return fallbacks; - - // asume we have an object defining fallbacks - var found = fallbacks[code]; - if (!found) found = fallbacks[this.getScriptPartFromCode(code)]; - if (!found) found = fallbacks[this.formatLanguageCode(code)]; - if (!found) found = fallbacks.default; - - return found || []; - }; - - LanguageUtil.prototype.toResolveHierarchy = function toResolveHierarchy(code, fallbackCode) { - var _this = this; - - var fallbackCodes = this.getFallbackCodes(fallbackCode || this.options.fallbackLng || [], code); - - var codes = []; - var addCode = function addCode(code) { - var exactMatch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - - if (!code) return; - if (_this.isWhitelisted(code, exactMatch)) { - codes.push(code); - } else { - _this.logger.warn('rejecting non-whitelisted language code: ' + code); - } - }; - - if (typeof code === 'string' && code.indexOf('-') > -1) { - if (this.options.load !== 'languageOnly') addCode(this.formatLanguageCode(code), true); - if (this.options.load !== 'languageOnly' && this.options.load !== 'currentOnly') addCode(this.getScriptPartFromCode(code), true); - if (this.options.load !== 'currentOnly') addCode(this.getLanguagePartFromCode(code)); - } else if (typeof code === 'string') { - addCode(this.formatLanguageCode(code)); - } - - fallbackCodes.forEach(function (fc) { - if (codes.indexOf(fc) < 0) addCode(_this.formatLanguageCode(fc)); - }); - - return codes; - }; - - return LanguageUtil; -}(); - -// definition http://translate.sourceforge.net/wiki/l10n/pluralforms -/* eslint-disable */ -var sets = [{ lngs: ['ach', 'ak', 'am', 'arn', 'br', 'fil', 'gun', 'ln', 'mfe', 'mg', 'mi', 'oc', 'tg', 'ti', 'tr', 'uz', 'wa'], nr: [1, 2], fc: 1 }, { lngs: ['af', 'an', 'ast', 'az', 'bg', 'bn', 'ca', 'da', 'de', 'dev', 'el', 'en', 'eo', 'es', 'es_ar', 'et', 'eu', 'fi', 'fo', 'fur', 'fy', 'gl', 'gu', 'ha', 'he', 'hi', 'hu', 'hy', 'ia', 'it', 'kn', 'ku', 'lb', 'mai', 'ml', 'mn', 'mr', 'nah', 'nap', 'nb', 'ne', 'nl', 'nn', 'no', 'nso', 'pa', 'pap', 'pms', 'ps', 'pt', 'pt_br', 'rm', 'sco', 'se', 'si', 'so', 'son', 'sq', 'sv', 'sw', 'ta', 'te', 'tk', 'ur', 'yo'], nr: [1, 2], fc: 2 }, { lngs: ['ay', 'bo', 'cgg', 'fa', 'id', 'ja', 'jbo', 'ka', 'kk', 'km', 'ko', 'ky', 'lo', 'ms', 'sah', 'su', 'th', 'tt', 'ug', 'vi', 'wo', 'zh'], nr: [1], fc: 3 }, { lngs: ['be', 'bs', 'dz', 'hr', 'ru', 'sr', 'uk'], nr: [1, 2, 5], fc: 4 }, { lngs: ['ar'], nr: [0, 1, 2, 3, 11, 100], fc: 5 }, { lngs: ['cs', 'sk'], nr: [1, 2, 5], fc: 6 }, { lngs: ['csb', 'pl'], nr: [1, 2, 5], fc: 7 }, { lngs: ['cy'], nr: [1, 2, 3, 8], fc: 8 }, { lngs: ['fr'], nr: [1, 2], fc: 9 }, { lngs: ['ga'], nr: [1, 2, 3, 7, 11], fc: 10 }, { lngs: ['gd'], nr: [1, 2, 3, 20], fc: 11 }, { lngs: ['is'], nr: [1, 2], fc: 12 }, { lngs: ['jv'], nr: [0, 1], fc: 13 }, { lngs: ['kw'], nr: [1, 2, 3, 4], fc: 14 }, { lngs: ['lt'], nr: [1, 2, 10], fc: 15 }, { lngs: ['lv'], nr: [1, 2, 0], fc: 16 }, { lngs: ['mk'], nr: [1, 2], fc: 17 }, { lngs: ['mnk'], nr: [0, 1, 2], fc: 18 }, { lngs: ['mt'], nr: [1, 2, 11, 20], fc: 19 }, { lngs: ['or'], nr: [2, 1], fc: 2 }, { lngs: ['ro'], nr: [1, 2, 20], fc: 20 }, { lngs: ['sl'], nr: [5, 1, 2, 3], fc: 21 }]; - -var _rulesPluralsTypes = { - 1: function _(n) { - return Number(n > 1); - }, - 2: function _(n) { - return Number(n != 1); - }, - 3: function _(n) { - return 0; - }, - 4: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 5: function _(n) { - return Number(n === 0 ? 0 : n == 1 ? 1 : n == 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5); - }, - 6: function _(n) { - return Number(n == 1 ? 0 : n >= 2 && n <= 4 ? 1 : 2); - }, - 7: function _(n) { - return Number(n == 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 8: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n != 8 && n != 11 ? 2 : 3); - }, - 9: function _(n) { - return Number(n >= 2); - }, - 10: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4); - }, - 11: function _(n) { - return Number(n == 1 || n == 11 ? 0 : n == 2 || n == 12 ? 1 : n > 2 && n < 20 ? 2 : 3); - }, - 12: function _(n) { - return Number(n % 10 != 1 || n % 100 == 11); - }, - 13: function _(n) { - return Number(n !== 0); - }, - 14: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n == 3 ? 2 : 3); - }, - 15: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 16: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n !== 0 ? 1 : 2); - }, - 17: function _(n) { - return Number(n == 1 || n % 10 == 1 ? 0 : 1); - }, - 18: function _(n) { - return Number(n == 0 ? 0 : n == 1 ? 1 : 2); - }, - 19: function _(n) { - return Number(n == 1 ? 0 : n === 0 || n % 100 > 1 && n % 100 < 11 ? 1 : n % 100 > 10 && n % 100 < 20 ? 2 : 3); - }, - 20: function _(n) { - return Number(n == 1 ? 0 : n === 0 || n % 100 > 0 && n % 100 < 20 ? 1 : 2); - }, - 21: function _(n) { - return Number(n % 100 == 1 ? 1 : n % 100 == 2 ? 2 : n % 100 == 3 || n % 100 == 4 ? 3 : 0); - } -}; -/* eslint-enable */ - -function createRules() { - var l, - rules = {}; - sets.forEach(function (set$$1) { - set$$1.lngs.forEach(function (l) { - return rules[l] = { - numbers: set$$1.nr, - plurals: _rulesPluralsTypes[set$$1.fc] - }; - }); - }); - return rules; -} - -var PluralResolver = function () { - function PluralResolver(languageUtils) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - classCallCheck(this, PluralResolver); - - this.languageUtils = languageUtils; - this.options = options; - - this.logger = baseLogger.create('pluralResolver'); - - this.rules = createRules(); - } - - PluralResolver.prototype.addRule = function addRule(lng, obj) { - this.rules[lng] = obj; - }; - - PluralResolver.prototype.getRule = function getRule(code) { - return this.rules[this.languageUtils.getLanguagePartFromCode(code)]; - }; - - PluralResolver.prototype.needsPlural = function needsPlural(code) { - var rule = this.getRule(code); - - return rule && rule.numbers.length <= 1 ? false : true; - }; - - PluralResolver.prototype.getSuffix = function getSuffix(code, count) { - var _this = this; - - var rule = this.getRule(code); - - if (rule) { - var _ret = function () { - if (rule.numbers.length === 1) return { - v: '' - }; // only singular - - var idx = rule.noAbs ? rule.plurals(count) : rule.plurals(Math.abs(count)); - var suffix = rule.numbers[idx]; - - // special treatment for lngs only having singular and plural - if (rule.numbers.length === 2 && rule.numbers[0] === 1) { - if (suffix === 2) { - suffix = 'plural'; - } else if (suffix === 1) { - suffix = ''; - } - } - - var returnSuffix = function returnSuffix() { - return _this.options.prepend && suffix.toString() ? _this.options.prepend + suffix.toString() : suffix.toString(); - }; - - // COMPATIBILITY JSON - // v1 - if (_this.options.compatibilityJSON === 'v1') { - if (suffix === 1) return { - v: '' - }; - if (typeof suffix === 'number') return { - v: '_plural_' + suffix.toString() - }; - return { - v: returnSuffix() - }; - } - // v2 - else if (_this.options.compatibilityJSON === 'v2' || rule.numbers.length === 2 && rule.numbers[0] === 1) { - return { - v: returnSuffix() - }; - } - // v3 - gettext index - else if (rule.numbers.length === 2 && rule.numbers[0] === 1) { - return { - v: returnSuffix() - }; - } - return { - v: _this.options.prepend && idx.toString() ? _this.options.prepend + idx.toString() : idx.toString() - }; - }(); - - if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; - } else { - this.logger.warn('no plural rule found for: ' + code); - return ''; - } - }; - - return PluralResolver; -}(); - -var Interpolator = function () { - function Interpolator() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - classCallCheck(this, Interpolator); - - this.logger = baseLogger.create('interpolator'); - - this.init(options, true); - } - - Interpolator.prototype.init = function init() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var reset = arguments[1]; - - if (reset) { - this.options = options; - this.format = options.interpolation && options.interpolation.format || function (value) { - return value; - }; - } - if (!options.interpolation) options.interpolation = { escapeValue: true }; - - var iOpts = options.interpolation; - - this.escapeValue = iOpts.escapeValue !== undefined ? iOpts.escapeValue : true; - - this.prefix = iOpts.prefix ? regexEscape(iOpts.prefix) : iOpts.prefixEscaped || '{{'; - this.suffix = iOpts.suffix ? regexEscape(iOpts.suffix) : iOpts.suffixEscaped || '}}'; - this.formatSeparator = iOpts.formatSeparator ? regexEscape(iOpts.formatSeparator) : iOpts.formatSeparator || ','; - - this.unescapePrefix = iOpts.unescapeSuffix ? '' : iOpts.unescapePrefix || '-'; - this.unescapeSuffix = this.unescapePrefix ? '' : iOpts.unescapeSuffix || ''; - - this.nestingPrefix = iOpts.nestingPrefix ? regexEscape(iOpts.nestingPrefix) : iOpts.nestingPrefixEscaped || regexEscape('$t('); - this.nestingSuffix = iOpts.nestingSuffix ? regexEscape(iOpts.nestingSuffix) : iOpts.nestingSuffixEscaped || regexEscape(')'); - - // the regexp - this.resetRegExp(); - }; - - Interpolator.prototype.reset = function reset() { - if (this.options) this.init(this.options); - }; - - Interpolator.prototype.resetRegExp = function resetRegExp() { - // the regexp - var regexpStr = this.prefix + '(.+?)' + this.suffix; - this.regexp = new RegExp(regexpStr, 'g'); - - var regexpUnescapeStr = this.prefix + this.unescapePrefix + '(.+?)' + this.unescapeSuffix + this.suffix; - this.regexpUnescape = new RegExp(regexpUnescapeStr, 'g'); - - var nestingRegexpStr = this.nestingPrefix + '(.+?)' + this.nestingSuffix; - this.nestingRegexp = new RegExp(nestingRegexpStr, 'g'); - }; - - Interpolator.prototype.interpolate = function interpolate(str, data, lng) { - var _this = this; - - var match = void 0, - value = void 0; - - function regexSafe(val) { - return val.replace(/\$/g, '$$$$'); - } - - var handleFormat = function handleFormat(key) { - if (key.indexOf(_this.formatSeparator) < 0) return getPath(data, key); - - var p = key.split(_this.formatSeparator); - var k = p.shift().trim(); - var f = p.join(_this.formatSeparator).trim(); - - return _this.format(getPath(data, k), f, lng); - }; - - this.resetRegExp(); - - // unescape if has unescapePrefix/Suffix - while (match = this.regexpUnescape.exec(str)) { - var _value = handleFormat(match[1].trim()); - str = str.replace(match[0], _value); - this.regexpUnescape.lastIndex = 0; - } - - // regular escape on demand - while (match = this.regexp.exec(str)) { - value = handleFormat(match[1].trim()); - if (typeof value !== 'string') value = makeString(value); - if (!value) { - this.logger.warn('missed to pass in variable ' + match[1] + ' for interpolating ' + str); - value = ''; - } - value = this.escapeValue ? regexSafe(escape(value)) : regexSafe(value); - str = str.replace(match[0], value); - this.regexp.lastIndex = 0; - } - return str; - }; - - Interpolator.prototype.nest = function nest(str, fc) { - var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - - var match = void 0, - value = void 0; - - var clonedOptions = JSON.parse(JSON.stringify(options)); - clonedOptions.applyPostProcessor = false; // avoid post processing on nested lookup - - function regexSafe(val) { - return val.replace(/\$/g, '$$$$'); - } - - // if value is something like "myKey": "lorem $(anotherKey, { "count": {{aValueInOptions}} })" - function handleHasOptions(key) { - if (key.indexOf(',') < 0) return key; - - var p = key.split(','); - key = p.shift(); - var optionsString = p.join(','); - optionsString = this.interpolate(optionsString, clonedOptions); - - try { - clonedOptions = JSON.parse(optionsString); - } catch (e) { - this.logger.error('failed parsing options string in nesting for key ' + key, e); - } - - return key; - } - - // regular escape on demand - while (match = this.nestingRegexp.exec(str)) { - value = fc(handleHasOptions.call(this, match[1].trim()), clonedOptions); - if (typeof value !== 'string') value = makeString(value); - if (!value) { - this.logger.warn('missed to pass in variable ' + match[1] + ' for interpolating ' + str); - value = ''; - } - value = this.escapeValue ? regexSafe(escape(value)) : regexSafe(value); - str = str.replace(match[0], value); - this.regexp.lastIndex = 0; - } - return str; - }; - - return Interpolator; -}(); - -function remove(arr, what) { - var found = arr.indexOf(what); - - while (found !== -1) { - arr.splice(found, 1); - found = arr.indexOf(what); - } -} - -var Connector = function (_EventEmitter) { - inherits(Connector, _EventEmitter); - - function Connector(backend, store, services) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - classCallCheck(this, Connector); - - var _this = possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.backend = backend; - _this.store = store; - _this.services = services; - _this.options = options; - _this.logger = baseLogger.create('backendConnector'); - - _this.state = {}; - _this.queue = []; - - _this.backend && _this.backend.init && _this.backend.init(services, options.backend, options); - return _this; - } - - Connector.prototype.queueLoad = function queueLoad(languages, namespaces, callback) { - var _this2 = this; - - // find what needs to be loaded - var toLoad = [], - pending = [], - toLoadLanguages = [], - toLoadNamespaces = []; - - languages.forEach(function (lng) { - var hasAllNamespaces = true; - - namespaces.forEach(function (ns) { - var name = lng + '|' + ns; - - if (_this2.store.hasResourceBundle(lng, ns)) { - _this2.state[name] = 2; // loaded - } else if (_this2.state[name] < 0) { - // nothing to do for err - } else if (_this2.state[name] === 1) { - if (pending.indexOf(name) < 0) pending.push(name); - } else { - _this2.state[name] = 1; // pending - - hasAllNamespaces = false; - - if (pending.indexOf(name) < 0) pending.push(name); - if (toLoad.indexOf(name) < 0) toLoad.push(name); - if (toLoadNamespaces.indexOf(ns) < 0) toLoadNamespaces.push(ns); - } - }); - - if (!hasAllNamespaces) toLoadLanguages.push(lng); - }); - - if (toLoad.length || pending.length) { - this.queue.push({ - pending: pending, - loaded: {}, - errors: [], - callback: callback - }); - } - - return { - toLoad: toLoad, - pending: pending, - toLoadLanguages: toLoadLanguages, - toLoadNamespaces: toLoadNamespaces - }; - }; - - Connector.prototype.loaded = function loaded(name, err, data) { - var _this3 = this; - - var _name$split = name.split('|'), - _name$split2 = slicedToArray(_name$split, 2), - lng = _name$split2[0], - ns = _name$split2[1]; - - if (err) this.emit('failedLoading', lng, ns, err); - - if (data) { - this.store.addResourceBundle(lng, ns, data); - } - - // set loaded - this.state[name] = err ? -1 : 2; - // callback if ready - this.queue.forEach(function (q) { - pushPath(q.loaded, [lng], ns); - remove(q.pending, name); - - if (err) q.errors.push(err); - - if (q.pending.length === 0 && !q.done) { - q.errors.length ? q.callback(q.errors) : q.callback(); - _this3.emit('loaded', q.loaded); - q.done = true; - } - }); - - // remove done load requests - this.queue = this.queue.filter(function (q) { - return !q.done; - }); - }; - - Connector.prototype.read = function read(lng, ns, fcName, tried, wait, callback) { - var _this4 = this; - - if (!tried) tried = 0; - if (!wait) wait = 250; - - if (!lng.length) return callback(null, {}); // noting to load - - this.backend[fcName](lng, ns, function (err, data) { - if (err && data /* = retryFlag */ && tried < 5) { - setTimeout(function () { - _this4.read.call(_this4, lng, ns, fcName, ++tried, wait * 2, callback); - }, wait); - return; - } - callback(err, data); - }); - }; - - Connector.prototype.load = function load(languages, namespaces, callback) { - var _this5 = this; - - if (!this.backend) { - this.logger.warn('No backend was added via i18next.use. Will not load resources.'); - return callback && callback(); - } - var options = _extends({}, this.backend.options, this.options.backend); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - var toLoad = this.queueLoad(languages, namespaces, callback); - if (!toLoad.toLoad.length) { - if (!toLoad.pending.length) callback(); // nothing to load and no pendings...callback now - return; // pendings will trigger callback - } - - // load with multi-load - if (options.allowMultiLoading && this.backend.readMulti) { - this.read(toLoad.toLoadLanguages, toLoad.toLoadNamespaces, 'readMulti', null, null, function (err, data) { - if (err) _this5.logger.warn('loading namespaces ' + toLoad.toLoadNamespaces.join(', ') + ' for languages ' + toLoad.toLoadLanguages.join(', ') + ' via multiloading failed', err); - if (!err && data) _this5.logger.log('loaded namespaces ' + toLoad.toLoadNamespaces.join(', ') + ' for languages ' + toLoad.toLoadLanguages.join(', ') + ' via multiloading', data); - - toLoad.toLoad.forEach(function (name) { - var _name$split3 = name.split('|'), - _name$split4 = slicedToArray(_name$split3, 2), - l = _name$split4[0], - n = _name$split4[1]; - - var bundle = getPath(data, [l, n]); - if (bundle) { - _this5.loaded(name, err, bundle); - } else { - var _err = 'loading namespace ' + n + ' for language ' + l + ' via multiloading failed'; - _this5.loaded(name, _err); - _this5.logger.error(_err); - } - }); - }); - } - - // load one by one - else { - (function () { - var readOne = function readOne(name) { - var _this6 = this; - - var _name$split5 = name.split('|'), - _name$split6 = slicedToArray(_name$split5, 2), - lng = _name$split6[0], - ns = _name$split6[1]; - - this.read(lng, ns, 'read', null, null, function (err, data) { - if (err) _this6.logger.warn('loading namespace ' + ns + ' for language ' + lng + ' failed', err); - if (!err && data) _this6.logger.log('loaded namespace ' + ns + ' for language ' + lng, data); - - _this6.loaded(name, err, data); - }); - }; - - - - toLoad.toLoad.forEach(function (name) { - readOne.call(_this5, name); - }); - })(); - } - }; - - Connector.prototype.reload = function reload(languages, namespaces) { - var _this7 = this; - - if (!this.backend) { - this.logger.warn('No backend was added via i18next.use. Will not load resources.'); - } - var options = _extends({}, this.backend.options, this.options.backend); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - // load with multi-load - if (options.allowMultiLoading && this.backend.readMulti) { - this.read(languages, namespaces, 'readMulti', null, null, function (err, data) { - if (err) _this7.logger.warn('reloading namespaces ' + namespaces.join(', ') + ' for languages ' + languages.join(', ') + ' via multiloading failed', err); - if (!err && data) _this7.logger.log('reloaded namespaces ' + namespaces.join(', ') + ' for languages ' + languages.join(', ') + ' via multiloading', data); - - languages.forEach(function (l) { - namespaces.forEach(function (n) { - var bundle = getPath(data, [l, n]); - if (bundle) { - _this7.loaded(l + '|' + n, err, bundle); - } else { - var _err2 = 'reloading namespace ' + n + ' for language ' + l + ' via multiloading failed'; - _this7.loaded(l + '|' + n, _err2); - _this7.logger.error(_err2); - } - }); - }); - }); - } - - // load one by one - else { - (function () { - var readOne = function readOne(name) { - var _this8 = this; - - var _name$split7 = name.split('|'), - _name$split8 = slicedToArray(_name$split7, 2), - lng = _name$split8[0], - ns = _name$split8[1]; - - this.read(lng, ns, 'read', null, null, function (err, data) { - if (err) _this8.logger.warn('reloading namespace ' + ns + ' for language ' + lng + ' failed', err); - if (!err && data) _this8.logger.log('reloaded namespace ' + ns + ' for language ' + lng, data); - - _this8.loaded(name, err, data); - }); - }; - - - - languages.forEach(function (l) { - namespaces.forEach(function (n) { - readOne.call(_this7, l + '|' + n); - }); - }); - })(); - } - }; - - Connector.prototype.saveMissing = function saveMissing(languages, namespace, key, fallbackValue) { - if (this.backend && this.backend.create) this.backend.create(languages, namespace, key, fallbackValue); - - // write to store to avoid resending - if (!languages || !languages[0]) return; - this.store.addResource(languages[0], namespace, key, fallbackValue); - }; - - return Connector; -}(EventEmitter); - -var Connector$1 = function (_EventEmitter) { - inherits(Connector, _EventEmitter); - - function Connector(cache, store, services) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - classCallCheck(this, Connector); - - var _this = possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.cache = cache; - _this.store = store; - _this.services = services; - _this.options = options; - _this.logger = baseLogger.create('cacheConnector'); - - _this.cache && _this.cache.init && _this.cache.init(services, options.cache, options); - return _this; - } - - Connector.prototype.load = function load(languages, namespaces, callback) { - var _this2 = this; - - if (!this.cache) return callback && callback(); - var options = _extends({}, this.cache.options, this.options.cache); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - if (options.enabled) { - this.cache.load(languages, function (err, data) { - if (err) _this2.logger.error('loading languages ' + languages.join(', ') + ' from cache failed', err); - if (data) { - for (var l in data) { - for (var n in data[l]) { - if (n === 'i18nStamp') continue; - var bundle = data[l][n]; - if (bundle) _this2.store.addResourceBundle(l, n, bundle); - } - } - } - if (callback) callback(); - }); - } else { - if (callback) callback(); - } - }; - - Connector.prototype.save = function save() { - if (this.cache && this.options.cache && this.options.cache.enabled) this.cache.save(this.store.data); - }; - - return Connector; -}(EventEmitter); - -function get$1() { - return { - debug: false, - initImmediate: true, - - ns: ['translation'], - defaultNS: ['translation'], - fallbackLng: ['dev'], - fallbackNS: false, // string or array of namespaces - - whitelist: false, // array with whitelisted languages - nonExplicitWhitelist: false, - load: 'all', // | currentOnly | languageOnly - preload: false, // array with preload languages - - keySeparator: '.', - nsSeparator: ':', - pluralSeparator: '_', - contextSeparator: '_', - - saveMissing: false, // enable to send missing values - saveMissingTo: 'fallback', // 'current' || 'all' - missingKeyHandler: false, // function(lng, ns, key, fallbackValue) -> override if prefer on handling - - postProcess: false, // string or array of postProcessor names - returnNull: true, // allows null value as valid translation - returnEmptyString: true, // allows empty string value as valid translation - returnObjects: false, - joinArrays: false, // or string to join array - returnedObjectHandler: function returnedObjectHandler() {}, // function(key, value, options) triggered if key returns object but returnObjects is set to false - parseMissingKeyHandler: false, // function(key) parsed a key that was not found in t() before returning - appendNamespaceToMissingKey: false, - overloadTranslationOptionHandler: function overloadTranslationOptionHandler(args) { - return { defaultValue: args[1] }; - }, - - interpolation: { - escapeValue: true, - format: function format(value, _format, lng) { - return value; - }, - prefix: '{{', - suffix: '}}', - formatSeparator: ',', - // prefixEscaped: '{{', - // suffixEscaped: '}}', - // unescapeSuffix: '', - unescapePrefix: '-', - - nestingPrefix: '$t(', - nestingSuffix: ')', - // nestingPrefixEscaped: '$t(', - // nestingSuffixEscaped: ')', - defaultVariables: undefined // object that can have values to interpolate on - extends passed in interpolation data - } - }; -} - -function transformOptions(options) { - // create namespace object if namespace is passed in as string - if (typeof options.ns === 'string') options.ns = [options.ns]; - if (typeof options.fallbackLng === 'string') options.fallbackLng = [options.fallbackLng]; - if (typeof options.fallbackNS === 'string') options.fallbackNS = [options.fallbackNS]; - - // extend whitelist with cimode - if (options.whitelist && options.whitelist.indexOf('cimode') < 0) options.whitelist.push('cimode'); - - return options; -} - -var I18n = function (_EventEmitter) { - inherits(I18n, _EventEmitter); - - function I18n() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - classCallCheck(this, I18n); - - var _this = possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.options = transformOptions(options); - _this.services = {}; - _this.logger = baseLogger; - _this.modules = {}; - - if (callback && !_this.isInitialized) _this.init(options, callback); - return _this; - } - - I18n.prototype.init = function init(options, callback) { - var _this2 = this; - - if (typeof options === 'function') { - callback = options; - options = {}; - } - if (!options) options = {}; - - if (options.compatibilityAPI === 'v1') { - this.options = _extends({}, get$1(), transformOptions(convertAPIOptions(options)), {}); - } else if (options.compatibilityJSON === 'v1') { - this.options = _extends({}, get$1(), transformOptions(convertJSONOptions(options)), {}); - } else { - this.options = _extends({}, get$1(), this.options, transformOptions(options)); - } - if (!callback) callback = function callback() {}; - - function createClassOnDemand(ClassOrObject) { - if (!ClassOrObject) return; - if (typeof ClassOrObject === 'function') return new ClassOrObject(); - return ClassOrObject; - } - - // init services - if (!this.options.isClone) { - if (this.modules.logger) { - baseLogger.init(createClassOnDemand(this.modules.logger), this.options); - } else { - baseLogger.init(null, this.options); - } - - var lu = new LanguageUtil(this.options); - this.store = new ResourceStore(this.options.resources, this.options); - - var s = this.services; - s.logger = baseLogger; - s.resourceStore = this.store; - s.resourceStore.on('added removed', function (lng, ns) { - s.cacheConnector.save(); - }); - s.languageUtils = lu; - s.pluralResolver = new PluralResolver(lu, { prepend: this.options.pluralSeparator, compatibilityJSON: this.options.compatibilityJSON }); - s.interpolator = new Interpolator(this.options); - - s.backendConnector = new Connector(createClassOnDemand(this.modules.backend), s.resourceStore, s, this.options); - // pipe events from backendConnector - s.backendConnector.on('*', function (event) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - - s.backendConnector.on('loaded', function (loaded) { - s.cacheConnector.save(); - }); - - s.cacheConnector = new Connector$1(createClassOnDemand(this.modules.cache), s.resourceStore, s, this.options); - // pipe events from backendConnector - s.cacheConnector.on('*', function (event) { - for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - args[_key2 - 1] = arguments[_key2]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - - if (this.modules.languageDetector) { - s.languageDetector = createClassOnDemand(this.modules.languageDetector); - s.languageDetector.init(s, this.options.detection, this.options); - } - - this.translator = new Translator(this.services, this.options); - // pipe events from translator - this.translator.on('*', function (event) { - for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) { - args[_key3 - 1] = arguments[_key3]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - } - - // append api - var storeApi = ['getResource', 'addResource', 'addResources', 'addResourceBundle', 'removeResourceBundle', 'hasResourceBundle', 'getResourceBundle']; - storeApi.forEach(function (fcName) { - _this2[fcName] = function () { - return this.store[fcName].apply(this.store, arguments); - }; - }); - - // TODO: COMPATIBILITY remove this - if (this.options.compatibilityAPI === 'v1') appendBackwardsAPI(this); - - var load = function load() { - _this2.changeLanguage(_this2.options.lng, function (err, t) { - _this2.emit('initialized', _this2.options); - _this2.logger.log('initialized', _this2.options); - - callback(err, t); - }); - }; - - if (this.options.resources || !this.options.initImmediate) { - load(); - } else { - setTimeout(load, 0); - } - - return this; - }; - - I18n.prototype.loadResources = function loadResources(callback) { - var _this3 = this; - - if (!callback) callback = function callback() {}; - - if (!this.options.resources) { - var _ret = function () { - if (_this3.language && _this3.language.toLowerCase() === 'cimode') return { - v: callback() - }; // avoid loading resources for cimode - - var toLoad = []; - - var append = function append(lng) { - var lngs = _this3.services.languageUtils.toResolveHierarchy(lng); - lngs.forEach(function (l) { - if (toLoad.indexOf(l) < 0) toLoad.push(l); - }); - }; - - append(_this3.language); - - if (_this3.options.preload) { - _this3.options.preload.forEach(function (l) { - append(l); - }); - } - - _this3.services.cacheConnector.load(toLoad, _this3.options.ns, function () { - _this3.services.backendConnector.load(toLoad, _this3.options.ns, callback); - }); - }(); - - if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; - } else { - callback(null); - } - }; - - I18n.prototype.reloadResources = function reloadResources(lngs, ns) { - if (!lngs) lngs = this.languages; - if (!ns) ns = this.options.ns; - this.services.backendConnector.reload(lngs, ns); - }; - - I18n.prototype.use = function use(module) { - if (module.type === 'backend') { - this.modules.backend = module; - } - - if (module.type === 'cache') { - this.modules.cache = module; - } - - if (module.type === 'logger' || module.log && module.warn && module.warn) { - this.modules.logger = module; - } - - if (module.type === 'languageDetector') { - this.modules.languageDetector = module; - } - - if (module.type === 'postProcessor') { - postProcessor.addPostProcessor(module); - } - - return this; - }; - - I18n.prototype.changeLanguage = function changeLanguage(lng, callback) { - var _this4 = this; - - var done = function done(err) { - if (lng) { - _this4.emit('languageChanged', lng); - _this4.logger.log('languageChanged', lng); - } - - if (callback) callback(err, function () { - for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { - args[_key4] = arguments[_key4]; - } - - return _this4.t.apply(_this4, args); - }); - }; - - if (!lng && this.services.languageDetector) lng = this.services.languageDetector.detect(); - - if (lng) { - this.language = lng; - this.languages = this.services.languageUtils.toResolveHierarchy(lng); - - this.translator.changeLanguage(lng); - - if (this.services.languageDetector) this.services.languageDetector.cacheUserLanguage(lng); - } - - this.loadResources(function (err) { - done(err); - }); - }; - - I18n.prototype.getFixedT = function getFixedT(lng, ns) { - var _this5 = this; - - var fixedT = function fixedT(key, options) { - options = options || {}; - options.lng = options.lng || fixedT.lng; - options.ns = options.ns || fixedT.ns; - return _this5.t(key, options); - }; - fixedT.lng = lng; - fixedT.ns = ns; - return fixedT; - }; - - I18n.prototype.t = function t() { - return this.translator && this.translator.translate.apply(this.translator, arguments); - }; - - I18n.prototype.exists = function exists() { - return this.translator && this.translator.exists.apply(this.translator, arguments); - }; - - I18n.prototype.setDefaultNamespace = function setDefaultNamespace(ns) { - this.options.defaultNS = ns; - }; - - I18n.prototype.loadNamespaces = function loadNamespaces(ns, callback) { - var _this6 = this; - - if (!this.options.ns) return callback && callback(); - if (typeof ns === 'string') ns = [ns]; - - ns.forEach(function (n) { - if (_this6.options.ns.indexOf(n) < 0) _this6.options.ns.push(n); - }); - - this.loadResources(callback); - }; - - I18n.prototype.loadLanguages = function loadLanguages(lngs, callback) { - if (typeof lngs === 'string') lngs = [lngs]; - var preloaded = this.options.preload || []; - - var newLngs = lngs.filter(function (lng) { - return preloaded.indexOf(lng) < 0; - }); - // Exit early if all given languages are already preloaded - if (!newLngs.length) return callback(); - - this.options.preload = preloaded.concat(newLngs); - this.loadResources(callback); - }; - - I18n.prototype.dir = function dir(lng) { - if (!lng) lng = this.language; - if (!lng) return 'rtl'; - - var rtlLngs = ['ar', 'shu', 'sqr', 'ssh', 'xaa', 'yhd', 'yud', 'aao', 'abh', 'abv', 'acm', 'acq', 'acw', 'acx', 'acy', 'adf', 'ads', 'aeb', 'aec', 'afb', 'ajp', 'apc', 'apd', 'arb', 'arq', 'ars', 'ary', 'arz', 'auz', 'avl', 'ayh', 'ayl', 'ayn', 'ayp', 'bbz', 'pga', 'he', 'iw', 'ps', 'pbt', 'pbu', 'pst', 'prp', 'prd', 'ur', 'ydd', 'yds', 'yih', 'ji', 'yi', 'hbo', 'men', 'xmn', 'fa', 'jpr', 'peo', 'pes', 'prs', 'dv', 'sam']; - - return rtlLngs.indexOf(this.services.languageUtils.getLanguagePartFromCode(lng)) >= 0 ? 'rtl' : 'ltr'; - }; - - I18n.prototype.createInstance = function createInstance() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - - return new I18n(options, callback); - }; - - I18n.prototype.cloneInstance = function cloneInstance() { - var _this7 = this; - - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - - var clone = new I18n(_extends({}, options, this.options, { isClone: true }), callback); - var membersToCopy = ['store', 'services', 'language']; - membersToCopy.forEach(function (m) { - clone[m] = _this7[m]; - }); - clone.translator = new Translator(clone.services, clone.options); - clone.translator.on('*', function (event) { - for (var _len5 = arguments.length, args = Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) { - args[_key5 - 1] = arguments[_key5]; - } - - clone.emit.apply(clone, [event].concat(args)); - }); - - return clone; - }; - - return I18n; -}(EventEmitter); - -var i18next$1 = new I18n(); - -return i18next$1; - -}))); diff --git a/src/node_modules/i18next/dist/umd/i18next.min.js b/src/node_modules/i18next/dist/umd/i18next.min.js deleted file mode 100644 index 935b01b..0000000 --- a/src/node_modules/i18next/dist/umd/i18next.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.i18next=e()}(this,function(){"use strict";function t(t){return null==t?"":""+t}function e(t,e,n){t.forEach(function(t){e[t]&&(n[t]=e[t])})}function n(t,e,n){function o(t){return t&&t.indexOf("###")>-1?t.replace(/###/g,"."):t}for(var r="string"!=typeof e?[].concat(e):e.split(".");r.length>1;){if(!t)return{};var i=o(r.shift());!t[i]&&n&&(t[i]=new n),t=t[i]}return t?{obj:t,k:o(r.shift())}:{}}function o(t,e,o){var r=n(t,e,Object),i=r.obj,a=r.k;i[a]=o}function r(t,e,o,r){var i=n(t,e,Object),a=i.obj,s=i.k;a[s]=a[s]||[],r&&(a[s]=a[s].concat(o)),r||a[s].push(o)}function i(t,e){var o=n(t,e),r=o.obj,i=o.k;if(r)return r[i]}function a(t,e,n){for(var o in e)o in t?"string"==typeof t[o]||t[o]instanceof String||"string"==typeof e[o]||e[o]instanceof String?n&&(t[o]=e[o]):a(t[o],e[o],n):t[o]=e[o];return t}function s(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function u(t){return"string"==typeof t?t.replace(/[&<>"'\/]/g,function(t){return P[t]}):t}function l(t){return t.interpolation={unescapeSuffix:"HTML"},t.interpolation.prefix=t.interpolationPrefix||"__",t.interpolation.suffix=t.interpolationSuffix||"__",t.interpolation.escapeValue=t.escapeInterpolation||!1,t.interpolation.nestingPrefix=t.reusePrefix||"$t(",t.interpolation.nestingSuffix=t.reuseSuffix||")",t}function c(t){return t.resStore&&(t.resources=t.resStore),t.ns&&t.ns.defaultNs?(t.defaultNS=t.ns.defaultNs,t.ns=t.ns.namespaces):t.defaultNS=t.ns||"translation",t.fallbackToDefaultNS&&t.defaultNS&&(t.fallbackNS=t.defaultNS),t.saveMissing=t.sendMissing,t.saveMissingTo=t.sendMissingTo||"current",t.returnNull=!t.fallbackOnNull,t.returnEmptyString=!t.fallbackOnEmpty,t.returnObjects=t.returnObjectTrees,t.joinArrays="\n",t.returnedObjectHandler=t.objectTreeKeyHandler,t.parseMissingKeyHandler=t.parseMissingKey,t.appendNamespaceToMissingKey=!0,t.nsSeparator=t.nsseparator,t.keySeparator=t.keyseparator,"sprintf"===t.shortcutFunction&&(t.overloadTranslationOptionHandler=function(t){for(var e=[],n=1;n1&&void 0!==arguments[1]?arguments[1]:{};x(this,t),this.subs=[],this.init(e,n)}return t.prototype.init=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||N,this.options=e,this.debug=e.debug!==!1},t.prototype.setDebug=function(t){this.debug=t,this.subs.forEach(function(e){e.setDebug(t)})},t.prototype.log=function(){this.forward(arguments,"log","",!0)},t.prototype.warn=function(){this.forward(arguments,"warn","",!0)},t.prototype.error=function(){this.forward(arguments,"error","")},t.prototype.deprecate=function(){this.forward(arguments,"warn","WARNING DEPRECATED: ",!0)},t.prototype.forward=function(t,e,n,o){o&&!this.debug||("string"==typeof t[0]&&(t[0]=n+this.prefix+" "+t[0]),this.logger[e](t))},t.prototype.create=function(e){var n=new t(this.logger,k({prefix:this.prefix+":"+e+":"},this.options));return this.subs.push(n),n},t}(),j=new L,C=function(){function t(){x(this,t),this.observers={}}return t.prototype.on=function(t,e){var n=this;t.split(" ").forEach(function(t){n.observers[t]=n.observers[t]||[],n.observers[t].push(e)})},t.prototype.off=function(t,e){var n=this;this.observers[t]&&this.observers[t].forEach(function(){if(e){var o=n.observers[t].indexOf(e);o>-1&&n.observers[t].splice(o,1)}else delete n.observers[t]})},t.prototype.emit=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o":">",'"':""","'":"'","/":"/"},R=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};x(this,e);var r=w(this,t.call(this));return r.data=n,r.options=o,r}return S(e,t),e.prototype.addNamespaces=function(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)},e.prototype.removeNamespaces=function(t){var e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)},e.prototype.getResource=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=o.keySeparator||this.options.keySeparator;void 0===r&&(r=".");var a=[t,e];return n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(r?n.split(r):n)),t.indexOf(".")>-1&&(a=t.split(".")),i(this.data,a)},e.prototype.addResource=function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var s=[t,e];n&&(s=s.concat(a?n.split(a):n)),t.indexOf(".")>-1&&(s=t.split("."),r=e,e=s[1]),this.addNamespaces(e),o(this.data,s,r),i.silent||this.emit("added",t,e,n,r)},e.prototype.addResources=function(t,e,n){for(var o in n)"string"==typeof n[o]&&this.addResource(t,e,o,n[o],{silent:!0});this.emit("added",t,e,n)},e.prototype.addResourceBundle=function(t,e,n,r,s){var u=[t,e];t.indexOf(".")>-1&&(u=t.split("."),r=n,n=e,e=u[1]),this.addNamespaces(e);var l=i(this.data,u)||{};r?a(l,n,s):l=k({},l,n),o(this.data,u,l),this.emit("added",t,e,n)},e.prototype.removeResourceBundle=function(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)},e.prototype.hasResourceBundle=function(t,e){return void 0!==this.getResource(t,e)},e.prototype.getResourceBundle=function(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?k({},this.getResource(t,e)):this.getResource(t,e)},e.prototype.toJSON=function(){return this.data},e}(C),E={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,e,n,o,r){var i=this;return t.forEach(function(t){i.processors[t]&&(e=i.processors[t].process(e,n,o,r))}),e}},_=function(t){function n(o){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(this,n);var i=w(this,t.call(this));return e(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector"],o,i),i.options=r,i.logger=j.create("translator"),i}return S(n,t),n.prototype.changeLanguage=function(t){t&&(this.language=t)},n.prototype.exists=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};return"v1"===this.options.compatibilityAPI&&(e=f(e)),void 0!==this.resolve(t,e)},n.prototype.extractFromKey=function(t,e){var n=e.nsSeparator||this.options.nsSeparator;void 0===n&&(n=":");var o=e.ns||this.options.defaultNS;if(n&&t.indexOf(n)>-1){var r=t.split(n);o=r[0],t=r[1]}return"string"==typeof o&&(o=[o]),{key:t,namespaces:o}},n.prototype.translate=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==("undefined"==typeof e?"undefined":m(e))?e=this.options.overloadTranslationOptionHandler(arguments):"v1"===this.options.compatibilityAPI&&(e=f(e)),void 0===t||null===t||""===t)return"";"number"==typeof t&&(t=String(t)),"string"==typeof t&&(t=[t]);var n=e.lng||this.language;if(n&&"cimode"===n.toLowerCase())return t[t.length-1];var o=e.keySeparator||this.options.keySeparator||".",r=this.extractFromKey(t[t.length-1],e),i=r.key,a=r.namespaces,s=a[a.length-1],u=this.resolve(t,e),l=Object.prototype.toString.apply(u),c=["[object Number]","[object Function]","[object RegExp]"],p=void 0!==e.joinArrays?e.joinArrays:this.options.joinArrays;if(u&&"string"!=typeof u&&c.indexOf(l)<0&&(!p||"[object Array]"!==l)){if(!e.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(i,u,e):"key '"+i+" ("+this.language+")' returned an object instead of string.";var g="[object Array]"===l?[]:{};for(var h in u)g[h]=this.translate(""+i+o+h,k({joinArrays:!1,ns:a},e));u=g}else if(p&&"[object Array]"===l)u=u.join(p),u&&(u=this.extendTranslation(u,i,e));else{var d=!1,v=!1;if(this.isValidLookup(u)||void 0===e.defaultValue||(d=!0,u=e.defaultValue),this.isValidLookup(u)||(v=!0,u=i),v||d){this.logger.log("missingKey",n,s,i,u);var y=[],b=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if("fallback"===this.options.saveMissingTo&&b&&b[0])for(var x=0;x1&&void 0!==arguments[1]?arguments[1]:{},o=void 0;return"string"==typeof t&&(t=[t]),t.forEach(function(t){if(!e.isValidLookup(o)){var r=e.extractFromKey(t,n),i=r.key,a=r.namespaces;e.options.fallbackNS&&(a=a.concat(e.options.fallbackNS));var s=void 0!==n.count&&"string"!=typeof n.count,u=void 0!==n.context&&"string"==typeof n.context&&""!==n.context,l=n.lngs?n.lngs:e.languageUtils.toResolveHierarchy(n.lng||e.language);a.forEach(function(t){e.isValidLookup(o)||l.forEach(function(r){if(!e.isValidLookup(o)){var a=i,l=[a],c=void 0;s&&(c=e.pluralResolver.getSuffix(r,n.count)),s&&u&&l.push(a+c),u&&l.push(a+=""+e.options.contextSeparator+n.context),s&&l.push(a+=c);for(var p=void 0;p=l.pop();)e.isValidLookup(o)||(o=e.getResource(r,t,p,n))}})})}}),o},n.prototype.isValidLookup=function(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)},n.prototype.getResource=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.resourceStore.getResource(t,e,n,o)},n}(C),A=function(){function t(e){x(this,t),this.options=e,this.whitelist=this.options.whitelist||!1,this.logger=j.create("languageUtils")}return t.prototype.getLanguagePartFromCode=function(t){if(t.indexOf("-")<0)return t;var e=["NB-NO","NN-NO","nb-NO","nn-NO","nb-no","nn-no"],n=t.split("-");return this.formatLanguageCode(e.indexOf(t)>-1?n[1].toLowerCase():n[0])},t.prototype.getScriptPartFromCode=function(t){if(t.indexOf("-")<0)return null;var e=t.split("-");return 2===e.length?null:(e.pop(),this.formatLanguageCode(e.join("-")))},t.prototype.getLanguagePartFromCode=function(t){if(t.indexOf("-")<0)return t;var e=["NB-NO","NN-NO","nb-NO","nn-NO","nb-no","nn-no"],n=t.split("-");return this.formatLanguageCode(e.indexOf(t)>-1?n[1].toLowerCase():n[0])},t.prototype.formatLanguageCode=function(t){if("string"==typeof t&&t.indexOf("-")>-1){var e=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map(function(t){return t.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=h(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=h(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=h(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t},t.prototype.isWhitelisted=function(t,e){return("languageOnly"===this.options.load||this.options.nonExplicitWhitelist&&!e)&&(t=this.getLanguagePartFromCode(t)),!this.whitelist||!this.whitelist.length||this.whitelist.indexOf(t)>-1},t.prototype.getFallbackCodes=function(t,e){if(!t)return[];if("string"==typeof t&&(t=[t]),"[object Array]"===Object.prototype.toString.apply(t))return t;var n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t.default),n||[]},t.prototype.toResolveHierarchy=function(t,e){var n=this,o=this.getFallbackCodes(e||this.options.fallbackLng||[],t),r=[],i=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t&&(n.isWhitelisted(t,e)?r.push(t):n.logger.warn("rejecting non-whitelisted language code: "+t))};return"string"==typeof t&&t.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(t),!0),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(t),!0),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(t))):"string"==typeof t&&i(this.formatLanguageCode(t)),o.forEach(function(t){r.indexOf(t)<0&&i(n.formatLanguageCode(t))}),r},t}(),M=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","tg","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","es_ar","et","eu","fi","fo","fur","fy","gl","gu","ha","he","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt","pt_br","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21}],T={1:function(t){return Number(t>1)},2:function(t){return Number(1!=t)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(0===t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(1==t?0:t>=2&&t<=4?1:2)},7:function(t){return Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(1==t?0:2==t?1:8!=t&&11!=t?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(1==t?0:2==t?1:t<7?2:t<11?3:4)},11:function(t){return Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(0!==t)},14:function(t){return Number(1==t?0:2==t?1:3==t?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:0!==t?1:2)},17:function(t){return Number(1==t||t%10==1?0:1)},18:function(t){return Number(0==t?0:1==t?1:2)},19:function(t){return Number(1==t?0:0===t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(1==t?0:0===t||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)}},H=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(this,t),this.languageUtils=e,this.options=n,this.logger=j.create("pluralResolver"),this.rules=d()}return t.prototype.addRule=function(t,e){this.rules[t]=e},t.prototype.getRule=function(t){return this.rules[this.languageUtils.getLanguagePartFromCode(t)]},t.prototype.needsPlural=function(t){var e=this.getRule(t);return!(e&&e.numbers.length<=1)},t.prototype.getSuffix=function(t,e){var n=this,o=this.getRule(t);if(!o)return this.logger.warn("no plural rule found for: "+t),"";var r=function(){if(1===o.numbers.length)return{v:""};var t=o.noAbs?o.plurals(e):o.plurals(Math.abs(e)),r=o.numbers[t];2===o.numbers.length&&1===o.numbers[0]&&(2===r?r="plural":1===r&&(r=""));var i=function(){return n.options.prepend&&r.toString()?n.options.prepend+r.toString():r.toString()};return"v1"===n.options.compatibilityJSON?1===r?{v:""}:"number"==typeof r?{v:"_plural_"+r.toString()}:{v:i()}:"v2"===n.options.compatibilityJSON||2===o.numbers.length&&1===o.numbers[0]?{v:i()}:2===o.numbers.length&&1===o.numbers[0]?{v:i()}:{v:n.options.prepend&&t.toString()?n.options.prepend+t.toString():t.toString()}}();return"object"===("undefined"==typeof r?"undefined":m(r))?r.v:void 0},t}(),V=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x(this,e),this.logger=j.create("interpolator"),this.init(t,!0)}return e.prototype.init=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];e&&(this.options=t,this.format=t.interpolation&&t.interpolation.format||function(t){return t}),t.interpolation||(t.interpolation={escapeValue:!0});var n=t.interpolation;this.escapeValue=void 0===n.escapeValue||n.escapeValue,this.prefix=n.prefix?s(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?s(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?s(n.formatSeparator):n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?s(n.nestingPrefix):n.nestingPrefixEscaped||s("$t("),this.nestingSuffix=n.nestingSuffix?s(n.nestingSuffix):n.nestingSuffixEscaped||s(")"),this.resetRegExp()},e.prototype.reset=function(){this.options&&this.init(this.options)},e.prototype.resetRegExp=function(){var t=this.prefix+"(.+?)"+this.suffix;this.regexp=new RegExp(t,"g");var e=this.prefix+this.unescapePrefix+"(.+?)"+this.unescapeSuffix+this.suffix;this.regexpUnescape=new RegExp(e,"g");var n=this.nestingPrefix+"(.+?)"+this.nestingSuffix;this.nestingRegexp=new RegExp(n,"g")},e.prototype.interpolate=function(e,n,o){function r(t){return t.replace(/\$/g,"$$$$")}var a=this,s=void 0,l=void 0,c=function(t){if(t.indexOf(a.formatSeparator)<0)return i(n,t);var e=t.split(a.formatSeparator),r=e.shift().trim(),s=e.join(a.formatSeparator).trim();return a.format(i(n,r),s,o)};for(this.resetRegExp();s=this.regexpUnescape.exec(e);){var p=c(s[1].trim());e=e.replace(s[0],p),this.regexpUnescape.lastIndex=0}for(;s=this.regexp.exec(e);)l=c(s[1].trim()),"string"!=typeof l&&(l=t(l)),l||(this.logger.warn("missed to pass in variable "+s[1]+" for interpolating "+e),l=""),l=r(this.escapeValue?u(l):l),e=e.replace(s[0],l),this.regexp.lastIndex=0;return e},e.prototype.nest=function(e,n){function o(t){return t.replace(/\$/g,"$$$$")}function r(t){if(t.indexOf(",")<0)return t;var e=t.split(",");t=e.shift();var n=e.join(",");n=this.interpolate(n,l);try{l=JSON.parse(n)}catch(e){this.logger.error("failed parsing options string in nesting for key "+t,e)}return t}var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=void 0,s=void 0,l=JSON.parse(JSON.stringify(i));for(l.applyPostProcessor=!1;a=this.nestingRegexp.exec(e);)s=n(r.call(this,a[1].trim()),l),"string"!=typeof s&&(s=t(s)),s||(this.logger.warn("missed to pass in variable "+a[1]+" for interpolating "+e),s=""),s=o(this.escapeValue?u(s):s),e=e.replace(a[0],s),this.regexp.lastIndex=0;return e},e}(),U=function(t){function e(n,o,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};x(this,e);var a=w(this,t.call(this));return a.backend=n,a.store=o,a.services=r,a.options=i,a.logger=j.create("backendConnector"),a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(r,i.backend,i),a}return S(e,t),e.prototype.queueLoad=function(t,e,n){var o=this,r=[],i=[],a=[],s=[];return t.forEach(function(t){var n=!0;e.forEach(function(e){var a=t+"|"+e;o.store.hasResourceBundle(t,e)?o.state[a]=2:o.state[a]<0||(1===o.state[a]?i.indexOf(a)<0&&i.push(a):(o.state[a]=1,n=!1,i.indexOf(a)<0&&i.push(a),r.indexOf(a)<0&&r.push(a),s.indexOf(e)<0&&s.push(e)))}),n||a.push(t)}),(r.length||i.length)&&this.queue.push({pending:i,loaded:{},errors:[],callback:n}),{toLoad:r,pending:i,toLoadLanguages:a,toLoadNamespaces:s}},e.prototype.loaded=function(t,e,n){var o=this,i=t.split("|"),a=O(i,2),s=a[0],u=a[1];e&&this.emit("failedLoading",s,u,e),n&&this.store.addResourceBundle(s,u,n),this.state[t]=e?-1:2,this.queue.forEach(function(n){r(n.loaded,[s],u),v(n.pending,t),e&&n.errors.push(e),0!==n.pending.length||n.done||(n.errors.length?n.callback(n.errors):n.callback(),o.emit("loaded",n.loaded),n.done=!0)}),this.queue=this.queue.filter(function(t){return!t.done})},e.prototype.read=function(t,e,n,o,r,i){var a=this;return o||(o=0),r||(r=250),t.length?void this.backend[n](t,e,function(s,u){return s&&u&&o<5?void setTimeout(function(){a.read.call(a,t,e,n,++o,2*r,i)},r):void i(s,u)}):i(null,{})},e.prototype.load=function(t,e,n){var o=this;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();var r=k({},this.backend.options,this.options.backend);"string"==typeof t&&(t=this.services.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]);var a=this.queueLoad(t,e,n);return a.toLoad.length?void(r.allowMultiLoading&&this.backend.readMulti?this.read(a.toLoadLanguages,a.toLoadNamespaces,"readMulti",null,null,function(t,e){t&&o.logger.warn("loading namespaces "+a.toLoadNamespaces.join(", ")+" for languages "+a.toLoadLanguages.join(", ")+" via multiloading failed",t),!t&&e&&o.logger.log("loaded namespaces "+a.toLoadNamespaces.join(", ")+" for languages "+a.toLoadLanguages.join(", ")+" via multiloading",e),a.toLoad.forEach(function(n){var r=n.split("|"),a=O(r,2),s=a[0],u=a[1],l=i(e,[s,u]);if(l)o.loaded(n,t,l);else{var c="loading namespace "+u+" for language "+s+" via multiloading failed";o.loaded(n,c),o.logger.error(c)}})}):!function(){var t=function(t){var e=this,n=t.split("|"),o=O(n,2),r=o[0],i=o[1];this.read(r,i,"read",null,null,function(n,o){n&&e.logger.warn("loading namespace "+i+" for language "+r+" failed",n),!n&&o&&e.logger.log("loaded namespace "+i+" for language "+r,o),e.loaded(t,n,o)})};a.toLoad.forEach(function(e){t.call(o,e)})}()):void(a.pending.length||n())},e.prototype.reload=function(t,e){var n=this;this.backend||this.logger.warn("No backend was added via i18next.use. Will not load resources.");var o=k({},this.backend.options,this.options.backend);"string"==typeof t&&(t=this.services.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]),o.allowMultiLoading&&this.backend.readMulti?this.read(t,e,"readMulti",null,null,function(o,r){o&&n.logger.warn("reloading namespaces "+e.join(", ")+" for languages "+t.join(", ")+" via multiloading failed",o),!o&&r&&n.logger.log("reloaded namespaces "+e.join(", ")+" for languages "+t.join(", ")+" via multiloading",r),t.forEach(function(t){e.forEach(function(e){var a=i(r,[t,e]);if(a)n.loaded(t+"|"+e,o,a);else{var s="reloading namespace "+e+" for language "+t+" via multiloading failed";n.loaded(t+"|"+e,s),n.logger.error(s)}})})}):!function(){var o=function(t){var e=this,n=t.split("|"),o=O(n,2),r=o[0],i=o[1];this.read(r,i,"read",null,null,function(n,o){n&&e.logger.warn("reloading namespace "+i+" for language "+r+" failed",n),!n&&o&&e.logger.log("reloaded namespace "+i+" for language "+r,o),e.loaded(t,n,o)})};t.forEach(function(t){e.forEach(function(e){o.call(n,t+"|"+e)})})}()},e.prototype.saveMissing=function(t,e,n,o){this.backend&&this.backend.create&&this.backend.create(t,e,n,o),t&&t[0]&&this.store.addResource(t[0],e,n,o)},e}(C),F=function(t){function e(n,o,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};x(this,e);var a=w(this,t.call(this));return a.cache=n,a.store=o,a.services=r,a.options=i,a.logger=j.create("cacheConnector"),a.cache&&a.cache.init&&a.cache.init(r,i.cache,i),a}return S(e,t),e.prototype.load=function(t,e,n){var o=this;if(!this.cache)return n&&n();var r=k({},this.cache.options,this.options.cache);"string"==typeof t&&(t=this.services.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]),r.enabled?this.cache.load(t,function(e,r){if(e&&o.logger.error("loading languages "+t.join(", ")+" from cache failed",e),r)for(var i in r)for(var a in r[i])if("i18nStamp"!==a){var s=r[i][a];s&&o.store.addResourceBundle(i,a,s)}n&&n()}):n&&n()},e.prototype.save=function(){this.cache&&this.options.cache&&this.options.cache.enabled&&this.cache.save(this.store.data)},e}(C),I=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1];x(this,e);var r=w(this,t.call(this));return r.options=b(n),r.services={},r.logger=j,r.modules={},o&&!r.isInitialized&&r.init(n,o),r}return S(e,t),e.prototype.init=function(t,e){function n(t){if(t)return"function"==typeof t?new t:t}var o=this;if("function"==typeof t&&(e=t,t={}),t||(t={}),"v1"===t.compatibilityAPI?this.options=k({},y(),b(c(t)),{}):"v1"===t.compatibilityJSON?this.options=k({},y(),b(p(t)),{}):this.options=k({},y(),this.options,b(t)),e||(e=function(){}),!this.options.isClone){this.modules.logger?j.init(n(this.modules.logger),this.options):j.init(null,this.options);var r=new A(this.options);this.store=new R(this.options.resources,this.options);var i=this.services;i.logger=j,i.resourceStore=this.store,i.resourceStore.on("added removed",function(t,e){i.cacheConnector.save()}),i.languageUtils=r,i.pluralResolver=new H(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON}),i.interpolator=new V(this.options),i.backendConnector=new U(n(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r=0?"rtl":"ltr"},e.prototype.createInstance=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];return new e(t,n)},e.prototype.cloneInstance=function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],r=new e(k({},n,this.options,{isClone:!0}),o),i=["store","services","language"];return i.forEach(function(e){r[e]=t[e]}),r.translator=new _(r.services,r.options),r.translator.on("*",function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o 1 && arguments[1] !== undefined ? arguments[1] : {}; - classCallCheck(this, Logger); - - this.subs = []; - this.init(concreteLogger, options); - } - - Logger.prototype.init = function init(concreteLogger) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - this.prefix = options.prefix || 'i18next:'; - this.logger = concreteLogger || consoleLogger; - this.options = options; - this.debug = options.debug === false ? false : true; - }; - - Logger.prototype.setDebug = function setDebug(bool) { - this.debug = bool; - this.subs.forEach(function (sub) { - sub.setDebug(bool); - }); - }; - - Logger.prototype.log = function log() { - this.forward(arguments, 'log', '', true); - }; - - Logger.prototype.warn = function warn() { - this.forward(arguments, 'warn', '', true); - }; - - Logger.prototype.error = function error() { - this.forward(arguments, 'error', ''); - }; - - Logger.prototype.deprecate = function deprecate() { - this.forward(arguments, 'warn', 'WARNING DEPRECATED: ', true); - }; - - Logger.prototype.forward = function forward(args, lvl, prefix, debugOnly) { - if (debugOnly && !this.debug) return; - if (typeof args[0] === 'string') args[0] = prefix + this.prefix + ' ' + args[0]; - this.logger[lvl](args); - }; - - Logger.prototype.create = function create(moduleName) { - var sub = new Logger(this.logger, _extends({ prefix: this.prefix + ':' + moduleName + ':' }, this.options)); - this.subs.push(sub); - - return sub; - }; - - // createInstance(options = {}) { - // return new Logger(options, callback); - // } - - return Logger; -}(); - - - -var baseLogger = new Logger(); - -var EventEmitter = function () { - function EventEmitter() { - classCallCheck(this, EventEmitter); - - this.observers = {}; - } - - EventEmitter.prototype.on = function on(events, listener) { - var _this = this; - - events.split(' ').forEach(function (event) { - _this.observers[event] = _this.observers[event] || []; - _this.observers[event].push(listener); - }); - }; - - EventEmitter.prototype.off = function off(event, listener) { - var _this2 = this; - - if (!this.observers[event]) { - return; - } - - this.observers[event].forEach(function () { - if (!listener) { - delete _this2.observers[event]; - } else { - var index = _this2.observers[event].indexOf(listener); - if (index > -1) { - _this2.observers[event].splice(index, 1); - } - } - }); - }; - - EventEmitter.prototype.emit = function emit(event) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - if (this.observers[event]) { - this.observers[event].forEach(function (observer) { - observer.apply(undefined, args); - }); - } - - if (this.observers['*']) { - this.observers['*'].forEach(function (observer) { - var _ref; - - observer.apply(observer, (_ref = [event]).concat.apply(_ref, args)); - }); - } - }; - - return EventEmitter; -}(); - -function makeString(object) { - if (object == null) return ''; - return '' + object; -} - -function copy(a, s, t) { - a.forEach(function (m) { - if (s[m]) t[m] = s[m]; - }); -} - -function getLastOfPath(object, path, Empty) { - function cleanKey(key) { - return key && key.indexOf('###') > -1 ? key.replace(/###/g, '.') : key; - } - - var stack = typeof path !== 'string' ? [].concat(path) : path.split('.'); - while (stack.length > 1) { - if (!object) return {}; - - var key = cleanKey(stack.shift()); - if (!object[key] && Empty) object[key] = new Empty(); - object = object[key]; - } - - if (!object) return {}; - return { - obj: object, - k: cleanKey(stack.shift()) - }; -} - -function setPath(object, path, newValue) { - var _getLastOfPath = getLastOfPath(object, path, Object), - obj = _getLastOfPath.obj, - k = _getLastOfPath.k; - - obj[k] = newValue; -} - -function pushPath(object, path, newValue, concat) { - var _getLastOfPath2 = getLastOfPath(object, path, Object), - obj = _getLastOfPath2.obj, - k = _getLastOfPath2.k; - - obj[k] = obj[k] || []; - if (concat) obj[k] = obj[k].concat(newValue); - if (!concat) obj[k].push(newValue); -} - -function getPath(object, path) { - var _getLastOfPath3 = getLastOfPath(object, path), - obj = _getLastOfPath3.obj, - k = _getLastOfPath3.k; - - if (!obj) return undefined; - return obj[k]; -} - -function deepExtend(target, source, overwrite) { - for (var prop in source) { - if (prop in target) { - // If we reached a leaf string in target or source then replace with source or skip depending on the 'overwrite' switch - if (typeof target[prop] === 'string' || target[prop] instanceof String || typeof source[prop] === 'string' || source[prop] instanceof String) { - if (overwrite) target[prop] = source[prop]; - } else { - deepExtend(target[prop], source[prop], overwrite); - } - } else { - target[prop] = source[prop]; - } - }return target; -} - -function regexEscape(str) { - return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&'); -} - -/* eslint-disable */ -var _entityMap = { - "&": "&", - "<": "<", - ">": ">", - '"': '"', - "'": ''', - "/": '/' -}; -/* eslint-enable */ - -function escape(data) { - if (typeof data === 'string') { - return data.replace(/[&<>"'\/]/g, function (s) { - return _entityMap[s]; - }); - } else { - return data; - } -} - -var ResourceStore = function (_EventEmitter) { - inherits(ResourceStore, _EventEmitter); - - function ResourceStore() { - var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { ns: ['translation'], defaultNS: 'translation' }; - classCallCheck(this, ResourceStore); - - var _this = possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.data = data; - _this.options = options; - return _this; - } - - ResourceStore.prototype.addNamespaces = function addNamespaces(ns) { - if (this.options.ns.indexOf(ns) < 0) { - this.options.ns.push(ns); - } - }; - - ResourceStore.prototype.removeNamespaces = function removeNamespaces(ns) { - var index = this.options.ns.indexOf(ns); - if (index > -1) { - this.options.ns.splice(index, 1); - } - }; - - ResourceStore.prototype.getResource = function getResource(lng, ns, key) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - var keySeparator = options.keySeparator || this.options.keySeparator; - if (keySeparator === undefined) keySeparator = '.'; - - var path = [lng, ns]; - if (key && typeof key !== 'string') path = path.concat(key); - if (key && typeof key === 'string') path = path.concat(keySeparator ? key.split(keySeparator) : key); - - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - } - - return getPath(this.data, path); - }; - - ResourceStore.prototype.addResource = function addResource(lng, ns, key, value) { - var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : { silent: false }; - - var keySeparator = this.options.keySeparator; - if (keySeparator === undefined) keySeparator = '.'; - - var path = [lng, ns]; - if (key) path = path.concat(keySeparator ? key.split(keySeparator) : key); - - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - value = ns; - ns = path[1]; - } - - this.addNamespaces(ns); - - setPath(this.data, path, value); - - if (!options.silent) this.emit('added', lng, ns, key, value); - }; - - ResourceStore.prototype.addResources = function addResources(lng, ns, resources) { - for (var m in resources) { - if (typeof resources[m] === 'string') this.addResource(lng, ns, m, resources[m], { silent: true }); - } - this.emit('added', lng, ns, resources); - }; - - ResourceStore.prototype.addResourceBundle = function addResourceBundle(lng, ns, resources, deep, overwrite) { - var path = [lng, ns]; - if (lng.indexOf('.') > -1) { - path = lng.split('.'); - deep = resources; - resources = ns; - ns = path[1]; - } - - this.addNamespaces(ns); - - var pack = getPath(this.data, path) || {}; - - if (deep) { - deepExtend(pack, resources, overwrite); - } else { - pack = _extends({}, pack, resources); - } - - setPath(this.data, path, pack); - - this.emit('added', lng, ns, resources); - }; - - ResourceStore.prototype.removeResourceBundle = function removeResourceBundle(lng, ns) { - if (this.hasResourceBundle(lng, ns)) { - delete this.data[lng][ns]; - } - this.removeNamespaces(ns); - - this.emit('removed', lng, ns); - }; - - ResourceStore.prototype.hasResourceBundle = function hasResourceBundle(lng, ns) { - return this.getResource(lng, ns) !== undefined; - }; - - ResourceStore.prototype.getResourceBundle = function getResourceBundle(lng, ns) { - if (!ns) ns = this.options.defaultNS; - - // TODO: COMPATIBILITY remove extend in v2.1.0 - if (this.options.compatibilityAPI === 'v1') return _extends({}, this.getResource(lng, ns)); - - return this.getResource(lng, ns); - }; - - ResourceStore.prototype.toJSON = function toJSON() { - return this.data; - }; - - return ResourceStore; -}(EventEmitter); - -var postProcessor = { - - processors: {}, - - addPostProcessor: function addPostProcessor(module) { - this.processors[module.name] = module; - }, - handle: function handle(processors, value, key, options, translator) { - var _this = this; - - processors.forEach(function (processor) { - if (_this.processors[processor]) value = _this.processors[processor].process(value, key, options, translator); - }); - - return value; - } -}; - -function convertInterpolation(options) { - - options.interpolation = { - unescapeSuffix: 'HTML' - }; - - options.interpolation.prefix = options.interpolationPrefix || '__'; - options.interpolation.suffix = options.interpolationSuffix || '__'; - options.interpolation.escapeValue = options.escapeInterpolation || false; - - options.interpolation.nestingPrefix = options.reusePrefix || '$t('; - options.interpolation.nestingSuffix = options.reuseSuffix || ')'; - - return options; -} - -function convertAPIOptions(options) { - if (options.resStore) options.resources = options.resStore; - - if (options.ns && options.ns.defaultNs) { - options.defaultNS = options.ns.defaultNs; - options.ns = options.ns.namespaces; - } else { - options.defaultNS = options.ns || 'translation'; - } - - if (options.fallbackToDefaultNS && options.defaultNS) options.fallbackNS = options.defaultNS; - - options.saveMissing = options.sendMissing; - options.saveMissingTo = options.sendMissingTo || 'current'; - options.returnNull = options.fallbackOnNull ? false : true; - options.returnEmptyString = options.fallbackOnEmpty ? false : true; - options.returnObjects = options.returnObjectTrees; - options.joinArrays = '\n'; - - options.returnedObjectHandler = options.objectTreeKeyHandler; - options.parseMissingKeyHandler = options.parseMissingKey; - options.appendNamespaceToMissingKey = true; - - options.nsSeparator = options.nsseparator; - options.keySeparator = options.keyseparator; - - if (options.shortcutFunction === 'sprintf') { - options.overloadTranslationOptionHandler = function (args) { - var values = []; - - for (var i = 1; i < args.length; i++) { - values.push(args[i]); - } - - return { - postProcess: 'sprintf', - sprintf: values - }; - }; - } - - options.whitelist = options.lngWhitelist; - options.preload = options.preload; - if (options.load === 'current') options.load = 'currentOnly'; - if (options.load === 'unspecific') options.load = 'languageOnly'; - - // backend - options.backend = options.backend || {}; - options.backend.loadPath = options.resGetPath || 'locales/__lng__/__ns__.json'; - options.backend.addPath = options.resPostPath || 'locales/add/__lng__/__ns__'; - options.backend.allowMultiLoading = options.dynamicLoad; - - // cache - options.cache = options.cache || {}; - options.cache.prefix = 'res_'; - options.cache.expirationTime = 7 * 24 * 60 * 60 * 1000; - options.cache.enabled = options.useLocalStorage ? true : false; - - options = convertInterpolation(options); - if (options.defaultVariables) options.interpolation.defaultVariables = options.defaultVariables; - - // TODO: deprecation - // if (options.getAsync === false) throw deprecation error - - return options; -} - -function convertJSONOptions(options) { - options = convertInterpolation(options); - options.joinArrays = '\n'; - - return options; -} - -function convertTOptions(options) { - if (options.interpolationPrefix || options.interpolationSuffix || options.escapeInterpolation) { - options = convertInterpolation(options); - } - - options.nsSeparator = options.nsseparator; - options.keySeparator = options.keyseparator; - - options.returnObjects = options.returnObjectTrees; - - return options; -} - -function appendBackwardsAPI(i18n) { - i18n.lng = function () { - baseLogger.deprecate('i18next.lng() can be replaced by i18next.language for detected language or i18next.languages for languages ordered by translation lookup.'); - return i18n.services.languageUtils.toResolveHierarchy(i18n.language)[0]; - }; - - i18n.preload = function (lngs, cb) { - baseLogger.deprecate('i18next.preload() can be replaced with i18next.loadLanguages()'); - i18n.loadLanguages(lngs, cb); - }; - - i18n.setLng = function (lng, options, callback) { - baseLogger.deprecate('i18next.setLng() can be replaced with i18next.changeLanguage() or i18next.getFixedT() to get a translation function with fixed language or namespace.'); - if (typeof options === 'function') { - callback = options; - options = {}; - } - if (!options) options = {}; - - if (options.fixLng === true) { - if (callback) return callback(null, i18n.getFixedT(lng)); - } - - i18n.changeLanguage(lng, callback); - }; - - i18n.addPostProcessor = function (name, fc) { - baseLogger.deprecate('i18next.addPostProcessor() can be replaced by i18next.use({ type: \'postProcessor\', name: \'name\', process: fc })'); - i18n.use({ - type: 'postProcessor', - name: name, - process: fc - }); - }; -} - -var Translator = function (_EventEmitter) { - inherits(Translator, _EventEmitter); - - function Translator(services) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - classCallCheck(this, Translator); - - var _this = possibleConstructorReturn(this, _EventEmitter.call(this)); - - copy(['resourceStore', 'languageUtils', 'pluralResolver', 'interpolator', 'backendConnector'], services, _this); - - _this.options = options; - _this.logger = baseLogger.create('translator'); - return _this; - } - - Translator.prototype.changeLanguage = function changeLanguage(lng) { - if (lng) this.language = lng; - }; - - Translator.prototype.exists = function exists(key) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { interpolation: {} }; - - if (this.options.compatibilityAPI === 'v1') { - options = convertTOptions(options); - } - - return this.resolve(key, options) !== undefined; - }; - - Translator.prototype.extractFromKey = function extractFromKey(key, options) { - var nsSeparator = options.nsSeparator || this.options.nsSeparator; - if (nsSeparator === undefined) nsSeparator = ':'; - - var namespaces = options.ns || this.options.defaultNS; - if (nsSeparator && key.indexOf(nsSeparator) > -1) { - var parts = key.split(nsSeparator); - namespaces = parts[0]; - key = parts[1]; - } - if (typeof namespaces === 'string') namespaces = [namespaces]; - - return { - key: key, - namespaces: namespaces - }; - }; - - Translator.prototype.translate = function translate(keys) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) !== 'object') { - options = this.options.overloadTranslationOptionHandler(arguments); - } else if (this.options.compatibilityAPI === 'v1') { - options = convertTOptions(options); - } - - // non valid keys handling - if (keys === undefined || keys === null || keys === '') return ''; - if (typeof keys === 'number') keys = String(keys); - if (typeof keys === 'string') keys = [keys]; - - // return key on CIMode - var lng = options.lng || this.language; - if (lng && lng.toLowerCase() === 'cimode') return keys[keys.length - 1]; - - // separators - var keySeparator = options.keySeparator || this.options.keySeparator || '.'; - - // get namespace(s) - - var _extractFromKey = this.extractFromKey(keys[keys.length - 1], options), - key = _extractFromKey.key, - namespaces = _extractFromKey.namespaces; - - var namespace = namespaces[namespaces.length - 1]; - - // resolve from store - var res = this.resolve(keys, options); - - var resType = Object.prototype.toString.apply(res); - var noObject = ['[object Number]', '[object Function]', '[object RegExp]']; - var joinArrays = options.joinArrays !== undefined ? options.joinArrays : this.options.joinArrays; - - // object - if (res && typeof res !== 'string' && noObject.indexOf(resType) < 0 && !(joinArrays && resType === '[object Array]')) { - if (!options.returnObjects && !this.options.returnObjects) { - this.logger.warn('accessing an object - but returnObjects options is not enabled!'); - return this.options.returnedObjectHandler ? this.options.returnedObjectHandler(key, res, options) : 'key \'' + key + ' (' + this.language + ')\' returned an object instead of string.'; - } - - var copy$$1 = resType === '[object Array]' ? [] : {}; // apply child translation on a copy - - for (var m in res) { - copy$$1[m] = this.translate('' + key + keySeparator + m, _extends({ joinArrays: false, ns: namespaces }, options)); - } - res = copy$$1; - } - // array special treatment - else if (joinArrays && resType === '[object Array]') { - res = res.join(joinArrays); - if (res) res = this.extendTranslation(res, key, options); - } - // string, empty or null - else { - var usedDefault = false, - usedKey = false; - - // fallback value - if (!this.isValidLookup(res) && options.defaultValue !== undefined) { - usedDefault = true; - res = options.defaultValue; - } - if (!this.isValidLookup(res)) { - usedKey = true; - res = key; - } - - // save missing - if (usedKey || usedDefault) { - this.logger.log('missingKey', lng, namespace, key, res); - - var lngs = []; - var fallbackLngs = this.languageUtils.getFallbackCodes(this.options.fallbackLng, options.lng || this.language); - if (this.options.saveMissingTo === 'fallback' && fallbackLngs && fallbackLngs[0]) { - for (var i = 0; i < fallbackLngs.length; i++) { - lngs.push(fallbackLngs[i]); - } - } else if (this.options.saveMissingTo === 'all') { - lngs = this.languageUtils.toResolveHierarchy(options.lng || this.language); - } else { - //(this.options.saveMissingTo === 'current' || (this.options.saveMissingTo === 'fallback' && this.options.fallbackLng[0] === false) ) { - lngs.push(options.lng || this.language); - } - - if (this.options.saveMissing) { - if (this.options.missingKeyHandler) { - this.options.missingKeyHandler(lngs, namespace, key, res); - } else if (this.backendConnector && this.backendConnector.saveMissing) { - this.backendConnector.saveMissing(lngs, namespace, key, res); - } - } - - this.emit('missingKey', lngs, namespace, key, res); - } - - // extend - res = this.extendTranslation(res, key, options); - - // append namespace if still key - if (usedKey && res === key && this.options.appendNamespaceToMissingKey) res = namespace + ':' + key; - - // parseMissingKeyHandler - if (usedKey && this.options.parseMissingKeyHandler) res = this.options.parseMissingKeyHandler(res); - } - - // return - return res; - }; - - Translator.prototype.extendTranslation = function extendTranslation(res, key, options) { - var _this2 = this; - - if (options.interpolation) this.interpolator.init(_extends({}, options, { interpolation: _extends({}, this.options.interpolation, options.interpolation) })); - - // interpolate - var data = options.replace && typeof options.replace !== 'string' ? options.replace : options; - if (this.options.interpolation.defaultVariables) data = _extends({}, this.options.interpolation.defaultVariables, data); - res = this.interpolator.interpolate(res, data, this.language); - - // nesting - res = this.interpolator.nest(res, function () { - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - return _this2.translate.apply(_this2, args); - }, options); - - if (options.interpolation) this.interpolator.reset(); - - // post process - var postProcess = options.postProcess || this.options.postProcess; - var postProcessorNames = typeof postProcess === 'string' ? [postProcess] : postProcess; - - if (res !== undefined && postProcessorNames && postProcessorNames.length && options.applyPostProcessor !== false) { - res = postProcessor.handle(postProcessorNames, res, key, options, this); - } - - return res; - }; - - Translator.prototype.resolve = function resolve(keys) { - var _this3 = this; - - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - var found = void 0; - - if (typeof keys === 'string') keys = [keys]; - - // forEach possible key - keys.forEach(function (k) { - if (_this3.isValidLookup(found)) return; - - var _extractFromKey2 = _this3.extractFromKey(k, options), - key = _extractFromKey2.key, - namespaces = _extractFromKey2.namespaces; - - if (_this3.options.fallbackNS) namespaces = namespaces.concat(_this3.options.fallbackNS); - - var needsPluralHandling = options.count !== undefined && typeof options.count !== 'string'; - var needsContextHandling = options.context !== undefined && typeof options.context === 'string' && options.context !== ''; - - var codes = options.lngs ? options.lngs : _this3.languageUtils.toResolveHierarchy(options.lng || _this3.language); - - namespaces.forEach(function (ns) { - if (_this3.isValidLookup(found)) return; - - codes.forEach(function (code) { - if (_this3.isValidLookup(found)) return; - - var finalKey = key; - var finalKeys = [finalKey]; - - var pluralSuffix = void 0; - if (needsPluralHandling) pluralSuffix = _this3.pluralResolver.getSuffix(code, options.count); - - // fallback for plural if context not found - if (needsPluralHandling && needsContextHandling) finalKeys.push(finalKey + pluralSuffix); - - // get key for context if needed - if (needsContextHandling) finalKeys.push(finalKey += '' + _this3.options.contextSeparator + options.context); - - // get key for plural if needed - if (needsPluralHandling) finalKeys.push(finalKey += pluralSuffix); - - // iterate over finalKeys starting with most specific pluralkey (-> contextkey only) -> singularkey only - var possibleKey = void 0; - while (possibleKey = finalKeys.pop()) { - if (_this3.isValidLookup(found)) continue; - found = _this3.getResource(code, ns, possibleKey, options); - } - }); - }); - }); - - return found; - }; - - Translator.prototype.isValidLookup = function isValidLookup(res) { - return res !== undefined && !(!this.options.returnNull && res === null) && !(!this.options.returnEmptyString && res === ''); - }; - - Translator.prototype.getResource = function getResource(code, ns, key) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - - return this.resourceStore.getResource(code, ns, key, options); - }; - - return Translator; -}(EventEmitter); - -function capitalize(string) { - return string.charAt(0).toUpperCase() + string.slice(1); -} - -var LanguageUtil = function () { - function LanguageUtil(options) { - classCallCheck(this, LanguageUtil); - - this.options = options; - - this.whitelist = this.options.whitelist || false; - this.logger = baseLogger.create('languageUtils'); - } - - LanguageUtil.prototype.getLanguagePartFromCode = function getLanguagePartFromCode(code) { - if (code.indexOf('-') < 0) return code; - - var specialCases = ['NB-NO', 'NN-NO', 'nb-NO', 'nn-NO', 'nb-no', 'nn-no']; - var p = code.split('-'); - return this.formatLanguageCode(specialCases.indexOf(code) > -1 ? p[1].toLowerCase() : p[0]); - }; - - LanguageUtil.prototype.getScriptPartFromCode = function getScriptPartFromCode(code) { - if (code.indexOf('-') < 0) return null; - - var p = code.split('-'); - if (p.length === 2) return null; - p.pop(); - return this.formatLanguageCode(p.join('-')); - }; - - LanguageUtil.prototype.getLanguagePartFromCode = function getLanguagePartFromCode(code) { - if (code.indexOf('-') < 0) return code; - - var specialCases = ['NB-NO', 'NN-NO', 'nb-NO', 'nn-NO', 'nb-no', 'nn-no']; - var p = code.split('-'); - return this.formatLanguageCode(specialCases.indexOf(code) > -1 ? p[1].toLowerCase() : p[0]); - }; - - LanguageUtil.prototype.formatLanguageCode = function formatLanguageCode(code) { - // http://www.iana.org/assignments/language-tags/language-tags.xhtml - if (typeof code === 'string' && code.indexOf('-') > -1) { - var specialCases = ['hans', 'hant', 'latn', 'cyrl', 'cans', 'mong', 'arab']; - var p = code.split('-'); - - if (this.options.lowerCaseLng) { - p = p.map(function (part) { - return part.toLowerCase(); - }); - } else if (p.length === 2) { - p[0] = p[0].toLowerCase(); - p[1] = p[1].toUpperCase(); - - if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase()); - } else if (p.length === 3) { - p[0] = p[0].toLowerCase(); - - // if lenght 2 guess it's a country - if (p[1].length === 2) p[1] = p[1].toUpperCase(); - if (p[0] !== 'sgn' && p[2].length === 2) p[2] = p[2].toUpperCase(); - - if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase()); - if (specialCases.indexOf(p[2].toLowerCase()) > -1) p[2] = capitalize(p[2].toLowerCase()); - } - - return p.join('-'); - } else { - return this.options.cleanCode || this.options.lowerCaseLng ? code.toLowerCase() : code; - } - }; - - LanguageUtil.prototype.isWhitelisted = function isWhitelisted(code, exactMatch) { - if (this.options.load === 'languageOnly' || this.options.nonExplicitWhitelist && !exactMatch) { - code = this.getLanguagePartFromCode(code); - } - return !this.whitelist || !this.whitelist.length || this.whitelist.indexOf(code) > -1 ? true : false; - }; - - LanguageUtil.prototype.getFallbackCodes = function getFallbackCodes(fallbacks, code) { - if (!fallbacks) return []; - if (typeof fallbacks === 'string') fallbacks = [fallbacks]; - if (Object.prototype.toString.apply(fallbacks) === '[object Array]') return fallbacks; - - // asume we have an object defining fallbacks - var found = fallbacks[code]; - if (!found) found = fallbacks[this.getScriptPartFromCode(code)]; - if (!found) found = fallbacks[this.formatLanguageCode(code)]; - if (!found) found = fallbacks.default; - - return found || []; - }; - - LanguageUtil.prototype.toResolveHierarchy = function toResolveHierarchy(code, fallbackCode) { - var _this = this; - - var fallbackCodes = this.getFallbackCodes(fallbackCode || this.options.fallbackLng || [], code); - - var codes = []; - var addCode = function addCode(code) { - var exactMatch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - - if (!code) return; - if (_this.isWhitelisted(code, exactMatch)) { - codes.push(code); - } else { - _this.logger.warn('rejecting non-whitelisted language code: ' + code); - } - }; - - if (typeof code === 'string' && code.indexOf('-') > -1) { - if (this.options.load !== 'languageOnly') addCode(this.formatLanguageCode(code), true); - if (this.options.load !== 'languageOnly' && this.options.load !== 'currentOnly') addCode(this.getScriptPartFromCode(code), true); - if (this.options.load !== 'currentOnly') addCode(this.getLanguagePartFromCode(code)); - } else if (typeof code === 'string') { - addCode(this.formatLanguageCode(code)); - } - - fallbackCodes.forEach(function (fc) { - if (codes.indexOf(fc) < 0) addCode(_this.formatLanguageCode(fc)); - }); - - return codes; - }; - - return LanguageUtil; -}(); - -// definition http://translate.sourceforge.net/wiki/l10n/pluralforms -/* eslint-disable */ -var sets = [{ lngs: ['ach', 'ak', 'am', 'arn', 'br', 'fil', 'gun', 'ln', 'mfe', 'mg', 'mi', 'oc', 'tg', 'ti', 'tr', 'uz', 'wa'], nr: [1, 2], fc: 1 }, { lngs: ['af', 'an', 'ast', 'az', 'bg', 'bn', 'ca', 'da', 'de', 'dev', 'el', 'en', 'eo', 'es', 'es_ar', 'et', 'eu', 'fi', 'fo', 'fur', 'fy', 'gl', 'gu', 'ha', 'he', 'hi', 'hu', 'hy', 'ia', 'it', 'kn', 'ku', 'lb', 'mai', 'ml', 'mn', 'mr', 'nah', 'nap', 'nb', 'ne', 'nl', 'nn', 'no', 'nso', 'pa', 'pap', 'pms', 'ps', 'pt', 'pt_br', 'rm', 'sco', 'se', 'si', 'so', 'son', 'sq', 'sv', 'sw', 'ta', 'te', 'tk', 'ur', 'yo'], nr: [1, 2], fc: 2 }, { lngs: ['ay', 'bo', 'cgg', 'fa', 'id', 'ja', 'jbo', 'ka', 'kk', 'km', 'ko', 'ky', 'lo', 'ms', 'sah', 'su', 'th', 'tt', 'ug', 'vi', 'wo', 'zh'], nr: [1], fc: 3 }, { lngs: ['be', 'bs', 'dz', 'hr', 'ru', 'sr', 'uk'], nr: [1, 2, 5], fc: 4 }, { lngs: ['ar'], nr: [0, 1, 2, 3, 11, 100], fc: 5 }, { lngs: ['cs', 'sk'], nr: [1, 2, 5], fc: 6 }, { lngs: ['csb', 'pl'], nr: [1, 2, 5], fc: 7 }, { lngs: ['cy'], nr: [1, 2, 3, 8], fc: 8 }, { lngs: ['fr'], nr: [1, 2], fc: 9 }, { lngs: ['ga'], nr: [1, 2, 3, 7, 11], fc: 10 }, { lngs: ['gd'], nr: [1, 2, 3, 20], fc: 11 }, { lngs: ['is'], nr: [1, 2], fc: 12 }, { lngs: ['jv'], nr: [0, 1], fc: 13 }, { lngs: ['kw'], nr: [1, 2, 3, 4], fc: 14 }, { lngs: ['lt'], nr: [1, 2, 10], fc: 15 }, { lngs: ['lv'], nr: [1, 2, 0], fc: 16 }, { lngs: ['mk'], nr: [1, 2], fc: 17 }, { lngs: ['mnk'], nr: [0, 1, 2], fc: 18 }, { lngs: ['mt'], nr: [1, 2, 11, 20], fc: 19 }, { lngs: ['or'], nr: [2, 1], fc: 2 }, { lngs: ['ro'], nr: [1, 2, 20], fc: 20 }, { lngs: ['sl'], nr: [5, 1, 2, 3], fc: 21 }]; - -var _rulesPluralsTypes = { - 1: function _(n) { - return Number(n > 1); - }, - 2: function _(n) { - return Number(n != 1); - }, - 3: function _(n) { - return 0; - }, - 4: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 5: function _(n) { - return Number(n === 0 ? 0 : n == 1 ? 1 : n == 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5); - }, - 6: function _(n) { - return Number(n == 1 ? 0 : n >= 2 && n <= 4 ? 1 : 2); - }, - 7: function _(n) { - return Number(n == 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 8: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n != 8 && n != 11 ? 2 : 3); - }, - 9: function _(n) { - return Number(n >= 2); - }, - 10: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4); - }, - 11: function _(n) { - return Number(n == 1 || n == 11 ? 0 : n == 2 || n == 12 ? 1 : n > 2 && n < 20 ? 2 : 3); - }, - 12: function _(n) { - return Number(n % 10 != 1 || n % 100 == 11); - }, - 13: function _(n) { - return Number(n !== 0); - }, - 14: function _(n) { - return Number(n == 1 ? 0 : n == 2 ? 1 : n == 3 ? 2 : 3); - }, - 15: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2); - }, - 16: function _(n) { - return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n !== 0 ? 1 : 2); - }, - 17: function _(n) { - return Number(n == 1 || n % 10 == 1 ? 0 : 1); - }, - 18: function _(n) { - return Number(n == 0 ? 0 : n == 1 ? 1 : 2); - }, - 19: function _(n) { - return Number(n == 1 ? 0 : n === 0 || n % 100 > 1 && n % 100 < 11 ? 1 : n % 100 > 10 && n % 100 < 20 ? 2 : 3); - }, - 20: function _(n) { - return Number(n == 1 ? 0 : n === 0 || n % 100 > 0 && n % 100 < 20 ? 1 : 2); - }, - 21: function _(n) { - return Number(n % 100 == 1 ? 1 : n % 100 == 2 ? 2 : n % 100 == 3 || n % 100 == 4 ? 3 : 0); - } -}; -/* eslint-enable */ - -function createRules() { - var l, - rules = {}; - sets.forEach(function (set$$1) { - set$$1.lngs.forEach(function (l) { - return rules[l] = { - numbers: set$$1.nr, - plurals: _rulesPluralsTypes[set$$1.fc] - }; - }); - }); - return rules; -} - -var PluralResolver = function () { - function PluralResolver(languageUtils) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - classCallCheck(this, PluralResolver); - - this.languageUtils = languageUtils; - this.options = options; - - this.logger = baseLogger.create('pluralResolver'); - - this.rules = createRules(); - } - - PluralResolver.prototype.addRule = function addRule(lng, obj) { - this.rules[lng] = obj; - }; - - PluralResolver.prototype.getRule = function getRule(code) { - return this.rules[this.languageUtils.getLanguagePartFromCode(code)]; - }; - - PluralResolver.prototype.needsPlural = function needsPlural(code) { - var rule = this.getRule(code); - - return rule && rule.numbers.length <= 1 ? false : true; - }; - - PluralResolver.prototype.getSuffix = function getSuffix(code, count) { - var _this = this; - - var rule = this.getRule(code); - - if (rule) { - var _ret = function () { - if (rule.numbers.length === 1) return { - v: '' - }; // only singular - - var idx = rule.noAbs ? rule.plurals(count) : rule.plurals(Math.abs(count)); - var suffix = rule.numbers[idx]; - - // special treatment for lngs only having singular and plural - if (rule.numbers.length === 2 && rule.numbers[0] === 1) { - if (suffix === 2) { - suffix = 'plural'; - } else if (suffix === 1) { - suffix = ''; - } - } - - var returnSuffix = function returnSuffix() { - return _this.options.prepend && suffix.toString() ? _this.options.prepend + suffix.toString() : suffix.toString(); - }; - - // COMPATIBILITY JSON - // v1 - if (_this.options.compatibilityJSON === 'v1') { - if (suffix === 1) return { - v: '' - }; - if (typeof suffix === 'number') return { - v: '_plural_' + suffix.toString() - }; - return { - v: returnSuffix() - }; - } - // v2 - else if (_this.options.compatibilityJSON === 'v2' || rule.numbers.length === 2 && rule.numbers[0] === 1) { - return { - v: returnSuffix() - }; - } - // v3 - gettext index - else if (rule.numbers.length === 2 && rule.numbers[0] === 1) { - return { - v: returnSuffix() - }; - } - return { - v: _this.options.prepend && idx.toString() ? _this.options.prepend + idx.toString() : idx.toString() - }; - }(); - - if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; - } else { - this.logger.warn('no plural rule found for: ' + code); - return ''; - } - }; - - return PluralResolver; -}(); - -var Interpolator = function () { - function Interpolator() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - classCallCheck(this, Interpolator); - - this.logger = baseLogger.create('interpolator'); - - this.init(options, true); - } - - Interpolator.prototype.init = function init() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var reset = arguments[1]; - - if (reset) { - this.options = options; - this.format = options.interpolation && options.interpolation.format || function (value) { - return value; - }; - } - if (!options.interpolation) options.interpolation = { escapeValue: true }; - - var iOpts = options.interpolation; - - this.escapeValue = iOpts.escapeValue !== undefined ? iOpts.escapeValue : true; - - this.prefix = iOpts.prefix ? regexEscape(iOpts.prefix) : iOpts.prefixEscaped || '{{'; - this.suffix = iOpts.suffix ? regexEscape(iOpts.suffix) : iOpts.suffixEscaped || '}}'; - this.formatSeparator = iOpts.formatSeparator ? regexEscape(iOpts.formatSeparator) : iOpts.formatSeparator || ','; - - this.unescapePrefix = iOpts.unescapeSuffix ? '' : iOpts.unescapePrefix || '-'; - this.unescapeSuffix = this.unescapePrefix ? '' : iOpts.unescapeSuffix || ''; - - this.nestingPrefix = iOpts.nestingPrefix ? regexEscape(iOpts.nestingPrefix) : iOpts.nestingPrefixEscaped || regexEscape('$t('); - this.nestingSuffix = iOpts.nestingSuffix ? regexEscape(iOpts.nestingSuffix) : iOpts.nestingSuffixEscaped || regexEscape(')'); - - // the regexp - this.resetRegExp(); - }; - - Interpolator.prototype.reset = function reset() { - if (this.options) this.init(this.options); - }; - - Interpolator.prototype.resetRegExp = function resetRegExp() { - // the regexp - var regexpStr = this.prefix + '(.+?)' + this.suffix; - this.regexp = new RegExp(regexpStr, 'g'); - - var regexpUnescapeStr = this.prefix + this.unescapePrefix + '(.+?)' + this.unescapeSuffix + this.suffix; - this.regexpUnescape = new RegExp(regexpUnescapeStr, 'g'); - - var nestingRegexpStr = this.nestingPrefix + '(.+?)' + this.nestingSuffix; - this.nestingRegexp = new RegExp(nestingRegexpStr, 'g'); - }; - - Interpolator.prototype.interpolate = function interpolate(str, data, lng) { - var _this = this; - - var match = void 0, - value = void 0; - - function regexSafe(val) { - return val.replace(/\$/g, '$$$$'); - } - - var handleFormat = function handleFormat(key) { - if (key.indexOf(_this.formatSeparator) < 0) return getPath(data, key); - - var p = key.split(_this.formatSeparator); - var k = p.shift().trim(); - var f = p.join(_this.formatSeparator).trim(); - - return _this.format(getPath(data, k), f, lng); - }; - - this.resetRegExp(); - - // unescape if has unescapePrefix/Suffix - while (match = this.regexpUnescape.exec(str)) { - var _value = handleFormat(match[1].trim()); - str = str.replace(match[0], _value); - this.regexpUnescape.lastIndex = 0; - } - - // regular escape on demand - while (match = this.regexp.exec(str)) { - value = handleFormat(match[1].trim()); - if (typeof value !== 'string') value = makeString(value); - if (!value) { - this.logger.warn('missed to pass in variable ' + match[1] + ' for interpolating ' + str); - value = ''; - } - value = this.escapeValue ? regexSafe(escape(value)) : regexSafe(value); - str = str.replace(match[0], value); - this.regexp.lastIndex = 0; - } - return str; - }; - - Interpolator.prototype.nest = function nest(str, fc) { - var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - - var match = void 0, - value = void 0; - - var clonedOptions = JSON.parse(JSON.stringify(options)); - clonedOptions.applyPostProcessor = false; // avoid post processing on nested lookup - - function regexSafe(val) { - return val.replace(/\$/g, '$$$$'); - } - - // if value is something like "myKey": "lorem $(anotherKey, { "count": {{aValueInOptions}} })" - function handleHasOptions(key) { - if (key.indexOf(',') < 0) return key; - - var p = key.split(','); - key = p.shift(); - var optionsString = p.join(','); - optionsString = this.interpolate(optionsString, clonedOptions); - - try { - clonedOptions = JSON.parse(optionsString); - } catch (e) { - this.logger.error('failed parsing options string in nesting for key ' + key, e); - } - - return key; - } - - // regular escape on demand - while (match = this.nestingRegexp.exec(str)) { - value = fc(handleHasOptions.call(this, match[1].trim()), clonedOptions); - if (typeof value !== 'string') value = makeString(value); - if (!value) { - this.logger.warn('missed to pass in variable ' + match[1] + ' for interpolating ' + str); - value = ''; - } - value = this.escapeValue ? regexSafe(escape(value)) : regexSafe(value); - str = str.replace(match[0], value); - this.regexp.lastIndex = 0; - } - return str; - }; - - return Interpolator; -}(); - -function remove(arr, what) { - var found = arr.indexOf(what); - - while (found !== -1) { - arr.splice(found, 1); - found = arr.indexOf(what); - } -} - -var Connector = function (_EventEmitter) { - inherits(Connector, _EventEmitter); - - function Connector(backend, store, services) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - classCallCheck(this, Connector); - - var _this = possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.backend = backend; - _this.store = store; - _this.services = services; - _this.options = options; - _this.logger = baseLogger.create('backendConnector'); - - _this.state = {}; - _this.queue = []; - - _this.backend && _this.backend.init && _this.backend.init(services, options.backend, options); - return _this; - } - - Connector.prototype.queueLoad = function queueLoad(languages, namespaces, callback) { - var _this2 = this; - - // find what needs to be loaded - var toLoad = [], - pending = [], - toLoadLanguages = [], - toLoadNamespaces = []; - - languages.forEach(function (lng) { - var hasAllNamespaces = true; - - namespaces.forEach(function (ns) { - var name = lng + '|' + ns; - - if (_this2.store.hasResourceBundle(lng, ns)) { - _this2.state[name] = 2; // loaded - } else if (_this2.state[name] < 0) { - // nothing to do for err - } else if (_this2.state[name] === 1) { - if (pending.indexOf(name) < 0) pending.push(name); - } else { - _this2.state[name] = 1; // pending - - hasAllNamespaces = false; - - if (pending.indexOf(name) < 0) pending.push(name); - if (toLoad.indexOf(name) < 0) toLoad.push(name); - if (toLoadNamespaces.indexOf(ns) < 0) toLoadNamespaces.push(ns); - } - }); - - if (!hasAllNamespaces) toLoadLanguages.push(lng); - }); - - if (toLoad.length || pending.length) { - this.queue.push({ - pending: pending, - loaded: {}, - errors: [], - callback: callback - }); - } - - return { - toLoad: toLoad, - pending: pending, - toLoadLanguages: toLoadLanguages, - toLoadNamespaces: toLoadNamespaces - }; - }; - - Connector.prototype.loaded = function loaded(name, err, data) { - var _this3 = this; - - var _name$split = name.split('|'), - _name$split2 = slicedToArray(_name$split, 2), - lng = _name$split2[0], - ns = _name$split2[1]; - - if (err) this.emit('failedLoading', lng, ns, err); - - if (data) { - this.store.addResourceBundle(lng, ns, data); - } - - // set loaded - this.state[name] = err ? -1 : 2; - // callback if ready - this.queue.forEach(function (q) { - pushPath(q.loaded, [lng], ns); - remove(q.pending, name); - - if (err) q.errors.push(err); - - if (q.pending.length === 0 && !q.done) { - q.errors.length ? q.callback(q.errors) : q.callback(); - _this3.emit('loaded', q.loaded); - q.done = true; - } - }); - - // remove done load requests - this.queue = this.queue.filter(function (q) { - return !q.done; - }); - }; - - Connector.prototype.read = function read(lng, ns, fcName, tried, wait, callback) { - var _this4 = this; - - if (!tried) tried = 0; - if (!wait) wait = 250; - - if (!lng.length) return callback(null, {}); // noting to load - - this.backend[fcName](lng, ns, function (err, data) { - if (err && data /* = retryFlag */ && tried < 5) { - setTimeout(function () { - _this4.read.call(_this4, lng, ns, fcName, ++tried, wait * 2, callback); - }, wait); - return; - } - callback(err, data); - }); - }; - - Connector.prototype.load = function load(languages, namespaces, callback) { - var _this5 = this; - - if (!this.backend) { - this.logger.warn('No backend was added via i18next.use. Will not load resources.'); - return callback && callback(); - } - var options = _extends({}, this.backend.options, this.options.backend); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - var toLoad = this.queueLoad(languages, namespaces, callback); - if (!toLoad.toLoad.length) { - if (!toLoad.pending.length) callback(); // nothing to load and no pendings...callback now - return; // pendings will trigger callback - } - - // load with multi-load - if (options.allowMultiLoading && this.backend.readMulti) { - this.read(toLoad.toLoadLanguages, toLoad.toLoadNamespaces, 'readMulti', null, null, function (err, data) { - if (err) _this5.logger.warn('loading namespaces ' + toLoad.toLoadNamespaces.join(', ') + ' for languages ' + toLoad.toLoadLanguages.join(', ') + ' via multiloading failed', err); - if (!err && data) _this5.logger.log('loaded namespaces ' + toLoad.toLoadNamespaces.join(', ') + ' for languages ' + toLoad.toLoadLanguages.join(', ') + ' via multiloading', data); - - toLoad.toLoad.forEach(function (name) { - var _name$split3 = name.split('|'), - _name$split4 = slicedToArray(_name$split3, 2), - l = _name$split4[0], - n = _name$split4[1]; - - var bundle = getPath(data, [l, n]); - if (bundle) { - _this5.loaded(name, err, bundle); - } else { - var _err = 'loading namespace ' + n + ' for language ' + l + ' via multiloading failed'; - _this5.loaded(name, _err); - _this5.logger.error(_err); - } - }); - }); - } - - // load one by one - else { - (function () { - var readOne = function readOne(name) { - var _this6 = this; - - var _name$split5 = name.split('|'), - _name$split6 = slicedToArray(_name$split5, 2), - lng = _name$split6[0], - ns = _name$split6[1]; - - this.read(lng, ns, 'read', null, null, function (err, data) { - if (err) _this6.logger.warn('loading namespace ' + ns + ' for language ' + lng + ' failed', err); - if (!err && data) _this6.logger.log('loaded namespace ' + ns + ' for language ' + lng, data); - - _this6.loaded(name, err, data); - }); - }; - - - - toLoad.toLoad.forEach(function (name) { - readOne.call(_this5, name); - }); - })(); - } - }; - - Connector.prototype.reload = function reload(languages, namespaces) { - var _this7 = this; - - if (!this.backend) { - this.logger.warn('No backend was added via i18next.use. Will not load resources.'); - } - var options = _extends({}, this.backend.options, this.options.backend); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - // load with multi-load - if (options.allowMultiLoading && this.backend.readMulti) { - this.read(languages, namespaces, 'readMulti', null, null, function (err, data) { - if (err) _this7.logger.warn('reloading namespaces ' + namespaces.join(', ') + ' for languages ' + languages.join(', ') + ' via multiloading failed', err); - if (!err && data) _this7.logger.log('reloaded namespaces ' + namespaces.join(', ') + ' for languages ' + languages.join(', ') + ' via multiloading', data); - - languages.forEach(function (l) { - namespaces.forEach(function (n) { - var bundle = getPath(data, [l, n]); - if (bundle) { - _this7.loaded(l + '|' + n, err, bundle); - } else { - var _err2 = 'reloading namespace ' + n + ' for language ' + l + ' via multiloading failed'; - _this7.loaded(l + '|' + n, _err2); - _this7.logger.error(_err2); - } - }); - }); - }); - } - - // load one by one - else { - (function () { - var readOne = function readOne(name) { - var _this8 = this; - - var _name$split7 = name.split('|'), - _name$split8 = slicedToArray(_name$split7, 2), - lng = _name$split8[0], - ns = _name$split8[1]; - - this.read(lng, ns, 'read', null, null, function (err, data) { - if (err) _this8.logger.warn('reloading namespace ' + ns + ' for language ' + lng + ' failed', err); - if (!err && data) _this8.logger.log('reloaded namespace ' + ns + ' for language ' + lng, data); - - _this8.loaded(name, err, data); - }); - }; - - - - languages.forEach(function (l) { - namespaces.forEach(function (n) { - readOne.call(_this7, l + '|' + n); - }); - }); - })(); - } - }; - - Connector.prototype.saveMissing = function saveMissing(languages, namespace, key, fallbackValue) { - if (this.backend && this.backend.create) this.backend.create(languages, namespace, key, fallbackValue); - - // write to store to avoid resending - if (!languages || !languages[0]) return; - this.store.addResource(languages[0], namespace, key, fallbackValue); - }; - - return Connector; -}(EventEmitter); - -var Connector$1 = function (_EventEmitter) { - inherits(Connector, _EventEmitter); - - function Connector(cache, store, services) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - classCallCheck(this, Connector); - - var _this = possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.cache = cache; - _this.store = store; - _this.services = services; - _this.options = options; - _this.logger = baseLogger.create('cacheConnector'); - - _this.cache && _this.cache.init && _this.cache.init(services, options.cache, options); - return _this; - } - - Connector.prototype.load = function load(languages, namespaces, callback) { - var _this2 = this; - - if (!this.cache) return callback && callback(); - var options = _extends({}, this.cache.options, this.options.cache); - - if (typeof languages === 'string') languages = this.services.languageUtils.toResolveHierarchy(languages); - if (typeof namespaces === 'string') namespaces = [namespaces]; - - if (options.enabled) { - this.cache.load(languages, function (err, data) { - if (err) _this2.logger.error('loading languages ' + languages.join(', ') + ' from cache failed', err); - if (data) { - for (var l in data) { - for (var n in data[l]) { - if (n === 'i18nStamp') continue; - var bundle = data[l][n]; - if (bundle) _this2.store.addResourceBundle(l, n, bundle); - } - } - } - if (callback) callback(); - }); - } else { - if (callback) callback(); - } - }; - - Connector.prototype.save = function save() { - if (this.cache && this.options.cache && this.options.cache.enabled) this.cache.save(this.store.data); - }; - - return Connector; -}(EventEmitter); - -function get$1() { - return { - debug: false, - initImmediate: true, - - ns: ['translation'], - defaultNS: ['translation'], - fallbackLng: ['dev'], - fallbackNS: false, // string or array of namespaces - - whitelist: false, // array with whitelisted languages - nonExplicitWhitelist: false, - load: 'all', // | currentOnly | languageOnly - preload: false, // array with preload languages - - keySeparator: '.', - nsSeparator: ':', - pluralSeparator: '_', - contextSeparator: '_', - - saveMissing: false, // enable to send missing values - saveMissingTo: 'fallback', // 'current' || 'all' - missingKeyHandler: false, // function(lng, ns, key, fallbackValue) -> override if prefer on handling - - postProcess: false, // string or array of postProcessor names - returnNull: true, // allows null value as valid translation - returnEmptyString: true, // allows empty string value as valid translation - returnObjects: false, - joinArrays: false, // or string to join array - returnedObjectHandler: function returnedObjectHandler() {}, // function(key, value, options) triggered if key returns object but returnObjects is set to false - parseMissingKeyHandler: false, // function(key) parsed a key that was not found in t() before returning - appendNamespaceToMissingKey: false, - overloadTranslationOptionHandler: function overloadTranslationOptionHandler(args) { - return { defaultValue: args[1] }; - }, - - interpolation: { - escapeValue: true, - format: function format(value, _format, lng) { - return value; - }, - prefix: '{{', - suffix: '}}', - formatSeparator: ',', - // prefixEscaped: '{{', - // suffixEscaped: '}}', - // unescapeSuffix: '', - unescapePrefix: '-', - - nestingPrefix: '$t(', - nestingSuffix: ')', - // nestingPrefixEscaped: '$t(', - // nestingSuffixEscaped: ')', - defaultVariables: undefined // object that can have values to interpolate on - extends passed in interpolation data - } - }; -} - -function transformOptions(options) { - // create namespace object if namespace is passed in as string - if (typeof options.ns === 'string') options.ns = [options.ns]; - if (typeof options.fallbackLng === 'string') options.fallbackLng = [options.fallbackLng]; - if (typeof options.fallbackNS === 'string') options.fallbackNS = [options.fallbackNS]; - - // extend whitelist with cimode - if (options.whitelist && options.whitelist.indexOf('cimode') < 0) options.whitelist.push('cimode'); - - return options; -} - -var I18n = function (_EventEmitter) { - inherits(I18n, _EventEmitter); - - function I18n() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - classCallCheck(this, I18n); - - var _this = possibleConstructorReturn(this, _EventEmitter.call(this)); - - _this.options = transformOptions(options); - _this.services = {}; - _this.logger = baseLogger; - _this.modules = {}; - - if (callback && !_this.isInitialized) _this.init(options, callback); - return _this; - } - - I18n.prototype.init = function init(options, callback) { - var _this2 = this; - - if (typeof options === 'function') { - callback = options; - options = {}; - } - if (!options) options = {}; - - if (options.compatibilityAPI === 'v1') { - this.options = _extends({}, get$1(), transformOptions(convertAPIOptions(options)), {}); - } else if (options.compatibilityJSON === 'v1') { - this.options = _extends({}, get$1(), transformOptions(convertJSONOptions(options)), {}); - } else { - this.options = _extends({}, get$1(), this.options, transformOptions(options)); - } - if (!callback) callback = function callback() {}; - - function createClassOnDemand(ClassOrObject) { - if (!ClassOrObject) return; - if (typeof ClassOrObject === 'function') return new ClassOrObject(); - return ClassOrObject; - } - - // init services - if (!this.options.isClone) { - if (this.modules.logger) { - baseLogger.init(createClassOnDemand(this.modules.logger), this.options); - } else { - baseLogger.init(null, this.options); - } - - var lu = new LanguageUtil(this.options); - this.store = new ResourceStore(this.options.resources, this.options); - - var s = this.services; - s.logger = baseLogger; - s.resourceStore = this.store; - s.resourceStore.on('added removed', function (lng, ns) { - s.cacheConnector.save(); - }); - s.languageUtils = lu; - s.pluralResolver = new PluralResolver(lu, { prepend: this.options.pluralSeparator, compatibilityJSON: this.options.compatibilityJSON }); - s.interpolator = new Interpolator(this.options); - - s.backendConnector = new Connector(createClassOnDemand(this.modules.backend), s.resourceStore, s, this.options); - // pipe events from backendConnector - s.backendConnector.on('*', function (event) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - - s.backendConnector.on('loaded', function (loaded) { - s.cacheConnector.save(); - }); - - s.cacheConnector = new Connector$1(createClassOnDemand(this.modules.cache), s.resourceStore, s, this.options); - // pipe events from backendConnector - s.cacheConnector.on('*', function (event) { - for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - args[_key2 - 1] = arguments[_key2]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - - if (this.modules.languageDetector) { - s.languageDetector = createClassOnDemand(this.modules.languageDetector); - s.languageDetector.init(s, this.options.detection, this.options); - } - - this.translator = new Translator(this.services, this.options); - // pipe events from translator - this.translator.on('*', function (event) { - for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) { - args[_key3 - 1] = arguments[_key3]; - } - - _this2.emit.apply(_this2, [event].concat(args)); - }); - } - - // append api - var storeApi = ['getResource', 'addResource', 'addResources', 'addResourceBundle', 'removeResourceBundle', 'hasResourceBundle', 'getResourceBundle']; - storeApi.forEach(function (fcName) { - _this2[fcName] = function () { - return this.store[fcName].apply(this.store, arguments); - }; - }); - - // TODO: COMPATIBILITY remove this - if (this.options.compatibilityAPI === 'v1') appendBackwardsAPI(this); - - var load = function load() { - _this2.changeLanguage(_this2.options.lng, function (err, t) { - _this2.emit('initialized', _this2.options); - _this2.logger.log('initialized', _this2.options); - - callback(err, t); - }); - }; - - if (this.options.resources || !this.options.initImmediate) { - load(); - } else { - setTimeout(load, 0); - } - - return this; - }; - - I18n.prototype.loadResources = function loadResources(callback) { - var _this3 = this; - - if (!callback) callback = function callback() {}; - - if (!this.options.resources) { - var _ret = function () { - if (_this3.language && _this3.language.toLowerCase() === 'cimode') return { - v: callback() - }; // avoid loading resources for cimode - - var toLoad = []; - - var append = function append(lng) { - var lngs = _this3.services.languageUtils.toResolveHierarchy(lng); - lngs.forEach(function (l) { - if (toLoad.indexOf(l) < 0) toLoad.push(l); - }); - }; - - append(_this3.language); - - if (_this3.options.preload) { - _this3.options.preload.forEach(function (l) { - append(l); - }); - } - - _this3.services.cacheConnector.load(toLoad, _this3.options.ns, function () { - _this3.services.backendConnector.load(toLoad, _this3.options.ns, callback); - }); - }(); - - if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; - } else { - callback(null); - } - }; - - I18n.prototype.reloadResources = function reloadResources(lngs, ns) { - if (!lngs) lngs = this.languages; - if (!ns) ns = this.options.ns; - this.services.backendConnector.reload(lngs, ns); - }; - - I18n.prototype.use = function use(module) { - if (module.type === 'backend') { - this.modules.backend = module; - } - - if (module.type === 'cache') { - this.modules.cache = module; - } - - if (module.type === 'logger' || module.log && module.warn && module.warn) { - this.modules.logger = module; - } - - if (module.type === 'languageDetector') { - this.modules.languageDetector = module; - } - - if (module.type === 'postProcessor') { - postProcessor.addPostProcessor(module); - } - - return this; - }; - - I18n.prototype.changeLanguage = function changeLanguage(lng, callback) { - var _this4 = this; - - var done = function done(err) { - if (lng) { - _this4.emit('languageChanged', lng); - _this4.logger.log('languageChanged', lng); - } - - if (callback) callback(err, function () { - for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { - args[_key4] = arguments[_key4]; - } - - return _this4.t.apply(_this4, args); - }); - }; - - if (!lng && this.services.languageDetector) lng = this.services.languageDetector.detect(); - - if (lng) { - this.language = lng; - this.languages = this.services.languageUtils.toResolveHierarchy(lng); - - this.translator.changeLanguage(lng); - - if (this.services.languageDetector) this.services.languageDetector.cacheUserLanguage(lng); - } - - this.loadResources(function (err) { - done(err); - }); - }; - - I18n.prototype.getFixedT = function getFixedT(lng, ns) { - var _this5 = this; - - var fixedT = function fixedT(key, options) { - options = options || {}; - options.lng = options.lng || fixedT.lng; - options.ns = options.ns || fixedT.ns; - return _this5.t(key, options); - }; - fixedT.lng = lng; - fixedT.ns = ns; - return fixedT; - }; - - I18n.prototype.t = function t() { - return this.translator && this.translator.translate.apply(this.translator, arguments); - }; - - I18n.prototype.exists = function exists() { - return this.translator && this.translator.exists.apply(this.translator, arguments); - }; - - I18n.prototype.setDefaultNamespace = function setDefaultNamespace(ns) { - this.options.defaultNS = ns; - }; - - I18n.prototype.loadNamespaces = function loadNamespaces(ns, callback) { - var _this6 = this; - - if (!this.options.ns) return callback && callback(); - if (typeof ns === 'string') ns = [ns]; - - ns.forEach(function (n) { - if (_this6.options.ns.indexOf(n) < 0) _this6.options.ns.push(n); - }); - - this.loadResources(callback); - }; - - I18n.prototype.loadLanguages = function loadLanguages(lngs, callback) { - if (typeof lngs === 'string') lngs = [lngs]; - var preloaded = this.options.preload || []; - - var newLngs = lngs.filter(function (lng) { - return preloaded.indexOf(lng) < 0; - }); - // Exit early if all given languages are already preloaded - if (!newLngs.length) return callback(); - - this.options.preload = preloaded.concat(newLngs); - this.loadResources(callback); - }; - - I18n.prototype.dir = function dir(lng) { - if (!lng) lng = this.language; - if (!lng) return 'rtl'; - - var rtlLngs = ['ar', 'shu', 'sqr', 'ssh', 'xaa', 'yhd', 'yud', 'aao', 'abh', 'abv', 'acm', 'acq', 'acw', 'acx', 'acy', 'adf', 'ads', 'aeb', 'aec', 'afb', 'ajp', 'apc', 'apd', 'arb', 'arq', 'ars', 'ary', 'arz', 'auz', 'avl', 'ayh', 'ayl', 'ayn', 'ayp', 'bbz', 'pga', 'he', 'iw', 'ps', 'pbt', 'pbu', 'pst', 'prp', 'prd', 'ur', 'ydd', 'yds', 'yih', 'ji', 'yi', 'hbo', 'men', 'xmn', 'fa', 'jpr', 'peo', 'pes', 'prs', 'dv', 'sam']; - - return rtlLngs.indexOf(this.services.languageUtils.getLanguagePartFromCode(lng)) >= 0 ? 'rtl' : 'ltr'; - }; - - I18n.prototype.createInstance = function createInstance() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - - return new I18n(options, callback); - }; - - I18n.prototype.cloneInstance = function cloneInstance() { - var _this7 = this; - - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var callback = arguments[1]; - - var clone = new I18n(_extends({}, options, this.options, { isClone: true }), callback); - var membersToCopy = ['store', 'services', 'language']; - membersToCopy.forEach(function (m) { - clone[m] = _this7[m]; - }); - clone.translator = new Translator(clone.services, clone.options); - clone.translator.on('*', function (event) { - for (var _len5 = arguments.length, args = Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) { - args[_key5 - 1] = arguments[_key5]; - } - - clone.emit.apply(clone, [event].concat(args)); - }); - - return clone; - }; - - return I18n; -}(EventEmitter); - -var i18next$1 = new I18n(); - -return i18next$1; - -}))); diff --git a/src/node_modules/i18next/i18next.min.js b/src/node_modules/i18next/i18next.min.js deleted file mode 100644 index 935b01b..0000000 --- a/src/node_modules/i18next/i18next.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.i18next=e()}(this,function(){"use strict";function t(t){return null==t?"":""+t}function e(t,e,n){t.forEach(function(t){e[t]&&(n[t]=e[t])})}function n(t,e,n){function o(t){return t&&t.indexOf("###")>-1?t.replace(/###/g,"."):t}for(var r="string"!=typeof e?[].concat(e):e.split(".");r.length>1;){if(!t)return{};var i=o(r.shift());!t[i]&&n&&(t[i]=new n),t=t[i]}return t?{obj:t,k:o(r.shift())}:{}}function o(t,e,o){var r=n(t,e,Object),i=r.obj,a=r.k;i[a]=o}function r(t,e,o,r){var i=n(t,e,Object),a=i.obj,s=i.k;a[s]=a[s]||[],r&&(a[s]=a[s].concat(o)),r||a[s].push(o)}function i(t,e){var o=n(t,e),r=o.obj,i=o.k;if(r)return r[i]}function a(t,e,n){for(var o in e)o in t?"string"==typeof t[o]||t[o]instanceof String||"string"==typeof e[o]||e[o]instanceof String?n&&(t[o]=e[o]):a(t[o],e[o],n):t[o]=e[o];return t}function s(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function u(t){return"string"==typeof t?t.replace(/[&<>"'\/]/g,function(t){return P[t]}):t}function l(t){return t.interpolation={unescapeSuffix:"HTML"},t.interpolation.prefix=t.interpolationPrefix||"__",t.interpolation.suffix=t.interpolationSuffix||"__",t.interpolation.escapeValue=t.escapeInterpolation||!1,t.interpolation.nestingPrefix=t.reusePrefix||"$t(",t.interpolation.nestingSuffix=t.reuseSuffix||")",t}function c(t){return t.resStore&&(t.resources=t.resStore),t.ns&&t.ns.defaultNs?(t.defaultNS=t.ns.defaultNs,t.ns=t.ns.namespaces):t.defaultNS=t.ns||"translation",t.fallbackToDefaultNS&&t.defaultNS&&(t.fallbackNS=t.defaultNS),t.saveMissing=t.sendMissing,t.saveMissingTo=t.sendMissingTo||"current",t.returnNull=!t.fallbackOnNull,t.returnEmptyString=!t.fallbackOnEmpty,t.returnObjects=t.returnObjectTrees,t.joinArrays="\n",t.returnedObjectHandler=t.objectTreeKeyHandler,t.parseMissingKeyHandler=t.parseMissingKey,t.appendNamespaceToMissingKey=!0,t.nsSeparator=t.nsseparator,t.keySeparator=t.keyseparator,"sprintf"===t.shortcutFunction&&(t.overloadTranslationOptionHandler=function(t){for(var e=[],n=1;n1&&void 0!==arguments[1]?arguments[1]:{};x(this,t),this.subs=[],this.init(e,n)}return t.prototype.init=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||N,this.options=e,this.debug=e.debug!==!1},t.prototype.setDebug=function(t){this.debug=t,this.subs.forEach(function(e){e.setDebug(t)})},t.prototype.log=function(){this.forward(arguments,"log","",!0)},t.prototype.warn=function(){this.forward(arguments,"warn","",!0)},t.prototype.error=function(){this.forward(arguments,"error","")},t.prototype.deprecate=function(){this.forward(arguments,"warn","WARNING DEPRECATED: ",!0)},t.prototype.forward=function(t,e,n,o){o&&!this.debug||("string"==typeof t[0]&&(t[0]=n+this.prefix+" "+t[0]),this.logger[e](t))},t.prototype.create=function(e){var n=new t(this.logger,k({prefix:this.prefix+":"+e+":"},this.options));return this.subs.push(n),n},t}(),j=new L,C=function(){function t(){x(this,t),this.observers={}}return t.prototype.on=function(t,e){var n=this;t.split(" ").forEach(function(t){n.observers[t]=n.observers[t]||[],n.observers[t].push(e)})},t.prototype.off=function(t,e){var n=this;this.observers[t]&&this.observers[t].forEach(function(){if(e){var o=n.observers[t].indexOf(e);o>-1&&n.observers[t].splice(o,1)}else delete n.observers[t]})},t.prototype.emit=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o":">",'"':""","'":"'","/":"/"},R=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};x(this,e);var r=w(this,t.call(this));return r.data=n,r.options=o,r}return S(e,t),e.prototype.addNamespaces=function(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)},e.prototype.removeNamespaces=function(t){var e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)},e.prototype.getResource=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=o.keySeparator||this.options.keySeparator;void 0===r&&(r=".");var a=[t,e];return n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(r?n.split(r):n)),t.indexOf(".")>-1&&(a=t.split(".")),i(this.data,a)},e.prototype.addResource=function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var s=[t,e];n&&(s=s.concat(a?n.split(a):n)),t.indexOf(".")>-1&&(s=t.split("."),r=e,e=s[1]),this.addNamespaces(e),o(this.data,s,r),i.silent||this.emit("added",t,e,n,r)},e.prototype.addResources=function(t,e,n){for(var o in n)"string"==typeof n[o]&&this.addResource(t,e,o,n[o],{silent:!0});this.emit("added",t,e,n)},e.prototype.addResourceBundle=function(t,e,n,r,s){var u=[t,e];t.indexOf(".")>-1&&(u=t.split("."),r=n,n=e,e=u[1]),this.addNamespaces(e);var l=i(this.data,u)||{};r?a(l,n,s):l=k({},l,n),o(this.data,u,l),this.emit("added",t,e,n)},e.prototype.removeResourceBundle=function(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)},e.prototype.hasResourceBundle=function(t,e){return void 0!==this.getResource(t,e)},e.prototype.getResourceBundle=function(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?k({},this.getResource(t,e)):this.getResource(t,e)},e.prototype.toJSON=function(){return this.data},e}(C),E={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,e,n,o,r){var i=this;return t.forEach(function(t){i.processors[t]&&(e=i.processors[t].process(e,n,o,r))}),e}},_=function(t){function n(o){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(this,n);var i=w(this,t.call(this));return e(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector"],o,i),i.options=r,i.logger=j.create("translator"),i}return S(n,t),n.prototype.changeLanguage=function(t){t&&(this.language=t)},n.prototype.exists=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};return"v1"===this.options.compatibilityAPI&&(e=f(e)),void 0!==this.resolve(t,e)},n.prototype.extractFromKey=function(t,e){var n=e.nsSeparator||this.options.nsSeparator;void 0===n&&(n=":");var o=e.ns||this.options.defaultNS;if(n&&t.indexOf(n)>-1){var r=t.split(n);o=r[0],t=r[1]}return"string"==typeof o&&(o=[o]),{key:t,namespaces:o}},n.prototype.translate=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==("undefined"==typeof e?"undefined":m(e))?e=this.options.overloadTranslationOptionHandler(arguments):"v1"===this.options.compatibilityAPI&&(e=f(e)),void 0===t||null===t||""===t)return"";"number"==typeof t&&(t=String(t)),"string"==typeof t&&(t=[t]);var n=e.lng||this.language;if(n&&"cimode"===n.toLowerCase())return t[t.length-1];var o=e.keySeparator||this.options.keySeparator||".",r=this.extractFromKey(t[t.length-1],e),i=r.key,a=r.namespaces,s=a[a.length-1],u=this.resolve(t,e),l=Object.prototype.toString.apply(u),c=["[object Number]","[object Function]","[object RegExp]"],p=void 0!==e.joinArrays?e.joinArrays:this.options.joinArrays;if(u&&"string"!=typeof u&&c.indexOf(l)<0&&(!p||"[object Array]"!==l)){if(!e.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(i,u,e):"key '"+i+" ("+this.language+")' returned an object instead of string.";var g="[object Array]"===l?[]:{};for(var h in u)g[h]=this.translate(""+i+o+h,k({joinArrays:!1,ns:a},e));u=g}else if(p&&"[object Array]"===l)u=u.join(p),u&&(u=this.extendTranslation(u,i,e));else{var d=!1,v=!1;if(this.isValidLookup(u)||void 0===e.defaultValue||(d=!0,u=e.defaultValue),this.isValidLookup(u)||(v=!0,u=i),v||d){this.logger.log("missingKey",n,s,i,u);var y=[],b=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if("fallback"===this.options.saveMissingTo&&b&&b[0])for(var x=0;x1&&void 0!==arguments[1]?arguments[1]:{},o=void 0;return"string"==typeof t&&(t=[t]),t.forEach(function(t){if(!e.isValidLookup(o)){var r=e.extractFromKey(t,n),i=r.key,a=r.namespaces;e.options.fallbackNS&&(a=a.concat(e.options.fallbackNS));var s=void 0!==n.count&&"string"!=typeof n.count,u=void 0!==n.context&&"string"==typeof n.context&&""!==n.context,l=n.lngs?n.lngs:e.languageUtils.toResolveHierarchy(n.lng||e.language);a.forEach(function(t){e.isValidLookup(o)||l.forEach(function(r){if(!e.isValidLookup(o)){var a=i,l=[a],c=void 0;s&&(c=e.pluralResolver.getSuffix(r,n.count)),s&&u&&l.push(a+c),u&&l.push(a+=""+e.options.contextSeparator+n.context),s&&l.push(a+=c);for(var p=void 0;p=l.pop();)e.isValidLookup(o)||(o=e.getResource(r,t,p,n))}})})}}),o},n.prototype.isValidLookup=function(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)},n.prototype.getResource=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.resourceStore.getResource(t,e,n,o)},n}(C),A=function(){function t(e){x(this,t),this.options=e,this.whitelist=this.options.whitelist||!1,this.logger=j.create("languageUtils")}return t.prototype.getLanguagePartFromCode=function(t){if(t.indexOf("-")<0)return t;var e=["NB-NO","NN-NO","nb-NO","nn-NO","nb-no","nn-no"],n=t.split("-");return this.formatLanguageCode(e.indexOf(t)>-1?n[1].toLowerCase():n[0])},t.prototype.getScriptPartFromCode=function(t){if(t.indexOf("-")<0)return null;var e=t.split("-");return 2===e.length?null:(e.pop(),this.formatLanguageCode(e.join("-")))},t.prototype.getLanguagePartFromCode=function(t){if(t.indexOf("-")<0)return t;var e=["NB-NO","NN-NO","nb-NO","nn-NO","nb-no","nn-no"],n=t.split("-");return this.formatLanguageCode(e.indexOf(t)>-1?n[1].toLowerCase():n[0])},t.prototype.formatLanguageCode=function(t){if("string"==typeof t&&t.indexOf("-")>-1){var e=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map(function(t){return t.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=h(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=h(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=h(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t},t.prototype.isWhitelisted=function(t,e){return("languageOnly"===this.options.load||this.options.nonExplicitWhitelist&&!e)&&(t=this.getLanguagePartFromCode(t)),!this.whitelist||!this.whitelist.length||this.whitelist.indexOf(t)>-1},t.prototype.getFallbackCodes=function(t,e){if(!t)return[];if("string"==typeof t&&(t=[t]),"[object Array]"===Object.prototype.toString.apply(t))return t;var n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t.default),n||[]},t.prototype.toResolveHierarchy=function(t,e){var n=this,o=this.getFallbackCodes(e||this.options.fallbackLng||[],t),r=[],i=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t&&(n.isWhitelisted(t,e)?r.push(t):n.logger.warn("rejecting non-whitelisted language code: "+t))};return"string"==typeof t&&t.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(t),!0),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(t),!0),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(t))):"string"==typeof t&&i(this.formatLanguageCode(t)),o.forEach(function(t){r.indexOf(t)<0&&i(n.formatLanguageCode(t))}),r},t}(),M=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","tg","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","es_ar","et","eu","fi","fo","fur","fy","gl","gu","ha","he","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt","pt_br","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21}],T={1:function(t){return Number(t>1)},2:function(t){return Number(1!=t)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(0===t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(1==t?0:t>=2&&t<=4?1:2)},7:function(t){return Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(1==t?0:2==t?1:8!=t&&11!=t?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(1==t?0:2==t?1:t<7?2:t<11?3:4)},11:function(t){return Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(0!==t)},14:function(t){return Number(1==t?0:2==t?1:3==t?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:0!==t?1:2)},17:function(t){return Number(1==t||t%10==1?0:1)},18:function(t){return Number(0==t?0:1==t?1:2)},19:function(t){return Number(1==t?0:0===t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(1==t?0:0===t||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)}},H=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(this,t),this.languageUtils=e,this.options=n,this.logger=j.create("pluralResolver"),this.rules=d()}return t.prototype.addRule=function(t,e){this.rules[t]=e},t.prototype.getRule=function(t){return this.rules[this.languageUtils.getLanguagePartFromCode(t)]},t.prototype.needsPlural=function(t){var e=this.getRule(t);return!(e&&e.numbers.length<=1)},t.prototype.getSuffix=function(t,e){var n=this,o=this.getRule(t);if(!o)return this.logger.warn("no plural rule found for: "+t),"";var r=function(){if(1===o.numbers.length)return{v:""};var t=o.noAbs?o.plurals(e):o.plurals(Math.abs(e)),r=o.numbers[t];2===o.numbers.length&&1===o.numbers[0]&&(2===r?r="plural":1===r&&(r=""));var i=function(){return n.options.prepend&&r.toString()?n.options.prepend+r.toString():r.toString()};return"v1"===n.options.compatibilityJSON?1===r?{v:""}:"number"==typeof r?{v:"_plural_"+r.toString()}:{v:i()}:"v2"===n.options.compatibilityJSON||2===o.numbers.length&&1===o.numbers[0]?{v:i()}:2===o.numbers.length&&1===o.numbers[0]?{v:i()}:{v:n.options.prepend&&t.toString()?n.options.prepend+t.toString():t.toString()}}();return"object"===("undefined"==typeof r?"undefined":m(r))?r.v:void 0},t}(),V=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x(this,e),this.logger=j.create("interpolator"),this.init(t,!0)}return e.prototype.init=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];e&&(this.options=t,this.format=t.interpolation&&t.interpolation.format||function(t){return t}),t.interpolation||(t.interpolation={escapeValue:!0});var n=t.interpolation;this.escapeValue=void 0===n.escapeValue||n.escapeValue,this.prefix=n.prefix?s(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?s(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?s(n.formatSeparator):n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?s(n.nestingPrefix):n.nestingPrefixEscaped||s("$t("),this.nestingSuffix=n.nestingSuffix?s(n.nestingSuffix):n.nestingSuffixEscaped||s(")"),this.resetRegExp()},e.prototype.reset=function(){this.options&&this.init(this.options)},e.prototype.resetRegExp=function(){var t=this.prefix+"(.+?)"+this.suffix;this.regexp=new RegExp(t,"g");var e=this.prefix+this.unescapePrefix+"(.+?)"+this.unescapeSuffix+this.suffix;this.regexpUnescape=new RegExp(e,"g");var n=this.nestingPrefix+"(.+?)"+this.nestingSuffix;this.nestingRegexp=new RegExp(n,"g")},e.prototype.interpolate=function(e,n,o){function r(t){return t.replace(/\$/g,"$$$$")}var a=this,s=void 0,l=void 0,c=function(t){if(t.indexOf(a.formatSeparator)<0)return i(n,t);var e=t.split(a.formatSeparator),r=e.shift().trim(),s=e.join(a.formatSeparator).trim();return a.format(i(n,r),s,o)};for(this.resetRegExp();s=this.regexpUnescape.exec(e);){var p=c(s[1].trim());e=e.replace(s[0],p),this.regexpUnescape.lastIndex=0}for(;s=this.regexp.exec(e);)l=c(s[1].trim()),"string"!=typeof l&&(l=t(l)),l||(this.logger.warn("missed to pass in variable "+s[1]+" for interpolating "+e),l=""),l=r(this.escapeValue?u(l):l),e=e.replace(s[0],l),this.regexp.lastIndex=0;return e},e.prototype.nest=function(e,n){function o(t){return t.replace(/\$/g,"$$$$")}function r(t){if(t.indexOf(",")<0)return t;var e=t.split(",");t=e.shift();var n=e.join(",");n=this.interpolate(n,l);try{l=JSON.parse(n)}catch(e){this.logger.error("failed parsing options string in nesting for key "+t,e)}return t}var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=void 0,s=void 0,l=JSON.parse(JSON.stringify(i));for(l.applyPostProcessor=!1;a=this.nestingRegexp.exec(e);)s=n(r.call(this,a[1].trim()),l),"string"!=typeof s&&(s=t(s)),s||(this.logger.warn("missed to pass in variable "+a[1]+" for interpolating "+e),s=""),s=o(this.escapeValue?u(s):s),e=e.replace(a[0],s),this.regexp.lastIndex=0;return e},e}(),U=function(t){function e(n,o,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};x(this,e);var a=w(this,t.call(this));return a.backend=n,a.store=o,a.services=r,a.options=i,a.logger=j.create("backendConnector"),a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(r,i.backend,i),a}return S(e,t),e.prototype.queueLoad=function(t,e,n){var o=this,r=[],i=[],a=[],s=[];return t.forEach(function(t){var n=!0;e.forEach(function(e){var a=t+"|"+e;o.store.hasResourceBundle(t,e)?o.state[a]=2:o.state[a]<0||(1===o.state[a]?i.indexOf(a)<0&&i.push(a):(o.state[a]=1,n=!1,i.indexOf(a)<0&&i.push(a),r.indexOf(a)<0&&r.push(a),s.indexOf(e)<0&&s.push(e)))}),n||a.push(t)}),(r.length||i.length)&&this.queue.push({pending:i,loaded:{},errors:[],callback:n}),{toLoad:r,pending:i,toLoadLanguages:a,toLoadNamespaces:s}},e.prototype.loaded=function(t,e,n){var o=this,i=t.split("|"),a=O(i,2),s=a[0],u=a[1];e&&this.emit("failedLoading",s,u,e),n&&this.store.addResourceBundle(s,u,n),this.state[t]=e?-1:2,this.queue.forEach(function(n){r(n.loaded,[s],u),v(n.pending,t),e&&n.errors.push(e),0!==n.pending.length||n.done||(n.errors.length?n.callback(n.errors):n.callback(),o.emit("loaded",n.loaded),n.done=!0)}),this.queue=this.queue.filter(function(t){return!t.done})},e.prototype.read=function(t,e,n,o,r,i){var a=this;return o||(o=0),r||(r=250),t.length?void this.backend[n](t,e,function(s,u){return s&&u&&o<5?void setTimeout(function(){a.read.call(a,t,e,n,++o,2*r,i)},r):void i(s,u)}):i(null,{})},e.prototype.load=function(t,e,n){var o=this;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();var r=k({},this.backend.options,this.options.backend);"string"==typeof t&&(t=this.services.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]);var a=this.queueLoad(t,e,n);return a.toLoad.length?void(r.allowMultiLoading&&this.backend.readMulti?this.read(a.toLoadLanguages,a.toLoadNamespaces,"readMulti",null,null,function(t,e){t&&o.logger.warn("loading namespaces "+a.toLoadNamespaces.join(", ")+" for languages "+a.toLoadLanguages.join(", ")+" via multiloading failed",t),!t&&e&&o.logger.log("loaded namespaces "+a.toLoadNamespaces.join(", ")+" for languages "+a.toLoadLanguages.join(", ")+" via multiloading",e),a.toLoad.forEach(function(n){var r=n.split("|"),a=O(r,2),s=a[0],u=a[1],l=i(e,[s,u]);if(l)o.loaded(n,t,l);else{var c="loading namespace "+u+" for language "+s+" via multiloading failed";o.loaded(n,c),o.logger.error(c)}})}):!function(){var t=function(t){var e=this,n=t.split("|"),o=O(n,2),r=o[0],i=o[1];this.read(r,i,"read",null,null,function(n,o){n&&e.logger.warn("loading namespace "+i+" for language "+r+" failed",n),!n&&o&&e.logger.log("loaded namespace "+i+" for language "+r,o),e.loaded(t,n,o)})};a.toLoad.forEach(function(e){t.call(o,e)})}()):void(a.pending.length||n())},e.prototype.reload=function(t,e){var n=this;this.backend||this.logger.warn("No backend was added via i18next.use. Will not load resources.");var o=k({},this.backend.options,this.options.backend);"string"==typeof t&&(t=this.services.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]),o.allowMultiLoading&&this.backend.readMulti?this.read(t,e,"readMulti",null,null,function(o,r){o&&n.logger.warn("reloading namespaces "+e.join(", ")+" for languages "+t.join(", ")+" via multiloading failed",o),!o&&r&&n.logger.log("reloaded namespaces "+e.join(", ")+" for languages "+t.join(", ")+" via multiloading",r),t.forEach(function(t){e.forEach(function(e){var a=i(r,[t,e]);if(a)n.loaded(t+"|"+e,o,a);else{var s="reloading namespace "+e+" for language "+t+" via multiloading failed";n.loaded(t+"|"+e,s),n.logger.error(s)}})})}):!function(){var o=function(t){var e=this,n=t.split("|"),o=O(n,2),r=o[0],i=o[1];this.read(r,i,"read",null,null,function(n,o){n&&e.logger.warn("reloading namespace "+i+" for language "+r+" failed",n),!n&&o&&e.logger.log("reloaded namespace "+i+" for language "+r,o),e.loaded(t,n,o)})};t.forEach(function(t){e.forEach(function(e){o.call(n,t+"|"+e)})})}()},e.prototype.saveMissing=function(t,e,n,o){this.backend&&this.backend.create&&this.backend.create(t,e,n,o),t&&t[0]&&this.store.addResource(t[0],e,n,o)},e}(C),F=function(t){function e(n,o,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};x(this,e);var a=w(this,t.call(this));return a.cache=n,a.store=o,a.services=r,a.options=i,a.logger=j.create("cacheConnector"),a.cache&&a.cache.init&&a.cache.init(r,i.cache,i),a}return S(e,t),e.prototype.load=function(t,e,n){var o=this;if(!this.cache)return n&&n();var r=k({},this.cache.options,this.options.cache);"string"==typeof t&&(t=this.services.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]),r.enabled?this.cache.load(t,function(e,r){if(e&&o.logger.error("loading languages "+t.join(", ")+" from cache failed",e),r)for(var i in r)for(var a in r[i])if("i18nStamp"!==a){var s=r[i][a];s&&o.store.addResourceBundle(i,a,s)}n&&n()}):n&&n()},e.prototype.save=function(){this.cache&&this.options.cache&&this.options.cache.enabled&&this.cache.save(this.store.data)},e}(C),I=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1];x(this,e);var r=w(this,t.call(this));return r.options=b(n),r.services={},r.logger=j,r.modules={},o&&!r.isInitialized&&r.init(n,o),r}return S(e,t),e.prototype.init=function(t,e){function n(t){if(t)return"function"==typeof t?new t:t}var o=this;if("function"==typeof t&&(e=t,t={}),t||(t={}),"v1"===t.compatibilityAPI?this.options=k({},y(),b(c(t)),{}):"v1"===t.compatibilityJSON?this.options=k({},y(),b(p(t)),{}):this.options=k({},y(),this.options,b(t)),e||(e=function(){}),!this.options.isClone){this.modules.logger?j.init(n(this.modules.logger),this.options):j.init(null,this.options);var r=new A(this.options);this.store=new R(this.options.resources,this.options);var i=this.services;i.logger=j,i.resourceStore=this.store,i.resourceStore.on("added removed",function(t,e){i.cacheConnector.save()}),i.languageUtils=r,i.pluralResolver=new H(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON}),i.interpolator=new V(this.options),i.backendConnector=new U(n(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r=0?"rtl":"ltr"},e.prototype.createInstance=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];return new e(t,n)},e.prototype.cloneInstance=function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],r=new e(k({},n,this.options,{isClone:!0}),o),i=["store","services","language"];return i.forEach(function(e){r[e]=t[e]}),r.translator=new _(r.services,r.options),r.translator.on("*",function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o=3.4.1 <4.0.0", - "_id": "i18next@3.5.2", - "_inCache": true, - "_installable": true, - "_location": "/i18next", - "_nodeVersion": "6.9.1", - "_npmOperationalInternal": { - "host": "packages-18-east.internal.npmjs.com", - "tmp": "tmp/i18next-3.5.2.tgz_1478722858053_0.3883735903073102" - }, - "_npmUser": { - "email": "jan.muehlemann@gmail.com", - "name": "jamuhl" - }, - "_npmVersion": "3.10.8", - "_phantomChildren": {}, - "_requested": { - "name": "i18next", - "raw": "i18next@^3.4.1", - "rawSpec": "^3.4.1", - "scope": null, - "spec": ">=3.4.1 <4.0.0", - "type": "range" - }, - "_requiredBy": [ - "/alexa-sdk" - ], - "_resolved": "https://registry.npmjs.org/i18next/-/i18next-3.5.2.tgz", - "_shasum": "930390d5c318ceaa4858b52dd0e40e6b203f9f41", - "_shrinkwrap": null, - "_spec": "i18next@^3.4.1", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/alexa-sdk", - "author": { - "email": "jan.muehlemann@gmail.com", - "name": "Jan Mühlemann", - "url": "https://github.com/jamuhl" - }, - "bugs": { - "url": "https://github.com/i18next/i18next/issues" - }, - "dependencies": {}, - "description": "i18next internationalization framework", - "devDependencies": { - "babel-cli": "6.18.0", - "babel-core": "6.18.2", - "babel-eslint": "7.1.0", - "babel-plugin-transform-es2015-classes": "6.18.0", - "babel-plugin-transform-proto-to-assign": "6.9.0", - "babel-preset-es2015": "6.18.0", - "babel-preset-es2015-rollup": "1.2.0", - "babel-preset-stage-0": "6.16.0", - "babelify": "7.3.0", - "browserify": "13.1.1", - "browserify-istanbul": "2.0.0", - "chai": "3.5.0", - "coveralls": "2.11.14", - "eslint": "3.9.1", - "eslint-config-airbnb": "13.0.0", - "eslint-plugin-import": "^2.2.0", - "eslint-plugin-jsx-a11y": "^3.0.1", - "eslint-plugin-react": "^6.6.0", - "i18next-browser-languagedetector": "1.0.1", - "i18next-localstorage-cache": "0.3.0", - "i18next-sprintf-postprocessor": "0.2.2", - "i18next-xhr-backend": "1.2.1", - "istanbul": "github:gotwarlost/istanbul#source-map", - "karma": "1.3.0", - "karma-browserify": "5.1.0", - "karma-chai": "0.1.0", - "karma-chrome-launcher": "2.0.0", - "karma-cli": "1.0.1", - "karma-coverage": "github:douglasduteil/karma-coverage#next", - "karma-coveralls": "1.1.2", - "karma-expect": "1.1.3", - "karma-mocha": "1.2.0", - "karma-phantomjs-launcher": "1.0.2", - "karma-rollup-preprocessor": "2.0.2", - "karma-sinon": "1.0.5", - "karma-spec-reporter": "0.0.26", - "mkdirp": "0.5.1", - "mocha": "3.1.2", - "phantomjs-prebuilt": "2.1.13", - "rimraf": "2.5.4", - "rollup": "0.36.3", - "rollup-plugin-babel": "2.6.1", - "rollup-plugin-node-resolve": "2.0.0", - "rollup-plugin-uglify": "1.0.1", - "sinon": "1.17.6", - "watchify": "3.7.0", - "yargs": "6.3.0" - }, - "directories": {}, - "dist": { - "shasum": "930390d5c318ceaa4858b52dd0e40e6b203f9f41", - "tarball": "https://registry.npmjs.org/i18next/-/i18next-3.5.2.tgz" - }, - "gitHead": "fc51e6861c987e865c606a7a3ebe2f43421f85ce", - "homepage": "http://i18next.com", - "jsnext:main": "dist/es/index.js", - "keywords": [ - "gettext", - "globalization", - "i18n", - "i18next", - "internationalization", - "l10n", - "localization", - "translation" - ], - "license": "MIT", - "main": "./index.js", - "maintainers": [ - { - "name": "adrai", - "email": "adriano@raiano.ch" - }, - { - "name": "jamuhl", - "email": "jan.muehlemann@gmail.com" - } - ], - "name": "i18next", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/i18next/i18next.git" - }, - "scripts": { - "build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run copy", - "build:amd": "rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format umd --uglify", - "build:cjs": "babel src --out-dir dist/commonjs", - "build:es": "BABEL_ENV=jsnext babel src --out-dir dist/es", - "build:iife": "rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify", - "build:umd": "rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify", - "clean": "rimraf dist && mkdirp dist", - "copy": "cp ./dist/umd/i18next.min.js ./i18next.min.js && cp ./dist/umd/i18next.js ./i18next.js", - "postversion": "git push && git push --tags", - "preversion": "npm run test && npm run build && git push", - "tdd": "karma start karma.conf.js", - "tdd:compat": "karma start karma.backward.conf.js", - "test": "npm run test:new && npm run test:compat", - "test:compat": "karma start karma.backward.conf.js --singleRun", - "test:new": "karma start karma.conf.js --singleRun" - }, - "version": "3.5.2" -} diff --git a/src/node_modules/i18next/rollup.config.js b/src/node_modules/i18next/rollup.config.js deleted file mode 100644 index da483b5..0000000 --- a/src/node_modules/i18next/rollup.config.js +++ /dev/null @@ -1,32 +0,0 @@ -import babel from 'rollup-plugin-babel'; -import uglify from 'rollup-plugin-uglify'; -import nodeResolve from 'rollup-plugin-node-resolve'; -import { argv } from 'yargs'; - -const format = argv.format || argv.f || 'iife'; -const compress = argv.uglify; - -const babelOptions = { - exclude: 'node_modules/**', - presets: ['es2015-rollup', 'stage-0'], - plugins: [['transform-es2015-classes', { loose: true }], 'transform-proto-to-assign'], - babelrc: false -}; - -const dest = { - amd: `dist/amd/i18next${compress ? '.min' : ''}.js`, - umd: `dist/umd/i18next${compress ? '.min' : ''}.js`, - iife: `dist/iife/i18next${compress ? '.min' : ''}.js` -}[format]; - -export default { - entry: 'src/index.js', - format, - plugins: [ - babel(babelOptions), - nodeResolve({ jsnext: true }) - ].concat(compress ? uglify() : []), - moduleName: 'i18next', - //moduleId: 'i18next', - dest -}; diff --git a/src/node_modules/ieee754/.travis.yml b/src/node_modules/ieee754/.travis.yml deleted file mode 100644 index 6c45b34..0000000 --- a/src/node_modules/ieee754/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: -- 'node' -env: - global: - - secure: f3NrmOV/A7oACn47J1mkIpH8Sn/LINtluZvo/9pGo3Ss4+D2lyt7UawpedHtnYgU9WEyjPSi7pDWopUrIzusQ2trLYRJr8WAOEyHlgaepDyy4BW3ghGMKHMsS05kilYLP8nu1sRd6y1AcUYKw+kUrrSPanI7kViWVQ5d5DuwXO8= - - secure: a6teILh33z5fbGQbh5/EkFfAyXfa2fPJG1upy9K+jLAbG4WZxXD+YmXG9Tz33/2NJm6UplGfTJ8IQEXgxEfAFk3ao3xfKxzm3i64XxtroSlXIFNSiQKogxDfLEtWDoNNCodPHaV3ATEqxGJ5rkkUeU1+ROWW0sjG5JR26k8/Hfg= diff --git a/src/node_modules/ieee754/.zuul.yml b/src/node_modules/ieee754/.zuul.yml deleted file mode 100644 index b5ba0c4..0000000 --- a/src/node_modules/ieee754/.zuul.yml +++ /dev/null @@ -1,20 +0,0 @@ -ui: tape -scripts: - - "./test/_polyfill.js" -browsers: - - name: chrome - version: latest - - name: firefox - version: latest - - name: safari - version: latest - - name: ie - version: 11 - - name: microsoftedge - version: latest - - name: opera - version: latest - - name: android - version: latest - - name: iphone - version: latest diff --git a/src/node_modules/ieee754/LICENSE b/src/node_modules/ieee754/LICENSE deleted file mode 100644 index f37a2eb..0000000 --- a/src/node_modules/ieee754/LICENSE +++ /dev/null @@ -1,28 +0,0 @@ -Copyright (c) 2008, Fair Oaks Labs, Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - * Neither the name of Fair Oaks Labs, Inc. nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. diff --git a/src/node_modules/ieee754/README.md b/src/node_modules/ieee754/README.md deleted file mode 100644 index 11f4d40..0000000 --- a/src/node_modules/ieee754/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# ieee754 [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][npm-url] - -[![saucelabs][saucelabs-image]][saucelabs-url] - -[travis-image]: https://img.shields.io/travis/feross/ieee754/master.svg -[travis-url]: https://travis-ci.org/feross/ieee754 -[npm-image]: https://img.shields.io/npm/v/ieee754.svg -[npm-url]: https://npmjs.org/package/ieee754 -[downloads-image]: https://img.shields.io/npm/dm/ieee754.svg -[saucelabs-image]: https://saucelabs.com/browser-matrix/ieee754.svg -[saucelabs-url]: https://saucelabs.com/u/ieee754 - -### Read/write IEEE754 floating point numbers from/to a Buffer or array-like object. - -## install - -``` -npm install ieee754 -``` - -## methods - -`var ieee754 = require('ieee754')` - -The `ieee754` object has the following functions: - -``` -ieee754.read = function (buffer, offset, isLE, mLen, nBytes) -ieee754.write = function (buffer, value, offset, isLE, mLen, nBytes) -``` - -The arguments mean the following: - -- buffer = the buffer -- offset = offset into the buffer -- value = value to set (only for `write`) -- isLe = is little endian? -- mLen = mantissa length -- nBytes = number of bytes - -## what is ieee754? - -The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point computation. [Read more](http://en.wikipedia.org/wiki/IEEE_floating_point). - -## license - -BSD 3 Clause. Copyright (c) 2008, Fair Oaks Labs, Inc. diff --git a/src/node_modules/ieee754/index.js b/src/node_modules/ieee754/index.js deleted file mode 100644 index 95e190c..0000000 --- a/src/node_modules/ieee754/index.js +++ /dev/null @@ -1,84 +0,0 @@ -exports.read = function (buffer, offset, isLE, mLen, nBytes) { - var e, m - var eLen = nBytes * 8 - mLen - 1 - var eMax = (1 << eLen) - 1 - var eBias = eMax >> 1 - var nBits = -7 - var i = isLE ? (nBytes - 1) : 0 - var d = isLE ? -1 : 1 - var s = buffer[offset + i] - - i += d - - e = s & ((1 << (-nBits)) - 1) - s >>= (-nBits) - nBits += eLen - for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {} - - m = e & ((1 << (-nBits)) - 1) - e >>= (-nBits) - nBits += mLen - for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {} - - if (e === 0) { - e = 1 - eBias - } else if (e === eMax) { - return m ? NaN : ((s ? -1 : 1) * Infinity) - } else { - m = m + Math.pow(2, mLen) - e = e - eBias - } - return (s ? -1 : 1) * m * Math.pow(2, e - mLen) -} - -exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { - var e, m, c - var eLen = nBytes * 8 - mLen - 1 - var eMax = (1 << eLen) - 1 - var eBias = eMax >> 1 - var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) - var i = isLE ? 0 : (nBytes - 1) - var d = isLE ? 1 : -1 - var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0 - - value = Math.abs(value) - - if (isNaN(value) || value === Infinity) { - m = isNaN(value) ? 1 : 0 - e = eMax - } else { - e = Math.floor(Math.log(value) / Math.LN2) - if (value * (c = Math.pow(2, -e)) < 1) { - e-- - c *= 2 - } - if (e + eBias >= 1) { - value += rt / c - } else { - value += rt * Math.pow(2, 1 - eBias) - } - if (value * c >= 2) { - e++ - c /= 2 - } - - if (e + eBias >= eMax) { - m = 0 - e = eMax - } else if (e + eBias >= 1) { - m = (value * c - 1) * Math.pow(2, mLen) - e = e + eBias - } else { - m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen) - e = 0 - } - } - - for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {} - - e = (e << mLen) | m - eLen += mLen - for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} - - buffer[offset + i - d] |= s * 128 -} diff --git a/src/node_modules/ieee754/package.json b/src/node_modules/ieee754/package.json deleted file mode 100644 index 906bd04..0000000 --- a/src/node_modules/ieee754/package.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "_args": [ - [ - "ieee754@^1.1.4", - "/home/binhong/dota2-alexa-skill/src/node_modules/buffer" - ] - ], - "_from": "ieee754@>=1.1.4 <2.0.0", - "_id": "ieee754@1.1.8", - "_inCache": true, - "_installable": true, - "_location": "/ieee754", - "_nodeVersion": "6.7.0", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/ieee754-1.1.8.tgz_1475481601035_0.6688473029062152" - }, - "_npmUser": { - "email": "feross@feross.org", - "name": "feross" - }, - "_npmVersion": "3.10.3", - "_phantomChildren": {}, - "_requested": { - "name": "ieee754", - "raw": "ieee754@^1.1.4", - "rawSpec": "^1.1.4", - "scope": null, - "spec": ">=1.1.4 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/buffer" - ], - "_resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz", - "_shasum": "be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4", - "_shrinkwrap": null, - "_spec": "ieee754@^1.1.4", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/buffer", - "author": { - "email": "feross@feross.org", - "name": "Feross Aboukhadijeh", - "url": "http://feross.org" - }, - "bugs": { - "url": "https://github.com/feross/ieee754/issues" - }, - "contributors": [ - { - "name": "Romain Beauxis", - "email": "toots@rastageeks.org" - } - ], - "dependencies": {}, - "description": "Read/write IEEE754 floating point numbers from/to a Buffer or array-like object", - "devDependencies": { - "standard": "*", - "tape": "^4.0.0", - "zuul": "^3.0.0" - }, - "directories": {}, - "dist": { - "shasum": "be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4", - "tarball": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz" - }, - "gitHead": "53d3f869cc527852156b8307353c55addc3e03ae", - "homepage": "https://github.com/feross/ieee754#readme", - "keywords": [ - "IEEE 754", - "buffer", - "convert", - "floating point", - "ieee754" - ], - "license": "BSD-3-Clause", - "main": "index.js", - "maintainers": [ - { - "name": "feross", - "email": "feross@feross.org" - } - ], - "name": "ieee754", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/feross/ieee754.git" - }, - "scripts": { - "test": "standard && npm run test-node && npm run test-browser", - "test-browser": "zuul -- test/*.js", - "test-browser-local": "zuul --local -- test/*.js", - "test-node": "tape test/*.js" - }, - "version": "1.1.8" -} diff --git a/src/node_modules/ieee754/test/basic.js b/src/node_modules/ieee754/test/basic.js deleted file mode 100644 index 58fae2b..0000000 --- a/src/node_modules/ieee754/test/basic.js +++ /dev/null @@ -1,23 +0,0 @@ -var ieee754 = require('../') -var test = require('tape') - -var EPSILON = 0.00001 - -test('read float', function (t) { - var buf = new Buffer(4) - buf.writeFloatLE(42.42, 0) - var num = ieee754.read(buf, 0, true, 23, 4) - t.ok(Math.abs(num - 42.42) < EPSILON) - - t.end() -}) - -test('write float', function (t) { - var buf = new Buffer(4) - ieee754.write(buf, 42.42, 0, true, 23, 4) - - var num = buf.readFloatLE(0) - t.ok(Math.abs(num - 42.42) < EPSILON) - - t.end() -}) diff --git a/src/node_modules/isarray/.npmignore b/src/node_modules/isarray/.npmignore deleted file mode 100644 index 3c3629e..0000000 --- a/src/node_modules/isarray/.npmignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/src/node_modules/isarray/.travis.yml b/src/node_modules/isarray/.travis.yml deleted file mode 100644 index cc4dba2..0000000 --- a/src/node_modules/isarray/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: node_js -node_js: - - "0.8" - - "0.10" diff --git a/src/node_modules/isarray/Makefile b/src/node_modules/isarray/Makefile deleted file mode 100644 index 787d56e..0000000 --- a/src/node_modules/isarray/Makefile +++ /dev/null @@ -1,6 +0,0 @@ - -test: - @node_modules/.bin/tape test.js - -.PHONY: test - diff --git a/src/node_modules/isarray/README.md b/src/node_modules/isarray/README.md deleted file mode 100644 index 16d2c59..0000000 --- a/src/node_modules/isarray/README.md +++ /dev/null @@ -1,60 +0,0 @@ - -# isarray - -`Array#isArray` for older browsers. - -[![build status](https://secure.travis-ci.org/juliangruber/isarray.svg)](http://travis-ci.org/juliangruber/isarray) -[![downloads](https://img.shields.io/npm/dm/isarray.svg)](https://www.npmjs.org/package/isarray) - -[![browser support](https://ci.testling.com/juliangruber/isarray.png) -](https://ci.testling.com/juliangruber/isarray) - -## Usage - -```js -var isArray = require('isarray'); - -console.log(isArray([])); // => true -console.log(isArray({})); // => false -``` - -## Installation - -With [npm](http://npmjs.org) do - -```bash -$ npm install isarray -``` - -Then bundle for the browser with -[browserify](https://github.com/substack/browserify). - -With [component](http://component.io) do - -```bash -$ component install juliangruber/isarray -``` - -## License - -(MIT) - -Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/node_modules/isarray/component.json b/src/node_modules/isarray/component.json deleted file mode 100644 index 9e31b68..0000000 --- a/src/node_modules/isarray/component.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name" : "isarray", - "description" : "Array#isArray for older browsers", - "version" : "0.0.1", - "repository" : "juliangruber/isarray", - "homepage": "https://github.com/juliangruber/isarray", - "main" : "index.js", - "scripts" : [ - "index.js" - ], - "dependencies" : {}, - "keywords": ["browser","isarray","array"], - "author": { - "name": "Julian Gruber", - "email": "mail@juliangruber.com", - "url": "http://juliangruber.com" - }, - "license": "MIT" -} diff --git a/src/node_modules/isarray/index.js b/src/node_modules/isarray/index.js deleted file mode 100644 index a57f634..0000000 --- a/src/node_modules/isarray/index.js +++ /dev/null @@ -1,5 +0,0 @@ -var toString = {}.toString; - -module.exports = Array.isArray || function (arr) { - return toString.call(arr) == '[object Array]'; -}; diff --git a/src/node_modules/isarray/package.json b/src/node_modules/isarray/package.json deleted file mode 100644 index 99fbb8e..0000000 --- a/src/node_modules/isarray/package.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "_args": [ - [ - "isarray@^1.0.0", - "/home/binhong/dota2-alexa-skill/src/node_modules/buffer" - ] - ], - "_from": "isarray@>=1.0.0 <2.0.0", - "_id": "isarray@1.0.0", - "_inCache": true, - "_installable": true, - "_location": "/isarray", - "_nodeVersion": "5.1.0", - "_npmUser": { - "email": "julian@juliangruber.com", - "name": "juliangruber" - }, - "_npmVersion": "3.3.12", - "_phantomChildren": {}, - "_requested": { - "name": "isarray", - "raw": "isarray@^1.0.0", - "rawSpec": "^1.0.0", - "scope": null, - "spec": ">=1.0.0 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/buffer" - ], - "_resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "_shasum": "bb935d48582cba168c06834957a54a3e07124f11", - "_shrinkwrap": null, - "_spec": "isarray@^1.0.0", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/buffer", - "author": { - "email": "mail@juliangruber.com", - "name": "Julian Gruber", - "url": "http://juliangruber.com" - }, - "bugs": { - "url": "https://github.com/juliangruber/isarray/issues" - }, - "dependencies": {}, - "description": "Array#isArray for older browsers", - "devDependencies": { - "tape": "~2.13.4" - }, - "directories": {}, - "dist": { - "shasum": "bb935d48582cba168c06834957a54a3e07124f11", - "tarball": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" - }, - "gitHead": "2a23a281f369e9ae06394c0fb4d2381355a6ba33", - "homepage": "https://github.com/juliangruber/isarray", - "keywords": [ - "array", - "browser", - "isarray" - ], - "license": "MIT", - "main": "index.js", - "maintainers": [ - { - "name": "juliangruber", - "email": "julian@juliangruber.com" - } - ], - "name": "isarray", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/juliangruber/isarray.git" - }, - "scripts": { - "test": "tape test.js" - }, - "testling": { - "browsers": [ - "android-browser/4.2..latest", - "chrome/22..latest", - "chrome/canary", - "firefox/17..latest", - "firefox/nightly", - "ie/8..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "opera/12..latest", - "opera/next", - "safari/5.1..latest" - ], - "files": "test.js" - }, - "version": "1.0.0" -} diff --git a/src/node_modules/isarray/test.js b/src/node_modules/isarray/test.js deleted file mode 100644 index e0c3444..0000000 --- a/src/node_modules/isarray/test.js +++ /dev/null @@ -1,20 +0,0 @@ -var isArray = require('./'); -var test = require('tape'); - -test('is array', function(t){ - t.ok(isArray([])); - t.notOk(isArray({})); - t.notOk(isArray(null)); - t.notOk(isArray(false)); - - var obj = {}; - obj[0] = true; - t.notOk(isArray(obj)); - - var arr = []; - arr.foo = 'bar'; - t.ok(isArray(arr)); - - t.end(); -}); - diff --git a/src/node_modules/jmespath/.eslintrc b/src/node_modules/jmespath/.eslintrc deleted file mode 100644 index 93c7190..0000000 --- a/src/node_modules/jmespath/.eslintrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "env": { - "browser": true, - "node": true - }, - "globals": { - "toString": true, - "hasOwnProperty": true - } -} diff --git a/src/node_modules/jmespath/.npmignore b/src/node_modules/jmespath/.npmignore deleted file mode 100644 index 3c3629e..0000000 --- a/src/node_modules/jmespath/.npmignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/src/node_modules/jmespath/.travis.yml b/src/node_modules/jmespath/.travis.yml deleted file mode 100644 index 97bccea..0000000 --- a/src/node_modules/jmespath/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: node_js -node_js: - - "0.12" - - "0.11" - - "0.10" - - "iojs" diff --git a/src/node_modules/jmespath/BASELINE b/src/node_modules/jmespath/BASELINE deleted file mode 100644 index ff79973..0000000 --- a/src/node_modules/jmespath/BASELINE +++ /dev/null @@ -1,15 +0,0 @@ -master: - -Mean time: 0.002530msec Parser#single_expr x 395,306 ops/sec ±1.89% (79 runs sampled) -Mean time: 0.005492msec Parser#single_subexpr x 182,084 ops/sec ±1.99% (84 runs sampled) -Mean time: 0.126803msec Parser#deeply_nested_50 x 7,886 ops/sec ±2.44% (80 runs sampled) -Mean time: 0.166790msec Parser#deeply_nested_50_index x 5,996 ops/sec ±5.08% (75 runs sampled) -Mean time: 0.008347msec Parser#basic_list_projection x 119,798 ops/sec ±2.33% (79 runs sampled) - - - -Mean time: 0.002779msec Parser#single_expr x 359,839 ops/sec ±4.15% (80 runs sampled) -Mean time: 0.005235msec Parser#single_subexpr x 191,026 ops/sec ±2.62% (78 runs sampled) -Mean time: 0.104357msec Parser#deeply_nested_50 x 9,582 ops/sec ±4.34% (72 runs sampled) -Mean time: 0.178837msec Parser#deeply_nested_50_index x 5,592 ops/sec ±3.35% (77 runs sampled) -Mean time: 0.009614msec Parser#basic_list_projection x 104,012 ops/sec ±2.97% (79 runs sampled) diff --git a/src/node_modules/jmespath/Gruntfile.js b/src/node_modules/jmespath/Gruntfile.js deleted file mode 100644 index 614a61b..0000000 --- a/src/node_modules/jmespath/Gruntfile.js +++ /dev/null @@ -1,36 +0,0 @@ -module.exports = function(grunt) { - - // Project configuration. - grunt.initConfig({ - pkg: grunt.file.readJSON('package.json'), - uglify: { - options: { - banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n', - mangleProperties: {regex: /^_/} - }, - build: { - src: '<%= pkg.name %>.js', - dest: 'artifacts/<%= pkg.name %>.min.js' - } - }, - jshint: { - ignore_warning: { - options: { - '-W083': true - }, - src: ['jmespath.js', 'test/*.js', 'Gruntfile.js'] - } - }, - eslint: { - target: ['jmespath.js'] - } - }); - - grunt.loadNpmTasks('grunt-contrib-uglify'); - grunt.loadNpmTasks('grunt-contrib-jshint'); - grunt.loadNpmTasks('grunt-eslint'); - - // Default task(s). - grunt.registerTask('default', ['uglify', 'jshint', 'eslint']); - -}; diff --git a/src/node_modules/jmespath/LICENSE b/src/node_modules/jmespath/LICENSE deleted file mode 100644 index c1d496b..0000000 --- a/src/node_modules/jmespath/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright 2014 James Saryerwinnie - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/src/node_modules/jmespath/README.md b/src/node_modules/jmespath/README.md deleted file mode 100644 index b1110c2..0000000 --- a/src/node_modules/jmespath/README.md +++ /dev/null @@ -1,57 +0,0 @@ -# jmespath.js - -[![Build Status](https://travis-ci.org/jmespath/jmespath.js.png?branch=master)](https://travis-ci.org/jmespath/jmespath.js) - -jmespath.js is a javascript implementation of JMESPath, -which is a query language for JSON. It will take a JSON -document and transform it into another JSON document -through a JMESPath expression. - -Using jmespath.js is really easy. There's a single function -you use, `jmespath.search`: - - -``` -> var jmespath = require('jmespath'); -> jmespath.search({foo: {bar: {baz: [0, 1, 2, 3, 4]}}}, "foo.bar.baz[2]") -2 -``` - -In the example we gave the ``search`` function input data of -`{foo: {bar: {baz: [0, 1, 2, 3, 4]}}}` as well as the JMESPath -expression `foo.bar.baz[2]`, and the `search` function evaluated -the expression against the input data to produce the result ``2``. - -The JMESPath language can do a lot more than select an element -from a list. Here are a few more examples: - -``` -> jmespath.search({foo: {bar: {baz: [0, 1, 2, 3, 4]}}}, "foo.bar") -{ baz: [ 0, 1, 2, 3, 4 ] } - -> jmespath.search({"foo": [{"first": "a", "last": "b"}, - {"first": "c", "last": "d"}]}, - "foo[*].first") -[ 'a', 'c' ] - -> jmespath.search({"foo": [{"age": 20}, {"age": 25}, - {"age": 30}, {"age": 35}, - {"age": 40}]}, - "foo[?age > `30`]") -[ { age: 35 }, { age: 40 } ] -``` - -## More Resources - -The example above only show a small amount of what -a JMESPath expression can do. If you want to take a -tour of the language, the *best* place to go is the -[JMESPath Tutorial](http://jmespath.org/tutorial.html). - -One of the best things about JMESPath is that it is -implemented in many different programming languages including -python, ruby, php, lua, etc. To see a complete list of libraries, -check out the [JMESPath libraries page](http://jmespath.org/libraries.html). - -And finally, the full JMESPath specification can be found -on the [JMESPath site](http://jmespath.org/specification.html). diff --git a/src/node_modules/jmespath/artifacts/jmespath.min.js b/src/node_modules/jmespath/artifacts/jmespath.min.js deleted file mode 100644 index ae76a6d..0000000 --- a/src/node_modules/jmespath/artifacts/jmespath.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jmespath 2016-03-22 */ -!function(a){"use strict";function b(a){return null!==a?"[object Array]"===Object.prototype.toString.call(a):!1}function c(a){return null!==a?"[object Object]"===Object.prototype.toString.call(a):!1}function d(a,e){if(a===e)return!0;var f=Object.prototype.toString.call(a);if(f!==Object.prototype.toString.call(e))return!1;if(b(a)===!0){if(a.length!==e.length)return!1;for(var g=0;g="a"&&"z">=a||a>="A"&&"Z">=a||"_"===a}function h(a){return a>="0"&&"9">=a||"-"===a}function i(a){return a>="a"&&"z">=a||a>="A"&&"Z">=a||a>="0"&&"9">=a||"_"===a}function j(){}function k(){}function l(a){this.runtime=a}function m(a){this.a=a,this.functionTable={abs:{b:this.c,d:[{types:[r]}]},avg:{b:this.e,d:[{types:[z]}]},ceil:{b:this.f,d:[{types:[r]}]},contains:{b:this.g,d:[{types:[t,u]},{types:[s]}]},ends_with:{b:this.h,d:[{types:[t]},{types:[t]}]},floor:{b:this.i,d:[{types:[r]}]},length:{b:this.j,d:[{types:[t,u,v]}]},map:{b:this.k,d:[{types:[x]},{types:[u]}]},max:{b:this.l,d:[{types:[z,A]}]},merge:{b:this.m,d:[{types:[v],variadic:!0}]},max_by:{b:this.n,d:[{types:[u]},{types:[x]}]},sum:{b:this.o,d:[{types:[z]}]},starts_with:{b:this.p,d:[{types:[t]},{types:[t]}]},min:{b:this.q,d:[{types:[z,A]}]},min_by:{b:this.r,d:[{types:[u]},{types:[x]}]},type:{b:this.s,d:[{types:[s]}]},keys:{b:this.t,d:[{types:[v]}]},values:{b:this.u,d:[{types:[v]}]},sort:{b:this.v,d:[{types:[A,z]}]},sort_by:{b:this.w,d:[{types:[u]},{types:[x]}]},join:{b:this.x,d:[{types:[t]},{types:[A]}]},reverse:{b:this.y,d:[{types:[t,u]}]},to_array:{b:this.z,d:[{types:[s]}]},to_string:{b:this.A,d:[{types:[s]}]},to_number:{b:this.B,d:[{types:[s]}]},not_null:{b:this.C,d:[{types:[s],variadic:!0}]}}}function n(a){var b=new k,c=b.parse(a);return c}function o(a){var b=new j;return b.tokenize(a)}function p(a,b){var c=new k,d=new m,e=new l(d);d.a=e;var f=c.parse(b);return e.search(f,a)}var q;q="function"==typeof String.prototype.trimLeft?function(a){return a.trimLeft()}:function(a){return a.match(/^\s*(.*)/)[1]};var r=0,s=1,t=2,u=3,v=4,w=5,x=6,y=7,z=8,A=9,B="EOF",C="UnquotedIdentifier",D="QuotedIdentifier",E="Rbracket",F="Rparen",G="Comma",H="Colon",I="Rbrace",J="Number",K="Current",L="Expref",M="Pipe",N="Or",O="And",P="EQ",Q="GT",R="LT",S="GTE",T="LTE",U="NE",V="Flatten",W="Star",X="Filter",Y="Dot",Z="Not",$="Lbrace",_="Lbracket",aa="Lparen",ba="Literal",ca={".":Y,"*":W,",":G,":":H,"{":$,"}":I,"]":E,"(":aa,")":F,"@":K},da={"<":!0,">":!0,"=":!0,"!":!0},ea={" ":!0," ":!0,"\n":!0};j.prototype={tokenize:function(a){var b=[];this.D=0;for(var c,d,e;this.D"===c?"="===a[this.D]?(this.D++,{type:S,value:">=",start:b}):{type:Q,value:">",start:b}:"="===c&&"="===a[this.D]?(this.D++,{type:P,value:"==",start:b}):void 0},J:function(a){this.D++;for(var b,c=this.D,d=a.length;"`"!==a[this.D]&&this.D=0)return!0;if(c.indexOf(a)>=0)return!0;if(!(d.indexOf(a[0])>=0))return!1;try{return JSON.parse(a),!0}catch(e){return!1}}};var fa={};fa[B]=0,fa[C]=0,fa[D]=0,fa[E]=0,fa[F]=0,fa[G]=0,fa[I]=0,fa[J]=0,fa[K]=0,fa[L]=0,fa[M]=1,fa[N]=2,fa[O]=3,fa[P]=5,fa[Q]=5,fa[R]=5,fa[S]=5,fa[T]=5,fa[U]=5,fa[V]=9,fa[W]=20,fa[X]=21,fa[Y]=40,fa[Z]=45,fa[$]=50,fa[_]=55,fa[aa]=60,k.prototype={parse:function(a){this.M(a),this.index=0;var b=this.expression(0);if(this.N(0)!==B){var c=this.O(0),d=new Error("Unexpected token type: "+c.type+", value: "+c.value);throw d.name="ParserError",d}return b},M:function(a){var b=new j,c=b.tokenize(a);c.push({type:B,value:"",start:a.length}),this.tokens=c},expression:function(a){var b=this.O(0);this.P();for(var c=this.nud(b),d=this.N(0);ab;){if(c===H)b++,this.P();else{if(c!==J){var d=this.N(0),e=new Error("Syntax error, unexpected token: "+d.value+"("+d.type+")");throw e.name="Parsererror",e}a[b]=this.O(0).value,this.P()}c=this.N(0)}return this.V(E),{type:"Slice",children:a}},Y:function(a,b){var c=this.expression(fa[b]);return{type:"Comparator",name:b,children:[a,c]}},X:function(a){var b=this.N(0),c=[C,D,W];return c.indexOf(b)>=0?this.expression(a):b===_?(this.V(_),this.U()):b===$?(this.V($),this.R()):void 0},Q:function(a){var b;if(fa[this.N(0)]<10)b={type:"Identity"};else if(this.N(0)===_)b=this.expression(a);else if(this.N(0)===X)b=this.expression(a);else{if(this.N(0)!==Y){var c=this.O(0),d=new Error("Sytanx error, unexpected token: "+c.value+"("+c.type+")");throw d.name="ParserError",d}this.V(Y),b=this.X(a)}return b},U:function(){for(var a=[];this.N(0)!==E;){var b=this.expression(0);if(a.push(b),this.N(0)===G&&(this.V(G),this.N(0)===E))throw new Error("Unexpected token Rbracket")}return this.V(E),{type:"MultiSelectList",children:a}},R:function(){for(var a,b,c,d,e=[],f=[C,D];;){if(a=this.O(0),f.indexOf(a.type)<0)throw new Error("Expecting an identifier token, got: "+a.type);if(b=a.value,this.P(),this.V(H),c=this.expression(0),d={type:"KeyValuePair",name:b,value:c},e.push(d),this.N(0)===G)this.V(G);else if(this.N(0)===I){this.V(I);break}}return{type:"MultiSelectHash",children:e}}},l.prototype={search:function(a,b){return this.visit(a,b)},visit:function(a,g){var h,i,j,k,l,m,n,o,p,q;switch(a.type){case"Field":return null===g?null:c(g)?(m=g[a.name],void 0===m?null:m):null;case"Subexpression":for(j=this.visit(a.children[0],g),q=1;qr&&(r=g.length+r),j=g[r],void 0===j&&(j=null),j;case"Slice":if(!b(g))return null;var s=a.children.slice(0),t=this.computeSliceParams(g.length,s),u=t[0],v=t[1],w=t[2];if(j=[],w>0)for(q=u;v>q;q+=w)j.push(g[q]);else for(q=u;q>v;q+=w)j.push(g[q]);return j;case"Projection":var x=this.visit(a.children[0],g);if(!b(x))return null;for(p=[],q=0;ql;break;case S:j=k>=l;break;case R:j=l>k;break;case T:j=l>=k;break;default:throw new Error("Unknown comparator: "+a.name)}return j;case V:var C=this.visit(a.children[0],g);if(!b(C))return null;var D=[];for(q=0;qe?!0:!1;return c=null===c?h?a-1:0:this.capSliceRange(a,c,e),d=null===d?h?-1:a:this.capSliceRange(a,d,e),f[0]=c,f[1]=d,f[2]=e,f},capSliceRange:function(a,b,c){return 0>b?(b+=a,0>b&&(b=0>c?-1:0)):b>=a&&(b=0>c?a-1:a),b}},m.prototype={callFunction:function(a,b){var c=this.functionTable[a];if(void 0===c)throw new Error("Unknown function: "+a+"()");return this.$(a,b,c.d),c.b.call(this,b)},$:function(a,b,c){var d;if(c[c.length-1].variadic){if(b.length=0;e--)d+=c[e];return d}var f=a[0].slice(0);return f.reverse(),f},c:function(a){return Math.abs(a[0])},f:function(a){return Math.ceil(a[0])},e:function(a){for(var b=0,c=a[0],d=0;d=0},i:function(a){return Math.floor(a[0])},j:function(a){return c(a[0])?Object.keys(a[0]).length:a[0].length},k:function(a){for(var b=[],c=this.a,d=a[0],e=a[1],f=0;f0){var b=this._(a[0][0]);if(b===r)return Math.max.apply(Math,a[0]);for(var c=a[0],d=c[0],e=1;e0){var b=this._(a[0][0]);if(b===r)return Math.min.apply(Math,a[0]);for(var c=a[0],d=c[0],e=1;eh?1:h>g?-1:a[0]-b[0]});for(var i=0;ig&&(g=c,b=e[h]);return b},r:function(a){for(var b,c,d=a[1],e=a[0],f=this.createKeyFunction(d,[r,t]),g=1/0,h=0;hc&&(g=c,b=e[h]);return b},createKeyFunction:function(a,b){var c=this,d=this.a,e=function(e){var f=d.visit(a,e);if(b.indexOf(c._(f))<0){var g="TypeError: expected one of "+b+", received "+c._(f);throw new Error(g)}return f};return e}},a.tokenize=o,a.compile=n,a.search=p,a.strictDeepEqual=d}("undefined"==typeof exports?this.jmespath={}:exports); \ No newline at end of file diff --git a/src/node_modules/jmespath/bower.json b/src/node_modules/jmespath/bower.json deleted file mode 100644 index f0f626c..0000000 --- a/src/node_modules/jmespath/bower.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "jmespath.js", - "main": "jmespath.js", - "version": "0.11.0", - "homepage": "https://github.com/jmespath/jmespath.js", - "authors": [ - "James Saryerwinnie " - ], - "description": "JMESPath implementation in javascript", - "moduleType": [ - "node" - ], - "keywords": [ - "jmespath" - ], - "license": "MIT", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ] -} diff --git a/src/node_modules/jmespath/g.sh b/src/node_modules/jmespath/g.sh deleted file mode 100755 index 5358000..0000000 --- a/src/node_modules/jmespath/g.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -grunt -uglifyjs artifacts/jmespath.min.js -b -o /tmp/jmespath.min.js -uglifyjs artifacts/jmespath.min.js -b -o ~/Source/jmespath.site/docs/_build/html/_static/js/jmespath.min.js -#cp artifacts/jmespath.min.js ~/Source/jmespath.site/docs/_build/html/_static/js/ diff --git a/src/node_modules/jmespath/index.html b/src/node_modules/jmespath/index.html deleted file mode 100644 index 5806e1e..0000000 --- a/src/node_modules/jmespath/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - JMESPath Demo - - - - - - - - - - - - - - - - - - diff --git a/src/node_modules/jmespath/james.html b/src/node_modules/jmespath/james.html deleted file mode 100644 index be8d3ab..0000000 --- a/src/node_modules/jmespath/james.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/node_modules/jmespath/jmespath.js b/src/node_modules/jmespath/jmespath.js deleted file mode 100644 index f59e8e4..0000000 --- a/src/node_modules/jmespath/jmespath.js +++ /dev/null @@ -1,1667 +0,0 @@ -(function(exports) { - "use strict"; - - function isArray(obj) { - if (obj !== null) { - return Object.prototype.toString.call(obj) === "[object Array]"; - } else { - return false; - } - } - - function isObject(obj) { - if (obj !== null) { - return Object.prototype.toString.call(obj) === "[object Object]"; - } else { - return false; - } - } - - function strictDeepEqual(first, second) { - // Check the scalar case first. - if (first === second) { - return true; - } - - // Check if they are the same type. - var firstType = Object.prototype.toString.call(first); - if (firstType !== Object.prototype.toString.call(second)) { - return false; - } - // We know that first and second have the same type so we can just check the - // first type from now on. - if (isArray(first) === true) { - // Short circuit if they're not the same length; - if (first.length !== second.length) { - return false; - } - for (var i = 0; i < first.length; i++) { - if (strictDeepEqual(first[i], second[i]) === false) { - return false; - } - } - return true; - } - if (isObject(first) === true) { - // An object is equal if it has the same key/value pairs. - var keysSeen = {}; - for (var key in first) { - if (hasOwnProperty.call(first, key)) { - if (strictDeepEqual(first[key], second[key]) === false) { - return false; - } - keysSeen[key] = true; - } - } - // Now check that there aren't any keys in second that weren't - // in first. - for (var key2 in second) { - if (hasOwnProperty.call(second, key2)) { - if (keysSeen[key2] !== true) { - return false; - } - } - } - return true; - } - return false; - } - - function isFalse(obj) { - // From the spec: - // A false value corresponds to the following values: - // Empty list - // Empty object - // Empty string - // False boolean - // null value - - // First check the scalar values. - if (obj === "" || obj === false || obj === null) { - return true; - } else if (isArray(obj) && obj.length === 0) { - // Check for an empty array. - return true; - } else if (isObject(obj)) { - // Check for an empty object. - for (var key in obj) { - // If there are any keys, then - // the object is not empty so the object - // is not false. - if (obj.hasOwnProperty(key)) { - return false; - } - } - return true; - } else { - return false; - } - } - - function objValues(obj) { - var keys = Object.keys(obj); - var values = []; - for (var i = 0; i < keys.length; i++) { - values.push(obj[keys[i]]); - } - return values; - } - - function merge(a, b) { - var merged = {}; - for (var key in a) { - merged[key] = a[key]; - } - for (var key2 in b) { - merged[key2] = b[key2]; - } - return merged; - } - - var trimLeft; - if (typeof String.prototype.trimLeft === "function") { - trimLeft = function(str) { - return str.trimLeft(); - }; - } else { - trimLeft = function(str) { - return str.match(/^\s*(.*)/)[1]; - }; - } - - // Type constants used to define functions. - var TYPE_NUMBER = 0; - var TYPE_ANY = 1; - var TYPE_STRING = 2; - var TYPE_ARRAY = 3; - var TYPE_OBJECT = 4; - var TYPE_BOOLEAN = 5; - var TYPE_EXPREF = 6; - var TYPE_NULL = 7; - var TYPE_ARRAY_NUMBER = 8; - var TYPE_ARRAY_STRING = 9; - - var TOK_EOF = "EOF"; - var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; - var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier"; - var TOK_RBRACKET = "Rbracket"; - var TOK_RPAREN = "Rparen"; - var TOK_COMMA = "Comma"; - var TOK_COLON = "Colon"; - var TOK_RBRACE = "Rbrace"; - var TOK_NUMBER = "Number"; - var TOK_CURRENT = "Current"; - var TOK_EXPREF = "Expref"; - var TOK_PIPE = "Pipe"; - var TOK_OR = "Or"; - var TOK_AND = "And"; - var TOK_EQ = "EQ"; - var TOK_GT = "GT"; - var TOK_LT = "LT"; - var TOK_GTE = "GTE"; - var TOK_LTE = "LTE"; - var TOK_NE = "NE"; - var TOK_FLATTEN = "Flatten"; - var TOK_STAR = "Star"; - var TOK_FILTER = "Filter"; - var TOK_DOT = "Dot"; - var TOK_NOT = "Not"; - var TOK_LBRACE = "Lbrace"; - var TOK_LBRACKET = "Lbracket"; - var TOK_LPAREN= "Lparen"; - var TOK_LITERAL= "Literal"; - - // The "&", "[", "<", ">" tokens - // are not in basicToken because - // there are two token variants - // ("&&", "[?", "<=", ">="). This is specially handled - // below. - - var basicTokens = { - ".": TOK_DOT, - "*": TOK_STAR, - ",": TOK_COMMA, - ":": TOK_COLON, - "{": TOK_LBRACE, - "}": TOK_RBRACE, - "]": TOK_RBRACKET, - "(": TOK_LPAREN, - ")": TOK_RPAREN, - "@": TOK_CURRENT - }; - - var operatorStartToken = { - "<": true, - ">": true, - "=": true, - "!": true - }; - - var skipChars = { - " ": true, - "\t": true, - "\n": true - }; - - - function isAlpha(ch) { - return (ch >= "a" && ch <= "z") || - (ch >= "A" && ch <= "Z") || - ch === "_"; - } - - function isNum(ch) { - return (ch >= "0" && ch <= "9") || - ch === "-"; - } - function isAlphaNum(ch) { - return (ch >= "a" && ch <= "z") || - (ch >= "A" && ch <= "Z") || - (ch >= "0" && ch <= "9") || - ch === "_"; - } - - function Lexer() { - } - Lexer.prototype = { - tokenize: function(stream) { - var tokens = []; - this._current = 0; - var start; - var identifier; - var token; - while (this._current < stream.length) { - if (isAlpha(stream[this._current])) { - start = this._current; - identifier = this._consumeUnquotedIdentifier(stream); - tokens.push({type: TOK_UNQUOTEDIDENTIFIER, - value: identifier, - start: start}); - } else if (basicTokens[stream[this._current]] !== undefined) { - tokens.push({type: basicTokens[stream[this._current]], - value: stream[this._current], - start: this._current}); - this._current++; - } else if (isNum(stream[this._current])) { - token = this._consumeNumber(stream); - tokens.push(token); - } else if (stream[this._current] === "[") { - // No need to increment this._current. This happens - // in _consumeLBracket - token = this._consumeLBracket(stream); - tokens.push(token); - } else if (stream[this._current] === "\"") { - start = this._current; - identifier = this._consumeQuotedIdentifier(stream); - tokens.push({type: TOK_QUOTEDIDENTIFIER, - value: identifier, - start: start}); - } else if (stream[this._current] === "'") { - start = this._current; - identifier = this._consumeRawStringLiteral(stream); - tokens.push({type: TOK_LITERAL, - value: identifier, - start: start}); - } else if (stream[this._current] === "`") { - start = this._current; - var literal = this._consumeLiteral(stream); - tokens.push({type: TOK_LITERAL, - value: literal, - start: start}); - } else if (operatorStartToken[stream[this._current]] !== undefined) { - tokens.push(this._consumeOperator(stream)); - } else if (skipChars[stream[this._current]] !== undefined) { - // Ignore whitespace. - this._current++; - } else if (stream[this._current] === "&") { - start = this._current; - this._current++; - if (stream[this._current] === "&") { - this._current++; - tokens.push({type: TOK_AND, value: "&&", start: start}); - } else { - tokens.push({type: TOK_EXPREF, value: "&", start: start}); - } - } else if (stream[this._current] === "|") { - start = this._current; - this._current++; - if (stream[this._current] === "|") { - this._current++; - tokens.push({type: TOK_OR, value: "||", start: start}); - } else { - tokens.push({type: TOK_PIPE, value: "|", start: start}); - } - } else { - var error = new Error("Unknown character:" + stream[this._current]); - error.name = "LexerError"; - throw error; - } - } - return tokens; - }, - - _consumeUnquotedIdentifier: function(stream) { - var start = this._current; - this._current++; - while (this._current < stream.length && isAlphaNum(stream[this._current])) { - this._current++; - } - return stream.slice(start, this._current); - }, - - _consumeQuotedIdentifier: function(stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (stream[this._current] !== "\"" && this._current < maxLength) { - // You can escape a double quote and you can escape an escape. - var current = this._current; - if (stream[current] === "\\" && (stream[current + 1] === "\\" || - stream[current + 1] === "\"")) { - current += 2; - } else { - current++; - } - this._current = current; - } - this._current++; - return JSON.parse(stream.slice(start, this._current)); - }, - - _consumeRawStringLiteral: function(stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (stream[this._current] !== "'" && this._current < maxLength) { - // You can escape a single quote and you can escape an escape. - var current = this._current; - if (stream[current] === "\\" && (stream[current + 1] === "\\" || - stream[current + 1] === "'")) { - current += 2; - } else { - current++; - } - this._current = current; - } - this._current++; - var literal = stream.slice(start + 1, this._current - 1); - return literal.replace("\\'", "'"); - }, - - _consumeNumber: function(stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (isNum(stream[this._current]) && this._current < maxLength) { - this._current++; - } - var value = parseInt(stream.slice(start, this._current)); - return {type: TOK_NUMBER, value: value, start: start}; - }, - - _consumeLBracket: function(stream) { - var start = this._current; - this._current++; - if (stream[this._current] === "?") { - this._current++; - return {type: TOK_FILTER, value: "[?", start: start}; - } else if (stream[this._current] === "]") { - this._current++; - return {type: TOK_FLATTEN, value: "[]", start: start}; - } else { - return {type: TOK_LBRACKET, value: "[", start: start}; - } - }, - - _consumeOperator: function(stream) { - var start = this._current; - var startingChar = stream[start]; - this._current++; - if (startingChar === "!") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_NE, value: "!=", start: start}; - } else { - return {type: TOK_NOT, value: "!", start: start}; - } - } else if (startingChar === "<") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_LTE, value: "<=", start: start}; - } else { - return {type: TOK_LT, value: "<", start: start}; - } - } else if (startingChar === ">") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_GTE, value: ">=", start: start}; - } else { - return {type: TOK_GT, value: ">", start: start}; - } - } else if (startingChar === "=") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_EQ, value: "==", start: start}; - } - } - }, - - _consumeLiteral: function(stream) { - this._current++; - var start = this._current; - var maxLength = stream.length; - var literal; - while(stream[this._current] !== "`" && this._current < maxLength) { - // You can escape a literal char or you can escape the escape. - var current = this._current; - if (stream[current] === "\\" && (stream[current + 1] === "\\" || - stream[current + 1] === "`")) { - current += 2; - } else { - current++; - } - this._current = current; - } - var literalString = trimLeft(stream.slice(start, this._current)); - literalString = literalString.replace("\\`", "`"); - if (this._looksLikeJSON(literalString)) { - literal = JSON.parse(literalString); - } else { - // Try to JSON parse it as "" - literal = JSON.parse("\"" + literalString + "\""); - } - // +1 gets us to the ending "`", +1 to move on to the next char. - this._current++; - return literal; - }, - - _looksLikeJSON: function(literalString) { - var startingChars = "[{\""; - var jsonLiterals = ["true", "false", "null"]; - var numberLooking = "-0123456789"; - - if (literalString === "") { - return false; - } else if (startingChars.indexOf(literalString[0]) >= 0) { - return true; - } else if (jsonLiterals.indexOf(literalString) >= 0) { - return true; - } else if (numberLooking.indexOf(literalString[0]) >= 0) { - try { - JSON.parse(literalString); - return true; - } catch (ex) { - return false; - } - } else { - return false; - } - } - }; - - var bindingPower = {}; - bindingPower[TOK_EOF] = 0; - bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0; - bindingPower[TOK_QUOTEDIDENTIFIER] = 0; - bindingPower[TOK_RBRACKET] = 0; - bindingPower[TOK_RPAREN] = 0; - bindingPower[TOK_COMMA] = 0; - bindingPower[TOK_RBRACE] = 0; - bindingPower[TOK_NUMBER] = 0; - bindingPower[TOK_CURRENT] = 0; - bindingPower[TOK_EXPREF] = 0; - bindingPower[TOK_PIPE] = 1; - bindingPower[TOK_OR] = 2; - bindingPower[TOK_AND] = 3; - bindingPower[TOK_EQ] = 5; - bindingPower[TOK_GT] = 5; - bindingPower[TOK_LT] = 5; - bindingPower[TOK_GTE] = 5; - bindingPower[TOK_LTE] = 5; - bindingPower[TOK_NE] = 5; - bindingPower[TOK_FLATTEN] = 9; - bindingPower[TOK_STAR] = 20; - bindingPower[TOK_FILTER] = 21; - bindingPower[TOK_DOT] = 40; - bindingPower[TOK_NOT] = 45; - bindingPower[TOK_LBRACE] = 50; - bindingPower[TOK_LBRACKET] = 55; - bindingPower[TOK_LPAREN] = 60; - - function Parser() { - } - - Parser.prototype = { - parse: function(expression) { - this._loadTokens(expression); - this.index = 0; - var ast = this.expression(0); - if (this._lookahead(0) !== TOK_EOF) { - var t = this._lookaheadToken(0); - var error = new Error( - "Unexpected token type: " + t.type + ", value: " + t.value); - error.name = "ParserError"; - throw error; - } - return ast; - }, - - _loadTokens: function(expression) { - var lexer = new Lexer(); - var tokens = lexer.tokenize(expression); - tokens.push({type: TOK_EOF, value: "", start: expression.length}); - this.tokens = tokens; - }, - - expression: function(rbp) { - var leftToken = this._lookaheadToken(0); - this._advance(); - var left = this.nud(leftToken); - var currentToken = this._lookahead(0); - while (rbp < bindingPower[currentToken]) { - this._advance(); - left = this.led(currentToken, left); - currentToken = this._lookahead(0); - } - return left; - }, - - _lookahead: function(number) { - return this.tokens[this.index + number].type; - }, - - _lookaheadToken: function(number) { - return this.tokens[this.index + number]; - }, - - _advance: function() { - this.index++; - }, - - nud: function(token) { - var left; - var right; - var expression; - switch (token.type) { - case TOK_LITERAL: - return {type: "Literal", value: token.value}; - case TOK_UNQUOTEDIDENTIFIER: - return {type: "Field", name: token.value}; - case TOK_QUOTEDIDENTIFIER: - var node = {type: "Field", name: token.value}; - if (this._lookahead(0) === TOK_LPAREN) { - throw new Error("Quoted identifier not allowed for function names."); - } else { - return node; - } - break; - case TOK_NOT: - right = this.expression(bindingPower.Not); - return {type: "NotExpression", children: [right]}; - case TOK_STAR: - left = {type: "Identity"}; - right = null; - if (this._lookahead(0) === TOK_RBRACKET) { - // This can happen in a multiselect, - // [a, b, *] - right = {type: "Identity"}; - } else { - right = this._parseProjectionRHS(bindingPower.Star); - } - return {type: "ValueProjection", children: [left, right]}; - case TOK_FILTER: - return this.led(token.type, {type: "Identity"}); - case TOK_LBRACE: - return this._parseMultiselectHash(); - case TOK_FLATTEN: - left = {type: TOK_FLATTEN, children: [{type: "Identity"}]}; - right = this._parseProjectionRHS(bindingPower.Flatten); - return {type: "Projection", children: [left, right]}; - case TOK_LBRACKET: - if (this._lookahead(0) === TOK_NUMBER || this._lookahead(0) === TOK_COLON) { - right = this._parseIndexExpression(); - return this._projectIfSlice({type: "Identity"}, right); - } else if (this._lookahead(0) === TOK_STAR && - this._lookahead(1) === TOK_RBRACKET) { - this._advance(); - this._advance(); - right = this._parseProjectionRHS(bindingPower.Star); - return {type: "Projection", - children: [{type: "Identity"}, right]}; - } else { - return this._parseMultiselectList(); - } - break; - case TOK_CURRENT: - return {type: TOK_CURRENT}; - case TOK_EXPREF: - expression = this.expression(bindingPower.Expref); - return {type: "ExpressionReference", children: [expression]}; - case TOK_LPAREN: - var args = []; - while (this._lookahead(0) !== TOK_RPAREN) { - if (this._lookahead(0) === TOK_CURRENT) { - expression = {type: TOK_CURRENT}; - this._advance(); - } else { - expression = this.expression(0); - } - args.push(expression); - } - this._match(TOK_RPAREN); - return args[0]; - default: - this._errorToken(token); - } - }, - - led: function(tokenName, left) { - var right; - switch(tokenName) { - case TOK_DOT: - var rbp = bindingPower.Dot; - if (this._lookahead(0) !== TOK_STAR) { - right = this._parseDotRHS(rbp); - return {type: "Subexpression", children: [left, right]}; - } else { - // Creating a projection. - this._advance(); - right = this._parseProjectionRHS(rbp); - return {type: "ValueProjection", children: [left, right]}; - } - break; - case TOK_PIPE: - right = this.expression(bindingPower.Pipe); - return {type: TOK_PIPE, children: [left, right]}; - case TOK_OR: - right = this.expression(bindingPower.Or); - return {type: "OrExpression", children: [left, right]}; - case TOK_AND: - right = this.expression(bindingPower.And); - return {type: "AndExpression", children: [left, right]}; - case TOK_LPAREN: - var name = left.name; - var args = []; - var expression, node; - while (this._lookahead(0) !== TOK_RPAREN) { - if (this._lookahead(0) === TOK_CURRENT) { - expression = {type: TOK_CURRENT}; - this._advance(); - } else { - expression = this.expression(0); - } - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - } - args.push(expression); - } - this._match(TOK_RPAREN); - node = {type: "Function", name: name, children: args}; - return node; - case TOK_FILTER: - var condition = this.expression(0); - this._match(TOK_RBRACKET); - if (this._lookahead(0) === TOK_FLATTEN) { - right = {type: "Identity"}; - } else { - right = this._parseProjectionRHS(bindingPower.Filter); - } - return {type: "FilterProjection", children: [left, right, condition]}; - case TOK_FLATTEN: - var leftNode = {type: TOK_FLATTEN, children: [left]}; - var rightNode = this._parseProjectionRHS(bindingPower.Flatten); - return {type: "Projection", children: [leftNode, rightNode]}; - case TOK_EQ: - case TOK_NE: - case TOK_GT: - case TOK_GTE: - case TOK_LT: - case TOK_LTE: - return this._parseComparator(left, tokenName); - case TOK_LBRACKET: - var token = this._lookaheadToken(0); - if (token.type === TOK_NUMBER || token.type === TOK_COLON) { - right = this._parseIndexExpression(); - return this._projectIfSlice(left, right); - } else { - this._match(TOK_STAR); - this._match(TOK_RBRACKET); - right = this._parseProjectionRHS(bindingPower.Star); - return {type: "Projection", children: [left, right]}; - } - break; - default: - this._errorToken(this._lookaheadToken(0)); - } - }, - - _match: function(tokenType) { - if (this._lookahead(0) === tokenType) { - this._advance(); - } else { - var t = this._lookaheadToken(0); - var error = new Error("Expected " + tokenType + ", got: " + t.type); - error.name = "ParserError"; - throw error; - } - }, - - _errorToken: function(token) { - var error = new Error("Invalid token (" + - token.type + "): \"" + - token.value + "\""); - error.name = "ParserError"; - throw error; - }, - - - _parseIndexExpression: function() { - if (this._lookahead(0) === TOK_COLON || this._lookahead(1) === TOK_COLON) { - return this._parseSliceExpression(); - } else { - var node = { - type: "Index", - value: this._lookaheadToken(0).value}; - this._advance(); - this._match(TOK_RBRACKET); - return node; - } - }, - - _projectIfSlice: function(left, right) { - var indexExpr = {type: "IndexExpression", children: [left, right]}; - if (right.type === "Slice") { - return { - type: "Projection", - children: [indexExpr, this._parseProjectionRHS(bindingPower.Star)] - }; - } else { - return indexExpr; - } - }, - - _parseSliceExpression: function() { - // [start:end:step] where each part is optional, as well as the last - // colon. - var parts = [null, null, null]; - var index = 0; - var currentToken = this._lookahead(0); - while (currentToken !== TOK_RBRACKET && index < 3) { - if (currentToken === TOK_COLON) { - index++; - this._advance(); - } else if (currentToken === TOK_NUMBER) { - parts[index] = this._lookaheadToken(0).value; - this._advance(); - } else { - var t = this._lookahead(0); - var error = new Error("Syntax error, unexpected token: " + - t.value + "(" + t.type + ")"); - error.name = "Parsererror"; - throw error; - } - currentToken = this._lookahead(0); - } - this._match(TOK_RBRACKET); - return { - type: "Slice", - children: parts - }; - }, - - _parseComparator: function(left, comparator) { - var right = this.expression(bindingPower[comparator]); - return {type: "Comparator", name: comparator, children: [left, right]}; - }, - - _parseDotRHS: function(rbp) { - var lookahead = this._lookahead(0); - var exprTokens = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER, TOK_STAR]; - if (exprTokens.indexOf(lookahead) >= 0) { - return this.expression(rbp); - } else if (lookahead === TOK_LBRACKET) { - this._match(TOK_LBRACKET); - return this._parseMultiselectList(); - } else if (lookahead === TOK_LBRACE) { - this._match(TOK_LBRACE); - return this._parseMultiselectHash(); - } - }, - - _parseProjectionRHS: function(rbp) { - var right; - if (bindingPower[this._lookahead(0)] < 10) { - right = {type: "Identity"}; - } else if (this._lookahead(0) === TOK_LBRACKET) { - right = this.expression(rbp); - } else if (this._lookahead(0) === TOK_FILTER) { - right = this.expression(rbp); - } else if (this._lookahead(0) === TOK_DOT) { - this._match(TOK_DOT); - right = this._parseDotRHS(rbp); - } else { - var t = this._lookaheadToken(0); - var error = new Error("Sytanx error, unexpected token: " + - t.value + "(" + t.type + ")"); - error.name = "ParserError"; - throw error; - } - return right; - }, - - _parseMultiselectList: function() { - var expressions = []; - while (this._lookahead(0) !== TOK_RBRACKET) { - var expression = this.expression(0); - expressions.push(expression); - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - if (this._lookahead(0) === TOK_RBRACKET) { - throw new Error("Unexpected token Rbracket"); - } - } - } - this._match(TOK_RBRACKET); - return {type: "MultiSelectList", children: expressions}; - }, - - _parseMultiselectHash: function() { - var pairs = []; - var identifierTypes = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER]; - var keyToken, keyName, value, node; - for (;;) { - keyToken = this._lookaheadToken(0); - if (identifierTypes.indexOf(keyToken.type) < 0) { - throw new Error("Expecting an identifier token, got: " + - keyToken.type); - } - keyName = keyToken.value; - this._advance(); - this._match(TOK_COLON); - value = this.expression(0); - node = {type: "KeyValuePair", name: keyName, value: value}; - pairs.push(node); - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - } else if (this._lookahead(0) === TOK_RBRACE) { - this._match(TOK_RBRACE); - break; - } - } - return {type: "MultiSelectHash", children: pairs}; - } - }; - - - function TreeInterpreter(runtime) { - this.runtime = runtime; - } - - TreeInterpreter.prototype = { - search: function(node, value) { - return this.visit(node, value); - }, - - visit: function(node, value) { - var matched, current, result, first, second, field, left, right, collected, i; - switch (node.type) { - case "Field": - if (value === null ) { - return null; - } else if (isObject(value)) { - field = value[node.name]; - if (field === undefined) { - return null; - } else { - return field; - } - } else { - return null; - } - break; - case "Subexpression": - result = this.visit(node.children[0], value); - for (i = 1; i < node.children.length; i++) { - result = this.visit(node.children[1], result); - if (result === null) { - return null; - } - } - return result; - case "IndexExpression": - left = this.visit(node.children[0], value); - right = this.visit(node.children[1], left); - return right; - case "Index": - if (!isArray(value)) { - return null; - } - var index = node.value; - if (index < 0) { - index = value.length + index; - } - result = value[index]; - if (result === undefined) { - result = null; - } - return result; - case "Slice": - if (!isArray(value)) { - return null; - } - var sliceParams = node.children.slice(0); - var computed = this.computeSliceParams(value.length, sliceParams); - var start = computed[0]; - var stop = computed[1]; - var step = computed[2]; - result = []; - if (step > 0) { - for (i = start; i < stop; i += step) { - result.push(value[i]); - } - } else { - for (i = start; i > stop; i += step) { - result.push(value[i]); - } - } - return result; - case "Projection": - // Evaluate left child. - var base = this.visit(node.children[0], value); - if (!isArray(base)) { - return null; - } - collected = []; - for (i = 0; i < base.length; i++) { - current = this.visit(node.children[1], base[i]); - if (current !== null) { - collected.push(current); - } - } - return collected; - case "ValueProjection": - // Evaluate left child. - base = this.visit(node.children[0], value); - if (!isObject(base)) { - return null; - } - collected = []; - var values = objValues(base); - for (i = 0; i < values.length; i++) { - current = this.visit(node.children[1], values[i]); - if (current !== null) { - collected.push(current); - } - } - return collected; - case "FilterProjection": - base = this.visit(node.children[0], value); - if (!isArray(base)) { - return null; - } - var filtered = []; - var finalResults = []; - for (i = 0; i < base.length; i++) { - matched = this.visit(node.children[2], base[i]); - if (!isFalse(matched)) { - filtered.push(base[i]); - } - } - for (var j = 0; j < filtered.length; j++) { - current = this.visit(node.children[1], filtered[j]); - if (current !== null) { - finalResults.push(current); - } - } - return finalResults; - case "Comparator": - first = this.visit(node.children[0], value); - second = this.visit(node.children[1], value); - switch(node.name) { - case TOK_EQ: - result = strictDeepEqual(first, second); - break; - case TOK_NE: - result = !strictDeepEqual(first, second); - break; - case TOK_GT: - result = first > second; - break; - case TOK_GTE: - result = first >= second; - break; - case TOK_LT: - result = first < second; - break; - case TOK_LTE: - result = first <= second; - break; - default: - throw new Error("Unknown comparator: " + node.name); - } - return result; - case TOK_FLATTEN: - var original = this.visit(node.children[0], value); - if (!isArray(original)) { - return null; - } - var merged = []; - for (i = 0; i < original.length; i++) { - current = original[i]; - if (isArray(current)) { - merged.push.apply(merged, current); - } else { - merged.push(current); - } - } - return merged; - case "Identity": - return value; - case "MultiSelectList": - if (value === null) { - return null; - } - collected = []; - for (i = 0; i < node.children.length; i++) { - collected.push(this.visit(node.children[i], value)); - } - return collected; - case "MultiSelectHash": - if (value === null) { - return null; - } - collected = {}; - var child; - for (i = 0; i < node.children.length; i++) { - child = node.children[i]; - collected[child.name] = this.visit(child.value, value); - } - return collected; - case "OrExpression": - matched = this.visit(node.children[0], value); - if (isFalse(matched)) { - matched = this.visit(node.children[1], value); - } - return matched; - case "AndExpression": - first = this.visit(node.children[0], value); - - if (isFalse(first) === true) { - return first; - } - return this.visit(node.children[1], value); - case "NotExpression": - first = this.visit(node.children[0], value); - return isFalse(first); - case "Literal": - return node.value; - case TOK_PIPE: - left = this.visit(node.children[0], value); - return this.visit(node.children[1], left); - case TOK_CURRENT: - return value; - case "Function": - var resolvedArgs = []; - for (i = 0; i < node.children.length; i++) { - resolvedArgs.push(this.visit(node.children[i], value)); - } - return this.runtime.callFunction(node.name, resolvedArgs); - case "ExpressionReference": - var refNode = node.children[0]; - // Tag the node with a specific attribute so the type - // checker verify the type. - refNode.jmespathType = TOK_EXPREF; - return refNode; - default: - throw new Error("Unknown node type: " + node.type); - } - }, - - computeSliceParams: function(arrayLength, sliceParams) { - var start = sliceParams[0]; - var stop = sliceParams[1]; - var step = sliceParams[2]; - var computed = [null, null, null]; - if (step === null) { - step = 1; - } else if (step === 0) { - var error = new Error("Invalid slice, step cannot be 0"); - error.name = "RuntimeError"; - throw error; - } - var stepValueNegative = step < 0 ? true : false; - - if (start === null) { - start = stepValueNegative ? arrayLength - 1 : 0; - } else { - start = this.capSliceRange(arrayLength, start, step); - } - - if (stop === null) { - stop = stepValueNegative ? -1 : arrayLength; - } else { - stop = this.capSliceRange(arrayLength, stop, step); - } - computed[0] = start; - computed[1] = stop; - computed[2] = step; - return computed; - }, - - capSliceRange: function(arrayLength, actualValue, step) { - if (actualValue < 0) { - actualValue += arrayLength; - if (actualValue < 0) { - actualValue = step < 0 ? -1 : 0; - } - } else if (actualValue >= arrayLength) { - actualValue = step < 0 ? arrayLength - 1 : arrayLength; - } - return actualValue; - } - - }; - - function Runtime(interpreter) { - this._interpreter = interpreter; - this.functionTable = { - // name: [function, ] - // The can be: - // - // { - // args: [[type1, type2], [type1, type2]], - // variadic: true|false - // } - // - // Each arg in the arg list is a list of valid types - // (if the function is overloaded and supports multiple - // types. If the type is "any" then no type checking - // occurs on the argument. Variadic is optional - // and if not provided is assumed to be false. - abs: {_func: this._functionAbs, _signature: [{types: [TYPE_NUMBER]}]}, - avg: {_func: this._functionAvg, _signature: [{types: [TYPE_ARRAY_NUMBER]}]}, - ceil: {_func: this._functionCeil, _signature: [{types: [TYPE_NUMBER]}]}, - contains: { - _func: this._functionContains, - _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}, - {types: [TYPE_ANY]}]}, - "ends_with": { - _func: this._functionEndsWith, - _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]}, - floor: {_func: this._functionFloor, _signature: [{types: [TYPE_NUMBER]}]}, - length: { - _func: this._functionLength, - _signature: [{types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT]}]}, - map: { - _func: this._functionMap, - _signature: [{types: [TYPE_EXPREF]}, {types: [TYPE_ARRAY]}]}, - max: { - _func: this._functionMax, - _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]}, - "merge": { - _func: this._functionMerge, - _signature: [{types: [TYPE_OBJECT], variadic: true}] - }, - "max_by": { - _func: this._functionMaxBy, - _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] - }, - sum: {_func: this._functionSum, _signature: [{types: [TYPE_ARRAY_NUMBER]}]}, - "starts_with": { - _func: this._functionStartsWith, - _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]}, - min: { - _func: this._functionMin, - _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]}, - "min_by": { - _func: this._functionMinBy, - _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] - }, - type: {_func: this._functionType, _signature: [{types: [TYPE_ANY]}]}, - keys: {_func: this._functionKeys, _signature: [{types: [TYPE_OBJECT]}]}, - values: {_func: this._functionValues, _signature: [{types: [TYPE_OBJECT]}]}, - sort: {_func: this._functionSort, _signature: [{types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER]}]}, - "sort_by": { - _func: this._functionSortBy, - _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] - }, - join: { - _func: this._functionJoin, - _signature: [ - {types: [TYPE_STRING]}, - {types: [TYPE_ARRAY_STRING]} - ] - }, - reverse: { - _func: this._functionReverse, - _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}]}, - "to_array": {_func: this._functionToArray, _signature: [{types: [TYPE_ANY]}]}, - "to_string": {_func: this._functionToString, _signature: [{types: [TYPE_ANY]}]}, - "to_number": {_func: this._functionToNumber, _signature: [{types: [TYPE_ANY]}]}, - "not_null": { - _func: this._functionNotNull, - _signature: [{types: [TYPE_ANY], variadic: true}] - } - }; - } - - Runtime.prototype = { - callFunction: function(name, resolvedArgs) { - var functionEntry = this.functionTable[name]; - if (functionEntry === undefined) { - throw new Error("Unknown function: " + name + "()"); - } - this._validateArgs(name, resolvedArgs, functionEntry._signature); - return functionEntry._func.call(this, resolvedArgs); - }, - - _validateArgs: function(name, args, signature) { - // Validating the args requires validating - // the correct arity and the correct type of each arg. - // If the last argument is declared as variadic, then we need - // a minimum number of args to be required. Otherwise it has to - // be an exact amount. - var pluralized; - if (signature[signature.length - 1].variadic) { - if (args.length < signature.length) { - pluralized = signature.length === 1 ? " argument" : " arguments"; - throw new Error("ArgumentError: " + name + "() " + - "takes at least" + signature.length + pluralized + - " but received " + args.length); - } - } else if (args.length !== signature.length) { - pluralized = signature.length === 1 ? " argument" : " arguments"; - throw new Error("ArgumentError: " + name + "() " + - "takes " + signature.length + pluralized + - " but received " + args.length); - } - var currentSpec; - var actualType; - var typeMatched; - for (var i = 0; i < signature.length; i++) { - typeMatched = false; - currentSpec = signature[i].types; - actualType = this._getTypeName(args[i]); - for (var j = 0; j < currentSpec.length; j++) { - if (this._typeMatches(actualType, currentSpec[j], args[i])) { - typeMatched = true; - break; - } - } - if (!typeMatched) { - throw new Error("TypeError: " + name + "() " + - "expected argument " + (i + 1) + - " to be type " + currentSpec + - " but received type " + actualType + - " instead."); - } - } - }, - - _typeMatches: function(actual, expected, argValue) { - if (expected === TYPE_ANY) { - return true; - } - if (expected === TYPE_ARRAY_STRING || - expected === TYPE_ARRAY_NUMBER || - expected === TYPE_ARRAY) { - // The expected type can either just be array, - // or it can require a specific subtype (array of numbers). - // - // The simplest case is if "array" with no subtype is specified. - if (expected === TYPE_ARRAY) { - return actual === TYPE_ARRAY; - } else if (actual === TYPE_ARRAY) { - // Otherwise we need to check subtypes. - // I think this has potential to be improved. - var subtype; - if (expected === TYPE_ARRAY_NUMBER) { - subtype = TYPE_NUMBER; - } else if (expected === TYPE_ARRAY_STRING) { - subtype = TYPE_STRING; - } - for (var i = 0; i < argValue.length; i++) { - if (!this._typeMatches( - this._getTypeName(argValue[i]), subtype, - argValue[i])) { - return false; - } - } - return true; - } - } else { - return actual === expected; - } - }, - _getTypeName: function(obj) { - switch (Object.prototype.toString.call(obj)) { - case "[object String]": - return TYPE_STRING; - case "[object Number]": - return TYPE_NUMBER; - case "[object Array]": - return TYPE_ARRAY; - case "[object Boolean]": - return TYPE_BOOLEAN; - case "[object Null]": - return TYPE_NULL; - case "[object Object]": - // Check if it's an expref. If it has, it's been - // tagged with a jmespathType attr of 'Expref'; - if (obj.jmespathType === TOK_EXPREF) { - return TYPE_EXPREF; - } else { - return TYPE_OBJECT; - } - } - }, - - _functionStartsWith: function(resolvedArgs) { - return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0; - }, - - _functionEndsWith: function(resolvedArgs) { - var searchStr = resolvedArgs[0]; - var suffix = resolvedArgs[1]; - return searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1; - }, - - _functionReverse: function(resolvedArgs) { - var typeName = this._getTypeName(resolvedArgs[0]); - if (typeName === TYPE_STRING) { - var originalStr = resolvedArgs[0]; - var reversedStr = ""; - for (var i = originalStr.length - 1; i >= 0; i--) { - reversedStr += originalStr[i]; - } - return reversedStr; - } else { - var reversedArray = resolvedArgs[0].slice(0); - reversedArray.reverse(); - return reversedArray; - } - }, - - _functionAbs: function(resolvedArgs) { - return Math.abs(resolvedArgs[0]); - }, - - _functionCeil: function(resolvedArgs) { - return Math.ceil(resolvedArgs[0]); - }, - - _functionAvg: function(resolvedArgs) { - var sum = 0; - var inputArray = resolvedArgs[0]; - for (var i = 0; i < inputArray.length; i++) { - sum += inputArray[i]; - } - return sum / inputArray.length; - }, - - _functionContains: function(resolvedArgs) { - return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0; - }, - - _functionFloor: function(resolvedArgs) { - return Math.floor(resolvedArgs[0]); - }, - - _functionLength: function(resolvedArgs) { - if (!isObject(resolvedArgs[0])) { - return resolvedArgs[0].length; - } else { - // As far as I can tell, there's no way to get the length - // of an object without O(n) iteration through the object. - return Object.keys(resolvedArgs[0]).length; - } - }, - - _functionMap: function(resolvedArgs) { - var mapped = []; - var interpreter = this._interpreter; - var exprefNode = resolvedArgs[0]; - var elements = resolvedArgs[1]; - for (var i = 0; i < elements.length; i++) { - mapped.push(interpreter.visit(exprefNode, elements[i])); - } - return mapped; - }, - - _functionMerge: function(resolvedArgs) { - var merged = {}; - for (var i = 0; i < resolvedArgs.length; i++) { - var current = resolvedArgs[i]; - for (var key in current) { - merged[key] = current[key]; - } - } - return merged; - }, - - _functionMax: function(resolvedArgs) { - if (resolvedArgs[0].length > 0) { - var typeName = this._getTypeName(resolvedArgs[0][0]); - if (typeName === TYPE_NUMBER) { - return Math.max.apply(Math, resolvedArgs[0]); - } else { - var elements = resolvedArgs[0]; - var maxElement = elements[0]; - for (var i = 1; i < elements.length; i++) { - if (maxElement.localeCompare(elements[i]) < 0) { - maxElement = elements[i]; - } - } - return maxElement; - } - } else { - return null; - } - }, - - _functionMin: function(resolvedArgs) { - if (resolvedArgs[0].length > 0) { - var typeName = this._getTypeName(resolvedArgs[0][0]); - if (typeName === TYPE_NUMBER) { - return Math.min.apply(Math, resolvedArgs[0]); - } else { - var elements = resolvedArgs[0]; - var minElement = elements[0]; - for (var i = 1; i < elements.length; i++) { - if (elements[i].localeCompare(minElement) < 0) { - minElement = elements[i]; - } - } - return minElement; - } - } else { - return null; - } - }, - - _functionSum: function(resolvedArgs) { - var sum = 0; - var listToSum = resolvedArgs[0]; - for (var i = 0; i < listToSum.length; i++) { - sum += listToSum[i]; - } - return sum; - }, - - _functionType: function(resolvedArgs) { - switch (this._getTypeName(resolvedArgs[0])) { - case TYPE_NUMBER: - return "number"; - case TYPE_STRING: - return "string"; - case TYPE_ARRAY: - return "array"; - case TYPE_OBJECT: - return "object"; - case TYPE_BOOLEAN: - return "boolean"; - case TYPE_EXPREF: - return "expref"; - case TYPE_NULL: - return "null"; - } - }, - - _functionKeys: function(resolvedArgs) { - return Object.keys(resolvedArgs[0]); - }, - - _functionValues: function(resolvedArgs) { - var obj = resolvedArgs[0]; - var keys = Object.keys(obj); - var values = []; - for (var i = 0; i < keys.length; i++) { - values.push(obj[keys[i]]); - } - return values; - }, - - _functionJoin: function(resolvedArgs) { - var joinChar = resolvedArgs[0]; - var listJoin = resolvedArgs[1]; - return listJoin.join(joinChar); - }, - - _functionToArray: function(resolvedArgs) { - if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) { - return resolvedArgs[0]; - } else { - return [resolvedArgs[0]]; - } - }, - - _functionToString: function(resolvedArgs) { - if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) { - return resolvedArgs[0]; - } else { - return JSON.stringify(resolvedArgs[0]); - } - }, - - _functionToNumber: function(resolvedArgs) { - var typeName = this._getTypeName(resolvedArgs[0]); - var convertedValue; - if (typeName === TYPE_NUMBER) { - return resolvedArgs[0]; - } else if (typeName === TYPE_STRING) { - convertedValue = +resolvedArgs[0]; - if (!isNaN(convertedValue)) { - return convertedValue; - } - } - return null; - }, - - _functionNotNull: function(resolvedArgs) { - for (var i = 0; i < resolvedArgs.length; i++) { - if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) { - return resolvedArgs[i]; - } - } - return null; - }, - - _functionSort: function(resolvedArgs) { - var sortedArray = resolvedArgs[0].slice(0); - sortedArray.sort(); - return sortedArray; - }, - - _functionSortBy: function(resolvedArgs) { - var sortedArray = resolvedArgs[0].slice(0); - if (sortedArray.length === 0) { - return sortedArray; - } - var interpreter = this._interpreter; - var exprefNode = resolvedArgs[1]; - var requiredType = this._getTypeName( - interpreter.visit(exprefNode, sortedArray[0])); - if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) { - throw new Error("TypeError"); - } - var that = this; - // In order to get a stable sort out of an unstable - // sort algorithm, we decorate/sort/undecorate (DSU) - // by creating a new list of [index, element] pairs. - // In the cmp function, if the evaluated elements are - // equal, then the index will be used as the tiebreaker. - // After the decorated list has been sorted, it will be - // undecorated to extract the original elements. - var decorated = []; - for (var i = 0; i < sortedArray.length; i++) { - decorated.push([i, sortedArray[i]]); - } - decorated.sort(function(a, b) { - var exprA = interpreter.visit(exprefNode, a[1]); - var exprB = interpreter.visit(exprefNode, b[1]); - if (that._getTypeName(exprA) !== requiredType) { - throw new Error( - "TypeError: expected " + requiredType + ", received " + - that._getTypeName(exprA)); - } else if (that._getTypeName(exprB) !== requiredType) { - throw new Error( - "TypeError: expected " + requiredType + ", received " + - that._getTypeName(exprB)); - } - if (exprA > exprB) { - return 1; - } else if (exprA < exprB) { - return -1; - } else { - // If they're equal compare the items by their - // order to maintain relative order of equal keys - // (i.e. to get a stable sort). - return a[0] - b[0]; - } - }); - // Undecorate: extract out the original list elements. - for (var j = 0; j < decorated.length; j++) { - sortedArray[j] = decorated[j][1]; - } - return sortedArray; - }, - - _functionMaxBy: function(resolvedArgs) { - var exprefNode = resolvedArgs[1]; - var resolvedArray = resolvedArgs[0]; - var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]); - var maxNumber = -Infinity; - var maxRecord; - var current; - for (var i = 0; i < resolvedArray.length; i++) { - current = keyFunction(resolvedArray[i]); - if (current > maxNumber) { - maxNumber = current; - maxRecord = resolvedArray[i]; - } - } - return maxRecord; - }, - - _functionMinBy: function(resolvedArgs) { - var exprefNode = resolvedArgs[1]; - var resolvedArray = resolvedArgs[0]; - var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]); - var minNumber = Infinity; - var minRecord; - var current; - for (var i = 0; i < resolvedArray.length; i++) { - current = keyFunction(resolvedArray[i]); - if (current < minNumber) { - minNumber = current; - minRecord = resolvedArray[i]; - } - } - return minRecord; - }, - - createKeyFunction: function(exprefNode, allowedTypes) { - var that = this; - var interpreter = this._interpreter; - var keyFunc = function(x) { - var current = interpreter.visit(exprefNode, x); - if (allowedTypes.indexOf(that._getTypeName(current)) < 0) { - var msg = "TypeError: expected one of " + allowedTypes + - ", received " + that._getTypeName(current); - throw new Error(msg); - } - return current; - }; - return keyFunc; - } - - }; - - function compile(stream) { - var parser = new Parser(); - var ast = parser.parse(stream); - return ast; - } - - function tokenize(stream) { - var lexer = new Lexer(); - return lexer.tokenize(stream); - } - - function search(data, expression) { - var parser = new Parser(); - // This needs to be improved. Both the interpreter and runtime depend on - // each other. The runtime needs the interpreter to support exprefs. - // There's likely a clean way to avoid the cyclic dependency. - var runtime = new Runtime(); - var interpreter = new TreeInterpreter(runtime); - runtime._interpreter = interpreter; - var node = parser.parse(expression); - return interpreter.search(node, data); - } - - exports.tokenize = tokenize; - exports.compile = compile; - exports.search = search; - exports.strictDeepEqual = strictDeepEqual; -})(typeof exports === "undefined" ? this.jmespath = {} : exports); diff --git a/src/node_modules/jmespath/jp.js b/src/node_modules/jmespath/jp.js deleted file mode 100755 index c152108..0000000 --- a/src/node_modules/jmespath/jp.js +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env node -jmespath = require('./jmespath'); - -process.stdin.setEncoding('utf-8'); - - -if (process.argv.length < 2) { - console.log("Must provide a jmespath expression."); - process.exit(1); -} -var inputJSON = ""; - -process.stdin.on('readable', function() { - var chunk = process.stdin.read(); - if (chunk !== null) { - inputJSON += chunk; - } -}); - -process.stdin.on('end', function() { - var parsedInput = JSON.parse(inputJSON); - console.log(JSON.stringify(jmespath.search(parsedInput, process.argv[2]))); -}); diff --git a/src/node_modules/jmespath/l.js b/src/node_modules/jmespath/l.js deleted file mode 100644 index 27bf6dd..0000000 --- a/src/node_modules/jmespath/l.js +++ /dev/null @@ -1,189 +0,0 @@ -'use strict'; - -var Lexer = exports.Lexer = function() { - this.pos = 0; - this.buf = null; - this.buflen = 0; - - // Operator table, mapping operator -> token name - this.optable = { - '+': 'PLUS', - '-': 'MINUS', - '*': 'MULTIPLY', - '.': 'PERIOD', - '\\': 'BACKSLASH', - ':': 'COLON', - '%': 'PERCENT', - '|': 'PIPE', - '!': 'EXCLAMATION', - '?': 'QUESTION', - '#': 'POUND', - '&': 'AMPERSAND', - ';': 'SEMI', - ',': 'COMMA', - '(': 'L_PAREN', - ')': 'R_PAREN', - '<': 'L_ANG', - '>': 'R_ANG', - '{': 'L_BRACE', - '}': 'R_BRACE', - '[': 'L_BRACKET', - ']': 'R_BRACKET', - '=': 'EQUALS' - }; -} - -// Initialize the Lexer's buffer. This resets the lexer's internal -// state and subsequent tokens will be returned starting with the -// beginning of the new buffer. -Lexer.prototype.input = function(buf) { - this.pos = 0; - this.buf = buf; - this.buflen = buf.length; -} - -// Get the next token from the current buffer. A token is an object with -// the following properties: -// - name: name of the pattern that this token matched (taken from rules). -// - value: actual string value of the token. -// - pos: offset in the current buffer where the token starts. -// -// If there are no more tokens in the buffer, returns null. In case of -// an error throws Error. -Lexer.prototype.token = function() { - this._skipnontokens(); - if (this.pos >= this.buflen) { - return null; - } - - // The char at this.pos is part of a real token. Figure out which. - var c = this.buf.charAt(this.pos); - - // '/' is treated specially, because it starts a comment if followed by - // another '/'. If not followed by another '/', it's the DIVIDE - // operator. - if (c === '/') { - var next_c = this.buf.charAt(this.pos + 1); - if (next_c === '/') { - return this._process_comment(); - } else { - return {name: 'DIVIDE', value: '/', pos: this.pos++}; - } - } else { - // Look it up in the table of operators - var op = this.optable[c]; - if (op !== undefined) { - return {name: op, value: c, pos: this.pos++}; - } else { - // Not an operator - so it's the beginning of another token. - if (Lexer._isalpha(c)) { - return this._process_identifier(); - } else if (Lexer._isdigit(c)) { - return this._process_number(); - } else if (c === '"') { - return this._process_quote(); - } else { - throw Error('Token error at ' + this.pos); - } - } - } -} - -Lexer._isnewline = function(c) { - return c === '\r' || c === '\n'; -} - -Lexer._isdigit = function(c) { - return c >= '0' && c <= '9'; -} - -Lexer._isalpha = function(c) { - return (c >= 'a' && c <= 'z') || - (c >= 'A' && c <= 'Z') || - c === '_' || c === '$'; -} - -Lexer._isalphanum = function(c) { - return (c >= 'a' && c <= 'z') || - (c >= 'A' && c <= 'Z') || - (c >= '0' && c <= '9') || - c === '_' || c === '$'; -} - -Lexer.prototype._process_number = function() { - var endpos = this.pos + 1; - while (endpos < this.buflen && - Lexer._isdigit(this.buf.charAt(endpos))) { - endpos++; - } - - var tok = { - name: 'NUMBER', - value: this.buf.substring(this.pos, endpos), - pos: this.pos - }; - this.pos = endpos; - return tok; -} - -Lexer.prototype._process_comment = function() { - var endpos = this.pos + 2; - // Skip until the end of the line - var c = this.buf.charAt(this.pos + 2); - while (endpos < this.buflen && - !Lexer._isnewline(this.buf.charAt(endpos))) { - endpos++; - } - - var tok = { - name: 'COMMENT', - value: this.buf.substring(this.pos, endpos), - pos: this.pos - }; - this.pos = endpos + 1; - return tok; -} - -Lexer.prototype._process_identifier = function() { - var endpos = this.pos + 1; - while (endpos < this.buflen && - Lexer._isalphanum(this.buf.charAt(endpos))) { - endpos++; - } - - var tok = { - name: 'IDENTIFIER', - value: this.buf.substring(this.pos, endpos), - pos: this.pos - }; - this.pos = endpos; - return tok; -} - -Lexer.prototype._process_quote = function() { - // this.pos points at the opening quote. Find the ending quote. - var end_index = this.buf.indexOf('"', this.pos + 1); - - if (end_index === -1) { - throw Error('Unterminated quote at ' + this.pos); - } else { - var tok = { - name: 'QUOTE', - value: this.buf.substring(this.pos, end_index + 1), - pos: this.pos - }; - this.pos = end_index + 1; - return tok; - } -} - -Lexer.prototype._skipnontokens = function() { - while (this.pos < this.buflen) { - var c = this.buf.charAt(this.pos); - if (c == ' ' || c == '\t' || c == '\r' || c == '\n') { - this.pos++; - } else { - break; - } - } -} diff --git a/src/node_modules/jmespath/package.json b/src/node_modules/jmespath/package.json deleted file mode 100644 index 3a5455c..0000000 --- a/src/node_modules/jmespath/package.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "_args": [ - [ - "jmespath@0.15.0", - "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk" - ] - ], - "_from": "jmespath@0.15.0", - "_id": "jmespath@0.15.0", - "_inCache": true, - "_installable": true, - "_location": "/jmespath", - "_nodeVersion": "5.8.0", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/jmespath-0.15.0.tgz_1458924686313_0.6043944323901087" - }, - "_npmUser": { - "email": "js@jamesls.com", - "name": "jamesls" - }, - "_npmVersion": "3.8.3", - "_phantomChildren": {}, - "_requested": { - "name": "jmespath", - "raw": "jmespath@0.15.0", - "rawSpec": "0.15.0", - "scope": null, - "spec": "0.15.0", - "type": "version" - }, - "_requiredBy": [ - "/aws-sdk" - ], - "_resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.15.0.tgz", - "_shasum": "a3f222a9aae9f966f5d27c796510e28091764217", - "_shrinkwrap": null, - "_spec": "jmespath@0.15.0", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk", - "author": { - "email": "js@jamesls.com", - "name": "James Saryerwinnie", - "url": "http://jamesls.com/" - }, - "bugs": { - "url": "http://github.com/jmespath/jmespath.js/issues" - }, - "contributors": [], - "dependencies": {}, - "description": "JMESPath implementation in javascript", - "devDependencies": { - "grunt": "^0.4.5", - "grunt-contrib-jshint": "^0.11.0", - "grunt-contrib-uglify": "^0.11.1", - "grunt-eslint": "^17.3.1", - "mocha": "^2.1.0" - }, - "directories": { - "test": "test" - }, - "dist": { - "shasum": "a3f222a9aae9f966f5d27c796510e28091764217", - "tarball": "https://registry.npmjs.org/jmespath/-/jmespath-0.15.0.tgz" - }, - "engines": { - "node": ">= 0.6.0" - }, - "gitHead": "72a28807b164317f2c61f0e2372656c424bc4b6c", - "homepage": "https://github.com/jmespath/jmespath.js", - "keywords": [ - "jmespath", - "json", - "jsonpath", - "xpath" - ], - "licenses": [ - { - "type": "Apache 2.0", - "url": "http://github.com/jmespath/jmespath.js/raw/master/LICENSE" - } - ], - "main": "jmespath.js", - "maintainers": [ - { - "name": "jamesls", - "email": "js@jamesls.com" - } - ], - "name": "jmespath", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/jmespath/jmespath.js.git" - }, - "scripts": { - "test": "mocha test/" - }, - "version": "0.15.0" -} diff --git a/src/node_modules/jmespath/perf.js b/src/node_modules/jmespath/perf.js deleted file mode 100644 index 58794ec..0000000 --- a/src/node_modules/jmespath/perf.js +++ /dev/null @@ -1,33 +0,0 @@ -var jmespath = require('./jmespath') -var Benchmark = require('benchmark'); -var suite = new Benchmark.Suite; - -// add tests -suite.add('Parser#single_expr', function() { - jmespath.compile("foo"); -}) -.add('Parser#single_subexpr', function() { - jmespath.compile("foo.bar"); -}) -.add('Parser#deeply_nested_50', function() { - jmespath.compile("j49.j48.j47.j46.j45.j44.j43.j42.j41.j40.j39.j38.j37.j36.j35.j34.j33.j32.j31.j30.j29.j28.j27.j26.j25.j24.j23.j22.j21.j20.j19.j18.j17.j16.j15.j14.j13.j12.j11.j10.j9.j8.j7.j6.j5.j4.j3.j2.j1.j0"); - -}) -.add('Parser#deeply_nested_50_index', function() { - jmespath.compile("[49][48][47][46][45][44][43][42][41][40][39][38][37][36][35][34][33][32][31][30][29][28][27][26][25][24][23][22][21][20][19][18][17][16][15][14][13][12][11][10][9][8][7][6][5][4][3][2][1][0]"); -}) -.add('Parser#basic_list_projection', function() { - jmespath.compile("foo[*].bar"); -}) -.on('cycle', function(event) { - var bench = event.target; - var mean = bench.stats.mean * 1000; - var variance = bench.stats.variance * 1000000; - var result = 'Mean time: ' + mean.toFixed(6) + 'msec '; - result += event.target.toString(); - console.log(result); -}) -.on('complete', function() { -}) -// run async -.run({ 'async': false }); diff --git a/src/node_modules/jmespath/reservedWords.json b/src/node_modules/jmespath/reservedWords.json deleted file mode 100644 index 433cd35..0000000 --- a/src/node_modules/jmespath/reservedWords.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "vars": [ "define", "require", "exports"], - "props": ["compile", "search", "tokenize", "jmespath", "parse", "stringify", "prototype", "length"] -} diff --git a/src/node_modules/jmespath/test/compliance.js b/src/node_modules/jmespath/test/compliance.js deleted file mode 100644 index 6298e9e..0000000 --- a/src/node_modules/jmespath/test/compliance.js +++ /dev/null @@ -1,56 +0,0 @@ -var fs = require('fs'); -var path = require('path'); -var assert = require('assert'); -var jmespath = require('../jmespath'); -var search = jmespath.search; - -// Compliance tests that aren't supported yet. -var notImplementedYet = []; - -function endsWith(str, suffix) { - return str.indexOf(suffix, str.length - suffix.length) !== -1; -} - -var listing = fs.readdirSync('test/compliance'); -for (var i = 0; i < listing.length; i++) { - var filename = 'test/compliance/' + listing[i]; - if (fs.statSync(filename).isFile() && endsWith(filename, '.json') && - notImplementedYet.indexOf(path.basename(filename)) === -1) { - addTestSuitesFromFile(filename); - } -} -function addTestSuitesFromFile(filename) { - describe(filename, function() { - var spec = JSON.parse(fs.readFileSync(filename, 'utf-8')); - var errorMsg; - for (var i = 0; i < spec.length; i++) { - var msg = "suite " + i + " for filename " + filename; - describe(msg, function() { - var given = spec[i].given; - var cases = spec[i].cases; - for (var j = 0; j < cases.length; j++) { - var testcase = cases[j]; - if (testcase.error !== undefined) { - // For now just verify that an error is thrown - // for error tests. - (function(testcase, given) { - it('should throw error for test ' + j, function() { - assert.throws( - function() { - search(given, testcase.expression); - }, Error, testcase.expression); - }); - })(testcase, given); - } else { - (function(testcase, given) { - it('should pass test ' + j + " expression: " + testcase.expression, function() { - assert.deepEqual(search(given, testcase.expression), - testcase.result); - }); - })(testcase, given); - } - } - }); - } - }); -} diff --git a/src/node_modules/jmespath/test/compliance/basic.json b/src/node_modules/jmespath/test/compliance/basic.json deleted file mode 100644 index d550e96..0000000 --- a/src/node_modules/jmespath/test/compliance/basic.json +++ /dev/null @@ -1,96 +0,0 @@ -[{ - "given": - {"foo": {"bar": {"baz": "correct"}}}, - "cases": [ - { - "expression": "foo", - "result": {"bar": {"baz": "correct"}} - }, - { - "expression": "foo.bar", - "result": {"baz": "correct"} - }, - { - "expression": "foo.bar.baz", - "result": "correct" - }, - { - "expression": "foo\n.\nbar\n.baz", - "result": "correct" - }, - { - "expression": "foo.bar.baz.bad", - "result": null - }, - { - "expression": "foo.bar.bad", - "result": null - }, - { - "expression": "foo.bad", - "result": null - }, - { - "expression": "bad", - "result": null - }, - { - "expression": "bad.morebad.morebad", - "result": null - } - ] -}, -{ - "given": - {"foo": {"bar": ["one", "two", "three"]}}, - "cases": [ - { - "expression": "foo", - "result": {"bar": ["one", "two", "three"]} - }, - { - "expression": "foo.bar", - "result": ["one", "two", "three"] - } - ] -}, -{ - "given": ["one", "two", "three"], - "cases": [ - { - "expression": "one", - "result": null - }, - { - "expression": "two", - "result": null - }, - { - "expression": "three", - "result": null - }, - { - "expression": "one.two", - "result": null - } - ] -}, -{ - "given": - {"foo": {"1": ["one", "two", "three"], "-1": "bar"}}, - "cases": [ - { - "expression": "foo.\"1\"", - "result": ["one", "two", "three"] - }, - { - "expression": "foo.\"1\"[0]", - "result": "one" - }, - { - "expression": "foo.\"-1\"", - "result": "bar" - } - ] -} -] diff --git a/src/node_modules/jmespath/test/compliance/boolean.json b/src/node_modules/jmespath/test/compliance/boolean.json deleted file mode 100644 index e3fa196..0000000 --- a/src/node_modules/jmespath/test/compliance/boolean.json +++ /dev/null @@ -1,257 +0,0 @@ -[ - { - "given": { - "outer": { - "foo": "foo", - "bar": "bar", - "baz": "baz" - } - }, - "cases": [ - { - "expression": "outer.foo || outer.bar", - "result": "foo" - }, - { - "expression": "outer.foo||outer.bar", - "result": "foo" - }, - { - "expression": "outer.bar || outer.baz", - "result": "bar" - }, - { - "expression": "outer.bar||outer.baz", - "result": "bar" - }, - { - "expression": "outer.bad || outer.foo", - "result": "foo" - }, - { - "expression": "outer.bad||outer.foo", - "result": "foo" - }, - { - "expression": "outer.foo || outer.bad", - "result": "foo" - }, - { - "expression": "outer.foo||outer.bad", - "result": "foo" - }, - { - "expression": "outer.bad || outer.alsobad", - "result": null - }, - { - "expression": "outer.bad||outer.alsobad", - "result": null - } - ] - }, - { - "given": { - "outer": { - "foo": "foo", - "bool": false, - "empty_list": [], - "empty_string": "" - } - }, - "cases": [ - { - "expression": "outer.empty_string || outer.foo", - "result": "foo" - }, - { - "expression": "outer.nokey || outer.bool || outer.empty_list || outer.empty_string || outer.foo", - "result": "foo" - } - ] - }, - { - "given": { - "True": true, - "False": false, - "Number": 5, - "EmptyList": [], - "Zero": 0 - }, - "cases": [ - { - "expression": "True && False", - "result": false - }, - { - "expression": "False && True", - "result": false - }, - { - "expression": "True && True", - "result": true - }, - { - "expression": "False && False", - "result": false - }, - { - "expression": "True && Number", - "result": 5 - }, - { - "expression": "Number && True", - "result": true - }, - { - "expression": "Number && False", - "result": false - }, - { - "expression": "Number && EmptyList", - "result": [] - }, - { - "expression": "Number && True", - "result": true - }, - { - "expression": "EmptyList && True", - "result": [] - }, - { - "expression": "EmptyList && False", - "result": [] - }, - { - "expression": "True || False", - "result": true - }, - { - "expression": "True || True", - "result": true - }, - { - "expression": "False || True", - "result": true - }, - { - "expression": "False || False", - "result": false - }, - { - "expression": "Number || EmptyList", - "result": 5 - }, - { - "expression": "Number || True", - "result": 5 - }, - { - "expression": "Number || True && False", - "result": 5 - }, - { - "expression": "(Number || True) && False", - "result": false - }, - { - "expression": "Number || (True && False)", - "result": 5 - }, - { - "expression": "!True", - "result": false - }, - { - "expression": "!False", - "result": true - }, - { - "expression": "!Number", - "result": false - }, - { - "expression": "!EmptyList", - "result": true - }, - { - "expression": "True && !False", - "result": true - }, - { - "expression": "True && !EmptyList", - "result": true - }, - { - "expression": "!False && !EmptyList", - "result": true - }, - { - "expression": "!(True && False)", - "result": true - }, - { - "expression": "!Zero", - "result": false - }, - { - "expression": "!!Zero", - "result": true - } - ] - }, - { - "given": { - "one": 1, - "two": 2, - "three": 3 - }, - "cases": [ - { - "expression": "one < two", - "result": true - }, - { - "expression": "one <= two", - "result": true - }, - { - "expression": "one == one", - "result": true - }, - { - "expression": "one == two", - "result": false - }, - { - "expression": "one > two", - "result": false - }, - { - "expression": "one >= two", - "result": false - }, - { - "expression": "one != two", - "result": true - }, - { - "expression": "one < two && three > one", - "result": true - }, - { - "expression": "one < two || three > one", - "result": true - }, - { - "expression": "one < two || three < one", - "result": true - }, - { - "expression": "two < one || three < one", - "result": false - } - ] - } -] diff --git a/src/node_modules/jmespath/test/compliance/current.json b/src/node_modules/jmespath/test/compliance/current.json deleted file mode 100644 index 0c26248..0000000 --- a/src/node_modules/jmespath/test/compliance/current.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "given": { - "foo": [{"name": "a"}, {"name": "b"}], - "bar": {"baz": "qux"} - }, - "cases": [ - { - "expression": "@", - "result": { - "foo": [{"name": "a"}, {"name": "b"}], - "bar": {"baz": "qux"} - } - }, - { - "expression": "@.bar", - "result": {"baz": "qux"} - }, - { - "expression": "@.foo[0]", - "result": {"name": "a"} - } - ] - } -] diff --git a/src/node_modules/jmespath/test/compliance/escape.json b/src/node_modules/jmespath/test/compliance/escape.json deleted file mode 100644 index 4a62d95..0000000 --- a/src/node_modules/jmespath/test/compliance/escape.json +++ /dev/null @@ -1,46 +0,0 @@ -[{ - "given": { - "foo.bar": "dot", - "foo bar": "space", - "foo\nbar": "newline", - "foo\"bar": "doublequote", - "c:\\\\windows\\path": "windows", - "/unix/path": "unix", - "\"\"\"": "threequotes", - "bar": {"baz": "qux"} - }, - "cases": [ - { - "expression": "\"foo.bar\"", - "result": "dot" - }, - { - "expression": "\"foo bar\"", - "result": "space" - }, - { - "expression": "\"foo\\nbar\"", - "result": "newline" - }, - { - "expression": "\"foo\\\"bar\"", - "result": "doublequote" - }, - { - "expression": "\"c:\\\\\\\\windows\\\\path\"", - "result": "windows" - }, - { - "expression": "\"/unix/path\"", - "result": "unix" - }, - { - "expression": "\"\\\"\\\"\\\"\"", - "result": "threequotes" - }, - { - "expression": "\"bar\".\"baz\"", - "result": "qux" - } - ] -}] diff --git a/src/node_modules/jmespath/test/compliance/filters.json b/src/node_modules/jmespath/test/compliance/filters.json deleted file mode 100644 index 5b9f52b..0000000 --- a/src/node_modules/jmespath/test/compliance/filters.json +++ /dev/null @@ -1,468 +0,0 @@ -[ - { - "given": {"foo": [{"name": "a"}, {"name": "b"}]}, - "cases": [ - { - "comment": "Matching a literal", - "expression": "foo[?name == 'a']", - "result": [{"name": "a"}] - } - ] - }, - { - "given": {"foo": [0, 1], "bar": [2, 3]}, - "cases": [ - { - "comment": "Matching a literal", - "expression": "*[?[0] == `0`]", - "result": [[], []] - } - ] - }, - { - "given": {"foo": [{"first": "foo", "last": "bar"}, - {"first": "foo", "last": "foo"}, - {"first": "foo", "last": "baz"}]}, - "cases": [ - { - "comment": "Matching an expression", - "expression": "foo[?first == last]", - "result": [{"first": "foo", "last": "foo"}] - }, - { - "comment": "Verify projection created from filter", - "expression": "foo[?first == last].first", - "result": ["foo"] - } - ] - }, - { - "given": {"foo": [{"age": 20}, - {"age": 25}, - {"age": 30}]}, - "cases": [ - { - "comment": "Greater than with a number", - "expression": "foo[?age > `25`]", - "result": [{"age": 30}] - }, - { - "expression": "foo[?age >= `25`]", - "result": [{"age": 25}, {"age": 30}] - }, - { - "comment": "Greater than with a number", - "expression": "foo[?age > `30`]", - "result": [] - }, - { - "comment": "Greater than with a number", - "expression": "foo[?age < `25`]", - "result": [{"age": 20}] - }, - { - "comment": "Greater than with a number", - "expression": "foo[?age <= `25`]", - "result": [{"age": 20}, {"age": 25}] - }, - { - "comment": "Greater than with a number", - "expression": "foo[?age < `20`]", - "result": [] - }, - { - "expression": "foo[?age == `20`]", - "result": [{"age": 20}] - }, - { - "expression": "foo[?age != `20`]", - "result": [{"age": 25}, {"age": 30}] - } - ] - }, - { - "given": {"foo": [{"top": {"name": "a"}}, - {"top": {"name": "b"}}]}, - "cases": [ - { - "comment": "Filter with subexpression", - "expression": "foo[?top.name == 'a']", - "result": [{"top": {"name": "a"}}] - } - ] - }, - { - "given": {"foo": [{"top": {"first": "foo", "last": "bar"}}, - {"top": {"first": "foo", "last": "foo"}}, - {"top": {"first": "foo", "last": "baz"}}]}, - "cases": [ - { - "comment": "Matching an expression", - "expression": "foo[?top.first == top.last]", - "result": [{"top": {"first": "foo", "last": "foo"}}] - }, - { - "comment": "Matching a JSON array", - "expression": "foo[?top == `{\"first\": \"foo\", \"last\": \"bar\"}`]", - "result": [{"top": {"first": "foo", "last": "bar"}}] - } - ] - }, - { - "given": {"foo": [ - {"key": true}, - {"key": false}, - {"key": 0}, - {"key": 1}, - {"key": [0]}, - {"key": {"bar": [0]}}, - {"key": null}, - {"key": [1]}, - {"key": {"a":2}} - ]}, - "cases": [ - { - "expression": "foo[?key == `true`]", - "result": [{"key": true}] - }, - { - "expression": "foo[?key == `false`]", - "result": [{"key": false}] - }, - { - "expression": "foo[?key == `0`]", - "result": [{"key": 0}] - }, - { - "expression": "foo[?key == `1`]", - "result": [{"key": 1}] - }, - { - "expression": "foo[?key == `[0]`]", - "result": [{"key": [0]}] - }, - { - "expression": "foo[?key == `{\"bar\": [0]}`]", - "result": [{"key": {"bar": [0]}}] - }, - { - "expression": "foo[?key == `null`]", - "result": [{"key": null}] - }, - { - "expression": "foo[?key == `[1]`]", - "result": [{"key": [1]}] - }, - { - "expression": "foo[?key == `{\"a\":2}`]", - "result": [{"key": {"a":2}}] - }, - { - "expression": "foo[?`true` == key]", - "result": [{"key": true}] - }, - { - "expression": "foo[?`false` == key]", - "result": [{"key": false}] - }, - { - "expression": "foo[?`0` == key]", - "result": [{"key": 0}] - }, - { - "expression": "foo[?`1` == key]", - "result": [{"key": 1}] - }, - { - "expression": "foo[?`[0]` == key]", - "result": [{"key": [0]}] - }, - { - "expression": "foo[?`{\"bar\": [0]}` == key]", - "result": [{"key": {"bar": [0]}}] - }, - { - "expression": "foo[?`null` == key]", - "result": [{"key": null}] - }, - { - "expression": "foo[?`[1]` == key]", - "result": [{"key": [1]}] - }, - { - "expression": "foo[?`{\"a\":2}` == key]", - "result": [{"key": {"a":2}}] - }, - { - "expression": "foo[?key != `true`]", - "result": [{"key": false}, {"key": 0}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": [1]}, {"key": {"a":2}}] - }, - { - "expression": "foo[?key != `false`]", - "result": [{"key": true}, {"key": 0}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": [1]}, {"key": {"a":2}}] - }, - { - "expression": "foo[?key != `0`]", - "result": [{"key": true}, {"key": false}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": [1]}, {"key": {"a":2}}] - }, - { - "expression": "foo[?key != `1`]", - "result": [{"key": true}, {"key": false}, {"key": 0}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": [1]}, {"key": {"a":2}}] - }, - { - "expression": "foo[?key != `null`]", - "result": [{"key": true}, {"key": false}, {"key": 0}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": [1]}, {"key": {"a":2}}] - }, - { - "expression": "foo[?key != `[1]`]", - "result": [{"key": true}, {"key": false}, {"key": 0}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": {"a":2}}] - }, - { - "expression": "foo[?key != `{\"a\":2}`]", - "result": [{"key": true}, {"key": false}, {"key": 0}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": [1]}] - }, - { - "expression": "foo[?`true` != key]", - "result": [{"key": false}, {"key": 0}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": [1]}, {"key": {"a":2}}] - }, - { - "expression": "foo[?`false` != key]", - "result": [{"key": true}, {"key": 0}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": [1]}, {"key": {"a":2}}] - }, - { - "expression": "foo[?`0` != key]", - "result": [{"key": true}, {"key": false}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": [1]}, {"key": {"a":2}}] - }, - { - "expression": "foo[?`1` != key]", - "result": [{"key": true}, {"key": false}, {"key": 0}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": [1]}, {"key": {"a":2}}] - }, - { - "expression": "foo[?`null` != key]", - "result": [{"key": true}, {"key": false}, {"key": 0}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": [1]}, {"key": {"a":2}}] - }, - { - "expression": "foo[?`[1]` != key]", - "result": [{"key": true}, {"key": false}, {"key": 0}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": {"a":2}}] - }, - { - "expression": "foo[?`{\"a\":2}` != key]", - "result": [{"key": true}, {"key": false}, {"key": 0}, {"key": 1}, {"key": [0]}, - {"key": {"bar": [0]}}, {"key": null}, {"key": [1]}] - } - ] - }, - { - "given": {"reservations": [ - {"instances": [ - {"foo": 1, "bar": 2}, {"foo": 1, "bar": 3}, - {"foo": 1, "bar": 2}, {"foo": 2, "bar": 1}]}]}, - "cases": [ - { - "expression": "reservations[].instances[?bar==`1`]", - "result": [[{"foo": 2, "bar": 1}]] - }, - { - "expression": "reservations[*].instances[?bar==`1`]", - "result": [[{"foo": 2, "bar": 1}]] - }, - { - "expression": "reservations[].instances[?bar==`1`][]", - "result": [{"foo": 2, "bar": 1}] - } - ] - }, - { - "given": { - "baz": "other", - "foo": [ - {"bar": 1}, {"bar": 2}, {"bar": 3}, {"bar": 4}, {"bar": 1, "baz": 2} - ] - }, - "cases": [ - { - "expression": "foo[?bar==`1`].bar[0]", - "result": [] - } - ] - }, - { - "given": { - "foo": [ - {"a": 1, "b": {"c": "x"}}, - {"a": 1, "b": {"c": "y"}}, - {"a": 1, "b": {"c": "z"}}, - {"a": 2, "b": {"c": "z"}}, - {"a": 1, "baz": 2} - ] - }, - "cases": [ - { - "expression": "foo[?a==`1`].b.c", - "result": ["x", "y", "z"] - } - ] - }, - { - "given": {"foo": [{"name": "a"}, {"name": "b"}, {"name": "c"}]}, - "cases": [ - { - "comment": "Filter with or expression", - "expression": "foo[?name == 'a' || name == 'b']", - "result": [{"name": "a"}, {"name": "b"}] - }, - { - "expression": "foo[?name == 'a' || name == 'e']", - "result": [{"name": "a"}] - }, - { - "expression": "foo[?name == 'a' || name == 'b' || name == 'c']", - "result": [{"name": "a"}, {"name": "b"}, {"name": "c"}] - } - ] - }, - { - "given": {"foo": [{"a": 1, "b": 2}, {"a": 1, "b": 3}]}, - "cases": [ - { - "comment": "Filter with and expression", - "expression": "foo[?a == `1` && b == `2`]", - "result": [{"a": 1, "b": 2}] - }, - { - "expression": "foo[?a == `1` && b == `4`]", - "result": [] - } - ] - }, - { - "given": {"foo": [{"a": 1, "b": 2, "c": 3}, {"a": 3, "b": 4}]}, - "cases": [ - { - "comment": "Filter with Or and And expressions", - "expression": "foo[?c == `3` || a == `1` && b == `4`]", - "result": [{"a": 1, "b": 2, "c": 3}] - }, - { - "expression": "foo[?b == `2` || a == `3` && b == `4`]", - "result": [{"a": 1, "b": 2, "c": 3}, {"a": 3, "b": 4}] - }, - { - "expression": "foo[?a == `3` && b == `4` || b == `2`]", - "result": [{"a": 1, "b": 2, "c": 3}, {"a": 3, "b": 4}] - }, - { - "expression": "foo[?(a == `3` && b == `4`) || b == `2`]", - "result": [{"a": 1, "b": 2, "c": 3}, {"a": 3, "b": 4}] - }, - { - "expression": "foo[?((a == `3` && b == `4`)) || b == `2`]", - "result": [{"a": 1, "b": 2, "c": 3}, {"a": 3, "b": 4}] - }, - { - "expression": "foo[?a == `3` && (b == `4` || b == `2`)]", - "result": [{"a": 3, "b": 4}] - }, - { - "expression": "foo[?a == `3` && ((b == `4` || b == `2`))]", - "result": [{"a": 3, "b": 4}] - } - ] - }, - { - "given": {"foo": [{"a": 1, "b": 2, "c": 3}, {"a": 3, "b": 4}]}, - "cases": [ - { - "comment": "Verify precedence of or/and expressions", - "expression": "foo[?a == `1` || b ==`2` && c == `5`]", - "result": [{"a": 1, "b": 2, "c": 3}] - }, - { - "comment": "Parentheses can alter precedence", - "expression": "foo[?(a == `1` || b ==`2`) && c == `5`]", - "result": [] - }, - { - "comment": "Not expressions combined with and/or", - "expression": "foo[?!(a == `1` || b ==`2`)]", - "result": [{"a": 3, "b": 4}] - } - ] - }, - { - "given": { - "foo": [ - {"key": true}, - {"key": false}, - {"key": []}, - {"key": {}}, - {"key": [0]}, - {"key": {"a": "b"}}, - {"key": 0}, - {"key": 1}, - {"key": null}, - {"notkey": true} - ] - }, - "cases": [ - { - "comment": "Unary filter expression", - "expression": "foo[?key]", - "result": [ - {"key": true}, {"key": [0]}, {"key": {"a": "b"}}, - {"key": 0}, {"key": 1} - ] - }, - { - "comment": "Unary not filter expression", - "expression": "foo[?!key]", - "result": [ - {"key": false}, {"key": []}, {"key": {}}, - {"key": null}, {"notkey": true} - ] - }, - { - "comment": "Equality with null RHS", - "expression": "foo[?key == `null`]", - "result": [ - {"key": null}, {"notkey": true} - ] - } - ] - }, - { - "given": { - "foo": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - "cases": [ - { - "comment": "Using @ in a filter expression", - "expression": "foo[?@ < `5`]", - "result": [0, 1, 2, 3, 4] - }, - { - "comment": "Using @ in a filter expression", - "expression": "foo[?`5` > @]", - "result": [0, 1, 2, 3, 4] - }, - { - "comment": "Using @ in a filter expression", - "expression": "foo[?@ == @]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - } - ] - } -] diff --git a/src/node_modules/jmespath/test/compliance/functions.json b/src/node_modules/jmespath/test/compliance/functions.json deleted file mode 100644 index 8b8db36..0000000 --- a/src/node_modules/jmespath/test/compliance/functions.json +++ /dev/null @@ -1,825 +0,0 @@ -[{ - "given": - { - "foo": -1, - "zero": 0, - "numbers": [-1, 3, 4, 5], - "array": [-1, 3, 4, 5, "a", "100"], - "strings": ["a", "b", "c"], - "decimals": [1.01, 1.2, -1.5], - "str": "Str", - "false": false, - "empty_list": [], - "empty_hash": {}, - "objects": {"foo": "bar", "bar": "baz"}, - "null_key": null - }, - "cases": [ - { - "expression": "abs(foo)", - "result": 1 - }, - { - "expression": "abs(foo)", - "result": 1 - }, - { - "expression": "abs(str)", - "error": "invalid-type" - }, - { - "expression": "abs(array[1])", - "result": 3 - }, - { - "expression": "abs(array[1])", - "result": 3 - }, - { - "expression": "abs(`false`)", - "error": "invalid-type" - }, - { - "expression": "abs(`-24`)", - "result": 24 - }, - { - "expression": "abs(`-24`)", - "result": 24 - }, - { - "expression": "abs(`1`, `2`)", - "error": "invalid-arity" - }, - { - "expression": "abs()", - "error": "invalid-arity" - }, - { - "expression": "unknown_function(`1`, `2`)", - "error": "unknown-function" - }, - { - "expression": "avg(numbers)", - "result": 2.75 - }, - { - "expression": "avg(array)", - "error": "invalid-type" - }, - { - "expression": "avg('abc')", - "error": "invalid-type" - }, - { - "expression": "avg(foo)", - "error": "invalid-type" - }, - { - "expression": "avg(@)", - "error": "invalid-type" - }, - { - "expression": "avg(strings)", - "error": "invalid-type" - }, - { - "expression": "ceil(`1.2`)", - "result": 2 - }, - { - "expression": "ceil(decimals[0])", - "result": 2 - }, - { - "expression": "ceil(decimals[1])", - "result": 2 - }, - { - "expression": "ceil(decimals[2])", - "result": -1 - }, - { - "expression": "ceil('string')", - "error": "invalid-type" - }, - { - "expression": "contains('abc', 'a')", - "result": true - }, - { - "expression": "contains('abc', 'd')", - "result": false - }, - { - "expression": "contains(`false`, 'd')", - "error": "invalid-type" - }, - { - "expression": "contains(strings, 'a')", - "result": true - }, - { - "expression": "contains(decimals, `1.2`)", - "result": true - }, - { - "expression": "contains(decimals, `false`)", - "result": false - }, - { - "expression": "ends_with(str, 'r')", - "result": true - }, - { - "expression": "ends_with(str, 'tr')", - "result": true - }, - { - "expression": "ends_with(str, 'Str')", - "result": true - }, - { - "expression": "ends_with(str, 'SStr')", - "result": false - }, - { - "expression": "ends_with(str, 'foo')", - "result": false - }, - { - "expression": "ends_with(str, `0`)", - "error": "invalid-type" - }, - { - "expression": "floor(`1.2`)", - "result": 1 - }, - { - "expression": "floor('string')", - "error": "invalid-type" - }, - { - "expression": "floor(decimals[0])", - "result": 1 - }, - { - "expression": "floor(foo)", - "result": -1 - }, - { - "expression": "floor(str)", - "error": "invalid-type" - }, - { - "expression": "length('abc')", - "result": 3 - }, - { - "expression": "length('✓foo')", - "result": 4 - }, - { - "expression": "length('')", - "result": 0 - }, - { - "expression": "length(@)", - "result": 12 - }, - { - "expression": "length(strings[0])", - "result": 1 - }, - { - "expression": "length(str)", - "result": 3 - }, - { - "expression": "length(array)", - "result": 6 - }, - { - "expression": "length(objects)", - "result": 2 - }, - { - "expression": "length(`false`)", - "error": "invalid-type" - }, - { - "expression": "length(foo)", - "error": "invalid-type" - }, - { - "expression": "length(strings[0])", - "result": 1 - }, - { - "expression": "max(numbers)", - "result": 5 - }, - { - "expression": "max(decimals)", - "result": 1.2 - }, - { - "expression": "max(strings)", - "result": "c" - }, - { - "expression": "max(abc)", - "error": "invalid-type" - }, - { - "expression": "max(array)", - "error": "invalid-type" - }, - { - "expression": "max(decimals)", - "result": 1.2 - }, - { - "expression": "max(empty_list)", - "result": null - }, - { - "expression": "merge(`{}`)", - "result": {} - }, - { - "expression": "merge(`{}`, `{}`)", - "result": {} - }, - { - "expression": "merge(`{\"a\": 1}`, `{\"b\": 2}`)", - "result": {"a": 1, "b": 2} - }, - { - "expression": "merge(`{\"a\": 1}`, `{\"a\": 2}`)", - "result": {"a": 2} - }, - { - "expression": "merge(`{\"a\": 1, \"b\": 2}`, `{\"a\": 2, \"c\": 3}`, `{\"d\": 4}`)", - "result": {"a": 2, "b": 2, "c": 3, "d": 4} - }, - { - "expression": "min(numbers)", - "result": -1 - }, - { - "expression": "min(decimals)", - "result": -1.5 - }, - { - "expression": "min(abc)", - "error": "invalid-type" - }, - { - "expression": "min(array)", - "error": "invalid-type" - }, - { - "expression": "min(empty_list)", - "result": null - }, - { - "expression": "min(decimals)", - "result": -1.5 - }, - { - "expression": "min(strings)", - "result": "a" - }, - { - "expression": "type('abc')", - "result": "string" - }, - { - "expression": "type(`1.0`)", - "result": "number" - }, - { - "expression": "type(`2`)", - "result": "number" - }, - { - "expression": "type(`true`)", - "result": "boolean" - }, - { - "expression": "type(`false`)", - "result": "boolean" - }, - { - "expression": "type(`null`)", - "result": "null" - }, - { - "expression": "type(`[0]`)", - "result": "array" - }, - { - "expression": "type(`{\"a\": \"b\"}`)", - "result": "object" - }, - { - "expression": "type(@)", - "result": "object" - }, - { - "expression": "sort(keys(objects))", - "result": ["bar", "foo"] - }, - { - "expression": "keys(foo)", - "error": "invalid-type" - }, - { - "expression": "keys(strings)", - "error": "invalid-type" - }, - { - "expression": "keys(`false`)", - "error": "invalid-type" - }, - { - "expression": "sort(values(objects))", - "result": ["bar", "baz"] - }, - { - "expression": "keys(empty_hash)", - "result": [] - }, - { - "expression": "values(foo)", - "error": "invalid-type" - }, - { - "expression": "join(', ', strings)", - "result": "a, b, c" - }, - { - "expression": "join(', ', strings)", - "result": "a, b, c" - }, - { - "expression": "join(',', `[\"a\", \"b\"]`)", - "result": "a,b" - }, - { - "expression": "join(',', `[\"a\", 0]`)", - "error": "invalid-type" - }, - { - "expression": "join(', ', str)", - "error": "invalid-type" - }, - { - "expression": "join('|', strings)", - "result": "a|b|c" - }, - { - "expression": "join(`2`, strings)", - "error": "invalid-type" - }, - { - "expression": "join('|', decimals)", - "error": "invalid-type" - }, - { - "expression": "join('|', decimals[].to_string(@))", - "result": "1.01|1.2|-1.5" - }, - { - "expression": "join('|', empty_list)", - "result": "" - }, - { - "expression": "reverse(numbers)", - "result": [5, 4, 3, -1] - }, - { - "expression": "reverse(array)", - "result": ["100", "a", 5, 4, 3, -1] - }, - { - "expression": "reverse(`[]`)", - "result": [] - }, - { - "expression": "reverse('')", - "result": "" - }, - { - "expression": "reverse('hello world')", - "result": "dlrow olleh" - }, - { - "expression": "starts_with(str, 'S')", - "result": true - }, - { - "expression": "starts_with(str, 'St')", - "result": true - }, - { - "expression": "starts_with(str, 'Str')", - "result": true - }, - { - "expression": "starts_with(str, 'String')", - "result": false - }, - { - "expression": "starts_with(str, `0`)", - "error": "invalid-type" - }, - { - "expression": "sum(numbers)", - "result": 11 - }, - { - "expression": "sum(decimals)", - "result": 0.71 - }, - { - "expression": "sum(array)", - "error": "invalid-type" - }, - { - "expression": "sum(array[].to_number(@))", - "result": 111 - }, - { - "expression": "sum(`[]`)", - "result": 0 - }, - { - "expression": "to_array('foo')", - "result": ["foo"] - }, - { - "expression": "to_array(`0`)", - "result": [0] - }, - { - "expression": "to_array(objects)", - "result": [{"foo": "bar", "bar": "baz"}] - }, - { - "expression": "to_array(`[1, 2, 3]`)", - "result": [1, 2, 3] - }, - { - "expression": "to_array(false)", - "result": [false] - }, - { - "expression": "to_string('foo')", - "result": "foo" - }, - { - "expression": "to_string(`1.2`)", - "result": "1.2" - }, - { - "expression": "to_string(`[0, 1]`)", - "result": "[0,1]" - }, - { - "expression": "to_number('1.0')", - "result": 1.0 - }, - { - "expression": "to_number('1.1')", - "result": 1.1 - }, - { - "expression": "to_number('4')", - "result": 4 - }, - { - "expression": "to_number('notanumber')", - "result": null - }, - { - "expression": "to_number(`false`)", - "result": null - }, - { - "expression": "to_number(`null`)", - "result": null - }, - { - "expression": "to_number(`[0]`)", - "result": null - }, - { - "expression": "to_number(`{\"foo\": 0}`)", - "result": null - }, - { - "expression": "\"to_string\"(`1.0`)", - "error": "syntax" - }, - { - "expression": "sort(numbers)", - "result": [-1, 3, 4, 5] - }, - { - "expression": "sort(strings)", - "result": ["a", "b", "c"] - }, - { - "expression": "sort(decimals)", - "result": [-1.5, 1.01, 1.2] - }, - { - "expression": "sort(array)", - "error": "invalid-type" - }, - { - "expression": "sort(abc)", - "error": "invalid-type" - }, - { - "expression": "sort(empty_list)", - "result": [] - }, - { - "expression": "sort(@)", - "error": "invalid-type" - }, - { - "expression": "not_null(unknown_key, str)", - "result": "Str" - }, - { - "expression": "not_null(unknown_key, foo.bar, empty_list, str)", - "result": [] - }, - { - "expression": "not_null(unknown_key, null_key, empty_list, str)", - "result": [] - }, - { - "expression": "not_null(all, expressions, are_null)", - "result": null - }, - { - "expression": "not_null()", - "error": "invalid-arity" - }, - { - "description": "function projection on single arg function", - "expression": "numbers[].to_string(@)", - "result": ["-1", "3", "4", "5"] - }, - { - "description": "function projection on single arg function", - "expression": "array[].to_number(@)", - "result": [-1, 3, 4, 5, 100] - } - ] -}, { - "given": - { - "foo": [ - {"b": "b", "a": "a"}, - {"c": "c", "b": "b"}, - {"d": "d", "c": "c"}, - {"e": "e", "d": "d"}, - {"f": "f", "e": "e"} - ] - }, - "cases": [ - { - "description": "function projection on variadic function", - "expression": "foo[].not_null(f, e, d, c, b, a)", - "result": ["b", "c", "d", "e", "f"] - } - ] -}, { - "given": - { - "people": [ - {"age": 20, "age_str": "20", "bool": true, "name": "a", "extra": "foo"}, - {"age": 40, "age_str": "40", "bool": false, "name": "b", "extra": "bar"}, - {"age": 30, "age_str": "30", "bool": true, "name": "c"}, - {"age": 50, "age_str": "50", "bool": false, "name": "d"}, - {"age": 10, "age_str": "10", "bool": true, "name": 3} - ] - }, - "cases": [ - { - "description": "sort by field expression", - "expression": "sort_by(people, &age)", - "result": [ - {"age": 10, "age_str": "10", "bool": true, "name": 3}, - {"age": 20, "age_str": "20", "bool": true, "name": "a", "extra": "foo"}, - {"age": 30, "age_str": "30", "bool": true, "name": "c"}, - {"age": 40, "age_str": "40", "bool": false, "name": "b", "extra": "bar"}, - {"age": 50, "age_str": "50", "bool": false, "name": "d"} - ] - }, - { - "expression": "sort_by(people, &age_str)", - "result": [ - {"age": 10, "age_str": "10", "bool": true, "name": 3}, - {"age": 20, "age_str": "20", "bool": true, "name": "a", "extra": "foo"}, - {"age": 30, "age_str": "30", "bool": true, "name": "c"}, - {"age": 40, "age_str": "40", "bool": false, "name": "b", "extra": "bar"}, - {"age": 50, "age_str": "50", "bool": false, "name": "d"} - ] - }, - { - "description": "sort by function expression", - "expression": "sort_by(people, &to_number(age_str))", - "result": [ - {"age": 10, "age_str": "10", "bool": true, "name": 3}, - {"age": 20, "age_str": "20", "bool": true, "name": "a", "extra": "foo"}, - {"age": 30, "age_str": "30", "bool": true, "name": "c"}, - {"age": 40, "age_str": "40", "bool": false, "name": "b", "extra": "bar"}, - {"age": 50, "age_str": "50", "bool": false, "name": "d"} - ] - }, - { - "description": "function projection on sort_by function", - "expression": "sort_by(people, &age)[].name", - "result": [3, "a", "c", "b", "d"] - }, - { - "expression": "sort_by(people, &extra)", - "error": "invalid-type" - }, - { - "expression": "sort_by(people, &bool)", - "error": "invalid-type" - }, - { - "expression": "sort_by(people, &name)", - "error": "invalid-type" - }, - { - "expression": "sort_by(people, name)", - "error": "invalid-type" - }, - { - "expression": "sort_by(people, &age)[].extra", - "result": ["foo", "bar"] - }, - { - "expression": "sort_by(`[]`, &age)", - "result": [] - }, - { - "expression": "max_by(people, &age)", - "result": {"age": 50, "age_str": "50", "bool": false, "name": "d"} - }, - { - "expression": "max_by(people, &age_str)", - "result": {"age": 50, "age_str": "50", "bool": false, "name": "d"} - }, - { - "expression": "max_by(people, &bool)", - "error": "invalid-type" - }, - { - "expression": "max_by(people, &extra)", - "error": "invalid-type" - }, - { - "expression": "max_by(people, &to_number(age_str))", - "result": {"age": 50, "age_str": "50", "bool": false, "name": "d"} - }, - { - "expression": "min_by(people, &age)", - "result": {"age": 10, "age_str": "10", "bool": true, "name": 3} - }, - { - "expression": "min_by(people, &age_str)", - "result": {"age": 10, "age_str": "10", "bool": true, "name": 3} - }, - { - "expression": "min_by(people, &bool)", - "error": "invalid-type" - }, - { - "expression": "min_by(people, &extra)", - "error": "invalid-type" - }, - { - "expression": "min_by(people, &to_number(age_str))", - "result": {"age": 10, "age_str": "10", "bool": true, "name": 3} - } - ] -}, { - "given": - { - "people": [ - {"age": 10, "order": "1"}, - {"age": 10, "order": "2"}, - {"age": 10, "order": "3"}, - {"age": 10, "order": "4"}, - {"age": 10, "order": "5"}, - {"age": 10, "order": "6"}, - {"age": 10, "order": "7"}, - {"age": 10, "order": "8"}, - {"age": 10, "order": "9"}, - {"age": 10, "order": "10"}, - {"age": 10, "order": "11"} - ] - }, - "cases": [ - { - "description": "stable sort order", - "expression": "sort_by(people, &age)", - "result": [ - {"age": 10, "order": "1"}, - {"age": 10, "order": "2"}, - {"age": 10, "order": "3"}, - {"age": 10, "order": "4"}, - {"age": 10, "order": "5"}, - {"age": 10, "order": "6"}, - {"age": 10, "order": "7"}, - {"age": 10, "order": "8"}, - {"age": 10, "order": "9"}, - {"age": 10, "order": "10"}, - {"age": 10, "order": "11"} - ] - } - ] -}, { - "given": - { - "people": [ - {"a": 10, "b": 1, "c": "z"}, - {"a": 10, "b": 2, "c": null}, - {"a": 10, "b": 3}, - {"a": 10, "b": 4, "c": "z"}, - {"a": 10, "b": 5, "c": null}, - {"a": 10, "b": 6}, - {"a": 10, "b": 7, "c": "z"}, - {"a": 10, "b": 8, "c": null}, - {"a": 10, "b": 9} - ], - "empty": [] - }, - "cases": [ - { - "expression": "map(&a, people)", - "result": [10, 10, 10, 10, 10, 10, 10, 10, 10] - }, - { - "expression": "map(&c, people)", - "result": ["z", null, null, "z", null, null, "z", null, null] - }, - { - "expression": "map(&a, badkey)", - "error": "invalid-type" - }, - { - "expression": "map(&foo, empty)", - "result": [] - } - ] -}, { - "given": { - "array": [ - { - "foo": {"bar": "yes1"} - }, - { - "foo": {"bar": "yes2"} - }, - { - "foo1": {"bar": "no"} - } - ]}, - "cases": [ - { - "expression": "map(&foo.bar, array)", - "result": ["yes1", "yes2", null] - }, - { - "expression": "map(&foo1.bar, array)", - "result": [null, null, "no"] - }, - { - "expression": "map(&foo.bar.baz, array)", - "result": [null, null, null] - } - ] -}, { - "given": { - "array": [[1, 2, 3, [4]], [5, 6, 7, [8, 9]]] - }, - "cases": [ - { - "expression": "map(&[], array)", - "result": [[1, 2, 3, 4], [5, 6, 7, 8, 9]] - } - ] -} -] diff --git a/src/node_modules/jmespath/test/compliance/identifiers.json b/src/node_modules/jmespath/test/compliance/identifiers.json deleted file mode 100644 index 7998a41..0000000 --- a/src/node_modules/jmespath/test/compliance/identifiers.json +++ /dev/null @@ -1,1377 +0,0 @@ -[ - { - "given": { - "__L": true - }, - "cases": [ - { - "expression": "__L", - "result": true - } - ] - }, - { - "given": { - "!\r": true - }, - "cases": [ - { - "expression": "\"!\\r\"", - "result": true - } - ] - }, - { - "given": { - "Y_1623": true - }, - "cases": [ - { - "expression": "Y_1623", - "result": true - } - ] - }, - { - "given": { - "x": true - }, - "cases": [ - { - "expression": "x", - "result": true - } - ] - }, - { - "given": { - "\tF\uCebb": true - }, - "cases": [ - { - "expression": "\"\\tF\\uCebb\"", - "result": true - } - ] - }, - { - "given": { - " \t": true - }, - "cases": [ - { - "expression": "\" \\t\"", - "result": true - } - ] - }, - { - "given": { - " ": true - }, - "cases": [ - { - "expression": "\" \"", - "result": true - } - ] - }, - { - "given": { - "v2": true - }, - "cases": [ - { - "expression": "v2", - "result": true - } - ] - }, - { - "given": { - "\t": true - }, - "cases": [ - { - "expression": "\"\\t\"", - "result": true - } - ] - }, - { - "given": { - "_X": true - }, - "cases": [ - { - "expression": "_X", - "result": true - } - ] - }, - { - "given": { - "\t4\ud9da\udd15": true - }, - "cases": [ - { - "expression": "\"\\t4\\ud9da\\udd15\"", - "result": true - } - ] - }, - { - "given": { - "v24_W": true - }, - "cases": [ - { - "expression": "v24_W", - "result": true - } - ] - }, - { - "given": { - "H": true - }, - "cases": [ - { - "expression": "\"H\"", - "result": true - } - ] - }, - { - "given": { - "\f": true - }, - "cases": [ - { - "expression": "\"\\f\"", - "result": true - } - ] - }, - { - "given": { - "E4": true - }, - "cases": [ - { - "expression": "\"E4\"", - "result": true - } - ] - }, - { - "given": { - "!": true - }, - "cases": [ - { - "expression": "\"!\"", - "result": true - } - ] - }, - { - "given": { - "tM": true - }, - "cases": [ - { - "expression": "tM", - "result": true - } - ] - }, - { - "given": { - " [": true - }, - "cases": [ - { - "expression": "\" [\"", - "result": true - } - ] - }, - { - "given": { - "R!": true - }, - "cases": [ - { - "expression": "\"R!\"", - "result": true - } - ] - }, - { - "given": { - "_6W": true - }, - "cases": [ - { - "expression": "_6W", - "result": true - } - ] - }, - { - "given": { - "\uaBA1\r": true - }, - "cases": [ - { - "expression": "\"\\uaBA1\\r\"", - "result": true - } - ] - }, - { - "given": { - "tL7": true - }, - "cases": [ - { - "expression": "tL7", - "result": true - } - ] - }, - { - "given": { - "<": true - }, - "cases": [ - { - "expression": "\">\"", - "result": true - } - ] - }, - { - "given": { - "hvu": true - }, - "cases": [ - { - "expression": "hvu", - "result": true - } - ] - }, - { - "given": { - "; !": true - }, - "cases": [ - { - "expression": "\"; !\"", - "result": true - } - ] - }, - { - "given": { - "hU": true - }, - "cases": [ - { - "expression": "hU", - "result": true - } - ] - }, - { - "given": { - "!I\n\/": true - }, - "cases": [ - { - "expression": "\"!I\\n\\/\"", - "result": true - } - ] - }, - { - "given": { - "\uEEbF": true - }, - "cases": [ - { - "expression": "\"\\uEEbF\"", - "result": true - } - ] - }, - { - "given": { - "U)\t": true - }, - "cases": [ - { - "expression": "\"U)\\t\"", - "result": true - } - ] - }, - { - "given": { - "fa0_9": true - }, - "cases": [ - { - "expression": "fa0_9", - "result": true - } - ] - }, - { - "given": { - "/": true - }, - "cases": [ - { - "expression": "\"/\"", - "result": true - } - ] - }, - { - "given": { - "Gy": true - }, - "cases": [ - { - "expression": "Gy", - "result": true - } - ] - }, - { - "given": { - "\b": true - }, - "cases": [ - { - "expression": "\"\\b\"", - "result": true - } - ] - }, - { - "given": { - "<": true - }, - "cases": [ - { - "expression": "\"<\"", - "result": true - } - ] - }, - { - "given": { - "\t": true - }, - "cases": [ - { - "expression": "\"\\t\"", - "result": true - } - ] - }, - { - "given": { - "\t&\\\r": true - }, - "cases": [ - { - "expression": "\"\\t&\\\\\\r\"", - "result": true - } - ] - }, - { - "given": { - "#": true - }, - "cases": [ - { - "expression": "\"#\"", - "result": true - } - ] - }, - { - "given": { - "B__": true - }, - "cases": [ - { - "expression": "B__", - "result": true - } - ] - }, - { - "given": { - "\nS \n": true - }, - "cases": [ - { - "expression": "\"\\nS \\n\"", - "result": true - } - ] - }, - { - "given": { - "Bp": true - }, - "cases": [ - { - "expression": "Bp", - "result": true - } - ] - }, - { - "given": { - ",\t;": true - }, - "cases": [ - { - "expression": "\",\\t;\"", - "result": true - } - ] - }, - { - "given": { - "B_q": true - }, - "cases": [ - { - "expression": "B_q", - "result": true - } - ] - }, - { - "given": { - "\/+\t\n\b!Z": true - }, - "cases": [ - { - "expression": "\"\\/+\\t\\n\\b!Z\"", - "result": true - } - ] - }, - { - "given": { - "\udadd\udfc7\\ueFAc": true - }, - "cases": [ - { - "expression": "\"\udadd\udfc7\\\\ueFAc\"", - "result": true - } - ] - }, - { - "given": { - ":\f": true - }, - "cases": [ - { - "expression": "\":\\f\"", - "result": true - } - ] - }, - { - "given": { - "\/": true - }, - "cases": [ - { - "expression": "\"\\/\"", - "result": true - } - ] - }, - { - "given": { - "_BW_6Hg_Gl": true - }, - "cases": [ - { - "expression": "_BW_6Hg_Gl", - "result": true - } - ] - }, - { - "given": { - "\udbcf\udc02": true - }, - "cases": [ - { - "expression": "\"\udbcf\udc02\"", - "result": true - } - ] - }, - { - "given": { - "zs1DC": true - }, - "cases": [ - { - "expression": "zs1DC", - "result": true - } - ] - }, - { - "given": { - "__434": true - }, - "cases": [ - { - "expression": "__434", - "result": true - } - ] - }, - { - "given": { - "\udb94\udd41": true - }, - "cases": [ - { - "expression": "\"\udb94\udd41\"", - "result": true - } - ] - }, - { - "given": { - "Z_5": true - }, - "cases": [ - { - "expression": "Z_5", - "result": true - } - ] - }, - { - "given": { - "z_M_": true - }, - "cases": [ - { - "expression": "z_M_", - "result": true - } - ] - }, - { - "given": { - "YU_2": true - }, - "cases": [ - { - "expression": "YU_2", - "result": true - } - ] - }, - { - "given": { - "_0": true - }, - "cases": [ - { - "expression": "_0", - "result": true - } - ] - }, - { - "given": { - "\b+": true - }, - "cases": [ - { - "expression": "\"\\b+\"", - "result": true - } - ] - }, - { - "given": { - "\"": true - }, - "cases": [ - { - "expression": "\"\\\"\"", - "result": true - } - ] - }, - { - "given": { - "D7": true - }, - "cases": [ - { - "expression": "D7", - "result": true - } - ] - }, - { - "given": { - "_62L": true - }, - "cases": [ - { - "expression": "_62L", - "result": true - } - ] - }, - { - "given": { - "\tK\t": true - }, - "cases": [ - { - "expression": "\"\\tK\\t\"", - "result": true - } - ] - }, - { - "given": { - "\n\\\f": true - }, - "cases": [ - { - "expression": "\"\\n\\\\\\f\"", - "result": true - } - ] - }, - { - "given": { - "I_": true - }, - "cases": [ - { - "expression": "I_", - "result": true - } - ] - }, - { - "given": { - "W_a0_": true - }, - "cases": [ - { - "expression": "W_a0_", - "result": true - } - ] - }, - { - "given": { - "BQ": true - }, - "cases": [ - { - "expression": "BQ", - "result": true - } - ] - }, - { - "given": { - "\tX$\uABBb": true - }, - "cases": [ - { - "expression": "\"\\tX$\\uABBb\"", - "result": true - } - ] - }, - { - "given": { - "Z9": true - }, - "cases": [ - { - "expression": "Z9", - "result": true - } - ] - }, - { - "given": { - "\b%\"\uda38\udd0f": true - }, - "cases": [ - { - "expression": "\"\\b%\\\"\uda38\udd0f\"", - "result": true - } - ] - }, - { - "given": { - "_F": true - }, - "cases": [ - { - "expression": "_F", - "result": true - } - ] - }, - { - "given": { - "!,": true - }, - "cases": [ - { - "expression": "\"!,\"", - "result": true - } - ] - }, - { - "given": { - "\"!": true - }, - "cases": [ - { - "expression": "\"\\\"!\"", - "result": true - } - ] - }, - { - "given": { - "Hh": true - }, - "cases": [ - { - "expression": "Hh", - "result": true - } - ] - }, - { - "given": { - "&": true - }, - "cases": [ - { - "expression": "\"&\"", - "result": true - } - ] - }, - { - "given": { - "9\r\\R": true - }, - "cases": [ - { - "expression": "\"9\\r\\\\R\"", - "result": true - } - ] - }, - { - "given": { - "M_k": true - }, - "cases": [ - { - "expression": "M_k", - "result": true - } - ] - }, - { - "given": { - "!\b\n\udb06\ude52\"\"": true - }, - "cases": [ - { - "expression": "\"!\\b\\n\udb06\ude52\\\"\\\"\"", - "result": true - } - ] - }, - { - "given": { - "6": true - }, - "cases": [ - { - "expression": "\"6\"", - "result": true - } - ] - }, - { - "given": { - "_7": true - }, - "cases": [ - { - "expression": "_7", - "result": true - } - ] - }, - { - "given": { - "0": true - }, - "cases": [ - { - "expression": "\"0\"", - "result": true - } - ] - }, - { - "given": { - "\\8\\": true - }, - "cases": [ - { - "expression": "\"\\\\8\\\\\"", - "result": true - } - ] - }, - { - "given": { - "b7eo": true - }, - "cases": [ - { - "expression": "b7eo", - "result": true - } - ] - }, - { - "given": { - "xIUo9": true - }, - "cases": [ - { - "expression": "xIUo9", - "result": true - } - ] - }, - { - "given": { - "5": true - }, - "cases": [ - { - "expression": "\"5\"", - "result": true - } - ] - }, - { - "given": { - "?": true - }, - "cases": [ - { - "expression": "\"?\"", - "result": true - } - ] - }, - { - "given": { - "sU": true - }, - "cases": [ - { - "expression": "sU", - "result": true - } - ] - }, - { - "given": { - "VH2&H\\\/": true - }, - "cases": [ - { - "expression": "\"VH2&H\\\\\\/\"", - "result": true - } - ] - }, - { - "given": { - "_C": true - }, - "cases": [ - { - "expression": "_C", - "result": true - } - ] - }, - { - "given": { - "_": true - }, - "cases": [ - { - "expression": "_", - "result": true - } - ] - }, - { - "given": { - "<\t": true - }, - "cases": [ - { - "expression": "\"<\\t\"", - "result": true - } - ] - }, - { - "given": { - "\uD834\uDD1E": true - }, - "cases": [ - { - "expression": "\"\\uD834\\uDD1E\"", - "result": true - } - ] - } -] diff --git a/src/node_modules/jmespath/test/compliance/indices.json b/src/node_modules/jmespath/test/compliance/indices.json deleted file mode 100644 index aa03b35..0000000 --- a/src/node_modules/jmespath/test/compliance/indices.json +++ /dev/null @@ -1,346 +0,0 @@ -[{ - "given": - {"foo": {"bar": ["zero", "one", "two"]}}, - "cases": [ - { - "expression": "foo.bar[0]", - "result": "zero" - }, - { - "expression": "foo.bar[1]", - "result": "one" - }, - { - "expression": "foo.bar[2]", - "result": "two" - }, - { - "expression": "foo.bar[3]", - "result": null - }, - { - "expression": "foo.bar[-1]", - "result": "two" - }, - { - "expression": "foo.bar[-2]", - "result": "one" - }, - { - "expression": "foo.bar[-3]", - "result": "zero" - }, - { - "expression": "foo.bar[-4]", - "result": null - } - ] -}, -{ - "given": - {"foo": [{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}]}, - "cases": [ - { - "expression": "foo.bar", - "result": null - }, - { - "expression": "foo[0].bar", - "result": "one" - }, - { - "expression": "foo[1].bar", - "result": "two" - }, - { - "expression": "foo[2].bar", - "result": "three" - }, - { - "expression": "foo[3].notbar", - "result": "four" - }, - { - "expression": "foo[3].bar", - "result": null - }, - { - "expression": "foo[0]", - "result": {"bar": "one"} - }, - { - "expression": "foo[1]", - "result": {"bar": "two"} - }, - { - "expression": "foo[2]", - "result": {"bar": "three"} - }, - { - "expression": "foo[3]", - "result": {"notbar": "four"} - }, - { - "expression": "foo[4]", - "result": null - } - ] -}, -{ - "given": [ - "one", "two", "three" - ], - "cases": [ - { - "expression": "[0]", - "result": "one" - }, - { - "expression": "[1]", - "result": "two" - }, - { - "expression": "[2]", - "result": "three" - }, - { - "expression": "[-1]", - "result": "three" - }, - { - "expression": "[-2]", - "result": "two" - }, - { - "expression": "[-3]", - "result": "one" - } - ] -}, -{ - "given": {"reservations": [ - {"instances": [{"foo": 1}, {"foo": 2}]} - ]}, - "cases": [ - { - "expression": "reservations[].instances[].foo", - "result": [1, 2] - }, - { - "expression": "reservations[].instances[].bar", - "result": [] - }, - { - "expression": "reservations[].notinstances[].foo", - "result": [] - }, - { - "expression": "reservations[].notinstances[].foo", - "result": [] - } - ] -}, -{ - "given": {"reservations": [{ - "instances": [ - {"foo": [{"bar": 1}, {"bar": 2}, {"notbar": 3}, {"bar": 4}]}, - {"foo": [{"bar": 5}, {"bar": 6}, {"notbar": [7]}, {"bar": 8}]}, - {"foo": "bar"}, - {"notfoo": [{"bar": 20}, {"bar": 21}, {"notbar": [7]}, {"bar": 22}]}, - {"bar": [{"baz": [1]}, {"baz": [2]}, {"baz": [3]}, {"baz": [4]}]}, - {"baz": [{"baz": [1, 2]}, {"baz": []}, {"baz": []}, {"baz": [3, 4]}]}, - {"qux": [{"baz": []}, {"baz": [1, 2, 3]}, {"baz": [4]}, {"baz": []}]} - ], - "otherkey": {"foo": [{"bar": 1}, {"bar": 2}, {"notbar": 3}, {"bar": 4}]} - }, { - "instances": [ - {"a": [{"bar": 1}, {"bar": 2}, {"notbar": 3}, {"bar": 4}]}, - {"b": [{"bar": 5}, {"bar": 6}, {"notbar": [7]}, {"bar": 8}]}, - {"c": "bar"}, - {"notfoo": [{"bar": 23}, {"bar": 24}, {"notbar": [7]}, {"bar": 25}]}, - {"qux": [{"baz": []}, {"baz": [1, 2, 3]}, {"baz": [4]}, {"baz": []}]} - ], - "otherkey": {"foo": [{"bar": 1}, {"bar": 2}, {"notbar": 3}, {"bar": 4}]} - } - ]}, - "cases": [ - { - "expression": "reservations[].instances[].foo[].bar", - "result": [1, 2, 4, 5, 6, 8] - }, - { - "expression": "reservations[].instances[].foo[].baz", - "result": [] - }, - { - "expression": "reservations[].instances[].notfoo[].bar", - "result": [20, 21, 22, 23, 24, 25] - }, - { - "expression": "reservations[].instances[].notfoo[].notbar", - "result": [[7], [7]] - }, - { - "expression": "reservations[].notinstances[].foo", - "result": [] - }, - { - "expression": "reservations[].instances[].foo[].notbar", - "result": [3, [7]] - }, - { - "expression": "reservations[].instances[].bar[].baz", - "result": [[1], [2], [3], [4]] - }, - { - "expression": "reservations[].instances[].baz[].baz", - "result": [[1, 2], [], [], [3, 4]] - }, - { - "expression": "reservations[].instances[].qux[].baz", - "result": [[], [1, 2, 3], [4], [], [], [1, 2, 3], [4], []] - }, - { - "expression": "reservations[].instances[].qux[].baz[]", - "result": [1, 2, 3, 4, 1, 2, 3, 4] - } - ] -}, -{ - "given": { - "foo": [ - [["one", "two"], ["three", "four"]], - [["five", "six"], ["seven", "eight"]], - [["nine"], ["ten"]] - ] - }, - "cases": [ - { - "expression": "foo[]", - "result": [["one", "two"], ["three", "four"], ["five", "six"], - ["seven", "eight"], ["nine"], ["ten"]] - }, - { - "expression": "foo[][0]", - "result": ["one", "three", "five", "seven", "nine", "ten"] - }, - { - "expression": "foo[][1]", - "result": ["two", "four", "six", "eight"] - }, - { - "expression": "foo[][0][0]", - "result": [] - }, - { - "expression": "foo[][2][2]", - "result": [] - }, - { - "expression": "foo[][0][0][100]", - "result": [] - } - ] -}, -{ - "given": { - "foo": [{ - "bar": [ - { - "qux": 2, - "baz": 1 - }, - { - "qux": 4, - "baz": 3 - } - ] - }, - { - "bar": [ - { - "qux": 6, - "baz": 5 - }, - { - "qux": 8, - "baz": 7 - } - ] - } - ] - }, - "cases": [ - { - "expression": "foo", - "result": [{"bar": [{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}]}, - {"bar": [{"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}]}] - }, - { - "expression": "foo[]", - "result": [{"bar": [{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}]}, - {"bar": [{"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}]}] - }, - { - "expression": "foo[].bar", - "result": [[{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}], - [{"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}]] - }, - { - "expression": "foo[].bar[]", - "result": [{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}, - {"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}] - }, - { - "expression": "foo[].bar[].baz", - "result": [1, 3, 5, 7] - } - ] -}, -{ - "given": { - "string": "string", - "hash": {"foo": "bar", "bar": "baz"}, - "number": 23, - "nullvalue": null - }, - "cases": [ - { - "expression": "string[]", - "result": null - }, - { - "expression": "hash[]", - "result": null - }, - { - "expression": "number[]", - "result": null - }, - { - "expression": "nullvalue[]", - "result": null - }, - { - "expression": "string[].foo", - "result": null - }, - { - "expression": "hash[].foo", - "result": null - }, - { - "expression": "number[].foo", - "result": null - }, - { - "expression": "nullvalue[].foo", - "result": null - }, - { - "expression": "nullvalue[].foo[].bar", - "result": null - } - ] -} -] diff --git a/src/node_modules/jmespath/test/compliance/literal.json b/src/node_modules/jmespath/test/compliance/literal.json deleted file mode 100644 index b796d36..0000000 --- a/src/node_modules/jmespath/test/compliance/literal.json +++ /dev/null @@ -1,190 +0,0 @@ -[ - { - "given": { - "foo": [{"name": "a"}, {"name": "b"}], - "bar": {"baz": "qux"} - }, - "cases": [ - { - "expression": "`\"foo\"`", - "result": "foo" - }, - { - "comment": "Interpret escaped unicode.", - "expression": "`\"\\u03a6\"`", - "result": "Φ" - }, - { - "expression": "`\"✓\"`", - "result": "✓" - }, - { - "expression": "`[1, 2, 3]`", - "result": [1, 2, 3] - }, - { - "expression": "`{\"a\": \"b\"}`", - "result": {"a": "b"} - }, - { - "expression": "`true`", - "result": true - }, - { - "expression": "`false`", - "result": false - }, - { - "expression": "`null`", - "result": null - }, - { - "expression": "`0`", - "result": 0 - }, - { - "expression": "`1`", - "result": 1 - }, - { - "expression": "`2`", - "result": 2 - }, - { - "expression": "`3`", - "result": 3 - }, - { - "expression": "`4`", - "result": 4 - }, - { - "expression": "`5`", - "result": 5 - }, - { - "expression": "`6`", - "result": 6 - }, - { - "expression": "`7`", - "result": 7 - }, - { - "expression": "`8`", - "result": 8 - }, - { - "expression": "`9`", - "result": 9 - }, - { - "comment": "Escaping a backtick in quotes", - "expression": "`\"foo\\`bar\"`", - "result": "foo`bar" - }, - { - "comment": "Double quote in literal", - "expression": "`\"foo\\\"bar\"`", - "result": "foo\"bar" - }, - { - "expression": "`\"1\\`\"`", - "result": "1`" - }, - { - "comment": "Multiple literal expressions with escapes", - "expression": "`\"\\\\\"`.{a:`\"b\"`}", - "result": {"a": "b"} - }, - { - "comment": "literal . identifier", - "expression": "`{\"a\": \"b\"}`.a", - "result": "b" - }, - { - "comment": "literal . identifier . identifier", - "expression": "`{\"a\": {\"b\": \"c\"}}`.a.b", - "result": "c" - }, - { - "comment": "literal . identifier bracket-expr", - "expression": "`[0, 1, 2]`[1]", - "result": 1 - } - ] - }, - { - "comment": "Literals", - "given": {"type": "object"}, - "cases": [ - { - "comment": "Literal with leading whitespace", - "expression": "` {\"foo\": true}`", - "result": {"foo": true} - }, - { - "comment": "Literal with trailing whitespace", - "expression": "`{\"foo\": true} `", - "result": {"foo": true} - }, - { - "comment": "Literal on RHS of subexpr not allowed", - "expression": "foo.`\"bar\"`", - "error": "syntax" - } - ] - }, - { - "comment": "Raw String Literals", - "given": {}, - "cases": [ - { - "expression": "'foo'", - "result": "foo" - }, - { - "expression": "' foo '", - "result": " foo " - }, - { - "expression": "'0'", - "result": "0" - }, - { - "expression": "'newline\n'", - "result": "newline\n" - }, - { - "expression": "'\n'", - "result": "\n" - }, - { - "expression": "'✓'", - "result": "✓" - }, - { - "expression": "'𝄞'", - "result": "𝄞" - }, - { - "expression": "' [foo] '", - "result": " [foo] " - }, - { - "expression": "'[foo]'", - "result": "[foo]" - }, - { - "comment": "Do not interpret escaped unicode.", - "expression": "'\\u03a6'", - "result": "\\u03a6" - }, - { - "comment": "Can escape the single quote", - "expression": "'foo\\'bar'", - "result": "foo'bar" - } - ] - } -] diff --git a/src/node_modules/jmespath/test/compliance/multiselect.json b/src/node_modules/jmespath/test/compliance/multiselect.json deleted file mode 100644 index 8f2a481..0000000 --- a/src/node_modules/jmespath/test/compliance/multiselect.json +++ /dev/null @@ -1,393 +0,0 @@ -[{ - "given": { - "foo": { - "bar": "bar", - "baz": "baz", - "qux": "qux", - "nested": { - "one": { - "a": "first", - "b": "second", - "c": "third" - }, - "two": { - "a": "first", - "b": "second", - "c": "third" - }, - "three": { - "a": "first", - "b": "second", - "c": {"inner": "third"} - } - } - }, - "bar": 1, - "baz": 2, - "qux\"": 3 - }, - "cases": [ - { - "expression": "foo.{bar: bar}", - "result": {"bar": "bar"} - }, - { - "expression": "foo.{\"bar\": bar}", - "result": {"bar": "bar"} - }, - { - "expression": "foo.{\"foo.bar\": bar}", - "result": {"foo.bar": "bar"} - }, - { - "expression": "foo.{bar: bar, baz: baz}", - "result": {"bar": "bar", "baz": "baz"} - }, - { - "expression": "foo.{\"bar\": bar, \"baz\": baz}", - "result": {"bar": "bar", "baz": "baz"} - }, - { - "expression": "{\"baz\": baz, \"qux\\\"\": \"qux\\\"\"}", - "result": {"baz": 2, "qux\"": 3} - }, - { - "expression": "foo.{bar:bar,baz:baz}", - "result": {"bar": "bar", "baz": "baz"} - }, - { - "expression": "foo.{bar: bar,qux: qux}", - "result": {"bar": "bar", "qux": "qux"} - }, - { - "expression": "foo.{bar: bar, noexist: noexist}", - "result": {"bar": "bar", "noexist": null} - }, - { - "expression": "foo.{noexist: noexist, alsonoexist: alsonoexist}", - "result": {"noexist": null, "alsonoexist": null} - }, - { - "expression": "foo.badkey.{nokey: nokey, alsonokey: alsonokey}", - "result": null - }, - { - "expression": "foo.nested.*.{a: a,b: b}", - "result": [{"a": "first", "b": "second"}, - {"a": "first", "b": "second"}, - {"a": "first", "b": "second"}] - }, - { - "expression": "foo.nested.three.{a: a, cinner: c.inner}", - "result": {"a": "first", "cinner": "third"} - }, - { - "expression": "foo.nested.three.{a: a, c: c.inner.bad.key}", - "result": {"a": "first", "c": null} - }, - { - "expression": "foo.{a: nested.one.a, b: nested.two.b}", - "result": {"a": "first", "b": "second"} - }, - { - "expression": "{bar: bar, baz: baz}", - "result": {"bar": 1, "baz": 2} - }, - { - "expression": "{bar: bar}", - "result": {"bar": 1} - }, - { - "expression": "{otherkey: bar}", - "result": {"otherkey": 1} - }, - { - "expression": "{no: no, exist: exist}", - "result": {"no": null, "exist": null} - }, - { - "expression": "foo.[bar]", - "result": ["bar"] - }, - { - "expression": "foo.[bar,baz]", - "result": ["bar", "baz"] - }, - { - "expression": "foo.[bar,qux]", - "result": ["bar", "qux"] - }, - { - "expression": "foo.[bar,noexist]", - "result": ["bar", null] - }, - { - "expression": "foo.[noexist,alsonoexist]", - "result": [null, null] - } - ] -}, { - "given": { - "foo": {"bar": 1, "baz": [2, 3, 4]} - }, - "cases": [ - { - "expression": "foo.{bar:bar,baz:baz}", - "result": {"bar": 1, "baz": [2, 3, 4]} - }, - { - "expression": "foo.[bar,baz[0]]", - "result": [1, 2] - }, - { - "expression": "foo.[bar,baz[1]]", - "result": [1, 3] - }, - { - "expression": "foo.[bar,baz[2]]", - "result": [1, 4] - }, - { - "expression": "foo.[bar,baz[3]]", - "result": [1, null] - }, - { - "expression": "foo.[bar[0],baz[3]]", - "result": [null, null] - } - ] -}, { - "given": { - "foo": {"bar": 1, "baz": 2} - }, - "cases": [ - { - "expression": "foo.{bar: bar, baz: baz}", - "result": {"bar": 1, "baz": 2} - }, - { - "expression": "foo.[bar,baz]", - "result": [1, 2] - } - ] -}, { - "given": { - "foo": { - "bar": {"baz": [{"common": "first", "one": 1}, - {"common": "second", "two": 2}]}, - "ignoreme": 1, - "includeme": true - } - }, - "cases": [ - { - "expression": "foo.{bar: bar.baz[1],includeme: includeme}", - "result": {"bar": {"common": "second", "two": 2}, "includeme": true} - }, - { - "expression": "foo.{\"bar.baz.two\": bar.baz[1].two, includeme: includeme}", - "result": {"bar.baz.two": 2, "includeme": true} - }, - { - "expression": "foo.[includeme, bar.baz[*].common]", - "result": [true, ["first", "second"]] - }, - { - "expression": "foo.[includeme, bar.baz[*].none]", - "result": [true, []] - }, - { - "expression": "foo.[includeme, bar.baz[].common]", - "result": [true, ["first", "second"]] - } - ] -}, { - "given": { - "reservations": [{ - "instances": [ - {"id": "id1", - "name": "first"}, - {"id": "id2", - "name": "second"} - ]}, { - "instances": [ - {"id": "id3", - "name": "third"}, - {"id": "id4", - "name": "fourth"} - ]} - ]}, - "cases": [ - { - "expression": "reservations[*].instances[*].{id: id, name: name}", - "result": [[{"id": "id1", "name": "first"}, {"id": "id2", "name": "second"}], - [{"id": "id3", "name": "third"}, {"id": "id4", "name": "fourth"}]] - }, - { - "expression": "reservations[].instances[].{id: id, name: name}", - "result": [{"id": "id1", "name": "first"}, - {"id": "id2", "name": "second"}, - {"id": "id3", "name": "third"}, - {"id": "id4", "name": "fourth"}] - }, - { - "expression": "reservations[].instances[].[id, name]", - "result": [["id1", "first"], - ["id2", "second"], - ["id3", "third"], - ["id4", "fourth"]] - } - ] -}, -{ - "given": { - "foo": [{ - "bar": [ - { - "qux": 2, - "baz": 1 - }, - { - "qux": 4, - "baz": 3 - } - ] - }, - { - "bar": [ - { - "qux": 6, - "baz": 5 - }, - { - "qux": 8, - "baz": 7 - } - ] - } - ] - }, - "cases": [ - { - "expression": "foo", - "result": [{"bar": [{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}]}, - {"bar": [{"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}]}] - }, - { - "expression": "foo[]", - "result": [{"bar": [{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}]}, - {"bar": [{"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}]}] - }, - { - "expression": "foo[].bar", - "result": [[{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}], - [{"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}]] - }, - { - "expression": "foo[].bar[]", - "result": [{"qux": 2, "baz": 1}, {"qux": 4, "baz": 3}, - {"qux": 6, "baz": 5}, {"qux": 8, "baz": 7}] - }, - { - "expression": "foo[].bar[].[baz, qux]", - "result": [[1, 2], [3, 4], [5, 6], [7, 8]] - }, - { - "expression": "foo[].bar[].[baz]", - "result": [[1], [3], [5], [7]] - }, - { - "expression": "foo[].bar[].[baz, qux][]", - "result": [1, 2, 3, 4, 5, 6, 7, 8] - } - ] -}, -{ - "given": { - "foo": { - "baz": [ - { - "bar": "abc" - }, { - "bar": "def" - } - ], - "qux": ["zero"] - } - }, - "cases": [ - { - "expression": "foo.[baz[*].bar, qux[0]]", - "result": [["abc", "def"], "zero"] - } - ] -}, -{ - "given": { - "foo": { - "baz": [ - { - "bar": "a", - "bam": "b", - "boo": "c" - }, { - "bar": "d", - "bam": "e", - "boo": "f" - } - ], - "qux": ["zero"] - } - }, - "cases": [ - { - "expression": "foo.[baz[*].[bar, boo], qux[0]]", - "result": [[["a", "c" ], ["d", "f" ]], "zero"] - } - ] -}, -{ - "given": { - "foo": { - "baz": [ - { - "bar": "a", - "bam": "b", - "boo": "c" - }, { - "bar": "d", - "bam": "e", - "boo": "f" - } - ], - "qux": ["zero"] - } - }, - "cases": [ - { - "expression": "foo.[baz[*].not_there || baz[*].bar, qux[0]]", - "result": [["a", "d"], "zero"] - } - ] -}, -{ - "given": {"type": "object"}, - "cases": [ - { - "comment": "Nested multiselect", - "expression": "[[*],*]", - "result": [null, ["object"]] - } - ] -}, -{ - "given": [], - "cases": [ - { - "comment": "Nested multiselect", - "expression": "[[*]]", - "result": [[]] - } - ] -} -] diff --git a/src/node_modules/jmespath/test/compliance/pipe.json b/src/node_modules/jmespath/test/compliance/pipe.json deleted file mode 100644 index b10c0a4..0000000 --- a/src/node_modules/jmespath/test/compliance/pipe.json +++ /dev/null @@ -1,131 +0,0 @@ -[{ - "given": { - "foo": { - "bar": { - "baz": "subkey" - }, - "other": { - "baz": "subkey" - }, - "other2": { - "baz": "subkey" - }, - "other3": { - "notbaz": ["a", "b", "c"] - }, - "other4": { - "notbaz": ["a", "b", "c"] - } - } - }, - "cases": [ - { - "expression": "foo.*.baz | [0]", - "result": "subkey" - }, - { - "expression": "foo.*.baz | [1]", - "result": "subkey" - }, - { - "expression": "foo.*.baz | [2]", - "result": "subkey" - }, - { - "expression": "foo.bar.* | [0]", - "result": "subkey" - }, - { - "expression": "foo.*.notbaz | [*]", - "result": [["a", "b", "c"], ["a", "b", "c"]] - }, - { - "expression": "{\"a\": foo.bar, \"b\": foo.other} | *.baz", - "result": ["subkey", "subkey"] - } - ] -}, { - "given": { - "foo": { - "bar": { - "baz": "one" - }, - "other": { - "baz": "two" - }, - "other2": { - "baz": "three" - }, - "other3": { - "notbaz": ["a", "b", "c"] - }, - "other4": { - "notbaz": ["d", "e", "f"] - } - } - }, - "cases": [ - { - "expression": "foo | bar", - "result": {"baz": "one"} - }, - { - "expression": "foo | bar | baz", - "result": "one" - }, - { - "expression": "foo|bar| baz", - "result": "one" - }, - { - "expression": "not_there | [0]", - "result": null - }, - { - "expression": "not_there | [0]", - "result": null - }, - { - "expression": "[foo.bar, foo.other] | [0]", - "result": {"baz": "one"} - }, - { - "expression": "{\"a\": foo.bar, \"b\": foo.other} | a", - "result": {"baz": "one"} - }, - { - "expression": "{\"a\": foo.bar, \"b\": foo.other} | b", - "result": {"baz": "two"} - }, - { - "expression": "foo.bam || foo.bar | baz", - "result": "one" - }, - { - "expression": "foo | not_there || bar", - "result": {"baz": "one"} - } - ] -}, { - "given": { - "foo": [{ - "bar": [{ - "baz": "one" - }, { - "baz": "two" - }] - }, { - "bar": [{ - "baz": "three" - }, { - "baz": "four" - }] - }] - }, - "cases": [ - { - "expression": "foo[*].bar[*] | [0][0]", - "result": {"baz": "one"} - } - ] -}] diff --git a/src/node_modules/jmespath/test/compliance/slice.json b/src/node_modules/jmespath/test/compliance/slice.json deleted file mode 100644 index 3594772..0000000 --- a/src/node_modules/jmespath/test/compliance/slice.json +++ /dev/null @@ -1,187 +0,0 @@ -[{ - "given": { - "foo": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], - "bar": { - "baz": 1 - } - }, - "cases": [ - { - "expression": "bar[0:10]", - "result": null - }, - { - "expression": "foo[0:10:1]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[0:10]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[0:10:]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[0::1]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[0::]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[0:]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[:10:1]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[::1]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[:10:]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[::]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[:]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[1:9]", - "result": [1, 2, 3, 4, 5, 6, 7, 8] - }, - { - "expression": "foo[0:10:2]", - "result": [0, 2, 4, 6, 8] - }, - { - "expression": "foo[5:]", - "result": [5, 6, 7, 8, 9] - }, - { - "expression": "foo[5::2]", - "result": [5, 7, 9] - }, - { - "expression": "foo[::2]", - "result": [0, 2, 4, 6, 8] - }, - { - "expression": "foo[::-1]", - "result": [9, 8, 7, 6, 5, 4, 3, 2, 1, 0] - }, - { - "expression": "foo[1::2]", - "result": [1, 3, 5, 7, 9] - }, - { - "expression": "foo[10:0:-1]", - "result": [9, 8, 7, 6, 5, 4, 3, 2, 1] - }, - { - "expression": "foo[10:5:-1]", - "result": [9, 8, 7, 6] - }, - { - "expression": "foo[8:2:-2]", - "result": [8, 6, 4] - }, - { - "expression": "foo[0:20]", - "result": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - }, - { - "expression": "foo[10:-20:-1]", - "result": [9, 8, 7, 6, 5, 4, 3, 2, 1, 0] - }, - { - "expression": "foo[10:-20]", - "result": [] - }, - { - "expression": "foo[-4:-1]", - "result": [6, 7, 8] - }, - { - "expression": "foo[:-5:-1]", - "result": [9, 8, 7, 6] - }, - { - "expression": "foo[8:2:0]", - "error": "invalid-value" - }, - { - "expression": "foo[8:2:0:1]", - "error": "syntax" - }, - { - "expression": "foo[8:2&]", - "error": "syntax" - }, - { - "expression": "foo[2:a:3]", - "error": "syntax" - } - ] -}, { - "given": { - "foo": [{"a": 1}, {"a": 2}, {"a": 3}], - "bar": [{"a": {"b": 1}}, {"a": {"b": 2}}, - {"a": {"b": 3}}], - "baz": 50 - }, - "cases": [ - { - "expression": "foo[:2].a", - "result": [1, 2] - }, - { - "expression": "foo[:2].b", - "result": [] - }, - { - "expression": "foo[:2].a.b", - "result": [] - }, - { - "expression": "bar[::-1].a.b", - "result": [3, 2, 1] - }, - { - "expression": "bar[:2].a.b", - "result": [1, 2] - }, - { - "expression": "baz[:2].a", - "result": null - } - ] -}, { - "given": [{"a": 1}, {"a": 2}, {"a": 3}], - "cases": [ - { - "expression": "[:]", - "result": [{"a": 1}, {"a": 2}, {"a": 3}] - }, - { - "expression": "[:2].a", - "result": [1, 2] - }, - { - "expression": "[::-1].a", - "result": [3, 2, 1] - }, - { - "expression": "[:2].b", - "result": [] - } - ] -}] diff --git a/src/node_modules/jmespath/test/compliance/syntax.json b/src/node_modules/jmespath/test/compliance/syntax.json deleted file mode 100644 index 003c294..0000000 --- a/src/node_modules/jmespath/test/compliance/syntax.json +++ /dev/null @@ -1,616 +0,0 @@ -[{ - "comment": "Dot syntax", - "given": {"type": "object"}, - "cases": [ - { - "expression": "foo.bar", - "result": null - }, - { - "expression": "foo.1", - "error": "syntax" - }, - { - "expression": "foo.-11", - "error": "syntax" - }, - { - "expression": "foo", - "result": null - }, - { - "expression": "foo.", - "error": "syntax" - }, - { - "expression": "foo.", - "error": "syntax" - }, - { - "expression": ".foo", - "error": "syntax" - }, - { - "expression": "foo..bar", - "error": "syntax" - }, - { - "expression": "foo.bar.", - "error": "syntax" - }, - { - "expression": "foo[.]", - "error": "syntax" - } - ] -}, - { - "comment": "Simple token errors", - "given": {"type": "object"}, - "cases": [ - { - "expression": ".", - "error": "syntax" - }, - { - "expression": ":", - "error": "syntax" - }, - { - "expression": ",", - "error": "syntax" - }, - { - "expression": "]", - "error": "syntax" - }, - { - "expression": "[", - "error": "syntax" - }, - { - "expression": "}", - "error": "syntax" - }, - { - "expression": "{", - "error": "syntax" - }, - { - "expression": ")", - "error": "syntax" - }, - { - "expression": "(", - "error": "syntax" - }, - { - "expression": "((&", - "error": "syntax" - }, - { - "expression": "a[", - "error": "syntax" - }, - { - "expression": "a]", - "error": "syntax" - }, - { - "expression": "a][", - "error": "syntax" - }, - { - "expression": "!", - "error": "syntax" - } - ] - }, - { - "comment": "Boolean syntax errors", - "given": {"type": "object"}, - "cases": [ - { - "expression": "![!(!", - "error": "syntax" - } - ] - }, - { - "comment": "Wildcard syntax", - "given": {"type": "object"}, - "cases": [ - { - "expression": "*", - "result": ["object"] - }, - { - "expression": "*.*", - "result": [] - }, - { - "expression": "*.foo", - "result": [] - }, - { - "expression": "*[0]", - "result": [] - }, - { - "expression": ".*", - "error": "syntax" - }, - { - "expression": "*foo", - "error": "syntax" - }, - { - "expression": "*0", - "error": "syntax" - }, - { - "expression": "foo[*]bar", - "error": "syntax" - }, - { - "expression": "foo[*]*", - "error": "syntax" - } - ] - }, - { - "comment": "Flatten syntax", - "given": {"type": "object"}, - "cases": [ - { - "expression": "[]", - "result": null - } - ] - }, - { - "comment": "Simple bracket syntax", - "given": {"type": "object"}, - "cases": [ - { - "expression": "[0]", - "result": null - }, - { - "expression": "[*]", - "result": null - }, - { - "expression": "*.[0]", - "error": "syntax" - }, - { - "expression": "*.[\"0\"]", - "result": [[null]] - }, - { - "expression": "[*].bar", - "result": null - }, - { - "expression": "[*][0]", - "result": null - }, - { - "expression": "foo[#]", - "error": "syntax" - } - ] - }, - { - "comment": "Multi-select list syntax", - "given": {"type": "object"}, - "cases": [ - { - "expression": "foo[0]", - "result": null - }, - { - "comment": "Valid multi-select of a list", - "expression": "foo[0, 1]", - "error": "syntax" - }, - { - "expression": "foo.[0]", - "error": "syntax" - }, - { - "expression": "foo.[*]", - "result": null - }, - { - "comment": "Multi-select of a list with trailing comma", - "expression": "foo[0, ]", - "error": "syntax" - }, - { - "comment": "Multi-select of a list with trailing comma and no close", - "expression": "foo[0,", - "error": "syntax" - }, - { - "comment": "Multi-select of a list with trailing comma and no close", - "expression": "foo.[a", - "error": "syntax" - }, - { - "comment": "Multi-select of a list with extra comma", - "expression": "foo[0,, 1]", - "error": "syntax" - }, - { - "comment": "Multi-select of a list using an identifier index", - "expression": "foo[abc]", - "error": "syntax" - }, - { - "comment": "Multi-select of a list using identifier indices", - "expression": "foo[abc, def]", - "error": "syntax" - }, - { - "comment": "Multi-select of a list using an identifier index", - "expression": "foo[abc, 1]", - "error": "syntax" - }, - { - "comment": "Multi-select of a list using an identifier index with trailing comma", - "expression": "foo[abc, ]", - "error": "syntax" - }, - { - "comment": "Valid multi-select of a hash using an identifier index", - "expression": "foo.[abc]", - "result": null - }, - { - "comment": "Valid multi-select of a hash", - "expression": "foo.[abc, def]", - "result": null - }, - { - "comment": "Multi-select of a hash using a numeric index", - "expression": "foo.[abc, 1]", - "error": "syntax" - }, - { - "comment": "Multi-select of a hash with a trailing comma", - "expression": "foo.[abc, ]", - "error": "syntax" - }, - { - "comment": "Multi-select of a hash with extra commas", - "expression": "foo.[abc,, def]", - "error": "syntax" - }, - { - "comment": "Multi-select of a hash using number indices", - "expression": "foo.[0, 1]", - "error": "syntax" - } - ] - }, - { - "comment": "Multi-select hash syntax", - "given": {"type": "object"}, - "cases": [ - { - "comment": "No key or value", - "expression": "a{}", - "error": "syntax" - }, - { - "comment": "No closing token", - "expression": "a{", - "error": "syntax" - }, - { - "comment": "Not a key value pair", - "expression": "a{foo}", - "error": "syntax" - }, - { - "comment": "Missing value and closing character", - "expression": "a{foo:", - "error": "syntax" - }, - { - "comment": "Missing closing character", - "expression": "a{foo: 0", - "error": "syntax" - }, - { - "comment": "Missing value", - "expression": "a{foo:}", - "error": "syntax" - }, - { - "comment": "Trailing comma and no closing character", - "expression": "a{foo: 0, ", - "error": "syntax" - }, - { - "comment": "Missing value with trailing comma", - "expression": "a{foo: ,}", - "error": "syntax" - }, - { - "comment": "Accessing Array using an identifier", - "expression": "a{foo: bar}", - "error": "syntax" - }, - { - "expression": "a{foo: 0}", - "error": "syntax" - }, - { - "comment": "Missing key-value pair", - "expression": "a.{}", - "error": "syntax" - }, - { - "comment": "Not a key-value pair", - "expression": "a.{foo}", - "error": "syntax" - }, - { - "comment": "Missing value", - "expression": "a.{foo:}", - "error": "syntax" - }, - { - "comment": "Missing value with trailing comma", - "expression": "a.{foo: ,}", - "error": "syntax" - }, - { - "comment": "Valid multi-select hash extraction", - "expression": "a.{foo: bar}", - "result": null - }, - { - "comment": "Valid multi-select hash extraction", - "expression": "a.{foo: bar, baz: bam}", - "result": null - }, - { - "comment": "Trailing comma", - "expression": "a.{foo: bar, }", - "error": "syntax" - }, - { - "comment": "Missing key in second key-value pair", - "expression": "a.{foo: bar, baz}", - "error": "syntax" - }, - { - "comment": "Missing value in second key-value pair", - "expression": "a.{foo: bar, baz:}", - "error": "syntax" - }, - { - "comment": "Trailing comma", - "expression": "a.{foo: bar, baz: bam, }", - "error": "syntax" - }, - { - "comment": "Nested multi select", - "expression": "{\"\\\\\":{\" \":*}}", - "result": {"\\": {" ": ["object"]}} - } - ] - }, - { - "comment": "Or expressions", - "given": {"type": "object"}, - "cases": [ - { - "expression": "foo || bar", - "result": null - }, - { - "expression": "foo ||", - "error": "syntax" - }, - { - "expression": "foo.|| bar", - "error": "syntax" - }, - { - "expression": " || foo", - "error": "syntax" - }, - { - "expression": "foo || || foo", - "error": "syntax" - }, - { - "expression": "foo.[a || b]", - "result": null - }, - { - "expression": "foo.[a ||]", - "error": "syntax" - }, - { - "expression": "\"foo", - "error": "syntax" - } - ] - }, - { - "comment": "Filter expressions", - "given": {"type": "object"}, - "cases": [ - { - "expression": "foo[?bar==`\"baz\"`]", - "result": null - }, - { - "expression": "foo[? bar == `\"baz\"` ]", - "result": null - }, - { - "expression": "foo[ ?bar==`\"baz\"`]", - "error": "syntax" - }, - { - "expression": "foo[?bar==]", - "error": "syntax" - }, - { - "expression": "foo[?==]", - "error": "syntax" - }, - { - "expression": "foo[?==bar]", - "error": "syntax" - }, - { - "expression": "foo[?bar==baz?]", - "error": "syntax" - }, - { - "expression": "foo[?a.b.c==d.e.f]", - "result": null - }, - { - "expression": "foo[?bar==`[0, 1, 2]`]", - "result": null - }, - { - "expression": "foo[?bar==`[\"a\", \"b\", \"c\"]`]", - "result": null - }, - { - "comment": "Literal char not escaped", - "expression": "foo[?bar==`[\"foo`bar\"]`]", - "error": "syntax" - }, - { - "comment": "Literal char escaped", - "expression": "foo[?bar==`[\"foo\\`bar\"]`]", - "result": null - }, - { - "comment": "Unknown comparator", - "expression": "foo[?bar<>baz]", - "error": "syntax" - }, - { - "comment": "Unknown comparator", - "expression": "foo[?bar^baz]", - "error": "syntax" - }, - { - "expression": "foo[bar==baz]", - "error": "syntax" - }, - { - "comment": "Quoted identifier in filter expression no spaces", - "expression": "[?\"\\\\\">`\"foo\"`]", - "result": null - }, - { - "comment": "Quoted identifier in filter expression with spaces", - "expression": "[?\"\\\\\" > `\"foo\"`]", - "result": null - } - ] - }, - { - "comment": "Filter expression errors", - "given": {"type": "object"}, - "cases": [ - { - "expression": "bar.`\"anything\"`", - "error": "syntax" - }, - { - "expression": "bar.baz.noexists.`\"literal\"`", - "error": "syntax" - }, - { - "comment": "Literal wildcard projection", - "expression": "foo[*].`\"literal\"`", - "error": "syntax" - }, - { - "expression": "foo[*].name.`\"literal\"`", - "error": "syntax" - }, - { - "expression": "foo[].name.`\"literal\"`", - "error": "syntax" - }, - { - "expression": "foo[].name.`\"literal\"`.`\"subliteral\"`", - "error": "syntax" - }, - { - "comment": "Projecting a literal onto an empty list", - "expression": "foo[*].name.noexist.`\"literal\"`", - "error": "syntax" - }, - { - "expression": "foo[].name.noexist.`\"literal\"`", - "error": "syntax" - }, - { - "expression": "twolen[*].`\"foo\"`", - "error": "syntax" - }, - { - "comment": "Two level projection of a literal", - "expression": "twolen[*].threelen[*].`\"bar\"`", - "error": "syntax" - }, - { - "comment": "Two level flattened projection of a literal", - "expression": "twolen[].threelen[].`\"bar\"`", - "error": "syntax" - } - ] - }, - { - "comment": "Identifiers", - "given": {"type": "object"}, - "cases": [ - { - "expression": "foo", - "result": null - }, - { - "expression": "\"foo\"", - "result": null - }, - { - "expression": "\"\\\\\"", - "result": null - } - ] - }, - { - "comment": "Combined syntax", - "given": [], - "cases": [ - { - "expression": "*||*|*|*", - "result": null - }, - { - "expression": "*[]||[*]", - "result": [] - }, - { - "expression": "[*.*]", - "result": [null] - } - ] - } -] diff --git a/src/node_modules/jmespath/test/compliance/unicode.json b/src/node_modules/jmespath/test/compliance/unicode.json deleted file mode 100644 index 6b07b0b..0000000 --- a/src/node_modules/jmespath/test/compliance/unicode.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "given": {"foo": [{"✓": "✓"}, {"✓": "✗"}]}, - "cases": [ - { - "expression": "foo[].\"✓\"", - "result": ["✓", "✗"] - } - ] - }, - { - "given": {"☯": true}, - "cases": [ - { - "expression": "\"☯\"", - "result": true - } - ] - }, - { - "given": {"♪♫•*¨*•.¸¸❤¸¸.•*¨*•♫♪": true}, - "cases": [ - { - "expression": "\"♪♫•*¨*•.¸¸❤¸¸.•*¨*•♫♪\"", - "result": true - } - ] - }, - { - "given": {"☃": true}, - "cases": [ - { - "expression": "\"☃\"", - "result": true - } - ] - } -] diff --git a/src/node_modules/jmespath/test/compliance/wildcard.json b/src/node_modules/jmespath/test/compliance/wildcard.json deleted file mode 100644 index 3bcec30..0000000 --- a/src/node_modules/jmespath/test/compliance/wildcard.json +++ /dev/null @@ -1,460 +0,0 @@ -[{ - "given": { - "foo": { - "bar": { - "baz": "val" - }, - "other": { - "baz": "val" - }, - "other2": { - "baz": "val" - }, - "other3": { - "notbaz": ["a", "b", "c"] - }, - "other4": { - "notbaz": ["a", "b", "c"] - }, - "other5": { - "other": { - "a": 1, - "b": 1, - "c": 1 - } - } - } - }, - "cases": [ - { - "expression": "foo.*.baz", - "result": ["val", "val", "val"] - }, - { - "expression": "foo.bar.*", - "result": ["val"] - }, - { - "expression": "foo.*.notbaz", - "result": [["a", "b", "c"], ["a", "b", "c"]] - }, - { - "expression": "foo.*.notbaz[0]", - "result": ["a", "a"] - }, - { - "expression": "foo.*.notbaz[-1]", - "result": ["c", "c"] - } - ] -}, { - "given": { - "foo": { - "first-1": { - "second-1": "val" - }, - "first-2": { - "second-1": "val" - }, - "first-3": { - "second-1": "val" - } - } - }, - "cases": [ - { - "expression": "foo.*", - "result": [{"second-1": "val"}, {"second-1": "val"}, - {"second-1": "val"}] - }, - { - "expression": "foo.*.*", - "result": [["val"], ["val"], ["val"]] - }, - { - "expression": "foo.*.*.*", - "result": [[], [], []] - }, - { - "expression": "foo.*.*.*.*", - "result": [[], [], []] - } - ] -}, { - "given": { - "foo": { - "bar": "one" - }, - "other": { - "bar": "one" - }, - "nomatch": { - "notbar": "three" - } - }, - "cases": [ - { - "expression": "*.bar", - "result": ["one", "one"] - } - ] -}, { - "given": { - "top1": { - "sub1": {"foo": "one"} - }, - "top2": { - "sub1": {"foo": "one"} - } - }, - "cases": [ - { - "expression": "*", - "result": [{"sub1": {"foo": "one"}}, - {"sub1": {"foo": "one"}}] - }, - { - "expression": "*.sub1", - "result": [{"foo": "one"}, - {"foo": "one"}] - }, - { - "expression": "*.*", - "result": [[{"foo": "one"}], - [{"foo": "one"}]] - }, - { - "expression": "*.*.foo[]", - "result": ["one", "one"] - }, - { - "expression": "*.sub1.foo", - "result": ["one", "one"] - } - ] -}, -{ - "given": - {"foo": [{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}]}, - "cases": [ - { - "expression": "foo[*].bar", - "result": ["one", "two", "three"] - }, - { - "expression": "foo[*].notbar", - "result": ["four"] - } - ] -}, -{ - "given": - [{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}], - "cases": [ - { - "expression": "[*]", - "result": [{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}] - }, - { - "expression": "[*].bar", - "result": ["one", "two", "three"] - }, - { - "expression": "[*].notbar", - "result": ["four"] - } - ] -}, -{ - "given": { - "foo": { - "bar": [ - {"baz": ["one", "two", "three"]}, - {"baz": ["four", "five", "six"]}, - {"baz": ["seven", "eight", "nine"]} - ] - } - }, - "cases": [ - { - "expression": "foo.bar[*].baz", - "result": [["one", "two", "three"], ["four", "five", "six"], ["seven", "eight", "nine"]] - }, - { - "expression": "foo.bar[*].baz[0]", - "result": ["one", "four", "seven"] - }, - { - "expression": "foo.bar[*].baz[1]", - "result": ["two", "five", "eight"] - }, - { - "expression": "foo.bar[*].baz[2]", - "result": ["three", "six", "nine"] - }, - { - "expression": "foo.bar[*].baz[3]", - "result": [] - } - ] -}, -{ - "given": { - "foo": { - "bar": [["one", "two"], ["three", "four"]] - } - }, - "cases": [ - { - "expression": "foo.bar[*]", - "result": [["one", "two"], ["three", "four"]] - }, - { - "expression": "foo.bar[0]", - "result": ["one", "two"] - }, - { - "expression": "foo.bar[0][0]", - "result": "one" - }, - { - "expression": "foo.bar[0][0][0]", - "result": null - }, - { - "expression": "foo.bar[0][0][0][0]", - "result": null - }, - { - "expression": "foo[0][0]", - "result": null - } - ] -}, -{ - "given": { - "foo": [ - {"bar": [{"kind": "basic"}, {"kind": "intermediate"}]}, - {"bar": [{"kind": "advanced"}, {"kind": "expert"}]}, - {"bar": "string"} - ] - - }, - "cases": [ - { - "expression": "foo[*].bar[*].kind", - "result": [["basic", "intermediate"], ["advanced", "expert"]] - }, - { - "expression": "foo[*].bar[0].kind", - "result": ["basic", "advanced"] - } - ] -}, -{ - "given": { - "foo": [ - {"bar": {"kind": "basic"}}, - {"bar": {"kind": "intermediate"}}, - {"bar": {"kind": "advanced"}}, - {"bar": {"kind": "expert"}}, - {"bar": "string"} - ] - }, - "cases": [ - { - "expression": "foo[*].bar.kind", - "result": ["basic", "intermediate", "advanced", "expert"] - } - ] -}, -{ - "given": { - "foo": [{"bar": ["one", "two"]}, {"bar": ["three", "four"]}, {"bar": ["five"]}] - }, - "cases": [ - { - "expression": "foo[*].bar[0]", - "result": ["one", "three", "five"] - }, - { - "expression": "foo[*].bar[1]", - "result": ["two", "four"] - }, - { - "expression": "foo[*].bar[2]", - "result": [] - } - ] -}, -{ - "given": { - "foo": [{"bar": []}, {"bar": []}, {"bar": []}] - }, - "cases": [ - { - "expression": "foo[*].bar[0]", - "result": [] - } - ] -}, -{ - "given": { - "foo": [["one", "two"], ["three", "four"], ["five"]] - }, - "cases": [ - { - "expression": "foo[*][0]", - "result": ["one", "three", "five"] - }, - { - "expression": "foo[*][1]", - "result": ["two", "four"] - } - ] -}, -{ - "given": { - "foo": [ - [ - ["one", "two"], ["three", "four"] - ], [ - ["five", "six"], ["seven", "eight"] - ], [ - ["nine"], ["ten"] - ] - ] - }, - "cases": [ - { - "expression": "foo[*][0]", - "result": [["one", "two"], ["five", "six"], ["nine"]] - }, - { - "expression": "foo[*][1]", - "result": [["three", "four"], ["seven", "eight"], ["ten"]] - }, - { - "expression": "foo[*][0][0]", - "result": ["one", "five", "nine"] - }, - { - "expression": "foo[*][1][0]", - "result": ["three", "seven", "ten"] - }, - { - "expression": "foo[*][0][1]", - "result": ["two", "six"] - }, - { - "expression": "foo[*][1][1]", - "result": ["four", "eight"] - }, - { - "expression": "foo[*][2]", - "result": [] - }, - { - "expression": "foo[*][2][2]", - "result": [] - }, - { - "expression": "bar[*]", - "result": null - }, - { - "expression": "bar[*].baz[*]", - "result": null - } - ] -}, -{ - "given": { - "string": "string", - "hash": {"foo": "bar", "bar": "baz"}, - "number": 23, - "nullvalue": null - }, - "cases": [ - { - "expression": "string[*]", - "result": null - }, - { - "expression": "hash[*]", - "result": null - }, - { - "expression": "number[*]", - "result": null - }, - { - "expression": "nullvalue[*]", - "result": null - }, - { - "expression": "string[*].foo", - "result": null - }, - { - "expression": "hash[*].foo", - "result": null - }, - { - "expression": "number[*].foo", - "result": null - }, - { - "expression": "nullvalue[*].foo", - "result": null - }, - { - "expression": "nullvalue[*].foo[*].bar", - "result": null - } - ] -}, -{ - "given": { - "string": "string", - "hash": {"foo": "val", "bar": "val"}, - "number": 23, - "array": [1, 2, 3], - "nullvalue": null - }, - "cases": [ - { - "expression": "string.*", - "result": null - }, - { - "expression": "hash.*", - "result": ["val", "val"] - }, - { - "expression": "number.*", - "result": null - }, - { - "expression": "array.*", - "result": null - }, - { - "expression": "nullvalue.*", - "result": null - } - ] -}, -{ - "given": { - "a": [0, 1, 2], - "b": [0, 1, 2] - }, - "cases": [ - { - "expression": "*[0]", - "result": [0, 0] - } - ] -} -] diff --git a/src/node_modules/jmespath/test/jmespath.js b/src/node_modules/jmespath/test/jmespath.js deleted file mode 100644 index 15f61c1..0000000 --- a/src/node_modules/jmespath/test/jmespath.js +++ /dev/null @@ -1,217 +0,0 @@ -var assert = require('assert'); -var jmespath = require('../jmespath'); -var tokenize = jmespath.tokenize; -var compile = jmespath.compile; -var strictDeepEqual = jmespath.strictDeepEqual; - - -describe('tokenize', function() { - it('should tokenize unquoted identifier', function() { - assert.deepEqual(tokenize('foo'), - [{type: "UnquotedIdentifier", - value: "foo", - start: 0}]); - }); - it('should tokenize unquoted identifier with underscore', function() { - assert.deepEqual(tokenize('_underscore'), - [{type: "UnquotedIdentifier", - value: "_underscore", - start: 0}]); - }); - it('should tokenize unquoted identifier with numbers', function() { - assert.deepEqual(tokenize('foo123'), - [{type: "UnquotedIdentifier", - value: "foo123", - start: 0}]); - }); - it('should tokenize dotted lookups', function() { - assert.deepEqual( - tokenize('foo.bar'), - [{type: "UnquotedIdentifier", value: "foo", start: 0}, - {type: "Dot", value: ".", start: 3}, - {type: "UnquotedIdentifier", value: "bar", start: 4}, - ]); - }); - it('should tokenize numbers', function() { - assert.deepEqual( - tokenize('foo[0]'), - [{type: "UnquotedIdentifier", value: "foo", start: 0}, - {type: "Lbracket", value: "[", start: 3}, - {type: "Number", value: 0, start: 4}, - {type: "Rbracket", value: "]", start: 5}, - ]); - }); - it('should tokenize numbers with multiple digits', function() { - assert.deepEqual( - tokenize("12345"), - [{type: "Number", value: 12345, start: 0}]); - }); - it('should tokenize negative numbers', function() { - assert.deepEqual( - tokenize("-12345"), - [{type: "Number", value: -12345, start: 0}]); - }); - it('should tokenize quoted identifier', function() { - assert.deepEqual(tokenize('"foo"'), - [{type: "QuotedIdentifier", - value: "foo", - start: 0}]); - }); - it('should tokenize quoted identifier with unicode escape', function() { - assert.deepEqual(tokenize('"\\u2713"'), - [{type: "QuotedIdentifier", - value: "✓", - start: 0}]); - }); - it('should tokenize literal lists', function() { - assert.deepEqual(tokenize("`[0, 1]`"), - [{type: "Literal", - value: [0, 1], - start: 0}]); - }); - it('should tokenize literal dict', function() { - assert.deepEqual(tokenize("`{\"foo\": \"bar\"}`"), - [{type: "Literal", - value: {"foo": "bar"}, - start: 0}]); - }); - it('should tokenize literal strings', function() { - assert.deepEqual(tokenize("`\"foo\"`"), - [{type: "Literal", - value: "foo", - start: 0}]); - }); - it('should tokenize json literals', function() { - assert.deepEqual(tokenize("`true`"), - [{type: "Literal", - value: true, - start: 0}]); - }); - it('should not requiring surrounding quotes for strings', function() { - assert.deepEqual(tokenize("`foo`"), - [{type: "Literal", - value: "foo", - start: 0}]); - }); - it('should not requiring surrounding quotes for numbers', function() { - assert.deepEqual(tokenize("`20`"), - [{type: "Literal", - value: 20, - start: 0}]); - }); - it('should tokenize literal lists with chars afterwards', function() { - assert.deepEqual( - tokenize("`[0, 1]`[0]"), [ - {type: "Literal", value: [0, 1], start: 0}, - {type: "Lbracket", value: "[", start: 8}, - {type: "Number", value: 0, start: 9}, - {type: "Rbracket", value: "]", start: 10} - ]); - }); - it('should tokenize two char tokens with shared prefix', function() { - assert.deepEqual( - tokenize("[?foo]"), - [{type: "Filter", value: "[?", start: 0}, - {type: "UnquotedIdentifier", value: "foo", start: 2}, - {type: "Rbracket", value: "]", start: 5}] - ); - }); - it('should tokenize flatten operator', function() { - assert.deepEqual( - tokenize("[]"), - [{type: "Flatten", value: "[]", start: 0}]); - }); - it('should tokenize comparators', function() { - assert.deepEqual(tokenize("<"), - [{type: "LT", - value: "<", - start: 0}]); - }); - it('should tokenize two char tokens without shared prefix', function() { - assert.deepEqual( - tokenize("=="), - [{type: "EQ", value: "==", start: 0}] - ); - }); - it('should tokenize not equals', function() { - assert.deepEqual( - tokenize("!="), - [{type: "NE", value: "!=", start: 0}] - ); - }); - it('should tokenize the OR token', function() { - assert.deepEqual( - tokenize("a||b"), - [ - {type: "UnquotedIdentifier", value: "a", start: 0}, - {type: "Or", value: "||", start: 1}, - {type: "UnquotedIdentifier", value: "b", start: 3} - ] - ); - }); - it('should tokenize function calls', function() { - assert.deepEqual( - tokenize("abs(@)"), - [ - {type: "UnquotedIdentifier", value: "abs", start: 0}, - {type: "Lparen", value: "(", start: 3}, - {type: "Current", value: "@", start: 4}, - {type: "Rparen", value: ")", start: 5} - ] - ); - }); -}); - - -describe('parsing', function() { - it('should parse field node', function() { - assert.deepEqual(compile('foo'), - {type: 'Field', name: 'foo'}); - }); -}); - -describe('strictDeepEqual', function() { - it('should compare scalars', function() { - assert.strictEqual(strictDeepEqual('a', 'a'), true); - }); - it('should be false for different types', function() { - assert.strictEqual(strictDeepEqual('a', 2), false); - }); - it('should be false for arrays of different lengths', function() { - assert.strictEqual(strictDeepEqual([0, 1], [1, 2, 3]), false); - }); - it('should be true for identical arrays', function() { - assert.strictEqual(strictDeepEqual([0, 1], [0, 1]), true); - }); - it('should be true for nested arrays', function() { - assert.strictEqual( - strictDeepEqual([[0, 1], [2, 3]], [[0, 1], [2, 3]]), true); - }); - it('should be true for nested arrays of strings', function() { - assert.strictEqual( - strictDeepEqual([["a", "b"], ["c", "d"]], - [["a", "b"], ["c", "d"]]), true); - }); - it('should be false for different arrays of the same length', function() { - assert.strictEqual(strictDeepEqual([0, 1], [1, 2]), false); - }); - it('should handle object literals', function() { - assert.strictEqual(strictDeepEqual({a: 1, b: 2}, {a: 1, b: 2}), true); - }); - it('should handle keys in first not in second', function() { - assert.strictEqual(strictDeepEqual({a: 1, b: 2}, {a: 1}), false); - }); - it('should handle keys in second not in first', function() { - assert.strictEqual(strictDeepEqual({a: 1}, {a: 1, b: 2}), false); - }); - it('should handle nested objects', function() { - assert.strictEqual( - strictDeepEqual({a: {b: [1, 2]}}, - {a: {b: [1, 2]}}), true); - }); - it('should handle nested objects that are not equal', function() { - assert.strictEqual( - strictDeepEqual({a: {b: [1, 2]}}, - {a: {b: [1, 4]}}), false); - }); -}); diff --git a/src/node_modules/lodash/LICENSE b/src/node_modules/lodash/LICENSE deleted file mode 100644 index c6f2f61..0000000 --- a/src/node_modules/lodash/LICENSE +++ /dev/null @@ -1,47 +0,0 @@ -Copyright JS Foundation and other contributors - -Based on Underscore.js, copyright Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/lodash/lodash - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -Copyright and related rights for sample code are waived via CC0. Sample -code is defined as all source code displayed within the prose of the -documentation. - -CC0: http://creativecommons.org/publicdomain/zero/1.0/ - -==== - -Files located in the node_modules and vendor directories are externally -maintained libraries used by this software which have their own -licenses; we recommend you read them, as their terms may differ from the -terms above. diff --git a/src/node_modules/lodash/README.md b/src/node_modules/lodash/README.md deleted file mode 100644 index acdd128..0000000 --- a/src/node_modules/lodash/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# lodash v4.17.4 - -The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules. - -## Installation - -Using npm: -```shell -$ npm i -g npm -$ npm i --save lodash -``` - -In Node.js: -```js -// Load the full build. -var _ = require('lodash'); -// Load the core build. -var _ = require('lodash/core'); -// Load the FP build for immutable auto-curried iteratee-first data-last methods. -var fp = require('lodash/fp'); - -// Load method categories. -var array = require('lodash/array'); -var object = require('lodash/fp/object'); - -// Cherry-pick methods for smaller browserify/rollup/webpack bundles. -var at = require('lodash/at'); -var curryN = require('lodash/fp/curryN'); -``` - -See the [package source](https://github.com/lodash/lodash/tree/4.17.4-npm) for more details. - -**Note:**
-Install [n_](https://www.npmjs.com/package/n_) for Lodash use in the Node.js < 6 REPL. - -## Support - -Tested in Chrome 54-55, Firefox 49-50, IE 11, Edge 14, Safari 9-10, Node.js 6-7, & PhantomJS 2.1.1.
-Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available. diff --git a/src/node_modules/lodash/_DataView.js b/src/node_modules/lodash/_DataView.js deleted file mode 100644 index ac2d57c..0000000 --- a/src/node_modules/lodash/_DataView.js +++ /dev/null @@ -1,7 +0,0 @@ -var getNative = require('./_getNative'), - root = require('./_root'); - -/* Built-in method references that are verified to be native. */ -var DataView = getNative(root, 'DataView'); - -module.exports = DataView; diff --git a/src/node_modules/lodash/_Hash.js b/src/node_modules/lodash/_Hash.js deleted file mode 100644 index b504fe3..0000000 --- a/src/node_modules/lodash/_Hash.js +++ /dev/null @@ -1,32 +0,0 @@ -var hashClear = require('./_hashClear'), - hashDelete = require('./_hashDelete'), - hashGet = require('./_hashGet'), - hashHas = require('./_hashHas'), - hashSet = require('./_hashSet'); - -/** - * Creates a hash object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function Hash(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} - -// Add methods to `Hash`. -Hash.prototype.clear = hashClear; -Hash.prototype['delete'] = hashDelete; -Hash.prototype.get = hashGet; -Hash.prototype.has = hashHas; -Hash.prototype.set = hashSet; - -module.exports = Hash; diff --git a/src/node_modules/lodash/_LazyWrapper.js b/src/node_modules/lodash/_LazyWrapper.js deleted file mode 100644 index 81786c7..0000000 --- a/src/node_modules/lodash/_LazyWrapper.js +++ /dev/null @@ -1,28 +0,0 @@ -var baseCreate = require('./_baseCreate'), - baseLodash = require('./_baseLodash'); - -/** Used as references for the maximum length and index of an array. */ -var MAX_ARRAY_LENGTH = 4294967295; - -/** - * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. - * - * @private - * @constructor - * @param {*} value The value to wrap. - */ -function LazyWrapper(value) { - this.__wrapped__ = value; - this.__actions__ = []; - this.__dir__ = 1; - this.__filtered__ = false; - this.__iteratees__ = []; - this.__takeCount__ = MAX_ARRAY_LENGTH; - this.__views__ = []; -} - -// Ensure `LazyWrapper` is an instance of `baseLodash`. -LazyWrapper.prototype = baseCreate(baseLodash.prototype); -LazyWrapper.prototype.constructor = LazyWrapper; - -module.exports = LazyWrapper; diff --git a/src/node_modules/lodash/_ListCache.js b/src/node_modules/lodash/_ListCache.js deleted file mode 100644 index 26895c3..0000000 --- a/src/node_modules/lodash/_ListCache.js +++ /dev/null @@ -1,32 +0,0 @@ -var listCacheClear = require('./_listCacheClear'), - listCacheDelete = require('./_listCacheDelete'), - listCacheGet = require('./_listCacheGet'), - listCacheHas = require('./_listCacheHas'), - listCacheSet = require('./_listCacheSet'); - -/** - * Creates an list cache object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function ListCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} - -// Add methods to `ListCache`. -ListCache.prototype.clear = listCacheClear; -ListCache.prototype['delete'] = listCacheDelete; -ListCache.prototype.get = listCacheGet; -ListCache.prototype.has = listCacheHas; -ListCache.prototype.set = listCacheSet; - -module.exports = ListCache; diff --git a/src/node_modules/lodash/_LodashWrapper.js b/src/node_modules/lodash/_LodashWrapper.js deleted file mode 100644 index c1e4d9d..0000000 --- a/src/node_modules/lodash/_LodashWrapper.js +++ /dev/null @@ -1,22 +0,0 @@ -var baseCreate = require('./_baseCreate'), - baseLodash = require('./_baseLodash'); - -/** - * The base constructor for creating `lodash` wrapper objects. - * - * @private - * @param {*} value The value to wrap. - * @param {boolean} [chainAll] Enable explicit method chain sequences. - */ -function LodashWrapper(value, chainAll) { - this.__wrapped__ = value; - this.__actions__ = []; - this.__chain__ = !!chainAll; - this.__index__ = 0; - this.__values__ = undefined; -} - -LodashWrapper.prototype = baseCreate(baseLodash.prototype); -LodashWrapper.prototype.constructor = LodashWrapper; - -module.exports = LodashWrapper; diff --git a/src/node_modules/lodash/_Map.js b/src/node_modules/lodash/_Map.js deleted file mode 100644 index b73f29a..0000000 --- a/src/node_modules/lodash/_Map.js +++ /dev/null @@ -1,7 +0,0 @@ -var getNative = require('./_getNative'), - root = require('./_root'); - -/* Built-in method references that are verified to be native. */ -var Map = getNative(root, 'Map'); - -module.exports = Map; diff --git a/src/node_modules/lodash/_MapCache.js b/src/node_modules/lodash/_MapCache.js deleted file mode 100644 index 4a4eea7..0000000 --- a/src/node_modules/lodash/_MapCache.js +++ /dev/null @@ -1,32 +0,0 @@ -var mapCacheClear = require('./_mapCacheClear'), - mapCacheDelete = require('./_mapCacheDelete'), - mapCacheGet = require('./_mapCacheGet'), - mapCacheHas = require('./_mapCacheHas'), - mapCacheSet = require('./_mapCacheSet'); - -/** - * Creates a map cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function MapCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} - -// Add methods to `MapCache`. -MapCache.prototype.clear = mapCacheClear; -MapCache.prototype['delete'] = mapCacheDelete; -MapCache.prototype.get = mapCacheGet; -MapCache.prototype.has = mapCacheHas; -MapCache.prototype.set = mapCacheSet; - -module.exports = MapCache; diff --git a/src/node_modules/lodash/_Promise.js b/src/node_modules/lodash/_Promise.js deleted file mode 100644 index 247b9e1..0000000 --- a/src/node_modules/lodash/_Promise.js +++ /dev/null @@ -1,7 +0,0 @@ -var getNative = require('./_getNative'), - root = require('./_root'); - -/* Built-in method references that are verified to be native. */ -var Promise = getNative(root, 'Promise'); - -module.exports = Promise; diff --git a/src/node_modules/lodash/_Set.js b/src/node_modules/lodash/_Set.js deleted file mode 100644 index b3c8dcb..0000000 --- a/src/node_modules/lodash/_Set.js +++ /dev/null @@ -1,7 +0,0 @@ -var getNative = require('./_getNative'), - root = require('./_root'); - -/* Built-in method references that are verified to be native. */ -var Set = getNative(root, 'Set'); - -module.exports = Set; diff --git a/src/node_modules/lodash/_SetCache.js b/src/node_modules/lodash/_SetCache.js deleted file mode 100644 index 6468b06..0000000 --- a/src/node_modules/lodash/_SetCache.js +++ /dev/null @@ -1,27 +0,0 @@ -var MapCache = require('./_MapCache'), - setCacheAdd = require('./_setCacheAdd'), - setCacheHas = require('./_setCacheHas'); - -/** - * - * Creates an array cache object to store unique values. - * - * @private - * @constructor - * @param {Array} [values] The values to cache. - */ -function SetCache(values) { - var index = -1, - length = values == null ? 0 : values.length; - - this.__data__ = new MapCache; - while (++index < length) { - this.add(values[index]); - } -} - -// Add methods to `SetCache`. -SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; -SetCache.prototype.has = setCacheHas; - -module.exports = SetCache; diff --git a/src/node_modules/lodash/_Stack.js b/src/node_modules/lodash/_Stack.js deleted file mode 100644 index 80b2cf1..0000000 --- a/src/node_modules/lodash/_Stack.js +++ /dev/null @@ -1,27 +0,0 @@ -var ListCache = require('./_ListCache'), - stackClear = require('./_stackClear'), - stackDelete = require('./_stackDelete'), - stackGet = require('./_stackGet'), - stackHas = require('./_stackHas'), - stackSet = require('./_stackSet'); - -/** - * Creates a stack cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function Stack(entries) { - var data = this.__data__ = new ListCache(entries); - this.size = data.size; -} - -// Add methods to `Stack`. -Stack.prototype.clear = stackClear; -Stack.prototype['delete'] = stackDelete; -Stack.prototype.get = stackGet; -Stack.prototype.has = stackHas; -Stack.prototype.set = stackSet; - -module.exports = Stack; diff --git a/src/node_modules/lodash/_Symbol.js b/src/node_modules/lodash/_Symbol.js deleted file mode 100644 index a013f7c..0000000 --- a/src/node_modules/lodash/_Symbol.js +++ /dev/null @@ -1,6 +0,0 @@ -var root = require('./_root'); - -/** Built-in value references. */ -var Symbol = root.Symbol; - -module.exports = Symbol; diff --git a/src/node_modules/lodash/_Uint8Array.js b/src/node_modules/lodash/_Uint8Array.js deleted file mode 100644 index 2fb30e1..0000000 --- a/src/node_modules/lodash/_Uint8Array.js +++ /dev/null @@ -1,6 +0,0 @@ -var root = require('./_root'); - -/** Built-in value references. */ -var Uint8Array = root.Uint8Array; - -module.exports = Uint8Array; diff --git a/src/node_modules/lodash/_WeakMap.js b/src/node_modules/lodash/_WeakMap.js deleted file mode 100644 index 567f86c..0000000 --- a/src/node_modules/lodash/_WeakMap.js +++ /dev/null @@ -1,7 +0,0 @@ -var getNative = require('./_getNative'), - root = require('./_root'); - -/* Built-in method references that are verified to be native. */ -var WeakMap = getNative(root, 'WeakMap'); - -module.exports = WeakMap; diff --git a/src/node_modules/lodash/_addMapEntry.js b/src/node_modules/lodash/_addMapEntry.js deleted file mode 100644 index 5a69212..0000000 --- a/src/node_modules/lodash/_addMapEntry.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Adds the key-value `pair` to `map`. - * - * @private - * @param {Object} map The map to modify. - * @param {Array} pair The key-value pair to add. - * @returns {Object} Returns `map`. - */ -function addMapEntry(map, pair) { - // Don't return `map.set` because it's not chainable in IE 11. - map.set(pair[0], pair[1]); - return map; -} - -module.exports = addMapEntry; diff --git a/src/node_modules/lodash/_addSetEntry.js b/src/node_modules/lodash/_addSetEntry.js deleted file mode 100644 index 1a07b70..0000000 --- a/src/node_modules/lodash/_addSetEntry.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Adds `value` to `set`. - * - * @private - * @param {Object} set The set to modify. - * @param {*} value The value to add. - * @returns {Object} Returns `set`. - */ -function addSetEntry(set, value) { - // Don't return `set.add` because it's not chainable in IE 11. - set.add(value); - return set; -} - -module.exports = addSetEntry; diff --git a/src/node_modules/lodash/_apply.js b/src/node_modules/lodash/_apply.js deleted file mode 100644 index 36436dd..0000000 --- a/src/node_modules/lodash/_apply.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * A faster alternative to `Function#apply`, this function invokes `func` - * with the `this` binding of `thisArg` and the arguments of `args`. - * - * @private - * @param {Function} func The function to invoke. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} args The arguments to invoke `func` with. - * @returns {*} Returns the result of `func`. - */ -function apply(func, thisArg, args) { - switch (args.length) { - case 0: return func.call(thisArg); - case 1: return func.call(thisArg, args[0]); - case 2: return func.call(thisArg, args[0], args[1]); - case 3: return func.call(thisArg, args[0], args[1], args[2]); - } - return func.apply(thisArg, args); -} - -module.exports = apply; diff --git a/src/node_modules/lodash/_arrayAggregator.js b/src/node_modules/lodash/_arrayAggregator.js deleted file mode 100644 index d96c3ca..0000000 --- a/src/node_modules/lodash/_arrayAggregator.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * A specialized version of `baseAggregator` for arrays. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform keys. - * @param {Object} accumulator The initial aggregated object. - * @returns {Function} Returns `accumulator`. - */ -function arrayAggregator(array, setter, iteratee, accumulator) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - var value = array[index]; - setter(accumulator, value, iteratee(value), array); - } - return accumulator; -} - -module.exports = arrayAggregator; diff --git a/src/node_modules/lodash/_arrayEach.js b/src/node_modules/lodash/_arrayEach.js deleted file mode 100644 index 2c5f579..0000000 --- a/src/node_modules/lodash/_arrayEach.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * A specialized version of `_.forEach` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns `array`. - */ -function arrayEach(array, iteratee) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (iteratee(array[index], index, array) === false) { - break; - } - } - return array; -} - -module.exports = arrayEach; diff --git a/src/node_modules/lodash/_arrayEachRight.js b/src/node_modules/lodash/_arrayEachRight.js deleted file mode 100644 index 976ca5c..0000000 --- a/src/node_modules/lodash/_arrayEachRight.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * A specialized version of `_.forEachRight` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns `array`. - */ -function arrayEachRight(array, iteratee) { - var length = array == null ? 0 : array.length; - - while (length--) { - if (iteratee(array[length], length, array) === false) { - break; - } - } - return array; -} - -module.exports = arrayEachRight; diff --git a/src/node_modules/lodash/_arrayEvery.js b/src/node_modules/lodash/_arrayEvery.js deleted file mode 100644 index e26a918..0000000 --- a/src/node_modules/lodash/_arrayEvery.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * A specialized version of `_.every` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - */ -function arrayEvery(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (!predicate(array[index], index, array)) { - return false; - } - } - return true; -} - -module.exports = arrayEvery; diff --git a/src/node_modules/lodash/_arrayFilter.js b/src/node_modules/lodash/_arrayFilter.js deleted file mode 100644 index 75ea254..0000000 --- a/src/node_modules/lodash/_arrayFilter.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * A specialized version of `_.filter` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ -function arrayFilter(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result[resIndex++] = value; - } - } - return result; -} - -module.exports = arrayFilter; diff --git a/src/node_modules/lodash/_arrayIncludes.js b/src/node_modules/lodash/_arrayIncludes.js deleted file mode 100644 index 3737a6d..0000000 --- a/src/node_modules/lodash/_arrayIncludes.js +++ /dev/null @@ -1,17 +0,0 @@ -var baseIndexOf = require('./_baseIndexOf'); - -/** - * A specialized version of `_.includes` for arrays without support for - * specifying an index to search from. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ -function arrayIncludes(array, value) { - var length = array == null ? 0 : array.length; - return !!length && baseIndexOf(array, value, 0) > -1; -} - -module.exports = arrayIncludes; diff --git a/src/node_modules/lodash/_arrayIncludesWith.js b/src/node_modules/lodash/_arrayIncludesWith.js deleted file mode 100644 index 235fd97..0000000 --- a/src/node_modules/lodash/_arrayIncludesWith.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This function is like `arrayIncludes` except that it accepts a comparator. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @param {Function} comparator The comparator invoked per element. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ -function arrayIncludesWith(array, value, comparator) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (comparator(value, array[index])) { - return true; - } - } - return false; -} - -module.exports = arrayIncludesWith; diff --git a/src/node_modules/lodash/_arrayLikeKeys.js b/src/node_modules/lodash/_arrayLikeKeys.js deleted file mode 100644 index b2ec9ce..0000000 --- a/src/node_modules/lodash/_arrayLikeKeys.js +++ /dev/null @@ -1,49 +0,0 @@ -var baseTimes = require('./_baseTimes'), - isArguments = require('./isArguments'), - isArray = require('./isArray'), - isBuffer = require('./isBuffer'), - isIndex = require('./_isIndex'), - isTypedArray = require('./isTypedArray'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Creates an array of the enumerable property names of the array-like `value`. - * - * @private - * @param {*} value The value to query. - * @param {boolean} inherited Specify returning inherited property names. - * @returns {Array} Returns the array of property names. - */ -function arrayLikeKeys(value, inherited) { - var isArr = isArray(value), - isArg = !isArr && isArguments(value), - isBuff = !isArr && !isArg && isBuffer(value), - isType = !isArr && !isArg && !isBuff && isTypedArray(value), - skipIndexes = isArr || isArg || isBuff || isType, - result = skipIndexes ? baseTimes(value.length, String) : [], - length = result.length; - - for (var key in value) { - if ((inherited || hasOwnProperty.call(value, key)) && - !(skipIndexes && ( - // Safari 9 has enumerable `arguments.length` in strict mode. - key == 'length' || - // Node.js 0.10 has enumerable non-index properties on buffers. - (isBuff && (key == 'offset' || key == 'parent')) || - // PhantomJS 2 has enumerable non-index properties on typed arrays. - (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || - // Skip index properties. - isIndex(key, length) - ))) { - result.push(key); - } - } - return result; -} - -module.exports = arrayLikeKeys; diff --git a/src/node_modules/lodash/_arrayMap.js b/src/node_modules/lodash/_arrayMap.js deleted file mode 100644 index 22b2246..0000000 --- a/src/node_modules/lodash/_arrayMap.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * A specialized version of `_.map` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ -function arrayMap(array, iteratee) { - var index = -1, - length = array == null ? 0 : array.length, - result = Array(length); - - while (++index < length) { - result[index] = iteratee(array[index], index, array); - } - return result; -} - -module.exports = arrayMap; diff --git a/src/node_modules/lodash/_arrayPush.js b/src/node_modules/lodash/_arrayPush.js deleted file mode 100644 index 7d742b3..0000000 --- a/src/node_modules/lodash/_arrayPush.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Appends the elements of `values` to `array`. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to append. - * @returns {Array} Returns `array`. - */ -function arrayPush(array, values) { - var index = -1, - length = values.length, - offset = array.length; - - while (++index < length) { - array[offset + index] = values[index]; - } - return array; -} - -module.exports = arrayPush; diff --git a/src/node_modules/lodash/_arrayReduce.js b/src/node_modules/lodash/_arrayReduce.js deleted file mode 100644 index de8b79b..0000000 --- a/src/node_modules/lodash/_arrayReduce.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * A specialized version of `_.reduce` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {boolean} [initAccum] Specify using the first element of `array` as - * the initial value. - * @returns {*} Returns the accumulated value. - */ -function arrayReduce(array, iteratee, accumulator, initAccum) { - var index = -1, - length = array == null ? 0 : array.length; - - if (initAccum && length) { - accumulator = array[++index]; - } - while (++index < length) { - accumulator = iteratee(accumulator, array[index], index, array); - } - return accumulator; -} - -module.exports = arrayReduce; diff --git a/src/node_modules/lodash/_arrayReduceRight.js b/src/node_modules/lodash/_arrayReduceRight.js deleted file mode 100644 index 22d8976..0000000 --- a/src/node_modules/lodash/_arrayReduceRight.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * A specialized version of `_.reduceRight` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {boolean} [initAccum] Specify using the last element of `array` as - * the initial value. - * @returns {*} Returns the accumulated value. - */ -function arrayReduceRight(array, iteratee, accumulator, initAccum) { - var length = array == null ? 0 : array.length; - if (initAccum && length) { - accumulator = array[--length]; - } - while (length--) { - accumulator = iteratee(accumulator, array[length], length, array); - } - return accumulator; -} - -module.exports = arrayReduceRight; diff --git a/src/node_modules/lodash/_arraySample.js b/src/node_modules/lodash/_arraySample.js deleted file mode 100644 index fcab010..0000000 --- a/src/node_modules/lodash/_arraySample.js +++ /dev/null @@ -1,15 +0,0 @@ -var baseRandom = require('./_baseRandom'); - -/** - * A specialized version of `_.sample` for arrays. - * - * @private - * @param {Array} array The array to sample. - * @returns {*} Returns the random element. - */ -function arraySample(array) { - var length = array.length; - return length ? array[baseRandom(0, length - 1)] : undefined; -} - -module.exports = arraySample; diff --git a/src/node_modules/lodash/_arraySampleSize.js b/src/node_modules/lodash/_arraySampleSize.js deleted file mode 100644 index 8c7e364..0000000 --- a/src/node_modules/lodash/_arraySampleSize.js +++ /dev/null @@ -1,17 +0,0 @@ -var baseClamp = require('./_baseClamp'), - copyArray = require('./_copyArray'), - shuffleSelf = require('./_shuffleSelf'); - -/** - * A specialized version of `_.sampleSize` for arrays. - * - * @private - * @param {Array} array The array to sample. - * @param {number} n The number of elements to sample. - * @returns {Array} Returns the random elements. - */ -function arraySampleSize(array, n) { - return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length)); -} - -module.exports = arraySampleSize; diff --git a/src/node_modules/lodash/_arrayShuffle.js b/src/node_modules/lodash/_arrayShuffle.js deleted file mode 100644 index 46313a3..0000000 --- a/src/node_modules/lodash/_arrayShuffle.js +++ /dev/null @@ -1,15 +0,0 @@ -var copyArray = require('./_copyArray'), - shuffleSelf = require('./_shuffleSelf'); - -/** - * A specialized version of `_.shuffle` for arrays. - * - * @private - * @param {Array} array The array to shuffle. - * @returns {Array} Returns the new shuffled array. - */ -function arrayShuffle(array) { - return shuffleSelf(copyArray(array)); -} - -module.exports = arrayShuffle; diff --git a/src/node_modules/lodash/_arraySome.js b/src/node_modules/lodash/_arraySome.js deleted file mode 100644 index 6fd02fd..0000000 --- a/src/node_modules/lodash/_arraySome.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * A specialized version of `_.some` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ -function arraySome(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (predicate(array[index], index, array)) { - return true; - } - } - return false; -} - -module.exports = arraySome; diff --git a/src/node_modules/lodash/_asciiSize.js b/src/node_modules/lodash/_asciiSize.js deleted file mode 100644 index 11d29c3..0000000 --- a/src/node_modules/lodash/_asciiSize.js +++ /dev/null @@ -1,12 +0,0 @@ -var baseProperty = require('./_baseProperty'); - -/** - * Gets the size of an ASCII `string`. - * - * @private - * @param {string} string The string inspect. - * @returns {number} Returns the string size. - */ -var asciiSize = baseProperty('length'); - -module.exports = asciiSize; diff --git a/src/node_modules/lodash/_asciiToArray.js b/src/node_modules/lodash/_asciiToArray.js deleted file mode 100644 index 8e3dd5b..0000000 --- a/src/node_modules/lodash/_asciiToArray.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Converts an ASCII `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ -function asciiToArray(string) { - return string.split(''); -} - -module.exports = asciiToArray; diff --git a/src/node_modules/lodash/_asciiWords.js b/src/node_modules/lodash/_asciiWords.js deleted file mode 100644 index d765f0f..0000000 --- a/src/node_modules/lodash/_asciiWords.js +++ /dev/null @@ -1,15 +0,0 @@ -/** Used to match words composed of alphanumeric characters. */ -var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; - -/** - * Splits an ASCII `string` into an array of its words. - * - * @private - * @param {string} The string to inspect. - * @returns {Array} Returns the words of `string`. - */ -function asciiWords(string) { - return string.match(reAsciiWord) || []; -} - -module.exports = asciiWords; diff --git a/src/node_modules/lodash/_assignMergeValue.js b/src/node_modules/lodash/_assignMergeValue.js deleted file mode 100644 index cb1185e..0000000 --- a/src/node_modules/lodash/_assignMergeValue.js +++ /dev/null @@ -1,20 +0,0 @@ -var baseAssignValue = require('./_baseAssignValue'), - eq = require('./eq'); - -/** - * This function is like `assignValue` except that it doesn't assign - * `undefined` values. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ -function assignMergeValue(object, key, value) { - if ((value !== undefined && !eq(object[key], value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } -} - -module.exports = assignMergeValue; diff --git a/src/node_modules/lodash/_assignValue.js b/src/node_modules/lodash/_assignValue.js deleted file mode 100644 index 4083957..0000000 --- a/src/node_modules/lodash/_assignValue.js +++ /dev/null @@ -1,28 +0,0 @@ -var baseAssignValue = require('./_baseAssignValue'), - eq = require('./eq'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Assigns `value` to `key` of `object` if the existing value is not equivalent - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ -function assignValue(object, key, value) { - var objValue = object[key]; - if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } -} - -module.exports = assignValue; diff --git a/src/node_modules/lodash/_assocIndexOf.js b/src/node_modules/lodash/_assocIndexOf.js deleted file mode 100644 index 5b77a2b..0000000 --- a/src/node_modules/lodash/_assocIndexOf.js +++ /dev/null @@ -1,21 +0,0 @@ -var eq = require('./eq'); - -/** - * Gets the index at which the `key` is found in `array` of key-value pairs. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} key The key to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function assocIndexOf(array, key) { - var length = array.length; - while (length--) { - if (eq(array[length][0], key)) { - return length; - } - } - return -1; -} - -module.exports = assocIndexOf; diff --git a/src/node_modules/lodash/_baseAggregator.js b/src/node_modules/lodash/_baseAggregator.js deleted file mode 100644 index 4bc9e91..0000000 --- a/src/node_modules/lodash/_baseAggregator.js +++ /dev/null @@ -1,21 +0,0 @@ -var baseEach = require('./_baseEach'); - -/** - * Aggregates elements of `collection` on `accumulator` with keys transformed - * by `iteratee` and values set by `setter`. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform keys. - * @param {Object} accumulator The initial aggregated object. - * @returns {Function} Returns `accumulator`. - */ -function baseAggregator(collection, setter, iteratee, accumulator) { - baseEach(collection, function(value, key, collection) { - setter(accumulator, value, iteratee(value), collection); - }); - return accumulator; -} - -module.exports = baseAggregator; diff --git a/src/node_modules/lodash/_baseAssign.js b/src/node_modules/lodash/_baseAssign.js deleted file mode 100644 index e5c4a1a..0000000 --- a/src/node_modules/lodash/_baseAssign.js +++ /dev/null @@ -1,17 +0,0 @@ -var copyObject = require('./_copyObject'), - keys = require('./keys'); - -/** - * The base implementation of `_.assign` without support for multiple sources - * or `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @returns {Object} Returns `object`. - */ -function baseAssign(object, source) { - return object && copyObject(source, keys(source), object); -} - -module.exports = baseAssign; diff --git a/src/node_modules/lodash/_baseAssignIn.js b/src/node_modules/lodash/_baseAssignIn.js deleted file mode 100644 index 6624f90..0000000 --- a/src/node_modules/lodash/_baseAssignIn.js +++ /dev/null @@ -1,17 +0,0 @@ -var copyObject = require('./_copyObject'), - keysIn = require('./keysIn'); - -/** - * The base implementation of `_.assignIn` without support for multiple sources - * or `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @returns {Object} Returns `object`. - */ -function baseAssignIn(object, source) { - return object && copyObject(source, keysIn(source), object); -} - -module.exports = baseAssignIn; diff --git a/src/node_modules/lodash/_baseAssignValue.js b/src/node_modules/lodash/_baseAssignValue.js deleted file mode 100644 index d6f66ef..0000000 --- a/src/node_modules/lodash/_baseAssignValue.js +++ /dev/null @@ -1,25 +0,0 @@ -var defineProperty = require('./_defineProperty'); - -/** - * The base implementation of `assignValue` and `assignMergeValue` without - * value checks. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ -function baseAssignValue(object, key, value) { - if (key == '__proto__' && defineProperty) { - defineProperty(object, key, { - 'configurable': true, - 'enumerable': true, - 'value': value, - 'writable': true - }); - } else { - object[key] = value; - } -} - -module.exports = baseAssignValue; diff --git a/src/node_modules/lodash/_baseAt.js b/src/node_modules/lodash/_baseAt.js deleted file mode 100644 index 90e4237..0000000 --- a/src/node_modules/lodash/_baseAt.js +++ /dev/null @@ -1,23 +0,0 @@ -var get = require('./get'); - -/** - * The base implementation of `_.at` without support for individual paths. - * - * @private - * @param {Object} object The object to iterate over. - * @param {string[]} paths The property paths to pick. - * @returns {Array} Returns the picked elements. - */ -function baseAt(object, paths) { - var index = -1, - length = paths.length, - result = Array(length), - skip = object == null; - - while (++index < length) { - result[index] = skip ? undefined : get(object, paths[index]); - } - return result; -} - -module.exports = baseAt; diff --git a/src/node_modules/lodash/_baseClamp.js b/src/node_modules/lodash/_baseClamp.js deleted file mode 100644 index a1c5692..0000000 --- a/src/node_modules/lodash/_baseClamp.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * The base implementation of `_.clamp` which doesn't coerce arguments. - * - * @private - * @param {number} number The number to clamp. - * @param {number} [lower] The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the clamped number. - */ -function baseClamp(number, lower, upper) { - if (number === number) { - if (upper !== undefined) { - number = number <= upper ? number : upper; - } - if (lower !== undefined) { - number = number >= lower ? number : lower; - } - } - return number; -} - -module.exports = baseClamp; diff --git a/src/node_modules/lodash/_baseClone.js b/src/node_modules/lodash/_baseClone.js deleted file mode 100644 index 7c27a37..0000000 --- a/src/node_modules/lodash/_baseClone.js +++ /dev/null @@ -1,153 +0,0 @@ -var Stack = require('./_Stack'), - arrayEach = require('./_arrayEach'), - assignValue = require('./_assignValue'), - baseAssign = require('./_baseAssign'), - baseAssignIn = require('./_baseAssignIn'), - cloneBuffer = require('./_cloneBuffer'), - copyArray = require('./_copyArray'), - copySymbols = require('./_copySymbols'), - copySymbolsIn = require('./_copySymbolsIn'), - getAllKeys = require('./_getAllKeys'), - getAllKeysIn = require('./_getAllKeysIn'), - getTag = require('./_getTag'), - initCloneArray = require('./_initCloneArray'), - initCloneByTag = require('./_initCloneByTag'), - initCloneObject = require('./_initCloneObject'), - isArray = require('./isArray'), - isBuffer = require('./isBuffer'), - isObject = require('./isObject'), - keys = require('./keys'); - -/** Used to compose bitmasks for cloning. */ -var CLONE_DEEP_FLAG = 1, - CLONE_FLAT_FLAG = 2, - CLONE_SYMBOLS_FLAG = 4; - -/** `Object#toString` result references. */ -var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - mapTag = '[object Map]', - numberTag = '[object Number]', - objectTag = '[object Object]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - symbolTag = '[object Symbol]', - weakMapTag = '[object WeakMap]'; - -var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; - -/** Used to identify `toStringTag` values supported by `_.clone`. */ -var cloneableTags = {}; -cloneableTags[argsTag] = cloneableTags[arrayTag] = -cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = -cloneableTags[boolTag] = cloneableTags[dateTag] = -cloneableTags[float32Tag] = cloneableTags[float64Tag] = -cloneableTags[int8Tag] = cloneableTags[int16Tag] = -cloneableTags[int32Tag] = cloneableTags[mapTag] = -cloneableTags[numberTag] = cloneableTags[objectTag] = -cloneableTags[regexpTag] = cloneableTags[setTag] = -cloneableTags[stringTag] = cloneableTags[symbolTag] = -cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = -cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true; -cloneableTags[errorTag] = cloneableTags[funcTag] = -cloneableTags[weakMapTag] = false; - -/** - * The base implementation of `_.clone` and `_.cloneDeep` which tracks - * traversed objects. - * - * @private - * @param {*} value The value to clone. - * @param {boolean} bitmask The bitmask flags. - * 1 - Deep clone - * 2 - Flatten inherited properties - * 4 - Clone symbols - * @param {Function} [customizer] The function to customize cloning. - * @param {string} [key] The key of `value`. - * @param {Object} [object] The parent object of `value`. - * @param {Object} [stack] Tracks traversed objects and their clone counterparts. - * @returns {*} Returns the cloned value. - */ -function baseClone(value, bitmask, customizer, key, object, stack) { - var result, - isDeep = bitmask & CLONE_DEEP_FLAG, - isFlat = bitmask & CLONE_FLAT_FLAG, - isFull = bitmask & CLONE_SYMBOLS_FLAG; - - if (customizer) { - result = object ? customizer(value, key, object, stack) : customizer(value); - } - if (result !== undefined) { - return result; - } - if (!isObject(value)) { - return value; - } - var isArr = isArray(value); - if (isArr) { - result = initCloneArray(value); - if (!isDeep) { - return copyArray(value, result); - } - } else { - var tag = getTag(value), - isFunc = tag == funcTag || tag == genTag; - - if (isBuffer(value)) { - return cloneBuffer(value, isDeep); - } - if (tag == objectTag || tag == argsTag || (isFunc && !object)) { - result = (isFlat || isFunc) ? {} : initCloneObject(value); - if (!isDeep) { - return isFlat - ? copySymbolsIn(value, baseAssignIn(result, value)) - : copySymbols(value, baseAssign(result, value)); - } - } else { - if (!cloneableTags[tag]) { - return object ? value : {}; - } - result = initCloneByTag(value, tag, baseClone, isDeep); - } - } - // Check for circular references and return its corresponding clone. - stack || (stack = new Stack); - var stacked = stack.get(value); - if (stacked) { - return stacked; - } - stack.set(value, result); - - var keysFunc = isFull - ? (isFlat ? getAllKeysIn : getAllKeys) - : (isFlat ? keysIn : keys); - - var props = isArr ? undefined : keysFunc(value); - arrayEach(props || value, function(subValue, key) { - if (props) { - key = subValue; - subValue = value[key]; - } - // Recursively populate clone (susceptible to call stack limits). - assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack)); - }); - return result; -} - -module.exports = baseClone; diff --git a/src/node_modules/lodash/_baseConforms.js b/src/node_modules/lodash/_baseConforms.js deleted file mode 100644 index 947e20d..0000000 --- a/src/node_modules/lodash/_baseConforms.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseConformsTo = require('./_baseConformsTo'), - keys = require('./keys'); - -/** - * The base implementation of `_.conforms` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property predicates to conform to. - * @returns {Function} Returns the new spec function. - */ -function baseConforms(source) { - var props = keys(source); - return function(object) { - return baseConformsTo(object, source, props); - }; -} - -module.exports = baseConforms; diff --git a/src/node_modules/lodash/_baseConformsTo.js b/src/node_modules/lodash/_baseConformsTo.js deleted file mode 100644 index e449cb8..0000000 --- a/src/node_modules/lodash/_baseConformsTo.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * The base implementation of `_.conformsTo` which accepts `props` to check. - * - * @private - * @param {Object} object The object to inspect. - * @param {Object} source The object of property predicates to conform to. - * @returns {boolean} Returns `true` if `object` conforms, else `false`. - */ -function baseConformsTo(object, source, props) { - var length = props.length; - if (object == null) { - return !length; - } - object = Object(object); - while (length--) { - var key = props[length], - predicate = source[key], - value = object[key]; - - if ((value === undefined && !(key in object)) || !predicate(value)) { - return false; - } - } - return true; -} - -module.exports = baseConformsTo; diff --git a/src/node_modules/lodash/_baseCreate.js b/src/node_modules/lodash/_baseCreate.js deleted file mode 100644 index ffa6a52..0000000 --- a/src/node_modules/lodash/_baseCreate.js +++ /dev/null @@ -1,30 +0,0 @@ -var isObject = require('./isObject'); - -/** Built-in value references. */ -var objectCreate = Object.create; - -/** - * The base implementation of `_.create` without support for assigning - * properties to the created object. - * - * @private - * @param {Object} proto The object to inherit from. - * @returns {Object} Returns the new object. - */ -var baseCreate = (function() { - function object() {} - return function(proto) { - if (!isObject(proto)) { - return {}; - } - if (objectCreate) { - return objectCreate(proto); - } - object.prototype = proto; - var result = new object; - object.prototype = undefined; - return result; - }; -}()); - -module.exports = baseCreate; diff --git a/src/node_modules/lodash/_baseDelay.js b/src/node_modules/lodash/_baseDelay.js deleted file mode 100644 index 1486d69..0000000 --- a/src/node_modules/lodash/_baseDelay.js +++ /dev/null @@ -1,21 +0,0 @@ -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** - * The base implementation of `_.delay` and `_.defer` which accepts `args` - * to provide to `func`. - * - * @private - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {Array} args The arguments to provide to `func`. - * @returns {number|Object} Returns the timer id or timeout object. - */ -function baseDelay(func, wait, args) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return setTimeout(function() { func.apply(undefined, args); }, wait); -} - -module.exports = baseDelay; diff --git a/src/node_modules/lodash/_baseDifference.js b/src/node_modules/lodash/_baseDifference.js deleted file mode 100644 index 343ac19..0000000 --- a/src/node_modules/lodash/_baseDifference.js +++ /dev/null @@ -1,67 +0,0 @@ -var SetCache = require('./_SetCache'), - arrayIncludes = require('./_arrayIncludes'), - arrayIncludesWith = require('./_arrayIncludesWith'), - arrayMap = require('./_arrayMap'), - baseUnary = require('./_baseUnary'), - cacheHas = require('./_cacheHas'); - -/** Used as the size to enable large array optimizations. */ -var LARGE_ARRAY_SIZE = 200; - -/** - * The base implementation of methods like `_.difference` without support - * for excluding multiple arrays or iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Array} values The values to exclude. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - */ -function baseDifference(array, values, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - isCommon = true, - length = array.length, - result = [], - valuesLength = values.length; - - if (!length) { - return result; - } - if (iteratee) { - values = arrayMap(values, baseUnary(iteratee)); - } - if (comparator) { - includes = arrayIncludesWith; - isCommon = false; - } - else if (values.length >= LARGE_ARRAY_SIZE) { - includes = cacheHas; - isCommon = false; - values = new SetCache(values); - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee == null ? value : iteratee(value); - - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var valuesIndex = valuesLength; - while (valuesIndex--) { - if (values[valuesIndex] === computed) { - continue outer; - } - } - result.push(value); - } - else if (!includes(values, computed, comparator)) { - result.push(value); - } - } - return result; -} - -module.exports = baseDifference; diff --git a/src/node_modules/lodash/_baseEach.js b/src/node_modules/lodash/_baseEach.js deleted file mode 100644 index 512c067..0000000 --- a/src/node_modules/lodash/_baseEach.js +++ /dev/null @@ -1,14 +0,0 @@ -var baseForOwn = require('./_baseForOwn'), - createBaseEach = require('./_createBaseEach'); - -/** - * The base implementation of `_.forEach` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - */ -var baseEach = createBaseEach(baseForOwn); - -module.exports = baseEach; diff --git a/src/node_modules/lodash/_baseEachRight.js b/src/node_modules/lodash/_baseEachRight.js deleted file mode 100644 index 0a8feec..0000000 --- a/src/node_modules/lodash/_baseEachRight.js +++ /dev/null @@ -1,14 +0,0 @@ -var baseForOwnRight = require('./_baseForOwnRight'), - createBaseEach = require('./_createBaseEach'); - -/** - * The base implementation of `_.forEachRight` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - */ -var baseEachRight = createBaseEach(baseForOwnRight, true); - -module.exports = baseEachRight; diff --git a/src/node_modules/lodash/_baseEvery.js b/src/node_modules/lodash/_baseEvery.js deleted file mode 100644 index fa52f7b..0000000 --- a/src/node_modules/lodash/_baseEvery.js +++ /dev/null @@ -1,21 +0,0 @@ -var baseEach = require('./_baseEach'); - -/** - * The base implementation of `_.every` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false` - */ -function baseEvery(collection, predicate) { - var result = true; - baseEach(collection, function(value, index, collection) { - result = !!predicate(value, index, collection); - return result; - }); - return result; -} - -module.exports = baseEvery; diff --git a/src/node_modules/lodash/_baseExtremum.js b/src/node_modules/lodash/_baseExtremum.js deleted file mode 100644 index 9d6aa77..0000000 --- a/src/node_modules/lodash/_baseExtremum.js +++ /dev/null @@ -1,32 +0,0 @@ -var isSymbol = require('./isSymbol'); - -/** - * The base implementation of methods like `_.max` and `_.min` which accepts a - * `comparator` to determine the extremum value. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The iteratee invoked per iteration. - * @param {Function} comparator The comparator used to compare values. - * @returns {*} Returns the extremum value. - */ -function baseExtremum(array, iteratee, comparator) { - var index = -1, - length = array.length; - - while (++index < length) { - var value = array[index], - current = iteratee(value); - - if (current != null && (computed === undefined - ? (current === current && !isSymbol(current)) - : comparator(current, computed) - )) { - var computed = current, - result = value; - } - } - return result; -} - -module.exports = baseExtremum; diff --git a/src/node_modules/lodash/_baseFill.js b/src/node_modules/lodash/_baseFill.js deleted file mode 100644 index 46ef9c7..0000000 --- a/src/node_modules/lodash/_baseFill.js +++ /dev/null @@ -1,32 +0,0 @@ -var toInteger = require('./toInteger'), - toLength = require('./toLength'); - -/** - * The base implementation of `_.fill` without an iteratee call guard. - * - * @private - * @param {Array} array The array to fill. - * @param {*} value The value to fill `array` with. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns `array`. - */ -function baseFill(array, value, start, end) { - var length = array.length; - - start = toInteger(start); - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = (end === undefined || end > length) ? length : toInteger(end); - if (end < 0) { - end += length; - } - end = start > end ? 0 : toLength(end); - while (start < end) { - array[start++] = value; - } - return array; -} - -module.exports = baseFill; diff --git a/src/node_modules/lodash/_baseFilter.js b/src/node_modules/lodash/_baseFilter.js deleted file mode 100644 index 4678477..0000000 --- a/src/node_modules/lodash/_baseFilter.js +++ /dev/null @@ -1,21 +0,0 @@ -var baseEach = require('./_baseEach'); - -/** - * The base implementation of `_.filter` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ -function baseFilter(collection, predicate) { - var result = []; - baseEach(collection, function(value, index, collection) { - if (predicate(value, index, collection)) { - result.push(value); - } - }); - return result; -} - -module.exports = baseFilter; diff --git a/src/node_modules/lodash/_baseFindIndex.js b/src/node_modules/lodash/_baseFindIndex.js deleted file mode 100644 index e3f5d8a..0000000 --- a/src/node_modules/lodash/_baseFindIndex.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * The base implementation of `_.findIndex` and `_.findLastIndex` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {number} fromIndex The index to search from. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function baseFindIndex(array, predicate, fromIndex, fromRight) { - var length = array.length, - index = fromIndex + (fromRight ? 1 : -1); - - while ((fromRight ? index-- : ++index < length)) { - if (predicate(array[index], index, array)) { - return index; - } - } - return -1; -} - -module.exports = baseFindIndex; diff --git a/src/node_modules/lodash/_baseFindKey.js b/src/node_modules/lodash/_baseFindKey.js deleted file mode 100644 index 2e430f3..0000000 --- a/src/node_modules/lodash/_baseFindKey.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * The base implementation of methods like `_.findKey` and `_.findLastKey`, - * without support for iteratee shorthands, which iterates over `collection` - * using `eachFunc`. - * - * @private - * @param {Array|Object} collection The collection to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {Function} eachFunc The function to iterate over `collection`. - * @returns {*} Returns the found element or its key, else `undefined`. - */ -function baseFindKey(collection, predicate, eachFunc) { - var result; - eachFunc(collection, function(value, key, collection) { - if (predicate(value, key, collection)) { - result = key; - return false; - } - }); - return result; -} - -module.exports = baseFindKey; diff --git a/src/node_modules/lodash/_baseFlatten.js b/src/node_modules/lodash/_baseFlatten.js deleted file mode 100644 index 4b1e009..0000000 --- a/src/node_modules/lodash/_baseFlatten.js +++ /dev/null @@ -1,38 +0,0 @@ -var arrayPush = require('./_arrayPush'), - isFlattenable = require('./_isFlattenable'); - -/** - * The base implementation of `_.flatten` with support for restricting flattening. - * - * @private - * @param {Array} array The array to flatten. - * @param {number} depth The maximum recursion depth. - * @param {boolean} [predicate=isFlattenable] The function invoked per iteration. - * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks. - * @param {Array} [result=[]] The initial result value. - * @returns {Array} Returns the new flattened array. - */ -function baseFlatten(array, depth, predicate, isStrict, result) { - var index = -1, - length = array.length; - - predicate || (predicate = isFlattenable); - result || (result = []); - - while (++index < length) { - var value = array[index]; - if (depth > 0 && predicate(value)) { - if (depth > 1) { - // Recursively flatten arrays (susceptible to call stack limits). - baseFlatten(value, depth - 1, predicate, isStrict, result); - } else { - arrayPush(result, value); - } - } else if (!isStrict) { - result[result.length] = value; - } - } - return result; -} - -module.exports = baseFlatten; diff --git a/src/node_modules/lodash/_baseFor.js b/src/node_modules/lodash/_baseFor.js deleted file mode 100644 index d946590..0000000 --- a/src/node_modules/lodash/_baseFor.js +++ /dev/null @@ -1,16 +0,0 @@ -var createBaseFor = require('./_createBaseFor'); - -/** - * The base implementation of `baseForOwn` which iterates over `object` - * properties returned by `keysFunc` and invokes `iteratee` for each property. - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ -var baseFor = createBaseFor(); - -module.exports = baseFor; diff --git a/src/node_modules/lodash/_baseForOwn.js b/src/node_modules/lodash/_baseForOwn.js deleted file mode 100644 index 503d523..0000000 --- a/src/node_modules/lodash/_baseForOwn.js +++ /dev/null @@ -1,16 +0,0 @@ -var baseFor = require('./_baseFor'), - keys = require('./keys'); - -/** - * The base implementation of `_.forOwn` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ -function baseForOwn(object, iteratee) { - return object && baseFor(object, iteratee, keys); -} - -module.exports = baseForOwn; diff --git a/src/node_modules/lodash/_baseForOwnRight.js b/src/node_modules/lodash/_baseForOwnRight.js deleted file mode 100644 index a4b10e6..0000000 --- a/src/node_modules/lodash/_baseForOwnRight.js +++ /dev/null @@ -1,16 +0,0 @@ -var baseForRight = require('./_baseForRight'), - keys = require('./keys'); - -/** - * The base implementation of `_.forOwnRight` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ -function baseForOwnRight(object, iteratee) { - return object && baseForRight(object, iteratee, keys); -} - -module.exports = baseForOwnRight; diff --git a/src/node_modules/lodash/_baseForRight.js b/src/node_modules/lodash/_baseForRight.js deleted file mode 100644 index 32842cd..0000000 --- a/src/node_modules/lodash/_baseForRight.js +++ /dev/null @@ -1,15 +0,0 @@ -var createBaseFor = require('./_createBaseFor'); - -/** - * This function is like `baseFor` except that it iterates over properties - * in the opposite order. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ -var baseForRight = createBaseFor(true); - -module.exports = baseForRight; diff --git a/src/node_modules/lodash/_baseFunctions.js b/src/node_modules/lodash/_baseFunctions.js deleted file mode 100644 index d23bc9b..0000000 --- a/src/node_modules/lodash/_baseFunctions.js +++ /dev/null @@ -1,19 +0,0 @@ -var arrayFilter = require('./_arrayFilter'), - isFunction = require('./isFunction'); - -/** - * The base implementation of `_.functions` which creates an array of - * `object` function property names filtered from `props`. - * - * @private - * @param {Object} object The object to inspect. - * @param {Array} props The property names to filter. - * @returns {Array} Returns the function names. - */ -function baseFunctions(object, props) { - return arrayFilter(props, function(key) { - return isFunction(object[key]); - }); -} - -module.exports = baseFunctions; diff --git a/src/node_modules/lodash/_baseGet.js b/src/node_modules/lodash/_baseGet.js deleted file mode 100644 index a194913..0000000 --- a/src/node_modules/lodash/_baseGet.js +++ /dev/null @@ -1,24 +0,0 @@ -var castPath = require('./_castPath'), - toKey = require('./_toKey'); - -/** - * The base implementation of `_.get` without support for default values. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @returns {*} Returns the resolved value. - */ -function baseGet(object, path) { - path = castPath(path, object); - - var index = 0, - length = path.length; - - while (object != null && index < length) { - object = object[toKey(path[index++])]; - } - return (index && index == length) ? object : undefined; -} - -module.exports = baseGet; diff --git a/src/node_modules/lodash/_baseGetAllKeys.js b/src/node_modules/lodash/_baseGetAllKeys.js deleted file mode 100644 index 8ad204e..0000000 --- a/src/node_modules/lodash/_baseGetAllKeys.js +++ /dev/null @@ -1,20 +0,0 @@ -var arrayPush = require('./_arrayPush'), - isArray = require('./isArray'); - -/** - * The base implementation of `getAllKeys` and `getAllKeysIn` which uses - * `keysFunc` and `symbolsFunc` to get the enumerable property names and - * symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Function} keysFunc The function to get the keys of `object`. - * @param {Function} symbolsFunc The function to get the symbols of `object`. - * @returns {Array} Returns the array of property names and symbols. - */ -function baseGetAllKeys(object, keysFunc, symbolsFunc) { - var result = keysFunc(object); - return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); -} - -module.exports = baseGetAllKeys; diff --git a/src/node_modules/lodash/_baseGetTag.js b/src/node_modules/lodash/_baseGetTag.js deleted file mode 100644 index b927ccc..0000000 --- a/src/node_modules/lodash/_baseGetTag.js +++ /dev/null @@ -1,28 +0,0 @@ -var Symbol = require('./_Symbol'), - getRawTag = require('./_getRawTag'), - objectToString = require('./_objectToString'); - -/** `Object#toString` result references. */ -var nullTag = '[object Null]', - undefinedTag = '[object Undefined]'; - -/** Built-in value references. */ -var symToStringTag = Symbol ? Symbol.toStringTag : undefined; - -/** - * The base implementation of `getTag` without fallbacks for buggy environments. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ -function baseGetTag(value) { - if (value == null) { - return value === undefined ? undefinedTag : nullTag; - } - return (symToStringTag && symToStringTag in Object(value)) - ? getRawTag(value) - : objectToString(value); -} - -module.exports = baseGetTag; diff --git a/src/node_modules/lodash/_baseGt.js b/src/node_modules/lodash/_baseGt.js deleted file mode 100644 index 502d273..0000000 --- a/src/node_modules/lodash/_baseGt.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * The base implementation of `_.gt` which doesn't coerce arguments. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than `other`, - * else `false`. - */ -function baseGt(value, other) { - return value > other; -} - -module.exports = baseGt; diff --git a/src/node_modules/lodash/_baseHas.js b/src/node_modules/lodash/_baseHas.js deleted file mode 100644 index 1b73032..0000000 --- a/src/node_modules/lodash/_baseHas.js +++ /dev/null @@ -1,19 +0,0 @@ -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * The base implementation of `_.has` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ -function baseHas(object, key) { - return object != null && hasOwnProperty.call(object, key); -} - -module.exports = baseHas; diff --git a/src/node_modules/lodash/_baseHasIn.js b/src/node_modules/lodash/_baseHasIn.js deleted file mode 100644 index 2e0d042..0000000 --- a/src/node_modules/lodash/_baseHasIn.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * The base implementation of `_.hasIn` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ -function baseHasIn(object, key) { - return object != null && key in Object(object); -} - -module.exports = baseHasIn; diff --git a/src/node_modules/lodash/_baseInRange.js b/src/node_modules/lodash/_baseInRange.js deleted file mode 100644 index ec95666..0000000 --- a/src/node_modules/lodash/_baseInRange.js +++ /dev/null @@ -1,18 +0,0 @@ -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max, - nativeMin = Math.min; - -/** - * The base implementation of `_.inRange` which doesn't coerce arguments. - * - * @private - * @param {number} number The number to check. - * @param {number} start The start of the range. - * @param {number} end The end of the range. - * @returns {boolean} Returns `true` if `number` is in the range, else `false`. - */ -function baseInRange(number, start, end) { - return number >= nativeMin(start, end) && number < nativeMax(start, end); -} - -module.exports = baseInRange; diff --git a/src/node_modules/lodash/_baseIndexOf.js b/src/node_modules/lodash/_baseIndexOf.js deleted file mode 100644 index 167e706..0000000 --- a/src/node_modules/lodash/_baseIndexOf.js +++ /dev/null @@ -1,20 +0,0 @@ -var baseFindIndex = require('./_baseFindIndex'), - baseIsNaN = require('./_baseIsNaN'), - strictIndexOf = require('./_strictIndexOf'); - -/** - * The base implementation of `_.indexOf` without `fromIndex` bounds checks. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function baseIndexOf(array, value, fromIndex) { - return value === value - ? strictIndexOf(array, value, fromIndex) - : baseFindIndex(array, baseIsNaN, fromIndex); -} - -module.exports = baseIndexOf; diff --git a/src/node_modules/lodash/_baseIndexOfWith.js b/src/node_modules/lodash/_baseIndexOfWith.js deleted file mode 100644 index f815fe0..0000000 --- a/src/node_modules/lodash/_baseIndexOfWith.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * This function is like `baseIndexOf` except that it accepts a comparator. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @param {Function} comparator The comparator invoked per element. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function baseIndexOfWith(array, value, fromIndex, comparator) { - var index = fromIndex - 1, - length = array.length; - - while (++index < length) { - if (comparator(array[index], value)) { - return index; - } - } - return -1; -} - -module.exports = baseIndexOfWith; diff --git a/src/node_modules/lodash/_baseIntersection.js b/src/node_modules/lodash/_baseIntersection.js deleted file mode 100644 index c1d250c..0000000 --- a/src/node_modules/lodash/_baseIntersection.js +++ /dev/null @@ -1,74 +0,0 @@ -var SetCache = require('./_SetCache'), - arrayIncludes = require('./_arrayIncludes'), - arrayIncludesWith = require('./_arrayIncludesWith'), - arrayMap = require('./_arrayMap'), - baseUnary = require('./_baseUnary'), - cacheHas = require('./_cacheHas'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMin = Math.min; - -/** - * The base implementation of methods like `_.intersection`, without support - * for iteratee shorthands, that accepts an array of arrays to inspect. - * - * @private - * @param {Array} arrays The arrays to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of shared values. - */ -function baseIntersection(arrays, iteratee, comparator) { - var includes = comparator ? arrayIncludesWith : arrayIncludes, - length = arrays[0].length, - othLength = arrays.length, - othIndex = othLength, - caches = Array(othLength), - maxLength = Infinity, - result = []; - - while (othIndex--) { - var array = arrays[othIndex]; - if (othIndex && iteratee) { - array = arrayMap(array, baseUnary(iteratee)); - } - maxLength = nativeMin(array.length, maxLength); - caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120)) - ? new SetCache(othIndex && array) - : undefined; - } - array = arrays[0]; - - var index = -1, - seen = caches[0]; - - outer: - while (++index < length && result.length < maxLength) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - value = (comparator || value !== 0) ? value : 0; - if (!(seen - ? cacheHas(seen, computed) - : includes(result, computed, comparator) - )) { - othIndex = othLength; - while (--othIndex) { - var cache = caches[othIndex]; - if (!(cache - ? cacheHas(cache, computed) - : includes(arrays[othIndex], computed, comparator)) - ) { - continue outer; - } - } - if (seen) { - seen.push(computed); - } - result.push(value); - } - } - return result; -} - -module.exports = baseIntersection; diff --git a/src/node_modules/lodash/_baseInverter.js b/src/node_modules/lodash/_baseInverter.js deleted file mode 100644 index fbc337f..0000000 --- a/src/node_modules/lodash/_baseInverter.js +++ /dev/null @@ -1,21 +0,0 @@ -var baseForOwn = require('./_baseForOwn'); - -/** - * The base implementation of `_.invert` and `_.invertBy` which inverts - * `object` with values transformed by `iteratee` and set by `setter`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform values. - * @param {Object} accumulator The initial inverted object. - * @returns {Function} Returns `accumulator`. - */ -function baseInverter(object, setter, iteratee, accumulator) { - baseForOwn(object, function(value, key, object) { - setter(accumulator, iteratee(value), key, object); - }); - return accumulator; -} - -module.exports = baseInverter; diff --git a/src/node_modules/lodash/_baseInvoke.js b/src/node_modules/lodash/_baseInvoke.js deleted file mode 100644 index 49bcf3c..0000000 --- a/src/node_modules/lodash/_baseInvoke.js +++ /dev/null @@ -1,24 +0,0 @@ -var apply = require('./_apply'), - castPath = require('./_castPath'), - last = require('./last'), - parent = require('./_parent'), - toKey = require('./_toKey'); - -/** - * The base implementation of `_.invoke` without support for individual - * method arguments. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path of the method to invoke. - * @param {Array} args The arguments to invoke the method with. - * @returns {*} Returns the result of the invoked method. - */ -function baseInvoke(object, path, args) { - path = castPath(path, object); - object = parent(object, path); - var func = object == null ? object : object[toKey(last(path))]; - return func == null ? undefined : apply(func, object, args); -} - -module.exports = baseInvoke; diff --git a/src/node_modules/lodash/_baseIsArguments.js b/src/node_modules/lodash/_baseIsArguments.js deleted file mode 100644 index b3562cc..0000000 --- a/src/node_modules/lodash/_baseIsArguments.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var argsTag = '[object Arguments]'; - -/** - * The base implementation of `_.isArguments`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - */ -function baseIsArguments(value) { - return isObjectLike(value) && baseGetTag(value) == argsTag; -} - -module.exports = baseIsArguments; diff --git a/src/node_modules/lodash/_baseIsArrayBuffer.js b/src/node_modules/lodash/_baseIsArrayBuffer.js deleted file mode 100644 index a2c4f30..0000000 --- a/src/node_modules/lodash/_baseIsArrayBuffer.js +++ /dev/null @@ -1,17 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'); - -var arrayBufferTag = '[object ArrayBuffer]'; - -/** - * The base implementation of `_.isArrayBuffer` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. - */ -function baseIsArrayBuffer(value) { - return isObjectLike(value) && baseGetTag(value) == arrayBufferTag; -} - -module.exports = baseIsArrayBuffer; diff --git a/src/node_modules/lodash/_baseIsDate.js b/src/node_modules/lodash/_baseIsDate.js deleted file mode 100644 index ba67c78..0000000 --- a/src/node_modules/lodash/_baseIsDate.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var dateTag = '[object Date]'; - -/** - * The base implementation of `_.isDate` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a date object, else `false`. - */ -function baseIsDate(value) { - return isObjectLike(value) && baseGetTag(value) == dateTag; -} - -module.exports = baseIsDate; diff --git a/src/node_modules/lodash/_baseIsEqual.js b/src/node_modules/lodash/_baseIsEqual.js deleted file mode 100644 index 00a68a4..0000000 --- a/src/node_modules/lodash/_baseIsEqual.js +++ /dev/null @@ -1,28 +0,0 @@ -var baseIsEqualDeep = require('./_baseIsEqualDeep'), - isObjectLike = require('./isObjectLike'); - -/** - * The base implementation of `_.isEqual` which supports partial comparisons - * and tracks traversed objects. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {boolean} bitmask The bitmask flags. - * 1 - Unordered comparison - * 2 - Partial comparison - * @param {Function} [customizer] The function to customize comparisons. - * @param {Object} [stack] Tracks traversed `value` and `other` objects. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - */ -function baseIsEqual(value, other, bitmask, customizer, stack) { - if (value === other) { - return true; - } - if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { - return value !== value && other !== other; - } - return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); -} - -module.exports = baseIsEqual; diff --git a/src/node_modules/lodash/_baseIsEqualDeep.js b/src/node_modules/lodash/_baseIsEqualDeep.js deleted file mode 100644 index e3cfd6a..0000000 --- a/src/node_modules/lodash/_baseIsEqualDeep.js +++ /dev/null @@ -1,83 +0,0 @@ -var Stack = require('./_Stack'), - equalArrays = require('./_equalArrays'), - equalByTag = require('./_equalByTag'), - equalObjects = require('./_equalObjects'), - getTag = require('./_getTag'), - isArray = require('./isArray'), - isBuffer = require('./isBuffer'), - isTypedArray = require('./isTypedArray'); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1; - -/** `Object#toString` result references. */ -var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - objectTag = '[object Object]'; - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * A specialized version of `baseIsEqual` for arrays and objects which performs - * deep comparisons and tracks traversed objects enabling objects with circular - * references to be compared. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} [stack] Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ -function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { - var objIsArr = isArray(object), - othIsArr = isArray(other), - objTag = objIsArr ? arrayTag : getTag(object), - othTag = othIsArr ? arrayTag : getTag(other); - - objTag = objTag == argsTag ? objectTag : objTag; - othTag = othTag == argsTag ? objectTag : othTag; - - var objIsObj = objTag == objectTag, - othIsObj = othTag == objectTag, - isSameTag = objTag == othTag; - - if (isSameTag && isBuffer(object)) { - if (!isBuffer(other)) { - return false; - } - objIsArr = true; - objIsObj = false; - } - if (isSameTag && !objIsObj) { - stack || (stack = new Stack); - return (objIsArr || isTypedArray(object)) - ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) - : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); - } - if (!(bitmask & COMPARE_PARTIAL_FLAG)) { - var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), - othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); - - if (objIsWrapped || othIsWrapped) { - var objUnwrapped = objIsWrapped ? object.value() : object, - othUnwrapped = othIsWrapped ? other.value() : other; - - stack || (stack = new Stack); - return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); - } - } - if (!isSameTag) { - return false; - } - stack || (stack = new Stack); - return equalObjects(object, other, bitmask, customizer, equalFunc, stack); -} - -module.exports = baseIsEqualDeep; diff --git a/src/node_modules/lodash/_baseIsMap.js b/src/node_modules/lodash/_baseIsMap.js deleted file mode 100644 index 02a4021..0000000 --- a/src/node_modules/lodash/_baseIsMap.js +++ /dev/null @@ -1,18 +0,0 @@ -var getTag = require('./_getTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var mapTag = '[object Map]'; - -/** - * The base implementation of `_.isMap` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a map, else `false`. - */ -function baseIsMap(value) { - return isObjectLike(value) && getTag(value) == mapTag; -} - -module.exports = baseIsMap; diff --git a/src/node_modules/lodash/_baseIsMatch.js b/src/node_modules/lodash/_baseIsMatch.js deleted file mode 100644 index 72494be..0000000 --- a/src/node_modules/lodash/_baseIsMatch.js +++ /dev/null @@ -1,62 +0,0 @@ -var Stack = require('./_Stack'), - baseIsEqual = require('./_baseIsEqual'); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - -/** - * The base implementation of `_.isMatch` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Array} matchData The property names, values, and compare flags to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - */ -function baseIsMatch(object, source, matchData, customizer) { - var index = matchData.length, - length = index, - noCustomizer = !customizer; - - if (object == null) { - return !length; - } - object = Object(object); - while (index--) { - var data = matchData[index]; - if ((noCustomizer && data[2]) - ? data[1] !== object[data[0]] - : !(data[0] in object) - ) { - return false; - } - } - while (++index < length) { - data = matchData[index]; - var key = data[0], - objValue = object[key], - srcValue = data[1]; - - if (noCustomizer && data[2]) { - if (objValue === undefined && !(key in object)) { - return false; - } - } else { - var stack = new Stack; - if (customizer) { - var result = customizer(objValue, srcValue, key, object, source, stack); - } - if (!(result === undefined - ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) - : result - )) { - return false; - } - } - } - return true; -} - -module.exports = baseIsMatch; diff --git a/src/node_modules/lodash/_baseIsNaN.js b/src/node_modules/lodash/_baseIsNaN.js deleted file mode 100644 index 316f1eb..0000000 --- a/src/node_modules/lodash/_baseIsNaN.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * The base implementation of `_.isNaN` without support for number objects. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. - */ -function baseIsNaN(value) { - return value !== value; -} - -module.exports = baseIsNaN; diff --git a/src/node_modules/lodash/_baseIsNative.js b/src/node_modules/lodash/_baseIsNative.js deleted file mode 100644 index 8702330..0000000 --- a/src/node_modules/lodash/_baseIsNative.js +++ /dev/null @@ -1,47 +0,0 @@ -var isFunction = require('./isFunction'), - isMasked = require('./_isMasked'), - isObject = require('./isObject'), - toSource = require('./_toSource'); - -/** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ -var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; - -/** Used to detect host constructors (Safari). */ -var reIsHostCtor = /^\[object .+?Constructor\]$/; - -/** Used for built-in method references. */ -var funcProto = Function.prototype, - objectProto = Object.prototype; - -/** Used to resolve the decompiled source of functions. */ -var funcToString = funcProto.toString; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** Used to detect if a method is native. */ -var reIsNative = RegExp('^' + - funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' -); - -/** - * The base implementation of `_.isNative` without bad shim checks. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - */ -function baseIsNative(value) { - if (!isObject(value) || isMasked(value)) { - return false; - } - var pattern = isFunction(value) ? reIsNative : reIsHostCtor; - return pattern.test(toSource(value)); -} - -module.exports = baseIsNative; diff --git a/src/node_modules/lodash/_baseIsRegExp.js b/src/node_modules/lodash/_baseIsRegExp.js deleted file mode 100644 index 6cd7c1a..0000000 --- a/src/node_modules/lodash/_baseIsRegExp.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var regexpTag = '[object RegExp]'; - -/** - * The base implementation of `_.isRegExp` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. - */ -function baseIsRegExp(value) { - return isObjectLike(value) && baseGetTag(value) == regexpTag; -} - -module.exports = baseIsRegExp; diff --git a/src/node_modules/lodash/_baseIsSet.js b/src/node_modules/lodash/_baseIsSet.js deleted file mode 100644 index 6dee367..0000000 --- a/src/node_modules/lodash/_baseIsSet.js +++ /dev/null @@ -1,18 +0,0 @@ -var getTag = require('./_getTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var setTag = '[object Set]'; - -/** - * The base implementation of `_.isSet` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a set, else `false`. - */ -function baseIsSet(value) { - return isObjectLike(value) && getTag(value) == setTag; -} - -module.exports = baseIsSet; diff --git a/src/node_modules/lodash/_baseIsTypedArray.js b/src/node_modules/lodash/_baseIsTypedArray.js deleted file mode 100644 index 1edb32f..0000000 --- a/src/node_modules/lodash/_baseIsTypedArray.js +++ /dev/null @@ -1,60 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isLength = require('./isLength'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - funcTag = '[object Function]', - mapTag = '[object Map]', - numberTag = '[object Number]', - objectTag = '[object Object]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - weakMapTag = '[object WeakMap]'; - -var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; - -/** Used to identify `toStringTag` values of typed arrays. */ -var typedArrayTags = {}; -typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = -typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = -typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = -typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = -typedArrayTags[uint32Tag] = true; -typedArrayTags[argsTag] = typedArrayTags[arrayTag] = -typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = -typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = -typedArrayTags[errorTag] = typedArrayTags[funcTag] = -typedArrayTags[mapTag] = typedArrayTags[numberTag] = -typedArrayTags[objectTag] = typedArrayTags[regexpTag] = -typedArrayTags[setTag] = typedArrayTags[stringTag] = -typedArrayTags[weakMapTag] = false; - -/** - * The base implementation of `_.isTypedArray` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - */ -function baseIsTypedArray(value) { - return isObjectLike(value) && - isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; -} - -module.exports = baseIsTypedArray; diff --git a/src/node_modules/lodash/_baseIteratee.js b/src/node_modules/lodash/_baseIteratee.js deleted file mode 100644 index 995c257..0000000 --- a/src/node_modules/lodash/_baseIteratee.js +++ /dev/null @@ -1,31 +0,0 @@ -var baseMatches = require('./_baseMatches'), - baseMatchesProperty = require('./_baseMatchesProperty'), - identity = require('./identity'), - isArray = require('./isArray'), - property = require('./property'); - -/** - * The base implementation of `_.iteratee`. - * - * @private - * @param {*} [value=_.identity] The value to convert to an iteratee. - * @returns {Function} Returns the iteratee. - */ -function baseIteratee(value) { - // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9. - // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details. - if (typeof value == 'function') { - return value; - } - if (value == null) { - return identity; - } - if (typeof value == 'object') { - return isArray(value) - ? baseMatchesProperty(value[0], value[1]) - : baseMatches(value); - } - return property(value); -} - -module.exports = baseIteratee; diff --git a/src/node_modules/lodash/_baseKeys.js b/src/node_modules/lodash/_baseKeys.js deleted file mode 100644 index 45e9e6f..0000000 --- a/src/node_modules/lodash/_baseKeys.js +++ /dev/null @@ -1,30 +0,0 @@ -var isPrototype = require('./_isPrototype'), - nativeKeys = require('./_nativeKeys'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ -function baseKeys(object) { - if (!isPrototype(object)) { - return nativeKeys(object); - } - var result = []; - for (var key in Object(object)) { - if (hasOwnProperty.call(object, key) && key != 'constructor') { - result.push(key); - } - } - return result; -} - -module.exports = baseKeys; diff --git a/src/node_modules/lodash/_baseKeysIn.js b/src/node_modules/lodash/_baseKeysIn.js deleted file mode 100644 index ea8a0a1..0000000 --- a/src/node_modules/lodash/_baseKeysIn.js +++ /dev/null @@ -1,33 +0,0 @@ -var isObject = require('./isObject'), - isPrototype = require('./_isPrototype'), - nativeKeysIn = require('./_nativeKeysIn'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ -function baseKeysIn(object) { - if (!isObject(object)) { - return nativeKeysIn(object); - } - var isProto = isPrototype(object), - result = []; - - for (var key in object) { - if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { - result.push(key); - } - } - return result; -} - -module.exports = baseKeysIn; diff --git a/src/node_modules/lodash/_baseLodash.js b/src/node_modules/lodash/_baseLodash.js deleted file mode 100644 index f76c790..0000000 --- a/src/node_modules/lodash/_baseLodash.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * The function whose prototype chain sequence wrappers inherit from. - * - * @private - */ -function baseLodash() { - // No operation performed. -} - -module.exports = baseLodash; diff --git a/src/node_modules/lodash/_baseLt.js b/src/node_modules/lodash/_baseLt.js deleted file mode 100644 index 8674d29..0000000 --- a/src/node_modules/lodash/_baseLt.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * The base implementation of `_.lt` which doesn't coerce arguments. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is less than `other`, - * else `false`. - */ -function baseLt(value, other) { - return value < other; -} - -module.exports = baseLt; diff --git a/src/node_modules/lodash/_baseMap.js b/src/node_modules/lodash/_baseMap.js deleted file mode 100644 index 0bf5cea..0000000 --- a/src/node_modules/lodash/_baseMap.js +++ /dev/null @@ -1,22 +0,0 @@ -var baseEach = require('./_baseEach'), - isArrayLike = require('./isArrayLike'); - -/** - * The base implementation of `_.map` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ -function baseMap(collection, iteratee) { - var index = -1, - result = isArrayLike(collection) ? Array(collection.length) : []; - - baseEach(collection, function(value, key, collection) { - result[++index] = iteratee(value, key, collection); - }); - return result; -} - -module.exports = baseMap; diff --git a/src/node_modules/lodash/_baseMatches.js b/src/node_modules/lodash/_baseMatches.js deleted file mode 100644 index e56582a..0000000 --- a/src/node_modules/lodash/_baseMatches.js +++ /dev/null @@ -1,22 +0,0 @@ -var baseIsMatch = require('./_baseIsMatch'), - getMatchData = require('./_getMatchData'), - matchesStrictComparable = require('./_matchesStrictComparable'); - -/** - * The base implementation of `_.matches` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property values to match. - * @returns {Function} Returns the new spec function. - */ -function baseMatches(source) { - var matchData = getMatchData(source); - if (matchData.length == 1 && matchData[0][2]) { - return matchesStrictComparable(matchData[0][0], matchData[0][1]); - } - return function(object) { - return object === source || baseIsMatch(object, source, matchData); - }; -} - -module.exports = baseMatches; diff --git a/src/node_modules/lodash/_baseMatchesProperty.js b/src/node_modules/lodash/_baseMatchesProperty.js deleted file mode 100644 index 24afd89..0000000 --- a/src/node_modules/lodash/_baseMatchesProperty.js +++ /dev/null @@ -1,33 +0,0 @@ -var baseIsEqual = require('./_baseIsEqual'), - get = require('./get'), - hasIn = require('./hasIn'), - isKey = require('./_isKey'), - isStrictComparable = require('./_isStrictComparable'), - matchesStrictComparable = require('./_matchesStrictComparable'), - toKey = require('./_toKey'); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - -/** - * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. - * - * @private - * @param {string} path The path of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ -function baseMatchesProperty(path, srcValue) { - if (isKey(path) && isStrictComparable(srcValue)) { - return matchesStrictComparable(toKey(path), srcValue); - } - return function(object) { - var objValue = get(object, path); - return (objValue === undefined && objValue === srcValue) - ? hasIn(object, path) - : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); - }; -} - -module.exports = baseMatchesProperty; diff --git a/src/node_modules/lodash/_baseMean.js b/src/node_modules/lodash/_baseMean.js deleted file mode 100644 index fa9e00a..0000000 --- a/src/node_modules/lodash/_baseMean.js +++ /dev/null @@ -1,20 +0,0 @@ -var baseSum = require('./_baseSum'); - -/** Used as references for various `Number` constants. */ -var NAN = 0 / 0; - -/** - * The base implementation of `_.mean` and `_.meanBy` without support for - * iteratee shorthands. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {number} Returns the mean. - */ -function baseMean(array, iteratee) { - var length = array == null ? 0 : array.length; - return length ? (baseSum(array, iteratee) / length) : NAN; -} - -module.exports = baseMean; diff --git a/src/node_modules/lodash/_baseMerge.js b/src/node_modules/lodash/_baseMerge.js deleted file mode 100644 index f4cb8c6..0000000 --- a/src/node_modules/lodash/_baseMerge.js +++ /dev/null @@ -1,41 +0,0 @@ -var Stack = require('./_Stack'), - assignMergeValue = require('./_assignMergeValue'), - baseFor = require('./_baseFor'), - baseMergeDeep = require('./_baseMergeDeep'), - isObject = require('./isObject'), - keysIn = require('./keysIn'); - -/** - * The base implementation of `_.merge` without support for multiple sources. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {number} srcIndex The index of `source`. - * @param {Function} [customizer] The function to customize merged values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ -function baseMerge(object, source, srcIndex, customizer, stack) { - if (object === source) { - return; - } - baseFor(source, function(srcValue, key) { - if (isObject(srcValue)) { - stack || (stack = new Stack); - baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); - } - else { - var newValue = customizer - ? customizer(object[key], srcValue, (key + ''), object, source, stack) - : undefined; - - if (newValue === undefined) { - newValue = srcValue; - } - assignMergeValue(object, key, newValue); - } - }, keysIn); -} - -module.exports = baseMerge; diff --git a/src/node_modules/lodash/_baseMergeDeep.js b/src/node_modules/lodash/_baseMergeDeep.js deleted file mode 100644 index 42b405a..0000000 --- a/src/node_modules/lodash/_baseMergeDeep.js +++ /dev/null @@ -1,93 +0,0 @@ -var assignMergeValue = require('./_assignMergeValue'), - cloneBuffer = require('./_cloneBuffer'), - cloneTypedArray = require('./_cloneTypedArray'), - copyArray = require('./_copyArray'), - initCloneObject = require('./_initCloneObject'), - isArguments = require('./isArguments'), - isArray = require('./isArray'), - isArrayLikeObject = require('./isArrayLikeObject'), - isBuffer = require('./isBuffer'), - isFunction = require('./isFunction'), - isObject = require('./isObject'), - isPlainObject = require('./isPlainObject'), - isTypedArray = require('./isTypedArray'), - toPlainObject = require('./toPlainObject'); - -/** - * A specialized version of `baseMerge` for arrays and objects which performs - * deep merges and tracks traversed objects enabling objects with circular - * references to be merged. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {string} key The key of the value to merge. - * @param {number} srcIndex The index of `source`. - * @param {Function} mergeFunc The function to merge values. - * @param {Function} [customizer] The function to customize assigned values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ -function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { - var objValue = object[key], - srcValue = source[key], - stacked = stack.get(srcValue); - - if (stacked) { - assignMergeValue(object, key, stacked); - return; - } - var newValue = customizer - ? customizer(objValue, srcValue, (key + ''), object, source, stack) - : undefined; - - var isCommon = newValue === undefined; - - if (isCommon) { - var isArr = isArray(srcValue), - isBuff = !isArr && isBuffer(srcValue), - isTyped = !isArr && !isBuff && isTypedArray(srcValue); - - newValue = srcValue; - if (isArr || isBuff || isTyped) { - if (isArray(objValue)) { - newValue = objValue; - } - else if (isArrayLikeObject(objValue)) { - newValue = copyArray(objValue); - } - else if (isBuff) { - isCommon = false; - newValue = cloneBuffer(srcValue, true); - } - else if (isTyped) { - isCommon = false; - newValue = cloneTypedArray(srcValue, true); - } - else { - newValue = []; - } - } - else if (isPlainObject(srcValue) || isArguments(srcValue)) { - newValue = objValue; - if (isArguments(objValue)) { - newValue = toPlainObject(objValue); - } - else if (!isObject(objValue) || (srcIndex && isFunction(objValue))) { - newValue = initCloneObject(srcValue); - } - } - else { - isCommon = false; - } - } - if (isCommon) { - // Recursively merge objects and arrays (susceptible to call stack limits). - stack.set(srcValue, newValue); - mergeFunc(newValue, srcValue, srcIndex, customizer, stack); - stack['delete'](srcValue); - } - assignMergeValue(object, key, newValue); -} - -module.exports = baseMergeDeep; diff --git a/src/node_modules/lodash/_baseNth.js b/src/node_modules/lodash/_baseNth.js deleted file mode 100644 index 0403c2a..0000000 --- a/src/node_modules/lodash/_baseNth.js +++ /dev/null @@ -1,20 +0,0 @@ -var isIndex = require('./_isIndex'); - -/** - * The base implementation of `_.nth` which doesn't coerce arguments. - * - * @private - * @param {Array} array The array to query. - * @param {number} n The index of the element to return. - * @returns {*} Returns the nth element of `array`. - */ -function baseNth(array, n) { - var length = array.length; - if (!length) { - return; - } - n += n < 0 ? length : 0; - return isIndex(n, length) ? array[n] : undefined; -} - -module.exports = baseNth; diff --git a/src/node_modules/lodash/_baseOrderBy.js b/src/node_modules/lodash/_baseOrderBy.js deleted file mode 100644 index d8a46ab..0000000 --- a/src/node_modules/lodash/_baseOrderBy.js +++ /dev/null @@ -1,34 +0,0 @@ -var arrayMap = require('./_arrayMap'), - baseIteratee = require('./_baseIteratee'), - baseMap = require('./_baseMap'), - baseSortBy = require('./_baseSortBy'), - baseUnary = require('./_baseUnary'), - compareMultiple = require('./_compareMultiple'), - identity = require('./identity'); - -/** - * The base implementation of `_.orderBy` without param guards. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by. - * @param {string[]} orders The sort orders of `iteratees`. - * @returns {Array} Returns the new sorted array. - */ -function baseOrderBy(collection, iteratees, orders) { - var index = -1; - iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(baseIteratee)); - - var result = baseMap(collection, function(value, key, collection) { - var criteria = arrayMap(iteratees, function(iteratee) { - return iteratee(value); - }); - return { 'criteria': criteria, 'index': ++index, 'value': value }; - }); - - return baseSortBy(result, function(object, other) { - return compareMultiple(object, other, orders); - }); -} - -module.exports = baseOrderBy; diff --git a/src/node_modules/lodash/_basePick.js b/src/node_modules/lodash/_basePick.js deleted file mode 100644 index 09b458a..0000000 --- a/src/node_modules/lodash/_basePick.js +++ /dev/null @@ -1,19 +0,0 @@ -var basePickBy = require('./_basePickBy'), - hasIn = require('./hasIn'); - -/** - * The base implementation of `_.pick` without support for individual - * property identifiers. - * - * @private - * @param {Object} object The source object. - * @param {string[]} paths The property paths to pick. - * @returns {Object} Returns the new object. - */ -function basePick(object, paths) { - return basePickBy(object, paths, function(value, path) { - return hasIn(object, path); - }); -} - -module.exports = basePick; diff --git a/src/node_modules/lodash/_basePickBy.js b/src/node_modules/lodash/_basePickBy.js deleted file mode 100644 index 85be68c..0000000 --- a/src/node_modules/lodash/_basePickBy.js +++ /dev/null @@ -1,30 +0,0 @@ -var baseGet = require('./_baseGet'), - baseSet = require('./_baseSet'), - castPath = require('./_castPath'); - -/** - * The base implementation of `_.pickBy` without support for iteratee shorthands. - * - * @private - * @param {Object} object The source object. - * @param {string[]} paths The property paths to pick. - * @param {Function} predicate The function invoked per property. - * @returns {Object} Returns the new object. - */ -function basePickBy(object, paths, predicate) { - var index = -1, - length = paths.length, - result = {}; - - while (++index < length) { - var path = paths[index], - value = baseGet(object, path); - - if (predicate(value, path)) { - baseSet(result, castPath(path, object), value); - } - } - return result; -} - -module.exports = basePickBy; diff --git a/src/node_modules/lodash/_baseProperty.js b/src/node_modules/lodash/_baseProperty.js deleted file mode 100644 index 496281e..0000000 --- a/src/node_modules/lodash/_baseProperty.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * The base implementation of `_.property` without support for deep paths. - * - * @private - * @param {string} key The key of the property to get. - * @returns {Function} Returns the new accessor function. - */ -function baseProperty(key) { - return function(object) { - return object == null ? undefined : object[key]; - }; -} - -module.exports = baseProperty; diff --git a/src/node_modules/lodash/_basePropertyDeep.js b/src/node_modules/lodash/_basePropertyDeep.js deleted file mode 100644 index 1e5aae5..0000000 --- a/src/node_modules/lodash/_basePropertyDeep.js +++ /dev/null @@ -1,16 +0,0 @@ -var baseGet = require('./_baseGet'); - -/** - * A specialized version of `baseProperty` which supports deep paths. - * - * @private - * @param {Array|string} path The path of the property to get. - * @returns {Function} Returns the new accessor function. - */ -function basePropertyDeep(path) { - return function(object) { - return baseGet(object, path); - }; -} - -module.exports = basePropertyDeep; diff --git a/src/node_modules/lodash/_basePropertyOf.js b/src/node_modules/lodash/_basePropertyOf.js deleted file mode 100644 index 4617399..0000000 --- a/src/node_modules/lodash/_basePropertyOf.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * The base implementation of `_.propertyOf` without support for deep paths. - * - * @private - * @param {Object} object The object to query. - * @returns {Function} Returns the new accessor function. - */ -function basePropertyOf(object) { - return function(key) { - return object == null ? undefined : object[key]; - }; -} - -module.exports = basePropertyOf; diff --git a/src/node_modules/lodash/_basePullAll.js b/src/node_modules/lodash/_basePullAll.js deleted file mode 100644 index 305720e..0000000 --- a/src/node_modules/lodash/_basePullAll.js +++ /dev/null @@ -1,51 +0,0 @@ -var arrayMap = require('./_arrayMap'), - baseIndexOf = require('./_baseIndexOf'), - baseIndexOfWith = require('./_baseIndexOfWith'), - baseUnary = require('./_baseUnary'), - copyArray = require('./_copyArray'); - -/** Used for built-in method references. */ -var arrayProto = Array.prototype; - -/** Built-in value references. */ -var splice = arrayProto.splice; - -/** - * The base implementation of `_.pullAllBy` without support for iteratee - * shorthands. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns `array`. - */ -function basePullAll(array, values, iteratee, comparator) { - var indexOf = comparator ? baseIndexOfWith : baseIndexOf, - index = -1, - length = values.length, - seen = array; - - if (array === values) { - values = copyArray(values); - } - if (iteratee) { - seen = arrayMap(array, baseUnary(iteratee)); - } - while (++index < length) { - var fromIndex = 0, - value = values[index], - computed = iteratee ? iteratee(value) : value; - - while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) { - if (seen !== array) { - splice.call(seen, fromIndex, 1); - } - splice.call(array, fromIndex, 1); - } - } - return array; -} - -module.exports = basePullAll; diff --git a/src/node_modules/lodash/_basePullAt.js b/src/node_modules/lodash/_basePullAt.js deleted file mode 100644 index c3e9e71..0000000 --- a/src/node_modules/lodash/_basePullAt.js +++ /dev/null @@ -1,37 +0,0 @@ -var baseUnset = require('./_baseUnset'), - isIndex = require('./_isIndex'); - -/** Used for built-in method references. */ -var arrayProto = Array.prototype; - -/** Built-in value references. */ -var splice = arrayProto.splice; - -/** - * The base implementation of `_.pullAt` without support for individual - * indexes or capturing the removed elements. - * - * @private - * @param {Array} array The array to modify. - * @param {number[]} indexes The indexes of elements to remove. - * @returns {Array} Returns `array`. - */ -function basePullAt(array, indexes) { - var length = array ? indexes.length : 0, - lastIndex = length - 1; - - while (length--) { - var index = indexes[length]; - if (length == lastIndex || index !== previous) { - var previous = index; - if (isIndex(index)) { - splice.call(array, index, 1); - } else { - baseUnset(array, index); - } - } - } - return array; -} - -module.exports = basePullAt; diff --git a/src/node_modules/lodash/_baseRandom.js b/src/node_modules/lodash/_baseRandom.js deleted file mode 100644 index 94f76a7..0000000 --- a/src/node_modules/lodash/_baseRandom.js +++ /dev/null @@ -1,18 +0,0 @@ -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeFloor = Math.floor, - nativeRandom = Math.random; - -/** - * The base implementation of `_.random` without support for returning - * floating-point numbers. - * - * @private - * @param {number} lower The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the random number. - */ -function baseRandom(lower, upper) { - return lower + nativeFloor(nativeRandom() * (upper - lower + 1)); -} - -module.exports = baseRandom; diff --git a/src/node_modules/lodash/_baseRange.js b/src/node_modules/lodash/_baseRange.js deleted file mode 100644 index 0fb8e41..0000000 --- a/src/node_modules/lodash/_baseRange.js +++ /dev/null @@ -1,28 +0,0 @@ -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeCeil = Math.ceil, - nativeMax = Math.max; - -/** - * The base implementation of `_.range` and `_.rangeRight` which doesn't - * coerce arguments. - * - * @private - * @param {number} start The start of the range. - * @param {number} end The end of the range. - * @param {number} step The value to increment or decrement by. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Array} Returns the range of numbers. - */ -function baseRange(start, end, step, fromRight) { - var index = -1, - length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), - result = Array(length); - - while (length--) { - result[fromRight ? length : ++index] = start; - start += step; - } - return result; -} - -module.exports = baseRange; diff --git a/src/node_modules/lodash/_baseReduce.js b/src/node_modules/lodash/_baseReduce.js deleted file mode 100644 index 5a1f8b5..0000000 --- a/src/node_modules/lodash/_baseReduce.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * The base implementation of `_.reduce` and `_.reduceRight`, without support - * for iteratee shorthands, which iterates over `collection` using `eachFunc`. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} accumulator The initial value. - * @param {boolean} initAccum Specify using the first or last element of - * `collection` as the initial value. - * @param {Function} eachFunc The function to iterate over `collection`. - * @returns {*} Returns the accumulated value. - */ -function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) { - eachFunc(collection, function(value, index, collection) { - accumulator = initAccum - ? (initAccum = false, value) - : iteratee(accumulator, value, index, collection); - }); - return accumulator; -} - -module.exports = baseReduce; diff --git a/src/node_modules/lodash/_baseRepeat.js b/src/node_modules/lodash/_baseRepeat.js deleted file mode 100644 index ee44c31..0000000 --- a/src/node_modules/lodash/_baseRepeat.js +++ /dev/null @@ -1,35 +0,0 @@ -/** Used as references for various `Number` constants. */ -var MAX_SAFE_INTEGER = 9007199254740991; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeFloor = Math.floor; - -/** - * The base implementation of `_.repeat` which doesn't coerce arguments. - * - * @private - * @param {string} string The string to repeat. - * @param {number} n The number of times to repeat the string. - * @returns {string} Returns the repeated string. - */ -function baseRepeat(string, n) { - var result = ''; - if (!string || n < 1 || n > MAX_SAFE_INTEGER) { - return result; - } - // Leverage the exponentiation by squaring algorithm for a faster repeat. - // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details. - do { - if (n % 2) { - result += string; - } - n = nativeFloor(n / 2); - if (n) { - string += string; - } - } while (n); - - return result; -} - -module.exports = baseRepeat; diff --git a/src/node_modules/lodash/_baseRest.js b/src/node_modules/lodash/_baseRest.js deleted file mode 100644 index d0dc4bd..0000000 --- a/src/node_modules/lodash/_baseRest.js +++ /dev/null @@ -1,17 +0,0 @@ -var identity = require('./identity'), - overRest = require('./_overRest'), - setToString = require('./_setToString'); - -/** - * The base implementation of `_.rest` which doesn't validate or coerce arguments. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - */ -function baseRest(func, start) { - return setToString(overRest(func, start, identity), func + ''); -} - -module.exports = baseRest; diff --git a/src/node_modules/lodash/_baseSample.js b/src/node_modules/lodash/_baseSample.js deleted file mode 100644 index 58582b9..0000000 --- a/src/node_modules/lodash/_baseSample.js +++ /dev/null @@ -1,15 +0,0 @@ -var arraySample = require('./_arraySample'), - values = require('./values'); - -/** - * The base implementation of `_.sample`. - * - * @private - * @param {Array|Object} collection The collection to sample. - * @returns {*} Returns the random element. - */ -function baseSample(collection) { - return arraySample(values(collection)); -} - -module.exports = baseSample; diff --git a/src/node_modules/lodash/_baseSampleSize.js b/src/node_modules/lodash/_baseSampleSize.js deleted file mode 100644 index 5c90ec5..0000000 --- a/src/node_modules/lodash/_baseSampleSize.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseClamp = require('./_baseClamp'), - shuffleSelf = require('./_shuffleSelf'), - values = require('./values'); - -/** - * The base implementation of `_.sampleSize` without param guards. - * - * @private - * @param {Array|Object} collection The collection to sample. - * @param {number} n The number of elements to sample. - * @returns {Array} Returns the random elements. - */ -function baseSampleSize(collection, n) { - var array = values(collection); - return shuffleSelf(array, baseClamp(n, 0, array.length)); -} - -module.exports = baseSampleSize; diff --git a/src/node_modules/lodash/_baseSet.js b/src/node_modules/lodash/_baseSet.js deleted file mode 100644 index 612a24c..0000000 --- a/src/node_modules/lodash/_baseSet.js +++ /dev/null @@ -1,47 +0,0 @@ -var assignValue = require('./_assignValue'), - castPath = require('./_castPath'), - isIndex = require('./_isIndex'), - isObject = require('./isObject'), - toKey = require('./_toKey'); - -/** - * The base implementation of `_.set`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {*} value The value to set. - * @param {Function} [customizer] The function to customize path creation. - * @returns {Object} Returns `object`. - */ -function baseSet(object, path, value, customizer) { - if (!isObject(object)) { - return object; - } - path = castPath(path, object); - - var index = -1, - length = path.length, - lastIndex = length - 1, - nested = object; - - while (nested != null && ++index < length) { - var key = toKey(path[index]), - newValue = value; - - if (index != lastIndex) { - var objValue = nested[key]; - newValue = customizer ? customizer(objValue, key, nested) : undefined; - if (newValue === undefined) { - newValue = isObject(objValue) - ? objValue - : (isIndex(path[index + 1]) ? [] : {}); - } - } - assignValue(nested, key, newValue); - nested = nested[key]; - } - return object; -} - -module.exports = baseSet; diff --git a/src/node_modules/lodash/_baseSetData.js b/src/node_modules/lodash/_baseSetData.js deleted file mode 100644 index c409947..0000000 --- a/src/node_modules/lodash/_baseSetData.js +++ /dev/null @@ -1,17 +0,0 @@ -var identity = require('./identity'), - metaMap = require('./_metaMap'); - -/** - * The base implementation of `setData` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to associate metadata with. - * @param {*} data The metadata. - * @returns {Function} Returns `func`. - */ -var baseSetData = !metaMap ? identity : function(func, data) { - metaMap.set(func, data); - return func; -}; - -module.exports = baseSetData; diff --git a/src/node_modules/lodash/_baseSetToString.js b/src/node_modules/lodash/_baseSetToString.js deleted file mode 100644 index 89eaca3..0000000 --- a/src/node_modules/lodash/_baseSetToString.js +++ /dev/null @@ -1,22 +0,0 @@ -var constant = require('./constant'), - defineProperty = require('./_defineProperty'), - identity = require('./identity'); - -/** - * The base implementation of `setToString` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ -var baseSetToString = !defineProperty ? identity : function(func, string) { - return defineProperty(func, 'toString', { - 'configurable': true, - 'enumerable': false, - 'value': constant(string), - 'writable': true - }); -}; - -module.exports = baseSetToString; diff --git a/src/node_modules/lodash/_baseShuffle.js b/src/node_modules/lodash/_baseShuffle.js deleted file mode 100644 index 023077a..0000000 --- a/src/node_modules/lodash/_baseShuffle.js +++ /dev/null @@ -1,15 +0,0 @@ -var shuffleSelf = require('./_shuffleSelf'), - values = require('./values'); - -/** - * The base implementation of `_.shuffle`. - * - * @private - * @param {Array|Object} collection The collection to shuffle. - * @returns {Array} Returns the new shuffled array. - */ -function baseShuffle(collection) { - return shuffleSelf(values(collection)); -} - -module.exports = baseShuffle; diff --git a/src/node_modules/lodash/_baseSlice.js b/src/node_modules/lodash/_baseSlice.js deleted file mode 100644 index 786f6c9..0000000 --- a/src/node_modules/lodash/_baseSlice.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * The base implementation of `_.slice` without an iteratee call guard. - * - * @private - * @param {Array} array The array to slice. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the slice of `array`. - */ -function baseSlice(array, start, end) { - var index = -1, - length = array.length; - - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = end > length ? length : end; - if (end < 0) { - end += length; - } - length = start > end ? 0 : ((end - start) >>> 0); - start >>>= 0; - - var result = Array(length); - while (++index < length) { - result[index] = array[index + start]; - } - return result; -} - -module.exports = baseSlice; diff --git a/src/node_modules/lodash/_baseSome.js b/src/node_modules/lodash/_baseSome.js deleted file mode 100644 index 58f3f44..0000000 --- a/src/node_modules/lodash/_baseSome.js +++ /dev/null @@ -1,22 +0,0 @@ -var baseEach = require('./_baseEach'); - -/** - * The base implementation of `_.some` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ -function baseSome(collection, predicate) { - var result; - - baseEach(collection, function(value, index, collection) { - result = predicate(value, index, collection); - return !result; - }); - return !!result; -} - -module.exports = baseSome; diff --git a/src/node_modules/lodash/_baseSortBy.js b/src/node_modules/lodash/_baseSortBy.js deleted file mode 100644 index a25c92e..0000000 --- a/src/node_modules/lodash/_baseSortBy.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * The base implementation of `_.sortBy` which uses `comparer` to define the - * sort order of `array` and replaces criteria objects with their corresponding - * values. - * - * @private - * @param {Array} array The array to sort. - * @param {Function} comparer The function to define sort order. - * @returns {Array} Returns `array`. - */ -function baseSortBy(array, comparer) { - var length = array.length; - - array.sort(comparer); - while (length--) { - array[length] = array[length].value; - } - return array; -} - -module.exports = baseSortBy; diff --git a/src/node_modules/lodash/_baseSortedIndex.js b/src/node_modules/lodash/_baseSortedIndex.js deleted file mode 100644 index 638c366..0000000 --- a/src/node_modules/lodash/_baseSortedIndex.js +++ /dev/null @@ -1,42 +0,0 @@ -var baseSortedIndexBy = require('./_baseSortedIndexBy'), - identity = require('./identity'), - isSymbol = require('./isSymbol'); - -/** Used as references for the maximum length and index of an array. */ -var MAX_ARRAY_LENGTH = 4294967295, - HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1; - -/** - * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which - * performs a binary search of `array` to determine the index at which `value` - * should be inserted into `array` in order to maintain its sort order. - * - * @private - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {boolean} [retHighest] Specify returning the highest qualified index. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - */ -function baseSortedIndex(array, value, retHighest) { - var low = 0, - high = array == null ? low : array.length; - - if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) { - while (low < high) { - var mid = (low + high) >>> 1, - computed = array[mid]; - - if (computed !== null && !isSymbol(computed) && - (retHighest ? (computed <= value) : (computed < value))) { - low = mid + 1; - } else { - high = mid; - } - } - return high; - } - return baseSortedIndexBy(array, value, identity, retHighest); -} - -module.exports = baseSortedIndex; diff --git a/src/node_modules/lodash/_baseSortedIndexBy.js b/src/node_modules/lodash/_baseSortedIndexBy.js deleted file mode 100644 index bb22e36..0000000 --- a/src/node_modules/lodash/_baseSortedIndexBy.js +++ /dev/null @@ -1,64 +0,0 @@ -var isSymbol = require('./isSymbol'); - -/** Used as references for the maximum length and index of an array. */ -var MAX_ARRAY_LENGTH = 4294967295, - MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeFloor = Math.floor, - nativeMin = Math.min; - -/** - * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy` - * which invokes `iteratee` for `value` and each element of `array` to compute - * their sort ranking. The iteratee is invoked with one argument; (value). - * - * @private - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} iteratee The iteratee invoked per element. - * @param {boolean} [retHighest] Specify returning the highest qualified index. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - */ -function baseSortedIndexBy(array, value, iteratee, retHighest) { - value = iteratee(value); - - var low = 0, - high = array == null ? 0 : array.length, - valIsNaN = value !== value, - valIsNull = value === null, - valIsSymbol = isSymbol(value), - valIsUndefined = value === undefined; - - while (low < high) { - var mid = nativeFloor((low + high) / 2), - computed = iteratee(array[mid]), - othIsDefined = computed !== undefined, - othIsNull = computed === null, - othIsReflexive = computed === computed, - othIsSymbol = isSymbol(computed); - - if (valIsNaN) { - var setLow = retHighest || othIsReflexive; - } else if (valIsUndefined) { - setLow = othIsReflexive && (retHighest || othIsDefined); - } else if (valIsNull) { - setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull); - } else if (valIsSymbol) { - setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol); - } else if (othIsNull || othIsSymbol) { - setLow = false; - } else { - setLow = retHighest ? (computed <= value) : (computed < value); - } - if (setLow) { - low = mid + 1; - } else { - high = mid; - } - } - return nativeMin(high, MAX_ARRAY_INDEX); -} - -module.exports = baseSortedIndexBy; diff --git a/src/node_modules/lodash/_baseSortedUniq.js b/src/node_modules/lodash/_baseSortedUniq.js deleted file mode 100644 index 802159a..0000000 --- a/src/node_modules/lodash/_baseSortedUniq.js +++ /dev/null @@ -1,30 +0,0 @@ -var eq = require('./eq'); - -/** - * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - */ -function baseSortedUniq(array, iteratee) { - var index = -1, - length = array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - if (!index || !eq(computed, seen)) { - var seen = computed; - result[resIndex++] = value === 0 ? 0 : value; - } - } - return result; -} - -module.exports = baseSortedUniq; diff --git a/src/node_modules/lodash/_baseSum.js b/src/node_modules/lodash/_baseSum.js deleted file mode 100644 index a9e84c1..0000000 --- a/src/node_modules/lodash/_baseSum.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * The base implementation of `_.sum` and `_.sumBy` without support for - * iteratee shorthands. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {number} Returns the sum. - */ -function baseSum(array, iteratee) { - var result, - index = -1, - length = array.length; - - while (++index < length) { - var current = iteratee(array[index]); - if (current !== undefined) { - result = result === undefined ? current : (result + current); - } - } - return result; -} - -module.exports = baseSum; diff --git a/src/node_modules/lodash/_baseTimes.js b/src/node_modules/lodash/_baseTimes.js deleted file mode 100644 index 0603fc3..0000000 --- a/src/node_modules/lodash/_baseTimes.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * The base implementation of `_.times` without support for iteratee shorthands - * or max array length checks. - * - * @private - * @param {number} n The number of times to invoke `iteratee`. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the array of results. - */ -function baseTimes(n, iteratee) { - var index = -1, - result = Array(n); - - while (++index < n) { - result[index] = iteratee(index); - } - return result; -} - -module.exports = baseTimes; diff --git a/src/node_modules/lodash/_baseToNumber.js b/src/node_modules/lodash/_baseToNumber.js deleted file mode 100644 index 04859f3..0000000 --- a/src/node_modules/lodash/_baseToNumber.js +++ /dev/null @@ -1,24 +0,0 @@ -var isSymbol = require('./isSymbol'); - -/** Used as references for various `Number` constants. */ -var NAN = 0 / 0; - -/** - * The base implementation of `_.toNumber` which doesn't ensure correct - * conversions of binary, hexadecimal, or octal string values. - * - * @private - * @param {*} value The value to process. - * @returns {number} Returns the number. - */ -function baseToNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - return +value; -} - -module.exports = baseToNumber; diff --git a/src/node_modules/lodash/_baseToPairs.js b/src/node_modules/lodash/_baseToPairs.js deleted file mode 100644 index bff1991..0000000 --- a/src/node_modules/lodash/_baseToPairs.js +++ /dev/null @@ -1,18 +0,0 @@ -var arrayMap = require('./_arrayMap'); - -/** - * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array - * of key-value pairs for `object` corresponding to the property names of `props`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} props The property names to get values for. - * @returns {Object} Returns the key-value pairs. - */ -function baseToPairs(object, props) { - return arrayMap(props, function(key) { - return [key, object[key]]; - }); -} - -module.exports = baseToPairs; diff --git a/src/node_modules/lodash/_baseToString.js b/src/node_modules/lodash/_baseToString.js deleted file mode 100644 index ada6ad2..0000000 --- a/src/node_modules/lodash/_baseToString.js +++ /dev/null @@ -1,37 +0,0 @@ -var Symbol = require('./_Symbol'), - arrayMap = require('./_arrayMap'), - isArray = require('./isArray'), - isSymbol = require('./isSymbol'); - -/** Used as references for various `Number` constants. */ -var INFINITY = 1 / 0; - -/** Used to convert symbols to primitives and strings. */ -var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolToString = symbolProto ? symbolProto.toString : undefined; - -/** - * The base implementation of `_.toString` which doesn't convert nullish - * values to empty strings. - * - * @private - * @param {*} value The value to process. - * @returns {string} Returns the string. - */ -function baseToString(value) { - // Exit early for strings to avoid a performance hit in some environments. - if (typeof value == 'string') { - return value; - } - if (isArray(value)) { - // Recursively convert values (susceptible to call stack limits). - return arrayMap(value, baseToString) + ''; - } - if (isSymbol(value)) { - return symbolToString ? symbolToString.call(value) : ''; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; -} - -module.exports = baseToString; diff --git a/src/node_modules/lodash/_baseUnary.js b/src/node_modules/lodash/_baseUnary.js deleted file mode 100644 index 98639e9..0000000 --- a/src/node_modules/lodash/_baseUnary.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * The base implementation of `_.unary` without support for storing metadata. - * - * @private - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - */ -function baseUnary(func) { - return function(value) { - return func(value); - }; -} - -module.exports = baseUnary; diff --git a/src/node_modules/lodash/_baseUniq.js b/src/node_modules/lodash/_baseUniq.js deleted file mode 100644 index aea459d..0000000 --- a/src/node_modules/lodash/_baseUniq.js +++ /dev/null @@ -1,72 +0,0 @@ -var SetCache = require('./_SetCache'), - arrayIncludes = require('./_arrayIncludes'), - arrayIncludesWith = require('./_arrayIncludesWith'), - cacheHas = require('./_cacheHas'), - createSet = require('./_createSet'), - setToArray = require('./_setToArray'); - -/** Used as the size to enable large array optimizations. */ -var LARGE_ARRAY_SIZE = 200; - -/** - * The base implementation of `_.uniqBy` without support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - */ -function baseUniq(array, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - length = array.length, - isCommon = true, - result = [], - seen = result; - - if (comparator) { - isCommon = false; - includes = arrayIncludesWith; - } - else if (length >= LARGE_ARRAY_SIZE) { - var set = iteratee ? null : createSet(array); - if (set) { - return setToArray(set); - } - isCommon = false; - includes = cacheHas; - seen = new SetCache; - } - else { - seen = iteratee ? [] : result; - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; - } - } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } - else if (!includes(seen, computed, comparator)) { - if (seen !== result) { - seen.push(computed); - } - result.push(value); - } - } - return result; -} - -module.exports = baseUniq; diff --git a/src/node_modules/lodash/_baseUnset.js b/src/node_modules/lodash/_baseUnset.js deleted file mode 100644 index eefc6e3..0000000 --- a/src/node_modules/lodash/_baseUnset.js +++ /dev/null @@ -1,20 +0,0 @@ -var castPath = require('./_castPath'), - last = require('./last'), - parent = require('./_parent'), - toKey = require('./_toKey'); - -/** - * The base implementation of `_.unset`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The property path to unset. - * @returns {boolean} Returns `true` if the property is deleted, else `false`. - */ -function baseUnset(object, path) { - path = castPath(path, object); - object = parent(object, path); - return object == null || delete object[toKey(last(path))]; -} - -module.exports = baseUnset; diff --git a/src/node_modules/lodash/_baseUpdate.js b/src/node_modules/lodash/_baseUpdate.js deleted file mode 100644 index 92a6237..0000000 --- a/src/node_modules/lodash/_baseUpdate.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseGet = require('./_baseGet'), - baseSet = require('./_baseSet'); - -/** - * The base implementation of `_.update`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to update. - * @param {Function} updater The function to produce the updated value. - * @param {Function} [customizer] The function to customize path creation. - * @returns {Object} Returns `object`. - */ -function baseUpdate(object, path, updater, customizer) { - return baseSet(object, path, updater(baseGet(object, path)), customizer); -} - -module.exports = baseUpdate; diff --git a/src/node_modules/lodash/_baseValues.js b/src/node_modules/lodash/_baseValues.js deleted file mode 100644 index b95faad..0000000 --- a/src/node_modules/lodash/_baseValues.js +++ /dev/null @@ -1,19 +0,0 @@ -var arrayMap = require('./_arrayMap'); - -/** - * The base implementation of `_.values` and `_.valuesIn` which creates an - * array of `object` property values corresponding to the property names - * of `props`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} props The property names to get values for. - * @returns {Object} Returns the array of property values. - */ -function baseValues(object, props) { - return arrayMap(props, function(key) { - return object[key]; - }); -} - -module.exports = baseValues; diff --git a/src/node_modules/lodash/_baseWhile.js b/src/node_modules/lodash/_baseWhile.js deleted file mode 100644 index 07eac61..0000000 --- a/src/node_modules/lodash/_baseWhile.js +++ /dev/null @@ -1,26 +0,0 @@ -var baseSlice = require('./_baseSlice'); - -/** - * The base implementation of methods like `_.dropWhile` and `_.takeWhile` - * without support for iteratee shorthands. - * - * @private - * @param {Array} array The array to query. - * @param {Function} predicate The function invoked per iteration. - * @param {boolean} [isDrop] Specify dropping elements instead of taking them. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Array} Returns the slice of `array`. - */ -function baseWhile(array, predicate, isDrop, fromRight) { - var length = array.length, - index = fromRight ? length : -1; - - while ((fromRight ? index-- : ++index < length) && - predicate(array[index], index, array)) {} - - return isDrop - ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length)) - : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index)); -} - -module.exports = baseWhile; diff --git a/src/node_modules/lodash/_baseWrapperValue.js b/src/node_modules/lodash/_baseWrapperValue.js deleted file mode 100644 index 443e0df..0000000 --- a/src/node_modules/lodash/_baseWrapperValue.js +++ /dev/null @@ -1,25 +0,0 @@ -var LazyWrapper = require('./_LazyWrapper'), - arrayPush = require('./_arrayPush'), - arrayReduce = require('./_arrayReduce'); - -/** - * The base implementation of `wrapperValue` which returns the result of - * performing a sequence of actions on the unwrapped `value`, where each - * successive action is supplied the return value of the previous. - * - * @private - * @param {*} value The unwrapped value. - * @param {Array} actions Actions to perform to resolve the unwrapped value. - * @returns {*} Returns the resolved value. - */ -function baseWrapperValue(value, actions) { - var result = value; - if (result instanceof LazyWrapper) { - result = result.value(); - } - return arrayReduce(actions, function(result, action) { - return action.func.apply(action.thisArg, arrayPush([result], action.args)); - }, result); -} - -module.exports = baseWrapperValue; diff --git a/src/node_modules/lodash/_baseXor.js b/src/node_modules/lodash/_baseXor.js deleted file mode 100644 index 8e69338..0000000 --- a/src/node_modules/lodash/_baseXor.js +++ /dev/null @@ -1,36 +0,0 @@ -var baseDifference = require('./_baseDifference'), - baseFlatten = require('./_baseFlatten'), - baseUniq = require('./_baseUniq'); - -/** - * The base implementation of methods like `_.xor`, without support for - * iteratee shorthands, that accepts an array of arrays to inspect. - * - * @private - * @param {Array} arrays The arrays to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of values. - */ -function baseXor(arrays, iteratee, comparator) { - var length = arrays.length; - if (length < 2) { - return length ? baseUniq(arrays[0]) : []; - } - var index = -1, - result = Array(length); - - while (++index < length) { - var array = arrays[index], - othIndex = -1; - - while (++othIndex < length) { - if (othIndex != index) { - result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator); - } - } - } - return baseUniq(baseFlatten(result, 1), iteratee, comparator); -} - -module.exports = baseXor; diff --git a/src/node_modules/lodash/_baseZipObject.js b/src/node_modules/lodash/_baseZipObject.js deleted file mode 100644 index 401f85b..0000000 --- a/src/node_modules/lodash/_baseZipObject.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * This base implementation of `_.zipObject` which assigns values using `assignFunc`. - * - * @private - * @param {Array} props The property identifiers. - * @param {Array} values The property values. - * @param {Function} assignFunc The function to assign values. - * @returns {Object} Returns the new object. - */ -function baseZipObject(props, values, assignFunc) { - var index = -1, - length = props.length, - valsLength = values.length, - result = {}; - - while (++index < length) { - var value = index < valsLength ? values[index] : undefined; - assignFunc(result, props[index], value); - } - return result; -} - -module.exports = baseZipObject; diff --git a/src/node_modules/lodash/_cacheHas.js b/src/node_modules/lodash/_cacheHas.js deleted file mode 100644 index 2dec892..0000000 --- a/src/node_modules/lodash/_cacheHas.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Checks if a `cache` value for `key` exists. - * - * @private - * @param {Object} cache The cache to query. - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function cacheHas(cache, key) { - return cache.has(key); -} - -module.exports = cacheHas; diff --git a/src/node_modules/lodash/_castArrayLikeObject.js b/src/node_modules/lodash/_castArrayLikeObject.js deleted file mode 100644 index 92c75fa..0000000 --- a/src/node_modules/lodash/_castArrayLikeObject.js +++ /dev/null @@ -1,14 +0,0 @@ -var isArrayLikeObject = require('./isArrayLikeObject'); - -/** - * Casts `value` to an empty array if it's not an array like object. - * - * @private - * @param {*} value The value to inspect. - * @returns {Array|Object} Returns the cast array-like object. - */ -function castArrayLikeObject(value) { - return isArrayLikeObject(value) ? value : []; -} - -module.exports = castArrayLikeObject; diff --git a/src/node_modules/lodash/_castFunction.js b/src/node_modules/lodash/_castFunction.js deleted file mode 100644 index 98c91ae..0000000 --- a/src/node_modules/lodash/_castFunction.js +++ /dev/null @@ -1,14 +0,0 @@ -var identity = require('./identity'); - -/** - * Casts `value` to `identity` if it's not a function. - * - * @private - * @param {*} value The value to inspect. - * @returns {Function} Returns cast function. - */ -function castFunction(value) { - return typeof value == 'function' ? value : identity; -} - -module.exports = castFunction; diff --git a/src/node_modules/lodash/_castPath.js b/src/node_modules/lodash/_castPath.js deleted file mode 100644 index 017e4c1..0000000 --- a/src/node_modules/lodash/_castPath.js +++ /dev/null @@ -1,21 +0,0 @@ -var isArray = require('./isArray'), - isKey = require('./_isKey'), - stringToPath = require('./_stringToPath'), - toString = require('./toString'); - -/** - * Casts `value` to a path array if it's not one. - * - * @private - * @param {*} value The value to inspect. - * @param {Object} [object] The object to query keys on. - * @returns {Array} Returns the cast property path array. - */ -function castPath(value, object) { - if (isArray(value)) { - return value; - } - return isKey(value, object) ? [value] : stringToPath(toString(value)); -} - -module.exports = castPath; diff --git a/src/node_modules/lodash/_castRest.js b/src/node_modules/lodash/_castRest.js deleted file mode 100644 index 213c66f..0000000 --- a/src/node_modules/lodash/_castRest.js +++ /dev/null @@ -1,14 +0,0 @@ -var baseRest = require('./_baseRest'); - -/** - * A `baseRest` alias which can be replaced with `identity` by module - * replacement plugins. - * - * @private - * @type {Function} - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. - */ -var castRest = baseRest; - -module.exports = castRest; diff --git a/src/node_modules/lodash/_castSlice.js b/src/node_modules/lodash/_castSlice.js deleted file mode 100644 index 071faeb..0000000 --- a/src/node_modules/lodash/_castSlice.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseSlice = require('./_baseSlice'); - -/** - * Casts `array` to a slice if it's needed. - * - * @private - * @param {Array} array The array to inspect. - * @param {number} start The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the cast slice. - */ -function castSlice(array, start, end) { - var length = array.length; - end = end === undefined ? length : end; - return (!start && end >= length) ? array : baseSlice(array, start, end); -} - -module.exports = castSlice; diff --git a/src/node_modules/lodash/_charsEndIndex.js b/src/node_modules/lodash/_charsEndIndex.js deleted file mode 100644 index 07908ff..0000000 --- a/src/node_modules/lodash/_charsEndIndex.js +++ /dev/null @@ -1,19 +0,0 @@ -var baseIndexOf = require('./_baseIndexOf'); - -/** - * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol - * that is not found in the character symbols. - * - * @private - * @param {Array} strSymbols The string symbols to inspect. - * @param {Array} chrSymbols The character symbols to find. - * @returns {number} Returns the index of the last unmatched string symbol. - */ -function charsEndIndex(strSymbols, chrSymbols) { - var index = strSymbols.length; - - while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} - return index; -} - -module.exports = charsEndIndex; diff --git a/src/node_modules/lodash/_charsStartIndex.js b/src/node_modules/lodash/_charsStartIndex.js deleted file mode 100644 index b17afd2..0000000 --- a/src/node_modules/lodash/_charsStartIndex.js +++ /dev/null @@ -1,20 +0,0 @@ -var baseIndexOf = require('./_baseIndexOf'); - -/** - * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol - * that is not found in the character symbols. - * - * @private - * @param {Array} strSymbols The string symbols to inspect. - * @param {Array} chrSymbols The character symbols to find. - * @returns {number} Returns the index of the first unmatched string symbol. - */ -function charsStartIndex(strSymbols, chrSymbols) { - var index = -1, - length = strSymbols.length; - - while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} - return index; -} - -module.exports = charsStartIndex; diff --git a/src/node_modules/lodash/_cloneArrayBuffer.js b/src/node_modules/lodash/_cloneArrayBuffer.js deleted file mode 100644 index c3d8f6e..0000000 --- a/src/node_modules/lodash/_cloneArrayBuffer.js +++ /dev/null @@ -1,16 +0,0 @@ -var Uint8Array = require('./_Uint8Array'); - -/** - * Creates a clone of `arrayBuffer`. - * - * @private - * @param {ArrayBuffer} arrayBuffer The array buffer to clone. - * @returns {ArrayBuffer} Returns the cloned array buffer. - */ -function cloneArrayBuffer(arrayBuffer) { - var result = new arrayBuffer.constructor(arrayBuffer.byteLength); - new Uint8Array(result).set(new Uint8Array(arrayBuffer)); - return result; -} - -module.exports = cloneArrayBuffer; diff --git a/src/node_modules/lodash/_cloneBuffer.js b/src/node_modules/lodash/_cloneBuffer.js deleted file mode 100644 index 27c4810..0000000 --- a/src/node_modules/lodash/_cloneBuffer.js +++ /dev/null @@ -1,35 +0,0 @@ -var root = require('./_root'); - -/** Detect free variable `exports`. */ -var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; - -/** Detect free variable `module`. */ -var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; - -/** Detect the popular CommonJS extension `module.exports`. */ -var moduleExports = freeModule && freeModule.exports === freeExports; - -/** Built-in value references. */ -var Buffer = moduleExports ? root.Buffer : undefined, - allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined; - -/** - * Creates a clone of `buffer`. - * - * @private - * @param {Buffer} buffer The buffer to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Buffer} Returns the cloned buffer. - */ -function cloneBuffer(buffer, isDeep) { - if (isDeep) { - return buffer.slice(); - } - var length = buffer.length, - result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); - - buffer.copy(result); - return result; -} - -module.exports = cloneBuffer; diff --git a/src/node_modules/lodash/_cloneDataView.js b/src/node_modules/lodash/_cloneDataView.js deleted file mode 100644 index 9c9b7b0..0000000 --- a/src/node_modules/lodash/_cloneDataView.js +++ /dev/null @@ -1,16 +0,0 @@ -var cloneArrayBuffer = require('./_cloneArrayBuffer'); - -/** - * Creates a clone of `dataView`. - * - * @private - * @param {Object} dataView The data view to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned data view. - */ -function cloneDataView(dataView, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer; - return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength); -} - -module.exports = cloneDataView; diff --git a/src/node_modules/lodash/_cloneMap.js b/src/node_modules/lodash/_cloneMap.js deleted file mode 100644 index 334b73e..0000000 --- a/src/node_modules/lodash/_cloneMap.js +++ /dev/null @@ -1,22 +0,0 @@ -var addMapEntry = require('./_addMapEntry'), - arrayReduce = require('./_arrayReduce'), - mapToArray = require('./_mapToArray'); - -/** Used to compose bitmasks for cloning. */ -var CLONE_DEEP_FLAG = 1; - -/** - * Creates a clone of `map`. - * - * @private - * @param {Object} map The map to clone. - * @param {Function} cloneFunc The function to clone values. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned map. - */ -function cloneMap(map, isDeep, cloneFunc) { - var array = isDeep ? cloneFunc(mapToArray(map), CLONE_DEEP_FLAG) : mapToArray(map); - return arrayReduce(array, addMapEntry, new map.constructor); -} - -module.exports = cloneMap; diff --git a/src/node_modules/lodash/_cloneRegExp.js b/src/node_modules/lodash/_cloneRegExp.js deleted file mode 100644 index 64a30df..0000000 --- a/src/node_modules/lodash/_cloneRegExp.js +++ /dev/null @@ -1,17 +0,0 @@ -/** Used to match `RegExp` flags from their coerced string values. */ -var reFlags = /\w*$/; - -/** - * Creates a clone of `regexp`. - * - * @private - * @param {Object} regexp The regexp to clone. - * @returns {Object} Returns the cloned regexp. - */ -function cloneRegExp(regexp) { - var result = new regexp.constructor(regexp.source, reFlags.exec(regexp)); - result.lastIndex = regexp.lastIndex; - return result; -} - -module.exports = cloneRegExp; diff --git a/src/node_modules/lodash/_cloneSet.js b/src/node_modules/lodash/_cloneSet.js deleted file mode 100644 index 713a2f7..0000000 --- a/src/node_modules/lodash/_cloneSet.js +++ /dev/null @@ -1,22 +0,0 @@ -var addSetEntry = require('./_addSetEntry'), - arrayReduce = require('./_arrayReduce'), - setToArray = require('./_setToArray'); - -/** Used to compose bitmasks for cloning. */ -var CLONE_DEEP_FLAG = 1; - -/** - * Creates a clone of `set`. - * - * @private - * @param {Object} set The set to clone. - * @param {Function} cloneFunc The function to clone values. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned set. - */ -function cloneSet(set, isDeep, cloneFunc) { - var array = isDeep ? cloneFunc(setToArray(set), CLONE_DEEP_FLAG) : setToArray(set); - return arrayReduce(array, addSetEntry, new set.constructor); -} - -module.exports = cloneSet; diff --git a/src/node_modules/lodash/_cloneSymbol.js b/src/node_modules/lodash/_cloneSymbol.js deleted file mode 100644 index bede39f..0000000 --- a/src/node_modules/lodash/_cloneSymbol.js +++ /dev/null @@ -1,18 +0,0 @@ -var Symbol = require('./_Symbol'); - -/** Used to convert symbols to primitives and strings. */ -var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; - -/** - * Creates a clone of the `symbol` object. - * - * @private - * @param {Object} symbol The symbol object to clone. - * @returns {Object} Returns the cloned symbol object. - */ -function cloneSymbol(symbol) { - return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {}; -} - -module.exports = cloneSymbol; diff --git a/src/node_modules/lodash/_cloneTypedArray.js b/src/node_modules/lodash/_cloneTypedArray.js deleted file mode 100644 index 7aad84d..0000000 --- a/src/node_modules/lodash/_cloneTypedArray.js +++ /dev/null @@ -1,16 +0,0 @@ -var cloneArrayBuffer = require('./_cloneArrayBuffer'); - -/** - * Creates a clone of `typedArray`. - * - * @private - * @param {Object} typedArray The typed array to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned typed array. - */ -function cloneTypedArray(typedArray, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; - return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); -} - -module.exports = cloneTypedArray; diff --git a/src/node_modules/lodash/_compareAscending.js b/src/node_modules/lodash/_compareAscending.js deleted file mode 100644 index 8dc2791..0000000 --- a/src/node_modules/lodash/_compareAscending.js +++ /dev/null @@ -1,41 +0,0 @@ -var isSymbol = require('./isSymbol'); - -/** - * Compares values to sort them in ascending order. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {number} Returns the sort order indicator for `value`. - */ -function compareAscending(value, other) { - if (value !== other) { - var valIsDefined = value !== undefined, - valIsNull = value === null, - valIsReflexive = value === value, - valIsSymbol = isSymbol(value); - - var othIsDefined = other !== undefined, - othIsNull = other === null, - othIsReflexive = other === other, - othIsSymbol = isSymbol(other); - - if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) || - (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) || - (valIsNull && othIsDefined && othIsReflexive) || - (!valIsDefined && othIsReflexive) || - !valIsReflexive) { - return 1; - } - if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) || - (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) || - (othIsNull && valIsDefined && valIsReflexive) || - (!othIsDefined && valIsReflexive) || - !othIsReflexive) { - return -1; - } - } - return 0; -} - -module.exports = compareAscending; diff --git a/src/node_modules/lodash/_compareMultiple.js b/src/node_modules/lodash/_compareMultiple.js deleted file mode 100644 index ad61f0f..0000000 --- a/src/node_modules/lodash/_compareMultiple.js +++ /dev/null @@ -1,44 +0,0 @@ -var compareAscending = require('./_compareAscending'); - -/** - * Used by `_.orderBy` to compare multiple properties of a value to another - * and stable sort them. - * - * If `orders` is unspecified, all values are sorted in ascending order. Otherwise, - * specify an order of "desc" for descending or "asc" for ascending sort order - * of corresponding values. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {boolean[]|string[]} orders The order to sort by for each property. - * @returns {number} Returns the sort order indicator for `object`. - */ -function compareMultiple(object, other, orders) { - var index = -1, - objCriteria = object.criteria, - othCriteria = other.criteria, - length = objCriteria.length, - ordersLength = orders.length; - - while (++index < length) { - var result = compareAscending(objCriteria[index], othCriteria[index]); - if (result) { - if (index >= ordersLength) { - return result; - } - var order = orders[index]; - return result * (order == 'desc' ? -1 : 1); - } - } - // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications - // that causes it, under certain circumstances, to provide the same value for - // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247 - // for more details. - // - // This also ensures a stable sort in V8 and other engines. - // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details. - return object.index - other.index; -} - -module.exports = compareMultiple; diff --git a/src/node_modules/lodash/_composeArgs.js b/src/node_modules/lodash/_composeArgs.js deleted file mode 100644 index 1ce40f4..0000000 --- a/src/node_modules/lodash/_composeArgs.js +++ /dev/null @@ -1,39 +0,0 @@ -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * Creates an array that is the composition of partially applied arguments, - * placeholders, and provided arguments into a single array of arguments. - * - * @private - * @param {Array} args The provided arguments. - * @param {Array} partials The arguments to prepend to those provided. - * @param {Array} holders The `partials` placeholder indexes. - * @params {boolean} [isCurried] Specify composing for a curried function. - * @returns {Array} Returns the new array of composed arguments. - */ -function composeArgs(args, partials, holders, isCurried) { - var argsIndex = -1, - argsLength = args.length, - holdersLength = holders.length, - leftIndex = -1, - leftLength = partials.length, - rangeLength = nativeMax(argsLength - holdersLength, 0), - result = Array(leftLength + rangeLength), - isUncurried = !isCurried; - - while (++leftIndex < leftLength) { - result[leftIndex] = partials[leftIndex]; - } - while (++argsIndex < holdersLength) { - if (isUncurried || argsIndex < argsLength) { - result[holders[argsIndex]] = args[argsIndex]; - } - } - while (rangeLength--) { - result[leftIndex++] = args[argsIndex++]; - } - return result; -} - -module.exports = composeArgs; diff --git a/src/node_modules/lodash/_composeArgsRight.js b/src/node_modules/lodash/_composeArgsRight.js deleted file mode 100644 index 8dc588d..0000000 --- a/src/node_modules/lodash/_composeArgsRight.js +++ /dev/null @@ -1,41 +0,0 @@ -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * This function is like `composeArgs` except that the arguments composition - * is tailored for `_.partialRight`. - * - * @private - * @param {Array} args The provided arguments. - * @param {Array} partials The arguments to append to those provided. - * @param {Array} holders The `partials` placeholder indexes. - * @params {boolean} [isCurried] Specify composing for a curried function. - * @returns {Array} Returns the new array of composed arguments. - */ -function composeArgsRight(args, partials, holders, isCurried) { - var argsIndex = -1, - argsLength = args.length, - holdersIndex = -1, - holdersLength = holders.length, - rightIndex = -1, - rightLength = partials.length, - rangeLength = nativeMax(argsLength - holdersLength, 0), - result = Array(rangeLength + rightLength), - isUncurried = !isCurried; - - while (++argsIndex < rangeLength) { - result[argsIndex] = args[argsIndex]; - } - var offset = argsIndex; - while (++rightIndex < rightLength) { - result[offset + rightIndex] = partials[rightIndex]; - } - while (++holdersIndex < holdersLength) { - if (isUncurried || argsIndex < argsLength) { - result[offset + holders[holdersIndex]] = args[argsIndex++]; - } - } - return result; -} - -module.exports = composeArgsRight; diff --git a/src/node_modules/lodash/_copyArray.js b/src/node_modules/lodash/_copyArray.js deleted file mode 100644 index cd94d5d..0000000 --- a/src/node_modules/lodash/_copyArray.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copies the values of `source` to `array`. - * - * @private - * @param {Array} source The array to copy values from. - * @param {Array} [array=[]] The array to copy values to. - * @returns {Array} Returns `array`. - */ -function copyArray(source, array) { - var index = -1, - length = source.length; - - array || (array = Array(length)); - while (++index < length) { - array[index] = source[index]; - } - return array; -} - -module.exports = copyArray; diff --git a/src/node_modules/lodash/_copyObject.js b/src/node_modules/lodash/_copyObject.js deleted file mode 100644 index 2f2a5c2..0000000 --- a/src/node_modules/lodash/_copyObject.js +++ /dev/null @@ -1,40 +0,0 @@ -var assignValue = require('./_assignValue'), - baseAssignValue = require('./_baseAssignValue'); - -/** - * Copies properties of `source` to `object`. - * - * @private - * @param {Object} source The object to copy properties from. - * @param {Array} props The property identifiers to copy. - * @param {Object} [object={}] The object to copy properties to. - * @param {Function} [customizer] The function to customize copied values. - * @returns {Object} Returns `object`. - */ -function copyObject(source, props, object, customizer) { - var isNew = !object; - object || (object = {}); - - var index = -1, - length = props.length; - - while (++index < length) { - var key = props[index]; - - var newValue = customizer - ? customizer(object[key], source[key], key, object, source) - : undefined; - - if (newValue === undefined) { - newValue = source[key]; - } - if (isNew) { - baseAssignValue(object, key, newValue); - } else { - assignValue(object, key, newValue); - } - } - return object; -} - -module.exports = copyObject; diff --git a/src/node_modules/lodash/_copySymbols.js b/src/node_modules/lodash/_copySymbols.js deleted file mode 100644 index c35944a..0000000 --- a/src/node_modules/lodash/_copySymbols.js +++ /dev/null @@ -1,16 +0,0 @@ -var copyObject = require('./_copyObject'), - getSymbols = require('./_getSymbols'); - -/** - * Copies own symbols of `source` to `object`. - * - * @private - * @param {Object} source The object to copy symbols from. - * @param {Object} [object={}] The object to copy symbols to. - * @returns {Object} Returns `object`. - */ -function copySymbols(source, object) { - return copyObject(source, getSymbols(source), object); -} - -module.exports = copySymbols; diff --git a/src/node_modules/lodash/_copySymbolsIn.js b/src/node_modules/lodash/_copySymbolsIn.js deleted file mode 100644 index fdf20a7..0000000 --- a/src/node_modules/lodash/_copySymbolsIn.js +++ /dev/null @@ -1,16 +0,0 @@ -var copyObject = require('./_copyObject'), - getSymbolsIn = require('./_getSymbolsIn'); - -/** - * Copies own and inherited symbols of `source` to `object`. - * - * @private - * @param {Object} source The object to copy symbols from. - * @param {Object} [object={}] The object to copy symbols to. - * @returns {Object} Returns `object`. - */ -function copySymbolsIn(source, object) { - return copyObject(source, getSymbolsIn(source), object); -} - -module.exports = copySymbolsIn; diff --git a/src/node_modules/lodash/_coreJsData.js b/src/node_modules/lodash/_coreJsData.js deleted file mode 100644 index f8e5b4e..0000000 --- a/src/node_modules/lodash/_coreJsData.js +++ /dev/null @@ -1,6 +0,0 @@ -var root = require('./_root'); - -/** Used to detect overreaching core-js shims. */ -var coreJsData = root['__core-js_shared__']; - -module.exports = coreJsData; diff --git a/src/node_modules/lodash/_countHolders.js b/src/node_modules/lodash/_countHolders.js deleted file mode 100644 index 718fcda..0000000 --- a/src/node_modules/lodash/_countHolders.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Gets the number of `placeholder` occurrences in `array`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} placeholder The placeholder to search for. - * @returns {number} Returns the placeholder count. - */ -function countHolders(array, placeholder) { - var length = array.length, - result = 0; - - while (length--) { - if (array[length] === placeholder) { - ++result; - } - } - return result; -} - -module.exports = countHolders; diff --git a/src/node_modules/lodash/_createAggregator.js b/src/node_modules/lodash/_createAggregator.js deleted file mode 100644 index 0be42c4..0000000 --- a/src/node_modules/lodash/_createAggregator.js +++ /dev/null @@ -1,23 +0,0 @@ -var arrayAggregator = require('./_arrayAggregator'), - baseAggregator = require('./_baseAggregator'), - baseIteratee = require('./_baseIteratee'), - isArray = require('./isArray'); - -/** - * Creates a function like `_.groupBy`. - * - * @private - * @param {Function} setter The function to set accumulator values. - * @param {Function} [initializer] The accumulator object initializer. - * @returns {Function} Returns the new aggregator function. - */ -function createAggregator(setter, initializer) { - return function(collection, iteratee) { - var func = isArray(collection) ? arrayAggregator : baseAggregator, - accumulator = initializer ? initializer() : {}; - - return func(collection, setter, baseIteratee(iteratee, 2), accumulator); - }; -} - -module.exports = createAggregator; diff --git a/src/node_modules/lodash/_createAssigner.js b/src/node_modules/lodash/_createAssigner.js deleted file mode 100644 index 1f904c5..0000000 --- a/src/node_modules/lodash/_createAssigner.js +++ /dev/null @@ -1,37 +0,0 @@ -var baseRest = require('./_baseRest'), - isIterateeCall = require('./_isIterateeCall'); - -/** - * Creates a function like `_.assign`. - * - * @private - * @param {Function} assigner The function to assign values. - * @returns {Function} Returns the new assigner function. - */ -function createAssigner(assigner) { - return baseRest(function(object, sources) { - var index = -1, - length = sources.length, - customizer = length > 1 ? sources[length - 1] : undefined, - guard = length > 2 ? sources[2] : undefined; - - customizer = (assigner.length > 3 && typeof customizer == 'function') - ? (length--, customizer) - : undefined; - - if (guard && isIterateeCall(sources[0], sources[1], guard)) { - customizer = length < 3 ? undefined : customizer; - length = 1; - } - object = Object(object); - while (++index < length) { - var source = sources[index]; - if (source) { - assigner(object, source, index, customizer); - } - } - return object; - }); -} - -module.exports = createAssigner; diff --git a/src/node_modules/lodash/_createBaseEach.js b/src/node_modules/lodash/_createBaseEach.js deleted file mode 100644 index d24fdd1..0000000 --- a/src/node_modules/lodash/_createBaseEach.js +++ /dev/null @@ -1,32 +0,0 @@ -var isArrayLike = require('./isArrayLike'); - -/** - * Creates a `baseEach` or `baseEachRight` function. - * - * @private - * @param {Function} eachFunc The function to iterate over a collection. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ -function createBaseEach(eachFunc, fromRight) { - return function(collection, iteratee) { - if (collection == null) { - return collection; - } - if (!isArrayLike(collection)) { - return eachFunc(collection, iteratee); - } - var length = collection.length, - index = fromRight ? length : -1, - iterable = Object(collection); - - while ((fromRight ? index-- : ++index < length)) { - if (iteratee(iterable[index], index, iterable) === false) { - break; - } - } - return collection; - }; -} - -module.exports = createBaseEach; diff --git a/src/node_modules/lodash/_createBaseFor.js b/src/node_modules/lodash/_createBaseFor.js deleted file mode 100644 index 94cbf29..0000000 --- a/src/node_modules/lodash/_createBaseFor.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Creates a base function for methods like `_.forIn` and `_.forOwn`. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ -function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { - var index = -1, - iterable = Object(object), - props = keysFunc(object), - length = props.length; - - while (length--) { - var key = props[fromRight ? length : ++index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - }; -} - -module.exports = createBaseFor; diff --git a/src/node_modules/lodash/_createBind.js b/src/node_modules/lodash/_createBind.js deleted file mode 100644 index 07cb99f..0000000 --- a/src/node_modules/lodash/_createBind.js +++ /dev/null @@ -1,28 +0,0 @@ -var createCtor = require('./_createCtor'), - root = require('./_root'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_BIND_FLAG = 1; - -/** - * Creates a function that wraps `func` to invoke it with the optional `this` - * binding of `thisArg`. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} [thisArg] The `this` binding of `func`. - * @returns {Function} Returns the new wrapped function. - */ -function createBind(func, bitmask, thisArg) { - var isBind = bitmask & WRAP_BIND_FLAG, - Ctor = createCtor(func); - - function wrapper() { - var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - return fn.apply(isBind ? thisArg : this, arguments); - } - return wrapper; -} - -module.exports = createBind; diff --git a/src/node_modules/lodash/_createCaseFirst.js b/src/node_modules/lodash/_createCaseFirst.js deleted file mode 100644 index fe8ea48..0000000 --- a/src/node_modules/lodash/_createCaseFirst.js +++ /dev/null @@ -1,33 +0,0 @@ -var castSlice = require('./_castSlice'), - hasUnicode = require('./_hasUnicode'), - stringToArray = require('./_stringToArray'), - toString = require('./toString'); - -/** - * Creates a function like `_.lowerFirst`. - * - * @private - * @param {string} methodName The name of the `String` case method to use. - * @returns {Function} Returns the new case function. - */ -function createCaseFirst(methodName) { - return function(string) { - string = toString(string); - - var strSymbols = hasUnicode(string) - ? stringToArray(string) - : undefined; - - var chr = strSymbols - ? strSymbols[0] - : string.charAt(0); - - var trailing = strSymbols - ? castSlice(strSymbols, 1).join('') - : string.slice(1); - - return chr[methodName]() + trailing; - }; -} - -module.exports = createCaseFirst; diff --git a/src/node_modules/lodash/_createCompounder.js b/src/node_modules/lodash/_createCompounder.js deleted file mode 100644 index 8d4cee2..0000000 --- a/src/node_modules/lodash/_createCompounder.js +++ /dev/null @@ -1,24 +0,0 @@ -var arrayReduce = require('./_arrayReduce'), - deburr = require('./deburr'), - words = require('./words'); - -/** Used to compose unicode capture groups. */ -var rsApos = "['\u2019]"; - -/** Used to match apostrophes. */ -var reApos = RegExp(rsApos, 'g'); - -/** - * Creates a function like `_.camelCase`. - * - * @private - * @param {Function} callback The function to combine each word. - * @returns {Function} Returns the new compounder function. - */ -function createCompounder(callback) { - return function(string) { - return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); - }; -} - -module.exports = createCompounder; diff --git a/src/node_modules/lodash/_createCtor.js b/src/node_modules/lodash/_createCtor.js deleted file mode 100644 index 9047aa5..0000000 --- a/src/node_modules/lodash/_createCtor.js +++ /dev/null @@ -1,37 +0,0 @@ -var baseCreate = require('./_baseCreate'), - isObject = require('./isObject'); - -/** - * Creates a function that produces an instance of `Ctor` regardless of - * whether it was invoked as part of a `new` expression or by `call` or `apply`. - * - * @private - * @param {Function} Ctor The constructor to wrap. - * @returns {Function} Returns the new wrapped function. - */ -function createCtor(Ctor) { - return function() { - // Use a `switch` statement to work with class constructors. See - // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist - // for more details. - var args = arguments; - switch (args.length) { - case 0: return new Ctor; - case 1: return new Ctor(args[0]); - case 2: return new Ctor(args[0], args[1]); - case 3: return new Ctor(args[0], args[1], args[2]); - case 4: return new Ctor(args[0], args[1], args[2], args[3]); - case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]); - case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]); - case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]); - } - var thisBinding = baseCreate(Ctor.prototype), - result = Ctor.apply(thisBinding, args); - - // Mimic the constructor's `return` behavior. - // See https://es5.github.io/#x13.2.2 for more details. - return isObject(result) ? result : thisBinding; - }; -} - -module.exports = createCtor; diff --git a/src/node_modules/lodash/_createCurry.js b/src/node_modules/lodash/_createCurry.js deleted file mode 100644 index f06c2cd..0000000 --- a/src/node_modules/lodash/_createCurry.js +++ /dev/null @@ -1,46 +0,0 @@ -var apply = require('./_apply'), - createCtor = require('./_createCtor'), - createHybrid = require('./_createHybrid'), - createRecurry = require('./_createRecurry'), - getHolder = require('./_getHolder'), - replaceHolders = require('./_replaceHolders'), - root = require('./_root'); - -/** - * Creates a function that wraps `func` to enable currying. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {number} arity The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ -function createCurry(func, bitmask, arity) { - var Ctor = createCtor(func); - - function wrapper() { - var length = arguments.length, - args = Array(length), - index = length, - placeholder = getHolder(wrapper); - - while (index--) { - args[index] = arguments[index]; - } - var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder) - ? [] - : replaceHolders(args, placeholder); - - length -= holders.length; - if (length < arity) { - return createRecurry( - func, bitmask, createHybrid, wrapper.placeholder, undefined, - args, holders, undefined, undefined, arity - length); - } - var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - return apply(fn, this, args); - } - return wrapper; -} - -module.exports = createCurry; diff --git a/src/node_modules/lodash/_createFind.js b/src/node_modules/lodash/_createFind.js deleted file mode 100644 index 8859ff8..0000000 --- a/src/node_modules/lodash/_createFind.js +++ /dev/null @@ -1,25 +0,0 @@ -var baseIteratee = require('./_baseIteratee'), - isArrayLike = require('./isArrayLike'), - keys = require('./keys'); - -/** - * Creates a `_.find` or `_.findLast` function. - * - * @private - * @param {Function} findIndexFunc The function to find the collection index. - * @returns {Function} Returns the new find function. - */ -function createFind(findIndexFunc) { - return function(collection, predicate, fromIndex) { - var iterable = Object(collection); - if (!isArrayLike(collection)) { - var iteratee = baseIteratee(predicate, 3); - collection = keys(collection); - predicate = function(key) { return iteratee(iterable[key], key, iterable); }; - } - var index = findIndexFunc(collection, predicate, fromIndex); - return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined; - }; -} - -module.exports = createFind; diff --git a/src/node_modules/lodash/_createFlow.js b/src/node_modules/lodash/_createFlow.js deleted file mode 100644 index baaddbf..0000000 --- a/src/node_modules/lodash/_createFlow.js +++ /dev/null @@ -1,78 +0,0 @@ -var LodashWrapper = require('./_LodashWrapper'), - flatRest = require('./_flatRest'), - getData = require('./_getData'), - getFuncName = require('./_getFuncName'), - isArray = require('./isArray'), - isLaziable = require('./_isLaziable'); - -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** Used to compose bitmasks for function metadata. */ -var WRAP_CURRY_FLAG = 8, - WRAP_PARTIAL_FLAG = 32, - WRAP_ARY_FLAG = 128, - WRAP_REARG_FLAG = 256; - -/** - * Creates a `_.flow` or `_.flowRight` function. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new flow function. - */ -function createFlow(fromRight) { - return flatRest(function(funcs) { - var length = funcs.length, - index = length, - prereq = LodashWrapper.prototype.thru; - - if (fromRight) { - funcs.reverse(); - } - while (index--) { - var func = funcs[index]; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - if (prereq && !wrapper && getFuncName(func) == 'wrapper') { - var wrapper = new LodashWrapper([], true); - } - } - index = wrapper ? index : length; - while (++index < length) { - func = funcs[index]; - - var funcName = getFuncName(func), - data = funcName == 'wrapper' ? getData(func) : undefined; - - if (data && isLaziable(data[0]) && - data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && - !data[4].length && data[9] == 1 - ) { - wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]); - } else { - wrapper = (func.length == 1 && isLaziable(func)) - ? wrapper[funcName]() - : wrapper.thru(func); - } - } - return function() { - var args = arguments, - value = args[0]; - - if (wrapper && args.length == 1 && isArray(value)) { - return wrapper.plant(value).value(); - } - var index = 0, - result = length ? funcs[index].apply(this, args) : value; - - while (++index < length) { - result = funcs[index].call(this, result); - } - return result; - }; - }); -} - -module.exports = createFlow; diff --git a/src/node_modules/lodash/_createHybrid.js b/src/node_modules/lodash/_createHybrid.js deleted file mode 100644 index b671bd1..0000000 --- a/src/node_modules/lodash/_createHybrid.js +++ /dev/null @@ -1,92 +0,0 @@ -var composeArgs = require('./_composeArgs'), - composeArgsRight = require('./_composeArgsRight'), - countHolders = require('./_countHolders'), - createCtor = require('./_createCtor'), - createRecurry = require('./_createRecurry'), - getHolder = require('./_getHolder'), - reorder = require('./_reorder'), - replaceHolders = require('./_replaceHolders'), - root = require('./_root'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_BIND_FLAG = 1, - WRAP_BIND_KEY_FLAG = 2, - WRAP_CURRY_FLAG = 8, - WRAP_CURRY_RIGHT_FLAG = 16, - WRAP_ARY_FLAG = 128, - WRAP_FLIP_FLAG = 512; - -/** - * Creates a function that wraps `func` to invoke it with optional `this` - * binding of `thisArg`, partial application, and currying. - * - * @private - * @param {Function|string} func The function or method name to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to prepend to those provided to - * the new function. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [partialsRight] The arguments to append to those provided - * to the new function. - * @param {Array} [holdersRight] The `partialsRight` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ -function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) { - var isAry = bitmask & WRAP_ARY_FLAG, - isBind = bitmask & WRAP_BIND_FLAG, - isBindKey = bitmask & WRAP_BIND_KEY_FLAG, - isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), - isFlip = bitmask & WRAP_FLIP_FLAG, - Ctor = isBindKey ? undefined : createCtor(func); - - function wrapper() { - var length = arguments.length, - args = Array(length), - index = length; - - while (index--) { - args[index] = arguments[index]; - } - if (isCurried) { - var placeholder = getHolder(wrapper), - holdersCount = countHolders(args, placeholder); - } - if (partials) { - args = composeArgs(args, partials, holders, isCurried); - } - if (partialsRight) { - args = composeArgsRight(args, partialsRight, holdersRight, isCurried); - } - length -= holdersCount; - if (isCurried && length < arity) { - var newHolders = replaceHolders(args, placeholder); - return createRecurry( - func, bitmask, createHybrid, wrapper.placeholder, thisArg, - args, newHolders, argPos, ary, arity - length - ); - } - var thisBinding = isBind ? thisArg : this, - fn = isBindKey ? thisBinding[func] : func; - - length = args.length; - if (argPos) { - args = reorder(args, argPos); - } else if (isFlip && length > 1) { - args.reverse(); - } - if (isAry && ary < length) { - args.length = ary; - } - if (this && this !== root && this instanceof wrapper) { - fn = Ctor || createCtor(fn); - } - return fn.apply(thisBinding, args); - } - return wrapper; -} - -module.exports = createHybrid; diff --git a/src/node_modules/lodash/_createInverter.js b/src/node_modules/lodash/_createInverter.js deleted file mode 100644 index 6c0c562..0000000 --- a/src/node_modules/lodash/_createInverter.js +++ /dev/null @@ -1,17 +0,0 @@ -var baseInverter = require('./_baseInverter'); - -/** - * Creates a function like `_.invertBy`. - * - * @private - * @param {Function} setter The function to set accumulator values. - * @param {Function} toIteratee The function to resolve iteratees. - * @returns {Function} Returns the new inverter function. - */ -function createInverter(setter, toIteratee) { - return function(object, iteratee) { - return baseInverter(object, setter, toIteratee(iteratee), {}); - }; -} - -module.exports = createInverter; diff --git a/src/node_modules/lodash/_createMathOperation.js b/src/node_modules/lodash/_createMathOperation.js deleted file mode 100644 index f1e238a..0000000 --- a/src/node_modules/lodash/_createMathOperation.js +++ /dev/null @@ -1,38 +0,0 @@ -var baseToNumber = require('./_baseToNumber'), - baseToString = require('./_baseToString'); - -/** - * Creates a function that performs a mathematical operation on two values. - * - * @private - * @param {Function} operator The function to perform the operation. - * @param {number} [defaultValue] The value used for `undefined` arguments. - * @returns {Function} Returns the new mathematical operation function. - */ -function createMathOperation(operator, defaultValue) { - return function(value, other) { - var result; - if (value === undefined && other === undefined) { - return defaultValue; - } - if (value !== undefined) { - result = value; - } - if (other !== undefined) { - if (result === undefined) { - return other; - } - if (typeof value == 'string' || typeof other == 'string') { - value = baseToString(value); - other = baseToString(other); - } else { - value = baseToNumber(value); - other = baseToNumber(other); - } - result = operator(value, other); - } - return result; - }; -} - -module.exports = createMathOperation; diff --git a/src/node_modules/lodash/_createOver.js b/src/node_modules/lodash/_createOver.js deleted file mode 100644 index 3b94551..0000000 --- a/src/node_modules/lodash/_createOver.js +++ /dev/null @@ -1,27 +0,0 @@ -var apply = require('./_apply'), - arrayMap = require('./_arrayMap'), - baseIteratee = require('./_baseIteratee'), - baseRest = require('./_baseRest'), - baseUnary = require('./_baseUnary'), - flatRest = require('./_flatRest'); - -/** - * Creates a function like `_.over`. - * - * @private - * @param {Function} arrayFunc The function to iterate over iteratees. - * @returns {Function} Returns the new over function. - */ -function createOver(arrayFunc) { - return flatRest(function(iteratees) { - iteratees = arrayMap(iteratees, baseUnary(baseIteratee)); - return baseRest(function(args) { - var thisArg = this; - return arrayFunc(iteratees, function(iteratee) { - return apply(iteratee, thisArg, args); - }); - }); - }); -} - -module.exports = createOver; diff --git a/src/node_modules/lodash/_createPadding.js b/src/node_modules/lodash/_createPadding.js deleted file mode 100644 index 2124612..0000000 --- a/src/node_modules/lodash/_createPadding.js +++ /dev/null @@ -1,33 +0,0 @@ -var baseRepeat = require('./_baseRepeat'), - baseToString = require('./_baseToString'), - castSlice = require('./_castSlice'), - hasUnicode = require('./_hasUnicode'), - stringSize = require('./_stringSize'), - stringToArray = require('./_stringToArray'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeCeil = Math.ceil; - -/** - * Creates the padding for `string` based on `length`. The `chars` string - * is truncated if the number of characters exceeds `length`. - * - * @private - * @param {number} length The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padding for `string`. - */ -function createPadding(length, chars) { - chars = chars === undefined ? ' ' : baseToString(chars); - - var charsLength = chars.length; - if (charsLength < 2) { - return charsLength ? baseRepeat(chars, length) : chars; - } - var result = baseRepeat(chars, nativeCeil(length / stringSize(chars))); - return hasUnicode(chars) - ? castSlice(stringToArray(result), 0, length).join('') - : result.slice(0, length); -} - -module.exports = createPadding; diff --git a/src/node_modules/lodash/_createPartial.js b/src/node_modules/lodash/_createPartial.js deleted file mode 100644 index e16c248..0000000 --- a/src/node_modules/lodash/_createPartial.js +++ /dev/null @@ -1,43 +0,0 @@ -var apply = require('./_apply'), - createCtor = require('./_createCtor'), - root = require('./_root'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_BIND_FLAG = 1; - -/** - * Creates a function that wraps `func` to invoke it with the `this` binding - * of `thisArg` and `partials` prepended to the arguments it receives. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} partials The arguments to prepend to those provided to - * the new function. - * @returns {Function} Returns the new wrapped function. - */ -function createPartial(func, bitmask, thisArg, partials) { - var isBind = bitmask & WRAP_BIND_FLAG, - Ctor = createCtor(func); - - function wrapper() { - var argsIndex = -1, - argsLength = arguments.length, - leftIndex = -1, - leftLength = partials.length, - args = Array(leftLength + argsLength), - fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - - while (++leftIndex < leftLength) { - args[leftIndex] = partials[leftIndex]; - } - while (argsLength--) { - args[leftIndex++] = arguments[++argsIndex]; - } - return apply(fn, isBind ? thisArg : this, args); - } - return wrapper; -} - -module.exports = createPartial; diff --git a/src/node_modules/lodash/_createRange.js b/src/node_modules/lodash/_createRange.js deleted file mode 100644 index 9f52c77..0000000 --- a/src/node_modules/lodash/_createRange.js +++ /dev/null @@ -1,30 +0,0 @@ -var baseRange = require('./_baseRange'), - isIterateeCall = require('./_isIterateeCall'), - toFinite = require('./toFinite'); - -/** - * Creates a `_.range` or `_.rangeRight` function. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new range function. - */ -function createRange(fromRight) { - return function(start, end, step) { - if (step && typeof step != 'number' && isIterateeCall(start, end, step)) { - end = step = undefined; - } - // Ensure the sign of `-0` is preserved. - start = toFinite(start); - if (end === undefined) { - end = start; - start = 0; - } else { - end = toFinite(end); - } - step = step === undefined ? (start < end ? 1 : -1) : toFinite(step); - return baseRange(start, end, step, fromRight); - }; -} - -module.exports = createRange; diff --git a/src/node_modules/lodash/_createRecurry.js b/src/node_modules/lodash/_createRecurry.js deleted file mode 100644 index eb29fb2..0000000 --- a/src/node_modules/lodash/_createRecurry.js +++ /dev/null @@ -1,56 +0,0 @@ -var isLaziable = require('./_isLaziable'), - setData = require('./_setData'), - setWrapToString = require('./_setWrapToString'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_BIND_FLAG = 1, - WRAP_BIND_KEY_FLAG = 2, - WRAP_CURRY_BOUND_FLAG = 4, - WRAP_CURRY_FLAG = 8, - WRAP_PARTIAL_FLAG = 32, - WRAP_PARTIAL_RIGHT_FLAG = 64; - -/** - * Creates a function that wraps `func` to continue currying. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {Function} wrapFunc The function to create the `func` wrapper. - * @param {*} placeholder The placeholder value. - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to prepend to those provided to - * the new function. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ -function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) { - var isCurry = bitmask & WRAP_CURRY_FLAG, - newHolders = isCurry ? holders : undefined, - newHoldersRight = isCurry ? undefined : holders, - newPartials = isCurry ? partials : undefined, - newPartialsRight = isCurry ? undefined : partials; - - bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG); - bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG); - - if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) { - bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG); - } - var newData = [ - func, bitmask, thisArg, newPartials, newHolders, newPartialsRight, - newHoldersRight, argPos, ary, arity - ]; - - var result = wrapFunc.apply(undefined, newData); - if (isLaziable(func)) { - setData(result, newData); - } - result.placeholder = placeholder; - return setWrapToString(result, func, bitmask); -} - -module.exports = createRecurry; diff --git a/src/node_modules/lodash/_createRelationalOperation.js b/src/node_modules/lodash/_createRelationalOperation.js deleted file mode 100644 index a17c6b5..0000000 --- a/src/node_modules/lodash/_createRelationalOperation.js +++ /dev/null @@ -1,20 +0,0 @@ -var toNumber = require('./toNumber'); - -/** - * Creates a function that performs a relational operation on two values. - * - * @private - * @param {Function} operator The function to perform the operation. - * @returns {Function} Returns the new relational operation function. - */ -function createRelationalOperation(operator) { - return function(value, other) { - if (!(typeof value == 'string' && typeof other == 'string')) { - value = toNumber(value); - other = toNumber(other); - } - return operator(value, other); - }; -} - -module.exports = createRelationalOperation; diff --git a/src/node_modules/lodash/_createRound.js b/src/node_modules/lodash/_createRound.js deleted file mode 100644 index bf9b713..0000000 --- a/src/node_modules/lodash/_createRound.js +++ /dev/null @@ -1,33 +0,0 @@ -var toInteger = require('./toInteger'), - toNumber = require('./toNumber'), - toString = require('./toString'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMin = Math.min; - -/** - * Creates a function like `_.round`. - * - * @private - * @param {string} methodName The name of the `Math` method to use when rounding. - * @returns {Function} Returns the new round function. - */ -function createRound(methodName) { - var func = Math[methodName]; - return function(number, precision) { - number = toNumber(number); - precision = precision == null ? 0 : nativeMin(toInteger(precision), 292); - if (precision) { - // Shift with exponential notation to avoid floating-point issues. - // See [MDN](https://mdn.io/round#Examples) for more details. - var pair = (toString(number) + 'e').split('e'), - value = func(pair[0] + 'e' + (+pair[1] + precision)); - - pair = (toString(value) + 'e').split('e'); - return +(pair[0] + 'e' + (+pair[1] - precision)); - } - return func(number); - }; -} - -module.exports = createRound; diff --git a/src/node_modules/lodash/_createSet.js b/src/node_modules/lodash/_createSet.js deleted file mode 100644 index 0f644ee..0000000 --- a/src/node_modules/lodash/_createSet.js +++ /dev/null @@ -1,19 +0,0 @@ -var Set = require('./_Set'), - noop = require('./noop'), - setToArray = require('./_setToArray'); - -/** Used as references for various `Number` constants. */ -var INFINITY = 1 / 0; - -/** - * Creates a set object of `values`. - * - * @private - * @param {Array} values The values to add to the set. - * @returns {Object} Returns the new set. - */ -var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { - return new Set(values); -}; - -module.exports = createSet; diff --git a/src/node_modules/lodash/_createToPairs.js b/src/node_modules/lodash/_createToPairs.js deleted file mode 100644 index 568417a..0000000 --- a/src/node_modules/lodash/_createToPairs.js +++ /dev/null @@ -1,30 +0,0 @@ -var baseToPairs = require('./_baseToPairs'), - getTag = require('./_getTag'), - mapToArray = require('./_mapToArray'), - setToPairs = require('./_setToPairs'); - -/** `Object#toString` result references. */ -var mapTag = '[object Map]', - setTag = '[object Set]'; - -/** - * Creates a `_.toPairs` or `_.toPairsIn` function. - * - * @private - * @param {Function} keysFunc The function to get the keys of a given object. - * @returns {Function} Returns the new pairs function. - */ -function createToPairs(keysFunc) { - return function(object) { - var tag = getTag(object); - if (tag == mapTag) { - return mapToArray(object); - } - if (tag == setTag) { - return setToPairs(object); - } - return baseToPairs(object, keysFunc(object)); - }; -} - -module.exports = createToPairs; diff --git a/src/node_modules/lodash/_createWrap.js b/src/node_modules/lodash/_createWrap.js deleted file mode 100644 index 33f0633..0000000 --- a/src/node_modules/lodash/_createWrap.js +++ /dev/null @@ -1,106 +0,0 @@ -var baseSetData = require('./_baseSetData'), - createBind = require('./_createBind'), - createCurry = require('./_createCurry'), - createHybrid = require('./_createHybrid'), - createPartial = require('./_createPartial'), - getData = require('./_getData'), - mergeData = require('./_mergeData'), - setData = require('./_setData'), - setWrapToString = require('./_setWrapToString'), - toInteger = require('./toInteger'); - -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** Used to compose bitmasks for function metadata. */ -var WRAP_BIND_FLAG = 1, - WRAP_BIND_KEY_FLAG = 2, - WRAP_CURRY_FLAG = 8, - WRAP_CURRY_RIGHT_FLAG = 16, - WRAP_PARTIAL_FLAG = 32, - WRAP_PARTIAL_RIGHT_FLAG = 64; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * Creates a function that either curries or invokes `func` with optional - * `this` binding and partially applied arguments. - * - * @private - * @param {Function|string} func The function or method name to wrap. - * @param {number} bitmask The bitmask flags. - * 1 - `_.bind` - * 2 - `_.bindKey` - * 4 - `_.curry` or `_.curryRight` of a bound function - * 8 - `_.curry` - * 16 - `_.curryRight` - * 32 - `_.partial` - * 64 - `_.partialRight` - * 128 - `_.rearg` - * 256 - `_.ary` - * 512 - `_.flip` - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to be partially applied. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ -function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) { - var isBindKey = bitmask & WRAP_BIND_KEY_FLAG; - if (!isBindKey && typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - var length = partials ? partials.length : 0; - if (!length) { - bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG); - partials = holders = undefined; - } - ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0); - arity = arity === undefined ? arity : toInteger(arity); - length -= holders ? holders.length : 0; - - if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) { - var partialsRight = partials, - holdersRight = holders; - - partials = holders = undefined; - } - var data = isBindKey ? undefined : getData(func); - - var newData = [ - func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, - argPos, ary, arity - ]; - - if (data) { - mergeData(newData, data); - } - func = newData[0]; - bitmask = newData[1]; - thisArg = newData[2]; - partials = newData[3]; - holders = newData[4]; - arity = newData[9] = newData[9] === undefined - ? (isBindKey ? 0 : func.length) - : nativeMax(newData[9] - length, 0); - - if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) { - bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG); - } - if (!bitmask || bitmask == WRAP_BIND_FLAG) { - var result = createBind(func, bitmask, thisArg); - } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) { - result = createCurry(func, bitmask, arity); - } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) { - result = createPartial(func, bitmask, thisArg, partials); - } else { - result = createHybrid.apply(undefined, newData); - } - var setter = data ? baseSetData : setData; - return setWrapToString(setter(result, newData), func, bitmask); -} - -module.exports = createWrap; diff --git a/src/node_modules/lodash/_customDefaultsAssignIn.js b/src/node_modules/lodash/_customDefaultsAssignIn.js deleted file mode 100644 index 1f49e6f..0000000 --- a/src/node_modules/lodash/_customDefaultsAssignIn.js +++ /dev/null @@ -1,29 +0,0 @@ -var eq = require('./eq'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Used by `_.defaults` to customize its `_.assignIn` use to assign properties - * of source objects to the destination object for all destination properties - * that resolve to `undefined`. - * - * @private - * @param {*} objValue The destination value. - * @param {*} srcValue The source value. - * @param {string} key The key of the property to assign. - * @param {Object} object The parent object of `objValue`. - * @returns {*} Returns the value to assign. - */ -function customDefaultsAssignIn(objValue, srcValue, key, object) { - if (objValue === undefined || - (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) { - return srcValue; - } - return objValue; -} - -module.exports = customDefaultsAssignIn; diff --git a/src/node_modules/lodash/_customDefaultsMerge.js b/src/node_modules/lodash/_customDefaultsMerge.js deleted file mode 100644 index 4cab317..0000000 --- a/src/node_modules/lodash/_customDefaultsMerge.js +++ /dev/null @@ -1,28 +0,0 @@ -var baseMerge = require('./_baseMerge'), - isObject = require('./isObject'); - -/** - * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source - * objects into destination objects that are passed thru. - * - * @private - * @param {*} objValue The destination value. - * @param {*} srcValue The source value. - * @param {string} key The key of the property to merge. - * @param {Object} object The parent object of `objValue`. - * @param {Object} source The parent object of `srcValue`. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - * @returns {*} Returns the value to assign. - */ -function customDefaultsMerge(objValue, srcValue, key, object, source, stack) { - if (isObject(objValue) && isObject(srcValue)) { - // Recursively merge objects and arrays (susceptible to call stack limits). - stack.set(srcValue, objValue); - baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack); - stack['delete'](srcValue); - } - return objValue; -} - -module.exports = customDefaultsMerge; diff --git a/src/node_modules/lodash/_customOmitClone.js b/src/node_modules/lodash/_customOmitClone.js deleted file mode 100644 index 968db2e..0000000 --- a/src/node_modules/lodash/_customOmitClone.js +++ /dev/null @@ -1,16 +0,0 @@ -var isPlainObject = require('./isPlainObject'); - -/** - * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain - * objects. - * - * @private - * @param {*} value The value to inspect. - * @param {string} key The key of the property to inspect. - * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. - */ -function customOmitClone(value) { - return isPlainObject(value) ? undefined : value; -} - -module.exports = customOmitClone; diff --git a/src/node_modules/lodash/_deburrLetter.js b/src/node_modules/lodash/_deburrLetter.js deleted file mode 100644 index 3e531ed..0000000 --- a/src/node_modules/lodash/_deburrLetter.js +++ /dev/null @@ -1,71 +0,0 @@ -var basePropertyOf = require('./_basePropertyOf'); - -/** Used to map Latin Unicode letters to basic Latin letters. */ -var deburredLetters = { - // Latin-1 Supplement block. - '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A', - '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a', - '\xc7': 'C', '\xe7': 'c', - '\xd0': 'D', '\xf0': 'd', - '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E', - '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e', - '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I', - '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i', - '\xd1': 'N', '\xf1': 'n', - '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O', - '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o', - '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U', - '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u', - '\xdd': 'Y', '\xfd': 'y', '\xff': 'y', - '\xc6': 'Ae', '\xe6': 'ae', - '\xde': 'Th', '\xfe': 'th', - '\xdf': 'ss', - // Latin Extended-A block. - '\u0100': 'A', '\u0102': 'A', '\u0104': 'A', - '\u0101': 'a', '\u0103': 'a', '\u0105': 'a', - '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C', - '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c', - '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd', - '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E', - '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e', - '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G', - '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g', - '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h', - '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I', - '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i', - '\u0134': 'J', '\u0135': 'j', - '\u0136': 'K', '\u0137': 'k', '\u0138': 'k', - '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L', - '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l', - '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N', - '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n', - '\u014c': 'O', '\u014e': 'O', '\u0150': 'O', - '\u014d': 'o', '\u014f': 'o', '\u0151': 'o', - '\u0154': 'R', '\u0156': 'R', '\u0158': 'R', - '\u0155': 'r', '\u0157': 'r', '\u0159': 'r', - '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S', - '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's', - '\u0162': 'T', '\u0164': 'T', '\u0166': 'T', - '\u0163': 't', '\u0165': 't', '\u0167': 't', - '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U', - '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u', - '\u0174': 'W', '\u0175': 'w', - '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y', - '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z', - '\u017a': 'z', '\u017c': 'z', '\u017e': 'z', - '\u0132': 'IJ', '\u0133': 'ij', - '\u0152': 'Oe', '\u0153': 'oe', - '\u0149': "'n", '\u017f': 's' -}; - -/** - * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A - * letters to basic Latin letters. - * - * @private - * @param {string} letter The matched letter to deburr. - * @returns {string} Returns the deburred letter. - */ -var deburrLetter = basePropertyOf(deburredLetters); - -module.exports = deburrLetter; diff --git a/src/node_modules/lodash/_defineProperty.js b/src/node_modules/lodash/_defineProperty.js deleted file mode 100644 index b6116d9..0000000 --- a/src/node_modules/lodash/_defineProperty.js +++ /dev/null @@ -1,11 +0,0 @@ -var getNative = require('./_getNative'); - -var defineProperty = (function() { - try { - var func = getNative(Object, 'defineProperty'); - func({}, '', {}); - return func; - } catch (e) {} -}()); - -module.exports = defineProperty; diff --git a/src/node_modules/lodash/_equalArrays.js b/src/node_modules/lodash/_equalArrays.js deleted file mode 100644 index f6a3b7c..0000000 --- a/src/node_modules/lodash/_equalArrays.js +++ /dev/null @@ -1,83 +0,0 @@ -var SetCache = require('./_SetCache'), - arraySome = require('./_arraySome'), - cacheHas = require('./_cacheHas'); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - -/** - * A specialized version of `baseIsEqualDeep` for arrays with support for - * partial deep comparisons. - * - * @private - * @param {Array} array The array to compare. - * @param {Array} other The other array to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `array` and `other` objects. - * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. - */ -function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - arrLength = array.length, - othLength = other.length; - - if (arrLength != othLength && !(isPartial && othLength > arrLength)) { - return false; - } - // Assume cyclic values are equal. - var stacked = stack.get(array); - if (stacked && stack.get(other)) { - return stacked == other; - } - var index = -1, - result = true, - seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined; - - stack.set(array, other); - stack.set(other, array); - - // Ignore non-index properties. - while (++index < arrLength) { - var arrValue = array[index], - othValue = other[index]; - - if (customizer) { - var compared = isPartial - ? customizer(othValue, arrValue, index, other, array, stack) - : customizer(arrValue, othValue, index, array, other, stack); - } - if (compared !== undefined) { - if (compared) { - continue; - } - result = false; - break; - } - // Recursively compare arrays (susceptible to call stack limits). - if (seen) { - if (!arraySome(other, function(othValue, othIndex) { - if (!cacheHas(seen, othIndex) && - (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { - return seen.push(othIndex); - } - })) { - result = false; - break; - } - } else if (!( - arrValue === othValue || - equalFunc(arrValue, othValue, bitmask, customizer, stack) - )) { - result = false; - break; - } - } - stack['delete'](array); - stack['delete'](other); - return result; -} - -module.exports = equalArrays; diff --git a/src/node_modules/lodash/_equalByTag.js b/src/node_modules/lodash/_equalByTag.js deleted file mode 100644 index 71919e8..0000000 --- a/src/node_modules/lodash/_equalByTag.js +++ /dev/null @@ -1,112 +0,0 @@ -var Symbol = require('./_Symbol'), - Uint8Array = require('./_Uint8Array'), - eq = require('./eq'), - equalArrays = require('./_equalArrays'), - mapToArray = require('./_mapToArray'), - setToArray = require('./_setToArray'); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - -/** `Object#toString` result references. */ -var boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - mapTag = '[object Map]', - numberTag = '[object Number]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - symbolTag = '[object Symbol]'; - -var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]'; - -/** Used to convert symbols to primitives and strings. */ -var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; - -/** - * A specialized version of `baseIsEqualDeep` for comparing objects of - * the same `toStringTag`. - * - * **Note:** This function only supports comparing values with tags of - * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {string} tag The `toStringTag` of the objects to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ -function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { - switch (tag) { - case dataViewTag: - if ((object.byteLength != other.byteLength) || - (object.byteOffset != other.byteOffset)) { - return false; - } - object = object.buffer; - other = other.buffer; - - case arrayBufferTag: - if ((object.byteLength != other.byteLength) || - !equalFunc(new Uint8Array(object), new Uint8Array(other))) { - return false; - } - return true; - - case boolTag: - case dateTag: - case numberTag: - // Coerce booleans to `1` or `0` and dates to milliseconds. - // Invalid dates are coerced to `NaN`. - return eq(+object, +other); - - case errorTag: - return object.name == other.name && object.message == other.message; - - case regexpTag: - case stringTag: - // Coerce regexes to strings and treat strings, primitives and objects, - // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring - // for more details. - return object == (other + ''); - - case mapTag: - var convert = mapToArray; - - case setTag: - var isPartial = bitmask & COMPARE_PARTIAL_FLAG; - convert || (convert = setToArray); - - if (object.size != other.size && !isPartial) { - return false; - } - // Assume cyclic values are equal. - var stacked = stack.get(object); - if (stacked) { - return stacked == other; - } - bitmask |= COMPARE_UNORDERED_FLAG; - - // Recursively compare objects (susceptible to call stack limits). - stack.set(object, other); - var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack); - stack['delete'](object); - return result; - - case symbolTag: - if (symbolValueOf) { - return symbolValueOf.call(object) == symbolValueOf.call(other); - } - } - return false; -} - -module.exports = equalByTag; diff --git a/src/node_modules/lodash/_equalObjects.js b/src/node_modules/lodash/_equalObjects.js deleted file mode 100644 index 17421f3..0000000 --- a/src/node_modules/lodash/_equalObjects.js +++ /dev/null @@ -1,89 +0,0 @@ -var getAllKeys = require('./_getAllKeys'); - -/** Used to compose bitmasks for value comparisons. */ -var COMPARE_PARTIAL_FLAG = 1; - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * A specialized version of `baseIsEqualDeep` for objects with support for - * partial deep comparisons. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ -function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - objProps = getAllKeys(object), - objLength = objProps.length, - othProps = getAllKeys(other), - othLength = othProps.length; - - if (objLength != othLength && !isPartial) { - return false; - } - var index = objLength; - while (index--) { - var key = objProps[index]; - if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { - return false; - } - } - // Assume cyclic values are equal. - var stacked = stack.get(object); - if (stacked && stack.get(other)) { - return stacked == other; - } - var result = true; - stack.set(object, other); - stack.set(other, object); - - var skipCtor = isPartial; - while (++index < objLength) { - key = objProps[index]; - var objValue = object[key], - othValue = other[key]; - - if (customizer) { - var compared = isPartial - ? customizer(othValue, objValue, key, other, object, stack) - : customizer(objValue, othValue, key, object, other, stack); - } - // Recursively compare objects (susceptible to call stack limits). - if (!(compared === undefined - ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) - : compared - )) { - result = false; - break; - } - skipCtor || (skipCtor = key == 'constructor'); - } - if (result && !skipCtor) { - var objCtor = object.constructor, - othCtor = other.constructor; - - // Non `Object` object instances with different constructors are not equal. - if (objCtor != othCtor && - ('constructor' in object && 'constructor' in other) && - !(typeof objCtor == 'function' && objCtor instanceof objCtor && - typeof othCtor == 'function' && othCtor instanceof othCtor)) { - result = false; - } - } - stack['delete'](object); - stack['delete'](other); - return result; -} - -module.exports = equalObjects; diff --git a/src/node_modules/lodash/_escapeHtmlChar.js b/src/node_modules/lodash/_escapeHtmlChar.js deleted file mode 100644 index 7ca68ee..0000000 --- a/src/node_modules/lodash/_escapeHtmlChar.js +++ /dev/null @@ -1,21 +0,0 @@ -var basePropertyOf = require('./_basePropertyOf'); - -/** Used to map characters to HTML entities. */ -var htmlEscapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''' -}; - -/** - * Used by `_.escape` to convert characters to HTML entities. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ -var escapeHtmlChar = basePropertyOf(htmlEscapes); - -module.exports = escapeHtmlChar; diff --git a/src/node_modules/lodash/_escapeStringChar.js b/src/node_modules/lodash/_escapeStringChar.js deleted file mode 100644 index 44eca96..0000000 --- a/src/node_modules/lodash/_escapeStringChar.js +++ /dev/null @@ -1,22 +0,0 @@ -/** Used to escape characters for inclusion in compiled string literals. */ -var stringEscapes = { - '\\': '\\', - "'": "'", - '\n': 'n', - '\r': 'r', - '\u2028': 'u2028', - '\u2029': 'u2029' -}; - -/** - * Used by `_.template` to escape characters for inclusion in compiled string literals. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ -function escapeStringChar(chr) { - return '\\' + stringEscapes[chr]; -} - -module.exports = escapeStringChar; diff --git a/src/node_modules/lodash/_flatRest.js b/src/node_modules/lodash/_flatRest.js deleted file mode 100644 index 94ab6cc..0000000 --- a/src/node_modules/lodash/_flatRest.js +++ /dev/null @@ -1,16 +0,0 @@ -var flatten = require('./flatten'), - overRest = require('./_overRest'), - setToString = require('./_setToString'); - -/** - * A specialized version of `baseRest` which flattens the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. - */ -function flatRest(func) { - return setToString(overRest(func, undefined, flatten), func + ''); -} - -module.exports = flatRest; diff --git a/src/node_modules/lodash/_freeGlobal.js b/src/node_modules/lodash/_freeGlobal.js deleted file mode 100644 index bbec998..0000000 --- a/src/node_modules/lodash/_freeGlobal.js +++ /dev/null @@ -1,4 +0,0 @@ -/** Detect free variable `global` from Node.js. */ -var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - -module.exports = freeGlobal; diff --git a/src/node_modules/lodash/_getAllKeys.js b/src/node_modules/lodash/_getAllKeys.js deleted file mode 100644 index a9ce699..0000000 --- a/src/node_modules/lodash/_getAllKeys.js +++ /dev/null @@ -1,16 +0,0 @@ -var baseGetAllKeys = require('./_baseGetAllKeys'), - getSymbols = require('./_getSymbols'), - keys = require('./keys'); - -/** - * Creates an array of own enumerable property names and symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. - */ -function getAllKeys(object) { - return baseGetAllKeys(object, keys, getSymbols); -} - -module.exports = getAllKeys; diff --git a/src/node_modules/lodash/_getAllKeysIn.js b/src/node_modules/lodash/_getAllKeysIn.js deleted file mode 100644 index 1b46678..0000000 --- a/src/node_modules/lodash/_getAllKeysIn.js +++ /dev/null @@ -1,17 +0,0 @@ -var baseGetAllKeys = require('./_baseGetAllKeys'), - getSymbolsIn = require('./_getSymbolsIn'), - keysIn = require('./keysIn'); - -/** - * Creates an array of own and inherited enumerable property names and - * symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. - */ -function getAllKeysIn(object) { - return baseGetAllKeys(object, keysIn, getSymbolsIn); -} - -module.exports = getAllKeysIn; diff --git a/src/node_modules/lodash/_getData.js b/src/node_modules/lodash/_getData.js deleted file mode 100644 index a1fe7b7..0000000 --- a/src/node_modules/lodash/_getData.js +++ /dev/null @@ -1,15 +0,0 @@ -var metaMap = require('./_metaMap'), - noop = require('./noop'); - -/** - * Gets metadata for `func`. - * - * @private - * @param {Function} func The function to query. - * @returns {*} Returns the metadata for `func`. - */ -var getData = !metaMap ? noop : function(func) { - return metaMap.get(func); -}; - -module.exports = getData; diff --git a/src/node_modules/lodash/_getFuncName.js b/src/node_modules/lodash/_getFuncName.js deleted file mode 100644 index 21e15b3..0000000 --- a/src/node_modules/lodash/_getFuncName.js +++ /dev/null @@ -1,31 +0,0 @@ -var realNames = require('./_realNames'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Gets the name of `func`. - * - * @private - * @param {Function} func The function to query. - * @returns {string} Returns the function name. - */ -function getFuncName(func) { - var result = (func.name + ''), - array = realNames[result], - length = hasOwnProperty.call(realNames, result) ? array.length : 0; - - while (length--) { - var data = array[length], - otherFunc = data.func; - if (otherFunc == null || otherFunc == func) { - return data.name; - } - } - return result; -} - -module.exports = getFuncName; diff --git a/src/node_modules/lodash/_getHolder.js b/src/node_modules/lodash/_getHolder.js deleted file mode 100644 index 65e94b5..0000000 --- a/src/node_modules/lodash/_getHolder.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Gets the argument placeholder value for `func`. - * - * @private - * @param {Function} func The function to inspect. - * @returns {*} Returns the placeholder value. - */ -function getHolder(func) { - var object = func; - return object.placeholder; -} - -module.exports = getHolder; diff --git a/src/node_modules/lodash/_getMapData.js b/src/node_modules/lodash/_getMapData.js deleted file mode 100644 index 17f6303..0000000 --- a/src/node_modules/lodash/_getMapData.js +++ /dev/null @@ -1,18 +0,0 @@ -var isKeyable = require('./_isKeyable'); - -/** - * Gets the data for `map`. - * - * @private - * @param {Object} map The map to query. - * @param {string} key The reference key. - * @returns {*} Returns the map data. - */ -function getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data[typeof key == 'string' ? 'string' : 'hash'] - : data.map; -} - -module.exports = getMapData; diff --git a/src/node_modules/lodash/_getMatchData.js b/src/node_modules/lodash/_getMatchData.js deleted file mode 100644 index 2cc70f9..0000000 --- a/src/node_modules/lodash/_getMatchData.js +++ /dev/null @@ -1,24 +0,0 @@ -var isStrictComparable = require('./_isStrictComparable'), - keys = require('./keys'); - -/** - * Gets the property names, values, and compare flags of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the match data of `object`. - */ -function getMatchData(object) { - var result = keys(object), - length = result.length; - - while (length--) { - var key = result[length], - value = object[key]; - - result[length] = [key, value, isStrictComparable(value)]; - } - return result; -} - -module.exports = getMatchData; diff --git a/src/node_modules/lodash/_getNative.js b/src/node_modules/lodash/_getNative.js deleted file mode 100644 index 97a622b..0000000 --- a/src/node_modules/lodash/_getNative.js +++ /dev/null @@ -1,17 +0,0 @@ -var baseIsNative = require('./_baseIsNative'), - getValue = require('./_getValue'); - -/** - * Gets the native function at `key` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the method to get. - * @returns {*} Returns the function if it's native, else `undefined`. - */ -function getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : undefined; -} - -module.exports = getNative; diff --git a/src/node_modules/lodash/_getPrototype.js b/src/node_modules/lodash/_getPrototype.js deleted file mode 100644 index e808612..0000000 --- a/src/node_modules/lodash/_getPrototype.js +++ /dev/null @@ -1,6 +0,0 @@ -var overArg = require('./_overArg'); - -/** Built-in value references. */ -var getPrototype = overArg(Object.getPrototypeOf, Object); - -module.exports = getPrototype; diff --git a/src/node_modules/lodash/_getRawTag.js b/src/node_modules/lodash/_getRawTag.js deleted file mode 100644 index 49a95c9..0000000 --- a/src/node_modules/lodash/_getRawTag.js +++ /dev/null @@ -1,46 +0,0 @@ -var Symbol = require('./_Symbol'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ -var nativeObjectToString = objectProto.toString; - -/** Built-in value references. */ -var symToStringTag = Symbol ? Symbol.toStringTag : undefined; - -/** - * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the raw `toStringTag`. - */ -function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; - - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} - - var result = nativeObjectToString.call(value); - if (unmasked) { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; -} - -module.exports = getRawTag; diff --git a/src/node_modules/lodash/_getSymbols.js b/src/node_modules/lodash/_getSymbols.js deleted file mode 100644 index 7d6eafe..0000000 --- a/src/node_modules/lodash/_getSymbols.js +++ /dev/null @@ -1,30 +0,0 @@ -var arrayFilter = require('./_arrayFilter'), - stubArray = require('./stubArray'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Built-in value references. */ -var propertyIsEnumerable = objectProto.propertyIsEnumerable; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeGetSymbols = Object.getOwnPropertySymbols; - -/** - * Creates an array of the own enumerable symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. - */ -var getSymbols = !nativeGetSymbols ? stubArray : function(object) { - if (object == null) { - return []; - } - object = Object(object); - return arrayFilter(nativeGetSymbols(object), function(symbol) { - return propertyIsEnumerable.call(object, symbol); - }); -}; - -module.exports = getSymbols; diff --git a/src/node_modules/lodash/_getSymbolsIn.js b/src/node_modules/lodash/_getSymbolsIn.js deleted file mode 100644 index cec0855..0000000 --- a/src/node_modules/lodash/_getSymbolsIn.js +++ /dev/null @@ -1,25 +0,0 @@ -var arrayPush = require('./_arrayPush'), - getPrototype = require('./_getPrototype'), - getSymbols = require('./_getSymbols'), - stubArray = require('./stubArray'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeGetSymbols = Object.getOwnPropertySymbols; - -/** - * Creates an array of the own and inherited enumerable symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. - */ -var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) { - var result = []; - while (object) { - arrayPush(result, getSymbols(object)); - object = getPrototype(object); - } - return result; -}; - -module.exports = getSymbolsIn; diff --git a/src/node_modules/lodash/_getTag.js b/src/node_modules/lodash/_getTag.js deleted file mode 100644 index deaf89d..0000000 --- a/src/node_modules/lodash/_getTag.js +++ /dev/null @@ -1,58 +0,0 @@ -var DataView = require('./_DataView'), - Map = require('./_Map'), - Promise = require('./_Promise'), - Set = require('./_Set'), - WeakMap = require('./_WeakMap'), - baseGetTag = require('./_baseGetTag'), - toSource = require('./_toSource'); - -/** `Object#toString` result references. */ -var mapTag = '[object Map]', - objectTag = '[object Object]', - promiseTag = '[object Promise]', - setTag = '[object Set]', - weakMapTag = '[object WeakMap]'; - -var dataViewTag = '[object DataView]'; - -/** Used to detect maps, sets, and weakmaps. */ -var dataViewCtorString = toSource(DataView), - mapCtorString = toSource(Map), - promiseCtorString = toSource(Promise), - setCtorString = toSource(Set), - weakMapCtorString = toSource(WeakMap); - -/** - * Gets the `toStringTag` of `value`. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ -var getTag = baseGetTag; - -// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6. -if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || - (Map && getTag(new Map) != mapTag) || - (Promise && getTag(Promise.resolve()) != promiseTag) || - (Set && getTag(new Set) != setTag) || - (WeakMap && getTag(new WeakMap) != weakMapTag)) { - getTag = function(value) { - var result = baseGetTag(value), - Ctor = result == objectTag ? value.constructor : undefined, - ctorString = Ctor ? toSource(Ctor) : ''; - - if (ctorString) { - switch (ctorString) { - case dataViewCtorString: return dataViewTag; - case mapCtorString: return mapTag; - case promiseCtorString: return promiseTag; - case setCtorString: return setTag; - case weakMapCtorString: return weakMapTag; - } - } - return result; - }; -} - -module.exports = getTag; diff --git a/src/node_modules/lodash/_getValue.js b/src/node_modules/lodash/_getValue.js deleted file mode 100644 index 5f7d773..0000000 --- a/src/node_modules/lodash/_getValue.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Gets the value at `key` of `object`. - * - * @private - * @param {Object} [object] The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ -function getValue(object, key) { - return object == null ? undefined : object[key]; -} - -module.exports = getValue; diff --git a/src/node_modules/lodash/_getView.js b/src/node_modules/lodash/_getView.js deleted file mode 100644 index df1e5d4..0000000 --- a/src/node_modules/lodash/_getView.js +++ /dev/null @@ -1,33 +0,0 @@ -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max, - nativeMin = Math.min; - -/** - * Gets the view, applying any `transforms` to the `start` and `end` positions. - * - * @private - * @param {number} start The start of the view. - * @param {number} end The end of the view. - * @param {Array} transforms The transformations to apply to the view. - * @returns {Object} Returns an object containing the `start` and `end` - * positions of the view. - */ -function getView(start, end, transforms) { - var index = -1, - length = transforms.length; - - while (++index < length) { - var data = transforms[index], - size = data.size; - - switch (data.type) { - case 'drop': start += size; break; - case 'dropRight': end -= size; break; - case 'take': end = nativeMin(end, start + size); break; - case 'takeRight': start = nativeMax(start, end - size); break; - } - } - return { 'start': start, 'end': end }; -} - -module.exports = getView; diff --git a/src/node_modules/lodash/_getWrapDetails.js b/src/node_modules/lodash/_getWrapDetails.js deleted file mode 100644 index 3bcc6e4..0000000 --- a/src/node_modules/lodash/_getWrapDetails.js +++ /dev/null @@ -1,17 +0,0 @@ -/** Used to match wrap detail comments. */ -var reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, - reSplitDetails = /,? & /; - -/** - * Extracts wrapper details from the `source` body comment. - * - * @private - * @param {string} source The source to inspect. - * @returns {Array} Returns the wrapper details. - */ -function getWrapDetails(source) { - var match = source.match(reWrapDetails); - return match ? match[1].split(reSplitDetails) : []; -} - -module.exports = getWrapDetails; diff --git a/src/node_modules/lodash/_hasPath.js b/src/node_modules/lodash/_hasPath.js deleted file mode 100644 index 93dbde1..0000000 --- a/src/node_modules/lodash/_hasPath.js +++ /dev/null @@ -1,39 +0,0 @@ -var castPath = require('./_castPath'), - isArguments = require('./isArguments'), - isArray = require('./isArray'), - isIndex = require('./_isIndex'), - isLength = require('./isLength'), - toKey = require('./_toKey'); - -/** - * Checks if `path` exists on `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @param {Function} hasFunc The function to check properties. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - */ -function hasPath(object, path, hasFunc) { - path = castPath(path, object); - - var index = -1, - length = path.length, - result = false; - - while (++index < length) { - var key = toKey(path[index]); - if (!(result = object != null && hasFunc(object, key))) { - break; - } - object = object[key]; - } - if (result || ++index != length) { - return result; - } - length = object == null ? 0 : object.length; - return !!length && isLength(length) && isIndex(key, length) && - (isArray(object) || isArguments(object)); -} - -module.exports = hasPath; diff --git a/src/node_modules/lodash/_hasUnicode.js b/src/node_modules/lodash/_hasUnicode.js deleted file mode 100644 index cb6ca15..0000000 --- a/src/node_modules/lodash/_hasUnicode.js +++ /dev/null @@ -1,26 +0,0 @@ -/** Used to compose unicode character classes. */ -var rsAstralRange = '\\ud800-\\udfff', - rsComboMarksRange = '\\u0300-\\u036f', - reComboHalfMarksRange = '\\ufe20-\\ufe2f', - rsComboSymbolsRange = '\\u20d0-\\u20ff', - rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, - rsVarRange = '\\ufe0e\\ufe0f'; - -/** Used to compose unicode capture groups. */ -var rsZWJ = '\\u200d'; - -/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */ -var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']'); - -/** - * Checks if `string` contains Unicode symbols. - * - * @private - * @param {string} string The string to inspect. - * @returns {boolean} Returns `true` if a symbol is found, else `false`. - */ -function hasUnicode(string) { - return reHasUnicode.test(string); -} - -module.exports = hasUnicode; diff --git a/src/node_modules/lodash/_hasUnicodeWord.js b/src/node_modules/lodash/_hasUnicodeWord.js deleted file mode 100644 index a35d6e5..0000000 --- a/src/node_modules/lodash/_hasUnicodeWord.js +++ /dev/null @@ -1,15 +0,0 @@ -/** Used to detect strings that need a more robust regexp to match words. */ -var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; - -/** - * Checks if `string` contains a word composed of Unicode symbols. - * - * @private - * @param {string} string The string to inspect. - * @returns {boolean} Returns `true` if a word is found, else `false`. - */ -function hasUnicodeWord(string) { - return reHasUnicodeWord.test(string); -} - -module.exports = hasUnicodeWord; diff --git a/src/node_modules/lodash/_hashClear.js b/src/node_modules/lodash/_hashClear.js deleted file mode 100644 index 5d4b70c..0000000 --- a/src/node_modules/lodash/_hashClear.js +++ /dev/null @@ -1,15 +0,0 @@ -var nativeCreate = require('./_nativeCreate'); - -/** - * Removes all key-value entries from the hash. - * - * @private - * @name clear - * @memberOf Hash - */ -function hashClear() { - this.__data__ = nativeCreate ? nativeCreate(null) : {}; - this.size = 0; -} - -module.exports = hashClear; diff --git a/src/node_modules/lodash/_hashDelete.js b/src/node_modules/lodash/_hashDelete.js deleted file mode 100644 index ea9dabf..0000000 --- a/src/node_modules/lodash/_hashDelete.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Removes `key` and its value from the hash. - * - * @private - * @name delete - * @memberOf Hash - * @param {Object} hash The hash to modify. - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function hashDelete(key) { - var result = this.has(key) && delete this.__data__[key]; - this.size -= result ? 1 : 0; - return result; -} - -module.exports = hashDelete; diff --git a/src/node_modules/lodash/_hashGet.js b/src/node_modules/lodash/_hashGet.js deleted file mode 100644 index 1fc2f34..0000000 --- a/src/node_modules/lodash/_hashGet.js +++ /dev/null @@ -1,30 +0,0 @@ -var nativeCreate = require('./_nativeCreate'); - -/** Used to stand-in for `undefined` hash values. */ -var HASH_UNDEFINED = '__lodash_hash_undefined__'; - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Gets the hash value for `key`. - * - * @private - * @name get - * @memberOf Hash - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function hashGet(key) { - var data = this.__data__; - if (nativeCreate) { - var result = data[key]; - return result === HASH_UNDEFINED ? undefined : result; - } - return hasOwnProperty.call(data, key) ? data[key] : undefined; -} - -module.exports = hashGet; diff --git a/src/node_modules/lodash/_hashHas.js b/src/node_modules/lodash/_hashHas.js deleted file mode 100644 index 281a551..0000000 --- a/src/node_modules/lodash/_hashHas.js +++ /dev/null @@ -1,23 +0,0 @@ -var nativeCreate = require('./_nativeCreate'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Checks if a hash value for `key` exists. - * - * @private - * @name has - * @memberOf Hash - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function hashHas(key) { - var data = this.__data__; - return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); -} - -module.exports = hashHas; diff --git a/src/node_modules/lodash/_hashSet.js b/src/node_modules/lodash/_hashSet.js deleted file mode 100644 index e105528..0000000 --- a/src/node_modules/lodash/_hashSet.js +++ /dev/null @@ -1,23 +0,0 @@ -var nativeCreate = require('./_nativeCreate'); - -/** Used to stand-in for `undefined` hash values. */ -var HASH_UNDEFINED = '__lodash_hash_undefined__'; - -/** - * Sets the hash `key` to `value`. - * - * @private - * @name set - * @memberOf Hash - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the hash instance. - */ -function hashSet(key, value) { - var data = this.__data__; - this.size += this.has(key) ? 0 : 1; - data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; - return this; -} - -module.exports = hashSet; diff --git a/src/node_modules/lodash/_initCloneArray.js b/src/node_modules/lodash/_initCloneArray.js deleted file mode 100644 index aef0212..0000000 --- a/src/node_modules/lodash/_initCloneArray.js +++ /dev/null @@ -1,26 +0,0 @@ -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Initializes an array clone. - * - * @private - * @param {Array} array The array to clone. - * @returns {Array} Returns the initialized clone. - */ -function initCloneArray(array) { - var length = array.length, - result = array.constructor(length); - - // Add properties assigned by `RegExp#exec`. - if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { - result.index = array.index; - result.input = array.input; - } - return result; -} - -module.exports = initCloneArray; diff --git a/src/node_modules/lodash/_initCloneByTag.js b/src/node_modules/lodash/_initCloneByTag.js deleted file mode 100644 index e7b77ed..0000000 --- a/src/node_modules/lodash/_initCloneByTag.js +++ /dev/null @@ -1,80 +0,0 @@ -var cloneArrayBuffer = require('./_cloneArrayBuffer'), - cloneDataView = require('./_cloneDataView'), - cloneMap = require('./_cloneMap'), - cloneRegExp = require('./_cloneRegExp'), - cloneSet = require('./_cloneSet'), - cloneSymbol = require('./_cloneSymbol'), - cloneTypedArray = require('./_cloneTypedArray'); - -/** `Object#toString` result references. */ -var boolTag = '[object Boolean]', - dateTag = '[object Date]', - mapTag = '[object Map]', - numberTag = '[object Number]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - symbolTag = '[object Symbol]'; - -var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; - -/** - * Initializes an object clone based on its `toStringTag`. - * - * **Note:** This function only supports cloning values with tags of - * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. - * - * @private - * @param {Object} object The object to clone. - * @param {string} tag The `toStringTag` of the object to clone. - * @param {Function} cloneFunc The function to clone values. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the initialized clone. - */ -function initCloneByTag(object, tag, cloneFunc, isDeep) { - var Ctor = object.constructor; - switch (tag) { - case arrayBufferTag: - return cloneArrayBuffer(object); - - case boolTag: - case dateTag: - return new Ctor(+object); - - case dataViewTag: - return cloneDataView(object, isDeep); - - case float32Tag: case float64Tag: - case int8Tag: case int16Tag: case int32Tag: - case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag: - return cloneTypedArray(object, isDeep); - - case mapTag: - return cloneMap(object, isDeep, cloneFunc); - - case numberTag: - case stringTag: - return new Ctor(object); - - case regexpTag: - return cloneRegExp(object); - - case setTag: - return cloneSet(object, isDeep, cloneFunc); - - case symbolTag: - return cloneSymbol(object); - } -} - -module.exports = initCloneByTag; diff --git a/src/node_modules/lodash/_initCloneObject.js b/src/node_modules/lodash/_initCloneObject.js deleted file mode 100644 index 5a13e64..0000000 --- a/src/node_modules/lodash/_initCloneObject.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseCreate = require('./_baseCreate'), - getPrototype = require('./_getPrototype'), - isPrototype = require('./_isPrototype'); - -/** - * Initializes an object clone. - * - * @private - * @param {Object} object The object to clone. - * @returns {Object} Returns the initialized clone. - */ -function initCloneObject(object) { - return (typeof object.constructor == 'function' && !isPrototype(object)) - ? baseCreate(getPrototype(object)) - : {}; -} - -module.exports = initCloneObject; diff --git a/src/node_modules/lodash/_insertWrapDetails.js b/src/node_modules/lodash/_insertWrapDetails.js deleted file mode 100644 index e790808..0000000 --- a/src/node_modules/lodash/_insertWrapDetails.js +++ /dev/null @@ -1,23 +0,0 @@ -/** Used to match wrap detail comments. */ -var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/; - -/** - * Inserts wrapper `details` in a comment at the top of the `source` body. - * - * @private - * @param {string} source The source to modify. - * @returns {Array} details The details to insert. - * @returns {string} Returns the modified source. - */ -function insertWrapDetails(source, details) { - var length = details.length; - if (!length) { - return source; - } - var lastIndex = length - 1; - details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex]; - details = details.join(length > 2 ? ', ' : ' '); - return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n'); -} - -module.exports = insertWrapDetails; diff --git a/src/node_modules/lodash/_isFlattenable.js b/src/node_modules/lodash/_isFlattenable.js deleted file mode 100644 index 4cc2c24..0000000 --- a/src/node_modules/lodash/_isFlattenable.js +++ /dev/null @@ -1,20 +0,0 @@ -var Symbol = require('./_Symbol'), - isArguments = require('./isArguments'), - isArray = require('./isArray'); - -/** Built-in value references. */ -var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined; - -/** - * Checks if `value` is a flattenable `arguments` object or array. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. - */ -function isFlattenable(value) { - return isArray(value) || isArguments(value) || - !!(spreadableSymbol && value && value[spreadableSymbol]); -} - -module.exports = isFlattenable; diff --git a/src/node_modules/lodash/_isIndex.js b/src/node_modules/lodash/_isIndex.js deleted file mode 100644 index e123dde..0000000 --- a/src/node_modules/lodash/_isIndex.js +++ /dev/null @@ -1,22 +0,0 @@ -/** Used as references for various `Number` constants. */ -var MAX_SAFE_INTEGER = 9007199254740991; - -/** Used to detect unsigned integer values. */ -var reIsUint = /^(?:0|[1-9]\d*)$/; - -/** - * Checks if `value` is a valid array-like index. - * - * @private - * @param {*} value The value to check. - * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. - * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. - */ -function isIndex(value, length) { - length = length == null ? MAX_SAFE_INTEGER : length; - return !!length && - (typeof value == 'number' || reIsUint.test(value)) && - (value > -1 && value % 1 == 0 && value < length); -} - -module.exports = isIndex; diff --git a/src/node_modules/lodash/_isIterateeCall.js b/src/node_modules/lodash/_isIterateeCall.js deleted file mode 100644 index a0bb5a9..0000000 --- a/src/node_modules/lodash/_isIterateeCall.js +++ /dev/null @@ -1,30 +0,0 @@ -var eq = require('./eq'), - isArrayLike = require('./isArrayLike'), - isIndex = require('./_isIndex'), - isObject = require('./isObject'); - -/** - * Checks if the given arguments are from an iteratee call. - * - * @private - * @param {*} value The potential iteratee value argument. - * @param {*} index The potential iteratee index or key argument. - * @param {*} object The potential iteratee object argument. - * @returns {boolean} Returns `true` if the arguments are from an iteratee call, - * else `false`. - */ -function isIterateeCall(value, index, object) { - if (!isObject(object)) { - return false; - } - var type = typeof index; - if (type == 'number' - ? (isArrayLike(object) && isIndex(index, object.length)) - : (type == 'string' && index in object) - ) { - return eq(object[index], value); - } - return false; -} - -module.exports = isIterateeCall; diff --git a/src/node_modules/lodash/_isKey.js b/src/node_modules/lodash/_isKey.js deleted file mode 100644 index ff08b06..0000000 --- a/src/node_modules/lodash/_isKey.js +++ /dev/null @@ -1,29 +0,0 @@ -var isArray = require('./isArray'), - isSymbol = require('./isSymbol'); - -/** Used to match property names within property paths. */ -var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, - reIsPlainProp = /^\w*$/; - -/** - * Checks if `value` is a property name and not a property path. - * - * @private - * @param {*} value The value to check. - * @param {Object} [object] The object to query keys on. - * @returns {boolean} Returns `true` if `value` is a property name, else `false`. - */ -function isKey(value, object) { - if (isArray(value)) { - return false; - } - var type = typeof value; - if (type == 'number' || type == 'symbol' || type == 'boolean' || - value == null || isSymbol(value)) { - return true; - } - return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || - (object != null && value in Object(object)); -} - -module.exports = isKey; diff --git a/src/node_modules/lodash/_isKeyable.js b/src/node_modules/lodash/_isKeyable.js deleted file mode 100644 index 39f1828..0000000 --- a/src/node_modules/lodash/_isKeyable.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Checks if `value` is suitable for use as unique object key. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is suitable, else `false`. - */ -function isKeyable(value) { - var type = typeof value; - return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') - ? (value !== '__proto__') - : (value === null); -} - -module.exports = isKeyable; diff --git a/src/node_modules/lodash/_isLaziable.js b/src/node_modules/lodash/_isLaziable.js deleted file mode 100644 index a57c4f2..0000000 --- a/src/node_modules/lodash/_isLaziable.js +++ /dev/null @@ -1,28 +0,0 @@ -var LazyWrapper = require('./_LazyWrapper'), - getData = require('./_getData'), - getFuncName = require('./_getFuncName'), - lodash = require('./wrapperLodash'); - -/** - * Checks if `func` has a lazy counterpart. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` has a lazy counterpart, - * else `false`. - */ -function isLaziable(func) { - var funcName = getFuncName(func), - other = lodash[funcName]; - - if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { - return false; - } - if (func === other) { - return true; - } - var data = getData(other); - return !!data && func === data[0]; -} - -module.exports = isLaziable; diff --git a/src/node_modules/lodash/_isMaskable.js b/src/node_modules/lodash/_isMaskable.js deleted file mode 100644 index eb98d09..0000000 --- a/src/node_modules/lodash/_isMaskable.js +++ /dev/null @@ -1,14 +0,0 @@ -var coreJsData = require('./_coreJsData'), - isFunction = require('./isFunction'), - stubFalse = require('./stubFalse'); - -/** - * Checks if `func` is capable of being masked. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `func` is maskable, else `false`. - */ -var isMaskable = coreJsData ? isFunction : stubFalse; - -module.exports = isMaskable; diff --git a/src/node_modules/lodash/_isMasked.js b/src/node_modules/lodash/_isMasked.js deleted file mode 100644 index 4b0f21b..0000000 --- a/src/node_modules/lodash/_isMasked.js +++ /dev/null @@ -1,20 +0,0 @@ -var coreJsData = require('./_coreJsData'); - -/** Used to detect methods masquerading as native. */ -var maskSrcKey = (function() { - var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); - return uid ? ('Symbol(src)_1.' + uid) : ''; -}()); - -/** - * Checks if `func` has its source masked. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. - */ -function isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); -} - -module.exports = isMasked; diff --git a/src/node_modules/lodash/_isPrototype.js b/src/node_modules/lodash/_isPrototype.js deleted file mode 100644 index 0f29498..0000000 --- a/src/node_modules/lodash/_isPrototype.js +++ /dev/null @@ -1,18 +0,0 @@ -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** - * Checks if `value` is likely a prototype object. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. - */ -function isPrototype(value) { - var Ctor = value && value.constructor, - proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; - - return value === proto; -} - -module.exports = isPrototype; diff --git a/src/node_modules/lodash/_isStrictComparable.js b/src/node_modules/lodash/_isStrictComparable.js deleted file mode 100644 index b59f40b..0000000 --- a/src/node_modules/lodash/_isStrictComparable.js +++ /dev/null @@ -1,15 +0,0 @@ -var isObject = require('./isObject'); - -/** - * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` if suitable for strict - * equality comparisons, else `false`. - */ -function isStrictComparable(value) { - return value === value && !isObject(value); -} - -module.exports = isStrictComparable; diff --git a/src/node_modules/lodash/_iteratorToArray.js b/src/node_modules/lodash/_iteratorToArray.js deleted file mode 100644 index 4768566..0000000 --- a/src/node_modules/lodash/_iteratorToArray.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Converts `iterator` to an array. - * - * @private - * @param {Object} iterator The iterator to convert. - * @returns {Array} Returns the converted array. - */ -function iteratorToArray(iterator) { - var data, - result = []; - - while (!(data = iterator.next()).done) { - result.push(data.value); - } - return result; -} - -module.exports = iteratorToArray; diff --git a/src/node_modules/lodash/_lazyClone.js b/src/node_modules/lodash/_lazyClone.js deleted file mode 100644 index d8a51f8..0000000 --- a/src/node_modules/lodash/_lazyClone.js +++ /dev/null @@ -1,23 +0,0 @@ -var LazyWrapper = require('./_LazyWrapper'), - copyArray = require('./_copyArray'); - -/** - * Creates a clone of the lazy wrapper object. - * - * @private - * @name clone - * @memberOf LazyWrapper - * @returns {Object} Returns the cloned `LazyWrapper` object. - */ -function lazyClone() { - var result = new LazyWrapper(this.__wrapped__); - result.__actions__ = copyArray(this.__actions__); - result.__dir__ = this.__dir__; - result.__filtered__ = this.__filtered__; - result.__iteratees__ = copyArray(this.__iteratees__); - result.__takeCount__ = this.__takeCount__; - result.__views__ = copyArray(this.__views__); - return result; -} - -module.exports = lazyClone; diff --git a/src/node_modules/lodash/_lazyReverse.js b/src/node_modules/lodash/_lazyReverse.js deleted file mode 100644 index c5b5219..0000000 --- a/src/node_modules/lodash/_lazyReverse.js +++ /dev/null @@ -1,23 +0,0 @@ -var LazyWrapper = require('./_LazyWrapper'); - -/** - * Reverses the direction of lazy iteration. - * - * @private - * @name reverse - * @memberOf LazyWrapper - * @returns {Object} Returns the new reversed `LazyWrapper` object. - */ -function lazyReverse() { - if (this.__filtered__) { - var result = new LazyWrapper(this); - result.__dir__ = -1; - result.__filtered__ = true; - } else { - result = this.clone(); - result.__dir__ *= -1; - } - return result; -} - -module.exports = lazyReverse; diff --git a/src/node_modules/lodash/_lazyValue.js b/src/node_modules/lodash/_lazyValue.js deleted file mode 100644 index 371ca8d..0000000 --- a/src/node_modules/lodash/_lazyValue.js +++ /dev/null @@ -1,69 +0,0 @@ -var baseWrapperValue = require('./_baseWrapperValue'), - getView = require('./_getView'), - isArray = require('./isArray'); - -/** Used to indicate the type of lazy iteratees. */ -var LAZY_FILTER_FLAG = 1, - LAZY_MAP_FLAG = 2; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMin = Math.min; - -/** - * Extracts the unwrapped value from its lazy wrapper. - * - * @private - * @name value - * @memberOf LazyWrapper - * @returns {*} Returns the unwrapped value. - */ -function lazyValue() { - var array = this.__wrapped__.value(), - dir = this.__dir__, - isArr = isArray(array), - isRight = dir < 0, - arrLength = isArr ? array.length : 0, - view = getView(0, arrLength, this.__views__), - start = view.start, - end = view.end, - length = end - start, - index = isRight ? end : (start - 1), - iteratees = this.__iteratees__, - iterLength = iteratees.length, - resIndex = 0, - takeCount = nativeMin(length, this.__takeCount__); - - if (!isArr || (!isRight && arrLength == length && takeCount == length)) { - return baseWrapperValue(array, this.__actions__); - } - var result = []; - - outer: - while (length-- && resIndex < takeCount) { - index += dir; - - var iterIndex = -1, - value = array[index]; - - while (++iterIndex < iterLength) { - var data = iteratees[iterIndex], - iteratee = data.iteratee, - type = data.type, - computed = iteratee(value); - - if (type == LAZY_MAP_FLAG) { - value = computed; - } else if (!computed) { - if (type == LAZY_FILTER_FLAG) { - continue outer; - } else { - break outer; - } - } - } - result[resIndex++] = value; - } - return result; -} - -module.exports = lazyValue; diff --git a/src/node_modules/lodash/_listCacheClear.js b/src/node_modules/lodash/_listCacheClear.js deleted file mode 100644 index acbe39a..0000000 --- a/src/node_modules/lodash/_listCacheClear.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Removes all key-value entries from the list cache. - * - * @private - * @name clear - * @memberOf ListCache - */ -function listCacheClear() { - this.__data__ = []; - this.size = 0; -} - -module.exports = listCacheClear; diff --git a/src/node_modules/lodash/_listCacheDelete.js b/src/node_modules/lodash/_listCacheDelete.js deleted file mode 100644 index b1384ad..0000000 --- a/src/node_modules/lodash/_listCacheDelete.js +++ /dev/null @@ -1,35 +0,0 @@ -var assocIndexOf = require('./_assocIndexOf'); - -/** Used for built-in method references. */ -var arrayProto = Array.prototype; - -/** Built-in value references. */ -var splice = arrayProto.splice; - -/** - * Removes `key` and its value from the list cache. - * - * @private - * @name delete - * @memberOf ListCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function listCacheDelete(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - return false; - } - var lastIndex = data.length - 1; - if (index == lastIndex) { - data.pop(); - } else { - splice.call(data, index, 1); - } - --this.size; - return true; -} - -module.exports = listCacheDelete; diff --git a/src/node_modules/lodash/_listCacheGet.js b/src/node_modules/lodash/_listCacheGet.js deleted file mode 100644 index f8192fc..0000000 --- a/src/node_modules/lodash/_listCacheGet.js +++ /dev/null @@ -1,19 +0,0 @@ -var assocIndexOf = require('./_assocIndexOf'); - -/** - * Gets the list cache value for `key`. - * - * @private - * @name get - * @memberOf ListCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function listCacheGet(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - return index < 0 ? undefined : data[index][1]; -} - -module.exports = listCacheGet; diff --git a/src/node_modules/lodash/_listCacheHas.js b/src/node_modules/lodash/_listCacheHas.js deleted file mode 100644 index 2adf671..0000000 --- a/src/node_modules/lodash/_listCacheHas.js +++ /dev/null @@ -1,16 +0,0 @@ -var assocIndexOf = require('./_assocIndexOf'); - -/** - * Checks if a list cache value for `key` exists. - * - * @private - * @name has - * @memberOf ListCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function listCacheHas(key) { - return assocIndexOf(this.__data__, key) > -1; -} - -module.exports = listCacheHas; diff --git a/src/node_modules/lodash/_listCacheSet.js b/src/node_modules/lodash/_listCacheSet.js deleted file mode 100644 index 5855c95..0000000 --- a/src/node_modules/lodash/_listCacheSet.js +++ /dev/null @@ -1,26 +0,0 @@ -var assocIndexOf = require('./_assocIndexOf'); - -/** - * Sets the list cache `key` to `value`. - * - * @private - * @name set - * @memberOf ListCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the list cache instance. - */ -function listCacheSet(key, value) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - ++this.size; - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; -} - -module.exports = listCacheSet; diff --git a/src/node_modules/lodash/_mapCacheClear.js b/src/node_modules/lodash/_mapCacheClear.js deleted file mode 100644 index bc9ca20..0000000 --- a/src/node_modules/lodash/_mapCacheClear.js +++ /dev/null @@ -1,21 +0,0 @@ -var Hash = require('./_Hash'), - ListCache = require('./_ListCache'), - Map = require('./_Map'); - -/** - * Removes all key-value entries from the map. - * - * @private - * @name clear - * @memberOf MapCache - */ -function mapCacheClear() { - this.size = 0; - this.__data__ = { - 'hash': new Hash, - 'map': new (Map || ListCache), - 'string': new Hash - }; -} - -module.exports = mapCacheClear; diff --git a/src/node_modules/lodash/_mapCacheDelete.js b/src/node_modules/lodash/_mapCacheDelete.js deleted file mode 100644 index 946ca3c..0000000 --- a/src/node_modules/lodash/_mapCacheDelete.js +++ /dev/null @@ -1,18 +0,0 @@ -var getMapData = require('./_getMapData'); - -/** - * Removes `key` and its value from the map. - * - * @private - * @name delete - * @memberOf MapCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function mapCacheDelete(key) { - var result = getMapData(this, key)['delete'](key); - this.size -= result ? 1 : 0; - return result; -} - -module.exports = mapCacheDelete; diff --git a/src/node_modules/lodash/_mapCacheGet.js b/src/node_modules/lodash/_mapCacheGet.js deleted file mode 100644 index f29f55c..0000000 --- a/src/node_modules/lodash/_mapCacheGet.js +++ /dev/null @@ -1,16 +0,0 @@ -var getMapData = require('./_getMapData'); - -/** - * Gets the map value for `key`. - * - * @private - * @name get - * @memberOf MapCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function mapCacheGet(key) { - return getMapData(this, key).get(key); -} - -module.exports = mapCacheGet; diff --git a/src/node_modules/lodash/_mapCacheHas.js b/src/node_modules/lodash/_mapCacheHas.js deleted file mode 100644 index a1214c0..0000000 --- a/src/node_modules/lodash/_mapCacheHas.js +++ /dev/null @@ -1,16 +0,0 @@ -var getMapData = require('./_getMapData'); - -/** - * Checks if a map value for `key` exists. - * - * @private - * @name has - * @memberOf MapCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function mapCacheHas(key) { - return getMapData(this, key).has(key); -} - -module.exports = mapCacheHas; diff --git a/src/node_modules/lodash/_mapCacheSet.js b/src/node_modules/lodash/_mapCacheSet.js deleted file mode 100644 index 7346849..0000000 --- a/src/node_modules/lodash/_mapCacheSet.js +++ /dev/null @@ -1,22 +0,0 @@ -var getMapData = require('./_getMapData'); - -/** - * Sets the map `key` to `value`. - * - * @private - * @name set - * @memberOf MapCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the map cache instance. - */ -function mapCacheSet(key, value) { - var data = getMapData(this, key), - size = data.size; - - data.set(key, value); - this.size += data.size == size ? 0 : 1; - return this; -} - -module.exports = mapCacheSet; diff --git a/src/node_modules/lodash/_mapToArray.js b/src/node_modules/lodash/_mapToArray.js deleted file mode 100644 index fe3dd53..0000000 --- a/src/node_modules/lodash/_mapToArray.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Converts `map` to its key-value pairs. - * - * @private - * @param {Object} map The map to convert. - * @returns {Array} Returns the key-value pairs. - */ -function mapToArray(map) { - var index = -1, - result = Array(map.size); - - map.forEach(function(value, key) { - result[++index] = [key, value]; - }); - return result; -} - -module.exports = mapToArray; diff --git a/src/node_modules/lodash/_matchesStrictComparable.js b/src/node_modules/lodash/_matchesStrictComparable.js deleted file mode 100644 index f608af9..0000000 --- a/src/node_modules/lodash/_matchesStrictComparable.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * A specialized version of `matchesProperty` for source values suitable - * for strict equality comparisons, i.e. `===`. - * - * @private - * @param {string} key The key of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ -function matchesStrictComparable(key, srcValue) { - return function(object) { - if (object == null) { - return false; - } - return object[key] === srcValue && - (srcValue !== undefined || (key in Object(object))); - }; -} - -module.exports = matchesStrictComparable; diff --git a/src/node_modules/lodash/_memoizeCapped.js b/src/node_modules/lodash/_memoizeCapped.js deleted file mode 100644 index 7f71c8f..0000000 --- a/src/node_modules/lodash/_memoizeCapped.js +++ /dev/null @@ -1,26 +0,0 @@ -var memoize = require('./memoize'); - -/** Used as the maximum memoize cache size. */ -var MAX_MEMOIZE_SIZE = 500; - -/** - * A specialized version of `_.memoize` which clears the memoized function's - * cache when it exceeds `MAX_MEMOIZE_SIZE`. - * - * @private - * @param {Function} func The function to have its output memoized. - * @returns {Function} Returns the new memoized function. - */ -function memoizeCapped(func) { - var result = memoize(func, function(key) { - if (cache.size === MAX_MEMOIZE_SIZE) { - cache.clear(); - } - return key; - }); - - var cache = result.cache; - return result; -} - -module.exports = memoizeCapped; diff --git a/src/node_modules/lodash/_mergeData.js b/src/node_modules/lodash/_mergeData.js deleted file mode 100644 index cb570f9..0000000 --- a/src/node_modules/lodash/_mergeData.js +++ /dev/null @@ -1,90 +0,0 @@ -var composeArgs = require('./_composeArgs'), - composeArgsRight = require('./_composeArgsRight'), - replaceHolders = require('./_replaceHolders'); - -/** Used as the internal argument placeholder. */ -var PLACEHOLDER = '__lodash_placeholder__'; - -/** Used to compose bitmasks for function metadata. */ -var WRAP_BIND_FLAG = 1, - WRAP_BIND_KEY_FLAG = 2, - WRAP_CURRY_BOUND_FLAG = 4, - WRAP_CURRY_FLAG = 8, - WRAP_ARY_FLAG = 128, - WRAP_REARG_FLAG = 256; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMin = Math.min; - -/** - * Merges the function metadata of `source` into `data`. - * - * Merging metadata reduces the number of wrappers used to invoke a function. - * This is possible because methods like `_.bind`, `_.curry`, and `_.partial` - * may be applied regardless of execution order. Methods like `_.ary` and - * `_.rearg` modify function arguments, making the order in which they are - * executed important, preventing the merging of metadata. However, we make - * an exception for a safe combined case where curried functions have `_.ary` - * and or `_.rearg` applied. - * - * @private - * @param {Array} data The destination metadata. - * @param {Array} source The source metadata. - * @returns {Array} Returns `data`. - */ -function mergeData(data, source) { - var bitmask = data[1], - srcBitmask = source[1], - newBitmask = bitmask | srcBitmask, - isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG); - - var isCombo = - ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) || - ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) || - ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG)); - - // Exit early if metadata can't be merged. - if (!(isCommon || isCombo)) { - return data; - } - // Use source `thisArg` if available. - if (srcBitmask & WRAP_BIND_FLAG) { - data[2] = source[2]; - // Set when currying a bound function. - newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG; - } - // Compose partial arguments. - var value = source[3]; - if (value) { - var partials = data[3]; - data[3] = partials ? composeArgs(partials, value, source[4]) : value; - data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4]; - } - // Compose partial right arguments. - value = source[5]; - if (value) { - partials = data[5]; - data[5] = partials ? composeArgsRight(partials, value, source[6]) : value; - data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6]; - } - // Use source `argPos` if available. - value = source[7]; - if (value) { - data[7] = value; - } - // Use source `ary` if it's smaller. - if (srcBitmask & WRAP_ARY_FLAG) { - data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]); - } - // Use source `arity` if one is not provided. - if (data[9] == null) { - data[9] = source[9]; - } - // Use source `func` and merge bitmasks. - data[0] = source[0]; - data[1] = newBitmask; - - return data; -} - -module.exports = mergeData; diff --git a/src/node_modules/lodash/_metaMap.js b/src/node_modules/lodash/_metaMap.js deleted file mode 100644 index 0157a0b..0000000 --- a/src/node_modules/lodash/_metaMap.js +++ /dev/null @@ -1,6 +0,0 @@ -var WeakMap = require('./_WeakMap'); - -/** Used to store function metadata. */ -var metaMap = WeakMap && new WeakMap; - -module.exports = metaMap; diff --git a/src/node_modules/lodash/_nativeCreate.js b/src/node_modules/lodash/_nativeCreate.js deleted file mode 100644 index c7aede8..0000000 --- a/src/node_modules/lodash/_nativeCreate.js +++ /dev/null @@ -1,6 +0,0 @@ -var getNative = require('./_getNative'); - -/* Built-in method references that are verified to be native. */ -var nativeCreate = getNative(Object, 'create'); - -module.exports = nativeCreate; diff --git a/src/node_modules/lodash/_nativeKeys.js b/src/node_modules/lodash/_nativeKeys.js deleted file mode 100644 index 479a104..0000000 --- a/src/node_modules/lodash/_nativeKeys.js +++ /dev/null @@ -1,6 +0,0 @@ -var overArg = require('./_overArg'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeKeys = overArg(Object.keys, Object); - -module.exports = nativeKeys; diff --git a/src/node_modules/lodash/_nativeKeysIn.js b/src/node_modules/lodash/_nativeKeysIn.js deleted file mode 100644 index 00ee505..0000000 --- a/src/node_modules/lodash/_nativeKeysIn.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This function is like - * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * except that it includes inherited enumerable properties. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ -function nativeKeysIn(object) { - var result = []; - if (object != null) { - for (var key in Object(object)) { - result.push(key); - } - } - return result; -} - -module.exports = nativeKeysIn; diff --git a/src/node_modules/lodash/_nodeUtil.js b/src/node_modules/lodash/_nodeUtil.js deleted file mode 100644 index 14e179f..0000000 --- a/src/node_modules/lodash/_nodeUtil.js +++ /dev/null @@ -1,22 +0,0 @@ -var freeGlobal = require('./_freeGlobal'); - -/** Detect free variable `exports`. */ -var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; - -/** Detect free variable `module`. */ -var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; - -/** Detect the popular CommonJS extension `module.exports`. */ -var moduleExports = freeModule && freeModule.exports === freeExports; - -/** Detect free variable `process` from Node.js. */ -var freeProcess = moduleExports && freeGlobal.process; - -/** Used to access faster Node.js helpers. */ -var nodeUtil = (function() { - try { - return freeProcess && freeProcess.binding && freeProcess.binding('util'); - } catch (e) {} -}()); - -module.exports = nodeUtil; diff --git a/src/node_modules/lodash/_objectToString.js b/src/node_modules/lodash/_objectToString.js deleted file mode 100644 index c614ec0..0000000 --- a/src/node_modules/lodash/_objectToString.js +++ /dev/null @@ -1,22 +0,0 @@ -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ -var nativeObjectToString = objectProto.toString; - -/** - * Converts `value` to a string using `Object.prototype.toString`. - * - * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - */ -function objectToString(value) { - return nativeObjectToString.call(value); -} - -module.exports = objectToString; diff --git a/src/node_modules/lodash/_overArg.js b/src/node_modules/lodash/_overArg.js deleted file mode 100644 index 651c5c5..0000000 --- a/src/node_modules/lodash/_overArg.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Creates a unary function that invokes `func` with its argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ -function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; -} - -module.exports = overArg; diff --git a/src/node_modules/lodash/_overRest.js b/src/node_modules/lodash/_overRest.js deleted file mode 100644 index c7cdef3..0000000 --- a/src/node_modules/lodash/_overRest.js +++ /dev/null @@ -1,36 +0,0 @@ -var apply = require('./_apply'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * A specialized version of `baseRest` which transforms the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @param {Function} transform The rest array transform. - * @returns {Function} Returns the new function. - */ -function overRest(func, start, transform) { - start = nativeMax(start === undefined ? (func.length - 1) : start, 0); - return function() { - var args = arguments, - index = -1, - length = nativeMax(args.length - start, 0), - array = Array(length); - - while (++index < length) { - array[index] = args[start + index]; - } - index = -1; - var otherArgs = Array(start + 1); - while (++index < start) { - otherArgs[index] = args[index]; - } - otherArgs[start] = transform(array); - return apply(func, this, otherArgs); - }; -} - -module.exports = overRest; diff --git a/src/node_modules/lodash/_parent.js b/src/node_modules/lodash/_parent.js deleted file mode 100644 index f174328..0000000 --- a/src/node_modules/lodash/_parent.js +++ /dev/null @@ -1,16 +0,0 @@ -var baseGet = require('./_baseGet'), - baseSlice = require('./_baseSlice'); - -/** - * Gets the parent value at `path` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} path The path to get the parent value of. - * @returns {*} Returns the parent value. - */ -function parent(object, path) { - return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1)); -} - -module.exports = parent; diff --git a/src/node_modules/lodash/_reEscape.js b/src/node_modules/lodash/_reEscape.js deleted file mode 100644 index 7f47eda..0000000 --- a/src/node_modules/lodash/_reEscape.js +++ /dev/null @@ -1,4 +0,0 @@ -/** Used to match template delimiters. */ -var reEscape = /<%-([\s\S]+?)%>/g; - -module.exports = reEscape; diff --git a/src/node_modules/lodash/_reEvaluate.js b/src/node_modules/lodash/_reEvaluate.js deleted file mode 100644 index 6adfc31..0000000 --- a/src/node_modules/lodash/_reEvaluate.js +++ /dev/null @@ -1,4 +0,0 @@ -/** Used to match template delimiters. */ -var reEvaluate = /<%([\s\S]+?)%>/g; - -module.exports = reEvaluate; diff --git a/src/node_modules/lodash/_reInterpolate.js b/src/node_modules/lodash/_reInterpolate.js deleted file mode 100644 index d02ff0b..0000000 --- a/src/node_modules/lodash/_reInterpolate.js +++ /dev/null @@ -1,4 +0,0 @@ -/** Used to match template delimiters. */ -var reInterpolate = /<%=([\s\S]+?)%>/g; - -module.exports = reInterpolate; diff --git a/src/node_modules/lodash/_realNames.js b/src/node_modules/lodash/_realNames.js deleted file mode 100644 index aa0d529..0000000 --- a/src/node_modules/lodash/_realNames.js +++ /dev/null @@ -1,4 +0,0 @@ -/** Used to lookup unminified function names. */ -var realNames = {}; - -module.exports = realNames; diff --git a/src/node_modules/lodash/_reorder.js b/src/node_modules/lodash/_reorder.js deleted file mode 100644 index a3502b0..0000000 --- a/src/node_modules/lodash/_reorder.js +++ /dev/null @@ -1,29 +0,0 @@ -var copyArray = require('./_copyArray'), - isIndex = require('./_isIndex'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMin = Math.min; - -/** - * Reorder `array` according to the specified indexes where the element at - * the first index is assigned as the first element, the element at - * the second index is assigned as the second element, and so on. - * - * @private - * @param {Array} array The array to reorder. - * @param {Array} indexes The arranged array indexes. - * @returns {Array} Returns `array`. - */ -function reorder(array, indexes) { - var arrLength = array.length, - length = nativeMin(indexes.length, arrLength), - oldArray = copyArray(array); - - while (length--) { - var index = indexes[length]; - array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined; - } - return array; -} - -module.exports = reorder; diff --git a/src/node_modules/lodash/_replaceHolders.js b/src/node_modules/lodash/_replaceHolders.js deleted file mode 100644 index 74360ec..0000000 --- a/src/node_modules/lodash/_replaceHolders.js +++ /dev/null @@ -1,29 +0,0 @@ -/** Used as the internal argument placeholder. */ -var PLACEHOLDER = '__lodash_placeholder__'; - -/** - * Replaces all `placeholder` elements in `array` with an internal placeholder - * and returns an array of their indexes. - * - * @private - * @param {Array} array The array to modify. - * @param {*} placeholder The placeholder to replace. - * @returns {Array} Returns the new array of placeholder indexes. - */ -function replaceHolders(array, placeholder) { - var index = -1, - length = array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (value === placeholder || value === PLACEHOLDER) { - array[index] = PLACEHOLDER; - result[resIndex++] = index; - } - } - return result; -} - -module.exports = replaceHolders; diff --git a/src/node_modules/lodash/_root.js b/src/node_modules/lodash/_root.js deleted file mode 100644 index d2852be..0000000 --- a/src/node_modules/lodash/_root.js +++ /dev/null @@ -1,9 +0,0 @@ -var freeGlobal = require('./_freeGlobal'); - -/** Detect free variable `self`. */ -var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - -/** Used as a reference to the global object. */ -var root = freeGlobal || freeSelf || Function('return this')(); - -module.exports = root; diff --git a/src/node_modules/lodash/_setCacheAdd.js b/src/node_modules/lodash/_setCacheAdd.js deleted file mode 100644 index 1081a74..0000000 --- a/src/node_modules/lodash/_setCacheAdd.js +++ /dev/null @@ -1,19 +0,0 @@ -/** Used to stand-in for `undefined` hash values. */ -var HASH_UNDEFINED = '__lodash_hash_undefined__'; - -/** - * Adds `value` to the array cache. - * - * @private - * @name add - * @memberOf SetCache - * @alias push - * @param {*} value The value to cache. - * @returns {Object} Returns the cache instance. - */ -function setCacheAdd(value) { - this.__data__.set(value, HASH_UNDEFINED); - return this; -} - -module.exports = setCacheAdd; diff --git a/src/node_modules/lodash/_setCacheHas.js b/src/node_modules/lodash/_setCacheHas.js deleted file mode 100644 index 9a49255..0000000 --- a/src/node_modules/lodash/_setCacheHas.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Checks if `value` is in the array cache. - * - * @private - * @name has - * @memberOf SetCache - * @param {*} value The value to search for. - * @returns {number} Returns `true` if `value` is found, else `false`. - */ -function setCacheHas(value) { - return this.__data__.has(value); -} - -module.exports = setCacheHas; diff --git a/src/node_modules/lodash/_setData.js b/src/node_modules/lodash/_setData.js deleted file mode 100644 index e5cf3eb..0000000 --- a/src/node_modules/lodash/_setData.js +++ /dev/null @@ -1,20 +0,0 @@ -var baseSetData = require('./_baseSetData'), - shortOut = require('./_shortOut'); - -/** - * Sets metadata for `func`. - * - * **Note:** If this function becomes hot, i.e. is invoked a lot in a short - * period of time, it will trip its breaker and transition to an identity - * function to avoid garbage collection pauses in V8. See - * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070) - * for more details. - * - * @private - * @param {Function} func The function to associate metadata with. - * @param {*} data The metadata. - * @returns {Function} Returns `func`. - */ -var setData = shortOut(baseSetData); - -module.exports = setData; diff --git a/src/node_modules/lodash/_setToArray.js b/src/node_modules/lodash/_setToArray.js deleted file mode 100644 index b87f074..0000000 --- a/src/node_modules/lodash/_setToArray.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Converts `set` to an array of its values. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the values. - */ -function setToArray(set) { - var index = -1, - result = Array(set.size); - - set.forEach(function(value) { - result[++index] = value; - }); - return result; -} - -module.exports = setToArray; diff --git a/src/node_modules/lodash/_setToPairs.js b/src/node_modules/lodash/_setToPairs.js deleted file mode 100644 index 36ad37a..0000000 --- a/src/node_modules/lodash/_setToPairs.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Converts `set` to its value-value pairs. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the value-value pairs. - */ -function setToPairs(set) { - var index = -1, - result = Array(set.size); - - set.forEach(function(value) { - result[++index] = [value, value]; - }); - return result; -} - -module.exports = setToPairs; diff --git a/src/node_modules/lodash/_setToString.js b/src/node_modules/lodash/_setToString.js deleted file mode 100644 index 6ca8419..0000000 --- a/src/node_modules/lodash/_setToString.js +++ /dev/null @@ -1,14 +0,0 @@ -var baseSetToString = require('./_baseSetToString'), - shortOut = require('./_shortOut'); - -/** - * Sets the `toString` method of `func` to return `string`. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ -var setToString = shortOut(baseSetToString); - -module.exports = setToString; diff --git a/src/node_modules/lodash/_setWrapToString.js b/src/node_modules/lodash/_setWrapToString.js deleted file mode 100644 index decdc44..0000000 --- a/src/node_modules/lodash/_setWrapToString.js +++ /dev/null @@ -1,21 +0,0 @@ -var getWrapDetails = require('./_getWrapDetails'), - insertWrapDetails = require('./_insertWrapDetails'), - setToString = require('./_setToString'), - updateWrapDetails = require('./_updateWrapDetails'); - -/** - * Sets the `toString` method of `wrapper` to mimic the source of `reference` - * with wrapper details in a comment at the top of the source body. - * - * @private - * @param {Function} wrapper The function to modify. - * @param {Function} reference The reference function. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @returns {Function} Returns `wrapper`. - */ -function setWrapToString(wrapper, reference, bitmask) { - var source = (reference + ''); - return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask))); -} - -module.exports = setWrapToString; diff --git a/src/node_modules/lodash/_shortOut.js b/src/node_modules/lodash/_shortOut.js deleted file mode 100644 index 3300a07..0000000 --- a/src/node_modules/lodash/_shortOut.js +++ /dev/null @@ -1,37 +0,0 @@ -/** Used to detect hot functions by number of calls within a span of milliseconds. */ -var HOT_COUNT = 800, - HOT_SPAN = 16; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeNow = Date.now; - -/** - * Creates a function that'll short out and invoke `identity` instead - * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` - * milliseconds. - * - * @private - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new shortable function. - */ -function shortOut(func) { - var count = 0, - lastCalled = 0; - - return function() { - var stamp = nativeNow(), - remaining = HOT_SPAN - (stamp - lastCalled); - - lastCalled = stamp; - if (remaining > 0) { - if (++count >= HOT_COUNT) { - return arguments[0]; - } - } else { - count = 0; - } - return func.apply(undefined, arguments); - }; -} - -module.exports = shortOut; diff --git a/src/node_modules/lodash/_shuffleSelf.js b/src/node_modules/lodash/_shuffleSelf.js deleted file mode 100644 index 8bcc4f5..0000000 --- a/src/node_modules/lodash/_shuffleSelf.js +++ /dev/null @@ -1,28 +0,0 @@ -var baseRandom = require('./_baseRandom'); - -/** - * A specialized version of `_.shuffle` which mutates and sets the size of `array`. - * - * @private - * @param {Array} array The array to shuffle. - * @param {number} [size=array.length] The size of `array`. - * @returns {Array} Returns `array`. - */ -function shuffleSelf(array, size) { - var index = -1, - length = array.length, - lastIndex = length - 1; - - size = size === undefined ? length : size; - while (++index < size) { - var rand = baseRandom(index, lastIndex), - value = array[rand]; - - array[rand] = array[index]; - array[index] = value; - } - array.length = size; - return array; -} - -module.exports = shuffleSelf; diff --git a/src/node_modules/lodash/_stackClear.js b/src/node_modules/lodash/_stackClear.js deleted file mode 100644 index ce8e5a9..0000000 --- a/src/node_modules/lodash/_stackClear.js +++ /dev/null @@ -1,15 +0,0 @@ -var ListCache = require('./_ListCache'); - -/** - * Removes all key-value entries from the stack. - * - * @private - * @name clear - * @memberOf Stack - */ -function stackClear() { - this.__data__ = new ListCache; - this.size = 0; -} - -module.exports = stackClear; diff --git a/src/node_modules/lodash/_stackDelete.js b/src/node_modules/lodash/_stackDelete.js deleted file mode 100644 index ff9887a..0000000 --- a/src/node_modules/lodash/_stackDelete.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Removes `key` and its value from the stack. - * - * @private - * @name delete - * @memberOf Stack - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function stackDelete(key) { - var data = this.__data__, - result = data['delete'](key); - - this.size = data.size; - return result; -} - -module.exports = stackDelete; diff --git a/src/node_modules/lodash/_stackGet.js b/src/node_modules/lodash/_stackGet.js deleted file mode 100644 index 1cdf004..0000000 --- a/src/node_modules/lodash/_stackGet.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Gets the stack value for `key`. - * - * @private - * @name get - * @memberOf Stack - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function stackGet(key) { - return this.__data__.get(key); -} - -module.exports = stackGet; diff --git a/src/node_modules/lodash/_stackHas.js b/src/node_modules/lodash/_stackHas.js deleted file mode 100644 index 16a3ad1..0000000 --- a/src/node_modules/lodash/_stackHas.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Checks if a stack value for `key` exists. - * - * @private - * @name has - * @memberOf Stack - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function stackHas(key) { - return this.__data__.has(key); -} - -module.exports = stackHas; diff --git a/src/node_modules/lodash/_stackSet.js b/src/node_modules/lodash/_stackSet.js deleted file mode 100644 index b790ac5..0000000 --- a/src/node_modules/lodash/_stackSet.js +++ /dev/null @@ -1,34 +0,0 @@ -var ListCache = require('./_ListCache'), - Map = require('./_Map'), - MapCache = require('./_MapCache'); - -/** Used as the size to enable large array optimizations. */ -var LARGE_ARRAY_SIZE = 200; - -/** - * Sets the stack `key` to `value`. - * - * @private - * @name set - * @memberOf Stack - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the stack cache instance. - */ -function stackSet(key, value) { - var data = this.__data__; - if (data instanceof ListCache) { - var pairs = data.__data__; - if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { - pairs.push([key, value]); - this.size = ++data.size; - return this; - } - data = this.__data__ = new MapCache(pairs); - } - data.set(key, value); - this.size = data.size; - return this; -} - -module.exports = stackSet; diff --git a/src/node_modules/lodash/_strictIndexOf.js b/src/node_modules/lodash/_strictIndexOf.js deleted file mode 100644 index 0486a49..0000000 --- a/src/node_modules/lodash/_strictIndexOf.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * A specialized version of `_.indexOf` which performs strict equality - * comparisons of values, i.e. `===`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function strictIndexOf(array, value, fromIndex) { - var index = fromIndex - 1, - length = array.length; - - while (++index < length) { - if (array[index] === value) { - return index; - } - } - return -1; -} - -module.exports = strictIndexOf; diff --git a/src/node_modules/lodash/_strictLastIndexOf.js b/src/node_modules/lodash/_strictLastIndexOf.js deleted file mode 100644 index d7310dc..0000000 --- a/src/node_modules/lodash/_strictLastIndexOf.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * A specialized version of `_.lastIndexOf` which performs strict equality - * comparisons of values, i.e. `===`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function strictLastIndexOf(array, value, fromIndex) { - var index = fromIndex + 1; - while (index--) { - if (array[index] === value) { - return index; - } - } - return index; -} - -module.exports = strictLastIndexOf; diff --git a/src/node_modules/lodash/_stringSize.js b/src/node_modules/lodash/_stringSize.js deleted file mode 100644 index 17ef462..0000000 --- a/src/node_modules/lodash/_stringSize.js +++ /dev/null @@ -1,18 +0,0 @@ -var asciiSize = require('./_asciiSize'), - hasUnicode = require('./_hasUnicode'), - unicodeSize = require('./_unicodeSize'); - -/** - * Gets the number of symbols in `string`. - * - * @private - * @param {string} string The string to inspect. - * @returns {number} Returns the string size. - */ -function stringSize(string) { - return hasUnicode(string) - ? unicodeSize(string) - : asciiSize(string); -} - -module.exports = stringSize; diff --git a/src/node_modules/lodash/_stringToArray.js b/src/node_modules/lodash/_stringToArray.js deleted file mode 100644 index d161158..0000000 --- a/src/node_modules/lodash/_stringToArray.js +++ /dev/null @@ -1,18 +0,0 @@ -var asciiToArray = require('./_asciiToArray'), - hasUnicode = require('./_hasUnicode'), - unicodeToArray = require('./_unicodeToArray'); - -/** - * Converts `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ -function stringToArray(string) { - return hasUnicode(string) - ? unicodeToArray(string) - : asciiToArray(string); -} - -module.exports = stringToArray; diff --git a/src/node_modules/lodash/_stringToPath.js b/src/node_modules/lodash/_stringToPath.js deleted file mode 100644 index db7b0f7..0000000 --- a/src/node_modules/lodash/_stringToPath.js +++ /dev/null @@ -1,28 +0,0 @@ -var memoizeCapped = require('./_memoizeCapped'); - -/** Used to match property names within property paths. */ -var reLeadingDot = /^\./, - rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; - -/** Used to match backslashes in property paths. */ -var reEscapeChar = /\\(\\)?/g; - -/** - * Converts `string` to a property path array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the property path array. - */ -var stringToPath = memoizeCapped(function(string) { - var result = []; - if (reLeadingDot.test(string)) { - result.push(''); - } - string.replace(rePropName, function(match, number, quote, string) { - result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match)); - }); - return result; -}); - -module.exports = stringToPath; diff --git a/src/node_modules/lodash/_toKey.js b/src/node_modules/lodash/_toKey.js deleted file mode 100644 index c6d645c..0000000 --- a/src/node_modules/lodash/_toKey.js +++ /dev/null @@ -1,21 +0,0 @@ -var isSymbol = require('./isSymbol'); - -/** Used as references for various `Number` constants. */ -var INFINITY = 1 / 0; - -/** - * Converts `value` to a string key if it's not a string or symbol. - * - * @private - * @param {*} value The value to inspect. - * @returns {string|symbol} Returns the key. - */ -function toKey(value) { - if (typeof value == 'string' || isSymbol(value)) { - return value; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; -} - -module.exports = toKey; diff --git a/src/node_modules/lodash/_toSource.js b/src/node_modules/lodash/_toSource.js deleted file mode 100644 index a020b38..0000000 --- a/src/node_modules/lodash/_toSource.js +++ /dev/null @@ -1,26 +0,0 @@ -/** Used for built-in method references. */ -var funcProto = Function.prototype; - -/** Used to resolve the decompiled source of functions. */ -var funcToString = funcProto.toString; - -/** - * Converts `func` to its source code. - * - * @private - * @param {Function} func The function to convert. - * @returns {string} Returns the source code. - */ -function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return (func + ''); - } catch (e) {} - } - return ''; -} - -module.exports = toSource; diff --git a/src/node_modules/lodash/_unescapeHtmlChar.js b/src/node_modules/lodash/_unescapeHtmlChar.js deleted file mode 100644 index a71fecb..0000000 --- a/src/node_modules/lodash/_unescapeHtmlChar.js +++ /dev/null @@ -1,21 +0,0 @@ -var basePropertyOf = require('./_basePropertyOf'); - -/** Used to map HTML entities to characters. */ -var htmlUnescapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - ''': "'" -}; - -/** - * Used by `_.unescape` to convert HTML entities to characters. - * - * @private - * @param {string} chr The matched character to unescape. - * @returns {string} Returns the unescaped character. - */ -var unescapeHtmlChar = basePropertyOf(htmlUnescapes); - -module.exports = unescapeHtmlChar; diff --git a/src/node_modules/lodash/_unicodeSize.js b/src/node_modules/lodash/_unicodeSize.js deleted file mode 100644 index 68137ec..0000000 --- a/src/node_modules/lodash/_unicodeSize.js +++ /dev/null @@ -1,44 +0,0 @@ -/** Used to compose unicode character classes. */ -var rsAstralRange = '\\ud800-\\udfff', - rsComboMarksRange = '\\u0300-\\u036f', - reComboHalfMarksRange = '\\ufe20-\\ufe2f', - rsComboSymbolsRange = '\\u20d0-\\u20ff', - rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, - rsVarRange = '\\ufe0e\\ufe0f'; - -/** Used to compose unicode capture groups. */ -var rsAstral = '[' + rsAstralRange + ']', - rsCombo = '[' + rsComboRange + ']', - rsFitz = '\\ud83c[\\udffb-\\udfff]', - rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', - rsNonAstral = '[^' + rsAstralRange + ']', - rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', - rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', - rsZWJ = '\\u200d'; - -/** Used to compose unicode regexes. */ -var reOptMod = rsModifier + '?', - rsOptVar = '[' + rsVarRange + ']?', - rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', - rsSeq = rsOptVar + reOptMod + rsOptJoin, - rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')'; - -/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ -var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); - -/** - * Gets the size of a Unicode `string`. - * - * @private - * @param {string} string The string inspect. - * @returns {number} Returns the string size. - */ -function unicodeSize(string) { - var result = reUnicode.lastIndex = 0; - while (reUnicode.test(string)) { - ++result; - } - return result; -} - -module.exports = unicodeSize; diff --git a/src/node_modules/lodash/_unicodeToArray.js b/src/node_modules/lodash/_unicodeToArray.js deleted file mode 100644 index 2a725c0..0000000 --- a/src/node_modules/lodash/_unicodeToArray.js +++ /dev/null @@ -1,40 +0,0 @@ -/** Used to compose unicode character classes. */ -var rsAstralRange = '\\ud800-\\udfff', - rsComboMarksRange = '\\u0300-\\u036f', - reComboHalfMarksRange = '\\ufe20-\\ufe2f', - rsComboSymbolsRange = '\\u20d0-\\u20ff', - rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, - rsVarRange = '\\ufe0e\\ufe0f'; - -/** Used to compose unicode capture groups. */ -var rsAstral = '[' + rsAstralRange + ']', - rsCombo = '[' + rsComboRange + ']', - rsFitz = '\\ud83c[\\udffb-\\udfff]', - rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', - rsNonAstral = '[^' + rsAstralRange + ']', - rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', - rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', - rsZWJ = '\\u200d'; - -/** Used to compose unicode regexes. */ -var reOptMod = rsModifier + '?', - rsOptVar = '[' + rsVarRange + ']?', - rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', - rsSeq = rsOptVar + reOptMod + rsOptJoin, - rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')'; - -/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ -var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); - -/** - * Converts a Unicode `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ -function unicodeToArray(string) { - return string.match(reUnicode) || []; -} - -module.exports = unicodeToArray; diff --git a/src/node_modules/lodash/_unicodeWords.js b/src/node_modules/lodash/_unicodeWords.js deleted file mode 100644 index d8b822a..0000000 --- a/src/node_modules/lodash/_unicodeWords.js +++ /dev/null @@ -1,69 +0,0 @@ -/** Used to compose unicode character classes. */ -var rsAstralRange = '\\ud800-\\udfff', - rsComboMarksRange = '\\u0300-\\u036f', - reComboHalfMarksRange = '\\ufe20-\\ufe2f', - rsComboSymbolsRange = '\\u20d0-\\u20ff', - rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, - rsDingbatRange = '\\u2700-\\u27bf', - rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff', - rsMathOpRange = '\\xac\\xb1\\xd7\\xf7', - rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf', - rsPunctuationRange = '\\u2000-\\u206f', - rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000', - rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde', - rsVarRange = '\\ufe0e\\ufe0f', - rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange; - -/** Used to compose unicode capture groups. */ -var rsApos = "['\u2019]", - rsBreak = '[' + rsBreakRange + ']', - rsCombo = '[' + rsComboRange + ']', - rsDigits = '\\d+', - rsDingbat = '[' + rsDingbatRange + ']', - rsLower = '[' + rsLowerRange + ']', - rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']', - rsFitz = '\\ud83c[\\udffb-\\udfff]', - rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', - rsNonAstral = '[^' + rsAstralRange + ']', - rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', - rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', - rsUpper = '[' + rsUpperRange + ']', - rsZWJ = '\\u200d'; - -/** Used to compose unicode regexes. */ -var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')', - rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')', - rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?', - rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?', - reOptMod = rsModifier + '?', - rsOptVar = '[' + rsVarRange + ']?', - rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', - rsOrdLower = '\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)', - rsOrdUpper = '\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)', - rsSeq = rsOptVar + reOptMod + rsOptJoin, - rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq; - -/** Used to match complex or compound words. */ -var reUnicodeWord = RegExp([ - rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')', - rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')', - rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower, - rsUpper + '+' + rsOptContrUpper, - rsOrdUpper, - rsOrdLower, - rsDigits, - rsEmoji -].join('|'), 'g'); - -/** - * Splits a Unicode `string` into an array of its words. - * - * @private - * @param {string} The string to inspect. - * @returns {Array} Returns the words of `string`. - */ -function unicodeWords(string) { - return string.match(reUnicodeWord) || []; -} - -module.exports = unicodeWords; diff --git a/src/node_modules/lodash/_updateWrapDetails.js b/src/node_modules/lodash/_updateWrapDetails.js deleted file mode 100644 index 8759fbd..0000000 --- a/src/node_modules/lodash/_updateWrapDetails.js +++ /dev/null @@ -1,46 +0,0 @@ -var arrayEach = require('./_arrayEach'), - arrayIncludes = require('./_arrayIncludes'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_BIND_FLAG = 1, - WRAP_BIND_KEY_FLAG = 2, - WRAP_CURRY_FLAG = 8, - WRAP_CURRY_RIGHT_FLAG = 16, - WRAP_PARTIAL_FLAG = 32, - WRAP_PARTIAL_RIGHT_FLAG = 64, - WRAP_ARY_FLAG = 128, - WRAP_REARG_FLAG = 256, - WRAP_FLIP_FLAG = 512; - -/** Used to associate wrap methods with their bit flags. */ -var wrapFlags = [ - ['ary', WRAP_ARY_FLAG], - ['bind', WRAP_BIND_FLAG], - ['bindKey', WRAP_BIND_KEY_FLAG], - ['curry', WRAP_CURRY_FLAG], - ['curryRight', WRAP_CURRY_RIGHT_FLAG], - ['flip', WRAP_FLIP_FLAG], - ['partial', WRAP_PARTIAL_FLAG], - ['partialRight', WRAP_PARTIAL_RIGHT_FLAG], - ['rearg', WRAP_REARG_FLAG] -]; - -/** - * Updates wrapper `details` based on `bitmask` flags. - * - * @private - * @returns {Array} details The details to modify. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @returns {Array} Returns `details`. - */ -function updateWrapDetails(details, bitmask) { - arrayEach(wrapFlags, function(pair) { - var value = '_.' + pair[0]; - if ((bitmask & pair[1]) && !arrayIncludes(details, value)) { - details.push(value); - } - }); - return details.sort(); -} - -module.exports = updateWrapDetails; diff --git a/src/node_modules/lodash/_wrapperClone.js b/src/node_modules/lodash/_wrapperClone.js deleted file mode 100644 index 7bb58a2..0000000 --- a/src/node_modules/lodash/_wrapperClone.js +++ /dev/null @@ -1,23 +0,0 @@ -var LazyWrapper = require('./_LazyWrapper'), - LodashWrapper = require('./_LodashWrapper'), - copyArray = require('./_copyArray'); - -/** - * Creates a clone of `wrapper`. - * - * @private - * @param {Object} wrapper The wrapper to clone. - * @returns {Object} Returns the cloned wrapper. - */ -function wrapperClone(wrapper) { - if (wrapper instanceof LazyWrapper) { - return wrapper.clone(); - } - var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__); - result.__actions__ = copyArray(wrapper.__actions__); - result.__index__ = wrapper.__index__; - result.__values__ = wrapper.__values__; - return result; -} - -module.exports = wrapperClone; diff --git a/src/node_modules/lodash/add.js b/src/node_modules/lodash/add.js deleted file mode 100644 index f069515..0000000 --- a/src/node_modules/lodash/add.js +++ /dev/null @@ -1,22 +0,0 @@ -var createMathOperation = require('./_createMathOperation'); - -/** - * Adds two numbers. - * - * @static - * @memberOf _ - * @since 3.4.0 - * @category Math - * @param {number} augend The first number in an addition. - * @param {number} addend The second number in an addition. - * @returns {number} Returns the total. - * @example - * - * _.add(6, 4); - * // => 10 - */ -var add = createMathOperation(function(augend, addend) { - return augend + addend; -}, 0); - -module.exports = add; diff --git a/src/node_modules/lodash/after.js b/src/node_modules/lodash/after.js deleted file mode 100644 index 3900c97..0000000 --- a/src/node_modules/lodash/after.js +++ /dev/null @@ -1,42 +0,0 @@ -var toInteger = require('./toInteger'); - -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** - * The opposite of `_.before`; this method creates a function that invokes - * `func` once it's called `n` or more times. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {number} n The number of calls before `func` is invoked. - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var saves = ['profile', 'settings']; - * - * var done = _.after(saves.length, function() { - * console.log('done saving!'); - * }); - * - * _.forEach(saves, function(type) { - * asyncSave({ 'type': type, 'complete': done }); - * }); - * // => Logs 'done saving!' after the two async saves have completed. - */ -function after(n, func) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - n = toInteger(n); - return function() { - if (--n < 1) { - return func.apply(this, arguments); - } - }; -} - -module.exports = after; diff --git a/src/node_modules/lodash/array.js b/src/node_modules/lodash/array.js deleted file mode 100644 index af688d3..0000000 --- a/src/node_modules/lodash/array.js +++ /dev/null @@ -1,67 +0,0 @@ -module.exports = { - 'chunk': require('./chunk'), - 'compact': require('./compact'), - 'concat': require('./concat'), - 'difference': require('./difference'), - 'differenceBy': require('./differenceBy'), - 'differenceWith': require('./differenceWith'), - 'drop': require('./drop'), - 'dropRight': require('./dropRight'), - 'dropRightWhile': require('./dropRightWhile'), - 'dropWhile': require('./dropWhile'), - 'fill': require('./fill'), - 'findIndex': require('./findIndex'), - 'findLastIndex': require('./findLastIndex'), - 'first': require('./first'), - 'flatten': require('./flatten'), - 'flattenDeep': require('./flattenDeep'), - 'flattenDepth': require('./flattenDepth'), - 'fromPairs': require('./fromPairs'), - 'head': require('./head'), - 'indexOf': require('./indexOf'), - 'initial': require('./initial'), - 'intersection': require('./intersection'), - 'intersectionBy': require('./intersectionBy'), - 'intersectionWith': require('./intersectionWith'), - 'join': require('./join'), - 'last': require('./last'), - 'lastIndexOf': require('./lastIndexOf'), - 'nth': require('./nth'), - 'pull': require('./pull'), - 'pullAll': require('./pullAll'), - 'pullAllBy': require('./pullAllBy'), - 'pullAllWith': require('./pullAllWith'), - 'pullAt': require('./pullAt'), - 'remove': require('./remove'), - 'reverse': require('./reverse'), - 'slice': require('./slice'), - 'sortedIndex': require('./sortedIndex'), - 'sortedIndexBy': require('./sortedIndexBy'), - 'sortedIndexOf': require('./sortedIndexOf'), - 'sortedLastIndex': require('./sortedLastIndex'), - 'sortedLastIndexBy': require('./sortedLastIndexBy'), - 'sortedLastIndexOf': require('./sortedLastIndexOf'), - 'sortedUniq': require('./sortedUniq'), - 'sortedUniqBy': require('./sortedUniqBy'), - 'tail': require('./tail'), - 'take': require('./take'), - 'takeRight': require('./takeRight'), - 'takeRightWhile': require('./takeRightWhile'), - 'takeWhile': require('./takeWhile'), - 'union': require('./union'), - 'unionBy': require('./unionBy'), - 'unionWith': require('./unionWith'), - 'uniq': require('./uniq'), - 'uniqBy': require('./uniqBy'), - 'uniqWith': require('./uniqWith'), - 'unzip': require('./unzip'), - 'unzipWith': require('./unzipWith'), - 'without': require('./without'), - 'xor': require('./xor'), - 'xorBy': require('./xorBy'), - 'xorWith': require('./xorWith'), - 'zip': require('./zip'), - 'zipObject': require('./zipObject'), - 'zipObjectDeep': require('./zipObjectDeep'), - 'zipWith': require('./zipWith') -}; diff --git a/src/node_modules/lodash/ary.js b/src/node_modules/lodash/ary.js deleted file mode 100644 index 70c87d0..0000000 --- a/src/node_modules/lodash/ary.js +++ /dev/null @@ -1,29 +0,0 @@ -var createWrap = require('./_createWrap'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_ARY_FLAG = 128; - -/** - * Creates a function that invokes `func`, with up to `n` arguments, - * ignoring any additional arguments. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to cap arguments for. - * @param {number} [n=func.length] The arity cap. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new capped function. - * @example - * - * _.map(['6', '8', '10'], _.ary(parseInt, 1)); - * // => [6, 8, 10] - */ -function ary(func, n, guard) { - n = guard ? undefined : n; - n = (func && n == null) ? func.length : n; - return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n); -} - -module.exports = ary; diff --git a/src/node_modules/lodash/assign.js b/src/node_modules/lodash/assign.js deleted file mode 100644 index 909db26..0000000 --- a/src/node_modules/lodash/assign.js +++ /dev/null @@ -1,58 +0,0 @@ -var assignValue = require('./_assignValue'), - copyObject = require('./_copyObject'), - createAssigner = require('./_createAssigner'), - isArrayLike = require('./isArrayLike'), - isPrototype = require('./_isPrototype'), - keys = require('./keys'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Assigns own enumerable string keyed properties of source objects to the - * destination object. Source objects are applied from left to right. - * Subsequent sources overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object` and is loosely based on - * [`Object.assign`](https://mdn.io/Object/assign). - * - * @static - * @memberOf _ - * @since 0.10.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assignIn - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * function Bar() { - * this.c = 3; - * } - * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; - * - * _.assign({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'c': 3 } - */ -var assign = createAssigner(function(object, source) { - if (isPrototype(source) || isArrayLike(source)) { - copyObject(source, keys(source), object); - return; - } - for (var key in source) { - if (hasOwnProperty.call(source, key)) { - assignValue(object, key, source[key]); - } - } -}); - -module.exports = assign; diff --git a/src/node_modules/lodash/assignIn.js b/src/node_modules/lodash/assignIn.js deleted file mode 100644 index e663473..0000000 --- a/src/node_modules/lodash/assignIn.js +++ /dev/null @@ -1,40 +0,0 @@ -var copyObject = require('./_copyObject'), - createAssigner = require('./_createAssigner'), - keysIn = require('./keysIn'); - -/** - * This method is like `_.assign` except that it iterates over own and - * inherited source properties. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias extend - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assign - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * function Bar() { - * this.c = 3; - * } - * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; - * - * _.assignIn({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 } - */ -var assignIn = createAssigner(function(object, source) { - copyObject(source, keysIn(source), object); -}); - -module.exports = assignIn; diff --git a/src/node_modules/lodash/assignInWith.js b/src/node_modules/lodash/assignInWith.js deleted file mode 100644 index 68fcc0b..0000000 --- a/src/node_modules/lodash/assignInWith.js +++ /dev/null @@ -1,38 +0,0 @@ -var copyObject = require('./_copyObject'), - createAssigner = require('./_createAssigner'), - keysIn = require('./keysIn'); - -/** - * This method is like `_.assignIn` except that it accepts `customizer` - * which is invoked to produce the assigned values. If `customizer` returns - * `undefined`, assignment is handled by the method instead. The `customizer` - * is invoked with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias extendWith - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @see _.assignWith - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignInWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ -var assignInWith = createAssigner(function(object, source, srcIndex, customizer) { - copyObject(source, keysIn(source), object, customizer); -}); - -module.exports = assignInWith; diff --git a/src/node_modules/lodash/assignWith.js b/src/node_modules/lodash/assignWith.js deleted file mode 100644 index 7dc6c76..0000000 --- a/src/node_modules/lodash/assignWith.js +++ /dev/null @@ -1,37 +0,0 @@ -var copyObject = require('./_copyObject'), - createAssigner = require('./_createAssigner'), - keys = require('./keys'); - -/** - * This method is like `_.assign` except that it accepts `customizer` - * which is invoked to produce the assigned values. If `customizer` returns - * `undefined`, assignment is handled by the method instead. The `customizer` - * is invoked with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @see _.assignInWith - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ -var assignWith = createAssigner(function(object, source, srcIndex, customizer) { - copyObject(source, keys(source), object, customizer); -}); - -module.exports = assignWith; diff --git a/src/node_modules/lodash/at.js b/src/node_modules/lodash/at.js deleted file mode 100644 index 781ee9e..0000000 --- a/src/node_modules/lodash/at.js +++ /dev/null @@ -1,23 +0,0 @@ -var baseAt = require('./_baseAt'), - flatRest = require('./_flatRest'); - -/** - * Creates an array of values corresponding to `paths` of `object`. - * - * @static - * @memberOf _ - * @since 1.0.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {...(string|string[])} [paths] The property paths to pick. - * @returns {Array} Returns the picked values. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; - * - * _.at(object, ['a[0].b.c', 'a[1]']); - * // => [3, 4] - */ -var at = flatRest(baseAt); - -module.exports = at; diff --git a/src/node_modules/lodash/attempt.js b/src/node_modules/lodash/attempt.js deleted file mode 100644 index 624d015..0000000 --- a/src/node_modules/lodash/attempt.js +++ /dev/null @@ -1,35 +0,0 @@ -var apply = require('./_apply'), - baseRest = require('./_baseRest'), - isError = require('./isError'); - -/** - * Attempts to invoke `func`, returning either the result or the caught error - * object. Any additional arguments are provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Util - * @param {Function} func The function to attempt. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {*} Returns the `func` result or error object. - * @example - * - * // Avoid throwing errors for invalid selectors. - * var elements = _.attempt(function(selector) { - * return document.querySelectorAll(selector); - * }, '>_>'); - * - * if (_.isError(elements)) { - * elements = []; - * } - */ -var attempt = baseRest(function(func, args) { - try { - return apply(func, undefined, args); - } catch (e) { - return isError(e) ? e : new Error(e); - } -}); - -module.exports = attempt; diff --git a/src/node_modules/lodash/before.js b/src/node_modules/lodash/before.js deleted file mode 100644 index a3e0a16..0000000 --- a/src/node_modules/lodash/before.js +++ /dev/null @@ -1,40 +0,0 @@ -var toInteger = require('./toInteger'); - -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** - * Creates a function that invokes `func`, with the `this` binding and arguments - * of the created function, while it's called less than `n` times. Subsequent - * calls to the created function return the result of the last `func` invocation. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {number} n The number of calls at which `func` is no longer invoked. - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * jQuery(element).on('click', _.before(5, addContactToList)); - * // => Allows adding up to 4 contacts to the list. - */ -function before(n, func) { - var result; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - n = toInteger(n); - return function() { - if (--n > 0) { - result = func.apply(this, arguments); - } - if (n <= 1) { - func = undefined; - } - return result; - }; -} - -module.exports = before; diff --git a/src/node_modules/lodash/bind.js b/src/node_modules/lodash/bind.js deleted file mode 100644 index b1076e9..0000000 --- a/src/node_modules/lodash/bind.js +++ /dev/null @@ -1,57 +0,0 @@ -var baseRest = require('./_baseRest'), - createWrap = require('./_createWrap'), - getHolder = require('./_getHolder'), - replaceHolders = require('./_replaceHolders'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_BIND_FLAG = 1, - WRAP_PARTIAL_FLAG = 32; - -/** - * Creates a function that invokes `func` with the `this` binding of `thisArg` - * and `partials` prepended to the arguments it receives. - * - * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds, - * may be used as a placeholder for partially applied arguments. - * - * **Note:** Unlike native `Function#bind`, this method doesn't set the "length" - * property of bound functions. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to bind. - * @param {*} thisArg The `this` binding of `func`. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * function greet(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } - * - * var object = { 'user': 'fred' }; - * - * var bound = _.bind(greet, object, 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * // Bound with placeholders. - * var bound = _.bind(greet, object, _, '!'); - * bound('hi'); - * // => 'hi fred!' - */ -var bind = baseRest(function(func, thisArg, partials) { - var bitmask = WRAP_BIND_FLAG; - if (partials.length) { - var holders = replaceHolders(partials, getHolder(bind)); - bitmask |= WRAP_PARTIAL_FLAG; - } - return createWrap(func, bitmask, thisArg, partials, holders); -}); - -// Assign default placeholders. -bind.placeholder = {}; - -module.exports = bind; diff --git a/src/node_modules/lodash/bindAll.js b/src/node_modules/lodash/bindAll.js deleted file mode 100644 index a35706d..0000000 --- a/src/node_modules/lodash/bindAll.js +++ /dev/null @@ -1,41 +0,0 @@ -var arrayEach = require('./_arrayEach'), - baseAssignValue = require('./_baseAssignValue'), - bind = require('./bind'), - flatRest = require('./_flatRest'), - toKey = require('./_toKey'); - -/** - * Binds methods of an object to the object itself, overwriting the existing - * method. - * - * **Note:** This method doesn't set the "length" property of bound functions. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Util - * @param {Object} object The object to bind and assign the bound methods to. - * @param {...(string|string[])} methodNames The object method names to bind. - * @returns {Object} Returns `object`. - * @example - * - * var view = { - * 'label': 'docs', - * 'click': function() { - * console.log('clicked ' + this.label); - * } - * }; - * - * _.bindAll(view, ['click']); - * jQuery(element).on('click', view.click); - * // => Logs 'clicked docs' when clicked. - */ -var bindAll = flatRest(function(object, methodNames) { - arrayEach(methodNames, function(key) { - key = toKey(key); - baseAssignValue(object, key, bind(object[key], object)); - }); - return object; -}); - -module.exports = bindAll; diff --git a/src/node_modules/lodash/bindKey.js b/src/node_modules/lodash/bindKey.js deleted file mode 100644 index f7fd64c..0000000 --- a/src/node_modules/lodash/bindKey.js +++ /dev/null @@ -1,68 +0,0 @@ -var baseRest = require('./_baseRest'), - createWrap = require('./_createWrap'), - getHolder = require('./_getHolder'), - replaceHolders = require('./_replaceHolders'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_BIND_FLAG = 1, - WRAP_BIND_KEY_FLAG = 2, - WRAP_PARTIAL_FLAG = 32; - -/** - * Creates a function that invokes the method at `object[key]` with `partials` - * prepended to the arguments it receives. - * - * This method differs from `_.bind` by allowing bound functions to reference - * methods that may be redefined or don't yet exist. See - * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern) - * for more details. - * - * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * @static - * @memberOf _ - * @since 0.10.0 - * @category Function - * @param {Object} object The object to invoke the method on. - * @param {string} key The key of the method. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * var object = { - * 'user': 'fred', - * 'greet': function(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } - * }; - * - * var bound = _.bindKey(object, 'greet', 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * object.greet = function(greeting, punctuation) { - * return greeting + 'ya ' + this.user + punctuation; - * }; - * - * bound('!'); - * // => 'hiya fred!' - * - * // Bound with placeholders. - * var bound = _.bindKey(object, 'greet', _, '!'); - * bound('hi'); - * // => 'hiya fred!' - */ -var bindKey = baseRest(function(object, key, partials) { - var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG; - if (partials.length) { - var holders = replaceHolders(partials, getHolder(bindKey)); - bitmask |= WRAP_PARTIAL_FLAG; - } - return createWrap(key, bitmask, object, partials, holders); -}); - -// Assign default placeholders. -bindKey.placeholder = {}; - -module.exports = bindKey; diff --git a/src/node_modules/lodash/camelCase.js b/src/node_modules/lodash/camelCase.js deleted file mode 100644 index d7390de..0000000 --- a/src/node_modules/lodash/camelCase.js +++ /dev/null @@ -1,29 +0,0 @@ -var capitalize = require('./capitalize'), - createCompounder = require('./_createCompounder'); - -/** - * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the camel cased string. - * @example - * - * _.camelCase('Foo Bar'); - * // => 'fooBar' - * - * _.camelCase('--foo-bar--'); - * // => 'fooBar' - * - * _.camelCase('__FOO_BAR__'); - * // => 'fooBar' - */ -var camelCase = createCompounder(function(result, word, index) { - word = word.toLowerCase(); - return result + (index ? capitalize(word) : word); -}); - -module.exports = camelCase; diff --git a/src/node_modules/lodash/capitalize.js b/src/node_modules/lodash/capitalize.js deleted file mode 100644 index 3e1600e..0000000 --- a/src/node_modules/lodash/capitalize.js +++ /dev/null @@ -1,23 +0,0 @@ -var toString = require('./toString'), - upperFirst = require('./upperFirst'); - -/** - * Converts the first character of `string` to upper case and the remaining - * to lower case. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to capitalize. - * @returns {string} Returns the capitalized string. - * @example - * - * _.capitalize('FRED'); - * // => 'Fred' - */ -function capitalize(string) { - return upperFirst(toString(string).toLowerCase()); -} - -module.exports = capitalize; diff --git a/src/node_modules/lodash/castArray.js b/src/node_modules/lodash/castArray.js deleted file mode 100644 index e470bdb..0000000 --- a/src/node_modules/lodash/castArray.js +++ /dev/null @@ -1,44 +0,0 @@ -var isArray = require('./isArray'); - -/** - * Casts `value` as an array if it's not one. - * - * @static - * @memberOf _ - * @since 4.4.0 - * @category Lang - * @param {*} value The value to inspect. - * @returns {Array} Returns the cast array. - * @example - * - * _.castArray(1); - * // => [1] - * - * _.castArray({ 'a': 1 }); - * // => [{ 'a': 1 }] - * - * _.castArray('abc'); - * // => ['abc'] - * - * _.castArray(null); - * // => [null] - * - * _.castArray(undefined); - * // => [undefined] - * - * _.castArray(); - * // => [] - * - * var array = [1, 2, 3]; - * console.log(_.castArray(array) === array); - * // => true - */ -function castArray() { - if (!arguments.length) { - return []; - } - var value = arguments[0]; - return isArray(value) ? value : [value]; -} - -module.exports = castArray; diff --git a/src/node_modules/lodash/ceil.js b/src/node_modules/lodash/ceil.js deleted file mode 100644 index 56c8722..0000000 --- a/src/node_modules/lodash/ceil.js +++ /dev/null @@ -1,26 +0,0 @@ -var createRound = require('./_createRound'); - -/** - * Computes `number` rounded up to `precision`. - * - * @static - * @memberOf _ - * @since 3.10.0 - * @category Math - * @param {number} number The number to round up. - * @param {number} [precision=0] The precision to round up to. - * @returns {number} Returns the rounded up number. - * @example - * - * _.ceil(4.006); - * // => 5 - * - * _.ceil(6.004, 2); - * // => 6.01 - * - * _.ceil(6040, -2); - * // => 6100 - */ -var ceil = createRound('ceil'); - -module.exports = ceil; diff --git a/src/node_modules/lodash/chain.js b/src/node_modules/lodash/chain.js deleted file mode 100644 index f6cd647..0000000 --- a/src/node_modules/lodash/chain.js +++ /dev/null @@ -1,38 +0,0 @@ -var lodash = require('./wrapperLodash'); - -/** - * Creates a `lodash` wrapper instance that wraps `value` with explicit method - * chain sequences enabled. The result of such sequences must be unwrapped - * with `_#value`. - * - * @static - * @memberOf _ - * @since 1.3.0 - * @category Seq - * @param {*} value The value to wrap. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'pebbles', 'age': 1 } - * ]; - * - * var youngest = _ - * .chain(users) - * .sortBy('age') - * .map(function(o) { - * return o.user + ' is ' + o.age; - * }) - * .head() - * .value(); - * // => 'pebbles is 1' - */ -function chain(value) { - var result = lodash(value); - result.__chain__ = true; - return result; -} - -module.exports = chain; diff --git a/src/node_modules/lodash/chunk.js b/src/node_modules/lodash/chunk.js deleted file mode 100644 index 5b562fe..0000000 --- a/src/node_modules/lodash/chunk.js +++ /dev/null @@ -1,50 +0,0 @@ -var baseSlice = require('./_baseSlice'), - isIterateeCall = require('./_isIterateeCall'), - toInteger = require('./toInteger'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeCeil = Math.ceil, - nativeMax = Math.max; - -/** - * Creates an array of elements split into groups the length of `size`. - * If `array` can't be split evenly, the final chunk will be the remaining - * elements. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to process. - * @param {number} [size=1] The length of each chunk - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the new array of chunks. - * @example - * - * _.chunk(['a', 'b', 'c', 'd'], 2); - * // => [['a', 'b'], ['c', 'd']] - * - * _.chunk(['a', 'b', 'c', 'd'], 3); - * // => [['a', 'b', 'c'], ['d']] - */ -function chunk(array, size, guard) { - if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) { - size = 1; - } else { - size = nativeMax(toInteger(size), 0); - } - var length = array == null ? 0 : array.length; - if (!length || size < 1) { - return []; - } - var index = 0, - resIndex = 0, - result = Array(nativeCeil(length / size)); - - while (index < length) { - result[resIndex++] = baseSlice(array, index, (index += size)); - } - return result; -} - -module.exports = chunk; diff --git a/src/node_modules/lodash/clamp.js b/src/node_modules/lodash/clamp.js deleted file mode 100644 index 91a72c9..0000000 --- a/src/node_modules/lodash/clamp.js +++ /dev/null @@ -1,39 +0,0 @@ -var baseClamp = require('./_baseClamp'), - toNumber = require('./toNumber'); - -/** - * Clamps `number` within the inclusive `lower` and `upper` bounds. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Number - * @param {number} number The number to clamp. - * @param {number} [lower] The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the clamped number. - * @example - * - * _.clamp(-10, -5, 5); - * // => -5 - * - * _.clamp(10, -5, 5); - * // => 5 - */ -function clamp(number, lower, upper) { - if (upper === undefined) { - upper = lower; - lower = undefined; - } - if (upper !== undefined) { - upper = toNumber(upper); - upper = upper === upper ? upper : 0; - } - if (lower !== undefined) { - lower = toNumber(lower); - lower = lower === lower ? lower : 0; - } - return baseClamp(toNumber(number), lower, upper); -} - -module.exports = clamp; diff --git a/src/node_modules/lodash/clone.js b/src/node_modules/lodash/clone.js deleted file mode 100644 index dd439d6..0000000 --- a/src/node_modules/lodash/clone.js +++ /dev/null @@ -1,36 +0,0 @@ -var baseClone = require('./_baseClone'); - -/** Used to compose bitmasks for cloning. */ -var CLONE_SYMBOLS_FLAG = 4; - -/** - * Creates a shallow clone of `value`. - * - * **Note:** This method is loosely based on the - * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm) - * and supports cloning arrays, array buffers, booleans, date objects, maps, - * numbers, `Object` objects, regexes, sets, strings, symbols, and typed - * arrays. The own enumerable properties of `arguments` objects are cloned - * as plain objects. An empty object is returned for uncloneable values such - * as error objects, functions, DOM nodes, and WeakMaps. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to clone. - * @returns {*} Returns the cloned value. - * @see _.cloneDeep - * @example - * - * var objects = [{ 'a': 1 }, { 'b': 2 }]; - * - * var shallow = _.clone(objects); - * console.log(shallow[0] === objects[0]); - * // => true - */ -function clone(value) { - return baseClone(value, CLONE_SYMBOLS_FLAG); -} - -module.exports = clone; diff --git a/src/node_modules/lodash/cloneDeep.js b/src/node_modules/lodash/cloneDeep.js deleted file mode 100644 index 4425fbe..0000000 --- a/src/node_modules/lodash/cloneDeep.js +++ /dev/null @@ -1,29 +0,0 @@ -var baseClone = require('./_baseClone'); - -/** Used to compose bitmasks for cloning. */ -var CLONE_DEEP_FLAG = 1, - CLONE_SYMBOLS_FLAG = 4; - -/** - * This method is like `_.clone` except that it recursively clones `value`. - * - * @static - * @memberOf _ - * @since 1.0.0 - * @category Lang - * @param {*} value The value to recursively clone. - * @returns {*} Returns the deep cloned value. - * @see _.clone - * @example - * - * var objects = [{ 'a': 1 }, { 'b': 2 }]; - * - * var deep = _.cloneDeep(objects); - * console.log(deep[0] === objects[0]); - * // => false - */ -function cloneDeep(value) { - return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG); -} - -module.exports = cloneDeep; diff --git a/src/node_modules/lodash/cloneDeepWith.js b/src/node_modules/lodash/cloneDeepWith.js deleted file mode 100644 index fd9c6c0..0000000 --- a/src/node_modules/lodash/cloneDeepWith.js +++ /dev/null @@ -1,40 +0,0 @@ -var baseClone = require('./_baseClone'); - -/** Used to compose bitmasks for cloning. */ -var CLONE_DEEP_FLAG = 1, - CLONE_SYMBOLS_FLAG = 4; - -/** - * This method is like `_.cloneWith` except that it recursively clones `value`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to recursively clone. - * @param {Function} [customizer] The function to customize cloning. - * @returns {*} Returns the deep cloned value. - * @see _.cloneWith - * @example - * - * function customizer(value) { - * if (_.isElement(value)) { - * return value.cloneNode(true); - * } - * } - * - * var el = _.cloneDeepWith(document.body, customizer); - * - * console.log(el === document.body); - * // => false - * console.log(el.nodeName); - * // => 'BODY' - * console.log(el.childNodes.length); - * // => 20 - */ -function cloneDeepWith(value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer); -} - -module.exports = cloneDeepWith; diff --git a/src/node_modules/lodash/cloneWith.js b/src/node_modules/lodash/cloneWith.js deleted file mode 100644 index d2f4e75..0000000 --- a/src/node_modules/lodash/cloneWith.js +++ /dev/null @@ -1,42 +0,0 @@ -var baseClone = require('./_baseClone'); - -/** Used to compose bitmasks for cloning. */ -var CLONE_SYMBOLS_FLAG = 4; - -/** - * This method is like `_.clone` except that it accepts `customizer` which - * is invoked to produce the cloned value. If `customizer` returns `undefined`, - * cloning is handled by the method instead. The `customizer` is invoked with - * up to four arguments; (value [, index|key, object, stack]). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to clone. - * @param {Function} [customizer] The function to customize cloning. - * @returns {*} Returns the cloned value. - * @see _.cloneDeepWith - * @example - * - * function customizer(value) { - * if (_.isElement(value)) { - * return value.cloneNode(false); - * } - * } - * - * var el = _.cloneWith(document.body, customizer); - * - * console.log(el === document.body); - * // => false - * console.log(el.nodeName); - * // => 'BODY' - * console.log(el.childNodes.length); - * // => 0 - */ -function cloneWith(value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseClone(value, CLONE_SYMBOLS_FLAG, customizer); -} - -module.exports = cloneWith; diff --git a/src/node_modules/lodash/collection.js b/src/node_modules/lodash/collection.js deleted file mode 100644 index 77fe837..0000000 --- a/src/node_modules/lodash/collection.js +++ /dev/null @@ -1,30 +0,0 @@ -module.exports = { - 'countBy': require('./countBy'), - 'each': require('./each'), - 'eachRight': require('./eachRight'), - 'every': require('./every'), - 'filter': require('./filter'), - 'find': require('./find'), - 'findLast': require('./findLast'), - 'flatMap': require('./flatMap'), - 'flatMapDeep': require('./flatMapDeep'), - 'flatMapDepth': require('./flatMapDepth'), - 'forEach': require('./forEach'), - 'forEachRight': require('./forEachRight'), - 'groupBy': require('./groupBy'), - 'includes': require('./includes'), - 'invokeMap': require('./invokeMap'), - 'keyBy': require('./keyBy'), - 'map': require('./map'), - 'orderBy': require('./orderBy'), - 'partition': require('./partition'), - 'reduce': require('./reduce'), - 'reduceRight': require('./reduceRight'), - 'reject': require('./reject'), - 'sample': require('./sample'), - 'sampleSize': require('./sampleSize'), - 'shuffle': require('./shuffle'), - 'size': require('./size'), - 'some': require('./some'), - 'sortBy': require('./sortBy') -}; diff --git a/src/node_modules/lodash/commit.js b/src/node_modules/lodash/commit.js deleted file mode 100644 index fe4db71..0000000 --- a/src/node_modules/lodash/commit.js +++ /dev/null @@ -1,33 +0,0 @@ -var LodashWrapper = require('./_LodashWrapper'); - -/** - * Executes the chain sequence and returns the wrapped result. - * - * @name commit - * @memberOf _ - * @since 3.2.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2]; - * var wrapped = _(array).push(3); - * - * console.log(array); - * // => [1, 2] - * - * wrapped = wrapped.commit(); - * console.log(array); - * // => [1, 2, 3] - * - * wrapped.last(); - * // => 3 - * - * console.log(array); - * // => [1, 2, 3] - */ -function wrapperCommit() { - return new LodashWrapper(this.value(), this.__chain__); -} - -module.exports = wrapperCommit; diff --git a/src/node_modules/lodash/compact.js b/src/node_modules/lodash/compact.js deleted file mode 100644 index 031fab4..0000000 --- a/src/node_modules/lodash/compact.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Creates an array with all falsey values removed. The values `false`, `null`, - * `0`, `""`, `undefined`, and `NaN` are falsey. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to compact. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.compact([0, 1, false, 2, '', 3]); - * // => [1, 2, 3] - */ -function compact(array) { - var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (value) { - result[resIndex++] = value; - } - } - return result; -} - -module.exports = compact; diff --git a/src/node_modules/lodash/concat.js b/src/node_modules/lodash/concat.js deleted file mode 100644 index 1da48a4..0000000 --- a/src/node_modules/lodash/concat.js +++ /dev/null @@ -1,43 +0,0 @@ -var arrayPush = require('./_arrayPush'), - baseFlatten = require('./_baseFlatten'), - copyArray = require('./_copyArray'), - isArray = require('./isArray'); - -/** - * Creates a new array concatenating `array` with any additional arrays - * and/or values. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to concatenate. - * @param {...*} [values] The values to concatenate. - * @returns {Array} Returns the new concatenated array. - * @example - * - * var array = [1]; - * var other = _.concat(array, 2, [3], [[4]]); - * - * console.log(other); - * // => [1, 2, 3, [4]] - * - * console.log(array); - * // => [1] - */ -function concat() { - var length = arguments.length; - if (!length) { - return []; - } - var args = Array(length - 1), - array = arguments[0], - index = length; - - while (index--) { - args[index - 1] = arguments[index]; - } - return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1)); -} - -module.exports = concat; diff --git a/src/node_modules/lodash/cond.js b/src/node_modules/lodash/cond.js deleted file mode 100644 index 6455598..0000000 --- a/src/node_modules/lodash/cond.js +++ /dev/null @@ -1,60 +0,0 @@ -var apply = require('./_apply'), - arrayMap = require('./_arrayMap'), - baseIteratee = require('./_baseIteratee'), - baseRest = require('./_baseRest'); - -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/** - * Creates a function that iterates over `pairs` and invokes the corresponding - * function of the first predicate to return truthy. The predicate-function - * pairs are invoked with the `this` binding and arguments of the created - * function. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Util - * @param {Array} pairs The predicate-function pairs. - * @returns {Function} Returns the new composite function. - * @example - * - * var func = _.cond([ - * [_.matches({ 'a': 1 }), _.constant('matches A')], - * [_.conforms({ 'b': _.isNumber }), _.constant('matches B')], - * [_.stubTrue, _.constant('no match')] - * ]); - * - * func({ 'a': 1, 'b': 2 }); - * // => 'matches A' - * - * func({ 'a': 0, 'b': 1 }); - * // => 'matches B' - * - * func({ 'a': '1', 'b': '2' }); - * // => 'no match' - */ -function cond(pairs) { - var length = pairs == null ? 0 : pairs.length, - toIteratee = baseIteratee; - - pairs = !length ? [] : arrayMap(pairs, function(pair) { - if (typeof pair[1] != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return [toIteratee(pair[0]), pair[1]]; - }); - - return baseRest(function(args) { - var index = -1; - while (++index < length) { - var pair = pairs[index]; - if (apply(pair[0], this, args)) { - return apply(pair[1], this, args); - } - } - }); -} - -module.exports = cond; diff --git a/src/node_modules/lodash/conforms.js b/src/node_modules/lodash/conforms.js deleted file mode 100644 index 5501a94..0000000 --- a/src/node_modules/lodash/conforms.js +++ /dev/null @@ -1,35 +0,0 @@ -var baseClone = require('./_baseClone'), - baseConforms = require('./_baseConforms'); - -/** Used to compose bitmasks for cloning. */ -var CLONE_DEEP_FLAG = 1; - -/** - * Creates a function that invokes the predicate properties of `source` with - * the corresponding property values of a given object, returning `true` if - * all predicates return truthy, else `false`. - * - * **Note:** The created function is equivalent to `_.conformsTo` with - * `source` partially applied. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Util - * @param {Object} source The object of property predicates to conform to. - * @returns {Function} Returns the new spec function. - * @example - * - * var objects = [ - * { 'a': 2, 'b': 1 }, - * { 'a': 1, 'b': 2 } - * ]; - * - * _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } })); - * // => [{ 'a': 1, 'b': 2 }] - */ -function conforms(source) { - return baseConforms(baseClone(source, CLONE_DEEP_FLAG)); -} - -module.exports = conforms; diff --git a/src/node_modules/lodash/conformsTo.js b/src/node_modules/lodash/conformsTo.js deleted file mode 100644 index b8a93eb..0000000 --- a/src/node_modules/lodash/conformsTo.js +++ /dev/null @@ -1,32 +0,0 @@ -var baseConformsTo = require('./_baseConformsTo'), - keys = require('./keys'); - -/** - * Checks if `object` conforms to `source` by invoking the predicate - * properties of `source` with the corresponding property values of `object`. - * - * **Note:** This method is equivalent to `_.conforms` when `source` is - * partially applied. - * - * @static - * @memberOf _ - * @since 4.14.0 - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property predicates to conform to. - * @returns {boolean} Returns `true` if `object` conforms, else `false`. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * - * _.conformsTo(object, { 'b': function(n) { return n > 1; } }); - * // => true - * - * _.conformsTo(object, { 'b': function(n) { return n > 2; } }); - * // => false - */ -function conformsTo(object, source) { - return source == null || baseConformsTo(object, source, keys(source)); -} - -module.exports = conformsTo; diff --git a/src/node_modules/lodash/constant.js b/src/node_modules/lodash/constant.js deleted file mode 100644 index 655ece3..0000000 --- a/src/node_modules/lodash/constant.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Creates a function that returns `value`. - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Util - * @param {*} value The value to return from the new function. - * @returns {Function} Returns the new constant function. - * @example - * - * var objects = _.times(2, _.constant({ 'a': 1 })); - * - * console.log(objects); - * // => [{ 'a': 1 }, { 'a': 1 }] - * - * console.log(objects[0] === objects[1]); - * // => true - */ -function constant(value) { - return function() { - return value; - }; -} - -module.exports = constant; diff --git a/src/node_modules/lodash/core.js b/src/node_modules/lodash/core.js deleted file mode 100644 index 88c263f..0000000 --- a/src/node_modules/lodash/core.js +++ /dev/null @@ -1,3836 +0,0 @@ -/** - * @license - * Lodash (Custom Build) - * Build: `lodash core -o ./dist/lodash.core.js` - * Copyright JS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */ -;(function() { - - /** Used as a safe reference for `undefined` in pre-ES5 environments. */ - var undefined; - - /** Used as the semantic version number. */ - var VERSION = '4.17.4'; - - /** Error message constants. */ - var FUNC_ERROR_TEXT = 'Expected a function'; - - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - - /** Used to compose bitmasks for function metadata. */ - var WRAP_BIND_FLAG = 1, - WRAP_PARTIAL_FLAG = 32; - - /** Used as references for various `Number` constants. */ - var INFINITY = 1 / 0, - MAX_SAFE_INTEGER = 9007199254740991; - - /** `Object#toString` result references. */ - var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - asyncTag = '[object AsyncFunction]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - numberTag = '[object Number]', - objectTag = '[object Object]', - proxyTag = '[object Proxy]', - regexpTag = '[object RegExp]', - stringTag = '[object String]'; - - /** Used to match HTML entities and HTML characters. */ - var reUnescapedHtml = /[&<>"']/g, - reHasUnescapedHtml = RegExp(reUnescapedHtml.source); - - /** Used to map characters to HTML entities. */ - var htmlEscapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''' - }; - - /** Detect free variable `global` from Node.js. */ - var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - - /** Detect free variable `self`. */ - var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - - /** Used as a reference to the global object. */ - var root = freeGlobal || freeSelf || Function('return this')(); - - /** Detect free variable `exports`. */ - var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; - - /** Detect free variable `module`. */ - var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; - - /*--------------------------------------------------------------------------*/ - - /** - * Appends the elements of `values` to `array`. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to append. - * @returns {Array} Returns `array`. - */ - function arrayPush(array, values) { - array.push.apply(array, values); - return array; - } - - /** - * The base implementation of `_.findIndex` and `_.findLastIndex` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {number} fromIndex The index to search from. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseFindIndex(array, predicate, fromIndex, fromRight) { - var length = array.length, - index = fromIndex + (fromRight ? 1 : -1); - - while ((fromRight ? index-- : ++index < length)) { - if (predicate(array[index], index, array)) { - return index; - } - } - return -1; - } - - /** - * The base implementation of `_.property` without support for deep paths. - * - * @private - * @param {string} key The key of the property to get. - * @returns {Function} Returns the new accessor function. - */ - function baseProperty(key) { - return function(object) { - return object == null ? undefined : object[key]; - }; - } - - /** - * The base implementation of `_.propertyOf` without support for deep paths. - * - * @private - * @param {Object} object The object to query. - * @returns {Function} Returns the new accessor function. - */ - function basePropertyOf(object) { - return function(key) { - return object == null ? undefined : object[key]; - }; - } - - /** - * The base implementation of `_.reduce` and `_.reduceRight`, without support - * for iteratee shorthands, which iterates over `collection` using `eachFunc`. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} accumulator The initial value. - * @param {boolean} initAccum Specify using the first or last element of - * `collection` as the initial value. - * @param {Function} eachFunc The function to iterate over `collection`. - * @returns {*} Returns the accumulated value. - */ - function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) { - eachFunc(collection, function(value, index, collection) { - accumulator = initAccum - ? (initAccum = false, value) - : iteratee(accumulator, value, index, collection); - }); - return accumulator; - } - - /** - * The base implementation of `_.values` and `_.valuesIn` which creates an - * array of `object` property values corresponding to the property names - * of `props`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} props The property names to get values for. - * @returns {Object} Returns the array of property values. - */ - function baseValues(object, props) { - return baseMap(props, function(key) { - return object[key]; - }); - } - - /** - * Used by `_.escape` to convert characters to HTML entities. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ - var escapeHtmlChar = basePropertyOf(htmlEscapes); - - /** - * Creates a unary function that invokes `func` with its argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ - function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; - } - - /*--------------------------------------------------------------------------*/ - - /** Used for built-in method references. */ - var arrayProto = Array.prototype, - objectProto = Object.prototype; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** Used to generate unique IDs. */ - var idCounter = 0; - - /** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ - var nativeObjectToString = objectProto.toString; - - /** Used to restore the original `_` reference in `_.noConflict`. */ - var oldDash = root._; - - /** Built-in value references. */ - var objectCreate = Object.create, - propertyIsEnumerable = objectProto.propertyIsEnumerable; - - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeIsFinite = root.isFinite, - nativeKeys = overArg(Object.keys, Object), - nativeMax = Math.max; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a `lodash` object which wraps `value` to enable implicit method - * chain sequences. Methods that operate on and return arrays, collections, - * and functions can be chained together. Methods that retrieve a single value - * or may return a primitive value will automatically end the chain sequence - * and return the unwrapped value. Otherwise, the value must be unwrapped - * with `_#value`. - * - * Explicit chain sequences, which must be unwrapped with `_#value`, may be - * enabled using `_.chain`. - * - * The execution of chained methods is lazy, that is, it's deferred until - * `_#value` is implicitly or explicitly called. - * - * Lazy evaluation allows several methods to support shortcut fusion. - * Shortcut fusion is an optimization to merge iteratee calls; this avoids - * the creation of intermediate arrays and can greatly reduce the number of - * iteratee executions. Sections of a chain sequence qualify for shortcut - * fusion if the section is applied to an array and iteratees accept only - * one argument. The heuristic for whether a section qualifies for shortcut - * fusion is subject to change. - * - * Chaining is supported in custom builds as long as the `_#value` method is - * directly or indirectly included in the build. - * - * In addition to lodash methods, wrappers have `Array` and `String` methods. - * - * The wrapper `Array` methods are: - * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift` - * - * The wrapper `String` methods are: - * `replace` and `split` - * - * The wrapper methods that support shortcut fusion are: - * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`, - * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`, - * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray` - * - * The chainable wrapper methods are: - * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`, - * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`, - * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`, - * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`, - * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`, - * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`, - * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`, - * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`, - * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`, - * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`, - * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`, - * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`, - * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`, - * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`, - * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`, - * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`, - * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`, - * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`, - * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`, - * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`, - * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`, - * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`, - * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`, - * `zipObject`, `zipObjectDeep`, and `zipWith` - * - * The wrapper methods that are **not** chainable by default are: - * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`, - * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`, - * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`, - * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`, - * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`, - * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`, - * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`, - * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`, - * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`, - * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`, - * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`, - * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`, - * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`, - * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`, - * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`, - * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`, - * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`, - * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`, - * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`, - * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`, - * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`, - * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`, - * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`, - * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`, - * `upperFirst`, `value`, and `words` - * - * @name _ - * @constructor - * @category Seq - * @param {*} value The value to wrap in a `lodash` instance. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var wrapped = _([1, 2, 3]); - * - * // Returns an unwrapped value. - * wrapped.reduce(_.add); - * // => 6 - * - * // Returns a wrapped value. - * var squares = wrapped.map(square); - * - * _.isArray(squares); - * // => false - * - * _.isArray(squares.value()); - * // => true - */ - function lodash(value) { - return value instanceof LodashWrapper - ? value - : new LodashWrapper(value); - } - - /** - * The base implementation of `_.create` without support for assigning - * properties to the created object. - * - * @private - * @param {Object} proto The object to inherit from. - * @returns {Object} Returns the new object. - */ - var baseCreate = (function() { - function object() {} - return function(proto) { - if (!isObject(proto)) { - return {}; - } - if (objectCreate) { - return objectCreate(proto); - } - object.prototype = proto; - var result = new object; - object.prototype = undefined; - return result; - }; - }()); - - /** - * The base constructor for creating `lodash` wrapper objects. - * - * @private - * @param {*} value The value to wrap. - * @param {boolean} [chainAll] Enable explicit method chain sequences. - */ - function LodashWrapper(value, chainAll) { - this.__wrapped__ = value; - this.__actions__ = []; - this.__chain__ = !!chainAll; - } - - LodashWrapper.prototype = baseCreate(lodash.prototype); - LodashWrapper.prototype.constructor = LodashWrapper; - - /*------------------------------------------------------------------------*/ - - /** - * Assigns `value` to `key` of `object` if the existing value is not equivalent - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function assignValue(object, key, value) { - var objValue = object[key]; - if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } - } - - /** - * The base implementation of `assignValue` and `assignMergeValue` without - * value checks. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function baseAssignValue(object, key, value) { - object[key] = value; - } - - /** - * The base implementation of `_.delay` and `_.defer` which accepts `args` - * to provide to `func`. - * - * @private - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {Array} args The arguments to provide to `func`. - * @returns {number|Object} Returns the timer id or timeout object. - */ - function baseDelay(func, wait, args) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return setTimeout(function() { func.apply(undefined, args); }, wait); - } - - /** - * The base implementation of `_.forEach` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - */ - var baseEach = createBaseEach(baseForOwn); - - /** - * The base implementation of `_.every` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false` - */ - function baseEvery(collection, predicate) { - var result = true; - baseEach(collection, function(value, index, collection) { - result = !!predicate(value, index, collection); - return result; - }); - return result; - } - - /** - * The base implementation of methods like `_.max` and `_.min` which accepts a - * `comparator` to determine the extremum value. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The iteratee invoked per iteration. - * @param {Function} comparator The comparator used to compare values. - * @returns {*} Returns the extremum value. - */ - function baseExtremum(array, iteratee, comparator) { - var index = -1, - length = array.length; - - while (++index < length) { - var value = array[index], - current = iteratee(value); - - if (current != null && (computed === undefined - ? (current === current && !false) - : comparator(current, computed) - )) { - var computed = current, - result = value; - } - } - return result; - } - - /** - * The base implementation of `_.filter` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ - function baseFilter(collection, predicate) { - var result = []; - baseEach(collection, function(value, index, collection) { - if (predicate(value, index, collection)) { - result.push(value); - } - }); - return result; - } - - /** - * The base implementation of `_.flatten` with support for restricting flattening. - * - * @private - * @param {Array} array The array to flatten. - * @param {number} depth The maximum recursion depth. - * @param {boolean} [predicate=isFlattenable] The function invoked per iteration. - * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks. - * @param {Array} [result=[]] The initial result value. - * @returns {Array} Returns the new flattened array. - */ - function baseFlatten(array, depth, predicate, isStrict, result) { - var index = -1, - length = array.length; - - predicate || (predicate = isFlattenable); - result || (result = []); - - while (++index < length) { - var value = array[index]; - if (depth > 0 && predicate(value)) { - if (depth > 1) { - // Recursively flatten arrays (susceptible to call stack limits). - baseFlatten(value, depth - 1, predicate, isStrict, result); - } else { - arrayPush(result, value); - } - } else if (!isStrict) { - result[result.length] = value; - } - } - return result; - } - - /** - * The base implementation of `baseForOwn` which iterates over `object` - * properties returned by `keysFunc` and invokes `iteratee` for each property. - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ - var baseFor = createBaseFor(); - - /** - * The base implementation of `_.forOwn` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ - function baseForOwn(object, iteratee) { - return object && baseFor(object, iteratee, keys); - } - - /** - * The base implementation of `_.functions` which creates an array of - * `object` function property names filtered from `props`. - * - * @private - * @param {Object} object The object to inspect. - * @param {Array} props The property names to filter. - * @returns {Array} Returns the function names. - */ - function baseFunctions(object, props) { - return baseFilter(props, function(key) { - return isFunction(object[key]); - }); - } - - /** - * The base implementation of `getTag` without fallbacks for buggy environments. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ - function baseGetTag(value) { - return objectToString(value); - } - - /** - * The base implementation of `_.gt` which doesn't coerce arguments. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than `other`, - * else `false`. - */ - function baseGt(value, other) { - return value > other; - } - - /** - * The base implementation of `_.isArguments`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - */ - var baseIsArguments = noop; - - /** - * The base implementation of `_.isDate` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a date object, else `false`. - */ - function baseIsDate(value) { - return isObjectLike(value) && baseGetTag(value) == dateTag; - } - - /** - * The base implementation of `_.isEqual` which supports partial comparisons - * and tracks traversed objects. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {boolean} bitmask The bitmask flags. - * 1 - Unordered comparison - * 2 - Partial comparison - * @param {Function} [customizer] The function to customize comparisons. - * @param {Object} [stack] Tracks traversed `value` and `other` objects. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - */ - function baseIsEqual(value, other, bitmask, customizer, stack) { - if (value === other) { - return true; - } - if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { - return value !== value && other !== other; - } - return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); - } - - /** - * A specialized version of `baseIsEqual` for arrays and objects which performs - * deep comparisons and tracks traversed objects enabling objects with circular - * references to be compared. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} [stack] Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { - var objIsArr = isArray(object), - othIsArr = isArray(other), - objTag = objIsArr ? arrayTag : baseGetTag(object), - othTag = othIsArr ? arrayTag : baseGetTag(other); - - objTag = objTag == argsTag ? objectTag : objTag; - othTag = othTag == argsTag ? objectTag : othTag; - - var objIsObj = objTag == objectTag, - othIsObj = othTag == objectTag, - isSameTag = objTag == othTag; - - stack || (stack = []); - var objStack = find(stack, function(entry) { - return entry[0] == object; - }); - var othStack = find(stack, function(entry) { - return entry[0] == other; - }); - if (objStack && othStack) { - return objStack[1] == other; - } - stack.push([object, other]); - stack.push([other, object]); - if (isSameTag && !objIsObj) { - var result = (objIsArr) - ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) - : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); - stack.pop(); - return result; - } - if (!(bitmask & COMPARE_PARTIAL_FLAG)) { - var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), - othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); - - if (objIsWrapped || othIsWrapped) { - var objUnwrapped = objIsWrapped ? object.value() : object, - othUnwrapped = othIsWrapped ? other.value() : other; - - var result = equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); - stack.pop(); - return result; - } - } - if (!isSameTag) { - return false; - } - var result = equalObjects(object, other, bitmask, customizer, equalFunc, stack); - stack.pop(); - return result; - } - - /** - * The base implementation of `_.isRegExp` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. - */ - function baseIsRegExp(value) { - return isObjectLike(value) && baseGetTag(value) == regexpTag; - } - - /** - * The base implementation of `_.iteratee`. - * - * @private - * @param {*} [value=_.identity] The value to convert to an iteratee. - * @returns {Function} Returns the iteratee. - */ - function baseIteratee(func) { - if (typeof func == 'function') { - return func; - } - if (func == null) { - return identity; - } - return (typeof func == 'object' ? baseMatches : baseProperty)(func); - } - - /** - * The base implementation of `_.lt` which doesn't coerce arguments. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is less than `other`, - * else `false`. - */ - function baseLt(value, other) { - return value < other; - } - - /** - * The base implementation of `_.map` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ - function baseMap(collection, iteratee) { - var index = -1, - result = isArrayLike(collection) ? Array(collection.length) : []; - - baseEach(collection, function(value, key, collection) { - result[++index] = iteratee(value, key, collection); - }); - return result; - } - - /** - * The base implementation of `_.matches` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property values to match. - * @returns {Function} Returns the new spec function. - */ - function baseMatches(source) { - var props = nativeKeys(source); - return function(object) { - var length = props.length; - if (object == null) { - return !length; - } - object = Object(object); - while (length--) { - var key = props[length]; - if (!(key in object && - baseIsEqual(source[key], object[key], COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG) - )) { - return false; - } - } - return true; - }; - } - - /** - * The base implementation of `_.pick` without support for individual - * property identifiers. - * - * @private - * @param {Object} object The source object. - * @param {string[]} paths The property paths to pick. - * @returns {Object} Returns the new object. - */ - function basePick(object, props) { - object = Object(object); - return reduce(props, function(result, key) { - if (key in object) { - result[key] = object[key]; - } - return result; - }, {}); - } - - /** - * The base implementation of `_.rest` which doesn't validate or coerce arguments. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - */ - function baseRest(func, start) { - return setToString(overRest(func, start, identity), func + ''); - } - - /** - * The base implementation of `_.slice` without an iteratee call guard. - * - * @private - * @param {Array} array The array to slice. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the slice of `array`. - */ - function baseSlice(array, start, end) { - var index = -1, - length = array.length; - - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = end > length ? length : end; - if (end < 0) { - end += length; - } - length = start > end ? 0 : ((end - start) >>> 0); - start >>>= 0; - - var result = Array(length); - while (++index < length) { - result[index] = array[index + start]; - } - return result; - } - - /** - * Copies the values of `source` to `array`. - * - * @private - * @param {Array} source The array to copy values from. - * @param {Array} [array=[]] The array to copy values to. - * @returns {Array} Returns `array`. - */ - function copyArray(source) { - return baseSlice(source, 0, source.length); - } - - /** - * The base implementation of `_.some` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ - function baseSome(collection, predicate) { - var result; - - baseEach(collection, function(value, index, collection) { - result = predicate(value, index, collection); - return !result; - }); - return !!result; - } - - /** - * The base implementation of `wrapperValue` which returns the result of - * performing a sequence of actions on the unwrapped `value`, where each - * successive action is supplied the return value of the previous. - * - * @private - * @param {*} value The unwrapped value. - * @param {Array} actions Actions to perform to resolve the unwrapped value. - * @returns {*} Returns the resolved value. - */ - function baseWrapperValue(value, actions) { - var result = value; - return reduce(actions, function(result, action) { - return action.func.apply(action.thisArg, arrayPush([result], action.args)); - }, result); - } - - /** - * Compares values to sort them in ascending order. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {number} Returns the sort order indicator for `value`. - */ - function compareAscending(value, other) { - if (value !== other) { - var valIsDefined = value !== undefined, - valIsNull = value === null, - valIsReflexive = value === value, - valIsSymbol = false; - - var othIsDefined = other !== undefined, - othIsNull = other === null, - othIsReflexive = other === other, - othIsSymbol = false; - - if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) || - (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) || - (valIsNull && othIsDefined && othIsReflexive) || - (!valIsDefined && othIsReflexive) || - !valIsReflexive) { - return 1; - } - if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) || - (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) || - (othIsNull && valIsDefined && valIsReflexive) || - (!othIsDefined && valIsReflexive) || - !othIsReflexive) { - return -1; - } - } - return 0; - } - - /** - * Copies properties of `source` to `object`. - * - * @private - * @param {Object} source The object to copy properties from. - * @param {Array} props The property identifiers to copy. - * @param {Object} [object={}] The object to copy properties to. - * @param {Function} [customizer] The function to customize copied values. - * @returns {Object} Returns `object`. - */ - function copyObject(source, props, object, customizer) { - var isNew = !object; - object || (object = {}); - - var index = -1, - length = props.length; - - while (++index < length) { - var key = props[index]; - - var newValue = customizer - ? customizer(object[key], source[key], key, object, source) - : undefined; - - if (newValue === undefined) { - newValue = source[key]; - } - if (isNew) { - baseAssignValue(object, key, newValue); - } else { - assignValue(object, key, newValue); - } - } - return object; - } - - /** - * Creates a function like `_.assign`. - * - * @private - * @param {Function} assigner The function to assign values. - * @returns {Function} Returns the new assigner function. - */ - function createAssigner(assigner) { - return baseRest(function(object, sources) { - var index = -1, - length = sources.length, - customizer = length > 1 ? sources[length - 1] : undefined; - - customizer = (assigner.length > 3 && typeof customizer == 'function') - ? (length--, customizer) - : undefined; - - object = Object(object); - while (++index < length) { - var source = sources[index]; - if (source) { - assigner(object, source, index, customizer); - } - } - return object; - }); - } - - /** - * Creates a `baseEach` or `baseEachRight` function. - * - * @private - * @param {Function} eachFunc The function to iterate over a collection. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseEach(eachFunc, fromRight) { - return function(collection, iteratee) { - if (collection == null) { - return collection; - } - if (!isArrayLike(collection)) { - return eachFunc(collection, iteratee); - } - var length = collection.length, - index = fromRight ? length : -1, - iterable = Object(collection); - - while ((fromRight ? index-- : ++index < length)) { - if (iteratee(iterable[index], index, iterable) === false) { - break; - } - } - return collection; - }; - } - - /** - * Creates a base function for methods like `_.forIn` and `_.forOwn`. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { - var index = -1, - iterable = Object(object), - props = keysFunc(object), - length = props.length; - - while (length--) { - var key = props[fromRight ? length : ++index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - }; - } - - /** - * Creates a function that produces an instance of `Ctor` regardless of - * whether it was invoked as part of a `new` expression or by `call` or `apply`. - * - * @private - * @param {Function} Ctor The constructor to wrap. - * @returns {Function} Returns the new wrapped function. - */ - function createCtor(Ctor) { - return function() { - // Use a `switch` statement to work with class constructors. See - // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist - // for more details. - var args = arguments; - var thisBinding = baseCreate(Ctor.prototype), - result = Ctor.apply(thisBinding, args); - - // Mimic the constructor's `return` behavior. - // See https://es5.github.io/#x13.2.2 for more details. - return isObject(result) ? result : thisBinding; - }; - } - - /** - * Creates a `_.find` or `_.findLast` function. - * - * @private - * @param {Function} findIndexFunc The function to find the collection index. - * @returns {Function} Returns the new find function. - */ - function createFind(findIndexFunc) { - return function(collection, predicate, fromIndex) { - var iterable = Object(collection); - if (!isArrayLike(collection)) { - var iteratee = baseIteratee(predicate, 3); - collection = keys(collection); - predicate = function(key) { return iteratee(iterable[key], key, iterable); }; - } - var index = findIndexFunc(collection, predicate, fromIndex); - return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined; - }; - } - - /** - * Creates a function that wraps `func` to invoke it with the `this` binding - * of `thisArg` and `partials` prepended to the arguments it receives. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} partials The arguments to prepend to those provided to - * the new function. - * @returns {Function} Returns the new wrapped function. - */ - function createPartial(func, bitmask, thisArg, partials) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - var isBind = bitmask & WRAP_BIND_FLAG, - Ctor = createCtor(func); - - function wrapper() { - var argsIndex = -1, - argsLength = arguments.length, - leftIndex = -1, - leftLength = partials.length, - args = Array(leftLength + argsLength), - fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - - while (++leftIndex < leftLength) { - args[leftIndex] = partials[leftIndex]; - } - while (argsLength--) { - args[leftIndex++] = arguments[++argsIndex]; - } - return fn.apply(isBind ? thisArg : this, args); - } - return wrapper; - } - - /** - * Used by `_.defaults` to customize its `_.assignIn` use to assign properties - * of source objects to the destination object for all destination properties - * that resolve to `undefined`. - * - * @private - * @param {*} objValue The destination value. - * @param {*} srcValue The source value. - * @param {string} key The key of the property to assign. - * @param {Object} object The parent object of `objValue`. - * @returns {*} Returns the value to assign. - */ - function customDefaultsAssignIn(objValue, srcValue, key, object) { - if (objValue === undefined || - (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) { - return srcValue; - } - return objValue; - } - - /** - * A specialized version of `baseIsEqualDeep` for arrays with support for - * partial deep comparisons. - * - * @private - * @param {Array} array The array to compare. - * @param {Array} other The other array to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `array` and `other` objects. - * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. - */ - function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - arrLength = array.length, - othLength = other.length; - - if (arrLength != othLength && !(isPartial && othLength > arrLength)) { - return false; - } - var index = -1, - result = true, - seen = (bitmask & COMPARE_UNORDERED_FLAG) ? [] : undefined; - - // Ignore non-index properties. - while (++index < arrLength) { - var arrValue = array[index], - othValue = other[index]; - - var compared; - if (compared !== undefined) { - if (compared) { - continue; - } - result = false; - break; - } - // Recursively compare arrays (susceptible to call stack limits). - if (seen) { - if (!baseSome(other, function(othValue, othIndex) { - if (!indexOf(seen, othIndex) && - (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { - return seen.push(othIndex); - } - })) { - result = false; - break; - } - } else if (!( - arrValue === othValue || - equalFunc(arrValue, othValue, bitmask, customizer, stack) - )) { - result = false; - break; - } - } - return result; - } - - /** - * A specialized version of `baseIsEqualDeep` for comparing objects of - * the same `toStringTag`. - * - * **Note:** This function only supports comparing values with tags of - * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {string} tag The `toStringTag` of the objects to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { - switch (tag) { - - case boolTag: - case dateTag: - case numberTag: - // Coerce booleans to `1` or `0` and dates to milliseconds. - // Invalid dates are coerced to `NaN`. - return eq(+object, +other); - - case errorTag: - return object.name == other.name && object.message == other.message; - - case regexpTag: - case stringTag: - // Coerce regexes to strings and treat strings, primitives and objects, - // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring - // for more details. - return object == (other + ''); - - } - return false; - } - - /** - * A specialized version of `baseIsEqualDeep` for objects with support for - * partial deep comparisons. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - objProps = keys(object), - objLength = objProps.length, - othProps = keys(other), - othLength = othProps.length; - - if (objLength != othLength && !isPartial) { - return false; - } - var index = objLength; - while (index--) { - var key = objProps[index]; - if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { - return false; - } - } - var result = true; - - var skipCtor = isPartial; - while (++index < objLength) { - key = objProps[index]; - var objValue = object[key], - othValue = other[key]; - - var compared; - // Recursively compare objects (susceptible to call stack limits). - if (!(compared === undefined - ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) - : compared - )) { - result = false; - break; - } - skipCtor || (skipCtor = key == 'constructor'); - } - if (result && !skipCtor) { - var objCtor = object.constructor, - othCtor = other.constructor; - - // Non `Object` object instances with different constructors are not equal. - if (objCtor != othCtor && - ('constructor' in object && 'constructor' in other) && - !(typeof objCtor == 'function' && objCtor instanceof objCtor && - typeof othCtor == 'function' && othCtor instanceof othCtor)) { - result = false; - } - } - return result; - } - - /** - * A specialized version of `baseRest` which flattens the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. - */ - function flatRest(func) { - return setToString(overRest(func, undefined, flatten), func + ''); - } - - /** - * Checks if `value` is a flattenable `arguments` object or array. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. - */ - function isFlattenable(value) { - return isArray(value) || isArguments(value); - } - - /** - * This function is like - * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * except that it includes inherited enumerable properties. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function nativeKeysIn(object) { - var result = []; - if (object != null) { - for (var key in Object(object)) { - result.push(key); - } - } - return result; - } - - /** - * Converts `value` to a string using `Object.prototype.toString`. - * - * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - */ - function objectToString(value) { - return nativeObjectToString.call(value); - } - - /** - * A specialized version of `baseRest` which transforms the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @param {Function} transform The rest array transform. - * @returns {Function} Returns the new function. - */ - function overRest(func, start, transform) { - start = nativeMax(start === undefined ? (func.length - 1) : start, 0); - return function() { - var args = arguments, - index = -1, - length = nativeMax(args.length - start, 0), - array = Array(length); - - while (++index < length) { - array[index] = args[start + index]; - } - index = -1; - var otherArgs = Array(start + 1); - while (++index < start) { - otherArgs[index] = args[index]; - } - otherArgs[start] = transform(array); - return func.apply(this, otherArgs); - }; - } - - /** - * Sets the `toString` method of `func` to return `string`. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var setToString = identity; - - /*------------------------------------------------------------------------*/ - - /** - * Creates an array with all falsey values removed. The values `false`, `null`, - * `0`, `""`, `undefined`, and `NaN` are falsey. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to compact. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.compact([0, 1, false, 2, '', 3]); - * // => [1, 2, 3] - */ - function compact(array) { - return baseFilter(array, Boolean); - } - - /** - * Creates a new array concatenating `array` with any additional arrays - * and/or values. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to concatenate. - * @param {...*} [values] The values to concatenate. - * @returns {Array} Returns the new concatenated array. - * @example - * - * var array = [1]; - * var other = _.concat(array, 2, [3], [[4]]); - * - * console.log(other); - * // => [1, 2, 3, [4]] - * - * console.log(array); - * // => [1] - */ - function concat() { - var length = arguments.length; - if (!length) { - return []; - } - var args = Array(length - 1), - array = arguments[0], - index = length; - - while (index--) { - args[index - 1] = arguments[index]; - } - return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1)); - } - - /** - * This method is like `_.find` except that it returns the index of the first - * element `predicate` returns truthy for instead of the element itself. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the found element, else `-1`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.findIndex(users, function(o) { return o.user == 'barney'; }); - * // => 0 - * - * // The `_.matches` iteratee shorthand. - * _.findIndex(users, { 'user': 'fred', 'active': false }); - * // => 1 - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findIndex(users, ['active', false]); - * // => 0 - * - * // The `_.property` iteratee shorthand. - * _.findIndex(users, 'active'); - * // => 2 - */ - function findIndex(array, predicate, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = fromIndex == null ? 0 : toInteger(fromIndex); - if (index < 0) { - index = nativeMax(length + index, 0); - } - return baseFindIndex(array, baseIteratee(predicate, 3), index); - } - - /** - * Flattens `array` a single level deep. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flatten([1, [2, [3, [4]], 5]]); - * // => [1, 2, [3, [4]], 5] - */ - function flatten(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, 1) : []; - } - - /** - * Recursively flattens `array`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flattenDeep([1, [2, [3, [4]], 5]]); - * // => [1, 2, 3, 4, 5] - */ - function flattenDeep(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, INFINITY) : []; - } - - /** - * Gets the first element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @alias first - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the first element of `array`. - * @example - * - * _.head([1, 2, 3]); - * // => 1 - * - * _.head([]); - * // => undefined - */ - function head(array) { - return (array && array.length) ? array[0] : undefined; - } - - /** - * Gets the index at which the first occurrence of `value` is found in `array` - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. If `fromIndex` is negative, it's used as the - * offset from the end of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 - * - * // Search from the `fromIndex`. - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 - */ - function indexOf(array, value, fromIndex) { - var length = array == null ? 0 : array.length; - if (typeof fromIndex == 'number') { - fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex; - } else { - fromIndex = 0; - } - var index = (fromIndex || 0) - 1, - isReflexive = value === value; - - while (++index < length) { - var other = array[index]; - if ((isReflexive ? other === value : other !== other)) { - return index; - } - } - return -1; - } - - /** - * Gets the last element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the last element of `array`. - * @example - * - * _.last([1, 2, 3]); - * // => 3 - */ - function last(array) { - var length = array == null ? 0 : array.length; - return length ? array[length - 1] : undefined; - } - - /** - * Creates a slice of `array` from `start` up to, but not including, `end`. - * - * **Note:** This method is used instead of - * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are - * returned. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to slice. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the slice of `array`. - */ - function slice(array, start, end) { - var length = array == null ? 0 : array.length; - start = start == null ? 0 : +start; - end = end === undefined ? length : +end; - return length ? baseSlice(array, start, end) : []; - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates a `lodash` wrapper instance that wraps `value` with explicit method - * chain sequences enabled. The result of such sequences must be unwrapped - * with `_#value`. - * - * @static - * @memberOf _ - * @since 1.3.0 - * @category Seq - * @param {*} value The value to wrap. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'pebbles', 'age': 1 } - * ]; - * - * var youngest = _ - * .chain(users) - * .sortBy('age') - * .map(function(o) { - * return o.user + ' is ' + o.age; - * }) - * .head() - * .value(); - * // => 'pebbles is 1' - */ - function chain(value) { - var result = lodash(value); - result.__chain__ = true; - return result; - } - - /** - * This method invokes `interceptor` and returns `value`. The interceptor - * is invoked with one argument; (value). The purpose of this method is to - * "tap into" a method chain sequence in order to modify intermediate results. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @returns {*} Returns `value`. - * @example - * - * _([1, 2, 3]) - * .tap(function(array) { - * // Mutate input array. - * array.pop(); - * }) - * .reverse() - * .value(); - * // => [2, 1] - */ - function tap(value, interceptor) { - interceptor(value); - return value; - } - - /** - * This method is like `_.tap` except that it returns the result of `interceptor`. - * The purpose of this method is to "pass thru" values replacing intermediate - * results in a method chain sequence. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Seq - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @returns {*} Returns the result of `interceptor`. - * @example - * - * _(' abc ') - * .chain() - * .trim() - * .thru(function(value) { - * return [value]; - * }) - * .value(); - * // => ['abc'] - */ - function thru(value, interceptor) { - return interceptor(value); - } - - /** - * Creates a `lodash` wrapper instance with explicit method chain sequences enabled. - * - * @name chain - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * // A sequence without explicit chaining. - * _(users).head(); - * // => { 'user': 'barney', 'age': 36 } - * - * // A sequence with explicit chaining. - * _(users) - * .chain() - * .head() - * .pick('user') - * .value(); - * // => { 'user': 'barney' } - */ - function wrapperChain() { - return chain(this); - } - - /** - * Executes the chain sequence to resolve the unwrapped value. - * - * @name value - * @memberOf _ - * @since 0.1.0 - * @alias toJSON, valueOf - * @category Seq - * @returns {*} Returns the resolved unwrapped value. - * @example - * - * _([1, 2, 3]).value(); - * // => [1, 2, 3] - */ - function wrapperValue() { - return baseWrapperValue(this.__wrapped__, this.__actions__); - } - - /*------------------------------------------------------------------------*/ - - /** - * Checks if `predicate` returns truthy for **all** elements of `collection`. - * Iteration is stopped once `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index|key, collection). - * - * **Note:** This method returns `true` for - * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because - * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of - * elements of empty collections. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - * @example - * - * _.every([true, 1, null, 'yes'], Boolean); - * // => false - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.every(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // The `_.matchesProperty` iteratee shorthand. - * _.every(users, ['active', false]); - * // => true - * - * // The `_.property` iteratee shorthand. - * _.every(users, 'active'); - * // => false - */ - function every(collection, predicate, guard) { - predicate = guard ? undefined : predicate; - return baseEvery(collection, baseIteratee(predicate)); - } - - /** - * Iterates over elements of `collection`, returning an array of all elements - * `predicate` returns truthy for. The predicate is invoked with three - * arguments: (value, index|key, collection). - * - * **Note:** Unlike `_.remove`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - * @see _.reject - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * _.filter(users, function(o) { return !o.active; }); - * // => objects for ['fred'] - * - * // The `_.matches` iteratee shorthand. - * _.filter(users, { 'age': 36, 'active': true }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.filter(users, ['active', false]); - * // => objects for ['fred'] - * - * // The `_.property` iteratee shorthand. - * _.filter(users, 'active'); - * // => objects for ['barney'] - */ - function filter(collection, predicate) { - return baseFilter(collection, baseIteratee(predicate)); - } - - /** - * Iterates over elements of `collection`, returning the first element - * `predicate` returns truthy for. The predicate is invoked with three - * arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=0] The index to search from. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false }, - * { 'user': 'pebbles', 'age': 1, 'active': true } - * ]; - * - * _.find(users, function(o) { return o.age < 40; }); - * // => object for 'barney' - * - * // The `_.matches` iteratee shorthand. - * _.find(users, { 'age': 1, 'active': true }); - * // => object for 'pebbles' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.find(users, ['active', false]); - * // => object for 'fred' - * - * // The `_.property` iteratee shorthand. - * _.find(users, 'active'); - * // => object for 'barney' - */ - var find = createFind(findIndex); - - /** - * Iterates over elements of `collection` and invokes `iteratee` for each element. - * The iteratee is invoked with three arguments: (value, index|key, collection). - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * **Note:** As with other "Collections" methods, objects with a "length" - * property are iterated like arrays. To avoid this behavior use `_.forIn` - * or `_.forOwn` for object iteration. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @alias each - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - * @see _.forEachRight - * @example - * - * _.forEach([1, 2], function(value) { - * console.log(value); - * }); - * // => Logs `1` then `2`. - * - * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a' then 'b' (iteration order is not guaranteed). - */ - function forEach(collection, iteratee) { - return baseEach(collection, baseIteratee(iteratee)); - } - - /** - * Creates an array of values by running each element in `collection` thru - * `iteratee`. The iteratee is invoked with three arguments: - * (value, index|key, collection). - * - * Many lodash methods are guarded to work as iteratees for methods like - * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`. - * - * The guarded methods are: - * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`, - * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`, - * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`, - * `template`, `trim`, `trimEnd`, `trimStart`, and `words` - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - * @example - * - * function square(n) { - * return n * n; - * } - * - * _.map([4, 8], square); - * // => [16, 64] - * - * _.map({ 'a': 4, 'b': 8 }, square); - * // => [16, 64] (iteration order is not guaranteed) - * - * var users = [ - * { 'user': 'barney' }, - * { 'user': 'fred' } - * ]; - * - * // The `_.property` iteratee shorthand. - * _.map(users, 'user'); - * // => ['barney', 'fred'] - */ - function map(collection, iteratee) { - return baseMap(collection, baseIteratee(iteratee)); - } - - /** - * Reduces `collection` to a value which is the accumulated result of running - * each element in `collection` thru `iteratee`, where each successive - * invocation is supplied the return value of the previous. If `accumulator` - * is not given, the first element of `collection` is used as the initial - * value. The iteratee is invoked with four arguments: - * (accumulator, value, index|key, collection). - * - * Many lodash methods are guarded to work as iteratees for methods like - * `_.reduce`, `_.reduceRight`, and `_.transform`. - * - * The guarded methods are: - * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`, - * and `sortBy` - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @returns {*} Returns the accumulated value. - * @see _.reduceRight - * @example - * - * _.reduce([1, 2], function(sum, n) { - * return sum + n; - * }, 0); - * // => 3 - * - * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) { - * (result[value] || (result[value] = [])).push(key); - * return result; - * }, {}); - * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed) - */ - function reduce(collection, iteratee, accumulator) { - return baseReduce(collection, baseIteratee(iteratee), accumulator, arguments.length < 3, baseEach); - } - - /** - * Gets the size of `collection` by returning its length for array-like - * values or the number of own enumerable string keyed properties for objects. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @returns {number} Returns the collection size. - * @example - * - * _.size([1, 2, 3]); - * // => 3 - * - * _.size({ 'a': 1, 'b': 2 }); - * // => 2 - * - * _.size('pebbles'); - * // => 7 - */ - function size(collection) { - if (collection == null) { - return 0; - } - collection = isArrayLike(collection) ? collection : nativeKeys(collection); - return collection.length; - } - - /** - * Checks if `predicate` returns truthy for **any** element of `collection`. - * Iteration is stopped once `predicate` returns truthy. The predicate is - * invoked with three arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - * @example - * - * _.some([null, 0, 'yes', false], Boolean); - * // => true - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.some(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // The `_.matchesProperty` iteratee shorthand. - * _.some(users, ['active', false]); - * // => true - * - * // The `_.property` iteratee shorthand. - * _.some(users, 'active'); - * // => true - */ - function some(collection, predicate, guard) { - predicate = guard ? undefined : predicate; - return baseSome(collection, baseIteratee(predicate)); - } - - /** - * Creates an array of elements, sorted in ascending order by the results of - * running each element in a collection thru each iteratee. This method - * performs a stable sort, that is, it preserves the original sort order of - * equal elements. The iteratees are invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {...(Function|Function[])} [iteratees=[_.identity]] - * The iteratees to sort by. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'barney', 'age': 34 } - * ]; - * - * _.sortBy(users, [function(o) { return o.user; }]); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]] - * - * _.sortBy(users, ['user', 'age']); - * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]] - */ - function sortBy(collection, iteratee) { - var index = 0; - iteratee = baseIteratee(iteratee); - - return baseMap(baseMap(collection, function(value, key, collection) { - return { 'value': value, 'index': index++, 'criteria': iteratee(value, key, collection) }; - }).sort(function(object, other) { - return compareAscending(object.criteria, other.criteria) || (object.index - other.index); - }), baseProperty('value')); - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates a function that invokes `func`, with the `this` binding and arguments - * of the created function, while it's called less than `n` times. Subsequent - * calls to the created function return the result of the last `func` invocation. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {number} n The number of calls at which `func` is no longer invoked. - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * jQuery(element).on('click', _.before(5, addContactToList)); - * // => Allows adding up to 4 contacts to the list. - */ - function before(n, func) { - var result; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - n = toInteger(n); - return function() { - if (--n > 0) { - result = func.apply(this, arguments); - } - if (n <= 1) { - func = undefined; - } - return result; - }; - } - - /** - * Creates a function that invokes `func` with the `this` binding of `thisArg` - * and `partials` prepended to the arguments it receives. - * - * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds, - * may be used as a placeholder for partially applied arguments. - * - * **Note:** Unlike native `Function#bind`, this method doesn't set the "length" - * property of bound functions. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to bind. - * @param {*} thisArg The `this` binding of `func`. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * function greet(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } - * - * var object = { 'user': 'fred' }; - * - * var bound = _.bind(greet, object, 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * // Bound with placeholders. - * var bound = _.bind(greet, object, _, '!'); - * bound('hi'); - * // => 'hi fred!' - */ - var bind = baseRest(function(func, thisArg, partials) { - return createPartial(func, WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG, thisArg, partials); - }); - - /** - * Defers invoking the `func` until the current call stack has cleared. Any - * additional arguments are provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to defer. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {number} Returns the timer id. - * @example - * - * _.defer(function(text) { - * console.log(text); - * }, 'deferred'); - * // => Logs 'deferred' after one millisecond. - */ - var defer = baseRest(function(func, args) { - return baseDelay(func, 1, args); - }); - - /** - * Invokes `func` after `wait` milliseconds. Any additional arguments are - * provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {number} Returns the timer id. - * @example - * - * _.delay(function(text) { - * console.log(text); - * }, 1000, 'later'); - * // => Logs 'later' after one second. - */ - var delay = baseRest(function(func, wait, args) { - return baseDelay(func, toNumber(wait) || 0, args); - }); - - /** - * Creates a function that negates the result of the predicate `func`. The - * `func` predicate is invoked with the `this` binding and arguments of the - * created function. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} predicate The predicate to negate. - * @returns {Function} Returns the new negated function. - * @example - * - * function isEven(n) { - * return n % 2 == 0; - * } - * - * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven)); - * // => [1, 3, 5] - */ - function negate(predicate) { - if (typeof predicate != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return function() { - var args = arguments; - return !predicate.apply(this, args); - }; - } - - /** - * Creates a function that is restricted to invoking `func` once. Repeat calls - * to the function return the value of the first invocation. The `func` is - * invoked with the `this` binding and arguments of the created function. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var initialize = _.once(createApplication); - * initialize(); - * initialize(); - * // => `createApplication` is invoked once - */ - function once(func) { - return before(2, func); - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates a shallow clone of `value`. - * - * **Note:** This method is loosely based on the - * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm) - * and supports cloning arrays, array buffers, booleans, date objects, maps, - * numbers, `Object` objects, regexes, sets, strings, symbols, and typed - * arrays. The own enumerable properties of `arguments` objects are cloned - * as plain objects. An empty object is returned for uncloneable values such - * as error objects, functions, DOM nodes, and WeakMaps. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to clone. - * @returns {*} Returns the cloned value. - * @see _.cloneDeep - * @example - * - * var objects = [{ 'a': 1 }, { 'b': 2 }]; - * - * var shallow = _.clone(objects); - * console.log(shallow[0] === objects[0]); - * // => true - */ - function clone(value) { - if (!isObject(value)) { - return value; - } - return isArray(value) ? copyArray(value) : copyObject(value, nativeKeys(value)); - } - - /** - * Performs a - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ - function eq(value, other) { - return value === other || (value !== value && other !== other); - } - - /** - * Checks if `value` is likely an `arguments` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - * else `false`. - * @example - * - * _.isArguments(function() { return arguments; }()); - * // => true - * - * _.isArguments([1, 2, 3]); - * // => false - */ - var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { - return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && - !propertyIsEnumerable.call(value, 'callee'); - }; - - /** - * Checks if `value` is classified as an `Array` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array, else `false`. - * @example - * - * _.isArray([1, 2, 3]); - * // => true - * - * _.isArray(document.body.children); - * // => false - * - * _.isArray('abc'); - * // => false - * - * _.isArray(_.noop); - * // => false - */ - var isArray = Array.isArray; - - /** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ - function isArrayLike(value) { - return value != null && isLength(value.length) && !isFunction(value); - } - - /** - * Checks if `value` is classified as a boolean primitive or object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a boolean, else `false`. - * @example - * - * _.isBoolean(false); - * // => true - * - * _.isBoolean(null); - * // => false - */ - function isBoolean(value) { - return value === true || value === false || - (isObjectLike(value) && baseGetTag(value) == boolTag); - } - - /** - * Checks if `value` is classified as a `Date` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a date object, else `false`. - * @example - * - * _.isDate(new Date); - * // => true - * - * _.isDate('Mon April 23 2012'); - * // => false - */ - var isDate = baseIsDate; - - /** - * Checks if `value` is an empty object, collection, map, or set. - * - * Objects are considered empty if they have no own enumerable string keyed - * properties. - * - * Array-like values such as `arguments` objects, arrays, buffers, strings, or - * jQuery-like collections are considered empty if they have a `length` of `0`. - * Similarly, maps and sets are considered empty if they have a `size` of `0`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is empty, else `false`. - * @example - * - * _.isEmpty(null); - * // => true - * - * _.isEmpty(true); - * // => true - * - * _.isEmpty(1); - * // => true - * - * _.isEmpty([1, 2, 3]); - * // => false - * - * _.isEmpty({ 'a': 1 }); - * // => false - */ - function isEmpty(value) { - if (isArrayLike(value) && - (isArray(value) || isString(value) || - isFunction(value.splice) || isArguments(value))) { - return !value.length; - } - return !nativeKeys(value).length; - } - - /** - * Performs a deep comparison between two values to determine if they are - * equivalent. - * - * **Note:** This method supports comparing arrays, array buffers, booleans, - * date objects, error objects, maps, numbers, `Object` objects, regexes, - * sets, strings, symbols, and typed arrays. `Object` objects are compared - * by their own, not inherited, enumerable properties. Functions and DOM - * nodes are compared by strict equality, i.e. `===`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.isEqual(object, other); - * // => true - * - * object === other; - * // => false - */ - function isEqual(value, other) { - return baseIsEqual(value, other); - } - - /** - * Checks if `value` is a finite primitive number. - * - * **Note:** This method is based on - * [`Number.isFinite`](https://mdn.io/Number/isFinite). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a finite number, else `false`. - * @example - * - * _.isFinite(3); - * // => true - * - * _.isFinite(Number.MIN_VALUE); - * // => true - * - * _.isFinite(Infinity); - * // => false - * - * _.isFinite('3'); - * // => false - */ - function isFinite(value) { - return typeof value == 'number' && nativeIsFinite(value); - } - - /** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a function, else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ - function isFunction(value) { - if (!isObject(value)) { - return false; - } - // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 9 which returns 'object' for typed arrays and other constructors. - var tag = baseGetTag(value); - return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; - } - - /** - * Checks if `value` is a valid array-like length. - * - * **Note:** This method is loosely based on - * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ - function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; - } - - /** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ - function isObject(value) { - var type = typeof value; - return value != null && (type == 'object' || type == 'function'); - } - - /** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ - function isObjectLike(value) { - return value != null && typeof value == 'object'; - } - - /** - * Checks if `value` is `NaN`. - * - * **Note:** This method is based on - * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as - * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for - * `undefined` and other non-number values. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. - * @example - * - * _.isNaN(NaN); - * // => true - * - * _.isNaN(new Number(NaN)); - * // => true - * - * isNaN(undefined); - * // => true - * - * _.isNaN(undefined); - * // => false - */ - function isNaN(value) { - // An `NaN` primitive is the only value that is not equal to itself. - // Perform the `toStringTag` check first to avoid errors with some - // ActiveX objects in IE. - return isNumber(value) && value != +value; - } - - /** - * Checks if `value` is `null`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `null`, else `false`. - * @example - * - * _.isNull(null); - * // => true - * - * _.isNull(void 0); - * // => false - */ - function isNull(value) { - return value === null; - } - - /** - * Checks if `value` is classified as a `Number` primitive or object. - * - * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are - * classified as numbers, use the `_.isFinite` method. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a number, else `false`. - * @example - * - * _.isNumber(3); - * // => true - * - * _.isNumber(Number.MIN_VALUE); - * // => true - * - * _.isNumber(Infinity); - * // => true - * - * _.isNumber('3'); - * // => false - */ - function isNumber(value) { - return typeof value == 'number' || - (isObjectLike(value) && baseGetTag(value) == numberTag); - } - - /** - * Checks if `value` is classified as a `RegExp` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. - * @example - * - * _.isRegExp(/abc/); - * // => true - * - * _.isRegExp('/abc/'); - * // => false - */ - var isRegExp = baseIsRegExp; - - /** - * Checks if `value` is classified as a `String` primitive or object. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a string, else `false`. - * @example - * - * _.isString('abc'); - * // => true - * - * _.isString(1); - * // => false - */ - function isString(value) { - return typeof value == 'string' || - (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); - } - - /** - * Checks if `value` is `undefined`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. - * @example - * - * _.isUndefined(void 0); - * // => true - * - * _.isUndefined(null); - * // => false - */ - function isUndefined(value) { - return value === undefined; - } - - /** - * Converts `value` to an array. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @returns {Array} Returns the converted array. - * @example - * - * _.toArray({ 'a': 1, 'b': 2 }); - * // => [1, 2] - * - * _.toArray('abc'); - * // => ['a', 'b', 'c'] - * - * _.toArray(1); - * // => [] - * - * _.toArray(null); - * // => [] - */ - function toArray(value) { - if (!isArrayLike(value)) { - return values(value); - } - return value.length ? copyArray(value) : []; - } - - /** - * Converts `value` to an integer. - * - * **Note:** This method is loosely based on - * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toInteger(3.2); - * // => 3 - * - * _.toInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toInteger(Infinity); - * // => 1.7976931348623157e+308 - * - * _.toInteger('3.2'); - * // => 3 - */ - var toInteger = Number; - - /** - * Converts `value` to a number. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to process. - * @returns {number} Returns the number. - * @example - * - * _.toNumber(3.2); - * // => 3.2 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity - * - * _.toNumber('3.2'); - * // => 3.2 - */ - var toNumber = Number; - - /** - * Converts `value` to a string. An empty string is returned for `null` - * and `undefined` values. The sign of `-0` is preserved. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - * @example - * - * _.toString(null); - * // => '' - * - * _.toString(-0); - * // => '-0' - * - * _.toString([1, 2, 3]); - * // => '1,2,3' - */ - function toString(value) { - if (typeof value == 'string') { - return value; - } - return value == null ? '' : (value + ''); - } - - /*------------------------------------------------------------------------*/ - - /** - * Assigns own enumerable string keyed properties of source objects to the - * destination object. Source objects are applied from left to right. - * Subsequent sources overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object` and is loosely based on - * [`Object.assign`](https://mdn.io/Object/assign). - * - * @static - * @memberOf _ - * @since 0.10.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assignIn - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * function Bar() { - * this.c = 3; - * } - * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; - * - * _.assign({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'c': 3 } - */ - var assign = createAssigner(function(object, source) { - copyObject(source, nativeKeys(source), object); - }); - - /** - * This method is like `_.assign` except that it iterates over own and - * inherited source properties. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias extend - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assign - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * function Bar() { - * this.c = 3; - * } - * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; - * - * _.assignIn({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 } - */ - var assignIn = createAssigner(function(object, source) { - copyObject(source, nativeKeysIn(source), object); - }); - - /** - * This method is like `_.assignIn` except that it accepts `customizer` - * which is invoked to produce the assigned values. If `customizer` returns - * `undefined`, assignment is handled by the method instead. The `customizer` - * is invoked with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias extendWith - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @see _.assignWith - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignInWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - var assignInWith = createAssigner(function(object, source, srcIndex, customizer) { - copyObject(source, keysIn(source), object, customizer); - }); - - /** - * Creates an object that inherits from the `prototype` object. If a - * `properties` object is given, its own enumerable string keyed properties - * are assigned to the created object. - * - * @static - * @memberOf _ - * @since 2.3.0 - * @category Object - * @param {Object} prototype The object to inherit from. - * @param {Object} [properties] The properties to assign to the object. - * @returns {Object} Returns the new object. - * @example - * - * function Shape() { - * this.x = 0; - * this.y = 0; - * } - * - * function Circle() { - * Shape.call(this); - * } - * - * Circle.prototype = _.create(Shape.prototype, { - * 'constructor': Circle - * }); - * - * var circle = new Circle; - * circle instanceof Circle; - * // => true - * - * circle instanceof Shape; - * // => true - */ - function create(prototype, properties) { - var result = baseCreate(prototype); - return properties == null ? result : assign(result, properties); - } - - /** - * Assigns own and inherited enumerable string keyed properties of source - * objects to the destination object for all destination properties that - * resolve to `undefined`. Source objects are applied from left to right. - * Once a property is set, additional values of the same property are ignored. - * - * **Note:** This method mutates `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.defaultsDeep - * @example - * - * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - var defaults = baseRest(function(args) { - args.push(undefined, customDefaultsAssignIn); - return assignInWith.apply(undefined, args); - }); - - /** - * Checks if `path` is a direct property of `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = { 'a': { 'b': 2 } }; - * var other = _.create({ 'a': _.create({ 'b': 2 }) }); - * - * _.has(object, 'a'); - * // => true - * - * _.has(object, 'a.b'); - * // => true - * - * _.has(object, ['a', 'b']); - * // => true - * - * _.has(other, 'a'); - * // => false - */ - function has(object, path) { - return object != null && hasOwnProperty.call(object, path); - } - - /** - * Creates an array of the own enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. See the - * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * for more details. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keys(new Foo); - * // => ['a', 'b'] (iteration order is not guaranteed) - * - * _.keys('hi'); - * // => ['0', '1'] - */ - var keys = nativeKeys; - - /** - * Creates an array of the own and inherited enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keysIn(new Foo); - * // => ['a', 'b', 'c'] (iteration order is not guaranteed) - */ - var keysIn = nativeKeysIn; - - /** - * Creates an object composed of the picked `object` properties. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {...(string|string[])} [paths] The property paths to pick. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pick(object, ['a', 'c']); - * // => { 'a': 1, 'c': 3 } - */ - var pick = flatRest(function(object, paths) { - return object == null ? {} : basePick(object, paths); - }); - - /** - * This method is like `_.get` except that if the resolved value is a - * function it's invoked with the `this` binding of its parent object and - * its result is returned. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to resolve. - * @param {*} [defaultValue] The value returned for `undefined` resolved values. - * @returns {*} Returns the resolved value. - * @example - * - * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] }; - * - * _.result(object, 'a[0].b.c1'); - * // => 3 - * - * _.result(object, 'a[0].b.c2'); - * // => 4 - * - * _.result(object, 'a[0].b.c3', 'default'); - * // => 'default' - * - * _.result(object, 'a[0].b.c3', _.constant('default')); - * // => 'default' - */ - function result(object, path, defaultValue) { - var value = object == null ? undefined : object[path]; - if (value === undefined) { - value = defaultValue; - } - return isFunction(value) ? value.call(object) : value; - } - - /** - * Creates an array of the own enumerable string keyed property values of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property values. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.values(new Foo); - * // => [1, 2] (iteration order is not guaranteed) - * - * _.values('hi'); - * // => ['h', 'i'] - */ - function values(object) { - return object == null ? [] : baseValues(object, keys(object)); - } - - /*------------------------------------------------------------------------*/ - - /** - * Converts the characters "&", "<", ">", '"', and "'" in `string` to their - * corresponding HTML entities. - * - * **Note:** No other characters are escaped. To escape additional - * characters use a third-party library like [_he_](https://mths.be/he). - * - * Though the ">" character is escaped for symmetry, characters like - * ">" and "/" don't need escaping in HTML and have no special meaning - * unless they're part of a tag or unquoted attribute value. See - * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands) - * (under "semi-related fun fact") for more details. - * - * When working with HTML you should always - * [quote attribute values](http://wonko.com/post/html-escaping) to reduce - * XSS vectors. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category String - * @param {string} [string=''] The string to escape. - * @returns {string} Returns the escaped string. - * @example - * - * _.escape('fred, barney, & pebbles'); - * // => 'fred, barney, & pebbles' - */ - function escape(string) { - string = toString(string); - return (string && reHasUnescapedHtml.test(string)) - ? string.replace(reUnescapedHtml, escapeHtmlChar) - : string; - } - - /*------------------------------------------------------------------------*/ - - /** - * This method returns the first argument it receives. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Util - * @param {*} value Any value. - * @returns {*} Returns `value`. - * @example - * - * var object = { 'a': 1 }; - * - * console.log(_.identity(object) === object); - * // => true - */ - function identity(value) { - return value; - } - - /** - * Creates a function that invokes `func` with the arguments of the created - * function. If `func` is a property name, the created function returns the - * property value for a given element. If `func` is an array or object, the - * created function returns `true` for elements that contain the equivalent - * source properties, otherwise it returns `false`. - * - * @static - * @since 4.0.0 - * @memberOf _ - * @category Util - * @param {*} [func=_.identity] The value to convert to a callback. - * @returns {Function} Returns the callback. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true })); - * // => [{ 'user': 'barney', 'age': 36, 'active': true }] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.filter(users, _.iteratee(['user', 'fred'])); - * // => [{ 'user': 'fred', 'age': 40 }] - * - * // The `_.property` iteratee shorthand. - * _.map(users, _.iteratee('user')); - * // => ['barney', 'fred'] - * - * // Create custom iteratee shorthands. - * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) { - * return !_.isRegExp(func) ? iteratee(func) : function(string) { - * return func.test(string); - * }; - * }); - * - * _.filter(['abc', 'def'], /ef/); - * // => ['def'] - */ - var iteratee = baseIteratee; - - /** - * Creates a function that performs a partial deep comparison between a given - * object and `source`, returning `true` if the given object has equivalent - * property values, else `false`. - * - * **Note:** The created function is equivalent to `_.isMatch` with `source` - * partially applied. - * - * Partial comparisons will match empty array and empty object `source` - * values against any array or object value, respectively. See `_.isEqual` - * for a list of supported value comparisons. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Util - * @param {Object} source The object of property values to match. - * @returns {Function} Returns the new spec function. - * @example - * - * var objects = [ - * { 'a': 1, 'b': 2, 'c': 3 }, - * { 'a': 4, 'b': 5, 'c': 6 } - * ]; - * - * _.filter(objects, _.matches({ 'a': 4, 'c': 6 })); - * // => [{ 'a': 4, 'b': 5, 'c': 6 }] - */ - function matches(source) { - return baseMatches(assign({}, source)); - } - - /** - * Adds all own enumerable string keyed function properties of a source - * object to the destination object. If `object` is a function, then methods - * are added to its prototype as well. - * - * **Note:** Use `_.runInContext` to create a pristine `lodash` function to - * avoid conflicts caused by modifying the original. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Util - * @param {Function|Object} [object=lodash] The destination object. - * @param {Object} source The object of functions to add. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.chain=true] Specify whether mixins are chainable. - * @returns {Function|Object} Returns `object`. - * @example - * - * function vowels(string) { - * return _.filter(string, function(v) { - * return /[aeiou]/i.test(v); - * }); - * } - * - * _.mixin({ 'vowels': vowels }); - * _.vowels('fred'); - * // => ['e'] - * - * _('fred').vowels().value(); - * // => ['e'] - * - * _.mixin({ 'vowels': vowels }, { 'chain': false }); - * _('fred').vowels(); - * // => ['e'] - */ - function mixin(object, source, options) { - var props = keys(source), - methodNames = baseFunctions(source, props); - - if (options == null && - !(isObject(source) && (methodNames.length || !props.length))) { - options = source; - source = object; - object = this; - methodNames = baseFunctions(source, keys(source)); - } - var chain = !(isObject(options) && 'chain' in options) || !!options.chain, - isFunc = isFunction(object); - - baseEach(methodNames, function(methodName) { - var func = source[methodName]; - object[methodName] = func; - if (isFunc) { - object.prototype[methodName] = function() { - var chainAll = this.__chain__; - if (chain || chainAll) { - var result = object(this.__wrapped__), - actions = result.__actions__ = copyArray(this.__actions__); - - actions.push({ 'func': func, 'args': arguments, 'thisArg': object }); - result.__chain__ = chainAll; - return result; - } - return func.apply(object, arrayPush([this.value()], arguments)); - }; - } - }); - - return object; - } - - /** - * Reverts the `_` variable to its previous value and returns a reference to - * the `lodash` function. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Util - * @returns {Function} Returns the `lodash` function. - * @example - * - * var lodash = _.noConflict(); - */ - function noConflict() { - if (root._ === this) { - root._ = oldDash; - } - return this; - } - - /** - * This method returns `undefined`. - * - * @static - * @memberOf _ - * @since 2.3.0 - * @category Util - * @example - * - * _.times(2, _.noop); - * // => [undefined, undefined] - */ - function noop() { - // No operation performed. - } - - /** - * Generates a unique ID. If `prefix` is given, the ID is appended to it. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Util - * @param {string} [prefix=''] The value to prefix the ID with. - * @returns {string} Returns the unique ID. - * @example - * - * _.uniqueId('contact_'); - * // => 'contact_104' - * - * _.uniqueId(); - * // => '105' - */ - function uniqueId(prefix) { - var id = ++idCounter; - return toString(prefix) + id; - } - - /*------------------------------------------------------------------------*/ - - /** - * Computes the maximum value of `array`. If `array` is empty or falsey, - * `undefined` is returned. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @returns {*} Returns the maximum value. - * @example - * - * _.max([4, 2, 8, 6]); - * // => 8 - * - * _.max([]); - * // => undefined - */ - function max(array) { - return (array && array.length) - ? baseExtremum(array, identity, baseGt) - : undefined; - } - - /** - * Computes the minimum value of `array`. If `array` is empty or falsey, - * `undefined` is returned. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @returns {*} Returns the minimum value. - * @example - * - * _.min([4, 2, 8, 6]); - * // => 2 - * - * _.min([]); - * // => undefined - */ - function min(array) { - return (array && array.length) - ? baseExtremum(array, identity, baseLt) - : undefined; - } - - /*------------------------------------------------------------------------*/ - - // Add methods that return wrapped values in chain sequences. - lodash.assignIn = assignIn; - lodash.before = before; - lodash.bind = bind; - lodash.chain = chain; - lodash.compact = compact; - lodash.concat = concat; - lodash.create = create; - lodash.defaults = defaults; - lodash.defer = defer; - lodash.delay = delay; - lodash.filter = filter; - lodash.flatten = flatten; - lodash.flattenDeep = flattenDeep; - lodash.iteratee = iteratee; - lodash.keys = keys; - lodash.map = map; - lodash.matches = matches; - lodash.mixin = mixin; - lodash.negate = negate; - lodash.once = once; - lodash.pick = pick; - lodash.slice = slice; - lodash.sortBy = sortBy; - lodash.tap = tap; - lodash.thru = thru; - lodash.toArray = toArray; - lodash.values = values; - - // Add aliases. - lodash.extend = assignIn; - - // Add methods to `lodash.prototype`. - mixin(lodash, lodash); - - /*------------------------------------------------------------------------*/ - - // Add methods that return unwrapped values in chain sequences. - lodash.clone = clone; - lodash.escape = escape; - lodash.every = every; - lodash.find = find; - lodash.forEach = forEach; - lodash.has = has; - lodash.head = head; - lodash.identity = identity; - lodash.indexOf = indexOf; - lodash.isArguments = isArguments; - lodash.isArray = isArray; - lodash.isBoolean = isBoolean; - lodash.isDate = isDate; - lodash.isEmpty = isEmpty; - lodash.isEqual = isEqual; - lodash.isFinite = isFinite; - lodash.isFunction = isFunction; - lodash.isNaN = isNaN; - lodash.isNull = isNull; - lodash.isNumber = isNumber; - lodash.isObject = isObject; - lodash.isRegExp = isRegExp; - lodash.isString = isString; - lodash.isUndefined = isUndefined; - lodash.last = last; - lodash.max = max; - lodash.min = min; - lodash.noConflict = noConflict; - lodash.noop = noop; - lodash.reduce = reduce; - lodash.result = result; - lodash.size = size; - lodash.some = some; - lodash.uniqueId = uniqueId; - - // Add aliases. - lodash.each = forEach; - lodash.first = head; - - mixin(lodash, (function() { - var source = {}; - baseForOwn(lodash, function(func, methodName) { - if (!hasOwnProperty.call(lodash.prototype, methodName)) { - source[methodName] = func; - } - }); - return source; - }()), { 'chain': false }); - - /*------------------------------------------------------------------------*/ - - /** - * The semantic version number. - * - * @static - * @memberOf _ - * @type {string} - */ - lodash.VERSION = VERSION; - - // Add `Array` methods to `lodash.prototype`. - baseEach(['pop', 'join', 'replace', 'reverse', 'split', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) { - var func = (/^(?:replace|split)$/.test(methodName) ? String.prototype : arrayProto)[methodName], - chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru', - retUnwrapped = /^(?:pop|join|replace|shift)$/.test(methodName); - - lodash.prototype[methodName] = function() { - var args = arguments; - if (retUnwrapped && !this.__chain__) { - var value = this.value(); - return func.apply(isArray(value) ? value : [], args); - } - return this[chainName](function(value) { - return func.apply(isArray(value) ? value : [], args); - }); - }; - }); - - // Add chain sequence methods to the `lodash` wrapper. - lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue; - - /*--------------------------------------------------------------------------*/ - - // Some AMD build optimizers, like r.js, check for condition patterns like: - if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) { - // Expose Lodash on the global object to prevent errors when Lodash is - // loaded by a script tag in the presence of an AMD loader. - // See http://requirejs.org/docs/errors.html#mismatch for more details. - // Use `_.noConflict` to remove Lodash from the global object. - root._ = lodash; - - // Define as an anonymous module so, through path mapping, it can be - // referenced as the "underscore" module. - define(function() { - return lodash; - }); - } - // Check for `exports` after `define` in case a build optimizer adds it. - else if (freeModule) { - // Export for Node.js. - (freeModule.exports = lodash)._ = lodash; - // Export for CommonJS support. - freeExports._ = lodash; - } - else { - // Export to the global object. - root._ = lodash; - } -}.call(this)); diff --git a/src/node_modules/lodash/core.min.js b/src/node_modules/lodash/core.min.js deleted file mode 100644 index b909d31..0000000 --- a/src/node_modules/lodash/core.min.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * @license - * Lodash (Custom Build) lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE - * Build: `lodash core -o ./dist/lodash.core.js` - */ -;(function(){function n(n){return K(n)&&pn.call(n,"callee")&&!bn.call(n,"callee")}function t(n,t){return n.push.apply(n,t),n}function r(n){return function(t){return null==t?nn:t[n]}}function e(n,t,r,e,u){return u(n,function(n,u,o){r=e?(e=false,n):t(r,n,u,o)}),r}function u(n,t){return j(t,function(t){return n[t]})}function o(n){return n instanceof i?n:new i(n)}function i(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t}function c(n,t,r){if(typeof n!="function")throw new TypeError("Expected a function"); -return setTimeout(function(){n.apply(nn,r)},t)}function f(n,t){var r=true;return mn(n,function(n,e,u){return r=!!t(n,e,u)}),r}function a(n,t,r){for(var e=-1,u=n.length;++et}function y(n,t,r,e,u){return n===t||(null==n||null==t||!K(n)&&!K(t)?n!==n&&t!==t:b(n,t,r,e,y,u))}function b(n,t,r,e,u,o){var i=Nn(n),c=Nn(t),f=i?"[object Array]":hn.call(n),a=c?"[object Array]":hn.call(t),f="[object Arguments]"==f?"[object Object]":f,a="[object Arguments]"==a?"[object Object]":a,l="[object Object]"==f,c="[object Object]"==a,a=f==a;o||(o=[]);var p=An(o,function(t){return t[0]==n}),s=An(o,function(n){ -return n[0]==t});if(p&&s)return p[1]==t;if(o.push([n,t]),o.push([t,n]),a&&!l){if(i)r=B(n,t,r,e,u,o);else n:{switch(f){case"[object Boolean]":case"[object Date]":case"[object Number]":r=M(+n,+t);break n;case"[object Error]":r=n.name==t.name&&n.message==t.message;break n;case"[object RegExp]":case"[object String]":r=n==t+"";break n}r=false}return o.pop(),r}return 1&r||(i=l&&pn.call(n,"__wrapped__"),f=c&&pn.call(t,"__wrapped__"),!i&&!f)?!!a&&(r=R(n,t,r,e,u,o),o.pop(),r):(i=i?n.value():n,f=f?t.value():t, -r=u(i,f,r,e,o),o.pop(),r)}function g(n){return typeof n=="function"?n:null==n?Y:(typeof n=="object"?d:r)(n)}function _(n,t){return nt&&(t=-t>u?0:u+t),r=r>u?u:r,0>r&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0,r=Array(u);++ei))return false;for(var c=-1,f=true,a=2&r?[]:nn;++cr?jn(e+r,0):r:0,r=(r||0)-1;for(var u=t===t;++rarguments.length,mn)}function J(n,t){var r;if(typeof t!="function")throw new TypeError("Expected a function");return n=Fn(n),function(){return 0<--n&&(r=t.apply(this,arguments)),1>=n&&(t=nn),r}}function M(n,t){return n===t||n!==n&&t!==t}function U(n){var t;return(t=null!=n)&&(t=n.length,t=typeof t=="number"&&-1=t),t&&!V(n)}function V(n){return!!H(n)&&(n=hn.call(n),"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n); -}function H(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function K(n){return null!=n&&typeof n=="object"}function L(n){return typeof n=="number"||K(n)&&"[object Number]"==hn.call(n)}function Q(n){return typeof n=="string"||!Nn(n)&&K(n)&&"[object String]"==hn.call(n)}function W(n){return typeof n=="string"?n:null==n?"":n+""}function X(n){return null==n?[]:u(n,In(n))}function Y(n){return n}function Z(n,r,e){var u=In(r),o=h(r,u);null!=e||H(r)&&(o.length||!u.length)||(e=r,r=n,n=this,o=h(r,In(r))); -var i=!(H(e)&&"chain"in e&&!e.chain),c=V(n);return mn(o,function(e){var u=r[e];n[e]=u,c&&(n.prototype[e]=function(){var r=this.__chain__;if(i||r){var e=n(this.__wrapped__);return(e.__actions__=A(this.__actions__)).push({func:u,args:arguments,thisArg:n}),e.__chain__=r,e}return u.apply(n,t([this.value()],arguments))})}),n}var nn,tn=1/0,rn=/[&<>"']/g,en=RegExp(rn.source),un=typeof self=="object"&&self&&self.Object===Object&&self,on=typeof global=="object"&&global&&global.Object===Object&&global||un||Function("return this")(),cn=(un=typeof exports=="object"&&exports&&!exports.nodeType&&exports)&&typeof module=="object"&&module&&!module.nodeType&&module,fn=function(n){ -return function(t){return null==n?nn:n[t]}}({"&":"&","<":"<",">":">",'"':""","'":"'"}),an=Array.prototype,ln=Object.prototype,pn=ln.hasOwnProperty,sn=0,hn=ln.toString,vn=on._,yn=Object.create,bn=ln.propertyIsEnumerable,gn=on.isFinite,_n=function(n,t){return function(r){return n(t(r))}}(Object.keys,Object),jn=Math.max,dn=function(){function n(){}return function(t){return H(t)?yn?yn(t):(n.prototype=t,t=new n,n.prototype=nn,t):{}}}();i.prototype=dn(o.prototype),i.prototype.constructor=i; -var mn=function(n,t){return function(r,e){if(null==r)return r;if(!U(r))return n(r,e);for(var u=r.length,o=t?u:-1,i=Object(r);(t?o--:++or&&(r=jn(e+r,0));n:{for(t=g(t),e=n.length,r+=-1;++re||o&&c&&a||!u&&a||!i){r=1;break n}if(!o&&r { '4': 1, '6': 2 } - * - * // The `_.property` iteratee shorthand. - * _.countBy(['one', 'two', 'three'], 'length'); - * // => { '3': 2, '5': 1 } - */ -var countBy = createAggregator(function(result, value, key) { - if (hasOwnProperty.call(result, key)) { - ++result[key]; - } else { - baseAssignValue(result, key, 1); - } -}); - -module.exports = countBy; diff --git a/src/node_modules/lodash/create.js b/src/node_modules/lodash/create.js deleted file mode 100644 index 919edb8..0000000 --- a/src/node_modules/lodash/create.js +++ /dev/null @@ -1,43 +0,0 @@ -var baseAssign = require('./_baseAssign'), - baseCreate = require('./_baseCreate'); - -/** - * Creates an object that inherits from the `prototype` object. If a - * `properties` object is given, its own enumerable string keyed properties - * are assigned to the created object. - * - * @static - * @memberOf _ - * @since 2.3.0 - * @category Object - * @param {Object} prototype The object to inherit from. - * @param {Object} [properties] The properties to assign to the object. - * @returns {Object} Returns the new object. - * @example - * - * function Shape() { - * this.x = 0; - * this.y = 0; - * } - * - * function Circle() { - * Shape.call(this); - * } - * - * Circle.prototype = _.create(Shape.prototype, { - * 'constructor': Circle - * }); - * - * var circle = new Circle; - * circle instanceof Circle; - * // => true - * - * circle instanceof Shape; - * // => true - */ -function create(prototype, properties) { - var result = baseCreate(prototype); - return properties == null ? result : baseAssign(result, properties); -} - -module.exports = create; diff --git a/src/node_modules/lodash/curry.js b/src/node_modules/lodash/curry.js deleted file mode 100644 index 918db1a..0000000 --- a/src/node_modules/lodash/curry.js +++ /dev/null @@ -1,57 +0,0 @@ -var createWrap = require('./_createWrap'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_CURRY_FLAG = 8; - -/** - * Creates a function that accepts arguments of `func` and either invokes - * `func` returning its result, if at least `arity` number of arguments have - * been provided, or returns a function that accepts the remaining `func` - * arguments, and so on. The arity of `func` may be specified if `func.length` - * is not sufficient. - * - * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds, - * may be used as a placeholder for provided arguments. - * - * **Note:** This method doesn't set the "length" property of curried functions. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new curried function. - * @example - * - * var abc = function(a, b, c) { - * return [a, b, c]; - * }; - * - * var curried = _.curry(abc); - * - * curried(1)(2)(3); - * // => [1, 2, 3] - * - * curried(1, 2)(3); - * // => [1, 2, 3] - * - * curried(1, 2, 3); - * // => [1, 2, 3] - * - * // Curried with placeholders. - * curried(1)(_, 3)(2); - * // => [1, 2, 3] - */ -function curry(func, arity, guard) { - arity = guard ? undefined : arity; - var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity); - result.placeholder = curry.placeholder; - return result; -} - -// Assign default placeholders. -curry.placeholder = {}; - -module.exports = curry; diff --git a/src/node_modules/lodash/curryRight.js b/src/node_modules/lodash/curryRight.js deleted file mode 100644 index c85b6f3..0000000 --- a/src/node_modules/lodash/curryRight.js +++ /dev/null @@ -1,54 +0,0 @@ -var createWrap = require('./_createWrap'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_CURRY_RIGHT_FLAG = 16; - -/** - * This method is like `_.curry` except that arguments are applied to `func` - * in the manner of `_.partialRight` instead of `_.partial`. - * - * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for provided arguments. - * - * **Note:** This method doesn't set the "length" property of curried functions. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new curried function. - * @example - * - * var abc = function(a, b, c) { - * return [a, b, c]; - * }; - * - * var curried = _.curryRight(abc); - * - * curried(3)(2)(1); - * // => [1, 2, 3] - * - * curried(2, 3)(1); - * // => [1, 2, 3] - * - * curried(1, 2, 3); - * // => [1, 2, 3] - * - * // Curried with placeholders. - * curried(3)(1, _)(2); - * // => [1, 2, 3] - */ -function curryRight(func, arity, guard) { - arity = guard ? undefined : arity; - var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity); - result.placeholder = curryRight.placeholder; - return result; -} - -// Assign default placeholders. -curryRight.placeholder = {}; - -module.exports = curryRight; diff --git a/src/node_modules/lodash/date.js b/src/node_modules/lodash/date.js deleted file mode 100644 index cbf5b41..0000000 --- a/src/node_modules/lodash/date.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - 'now': require('./now') -}; diff --git a/src/node_modules/lodash/debounce.js b/src/node_modules/lodash/debounce.js deleted file mode 100644 index 04d7dfd..0000000 --- a/src/node_modules/lodash/debounce.js +++ /dev/null @@ -1,188 +0,0 @@ -var isObject = require('./isObject'), - now = require('./now'), - toNumber = require('./toNumber'); - -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max, - nativeMin = Math.min; - -/** - * Creates a debounced function that delays invoking `func` until after `wait` - * milliseconds have elapsed since the last time the debounced function was - * invoked. The debounced function comes with a `cancel` method to cancel - * delayed `func` invocations and a `flush` method to immediately invoke them. - * Provide `options` to indicate whether `func` should be invoked on the - * leading and/or trailing edge of the `wait` timeout. The `func` is invoked - * with the last arguments provided to the debounced function. Subsequent - * calls to the debounced function return the result of the last `func` - * invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the debounced function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.debounce` and `_.throttle`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to debounce. - * @param {number} [wait=0] The number of milliseconds to delay. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=false] - * Specify invoking on the leading edge of the timeout. - * @param {number} [options.maxWait] - * The maximum time `func` is allowed to be delayed before it's invoked. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new debounced function. - * @example - * - * // Avoid costly calculations while the window size is in flux. - * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); - * - * // Invoke `sendMail` when clicked, debouncing subsequent calls. - * jQuery(element).on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); - * - * // Ensure `batchLog` is invoked once after 1 second of debounced calls. - * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); - * var source = new EventSource('/stream'); - * jQuery(source).on('message', debounced); - * - * // Cancel the trailing debounced invocation. - * jQuery(window).on('popstate', debounced.cancel); - */ -function debounce(func, wait, options) { - var lastArgs, - lastThis, - maxWait, - result, - timerId, - lastCallTime, - lastInvokeTime = 0, - leading = false, - maxing = false, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - wait = toNumber(wait) || 0; - if (isObject(options)) { - leading = !!options.leading; - maxing = 'maxWait' in options; - maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - - function invokeFunc(time) { - var args = lastArgs, - thisArg = lastThis; - - lastArgs = lastThis = undefined; - lastInvokeTime = time; - result = func.apply(thisArg, args); - return result; - } - - function leadingEdge(time) { - // Reset any `maxWait` timer. - lastInvokeTime = time; - // Start the timer for the trailing edge. - timerId = setTimeout(timerExpired, wait); - // Invoke the leading edge. - return leading ? invokeFunc(time) : result; - } - - function remainingWait(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime, - result = wait - timeSinceLastCall; - - return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result; - } - - function shouldInvoke(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime; - - // Either this is the first call, activity has stopped and we're at the - // trailing edge, the system time has gone backwards and we're treating - // it as the trailing edge, or we've hit the `maxWait` limit. - return (lastCallTime === undefined || (timeSinceLastCall >= wait) || - (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); - } - - function timerExpired() { - var time = now(); - if (shouldInvoke(time)) { - return trailingEdge(time); - } - // Restart the timer. - timerId = setTimeout(timerExpired, remainingWait(time)); - } - - function trailingEdge(time) { - timerId = undefined; - - // Only invoke if we have `lastArgs` which means `func` has been - // debounced at least once. - if (trailing && lastArgs) { - return invokeFunc(time); - } - lastArgs = lastThis = undefined; - return result; - } - - function cancel() { - if (timerId !== undefined) { - clearTimeout(timerId); - } - lastInvokeTime = 0; - lastArgs = lastCallTime = lastThis = timerId = undefined; - } - - function flush() { - return timerId === undefined ? result : trailingEdge(now()); - } - - function debounced() { - var time = now(), - isInvoking = shouldInvoke(time); - - lastArgs = arguments; - lastThis = this; - lastCallTime = time; - - if (isInvoking) { - if (timerId === undefined) { - return leadingEdge(lastCallTime); - } - if (maxing) { - // Handle invocations in a tight loop. - timerId = setTimeout(timerExpired, wait); - return invokeFunc(lastCallTime); - } - } - if (timerId === undefined) { - timerId = setTimeout(timerExpired, wait); - } - return result; - } - debounced.cancel = cancel; - debounced.flush = flush; - return debounced; -} - -module.exports = debounce; diff --git a/src/node_modules/lodash/deburr.js b/src/node_modules/lodash/deburr.js deleted file mode 100644 index f85e314..0000000 --- a/src/node_modules/lodash/deburr.js +++ /dev/null @@ -1,45 +0,0 @@ -var deburrLetter = require('./_deburrLetter'), - toString = require('./toString'); - -/** Used to match Latin Unicode letters (excluding mathematical operators). */ -var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g; - -/** Used to compose unicode character classes. */ -var rsComboMarksRange = '\\u0300-\\u036f', - reComboHalfMarksRange = '\\ufe20-\\ufe2f', - rsComboSymbolsRange = '\\u20d0-\\u20ff', - rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange; - -/** Used to compose unicode capture groups. */ -var rsCombo = '[' + rsComboRange + ']'; - -/** - * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and - * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols). - */ -var reComboMark = RegExp(rsCombo, 'g'); - -/** - * Deburrs `string` by converting - * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) - * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A) - * letters to basic Latin letters and removing - * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to deburr. - * @returns {string} Returns the deburred string. - * @example - * - * _.deburr('déjà vu'); - * // => 'deja vu' - */ -function deburr(string) { - string = toString(string); - return string && string.replace(reLatin, deburrLetter).replace(reComboMark, ''); -} - -module.exports = deburr; diff --git a/src/node_modules/lodash/defaultTo.js b/src/node_modules/lodash/defaultTo.js deleted file mode 100644 index 5b33359..0000000 --- a/src/node_modules/lodash/defaultTo.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Checks `value` to determine whether a default value should be returned in - * its place. The `defaultValue` is returned if `value` is `NaN`, `null`, - * or `undefined`. - * - * @static - * @memberOf _ - * @since 4.14.0 - * @category Util - * @param {*} value The value to check. - * @param {*} defaultValue The default value. - * @returns {*} Returns the resolved value. - * @example - * - * _.defaultTo(1, 10); - * // => 1 - * - * _.defaultTo(undefined, 10); - * // => 10 - */ -function defaultTo(value, defaultValue) { - return (value == null || value !== value) ? defaultValue : value; -} - -module.exports = defaultTo; diff --git a/src/node_modules/lodash/defaults.js b/src/node_modules/lodash/defaults.js deleted file mode 100644 index 6b75ee0..0000000 --- a/src/node_modules/lodash/defaults.js +++ /dev/null @@ -1,32 +0,0 @@ -var apply = require('./_apply'), - assignInWith = require('./assignInWith'), - baseRest = require('./_baseRest'), - customDefaultsAssignIn = require('./_customDefaultsAssignIn'); - -/** - * Assigns own and inherited enumerable string keyed properties of source - * objects to the destination object for all destination properties that - * resolve to `undefined`. Source objects are applied from left to right. - * Once a property is set, additional values of the same property are ignored. - * - * **Note:** This method mutates `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.defaultsDeep - * @example - * - * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ -var defaults = baseRest(function(args) { - args.push(undefined, customDefaultsAssignIn); - return apply(assignInWith, undefined, args); -}); - -module.exports = defaults; diff --git a/src/node_modules/lodash/defaultsDeep.js b/src/node_modules/lodash/defaultsDeep.js deleted file mode 100644 index 9b5fa3e..0000000 --- a/src/node_modules/lodash/defaultsDeep.js +++ /dev/null @@ -1,30 +0,0 @@ -var apply = require('./_apply'), - baseRest = require('./_baseRest'), - customDefaultsMerge = require('./_customDefaultsMerge'), - mergeWith = require('./mergeWith'); - -/** - * This method is like `_.defaults` except that it recursively assigns - * default properties. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 3.10.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.defaults - * @example - * - * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } }); - * // => { 'a': { 'b': 2, 'c': 3 } } - */ -var defaultsDeep = baseRest(function(args) { - args.push(undefined, customDefaultsMerge); - return apply(mergeWith, undefined, args); -}); - -module.exports = defaultsDeep; diff --git a/src/node_modules/lodash/defer.js b/src/node_modules/lodash/defer.js deleted file mode 100644 index f6d6c6f..0000000 --- a/src/node_modules/lodash/defer.js +++ /dev/null @@ -1,26 +0,0 @@ -var baseDelay = require('./_baseDelay'), - baseRest = require('./_baseRest'); - -/** - * Defers invoking the `func` until the current call stack has cleared. Any - * additional arguments are provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to defer. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {number} Returns the timer id. - * @example - * - * _.defer(function(text) { - * console.log(text); - * }, 'deferred'); - * // => Logs 'deferred' after one millisecond. - */ -var defer = baseRest(function(func, args) { - return baseDelay(func, 1, args); -}); - -module.exports = defer; diff --git a/src/node_modules/lodash/delay.js b/src/node_modules/lodash/delay.js deleted file mode 100644 index bd55479..0000000 --- a/src/node_modules/lodash/delay.js +++ /dev/null @@ -1,28 +0,0 @@ -var baseDelay = require('./_baseDelay'), - baseRest = require('./_baseRest'), - toNumber = require('./toNumber'); - -/** - * Invokes `func` after `wait` milliseconds. Any additional arguments are - * provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {number} Returns the timer id. - * @example - * - * _.delay(function(text) { - * console.log(text); - * }, 1000, 'later'); - * // => Logs 'later' after one second. - */ -var delay = baseRest(function(func, wait, args) { - return baseDelay(func, toNumber(wait) || 0, args); -}); - -module.exports = delay; diff --git a/src/node_modules/lodash/difference.js b/src/node_modules/lodash/difference.js deleted file mode 100644 index fa28bb3..0000000 --- a/src/node_modules/lodash/difference.js +++ /dev/null @@ -1,33 +0,0 @@ -var baseDifference = require('./_baseDifference'), - baseFlatten = require('./_baseFlatten'), - baseRest = require('./_baseRest'), - isArrayLikeObject = require('./isArrayLikeObject'); - -/** - * Creates an array of `array` values not included in the other given arrays - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. The order and references of result values are - * determined by the first array. - * - * **Note:** Unlike `_.pullAll`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @see _.without, _.xor - * @example - * - * _.difference([2, 1], [2, 3]); - * // => [1] - */ -var difference = baseRest(function(array, values) { - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) - : []; -}); - -module.exports = difference; diff --git a/src/node_modules/lodash/differenceBy.js b/src/node_modules/lodash/differenceBy.js deleted file mode 100644 index 2cd63e7..0000000 --- a/src/node_modules/lodash/differenceBy.js +++ /dev/null @@ -1,44 +0,0 @@ -var baseDifference = require('./_baseDifference'), - baseFlatten = require('./_baseFlatten'), - baseIteratee = require('./_baseIteratee'), - baseRest = require('./_baseRest'), - isArrayLikeObject = require('./isArrayLikeObject'), - last = require('./last'); - -/** - * This method is like `_.difference` except that it accepts `iteratee` which - * is invoked for each element of `array` and `values` to generate the criterion - * by which they're compared. The order and references of result values are - * determined by the first array. The iteratee is invoked with one argument: - * (value). - * - * **Note:** Unlike `_.pullAllBy`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [1.2] - * - * // The `_.property` iteratee shorthand. - * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] - */ -var differenceBy = baseRest(function(array, values) { - var iteratee = last(values); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), baseIteratee(iteratee, 2)) - : []; -}); - -module.exports = differenceBy; diff --git a/src/node_modules/lodash/differenceWith.js b/src/node_modules/lodash/differenceWith.js deleted file mode 100644 index c0233f4..0000000 --- a/src/node_modules/lodash/differenceWith.js +++ /dev/null @@ -1,40 +0,0 @@ -var baseDifference = require('./_baseDifference'), - baseFlatten = require('./_baseFlatten'), - baseRest = require('./_baseRest'), - isArrayLikeObject = require('./isArrayLikeObject'), - last = require('./last'); - -/** - * This method is like `_.difference` except that it accepts `comparator` - * which is invoked to compare elements of `array` to `values`. The order and - * references of result values are determined by the first array. The comparator - * is invoked with two arguments: (arrVal, othVal). - * - * **Note:** Unlike `_.pullAllWith`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * - * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); - * // => [{ 'x': 2, 'y': 1 }] - */ -var differenceWith = baseRest(function(array, values) { - var comparator = last(values); - if (isArrayLikeObject(comparator)) { - comparator = undefined; - } - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator) - : []; -}); - -module.exports = differenceWith; diff --git a/src/node_modules/lodash/divide.js b/src/node_modules/lodash/divide.js deleted file mode 100644 index 8cae0cd..0000000 --- a/src/node_modules/lodash/divide.js +++ /dev/null @@ -1,22 +0,0 @@ -var createMathOperation = require('./_createMathOperation'); - -/** - * Divide two numbers. - * - * @static - * @memberOf _ - * @since 4.7.0 - * @category Math - * @param {number} dividend The first number in a division. - * @param {number} divisor The second number in a division. - * @returns {number} Returns the quotient. - * @example - * - * _.divide(6, 4); - * // => 1.5 - */ -var divide = createMathOperation(function(dividend, divisor) { - return dividend / divisor; -}, 1); - -module.exports = divide; diff --git a/src/node_modules/lodash/drop.js b/src/node_modules/lodash/drop.js deleted file mode 100644 index d5c3cba..0000000 --- a/src/node_modules/lodash/drop.js +++ /dev/null @@ -1,38 +0,0 @@ -var baseSlice = require('./_baseSlice'), - toInteger = require('./toInteger'); - -/** - * Creates a slice of `array` with `n` elements dropped from the beginning. - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to drop. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.drop([1, 2, 3]); - * // => [2, 3] - * - * _.drop([1, 2, 3], 2); - * // => [3] - * - * _.drop([1, 2, 3], 5); - * // => [] - * - * _.drop([1, 2, 3], 0); - * // => [1, 2, 3] - */ -function drop(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - return baseSlice(array, n < 0 ? 0 : n, length); -} - -module.exports = drop; diff --git a/src/node_modules/lodash/dropRight.js b/src/node_modules/lodash/dropRight.js deleted file mode 100644 index 441fe99..0000000 --- a/src/node_modules/lodash/dropRight.js +++ /dev/null @@ -1,39 +0,0 @@ -var baseSlice = require('./_baseSlice'), - toInteger = require('./toInteger'); - -/** - * Creates a slice of `array` with `n` elements dropped from the end. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to drop. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.dropRight([1, 2, 3]); - * // => [1, 2] - * - * _.dropRight([1, 2, 3], 2); - * // => [1] - * - * _.dropRight([1, 2, 3], 5); - * // => [] - * - * _.dropRight([1, 2, 3], 0); - * // => [1, 2, 3] - */ -function dropRight(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - n = length - n; - return baseSlice(array, 0, n < 0 ? 0 : n); -} - -module.exports = dropRight; diff --git a/src/node_modules/lodash/dropRightWhile.js b/src/node_modules/lodash/dropRightWhile.js deleted file mode 100644 index 9ad36a0..0000000 --- a/src/node_modules/lodash/dropRightWhile.js +++ /dev/null @@ -1,45 +0,0 @@ -var baseIteratee = require('./_baseIteratee'), - baseWhile = require('./_baseWhile'); - -/** - * Creates a slice of `array` excluding elements dropped from the end. - * Elements are dropped until `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.dropRightWhile(users, function(o) { return !o.active; }); - * // => objects for ['barney'] - * - * // The `_.matches` iteratee shorthand. - * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false }); - * // => objects for ['barney', 'fred'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.dropRightWhile(users, ['active', false]); - * // => objects for ['barney'] - * - * // The `_.property` iteratee shorthand. - * _.dropRightWhile(users, 'active'); - * // => objects for ['barney', 'fred', 'pebbles'] - */ -function dropRightWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, baseIteratee(predicate, 3), true, true) - : []; -} - -module.exports = dropRightWhile; diff --git a/src/node_modules/lodash/dropWhile.js b/src/node_modules/lodash/dropWhile.js deleted file mode 100644 index 903ef56..0000000 --- a/src/node_modules/lodash/dropWhile.js +++ /dev/null @@ -1,45 +0,0 @@ -var baseIteratee = require('./_baseIteratee'), - baseWhile = require('./_baseWhile'); - -/** - * Creates a slice of `array` excluding elements dropped from the beginning. - * Elements are dropped until `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.dropWhile(users, function(o) { return !o.active; }); - * // => objects for ['pebbles'] - * - * // The `_.matches` iteratee shorthand. - * _.dropWhile(users, { 'user': 'barney', 'active': false }); - * // => objects for ['fred', 'pebbles'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.dropWhile(users, ['active', false]); - * // => objects for ['pebbles'] - * - * // The `_.property` iteratee shorthand. - * _.dropWhile(users, 'active'); - * // => objects for ['barney', 'fred', 'pebbles'] - */ -function dropWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, baseIteratee(predicate, 3), true) - : []; -} - -module.exports = dropWhile; diff --git a/src/node_modules/lodash/each.js b/src/node_modules/lodash/each.js deleted file mode 100644 index 8800f42..0000000 --- a/src/node_modules/lodash/each.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./forEach'); diff --git a/src/node_modules/lodash/eachRight.js b/src/node_modules/lodash/eachRight.js deleted file mode 100644 index 3252b2a..0000000 --- a/src/node_modules/lodash/eachRight.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./forEachRight'); diff --git a/src/node_modules/lodash/endsWith.js b/src/node_modules/lodash/endsWith.js deleted file mode 100644 index 76fc866..0000000 --- a/src/node_modules/lodash/endsWith.js +++ /dev/null @@ -1,43 +0,0 @@ -var baseClamp = require('./_baseClamp'), - baseToString = require('./_baseToString'), - toInteger = require('./toInteger'), - toString = require('./toString'); - -/** - * Checks if `string` ends with the given target string. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to inspect. - * @param {string} [target] The string to search for. - * @param {number} [position=string.length] The position to search up to. - * @returns {boolean} Returns `true` if `string` ends with `target`, - * else `false`. - * @example - * - * _.endsWith('abc', 'c'); - * // => true - * - * _.endsWith('abc', 'b'); - * // => false - * - * _.endsWith('abc', 'b', 2); - * // => true - */ -function endsWith(string, target, position) { - string = toString(string); - target = baseToString(target); - - var length = string.length; - position = position === undefined - ? length - : baseClamp(toInteger(position), 0, length); - - var end = position; - position -= target.length; - return position >= 0 && string.slice(position, end) == target; -} - -module.exports = endsWith; diff --git a/src/node_modules/lodash/entries.js b/src/node_modules/lodash/entries.js deleted file mode 100644 index 7a88df2..0000000 --- a/src/node_modules/lodash/entries.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./toPairs'); diff --git a/src/node_modules/lodash/entriesIn.js b/src/node_modules/lodash/entriesIn.js deleted file mode 100644 index f6c6331..0000000 --- a/src/node_modules/lodash/entriesIn.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./toPairsIn'); diff --git a/src/node_modules/lodash/eq.js b/src/node_modules/lodash/eq.js deleted file mode 100644 index a940688..0000000 --- a/src/node_modules/lodash/eq.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Performs a - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ -function eq(value, other) { - return value === other || (value !== value && other !== other); -} - -module.exports = eq; diff --git a/src/node_modules/lodash/escape.js b/src/node_modules/lodash/escape.js deleted file mode 100644 index 9247e00..0000000 --- a/src/node_modules/lodash/escape.js +++ /dev/null @@ -1,43 +0,0 @@ -var escapeHtmlChar = require('./_escapeHtmlChar'), - toString = require('./toString'); - -/** Used to match HTML entities and HTML characters. */ -var reUnescapedHtml = /[&<>"']/g, - reHasUnescapedHtml = RegExp(reUnescapedHtml.source); - -/** - * Converts the characters "&", "<", ">", '"', and "'" in `string` to their - * corresponding HTML entities. - * - * **Note:** No other characters are escaped. To escape additional - * characters use a third-party library like [_he_](https://mths.be/he). - * - * Though the ">" character is escaped for symmetry, characters like - * ">" and "/" don't need escaping in HTML and have no special meaning - * unless they're part of a tag or unquoted attribute value. See - * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands) - * (under "semi-related fun fact") for more details. - * - * When working with HTML you should always - * [quote attribute values](http://wonko.com/post/html-escaping) to reduce - * XSS vectors. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category String - * @param {string} [string=''] The string to escape. - * @returns {string} Returns the escaped string. - * @example - * - * _.escape('fred, barney, & pebbles'); - * // => 'fred, barney, & pebbles' - */ -function escape(string) { - string = toString(string); - return (string && reHasUnescapedHtml.test(string)) - ? string.replace(reUnescapedHtml, escapeHtmlChar) - : string; -} - -module.exports = escape; diff --git a/src/node_modules/lodash/escapeRegExp.js b/src/node_modules/lodash/escapeRegExp.js deleted file mode 100644 index 0a58c69..0000000 --- a/src/node_modules/lodash/escapeRegExp.js +++ /dev/null @@ -1,32 +0,0 @@ -var toString = require('./toString'); - -/** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ -var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, - reHasRegExpChar = RegExp(reRegExpChar.source); - -/** - * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+", - * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to escape. - * @returns {string} Returns the escaped string. - * @example - * - * _.escapeRegExp('[lodash](https://lodash.com/)'); - * // => '\[lodash\]\(https://lodash\.com/\)' - */ -function escapeRegExp(string) { - string = toString(string); - return (string && reHasRegExpChar.test(string)) - ? string.replace(reRegExpChar, '\\$&') - : string; -} - -module.exports = escapeRegExp; diff --git a/src/node_modules/lodash/every.js b/src/node_modules/lodash/every.js deleted file mode 100644 index 25080da..0000000 --- a/src/node_modules/lodash/every.js +++ /dev/null @@ -1,56 +0,0 @@ -var arrayEvery = require('./_arrayEvery'), - baseEvery = require('./_baseEvery'), - baseIteratee = require('./_baseIteratee'), - isArray = require('./isArray'), - isIterateeCall = require('./_isIterateeCall'); - -/** - * Checks if `predicate` returns truthy for **all** elements of `collection`. - * Iteration is stopped once `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index|key, collection). - * - * **Note:** This method returns `true` for - * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because - * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of - * elements of empty collections. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - * @example - * - * _.every([true, 1, null, 'yes'], Boolean); - * // => false - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.every(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // The `_.matchesProperty` iteratee shorthand. - * _.every(users, ['active', false]); - * // => true - * - * // The `_.property` iteratee shorthand. - * _.every(users, 'active'); - * // => false - */ -function every(collection, predicate, guard) { - var func = isArray(collection) ? arrayEvery : baseEvery; - if (guard && isIterateeCall(collection, predicate, guard)) { - predicate = undefined; - } - return func(collection, baseIteratee(predicate, 3)); -} - -module.exports = every; diff --git a/src/node_modules/lodash/extend.js b/src/node_modules/lodash/extend.js deleted file mode 100644 index e00166c..0000000 --- a/src/node_modules/lodash/extend.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./assignIn'); diff --git a/src/node_modules/lodash/extendWith.js b/src/node_modules/lodash/extendWith.js deleted file mode 100644 index dbdcb3b..0000000 --- a/src/node_modules/lodash/extendWith.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./assignInWith'); diff --git a/src/node_modules/lodash/fill.js b/src/node_modules/lodash/fill.js deleted file mode 100644 index ae13aa1..0000000 --- a/src/node_modules/lodash/fill.js +++ /dev/null @@ -1,45 +0,0 @@ -var baseFill = require('./_baseFill'), - isIterateeCall = require('./_isIterateeCall'); - -/** - * Fills elements of `array` with `value` from `start` up to, but not - * including, `end`. - * - * **Note:** This method mutates `array`. - * - * @static - * @memberOf _ - * @since 3.2.0 - * @category Array - * @param {Array} array The array to fill. - * @param {*} value The value to fill `array` with. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3]; - * - * _.fill(array, 'a'); - * console.log(array); - * // => ['a', 'a', 'a'] - * - * _.fill(Array(3), 2); - * // => [2, 2, 2] - * - * _.fill([4, 6, 8, 10], '*', 1, 3); - * // => [4, '*', '*', 10] - */ -function fill(array, value, start, end) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - if (start && typeof start != 'number' && isIterateeCall(array, value, start)) { - start = 0; - end = length; - } - return baseFill(array, value, start, end); -} - -module.exports = fill; diff --git a/src/node_modules/lodash/filter.js b/src/node_modules/lodash/filter.js deleted file mode 100644 index 52616be..0000000 --- a/src/node_modules/lodash/filter.js +++ /dev/null @@ -1,48 +0,0 @@ -var arrayFilter = require('./_arrayFilter'), - baseFilter = require('./_baseFilter'), - baseIteratee = require('./_baseIteratee'), - isArray = require('./isArray'); - -/** - * Iterates over elements of `collection`, returning an array of all elements - * `predicate` returns truthy for. The predicate is invoked with three - * arguments: (value, index|key, collection). - * - * **Note:** Unlike `_.remove`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - * @see _.reject - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * _.filter(users, function(o) { return !o.active; }); - * // => objects for ['fred'] - * - * // The `_.matches` iteratee shorthand. - * _.filter(users, { 'age': 36, 'active': true }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.filter(users, ['active', false]); - * // => objects for ['fred'] - * - * // The `_.property` iteratee shorthand. - * _.filter(users, 'active'); - * // => objects for ['barney'] - */ -function filter(collection, predicate) { - var func = isArray(collection) ? arrayFilter : baseFilter; - return func(collection, baseIteratee(predicate, 3)); -} - -module.exports = filter; diff --git a/src/node_modules/lodash/find.js b/src/node_modules/lodash/find.js deleted file mode 100644 index de732cc..0000000 --- a/src/node_modules/lodash/find.js +++ /dev/null @@ -1,42 +0,0 @@ -var createFind = require('./_createFind'), - findIndex = require('./findIndex'); - -/** - * Iterates over elements of `collection`, returning the first element - * `predicate` returns truthy for. The predicate is invoked with three - * arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=0] The index to search from. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false }, - * { 'user': 'pebbles', 'age': 1, 'active': true } - * ]; - * - * _.find(users, function(o) { return o.age < 40; }); - * // => object for 'barney' - * - * // The `_.matches` iteratee shorthand. - * _.find(users, { 'age': 1, 'active': true }); - * // => object for 'pebbles' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.find(users, ['active', false]); - * // => object for 'fred' - * - * // The `_.property` iteratee shorthand. - * _.find(users, 'active'); - * // => object for 'barney' - */ -var find = createFind(findIndex); - -module.exports = find; diff --git a/src/node_modules/lodash/findIndex.js b/src/node_modules/lodash/findIndex.js deleted file mode 100644 index 4689069..0000000 --- a/src/node_modules/lodash/findIndex.js +++ /dev/null @@ -1,55 +0,0 @@ -var baseFindIndex = require('./_baseFindIndex'), - baseIteratee = require('./_baseIteratee'), - toInteger = require('./toInteger'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * This method is like `_.find` except that it returns the index of the first - * element `predicate` returns truthy for instead of the element itself. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the found element, else `-1`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.findIndex(users, function(o) { return o.user == 'barney'; }); - * // => 0 - * - * // The `_.matches` iteratee shorthand. - * _.findIndex(users, { 'user': 'fred', 'active': false }); - * // => 1 - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findIndex(users, ['active', false]); - * // => 0 - * - * // The `_.property` iteratee shorthand. - * _.findIndex(users, 'active'); - * // => 2 - */ -function findIndex(array, predicate, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = fromIndex == null ? 0 : toInteger(fromIndex); - if (index < 0) { - index = nativeMax(length + index, 0); - } - return baseFindIndex(array, baseIteratee(predicate, 3), index); -} - -module.exports = findIndex; diff --git a/src/node_modules/lodash/findKey.js b/src/node_modules/lodash/findKey.js deleted file mode 100644 index cac0248..0000000 --- a/src/node_modules/lodash/findKey.js +++ /dev/null @@ -1,44 +0,0 @@ -var baseFindKey = require('./_baseFindKey'), - baseForOwn = require('./_baseForOwn'), - baseIteratee = require('./_baseIteratee'); - -/** - * This method is like `_.find` except that it returns the key of the first - * element `predicate` returns truthy for instead of the element itself. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Object - * @param {Object} object The object to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {string|undefined} Returns the key of the matched element, - * else `undefined`. - * @example - * - * var users = { - * 'barney': { 'age': 36, 'active': true }, - * 'fred': { 'age': 40, 'active': false }, - * 'pebbles': { 'age': 1, 'active': true } - * }; - * - * _.findKey(users, function(o) { return o.age < 40; }); - * // => 'barney' (iteration order is not guaranteed) - * - * // The `_.matches` iteratee shorthand. - * _.findKey(users, { 'age': 1, 'active': true }); - * // => 'pebbles' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findKey(users, ['active', false]); - * // => 'fred' - * - * // The `_.property` iteratee shorthand. - * _.findKey(users, 'active'); - * // => 'barney' - */ -function findKey(object, predicate) { - return baseFindKey(object, baseIteratee(predicate, 3), baseForOwn); -} - -module.exports = findKey; diff --git a/src/node_modules/lodash/findLast.js b/src/node_modules/lodash/findLast.js deleted file mode 100644 index 70b4271..0000000 --- a/src/node_modules/lodash/findLast.js +++ /dev/null @@ -1,25 +0,0 @@ -var createFind = require('./_createFind'), - findLastIndex = require('./findLastIndex'); - -/** - * This method is like `_.find` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Collection - * @param {Array|Object} collection The collection to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=collection.length-1] The index to search from. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * _.findLast([1, 2, 3, 4], function(n) { - * return n % 2 == 1; - * }); - * // => 3 - */ -var findLast = createFind(findLastIndex); - -module.exports = findLast; diff --git a/src/node_modules/lodash/findLastIndex.js b/src/node_modules/lodash/findLastIndex.js deleted file mode 100644 index 7da3431..0000000 --- a/src/node_modules/lodash/findLastIndex.js +++ /dev/null @@ -1,59 +0,0 @@ -var baseFindIndex = require('./_baseFindIndex'), - baseIteratee = require('./_baseIteratee'), - toInteger = require('./toInteger'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max, - nativeMin = Math.min; - -/** - * This method is like `_.findIndex` except that it iterates over elements - * of `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=array.length-1] The index to search from. - * @returns {number} Returns the index of the found element, else `-1`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; }); - * // => 2 - * - * // The `_.matches` iteratee shorthand. - * _.findLastIndex(users, { 'user': 'barney', 'active': true }); - * // => 0 - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findLastIndex(users, ['active', false]); - * // => 2 - * - * // The `_.property` iteratee shorthand. - * _.findLastIndex(users, 'active'); - * // => 0 - */ -function findLastIndex(array, predicate, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = length - 1; - if (fromIndex !== undefined) { - index = toInteger(fromIndex); - index = fromIndex < 0 - ? nativeMax(length + index, 0) - : nativeMin(index, length - 1); - } - return baseFindIndex(array, baseIteratee(predicate, 3), index, true); -} - -module.exports = findLastIndex; diff --git a/src/node_modules/lodash/findLastKey.js b/src/node_modules/lodash/findLastKey.js deleted file mode 100644 index 66fb9fb..0000000 --- a/src/node_modules/lodash/findLastKey.js +++ /dev/null @@ -1,44 +0,0 @@ -var baseFindKey = require('./_baseFindKey'), - baseForOwnRight = require('./_baseForOwnRight'), - baseIteratee = require('./_baseIteratee'); - -/** - * This method is like `_.findKey` except that it iterates over elements of - * a collection in the opposite order. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Object - * @param {Object} object The object to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {string|undefined} Returns the key of the matched element, - * else `undefined`. - * @example - * - * var users = { - * 'barney': { 'age': 36, 'active': true }, - * 'fred': { 'age': 40, 'active': false }, - * 'pebbles': { 'age': 1, 'active': true } - * }; - * - * _.findLastKey(users, function(o) { return o.age < 40; }); - * // => returns 'pebbles' assuming `_.findKey` returns 'barney' - * - * // The `_.matches` iteratee shorthand. - * _.findLastKey(users, { 'age': 36, 'active': true }); - * // => 'barney' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findLastKey(users, ['active', false]); - * // => 'fred' - * - * // The `_.property` iteratee shorthand. - * _.findLastKey(users, 'active'); - * // => 'pebbles' - */ -function findLastKey(object, predicate) { - return baseFindKey(object, baseIteratee(predicate, 3), baseForOwnRight); -} - -module.exports = findLastKey; diff --git a/src/node_modules/lodash/first.js b/src/node_modules/lodash/first.js deleted file mode 100644 index 53f4ad1..0000000 --- a/src/node_modules/lodash/first.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./head'); diff --git a/src/node_modules/lodash/flatMap.js b/src/node_modules/lodash/flatMap.js deleted file mode 100644 index e668506..0000000 --- a/src/node_modules/lodash/flatMap.js +++ /dev/null @@ -1,29 +0,0 @@ -var baseFlatten = require('./_baseFlatten'), - map = require('./map'); - -/** - * Creates a flattened array of values by running each element in `collection` - * thru `iteratee` and flattening the mapped results. The iteratee is invoked - * with three arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [n, n]; - * } - * - * _.flatMap([1, 2], duplicate); - * // => [1, 1, 2, 2] - */ -function flatMap(collection, iteratee) { - return baseFlatten(map(collection, iteratee), 1); -} - -module.exports = flatMap; diff --git a/src/node_modules/lodash/flatMapDeep.js b/src/node_modules/lodash/flatMapDeep.js deleted file mode 100644 index 4653d60..0000000 --- a/src/node_modules/lodash/flatMapDeep.js +++ /dev/null @@ -1,31 +0,0 @@ -var baseFlatten = require('./_baseFlatten'), - map = require('./map'); - -/** Used as references for various `Number` constants. */ -var INFINITY = 1 / 0; - -/** - * This method is like `_.flatMap` except that it recursively flattens the - * mapped results. - * - * @static - * @memberOf _ - * @since 4.7.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [[[n, n]]]; - * } - * - * _.flatMapDeep([1, 2], duplicate); - * // => [1, 1, 2, 2] - */ -function flatMapDeep(collection, iteratee) { - return baseFlatten(map(collection, iteratee), INFINITY); -} - -module.exports = flatMapDeep; diff --git a/src/node_modules/lodash/flatMapDepth.js b/src/node_modules/lodash/flatMapDepth.js deleted file mode 100644 index 6d72005..0000000 --- a/src/node_modules/lodash/flatMapDepth.js +++ /dev/null @@ -1,31 +0,0 @@ -var baseFlatten = require('./_baseFlatten'), - map = require('./map'), - toInteger = require('./toInteger'); - -/** - * This method is like `_.flatMap` except that it recursively flattens the - * mapped results up to `depth` times. - * - * @static - * @memberOf _ - * @since 4.7.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {number} [depth=1] The maximum recursion depth. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [[[n, n]]]; - * } - * - * _.flatMapDepth([1, 2], duplicate, 2); - * // => [[1, 1], [2, 2]] - */ -function flatMapDepth(collection, iteratee, depth) { - depth = depth === undefined ? 1 : toInteger(depth); - return baseFlatten(map(collection, iteratee), depth); -} - -module.exports = flatMapDepth; diff --git a/src/node_modules/lodash/flatten.js b/src/node_modules/lodash/flatten.js deleted file mode 100644 index 3f09f7f..0000000 --- a/src/node_modules/lodash/flatten.js +++ /dev/null @@ -1,22 +0,0 @@ -var baseFlatten = require('./_baseFlatten'); - -/** - * Flattens `array` a single level deep. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flatten([1, [2, [3, [4]], 5]]); - * // => [1, 2, [3, [4]], 5] - */ -function flatten(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, 1) : []; -} - -module.exports = flatten; diff --git a/src/node_modules/lodash/flattenDeep.js b/src/node_modules/lodash/flattenDeep.js deleted file mode 100644 index 8ad585c..0000000 --- a/src/node_modules/lodash/flattenDeep.js +++ /dev/null @@ -1,25 +0,0 @@ -var baseFlatten = require('./_baseFlatten'); - -/** Used as references for various `Number` constants. */ -var INFINITY = 1 / 0; - -/** - * Recursively flattens `array`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flattenDeep([1, [2, [3, [4]], 5]]); - * // => [1, 2, 3, 4, 5] - */ -function flattenDeep(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, INFINITY) : []; -} - -module.exports = flattenDeep; diff --git a/src/node_modules/lodash/flattenDepth.js b/src/node_modules/lodash/flattenDepth.js deleted file mode 100644 index 441fdcc..0000000 --- a/src/node_modules/lodash/flattenDepth.js +++ /dev/null @@ -1,33 +0,0 @@ -var baseFlatten = require('./_baseFlatten'), - toInteger = require('./toInteger'); - -/** - * Recursively flatten `array` up to `depth` times. - * - * @static - * @memberOf _ - * @since 4.4.0 - * @category Array - * @param {Array} array The array to flatten. - * @param {number} [depth=1] The maximum recursion depth. - * @returns {Array} Returns the new flattened array. - * @example - * - * var array = [1, [2, [3, [4]], 5]]; - * - * _.flattenDepth(array, 1); - * // => [1, 2, [3, [4]], 5] - * - * _.flattenDepth(array, 2); - * // => [1, 2, 3, [4], 5] - */ -function flattenDepth(array, depth) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - depth = depth === undefined ? 1 : toInteger(depth); - return baseFlatten(array, depth); -} - -module.exports = flattenDepth; diff --git a/src/node_modules/lodash/flip.js b/src/node_modules/lodash/flip.js deleted file mode 100644 index c28dd78..0000000 --- a/src/node_modules/lodash/flip.js +++ /dev/null @@ -1,28 +0,0 @@ -var createWrap = require('./_createWrap'); - -/** Used to compose bitmasks for function metadata. */ -var WRAP_FLIP_FLAG = 512; - -/** - * Creates a function that invokes `func` with arguments reversed. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to flip arguments for. - * @returns {Function} Returns the new flipped function. - * @example - * - * var flipped = _.flip(function() { - * return _.toArray(arguments); - * }); - * - * flipped('a', 'b', 'c', 'd'); - * // => ['d', 'c', 'b', 'a'] - */ -function flip(func) { - return createWrap(func, WRAP_FLIP_FLAG); -} - -module.exports = flip; diff --git a/src/node_modules/lodash/floor.js b/src/node_modules/lodash/floor.js deleted file mode 100644 index ab6dfa2..0000000 --- a/src/node_modules/lodash/floor.js +++ /dev/null @@ -1,26 +0,0 @@ -var createRound = require('./_createRound'); - -/** - * Computes `number` rounded down to `precision`. - * - * @static - * @memberOf _ - * @since 3.10.0 - * @category Math - * @param {number} number The number to round down. - * @param {number} [precision=0] The precision to round down to. - * @returns {number} Returns the rounded down number. - * @example - * - * _.floor(4.006); - * // => 4 - * - * _.floor(0.046, 2); - * // => 0.04 - * - * _.floor(4060, -2); - * // => 4000 - */ -var floor = createRound('floor'); - -module.exports = floor; diff --git a/src/node_modules/lodash/flow.js b/src/node_modules/lodash/flow.js deleted file mode 100644 index 74b6b62..0000000 --- a/src/node_modules/lodash/flow.js +++ /dev/null @@ -1,27 +0,0 @@ -var createFlow = require('./_createFlow'); - -/** - * Creates a function that returns the result of invoking the given functions - * with the `this` binding of the created function, where each successive - * invocation is supplied the return value of the previous. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Util - * @param {...(Function|Function[])} [funcs] The functions to invoke. - * @returns {Function} Returns the new composite function. - * @see _.flowRight - * @example - * - * function square(n) { - * return n * n; - * } - * - * var addSquare = _.flow([_.add, square]); - * addSquare(1, 2); - * // => 9 - */ -var flow = createFlow(); - -module.exports = flow; diff --git a/src/node_modules/lodash/flowRight.js b/src/node_modules/lodash/flowRight.js deleted file mode 100644 index 1146141..0000000 --- a/src/node_modules/lodash/flowRight.js +++ /dev/null @@ -1,26 +0,0 @@ -var createFlow = require('./_createFlow'); - -/** - * This method is like `_.flow` except that it creates a function that - * invokes the given functions from right to left. - * - * @static - * @since 3.0.0 - * @memberOf _ - * @category Util - * @param {...(Function|Function[])} [funcs] The functions to invoke. - * @returns {Function} Returns the new composite function. - * @see _.flow - * @example - * - * function square(n) { - * return n * n; - * } - * - * var addSquare = _.flowRight([square, _.add]); - * addSquare(1, 2); - * // => 9 - */ -var flowRight = createFlow(true); - -module.exports = flowRight; diff --git a/src/node_modules/lodash/forEach.js b/src/node_modules/lodash/forEach.js deleted file mode 100644 index c64eaa7..0000000 --- a/src/node_modules/lodash/forEach.js +++ /dev/null @@ -1,41 +0,0 @@ -var arrayEach = require('./_arrayEach'), - baseEach = require('./_baseEach'), - castFunction = require('./_castFunction'), - isArray = require('./isArray'); - -/** - * Iterates over elements of `collection` and invokes `iteratee` for each element. - * The iteratee is invoked with three arguments: (value, index|key, collection). - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * **Note:** As with other "Collections" methods, objects with a "length" - * property are iterated like arrays. To avoid this behavior use `_.forIn` - * or `_.forOwn` for object iteration. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @alias each - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - * @see _.forEachRight - * @example - * - * _.forEach([1, 2], function(value) { - * console.log(value); - * }); - * // => Logs `1` then `2`. - * - * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a' then 'b' (iteration order is not guaranteed). - */ -function forEach(collection, iteratee) { - var func = isArray(collection) ? arrayEach : baseEach; - return func(collection, castFunction(iteratee)); -} - -module.exports = forEach; diff --git a/src/node_modules/lodash/forEachRight.js b/src/node_modules/lodash/forEachRight.js deleted file mode 100644 index 7390eba..0000000 --- a/src/node_modules/lodash/forEachRight.js +++ /dev/null @@ -1,31 +0,0 @@ -var arrayEachRight = require('./_arrayEachRight'), - baseEachRight = require('./_baseEachRight'), - castFunction = require('./_castFunction'), - isArray = require('./isArray'); - -/** - * This method is like `_.forEach` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @alias eachRight - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - * @see _.forEach - * @example - * - * _.forEachRight([1, 2], function(value) { - * console.log(value); - * }); - * // => Logs `2` then `1`. - */ -function forEachRight(collection, iteratee) { - var func = isArray(collection) ? arrayEachRight : baseEachRight; - return func(collection, castFunction(iteratee)); -} - -module.exports = forEachRight; diff --git a/src/node_modules/lodash/forIn.js b/src/node_modules/lodash/forIn.js deleted file mode 100644 index 583a596..0000000 --- a/src/node_modules/lodash/forIn.js +++ /dev/null @@ -1,39 +0,0 @@ -var baseFor = require('./_baseFor'), - castFunction = require('./_castFunction'), - keysIn = require('./keysIn'); - -/** - * Iterates over own and inherited enumerable string keyed properties of an - * object and invokes `iteratee` for each property. The iteratee is invoked - * with three arguments: (value, key, object). Iteratee functions may exit - * iteration early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @since 0.3.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forInRight - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forIn(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed). - */ -function forIn(object, iteratee) { - return object == null - ? object - : baseFor(object, castFunction(iteratee), keysIn); -} - -module.exports = forIn; diff --git a/src/node_modules/lodash/forInRight.js b/src/node_modules/lodash/forInRight.js deleted file mode 100644 index 4aedf58..0000000 --- a/src/node_modules/lodash/forInRight.js +++ /dev/null @@ -1,37 +0,0 @@ -var baseForRight = require('./_baseForRight'), - castFunction = require('./_castFunction'), - keysIn = require('./keysIn'); - -/** - * This method is like `_.forIn` except that it iterates over properties of - * `object` in the opposite order. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forIn - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forInRight(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'. - */ -function forInRight(object, iteratee) { - return object == null - ? object - : baseForRight(object, castFunction(iteratee), keysIn); -} - -module.exports = forInRight; diff --git a/src/node_modules/lodash/forOwn.js b/src/node_modules/lodash/forOwn.js deleted file mode 100644 index 94eed84..0000000 --- a/src/node_modules/lodash/forOwn.js +++ /dev/null @@ -1,36 +0,0 @@ -var baseForOwn = require('./_baseForOwn'), - castFunction = require('./_castFunction'); - -/** - * Iterates over own enumerable string keyed properties of an object and - * invokes `iteratee` for each property. The iteratee is invoked with three - * arguments: (value, key, object). Iteratee functions may exit iteration - * early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @since 0.3.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forOwnRight - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forOwn(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a' then 'b' (iteration order is not guaranteed). - */ -function forOwn(object, iteratee) { - return object && baseForOwn(object, castFunction(iteratee)); -} - -module.exports = forOwn; diff --git a/src/node_modules/lodash/forOwnRight.js b/src/node_modules/lodash/forOwnRight.js deleted file mode 100644 index 86f338f..0000000 --- a/src/node_modules/lodash/forOwnRight.js +++ /dev/null @@ -1,34 +0,0 @@ -var baseForOwnRight = require('./_baseForOwnRight'), - castFunction = require('./_castFunction'); - -/** - * This method is like `_.forOwn` except that it iterates over properties of - * `object` in the opposite order. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forOwn - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forOwnRight(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'. - */ -function forOwnRight(object, iteratee) { - return object && baseForOwnRight(object, castFunction(iteratee)); -} - -module.exports = forOwnRight; diff --git a/src/node_modules/lodash/fp.js b/src/node_modules/lodash/fp.js deleted file mode 100644 index e372dbb..0000000 --- a/src/node_modules/lodash/fp.js +++ /dev/null @@ -1,2 +0,0 @@ -var _ = require('./lodash.min').runInContext(); -module.exports = require('./fp/_baseConvert')(_, _); diff --git a/src/node_modules/lodash/fp/F.js b/src/node_modules/lodash/fp/F.js deleted file mode 100644 index a05a63a..0000000 --- a/src/node_modules/lodash/fp/F.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./stubFalse'); diff --git a/src/node_modules/lodash/fp/T.js b/src/node_modules/lodash/fp/T.js deleted file mode 100644 index e2ba8ea..0000000 --- a/src/node_modules/lodash/fp/T.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./stubTrue'); diff --git a/src/node_modules/lodash/fp/__.js b/src/node_modules/lodash/fp/__.js deleted file mode 100644 index 4af98de..0000000 --- a/src/node_modules/lodash/fp/__.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./placeholder'); diff --git a/src/node_modules/lodash/fp/_baseConvert.js b/src/node_modules/lodash/fp/_baseConvert.js deleted file mode 100644 index 7af2765..0000000 --- a/src/node_modules/lodash/fp/_baseConvert.js +++ /dev/null @@ -1,568 +0,0 @@ -var mapping = require('./_mapping'), - fallbackHolder = require('./placeholder'); - -/** Built-in value reference. */ -var push = Array.prototype.push; - -/** - * Creates a function, with an arity of `n`, that invokes `func` with the - * arguments it receives. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} n The arity of the new function. - * @returns {Function} Returns the new function. - */ -function baseArity(func, n) { - return n == 2 - ? function(a, b) { return func.apply(undefined, arguments); } - : function(a) { return func.apply(undefined, arguments); }; -} - -/** - * Creates a function that invokes `func`, with up to `n` arguments, ignoring - * any additional arguments. - * - * @private - * @param {Function} func The function to cap arguments for. - * @param {number} n The arity cap. - * @returns {Function} Returns the new function. - */ -function baseAry(func, n) { - return n == 2 - ? function(a, b) { return func(a, b); } - : function(a) { return func(a); }; -} - -/** - * Creates a clone of `array`. - * - * @private - * @param {Array} array The array to clone. - * @returns {Array} Returns the cloned array. - */ -function cloneArray(array) { - var length = array ? array.length : 0, - result = Array(length); - - while (length--) { - result[length] = array[length]; - } - return result; -} - -/** - * Creates a function that clones a given object using the assignment `func`. - * - * @private - * @param {Function} func The assignment function. - * @returns {Function} Returns the new cloner function. - */ -function createCloner(func) { - return function(object) { - return func({}, object); - }; -} - -/** - * A specialized version of `_.spread` which flattens the spread array into - * the arguments of the invoked `func`. - * - * @private - * @param {Function} func The function to spread arguments over. - * @param {number} start The start position of the spread. - * @returns {Function} Returns the new function. - */ -function flatSpread(func, start) { - return function() { - var length = arguments.length, - lastIndex = length - 1, - args = Array(length); - - while (length--) { - args[length] = arguments[length]; - } - var array = args[start], - otherArgs = args.slice(0, start); - - if (array) { - push.apply(otherArgs, array); - } - if (start != lastIndex) { - push.apply(otherArgs, args.slice(start + 1)); - } - return func.apply(this, otherArgs); - }; -} - -/** - * Creates a function that wraps `func` and uses `cloner` to clone the first - * argument it receives. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} cloner The function to clone arguments. - * @returns {Function} Returns the new immutable function. - */ -function wrapImmutable(func, cloner) { - return function() { - var length = arguments.length; - if (!length) { - return; - } - var args = Array(length); - while (length--) { - args[length] = arguments[length]; - } - var result = args[0] = cloner.apply(undefined, args); - func.apply(undefined, args); - return result; - }; -} - -/** - * The base implementation of `convert` which accepts a `util` object of methods - * required to perform conversions. - * - * @param {Object} util The util object. - * @param {string} name The name of the function to convert. - * @param {Function} func The function to convert. - * @param {Object} [options] The options object. - * @param {boolean} [options.cap=true] Specify capping iteratee arguments. - * @param {boolean} [options.curry=true] Specify currying. - * @param {boolean} [options.fixed=true] Specify fixed arity. - * @param {boolean} [options.immutable=true] Specify immutable operations. - * @param {boolean} [options.rearg=true] Specify rearranging arguments. - * @returns {Function|Object} Returns the converted function or object. - */ -function baseConvert(util, name, func, options) { - var setPlaceholder, - isLib = typeof name == 'function', - isObj = name === Object(name); - - if (isObj) { - options = func; - func = name; - name = undefined; - } - if (func == null) { - throw new TypeError; - } - options || (options = {}); - - var config = { - 'cap': 'cap' in options ? options.cap : true, - 'curry': 'curry' in options ? options.curry : true, - 'fixed': 'fixed' in options ? options.fixed : true, - 'immutable': 'immutable' in options ? options.immutable : true, - 'rearg': 'rearg' in options ? options.rearg : true - }; - - var forceCurry = ('curry' in options) && options.curry, - forceFixed = ('fixed' in options) && options.fixed, - forceRearg = ('rearg' in options) && options.rearg, - placeholder = isLib ? func : fallbackHolder, - pristine = isLib ? func.runInContext() : undefined; - - var helpers = isLib ? func : { - 'ary': util.ary, - 'assign': util.assign, - 'clone': util.clone, - 'curry': util.curry, - 'forEach': util.forEach, - 'isArray': util.isArray, - 'isFunction': util.isFunction, - 'iteratee': util.iteratee, - 'keys': util.keys, - 'rearg': util.rearg, - 'toInteger': util.toInteger, - 'toPath': util.toPath - }; - - var ary = helpers.ary, - assign = helpers.assign, - clone = helpers.clone, - curry = helpers.curry, - each = helpers.forEach, - isArray = helpers.isArray, - isFunction = helpers.isFunction, - keys = helpers.keys, - rearg = helpers.rearg, - toInteger = helpers.toInteger, - toPath = helpers.toPath; - - var aryMethodKeys = keys(mapping.aryMethod); - - var wrappers = { - 'castArray': function(castArray) { - return function() { - var value = arguments[0]; - return isArray(value) - ? castArray(cloneArray(value)) - : castArray.apply(undefined, arguments); - }; - }, - 'iteratee': function(iteratee) { - return function() { - var func = arguments[0], - arity = arguments[1], - result = iteratee(func, arity), - length = result.length; - - if (config.cap && typeof arity == 'number') { - arity = arity > 2 ? (arity - 2) : 1; - return (length && length <= arity) ? result : baseAry(result, arity); - } - return result; - }; - }, - 'mixin': function(mixin) { - return function(source) { - var func = this; - if (!isFunction(func)) { - return mixin(func, Object(source)); - } - var pairs = []; - each(keys(source), function(key) { - if (isFunction(source[key])) { - pairs.push([key, func.prototype[key]]); - } - }); - - mixin(func, Object(source)); - - each(pairs, function(pair) { - var value = pair[1]; - if (isFunction(value)) { - func.prototype[pair[0]] = value; - } else { - delete func.prototype[pair[0]]; - } - }); - return func; - }; - }, - 'nthArg': function(nthArg) { - return function(n) { - var arity = n < 0 ? 1 : (toInteger(n) + 1); - return curry(nthArg(n), arity); - }; - }, - 'rearg': function(rearg) { - return function(func, indexes) { - var arity = indexes ? indexes.length : 0; - return curry(rearg(func, indexes), arity); - }; - }, - 'runInContext': function(runInContext) { - return function(context) { - return baseConvert(util, runInContext(context), options); - }; - } - }; - - /*--------------------------------------------------------------------------*/ - - /** - * Casts `func` to a function with an arity capped iteratee if needed. - * - * @private - * @param {string} name The name of the function to inspect. - * @param {Function} func The function to inspect. - * @returns {Function} Returns the cast function. - */ - function castCap(name, func) { - if (config.cap) { - var indexes = mapping.iterateeRearg[name]; - if (indexes) { - return iterateeRearg(func, indexes); - } - var n = !isLib && mapping.iterateeAry[name]; - if (n) { - return iterateeAry(func, n); - } - } - return func; - } - - /** - * Casts `func` to a curried function if needed. - * - * @private - * @param {string} name The name of the function to inspect. - * @param {Function} func The function to inspect. - * @param {number} n The arity of `func`. - * @returns {Function} Returns the cast function. - */ - function castCurry(name, func, n) { - return (forceCurry || (config.curry && n > 1)) - ? curry(func, n) - : func; - } - - /** - * Casts `func` to a fixed arity function if needed. - * - * @private - * @param {string} name The name of the function to inspect. - * @param {Function} func The function to inspect. - * @param {number} n The arity cap. - * @returns {Function} Returns the cast function. - */ - function castFixed(name, func, n) { - if (config.fixed && (forceFixed || !mapping.skipFixed[name])) { - var data = mapping.methodSpread[name], - start = data && data.start; - - return start === undefined ? ary(func, n) : flatSpread(func, start); - } - return func; - } - - /** - * Casts `func` to an rearged function if needed. - * - * @private - * @param {string} name The name of the function to inspect. - * @param {Function} func The function to inspect. - * @param {number} n The arity of `func`. - * @returns {Function} Returns the cast function. - */ - function castRearg(name, func, n) { - return (config.rearg && n > 1 && (forceRearg || !mapping.skipRearg[name])) - ? rearg(func, mapping.methodRearg[name] || mapping.aryRearg[n]) - : func; - } - - /** - * Creates a clone of `object` by `path`. - * - * @private - * @param {Object} object The object to clone. - * @param {Array|string} path The path to clone by. - * @returns {Object} Returns the cloned object. - */ - function cloneByPath(object, path) { - path = toPath(path); - - var index = -1, - length = path.length, - lastIndex = length - 1, - result = clone(Object(object)), - nested = result; - - while (nested != null && ++index < length) { - var key = path[index], - value = nested[key]; - - if (value != null) { - nested[path[index]] = clone(index == lastIndex ? value : Object(value)); - } - nested = nested[key]; - } - return result; - } - - /** - * Converts `lodash` to an immutable auto-curried iteratee-first data-last - * version with conversion `options` applied. - * - * @param {Object} [options] The options object. See `baseConvert` for more details. - * @returns {Function} Returns the converted `lodash`. - */ - function convertLib(options) { - return _.runInContext.convert(options)(undefined); - } - - /** - * Create a converter function for `func` of `name`. - * - * @param {string} name The name of the function to convert. - * @param {Function} func The function to convert. - * @returns {Function} Returns the new converter function. - */ - function createConverter(name, func) { - var realName = mapping.aliasToReal[name] || name, - methodName = mapping.remap[realName] || realName, - oldOptions = options; - - return function(options) { - var newUtil = isLib ? pristine : helpers, - newFunc = isLib ? pristine[methodName] : func, - newOptions = assign(assign({}, oldOptions), options); - - return baseConvert(newUtil, realName, newFunc, newOptions); - }; - } - - /** - * Creates a function that wraps `func` to invoke its iteratee, with up to `n` - * arguments, ignoring any additional arguments. - * - * @private - * @param {Function} func The function to cap iteratee arguments for. - * @param {number} n The arity cap. - * @returns {Function} Returns the new function. - */ - function iterateeAry(func, n) { - return overArg(func, function(func) { - return typeof func == 'function' ? baseAry(func, n) : func; - }); - } - - /** - * Creates a function that wraps `func` to invoke its iteratee with arguments - * arranged according to the specified `indexes` where the argument value at - * the first index is provided as the first argument, the argument value at - * the second index is provided as the second argument, and so on. - * - * @private - * @param {Function} func The function to rearrange iteratee arguments for. - * @param {number[]} indexes The arranged argument indexes. - * @returns {Function} Returns the new function. - */ - function iterateeRearg(func, indexes) { - return overArg(func, function(func) { - var n = indexes.length; - return baseArity(rearg(baseAry(func, n), indexes), n); - }); - } - - /** - * Creates a function that invokes `func` with its first argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ - function overArg(func, transform) { - return function() { - var length = arguments.length; - if (!length) { - return func(); - } - var args = Array(length); - while (length--) { - args[length] = arguments[length]; - } - var index = config.rearg ? 0 : (length - 1); - args[index] = transform(args[index]); - return func.apply(undefined, args); - }; - } - - /** - * Creates a function that wraps `func` and applys the conversions - * rules by `name`. - * - * @private - * @param {string} name The name of the function to wrap. - * @param {Function} func The function to wrap. - * @returns {Function} Returns the converted function. - */ - function wrap(name, func) { - var result, - realName = mapping.aliasToReal[name] || name, - wrapped = func, - wrapper = wrappers[realName]; - - if (wrapper) { - wrapped = wrapper(func); - } - else if (config.immutable) { - if (mapping.mutate.array[realName]) { - wrapped = wrapImmutable(func, cloneArray); - } - else if (mapping.mutate.object[realName]) { - wrapped = wrapImmutable(func, createCloner(func)); - } - else if (mapping.mutate.set[realName]) { - wrapped = wrapImmutable(func, cloneByPath); - } - } - each(aryMethodKeys, function(aryKey) { - each(mapping.aryMethod[aryKey], function(otherName) { - if (realName == otherName) { - var data = mapping.methodSpread[realName], - afterRearg = data && data.afterRearg; - - result = afterRearg - ? castFixed(realName, castRearg(realName, wrapped, aryKey), aryKey) - : castRearg(realName, castFixed(realName, wrapped, aryKey), aryKey); - - result = castCap(realName, result); - result = castCurry(realName, result, aryKey); - return false; - } - }); - return !result; - }); - - result || (result = wrapped); - if (result == func) { - result = forceCurry ? curry(result, 1) : function() { - return func.apply(this, arguments); - }; - } - result.convert = createConverter(realName, func); - if (mapping.placeholder[realName]) { - setPlaceholder = true; - result.placeholder = func.placeholder = placeholder; - } - return result; - } - - /*--------------------------------------------------------------------------*/ - - if (!isObj) { - return wrap(name, func); - } - var _ = func; - - // Convert methods by ary cap. - var pairs = []; - each(aryMethodKeys, function(aryKey) { - each(mapping.aryMethod[aryKey], function(key) { - var func = _[mapping.remap[key] || key]; - if (func) { - pairs.push([key, wrap(key, func)]); - } - }); - }); - - // Convert remaining methods. - each(keys(_), function(key) { - var func = _[key]; - if (typeof func == 'function') { - var length = pairs.length; - while (length--) { - if (pairs[length][0] == key) { - return; - } - } - func.convert = createConverter(key, func); - pairs.push([key, func]); - } - }); - - // Assign to `_` leaving `_.prototype` unchanged to allow chaining. - each(pairs, function(pair) { - _[pair[0]] = pair[1]; - }); - - _.convert = convertLib; - if (setPlaceholder) { - _.placeholder = placeholder; - } - // Assign aliases. - each(keys(_), function(key) { - each(mapping.realToAlias[key] || [], function(alias) { - _[alias] = _[key]; - }); - }); - - return _; -} - -module.exports = baseConvert; diff --git a/src/node_modules/lodash/fp/_convertBrowser.js b/src/node_modules/lodash/fp/_convertBrowser.js deleted file mode 100644 index bde030d..0000000 --- a/src/node_modules/lodash/fp/_convertBrowser.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseConvert = require('./_baseConvert'); - -/** - * Converts `lodash` to an immutable auto-curried iteratee-first data-last - * version with conversion `options` applied. - * - * @param {Function} lodash The lodash function to convert. - * @param {Object} [options] The options object. See `baseConvert` for more details. - * @returns {Function} Returns the converted `lodash`. - */ -function browserConvert(lodash, options) { - return baseConvert(lodash, lodash, options); -} - -if (typeof _ == 'function' && typeof _.runInContext == 'function') { - _ = browserConvert(_.runInContext()); -} -module.exports = browserConvert; diff --git a/src/node_modules/lodash/fp/_falseOptions.js b/src/node_modules/lodash/fp/_falseOptions.js deleted file mode 100644 index 773235e..0000000 --- a/src/node_modules/lodash/fp/_falseOptions.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - 'cap': false, - 'curry': false, - 'fixed': false, - 'immutable': false, - 'rearg': false -}; diff --git a/src/node_modules/lodash/fp/_mapping.js b/src/node_modules/lodash/fp/_mapping.js deleted file mode 100644 index 8f5ddf2..0000000 --- a/src/node_modules/lodash/fp/_mapping.js +++ /dev/null @@ -1,368 +0,0 @@ -/** Used to map aliases to their real names. */ -exports.aliasToReal = { - - // Lodash aliases. - 'each': 'forEach', - 'eachRight': 'forEachRight', - 'entries': 'toPairs', - 'entriesIn': 'toPairsIn', - 'extend': 'assignIn', - 'extendAll': 'assignInAll', - 'extendAllWith': 'assignInAllWith', - 'extendWith': 'assignInWith', - 'first': 'head', - - // Methods that are curried variants of others. - 'conforms': 'conformsTo', - 'matches': 'isMatch', - 'property': 'get', - - // Ramda aliases. - '__': 'placeholder', - 'F': 'stubFalse', - 'T': 'stubTrue', - 'all': 'every', - 'allPass': 'overEvery', - 'always': 'constant', - 'any': 'some', - 'anyPass': 'overSome', - 'apply': 'spread', - 'assoc': 'set', - 'assocPath': 'set', - 'complement': 'negate', - 'compose': 'flowRight', - 'contains': 'includes', - 'dissoc': 'unset', - 'dissocPath': 'unset', - 'dropLast': 'dropRight', - 'dropLastWhile': 'dropRightWhile', - 'equals': 'isEqual', - 'identical': 'eq', - 'indexBy': 'keyBy', - 'init': 'initial', - 'invertObj': 'invert', - 'juxt': 'over', - 'omitAll': 'omit', - 'nAry': 'ary', - 'path': 'get', - 'pathEq': 'matchesProperty', - 'pathOr': 'getOr', - 'paths': 'at', - 'pickAll': 'pick', - 'pipe': 'flow', - 'pluck': 'map', - 'prop': 'get', - 'propEq': 'matchesProperty', - 'propOr': 'getOr', - 'props': 'at', - 'symmetricDifference': 'xor', - 'symmetricDifferenceBy': 'xorBy', - 'symmetricDifferenceWith': 'xorWith', - 'takeLast': 'takeRight', - 'takeLastWhile': 'takeRightWhile', - 'unapply': 'rest', - 'unnest': 'flatten', - 'useWith': 'overArgs', - 'where': 'conformsTo', - 'whereEq': 'isMatch', - 'zipObj': 'zipObject' -}; - -/** Used to map ary to method names. */ -exports.aryMethod = { - '1': [ - 'assignAll', 'assignInAll', 'attempt', 'castArray', 'ceil', 'create', - 'curry', 'curryRight', 'defaultsAll', 'defaultsDeepAll', 'floor', 'flow', - 'flowRight', 'fromPairs', 'invert', 'iteratee', 'memoize', 'method', 'mergeAll', - 'methodOf', 'mixin', 'nthArg', 'over', 'overEvery', 'overSome','rest', 'reverse', - 'round', 'runInContext', 'spread', 'template', 'trim', 'trimEnd', 'trimStart', - 'uniqueId', 'words', 'zipAll' - ], - '2': [ - 'add', 'after', 'ary', 'assign', 'assignAllWith', 'assignIn', 'assignInAllWith', - 'at', 'before', 'bind', 'bindAll', 'bindKey', 'chunk', 'cloneDeepWith', - 'cloneWith', 'concat', 'conformsTo', 'countBy', 'curryN', 'curryRightN', - 'debounce', 'defaults', 'defaultsDeep', 'defaultTo', 'delay', 'difference', - 'divide', 'drop', 'dropRight', 'dropRightWhile', 'dropWhile', 'endsWith', 'eq', - 'every', 'filter', 'find', 'findIndex', 'findKey', 'findLast', 'findLastIndex', - 'findLastKey', 'flatMap', 'flatMapDeep', 'flattenDepth', 'forEach', - 'forEachRight', 'forIn', 'forInRight', 'forOwn', 'forOwnRight', 'get', - 'groupBy', 'gt', 'gte', 'has', 'hasIn', 'includes', 'indexOf', 'intersection', - 'invertBy', 'invoke', 'invokeMap', 'isEqual', 'isMatch', 'join', 'keyBy', - 'lastIndexOf', 'lt', 'lte', 'map', 'mapKeys', 'mapValues', 'matchesProperty', - 'maxBy', 'meanBy', 'merge', 'mergeAllWith', 'minBy', 'multiply', 'nth', 'omit', - 'omitBy', 'overArgs', 'pad', 'padEnd', 'padStart', 'parseInt', 'partial', - 'partialRight', 'partition', 'pick', 'pickBy', 'propertyOf', 'pull', 'pullAll', - 'pullAt', 'random', 'range', 'rangeRight', 'rearg', 'reject', 'remove', - 'repeat', 'restFrom', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex', - 'sortedIndexOf', 'sortedLastIndex', 'sortedLastIndexOf', 'sortedUniqBy', - 'split', 'spreadFrom', 'startsWith', 'subtract', 'sumBy', 'take', 'takeRight', - 'takeRightWhile', 'takeWhile', 'tap', 'throttle', 'thru', 'times', 'trimChars', - 'trimCharsEnd', 'trimCharsStart', 'truncate', 'union', 'uniqBy', 'uniqWith', - 'unset', 'unzipWith', 'without', 'wrap', 'xor', 'zip', 'zipObject', - 'zipObjectDeep' - ], - '3': [ - 'assignInWith', 'assignWith', 'clamp', 'differenceBy', 'differenceWith', - 'findFrom', 'findIndexFrom', 'findLastFrom', 'findLastIndexFrom', 'getOr', - 'includesFrom', 'indexOfFrom', 'inRange', 'intersectionBy', 'intersectionWith', - 'invokeArgs', 'invokeArgsMap', 'isEqualWith', 'isMatchWith', 'flatMapDepth', - 'lastIndexOfFrom', 'mergeWith', 'orderBy', 'padChars', 'padCharsEnd', - 'padCharsStart', 'pullAllBy', 'pullAllWith', 'rangeStep', 'rangeStepRight', - 'reduce', 'reduceRight', 'replace', 'set', 'slice', 'sortedIndexBy', - 'sortedLastIndexBy', 'transform', 'unionBy', 'unionWith', 'update', 'xorBy', - 'xorWith', 'zipWith' - ], - '4': [ - 'fill', 'setWith', 'updateWith' - ] -}; - -/** Used to map ary to rearg configs. */ -exports.aryRearg = { - '2': [1, 0], - '3': [2, 0, 1], - '4': [3, 2, 0, 1] -}; - -/** Used to map method names to their iteratee ary. */ -exports.iterateeAry = { - 'dropRightWhile': 1, - 'dropWhile': 1, - 'every': 1, - 'filter': 1, - 'find': 1, - 'findFrom': 1, - 'findIndex': 1, - 'findIndexFrom': 1, - 'findKey': 1, - 'findLast': 1, - 'findLastFrom': 1, - 'findLastIndex': 1, - 'findLastIndexFrom': 1, - 'findLastKey': 1, - 'flatMap': 1, - 'flatMapDeep': 1, - 'flatMapDepth': 1, - 'forEach': 1, - 'forEachRight': 1, - 'forIn': 1, - 'forInRight': 1, - 'forOwn': 1, - 'forOwnRight': 1, - 'map': 1, - 'mapKeys': 1, - 'mapValues': 1, - 'partition': 1, - 'reduce': 2, - 'reduceRight': 2, - 'reject': 1, - 'remove': 1, - 'some': 1, - 'takeRightWhile': 1, - 'takeWhile': 1, - 'times': 1, - 'transform': 2 -}; - -/** Used to map method names to iteratee rearg configs. */ -exports.iterateeRearg = { - 'mapKeys': [1], - 'reduceRight': [1, 0] -}; - -/** Used to map method names to rearg configs. */ -exports.methodRearg = { - 'assignInAllWith': [1, 0], - 'assignInWith': [1, 2, 0], - 'assignAllWith': [1, 0], - 'assignWith': [1, 2, 0], - 'differenceBy': [1, 2, 0], - 'differenceWith': [1, 2, 0], - 'getOr': [2, 1, 0], - 'intersectionBy': [1, 2, 0], - 'intersectionWith': [1, 2, 0], - 'isEqualWith': [1, 2, 0], - 'isMatchWith': [2, 1, 0], - 'mergeAllWith': [1, 0], - 'mergeWith': [1, 2, 0], - 'padChars': [2, 1, 0], - 'padCharsEnd': [2, 1, 0], - 'padCharsStart': [2, 1, 0], - 'pullAllBy': [2, 1, 0], - 'pullAllWith': [2, 1, 0], - 'rangeStep': [1, 2, 0], - 'rangeStepRight': [1, 2, 0], - 'setWith': [3, 1, 2, 0], - 'sortedIndexBy': [2, 1, 0], - 'sortedLastIndexBy': [2, 1, 0], - 'unionBy': [1, 2, 0], - 'unionWith': [1, 2, 0], - 'updateWith': [3, 1, 2, 0], - 'xorBy': [1, 2, 0], - 'xorWith': [1, 2, 0], - 'zipWith': [1, 2, 0] -}; - -/** Used to map method names to spread configs. */ -exports.methodSpread = { - 'assignAll': { 'start': 0 }, - 'assignAllWith': { 'start': 0 }, - 'assignInAll': { 'start': 0 }, - 'assignInAllWith': { 'start': 0 }, - 'defaultsAll': { 'start': 0 }, - 'defaultsDeepAll': { 'start': 0 }, - 'invokeArgs': { 'start': 2 }, - 'invokeArgsMap': { 'start': 2 }, - 'mergeAll': { 'start': 0 }, - 'mergeAllWith': { 'start': 0 }, - 'partial': { 'start': 1 }, - 'partialRight': { 'start': 1 }, - 'without': { 'start': 1 }, - 'zipAll': { 'start': 0 } -}; - -/** Used to identify methods which mutate arrays or objects. */ -exports.mutate = { - 'array': { - 'fill': true, - 'pull': true, - 'pullAll': true, - 'pullAllBy': true, - 'pullAllWith': true, - 'pullAt': true, - 'remove': true, - 'reverse': true - }, - 'object': { - 'assign': true, - 'assignAll': true, - 'assignAllWith': true, - 'assignIn': true, - 'assignInAll': true, - 'assignInAllWith': true, - 'assignInWith': true, - 'assignWith': true, - 'defaults': true, - 'defaultsAll': true, - 'defaultsDeep': true, - 'defaultsDeepAll': true, - 'merge': true, - 'mergeAll': true, - 'mergeAllWith': true, - 'mergeWith': true, - }, - 'set': { - 'set': true, - 'setWith': true, - 'unset': true, - 'update': true, - 'updateWith': true - } -}; - -/** Used to track methods with placeholder support */ -exports.placeholder = { - 'bind': true, - 'bindKey': true, - 'curry': true, - 'curryRight': true, - 'partial': true, - 'partialRight': true -}; - -/** Used to map real names to their aliases. */ -exports.realToAlias = (function() { - var hasOwnProperty = Object.prototype.hasOwnProperty, - object = exports.aliasToReal, - result = {}; - - for (var key in object) { - var value = object[key]; - if (hasOwnProperty.call(result, value)) { - result[value].push(key); - } else { - result[value] = [key]; - } - } - return result; -}()); - -/** Used to map method names to other names. */ -exports.remap = { - 'assignAll': 'assign', - 'assignAllWith': 'assignWith', - 'assignInAll': 'assignIn', - 'assignInAllWith': 'assignInWith', - 'curryN': 'curry', - 'curryRightN': 'curryRight', - 'defaultsAll': 'defaults', - 'defaultsDeepAll': 'defaultsDeep', - 'findFrom': 'find', - 'findIndexFrom': 'findIndex', - 'findLastFrom': 'findLast', - 'findLastIndexFrom': 'findLastIndex', - 'getOr': 'get', - 'includesFrom': 'includes', - 'indexOfFrom': 'indexOf', - 'invokeArgs': 'invoke', - 'invokeArgsMap': 'invokeMap', - 'lastIndexOfFrom': 'lastIndexOf', - 'mergeAll': 'merge', - 'mergeAllWith': 'mergeWith', - 'padChars': 'pad', - 'padCharsEnd': 'padEnd', - 'padCharsStart': 'padStart', - 'propertyOf': 'get', - 'rangeStep': 'range', - 'rangeStepRight': 'rangeRight', - 'restFrom': 'rest', - 'spreadFrom': 'spread', - 'trimChars': 'trim', - 'trimCharsEnd': 'trimEnd', - 'trimCharsStart': 'trimStart', - 'zipAll': 'zip' -}; - -/** Used to track methods that skip fixing their arity. */ -exports.skipFixed = { - 'castArray': true, - 'flow': true, - 'flowRight': true, - 'iteratee': true, - 'mixin': true, - 'rearg': true, - 'runInContext': true -}; - -/** Used to track methods that skip rearranging arguments. */ -exports.skipRearg = { - 'add': true, - 'assign': true, - 'assignIn': true, - 'bind': true, - 'bindKey': true, - 'concat': true, - 'difference': true, - 'divide': true, - 'eq': true, - 'gt': true, - 'gte': true, - 'isEqual': true, - 'lt': true, - 'lte': true, - 'matchesProperty': true, - 'merge': true, - 'multiply': true, - 'overArgs': true, - 'partial': true, - 'partialRight': true, - 'propertyOf': true, - 'random': true, - 'range': true, - 'rangeRight': true, - 'subtract': true, - 'zip': true, - 'zipObject': true, - 'zipObjectDeep': true -}; diff --git a/src/node_modules/lodash/fp/_util.js b/src/node_modules/lodash/fp/_util.js deleted file mode 100644 index 7084463..0000000 --- a/src/node_modules/lodash/fp/_util.js +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = { - 'ary': require('../ary'), - 'assign': require('../_baseAssign'), - 'clone': require('../clone'), - 'curry': require('../curry'), - 'forEach': require('../_arrayEach'), - 'isArray': require('../isArray'), - 'isFunction': require('../isFunction'), - 'iteratee': require('../iteratee'), - 'keys': require('../_baseKeys'), - 'rearg': require('../rearg'), - 'toInteger': require('../toInteger'), - 'toPath': require('../toPath') -}; diff --git a/src/node_modules/lodash/fp/add.js b/src/node_modules/lodash/fp/add.js deleted file mode 100644 index 816eeec..0000000 --- a/src/node_modules/lodash/fp/add.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('add', require('../add')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/after.js b/src/node_modules/lodash/fp/after.js deleted file mode 100644 index 21a0167..0000000 --- a/src/node_modules/lodash/fp/after.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('after', require('../after')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/all.js b/src/node_modules/lodash/fp/all.js deleted file mode 100644 index d0839f7..0000000 --- a/src/node_modules/lodash/fp/all.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./every'); diff --git a/src/node_modules/lodash/fp/allPass.js b/src/node_modules/lodash/fp/allPass.js deleted file mode 100644 index 79b73ef..0000000 --- a/src/node_modules/lodash/fp/allPass.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./overEvery'); diff --git a/src/node_modules/lodash/fp/always.js b/src/node_modules/lodash/fp/always.js deleted file mode 100644 index 9887703..0000000 --- a/src/node_modules/lodash/fp/always.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./constant'); diff --git a/src/node_modules/lodash/fp/any.js b/src/node_modules/lodash/fp/any.js deleted file mode 100644 index 900ac25..0000000 --- a/src/node_modules/lodash/fp/any.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./some'); diff --git a/src/node_modules/lodash/fp/anyPass.js b/src/node_modules/lodash/fp/anyPass.js deleted file mode 100644 index 2774ab3..0000000 --- a/src/node_modules/lodash/fp/anyPass.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./overSome'); diff --git a/src/node_modules/lodash/fp/apply.js b/src/node_modules/lodash/fp/apply.js deleted file mode 100644 index 2b75712..0000000 --- a/src/node_modules/lodash/fp/apply.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./spread'); diff --git a/src/node_modules/lodash/fp/array.js b/src/node_modules/lodash/fp/array.js deleted file mode 100644 index fe939c2..0000000 --- a/src/node_modules/lodash/fp/array.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../array')); diff --git a/src/node_modules/lodash/fp/ary.js b/src/node_modules/lodash/fp/ary.js deleted file mode 100644 index 8edf187..0000000 --- a/src/node_modules/lodash/fp/ary.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('ary', require('../ary')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/assign.js b/src/node_modules/lodash/fp/assign.js deleted file mode 100644 index 23f47af..0000000 --- a/src/node_modules/lodash/fp/assign.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('assign', require('../assign')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/assignAll.js b/src/node_modules/lodash/fp/assignAll.js deleted file mode 100644 index b1d36c7..0000000 --- a/src/node_modules/lodash/fp/assignAll.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('assignAll', require('../assign')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/assignAllWith.js b/src/node_modules/lodash/fp/assignAllWith.js deleted file mode 100644 index 21e836e..0000000 --- a/src/node_modules/lodash/fp/assignAllWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('assignAllWith', require('../assignWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/assignIn.js b/src/node_modules/lodash/fp/assignIn.js deleted file mode 100644 index 6e7c65f..0000000 --- a/src/node_modules/lodash/fp/assignIn.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('assignIn', require('../assignIn')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/assignInAll.js b/src/node_modules/lodash/fp/assignInAll.js deleted file mode 100644 index 7ba75db..0000000 --- a/src/node_modules/lodash/fp/assignInAll.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('assignInAll', require('../assignIn')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/assignInAllWith.js b/src/node_modules/lodash/fp/assignInAllWith.js deleted file mode 100644 index e766903..0000000 --- a/src/node_modules/lodash/fp/assignInAllWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('assignInAllWith', require('../assignInWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/assignInWith.js b/src/node_modules/lodash/fp/assignInWith.js deleted file mode 100644 index acb5923..0000000 --- a/src/node_modules/lodash/fp/assignInWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('assignInWith', require('../assignInWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/assignWith.js b/src/node_modules/lodash/fp/assignWith.js deleted file mode 100644 index eb92521..0000000 --- a/src/node_modules/lodash/fp/assignWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('assignWith', require('../assignWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/assoc.js b/src/node_modules/lodash/fp/assoc.js deleted file mode 100644 index 7648820..0000000 --- a/src/node_modules/lodash/fp/assoc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./set'); diff --git a/src/node_modules/lodash/fp/assocPath.js b/src/node_modules/lodash/fp/assocPath.js deleted file mode 100644 index 7648820..0000000 --- a/src/node_modules/lodash/fp/assocPath.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./set'); diff --git a/src/node_modules/lodash/fp/at.js b/src/node_modules/lodash/fp/at.js deleted file mode 100644 index cc39d25..0000000 --- a/src/node_modules/lodash/fp/at.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('at', require('../at')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/attempt.js b/src/node_modules/lodash/fp/attempt.js deleted file mode 100644 index 26ca42e..0000000 --- a/src/node_modules/lodash/fp/attempt.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('attempt', require('../attempt')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/before.js b/src/node_modules/lodash/fp/before.js deleted file mode 100644 index 7a2de65..0000000 --- a/src/node_modules/lodash/fp/before.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('before', require('../before')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/bind.js b/src/node_modules/lodash/fp/bind.js deleted file mode 100644 index 5cbe4f3..0000000 --- a/src/node_modules/lodash/fp/bind.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('bind', require('../bind')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/bindAll.js b/src/node_modules/lodash/fp/bindAll.js deleted file mode 100644 index 6b4a4a0..0000000 --- a/src/node_modules/lodash/fp/bindAll.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('bindAll', require('../bindAll')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/bindKey.js b/src/node_modules/lodash/fp/bindKey.js deleted file mode 100644 index 6a46c6b..0000000 --- a/src/node_modules/lodash/fp/bindKey.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('bindKey', require('../bindKey')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/camelCase.js b/src/node_modules/lodash/fp/camelCase.js deleted file mode 100644 index 87b77b4..0000000 --- a/src/node_modules/lodash/fp/camelCase.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('camelCase', require('../camelCase'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/capitalize.js b/src/node_modules/lodash/fp/capitalize.js deleted file mode 100644 index cac74e1..0000000 --- a/src/node_modules/lodash/fp/capitalize.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('capitalize', require('../capitalize'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/castArray.js b/src/node_modules/lodash/fp/castArray.js deleted file mode 100644 index 8681c09..0000000 --- a/src/node_modules/lodash/fp/castArray.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('castArray', require('../castArray')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/ceil.js b/src/node_modules/lodash/fp/ceil.js deleted file mode 100644 index f416b72..0000000 --- a/src/node_modules/lodash/fp/ceil.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('ceil', require('../ceil')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/chain.js b/src/node_modules/lodash/fp/chain.js deleted file mode 100644 index 604fe39..0000000 --- a/src/node_modules/lodash/fp/chain.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('chain', require('../chain'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/chunk.js b/src/node_modules/lodash/fp/chunk.js deleted file mode 100644 index 871ab08..0000000 --- a/src/node_modules/lodash/fp/chunk.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('chunk', require('../chunk')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/clamp.js b/src/node_modules/lodash/fp/clamp.js deleted file mode 100644 index 3b06c01..0000000 --- a/src/node_modules/lodash/fp/clamp.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('clamp', require('../clamp')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/clone.js b/src/node_modules/lodash/fp/clone.js deleted file mode 100644 index cadb59c..0000000 --- a/src/node_modules/lodash/fp/clone.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('clone', require('../clone'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/cloneDeep.js b/src/node_modules/lodash/fp/cloneDeep.js deleted file mode 100644 index a6107aa..0000000 --- a/src/node_modules/lodash/fp/cloneDeep.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('cloneDeep', require('../cloneDeep'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/cloneDeepWith.js b/src/node_modules/lodash/fp/cloneDeepWith.js deleted file mode 100644 index 6f01e44..0000000 --- a/src/node_modules/lodash/fp/cloneDeepWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('cloneDeepWith', require('../cloneDeepWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/cloneWith.js b/src/node_modules/lodash/fp/cloneWith.js deleted file mode 100644 index aa88578..0000000 --- a/src/node_modules/lodash/fp/cloneWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('cloneWith', require('../cloneWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/collection.js b/src/node_modules/lodash/fp/collection.js deleted file mode 100644 index fc8b328..0000000 --- a/src/node_modules/lodash/fp/collection.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../collection')); diff --git a/src/node_modules/lodash/fp/commit.js b/src/node_modules/lodash/fp/commit.js deleted file mode 100644 index 130a894..0000000 --- a/src/node_modules/lodash/fp/commit.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('commit', require('../commit'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/compact.js b/src/node_modules/lodash/fp/compact.js deleted file mode 100644 index ce8f7a1..0000000 --- a/src/node_modules/lodash/fp/compact.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('compact', require('../compact'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/complement.js b/src/node_modules/lodash/fp/complement.js deleted file mode 100644 index 93eb462..0000000 --- a/src/node_modules/lodash/fp/complement.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./negate'); diff --git a/src/node_modules/lodash/fp/compose.js b/src/node_modules/lodash/fp/compose.js deleted file mode 100644 index 1954e94..0000000 --- a/src/node_modules/lodash/fp/compose.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./flowRight'); diff --git a/src/node_modules/lodash/fp/concat.js b/src/node_modules/lodash/fp/concat.js deleted file mode 100644 index e59346a..0000000 --- a/src/node_modules/lodash/fp/concat.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('concat', require('../concat')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/cond.js b/src/node_modules/lodash/fp/cond.js deleted file mode 100644 index 6a0120e..0000000 --- a/src/node_modules/lodash/fp/cond.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('cond', require('../cond'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/conforms.js b/src/node_modules/lodash/fp/conforms.js deleted file mode 100644 index 3247f64..0000000 --- a/src/node_modules/lodash/fp/conforms.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./conformsTo'); diff --git a/src/node_modules/lodash/fp/conformsTo.js b/src/node_modules/lodash/fp/conformsTo.js deleted file mode 100644 index aa7f41e..0000000 --- a/src/node_modules/lodash/fp/conformsTo.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('conformsTo', require('../conformsTo')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/constant.js b/src/node_modules/lodash/fp/constant.js deleted file mode 100644 index 9e406fc..0000000 --- a/src/node_modules/lodash/fp/constant.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('constant', require('../constant'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/contains.js b/src/node_modules/lodash/fp/contains.js deleted file mode 100644 index 594722a..0000000 --- a/src/node_modules/lodash/fp/contains.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./includes'); diff --git a/src/node_modules/lodash/fp/convert.js b/src/node_modules/lodash/fp/convert.js deleted file mode 100644 index 4795dc4..0000000 --- a/src/node_modules/lodash/fp/convert.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseConvert = require('./_baseConvert'), - util = require('./_util'); - -/** - * Converts `func` of `name` to an immutable auto-curried iteratee-first data-last - * version with conversion `options` applied. If `name` is an object its methods - * will be converted. - * - * @param {string} name The name of the function to wrap. - * @param {Function} [func] The function to wrap. - * @param {Object} [options] The options object. See `baseConvert` for more details. - * @returns {Function|Object} Returns the converted function or object. - */ -function convert(name, func, options) { - return baseConvert(util, name, func, options); -} - -module.exports = convert; diff --git a/src/node_modules/lodash/fp/countBy.js b/src/node_modules/lodash/fp/countBy.js deleted file mode 100644 index dfa4643..0000000 --- a/src/node_modules/lodash/fp/countBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('countBy', require('../countBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/create.js b/src/node_modules/lodash/fp/create.js deleted file mode 100644 index 752025f..0000000 --- a/src/node_modules/lodash/fp/create.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('create', require('../create')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/curry.js b/src/node_modules/lodash/fp/curry.js deleted file mode 100644 index b0b4168..0000000 --- a/src/node_modules/lodash/fp/curry.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('curry', require('../curry')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/curryN.js b/src/node_modules/lodash/fp/curryN.js deleted file mode 100644 index 2ae7d00..0000000 --- a/src/node_modules/lodash/fp/curryN.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('curryN', require('../curry')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/curryRight.js b/src/node_modules/lodash/fp/curryRight.js deleted file mode 100644 index cb619eb..0000000 --- a/src/node_modules/lodash/fp/curryRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('curryRight', require('../curryRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/curryRightN.js b/src/node_modules/lodash/fp/curryRightN.js deleted file mode 100644 index 2495afc..0000000 --- a/src/node_modules/lodash/fp/curryRightN.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('curryRightN', require('../curryRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/date.js b/src/node_modules/lodash/fp/date.js deleted file mode 100644 index 82cb952..0000000 --- a/src/node_modules/lodash/fp/date.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../date')); diff --git a/src/node_modules/lodash/fp/debounce.js b/src/node_modules/lodash/fp/debounce.js deleted file mode 100644 index 2612229..0000000 --- a/src/node_modules/lodash/fp/debounce.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('debounce', require('../debounce')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/deburr.js b/src/node_modules/lodash/fp/deburr.js deleted file mode 100644 index 96463ab..0000000 --- a/src/node_modules/lodash/fp/deburr.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('deburr', require('../deburr'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/defaultTo.js b/src/node_modules/lodash/fp/defaultTo.js deleted file mode 100644 index d6b52a4..0000000 --- a/src/node_modules/lodash/fp/defaultTo.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('defaultTo', require('../defaultTo')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/defaults.js b/src/node_modules/lodash/fp/defaults.js deleted file mode 100644 index e1a8e6e..0000000 --- a/src/node_modules/lodash/fp/defaults.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('defaults', require('../defaults')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/defaultsAll.js b/src/node_modules/lodash/fp/defaultsAll.js deleted file mode 100644 index 238fcc3..0000000 --- a/src/node_modules/lodash/fp/defaultsAll.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('defaultsAll', require('../defaults')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/defaultsDeep.js b/src/node_modules/lodash/fp/defaultsDeep.js deleted file mode 100644 index 1f172ff..0000000 --- a/src/node_modules/lodash/fp/defaultsDeep.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('defaultsDeep', require('../defaultsDeep')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/defaultsDeepAll.js b/src/node_modules/lodash/fp/defaultsDeepAll.js deleted file mode 100644 index 6835f2f..0000000 --- a/src/node_modules/lodash/fp/defaultsDeepAll.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('defaultsDeepAll', require('../defaultsDeep')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/defer.js b/src/node_modules/lodash/fp/defer.js deleted file mode 100644 index ec7990f..0000000 --- a/src/node_modules/lodash/fp/defer.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('defer', require('../defer'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/delay.js b/src/node_modules/lodash/fp/delay.js deleted file mode 100644 index 556dbd5..0000000 --- a/src/node_modules/lodash/fp/delay.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('delay', require('../delay')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/difference.js b/src/node_modules/lodash/fp/difference.js deleted file mode 100644 index 2d03765..0000000 --- a/src/node_modules/lodash/fp/difference.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('difference', require('../difference')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/differenceBy.js b/src/node_modules/lodash/fp/differenceBy.js deleted file mode 100644 index 2f91491..0000000 --- a/src/node_modules/lodash/fp/differenceBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('differenceBy', require('../differenceBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/differenceWith.js b/src/node_modules/lodash/fp/differenceWith.js deleted file mode 100644 index bcf5ad2..0000000 --- a/src/node_modules/lodash/fp/differenceWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('differenceWith', require('../differenceWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/dissoc.js b/src/node_modules/lodash/fp/dissoc.js deleted file mode 100644 index 7ec7be1..0000000 --- a/src/node_modules/lodash/fp/dissoc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./unset'); diff --git a/src/node_modules/lodash/fp/dissocPath.js b/src/node_modules/lodash/fp/dissocPath.js deleted file mode 100644 index 7ec7be1..0000000 --- a/src/node_modules/lodash/fp/dissocPath.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./unset'); diff --git a/src/node_modules/lodash/fp/divide.js b/src/node_modules/lodash/fp/divide.js deleted file mode 100644 index 82048c5..0000000 --- a/src/node_modules/lodash/fp/divide.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('divide', require('../divide')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/drop.js b/src/node_modules/lodash/fp/drop.js deleted file mode 100644 index 2fa9b4f..0000000 --- a/src/node_modules/lodash/fp/drop.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('drop', require('../drop')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/dropLast.js b/src/node_modules/lodash/fp/dropLast.js deleted file mode 100644 index 174e525..0000000 --- a/src/node_modules/lodash/fp/dropLast.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./dropRight'); diff --git a/src/node_modules/lodash/fp/dropLastWhile.js b/src/node_modules/lodash/fp/dropLastWhile.js deleted file mode 100644 index be2a9d2..0000000 --- a/src/node_modules/lodash/fp/dropLastWhile.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./dropRightWhile'); diff --git a/src/node_modules/lodash/fp/dropRight.js b/src/node_modules/lodash/fp/dropRight.js deleted file mode 100644 index e98881f..0000000 --- a/src/node_modules/lodash/fp/dropRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('dropRight', require('../dropRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/dropRightWhile.js b/src/node_modules/lodash/fp/dropRightWhile.js deleted file mode 100644 index cacaa70..0000000 --- a/src/node_modules/lodash/fp/dropRightWhile.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('dropRightWhile', require('../dropRightWhile')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/dropWhile.js b/src/node_modules/lodash/fp/dropWhile.js deleted file mode 100644 index 285f864..0000000 --- a/src/node_modules/lodash/fp/dropWhile.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('dropWhile', require('../dropWhile')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/each.js b/src/node_modules/lodash/fp/each.js deleted file mode 100644 index 8800f42..0000000 --- a/src/node_modules/lodash/fp/each.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./forEach'); diff --git a/src/node_modules/lodash/fp/eachRight.js b/src/node_modules/lodash/fp/eachRight.js deleted file mode 100644 index 3252b2a..0000000 --- a/src/node_modules/lodash/fp/eachRight.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./forEachRight'); diff --git a/src/node_modules/lodash/fp/endsWith.js b/src/node_modules/lodash/fp/endsWith.js deleted file mode 100644 index 17dc2a4..0000000 --- a/src/node_modules/lodash/fp/endsWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('endsWith', require('../endsWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/entries.js b/src/node_modules/lodash/fp/entries.js deleted file mode 100644 index 7a88df2..0000000 --- a/src/node_modules/lodash/fp/entries.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./toPairs'); diff --git a/src/node_modules/lodash/fp/entriesIn.js b/src/node_modules/lodash/fp/entriesIn.js deleted file mode 100644 index f6c6331..0000000 --- a/src/node_modules/lodash/fp/entriesIn.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./toPairsIn'); diff --git a/src/node_modules/lodash/fp/eq.js b/src/node_modules/lodash/fp/eq.js deleted file mode 100644 index 9a3d21b..0000000 --- a/src/node_modules/lodash/fp/eq.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('eq', require('../eq')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/equals.js b/src/node_modules/lodash/fp/equals.js deleted file mode 100644 index e6a5ce0..0000000 --- a/src/node_modules/lodash/fp/equals.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./isEqual'); diff --git a/src/node_modules/lodash/fp/escape.js b/src/node_modules/lodash/fp/escape.js deleted file mode 100644 index 52c1fbb..0000000 --- a/src/node_modules/lodash/fp/escape.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('escape', require('../escape'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/escapeRegExp.js b/src/node_modules/lodash/fp/escapeRegExp.js deleted file mode 100644 index 369b2ef..0000000 --- a/src/node_modules/lodash/fp/escapeRegExp.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('escapeRegExp', require('../escapeRegExp'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/every.js b/src/node_modules/lodash/fp/every.js deleted file mode 100644 index 95c2776..0000000 --- a/src/node_modules/lodash/fp/every.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('every', require('../every')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/extend.js b/src/node_modules/lodash/fp/extend.js deleted file mode 100644 index e00166c..0000000 --- a/src/node_modules/lodash/fp/extend.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./assignIn'); diff --git a/src/node_modules/lodash/fp/extendAll.js b/src/node_modules/lodash/fp/extendAll.js deleted file mode 100644 index cc55b64..0000000 --- a/src/node_modules/lodash/fp/extendAll.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./assignInAll'); diff --git a/src/node_modules/lodash/fp/extendAllWith.js b/src/node_modules/lodash/fp/extendAllWith.js deleted file mode 100644 index 6679d20..0000000 --- a/src/node_modules/lodash/fp/extendAllWith.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./assignInAllWith'); diff --git a/src/node_modules/lodash/fp/extendWith.js b/src/node_modules/lodash/fp/extendWith.js deleted file mode 100644 index dbdcb3b..0000000 --- a/src/node_modules/lodash/fp/extendWith.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./assignInWith'); diff --git a/src/node_modules/lodash/fp/fill.js b/src/node_modules/lodash/fp/fill.js deleted file mode 100644 index b2d47e8..0000000 --- a/src/node_modules/lodash/fp/fill.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('fill', require('../fill')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/filter.js b/src/node_modules/lodash/fp/filter.js deleted file mode 100644 index 796d501..0000000 --- a/src/node_modules/lodash/fp/filter.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('filter', require('../filter')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/find.js b/src/node_modules/lodash/fp/find.js deleted file mode 100644 index f805d33..0000000 --- a/src/node_modules/lodash/fp/find.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('find', require('../find')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/findFrom.js b/src/node_modules/lodash/fp/findFrom.js deleted file mode 100644 index da8275e..0000000 --- a/src/node_modules/lodash/fp/findFrom.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('findFrom', require('../find')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/findIndex.js b/src/node_modules/lodash/fp/findIndex.js deleted file mode 100644 index 8c15fd1..0000000 --- a/src/node_modules/lodash/fp/findIndex.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('findIndex', require('../findIndex')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/findIndexFrom.js b/src/node_modules/lodash/fp/findIndexFrom.js deleted file mode 100644 index 32e98cb..0000000 --- a/src/node_modules/lodash/fp/findIndexFrom.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('findIndexFrom', require('../findIndex')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/findKey.js b/src/node_modules/lodash/fp/findKey.js deleted file mode 100644 index 475bcfa..0000000 --- a/src/node_modules/lodash/fp/findKey.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('findKey', require('../findKey')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/findLast.js b/src/node_modules/lodash/fp/findLast.js deleted file mode 100644 index 093fe94..0000000 --- a/src/node_modules/lodash/fp/findLast.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('findLast', require('../findLast')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/findLastFrom.js b/src/node_modules/lodash/fp/findLastFrom.js deleted file mode 100644 index 76c38fb..0000000 --- a/src/node_modules/lodash/fp/findLastFrom.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('findLastFrom', require('../findLast')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/findLastIndex.js b/src/node_modules/lodash/fp/findLastIndex.js deleted file mode 100644 index 36986df..0000000 --- a/src/node_modules/lodash/fp/findLastIndex.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('findLastIndex', require('../findLastIndex')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/findLastIndexFrom.js b/src/node_modules/lodash/fp/findLastIndexFrom.js deleted file mode 100644 index 34c8176..0000000 --- a/src/node_modules/lodash/fp/findLastIndexFrom.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('findLastIndexFrom', require('../findLastIndex')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/findLastKey.js b/src/node_modules/lodash/fp/findLastKey.js deleted file mode 100644 index 5f81b60..0000000 --- a/src/node_modules/lodash/fp/findLastKey.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('findLastKey', require('../findLastKey')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/first.js b/src/node_modules/lodash/fp/first.js deleted file mode 100644 index 53f4ad1..0000000 --- a/src/node_modules/lodash/fp/first.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./head'); diff --git a/src/node_modules/lodash/fp/flatMap.js b/src/node_modules/lodash/fp/flatMap.js deleted file mode 100644 index d01dc4d..0000000 --- a/src/node_modules/lodash/fp/flatMap.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('flatMap', require('../flatMap')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/flatMapDeep.js b/src/node_modules/lodash/fp/flatMapDeep.js deleted file mode 100644 index 569c42e..0000000 --- a/src/node_modules/lodash/fp/flatMapDeep.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('flatMapDeep', require('../flatMapDeep')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/flatMapDepth.js b/src/node_modules/lodash/fp/flatMapDepth.js deleted file mode 100644 index 6eb68fd..0000000 --- a/src/node_modules/lodash/fp/flatMapDepth.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('flatMapDepth', require('../flatMapDepth')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/flatten.js b/src/node_modules/lodash/fp/flatten.js deleted file mode 100644 index 30425d8..0000000 --- a/src/node_modules/lodash/fp/flatten.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('flatten', require('../flatten'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/flattenDeep.js b/src/node_modules/lodash/fp/flattenDeep.js deleted file mode 100644 index aed5db2..0000000 --- a/src/node_modules/lodash/fp/flattenDeep.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('flattenDeep', require('../flattenDeep'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/flattenDepth.js b/src/node_modules/lodash/fp/flattenDepth.js deleted file mode 100644 index ad65e37..0000000 --- a/src/node_modules/lodash/fp/flattenDepth.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('flattenDepth', require('../flattenDepth')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/flip.js b/src/node_modules/lodash/fp/flip.js deleted file mode 100644 index 0547e7b..0000000 --- a/src/node_modules/lodash/fp/flip.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('flip', require('../flip'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/floor.js b/src/node_modules/lodash/fp/floor.js deleted file mode 100644 index a6cf335..0000000 --- a/src/node_modules/lodash/fp/floor.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('floor', require('../floor')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/flow.js b/src/node_modules/lodash/fp/flow.js deleted file mode 100644 index cd83677..0000000 --- a/src/node_modules/lodash/fp/flow.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('flow', require('../flow')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/flowRight.js b/src/node_modules/lodash/fp/flowRight.js deleted file mode 100644 index 972a5b9..0000000 --- a/src/node_modules/lodash/fp/flowRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('flowRight', require('../flowRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/forEach.js b/src/node_modules/lodash/fp/forEach.js deleted file mode 100644 index 2f49452..0000000 --- a/src/node_modules/lodash/fp/forEach.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('forEach', require('../forEach')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/forEachRight.js b/src/node_modules/lodash/fp/forEachRight.js deleted file mode 100644 index 3ff9733..0000000 --- a/src/node_modules/lodash/fp/forEachRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('forEachRight', require('../forEachRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/forIn.js b/src/node_modules/lodash/fp/forIn.js deleted file mode 100644 index 9341749..0000000 --- a/src/node_modules/lodash/fp/forIn.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('forIn', require('../forIn')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/forInRight.js b/src/node_modules/lodash/fp/forInRight.js deleted file mode 100644 index cecf8bb..0000000 --- a/src/node_modules/lodash/fp/forInRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('forInRight', require('../forInRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/forOwn.js b/src/node_modules/lodash/fp/forOwn.js deleted file mode 100644 index 246449e..0000000 --- a/src/node_modules/lodash/fp/forOwn.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('forOwn', require('../forOwn')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/forOwnRight.js b/src/node_modules/lodash/fp/forOwnRight.js deleted file mode 100644 index c5e826e..0000000 --- a/src/node_modules/lodash/fp/forOwnRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('forOwnRight', require('../forOwnRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/fromPairs.js b/src/node_modules/lodash/fp/fromPairs.js deleted file mode 100644 index f8cc596..0000000 --- a/src/node_modules/lodash/fp/fromPairs.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('fromPairs', require('../fromPairs')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/function.js b/src/node_modules/lodash/fp/function.js deleted file mode 100644 index dfe69b1..0000000 --- a/src/node_modules/lodash/fp/function.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../function')); diff --git a/src/node_modules/lodash/fp/functions.js b/src/node_modules/lodash/fp/functions.js deleted file mode 100644 index 09d1bb1..0000000 --- a/src/node_modules/lodash/fp/functions.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('functions', require('../functions'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/functionsIn.js b/src/node_modules/lodash/fp/functionsIn.js deleted file mode 100644 index 2cfeb83..0000000 --- a/src/node_modules/lodash/fp/functionsIn.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('functionsIn', require('../functionsIn'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/get.js b/src/node_modules/lodash/fp/get.js deleted file mode 100644 index 6d3a328..0000000 --- a/src/node_modules/lodash/fp/get.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('get', require('../get')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/getOr.js b/src/node_modules/lodash/fp/getOr.js deleted file mode 100644 index 7dbf771..0000000 --- a/src/node_modules/lodash/fp/getOr.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('getOr', require('../get')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/groupBy.js b/src/node_modules/lodash/fp/groupBy.js deleted file mode 100644 index fc0bc78..0000000 --- a/src/node_modules/lodash/fp/groupBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('groupBy', require('../groupBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/gt.js b/src/node_modules/lodash/fp/gt.js deleted file mode 100644 index 9e57c80..0000000 --- a/src/node_modules/lodash/fp/gt.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('gt', require('../gt')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/gte.js b/src/node_modules/lodash/fp/gte.js deleted file mode 100644 index 4584786..0000000 --- a/src/node_modules/lodash/fp/gte.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('gte', require('../gte')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/has.js b/src/node_modules/lodash/fp/has.js deleted file mode 100644 index b901298..0000000 --- a/src/node_modules/lodash/fp/has.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('has', require('../has')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/hasIn.js b/src/node_modules/lodash/fp/hasIn.js deleted file mode 100644 index b3c3d1a..0000000 --- a/src/node_modules/lodash/fp/hasIn.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('hasIn', require('../hasIn')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/head.js b/src/node_modules/lodash/fp/head.js deleted file mode 100644 index 2694f0a..0000000 --- a/src/node_modules/lodash/fp/head.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('head', require('../head'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/identical.js b/src/node_modules/lodash/fp/identical.js deleted file mode 100644 index 85563f4..0000000 --- a/src/node_modules/lodash/fp/identical.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./eq'); diff --git a/src/node_modules/lodash/fp/identity.js b/src/node_modules/lodash/fp/identity.js deleted file mode 100644 index 096415a..0000000 --- a/src/node_modules/lodash/fp/identity.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('identity', require('../identity'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/inRange.js b/src/node_modules/lodash/fp/inRange.js deleted file mode 100644 index 202d940..0000000 --- a/src/node_modules/lodash/fp/inRange.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('inRange', require('../inRange')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/includes.js b/src/node_modules/lodash/fp/includes.js deleted file mode 100644 index 1146780..0000000 --- a/src/node_modules/lodash/fp/includes.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('includes', require('../includes')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/includesFrom.js b/src/node_modules/lodash/fp/includesFrom.js deleted file mode 100644 index 683afdb..0000000 --- a/src/node_modules/lodash/fp/includesFrom.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('includesFrom', require('../includes')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/indexBy.js b/src/node_modules/lodash/fp/indexBy.js deleted file mode 100644 index 7e64bc0..0000000 --- a/src/node_modules/lodash/fp/indexBy.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./keyBy'); diff --git a/src/node_modules/lodash/fp/indexOf.js b/src/node_modules/lodash/fp/indexOf.js deleted file mode 100644 index 524658e..0000000 --- a/src/node_modules/lodash/fp/indexOf.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('indexOf', require('../indexOf')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/indexOfFrom.js b/src/node_modules/lodash/fp/indexOfFrom.js deleted file mode 100644 index d99c822..0000000 --- a/src/node_modules/lodash/fp/indexOfFrom.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('indexOfFrom', require('../indexOf')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/init.js b/src/node_modules/lodash/fp/init.js deleted file mode 100644 index 2f88d8b..0000000 --- a/src/node_modules/lodash/fp/init.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./initial'); diff --git a/src/node_modules/lodash/fp/initial.js b/src/node_modules/lodash/fp/initial.js deleted file mode 100644 index b732ba0..0000000 --- a/src/node_modules/lodash/fp/initial.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('initial', require('../initial'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/intersection.js b/src/node_modules/lodash/fp/intersection.js deleted file mode 100644 index 52936d5..0000000 --- a/src/node_modules/lodash/fp/intersection.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('intersection', require('../intersection')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/intersectionBy.js b/src/node_modules/lodash/fp/intersectionBy.js deleted file mode 100644 index 72629f2..0000000 --- a/src/node_modules/lodash/fp/intersectionBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('intersectionBy', require('../intersectionBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/intersectionWith.js b/src/node_modules/lodash/fp/intersectionWith.js deleted file mode 100644 index e064f40..0000000 --- a/src/node_modules/lodash/fp/intersectionWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('intersectionWith', require('../intersectionWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/invert.js b/src/node_modules/lodash/fp/invert.js deleted file mode 100644 index 2d5d1f0..0000000 --- a/src/node_modules/lodash/fp/invert.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('invert', require('../invert')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/invertBy.js b/src/node_modules/lodash/fp/invertBy.js deleted file mode 100644 index 63ca97e..0000000 --- a/src/node_modules/lodash/fp/invertBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('invertBy', require('../invertBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/invertObj.js b/src/node_modules/lodash/fp/invertObj.js deleted file mode 100644 index f1d842e..0000000 --- a/src/node_modules/lodash/fp/invertObj.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./invert'); diff --git a/src/node_modules/lodash/fp/invoke.js b/src/node_modules/lodash/fp/invoke.js deleted file mode 100644 index fcf17f0..0000000 --- a/src/node_modules/lodash/fp/invoke.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('invoke', require('../invoke')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/invokeArgs.js b/src/node_modules/lodash/fp/invokeArgs.js deleted file mode 100644 index d3f2953..0000000 --- a/src/node_modules/lodash/fp/invokeArgs.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('invokeArgs', require('../invoke')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/invokeArgsMap.js b/src/node_modules/lodash/fp/invokeArgsMap.js deleted file mode 100644 index eaa9f84..0000000 --- a/src/node_modules/lodash/fp/invokeArgsMap.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('invokeArgsMap', require('../invokeMap')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/invokeMap.js b/src/node_modules/lodash/fp/invokeMap.js deleted file mode 100644 index 6515fd7..0000000 --- a/src/node_modules/lodash/fp/invokeMap.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('invokeMap', require('../invokeMap')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isArguments.js b/src/node_modules/lodash/fp/isArguments.js deleted file mode 100644 index 1d93c9e..0000000 --- a/src/node_modules/lodash/fp/isArguments.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isArguments', require('../isArguments'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isArray.js b/src/node_modules/lodash/fp/isArray.js deleted file mode 100644 index ba7ade8..0000000 --- a/src/node_modules/lodash/fp/isArray.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isArray', require('../isArray'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isArrayBuffer.js b/src/node_modules/lodash/fp/isArrayBuffer.js deleted file mode 100644 index 5088513..0000000 --- a/src/node_modules/lodash/fp/isArrayBuffer.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isArrayBuffer', require('../isArrayBuffer'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isArrayLike.js b/src/node_modules/lodash/fp/isArrayLike.js deleted file mode 100644 index 8f1856b..0000000 --- a/src/node_modules/lodash/fp/isArrayLike.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isArrayLike', require('../isArrayLike'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isArrayLikeObject.js b/src/node_modules/lodash/fp/isArrayLikeObject.js deleted file mode 100644 index 2108498..0000000 --- a/src/node_modules/lodash/fp/isArrayLikeObject.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isArrayLikeObject', require('../isArrayLikeObject'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isBoolean.js b/src/node_modules/lodash/fp/isBoolean.js deleted file mode 100644 index 9339f75..0000000 --- a/src/node_modules/lodash/fp/isBoolean.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isBoolean', require('../isBoolean'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isBuffer.js b/src/node_modules/lodash/fp/isBuffer.js deleted file mode 100644 index e60b123..0000000 --- a/src/node_modules/lodash/fp/isBuffer.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isBuffer', require('../isBuffer'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isDate.js b/src/node_modules/lodash/fp/isDate.js deleted file mode 100644 index dc41d08..0000000 --- a/src/node_modules/lodash/fp/isDate.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isDate', require('../isDate'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isElement.js b/src/node_modules/lodash/fp/isElement.js deleted file mode 100644 index 18ee039..0000000 --- a/src/node_modules/lodash/fp/isElement.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isElement', require('../isElement'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isEmpty.js b/src/node_modules/lodash/fp/isEmpty.js deleted file mode 100644 index 0f4ae84..0000000 --- a/src/node_modules/lodash/fp/isEmpty.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isEmpty', require('../isEmpty'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isEqual.js b/src/node_modules/lodash/fp/isEqual.js deleted file mode 100644 index 4138386..0000000 --- a/src/node_modules/lodash/fp/isEqual.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isEqual', require('../isEqual')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isEqualWith.js b/src/node_modules/lodash/fp/isEqualWith.js deleted file mode 100644 index 029ff5c..0000000 --- a/src/node_modules/lodash/fp/isEqualWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isEqualWith', require('../isEqualWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isError.js b/src/node_modules/lodash/fp/isError.js deleted file mode 100644 index 3dfd81c..0000000 --- a/src/node_modules/lodash/fp/isError.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isError', require('../isError'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isFinite.js b/src/node_modules/lodash/fp/isFinite.js deleted file mode 100644 index 0b647b8..0000000 --- a/src/node_modules/lodash/fp/isFinite.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isFinite', require('../isFinite'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isFunction.js b/src/node_modules/lodash/fp/isFunction.js deleted file mode 100644 index ff8e5c4..0000000 --- a/src/node_modules/lodash/fp/isFunction.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isFunction', require('../isFunction'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isInteger.js b/src/node_modules/lodash/fp/isInteger.js deleted file mode 100644 index 67af4ff..0000000 --- a/src/node_modules/lodash/fp/isInteger.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isInteger', require('../isInteger'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isLength.js b/src/node_modules/lodash/fp/isLength.js deleted file mode 100644 index fc101c5..0000000 --- a/src/node_modules/lodash/fp/isLength.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isLength', require('../isLength'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isMap.js b/src/node_modules/lodash/fp/isMap.js deleted file mode 100644 index a209aa6..0000000 --- a/src/node_modules/lodash/fp/isMap.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isMap', require('../isMap'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isMatch.js b/src/node_modules/lodash/fp/isMatch.js deleted file mode 100644 index 6264ca1..0000000 --- a/src/node_modules/lodash/fp/isMatch.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isMatch', require('../isMatch')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isMatchWith.js b/src/node_modules/lodash/fp/isMatchWith.js deleted file mode 100644 index d95f319..0000000 --- a/src/node_modules/lodash/fp/isMatchWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isMatchWith', require('../isMatchWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isNaN.js b/src/node_modules/lodash/fp/isNaN.js deleted file mode 100644 index 66a978f..0000000 --- a/src/node_modules/lodash/fp/isNaN.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isNaN', require('../isNaN'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isNative.js b/src/node_modules/lodash/fp/isNative.js deleted file mode 100644 index 3d775ba..0000000 --- a/src/node_modules/lodash/fp/isNative.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isNative', require('../isNative'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isNil.js b/src/node_modules/lodash/fp/isNil.js deleted file mode 100644 index 5952c02..0000000 --- a/src/node_modules/lodash/fp/isNil.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isNil', require('../isNil'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isNull.js b/src/node_modules/lodash/fp/isNull.js deleted file mode 100644 index f201a35..0000000 --- a/src/node_modules/lodash/fp/isNull.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isNull', require('../isNull'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isNumber.js b/src/node_modules/lodash/fp/isNumber.js deleted file mode 100644 index a2b5fa0..0000000 --- a/src/node_modules/lodash/fp/isNumber.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isNumber', require('../isNumber'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isObject.js b/src/node_modules/lodash/fp/isObject.js deleted file mode 100644 index 231ace0..0000000 --- a/src/node_modules/lodash/fp/isObject.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isObject', require('../isObject'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isObjectLike.js b/src/node_modules/lodash/fp/isObjectLike.js deleted file mode 100644 index f16082e..0000000 --- a/src/node_modules/lodash/fp/isObjectLike.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isObjectLike', require('../isObjectLike'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isPlainObject.js b/src/node_modules/lodash/fp/isPlainObject.js deleted file mode 100644 index b5bea90..0000000 --- a/src/node_modules/lodash/fp/isPlainObject.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isPlainObject', require('../isPlainObject'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isRegExp.js b/src/node_modules/lodash/fp/isRegExp.js deleted file mode 100644 index 12a1a3d..0000000 --- a/src/node_modules/lodash/fp/isRegExp.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isRegExp', require('../isRegExp'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isSafeInteger.js b/src/node_modules/lodash/fp/isSafeInteger.js deleted file mode 100644 index 7230f55..0000000 --- a/src/node_modules/lodash/fp/isSafeInteger.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isSafeInteger', require('../isSafeInteger'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isSet.js b/src/node_modules/lodash/fp/isSet.js deleted file mode 100644 index 35c01f6..0000000 --- a/src/node_modules/lodash/fp/isSet.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isSet', require('../isSet'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isString.js b/src/node_modules/lodash/fp/isString.js deleted file mode 100644 index 1fd0679..0000000 --- a/src/node_modules/lodash/fp/isString.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isString', require('../isString'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isSymbol.js b/src/node_modules/lodash/fp/isSymbol.js deleted file mode 100644 index 3867695..0000000 --- a/src/node_modules/lodash/fp/isSymbol.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isSymbol', require('../isSymbol'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isTypedArray.js b/src/node_modules/lodash/fp/isTypedArray.js deleted file mode 100644 index 8567953..0000000 --- a/src/node_modules/lodash/fp/isTypedArray.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isTypedArray', require('../isTypedArray'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isUndefined.js b/src/node_modules/lodash/fp/isUndefined.js deleted file mode 100644 index ddbca31..0000000 --- a/src/node_modules/lodash/fp/isUndefined.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isUndefined', require('../isUndefined'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isWeakMap.js b/src/node_modules/lodash/fp/isWeakMap.js deleted file mode 100644 index ef60c61..0000000 --- a/src/node_modules/lodash/fp/isWeakMap.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isWeakMap', require('../isWeakMap'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/isWeakSet.js b/src/node_modules/lodash/fp/isWeakSet.js deleted file mode 100644 index c99bfaa..0000000 --- a/src/node_modules/lodash/fp/isWeakSet.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('isWeakSet', require('../isWeakSet'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/iteratee.js b/src/node_modules/lodash/fp/iteratee.js deleted file mode 100644 index 9f0f717..0000000 --- a/src/node_modules/lodash/fp/iteratee.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('iteratee', require('../iteratee')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/join.js b/src/node_modules/lodash/fp/join.js deleted file mode 100644 index a220e00..0000000 --- a/src/node_modules/lodash/fp/join.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('join', require('../join')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/juxt.js b/src/node_modules/lodash/fp/juxt.js deleted file mode 100644 index f71e04e..0000000 --- a/src/node_modules/lodash/fp/juxt.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./over'); diff --git a/src/node_modules/lodash/fp/kebabCase.js b/src/node_modules/lodash/fp/kebabCase.js deleted file mode 100644 index 60737f1..0000000 --- a/src/node_modules/lodash/fp/kebabCase.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('kebabCase', require('../kebabCase'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/keyBy.js b/src/node_modules/lodash/fp/keyBy.js deleted file mode 100644 index 9a6a85d..0000000 --- a/src/node_modules/lodash/fp/keyBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('keyBy', require('../keyBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/keys.js b/src/node_modules/lodash/fp/keys.js deleted file mode 100644 index e12bb07..0000000 --- a/src/node_modules/lodash/fp/keys.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('keys', require('../keys'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/keysIn.js b/src/node_modules/lodash/fp/keysIn.js deleted file mode 100644 index f3eb36a..0000000 --- a/src/node_modules/lodash/fp/keysIn.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('keysIn', require('../keysIn'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/lang.js b/src/node_modules/lodash/fp/lang.js deleted file mode 100644 index 08cc9c1..0000000 --- a/src/node_modules/lodash/fp/lang.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../lang')); diff --git a/src/node_modules/lodash/fp/last.js b/src/node_modules/lodash/fp/last.js deleted file mode 100644 index 0f71699..0000000 --- a/src/node_modules/lodash/fp/last.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('last', require('../last'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/lastIndexOf.js b/src/node_modules/lodash/fp/lastIndexOf.js deleted file mode 100644 index ddf39c3..0000000 --- a/src/node_modules/lodash/fp/lastIndexOf.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('lastIndexOf', require('../lastIndexOf')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/lastIndexOfFrom.js b/src/node_modules/lodash/fp/lastIndexOfFrom.js deleted file mode 100644 index 1ff6a0b..0000000 --- a/src/node_modules/lodash/fp/lastIndexOfFrom.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('lastIndexOfFrom', require('../lastIndexOf')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/lowerCase.js b/src/node_modules/lodash/fp/lowerCase.js deleted file mode 100644 index ea64bc1..0000000 --- a/src/node_modules/lodash/fp/lowerCase.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('lowerCase', require('../lowerCase'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/lowerFirst.js b/src/node_modules/lodash/fp/lowerFirst.js deleted file mode 100644 index 539720a..0000000 --- a/src/node_modules/lodash/fp/lowerFirst.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('lowerFirst', require('../lowerFirst'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/lt.js b/src/node_modules/lodash/fp/lt.js deleted file mode 100644 index a31d21e..0000000 --- a/src/node_modules/lodash/fp/lt.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('lt', require('../lt')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/lte.js b/src/node_modules/lodash/fp/lte.js deleted file mode 100644 index d795d10..0000000 --- a/src/node_modules/lodash/fp/lte.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('lte', require('../lte')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/map.js b/src/node_modules/lodash/fp/map.js deleted file mode 100644 index cf98794..0000000 --- a/src/node_modules/lodash/fp/map.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('map', require('../map')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/mapKeys.js b/src/node_modules/lodash/fp/mapKeys.js deleted file mode 100644 index 1684587..0000000 --- a/src/node_modules/lodash/fp/mapKeys.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('mapKeys', require('../mapKeys')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/mapValues.js b/src/node_modules/lodash/fp/mapValues.js deleted file mode 100644 index 4004972..0000000 --- a/src/node_modules/lodash/fp/mapValues.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('mapValues', require('../mapValues')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/matches.js b/src/node_modules/lodash/fp/matches.js deleted file mode 100644 index 29d1e1e..0000000 --- a/src/node_modules/lodash/fp/matches.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./isMatch'); diff --git a/src/node_modules/lodash/fp/matchesProperty.js b/src/node_modules/lodash/fp/matchesProperty.js deleted file mode 100644 index 4575bd2..0000000 --- a/src/node_modules/lodash/fp/matchesProperty.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('matchesProperty', require('../matchesProperty')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/math.js b/src/node_modules/lodash/fp/math.js deleted file mode 100644 index e8f50f7..0000000 --- a/src/node_modules/lodash/fp/math.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../math')); diff --git a/src/node_modules/lodash/fp/max.js b/src/node_modules/lodash/fp/max.js deleted file mode 100644 index a66acac..0000000 --- a/src/node_modules/lodash/fp/max.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('max', require('../max'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/maxBy.js b/src/node_modules/lodash/fp/maxBy.js deleted file mode 100644 index d083fd6..0000000 --- a/src/node_modules/lodash/fp/maxBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('maxBy', require('../maxBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/mean.js b/src/node_modules/lodash/fp/mean.js deleted file mode 100644 index 3117246..0000000 --- a/src/node_modules/lodash/fp/mean.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('mean', require('../mean'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/meanBy.js b/src/node_modules/lodash/fp/meanBy.js deleted file mode 100644 index 556f25e..0000000 --- a/src/node_modules/lodash/fp/meanBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('meanBy', require('../meanBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/memoize.js b/src/node_modules/lodash/fp/memoize.js deleted file mode 100644 index 638eec6..0000000 --- a/src/node_modules/lodash/fp/memoize.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('memoize', require('../memoize')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/merge.js b/src/node_modules/lodash/fp/merge.js deleted file mode 100644 index ac66add..0000000 --- a/src/node_modules/lodash/fp/merge.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('merge', require('../merge')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/mergeAll.js b/src/node_modules/lodash/fp/mergeAll.js deleted file mode 100644 index a3674d6..0000000 --- a/src/node_modules/lodash/fp/mergeAll.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('mergeAll', require('../merge')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/mergeAllWith.js b/src/node_modules/lodash/fp/mergeAllWith.js deleted file mode 100644 index 4bd4206..0000000 --- a/src/node_modules/lodash/fp/mergeAllWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('mergeAllWith', require('../mergeWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/mergeWith.js b/src/node_modules/lodash/fp/mergeWith.js deleted file mode 100644 index 00d44d5..0000000 --- a/src/node_modules/lodash/fp/mergeWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('mergeWith', require('../mergeWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/method.js b/src/node_modules/lodash/fp/method.js deleted file mode 100644 index f4060c6..0000000 --- a/src/node_modules/lodash/fp/method.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('method', require('../method')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/methodOf.js b/src/node_modules/lodash/fp/methodOf.js deleted file mode 100644 index 6139905..0000000 --- a/src/node_modules/lodash/fp/methodOf.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('methodOf', require('../methodOf')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/min.js b/src/node_modules/lodash/fp/min.js deleted file mode 100644 index d12c6b4..0000000 --- a/src/node_modules/lodash/fp/min.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('min', require('../min'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/minBy.js b/src/node_modules/lodash/fp/minBy.js deleted file mode 100644 index fdb9e24..0000000 --- a/src/node_modules/lodash/fp/minBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('minBy', require('../minBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/mixin.js b/src/node_modules/lodash/fp/mixin.js deleted file mode 100644 index 332e6fb..0000000 --- a/src/node_modules/lodash/fp/mixin.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('mixin', require('../mixin')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/multiply.js b/src/node_modules/lodash/fp/multiply.js deleted file mode 100644 index 4dcf0b0..0000000 --- a/src/node_modules/lodash/fp/multiply.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('multiply', require('../multiply')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/nAry.js b/src/node_modules/lodash/fp/nAry.js deleted file mode 100644 index f262a76..0000000 --- a/src/node_modules/lodash/fp/nAry.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./ary'); diff --git a/src/node_modules/lodash/fp/negate.js b/src/node_modules/lodash/fp/negate.js deleted file mode 100644 index 8b6dc7c..0000000 --- a/src/node_modules/lodash/fp/negate.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('negate', require('../negate'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/next.js b/src/node_modules/lodash/fp/next.js deleted file mode 100644 index 140155e..0000000 --- a/src/node_modules/lodash/fp/next.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('next', require('../next'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/noop.js b/src/node_modules/lodash/fp/noop.js deleted file mode 100644 index b9e32cc..0000000 --- a/src/node_modules/lodash/fp/noop.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('noop', require('../noop'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/now.js b/src/node_modules/lodash/fp/now.js deleted file mode 100644 index 6de2068..0000000 --- a/src/node_modules/lodash/fp/now.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('now', require('../now'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/nth.js b/src/node_modules/lodash/fp/nth.js deleted file mode 100644 index da4fda7..0000000 --- a/src/node_modules/lodash/fp/nth.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('nth', require('../nth')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/nthArg.js b/src/node_modules/lodash/fp/nthArg.js deleted file mode 100644 index fce3165..0000000 --- a/src/node_modules/lodash/fp/nthArg.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('nthArg', require('../nthArg')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/number.js b/src/node_modules/lodash/fp/number.js deleted file mode 100644 index 5c10b88..0000000 --- a/src/node_modules/lodash/fp/number.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../number')); diff --git a/src/node_modules/lodash/fp/object.js b/src/node_modules/lodash/fp/object.js deleted file mode 100644 index ae39a13..0000000 --- a/src/node_modules/lodash/fp/object.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../object')); diff --git a/src/node_modules/lodash/fp/omit.js b/src/node_modules/lodash/fp/omit.js deleted file mode 100644 index fd68529..0000000 --- a/src/node_modules/lodash/fp/omit.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('omit', require('../omit')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/omitAll.js b/src/node_modules/lodash/fp/omitAll.js deleted file mode 100644 index 144cf4b..0000000 --- a/src/node_modules/lodash/fp/omitAll.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./omit'); diff --git a/src/node_modules/lodash/fp/omitBy.js b/src/node_modules/lodash/fp/omitBy.js deleted file mode 100644 index 90df738..0000000 --- a/src/node_modules/lodash/fp/omitBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('omitBy', require('../omitBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/once.js b/src/node_modules/lodash/fp/once.js deleted file mode 100644 index f8f0a5c..0000000 --- a/src/node_modules/lodash/fp/once.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('once', require('../once'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/orderBy.js b/src/node_modules/lodash/fp/orderBy.js deleted file mode 100644 index 848e210..0000000 --- a/src/node_modules/lodash/fp/orderBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('orderBy', require('../orderBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/over.js b/src/node_modules/lodash/fp/over.js deleted file mode 100644 index 01eba7b..0000000 --- a/src/node_modules/lodash/fp/over.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('over', require('../over')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/overArgs.js b/src/node_modules/lodash/fp/overArgs.js deleted file mode 100644 index 738556f..0000000 --- a/src/node_modules/lodash/fp/overArgs.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('overArgs', require('../overArgs')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/overEvery.js b/src/node_modules/lodash/fp/overEvery.js deleted file mode 100644 index 9f5a032..0000000 --- a/src/node_modules/lodash/fp/overEvery.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('overEvery', require('../overEvery')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/overSome.js b/src/node_modules/lodash/fp/overSome.js deleted file mode 100644 index 15939d5..0000000 --- a/src/node_modules/lodash/fp/overSome.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('overSome', require('../overSome')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/pad.js b/src/node_modules/lodash/fp/pad.js deleted file mode 100644 index f1dea4a..0000000 --- a/src/node_modules/lodash/fp/pad.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('pad', require('../pad')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/padChars.js b/src/node_modules/lodash/fp/padChars.js deleted file mode 100644 index d6e0804..0000000 --- a/src/node_modules/lodash/fp/padChars.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('padChars', require('../pad')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/padCharsEnd.js b/src/node_modules/lodash/fp/padCharsEnd.js deleted file mode 100644 index d4ab79a..0000000 --- a/src/node_modules/lodash/fp/padCharsEnd.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('padCharsEnd', require('../padEnd')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/padCharsStart.js b/src/node_modules/lodash/fp/padCharsStart.js deleted file mode 100644 index a08a300..0000000 --- a/src/node_modules/lodash/fp/padCharsStart.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('padCharsStart', require('../padStart')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/padEnd.js b/src/node_modules/lodash/fp/padEnd.js deleted file mode 100644 index a8522ec..0000000 --- a/src/node_modules/lodash/fp/padEnd.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('padEnd', require('../padEnd')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/padStart.js b/src/node_modules/lodash/fp/padStart.js deleted file mode 100644 index f4ca79d..0000000 --- a/src/node_modules/lodash/fp/padStart.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('padStart', require('../padStart')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/parseInt.js b/src/node_modules/lodash/fp/parseInt.js deleted file mode 100644 index 27314cc..0000000 --- a/src/node_modules/lodash/fp/parseInt.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('parseInt', require('../parseInt')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/partial.js b/src/node_modules/lodash/fp/partial.js deleted file mode 100644 index 5d46015..0000000 --- a/src/node_modules/lodash/fp/partial.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('partial', require('../partial')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/partialRight.js b/src/node_modules/lodash/fp/partialRight.js deleted file mode 100644 index 7f05fed..0000000 --- a/src/node_modules/lodash/fp/partialRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('partialRight', require('../partialRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/partition.js b/src/node_modules/lodash/fp/partition.js deleted file mode 100644 index 2ebcacc..0000000 --- a/src/node_modules/lodash/fp/partition.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('partition', require('../partition')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/path.js b/src/node_modules/lodash/fp/path.js deleted file mode 100644 index b29cfb2..0000000 --- a/src/node_modules/lodash/fp/path.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./get'); diff --git a/src/node_modules/lodash/fp/pathEq.js b/src/node_modules/lodash/fp/pathEq.js deleted file mode 100644 index 36c027a..0000000 --- a/src/node_modules/lodash/fp/pathEq.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./matchesProperty'); diff --git a/src/node_modules/lodash/fp/pathOr.js b/src/node_modules/lodash/fp/pathOr.js deleted file mode 100644 index 4ab5820..0000000 --- a/src/node_modules/lodash/fp/pathOr.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./getOr'); diff --git a/src/node_modules/lodash/fp/paths.js b/src/node_modules/lodash/fp/paths.js deleted file mode 100644 index 1eb7950..0000000 --- a/src/node_modules/lodash/fp/paths.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./at'); diff --git a/src/node_modules/lodash/fp/pick.js b/src/node_modules/lodash/fp/pick.js deleted file mode 100644 index 197393d..0000000 --- a/src/node_modules/lodash/fp/pick.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('pick', require('../pick')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/pickAll.js b/src/node_modules/lodash/fp/pickAll.js deleted file mode 100644 index a8ecd46..0000000 --- a/src/node_modules/lodash/fp/pickAll.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./pick'); diff --git a/src/node_modules/lodash/fp/pickBy.js b/src/node_modules/lodash/fp/pickBy.js deleted file mode 100644 index d832d16..0000000 --- a/src/node_modules/lodash/fp/pickBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('pickBy', require('../pickBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/pipe.js b/src/node_modules/lodash/fp/pipe.js deleted file mode 100644 index b2e1e2c..0000000 --- a/src/node_modules/lodash/fp/pipe.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./flow'); diff --git a/src/node_modules/lodash/fp/placeholder.js b/src/node_modules/lodash/fp/placeholder.js deleted file mode 100644 index 1ce1739..0000000 --- a/src/node_modules/lodash/fp/placeholder.js +++ /dev/null @@ -1,6 +0,0 @@ -/** - * The default argument placeholder value for methods. - * - * @type {Object} - */ -module.exports = {}; diff --git a/src/node_modules/lodash/fp/plant.js b/src/node_modules/lodash/fp/plant.js deleted file mode 100644 index eca8f32..0000000 --- a/src/node_modules/lodash/fp/plant.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('plant', require('../plant'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/pluck.js b/src/node_modules/lodash/fp/pluck.js deleted file mode 100644 index 0d1e1ab..0000000 --- a/src/node_modules/lodash/fp/pluck.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./map'); diff --git a/src/node_modules/lodash/fp/prop.js b/src/node_modules/lodash/fp/prop.js deleted file mode 100644 index b29cfb2..0000000 --- a/src/node_modules/lodash/fp/prop.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./get'); diff --git a/src/node_modules/lodash/fp/propEq.js b/src/node_modules/lodash/fp/propEq.js deleted file mode 100644 index 36c027a..0000000 --- a/src/node_modules/lodash/fp/propEq.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./matchesProperty'); diff --git a/src/node_modules/lodash/fp/propOr.js b/src/node_modules/lodash/fp/propOr.js deleted file mode 100644 index 4ab5820..0000000 --- a/src/node_modules/lodash/fp/propOr.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./getOr'); diff --git a/src/node_modules/lodash/fp/property.js b/src/node_modules/lodash/fp/property.js deleted file mode 100644 index b29cfb2..0000000 --- a/src/node_modules/lodash/fp/property.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./get'); diff --git a/src/node_modules/lodash/fp/propertyOf.js b/src/node_modules/lodash/fp/propertyOf.js deleted file mode 100644 index f6273ee..0000000 --- a/src/node_modules/lodash/fp/propertyOf.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('propertyOf', require('../get')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/props.js b/src/node_modules/lodash/fp/props.js deleted file mode 100644 index 1eb7950..0000000 --- a/src/node_modules/lodash/fp/props.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./at'); diff --git a/src/node_modules/lodash/fp/pull.js b/src/node_modules/lodash/fp/pull.js deleted file mode 100644 index 8d7084f..0000000 --- a/src/node_modules/lodash/fp/pull.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('pull', require('../pull')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/pullAll.js b/src/node_modules/lodash/fp/pullAll.js deleted file mode 100644 index 98d5c9a..0000000 --- a/src/node_modules/lodash/fp/pullAll.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('pullAll', require('../pullAll')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/pullAllBy.js b/src/node_modules/lodash/fp/pullAllBy.js deleted file mode 100644 index 876bc3b..0000000 --- a/src/node_modules/lodash/fp/pullAllBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('pullAllBy', require('../pullAllBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/pullAllWith.js b/src/node_modules/lodash/fp/pullAllWith.js deleted file mode 100644 index f71ba4d..0000000 --- a/src/node_modules/lodash/fp/pullAllWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('pullAllWith', require('../pullAllWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/pullAt.js b/src/node_modules/lodash/fp/pullAt.js deleted file mode 100644 index e8b3bb6..0000000 --- a/src/node_modules/lodash/fp/pullAt.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('pullAt', require('../pullAt')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/random.js b/src/node_modules/lodash/fp/random.js deleted file mode 100644 index 99d852e..0000000 --- a/src/node_modules/lodash/fp/random.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('random', require('../random')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/range.js b/src/node_modules/lodash/fp/range.js deleted file mode 100644 index a6bb591..0000000 --- a/src/node_modules/lodash/fp/range.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('range', require('../range')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/rangeRight.js b/src/node_modules/lodash/fp/rangeRight.js deleted file mode 100644 index fdb712f..0000000 --- a/src/node_modules/lodash/fp/rangeRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('rangeRight', require('../rangeRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/rangeStep.js b/src/node_modules/lodash/fp/rangeStep.js deleted file mode 100644 index d72dfc2..0000000 --- a/src/node_modules/lodash/fp/rangeStep.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('rangeStep', require('../range')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/rangeStepRight.js b/src/node_modules/lodash/fp/rangeStepRight.js deleted file mode 100644 index 8b2a67b..0000000 --- a/src/node_modules/lodash/fp/rangeStepRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('rangeStepRight', require('../rangeRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/rearg.js b/src/node_modules/lodash/fp/rearg.js deleted file mode 100644 index 678e02a..0000000 --- a/src/node_modules/lodash/fp/rearg.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('rearg', require('../rearg')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/reduce.js b/src/node_modules/lodash/fp/reduce.js deleted file mode 100644 index 4cef0a0..0000000 --- a/src/node_modules/lodash/fp/reduce.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('reduce', require('../reduce')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/reduceRight.js b/src/node_modules/lodash/fp/reduceRight.js deleted file mode 100644 index caf5bb5..0000000 --- a/src/node_modules/lodash/fp/reduceRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('reduceRight', require('../reduceRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/reject.js b/src/node_modules/lodash/fp/reject.js deleted file mode 100644 index c163273..0000000 --- a/src/node_modules/lodash/fp/reject.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('reject', require('../reject')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/remove.js b/src/node_modules/lodash/fp/remove.js deleted file mode 100644 index e9d1327..0000000 --- a/src/node_modules/lodash/fp/remove.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('remove', require('../remove')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/repeat.js b/src/node_modules/lodash/fp/repeat.js deleted file mode 100644 index 08470f2..0000000 --- a/src/node_modules/lodash/fp/repeat.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('repeat', require('../repeat')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/replace.js b/src/node_modules/lodash/fp/replace.js deleted file mode 100644 index 2227db6..0000000 --- a/src/node_modules/lodash/fp/replace.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('replace', require('../replace')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/rest.js b/src/node_modules/lodash/fp/rest.js deleted file mode 100644 index c1f3d64..0000000 --- a/src/node_modules/lodash/fp/rest.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('rest', require('../rest')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/restFrom.js b/src/node_modules/lodash/fp/restFrom.js deleted file mode 100644 index 714e42b..0000000 --- a/src/node_modules/lodash/fp/restFrom.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('restFrom', require('../rest')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/result.js b/src/node_modules/lodash/fp/result.js deleted file mode 100644 index f86ce07..0000000 --- a/src/node_modules/lodash/fp/result.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('result', require('../result')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/reverse.js b/src/node_modules/lodash/fp/reverse.js deleted file mode 100644 index 07c9f5e..0000000 --- a/src/node_modules/lodash/fp/reverse.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('reverse', require('../reverse')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/round.js b/src/node_modules/lodash/fp/round.js deleted file mode 100644 index 4c0e5c8..0000000 --- a/src/node_modules/lodash/fp/round.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('round', require('../round')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sample.js b/src/node_modules/lodash/fp/sample.js deleted file mode 100644 index 6bea125..0000000 --- a/src/node_modules/lodash/fp/sample.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sample', require('../sample'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sampleSize.js b/src/node_modules/lodash/fp/sampleSize.js deleted file mode 100644 index 359ed6f..0000000 --- a/src/node_modules/lodash/fp/sampleSize.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sampleSize', require('../sampleSize')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/seq.js b/src/node_modules/lodash/fp/seq.js deleted file mode 100644 index d8f42b0..0000000 --- a/src/node_modules/lodash/fp/seq.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../seq')); diff --git a/src/node_modules/lodash/fp/set.js b/src/node_modules/lodash/fp/set.js deleted file mode 100644 index 0b56a56..0000000 --- a/src/node_modules/lodash/fp/set.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('set', require('../set')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/setWith.js b/src/node_modules/lodash/fp/setWith.js deleted file mode 100644 index 0b58495..0000000 --- a/src/node_modules/lodash/fp/setWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('setWith', require('../setWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/shuffle.js b/src/node_modules/lodash/fp/shuffle.js deleted file mode 100644 index aa3a1ca..0000000 --- a/src/node_modules/lodash/fp/shuffle.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('shuffle', require('../shuffle'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/size.js b/src/node_modules/lodash/fp/size.js deleted file mode 100644 index 7490136..0000000 --- a/src/node_modules/lodash/fp/size.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('size', require('../size'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/slice.js b/src/node_modules/lodash/fp/slice.js deleted file mode 100644 index 15945d3..0000000 --- a/src/node_modules/lodash/fp/slice.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('slice', require('../slice')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/snakeCase.js b/src/node_modules/lodash/fp/snakeCase.js deleted file mode 100644 index a0ff780..0000000 --- a/src/node_modules/lodash/fp/snakeCase.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('snakeCase', require('../snakeCase'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/some.js b/src/node_modules/lodash/fp/some.js deleted file mode 100644 index a4fa2d0..0000000 --- a/src/node_modules/lodash/fp/some.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('some', require('../some')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sortBy.js b/src/node_modules/lodash/fp/sortBy.js deleted file mode 100644 index e0790ad..0000000 --- a/src/node_modules/lodash/fp/sortBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sortBy', require('../sortBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sortedIndex.js b/src/node_modules/lodash/fp/sortedIndex.js deleted file mode 100644 index 364a054..0000000 --- a/src/node_modules/lodash/fp/sortedIndex.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sortedIndex', require('../sortedIndex')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sortedIndexBy.js b/src/node_modules/lodash/fp/sortedIndexBy.js deleted file mode 100644 index 9593dbd..0000000 --- a/src/node_modules/lodash/fp/sortedIndexBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sortedIndexBy', require('../sortedIndexBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sortedIndexOf.js b/src/node_modules/lodash/fp/sortedIndexOf.js deleted file mode 100644 index c9084ca..0000000 --- a/src/node_modules/lodash/fp/sortedIndexOf.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sortedIndexOf', require('../sortedIndexOf')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sortedLastIndex.js b/src/node_modules/lodash/fp/sortedLastIndex.js deleted file mode 100644 index 47fe241..0000000 --- a/src/node_modules/lodash/fp/sortedLastIndex.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sortedLastIndex', require('../sortedLastIndex')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sortedLastIndexBy.js b/src/node_modules/lodash/fp/sortedLastIndexBy.js deleted file mode 100644 index 0f9a347..0000000 --- a/src/node_modules/lodash/fp/sortedLastIndexBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sortedLastIndexBy', require('../sortedLastIndexBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sortedLastIndexOf.js b/src/node_modules/lodash/fp/sortedLastIndexOf.js deleted file mode 100644 index 0d4d932..0000000 --- a/src/node_modules/lodash/fp/sortedLastIndexOf.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sortedLastIndexOf', require('../sortedLastIndexOf')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sortedUniq.js b/src/node_modules/lodash/fp/sortedUniq.js deleted file mode 100644 index 882d283..0000000 --- a/src/node_modules/lodash/fp/sortedUniq.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sortedUniq', require('../sortedUniq'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sortedUniqBy.js b/src/node_modules/lodash/fp/sortedUniqBy.js deleted file mode 100644 index 033db91..0000000 --- a/src/node_modules/lodash/fp/sortedUniqBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sortedUniqBy', require('../sortedUniqBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/split.js b/src/node_modules/lodash/fp/split.js deleted file mode 100644 index 14de1a7..0000000 --- a/src/node_modules/lodash/fp/split.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('split', require('../split')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/spread.js b/src/node_modules/lodash/fp/spread.js deleted file mode 100644 index 2d11b70..0000000 --- a/src/node_modules/lodash/fp/spread.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('spread', require('../spread')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/spreadFrom.js b/src/node_modules/lodash/fp/spreadFrom.js deleted file mode 100644 index 0b630df..0000000 --- a/src/node_modules/lodash/fp/spreadFrom.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('spreadFrom', require('../spread')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/startCase.js b/src/node_modules/lodash/fp/startCase.js deleted file mode 100644 index ada98c9..0000000 --- a/src/node_modules/lodash/fp/startCase.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('startCase', require('../startCase'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/startsWith.js b/src/node_modules/lodash/fp/startsWith.js deleted file mode 100644 index 985e2f2..0000000 --- a/src/node_modules/lodash/fp/startsWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('startsWith', require('../startsWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/string.js b/src/node_modules/lodash/fp/string.js deleted file mode 100644 index 773b037..0000000 --- a/src/node_modules/lodash/fp/string.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../string')); diff --git a/src/node_modules/lodash/fp/stubArray.js b/src/node_modules/lodash/fp/stubArray.js deleted file mode 100644 index cd604cb..0000000 --- a/src/node_modules/lodash/fp/stubArray.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('stubArray', require('../stubArray'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/stubFalse.js b/src/node_modules/lodash/fp/stubFalse.js deleted file mode 100644 index 3296664..0000000 --- a/src/node_modules/lodash/fp/stubFalse.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('stubFalse', require('../stubFalse'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/stubObject.js b/src/node_modules/lodash/fp/stubObject.js deleted file mode 100644 index c6c8ec4..0000000 --- a/src/node_modules/lodash/fp/stubObject.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('stubObject', require('../stubObject'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/stubString.js b/src/node_modules/lodash/fp/stubString.js deleted file mode 100644 index 701051e..0000000 --- a/src/node_modules/lodash/fp/stubString.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('stubString', require('../stubString'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/stubTrue.js b/src/node_modules/lodash/fp/stubTrue.js deleted file mode 100644 index 9249082..0000000 --- a/src/node_modules/lodash/fp/stubTrue.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('stubTrue', require('../stubTrue'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/subtract.js b/src/node_modules/lodash/fp/subtract.js deleted file mode 100644 index d32b16d..0000000 --- a/src/node_modules/lodash/fp/subtract.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('subtract', require('../subtract')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sum.js b/src/node_modules/lodash/fp/sum.js deleted file mode 100644 index 5cce12b..0000000 --- a/src/node_modules/lodash/fp/sum.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sum', require('../sum'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/sumBy.js b/src/node_modules/lodash/fp/sumBy.js deleted file mode 100644 index c882656..0000000 --- a/src/node_modules/lodash/fp/sumBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('sumBy', require('../sumBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/symmetricDifference.js b/src/node_modules/lodash/fp/symmetricDifference.js deleted file mode 100644 index 78c16ad..0000000 --- a/src/node_modules/lodash/fp/symmetricDifference.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./xor'); diff --git a/src/node_modules/lodash/fp/symmetricDifferenceBy.js b/src/node_modules/lodash/fp/symmetricDifferenceBy.js deleted file mode 100644 index 298fc7f..0000000 --- a/src/node_modules/lodash/fp/symmetricDifferenceBy.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./xorBy'); diff --git a/src/node_modules/lodash/fp/symmetricDifferenceWith.js b/src/node_modules/lodash/fp/symmetricDifferenceWith.js deleted file mode 100644 index 70bc6fa..0000000 --- a/src/node_modules/lodash/fp/symmetricDifferenceWith.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./xorWith'); diff --git a/src/node_modules/lodash/fp/tail.js b/src/node_modules/lodash/fp/tail.js deleted file mode 100644 index f122f0a..0000000 --- a/src/node_modules/lodash/fp/tail.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('tail', require('../tail'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/take.js b/src/node_modules/lodash/fp/take.js deleted file mode 100644 index 9af98a7..0000000 --- a/src/node_modules/lodash/fp/take.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('take', require('../take')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/takeLast.js b/src/node_modules/lodash/fp/takeLast.js deleted file mode 100644 index e98c84a..0000000 --- a/src/node_modules/lodash/fp/takeLast.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./takeRight'); diff --git a/src/node_modules/lodash/fp/takeLastWhile.js b/src/node_modules/lodash/fp/takeLastWhile.js deleted file mode 100644 index 5367968..0000000 --- a/src/node_modules/lodash/fp/takeLastWhile.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./takeRightWhile'); diff --git a/src/node_modules/lodash/fp/takeRight.js b/src/node_modules/lodash/fp/takeRight.js deleted file mode 100644 index b82950a..0000000 --- a/src/node_modules/lodash/fp/takeRight.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('takeRight', require('../takeRight')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/takeRightWhile.js b/src/node_modules/lodash/fp/takeRightWhile.js deleted file mode 100644 index 8ffb0a2..0000000 --- a/src/node_modules/lodash/fp/takeRightWhile.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('takeRightWhile', require('../takeRightWhile')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/takeWhile.js b/src/node_modules/lodash/fp/takeWhile.js deleted file mode 100644 index 2813664..0000000 --- a/src/node_modules/lodash/fp/takeWhile.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('takeWhile', require('../takeWhile')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/tap.js b/src/node_modules/lodash/fp/tap.js deleted file mode 100644 index d33ad6e..0000000 --- a/src/node_modules/lodash/fp/tap.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('tap', require('../tap')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/template.js b/src/node_modules/lodash/fp/template.js deleted file mode 100644 index 74857e1..0000000 --- a/src/node_modules/lodash/fp/template.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('template', require('../template')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/templateSettings.js b/src/node_modules/lodash/fp/templateSettings.js deleted file mode 100644 index 7bcc0a8..0000000 --- a/src/node_modules/lodash/fp/templateSettings.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('templateSettings', require('../templateSettings'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/throttle.js b/src/node_modules/lodash/fp/throttle.js deleted file mode 100644 index 77fff14..0000000 --- a/src/node_modules/lodash/fp/throttle.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('throttle', require('../throttle')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/thru.js b/src/node_modules/lodash/fp/thru.js deleted file mode 100644 index d42b3b1..0000000 --- a/src/node_modules/lodash/fp/thru.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('thru', require('../thru')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/times.js b/src/node_modules/lodash/fp/times.js deleted file mode 100644 index 0dab06d..0000000 --- a/src/node_modules/lodash/fp/times.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('times', require('../times')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toArray.js b/src/node_modules/lodash/fp/toArray.js deleted file mode 100644 index f0c360a..0000000 --- a/src/node_modules/lodash/fp/toArray.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toArray', require('../toArray'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toFinite.js b/src/node_modules/lodash/fp/toFinite.js deleted file mode 100644 index 3a47687..0000000 --- a/src/node_modules/lodash/fp/toFinite.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toFinite', require('../toFinite'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toInteger.js b/src/node_modules/lodash/fp/toInteger.js deleted file mode 100644 index e0af6a7..0000000 --- a/src/node_modules/lodash/fp/toInteger.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toInteger', require('../toInteger'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toIterator.js b/src/node_modules/lodash/fp/toIterator.js deleted file mode 100644 index 65e6baa..0000000 --- a/src/node_modules/lodash/fp/toIterator.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toIterator', require('../toIterator'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toJSON.js b/src/node_modules/lodash/fp/toJSON.js deleted file mode 100644 index 2d718d0..0000000 --- a/src/node_modules/lodash/fp/toJSON.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toJSON', require('../toJSON'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toLength.js b/src/node_modules/lodash/fp/toLength.js deleted file mode 100644 index b97cdd9..0000000 --- a/src/node_modules/lodash/fp/toLength.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toLength', require('../toLength'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toLower.js b/src/node_modules/lodash/fp/toLower.js deleted file mode 100644 index 616ef36..0000000 --- a/src/node_modules/lodash/fp/toLower.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toLower', require('../toLower'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toNumber.js b/src/node_modules/lodash/fp/toNumber.js deleted file mode 100644 index d0c6f4d..0000000 --- a/src/node_modules/lodash/fp/toNumber.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toNumber', require('../toNumber'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toPairs.js b/src/node_modules/lodash/fp/toPairs.js deleted file mode 100644 index af78378..0000000 --- a/src/node_modules/lodash/fp/toPairs.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toPairs', require('../toPairs'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toPairsIn.js b/src/node_modules/lodash/fp/toPairsIn.js deleted file mode 100644 index 66504ab..0000000 --- a/src/node_modules/lodash/fp/toPairsIn.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toPairsIn', require('../toPairsIn'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toPath.js b/src/node_modules/lodash/fp/toPath.js deleted file mode 100644 index b4d5e50..0000000 --- a/src/node_modules/lodash/fp/toPath.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toPath', require('../toPath'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toPlainObject.js b/src/node_modules/lodash/fp/toPlainObject.js deleted file mode 100644 index 278bb86..0000000 --- a/src/node_modules/lodash/fp/toPlainObject.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toPlainObject', require('../toPlainObject'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toSafeInteger.js b/src/node_modules/lodash/fp/toSafeInteger.js deleted file mode 100644 index 367a26f..0000000 --- a/src/node_modules/lodash/fp/toSafeInteger.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toSafeInteger', require('../toSafeInteger'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toString.js b/src/node_modules/lodash/fp/toString.js deleted file mode 100644 index cec4f8e..0000000 --- a/src/node_modules/lodash/fp/toString.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toString', require('../toString'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/toUpper.js b/src/node_modules/lodash/fp/toUpper.js deleted file mode 100644 index 54f9a56..0000000 --- a/src/node_modules/lodash/fp/toUpper.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('toUpper', require('../toUpper'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/transform.js b/src/node_modules/lodash/fp/transform.js deleted file mode 100644 index 759d088..0000000 --- a/src/node_modules/lodash/fp/transform.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('transform', require('../transform')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/trim.js b/src/node_modules/lodash/fp/trim.js deleted file mode 100644 index e6319a7..0000000 --- a/src/node_modules/lodash/fp/trim.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('trim', require('../trim')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/trimChars.js b/src/node_modules/lodash/fp/trimChars.js deleted file mode 100644 index c9294de..0000000 --- a/src/node_modules/lodash/fp/trimChars.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('trimChars', require('../trim')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/trimCharsEnd.js b/src/node_modules/lodash/fp/trimCharsEnd.js deleted file mode 100644 index 284bc2f..0000000 --- a/src/node_modules/lodash/fp/trimCharsEnd.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('trimCharsEnd', require('../trimEnd')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/trimCharsStart.js b/src/node_modules/lodash/fp/trimCharsStart.js deleted file mode 100644 index ff0ee65..0000000 --- a/src/node_modules/lodash/fp/trimCharsStart.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('trimCharsStart', require('../trimStart')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/trimEnd.js b/src/node_modules/lodash/fp/trimEnd.js deleted file mode 100644 index 7190880..0000000 --- a/src/node_modules/lodash/fp/trimEnd.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('trimEnd', require('../trimEnd')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/trimStart.js b/src/node_modules/lodash/fp/trimStart.js deleted file mode 100644 index fda902c..0000000 --- a/src/node_modules/lodash/fp/trimStart.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('trimStart', require('../trimStart')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/truncate.js b/src/node_modules/lodash/fp/truncate.js deleted file mode 100644 index d265c1d..0000000 --- a/src/node_modules/lodash/fp/truncate.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('truncate', require('../truncate')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/unapply.js b/src/node_modules/lodash/fp/unapply.js deleted file mode 100644 index c5dfe77..0000000 --- a/src/node_modules/lodash/fp/unapply.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./rest'); diff --git a/src/node_modules/lodash/fp/unary.js b/src/node_modules/lodash/fp/unary.js deleted file mode 100644 index 286c945..0000000 --- a/src/node_modules/lodash/fp/unary.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('unary', require('../unary'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/unescape.js b/src/node_modules/lodash/fp/unescape.js deleted file mode 100644 index fddcb46..0000000 --- a/src/node_modules/lodash/fp/unescape.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('unescape', require('../unescape'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/union.js b/src/node_modules/lodash/fp/union.js deleted file mode 100644 index ef8228d..0000000 --- a/src/node_modules/lodash/fp/union.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('union', require('../union')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/unionBy.js b/src/node_modules/lodash/fp/unionBy.js deleted file mode 100644 index 603687a..0000000 --- a/src/node_modules/lodash/fp/unionBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('unionBy', require('../unionBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/unionWith.js b/src/node_modules/lodash/fp/unionWith.js deleted file mode 100644 index 65bb3a7..0000000 --- a/src/node_modules/lodash/fp/unionWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('unionWith', require('../unionWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/uniq.js b/src/node_modules/lodash/fp/uniq.js deleted file mode 100644 index bc18524..0000000 --- a/src/node_modules/lodash/fp/uniq.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('uniq', require('../uniq'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/uniqBy.js b/src/node_modules/lodash/fp/uniqBy.js deleted file mode 100644 index 634c6a8..0000000 --- a/src/node_modules/lodash/fp/uniqBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('uniqBy', require('../uniqBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/uniqWith.js b/src/node_modules/lodash/fp/uniqWith.js deleted file mode 100644 index 0ec601a..0000000 --- a/src/node_modules/lodash/fp/uniqWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('uniqWith', require('../uniqWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/uniqueId.js b/src/node_modules/lodash/fp/uniqueId.js deleted file mode 100644 index aa8fc2f..0000000 --- a/src/node_modules/lodash/fp/uniqueId.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('uniqueId', require('../uniqueId')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/unnest.js b/src/node_modules/lodash/fp/unnest.js deleted file mode 100644 index 5d34060..0000000 --- a/src/node_modules/lodash/fp/unnest.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./flatten'); diff --git a/src/node_modules/lodash/fp/unset.js b/src/node_modules/lodash/fp/unset.js deleted file mode 100644 index ea203a0..0000000 --- a/src/node_modules/lodash/fp/unset.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('unset', require('../unset')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/unzip.js b/src/node_modules/lodash/fp/unzip.js deleted file mode 100644 index cc364b3..0000000 --- a/src/node_modules/lodash/fp/unzip.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('unzip', require('../unzip'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/unzipWith.js b/src/node_modules/lodash/fp/unzipWith.js deleted file mode 100644 index 182eaa1..0000000 --- a/src/node_modules/lodash/fp/unzipWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('unzipWith', require('../unzipWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/update.js b/src/node_modules/lodash/fp/update.js deleted file mode 100644 index b8ce2cc..0000000 --- a/src/node_modules/lodash/fp/update.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('update', require('../update')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/updateWith.js b/src/node_modules/lodash/fp/updateWith.js deleted file mode 100644 index d5e8282..0000000 --- a/src/node_modules/lodash/fp/updateWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('updateWith', require('../updateWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/upperCase.js b/src/node_modules/lodash/fp/upperCase.js deleted file mode 100644 index c886f20..0000000 --- a/src/node_modules/lodash/fp/upperCase.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('upperCase', require('../upperCase'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/upperFirst.js b/src/node_modules/lodash/fp/upperFirst.js deleted file mode 100644 index d8c04df..0000000 --- a/src/node_modules/lodash/fp/upperFirst.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('upperFirst', require('../upperFirst'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/useWith.js b/src/node_modules/lodash/fp/useWith.js deleted file mode 100644 index d8b3df5..0000000 --- a/src/node_modules/lodash/fp/useWith.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./overArgs'); diff --git a/src/node_modules/lodash/fp/util.js b/src/node_modules/lodash/fp/util.js deleted file mode 100644 index 18c00ba..0000000 --- a/src/node_modules/lodash/fp/util.js +++ /dev/null @@ -1,2 +0,0 @@ -var convert = require('./convert'); -module.exports = convert(require('../util')); diff --git a/src/node_modules/lodash/fp/value.js b/src/node_modules/lodash/fp/value.js deleted file mode 100644 index 555eec7..0000000 --- a/src/node_modules/lodash/fp/value.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('value', require('../value'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/valueOf.js b/src/node_modules/lodash/fp/valueOf.js deleted file mode 100644 index f968807..0000000 --- a/src/node_modules/lodash/fp/valueOf.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('valueOf', require('../valueOf'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/values.js b/src/node_modules/lodash/fp/values.js deleted file mode 100644 index 2dfc561..0000000 --- a/src/node_modules/lodash/fp/values.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('values', require('../values'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/valuesIn.js b/src/node_modules/lodash/fp/valuesIn.js deleted file mode 100644 index a1b2bb8..0000000 --- a/src/node_modules/lodash/fp/valuesIn.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('valuesIn', require('../valuesIn'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/where.js b/src/node_modules/lodash/fp/where.js deleted file mode 100644 index 3247f64..0000000 --- a/src/node_modules/lodash/fp/where.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./conformsTo'); diff --git a/src/node_modules/lodash/fp/whereEq.js b/src/node_modules/lodash/fp/whereEq.js deleted file mode 100644 index 29d1e1e..0000000 --- a/src/node_modules/lodash/fp/whereEq.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./isMatch'); diff --git a/src/node_modules/lodash/fp/without.js b/src/node_modules/lodash/fp/without.js deleted file mode 100644 index bad9e12..0000000 --- a/src/node_modules/lodash/fp/without.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('without', require('../without')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/words.js b/src/node_modules/lodash/fp/words.js deleted file mode 100644 index 4a90141..0000000 --- a/src/node_modules/lodash/fp/words.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('words', require('../words')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/wrap.js b/src/node_modules/lodash/fp/wrap.js deleted file mode 100644 index e93bd8a..0000000 --- a/src/node_modules/lodash/fp/wrap.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('wrap', require('../wrap')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/wrapperAt.js b/src/node_modules/lodash/fp/wrapperAt.js deleted file mode 100644 index 8f0a310..0000000 --- a/src/node_modules/lodash/fp/wrapperAt.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('wrapperAt', require('../wrapperAt'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/wrapperChain.js b/src/node_modules/lodash/fp/wrapperChain.js deleted file mode 100644 index 2a48ea2..0000000 --- a/src/node_modules/lodash/fp/wrapperChain.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('wrapperChain', require('../wrapperChain'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/wrapperLodash.js b/src/node_modules/lodash/fp/wrapperLodash.js deleted file mode 100644 index a7162d0..0000000 --- a/src/node_modules/lodash/fp/wrapperLodash.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('wrapperLodash', require('../wrapperLodash'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/wrapperReverse.js b/src/node_modules/lodash/fp/wrapperReverse.js deleted file mode 100644 index e1481aa..0000000 --- a/src/node_modules/lodash/fp/wrapperReverse.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('wrapperReverse', require('../wrapperReverse'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/wrapperValue.js b/src/node_modules/lodash/fp/wrapperValue.js deleted file mode 100644 index 8eb9112..0000000 --- a/src/node_modules/lodash/fp/wrapperValue.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('wrapperValue', require('../wrapperValue'), require('./_falseOptions')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/xor.js b/src/node_modules/lodash/fp/xor.js deleted file mode 100644 index 29e2819..0000000 --- a/src/node_modules/lodash/fp/xor.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('xor', require('../xor')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/xorBy.js b/src/node_modules/lodash/fp/xorBy.js deleted file mode 100644 index b355686..0000000 --- a/src/node_modules/lodash/fp/xorBy.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('xorBy', require('../xorBy')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/xorWith.js b/src/node_modules/lodash/fp/xorWith.js deleted file mode 100644 index 8e05739..0000000 --- a/src/node_modules/lodash/fp/xorWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('xorWith', require('../xorWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/zip.js b/src/node_modules/lodash/fp/zip.js deleted file mode 100644 index 69e147a..0000000 --- a/src/node_modules/lodash/fp/zip.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('zip', require('../zip')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/zipAll.js b/src/node_modules/lodash/fp/zipAll.js deleted file mode 100644 index efa8ccb..0000000 --- a/src/node_modules/lodash/fp/zipAll.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('zipAll', require('../zip')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/zipObj.js b/src/node_modules/lodash/fp/zipObj.js deleted file mode 100644 index f4a3453..0000000 --- a/src/node_modules/lodash/fp/zipObj.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./zipObject'); diff --git a/src/node_modules/lodash/fp/zipObject.js b/src/node_modules/lodash/fp/zipObject.js deleted file mode 100644 index 462dbb6..0000000 --- a/src/node_modules/lodash/fp/zipObject.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('zipObject', require('../zipObject')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/zipObjectDeep.js b/src/node_modules/lodash/fp/zipObjectDeep.js deleted file mode 100644 index 53a5d33..0000000 --- a/src/node_modules/lodash/fp/zipObjectDeep.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('zipObjectDeep', require('../zipObjectDeep')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fp/zipWith.js b/src/node_modules/lodash/fp/zipWith.js deleted file mode 100644 index c5cf9e2..0000000 --- a/src/node_modules/lodash/fp/zipWith.js +++ /dev/null @@ -1,5 +0,0 @@ -var convert = require('./convert'), - func = convert('zipWith', require('../zipWith')); - -func.placeholder = require('./placeholder'); -module.exports = func; diff --git a/src/node_modules/lodash/fromPairs.js b/src/node_modules/lodash/fromPairs.js deleted file mode 100644 index ee7940d..0000000 --- a/src/node_modules/lodash/fromPairs.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * The inverse of `_.toPairs`; this method returns an object composed - * from key-value `pairs`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} pairs The key-value pairs. - * @returns {Object} Returns the new object. - * @example - * - * _.fromPairs([['a', 1], ['b', 2]]); - * // => { 'a': 1, 'b': 2 } - */ -function fromPairs(pairs) { - var index = -1, - length = pairs == null ? 0 : pairs.length, - result = {}; - - while (++index < length) { - var pair = pairs[index]; - result[pair[0]] = pair[1]; - } - return result; -} - -module.exports = fromPairs; diff --git a/src/node_modules/lodash/function.js b/src/node_modules/lodash/function.js deleted file mode 100644 index b0fc6d9..0000000 --- a/src/node_modules/lodash/function.js +++ /dev/null @@ -1,25 +0,0 @@ -module.exports = { - 'after': require('./after'), - 'ary': require('./ary'), - 'before': require('./before'), - 'bind': require('./bind'), - 'bindKey': require('./bindKey'), - 'curry': require('./curry'), - 'curryRight': require('./curryRight'), - 'debounce': require('./debounce'), - 'defer': require('./defer'), - 'delay': require('./delay'), - 'flip': require('./flip'), - 'memoize': require('./memoize'), - 'negate': require('./negate'), - 'once': require('./once'), - 'overArgs': require('./overArgs'), - 'partial': require('./partial'), - 'partialRight': require('./partialRight'), - 'rearg': require('./rearg'), - 'rest': require('./rest'), - 'spread': require('./spread'), - 'throttle': require('./throttle'), - 'unary': require('./unary'), - 'wrap': require('./wrap') -}; diff --git a/src/node_modules/lodash/functions.js b/src/node_modules/lodash/functions.js deleted file mode 100644 index 9722928..0000000 --- a/src/node_modules/lodash/functions.js +++ /dev/null @@ -1,31 +0,0 @@ -var baseFunctions = require('./_baseFunctions'), - keys = require('./keys'); - -/** - * Creates an array of function property names from own enumerable properties - * of `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the function names. - * @see _.functionsIn - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functions(new Foo); - * // => ['a', 'b'] - */ -function functions(object) { - return object == null ? [] : baseFunctions(object, keys(object)); -} - -module.exports = functions; diff --git a/src/node_modules/lodash/functionsIn.js b/src/node_modules/lodash/functionsIn.js deleted file mode 100644 index f00345d..0000000 --- a/src/node_modules/lodash/functionsIn.js +++ /dev/null @@ -1,31 +0,0 @@ -var baseFunctions = require('./_baseFunctions'), - keysIn = require('./keysIn'); - -/** - * Creates an array of function property names from own and inherited - * enumerable properties of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the function names. - * @see _.functions - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functionsIn(new Foo); - * // => ['a', 'b', 'c'] - */ -function functionsIn(object) { - return object == null ? [] : baseFunctions(object, keysIn(object)); -} - -module.exports = functionsIn; diff --git a/src/node_modules/lodash/get.js b/src/node_modules/lodash/get.js deleted file mode 100644 index 8805ff9..0000000 --- a/src/node_modules/lodash/get.js +++ /dev/null @@ -1,33 +0,0 @@ -var baseGet = require('./_baseGet'); - -/** - * Gets the value at `path` of `object`. If the resolved value is - * `undefined`, the `defaultValue` is returned in its place. - * - * @static - * @memberOf _ - * @since 3.7.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @param {*} [defaultValue] The value returned for `undefined` resolved values. - * @returns {*} Returns the resolved value. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.get(object, 'a[0].b.c'); - * // => 3 - * - * _.get(object, ['a', '0', 'b', 'c']); - * // => 3 - * - * _.get(object, 'a.b.c', 'default'); - * // => 'default' - */ -function get(object, path, defaultValue) { - var result = object == null ? undefined : baseGet(object, path); - return result === undefined ? defaultValue : result; -} - -module.exports = get; diff --git a/src/node_modules/lodash/groupBy.js b/src/node_modules/lodash/groupBy.js deleted file mode 100644 index babf4f6..0000000 --- a/src/node_modules/lodash/groupBy.js +++ /dev/null @@ -1,41 +0,0 @@ -var baseAssignValue = require('./_baseAssignValue'), - createAggregator = require('./_createAggregator'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The order of grouped values - * is determined by the order they occur in `collection`. The corresponding - * value of each key is an array of elements responsible for generating the - * key. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.groupBy([6.1, 4.2, 6.3], Math.floor); - * // => { '4': [4.2], '6': [6.1, 6.3] } - * - * // The `_.property` iteratee shorthand. - * _.groupBy(['one', 'two', 'three'], 'length'); - * // => { '3': ['one', 'two'], '5': ['three'] } - */ -var groupBy = createAggregator(function(result, value, key) { - if (hasOwnProperty.call(result, key)) { - result[key].push(value); - } else { - baseAssignValue(result, key, [value]); - } -}); - -module.exports = groupBy; diff --git a/src/node_modules/lodash/gt.js b/src/node_modules/lodash/gt.js deleted file mode 100644 index 3a66282..0000000 --- a/src/node_modules/lodash/gt.js +++ /dev/null @@ -1,29 +0,0 @@ -var baseGt = require('./_baseGt'), - createRelationalOperation = require('./_createRelationalOperation'); - -/** - * Checks if `value` is greater than `other`. - * - * @static - * @memberOf _ - * @since 3.9.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than `other`, - * else `false`. - * @see _.lt - * @example - * - * _.gt(3, 1); - * // => true - * - * _.gt(3, 3); - * // => false - * - * _.gt(1, 3); - * // => false - */ -var gt = createRelationalOperation(baseGt); - -module.exports = gt; diff --git a/src/node_modules/lodash/gte.js b/src/node_modules/lodash/gte.js deleted file mode 100644 index 4180a68..0000000 --- a/src/node_modules/lodash/gte.js +++ /dev/null @@ -1,30 +0,0 @@ -var createRelationalOperation = require('./_createRelationalOperation'); - -/** - * Checks if `value` is greater than or equal to `other`. - * - * @static - * @memberOf _ - * @since 3.9.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than or equal to - * `other`, else `false`. - * @see _.lte - * @example - * - * _.gte(3, 1); - * // => true - * - * _.gte(3, 3); - * // => true - * - * _.gte(1, 3); - * // => false - */ -var gte = createRelationalOperation(function(value, other) { - return value >= other; -}); - -module.exports = gte; diff --git a/src/node_modules/lodash/has.js b/src/node_modules/lodash/has.js deleted file mode 100644 index 34df55e..0000000 --- a/src/node_modules/lodash/has.js +++ /dev/null @@ -1,35 +0,0 @@ -var baseHas = require('./_baseHas'), - hasPath = require('./_hasPath'); - -/** - * Checks if `path` is a direct property of `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = { 'a': { 'b': 2 } }; - * var other = _.create({ 'a': _.create({ 'b': 2 }) }); - * - * _.has(object, 'a'); - * // => true - * - * _.has(object, 'a.b'); - * // => true - * - * _.has(object, ['a', 'b']); - * // => true - * - * _.has(other, 'a'); - * // => false - */ -function has(object, path) { - return object != null && hasPath(object, path, baseHas); -} - -module.exports = has; diff --git a/src/node_modules/lodash/hasIn.js b/src/node_modules/lodash/hasIn.js deleted file mode 100644 index 06a3686..0000000 --- a/src/node_modules/lodash/hasIn.js +++ /dev/null @@ -1,34 +0,0 @@ -var baseHasIn = require('./_baseHasIn'), - hasPath = require('./_hasPath'); - -/** - * Checks if `path` is a direct or inherited property of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = _.create({ 'a': _.create({ 'b': 2 }) }); - * - * _.hasIn(object, 'a'); - * // => true - * - * _.hasIn(object, 'a.b'); - * // => true - * - * _.hasIn(object, ['a', 'b']); - * // => true - * - * _.hasIn(object, 'b'); - * // => false - */ -function hasIn(object, path) { - return object != null && hasPath(object, path, baseHasIn); -} - -module.exports = hasIn; diff --git a/src/node_modules/lodash/head.js b/src/node_modules/lodash/head.js deleted file mode 100644 index dee9d1f..0000000 --- a/src/node_modules/lodash/head.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Gets the first element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @alias first - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the first element of `array`. - * @example - * - * _.head([1, 2, 3]); - * // => 1 - * - * _.head([]); - * // => undefined - */ -function head(array) { - return (array && array.length) ? array[0] : undefined; -} - -module.exports = head; diff --git a/src/node_modules/lodash/identity.js b/src/node_modules/lodash/identity.js deleted file mode 100644 index 2d5d963..0000000 --- a/src/node_modules/lodash/identity.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * This method returns the first argument it receives. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Util - * @param {*} value Any value. - * @returns {*} Returns `value`. - * @example - * - * var object = { 'a': 1 }; - * - * console.log(_.identity(object) === object); - * // => true - */ -function identity(value) { - return value; -} - -module.exports = identity; diff --git a/src/node_modules/lodash/inRange.js b/src/node_modules/lodash/inRange.js deleted file mode 100644 index f20728d..0000000 --- a/src/node_modules/lodash/inRange.js +++ /dev/null @@ -1,55 +0,0 @@ -var baseInRange = require('./_baseInRange'), - toFinite = require('./toFinite'), - toNumber = require('./toNumber'); - -/** - * Checks if `n` is between `start` and up to, but not including, `end`. If - * `end` is not specified, it's set to `start` with `start` then set to `0`. - * If `start` is greater than `end` the params are swapped to support - * negative ranges. - * - * @static - * @memberOf _ - * @since 3.3.0 - * @category Number - * @param {number} number The number to check. - * @param {number} [start=0] The start of the range. - * @param {number} end The end of the range. - * @returns {boolean} Returns `true` if `number` is in the range, else `false`. - * @see _.range, _.rangeRight - * @example - * - * _.inRange(3, 2, 4); - * // => true - * - * _.inRange(4, 8); - * // => true - * - * _.inRange(4, 2); - * // => false - * - * _.inRange(2, 2); - * // => false - * - * _.inRange(1.2, 2); - * // => true - * - * _.inRange(5.2, 4); - * // => false - * - * _.inRange(-3, -2, -6); - * // => true - */ -function inRange(number, start, end) { - start = toFinite(start); - if (end === undefined) { - end = start; - start = 0; - } else { - end = toFinite(end); - } - number = toNumber(number); - return baseInRange(number, start, end); -} - -module.exports = inRange; diff --git a/src/node_modules/lodash/includes.js b/src/node_modules/lodash/includes.js deleted file mode 100644 index ae0deed..0000000 --- a/src/node_modules/lodash/includes.js +++ /dev/null @@ -1,53 +0,0 @@ -var baseIndexOf = require('./_baseIndexOf'), - isArrayLike = require('./isArrayLike'), - isString = require('./isString'), - toInteger = require('./toInteger'), - values = require('./values'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * Checks if `value` is in `collection`. If `collection` is a string, it's - * checked for a substring of `value`, otherwise - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * is used for equality comparisons. If `fromIndex` is negative, it's used as - * the offset from the end of `collection`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. - * @returns {boolean} Returns `true` if `value` is found, else `false`. - * @example - * - * _.includes([1, 2, 3], 1); - * // => true - * - * _.includes([1, 2, 3], 1, 2); - * // => false - * - * _.includes({ 'a': 1, 'b': 2 }, 1); - * // => true - * - * _.includes('abcd', 'bc'); - * // => true - */ -function includes(collection, value, fromIndex, guard) { - collection = isArrayLike(collection) ? collection : values(collection); - fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0; - - var length = collection.length; - if (fromIndex < 0) { - fromIndex = nativeMax(length + fromIndex, 0); - } - return isString(collection) - ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1) - : (!!length && baseIndexOf(collection, value, fromIndex) > -1); -} - -module.exports = includes; diff --git a/src/node_modules/lodash/index.js b/src/node_modules/lodash/index.js deleted file mode 100644 index 5d063e2..0000000 --- a/src/node_modules/lodash/index.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./lodash'); \ No newline at end of file diff --git a/src/node_modules/lodash/indexOf.js b/src/node_modules/lodash/indexOf.js deleted file mode 100644 index 3c644af..0000000 --- a/src/node_modules/lodash/indexOf.js +++ /dev/null @@ -1,42 +0,0 @@ -var baseIndexOf = require('./_baseIndexOf'), - toInteger = require('./toInteger'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * Gets the index at which the first occurrence of `value` is found in `array` - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. If `fromIndex` is negative, it's used as the - * offset from the end of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 - * - * // Search from the `fromIndex`. - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 - */ -function indexOf(array, value, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = fromIndex == null ? 0 : toInteger(fromIndex); - if (index < 0) { - index = nativeMax(length + index, 0); - } - return baseIndexOf(array, value, index); -} - -module.exports = indexOf; diff --git a/src/node_modules/lodash/initial.js b/src/node_modules/lodash/initial.js deleted file mode 100644 index f47fc50..0000000 --- a/src/node_modules/lodash/initial.js +++ /dev/null @@ -1,22 +0,0 @@ -var baseSlice = require('./_baseSlice'); - -/** - * Gets all but the last element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.initial([1, 2, 3]); - * // => [1, 2] - */ -function initial(array) { - var length = array == null ? 0 : array.length; - return length ? baseSlice(array, 0, -1) : []; -} - -module.exports = initial; diff --git a/src/node_modules/lodash/intersection.js b/src/node_modules/lodash/intersection.js deleted file mode 100644 index a94c135..0000000 --- a/src/node_modules/lodash/intersection.js +++ /dev/null @@ -1,30 +0,0 @@ -var arrayMap = require('./_arrayMap'), - baseIntersection = require('./_baseIntersection'), - baseRest = require('./_baseRest'), - castArrayLikeObject = require('./_castArrayLikeObject'); - -/** - * Creates an array of unique values that are included in all given arrays - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. The order and references of result values are - * determined by the first array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * _.intersection([2, 1], [2, 3]); - * // => [2] - */ -var intersection = baseRest(function(arrays) { - var mapped = arrayMap(arrays, castArrayLikeObject); - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped) - : []; -}); - -module.exports = intersection; diff --git a/src/node_modules/lodash/intersectionBy.js b/src/node_modules/lodash/intersectionBy.js deleted file mode 100644 index 31461aa..0000000 --- a/src/node_modules/lodash/intersectionBy.js +++ /dev/null @@ -1,45 +0,0 @@ -var arrayMap = require('./_arrayMap'), - baseIntersection = require('./_baseIntersection'), - baseIteratee = require('./_baseIteratee'), - baseRest = require('./_baseRest'), - castArrayLikeObject = require('./_castArrayLikeObject'), - last = require('./last'); - -/** - * This method is like `_.intersection` except that it accepts `iteratee` - * which is invoked for each element of each `arrays` to generate the criterion - * by which they're compared. The order and references of result values are - * determined by the first array. The iteratee is invoked with one argument: - * (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [2.1] - * - * // The `_.property` iteratee shorthand. - * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }] - */ -var intersectionBy = baseRest(function(arrays) { - var iteratee = last(arrays), - mapped = arrayMap(arrays, castArrayLikeObject); - - if (iteratee === last(mapped)) { - iteratee = undefined; - } else { - mapped.pop(); - } - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped, baseIteratee(iteratee, 2)) - : []; -}); - -module.exports = intersectionBy; diff --git a/src/node_modules/lodash/intersectionWith.js b/src/node_modules/lodash/intersectionWith.js deleted file mode 100644 index 63cabfa..0000000 --- a/src/node_modules/lodash/intersectionWith.js +++ /dev/null @@ -1,41 +0,0 @@ -var arrayMap = require('./_arrayMap'), - baseIntersection = require('./_baseIntersection'), - baseRest = require('./_baseRest'), - castArrayLikeObject = require('./_castArrayLikeObject'), - last = require('./last'); - -/** - * This method is like `_.intersection` except that it accepts `comparator` - * which is invoked to compare elements of `arrays`. The order and references - * of result values are determined by the first array. The comparator is - * invoked with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.intersectionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }] - */ -var intersectionWith = baseRest(function(arrays) { - var comparator = last(arrays), - mapped = arrayMap(arrays, castArrayLikeObject); - - comparator = typeof comparator == 'function' ? comparator : undefined; - if (comparator) { - mapped.pop(); - } - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped, undefined, comparator) - : []; -}); - -module.exports = intersectionWith; diff --git a/src/node_modules/lodash/invert.js b/src/node_modules/lodash/invert.js deleted file mode 100644 index 21d10ab..0000000 --- a/src/node_modules/lodash/invert.js +++ /dev/null @@ -1,27 +0,0 @@ -var constant = require('./constant'), - createInverter = require('./_createInverter'), - identity = require('./identity'); - -/** - * Creates an object composed of the inverted keys and values of `object`. - * If `object` contains duplicate values, subsequent values overwrite - * property assignments of previous values. - * - * @static - * @memberOf _ - * @since 0.7.0 - * @category Object - * @param {Object} object The object to invert. - * @returns {Object} Returns the new inverted object. - * @example - * - * var object = { 'a': 1, 'b': 2, 'c': 1 }; - * - * _.invert(object); - * // => { '1': 'c', '2': 'b' } - */ -var invert = createInverter(function(result, value, key) { - result[value] = key; -}, constant(identity)); - -module.exports = invert; diff --git a/src/node_modules/lodash/invertBy.js b/src/node_modules/lodash/invertBy.js deleted file mode 100644 index e5ba0f7..0000000 --- a/src/node_modules/lodash/invertBy.js +++ /dev/null @@ -1,44 +0,0 @@ -var baseIteratee = require('./_baseIteratee'), - createInverter = require('./_createInverter'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * This method is like `_.invert` except that the inverted object is generated - * from the results of running each element of `object` thru `iteratee`. The - * corresponding inverted value of each inverted key is an array of keys - * responsible for generating the inverted value. The iteratee is invoked - * with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.1.0 - * @category Object - * @param {Object} object The object to invert. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Object} Returns the new inverted object. - * @example - * - * var object = { 'a': 1, 'b': 2, 'c': 1 }; - * - * _.invertBy(object); - * // => { '1': ['a', 'c'], '2': ['b'] } - * - * _.invertBy(object, function(value) { - * return 'group' + value; - * }); - * // => { 'group1': ['a', 'c'], 'group2': ['b'] } - */ -var invertBy = createInverter(function(result, value, key) { - if (hasOwnProperty.call(result, value)) { - result[value].push(key); - } else { - result[value] = [key]; - } -}, baseIteratee); - -module.exports = invertBy; diff --git a/src/node_modules/lodash/invoke.js b/src/node_modules/lodash/invoke.js deleted file mode 100644 index 97d51eb..0000000 --- a/src/node_modules/lodash/invoke.js +++ /dev/null @@ -1,24 +0,0 @@ -var baseInvoke = require('./_baseInvoke'), - baseRest = require('./_baseRest'); - -/** - * Invokes the method at `path` of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the method to invoke. - * @param {...*} [args] The arguments to invoke the method with. - * @returns {*} Returns the result of the invoked method. - * @example - * - * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] }; - * - * _.invoke(object, 'a[0].b.c.slice', 1, 3); - * // => [2, 3] - */ -var invoke = baseRest(baseInvoke); - -module.exports = invoke; diff --git a/src/node_modules/lodash/invokeMap.js b/src/node_modules/lodash/invokeMap.js deleted file mode 100644 index 8da5126..0000000 --- a/src/node_modules/lodash/invokeMap.js +++ /dev/null @@ -1,41 +0,0 @@ -var apply = require('./_apply'), - baseEach = require('./_baseEach'), - baseInvoke = require('./_baseInvoke'), - baseRest = require('./_baseRest'), - isArrayLike = require('./isArrayLike'); - -/** - * Invokes the method at `path` of each element in `collection`, returning - * an array of the results of each invoked method. Any additional arguments - * are provided to each invoked method. If `path` is a function, it's invoked - * for, and `this` bound to, each element in `collection`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Array|Function|string} path The path of the method to invoke or - * the function invoked per iteration. - * @param {...*} [args] The arguments to invoke each method with. - * @returns {Array} Returns the array of results. - * @example - * - * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort'); - * // => [[1, 5, 7], [1, 2, 3]] - * - * _.invokeMap([123, 456], String.prototype.split, ''); - * // => [['1', '2', '3'], ['4', '5', '6']] - */ -var invokeMap = baseRest(function(collection, path, args) { - var index = -1, - isFunc = typeof path == 'function', - result = isArrayLike(collection) ? Array(collection.length) : []; - - baseEach(collection, function(value) { - result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args); - }); - return result; -}); - -module.exports = invokeMap; diff --git a/src/node_modules/lodash/isArguments.js b/src/node_modules/lodash/isArguments.js deleted file mode 100644 index 8b9ed66..0000000 --- a/src/node_modules/lodash/isArguments.js +++ /dev/null @@ -1,36 +0,0 @@ -var baseIsArguments = require('./_baseIsArguments'), - isObjectLike = require('./isObjectLike'); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** Built-in value references. */ -var propertyIsEnumerable = objectProto.propertyIsEnumerable; - -/** - * Checks if `value` is likely an `arguments` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - * else `false`. - * @example - * - * _.isArguments(function() { return arguments; }()); - * // => true - * - * _.isArguments([1, 2, 3]); - * // => false - */ -var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { - return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && - !propertyIsEnumerable.call(value, 'callee'); -}; - -module.exports = isArguments; diff --git a/src/node_modules/lodash/isArray.js b/src/node_modules/lodash/isArray.js deleted file mode 100644 index 88ab55f..0000000 --- a/src/node_modules/lodash/isArray.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Checks if `value` is classified as an `Array` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array, else `false`. - * @example - * - * _.isArray([1, 2, 3]); - * // => true - * - * _.isArray(document.body.children); - * // => false - * - * _.isArray('abc'); - * // => false - * - * _.isArray(_.noop); - * // => false - */ -var isArray = Array.isArray; - -module.exports = isArray; diff --git a/src/node_modules/lodash/isArrayBuffer.js b/src/node_modules/lodash/isArrayBuffer.js deleted file mode 100644 index 12904a6..0000000 --- a/src/node_modules/lodash/isArrayBuffer.js +++ /dev/null @@ -1,27 +0,0 @@ -var baseIsArrayBuffer = require('./_baseIsArrayBuffer'), - baseUnary = require('./_baseUnary'), - nodeUtil = require('./_nodeUtil'); - -/* Node.js helper references. */ -var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer; - -/** - * Checks if `value` is classified as an `ArrayBuffer` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. - * @example - * - * _.isArrayBuffer(new ArrayBuffer(2)); - * // => true - * - * _.isArrayBuffer(new Array(2)); - * // => false - */ -var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer; - -module.exports = isArrayBuffer; diff --git a/src/node_modules/lodash/isArrayLike.js b/src/node_modules/lodash/isArrayLike.js deleted file mode 100644 index 0f96680..0000000 --- a/src/node_modules/lodash/isArrayLike.js +++ /dev/null @@ -1,33 +0,0 @@ -var isFunction = require('./isFunction'), - isLength = require('./isLength'); - -/** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ -function isArrayLike(value) { - return value != null && isLength(value.length) && !isFunction(value); -} - -module.exports = isArrayLike; diff --git a/src/node_modules/lodash/isArrayLikeObject.js b/src/node_modules/lodash/isArrayLikeObject.js deleted file mode 100644 index 6c4812a..0000000 --- a/src/node_modules/lodash/isArrayLikeObject.js +++ /dev/null @@ -1,33 +0,0 @@ -var isArrayLike = require('./isArrayLike'), - isObjectLike = require('./isObjectLike'); - -/** - * This method is like `_.isArrayLike` except that it also checks if `value` - * is an object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array-like object, - * else `false`. - * @example - * - * _.isArrayLikeObject([1, 2, 3]); - * // => true - * - * _.isArrayLikeObject(document.body.children); - * // => true - * - * _.isArrayLikeObject('abc'); - * // => false - * - * _.isArrayLikeObject(_.noop); - * // => false - */ -function isArrayLikeObject(value) { - return isObjectLike(value) && isArrayLike(value); -} - -module.exports = isArrayLikeObject; diff --git a/src/node_modules/lodash/isBoolean.js b/src/node_modules/lodash/isBoolean.js deleted file mode 100644 index a43ed4b..0000000 --- a/src/node_modules/lodash/isBoolean.js +++ /dev/null @@ -1,29 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var boolTag = '[object Boolean]'; - -/** - * Checks if `value` is classified as a boolean primitive or object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a boolean, else `false`. - * @example - * - * _.isBoolean(false); - * // => true - * - * _.isBoolean(null); - * // => false - */ -function isBoolean(value) { - return value === true || value === false || - (isObjectLike(value) && baseGetTag(value) == boolTag); -} - -module.exports = isBoolean; diff --git a/src/node_modules/lodash/isBuffer.js b/src/node_modules/lodash/isBuffer.js deleted file mode 100644 index c103cc7..0000000 --- a/src/node_modules/lodash/isBuffer.js +++ /dev/null @@ -1,38 +0,0 @@ -var root = require('./_root'), - stubFalse = require('./stubFalse'); - -/** Detect free variable `exports`. */ -var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; - -/** Detect free variable `module`. */ -var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; - -/** Detect the popular CommonJS extension `module.exports`. */ -var moduleExports = freeModule && freeModule.exports === freeExports; - -/** Built-in value references. */ -var Buffer = moduleExports ? root.Buffer : undefined; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined; - -/** - * Checks if `value` is a buffer. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. - * @example - * - * _.isBuffer(new Buffer(2)); - * // => true - * - * _.isBuffer(new Uint8Array(2)); - * // => false - */ -var isBuffer = nativeIsBuffer || stubFalse; - -module.exports = isBuffer; diff --git a/src/node_modules/lodash/isDate.js b/src/node_modules/lodash/isDate.js deleted file mode 100644 index 7f0209f..0000000 --- a/src/node_modules/lodash/isDate.js +++ /dev/null @@ -1,27 +0,0 @@ -var baseIsDate = require('./_baseIsDate'), - baseUnary = require('./_baseUnary'), - nodeUtil = require('./_nodeUtil'); - -/* Node.js helper references. */ -var nodeIsDate = nodeUtil && nodeUtil.isDate; - -/** - * Checks if `value` is classified as a `Date` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a date object, else `false`. - * @example - * - * _.isDate(new Date); - * // => true - * - * _.isDate('Mon April 23 2012'); - * // => false - */ -var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate; - -module.exports = isDate; diff --git a/src/node_modules/lodash/isElement.js b/src/node_modules/lodash/isElement.js deleted file mode 100644 index 76ae29c..0000000 --- a/src/node_modules/lodash/isElement.js +++ /dev/null @@ -1,25 +0,0 @@ -var isObjectLike = require('./isObjectLike'), - isPlainObject = require('./isPlainObject'); - -/** - * Checks if `value` is likely a DOM element. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`. - * @example - * - * _.isElement(document.body); - * // => true - * - * _.isElement(''); - * // => false - */ -function isElement(value) { - return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value); -} - -module.exports = isElement; diff --git a/src/node_modules/lodash/isEmpty.js b/src/node_modules/lodash/isEmpty.js deleted file mode 100644 index 3597294..0000000 --- a/src/node_modules/lodash/isEmpty.js +++ /dev/null @@ -1,77 +0,0 @@ -var baseKeys = require('./_baseKeys'), - getTag = require('./_getTag'), - isArguments = require('./isArguments'), - isArray = require('./isArray'), - isArrayLike = require('./isArrayLike'), - isBuffer = require('./isBuffer'), - isPrototype = require('./_isPrototype'), - isTypedArray = require('./isTypedArray'); - -/** `Object#toString` result references. */ -var mapTag = '[object Map]', - setTag = '[object Set]'; - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Checks if `value` is an empty object, collection, map, or set. - * - * Objects are considered empty if they have no own enumerable string keyed - * properties. - * - * Array-like values such as `arguments` objects, arrays, buffers, strings, or - * jQuery-like collections are considered empty if they have a `length` of `0`. - * Similarly, maps and sets are considered empty if they have a `size` of `0`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is empty, else `false`. - * @example - * - * _.isEmpty(null); - * // => true - * - * _.isEmpty(true); - * // => true - * - * _.isEmpty(1); - * // => true - * - * _.isEmpty([1, 2, 3]); - * // => false - * - * _.isEmpty({ 'a': 1 }); - * // => false - */ -function isEmpty(value) { - if (value == null) { - return true; - } - if (isArrayLike(value) && - (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' || - isBuffer(value) || isTypedArray(value) || isArguments(value))) { - return !value.length; - } - var tag = getTag(value); - if (tag == mapTag || tag == setTag) { - return !value.size; - } - if (isPrototype(value)) { - return !baseKeys(value).length; - } - for (var key in value) { - if (hasOwnProperty.call(value, key)) { - return false; - } - } - return true; -} - -module.exports = isEmpty; diff --git a/src/node_modules/lodash/isEqual.js b/src/node_modules/lodash/isEqual.js deleted file mode 100644 index 5e23e76..0000000 --- a/src/node_modules/lodash/isEqual.js +++ /dev/null @@ -1,35 +0,0 @@ -var baseIsEqual = require('./_baseIsEqual'); - -/** - * Performs a deep comparison between two values to determine if they are - * equivalent. - * - * **Note:** This method supports comparing arrays, array buffers, booleans, - * date objects, error objects, maps, numbers, `Object` objects, regexes, - * sets, strings, symbols, and typed arrays. `Object` objects are compared - * by their own, not inherited, enumerable properties. Functions and DOM - * nodes are compared by strict equality, i.e. `===`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.isEqual(object, other); - * // => true - * - * object === other; - * // => false - */ -function isEqual(value, other) { - return baseIsEqual(value, other); -} - -module.exports = isEqual; diff --git a/src/node_modules/lodash/isEqualWith.js b/src/node_modules/lodash/isEqualWith.js deleted file mode 100644 index 21bdc7f..0000000 --- a/src/node_modules/lodash/isEqualWith.js +++ /dev/null @@ -1,41 +0,0 @@ -var baseIsEqual = require('./_baseIsEqual'); - -/** - * This method is like `_.isEqual` except that it accepts `customizer` which - * is invoked to compare values. If `customizer` returns `undefined`, comparisons - * are handled by the method instead. The `customizer` is invoked with up to - * six arguments: (objValue, othValue [, index|key, object, other, stack]). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, othValue) { - * if (isGreeting(objValue) && isGreeting(othValue)) { - * return true; - * } - * } - * - * var array = ['hello', 'goodbye']; - * var other = ['hi', 'goodbye']; - * - * _.isEqualWith(array, other, customizer); - * // => true - */ -function isEqualWith(value, other, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - var result = customizer ? customizer(value, other) : undefined; - return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result; -} - -module.exports = isEqualWith; diff --git a/src/node_modules/lodash/isError.js b/src/node_modules/lodash/isError.js deleted file mode 100644 index b4f41e0..0000000 --- a/src/node_modules/lodash/isError.js +++ /dev/null @@ -1,36 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'), - isPlainObject = require('./isPlainObject'); - -/** `Object#toString` result references. */ -var domExcTag = '[object DOMException]', - errorTag = '[object Error]'; - -/** - * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`, - * `SyntaxError`, `TypeError`, or `URIError` object. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an error object, else `false`. - * @example - * - * _.isError(new Error); - * // => true - * - * _.isError(Error); - * // => false - */ -function isError(value) { - if (!isObjectLike(value)) { - return false; - } - var tag = baseGetTag(value); - return tag == errorTag || tag == domExcTag || - (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value)); -} - -module.exports = isError; diff --git a/src/node_modules/lodash/isFinite.js b/src/node_modules/lodash/isFinite.js deleted file mode 100644 index 601842b..0000000 --- a/src/node_modules/lodash/isFinite.js +++ /dev/null @@ -1,36 +0,0 @@ -var root = require('./_root'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeIsFinite = root.isFinite; - -/** - * Checks if `value` is a finite primitive number. - * - * **Note:** This method is based on - * [`Number.isFinite`](https://mdn.io/Number/isFinite). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a finite number, else `false`. - * @example - * - * _.isFinite(3); - * // => true - * - * _.isFinite(Number.MIN_VALUE); - * // => true - * - * _.isFinite(Infinity); - * // => false - * - * _.isFinite('3'); - * // => false - */ -function isFinite(value) { - return typeof value == 'number' && nativeIsFinite(value); -} - -module.exports = isFinite; diff --git a/src/node_modules/lodash/isFunction.js b/src/node_modules/lodash/isFunction.js deleted file mode 100644 index 907a8cd..0000000 --- a/src/node_modules/lodash/isFunction.js +++ /dev/null @@ -1,37 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObject = require('./isObject'); - -/** `Object#toString` result references. */ -var asyncTag = '[object AsyncFunction]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - proxyTag = '[object Proxy]'; - -/** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a function, else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ -function isFunction(value) { - if (!isObject(value)) { - return false; - } - // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 9 which returns 'object' for typed arrays and other constructors. - var tag = baseGetTag(value); - return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; -} - -module.exports = isFunction; diff --git a/src/node_modules/lodash/isInteger.js b/src/node_modules/lodash/isInteger.js deleted file mode 100644 index 66aa87d..0000000 --- a/src/node_modules/lodash/isInteger.js +++ /dev/null @@ -1,33 +0,0 @@ -var toInteger = require('./toInteger'); - -/** - * Checks if `value` is an integer. - * - * **Note:** This method is based on - * [`Number.isInteger`](https://mdn.io/Number/isInteger). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an integer, else `false`. - * @example - * - * _.isInteger(3); - * // => true - * - * _.isInteger(Number.MIN_VALUE); - * // => false - * - * _.isInteger(Infinity); - * // => false - * - * _.isInteger('3'); - * // => false - */ -function isInteger(value) { - return typeof value == 'number' && value == toInteger(value); -} - -module.exports = isInteger; diff --git a/src/node_modules/lodash/isLength.js b/src/node_modules/lodash/isLength.js deleted file mode 100644 index 3a95caa..0000000 --- a/src/node_modules/lodash/isLength.js +++ /dev/null @@ -1,35 +0,0 @@ -/** Used as references for various `Number` constants. */ -var MAX_SAFE_INTEGER = 9007199254740991; - -/** - * Checks if `value` is a valid array-like length. - * - * **Note:** This method is loosely based on - * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ -function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; -} - -module.exports = isLength; diff --git a/src/node_modules/lodash/isMap.js b/src/node_modules/lodash/isMap.js deleted file mode 100644 index 44f8517..0000000 --- a/src/node_modules/lodash/isMap.js +++ /dev/null @@ -1,27 +0,0 @@ -var baseIsMap = require('./_baseIsMap'), - baseUnary = require('./_baseUnary'), - nodeUtil = require('./_nodeUtil'); - -/* Node.js helper references. */ -var nodeIsMap = nodeUtil && nodeUtil.isMap; - -/** - * Checks if `value` is classified as a `Map` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a map, else `false`. - * @example - * - * _.isMap(new Map); - * // => true - * - * _.isMap(new WeakMap); - * // => false - */ -var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap; - -module.exports = isMap; diff --git a/src/node_modules/lodash/isMatch.js b/src/node_modules/lodash/isMatch.js deleted file mode 100644 index 9773a18..0000000 --- a/src/node_modules/lodash/isMatch.js +++ /dev/null @@ -1,36 +0,0 @@ -var baseIsMatch = require('./_baseIsMatch'), - getMatchData = require('./_getMatchData'); - -/** - * Performs a partial deep comparison between `object` and `source` to - * determine if `object` contains equivalent property values. - * - * **Note:** This method is equivalent to `_.matches` when `source` is - * partially applied. - * - * Partial comparisons will match empty array and empty object `source` - * values against any array or object value, respectively. See `_.isEqual` - * for a list of supported value comparisons. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * - * _.isMatch(object, { 'b': 2 }); - * // => true - * - * _.isMatch(object, { 'b': 1 }); - * // => false - */ -function isMatch(object, source) { - return object === source || baseIsMatch(object, source, getMatchData(source)); -} - -module.exports = isMatch; diff --git a/src/node_modules/lodash/isMatchWith.js b/src/node_modules/lodash/isMatchWith.js deleted file mode 100644 index 187b6a6..0000000 --- a/src/node_modules/lodash/isMatchWith.js +++ /dev/null @@ -1,41 +0,0 @@ -var baseIsMatch = require('./_baseIsMatch'), - getMatchData = require('./_getMatchData'); - -/** - * This method is like `_.isMatch` except that it accepts `customizer` which - * is invoked to compare values. If `customizer` returns `undefined`, comparisons - * are handled by the method instead. The `customizer` is invoked with five - * arguments: (objValue, srcValue, index|key, object, source). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, srcValue) { - * if (isGreeting(objValue) && isGreeting(srcValue)) { - * return true; - * } - * } - * - * var object = { 'greeting': 'hello' }; - * var source = { 'greeting': 'hi' }; - * - * _.isMatchWith(object, source, customizer); - * // => true - */ -function isMatchWith(object, source, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseIsMatch(object, source, getMatchData(source), customizer); -} - -module.exports = isMatchWith; diff --git a/src/node_modules/lodash/isNaN.js b/src/node_modules/lodash/isNaN.js deleted file mode 100644 index 7d0d783..0000000 --- a/src/node_modules/lodash/isNaN.js +++ /dev/null @@ -1,38 +0,0 @@ -var isNumber = require('./isNumber'); - -/** - * Checks if `value` is `NaN`. - * - * **Note:** This method is based on - * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as - * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for - * `undefined` and other non-number values. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. - * @example - * - * _.isNaN(NaN); - * // => true - * - * _.isNaN(new Number(NaN)); - * // => true - * - * isNaN(undefined); - * // => true - * - * _.isNaN(undefined); - * // => false - */ -function isNaN(value) { - // An `NaN` primitive is the only value that is not equal to itself. - // Perform the `toStringTag` check first to avoid errors with some - // ActiveX objects in IE. - return isNumber(value) && value != +value; -} - -module.exports = isNaN; diff --git a/src/node_modules/lodash/isNative.js b/src/node_modules/lodash/isNative.js deleted file mode 100644 index f0cb8d5..0000000 --- a/src/node_modules/lodash/isNative.js +++ /dev/null @@ -1,40 +0,0 @@ -var baseIsNative = require('./_baseIsNative'), - isMaskable = require('./_isMaskable'); - -/** Error message constants. */ -var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.'; - -/** - * Checks if `value` is a pristine native function. - * - * **Note:** This method can't reliably detect native functions in the presence - * of the core-js package because core-js circumvents this kind of detection. - * Despite multiple requests, the core-js maintainer has made it clear: any - * attempt to fix the detection will be obstructed. As a result, we're left - * with little choice but to throw an error. Unfortunately, this also affects - * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill), - * which rely on core-js. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - * @example - * - * _.isNative(Array.prototype.push); - * // => true - * - * _.isNative(_); - * // => false - */ -function isNative(value) { - if (isMaskable(value)) { - throw new Error(CORE_ERROR_TEXT); - } - return baseIsNative(value); -} - -module.exports = isNative; diff --git a/src/node_modules/lodash/isNil.js b/src/node_modules/lodash/isNil.js deleted file mode 100644 index 79f0505..0000000 --- a/src/node_modules/lodash/isNil.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Checks if `value` is `null` or `undefined`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is nullish, else `false`. - * @example - * - * _.isNil(null); - * // => true - * - * _.isNil(void 0); - * // => true - * - * _.isNil(NaN); - * // => false - */ -function isNil(value) { - return value == null; -} - -module.exports = isNil; diff --git a/src/node_modules/lodash/isNull.js b/src/node_modules/lodash/isNull.js deleted file mode 100644 index c0a374d..0000000 --- a/src/node_modules/lodash/isNull.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Checks if `value` is `null`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `null`, else `false`. - * @example - * - * _.isNull(null); - * // => true - * - * _.isNull(void 0); - * // => false - */ -function isNull(value) { - return value === null; -} - -module.exports = isNull; diff --git a/src/node_modules/lodash/isNumber.js b/src/node_modules/lodash/isNumber.js deleted file mode 100644 index cd34ee4..0000000 --- a/src/node_modules/lodash/isNumber.js +++ /dev/null @@ -1,38 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var numberTag = '[object Number]'; - -/** - * Checks if `value` is classified as a `Number` primitive or object. - * - * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are - * classified as numbers, use the `_.isFinite` method. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a number, else `false`. - * @example - * - * _.isNumber(3); - * // => true - * - * _.isNumber(Number.MIN_VALUE); - * // => true - * - * _.isNumber(Infinity); - * // => true - * - * _.isNumber('3'); - * // => false - */ -function isNumber(value) { - return typeof value == 'number' || - (isObjectLike(value) && baseGetTag(value) == numberTag); -} - -module.exports = isNumber; diff --git a/src/node_modules/lodash/isObject.js b/src/node_modules/lodash/isObject.js deleted file mode 100644 index 1dc8939..0000000 --- a/src/node_modules/lodash/isObject.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ -function isObject(value) { - var type = typeof value; - return value != null && (type == 'object' || type == 'function'); -} - -module.exports = isObject; diff --git a/src/node_modules/lodash/isObjectLike.js b/src/node_modules/lodash/isObjectLike.js deleted file mode 100644 index 301716b..0000000 --- a/src/node_modules/lodash/isObjectLike.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ -function isObjectLike(value) { - return value != null && typeof value == 'object'; -} - -module.exports = isObjectLike; diff --git a/src/node_modules/lodash/isPlainObject.js b/src/node_modules/lodash/isPlainObject.js deleted file mode 100644 index 2387373..0000000 --- a/src/node_modules/lodash/isPlainObject.js +++ /dev/null @@ -1,62 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - getPrototype = require('./_getPrototype'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var objectTag = '[object Object]'; - -/** Used for built-in method references. */ -var funcProto = Function.prototype, - objectProto = Object.prototype; - -/** Used to resolve the decompiled source of functions. */ -var funcToString = funcProto.toString; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** Used to infer the `Object` constructor. */ -var objectCtorString = funcToString.call(Object); - -/** - * Checks if `value` is a plain object, that is, an object created by the - * `Object` constructor or one with a `[[Prototype]]` of `null`. - * - * @static - * @memberOf _ - * @since 0.8.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * _.isPlainObject(new Foo); - * // => false - * - * _.isPlainObject([1, 2, 3]); - * // => false - * - * _.isPlainObject({ 'x': 0, 'y': 0 }); - * // => true - * - * _.isPlainObject(Object.create(null)); - * // => true - */ -function isPlainObject(value) { - if (!isObjectLike(value) || baseGetTag(value) != objectTag) { - return false; - } - var proto = getPrototype(value); - if (proto === null) { - return true; - } - var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor; - return typeof Ctor == 'function' && Ctor instanceof Ctor && - funcToString.call(Ctor) == objectCtorString; -} - -module.exports = isPlainObject; diff --git a/src/node_modules/lodash/isRegExp.js b/src/node_modules/lodash/isRegExp.js deleted file mode 100644 index 76c9b6e..0000000 --- a/src/node_modules/lodash/isRegExp.js +++ /dev/null @@ -1,27 +0,0 @@ -var baseIsRegExp = require('./_baseIsRegExp'), - baseUnary = require('./_baseUnary'), - nodeUtil = require('./_nodeUtil'); - -/* Node.js helper references. */ -var nodeIsRegExp = nodeUtil && nodeUtil.isRegExp; - -/** - * Checks if `value` is classified as a `RegExp` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. - * @example - * - * _.isRegExp(/abc/); - * // => true - * - * _.isRegExp('/abc/'); - * // => false - */ -var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp; - -module.exports = isRegExp; diff --git a/src/node_modules/lodash/isSafeInteger.js b/src/node_modules/lodash/isSafeInteger.js deleted file mode 100644 index 2a48526..0000000 --- a/src/node_modules/lodash/isSafeInteger.js +++ /dev/null @@ -1,37 +0,0 @@ -var isInteger = require('./isInteger'); - -/** Used as references for various `Number` constants. */ -var MAX_SAFE_INTEGER = 9007199254740991; - -/** - * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 - * double precision number which isn't the result of a rounded unsafe integer. - * - * **Note:** This method is based on - * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`. - * @example - * - * _.isSafeInteger(3); - * // => true - * - * _.isSafeInteger(Number.MIN_VALUE); - * // => false - * - * _.isSafeInteger(Infinity); - * // => false - * - * _.isSafeInteger('3'); - * // => false - */ -function isSafeInteger(value) { - return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER; -} - -module.exports = isSafeInteger; diff --git a/src/node_modules/lodash/isSet.js b/src/node_modules/lodash/isSet.js deleted file mode 100644 index ab88bdf..0000000 --- a/src/node_modules/lodash/isSet.js +++ /dev/null @@ -1,27 +0,0 @@ -var baseIsSet = require('./_baseIsSet'), - baseUnary = require('./_baseUnary'), - nodeUtil = require('./_nodeUtil'); - -/* Node.js helper references. */ -var nodeIsSet = nodeUtil && nodeUtil.isSet; - -/** - * Checks if `value` is classified as a `Set` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a set, else `false`. - * @example - * - * _.isSet(new Set); - * // => true - * - * _.isSet(new WeakSet); - * // => false - */ -var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet; - -module.exports = isSet; diff --git a/src/node_modules/lodash/isString.js b/src/node_modules/lodash/isString.js deleted file mode 100644 index 627eb9c..0000000 --- a/src/node_modules/lodash/isString.js +++ /dev/null @@ -1,30 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isArray = require('./isArray'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var stringTag = '[object String]'; - -/** - * Checks if `value` is classified as a `String` primitive or object. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a string, else `false`. - * @example - * - * _.isString('abc'); - * // => true - * - * _.isString(1); - * // => false - */ -function isString(value) { - return typeof value == 'string' || - (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); -} - -module.exports = isString; diff --git a/src/node_modules/lodash/isSymbol.js b/src/node_modules/lodash/isSymbol.js deleted file mode 100644 index dfb60b9..0000000 --- a/src/node_modules/lodash/isSymbol.js +++ /dev/null @@ -1,29 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var symbolTag = '[object Symbol]'; - -/** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ -function isSymbol(value) { - return typeof value == 'symbol' || - (isObjectLike(value) && baseGetTag(value) == symbolTag); -} - -module.exports = isSymbol; diff --git a/src/node_modules/lodash/isTypedArray.js b/src/node_modules/lodash/isTypedArray.js deleted file mode 100644 index da3f8dd..0000000 --- a/src/node_modules/lodash/isTypedArray.js +++ /dev/null @@ -1,27 +0,0 @@ -var baseIsTypedArray = require('./_baseIsTypedArray'), - baseUnary = require('./_baseUnary'), - nodeUtil = require('./_nodeUtil'); - -/* Node.js helper references. */ -var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; - -/** - * Checks if `value` is classified as a typed array. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - * @example - * - * _.isTypedArray(new Uint8Array); - * // => true - * - * _.isTypedArray([]); - * // => false - */ -var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; - -module.exports = isTypedArray; diff --git a/src/node_modules/lodash/isUndefined.js b/src/node_modules/lodash/isUndefined.js deleted file mode 100644 index 377d121..0000000 --- a/src/node_modules/lodash/isUndefined.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Checks if `value` is `undefined`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. - * @example - * - * _.isUndefined(void 0); - * // => true - * - * _.isUndefined(null); - * // => false - */ -function isUndefined(value) { - return value === undefined; -} - -module.exports = isUndefined; diff --git a/src/node_modules/lodash/isWeakMap.js b/src/node_modules/lodash/isWeakMap.js deleted file mode 100644 index 8d36f66..0000000 --- a/src/node_modules/lodash/isWeakMap.js +++ /dev/null @@ -1,28 +0,0 @@ -var getTag = require('./_getTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var weakMapTag = '[object WeakMap]'; - -/** - * Checks if `value` is classified as a `WeakMap` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a weak map, else `false`. - * @example - * - * _.isWeakMap(new WeakMap); - * // => true - * - * _.isWeakMap(new Map); - * // => false - */ -function isWeakMap(value) { - return isObjectLike(value) && getTag(value) == weakMapTag; -} - -module.exports = isWeakMap; diff --git a/src/node_modules/lodash/isWeakSet.js b/src/node_modules/lodash/isWeakSet.js deleted file mode 100644 index e628b26..0000000 --- a/src/node_modules/lodash/isWeakSet.js +++ /dev/null @@ -1,28 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var weakSetTag = '[object WeakSet]'; - -/** - * Checks if `value` is classified as a `WeakSet` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a weak set, else `false`. - * @example - * - * _.isWeakSet(new WeakSet); - * // => true - * - * _.isWeakSet(new Set); - * // => false - */ -function isWeakSet(value) { - return isObjectLike(value) && baseGetTag(value) == weakSetTag; -} - -module.exports = isWeakSet; diff --git a/src/node_modules/lodash/iteratee.js b/src/node_modules/lodash/iteratee.js deleted file mode 100644 index 61b73a8..0000000 --- a/src/node_modules/lodash/iteratee.js +++ /dev/null @@ -1,53 +0,0 @@ -var baseClone = require('./_baseClone'), - baseIteratee = require('./_baseIteratee'); - -/** Used to compose bitmasks for cloning. */ -var CLONE_DEEP_FLAG = 1; - -/** - * Creates a function that invokes `func` with the arguments of the created - * function. If `func` is a property name, the created function returns the - * property value for a given element. If `func` is an array or object, the - * created function returns `true` for elements that contain the equivalent - * source properties, otherwise it returns `false`. - * - * @static - * @since 4.0.0 - * @memberOf _ - * @category Util - * @param {*} [func=_.identity] The value to convert to a callback. - * @returns {Function} Returns the callback. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true })); - * // => [{ 'user': 'barney', 'age': 36, 'active': true }] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.filter(users, _.iteratee(['user', 'fred'])); - * // => [{ 'user': 'fred', 'age': 40 }] - * - * // The `_.property` iteratee shorthand. - * _.map(users, _.iteratee('user')); - * // => ['barney', 'fred'] - * - * // Create custom iteratee shorthands. - * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) { - * return !_.isRegExp(func) ? iteratee(func) : function(string) { - * return func.test(string); - * }; - * }); - * - * _.filter(['abc', 'def'], /ef/); - * // => ['def'] - */ -function iteratee(func) { - return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG)); -} - -module.exports = iteratee; diff --git a/src/node_modules/lodash/join.js b/src/node_modules/lodash/join.js deleted file mode 100644 index 45de079..0000000 --- a/src/node_modules/lodash/join.js +++ /dev/null @@ -1,26 +0,0 @@ -/** Used for built-in method references. */ -var arrayProto = Array.prototype; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeJoin = arrayProto.join; - -/** - * Converts all elements in `array` into a string separated by `separator`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to convert. - * @param {string} [separator=','] The element separator. - * @returns {string} Returns the joined string. - * @example - * - * _.join(['a', 'b', 'c'], '~'); - * // => 'a~b~c' - */ -function join(array, separator) { - return array == null ? '' : nativeJoin.call(array, separator); -} - -module.exports = join; diff --git a/src/node_modules/lodash/kebabCase.js b/src/node_modules/lodash/kebabCase.js deleted file mode 100644 index 8a52be6..0000000 --- a/src/node_modules/lodash/kebabCase.js +++ /dev/null @@ -1,28 +0,0 @@ -var createCompounder = require('./_createCompounder'); - -/** - * Converts `string` to - * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the kebab cased string. - * @example - * - * _.kebabCase('Foo Bar'); - * // => 'foo-bar' - * - * _.kebabCase('fooBar'); - * // => 'foo-bar' - * - * _.kebabCase('__FOO_BAR__'); - * // => 'foo-bar' - */ -var kebabCase = createCompounder(function(result, word, index) { - return result + (index ? '-' : '') + word.toLowerCase(); -}); - -module.exports = kebabCase; diff --git a/src/node_modules/lodash/keyBy.js b/src/node_modules/lodash/keyBy.js deleted file mode 100644 index acc007a..0000000 --- a/src/node_modules/lodash/keyBy.js +++ /dev/null @@ -1,36 +0,0 @@ -var baseAssignValue = require('./_baseAssignValue'), - createAggregator = require('./_createAggregator'); - -/** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The corresponding value of - * each key is the last element responsible for generating the key. The - * iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * var array = [ - * { 'dir': 'left', 'code': 97 }, - * { 'dir': 'right', 'code': 100 } - * ]; - * - * _.keyBy(array, function(o) { - * return String.fromCharCode(o.code); - * }); - * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } - * - * _.keyBy(array, 'dir'); - * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } - */ -var keyBy = createAggregator(function(result, value, key) { - baseAssignValue(result, key, value); -}); - -module.exports = keyBy; diff --git a/src/node_modules/lodash/keys.js b/src/node_modules/lodash/keys.js deleted file mode 100644 index d143c71..0000000 --- a/src/node_modules/lodash/keys.js +++ /dev/null @@ -1,37 +0,0 @@ -var arrayLikeKeys = require('./_arrayLikeKeys'), - baseKeys = require('./_baseKeys'), - isArrayLike = require('./isArrayLike'); - -/** - * Creates an array of the own enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. See the - * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * for more details. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keys(new Foo); - * // => ['a', 'b'] (iteration order is not guaranteed) - * - * _.keys('hi'); - * // => ['0', '1'] - */ -function keys(object) { - return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); -} - -module.exports = keys; diff --git a/src/node_modules/lodash/keysIn.js b/src/node_modules/lodash/keysIn.js deleted file mode 100644 index a62308f..0000000 --- a/src/node_modules/lodash/keysIn.js +++ /dev/null @@ -1,32 +0,0 @@ -var arrayLikeKeys = require('./_arrayLikeKeys'), - baseKeysIn = require('./_baseKeysIn'), - isArrayLike = require('./isArrayLike'); - -/** - * Creates an array of the own and inherited enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keysIn(new Foo); - * // => ['a', 'b', 'c'] (iteration order is not guaranteed) - */ -function keysIn(object) { - return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object); -} - -module.exports = keysIn; diff --git a/src/node_modules/lodash/lang.js b/src/node_modules/lodash/lang.js deleted file mode 100644 index a396216..0000000 --- a/src/node_modules/lodash/lang.js +++ /dev/null @@ -1,58 +0,0 @@ -module.exports = { - 'castArray': require('./castArray'), - 'clone': require('./clone'), - 'cloneDeep': require('./cloneDeep'), - 'cloneDeepWith': require('./cloneDeepWith'), - 'cloneWith': require('./cloneWith'), - 'conformsTo': require('./conformsTo'), - 'eq': require('./eq'), - 'gt': require('./gt'), - 'gte': require('./gte'), - 'isArguments': require('./isArguments'), - 'isArray': require('./isArray'), - 'isArrayBuffer': require('./isArrayBuffer'), - 'isArrayLike': require('./isArrayLike'), - 'isArrayLikeObject': require('./isArrayLikeObject'), - 'isBoolean': require('./isBoolean'), - 'isBuffer': require('./isBuffer'), - 'isDate': require('./isDate'), - 'isElement': require('./isElement'), - 'isEmpty': require('./isEmpty'), - 'isEqual': require('./isEqual'), - 'isEqualWith': require('./isEqualWith'), - 'isError': require('./isError'), - 'isFinite': require('./isFinite'), - 'isFunction': require('./isFunction'), - 'isInteger': require('./isInteger'), - 'isLength': require('./isLength'), - 'isMap': require('./isMap'), - 'isMatch': require('./isMatch'), - 'isMatchWith': require('./isMatchWith'), - 'isNaN': require('./isNaN'), - 'isNative': require('./isNative'), - 'isNil': require('./isNil'), - 'isNull': require('./isNull'), - 'isNumber': require('./isNumber'), - 'isObject': require('./isObject'), - 'isObjectLike': require('./isObjectLike'), - 'isPlainObject': require('./isPlainObject'), - 'isRegExp': require('./isRegExp'), - 'isSafeInteger': require('./isSafeInteger'), - 'isSet': require('./isSet'), - 'isString': require('./isString'), - 'isSymbol': require('./isSymbol'), - 'isTypedArray': require('./isTypedArray'), - 'isUndefined': require('./isUndefined'), - 'isWeakMap': require('./isWeakMap'), - 'isWeakSet': require('./isWeakSet'), - 'lt': require('./lt'), - 'lte': require('./lte'), - 'toArray': require('./toArray'), - 'toFinite': require('./toFinite'), - 'toInteger': require('./toInteger'), - 'toLength': require('./toLength'), - 'toNumber': require('./toNumber'), - 'toPlainObject': require('./toPlainObject'), - 'toSafeInteger': require('./toSafeInteger'), - 'toString': require('./toString') -}; diff --git a/src/node_modules/lodash/last.js b/src/node_modules/lodash/last.js deleted file mode 100644 index cad1eaf..0000000 --- a/src/node_modules/lodash/last.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Gets the last element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the last element of `array`. - * @example - * - * _.last([1, 2, 3]); - * // => 3 - */ -function last(array) { - var length = array == null ? 0 : array.length; - return length ? array[length - 1] : undefined; -} - -module.exports = last; diff --git a/src/node_modules/lodash/lastIndexOf.js b/src/node_modules/lodash/lastIndexOf.js deleted file mode 100644 index dabfb61..0000000 --- a/src/node_modules/lodash/lastIndexOf.js +++ /dev/null @@ -1,46 +0,0 @@ -var baseFindIndex = require('./_baseFindIndex'), - baseIsNaN = require('./_baseIsNaN'), - strictLastIndexOf = require('./_strictLastIndexOf'), - toInteger = require('./toInteger'); - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max, - nativeMin = Math.min; - -/** - * This method is like `_.indexOf` except that it iterates over elements of - * `array` from right to left. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=array.length-1] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.lastIndexOf([1, 2, 1, 2], 2); - * // => 3 - * - * // Search from the `fromIndex`. - * _.lastIndexOf([1, 2, 1, 2], 2, 2); - * // => 1 - */ -function lastIndexOf(array, value, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = length; - if (fromIndex !== undefined) { - index = toInteger(fromIndex); - index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1); - } - return value === value - ? strictLastIndexOf(array, value, index) - : baseFindIndex(array, baseIsNaN, index, true); -} - -module.exports = lastIndexOf; diff --git a/src/node_modules/lodash/lodash.js b/src/node_modules/lodash/lodash.js deleted file mode 100644 index b39ddce..0000000 --- a/src/node_modules/lodash/lodash.js +++ /dev/null @@ -1,17084 +0,0 @@ -/** - * @license - * Lodash - * Copyright JS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */ -;(function() { - - /** Used as a safe reference for `undefined` in pre-ES5 environments. */ - var undefined; - - /** Used as the semantic version number. */ - var VERSION = '4.17.4'; - - /** Used as the size to enable large array optimizations. */ - var LARGE_ARRAY_SIZE = 200; - - /** Error message constants. */ - var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.', - FUNC_ERROR_TEXT = 'Expected a function'; - - /** Used to stand-in for `undefined` hash values. */ - var HASH_UNDEFINED = '__lodash_hash_undefined__'; - - /** Used as the maximum memoize cache size. */ - var MAX_MEMOIZE_SIZE = 500; - - /** Used as the internal argument placeholder. */ - var PLACEHOLDER = '__lodash_placeholder__'; - - /** Used to compose bitmasks for cloning. */ - var CLONE_DEEP_FLAG = 1, - CLONE_FLAT_FLAG = 2, - CLONE_SYMBOLS_FLAG = 4; - - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - - /** Used to compose bitmasks for function metadata. */ - var WRAP_BIND_FLAG = 1, - WRAP_BIND_KEY_FLAG = 2, - WRAP_CURRY_BOUND_FLAG = 4, - WRAP_CURRY_FLAG = 8, - WRAP_CURRY_RIGHT_FLAG = 16, - WRAP_PARTIAL_FLAG = 32, - WRAP_PARTIAL_RIGHT_FLAG = 64, - WRAP_ARY_FLAG = 128, - WRAP_REARG_FLAG = 256, - WRAP_FLIP_FLAG = 512; - - /** Used as default options for `_.truncate`. */ - var DEFAULT_TRUNC_LENGTH = 30, - DEFAULT_TRUNC_OMISSION = '...'; - - /** Used to detect hot functions by number of calls within a span of milliseconds. */ - var HOT_COUNT = 800, - HOT_SPAN = 16; - - /** Used to indicate the type of lazy iteratees. */ - var LAZY_FILTER_FLAG = 1, - LAZY_MAP_FLAG = 2, - LAZY_WHILE_FLAG = 3; - - /** Used as references for various `Number` constants. */ - var INFINITY = 1 / 0, - MAX_SAFE_INTEGER = 9007199254740991, - MAX_INTEGER = 1.7976931348623157e+308, - NAN = 0 / 0; - - /** Used as references for the maximum length and index of an array. */ - var MAX_ARRAY_LENGTH = 4294967295, - MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1, - HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1; - - /** Used to associate wrap methods with their bit flags. */ - var wrapFlags = [ - ['ary', WRAP_ARY_FLAG], - ['bind', WRAP_BIND_FLAG], - ['bindKey', WRAP_BIND_KEY_FLAG], - ['curry', WRAP_CURRY_FLAG], - ['curryRight', WRAP_CURRY_RIGHT_FLAG], - ['flip', WRAP_FLIP_FLAG], - ['partial', WRAP_PARTIAL_FLAG], - ['partialRight', WRAP_PARTIAL_RIGHT_FLAG], - ['rearg', WRAP_REARG_FLAG] - ]; - - /** `Object#toString` result references. */ - var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - asyncTag = '[object AsyncFunction]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - domExcTag = '[object DOMException]', - errorTag = '[object Error]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - mapTag = '[object Map]', - numberTag = '[object Number]', - nullTag = '[object Null]', - objectTag = '[object Object]', - promiseTag = '[object Promise]', - proxyTag = '[object Proxy]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - symbolTag = '[object Symbol]', - undefinedTag = '[object Undefined]', - weakMapTag = '[object WeakMap]', - weakSetTag = '[object WeakSet]'; - - var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; - - /** Used to match empty string literals in compiled template source. */ - var reEmptyStringLeading = /\b__p \+= '';/g, - reEmptyStringMiddle = /\b(__p \+=) '' \+/g, - reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g; - - /** Used to match HTML entities and HTML characters. */ - var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g, - reUnescapedHtml = /[&<>"']/g, - reHasEscapedHtml = RegExp(reEscapedHtml.source), - reHasUnescapedHtml = RegExp(reUnescapedHtml.source); - - /** Used to match template delimiters. */ - var reEscape = /<%-([\s\S]+?)%>/g, - reEvaluate = /<%([\s\S]+?)%>/g, - reInterpolate = /<%=([\s\S]+?)%>/g; - - /** Used to match property names within property paths. */ - var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, - reIsPlainProp = /^\w*$/, - reLeadingDot = /^\./, - rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; - - /** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ - var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, - reHasRegExpChar = RegExp(reRegExpChar.source); - - /** Used to match leading and trailing whitespace. */ - var reTrim = /^\s+|\s+$/g, - reTrimStart = /^\s+/, - reTrimEnd = /\s+$/; - - /** Used to match wrap detail comments. */ - var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, - reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, - reSplitDetails = /,? & /; - - /** Used to match words composed of alphanumeric characters. */ - var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; - - /** Used to match backslashes in property paths. */ - var reEscapeChar = /\\(\\)?/g; - - /** - * Used to match - * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components). - */ - var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g; - - /** Used to match `RegExp` flags from their coerced string values. */ - var reFlags = /\w*$/; - - /** Used to detect bad signed hexadecimal string values. */ - var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; - - /** Used to detect binary string values. */ - var reIsBinary = /^0b[01]+$/i; - - /** Used to detect host constructors (Safari). */ - var reIsHostCtor = /^\[object .+?Constructor\]$/; - - /** Used to detect octal string values. */ - var reIsOctal = /^0o[0-7]+$/i; - - /** Used to detect unsigned integer values. */ - var reIsUint = /^(?:0|[1-9]\d*)$/; - - /** Used to match Latin Unicode letters (excluding mathematical operators). */ - var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g; - - /** Used to ensure capturing order of template delimiters. */ - var reNoMatch = /($^)/; - - /** Used to match unescaped characters in compiled string literals. */ - var reUnescapedString = /['\n\r\u2028\u2029\\]/g; - - /** Used to compose unicode character classes. */ - var rsAstralRange = '\\ud800-\\udfff', - rsComboMarksRange = '\\u0300-\\u036f', - reComboHalfMarksRange = '\\ufe20-\\ufe2f', - rsComboSymbolsRange = '\\u20d0-\\u20ff', - rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, - rsDingbatRange = '\\u2700-\\u27bf', - rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff', - rsMathOpRange = '\\xac\\xb1\\xd7\\xf7', - rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf', - rsPunctuationRange = '\\u2000-\\u206f', - rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000', - rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde', - rsVarRange = '\\ufe0e\\ufe0f', - rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange; - - /** Used to compose unicode capture groups. */ - var rsApos = "['\u2019]", - rsAstral = '[' + rsAstralRange + ']', - rsBreak = '[' + rsBreakRange + ']', - rsCombo = '[' + rsComboRange + ']', - rsDigits = '\\d+', - rsDingbat = '[' + rsDingbatRange + ']', - rsLower = '[' + rsLowerRange + ']', - rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']', - rsFitz = '\\ud83c[\\udffb-\\udfff]', - rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', - rsNonAstral = '[^' + rsAstralRange + ']', - rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', - rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', - rsUpper = '[' + rsUpperRange + ']', - rsZWJ = '\\u200d'; - - /** Used to compose unicode regexes. */ - var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')', - rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')', - rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?', - rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?', - reOptMod = rsModifier + '?', - rsOptVar = '[' + rsVarRange + ']?', - rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', - rsOrdLower = '\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)', - rsOrdUpper = '\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)', - rsSeq = rsOptVar + reOptMod + rsOptJoin, - rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq, - rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')'; - - /** Used to match apostrophes. */ - var reApos = RegExp(rsApos, 'g'); - - /** - * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and - * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols). - */ - var reComboMark = RegExp(rsCombo, 'g'); - - /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ - var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); - - /** Used to match complex or compound words. */ - var reUnicodeWord = RegExp([ - rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')', - rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')', - rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower, - rsUpper + '+' + rsOptContrUpper, - rsOrdUpper, - rsOrdLower, - rsDigits, - rsEmoji - ].join('|'), 'g'); - - /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */ - var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']'); - - /** Used to detect strings that need a more robust regexp to match words. */ - var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; - - /** Used to assign default `context` object properties. */ - var contextProps = [ - 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array', - 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object', - 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array', - 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap', - '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout' - ]; - - /** Used to make template sourceURLs easier to identify. */ - var templateCounter = -1; - - /** Used to identify `toStringTag` values of typed arrays. */ - var typedArrayTags = {}; - typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = - typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = - typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = - typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = - typedArrayTags[uint32Tag] = true; - typedArrayTags[argsTag] = typedArrayTags[arrayTag] = - typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = - typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = - typedArrayTags[errorTag] = typedArrayTags[funcTag] = - typedArrayTags[mapTag] = typedArrayTags[numberTag] = - typedArrayTags[objectTag] = typedArrayTags[regexpTag] = - typedArrayTags[setTag] = typedArrayTags[stringTag] = - typedArrayTags[weakMapTag] = false; - - /** Used to identify `toStringTag` values supported by `_.clone`. */ - var cloneableTags = {}; - cloneableTags[argsTag] = cloneableTags[arrayTag] = - cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = - cloneableTags[boolTag] = cloneableTags[dateTag] = - cloneableTags[float32Tag] = cloneableTags[float64Tag] = - cloneableTags[int8Tag] = cloneableTags[int16Tag] = - cloneableTags[int32Tag] = cloneableTags[mapTag] = - cloneableTags[numberTag] = cloneableTags[objectTag] = - cloneableTags[regexpTag] = cloneableTags[setTag] = - cloneableTags[stringTag] = cloneableTags[symbolTag] = - cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = - cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true; - cloneableTags[errorTag] = cloneableTags[funcTag] = - cloneableTags[weakMapTag] = false; - - /** Used to map Latin Unicode letters to basic Latin letters. */ - var deburredLetters = { - // Latin-1 Supplement block. - '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A', - '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a', - '\xc7': 'C', '\xe7': 'c', - '\xd0': 'D', '\xf0': 'd', - '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E', - '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e', - '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I', - '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i', - '\xd1': 'N', '\xf1': 'n', - '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O', - '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o', - '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U', - '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u', - '\xdd': 'Y', '\xfd': 'y', '\xff': 'y', - '\xc6': 'Ae', '\xe6': 'ae', - '\xde': 'Th', '\xfe': 'th', - '\xdf': 'ss', - // Latin Extended-A block. - '\u0100': 'A', '\u0102': 'A', '\u0104': 'A', - '\u0101': 'a', '\u0103': 'a', '\u0105': 'a', - '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C', - '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c', - '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd', - '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E', - '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e', - '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G', - '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g', - '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h', - '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I', - '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i', - '\u0134': 'J', '\u0135': 'j', - '\u0136': 'K', '\u0137': 'k', '\u0138': 'k', - '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L', - '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l', - '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N', - '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n', - '\u014c': 'O', '\u014e': 'O', '\u0150': 'O', - '\u014d': 'o', '\u014f': 'o', '\u0151': 'o', - '\u0154': 'R', '\u0156': 'R', '\u0158': 'R', - '\u0155': 'r', '\u0157': 'r', '\u0159': 'r', - '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S', - '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's', - '\u0162': 'T', '\u0164': 'T', '\u0166': 'T', - '\u0163': 't', '\u0165': 't', '\u0167': 't', - '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U', - '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u', - '\u0174': 'W', '\u0175': 'w', - '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y', - '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z', - '\u017a': 'z', '\u017c': 'z', '\u017e': 'z', - '\u0132': 'IJ', '\u0133': 'ij', - '\u0152': 'Oe', '\u0153': 'oe', - '\u0149': "'n", '\u017f': 's' - }; - - /** Used to map characters to HTML entities. */ - var htmlEscapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''' - }; - - /** Used to map HTML entities to characters. */ - var htmlUnescapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - ''': "'" - }; - - /** Used to escape characters for inclusion in compiled string literals. */ - var stringEscapes = { - '\\': '\\', - "'": "'", - '\n': 'n', - '\r': 'r', - '\u2028': 'u2028', - '\u2029': 'u2029' - }; - - /** Built-in method references without a dependency on `root`. */ - var freeParseFloat = parseFloat, - freeParseInt = parseInt; - - /** Detect free variable `global` from Node.js. */ - var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - - /** Detect free variable `self`. */ - var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - - /** Used as a reference to the global object. */ - var root = freeGlobal || freeSelf || Function('return this')(); - - /** Detect free variable `exports`. */ - var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; - - /** Detect free variable `module`. */ - var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; - - /** Detect the popular CommonJS extension `module.exports`. */ - var moduleExports = freeModule && freeModule.exports === freeExports; - - /** Detect free variable `process` from Node.js. */ - var freeProcess = moduleExports && freeGlobal.process; - - /** Used to access faster Node.js helpers. */ - var nodeUtil = (function() { - try { - return freeProcess && freeProcess.binding && freeProcess.binding('util'); - } catch (e) {} - }()); - - /* Node.js helper references. */ - var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, - nodeIsDate = nodeUtil && nodeUtil.isDate, - nodeIsMap = nodeUtil && nodeUtil.isMap, - nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, - nodeIsSet = nodeUtil && nodeUtil.isSet, - nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; - - /*--------------------------------------------------------------------------*/ - - /** - * Adds the key-value `pair` to `map`. - * - * @private - * @param {Object} map The map to modify. - * @param {Array} pair The key-value pair to add. - * @returns {Object} Returns `map`. - */ - function addMapEntry(map, pair) { - // Don't return `map.set` because it's not chainable in IE 11. - map.set(pair[0], pair[1]); - return map; - } - - /** - * Adds `value` to `set`. - * - * @private - * @param {Object} set The set to modify. - * @param {*} value The value to add. - * @returns {Object} Returns `set`. - */ - function addSetEntry(set, value) { - // Don't return `set.add` because it's not chainable in IE 11. - set.add(value); - return set; - } - - /** - * A faster alternative to `Function#apply`, this function invokes `func` - * with the `this` binding of `thisArg` and the arguments of `args`. - * - * @private - * @param {Function} func The function to invoke. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} args The arguments to invoke `func` with. - * @returns {*} Returns the result of `func`. - */ - function apply(func, thisArg, args) { - switch (args.length) { - case 0: return func.call(thisArg); - case 1: return func.call(thisArg, args[0]); - case 2: return func.call(thisArg, args[0], args[1]); - case 3: return func.call(thisArg, args[0], args[1], args[2]); - } - return func.apply(thisArg, args); - } - - /** - * A specialized version of `baseAggregator` for arrays. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform keys. - * @param {Object} accumulator The initial aggregated object. - * @returns {Function} Returns `accumulator`. - */ - function arrayAggregator(array, setter, iteratee, accumulator) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - var value = array[index]; - setter(accumulator, value, iteratee(value), array); - } - return accumulator; - } - - /** - * A specialized version of `_.forEach` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns `array`. - */ - function arrayEach(array, iteratee) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (iteratee(array[index], index, array) === false) { - break; - } - } - return array; - } - - /** - * A specialized version of `_.forEachRight` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns `array`. - */ - function arrayEachRight(array, iteratee) { - var length = array == null ? 0 : array.length; - - while (length--) { - if (iteratee(array[length], length, array) === false) { - break; - } - } - return array; - } - - /** - * A specialized version of `_.every` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - */ - function arrayEvery(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (!predicate(array[index], index, array)) { - return false; - } - } - return true; - } - - /** - * A specialized version of `_.filter` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ - function arrayFilter(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result[resIndex++] = value; - } - } - return result; - } - - /** - * A specialized version of `_.includes` for arrays without support for - * specifying an index to search from. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ - function arrayIncludes(array, value) { - var length = array == null ? 0 : array.length; - return !!length && baseIndexOf(array, value, 0) > -1; - } - - /** - * This function is like `arrayIncludes` except that it accepts a comparator. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @param {Function} comparator The comparator invoked per element. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ - function arrayIncludesWith(array, value, comparator) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (comparator(value, array[index])) { - return true; - } - } - return false; - } - - /** - * A specialized version of `_.map` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ - function arrayMap(array, iteratee) { - var index = -1, - length = array == null ? 0 : array.length, - result = Array(length); - - while (++index < length) { - result[index] = iteratee(array[index], index, array); - } - return result; - } - - /** - * Appends the elements of `values` to `array`. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to append. - * @returns {Array} Returns `array`. - */ - function arrayPush(array, values) { - var index = -1, - length = values.length, - offset = array.length; - - while (++index < length) { - array[offset + index] = values[index]; - } - return array; - } - - /** - * A specialized version of `_.reduce` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {boolean} [initAccum] Specify using the first element of `array` as - * the initial value. - * @returns {*} Returns the accumulated value. - */ - function arrayReduce(array, iteratee, accumulator, initAccum) { - var index = -1, - length = array == null ? 0 : array.length; - - if (initAccum && length) { - accumulator = array[++index]; - } - while (++index < length) { - accumulator = iteratee(accumulator, array[index], index, array); - } - return accumulator; - } - - /** - * A specialized version of `_.reduceRight` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {boolean} [initAccum] Specify using the last element of `array` as - * the initial value. - * @returns {*} Returns the accumulated value. - */ - function arrayReduceRight(array, iteratee, accumulator, initAccum) { - var length = array == null ? 0 : array.length; - if (initAccum && length) { - accumulator = array[--length]; - } - while (length--) { - accumulator = iteratee(accumulator, array[length], length, array); - } - return accumulator; - } - - /** - * A specialized version of `_.some` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ - function arraySome(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (predicate(array[index], index, array)) { - return true; - } - } - return false; - } - - /** - * Gets the size of an ASCII `string`. - * - * @private - * @param {string} string The string inspect. - * @returns {number} Returns the string size. - */ - var asciiSize = baseProperty('length'); - - /** - * Converts an ASCII `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ - function asciiToArray(string) { - return string.split(''); - } - - /** - * Splits an ASCII `string` into an array of its words. - * - * @private - * @param {string} The string to inspect. - * @returns {Array} Returns the words of `string`. - */ - function asciiWords(string) { - return string.match(reAsciiWord) || []; - } - - /** - * The base implementation of methods like `_.findKey` and `_.findLastKey`, - * without support for iteratee shorthands, which iterates over `collection` - * using `eachFunc`. - * - * @private - * @param {Array|Object} collection The collection to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {Function} eachFunc The function to iterate over `collection`. - * @returns {*} Returns the found element or its key, else `undefined`. - */ - function baseFindKey(collection, predicate, eachFunc) { - var result; - eachFunc(collection, function(value, key, collection) { - if (predicate(value, key, collection)) { - result = key; - return false; - } - }); - return result; - } - - /** - * The base implementation of `_.findIndex` and `_.findLastIndex` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {number} fromIndex The index to search from. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseFindIndex(array, predicate, fromIndex, fromRight) { - var length = array.length, - index = fromIndex + (fromRight ? 1 : -1); - - while ((fromRight ? index-- : ++index < length)) { - if (predicate(array[index], index, array)) { - return index; - } - } - return -1; - } - - /** - * The base implementation of `_.indexOf` without `fromIndex` bounds checks. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseIndexOf(array, value, fromIndex) { - return value === value - ? strictIndexOf(array, value, fromIndex) - : baseFindIndex(array, baseIsNaN, fromIndex); - } - - /** - * This function is like `baseIndexOf` except that it accepts a comparator. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @param {Function} comparator The comparator invoked per element. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseIndexOfWith(array, value, fromIndex, comparator) { - var index = fromIndex - 1, - length = array.length; - - while (++index < length) { - if (comparator(array[index], value)) { - return index; - } - } - return -1; - } - - /** - * The base implementation of `_.isNaN` without support for number objects. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. - */ - function baseIsNaN(value) { - return value !== value; - } - - /** - * The base implementation of `_.mean` and `_.meanBy` without support for - * iteratee shorthands. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {number} Returns the mean. - */ - function baseMean(array, iteratee) { - var length = array == null ? 0 : array.length; - return length ? (baseSum(array, iteratee) / length) : NAN; - } - - /** - * The base implementation of `_.property` without support for deep paths. - * - * @private - * @param {string} key The key of the property to get. - * @returns {Function} Returns the new accessor function. - */ - function baseProperty(key) { - return function(object) { - return object == null ? undefined : object[key]; - }; - } - - /** - * The base implementation of `_.propertyOf` without support for deep paths. - * - * @private - * @param {Object} object The object to query. - * @returns {Function} Returns the new accessor function. - */ - function basePropertyOf(object) { - return function(key) { - return object == null ? undefined : object[key]; - }; - } - - /** - * The base implementation of `_.reduce` and `_.reduceRight`, without support - * for iteratee shorthands, which iterates over `collection` using `eachFunc`. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} accumulator The initial value. - * @param {boolean} initAccum Specify using the first or last element of - * `collection` as the initial value. - * @param {Function} eachFunc The function to iterate over `collection`. - * @returns {*} Returns the accumulated value. - */ - function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) { - eachFunc(collection, function(value, index, collection) { - accumulator = initAccum - ? (initAccum = false, value) - : iteratee(accumulator, value, index, collection); - }); - return accumulator; - } - - /** - * The base implementation of `_.sortBy` which uses `comparer` to define the - * sort order of `array` and replaces criteria objects with their corresponding - * values. - * - * @private - * @param {Array} array The array to sort. - * @param {Function} comparer The function to define sort order. - * @returns {Array} Returns `array`. - */ - function baseSortBy(array, comparer) { - var length = array.length; - - array.sort(comparer); - while (length--) { - array[length] = array[length].value; - } - return array; - } - - /** - * The base implementation of `_.sum` and `_.sumBy` without support for - * iteratee shorthands. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {number} Returns the sum. - */ - function baseSum(array, iteratee) { - var result, - index = -1, - length = array.length; - - while (++index < length) { - var current = iteratee(array[index]); - if (current !== undefined) { - result = result === undefined ? current : (result + current); - } - } - return result; - } - - /** - * The base implementation of `_.times` without support for iteratee shorthands - * or max array length checks. - * - * @private - * @param {number} n The number of times to invoke `iteratee`. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the array of results. - */ - function baseTimes(n, iteratee) { - var index = -1, - result = Array(n); - - while (++index < n) { - result[index] = iteratee(index); - } - return result; - } - - /** - * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array - * of key-value pairs for `object` corresponding to the property names of `props`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} props The property names to get values for. - * @returns {Object} Returns the key-value pairs. - */ - function baseToPairs(object, props) { - return arrayMap(props, function(key) { - return [key, object[key]]; - }); - } - - /** - * The base implementation of `_.unary` without support for storing metadata. - * - * @private - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - */ - function baseUnary(func) { - return function(value) { - return func(value); - }; - } - - /** - * The base implementation of `_.values` and `_.valuesIn` which creates an - * array of `object` property values corresponding to the property names - * of `props`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} props The property names to get values for. - * @returns {Object} Returns the array of property values. - */ - function baseValues(object, props) { - return arrayMap(props, function(key) { - return object[key]; - }); - } - - /** - * Checks if a `cache` value for `key` exists. - * - * @private - * @param {Object} cache The cache to query. - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function cacheHas(cache, key) { - return cache.has(key); - } - - /** - * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol - * that is not found in the character symbols. - * - * @private - * @param {Array} strSymbols The string symbols to inspect. - * @param {Array} chrSymbols The character symbols to find. - * @returns {number} Returns the index of the first unmatched string symbol. - */ - function charsStartIndex(strSymbols, chrSymbols) { - var index = -1, - length = strSymbols.length; - - while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} - return index; - } - - /** - * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol - * that is not found in the character symbols. - * - * @private - * @param {Array} strSymbols The string symbols to inspect. - * @param {Array} chrSymbols The character symbols to find. - * @returns {number} Returns the index of the last unmatched string symbol. - */ - function charsEndIndex(strSymbols, chrSymbols) { - var index = strSymbols.length; - - while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} - return index; - } - - /** - * Gets the number of `placeholder` occurrences in `array`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} placeholder The placeholder to search for. - * @returns {number} Returns the placeholder count. - */ - function countHolders(array, placeholder) { - var length = array.length, - result = 0; - - while (length--) { - if (array[length] === placeholder) { - ++result; - } - } - return result; - } - - /** - * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A - * letters to basic Latin letters. - * - * @private - * @param {string} letter The matched letter to deburr. - * @returns {string} Returns the deburred letter. - */ - var deburrLetter = basePropertyOf(deburredLetters); - - /** - * Used by `_.escape` to convert characters to HTML entities. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ - var escapeHtmlChar = basePropertyOf(htmlEscapes); - - /** - * Used by `_.template` to escape characters for inclusion in compiled string literals. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ - function escapeStringChar(chr) { - return '\\' + stringEscapes[chr]; - } - - /** - * Gets the value at `key` of `object`. - * - * @private - * @param {Object} [object] The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ - function getValue(object, key) { - return object == null ? undefined : object[key]; - } - - /** - * Checks if `string` contains Unicode symbols. - * - * @private - * @param {string} string The string to inspect. - * @returns {boolean} Returns `true` if a symbol is found, else `false`. - */ - function hasUnicode(string) { - return reHasUnicode.test(string); - } - - /** - * Checks if `string` contains a word composed of Unicode symbols. - * - * @private - * @param {string} string The string to inspect. - * @returns {boolean} Returns `true` if a word is found, else `false`. - */ - function hasUnicodeWord(string) { - return reHasUnicodeWord.test(string); - } - - /** - * Converts `iterator` to an array. - * - * @private - * @param {Object} iterator The iterator to convert. - * @returns {Array} Returns the converted array. - */ - function iteratorToArray(iterator) { - var data, - result = []; - - while (!(data = iterator.next()).done) { - result.push(data.value); - } - return result; - } - - /** - * Converts `map` to its key-value pairs. - * - * @private - * @param {Object} map The map to convert. - * @returns {Array} Returns the key-value pairs. - */ - function mapToArray(map) { - var index = -1, - result = Array(map.size); - - map.forEach(function(value, key) { - result[++index] = [key, value]; - }); - return result; - } - - /** - * Creates a unary function that invokes `func` with its argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ - function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; - } - - /** - * Replaces all `placeholder` elements in `array` with an internal placeholder - * and returns an array of their indexes. - * - * @private - * @param {Array} array The array to modify. - * @param {*} placeholder The placeholder to replace. - * @returns {Array} Returns the new array of placeholder indexes. - */ - function replaceHolders(array, placeholder) { - var index = -1, - length = array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (value === placeholder || value === PLACEHOLDER) { - array[index] = PLACEHOLDER; - result[resIndex++] = index; - } - } - return result; - } - - /** - * Converts `set` to an array of its values. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the values. - */ - function setToArray(set) { - var index = -1, - result = Array(set.size); - - set.forEach(function(value) { - result[++index] = value; - }); - return result; - } - - /** - * Converts `set` to its value-value pairs. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the value-value pairs. - */ - function setToPairs(set) { - var index = -1, - result = Array(set.size); - - set.forEach(function(value) { - result[++index] = [value, value]; - }); - return result; - } - - /** - * A specialized version of `_.indexOf` which performs strict equality - * comparisons of values, i.e. `===`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function strictIndexOf(array, value, fromIndex) { - var index = fromIndex - 1, - length = array.length; - - while (++index < length) { - if (array[index] === value) { - return index; - } - } - return -1; - } - - /** - * A specialized version of `_.lastIndexOf` which performs strict equality - * comparisons of values, i.e. `===`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function strictLastIndexOf(array, value, fromIndex) { - var index = fromIndex + 1; - while (index--) { - if (array[index] === value) { - return index; - } - } - return index; - } - - /** - * Gets the number of symbols in `string`. - * - * @private - * @param {string} string The string to inspect. - * @returns {number} Returns the string size. - */ - function stringSize(string) { - return hasUnicode(string) - ? unicodeSize(string) - : asciiSize(string); - } - - /** - * Converts `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ - function stringToArray(string) { - return hasUnicode(string) - ? unicodeToArray(string) - : asciiToArray(string); - } - - /** - * Used by `_.unescape` to convert HTML entities to characters. - * - * @private - * @param {string} chr The matched character to unescape. - * @returns {string} Returns the unescaped character. - */ - var unescapeHtmlChar = basePropertyOf(htmlUnescapes); - - /** - * Gets the size of a Unicode `string`. - * - * @private - * @param {string} string The string inspect. - * @returns {number} Returns the string size. - */ - function unicodeSize(string) { - var result = reUnicode.lastIndex = 0; - while (reUnicode.test(string)) { - ++result; - } - return result; - } - - /** - * Converts a Unicode `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ - function unicodeToArray(string) { - return string.match(reUnicode) || []; - } - - /** - * Splits a Unicode `string` into an array of its words. - * - * @private - * @param {string} The string to inspect. - * @returns {Array} Returns the words of `string`. - */ - function unicodeWords(string) { - return string.match(reUnicodeWord) || []; - } - - /*--------------------------------------------------------------------------*/ - - /** - * Create a new pristine `lodash` function using the `context` object. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Util - * @param {Object} [context=root] The context object. - * @returns {Function} Returns a new `lodash` function. - * @example - * - * _.mixin({ 'foo': _.constant('foo') }); - * - * var lodash = _.runInContext(); - * lodash.mixin({ 'bar': lodash.constant('bar') }); - * - * _.isFunction(_.foo); - * // => true - * _.isFunction(_.bar); - * // => false - * - * lodash.isFunction(lodash.foo); - * // => false - * lodash.isFunction(lodash.bar); - * // => true - * - * // Create a suped-up `defer` in Node.js. - * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer; - */ - var runInContext = (function runInContext(context) { - context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps)); - - /** Built-in constructor references. */ - var Array = context.Array, - Date = context.Date, - Error = context.Error, - Function = context.Function, - Math = context.Math, - Object = context.Object, - RegExp = context.RegExp, - String = context.String, - TypeError = context.TypeError; - - /** Used for built-in method references. */ - var arrayProto = Array.prototype, - funcProto = Function.prototype, - objectProto = Object.prototype; - - /** Used to detect overreaching core-js shims. */ - var coreJsData = context['__core-js_shared__']; - - /** Used to resolve the decompiled source of functions. */ - var funcToString = funcProto.toString; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** Used to generate unique IDs. */ - var idCounter = 0; - - /** Used to detect methods masquerading as native. */ - var maskSrcKey = (function() { - var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); - return uid ? ('Symbol(src)_1.' + uid) : ''; - }()); - - /** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ - var nativeObjectToString = objectProto.toString; - - /** Used to infer the `Object` constructor. */ - var objectCtorString = funcToString.call(Object); - - /** Used to restore the original `_` reference in `_.noConflict`. */ - var oldDash = root._; - - /** Used to detect if a method is native. */ - var reIsNative = RegExp('^' + - funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' - ); - - /** Built-in value references. */ - var Buffer = moduleExports ? context.Buffer : undefined, - Symbol = context.Symbol, - Uint8Array = context.Uint8Array, - allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined, - getPrototype = overArg(Object.getPrototypeOf, Object), - objectCreate = Object.create, - propertyIsEnumerable = objectProto.propertyIsEnumerable, - splice = arrayProto.splice, - spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined, - symIterator = Symbol ? Symbol.iterator : undefined, - symToStringTag = Symbol ? Symbol.toStringTag : undefined; - - var defineProperty = (function() { - try { - var func = getNative(Object, 'defineProperty'); - func({}, '', {}); - return func; - } catch (e) {} - }()); - - /** Mocked built-ins. */ - var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, - ctxNow = Date && Date.now !== root.Date.now && Date.now, - ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout; - - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeCeil = Math.ceil, - nativeFloor = Math.floor, - nativeGetSymbols = Object.getOwnPropertySymbols, - nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined, - nativeIsFinite = context.isFinite, - nativeJoin = arrayProto.join, - nativeKeys = overArg(Object.keys, Object), - nativeMax = Math.max, - nativeMin = Math.min, - nativeNow = Date.now, - nativeParseInt = context.parseInt, - nativeRandom = Math.random, - nativeReverse = arrayProto.reverse; - - /* Built-in method references that are verified to be native. */ - var DataView = getNative(context, 'DataView'), - Map = getNative(context, 'Map'), - Promise = getNative(context, 'Promise'), - Set = getNative(context, 'Set'), - WeakMap = getNative(context, 'WeakMap'), - nativeCreate = getNative(Object, 'create'); - - /** Used to store function metadata. */ - var metaMap = WeakMap && new WeakMap; - - /** Used to lookup unminified function names. */ - var realNames = {}; - - /** Used to detect maps, sets, and weakmaps. */ - var dataViewCtorString = toSource(DataView), - mapCtorString = toSource(Map), - promiseCtorString = toSource(Promise), - setCtorString = toSource(Set), - weakMapCtorString = toSource(WeakMap); - - /** Used to convert symbols to primitives and strings. */ - var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolValueOf = symbolProto ? symbolProto.valueOf : undefined, - symbolToString = symbolProto ? symbolProto.toString : undefined; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a `lodash` object which wraps `value` to enable implicit method - * chain sequences. Methods that operate on and return arrays, collections, - * and functions can be chained together. Methods that retrieve a single value - * or may return a primitive value will automatically end the chain sequence - * and return the unwrapped value. Otherwise, the value must be unwrapped - * with `_#value`. - * - * Explicit chain sequences, which must be unwrapped with `_#value`, may be - * enabled using `_.chain`. - * - * The execution of chained methods is lazy, that is, it's deferred until - * `_#value` is implicitly or explicitly called. - * - * Lazy evaluation allows several methods to support shortcut fusion. - * Shortcut fusion is an optimization to merge iteratee calls; this avoids - * the creation of intermediate arrays and can greatly reduce the number of - * iteratee executions. Sections of a chain sequence qualify for shortcut - * fusion if the section is applied to an array and iteratees accept only - * one argument. The heuristic for whether a section qualifies for shortcut - * fusion is subject to change. - * - * Chaining is supported in custom builds as long as the `_#value` method is - * directly or indirectly included in the build. - * - * In addition to lodash methods, wrappers have `Array` and `String` methods. - * - * The wrapper `Array` methods are: - * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift` - * - * The wrapper `String` methods are: - * `replace` and `split` - * - * The wrapper methods that support shortcut fusion are: - * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`, - * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`, - * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray` - * - * The chainable wrapper methods are: - * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`, - * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`, - * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`, - * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`, - * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`, - * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`, - * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`, - * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`, - * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`, - * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`, - * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`, - * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`, - * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`, - * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`, - * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`, - * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`, - * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`, - * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`, - * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`, - * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`, - * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`, - * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`, - * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`, - * `zipObject`, `zipObjectDeep`, and `zipWith` - * - * The wrapper methods that are **not** chainable by default are: - * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`, - * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`, - * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`, - * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`, - * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`, - * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`, - * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`, - * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`, - * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`, - * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`, - * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`, - * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`, - * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`, - * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`, - * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`, - * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`, - * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`, - * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`, - * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`, - * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`, - * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`, - * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`, - * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`, - * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`, - * `upperFirst`, `value`, and `words` - * - * @name _ - * @constructor - * @category Seq - * @param {*} value The value to wrap in a `lodash` instance. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var wrapped = _([1, 2, 3]); - * - * // Returns an unwrapped value. - * wrapped.reduce(_.add); - * // => 6 - * - * // Returns a wrapped value. - * var squares = wrapped.map(square); - * - * _.isArray(squares); - * // => false - * - * _.isArray(squares.value()); - * // => true - */ - function lodash(value) { - if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) { - if (value instanceof LodashWrapper) { - return value; - } - if (hasOwnProperty.call(value, '__wrapped__')) { - return wrapperClone(value); - } - } - return new LodashWrapper(value); - } - - /** - * The base implementation of `_.create` without support for assigning - * properties to the created object. - * - * @private - * @param {Object} proto The object to inherit from. - * @returns {Object} Returns the new object. - */ - var baseCreate = (function() { - function object() {} - return function(proto) { - if (!isObject(proto)) { - return {}; - } - if (objectCreate) { - return objectCreate(proto); - } - object.prototype = proto; - var result = new object; - object.prototype = undefined; - return result; - }; - }()); - - /** - * The function whose prototype chain sequence wrappers inherit from. - * - * @private - */ - function baseLodash() { - // No operation performed. - } - - /** - * The base constructor for creating `lodash` wrapper objects. - * - * @private - * @param {*} value The value to wrap. - * @param {boolean} [chainAll] Enable explicit method chain sequences. - */ - function LodashWrapper(value, chainAll) { - this.__wrapped__ = value; - this.__actions__ = []; - this.__chain__ = !!chainAll; - this.__index__ = 0; - this.__values__ = undefined; - } - - /** - * By default, the template delimiters used by lodash are like those in - * embedded Ruby (ERB) as well as ES2015 template strings. Change the - * following template settings to use alternative delimiters. - * - * @static - * @memberOf _ - * @type {Object} - */ - lodash.templateSettings = { - - /** - * Used to detect `data` property values to be HTML-escaped. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'escape': reEscape, - - /** - * Used to detect code to be evaluated. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'evaluate': reEvaluate, - - /** - * Used to detect `data` property values to inject. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'interpolate': reInterpolate, - - /** - * Used to reference the data object in the template text. - * - * @memberOf _.templateSettings - * @type {string} - */ - 'variable': '', - - /** - * Used to import variables into the compiled template. - * - * @memberOf _.templateSettings - * @type {Object} - */ - 'imports': { - - /** - * A reference to the `lodash` function. - * - * @memberOf _.templateSettings.imports - * @type {Function} - */ - '_': lodash - } - }; - - // Ensure wrappers are instances of `baseLodash`. - lodash.prototype = baseLodash.prototype; - lodash.prototype.constructor = lodash; - - LodashWrapper.prototype = baseCreate(baseLodash.prototype); - LodashWrapper.prototype.constructor = LodashWrapper; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. - * - * @private - * @constructor - * @param {*} value The value to wrap. - */ - function LazyWrapper(value) { - this.__wrapped__ = value; - this.__actions__ = []; - this.__dir__ = 1; - this.__filtered__ = false; - this.__iteratees__ = []; - this.__takeCount__ = MAX_ARRAY_LENGTH; - this.__views__ = []; - } - - /** - * Creates a clone of the lazy wrapper object. - * - * @private - * @name clone - * @memberOf LazyWrapper - * @returns {Object} Returns the cloned `LazyWrapper` object. - */ - function lazyClone() { - var result = new LazyWrapper(this.__wrapped__); - result.__actions__ = copyArray(this.__actions__); - result.__dir__ = this.__dir__; - result.__filtered__ = this.__filtered__; - result.__iteratees__ = copyArray(this.__iteratees__); - result.__takeCount__ = this.__takeCount__; - result.__views__ = copyArray(this.__views__); - return result; - } - - /** - * Reverses the direction of lazy iteration. - * - * @private - * @name reverse - * @memberOf LazyWrapper - * @returns {Object} Returns the new reversed `LazyWrapper` object. - */ - function lazyReverse() { - if (this.__filtered__) { - var result = new LazyWrapper(this); - result.__dir__ = -1; - result.__filtered__ = true; - } else { - result = this.clone(); - result.__dir__ *= -1; - } - return result; - } - - /** - * Extracts the unwrapped value from its lazy wrapper. - * - * @private - * @name value - * @memberOf LazyWrapper - * @returns {*} Returns the unwrapped value. - */ - function lazyValue() { - var array = this.__wrapped__.value(), - dir = this.__dir__, - isArr = isArray(array), - isRight = dir < 0, - arrLength = isArr ? array.length : 0, - view = getView(0, arrLength, this.__views__), - start = view.start, - end = view.end, - length = end - start, - index = isRight ? end : (start - 1), - iteratees = this.__iteratees__, - iterLength = iteratees.length, - resIndex = 0, - takeCount = nativeMin(length, this.__takeCount__); - - if (!isArr || (!isRight && arrLength == length && takeCount == length)) { - return baseWrapperValue(array, this.__actions__); - } - var result = []; - - outer: - while (length-- && resIndex < takeCount) { - index += dir; - - var iterIndex = -1, - value = array[index]; - - while (++iterIndex < iterLength) { - var data = iteratees[iterIndex], - iteratee = data.iteratee, - type = data.type, - computed = iteratee(value); - - if (type == LAZY_MAP_FLAG) { - value = computed; - } else if (!computed) { - if (type == LAZY_FILTER_FLAG) { - continue outer; - } else { - break outer; - } - } - } - result[resIndex++] = value; - } - return result; - } - - // Ensure `LazyWrapper` is an instance of `baseLodash`. - LazyWrapper.prototype = baseCreate(baseLodash.prototype); - LazyWrapper.prototype.constructor = LazyWrapper; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a hash object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Hash(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - - /** - * Removes all key-value entries from the hash. - * - * @private - * @name clear - * @memberOf Hash - */ - function hashClear() { - this.__data__ = nativeCreate ? nativeCreate(null) : {}; - this.size = 0; - } - - /** - * Removes `key` and its value from the hash. - * - * @private - * @name delete - * @memberOf Hash - * @param {Object} hash The hash to modify. - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function hashDelete(key) { - var result = this.has(key) && delete this.__data__[key]; - this.size -= result ? 1 : 0; - return result; - } - - /** - * Gets the hash value for `key`. - * - * @private - * @name get - * @memberOf Hash - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function hashGet(key) { - var data = this.__data__; - if (nativeCreate) { - var result = data[key]; - return result === HASH_UNDEFINED ? undefined : result; - } - return hasOwnProperty.call(data, key) ? data[key] : undefined; - } - - /** - * Checks if a hash value for `key` exists. - * - * @private - * @name has - * @memberOf Hash - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function hashHas(key) { - var data = this.__data__; - return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); - } - - /** - * Sets the hash `key` to `value`. - * - * @private - * @name set - * @memberOf Hash - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the hash instance. - */ - function hashSet(key, value) { - var data = this.__data__; - this.size += this.has(key) ? 0 : 1; - data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; - return this; - } - - // Add methods to `Hash`. - Hash.prototype.clear = hashClear; - Hash.prototype['delete'] = hashDelete; - Hash.prototype.get = hashGet; - Hash.prototype.has = hashHas; - Hash.prototype.set = hashSet; - - /*------------------------------------------------------------------------*/ - - /** - * Creates an list cache object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function ListCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - - /** - * Removes all key-value entries from the list cache. - * - * @private - * @name clear - * @memberOf ListCache - */ - function listCacheClear() { - this.__data__ = []; - this.size = 0; - } - - /** - * Removes `key` and its value from the list cache. - * - * @private - * @name delete - * @memberOf ListCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function listCacheDelete(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - return false; - } - var lastIndex = data.length - 1; - if (index == lastIndex) { - data.pop(); - } else { - splice.call(data, index, 1); - } - --this.size; - return true; - } - - /** - * Gets the list cache value for `key`. - * - * @private - * @name get - * @memberOf ListCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function listCacheGet(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - return index < 0 ? undefined : data[index][1]; - } - - /** - * Checks if a list cache value for `key` exists. - * - * @private - * @name has - * @memberOf ListCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function listCacheHas(key) { - return assocIndexOf(this.__data__, key) > -1; - } - - /** - * Sets the list cache `key` to `value`. - * - * @private - * @name set - * @memberOf ListCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the list cache instance. - */ - function listCacheSet(key, value) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - ++this.size; - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; - } - - // Add methods to `ListCache`. - ListCache.prototype.clear = listCacheClear; - ListCache.prototype['delete'] = listCacheDelete; - ListCache.prototype.get = listCacheGet; - ListCache.prototype.has = listCacheHas; - ListCache.prototype.set = listCacheSet; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a map cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function MapCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - - /** - * Removes all key-value entries from the map. - * - * @private - * @name clear - * @memberOf MapCache - */ - function mapCacheClear() { - this.size = 0; - this.__data__ = { - 'hash': new Hash, - 'map': new (Map || ListCache), - 'string': new Hash - }; - } - - /** - * Removes `key` and its value from the map. - * - * @private - * @name delete - * @memberOf MapCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function mapCacheDelete(key) { - var result = getMapData(this, key)['delete'](key); - this.size -= result ? 1 : 0; - return result; - } - - /** - * Gets the map value for `key`. - * - * @private - * @name get - * @memberOf MapCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function mapCacheGet(key) { - return getMapData(this, key).get(key); - } - - /** - * Checks if a map value for `key` exists. - * - * @private - * @name has - * @memberOf MapCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function mapCacheHas(key) { - return getMapData(this, key).has(key); - } - - /** - * Sets the map `key` to `value`. - * - * @private - * @name set - * @memberOf MapCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the map cache instance. - */ - function mapCacheSet(key, value) { - var data = getMapData(this, key), - size = data.size; - - data.set(key, value); - this.size += data.size == size ? 0 : 1; - return this; - } - - // Add methods to `MapCache`. - MapCache.prototype.clear = mapCacheClear; - MapCache.prototype['delete'] = mapCacheDelete; - MapCache.prototype.get = mapCacheGet; - MapCache.prototype.has = mapCacheHas; - MapCache.prototype.set = mapCacheSet; - - /*------------------------------------------------------------------------*/ - - /** - * - * Creates an array cache object to store unique values. - * - * @private - * @constructor - * @param {Array} [values] The values to cache. - */ - function SetCache(values) { - var index = -1, - length = values == null ? 0 : values.length; - - this.__data__ = new MapCache; - while (++index < length) { - this.add(values[index]); - } - } - - /** - * Adds `value` to the array cache. - * - * @private - * @name add - * @memberOf SetCache - * @alias push - * @param {*} value The value to cache. - * @returns {Object} Returns the cache instance. - */ - function setCacheAdd(value) { - this.__data__.set(value, HASH_UNDEFINED); - return this; - } - - /** - * Checks if `value` is in the array cache. - * - * @private - * @name has - * @memberOf SetCache - * @param {*} value The value to search for. - * @returns {number} Returns `true` if `value` is found, else `false`. - */ - function setCacheHas(value) { - return this.__data__.has(value); - } - - // Add methods to `SetCache`. - SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; - SetCache.prototype.has = setCacheHas; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a stack cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Stack(entries) { - var data = this.__data__ = new ListCache(entries); - this.size = data.size; - } - - /** - * Removes all key-value entries from the stack. - * - * @private - * @name clear - * @memberOf Stack - */ - function stackClear() { - this.__data__ = new ListCache; - this.size = 0; - } - - /** - * Removes `key` and its value from the stack. - * - * @private - * @name delete - * @memberOf Stack - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function stackDelete(key) { - var data = this.__data__, - result = data['delete'](key); - - this.size = data.size; - return result; - } - - /** - * Gets the stack value for `key`. - * - * @private - * @name get - * @memberOf Stack - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function stackGet(key) { - return this.__data__.get(key); - } - - /** - * Checks if a stack value for `key` exists. - * - * @private - * @name has - * @memberOf Stack - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function stackHas(key) { - return this.__data__.has(key); - } - - /** - * Sets the stack `key` to `value`. - * - * @private - * @name set - * @memberOf Stack - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the stack cache instance. - */ - function stackSet(key, value) { - var data = this.__data__; - if (data instanceof ListCache) { - var pairs = data.__data__; - if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { - pairs.push([key, value]); - this.size = ++data.size; - return this; - } - data = this.__data__ = new MapCache(pairs); - } - data.set(key, value); - this.size = data.size; - return this; - } - - // Add methods to `Stack`. - Stack.prototype.clear = stackClear; - Stack.prototype['delete'] = stackDelete; - Stack.prototype.get = stackGet; - Stack.prototype.has = stackHas; - Stack.prototype.set = stackSet; - - /*------------------------------------------------------------------------*/ - - /** - * Creates an array of the enumerable property names of the array-like `value`. - * - * @private - * @param {*} value The value to query. - * @param {boolean} inherited Specify returning inherited property names. - * @returns {Array} Returns the array of property names. - */ - function arrayLikeKeys(value, inherited) { - var isArr = isArray(value), - isArg = !isArr && isArguments(value), - isBuff = !isArr && !isArg && isBuffer(value), - isType = !isArr && !isArg && !isBuff && isTypedArray(value), - skipIndexes = isArr || isArg || isBuff || isType, - result = skipIndexes ? baseTimes(value.length, String) : [], - length = result.length; - - for (var key in value) { - if ((inherited || hasOwnProperty.call(value, key)) && - !(skipIndexes && ( - // Safari 9 has enumerable `arguments.length` in strict mode. - key == 'length' || - // Node.js 0.10 has enumerable non-index properties on buffers. - (isBuff && (key == 'offset' || key == 'parent')) || - // PhantomJS 2 has enumerable non-index properties on typed arrays. - (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || - // Skip index properties. - isIndex(key, length) - ))) { - result.push(key); - } - } - return result; - } - - /** - * A specialized version of `_.sample` for arrays. - * - * @private - * @param {Array} array The array to sample. - * @returns {*} Returns the random element. - */ - function arraySample(array) { - var length = array.length; - return length ? array[baseRandom(0, length - 1)] : undefined; - } - - /** - * A specialized version of `_.sampleSize` for arrays. - * - * @private - * @param {Array} array The array to sample. - * @param {number} n The number of elements to sample. - * @returns {Array} Returns the random elements. - */ - function arraySampleSize(array, n) { - return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length)); - } - - /** - * A specialized version of `_.shuffle` for arrays. - * - * @private - * @param {Array} array The array to shuffle. - * @returns {Array} Returns the new shuffled array. - */ - function arrayShuffle(array) { - return shuffleSelf(copyArray(array)); - } - - /** - * This function is like `assignValue` except that it doesn't assign - * `undefined` values. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function assignMergeValue(object, key, value) { - if ((value !== undefined && !eq(object[key], value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } - } - - /** - * Assigns `value` to `key` of `object` if the existing value is not equivalent - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function assignValue(object, key, value) { - var objValue = object[key]; - if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } - } - - /** - * Gets the index at which the `key` is found in `array` of key-value pairs. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} key The key to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function assocIndexOf(array, key) { - var length = array.length; - while (length--) { - if (eq(array[length][0], key)) { - return length; - } - } - return -1; - } - - /** - * Aggregates elements of `collection` on `accumulator` with keys transformed - * by `iteratee` and values set by `setter`. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform keys. - * @param {Object} accumulator The initial aggregated object. - * @returns {Function} Returns `accumulator`. - */ - function baseAggregator(collection, setter, iteratee, accumulator) { - baseEach(collection, function(value, key, collection) { - setter(accumulator, value, iteratee(value), collection); - }); - return accumulator; - } - - /** - * The base implementation of `_.assign` without support for multiple sources - * or `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @returns {Object} Returns `object`. - */ - function baseAssign(object, source) { - return object && copyObject(source, keys(source), object); - } - - /** - * The base implementation of `_.assignIn` without support for multiple sources - * or `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @returns {Object} Returns `object`. - */ - function baseAssignIn(object, source) { - return object && copyObject(source, keysIn(source), object); - } - - /** - * The base implementation of `assignValue` and `assignMergeValue` without - * value checks. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function baseAssignValue(object, key, value) { - if (key == '__proto__' && defineProperty) { - defineProperty(object, key, { - 'configurable': true, - 'enumerable': true, - 'value': value, - 'writable': true - }); - } else { - object[key] = value; - } - } - - /** - * The base implementation of `_.at` without support for individual paths. - * - * @private - * @param {Object} object The object to iterate over. - * @param {string[]} paths The property paths to pick. - * @returns {Array} Returns the picked elements. - */ - function baseAt(object, paths) { - var index = -1, - length = paths.length, - result = Array(length), - skip = object == null; - - while (++index < length) { - result[index] = skip ? undefined : get(object, paths[index]); - } - return result; - } - - /** - * The base implementation of `_.clamp` which doesn't coerce arguments. - * - * @private - * @param {number} number The number to clamp. - * @param {number} [lower] The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the clamped number. - */ - function baseClamp(number, lower, upper) { - if (number === number) { - if (upper !== undefined) { - number = number <= upper ? number : upper; - } - if (lower !== undefined) { - number = number >= lower ? number : lower; - } - } - return number; - } - - /** - * The base implementation of `_.clone` and `_.cloneDeep` which tracks - * traversed objects. - * - * @private - * @param {*} value The value to clone. - * @param {boolean} bitmask The bitmask flags. - * 1 - Deep clone - * 2 - Flatten inherited properties - * 4 - Clone symbols - * @param {Function} [customizer] The function to customize cloning. - * @param {string} [key] The key of `value`. - * @param {Object} [object] The parent object of `value`. - * @param {Object} [stack] Tracks traversed objects and their clone counterparts. - * @returns {*} Returns the cloned value. - */ - function baseClone(value, bitmask, customizer, key, object, stack) { - var result, - isDeep = bitmask & CLONE_DEEP_FLAG, - isFlat = bitmask & CLONE_FLAT_FLAG, - isFull = bitmask & CLONE_SYMBOLS_FLAG; - - if (customizer) { - result = object ? customizer(value, key, object, stack) : customizer(value); - } - if (result !== undefined) { - return result; - } - if (!isObject(value)) { - return value; - } - var isArr = isArray(value); - if (isArr) { - result = initCloneArray(value); - if (!isDeep) { - return copyArray(value, result); - } - } else { - var tag = getTag(value), - isFunc = tag == funcTag || tag == genTag; - - if (isBuffer(value)) { - return cloneBuffer(value, isDeep); - } - if (tag == objectTag || tag == argsTag || (isFunc && !object)) { - result = (isFlat || isFunc) ? {} : initCloneObject(value); - if (!isDeep) { - return isFlat - ? copySymbolsIn(value, baseAssignIn(result, value)) - : copySymbols(value, baseAssign(result, value)); - } - } else { - if (!cloneableTags[tag]) { - return object ? value : {}; - } - result = initCloneByTag(value, tag, baseClone, isDeep); - } - } - // Check for circular references and return its corresponding clone. - stack || (stack = new Stack); - var stacked = stack.get(value); - if (stacked) { - return stacked; - } - stack.set(value, result); - - var keysFunc = isFull - ? (isFlat ? getAllKeysIn : getAllKeys) - : (isFlat ? keysIn : keys); - - var props = isArr ? undefined : keysFunc(value); - arrayEach(props || value, function(subValue, key) { - if (props) { - key = subValue; - subValue = value[key]; - } - // Recursively populate clone (susceptible to call stack limits). - assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack)); - }); - return result; - } - - /** - * The base implementation of `_.conforms` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property predicates to conform to. - * @returns {Function} Returns the new spec function. - */ - function baseConforms(source) { - var props = keys(source); - return function(object) { - return baseConformsTo(object, source, props); - }; - } - - /** - * The base implementation of `_.conformsTo` which accepts `props` to check. - * - * @private - * @param {Object} object The object to inspect. - * @param {Object} source The object of property predicates to conform to. - * @returns {boolean} Returns `true` if `object` conforms, else `false`. - */ - function baseConformsTo(object, source, props) { - var length = props.length; - if (object == null) { - return !length; - } - object = Object(object); - while (length--) { - var key = props[length], - predicate = source[key], - value = object[key]; - - if ((value === undefined && !(key in object)) || !predicate(value)) { - return false; - } - } - return true; - } - - /** - * The base implementation of `_.delay` and `_.defer` which accepts `args` - * to provide to `func`. - * - * @private - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {Array} args The arguments to provide to `func`. - * @returns {number|Object} Returns the timer id or timeout object. - */ - function baseDelay(func, wait, args) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return setTimeout(function() { func.apply(undefined, args); }, wait); - } - - /** - * The base implementation of methods like `_.difference` without support - * for excluding multiple arrays or iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Array} values The values to exclude. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - */ - function baseDifference(array, values, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - isCommon = true, - length = array.length, - result = [], - valuesLength = values.length; - - if (!length) { - return result; - } - if (iteratee) { - values = arrayMap(values, baseUnary(iteratee)); - } - if (comparator) { - includes = arrayIncludesWith; - isCommon = false; - } - else if (values.length >= LARGE_ARRAY_SIZE) { - includes = cacheHas; - isCommon = false; - values = new SetCache(values); - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee == null ? value : iteratee(value); - - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var valuesIndex = valuesLength; - while (valuesIndex--) { - if (values[valuesIndex] === computed) { - continue outer; - } - } - result.push(value); - } - else if (!includes(values, computed, comparator)) { - result.push(value); - } - } - return result; - } - - /** - * The base implementation of `_.forEach` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - */ - var baseEach = createBaseEach(baseForOwn); - - /** - * The base implementation of `_.forEachRight` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - */ - var baseEachRight = createBaseEach(baseForOwnRight, true); - - /** - * The base implementation of `_.every` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false` - */ - function baseEvery(collection, predicate) { - var result = true; - baseEach(collection, function(value, index, collection) { - result = !!predicate(value, index, collection); - return result; - }); - return result; - } - - /** - * The base implementation of methods like `_.max` and `_.min` which accepts a - * `comparator` to determine the extremum value. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The iteratee invoked per iteration. - * @param {Function} comparator The comparator used to compare values. - * @returns {*} Returns the extremum value. - */ - function baseExtremum(array, iteratee, comparator) { - var index = -1, - length = array.length; - - while (++index < length) { - var value = array[index], - current = iteratee(value); - - if (current != null && (computed === undefined - ? (current === current && !isSymbol(current)) - : comparator(current, computed) - )) { - var computed = current, - result = value; - } - } - return result; - } - - /** - * The base implementation of `_.fill` without an iteratee call guard. - * - * @private - * @param {Array} array The array to fill. - * @param {*} value The value to fill `array` with. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns `array`. - */ - function baseFill(array, value, start, end) { - var length = array.length; - - start = toInteger(start); - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = (end === undefined || end > length) ? length : toInteger(end); - if (end < 0) { - end += length; - } - end = start > end ? 0 : toLength(end); - while (start < end) { - array[start++] = value; - } - return array; - } - - /** - * The base implementation of `_.filter` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ - function baseFilter(collection, predicate) { - var result = []; - baseEach(collection, function(value, index, collection) { - if (predicate(value, index, collection)) { - result.push(value); - } - }); - return result; - } - - /** - * The base implementation of `_.flatten` with support for restricting flattening. - * - * @private - * @param {Array} array The array to flatten. - * @param {number} depth The maximum recursion depth. - * @param {boolean} [predicate=isFlattenable] The function invoked per iteration. - * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks. - * @param {Array} [result=[]] The initial result value. - * @returns {Array} Returns the new flattened array. - */ - function baseFlatten(array, depth, predicate, isStrict, result) { - var index = -1, - length = array.length; - - predicate || (predicate = isFlattenable); - result || (result = []); - - while (++index < length) { - var value = array[index]; - if (depth > 0 && predicate(value)) { - if (depth > 1) { - // Recursively flatten arrays (susceptible to call stack limits). - baseFlatten(value, depth - 1, predicate, isStrict, result); - } else { - arrayPush(result, value); - } - } else if (!isStrict) { - result[result.length] = value; - } - } - return result; - } - - /** - * The base implementation of `baseForOwn` which iterates over `object` - * properties returned by `keysFunc` and invokes `iteratee` for each property. - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ - var baseFor = createBaseFor(); - - /** - * This function is like `baseFor` except that it iterates over properties - * in the opposite order. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ - var baseForRight = createBaseFor(true); - - /** - * The base implementation of `_.forOwn` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ - function baseForOwn(object, iteratee) { - return object && baseFor(object, iteratee, keys); - } - - /** - * The base implementation of `_.forOwnRight` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ - function baseForOwnRight(object, iteratee) { - return object && baseForRight(object, iteratee, keys); - } - - /** - * The base implementation of `_.functions` which creates an array of - * `object` function property names filtered from `props`. - * - * @private - * @param {Object} object The object to inspect. - * @param {Array} props The property names to filter. - * @returns {Array} Returns the function names. - */ - function baseFunctions(object, props) { - return arrayFilter(props, function(key) { - return isFunction(object[key]); - }); - } - - /** - * The base implementation of `_.get` without support for default values. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @returns {*} Returns the resolved value. - */ - function baseGet(object, path) { - path = castPath(path, object); - - var index = 0, - length = path.length; - - while (object != null && index < length) { - object = object[toKey(path[index++])]; - } - return (index && index == length) ? object : undefined; - } - - /** - * The base implementation of `getAllKeys` and `getAllKeysIn` which uses - * `keysFunc` and `symbolsFunc` to get the enumerable property names and - * symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Function} keysFunc The function to get the keys of `object`. - * @param {Function} symbolsFunc The function to get the symbols of `object`. - * @returns {Array} Returns the array of property names and symbols. - */ - function baseGetAllKeys(object, keysFunc, symbolsFunc) { - var result = keysFunc(object); - return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); - } - - /** - * The base implementation of `getTag` without fallbacks for buggy environments. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ - function baseGetTag(value) { - if (value == null) { - return value === undefined ? undefinedTag : nullTag; - } - return (symToStringTag && symToStringTag in Object(value)) - ? getRawTag(value) - : objectToString(value); - } - - /** - * The base implementation of `_.gt` which doesn't coerce arguments. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than `other`, - * else `false`. - */ - function baseGt(value, other) { - return value > other; - } - - /** - * The base implementation of `_.has` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ - function baseHas(object, key) { - return object != null && hasOwnProperty.call(object, key); - } - - /** - * The base implementation of `_.hasIn` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ - function baseHasIn(object, key) { - return object != null && key in Object(object); - } - - /** - * The base implementation of `_.inRange` which doesn't coerce arguments. - * - * @private - * @param {number} number The number to check. - * @param {number} start The start of the range. - * @param {number} end The end of the range. - * @returns {boolean} Returns `true` if `number` is in the range, else `false`. - */ - function baseInRange(number, start, end) { - return number >= nativeMin(start, end) && number < nativeMax(start, end); - } - - /** - * The base implementation of methods like `_.intersection`, without support - * for iteratee shorthands, that accepts an array of arrays to inspect. - * - * @private - * @param {Array} arrays The arrays to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of shared values. - */ - function baseIntersection(arrays, iteratee, comparator) { - var includes = comparator ? arrayIncludesWith : arrayIncludes, - length = arrays[0].length, - othLength = arrays.length, - othIndex = othLength, - caches = Array(othLength), - maxLength = Infinity, - result = []; - - while (othIndex--) { - var array = arrays[othIndex]; - if (othIndex && iteratee) { - array = arrayMap(array, baseUnary(iteratee)); - } - maxLength = nativeMin(array.length, maxLength); - caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120)) - ? new SetCache(othIndex && array) - : undefined; - } - array = arrays[0]; - - var index = -1, - seen = caches[0]; - - outer: - while (++index < length && result.length < maxLength) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - value = (comparator || value !== 0) ? value : 0; - if (!(seen - ? cacheHas(seen, computed) - : includes(result, computed, comparator) - )) { - othIndex = othLength; - while (--othIndex) { - var cache = caches[othIndex]; - if (!(cache - ? cacheHas(cache, computed) - : includes(arrays[othIndex], computed, comparator)) - ) { - continue outer; - } - } - if (seen) { - seen.push(computed); - } - result.push(value); - } - } - return result; - } - - /** - * The base implementation of `_.invert` and `_.invertBy` which inverts - * `object` with values transformed by `iteratee` and set by `setter`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform values. - * @param {Object} accumulator The initial inverted object. - * @returns {Function} Returns `accumulator`. - */ - function baseInverter(object, setter, iteratee, accumulator) { - baseForOwn(object, function(value, key, object) { - setter(accumulator, iteratee(value), key, object); - }); - return accumulator; - } - - /** - * The base implementation of `_.invoke` without support for individual - * method arguments. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path of the method to invoke. - * @param {Array} args The arguments to invoke the method with. - * @returns {*} Returns the result of the invoked method. - */ - function baseInvoke(object, path, args) { - path = castPath(path, object); - object = parent(object, path); - var func = object == null ? object : object[toKey(last(path))]; - return func == null ? undefined : apply(func, object, args); - } - - /** - * The base implementation of `_.isArguments`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - */ - function baseIsArguments(value) { - return isObjectLike(value) && baseGetTag(value) == argsTag; - } - - /** - * The base implementation of `_.isArrayBuffer` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. - */ - function baseIsArrayBuffer(value) { - return isObjectLike(value) && baseGetTag(value) == arrayBufferTag; - } - - /** - * The base implementation of `_.isDate` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a date object, else `false`. - */ - function baseIsDate(value) { - return isObjectLike(value) && baseGetTag(value) == dateTag; - } - - /** - * The base implementation of `_.isEqual` which supports partial comparisons - * and tracks traversed objects. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {boolean} bitmask The bitmask flags. - * 1 - Unordered comparison - * 2 - Partial comparison - * @param {Function} [customizer] The function to customize comparisons. - * @param {Object} [stack] Tracks traversed `value` and `other` objects. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - */ - function baseIsEqual(value, other, bitmask, customizer, stack) { - if (value === other) { - return true; - } - if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { - return value !== value && other !== other; - } - return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); - } - - /** - * A specialized version of `baseIsEqual` for arrays and objects which performs - * deep comparisons and tracks traversed objects enabling objects with circular - * references to be compared. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} [stack] Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { - var objIsArr = isArray(object), - othIsArr = isArray(other), - objTag = objIsArr ? arrayTag : getTag(object), - othTag = othIsArr ? arrayTag : getTag(other); - - objTag = objTag == argsTag ? objectTag : objTag; - othTag = othTag == argsTag ? objectTag : othTag; - - var objIsObj = objTag == objectTag, - othIsObj = othTag == objectTag, - isSameTag = objTag == othTag; - - if (isSameTag && isBuffer(object)) { - if (!isBuffer(other)) { - return false; - } - objIsArr = true; - objIsObj = false; - } - if (isSameTag && !objIsObj) { - stack || (stack = new Stack); - return (objIsArr || isTypedArray(object)) - ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) - : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); - } - if (!(bitmask & COMPARE_PARTIAL_FLAG)) { - var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), - othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); - - if (objIsWrapped || othIsWrapped) { - var objUnwrapped = objIsWrapped ? object.value() : object, - othUnwrapped = othIsWrapped ? other.value() : other; - - stack || (stack = new Stack); - return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); - } - } - if (!isSameTag) { - return false; - } - stack || (stack = new Stack); - return equalObjects(object, other, bitmask, customizer, equalFunc, stack); - } - - /** - * The base implementation of `_.isMap` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a map, else `false`. - */ - function baseIsMap(value) { - return isObjectLike(value) && getTag(value) == mapTag; - } - - /** - * The base implementation of `_.isMatch` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Array} matchData The property names, values, and compare flags to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - */ - function baseIsMatch(object, source, matchData, customizer) { - var index = matchData.length, - length = index, - noCustomizer = !customizer; - - if (object == null) { - return !length; - } - object = Object(object); - while (index--) { - var data = matchData[index]; - if ((noCustomizer && data[2]) - ? data[1] !== object[data[0]] - : !(data[0] in object) - ) { - return false; - } - } - while (++index < length) { - data = matchData[index]; - var key = data[0], - objValue = object[key], - srcValue = data[1]; - - if (noCustomizer && data[2]) { - if (objValue === undefined && !(key in object)) { - return false; - } - } else { - var stack = new Stack; - if (customizer) { - var result = customizer(objValue, srcValue, key, object, source, stack); - } - if (!(result === undefined - ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) - : result - )) { - return false; - } - } - } - return true; - } - - /** - * The base implementation of `_.isNative` without bad shim checks. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - */ - function baseIsNative(value) { - if (!isObject(value) || isMasked(value)) { - return false; - } - var pattern = isFunction(value) ? reIsNative : reIsHostCtor; - return pattern.test(toSource(value)); - } - - /** - * The base implementation of `_.isRegExp` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. - */ - function baseIsRegExp(value) { - return isObjectLike(value) && baseGetTag(value) == regexpTag; - } - - /** - * The base implementation of `_.isSet` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a set, else `false`. - */ - function baseIsSet(value) { - return isObjectLike(value) && getTag(value) == setTag; - } - - /** - * The base implementation of `_.isTypedArray` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - */ - function baseIsTypedArray(value) { - return isObjectLike(value) && - isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; - } - - /** - * The base implementation of `_.iteratee`. - * - * @private - * @param {*} [value=_.identity] The value to convert to an iteratee. - * @returns {Function} Returns the iteratee. - */ - function baseIteratee(value) { - // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9. - // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details. - if (typeof value == 'function') { - return value; - } - if (value == null) { - return identity; - } - if (typeof value == 'object') { - return isArray(value) - ? baseMatchesProperty(value[0], value[1]) - : baseMatches(value); - } - return property(value); - } - - /** - * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function baseKeys(object) { - if (!isPrototype(object)) { - return nativeKeys(object); - } - var result = []; - for (var key in Object(object)) { - if (hasOwnProperty.call(object, key) && key != 'constructor') { - result.push(key); - } - } - return result; - } - - /** - * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function baseKeysIn(object) { - if (!isObject(object)) { - return nativeKeysIn(object); - } - var isProto = isPrototype(object), - result = []; - - for (var key in object) { - if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { - result.push(key); - } - } - return result; - } - - /** - * The base implementation of `_.lt` which doesn't coerce arguments. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is less than `other`, - * else `false`. - */ - function baseLt(value, other) { - return value < other; - } - - /** - * The base implementation of `_.map` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ - function baseMap(collection, iteratee) { - var index = -1, - result = isArrayLike(collection) ? Array(collection.length) : []; - - baseEach(collection, function(value, key, collection) { - result[++index] = iteratee(value, key, collection); - }); - return result; - } - - /** - * The base implementation of `_.matches` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property values to match. - * @returns {Function} Returns the new spec function. - */ - function baseMatches(source) { - var matchData = getMatchData(source); - if (matchData.length == 1 && matchData[0][2]) { - return matchesStrictComparable(matchData[0][0], matchData[0][1]); - } - return function(object) { - return object === source || baseIsMatch(object, source, matchData); - }; - } - - /** - * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. - * - * @private - * @param {string} path The path of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ - function baseMatchesProperty(path, srcValue) { - if (isKey(path) && isStrictComparable(srcValue)) { - return matchesStrictComparable(toKey(path), srcValue); - } - return function(object) { - var objValue = get(object, path); - return (objValue === undefined && objValue === srcValue) - ? hasIn(object, path) - : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); - }; - } - - /** - * The base implementation of `_.merge` without support for multiple sources. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {number} srcIndex The index of `source`. - * @param {Function} [customizer] The function to customize merged values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ - function baseMerge(object, source, srcIndex, customizer, stack) { - if (object === source) { - return; - } - baseFor(source, function(srcValue, key) { - if (isObject(srcValue)) { - stack || (stack = new Stack); - baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); - } - else { - var newValue = customizer - ? customizer(object[key], srcValue, (key + ''), object, source, stack) - : undefined; - - if (newValue === undefined) { - newValue = srcValue; - } - assignMergeValue(object, key, newValue); - } - }, keysIn); - } - - /** - * A specialized version of `baseMerge` for arrays and objects which performs - * deep merges and tracks traversed objects enabling objects with circular - * references to be merged. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {string} key The key of the value to merge. - * @param {number} srcIndex The index of `source`. - * @param {Function} mergeFunc The function to merge values. - * @param {Function} [customizer] The function to customize assigned values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ - function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { - var objValue = object[key], - srcValue = source[key], - stacked = stack.get(srcValue); - - if (stacked) { - assignMergeValue(object, key, stacked); - return; - } - var newValue = customizer - ? customizer(objValue, srcValue, (key + ''), object, source, stack) - : undefined; - - var isCommon = newValue === undefined; - - if (isCommon) { - var isArr = isArray(srcValue), - isBuff = !isArr && isBuffer(srcValue), - isTyped = !isArr && !isBuff && isTypedArray(srcValue); - - newValue = srcValue; - if (isArr || isBuff || isTyped) { - if (isArray(objValue)) { - newValue = objValue; - } - else if (isArrayLikeObject(objValue)) { - newValue = copyArray(objValue); - } - else if (isBuff) { - isCommon = false; - newValue = cloneBuffer(srcValue, true); - } - else if (isTyped) { - isCommon = false; - newValue = cloneTypedArray(srcValue, true); - } - else { - newValue = []; - } - } - else if (isPlainObject(srcValue) || isArguments(srcValue)) { - newValue = objValue; - if (isArguments(objValue)) { - newValue = toPlainObject(objValue); - } - else if (!isObject(objValue) || (srcIndex && isFunction(objValue))) { - newValue = initCloneObject(srcValue); - } - } - else { - isCommon = false; - } - } - if (isCommon) { - // Recursively merge objects and arrays (susceptible to call stack limits). - stack.set(srcValue, newValue); - mergeFunc(newValue, srcValue, srcIndex, customizer, stack); - stack['delete'](srcValue); - } - assignMergeValue(object, key, newValue); - } - - /** - * The base implementation of `_.nth` which doesn't coerce arguments. - * - * @private - * @param {Array} array The array to query. - * @param {number} n The index of the element to return. - * @returns {*} Returns the nth element of `array`. - */ - function baseNth(array, n) { - var length = array.length; - if (!length) { - return; - } - n += n < 0 ? length : 0; - return isIndex(n, length) ? array[n] : undefined; - } - - /** - * The base implementation of `_.orderBy` without param guards. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by. - * @param {string[]} orders The sort orders of `iteratees`. - * @returns {Array} Returns the new sorted array. - */ - function baseOrderBy(collection, iteratees, orders) { - var index = -1; - iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(getIteratee())); - - var result = baseMap(collection, function(value, key, collection) { - var criteria = arrayMap(iteratees, function(iteratee) { - return iteratee(value); - }); - return { 'criteria': criteria, 'index': ++index, 'value': value }; - }); - - return baseSortBy(result, function(object, other) { - return compareMultiple(object, other, orders); - }); - } - - /** - * The base implementation of `_.pick` without support for individual - * property identifiers. - * - * @private - * @param {Object} object The source object. - * @param {string[]} paths The property paths to pick. - * @returns {Object} Returns the new object. - */ - function basePick(object, paths) { - return basePickBy(object, paths, function(value, path) { - return hasIn(object, path); - }); - } - - /** - * The base implementation of `_.pickBy` without support for iteratee shorthands. - * - * @private - * @param {Object} object The source object. - * @param {string[]} paths The property paths to pick. - * @param {Function} predicate The function invoked per property. - * @returns {Object} Returns the new object. - */ - function basePickBy(object, paths, predicate) { - var index = -1, - length = paths.length, - result = {}; - - while (++index < length) { - var path = paths[index], - value = baseGet(object, path); - - if (predicate(value, path)) { - baseSet(result, castPath(path, object), value); - } - } - return result; - } - - /** - * A specialized version of `baseProperty` which supports deep paths. - * - * @private - * @param {Array|string} path The path of the property to get. - * @returns {Function} Returns the new accessor function. - */ - function basePropertyDeep(path) { - return function(object) { - return baseGet(object, path); - }; - } - - /** - * The base implementation of `_.pullAllBy` without support for iteratee - * shorthands. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns `array`. - */ - function basePullAll(array, values, iteratee, comparator) { - var indexOf = comparator ? baseIndexOfWith : baseIndexOf, - index = -1, - length = values.length, - seen = array; - - if (array === values) { - values = copyArray(values); - } - if (iteratee) { - seen = arrayMap(array, baseUnary(iteratee)); - } - while (++index < length) { - var fromIndex = 0, - value = values[index], - computed = iteratee ? iteratee(value) : value; - - while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) { - if (seen !== array) { - splice.call(seen, fromIndex, 1); - } - splice.call(array, fromIndex, 1); - } - } - return array; - } - - /** - * The base implementation of `_.pullAt` without support for individual - * indexes or capturing the removed elements. - * - * @private - * @param {Array} array The array to modify. - * @param {number[]} indexes The indexes of elements to remove. - * @returns {Array} Returns `array`. - */ - function basePullAt(array, indexes) { - var length = array ? indexes.length : 0, - lastIndex = length - 1; - - while (length--) { - var index = indexes[length]; - if (length == lastIndex || index !== previous) { - var previous = index; - if (isIndex(index)) { - splice.call(array, index, 1); - } else { - baseUnset(array, index); - } - } - } - return array; - } - - /** - * The base implementation of `_.random` without support for returning - * floating-point numbers. - * - * @private - * @param {number} lower The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the random number. - */ - function baseRandom(lower, upper) { - return lower + nativeFloor(nativeRandom() * (upper - lower + 1)); - } - - /** - * The base implementation of `_.range` and `_.rangeRight` which doesn't - * coerce arguments. - * - * @private - * @param {number} start The start of the range. - * @param {number} end The end of the range. - * @param {number} step The value to increment or decrement by. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Array} Returns the range of numbers. - */ - function baseRange(start, end, step, fromRight) { - var index = -1, - length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), - result = Array(length); - - while (length--) { - result[fromRight ? length : ++index] = start; - start += step; - } - return result; - } - - /** - * The base implementation of `_.repeat` which doesn't coerce arguments. - * - * @private - * @param {string} string The string to repeat. - * @param {number} n The number of times to repeat the string. - * @returns {string} Returns the repeated string. - */ - function baseRepeat(string, n) { - var result = ''; - if (!string || n < 1 || n > MAX_SAFE_INTEGER) { - return result; - } - // Leverage the exponentiation by squaring algorithm for a faster repeat. - // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details. - do { - if (n % 2) { - result += string; - } - n = nativeFloor(n / 2); - if (n) { - string += string; - } - } while (n); - - return result; - } - - /** - * The base implementation of `_.rest` which doesn't validate or coerce arguments. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - */ - function baseRest(func, start) { - return setToString(overRest(func, start, identity), func + ''); - } - - /** - * The base implementation of `_.sample`. - * - * @private - * @param {Array|Object} collection The collection to sample. - * @returns {*} Returns the random element. - */ - function baseSample(collection) { - return arraySample(values(collection)); - } - - /** - * The base implementation of `_.sampleSize` without param guards. - * - * @private - * @param {Array|Object} collection The collection to sample. - * @param {number} n The number of elements to sample. - * @returns {Array} Returns the random elements. - */ - function baseSampleSize(collection, n) { - var array = values(collection); - return shuffleSelf(array, baseClamp(n, 0, array.length)); - } - - /** - * The base implementation of `_.set`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {*} value The value to set. - * @param {Function} [customizer] The function to customize path creation. - * @returns {Object} Returns `object`. - */ - function baseSet(object, path, value, customizer) { - if (!isObject(object)) { - return object; - } - path = castPath(path, object); - - var index = -1, - length = path.length, - lastIndex = length - 1, - nested = object; - - while (nested != null && ++index < length) { - var key = toKey(path[index]), - newValue = value; - - if (index != lastIndex) { - var objValue = nested[key]; - newValue = customizer ? customizer(objValue, key, nested) : undefined; - if (newValue === undefined) { - newValue = isObject(objValue) - ? objValue - : (isIndex(path[index + 1]) ? [] : {}); - } - } - assignValue(nested, key, newValue); - nested = nested[key]; - } - return object; - } - - /** - * The base implementation of `setData` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to associate metadata with. - * @param {*} data The metadata. - * @returns {Function} Returns `func`. - */ - var baseSetData = !metaMap ? identity : function(func, data) { - metaMap.set(func, data); - return func; - }; - - /** - * The base implementation of `setToString` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var baseSetToString = !defineProperty ? identity : function(func, string) { - return defineProperty(func, 'toString', { - 'configurable': true, - 'enumerable': false, - 'value': constant(string), - 'writable': true - }); - }; - - /** - * The base implementation of `_.shuffle`. - * - * @private - * @param {Array|Object} collection The collection to shuffle. - * @returns {Array} Returns the new shuffled array. - */ - function baseShuffle(collection) { - return shuffleSelf(values(collection)); - } - - /** - * The base implementation of `_.slice` without an iteratee call guard. - * - * @private - * @param {Array} array The array to slice. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the slice of `array`. - */ - function baseSlice(array, start, end) { - var index = -1, - length = array.length; - - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = end > length ? length : end; - if (end < 0) { - end += length; - } - length = start > end ? 0 : ((end - start) >>> 0); - start >>>= 0; - - var result = Array(length); - while (++index < length) { - result[index] = array[index + start]; - } - return result; - } - - /** - * The base implementation of `_.some` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ - function baseSome(collection, predicate) { - var result; - - baseEach(collection, function(value, index, collection) { - result = predicate(value, index, collection); - return !result; - }); - return !!result; - } - - /** - * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which - * performs a binary search of `array` to determine the index at which `value` - * should be inserted into `array` in order to maintain its sort order. - * - * @private - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {boolean} [retHighest] Specify returning the highest qualified index. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - */ - function baseSortedIndex(array, value, retHighest) { - var low = 0, - high = array == null ? low : array.length; - - if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) { - while (low < high) { - var mid = (low + high) >>> 1, - computed = array[mid]; - - if (computed !== null && !isSymbol(computed) && - (retHighest ? (computed <= value) : (computed < value))) { - low = mid + 1; - } else { - high = mid; - } - } - return high; - } - return baseSortedIndexBy(array, value, identity, retHighest); - } - - /** - * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy` - * which invokes `iteratee` for `value` and each element of `array` to compute - * their sort ranking. The iteratee is invoked with one argument; (value). - * - * @private - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} iteratee The iteratee invoked per element. - * @param {boolean} [retHighest] Specify returning the highest qualified index. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - */ - function baseSortedIndexBy(array, value, iteratee, retHighest) { - value = iteratee(value); - - var low = 0, - high = array == null ? 0 : array.length, - valIsNaN = value !== value, - valIsNull = value === null, - valIsSymbol = isSymbol(value), - valIsUndefined = value === undefined; - - while (low < high) { - var mid = nativeFloor((low + high) / 2), - computed = iteratee(array[mid]), - othIsDefined = computed !== undefined, - othIsNull = computed === null, - othIsReflexive = computed === computed, - othIsSymbol = isSymbol(computed); - - if (valIsNaN) { - var setLow = retHighest || othIsReflexive; - } else if (valIsUndefined) { - setLow = othIsReflexive && (retHighest || othIsDefined); - } else if (valIsNull) { - setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull); - } else if (valIsSymbol) { - setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol); - } else if (othIsNull || othIsSymbol) { - setLow = false; - } else { - setLow = retHighest ? (computed <= value) : (computed < value); - } - if (setLow) { - low = mid + 1; - } else { - high = mid; - } - } - return nativeMin(high, MAX_ARRAY_INDEX); - } - - /** - * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - */ - function baseSortedUniq(array, iteratee) { - var index = -1, - length = array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - if (!index || !eq(computed, seen)) { - var seen = computed; - result[resIndex++] = value === 0 ? 0 : value; - } - } - return result; - } - - /** - * The base implementation of `_.toNumber` which doesn't ensure correct - * conversions of binary, hexadecimal, or octal string values. - * - * @private - * @param {*} value The value to process. - * @returns {number} Returns the number. - */ - function baseToNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - return +value; - } - - /** - * The base implementation of `_.toString` which doesn't convert nullish - * values to empty strings. - * - * @private - * @param {*} value The value to process. - * @returns {string} Returns the string. - */ - function baseToString(value) { - // Exit early for strings to avoid a performance hit in some environments. - if (typeof value == 'string') { - return value; - } - if (isArray(value)) { - // Recursively convert values (susceptible to call stack limits). - return arrayMap(value, baseToString) + ''; - } - if (isSymbol(value)) { - return symbolToString ? symbolToString.call(value) : ''; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; - } - - /** - * The base implementation of `_.uniqBy` without support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - */ - function baseUniq(array, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - length = array.length, - isCommon = true, - result = [], - seen = result; - - if (comparator) { - isCommon = false; - includes = arrayIncludesWith; - } - else if (length >= LARGE_ARRAY_SIZE) { - var set = iteratee ? null : createSet(array); - if (set) { - return setToArray(set); - } - isCommon = false; - includes = cacheHas; - seen = new SetCache; - } - else { - seen = iteratee ? [] : result; - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; - } - } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } - else if (!includes(seen, computed, comparator)) { - if (seen !== result) { - seen.push(computed); - } - result.push(value); - } - } - return result; - } - - /** - * The base implementation of `_.unset`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The property path to unset. - * @returns {boolean} Returns `true` if the property is deleted, else `false`. - */ - function baseUnset(object, path) { - path = castPath(path, object); - object = parent(object, path); - return object == null || delete object[toKey(last(path))]; - } - - /** - * The base implementation of `_.update`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to update. - * @param {Function} updater The function to produce the updated value. - * @param {Function} [customizer] The function to customize path creation. - * @returns {Object} Returns `object`. - */ - function baseUpdate(object, path, updater, customizer) { - return baseSet(object, path, updater(baseGet(object, path)), customizer); - } - - /** - * The base implementation of methods like `_.dropWhile` and `_.takeWhile` - * without support for iteratee shorthands. - * - * @private - * @param {Array} array The array to query. - * @param {Function} predicate The function invoked per iteration. - * @param {boolean} [isDrop] Specify dropping elements instead of taking them. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Array} Returns the slice of `array`. - */ - function baseWhile(array, predicate, isDrop, fromRight) { - var length = array.length, - index = fromRight ? length : -1; - - while ((fromRight ? index-- : ++index < length) && - predicate(array[index], index, array)) {} - - return isDrop - ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length)) - : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index)); - } - - /** - * The base implementation of `wrapperValue` which returns the result of - * performing a sequence of actions on the unwrapped `value`, where each - * successive action is supplied the return value of the previous. - * - * @private - * @param {*} value The unwrapped value. - * @param {Array} actions Actions to perform to resolve the unwrapped value. - * @returns {*} Returns the resolved value. - */ - function baseWrapperValue(value, actions) { - var result = value; - if (result instanceof LazyWrapper) { - result = result.value(); - } - return arrayReduce(actions, function(result, action) { - return action.func.apply(action.thisArg, arrayPush([result], action.args)); - }, result); - } - - /** - * The base implementation of methods like `_.xor`, without support for - * iteratee shorthands, that accepts an array of arrays to inspect. - * - * @private - * @param {Array} arrays The arrays to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of values. - */ - function baseXor(arrays, iteratee, comparator) { - var length = arrays.length; - if (length < 2) { - return length ? baseUniq(arrays[0]) : []; - } - var index = -1, - result = Array(length); - - while (++index < length) { - var array = arrays[index], - othIndex = -1; - - while (++othIndex < length) { - if (othIndex != index) { - result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator); - } - } - } - return baseUniq(baseFlatten(result, 1), iteratee, comparator); - } - - /** - * This base implementation of `_.zipObject` which assigns values using `assignFunc`. - * - * @private - * @param {Array} props The property identifiers. - * @param {Array} values The property values. - * @param {Function} assignFunc The function to assign values. - * @returns {Object} Returns the new object. - */ - function baseZipObject(props, values, assignFunc) { - var index = -1, - length = props.length, - valsLength = values.length, - result = {}; - - while (++index < length) { - var value = index < valsLength ? values[index] : undefined; - assignFunc(result, props[index], value); - } - return result; - } - - /** - * Casts `value` to an empty array if it's not an array like object. - * - * @private - * @param {*} value The value to inspect. - * @returns {Array|Object} Returns the cast array-like object. - */ - function castArrayLikeObject(value) { - return isArrayLikeObject(value) ? value : []; - } - - /** - * Casts `value` to `identity` if it's not a function. - * - * @private - * @param {*} value The value to inspect. - * @returns {Function} Returns cast function. - */ - function castFunction(value) { - return typeof value == 'function' ? value : identity; - } - - /** - * Casts `value` to a path array if it's not one. - * - * @private - * @param {*} value The value to inspect. - * @param {Object} [object] The object to query keys on. - * @returns {Array} Returns the cast property path array. - */ - function castPath(value, object) { - if (isArray(value)) { - return value; - } - return isKey(value, object) ? [value] : stringToPath(toString(value)); - } - - /** - * A `baseRest` alias which can be replaced with `identity` by module - * replacement plugins. - * - * @private - * @type {Function} - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. - */ - var castRest = baseRest; - - /** - * Casts `array` to a slice if it's needed. - * - * @private - * @param {Array} array The array to inspect. - * @param {number} start The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the cast slice. - */ - function castSlice(array, start, end) { - var length = array.length; - end = end === undefined ? length : end; - return (!start && end >= length) ? array : baseSlice(array, start, end); - } - - /** - * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout). - * - * @private - * @param {number|Object} id The timer id or timeout object of the timer to clear. - */ - var clearTimeout = ctxClearTimeout || function(id) { - return root.clearTimeout(id); - }; - - /** - * Creates a clone of `buffer`. - * - * @private - * @param {Buffer} buffer The buffer to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Buffer} Returns the cloned buffer. - */ - function cloneBuffer(buffer, isDeep) { - if (isDeep) { - return buffer.slice(); - } - var length = buffer.length, - result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); - - buffer.copy(result); - return result; - } - - /** - * Creates a clone of `arrayBuffer`. - * - * @private - * @param {ArrayBuffer} arrayBuffer The array buffer to clone. - * @returns {ArrayBuffer} Returns the cloned array buffer. - */ - function cloneArrayBuffer(arrayBuffer) { - var result = new arrayBuffer.constructor(arrayBuffer.byteLength); - new Uint8Array(result).set(new Uint8Array(arrayBuffer)); - return result; - } - - /** - * Creates a clone of `dataView`. - * - * @private - * @param {Object} dataView The data view to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned data view. - */ - function cloneDataView(dataView, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer; - return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength); - } - - /** - * Creates a clone of `map`. - * - * @private - * @param {Object} map The map to clone. - * @param {Function} cloneFunc The function to clone values. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned map. - */ - function cloneMap(map, isDeep, cloneFunc) { - var array = isDeep ? cloneFunc(mapToArray(map), CLONE_DEEP_FLAG) : mapToArray(map); - return arrayReduce(array, addMapEntry, new map.constructor); - } - - /** - * Creates a clone of `regexp`. - * - * @private - * @param {Object} regexp The regexp to clone. - * @returns {Object} Returns the cloned regexp. - */ - function cloneRegExp(regexp) { - var result = new regexp.constructor(regexp.source, reFlags.exec(regexp)); - result.lastIndex = regexp.lastIndex; - return result; - } - - /** - * Creates a clone of `set`. - * - * @private - * @param {Object} set The set to clone. - * @param {Function} cloneFunc The function to clone values. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned set. - */ - function cloneSet(set, isDeep, cloneFunc) { - var array = isDeep ? cloneFunc(setToArray(set), CLONE_DEEP_FLAG) : setToArray(set); - return arrayReduce(array, addSetEntry, new set.constructor); - } - - /** - * Creates a clone of the `symbol` object. - * - * @private - * @param {Object} symbol The symbol object to clone. - * @returns {Object} Returns the cloned symbol object. - */ - function cloneSymbol(symbol) { - return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {}; - } - - /** - * Creates a clone of `typedArray`. - * - * @private - * @param {Object} typedArray The typed array to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned typed array. - */ - function cloneTypedArray(typedArray, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; - return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); - } - - /** - * Compares values to sort them in ascending order. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {number} Returns the sort order indicator for `value`. - */ - function compareAscending(value, other) { - if (value !== other) { - var valIsDefined = value !== undefined, - valIsNull = value === null, - valIsReflexive = value === value, - valIsSymbol = isSymbol(value); - - var othIsDefined = other !== undefined, - othIsNull = other === null, - othIsReflexive = other === other, - othIsSymbol = isSymbol(other); - - if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) || - (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) || - (valIsNull && othIsDefined && othIsReflexive) || - (!valIsDefined && othIsReflexive) || - !valIsReflexive) { - return 1; - } - if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) || - (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) || - (othIsNull && valIsDefined && valIsReflexive) || - (!othIsDefined && valIsReflexive) || - !othIsReflexive) { - return -1; - } - } - return 0; - } - - /** - * Used by `_.orderBy` to compare multiple properties of a value to another - * and stable sort them. - * - * If `orders` is unspecified, all values are sorted in ascending order. Otherwise, - * specify an order of "desc" for descending or "asc" for ascending sort order - * of corresponding values. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {boolean[]|string[]} orders The order to sort by for each property. - * @returns {number} Returns the sort order indicator for `object`. - */ - function compareMultiple(object, other, orders) { - var index = -1, - objCriteria = object.criteria, - othCriteria = other.criteria, - length = objCriteria.length, - ordersLength = orders.length; - - while (++index < length) { - var result = compareAscending(objCriteria[index], othCriteria[index]); - if (result) { - if (index >= ordersLength) { - return result; - } - var order = orders[index]; - return result * (order == 'desc' ? -1 : 1); - } - } - // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications - // that causes it, under certain circumstances, to provide the same value for - // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247 - // for more details. - // - // This also ensures a stable sort in V8 and other engines. - // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details. - return object.index - other.index; - } - - /** - * Creates an array that is the composition of partially applied arguments, - * placeholders, and provided arguments into a single array of arguments. - * - * @private - * @param {Array} args The provided arguments. - * @param {Array} partials The arguments to prepend to those provided. - * @param {Array} holders The `partials` placeholder indexes. - * @params {boolean} [isCurried] Specify composing for a curried function. - * @returns {Array} Returns the new array of composed arguments. - */ - function composeArgs(args, partials, holders, isCurried) { - var argsIndex = -1, - argsLength = args.length, - holdersLength = holders.length, - leftIndex = -1, - leftLength = partials.length, - rangeLength = nativeMax(argsLength - holdersLength, 0), - result = Array(leftLength + rangeLength), - isUncurried = !isCurried; - - while (++leftIndex < leftLength) { - result[leftIndex] = partials[leftIndex]; - } - while (++argsIndex < holdersLength) { - if (isUncurried || argsIndex < argsLength) { - result[holders[argsIndex]] = args[argsIndex]; - } - } - while (rangeLength--) { - result[leftIndex++] = args[argsIndex++]; - } - return result; - } - - /** - * This function is like `composeArgs` except that the arguments composition - * is tailored for `_.partialRight`. - * - * @private - * @param {Array} args The provided arguments. - * @param {Array} partials The arguments to append to those provided. - * @param {Array} holders The `partials` placeholder indexes. - * @params {boolean} [isCurried] Specify composing for a curried function. - * @returns {Array} Returns the new array of composed arguments. - */ - function composeArgsRight(args, partials, holders, isCurried) { - var argsIndex = -1, - argsLength = args.length, - holdersIndex = -1, - holdersLength = holders.length, - rightIndex = -1, - rightLength = partials.length, - rangeLength = nativeMax(argsLength - holdersLength, 0), - result = Array(rangeLength + rightLength), - isUncurried = !isCurried; - - while (++argsIndex < rangeLength) { - result[argsIndex] = args[argsIndex]; - } - var offset = argsIndex; - while (++rightIndex < rightLength) { - result[offset + rightIndex] = partials[rightIndex]; - } - while (++holdersIndex < holdersLength) { - if (isUncurried || argsIndex < argsLength) { - result[offset + holders[holdersIndex]] = args[argsIndex++]; - } - } - return result; - } - - /** - * Copies the values of `source` to `array`. - * - * @private - * @param {Array} source The array to copy values from. - * @param {Array} [array=[]] The array to copy values to. - * @returns {Array} Returns `array`. - */ - function copyArray(source, array) { - var index = -1, - length = source.length; - - array || (array = Array(length)); - while (++index < length) { - array[index] = source[index]; - } - return array; - } - - /** - * Copies properties of `source` to `object`. - * - * @private - * @param {Object} source The object to copy properties from. - * @param {Array} props The property identifiers to copy. - * @param {Object} [object={}] The object to copy properties to. - * @param {Function} [customizer] The function to customize copied values. - * @returns {Object} Returns `object`. - */ - function copyObject(source, props, object, customizer) { - var isNew = !object; - object || (object = {}); - - var index = -1, - length = props.length; - - while (++index < length) { - var key = props[index]; - - var newValue = customizer - ? customizer(object[key], source[key], key, object, source) - : undefined; - - if (newValue === undefined) { - newValue = source[key]; - } - if (isNew) { - baseAssignValue(object, key, newValue); - } else { - assignValue(object, key, newValue); - } - } - return object; - } - - /** - * Copies own symbols of `source` to `object`. - * - * @private - * @param {Object} source The object to copy symbols from. - * @param {Object} [object={}] The object to copy symbols to. - * @returns {Object} Returns `object`. - */ - function copySymbols(source, object) { - return copyObject(source, getSymbols(source), object); - } - - /** - * Copies own and inherited symbols of `source` to `object`. - * - * @private - * @param {Object} source The object to copy symbols from. - * @param {Object} [object={}] The object to copy symbols to. - * @returns {Object} Returns `object`. - */ - function copySymbolsIn(source, object) { - return copyObject(source, getSymbolsIn(source), object); - } - - /** - * Creates a function like `_.groupBy`. - * - * @private - * @param {Function} setter The function to set accumulator values. - * @param {Function} [initializer] The accumulator object initializer. - * @returns {Function} Returns the new aggregator function. - */ - function createAggregator(setter, initializer) { - return function(collection, iteratee) { - var func = isArray(collection) ? arrayAggregator : baseAggregator, - accumulator = initializer ? initializer() : {}; - - return func(collection, setter, getIteratee(iteratee, 2), accumulator); - }; - } - - /** - * Creates a function like `_.assign`. - * - * @private - * @param {Function} assigner The function to assign values. - * @returns {Function} Returns the new assigner function. - */ - function createAssigner(assigner) { - return baseRest(function(object, sources) { - var index = -1, - length = sources.length, - customizer = length > 1 ? sources[length - 1] : undefined, - guard = length > 2 ? sources[2] : undefined; - - customizer = (assigner.length > 3 && typeof customizer == 'function') - ? (length--, customizer) - : undefined; - - if (guard && isIterateeCall(sources[0], sources[1], guard)) { - customizer = length < 3 ? undefined : customizer; - length = 1; - } - object = Object(object); - while (++index < length) { - var source = sources[index]; - if (source) { - assigner(object, source, index, customizer); - } - } - return object; - }); - } - - /** - * Creates a `baseEach` or `baseEachRight` function. - * - * @private - * @param {Function} eachFunc The function to iterate over a collection. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseEach(eachFunc, fromRight) { - return function(collection, iteratee) { - if (collection == null) { - return collection; - } - if (!isArrayLike(collection)) { - return eachFunc(collection, iteratee); - } - var length = collection.length, - index = fromRight ? length : -1, - iterable = Object(collection); - - while ((fromRight ? index-- : ++index < length)) { - if (iteratee(iterable[index], index, iterable) === false) { - break; - } - } - return collection; - }; - } - - /** - * Creates a base function for methods like `_.forIn` and `_.forOwn`. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { - var index = -1, - iterable = Object(object), - props = keysFunc(object), - length = props.length; - - while (length--) { - var key = props[fromRight ? length : ++index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - }; - } - - /** - * Creates a function that wraps `func` to invoke it with the optional `this` - * binding of `thisArg`. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} [thisArg] The `this` binding of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createBind(func, bitmask, thisArg) { - var isBind = bitmask & WRAP_BIND_FLAG, - Ctor = createCtor(func); - - function wrapper() { - var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - return fn.apply(isBind ? thisArg : this, arguments); - } - return wrapper; - } - - /** - * Creates a function like `_.lowerFirst`. - * - * @private - * @param {string} methodName The name of the `String` case method to use. - * @returns {Function} Returns the new case function. - */ - function createCaseFirst(methodName) { - return function(string) { - string = toString(string); - - var strSymbols = hasUnicode(string) - ? stringToArray(string) - : undefined; - - var chr = strSymbols - ? strSymbols[0] - : string.charAt(0); - - var trailing = strSymbols - ? castSlice(strSymbols, 1).join('') - : string.slice(1); - - return chr[methodName]() + trailing; - }; - } - - /** - * Creates a function like `_.camelCase`. - * - * @private - * @param {Function} callback The function to combine each word. - * @returns {Function} Returns the new compounder function. - */ - function createCompounder(callback) { - return function(string) { - return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); - }; - } - - /** - * Creates a function that produces an instance of `Ctor` regardless of - * whether it was invoked as part of a `new` expression or by `call` or `apply`. - * - * @private - * @param {Function} Ctor The constructor to wrap. - * @returns {Function} Returns the new wrapped function. - */ - function createCtor(Ctor) { - return function() { - // Use a `switch` statement to work with class constructors. See - // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist - // for more details. - var args = arguments; - switch (args.length) { - case 0: return new Ctor; - case 1: return new Ctor(args[0]); - case 2: return new Ctor(args[0], args[1]); - case 3: return new Ctor(args[0], args[1], args[2]); - case 4: return new Ctor(args[0], args[1], args[2], args[3]); - case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]); - case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]); - case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]); - } - var thisBinding = baseCreate(Ctor.prototype), - result = Ctor.apply(thisBinding, args); - - // Mimic the constructor's `return` behavior. - // See https://es5.github.io/#x13.2.2 for more details. - return isObject(result) ? result : thisBinding; - }; - } - - /** - * Creates a function that wraps `func` to enable currying. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {number} arity The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createCurry(func, bitmask, arity) { - var Ctor = createCtor(func); - - function wrapper() { - var length = arguments.length, - args = Array(length), - index = length, - placeholder = getHolder(wrapper); - - while (index--) { - args[index] = arguments[index]; - } - var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder) - ? [] - : replaceHolders(args, placeholder); - - length -= holders.length; - if (length < arity) { - return createRecurry( - func, bitmask, createHybrid, wrapper.placeholder, undefined, - args, holders, undefined, undefined, arity - length); - } - var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - return apply(fn, this, args); - } - return wrapper; - } - - /** - * Creates a `_.find` or `_.findLast` function. - * - * @private - * @param {Function} findIndexFunc The function to find the collection index. - * @returns {Function} Returns the new find function. - */ - function createFind(findIndexFunc) { - return function(collection, predicate, fromIndex) { - var iterable = Object(collection); - if (!isArrayLike(collection)) { - var iteratee = getIteratee(predicate, 3); - collection = keys(collection); - predicate = function(key) { return iteratee(iterable[key], key, iterable); }; - } - var index = findIndexFunc(collection, predicate, fromIndex); - return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined; - }; - } - - /** - * Creates a `_.flow` or `_.flowRight` function. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new flow function. - */ - function createFlow(fromRight) { - return flatRest(function(funcs) { - var length = funcs.length, - index = length, - prereq = LodashWrapper.prototype.thru; - - if (fromRight) { - funcs.reverse(); - } - while (index--) { - var func = funcs[index]; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - if (prereq && !wrapper && getFuncName(func) == 'wrapper') { - var wrapper = new LodashWrapper([], true); - } - } - index = wrapper ? index : length; - while (++index < length) { - func = funcs[index]; - - var funcName = getFuncName(func), - data = funcName == 'wrapper' ? getData(func) : undefined; - - if (data && isLaziable(data[0]) && - data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && - !data[4].length && data[9] == 1 - ) { - wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]); - } else { - wrapper = (func.length == 1 && isLaziable(func)) - ? wrapper[funcName]() - : wrapper.thru(func); - } - } - return function() { - var args = arguments, - value = args[0]; - - if (wrapper && args.length == 1 && isArray(value)) { - return wrapper.plant(value).value(); - } - var index = 0, - result = length ? funcs[index].apply(this, args) : value; - - while (++index < length) { - result = funcs[index].call(this, result); - } - return result; - }; - }); - } - - /** - * Creates a function that wraps `func` to invoke it with optional `this` - * binding of `thisArg`, partial application, and currying. - * - * @private - * @param {Function|string} func The function or method name to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to prepend to those provided to - * the new function. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [partialsRight] The arguments to append to those provided - * to the new function. - * @param {Array} [holdersRight] The `partialsRight` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) { - var isAry = bitmask & WRAP_ARY_FLAG, - isBind = bitmask & WRAP_BIND_FLAG, - isBindKey = bitmask & WRAP_BIND_KEY_FLAG, - isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), - isFlip = bitmask & WRAP_FLIP_FLAG, - Ctor = isBindKey ? undefined : createCtor(func); - - function wrapper() { - var length = arguments.length, - args = Array(length), - index = length; - - while (index--) { - args[index] = arguments[index]; - } - if (isCurried) { - var placeholder = getHolder(wrapper), - holdersCount = countHolders(args, placeholder); - } - if (partials) { - args = composeArgs(args, partials, holders, isCurried); - } - if (partialsRight) { - args = composeArgsRight(args, partialsRight, holdersRight, isCurried); - } - length -= holdersCount; - if (isCurried && length < arity) { - var newHolders = replaceHolders(args, placeholder); - return createRecurry( - func, bitmask, createHybrid, wrapper.placeholder, thisArg, - args, newHolders, argPos, ary, arity - length - ); - } - var thisBinding = isBind ? thisArg : this, - fn = isBindKey ? thisBinding[func] : func; - - length = args.length; - if (argPos) { - args = reorder(args, argPos); - } else if (isFlip && length > 1) { - args.reverse(); - } - if (isAry && ary < length) { - args.length = ary; - } - if (this && this !== root && this instanceof wrapper) { - fn = Ctor || createCtor(fn); - } - return fn.apply(thisBinding, args); - } - return wrapper; - } - - /** - * Creates a function like `_.invertBy`. - * - * @private - * @param {Function} setter The function to set accumulator values. - * @param {Function} toIteratee The function to resolve iteratees. - * @returns {Function} Returns the new inverter function. - */ - function createInverter(setter, toIteratee) { - return function(object, iteratee) { - return baseInverter(object, setter, toIteratee(iteratee), {}); - }; - } - - /** - * Creates a function that performs a mathematical operation on two values. - * - * @private - * @param {Function} operator The function to perform the operation. - * @param {number} [defaultValue] The value used for `undefined` arguments. - * @returns {Function} Returns the new mathematical operation function. - */ - function createMathOperation(operator, defaultValue) { - return function(value, other) { - var result; - if (value === undefined && other === undefined) { - return defaultValue; - } - if (value !== undefined) { - result = value; - } - if (other !== undefined) { - if (result === undefined) { - return other; - } - if (typeof value == 'string' || typeof other == 'string') { - value = baseToString(value); - other = baseToString(other); - } else { - value = baseToNumber(value); - other = baseToNumber(other); - } - result = operator(value, other); - } - return result; - }; - } - - /** - * Creates a function like `_.over`. - * - * @private - * @param {Function} arrayFunc The function to iterate over iteratees. - * @returns {Function} Returns the new over function. - */ - function createOver(arrayFunc) { - return flatRest(function(iteratees) { - iteratees = arrayMap(iteratees, baseUnary(getIteratee())); - return baseRest(function(args) { - var thisArg = this; - return arrayFunc(iteratees, function(iteratee) { - return apply(iteratee, thisArg, args); - }); - }); - }); - } - - /** - * Creates the padding for `string` based on `length`. The `chars` string - * is truncated if the number of characters exceeds `length`. - * - * @private - * @param {number} length The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padding for `string`. - */ - function createPadding(length, chars) { - chars = chars === undefined ? ' ' : baseToString(chars); - - var charsLength = chars.length; - if (charsLength < 2) { - return charsLength ? baseRepeat(chars, length) : chars; - } - var result = baseRepeat(chars, nativeCeil(length / stringSize(chars))); - return hasUnicode(chars) - ? castSlice(stringToArray(result), 0, length).join('') - : result.slice(0, length); - } - - /** - * Creates a function that wraps `func` to invoke it with the `this` binding - * of `thisArg` and `partials` prepended to the arguments it receives. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} partials The arguments to prepend to those provided to - * the new function. - * @returns {Function} Returns the new wrapped function. - */ - function createPartial(func, bitmask, thisArg, partials) { - var isBind = bitmask & WRAP_BIND_FLAG, - Ctor = createCtor(func); - - function wrapper() { - var argsIndex = -1, - argsLength = arguments.length, - leftIndex = -1, - leftLength = partials.length, - args = Array(leftLength + argsLength), - fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - - while (++leftIndex < leftLength) { - args[leftIndex] = partials[leftIndex]; - } - while (argsLength--) { - args[leftIndex++] = arguments[++argsIndex]; - } - return apply(fn, isBind ? thisArg : this, args); - } - return wrapper; - } - - /** - * Creates a `_.range` or `_.rangeRight` function. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new range function. - */ - function createRange(fromRight) { - return function(start, end, step) { - if (step && typeof step != 'number' && isIterateeCall(start, end, step)) { - end = step = undefined; - } - // Ensure the sign of `-0` is preserved. - start = toFinite(start); - if (end === undefined) { - end = start; - start = 0; - } else { - end = toFinite(end); - } - step = step === undefined ? (start < end ? 1 : -1) : toFinite(step); - return baseRange(start, end, step, fromRight); - }; - } - - /** - * Creates a function that performs a relational operation on two values. - * - * @private - * @param {Function} operator The function to perform the operation. - * @returns {Function} Returns the new relational operation function. - */ - function createRelationalOperation(operator) { - return function(value, other) { - if (!(typeof value == 'string' && typeof other == 'string')) { - value = toNumber(value); - other = toNumber(other); - } - return operator(value, other); - }; - } - - /** - * Creates a function that wraps `func` to continue currying. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {Function} wrapFunc The function to create the `func` wrapper. - * @param {*} placeholder The placeholder value. - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to prepend to those provided to - * the new function. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) { - var isCurry = bitmask & WRAP_CURRY_FLAG, - newHolders = isCurry ? holders : undefined, - newHoldersRight = isCurry ? undefined : holders, - newPartials = isCurry ? partials : undefined, - newPartialsRight = isCurry ? undefined : partials; - - bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG); - bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG); - - if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) { - bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG); - } - var newData = [ - func, bitmask, thisArg, newPartials, newHolders, newPartialsRight, - newHoldersRight, argPos, ary, arity - ]; - - var result = wrapFunc.apply(undefined, newData); - if (isLaziable(func)) { - setData(result, newData); - } - result.placeholder = placeholder; - return setWrapToString(result, func, bitmask); - } - - /** - * Creates a function like `_.round`. - * - * @private - * @param {string} methodName The name of the `Math` method to use when rounding. - * @returns {Function} Returns the new round function. - */ - function createRound(methodName) { - var func = Math[methodName]; - return function(number, precision) { - number = toNumber(number); - precision = precision == null ? 0 : nativeMin(toInteger(precision), 292); - if (precision) { - // Shift with exponential notation to avoid floating-point issues. - // See [MDN](https://mdn.io/round#Examples) for more details. - var pair = (toString(number) + 'e').split('e'), - value = func(pair[0] + 'e' + (+pair[1] + precision)); - - pair = (toString(value) + 'e').split('e'); - return +(pair[0] + 'e' + (+pair[1] - precision)); - } - return func(number); - }; - } - - /** - * Creates a set object of `values`. - * - * @private - * @param {Array} values The values to add to the set. - * @returns {Object} Returns the new set. - */ - var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { - return new Set(values); - }; - - /** - * Creates a `_.toPairs` or `_.toPairsIn` function. - * - * @private - * @param {Function} keysFunc The function to get the keys of a given object. - * @returns {Function} Returns the new pairs function. - */ - function createToPairs(keysFunc) { - return function(object) { - var tag = getTag(object); - if (tag == mapTag) { - return mapToArray(object); - } - if (tag == setTag) { - return setToPairs(object); - } - return baseToPairs(object, keysFunc(object)); - }; - } - - /** - * Creates a function that either curries or invokes `func` with optional - * `this` binding and partially applied arguments. - * - * @private - * @param {Function|string} func The function or method name to wrap. - * @param {number} bitmask The bitmask flags. - * 1 - `_.bind` - * 2 - `_.bindKey` - * 4 - `_.curry` or `_.curryRight` of a bound function - * 8 - `_.curry` - * 16 - `_.curryRight` - * 32 - `_.partial` - * 64 - `_.partialRight` - * 128 - `_.rearg` - * 256 - `_.ary` - * 512 - `_.flip` - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to be partially applied. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) { - var isBindKey = bitmask & WRAP_BIND_KEY_FLAG; - if (!isBindKey && typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - var length = partials ? partials.length : 0; - if (!length) { - bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG); - partials = holders = undefined; - } - ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0); - arity = arity === undefined ? arity : toInteger(arity); - length -= holders ? holders.length : 0; - - if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) { - var partialsRight = partials, - holdersRight = holders; - - partials = holders = undefined; - } - var data = isBindKey ? undefined : getData(func); - - var newData = [ - func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, - argPos, ary, arity - ]; - - if (data) { - mergeData(newData, data); - } - func = newData[0]; - bitmask = newData[1]; - thisArg = newData[2]; - partials = newData[3]; - holders = newData[4]; - arity = newData[9] = newData[9] === undefined - ? (isBindKey ? 0 : func.length) - : nativeMax(newData[9] - length, 0); - - if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) { - bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG); - } - if (!bitmask || bitmask == WRAP_BIND_FLAG) { - var result = createBind(func, bitmask, thisArg); - } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) { - result = createCurry(func, bitmask, arity); - } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) { - result = createPartial(func, bitmask, thisArg, partials); - } else { - result = createHybrid.apply(undefined, newData); - } - var setter = data ? baseSetData : setData; - return setWrapToString(setter(result, newData), func, bitmask); - } - - /** - * Used by `_.defaults` to customize its `_.assignIn` use to assign properties - * of source objects to the destination object for all destination properties - * that resolve to `undefined`. - * - * @private - * @param {*} objValue The destination value. - * @param {*} srcValue The source value. - * @param {string} key The key of the property to assign. - * @param {Object} object The parent object of `objValue`. - * @returns {*} Returns the value to assign. - */ - function customDefaultsAssignIn(objValue, srcValue, key, object) { - if (objValue === undefined || - (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) { - return srcValue; - } - return objValue; - } - - /** - * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source - * objects into destination objects that are passed thru. - * - * @private - * @param {*} objValue The destination value. - * @param {*} srcValue The source value. - * @param {string} key The key of the property to merge. - * @param {Object} object The parent object of `objValue`. - * @param {Object} source The parent object of `srcValue`. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - * @returns {*} Returns the value to assign. - */ - function customDefaultsMerge(objValue, srcValue, key, object, source, stack) { - if (isObject(objValue) && isObject(srcValue)) { - // Recursively merge objects and arrays (susceptible to call stack limits). - stack.set(srcValue, objValue); - baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack); - stack['delete'](srcValue); - } - return objValue; - } - - /** - * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain - * objects. - * - * @private - * @param {*} value The value to inspect. - * @param {string} key The key of the property to inspect. - * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. - */ - function customOmitClone(value) { - return isPlainObject(value) ? undefined : value; - } - - /** - * A specialized version of `baseIsEqualDeep` for arrays with support for - * partial deep comparisons. - * - * @private - * @param {Array} array The array to compare. - * @param {Array} other The other array to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `array` and `other` objects. - * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. - */ - function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - arrLength = array.length, - othLength = other.length; - - if (arrLength != othLength && !(isPartial && othLength > arrLength)) { - return false; - } - // Assume cyclic values are equal. - var stacked = stack.get(array); - if (stacked && stack.get(other)) { - return stacked == other; - } - var index = -1, - result = true, - seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined; - - stack.set(array, other); - stack.set(other, array); - - // Ignore non-index properties. - while (++index < arrLength) { - var arrValue = array[index], - othValue = other[index]; - - if (customizer) { - var compared = isPartial - ? customizer(othValue, arrValue, index, other, array, stack) - : customizer(arrValue, othValue, index, array, other, stack); - } - if (compared !== undefined) { - if (compared) { - continue; - } - result = false; - break; - } - // Recursively compare arrays (susceptible to call stack limits). - if (seen) { - if (!arraySome(other, function(othValue, othIndex) { - if (!cacheHas(seen, othIndex) && - (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { - return seen.push(othIndex); - } - })) { - result = false; - break; - } - } else if (!( - arrValue === othValue || - equalFunc(arrValue, othValue, bitmask, customizer, stack) - )) { - result = false; - break; - } - } - stack['delete'](array); - stack['delete'](other); - return result; - } - - /** - * A specialized version of `baseIsEqualDeep` for comparing objects of - * the same `toStringTag`. - * - * **Note:** This function only supports comparing values with tags of - * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {string} tag The `toStringTag` of the objects to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { - switch (tag) { - case dataViewTag: - if ((object.byteLength != other.byteLength) || - (object.byteOffset != other.byteOffset)) { - return false; - } - object = object.buffer; - other = other.buffer; - - case arrayBufferTag: - if ((object.byteLength != other.byteLength) || - !equalFunc(new Uint8Array(object), new Uint8Array(other))) { - return false; - } - return true; - - case boolTag: - case dateTag: - case numberTag: - // Coerce booleans to `1` or `0` and dates to milliseconds. - // Invalid dates are coerced to `NaN`. - return eq(+object, +other); - - case errorTag: - return object.name == other.name && object.message == other.message; - - case regexpTag: - case stringTag: - // Coerce regexes to strings and treat strings, primitives and objects, - // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring - // for more details. - return object == (other + ''); - - case mapTag: - var convert = mapToArray; - - case setTag: - var isPartial = bitmask & COMPARE_PARTIAL_FLAG; - convert || (convert = setToArray); - - if (object.size != other.size && !isPartial) { - return false; - } - // Assume cyclic values are equal. - var stacked = stack.get(object); - if (stacked) { - return stacked == other; - } - bitmask |= COMPARE_UNORDERED_FLAG; - - // Recursively compare objects (susceptible to call stack limits). - stack.set(object, other); - var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack); - stack['delete'](object); - return result; - - case symbolTag: - if (symbolValueOf) { - return symbolValueOf.call(object) == symbolValueOf.call(other); - } - } - return false; - } - - /** - * A specialized version of `baseIsEqualDeep` for objects with support for - * partial deep comparisons. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - objProps = getAllKeys(object), - objLength = objProps.length, - othProps = getAllKeys(other), - othLength = othProps.length; - - if (objLength != othLength && !isPartial) { - return false; - } - var index = objLength; - while (index--) { - var key = objProps[index]; - if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { - return false; - } - } - // Assume cyclic values are equal. - var stacked = stack.get(object); - if (stacked && stack.get(other)) { - return stacked == other; - } - var result = true; - stack.set(object, other); - stack.set(other, object); - - var skipCtor = isPartial; - while (++index < objLength) { - key = objProps[index]; - var objValue = object[key], - othValue = other[key]; - - if (customizer) { - var compared = isPartial - ? customizer(othValue, objValue, key, other, object, stack) - : customizer(objValue, othValue, key, object, other, stack); - } - // Recursively compare objects (susceptible to call stack limits). - if (!(compared === undefined - ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) - : compared - )) { - result = false; - break; - } - skipCtor || (skipCtor = key == 'constructor'); - } - if (result && !skipCtor) { - var objCtor = object.constructor, - othCtor = other.constructor; - - // Non `Object` object instances with different constructors are not equal. - if (objCtor != othCtor && - ('constructor' in object && 'constructor' in other) && - !(typeof objCtor == 'function' && objCtor instanceof objCtor && - typeof othCtor == 'function' && othCtor instanceof othCtor)) { - result = false; - } - } - stack['delete'](object); - stack['delete'](other); - return result; - } - - /** - * A specialized version of `baseRest` which flattens the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. - */ - function flatRest(func) { - return setToString(overRest(func, undefined, flatten), func + ''); - } - - /** - * Creates an array of own enumerable property names and symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. - */ - function getAllKeys(object) { - return baseGetAllKeys(object, keys, getSymbols); - } - - /** - * Creates an array of own and inherited enumerable property names and - * symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. - */ - function getAllKeysIn(object) { - return baseGetAllKeys(object, keysIn, getSymbolsIn); - } - - /** - * Gets metadata for `func`. - * - * @private - * @param {Function} func The function to query. - * @returns {*} Returns the metadata for `func`. - */ - var getData = !metaMap ? noop : function(func) { - return metaMap.get(func); - }; - - /** - * Gets the name of `func`. - * - * @private - * @param {Function} func The function to query. - * @returns {string} Returns the function name. - */ - function getFuncName(func) { - var result = (func.name + ''), - array = realNames[result], - length = hasOwnProperty.call(realNames, result) ? array.length : 0; - - while (length--) { - var data = array[length], - otherFunc = data.func; - if (otherFunc == null || otherFunc == func) { - return data.name; - } - } - return result; - } - - /** - * Gets the argument placeholder value for `func`. - * - * @private - * @param {Function} func The function to inspect. - * @returns {*} Returns the placeholder value. - */ - function getHolder(func) { - var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func; - return object.placeholder; - } - - /** - * Gets the appropriate "iteratee" function. If `_.iteratee` is customized, - * this function returns the custom method, otherwise it returns `baseIteratee`. - * If arguments are provided, the chosen function is invoked with them and - * its result is returned. - * - * @private - * @param {*} [value] The value to convert to an iteratee. - * @param {number} [arity] The arity of the created iteratee. - * @returns {Function} Returns the chosen function or its result. - */ - function getIteratee() { - var result = lodash.iteratee || iteratee; - result = result === iteratee ? baseIteratee : result; - return arguments.length ? result(arguments[0], arguments[1]) : result; - } - - /** - * Gets the data for `map`. - * - * @private - * @param {Object} map The map to query. - * @param {string} key The reference key. - * @returns {*} Returns the map data. - */ - function getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data[typeof key == 'string' ? 'string' : 'hash'] - : data.map; - } - - /** - * Gets the property names, values, and compare flags of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the match data of `object`. - */ - function getMatchData(object) { - var result = keys(object), - length = result.length; - - while (length--) { - var key = result[length], - value = object[key]; - - result[length] = [key, value, isStrictComparable(value)]; - } - return result; - } - - /** - * Gets the native function at `key` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the method to get. - * @returns {*} Returns the function if it's native, else `undefined`. - */ - function getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : undefined; - } - - /** - * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the raw `toStringTag`. - */ - function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; - - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} - - var result = nativeObjectToString.call(value); - if (unmasked) { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; - } - - /** - * Creates an array of the own enumerable symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. - */ - var getSymbols = !nativeGetSymbols ? stubArray : function(object) { - if (object == null) { - return []; - } - object = Object(object); - return arrayFilter(nativeGetSymbols(object), function(symbol) { - return propertyIsEnumerable.call(object, symbol); - }); - }; - - /** - * Creates an array of the own and inherited enumerable symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. - */ - var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) { - var result = []; - while (object) { - arrayPush(result, getSymbols(object)); - object = getPrototype(object); - } - return result; - }; - - /** - * Gets the `toStringTag` of `value`. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ - var getTag = baseGetTag; - - // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6. - if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || - (Map && getTag(new Map) != mapTag) || - (Promise && getTag(Promise.resolve()) != promiseTag) || - (Set && getTag(new Set) != setTag) || - (WeakMap && getTag(new WeakMap) != weakMapTag)) { - getTag = function(value) { - var result = baseGetTag(value), - Ctor = result == objectTag ? value.constructor : undefined, - ctorString = Ctor ? toSource(Ctor) : ''; - - if (ctorString) { - switch (ctorString) { - case dataViewCtorString: return dataViewTag; - case mapCtorString: return mapTag; - case promiseCtorString: return promiseTag; - case setCtorString: return setTag; - case weakMapCtorString: return weakMapTag; - } - } - return result; - }; - } - - /** - * Gets the view, applying any `transforms` to the `start` and `end` positions. - * - * @private - * @param {number} start The start of the view. - * @param {number} end The end of the view. - * @param {Array} transforms The transformations to apply to the view. - * @returns {Object} Returns an object containing the `start` and `end` - * positions of the view. - */ - function getView(start, end, transforms) { - var index = -1, - length = transforms.length; - - while (++index < length) { - var data = transforms[index], - size = data.size; - - switch (data.type) { - case 'drop': start += size; break; - case 'dropRight': end -= size; break; - case 'take': end = nativeMin(end, start + size); break; - case 'takeRight': start = nativeMax(start, end - size); break; - } - } - return { 'start': start, 'end': end }; - } - - /** - * Extracts wrapper details from the `source` body comment. - * - * @private - * @param {string} source The source to inspect. - * @returns {Array} Returns the wrapper details. - */ - function getWrapDetails(source) { - var match = source.match(reWrapDetails); - return match ? match[1].split(reSplitDetails) : []; - } - - /** - * Checks if `path` exists on `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @param {Function} hasFunc The function to check properties. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - */ - function hasPath(object, path, hasFunc) { - path = castPath(path, object); - - var index = -1, - length = path.length, - result = false; - - while (++index < length) { - var key = toKey(path[index]); - if (!(result = object != null && hasFunc(object, key))) { - break; - } - object = object[key]; - } - if (result || ++index != length) { - return result; - } - length = object == null ? 0 : object.length; - return !!length && isLength(length) && isIndex(key, length) && - (isArray(object) || isArguments(object)); - } - - /** - * Initializes an array clone. - * - * @private - * @param {Array} array The array to clone. - * @returns {Array} Returns the initialized clone. - */ - function initCloneArray(array) { - var length = array.length, - result = array.constructor(length); - - // Add properties assigned by `RegExp#exec`. - if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { - result.index = array.index; - result.input = array.input; - } - return result; - } - - /** - * Initializes an object clone. - * - * @private - * @param {Object} object The object to clone. - * @returns {Object} Returns the initialized clone. - */ - function initCloneObject(object) { - return (typeof object.constructor == 'function' && !isPrototype(object)) - ? baseCreate(getPrototype(object)) - : {}; - } - - /** - * Initializes an object clone based on its `toStringTag`. - * - * **Note:** This function only supports cloning values with tags of - * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. - * - * @private - * @param {Object} object The object to clone. - * @param {string} tag The `toStringTag` of the object to clone. - * @param {Function} cloneFunc The function to clone values. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the initialized clone. - */ - function initCloneByTag(object, tag, cloneFunc, isDeep) { - var Ctor = object.constructor; - switch (tag) { - case arrayBufferTag: - return cloneArrayBuffer(object); - - case boolTag: - case dateTag: - return new Ctor(+object); - - case dataViewTag: - return cloneDataView(object, isDeep); - - case float32Tag: case float64Tag: - case int8Tag: case int16Tag: case int32Tag: - case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag: - return cloneTypedArray(object, isDeep); - - case mapTag: - return cloneMap(object, isDeep, cloneFunc); - - case numberTag: - case stringTag: - return new Ctor(object); - - case regexpTag: - return cloneRegExp(object); - - case setTag: - return cloneSet(object, isDeep, cloneFunc); - - case symbolTag: - return cloneSymbol(object); - } - } - - /** - * Inserts wrapper `details` in a comment at the top of the `source` body. - * - * @private - * @param {string} source The source to modify. - * @returns {Array} details The details to insert. - * @returns {string} Returns the modified source. - */ - function insertWrapDetails(source, details) { - var length = details.length; - if (!length) { - return source; - } - var lastIndex = length - 1; - details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex]; - details = details.join(length > 2 ? ', ' : ' '); - return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n'); - } - - /** - * Checks if `value` is a flattenable `arguments` object or array. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. - */ - function isFlattenable(value) { - return isArray(value) || isArguments(value) || - !!(spreadableSymbol && value && value[spreadableSymbol]); - } - - /** - * Checks if `value` is a valid array-like index. - * - * @private - * @param {*} value The value to check. - * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. - * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. - */ - function isIndex(value, length) { - length = length == null ? MAX_SAFE_INTEGER : length; - return !!length && - (typeof value == 'number' || reIsUint.test(value)) && - (value > -1 && value % 1 == 0 && value < length); - } - - /** - * Checks if the given arguments are from an iteratee call. - * - * @private - * @param {*} value The potential iteratee value argument. - * @param {*} index The potential iteratee index or key argument. - * @param {*} object The potential iteratee object argument. - * @returns {boolean} Returns `true` if the arguments are from an iteratee call, - * else `false`. - */ - function isIterateeCall(value, index, object) { - if (!isObject(object)) { - return false; - } - var type = typeof index; - if (type == 'number' - ? (isArrayLike(object) && isIndex(index, object.length)) - : (type == 'string' && index in object) - ) { - return eq(object[index], value); - } - return false; - } - - /** - * Checks if `value` is a property name and not a property path. - * - * @private - * @param {*} value The value to check. - * @param {Object} [object] The object to query keys on. - * @returns {boolean} Returns `true` if `value` is a property name, else `false`. - */ - function isKey(value, object) { - if (isArray(value)) { - return false; - } - var type = typeof value; - if (type == 'number' || type == 'symbol' || type == 'boolean' || - value == null || isSymbol(value)) { - return true; - } - return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || - (object != null && value in Object(object)); - } - - /** - * Checks if `value` is suitable for use as unique object key. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is suitable, else `false`. - */ - function isKeyable(value) { - var type = typeof value; - return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') - ? (value !== '__proto__') - : (value === null); - } - - /** - * Checks if `func` has a lazy counterpart. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` has a lazy counterpart, - * else `false`. - */ - function isLaziable(func) { - var funcName = getFuncName(func), - other = lodash[funcName]; - - if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { - return false; - } - if (func === other) { - return true; - } - var data = getData(other); - return !!data && func === data[0]; - } - - /** - * Checks if `func` has its source masked. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. - */ - function isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); - } - - /** - * Checks if `func` is capable of being masked. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `func` is maskable, else `false`. - */ - var isMaskable = coreJsData ? isFunction : stubFalse; - - /** - * Checks if `value` is likely a prototype object. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. - */ - function isPrototype(value) { - var Ctor = value && value.constructor, - proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; - - return value === proto; - } - - /** - * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` if suitable for strict - * equality comparisons, else `false`. - */ - function isStrictComparable(value) { - return value === value && !isObject(value); - } - - /** - * A specialized version of `matchesProperty` for source values suitable - * for strict equality comparisons, i.e. `===`. - * - * @private - * @param {string} key The key of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ - function matchesStrictComparable(key, srcValue) { - return function(object) { - if (object == null) { - return false; - } - return object[key] === srcValue && - (srcValue !== undefined || (key in Object(object))); - }; - } - - /** - * A specialized version of `_.memoize` which clears the memoized function's - * cache when it exceeds `MAX_MEMOIZE_SIZE`. - * - * @private - * @param {Function} func The function to have its output memoized. - * @returns {Function} Returns the new memoized function. - */ - function memoizeCapped(func) { - var result = memoize(func, function(key) { - if (cache.size === MAX_MEMOIZE_SIZE) { - cache.clear(); - } - return key; - }); - - var cache = result.cache; - return result; - } - - /** - * Merges the function metadata of `source` into `data`. - * - * Merging metadata reduces the number of wrappers used to invoke a function. - * This is possible because methods like `_.bind`, `_.curry`, and `_.partial` - * may be applied regardless of execution order. Methods like `_.ary` and - * `_.rearg` modify function arguments, making the order in which they are - * executed important, preventing the merging of metadata. However, we make - * an exception for a safe combined case where curried functions have `_.ary` - * and or `_.rearg` applied. - * - * @private - * @param {Array} data The destination metadata. - * @param {Array} source The source metadata. - * @returns {Array} Returns `data`. - */ - function mergeData(data, source) { - var bitmask = data[1], - srcBitmask = source[1], - newBitmask = bitmask | srcBitmask, - isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG); - - var isCombo = - ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) || - ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) || - ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG)); - - // Exit early if metadata can't be merged. - if (!(isCommon || isCombo)) { - return data; - } - // Use source `thisArg` if available. - if (srcBitmask & WRAP_BIND_FLAG) { - data[2] = source[2]; - // Set when currying a bound function. - newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG; - } - // Compose partial arguments. - var value = source[3]; - if (value) { - var partials = data[3]; - data[3] = partials ? composeArgs(partials, value, source[4]) : value; - data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4]; - } - // Compose partial right arguments. - value = source[5]; - if (value) { - partials = data[5]; - data[5] = partials ? composeArgsRight(partials, value, source[6]) : value; - data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6]; - } - // Use source `argPos` if available. - value = source[7]; - if (value) { - data[7] = value; - } - // Use source `ary` if it's smaller. - if (srcBitmask & WRAP_ARY_FLAG) { - data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]); - } - // Use source `arity` if one is not provided. - if (data[9] == null) { - data[9] = source[9]; - } - // Use source `func` and merge bitmasks. - data[0] = source[0]; - data[1] = newBitmask; - - return data; - } - - /** - * This function is like - * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * except that it includes inherited enumerable properties. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function nativeKeysIn(object) { - var result = []; - if (object != null) { - for (var key in Object(object)) { - result.push(key); - } - } - return result; - } - - /** - * Converts `value` to a string using `Object.prototype.toString`. - * - * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - */ - function objectToString(value) { - return nativeObjectToString.call(value); - } - - /** - * A specialized version of `baseRest` which transforms the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @param {Function} transform The rest array transform. - * @returns {Function} Returns the new function. - */ - function overRest(func, start, transform) { - start = nativeMax(start === undefined ? (func.length - 1) : start, 0); - return function() { - var args = arguments, - index = -1, - length = nativeMax(args.length - start, 0), - array = Array(length); - - while (++index < length) { - array[index] = args[start + index]; - } - index = -1; - var otherArgs = Array(start + 1); - while (++index < start) { - otherArgs[index] = args[index]; - } - otherArgs[start] = transform(array); - return apply(func, this, otherArgs); - }; - } - - /** - * Gets the parent value at `path` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} path The path to get the parent value of. - * @returns {*} Returns the parent value. - */ - function parent(object, path) { - return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1)); - } - - /** - * Reorder `array` according to the specified indexes where the element at - * the first index is assigned as the first element, the element at - * the second index is assigned as the second element, and so on. - * - * @private - * @param {Array} array The array to reorder. - * @param {Array} indexes The arranged array indexes. - * @returns {Array} Returns `array`. - */ - function reorder(array, indexes) { - var arrLength = array.length, - length = nativeMin(indexes.length, arrLength), - oldArray = copyArray(array); - - while (length--) { - var index = indexes[length]; - array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined; - } - return array; - } - - /** - * Sets metadata for `func`. - * - * **Note:** If this function becomes hot, i.e. is invoked a lot in a short - * period of time, it will trip its breaker and transition to an identity - * function to avoid garbage collection pauses in V8. See - * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070) - * for more details. - * - * @private - * @param {Function} func The function to associate metadata with. - * @param {*} data The metadata. - * @returns {Function} Returns `func`. - */ - var setData = shortOut(baseSetData); - - /** - * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout). - * - * @private - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @returns {number|Object} Returns the timer id or timeout object. - */ - var setTimeout = ctxSetTimeout || function(func, wait) { - return root.setTimeout(func, wait); - }; - - /** - * Sets the `toString` method of `func` to return `string`. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var setToString = shortOut(baseSetToString); - - /** - * Sets the `toString` method of `wrapper` to mimic the source of `reference` - * with wrapper details in a comment at the top of the source body. - * - * @private - * @param {Function} wrapper The function to modify. - * @param {Function} reference The reference function. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @returns {Function} Returns `wrapper`. - */ - function setWrapToString(wrapper, reference, bitmask) { - var source = (reference + ''); - return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask))); - } - - /** - * Creates a function that'll short out and invoke `identity` instead - * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` - * milliseconds. - * - * @private - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new shortable function. - */ - function shortOut(func) { - var count = 0, - lastCalled = 0; - - return function() { - var stamp = nativeNow(), - remaining = HOT_SPAN - (stamp - lastCalled); - - lastCalled = stamp; - if (remaining > 0) { - if (++count >= HOT_COUNT) { - return arguments[0]; - } - } else { - count = 0; - } - return func.apply(undefined, arguments); - }; - } - - /** - * A specialized version of `_.shuffle` which mutates and sets the size of `array`. - * - * @private - * @param {Array} array The array to shuffle. - * @param {number} [size=array.length] The size of `array`. - * @returns {Array} Returns `array`. - */ - function shuffleSelf(array, size) { - var index = -1, - length = array.length, - lastIndex = length - 1; - - size = size === undefined ? length : size; - while (++index < size) { - var rand = baseRandom(index, lastIndex), - value = array[rand]; - - array[rand] = array[index]; - array[index] = value; - } - array.length = size; - return array; - } - - /** - * Converts `string` to a property path array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the property path array. - */ - var stringToPath = memoizeCapped(function(string) { - var result = []; - if (reLeadingDot.test(string)) { - result.push(''); - } - string.replace(rePropName, function(match, number, quote, string) { - result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match)); - }); - return result; - }); - - /** - * Converts `value` to a string key if it's not a string or symbol. - * - * @private - * @param {*} value The value to inspect. - * @returns {string|symbol} Returns the key. - */ - function toKey(value) { - if (typeof value == 'string' || isSymbol(value)) { - return value; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; - } - - /** - * Converts `func` to its source code. - * - * @private - * @param {Function} func The function to convert. - * @returns {string} Returns the source code. - */ - function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return (func + ''); - } catch (e) {} - } - return ''; - } - - /** - * Updates wrapper `details` based on `bitmask` flags. - * - * @private - * @returns {Array} details The details to modify. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @returns {Array} Returns `details`. - */ - function updateWrapDetails(details, bitmask) { - arrayEach(wrapFlags, function(pair) { - var value = '_.' + pair[0]; - if ((bitmask & pair[1]) && !arrayIncludes(details, value)) { - details.push(value); - } - }); - return details.sort(); - } - - /** - * Creates a clone of `wrapper`. - * - * @private - * @param {Object} wrapper The wrapper to clone. - * @returns {Object} Returns the cloned wrapper. - */ - function wrapperClone(wrapper) { - if (wrapper instanceof LazyWrapper) { - return wrapper.clone(); - } - var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__); - result.__actions__ = copyArray(wrapper.__actions__); - result.__index__ = wrapper.__index__; - result.__values__ = wrapper.__values__; - return result; - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates an array of elements split into groups the length of `size`. - * If `array` can't be split evenly, the final chunk will be the remaining - * elements. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to process. - * @param {number} [size=1] The length of each chunk - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the new array of chunks. - * @example - * - * _.chunk(['a', 'b', 'c', 'd'], 2); - * // => [['a', 'b'], ['c', 'd']] - * - * _.chunk(['a', 'b', 'c', 'd'], 3); - * // => [['a', 'b', 'c'], ['d']] - */ - function chunk(array, size, guard) { - if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) { - size = 1; - } else { - size = nativeMax(toInteger(size), 0); - } - var length = array == null ? 0 : array.length; - if (!length || size < 1) { - return []; - } - var index = 0, - resIndex = 0, - result = Array(nativeCeil(length / size)); - - while (index < length) { - result[resIndex++] = baseSlice(array, index, (index += size)); - } - return result; - } - - /** - * Creates an array with all falsey values removed. The values `false`, `null`, - * `0`, `""`, `undefined`, and `NaN` are falsey. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to compact. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.compact([0, 1, false, 2, '', 3]); - * // => [1, 2, 3] - */ - function compact(array) { - var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (value) { - result[resIndex++] = value; - } - } - return result; - } - - /** - * Creates a new array concatenating `array` with any additional arrays - * and/or values. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to concatenate. - * @param {...*} [values] The values to concatenate. - * @returns {Array} Returns the new concatenated array. - * @example - * - * var array = [1]; - * var other = _.concat(array, 2, [3], [[4]]); - * - * console.log(other); - * // => [1, 2, 3, [4]] - * - * console.log(array); - * // => [1] - */ - function concat() { - var length = arguments.length; - if (!length) { - return []; - } - var args = Array(length - 1), - array = arguments[0], - index = length; - - while (index--) { - args[index - 1] = arguments[index]; - } - return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1)); - } - - /** - * Creates an array of `array` values not included in the other given arrays - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. The order and references of result values are - * determined by the first array. - * - * **Note:** Unlike `_.pullAll`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @see _.without, _.xor - * @example - * - * _.difference([2, 1], [2, 3]); - * // => [1] - */ - var difference = baseRest(function(array, values) { - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) - : []; - }); - - /** - * This method is like `_.difference` except that it accepts `iteratee` which - * is invoked for each element of `array` and `values` to generate the criterion - * by which they're compared. The order and references of result values are - * determined by the first array. The iteratee is invoked with one argument: - * (value). - * - * **Note:** Unlike `_.pullAllBy`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [1.2] - * - * // The `_.property` iteratee shorthand. - * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] - */ - var differenceBy = baseRest(function(array, values) { - var iteratee = last(values); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)) - : []; - }); - - /** - * This method is like `_.difference` except that it accepts `comparator` - * which is invoked to compare elements of `array` to `values`. The order and - * references of result values are determined by the first array. The comparator - * is invoked with two arguments: (arrVal, othVal). - * - * **Note:** Unlike `_.pullAllWith`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * - * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); - * // => [{ 'x': 2, 'y': 1 }] - */ - var differenceWith = baseRest(function(array, values) { - var comparator = last(values); - if (isArrayLikeObject(comparator)) { - comparator = undefined; - } - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator) - : []; - }); - - /** - * Creates a slice of `array` with `n` elements dropped from the beginning. - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to drop. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.drop([1, 2, 3]); - * // => [2, 3] - * - * _.drop([1, 2, 3], 2); - * // => [3] - * - * _.drop([1, 2, 3], 5); - * // => [] - * - * _.drop([1, 2, 3], 0); - * // => [1, 2, 3] - */ - function drop(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - return baseSlice(array, n < 0 ? 0 : n, length); - } - - /** - * Creates a slice of `array` with `n` elements dropped from the end. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to drop. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.dropRight([1, 2, 3]); - * // => [1, 2] - * - * _.dropRight([1, 2, 3], 2); - * // => [1] - * - * _.dropRight([1, 2, 3], 5); - * // => [] - * - * _.dropRight([1, 2, 3], 0); - * // => [1, 2, 3] - */ - function dropRight(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - n = length - n; - return baseSlice(array, 0, n < 0 ? 0 : n); - } - - /** - * Creates a slice of `array` excluding elements dropped from the end. - * Elements are dropped until `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.dropRightWhile(users, function(o) { return !o.active; }); - * // => objects for ['barney'] - * - * // The `_.matches` iteratee shorthand. - * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false }); - * // => objects for ['barney', 'fred'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.dropRightWhile(users, ['active', false]); - * // => objects for ['barney'] - * - * // The `_.property` iteratee shorthand. - * _.dropRightWhile(users, 'active'); - * // => objects for ['barney', 'fred', 'pebbles'] - */ - function dropRightWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), true, true) - : []; - } - - /** - * Creates a slice of `array` excluding elements dropped from the beginning. - * Elements are dropped until `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.dropWhile(users, function(o) { return !o.active; }); - * // => objects for ['pebbles'] - * - * // The `_.matches` iteratee shorthand. - * _.dropWhile(users, { 'user': 'barney', 'active': false }); - * // => objects for ['fred', 'pebbles'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.dropWhile(users, ['active', false]); - * // => objects for ['pebbles'] - * - * // The `_.property` iteratee shorthand. - * _.dropWhile(users, 'active'); - * // => objects for ['barney', 'fred', 'pebbles'] - */ - function dropWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), true) - : []; - } - - /** - * Fills elements of `array` with `value` from `start` up to, but not - * including, `end`. - * - * **Note:** This method mutates `array`. - * - * @static - * @memberOf _ - * @since 3.2.0 - * @category Array - * @param {Array} array The array to fill. - * @param {*} value The value to fill `array` with. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3]; - * - * _.fill(array, 'a'); - * console.log(array); - * // => ['a', 'a', 'a'] - * - * _.fill(Array(3), 2); - * // => [2, 2, 2] - * - * _.fill([4, 6, 8, 10], '*', 1, 3); - * // => [4, '*', '*', 10] - */ - function fill(array, value, start, end) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - if (start && typeof start != 'number' && isIterateeCall(array, value, start)) { - start = 0; - end = length; - } - return baseFill(array, value, start, end); - } - - /** - * This method is like `_.find` except that it returns the index of the first - * element `predicate` returns truthy for instead of the element itself. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the found element, else `-1`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.findIndex(users, function(o) { return o.user == 'barney'; }); - * // => 0 - * - * // The `_.matches` iteratee shorthand. - * _.findIndex(users, { 'user': 'fred', 'active': false }); - * // => 1 - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findIndex(users, ['active', false]); - * // => 0 - * - * // The `_.property` iteratee shorthand. - * _.findIndex(users, 'active'); - * // => 2 - */ - function findIndex(array, predicate, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = fromIndex == null ? 0 : toInteger(fromIndex); - if (index < 0) { - index = nativeMax(length + index, 0); - } - return baseFindIndex(array, getIteratee(predicate, 3), index); - } - - /** - * This method is like `_.findIndex` except that it iterates over elements - * of `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=array.length-1] The index to search from. - * @returns {number} Returns the index of the found element, else `-1`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; }); - * // => 2 - * - * // The `_.matches` iteratee shorthand. - * _.findLastIndex(users, { 'user': 'barney', 'active': true }); - * // => 0 - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findLastIndex(users, ['active', false]); - * // => 2 - * - * // The `_.property` iteratee shorthand. - * _.findLastIndex(users, 'active'); - * // => 0 - */ - function findLastIndex(array, predicate, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = length - 1; - if (fromIndex !== undefined) { - index = toInteger(fromIndex); - index = fromIndex < 0 - ? nativeMax(length + index, 0) - : nativeMin(index, length - 1); - } - return baseFindIndex(array, getIteratee(predicate, 3), index, true); - } - - /** - * Flattens `array` a single level deep. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flatten([1, [2, [3, [4]], 5]]); - * // => [1, 2, [3, [4]], 5] - */ - function flatten(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, 1) : []; - } - - /** - * Recursively flattens `array`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flattenDeep([1, [2, [3, [4]], 5]]); - * // => [1, 2, 3, 4, 5] - */ - function flattenDeep(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, INFINITY) : []; - } - - /** - * Recursively flatten `array` up to `depth` times. - * - * @static - * @memberOf _ - * @since 4.4.0 - * @category Array - * @param {Array} array The array to flatten. - * @param {number} [depth=1] The maximum recursion depth. - * @returns {Array} Returns the new flattened array. - * @example - * - * var array = [1, [2, [3, [4]], 5]]; - * - * _.flattenDepth(array, 1); - * // => [1, 2, [3, [4]], 5] - * - * _.flattenDepth(array, 2); - * // => [1, 2, 3, [4], 5] - */ - function flattenDepth(array, depth) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - depth = depth === undefined ? 1 : toInteger(depth); - return baseFlatten(array, depth); - } - - /** - * The inverse of `_.toPairs`; this method returns an object composed - * from key-value `pairs`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} pairs The key-value pairs. - * @returns {Object} Returns the new object. - * @example - * - * _.fromPairs([['a', 1], ['b', 2]]); - * // => { 'a': 1, 'b': 2 } - */ - function fromPairs(pairs) { - var index = -1, - length = pairs == null ? 0 : pairs.length, - result = {}; - - while (++index < length) { - var pair = pairs[index]; - result[pair[0]] = pair[1]; - } - return result; - } - - /** - * Gets the first element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @alias first - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the first element of `array`. - * @example - * - * _.head([1, 2, 3]); - * // => 1 - * - * _.head([]); - * // => undefined - */ - function head(array) { - return (array && array.length) ? array[0] : undefined; - } - - /** - * Gets the index at which the first occurrence of `value` is found in `array` - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. If `fromIndex` is negative, it's used as the - * offset from the end of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 - * - * // Search from the `fromIndex`. - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 - */ - function indexOf(array, value, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = fromIndex == null ? 0 : toInteger(fromIndex); - if (index < 0) { - index = nativeMax(length + index, 0); - } - return baseIndexOf(array, value, index); - } - - /** - * Gets all but the last element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.initial([1, 2, 3]); - * // => [1, 2] - */ - function initial(array) { - var length = array == null ? 0 : array.length; - return length ? baseSlice(array, 0, -1) : []; - } - - /** - * Creates an array of unique values that are included in all given arrays - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. The order and references of result values are - * determined by the first array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * _.intersection([2, 1], [2, 3]); - * // => [2] - */ - var intersection = baseRest(function(arrays) { - var mapped = arrayMap(arrays, castArrayLikeObject); - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped) - : []; - }); - - /** - * This method is like `_.intersection` except that it accepts `iteratee` - * which is invoked for each element of each `arrays` to generate the criterion - * by which they're compared. The order and references of result values are - * determined by the first array. The iteratee is invoked with one argument: - * (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [2.1] - * - * // The `_.property` iteratee shorthand. - * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }] - */ - var intersectionBy = baseRest(function(arrays) { - var iteratee = last(arrays), - mapped = arrayMap(arrays, castArrayLikeObject); - - if (iteratee === last(mapped)) { - iteratee = undefined; - } else { - mapped.pop(); - } - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped, getIteratee(iteratee, 2)) - : []; - }); - - /** - * This method is like `_.intersection` except that it accepts `comparator` - * which is invoked to compare elements of `arrays`. The order and references - * of result values are determined by the first array. The comparator is - * invoked with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.intersectionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }] - */ - var intersectionWith = baseRest(function(arrays) { - var comparator = last(arrays), - mapped = arrayMap(arrays, castArrayLikeObject); - - comparator = typeof comparator == 'function' ? comparator : undefined; - if (comparator) { - mapped.pop(); - } - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped, undefined, comparator) - : []; - }); - - /** - * Converts all elements in `array` into a string separated by `separator`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to convert. - * @param {string} [separator=','] The element separator. - * @returns {string} Returns the joined string. - * @example - * - * _.join(['a', 'b', 'c'], '~'); - * // => 'a~b~c' - */ - function join(array, separator) { - return array == null ? '' : nativeJoin.call(array, separator); - } - - /** - * Gets the last element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the last element of `array`. - * @example - * - * _.last([1, 2, 3]); - * // => 3 - */ - function last(array) { - var length = array == null ? 0 : array.length; - return length ? array[length - 1] : undefined; - } - - /** - * This method is like `_.indexOf` except that it iterates over elements of - * `array` from right to left. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=array.length-1] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.lastIndexOf([1, 2, 1, 2], 2); - * // => 3 - * - * // Search from the `fromIndex`. - * _.lastIndexOf([1, 2, 1, 2], 2, 2); - * // => 1 - */ - function lastIndexOf(array, value, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = length; - if (fromIndex !== undefined) { - index = toInteger(fromIndex); - index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1); - } - return value === value - ? strictLastIndexOf(array, value, index) - : baseFindIndex(array, baseIsNaN, index, true); - } - - /** - * Gets the element at index `n` of `array`. If `n` is negative, the nth - * element from the end is returned. - * - * @static - * @memberOf _ - * @since 4.11.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=0] The index of the element to return. - * @returns {*} Returns the nth element of `array`. - * @example - * - * var array = ['a', 'b', 'c', 'd']; - * - * _.nth(array, 1); - * // => 'b' - * - * _.nth(array, -2); - * // => 'c'; - */ - function nth(array, n) { - return (array && array.length) ? baseNth(array, toInteger(n)) : undefined; - } - - /** - * Removes all given values from `array` using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove` - * to remove elements from an array by predicate. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {...*} [values] The values to remove. - * @returns {Array} Returns `array`. - * @example - * - * var array = ['a', 'b', 'c', 'a', 'b', 'c']; - * - * _.pull(array, 'a', 'c'); - * console.log(array); - * // => ['b', 'b'] - */ - var pull = baseRest(pullAll); - - /** - * This method is like `_.pull` except that it accepts an array of values to remove. - * - * **Note:** Unlike `_.difference`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @returns {Array} Returns `array`. - * @example - * - * var array = ['a', 'b', 'c', 'a', 'b', 'c']; - * - * _.pullAll(array, ['a', 'c']); - * console.log(array); - * // => ['b', 'b'] - */ - function pullAll(array, values) { - return (array && array.length && values && values.length) - ? basePullAll(array, values) - : array; - } - - /** - * This method is like `_.pullAll` except that it accepts `iteratee` which is - * invoked for each element of `array` and `values` to generate the criterion - * by which they're compared. The iteratee is invoked with one argument: (value). - * - * **Note:** Unlike `_.differenceBy`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns `array`. - * @example - * - * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; - * - * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); - * console.log(array); - * // => [{ 'x': 2 }] - */ - function pullAllBy(array, values, iteratee) { - return (array && array.length && values && values.length) - ? basePullAll(array, values, getIteratee(iteratee, 2)) - : array; - } - - /** - * This method is like `_.pullAll` except that it accepts `comparator` which - * is invoked to compare elements of `array` to `values`. The comparator is - * invoked with two arguments: (arrVal, othVal). - * - * **Note:** Unlike `_.differenceWith`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 4.6.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns `array`. - * @example - * - * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }]; - * - * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual); - * console.log(array); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }] - */ - function pullAllWith(array, values, comparator) { - return (array && array.length && values && values.length) - ? basePullAll(array, values, undefined, comparator) - : array; - } - - /** - * Removes elements from `array` corresponding to `indexes` and returns an - * array of removed elements. - * - * **Note:** Unlike `_.at`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {...(number|number[])} [indexes] The indexes of elements to remove. - * @returns {Array} Returns the new array of removed elements. - * @example - * - * var array = ['a', 'b', 'c', 'd']; - * var pulled = _.pullAt(array, [1, 3]); - * - * console.log(array); - * // => ['a', 'c'] - * - * console.log(pulled); - * // => ['b', 'd'] - */ - var pullAt = flatRest(function(array, indexes) { - var length = array == null ? 0 : array.length, - result = baseAt(array, indexes); - - basePullAt(array, arrayMap(indexes, function(index) { - return isIndex(index, length) ? +index : index; - }).sort(compareAscending)); - - return result; - }); - - /** - * Removes all elements from `array` that `predicate` returns truthy for - * and returns an array of the removed elements. The predicate is invoked - * with three arguments: (value, index, array). - * - * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull` - * to pull elements from an array by value. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new array of removed elements. - * @example - * - * var array = [1, 2, 3, 4]; - * var evens = _.remove(array, function(n) { - * return n % 2 == 0; - * }); - * - * console.log(array); - * // => [1, 3] - * - * console.log(evens); - * // => [2, 4] - */ - function remove(array, predicate) { - var result = []; - if (!(array && array.length)) { - return result; - } - var index = -1, - indexes = [], - length = array.length; - - predicate = getIteratee(predicate, 3); - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result.push(value); - indexes.push(index); - } - } - basePullAt(array, indexes); - return result; - } - - /** - * Reverses `array` so that the first element becomes the last, the second - * element becomes the second to last, and so on. - * - * **Note:** This method mutates `array` and is based on - * [`Array#reverse`](https://mdn.io/Array/reverse). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to modify. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3]; - * - * _.reverse(array); - * // => [3, 2, 1] - * - * console.log(array); - * // => [3, 2, 1] - */ - function reverse(array) { - return array == null ? array : nativeReverse.call(array); - } - - /** - * Creates a slice of `array` from `start` up to, but not including, `end`. - * - * **Note:** This method is used instead of - * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are - * returned. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to slice. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the slice of `array`. - */ - function slice(array, start, end) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - if (end && typeof end != 'number' && isIterateeCall(array, start, end)) { - start = 0; - end = length; - } - else { - start = start == null ? 0 : toInteger(start); - end = end === undefined ? length : toInteger(end); - } - return baseSlice(array, start, end); - } - - /** - * Uses a binary search to determine the lowest index at which `value` - * should be inserted into `array` in order to maintain its sort order. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * _.sortedIndex([30, 50], 40); - * // => 1 - */ - function sortedIndex(array, value) { - return baseSortedIndex(array, value); - } - - /** - * This method is like `_.sortedIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * var objects = [{ 'x': 4 }, { 'x': 5 }]; - * - * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); - * // => 0 - * - * // The `_.property` iteratee shorthand. - * _.sortedIndexBy(objects, { 'x': 4 }, 'x'); - * // => 0 - */ - function sortedIndexBy(array, value, iteratee) { - return baseSortedIndexBy(array, value, getIteratee(iteratee, 2)); - } - - /** - * This method is like `_.indexOf` except that it performs a binary - * search on a sorted `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedIndexOf([4, 5, 5, 5, 6], 5); - * // => 1 - */ - function sortedIndexOf(array, value) { - var length = array == null ? 0 : array.length; - if (length) { - var index = baseSortedIndex(array, value); - if (index < length && eq(array[index], value)) { - return index; - } - } - return -1; - } - - /** - * This method is like `_.sortedIndex` except that it returns the highest - * index at which `value` should be inserted into `array` in order to - * maintain its sort order. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * _.sortedLastIndex([4, 5, 5, 5, 6], 5); - * // => 4 - */ - function sortedLastIndex(array, value) { - return baseSortedIndex(array, value, true); - } - - /** - * This method is like `_.sortedLastIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * var objects = [{ 'x': 4 }, { 'x': 5 }]; - * - * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); - * // => 1 - * - * // The `_.property` iteratee shorthand. - * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x'); - * // => 1 - */ - function sortedLastIndexBy(array, value, iteratee) { - return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true); - } - - /** - * This method is like `_.lastIndexOf` except that it performs a binary - * search on a sorted `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5); - * // => 3 - */ - function sortedLastIndexOf(array, value) { - var length = array == null ? 0 : array.length; - if (length) { - var index = baseSortedIndex(array, value, true) - 1; - if (eq(array[index], value)) { - return index; - } - } - return -1; - } - - /** - * This method is like `_.uniq` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniq([1, 1, 2]); - * // => [1, 2] - */ - function sortedUniq(array) { - return (array && array.length) - ? baseSortedUniq(array) - : []; - } - - /** - * This method is like `_.uniqBy` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); - * // => [1.1, 2.3] - */ - function sortedUniqBy(array, iteratee) { - return (array && array.length) - ? baseSortedUniq(array, getIteratee(iteratee, 2)) - : []; - } - - /** - * Gets all but the first element of `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to query. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.tail([1, 2, 3]); - * // => [2, 3] - */ - function tail(array) { - var length = array == null ? 0 : array.length; - return length ? baseSlice(array, 1, length) : []; - } - - /** - * Creates a slice of `array` with `n` elements taken from the beginning. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to take. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.take([1, 2, 3]); - * // => [1] - * - * _.take([1, 2, 3], 2); - * // => [1, 2] - * - * _.take([1, 2, 3], 5); - * // => [1, 2, 3] - * - * _.take([1, 2, 3], 0); - * // => [] - */ - function take(array, n, guard) { - if (!(array && array.length)) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - return baseSlice(array, 0, n < 0 ? 0 : n); - } - - /** - * Creates a slice of `array` with `n` elements taken from the end. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to take. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.takeRight([1, 2, 3]); - * // => [3] - * - * _.takeRight([1, 2, 3], 2); - * // => [2, 3] - * - * _.takeRight([1, 2, 3], 5); - * // => [1, 2, 3] - * - * _.takeRight([1, 2, 3], 0); - * // => [] - */ - function takeRight(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - n = length - n; - return baseSlice(array, n < 0 ? 0 : n, length); - } - - /** - * Creates a slice of `array` with elements taken from the end. Elements are - * taken until `predicate` returns falsey. The predicate is invoked with - * three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.takeRightWhile(users, function(o) { return !o.active; }); - * // => objects for ['fred', 'pebbles'] - * - * // The `_.matches` iteratee shorthand. - * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false }); - * // => objects for ['pebbles'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.takeRightWhile(users, ['active', false]); - * // => objects for ['fred', 'pebbles'] - * - * // The `_.property` iteratee shorthand. - * _.takeRightWhile(users, 'active'); - * // => [] - */ - function takeRightWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), false, true) - : []; - } - - /** - * Creates a slice of `array` with elements taken from the beginning. Elements - * are taken until `predicate` returns falsey. The predicate is invoked with - * three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.takeWhile(users, function(o) { return !o.active; }); - * // => objects for ['barney', 'fred'] - * - * // The `_.matches` iteratee shorthand. - * _.takeWhile(users, { 'user': 'barney', 'active': false }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.takeWhile(users, ['active', false]); - * // => objects for ['barney', 'fred'] - * - * // The `_.property` iteratee shorthand. - * _.takeWhile(users, 'active'); - * // => [] - */ - function takeWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3)) - : []; - } - - /** - * Creates an array of unique values, in order, from all given arrays using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of combined values. - * @example - * - * _.union([2], [1, 2]); - * // => [2, 1] - */ - var union = baseRest(function(arrays) { - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true)); - }); - - /** - * This method is like `_.union` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by - * which uniqueness is computed. Result values are chosen from the first - * array in which the value occurs. The iteratee is invoked with one argument: - * (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of combined values. - * @example - * - * _.unionBy([2.1], [1.2, 2.3], Math.floor); - * // => [2.1, 1.2] - * - * // The `_.property` iteratee shorthand. - * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ - var unionBy = baseRest(function(arrays) { - var iteratee = last(arrays); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)); - }); - - /** - * This method is like `_.union` except that it accepts `comparator` which - * is invoked to compare elements of `arrays`. Result values are chosen from - * the first array in which the value occurs. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of combined values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.unionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - var unionWith = baseRest(function(arrays) { - var comparator = last(arrays); - comparator = typeof comparator == 'function' ? comparator : undefined; - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator); - }); - - /** - * Creates a duplicate-free version of an array, using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons, in which only the first occurrence of each element - * is kept. The order of result values is determined by the order they occur - * in the array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniq([2, 1, 2]); - * // => [2, 1] - */ - function uniq(array) { - return (array && array.length) ? baseUniq(array) : []; - } - - /** - * This method is like `_.uniq` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * uniqueness is computed. The order of result values is determined by the - * order they occur in the array. The iteratee is invoked with one argument: - * (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniqBy([2.1, 1.2, 2.3], Math.floor); - * // => [2.1, 1.2] - * - * // The `_.property` iteratee shorthand. - * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ - function uniqBy(array, iteratee) { - return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : []; - } - - /** - * This method is like `_.uniq` except that it accepts `comparator` which - * is invoked to compare elements of `array`. The order of result values is - * determined by the order they occur in the array.The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.uniqWith(objects, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }] - */ - function uniqWith(array, comparator) { - comparator = typeof comparator == 'function' ? comparator : undefined; - return (array && array.length) ? baseUniq(array, undefined, comparator) : []; - } - - /** - * This method is like `_.zip` except that it accepts an array of grouped - * elements and creates an array regrouping the elements to their pre-zip - * configuration. - * - * @static - * @memberOf _ - * @since 1.2.0 - * @category Array - * @param {Array} array The array of grouped elements to process. - * @returns {Array} Returns the new array of regrouped elements. - * @example - * - * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]); - * // => [['a', 1, true], ['b', 2, false]] - * - * _.unzip(zipped); - * // => [['a', 'b'], [1, 2], [true, false]] - */ - function unzip(array) { - if (!(array && array.length)) { - return []; - } - var length = 0; - array = arrayFilter(array, function(group) { - if (isArrayLikeObject(group)) { - length = nativeMax(group.length, length); - return true; - } - }); - return baseTimes(length, function(index) { - return arrayMap(array, baseProperty(index)); - }); - } - - /** - * This method is like `_.unzip` except that it accepts `iteratee` to specify - * how regrouped values should be combined. The iteratee is invoked with the - * elements of each group: (...group). - * - * @static - * @memberOf _ - * @since 3.8.0 - * @category Array - * @param {Array} array The array of grouped elements to process. - * @param {Function} [iteratee=_.identity] The function to combine - * regrouped values. - * @returns {Array} Returns the new array of regrouped elements. - * @example - * - * var zipped = _.zip([1, 2], [10, 20], [100, 200]); - * // => [[1, 10, 100], [2, 20, 200]] - * - * _.unzipWith(zipped, _.add); - * // => [3, 30, 300] - */ - function unzipWith(array, iteratee) { - if (!(array && array.length)) { - return []; - } - var result = unzip(array); - if (iteratee == null) { - return result; - } - return arrayMap(result, function(group) { - return apply(iteratee, undefined, group); - }); - } - - /** - * Creates an array excluding all given values using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * **Note:** Unlike `_.pull`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...*} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @see _.difference, _.xor - * @example - * - * _.without([2, 1, 2, 3], 1, 2); - * // => [3] - */ - var without = baseRest(function(array, values) { - return isArrayLikeObject(array) - ? baseDifference(array, values) - : []; - }); - - /** - * Creates an array of unique values that is the - * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference) - * of the given arrays. The order of result values is determined by the order - * they occur in the arrays. - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of filtered values. - * @see _.difference, _.without - * @example - * - * _.xor([2, 1], [2, 3]); - * // => [1, 3] - */ - var xor = baseRest(function(arrays) { - return baseXor(arrayFilter(arrays, isArrayLikeObject)); - }); - - /** - * This method is like `_.xor` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by - * which by which they're compared. The order of result values is determined - * by the order they occur in the arrays. The iteratee is invoked with one - * argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [1.2, 3.4] - * - * // The `_.property` iteratee shorthand. - * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] - */ - var xorBy = baseRest(function(arrays) { - var iteratee = last(arrays); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2)); - }); - - /** - * This method is like `_.xor` except that it accepts `comparator` which is - * invoked to compare elements of `arrays`. The order of result values is - * determined by the order they occur in the arrays. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.xorWith(objects, others, _.isEqual); - * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - var xorWith = baseRest(function(arrays) { - var comparator = last(arrays); - comparator = typeof comparator == 'function' ? comparator : undefined; - return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator); - }); - - /** - * Creates an array of grouped elements, the first of which contains the - * first elements of the given arrays, the second of which contains the - * second elements of the given arrays, and so on. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to process. - * @returns {Array} Returns the new array of grouped elements. - * @example - * - * _.zip(['a', 'b'], [1, 2], [true, false]); - * // => [['a', 1, true], ['b', 2, false]] - */ - var zip = baseRest(unzip); - - /** - * This method is like `_.fromPairs` except that it accepts two arrays, - * one of property identifiers and one of corresponding values. - * - * @static - * @memberOf _ - * @since 0.4.0 - * @category Array - * @param {Array} [props=[]] The property identifiers. - * @param {Array} [values=[]] The property values. - * @returns {Object} Returns the new object. - * @example - * - * _.zipObject(['a', 'b'], [1, 2]); - * // => { 'a': 1, 'b': 2 } - */ - function zipObject(props, values) { - return baseZipObject(props || [], values || [], assignValue); - } - - /** - * This method is like `_.zipObject` except that it supports property paths. - * - * @static - * @memberOf _ - * @since 4.1.0 - * @category Array - * @param {Array} [props=[]] The property identifiers. - * @param {Array} [values=[]] The property values. - * @returns {Object} Returns the new object. - * @example - * - * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]); - * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } } - */ - function zipObjectDeep(props, values) { - return baseZipObject(props || [], values || [], baseSet); - } - - /** - * This method is like `_.zip` except that it accepts `iteratee` to specify - * how grouped values should be combined. The iteratee is invoked with the - * elements of each group: (...group). - * - * @static - * @memberOf _ - * @since 3.8.0 - * @category Array - * @param {...Array} [arrays] The arrays to process. - * @param {Function} [iteratee=_.identity] The function to combine - * grouped values. - * @returns {Array} Returns the new array of grouped elements. - * @example - * - * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) { - * return a + b + c; - * }); - * // => [111, 222] - */ - var zipWith = baseRest(function(arrays) { - var length = arrays.length, - iteratee = length > 1 ? arrays[length - 1] : undefined; - - iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined; - return unzipWith(arrays, iteratee); - }); - - /*------------------------------------------------------------------------*/ - - /** - * Creates a `lodash` wrapper instance that wraps `value` with explicit method - * chain sequences enabled. The result of such sequences must be unwrapped - * with `_#value`. - * - * @static - * @memberOf _ - * @since 1.3.0 - * @category Seq - * @param {*} value The value to wrap. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'pebbles', 'age': 1 } - * ]; - * - * var youngest = _ - * .chain(users) - * .sortBy('age') - * .map(function(o) { - * return o.user + ' is ' + o.age; - * }) - * .head() - * .value(); - * // => 'pebbles is 1' - */ - function chain(value) { - var result = lodash(value); - result.__chain__ = true; - return result; - } - - /** - * This method invokes `interceptor` and returns `value`. The interceptor - * is invoked with one argument; (value). The purpose of this method is to - * "tap into" a method chain sequence in order to modify intermediate results. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @returns {*} Returns `value`. - * @example - * - * _([1, 2, 3]) - * .tap(function(array) { - * // Mutate input array. - * array.pop(); - * }) - * .reverse() - * .value(); - * // => [2, 1] - */ - function tap(value, interceptor) { - interceptor(value); - return value; - } - - /** - * This method is like `_.tap` except that it returns the result of `interceptor`. - * The purpose of this method is to "pass thru" values replacing intermediate - * results in a method chain sequence. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Seq - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @returns {*} Returns the result of `interceptor`. - * @example - * - * _(' abc ') - * .chain() - * .trim() - * .thru(function(value) { - * return [value]; - * }) - * .value(); - * // => ['abc'] - */ - function thru(value, interceptor) { - return interceptor(value); - } - - /** - * This method is the wrapper version of `_.at`. - * - * @name at - * @memberOf _ - * @since 1.0.0 - * @category Seq - * @param {...(string|string[])} [paths] The property paths to pick. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; - * - * _(object).at(['a[0].b.c', 'a[1]']).value(); - * // => [3, 4] - */ - var wrapperAt = flatRest(function(paths) { - var length = paths.length, - start = length ? paths[0] : 0, - value = this.__wrapped__, - interceptor = function(object) { return baseAt(object, paths); }; - - if (length > 1 || this.__actions__.length || - !(value instanceof LazyWrapper) || !isIndex(start)) { - return this.thru(interceptor); - } - value = value.slice(start, +start + (length ? 1 : 0)); - value.__actions__.push({ - 'func': thru, - 'args': [interceptor], - 'thisArg': undefined - }); - return new LodashWrapper(value, this.__chain__).thru(function(array) { - if (length && !array.length) { - array.push(undefined); - } - return array; - }); - }); - - /** - * Creates a `lodash` wrapper instance with explicit method chain sequences enabled. - * - * @name chain - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * // A sequence without explicit chaining. - * _(users).head(); - * // => { 'user': 'barney', 'age': 36 } - * - * // A sequence with explicit chaining. - * _(users) - * .chain() - * .head() - * .pick('user') - * .value(); - * // => { 'user': 'barney' } - */ - function wrapperChain() { - return chain(this); - } - - /** - * Executes the chain sequence and returns the wrapped result. - * - * @name commit - * @memberOf _ - * @since 3.2.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2]; - * var wrapped = _(array).push(3); - * - * console.log(array); - * // => [1, 2] - * - * wrapped = wrapped.commit(); - * console.log(array); - * // => [1, 2, 3] - * - * wrapped.last(); - * // => 3 - * - * console.log(array); - * // => [1, 2, 3] - */ - function wrapperCommit() { - return new LodashWrapper(this.value(), this.__chain__); - } - - /** - * Gets the next value on a wrapped object following the - * [iterator protocol](https://mdn.io/iteration_protocols#iterator). - * - * @name next - * @memberOf _ - * @since 4.0.0 - * @category Seq - * @returns {Object} Returns the next iterator value. - * @example - * - * var wrapped = _([1, 2]); - * - * wrapped.next(); - * // => { 'done': false, 'value': 1 } - * - * wrapped.next(); - * // => { 'done': false, 'value': 2 } - * - * wrapped.next(); - * // => { 'done': true, 'value': undefined } - */ - function wrapperNext() { - if (this.__values__ === undefined) { - this.__values__ = toArray(this.value()); - } - var done = this.__index__ >= this.__values__.length, - value = done ? undefined : this.__values__[this.__index__++]; - - return { 'done': done, 'value': value }; - } - - /** - * Enables the wrapper to be iterable. - * - * @name Symbol.iterator - * @memberOf _ - * @since 4.0.0 - * @category Seq - * @returns {Object} Returns the wrapper object. - * @example - * - * var wrapped = _([1, 2]); - * - * wrapped[Symbol.iterator]() === wrapped; - * // => true - * - * Array.from(wrapped); - * // => [1, 2] - */ - function wrapperToIterator() { - return this; - } - - /** - * Creates a clone of the chain sequence planting `value` as the wrapped value. - * - * @name plant - * @memberOf _ - * @since 3.2.0 - * @category Seq - * @param {*} value The value to plant. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var wrapped = _([1, 2]).map(square); - * var other = wrapped.plant([3, 4]); - * - * other.value(); - * // => [9, 16] - * - * wrapped.value(); - * // => [1, 4] - */ - function wrapperPlant(value) { - var result, - parent = this; - - while (parent instanceof baseLodash) { - var clone = wrapperClone(parent); - clone.__index__ = 0; - clone.__values__ = undefined; - if (result) { - previous.__wrapped__ = clone; - } else { - result = clone; - } - var previous = clone; - parent = parent.__wrapped__; - } - previous.__wrapped__ = value; - return result; - } - - /** - * This method is the wrapper version of `_.reverse`. - * - * **Note:** This method mutates the wrapped array. - * - * @name reverse - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2, 3]; - * - * _(array).reverse().value() - * // => [3, 2, 1] - * - * console.log(array); - * // => [3, 2, 1] - */ - function wrapperReverse() { - var value = this.__wrapped__; - if (value instanceof LazyWrapper) { - var wrapped = value; - if (this.__actions__.length) { - wrapped = new LazyWrapper(this); - } - wrapped = wrapped.reverse(); - wrapped.__actions__.push({ - 'func': thru, - 'args': [reverse], - 'thisArg': undefined - }); - return new LodashWrapper(wrapped, this.__chain__); - } - return this.thru(reverse); - } - - /** - * Executes the chain sequence to resolve the unwrapped value. - * - * @name value - * @memberOf _ - * @since 0.1.0 - * @alias toJSON, valueOf - * @category Seq - * @returns {*} Returns the resolved unwrapped value. - * @example - * - * _([1, 2, 3]).value(); - * // => [1, 2, 3] - */ - function wrapperValue() { - return baseWrapperValue(this.__wrapped__, this.__actions__); - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The corresponding value of - * each key is the number of times the key was returned by `iteratee`. The - * iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.countBy([6.1, 4.2, 6.3], Math.floor); - * // => { '4': 1, '6': 2 } - * - * // The `_.property` iteratee shorthand. - * _.countBy(['one', 'two', 'three'], 'length'); - * // => { '3': 2, '5': 1 } - */ - var countBy = createAggregator(function(result, value, key) { - if (hasOwnProperty.call(result, key)) { - ++result[key]; - } else { - baseAssignValue(result, key, 1); - } - }); - - /** - * Checks if `predicate` returns truthy for **all** elements of `collection`. - * Iteration is stopped once `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index|key, collection). - * - * **Note:** This method returns `true` for - * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because - * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of - * elements of empty collections. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - * @example - * - * _.every([true, 1, null, 'yes'], Boolean); - * // => false - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.every(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // The `_.matchesProperty` iteratee shorthand. - * _.every(users, ['active', false]); - * // => true - * - * // The `_.property` iteratee shorthand. - * _.every(users, 'active'); - * // => false - */ - function every(collection, predicate, guard) { - var func = isArray(collection) ? arrayEvery : baseEvery; - if (guard && isIterateeCall(collection, predicate, guard)) { - predicate = undefined; - } - return func(collection, getIteratee(predicate, 3)); - } - - /** - * Iterates over elements of `collection`, returning an array of all elements - * `predicate` returns truthy for. The predicate is invoked with three - * arguments: (value, index|key, collection). - * - * **Note:** Unlike `_.remove`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - * @see _.reject - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * _.filter(users, function(o) { return !o.active; }); - * // => objects for ['fred'] - * - * // The `_.matches` iteratee shorthand. - * _.filter(users, { 'age': 36, 'active': true }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.filter(users, ['active', false]); - * // => objects for ['fred'] - * - * // The `_.property` iteratee shorthand. - * _.filter(users, 'active'); - * // => objects for ['barney'] - */ - function filter(collection, predicate) { - var func = isArray(collection) ? arrayFilter : baseFilter; - return func(collection, getIteratee(predicate, 3)); - } - - /** - * Iterates over elements of `collection`, returning the first element - * `predicate` returns truthy for. The predicate is invoked with three - * arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=0] The index to search from. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false }, - * { 'user': 'pebbles', 'age': 1, 'active': true } - * ]; - * - * _.find(users, function(o) { return o.age < 40; }); - * // => object for 'barney' - * - * // The `_.matches` iteratee shorthand. - * _.find(users, { 'age': 1, 'active': true }); - * // => object for 'pebbles' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.find(users, ['active', false]); - * // => object for 'fred' - * - * // The `_.property` iteratee shorthand. - * _.find(users, 'active'); - * // => object for 'barney' - */ - var find = createFind(findIndex); - - /** - * This method is like `_.find` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Collection - * @param {Array|Object} collection The collection to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=collection.length-1] The index to search from. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * _.findLast([1, 2, 3, 4], function(n) { - * return n % 2 == 1; - * }); - * // => 3 - */ - var findLast = createFind(findLastIndex); - - /** - * Creates a flattened array of values by running each element in `collection` - * thru `iteratee` and flattening the mapped results. The iteratee is invoked - * with three arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [n, n]; - * } - * - * _.flatMap([1, 2], duplicate); - * // => [1, 1, 2, 2] - */ - function flatMap(collection, iteratee) { - return baseFlatten(map(collection, iteratee), 1); - } - - /** - * This method is like `_.flatMap` except that it recursively flattens the - * mapped results. - * - * @static - * @memberOf _ - * @since 4.7.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [[[n, n]]]; - * } - * - * _.flatMapDeep([1, 2], duplicate); - * // => [1, 1, 2, 2] - */ - function flatMapDeep(collection, iteratee) { - return baseFlatten(map(collection, iteratee), INFINITY); - } - - /** - * This method is like `_.flatMap` except that it recursively flattens the - * mapped results up to `depth` times. - * - * @static - * @memberOf _ - * @since 4.7.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {number} [depth=1] The maximum recursion depth. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [[[n, n]]]; - * } - * - * _.flatMapDepth([1, 2], duplicate, 2); - * // => [[1, 1], [2, 2]] - */ - function flatMapDepth(collection, iteratee, depth) { - depth = depth === undefined ? 1 : toInteger(depth); - return baseFlatten(map(collection, iteratee), depth); - } - - /** - * Iterates over elements of `collection` and invokes `iteratee` for each element. - * The iteratee is invoked with three arguments: (value, index|key, collection). - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * **Note:** As with other "Collections" methods, objects with a "length" - * property are iterated like arrays. To avoid this behavior use `_.forIn` - * or `_.forOwn` for object iteration. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @alias each - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - * @see _.forEachRight - * @example - * - * _.forEach([1, 2], function(value) { - * console.log(value); - * }); - * // => Logs `1` then `2`. - * - * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a' then 'b' (iteration order is not guaranteed). - */ - function forEach(collection, iteratee) { - var func = isArray(collection) ? arrayEach : baseEach; - return func(collection, getIteratee(iteratee, 3)); - } - - /** - * This method is like `_.forEach` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @alias eachRight - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - * @see _.forEach - * @example - * - * _.forEachRight([1, 2], function(value) { - * console.log(value); - * }); - * // => Logs `2` then `1`. - */ - function forEachRight(collection, iteratee) { - var func = isArray(collection) ? arrayEachRight : baseEachRight; - return func(collection, getIteratee(iteratee, 3)); - } - - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The order of grouped values - * is determined by the order they occur in `collection`. The corresponding - * value of each key is an array of elements responsible for generating the - * key. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.groupBy([6.1, 4.2, 6.3], Math.floor); - * // => { '4': [4.2], '6': [6.1, 6.3] } - * - * // The `_.property` iteratee shorthand. - * _.groupBy(['one', 'two', 'three'], 'length'); - * // => { '3': ['one', 'two'], '5': ['three'] } - */ - var groupBy = createAggregator(function(result, value, key) { - if (hasOwnProperty.call(result, key)) { - result[key].push(value); - } else { - baseAssignValue(result, key, [value]); - } - }); - - /** - * Checks if `value` is in `collection`. If `collection` is a string, it's - * checked for a substring of `value`, otherwise - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * is used for equality comparisons. If `fromIndex` is negative, it's used as - * the offset from the end of `collection`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. - * @returns {boolean} Returns `true` if `value` is found, else `false`. - * @example - * - * _.includes([1, 2, 3], 1); - * // => true - * - * _.includes([1, 2, 3], 1, 2); - * // => false - * - * _.includes({ 'a': 1, 'b': 2 }, 1); - * // => true - * - * _.includes('abcd', 'bc'); - * // => true - */ - function includes(collection, value, fromIndex, guard) { - collection = isArrayLike(collection) ? collection : values(collection); - fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0; - - var length = collection.length; - if (fromIndex < 0) { - fromIndex = nativeMax(length + fromIndex, 0); - } - return isString(collection) - ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1) - : (!!length && baseIndexOf(collection, value, fromIndex) > -1); - } - - /** - * Invokes the method at `path` of each element in `collection`, returning - * an array of the results of each invoked method. Any additional arguments - * are provided to each invoked method. If `path` is a function, it's invoked - * for, and `this` bound to, each element in `collection`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Array|Function|string} path The path of the method to invoke or - * the function invoked per iteration. - * @param {...*} [args] The arguments to invoke each method with. - * @returns {Array} Returns the array of results. - * @example - * - * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort'); - * // => [[1, 5, 7], [1, 2, 3]] - * - * _.invokeMap([123, 456], String.prototype.split, ''); - * // => [['1', '2', '3'], ['4', '5', '6']] - */ - var invokeMap = baseRest(function(collection, path, args) { - var index = -1, - isFunc = typeof path == 'function', - result = isArrayLike(collection) ? Array(collection.length) : []; - - baseEach(collection, function(value) { - result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args); - }); - return result; - }); - - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The corresponding value of - * each key is the last element responsible for generating the key. The - * iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * var array = [ - * { 'dir': 'left', 'code': 97 }, - * { 'dir': 'right', 'code': 100 } - * ]; - * - * _.keyBy(array, function(o) { - * return String.fromCharCode(o.code); - * }); - * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } - * - * _.keyBy(array, 'dir'); - * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } - */ - var keyBy = createAggregator(function(result, value, key) { - baseAssignValue(result, key, value); - }); - - /** - * Creates an array of values by running each element in `collection` thru - * `iteratee`. The iteratee is invoked with three arguments: - * (value, index|key, collection). - * - * Many lodash methods are guarded to work as iteratees for methods like - * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`. - * - * The guarded methods are: - * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`, - * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`, - * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`, - * `template`, `trim`, `trimEnd`, `trimStart`, and `words` - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - * @example - * - * function square(n) { - * return n * n; - * } - * - * _.map([4, 8], square); - * // => [16, 64] - * - * _.map({ 'a': 4, 'b': 8 }, square); - * // => [16, 64] (iteration order is not guaranteed) - * - * var users = [ - * { 'user': 'barney' }, - * { 'user': 'fred' } - * ]; - * - * // The `_.property` iteratee shorthand. - * _.map(users, 'user'); - * // => ['barney', 'fred'] - */ - function map(collection, iteratee) { - var func = isArray(collection) ? arrayMap : baseMap; - return func(collection, getIteratee(iteratee, 3)); - } - - /** - * This method is like `_.sortBy` except that it allows specifying the sort - * orders of the iteratees to sort by. If `orders` is unspecified, all values - * are sorted in ascending order. Otherwise, specify an order of "desc" for - * descending or "asc" for ascending sort order of corresponding values. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]] - * The iteratees to sort by. - * @param {string[]} [orders] The sort orders of `iteratees`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 34 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'barney', 'age': 36 } - * ]; - * - * // Sort by `user` in ascending order and by `age` in descending order. - * _.orderBy(users, ['user', 'age'], ['asc', 'desc']); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]] - */ - function orderBy(collection, iteratees, orders, guard) { - if (collection == null) { - return []; - } - if (!isArray(iteratees)) { - iteratees = iteratees == null ? [] : [iteratees]; - } - orders = guard ? undefined : orders; - if (!isArray(orders)) { - orders = orders == null ? [] : [orders]; - } - return baseOrderBy(collection, iteratees, orders); - } - - /** - * Creates an array of elements split into two groups, the first of which - * contains elements `predicate` returns truthy for, the second of which - * contains elements `predicate` returns falsey for. The predicate is - * invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the array of grouped elements. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': true }, - * { 'user': 'pebbles', 'age': 1, 'active': false } - * ]; - * - * _.partition(users, function(o) { return o.active; }); - * // => objects for [['fred'], ['barney', 'pebbles']] - * - * // The `_.matches` iteratee shorthand. - * _.partition(users, { 'age': 1, 'active': false }); - * // => objects for [['pebbles'], ['barney', 'fred']] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.partition(users, ['active', false]); - * // => objects for [['barney', 'pebbles'], ['fred']] - * - * // The `_.property` iteratee shorthand. - * _.partition(users, 'active'); - * // => objects for [['fred'], ['barney', 'pebbles']] - */ - var partition = createAggregator(function(result, value, key) { - result[key ? 0 : 1].push(value); - }, function() { return [[], []]; }); - - /** - * Reduces `collection` to a value which is the accumulated result of running - * each element in `collection` thru `iteratee`, where each successive - * invocation is supplied the return value of the previous. If `accumulator` - * is not given, the first element of `collection` is used as the initial - * value. The iteratee is invoked with four arguments: - * (accumulator, value, index|key, collection). - * - * Many lodash methods are guarded to work as iteratees for methods like - * `_.reduce`, `_.reduceRight`, and `_.transform`. - * - * The guarded methods are: - * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`, - * and `sortBy` - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @returns {*} Returns the accumulated value. - * @see _.reduceRight - * @example - * - * _.reduce([1, 2], function(sum, n) { - * return sum + n; - * }, 0); - * // => 3 - * - * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) { - * (result[value] || (result[value] = [])).push(key); - * return result; - * }, {}); - * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed) - */ - function reduce(collection, iteratee, accumulator) { - var func = isArray(collection) ? arrayReduce : baseReduce, - initAccum = arguments.length < 3; - - return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach); - } - - /** - * This method is like `_.reduce` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @returns {*} Returns the accumulated value. - * @see _.reduce - * @example - * - * var array = [[0, 1], [2, 3], [4, 5]]; - * - * _.reduceRight(array, function(flattened, other) { - * return flattened.concat(other); - * }, []); - * // => [4, 5, 2, 3, 0, 1] - */ - function reduceRight(collection, iteratee, accumulator) { - var func = isArray(collection) ? arrayReduceRight : baseReduce, - initAccum = arguments.length < 3; - - return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight); - } - - /** - * The opposite of `_.filter`; this method returns the elements of `collection` - * that `predicate` does **not** return truthy for. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - * @see _.filter - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': true } - * ]; - * - * _.reject(users, function(o) { return !o.active; }); - * // => objects for ['fred'] - * - * // The `_.matches` iteratee shorthand. - * _.reject(users, { 'age': 40, 'active': true }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.reject(users, ['active', false]); - * // => objects for ['fred'] - * - * // The `_.property` iteratee shorthand. - * _.reject(users, 'active'); - * // => objects for ['barney'] - */ - function reject(collection, predicate) { - var func = isArray(collection) ? arrayFilter : baseFilter; - return func(collection, negate(getIteratee(predicate, 3))); - } - - /** - * Gets a random element from `collection`. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Collection - * @param {Array|Object} collection The collection to sample. - * @returns {*} Returns the random element. - * @example - * - * _.sample([1, 2, 3, 4]); - * // => 2 - */ - function sample(collection) { - var func = isArray(collection) ? arraySample : baseSample; - return func(collection); - } - - /** - * Gets `n` random elements at unique keys from `collection` up to the - * size of `collection`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to sample. - * @param {number} [n=1] The number of elements to sample. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the random elements. - * @example - * - * _.sampleSize([1, 2, 3], 2); - * // => [3, 1] - * - * _.sampleSize([1, 2, 3], 4); - * // => [2, 3, 1] - */ - function sampleSize(collection, n, guard) { - if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) { - n = 1; - } else { - n = toInteger(n); - } - var func = isArray(collection) ? arraySampleSize : baseSampleSize; - return func(collection, n); - } - - /** - * Creates an array of shuffled values, using a version of the - * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to shuffle. - * @returns {Array} Returns the new shuffled array. - * @example - * - * _.shuffle([1, 2, 3, 4]); - * // => [4, 1, 3, 2] - */ - function shuffle(collection) { - var func = isArray(collection) ? arrayShuffle : baseShuffle; - return func(collection); - } - - /** - * Gets the size of `collection` by returning its length for array-like - * values or the number of own enumerable string keyed properties for objects. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @returns {number} Returns the collection size. - * @example - * - * _.size([1, 2, 3]); - * // => 3 - * - * _.size({ 'a': 1, 'b': 2 }); - * // => 2 - * - * _.size('pebbles'); - * // => 7 - */ - function size(collection) { - if (collection == null) { - return 0; - } - if (isArrayLike(collection)) { - return isString(collection) ? stringSize(collection) : collection.length; - } - var tag = getTag(collection); - if (tag == mapTag || tag == setTag) { - return collection.size; - } - return baseKeys(collection).length; - } - - /** - * Checks if `predicate` returns truthy for **any** element of `collection`. - * Iteration is stopped once `predicate` returns truthy. The predicate is - * invoked with three arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - * @example - * - * _.some([null, 0, 'yes', false], Boolean); - * // => true - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.some(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // The `_.matchesProperty` iteratee shorthand. - * _.some(users, ['active', false]); - * // => true - * - * // The `_.property` iteratee shorthand. - * _.some(users, 'active'); - * // => true - */ - function some(collection, predicate, guard) { - var func = isArray(collection) ? arraySome : baseSome; - if (guard && isIterateeCall(collection, predicate, guard)) { - predicate = undefined; - } - return func(collection, getIteratee(predicate, 3)); - } - - /** - * Creates an array of elements, sorted in ascending order by the results of - * running each element in a collection thru each iteratee. This method - * performs a stable sort, that is, it preserves the original sort order of - * equal elements. The iteratees are invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {...(Function|Function[])} [iteratees=[_.identity]] - * The iteratees to sort by. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'barney', 'age': 34 } - * ]; - * - * _.sortBy(users, [function(o) { return o.user; }]); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]] - * - * _.sortBy(users, ['user', 'age']); - * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]] - */ - var sortBy = baseRest(function(collection, iteratees) { - if (collection == null) { - return []; - } - var length = iteratees.length; - if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) { - iteratees = []; - } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) { - iteratees = [iteratees[0]]; - } - return baseOrderBy(collection, baseFlatten(iteratees, 1), []); - }); - - /*------------------------------------------------------------------------*/ - - /** - * Gets the timestamp of the number of milliseconds that have elapsed since - * the Unix epoch (1 January 1970 00:00:00 UTC). - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Date - * @returns {number} Returns the timestamp. - * @example - * - * _.defer(function(stamp) { - * console.log(_.now() - stamp); - * }, _.now()); - * // => Logs the number of milliseconds it took for the deferred invocation. - */ - var now = ctxNow || function() { - return root.Date.now(); - }; - - /*------------------------------------------------------------------------*/ - - /** - * The opposite of `_.before`; this method creates a function that invokes - * `func` once it's called `n` or more times. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {number} n The number of calls before `func` is invoked. - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var saves = ['profile', 'settings']; - * - * var done = _.after(saves.length, function() { - * console.log('done saving!'); - * }); - * - * _.forEach(saves, function(type) { - * asyncSave({ 'type': type, 'complete': done }); - * }); - * // => Logs 'done saving!' after the two async saves have completed. - */ - function after(n, func) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - n = toInteger(n); - return function() { - if (--n < 1) { - return func.apply(this, arguments); - } - }; - } - - /** - * Creates a function that invokes `func`, with up to `n` arguments, - * ignoring any additional arguments. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to cap arguments for. - * @param {number} [n=func.length] The arity cap. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new capped function. - * @example - * - * _.map(['6', '8', '10'], _.ary(parseInt, 1)); - * // => [6, 8, 10] - */ - function ary(func, n, guard) { - n = guard ? undefined : n; - n = (func && n == null) ? func.length : n; - return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n); - } - - /** - * Creates a function that invokes `func`, with the `this` binding and arguments - * of the created function, while it's called less than `n` times. Subsequent - * calls to the created function return the result of the last `func` invocation. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {number} n The number of calls at which `func` is no longer invoked. - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * jQuery(element).on('click', _.before(5, addContactToList)); - * // => Allows adding up to 4 contacts to the list. - */ - function before(n, func) { - var result; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - n = toInteger(n); - return function() { - if (--n > 0) { - result = func.apply(this, arguments); - } - if (n <= 1) { - func = undefined; - } - return result; - }; - } - - /** - * Creates a function that invokes `func` with the `this` binding of `thisArg` - * and `partials` prepended to the arguments it receives. - * - * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds, - * may be used as a placeholder for partially applied arguments. - * - * **Note:** Unlike native `Function#bind`, this method doesn't set the "length" - * property of bound functions. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to bind. - * @param {*} thisArg The `this` binding of `func`. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * function greet(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } - * - * var object = { 'user': 'fred' }; - * - * var bound = _.bind(greet, object, 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * // Bound with placeholders. - * var bound = _.bind(greet, object, _, '!'); - * bound('hi'); - * // => 'hi fred!' - */ - var bind = baseRest(function(func, thisArg, partials) { - var bitmask = WRAP_BIND_FLAG; - if (partials.length) { - var holders = replaceHolders(partials, getHolder(bind)); - bitmask |= WRAP_PARTIAL_FLAG; - } - return createWrap(func, bitmask, thisArg, partials, holders); - }); - - /** - * Creates a function that invokes the method at `object[key]` with `partials` - * prepended to the arguments it receives. - * - * This method differs from `_.bind` by allowing bound functions to reference - * methods that may be redefined or don't yet exist. See - * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern) - * for more details. - * - * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * @static - * @memberOf _ - * @since 0.10.0 - * @category Function - * @param {Object} object The object to invoke the method on. - * @param {string} key The key of the method. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * var object = { - * 'user': 'fred', - * 'greet': function(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } - * }; - * - * var bound = _.bindKey(object, 'greet', 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * object.greet = function(greeting, punctuation) { - * return greeting + 'ya ' + this.user + punctuation; - * }; - * - * bound('!'); - * // => 'hiya fred!' - * - * // Bound with placeholders. - * var bound = _.bindKey(object, 'greet', _, '!'); - * bound('hi'); - * // => 'hiya fred!' - */ - var bindKey = baseRest(function(object, key, partials) { - var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG; - if (partials.length) { - var holders = replaceHolders(partials, getHolder(bindKey)); - bitmask |= WRAP_PARTIAL_FLAG; - } - return createWrap(key, bitmask, object, partials, holders); - }); - - /** - * Creates a function that accepts arguments of `func` and either invokes - * `func` returning its result, if at least `arity` number of arguments have - * been provided, or returns a function that accepts the remaining `func` - * arguments, and so on. The arity of `func` may be specified if `func.length` - * is not sufficient. - * - * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds, - * may be used as a placeholder for provided arguments. - * - * **Note:** This method doesn't set the "length" property of curried functions. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new curried function. - * @example - * - * var abc = function(a, b, c) { - * return [a, b, c]; - * }; - * - * var curried = _.curry(abc); - * - * curried(1)(2)(3); - * // => [1, 2, 3] - * - * curried(1, 2)(3); - * // => [1, 2, 3] - * - * curried(1, 2, 3); - * // => [1, 2, 3] - * - * // Curried with placeholders. - * curried(1)(_, 3)(2); - * // => [1, 2, 3] - */ - function curry(func, arity, guard) { - arity = guard ? undefined : arity; - var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity); - result.placeholder = curry.placeholder; - return result; - } - - /** - * This method is like `_.curry` except that arguments are applied to `func` - * in the manner of `_.partialRight` instead of `_.partial`. - * - * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for provided arguments. - * - * **Note:** This method doesn't set the "length" property of curried functions. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new curried function. - * @example - * - * var abc = function(a, b, c) { - * return [a, b, c]; - * }; - * - * var curried = _.curryRight(abc); - * - * curried(3)(2)(1); - * // => [1, 2, 3] - * - * curried(2, 3)(1); - * // => [1, 2, 3] - * - * curried(1, 2, 3); - * // => [1, 2, 3] - * - * // Curried with placeholders. - * curried(3)(1, _)(2); - * // => [1, 2, 3] - */ - function curryRight(func, arity, guard) { - arity = guard ? undefined : arity; - var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity); - result.placeholder = curryRight.placeholder; - return result; - } - - /** - * Creates a debounced function that delays invoking `func` until after `wait` - * milliseconds have elapsed since the last time the debounced function was - * invoked. The debounced function comes with a `cancel` method to cancel - * delayed `func` invocations and a `flush` method to immediately invoke them. - * Provide `options` to indicate whether `func` should be invoked on the - * leading and/or trailing edge of the `wait` timeout. The `func` is invoked - * with the last arguments provided to the debounced function. Subsequent - * calls to the debounced function return the result of the last `func` - * invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the debounced function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.debounce` and `_.throttle`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to debounce. - * @param {number} [wait=0] The number of milliseconds to delay. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=false] - * Specify invoking on the leading edge of the timeout. - * @param {number} [options.maxWait] - * The maximum time `func` is allowed to be delayed before it's invoked. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new debounced function. - * @example - * - * // Avoid costly calculations while the window size is in flux. - * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); - * - * // Invoke `sendMail` when clicked, debouncing subsequent calls. - * jQuery(element).on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); - * - * // Ensure `batchLog` is invoked once after 1 second of debounced calls. - * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); - * var source = new EventSource('/stream'); - * jQuery(source).on('message', debounced); - * - * // Cancel the trailing debounced invocation. - * jQuery(window).on('popstate', debounced.cancel); - */ - function debounce(func, wait, options) { - var lastArgs, - lastThis, - maxWait, - result, - timerId, - lastCallTime, - lastInvokeTime = 0, - leading = false, - maxing = false, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - wait = toNumber(wait) || 0; - if (isObject(options)) { - leading = !!options.leading; - maxing = 'maxWait' in options; - maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - - function invokeFunc(time) { - var args = lastArgs, - thisArg = lastThis; - - lastArgs = lastThis = undefined; - lastInvokeTime = time; - result = func.apply(thisArg, args); - return result; - } - - function leadingEdge(time) { - // Reset any `maxWait` timer. - lastInvokeTime = time; - // Start the timer for the trailing edge. - timerId = setTimeout(timerExpired, wait); - // Invoke the leading edge. - return leading ? invokeFunc(time) : result; - } - - function remainingWait(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime, - result = wait - timeSinceLastCall; - - return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result; - } - - function shouldInvoke(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime; - - // Either this is the first call, activity has stopped and we're at the - // trailing edge, the system time has gone backwards and we're treating - // it as the trailing edge, or we've hit the `maxWait` limit. - return (lastCallTime === undefined || (timeSinceLastCall >= wait) || - (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); - } - - function timerExpired() { - var time = now(); - if (shouldInvoke(time)) { - return trailingEdge(time); - } - // Restart the timer. - timerId = setTimeout(timerExpired, remainingWait(time)); - } - - function trailingEdge(time) { - timerId = undefined; - - // Only invoke if we have `lastArgs` which means `func` has been - // debounced at least once. - if (trailing && lastArgs) { - return invokeFunc(time); - } - lastArgs = lastThis = undefined; - return result; - } - - function cancel() { - if (timerId !== undefined) { - clearTimeout(timerId); - } - lastInvokeTime = 0; - lastArgs = lastCallTime = lastThis = timerId = undefined; - } - - function flush() { - return timerId === undefined ? result : trailingEdge(now()); - } - - function debounced() { - var time = now(), - isInvoking = shouldInvoke(time); - - lastArgs = arguments; - lastThis = this; - lastCallTime = time; - - if (isInvoking) { - if (timerId === undefined) { - return leadingEdge(lastCallTime); - } - if (maxing) { - // Handle invocations in a tight loop. - timerId = setTimeout(timerExpired, wait); - return invokeFunc(lastCallTime); - } - } - if (timerId === undefined) { - timerId = setTimeout(timerExpired, wait); - } - return result; - } - debounced.cancel = cancel; - debounced.flush = flush; - return debounced; - } - - /** - * Defers invoking the `func` until the current call stack has cleared. Any - * additional arguments are provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to defer. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {number} Returns the timer id. - * @example - * - * _.defer(function(text) { - * console.log(text); - * }, 'deferred'); - * // => Logs 'deferred' after one millisecond. - */ - var defer = baseRest(function(func, args) { - return baseDelay(func, 1, args); - }); - - /** - * Invokes `func` after `wait` milliseconds. Any additional arguments are - * provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {number} Returns the timer id. - * @example - * - * _.delay(function(text) { - * console.log(text); - * }, 1000, 'later'); - * // => Logs 'later' after one second. - */ - var delay = baseRest(function(func, wait, args) { - return baseDelay(func, toNumber(wait) || 0, args); - }); - - /** - * Creates a function that invokes `func` with arguments reversed. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to flip arguments for. - * @returns {Function} Returns the new flipped function. - * @example - * - * var flipped = _.flip(function() { - * return _.toArray(arguments); - * }); - * - * flipped('a', 'b', 'c', 'd'); - * // => ['d', 'c', 'b', 'a'] - */ - function flip(func) { - return createWrap(func, WRAP_FLIP_FLAG); - } - - /** - * Creates a function that memoizes the result of `func`. If `resolver` is - * provided, it determines the cache key for storing the result based on the - * arguments provided to the memoized function. By default, the first argument - * provided to the memoized function is used as the map cache key. The `func` - * is invoked with the `this` binding of the memoized function. - * - * **Note:** The cache is exposed as the `cache` property on the memoized - * function. Its creation may be customized by replacing the `_.memoize.Cache` - * constructor with one whose instances implement the - * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object) - * method interface of `clear`, `delete`, `get`, `has`, and `set`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to have its output memoized. - * @param {Function} [resolver] The function to resolve the cache key. - * @returns {Function} Returns the new memoized function. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * var other = { 'c': 3, 'd': 4 }; - * - * var values = _.memoize(_.values); - * values(object); - * // => [1, 2] - * - * values(other); - * // => [3, 4] - * - * object.a = 2; - * values(object); - * // => [1, 2] - * - * // Modify the result cache. - * values.cache.set(object, ['a', 'b']); - * values(object); - * // => ['a', 'b'] - * - * // Replace `_.memoize.Cache`. - * _.memoize.Cache = WeakMap; - */ - function memoize(func, resolver) { - if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { - throw new TypeError(FUNC_ERROR_TEXT); - } - var memoized = function() { - var args = arguments, - key = resolver ? resolver.apply(this, args) : args[0], - cache = memoized.cache; - - if (cache.has(key)) { - return cache.get(key); - } - var result = func.apply(this, args); - memoized.cache = cache.set(key, result) || cache; - return result; - }; - memoized.cache = new (memoize.Cache || MapCache); - return memoized; - } - - // Expose `MapCache`. - memoize.Cache = MapCache; - - /** - * Creates a function that negates the result of the predicate `func`. The - * `func` predicate is invoked with the `this` binding and arguments of the - * created function. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} predicate The predicate to negate. - * @returns {Function} Returns the new negated function. - * @example - * - * function isEven(n) { - * return n % 2 == 0; - * } - * - * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven)); - * // => [1, 3, 5] - */ - function negate(predicate) { - if (typeof predicate != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return function() { - var args = arguments; - switch (args.length) { - case 0: return !predicate.call(this); - case 1: return !predicate.call(this, args[0]); - case 2: return !predicate.call(this, args[0], args[1]); - case 3: return !predicate.call(this, args[0], args[1], args[2]); - } - return !predicate.apply(this, args); - }; - } - - /** - * Creates a function that is restricted to invoking `func` once. Repeat calls - * to the function return the value of the first invocation. The `func` is - * invoked with the `this` binding and arguments of the created function. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var initialize = _.once(createApplication); - * initialize(); - * initialize(); - * // => `createApplication` is invoked once - */ - function once(func) { - return before(2, func); - } - - /** - * Creates a function that invokes `func` with its arguments transformed. - * - * @static - * @since 4.0.0 - * @memberOf _ - * @category Function - * @param {Function} func The function to wrap. - * @param {...(Function|Function[])} [transforms=[_.identity]] - * The argument transforms. - * @returns {Function} Returns the new function. - * @example - * - * function doubled(n) { - * return n * 2; - * } - * - * function square(n) { - * return n * n; - * } - * - * var func = _.overArgs(function(x, y) { - * return [x, y]; - * }, [square, doubled]); - * - * func(9, 3); - * // => [81, 6] - * - * func(10, 5); - * // => [100, 10] - */ - var overArgs = castRest(function(func, transforms) { - transforms = (transforms.length == 1 && isArray(transforms[0])) - ? arrayMap(transforms[0], baseUnary(getIteratee())) - : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee())); - - var funcsLength = transforms.length; - return baseRest(function(args) { - var index = -1, - length = nativeMin(args.length, funcsLength); - - while (++index < length) { - args[index] = transforms[index].call(this, args[index]); - } - return apply(func, this, args); - }); - }); - - /** - * Creates a function that invokes `func` with `partials` prepended to the - * arguments it receives. This method is like `_.bind` except it does **not** - * alter the `this` binding. - * - * The `_.partial.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * **Note:** This method doesn't set the "length" property of partially - * applied functions. - * - * @static - * @memberOf _ - * @since 0.2.0 - * @category Function - * @param {Function} func The function to partially apply arguments to. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new partially applied function. - * @example - * - * function greet(greeting, name) { - * return greeting + ' ' + name; - * } - * - * var sayHelloTo = _.partial(greet, 'hello'); - * sayHelloTo('fred'); - * // => 'hello fred' - * - * // Partially applied with placeholders. - * var greetFred = _.partial(greet, _, 'fred'); - * greetFred('hi'); - * // => 'hi fred' - */ - var partial = baseRest(function(func, partials) { - var holders = replaceHolders(partials, getHolder(partial)); - return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders); - }); - - /** - * This method is like `_.partial` except that partially applied arguments - * are appended to the arguments it receives. - * - * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * **Note:** This method doesn't set the "length" property of partially - * applied functions. - * - * @static - * @memberOf _ - * @since 1.0.0 - * @category Function - * @param {Function} func The function to partially apply arguments to. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new partially applied function. - * @example - * - * function greet(greeting, name) { - * return greeting + ' ' + name; - * } - * - * var greetFred = _.partialRight(greet, 'fred'); - * greetFred('hi'); - * // => 'hi fred' - * - * // Partially applied with placeholders. - * var sayHelloTo = _.partialRight(greet, 'hello', _); - * sayHelloTo('fred'); - * // => 'hello fred' - */ - var partialRight = baseRest(function(func, partials) { - var holders = replaceHolders(partials, getHolder(partialRight)); - return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders); - }); - - /** - * Creates a function that invokes `func` with arguments arranged according - * to the specified `indexes` where the argument value at the first index is - * provided as the first argument, the argument value at the second index is - * provided as the second argument, and so on. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to rearrange arguments for. - * @param {...(number|number[])} indexes The arranged argument indexes. - * @returns {Function} Returns the new function. - * @example - * - * var rearged = _.rearg(function(a, b, c) { - * return [a, b, c]; - * }, [2, 0, 1]); - * - * rearged('b', 'c', 'a') - * // => ['a', 'b', 'c'] - */ - var rearg = flatRest(function(func, indexes) { - return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes); - }); - - /** - * Creates a function that invokes `func` with the `this` binding of the - * created function and arguments from `start` and beyond provided as - * an array. - * - * **Note:** This method is based on the - * [rest parameter](https://mdn.io/rest_parameters). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - * @example - * - * var say = _.rest(function(what, names) { - * return what + ' ' + _.initial(names).join(', ') + - * (_.size(names) > 1 ? ', & ' : '') + _.last(names); - * }); - * - * say('hello', 'fred', 'barney', 'pebbles'); - * // => 'hello fred, barney, & pebbles' - */ - function rest(func, start) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - start = start === undefined ? start : toInteger(start); - return baseRest(func, start); - } - - /** - * Creates a function that invokes `func` with the `this` binding of the - * create function and an array of arguments much like - * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply). - * - * **Note:** This method is based on the - * [spread operator](https://mdn.io/spread_operator). - * - * @static - * @memberOf _ - * @since 3.2.0 - * @category Function - * @param {Function} func The function to spread arguments over. - * @param {number} [start=0] The start position of the spread. - * @returns {Function} Returns the new function. - * @example - * - * var say = _.spread(function(who, what) { - * return who + ' says ' + what; - * }); - * - * say(['fred', 'hello']); - * // => 'fred says hello' - * - * var numbers = Promise.all([ - * Promise.resolve(40), - * Promise.resolve(36) - * ]); - * - * numbers.then(_.spread(function(x, y) { - * return x + y; - * })); - * // => a Promise of 76 - */ - function spread(func, start) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - start = start == null ? 0 : nativeMax(toInteger(start), 0); - return baseRest(function(args) { - var array = args[start], - otherArgs = castSlice(args, 0, start); - - if (array) { - arrayPush(otherArgs, array); - } - return apply(func, this, otherArgs); - }); - } - - /** - * Creates a throttled function that only invokes `func` at most once per - * every `wait` milliseconds. The throttled function comes with a `cancel` - * method to cancel delayed `func` invocations and a `flush` method to - * immediately invoke them. Provide `options` to indicate whether `func` - * should be invoked on the leading and/or trailing edge of the `wait` - * timeout. The `func` is invoked with the last arguments provided to the - * throttled function. Subsequent calls to the throttled function return the - * result of the last `func` invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the throttled function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.throttle` and `_.debounce`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to throttle. - * @param {number} [wait=0] The number of milliseconds to throttle invocations to. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=true] - * Specify invoking on the leading edge of the timeout. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new throttled function. - * @example - * - * // Avoid excessively updating the position while scrolling. - * jQuery(window).on('scroll', _.throttle(updatePosition, 100)); - * - * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes. - * var throttled = _.throttle(renewToken, 300000, { 'trailing': false }); - * jQuery(element).on('click', throttled); - * - * // Cancel the trailing throttled invocation. - * jQuery(window).on('popstate', throttled.cancel); - */ - function throttle(func, wait, options) { - var leading = true, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - if (isObject(options)) { - leading = 'leading' in options ? !!options.leading : leading; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - return debounce(func, wait, { - 'leading': leading, - 'maxWait': wait, - 'trailing': trailing - }); - } - - /** - * Creates a function that accepts up to one argument, ignoring any - * additional arguments. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - * @example - * - * _.map(['6', '8', '10'], _.unary(parseInt)); - * // => [6, 8, 10] - */ - function unary(func) { - return ary(func, 1); - } - - /** - * Creates a function that provides `value` to `wrapper` as its first - * argument. Any additional arguments provided to the function are appended - * to those provided to the `wrapper`. The wrapper is invoked with the `this` - * binding of the created function. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {*} value The value to wrap. - * @param {Function} [wrapper=identity] The wrapper function. - * @returns {Function} Returns the new function. - * @example - * - * var p = _.wrap(_.escape, function(func, text) { - * return '

' + func(text) + '

'; - * }); - * - * p('fred, barney, & pebbles'); - * // => '

fred, barney, & pebbles

' - */ - function wrap(value, wrapper) { - return partial(castFunction(wrapper), value); - } - - /*------------------------------------------------------------------------*/ - - /** - * Casts `value` as an array if it's not one. - * - * @static - * @memberOf _ - * @since 4.4.0 - * @category Lang - * @param {*} value The value to inspect. - * @returns {Array} Returns the cast array. - * @example - * - * _.castArray(1); - * // => [1] - * - * _.castArray({ 'a': 1 }); - * // => [{ 'a': 1 }] - * - * _.castArray('abc'); - * // => ['abc'] - * - * _.castArray(null); - * // => [null] - * - * _.castArray(undefined); - * // => [undefined] - * - * _.castArray(); - * // => [] - * - * var array = [1, 2, 3]; - * console.log(_.castArray(array) === array); - * // => true - */ - function castArray() { - if (!arguments.length) { - return []; - } - var value = arguments[0]; - return isArray(value) ? value : [value]; - } - - /** - * Creates a shallow clone of `value`. - * - * **Note:** This method is loosely based on the - * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm) - * and supports cloning arrays, array buffers, booleans, date objects, maps, - * numbers, `Object` objects, regexes, sets, strings, symbols, and typed - * arrays. The own enumerable properties of `arguments` objects are cloned - * as plain objects. An empty object is returned for uncloneable values such - * as error objects, functions, DOM nodes, and WeakMaps. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to clone. - * @returns {*} Returns the cloned value. - * @see _.cloneDeep - * @example - * - * var objects = [{ 'a': 1 }, { 'b': 2 }]; - * - * var shallow = _.clone(objects); - * console.log(shallow[0] === objects[0]); - * // => true - */ - function clone(value) { - return baseClone(value, CLONE_SYMBOLS_FLAG); - } - - /** - * This method is like `_.clone` except that it accepts `customizer` which - * is invoked to produce the cloned value. If `customizer` returns `undefined`, - * cloning is handled by the method instead. The `customizer` is invoked with - * up to four arguments; (value [, index|key, object, stack]). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to clone. - * @param {Function} [customizer] The function to customize cloning. - * @returns {*} Returns the cloned value. - * @see _.cloneDeepWith - * @example - * - * function customizer(value) { - * if (_.isElement(value)) { - * return value.cloneNode(false); - * } - * } - * - * var el = _.cloneWith(document.body, customizer); - * - * console.log(el === document.body); - * // => false - * console.log(el.nodeName); - * // => 'BODY' - * console.log(el.childNodes.length); - * // => 0 - */ - function cloneWith(value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseClone(value, CLONE_SYMBOLS_FLAG, customizer); - } - - /** - * This method is like `_.clone` except that it recursively clones `value`. - * - * @static - * @memberOf _ - * @since 1.0.0 - * @category Lang - * @param {*} value The value to recursively clone. - * @returns {*} Returns the deep cloned value. - * @see _.clone - * @example - * - * var objects = [{ 'a': 1 }, { 'b': 2 }]; - * - * var deep = _.cloneDeep(objects); - * console.log(deep[0] === objects[0]); - * // => false - */ - function cloneDeep(value) { - return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG); - } - - /** - * This method is like `_.cloneWith` except that it recursively clones `value`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to recursively clone. - * @param {Function} [customizer] The function to customize cloning. - * @returns {*} Returns the deep cloned value. - * @see _.cloneWith - * @example - * - * function customizer(value) { - * if (_.isElement(value)) { - * return value.cloneNode(true); - * } - * } - * - * var el = _.cloneDeepWith(document.body, customizer); - * - * console.log(el === document.body); - * // => false - * console.log(el.nodeName); - * // => 'BODY' - * console.log(el.childNodes.length); - * // => 20 - */ - function cloneDeepWith(value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer); - } - - /** - * Checks if `object` conforms to `source` by invoking the predicate - * properties of `source` with the corresponding property values of `object`. - * - * **Note:** This method is equivalent to `_.conforms` when `source` is - * partially applied. - * - * @static - * @memberOf _ - * @since 4.14.0 - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property predicates to conform to. - * @returns {boolean} Returns `true` if `object` conforms, else `false`. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * - * _.conformsTo(object, { 'b': function(n) { return n > 1; } }); - * // => true - * - * _.conformsTo(object, { 'b': function(n) { return n > 2; } }); - * // => false - */ - function conformsTo(object, source) { - return source == null || baseConformsTo(object, source, keys(source)); - } - - /** - * Performs a - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ - function eq(value, other) { - return value === other || (value !== value && other !== other); - } - - /** - * Checks if `value` is greater than `other`. - * - * @static - * @memberOf _ - * @since 3.9.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than `other`, - * else `false`. - * @see _.lt - * @example - * - * _.gt(3, 1); - * // => true - * - * _.gt(3, 3); - * // => false - * - * _.gt(1, 3); - * // => false - */ - var gt = createRelationalOperation(baseGt); - - /** - * Checks if `value` is greater than or equal to `other`. - * - * @static - * @memberOf _ - * @since 3.9.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than or equal to - * `other`, else `false`. - * @see _.lte - * @example - * - * _.gte(3, 1); - * // => true - * - * _.gte(3, 3); - * // => true - * - * _.gte(1, 3); - * // => false - */ - var gte = createRelationalOperation(function(value, other) { - return value >= other; - }); - - /** - * Checks if `value` is likely an `arguments` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - * else `false`. - * @example - * - * _.isArguments(function() { return arguments; }()); - * // => true - * - * _.isArguments([1, 2, 3]); - * // => false - */ - var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { - return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && - !propertyIsEnumerable.call(value, 'callee'); - }; - - /** - * Checks if `value` is classified as an `Array` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array, else `false`. - * @example - * - * _.isArray([1, 2, 3]); - * // => true - * - * _.isArray(document.body.children); - * // => false - * - * _.isArray('abc'); - * // => false - * - * _.isArray(_.noop); - * // => false - */ - var isArray = Array.isArray; - - /** - * Checks if `value` is classified as an `ArrayBuffer` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. - * @example - * - * _.isArrayBuffer(new ArrayBuffer(2)); - * // => true - * - * _.isArrayBuffer(new Array(2)); - * // => false - */ - var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer; - - /** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ - function isArrayLike(value) { - return value != null && isLength(value.length) && !isFunction(value); - } - - /** - * This method is like `_.isArrayLike` except that it also checks if `value` - * is an object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array-like object, - * else `false`. - * @example - * - * _.isArrayLikeObject([1, 2, 3]); - * // => true - * - * _.isArrayLikeObject(document.body.children); - * // => true - * - * _.isArrayLikeObject('abc'); - * // => false - * - * _.isArrayLikeObject(_.noop); - * // => false - */ - function isArrayLikeObject(value) { - return isObjectLike(value) && isArrayLike(value); - } - - /** - * Checks if `value` is classified as a boolean primitive or object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a boolean, else `false`. - * @example - * - * _.isBoolean(false); - * // => true - * - * _.isBoolean(null); - * // => false - */ - function isBoolean(value) { - return value === true || value === false || - (isObjectLike(value) && baseGetTag(value) == boolTag); - } - - /** - * Checks if `value` is a buffer. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. - * @example - * - * _.isBuffer(new Buffer(2)); - * // => true - * - * _.isBuffer(new Uint8Array(2)); - * // => false - */ - var isBuffer = nativeIsBuffer || stubFalse; - - /** - * Checks if `value` is classified as a `Date` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a date object, else `false`. - * @example - * - * _.isDate(new Date); - * // => true - * - * _.isDate('Mon April 23 2012'); - * // => false - */ - var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate; - - /** - * Checks if `value` is likely a DOM element. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`. - * @example - * - * _.isElement(document.body); - * // => true - * - * _.isElement(''); - * // => false - */ - function isElement(value) { - return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value); - } - - /** - * Checks if `value` is an empty object, collection, map, or set. - * - * Objects are considered empty if they have no own enumerable string keyed - * properties. - * - * Array-like values such as `arguments` objects, arrays, buffers, strings, or - * jQuery-like collections are considered empty if they have a `length` of `0`. - * Similarly, maps and sets are considered empty if they have a `size` of `0`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is empty, else `false`. - * @example - * - * _.isEmpty(null); - * // => true - * - * _.isEmpty(true); - * // => true - * - * _.isEmpty(1); - * // => true - * - * _.isEmpty([1, 2, 3]); - * // => false - * - * _.isEmpty({ 'a': 1 }); - * // => false - */ - function isEmpty(value) { - if (value == null) { - return true; - } - if (isArrayLike(value) && - (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' || - isBuffer(value) || isTypedArray(value) || isArguments(value))) { - return !value.length; - } - var tag = getTag(value); - if (tag == mapTag || tag == setTag) { - return !value.size; - } - if (isPrototype(value)) { - return !baseKeys(value).length; - } - for (var key in value) { - if (hasOwnProperty.call(value, key)) { - return false; - } - } - return true; - } - - /** - * Performs a deep comparison between two values to determine if they are - * equivalent. - * - * **Note:** This method supports comparing arrays, array buffers, booleans, - * date objects, error objects, maps, numbers, `Object` objects, regexes, - * sets, strings, symbols, and typed arrays. `Object` objects are compared - * by their own, not inherited, enumerable properties. Functions and DOM - * nodes are compared by strict equality, i.e. `===`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.isEqual(object, other); - * // => true - * - * object === other; - * // => false - */ - function isEqual(value, other) { - return baseIsEqual(value, other); - } - - /** - * This method is like `_.isEqual` except that it accepts `customizer` which - * is invoked to compare values. If `customizer` returns `undefined`, comparisons - * are handled by the method instead. The `customizer` is invoked with up to - * six arguments: (objValue, othValue [, index|key, object, other, stack]). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, othValue) { - * if (isGreeting(objValue) && isGreeting(othValue)) { - * return true; - * } - * } - * - * var array = ['hello', 'goodbye']; - * var other = ['hi', 'goodbye']; - * - * _.isEqualWith(array, other, customizer); - * // => true - */ - function isEqualWith(value, other, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - var result = customizer ? customizer(value, other) : undefined; - return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result; - } - - /** - * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`, - * `SyntaxError`, `TypeError`, or `URIError` object. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an error object, else `false`. - * @example - * - * _.isError(new Error); - * // => true - * - * _.isError(Error); - * // => false - */ - function isError(value) { - if (!isObjectLike(value)) { - return false; - } - var tag = baseGetTag(value); - return tag == errorTag || tag == domExcTag || - (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value)); - } - - /** - * Checks if `value` is a finite primitive number. - * - * **Note:** This method is based on - * [`Number.isFinite`](https://mdn.io/Number/isFinite). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a finite number, else `false`. - * @example - * - * _.isFinite(3); - * // => true - * - * _.isFinite(Number.MIN_VALUE); - * // => true - * - * _.isFinite(Infinity); - * // => false - * - * _.isFinite('3'); - * // => false - */ - function isFinite(value) { - return typeof value == 'number' && nativeIsFinite(value); - } - - /** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a function, else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ - function isFunction(value) { - if (!isObject(value)) { - return false; - } - // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 9 which returns 'object' for typed arrays and other constructors. - var tag = baseGetTag(value); - return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; - } - - /** - * Checks if `value` is an integer. - * - * **Note:** This method is based on - * [`Number.isInteger`](https://mdn.io/Number/isInteger). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an integer, else `false`. - * @example - * - * _.isInteger(3); - * // => true - * - * _.isInteger(Number.MIN_VALUE); - * // => false - * - * _.isInteger(Infinity); - * // => false - * - * _.isInteger('3'); - * // => false - */ - function isInteger(value) { - return typeof value == 'number' && value == toInteger(value); - } - - /** - * Checks if `value` is a valid array-like length. - * - * **Note:** This method is loosely based on - * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ - function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; - } - - /** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ - function isObject(value) { - var type = typeof value; - return value != null && (type == 'object' || type == 'function'); - } - - /** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ - function isObjectLike(value) { - return value != null && typeof value == 'object'; - } - - /** - * Checks if `value` is classified as a `Map` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a map, else `false`. - * @example - * - * _.isMap(new Map); - * // => true - * - * _.isMap(new WeakMap); - * // => false - */ - var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap; - - /** - * Performs a partial deep comparison between `object` and `source` to - * determine if `object` contains equivalent property values. - * - * **Note:** This method is equivalent to `_.matches` when `source` is - * partially applied. - * - * Partial comparisons will match empty array and empty object `source` - * values against any array or object value, respectively. See `_.isEqual` - * for a list of supported value comparisons. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * - * _.isMatch(object, { 'b': 2 }); - * // => true - * - * _.isMatch(object, { 'b': 1 }); - * // => false - */ - function isMatch(object, source) { - return object === source || baseIsMatch(object, source, getMatchData(source)); - } - - /** - * This method is like `_.isMatch` except that it accepts `customizer` which - * is invoked to compare values. If `customizer` returns `undefined`, comparisons - * are handled by the method instead. The `customizer` is invoked with five - * arguments: (objValue, srcValue, index|key, object, source). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, srcValue) { - * if (isGreeting(objValue) && isGreeting(srcValue)) { - * return true; - * } - * } - * - * var object = { 'greeting': 'hello' }; - * var source = { 'greeting': 'hi' }; - * - * _.isMatchWith(object, source, customizer); - * // => true - */ - function isMatchWith(object, source, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseIsMatch(object, source, getMatchData(source), customizer); - } - - /** - * Checks if `value` is `NaN`. - * - * **Note:** This method is based on - * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as - * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for - * `undefined` and other non-number values. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. - * @example - * - * _.isNaN(NaN); - * // => true - * - * _.isNaN(new Number(NaN)); - * // => true - * - * isNaN(undefined); - * // => true - * - * _.isNaN(undefined); - * // => false - */ - function isNaN(value) { - // An `NaN` primitive is the only value that is not equal to itself. - // Perform the `toStringTag` check first to avoid errors with some - // ActiveX objects in IE. - return isNumber(value) && value != +value; - } - - /** - * Checks if `value` is a pristine native function. - * - * **Note:** This method can't reliably detect native functions in the presence - * of the core-js package because core-js circumvents this kind of detection. - * Despite multiple requests, the core-js maintainer has made it clear: any - * attempt to fix the detection will be obstructed. As a result, we're left - * with little choice but to throw an error. Unfortunately, this also affects - * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill), - * which rely on core-js. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - * @example - * - * _.isNative(Array.prototype.push); - * // => true - * - * _.isNative(_); - * // => false - */ - function isNative(value) { - if (isMaskable(value)) { - throw new Error(CORE_ERROR_TEXT); - } - return baseIsNative(value); - } - - /** - * Checks if `value` is `null`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `null`, else `false`. - * @example - * - * _.isNull(null); - * // => true - * - * _.isNull(void 0); - * // => false - */ - function isNull(value) { - return value === null; - } - - /** - * Checks if `value` is `null` or `undefined`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is nullish, else `false`. - * @example - * - * _.isNil(null); - * // => true - * - * _.isNil(void 0); - * // => true - * - * _.isNil(NaN); - * // => false - */ - function isNil(value) { - return value == null; - } - - /** - * Checks if `value` is classified as a `Number` primitive or object. - * - * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are - * classified as numbers, use the `_.isFinite` method. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a number, else `false`. - * @example - * - * _.isNumber(3); - * // => true - * - * _.isNumber(Number.MIN_VALUE); - * // => true - * - * _.isNumber(Infinity); - * // => true - * - * _.isNumber('3'); - * // => false - */ - function isNumber(value) { - return typeof value == 'number' || - (isObjectLike(value) && baseGetTag(value) == numberTag); - } - - /** - * Checks if `value` is a plain object, that is, an object created by the - * `Object` constructor or one with a `[[Prototype]]` of `null`. - * - * @static - * @memberOf _ - * @since 0.8.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * _.isPlainObject(new Foo); - * // => false - * - * _.isPlainObject([1, 2, 3]); - * // => false - * - * _.isPlainObject({ 'x': 0, 'y': 0 }); - * // => true - * - * _.isPlainObject(Object.create(null)); - * // => true - */ - function isPlainObject(value) { - if (!isObjectLike(value) || baseGetTag(value) != objectTag) { - return false; - } - var proto = getPrototype(value); - if (proto === null) { - return true; - } - var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor; - return typeof Ctor == 'function' && Ctor instanceof Ctor && - funcToString.call(Ctor) == objectCtorString; - } - - /** - * Checks if `value` is classified as a `RegExp` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. - * @example - * - * _.isRegExp(/abc/); - * // => true - * - * _.isRegExp('/abc/'); - * // => false - */ - var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp; - - /** - * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 - * double precision number which isn't the result of a rounded unsafe integer. - * - * **Note:** This method is based on - * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`. - * @example - * - * _.isSafeInteger(3); - * // => true - * - * _.isSafeInteger(Number.MIN_VALUE); - * // => false - * - * _.isSafeInteger(Infinity); - * // => false - * - * _.isSafeInteger('3'); - * // => false - */ - function isSafeInteger(value) { - return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER; - } - - /** - * Checks if `value` is classified as a `Set` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a set, else `false`. - * @example - * - * _.isSet(new Set); - * // => true - * - * _.isSet(new WeakSet); - * // => false - */ - var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet; - - /** - * Checks if `value` is classified as a `String` primitive or object. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a string, else `false`. - * @example - * - * _.isString('abc'); - * // => true - * - * _.isString(1); - * // => false - */ - function isString(value) { - return typeof value == 'string' || - (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); - } - - /** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ - function isSymbol(value) { - return typeof value == 'symbol' || - (isObjectLike(value) && baseGetTag(value) == symbolTag); - } - - /** - * Checks if `value` is classified as a typed array. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - * @example - * - * _.isTypedArray(new Uint8Array); - * // => true - * - * _.isTypedArray([]); - * // => false - */ - var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; - - /** - * Checks if `value` is `undefined`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. - * @example - * - * _.isUndefined(void 0); - * // => true - * - * _.isUndefined(null); - * // => false - */ - function isUndefined(value) { - return value === undefined; - } - - /** - * Checks if `value` is classified as a `WeakMap` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a weak map, else `false`. - * @example - * - * _.isWeakMap(new WeakMap); - * // => true - * - * _.isWeakMap(new Map); - * // => false - */ - function isWeakMap(value) { - return isObjectLike(value) && getTag(value) == weakMapTag; - } - - /** - * Checks if `value` is classified as a `WeakSet` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a weak set, else `false`. - * @example - * - * _.isWeakSet(new WeakSet); - * // => true - * - * _.isWeakSet(new Set); - * // => false - */ - function isWeakSet(value) { - return isObjectLike(value) && baseGetTag(value) == weakSetTag; - } - - /** - * Checks if `value` is less than `other`. - * - * @static - * @memberOf _ - * @since 3.9.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is less than `other`, - * else `false`. - * @see _.gt - * @example - * - * _.lt(1, 3); - * // => true - * - * _.lt(3, 3); - * // => false - * - * _.lt(3, 1); - * // => false - */ - var lt = createRelationalOperation(baseLt); - - /** - * Checks if `value` is less than or equal to `other`. - * - * @static - * @memberOf _ - * @since 3.9.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is less than or equal to - * `other`, else `false`. - * @see _.gte - * @example - * - * _.lte(1, 3); - * // => true - * - * _.lte(3, 3); - * // => true - * - * _.lte(3, 1); - * // => false - */ - var lte = createRelationalOperation(function(value, other) { - return value <= other; - }); - - /** - * Converts `value` to an array. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @returns {Array} Returns the converted array. - * @example - * - * _.toArray({ 'a': 1, 'b': 2 }); - * // => [1, 2] - * - * _.toArray('abc'); - * // => ['a', 'b', 'c'] - * - * _.toArray(1); - * // => [] - * - * _.toArray(null); - * // => [] - */ - function toArray(value) { - if (!value) { - return []; - } - if (isArrayLike(value)) { - return isString(value) ? stringToArray(value) : copyArray(value); - } - if (symIterator && value[symIterator]) { - return iteratorToArray(value[symIterator]()); - } - var tag = getTag(value), - func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values); - - return func(value); - } - - /** - * Converts `value` to a finite number. - * - * @static - * @memberOf _ - * @since 4.12.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted number. - * @example - * - * _.toFinite(3.2); - * // => 3.2 - * - * _.toFinite(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toFinite(Infinity); - * // => 1.7976931348623157e+308 - * - * _.toFinite('3.2'); - * // => 3.2 - */ - function toFinite(value) { - if (!value) { - return value === 0 ? value : 0; - } - value = toNumber(value); - if (value === INFINITY || value === -INFINITY) { - var sign = (value < 0 ? -1 : 1); - return sign * MAX_INTEGER; - } - return value === value ? value : 0; - } - - /** - * Converts `value` to an integer. - * - * **Note:** This method is loosely based on - * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toInteger(3.2); - * // => 3 - * - * _.toInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toInteger(Infinity); - * // => 1.7976931348623157e+308 - * - * _.toInteger('3.2'); - * // => 3 - */ - function toInteger(value) { - var result = toFinite(value), - remainder = result % 1; - - return result === result ? (remainder ? result - remainder : result) : 0; - } - - /** - * Converts `value` to an integer suitable for use as the length of an - * array-like object. - * - * **Note:** This method is based on - * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toLength(3.2); - * // => 3 - * - * _.toLength(Number.MIN_VALUE); - * // => 0 - * - * _.toLength(Infinity); - * // => 4294967295 - * - * _.toLength('3.2'); - * // => 3 - */ - function toLength(value) { - return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0; - } - - /** - * Converts `value` to a number. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to process. - * @returns {number} Returns the number. - * @example - * - * _.toNumber(3.2); - * // => 3.2 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity - * - * _.toNumber('3.2'); - * // => 3.2 - */ - function toNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - if (isObject(value)) { - var other = typeof value.valueOf == 'function' ? value.valueOf() : value; - value = isObject(other) ? (other + '') : other; - } - if (typeof value != 'string') { - return value === 0 ? value : +value; - } - value = value.replace(reTrim, ''); - var isBinary = reIsBinary.test(value); - return (isBinary || reIsOctal.test(value)) - ? freeParseInt(value.slice(2), isBinary ? 2 : 8) - : (reIsBadHex.test(value) ? NAN : +value); - } - - /** - * Converts `value` to a plain object flattening inherited enumerable string - * keyed properties of `value` to own properties of the plain object. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {Object} Returns the converted plain object. - * @example - * - * function Foo() { - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.assign({ 'a': 1 }, new Foo); - * // => { 'a': 1, 'b': 2 } - * - * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); - * // => { 'a': 1, 'b': 2, 'c': 3 } - */ - function toPlainObject(value) { - return copyObject(value, keysIn(value)); - } - - /** - * Converts `value` to a safe integer. A safe integer can be compared and - * represented correctly. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toSafeInteger(3.2); - * // => 3 - * - * _.toSafeInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toSafeInteger(Infinity); - * // => 9007199254740991 - * - * _.toSafeInteger('3.2'); - * // => 3 - */ - function toSafeInteger(value) { - return value - ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) - : (value === 0 ? value : 0); - } - - /** - * Converts `value` to a string. An empty string is returned for `null` - * and `undefined` values. The sign of `-0` is preserved. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - * @example - * - * _.toString(null); - * // => '' - * - * _.toString(-0); - * // => '-0' - * - * _.toString([1, 2, 3]); - * // => '1,2,3' - */ - function toString(value) { - return value == null ? '' : baseToString(value); - } - - /*------------------------------------------------------------------------*/ - - /** - * Assigns own enumerable string keyed properties of source objects to the - * destination object. Source objects are applied from left to right. - * Subsequent sources overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object` and is loosely based on - * [`Object.assign`](https://mdn.io/Object/assign). - * - * @static - * @memberOf _ - * @since 0.10.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assignIn - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * function Bar() { - * this.c = 3; - * } - * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; - * - * _.assign({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'c': 3 } - */ - var assign = createAssigner(function(object, source) { - if (isPrototype(source) || isArrayLike(source)) { - copyObject(source, keys(source), object); - return; - } - for (var key in source) { - if (hasOwnProperty.call(source, key)) { - assignValue(object, key, source[key]); - } - } - }); - - /** - * This method is like `_.assign` except that it iterates over own and - * inherited source properties. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias extend - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assign - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * function Bar() { - * this.c = 3; - * } - * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; - * - * _.assignIn({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 } - */ - var assignIn = createAssigner(function(object, source) { - copyObject(source, keysIn(source), object); - }); - - /** - * This method is like `_.assignIn` except that it accepts `customizer` - * which is invoked to produce the assigned values. If `customizer` returns - * `undefined`, assignment is handled by the method instead. The `customizer` - * is invoked with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias extendWith - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @see _.assignWith - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignInWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - var assignInWith = createAssigner(function(object, source, srcIndex, customizer) { - copyObject(source, keysIn(source), object, customizer); - }); - - /** - * This method is like `_.assign` except that it accepts `customizer` - * which is invoked to produce the assigned values. If `customizer` returns - * `undefined`, assignment is handled by the method instead. The `customizer` - * is invoked with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @see _.assignInWith - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - var assignWith = createAssigner(function(object, source, srcIndex, customizer) { - copyObject(source, keys(source), object, customizer); - }); - - /** - * Creates an array of values corresponding to `paths` of `object`. - * - * @static - * @memberOf _ - * @since 1.0.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {...(string|string[])} [paths] The property paths to pick. - * @returns {Array} Returns the picked values. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; - * - * _.at(object, ['a[0].b.c', 'a[1]']); - * // => [3, 4] - */ - var at = flatRest(baseAt); - - /** - * Creates an object that inherits from the `prototype` object. If a - * `properties` object is given, its own enumerable string keyed properties - * are assigned to the created object. - * - * @static - * @memberOf _ - * @since 2.3.0 - * @category Object - * @param {Object} prototype The object to inherit from. - * @param {Object} [properties] The properties to assign to the object. - * @returns {Object} Returns the new object. - * @example - * - * function Shape() { - * this.x = 0; - * this.y = 0; - * } - * - * function Circle() { - * Shape.call(this); - * } - * - * Circle.prototype = _.create(Shape.prototype, { - * 'constructor': Circle - * }); - * - * var circle = new Circle; - * circle instanceof Circle; - * // => true - * - * circle instanceof Shape; - * // => true - */ - function create(prototype, properties) { - var result = baseCreate(prototype); - return properties == null ? result : baseAssign(result, properties); - } - - /** - * Assigns own and inherited enumerable string keyed properties of source - * objects to the destination object for all destination properties that - * resolve to `undefined`. Source objects are applied from left to right. - * Once a property is set, additional values of the same property are ignored. - * - * **Note:** This method mutates `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.defaultsDeep - * @example - * - * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - var defaults = baseRest(function(args) { - args.push(undefined, customDefaultsAssignIn); - return apply(assignInWith, undefined, args); - }); - - /** - * This method is like `_.defaults` except that it recursively assigns - * default properties. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 3.10.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.defaults - * @example - * - * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } }); - * // => { 'a': { 'b': 2, 'c': 3 } } - */ - var defaultsDeep = baseRest(function(args) { - args.push(undefined, customDefaultsMerge); - return apply(mergeWith, undefined, args); - }); - - /** - * This method is like `_.find` except that it returns the key of the first - * element `predicate` returns truthy for instead of the element itself. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Object - * @param {Object} object The object to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {string|undefined} Returns the key of the matched element, - * else `undefined`. - * @example - * - * var users = { - * 'barney': { 'age': 36, 'active': true }, - * 'fred': { 'age': 40, 'active': false }, - * 'pebbles': { 'age': 1, 'active': true } - * }; - * - * _.findKey(users, function(o) { return o.age < 40; }); - * // => 'barney' (iteration order is not guaranteed) - * - * // The `_.matches` iteratee shorthand. - * _.findKey(users, { 'age': 1, 'active': true }); - * // => 'pebbles' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findKey(users, ['active', false]); - * // => 'fred' - * - * // The `_.property` iteratee shorthand. - * _.findKey(users, 'active'); - * // => 'barney' - */ - function findKey(object, predicate) { - return baseFindKey(object, getIteratee(predicate, 3), baseForOwn); - } - - /** - * This method is like `_.findKey` except that it iterates over elements of - * a collection in the opposite order. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Object - * @param {Object} object The object to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {string|undefined} Returns the key of the matched element, - * else `undefined`. - * @example - * - * var users = { - * 'barney': { 'age': 36, 'active': true }, - * 'fred': { 'age': 40, 'active': false }, - * 'pebbles': { 'age': 1, 'active': true } - * }; - * - * _.findLastKey(users, function(o) { return o.age < 40; }); - * // => returns 'pebbles' assuming `_.findKey` returns 'barney' - * - * // The `_.matches` iteratee shorthand. - * _.findLastKey(users, { 'age': 36, 'active': true }); - * // => 'barney' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findLastKey(users, ['active', false]); - * // => 'fred' - * - * // The `_.property` iteratee shorthand. - * _.findLastKey(users, 'active'); - * // => 'pebbles' - */ - function findLastKey(object, predicate) { - return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight); - } - - /** - * Iterates over own and inherited enumerable string keyed properties of an - * object and invokes `iteratee` for each property. The iteratee is invoked - * with three arguments: (value, key, object). Iteratee functions may exit - * iteration early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @since 0.3.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forInRight - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forIn(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed). - */ - function forIn(object, iteratee) { - return object == null - ? object - : baseFor(object, getIteratee(iteratee, 3), keysIn); - } - - /** - * This method is like `_.forIn` except that it iterates over properties of - * `object` in the opposite order. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forIn - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forInRight(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'. - */ - function forInRight(object, iteratee) { - return object == null - ? object - : baseForRight(object, getIteratee(iteratee, 3), keysIn); - } - - /** - * Iterates over own enumerable string keyed properties of an object and - * invokes `iteratee` for each property. The iteratee is invoked with three - * arguments: (value, key, object). Iteratee functions may exit iteration - * early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @since 0.3.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forOwnRight - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forOwn(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a' then 'b' (iteration order is not guaranteed). - */ - function forOwn(object, iteratee) { - return object && baseForOwn(object, getIteratee(iteratee, 3)); - } - - /** - * This method is like `_.forOwn` except that it iterates over properties of - * `object` in the opposite order. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forOwn - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forOwnRight(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'. - */ - function forOwnRight(object, iteratee) { - return object && baseForOwnRight(object, getIteratee(iteratee, 3)); - } - - /** - * Creates an array of function property names from own enumerable properties - * of `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the function names. - * @see _.functionsIn - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functions(new Foo); - * // => ['a', 'b'] - */ - function functions(object) { - return object == null ? [] : baseFunctions(object, keys(object)); - } - - /** - * Creates an array of function property names from own and inherited - * enumerable properties of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the function names. - * @see _.functions - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functionsIn(new Foo); - * // => ['a', 'b', 'c'] - */ - function functionsIn(object) { - return object == null ? [] : baseFunctions(object, keysIn(object)); - } - - /** - * Gets the value at `path` of `object`. If the resolved value is - * `undefined`, the `defaultValue` is returned in its place. - * - * @static - * @memberOf _ - * @since 3.7.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @param {*} [defaultValue] The value returned for `undefined` resolved values. - * @returns {*} Returns the resolved value. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.get(object, 'a[0].b.c'); - * // => 3 - * - * _.get(object, ['a', '0', 'b', 'c']); - * // => 3 - * - * _.get(object, 'a.b.c', 'default'); - * // => 'default' - */ - function get(object, path, defaultValue) { - var result = object == null ? undefined : baseGet(object, path); - return result === undefined ? defaultValue : result; - } - - /** - * Checks if `path` is a direct property of `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = { 'a': { 'b': 2 } }; - * var other = _.create({ 'a': _.create({ 'b': 2 }) }); - * - * _.has(object, 'a'); - * // => true - * - * _.has(object, 'a.b'); - * // => true - * - * _.has(object, ['a', 'b']); - * // => true - * - * _.has(other, 'a'); - * // => false - */ - function has(object, path) { - return object != null && hasPath(object, path, baseHas); - } - - /** - * Checks if `path` is a direct or inherited property of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = _.create({ 'a': _.create({ 'b': 2 }) }); - * - * _.hasIn(object, 'a'); - * // => true - * - * _.hasIn(object, 'a.b'); - * // => true - * - * _.hasIn(object, ['a', 'b']); - * // => true - * - * _.hasIn(object, 'b'); - * // => false - */ - function hasIn(object, path) { - return object != null && hasPath(object, path, baseHasIn); - } - - /** - * Creates an object composed of the inverted keys and values of `object`. - * If `object` contains duplicate values, subsequent values overwrite - * property assignments of previous values. - * - * @static - * @memberOf _ - * @since 0.7.0 - * @category Object - * @param {Object} object The object to invert. - * @returns {Object} Returns the new inverted object. - * @example - * - * var object = { 'a': 1, 'b': 2, 'c': 1 }; - * - * _.invert(object); - * // => { '1': 'c', '2': 'b' } - */ - var invert = createInverter(function(result, value, key) { - result[value] = key; - }, constant(identity)); - - /** - * This method is like `_.invert` except that the inverted object is generated - * from the results of running each element of `object` thru `iteratee`. The - * corresponding inverted value of each inverted key is an array of keys - * responsible for generating the inverted value. The iteratee is invoked - * with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.1.0 - * @category Object - * @param {Object} object The object to invert. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Object} Returns the new inverted object. - * @example - * - * var object = { 'a': 1, 'b': 2, 'c': 1 }; - * - * _.invertBy(object); - * // => { '1': ['a', 'c'], '2': ['b'] } - * - * _.invertBy(object, function(value) { - * return 'group' + value; - * }); - * // => { 'group1': ['a', 'c'], 'group2': ['b'] } - */ - var invertBy = createInverter(function(result, value, key) { - if (hasOwnProperty.call(result, value)) { - result[value].push(key); - } else { - result[value] = [key]; - } - }, getIteratee); - - /** - * Invokes the method at `path` of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the method to invoke. - * @param {...*} [args] The arguments to invoke the method with. - * @returns {*} Returns the result of the invoked method. - * @example - * - * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] }; - * - * _.invoke(object, 'a[0].b.c.slice', 1, 3); - * // => [2, 3] - */ - var invoke = baseRest(baseInvoke); - - /** - * Creates an array of the own enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. See the - * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * for more details. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keys(new Foo); - * // => ['a', 'b'] (iteration order is not guaranteed) - * - * _.keys('hi'); - * // => ['0', '1'] - */ - function keys(object) { - return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); - } - - /** - * Creates an array of the own and inherited enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keysIn(new Foo); - * // => ['a', 'b', 'c'] (iteration order is not guaranteed) - */ - function keysIn(object) { - return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object); - } - - /** - * The opposite of `_.mapValues`; this method creates an object with the - * same values as `object` and keys generated by running each own enumerable - * string keyed property of `object` thru `iteratee`. The iteratee is invoked - * with three arguments: (value, key, object). - * - * @static - * @memberOf _ - * @since 3.8.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns the new mapped object. - * @see _.mapValues - * @example - * - * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) { - * return key + value; - * }); - * // => { 'a1': 1, 'b2': 2 } - */ - function mapKeys(object, iteratee) { - var result = {}; - iteratee = getIteratee(iteratee, 3); - - baseForOwn(object, function(value, key, object) { - baseAssignValue(result, iteratee(value, key, object), value); - }); - return result; - } - - /** - * Creates an object with the same keys as `object` and values generated - * by running each own enumerable string keyed property of `object` thru - * `iteratee`. The iteratee is invoked with three arguments: - * (value, key, object). - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns the new mapped object. - * @see _.mapKeys - * @example - * - * var users = { - * 'fred': { 'user': 'fred', 'age': 40 }, - * 'pebbles': { 'user': 'pebbles', 'age': 1 } - * }; - * - * _.mapValues(users, function(o) { return o.age; }); - * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed) - * - * // The `_.property` iteratee shorthand. - * _.mapValues(users, 'age'); - * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed) - */ - function mapValues(object, iteratee) { - var result = {}; - iteratee = getIteratee(iteratee, 3); - - baseForOwn(object, function(value, key, object) { - baseAssignValue(result, key, iteratee(value, key, object)); - }); - return result; - } - - /** - * This method is like `_.assign` except that it recursively merges own and - * inherited enumerable string keyed properties of source objects into the - * destination object. Source properties that resolve to `undefined` are - * skipped if a destination value exists. Array and plain object properties - * are merged recursively. Other objects and value types are overridden by - * assignment. Source objects are applied from left to right. Subsequent - * sources overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * var object = { - * 'a': [{ 'b': 2 }, { 'd': 4 }] - * }; - * - * var other = { - * 'a': [{ 'c': 3 }, { 'e': 5 }] - * }; - * - * _.merge(object, other); - * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] } - */ - var merge = createAssigner(function(object, source, srcIndex) { - baseMerge(object, source, srcIndex); - }); - - /** - * This method is like `_.merge` except that it accepts `customizer` which - * is invoked to produce the merged values of the destination and source - * properties. If `customizer` returns `undefined`, merging is handled by the - * method instead. The `customizer` is invoked with six arguments: - * (objValue, srcValue, key, object, source, stack). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} customizer The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * if (_.isArray(objValue)) { - * return objValue.concat(srcValue); - * } - * } - * - * var object = { 'a': [1], 'b': [2] }; - * var other = { 'a': [3], 'b': [4] }; - * - * _.mergeWith(object, other, customizer); - * // => { 'a': [1, 3], 'b': [2, 4] } - */ - var mergeWith = createAssigner(function(object, source, srcIndex, customizer) { - baseMerge(object, source, srcIndex, customizer); - }); - - /** - * The opposite of `_.pick`; this method creates an object composed of the - * own and inherited enumerable property paths of `object` that are not omitted. - * - * **Note:** This method is considerably slower than `_.pick`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {...(string|string[])} [paths] The property paths to omit. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omit(object, ['a', 'c']); - * // => { 'b': '2' } - */ - var omit = flatRest(function(object, paths) { - var result = {}; - if (object == null) { - return result; - } - var isDeep = false; - paths = arrayMap(paths, function(path) { - path = castPath(path, object); - isDeep || (isDeep = path.length > 1); - return path; - }); - copyObject(object, getAllKeysIn(object), result); - if (isDeep) { - result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone); - } - var length = paths.length; - while (length--) { - baseUnset(result, paths[length]); - } - return result; - }); - - /** - * The opposite of `_.pickBy`; this method creates an object composed of - * the own and inherited enumerable string keyed properties of `object` that - * `predicate` doesn't return truthy for. The predicate is invoked with two - * arguments: (value, key). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The source object. - * @param {Function} [predicate=_.identity] The function invoked per property. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omitBy(object, _.isNumber); - * // => { 'b': '2' } - */ - function omitBy(object, predicate) { - return pickBy(object, negate(getIteratee(predicate))); - } - - /** - * Creates an object composed of the picked `object` properties. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {...(string|string[])} [paths] The property paths to pick. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pick(object, ['a', 'c']); - * // => { 'a': 1, 'c': 3 } - */ - var pick = flatRest(function(object, paths) { - return object == null ? {} : basePick(object, paths); - }); - - /** - * Creates an object composed of the `object` properties `predicate` returns - * truthy for. The predicate is invoked with two arguments: (value, key). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The source object. - * @param {Function} [predicate=_.identity] The function invoked per property. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pickBy(object, _.isNumber); - * // => { 'a': 1, 'c': 3 } - */ - function pickBy(object, predicate) { - if (object == null) { - return {}; - } - var props = arrayMap(getAllKeysIn(object), function(prop) { - return [prop]; - }); - predicate = getIteratee(predicate); - return basePickBy(object, props, function(value, path) { - return predicate(value, path[0]); - }); - } - - /** - * This method is like `_.get` except that if the resolved value is a - * function it's invoked with the `this` binding of its parent object and - * its result is returned. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to resolve. - * @param {*} [defaultValue] The value returned for `undefined` resolved values. - * @returns {*} Returns the resolved value. - * @example - * - * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] }; - * - * _.result(object, 'a[0].b.c1'); - * // => 3 - * - * _.result(object, 'a[0].b.c2'); - * // => 4 - * - * _.result(object, 'a[0].b.c3', 'default'); - * // => 'default' - * - * _.result(object, 'a[0].b.c3', _.constant('default')); - * // => 'default' - */ - function result(object, path, defaultValue) { - path = castPath(path, object); - - var index = -1, - length = path.length; - - // Ensure the loop is entered when path is empty. - if (!length) { - length = 1; - object = undefined; - } - while (++index < length) { - var value = object == null ? undefined : object[toKey(path[index])]; - if (value === undefined) { - index = length; - value = defaultValue; - } - object = isFunction(value) ? value.call(object) : value; - } - return object; - } - - /** - * Sets the value at `path` of `object`. If a portion of `path` doesn't exist, - * it's created. Arrays are created for missing index properties while objects - * are created for all other missing properties. Use `_.setWith` to customize - * `path` creation. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 3.7.0 - * @category Object - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {*} value The value to set. - * @returns {Object} Returns `object`. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.set(object, 'a[0].b.c', 4); - * console.log(object.a[0].b.c); - * // => 4 - * - * _.set(object, ['x', '0', 'y', 'z'], 5); - * console.log(object.x[0].y.z); - * // => 5 - */ - function set(object, path, value) { - return object == null ? object : baseSet(object, path, value); - } - - /** - * This method is like `_.set` except that it accepts `customizer` which is - * invoked to produce the objects of `path`. If `customizer` returns `undefined` - * path creation is handled by the method instead. The `customizer` is invoked - * with three arguments: (nsValue, key, nsObject). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {*} value The value to set. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * var object = {}; - * - * _.setWith(object, '[0][1]', 'a', Object); - * // => { '0': { '1': 'a' } } - */ - function setWith(object, path, value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return object == null ? object : baseSet(object, path, value, customizer); - } - - /** - * Creates an array of own enumerable string keyed-value pairs for `object` - * which can be consumed by `_.fromPairs`. If `object` is a map or set, its - * entries are returned. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias entries - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the key-value pairs. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.toPairs(new Foo); - * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed) - */ - var toPairs = createToPairs(keys); - - /** - * Creates an array of own and inherited enumerable string keyed-value pairs - * for `object` which can be consumed by `_.fromPairs`. If `object` is a map - * or set, its entries are returned. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias entriesIn - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the key-value pairs. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.toPairsIn(new Foo); - * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed) - */ - var toPairsIn = createToPairs(keysIn); - - /** - * An alternative to `_.reduce`; this method transforms `object` to a new - * `accumulator` object which is the result of running each of its own - * enumerable string keyed properties thru `iteratee`, with each invocation - * potentially mutating the `accumulator` object. If `accumulator` is not - * provided, a new object with the same `[[Prototype]]` will be used. The - * iteratee is invoked with four arguments: (accumulator, value, key, object). - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @since 1.3.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The custom accumulator value. - * @returns {*} Returns the accumulated value. - * @example - * - * _.transform([2, 3, 4], function(result, n) { - * result.push(n *= n); - * return n % 2 == 0; - * }, []); - * // => [4, 9] - * - * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) { - * (result[value] || (result[value] = [])).push(key); - * }, {}); - * // => { '1': ['a', 'c'], '2': ['b'] } - */ - function transform(object, iteratee, accumulator) { - var isArr = isArray(object), - isArrLike = isArr || isBuffer(object) || isTypedArray(object); - - iteratee = getIteratee(iteratee, 4); - if (accumulator == null) { - var Ctor = object && object.constructor; - if (isArrLike) { - accumulator = isArr ? new Ctor : []; - } - else if (isObject(object)) { - accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {}; - } - else { - accumulator = {}; - } - } - (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) { - return iteratee(accumulator, value, index, object); - }); - return accumulator; - } - - /** - * Removes the property at `path` of `object`. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to unset. - * @returns {boolean} Returns `true` if the property is deleted, else `false`. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 7 } }] }; - * _.unset(object, 'a[0].b.c'); - * // => true - * - * console.log(object); - * // => { 'a': [{ 'b': {} }] }; - * - * _.unset(object, ['a', '0', 'b', 'c']); - * // => true - * - * console.log(object); - * // => { 'a': [{ 'b': {} }] }; - */ - function unset(object, path) { - return object == null ? true : baseUnset(object, path); - } - - /** - * This method is like `_.set` except that accepts `updater` to produce the - * value to set. Use `_.updateWith` to customize `path` creation. The `updater` - * is invoked with one argument: (value). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.6.0 - * @category Object - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {Function} updater The function to produce the updated value. - * @returns {Object} Returns `object`. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.update(object, 'a[0].b.c', function(n) { return n * n; }); - * console.log(object.a[0].b.c); - * // => 9 - * - * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; }); - * console.log(object.x[0].y.z); - * // => 0 - */ - function update(object, path, updater) { - return object == null ? object : baseUpdate(object, path, castFunction(updater)); - } - - /** - * This method is like `_.update` except that it accepts `customizer` which is - * invoked to produce the objects of `path`. If `customizer` returns `undefined` - * path creation is handled by the method instead. The `customizer` is invoked - * with three arguments: (nsValue, key, nsObject). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.6.0 - * @category Object - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {Function} updater The function to produce the updated value. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * var object = {}; - * - * _.updateWith(object, '[0][1]', _.constant('a'), Object); - * // => { '0': { '1': 'a' } } - */ - function updateWith(object, path, updater, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer); - } - - /** - * Creates an array of the own enumerable string keyed property values of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property values. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.values(new Foo); - * // => [1, 2] (iteration order is not guaranteed) - * - * _.values('hi'); - * // => ['h', 'i'] - */ - function values(object) { - return object == null ? [] : baseValues(object, keys(object)); - } - - /** - * Creates an array of the own and inherited enumerable string keyed property - * values of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property values. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.valuesIn(new Foo); - * // => [1, 2, 3] (iteration order is not guaranteed) - */ - function valuesIn(object) { - return object == null ? [] : baseValues(object, keysIn(object)); - } - - /*------------------------------------------------------------------------*/ - - /** - * Clamps `number` within the inclusive `lower` and `upper` bounds. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Number - * @param {number} number The number to clamp. - * @param {number} [lower] The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the clamped number. - * @example - * - * _.clamp(-10, -5, 5); - * // => -5 - * - * _.clamp(10, -5, 5); - * // => 5 - */ - function clamp(number, lower, upper) { - if (upper === undefined) { - upper = lower; - lower = undefined; - } - if (upper !== undefined) { - upper = toNumber(upper); - upper = upper === upper ? upper : 0; - } - if (lower !== undefined) { - lower = toNumber(lower); - lower = lower === lower ? lower : 0; - } - return baseClamp(toNumber(number), lower, upper); - } - - /** - * Checks if `n` is between `start` and up to, but not including, `end`. If - * `end` is not specified, it's set to `start` with `start` then set to `0`. - * If `start` is greater than `end` the params are swapped to support - * negative ranges. - * - * @static - * @memberOf _ - * @since 3.3.0 - * @category Number - * @param {number} number The number to check. - * @param {number} [start=0] The start of the range. - * @param {number} end The end of the range. - * @returns {boolean} Returns `true` if `number` is in the range, else `false`. - * @see _.range, _.rangeRight - * @example - * - * _.inRange(3, 2, 4); - * // => true - * - * _.inRange(4, 8); - * // => true - * - * _.inRange(4, 2); - * // => false - * - * _.inRange(2, 2); - * // => false - * - * _.inRange(1.2, 2); - * // => true - * - * _.inRange(5.2, 4); - * // => false - * - * _.inRange(-3, -2, -6); - * // => true - */ - function inRange(number, start, end) { - start = toFinite(start); - if (end === undefined) { - end = start; - start = 0; - } else { - end = toFinite(end); - } - number = toNumber(number); - return baseInRange(number, start, end); - } - - /** - * Produces a random number between the inclusive `lower` and `upper` bounds. - * If only one argument is provided a number between `0` and the given number - * is returned. If `floating` is `true`, or either `lower` or `upper` are - * floats, a floating-point number is returned instead of an integer. - * - * **Note:** JavaScript follows the IEEE-754 standard for resolving - * floating-point values which can produce unexpected results. - * - * @static - * @memberOf _ - * @since 0.7.0 - * @category Number - * @param {number} [lower=0] The lower bound. - * @param {number} [upper=1] The upper bound. - * @param {boolean} [floating] Specify returning a floating-point number. - * @returns {number} Returns the random number. - * @example - * - * _.random(0, 5); - * // => an integer between 0 and 5 - * - * _.random(5); - * // => also an integer between 0 and 5 - * - * _.random(5, true); - * // => a floating-point number between 0 and 5 - * - * _.random(1.2, 5.2); - * // => a floating-point number between 1.2 and 5.2 - */ - function random(lower, upper, floating) { - if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) { - upper = floating = undefined; - } - if (floating === undefined) { - if (typeof upper == 'boolean') { - floating = upper; - upper = undefined; - } - else if (typeof lower == 'boolean') { - floating = lower; - lower = undefined; - } - } - if (lower === undefined && upper === undefined) { - lower = 0; - upper = 1; - } - else { - lower = toFinite(lower); - if (upper === undefined) { - upper = lower; - lower = 0; - } else { - upper = toFinite(upper); - } - } - if (lower > upper) { - var temp = lower; - lower = upper; - upper = temp; - } - if (floating || lower % 1 || upper % 1) { - var rand = nativeRandom(); - return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper); - } - return baseRandom(lower, upper); - } - - /*------------------------------------------------------------------------*/ - - /** - * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the camel cased string. - * @example - * - * _.camelCase('Foo Bar'); - * // => 'fooBar' - * - * _.camelCase('--foo-bar--'); - * // => 'fooBar' - * - * _.camelCase('__FOO_BAR__'); - * // => 'fooBar' - */ - var camelCase = createCompounder(function(result, word, index) { - word = word.toLowerCase(); - return result + (index ? capitalize(word) : word); - }); - - /** - * Converts the first character of `string` to upper case and the remaining - * to lower case. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to capitalize. - * @returns {string} Returns the capitalized string. - * @example - * - * _.capitalize('FRED'); - * // => 'Fred' - */ - function capitalize(string) { - return upperFirst(toString(string).toLowerCase()); - } - - /** - * Deburrs `string` by converting - * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) - * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A) - * letters to basic Latin letters and removing - * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to deburr. - * @returns {string} Returns the deburred string. - * @example - * - * _.deburr('déjà vu'); - * // => 'deja vu' - */ - function deburr(string) { - string = toString(string); - return string && string.replace(reLatin, deburrLetter).replace(reComboMark, ''); - } - - /** - * Checks if `string` ends with the given target string. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to inspect. - * @param {string} [target] The string to search for. - * @param {number} [position=string.length] The position to search up to. - * @returns {boolean} Returns `true` if `string` ends with `target`, - * else `false`. - * @example - * - * _.endsWith('abc', 'c'); - * // => true - * - * _.endsWith('abc', 'b'); - * // => false - * - * _.endsWith('abc', 'b', 2); - * // => true - */ - function endsWith(string, target, position) { - string = toString(string); - target = baseToString(target); - - var length = string.length; - position = position === undefined - ? length - : baseClamp(toInteger(position), 0, length); - - var end = position; - position -= target.length; - return position >= 0 && string.slice(position, end) == target; - } - - /** - * Converts the characters "&", "<", ">", '"', and "'" in `string` to their - * corresponding HTML entities. - * - * **Note:** No other characters are escaped. To escape additional - * characters use a third-party library like [_he_](https://mths.be/he). - * - * Though the ">" character is escaped for symmetry, characters like - * ">" and "/" don't need escaping in HTML and have no special meaning - * unless they're part of a tag or unquoted attribute value. See - * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands) - * (under "semi-related fun fact") for more details. - * - * When working with HTML you should always - * [quote attribute values](http://wonko.com/post/html-escaping) to reduce - * XSS vectors. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category String - * @param {string} [string=''] The string to escape. - * @returns {string} Returns the escaped string. - * @example - * - * _.escape('fred, barney, & pebbles'); - * // => 'fred, barney, & pebbles' - */ - function escape(string) { - string = toString(string); - return (string && reHasUnescapedHtml.test(string)) - ? string.replace(reUnescapedHtml, escapeHtmlChar) - : string; - } - - /** - * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+", - * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to escape. - * @returns {string} Returns the escaped string. - * @example - * - * _.escapeRegExp('[lodash](https://lodash.com/)'); - * // => '\[lodash\]\(https://lodash\.com/\)' - */ - function escapeRegExp(string) { - string = toString(string); - return (string && reHasRegExpChar.test(string)) - ? string.replace(reRegExpChar, '\\$&') - : string; - } - - /** - * Converts `string` to - * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the kebab cased string. - * @example - * - * _.kebabCase('Foo Bar'); - * // => 'foo-bar' - * - * _.kebabCase('fooBar'); - * // => 'foo-bar' - * - * _.kebabCase('__FOO_BAR__'); - * // => 'foo-bar' - */ - var kebabCase = createCompounder(function(result, word, index) { - return result + (index ? '-' : '') + word.toLowerCase(); - }); - - /** - * Converts `string`, as space separated words, to lower case. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the lower cased string. - * @example - * - * _.lowerCase('--Foo-Bar--'); - * // => 'foo bar' - * - * _.lowerCase('fooBar'); - * // => 'foo bar' - * - * _.lowerCase('__FOO_BAR__'); - * // => 'foo bar' - */ - var lowerCase = createCompounder(function(result, word, index) { - return result + (index ? ' ' : '') + word.toLowerCase(); - }); - - /** - * Converts the first character of `string` to lower case. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the converted string. - * @example - * - * _.lowerFirst('Fred'); - * // => 'fred' - * - * _.lowerFirst('FRED'); - * // => 'fRED' - */ - var lowerFirst = createCaseFirst('toLowerCase'); - - /** - * Pads `string` on the left and right sides if it's shorter than `length`. - * Padding characters are truncated if they can't be evenly divided by `length`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to pad. - * @param {number} [length=0] The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padded string. - * @example - * - * _.pad('abc', 8); - * // => ' abc ' - * - * _.pad('abc', 8, '_-'); - * // => '_-abc_-_' - * - * _.pad('abc', 3); - * // => 'abc' - */ - function pad(string, length, chars) { - string = toString(string); - length = toInteger(length); - - var strLength = length ? stringSize(string) : 0; - if (!length || strLength >= length) { - return string; - } - var mid = (length - strLength) / 2; - return ( - createPadding(nativeFloor(mid), chars) + - string + - createPadding(nativeCeil(mid), chars) - ); - } - - /** - * Pads `string` on the right side if it's shorter than `length`. Padding - * characters are truncated if they exceed `length`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to pad. - * @param {number} [length=0] The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padded string. - * @example - * - * _.padEnd('abc', 6); - * // => 'abc ' - * - * _.padEnd('abc', 6, '_-'); - * // => 'abc_-_' - * - * _.padEnd('abc', 3); - * // => 'abc' - */ - function padEnd(string, length, chars) { - string = toString(string); - length = toInteger(length); - - var strLength = length ? stringSize(string) : 0; - return (length && strLength < length) - ? (string + createPadding(length - strLength, chars)) - : string; - } - - /** - * Pads `string` on the left side if it's shorter than `length`. Padding - * characters are truncated if they exceed `length`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to pad. - * @param {number} [length=0] The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padded string. - * @example - * - * _.padStart('abc', 6); - * // => ' abc' - * - * _.padStart('abc', 6, '_-'); - * // => '_-_abc' - * - * _.padStart('abc', 3); - * // => 'abc' - */ - function padStart(string, length, chars) { - string = toString(string); - length = toInteger(length); - - var strLength = length ? stringSize(string) : 0; - return (length && strLength < length) - ? (createPadding(length - strLength, chars) + string) - : string; - } - - /** - * Converts `string` to an integer of the specified radix. If `radix` is - * `undefined` or `0`, a `radix` of `10` is used unless `value` is a - * hexadecimal, in which case a `radix` of `16` is used. - * - * **Note:** This method aligns with the - * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category String - * @param {string} string The string to convert. - * @param {number} [radix=10] The radix to interpret `value` by. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {number} Returns the converted integer. - * @example - * - * _.parseInt('08'); - * // => 8 - * - * _.map(['6', '08', '10'], _.parseInt); - * // => [6, 8, 10] - */ - function parseInt(string, radix, guard) { - if (guard || radix == null) { - radix = 0; - } else if (radix) { - radix = +radix; - } - return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0); - } - - /** - * Repeats the given string `n` times. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to repeat. - * @param {number} [n=1] The number of times to repeat the string. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {string} Returns the repeated string. - * @example - * - * _.repeat('*', 3); - * // => '***' - * - * _.repeat('abc', 2); - * // => 'abcabc' - * - * _.repeat('abc', 0); - * // => '' - */ - function repeat(string, n, guard) { - if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) { - n = 1; - } else { - n = toInteger(n); - } - return baseRepeat(toString(string), n); - } - - /** - * Replaces matches for `pattern` in `string` with `replacement`. - * - * **Note:** This method is based on - * [`String#replace`](https://mdn.io/String/replace). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to modify. - * @param {RegExp|string} pattern The pattern to replace. - * @param {Function|string} replacement The match replacement. - * @returns {string} Returns the modified string. - * @example - * - * _.replace('Hi Fred', 'Fred', 'Barney'); - * // => 'Hi Barney' - */ - function replace() { - var args = arguments, - string = toString(args[0]); - - return args.length < 3 ? string : string.replace(args[1], args[2]); - } - - /** - * Converts `string` to - * [snake case](https://en.wikipedia.org/wiki/Snake_case). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the snake cased string. - * @example - * - * _.snakeCase('Foo Bar'); - * // => 'foo_bar' - * - * _.snakeCase('fooBar'); - * // => 'foo_bar' - * - * _.snakeCase('--FOO-BAR--'); - * // => 'foo_bar' - */ - var snakeCase = createCompounder(function(result, word, index) { - return result + (index ? '_' : '') + word.toLowerCase(); - }); - - /** - * Splits `string` by `separator`. - * - * **Note:** This method is based on - * [`String#split`](https://mdn.io/String/split). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to split. - * @param {RegExp|string} separator The separator pattern to split by. - * @param {number} [limit] The length to truncate results to. - * @returns {Array} Returns the string segments. - * @example - * - * _.split('a-b-c', '-', 2); - * // => ['a', 'b'] - */ - function split(string, separator, limit) { - if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) { - separator = limit = undefined; - } - limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0; - if (!limit) { - return []; - } - string = toString(string); - if (string && ( - typeof separator == 'string' || - (separator != null && !isRegExp(separator)) - )) { - separator = baseToString(separator); - if (!separator && hasUnicode(string)) { - return castSlice(stringToArray(string), 0, limit); - } - } - return string.split(separator, limit); - } - - /** - * Converts `string` to - * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage). - * - * @static - * @memberOf _ - * @since 3.1.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the start cased string. - * @example - * - * _.startCase('--foo-bar--'); - * // => 'Foo Bar' - * - * _.startCase('fooBar'); - * // => 'Foo Bar' - * - * _.startCase('__FOO_BAR__'); - * // => 'FOO BAR' - */ - var startCase = createCompounder(function(result, word, index) { - return result + (index ? ' ' : '') + upperFirst(word); - }); - - /** - * Checks if `string` starts with the given target string. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to inspect. - * @param {string} [target] The string to search for. - * @param {number} [position=0] The position to search from. - * @returns {boolean} Returns `true` if `string` starts with `target`, - * else `false`. - * @example - * - * _.startsWith('abc', 'a'); - * // => true - * - * _.startsWith('abc', 'b'); - * // => false - * - * _.startsWith('abc', 'b', 1); - * // => true - */ - function startsWith(string, target, position) { - string = toString(string); - position = position == null - ? 0 - : baseClamp(toInteger(position), 0, string.length); - - target = baseToString(target); - return string.slice(position, position + target.length) == target; - } - - /** - * Creates a compiled template function that can interpolate data properties - * in "interpolate" delimiters, HTML-escape interpolated data properties in - * "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data - * properties may be accessed as free variables in the template. If a setting - * object is given, it takes precedence over `_.templateSettings` values. - * - * **Note:** In the development build `_.template` utilizes - * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) - * for easier debugging. - * - * For more information on precompiling templates see - * [lodash's custom builds documentation](https://lodash.com/custom-builds). - * - * For more information on Chrome extension sandboxes see - * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval). - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category String - * @param {string} [string=''] The template string. - * @param {Object} [options={}] The options object. - * @param {RegExp} [options.escape=_.templateSettings.escape] - * The HTML "escape" delimiter. - * @param {RegExp} [options.evaluate=_.templateSettings.evaluate] - * The "evaluate" delimiter. - * @param {Object} [options.imports=_.templateSettings.imports] - * An object to import into the template as free variables. - * @param {RegExp} [options.interpolate=_.templateSettings.interpolate] - * The "interpolate" delimiter. - * @param {string} [options.sourceURL='lodash.templateSources[n]'] - * The sourceURL of the compiled template. - * @param {string} [options.variable='obj'] - * The data object variable name. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the compiled template function. - * @example - * - * // Use the "interpolate" delimiter to create a compiled template. - * var compiled = _.template('hello <%= user %>!'); - * compiled({ 'user': 'fred' }); - * // => 'hello fred!' - * - * // Use the HTML "escape" delimiter to escape data property values. - * var compiled = _.template('<%- value %>'); - * compiled({ 'value': ' -``` - -In [Narwhal](http://narwhaljs.org/), [Node.js](http://nodejs.org/), and [RingoJS](http://ringojs.org/): - -```js -var punycode = require('punycode'); -``` - -In [Rhino](http://www.mozilla.org/rhino/): - -```js -load('punycode.js'); -``` - -Using an AMD loader like [RequireJS](http://requirejs.org/): - -```js -require( - { - 'paths': { - 'punycode': 'path/to/punycode' - } - }, - ['punycode'], - function(punycode) { - console.log(punycode); - } -); -``` - -## API - -### `punycode.decode(string)` - -Converts a Punycode string of ASCII symbols to a string of Unicode symbols. - -```js -// decode domain name parts -punycode.decode('maana-pta'); // 'mañana' -punycode.decode('--dqo34k'); // '☃-⌘' -``` - -### `punycode.encode(string)` - -Converts a string of Unicode symbols to a Punycode string of ASCII symbols. - -```js -// encode domain name parts -punycode.encode('mañana'); // 'maana-pta' -punycode.encode('☃-⌘'); // '--dqo34k' -``` - -### `punycode.toUnicode(input)` - -Converts a Punycode string representing a domain name or an email address to Unicode. Only the Punycoded parts of the input will be converted, i.e. it doesn’t matter if you call it on a string that has already been converted to Unicode. - -```js -// decode domain names -punycode.toUnicode('xn--maana-pta.com'); -// → 'mañana.com' -punycode.toUnicode('xn----dqo34k.com'); -// → '☃-⌘.com' - -// decode email addresses -punycode.toUnicode('джумла@xn--p-8sbkgc5ag7bhce.xn--ba-lmcq'); -// → 'джумла@джpумлатест.bрфa' -``` - -### `punycode.toASCII(input)` - -Converts a Unicode string representing a domain name or an email address to Punycode. Only the non-ASCII parts of the input will be converted, i.e. it doesn’t matter if you call it with a domain that's already in ASCII. - -```js -// encode domain names -punycode.toASCII('mañana.com'); -// → 'xn--maana-pta.com' -punycode.toASCII('☃-⌘.com'); -// → 'xn----dqo34k.com' - -// encode email addresses -punycode.toASCII('джумла@джpумлатест.bрфa'); -// → 'джумла@xn--p-8sbkgc5ag7bhce.xn--ba-lmcq' -``` - -### `punycode.ucs2` - -#### `punycode.ucs2.decode(string)` - -Creates an array containing the numeric code point values of each Unicode symbol in the string. While [JavaScript uses UCS-2 internally](https://mathiasbynens.be/notes/javascript-encoding), this function will convert a pair of surrogate halves (each of which UCS-2 exposes as separate characters) into a single code point, matching UTF-16. - -```js -punycode.ucs2.decode('abc'); -// → [0x61, 0x62, 0x63] -// surrogate pair for U+1D306 TETRAGRAM FOR CENTRE: -punycode.ucs2.decode('\uD834\uDF06'); -// → [0x1D306] -``` - -#### `punycode.ucs2.encode(codePoints)` - -Creates a string based on an array of numeric code point values. - -```js -punycode.ucs2.encode([0x61, 0x62, 0x63]); -// → 'abc' -punycode.ucs2.encode([0x1D306]); -// → '\uD834\uDF06' -``` - -### `punycode.version` - -A string representing the current Punycode.js version number. - -## Unit tests & code coverage - -After cloning this repository, run `npm install --dev` to install the dependencies needed for Punycode.js development and testing. You may want to install Istanbul _globally_ using `npm install istanbul -g`. - -Once that’s done, you can run the unit tests in Node using `npm test` or `node tests/tests.js`. To run the tests in Rhino, Ringo, Narwhal, PhantomJS, and web browsers as well, use `grunt test`. - -To generate the code coverage report, use `grunt cover`. - -Feel free to fork if you see possible improvements! - -## Author - -| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") | -|---| -| [Mathias Bynens](https://mathiasbynens.be/) | - -## Contributors - -| [![twitter/jdalton](https://gravatar.com/avatar/299a3d891ff1920b69c364d061007043?s=70)](https://twitter.com/jdalton "Follow @jdalton on Twitter") | -|---| -| [John-David Dalton](http://allyoucanleet.com/) | - -## License - -Punycode.js is available under the [MIT](https://mths.be/mit) license. diff --git a/src/node_modules/punycode/package.json b/src/node_modules/punycode/package.json deleted file mode 100644 index eee54db..0000000 --- a/src/node_modules/punycode/package.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "_args": [ - [ - "punycode@1.3.2", - "/home/binhong/dota2-alexa-skill/src/node_modules/url" - ] - ], - "_from": "punycode@1.3.2", - "_id": "punycode@1.3.2", - "_inCache": true, - "_installable": true, - "_location": "/punycode", - "_npmUser": { - "email": "mathias@qiwi.be", - "name": "mathias" - }, - "_npmVersion": "1.4.28", - "_phantomChildren": {}, - "_requested": { - "name": "punycode", - "raw": "punycode@1.3.2", - "rawSpec": "1.3.2", - "scope": null, - "spec": "1.3.2", - "type": "version" - }, - "_requiredBy": [ - "/url" - ], - "_resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "_shasum": "9653a036fb7c1ee42342f2325cceefea3926c48d", - "_shrinkwrap": null, - "_spec": "punycode@1.3.2", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/url", - "author": { - "name": "Mathias Bynens", - "url": "https://mathiasbynens.be/" - }, - "bugs": { - "url": "https://github.com/bestiejs/punycode.js/issues" - }, - "contributors": [ - { - "name": "Mathias Bynens", - "url": "https://mathiasbynens.be/" - }, - { - "name": "John-David Dalton", - "url": "http://allyoucanleet.com/" - } - ], - "dependencies": {}, - "description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.", - "devDependencies": { - "coveralls": "^2.10.1", - "grunt": "^0.4.5", - "grunt-contrib-uglify": "^0.5.0", - "grunt-shell": "^0.7.0", - "istanbul": "^0.2.13", - "qunit-extras": "^1.2.0", - "qunitjs": "~1.11.0", - "requirejs": "^2.1.14" - }, - "directories": {}, - "dist": { - "shasum": "9653a036fb7c1ee42342f2325cceefea3926c48d", - "tarball": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz" - }, - "files": [ - "LICENSE-MIT.txt", - "punycode.js" - ], - "gitHead": "38c8d3131a82567bfef18da09f7f4db68c84f8a3", - "homepage": "https://mths.be/punycode", - "keywords": [ - "dns", - "domain", - "idn", - "idna", - "punycode", - "unicode", - "url" - ], - "license": "MIT", - "main": "punycode.js", - "maintainers": [ - { - "name": "mathias", - "email": "mathias@qiwi.be" - }, - { - "name": "reconbot", - "email": "wizard@roborooter.com" - } - ], - "name": "punycode", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/bestiejs/punycode.js.git" - }, - "scripts": { - "test": "node tests/tests.js" - }, - "version": "1.3.2" -} diff --git a/src/node_modules/punycode/punycode.js b/src/node_modules/punycode/punycode.js deleted file mode 100644 index ac68597..0000000 --- a/src/node_modules/punycode/punycode.js +++ /dev/null @@ -1,530 +0,0 @@ -/*! https://mths.be/punycode v1.3.2 by @mathias */ -;(function(root) { - - /** Detect free variables */ - var freeExports = typeof exports == 'object' && exports && - !exports.nodeType && exports; - var freeModule = typeof module == 'object' && module && - !module.nodeType && module; - var freeGlobal = typeof global == 'object' && global; - if ( - freeGlobal.global === freeGlobal || - freeGlobal.window === freeGlobal || - freeGlobal.self === freeGlobal - ) { - root = freeGlobal; - } - - /** - * The `punycode` object. - * @name punycode - * @type Object - */ - var punycode, - - /** Highest positive signed 32-bit float value */ - maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1 - - /** Bootstring parameters */ - base = 36, - tMin = 1, - tMax = 26, - skew = 38, - damp = 700, - initialBias = 72, - initialN = 128, // 0x80 - delimiter = '-', // '\x2D' - - /** Regular expressions */ - regexPunycode = /^xn--/, - regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars - regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators - - /** Error messages */ - errors = { - 'overflow': 'Overflow: input needs wider integers to process', - 'not-basic': 'Illegal input >= 0x80 (not a basic code point)', - 'invalid-input': 'Invalid input' - }, - - /** Convenience shortcuts */ - baseMinusTMin = base - tMin, - floor = Math.floor, - stringFromCharCode = String.fromCharCode, - - /** Temporary variable */ - key; - - /*--------------------------------------------------------------------------*/ - - /** - * A generic error utility function. - * @private - * @param {String} type The error type. - * @returns {Error} Throws a `RangeError` with the applicable error message. - */ - function error(type) { - throw RangeError(errors[type]); - } - - /** - * A generic `Array#map` utility function. - * @private - * @param {Array} array The array to iterate over. - * @param {Function} callback The function that gets called for every array - * item. - * @returns {Array} A new array of values returned by the callback function. - */ - function map(array, fn) { - var length = array.length; - var result = []; - while (length--) { - result[length] = fn(array[length]); - } - return result; - } - - /** - * A simple `Array#map`-like wrapper to work with domain name strings or email - * addresses. - * @private - * @param {String} domain The domain name or email address. - * @param {Function} callback The function that gets called for every - * character. - * @returns {Array} A new string of characters returned by the callback - * function. - */ - function mapDomain(string, fn) { - var parts = string.split('@'); - var result = ''; - if (parts.length > 1) { - // In email addresses, only the domain name should be punycoded. Leave - // the local part (i.e. everything up to `@`) intact. - result = parts[0] + '@'; - string = parts[1]; - } - // Avoid `split(regex)` for IE8 compatibility. See #17. - string = string.replace(regexSeparators, '\x2E'); - var labels = string.split('.'); - var encoded = map(labels, fn).join('.'); - return result + encoded; - } - - /** - * Creates an array containing the numeric code points of each Unicode - * character in the string. While JavaScript uses UCS-2 internally, - * this function will convert a pair of surrogate halves (each of which - * UCS-2 exposes as separate characters) into a single code point, - * matching UTF-16. - * @see `punycode.ucs2.encode` - * @see - * @memberOf punycode.ucs2 - * @name decode - * @param {String} string The Unicode input string (UCS-2). - * @returns {Array} The new array of code points. - */ - function ucs2decode(string) { - var output = [], - counter = 0, - length = string.length, - value, - extra; - while (counter < length) { - value = string.charCodeAt(counter++); - if (value >= 0xD800 && value <= 0xDBFF && counter < length) { - // high surrogate, and there is a next character - extra = string.charCodeAt(counter++); - if ((extra & 0xFC00) == 0xDC00) { // low surrogate - output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); - } else { - // unmatched surrogate; only append this code unit, in case the next - // code unit is the high surrogate of a surrogate pair - output.push(value); - counter--; - } - } else { - output.push(value); - } - } - return output; - } - - /** - * Creates a string based on an array of numeric code points. - * @see `punycode.ucs2.decode` - * @memberOf punycode.ucs2 - * @name encode - * @param {Array} codePoints The array of numeric code points. - * @returns {String} The new Unicode string (UCS-2). - */ - function ucs2encode(array) { - return map(array, function(value) { - var output = ''; - if (value > 0xFFFF) { - value -= 0x10000; - output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800); - value = 0xDC00 | value & 0x3FF; - } - output += stringFromCharCode(value); - return output; - }).join(''); - } - - /** - * Converts a basic code point into a digit/integer. - * @see `digitToBasic()` - * @private - * @param {Number} codePoint The basic numeric code point value. - * @returns {Number} The numeric value of a basic code point (for use in - * representing integers) in the range `0` to `base - 1`, or `base` if - * the code point does not represent a value. - */ - function basicToDigit(codePoint) { - if (codePoint - 48 < 10) { - return codePoint - 22; - } - if (codePoint - 65 < 26) { - return codePoint - 65; - } - if (codePoint - 97 < 26) { - return codePoint - 97; - } - return base; - } - - /** - * Converts a digit/integer into a basic code point. - * @see `basicToDigit()` - * @private - * @param {Number} digit The numeric value of a basic code point. - * @returns {Number} The basic code point whose value (when used for - * representing integers) is `digit`, which needs to be in the range - * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is - * used; else, the lowercase form is used. The behavior is undefined - * if `flag` is non-zero and `digit` has no uppercase form. - */ - function digitToBasic(digit, flag) { - // 0..25 map to ASCII a..z or A..Z - // 26..35 map to ASCII 0..9 - return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5); - } - - /** - * Bias adaptation function as per section 3.4 of RFC 3492. - * http://tools.ietf.org/html/rfc3492#section-3.4 - * @private - */ - function adapt(delta, numPoints, firstTime) { - var k = 0; - delta = firstTime ? floor(delta / damp) : delta >> 1; - delta += floor(delta / numPoints); - for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { - delta = floor(delta / baseMinusTMin); - } - return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); - } - - /** - * Converts a Punycode string of ASCII-only symbols to a string of Unicode - * symbols. - * @memberOf punycode - * @param {String} input The Punycode string of ASCII-only symbols. - * @returns {String} The resulting string of Unicode symbols. - */ - function decode(input) { - // Don't use UCS-2 - var output = [], - inputLength = input.length, - out, - i = 0, - n = initialN, - bias = initialBias, - basic, - j, - index, - oldi, - w, - k, - digit, - t, - /** Cached calculation results */ - baseMinusT; - - // Handle the basic code points: let `basic` be the number of input code - // points before the last delimiter, or `0` if there is none, then copy - // the first basic code points to the output. - - basic = input.lastIndexOf(delimiter); - if (basic < 0) { - basic = 0; - } - - for (j = 0; j < basic; ++j) { - // if it's not a basic code point - if (input.charCodeAt(j) >= 0x80) { - error('not-basic'); - } - output.push(input.charCodeAt(j)); - } - - // Main decoding loop: start just after the last delimiter if any basic code - // points were copied; start at the beginning otherwise. - - for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) { - - // `index` is the index of the next character to be consumed. - // Decode a generalized variable-length integer into `delta`, - // which gets added to `i`. The overflow checking is easier - // if we increase `i` as we go, then subtract off its starting - // value at the end to obtain `delta`. - for (oldi = i, w = 1, k = base; /* no condition */; k += base) { - - if (index >= inputLength) { - error('invalid-input'); - } - - digit = basicToDigit(input.charCodeAt(index++)); - - if (digit >= base || digit > floor((maxInt - i) / w)) { - error('overflow'); - } - - i += digit * w; - t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); - - if (digit < t) { - break; - } - - baseMinusT = base - t; - if (w > floor(maxInt / baseMinusT)) { - error('overflow'); - } - - w *= baseMinusT; - - } - - out = output.length + 1; - bias = adapt(i - oldi, out, oldi == 0); - - // `i` was supposed to wrap around from `out` to `0`, - // incrementing `n` each time, so we'll fix that now: - if (floor(i / out) > maxInt - n) { - error('overflow'); - } - - n += floor(i / out); - i %= out; - - // Insert `n` at position `i` of the output - output.splice(i++, 0, n); - - } - - return ucs2encode(output); - } - - /** - * Converts a string of Unicode symbols (e.g. a domain name label) to a - * Punycode string of ASCII-only symbols. - * @memberOf punycode - * @param {String} input The string of Unicode symbols. - * @returns {String} The resulting Punycode string of ASCII-only symbols. - */ - function encode(input) { - var n, - delta, - handledCPCount, - basicLength, - bias, - j, - m, - q, - k, - t, - currentValue, - output = [], - /** `inputLength` will hold the number of code points in `input`. */ - inputLength, - /** Cached calculation results */ - handledCPCountPlusOne, - baseMinusT, - qMinusT; - - // Convert the input in UCS-2 to Unicode - input = ucs2decode(input); - - // Cache the length - inputLength = input.length; - - // Initialize the state - n = initialN; - delta = 0; - bias = initialBias; - - // Handle the basic code points - for (j = 0; j < inputLength; ++j) { - currentValue = input[j]; - if (currentValue < 0x80) { - output.push(stringFromCharCode(currentValue)); - } - } - - handledCPCount = basicLength = output.length; - - // `handledCPCount` is the number of code points that have been handled; - // `basicLength` is the number of basic code points. - - // Finish the basic string - if it is not empty - with a delimiter - if (basicLength) { - output.push(delimiter); - } - - // Main encoding loop: - while (handledCPCount < inputLength) { - - // All non-basic code points < n have been handled already. Find the next - // larger one: - for (m = maxInt, j = 0; j < inputLength; ++j) { - currentValue = input[j]; - if (currentValue >= n && currentValue < m) { - m = currentValue; - } - } - - // Increase `delta` enough to advance the decoder's state to , - // but guard against overflow - handledCPCountPlusOne = handledCPCount + 1; - if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { - error('overflow'); - } - - delta += (m - n) * handledCPCountPlusOne; - n = m; - - for (j = 0; j < inputLength; ++j) { - currentValue = input[j]; - - if (currentValue < n && ++delta > maxInt) { - error('overflow'); - } - - if (currentValue == n) { - // Represent delta as a generalized variable-length integer - for (q = delta, k = base; /* no condition */; k += base) { - t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); - if (q < t) { - break; - } - qMinusT = q - t; - baseMinusT = base - t; - output.push( - stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)) - ); - q = floor(qMinusT / baseMinusT); - } - - output.push(stringFromCharCode(digitToBasic(q, 0))); - bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); - delta = 0; - ++handledCPCount; - } - } - - ++delta; - ++n; - - } - return output.join(''); - } - - /** - * Converts a Punycode string representing a domain name or an email address - * to Unicode. Only the Punycoded parts of the input will be converted, i.e. - * it doesn't matter if you call it on a string that has already been - * converted to Unicode. - * @memberOf punycode - * @param {String} input The Punycoded domain name or email address to - * convert to Unicode. - * @returns {String} The Unicode representation of the given Punycode - * string. - */ - function toUnicode(input) { - return mapDomain(input, function(string) { - return regexPunycode.test(string) - ? decode(string.slice(4).toLowerCase()) - : string; - }); - } - - /** - * Converts a Unicode string representing a domain name or an email address to - * Punycode. Only the non-ASCII parts of the domain name will be converted, - * i.e. it doesn't matter if you call it with a domain that's already in - * ASCII. - * @memberOf punycode - * @param {String} input The domain name or email address to convert, as a - * Unicode string. - * @returns {String} The Punycode representation of the given domain name or - * email address. - */ - function toASCII(input) { - return mapDomain(input, function(string) { - return regexNonASCII.test(string) - ? 'xn--' + encode(string) - : string; - }); - } - - /*--------------------------------------------------------------------------*/ - - /** Define the public API */ - punycode = { - /** - * A string representing the current Punycode.js version number. - * @memberOf punycode - * @type String - */ - 'version': '1.3.2', - /** - * An object of methods to convert from JavaScript's internal character - * representation (UCS-2) to Unicode code points, and back. - * @see - * @memberOf punycode - * @type Object - */ - 'ucs2': { - 'decode': ucs2decode, - 'encode': ucs2encode - }, - 'decode': decode, - 'encode': encode, - 'toASCII': toASCII, - 'toUnicode': toUnicode - }; - - /** Expose `punycode` */ - // Some AMD build optimizers, like r.js, check for specific condition patterns - // like the following: - if ( - typeof define == 'function' && - typeof define.amd == 'object' && - define.amd - ) { - define('punycode', function() { - return punycode; - }); - } else if (freeExports && freeModule) { - if (module.exports == freeExports) { // in Node.js or RingoJS v0.8.0+ - freeModule.exports = punycode; - } else { // in Narwhal or RingoJS v0.7.0- - for (key in punycode) { - punycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]); - } - } - } else { // in Rhino or a web browser - root.punycode = punycode; - } - -}(this)); diff --git a/src/node_modules/querystring/.History.md.un~ b/src/node_modules/querystring/.History.md.un~ deleted file mode 100644 index c96a7dd8c8c86e2e4b6af0478b1bc122b929528d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7960 zcmeI1O>0v@6ozk__}SL4mLj+rD1;VG%uP&mDblr2L05iY+Y|yOx0H0*MfHaW;zHes zKR`F`T=@gs`hk0K;X==IGN(>L?aJBB3n!DAdy@?3;XU`)S!)7yiU;&V2&^z8MM z_O~xGQz3{XCeC6fM$1j%OzWXru>3x=E^Ac0e$!mpo5+#Xq5{S_vTkUMz zuW+=IJ^08`5g#ydh*13&{hirr8vkDgRy%8%;>fZe=l$2h@R$S`78YHj-l(_SW!G%v zd987!mUrA@dr#qUMp?pSNJ_l70&gjVNBWOSOu%a%Tp;ai+aKUqn`0q4k1WKLz+3(o zyv!FzkZ`p#0hgesNr*^7R0*PsAtG=bmpCcGHEe#=fQ9Dmz#6q#%RwOxR6L$U>@xmX=tfkh&gPir=9Y8Y%7Y^LoR2jl5aQTOJ*#w5#Al zqW${GB%vb7^QPhnO@ ZFiAa69(m~N+kCx4vvqx5-`@NB>JPML-n9S# diff --git a/src/node_modules/querystring/.Readme.md.un~ b/src/node_modules/querystring/.Readme.md.un~ deleted file mode 100644 index 71613b59ba1b551647a6ba1b47180a44ac70212b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3225 zcmeHJyGjE=6dhxHHnxHY5fx2g(wK;m2tL4CM2U#VlB~&Ul8rO75g(v-*8YIKrG>3O zV4?PwVrgY5de3Y|*AUQ%YqbYXhTNHb%sprCofWHezFeNSA6e+|G>1{HPna%a9q zp?4>dB~Fx_m_f}bEc`<0w6uAF!lBtZI=41*ERw;dU*sfHzCq6QQM z(+C8rAq#$jR2#4V2qA}7&H7al*JZhx3SRRAv~Tn57%zhgoI^2MwfumpG2qeK*kR#H{5#i5Mo3~;7 L>#09+@^tYI$G;b9 diff --git a/src/node_modules/querystring/.package.json.un~ b/src/node_modules/querystring/.package.json.un~ deleted file mode 100644 index d86fe314c5aaeffce89d94a968668c5dc133ba5b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5710 zcmeHLOKTKC5T3-u_&`k*#kb>v5n;0rb>mwIL_}{n=tV>}yR&9w=i$t5j7Sb%Jt!(3 z#j~D7Px=RZ9K@@FM-@en9!0;erhB)O4H6P_n}%advIf~Yu2>IpEI{p6-nwZjxRQ_iVj17;! z7CJ2J*JjwJ>o);g0aDRz+b#V7{%--S(oLa`NW0+oTY(hIAm$NE$+IKoH;x2dTe_-tEeJ1%Z=M1ZOox*jx?OI z;BL#4u&_;g6>?JdLDdHdv+jf{mN*-jUEZjtZacu}T8rR|E0G&EBxgdCoe_|JP<3oZ zXPoEn(AB0BU5^`)>tD`Yi8Hi<9^r$q^VYWWHHj*1MG`eAH4Fdhb|Wvc+)NN4N9X%K3+ zEKs&QiS=YhP9l&-zN|bI3e_tiYvT!kL8pQ(EANE5Xp-L@KxffBJhNzqo*gxPshdMm zK?etI-&BrA!L`_lYweI$<0LH0a(RkNUQlh;oj4y(l>J8FxwY&0ao5jRyeew2 zos-I(uLPbK_$!kb(xC? zt2)(Y$kTvqZ^(7(P+!ME0h4Y(wM`b+Ts#Sv$$c2M2V_`zKp#dnPzh76GZof@h|h5W zrq(2C3>?Ad7${aGii>=7F@&MYL=<>>1t?2eW`Ch`$$B+bb0en~OsT8j8I-=rHMHF} zQ!I6w(N~VkwQ}StEA1tvTv3d)?|!(`M!&jb5IRx0!$fg^vZ61UbrHAJ%kDHfW@cd~ z(O;#|l`L}{QeLLg%tDteqM4b6{W(rzm1mM!mM6vG7$z~Zi~!6m;A}dp-<-?}fHC2X k7WsA2O1YvJ7SZOxmG@1!>PxuN-yAeobAJIY-TeCGFNStew*UYD diff --git a/src/node_modules/querystring/.travis.yml b/src/node_modules/querystring/.travis.yml deleted file mode 100644 index 895dbd3..0000000 --- a/src/node_modules/querystring/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: node_js -node_js: - - 0.6 - - 0.8 diff --git a/src/node_modules/querystring/History.md b/src/node_modules/querystring/History.md deleted file mode 100644 index 4fddbaf..0000000 --- a/src/node_modules/querystring/History.md +++ /dev/null @@ -1,20 +0,0 @@ -# 0.2.0 / 2013-02-21 - - - Refactor into function per-module idiomatic style. - - Improved test coverage. - -# 0.1.0 / 2011-12-13 - - - Minor project reorganization - -# 0.0.3 / 2011-04-16 - - Support for AMD module loaders - -# 0.0.2 / 2011-04-16 - - - Ported unit tests - - Removed functionality that depended on Buffers - -# 0.0.1 / 2011-04-15 - - - Initial release diff --git a/src/node_modules/querystring/License.md b/src/node_modules/querystring/License.md deleted file mode 100644 index fc80e85..0000000 --- a/src/node_modules/querystring/License.md +++ /dev/null @@ -1,19 +0,0 @@ - -Copyright 2012 Irakli Gozalishvili. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. diff --git a/src/node_modules/querystring/Readme.md b/src/node_modules/querystring/Readme.md deleted file mode 100644 index a4fe252..0000000 --- a/src/node_modules/querystring/Readme.md +++ /dev/null @@ -1,15 +0,0 @@ -# querystring - -[![Build Status](https://secure.travis-ci.org/Gozala/querystring.png)](http://travis-ci.org/Gozala/querystring) - - -[![Browser support](http://ci.testling.com/Gozala/querystring.png)](http://ci.testling.com/Gozala/querystring) - - - -Node's querystring module for all engines. - -## Install ## - - npm install querystring - diff --git a/src/node_modules/querystring/decode.js b/src/node_modules/querystring/decode.js deleted file mode 100644 index a6518b8..0000000 --- a/src/node_modules/querystring/decode.js +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. - -'use strict'; - -// If obj.hasOwnProperty has been overridden, then calling -// obj.hasOwnProperty(prop) will break. -// See: https://github.com/joyent/node/issues/1707 -function hasOwnProperty(obj, prop) { - return Object.prototype.hasOwnProperty.call(obj, prop); -} - -module.exports = function(qs, sep, eq, options) { - sep = sep || '&'; - eq = eq || '='; - var obj = {}; - - if (typeof qs !== 'string' || qs.length === 0) { - return obj; - } - - var regexp = /\+/g; - qs = qs.split(sep); - - var maxKeys = 1000; - if (options && typeof options.maxKeys === 'number') { - maxKeys = options.maxKeys; - } - - var len = qs.length; - // maxKeys <= 0 means that we should not limit keys count - if (maxKeys > 0 && len > maxKeys) { - len = maxKeys; - } - - for (var i = 0; i < len; ++i) { - var x = qs[i].replace(regexp, '%20'), - idx = x.indexOf(eq), - kstr, vstr, k, v; - - if (idx >= 0) { - kstr = x.substr(0, idx); - vstr = x.substr(idx + 1); - } else { - kstr = x; - vstr = ''; - } - - k = decodeURIComponent(kstr); - v = decodeURIComponent(vstr); - - if (!hasOwnProperty(obj, k)) { - obj[k] = v; - } else if (Array.isArray(obj[k])) { - obj[k].push(v); - } else { - obj[k] = [obj[k], v]; - } - } - - return obj; -}; diff --git a/src/node_modules/querystring/encode.js b/src/node_modules/querystring/encode.js deleted file mode 100644 index 4f2b561..0000000 --- a/src/node_modules/querystring/encode.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. - -'use strict'; - -var stringifyPrimitive = function(v) { - switch (typeof v) { - case 'string': - return v; - - case 'boolean': - return v ? 'true' : 'false'; - - case 'number': - return isFinite(v) ? v : ''; - - default: - return ''; - } -}; - -module.exports = function(obj, sep, eq, name) { - sep = sep || '&'; - eq = eq || '='; - if (obj === null) { - obj = undefined; - } - - if (typeof obj === 'object') { - return Object.keys(obj).map(function(k) { - var ks = encodeURIComponent(stringifyPrimitive(k)) + eq; - if (Array.isArray(obj[k])) { - return obj[k].map(function(v) { - return ks + encodeURIComponent(stringifyPrimitive(v)); - }).join(sep); - } else { - return ks + encodeURIComponent(stringifyPrimitive(obj[k])); - } - }).join(sep); - - } - - if (!name) return ''; - return encodeURIComponent(stringifyPrimitive(name)) + eq + - encodeURIComponent(stringifyPrimitive(obj)); -}; diff --git a/src/node_modules/querystring/index.js b/src/node_modules/querystring/index.js deleted file mode 100644 index 99826ea..0000000 --- a/src/node_modules/querystring/index.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -exports.decode = exports.parse = require('./decode'); -exports.encode = exports.stringify = require('./encode'); diff --git a/src/node_modules/querystring/package.json b/src/node_modules/querystring/package.json deleted file mode 100644 index 7e811a0..0000000 --- a/src/node_modules/querystring/package.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "_args": [ - [ - "querystring@0.2.0", - "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk" - ] - ], - "_from": "querystring@0.2.0", - "_id": "querystring@0.2.0", - "_inCache": true, - "_installable": true, - "_location": "/querystring", - "_npmUser": { - "email": "rfobic@gmail.com", - "name": "gozala" - }, - "_npmVersion": "1.1.65", - "_phantomChildren": {}, - "_requested": { - "name": "querystring", - "raw": "querystring@0.2.0", - "rawSpec": "0.2.0", - "scope": null, - "spec": "0.2.0", - "type": "version" - }, - "_requiredBy": [ - "/aws-sdk", - "/url" - ], - "_resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "_shasum": "b209849203bb25df820da756e747005878521620", - "_shrinkwrap": null, - "_spec": "querystring@0.2.0", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk", - "author": { - "email": "rfobic@gmail.com", - "name": "Irakli Gozalishvili" - }, - "bugs": { - "url": "http://github.com/Gozala/querystring/issues/" - }, - "dependencies": {}, - "description": "Node's querystring module for all engines.", - "devDependencies": { - "phantomify": "~0.x.0", - "retape": "~0.x.0", - "tape": "~0.1.5", - "test": "~0.x.0" - }, - "directories": {}, - "dist": { - "shasum": "b209849203bb25df820da756e747005878521620", - "tarball": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz" - }, - "engines": { - "node": ">=0.4.x" - }, - "homepage": "https://github.com/Gozala/querystring#readme", - "id": "querystring", - "keywords": [ - "commonjs", - "query", - "querystring" - ], - "licenses": [ - { - "type": "MIT", - "url": "https://github.com/Gozala/enchain/License.md" - } - ], - "maintainers": [ - { - "name": "gozala", - "email": "rfobic@gmail.com" - } - ], - "name": "querystring", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/Gozala/querystring.git", - "web": "https://github.com/Gozala/querystring" - }, - "scripts": { - "test": "npm run test-node && npm run test-browser && npm run test-tap", - "test-browser": "node ./node_modules/phantomify/bin/cmd.js ./test/common-index.js", - "test-node": "node ./test/common-index.js", - "test-tap": "node ./test/tap-index.js" - }, - "testling": { - "browsers": { - "chrome": [ - 16, - 20, - 25, - "canary" - ], - "firefox": [ - 10, - 15, - 16, - 17, - 18, - "nightly" - ], - "iexplore": [ - 10, - 9 - ], - "opera": [ - 12 - ], - "safari": [ - 5, - 6 - ] - }, - "files": "test/tap-index.js" - }, - "version": "0.2.0" -} diff --git a/src/node_modules/querystring/test/.index.js.un~ b/src/node_modules/querystring/test/.index.js.un~ deleted file mode 100644 index 898eceddc9e485e85275e41f9b8b98294bb3fe08..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 975 zcmWH`%$*;a=aT=Ffr(>^0h6blXhl42hkT^^Cju)3aORMz^9E7#J=A zF*0BTa+sh3AR2}l0?m@ovVde68R9P>DS$G8!VCjM7vN0bq2T0Y?V| z!&eEQ*`RoY1wSY%7)%?%(FA6L_)q|fPnbG}(P)AN3$18)G%;e2CfTCY!qUv5R1Kw) b)Z!8)O}(PhJdM ; :'); - }); -}; - -exports['test the weird objects, that they get parsed properly'] = function(assert) { - qsWeirdObjects.forEach(function(testCase) { - assert.deepEqual(testCase[2], qs.parse(testCase[1]), - 'parse ' + testCase[1]); - }); -}; - -exports['test non munge test cases'] = function(assert) { - qsNoMungeTestCases.forEach(function(testCase) { - assert.deepEqual(testCase[0], qs.stringify(testCase[1], '&', '=', false), - 'stringify ' + JSON.stringify(testCase[1]) + ' -> & ='); - }); -}; - -exports['test the nested qs-in-qs case'] = function(assert) { - var f = qs.parse('a=b&q=x%3Dy%26y%3Dz'); - f.q = qs.parse(f.q); - assert.deepEqual(f, { a: 'b', q: { x: 'y', y: 'z' } }, - 'parse a=b&q=x%3Dy%26y%3Dz'); -}; - -exports['test nested in colon'] = function(assert) { - var f = qs.parse('a:b;q:x%3Ay%3By%3Az', ';', ':'); - f.q = qs.parse(f.q, ';', ':'); - assert.deepEqual(f, { a: 'b', q: { x: 'y', y: 'z' } }, - 'parse a:b;q:x%3Ay%3By%3Az -> ; :'); -}; - -exports['test stringifying'] = function(assert) { - qsTestCases.forEach(function(testCase) { - assert.equal(testCase[1], qs.stringify(testCase[2]), - 'stringify ' + JSON.stringify(testCase[2])); - }); - - qsColonTestCases.forEach(function(testCase) { - assert.equal(testCase[1], qs.stringify(testCase[2], ';', ':'), - 'stringify ' + JSON.stringify(testCase[2]) + ' -> ; :'); - }); - - qsWeirdObjects.forEach(function(testCase) { - assert.equal(testCase[1], qs.stringify(testCase[0]), - 'stringify ' + JSON.stringify(testCase[0])); - }); -}; - -exports['test stringifying nested'] = function(assert) { - var f = qs.stringify({ - a: 'b', - q: qs.stringify({ - x: 'y', - y: 'z' - }) - }); - assert.equal(f, 'a=b&q=x%3Dy%26y%3Dz', - JSON.stringify({ - a: 'b', - 'qs.stringify -> q': { - x: 'y', - y: 'z' - } - })); - - var threw = false; - try { qs.parse(undefined); } catch(error) { threw = true; } - assert.ok(!threw, "does not throws on undefined"); -}; - -exports['test nested in colon'] = function(assert) { - var f = qs.stringify({ - a: 'b', - q: qs.stringify({ - x: 'y', - y: 'z' - }, ';', ':') - }, ';', ':'); - assert.equal(f, 'a:b;q:x%3Ay%3By%3Az', - 'stringify ' + JSON.stringify({ - a: 'b', - 'qs.stringify -> q': { - x: 'y', - y: 'z' - } - }) + ' -> ; : '); - - - assert.deepEqual({}, qs.parse(), 'parse undefined'); -}; diff --git a/src/node_modules/querystring/test/tap-index.js b/src/node_modules/querystring/test/tap-index.js deleted file mode 100644 index 70679b3..0000000 --- a/src/node_modules/querystring/test/tap-index.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; - -require("retape")(require("./index")) \ No newline at end of file diff --git a/src/node_modules/sax/LICENSE b/src/node_modules/sax/LICENSE deleted file mode 100644 index ccffa08..0000000 --- a/src/node_modules/sax/LICENSE +++ /dev/null @@ -1,41 +0,0 @@ -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -==== - -`String.fromCodePoint` by Mathias Bynens used according to terms of MIT -License, as follows: - - Copyright Mathias Bynens - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE - LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/node_modules/sax/LICENSE-W3C.html b/src/node_modules/sax/LICENSE-W3C.html deleted file mode 100644 index a611e3f..0000000 --- a/src/node_modules/sax/LICENSE-W3C.html +++ /dev/null @@ -1,188 +0,0 @@ - -W3C Software Notice and License
- - - -
-

- W3C - -

- -
- - - -
-
- -
- - -
-
- -
- - -
-
-
- -
-
-

W3C Software Notice and License

-
-
-

This work (and included software, documentation such as READMEs, or other -related items) is being provided by the copyright holders under the following -license.

-

License

- -

-By obtaining, using and/or copying this work, you (the licensee) -agree that you have read, understood, and will comply with the following -terms and conditions.

- -

Permission to copy, modify, and distribute this software and its -documentation, with or without modification, for any purpose and without -fee or royalty is hereby granted, provided that you include the following on -ALL copies of the software and documentation or portions thereof, including -modifications:

- -
  • The full text of this NOTICE in a location viewable to users of the - redistributed or derivative work.
  • Any pre-existing intellectual property disclaimers, notices, or terms - and conditions. If none exist, the W3C Software Short - Notice should be included (hypertext is preferred, text is permitted) - within the body of any redistributed or derivative code.
  • Notice of any changes or modifications to the files, including the date - changes were made. (We recommend you provide URIs to the location from - which the code is derived.)
- -

Disclaimers

- -

THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS -MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR -PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE -ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.

- -

COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR -DOCUMENTATION.

- -

The name and trademarks of copyright holders may NOT be used in -advertising or publicity pertaining to the software without specific, written -prior permission. Title to copyright in this software and any associated -documentation will at all times remain with copyright holders.

- -

Notes

- -

This version: http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231

- -

This formulation of W3C's notice and license became active on December 31 -2002. This version removes the copyright ownership notice such that this -license can be used with materials other than those owned by the W3C, -reflects that ERCIM is now a host of the W3C, includes references to this -specific dated version of the license, and removes the ambiguous grant of -"use". Otherwise, this version is the same as the previous -version and is written so as to preserve the Free -Software Foundation's assessment of GPL compatibility and OSI's certification -under the Open Source -Definition.

-
-
-
-
- - - -
- -
diff --git a/src/node_modules/sax/README.md b/src/node_modules/sax/README.md deleted file mode 100644 index afcd3f3..0000000 --- a/src/node_modules/sax/README.md +++ /dev/null @@ -1,225 +0,0 @@ -# sax js - -A sax-style parser for XML and HTML. - -Designed with [node](http://nodejs.org/) in mind, but should work fine in -the browser or other CommonJS implementations. - -## What This Is - -* A very simple tool to parse through an XML string. -* A stepping stone to a streaming HTML parser. -* A handy way to deal with RSS and other mostly-ok-but-kinda-broken XML - docs. - -## What This Is (probably) Not - -* An HTML Parser - That's a fine goal, but this isn't it. It's just - XML. -* A DOM Builder - You can use it to build an object model out of XML, - but it doesn't do that out of the box. -* XSLT - No DOM = no querying. -* 100% Compliant with (some other SAX implementation) - Most SAX - implementations are in Java and do a lot more than this does. -* An XML Validator - It does a little validation when in strict mode, but - not much. -* A Schema-Aware XSD Thing - Schemas are an exercise in fetishistic - masochism. -* A DTD-aware Thing - Fetching DTDs is a much bigger job. - -## Regarding `Hello, world!').close(); - -// stream usage -// takes the same options as the parser -var saxStream = require("sax").createStream(strict, options) -saxStream.on("error", function (e) { - // unhandled errors will throw, since this is a proper node - // event emitter. - console.error("error!", e) - // clear the error - this._parser.error = null - this._parser.resume() -}) -saxStream.on("opentag", function (node) { - // same object as above -}) -// pipe is supported, and it's readable/writable -// same chunks coming in also go out. -fs.createReadStream("file.xml") - .pipe(saxStream) - .pipe(fs.createWriteStream("file-copy.xml")) -``` - - -## Arguments - -Pass the following arguments to the parser function. All are optional. - -`strict` - Boolean. Whether or not to be a jerk. Default: `false`. - -`opt` - Object bag of settings regarding string formatting. All default to `false`. - -Settings supported: - -* `trim` - Boolean. Whether or not to trim text and comment nodes. -* `normalize` - Boolean. If true, then turn any whitespace into a single - space. -* `lowercase` - Boolean. If true, then lowercase tag names and attribute names - in loose mode, rather than uppercasing them. -* `xmlns` - Boolean. If true, then namespaces are supported. -* `position` - Boolean. If false, then don't track line/col/position. -* `strictEntities` - Boolean. If true, only parse [predefined XML - entities](http://www.w3.org/TR/REC-xml/#sec-predefined-ent) - (`&`, `'`, `>`, `<`, and `"`) - -## Methods - -`write` - Write bytes onto the stream. You don't have to do this all at -once. You can keep writing as much as you want. - -`close` - Close the stream. Once closed, no more data may be written until -it is done processing the buffer, which is signaled by the `end` event. - -`resume` - To gracefully handle errors, assign a listener to the `error` -event. Then, when the error is taken care of, you can call `resume` to -continue parsing. Otherwise, the parser will not continue while in an error -state. - -## Members - -At all times, the parser object will have the following members: - -`line`, `column`, `position` - Indications of the position in the XML -document where the parser currently is looking. - -`startTagPosition` - Indicates the position where the current tag starts. - -`closed` - Boolean indicating whether or not the parser can be written to. -If it's `true`, then wait for the `ready` event to write again. - -`strict` - Boolean indicating whether or not the parser is a jerk. - -`opt` - Any options passed into the constructor. - -`tag` - The current tag being dealt with. - -And a bunch of other stuff that you probably shouldn't touch. - -## Events - -All events emit with a single argument. To listen to an event, assign a -function to `on`. Functions get executed in the this-context of -the parser object. The list of supported events are also in the exported -`EVENTS` array. - -When using the stream interface, assign handlers using the EventEmitter -`on` function in the normal fashion. - -`error` - Indication that something bad happened. The error will be hanging -out on `parser.error`, and must be deleted before parsing can continue. By -listening to this event, you can keep an eye on that kind of stuff. Note: -this happens *much* more in strict mode. Argument: instance of `Error`. - -`text` - Text node. Argument: string of text. - -`doctype` - The ``. Argument: -object with `name` and `body` members. Attributes are not parsed, as -processing instructions have implementation dependent semantics. - -`sgmldeclaration` - Random SGML declarations. Stuff like `` -would trigger this kind of event. This is a weird thing to support, so it -might go away at some point. SAX isn't intended to be used to parse SGML, -after all. - -`opentagstart` - Emitted immediately when the tag name is available, -but before any attributes are encountered. Argument: object with a -`name` field and an empty `attributes` set. Note that this is the -same object that will later be emitted in the `opentag` event. - -`opentag` - An opening tag. Argument: object with `name` and `attributes`. -In non-strict mode, tag names are uppercased, unless the `lowercase` -option is set. If the `xmlns` option is set, then it will contain -namespace binding information on the `ns` member, and will have a -`local`, `prefix`, and `uri` member. - -`closetag` - A closing tag. In loose mode, tags are auto-closed if their -parent closes. In strict mode, well-formedness is enforced. Note that -self-closing tags will have `closeTag` emitted immediately after `openTag`. -Argument: tag name. - -`attribute` - An attribute node. Argument: object with `name` and `value`. -In non-strict mode, attribute names are uppercased, unless the `lowercase` -option is set. If the `xmlns` option is set, it will also contains namespace -information. - -`comment` - A comment node. Argument: the string of the comment. - -`opencdata` - The opening tag of a ``) of a `` tags trigger a `"script"` -event, and their contents are not checked for special xml characters. -If you pass `noscript: true`, then this behavior is suppressed. - -## Reporting Problems - -It's best to write a failing test if you find an issue. I will always -accept pull requests with failing tests if they demonstrate intended -behavior, but it is very hard to figure out what issue you're describing -without a test. Writing a test is also the best way for you yourself -to figure out if you really understand the issue you think you have with -sax-js. diff --git a/src/node_modules/sax/lib/sax.js b/src/node_modules/sax/lib/sax.js deleted file mode 100644 index f125c5f..0000000 --- a/src/node_modules/sax/lib/sax.js +++ /dev/null @@ -1,1576 +0,0 @@ -;(function (sax) { // wrapper for non-node envs - sax.parser = function (strict, opt) { return new SAXParser(strict, opt) } - sax.SAXParser = SAXParser - sax.SAXStream = SAXStream - sax.createStream = createStream - - // When we pass the MAX_BUFFER_LENGTH position, start checking for buffer overruns. - // When we check, schedule the next check for MAX_BUFFER_LENGTH - (max(buffer lengths)), - // since that's the earliest that a buffer overrun could occur. This way, checks are - // as rare as required, but as often as necessary to ensure never crossing this bound. - // Furthermore, buffers are only tested at most once per write(), so passing a very - // large string into write() might have undesirable effects, but this is manageable by - // the caller, so it is assumed to be safe. Thus, a call to write() may, in the extreme - // edge case, result in creating at most one complete copy of the string passed in. - // Set to Infinity to have unlimited buffers. - sax.MAX_BUFFER_LENGTH = 64 * 1024 - - var buffers = [ - 'comment', 'sgmlDecl', 'textNode', 'tagName', 'doctype', - 'procInstName', 'procInstBody', 'entity', 'attribName', - 'attribValue', 'cdata', 'script' - ] - - sax.EVENTS = [ - 'text', - 'processinginstruction', - 'sgmldeclaration', - 'doctype', - 'comment', - 'opentagstart', - 'attribute', - 'opentag', - 'closetag', - 'opencdata', - 'cdata', - 'closecdata', - 'error', - 'end', - 'ready', - 'script', - 'opennamespace', - 'closenamespace' - ] - - function SAXParser (strict, opt) { - if (!(this instanceof SAXParser)) { - return new SAXParser(strict, opt) - } - - var parser = this - clearBuffers(parser) - parser.q = parser.c = '' - parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH - parser.opt = opt || {} - parser.opt.lowercase = parser.opt.lowercase || parser.opt.lowercasetags - parser.looseCase = parser.opt.lowercase ? 'toLowerCase' : 'toUpperCase' - parser.tags = [] - parser.closed = parser.closedRoot = parser.sawRoot = false - parser.tag = parser.error = null - parser.strict = !!strict - parser.noscript = !!(strict || parser.opt.noscript) - parser.state = S.BEGIN - parser.strictEntities = parser.opt.strictEntities - parser.ENTITIES = parser.strictEntities ? Object.create(sax.XML_ENTITIES) : Object.create(sax.ENTITIES) - parser.attribList = [] - - // namespaces form a prototype chain. - // it always points at the current tag, - // which protos to its parent tag. - if (parser.opt.xmlns) { - parser.ns = Object.create(rootNS) - } - - // mostly just for error reporting - parser.trackPosition = parser.opt.position !== false - if (parser.trackPosition) { - parser.position = parser.line = parser.column = 0 - } - emit(parser, 'onready') - } - - if (!Object.create) { - Object.create = function (o) { - function F () {} - F.prototype = o - var newf = new F() - return newf - } - } - - if (!Object.keys) { - Object.keys = function (o) { - var a = [] - for (var i in o) if (o.hasOwnProperty(i)) a.push(i) - return a - } - } - - function checkBufferLength (parser) { - var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10) - var maxActual = 0 - for (var i = 0, l = buffers.length; i < l; i++) { - var len = parser[buffers[i]].length - if (len > maxAllowed) { - // Text/cdata nodes can get big, and since they're buffered, - // we can get here under normal conditions. - // Avoid issues by emitting the text node now, - // so at least it won't get any bigger. - switch (buffers[i]) { - case 'textNode': - closeText(parser) - break - - case 'cdata': - emitNode(parser, 'oncdata', parser.cdata) - parser.cdata = '' - break - - case 'script': - emitNode(parser, 'onscript', parser.script) - parser.script = '' - break - - default: - error(parser, 'Max buffer length exceeded: ' + buffers[i]) - } - } - maxActual = Math.max(maxActual, len) - } - // schedule the next check for the earliest possible buffer overrun. - var m = sax.MAX_BUFFER_LENGTH - maxActual - parser.bufferCheckPosition = m + parser.position - } - - function clearBuffers (parser) { - for (var i = 0, l = buffers.length; i < l; i++) { - parser[buffers[i]] = '' - } - } - - function flushBuffers (parser) { - closeText(parser) - if (parser.cdata !== '') { - emitNode(parser, 'oncdata', parser.cdata) - parser.cdata = '' - } - if (parser.script !== '') { - emitNode(parser, 'onscript', parser.script) - parser.script = '' - } - } - - SAXParser.prototype = { - end: function () { end(this) }, - write: write, - resume: function () { this.error = null; return this }, - close: function () { return this.write(null) }, - flush: function () { flushBuffers(this) } - } - - var Stream - try { - Stream = require('stream').Stream - } catch (ex) { - Stream = function () {} - } - - var streamWraps = sax.EVENTS.filter(function (ev) { - return ev !== 'error' && ev !== 'end' - }) - - function createStream (strict, opt) { - return new SAXStream(strict, opt) - } - - function SAXStream (strict, opt) { - if (!(this instanceof SAXStream)) { - return new SAXStream(strict, opt) - } - - Stream.apply(this) - - this._parser = new SAXParser(strict, opt) - this.writable = true - this.readable = true - - var me = this - - this._parser.onend = function () { - me.emit('end') - } - - this._parser.onerror = function (er) { - me.emit('error', er) - - // if didn't throw, then means error was handled. - // go ahead and clear error, so we can write again. - me._parser.error = null - } - - this._decoder = null - - streamWraps.forEach(function (ev) { - Object.defineProperty(me, 'on' + ev, { - get: function () { - return me._parser['on' + ev] - }, - set: function (h) { - if (!h) { - me.removeAllListeners(ev) - me._parser['on' + ev] = h - return h - } - me.on(ev, h) - }, - enumerable: true, - configurable: false - }) - }) - } - - SAXStream.prototype = Object.create(Stream.prototype, { - constructor: { - value: SAXStream - } - }) - - SAXStream.prototype.write = function (data) { - if (typeof Buffer === 'function' && - typeof Buffer.isBuffer === 'function' && - Buffer.isBuffer(data)) { - if (!this._decoder) { - var SD = require('string_decoder').StringDecoder - this._decoder = new SD('utf8') - } - data = this._decoder.write(data) - } - - this._parser.write(data.toString()) - this.emit('data', data) - return true - } - - SAXStream.prototype.end = function (chunk) { - if (chunk && chunk.length) { - this.write(chunk) - } - this._parser.end() - return true - } - - SAXStream.prototype.on = function (ev, handler) { - var me = this - if (!me._parser['on' + ev] && streamWraps.indexOf(ev) !== -1) { - me._parser['on' + ev] = function () { - var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments) - args.splice(0, 0, ev) - me.emit.apply(me, args) - } - } - - return Stream.prototype.on.call(me, ev, handler) - } - - // character classes and tokens - var whitespace = '\r\n\t ' - - // this really needs to be replaced with character classes. - // XML allows all manner of ridiculous numbers and digits. - var number = '0124356789' - var letter = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' - - // (Letter | "_" | ":") - var quote = '\'"' - var attribEnd = whitespace + '>' - var CDATA = '[CDATA[' - var DOCTYPE = 'DOCTYPE' - var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace' - var XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/' - var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE } - - // turn all the string character sets into character class objects. - whitespace = charClass(whitespace) - number = charClass(number) - letter = charClass(letter) - - // http://www.w3.org/TR/REC-xml/#NT-NameStartChar - // This implementation works on strings, a single character at a time - // as such, it cannot ever support astral-plane characters (10000-EFFFF) - // without a significant breaking change to either this parser, or the - // JavaScript language. Implementation of an emoji-capable xml parser - // is left as an exercise for the reader. - var nameStart = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/ - - var nameBody = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/ - - var entityStart = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/ - var entityBody = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/ - - quote = charClass(quote) - attribEnd = charClass(attribEnd) - - function charClass (str) { - return str.split('').reduce(function (s, c) { - s[c] = true - return s - }, {}) - } - - function isRegExp (c) { - return Object.prototype.toString.call(c) === '[object RegExp]' - } - - function is (charclass, c) { - return isRegExp(charclass) ? !!c.match(charclass) : charclass[c] - } - - function not (charclass, c) { - return !is(charclass, c) - } - - var S = 0 - sax.STATE = { - BEGIN: S++, // leading byte order mark or whitespace - BEGIN_WHITESPACE: S++, // leading whitespace - TEXT: S++, // general stuff - TEXT_ENTITY: S++, // & and such. - OPEN_WAKA: S++, // < - SGML_DECL: S++, // - SCRIPT: S++, // - - -``` - -(Note: Do not do this in production. Just don't. wzrd.in is a great service, but if you're deploying a "real" service you should be using a packaging tool like browserify or webpack. If you do go this route you would be well advised to link to a specific version instead of `uuid@latest` to avoid having your code break when we roll out breaking changes.) - - -## API - -### uuid(...) - -Generate a V4 uuid. See uuid.v4 documentation below. - -### uuid.v1([`options` [, `buffer` [, `offset`]]]) - -Generate and return a RFC4122 v1 (timestamp-based) UUID. - -* `options` - (Object) Optional uuid state to apply. Properties may include: - - * `node` - (Array) Node id as Array of 6 bytes (per 4.1.6). Default: Randomly generated ID. See note 1. - * `clockseq` - (Number between 0 - 0x3fff) RFC clock sequence. Default: An internally maintained clockseq is used. - * `msecs` - (Number | Date) Time in milliseconds since unix Epoch. Default: The current time is used. - * `nsecs` - (Number between 0-9999) additional time, in 100-nanosecond units. Ignored if `msecs` is unspecified. Default: internal uuid counter is used, as per 4.2.1.2. - -* `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written. -* `offset` - (Number) Starting index in `buffer` at which to begin writing. - -Returns `buffer`, if specified, otherwise the string form of the UUID - -Notes: - -1. The randomly generated node id is only guaranteed to stay constant for the lifetime of the current JS runtime. (Future versions of this module may use persistent storage mechanisms to extend this guarantee.) - -Example: Generate string UUID with fully-specified options - -```javascript -uuid.v1({ - node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab], - clockseq: 0x1234, - msecs: new Date('2011-11-01').getTime(), - nsecs: 5678 -}); // -> "710b962e-041c-11e1-9234-0123456789ab" -``` - -Example: In-place generation of two binary IDs - -```javascript -// Generate two ids in an array -const arr = new Array(32); // -> [] -uuid.v1(null, arr, 0); // -> [02 a2 ce 90 14 32 11 e1 85 58 0b 48 8e 4f c1 15] -uuid.v1(null, arr, 16); // -> [02 a2 ce 90 14 32 11 e1 85 58 0b 48 8e 4f c1 15 02 a3 1c b0 14 32 11 e1 85 58 0b 48 8e 4f c1 15] -``` - -### uuid.v4([`options` [, `buffer` [, `offset`]]]) - -Generate and return a RFC4122 v4 UUID. - -* `options` - (Object) Optional uuid state to apply. Properties may include: - - * `random` - (Number[16]) Array of 16 numbers (0-255) to use in place of randomly generated values - * `rng` - (Function) Random # generator to use. Set to one of the built-in generators - `uuid.mathRNG` (all platforms), `uuid.nodeRNG` (node.js only), `uuid.whatwgRNG` (WebKit only) - or a custom function that returns an array[16] of byte values. - -* `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written. -* `offset` - (Number) Starting index in `buffer` at which to begin writing. - -Returns `buffer`, if specified, otherwise the string form of the UUID - -Example: Generate string UUID with fully-specified options - -```javascript -uuid.v4({ - random: [ - 0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0xc1, 0xea, - 0x71, 0xb4, 0xef, 0xe1, 0x67, 0x1c, 0x58, 0x36 - ] -}); -// -> "109156be-c4fb-41ea-b1b4-efe1671c5836" -``` - -Example: Generate two IDs in a single buffer - -```javascript -const buffer = new Array(32); // (or 'new Buffer' in node.js) -uuid.v4(null, buffer, 0); -uuid.v4(null, buffer, 16); -``` - -## Testing - -``` -npm test -``` - -## Legacy node-uuid package - -The code for the legacy node-uuid package is available in the `node-uuid` branch. diff --git a/src/node_modules/uuid/bin/uuid b/src/node_modules/uuid/bin/uuid deleted file mode 100755 index f732e99..0000000 --- a/src/node_modules/uuid/bin/uuid +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env node - -var path = require('path'); -var uuid = require(path.join(__dirname, '..')); - -var arg = process.argv[2]; - -if ('--help' === arg) { - console.log('\n USAGE: uuid [version] [options]\n\n'); - console.log(' options:\n'); - console.log(' --help Display this message and exit\n'); - process.exit(0); -} - -if (null == arg) { - console.log(uuid()); - process.exit(0); -} - -if ('v1' !== arg && 'v4' !== arg) { - console.error('Version must be RFC4122 version 1 or version 4, denoted as "v1" or "v4"'); - process.exit(1); -} - -console.log(uuid[arg]()); -process.exit(0); diff --git a/src/node_modules/uuid/index.js b/src/node_modules/uuid/index.js deleted file mode 100644 index e96791a..0000000 --- a/src/node_modules/uuid/index.js +++ /dev/null @@ -1,8 +0,0 @@ -var v1 = require('./v1'); -var v4 = require('./v4'); - -var uuid = v4; -uuid.v1 = v1; -uuid.v4 = v4; - -module.exports = uuid; diff --git a/src/node_modules/uuid/lib/bytesToUuid.js b/src/node_modules/uuid/lib/bytesToUuid.js deleted file mode 100644 index 9ee989c..0000000 --- a/src/node_modules/uuid/lib/bytesToUuid.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Convert array of 16 byte values to UUID string format of the form: - * XXXXXXXX-XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX - */ -var byteToHex = []; -for (var i = 0; i < 256; ++i) { - byteToHex[i] = (i + 0x100).toString(16).substr(1); -} - -function bytesToUuid(buf, offset) { - var i = offset || 0; - var bth = byteToHex; - return bth[buf[i++]] + bth[buf[i++]] + - bth[buf[i++]] + bth[buf[i++]] + '-' + - bth[buf[i++]] + bth[buf[i++]] + '-' + - bth[buf[i++]] + bth[buf[i++]] + '-' + - bth[buf[i++]] + bth[buf[i++]] + '-' + - bth[buf[i++]] + bth[buf[i++]] + - bth[buf[i++]] + bth[buf[i++]] + - bth[buf[i++]] + bth[buf[i++]]; -} - -module.exports = bytesToUuid; diff --git a/src/node_modules/uuid/lib/rng-browser.js b/src/node_modules/uuid/lib/rng-browser.js deleted file mode 100644 index 88b7dfb..0000000 --- a/src/node_modules/uuid/lib/rng-browser.js +++ /dev/null @@ -1,33 +0,0 @@ -// Unique ID creation requires a high quality random # generator. In the -// browser this is a little complicated due to unknown quality of Math.random() -// and inconsistent support for the `crypto` API. We do the best we can via -// feature-detection -var rng; - -var crypto = global.crypto || global.msCrypto; // for IE 11 -if (crypto && crypto.getRandomValues) { - // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto - var rnds8 = new Uint8Array(16); - rng = function whatwgRNG() { - crypto.getRandomValues(rnds8); - return rnds8; - }; -} - -if (!rng) { - // Math.random()-based (RNG) - // - // If all else fails, use Math.random(). It's fast, but is of unspecified - // quality. - var rnds = new Array(16); - rng = function() { - for (var i = 0, r; i < 16; i++) { - if ((i & 0x03) === 0) r = Math.random() * 0x100000000; - rnds[i] = r >>> ((i & 0x03) << 3) & 0xff; - } - - return rnds; - }; -} - -module.exports = rng; diff --git a/src/node_modules/uuid/lib/rng.js b/src/node_modules/uuid/lib/rng.js deleted file mode 100644 index 5624d91..0000000 --- a/src/node_modules/uuid/lib/rng.js +++ /dev/null @@ -1,10 +0,0 @@ -// Unique ID creation requires a high quality random # generator. In node.js -// this is prett straight-forward - we use the crypto API. - -var rb = require('crypto').randomBytes; - -function rng() { - return rb(16); -}; - -module.exports = rng; diff --git a/src/node_modules/uuid/package.json b/src/node_modules/uuid/package.json deleted file mode 100644 index 202b110..0000000 --- a/src/node_modules/uuid/package.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "_args": [ - [ - "uuid@3.0.1", - "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk" - ] - ], - "_from": "uuid@3.0.1", - "_id": "uuid@3.0.1", - "_inCache": true, - "_installable": true, - "_location": "/uuid", - "_nodeVersion": "6.7.0", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/uuid-3.0.1.tgz_1480403886767_0.2584113120101392" - }, - "_npmUser": { - "email": "shtylman@gmail.com", - "name": "defunctzombie" - }, - "_npmVersion": "3.10.3", - "_phantomChildren": {}, - "_requested": { - "name": "uuid", - "raw": "uuid@3.0.1", - "rawSpec": "3.0.1", - "scope": null, - "spec": "3.0.1", - "type": "version" - }, - "_requiredBy": [ - "/aws-sdk" - ], - "_resolved": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz", - "_shasum": "6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1", - "_shrinkwrap": null, - "_spec": "uuid@3.0.1", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk", - "bin": { - "uuid": "./bin/uuid" - }, - "browser": { - "./lib/rng.js": "./lib/rng-browser.js" - }, - "bugs": { - "url": "https://github.com/kelektiv/node-uuid/issues" - }, - "contributors": [ - { - "name": "Robert Kieffer", - "email": "robert@broofa.com" - }, - { - "name": "Christoph Tavan", - "email": "dev@tavan.de" - }, - { - "name": "AJ ONeal", - "email": "coolaj86@gmail.com" - }, - { - "name": "Vincent Voyer", - "email": "vincent@zeroload.net" - }, - { - "name": "Roman Shtylman", - "email": "shtylman@gmail.com" - } - ], - "dependencies": {}, - "description": "RFC4122 (v1 and v4) generator", - "devDependencies": { - "mocha": "3.1.2" - }, - "directories": {}, - "dist": { - "shasum": "6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1", - "tarball": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz" - }, - "gitHead": "374de826de71d8997f71b4641f65552e48956ced", - "homepage": "https://github.com/kelektiv/node-uuid#readme", - "keywords": [ - "guid", - "rfc4122", - "uuid" - ], - "license": "MIT", - "maintainers": [ - { - "name": "broofa", - "email": "robert@broofa.com" - }, - { - "name": "defunctzombie", - "email": "shtylman@gmail.com" - }, - { - "name": "vvo", - "email": "vincent.voyer@gmail.com" - } - ], - "name": "uuid", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/kelektiv/node-uuid.git" - }, - "scripts": { - "test": "mocha test/test.js" - }, - "version": "3.0.1" -} diff --git a/src/node_modules/uuid/test/mocha.opts b/src/node_modules/uuid/test/mocha.opts deleted file mode 100644 index 5d6a311..0000000 --- a/src/node_modules/uuid/test/mocha.opts +++ /dev/null @@ -1,3 +0,0 @@ ---ui qunit ---reporter spec ---check-leaks diff --git a/src/node_modules/uuid/test/test.js b/src/node_modules/uuid/test/test.js deleted file mode 100644 index ec33bec..0000000 --- a/src/node_modules/uuid/test/test.js +++ /dev/null @@ -1,96 +0,0 @@ -var assert = require('assert'); - -var uuid = require('../'); - -// Verify ordering of v1 ids created with explicit times -var TIME = 1321644961388; // 2011-11-18 11:36:01.388-08:00 - -function compare(name, ids) { - test(name, function() { - // avoid .map for older browsers - for (var i=0 ; i 10k ids created in 1ms', function() { - // Verify throw if too many ids created - var thrown = false; - try { - uuid.v1({msecs: TIME, nsecs: 10000}); - } catch (e) { - thrown = true; - } - assert(thrown, 'Exception thrown when > 10K ids created in 1 ms'); -}); - -test('clock regression by msec', function() { - // Verify clock regression bumps clockseq - var uidt = uuid.v1({msecs: TIME}); - var uidtb = uuid.v1({msecs: TIME - 1}); - assert( - parseInt(uidtb.split('-')[3], 16) - parseInt(uidt.split('-')[3], 16) === 1, - 'Clock regression by msec increments the clockseq' - ); -}); - -test('clock regression by nsec', function() { - // Verify clock regression bumps clockseq - var uidtn = uuid.v1({msecs: TIME, nsecs: 10}); - var uidtnb = uuid.v1({msecs: TIME, nsecs: 9}); - assert( - parseInt(uidtnb.split('-')[3], 16) - parseInt(uidtn.split('-')[3], 16) === 1, - 'Clock regression by nsec increments the clockseq' - ); -}); - -test('explicit options product expected id', function() { - // Verify explicit options produce expected id - var id = uuid.v1({ - msecs: 1321651533573, - nsecs: 5432, - clockseq: 0x385c, - node: [ 0x61, 0xcd, 0x3c, 0xbb, 0x32, 0x10 ] - }); - assert(id == 'd9428888-122b-11e1-b85c-61cd3cbb3210', 'Explicit options produce expected id'); -}); - -test('ids spanning 1ms boundary are 100ns apart', function() { - // Verify adjacent ids across a msec boundary are 1 time unit apart - var u0 = uuid.v1({msecs: TIME, nsecs: 9999}); - var u1 = uuid.v1({msecs: TIME + 1, nsecs: 0}); - - var before = u0.split('-')[0], after = u1.split('-')[0]; - var dt = parseInt(after, 16) - parseInt(before, 16); - assert(dt === 1, 'Ids spanning 1ms boundary are 100ns apart'); -}); diff --git a/src/node_modules/uuid/v1.js b/src/node_modules/uuid/v1.js deleted file mode 100644 index 315bd4c..0000000 --- a/src/node_modules/uuid/v1.js +++ /dev/null @@ -1,103 +0,0 @@ -// Unique ID creation requires a high quality random # generator. We feature -// detect to determine the best RNG source, normalizing to a function that -// returns 128-bits of randomness, since that's what's usually required -var rng = require('./lib/rng'); -var bytesToUuid = require('./lib/bytesToUuid'); - -// **`v1()` - Generate time-based UUID** -// -// Inspired by https://github.com/LiosK/UUID.js -// and http://docs.python.org/library/uuid.html - -// random #'s we need to init node and clockseq -var _seedBytes = rng(); - -// Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) -var _nodeId = [ - _seedBytes[0] | 0x01, - _seedBytes[1], _seedBytes[2], _seedBytes[3], _seedBytes[4], _seedBytes[5] -]; - -// Per 4.2.2, randomize (14 bit) clockseq -var _clockseq = (_seedBytes[6] << 8 | _seedBytes[7]) & 0x3fff; - -// Previous uuid creation time -var _lastMSecs = 0, _lastNSecs = 0; - -// See https://github.com/broofa/node-uuid for API details -function v1(options, buf, offset) { - var i = buf && offset || 0; - var b = buf || []; - - options = options || {}; - - var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; - - // UUID timestamps are 100 nano-second units since the Gregorian epoch, - // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so - // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' - // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. - var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); - - // Per 4.2.1.2, use count of uuid's generated during the current clock - // cycle to simulate higher resolution clock - var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; - - // Time since last uuid creation (in msecs) - var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000; - - // Per 4.2.1.2, Bump clockseq on clock regression - if (dt < 0 && options.clockseq === undefined) { - clockseq = clockseq + 1 & 0x3fff; - } - - // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new - // time interval - if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { - nsecs = 0; - } - - // Per 4.2.1.2 Throw error if too many uuids are requested - if (nsecs >= 10000) { - throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec'); - } - - _lastMSecs = msecs; - _lastNSecs = nsecs; - _clockseq = clockseq; - - // Per 4.1.4 - Convert from unix epoch to Gregorian epoch - msecs += 12219292800000; - - // `time_low` - var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; - b[i++] = tl >>> 24 & 0xff; - b[i++] = tl >>> 16 & 0xff; - b[i++] = tl >>> 8 & 0xff; - b[i++] = tl & 0xff; - - // `time_mid` - var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff; - b[i++] = tmh >>> 8 & 0xff; - b[i++] = tmh & 0xff; - - // `time_high_and_version` - b[i++] = tmh >>> 24 & 0xf | 0x10; // include version - b[i++] = tmh >>> 16 & 0xff; - - // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) - b[i++] = clockseq >>> 8 | 0x80; - - // `clock_seq_low` - b[i++] = clockseq & 0xff; - - // `node` - var node = options.node || _nodeId; - for (var n = 0; n < 6; ++n) { - b[i + n] = node[n]; - } - - return buf ? buf : bytesToUuid(b); -} - -module.exports = v1; diff --git a/src/node_modules/uuid/v4.js b/src/node_modules/uuid/v4.js deleted file mode 100644 index 38b6f76..0000000 --- a/src/node_modules/uuid/v4.js +++ /dev/null @@ -1,29 +0,0 @@ -var rng = require('./lib/rng'); -var bytesToUuid = require('./lib/bytesToUuid'); - -function v4(options, buf, offset) { - var i = buf && offset || 0; - - if (typeof(options) == 'string') { - buf = options == 'binary' ? new Array(16) : null; - options = null; - } - options = options || {}; - - var rnds = options.random || (options.rng || rng)(); - - // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` - rnds[6] = (rnds[6] & 0x0f) | 0x40; - rnds[8] = (rnds[8] & 0x3f) | 0x80; - - // Copy bytes to buffer, if provided - if (buf) { - for (var ii = 0; ii < 16; ++ii) { - buf[i + ii] = rnds[ii]; - } - } - - return buf || bytesToUuid(rnds); -} - -module.exports = v4; diff --git a/src/node_modules/xml2js/LICENSE b/src/node_modules/xml2js/LICENSE deleted file mode 100644 index e3b4222..0000000 --- a/src/node_modules/xml2js/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright 2010, 2011, 2012, 2013. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. diff --git a/src/node_modules/xml2js/README.md b/src/node_modules/xml2js/README.md deleted file mode 100644 index 508b15f..0000000 --- a/src/node_modules/xml2js/README.md +++ /dev/null @@ -1,395 +0,0 @@ -node-xml2js -=========== - -Ever had the urge to parse XML? And wanted to access the data in some sane, -easy way? Don't want to compile a C parser, for whatever reason? Then xml2js is -what you're looking for! - -Description -=========== - -Simple XML to JavaScript object converter. It supports bi-directional conversion. -Uses [sax-js](https://github.com/isaacs/sax-js/) and -[xmlbuilder-js](https://github.com/oozcitak/xmlbuilder-js/). - -Note: If you're looking for a full DOM parser, you probably want -[JSDom](https://github.com/tmpvar/jsdom). - -Installation -============ - -Simplest way to install `xml2js` is to use [npm](http://npmjs.org), just `npm -install xml2js` which will download xml2js and all dependencies. - -xml2js is also available via [Bower](http://bower.io/), just `bower install -xml2js` which will download xml2js and all dependencies. - -Usage -===== - -No extensive tutorials required because you are a smart developer! The task of -parsing XML should be an easy one, so let's make it so! Here's some examples. - -Shoot-and-forget usage ----------------------- - -You want to parse XML as simple and easy as possible? It's dangerous to go -alone, take this: - -```javascript -var parseString = require('xml2js').parseString; -var xml = "Hello xml2js!" -parseString(xml, function (err, result) { - console.dir(result); -}); -``` - -Can't get easier than this, right? This works starting with `xml2js` 0.2.3. -With CoffeeScript it looks like this: - -```coffeescript -{parseString} = require 'xml2js' -xml = "Hello xml2js!" -parseString xml, (err, result) -> - console.dir result -``` - -If you need some special options, fear not, `xml2js` supports a number of -options (see below), you can specify these as second argument: - -```javascript -parseString(xml, {trim: true}, function (err, result) { -}); -``` - -Simple as pie usage -------------------- - -That's right, if you have been using xml-simple or a home-grown -wrapper, this was added in 0.1.11 just for you: - -```javascript -var fs = require('fs'), - xml2js = require('xml2js'); - -var parser = new xml2js.Parser(); -fs.readFile(__dirname + '/foo.xml', function(err, data) { - parser.parseString(data, function (err, result) { - console.dir(result); - console.log('Done'); - }); -}); -``` - -Look ma, no event listeners! - -You can also use `xml2js` from -[CoffeeScript](https://github.com/jashkenas/coffeescript), further reducing -the clutter: - -```coffeescript -fs = require 'fs', -xml2js = require 'xml2js' - -parser = new xml2js.Parser() -fs.readFile __dirname + '/foo.xml', (err, data) -> - parser.parseString data, (err, result) -> - console.dir result - console.log 'Done.' -``` - -But what happens if you forget the `new` keyword to create a new `Parser`? In -the middle of a nightly coding session, it might get lost, after all. Worry -not, we got you covered! Starting with 0.2.8 you can also leave it out, in -which case `xml2js` will helpfully add it for you, no bad surprises and -inexplicable bugs! - -Parsing multiple files ----------------------- - -If you want to parse multiple files, you have multiple possibilities: - - * You can create one `xml2js.Parser` per file. That's the recommended one - and is promised to always *just work*. - * You can call `reset()` on your parser object. - * You can hope everything goes well anyway. This behaviour is not - guaranteed work always, if ever. Use option #1 if possible. Thanks! - -So you wanna some JSON? ------------------------ - -Just wrap the `result` object in a call to `JSON.stringify` like this -`JSON.stringify(result)`. You get a string containing the JSON representation -of the parsed object that you can feed to JSON-hungry consumers. - -Displaying results ------------------- - -You might wonder why, using `console.dir` or `console.log` the output at some -level is only `[Object]`. Don't worry, this is not because `xml2js` got lazy. -That's because Node uses `util.inspect` to convert the object into strings and -that function stops after `depth=2` which is a bit low for most XML. - -To display the whole deal, you can use `console.log(util.inspect(result, false, -null))`, which displays the whole result. - -So much for that, but what if you use -[eyes](https://github.com/cloudhead/eyes.js) for nice colored output and it -truncates the output with `…`? Don't fear, there's also a solution for that, -you just need to increase the `maxLength` limit by creating a custom inspector -`var inspect = require('eyes').inspector({maxLength: false})` and then you can -easily `inspect(result)`. - -XML builder usage ------------------ - -Since 0.4.0, objects can be also be used to build XML: - -```javascript -var fs = require('fs'), - xml2js = require('xml2js'); - -var obj = {name: "Super", Surname: "Man", age: 23}; - -var builder = new xml2js.Builder(); -var xml = builder.buildObject(obj); -``` - -At the moment, a one to one bi-directional conversion is guaranteed only for -default configuration, except for `attrkey`, `charkey` and `explicitArray` options -you can redefine to your taste. Writing CDATA is supported via setting the `cdata` -option to `true`. - -Processing attribute, tag names and values ------------------------------------------- - -Since 0.4.1 you can optionally provide the parser with attribute name and tag name processors as well as element value processors (Since 0.4.14, you can also optionally provide the parser with attribute value processors): - -```javascript - -function nameToUpperCase(name){ - return name.toUpperCase(); -} - -//transform all attribute and tag names and values to uppercase -parseString(xml, { - tagNameProcessors: [nameToUpperCase], - attrNameProcessors: [nameToUpperCase], - valueProcessors: [nameToUpperCase], - attrValueProcessors: [nameToUpperCase]}, - function (err, result) { - // processed data -}); -``` - -The `tagNameProcessors`, `attrNameProcessors`, `attrValueProcessors` and `valueProcessors` options -accept an `Array` of functions with the following signature: - -```javascript -function (name){ - //do something with `name` - return name -} -``` - -Some processors are provided out-of-the-box and can be found in `lib/processors.js`: - -- `normalize`: transforms the name to lowercase. -(Automatically used when `options.normalize` is set to `true`) - -- `firstCharLowerCase`: transforms the first character to lower case. -E.g. 'MyTagName' becomes 'myTagName' - -- `stripPrefix`: strips the xml namespace prefix. E.g `` will become 'Bar'. -(N.B.: the `xmlns` prefix is NOT stripped.) - -- `parseNumbers`: parses integer-like strings as integers and float-like strings as floats -E.g. "0" becomes 0 and "15.56" becomes 15.56 - -- `parseBooleans`: parses boolean-like strings to booleans -E.g. "true" becomes true and "False" becomes false - -Options -======= - -Apart from the default settings, there are a number of options that can be -specified for the parser. Options are specified by ``new Parser({optionName: -value})``. Possible options are: - - * `attrkey` (default: `$`): Prefix that is used to access the attributes. - Version 0.1 default was `@`. - * `charkey` (default: `_`): Prefix that is used to access the character - content. Version 0.1 default was `#`. - * `explicitCharkey` (default: `false`) - * `trim` (default: `false`): Trim the whitespace at the beginning and end of - text nodes. - * `normalizeTags` (default: `false`): Normalize all tag names to lowercase. - * `normalize` (default: `false`): Trim whitespaces inside text nodes. - * `explicitRoot` (default: `true`): Set this if you want to get the root - node in the resulting object. - * `emptyTag` (default: `''`): what will the value of empty nodes be. - * `explicitArray` (default: `true`): Always put child nodes in an array if - true; otherwise an array is created only if there is more than one. - * `ignoreAttrs` (default: `false`): Ignore all XML attributes and only create - text nodes. - * `mergeAttrs` (default: `false`): Merge attributes and child elements as - properties of the parent, instead of keying attributes off a child - attribute object. This option is ignored if `ignoreAttrs` is `false`. - * `validator` (default `null`): You can specify a callable that validates - the resulting structure somehow, however you want. See unit tests - for an example. - * `xmlns` (default `false`): Give each element a field usually called '$ns' - (the first character is the same as attrkey) that contains its local name - and namespace URI. - * `explicitChildren` (default `false`): Put child elements to separate - property. Doesn't work with `mergeAttrs = true`. If element has no children - then "children" won't be created. Added in 0.2.5. - * `childkey` (default `$$`): Prefix that is used to access child elements if - `explicitChildren` is set to `true`. Added in 0.2.5. - * `preserveChildrenOrder` (default `false`): Modifies the behavior of - `explicitChildren` so that the value of the "children" property becomes an - ordered array. When this is `true`, every node will also get a `#name` field - whose value will correspond to the XML nodeName, so that you may iterate - the "children" array and still be able to determine node names. The named - (and potentially unordered) properties are also retained in this - configuration at the same level as the ordered "children" array. Added in - 0.4.9. - * `charsAsChildren` (default `false`): Determines whether chars should be - considered children if `explicitChildren` is on. Added in 0.2.5. - * `includeWhiteChars` (default `false`): Determines whether whitespace-only - text nodes should be included. Added in 0.4.17. - * `async` (default `false`): Should the callbacks be async? This *might* be - an incompatible change if your code depends on sync execution of callbacks. - Future versions of `xml2js` might change this default, so the recommendation - is to not depend on sync execution anyway. Added in 0.2.6. - * `strict` (default `true`): Set sax-js to strict or non-strict parsing mode. - Defaults to `true` which is *highly* recommended, since parsing HTML which - is not well-formed XML might yield just about anything. Added in 0.2.7. - * `attrNameProcessors` (default: `null`): Allows the addition of attribute - name processing functions. Accepts an `Array` of functions with following - signature: - ```javascript - function (name){ - //do something with `name` - return name - } - ``` - Added in 0.4.14 - * `attrValueProcessors` (default: `null`): Allows the addition of attribute - value processing functions. Accepts an `Array` of functions with following - signature: - ```javascript - function (name){ - //do something with `name` - return name - } - ``` - Added in 0.4.1 - * `tagNameProcessors` (default: `null`): Allows the addition of tag name - processing functions. Accepts an `Array` of functions with following - signature: - ```javascript - function (name){ - //do something with `name` - return name - } - ``` - Added in 0.4.1 - * `valueProcessors` (default: `null`): Allows the addition of element value - processing functions. Accepts an `Array` of functions with following - signature: - ```javascript - function (name){ - //do something with `name` - return name - } - ``` - Added in 0.4.6 - -Options for the `Builder` class -------------------------------- -These options are specified by ``new Builder({optionName: value})``. -Possible options are: - - * `rootName` (default `root` or the root key name): root element name to be used in case - `explicitRoot` is `false` or to override the root element name. - * `renderOpts` (default `{ 'pretty': true, 'indent': ' ', 'newline': '\n' }`): - Rendering options for xmlbuilder-js. - * pretty: prettify generated XML - * indent: whitespace for indentation (only when pretty) - * newline: newline char (only when pretty) - * `xmldec` (default `{ 'version': '1.0', 'encoding': 'UTF-8', 'standalone': true }`: - XML declaration attributes. - * `xmldec.version` A version number string, e.g. 1.0 - * `xmldec.encoding` Encoding declaration, e.g. UTF-8 - * `xmldec.standalone` standalone document declaration: true or false - * `doctype` (default `null`): optional DTD. Eg. `{'ext': 'hello.dtd'}` - * `headless` (default: `false`): omit the XML header. Added in 0.4.3. - * `allowSurrogateChars` (default: `false`): allows using characters from the Unicode - surrogate blocks. - * `cdata` (default: `false`): wrap text nodes in `` instead of - escaping when necessary. Does not add `` if it is not required. - Added in 0.4.5. - -`renderOpts`, `xmldec`,`doctype` and `headless` pass through to -[xmlbuilder-js](https://github.com/oozcitak/xmlbuilder-js). - -Updating to new version -======================= - -Version 0.2 changed the default parsing settings, but version 0.1.14 introduced -the default settings for version 0.2, so these settings can be tried before the -migration. - -```javascript -var xml2js = require('xml2js'); -var parser = new xml2js.Parser(xml2js.defaults["0.2"]); -``` - -To get the 0.1 defaults in version 0.2 you can just use -`xml2js.defaults["0.1"]` in the same place. This provides you with enough time -to migrate to the saner way of parsing in `xml2js` 0.2. We try to make the -migration as simple and gentle as possible, but some breakage cannot be -avoided. - -So, what exactly did change and why? In 0.2 we changed some defaults to parse -the XML in a more universal and sane way. So we disabled `normalize` and `trim` -so `xml2js` does not cut out any text content. You can reenable this at will of -course. A more important change is that we return the root tag in the resulting -JavaScript structure via the `explicitRoot` setting, so you need to access the -first element. This is useful for anybody who wants to know what the root node -is and preserves more information. The last major change was to enable -`explicitArray`, so everytime it is possible that one might embed more than one -sub-tag into a tag, xml2js >= 0.2 returns an array even if the array just -includes one element. This is useful when dealing with APIs that return -variable amounts of subtags. - -Running tests, development -========================== - -[![Build Status](https://travis-ci.org/Leonidas-from-XIV/node-xml2js.svg?branch=master)](https://travis-ci.org/Leonidas-from-XIV/node-xml2js) -[![Coverage Status](https://coveralls.io/repos/Leonidas-from-XIV/node-xml2js/badge.svg?branch=)](https://coveralls.io/r/Leonidas-from-XIV/node-xml2js?branch=master) -[![Dependency Status](https://david-dm.org/Leonidas-from-XIV/node-xml2js.svg)](https://david-dm.org/Leonidas-from-XIV/node-xml2js) - -The development requirements are handled by npm, you just need to install them. -We also have a number of unit tests, they can be run using `npm test` directly -from the project root. This runs zap to discover all the tests and execute -them. - -If you like to contribute, keep in mind that `xml2js` is written in -CoffeeScript, so don't develop on the JavaScript files that are checked into -the repository for convenience reasons. Also, please write some unit test to -check your behaviour and if it is some user-facing thing, add some -documentation to this README, so people will know it exists. Thanks in advance! - -Getting support -=============== - -Please, if you have a problem with the library, first make sure you read this -README. If you read this far, thanks, you're good. Then, please make sure your -problem really is with `xml2js`. It is? Okay, then I'll look at it. Send me a -mail and we can talk. Please don't open issues, as I don't think that is the -proper forum for support problems. Some problems might as well really be bugs -in `xml2js`, if so I'll let you know to open an issue instead :) - -But if you know you really found a bug, feel free to open an issue instead. diff --git a/src/node_modules/xml2js/lib/bom.js b/src/node_modules/xml2js/lib/bom.js deleted file mode 100644 index 3a78479..0000000 --- a/src/node_modules/xml2js/lib/bom.js +++ /dev/null @@ -1,12 +0,0 @@ -// Generated by CoffeeScript 1.10.0 -(function() { - "use strict"; - exports.stripBOM = function(str) { - if (str[0] === '\uFEFF') { - return str.substring(1); - } else { - return str; - } - }; - -}).call(this); diff --git a/src/node_modules/xml2js/lib/processors.js b/src/node_modules/xml2js/lib/processors.js deleted file mode 100644 index 31ccde2..0000000 --- a/src/node_modules/xml2js/lib/processors.js +++ /dev/null @@ -1,34 +0,0 @@ -// Generated by CoffeeScript 1.10.0 -(function() { - "use strict"; - var prefixMatch; - - prefixMatch = new RegExp(/(?!xmlns)^.*:/); - - exports.normalize = function(str) { - return str.toLowerCase(); - }; - - exports.firstCharLowerCase = function(str) { - return str.charAt(0).toLowerCase() + str.slice(1); - }; - - exports.stripPrefix = function(str) { - return str.replace(prefixMatch, ''); - }; - - exports.parseNumbers = function(str) { - if (!isNaN(str)) { - str = str % 1 === 0 ? parseInt(str, 10) : parseFloat(str); - } - return str; - }; - - exports.parseBooleans = function(str) { - if (/^(?:true|false)$/i.test(str)) { - str = str.toLowerCase() === 'true'; - } - return str; - }; - -}).call(this); diff --git a/src/node_modules/xml2js/lib/xml2js.js b/src/node_modules/xml2js/lib/xml2js.js deleted file mode 100644 index 26e34e7..0000000 --- a/src/node_modules/xml2js/lib/xml2js.js +++ /dev/null @@ -1,543 +0,0 @@ -// Generated by CoffeeScript 1.10.0 -(function() { - "use strict"; - var bom, builder, escapeCDATA, events, isEmpty, processName, processors, requiresCDATA, sax, setImmediate, wrapCDATA, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty, - bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; - - sax = require('sax'); - - events = require('events'); - - builder = require('xmlbuilder'); - - bom = require('./bom'); - - processors = require('./processors'); - - setImmediate = require('timers').setImmediate; - - isEmpty = function(thing) { - return typeof thing === "object" && (thing != null) && Object.keys(thing).length === 0; - }; - - processName = function(processors, processedName) { - var i, len, process; - for (i = 0, len = processors.length; i < len; i++) { - process = processors[i]; - processedName = process(processedName); - } - return processedName; - }; - - requiresCDATA = function(entry) { - return entry.indexOf('&') >= 0 || entry.indexOf('>') >= 0 || entry.indexOf('<') >= 0; - }; - - wrapCDATA = function(entry) { - return ""; - }; - - escapeCDATA = function(entry) { - return entry.replace(']]>', ']]]]>'); - }; - - exports.processors = processors; - - exports.defaults = { - "0.1": { - explicitCharkey: false, - trim: true, - normalize: true, - normalizeTags: false, - attrkey: "@", - charkey: "#", - explicitArray: false, - ignoreAttrs: false, - mergeAttrs: false, - explicitRoot: false, - validator: null, - xmlns: false, - explicitChildren: false, - childkey: '@@', - charsAsChildren: false, - includeWhiteChars: false, - async: false, - strict: true, - attrNameProcessors: null, - attrValueProcessors: null, - tagNameProcessors: null, - valueProcessors: null, - emptyTag: '' - }, - "0.2": { - explicitCharkey: false, - trim: false, - normalize: false, - normalizeTags: false, - attrkey: "$", - charkey: "_", - explicitArray: true, - ignoreAttrs: false, - mergeAttrs: false, - explicitRoot: true, - validator: null, - xmlns: false, - explicitChildren: false, - preserveChildrenOrder: false, - childkey: '$$', - charsAsChildren: false, - includeWhiteChars: false, - async: false, - strict: true, - attrNameProcessors: null, - attrValueProcessors: null, - tagNameProcessors: null, - valueProcessors: null, - rootName: 'root', - xmldec: { - 'version': '1.0', - 'encoding': 'UTF-8', - 'standalone': true - }, - doctype: null, - renderOpts: { - 'pretty': true, - 'indent': ' ', - 'newline': '\n' - }, - headless: false, - chunkSize: 10000, - emptyTag: '', - cdata: false - } - }; - - exports.ValidationError = (function(superClass) { - extend(ValidationError, superClass); - - function ValidationError(message) { - this.message = message; - } - - return ValidationError; - - })(Error); - - exports.Builder = (function() { - function Builder(opts) { - var key, ref, value; - this.options = {}; - ref = exports.defaults["0.2"]; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this.options[key] = value; - } - for (key in opts) { - if (!hasProp.call(opts, key)) continue; - value = opts[key]; - this.options[key] = value; - } - } - - Builder.prototype.buildObject = function(rootObj) { - var attrkey, charkey, render, rootElement, rootName; - attrkey = this.options.attrkey; - charkey = this.options.charkey; - if ((Object.keys(rootObj).length === 1) && (this.options.rootName === exports.defaults['0.2'].rootName)) { - rootName = Object.keys(rootObj)[0]; - rootObj = rootObj[rootName]; - } else { - rootName = this.options.rootName; - } - render = (function(_this) { - return function(element, obj) { - var attr, child, entry, index, key, value; - if (typeof obj !== 'object') { - if (_this.options.cdata && requiresCDATA(obj)) { - element.raw(wrapCDATA(obj)); - } else { - element.txt(obj); - } - } else { - for (key in obj) { - if (!hasProp.call(obj, key)) continue; - child = obj[key]; - if (key === attrkey) { - if (typeof child === "object") { - for (attr in child) { - value = child[attr]; - element = element.att(attr, value); - } - } - } else if (key === charkey) { - if (_this.options.cdata && requiresCDATA(child)) { - element = element.raw(wrapCDATA(child)); - } else { - element = element.txt(child); - } - } else if (Array.isArray(child)) { - for (index in child) { - if (!hasProp.call(child, index)) continue; - entry = child[index]; - if (typeof entry === 'string') { - if (_this.options.cdata && requiresCDATA(entry)) { - element = element.ele(key).raw(wrapCDATA(entry)).up(); - } else { - element = element.ele(key, entry).up(); - } - } else { - element = render(element.ele(key), entry).up(); - } - } - } else if (typeof child === "object") { - element = render(element.ele(key), child).up(); - } else { - if (typeof child === 'string' && _this.options.cdata && requiresCDATA(child)) { - element = element.ele(key).raw(wrapCDATA(child)).up(); - } else { - if (child == null) { - child = ''; - } - element = element.ele(key, child.toString()).up(); - } - } - } - } - return element; - }; - })(this); - rootElement = builder.create(rootName, this.options.xmldec, this.options.doctype, { - headless: this.options.headless, - allowSurrogateChars: this.options.allowSurrogateChars - }); - return render(rootElement, rootObj).end(this.options.renderOpts); - }; - - return Builder; - - })(); - - exports.Parser = (function(superClass) { - extend(Parser, superClass); - - function Parser(opts) { - this.parseString = bind(this.parseString, this); - this.reset = bind(this.reset, this); - this.assignOrPush = bind(this.assignOrPush, this); - this.processAsync = bind(this.processAsync, this); - var key, ref, value; - if (!(this instanceof exports.Parser)) { - return new exports.Parser(opts); - } - this.options = {}; - ref = exports.defaults["0.2"]; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this.options[key] = value; - } - for (key in opts) { - if (!hasProp.call(opts, key)) continue; - value = opts[key]; - this.options[key] = value; - } - if (this.options.xmlns) { - this.options.xmlnskey = this.options.attrkey + "ns"; - } - if (this.options.normalizeTags) { - if (!this.options.tagNameProcessors) { - this.options.tagNameProcessors = []; - } - this.options.tagNameProcessors.unshift(processors.normalize); - } - this.reset(); - } - - Parser.prototype.processAsync = function() { - var chunk, err, error1; - try { - if (this.remaining.length <= this.options.chunkSize) { - chunk = this.remaining; - this.remaining = ''; - this.saxParser = this.saxParser.write(chunk); - return this.saxParser.close(); - } else { - chunk = this.remaining.substr(0, this.options.chunkSize); - this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length); - this.saxParser = this.saxParser.write(chunk); - return setImmediate(this.processAsync); - } - } catch (error1) { - err = error1; - if (!this.saxParser.errThrown) { - this.saxParser.errThrown = true; - return this.emit(err); - } - } - }; - - Parser.prototype.assignOrPush = function(obj, key, newValue) { - if (!(key in obj)) { - if (!this.options.explicitArray) { - return obj[key] = newValue; - } else { - return obj[key] = [newValue]; - } - } else { - if (!(obj[key] instanceof Array)) { - obj[key] = [obj[key]]; - } - return obj[key].push(newValue); - } - }; - - Parser.prototype.reset = function() { - var attrkey, charkey, ontext, stack; - this.removeAllListeners(); - this.saxParser = sax.parser(this.options.strict, { - trim: false, - normalize: false, - xmlns: this.options.xmlns - }); - this.saxParser.errThrown = false; - this.saxParser.onerror = (function(_this) { - return function(error) { - _this.saxParser.resume(); - if (!_this.saxParser.errThrown) { - _this.saxParser.errThrown = true; - return _this.emit("error", error); - } - }; - })(this); - this.saxParser.onend = (function(_this) { - return function() { - if (!_this.saxParser.ended) { - _this.saxParser.ended = true; - return _this.emit("end", _this.resultObject); - } - }; - })(this); - this.saxParser.ended = false; - this.EXPLICIT_CHARKEY = this.options.explicitCharkey; - this.resultObject = null; - stack = []; - attrkey = this.options.attrkey; - charkey = this.options.charkey; - this.saxParser.onopentag = (function(_this) { - return function(node) { - var key, newValue, obj, processedKey, ref; - obj = {}; - obj[charkey] = ""; - if (!_this.options.ignoreAttrs) { - ref = node.attributes; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - if (!(attrkey in obj) && !_this.options.mergeAttrs) { - obj[attrkey] = {}; - } - newValue = _this.options.attrValueProcessors ? processName(_this.options.attrValueProcessors, node.attributes[key]) : node.attributes[key]; - processedKey = _this.options.attrNameProcessors ? processName(_this.options.attrNameProcessors, key) : key; - if (_this.options.mergeAttrs) { - _this.assignOrPush(obj, processedKey, newValue); - } else { - obj[attrkey][processedKey] = newValue; - } - } - } - obj["#name"] = _this.options.tagNameProcessors ? processName(_this.options.tagNameProcessors, node.name) : node.name; - if (_this.options.xmlns) { - obj[_this.options.xmlnskey] = { - uri: node.uri, - local: node.local - }; - } - return stack.push(obj); - }; - })(this); - this.saxParser.onclosetag = (function(_this) { - return function() { - var cdata, emptyStr, err, error1, key, node, nodeName, obj, objClone, old, s, xpath; - obj = stack.pop(); - nodeName = obj["#name"]; - if (!_this.options.explicitChildren || !_this.options.preserveChildrenOrder) { - delete obj["#name"]; - } - if (obj.cdata === true) { - cdata = obj.cdata; - delete obj.cdata; - } - s = stack[stack.length - 1]; - if (obj[charkey].match(/^\s*$/) && !cdata) { - emptyStr = obj[charkey]; - delete obj[charkey]; - } else { - if (_this.options.trim) { - obj[charkey] = obj[charkey].trim(); - } - if (_this.options.normalize) { - obj[charkey] = obj[charkey].replace(/\s{2,}/g, " ").trim(); - } - obj[charkey] = _this.options.valueProcessors ? processName(_this.options.valueProcessors, obj[charkey]) : obj[charkey]; - if (Object.keys(obj).length === 1 && charkey in obj && !_this.EXPLICIT_CHARKEY) { - obj = obj[charkey]; - } - } - if (isEmpty(obj)) { - obj = _this.options.emptyTag !== '' ? _this.options.emptyTag : emptyStr; - } - if (_this.options.validator != null) { - xpath = "/" + ((function() { - var i, len, results; - results = []; - for (i = 0, len = stack.length; i < len; i++) { - node = stack[i]; - results.push(node["#name"]); - } - return results; - })()).concat(nodeName).join("/"); - try { - obj = _this.options.validator(xpath, s && s[nodeName], obj); - } catch (error1) { - err = error1; - _this.emit("error", err); - } - } - if (_this.options.explicitChildren && !_this.options.mergeAttrs && typeof obj === 'object') { - if (!_this.options.preserveChildrenOrder) { - node = {}; - if (_this.options.attrkey in obj) { - node[_this.options.attrkey] = obj[_this.options.attrkey]; - delete obj[_this.options.attrkey]; - } - if (!_this.options.charsAsChildren && _this.options.charkey in obj) { - node[_this.options.charkey] = obj[_this.options.charkey]; - delete obj[_this.options.charkey]; - } - if (Object.getOwnPropertyNames(obj).length > 0) { - node[_this.options.childkey] = obj; - } - obj = node; - } else if (s) { - s[_this.options.childkey] = s[_this.options.childkey] || []; - objClone = {}; - for (key in obj) { - if (!hasProp.call(obj, key)) continue; - objClone[key] = obj[key]; - } - s[_this.options.childkey].push(objClone); - delete obj["#name"]; - if (Object.keys(obj).length === 1 && charkey in obj && !_this.EXPLICIT_CHARKEY) { - obj = obj[charkey]; - } - } - } - if (stack.length > 0) { - return _this.assignOrPush(s, nodeName, obj); - } else { - if (_this.options.explicitRoot) { - old = obj; - obj = {}; - obj[nodeName] = old; - } - _this.resultObject = obj; - _this.saxParser.ended = true; - return _this.emit("end", _this.resultObject); - } - }; - })(this); - ontext = (function(_this) { - return function(text) { - var charChild, s; - s = stack[stack.length - 1]; - if (s) { - s[charkey] += text; - if (_this.options.explicitChildren && _this.options.preserveChildrenOrder && _this.options.charsAsChildren && (_this.options.includeWhiteChars || text.replace(/\\n/g, '').trim() !== '')) { - s[_this.options.childkey] = s[_this.options.childkey] || []; - charChild = { - '#name': '__text__' - }; - charChild[charkey] = text; - if (_this.options.normalize) { - charChild[charkey] = charChild[charkey].replace(/\s{2,}/g, " ").trim(); - } - s[_this.options.childkey].push(charChild); - } - return s; - } - }; - })(this); - this.saxParser.ontext = ontext; - return this.saxParser.oncdata = (function(_this) { - return function(text) { - var s; - s = ontext(text); - if (s) { - return s.cdata = true; - } - }; - })(this); - }; - - Parser.prototype.parseString = function(str, cb) { - var err, error1; - if ((cb != null) && typeof cb === "function") { - this.on("end", function(result) { - this.reset(); - return cb(null, result); - }); - this.on("error", function(err) { - this.reset(); - return cb(err); - }); - } - try { - str = str.toString(); - if (str.trim() === '') { - this.emit("end", null); - return true; - } - str = bom.stripBOM(str); - if (this.options.async) { - this.remaining = str; - setImmediate(this.processAsync); - return this.saxParser; - } - return this.saxParser.write(str).close(); - } catch (error1) { - err = error1; - if (!(this.saxParser.errThrown || this.saxParser.ended)) { - this.emit('error', err); - return this.saxParser.errThrown = true; - } else if (this.saxParser.ended) { - throw err; - } - } - }; - - return Parser; - - })(events.EventEmitter); - - exports.parseString = function(str, a, b) { - var cb, options, parser; - if (b != null) { - if (typeof b === 'function') { - cb = b; - } - if (typeof a === 'object') { - options = a; - } - } else { - if (typeof a === 'function') { - cb = a; - } - options = {}; - } - parser = new exports.Parser(options); - return parser.parseString(str, cb); - }; - -}).call(this); diff --git a/src/node_modules/xml2js/package.json b/src/node_modules/xml2js/package.json deleted file mode 100644 index dd92957..0000000 --- a/src/node_modules/xml2js/package.json +++ /dev/null @@ -1,297 +0,0 @@ -{ - "_args": [ - [ - "xml2js@0.4.17", - "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk" - ] - ], - "_from": "xml2js@0.4.17", - "_id": "xml2js@0.4.17", - "_inCache": true, - "_installable": true, - "_location": "/xml2js", - "_nodeVersion": "6.2.2", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/xml2js-0.4.17.tgz_1467737036376_0.9350308345165104" - }, - "_npmUser": { - "email": "marek@xivilization.net", - "name": "leonidas" - }, - "_npmVersion": "3.10.3", - "_phantomChildren": {}, - "_requested": { - "name": "xml2js", - "raw": "xml2js@0.4.17", - "rawSpec": "0.4.17", - "scope": null, - "spec": "0.4.17", - "type": "version" - }, - "_requiredBy": [ - "/aws-sdk" - ], - "_resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.17.tgz", - "_shasum": "17be93eaae3f3b779359c795b419705a8817e868", - "_shrinkwrap": null, - "_spec": "xml2js@0.4.17", - "_where": "/home/binhong/dota2-alexa-skill/src/node_modules/aws-sdk", - "author": { - "email": "marek@xivilization.net", - "name": "Marek Kubica", - "url": "https://xivilization.net" - }, - "bugs": { - "url": "https://github.com/Leonidas-from-XIV/node-xml2js/issues" - }, - "contributors": [ - { - "name": "Camille Reynders", - "email": "info@creynders.be", - "url": "http://www.creynders.be/" - }, - { - "name": "maqr", - "email": "maqr.lollerskates@gmail.com", - "url": "https://github.com/maqr" - }, - { - "name": "Jae Kwon", - "url": "https://github.com/jaekwon" - }, - { - "name": "Jim Robert" - }, - { - "name": "Ștefan Rusu", - "url": "http://www.saltwaterc.eu/" - }, - { - "name": "Carter Cole", - "email": "carter.cole@cartercole.com", - "url": "http://cartercole.com/" - }, - { - "name": "Kurt Raschke", - "email": "kurt@kurtraschke.com", - "url": "http://www.kurtraschke.com/" - }, - { - "name": "Contra", - "email": "contra@australia.edu", - "url": "https://github.com/Contra" - }, - { - "name": "Marcelo Diniz", - "email": "marudiniz@gmail.com", - "url": "https://github.com/mdiniz" - }, - { - "name": "Michael Hart", - "url": "https://github.com/mhart" - }, - { - "name": "Zachary Scott", - "email": "zachary@zacharyscott.net", - "url": "http://zacharyscott.net/" - }, - { - "name": "Raoul Millais", - "url": "https://github.com/raoulmillais" - }, - { - "name": "Salsita Software", - "url": "http://www.salsitasoft.com/" - }, - { - "name": "Mike Schilling", - "email": "mike@emotive.com", - "url": "http://www.emotive.com/" - }, - { - "name": "Jackson Tian", - "email": "shyvo1987@gmail.com", - "url": "http://weibo.com/shyvo" - }, - { - "name": "Mikhail Zyatin", - "email": "mikhail.zyatin@gmail.com", - "url": "https://github.com/Sitin" - }, - { - "name": "Chris Tavares", - "email": "ctavares@microsoft.com", - "url": "https://github.com/christav" - }, - { - "name": "Frank Xu", - "email": "yyfrankyy@gmail.com", - "url": "http://f2e.us/" - }, - { - "name": "Guido D'Albore", - "email": "guido@bitstorm.it", - "url": "http://www.bitstorm.it/" - }, - { - "name": "Jack Senechal", - "url": "http://jacksenechal.com/" - }, - { - "name": "Matthias Hölzl", - "email": "tc@xantira.com", - "url": "https://github.com/hoelzl" - }, - { - "name": "Ben Weaver", - "url": "http://benweaver.com/" - }, - { - "name": "Taylor Gautier", - "url": "https://github.com/tsgautier" - }, - { - "name": "Todd Bryan", - "url": "https://github.com/toddrbryan" - }, - { - "name": "Leore Avidar", - "email": "leore.avidar@gmail.com", - "url": "http://leoreavidar.com/" - }, - { - "name": "Dave Aitken", - "email": "dave.aitken@gmail.com", - "url": "http://www.actionshrimp.com/" - }, - { - "name": "Shaney Orrowe", - "email": "shaney.orrowe@practiceweb.co.uk" - }, - { - "name": "Candle", - "email": "candle@candle.me.uk" - }, - { - "name": "Jess Telford", - "email": "hi@jes.st", - "url": "http://jes.st" - }, - { - "name": "Tom Hughes", - "email": "=0.6.0", - "xmlbuilder": "^4.1.0" - }, - "description": "Simple XML to JavaScript object converter.", - "devDependencies": { - "coffee-script": ">=1.10.0", - "coveralls": "^2.11.2", - "diff": ">=1.0.8", - "docco": ">=0.6.2", - "nyc": ">=2.2.1", - "zap": ">=0.2.9" - }, - "directories": { - "lib": "./lib" - }, - "dist": { - "shasum": "17be93eaae3f3b779359c795b419705a8817e868", - "tarball": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.17.tgz" - }, - "files": [ - "lib" - ], - "gitHead": "129ebba8b313e92389c111c0b477c89fb78b37ad", - "homepage": "https://github.com/Leonidas-from-XIV/node-xml2js", - "keywords": [ - "json", - "xml" - ], - "license": "MIT", - "main": "./lib/xml2js", - "maintainers": [ - { - "name": "leonidas", - "email": "marek@xivilization.net" - } - ], - "name": "xml2js", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/Leonidas-from-XIV/node-xml2js.git" - }, - "scripts": { - "coverage": "nyc npm test && nyc report", - "coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls", - "test": "zap" - }, - "version": "0.4.17" -} diff --git a/src/node_modules/xmlbuilder/.npmignore b/src/node_modules/xmlbuilder/.npmignore deleted file mode 100644 index b6ad1f6..0000000 --- a/src/node_modules/xmlbuilder/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -.travis.yml -src -test -perf -coverage diff --git a/src/node_modules/xmlbuilder/LICENSE b/src/node_modules/xmlbuilder/LICENSE deleted file mode 100644 index e7cbac9..0000000 --- a/src/node_modules/xmlbuilder/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013 Ozgur Ozcitak - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/src/node_modules/xmlbuilder/README.md b/src/node_modules/xmlbuilder/README.md deleted file mode 100644 index 13a5b12..0000000 --- a/src/node_modules/xmlbuilder/README.md +++ /dev/null @@ -1,86 +0,0 @@ -# xmlbuilder-js - -An XML builder for [node.js](https://nodejs.org/) similar to -[java-xmlbuilder](https://github.com/jmurty/java-xmlbuilder). - -[![License](http://img.shields.io/npm/l/xmlbuilder.svg?style=flat-square)](http://opensource.org/licenses/MIT) -[![NPM Version](http://img.shields.io/npm/v/xmlbuilder.svg?style=flat-square)](https://npmjs.com/package/xmlbuilder) -[![NPM Downloads](https://img.shields.io/npm/dm/xmlbuilder.svg?style=flat-square)](https://npmjs.com/package/xmlbuilder) - -[![Build Status](http://img.shields.io/travis/oozcitak/xmlbuilder-js.svg?style=flat-square)](http://travis-ci.org/oozcitak/xmlbuilder-js) -[![Dependency Status](http://img.shields.io/david/oozcitak/xmlbuilder-js.svg?style=flat-square)](https://david-dm.org/oozcitak/xmlbuilder-js) -[![Dev Dependency Status](http://img.shields.io/david/dev/oozcitak/xmlbuilder-js.svg?style=flat-square)](https://david-dm.org/oozcitak/xmlbuilder-js) -[![Code Coverage](https://img.shields.io/coveralls/oozcitak/xmlbuilder-js.svg?style=flat-square)](https://coveralls.io/github/oozcitak/xmlbuilder-js) - -### Installation: - -``` sh -npm install xmlbuilder -``` - -### Usage: - -``` js -var builder = require('xmlbuilder'); -var xml = builder.create('root') - .ele('xmlbuilder') - .ele('repo', {'type': 'git'}, 'git://github.com/oozcitak/xmlbuilder-js.git') - .end({ pretty: true}); - -console.log(xml); -``` - -will result in: - -``` xml - - - - git://github.com/oozcitak/xmlbuilder-js.git - - -``` - -It is also possible to convert objects into nodes: - -``` js -builder.create({ - root: { - xmlbuilder: { - repo: { - '@type': 'git', // attributes start with @ - '#text': 'git://github.com/oozcitak/xmlbuilder-js.git' // text node - } - } - } -}); -``` - -If you need to do some processing: - -``` js -var root = builder.create('squares'); -root.com('f(x) = x^2'); -for(var i = 1; i <= 5; i++) -{ - var item = root.ele('data'); - item.att('x', i); - item.att('y', i * i); -} -``` - -This will result in: - -``` xml - - - - - - - - - -``` - -See the [wiki](https://github.com/oozcitak/xmlbuilder-js/wiki) for details. diff --git a/src/node_modules/xmlbuilder/lib/XMLAttribute.js b/src/node_modules/xmlbuilder/lib/XMLAttribute.js deleted file mode 100644 index f6c6bd8..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLAttribute.js +++ /dev/null @@ -1,32 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLAttribute, create; - - create = require('lodash/create'); - - module.exports = XMLAttribute = (function() { - function XMLAttribute(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing attribute name of element " + parent.name); - } - if (value == null) { - throw new Error("Missing attribute value for attribute " + name + " of element " + parent.name); - } - this.name = this.stringify.attName(name); - this.value = this.stringify.attValue(value); - } - - XMLAttribute.prototype.clone = function() { - return create(XMLAttribute.prototype, this); - }; - - XMLAttribute.prototype.toString = function(options, level) { - return ' ' + this.name + '="' + this.value + '"'; - }; - - return XMLAttribute; - - })(); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLBuilder.js b/src/node_modules/xmlbuilder/lib/XMLBuilder.js deleted file mode 100644 index 4282833..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLBuilder.js +++ /dev/null @@ -1,69 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLBuilder, XMLDeclaration, XMLDocType, XMLElement, XMLStringifier; - - XMLStringifier = require('./XMLStringifier'); - - XMLDeclaration = require('./XMLDeclaration'); - - XMLDocType = require('./XMLDocType'); - - XMLElement = require('./XMLElement'); - - module.exports = XMLBuilder = (function() { - function XMLBuilder(name, options) { - var root, temp; - if (name == null) { - throw new Error("Root element needs a name"); - } - if (options == null) { - options = {}; - } - this.options = options; - this.stringify = new XMLStringifier(options); - temp = new XMLElement(this, 'doc'); - root = temp.element(name); - root.isRoot = true; - root.documentObject = this; - this.rootObject = root; - if (!options.headless) { - root.declaration(options); - if ((options.pubID != null) || (options.sysID != null)) { - root.doctype(options); - } - } - } - - XMLBuilder.prototype.root = function() { - return this.rootObject; - }; - - XMLBuilder.prototype.end = function(options) { - return this.toString(options); - }; - - XMLBuilder.prototype.toString = function(options) { - var indent, newline, offset, pretty, r, ref, ref1, ref2; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - r = ''; - if (this.xmldec != null) { - r += this.xmldec.toString(options); - } - if (this.doctype != null) { - r += this.doctype.toString(options); - } - r += this.rootObject.toString(options); - if (pretty && r.slice(-newline.length) === newline) { - r = r.slice(0, -newline.length); - } - return r; - }; - - return XMLBuilder; - - })(); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLCData.js b/src/node_modules/xmlbuilder/lib/XMLCData.js deleted file mode 100644 index c171a28..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLCData.js +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLCData, XMLNode, create, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/create'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLCData = (function(superClass) { - extend(XMLCData, superClass); - - function XMLCData(parent, text) { - XMLCData.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing CDATA text"); - } - this.text = this.stringify.cdata(text); - } - - XMLCData.prototype.clone = function() { - return create(XMLCData.prototype, this); - }; - - XMLCData.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLCData; - - })(XMLNode); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLComment.js b/src/node_modules/xmlbuilder/lib/XMLComment.js deleted file mode 100644 index ca801f6..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLComment.js +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLComment, XMLNode, create, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/create'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLComment = (function(superClass) { - extend(XMLComment, superClass); - - function XMLComment(parent, text) { - XMLComment.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing comment text"); - } - this.text = this.stringify.comment(text); - } - - XMLComment.prototype.clone = function() { - return create(XMLComment.prototype, this); - }; - - XMLComment.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLComment; - - })(XMLNode); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLDTDAttList.js b/src/node_modules/xmlbuilder/lib/XMLDTDAttList.js deleted file mode 100644 index 4a71866..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLDTDAttList.js +++ /dev/null @@ -1,68 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLDTDAttList, create; - - create = require('lodash/create'); - - module.exports = XMLDTDAttList = (function() { - function XMLDTDAttList(parent, elementName, attributeName, attributeType, defaultValueType, defaultValue) { - this.stringify = parent.stringify; - if (elementName == null) { - throw new Error("Missing DTD element name"); - } - if (attributeName == null) { - throw new Error("Missing DTD attribute name"); - } - if (!attributeType) { - throw new Error("Missing DTD attribute type"); - } - if (!defaultValueType) { - throw new Error("Missing DTD attribute default"); - } - if (defaultValueType.indexOf('#') !== 0) { - defaultValueType = '#' + defaultValueType; - } - if (!defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)) { - throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT"); - } - if (defaultValue && !defaultValueType.match(/^(#FIXED|#DEFAULT)$/)) { - throw new Error("Default value only applies to #FIXED or #DEFAULT"); - } - this.elementName = this.stringify.eleName(elementName); - this.attributeName = this.stringify.attName(attributeName); - this.attributeType = this.stringify.dtdAttType(attributeType); - this.defaultValue = this.stringify.dtdAttDefault(defaultValue); - this.defaultValueType = defaultValueType; - } - - XMLDTDAttList.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDAttList; - - })(); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLDTDElement.js b/src/node_modules/xmlbuilder/lib/XMLDTDElement.js deleted file mode 100644 index 0002c1b..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLDTDElement.js +++ /dev/null @@ -1,46 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLDTDElement, create; - - create = require('lodash/create'); - - module.exports = XMLDTDElement = (function() { - function XMLDTDElement(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing DTD element name"); - } - if (!value) { - value = '(#PCDATA)'; - } - if (Array.isArray(value)) { - value = '(' + value.join(',') + ')'; - } - this.name = this.stringify.eleName(name); - this.value = this.stringify.dtdElementValue(value); - } - - XMLDTDElement.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDElement; - - })(); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLDTDEntity.js b/src/node_modules/xmlbuilder/lib/XMLDTDEntity.js deleted file mode 100644 index f27d567..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLDTDEntity.js +++ /dev/null @@ -1,84 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLDTDEntity, create, isObject; - - create = require('lodash/create'); - - isObject = require('lodash/isObject'); - - module.exports = XMLDTDEntity = (function() { - function XMLDTDEntity(parent, pe, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing entity name"); - } - if (value == null) { - throw new Error("Missing entity value"); - } - this.pe = !!pe; - this.name = this.stringify.eleName(name); - if (!isObject(value)) { - this.value = this.stringify.dtdEntityValue(value); - } else { - if (!value.pubID && !value.sysID) { - throw new Error("Public and/or system identifiers are required for an external entity"); - } - if (value.pubID && !value.sysID) { - throw new Error("System identifier is required for a public external entity"); - } - if (value.pubID != null) { - this.pubID = this.stringify.dtdPubID(value.pubID); - } - if (value.sysID != null) { - this.sysID = this.stringify.dtdSysID(value.sysID); - } - if (value.nData != null) { - this.nData = this.stringify.dtdNData(value.nData); - } - if (this.pe && this.nData) { - throw new Error("Notation declaration is not allowed in a parameter entity"); - } - } - } - - XMLDTDEntity.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDEntity; - - })(); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLDTDNotation.js b/src/node_modules/xmlbuilder/lib/XMLDTDNotation.js deleted file mode 100644 index edd3501..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLDTDNotation.js +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLDTDNotation, create; - - create = require('lodash/create'); - - module.exports = XMLDTDNotation = (function() { - function XMLDTDNotation(parent, name, value) { - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing notation name"); - } - if (!value.pubID && !value.sysID) { - throw new Error("Public or system identifiers are required for an external entity"); - } - this.name = this.stringify.eleName(name); - if (value.pubID != null) { - this.pubID = this.stringify.dtdPubID(value.pubID); - } - if (value.sysID != null) { - this.sysID = this.stringify.dtdSysID(value.sysID); - } - } - - XMLDTDNotation.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDTDNotation; - - })(); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLDeclaration.js b/src/node_modules/xmlbuilder/lib/XMLDeclaration.js deleted file mode 100644 index b502892..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLDeclaration.js +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLDeclaration, XMLNode, create, isObject, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/create'); - - isObject = require('lodash/isObject'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLDeclaration = (function(superClass) { - extend(XMLDeclaration, superClass); - - function XMLDeclaration(parent, version, encoding, standalone) { - var ref; - XMLDeclaration.__super__.constructor.call(this, parent); - if (isObject(version)) { - ref = version, version = ref.version, encoding = ref.encoding, standalone = ref.standalone; - } - if (!version) { - version = '1.0'; - } - this.version = this.stringify.xmlVersion(version); - if (encoding != null) { - this.encoding = this.stringify.xmlEncoding(encoding); - } - if (standalone != null) { - this.standalone = this.stringify.xmlStandalone(standalone); - } - } - - XMLDeclaration.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLDeclaration; - - })(XMLNode); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLDocType.js b/src/node_modules/xmlbuilder/lib/XMLDocType.js deleted file mode 100644 index cbc61b3..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLDocType.js +++ /dev/null @@ -1,188 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLProcessingInstruction, create, isObject; - - create = require('lodash/create'); - - isObject = require('lodash/isObject'); - - XMLCData = require('./XMLCData'); - - XMLComment = require('./XMLComment'); - - XMLDTDAttList = require('./XMLDTDAttList'); - - XMLDTDEntity = require('./XMLDTDEntity'); - - XMLDTDElement = require('./XMLDTDElement'); - - XMLDTDNotation = require('./XMLDTDNotation'); - - XMLProcessingInstruction = require('./XMLProcessingInstruction'); - - module.exports = XMLDocType = (function() { - function XMLDocType(parent, pubID, sysID) { - var ref, ref1; - this.documentObject = parent; - this.stringify = this.documentObject.stringify; - this.children = []; - if (isObject(pubID)) { - ref = pubID, pubID = ref.pubID, sysID = ref.sysID; - } - if (sysID == null) { - ref1 = [pubID, sysID], sysID = ref1[0], pubID = ref1[1]; - } - if (pubID != null) { - this.pubID = this.stringify.dtdPubID(pubID); - } - if (sysID != null) { - this.sysID = this.stringify.dtdSysID(sysID); - } - } - - XMLDocType.prototype.element = function(name, value) { - var child; - child = new XMLDTDElement(this, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - var child; - child = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.entity = function(name, value) { - var child; - child = new XMLDTDEntity(this, false, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.pEntity = function(name, value) { - var child; - child = new XMLDTDEntity(this, true, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.notation = function(name, value) { - var child; - child = new XMLDTDNotation(this, name, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.cdata = function(value) { - var child; - child = new XMLCData(this, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.comment = function(value) { - var child; - child = new XMLComment(this, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.instruction = function(target, value) { - var child; - child = new XMLProcessingInstruction(this, target, value); - this.children.push(child); - return this; - }; - - XMLDocType.prototype.root = function() { - return this.documentObject.root(); - }; - - XMLDocType.prototype.document = function() { - return this.documentObject; - }; - - XMLDocType.prototype.toString = function(options, level) { - var child, i, indent, len, newline, offset, pretty, r, ref, ref1, ref2, ref3, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ' 0) { - r += ' ['; - if (pretty) { - r += newline; - } - ref3 = this.children; - for (i = 0, len = ref3.length; i < len; i++) { - child = ref3[i]; - r += child.toString(options, level + 1); - } - r += ']'; - } - r += '>'; - if (pretty) { - r += newline; - } - return r; - }; - - XMLDocType.prototype.ele = function(name, value) { - return this.element(name, value); - }; - - XMLDocType.prototype.att = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - return this.attList(elementName, attributeName, attributeType, defaultValueType, defaultValue); - }; - - XMLDocType.prototype.ent = function(name, value) { - return this.entity(name, value); - }; - - XMLDocType.prototype.pent = function(name, value) { - return this.pEntity(name, value); - }; - - XMLDocType.prototype.not = function(name, value) { - return this.notation(name, value); - }; - - XMLDocType.prototype.dat = function(value) { - return this.cdata(value); - }; - - XMLDocType.prototype.com = function(value) { - return this.comment(value); - }; - - XMLDocType.prototype.ins = function(target, value) { - return this.instruction(target, value); - }; - - XMLDocType.prototype.up = function() { - return this.root(); - }; - - XMLDocType.prototype.doc = function() { - return this.document(); - }; - - return XMLDocType; - - })(); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLElement.js b/src/node_modules/xmlbuilder/lib/XMLElement.js deleted file mode 100644 index 27504a8..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLElement.js +++ /dev/null @@ -1,212 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLAttribute, XMLElement, XMLNode, XMLProcessingInstruction, create, every, isFunction, isObject, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/create'); - - isObject = require('lodash/isObject'); - - isFunction = require('lodash/isFunction'); - - every = require('lodash/every'); - - XMLNode = require('./XMLNode'); - - XMLAttribute = require('./XMLAttribute'); - - XMLProcessingInstruction = require('./XMLProcessingInstruction'); - - module.exports = XMLElement = (function(superClass) { - extend(XMLElement, superClass); - - function XMLElement(parent, name, attributes) { - XMLElement.__super__.constructor.call(this, parent); - if (name == null) { - throw new Error("Missing element name"); - } - this.name = this.stringify.eleName(name); - this.children = []; - this.instructions = []; - this.attributes = {}; - if (attributes != null) { - this.attribute(attributes); - } - } - - XMLElement.prototype.clone = function() { - var att, attName, clonedSelf, i, len, pi, ref, ref1; - clonedSelf = create(XMLElement.prototype, this); - if (clonedSelf.isRoot) { - clonedSelf.documentObject = null; - } - clonedSelf.attributes = {}; - ref = this.attributes; - for (attName in ref) { - if (!hasProp.call(ref, attName)) continue; - att = ref[attName]; - clonedSelf.attributes[attName] = att.clone(); - } - clonedSelf.instructions = []; - ref1 = this.instructions; - for (i = 0, len = ref1.length; i < len; i++) { - pi = ref1[i]; - clonedSelf.instructions.push(pi.clone()); - } - clonedSelf.children = []; - this.children.forEach(function(child) { - var clonedChild; - clonedChild = child.clone(); - clonedChild.parent = clonedSelf; - return clonedSelf.children.push(clonedChild); - }); - return clonedSelf; - }; - - XMLElement.prototype.attribute = function(name, value) { - var attName, attValue; - if (name != null) { - name = name.valueOf(); - } - if (isObject(name)) { - for (attName in name) { - if (!hasProp.call(name, attName)) continue; - attValue = name[attName]; - this.attribute(attName, attValue); - } - } else { - if (isFunction(value)) { - value = value.apply(); - } - if (!this.options.skipNullAttributes || (value != null)) { - this.attributes[name] = new XMLAttribute(this, name, value); - } - } - return this; - }; - - XMLElement.prototype.removeAttribute = function(name) { - var attName, i, len; - if (name == null) { - throw new Error("Missing attribute name"); - } - name = name.valueOf(); - if (Array.isArray(name)) { - for (i = 0, len = name.length; i < len; i++) { - attName = name[i]; - delete this.attributes[attName]; - } - } else { - delete this.attributes[name]; - } - return this; - }; - - XMLElement.prototype.instruction = function(target, value) { - var i, insTarget, insValue, instruction, len; - if (target != null) { - target = target.valueOf(); - } - if (value != null) { - value = value.valueOf(); - } - if (Array.isArray(target)) { - for (i = 0, len = target.length; i < len; i++) { - insTarget = target[i]; - this.instruction(insTarget); - } - } else if (isObject(target)) { - for (insTarget in target) { - if (!hasProp.call(target, insTarget)) continue; - insValue = target[insTarget]; - this.instruction(insTarget, insValue); - } - } else { - if (isFunction(value)) { - value = value.apply(); - } - instruction = new XMLProcessingInstruction(this, target, value); - this.instructions.push(instruction); - } - return this; - }; - - XMLElement.prototype.toString = function(options, level) { - var att, child, i, indent, instruction, j, len, len1, name, newline, offset, pretty, r, ref, ref1, ref2, ref3, ref4, ref5, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - ref3 = this.instructions; - for (i = 0, len = ref3.length; i < len; i++) { - instruction = ref3[i]; - r += instruction.toString(options, level); - } - if (pretty) { - r += space; - } - r += '<' + this.name; - ref4 = this.attributes; - for (name in ref4) { - if (!hasProp.call(ref4, name)) continue; - att = ref4[name]; - r += att.toString(options); - } - if (this.children.length === 0 || every(this.children, function(e) { - return e.value === ''; - })) { - r += '/>'; - if (pretty) { - r += newline; - } - } else if (pretty && this.children.length === 1 && (this.children[0].value != null)) { - r += '>'; - r += this.children[0].value; - r += ''; - r += newline; - } else { - r += '>'; - if (pretty) { - r += newline; - } - ref5 = this.children; - for (j = 0, len1 = ref5.length; j < len1; j++) { - child = ref5[j]; - r += child.toString(options, level + 1); - } - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - } - return r; - }; - - XMLElement.prototype.att = function(name, value) { - return this.attribute(name, value); - }; - - XMLElement.prototype.ins = function(target, value) { - return this.instruction(target, value); - }; - - XMLElement.prototype.a = function(name, value) { - return this.attribute(name, value); - }; - - XMLElement.prototype.i = function(target, value) { - return this.instruction(target, value); - }; - - return XMLElement; - - })(XMLNode); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLNode.js b/src/node_modules/xmlbuilder/lib/XMLNode.js deleted file mode 100644 index 0a6340b..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLNode.js +++ /dev/null @@ -1,331 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLElement, XMLNode, XMLRaw, XMLText, isEmpty, isFunction, isObject, - hasProp = {}.hasOwnProperty; - - isObject = require('lodash/isObject'); - - isFunction = require('lodash/isFunction'); - - isEmpty = require('lodash/isEmpty'); - - XMLElement = null; - - XMLCData = null; - - XMLComment = null; - - XMLDeclaration = null; - - XMLDocType = null; - - XMLRaw = null; - - XMLText = null; - - module.exports = XMLNode = (function() { - function XMLNode(parent) { - this.parent = parent; - this.options = this.parent.options; - this.stringify = this.parent.stringify; - if (XMLElement === null) { - XMLElement = require('./XMLElement'); - XMLCData = require('./XMLCData'); - XMLComment = require('./XMLComment'); - XMLDeclaration = require('./XMLDeclaration'); - XMLDocType = require('./XMLDocType'); - XMLRaw = require('./XMLRaw'); - XMLText = require('./XMLText'); - } - } - - XMLNode.prototype.element = function(name, attributes, text) { - var childNode, item, j, k, key, lastChild, len, len1, ref, val; - lastChild = null; - if (attributes == null) { - attributes = {}; - } - attributes = attributes.valueOf(); - if (!isObject(attributes)) { - ref = [attributes, text], text = ref[0], attributes = ref[1]; - } - if (name != null) { - name = name.valueOf(); - } - if (Array.isArray(name)) { - for (j = 0, len = name.length; j < len; j++) { - item = name[j]; - lastChild = this.element(item); - } - } else if (isFunction(name)) { - lastChild = this.element(name.apply()); - } else if (isObject(name)) { - for (key in name) { - if (!hasProp.call(name, key)) continue; - val = name[key]; - if (isFunction(val)) { - val = val.apply(); - } - if ((isObject(val)) && (isEmpty(val))) { - val = null; - } - if (!this.options.ignoreDecorators && this.stringify.convertAttKey && key.indexOf(this.stringify.convertAttKey) === 0) { - lastChild = this.attribute(key.substr(this.stringify.convertAttKey.length), val); - } else if (!this.options.ignoreDecorators && this.stringify.convertPIKey && key.indexOf(this.stringify.convertPIKey) === 0) { - lastChild = this.instruction(key.substr(this.stringify.convertPIKey.length), val); - } else if (!this.options.separateArrayItems && Array.isArray(val)) { - for (k = 0, len1 = val.length; k < len1; k++) { - item = val[k]; - childNode = {}; - childNode[key] = item; - lastChild = this.element(childNode); - } - } else if (isObject(val)) { - lastChild = this.element(key); - lastChild.element(val); - } else { - lastChild = this.element(key, val); - } - } - } else { - if (!this.options.ignoreDecorators && this.stringify.convertTextKey && name.indexOf(this.stringify.convertTextKey) === 0) { - lastChild = this.text(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertCDataKey && name.indexOf(this.stringify.convertCDataKey) === 0) { - lastChild = this.cdata(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertCommentKey && name.indexOf(this.stringify.convertCommentKey) === 0) { - lastChild = this.comment(text); - } else if (!this.options.ignoreDecorators && this.stringify.convertRawKey && name.indexOf(this.stringify.convertRawKey) === 0) { - lastChild = this.raw(text); - } else { - lastChild = this.node(name, attributes, text); - } - } - if (lastChild == null) { - throw new Error("Could not create any elements with: " + name); - } - return lastChild; - }; - - XMLNode.prototype.insertBefore = function(name, attributes, text) { - var child, i, removed; - if (this.isRoot) { - throw new Error("Cannot insert elements at root level"); - } - i = this.parent.children.indexOf(this); - removed = this.parent.children.splice(i); - child = this.parent.element(name, attributes, text); - Array.prototype.push.apply(this.parent.children, removed); - return child; - }; - - XMLNode.prototype.insertAfter = function(name, attributes, text) { - var child, i, removed; - if (this.isRoot) { - throw new Error("Cannot insert elements at root level"); - } - i = this.parent.children.indexOf(this); - removed = this.parent.children.splice(i + 1); - child = this.parent.element(name, attributes, text); - Array.prototype.push.apply(this.parent.children, removed); - return child; - }; - - XMLNode.prototype.remove = function() { - var i, ref; - if (this.isRoot) { - throw new Error("Cannot remove the root element"); - } - i = this.parent.children.indexOf(this); - [].splice.apply(this.parent.children, [i, i - i + 1].concat(ref = [])), ref; - return this.parent; - }; - - XMLNode.prototype.node = function(name, attributes, text) { - var child, ref; - if (name != null) { - name = name.valueOf(); - } - if (attributes == null) { - attributes = {}; - } - attributes = attributes.valueOf(); - if (!isObject(attributes)) { - ref = [attributes, text], text = ref[0], attributes = ref[1]; - } - child = new XMLElement(this, name, attributes); - if (text != null) { - child.text(text); - } - this.children.push(child); - return child; - }; - - XMLNode.prototype.text = function(value) { - var child; - child = new XMLText(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.cdata = function(value) { - var child; - child = new XMLCData(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.comment = function(value) { - var child; - child = new XMLComment(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.raw = function(value) { - var child; - child = new XMLRaw(this, value); - this.children.push(child); - return this; - }; - - XMLNode.prototype.declaration = function(version, encoding, standalone) { - var doc, xmldec; - doc = this.document(); - xmldec = new XMLDeclaration(doc, version, encoding, standalone); - doc.xmldec = xmldec; - return doc.root(); - }; - - XMLNode.prototype.doctype = function(pubID, sysID) { - var doc, doctype; - doc = this.document(); - doctype = new XMLDocType(doc, pubID, sysID); - doc.doctype = doctype; - return doctype; - }; - - XMLNode.prototype.up = function() { - if (this.isRoot) { - throw new Error("The root node has no parent. Use doc() if you need to get the document object."); - } - return this.parent; - }; - - XMLNode.prototype.root = function() { - var child; - if (this.isRoot) { - return this; - } - child = this.parent; - while (!child.isRoot) { - child = child.parent; - } - return child; - }; - - XMLNode.prototype.document = function() { - return this.root().documentObject; - }; - - XMLNode.prototype.end = function(options) { - return this.document().toString(options); - }; - - XMLNode.prototype.prev = function() { - var i; - if (this.isRoot) { - throw new Error("Root node has no siblings"); - } - i = this.parent.children.indexOf(this); - if (i < 1) { - throw new Error("Already at the first node"); - } - return this.parent.children[i - 1]; - }; - - XMLNode.prototype.next = function() { - var i; - if (this.isRoot) { - throw new Error("Root node has no siblings"); - } - i = this.parent.children.indexOf(this); - if (i === -1 || i === this.parent.children.length - 1) { - throw new Error("Already at the last node"); - } - return this.parent.children[i + 1]; - }; - - XMLNode.prototype.importXMLBuilder = function(xmlbuilder) { - var clonedRoot; - clonedRoot = xmlbuilder.root().clone(); - clonedRoot.parent = this; - clonedRoot.isRoot = false; - this.children.push(clonedRoot); - return this; - }; - - XMLNode.prototype.ele = function(name, attributes, text) { - return this.element(name, attributes, text); - }; - - XMLNode.prototype.nod = function(name, attributes, text) { - return this.node(name, attributes, text); - }; - - XMLNode.prototype.txt = function(value) { - return this.text(value); - }; - - XMLNode.prototype.dat = function(value) { - return this.cdata(value); - }; - - XMLNode.prototype.com = function(value) { - return this.comment(value); - }; - - XMLNode.prototype.doc = function() { - return this.document(); - }; - - XMLNode.prototype.dec = function(version, encoding, standalone) { - return this.declaration(version, encoding, standalone); - }; - - XMLNode.prototype.dtd = function(pubID, sysID) { - return this.doctype(pubID, sysID); - }; - - XMLNode.prototype.e = function(name, attributes, text) { - return this.element(name, attributes, text); - }; - - XMLNode.prototype.n = function(name, attributes, text) { - return this.node(name, attributes, text); - }; - - XMLNode.prototype.t = function(value) { - return this.text(value); - }; - - XMLNode.prototype.d = function(value) { - return this.cdata(value); - }; - - XMLNode.prototype.c = function(value) { - return this.comment(value); - }; - - XMLNode.prototype.r = function(value) { - return this.raw(value); - }; - - XMLNode.prototype.u = function() { - return this.up(); - }; - - return XMLNode; - - })(); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js b/src/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js deleted file mode 100644 index 596f5a6..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +++ /dev/null @@ -1,51 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLProcessingInstruction, create; - - create = require('lodash/create'); - - module.exports = XMLProcessingInstruction = (function() { - function XMLProcessingInstruction(parent, target, value) { - this.stringify = parent.stringify; - if (target == null) { - throw new Error("Missing instruction target"); - } - this.target = this.stringify.insTarget(target); - if (value) { - this.value = this.stringify.insValue(value); - } - } - - XMLProcessingInstruction.prototype.clone = function() { - return create(XMLProcessingInstruction.prototype, this); - }; - - XMLProcessingInstruction.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += ''; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLProcessingInstruction; - - })(); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLRaw.js b/src/node_modules/xmlbuilder/lib/XMLRaw.js deleted file mode 100644 index 9f48962..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLRaw.js +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLNode, XMLRaw, create, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - create = require('lodash/create'); - - XMLNode = require('./XMLNode'); - - module.exports = XMLRaw = (function(superClass) { - extend(XMLRaw, superClass); - - function XMLRaw(parent, text) { - XMLRaw.__super__.constructor.call(this, parent); - if (text == null) { - throw new Error("Missing raw text"); - } - this.value = this.stringify.raw(text); - } - - XMLRaw.prototype.clone = function() { - return create(XMLRaw.prototype, this); - }; - - XMLRaw.prototype.toString = function(options, level) { - var indent, newline, offset, pretty, r, ref, ref1, ref2, space; - pretty = (options != null ? options.pretty : void 0) || false; - indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; - offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; - newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; - level || (level = 0); - space = new Array(level + offset + 1).join(indent); - r = ''; - if (pretty) { - r += space; - } - r += this.value; - if (pretty) { - r += newline; - } - return r; - }; - - return XMLRaw; - - })(XMLNode); - -}).call(this); diff --git a/src/node_modules/xmlbuilder/lib/XMLStringifier.js b/src/node_modules/xmlbuilder/lib/XMLStringifier.js deleted file mode 100644 index c3c4722..0000000 --- a/src/node_modules/xmlbuilder/lib/XMLStringifier.js +++ /dev/null @@ -1,170 +0,0 @@ -// Generated by CoffeeScript 1.9.1 -(function() { - var XMLStringifier, - bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, - hasProp = {}.hasOwnProperty; - - module.exports = XMLStringifier = (function() { - function XMLStringifier(options) { - this.assertLegalChar = bind(this.assertLegalChar, this); - var key, ref, value; - this.allowSurrogateChars = options != null ? options.allowSurrogateChars : void 0; - this.noDoubleEncoding = options != null ? options.noDoubleEncoding : void 0; - ref = (options != null ? options.stringify : void 0) || {}; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this[key] = value; - } - } - - XMLStringifier.prototype.eleName = function(val) { - val = '' + val || ''; - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.eleText = function(val) { - val = '' + val || ''; - return this.assertLegalChar(this.elEscape(val)); - }; - - XMLStringifier.prototype.cdata = function(val) { - val = '' + val || ''; - if (val.match(/]]>/)) { - throw new Error("Invalid CDATA text: " + val); - } - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.comment = function(val) { - val = '' + val || ''; - if (val.match(/--/)) { - throw new Error("Comment text cannot contain double-hypen: " + val); - } - return this.assertLegalChar(val); - }; - - XMLStringifier.prototype.raw = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.attName = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.attValue = function(val) { - val = '' + val || ''; - return this.attEscape(val); - }; - - XMLStringifier.prototype.insTarget = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.insValue = function(val) { - val = '' + val || ''; - if (val.match(/\?>/)) { - throw new Error("Invalid processing instruction value: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlVersion = function(val) { - val = '' + val || ''; - if (!val.match(/1\.[0-9]+/)) { - throw new Error("Invalid version number: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlEncoding = function(val) { - val = '' + val || ''; - if (!val.match(/^[A-Za-z](?:[A-Za-z0-9._-]|-)*$/)) { - throw new Error("Invalid encoding: " + val); - } - return val; - }; - - XMLStringifier.prototype.xmlStandalone = function(val) { - if (val) { - return "yes"; - } else { - return "no"; - } - }; - - XMLStringifier.prototype.dtdPubID = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdSysID = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdElementValue = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdAttType = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdAttDefault = function(val) { - if (val != null) { - return '' + val || ''; - } else { - return val; - } - }; - - XMLStringifier.prototype.dtdEntityValue = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.dtdNData = function(val) { - return '' + val || ''; - }; - - XMLStringifier.prototype.convertAttKey = '@'; - - XMLStringifier.prototype.convertPIKey = '?'; - - XMLStringifier.prototype.convertTextKey = '#text'; - - XMLStringifier.prototype.convertCDataKey = '#cdata'; - - XMLStringifier.prototype.convertCommentKey = '#comment'; - - XMLStringifier.prototype.convertRawKey = '#raw'; - - XMLStringifier.prototype.assertLegalChar = function(str) { - var chars, chr; - if (this.allowSurrogateChars) { - chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/; - } else { - chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/; - } - chr = str.match(chars); - if (chr) { - throw new Error("Invalid character (" + chr + ") in string: " + str + " at index " + chr.index); - } - return str; - }; - - XMLStringifier.prototype.elEscape = function(str) { - var ampregex; - ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; - return str.replace(ampregex, '&').replace(//g, '>').replace(/\r/g, ' '); - }; - - XMLStringifier.prototype.attEscape = function(str) { - var ampregex; - ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; - return str.replace(ampregex, '&').replace(/=0.8.0" - }, - "gitHead": "84da166d95cc95608c6970df88dbc511640e0143", - "homepage": "http://github.com/oozcitak/xmlbuilder-js", - "keywords": [ - "xml", - "xmlbuilder" - ], - "license": "MIT", - "main": "./lib/index", - "maintainers": [ - { - "name": "oozcitak", - "email": "oozcitak@gmail.com" - } - ], - "name": "xmlbuilder", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/oozcitak/xmlbuilder-js.git" - }, - "scripts": { - "postpublish": "rm -rf lib", - "prepublish": "coffee -co lib src", - "test": "mocha && istanbul report text lcov" - }, - "version": "4.2.1" -} diff --git a/submission.sh b/submission.sh index fd216ac..263fb78 100755 --- a/submission.sh +++ b/submission.sh @@ -1,3 +1,3 @@ rm source.zip cd src -zip -r ../source.zip index.js node_modules +zip -r ../source.zip index.js ../node_modules
- -
-
-

Inputs

-
- - - Example '$.phoneNumbers[*].type' See also JSONPath expressions - - -
-
-
-

Evaluation Results

-
false
-
-
-